@dao-style/core 1.6.1-beta.3 → 1.6.1-beta.4
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/props.d.ts +1 -1
- package/dist/components/pagination/pagination.d.ts +4 -4
- package/dist/components/pagination/pagination.vue.d.ts +1 -1
- package/dist/components/table/table.d.ts +4 -4
- package/dist/components/table/table.vue.d.ts +1 -1
- package/dist/components/tabs/props.d.ts +4 -0
- package/dist/components/tabs/tabs.d.ts +29 -1
- package/dist/components/tabs/tabs.vue.d.ts +12 -0
- package/dist/dao-style.js +6 -6
- package/dist/dao-style.mjs +1472 -1438
- package/dist/style.css +1 -1
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type PropType, ExtractPropTypes } from 'vue';
|
|
2
|
-
export type ActionIconType = 'button' | 'divider';
|
|
2
|
+
export type ActionIconType = 'button' | 'divider' | 'simple';
|
|
3
3
|
export type ActionIconSize = 'md' | 'sm' | 'xs';
|
|
4
4
|
export declare const actionIconProps: {
|
|
5
5
|
name: {
|
|
@@ -4,8 +4,8 @@ declare const DaoPagination: {
|
|
|
4
4
|
$: import("vue").ComponentInternalInstance;
|
|
5
5
|
$data: {};
|
|
6
6
|
$props: Partial<{
|
|
7
|
-
layout: import("./pagination-props").PaginationLayoutKey[];
|
|
8
7
|
compact: boolean;
|
|
8
|
+
layout: import("./pagination-props").PaginationLayoutKey[];
|
|
9
9
|
total: number;
|
|
10
10
|
pageSize: number;
|
|
11
11
|
pageSizeOptions: number[];
|
|
@@ -65,7 +65,7 @@ declare const DaoPagination: {
|
|
|
65
65
|
"onSize-change"?: ((...args: any[]) => any) | undefined;
|
|
66
66
|
onPageChange?: ((...args: any[]) => any) | undefined;
|
|
67
67
|
onSizeChange?: ((...args: any[]) => any) | undefined;
|
|
68
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "
|
|
68
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "compact" | "layout" | "total" | "pageSize" | "pageSizeOptions" | "pageFormat" | "totalFormat" | "currentPage" | "pageSizerWidth" | "noShadow">;
|
|
69
69
|
$attrs: {
|
|
70
70
|
[x: string]: unknown;
|
|
71
71
|
};
|
|
@@ -152,8 +152,8 @@ declare const DaoPagination: {
|
|
|
152
152
|
updatePageSize: (val: number) => void;
|
|
153
153
|
currentShowPageFormat: () => void;
|
|
154
154
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("next" | "prev" | "update:page-size" | "update:current-page" | "page-change" | "size-change" | "pageChange" | "sizeChange")[], string, {
|
|
155
|
-
layout: import("./pagination-props").PaginationLayoutKey[];
|
|
156
155
|
compact: boolean;
|
|
156
|
+
layout: import("./pagination-props").PaginationLayoutKey[];
|
|
157
157
|
total: number;
|
|
158
158
|
pageSize: number;
|
|
159
159
|
pageSizeOptions: number[];
|
|
@@ -331,8 +331,8 @@ declare const DaoPagination: {
|
|
|
331
331
|
updatePageSize: (val: number) => void;
|
|
332
332
|
currentShowPageFormat: () => void;
|
|
333
333
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("next" | "prev" | "update:page-size" | "update:current-page" | "page-change" | "size-change" | "pageChange" | "sizeChange")[], "next" | "prev" | "update:page-size" | "update:current-page" | "page-change" | "size-change" | "pageChange" | "sizeChange", {
|
|
334
|
-
layout: import("./pagination-props").PaginationLayoutKey[];
|
|
335
334
|
compact: boolean;
|
|
335
|
+
layout: import("./pagination-props").PaginationLayoutKey[];
|
|
336
336
|
total: number;
|
|
337
337
|
pageSize: number;
|
|
338
338
|
pageSizeOptions: number[];
|
|
@@ -113,8 +113,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
113
113
|
onPageChange?: ((...args: any[]) => any) | undefined;
|
|
114
114
|
onSizeChange?: ((...args: any[]) => any) | undefined;
|
|
115
115
|
}, {
|
|
116
|
-
layout: PaginationLayoutKey[];
|
|
117
116
|
compact: boolean;
|
|
117
|
+
layout: PaginationLayoutKey[];
|
|
118
118
|
total: number;
|
|
119
119
|
pageSize: number;
|
|
120
120
|
pageSizeOptions: number[];
|
|
@@ -8,9 +8,9 @@ declare const DaoTable: {
|
|
|
8
8
|
$data: {};
|
|
9
9
|
$props: Partial<{
|
|
10
10
|
search: import("../toolbar").SearchModelType;
|
|
11
|
+
compact: boolean;
|
|
11
12
|
sort: import("./type").DaoTableSort;
|
|
12
13
|
data: import("./table-props").DataPropType;
|
|
13
|
-
compact: boolean;
|
|
14
14
|
columns: DaoTableColumn[];
|
|
15
15
|
loading: boolean;
|
|
16
16
|
searchPlaceholder: string;
|
|
@@ -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" | "
|
|
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" | "expandable" | "expandedRows" | "highlight" | "highlightedRow" | "emptyText" | "pageLayout" | "hideBatchBar" | "hideToolbar" | "hideSetting">;
|
|
216
216
|
$attrs: {
|
|
217
217
|
[x: string]: unknown;
|
|
218
218
|
};
|
|
@@ -483,9 +483,9 @@ declare const DaoTable: {
|
|
|
483
483
|
getEllipsisContent: (column: DaoTableColumn, row: Record<string, unknown>, index: number) => string;
|
|
484
484
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("search" | "delete" | "select" | "next" | "prev" | "deselect" | "update:page-size" | "update:current-page" | "page-change" | "size-change" | "pageChange" | "sizeChange" | "update:search" | "refresh" | "update:selectedRows" | "update:expandedRows" | "update:highlightedRow" | "sortChange" | "hideColumn" | "afterResize" | "expandToggle" | "row-click" | "onHighlight" | "offHighlight")[], string, {
|
|
485
485
|
search: import("../toolbar").SearchModelType;
|
|
486
|
+
compact: boolean;
|
|
486
487
|
sort: import("./type").DaoTableSort;
|
|
487
488
|
data: import("./table-props").DataPropType;
|
|
488
|
-
compact: boolean;
|
|
489
489
|
columns: DaoTableColumn[];
|
|
490
490
|
loading: boolean;
|
|
491
491
|
searchPlaceholder: string;
|
|
@@ -1052,9 +1052,9 @@ declare const DaoTable: {
|
|
|
1052
1052
|
getEllipsisContent: (column: DaoTableColumn, row: Record<string, unknown>, index: number) => string;
|
|
1053
1053
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("search" | "delete" | "select" | "next" | "prev" | "deselect" | "update:page-size" | "update:current-page" | "page-change" | "size-change" | "pageChange" | "sizeChange" | "update:search" | "refresh" | "update:selectedRows" | "update:expandedRows" | "update:highlightedRow" | "sortChange" | "hideColumn" | "afterResize" | "expandToggle" | "row-click" | "onHighlight" | "offHighlight")[], "search" | "delete" | "select" | "next" | "prev" | "deselect" | "update:page-size" | "update:current-page" | "page-change" | "size-change" | "pageChange" | "sizeChange" | "update:search" | "refresh" | "update:selectedRows" | "update:expandedRows" | "update:highlightedRow" | "sortChange" | "hideColumn" | "afterResize" | "expandToggle" | "row-click" | "onHighlight" | "offHighlight", {
|
|
1054
1054
|
search: import("../toolbar").SearchModelType;
|
|
1055
|
+
compact: boolean;
|
|
1055
1056
|
sort: import("./type").DaoTableSort;
|
|
1056
1057
|
data: import("./table-props").DataPropType;
|
|
1057
|
-
compact: boolean;
|
|
1058
1058
|
columns: DaoTableColumn[];
|
|
1059
1059
|
loading: boolean;
|
|
1060
1060
|
searchPlaceholder: string;
|
|
@@ -406,9 +406,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
406
406
|
onOffHighlight?: ((...args: any[]) => any) | undefined;
|
|
407
407
|
}, {
|
|
408
408
|
search: import("../toolbar").SearchModelType;
|
|
409
|
+
compact: boolean;
|
|
409
410
|
sort: import("./type").DaoTableSort;
|
|
410
411
|
data: DataPropType;
|
|
411
|
-
compact: boolean;
|
|
412
412
|
columns: DaoTableColumn[];
|
|
413
413
|
loading: boolean;
|
|
414
414
|
searchPlaceholder: string;
|
|
@@ -8,6 +8,7 @@ declare const DaoTabs: {
|
|
|
8
8
|
direction: string;
|
|
9
9
|
modelValue: string;
|
|
10
10
|
vertical: boolean;
|
|
11
|
+
compact: boolean;
|
|
11
12
|
}> & Omit<Readonly<import("vue").ExtractPropTypes<{
|
|
12
13
|
type: {
|
|
13
14
|
type: StringConstructor;
|
|
@@ -28,11 +29,15 @@ declare const DaoTabs: {
|
|
|
28
29
|
type: BooleanConstructor;
|
|
29
30
|
default: boolean;
|
|
30
31
|
};
|
|
32
|
+
compact: {
|
|
33
|
+
type: BooleanConstructor;
|
|
34
|
+
default: boolean;
|
|
35
|
+
};
|
|
31
36
|
}>> & {
|
|
32
37
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
33
38
|
onClick?: ((...args: any[]) => any) | undefined;
|
|
34
39
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
35
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "type" | "direction" | "modelValue" | "vertical">;
|
|
40
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "type" | "direction" | "modelValue" | "vertical" | "compact">;
|
|
36
41
|
$attrs: {
|
|
37
42
|
[x: string]: unknown;
|
|
38
43
|
};
|
|
@@ -66,6 +71,10 @@ declare const DaoTabs: {
|
|
|
66
71
|
type: BooleanConstructor;
|
|
67
72
|
default: boolean;
|
|
68
73
|
};
|
|
74
|
+
compact: {
|
|
75
|
+
type: BooleanConstructor;
|
|
76
|
+
default: boolean;
|
|
77
|
+
};
|
|
69
78
|
}>> & {
|
|
70
79
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
71
80
|
onClick?: ((...args: any[]) => any) | undefined;
|
|
@@ -78,6 +87,9 @@ declare const DaoTabs: {
|
|
|
78
87
|
hasSlot: boolean;
|
|
79
88
|
}[];
|
|
80
89
|
tabBody: import("vue").Ref<HTMLElement | undefined>;
|
|
90
|
+
tabsType: import("vue").ComputedRef<string>;
|
|
91
|
+
tabsWrapperClass: import("vue").ComputedRef<string[]>;
|
|
92
|
+
tabsHeaderClass: import("vue").ComputedRef<string[] | "">;
|
|
81
93
|
onClick: (e: MouseEvent, tabValue: string) => void;
|
|
82
94
|
updateValue: (tabValue: string) => void;
|
|
83
95
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("click" | "change" | "update:modelValue")[], string, {
|
|
@@ -85,6 +97,7 @@ declare const DaoTabs: {
|
|
|
85
97
|
direction: string;
|
|
86
98
|
modelValue: string;
|
|
87
99
|
vertical: boolean;
|
|
100
|
+
compact: boolean;
|
|
88
101
|
}, {}, string> & {
|
|
89
102
|
beforeCreate?: ((() => void) | (() => void)[]) | undefined;
|
|
90
103
|
created?: ((() => void) | (() => void)[]) | undefined;
|
|
@@ -125,6 +138,10 @@ declare const DaoTabs: {
|
|
|
125
138
|
type: BooleanConstructor;
|
|
126
139
|
default: boolean;
|
|
127
140
|
};
|
|
141
|
+
compact: {
|
|
142
|
+
type: BooleanConstructor;
|
|
143
|
+
default: boolean;
|
|
144
|
+
};
|
|
128
145
|
}>> & {
|
|
129
146
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
130
147
|
onClick?: ((...args: any[]) => any) | undefined;
|
|
@@ -137,6 +154,9 @@ declare const DaoTabs: {
|
|
|
137
154
|
hasSlot: boolean;
|
|
138
155
|
}[];
|
|
139
156
|
tabBody: import("vue").Ref<HTMLElement | undefined>;
|
|
157
|
+
tabsType: import("vue").ComputedRef<string>;
|
|
158
|
+
tabsWrapperClass: import("vue").ComputedRef<string[]>;
|
|
159
|
+
tabsHeaderClass: import("vue").ComputedRef<string[] | "">;
|
|
140
160
|
onClick: (e: MouseEvent, tabValue: string) => void;
|
|
141
161
|
updateValue: (tabValue: string) => void;
|
|
142
162
|
}> & {} & import("vue").ComponentCustomProperties & {};
|
|
@@ -163,6 +183,10 @@ declare const DaoTabs: {
|
|
|
163
183
|
type: BooleanConstructor;
|
|
164
184
|
default: boolean;
|
|
165
185
|
};
|
|
186
|
+
compact: {
|
|
187
|
+
type: BooleanConstructor;
|
|
188
|
+
default: boolean;
|
|
189
|
+
};
|
|
166
190
|
}>> & {
|
|
167
191
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
168
192
|
onClick?: ((...args: any[]) => any) | undefined;
|
|
@@ -175,6 +199,9 @@ declare const DaoTabs: {
|
|
|
175
199
|
hasSlot: boolean;
|
|
176
200
|
}[];
|
|
177
201
|
tabBody: import("vue").Ref<HTMLElement | undefined>;
|
|
202
|
+
tabsType: import("vue").ComputedRef<string>;
|
|
203
|
+
tabsWrapperClass: import("vue").ComputedRef<string[]>;
|
|
204
|
+
tabsHeaderClass: import("vue").ComputedRef<string[] | "">;
|
|
178
205
|
onClick: (e: MouseEvent, tabValue: string) => void;
|
|
179
206
|
updateValue: (tabValue: string) => void;
|
|
180
207
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("click" | "change" | "update:modelValue")[], "click" | "change" | "update:modelValue", {
|
|
@@ -182,6 +209,7 @@ declare const DaoTabs: {
|
|
|
182
209
|
direction: string;
|
|
183
210
|
modelValue: string;
|
|
184
211
|
vertical: boolean;
|
|
212
|
+
compact: boolean;
|
|
185
213
|
}, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
186
214
|
$slots: {
|
|
187
215
|
action: SlotFn;
|
|
@@ -18,6 +18,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
18
18
|
type: BooleanConstructor;
|
|
19
19
|
default: boolean;
|
|
20
20
|
};
|
|
21
|
+
compact: {
|
|
22
|
+
type: BooleanConstructor;
|
|
23
|
+
default: boolean;
|
|
24
|
+
};
|
|
21
25
|
}, {
|
|
22
26
|
tabList: {
|
|
23
27
|
label: import("./types").DaoTabItemLabel;
|
|
@@ -26,6 +30,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
26
30
|
hasSlot: boolean;
|
|
27
31
|
}[];
|
|
28
32
|
tabBody: import("vue").Ref<HTMLElement | undefined>;
|
|
33
|
+
tabsType: import("vue").ComputedRef<string>;
|
|
34
|
+
tabsWrapperClass: import("vue").ComputedRef<string[]>;
|
|
35
|
+
tabsHeaderClass: import("vue").ComputedRef<string[] | "">;
|
|
29
36
|
onClick: (e: MouseEvent, tabValue: string) => void;
|
|
30
37
|
updateValue: (tabValue: string) => void;
|
|
31
38
|
}, 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<{
|
|
@@ -48,6 +55,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
48
55
|
type: BooleanConstructor;
|
|
49
56
|
default: boolean;
|
|
50
57
|
};
|
|
58
|
+
compact: {
|
|
59
|
+
type: BooleanConstructor;
|
|
60
|
+
default: boolean;
|
|
61
|
+
};
|
|
51
62
|
}>> & {
|
|
52
63
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
53
64
|
onClick?: ((...args: any[]) => any) | undefined;
|
|
@@ -57,5 +68,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
57
68
|
direction: string;
|
|
58
69
|
modelValue: string;
|
|
59
70
|
vertical: boolean;
|
|
71
|
+
compact: boolean;
|
|
60
72
|
}>;
|
|
61
73
|
export default _default;
|