完全跑通1.0版本
This commit is contained in:
37
frontend/node_modules/element-plus/lib/hooks/use-aria/index.js
generated
vendored
Normal file
37
frontend/node_modules/element-plus/lib/hooks/use-aria/index.js
generated
vendored
Normal file
@@ -0,0 +1,37 @@
|
||||
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
||||
require("../../_virtual/_rolldown/runtime.js");
|
||||
const require_runtime$1 = require("../../utils/vue/props/runtime.js");
|
||||
let lodash_unified = require("lodash-unified");
|
||||
//#region ../../packages/hooks/use-aria/index.ts
|
||||
/**
|
||||
* @deprecated Removed after 3.0.0, Use `AriaProps` instead.
|
||||
*/
|
||||
const ariaProps = require_runtime$1.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 (0, lodash_unified.pick)(ariaProps, arias);
|
||||
};
|
||||
//#endregion
|
||||
exports.ariaProps = ariaProps;
|
||||
exports.useAriaProps = useAriaProps;
|
||||
|
||||
//# sourceMappingURL=index.js.map
|
||||
Reference in New Issue
Block a user