@dao-style/core 1.36.2-beta.4 → 1.36.2-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/action-icon/action-icon.d.ts +163 -193
- package/dist/components/action-icon/action-icon.vue.d.ts +2 -2
- package/dist/components/autocomplete/autocomplete.d.ts +479 -458
- package/dist/components/autocomplete/autocomplete.vue.d.ts +35 -18
- package/dist/components/batch-bar/batch-bar.d.ts +66 -96
- package/dist/components/batch-bar/batch-bar.vue.d.ts +1 -1
- package/dist/components/breadcrumb/breadcrumb-item.d.ts +32 -62
- package/dist/components/breadcrumb/breadcrumb-item.vue.d.ts +1 -1
- package/dist/components/breadcrumb/breadcrumb.d.ts +58 -88
- package/dist/components/breadcrumb/breadcrumb.vue.d.ts +1 -1
- package/dist/components/button/button-group.d.ts +1 -1
- package/dist/components/button/button-group.vue.d.ts +1 -1
- package/dist/components/button/button.d.ts +213 -243
- package/dist/components/button/button.vue.d.ts +3 -3
- package/dist/components/card/card-header.d.ts +41 -71
- package/dist/components/card/card-header.vue.d.ts +1 -1
- package/dist/components/card/card-item.d.ts +9 -39
- package/dist/components/card/card-item.vue.d.ts +1 -1
- package/dist/components/card/card.d.ts +54 -84
- package/dist/components/card/card.vue.d.ts +1 -1
- package/dist/components/checkbox/checkbox-group.d.ts +40 -70
- package/dist/components/checkbox/checkbox-group.vue.d.ts +1 -1
- package/dist/components/checkbox/checkbox.d.ts +110 -140
- package/dist/components/checkbox/checkbox.vue.d.ts +3 -3
- package/dist/components/dialog/dialog-footer.d.ts +64 -94
- package/dist/components/dialog/dialog-footer.vue.d.ts +1 -1
- package/dist/components/dialog/dialog-header.d.ts +49 -79
- package/dist/components/dialog/dialog-header.vue.d.ts +1 -1
- package/dist/components/dialog/dialog.d.ts +232 -262
- package/dist/components/dialog/dialog.vue.d.ts +3 -3
- package/dist/components/drawer/drawer.d.ts +136 -166
- package/dist/components/drawer/drawer.vue.d.ts +1 -1
- package/dist/components/dropdown/dropdown-item.d.ts +150 -180
- package/dist/components/dropdown/dropdown-item.vue.d.ts +2 -2
- package/dist/components/dropdown/dropdown-menu.d.ts +9 -39
- package/dist/components/dropdown/dropdown-menu.vue.d.ts +1 -1
- package/dist/components/dropdown/dropdown.d.ts +375 -345
- package/dist/components/dropdown/dropdown.vue.d.ts +32 -12
- package/dist/components/ellipsis/ellipsis.d.ts +2428 -2518
- package/dist/components/ellipsis/ellipsis.vue.d.ts +428 -448
- package/dist/components/ellipsis/props.d.ts +1 -1
- package/dist/components/empty/empty.d.ts +48 -78
- package/dist/components/empty/empty.vue.d.ts +1 -1
- package/dist/components/expansion/expansion-item.d.ts +66 -96
- package/dist/components/expansion/expansion-item.vue.d.ts +1 -1
- package/dist/components/expansion/expansion.d.ts +62 -92
- package/dist/components/expansion/expansion.vue.d.ts +1 -1
- package/dist/components/form/error-text.d.ts +22 -52
- package/dist/components/form/error-text.vue.d.ts +1 -1
- package/dist/components/form/form-group.d.ts +77 -107
- package/dist/components/form/form-group.vue.d.ts +2 -2
- package/dist/components/form/form-item.d.ts +141 -171
- package/dist/components/form/form-item.vue.d.ts +2 -2
- package/dist/components/form/form.d.ts +46 -76
- package/dist/components/form/form.vue.d.ts +1 -1
- package/dist/components/form/helper-text.d.ts +22 -52
- package/dist/components/form/helper-text.vue.d.ts +1 -1
- package/dist/components/header/header.d.ts +39 -69
- package/dist/components/header/header.vue.d.ts +2 -2
- package/dist/components/icon/icon.d.ts +18 -48
- package/dist/components/icon/icon.vue.d.ts +1 -1
- package/dist/components/input/input.d.ts +162 -192
- package/dist/components/input/input.vue.d.ts +4 -4
- package/dist/components/message/message-inner.vue.d.ts +2 -2
- package/dist/components/message/message.d.ts +100 -130
- package/dist/components/message/message.vue.d.ts +1 -1
- package/dist/components/message/types.d.ts +1 -1
- package/dist/components/nav/nav-head.d.ts +38 -68
- package/dist/components/nav/nav-head.vue.d.ts +1 -1
- package/dist/components/nav/nav-item.d.ts +146 -176
- package/dist/components/nav/nav-item.vue.d.ts +3 -3
- package/dist/components/nav/nav-sub.d.ts +162 -192
- package/dist/components/nav/nav-sub.vue.d.ts +3 -3
- package/dist/components/nav/nav.d.ts +64 -94
- package/dist/components/nav/nav.vue.d.ts +1 -1
- package/dist/components/pagination/pagination.d.ts +153 -183
- package/dist/components/pagination/pagination.vue.d.ts +2 -2
- package/dist/components/popover/popover.d.ts +181 -211
- package/dist/components/popover/popover.vue.d.ts +2 -2
- package/dist/components/popper/popper-content.vue.d.ts +1 -1
- package/dist/components/popper/popper.d.ts +181 -211
- package/dist/components/popper/popper.vue.d.ts +2 -2
- package/dist/components/progress/progress.d.ts +54 -84
- package/dist/components/progress/progress.vue.d.ts +1 -1
- package/dist/components/radio/radio-group.d.ts +43 -73
- package/dist/components/radio/radio-group.vue.d.ts +1 -1
- package/dist/components/radio/radio.d.ts +80 -110
- package/dist/components/radio/radio.vue.d.ts +1 -1
- package/dist/components/select/option.d.ts +48 -78
- package/dist/components/select/option.vue.d.ts +1 -1
- package/dist/components/select/options.d.ts +1 -1
- package/dist/components/select/select.d.ts +978 -1077
- package/dist/components/select/select.vue.d.ts +192 -215
- package/dist/components/slider/slider-labels.vue.d.ts +1 -1
- package/dist/components/slider/slider.vue.d.ts +2 -2
- package/dist/components/switch/switch.vue.d.ts +1 -1
- package/dist/components/table/column-setting.vue.d.ts +348 -408
- package/dist/components/table/components/tdAction.vue.d.ts +1 -1
- package/dist/components/table/resizer.vue.d.ts +1 -1
- package/dist/components/table/table.d.ts +618 -639
- package/dist/components/table/table.vue.d.ts +7 -4
- package/dist/components/tabs/tab-item.d.ts +52 -82
- package/dist/components/tabs/tab-item.vue.d.ts +1 -1
- package/dist/components/tabs/tab-nav.d.ts +1 -1
- package/dist/components/tabs/tab-nav.vue.d.ts +1 -1
- package/dist/components/tabs/tabs.d.ts +102 -132
- package/dist/components/tabs/tabs.vue.d.ts +1 -1
- package/dist/components/tag/tag.d.ts +65 -95
- package/dist/components/tag/tag.vue.d.ts +1 -1
- package/dist/components/text-button/test/TestComponent.vue.d.ts +1 -1
- package/dist/components/text-button/text-button.d.ts +50 -80
- package/dist/components/text-button/text-button.vue.d.ts +1 -1
- package/dist/components/toolbar/toolbar-filter.vue.d.ts +1 -1
- package/dist/components/toolbar/toolbar.d.ts +129 -159
- package/dist/components/toolbar/toolbar.vue.d.ts +1 -1
- package/dist/components/tooltip/tooltip.d.ts +181 -211
- package/dist/components/tooltip/tooltip.vue.d.ts +2 -2
- package/dist/components/transfer/transfer-panel.d.ts +137 -167
- package/dist/components/transfer/transfer-panel.vue.d.ts +1 -1
- package/dist/components/transfer/transfer.d.ts +282 -312
- package/dist/components/transfer/transfer.vue.d.ts +1 -1
- package/dist/components/virtual-select/virtual-option.vue.d.ts +2 -2
- package/dist/components/virtual-select/virtual-select.d.ts +900 -1020
- package/dist/components/virtual-select/virtual-select.vue.d.ts +184 -214
- package/dist/dao-style.js +1 -1
- package/dist/dao-style.mjs +630 -626
- package/dist/directives/tooltip/wrapper.d.ts +16 -3
- package/dist/playground-demo-resolver.spec.d.ts +1 -0
- package/package.json +9 -7
- package/scripts/transform-variable.mjs +35 -31
|
@@ -1,176 +1,76 @@
|
|
|
1
1
|
import { SlotFn } from '../../utils/types';
|
|
2
2
|
declare const DaoFormItem: {
|
|
3
|
-
new (...args: any[]): {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
error: string;
|
|
8
|
-
type: "vertical" | "horizontal";
|
|
9
|
-
label: string;
|
|
10
|
-
required: boolean;
|
|
11
|
-
helper: string;
|
|
12
|
-
paddingBottom: string | number;
|
|
13
|
-
paddingTop: string | number;
|
|
14
|
-
labelWidth: string;
|
|
15
|
-
wrapperType: "footer" | "switch" | "text" | "checkbox" | "radio" | undefined;
|
|
16
|
-
iconMessage: string;
|
|
17
|
-
}> & Omit<Readonly<import("vue").ExtractPropTypes<{
|
|
18
|
-
label: {
|
|
19
|
-
type: import("vue").PropType<string>;
|
|
20
|
-
default: string;
|
|
21
|
-
};
|
|
22
|
-
required: {
|
|
23
|
-
type: import("vue").PropType<boolean>;
|
|
24
|
-
default: boolean;
|
|
25
|
-
};
|
|
26
|
-
wrapperType: {
|
|
27
|
-
type: import("vue").PropType<"footer" | "switch" | "text" | "checkbox" | "radio" | undefined>;
|
|
28
|
-
default: undefined;
|
|
29
|
-
};
|
|
30
|
-
paddingTop: {
|
|
31
|
-
type: import("vue").PropType<string | number>;
|
|
32
|
-
default: number;
|
|
33
|
-
};
|
|
34
|
-
paddingBottom: {
|
|
35
|
-
type: import("vue").PropType<string | number>;
|
|
36
|
-
default: number;
|
|
37
|
-
};
|
|
38
|
-
labelWidth: {
|
|
39
|
-
type: import("vue").PropType<string>;
|
|
40
|
-
default: string;
|
|
41
|
-
};
|
|
42
|
-
iconMessage: {
|
|
43
|
-
type: import("vue").PropType<string>;
|
|
44
|
-
default: string;
|
|
45
|
-
};
|
|
46
|
-
helper: {
|
|
47
|
-
type: import("vue").PropType<string>;
|
|
48
|
-
default: undefined;
|
|
49
|
-
};
|
|
50
|
-
error: {
|
|
51
|
-
type: import("vue").PropType<string>;
|
|
52
|
-
default: undefined;
|
|
53
|
-
};
|
|
54
|
-
type: {
|
|
55
|
-
type: import("vue").PropType<"vertical" | "horizontal">;
|
|
56
|
-
default: undefined;
|
|
57
|
-
};
|
|
58
|
-
}>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "error" | "type" | "label" | "required" | "helper" | "paddingBottom" | "paddingTop" | "labelWidth" | "wrapperType" | "iconMessage">;
|
|
59
|
-
$attrs: {
|
|
60
|
-
[x: string]: unknown;
|
|
3
|
+
new (...args: any[]): import("vue").CreateComponentPublicInstance<Readonly<import("vue").ExtractPropTypes<{
|
|
4
|
+
label: {
|
|
5
|
+
type: import("vue").PropType<string>;
|
|
6
|
+
default: string;
|
|
61
7
|
};
|
|
62
|
-
|
|
63
|
-
|
|
8
|
+
required: {
|
|
9
|
+
type: import("vue").PropType<boolean>;
|
|
10
|
+
default: boolean;
|
|
64
11
|
};
|
|
65
|
-
|
|
66
|
-
|
|
12
|
+
wrapperType: {
|
|
13
|
+
type: import("vue").PropType<"footer" | "switch" | "text" | "checkbox" | "radio" | undefined>;
|
|
14
|
+
default: undefined;
|
|
15
|
+
};
|
|
16
|
+
paddingTop: {
|
|
17
|
+
type: import("vue").PropType<string | number>;
|
|
18
|
+
default: number;
|
|
19
|
+
};
|
|
20
|
+
paddingBottom: {
|
|
21
|
+
type: import("vue").PropType<string | number>;
|
|
22
|
+
default: number;
|
|
23
|
+
};
|
|
24
|
+
labelWidth: {
|
|
25
|
+
type: import("vue").PropType<string>;
|
|
26
|
+
default: string;
|
|
27
|
+
};
|
|
28
|
+
iconMessage: {
|
|
29
|
+
type: import("vue").PropType<string>;
|
|
30
|
+
default: string;
|
|
31
|
+
};
|
|
32
|
+
helper: {
|
|
33
|
+
type: import("vue").PropType<string>;
|
|
34
|
+
default: undefined;
|
|
35
|
+
};
|
|
36
|
+
error: {
|
|
37
|
+
type: import("vue").PropType<string>;
|
|
38
|
+
default: undefined;
|
|
39
|
+
};
|
|
40
|
+
type: {
|
|
41
|
+
type: import("vue").PropType<"vertical" | "horizontal">;
|
|
42
|
+
default: undefined;
|
|
43
|
+
};
|
|
44
|
+
}>>, {
|
|
45
|
+
labelStyle: import("vue").ComputedRef<{
|
|
46
|
+
width: string;
|
|
47
|
+
} | {
|
|
48
|
+
width?: undefined;
|
|
67
49
|
}>;
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
type: import("vue").PropType<"footer" | "switch" | "text" | "checkbox" | "radio" | undefined>;
|
|
83
|
-
default: undefined;
|
|
84
|
-
};
|
|
85
|
-
paddingTop: {
|
|
86
|
-
type: import("vue").PropType<string | number>;
|
|
87
|
-
default: number;
|
|
88
|
-
};
|
|
89
|
-
paddingBottom: {
|
|
90
|
-
type: import("vue").PropType<string | number>;
|
|
91
|
-
default: number;
|
|
92
|
-
};
|
|
93
|
-
labelWidth: {
|
|
94
|
-
type: import("vue").PropType<string>;
|
|
95
|
-
default: string;
|
|
96
|
-
};
|
|
97
|
-
iconMessage: {
|
|
98
|
-
type: import("vue").PropType<string>;
|
|
99
|
-
default: string;
|
|
100
|
-
};
|
|
101
|
-
helper: {
|
|
102
|
-
type: import("vue").PropType<string>;
|
|
103
|
-
default: undefined;
|
|
104
|
-
};
|
|
105
|
-
error: {
|
|
106
|
-
type: import("vue").PropType<string>;
|
|
107
|
-
default: undefined;
|
|
108
|
-
};
|
|
109
|
-
type: {
|
|
110
|
-
type: import("vue").PropType<"vertical" | "horizontal">;
|
|
111
|
-
default: undefined;
|
|
50
|
+
contentStyle: import("vue").ComputedRef<{
|
|
51
|
+
'padding-top': string;
|
|
52
|
+
'padding-bottom': string;
|
|
53
|
+
}>;
|
|
54
|
+
formItemClass: import("vue").ComputedRef<{
|
|
55
|
+
[x: string]: boolean;
|
|
56
|
+
'dao-form-item': boolean;
|
|
57
|
+
'is-required': boolean;
|
|
58
|
+
}>;
|
|
59
|
+
showLabel: import("vue").ComputedRef<string | boolean | import("vue").Slot<any>>;
|
|
60
|
+
formClassNames: {
|
|
61
|
+
readonly text: {
|
|
62
|
+
readonly helper: "dao-form-item__helper-text";
|
|
63
|
+
readonly error: "dao-form-item__error-message";
|
|
112
64
|
};
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
contentStyle: import("vue").ComputedRef<{
|
|
120
|
-
'padding-top': string;
|
|
121
|
-
'padding-bottom': string;
|
|
122
|
-
}>;
|
|
123
|
-
formItemClass: import("vue").ComputedRef<{
|
|
124
|
-
[x: string]: boolean;
|
|
125
|
-
'dao-form-item': boolean;
|
|
126
|
-
'is-required': boolean;
|
|
127
|
-
}>;
|
|
128
|
-
showLabel: import("vue").ComputedRef<string | boolean | import("vue").Slot>;
|
|
129
|
-
formClassNames: {
|
|
130
|
-
readonly text: {
|
|
131
|
-
readonly helper: "dao-form-item__helper-text";
|
|
132
|
-
readonly error: "dao-form-item__error-message";
|
|
133
|
-
};
|
|
134
|
-
readonly wrapper: {
|
|
135
|
-
readonly text: "dao-form-item__text-wrapper";
|
|
136
|
-
readonly radio: "dao-form-item__radio-wrapper";
|
|
137
|
-
readonly checkbox: "dao-form-item__checkbox-wrapper";
|
|
138
|
-
readonly switch: "dao-form-item__switch-wrapper";
|
|
139
|
-
readonly footer: "dao-form-item__footer-wrapper";
|
|
140
|
-
};
|
|
65
|
+
readonly wrapper: {
|
|
66
|
+
readonly text: "dao-form-item__text-wrapper";
|
|
67
|
+
readonly radio: "dao-form-item__radio-wrapper";
|
|
68
|
+
readonly checkbox: "dao-form-item__checkbox-wrapper";
|
|
69
|
+
readonly switch: "dao-form-item__switch-wrapper";
|
|
70
|
+
readonly footer: "dao-form-item__footer-wrapper";
|
|
141
71
|
};
|
|
142
|
-
}
|
|
143
|
-
|
|
144
|
-
type: "vertical" | "horizontal";
|
|
145
|
-
label: string;
|
|
146
|
-
required: boolean;
|
|
147
|
-
helper: string;
|
|
148
|
-
paddingBottom: string | number;
|
|
149
|
-
paddingTop: string | number;
|
|
150
|
-
labelWidth: string;
|
|
151
|
-
wrapperType: "footer" | "switch" | "text" | "checkbox" | "radio" | undefined;
|
|
152
|
-
iconMessage: string;
|
|
153
|
-
}, {}, string> & {
|
|
154
|
-
beforeCreate?: ((() => void) | (() => void)[]) | undefined;
|
|
155
|
-
created?: ((() => void) | (() => void)[]) | undefined;
|
|
156
|
-
beforeMount?: ((() => void) | (() => void)[]) | undefined;
|
|
157
|
-
mounted?: ((() => void) | (() => void)[]) | undefined;
|
|
158
|
-
beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
|
|
159
|
-
updated?: ((() => void) | (() => void)[]) | undefined;
|
|
160
|
-
activated?: ((() => void) | (() => void)[]) | undefined;
|
|
161
|
-
deactivated?: ((() => void) | (() => void)[]) | undefined;
|
|
162
|
-
beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
|
|
163
|
-
beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
|
|
164
|
-
destroyed?: ((() => void) | (() => void)[]) | undefined;
|
|
165
|
-
unmounted?: ((() => void) | (() => void)[]) | undefined;
|
|
166
|
-
renderTracked?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
|
|
167
|
-
renderTriggered?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
|
|
168
|
-
errorCaptured?: (((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null, info: string) => boolean | void)[]) | undefined;
|
|
169
|
-
};
|
|
170
|
-
$forceUpdate: () => void;
|
|
171
|
-
$nextTick: typeof import("vue").nextTick;
|
|
172
|
-
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: import("vue").WatchOptions<boolean> | undefined): import("vue").WatchStopHandle;
|
|
173
|
-
} & Readonly<import("vue").ExtractPropTypes<{
|
|
72
|
+
};
|
|
73
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<import("vue").ExtractPropTypes<{
|
|
174
74
|
label: {
|
|
175
75
|
type: import("vue").PropType<string>;
|
|
176
76
|
default: string;
|
|
@@ -211,7 +111,66 @@ declare const DaoFormItem: {
|
|
|
211
111
|
type: import("vue").PropType<"vertical" | "horizontal">;
|
|
212
112
|
default: undefined;
|
|
213
113
|
};
|
|
214
|
-
}
|
|
114
|
+
}>>, {
|
|
115
|
+
error: string;
|
|
116
|
+
type: "vertical" | "horizontal";
|
|
117
|
+
label: string;
|
|
118
|
+
required: boolean;
|
|
119
|
+
helper: string;
|
|
120
|
+
paddingBottom: string | number;
|
|
121
|
+
paddingTop: string | number;
|
|
122
|
+
labelWidth: string;
|
|
123
|
+
wrapperType: "footer" | "switch" | "text" | "checkbox" | "radio" | undefined;
|
|
124
|
+
iconMessage: string;
|
|
125
|
+
}, true, {}, {}, {
|
|
126
|
+
P: {};
|
|
127
|
+
B: {};
|
|
128
|
+
D: {};
|
|
129
|
+
C: {};
|
|
130
|
+
M: {};
|
|
131
|
+
Defaults: {};
|
|
132
|
+
}, Readonly<import("vue").ExtractPropTypes<{
|
|
133
|
+
label: {
|
|
134
|
+
type: import("vue").PropType<string>;
|
|
135
|
+
default: string;
|
|
136
|
+
};
|
|
137
|
+
required: {
|
|
138
|
+
type: import("vue").PropType<boolean>;
|
|
139
|
+
default: boolean;
|
|
140
|
+
};
|
|
141
|
+
wrapperType: {
|
|
142
|
+
type: import("vue").PropType<"footer" | "switch" | "text" | "checkbox" | "radio" | undefined>;
|
|
143
|
+
default: undefined;
|
|
144
|
+
};
|
|
145
|
+
paddingTop: {
|
|
146
|
+
type: import("vue").PropType<string | number>;
|
|
147
|
+
default: number;
|
|
148
|
+
};
|
|
149
|
+
paddingBottom: {
|
|
150
|
+
type: import("vue").PropType<string | number>;
|
|
151
|
+
default: number;
|
|
152
|
+
};
|
|
153
|
+
labelWidth: {
|
|
154
|
+
type: import("vue").PropType<string>;
|
|
155
|
+
default: string;
|
|
156
|
+
};
|
|
157
|
+
iconMessage: {
|
|
158
|
+
type: import("vue").PropType<string>;
|
|
159
|
+
default: string;
|
|
160
|
+
};
|
|
161
|
+
helper: {
|
|
162
|
+
type: import("vue").PropType<string>;
|
|
163
|
+
default: undefined;
|
|
164
|
+
};
|
|
165
|
+
error: {
|
|
166
|
+
type: import("vue").PropType<string>;
|
|
167
|
+
default: undefined;
|
|
168
|
+
};
|
|
169
|
+
type: {
|
|
170
|
+
type: import("vue").PropType<"vertical" | "horizontal">;
|
|
171
|
+
default: undefined;
|
|
172
|
+
};
|
|
173
|
+
}>>, {
|
|
215
174
|
labelStyle: import("vue").ComputedRef<{
|
|
216
175
|
width: string;
|
|
217
176
|
} | {
|
|
@@ -226,7 +185,7 @@ declare const DaoFormItem: {
|
|
|
226
185
|
'dao-form-item': boolean;
|
|
227
186
|
'is-required': boolean;
|
|
228
187
|
}>;
|
|
229
|
-
showLabel: import("vue").ComputedRef<string | boolean | import("vue").Slot
|
|
188
|
+
showLabel: import("vue").ComputedRef<string | boolean | import("vue").Slot<any>>;
|
|
230
189
|
formClassNames: {
|
|
231
190
|
readonly text: {
|
|
232
191
|
readonly helper: "dao-form-item__helper-text";
|
|
@@ -240,7 +199,18 @@ declare const DaoFormItem: {
|
|
|
240
199
|
readonly footer: "dao-form-item__footer-wrapper";
|
|
241
200
|
};
|
|
242
201
|
};
|
|
243
|
-
}
|
|
202
|
+
}, {}, {}, {}, {
|
|
203
|
+
error: string;
|
|
204
|
+
type: "vertical" | "horizontal";
|
|
205
|
+
label: string;
|
|
206
|
+
required: boolean;
|
|
207
|
+
helper: string;
|
|
208
|
+
paddingBottom: string | number;
|
|
209
|
+
paddingTop: string | number;
|
|
210
|
+
labelWidth: string;
|
|
211
|
+
wrapperType: "footer" | "switch" | "text" | "checkbox" | "radio" | undefined;
|
|
212
|
+
iconMessage: string;
|
|
213
|
+
}>;
|
|
244
214
|
__isFragment?: undefined;
|
|
245
215
|
__isTeleport?: undefined;
|
|
246
216
|
__isSuspense?: undefined;
|
|
@@ -300,7 +270,7 @@ declare const DaoFormItem: {
|
|
|
300
270
|
'dao-form-item': boolean;
|
|
301
271
|
'is-required': boolean;
|
|
302
272
|
}>;
|
|
303
|
-
showLabel: import("vue").ComputedRef<string | boolean | import("vue").Slot
|
|
273
|
+
showLabel: import("vue").ComputedRef<string | boolean | import("vue").Slot<any>>;
|
|
304
274
|
formClassNames: {
|
|
305
275
|
readonly text: {
|
|
306
276
|
readonly helper: "dao-form-item__helper-text";
|
|
@@ -325,7 +295,7 @@ declare const DaoFormItem: {
|
|
|
325
295
|
labelWidth: string;
|
|
326
296
|
wrapperType: "footer" | "switch" | "text" | "checkbox" | "radio" | undefined;
|
|
327
297
|
iconMessage: string;
|
|
328
|
-
}, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
298
|
+
}, {}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
329
299
|
$slots: {
|
|
330
300
|
default: SlotFn;
|
|
331
301
|
error: SlotFn;
|
|
@@ -54,7 +54,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
54
54
|
'dao-form-item': boolean;
|
|
55
55
|
'is-required': boolean;
|
|
56
56
|
}>;
|
|
57
|
-
showLabel: import("vue").ComputedRef<string | boolean | import("vue").Slot
|
|
57
|
+
showLabel: import("vue").ComputedRef<string | boolean | import("vue").Slot<any>>;
|
|
58
58
|
formClassNames: {
|
|
59
59
|
readonly text: {
|
|
60
60
|
readonly helper: "dao-form-item__helper-text";
|
|
@@ -120,5 +120,5 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
120
120
|
labelWidth: string;
|
|
121
121
|
wrapperType: "footer" | "switch" | "text" | "checkbox" | "radio" | undefined;
|
|
122
122
|
iconMessage: string;
|
|
123
|
-
}>;
|
|
123
|
+
}, {}>;
|
|
124
124
|
export default _default;
|
|
@@ -1,84 +1,51 @@
|
|
|
1
1
|
import { ParamsSlotFn } from '../../utils/types';
|
|
2
2
|
import { formClassNames } from './type';
|
|
3
3
|
declare const DaoForm: {
|
|
4
|
-
new (...args: any[]): {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
labelWidth: string;
|
|
10
|
-
}> & Omit<Readonly<import("vue").ExtractPropTypes<{
|
|
11
|
-
type: {
|
|
12
|
-
type: import("vue").PropType<"vertical" | "horizontal">;
|
|
13
|
-
default: string;
|
|
14
|
-
validator: (value: "vertical" | "horizontal") => boolean;
|
|
15
|
-
};
|
|
16
|
-
labelWidth: {
|
|
17
|
-
type: import("vue").PropType<string>;
|
|
18
|
-
default: string;
|
|
19
|
-
};
|
|
20
|
-
}>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "type" | "labelWidth">;
|
|
21
|
-
$attrs: {
|
|
22
|
-
[x: string]: unknown;
|
|
4
|
+
new (...args: any[]): import("vue").CreateComponentPublicInstance<Readonly<import("vue").ExtractPropTypes<{
|
|
5
|
+
type: {
|
|
6
|
+
type: import("vue").PropType<"vertical" | "horizontal">;
|
|
7
|
+
default: string;
|
|
8
|
+
validator: (value: "vertical" | "horizontal") => boolean;
|
|
23
9
|
};
|
|
24
|
-
|
|
25
|
-
|
|
10
|
+
labelWidth: {
|
|
11
|
+
type: import("vue").PropType<string>;
|
|
12
|
+
default: string;
|
|
26
13
|
};
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
$emit: (event: string, ...args: any[]) => void;
|
|
33
|
-
$el: any;
|
|
34
|
-
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
35
|
-
type: {
|
|
36
|
-
type: import("vue").PropType<"vertical" | "horizontal">;
|
|
37
|
-
default: string;
|
|
38
|
-
validator: (value: "vertical" | "horizontal") => boolean;
|
|
39
|
-
};
|
|
40
|
-
labelWidth: {
|
|
41
|
-
type: import("vue").PropType<string>;
|
|
42
|
-
default: string;
|
|
14
|
+
}>>, {
|
|
15
|
+
formClassNames: {
|
|
16
|
+
readonly text: {
|
|
17
|
+
readonly helper: "dao-form-item__helper-text";
|
|
18
|
+
readonly error: "dao-form-item__error-message";
|
|
43
19
|
};
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
readonly
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
readonly wrapper: {
|
|
51
|
-
readonly text: "dao-form-item__text-wrapper";
|
|
52
|
-
readonly radio: "dao-form-item__radio-wrapper";
|
|
53
|
-
readonly checkbox: "dao-form-item__checkbox-wrapper";
|
|
54
|
-
readonly switch: "dao-form-item__switch-wrapper";
|
|
55
|
-
readonly footer: "dao-form-item__footer-wrapper";
|
|
56
|
-
};
|
|
20
|
+
readonly wrapper: {
|
|
21
|
+
readonly text: "dao-form-item__text-wrapper";
|
|
22
|
+
readonly radio: "dao-form-item__radio-wrapper";
|
|
23
|
+
readonly checkbox: "dao-form-item__checkbox-wrapper";
|
|
24
|
+
readonly switch: "dao-form-item__switch-wrapper";
|
|
25
|
+
readonly footer: "dao-form-item__footer-wrapper";
|
|
57
26
|
};
|
|
58
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
|
|
59
|
-
type: "vertical" | "horizontal";
|
|
60
|
-
labelWidth: string;
|
|
61
|
-
}, {}, string> & {
|
|
62
|
-
beforeCreate?: ((() => void) | (() => void)[]) | undefined;
|
|
63
|
-
created?: ((() => void) | (() => void)[]) | undefined;
|
|
64
|
-
beforeMount?: ((() => void) | (() => void)[]) | undefined;
|
|
65
|
-
mounted?: ((() => void) | (() => void)[]) | undefined;
|
|
66
|
-
beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
|
|
67
|
-
updated?: ((() => void) | (() => void)[]) | undefined;
|
|
68
|
-
activated?: ((() => void) | (() => void)[]) | undefined;
|
|
69
|
-
deactivated?: ((() => void) | (() => void)[]) | undefined;
|
|
70
|
-
beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
|
|
71
|
-
beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
|
|
72
|
-
destroyed?: ((() => void) | (() => void)[]) | undefined;
|
|
73
|
-
unmounted?: ((() => void) | (() => void)[]) | undefined;
|
|
74
|
-
renderTracked?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
|
|
75
|
-
renderTriggered?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
|
|
76
|
-
errorCaptured?: (((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null, info: string) => boolean | void)[]) | undefined;
|
|
77
27
|
};
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
28
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<import("vue").ExtractPropTypes<{
|
|
29
|
+
type: {
|
|
30
|
+
type: import("vue").PropType<"vertical" | "horizontal">;
|
|
31
|
+
default: string;
|
|
32
|
+
validator: (value: "vertical" | "horizontal") => boolean;
|
|
33
|
+
};
|
|
34
|
+
labelWidth: {
|
|
35
|
+
type: import("vue").PropType<string>;
|
|
36
|
+
default: string;
|
|
37
|
+
};
|
|
38
|
+
}>>, {
|
|
39
|
+
type: "vertical" | "horizontal";
|
|
40
|
+
labelWidth: string;
|
|
41
|
+
}, true, {}, {}, {
|
|
42
|
+
P: {};
|
|
43
|
+
B: {};
|
|
44
|
+
D: {};
|
|
45
|
+
C: {};
|
|
46
|
+
M: {};
|
|
47
|
+
Defaults: {};
|
|
48
|
+
}, Readonly<import("vue").ExtractPropTypes<{
|
|
82
49
|
type: {
|
|
83
50
|
type: import("vue").PropType<"vertical" | "horizontal">;
|
|
84
51
|
default: string;
|
|
@@ -88,7 +55,7 @@ declare const DaoForm: {
|
|
|
88
55
|
type: import("vue").PropType<string>;
|
|
89
56
|
default: string;
|
|
90
57
|
};
|
|
91
|
-
}
|
|
58
|
+
}>>, {
|
|
92
59
|
formClassNames: {
|
|
93
60
|
readonly text: {
|
|
94
61
|
readonly helper: "dao-form-item__helper-text";
|
|
@@ -102,7 +69,10 @@ declare const DaoForm: {
|
|
|
102
69
|
readonly footer: "dao-form-item__footer-wrapper";
|
|
103
70
|
};
|
|
104
71
|
};
|
|
105
|
-
}
|
|
72
|
+
}, {}, {}, {}, {
|
|
73
|
+
type: "vertical" | "horizontal";
|
|
74
|
+
labelWidth: string;
|
|
75
|
+
}>;
|
|
106
76
|
__isFragment?: undefined;
|
|
107
77
|
__isTeleport?: undefined;
|
|
108
78
|
__isSuspense?: undefined;
|
|
@@ -133,7 +103,7 @@ declare const DaoForm: {
|
|
|
133
103
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
|
|
134
104
|
type: "vertical" | "horizontal";
|
|
135
105
|
labelWidth: string;
|
|
136
|
-
}, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
106
|
+
}, {}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
137
107
|
$slots: {
|
|
138
108
|
default: ParamsSlotFn<{
|
|
139
109
|
classNames: typeof formClassNames;
|
|
@@ -1,62 +1,32 @@
|
|
|
1
1
|
import { SlotFn } from '../../utils/types';
|
|
2
2
|
declare const DaoHelperText: {
|
|
3
|
-
new (...args: any[]): {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
content: string;
|
|
8
|
-
}> & Omit<Readonly<import("vue").ExtractPropTypes<{
|
|
9
|
-
content: {
|
|
10
|
-
type: StringConstructor;
|
|
11
|
-
default: string;
|
|
12
|
-
};
|
|
13
|
-
}>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "content">;
|
|
14
|
-
$attrs: {
|
|
15
|
-
[x: string]: unknown;
|
|
16
|
-
};
|
|
17
|
-
$refs: {
|
|
18
|
-
[x: string]: unknown;
|
|
3
|
+
new (...args: any[]): import("vue").CreateComponentPublicInstance<Readonly<import("vue").ExtractPropTypes<{
|
|
4
|
+
content: {
|
|
5
|
+
type: StringConstructor;
|
|
6
|
+
default: string;
|
|
19
7
|
};
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null;
|
|
25
|
-
$emit: (event: string, ...args: any[]) => void;
|
|
26
|
-
$el: any;
|
|
27
|
-
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
28
|
-
content: {
|
|
29
|
-
type: StringConstructor;
|
|
30
|
-
default: string;
|
|
31
|
-
};
|
|
32
|
-
}>>, unknown, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
|
|
33
|
-
content: string;
|
|
34
|
-
}, {}, string> & {
|
|
35
|
-
beforeCreate?: ((() => void) | (() => void)[]) | undefined;
|
|
36
|
-
created?: ((() => void) | (() => void)[]) | undefined;
|
|
37
|
-
beforeMount?: ((() => void) | (() => void)[]) | undefined;
|
|
38
|
-
mounted?: ((() => void) | (() => void)[]) | undefined;
|
|
39
|
-
beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
|
|
40
|
-
updated?: ((() => void) | (() => void)[]) | undefined;
|
|
41
|
-
activated?: ((() => void) | (() => void)[]) | undefined;
|
|
42
|
-
deactivated?: ((() => void) | (() => void)[]) | undefined;
|
|
43
|
-
beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
|
|
44
|
-
beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
|
|
45
|
-
destroyed?: ((() => void) | (() => void)[]) | undefined;
|
|
46
|
-
unmounted?: ((() => void) | (() => void)[]) | undefined;
|
|
47
|
-
renderTracked?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
|
|
48
|
-
renderTriggered?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
|
|
49
|
-
errorCaptured?: (((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null, info: string) => boolean | void)[]) | undefined;
|
|
8
|
+
}>>, unknown, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<import("vue").ExtractPropTypes<{
|
|
9
|
+
content: {
|
|
10
|
+
type: StringConstructor;
|
|
11
|
+
default: string;
|
|
50
12
|
};
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
13
|
+
}>>, {
|
|
14
|
+
content: string;
|
|
15
|
+
}, true, {}, {}, {
|
|
16
|
+
P: {};
|
|
17
|
+
B: {};
|
|
18
|
+
D: {};
|
|
19
|
+
C: {};
|
|
20
|
+
M: {};
|
|
21
|
+
Defaults: {};
|
|
22
|
+
}, Readonly<import("vue").ExtractPropTypes<{
|
|
55
23
|
content: {
|
|
56
24
|
type: StringConstructor;
|
|
57
25
|
default: string;
|
|
58
26
|
};
|
|
59
|
-
}
|
|
27
|
+
}>>, {}, {}, {}, {}, {
|
|
28
|
+
content: string;
|
|
29
|
+
}>;
|
|
60
30
|
__isFragment?: undefined;
|
|
61
31
|
__isTeleport?: undefined;
|
|
62
32
|
__isSuspense?: undefined;
|
|
@@ -67,7 +37,7 @@ declare const DaoHelperText: {
|
|
|
67
37
|
};
|
|
68
38
|
}>>, unknown, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
|
|
69
39
|
content: string;
|
|
70
|
-
}, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
40
|
+
}, {}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
71
41
|
$slots: {
|
|
72
42
|
default: SlotFn;
|
|
73
43
|
};
|