config-provider-props.js 3.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
  2. const require_runtime = require("../../../utils/vue/props/runtime.js");
  3. const require_index = require("../../../hooks/use-size/index.js");
  4. const require_index$1 = require("../../../hooks/use-empty-values/index.js");
  5. //#region ../../packages/components/config-provider/src/config-provider-props.ts
  6. const configProviderProps = require_runtime.buildProps({
  7. /**
  8. * @description Controlling if the users want a11y features
  9. */
  10. a11y: {
  11. type: Boolean,
  12. default: true
  13. },
  14. /**
  15. * @description Locale Object
  16. */
  17. locale: { type: require_runtime.definePropType(Object) },
  18. /**
  19. * @description global component size
  20. */
  21. size: require_index.useSizeProp,
  22. /**
  23. * @description button related configuration, [see the following table](https://element-plus.org/en-US/component/config-provider.html#button-attribute)
  24. */
  25. button: { type: require_runtime.definePropType(Object) },
  26. /**
  27. * @description card related configuration, [see the following table](https://element-plus.org/en-US/component/config-provider.html#card-attribute)
  28. */
  29. card: { type: require_runtime.definePropType(Object) },
  30. /**
  31. * @description dialog related configuration, [see the following table](https://element-plus.org/en-US/component/config-provider.html#dialog-attribute)
  32. */
  33. dialog: { type: require_runtime.definePropType(Object) },
  34. /**
  35. * @description link related configuration, [see the following table](https://element-plus.org/en-US/component/config-provider.html#link-attribute)
  36. */
  37. link: { type: require_runtime.definePropType(Object) },
  38. /**
  39. * @description features at experimental stage to be added, all features are default to be set to false, [see the following table](https://element-plus.org/en-US/component/config-provider.html#experimental-features) | ^[object]
  40. */
  41. experimentalFeatures: { type: require_runtime.definePropType(Object) },
  42. /**
  43. * @description Controls if we should handle keyboard navigation
  44. */
  45. keyboardNavigation: {
  46. type: Boolean,
  47. default: true
  48. },
  49. /**
  50. * @description message related configuration, [see the following table](https://element-plus.org/en-US/component/config-provider.html#message-attribute)
  51. */
  52. message: { type: require_runtime.definePropType(Object) },
  53. /**
  54. * @description global Initial zIndex
  55. */
  56. zIndex: Number,
  57. /**
  58. * @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]
  59. */
  60. namespace: {
  61. type: String,
  62. default: "el"
  63. },
  64. /**
  65. * @description table related configuration, [see the following table](https://element-plus.org/en-US/component/config-provider.html#table-attribute)
  66. */
  67. table: { type: require_runtime.definePropType(Object) },
  68. ...require_index$1.useEmptyValuesProps
  69. });
  70. //#endregion
  71. exports.configProviderProps = configProviderProps;
  72. //# sourceMappingURL=config-provider-props.js.map