1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
'use strict';
Object.defineProperty(exports, '__esModule', { value: true });
var vue = require('vue');
var shared = require('@vue/shared');
require('../../../utils/index.js');
var runtime = require('../../../utils/vue/props/runtime.js');
const CommonProps = runtime.buildProps({
modelValue: {
type: runtime.definePropType([Number, String, Array])
},
options: {
type: runtime.definePropType(Array),
default: () => []
},
props: {
type: runtime.definePropType(Object),
default: () => ({})
}
});
const DefaultProps = {
expandTrigger: "click",
multiple: false,
checkStrictly: false,
emitPath: true,
lazy: false,
lazyLoad: shared.NOOP,
value: "value",
label: "label",
children: "children",
leaf: "leaf",
disabled: "disabled",
hoverThreshold: 500
};
const useCascaderConfig = (props) => {
return vue.computed(() => ({
...DefaultProps,
...props.props
}));
};
exports.CommonProps = CommonProps;
exports.DefaultProps = DefaultProps;
exports.useCascaderConfig = useCascaderConfig;
//# sourceMappingURL=config.js.map