@dao-style/core 1.7.1-beta.3 → 1.8.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/button/button.d.ts +20 -1
- package/dist/components/button/button.vue.d.ts +9 -0
- package/dist/components/button/props.d.ts +4 -0
- package/dist/components/ellipsis/ellipsis.d.ts +3 -3
- package/dist/components/ellipsis/ellipsis.vue.d.ts +1 -1
- package/dist/components/select/option.d.ts +3 -0
- package/dist/components/select/option.vue.d.ts +1 -0
- package/dist/components/select/select.d.ts +27 -0
- package/dist/components/select/select.vue.d.ts +9 -0
- package/dist/components/select/types.d.ts +1 -0
- package/dist/dao-style.js +6 -6
- package/dist/dao-style.mjs +3744 -3660
- package/dist/locales/en-US.d.ts +1 -0
- package/dist/locales/zh-CN.d.ts +1 -0
- package/dist/style.css +1 -1
- package/package.json +1 -1
|
@@ -10,6 +10,7 @@ declare const DaoButton: {
|
|
|
10
10
|
useFont: boolean;
|
|
11
11
|
size: "sm" | "md";
|
|
12
12
|
block: boolean;
|
|
13
|
+
active: boolean;
|
|
13
14
|
tooltipContent: string;
|
|
14
15
|
tooltipDisabled: boolean;
|
|
15
16
|
loading: boolean;
|
|
@@ -58,7 +59,11 @@ declare const DaoButton: {
|
|
|
58
59
|
type: BooleanConstructor;
|
|
59
60
|
default: boolean;
|
|
60
61
|
};
|
|
61
|
-
|
|
62
|
+
active: {
|
|
63
|
+
type: BooleanConstructor;
|
|
64
|
+
default: boolean;
|
|
65
|
+
};
|
|
66
|
+
}>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "type" | "disabled" | "useFont" | "size" | "block" | "active" | "tooltipContent" | "tooltipDisabled" | "loading" | "iconLeft" | "iconRight">;
|
|
62
67
|
$attrs: {
|
|
63
68
|
[x: string]: unknown;
|
|
64
69
|
};
|
|
@@ -115,6 +120,10 @@ declare const DaoButton: {
|
|
|
115
120
|
type: BooleanConstructor;
|
|
116
121
|
default: boolean;
|
|
117
122
|
};
|
|
123
|
+
active: {
|
|
124
|
+
type: BooleanConstructor;
|
|
125
|
+
default: boolean;
|
|
126
|
+
};
|
|
118
127
|
}>>, {
|
|
119
128
|
classList: import("vue").ComputedRef<string[]>;
|
|
120
129
|
realDisabled: import("vue").ComputedRef<boolean>;
|
|
@@ -131,6 +140,7 @@ declare const DaoButton: {
|
|
|
131
140
|
useFont: boolean;
|
|
132
141
|
size: "sm" | "md";
|
|
133
142
|
block: boolean;
|
|
143
|
+
active: boolean;
|
|
134
144
|
tooltipContent: string;
|
|
135
145
|
tooltipDisabled: boolean;
|
|
136
146
|
loading: boolean;
|
|
@@ -199,6 +209,10 @@ declare const DaoButton: {
|
|
|
199
209
|
type: BooleanConstructor;
|
|
200
210
|
default: boolean;
|
|
201
211
|
};
|
|
212
|
+
active: {
|
|
213
|
+
type: BooleanConstructor;
|
|
214
|
+
default: boolean;
|
|
215
|
+
};
|
|
202
216
|
}>> & import("vue").ShallowUnwrapRef<{
|
|
203
217
|
classList: import("vue").ComputedRef<string[]>;
|
|
204
218
|
realDisabled: import("vue").ComputedRef<boolean>;
|
|
@@ -256,6 +270,10 @@ declare const DaoButton: {
|
|
|
256
270
|
type: BooleanConstructor;
|
|
257
271
|
default: boolean;
|
|
258
272
|
};
|
|
273
|
+
active: {
|
|
274
|
+
type: BooleanConstructor;
|
|
275
|
+
default: boolean;
|
|
276
|
+
};
|
|
259
277
|
}>>, {
|
|
260
278
|
classList: import("vue").ComputedRef<string[]>;
|
|
261
279
|
realDisabled: import("vue").ComputedRef<boolean>;
|
|
@@ -272,6 +290,7 @@ declare const DaoButton: {
|
|
|
272
290
|
useFont: boolean;
|
|
273
291
|
size: "sm" | "md";
|
|
274
292
|
block: boolean;
|
|
293
|
+
active: boolean;
|
|
275
294
|
tooltipContent: string;
|
|
276
295
|
tooltipDisabled: boolean;
|
|
277
296
|
loading: boolean;
|
|
@@ -41,6 +41,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
41
41
|
type: BooleanConstructor;
|
|
42
42
|
default: boolean;
|
|
43
43
|
};
|
|
44
|
+
active: {
|
|
45
|
+
type: BooleanConstructor;
|
|
46
|
+
default: boolean;
|
|
47
|
+
};
|
|
44
48
|
}, {
|
|
45
49
|
classList: import("vue").ComputedRef<string[]>;
|
|
46
50
|
realDisabled: import("vue").ComputedRef<boolean>;
|
|
@@ -94,12 +98,17 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
94
98
|
type: BooleanConstructor;
|
|
95
99
|
default: boolean;
|
|
96
100
|
};
|
|
101
|
+
active: {
|
|
102
|
+
type: BooleanConstructor;
|
|
103
|
+
default: boolean;
|
|
104
|
+
};
|
|
97
105
|
}>>, {
|
|
98
106
|
type: import("./props").ButtonType;
|
|
99
107
|
disabled: boolean;
|
|
100
108
|
useFont: boolean;
|
|
101
109
|
size: "sm" | "md";
|
|
102
110
|
block: boolean;
|
|
111
|
+
active: boolean;
|
|
103
112
|
tooltipContent: string;
|
|
104
113
|
tooltipDisabled: boolean;
|
|
105
114
|
loading: boolean;
|
|
@@ -1435,8 +1435,8 @@ declare const DaoEllipsis: {
|
|
|
1435
1435
|
popperOptions: Partial<import("@popperjs/core").OptionsGeneric<import("..").DaoModifiers>>;
|
|
1436
1436
|
transition: string;
|
|
1437
1437
|
}, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("../popper/popper").DaoPopperLike>;
|
|
1438
|
-
mainContentText: import("vue").ComputedRef<any>;
|
|
1439
1438
|
mainContentRef: import("vue").Ref<any>;
|
|
1439
|
+
getMainContentText: () => any;
|
|
1440
1440
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
|
|
1441
1441
|
type: "tooltip" | "popover";
|
|
1442
1442
|
disabled: boolean;
|
|
@@ -2828,8 +2828,8 @@ declare const DaoEllipsis: {
|
|
|
2828
2828
|
popperOptions: Partial<import("@popperjs/core").OptionsGeneric<import("..").DaoModifiers>>;
|
|
2829
2829
|
transition: string;
|
|
2830
2830
|
}, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("../popper/popper").DaoPopperLike>;
|
|
2831
|
-
mainContentText: import("vue").ComputedRef<any>;
|
|
2832
2831
|
mainContentRef: import("vue").Ref<any>;
|
|
2832
|
+
getMainContentText: () => any;
|
|
2833
2833
|
}> & {} & import("vue").ComponentCustomProperties & {};
|
|
2834
2834
|
__isFragment?: undefined;
|
|
2835
2835
|
__isTeleport?: undefined;
|
|
@@ -4193,8 +4193,8 @@ declare const DaoEllipsis: {
|
|
|
4193
4193
|
popperOptions: Partial<import("@popperjs/core").OptionsGeneric<import("..").DaoModifiers>>;
|
|
4194
4194
|
transition: string;
|
|
4195
4195
|
}, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("../popper/popper").DaoPopperLike>;
|
|
4196
|
-
mainContentText: import("vue").ComputedRef<any>;
|
|
4197
4196
|
mainContentRef: import("vue").Ref<any>;
|
|
4197
|
+
getMainContentText: () => any;
|
|
4198
4198
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
|
|
4199
4199
|
type: "tooltip" | "popover";
|
|
4200
4200
|
disabled: boolean;
|
|
@@ -1357,8 +1357,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1357
1357
|
popperOptions: Partial<import("@popperjs/core").OptionsGeneric<import("..").DaoModifiers>>;
|
|
1358
1358
|
transition: string;
|
|
1359
1359
|
}, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("../popper/popper").DaoPopperLike>;
|
|
1360
|
-
mainContentText: import("vue").ComputedRef<any>;
|
|
1361
1360
|
mainContentRef: import("vue").Ref<any>;
|
|
1361
|
+
getMainContentText: () => any;
|
|
1362
1362
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
1363
1363
|
type: {
|
|
1364
1364
|
type: import("vue").PropType<"tooltip" | "popover">;
|
|
@@ -53,6 +53,7 @@ declare const DaoOption: {
|
|
|
53
53
|
labelValue: import("vue").ComputedRef<string | number | boolean | undefined>;
|
|
54
54
|
isSelected: import("vue").ComputedRef<boolean>;
|
|
55
55
|
isFocus: import("vue").ComputedRef<boolean>;
|
|
56
|
+
multiple: import("vue").ComputedRef<boolean>;
|
|
56
57
|
onClick: () => void;
|
|
57
58
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
|
|
58
59
|
label: string | number;
|
|
@@ -96,6 +97,7 @@ declare const DaoOption: {
|
|
|
96
97
|
labelValue: import("vue").ComputedRef<string | number | boolean | undefined>;
|
|
97
98
|
isSelected: import("vue").ComputedRef<boolean>;
|
|
98
99
|
isFocus: import("vue").ComputedRef<boolean>;
|
|
100
|
+
multiple: import("vue").ComputedRef<boolean>;
|
|
99
101
|
onClick: () => void;
|
|
100
102
|
}> & {} & import("vue").ComponentCustomProperties & {};
|
|
101
103
|
__isFragment?: undefined;
|
|
@@ -120,6 +122,7 @@ declare const DaoOption: {
|
|
|
120
122
|
labelValue: import("vue").ComputedRef<string | number | boolean | undefined>;
|
|
121
123
|
isSelected: import("vue").ComputedRef<boolean>;
|
|
122
124
|
isFocus: import("vue").ComputedRef<boolean>;
|
|
125
|
+
multiple: import("vue").ComputedRef<boolean>;
|
|
123
126
|
onClick: () => void;
|
|
124
127
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
|
|
125
128
|
label: string | number;
|
|
@@ -18,6 +18,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
18
18
|
labelValue: import("vue").ComputedRef<string | number | boolean | undefined>;
|
|
19
19
|
isSelected: import("vue").ComputedRef<boolean>;
|
|
20
20
|
isFocus: import("vue").ComputedRef<boolean>;
|
|
21
|
+
multiple: import("vue").ComputedRef<boolean>;
|
|
21
22
|
onClick: () => void;
|
|
22
23
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
23
24
|
value: {
|
|
@@ -545,17 +545,25 @@ declare const DaoSelect: {
|
|
|
545
545
|
searchText: string;
|
|
546
546
|
visible: boolean;
|
|
547
547
|
optionFocusIndex: number;
|
|
548
|
+
multiple: boolean;
|
|
548
549
|
};
|
|
549
550
|
selectClass: import("vue").ComputedRef<string[]>;
|
|
550
551
|
popperClass: import("vue").ComputedRef<string>;
|
|
551
552
|
popperOffset: import("vue").ComputedRef<3 | 5>;
|
|
552
553
|
isSelected: import("vue").ComputedRef<boolean>;
|
|
553
554
|
isNoResult: import("vue").ComputedRef<boolean>;
|
|
555
|
+
showSelectAll: import("vue").ComputedRef<boolean>;
|
|
556
|
+
optionsAllDisabled: import("vue").ComputedRef<boolean>;
|
|
554
557
|
popperOptions: import("vue").ComputedRef<Partial<import("@popperjs/core").Options>>;
|
|
555
558
|
textContent: import("vue").ComputedRef<{
|
|
556
559
|
optionsPlaceholder: string;
|
|
557
560
|
searchPlaceholder: string;
|
|
558
561
|
}>;
|
|
562
|
+
checkedStatus: {
|
|
563
|
+
checked: boolean;
|
|
564
|
+
indeterminate: boolean;
|
|
565
|
+
checkableList: Set<DaoSelectOption>;
|
|
566
|
+
};
|
|
559
567
|
onSelect: (option: DaoSelectOption) => void;
|
|
560
568
|
onSearchTextChange: () => void;
|
|
561
569
|
onSearchClear: () => void;
|
|
@@ -573,6 +581,7 @@ declare const DaoSelect: {
|
|
|
573
581
|
start(): void;
|
|
574
582
|
end(): void;
|
|
575
583
|
};
|
|
584
|
+
handleCheckAll: (checked: boolean) => void;
|
|
576
585
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("open" | "close" | "change" | "update:modelValue" | "search-change")[], string, {
|
|
577
586
|
search: boolean | import("./types").DaoSelectSearchFn;
|
|
578
587
|
modelValue: string | number | boolean | unknown[];
|
|
@@ -1062,17 +1071,25 @@ declare const DaoSelect: {
|
|
|
1062
1071
|
searchText: string;
|
|
1063
1072
|
visible: boolean;
|
|
1064
1073
|
optionFocusIndex: number;
|
|
1074
|
+
multiple: boolean;
|
|
1065
1075
|
};
|
|
1066
1076
|
selectClass: import("vue").ComputedRef<string[]>;
|
|
1067
1077
|
popperClass: import("vue").ComputedRef<string>;
|
|
1068
1078
|
popperOffset: import("vue").ComputedRef<3 | 5>;
|
|
1069
1079
|
isSelected: import("vue").ComputedRef<boolean>;
|
|
1070
1080
|
isNoResult: import("vue").ComputedRef<boolean>;
|
|
1081
|
+
showSelectAll: import("vue").ComputedRef<boolean>;
|
|
1082
|
+
optionsAllDisabled: import("vue").ComputedRef<boolean>;
|
|
1071
1083
|
popperOptions: import("vue").ComputedRef<Partial<import("@popperjs/core").Options>>;
|
|
1072
1084
|
textContent: import("vue").ComputedRef<{
|
|
1073
1085
|
optionsPlaceholder: string;
|
|
1074
1086
|
searchPlaceholder: string;
|
|
1075
1087
|
}>;
|
|
1088
|
+
checkedStatus: {
|
|
1089
|
+
checked: boolean;
|
|
1090
|
+
indeterminate: boolean;
|
|
1091
|
+
checkableList: Set<DaoSelectOption>;
|
|
1092
|
+
};
|
|
1076
1093
|
onSelect: (option: DaoSelectOption) => void;
|
|
1077
1094
|
onSearchTextChange: () => void;
|
|
1078
1095
|
onSearchClear: () => void;
|
|
@@ -1090,6 +1107,7 @@ declare const DaoSelect: {
|
|
|
1090
1107
|
start(): void;
|
|
1091
1108
|
end(): void;
|
|
1092
1109
|
};
|
|
1110
|
+
handleCheckAll: (checked: boolean) => void;
|
|
1093
1111
|
}> & {} & import("vue").ComponentCustomProperties & {};
|
|
1094
1112
|
__isFragment?: undefined;
|
|
1095
1113
|
__isTeleport?: undefined;
|
|
@@ -1550,17 +1568,25 @@ declare const DaoSelect: {
|
|
|
1550
1568
|
searchText: string;
|
|
1551
1569
|
visible: boolean;
|
|
1552
1570
|
optionFocusIndex: number;
|
|
1571
|
+
multiple: boolean;
|
|
1553
1572
|
};
|
|
1554
1573
|
selectClass: import("vue").ComputedRef<string[]>;
|
|
1555
1574
|
popperClass: import("vue").ComputedRef<string>;
|
|
1556
1575
|
popperOffset: import("vue").ComputedRef<3 | 5>;
|
|
1557
1576
|
isSelected: import("vue").ComputedRef<boolean>;
|
|
1558
1577
|
isNoResult: import("vue").ComputedRef<boolean>;
|
|
1578
|
+
showSelectAll: import("vue").ComputedRef<boolean>;
|
|
1579
|
+
optionsAllDisabled: import("vue").ComputedRef<boolean>;
|
|
1559
1580
|
popperOptions: import("vue").ComputedRef<Partial<import("@popperjs/core").Options>>;
|
|
1560
1581
|
textContent: import("vue").ComputedRef<{
|
|
1561
1582
|
optionsPlaceholder: string;
|
|
1562
1583
|
searchPlaceholder: string;
|
|
1563
1584
|
}>;
|
|
1585
|
+
checkedStatus: {
|
|
1586
|
+
checked: boolean;
|
|
1587
|
+
indeterminate: boolean;
|
|
1588
|
+
checkableList: Set<DaoSelectOption>;
|
|
1589
|
+
};
|
|
1564
1590
|
onSelect: (option: DaoSelectOption) => void;
|
|
1565
1591
|
onSearchTextChange: () => void;
|
|
1566
1592
|
onSearchClear: () => void;
|
|
@@ -1578,6 +1604,7 @@ declare const DaoSelect: {
|
|
|
1578
1604
|
start(): void;
|
|
1579
1605
|
end(): void;
|
|
1580
1606
|
};
|
|
1607
|
+
handleCheckAll: (checked: boolean) => void;
|
|
1581
1608
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("open" | "close" | "change" | "update:modelValue" | "search-change")[], "open" | "close" | "change" | "update:modelValue" | "search-change", {
|
|
1582
1609
|
search: boolean | import("./types").DaoSelectSearchFn;
|
|
1583
1610
|
modelValue: string | number | boolean | unknown[];
|
|
@@ -450,17 +450,25 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
450
450
|
searchText: string;
|
|
451
451
|
visible: boolean;
|
|
452
452
|
optionFocusIndex: number;
|
|
453
|
+
multiple: boolean;
|
|
453
454
|
};
|
|
454
455
|
selectClass: import("vue").ComputedRef<string[]>;
|
|
455
456
|
popperClass: import("vue").ComputedRef<string>;
|
|
456
457
|
popperOffset: import("vue").ComputedRef<3 | 5>;
|
|
457
458
|
isSelected: import("vue").ComputedRef<boolean>;
|
|
458
459
|
isNoResult: import("vue").ComputedRef<boolean>;
|
|
460
|
+
showSelectAll: import("vue").ComputedRef<boolean>;
|
|
461
|
+
optionsAllDisabled: import("vue").ComputedRef<boolean>;
|
|
459
462
|
popperOptions: import("vue").ComputedRef<Partial<PopperOptions>>;
|
|
460
463
|
textContent: import("vue").ComputedRef<{
|
|
461
464
|
optionsPlaceholder: string;
|
|
462
465
|
searchPlaceholder: string;
|
|
463
466
|
}>;
|
|
467
|
+
checkedStatus: {
|
|
468
|
+
checked: boolean;
|
|
469
|
+
indeterminate: boolean;
|
|
470
|
+
checkableList: Set<DaoSelectOption>;
|
|
471
|
+
};
|
|
464
472
|
onSelect: (option: DaoSelectOption) => void;
|
|
465
473
|
onSearchTextChange: () => void;
|
|
466
474
|
onSearchClear: () => void;
|
|
@@ -478,6 +486,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
478
486
|
start(): void;
|
|
479
487
|
end(): void;
|
|
480
488
|
};
|
|
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
|
modelValue: {
|
|
483
492
|
type: (StringConstructor | BooleanConstructor | ArrayConstructor | NumberConstructor)[];
|