You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1 lines
3.9 KiB
1 lines
3.9 KiB
{"ast":null,"code":"import { useEmptyValuesProps } from '../../../hooks/use-empty-values/index.mjs';\nimport { buildProps, definePropType } from '../../../utils/vue/props/runtime.mjs';\nimport { useSizeProp } from '../../../hooks/use-size/index.mjs';\nconst configProviderProps = buildProps({\n a11y: {\n type: Boolean,\n default: true\n },\n locale: {\n type: definePropType(Object)\n },\n size: useSizeProp,\n button: {\n type: definePropType(Object)\n },\n experimentalFeatures: {\n type: definePropType(Object)\n },\n keyboardNavigation: {\n type: Boolean,\n default: true\n },\n message: {\n type: definePropType(Object)\n },\n zIndex: Number,\n namespace: {\n type: String,\n default: \"el\"\n },\n ...useEmptyValuesProps\n});\nexport { configProviderProps };","map":{"version":3,"names":["configProviderProps","buildProps","a11y","type","Boolean","default","locale","definePropType","Object","size","useSizeProp","button","experimentalFeatures","keyboardNavigation","message","zIndex","Number","namespace","String","useEmptyValuesProps"],"sources":["../../../../../../packages/components/config-provider/src/config-provider-props.ts"],"sourcesContent":["import { buildProps, definePropType } from '@element-plus/utils'\nimport { useEmptyValuesProps, useSizeProp } from '@element-plus/hooks'\n\nimport type { ExtractPropTypes } from 'vue'\nimport type { Language } from '@element-plus/locale'\nimport type { ButtonConfigContext } from '@element-plus/components/button'\nimport type { MessageConfigContext } from '@element-plus/components/message'\n\n// eslint-disable-next-line @typescript-eslint/no-empty-object-type\nexport type ExperimentalFeatures = {\n // TO BE Defined\n}\n\nexport const configProviderProps = buildProps({\n /**\n * @description Controlling if the users want a11y features\n */\n a11y: {\n type: Boolean,\n default: true,\n },\n /**\n * @description Locale Object\n */\n locale: {\n type: definePropType<Language>(Object),\n },\n /**\n * @description global component size\n */\n size: useSizeProp,\n /**\n * @description button related configuration, [see the following table](#button-attributes)\n */\n button: {\n type: definePropType<ButtonConfigContext>(Object),\n },\n /**\n * @description features at experimental stage to be added, all features are default to be set to false | ^[object]\n */\n experimentalFeatures: {\n type: definePropType<ExperimentalFeatures>(Object),\n },\n /**\n * @description Controls if we should handle keyboard navigation\n */\n keyboardNavigation: {\n type: Boolean,\n default: true,\n },\n /**\n * @description message related configuration, [see the following table](#message-attributes)\n */\n message: {\n type: definePropType<MessageConfigContext>(Object),\n },\n /**\n * @description global Initial zIndex\n */\n zIndex: Number,\n /**\n * @description global component className prefix (cooperated with [$namespace](https://github.com/element-plus/element-plus/blob/dev/packages/theme-chalk/src/mixins/config.scss#L1)) | ^[string]\n */\n namespace: {\n type: String,\n default: 'el',\n },\n ...useEmptyValuesProps,\n} as const)\nexport type ConfigProviderProps = ExtractPropTypes<typeof configProviderProps>\n"],"mappings":";;;AAEY,MAACA,mBAAmB,GAAGC,UAAU,CAAC;EAC5CC,IAAI,EAAE;IACJC,IAAI,EAAEC,OAAO;IACbC,OAAO,EAAE;EACb,CAAG;EACDC,MAAM,EAAE;IACNH,IAAI,EAAEI,cAAc,CAACC,MAAM;EAC/B,CAAG;EACDC,IAAI,EAAEC,WAAW;EACjBC,MAAM,EAAE;IACNR,IAAI,EAAEI,cAAc,CAACC,MAAM;EAC/B,CAAG;EACDI,oBAAoB,EAAE;IACpBT,IAAI,EAAEI,cAAc,CAACC,MAAM;EAC/B,CAAG;EACDK,kBAAkB,EAAE;IAClBV,IAAI,EAAEC,OAAO;IACbC,OAAO,EAAE;EACb,CAAG;EACDS,OAAO,EAAE;IACPX,IAAI,EAAEI,cAAc,CAACC,MAAM;EAC/B,CAAG;EACDO,MAAM,EAAEC,MAAM;EACdC,SAAS,EAAE;IACTd,IAAI,EAAEe,MAAM;IACZb,OAAO,EAAE;EACb,CAAG;EACD,GAAGc;AACL,CAAC","ignoreList":[]},"metadata":{},"sourceType":"module","externalDependencies":[]}
|