@expcat/tigercat-vue 2.0.0-preview.1 → 2.0.0-preview.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{chunk-Z7QUWBFR.mjs → chunk-22NIOTDQ.mjs} +1 -1
- package/dist/{chunk-QD5ZCKPR.mjs → chunk-2XCXK3NQ.mjs} +1 -1
- package/dist/{chunk-KRWKO2JQ.mjs → chunk-342DH5CF.mjs} +1 -1
- package/dist/{chunk-JCGWN7WV.mjs → chunk-36TZA5BH.mjs} +1 -1
- package/dist/{chunk-NYWIBDO6.mjs → chunk-3KITFMBJ.mjs} +1 -1
- package/dist/{chunk-B47QLHVW.mjs → chunk-3NQUEQJT.mjs} +4 -4
- package/dist/{chunk-W7X5ZHJ3.mjs → chunk-3WQIYF4T.mjs} +4 -4
- package/dist/{chunk-YSKG5FSX.mjs → chunk-42P6ZQ3J.mjs} +1 -1
- package/dist/{chunk-V5ZEPAWV.mjs → chunk-4BO6JNA6.mjs} +1 -1
- package/dist/{chunk-GL63FRI4.mjs → chunk-4SLYX5GK.mjs} +1 -1
- package/dist/{chunk-Z4SG7REU.mjs → chunk-5E4LINDO.mjs} +5 -3
- package/dist/{chunk-FHJ3R57L.mjs → chunk-5KPO3EDM.mjs} +5 -2
- package/dist/{chunk-CF4GX6BD.mjs → chunk-5RIHHZF6.mjs} +12 -4
- package/dist/{chunk-6FV2OMB7.mjs → chunk-6LORRRRB.mjs} +1 -1
- package/dist/{chunk-CW5TEG7N.mjs → chunk-7CPMXNLK.mjs} +1 -1
- package/dist/{chunk-EQDCFOWR.mjs → chunk-7FWNN6PO.mjs} +75 -22
- package/dist/{chunk-4IZUJJUO.mjs → chunk-7JT5ZIHC.mjs} +1 -1
- package/dist/{chunk-6G5FEZLT.mjs → chunk-7XENCCN5.mjs} +3 -3
- package/dist/{chunk-KR3D2JOA.mjs → chunk-AWCXUDIL.mjs} +3 -3
- package/dist/{chunk-GTFAC625.mjs → chunk-BGGHSTMP.mjs} +1 -1
- package/dist/{chunk-DOVBKVTB.mjs → chunk-CFH5T3V2.mjs} +3 -3
- package/dist/{chunk-IQNZ4UEA.mjs → chunk-D4APFWWS.mjs} +1 -1
- package/dist/{chunk-7LCUVR63.mjs → chunk-DCMRB3HR.mjs} +15 -4
- package/dist/{chunk-WYJ5WOT2.mjs → chunk-DWK5GUMB.mjs} +9 -3
- package/dist/{chunk-EVIZXEB2.mjs → chunk-E6EZHSGY.mjs} +1 -1
- package/dist/{chunk-2YPPXZ4I.mjs → chunk-EGIMTTZA.mjs} +1 -1
- package/dist/{chunk-4ZKSTL5P.mjs → chunk-EGIQPUEL.mjs} +1 -1
- package/dist/{chunk-UQK22ZMC.mjs → chunk-EWUHEW6W.mjs} +75 -22
- package/dist/{chunk-VFUBOKGT.mjs → chunk-F2IWAV3T.mjs} +1 -1
- package/dist/{chunk-HIXWZVE5.mjs → chunk-FSJRNEZK.mjs} +23 -8
- package/dist/{chunk-MJRFB6ZA.mjs → chunk-GDK5LNP3.mjs} +7 -7
- package/dist/{chunk-Z4NJJ7NI.mjs → chunk-GWFVBG22.mjs} +5 -2
- package/dist/{chunk-GMIKUE67.mjs → chunk-H2SX7D23.mjs} +1 -1
- package/dist/{chunk-FAQL7HFW.mjs → chunk-HAUG3OP5.mjs} +1 -1
- package/dist/{chunk-ODDPVS27.mjs → chunk-IDUEWMWN.mjs} +1 -1
- package/dist/{chunk-GAEO66NY.mjs → chunk-IMFHJEUX.mjs} +1 -1
- package/dist/{chunk-GZWZP5AL.mjs → chunk-JHFM6IFO.mjs} +28 -6
- package/dist/{chunk-V5ANPH5R.mjs → chunk-JL3CN4UK.mjs} +1 -1
- package/dist/{chunk-RTZUIWCN.mjs → chunk-JQSIWPNM.mjs} +1 -1
- package/dist/{chunk-RAO7ZJWR.mjs → chunk-JVQPU4M2.mjs} +5 -2
- package/dist/{chunk-BGO2ILHM.mjs → chunk-JZCETBUV.mjs} +16 -3
- package/dist/{chunk-G7MOTNJO.mjs → chunk-KFJIZED5.mjs} +1 -1
- package/dist/{chunk-YJSWHGAR.mjs → chunk-LFENEILY.mjs} +9 -3
- package/dist/{chunk-JMVALNIO.mjs → chunk-LOC5B4YM.mjs} +17 -14
- package/dist/{chunk-36WSYHJU.mjs → chunk-LPZBXTJ6.mjs} +1 -1
- package/dist/{chunk-O4F75KHL.mjs → chunk-MAKOSWR6.mjs} +1 -1
- package/dist/{chunk-FDKJOVXG.mjs → chunk-MNSVJBNH.mjs} +1 -1
- package/dist/{chunk-E7NE5HEC.mjs → chunk-NEEGXKJW.mjs} +1 -1
- package/dist/{chunk-JPCMI3A4.mjs → chunk-NGAA73CV.mjs} +1 -1
- package/dist/{chunk-AZXS4QWC.mjs → chunk-NNC75I7F.mjs} +1 -1
- package/dist/{chunk-6WF3336O.mjs → chunk-O6BN5R6J.mjs} +1 -1
- package/dist/{chunk-YZATP4VF.mjs → chunk-OHPXOLNB.mjs} +12 -3
- package/dist/{chunk-WBT3WSRE.mjs → chunk-OHR7IUBQ.mjs} +14 -2
- package/dist/chunk-P2LZ2MR5.mjs +6 -0
- package/dist/{chunk-7BU4TW5A.mjs → chunk-P5FDKBXG.mjs} +1 -1
- package/dist/{chunk-2QWGVJW6.mjs → chunk-PQBKN2NH.mjs} +24 -10
- package/dist/{chunk-LOX2KCML.mjs → chunk-PYRKFQ6J.mjs} +3 -3
- package/dist/{chunk-BJV62I73.mjs → chunk-QFG452MD.mjs} +2 -2
- package/dist/{chunk-E2GQSWHK.mjs → chunk-QMECRLHW.mjs} +21 -2
- package/dist/{chunk-UD4FNMJN.mjs → chunk-RANRYFUI.mjs} +23 -6
- package/dist/{chunk-FT2HWF7P.mjs → chunk-RSM6FOWX.mjs} +1 -1
- package/dist/{chunk-GHG2MCLM.mjs → chunk-SJ7W5I5H.mjs} +1 -1
- package/dist/{chunk-WLHOWOAY.mjs → chunk-SJINC5NF.mjs} +1 -1
- package/dist/{chunk-PLUABMUD.mjs → chunk-SWCK7TM7.mjs} +1 -1
- package/dist/chunk-TGXBCKOU.mjs +35 -0
- package/dist/{chunk-EYR27UIE.mjs → chunk-U6OGGZBY.mjs} +25 -2
- package/dist/{chunk-DMQLA35L.mjs → chunk-U75YXWSA.mjs} +1 -1
- package/dist/{chunk-R6WFL6NI.mjs → chunk-UOJOJBEU.mjs} +18 -0
- package/dist/{chunk-IGT4QB7O.mjs → chunk-UUWTKCMY.mjs} +1 -1
- package/dist/{chunk-HLPSHCXO.mjs → chunk-V443QIJM.mjs} +5 -1
- package/dist/{chunk-TM73IWEY.mjs → chunk-XH63C62K.mjs} +1 -1
- package/dist/{chunk-DZFM7H3M.mjs → chunk-XLNK3Z2P.mjs} +26 -5
- package/dist/{chunk-4QCJUILG.mjs → chunk-ZFJNCAZX.mjs} +5 -2
- package/dist/{chunk-XZYFVOOS.mjs → chunk-ZFTRR3KW.mjs} +1 -1
- package/dist/components/ActivityFeed.mjs +8 -7
- package/dist/components/AreaChart.d.mts +21 -2
- package/dist/components/AreaChart.mjs +2 -2
- package/dist/components/AutoComplete.d.mts +1 -1
- package/dist/components/AutoComplete.mjs +3 -2
- package/dist/components/Avatar.mjs +4 -2
- package/dist/components/AvatarGroup.d.mts +25 -1
- package/dist/components/AvatarGroup.mjs +3 -1
- package/dist/components/Badge.mjs +3 -2
- package/dist/components/BarChart.d.mts +21 -2
- package/dist/components/BarChart.mjs +2 -2
- package/dist/components/Calendar.mjs +3 -2
- package/dist/components/Carousel.d.mts +21 -1
- package/dist/components/Carousel.mjs +3 -1
- package/dist/components/Cascader.d.mts +1 -1
- package/dist/components/Cascader.mjs +3 -2
- package/dist/components/ChartLegend.d.mts +10 -0
- package/dist/components/ChartLegend.mjs +1 -1
- package/dist/components/ChatWindow.d.mts +1 -1
- package/dist/components/ChatWindow.mjs +8 -6
- package/dist/components/CodeEditor.d.mts +1 -1
- package/dist/components/ColorPicker.mjs +1 -1
- package/dist/components/CommentThread.mjs +6 -5
- package/dist/components/ConfigProvider.mjs +2 -1
- package/dist/components/CronEditor.d.mts +23 -5
- package/dist/components/CronEditor.mjs +3 -1
- package/dist/components/CropUpload.mjs +5 -4
- package/dist/components/DataTableWithToolbar.mjs +8 -6
- package/dist/components/DatePicker.d.mts +1 -1
- package/dist/components/DatePicker.mjs +3 -2
- package/dist/components/DonutChart.mjs +3 -3
- package/dist/components/Drawer.mjs +3 -2
- package/dist/components/Empty.mjs +3 -2
- package/dist/components/FileManager.mjs +3 -2
- package/dist/components/Form.mjs +3 -2
- package/dist/components/FormItem.mjs +5 -3
- package/dist/components/FormItemContext.d.mts +11 -0
- package/dist/components/FormItemContext.mjs +6 -0
- package/dist/components/FormWizard.mjs +3 -2
- package/dist/components/FunnelChart.mjs +2 -2
- package/dist/components/Image.mjs +4 -3
- package/dist/components/ImageAnnotation.mjs +3 -2
- package/dist/components/ImageCropper.mjs +3 -2
- package/dist/components/ImageGroup.mjs +4 -3
- package/dist/components/ImagePreview.mjs +3 -2
- package/dist/components/ImageViewer.mjs +3 -2
- package/dist/components/InfiniteScroll.mjs +3 -2
- package/dist/components/Input.d.mts +1 -1
- package/dist/components/Input.mjs +2 -1
- package/dist/components/InputNumber.d.mts +20 -0
- package/dist/components/InputNumber.mjs +1 -1
- package/dist/components/Kanban.mjs +4 -3
- package/dist/components/LineChart.d.mts +21 -2
- package/dist/components/LineChart.mjs +2 -2
- package/dist/components/List.mjs +3 -2
- package/dist/components/Loading.mjs +3 -2
- package/dist/components/MarkdownEditor.d.mts +22 -2
- package/dist/components/MarkdownEditor.mjs +3 -1
- package/dist/components/Mentions.d.mts +1 -1
- package/dist/components/Menu.d.mts +1 -1
- package/dist/components/Message.mjs +14 -1
- package/dist/components/MessageContainer.mjs +1 -1
- package/dist/components/MessageRoot.mjs +1 -1
- package/dist/components/Modal.mjs +3 -2
- package/dist/components/Notification.mjs +14 -1
- package/dist/components/NotificationCenter.mjs +6 -5
- package/dist/components/NotificationContainer.mjs +1 -1
- package/dist/components/NotificationRoot.mjs +1 -1
- package/dist/components/NumberKeyboard.mjs +3 -2
- package/dist/components/Pagination.mjs +3 -2
- package/dist/components/PieChart.mjs +2 -2
- package/dist/components/PrintLayout.mjs +1 -1
- package/dist/components/QRCode.mjs +3 -2
- package/dist/components/RadarChart.mjs +2 -2
- package/dist/components/Rate.d.mts +19 -1
- package/dist/components/Rate.mjs +3 -1
- package/dist/components/RichTextEditor.d.mts +22 -2
- package/dist/components/RichTextEditor.mjs +3 -1
- package/dist/components/ScatterChart.d.mts +30 -1
- package/dist/components/ScatterChart.mjs +4 -2
- package/dist/components/Select.d.mts +18 -2
- package/dist/components/Select.mjs +3 -2
- package/dist/components/Signature.mjs +3 -2
- package/dist/components/Spotlight.d.mts +1 -1
- package/dist/components/Spotlight.mjs +3 -2
- package/dist/components/Stepper.d.mts +18 -0
- package/dist/components/Stepper.mjs +1 -1
- package/dist/components/SunburstChart.mjs +2 -2
- package/dist/components/Table.mjs +5 -4
- package/dist/components/Tabs.d.mts +20 -1
- package/dist/components/Tabs.mjs +3 -1
- package/dist/components/Tag.mjs +3 -2
- package/dist/components/TaskBoard.mjs +3 -2
- package/dist/components/Textarea.d.mts +1 -1
- package/dist/components/TimePicker.d.mts +1 -1
- package/dist/components/TimePicker.mjs +3 -2
- package/dist/components/Timeline.mjs +3 -2
- package/dist/components/Tour.mjs +3 -2
- package/dist/components/Transfer.d.mts +16 -7
- package/dist/components/Transfer.mjs +3 -2
- package/dist/components/Tree.mjs +3 -2
- package/dist/components/TreeMapChart.mjs +2 -2
- package/dist/components/TreeSelect.d.mts +1 -1
- package/dist/components/TreeSelect.mjs +3 -2
- package/dist/components/Upload.mjs +3 -2
- package/dist/components/VirtualTable.mjs +3 -2
- package/dist/index.d.mts +1 -1
- package/dist/index.mjs +32 -0
- package/package.json +2 -2
- /package/dist/{chunk-4RKBXGHQ.mjs → chunk-GSB4MNEX.mjs} +0 -0
- /package/dist/{chunk-ESBUNMIG.mjs → chunk-Q3PELK37.mjs} +0 -0
|
@@ -20,7 +20,16 @@ declare const LineChart: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
20
20
|
};
|
|
21
21
|
padding: {
|
|
22
22
|
type: PropType<ChartPadding>;
|
|
23
|
-
default:
|
|
23
|
+
default: () => {
|
|
24
|
+
top: number;
|
|
25
|
+
right: number;
|
|
26
|
+
bottom: number;
|
|
27
|
+
left: number;
|
|
28
|
+
};
|
|
29
|
+
};
|
|
30
|
+
responsive: {
|
|
31
|
+
type: BooleanConstructor;
|
|
32
|
+
default: boolean;
|
|
24
33
|
};
|
|
25
34
|
data: {
|
|
26
35
|
type: PropType<LineChartDatum[]>;
|
|
@@ -210,7 +219,16 @@ declare const LineChart: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
210
219
|
};
|
|
211
220
|
padding: {
|
|
212
221
|
type: PropType<ChartPadding>;
|
|
213
|
-
default:
|
|
222
|
+
default: () => {
|
|
223
|
+
top: number;
|
|
224
|
+
right: number;
|
|
225
|
+
bottom: number;
|
|
226
|
+
left: number;
|
|
227
|
+
};
|
|
228
|
+
};
|
|
229
|
+
responsive: {
|
|
230
|
+
type: BooleanConstructor;
|
|
231
|
+
default: boolean;
|
|
214
232
|
};
|
|
215
233
|
data: {
|
|
216
234
|
type: PropType<LineChartDatum[]>;
|
|
@@ -401,6 +419,7 @@ declare const LineChart: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
401
419
|
hoverable: boolean;
|
|
402
420
|
strokeWidth: number;
|
|
403
421
|
selectable: boolean;
|
|
422
|
+
responsive: boolean;
|
|
404
423
|
xTicks: number;
|
|
405
424
|
yTicks: number;
|
|
406
425
|
showGrid: boolean;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
LineChart,
|
|
3
3
|
LineChart_default
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-GWFVBG22.mjs";
|
|
5
5
|
import "../chunk-PE5OA4YG.mjs";
|
|
6
6
|
import "../chunk-SPFL55TF.mjs";
|
|
7
7
|
import "../chunk-ZWVA7HT3.mjs";
|
|
8
8
|
import "../chunk-W5RZPTFD.mjs";
|
|
9
9
|
import "../chunk-MI6TL3CQ.mjs";
|
|
10
|
-
import "../chunk-
|
|
10
|
+
import "../chunk-V443QIJM.mjs";
|
|
11
11
|
import "../chunk-2ZUEXCVJ.mjs";
|
|
12
12
|
export {
|
|
13
13
|
LineChart,
|
package/dist/components/List.mjs
CHANGED
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
List,
|
|
3
3
|
List_default
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-6LORRRRB.mjs";
|
|
5
5
|
import "../chunk-HS4YQGZQ.mjs";
|
|
6
|
-
import "../chunk-
|
|
6
|
+
import "../chunk-UOJOJBEU.mjs";
|
|
7
|
+
import "../chunk-TGXBCKOU.mjs";
|
|
7
8
|
export {
|
|
8
9
|
List,
|
|
9
10
|
List_default as default
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Loading,
|
|
3
3
|
Loading_default
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-O6BN5R6J.mjs";
|
|
5
5
|
import "../chunk-BDTPFPSB.mjs";
|
|
6
|
-
import "../chunk-
|
|
6
|
+
import "../chunk-UOJOJBEU.mjs";
|
|
7
|
+
import "../chunk-TGXBCKOU.mjs";
|
|
7
8
|
export {
|
|
8
9
|
Loading,
|
|
9
10
|
Loading_default as default
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as vue from 'vue';
|
|
2
2
|
import { PropType } from 'vue';
|
|
3
|
-
import { MarkdownEditorMode, MarkdownToolbarItem, MarkdownRenderer } from '@expcat/tigercat-core';
|
|
3
|
+
import { MarkdownEditorMode, MarkdownToolbarItem, MarkdownRenderer, TigerLocale, TigerLocaleMarkdownEditor } from '@expcat/tigercat-core';
|
|
4
4
|
|
|
5
5
|
interface VueMarkdownEditorProps {
|
|
6
6
|
value?: string;
|
|
@@ -14,6 +14,8 @@ interface VueMarkdownEditorProps {
|
|
|
14
14
|
readOnly?: boolean;
|
|
15
15
|
disabled?: boolean;
|
|
16
16
|
renderer?: MarkdownRenderer;
|
|
17
|
+
locale?: Partial<TigerLocale>;
|
|
18
|
+
labels?: Partial<TigerLocaleMarkdownEditor>;
|
|
17
19
|
className?: string;
|
|
18
20
|
style?: Record<string, string | number>;
|
|
19
21
|
}
|
|
@@ -62,6 +64,14 @@ declare const MarkdownEditor: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
62
64
|
type: PropType<MarkdownRenderer>;
|
|
63
65
|
default: undefined;
|
|
64
66
|
};
|
|
67
|
+
locale: {
|
|
68
|
+
type: PropType<Partial<TigerLocale>>;
|
|
69
|
+
default: undefined;
|
|
70
|
+
};
|
|
71
|
+
labels: {
|
|
72
|
+
type: PropType<Partial<TigerLocaleMarkdownEditor>>;
|
|
73
|
+
default: undefined;
|
|
74
|
+
};
|
|
65
75
|
className: {
|
|
66
76
|
type: StringConstructor;
|
|
67
77
|
default: undefined;
|
|
@@ -117,6 +127,14 @@ declare const MarkdownEditor: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
117
127
|
type: PropType<MarkdownRenderer>;
|
|
118
128
|
default: undefined;
|
|
119
129
|
};
|
|
130
|
+
locale: {
|
|
131
|
+
type: PropType<Partial<TigerLocale>>;
|
|
132
|
+
default: undefined;
|
|
133
|
+
};
|
|
134
|
+
labels: {
|
|
135
|
+
type: PropType<Partial<TigerLocaleMarkdownEditor>>;
|
|
136
|
+
default: undefined;
|
|
137
|
+
};
|
|
120
138
|
className: {
|
|
121
139
|
type: StringConstructor;
|
|
122
140
|
default: undefined;
|
|
@@ -131,13 +149,15 @@ declare const MarkdownEditor: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
131
149
|
"onUpdate:mode"?: ((...args: any[]) => any) | undefined;
|
|
132
150
|
"onMode-change"?: ((...args: any[]) => any) | undefined;
|
|
133
151
|
}>, {
|
|
152
|
+
locale: Partial<TigerLocale>;
|
|
153
|
+
labels: Partial<TigerLocaleMarkdownEditor>;
|
|
154
|
+
placeholder: string;
|
|
134
155
|
className: string;
|
|
135
156
|
mode: MarkdownEditorMode;
|
|
136
157
|
style: Record<string, string | number>;
|
|
137
158
|
disabled: boolean;
|
|
138
159
|
value: string;
|
|
139
160
|
defaultValue: string;
|
|
140
|
-
placeholder: string;
|
|
141
161
|
height: string | number;
|
|
142
162
|
toolbar: false | MarkdownToolbarItem[];
|
|
143
163
|
readOnly: boolean;
|
|
@@ -76,11 +76,11 @@ declare const Mentions: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
76
76
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
77
77
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
78
78
|
}>, {
|
|
79
|
+
placeholder: string;
|
|
79
80
|
size: MentionsSize;
|
|
80
81
|
disabled: boolean;
|
|
81
82
|
modelValue: string;
|
|
82
83
|
options: MentionOption[];
|
|
83
|
-
placeholder: string;
|
|
84
84
|
rows: number;
|
|
85
85
|
prefix: string;
|
|
86
86
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
@@ -144,7 +144,7 @@ declare const Menu: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
144
144
|
};
|
|
145
145
|
}>, () => VNode<vue.RendererNode, vue.RendererElement, {
|
|
146
146
|
[key: string]: any;
|
|
147
|
-
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, ("
|
|
147
|
+
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, ("select" | "search" | "update:searchValue" | "open-change" | "update:selectedKeys" | "update:openKeys")[], "select" | "search" | "update:searchValue" | "open-change" | "update:selectedKeys" | "update:openKeys", vue.PublicProps, Readonly<vue.ExtractPropTypes<{
|
|
148
148
|
/**
|
|
149
149
|
* Data-driven menu items
|
|
150
150
|
*/
|
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
MessageContainer
|
|
3
|
-
} from "../chunk-
|
|
3
|
+
} from "../chunk-BGGHSTMP.mjs";
|
|
4
4
|
import "../chunk-2TNZ4JNT.mjs";
|
|
5
|
+
import {
|
|
6
|
+
getGlobalTigerLocale
|
|
7
|
+
} from "../chunk-TGXBCKOU.mjs";
|
|
5
8
|
|
|
6
9
|
// src/components/Message.ts
|
|
7
10
|
import { createApp, defineComponent, h, ref } from "vue";
|
|
@@ -27,6 +30,15 @@ function getMessageInstanceId() {
|
|
|
27
30
|
getNextInstanceId ??= createInstanceCounter();
|
|
28
31
|
return getNextInstanceId();
|
|
29
32
|
}
|
|
33
|
+
function getDefaultMessageCloseAriaLabel() {
|
|
34
|
+
const locale = getGlobalTigerLocale();
|
|
35
|
+
const closeText = locale?.common?.closeText;
|
|
36
|
+
if (!closeText) return void 0;
|
|
37
|
+
const localeCode = locale.locale?.toLowerCase() ?? "";
|
|
38
|
+
if (localeCode.startsWith("zh")) return `${closeText}\u6D88\u606F`;
|
|
39
|
+
if (localeCode.startsWith("en")) return `${closeText} message`;
|
|
40
|
+
return closeText;
|
|
41
|
+
}
|
|
30
42
|
var MessageHost = /* @__PURE__ */ defineComponent({
|
|
31
43
|
name: "TigerMessageHost",
|
|
32
44
|
setup() {
|
|
@@ -75,6 +87,7 @@ function addMessage(config) {
|
|
|
75
87
|
onClose: config.onClose,
|
|
76
88
|
icon: config.icon,
|
|
77
89
|
className: config.className,
|
|
90
|
+
closeAriaLabel: config.closeAriaLabel ?? getDefaultMessageCloseAriaLabel(),
|
|
78
91
|
position: config.position ?? "top"
|
|
79
92
|
};
|
|
80
93
|
messageInstances.value.push(instance);
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Modal,
|
|
3
3
|
Modal_default
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-D4APFWWS.mjs";
|
|
5
5
|
import "../chunk-YZBQ6IR7.mjs";
|
|
6
6
|
import "../chunk-Z2ZECCGD.mjs";
|
|
7
7
|
import "../chunk-BDTPFPSB.mjs";
|
|
8
|
-
import "../chunk-
|
|
8
|
+
import "../chunk-UOJOJBEU.mjs";
|
|
9
|
+
import "../chunk-TGXBCKOU.mjs";
|
|
9
10
|
export {
|
|
10
11
|
Modal,
|
|
11
12
|
Modal_default as default
|
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
NotificationContainer
|
|
3
|
-
} from "../chunk-
|
|
3
|
+
} from "../chunk-H2SX7D23.mjs";
|
|
4
4
|
import "../chunk-2TNZ4JNT.mjs";
|
|
5
|
+
import {
|
|
6
|
+
getGlobalTigerLocale
|
|
7
|
+
} from "../chunk-TGXBCKOU.mjs";
|
|
5
8
|
|
|
6
9
|
// src/components/Notification.ts
|
|
7
10
|
import { createApp, defineComponent, h, ref } from "vue";
|
|
@@ -40,6 +43,15 @@ function getNotificationInstanceId() {
|
|
|
40
43
|
getNextInstanceId ??= createInstanceCounter();
|
|
41
44
|
return getNextInstanceId();
|
|
42
45
|
}
|
|
46
|
+
function getDefaultNotificationCloseAriaLabel() {
|
|
47
|
+
const locale = getGlobalTigerLocale();
|
|
48
|
+
const closeText = locale?.common?.closeText;
|
|
49
|
+
if (!closeText) return void 0;
|
|
50
|
+
const localeCode = locale.locale?.toLowerCase() ?? "";
|
|
51
|
+
if (localeCode.startsWith("zh")) return `${closeText}\u901A\u77E5`;
|
|
52
|
+
if (localeCode.startsWith("en")) return `${closeText} notification`;
|
|
53
|
+
return closeText;
|
|
54
|
+
}
|
|
43
55
|
function scheduleNotificationStackUpdate(position) {
|
|
44
56
|
const callback = updateCallbacks[position];
|
|
45
57
|
if (!callback) return;
|
|
@@ -120,6 +132,7 @@ function addNotification(config) {
|
|
|
120
132
|
actions: config.actions,
|
|
121
133
|
icon: config.icon,
|
|
122
134
|
className: config.className,
|
|
135
|
+
closeAriaLabel: config.closeAriaLabel ?? getDefaultNotificationCloseAriaLabel(),
|
|
123
136
|
position
|
|
124
137
|
};
|
|
125
138
|
notificationInstancesByPosition[position].push(instance);
|
|
@@ -1,17 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
NotificationCenter,
|
|
3
3
|
NotificationCenter_default
|
|
4
|
-
} from "../chunk-
|
|
5
|
-
import "../chunk-
|
|
6
|
-
import "../chunk-
|
|
4
|
+
} from "../chunk-7XENCCN5.mjs";
|
|
5
|
+
import "../chunk-U6OGGZBY.mjs";
|
|
6
|
+
import "../chunk-6LORRRRB.mjs";
|
|
7
7
|
import "../chunk-HS4YQGZQ.mjs";
|
|
8
8
|
import "../chunk-YZBQ6IR7.mjs";
|
|
9
9
|
import "../chunk-Z2ZECCGD.mjs";
|
|
10
|
-
import "../chunk-
|
|
10
|
+
import "../chunk-O6BN5R6J.mjs";
|
|
11
11
|
import "../chunk-BDTPFPSB.mjs";
|
|
12
12
|
import "../chunk-NN6AINLG.mjs";
|
|
13
13
|
import "../chunk-TC6ZPQFT.mjs";
|
|
14
|
-
import "../chunk-
|
|
14
|
+
import "../chunk-UOJOJBEU.mjs";
|
|
15
|
+
import "../chunk-TGXBCKOU.mjs";
|
|
15
16
|
export {
|
|
16
17
|
NotificationCenter,
|
|
17
18
|
NotificationCenter_default as default
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
NumberKeyboard,
|
|
3
3
|
NumberKeyboard_default
|
|
4
|
-
} from "../chunk-
|
|
5
|
-
import "../chunk-
|
|
4
|
+
} from "../chunk-22NIOTDQ.mjs";
|
|
5
|
+
import "../chunk-UOJOJBEU.mjs";
|
|
6
|
+
import "../chunk-TGXBCKOU.mjs";
|
|
6
7
|
export {
|
|
7
8
|
NumberKeyboard,
|
|
8
9
|
NumberKeyboard_default as default
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Pagination,
|
|
3
3
|
Pagination_default
|
|
4
|
-
} from "../chunk-
|
|
5
|
-
import "../chunk-
|
|
4
|
+
} from "../chunk-4SLYX5GK.mjs";
|
|
5
|
+
import "../chunk-UOJOJBEU.mjs";
|
|
6
|
+
import "../chunk-TGXBCKOU.mjs";
|
|
6
7
|
export {
|
|
7
8
|
Pagination,
|
|
8
9
|
Pagination_default as default
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PieChart,
|
|
3
3
|
PieChart_default
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-NNC75I7F.mjs";
|
|
5
5
|
import "../chunk-PE5OA4YG.mjs";
|
|
6
6
|
import "../chunk-SPFL55TF.mjs";
|
|
7
7
|
import "../chunk-W5RZPTFD.mjs";
|
|
8
|
-
import "../chunk-
|
|
8
|
+
import "../chunk-V443QIJM.mjs";
|
|
9
9
|
import "../chunk-2ZUEXCVJ.mjs";
|
|
10
10
|
export {
|
|
11
11
|
PieChart,
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
RadarChart,
|
|
3
3
|
RadarChart_default
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-NGAA73CV.mjs";
|
|
5
5
|
import "../chunk-PE5OA4YG.mjs";
|
|
6
6
|
import "../chunk-SPFL55TF.mjs";
|
|
7
7
|
import "../chunk-W5RZPTFD.mjs";
|
|
8
|
-
import "../chunk-
|
|
8
|
+
import "../chunk-V443QIJM.mjs";
|
|
9
9
|
import "../chunk-2ZUEXCVJ.mjs";
|
|
10
10
|
export {
|
|
11
11
|
RadarChart,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as vue from 'vue';
|
|
2
2
|
import { PropType } from 'vue';
|
|
3
|
-
import { RateSize } from '@expcat/tigercat-core';
|
|
3
|
+
import { RateSize, TigerLocale, TigerLocaleRate } from '@expcat/tigercat-core';
|
|
4
4
|
|
|
5
5
|
type VueRateProps = InstanceType<typeof Rate>['$props'];
|
|
6
6
|
declare const Rate: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
@@ -32,6 +32,14 @@ declare const Rate: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
32
32
|
type: StringConstructor;
|
|
33
33
|
default: undefined;
|
|
34
34
|
};
|
|
35
|
+
locale: {
|
|
36
|
+
type: PropType<Partial<TigerLocale>>;
|
|
37
|
+
default: undefined;
|
|
38
|
+
};
|
|
39
|
+
labels: {
|
|
40
|
+
type: PropType<Partial<TigerLocaleRate>>;
|
|
41
|
+
default: undefined;
|
|
42
|
+
};
|
|
35
43
|
}>, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
36
44
|
[key: string]: any;
|
|
37
45
|
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, ("change" | "update:modelValue" | "hover-change")[], "change" | "update:modelValue" | "hover-change", vue.PublicProps, Readonly<vue.ExtractPropTypes<{
|
|
@@ -63,11 +71,21 @@ declare const Rate: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
63
71
|
type: StringConstructor;
|
|
64
72
|
default: undefined;
|
|
65
73
|
};
|
|
74
|
+
locale: {
|
|
75
|
+
type: PropType<Partial<TigerLocale>>;
|
|
76
|
+
default: undefined;
|
|
77
|
+
};
|
|
78
|
+
labels: {
|
|
79
|
+
type: PropType<Partial<TigerLocaleRate>>;
|
|
80
|
+
default: undefined;
|
|
81
|
+
};
|
|
66
82
|
}>> & Readonly<{
|
|
67
83
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
68
84
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
69
85
|
"onHover-change"?: ((...args: any[]) => any) | undefined;
|
|
70
86
|
}>, {
|
|
87
|
+
locale: Partial<TigerLocale>;
|
|
88
|
+
labels: Partial<TigerLocaleRate>;
|
|
71
89
|
size: RateSize;
|
|
72
90
|
disabled: boolean;
|
|
73
91
|
modelValue: number;
|
package/dist/components/Rate.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as vue from 'vue';
|
|
2
2
|
import { PropType } from 'vue';
|
|
3
|
-
import { RichTextEditorMode, ToolbarItem, RichTextEngine } from '@expcat/tigercat-core';
|
|
3
|
+
import { RichTextEditorMode, ToolbarItem, TigerLocale, TigerLocaleRichTextEditor, RichTextEngine } from '@expcat/tigercat-core';
|
|
4
4
|
|
|
5
5
|
interface VueRichTextEditorProps {
|
|
6
6
|
value?: string;
|
|
@@ -11,6 +11,8 @@ interface VueRichTextEditorProps {
|
|
|
11
11
|
height?: number | string;
|
|
12
12
|
readOnly?: boolean;
|
|
13
13
|
disabled?: boolean;
|
|
14
|
+
locale?: Partial<TigerLocale>;
|
|
15
|
+
labels?: Partial<TigerLocaleRichTextEditor>;
|
|
14
16
|
className?: string;
|
|
15
17
|
/**
|
|
16
18
|
* Optional pluggable editor engine (PR-17). Defaults to the
|
|
@@ -53,6 +55,14 @@ declare const RichTextEditor: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
53
55
|
type: BooleanConstructor;
|
|
54
56
|
default: boolean;
|
|
55
57
|
};
|
|
58
|
+
locale: {
|
|
59
|
+
type: PropType<Partial<TigerLocale>>;
|
|
60
|
+
default: undefined;
|
|
61
|
+
};
|
|
62
|
+
labels: {
|
|
63
|
+
type: PropType<Partial<TigerLocaleRichTextEditor>>;
|
|
64
|
+
default: undefined;
|
|
65
|
+
};
|
|
56
66
|
className: {
|
|
57
67
|
type: StringConstructor;
|
|
58
68
|
default: undefined;
|
|
@@ -96,6 +106,14 @@ declare const RichTextEditor: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
96
106
|
type: BooleanConstructor;
|
|
97
107
|
default: boolean;
|
|
98
108
|
};
|
|
109
|
+
locale: {
|
|
110
|
+
type: PropType<Partial<TigerLocale>>;
|
|
111
|
+
default: undefined;
|
|
112
|
+
};
|
|
113
|
+
labels: {
|
|
114
|
+
type: PropType<Partial<TigerLocaleRichTextEditor>>;
|
|
115
|
+
default: undefined;
|
|
116
|
+
};
|
|
99
117
|
className: {
|
|
100
118
|
type: StringConstructor;
|
|
101
119
|
default: undefined;
|
|
@@ -108,12 +126,14 @@ declare const RichTextEditor: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
108
126
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
109
127
|
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
110
128
|
}>, {
|
|
129
|
+
locale: Partial<TigerLocale>;
|
|
130
|
+
labels: Partial<TigerLocaleRichTextEditor>;
|
|
131
|
+
placeholder: string;
|
|
111
132
|
className: string;
|
|
112
133
|
mode: RichTextEditorMode;
|
|
113
134
|
disabled: boolean;
|
|
114
135
|
value: string;
|
|
115
136
|
defaultValue: string;
|
|
116
|
-
placeholder: string;
|
|
117
137
|
height: string | number;
|
|
118
138
|
toolbar: ToolbarItem[];
|
|
119
139
|
readOnly: boolean;
|
|
@@ -1,12 +1,14 @@
|
|
|
1
1
|
import * as vue from 'vue';
|
|
2
2
|
import { PropType } from 'vue';
|
|
3
|
-
import { ChartPadding, ScatterChartDatum, ChartScale, ChartScaleValue, ChartGridLineStyle, ChartLegendPosition, ScatterChartProps } from '@expcat/tigercat-core';
|
|
3
|
+
import { ChartPadding, ScatterChartDatum, ChartScale, ChartScaleValue, ChartGridLineStyle, ChartLegendPosition, TigerLocale, TigerLocaleChart, ScatterChartProps } from '@expcat/tigercat-core';
|
|
4
4
|
|
|
5
5
|
interface VueScatterChartProps extends ScatterChartProps {
|
|
6
6
|
data: ScatterChartDatum[];
|
|
7
7
|
padding?: ChartPadding;
|
|
8
8
|
xScale?: ChartScale;
|
|
9
9
|
yScale?: ChartScale;
|
|
10
|
+
locale?: Partial<TigerLocale>;
|
|
11
|
+
labels?: Partial<TigerLocaleChart>;
|
|
10
12
|
}
|
|
11
13
|
declare const ScatterChart: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
12
14
|
width: {
|
|
@@ -21,6 +23,10 @@ declare const ScatterChart: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
21
23
|
type: PropType<ChartPadding>;
|
|
22
24
|
default: number;
|
|
23
25
|
};
|
|
26
|
+
responsive: {
|
|
27
|
+
type: BooleanConstructor;
|
|
28
|
+
default: boolean;
|
|
29
|
+
};
|
|
24
30
|
data: {
|
|
25
31
|
type: PropType<ScatterChartDatum[]>;
|
|
26
32
|
required: true;
|
|
@@ -175,6 +181,14 @@ declare const ScatterChart: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
175
181
|
desc: {
|
|
176
182
|
type: StringConstructor;
|
|
177
183
|
};
|
|
184
|
+
locale: {
|
|
185
|
+
type: PropType<Partial<TigerLocale>>;
|
|
186
|
+
default: undefined;
|
|
187
|
+
};
|
|
188
|
+
labels: {
|
|
189
|
+
type: PropType<Partial<TigerLocaleChart>>;
|
|
190
|
+
default: undefined;
|
|
191
|
+
};
|
|
178
192
|
className: {
|
|
179
193
|
type: StringConstructor;
|
|
180
194
|
};
|
|
@@ -193,6 +207,10 @@ declare const ScatterChart: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
193
207
|
type: PropType<ChartPadding>;
|
|
194
208
|
default: number;
|
|
195
209
|
};
|
|
210
|
+
responsive: {
|
|
211
|
+
type: BooleanConstructor;
|
|
212
|
+
default: boolean;
|
|
213
|
+
};
|
|
196
214
|
data: {
|
|
197
215
|
type: PropType<ScatterChartDatum[]>;
|
|
198
216
|
required: true;
|
|
@@ -347,6 +365,14 @@ declare const ScatterChart: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
347
365
|
desc: {
|
|
348
366
|
type: StringConstructor;
|
|
349
367
|
};
|
|
368
|
+
locale: {
|
|
369
|
+
type: PropType<Partial<TigerLocale>>;
|
|
370
|
+
default: undefined;
|
|
371
|
+
};
|
|
372
|
+
labels: {
|
|
373
|
+
type: PropType<Partial<TigerLocaleChart>>;
|
|
374
|
+
default: undefined;
|
|
375
|
+
};
|
|
350
376
|
className: {
|
|
351
377
|
type: StringConstructor;
|
|
352
378
|
};
|
|
@@ -356,12 +382,15 @@ declare const ScatterChart: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
356
382
|
"onPoint-click"?: ((...args: any[]) => any) | undefined;
|
|
357
383
|
"onPoint-hover"?: ((...args: any[]) => any) | undefined;
|
|
358
384
|
}>, {
|
|
385
|
+
locale: Partial<TigerLocale>;
|
|
386
|
+
labels: Partial<TigerLocaleChart>;
|
|
359
387
|
width: number;
|
|
360
388
|
height: number;
|
|
361
389
|
padding: ChartPadding;
|
|
362
390
|
gradient: boolean;
|
|
363
391
|
hoverable: boolean;
|
|
364
392
|
selectable: boolean;
|
|
393
|
+
responsive: boolean;
|
|
365
394
|
xTicks: number;
|
|
366
395
|
yTicks: number;
|
|
367
396
|
showGrid: boolean;
|
|
@@ -1,14 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ScatterChart,
|
|
3
3
|
ScatterChart_default
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-JZCETBUV.mjs";
|
|
5
5
|
import "../chunk-PE5OA4YG.mjs";
|
|
6
6
|
import "../chunk-SPFL55TF.mjs";
|
|
7
7
|
import "../chunk-ZWVA7HT3.mjs";
|
|
8
8
|
import "../chunk-W5RZPTFD.mjs";
|
|
9
9
|
import "../chunk-MI6TL3CQ.mjs";
|
|
10
|
-
import "../chunk-
|
|
10
|
+
import "../chunk-V443QIJM.mjs";
|
|
11
11
|
import "../chunk-2ZUEXCVJ.mjs";
|
|
12
|
+
import "../chunk-UOJOJBEU.mjs";
|
|
13
|
+
import "../chunk-TGXBCKOU.mjs";
|
|
12
14
|
export {
|
|
13
15
|
ScatterChart,
|
|
14
16
|
ScatterChart_default as default
|