@dao-style/core 1.12.3-beta.2 → 1.12.3-beta.3
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/form/form-group.d.ts +120 -5
- package/dist/components/form/form-group.vue.d.ts +50 -2
- package/dist/components/form/props.d.ts +20 -0
- package/dist/components/table/table.d.ts +4 -4
- package/dist/components/table/table.vue.d.ts +1 -1
- package/dist/dao-style.js +7 -7
- package/dist/dao-style.mjs +3209 -3084
- package/dist/font/DaoCloudIconFont/DaoCloudIconFont.woff2 +0 -0
- package/dist/style.css +1 -1
- package/dist/uses/useExpandTransition.d.ts +8 -0
- package/package.json +1 -1
|
@@ -4,13 +4,35 @@ declare const DaoFormGroup: {
|
|
|
4
4
|
$: import("vue").ComponentInternalInstance;
|
|
5
5
|
$data: {};
|
|
6
6
|
$props: Partial<{
|
|
7
|
+
type: "2nd" | "3rd" | "1st";
|
|
7
8
|
title: string;
|
|
9
|
+
expanded: boolean;
|
|
10
|
+
iconMessage: string;
|
|
11
|
+
expandable: boolean;
|
|
8
12
|
}> & Omit<Readonly<import("vue").ExtractPropTypes<{
|
|
13
|
+
type: {
|
|
14
|
+
type: import("vue").PropType<"2nd" | "3rd" | "1st">;
|
|
15
|
+
default: string;
|
|
16
|
+
};
|
|
9
17
|
title: {
|
|
10
18
|
type: StringConstructor;
|
|
11
19
|
default: string;
|
|
12
20
|
};
|
|
13
|
-
|
|
21
|
+
iconMessage: {
|
|
22
|
+
type: StringConstructor;
|
|
23
|
+
default: string;
|
|
24
|
+
};
|
|
25
|
+
expandable: {
|
|
26
|
+
type: BooleanConstructor;
|
|
27
|
+
default: boolean;
|
|
28
|
+
};
|
|
29
|
+
expanded: {
|
|
30
|
+
type: BooleanConstructor;
|
|
31
|
+
default: boolean;
|
|
32
|
+
};
|
|
33
|
+
}>> & {
|
|
34
|
+
"onUpdate:expanded"?: ((...args: any[]) => any) | undefined;
|
|
35
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "type" | "title" | "expanded" | "iconMessage" | "expandable">;
|
|
14
36
|
$attrs: {
|
|
15
37
|
[x: string]: unknown;
|
|
16
38
|
};
|
|
@@ -22,15 +44,47 @@ declare const DaoFormGroup: {
|
|
|
22
44
|
}>;
|
|
23
45
|
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null;
|
|
24
46
|
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null;
|
|
25
|
-
$emit: (event:
|
|
47
|
+
$emit: (event: "update:expanded", ...args: any[]) => void;
|
|
26
48
|
$el: any;
|
|
27
49
|
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
50
|
+
type: {
|
|
51
|
+
type: import("vue").PropType<"2nd" | "3rd" | "1st">;
|
|
52
|
+
default: string;
|
|
53
|
+
};
|
|
28
54
|
title: {
|
|
29
55
|
type: StringConstructor;
|
|
30
56
|
default: string;
|
|
31
57
|
};
|
|
32
|
-
|
|
58
|
+
iconMessage: {
|
|
59
|
+
type: StringConstructor;
|
|
60
|
+
default: string;
|
|
61
|
+
};
|
|
62
|
+
expandable: {
|
|
63
|
+
type: BooleanConstructor;
|
|
64
|
+
default: boolean;
|
|
65
|
+
};
|
|
66
|
+
expanded: {
|
|
67
|
+
type: BooleanConstructor;
|
|
68
|
+
default: boolean;
|
|
69
|
+
};
|
|
70
|
+
}>> & {
|
|
71
|
+
"onUpdate:expanded"?: ((...args: any[]) => any) | undefined;
|
|
72
|
+
}, {
|
|
73
|
+
groupClasses: import("vue").ComputedRef<string[]>;
|
|
74
|
+
isExpanded: import("vue").Ref<boolean>;
|
|
75
|
+
handleClick: () => void;
|
|
76
|
+
onBeforeEnter: (el: Element) => void;
|
|
77
|
+
onEnter: (el: Element) => void;
|
|
78
|
+
onAfterEnter: (el: Element) => void;
|
|
79
|
+
onBeforeLeave: (el: Element) => void;
|
|
80
|
+
onLeave: (el: Element) => void;
|
|
81
|
+
onAfterLeave: (el: Element) => void;
|
|
82
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:expanded"[], string, {
|
|
83
|
+
type: "2nd" | "3rd" | "1st";
|
|
33
84
|
title: string;
|
|
85
|
+
expanded: boolean;
|
|
86
|
+
iconMessage: string;
|
|
87
|
+
expandable: boolean;
|
|
34
88
|
}, {}, string> & {
|
|
35
89
|
beforeCreate?: ((() => void) | (() => void)[]) | undefined;
|
|
36
90
|
created?: ((() => void) | (() => void)[]) | undefined;
|
|
@@ -52,25 +106,86 @@ declare const DaoFormGroup: {
|
|
|
52
106
|
$nextTick: typeof import("vue").nextTick;
|
|
53
107
|
$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;
|
|
54
108
|
} & Readonly<import("vue").ExtractPropTypes<{
|
|
109
|
+
type: {
|
|
110
|
+
type: import("vue").PropType<"2nd" | "3rd" | "1st">;
|
|
111
|
+
default: string;
|
|
112
|
+
};
|
|
55
113
|
title: {
|
|
56
114
|
type: StringConstructor;
|
|
57
115
|
default: string;
|
|
58
116
|
};
|
|
59
|
-
|
|
117
|
+
iconMessage: {
|
|
118
|
+
type: StringConstructor;
|
|
119
|
+
default: string;
|
|
120
|
+
};
|
|
121
|
+
expandable: {
|
|
122
|
+
type: BooleanConstructor;
|
|
123
|
+
default: boolean;
|
|
124
|
+
};
|
|
125
|
+
expanded: {
|
|
126
|
+
type: BooleanConstructor;
|
|
127
|
+
default: boolean;
|
|
128
|
+
};
|
|
129
|
+
}>> & {
|
|
130
|
+
"onUpdate:expanded"?: ((...args: any[]) => any) | undefined;
|
|
131
|
+
} & import("vue").ShallowUnwrapRef<{
|
|
132
|
+
groupClasses: import("vue").ComputedRef<string[]>;
|
|
133
|
+
isExpanded: import("vue").Ref<boolean>;
|
|
134
|
+
handleClick: () => void;
|
|
135
|
+
onBeforeEnter: (el: Element) => void;
|
|
136
|
+
onEnter: (el: Element) => void;
|
|
137
|
+
onAfterEnter: (el: Element) => void;
|
|
138
|
+
onBeforeLeave: (el: Element) => void;
|
|
139
|
+
onLeave: (el: Element) => void;
|
|
140
|
+
onAfterLeave: (el: Element) => void;
|
|
141
|
+
}> & {} & import("vue").ComponentCustomProperties & {};
|
|
60
142
|
__isFragment?: undefined;
|
|
61
143
|
__isTeleport?: undefined;
|
|
62
144
|
__isSuspense?: undefined;
|
|
63
145
|
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
146
|
+
type: {
|
|
147
|
+
type: import("vue").PropType<"2nd" | "3rd" | "1st">;
|
|
148
|
+
default: string;
|
|
149
|
+
};
|
|
64
150
|
title: {
|
|
65
151
|
type: StringConstructor;
|
|
66
152
|
default: string;
|
|
67
153
|
};
|
|
68
|
-
|
|
154
|
+
iconMessage: {
|
|
155
|
+
type: StringConstructor;
|
|
156
|
+
default: string;
|
|
157
|
+
};
|
|
158
|
+
expandable: {
|
|
159
|
+
type: BooleanConstructor;
|
|
160
|
+
default: boolean;
|
|
161
|
+
};
|
|
162
|
+
expanded: {
|
|
163
|
+
type: BooleanConstructor;
|
|
164
|
+
default: boolean;
|
|
165
|
+
};
|
|
166
|
+
}>> & {
|
|
167
|
+
"onUpdate:expanded"?: ((...args: any[]) => any) | undefined;
|
|
168
|
+
}, {
|
|
169
|
+
groupClasses: import("vue").ComputedRef<string[]>;
|
|
170
|
+
isExpanded: import("vue").Ref<boolean>;
|
|
171
|
+
handleClick: () => void;
|
|
172
|
+
onBeforeEnter: (el: Element) => void;
|
|
173
|
+
onEnter: (el: Element) => void;
|
|
174
|
+
onAfterEnter: (el: Element) => void;
|
|
175
|
+
onBeforeLeave: (el: Element) => void;
|
|
176
|
+
onLeave: (el: Element) => void;
|
|
177
|
+
onAfterLeave: (el: Element) => void;
|
|
178
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:expanded"[], "update:expanded", {
|
|
179
|
+
type: "2nd" | "3rd" | "1st";
|
|
69
180
|
title: string;
|
|
181
|
+
expanded: boolean;
|
|
182
|
+
iconMessage: string;
|
|
183
|
+
expandable: boolean;
|
|
70
184
|
}, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
71
185
|
$slots: {
|
|
72
186
|
default: SlotFn;
|
|
73
187
|
title: SlotFn;
|
|
188
|
+
'tooltip-content': SlotFn;
|
|
74
189
|
};
|
|
75
190
|
});
|
|
76
191
|
export default DaoFormGroup;
|
|
@@ -1,14 +1,62 @@
|
|
|
1
1
|
declare const _default: import("vue").DefineComponent<{
|
|
2
|
+
type: {
|
|
3
|
+
type: import("vue").PropType<"2nd" | "3rd" | "1st">;
|
|
4
|
+
default: string;
|
|
5
|
+
};
|
|
2
6
|
title: {
|
|
3
7
|
type: StringConstructor;
|
|
4
8
|
default: string;
|
|
5
9
|
};
|
|
6
|
-
|
|
10
|
+
iconMessage: {
|
|
11
|
+
type: StringConstructor;
|
|
12
|
+
default: string;
|
|
13
|
+
};
|
|
14
|
+
expandable: {
|
|
15
|
+
type: BooleanConstructor;
|
|
16
|
+
default: boolean;
|
|
17
|
+
};
|
|
18
|
+
expanded: {
|
|
19
|
+
type: BooleanConstructor;
|
|
20
|
+
default: boolean;
|
|
21
|
+
};
|
|
22
|
+
}, {
|
|
23
|
+
groupClasses: import("vue").ComputedRef<string[]>;
|
|
24
|
+
isExpanded: import("vue").Ref<boolean>;
|
|
25
|
+
handleClick: () => void;
|
|
26
|
+
onBeforeEnter: (el: Element) => void;
|
|
27
|
+
onEnter: (el: Element) => void;
|
|
28
|
+
onAfterEnter: (el: Element) => void;
|
|
29
|
+
onBeforeLeave: (el: Element) => void;
|
|
30
|
+
onLeave: (el: Element) => void;
|
|
31
|
+
onAfterLeave: (el: Element) => void;
|
|
32
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:expanded"[], "update:expanded", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
33
|
+
type: {
|
|
34
|
+
type: import("vue").PropType<"2nd" | "3rd" | "1st">;
|
|
35
|
+
default: string;
|
|
36
|
+
};
|
|
7
37
|
title: {
|
|
8
38
|
type: StringConstructor;
|
|
9
39
|
default: string;
|
|
10
40
|
};
|
|
11
|
-
|
|
41
|
+
iconMessage: {
|
|
42
|
+
type: StringConstructor;
|
|
43
|
+
default: string;
|
|
44
|
+
};
|
|
45
|
+
expandable: {
|
|
46
|
+
type: BooleanConstructor;
|
|
47
|
+
default: boolean;
|
|
48
|
+
};
|
|
49
|
+
expanded: {
|
|
50
|
+
type: BooleanConstructor;
|
|
51
|
+
default: boolean;
|
|
52
|
+
};
|
|
53
|
+
}>> & {
|
|
54
|
+
"onUpdate:expanded"?: ((...args: any[]) => any) | undefined;
|
|
55
|
+
}, {
|
|
56
|
+
type: "2nd" | "3rd" | "1st";
|
|
12
57
|
title: string;
|
|
58
|
+
expanded: boolean;
|
|
59
|
+
iconMessage: string;
|
|
60
|
+
expandable: boolean;
|
|
13
61
|
}>;
|
|
14
62
|
export default _default;
|
|
@@ -52,12 +52,32 @@ export declare const formProps: {
|
|
|
52
52
|
};
|
|
53
53
|
export type FormProps = ExtractPropTypes<typeof formProps>;
|
|
54
54
|
export declare const formGroupProps: {
|
|
55
|
+
type: {
|
|
56
|
+
type: PropType<"2nd" | "3rd" | "1st">;
|
|
57
|
+
default: string;
|
|
58
|
+
};
|
|
55
59
|
title: {
|
|
56
60
|
type: StringConstructor;
|
|
57
61
|
default: string;
|
|
58
62
|
};
|
|
63
|
+
iconMessage: {
|
|
64
|
+
type: StringConstructor;
|
|
65
|
+
default: string;
|
|
66
|
+
};
|
|
67
|
+
expandable: {
|
|
68
|
+
type: BooleanConstructor;
|
|
69
|
+
default: boolean;
|
|
70
|
+
};
|
|
71
|
+
expanded: {
|
|
72
|
+
type: BooleanConstructor;
|
|
73
|
+
default: boolean;
|
|
74
|
+
};
|
|
59
75
|
};
|
|
60
76
|
export type FormGroupProps = ExtractPropTypes<typeof formGroupProps>;
|
|
77
|
+
export declare const formGroupEmits: {
|
|
78
|
+
'update:expanded': (expanded?: boolean) => void;
|
|
79
|
+
};
|
|
80
|
+
export type FormGroupEmits = typeof formGroupEmits;
|
|
61
81
|
export declare const errorTextProps: {
|
|
62
82
|
content: {
|
|
63
83
|
type: StringConstructor;
|
|
@@ -19,6 +19,7 @@ declare const DaoTable: {
|
|
|
19
19
|
deselectText: string;
|
|
20
20
|
removeText: string;
|
|
21
21
|
showHeader: boolean;
|
|
22
|
+
expandable: boolean;
|
|
22
23
|
pageSize: number;
|
|
23
24
|
pageSizeOptions: number[];
|
|
24
25
|
pageFormat: (val: number) => string;
|
|
@@ -32,7 +33,6 @@ declare const DaoTable: {
|
|
|
32
33
|
noRounded: boolean;
|
|
33
34
|
selectable: import("./table-props").SelectablePropType;
|
|
34
35
|
selectedRows: import("./table-props").DataPropType;
|
|
35
|
-
expandable: boolean;
|
|
36
36
|
expandedRows: import("./table-props").DataPropType;
|
|
37
37
|
highlight: boolean;
|
|
38
38
|
highlightedRow: Record<string, unknown>;
|
|
@@ -212,7 +212,7 @@ declare const DaoTable: {
|
|
|
212
212
|
"onRow-click"?: ((...args: any[]) => any) | undefined;
|
|
213
213
|
onOnHighlight?: ((...args: any[]) => any) | undefined;
|
|
214
214
|
onOffHighlight?: ((...args: any[]) => any) | undefined;
|
|
215
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "search" | "compact" | "sort" | "data" | "columns" | "loading" | "searchPlaceholder" | "total" | "selectedFormat" | "deselectText" | "removeText" | "showHeader" | "pageSize" | "pageSizeOptions" | "pageFormat" | "currentPage" | "pageSizerWidth" | "noShadow" | "searchOptions" | "fuzzy" | "hideRefresh" | "hideSearch" | "noRounded" | "selectable" | "selectedRows" | "
|
|
215
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "search" | "compact" | "sort" | "data" | "columns" | "loading" | "searchPlaceholder" | "total" | "selectedFormat" | "deselectText" | "removeText" | "showHeader" | "expandable" | "pageSize" | "pageSizeOptions" | "pageFormat" | "currentPage" | "pageSizerWidth" | "noShadow" | "searchOptions" | "fuzzy" | "hideRefresh" | "hideSearch" | "noRounded" | "selectable" | "selectedRows" | "expandedRows" | "highlight" | "highlightedRow" | "emptyText" | "pageLayout" | "hideBatchBar" | "hideToolbar" | "hideSetting">;
|
|
216
216
|
$attrs: {
|
|
217
217
|
[x: string]: unknown;
|
|
218
218
|
};
|
|
@@ -494,6 +494,7 @@ declare const DaoTable: {
|
|
|
494
494
|
deselectText: string;
|
|
495
495
|
removeText: string;
|
|
496
496
|
showHeader: boolean;
|
|
497
|
+
expandable: boolean;
|
|
497
498
|
pageSize: number;
|
|
498
499
|
pageSizeOptions: number[];
|
|
499
500
|
pageFormat: (val: number) => string;
|
|
@@ -507,7 +508,6 @@ declare const DaoTable: {
|
|
|
507
508
|
noRounded: boolean;
|
|
508
509
|
selectable: import("./table-props").SelectablePropType;
|
|
509
510
|
selectedRows: import("./table-props").DataPropType;
|
|
510
|
-
expandable: boolean;
|
|
511
511
|
expandedRows: import("./table-props").DataPropType;
|
|
512
512
|
highlight: boolean;
|
|
513
513
|
highlightedRow: Record<string, unknown>;
|
|
@@ -1063,6 +1063,7 @@ declare const DaoTable: {
|
|
|
1063
1063
|
deselectText: string;
|
|
1064
1064
|
removeText: string;
|
|
1065
1065
|
showHeader: boolean;
|
|
1066
|
+
expandable: boolean;
|
|
1066
1067
|
pageSize: number;
|
|
1067
1068
|
pageSizeOptions: number[];
|
|
1068
1069
|
pageFormat: (val: number) => string;
|
|
@@ -1076,7 +1077,6 @@ declare const DaoTable: {
|
|
|
1076
1077
|
noRounded: boolean;
|
|
1077
1078
|
selectable: import("./table-props").SelectablePropType;
|
|
1078
1079
|
selectedRows: import("./table-props").DataPropType;
|
|
1079
|
-
expandable: boolean;
|
|
1080
1080
|
expandedRows: import("./table-props").DataPropType;
|
|
1081
1081
|
highlight: boolean;
|
|
1082
1082
|
highlightedRow: Record<string, unknown>;
|
|
@@ -417,6 +417,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
417
417
|
deselectText: string;
|
|
418
418
|
removeText: string;
|
|
419
419
|
showHeader: boolean;
|
|
420
|
+
expandable: boolean;
|
|
420
421
|
pageSize: number;
|
|
421
422
|
pageSizeOptions: number[];
|
|
422
423
|
pageFormat: (val: number) => string;
|
|
@@ -430,7 +431,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
430
431
|
noRounded: boolean;
|
|
431
432
|
selectable: import("./table-props").SelectablePropType;
|
|
432
433
|
selectedRows: DataPropType;
|
|
433
|
-
expandable: boolean;
|
|
434
434
|
expandedRows: DataPropType;
|
|
435
435
|
highlight: boolean;
|
|
436
436
|
highlightedRow: Record<string, unknown>;
|