@dao-style/core 1.8.1-beta.5 → 1.9.0
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/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 +20 -1
- package/dist/components/select/select.vue.d.ts +9 -0
- package/dist/components/virtual-select/props.d.ts +4 -0
- package/dist/components/virtual-select/virtual-select.d.ts +35 -1
- package/dist/components/virtual-select/virtual-select.vue.d.ts +14 -0
- package/dist/dao-style.js +7 -7
- package/dist/dao-style.mjs +4407 -4327
- package/dist/font/DaoCloudIconFont/DaoCloudIconFont.woff2 +0 -0
- package/dist/style.css +1 -1
- package/package.json +1 -1
|
@@ -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
|
};
|
|
@@ -52,6 +52,10 @@ export declare const selectProps: {
|
|
|
52
52
|
type: BooleanConstructor;
|
|
53
53
|
default: boolean;
|
|
54
54
|
};
|
|
55
|
+
hideSelectAll: {
|
|
56
|
+
type: BooleanConstructor;
|
|
57
|
+
default: boolean;
|
|
58
|
+
};
|
|
55
59
|
};
|
|
56
60
|
export type SelectProps = ExtractPropTypes<typeof selectProps>;
|
|
57
61
|
export declare const optionProps: {
|
|
@@ -18,6 +18,7 @@ declare const DaoSelect: {
|
|
|
18
18
|
optionsPlaceholder: string;
|
|
19
19
|
searchPlaceholder: string;
|
|
20
20
|
menuClass: string;
|
|
21
|
+
hideSelectAll: boolean;
|
|
21
22
|
}> & Omit<Readonly<import("vue").ExtractPropTypes<{
|
|
22
23
|
modelValue: {
|
|
23
24
|
type: (StringConstructor | BooleanConstructor | ArrayConstructor | NumberConstructor)[];
|
|
@@ -69,13 +70,17 @@ declare const DaoSelect: {
|
|
|
69
70
|
type: BooleanConstructor;
|
|
70
71
|
default: boolean;
|
|
71
72
|
};
|
|
73
|
+
hideSelectAll: {
|
|
74
|
+
type: BooleanConstructor;
|
|
75
|
+
default: boolean;
|
|
76
|
+
};
|
|
72
77
|
}>> & {
|
|
73
78
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
74
79
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
75
80
|
onOpen?: ((...args: any[]) => any) | undefined;
|
|
76
81
|
onClose?: ((...args: any[]) => any) | undefined;
|
|
77
82
|
"onSearch-change"?: ((...args: any[]) => any) | undefined;
|
|
78
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "search" | "modelValue" | "disabled" | "appendTo" | "size" | "multiple" | "loading" | "status" | "placeholder" | "optionsPlaceholder" | "searchPlaceholder" | "menuClass">;
|
|
83
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "search" | "modelValue" | "disabled" | "appendTo" | "size" | "multiple" | "loading" | "status" | "placeholder" | "optionsPlaceholder" | "searchPlaceholder" | "menuClass" | "hideSelectAll">;
|
|
79
84
|
$attrs: {
|
|
80
85
|
[x: string]: unknown;
|
|
81
86
|
};
|
|
@@ -140,6 +145,10 @@ declare const DaoSelect: {
|
|
|
140
145
|
type: BooleanConstructor;
|
|
141
146
|
default: boolean;
|
|
142
147
|
};
|
|
148
|
+
hideSelectAll: {
|
|
149
|
+
type: BooleanConstructor;
|
|
150
|
+
default: boolean;
|
|
151
|
+
};
|
|
143
152
|
}>> & {
|
|
144
153
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
145
154
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
@@ -595,6 +604,7 @@ declare const DaoSelect: {
|
|
|
595
604
|
optionsPlaceholder: string;
|
|
596
605
|
searchPlaceholder: string;
|
|
597
606
|
menuClass: string;
|
|
607
|
+
hideSelectAll: boolean;
|
|
598
608
|
}, {}, string> & {
|
|
599
609
|
beforeCreate?: ((() => void) | (() => void)[]) | undefined;
|
|
600
610
|
created?: ((() => void) | (() => void)[]) | undefined;
|
|
@@ -666,6 +676,10 @@ declare const DaoSelect: {
|
|
|
666
676
|
type: BooleanConstructor;
|
|
667
677
|
default: boolean;
|
|
668
678
|
};
|
|
679
|
+
hideSelectAll: {
|
|
680
|
+
type: BooleanConstructor;
|
|
681
|
+
default: boolean;
|
|
682
|
+
};
|
|
669
683
|
}>> & {
|
|
670
684
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
671
685
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
@@ -1163,6 +1177,10 @@ declare const DaoSelect: {
|
|
|
1163
1177
|
type: BooleanConstructor;
|
|
1164
1178
|
default: boolean;
|
|
1165
1179
|
};
|
|
1180
|
+
hideSelectAll: {
|
|
1181
|
+
type: BooleanConstructor;
|
|
1182
|
+
default: boolean;
|
|
1183
|
+
};
|
|
1166
1184
|
}>> & {
|
|
1167
1185
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
1168
1186
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
@@ -1618,6 +1636,7 @@ declare const DaoSelect: {
|
|
|
1618
1636
|
optionsPlaceholder: string;
|
|
1619
1637
|
searchPlaceholder: string;
|
|
1620
1638
|
menuClass: string;
|
|
1639
|
+
hideSelectAll: boolean;
|
|
1621
1640
|
}, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new <T_1 extends boolean>({ multiple: T, }: {
|
|
1622
1641
|
multiple: any;
|
|
1623
1642
|
}) => {
|
|
@@ -51,6 +51,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
51
51
|
type: BooleanConstructor;
|
|
52
52
|
default: boolean;
|
|
53
53
|
};
|
|
54
|
+
hideSelectAll: {
|
|
55
|
+
type: BooleanConstructor;
|
|
56
|
+
default: boolean;
|
|
57
|
+
};
|
|
54
58
|
}, {
|
|
55
59
|
t: import("vue-i18n").ComposerTranslation<{
|
|
56
60
|
[x: string]: import("@intlify/core-base").LocaleMessage<import("vue-i18n").VueMessageType>;
|
|
@@ -538,6 +542,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
538
542
|
type: BooleanConstructor;
|
|
539
543
|
default: boolean;
|
|
540
544
|
};
|
|
545
|
+
hideSelectAll: {
|
|
546
|
+
type: BooleanConstructor;
|
|
547
|
+
default: boolean;
|
|
548
|
+
};
|
|
541
549
|
}>> & {
|
|
542
550
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
543
551
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
@@ -557,5 +565,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
557
565
|
optionsPlaceholder: string;
|
|
558
566
|
searchPlaceholder: string;
|
|
559
567
|
menuClass: string;
|
|
568
|
+
hideSelectAll: boolean;
|
|
560
569
|
}>;
|
|
561
570
|
export default _default;
|
|
@@ -68,6 +68,10 @@ export declare const virtualSelectProps: {
|
|
|
68
68
|
type: BooleanConstructor;
|
|
69
69
|
default: boolean;
|
|
70
70
|
};
|
|
71
|
+
hideSelectAll: {
|
|
72
|
+
type: BooleanConstructor;
|
|
73
|
+
default: boolean;
|
|
74
|
+
};
|
|
71
75
|
};
|
|
72
76
|
export type virtualSelectProps = ExtractPropTypes<typeof virtualSelectProps>;
|
|
73
77
|
export declare const virtualOptionProps: {
|
|
@@ -20,6 +20,7 @@ declare const DaoVirtualSelect: {
|
|
|
20
20
|
optionsPlaceholder: string;
|
|
21
21
|
searchPlaceholder: string;
|
|
22
22
|
menuClass: string;
|
|
23
|
+
hideSelectAll: boolean;
|
|
23
24
|
valueKey: string;
|
|
24
25
|
labelKey: string;
|
|
25
26
|
itemHeight: number;
|
|
@@ -90,13 +91,17 @@ declare const DaoVirtualSelect: {
|
|
|
90
91
|
type: BooleanConstructor;
|
|
91
92
|
default: boolean;
|
|
92
93
|
};
|
|
94
|
+
hideSelectAll: {
|
|
95
|
+
type: BooleanConstructor;
|
|
96
|
+
default: boolean;
|
|
97
|
+
};
|
|
93
98
|
}>> & {
|
|
94
99
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
95
100
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
96
101
|
onOpen?: ((...args: any[]) => any) | undefined;
|
|
97
102
|
onClose?: ((...args: any[]) => any) | undefined;
|
|
98
103
|
"onSearch-change"?: ((...args: any[]) => any) | undefined;
|
|
99
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "search" | "modelValue" | "disabled" | "appendTo" | "size" | "multiple" | "options" | "loading" | "status" | "placeholder" | "optionsPlaceholder" | "searchPlaceholder" | "menuClass" | "valueKey" | "labelKey" | "itemHeight">;
|
|
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">;
|
|
100
105
|
$attrs: {
|
|
101
106
|
[x: string]: unknown;
|
|
102
107
|
};
|
|
@@ -177,6 +182,10 @@ declare const DaoVirtualSelect: {
|
|
|
177
182
|
type: BooleanConstructor;
|
|
178
183
|
default: boolean;
|
|
179
184
|
};
|
|
185
|
+
hideSelectAll: {
|
|
186
|
+
type: BooleanConstructor;
|
|
187
|
+
default: boolean;
|
|
188
|
+
};
|
|
180
189
|
}>> & {
|
|
181
190
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
182
191
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
@@ -572,6 +581,7 @@ declare const DaoVirtualSelect: {
|
|
|
572
581
|
popperOffset: import("vue").ComputedRef<3 | 5>;
|
|
573
582
|
isSelected: import("vue").ComputedRef<boolean>;
|
|
574
583
|
isNoResult: import("vue").ComputedRef<boolean>;
|
|
584
|
+
showSelectAll: import("vue").ComputedRef<boolean>;
|
|
575
585
|
popperOptions: import("vue").ComputedRef<Partial<import("@popperjs/core").Options>>;
|
|
576
586
|
textContent: import("vue").ComputedRef<{
|
|
577
587
|
optionsPlaceholder: string;
|
|
@@ -581,6 +591,9 @@ declare const DaoVirtualSelect: {
|
|
|
581
591
|
selectedOptions: import("vue").ComputedRef<OptionType[]>;
|
|
582
592
|
isActive: (item: OptionType) => boolean;
|
|
583
593
|
computedOptions: import("vue").ComputedRef<OptionType[]>;
|
|
594
|
+
selectableOptions: import("vue").ComputedRef<OptionType[]>;
|
|
595
|
+
isCheckedAllChecked: import("vue").ComputedRef<boolean>;
|
|
596
|
+
isCheckedAllIndeterminate: import("vue").ComputedRef<boolean>;
|
|
584
597
|
onSearchTextChange: () => void;
|
|
585
598
|
getOptionLabel: (option: OptionType) => OptionValue | {
|
|
586
599
|
[key: string]: OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | any)[])[])[])[])[])[])[])[])[])[])[];
|
|
@@ -592,6 +605,7 @@ declare const DaoVirtualSelect: {
|
|
|
592
605
|
[key: string]: OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | any)[])[])[])[])[])[])[])[])[])[])[];
|
|
593
606
|
} | (OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | any)[])[])[])[])[])[])[])[])[])[])[];
|
|
594
607
|
onSelect: (option: OptionType) => void;
|
|
608
|
+
handleCheckAll: (checked: boolean) => void;
|
|
595
609
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("open" | "close" | "change" | "update:modelValue" | "search-change")[], string, {
|
|
596
610
|
search: boolean | import("./types").DaoVirtualSelectSearchFn;
|
|
597
611
|
modelValue: string | number | boolean | unknown[];
|
|
@@ -606,6 +620,7 @@ declare const DaoVirtualSelect: {
|
|
|
606
620
|
optionsPlaceholder: string;
|
|
607
621
|
searchPlaceholder: string;
|
|
608
622
|
menuClass: string;
|
|
623
|
+
hideSelectAll: boolean;
|
|
609
624
|
valueKey: string;
|
|
610
625
|
labelKey: string;
|
|
611
626
|
itemHeight: number;
|
|
@@ -696,6 +711,10 @@ declare const DaoVirtualSelect: {
|
|
|
696
711
|
type: BooleanConstructor;
|
|
697
712
|
default: boolean;
|
|
698
713
|
};
|
|
714
|
+
hideSelectAll: {
|
|
715
|
+
type: BooleanConstructor;
|
|
716
|
+
default: boolean;
|
|
717
|
+
};
|
|
699
718
|
}>> & {
|
|
700
719
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
701
720
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
@@ -1091,6 +1110,7 @@ declare const DaoVirtualSelect: {
|
|
|
1091
1110
|
popperOffset: import("vue").ComputedRef<3 | 5>;
|
|
1092
1111
|
isSelected: import("vue").ComputedRef<boolean>;
|
|
1093
1112
|
isNoResult: import("vue").ComputedRef<boolean>;
|
|
1113
|
+
showSelectAll: import("vue").ComputedRef<boolean>;
|
|
1094
1114
|
popperOptions: import("vue").ComputedRef<Partial<import("@popperjs/core").Options>>;
|
|
1095
1115
|
textContent: import("vue").ComputedRef<{
|
|
1096
1116
|
optionsPlaceholder: string;
|
|
@@ -1100,6 +1120,9 @@ declare const DaoVirtualSelect: {
|
|
|
1100
1120
|
selectedOptions: import("vue").ComputedRef<OptionType[]>;
|
|
1101
1121
|
isActive: (item: OptionType) => boolean;
|
|
1102
1122
|
computedOptions: import("vue").ComputedRef<OptionType[]>;
|
|
1123
|
+
selectableOptions: import("vue").ComputedRef<OptionType[]>;
|
|
1124
|
+
isCheckedAllChecked: import("vue").ComputedRef<boolean>;
|
|
1125
|
+
isCheckedAllIndeterminate: import("vue").ComputedRef<boolean>;
|
|
1103
1126
|
onSearchTextChange: () => void;
|
|
1104
1127
|
getOptionLabel: (option: OptionType) => OptionValue | {
|
|
1105
1128
|
[key: string]: OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | any)[])[])[])[])[])[])[])[])[])[])[];
|
|
@@ -1111,6 +1134,7 @@ declare const DaoVirtualSelect: {
|
|
|
1111
1134
|
[key: string]: OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | any)[])[])[])[])[])[])[])[])[])[])[];
|
|
1112
1135
|
} | (OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | any)[])[])[])[])[])[])[])[])[])[])[];
|
|
1113
1136
|
onSelect: (option: OptionType) => void;
|
|
1137
|
+
handleCheckAll: (checked: boolean) => void;
|
|
1114
1138
|
}> & {} & import("vue").ComponentCustomProperties & {};
|
|
1115
1139
|
__isFragment?: undefined;
|
|
1116
1140
|
__isTeleport?: undefined;
|
|
@@ -1182,6 +1206,10 @@ declare const DaoVirtualSelect: {
|
|
|
1182
1206
|
type: BooleanConstructor;
|
|
1183
1207
|
default: boolean;
|
|
1184
1208
|
};
|
|
1209
|
+
hideSelectAll: {
|
|
1210
|
+
type: BooleanConstructor;
|
|
1211
|
+
default: boolean;
|
|
1212
|
+
};
|
|
1185
1213
|
}>> & {
|
|
1186
1214
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
1187
1215
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
@@ -1577,6 +1605,7 @@ declare const DaoVirtualSelect: {
|
|
|
1577
1605
|
popperOffset: import("vue").ComputedRef<3 | 5>;
|
|
1578
1606
|
isSelected: import("vue").ComputedRef<boolean>;
|
|
1579
1607
|
isNoResult: import("vue").ComputedRef<boolean>;
|
|
1608
|
+
showSelectAll: import("vue").ComputedRef<boolean>;
|
|
1580
1609
|
popperOptions: import("vue").ComputedRef<Partial<import("@popperjs/core").Options>>;
|
|
1581
1610
|
textContent: import("vue").ComputedRef<{
|
|
1582
1611
|
optionsPlaceholder: string;
|
|
@@ -1586,6 +1615,9 @@ declare const DaoVirtualSelect: {
|
|
|
1586
1615
|
selectedOptions: import("vue").ComputedRef<OptionType[]>;
|
|
1587
1616
|
isActive: (item: OptionType) => boolean;
|
|
1588
1617
|
computedOptions: import("vue").ComputedRef<OptionType[]>;
|
|
1618
|
+
selectableOptions: import("vue").ComputedRef<OptionType[]>;
|
|
1619
|
+
isCheckedAllChecked: import("vue").ComputedRef<boolean>;
|
|
1620
|
+
isCheckedAllIndeterminate: import("vue").ComputedRef<boolean>;
|
|
1589
1621
|
onSearchTextChange: () => void;
|
|
1590
1622
|
getOptionLabel: (option: OptionType) => OptionValue | {
|
|
1591
1623
|
[key: string]: OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | any)[])[])[])[])[])[])[])[])[])[])[];
|
|
@@ -1597,6 +1629,7 @@ declare const DaoVirtualSelect: {
|
|
|
1597
1629
|
[key: string]: OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | any)[])[])[])[])[])[])[])[])[])[])[];
|
|
1598
1630
|
} | (OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | any)[])[])[])[])[])[])[])[])[])[])[];
|
|
1599
1631
|
onSelect: (option: OptionType) => void;
|
|
1632
|
+
handleCheckAll: (checked: boolean) => void;
|
|
1600
1633
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("open" | "close" | "change" | "update:modelValue" | "search-change")[], "open" | "close" | "change" | "update:modelValue" | "search-change", {
|
|
1601
1634
|
search: boolean | import("./types").DaoVirtualSelectSearchFn;
|
|
1602
1635
|
modelValue: string | number | boolean | unknown[];
|
|
@@ -1611,6 +1644,7 @@ declare const DaoVirtualSelect: {
|
|
|
1611
1644
|
optionsPlaceholder: string;
|
|
1612
1645
|
searchPlaceholder: string;
|
|
1613
1646
|
menuClass: string;
|
|
1647
|
+
hideSelectAll: boolean;
|
|
1614
1648
|
valueKey: string;
|
|
1615
1649
|
labelKey: string;
|
|
1616
1650
|
itemHeight: number;
|
|
@@ -69,6 +69,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
69
69
|
type: BooleanConstructor;
|
|
70
70
|
default: boolean;
|
|
71
71
|
};
|
|
72
|
+
hideSelectAll: {
|
|
73
|
+
type: BooleanConstructor;
|
|
74
|
+
default: boolean;
|
|
75
|
+
};
|
|
72
76
|
}, {
|
|
73
77
|
t: import("vue-i18n").ComposerTranslation<{
|
|
74
78
|
[x: string]: import("@intlify/core-base").LocaleMessage<import("vue-i18n").VueMessageType>;
|
|
@@ -458,6 +462,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
458
462
|
popperOffset: import("vue").ComputedRef<3 | 5>;
|
|
459
463
|
isSelected: import("vue").ComputedRef<boolean>;
|
|
460
464
|
isNoResult: import("vue").ComputedRef<boolean>;
|
|
465
|
+
showSelectAll: import("vue").ComputedRef<boolean>;
|
|
461
466
|
popperOptions: import("vue").ComputedRef<Partial<PopperOptions>>;
|
|
462
467
|
textContent: import("vue").ComputedRef<{
|
|
463
468
|
optionsPlaceholder: string;
|
|
@@ -467,6 +472,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
467
472
|
selectedOptions: import("vue").ComputedRef<OptionType[]>;
|
|
468
473
|
isActive: (item: OptionType) => boolean;
|
|
469
474
|
computedOptions: import("vue").ComputedRef<OptionType[]>;
|
|
475
|
+
selectableOptions: import("vue").ComputedRef<OptionType[]>;
|
|
476
|
+
isCheckedAllChecked: import("vue").ComputedRef<boolean>;
|
|
477
|
+
isCheckedAllIndeterminate: import("vue").ComputedRef<boolean>;
|
|
470
478
|
onSearchTextChange: () => void;
|
|
471
479
|
getOptionLabel: (option: OptionType) => OptionValue | {
|
|
472
480
|
[key: string]: OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | any)[])[])[])[])[])[])[])[])[])[])[];
|
|
@@ -478,6 +486,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
478
486
|
[key: string]: OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | any)[])[])[])[])[])[])[])[])[])[])[];
|
|
479
487
|
} | (OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | any)[])[])[])[])[])[])[])[])[])[])[];
|
|
480
488
|
onSelect: (option: OptionType) => void;
|
|
489
|
+
handleCheckAll: (checked: boolean) => void;
|
|
481
490
|
}, 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<{
|
|
482
491
|
search: {
|
|
483
492
|
type: import("vue").PropType<boolean | import("./types").DaoVirtualSelectSearchFn>;
|
|
@@ -545,6 +554,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
545
554
|
type: BooleanConstructor;
|
|
546
555
|
default: boolean;
|
|
547
556
|
};
|
|
557
|
+
hideSelectAll: {
|
|
558
|
+
type: BooleanConstructor;
|
|
559
|
+
default: boolean;
|
|
560
|
+
};
|
|
548
561
|
}>> & {
|
|
549
562
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
550
563
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
@@ -565,6 +578,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
565
578
|
optionsPlaceholder: string;
|
|
566
579
|
searchPlaceholder: string;
|
|
567
580
|
menuClass: string;
|
|
581
|
+
hideSelectAll: boolean;
|
|
568
582
|
valueKey: string;
|
|
569
583
|
labelKey: string;
|
|
570
584
|
itemHeight: number;
|