智慧水务管理系统 - 精河县供水工程综合管理平台

12345678910111213141516171819202122232425262728293031323334
  1. import { buildProps } from "../../utils/vue/props/runtime.mjs";
  2. import { pick } from "lodash-unified";
  3. //#region ../../packages/hooks/use-aria/index.ts
  4. /**
  5. * @deprecated Removed after 3.0.0, Use `AriaProps` instead.
  6. */
  7. const ariaProps = buildProps({
  8. /**
  9. * @description native `aria-label` attribute
  10. */
  11. ariaLabel: String,
  12. /**
  13. * @description native `aria-orientation` attribute
  14. */
  15. ariaOrientation: {
  16. type: String,
  17. values: [
  18. "horizontal",
  19. "vertical",
  20. "undefined"
  21. ]
  22. },
  23. /**
  24. * @description native `aria-controls` attribute
  25. */
  26. ariaControls: String
  27. });
  28. const useAriaProps = (arias) => {
  29. return pick(ariaProps, arias);
  30. };
  31. //#endregion
  32. export { ariaProps, useAriaProps };
  33. //# sourceMappingURL=index.mjs.map