@cyberpunk-vue/components 1.0.0 → 1.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/avatar/index.d.ts +21 -21
- package/dist/avatar/src/avatar-group.vue.d.ts +9 -9
- package/dist/avatar/src/avatar.vue.d.ts +6 -6
- package/dist/badge/index.d.ts +18 -18
- package/dist/badge/src/badge.vue.d.ts +9 -9
- package/dist/button/index.d.ts +24 -24
- package/dist/button/src/button.vue.d.ts +14 -14
- package/dist/card/index.d.ts +57 -57
- package/dist/card/src/card.vue.d.ts +30 -30
- package/dist/checkbox/index.d.ts +49 -49
- package/dist/checkbox/src/checkbox.vue.d.ts +24 -24
- package/dist/checkbox-group/index.d.ts +31 -31
- package/dist/checkbox-group/src/checkbox-group.vue.d.ts +6 -6
- package/dist/config-provider/index.d.ts +6 -6
- package/dist/config-provider/src/config-provider.vue.d.ts +3 -3
- package/dist/container/index.d.ts +42 -42
- package/dist/container/src/aside.vue.d.ts +6 -6
- package/dist/container/src/container.vue.d.ts +3 -3
- package/dist/container/src/footer.vue.d.ts +6 -6
- package/dist/container/src/header.vue.d.ts +6 -6
- package/dist/dialog/index.d.ts +54 -54
- package/dist/dialog/src/dialog.vue.d.ts +24 -24
- package/dist/divider/index.d.ts +30 -30
- package/dist/divider/src/divider.vue.d.ts +15 -15
- package/dist/dropdown/index.d.ts +28 -28
- package/dist/dropdown/src/dropdown.vue.d.ts +11 -11
- package/dist/icon/index.d.ts +15 -15
- package/dist/icon/src/icon.vue.d.ts +8 -8
- package/dist/image/index.d.ts +12 -12
- package/dist/image/src/image.vue.d.ts +6 -6
- package/dist/input/index.d.ts +21 -21
- package/dist/input/src/input.vue.d.ts +11 -11
- package/dist/input-number/index.d.ts +2 -2
- package/dist/input-number/src/input-number.vue.d.ts +2 -2
- package/dist/loading/index.d.ts +5 -5
- package/dist/loading/src/loading.vue.d.ts +5 -5
- package/dist/menu/index.d.ts +12 -12
- package/dist/menu/src/menu.vue.d.ts +6 -6
- package/dist/menu-item/index.d.ts +6 -6
- package/dist/menu-item/src/menu-item.vue.d.ts +3 -3
- package/dist/menu-nav/index.d.ts +8 -8
- package/dist/menu-nav/src/menu-nav.vue.d.ts +6 -6
- package/dist/notification/index.d.ts +24 -24
- package/dist/notification/src/notification.vue.d.ts +12 -12
- package/dist/pagination/index.d.ts +39 -39
- package/dist/pagination/src/pagination.vue.d.ts +28 -28
- package/dist/pattern-background/index.d.ts +6 -6
- package/dist/pattern-background/src/pattern-background.vue.d.ts +6 -6
- package/dist/popover/src/popover.vue.d.ts +15 -15
- package/dist/progress/index.d.ts +30 -30
- package/dist/progress/src/progress.vue.d.ts +15 -15
- package/dist/radio/index.d.ts +31 -31
- package/dist/radio/src/radio.vue.d.ts +5 -5
- package/dist/radio-group/index.d.ts +25 -25
- package/dist/radio-group/src/radio-group.vue.d.ts +3 -3
- package/dist/row/index.d.ts +12 -12
- package/dist/row/src/row.vue.d.ts +6 -6
- package/dist/segmented/index.d.ts +21 -21
- package/dist/segmented/src/segmented.vue.d.ts +11 -11
- package/dist/slider/index.d.ts +8 -8
- package/dist/slider/src/slider.vue.d.ts +8 -8
- package/dist/status-indicator/index.d.ts +21 -21
- package/dist/status-indicator/src/status-indicator.vue.d.ts +11 -11
- package/dist/sub-menu/index.d.ts +6 -6
- package/dist/sub-menu/src/sub-menu.vue.d.ts +3 -3
- package/dist/switch/index.d.ts +5 -5
- package/dist/switch/src/switch.vue.d.ts +5 -5
- package/dist/table/index.d.ts +20 -20
- package/dist/table/src/table.vue.d.ts +5 -5
- package/dist/table-column/index.d.ts +3 -3
- package/dist/table-column/src/table-column.vue.d.ts +3 -3
- package/dist/tag/index.d.ts +21 -21
- package/dist/tag/src/tag.vue.d.ts +11 -11
- package/dist/text/index.d.ts +18 -18
- package/dist/text/src/text.vue.d.ts +9 -9
- package/dist/textarea/index.d.ts +5 -5
- package/dist/textarea/src/textarea.vue.d.ts +5 -5
- package/dist/tree/index.d.ts +77 -77
- package/dist/tree/src/tree.vue.d.ts +6 -6
- package/package.json +4 -4
package/dist/checkbox/index.d.ts
CHANGED
|
@@ -13,19 +13,19 @@
|
|
|
13
13
|
export declare const CpCheckbox: import('../utils').SFCWithInstall<{
|
|
14
14
|
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
|
|
15
15
|
readonly modelValue: {
|
|
16
|
-
readonly type: import('vue').PropType<import('
|
|
16
|
+
readonly type: import('vue').PropType<import('.').CheckboxValueType | import('.').CheckboxValueType[]>;
|
|
17
17
|
readonly default: undefined;
|
|
18
18
|
};
|
|
19
19
|
readonly label: {
|
|
20
|
-
readonly type: import('vue').PropType<import('
|
|
20
|
+
readonly type: import('vue').PropType<import('.').CheckboxValueType>;
|
|
21
21
|
readonly default: undefined;
|
|
22
22
|
};
|
|
23
23
|
readonly trueValue: {
|
|
24
|
-
readonly type: import('vue').PropType<import('
|
|
24
|
+
readonly type: import('vue').PropType<import('.').CheckboxValueType>;
|
|
25
25
|
readonly default: true;
|
|
26
26
|
};
|
|
27
27
|
readonly falseValue: {
|
|
28
|
-
readonly type: import('vue').PropType<import('
|
|
28
|
+
readonly type: import('vue').PropType<import('.').CheckboxValueType>;
|
|
29
29
|
readonly default: false;
|
|
30
30
|
};
|
|
31
31
|
readonly disabled: {
|
|
@@ -37,11 +37,11 @@ export declare const CpCheckbox: import('../utils').SFCWithInstall<{
|
|
|
37
37
|
readonly default: false;
|
|
38
38
|
};
|
|
39
39
|
readonly size: {
|
|
40
|
-
readonly type: import('vue').PropType<import('
|
|
40
|
+
readonly type: import('vue').PropType<import('.').CheckboxSize>;
|
|
41
41
|
readonly default: "md";
|
|
42
42
|
};
|
|
43
43
|
readonly type: {
|
|
44
|
-
readonly type: import('vue').PropType<import('
|
|
44
|
+
readonly type: import('vue').PropType<import('.').CheckboxType>;
|
|
45
45
|
readonly default: "primary";
|
|
46
46
|
};
|
|
47
47
|
readonly color: {
|
|
@@ -53,7 +53,7 @@ export declare const CpCheckbox: import('../utils').SFCWithInstall<{
|
|
|
53
53
|
readonly default: "";
|
|
54
54
|
};
|
|
55
55
|
readonly shape: {
|
|
56
|
-
readonly type: import('vue').PropType<import('
|
|
56
|
+
readonly type: import('vue').PropType<import('.').CheckboxShape>;
|
|
57
57
|
readonly default: "clip";
|
|
58
58
|
};
|
|
59
59
|
readonly border: {
|
|
@@ -65,27 +65,27 @@ export declare const CpCheckbox: import('../utils').SFCWithInstall<{
|
|
|
65
65
|
readonly default: "";
|
|
66
66
|
};
|
|
67
67
|
}>> & Readonly<{
|
|
68
|
-
"onUpdate:modelValue"?: ((value: import('
|
|
69
|
-
onChange?: ((value: import('
|
|
68
|
+
"onUpdate:modelValue"?: ((value: import('.').CheckboxValueType | import('.').CheckboxValueType[]) => any) | undefined;
|
|
69
|
+
onChange?: ((value: import('.').CheckboxValueType | import('.').CheckboxValueType[]) => any) | undefined;
|
|
70
70
|
}>, {
|
|
71
71
|
inputRef: import('vue').Ref<HTMLInputElement | undefined, HTMLInputElement | undefined>;
|
|
72
72
|
checked: import('vue').ComputedRef<boolean>;
|
|
73
73
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
74
|
-
"update:modelValue": (value: import('
|
|
75
|
-
change: (value: import('
|
|
74
|
+
"update:modelValue": (value: import('.').CheckboxValueType | import('.').CheckboxValueType[]) => void;
|
|
75
|
+
change: (value: import('.').CheckboxValueType | import('.').CheckboxValueType[]) => void;
|
|
76
76
|
}, import('vue').PublicProps, {
|
|
77
77
|
readonly size: import('@cyberpunk-vue/hooks').Size;
|
|
78
78
|
readonly name: string;
|
|
79
|
-
readonly type: import('
|
|
79
|
+
readonly type: import('.').CheckboxType;
|
|
80
80
|
readonly disabled: boolean;
|
|
81
81
|
readonly color: string;
|
|
82
|
-
readonly shape: import('
|
|
83
|
-
readonly label: import('
|
|
84
|
-
readonly modelValue: import('
|
|
82
|
+
readonly shape: import('.').CheckboxShape;
|
|
83
|
+
readonly label: import('.').CheckboxValueType;
|
|
84
|
+
readonly modelValue: import('.').CheckboxValueType | import('.').CheckboxValueType[];
|
|
85
85
|
readonly indeterminate: boolean;
|
|
86
86
|
readonly border: boolean;
|
|
87
|
-
readonly trueValue: import('
|
|
88
|
-
readonly falseValue: import('
|
|
87
|
+
readonly trueValue: import('.').CheckboxValueType;
|
|
88
|
+
readonly falseValue: import('.').CheckboxValueType;
|
|
89
89
|
readonly checkColor: string;
|
|
90
90
|
}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
|
|
91
91
|
inputRef: HTMLInputElement;
|
|
@@ -98,19 +98,19 @@ export declare const CpCheckbox: import('../utils').SFCWithInstall<{
|
|
|
98
98
|
Defaults: {};
|
|
99
99
|
}, Readonly<import('vue').ExtractPropTypes<{
|
|
100
100
|
readonly modelValue: {
|
|
101
|
-
readonly type: import('vue').PropType<import('
|
|
101
|
+
readonly type: import('vue').PropType<import('.').CheckboxValueType | import('.').CheckboxValueType[]>;
|
|
102
102
|
readonly default: undefined;
|
|
103
103
|
};
|
|
104
104
|
readonly label: {
|
|
105
|
-
readonly type: import('vue').PropType<import('
|
|
105
|
+
readonly type: import('vue').PropType<import('.').CheckboxValueType>;
|
|
106
106
|
readonly default: undefined;
|
|
107
107
|
};
|
|
108
108
|
readonly trueValue: {
|
|
109
|
-
readonly type: import('vue').PropType<import('
|
|
109
|
+
readonly type: import('vue').PropType<import('.').CheckboxValueType>;
|
|
110
110
|
readonly default: true;
|
|
111
111
|
};
|
|
112
112
|
readonly falseValue: {
|
|
113
|
-
readonly type: import('vue').PropType<import('
|
|
113
|
+
readonly type: import('vue').PropType<import('.').CheckboxValueType>;
|
|
114
114
|
readonly default: false;
|
|
115
115
|
};
|
|
116
116
|
readonly disabled: {
|
|
@@ -122,11 +122,11 @@ export declare const CpCheckbox: import('../utils').SFCWithInstall<{
|
|
|
122
122
|
readonly default: false;
|
|
123
123
|
};
|
|
124
124
|
readonly size: {
|
|
125
|
-
readonly type: import('vue').PropType<import('
|
|
125
|
+
readonly type: import('vue').PropType<import('.').CheckboxSize>;
|
|
126
126
|
readonly default: "md";
|
|
127
127
|
};
|
|
128
128
|
readonly type: {
|
|
129
|
-
readonly type: import('vue').PropType<import('
|
|
129
|
+
readonly type: import('vue').PropType<import('.').CheckboxType>;
|
|
130
130
|
readonly default: "primary";
|
|
131
131
|
};
|
|
132
132
|
readonly color: {
|
|
@@ -138,7 +138,7 @@ export declare const CpCheckbox: import('../utils').SFCWithInstall<{
|
|
|
138
138
|
readonly default: "";
|
|
139
139
|
};
|
|
140
140
|
readonly shape: {
|
|
141
|
-
readonly type: import('vue').PropType<import('
|
|
141
|
+
readonly type: import('vue').PropType<import('.').CheckboxShape>;
|
|
142
142
|
readonly default: "clip";
|
|
143
143
|
};
|
|
144
144
|
readonly border: {
|
|
@@ -150,24 +150,24 @@ export declare const CpCheckbox: import('../utils').SFCWithInstall<{
|
|
|
150
150
|
readonly default: "";
|
|
151
151
|
};
|
|
152
152
|
}>> & Readonly<{
|
|
153
|
-
"onUpdate:modelValue"?: ((value: import('
|
|
154
|
-
onChange?: ((value: import('
|
|
153
|
+
"onUpdate:modelValue"?: ((value: import('.').CheckboxValueType | import('.').CheckboxValueType[]) => any) | undefined;
|
|
154
|
+
onChange?: ((value: import('.').CheckboxValueType | import('.').CheckboxValueType[]) => any) | undefined;
|
|
155
155
|
}>, {
|
|
156
156
|
inputRef: import('vue').Ref<HTMLInputElement | undefined, HTMLInputElement | undefined>;
|
|
157
157
|
checked: import('vue').ComputedRef<boolean>;
|
|
158
158
|
}, {}, {}, {}, {
|
|
159
159
|
readonly size: import('@cyberpunk-vue/hooks').Size;
|
|
160
160
|
readonly name: string;
|
|
161
|
-
readonly type: import('
|
|
161
|
+
readonly type: import('.').CheckboxType;
|
|
162
162
|
readonly disabled: boolean;
|
|
163
163
|
readonly color: string;
|
|
164
|
-
readonly shape: import('
|
|
165
|
-
readonly label: import('
|
|
166
|
-
readonly modelValue: import('
|
|
164
|
+
readonly shape: import('.').CheckboxShape;
|
|
165
|
+
readonly label: import('.').CheckboxValueType;
|
|
166
|
+
readonly modelValue: import('.').CheckboxValueType | import('.').CheckboxValueType[];
|
|
167
167
|
readonly indeterminate: boolean;
|
|
168
168
|
readonly border: boolean;
|
|
169
|
-
readonly trueValue: import('
|
|
170
|
-
readonly falseValue: import('
|
|
169
|
+
readonly trueValue: import('.').CheckboxValueType;
|
|
170
|
+
readonly falseValue: import('.').CheckboxValueType;
|
|
171
171
|
readonly checkColor: string;
|
|
172
172
|
}>;
|
|
173
173
|
__isFragment?: never;
|
|
@@ -175,19 +175,19 @@ export declare const CpCheckbox: import('../utils').SFCWithInstall<{
|
|
|
175
175
|
__isSuspense?: never;
|
|
176
176
|
} & import('vue').ComponentOptionsBase<Readonly<import('vue').ExtractPropTypes<{
|
|
177
177
|
readonly modelValue: {
|
|
178
|
-
readonly type: import('vue').PropType<import('
|
|
178
|
+
readonly type: import('vue').PropType<import('.').CheckboxValueType | import('.').CheckboxValueType[]>;
|
|
179
179
|
readonly default: undefined;
|
|
180
180
|
};
|
|
181
181
|
readonly label: {
|
|
182
|
-
readonly type: import('vue').PropType<import('
|
|
182
|
+
readonly type: import('vue').PropType<import('.').CheckboxValueType>;
|
|
183
183
|
readonly default: undefined;
|
|
184
184
|
};
|
|
185
185
|
readonly trueValue: {
|
|
186
|
-
readonly type: import('vue').PropType<import('
|
|
186
|
+
readonly type: import('vue').PropType<import('.').CheckboxValueType>;
|
|
187
187
|
readonly default: true;
|
|
188
188
|
};
|
|
189
189
|
readonly falseValue: {
|
|
190
|
-
readonly type: import('vue').PropType<import('
|
|
190
|
+
readonly type: import('vue').PropType<import('.').CheckboxValueType>;
|
|
191
191
|
readonly default: false;
|
|
192
192
|
};
|
|
193
193
|
readonly disabled: {
|
|
@@ -199,11 +199,11 @@ export declare const CpCheckbox: import('../utils').SFCWithInstall<{
|
|
|
199
199
|
readonly default: false;
|
|
200
200
|
};
|
|
201
201
|
readonly size: {
|
|
202
|
-
readonly type: import('vue').PropType<import('
|
|
202
|
+
readonly type: import('vue').PropType<import('.').CheckboxSize>;
|
|
203
203
|
readonly default: "md";
|
|
204
204
|
};
|
|
205
205
|
readonly type: {
|
|
206
|
-
readonly type: import('vue').PropType<import('
|
|
206
|
+
readonly type: import('vue').PropType<import('.').CheckboxType>;
|
|
207
207
|
readonly default: "primary";
|
|
208
208
|
};
|
|
209
209
|
readonly color: {
|
|
@@ -215,7 +215,7 @@ export declare const CpCheckbox: import('../utils').SFCWithInstall<{
|
|
|
215
215
|
readonly default: "";
|
|
216
216
|
};
|
|
217
217
|
readonly shape: {
|
|
218
|
-
readonly type: import('vue').PropType<import('
|
|
218
|
+
readonly type: import('vue').PropType<import('.').CheckboxShape>;
|
|
219
219
|
readonly default: "clip";
|
|
220
220
|
};
|
|
221
221
|
readonly border: {
|
|
@@ -227,27 +227,27 @@ export declare const CpCheckbox: import('../utils').SFCWithInstall<{
|
|
|
227
227
|
readonly default: "";
|
|
228
228
|
};
|
|
229
229
|
}>> & Readonly<{
|
|
230
|
-
"onUpdate:modelValue"?: ((value: import('
|
|
231
|
-
onChange?: ((value: import('
|
|
230
|
+
"onUpdate:modelValue"?: ((value: import('.').CheckboxValueType | import('.').CheckboxValueType[]) => any) | undefined;
|
|
231
|
+
onChange?: ((value: import('.').CheckboxValueType | import('.').CheckboxValueType[]) => any) | undefined;
|
|
232
232
|
}>, {
|
|
233
233
|
inputRef: import('vue').Ref<HTMLInputElement | undefined, HTMLInputElement | undefined>;
|
|
234
234
|
checked: import('vue').ComputedRef<boolean>;
|
|
235
235
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
236
|
-
"update:modelValue": (value: import('
|
|
237
|
-
change: (value: import('
|
|
236
|
+
"update:modelValue": (value: import('.').CheckboxValueType | import('.').CheckboxValueType[]) => void;
|
|
237
|
+
change: (value: import('.').CheckboxValueType | import('.').CheckboxValueType[]) => void;
|
|
238
238
|
}, string, {
|
|
239
239
|
readonly size: import('@cyberpunk-vue/hooks').Size;
|
|
240
240
|
readonly name: string;
|
|
241
|
-
readonly type: import('
|
|
241
|
+
readonly type: import('.').CheckboxType;
|
|
242
242
|
readonly disabled: boolean;
|
|
243
243
|
readonly color: string;
|
|
244
|
-
readonly shape: import('
|
|
245
|
-
readonly label: import('
|
|
246
|
-
readonly modelValue: import('
|
|
244
|
+
readonly shape: import('.').CheckboxShape;
|
|
245
|
+
readonly label: import('.').CheckboxValueType;
|
|
246
|
+
readonly modelValue: import('.').CheckboxValueType | import('.').CheckboxValueType[];
|
|
247
247
|
readonly indeterminate: boolean;
|
|
248
248
|
readonly border: boolean;
|
|
249
|
-
readonly trueValue: import('
|
|
250
|
-
readonly falseValue: import('
|
|
249
|
+
readonly trueValue: import('.').CheckboxValueType;
|
|
250
|
+
readonly falseValue: import('.').CheckboxValueType;
|
|
251
251
|
readonly checkColor: string;
|
|
252
252
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
253
253
|
$slots: {
|
|
@@ -11,19 +11,19 @@ declare function __VLS_template(): {
|
|
|
11
11
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
12
12
|
declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
13
13
|
readonly modelValue: {
|
|
14
|
-
readonly type: import('vue').PropType<import('
|
|
14
|
+
readonly type: import('vue').PropType<import('./checkbox').CheckboxValueType | import('./checkbox').CheckboxValueType[]>;
|
|
15
15
|
readonly default: undefined;
|
|
16
16
|
};
|
|
17
17
|
readonly label: {
|
|
18
|
-
readonly type: import('vue').PropType<import('
|
|
18
|
+
readonly type: import('vue').PropType<import('./checkbox').CheckboxValueType>;
|
|
19
19
|
readonly default: undefined;
|
|
20
20
|
};
|
|
21
21
|
readonly trueValue: {
|
|
22
|
-
readonly type: import('vue').PropType<import('
|
|
22
|
+
readonly type: import('vue').PropType<import('./checkbox').CheckboxValueType>;
|
|
23
23
|
readonly default: true;
|
|
24
24
|
};
|
|
25
25
|
readonly falseValue: {
|
|
26
|
-
readonly type: import('vue').PropType<import('
|
|
26
|
+
readonly type: import('vue').PropType<import('./checkbox').CheckboxValueType>;
|
|
27
27
|
readonly default: false;
|
|
28
28
|
};
|
|
29
29
|
readonly disabled: {
|
|
@@ -35,11 +35,11 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
35
35
|
readonly default: false;
|
|
36
36
|
};
|
|
37
37
|
readonly size: {
|
|
38
|
-
readonly type: import('vue').PropType<import('
|
|
38
|
+
readonly type: import('vue').PropType<import('./checkbox').CheckboxSize>;
|
|
39
39
|
readonly default: "md";
|
|
40
40
|
};
|
|
41
41
|
readonly type: {
|
|
42
|
-
readonly type: import('vue').PropType<import('
|
|
42
|
+
readonly type: import('vue').PropType<import('./checkbox').CheckboxType>;
|
|
43
43
|
readonly default: "primary";
|
|
44
44
|
};
|
|
45
45
|
readonly color: {
|
|
@@ -51,7 +51,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
51
51
|
readonly default: "";
|
|
52
52
|
};
|
|
53
53
|
readonly shape: {
|
|
54
|
-
readonly type: import('vue').PropType<import('
|
|
54
|
+
readonly type: import('vue').PropType<import('./checkbox').CheckboxShape>;
|
|
55
55
|
readonly default: "clip";
|
|
56
56
|
};
|
|
57
57
|
readonly border: {
|
|
@@ -68,23 +68,23 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
68
68
|
/** @description 是否选中 */
|
|
69
69
|
checked: import('vue').ComputedRef<boolean>;
|
|
70
70
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
71
|
-
"update:modelValue": (value: import('
|
|
72
|
-
change: (value: import('
|
|
71
|
+
"update:modelValue": (value: import('./checkbox').CheckboxValueType | import('./checkbox').CheckboxValueType[]) => void;
|
|
72
|
+
change: (value: import('./checkbox').CheckboxValueType | import('./checkbox').CheckboxValueType[]) => void;
|
|
73
73
|
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
74
74
|
readonly modelValue: {
|
|
75
|
-
readonly type: import('vue').PropType<import('
|
|
75
|
+
readonly type: import('vue').PropType<import('./checkbox').CheckboxValueType | import('./checkbox').CheckboxValueType[]>;
|
|
76
76
|
readonly default: undefined;
|
|
77
77
|
};
|
|
78
78
|
readonly label: {
|
|
79
|
-
readonly type: import('vue').PropType<import('
|
|
79
|
+
readonly type: import('vue').PropType<import('./checkbox').CheckboxValueType>;
|
|
80
80
|
readonly default: undefined;
|
|
81
81
|
};
|
|
82
82
|
readonly trueValue: {
|
|
83
|
-
readonly type: import('vue').PropType<import('
|
|
83
|
+
readonly type: import('vue').PropType<import('./checkbox').CheckboxValueType>;
|
|
84
84
|
readonly default: true;
|
|
85
85
|
};
|
|
86
86
|
readonly falseValue: {
|
|
87
|
-
readonly type: import('vue').PropType<import('
|
|
87
|
+
readonly type: import('vue').PropType<import('./checkbox').CheckboxValueType>;
|
|
88
88
|
readonly default: false;
|
|
89
89
|
};
|
|
90
90
|
readonly disabled: {
|
|
@@ -96,11 +96,11 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
96
96
|
readonly default: false;
|
|
97
97
|
};
|
|
98
98
|
readonly size: {
|
|
99
|
-
readonly type: import('vue').PropType<import('
|
|
99
|
+
readonly type: import('vue').PropType<import('./checkbox').CheckboxSize>;
|
|
100
100
|
readonly default: "md";
|
|
101
101
|
};
|
|
102
102
|
readonly type: {
|
|
103
|
-
readonly type: import('vue').PropType<import('
|
|
103
|
+
readonly type: import('vue').PropType<import('./checkbox').CheckboxType>;
|
|
104
104
|
readonly default: "primary";
|
|
105
105
|
};
|
|
106
106
|
readonly color: {
|
|
@@ -112,7 +112,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
112
112
|
readonly default: "";
|
|
113
113
|
};
|
|
114
114
|
readonly shape: {
|
|
115
|
-
readonly type: import('vue').PropType<import('
|
|
115
|
+
readonly type: import('vue').PropType<import('./checkbox').CheckboxShape>;
|
|
116
116
|
readonly default: "clip";
|
|
117
117
|
};
|
|
118
118
|
readonly border: {
|
|
@@ -124,21 +124,21 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
124
124
|
readonly default: "";
|
|
125
125
|
};
|
|
126
126
|
}>> & Readonly<{
|
|
127
|
-
"onUpdate:modelValue"?: ((value: import('
|
|
128
|
-
onChange?: ((value: import('
|
|
127
|
+
"onUpdate:modelValue"?: ((value: import('./checkbox').CheckboxValueType | import('./checkbox').CheckboxValueType[]) => any) | undefined;
|
|
128
|
+
onChange?: ((value: import('./checkbox').CheckboxValueType | import('./checkbox').CheckboxValueType[]) => any) | undefined;
|
|
129
129
|
}>, {
|
|
130
130
|
readonly size: import('@cyberpunk-vue/hooks').Size;
|
|
131
131
|
readonly name: string;
|
|
132
|
-
readonly type: import('
|
|
132
|
+
readonly type: import('./checkbox').CheckboxType;
|
|
133
133
|
readonly disabled: boolean;
|
|
134
134
|
readonly color: string;
|
|
135
|
-
readonly shape: import('
|
|
136
|
-
readonly label: import('
|
|
137
|
-
readonly modelValue: import('
|
|
135
|
+
readonly shape: import('./checkbox').CheckboxShape;
|
|
136
|
+
readonly label: import('./checkbox').CheckboxValueType;
|
|
137
|
+
readonly modelValue: import('./checkbox').CheckboxValueType | import('./checkbox').CheckboxValueType[];
|
|
138
138
|
readonly indeterminate: boolean;
|
|
139
139
|
readonly border: boolean;
|
|
140
|
-
readonly trueValue: import('
|
|
141
|
-
readonly falseValue: import('
|
|
140
|
+
readonly trueValue: import('./checkbox').CheckboxValueType;
|
|
141
|
+
readonly falseValue: import('./checkbox').CheckboxValueType;
|
|
142
142
|
readonly checkColor: string;
|
|
143
143
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
|
|
144
144
|
inputRef: HTMLInputElement;
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
export declare const CpCheckboxGroup: import('../utils').SFCWithInstall<{
|
|
17
17
|
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
|
|
18
18
|
readonly modelValue: {
|
|
19
|
-
readonly type: import('vue').PropType<import('
|
|
19
|
+
readonly type: import('vue').PropType<import('..').CheckboxValueType[]>;
|
|
20
20
|
readonly default: () => never[];
|
|
21
21
|
};
|
|
22
22
|
readonly disabled: {
|
|
@@ -28,11 +28,11 @@ export declare const CpCheckboxGroup: import('../utils').SFCWithInstall<{
|
|
|
28
28
|
readonly default: "md";
|
|
29
29
|
};
|
|
30
30
|
readonly type: {
|
|
31
|
-
readonly type: import('vue').PropType<import('
|
|
31
|
+
readonly type: import('vue').PropType<import('..').CheckboxType>;
|
|
32
32
|
readonly default: "primary";
|
|
33
33
|
};
|
|
34
34
|
readonly shape: {
|
|
35
|
-
readonly type: import('vue').PropType<import('
|
|
35
|
+
readonly type: import('vue').PropType<import('..').CheckboxShape>;
|
|
36
36
|
readonly default: "clip";
|
|
37
37
|
};
|
|
38
38
|
readonly min: {
|
|
@@ -48,19 +48,19 @@ export declare const CpCheckboxGroup: import('../utils').SFCWithInstall<{
|
|
|
48
48
|
readonly default: "horizontal";
|
|
49
49
|
};
|
|
50
50
|
}>> & Readonly<{
|
|
51
|
-
"onUpdate:modelValue"?: ((value: import('
|
|
52
|
-
onChange?: ((value: import('
|
|
51
|
+
"onUpdate:modelValue"?: ((value: import('..').CheckboxValueType[]) => any) | undefined;
|
|
52
|
+
onChange?: ((value: import('..').CheckboxValueType[]) => any) | undefined;
|
|
53
53
|
}>, {
|
|
54
|
-
modelValue: import('vue').Ref<import('
|
|
54
|
+
modelValue: import('vue').Ref<import('..').CheckboxValueType[], import('..').CheckboxValueType[]>;
|
|
55
55
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
56
|
-
"update:modelValue": (value: import('
|
|
57
|
-
change: (value: import('
|
|
56
|
+
"update:modelValue": (value: import('..').CheckboxValueType[]) => void;
|
|
57
|
+
change: (value: import('..').CheckboxValueType[]) => void;
|
|
58
58
|
}, import('vue').PublicProps, {
|
|
59
59
|
readonly size: import('@cyberpunk-vue/hooks').Size;
|
|
60
|
-
readonly type: import('
|
|
60
|
+
readonly type: import('..').CheckboxType;
|
|
61
61
|
readonly disabled: boolean;
|
|
62
|
-
readonly shape: import('
|
|
63
|
-
readonly modelValue: import('
|
|
62
|
+
readonly shape: import('..').CheckboxShape;
|
|
63
|
+
readonly modelValue: import('..').CheckboxValueType[];
|
|
64
64
|
readonly min: number;
|
|
65
65
|
readonly max: number;
|
|
66
66
|
readonly direction: "vertical" | "horizontal";
|
|
@@ -73,7 +73,7 @@ export declare const CpCheckboxGroup: import('../utils').SFCWithInstall<{
|
|
|
73
73
|
Defaults: {};
|
|
74
74
|
}, Readonly<import('vue').ExtractPropTypes<{
|
|
75
75
|
readonly modelValue: {
|
|
76
|
-
readonly type: import('vue').PropType<import('
|
|
76
|
+
readonly type: import('vue').PropType<import('..').CheckboxValueType[]>;
|
|
77
77
|
readonly default: () => never[];
|
|
78
78
|
};
|
|
79
79
|
readonly disabled: {
|
|
@@ -85,11 +85,11 @@ export declare const CpCheckboxGroup: import('../utils').SFCWithInstall<{
|
|
|
85
85
|
readonly default: "md";
|
|
86
86
|
};
|
|
87
87
|
readonly type: {
|
|
88
|
-
readonly type: import('vue').PropType<import('
|
|
88
|
+
readonly type: import('vue').PropType<import('..').CheckboxType>;
|
|
89
89
|
readonly default: "primary";
|
|
90
90
|
};
|
|
91
91
|
readonly shape: {
|
|
92
|
-
readonly type: import('vue').PropType<import('
|
|
92
|
+
readonly type: import('vue').PropType<import('..').CheckboxShape>;
|
|
93
93
|
readonly default: "clip";
|
|
94
94
|
};
|
|
95
95
|
readonly min: {
|
|
@@ -105,16 +105,16 @@ export declare const CpCheckboxGroup: import('../utils').SFCWithInstall<{
|
|
|
105
105
|
readonly default: "horizontal";
|
|
106
106
|
};
|
|
107
107
|
}>> & Readonly<{
|
|
108
|
-
"onUpdate:modelValue"?: ((value: import('
|
|
109
|
-
onChange?: ((value: import('
|
|
108
|
+
"onUpdate:modelValue"?: ((value: import('..').CheckboxValueType[]) => any) | undefined;
|
|
109
|
+
onChange?: ((value: import('..').CheckboxValueType[]) => any) | undefined;
|
|
110
110
|
}>, {
|
|
111
|
-
modelValue: import('vue').Ref<import('
|
|
111
|
+
modelValue: import('vue').Ref<import('..').CheckboxValueType[], import('..').CheckboxValueType[]>;
|
|
112
112
|
}, {}, {}, {}, {
|
|
113
113
|
readonly size: import('@cyberpunk-vue/hooks').Size;
|
|
114
|
-
readonly type: import('
|
|
114
|
+
readonly type: import('..').CheckboxType;
|
|
115
115
|
readonly disabled: boolean;
|
|
116
|
-
readonly shape: import('
|
|
117
|
-
readonly modelValue: import('
|
|
116
|
+
readonly shape: import('..').CheckboxShape;
|
|
117
|
+
readonly modelValue: import('..').CheckboxValueType[];
|
|
118
118
|
readonly min: number;
|
|
119
119
|
readonly max: number;
|
|
120
120
|
readonly direction: "vertical" | "horizontal";
|
|
@@ -124,7 +124,7 @@ export declare const CpCheckboxGroup: import('../utils').SFCWithInstall<{
|
|
|
124
124
|
__isSuspense?: never;
|
|
125
125
|
} & import('vue').ComponentOptionsBase<Readonly<import('vue').ExtractPropTypes<{
|
|
126
126
|
readonly modelValue: {
|
|
127
|
-
readonly type: import('vue').PropType<import('
|
|
127
|
+
readonly type: import('vue').PropType<import('..').CheckboxValueType[]>;
|
|
128
128
|
readonly default: () => never[];
|
|
129
129
|
};
|
|
130
130
|
readonly disabled: {
|
|
@@ -136,11 +136,11 @@ export declare const CpCheckboxGroup: import('../utils').SFCWithInstall<{
|
|
|
136
136
|
readonly default: "md";
|
|
137
137
|
};
|
|
138
138
|
readonly type: {
|
|
139
|
-
readonly type: import('vue').PropType<import('
|
|
139
|
+
readonly type: import('vue').PropType<import('..').CheckboxType>;
|
|
140
140
|
readonly default: "primary";
|
|
141
141
|
};
|
|
142
142
|
readonly shape: {
|
|
143
|
-
readonly type: import('vue').PropType<import('
|
|
143
|
+
readonly type: import('vue').PropType<import('..').CheckboxShape>;
|
|
144
144
|
readonly default: "clip";
|
|
145
145
|
};
|
|
146
146
|
readonly min: {
|
|
@@ -156,19 +156,19 @@ export declare const CpCheckboxGroup: import('../utils').SFCWithInstall<{
|
|
|
156
156
|
readonly default: "horizontal";
|
|
157
157
|
};
|
|
158
158
|
}>> & Readonly<{
|
|
159
|
-
"onUpdate:modelValue"?: ((value: import('
|
|
160
|
-
onChange?: ((value: import('
|
|
159
|
+
"onUpdate:modelValue"?: ((value: import('..').CheckboxValueType[]) => any) | undefined;
|
|
160
|
+
onChange?: ((value: import('..').CheckboxValueType[]) => any) | undefined;
|
|
161
161
|
}>, {
|
|
162
|
-
modelValue: import('vue').Ref<import('
|
|
162
|
+
modelValue: import('vue').Ref<import('..').CheckboxValueType[], import('..').CheckboxValueType[]>;
|
|
163
163
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
164
|
-
"update:modelValue": (value: import('
|
|
165
|
-
change: (value: import('
|
|
164
|
+
"update:modelValue": (value: import('..').CheckboxValueType[]) => void;
|
|
165
|
+
change: (value: import('..').CheckboxValueType[]) => void;
|
|
166
166
|
}, string, {
|
|
167
167
|
readonly size: import('@cyberpunk-vue/hooks').Size;
|
|
168
|
-
readonly type: import('
|
|
168
|
+
readonly type: import('..').CheckboxType;
|
|
169
169
|
readonly disabled: boolean;
|
|
170
|
-
readonly shape: import('
|
|
171
|
-
readonly modelValue: import('
|
|
170
|
+
readonly shape: import('..').CheckboxShape;
|
|
171
|
+
readonly modelValue: import('..').CheckboxValueType[];
|
|
172
172
|
readonly min: number;
|
|
173
173
|
readonly max: number;
|
|
174
174
|
readonly direction: "vertical" | "horizontal";
|
|
@@ -22,11 +22,11 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
22
22
|
readonly default: "md";
|
|
23
23
|
};
|
|
24
24
|
readonly type: {
|
|
25
|
-
readonly type: import('vue').PropType<import('
|
|
25
|
+
readonly type: import('vue').PropType<import('../..').CheckboxType>;
|
|
26
26
|
readonly default: "primary";
|
|
27
27
|
};
|
|
28
28
|
readonly shape: {
|
|
29
|
-
readonly type: import('vue').PropType<import('
|
|
29
|
+
readonly type: import('vue').PropType<import('../..').CheckboxShape>;
|
|
30
30
|
readonly default: "clip";
|
|
31
31
|
};
|
|
32
32
|
readonly min: {
|
|
@@ -61,11 +61,11 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
61
61
|
readonly default: "md";
|
|
62
62
|
};
|
|
63
63
|
readonly type: {
|
|
64
|
-
readonly type: import('vue').PropType<import('
|
|
64
|
+
readonly type: import('vue').PropType<import('../..').CheckboxType>;
|
|
65
65
|
readonly default: "primary";
|
|
66
66
|
};
|
|
67
67
|
readonly shape: {
|
|
68
|
-
readonly type: import('vue').PropType<import('
|
|
68
|
+
readonly type: import('vue').PropType<import('../..').CheckboxShape>;
|
|
69
69
|
readonly default: "clip";
|
|
70
70
|
};
|
|
71
71
|
readonly min: {
|
|
@@ -85,9 +85,9 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
85
85
|
onChange?: ((value: CheckboxValueType[]) => any) | undefined;
|
|
86
86
|
}>, {
|
|
87
87
|
readonly size: import('@cyberpunk-vue/hooks').Size;
|
|
88
|
-
readonly type: import('
|
|
88
|
+
readonly type: import('../..').CheckboxType;
|
|
89
89
|
readonly disabled: boolean;
|
|
90
|
-
readonly shape: import('
|
|
90
|
+
readonly shape: import('../..').CheckboxShape;
|
|
91
91
|
readonly modelValue: CheckboxValueType[];
|
|
92
92
|
readonly min: number;
|
|
93
93
|
readonly max: number;
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
export declare const CpConfigProvider: import('../utils').SFCWithInstall<{
|
|
21
21
|
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
|
|
22
22
|
readonly defaults: {
|
|
23
|
-
readonly type: import('vue').PropType<import('
|
|
23
|
+
readonly type: import('vue').PropType<import('.').ComponentDefaults>;
|
|
24
24
|
readonly default: () => {};
|
|
25
25
|
};
|
|
26
26
|
readonly theme: {
|
|
@@ -28,7 +28,7 @@ export declare const CpConfigProvider: import('../utils').SFCWithInstall<{
|
|
|
28
28
|
readonly default: "dark";
|
|
29
29
|
};
|
|
30
30
|
}>> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
|
|
31
|
-
readonly defaults: import('
|
|
31
|
+
readonly defaults: import('.').ComponentDefaults;
|
|
32
32
|
readonly theme: import('@cyberpunk-vue/constants').ThemeType;
|
|
33
33
|
}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
34
34
|
P: {};
|
|
@@ -39,7 +39,7 @@ export declare const CpConfigProvider: import('../utils').SFCWithInstall<{
|
|
|
39
39
|
Defaults: {};
|
|
40
40
|
}, Readonly<import('vue').ExtractPropTypes<{
|
|
41
41
|
readonly defaults: {
|
|
42
|
-
readonly type: import('vue').PropType<import('
|
|
42
|
+
readonly type: import('vue').PropType<import('.').ComponentDefaults>;
|
|
43
43
|
readonly default: () => {};
|
|
44
44
|
};
|
|
45
45
|
readonly theme: {
|
|
@@ -47,7 +47,7 @@ export declare const CpConfigProvider: import('../utils').SFCWithInstall<{
|
|
|
47
47
|
readonly default: "dark";
|
|
48
48
|
};
|
|
49
49
|
}>> & Readonly<{}>, {}, {}, {}, {}, {
|
|
50
|
-
readonly defaults: import('
|
|
50
|
+
readonly defaults: import('.').ComponentDefaults;
|
|
51
51
|
readonly theme: import('@cyberpunk-vue/constants').ThemeType;
|
|
52
52
|
}>;
|
|
53
53
|
__isFragment?: never;
|
|
@@ -55,7 +55,7 @@ export declare const CpConfigProvider: import('../utils').SFCWithInstall<{
|
|
|
55
55
|
__isSuspense?: never;
|
|
56
56
|
} & import('vue').ComponentOptionsBase<Readonly<import('vue').ExtractPropTypes<{
|
|
57
57
|
readonly defaults: {
|
|
58
|
-
readonly type: import('vue').PropType<import('
|
|
58
|
+
readonly type: import('vue').PropType<import('.').ComponentDefaults>;
|
|
59
59
|
readonly default: () => {};
|
|
60
60
|
};
|
|
61
61
|
readonly theme: {
|
|
@@ -63,7 +63,7 @@ export declare const CpConfigProvider: import('../utils').SFCWithInstall<{
|
|
|
63
63
|
readonly default: "dark";
|
|
64
64
|
};
|
|
65
65
|
}>> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
|
|
66
|
-
readonly defaults: import('
|
|
66
|
+
readonly defaults: import('.').ComponentDefaults;
|
|
67
67
|
readonly theme: import('@cyberpunk-vue/constants').ThemeType;
|
|
68
68
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
69
69
|
$slots: {
|