@dao-style/core 1.8.1-beta.6 → 1.9.1-beta.1
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/components/action-icon/action-icon.d.ts +23 -1
- package/dist/components/action-icon/action-icon.vue.d.ts +10 -0
- package/dist/components/action-icon/props.d.ts +4 -0
- package/dist/components/dropdown/dropdown.d.ts +9 -6
- package/dist/components/dropdown/dropdown.vue.d.ts +3 -2
- package/dist/components/ellipsis/ellipsis.d.ts +18 -6
- package/dist/components/ellipsis/ellipsis.vue.d.ts +6 -2
- package/dist/components/popper/popper.d.ts +4 -2
- package/dist/components/select/props.d.ts +4 -0
- package/dist/components/select/select.d.ts +26 -1
- package/dist/components/select/select.vue.d.ts +11 -0
- package/dist/components/virtual-select/props.d.ts +4 -0
- package/dist/components/virtual-select/virtual-select.d.ts +20 -1
- package/dist/components/virtual-select/virtual-select.vue.d.ts +9 -0
- package/dist/dao-style.js +7 -7
- package/dist/dao-style.mjs +2908 -2883
- package/dist/font/DaoCloudIconFont/DaoCloudIconFont.woff2 +0 -0
- package/dist/style.css +1 -1
- package/package.json +1 -1
|
@@ -9,6 +9,7 @@ declare const DaoActionIcon: {
|
|
|
9
9
|
disabled: boolean;
|
|
10
10
|
name: string;
|
|
11
11
|
size: import("./props").ActionIconSize;
|
|
12
|
+
active: boolean;
|
|
12
13
|
tooltipContent: string;
|
|
13
14
|
tooltipDisabled: boolean;
|
|
14
15
|
}> & Omit<Readonly<import("vue").ExtractPropTypes<{
|
|
@@ -37,7 +38,11 @@ declare const DaoActionIcon: {
|
|
|
37
38
|
type: BooleanConstructor;
|
|
38
39
|
default: boolean;
|
|
39
40
|
};
|
|
40
|
-
|
|
41
|
+
active: {
|
|
42
|
+
type: BooleanConstructor;
|
|
43
|
+
default: boolean;
|
|
44
|
+
};
|
|
45
|
+
}>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "type" | "disabled" | "name" | "size" | "active" | "tooltipContent" | "tooltipDisabled">;
|
|
41
46
|
$attrs: {
|
|
42
47
|
[x: string]: unknown;
|
|
43
48
|
};
|
|
@@ -77,14 +82,20 @@ declare const DaoActionIcon: {
|
|
|
77
82
|
type: BooleanConstructor;
|
|
78
83
|
default: boolean;
|
|
79
84
|
};
|
|
85
|
+
active: {
|
|
86
|
+
type: BooleanConstructor;
|
|
87
|
+
default: boolean;
|
|
88
|
+
};
|
|
80
89
|
}>>, {
|
|
81
90
|
isDivider: boolean;
|
|
82
91
|
realDisabled: import("vue").ComputedRef<boolean>;
|
|
92
|
+
classList: import("vue").ComputedRef<string[]>;
|
|
83
93
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
|
|
84
94
|
type: import("./props").ActionIconType;
|
|
85
95
|
disabled: boolean;
|
|
86
96
|
name: string;
|
|
87
97
|
size: import("./props").ActionIconSize;
|
|
98
|
+
active: boolean;
|
|
88
99
|
tooltipContent: string;
|
|
89
100
|
tooltipDisabled: boolean;
|
|
90
101
|
}, {}, string> & {
|
|
@@ -133,9 +144,14 @@ declare const DaoActionIcon: {
|
|
|
133
144
|
type: BooleanConstructor;
|
|
134
145
|
default: boolean;
|
|
135
146
|
};
|
|
147
|
+
active: {
|
|
148
|
+
type: BooleanConstructor;
|
|
149
|
+
default: boolean;
|
|
150
|
+
};
|
|
136
151
|
}>> & import("vue").ShallowUnwrapRef<{
|
|
137
152
|
isDivider: boolean;
|
|
138
153
|
realDisabled: import("vue").ComputedRef<boolean>;
|
|
154
|
+
classList: import("vue").ComputedRef<string[]>;
|
|
139
155
|
}> & {} & import("vue").ComponentCustomProperties & {};
|
|
140
156
|
__isFragment?: undefined;
|
|
141
157
|
__isTeleport?: undefined;
|
|
@@ -166,14 +182,20 @@ declare const DaoActionIcon: {
|
|
|
166
182
|
type: BooleanConstructor;
|
|
167
183
|
default: boolean;
|
|
168
184
|
};
|
|
185
|
+
active: {
|
|
186
|
+
type: BooleanConstructor;
|
|
187
|
+
default: boolean;
|
|
188
|
+
};
|
|
169
189
|
}>>, {
|
|
170
190
|
isDivider: boolean;
|
|
171
191
|
realDisabled: import("vue").ComputedRef<boolean>;
|
|
192
|
+
classList: import("vue").ComputedRef<string[]>;
|
|
172
193
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
|
|
173
194
|
type: import("./props").ActionIconType;
|
|
174
195
|
disabled: boolean;
|
|
175
196
|
name: string;
|
|
176
197
|
size: import("./props").ActionIconSize;
|
|
198
|
+
active: boolean;
|
|
177
199
|
tooltipContent: string;
|
|
178
200
|
tooltipDisabled: boolean;
|
|
179
201
|
}, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
@@ -24,9 +24,14 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
24
24
|
type: BooleanConstructor;
|
|
25
25
|
default: boolean;
|
|
26
26
|
};
|
|
27
|
+
active: {
|
|
28
|
+
type: BooleanConstructor;
|
|
29
|
+
default: boolean;
|
|
30
|
+
};
|
|
27
31
|
}, {
|
|
28
32
|
isDivider: boolean;
|
|
29
33
|
realDisabled: import("vue").ComputedRef<boolean>;
|
|
34
|
+
classList: import("vue").ComputedRef<string[]>;
|
|
30
35
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
31
36
|
name: {
|
|
32
37
|
type: StringConstructor;
|
|
@@ -53,11 +58,16 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
53
58
|
type: BooleanConstructor;
|
|
54
59
|
default: boolean;
|
|
55
60
|
};
|
|
61
|
+
active: {
|
|
62
|
+
type: BooleanConstructor;
|
|
63
|
+
default: boolean;
|
|
64
|
+
};
|
|
56
65
|
}>>, {
|
|
57
66
|
type: import("./props").ActionIconType;
|
|
58
67
|
disabled: boolean;
|
|
59
68
|
name: string;
|
|
60
69
|
size: import("./props").ActionIconSize;
|
|
70
|
+
active: boolean;
|
|
61
71
|
tooltipContent: string;
|
|
62
72
|
tooltipDisabled: boolean;
|
|
63
73
|
}>;
|
|
@@ -362,11 +362,12 @@ declare const DaoDropdown: {
|
|
|
362
362
|
isTelDisabled: import("vue").ComputedRef<boolean>;
|
|
363
363
|
}> & {} & import("vue").ComponentCustomProperties & {} & {
|
|
364
364
|
$slot: {
|
|
365
|
-
default:
|
|
365
|
+
default: ParamsSlotFn<{
|
|
366
|
+
isOpen: boolean;
|
|
367
|
+
}>;
|
|
366
368
|
content: SlotFn;
|
|
367
369
|
};
|
|
368
370
|
}) | undefined>;
|
|
369
|
-
isOpen: import("vue").ComputedRef<boolean>;
|
|
370
371
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
|
|
371
372
|
offset: number;
|
|
372
373
|
placement: import("@popperjs/core").Placement;
|
|
@@ -704,11 +705,12 @@ declare const DaoDropdown: {
|
|
|
704
705
|
isTelDisabled: import("vue").ComputedRef<boolean>;
|
|
705
706
|
}> & {} & import("vue").ComponentCustomProperties & {} & {
|
|
706
707
|
$slot: {
|
|
707
|
-
default:
|
|
708
|
+
default: ParamsSlotFn<{
|
|
709
|
+
isOpen: boolean;
|
|
710
|
+
}>;
|
|
708
711
|
content: SlotFn;
|
|
709
712
|
};
|
|
710
713
|
}) | undefined>;
|
|
711
|
-
isOpen: import("vue").ComputedRef<boolean>;
|
|
712
714
|
}> & {} & import("vue").ComponentCustomProperties & {};
|
|
713
715
|
__isFragment?: undefined;
|
|
714
716
|
__isTeleport?: undefined;
|
|
@@ -1023,11 +1025,12 @@ declare const DaoDropdown: {
|
|
|
1023
1025
|
isTelDisabled: import("vue").ComputedRef<boolean>;
|
|
1024
1026
|
}> & {} & import("vue").ComponentCustomProperties & {} & {
|
|
1025
1027
|
$slot: {
|
|
1026
|
-
default:
|
|
1028
|
+
default: ParamsSlotFn<{
|
|
1029
|
+
isOpen: boolean;
|
|
1030
|
+
}>;
|
|
1027
1031
|
content: SlotFn;
|
|
1028
1032
|
};
|
|
1029
1033
|
}) | undefined>;
|
|
1030
|
-
isOpen: import("vue").ComputedRef<boolean>;
|
|
1031
1034
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
|
|
1032
1035
|
offset: number;
|
|
1033
1036
|
placement: import("@popperjs/core").Placement;
|
|
@@ -309,11 +309,12 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
309
309
|
isTelDisabled: import("vue").ComputedRef<boolean>;
|
|
310
310
|
}> & {} & import("vue").ComponentCustomProperties & {} & {
|
|
311
311
|
$slot: {
|
|
312
|
-
default: import("../..").
|
|
312
|
+
default: import("../..").ParamsSlotFn<{
|
|
313
|
+
isOpen: boolean;
|
|
314
|
+
}>;
|
|
313
315
|
content: import("../..").SlotFn;
|
|
314
316
|
};
|
|
315
317
|
}) | undefined>;
|
|
316
|
-
isOpen: import("vue").ComputedRef<boolean>;
|
|
317
318
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
318
319
|
trigger: {
|
|
319
320
|
type: import("vue").PropType<"manual" | import("../popper").PopperTrigger | import("../popper").PopperTrigger[]>;
|
|
@@ -405,7 +405,9 @@ declare const DaoEllipsis: {
|
|
|
405
405
|
isTelDisabled: import("vue").ComputedRef<boolean>;
|
|
406
406
|
}> & {} & import("vue").ComponentCustomProperties & {} & {
|
|
407
407
|
$slot: {
|
|
408
|
-
default:
|
|
408
|
+
default: ParamsSlotFn<{
|
|
409
|
+
isOpen: boolean;
|
|
410
|
+
}>;
|
|
409
411
|
content: SlotFn;
|
|
410
412
|
};
|
|
411
413
|
}) | ({
|
|
@@ -687,7 +689,9 @@ declare const DaoEllipsis: {
|
|
|
687
689
|
isTelDisabled: import("vue").ComputedRef<boolean>;
|
|
688
690
|
}> & {} & import("vue").ComponentCustomProperties & {} & {
|
|
689
691
|
$slot: {
|
|
690
|
-
default:
|
|
692
|
+
default: ParamsSlotFn<{
|
|
693
|
+
isOpen: boolean;
|
|
694
|
+
}>;
|
|
691
695
|
content: SlotFn;
|
|
692
696
|
};
|
|
693
697
|
}) | undefined>;
|
|
@@ -1798,7 +1802,9 @@ declare const DaoEllipsis: {
|
|
|
1798
1802
|
isTelDisabled: import("vue").ComputedRef<boolean>;
|
|
1799
1803
|
}> & {} & import("vue").ComponentCustomProperties & {} & {
|
|
1800
1804
|
$slot: {
|
|
1801
|
-
default:
|
|
1805
|
+
default: ParamsSlotFn<{
|
|
1806
|
+
isOpen: boolean;
|
|
1807
|
+
}>;
|
|
1802
1808
|
content: SlotFn;
|
|
1803
1809
|
};
|
|
1804
1810
|
}) | ({
|
|
@@ -2080,7 +2086,9 @@ declare const DaoEllipsis: {
|
|
|
2080
2086
|
isTelDisabled: import("vue").ComputedRef<boolean>;
|
|
2081
2087
|
}> & {} & import("vue").ComponentCustomProperties & {} & {
|
|
2082
2088
|
$slot: {
|
|
2083
|
-
default:
|
|
2089
|
+
default: ParamsSlotFn<{
|
|
2090
|
+
isOpen: boolean;
|
|
2091
|
+
}>;
|
|
2084
2092
|
content: SlotFn;
|
|
2085
2093
|
};
|
|
2086
2094
|
}) | undefined>;
|
|
@@ -3163,7 +3171,9 @@ declare const DaoEllipsis: {
|
|
|
3163
3171
|
isTelDisabled: import("vue").ComputedRef<boolean>;
|
|
3164
3172
|
}> & {} & import("vue").ComponentCustomProperties & {} & {
|
|
3165
3173
|
$slot: {
|
|
3166
|
-
default:
|
|
3174
|
+
default: ParamsSlotFn<{
|
|
3175
|
+
isOpen: boolean;
|
|
3176
|
+
}>;
|
|
3167
3177
|
content: SlotFn;
|
|
3168
3178
|
};
|
|
3169
3179
|
}) | ({
|
|
@@ -3445,7 +3455,9 @@ declare const DaoEllipsis: {
|
|
|
3445
3455
|
isTelDisabled: import("vue").ComputedRef<boolean>;
|
|
3446
3456
|
}> & {} & import("vue").ComponentCustomProperties & {} & {
|
|
3447
3457
|
$slot: {
|
|
3448
|
-
default:
|
|
3458
|
+
default: ParamsSlotFn<{
|
|
3459
|
+
isOpen: boolean;
|
|
3460
|
+
}>;
|
|
3449
3461
|
content: SlotFn;
|
|
3450
3462
|
};
|
|
3451
3463
|
}) | undefined>;
|
|
@@ -327,7 +327,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
327
327
|
isTelDisabled: import("vue").ComputedRef<boolean>;
|
|
328
328
|
}> & {} & import("vue").ComponentCustomProperties & {} & {
|
|
329
329
|
$slot: {
|
|
330
|
-
default: import("../..").
|
|
330
|
+
default: import("../..").ParamsSlotFn<{
|
|
331
|
+
isOpen: boolean;
|
|
332
|
+
}>;
|
|
331
333
|
content: import("../..").SlotFn;
|
|
332
334
|
};
|
|
333
335
|
}) | ({
|
|
@@ -609,7 +611,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
609
611
|
isTelDisabled: import("vue").ComputedRef<boolean>;
|
|
610
612
|
}> & {} & import("vue").ComponentCustomProperties & {} & {
|
|
611
613
|
$slot: {
|
|
612
|
-
default: import("../..").
|
|
614
|
+
default: import("../..").ParamsSlotFn<{
|
|
615
|
+
isOpen: boolean;
|
|
616
|
+
}>;
|
|
613
617
|
content: import("../..").SlotFn;
|
|
614
618
|
};
|
|
615
619
|
}) | undefined>;
|
|
@@ -1,8 +1,10 @@
|
|
|
1
|
-
import { SlotFn } from '../../utils/types';
|
|
1
|
+
import { ParamsSlotFn, SlotFn } from '../../utils/types';
|
|
2
2
|
export type DaoPopperLike = {
|
|
3
3
|
new (): {
|
|
4
4
|
$slot: {
|
|
5
|
-
default:
|
|
5
|
+
default: ParamsSlotFn<{
|
|
6
|
+
isOpen: boolean;
|
|
7
|
+
}>;
|
|
6
8
|
content: SlotFn;
|
|
7
9
|
};
|
|
8
10
|
};
|
|
@@ -56,6 +56,10 @@ export declare const selectProps: {
|
|
|
56
56
|
type: BooleanConstructor;
|
|
57
57
|
default: boolean;
|
|
58
58
|
};
|
|
59
|
+
clearable: {
|
|
60
|
+
type: BooleanConstructor;
|
|
61
|
+
default: boolean;
|
|
62
|
+
};
|
|
59
63
|
};
|
|
60
64
|
export type SelectProps = ExtractPropTypes<typeof selectProps>;
|
|
61
65
|
export declare const optionProps: {
|
|
@@ -14,6 +14,7 @@ declare const DaoSelect: {
|
|
|
14
14
|
multiple: boolean;
|
|
15
15
|
loading: boolean;
|
|
16
16
|
status: "default" | "error" | "success" | "validating";
|
|
17
|
+
clearable: boolean;
|
|
17
18
|
placeholder: string;
|
|
18
19
|
optionsPlaceholder: string;
|
|
19
20
|
searchPlaceholder: string;
|
|
@@ -74,13 +75,17 @@ declare const DaoSelect: {
|
|
|
74
75
|
type: BooleanConstructor;
|
|
75
76
|
default: boolean;
|
|
76
77
|
};
|
|
78
|
+
clearable: {
|
|
79
|
+
type: BooleanConstructor;
|
|
80
|
+
default: boolean;
|
|
81
|
+
};
|
|
77
82
|
}>> & {
|
|
78
83
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
79
84
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
80
85
|
onOpen?: ((...args: any[]) => any) | undefined;
|
|
81
86
|
onClose?: ((...args: any[]) => any) | undefined;
|
|
82
87
|
"onSearch-change"?: ((...args: any[]) => any) | undefined;
|
|
83
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "search" | "modelValue" | "disabled" | "appendTo" | "size" | "multiple" | "loading" | "status" | "placeholder" | "optionsPlaceholder" | "searchPlaceholder" | "menuClass" | "hideSelectAll">;
|
|
88
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "search" | "modelValue" | "disabled" | "appendTo" | "size" | "multiple" | "loading" | "status" | "clearable" | "placeholder" | "optionsPlaceholder" | "searchPlaceholder" | "menuClass" | "hideSelectAll">;
|
|
84
89
|
$attrs: {
|
|
85
90
|
[x: string]: unknown;
|
|
86
91
|
};
|
|
@@ -149,6 +154,10 @@ declare const DaoSelect: {
|
|
|
149
154
|
type: BooleanConstructor;
|
|
150
155
|
default: boolean;
|
|
151
156
|
};
|
|
157
|
+
clearable: {
|
|
158
|
+
type: BooleanConstructor;
|
|
159
|
+
default: boolean;
|
|
160
|
+
};
|
|
152
161
|
}>> & {
|
|
153
162
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
154
163
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
@@ -161,6 +170,7 @@ declare const DaoSelect: {
|
|
|
161
170
|
}, string, import("@intlify/core-base").RemoveIndexSignature<{
|
|
162
171
|
[x: string]: import("vue-i18n").LocaleMessageValue<import("vue-i18n").VueMessageType>;
|
|
163
172
|
}>, never, string, string>;
|
|
173
|
+
showClear: import("vue").ComputedRef<boolean>;
|
|
164
174
|
popper: import("vue").Ref<({
|
|
165
175
|
new (...args: any[]): {
|
|
166
176
|
$: import("vue").ComponentInternalInstance;
|
|
@@ -591,6 +601,7 @@ declare const DaoSelect: {
|
|
|
591
601
|
end(): void;
|
|
592
602
|
};
|
|
593
603
|
handleCheckAll: (checked: boolean) => void;
|
|
604
|
+
resetCurrentVal: () => void;
|
|
594
605
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("open" | "close" | "change" | "update:modelValue" | "search-change")[], string, {
|
|
595
606
|
search: boolean | import("./types").DaoSelectSearchFn;
|
|
596
607
|
modelValue: string | number | boolean | unknown[];
|
|
@@ -600,6 +611,7 @@ declare const DaoSelect: {
|
|
|
600
611
|
multiple: boolean;
|
|
601
612
|
loading: boolean;
|
|
602
613
|
status: "default" | "error" | "success" | "validating";
|
|
614
|
+
clearable: boolean;
|
|
603
615
|
placeholder: string;
|
|
604
616
|
optionsPlaceholder: string;
|
|
605
617
|
searchPlaceholder: string;
|
|
@@ -680,6 +692,10 @@ declare const DaoSelect: {
|
|
|
680
692
|
type: BooleanConstructor;
|
|
681
693
|
default: boolean;
|
|
682
694
|
};
|
|
695
|
+
clearable: {
|
|
696
|
+
type: BooleanConstructor;
|
|
697
|
+
default: boolean;
|
|
698
|
+
};
|
|
683
699
|
}>> & {
|
|
684
700
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
685
701
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
@@ -692,6 +708,7 @@ declare const DaoSelect: {
|
|
|
692
708
|
}, string, import("@intlify/core-base").RemoveIndexSignature<{
|
|
693
709
|
[x: string]: import("vue-i18n").LocaleMessageValue<import("vue-i18n").VueMessageType>;
|
|
694
710
|
}>, never, string, string>;
|
|
711
|
+
showClear: import("vue").ComputedRef<boolean>;
|
|
695
712
|
popper: import("vue").Ref<({
|
|
696
713
|
new (...args: any[]): {
|
|
697
714
|
$: import("vue").ComponentInternalInstance;
|
|
@@ -1122,6 +1139,7 @@ declare const DaoSelect: {
|
|
|
1122
1139
|
end(): void;
|
|
1123
1140
|
};
|
|
1124
1141
|
handleCheckAll: (checked: boolean) => void;
|
|
1142
|
+
resetCurrentVal: () => void;
|
|
1125
1143
|
}> & {} & import("vue").ComponentCustomProperties & {};
|
|
1126
1144
|
__isFragment?: undefined;
|
|
1127
1145
|
__isTeleport?: undefined;
|
|
@@ -1181,6 +1199,10 @@ declare const DaoSelect: {
|
|
|
1181
1199
|
type: BooleanConstructor;
|
|
1182
1200
|
default: boolean;
|
|
1183
1201
|
};
|
|
1202
|
+
clearable: {
|
|
1203
|
+
type: BooleanConstructor;
|
|
1204
|
+
default: boolean;
|
|
1205
|
+
};
|
|
1184
1206
|
}>> & {
|
|
1185
1207
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
1186
1208
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
@@ -1193,6 +1215,7 @@ declare const DaoSelect: {
|
|
|
1193
1215
|
}, string, import("@intlify/core-base").RemoveIndexSignature<{
|
|
1194
1216
|
[x: string]: import("vue-i18n").LocaleMessageValue<import("vue-i18n").VueMessageType>;
|
|
1195
1217
|
}>, never, string, string>;
|
|
1218
|
+
showClear: import("vue").ComputedRef<boolean>;
|
|
1196
1219
|
popper: import("vue").Ref<({
|
|
1197
1220
|
new (...args: any[]): {
|
|
1198
1221
|
$: import("vue").ComponentInternalInstance;
|
|
@@ -1623,6 +1646,7 @@ declare const DaoSelect: {
|
|
|
1623
1646
|
end(): void;
|
|
1624
1647
|
};
|
|
1625
1648
|
handleCheckAll: (checked: boolean) => void;
|
|
1649
|
+
resetCurrentVal: () => void;
|
|
1626
1650
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("open" | "close" | "change" | "update:modelValue" | "search-change")[], "open" | "close" | "change" | "update:modelValue" | "search-change", {
|
|
1627
1651
|
search: boolean | import("./types").DaoSelectSearchFn;
|
|
1628
1652
|
modelValue: string | number | boolean | unknown[];
|
|
@@ -1632,6 +1656,7 @@ declare const DaoSelect: {
|
|
|
1632
1656
|
multiple: boolean;
|
|
1633
1657
|
loading: boolean;
|
|
1634
1658
|
status: "default" | "error" | "success" | "validating";
|
|
1659
|
+
clearable: boolean;
|
|
1635
1660
|
placeholder: string;
|
|
1636
1661
|
optionsPlaceholder: string;
|
|
1637
1662
|
searchPlaceholder: string;
|
|
@@ -55,12 +55,17 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
55
55
|
type: BooleanConstructor;
|
|
56
56
|
default: boolean;
|
|
57
57
|
};
|
|
58
|
+
clearable: {
|
|
59
|
+
type: BooleanConstructor;
|
|
60
|
+
default: boolean;
|
|
61
|
+
};
|
|
58
62
|
}, {
|
|
59
63
|
t: import("vue-i18n").ComposerTranslation<{
|
|
60
64
|
[x: string]: import("@intlify/core-base").LocaleMessage<import("vue-i18n").VueMessageType>;
|
|
61
65
|
}, string, import("@intlify/core-base").RemoveIndexSignature<{
|
|
62
66
|
[x: string]: import("vue-i18n").LocaleMessageValue<import("vue-i18n").VueMessageType>;
|
|
63
67
|
}>, never, string, string>;
|
|
68
|
+
showClear: import("vue").ComputedRef<boolean>;
|
|
64
69
|
popper: import("vue").Ref<({
|
|
65
70
|
new (...args: any[]): {
|
|
66
71
|
$: import("vue").ComponentInternalInstance;
|
|
@@ -491,6 +496,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
491
496
|
end(): void;
|
|
492
497
|
};
|
|
493
498
|
handleCheckAll: (checked: boolean) => void;
|
|
499
|
+
resetCurrentVal: () => void;
|
|
494
500
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("open" | "close" | "change" | "update:modelValue" | "search-change")[], "open" | "close" | "change" | "update:modelValue" | "search-change", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
495
501
|
modelValue: {
|
|
496
502
|
type: (StringConstructor | BooleanConstructor | ArrayConstructor | NumberConstructor)[];
|
|
@@ -546,6 +552,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
546
552
|
type: BooleanConstructor;
|
|
547
553
|
default: boolean;
|
|
548
554
|
};
|
|
555
|
+
clearable: {
|
|
556
|
+
type: BooleanConstructor;
|
|
557
|
+
default: boolean;
|
|
558
|
+
};
|
|
549
559
|
}>> & {
|
|
550
560
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
551
561
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
@@ -561,6 +571,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
561
571
|
multiple: boolean;
|
|
562
572
|
loading: boolean;
|
|
563
573
|
status: "default" | "error" | "success" | "validating";
|
|
574
|
+
clearable: boolean;
|
|
564
575
|
placeholder: string;
|
|
565
576
|
optionsPlaceholder: string;
|
|
566
577
|
searchPlaceholder: string;
|
|
@@ -72,6 +72,10 @@ export declare const virtualSelectProps: {
|
|
|
72
72
|
type: BooleanConstructor;
|
|
73
73
|
default: boolean;
|
|
74
74
|
};
|
|
75
|
+
clearable: {
|
|
76
|
+
type: BooleanConstructor;
|
|
77
|
+
default: boolean;
|
|
78
|
+
};
|
|
75
79
|
};
|
|
76
80
|
export type virtualSelectProps = ExtractPropTypes<typeof virtualSelectProps>;
|
|
77
81
|
export declare const virtualOptionProps: {
|
|
@@ -16,6 +16,7 @@ declare const DaoVirtualSelect: {
|
|
|
16
16
|
options: OptionType[];
|
|
17
17
|
loading: boolean;
|
|
18
18
|
status: "default" | "error" | "success" | "validating";
|
|
19
|
+
clearable: boolean;
|
|
19
20
|
placeholder: string;
|
|
20
21
|
optionsPlaceholder: string;
|
|
21
22
|
searchPlaceholder: string;
|
|
@@ -95,13 +96,17 @@ declare const DaoVirtualSelect: {
|
|
|
95
96
|
type: BooleanConstructor;
|
|
96
97
|
default: boolean;
|
|
97
98
|
};
|
|
99
|
+
clearable: {
|
|
100
|
+
type: BooleanConstructor;
|
|
101
|
+
default: boolean;
|
|
102
|
+
};
|
|
98
103
|
}>> & {
|
|
99
104
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
100
105
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
101
106
|
onOpen?: ((...args: any[]) => any) | undefined;
|
|
102
107
|
onClose?: ((...args: any[]) => any) | undefined;
|
|
103
108
|
"onSearch-change"?: ((...args: any[]) => any) | undefined;
|
|
104
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "search" | "modelValue" | "disabled" | "appendTo" | "size" | "multiple" | "options" | "loading" | "status" | "placeholder" | "optionsPlaceholder" | "searchPlaceholder" | "menuClass" | "hideSelectAll" | "valueKey" | "labelKey" | "itemHeight">;
|
|
109
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "search" | "modelValue" | "disabled" | "appendTo" | "size" | "multiple" | "options" | "loading" | "status" | "clearable" | "placeholder" | "optionsPlaceholder" | "searchPlaceholder" | "menuClass" | "hideSelectAll" | "valueKey" | "labelKey" | "itemHeight">;
|
|
105
110
|
$attrs: {
|
|
106
111
|
[x: string]: unknown;
|
|
107
112
|
};
|
|
@@ -186,6 +191,10 @@ declare const DaoVirtualSelect: {
|
|
|
186
191
|
type: BooleanConstructor;
|
|
187
192
|
default: boolean;
|
|
188
193
|
};
|
|
194
|
+
clearable: {
|
|
195
|
+
type: BooleanConstructor;
|
|
196
|
+
default: boolean;
|
|
197
|
+
};
|
|
189
198
|
}>> & {
|
|
190
199
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
191
200
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
@@ -616,6 +625,7 @@ declare const DaoVirtualSelect: {
|
|
|
616
625
|
options: OptionType[];
|
|
617
626
|
loading: boolean;
|
|
618
627
|
status: "default" | "error" | "success" | "validating";
|
|
628
|
+
clearable: boolean;
|
|
619
629
|
placeholder: string;
|
|
620
630
|
optionsPlaceholder: string;
|
|
621
631
|
searchPlaceholder: string;
|
|
@@ -715,6 +725,10 @@ declare const DaoVirtualSelect: {
|
|
|
715
725
|
type: BooleanConstructor;
|
|
716
726
|
default: boolean;
|
|
717
727
|
};
|
|
728
|
+
clearable: {
|
|
729
|
+
type: BooleanConstructor;
|
|
730
|
+
default: boolean;
|
|
731
|
+
};
|
|
718
732
|
}>> & {
|
|
719
733
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
720
734
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
@@ -1210,6 +1224,10 @@ declare const DaoVirtualSelect: {
|
|
|
1210
1224
|
type: BooleanConstructor;
|
|
1211
1225
|
default: boolean;
|
|
1212
1226
|
};
|
|
1227
|
+
clearable: {
|
|
1228
|
+
type: BooleanConstructor;
|
|
1229
|
+
default: boolean;
|
|
1230
|
+
};
|
|
1213
1231
|
}>> & {
|
|
1214
1232
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
1215
1233
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
@@ -1640,6 +1658,7 @@ declare const DaoVirtualSelect: {
|
|
|
1640
1658
|
options: OptionType[];
|
|
1641
1659
|
loading: boolean;
|
|
1642
1660
|
status: "default" | "error" | "success" | "validating";
|
|
1661
|
+
clearable: boolean;
|
|
1643
1662
|
placeholder: string;
|
|
1644
1663
|
optionsPlaceholder: string;
|
|
1645
1664
|
searchPlaceholder: string;
|
|
@@ -73,6 +73,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
73
73
|
type: BooleanConstructor;
|
|
74
74
|
default: boolean;
|
|
75
75
|
};
|
|
76
|
+
clearable: {
|
|
77
|
+
type: BooleanConstructor;
|
|
78
|
+
default: boolean;
|
|
79
|
+
};
|
|
76
80
|
}, {
|
|
77
81
|
t: import("vue-i18n").ComposerTranslation<{
|
|
78
82
|
[x: string]: import("@intlify/core-base").LocaleMessage<import("vue-i18n").VueMessageType>;
|
|
@@ -558,6 +562,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
558
562
|
type: BooleanConstructor;
|
|
559
563
|
default: boolean;
|
|
560
564
|
};
|
|
565
|
+
clearable: {
|
|
566
|
+
type: BooleanConstructor;
|
|
567
|
+
default: boolean;
|
|
568
|
+
};
|
|
561
569
|
}>> & {
|
|
562
570
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
563
571
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
@@ -574,6 +582,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
574
582
|
options: OptionType[];
|
|
575
583
|
loading: boolean;
|
|
576
584
|
status: "default" | "error" | "success" | "validating";
|
|
585
|
+
clearable: boolean;
|
|
577
586
|
placeholder: string;
|
|
578
587
|
optionsPlaceholder: string;
|
|
579
588
|
searchPlaceholder: string;
|