@dao-style/core 1.5.0 → 1.5.1-beta.10
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 +27 -7
- package/dist/components/action-icon/action-icon.vue.d.ts +11 -2
- package/dist/components/action-icon/props.d.ts +4 -2
- package/dist/components/autocomplete/autocomplete.d.ts +7 -7
- package/dist/components/autocomplete/autocomplete.vue.d.ts +2 -2
- 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/checkbox/checkbox-group.d.ts +3 -3
- package/dist/components/checkbox/checkbox-group.vue.d.ts +1 -1
- package/dist/components/checkbox/checkbox.d.ts +3 -3
- package/dist/components/checkbox/checkbox.vue.d.ts +1 -1
- package/dist/components/dialog/dialog.d.ts +29 -10
- package/dist/components/dialog/dialog.vue.d.ts +12 -3
- package/dist/components/dialog/props.d.ts +4 -0
- package/dist/components/ellipsis/ellipsis.d.ts +78 -78
- package/dist/components/ellipsis/ellipsis.vue.d.ts +26 -26
- package/dist/components/expansion/expansion.d.ts +3 -3
- package/dist/components/expansion/expansion.vue.d.ts +1 -1
- package/dist/components/input/input.d.ts +3 -3
- package/dist/components/input/input.vue.d.ts +1 -1
- package/dist/components/plugin.d.ts +2 -1
- package/dist/components/popover/popover.d.ts +13 -13
- package/dist/components/popover/popover.vue.d.ts +4 -4
- package/dist/components/popper/index.d.ts +1 -0
- package/dist/components/popper/popper.d.ts +13 -13
- package/dist/components/popper/popper.vue.d.ts +14 -16
- package/dist/components/popper/use-popper.d.ts +13 -0
- package/dist/components/radio/radio-group.d.ts +3 -3
- package/dist/components/radio/radio-group.vue.d.ts +1 -1
- package/dist/components/radio/radio.d.ts +3 -3
- package/dist/components/radio/radio.vue.d.ts +1 -1
- package/dist/components/select/select.d.ts +42 -42
- package/dist/components/select/select.vue.d.ts +14 -14
- package/dist/components/switch/switch.vue.d.ts +1 -1
- package/dist/components/table/table-props.d.ts +4 -0
- package/dist/components/table/table.d.ts +20 -1
- package/dist/components/table/table.vue.d.ts +9 -0
- package/dist/components/tabs/tabs.d.ts +3 -3
- package/dist/components/tabs/tabs.vue.d.ts +1 -1
- package/dist/components/tooltip/tooltip.d.ts +13 -13
- package/dist/components/tooltip/tooltip.vue.d.ts +4 -4
- package/dist/components/transfer/transfer.d.ts +3 -3
- package/dist/components/transfer/transfer.vue.d.ts +1 -1
- package/dist/dao-style.js +6 -6
- package/dist/dao-style.mjs +5018 -4800
- package/dist/directives/index.d.ts +1 -0
- package/dist/directives/plugin.d.ts +3 -0
- package/dist/directives/tooltip/directive.d.ts +3 -0
- package/dist/directives/tooltip/index.d.ts +4 -0
- package/dist/directives/tooltip/wrapper.d.ts +15 -0
- package/dist/index.d.ts +1 -0
- package/dist/style.css +1 -1
- package/dist/styles/color/alias.js +61 -0
- package/dist/styles/color/preset.js +15 -0
- package/dist/styles/color/var.js +118 -0
- package/package.json +1 -1
- package/scripts/transform-variable.mjs +36 -0
- package/volar.d.ts +2 -0
|
@@ -44,7 +44,7 @@ declare const DaoTabs: {
|
|
|
44
44
|
}>;
|
|
45
45
|
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null;
|
|
46
46
|
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null;
|
|
47
|
-
$emit: (event: "click" | "
|
|
47
|
+
$emit: (event: "click" | "change" | "update:modelValue", ...args: any[]) => void;
|
|
48
48
|
$el: any;
|
|
49
49
|
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
50
50
|
type: {
|
|
@@ -80,7 +80,7 @@ declare const DaoTabs: {
|
|
|
80
80
|
tabBody: import("vue").Ref<HTMLElement | undefined>;
|
|
81
81
|
onClick: (e: MouseEvent, tabValue: string) => void;
|
|
82
82
|
updateValue: (tabValue: string) => void;
|
|
83
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("click" | "
|
|
83
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("click" | "change" | "update:modelValue")[], string, {
|
|
84
84
|
type: string;
|
|
85
85
|
direction: string;
|
|
86
86
|
modelValue: string;
|
|
@@ -177,7 +177,7 @@ declare const DaoTabs: {
|
|
|
177
177
|
tabBody: import("vue").Ref<HTMLElement | undefined>;
|
|
178
178
|
onClick: (e: MouseEvent, tabValue: string) => void;
|
|
179
179
|
updateValue: (tabValue: string) => void;
|
|
180
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("click" | "
|
|
180
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("click" | "change" | "update:modelValue")[], "click" | "change" | "update:modelValue", {
|
|
181
181
|
type: string;
|
|
182
182
|
direction: string;
|
|
183
183
|
modelValue: string;
|
|
@@ -28,7 +28,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
28
28
|
tabBody: import("vue").Ref<HTMLElement | undefined>;
|
|
29
29
|
onClick: (e: MouseEvent, tabValue: string) => void;
|
|
30
30
|
updateValue: (tabValue: string) => void;
|
|
31
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("click" | "
|
|
31
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("click" | "change" | "update:modelValue")[], "click" | "change" | "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
32
32
|
type: {
|
|
33
33
|
type: StringConstructor;
|
|
34
34
|
default: string;
|
|
@@ -79,9 +79,9 @@ declare const _default: {
|
|
|
79
79
|
}>> & {
|
|
80
80
|
onHide?: ((...args: any[]) => any) | undefined;
|
|
81
81
|
onShow?: ((...args: any[]) => any) | undefined;
|
|
82
|
-
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
83
82
|
"onAfter-show"?: ((...args: any[]) => any) | undefined;
|
|
84
83
|
"onAfter-hide"?: ((...args: any[]) => any) | undefined;
|
|
84
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
85
85
|
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "modelValue" | "disabled" | "offset" | "placement" | "content" | "appendTo" | "boundary" | "delay" | "width" | "trigger" | "visibleArrow" | "popperClass" | "popperOptions" | "transition">;
|
|
86
86
|
$attrs: {
|
|
87
87
|
[x: string]: unknown;
|
|
@@ -94,7 +94,7 @@ declare const _default: {
|
|
|
94
94
|
}>;
|
|
95
95
|
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null;
|
|
96
96
|
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null;
|
|
97
|
-
$emit: (event: "hide" | "show" | "
|
|
97
|
+
$emit: (event: "hide" | "show" | "after-show" | "after-hide" | "update:modelValue", ...args: any[]) => void;
|
|
98
98
|
$el: any;
|
|
99
99
|
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
100
100
|
offset: {
|
|
@@ -157,19 +157,19 @@ declare const _default: {
|
|
|
157
157
|
}>> & {
|
|
158
158
|
onHide?: ((...args: any[]) => any) | undefined;
|
|
159
159
|
onShow?: ((...args: any[]) => any) | undefined;
|
|
160
|
-
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
161
160
|
"onAfter-show"?: ((...args: any[]) => any) | undefined;
|
|
162
161
|
"onAfter-hide"?: ((...args: any[]) => any) | undefined;
|
|
162
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
163
163
|
}, {
|
|
164
164
|
isOpen: import("vue").Ref<boolean>;
|
|
165
|
-
popper: import("vue").Ref<import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> |
|
|
166
|
-
reference: import("vue").Ref<HTMLElement |
|
|
165
|
+
popper: import("vue").Ref<import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | undefined>;
|
|
166
|
+
reference: import("vue").Ref<HTMLElement | undefined>;
|
|
167
167
|
popperId: import("vue").Ref<string>;
|
|
168
168
|
themeClass: import("vue").ComputedRef<string>;
|
|
169
169
|
hide: () => void;
|
|
170
170
|
actualAppendTo: import("vue").ComputedRef<string | HTMLElement | undefined>;
|
|
171
171
|
isTelDisabled: import("vue").ComputedRef<boolean>;
|
|
172
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("hide" | "show" | "
|
|
172
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("hide" | "show" | "after-show" | "after-hide" | "update:modelValue")[], string, {
|
|
173
173
|
modelValue: boolean;
|
|
174
174
|
disabled: boolean;
|
|
175
175
|
offset: string | number;
|
|
@@ -265,13 +265,13 @@ declare const _default: {
|
|
|
265
265
|
}>> & {
|
|
266
266
|
onHide?: ((...args: any[]) => any) | undefined;
|
|
267
267
|
onShow?: ((...args: any[]) => any) | undefined;
|
|
268
|
-
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
269
268
|
"onAfter-show"?: ((...args: any[]) => any) | undefined;
|
|
270
269
|
"onAfter-hide"?: ((...args: any[]) => any) | undefined;
|
|
270
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
271
271
|
} & import("vue").ShallowUnwrapRef<{
|
|
272
272
|
isOpen: import("vue").Ref<boolean>;
|
|
273
|
-
popper: import("vue").Ref<import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> |
|
|
274
|
-
reference: import("vue").Ref<HTMLElement |
|
|
273
|
+
popper: import("vue").Ref<import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | undefined>;
|
|
274
|
+
reference: import("vue").Ref<HTMLElement | undefined>;
|
|
275
275
|
popperId: import("vue").Ref<string>;
|
|
276
276
|
themeClass: import("vue").ComputedRef<string>;
|
|
277
277
|
hide: () => void;
|
|
@@ -342,19 +342,19 @@ declare const _default: {
|
|
|
342
342
|
}>> & {
|
|
343
343
|
onHide?: ((...args: any[]) => any) | undefined;
|
|
344
344
|
onShow?: ((...args: any[]) => any) | undefined;
|
|
345
|
-
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
346
345
|
"onAfter-show"?: ((...args: any[]) => any) | undefined;
|
|
347
346
|
"onAfter-hide"?: ((...args: any[]) => any) | undefined;
|
|
347
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
348
348
|
}, {
|
|
349
349
|
isOpen: import("vue").Ref<boolean>;
|
|
350
|
-
popper: import("vue").Ref<import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> |
|
|
351
|
-
reference: import("vue").Ref<HTMLElement |
|
|
350
|
+
popper: import("vue").Ref<import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | undefined>;
|
|
351
|
+
reference: import("vue").Ref<HTMLElement | undefined>;
|
|
352
352
|
popperId: import("vue").Ref<string>;
|
|
353
353
|
themeClass: import("vue").ComputedRef<string>;
|
|
354
354
|
hide: () => void;
|
|
355
355
|
actualAppendTo: import("vue").ComputedRef<string | HTMLElement | undefined>;
|
|
356
356
|
isTelDisabled: import("vue").ComputedRef<boolean>;
|
|
357
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("hide" | "show" | "
|
|
357
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("hide" | "show" | "after-show" | "after-hide" | "update:modelValue")[], "hide" | "show" | "after-show" | "after-hide" | "update:modelValue", {
|
|
358
358
|
modelValue: boolean;
|
|
359
359
|
disabled: boolean;
|
|
360
360
|
offset: string | number;
|
|
@@ -58,14 +58,14 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
58
58
|
};
|
|
59
59
|
}, {
|
|
60
60
|
isOpen: import("vue").Ref<boolean>;
|
|
61
|
-
popper: import("vue").Ref<import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> |
|
|
62
|
-
reference: import("vue").Ref<HTMLElement |
|
|
61
|
+
popper: import("vue").Ref<import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | undefined>;
|
|
62
|
+
reference: import("vue").Ref<HTMLElement | undefined>;
|
|
63
63
|
popperId: import("vue").Ref<string>;
|
|
64
64
|
themeClass: import("vue").ComputedRef<string>;
|
|
65
65
|
hide: () => void;
|
|
66
66
|
actualAppendTo: import("vue").ComputedRef<string | HTMLElement | undefined>;
|
|
67
67
|
isTelDisabled: import("vue").ComputedRef<boolean>;
|
|
68
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("hide" | "show" | "
|
|
68
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("hide" | "show" | "after-show" | "after-hide" | "update:modelValue")[], "hide" | "show" | "after-show" | "after-hide" | "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
69
69
|
offset: {
|
|
70
70
|
type: (StringConstructor | NumberConstructor)[];
|
|
71
71
|
default: number;
|
|
@@ -126,9 +126,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
126
126
|
}>> & {
|
|
127
127
|
onHide?: ((...args: any[]) => any) | undefined;
|
|
128
128
|
onShow?: ((...args: any[]) => any) | undefined;
|
|
129
|
-
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
130
129
|
"onAfter-show"?: ((...args: any[]) => any) | undefined;
|
|
131
130
|
"onAfter-hide"?: ((...args: any[]) => any) | undefined;
|
|
131
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
132
132
|
}, {
|
|
133
133
|
modelValue: boolean;
|
|
134
134
|
disabled: boolean;
|
|
@@ -139,7 +139,7 @@ declare const DaoTransfer: {
|
|
|
139
139
|
}>;
|
|
140
140
|
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null;
|
|
141
141
|
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null;
|
|
142
|
-
$emit: (event: "clear" | "
|
|
142
|
+
$emit: (event: "clear" | "change" | "update:modelValue" | "next" | "prev" | "update:page-size" | "update:current-page" | "page-change" | "size-change" | "pageChange" | "sizeChange" | "refresh" | "checkAll" | "left-search" | "right-search", ...args: any[]) => void;
|
|
143
143
|
$el: any;
|
|
144
144
|
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
145
145
|
pageLayout: {
|
|
@@ -260,7 +260,7 @@ declare const DaoTransfer: {
|
|
|
260
260
|
checked: boolean;
|
|
261
261
|
checkableList: unknown[];
|
|
262
262
|
}) => void;
|
|
263
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("clear" | "
|
|
263
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("clear" | "change" | "update:modelValue" | "next" | "prev" | "update:page-size" | "update:current-page" | "page-change" | "size-change" | "pageChange" | "sizeChange" | "refresh" | "checkAll" | "left-search" | "right-search")[], string, {
|
|
264
264
|
type: "normal" | "full";
|
|
265
265
|
modelValue: unknown[];
|
|
266
266
|
props: {
|
|
@@ -546,7 +546,7 @@ declare const DaoTransfer: {
|
|
|
546
546
|
checked: boolean;
|
|
547
547
|
checkableList: unknown[];
|
|
548
548
|
}) => void;
|
|
549
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("clear" | "
|
|
549
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("clear" | "change" | "update:modelValue" | "next" | "prev" | "update:page-size" | "update:current-page" | "page-change" | "size-change" | "pageChange" | "sizeChange" | "refresh" | "checkAll" | "left-search" | "right-search")[], "clear" | "change" | "update:modelValue" | "next" | "prev" | "update:page-size" | "update:current-page" | "page-change" | "size-change" | "pageChange" | "sizeChange" | "refresh" | "checkAll" | "left-search" | "right-search", {
|
|
550
550
|
type: "normal" | "full";
|
|
551
551
|
modelValue: unknown[];
|
|
552
552
|
props: {
|
|
@@ -103,7 +103,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
103
103
|
checked: boolean;
|
|
104
104
|
checkableList: Key[];
|
|
105
105
|
}) => void;
|
|
106
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("clear" | "
|
|
106
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("clear" | "change" | "update:modelValue" | "next" | "prev" | "update:page-size" | "update:current-page" | "page-change" | "size-change" | "pageChange" | "sizeChange" | "refresh" | "checkAll" | "left-search" | "right-search")[], "clear" | "change" | "update:modelValue" | "next" | "prev" | "update:page-size" | "update:current-page" | "page-change" | "size-change" | "pageChange" | "sizeChange" | "refresh" | "checkAll" | "left-search" | "right-search", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
107
107
|
pageLayout: {
|
|
108
108
|
default: () => never[];
|
|
109
109
|
type: import("vue").PropType<import("../pagination").PaginationLayoutKey[]>;
|