@dao-style/core 1.0.0-beta.4 → 1.0.0-beta.6
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 +11 -11
- package/dist/components/button/button.vue.d.ts +5 -5
- package/dist/components/button/props.d.ts +1 -1
- package/dist/components/dialog/dialog.d.ts +7 -7
- package/dist/components/dialog/dialog.vue.d.ts +3 -3
- package/dist/components/dialog/props.d.ts +1 -1
- package/dist/components/ellipsis/ellipsis.d.ts +77 -77
- package/dist/components/ellipsis/types.d.ts +1 -1
- package/dist/components/form/form-item.d.ts +4 -4
- package/dist/components/form/form-item.vue.d.ts +1 -1
- package/dist/components/popper/popper-props.d.ts +2 -2
- package/dist/components/popper/popper.d.ts +11 -11
- package/dist/components/select/props.d.ts +1 -1
- package/dist/components/select/select.d.ts +33 -33
- package/dist/components/switch/switch-props.d.ts +1 -1
- package/dist/components/switch/switch.vue.d.ts +5 -5
- package/dist/components/text-button/text-button.d.ts +7 -7
- package/dist/components/text-button/text-button.vue.d.ts +3 -3
- package/dist/dao-style.cjs.js +3 -3
- package/dist/dao-style.es.mjs +202 -199
- package/dist/index.d.ts +1 -1
- package/dist/utils/constant.d.ts +9 -0
- package/dist/utils/index.d.ts +2 -0
- package/dist/utils/types.d.ts +0 -9
- package/package.json +1 -1
|
@@ -165,7 +165,7 @@ declare const DaoSelect: {
|
|
|
165
165
|
content: string;
|
|
166
166
|
appendTo: string | false | HTMLElement;
|
|
167
167
|
boundary: import("@popperjs/core").Boundary;
|
|
168
|
-
delay: import("
|
|
168
|
+
delay: import("..").DelayProp;
|
|
169
169
|
width: string | number;
|
|
170
170
|
trigger: "manual" | import("..").PopperTrigger | import("..").PopperTrigger[];
|
|
171
171
|
visibleArrow: boolean;
|
|
@@ -189,8 +189,8 @@ declare const DaoSelect: {
|
|
|
189
189
|
default: string;
|
|
190
190
|
};
|
|
191
191
|
delay: {
|
|
192
|
-
type: import("vue").PropType<import("
|
|
193
|
-
default: () => import("
|
|
192
|
+
type: import("vue").PropType<import("..").DelayProp>;
|
|
193
|
+
default: () => import("..").DelayProp;
|
|
194
194
|
};
|
|
195
195
|
offset: {
|
|
196
196
|
type: (StringConstructor | NumberConstructor)[];
|
|
@@ -267,8 +267,8 @@ declare const DaoSelect: {
|
|
|
267
267
|
default: string;
|
|
268
268
|
};
|
|
269
269
|
delay: {
|
|
270
|
-
type: import("vue").PropType<import("
|
|
271
|
-
default: () => import("
|
|
270
|
+
type: import("vue").PropType<import("..").DelayProp>;
|
|
271
|
+
default: () => import("..").DelayProp;
|
|
272
272
|
};
|
|
273
273
|
offset: {
|
|
274
274
|
type: (StringConstructor | NumberConstructor)[];
|
|
@@ -331,7 +331,7 @@ declare const DaoSelect: {
|
|
|
331
331
|
content: string;
|
|
332
332
|
appendTo: string | false | HTMLElement;
|
|
333
333
|
boundary: import("@popperjs/core").Boundary;
|
|
334
|
-
delay: import("
|
|
334
|
+
delay: import("..").DelayProp;
|
|
335
335
|
width: string | number;
|
|
336
336
|
trigger: "manual" | import("..").PopperTrigger | import("..").PopperTrigger[];
|
|
337
337
|
visibleArrow: boolean;
|
|
@@ -375,8 +375,8 @@ declare const DaoSelect: {
|
|
|
375
375
|
default: string;
|
|
376
376
|
};
|
|
377
377
|
delay: {
|
|
378
|
-
type: import("vue").PropType<import("
|
|
379
|
-
default: () => import("
|
|
378
|
+
type: import("vue").PropType<import("..").DelayProp>;
|
|
379
|
+
default: () => import("..").DelayProp;
|
|
380
380
|
};
|
|
381
381
|
offset: {
|
|
382
382
|
type: (StringConstructor | NumberConstructor)[];
|
|
@@ -452,8 +452,8 @@ declare const DaoSelect: {
|
|
|
452
452
|
default: string;
|
|
453
453
|
};
|
|
454
454
|
delay: {
|
|
455
|
-
type: import("vue").PropType<import("
|
|
456
|
-
default: () => import("
|
|
455
|
+
type: import("vue").PropType<import("..").DelayProp>;
|
|
456
|
+
default: () => import("..").DelayProp;
|
|
457
457
|
};
|
|
458
458
|
offset: {
|
|
459
459
|
type: (StringConstructor | NumberConstructor)[];
|
|
@@ -516,7 +516,7 @@ declare const DaoSelect: {
|
|
|
516
516
|
content: string;
|
|
517
517
|
appendTo: string | false | HTMLElement;
|
|
518
518
|
boundary: import("@popperjs/core").Boundary;
|
|
519
|
-
delay: import("
|
|
519
|
+
delay: import("..").DelayProp;
|
|
520
520
|
width: string | number;
|
|
521
521
|
trigger: "manual" | import("..").PopperTrigger | import("..").PopperTrigger[];
|
|
522
522
|
visibleArrow: boolean;
|
|
@@ -682,7 +682,7 @@ declare const DaoSelect: {
|
|
|
682
682
|
content: string;
|
|
683
683
|
appendTo: string | false | HTMLElement;
|
|
684
684
|
boundary: import("@popperjs/core").Boundary;
|
|
685
|
-
delay: import("
|
|
685
|
+
delay: import("..").DelayProp;
|
|
686
686
|
width: string | number;
|
|
687
687
|
trigger: "manual" | import("..").PopperTrigger | import("..").PopperTrigger[];
|
|
688
688
|
visibleArrow: boolean;
|
|
@@ -706,8 +706,8 @@ declare const DaoSelect: {
|
|
|
706
706
|
default: string;
|
|
707
707
|
};
|
|
708
708
|
delay: {
|
|
709
|
-
type: import("vue").PropType<import("
|
|
710
|
-
default: () => import("
|
|
709
|
+
type: import("vue").PropType<import("..").DelayProp>;
|
|
710
|
+
default: () => import("..").DelayProp;
|
|
711
711
|
};
|
|
712
712
|
offset: {
|
|
713
713
|
type: (StringConstructor | NumberConstructor)[];
|
|
@@ -784,8 +784,8 @@ declare const DaoSelect: {
|
|
|
784
784
|
default: string;
|
|
785
785
|
};
|
|
786
786
|
delay: {
|
|
787
|
-
type: import("vue").PropType<import("
|
|
788
|
-
default: () => import("
|
|
787
|
+
type: import("vue").PropType<import("..").DelayProp>;
|
|
788
|
+
default: () => import("..").DelayProp;
|
|
789
789
|
};
|
|
790
790
|
offset: {
|
|
791
791
|
type: (StringConstructor | NumberConstructor)[];
|
|
@@ -848,7 +848,7 @@ declare const DaoSelect: {
|
|
|
848
848
|
content: string;
|
|
849
849
|
appendTo: string | false | HTMLElement;
|
|
850
850
|
boundary: import("@popperjs/core").Boundary;
|
|
851
|
-
delay: import("
|
|
851
|
+
delay: import("..").DelayProp;
|
|
852
852
|
width: string | number;
|
|
853
853
|
trigger: "manual" | import("..").PopperTrigger | import("..").PopperTrigger[];
|
|
854
854
|
visibleArrow: boolean;
|
|
@@ -892,8 +892,8 @@ declare const DaoSelect: {
|
|
|
892
892
|
default: string;
|
|
893
893
|
};
|
|
894
894
|
delay: {
|
|
895
|
-
type: import("vue").PropType<import("
|
|
896
|
-
default: () => import("
|
|
895
|
+
type: import("vue").PropType<import("..").DelayProp>;
|
|
896
|
+
default: () => import("..").DelayProp;
|
|
897
897
|
};
|
|
898
898
|
offset: {
|
|
899
899
|
type: (StringConstructor | NumberConstructor)[];
|
|
@@ -969,8 +969,8 @@ declare const DaoSelect: {
|
|
|
969
969
|
default: string;
|
|
970
970
|
};
|
|
971
971
|
delay: {
|
|
972
|
-
type: import("vue").PropType<import("
|
|
973
|
-
default: () => import("
|
|
972
|
+
type: import("vue").PropType<import("..").DelayProp>;
|
|
973
|
+
default: () => import("..").DelayProp;
|
|
974
974
|
};
|
|
975
975
|
offset: {
|
|
976
976
|
type: (StringConstructor | NumberConstructor)[];
|
|
@@ -1033,7 +1033,7 @@ declare const DaoSelect: {
|
|
|
1033
1033
|
content: string;
|
|
1034
1034
|
appendTo: string | false | HTMLElement;
|
|
1035
1035
|
boundary: import("@popperjs/core").Boundary;
|
|
1036
|
-
delay: import("
|
|
1036
|
+
delay: import("..").DelayProp;
|
|
1037
1037
|
width: string | number;
|
|
1038
1038
|
trigger: "manual" | import("..").PopperTrigger | import("..").PopperTrigger[];
|
|
1039
1039
|
visibleArrow: boolean;
|
|
@@ -1170,7 +1170,7 @@ declare const DaoSelect: {
|
|
|
1170
1170
|
content: string;
|
|
1171
1171
|
appendTo: string | false | HTMLElement;
|
|
1172
1172
|
boundary: import("@popperjs/core").Boundary;
|
|
1173
|
-
delay: import("
|
|
1173
|
+
delay: import("..").DelayProp;
|
|
1174
1174
|
width: string | number;
|
|
1175
1175
|
trigger: "manual" | import("..").PopperTrigger | import("..").PopperTrigger[];
|
|
1176
1176
|
visibleArrow: boolean;
|
|
@@ -1194,8 +1194,8 @@ declare const DaoSelect: {
|
|
|
1194
1194
|
default: string;
|
|
1195
1195
|
};
|
|
1196
1196
|
delay: {
|
|
1197
|
-
type: import("vue").PropType<import("
|
|
1198
|
-
default: () => import("
|
|
1197
|
+
type: import("vue").PropType<import("..").DelayProp>;
|
|
1198
|
+
default: () => import("..").DelayProp;
|
|
1199
1199
|
};
|
|
1200
1200
|
offset: {
|
|
1201
1201
|
type: (StringConstructor | NumberConstructor)[];
|
|
@@ -1272,8 +1272,8 @@ declare const DaoSelect: {
|
|
|
1272
1272
|
default: string;
|
|
1273
1273
|
};
|
|
1274
1274
|
delay: {
|
|
1275
|
-
type: import("vue").PropType<import("
|
|
1276
|
-
default: () => import("
|
|
1275
|
+
type: import("vue").PropType<import("..").DelayProp>;
|
|
1276
|
+
default: () => import("..").DelayProp;
|
|
1277
1277
|
};
|
|
1278
1278
|
offset: {
|
|
1279
1279
|
type: (StringConstructor | NumberConstructor)[];
|
|
@@ -1336,7 +1336,7 @@ declare const DaoSelect: {
|
|
|
1336
1336
|
content: string;
|
|
1337
1337
|
appendTo: string | false | HTMLElement;
|
|
1338
1338
|
boundary: import("@popperjs/core").Boundary;
|
|
1339
|
-
delay: import("
|
|
1339
|
+
delay: import("..").DelayProp;
|
|
1340
1340
|
width: string | number;
|
|
1341
1341
|
trigger: "manual" | import("..").PopperTrigger | import("..").PopperTrigger[];
|
|
1342
1342
|
visibleArrow: boolean;
|
|
@@ -1380,8 +1380,8 @@ declare const DaoSelect: {
|
|
|
1380
1380
|
default: string;
|
|
1381
1381
|
};
|
|
1382
1382
|
delay: {
|
|
1383
|
-
type: import("vue").PropType<import("
|
|
1384
|
-
default: () => import("
|
|
1383
|
+
type: import("vue").PropType<import("..").DelayProp>;
|
|
1384
|
+
default: () => import("..").DelayProp;
|
|
1385
1385
|
};
|
|
1386
1386
|
offset: {
|
|
1387
1387
|
type: (StringConstructor | NumberConstructor)[];
|
|
@@ -1457,8 +1457,8 @@ declare const DaoSelect: {
|
|
|
1457
1457
|
default: string;
|
|
1458
1458
|
};
|
|
1459
1459
|
delay: {
|
|
1460
|
-
type: import("vue").PropType<import("
|
|
1461
|
-
default: () => import("
|
|
1460
|
+
type: import("vue").PropType<import("..").DelayProp>;
|
|
1461
|
+
default: () => import("..").DelayProp;
|
|
1462
1462
|
};
|
|
1463
1463
|
offset: {
|
|
1464
1464
|
type: (StringConstructor | NumberConstructor)[];
|
|
@@ -1521,7 +1521,7 @@ declare const DaoSelect: {
|
|
|
1521
1521
|
content: string;
|
|
1522
1522
|
appendTo: string | false | HTMLElement;
|
|
1523
1523
|
boundary: import("@popperjs/core").Boundary;
|
|
1524
|
-
delay: import("
|
|
1524
|
+
delay: import("..").DelayProp;
|
|
1525
1525
|
width: string | number;
|
|
1526
1526
|
trigger: "manual" | import("..").PopperTrigger | import("..").PopperTrigger[];
|
|
1527
1527
|
visibleArrow: boolean;
|
|
@@ -12,9 +12,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
12
12
|
default: string;
|
|
13
13
|
};
|
|
14
14
|
size: {
|
|
15
|
-
type: import("vue").PropType<"
|
|
15
|
+
type: import("vue").PropType<"md" | "sm">;
|
|
16
16
|
default: string;
|
|
17
|
-
validator: (val: "
|
|
17
|
+
validator: (val: "md" | "sm") => boolean;
|
|
18
18
|
};
|
|
19
19
|
showText: {
|
|
20
20
|
type: BooleanConstructor;
|
|
@@ -49,9 +49,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
49
49
|
default: string;
|
|
50
50
|
};
|
|
51
51
|
size: {
|
|
52
|
-
type: import("vue").PropType<"
|
|
52
|
+
type: import("vue").PropType<"md" | "sm">;
|
|
53
53
|
default: string;
|
|
54
|
-
validator: (val: "
|
|
54
|
+
validator: (val: "md" | "sm") => boolean;
|
|
55
55
|
};
|
|
56
56
|
showText: {
|
|
57
57
|
type: BooleanConstructor;
|
|
@@ -70,7 +70,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
70
70
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
71
71
|
}, {
|
|
72
72
|
name: string;
|
|
73
|
-
size: "
|
|
73
|
+
size: "md" | "sm";
|
|
74
74
|
disabled: boolean;
|
|
75
75
|
modelValue: boolean;
|
|
76
76
|
showText: boolean;
|
|
@@ -6,7 +6,7 @@ declare const DaoTextButton: {
|
|
|
6
6
|
$props: Partial<{
|
|
7
7
|
tag: import("./props").TagType;
|
|
8
8
|
prop: {
|
|
9
|
-
type?: "
|
|
9
|
+
type?: "link" | "default" | "action" | "custom" | undefined;
|
|
10
10
|
icon?: string | undefined;
|
|
11
11
|
};
|
|
12
12
|
}> & Omit<Readonly<import("vue").ExtractPropTypes<{
|
|
@@ -16,7 +16,7 @@ declare const DaoTextButton: {
|
|
|
16
16
|
};
|
|
17
17
|
prop: {
|
|
18
18
|
type: import("vue").PropType<{
|
|
19
|
-
type?: "
|
|
19
|
+
type?: "link" | "default" | "action" | "custom" | undefined;
|
|
20
20
|
icon?: string | undefined;
|
|
21
21
|
}>;
|
|
22
22
|
default: () => {
|
|
@@ -44,7 +44,7 @@ declare const DaoTextButton: {
|
|
|
44
44
|
};
|
|
45
45
|
prop: {
|
|
46
46
|
type: import("vue").PropType<{
|
|
47
|
-
type?: "
|
|
47
|
+
type?: "link" | "default" | "action" | "custom" | undefined;
|
|
48
48
|
icon?: string | undefined;
|
|
49
49
|
}>;
|
|
50
50
|
default: () => {
|
|
@@ -56,7 +56,7 @@ declare const DaoTextButton: {
|
|
|
56
56
|
}>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
|
|
57
57
|
tag: import("./props").TagType;
|
|
58
58
|
prop: {
|
|
59
|
-
type?: "
|
|
59
|
+
type?: "link" | "default" | "action" | "custom" | undefined;
|
|
60
60
|
icon?: string | undefined;
|
|
61
61
|
};
|
|
62
62
|
}, {}, string> & {
|
|
@@ -86,7 +86,7 @@ declare const DaoTextButton: {
|
|
|
86
86
|
};
|
|
87
87
|
prop: {
|
|
88
88
|
type: import("vue").PropType<{
|
|
89
|
-
type?: "
|
|
89
|
+
type?: "link" | "default" | "action" | "custom" | undefined;
|
|
90
90
|
icon?: string | undefined;
|
|
91
91
|
}>;
|
|
92
92
|
default: () => {
|
|
@@ -106,7 +106,7 @@ declare const DaoTextButton: {
|
|
|
106
106
|
};
|
|
107
107
|
prop: {
|
|
108
108
|
type: import("vue").PropType<{
|
|
109
|
-
type?: "
|
|
109
|
+
type?: "link" | "default" | "action" | "custom" | undefined;
|
|
110
110
|
icon?: string | undefined;
|
|
111
111
|
}>;
|
|
112
112
|
default: () => {
|
|
@@ -118,7 +118,7 @@ declare const DaoTextButton: {
|
|
|
118
118
|
}>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
|
|
119
119
|
tag: import("./props").TagType;
|
|
120
120
|
prop: {
|
|
121
|
-
type?: "
|
|
121
|
+
type?: "link" | "default" | "action" | "custom" | undefined;
|
|
122
122
|
icon?: string | undefined;
|
|
123
123
|
};
|
|
124
124
|
}, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new <Tag extends import("./props").TagType>(props: {
|
|
@@ -6,7 +6,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
6
6
|
};
|
|
7
7
|
prop: {
|
|
8
8
|
type: import("vue").PropType<{
|
|
9
|
-
type?: "
|
|
9
|
+
type?: "link" | "default" | "action" | "custom" | undefined;
|
|
10
10
|
icon?: string | undefined;
|
|
11
11
|
}>;
|
|
12
12
|
default: () => {
|
|
@@ -22,7 +22,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
22
22
|
};
|
|
23
23
|
prop: {
|
|
24
24
|
type: import("vue").PropType<{
|
|
25
|
-
type?: "
|
|
25
|
+
type?: "link" | "default" | "action" | "custom" | undefined;
|
|
26
26
|
icon?: string | undefined;
|
|
27
27
|
}>;
|
|
28
28
|
default: () => {
|
|
@@ -32,7 +32,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
32
32
|
}>>, {
|
|
33
33
|
tag: import("./props").TagType;
|
|
34
34
|
prop: {
|
|
35
|
-
type?: "
|
|
35
|
+
type?: "link" | "default" | "action" | "custom" | undefined;
|
|
36
36
|
icon?: string | undefined;
|
|
37
37
|
};
|
|
38
38
|
}>;
|