@expcat/tigercat-vue 1.2.31 → 1.2.34
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/{chunk-F5S26BR3.mjs → chunk-25VVIM45.mjs} +8 -2
- package/dist/{chunk-4Z4XMXCO.mjs → chunk-5HUZ33NC.mjs} +22 -6
- package/dist/{chunk-7U673KY5.mjs → chunk-7M4UUCJF.mjs} +53 -44
- package/dist/{chunk-6G5IMGTC.js → chunk-BXS7OSVF.js} +37 -35
- package/dist/{chunk-AGVXMB4Q.js → chunk-CTR462T2.js} +27 -2
- package/dist/{chunk-DSHV7EAX.mjs → chunk-DRQ2QXZT.mjs} +16 -2
- package/dist/{chunk-NZUQ2KCW.mjs → chunk-F7WZCYYD.mjs} +19 -5
- package/dist/{chunk-C7VGTRHE.mjs → chunk-G44EGPJB.mjs} +28 -3
- package/dist/{chunk-DEDRUUK4.js → chunk-IBB54GHF.js} +2 -2
- package/dist/{chunk-QO2JYX6Q.js → chunk-LAWBHGPK.js} +19 -5
- package/dist/{chunk-663C2UX7.js → chunk-LZHCKW2Z.js} +2 -2
- package/dist/{chunk-CNRBYRK6.js → chunk-MCRT64VS.js} +2 -2
- package/dist/{chunk-YS6YQKYU.js → chunk-OA3HAUBT.js} +55 -46
- package/dist/{chunk-EU4IGIPC.js → chunk-OKLDFVDJ.js} +8 -2
- package/dist/{chunk-6CSTMVB2.js → chunk-PACAXQQ4.js} +22 -6
- package/dist/{chunk-PKMSTN65.mjs → chunk-PHWAXBFG.mjs} +1 -1
- package/dist/{chunk-OF4MY6EC.mjs → chunk-U5RXZ2IL.mjs} +1 -1
- package/dist/{chunk-IQZX54SQ.js → chunk-UC3UXUVN.js} +16 -2
- package/dist/{chunk-OZLSZQXF.mjs → chunk-WH4J6PHF.mjs} +37 -35
- package/dist/{chunk-AQE5RZDE.mjs → chunk-ZDKGABPQ.mjs} +1 -1
- package/dist/components/ActivityFeed.d.mts +2 -2
- package/dist/components/ActivityFeed.d.ts +2 -2
- package/dist/components/Alert.d.mts +5 -5
- package/dist/components/Alert.d.ts +5 -5
- package/dist/components/Anchor.d.mts +2 -2
- package/dist/components/Anchor.d.ts +2 -2
- package/dist/components/BackTop.d.mts +1 -1
- package/dist/components/BackTop.d.ts +1 -1
- package/dist/components/ButtonGroup.d.mts +1 -1
- package/dist/components/ButtonGroup.d.ts +1 -1
- package/dist/components/Card.d.mts +1 -1
- package/dist/components/Card.d.ts +1 -1
- package/dist/components/CodeEditor.d.mts +1 -1
- package/dist/components/CodeEditor.d.ts +1 -1
- package/dist/components/CollapsePanel.d.mts +1 -1
- package/dist/components/CollapsePanel.d.ts +1 -1
- package/dist/components/CommentThread.d.mts +1 -1
- package/dist/components/CommentThread.d.ts +1 -1
- package/dist/components/Countdown.d.mts +1 -1
- package/dist/components/Countdown.d.ts +1 -1
- package/dist/components/CropUpload.js +4 -3
- package/dist/components/CropUpload.mjs +3 -2
- package/dist/components/DataTableWithToolbar.d.mts +3 -3
- package/dist/components/DataTableWithToolbar.d.ts +3 -3
- package/dist/components/DataTableWithToolbar.js +3 -3
- package/dist/components/DataTableWithToolbar.mjs +2 -2
- package/dist/components/DatePicker.d.mts +1 -1
- package/dist/components/DatePicker.d.ts +1 -1
- package/dist/components/Descriptions.d.mts +1 -1
- package/dist/components/Descriptions.d.ts +1 -1
- package/dist/components/Drawer.d.mts +21 -5
- package/dist/components/Drawer.d.ts +21 -5
- package/dist/components/Drawer.js +3 -2
- package/dist/components/Drawer.mjs +2 -1
- package/dist/components/Empty.d.mts +1 -1
- package/dist/components/Empty.d.ts +1 -1
- package/dist/components/FileManager.d.mts +1 -1
- package/dist/components/FileManager.d.ts +1 -1
- package/dist/components/FormWizard.d.mts +14 -4
- package/dist/components/FormWizard.d.ts +14 -4
- package/dist/components/FormWizard.js +2 -2
- package/dist/components/FormWizard.mjs +1 -1
- package/dist/components/HeatmapChart.d.mts +1 -1
- package/dist/components/HeatmapChart.d.ts +1 -1
- package/dist/components/InfiniteScroll.d.mts +1 -1
- package/dist/components/InfiniteScroll.d.ts +1 -1
- package/dist/components/Kanban.d.mts +1 -1
- package/dist/components/Kanban.d.ts +1 -1
- package/dist/components/Kanban.js +3 -3
- package/dist/components/Kanban.mjs +2 -2
- package/dist/components/List.d.mts +2 -2
- package/dist/components/List.d.ts +2 -2
- package/dist/components/MarkdownEditor.d.mts +1 -1
- package/dist/components/MarkdownEditor.d.ts +1 -1
- package/dist/components/Menu.d.mts +5 -5
- package/dist/components/Menu.d.ts +5 -5
- package/dist/components/Modal.d.mts +25 -9
- package/dist/components/Modal.d.ts +25 -9
- package/dist/components/Modal.js +3 -2
- package/dist/components/Modal.mjs +2 -1
- package/dist/components/NotificationCenter.d.mts +3 -3
- package/dist/components/NotificationCenter.d.ts +3 -3
- package/dist/components/NumberKeyboard.d.mts +1 -1
- package/dist/components/NumberKeyboard.d.ts +1 -1
- package/dist/components/Pagination.d.mts +23 -3
- package/dist/components/Pagination.d.ts +23 -3
- package/dist/components/Pagination.js +3 -2
- package/dist/components/Pagination.mjs +2 -1
- package/dist/components/Popconfirm.d.mts +5 -5
- package/dist/components/Popconfirm.d.ts +5 -5
- package/dist/components/Popover.d.mts +1 -1
- package/dist/components/Popover.d.ts +1 -1
- package/dist/components/Result.d.mts +1 -1
- package/dist/components/Result.d.ts +1 -1
- package/dist/components/ScrollSpy.d.mts +1 -1
- package/dist/components/ScrollSpy.d.ts +1 -1
- package/dist/components/Space.d.mts +1 -1
- package/dist/components/Space.d.ts +1 -1
- package/dist/components/Splitter.d.mts +1 -1
- package/dist/components/Splitter.d.ts +1 -1
- package/dist/components/Spotlight.d.mts +4 -4
- package/dist/components/Spotlight.d.ts +4 -4
- package/dist/components/Statistic.d.mts +1 -1
- package/dist/components/Statistic.d.ts +1 -1
- package/dist/components/Steps.d.mts +2 -2
- package/dist/components/Steps.d.ts +2 -2
- package/dist/components/Table.d.mts +1 -1
- package/dist/components/Table.d.ts +1 -1
- package/dist/components/Table.js +2 -2
- package/dist/components/Table.mjs +1 -1
- package/dist/components/Tabs.d.mts +2 -2
- package/dist/components/Tabs.d.ts +2 -2
- package/dist/components/Tag.d.mts +2 -2
- package/dist/components/Tag.d.ts +2 -2
- package/dist/components/TaskBoard.d.mts +12 -2
- package/dist/components/TaskBoard.d.ts +12 -2
- package/dist/components/TaskBoard.js +2 -2
- package/dist/components/TaskBoard.mjs +1 -1
- package/dist/components/TimePicker.d.mts +2 -2
- package/dist/components/TimePicker.d.ts +2 -2
- package/dist/components/Timeline.d.mts +2 -2
- package/dist/components/Timeline.d.ts +2 -2
- package/dist/components/Tour.d.mts +4 -4
- package/dist/components/Tour.d.ts +4 -4
- package/dist/components/Tree.d.mts +2 -2
- package/dist/components/Tree.d.ts +2 -2
- package/dist/components/Upload.d.mts +4 -4
- package/dist/components/Upload.d.ts +4 -4
- package/dist/components/VirtualTable.d.mts +1 -1
- package/dist/components/VirtualTable.d.ts +1 -1
- package/dist/components/VirtualTable.js +2 -2
- package/dist/components/VirtualTable.mjs +1 -1
- package/dist/index.js +11 -11
- package/dist/index.mjs +10 -10
- package/package.json +2 -2
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as vue from 'vue';
|
|
2
2
|
import { PropType } from 'vue';
|
|
3
|
-
import { WizardStep, StepsDirection, StepSize, FormWizardValidator, TigerLocale } from '@expcat/tigercat-core';
|
|
3
|
+
import { WizardStep, StepsDirection, StepSize, FormWizardValidator, TigerLocale, TigerLocaleFormWizard } from '@expcat/tigercat-core';
|
|
4
4
|
|
|
5
5
|
interface VueFormWizardProps {
|
|
6
6
|
steps?: WizardStep[];
|
|
@@ -17,6 +17,7 @@ interface VueFormWizardProps {
|
|
|
17
17
|
finishText?: string;
|
|
18
18
|
beforeNext?: FormWizardValidator;
|
|
19
19
|
locale?: Partial<TigerLocale>;
|
|
20
|
+
labels?: Partial<TigerLocaleFormWizard>;
|
|
20
21
|
className?: string;
|
|
21
22
|
style?: Record<string, string | number>;
|
|
22
23
|
}
|
|
@@ -77,6 +78,10 @@ declare const FormWizard: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
77
78
|
type: PropType<Partial<TigerLocale>>;
|
|
78
79
|
default: undefined;
|
|
79
80
|
};
|
|
81
|
+
labels: {
|
|
82
|
+
type: PropType<Partial<TigerLocaleFormWizard>>;
|
|
83
|
+
default: undefined;
|
|
84
|
+
};
|
|
80
85
|
bordered: {
|
|
81
86
|
type: BooleanConstructor;
|
|
82
87
|
default: boolean;
|
|
@@ -152,6 +157,10 @@ declare const FormWizard: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
152
157
|
type: PropType<Partial<TigerLocale>>;
|
|
153
158
|
default: undefined;
|
|
154
159
|
};
|
|
160
|
+
labels: {
|
|
161
|
+
type: PropType<Partial<TigerLocaleFormWizard>>;
|
|
162
|
+
default: undefined;
|
|
163
|
+
};
|
|
155
164
|
bordered: {
|
|
156
165
|
type: BooleanConstructor;
|
|
157
166
|
default: boolean;
|
|
@@ -173,14 +182,15 @@ declare const FormWizard: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
173
182
|
onFinish?: ((...args: any[]) => any) | undefined;
|
|
174
183
|
"onUpdate:current"?: ((...args: any[]) => any) | undefined;
|
|
175
184
|
}>, {
|
|
176
|
-
size: StepSize;
|
|
177
|
-
className: string;
|
|
178
|
-
style: Record<string, string | number>;
|
|
179
185
|
locale: Partial<TigerLocale>;
|
|
180
186
|
direction: StepsDirection;
|
|
187
|
+
labels: Partial<TigerLocaleFormWizard>;
|
|
181
188
|
prevText: string;
|
|
182
189
|
nextText: string;
|
|
183
190
|
finishText: string;
|
|
191
|
+
size: StepSize;
|
|
192
|
+
className: string;
|
|
193
|
+
style: Record<string, string | number>;
|
|
184
194
|
bordered: boolean;
|
|
185
195
|
defaultCurrent: number;
|
|
186
196
|
current: number;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunkBXS7OSVFjs = require('../chunk-BXS7OSVF.js');
|
|
5
5
|
require('../chunk-DS7RQFEG.js');
|
|
6
6
|
require('../chunk-25EYT2CB.js');
|
|
7
7
|
require('../chunk-4VLNT2ED.js');
|
|
@@ -9,4 +9,4 @@ require('../chunk-7ADONGSB.js');
|
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
|
|
12
|
-
exports.FormWizard =
|
|
12
|
+
exports.FormWizard = _chunkBXS7OSVFjs.FormWizard; exports.default = _chunkBXS7OSVFjs.FormWizard_default;
|
|
@@ -216,7 +216,7 @@ declare const HeatmapChart: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
216
216
|
padding: ChartPadding;
|
|
217
217
|
hoverable: boolean;
|
|
218
218
|
selectable: boolean;
|
|
219
|
-
renderMode: "
|
|
219
|
+
renderMode: "auto" | "canvas" | "svg";
|
|
220
220
|
hoveredIndex: number | null;
|
|
221
221
|
activeOpacity: number;
|
|
222
222
|
inactiveOpacity: number;
|
|
@@ -216,7 +216,7 @@ declare const HeatmapChart: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
216
216
|
padding: ChartPadding;
|
|
217
217
|
hoverable: boolean;
|
|
218
218
|
selectable: boolean;
|
|
219
|
-
renderMode: "
|
|
219
|
+
renderMode: "auto" | "canvas" | "svg";
|
|
220
220
|
hoveredIndex: number | null;
|
|
221
221
|
activeOpacity: number;
|
|
222
222
|
inactiveOpacity: number;
|
|
@@ -91,9 +91,9 @@ declare const InfiniteScroll: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
91
91
|
}>> & Readonly<{
|
|
92
92
|
"onLoad-more"?: ((...args: any[]) => any) | undefined;
|
|
93
93
|
}>, {
|
|
94
|
-
className: string;
|
|
95
94
|
direction: "vertical" | "horizontal";
|
|
96
95
|
loadingText: string;
|
|
96
|
+
className: string;
|
|
97
97
|
disabled: boolean;
|
|
98
98
|
loading: boolean;
|
|
99
99
|
threshold: number;
|
|
@@ -91,9 +91,9 @@ declare const InfiniteScroll: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
91
91
|
}>> & Readonly<{
|
|
92
92
|
"onLoad-more"?: ((...args: any[]) => any) | undefined;
|
|
93
93
|
}>, {
|
|
94
|
-
className: string;
|
|
95
94
|
direction: "vertical" | "horizontal";
|
|
96
95
|
loadingText: string;
|
|
96
|
+
className: string;
|
|
97
97
|
disabled: boolean;
|
|
98
98
|
loading: boolean;
|
|
99
99
|
threshold: number;
|
|
@@ -159,9 +159,9 @@ declare const Kanban: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
159
159
|
"onColumn-add"?: ((...args: any[]) => any) | undefined;
|
|
160
160
|
"onUpdate:columns"?: ((...args: any[]) => any) | undefined;
|
|
161
161
|
}>, {
|
|
162
|
+
locale: Partial<TigerLocale>;
|
|
162
163
|
className: string;
|
|
163
164
|
style: Record<string, string | number>;
|
|
164
|
-
locale: Partial<TigerLocale>;
|
|
165
165
|
columns: TaskBoardColumn[];
|
|
166
166
|
columnDraggable: boolean;
|
|
167
167
|
draggable: boolean;
|
|
@@ -159,9 +159,9 @@ declare const Kanban: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
159
159
|
"onColumn-add"?: ((...args: any[]) => any) | undefined;
|
|
160
160
|
"onUpdate:columns"?: ((...args: any[]) => any) | undefined;
|
|
161
161
|
}>, {
|
|
162
|
+
locale: Partial<TigerLocale>;
|
|
162
163
|
className: string;
|
|
163
164
|
style: Record<string, string | number>;
|
|
164
|
-
locale: Partial<TigerLocale>;
|
|
165
165
|
columns: TaskBoardColumn[];
|
|
166
166
|
columnDraggable: boolean;
|
|
167
167
|
draggable: boolean;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
5
|
-
require('../chunk-
|
|
4
|
+
var _chunkLZHCKW2Zjs = require('../chunk-LZHCKW2Z.js');
|
|
5
|
+
require('../chunk-OKLDFVDJ.js');
|
|
6
6
|
require('../chunk-25EYT2CB.js');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
exports.Kanban =
|
|
10
|
+
exports.Kanban = _chunkLZHCKW2Zjs.Kanban; exports.default = _chunkLZHCKW2Zjs.Kanban_default;
|
|
@@ -281,11 +281,11 @@ declare const List: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
281
281
|
"onItem-click"?: ((...args: any[]) => any) | undefined;
|
|
282
282
|
onReorder?: ((...args: any[]) => any) | undefined;
|
|
283
283
|
}>, {
|
|
284
|
+
pagination: false | ListPaginationConfig;
|
|
285
|
+
emptyText: string;
|
|
284
286
|
size: ListSize;
|
|
285
287
|
className: string;
|
|
286
288
|
style: Record<string, string | number>;
|
|
287
|
-
pagination: false | ListPaginationConfig;
|
|
288
|
-
emptyText: string;
|
|
289
289
|
loading: boolean;
|
|
290
290
|
virtual: boolean;
|
|
291
291
|
dataSource: ListItem[];
|
|
@@ -281,11 +281,11 @@ declare const List: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
281
281
|
"onItem-click"?: ((...args: any[]) => any) | undefined;
|
|
282
282
|
onReorder?: ((...args: any[]) => any) | undefined;
|
|
283
283
|
}>, {
|
|
284
|
+
pagination: false | ListPaginationConfig;
|
|
285
|
+
emptyText: string;
|
|
284
286
|
size: ListSize;
|
|
285
287
|
className: string;
|
|
286
288
|
style: Record<string, string | number>;
|
|
287
|
-
pagination: false | ListPaginationConfig;
|
|
288
|
-
emptyText: string;
|
|
289
289
|
loading: boolean;
|
|
290
290
|
virtual: boolean;
|
|
291
291
|
dataSource: ListItem[];
|
|
@@ -132,8 +132,8 @@ declare const MarkdownEditor: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
132
132
|
"onMode-change"?: ((...args: any[]) => any) | undefined;
|
|
133
133
|
}>, {
|
|
134
134
|
className: string;
|
|
135
|
-
style: Record<string, string | number>;
|
|
136
135
|
mode: MarkdownEditorMode;
|
|
136
|
+
style: Record<string, string | number>;
|
|
137
137
|
disabled: boolean;
|
|
138
138
|
value: string;
|
|
139
139
|
defaultValue: string;
|
|
@@ -132,8 +132,8 @@ declare const MarkdownEditor: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
132
132
|
"onMode-change"?: ((...args: any[]) => any) | undefined;
|
|
133
133
|
}>, {
|
|
134
134
|
className: string;
|
|
135
|
-
style: Record<string, string | number>;
|
|
136
135
|
mode: MarkdownEditorMode;
|
|
136
|
+
style: Record<string, string | number>;
|
|
137
137
|
disabled: boolean;
|
|
138
138
|
value: string;
|
|
139
139
|
defaultValue: string;
|
|
@@ -260,11 +260,11 @@ declare const Menu: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
260
260
|
"onUpdate:searchValue"?: ((...args: any[]) => any) | undefined;
|
|
261
261
|
"onOpen-change"?: ((...args: any[]) => any) | undefined;
|
|
262
262
|
}>, {
|
|
263
|
-
className: string;
|
|
264
|
-
style: Record<string, string | number> | undefined;
|
|
265
|
-
mode: MenuMode;
|
|
266
263
|
theme: MenuTheme;
|
|
267
264
|
emptyText: string;
|
|
265
|
+
className: string;
|
|
266
|
+
mode: MenuMode;
|
|
267
|
+
style: Record<string, string | number> | undefined;
|
|
268
268
|
searchable: boolean;
|
|
269
269
|
multiple: boolean;
|
|
270
270
|
collapsed: boolean;
|
|
@@ -430,9 +430,9 @@ declare const MenuItemGroup: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
430
430
|
default: undefined;
|
|
431
431
|
};
|
|
432
432
|
}>> & Readonly<{}>, {
|
|
433
|
-
title: string;
|
|
434
433
|
className: string;
|
|
435
434
|
style: Record<string, string | number>;
|
|
435
|
+
title: string;
|
|
436
436
|
level: number;
|
|
437
437
|
collapsed: boolean;
|
|
438
438
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
@@ -543,9 +543,9 @@ declare const SubMenu: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
543
543
|
default: undefined;
|
|
544
544
|
};
|
|
545
545
|
}>> & Readonly<{}>, {
|
|
546
|
-
title: string;
|
|
547
546
|
className: string;
|
|
548
547
|
style: Record<string, string | number>;
|
|
548
|
+
title: string;
|
|
549
549
|
disabled: boolean;
|
|
550
550
|
level: number;
|
|
551
551
|
collapsed: boolean;
|
|
@@ -260,11 +260,11 @@ declare const Menu: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
260
260
|
"onUpdate:searchValue"?: ((...args: any[]) => any) | undefined;
|
|
261
261
|
"onOpen-change"?: ((...args: any[]) => any) | undefined;
|
|
262
262
|
}>, {
|
|
263
|
-
className: string;
|
|
264
|
-
style: Record<string, string | number> | undefined;
|
|
265
|
-
mode: MenuMode;
|
|
266
263
|
theme: MenuTheme;
|
|
267
264
|
emptyText: string;
|
|
265
|
+
className: string;
|
|
266
|
+
mode: MenuMode;
|
|
267
|
+
style: Record<string, string | number> | undefined;
|
|
268
268
|
searchable: boolean;
|
|
269
269
|
multiple: boolean;
|
|
270
270
|
collapsed: boolean;
|
|
@@ -430,9 +430,9 @@ declare const MenuItemGroup: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
430
430
|
default: undefined;
|
|
431
431
|
};
|
|
432
432
|
}>> & Readonly<{}>, {
|
|
433
|
-
title: string;
|
|
434
433
|
className: string;
|
|
435
434
|
style: Record<string, string | number>;
|
|
435
|
+
title: string;
|
|
436
436
|
level: number;
|
|
437
437
|
collapsed: boolean;
|
|
438
438
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
@@ -543,9 +543,9 @@ declare const SubMenu: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
543
543
|
default: undefined;
|
|
544
544
|
};
|
|
545
545
|
}>> & Readonly<{}>, {
|
|
546
|
-
title: string;
|
|
547
546
|
className: string;
|
|
548
547
|
style: Record<string, string | number>;
|
|
548
|
+
title: string;
|
|
549
549
|
disabled: boolean;
|
|
550
550
|
level: number;
|
|
551
551
|
collapsed: boolean;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as vue from 'vue';
|
|
2
2
|
import { PropType } from 'vue';
|
|
3
|
-
import { ModalSize, TigerLocale } from '@expcat/tigercat-core';
|
|
3
|
+
import { ModalSize, TigerLocale, TigerLocaleModal } from '@expcat/tigercat-core';
|
|
4
4
|
|
|
5
5
|
interface VueModalProps {
|
|
6
6
|
open?: boolean;
|
|
@@ -19,6 +19,7 @@ interface VueModalProps {
|
|
|
19
19
|
okText?: string;
|
|
20
20
|
cancelText?: string;
|
|
21
21
|
locale?: Partial<TigerLocale>;
|
|
22
|
+
labels?: Partial<TigerLocaleModal>;
|
|
22
23
|
}
|
|
23
24
|
declare const Modal: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
24
25
|
/**
|
|
@@ -152,6 +153,13 @@ declare const Modal: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
152
153
|
type: PropType<Partial<TigerLocale>>;
|
|
153
154
|
default: undefined;
|
|
154
155
|
};
|
|
156
|
+
/**
|
|
157
|
+
* Flat custom-text overrides for single-language use (no i18n needed).
|
|
158
|
+
*/
|
|
159
|
+
labels: {
|
|
160
|
+
type: PropType<Partial<TigerLocaleModal>>;
|
|
161
|
+
default: undefined;
|
|
162
|
+
};
|
|
155
163
|
/**
|
|
156
164
|
* Whether to render a default footer when no `footer` slot is provided
|
|
157
165
|
* @default false
|
|
@@ -177,7 +185,7 @@ declare const Modal: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
177
185
|
type: BooleanConstructor;
|
|
178
186
|
default: boolean;
|
|
179
187
|
};
|
|
180
|
-
}>, () => vue.VNodeChild, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, ("
|
|
188
|
+
}>, () => vue.VNodeChild, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, ("ok" | "cancel" | "close" | "update:open")[], "ok" | "cancel" | "close" | "update:open", vue.PublicProps, Readonly<vue.ExtractPropTypes<{
|
|
181
189
|
/**
|
|
182
190
|
* Whether the modal is open
|
|
183
191
|
* @default false
|
|
@@ -309,6 +317,13 @@ declare const Modal: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
309
317
|
type: PropType<Partial<TigerLocale>>;
|
|
310
318
|
default: undefined;
|
|
311
319
|
};
|
|
320
|
+
/**
|
|
321
|
+
* Flat custom-text overrides for single-language use (no i18n needed).
|
|
322
|
+
*/
|
|
323
|
+
labels: {
|
|
324
|
+
type: PropType<Partial<TigerLocaleModal>>;
|
|
325
|
+
default: undefined;
|
|
326
|
+
};
|
|
312
327
|
/**
|
|
313
328
|
* Whether to render a default footer when no `footer` slot is provided
|
|
314
329
|
* @default false
|
|
@@ -335,24 +350,25 @@ declare const Modal: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
335
350
|
default: boolean;
|
|
336
351
|
};
|
|
337
352
|
}>> & Readonly<{
|
|
338
|
-
onClose?: ((...args: any[]) => any) | undefined;
|
|
339
353
|
onCancel?: ((...args: any[]) => any) | undefined;
|
|
354
|
+
onClose?: ((...args: any[]) => any) | undefined;
|
|
340
355
|
"onUpdate:open"?: ((...args: any[]) => any) | undefined;
|
|
341
356
|
onOk?: ((...args: any[]) => any) | undefined;
|
|
342
357
|
}>, {
|
|
343
|
-
size: ModalSize;
|
|
344
|
-
title: string;
|
|
345
|
-
closable: boolean;
|
|
346
|
-
closeAriaLabel: string;
|
|
347
|
-
className: string;
|
|
348
|
-
style: Record<string, unknown>;
|
|
349
358
|
locale: Partial<TigerLocale>;
|
|
350
359
|
okText: string;
|
|
351
360
|
cancelText: string;
|
|
361
|
+
closeAriaLabel: string;
|
|
362
|
+
labels: Partial<TigerLocaleModal>;
|
|
363
|
+
size: ModalSize;
|
|
364
|
+
className: string;
|
|
365
|
+
style: Record<string, unknown>;
|
|
366
|
+
title: string;
|
|
352
367
|
mask: boolean;
|
|
353
368
|
open: boolean;
|
|
354
369
|
width: string | number;
|
|
355
370
|
draggable: boolean;
|
|
371
|
+
closable: boolean;
|
|
356
372
|
zIndex: number;
|
|
357
373
|
maskClosable: boolean;
|
|
358
374
|
centered: boolean;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as vue from 'vue';
|
|
2
2
|
import { PropType } from 'vue';
|
|
3
|
-
import { ModalSize, TigerLocale } from '@expcat/tigercat-core';
|
|
3
|
+
import { ModalSize, TigerLocale, TigerLocaleModal } from '@expcat/tigercat-core';
|
|
4
4
|
|
|
5
5
|
interface VueModalProps {
|
|
6
6
|
open?: boolean;
|
|
@@ -19,6 +19,7 @@ interface VueModalProps {
|
|
|
19
19
|
okText?: string;
|
|
20
20
|
cancelText?: string;
|
|
21
21
|
locale?: Partial<TigerLocale>;
|
|
22
|
+
labels?: Partial<TigerLocaleModal>;
|
|
22
23
|
}
|
|
23
24
|
declare const Modal: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
24
25
|
/**
|
|
@@ -152,6 +153,13 @@ declare const Modal: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
152
153
|
type: PropType<Partial<TigerLocale>>;
|
|
153
154
|
default: undefined;
|
|
154
155
|
};
|
|
156
|
+
/**
|
|
157
|
+
* Flat custom-text overrides for single-language use (no i18n needed).
|
|
158
|
+
*/
|
|
159
|
+
labels: {
|
|
160
|
+
type: PropType<Partial<TigerLocaleModal>>;
|
|
161
|
+
default: undefined;
|
|
162
|
+
};
|
|
155
163
|
/**
|
|
156
164
|
* Whether to render a default footer when no `footer` slot is provided
|
|
157
165
|
* @default false
|
|
@@ -177,7 +185,7 @@ declare const Modal: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
177
185
|
type: BooleanConstructor;
|
|
178
186
|
default: boolean;
|
|
179
187
|
};
|
|
180
|
-
}>, () => vue.VNodeChild, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, ("
|
|
188
|
+
}>, () => vue.VNodeChild, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, ("ok" | "cancel" | "close" | "update:open")[], "ok" | "cancel" | "close" | "update:open", vue.PublicProps, Readonly<vue.ExtractPropTypes<{
|
|
181
189
|
/**
|
|
182
190
|
* Whether the modal is open
|
|
183
191
|
* @default false
|
|
@@ -309,6 +317,13 @@ declare const Modal: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
309
317
|
type: PropType<Partial<TigerLocale>>;
|
|
310
318
|
default: undefined;
|
|
311
319
|
};
|
|
320
|
+
/**
|
|
321
|
+
* Flat custom-text overrides for single-language use (no i18n needed).
|
|
322
|
+
*/
|
|
323
|
+
labels: {
|
|
324
|
+
type: PropType<Partial<TigerLocaleModal>>;
|
|
325
|
+
default: undefined;
|
|
326
|
+
};
|
|
312
327
|
/**
|
|
313
328
|
* Whether to render a default footer when no `footer` slot is provided
|
|
314
329
|
* @default false
|
|
@@ -335,24 +350,25 @@ declare const Modal: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
335
350
|
default: boolean;
|
|
336
351
|
};
|
|
337
352
|
}>> & Readonly<{
|
|
338
|
-
onClose?: ((...args: any[]) => any) | undefined;
|
|
339
353
|
onCancel?: ((...args: any[]) => any) | undefined;
|
|
354
|
+
onClose?: ((...args: any[]) => any) | undefined;
|
|
340
355
|
"onUpdate:open"?: ((...args: any[]) => any) | undefined;
|
|
341
356
|
onOk?: ((...args: any[]) => any) | undefined;
|
|
342
357
|
}>, {
|
|
343
|
-
size: ModalSize;
|
|
344
|
-
title: string;
|
|
345
|
-
closable: boolean;
|
|
346
|
-
closeAriaLabel: string;
|
|
347
|
-
className: string;
|
|
348
|
-
style: Record<string, unknown>;
|
|
349
358
|
locale: Partial<TigerLocale>;
|
|
350
359
|
okText: string;
|
|
351
360
|
cancelText: string;
|
|
361
|
+
closeAriaLabel: string;
|
|
362
|
+
labels: Partial<TigerLocaleModal>;
|
|
363
|
+
size: ModalSize;
|
|
364
|
+
className: string;
|
|
365
|
+
style: Record<string, unknown>;
|
|
366
|
+
title: string;
|
|
352
367
|
mask: boolean;
|
|
353
368
|
open: boolean;
|
|
354
369
|
width: string | number;
|
|
355
370
|
draggable: boolean;
|
|
371
|
+
closable: boolean;
|
|
356
372
|
zIndex: number;
|
|
357
373
|
maskClosable: boolean;
|
|
358
374
|
centered: boolean;
|
package/dist/components/Modal.js
CHANGED
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunkPACAXQQ4js = require('../chunk-PACAXQQ4.js');
|
|
5
|
+
require('../chunk-25EYT2CB.js');
|
|
5
6
|
require('../chunk-4VLNT2ED.js');
|
|
6
7
|
require('../chunk-7ADONGSB.js');
|
|
7
8
|
require('../chunk-JDCVS4SJ.js');
|
|
8
9
|
|
|
9
10
|
|
|
10
11
|
|
|
11
|
-
exports.Modal =
|
|
12
|
+
exports.Modal = _chunkPACAXQQ4js.Modal; exports.default = _chunkPACAXQQ4js.Modal_default;
|
|
@@ -187,11 +187,11 @@ declare const NotificationCenter: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
187
187
|
"onMark-all-read"?: ((...args: any[]) => any) | undefined;
|
|
188
188
|
"onItem-read-change"?: ((...args: any[]) => any) | undefined;
|
|
189
189
|
}>, {
|
|
190
|
-
title: string;
|
|
191
|
-
className: string;
|
|
192
|
-
style: Record<string, string | number>;
|
|
193
190
|
loadingText: string;
|
|
194
191
|
emptyText: string;
|
|
192
|
+
className: string;
|
|
193
|
+
style: Record<string, string | number>;
|
|
194
|
+
title: string;
|
|
195
195
|
loading: boolean;
|
|
196
196
|
groupBy: (item: NotificationItem) => string;
|
|
197
197
|
items: NotificationItem[];
|
|
@@ -187,11 +187,11 @@ declare const NotificationCenter: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
187
187
|
"onMark-all-read"?: ((...args: any[]) => any) | undefined;
|
|
188
188
|
"onItem-read-change"?: ((...args: any[]) => any) | undefined;
|
|
189
189
|
}>, {
|
|
190
|
-
title: string;
|
|
191
|
-
className: string;
|
|
192
|
-
style: Record<string, string | number>;
|
|
193
190
|
loadingText: string;
|
|
194
191
|
emptyText: string;
|
|
192
|
+
className: string;
|
|
193
|
+
style: Record<string, string | number>;
|
|
194
|
+
title: string;
|
|
195
195
|
loading: boolean;
|
|
196
196
|
groupBy: (item: NotificationItem) => string;
|
|
197
197
|
items: NotificationItem[];
|
|
@@ -127,8 +127,8 @@ declare const NumberKeyboard: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
127
127
|
onConfirm?: ((...args: any[]) => any) | undefined;
|
|
128
128
|
}>, {
|
|
129
129
|
className: string;
|
|
130
|
-
style: Record<string, unknown>;
|
|
131
130
|
mode: NumberKeyboardMode;
|
|
131
|
+
style: Record<string, unknown>;
|
|
132
132
|
disabled: boolean;
|
|
133
133
|
defaultValue: string;
|
|
134
134
|
modelValue: string;
|
|
@@ -127,8 +127,8 @@ declare const NumberKeyboard: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
127
127
|
onConfirm?: ((...args: any[]) => any) | undefined;
|
|
128
128
|
}>, {
|
|
129
129
|
className: string;
|
|
130
|
-
style: Record<string, unknown>;
|
|
131
130
|
mode: NumberKeyboardMode;
|
|
131
|
+
style: Record<string, unknown>;
|
|
132
132
|
disabled: boolean;
|
|
133
133
|
defaultValue: string;
|
|
134
134
|
modelValue: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as vue from 'vue';
|
|
2
2
|
import { PropType } from 'vue';
|
|
3
|
-
import { PaginationPageSizeOptionItem, PaginationSize, PaginationAlign, TigerLocaleInput } from '@expcat/tigercat-core';
|
|
3
|
+
import { PaginationPageSizeOptionItem, PaginationSize, PaginationAlign, TigerLocaleInput, TigerLocalePagination } from '@expcat/tigercat-core';
|
|
4
4
|
|
|
5
5
|
interface VuePaginationProps {
|
|
6
6
|
current?: number;
|
|
@@ -29,6 +29,11 @@ interface VuePaginationProps {
|
|
|
29
29
|
* Locale configuration for i18n support
|
|
30
30
|
*/
|
|
31
31
|
locale?: TigerLocaleInput;
|
|
32
|
+
/**
|
|
33
|
+
* Flat custom-text overrides for single-language use (no i18n needed).
|
|
34
|
+
* Takes precedence over `locale` and global ConfigProvider text.
|
|
35
|
+
*/
|
|
36
|
+
labels?: Partial<TigerLocalePagination>;
|
|
32
37
|
}
|
|
33
38
|
declare const Pagination: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
34
39
|
/**
|
|
@@ -176,6 +181,13 @@ declare const Pagination: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
176
181
|
type: PropType<TigerLocaleInput>;
|
|
177
182
|
default: undefined;
|
|
178
183
|
};
|
|
184
|
+
/**
|
|
185
|
+
* Flat custom-text overrides for single-language use (no i18n needed).
|
|
186
|
+
*/
|
|
187
|
+
labels: {
|
|
188
|
+
type: PropType<Partial<TigerLocalePagination>>;
|
|
189
|
+
default: undefined;
|
|
190
|
+
};
|
|
179
191
|
quickJumperValidation: {
|
|
180
192
|
type: PropType<{
|
|
181
193
|
delay?: number;
|
|
@@ -331,6 +343,13 @@ declare const Pagination: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
331
343
|
type: PropType<TigerLocaleInput>;
|
|
332
344
|
default: undefined;
|
|
333
345
|
};
|
|
346
|
+
/**
|
|
347
|
+
* Flat custom-text overrides for single-language use (no i18n needed).
|
|
348
|
+
*/
|
|
349
|
+
labels: {
|
|
350
|
+
type: PropType<Partial<TigerLocalePagination>>;
|
|
351
|
+
default: undefined;
|
|
352
|
+
};
|
|
334
353
|
quickJumperValidation: {
|
|
335
354
|
type: PropType<{
|
|
336
355
|
delay?: number;
|
|
@@ -344,11 +363,12 @@ declare const Pagination: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
344
363
|
"onUpdate:pageSize"?: ((...args: any[]) => any) | undefined;
|
|
345
364
|
"onPage-size-change"?: ((...args: any[]) => any) | undefined;
|
|
346
365
|
}>, {
|
|
366
|
+
locale: TigerLocaleInput;
|
|
367
|
+
totalText: (total: number, range: [number, number]) => string;
|
|
368
|
+
labels: Partial<TigerLocalePagination>;
|
|
347
369
|
size: PaginationSize;
|
|
348
370
|
className: string;
|
|
349
371
|
style: Record<string, unknown>;
|
|
350
|
-
locale: TigerLocaleInput;
|
|
351
|
-
totalText: (total: number, range: [number, number]) => string;
|
|
352
372
|
disabled: boolean;
|
|
353
373
|
align: PaginationAlign;
|
|
354
374
|
defaultCurrent: number;
|