element-plus
Version:
A Component Library for Vue 3
84 lines (80 loc) • 2.68 kB
JavaScript
'use strict';
var index = require('../../../hooks/use-empty-values/index.js');
var runtime = require('../../../utils/vue/props/runtime.js');
var index$1 = require('../../../hooks/use-size/index.js');
const configProviderProps = runtime.buildProps({
/**
* @description Controlling if the users want a11y features
*/
a11y: {
type: Boolean,
default: true
},
/**
* @description Locale Object
*/
locale: {
type: runtime.definePropType(Object)
},
/**
* @description global component size
*/
size: index$1.useSizeProp,
/**
* @description button related configuration, [see the following table](https://element-plus.org/en-US/component/config-provider.html#button-attribute)
*/
button: {
type: runtime.definePropType(Object)
},
/**
* @description card related configuration, [see the following table](https://element-plus.org/en-US/component/config-provider.html#card-attribute)
*/
card: {
type: runtime.definePropType(Object)
},
/**
* @description dialog related configuration, [see the following table](https://element-plus.org/en-US/component/config-provider.html#dialog-attribute)
*/
dialog: {
type: runtime.definePropType(Object)
},
/**
* @description link related configuration, [see the following table](https://element-plus.org/en-US/component/config-provider.html#link-attribute)
*/
link: {
type: runtime.definePropType(Object)
},
/**
* @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]
*/
experimentalFeatures: {
type: runtime.definePropType(Object)
},
/**
* @description Controls if we should handle keyboard navigation
*/
keyboardNavigation: {
type: Boolean,
default: true
},
/**
* @description message related configuration, [see the following table](https://element-plus.org/en-US/component/config-provider.html#message-attribute)
*/
message: {
type: runtime.definePropType(Object)
},
/**
* @description global Initial zIndex
*/
zIndex: Number,
/**
* @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]
*/
namespace: {
type: String,
default: "el"
},
...index.useEmptyValuesProps
});
exports.configProviderProps = configProviderProps;
//# sourceMappingURL=config-provider-props.js.map