完全跑通1.0版本
This commit is contained in:
34
frontend/node_modules/element-plus/es/hooks/use-aria/index.mjs
generated
vendored
Normal file
34
frontend/node_modules/element-plus/es/hooks/use-aria/index.mjs
generated
vendored
Normal file
@@ -0,0 +1,34 @@
|
||||
import { buildProps } from "../../utils/vue/props/runtime.mjs";
|
||||
import { pick } from "lodash-unified";
|
||||
//#region ../../packages/hooks/use-aria/index.ts
|
||||
/**
|
||||
* @deprecated Removed after 3.0.0, Use `AriaProps` instead.
|
||||
*/
|
||||
const ariaProps = buildProps({
|
||||
/**
|
||||
* @description native `aria-label` attribute
|
||||
*/
|
||||
ariaLabel: String,
|
||||
/**
|
||||
* @description native `aria-orientation` attribute
|
||||
*/
|
||||
ariaOrientation: {
|
||||
type: String,
|
||||
values: [
|
||||
"horizontal",
|
||||
"vertical",
|
||||
"undefined"
|
||||
]
|
||||
},
|
||||
/**
|
||||
* @description native `aria-controls` attribute
|
||||
*/
|
||||
ariaControls: String
|
||||
});
|
||||
const useAriaProps = (arias) => {
|
||||
return pick(ariaProps, arias);
|
||||
};
|
||||
//#endregion
|
||||
export { ariaProps, useAriaProps };
|
||||
|
||||
//# sourceMappingURL=index.mjs.map
|
||||
Reference in New Issue
Block a user