@expcat/tigercat-vue 2.0.19 → 2.1.0
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/README.md +20 -10
- package/dist/chunk-26QCTL2E.mjs +180 -0
- package/dist/{chunk-GS4SV2HK.mjs → chunk-32X54QKW.mjs} +1 -1
- package/dist/chunk-3ONCXHE5.mjs +184 -0
- package/dist/{chunk-KOG3HKOF.mjs → chunk-6AMWX5K4.mjs} +1 -4
- package/dist/chunk-6GR3XC5V.mjs +281 -0
- package/dist/chunk-6GR5U4UB.mjs +225 -0
- package/dist/chunk-7DWWNFRP.mjs +302 -0
- package/dist/chunk-AECXFT7D.mjs +121 -0
- package/dist/chunk-AOLRZG4E.mjs +347 -0
- package/dist/chunk-AY7CGLMO.mjs +368 -0
- package/dist/chunk-BBNCP55O.mjs +156 -0
- package/dist/chunk-F3ZVVVYD.mjs +257 -0
- package/dist/{chunk-OTGGPXDT.mjs → chunk-IEAEB4TX.mjs} +255 -44
- package/dist/chunk-P6FMU4AT.mjs +54 -0
- package/dist/chunk-PFIV5MXD.mjs +48 -0
- package/dist/chunk-TBOXTAIA.mjs +94 -0
- package/dist/{chunk-EDBMWZKH.mjs → chunk-TPESRDUG.mjs} +5 -1
- package/dist/{chunk-2XCXK3NQ.mjs → chunk-U4B5QT72.mjs} +1 -1
- package/dist/chunk-UUWPSRNV.mjs +337 -0
- package/dist/chunk-UXJRH72H.mjs +834 -0
- package/dist/chunk-VFS5XAZ3.mjs +602 -0
- package/dist/{chunk-WC5MKASU.mjs → chunk-VN2TWPRC.mjs} +169 -55
- package/dist/components/ActivityFeed.d.mts +3 -3
- package/dist/components/ActivityFeed.mjs +1 -1
- package/dist/components/Affix.d.mts +4 -4
- package/dist/components/Alert.d.mts +4 -4
- package/dist/components/Anchor.d.mts +3 -3
- package/dist/components/AreaChart.mjs +2 -2
- package/dist/components/AspectRatio.d.mts +44 -0
- package/dist/components/AspectRatio.mjs +8 -0
- package/dist/components/AutoComplete.d.mts +2 -2
- package/dist/components/Avatar.d.mts +1 -1
- package/dist/components/AvatarGroup.d.mts +1 -1
- package/dist/components/BackTop.d.mts +1 -1
- package/dist/components/Badge.d.mts +2 -2
- package/dist/components/BarChart.mjs +2 -2
- package/dist/components/Breadcrumb.d.mts +2 -2
- package/dist/components/Button.d.mts +2 -2
- package/dist/components/ButtonGroup.d.mts +1 -1
- package/dist/components/Calendar.d.mts +1 -1
- package/dist/components/Card.d.mts +2 -2
- package/dist/components/Carousel.d.mts +3 -3
- package/dist/components/Cascader.d.mts +34 -0
- package/dist/components/Cascader.mjs +1 -1
- package/dist/components/ChartLegend.d.mts +1 -1
- package/dist/components/ChartTooltip.d.mts +1 -1
- package/dist/components/ChatWindow.d.mts +1 -1
- package/dist/components/ChatWindow.mjs +1 -1
- package/dist/components/CodeEditor.d.mts +3 -3
- package/dist/components/CodeEditor.mjs +1 -1
- package/dist/components/CollapsePanel.d.mts +1 -1
- package/dist/components/ColorSwatch.d.mts +1 -1
- package/dist/components/CommentThread.d.mts +1 -1
- package/dist/components/ContextMenu.d.mts +234 -0
- package/dist/components/ContextMenu.mjs +17 -0
- package/dist/components/Countdown.d.mts +3 -3
- package/dist/components/CropUpload.d.mts +1 -1
- package/dist/components/DataExport.d.mts +1 -1
- package/dist/components/DataTableWithToolbar.d.mts +4 -4
- package/dist/components/DataTableWithToolbar.mjs +2 -2
- package/dist/components/DatePicker.d.mts +3 -3
- package/dist/components/Descriptions.d.mts +1 -1
- package/dist/components/DonutChart.mjs +3 -3
- package/dist/components/Drawer.d.mts +5 -5
- package/dist/components/Dropdown.d.mts +1 -1
- package/dist/components/Empty.d.mts +1 -1
- package/dist/components/FileManager.d.mts +1 -1
- package/dist/components/FloatButton.d.mts +4 -4
- package/dist/components/FormWizard.d.mts +2 -2
- package/dist/components/FunnelChart.d.mts +2 -2
- package/dist/components/FunnelChart.mjs +2 -2
- package/dist/components/Gantt.d.mts +1 -1
- package/dist/components/GaugeChart.d.mts +2 -2
- package/dist/components/Header.d.mts +1 -1
- package/dist/components/HeatmapChart.d.mts +1 -1
- package/dist/components/Highlight.d.mts +146 -0
- package/dist/components/Highlight.mjs +8 -0
- package/dist/components/Icon.d.mts +1 -1
- package/dist/components/ImageAnnotation.d.mts +3 -3
- package/dist/components/ImageCompare.d.mts +284 -0
- package/dist/components/ImageCompare.mjs +8 -0
- package/dist/components/ImageCropper.d.mts +1 -1
- package/dist/components/ImagePreview.d.mts +1 -1
- package/dist/components/ImageViewer.d.mts +1 -1
- package/dist/components/InfiniteScroll.d.mts +1 -1
- package/dist/components/Input.d.mts +4 -4
- package/dist/components/InputGroup.d.mts +1 -1
- package/dist/components/InputNumber.d.mts +3 -3
- package/dist/components/InputOTP.d.mts +261 -0
- package/dist/components/InputOTP.mjs +11 -0
- package/dist/components/Kanban.d.mts +1 -1
- package/dist/components/Kbd.d.mts +118 -0
- package/dist/components/Kbd.mjs +8 -0
- package/dist/components/LineChart.mjs +2 -2
- package/dist/components/List.d.mts +3 -3
- package/dist/components/List.mjs +1 -1
- package/dist/components/Loading.d.mts +2 -2
- package/dist/components/LoadingBar.d.mts +8 -0
- package/dist/components/LoadingBar.mjs +114 -0
- package/dist/components/LoadingBarContainer.d.mts +78 -0
- package/dist/components/LoadingBarContainer.mjs +8 -0
- package/dist/components/LoadingBarRoot.d.mts +6 -0
- package/dist/components/LoadingBarRoot.mjs +6 -0
- package/dist/components/MarkdownEditor.d.mts +5 -5
- package/dist/components/Marquee.d.mts +158 -0
- package/dist/components/Marquee.mjs +8 -0
- package/dist/components/MaskInput.d.mts +201 -0
- package/dist/components/MaskInput.mjs +11 -0
- package/dist/components/Masonry.d.mts +66 -0
- package/dist/components/Masonry.mjs +8 -0
- package/dist/components/Mentions.d.mts +2 -2
- package/dist/components/Menu.d.mts +5 -5
- package/dist/components/Modal.d.mts +7 -7
- package/dist/components/NavigationMenu.d.mts +411 -0
- package/dist/components/NavigationMenu.mjs +25 -0
- package/dist/components/NotificationCenter.d.mts +3 -3
- package/dist/components/NotificationCenter.mjs +2 -2
- package/dist/components/NumberKeyboard.d.mts +3 -3
- package/dist/components/OrgChart.d.mts +2 -2
- package/dist/components/PageHeader.d.mts +140 -0
- package/dist/components/PageHeader.mjs +11 -0
- package/dist/components/Pagination.d.mts +2 -2
- package/dist/components/PieChart.mjs +2 -2
- package/dist/components/Popconfirm.d.mts +5 -5
- package/dist/components/Popover.d.mts +5 -5
- package/dist/components/Progress.d.mts +6 -6
- package/dist/components/QRCode.d.mts +1 -1
- package/dist/components/RadarChart.mjs +2 -2
- package/dist/components/Result.d.mts +1 -1
- package/dist/components/RichTextEditor.d.mts +4 -4
- package/dist/components/ScatterChart.d.mts +2 -2
- package/dist/components/ScatterChart.mjs +2 -2
- package/dist/components/ScrollArea.d.mts +136 -0
- package/dist/components/ScrollArea.mjs +8 -0
- package/dist/components/ScrollSpy.d.mts +3 -3
- package/dist/components/Segmented.d.mts +2 -2
- package/dist/components/Signature.d.mts +5 -5
- package/dist/components/Skeleton.d.mts +1 -1
- package/dist/components/Slider.d.mts +1 -1
- package/dist/components/SplitButton.d.mts +286 -0
- package/dist/components/SplitButton.mjs +12 -0
- package/dist/components/Splitter.d.mts +1 -1
- package/dist/components/Spotlight.d.mts +5 -5
- package/dist/components/Statistic.d.mts +1 -1
- package/dist/components/Steps.d.mts +3 -3
- package/dist/components/SunburstChart.mjs +2 -2
- package/dist/components/Tabs.d.mts +3 -3
- package/dist/components/Tag.d.mts +2 -2
- package/dist/components/TagsInput.d.mts +214 -0
- package/dist/components/TagsInput.mjs +12 -0
- package/dist/components/TaskBoard.d.mts +2 -2
- package/dist/components/Textarea.d.mts +1 -1
- package/dist/components/TimePicker.d.mts +3 -3
- package/dist/components/Timeline.d.mts +4 -4
- package/dist/components/Tooltip.d.mts +2 -2
- package/dist/components/Tour.d.mts +4 -4
- package/dist/components/Tree.d.mts +3 -3
- package/dist/components/TreeMapChart.d.mts +1 -1
- package/dist/components/TreeMapChart.mjs +2 -2
- package/dist/components/TreeSelect.d.mts +51 -0
- package/dist/components/TreeSelect.mjs +2 -1
- package/dist/components/Upload.d.mts +5 -5
- package/dist/components/VirtualTable.d.mts +3 -3
- package/dist/components/Watermark.d.mts +5 -5
- package/dist/index.d.mts +17 -1
- package/dist/index.mjs +355 -0
- package/package.json +117 -2
- package/dist/{chunk-MAKOSWR6.mjs → chunk-37W7XTA6.mjs} +3 -3
- package/dist/{chunk-WUQMFKQ6.mjs → chunk-66OS5A4D.mjs} +3 -3
- package/dist/{chunk-NNC75I7F.mjs → chunk-CHEXI7MO.mjs} +3 -3
- package/dist/{chunk-KFJIZED5.mjs → chunk-EHGFW5GX.mjs} +3 -3
- package/dist/{chunk-ZGA66PSG.mjs → chunk-EZYOCPMM.mjs} +3 -3
- package/dist/{chunk-XGXZF27U.mjs → chunk-JHMT5Q6P.mjs} +3 -3
- package/dist/{chunk-NGAA73CV.mjs → chunk-VLW3UBIR.mjs} +3 -3
- package/dist/{chunk-OTHJIFDV.mjs → chunk-W5XFWVNV.mjs} +3 -3
- package/dist/{chunk-3KITFMBJ.mjs → chunk-ZOYHZF4N.mjs} +3 -3
|
@@ -0,0 +1,286 @@
|
|
|
1
|
+
import * as vue from 'vue';
|
|
2
|
+
import { PropType, VNode } from 'vue';
|
|
3
|
+
import { ButtonVariant, ButtonSize, ButtonHtmlType, ButtonIconPosition, FloatingPlacement } from '@expcat/tigercat-core';
|
|
4
|
+
|
|
5
|
+
interface VueSplitButtonProps {
|
|
6
|
+
variant?: ButtonVariant;
|
|
7
|
+
size?: ButtonSize;
|
|
8
|
+
disabled?: boolean;
|
|
9
|
+
loading?: boolean;
|
|
10
|
+
danger?: boolean;
|
|
11
|
+
block?: boolean;
|
|
12
|
+
htmlType?: ButtonHtmlType;
|
|
13
|
+
iconPosition?: ButtonIconPosition;
|
|
14
|
+
open?: boolean;
|
|
15
|
+
defaultOpen?: boolean;
|
|
16
|
+
closeOnClick?: boolean;
|
|
17
|
+
portal?: boolean;
|
|
18
|
+
triggerAriaLabel?: string;
|
|
19
|
+
placement?: FloatingPlacement;
|
|
20
|
+
offset?: number;
|
|
21
|
+
className?: string;
|
|
22
|
+
style?: Record<string, unknown>;
|
|
23
|
+
}
|
|
24
|
+
declare const SplitButton: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
25
|
+
/**
|
|
26
|
+
* Visual variant applied to the primary action and the menu trigger
|
|
27
|
+
* @default 'primary'
|
|
28
|
+
*/
|
|
29
|
+
variant: {
|
|
30
|
+
type: PropType<ButtonVariant>;
|
|
31
|
+
default: string;
|
|
32
|
+
};
|
|
33
|
+
/**
|
|
34
|
+
* Size applied to the primary action and the menu trigger
|
|
35
|
+
* @default 'md'
|
|
36
|
+
*/
|
|
37
|
+
size: {
|
|
38
|
+
type: PropType<ButtonSize>;
|
|
39
|
+
default: string;
|
|
40
|
+
};
|
|
41
|
+
/**
|
|
42
|
+
* Whether both the primary action and the menu trigger are disabled
|
|
43
|
+
*/
|
|
44
|
+
disabled: BooleanConstructor;
|
|
45
|
+
/**
|
|
46
|
+
* Whether the primary action is in a loading state. Also disables the menu trigger.
|
|
47
|
+
*/
|
|
48
|
+
loading: BooleanConstructor;
|
|
49
|
+
/**
|
|
50
|
+
* Whether to apply danger/destructive styling to both buttons
|
|
51
|
+
*/
|
|
52
|
+
danger: BooleanConstructor;
|
|
53
|
+
/**
|
|
54
|
+
* Whether the split control should take the full width of its parent
|
|
55
|
+
*/
|
|
56
|
+
block: BooleanConstructor;
|
|
57
|
+
/**
|
|
58
|
+
* HTML button type for the primary action
|
|
59
|
+
* @default 'button'
|
|
60
|
+
*/
|
|
61
|
+
htmlType: {
|
|
62
|
+
type: PropType<ButtonHtmlType>;
|
|
63
|
+
default: string;
|
|
64
|
+
};
|
|
65
|
+
/**
|
|
66
|
+
* Position of the icon relative to the primary action text
|
|
67
|
+
* @default 'left'
|
|
68
|
+
*/
|
|
69
|
+
iconPosition: {
|
|
70
|
+
type: PropType<ButtonIconPosition>;
|
|
71
|
+
default: string;
|
|
72
|
+
};
|
|
73
|
+
/**
|
|
74
|
+
* Whether the menu is open (controlled mode)
|
|
75
|
+
*/
|
|
76
|
+
open: {
|
|
77
|
+
type: PropType<boolean | undefined>;
|
|
78
|
+
default: undefined;
|
|
79
|
+
};
|
|
80
|
+
/**
|
|
81
|
+
* Default open state (uncontrolled mode)
|
|
82
|
+
* @default false
|
|
83
|
+
*/
|
|
84
|
+
defaultOpen: {
|
|
85
|
+
type: BooleanConstructor;
|
|
86
|
+
default: boolean;
|
|
87
|
+
};
|
|
88
|
+
/**
|
|
89
|
+
* Whether to close the menu when a menu item is clicked
|
|
90
|
+
* @default true
|
|
91
|
+
*/
|
|
92
|
+
closeOnClick: {
|
|
93
|
+
type: BooleanConstructor;
|
|
94
|
+
default: boolean;
|
|
95
|
+
};
|
|
96
|
+
/**
|
|
97
|
+
* Render the menu into document.body (Teleport)
|
|
98
|
+
* @default true
|
|
99
|
+
*/
|
|
100
|
+
portal: {
|
|
101
|
+
type: BooleanConstructor;
|
|
102
|
+
default: boolean;
|
|
103
|
+
};
|
|
104
|
+
/**
|
|
105
|
+
* Accessible name for the chevron menu trigger
|
|
106
|
+
* @default 'More options'
|
|
107
|
+
*/
|
|
108
|
+
triggerAriaLabel: {
|
|
109
|
+
type: StringConstructor;
|
|
110
|
+
default: undefined;
|
|
111
|
+
};
|
|
112
|
+
/**
|
|
113
|
+
* Dropdown placement relative to the chevron trigger
|
|
114
|
+
* @default 'bottom-end'
|
|
115
|
+
*/
|
|
116
|
+
placement: {
|
|
117
|
+
type: PropType<FloatingPlacement>;
|
|
118
|
+
default: FloatingPlacement;
|
|
119
|
+
};
|
|
120
|
+
/**
|
|
121
|
+
* Offset distance from the chevron trigger
|
|
122
|
+
* @default 4
|
|
123
|
+
*/
|
|
124
|
+
offset: {
|
|
125
|
+
type: NumberConstructor;
|
|
126
|
+
default: number;
|
|
127
|
+
};
|
|
128
|
+
/**
|
|
129
|
+
* Additional CSS classes
|
|
130
|
+
*/
|
|
131
|
+
className: {
|
|
132
|
+
type: StringConstructor;
|
|
133
|
+
default: undefined;
|
|
134
|
+
};
|
|
135
|
+
/**
|
|
136
|
+
* Inline styles
|
|
137
|
+
*/
|
|
138
|
+
style: {
|
|
139
|
+
type: PropType<Record<string, unknown>>;
|
|
140
|
+
default: undefined;
|
|
141
|
+
};
|
|
142
|
+
}>, () => VNode<vue.RendererNode, vue.RendererElement, {
|
|
143
|
+
[key: string]: any;
|
|
144
|
+
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, ("click" | "update:open" | "open-change")[], "click" | "update:open" | "open-change", vue.PublicProps, Readonly<vue.ExtractPropTypes<{
|
|
145
|
+
/**
|
|
146
|
+
* Visual variant applied to the primary action and the menu trigger
|
|
147
|
+
* @default 'primary'
|
|
148
|
+
*/
|
|
149
|
+
variant: {
|
|
150
|
+
type: PropType<ButtonVariant>;
|
|
151
|
+
default: string;
|
|
152
|
+
};
|
|
153
|
+
/**
|
|
154
|
+
* Size applied to the primary action and the menu trigger
|
|
155
|
+
* @default 'md'
|
|
156
|
+
*/
|
|
157
|
+
size: {
|
|
158
|
+
type: PropType<ButtonSize>;
|
|
159
|
+
default: string;
|
|
160
|
+
};
|
|
161
|
+
/**
|
|
162
|
+
* Whether both the primary action and the menu trigger are disabled
|
|
163
|
+
*/
|
|
164
|
+
disabled: BooleanConstructor;
|
|
165
|
+
/**
|
|
166
|
+
* Whether the primary action is in a loading state. Also disables the menu trigger.
|
|
167
|
+
*/
|
|
168
|
+
loading: BooleanConstructor;
|
|
169
|
+
/**
|
|
170
|
+
* Whether to apply danger/destructive styling to both buttons
|
|
171
|
+
*/
|
|
172
|
+
danger: BooleanConstructor;
|
|
173
|
+
/**
|
|
174
|
+
* Whether the split control should take the full width of its parent
|
|
175
|
+
*/
|
|
176
|
+
block: BooleanConstructor;
|
|
177
|
+
/**
|
|
178
|
+
* HTML button type for the primary action
|
|
179
|
+
* @default 'button'
|
|
180
|
+
*/
|
|
181
|
+
htmlType: {
|
|
182
|
+
type: PropType<ButtonHtmlType>;
|
|
183
|
+
default: string;
|
|
184
|
+
};
|
|
185
|
+
/**
|
|
186
|
+
* Position of the icon relative to the primary action text
|
|
187
|
+
* @default 'left'
|
|
188
|
+
*/
|
|
189
|
+
iconPosition: {
|
|
190
|
+
type: PropType<ButtonIconPosition>;
|
|
191
|
+
default: string;
|
|
192
|
+
};
|
|
193
|
+
/**
|
|
194
|
+
* Whether the menu is open (controlled mode)
|
|
195
|
+
*/
|
|
196
|
+
open: {
|
|
197
|
+
type: PropType<boolean | undefined>;
|
|
198
|
+
default: undefined;
|
|
199
|
+
};
|
|
200
|
+
/**
|
|
201
|
+
* Default open state (uncontrolled mode)
|
|
202
|
+
* @default false
|
|
203
|
+
*/
|
|
204
|
+
defaultOpen: {
|
|
205
|
+
type: BooleanConstructor;
|
|
206
|
+
default: boolean;
|
|
207
|
+
};
|
|
208
|
+
/**
|
|
209
|
+
* Whether to close the menu when a menu item is clicked
|
|
210
|
+
* @default true
|
|
211
|
+
*/
|
|
212
|
+
closeOnClick: {
|
|
213
|
+
type: BooleanConstructor;
|
|
214
|
+
default: boolean;
|
|
215
|
+
};
|
|
216
|
+
/**
|
|
217
|
+
* Render the menu into document.body (Teleport)
|
|
218
|
+
* @default true
|
|
219
|
+
*/
|
|
220
|
+
portal: {
|
|
221
|
+
type: BooleanConstructor;
|
|
222
|
+
default: boolean;
|
|
223
|
+
};
|
|
224
|
+
/**
|
|
225
|
+
* Accessible name for the chevron menu trigger
|
|
226
|
+
* @default 'More options'
|
|
227
|
+
*/
|
|
228
|
+
triggerAriaLabel: {
|
|
229
|
+
type: StringConstructor;
|
|
230
|
+
default: undefined;
|
|
231
|
+
};
|
|
232
|
+
/**
|
|
233
|
+
* Dropdown placement relative to the chevron trigger
|
|
234
|
+
* @default 'bottom-end'
|
|
235
|
+
*/
|
|
236
|
+
placement: {
|
|
237
|
+
type: PropType<FloatingPlacement>;
|
|
238
|
+
default: FloatingPlacement;
|
|
239
|
+
};
|
|
240
|
+
/**
|
|
241
|
+
* Offset distance from the chevron trigger
|
|
242
|
+
* @default 4
|
|
243
|
+
*/
|
|
244
|
+
offset: {
|
|
245
|
+
type: NumberConstructor;
|
|
246
|
+
default: number;
|
|
247
|
+
};
|
|
248
|
+
/**
|
|
249
|
+
* Additional CSS classes
|
|
250
|
+
*/
|
|
251
|
+
className: {
|
|
252
|
+
type: StringConstructor;
|
|
253
|
+
default: undefined;
|
|
254
|
+
};
|
|
255
|
+
/**
|
|
256
|
+
* Inline styles
|
|
257
|
+
*/
|
|
258
|
+
style: {
|
|
259
|
+
type: PropType<Record<string, unknown>>;
|
|
260
|
+
default: undefined;
|
|
261
|
+
};
|
|
262
|
+
}>> & Readonly<{
|
|
263
|
+
onClick?: ((...args: any[]) => any) | undefined;
|
|
264
|
+
"onUpdate:open"?: ((...args: any[]) => any) | undefined;
|
|
265
|
+
"onOpen-change"?: ((...args: any[]) => any) | undefined;
|
|
266
|
+
}>, {
|
|
267
|
+
triggerAriaLabel: string;
|
|
268
|
+
size: ButtonSize;
|
|
269
|
+
className: string;
|
|
270
|
+
style: Record<string, unknown>;
|
|
271
|
+
disabled: boolean;
|
|
272
|
+
loading: boolean;
|
|
273
|
+
block: boolean;
|
|
274
|
+
danger: boolean;
|
|
275
|
+
variant: ButtonVariant;
|
|
276
|
+
iconPosition: ButtonIconPosition;
|
|
277
|
+
htmlType: ButtonHtmlType;
|
|
278
|
+
placement: FloatingPlacement;
|
|
279
|
+
offset: number;
|
|
280
|
+
open: boolean | undefined;
|
|
281
|
+
defaultOpen: boolean;
|
|
282
|
+
closeOnClick: boolean;
|
|
283
|
+
portal: boolean;
|
|
284
|
+
}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
285
|
+
|
|
286
|
+
export { SplitButton, type VueSplitButtonProps, SplitButton as default };
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import {
|
|
2
|
+
SplitButton,
|
|
3
|
+
SplitButton_default
|
|
4
|
+
} from "../chunk-7DWWNFRP.mjs";
|
|
5
|
+
import "../chunk-KROVW4AW.mjs";
|
|
6
|
+
import "../chunk-YZBQ6IR7.mjs";
|
|
7
|
+
import "../chunk-Z2ZECCGD.mjs";
|
|
8
|
+
import "../chunk-Q7Y22OFX.mjs";
|
|
9
|
+
export {
|
|
10
|
+
SplitButton,
|
|
11
|
+
SplitButton_default as default
|
|
12
|
+
};
|
|
@@ -86,9 +86,9 @@ declare const Splitter: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
86
86
|
"onResize-start"?: ((...args: any[]) => any) | undefined;
|
|
87
87
|
"onResize-end"?: ((...args: any[]) => any) | undefined;
|
|
88
88
|
}>, {
|
|
89
|
+
direction: SplitDirection;
|
|
89
90
|
className: string;
|
|
90
91
|
style: Record<string, string | number>;
|
|
91
|
-
direction: SplitDirection;
|
|
92
92
|
disabled: boolean;
|
|
93
93
|
min: number;
|
|
94
94
|
max: number;
|
|
@@ -180,17 +180,17 @@ declare const Spotlight: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
180
180
|
"onUpdate:query"?: ((...args: any[]) => any) | undefined;
|
|
181
181
|
"onQuery-change"?: ((...args: any[]) => any) | undefined;
|
|
182
182
|
}>, {
|
|
183
|
-
zIndex: number;
|
|
184
|
-
className: string;
|
|
185
|
-
style: Record<string, unknown>;
|
|
186
|
-
title: string;
|
|
187
183
|
locale: Partial<TigerLocale>;
|
|
188
184
|
emptyText: string;
|
|
189
185
|
placeholder: string;
|
|
186
|
+
className: string;
|
|
187
|
+
style: Record<string, unknown>;
|
|
188
|
+
title: string;
|
|
190
189
|
mask: boolean;
|
|
191
190
|
open: boolean | undefined;
|
|
192
|
-
limit: number;
|
|
193
191
|
defaultOpen: boolean;
|
|
192
|
+
limit: number;
|
|
193
|
+
zIndex: number;
|
|
194
194
|
maskClosable: boolean;
|
|
195
195
|
items: SpotlightItem[];
|
|
196
196
|
query: string | undefined;
|
|
@@ -88,10 +88,10 @@ declare const Statistic: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
88
88
|
default: undefined;
|
|
89
89
|
};
|
|
90
90
|
}>> & Readonly<{}>, {
|
|
91
|
+
size: ComponentSize;
|
|
91
92
|
className: string;
|
|
92
93
|
title: string;
|
|
93
94
|
value: string | number;
|
|
94
|
-
size: ComponentSize;
|
|
95
95
|
precision: number;
|
|
96
96
|
prefix: string;
|
|
97
97
|
suffix: string;
|
|
@@ -150,9 +150,9 @@ declare const StepsItem: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
150
150
|
default: boolean;
|
|
151
151
|
};
|
|
152
152
|
}>> & Readonly<{}>, {
|
|
153
|
+
status: StepStatus;
|
|
153
154
|
className: string;
|
|
154
155
|
style: Record<string, unknown>;
|
|
155
|
-
status: StepStatus;
|
|
156
156
|
disabled: boolean;
|
|
157
157
|
icon: undefined;
|
|
158
158
|
description: string;
|
|
@@ -285,11 +285,11 @@ declare const Steps: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
285
285
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
286
286
|
"onUpdate:current"?: ((...args: any[]) => any) | undefined;
|
|
287
287
|
}>, {
|
|
288
|
-
className: string;
|
|
289
|
-
style: Record<string, unknown>;
|
|
290
288
|
direction: StepsDirection;
|
|
291
289
|
status: StepStatus;
|
|
292
290
|
size: StepSize;
|
|
291
|
+
className: string;
|
|
292
|
+
style: Record<string, unknown>;
|
|
293
293
|
simple: boolean;
|
|
294
294
|
current: number;
|
|
295
295
|
clickable: boolean;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SunburstChart,
|
|
3
3
|
SunburstChart_default
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-ZOYHZF4N.mjs";
|
|
5
5
|
import "../chunk-PE5OA4YG.mjs";
|
|
6
|
+
import "../chunk-2ZUEXCVJ.mjs";
|
|
6
7
|
import "../chunk-SPFL55TF.mjs";
|
|
7
8
|
import "../chunk-W5RZPTFD.mjs";
|
|
8
9
|
import "../chunk-V443QIJM.mjs";
|
|
9
|
-
import "../chunk-2ZUEXCVJ.mjs";
|
|
10
10
|
export {
|
|
11
11
|
SunburstChart,
|
|
12
12
|
SunburstChart_default as default
|
|
@@ -410,12 +410,12 @@ declare const Tabs: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
410
410
|
onEdit?: ((...args: any[]) => any) | undefined;
|
|
411
411
|
"onTab-click"?: ((...args: any[]) => any) | undefined;
|
|
412
412
|
}>, {
|
|
413
|
-
type: TabType;
|
|
414
|
-
className: string;
|
|
415
|
-
style: Record<string, string | number>;
|
|
416
413
|
locale: Partial<TigerLocale>;
|
|
414
|
+
type: TabType;
|
|
417
415
|
labels: Partial<TigerLocaleTabs>;
|
|
418
416
|
size: TabSize;
|
|
417
|
+
className: string;
|
|
418
|
+
style: Record<string, string | number>;
|
|
419
419
|
closable: boolean;
|
|
420
420
|
lazy: boolean;
|
|
421
421
|
activeKey: string | number;
|
|
@@ -118,11 +118,11 @@ declare const Tag: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
118
118
|
}>> & Readonly<{
|
|
119
119
|
onClose?: ((...args: any[]) => any) | undefined;
|
|
120
120
|
}>, {
|
|
121
|
-
className: string;
|
|
122
|
-
style: Record<string, string | number>;
|
|
123
121
|
locale: Partial<TigerLocale>;
|
|
124
122
|
closeAriaLabel: string;
|
|
125
123
|
size: TagSize;
|
|
124
|
+
className: string;
|
|
125
|
+
style: Record<string, string | number>;
|
|
126
126
|
variant: TagVariant;
|
|
127
127
|
closable: boolean;
|
|
128
128
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
@@ -0,0 +1,214 @@
|
|
|
1
|
+
import * as vue from 'vue';
|
|
2
|
+
import { PropType } from 'vue';
|
|
3
|
+
import { ComponentSize, InputStatus } from '@expcat/tigercat-core';
|
|
4
|
+
|
|
5
|
+
type VueTagsInputProps = InstanceType<typeof TagsInput>['$props'];
|
|
6
|
+
declare const TagsInput: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
7
|
+
/**
|
|
8
|
+
* Tags (for v-model)
|
|
9
|
+
*/
|
|
10
|
+
modelValue: {
|
|
11
|
+
type: PropType<string[]>;
|
|
12
|
+
default: undefined;
|
|
13
|
+
};
|
|
14
|
+
/**
|
|
15
|
+
* Default tags (for uncontrolled mode)
|
|
16
|
+
*/
|
|
17
|
+
defaultValue: {
|
|
18
|
+
type: PropType<string[]>;
|
|
19
|
+
default: () => never[];
|
|
20
|
+
};
|
|
21
|
+
/**
|
|
22
|
+
* Input size
|
|
23
|
+
* @default 'md'
|
|
24
|
+
*/
|
|
25
|
+
size: {
|
|
26
|
+
type: PropType<ComponentSize>;
|
|
27
|
+
default: string;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* Validation status
|
|
31
|
+
* @default 'default'
|
|
32
|
+
*/
|
|
33
|
+
status: {
|
|
34
|
+
type: PropType<InputStatus>;
|
|
35
|
+
default: string;
|
|
36
|
+
};
|
|
37
|
+
/** Error message to display */
|
|
38
|
+
errorMessage: StringConstructor;
|
|
39
|
+
/** Placeholder for the inner text input */
|
|
40
|
+
placeholder: {
|
|
41
|
+
type: StringConstructor;
|
|
42
|
+
default: string;
|
|
43
|
+
};
|
|
44
|
+
/** Whether the same tag may be added more than once */
|
|
45
|
+
allowDuplicates: BooleanConstructor;
|
|
46
|
+
/** Maximum number of tags */
|
|
47
|
+
max: {
|
|
48
|
+
type: NumberConstructor;
|
|
49
|
+
default: undefined;
|
|
50
|
+
};
|
|
51
|
+
/**
|
|
52
|
+
* Characters that commit input while typing and split pasted text
|
|
53
|
+
* @default [',']
|
|
54
|
+
*/
|
|
55
|
+
delimiters: {
|
|
56
|
+
type: PropType<string[]>;
|
|
57
|
+
default: () => string[];
|
|
58
|
+
};
|
|
59
|
+
/** Commit the pending input as a tag on blur */
|
|
60
|
+
addOnBlur: BooleanConstructor;
|
|
61
|
+
/** Validate/transform a candidate tag before it is added */
|
|
62
|
+
beforeAdd: {
|
|
63
|
+
type: PropType<(tag: string) => boolean | string>;
|
|
64
|
+
default: undefined;
|
|
65
|
+
};
|
|
66
|
+
/** Whether to show a clear-all button */
|
|
67
|
+
clearable: BooleanConstructor;
|
|
68
|
+
/** Whether the input is disabled */
|
|
69
|
+
disabled: BooleanConstructor;
|
|
70
|
+
/** Whether the input is readonly */
|
|
71
|
+
readonly: BooleanConstructor;
|
|
72
|
+
/** Name for the hidden input carrying the joined value */
|
|
73
|
+
name: StringConstructor;
|
|
74
|
+
/** Id attribute applied to the inner text input */
|
|
75
|
+
id: StringConstructor;
|
|
76
|
+
/** Aria-label template for tag remove buttons; supports {tag} */
|
|
77
|
+
removeTagAriaLabel: StringConstructor;
|
|
78
|
+
/**
|
|
79
|
+
* Internal shake trigger counter (used by FormItem)
|
|
80
|
+
* @internal
|
|
81
|
+
*/
|
|
82
|
+
_shakeTrigger: {
|
|
83
|
+
type: NumberConstructor;
|
|
84
|
+
default: undefined;
|
|
85
|
+
};
|
|
86
|
+
/** Additional CSS classes */
|
|
87
|
+
className: StringConstructor;
|
|
88
|
+
/** Inline styles */
|
|
89
|
+
style: {
|
|
90
|
+
type: PropType<Record<string, string | number>>;
|
|
91
|
+
default: undefined;
|
|
92
|
+
};
|
|
93
|
+
}>, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
94
|
+
[key: string]: any;
|
|
95
|
+
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
96
|
+
'update:modelValue': null;
|
|
97
|
+
add: null;
|
|
98
|
+
remove: null;
|
|
99
|
+
clear: null;
|
|
100
|
+
focus: null;
|
|
101
|
+
blur: null;
|
|
102
|
+
}, string, vue.PublicProps, Readonly<vue.ExtractPropTypes<{
|
|
103
|
+
/**
|
|
104
|
+
* Tags (for v-model)
|
|
105
|
+
*/
|
|
106
|
+
modelValue: {
|
|
107
|
+
type: PropType<string[]>;
|
|
108
|
+
default: undefined;
|
|
109
|
+
};
|
|
110
|
+
/**
|
|
111
|
+
* Default tags (for uncontrolled mode)
|
|
112
|
+
*/
|
|
113
|
+
defaultValue: {
|
|
114
|
+
type: PropType<string[]>;
|
|
115
|
+
default: () => never[];
|
|
116
|
+
};
|
|
117
|
+
/**
|
|
118
|
+
* Input size
|
|
119
|
+
* @default 'md'
|
|
120
|
+
*/
|
|
121
|
+
size: {
|
|
122
|
+
type: PropType<ComponentSize>;
|
|
123
|
+
default: string;
|
|
124
|
+
};
|
|
125
|
+
/**
|
|
126
|
+
* Validation status
|
|
127
|
+
* @default 'default'
|
|
128
|
+
*/
|
|
129
|
+
status: {
|
|
130
|
+
type: PropType<InputStatus>;
|
|
131
|
+
default: string;
|
|
132
|
+
};
|
|
133
|
+
/** Error message to display */
|
|
134
|
+
errorMessage: StringConstructor;
|
|
135
|
+
/** Placeholder for the inner text input */
|
|
136
|
+
placeholder: {
|
|
137
|
+
type: StringConstructor;
|
|
138
|
+
default: string;
|
|
139
|
+
};
|
|
140
|
+
/** Whether the same tag may be added more than once */
|
|
141
|
+
allowDuplicates: BooleanConstructor;
|
|
142
|
+
/** Maximum number of tags */
|
|
143
|
+
max: {
|
|
144
|
+
type: NumberConstructor;
|
|
145
|
+
default: undefined;
|
|
146
|
+
};
|
|
147
|
+
/**
|
|
148
|
+
* Characters that commit input while typing and split pasted text
|
|
149
|
+
* @default [',']
|
|
150
|
+
*/
|
|
151
|
+
delimiters: {
|
|
152
|
+
type: PropType<string[]>;
|
|
153
|
+
default: () => string[];
|
|
154
|
+
};
|
|
155
|
+
/** Commit the pending input as a tag on blur */
|
|
156
|
+
addOnBlur: BooleanConstructor;
|
|
157
|
+
/** Validate/transform a candidate tag before it is added */
|
|
158
|
+
beforeAdd: {
|
|
159
|
+
type: PropType<(tag: string) => boolean | string>;
|
|
160
|
+
default: undefined;
|
|
161
|
+
};
|
|
162
|
+
/** Whether to show a clear-all button */
|
|
163
|
+
clearable: BooleanConstructor;
|
|
164
|
+
/** Whether the input is disabled */
|
|
165
|
+
disabled: BooleanConstructor;
|
|
166
|
+
/** Whether the input is readonly */
|
|
167
|
+
readonly: BooleanConstructor;
|
|
168
|
+
/** Name for the hidden input carrying the joined value */
|
|
169
|
+
name: StringConstructor;
|
|
170
|
+
/** Id attribute applied to the inner text input */
|
|
171
|
+
id: StringConstructor;
|
|
172
|
+
/** Aria-label template for tag remove buttons; supports {tag} */
|
|
173
|
+
removeTagAriaLabel: StringConstructor;
|
|
174
|
+
/**
|
|
175
|
+
* Internal shake trigger counter (used by FormItem)
|
|
176
|
+
* @internal
|
|
177
|
+
*/
|
|
178
|
+
_shakeTrigger: {
|
|
179
|
+
type: NumberConstructor;
|
|
180
|
+
default: undefined;
|
|
181
|
+
};
|
|
182
|
+
/** Additional CSS classes */
|
|
183
|
+
className: StringConstructor;
|
|
184
|
+
/** Inline styles */
|
|
185
|
+
style: {
|
|
186
|
+
type: PropType<Record<string, string | number>>;
|
|
187
|
+
default: undefined;
|
|
188
|
+
};
|
|
189
|
+
}>> & Readonly<{
|
|
190
|
+
onClear?: ((...args: any[]) => any) | undefined;
|
|
191
|
+
onBlur?: ((...args: any[]) => any) | undefined;
|
|
192
|
+
onFocus?: ((...args: any[]) => any) | undefined;
|
|
193
|
+
onAdd?: ((...args: any[]) => any) | undefined;
|
|
194
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
195
|
+
onRemove?: ((...args: any[]) => any) | undefined;
|
|
196
|
+
}>, {
|
|
197
|
+
status: InputStatus;
|
|
198
|
+
placeholder: string;
|
|
199
|
+
size: ComponentSize;
|
|
200
|
+
style: Record<string, string | number>;
|
|
201
|
+
disabled: boolean;
|
|
202
|
+
delimiters: string[];
|
|
203
|
+
defaultValue: string[];
|
|
204
|
+
max: number;
|
|
205
|
+
modelValue: string[];
|
|
206
|
+
clearable: boolean;
|
|
207
|
+
readonly: boolean;
|
|
208
|
+
_shakeTrigger: number;
|
|
209
|
+
allowDuplicates: boolean;
|
|
210
|
+
addOnBlur: boolean;
|
|
211
|
+
beforeAdd: (tag: string) => boolean | string;
|
|
212
|
+
}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
213
|
+
|
|
214
|
+
export { TagsInput, type VueTagsInputProps, TagsInput as default };
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import {
|
|
2
|
+
TagsInput,
|
|
3
|
+
TagsInput_default
|
|
4
|
+
} from "../chunk-AOLRZG4E.mjs";
|
|
5
|
+
import "../chunk-P2LZ2MR5.mjs";
|
|
6
|
+
import "../chunk-342DH5CF.mjs";
|
|
7
|
+
import "../chunk-UOJOJBEU.mjs";
|
|
8
|
+
import "../chunk-TGXBCKOU.mjs";
|
|
9
|
+
export {
|
|
10
|
+
TagsInput,
|
|
11
|
+
TagsInput_default as default
|
|
12
|
+
};
|
|
@@ -186,10 +186,10 @@ declare const TaskBoard: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
186
186
|
"onColumn-add"?: ((...args: any[]) => any) | undefined;
|
|
187
187
|
"onUpdate:columns"?: ((...args: any[]) => any) | undefined;
|
|
188
188
|
}>, {
|
|
189
|
-
className: string;
|
|
190
|
-
style: Record<string, string | number>;
|
|
191
189
|
locale: Partial<TigerLocale>;
|
|
192
190
|
labels: Partial<TigerLocaleTaskBoard>;
|
|
191
|
+
className: string;
|
|
192
|
+
style: Record<string, string | number>;
|
|
193
193
|
columns: TaskBoardColumn[];
|
|
194
194
|
columnDraggable: boolean;
|
|
195
195
|
draggable: boolean;
|
|
@@ -288,9 +288,9 @@ declare const Textarea: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
288
288
|
type: PropType<Record<string, string | number>>;
|
|
289
289
|
};
|
|
290
290
|
}>> & Readonly<{
|
|
291
|
-
onChange?: ((...args: any[]) => any) | undefined;
|
|
292
291
|
onInput?: ((...args: any[]) => any) | undefined;
|
|
293
292
|
onBlur?: ((...args: any[]) => any) | undefined;
|
|
293
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
294
294
|
onFocus?: ((...args: any[]) => any) | undefined;
|
|
295
295
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
296
296
|
}>, {
|
|
@@ -344,17 +344,17 @@ declare const TimePicker: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
344
344
|
default: undefined;
|
|
345
345
|
};
|
|
346
346
|
}>> & Readonly<{
|
|
347
|
-
onChange?: ((value: TimePickerModelValue) => any) | undefined;
|
|
348
347
|
onClear?: (() => any) | undefined;
|
|
348
|
+
onChange?: ((value: TimePickerModelValue) => any) | undefined;
|
|
349
349
|
"onUpdate:modelValue"?: ((value: TimePickerModelValue) => any) | undefined;
|
|
350
350
|
}>, {
|
|
351
|
-
className: string;
|
|
352
|
-
style: Record<string, string | number>;
|
|
353
351
|
locale: string | Partial<TigerLocale>;
|
|
354
352
|
labels: Partial<TimePickerLabels>;
|
|
355
353
|
placeholder: string;
|
|
356
354
|
required: boolean;
|
|
357
355
|
size: ComponentSize;
|
|
356
|
+
className: string;
|
|
357
|
+
style: Record<string, string | number>;
|
|
358
358
|
disabled: boolean;
|
|
359
359
|
range: boolean;
|
|
360
360
|
modelValue: string | [string | null, string | null] | null;
|