测试
This commit is contained in:
20
frontend/node_modules/element-plus/es/hooks/use-aria/index.d.ts
generated
vendored
Normal file
20
frontend/node_modules/element-plus/es/hooks/use-aria/index.d.ts
generated
vendored
Normal file
@@ -0,0 +1,20 @@
|
||||
export declare const ariaProps: {
|
||||
ariaLabel: StringConstructor;
|
||||
ariaOrientation: {
|
||||
readonly type: import("vue").PropType<string>;
|
||||
readonly required: false;
|
||||
readonly validator: ((val: unknown) => boolean) | undefined;
|
||||
__epPropKey: true;
|
||||
};
|
||||
ariaControls: StringConstructor;
|
||||
};
|
||||
export declare const useAriaProps: <T extends keyof typeof ariaProps>(arias: Array<T>) => Pick<{
|
||||
ariaLabel: StringConstructor;
|
||||
ariaOrientation: {
|
||||
readonly type: import("vue").PropType<string>;
|
||||
readonly required: false;
|
||||
readonly validator: ((val: unknown) => boolean) | undefined;
|
||||
__epPropKey: true;
|
||||
};
|
||||
ariaControls: StringConstructor;
|
||||
}, T>;
|
||||
17
frontend/node_modules/element-plus/es/hooks/use-aria/index.mjs
generated
vendored
Normal file
17
frontend/node_modules/element-plus/es/hooks/use-aria/index.mjs
generated
vendored
Normal file
@@ -0,0 +1,17 @@
|
||||
import { pick } from 'lodash-unified';
|
||||
import { buildProps } from '../../utils/vue/props/runtime.mjs';
|
||||
|
||||
const ariaProps = buildProps({
|
||||
ariaLabel: String,
|
||||
ariaOrientation: {
|
||||
type: String,
|
||||
values: ["horizontal", "vertical", "undefined"]
|
||||
},
|
||||
ariaControls: String
|
||||
});
|
||||
const useAriaProps = (arias) => {
|
||||
return pick(ariaProps, arias);
|
||||
};
|
||||
|
||||
export { ariaProps, useAriaProps };
|
||||
//# sourceMappingURL=index.mjs.map
|
||||
1
frontend/node_modules/element-plus/es/hooks/use-aria/index.mjs.map
generated
vendored
Normal file
1
frontend/node_modules/element-plus/es/hooks/use-aria/index.mjs.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"index.mjs","sources":["../../../../../packages/hooks/use-aria/index.ts"],"sourcesContent":["import { pick } from 'lodash-unified'\nimport { buildProps } from '@element-plus/utils'\n\nexport const ariaProps = buildProps({\n /**\n * @description native `aria-label` attribute\n */\n ariaLabel: String,\n /**\n * @description native `aria-orientation` attribute\n */\n ariaOrientation: {\n type: String,\n values: ['horizontal', 'vertical', 'undefined'],\n },\n /**\n * @description native `aria-controls` attribute\n */\n ariaControls: String,\n})\n\nexport const useAriaProps = <T extends keyof typeof ariaProps>(\n arias: Array<T>\n) => {\n return pick<typeof ariaProps, T>(ariaProps, arias)\n}\n"],"names":[],"mappings":";;;AAEY,MAAC,SAAS,GAAG,UAAU,CAAC;AACpC,EAAE,SAAS,EAAE,MAAM;AACnB,EAAE,eAAe,EAAE;AACnB,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,MAAM,EAAE,CAAC,YAAY,EAAE,UAAU,EAAE,WAAW,CAAC;AACnD,GAAG;AACH,EAAE,YAAY,EAAE,MAAM;AACtB,CAAC,EAAE;AACS,MAAC,YAAY,GAAG,CAAC,KAAK,KAAK;AACvC,EAAE,OAAO,IAAI,CAAC,SAAS,EAAE,KAAK,CAAC,CAAC;AAChC;;;;"}
|
||||
Reference in New Issue
Block a user