@dao-style/core 1.6.1-beta.6 → 1.6.1-beta.8
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/table/column-setting-props.d.ts +4 -0
- package/dist/components/table/column-setting.vue.d.ts +9 -0
- package/dist/components/table/components/tdAction.vue.d.ts +2 -2
- package/dist/components/table/table-props.d.ts +4 -4
- package/dist/components/table/table.d.ts +16 -16
- package/dist/components/table/table.vue.d.ts +8 -8
- package/dist/components/toolbar/toolbar-filter-props.d.ts +4 -0
- package/dist/components/toolbar/toolbar-filter.vue.d.ts +9 -0
- package/dist/components/toolbar/toolbar-props.d.ts +4 -0
- package/dist/components/toolbar/toolbar.d.ts +20 -1
- package/dist/components/toolbar/toolbar.vue.d.ts +9 -0
- package/dist/dao-style.js +6 -6
- package/dist/dao-style.mjs +392 -380
- package/dist/style.css +1 -1
- package/package.json +1 -1
|
@@ -13,5 +13,9 @@ export declare const columnSettingProps: {
|
|
|
13
13
|
type: PropType<DaoTableColumn[]>;
|
|
14
14
|
default: () => DaoTableColumn[];
|
|
15
15
|
};
|
|
16
|
+
compact: {
|
|
17
|
+
type: BooleanConstructor;
|
|
18
|
+
default: boolean;
|
|
19
|
+
};
|
|
16
20
|
};
|
|
17
21
|
export type ColumnSettingProps = ExtractPropTypes<typeof columnSettingProps>;
|
|
@@ -8,6 +8,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
8
8
|
type: import("vue").PropType<DaoTableColumn[]>;
|
|
9
9
|
default: () => DaoTableColumn[];
|
|
10
10
|
};
|
|
11
|
+
compact: {
|
|
12
|
+
type: BooleanConstructor;
|
|
13
|
+
default: boolean;
|
|
14
|
+
};
|
|
11
15
|
}, {
|
|
12
16
|
search: import("vue").Ref<string>;
|
|
13
17
|
realColumns: import("vue").ComputedRef<DaoTableColumn[]>;
|
|
@@ -31,9 +35,14 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
31
35
|
type: import("vue").PropType<DaoTableColumn[]>;
|
|
32
36
|
default: () => DaoTableColumn[];
|
|
33
37
|
};
|
|
38
|
+
compact: {
|
|
39
|
+
type: BooleanConstructor;
|
|
40
|
+
default: boolean;
|
|
41
|
+
};
|
|
34
42
|
}>> & {
|
|
35
43
|
onConfirm?: ((...args: any[]) => any) | undefined;
|
|
36
44
|
}, {
|
|
45
|
+
compact: boolean;
|
|
37
46
|
columns: DaoTableColumn[];
|
|
38
47
|
tableSetting: Record<string, import("./type").tableSettingItem>;
|
|
39
48
|
}>;
|
|
@@ -4,7 +4,7 @@ export type TdMouseEvent = MouseEvent & {
|
|
|
4
4
|
};
|
|
5
5
|
declare const _default: import("vue").DefineComponent<{
|
|
6
6
|
compact: {
|
|
7
|
-
type:
|
|
7
|
+
type: BooleanConstructor;
|
|
8
8
|
default: boolean;
|
|
9
9
|
};
|
|
10
10
|
}, {
|
|
@@ -12,7 +12,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
12
12
|
iconSize: import("vue").ComputedRef<ActionIconSize>;
|
|
13
13
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
14
14
|
compact: {
|
|
15
|
-
type:
|
|
15
|
+
type: BooleanConstructor;
|
|
16
16
|
default: boolean;
|
|
17
17
|
};
|
|
18
18
|
}>>, {
|
|
@@ -62,6 +62,10 @@ export declare const tableProps: {
|
|
|
62
62
|
type: BooleanConstructor;
|
|
63
63
|
default: boolean;
|
|
64
64
|
};
|
|
65
|
+
compact: {
|
|
66
|
+
type: BooleanConstructor;
|
|
67
|
+
default: boolean;
|
|
68
|
+
};
|
|
65
69
|
id: {
|
|
66
70
|
type: PropType<string>;
|
|
67
71
|
require: boolean;
|
|
@@ -98,10 +102,6 @@ export declare const tableProps: {
|
|
|
98
102
|
type: PropType<DaoTableSort>;
|
|
99
103
|
default: () => DaoTableSort;
|
|
100
104
|
};
|
|
101
|
-
compact: {
|
|
102
|
-
type: PropType<boolean>;
|
|
103
|
-
default: boolean;
|
|
104
|
-
};
|
|
105
105
|
highlight: {
|
|
106
106
|
type: BooleanConstructor;
|
|
107
107
|
default: boolean;
|
|
@@ -74,6 +74,10 @@ declare const DaoTable: {
|
|
|
74
74
|
type: BooleanConstructor;
|
|
75
75
|
default: boolean;
|
|
76
76
|
};
|
|
77
|
+
compact: {
|
|
78
|
+
type: BooleanConstructor;
|
|
79
|
+
default: boolean;
|
|
80
|
+
};
|
|
77
81
|
id: {
|
|
78
82
|
type: import("vue").PropType<string>;
|
|
79
83
|
require: boolean;
|
|
@@ -110,10 +114,6 @@ declare const DaoTable: {
|
|
|
110
114
|
type: import("vue").PropType<import("./type").DaoTableSort>;
|
|
111
115
|
default: () => import("./type").DaoTableSort;
|
|
112
116
|
};
|
|
113
|
-
compact: {
|
|
114
|
-
type: import("vue").PropType<boolean>;
|
|
115
|
-
default: boolean;
|
|
116
|
-
};
|
|
117
117
|
highlight: {
|
|
118
118
|
type: BooleanConstructor;
|
|
119
119
|
default: boolean;
|
|
@@ -259,6 +259,10 @@ declare const DaoTable: {
|
|
|
259
259
|
type: BooleanConstructor;
|
|
260
260
|
default: boolean;
|
|
261
261
|
};
|
|
262
|
+
compact: {
|
|
263
|
+
type: BooleanConstructor;
|
|
264
|
+
default: boolean;
|
|
265
|
+
};
|
|
262
266
|
id: {
|
|
263
267
|
type: import("vue").PropType<string>;
|
|
264
268
|
require: boolean;
|
|
@@ -295,10 +299,6 @@ declare const DaoTable: {
|
|
|
295
299
|
type: import("vue").PropType<import("./type").DaoTableSort>;
|
|
296
300
|
default: () => import("./type").DaoTableSort;
|
|
297
301
|
};
|
|
298
|
-
compact: {
|
|
299
|
-
type: import("vue").PropType<boolean>;
|
|
300
|
-
default: boolean;
|
|
301
|
-
};
|
|
302
302
|
highlight: {
|
|
303
303
|
type: BooleanConstructor;
|
|
304
304
|
default: boolean;
|
|
@@ -569,6 +569,10 @@ declare const DaoTable: {
|
|
|
569
569
|
type: BooleanConstructor;
|
|
570
570
|
default: boolean;
|
|
571
571
|
};
|
|
572
|
+
compact: {
|
|
573
|
+
type: BooleanConstructor;
|
|
574
|
+
default: boolean;
|
|
575
|
+
};
|
|
572
576
|
id: {
|
|
573
577
|
type: import("vue").PropType<string>;
|
|
574
578
|
require: boolean;
|
|
@@ -605,10 +609,6 @@ declare const DaoTable: {
|
|
|
605
609
|
type: import("vue").PropType<import("./type").DaoTableSort>;
|
|
606
610
|
default: () => import("./type").DaoTableSort;
|
|
607
611
|
};
|
|
608
|
-
compact: {
|
|
609
|
-
type: import("vue").PropType<boolean>;
|
|
610
|
-
default: boolean;
|
|
611
|
-
};
|
|
612
612
|
highlight: {
|
|
613
613
|
type: BooleanConstructor;
|
|
614
614
|
default: boolean;
|
|
@@ -828,6 +828,10 @@ declare const DaoTable: {
|
|
|
828
828
|
type: BooleanConstructor;
|
|
829
829
|
default: boolean;
|
|
830
830
|
};
|
|
831
|
+
compact: {
|
|
832
|
+
type: BooleanConstructor;
|
|
833
|
+
default: boolean;
|
|
834
|
+
};
|
|
831
835
|
id: {
|
|
832
836
|
type: import("vue").PropType<string>;
|
|
833
837
|
require: boolean;
|
|
@@ -864,10 +868,6 @@ declare const DaoTable: {
|
|
|
864
868
|
type: import("vue").PropType<import("./type").DaoTableSort>;
|
|
865
869
|
default: () => import("./type").DaoTableSort;
|
|
866
870
|
};
|
|
867
|
-
compact: {
|
|
868
|
-
type: import("vue").PropType<boolean>;
|
|
869
|
-
default: boolean;
|
|
870
|
-
};
|
|
871
871
|
highlight: {
|
|
872
872
|
type: BooleanConstructor;
|
|
873
873
|
default: boolean;
|
|
@@ -36,6 +36,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
36
36
|
type: BooleanConstructor;
|
|
37
37
|
default: boolean;
|
|
38
38
|
};
|
|
39
|
+
compact: {
|
|
40
|
+
type: BooleanConstructor;
|
|
41
|
+
default: boolean;
|
|
42
|
+
};
|
|
39
43
|
id: {
|
|
40
44
|
type: import("vue").PropType<string>;
|
|
41
45
|
require: boolean;
|
|
@@ -72,10 +76,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
72
76
|
type: import("vue").PropType<import("./type").DaoTableSort>;
|
|
73
77
|
default: () => import("./type").DaoTableSort;
|
|
74
78
|
};
|
|
75
|
-
compact: {
|
|
76
|
-
type: import("vue").PropType<boolean>;
|
|
77
|
-
default: boolean;
|
|
78
|
-
};
|
|
79
79
|
highlight: {
|
|
80
80
|
type: BooleanConstructor;
|
|
81
81
|
default: boolean;
|
|
@@ -266,6 +266,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
266
266
|
type: BooleanConstructor;
|
|
267
267
|
default: boolean;
|
|
268
268
|
};
|
|
269
|
+
compact: {
|
|
270
|
+
type: BooleanConstructor;
|
|
271
|
+
default: boolean;
|
|
272
|
+
};
|
|
269
273
|
id: {
|
|
270
274
|
type: import("vue").PropType<string>;
|
|
271
275
|
require: boolean;
|
|
@@ -302,10 +306,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
302
306
|
type: import("vue").PropType<import("./type").DaoTableSort>;
|
|
303
307
|
default: () => import("./type").DaoTableSort;
|
|
304
308
|
};
|
|
305
|
-
compact: {
|
|
306
|
-
type: import("vue").PropType<boolean>;
|
|
307
|
-
default: boolean;
|
|
308
|
-
};
|
|
309
309
|
highlight: {
|
|
310
310
|
type: BooleanConstructor;
|
|
311
311
|
default: boolean;
|
|
@@ -17,5 +17,9 @@ export declare const toolbarFilterProps: {
|
|
|
17
17
|
type: PropType<FuzzyOption>;
|
|
18
18
|
default: undefined;
|
|
19
19
|
};
|
|
20
|
+
compact: {
|
|
21
|
+
type: BooleanConstructor;
|
|
22
|
+
default: boolean;
|
|
23
|
+
};
|
|
20
24
|
};
|
|
21
25
|
export type ToolbarFilterProps = ExtractPropTypes<typeof toolbarFilterProps>;
|
|
@@ -20,6 +20,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
20
20
|
type: import("vue").PropType<import("./types").FuzzyOption>;
|
|
21
21
|
default: undefined;
|
|
22
22
|
};
|
|
23
|
+
compact: {
|
|
24
|
+
type: BooleanConstructor;
|
|
25
|
+
default: boolean;
|
|
26
|
+
};
|
|
23
27
|
}, {
|
|
24
28
|
computedSearchPlaceholder: import("vue").ComputedRef<string>;
|
|
25
29
|
daoInputSearchRef: import("vue").Ref<any>;
|
|
@@ -51,11 +55,16 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
51
55
|
type: import("vue").PropType<import("./types").FuzzyOption>;
|
|
52
56
|
default: undefined;
|
|
53
57
|
};
|
|
58
|
+
compact: {
|
|
59
|
+
type: BooleanConstructor;
|
|
60
|
+
default: boolean;
|
|
61
|
+
};
|
|
54
62
|
}>> & {
|
|
55
63
|
onSearch?: ((...args: any[]) => any) | undefined;
|
|
56
64
|
"onUpdate:search"?: ((...args: any[]) => any) | undefined;
|
|
57
65
|
}, {
|
|
58
66
|
search: Record<string, import("./types").SearchValue[]>;
|
|
67
|
+
compact: boolean;
|
|
59
68
|
searchPlaceholder: string;
|
|
60
69
|
searchOptions: SearchOption[];
|
|
61
70
|
fuzzy: import("./types").FuzzyOption;
|
|
@@ -6,6 +6,7 @@ declare const _default: {
|
|
|
6
6
|
$data: {};
|
|
7
7
|
$props: Partial<{
|
|
8
8
|
search: import("./toolbar-props").SearchModelType;
|
|
9
|
+
compact: boolean;
|
|
9
10
|
searchPlaceholder: string;
|
|
10
11
|
noShadow: boolean;
|
|
11
12
|
searchOptions: import("./types").SearchOption[];
|
|
@@ -46,11 +47,15 @@ declare const _default: {
|
|
|
46
47
|
type: BooleanConstructor;
|
|
47
48
|
default: boolean;
|
|
48
49
|
};
|
|
50
|
+
compact: {
|
|
51
|
+
type: BooleanConstructor;
|
|
52
|
+
default: boolean;
|
|
53
|
+
};
|
|
49
54
|
}>> & {
|
|
50
55
|
onSearch?: ((...args: any[]) => any) | undefined;
|
|
51
56
|
"onUpdate:search"?: ((...args: any[]) => any) | undefined;
|
|
52
57
|
onRefresh?: ((...args: any[]) => any) | undefined;
|
|
53
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "search" | "searchPlaceholder" | "noShadow" | "searchOptions" | "fuzzy" | "hideRefresh" | "hideSearch" | "noRounded">;
|
|
58
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "search" | "compact" | "searchPlaceholder" | "noShadow" | "searchOptions" | "fuzzy" | "hideRefresh" | "hideSearch" | "noRounded">;
|
|
54
59
|
$attrs: {
|
|
55
60
|
[x: string]: unknown;
|
|
56
61
|
};
|
|
@@ -97,6 +102,10 @@ declare const _default: {
|
|
|
97
102
|
type: BooleanConstructor;
|
|
98
103
|
default: boolean;
|
|
99
104
|
};
|
|
105
|
+
compact: {
|
|
106
|
+
type: BooleanConstructor;
|
|
107
|
+
default: boolean;
|
|
108
|
+
};
|
|
100
109
|
}>> & {
|
|
101
110
|
onSearch?: ((...args: any[]) => any) | undefined;
|
|
102
111
|
"onUpdate:search"?: ((...args: any[]) => any) | undefined;
|
|
@@ -119,6 +128,7 @@ declare const _default: {
|
|
|
119
128
|
getValueLabel: (key: string, value: import("./types").SearchValue) => import("./types").SearchValue;
|
|
120
129
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("search" | "update:search" | "refresh")[], string, {
|
|
121
130
|
search: import("./toolbar-props").SearchModelType;
|
|
131
|
+
compact: boolean;
|
|
122
132
|
searchPlaceholder: string;
|
|
123
133
|
noShadow: boolean;
|
|
124
134
|
searchOptions: import("./types").SearchOption[];
|
|
@@ -179,6 +189,10 @@ declare const _default: {
|
|
|
179
189
|
type: BooleanConstructor;
|
|
180
190
|
default: boolean;
|
|
181
191
|
};
|
|
192
|
+
compact: {
|
|
193
|
+
type: BooleanConstructor;
|
|
194
|
+
default: boolean;
|
|
195
|
+
};
|
|
182
196
|
}>> & {
|
|
183
197
|
onSearch?: ((...args: any[]) => any) | undefined;
|
|
184
198
|
"onUpdate:search"?: ((...args: any[]) => any) | undefined;
|
|
@@ -236,6 +250,10 @@ declare const _default: {
|
|
|
236
250
|
type: BooleanConstructor;
|
|
237
251
|
default: boolean;
|
|
238
252
|
};
|
|
253
|
+
compact: {
|
|
254
|
+
type: BooleanConstructor;
|
|
255
|
+
default: boolean;
|
|
256
|
+
};
|
|
239
257
|
}>> & {
|
|
240
258
|
onSearch?: ((...args: any[]) => any) | undefined;
|
|
241
259
|
"onUpdate:search"?: ((...args: any[]) => any) | undefined;
|
|
@@ -258,6 +276,7 @@ declare const _default: {
|
|
|
258
276
|
getValueLabel: (key: string, value: import("./types").SearchValue) => import("./types").SearchValue;
|
|
259
277
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("search" | "update:search" | "refresh")[], "search" | "update:search" | "refresh", {
|
|
260
278
|
search: import("./toolbar-props").SearchModelType;
|
|
279
|
+
compact: boolean;
|
|
261
280
|
searchPlaceholder: string;
|
|
262
281
|
noShadow: boolean;
|
|
263
282
|
searchOptions: import("./types").SearchOption[];
|
|
@@ -32,6 +32,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
32
32
|
type: BooleanConstructor;
|
|
33
33
|
default: boolean;
|
|
34
34
|
};
|
|
35
|
+
compact: {
|
|
36
|
+
type: BooleanConstructor;
|
|
37
|
+
default: boolean;
|
|
38
|
+
};
|
|
35
39
|
}, {
|
|
36
40
|
t: import("vue-i18n").ComposerTranslation<{
|
|
37
41
|
[x: string]: import("@intlify/core-base").LocaleMessage<import("vue-i18n").VueMessageType>;
|
|
@@ -81,12 +85,17 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
81
85
|
type: BooleanConstructor;
|
|
82
86
|
default: boolean;
|
|
83
87
|
};
|
|
88
|
+
compact: {
|
|
89
|
+
type: BooleanConstructor;
|
|
90
|
+
default: boolean;
|
|
91
|
+
};
|
|
84
92
|
}>> & {
|
|
85
93
|
onSearch?: ((...args: any[]) => any) | undefined;
|
|
86
94
|
"onUpdate:search"?: ((...args: any[]) => any) | undefined;
|
|
87
95
|
onRefresh?: ((...args: any[]) => any) | undefined;
|
|
88
96
|
}, {
|
|
89
97
|
search: import("./toolbar-props").SearchModelType;
|
|
98
|
+
compact: boolean;
|
|
90
99
|
searchPlaceholder: string;
|
|
91
100
|
noShadow: boolean;
|
|
92
101
|
searchOptions: import("./types").SearchOption[];
|