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
| import '../../../constants/index.mjs';
| import '../../../hooks/index.mjs';
| import '../../../utils/index.mjs';
| import { buildProps, definePropType } from '../../../utils/vue/props/runtime.mjs';
| import { useSizeProp } from '../../../hooks/use-size/index.mjs';
| import { UPDATE_MODEL_EVENT } from '../../../constants/event.mjs';
| import { isArray } from '@vue/shared';
|
| const checkboxGroupProps = buildProps({
| modelValue: {
| type: definePropType(Array),
| default: () => []
| },
| disabled: Boolean,
| min: Number,
| max: Number,
| size: useSizeProp,
| label: String,
| fill: String,
| textColor: String,
| tag: {
| type: String,
| default: "div"
| },
| validateEvent: {
| type: Boolean,
| default: true
| }
| });
| const checkboxGroupEmits = {
| [UPDATE_MODEL_EVENT]: (val) => isArray(val),
| change: (val) => isArray(val)
| };
|
| export { checkboxGroupEmits, checkboxGroupProps };
| //# sourceMappingURL=checkbox-group.mjs.map
|
|