@uzum-tech/ui 1.5.3 → 1.5.5
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/index.js +153 -85
- package/dist/index.prod.js +3 -3
- package/es/_utils/css/index.d.ts +1 -0
- package/es/_utils/css/index.js +1 -0
- package/es/_utils/css/normalize-size.d.ts +1 -0
- package/es/_utils/css/normalize-size.js +6 -0
- package/es/_utils/index.d.ts +1 -1
- package/es/_utils/index.js +1 -1
- package/es/avatar/src/Avatar.js +1 -7
- package/es/badge/src/Badge.d.ts +13 -0
- package/es/badge/src/Badge.js +5 -4
- package/es/badge/src/styles/index.cssr.js +5 -6
- package/es/badge/styles/light.d.ts +1 -0
- package/es/badge/styles/light.js +2 -1
- package/es/collapse/src/Collapse.d.ts +47 -14
- package/es/collapse/src/Collapse.js +6 -3
- package/es/collapse/src/CollapseItem.js +3 -2
- package/es/collapse/src/styles/index.cssr.js +27 -7
- package/es/collapse/styles/light.d.ts +4 -1
- package/es/collapse/styles/light.js +6 -3
- package/es/data-table/src/DataTable.d.ts +2 -0
- package/es/data-table/src/DataTable.js +1 -0
- package/es/data-table/src/TableParts/Body.d.ts +1 -0
- package/es/data-table/src/TableParts/Body.js +5 -4
- package/es/data-table/src/interface.d.ts +3 -0
- package/es/data-table/src/interface.js +1 -1
- package/es/date-picker/src/DatePicker.d.ts +3 -0
- package/es/date-picker/src/DatePicker.js +2 -2
- package/es/date-picker/src/interface.d.ts +1 -0
- package/es/date-picker/src/panel/use-calendar.js +5 -2
- package/es/date-picker/src/panel/use-dual-calendar.js +6 -3
- package/es/date-picker/src/utils.d.ts +1 -1
- package/es/date-picker/src/utils.js +3 -2
- package/es/dynamic-tags/src/DynamicTags.d.ts +10 -0
- package/es/dynamic-tags/styles/light.d.ts +1 -0
- package/es/tag/src/Tag.d.ts +27 -13
- package/es/tag/src/Tag.js +7 -2
- package/es/tag/src/styles/index.cssr.js +13 -3
- package/es/tag/styles/light.d.ts +1 -0
- package/es/tag/styles/light.js +7 -6
- package/es/version.d.ts +1 -1
- package/es/version.js +1 -1
- package/lib/_utils/css/index.d.ts +1 -0
- package/lib/_utils/css/index.js +3 -1
- package/lib/_utils/css/normalize-size.d.ts +1 -0
- package/lib/_utils/css/normalize-size.js +10 -0
- package/lib/_utils/index.d.ts +1 -1
- package/lib/_utils/index.js +2 -1
- package/lib/avatar/src/Avatar.js +1 -7
- package/lib/badge/src/Badge.d.ts +13 -0
- package/lib/badge/src/Badge.js +4 -3
- package/lib/badge/src/styles/index.cssr.js +5 -6
- package/lib/badge/styles/light.d.ts +1 -0
- package/lib/badge/styles/light.js +2 -1
- package/lib/collapse/src/Collapse.d.ts +47 -14
- package/lib/collapse/src/Collapse.js +6 -3
- package/lib/collapse/src/CollapseItem.js +3 -2
- package/lib/collapse/src/styles/index.cssr.js +27 -7
- package/lib/collapse/styles/light.d.ts +4 -1
- package/lib/collapse/styles/light.js +6 -3
- package/lib/data-table/src/DataTable.d.ts +2 -0
- package/lib/data-table/src/DataTable.js +1 -0
- package/lib/data-table/src/TableParts/Body.d.ts +1 -0
- package/lib/data-table/src/TableParts/Body.js +5 -4
- package/lib/data-table/src/interface.d.ts +3 -0
- package/lib/data-table/src/interface.js +1 -1
- package/lib/date-picker/src/DatePicker.d.ts +3 -0
- package/lib/date-picker/src/DatePicker.js +2 -2
- package/lib/date-picker/src/interface.d.ts +1 -0
- package/lib/date-picker/src/panel/use-calendar.js +5 -2
- package/lib/date-picker/src/panel/use-dual-calendar.js +6 -3
- package/lib/date-picker/src/utils.d.ts +1 -1
- package/lib/date-picker/src/utils.js +3 -2
- package/lib/dynamic-tags/src/DynamicTags.d.ts +10 -0
- package/lib/dynamic-tags/styles/light.d.ts +1 -0
- package/lib/tag/src/Tag.d.ts +27 -13
- package/lib/tag/src/Tag.js +7 -2
- package/lib/tag/src/styles/index.cssr.js +13 -3
- package/lib/tag/styles/light.d.ts +1 -0
- package/lib/tag/styles/light.js +7 -6
- package/lib/version.d.ts +1 -1
- package/lib/version.js +1 -1
- package/package.json +1 -1
- package/web-types.json +23 -1
package/lib/badge/src/Badge.d.ts
CHANGED
|
@@ -16,6 +16,7 @@ export declare const badgeProps: {
|
|
|
16
16
|
readonly processing: BooleanConstructor;
|
|
17
17
|
readonly color: StringConstructor;
|
|
18
18
|
readonly textColor: StringConstructor;
|
|
19
|
+
readonly dotSize: PropType<string | number>;
|
|
19
20
|
readonly offset: PropType<readonly [number | string, number | string]>;
|
|
20
21
|
readonly theme: PropType<import("../../_mixins").Theme<"Badge", {
|
|
21
22
|
color: string;
|
|
@@ -32,6 +33,7 @@ export declare const badgeProps: {
|
|
|
32
33
|
textColorError: string;
|
|
33
34
|
textColorWarning: string;
|
|
34
35
|
borderColor: string;
|
|
36
|
+
dotSize: string;
|
|
35
37
|
}, any>>;
|
|
36
38
|
readonly themeOverrides: PropType<import("../../_mixins/use-theme").ExtractThemeOverrides<import("../../_mixins").Theme<"Badge", {
|
|
37
39
|
color: string;
|
|
@@ -48,6 +50,7 @@ export declare const badgeProps: {
|
|
|
48
50
|
textColorError: string;
|
|
49
51
|
textColorWarning: string;
|
|
50
52
|
borderColor: string;
|
|
53
|
+
dotSize: string;
|
|
51
54
|
}, any>>>;
|
|
52
55
|
readonly builtinThemeOverrides: PropType<import("../../_mixins/use-theme").ExtractThemeOverrides<import("../../_mixins").Theme<"Badge", {
|
|
53
56
|
color: string;
|
|
@@ -64,6 +67,7 @@ export declare const badgeProps: {
|
|
|
64
67
|
textColorError: string;
|
|
65
68
|
textColorWarning: string;
|
|
66
69
|
borderColor: string;
|
|
70
|
+
dotSize: string;
|
|
67
71
|
}, any>>>;
|
|
68
72
|
};
|
|
69
73
|
export type BadgeProps = ExtractPublicPropTypes<typeof badgeProps>;
|
|
@@ -83,6 +87,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
83
87
|
readonly processing: BooleanConstructor;
|
|
84
88
|
readonly color: StringConstructor;
|
|
85
89
|
readonly textColor: StringConstructor;
|
|
90
|
+
readonly dotSize: PropType<string | number>;
|
|
86
91
|
readonly offset: PropType<readonly [number | string, number | string]>;
|
|
87
92
|
readonly theme: PropType<import("../../_mixins").Theme<"Badge", {
|
|
88
93
|
color: string;
|
|
@@ -99,6 +104,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
99
104
|
textColorError: string;
|
|
100
105
|
textColorWarning: string;
|
|
101
106
|
borderColor: string;
|
|
107
|
+
dotSize: string;
|
|
102
108
|
}, any>>;
|
|
103
109
|
readonly themeOverrides: PropType<import("../../_mixins/use-theme").ExtractThemeOverrides<import("../../_mixins").Theme<"Badge", {
|
|
104
110
|
color: string;
|
|
@@ -115,6 +121,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
115
121
|
textColorError: string;
|
|
116
122
|
textColorWarning: string;
|
|
117
123
|
borderColor: string;
|
|
124
|
+
dotSize: string;
|
|
118
125
|
}, any>>>;
|
|
119
126
|
readonly builtinThemeOverrides: PropType<import("../../_mixins/use-theme").ExtractThemeOverrides<import("../../_mixins").Theme<"Badge", {
|
|
120
127
|
color: string;
|
|
@@ -131,6 +138,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
131
138
|
textColorError: string;
|
|
132
139
|
textColorWarning: string;
|
|
133
140
|
borderColor: string;
|
|
141
|
+
dotSize: string;
|
|
134
142
|
}, any>>>;
|
|
135
143
|
}, {
|
|
136
144
|
rtlEnabled: import("vue").Ref<import("../../config-provider/src/internal-interface").RtlItem | undefined> | undefined;
|
|
@@ -147,6 +155,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
147
155
|
'--u-ripple-bezier': string;
|
|
148
156
|
'--u-text-color': string;
|
|
149
157
|
'--u-border-color': string;
|
|
158
|
+
'--u-dot-size': string;
|
|
150
159
|
}> | undefined;
|
|
151
160
|
themeClass: import("vue").Ref<string> | undefined;
|
|
152
161
|
onRender: (() => void) | undefined;
|
|
@@ -169,6 +178,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
169
178
|
readonly processing: BooleanConstructor;
|
|
170
179
|
readonly color: StringConstructor;
|
|
171
180
|
readonly textColor: StringConstructor;
|
|
181
|
+
readonly dotSize: PropType<string | number>;
|
|
172
182
|
readonly offset: PropType<readonly [number | string, number | string]>;
|
|
173
183
|
readonly theme: PropType<import("../../_mixins").Theme<"Badge", {
|
|
174
184
|
color: string;
|
|
@@ -185,6 +195,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
185
195
|
textColorError: string;
|
|
186
196
|
textColorWarning: string;
|
|
187
197
|
borderColor: string;
|
|
198
|
+
dotSize: string;
|
|
188
199
|
}, any>>;
|
|
189
200
|
readonly themeOverrides: PropType<import("../../_mixins/use-theme").ExtractThemeOverrides<import("../../_mixins").Theme<"Badge", {
|
|
190
201
|
color: string;
|
|
@@ -201,6 +212,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
201
212
|
textColorError: string;
|
|
202
213
|
textColorWarning: string;
|
|
203
214
|
borderColor: string;
|
|
215
|
+
dotSize: string;
|
|
204
216
|
}, any>>>;
|
|
205
217
|
readonly builtinThemeOverrides: PropType<import("../../_mixins/use-theme").ExtractThemeOverrides<import("../../_mixins").Theme<"Badge", {
|
|
206
218
|
color: string;
|
|
@@ -217,6 +229,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
217
229
|
textColorError: string;
|
|
218
230
|
textColorWarning: string;
|
|
219
231
|
borderColor: string;
|
|
232
|
+
dotSize: string;
|
|
220
233
|
}, any>>>;
|
|
221
234
|
}>>, {
|
|
222
235
|
readonly type: "default" | "info" | "success" | "warning" | "error" | "prime";
|
package/lib/badge/src/Badge.js
CHANGED
|
@@ -17,7 +17,7 @@ exports.badgeProps = Object.assign(Object.assign({}, _mixins_1.useTheme.props),
|
|
|
17
17
|
}, show: {
|
|
18
18
|
type: Boolean,
|
|
19
19
|
default: true
|
|
20
|
-
}, showZero: Boolean, processing: Boolean, color: String, textColor: String, offset: Array });
|
|
20
|
+
}, showZero: Boolean, processing: Boolean, color: String, textColor: String, dotSize: [String, Number], offset: Array });
|
|
21
21
|
exports.default = (0, vue_1.defineComponent)({
|
|
22
22
|
name: 'Badge',
|
|
23
23
|
props: exports.badgeProps,
|
|
@@ -45,7 +45,7 @@ exports.default = (0, vue_1.defineComponent)({
|
|
|
45
45
|
const rtlEnabledRef = (0, use_rtl_1.useRtl)('Badge', mergedRtlRef, mergedClsPrefixRef);
|
|
46
46
|
const cssVarsRef = (0, vue_1.computed)(() => {
|
|
47
47
|
const { type, color: propColor, textColor: propTextColor } = props;
|
|
48
|
-
const { common: { cubicBezierEaseInOut, cubicBezierEaseOut }, self: { [(0, _utils_1.createKey)('color', type)]: color, [(0, _utils_1.createKey)('textColor', type)]: textColor, fontSize, borderColor } } = themeRef.value;
|
|
48
|
+
const { common: { cubicBezierEaseInOut, cubicBezierEaseOut }, self: { [(0, _utils_1.createKey)('color', type)]: color, [(0, _utils_1.createKey)('textColor', type)]: textColor, fontSize, borderColor, dotSize } } = themeRef.value;
|
|
49
49
|
return {
|
|
50
50
|
'--u-font-size': fontSize,
|
|
51
51
|
'--u-color': propColor || color,
|
|
@@ -53,7 +53,8 @@ exports.default = (0, vue_1.defineComponent)({
|
|
|
53
53
|
'--u-bezier': cubicBezierEaseInOut,
|
|
54
54
|
'--u-ripple-bezier': cubicBezierEaseOut,
|
|
55
55
|
'--u-text-color': propTextColor || textColor,
|
|
56
|
-
'--u-border-color': borderColor
|
|
56
|
+
'--u-border-color': borderColor,
|
|
57
|
+
'--u-dot-size': (0, _utils_1.resolveSize)(props.dotSize, dotSize)
|
|
57
58
|
};
|
|
58
59
|
});
|
|
59
60
|
const themeClassHandle = inlineThemeDisabled
|
|
@@ -34,13 +34,14 @@ exports.default = (0, cssr_1.c)([(0, cssr_1.c)('@keyframes badge-wave-spread', {
|
|
|
34
34
|
transformOrigin: 'left bottom',
|
|
35
35
|
originalTransform: 'translateX(0)'
|
|
36
36
|
})])]), (0, cssr_1.cM)('dot', [(0, cssr_1.cB)('badge-sup', `
|
|
37
|
-
height:
|
|
38
|
-
width:
|
|
37
|
+
height: var(--u-dot-size);
|
|
38
|
+
width: var(--u-dot-size);
|
|
39
|
+
justify-content: center;
|
|
40
|
+
overflow: hidden;
|
|
39
41
|
padding: 0;
|
|
40
|
-
min-width: 8px;
|
|
41
42
|
left: 100%;
|
|
42
43
|
bottom: calc(100% - 4px);
|
|
43
|
-
`, [(0, cssr_1.c)('::before', 'border-radius: 4px;')])]), (0, cssr_1.cB)('badge-sup', `
|
|
44
|
+
`, [(0, cssr_1.c)('::before', 'border-radius: 4px;'), (0, cssr_1.c)('img', 'width: 100%')])]), (0, cssr_1.cB)('badge-sup', `
|
|
44
45
|
background: var(--u-color);
|
|
45
46
|
transition:
|
|
46
47
|
background-color .3s var(--u-bezier),
|
|
@@ -91,8 +92,6 @@ exports.default = (0, cssr_1.c)([(0, cssr_1.c)('@keyframes badge-wave-spread', {
|
|
|
91
92
|
border-radius: 100px;
|
|
92
93
|
`), (0, cssr_1.cM)('dot', [(0, cssr_1.cB)('badge-sup', `
|
|
93
94
|
transform: none;
|
|
94
|
-
width: 12px;
|
|
95
|
-
height: 12px;
|
|
96
95
|
transform: none;
|
|
97
96
|
left: auto;
|
|
98
97
|
right: 0;
|
|
@@ -15,6 +15,7 @@ export declare const self: (vars: ThemeCommonVars) => {
|
|
|
15
15
|
textColorError: string;
|
|
16
16
|
textColorWarning: string;
|
|
17
17
|
borderColor: string;
|
|
18
|
+
dotSize: string;
|
|
18
19
|
};
|
|
19
20
|
export type BadgeThemeVars = ReturnType<typeof self>;
|
|
20
21
|
declare const badgeLight: Theme<'Badge', BadgeThemeVars>;
|
|
@@ -9,7 +9,7 @@ export declare const collapseProps: {
|
|
|
9
9
|
readonly expandedNames: PropType<string | number | Array<string | number> | null>;
|
|
10
10
|
readonly arrowPlacement: {
|
|
11
11
|
readonly type: PropType<ArrowPlacement>;
|
|
12
|
-
readonly default: "
|
|
12
|
+
readonly default: "right-edge";
|
|
13
13
|
};
|
|
14
14
|
readonly accordion: {
|
|
15
15
|
readonly type: BooleanConstructor;
|
|
@@ -40,8 +40,11 @@ export declare const collapseProps: {
|
|
|
40
40
|
arrowSize: string;
|
|
41
41
|
arrowColor: string;
|
|
42
42
|
arrowColorDisabled: string;
|
|
43
|
-
itemMargin: string;
|
|
44
43
|
titlePadding: string;
|
|
44
|
+
backgroundColor: string;
|
|
45
|
+
borderRadius: string;
|
|
46
|
+
padding: string;
|
|
47
|
+
boxSizing: string;
|
|
45
48
|
}, any>>;
|
|
46
49
|
readonly themeOverrides: PropType<import("../../_mixins/use-theme").ExtractThemeOverrides<import("../../_mixins").Theme<"Collapse", {
|
|
47
50
|
titleFontSize: string;
|
|
@@ -56,8 +59,11 @@ export declare const collapseProps: {
|
|
|
56
59
|
arrowSize: string;
|
|
57
60
|
arrowColor: string;
|
|
58
61
|
arrowColorDisabled: string;
|
|
59
|
-
itemMargin: string;
|
|
60
62
|
titlePadding: string;
|
|
63
|
+
backgroundColor: string;
|
|
64
|
+
borderRadius: string;
|
|
65
|
+
padding: string;
|
|
66
|
+
boxSizing: string;
|
|
61
67
|
}, any>>>;
|
|
62
68
|
readonly builtinThemeOverrides: PropType<import("../../_mixins/use-theme").ExtractThemeOverrides<import("../../_mixins").Theme<"Collapse", {
|
|
63
69
|
titleFontSize: string;
|
|
@@ -72,8 +78,11 @@ export declare const collapseProps: {
|
|
|
72
78
|
arrowSize: string;
|
|
73
79
|
arrowColor: string;
|
|
74
80
|
arrowColorDisabled: string;
|
|
75
|
-
itemMargin: string;
|
|
76
81
|
titlePadding: string;
|
|
82
|
+
backgroundColor: string;
|
|
83
|
+
borderRadius: string;
|
|
84
|
+
padding: string;
|
|
85
|
+
boxSizing: string;
|
|
77
86
|
}, any>>>;
|
|
78
87
|
};
|
|
79
88
|
export type CollapseProps = ExtractPublicPropTypes<typeof collapseProps>;
|
|
@@ -93,7 +102,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
93
102
|
readonly expandedNames: PropType<string | number | Array<string | number> | null>;
|
|
94
103
|
readonly arrowPlacement: {
|
|
95
104
|
readonly type: PropType<ArrowPlacement>;
|
|
96
|
-
readonly default: "
|
|
105
|
+
readonly default: "right-edge";
|
|
97
106
|
};
|
|
98
107
|
readonly accordion: {
|
|
99
108
|
readonly type: BooleanConstructor;
|
|
@@ -124,8 +133,11 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
124
133
|
arrowSize: string;
|
|
125
134
|
arrowColor: string;
|
|
126
135
|
arrowColorDisabled: string;
|
|
127
|
-
itemMargin: string;
|
|
128
136
|
titlePadding: string;
|
|
137
|
+
backgroundColor: string;
|
|
138
|
+
borderRadius: string;
|
|
139
|
+
padding: string;
|
|
140
|
+
boxSizing: string;
|
|
129
141
|
}, any>>;
|
|
130
142
|
readonly themeOverrides: PropType<import("../../_mixins/use-theme").ExtractThemeOverrides<import("../../_mixins").Theme<"Collapse", {
|
|
131
143
|
titleFontSize: string;
|
|
@@ -140,8 +152,11 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
140
152
|
arrowSize: string;
|
|
141
153
|
arrowColor: string;
|
|
142
154
|
arrowColorDisabled: string;
|
|
143
|
-
itemMargin: string;
|
|
144
155
|
titlePadding: string;
|
|
156
|
+
backgroundColor: string;
|
|
157
|
+
borderRadius: string;
|
|
158
|
+
padding: string;
|
|
159
|
+
boxSizing: string;
|
|
145
160
|
}, any>>>;
|
|
146
161
|
readonly builtinThemeOverrides: PropType<import("../../_mixins/use-theme").ExtractThemeOverrides<import("../../_mixins").Theme<"Collapse", {
|
|
147
162
|
titleFontSize: string;
|
|
@@ -156,8 +171,11 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
156
171
|
arrowSize: string;
|
|
157
172
|
arrowColor: string;
|
|
158
173
|
arrowColorDisabled: string;
|
|
159
|
-
itemMargin: string;
|
|
160
174
|
titlePadding: string;
|
|
175
|
+
backgroundColor: string;
|
|
176
|
+
borderRadius: string;
|
|
177
|
+
padding: string;
|
|
178
|
+
boxSizing: string;
|
|
161
179
|
}, any>>>;
|
|
162
180
|
}, {
|
|
163
181
|
rtlEnabled: Ref<import("../../config-provider/src/internal-interface").RtlItem | undefined> | undefined;
|
|
@@ -176,8 +194,11 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
176
194
|
arrowSize: string;
|
|
177
195
|
arrowColor: string;
|
|
178
196
|
arrowColorDisabled: string;
|
|
179
|
-
itemMargin: string;
|
|
180
197
|
titlePadding: string;
|
|
198
|
+
backgroundColor: string;
|
|
199
|
+
borderRadius: string;
|
|
200
|
+
padding: string;
|
|
201
|
+
boxSizing: string;
|
|
181
202
|
};
|
|
182
203
|
peers: any;
|
|
183
204
|
peerOverrides: {
|
|
@@ -200,7 +221,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
200
221
|
'--u-arrow-size': string;
|
|
201
222
|
'--u-arrow-color': string;
|
|
202
223
|
'--u-arrow-color-disabled': string;
|
|
203
|
-
'--u-
|
|
224
|
+
'--u-background-color': string;
|
|
225
|
+
'--u-border-radius': string;
|
|
226
|
+
'--u-padding': string;
|
|
227
|
+
'--u-box-sizing': string;
|
|
204
228
|
}> | undefined;
|
|
205
229
|
themeClass: Ref<string> | undefined;
|
|
206
230
|
onRender: (() => void) | undefined;
|
|
@@ -212,7 +236,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
212
236
|
readonly expandedNames: PropType<string | number | Array<string | number> | null>;
|
|
213
237
|
readonly arrowPlacement: {
|
|
214
238
|
readonly type: PropType<ArrowPlacement>;
|
|
215
|
-
readonly default: "
|
|
239
|
+
readonly default: "right-edge";
|
|
216
240
|
};
|
|
217
241
|
readonly accordion: {
|
|
218
242
|
readonly type: BooleanConstructor;
|
|
@@ -243,8 +267,11 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
243
267
|
arrowSize: string;
|
|
244
268
|
arrowColor: string;
|
|
245
269
|
arrowColorDisabled: string;
|
|
246
|
-
itemMargin: string;
|
|
247
270
|
titlePadding: string;
|
|
271
|
+
backgroundColor: string;
|
|
272
|
+
borderRadius: string;
|
|
273
|
+
padding: string;
|
|
274
|
+
boxSizing: string;
|
|
248
275
|
}, any>>;
|
|
249
276
|
readonly themeOverrides: PropType<import("../../_mixins/use-theme").ExtractThemeOverrides<import("../../_mixins").Theme<"Collapse", {
|
|
250
277
|
titleFontSize: string;
|
|
@@ -259,8 +286,11 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
259
286
|
arrowSize: string;
|
|
260
287
|
arrowColor: string;
|
|
261
288
|
arrowColorDisabled: string;
|
|
262
|
-
itemMargin: string;
|
|
263
289
|
titlePadding: string;
|
|
290
|
+
backgroundColor: string;
|
|
291
|
+
borderRadius: string;
|
|
292
|
+
padding: string;
|
|
293
|
+
boxSizing: string;
|
|
264
294
|
}, any>>>;
|
|
265
295
|
readonly builtinThemeOverrides: PropType<import("../../_mixins/use-theme").ExtractThemeOverrides<import("../../_mixins").Theme<"Collapse", {
|
|
266
296
|
titleFontSize: string;
|
|
@@ -275,8 +305,11 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
275
305
|
arrowSize: string;
|
|
276
306
|
arrowColor: string;
|
|
277
307
|
arrowColorDisabled: string;
|
|
278
|
-
itemMargin: string;
|
|
279
308
|
titlePadding: string;
|
|
309
|
+
backgroundColor: string;
|
|
310
|
+
borderRadius: string;
|
|
311
|
+
padding: string;
|
|
312
|
+
boxSizing: string;
|
|
280
313
|
}, any>>>;
|
|
281
314
|
}>>, {
|
|
282
315
|
readonly displayDirective: "show" | "if";
|
|
@@ -16,7 +16,7 @@ exports.collapseProps = Object.assign(Object.assign({}, _mixins_1.useTheme.props
|
|
|
16
16
|
default: null
|
|
17
17
|
}, expandedNames: [Array, String], arrowPlacement: {
|
|
18
18
|
type: String,
|
|
19
|
-
default: '
|
|
19
|
+
default: 'right-edge'
|
|
20
20
|
}, accordion: {
|
|
21
21
|
type: Boolean,
|
|
22
22
|
default: false
|
|
@@ -107,7 +107,7 @@ exports.default = (0, vue_1.defineComponent)({
|
|
|
107
107
|
});
|
|
108
108
|
const rtlEnabledRef = (0, use_rtl_1.useRtl)('Collapse', mergedRtlRef, mergedClsPrefixRef);
|
|
109
109
|
const cssVarsRef = (0, vue_1.computed)(() => {
|
|
110
|
-
const { common: { cubicBezierEaseInOut }, self: { titleFontWeight, dividerColor, titlePadding, titleTextColor, titleTextColorDisabled, textColor, arrowColor, fontSize, titleFontSize, arrowColorDisabled,
|
|
110
|
+
const { common: { cubicBezierEaseInOut }, self: { titleFontWeight, dividerColor, titlePadding, titleTextColor, titleTextColorDisabled, textColor, arrowColor, fontSize, titleFontSize, arrowColorDisabled, lineHeight, titleLineHeight, arrowSize, backgroundColor, borderRadius, padding, boxSizing } } = themeRef.value;
|
|
111
111
|
return {
|
|
112
112
|
'--u-font-size': fontSize,
|
|
113
113
|
'--u-bezier': cubicBezierEaseInOut,
|
|
@@ -123,7 +123,10 @@ exports.default = (0, vue_1.defineComponent)({
|
|
|
123
123
|
'--u-arrow-size': arrowSize,
|
|
124
124
|
'--u-arrow-color': arrowColor,
|
|
125
125
|
'--u-arrow-color-disabled': arrowColorDisabled,
|
|
126
|
-
'--u-
|
|
126
|
+
'--u-background-color': backgroundColor,
|
|
127
|
+
'--u-border-radius': borderRadius,
|
|
128
|
+
'--u-padding': padding,
|
|
129
|
+
'--u-box-sizing': boxSizing
|
|
127
130
|
};
|
|
128
131
|
});
|
|
129
132
|
const themeClassHandle = inlineThemeDisabled
|
|
@@ -67,6 +67,7 @@ exports.default = (0, vue_1.defineComponent)({
|
|
|
67
67
|
return collapseProps.arrowPlacement;
|
|
68
68
|
}),
|
|
69
69
|
handleClick(e) {
|
|
70
|
+
e.stopPropagation();
|
|
70
71
|
if (UCollapse && !props.disabled) {
|
|
71
72
|
UCollapse.toggleItem(collapsedRef.value, mergedNameRef.value, e);
|
|
72
73
|
}
|
|
@@ -91,12 +92,12 @@ exports.default = (0, vue_1.defineComponent)({
|
|
|
91
92
|
`${mergedClsPrefix}-collapse-item--${arrowPlacement}-arrow-placement`,
|
|
92
93
|
disabled && `${mergedClsPrefix}-collapse-item--disabled`,
|
|
93
94
|
!collapsed && `${mergedClsPrefix}-collapse-item--active`
|
|
94
|
-
] },
|
|
95
|
+
], onClick: this.handleClick },
|
|
95
96
|
(0, vue_1.h)("div", { class: [
|
|
96
97
|
`${mergedClsPrefix}-collapse-item__header`,
|
|
97
98
|
!collapsed && `${mergedClsPrefix}-collapse-item__header--active`
|
|
98
99
|
] },
|
|
99
|
-
(0, vue_1.h)("div", { class: `${mergedClsPrefix}-collapse-item__header-main
|
|
100
|
+
(0, vue_1.h)("div", { class: `${mergedClsPrefix}-collapse-item__header-main` },
|
|
100
101
|
arrowPlacement !== 'right-edge' && arrowNode,
|
|
101
102
|
headerNode),
|
|
102
103
|
(0, _utils_1.resolveWrappedSlotWithProps)(headerExtraSlot, { collapsed }, (children) => ((0, vue_1.h)("div", { class: `${mergedClsPrefix}-collapse-item__header-extra`, onClick: this.handleClick }, children))),
|
|
@@ -17,15 +17,24 @@ const fade_in_height_expand_cssr_1 = require("../../../_styles/transitions/fade-
|
|
|
17
17
|
// --u-arrow-color
|
|
18
18
|
// --u-arrow-color-disabled
|
|
19
19
|
// --u-title-text-color-disabled
|
|
20
|
-
// --u-
|
|
21
|
-
|
|
20
|
+
// --u-background-color
|
|
21
|
+
// --u-border-radius
|
|
22
|
+
// --u-padding
|
|
23
|
+
// --u-box-sizing
|
|
24
|
+
exports.default = (0, cssr_1.cB)('collapse', `
|
|
25
|
+
width: 100%;
|
|
26
|
+
background-color: var(--u-background-color);
|
|
27
|
+
border-radius: var(--u-border-radius);
|
|
28
|
+
box-sizing: var(--u-box-sizing);
|
|
29
|
+
`, [(0, cssr_1.cB)('collapse-item', `
|
|
22
30
|
font-size: var(--u-font-size);
|
|
23
31
|
line-height: var(--u-line-height);
|
|
24
32
|
color: var(--u-text-color);
|
|
25
33
|
transition:
|
|
26
34
|
color .3s var(--u-bezier),
|
|
27
35
|
border-color .3s var(--u-bezier);
|
|
28
|
-
|
|
36
|
+
padding: var(--u-padding);
|
|
37
|
+
cursor: pointer;
|
|
29
38
|
`, [(0, cssr_1.cM)('disabled', [(0, cssr_1.cE)('header', 'cursor: not-allowed;', [(0, cssr_1.cE)('header-main', `
|
|
30
39
|
color: var(--u-title-text-color-disabled);
|
|
31
40
|
`), (0, cssr_1.cB)('collapse-item-arrow', `
|
|
@@ -33,9 +42,22 @@ exports.default = (0, cssr_1.cB)('collapse', 'width: 100%;', [(0, cssr_1.cB)('co
|
|
|
33
42
|
`)])]), (0, cssr_1.cB)('collapse-item', 'margin-left: 32px;'), (0, cssr_1.c)('&:first-child', 'margin-top: 0;'), (0, cssr_1.c)('&:first-child >', [(0, cssr_1.cE)('header', 'padding-top: 0;')]), (0, cssr_1.cM)('left-arrow-placement', [(0, cssr_1.cE)('header', [(0, cssr_1.cB)('collapse-item-arrow', 'margin-right: 4px;')])]), (0, cssr_1.cM)('right-arrow-placement', [(0, cssr_1.cE)('header', [(0, cssr_1.cB)('collapse-item-arrow', `
|
|
34
43
|
margin-left: 4px;
|
|
35
44
|
order: 1;
|
|
36
|
-
`)])]), (0, cssr_1.cM)('right-edge-arrow-placement', [(0, cssr_1.cE)('header', [(0, cssr_1.cB)('collapse-item-arrow',
|
|
45
|
+
`)])]), (0, cssr_1.cM)('right-edge-arrow-placement', [(0, cssr_1.cE)('header', [(0, cssr_1.cB)('collapse-item-arrow', `
|
|
46
|
+
margin-left: auto;
|
|
47
|
+
display: flex;
|
|
48
|
+
width: 28px;
|
|
49
|
+
height: 28px;
|
|
50
|
+
justify-content: center;
|
|
51
|
+
align-items: center;
|
|
52
|
+
border-radius: 100px;
|
|
53
|
+
background: #F3F4F6;
|
|
54
|
+
`, [(0, cssr_1.cB)('base-icon', `
|
|
55
|
+
transform: scaleY(1) rotate(90deg);
|
|
56
|
+
transition:
|
|
57
|
+
transform .15s var(--u-bezier)
|
|
58
|
+
`)])])]), (0, cssr_1.cE)('content-wrapper', [(0, cssr_1.cE)('content-inner', 'padding-top: 16px;'), (0, fade_in_height_expand_cssr_1.fadeInHeightExpandTransition)({
|
|
37
59
|
duration: '0.15s'
|
|
38
|
-
})]), (0, cssr_1.cM)('active', [(0, cssr_1.cE)('header', [(0, cssr_1.cM)('active', [(0, cssr_1.cB)('collapse-item-arrow',
|
|
60
|
+
})]), (0, cssr_1.cM)('active', [(0, cssr_1.cE)('header', [(0, cssr_1.cM)('active', [(0, cssr_1.cB)('collapse-item-arrow', [(0, cssr_1.cB)('base-icon', 'transform: scaleY(-1) rotate(90deg)')])])])]), (0, cssr_1.cE)('header', `
|
|
39
61
|
font-size: var(--u-title-font-size);
|
|
40
62
|
line-height: var(--u-title-line-height);
|
|
41
63
|
display: flex;
|
|
@@ -43,9 +65,7 @@ exports.default = (0, cssr_1.cB)('collapse', 'width: 100%;', [(0, cssr_1.cB)('co
|
|
|
43
65
|
align-items: center;
|
|
44
66
|
transition: color .3s var(--u-bezier);
|
|
45
67
|
position: relative;
|
|
46
|
-
padding: var(--u-title-padding);
|
|
47
68
|
color: var(--u-title-text-color);
|
|
48
|
-
cursor: pointer;
|
|
49
69
|
`, [(0, cssr_1.cE)('header-main', `
|
|
50
70
|
display: flex;
|
|
51
71
|
flex-wrap: nowrap;
|
|
@@ -13,8 +13,11 @@ export declare const self: (vars: ThemeCommonVars) => {
|
|
|
13
13
|
arrowSize: string;
|
|
14
14
|
arrowColor: string;
|
|
15
15
|
arrowColorDisabled: string;
|
|
16
|
-
itemMargin: string;
|
|
17
16
|
titlePadding: string;
|
|
17
|
+
backgroundColor: string;
|
|
18
|
+
borderRadius: string;
|
|
19
|
+
padding: string;
|
|
20
|
+
boxSizing: string;
|
|
18
21
|
};
|
|
19
22
|
export type CollapseThemeVars = ReturnType<typeof self>;
|
|
20
23
|
declare const collapseLight: Theme<'Collapse', CollapseThemeVars>;
|
|
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.self = void 0;
|
|
4
4
|
const common_1 = require("../../_styles/common");
|
|
5
5
|
const self = (vars) => {
|
|
6
|
-
const { fontWeight, fontBodyLarge, lineHeightBodyLarge, elementsQuaternary, textPrimary, textSecondary, fontBodyMedium, lineHeightBodyMedium, iconSmall } = vars;
|
|
6
|
+
const { fontWeight, fontBodyLarge, lineHeightBodyLarge, elementsQuaternary, textPrimary, textSecondary, fontBodyMedium, lineHeightBodyMedium, iconSmall, containerPrimary } = vars;
|
|
7
7
|
return {
|
|
8
8
|
titleFontSize: fontBodyLarge,
|
|
9
9
|
titleLineHeight: lineHeightBodyLarge,
|
|
@@ -17,8 +17,11 @@ const self = (vars) => {
|
|
|
17
17
|
arrowSize: iconSmall,
|
|
18
18
|
arrowColor: textPrimary,
|
|
19
19
|
arrowColorDisabled: textSecondary,
|
|
20
|
-
|
|
21
|
-
|
|
20
|
+
titlePadding: '16px 0 0 0',
|
|
21
|
+
backgroundColor: containerPrimary,
|
|
22
|
+
borderRadius: '20px',
|
|
23
|
+
padding: '24px',
|
|
24
|
+
boxSizing: 'border-box'
|
|
22
25
|
};
|
|
23
26
|
};
|
|
24
27
|
exports.self = self;
|
|
@@ -91,6 +91,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
91
91
|
readonly type: import("vue").PropType<import("../../_internal").BaseLoadingExposedProps>;
|
|
92
92
|
readonly default: {};
|
|
93
93
|
};
|
|
94
|
+
readonly emptyProps: import("vue").PropType<Partial<import("../..").EmptyProps>>;
|
|
94
95
|
readonly onLoad: import("vue").PropType<import("./interface").DataTableOnLoad>;
|
|
95
96
|
readonly 'onUpdate:page': import("vue").PropType<import("../../pagination").PaginationProps["onUpdate:page"]>;
|
|
96
97
|
readonly onUpdatePage: import("vue").PropType<import("../../pagination").PaginationProps["onUpdate:page"]>;
|
|
@@ -4368,6 +4369,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
4368
4369
|
readonly type: import("vue").PropType<import("../../_internal").BaseLoadingExposedProps>;
|
|
4369
4370
|
readonly default: {};
|
|
4370
4371
|
};
|
|
4372
|
+
readonly emptyProps: import("vue").PropType<Partial<import("../..").EmptyProps>>;
|
|
4371
4373
|
readonly onLoad: import("vue").PropType<import("./interface").DataTableOnLoad>;
|
|
4372
4374
|
readonly 'onUpdate:page': import("vue").PropType<import("../../pagination").PaginationProps["onUpdate:page"]>;
|
|
4373
4375
|
readonly onUpdatePage: import("vue").PropType<import("../../pagination").PaginationProps["onUpdate:page"]>;
|
|
@@ -305,6 +305,7 @@ exports.default = (0, vue_1.defineComponent)({
|
|
|
305
305
|
handleTableBodyScroll,
|
|
306
306
|
setHeaderScrollLeft,
|
|
307
307
|
renderCell: (0, vue_1.toRef)(props, 'renderCell'),
|
|
308
|
+
emptyPropsRef: (0, vue_1.toRef)(props, 'emptyProps'),
|
|
308
309
|
handleEdit
|
|
309
310
|
});
|
|
310
311
|
const exposedMethods = {
|
|
@@ -1430,6 +1430,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1430
1430
|
}) => void;
|
|
1431
1431
|
handleUpdateExpanded: (key: RowKey, tmNode: TmNode | null) => void;
|
|
1432
1432
|
renderCell: import("vue").Ref<((value: any, rowData: object, column: import("../interface").TableBaseColumn) => import("vue").VNodeChild) | undefined>;
|
|
1433
|
+
emptyPropsRef: import("vue").Ref<Partial<import("../../../empty").EmptyProps> | undefined>;
|
|
1433
1434
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "edit"[], "edit", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
1434
1435
|
onEdit: PropType<(value: string, row: string, key: string) => void>;
|
|
1435
1436
|
onResize: PropType<(e: ResizeObserverEntry) => void>;
|
|
@@ -99,7 +99,7 @@ exports.default = (0, vue_1.defineComponent)({
|
|
|
99
99
|
bodyStyle: Object
|
|
100
100
|
},
|
|
101
101
|
setup(props) {
|
|
102
|
-
const { slots: dataTableSlots, bodyWidthRef, mergedExpandedRowKeysRef, mergedClsPrefixRef, mergedThemeRef, scrollXRef, colsRef, paginatedDataRef, rawPaginatedDataRef, fixedColumnLeftMapRef, fixedColumnRightMapRef, mergedCurrentPageRef, rowClassNameRef, leftActiveFixedColKeyRef, leftActiveFixedChildrenColKeysRef, rightActiveFixedColKeyRef, rightActiveFixedChildrenColKeysRef, renderExpandRef, hoverKeyRef, summaryRef, mergedSortStateRef, virtualScrollRef, componentId, mergedTableLayoutRef, childTriggerColIndexRef, indentRef, rowPropsRef, maxHeightRef, stripedRef, loadingRef, loadingSkeletonRef, onLoadRef, loadingKeySetRef, expandableRef, stickyExpandedRowsRef, renderExpandIconRef, summaryPlacementRef, treeMateRef, scrollbarPropsRef, setHeaderScrollLeft, doUpdateExpandedRowKeys, handleTableBodyScroll, doCheck, doUncheck, renderCell
|
|
102
|
+
const { slots: dataTableSlots, bodyWidthRef, mergedExpandedRowKeysRef, mergedClsPrefixRef, mergedThemeRef, scrollXRef, colsRef, paginatedDataRef, rawPaginatedDataRef, fixedColumnLeftMapRef, fixedColumnRightMapRef, mergedCurrentPageRef, rowClassNameRef, leftActiveFixedColKeyRef, leftActiveFixedChildrenColKeysRef, rightActiveFixedColKeyRef, rightActiveFixedChildrenColKeysRef, renderExpandRef, hoverKeyRef, summaryRef, mergedSortStateRef, virtualScrollRef, componentId, mergedTableLayoutRef, childTriggerColIndexRef, indentRef, rowPropsRef, maxHeightRef, stripedRef, loadingRef, loadingSkeletonRef, onLoadRef, loadingKeySetRef, expandableRef, stickyExpandedRowsRef, renderExpandIconRef, summaryPlacementRef, treeMateRef, scrollbarPropsRef, setHeaderScrollLeft, doUpdateExpandedRowKeys, handleTableBodyScroll, doCheck, doUncheck, renderCell, emptyPropsRef
|
|
103
103
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
104
104
|
} = (0, vue_1.inject)(interface_1.dataTableInjectionKey);
|
|
105
105
|
const scrollbarInstRef = (0, vue_1.ref)(null);
|
|
@@ -347,10 +347,11 @@ exports.default = (0, vue_1.defineComponent)({
|
|
|
347
347
|
handleCheckboxUpdateChecked,
|
|
348
348
|
handleRadioUpdateChecked,
|
|
349
349
|
handleUpdateExpanded,
|
|
350
|
-
renderCell
|
|
350
|
+
renderCell,
|
|
351
|
+
emptyPropsRef }, exposedMethods);
|
|
351
352
|
},
|
|
352
353
|
render() {
|
|
353
|
-
const { mergedTheme, scrollX, mergedClsPrefix, virtualScroll, maxHeight, mergedTableLayout, flexHeight, loadingKeySet, onResize, setHeaderScrollLeft } = this;
|
|
354
|
+
const { mergedTheme, scrollX, mergedClsPrefix, virtualScroll, maxHeight, mergedTableLayout, flexHeight, loadingKeySet, onResize, setHeaderScrollLeft, emptyPropsRef } = this;
|
|
354
355
|
const scrollable = scrollX !== undefined || maxHeight !== undefined || flexHeight;
|
|
355
356
|
// For a basic table with auto layout whose content may overflow we will
|
|
356
357
|
// make it scrollable, which differs from browser's native behavior.
|
|
@@ -626,7 +627,7 @@ exports.default = (0, vue_1.defineComponent)({
|
|
|
626
627
|
`${mergedClsPrefix}-data-table-empty`,
|
|
627
628
|
this.loading && `${mergedClsPrefix}-data-table-empty--hide`
|
|
628
629
|
], style: this.bodyStyle, ref: "emptyElRef" }, (0, _utils_1.resolveSlot)(this.dataTableSlots.empty, () => [
|
|
629
|
-
(0, vue_1.h)(empty_1.UEmpty, { size: "large", theme: this.mergedTheme.peers.Empty, themeOverrides: this.mergedTheme.peerOverrides.Empty })
|
|
630
|
+
(0, vue_1.h)(empty_1.UEmpty, Object.assign({ size: "large", theme: this.mergedTheme.peers.Empty, themeOverrides: this.mergedTheme.peerOverrides.Empty }, emptyPropsRef))
|
|
630
631
|
])));
|
|
631
632
|
if (this.shouldDisplaySomeTablePart) {
|
|
632
633
|
return ((0, vue_1.h)(vue_1.Fragment, null,
|
|
@@ -9,6 +9,7 @@ import type { PaginationProps } from '../../pagination';
|
|
|
9
9
|
import type { DataTableTheme } from '../styles';
|
|
10
10
|
import type { RowItem, ColItem } from './use-group-header';
|
|
11
11
|
import type { BaseLoadingExposedProps } from '../../_internal';
|
|
12
|
+
import type { EmptyProps } from '../../empty';
|
|
12
13
|
export declare const dataTableProps: {
|
|
13
14
|
readonly onUnstableColumnResize: PropType<(resizedWidth: number, limitedWidth: number, column: TableBaseColumn, getColumnWidth: (key: ColumnKey) => number | undefined) => void>;
|
|
14
15
|
readonly pagination: {
|
|
@@ -101,6 +102,7 @@ export declare const dataTableProps: {
|
|
|
101
102
|
readonly type: PropType<BaseLoadingExposedProps>;
|
|
102
103
|
readonly default: {};
|
|
103
104
|
};
|
|
105
|
+
readonly emptyProps: PropType<Partial<EmptyProps>>;
|
|
104
106
|
readonly onLoad: PropType<DataTableOnLoad>;
|
|
105
107
|
readonly 'onUpdate:page': PropType<PaginationProps["onUpdate:page"]>;
|
|
106
108
|
readonly onUpdatePage: PropType<PaginationProps["onUpdate:page"]>;
|
|
@@ -3083,6 +3085,7 @@ export interface DataTableInjection {
|
|
|
3083
3085
|
syncScrollState: (deltaX?: number, deltaY?: number) => void;
|
|
3084
3086
|
setHeaderScrollLeft: (scrollLeft: number) => void;
|
|
3085
3087
|
renderCell: Ref<undefined | ((value: any, rowData: object, column: TableBaseColumn) => VNodeChild)>;
|
|
3088
|
+
emptyPropsRef: Ref<Partial<EmptyProps> | undefined>;
|
|
3086
3089
|
handleEdit: (value: any, row: any, key: string) => void;
|
|
3087
3090
|
}
|
|
3088
3091
|
export declare const dataTableInjectionKey: import("vue").InjectionKey<DataTableInjection>;
|
|
@@ -53,7 +53,7 @@ exports.dataTableProps = Object.assign(Object.assign({}, _mixins_1.useTheme.prop
|
|
|
53
53
|
}, paginationBehaviorOnFilter: {
|
|
54
54
|
type: String,
|
|
55
55
|
default: 'current'
|
|
56
|
-
}, scrollbarProps: Object, renderCell: Function, renderExpandIcon: Function, spinProps: { type: Object, default: {} }, onLoad: Function, 'onUpdate:page': [Function, Array], onUpdatePage: [Function, Array], 'onUpdate:pageSize': [Function, Array], onUpdatePageSize: [Function, Array], 'onUpdate:sorter': [Function, Array], onUpdateSorter: [Function, Array], 'onUpdate:filters': [Function, Array], onUpdateFilters: [Function, Array], 'onUpdate:checkedRowKeys': [Function, Array], onUpdateCheckedRowKeys: [Function, Array], 'onUpdate:expandedRowKeys': [Function, Array], onUpdateExpandedRowKeys: [Function, Array], onScroll: Function,
|
|
56
|
+
}, scrollbarProps: Object, renderCell: Function, renderExpandIcon: Function, spinProps: { type: Object, default: {} }, emptyProps: Object, onLoad: Function, 'onUpdate:page': [Function, Array], onUpdatePage: [Function, Array], 'onUpdate:pageSize': [Function, Array], onUpdatePageSize: [Function, Array], 'onUpdate:sorter': [Function, Array], onUpdateSorter: [Function, Array], 'onUpdate:filters': [Function, Array], onUpdateFilters: [Function, Array], 'onUpdate:checkedRowKeys': [Function, Array], onUpdateCheckedRowKeys: [Function, Array], 'onUpdate:expandedRowKeys': [Function, Array], onUpdateExpandedRowKeys: [Function, Array], onScroll: Function,
|
|
57
57
|
// deprecated
|
|
58
58
|
onPageChange: [Function, Array], onPageSizeChange: [Function, Array], onSorterChange: [Function, Array], onFiltersChange: [Function, Array], onCheckedRowKeysChange: [Function, Array] });
|
|
59
59
|
exports.dataTableInjectionKey = (0, _utils_1.createInjectionKey)('u-data-table');
|
|
@@ -47,6 +47,7 @@ export declare const datePickerProps: {
|
|
|
47
47
|
readonly shortcuts: PropType<Shortcuts>;
|
|
48
48
|
readonly defaultShortcuts: BooleanConstructor;
|
|
49
49
|
readonly isDateDisabled: PropType<IsDateDisabled>;
|
|
50
|
+
readonly maxDate: PropType<number | undefined>;
|
|
50
51
|
readonly isTimeDisabled: PropType<IsTimeDisabled>;
|
|
51
52
|
readonly show: {
|
|
52
53
|
readonly type: PropType<boolean | undefined>;
|
|
@@ -2148,6 +2149,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
2148
2149
|
readonly shortcuts: PropType<Shortcuts>;
|
|
2149
2150
|
readonly defaultShortcuts: BooleanConstructor;
|
|
2150
2151
|
readonly isDateDisabled: PropType<IsDateDisabled>;
|
|
2152
|
+
readonly maxDate: PropType<number | undefined>;
|
|
2151
2153
|
readonly isTimeDisabled: PropType<IsTimeDisabled>;
|
|
2152
2154
|
readonly show: {
|
|
2153
2155
|
readonly type: PropType<boolean | undefined>;
|
|
@@ -5448,6 +5450,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
5448
5450
|
readonly shortcuts: PropType<Shortcuts>;
|
|
5449
5451
|
readonly defaultShortcuts: BooleanConstructor;
|
|
5450
5452
|
readonly isDateDisabled: PropType<IsDateDisabled>;
|
|
5453
|
+
readonly maxDate: PropType<number | undefined>;
|
|
5451
5454
|
readonly isTimeDisabled: PropType<IsTimeDisabled>;
|
|
5452
5455
|
readonly show: {
|
|
5453
5456
|
readonly type: PropType<boolean | undefined>;
|