@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
|
@@ -149,16 +149,16 @@ declare const MarkdownEditor: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
149
149
|
"onUpdate:mode"?: ((...args: any[]) => any) | undefined;
|
|
150
150
|
"onMode-change"?: ((...args: any[]) => any) | undefined;
|
|
151
151
|
}>, {
|
|
152
|
-
className: string;
|
|
153
|
-
style: Record<string, string | number>;
|
|
154
|
-
mode: MarkdownEditorMode;
|
|
155
|
-
value: string;
|
|
156
|
-
height: string | number;
|
|
157
152
|
locale: Partial<TigerLocale>;
|
|
158
153
|
labels: Partial<TigerLocaleMarkdownEditor>;
|
|
159
154
|
placeholder: string;
|
|
155
|
+
className: string;
|
|
156
|
+
mode: MarkdownEditorMode;
|
|
157
|
+
style: Record<string, string | number>;
|
|
160
158
|
disabled: boolean;
|
|
159
|
+
value: string;
|
|
161
160
|
defaultValue: string;
|
|
161
|
+
height: string | number;
|
|
162
162
|
toolbar: false | MarkdownToolbarItem[];
|
|
163
163
|
readOnly: boolean;
|
|
164
164
|
defaultMode: MarkdownEditorMode;
|
|
@@ -0,0 +1,158 @@
|
|
|
1
|
+
import * as vue from 'vue';
|
|
2
|
+
import { PropType } from 'vue';
|
|
3
|
+
import { MarqueeDirection, MarqueeGap } from '@expcat/tigercat-core';
|
|
4
|
+
|
|
5
|
+
interface VueMarqueeProps {
|
|
6
|
+
direction?: MarqueeDirection;
|
|
7
|
+
duration?: number;
|
|
8
|
+
pauseOnHover?: boolean;
|
|
9
|
+
gap?: MarqueeGap;
|
|
10
|
+
repeat?: number;
|
|
11
|
+
ariaLabel?: string;
|
|
12
|
+
className?: string;
|
|
13
|
+
style?: Record<string, unknown>;
|
|
14
|
+
}
|
|
15
|
+
declare const Marquee: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
16
|
+
/**
|
|
17
|
+
* Scroll direction
|
|
18
|
+
* @default 'left'
|
|
19
|
+
*/
|
|
20
|
+
direction: {
|
|
21
|
+
type: PropType<MarqueeDirection>;
|
|
22
|
+
default: string;
|
|
23
|
+
};
|
|
24
|
+
/**
|
|
25
|
+
* Time for one full loop, in milliseconds
|
|
26
|
+
* @default 20000
|
|
27
|
+
*/
|
|
28
|
+
duration: {
|
|
29
|
+
type: NumberConstructor;
|
|
30
|
+
default: undefined;
|
|
31
|
+
};
|
|
32
|
+
/**
|
|
33
|
+
* Pause looping while hovered or while focus is inside the region
|
|
34
|
+
* @default true
|
|
35
|
+
*/
|
|
36
|
+
pauseOnHover: {
|
|
37
|
+
type: BooleanConstructor;
|
|
38
|
+
default: boolean;
|
|
39
|
+
};
|
|
40
|
+
/**
|
|
41
|
+
* Gap between items and between duplicated copies.
|
|
42
|
+
* A number is pixels; a string is a CSS length.
|
|
43
|
+
* @default 16
|
|
44
|
+
*/
|
|
45
|
+
gap: {
|
|
46
|
+
type: PropType<MarqueeGap>;
|
|
47
|
+
default: undefined;
|
|
48
|
+
};
|
|
49
|
+
/**
|
|
50
|
+
* How many copies of the content to render for a seamless loop.
|
|
51
|
+
* Values below 2 skip looping and show a single static copy.
|
|
52
|
+
* @default 2
|
|
53
|
+
*/
|
|
54
|
+
repeat: {
|
|
55
|
+
type: NumberConstructor;
|
|
56
|
+
default: undefined;
|
|
57
|
+
};
|
|
58
|
+
/**
|
|
59
|
+
* Accessible name for the region
|
|
60
|
+
* @default 'Scrolling content'
|
|
61
|
+
*/
|
|
62
|
+
ariaLabel: {
|
|
63
|
+
type: StringConstructor;
|
|
64
|
+
default: undefined;
|
|
65
|
+
};
|
|
66
|
+
/**
|
|
67
|
+
* Additional CSS classes
|
|
68
|
+
*/
|
|
69
|
+
className: {
|
|
70
|
+
type: StringConstructor;
|
|
71
|
+
default: undefined;
|
|
72
|
+
};
|
|
73
|
+
/**
|
|
74
|
+
* Inline styles
|
|
75
|
+
*/
|
|
76
|
+
style: {
|
|
77
|
+
type: PropType<Record<string, unknown>>;
|
|
78
|
+
default: undefined;
|
|
79
|
+
};
|
|
80
|
+
}>, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
81
|
+
[key: string]: any;
|
|
82
|
+
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<vue.ExtractPropTypes<{
|
|
83
|
+
/**
|
|
84
|
+
* Scroll direction
|
|
85
|
+
* @default 'left'
|
|
86
|
+
*/
|
|
87
|
+
direction: {
|
|
88
|
+
type: PropType<MarqueeDirection>;
|
|
89
|
+
default: string;
|
|
90
|
+
};
|
|
91
|
+
/**
|
|
92
|
+
* Time for one full loop, in milliseconds
|
|
93
|
+
* @default 20000
|
|
94
|
+
*/
|
|
95
|
+
duration: {
|
|
96
|
+
type: NumberConstructor;
|
|
97
|
+
default: undefined;
|
|
98
|
+
};
|
|
99
|
+
/**
|
|
100
|
+
* Pause looping while hovered or while focus is inside the region
|
|
101
|
+
* @default true
|
|
102
|
+
*/
|
|
103
|
+
pauseOnHover: {
|
|
104
|
+
type: BooleanConstructor;
|
|
105
|
+
default: boolean;
|
|
106
|
+
};
|
|
107
|
+
/**
|
|
108
|
+
* Gap between items and between duplicated copies.
|
|
109
|
+
* A number is pixels; a string is a CSS length.
|
|
110
|
+
* @default 16
|
|
111
|
+
*/
|
|
112
|
+
gap: {
|
|
113
|
+
type: PropType<MarqueeGap>;
|
|
114
|
+
default: undefined;
|
|
115
|
+
};
|
|
116
|
+
/**
|
|
117
|
+
* How many copies of the content to render for a seamless loop.
|
|
118
|
+
* Values below 2 skip looping and show a single static copy.
|
|
119
|
+
* @default 2
|
|
120
|
+
*/
|
|
121
|
+
repeat: {
|
|
122
|
+
type: NumberConstructor;
|
|
123
|
+
default: undefined;
|
|
124
|
+
};
|
|
125
|
+
/**
|
|
126
|
+
* Accessible name for the region
|
|
127
|
+
* @default 'Scrolling content'
|
|
128
|
+
*/
|
|
129
|
+
ariaLabel: {
|
|
130
|
+
type: StringConstructor;
|
|
131
|
+
default: undefined;
|
|
132
|
+
};
|
|
133
|
+
/**
|
|
134
|
+
* Additional CSS classes
|
|
135
|
+
*/
|
|
136
|
+
className: {
|
|
137
|
+
type: StringConstructor;
|
|
138
|
+
default: undefined;
|
|
139
|
+
};
|
|
140
|
+
/**
|
|
141
|
+
* Inline styles
|
|
142
|
+
*/
|
|
143
|
+
style: {
|
|
144
|
+
type: PropType<Record<string, unknown>>;
|
|
145
|
+
default: undefined;
|
|
146
|
+
};
|
|
147
|
+
}>> & Readonly<{}>, {
|
|
148
|
+
direction: MarqueeDirection;
|
|
149
|
+
ariaLabel: string;
|
|
150
|
+
className: string;
|
|
151
|
+
style: Record<string, unknown>;
|
|
152
|
+
repeat: number;
|
|
153
|
+
duration: number;
|
|
154
|
+
pauseOnHover: boolean;
|
|
155
|
+
gap: MarqueeGap;
|
|
156
|
+
}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
157
|
+
|
|
158
|
+
export { Marquee, type VueMarqueeProps, Marquee as default };
|
|
@@ -0,0 +1,201 @@
|
|
|
1
|
+
import * as vue from 'vue';
|
|
2
|
+
import { PropType } from 'vue';
|
|
3
|
+
import { MaskToken, ComponentSize, InputStatus } from '@expcat/tigercat-core';
|
|
4
|
+
|
|
5
|
+
type VueMaskInputProps = InstanceType<typeof MaskInput>['$props'];
|
|
6
|
+
declare const MaskInput: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
7
|
+
/**
|
|
8
|
+
* Raw (unmasked) value for v-model
|
|
9
|
+
*/
|
|
10
|
+
modelValue: {
|
|
11
|
+
type: StringConstructor;
|
|
12
|
+
default: undefined;
|
|
13
|
+
};
|
|
14
|
+
/**
|
|
15
|
+
* Default raw value (for uncontrolled mode)
|
|
16
|
+
*/
|
|
17
|
+
defaultValue: {
|
|
18
|
+
type: StringConstructor;
|
|
19
|
+
default: string;
|
|
20
|
+
};
|
|
21
|
+
/**
|
|
22
|
+
* Mask template. Built-in tokens: `#` digit, `a` letter, `*` alphanumeric,
|
|
23
|
+
* `!` escapes the next character to a literal
|
|
24
|
+
*/
|
|
25
|
+
mask: {
|
|
26
|
+
type: StringConstructor;
|
|
27
|
+
required: true;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* Custom tokens merged over the built-ins
|
|
31
|
+
*/
|
|
32
|
+
tokens: {
|
|
33
|
+
type: PropType<Record<string, MaskToken>>;
|
|
34
|
+
default: undefined;
|
|
35
|
+
};
|
|
36
|
+
/**
|
|
37
|
+
* Input size
|
|
38
|
+
* @default 'md'
|
|
39
|
+
*/
|
|
40
|
+
size: {
|
|
41
|
+
type: PropType<ComponentSize>;
|
|
42
|
+
default: string;
|
|
43
|
+
};
|
|
44
|
+
/**
|
|
45
|
+
* Validation status
|
|
46
|
+
* @default 'default'
|
|
47
|
+
*/
|
|
48
|
+
status: {
|
|
49
|
+
type: PropType<InputStatus>;
|
|
50
|
+
default: string;
|
|
51
|
+
};
|
|
52
|
+
/** Error message to display */
|
|
53
|
+
errorMessage: StringConstructor;
|
|
54
|
+
/** Placeholder text */
|
|
55
|
+
placeholder: {
|
|
56
|
+
type: StringConstructor;
|
|
57
|
+
default: string;
|
|
58
|
+
};
|
|
59
|
+
/** Whether the input is disabled */
|
|
60
|
+
disabled: BooleanConstructor;
|
|
61
|
+
/** Whether the input is readonly */
|
|
62
|
+
readonly: BooleanConstructor;
|
|
63
|
+
/** Whether to show a clear button when the input has value */
|
|
64
|
+
clearable: BooleanConstructor;
|
|
65
|
+
/** Input name attribute */
|
|
66
|
+
name: StringConstructor;
|
|
67
|
+
/** Input id attribute */
|
|
68
|
+
id: StringConstructor;
|
|
69
|
+
/** Autocomplete attribute */
|
|
70
|
+
autoComplete: StringConstructor;
|
|
71
|
+
/** Whether to autofocus on mount */
|
|
72
|
+
autoFocus: BooleanConstructor;
|
|
73
|
+
/**
|
|
74
|
+
* Internal shake trigger counter (used by FormItem)
|
|
75
|
+
* @internal
|
|
76
|
+
*/
|
|
77
|
+
_shakeTrigger: {
|
|
78
|
+
type: NumberConstructor;
|
|
79
|
+
default: undefined;
|
|
80
|
+
};
|
|
81
|
+
/** Additional CSS classes */
|
|
82
|
+
className: StringConstructor;
|
|
83
|
+
/** Inline styles */
|
|
84
|
+
style: {
|
|
85
|
+
type: PropType<Record<string, string | number>>;
|
|
86
|
+
default: undefined;
|
|
87
|
+
};
|
|
88
|
+
}>, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
89
|
+
[key: string]: any;
|
|
90
|
+
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
91
|
+
'update:modelValue': null;
|
|
92
|
+
change: null;
|
|
93
|
+
complete: null;
|
|
94
|
+
focus: null;
|
|
95
|
+
blur: null;
|
|
96
|
+
clear: null;
|
|
97
|
+
}, string, vue.PublicProps, Readonly<vue.ExtractPropTypes<{
|
|
98
|
+
/**
|
|
99
|
+
* Raw (unmasked) value for v-model
|
|
100
|
+
*/
|
|
101
|
+
modelValue: {
|
|
102
|
+
type: StringConstructor;
|
|
103
|
+
default: undefined;
|
|
104
|
+
};
|
|
105
|
+
/**
|
|
106
|
+
* Default raw value (for uncontrolled mode)
|
|
107
|
+
*/
|
|
108
|
+
defaultValue: {
|
|
109
|
+
type: StringConstructor;
|
|
110
|
+
default: string;
|
|
111
|
+
};
|
|
112
|
+
/**
|
|
113
|
+
* Mask template. Built-in tokens: `#` digit, `a` letter, `*` alphanumeric,
|
|
114
|
+
* `!` escapes the next character to a literal
|
|
115
|
+
*/
|
|
116
|
+
mask: {
|
|
117
|
+
type: StringConstructor;
|
|
118
|
+
required: true;
|
|
119
|
+
};
|
|
120
|
+
/**
|
|
121
|
+
* Custom tokens merged over the built-ins
|
|
122
|
+
*/
|
|
123
|
+
tokens: {
|
|
124
|
+
type: PropType<Record<string, MaskToken>>;
|
|
125
|
+
default: undefined;
|
|
126
|
+
};
|
|
127
|
+
/**
|
|
128
|
+
* Input size
|
|
129
|
+
* @default 'md'
|
|
130
|
+
*/
|
|
131
|
+
size: {
|
|
132
|
+
type: PropType<ComponentSize>;
|
|
133
|
+
default: string;
|
|
134
|
+
};
|
|
135
|
+
/**
|
|
136
|
+
* Validation status
|
|
137
|
+
* @default 'default'
|
|
138
|
+
*/
|
|
139
|
+
status: {
|
|
140
|
+
type: PropType<InputStatus>;
|
|
141
|
+
default: string;
|
|
142
|
+
};
|
|
143
|
+
/** Error message to display */
|
|
144
|
+
errorMessage: StringConstructor;
|
|
145
|
+
/** Placeholder text */
|
|
146
|
+
placeholder: {
|
|
147
|
+
type: StringConstructor;
|
|
148
|
+
default: string;
|
|
149
|
+
};
|
|
150
|
+
/** Whether the input is disabled */
|
|
151
|
+
disabled: BooleanConstructor;
|
|
152
|
+
/** Whether the input is readonly */
|
|
153
|
+
readonly: BooleanConstructor;
|
|
154
|
+
/** Whether to show a clear button when the input has value */
|
|
155
|
+
clearable: BooleanConstructor;
|
|
156
|
+
/** Input name attribute */
|
|
157
|
+
name: StringConstructor;
|
|
158
|
+
/** Input id attribute */
|
|
159
|
+
id: StringConstructor;
|
|
160
|
+
/** Autocomplete attribute */
|
|
161
|
+
autoComplete: StringConstructor;
|
|
162
|
+
/** Whether to autofocus on mount */
|
|
163
|
+
autoFocus: BooleanConstructor;
|
|
164
|
+
/**
|
|
165
|
+
* Internal shake trigger counter (used by FormItem)
|
|
166
|
+
* @internal
|
|
167
|
+
*/
|
|
168
|
+
_shakeTrigger: {
|
|
169
|
+
type: NumberConstructor;
|
|
170
|
+
default: undefined;
|
|
171
|
+
};
|
|
172
|
+
/** Additional CSS classes */
|
|
173
|
+
className: StringConstructor;
|
|
174
|
+
/** Inline styles */
|
|
175
|
+
style: {
|
|
176
|
+
type: PropType<Record<string, string | number>>;
|
|
177
|
+
default: undefined;
|
|
178
|
+
};
|
|
179
|
+
}>> & Readonly<{
|
|
180
|
+
onClear?: ((...args: any[]) => any) | undefined;
|
|
181
|
+
onBlur?: ((...args: any[]) => any) | undefined;
|
|
182
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
183
|
+
onFocus?: ((...args: any[]) => any) | undefined;
|
|
184
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
185
|
+
onComplete?: ((...args: any[]) => any) | undefined;
|
|
186
|
+
}>, {
|
|
187
|
+
status: InputStatus;
|
|
188
|
+
placeholder: string;
|
|
189
|
+
size: ComponentSize;
|
|
190
|
+
style: Record<string, string | number>;
|
|
191
|
+
disabled: boolean;
|
|
192
|
+
defaultValue: string;
|
|
193
|
+
modelValue: string;
|
|
194
|
+
clearable: boolean;
|
|
195
|
+
readonly: boolean;
|
|
196
|
+
autoFocus: boolean;
|
|
197
|
+
_shakeTrigger: number;
|
|
198
|
+
tokens: Record<string, MaskToken>;
|
|
199
|
+
}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
200
|
+
|
|
201
|
+
export { MaskInput, type VueMaskInputProps, MaskInput as default };
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
import * as vue from 'vue';
|
|
2
|
+
import { PropType, VNode } from 'vue';
|
|
3
|
+
import { MasonryResponsiveValue } from '@expcat/tigercat-core';
|
|
4
|
+
|
|
5
|
+
interface VueMasonryProps {
|
|
6
|
+
columns?: MasonryResponsiveValue;
|
|
7
|
+
gap?: MasonryResponsiveValue;
|
|
8
|
+
className?: string;
|
|
9
|
+
columnClassName?: string;
|
|
10
|
+
itemClassName?: string;
|
|
11
|
+
}
|
|
12
|
+
declare const Masonry: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
13
|
+
columns: {
|
|
14
|
+
type: PropType<MasonryResponsiveValue>;
|
|
15
|
+
default: number;
|
|
16
|
+
};
|
|
17
|
+
gap: {
|
|
18
|
+
type: PropType<MasonryResponsiveValue>;
|
|
19
|
+
default: number;
|
|
20
|
+
};
|
|
21
|
+
className: {
|
|
22
|
+
type: StringConstructor;
|
|
23
|
+
default: undefined;
|
|
24
|
+
};
|
|
25
|
+
columnClassName: {
|
|
26
|
+
type: StringConstructor;
|
|
27
|
+
default: undefined;
|
|
28
|
+
};
|
|
29
|
+
itemClassName: {
|
|
30
|
+
type: StringConstructor;
|
|
31
|
+
default: undefined;
|
|
32
|
+
};
|
|
33
|
+
}>, () => VNode<vue.RendererNode, vue.RendererElement, {
|
|
34
|
+
[key: string]: any;
|
|
35
|
+
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, "layout"[], "layout", vue.PublicProps, Readonly<vue.ExtractPropTypes<{
|
|
36
|
+
columns: {
|
|
37
|
+
type: PropType<MasonryResponsiveValue>;
|
|
38
|
+
default: number;
|
|
39
|
+
};
|
|
40
|
+
gap: {
|
|
41
|
+
type: PropType<MasonryResponsiveValue>;
|
|
42
|
+
default: number;
|
|
43
|
+
};
|
|
44
|
+
className: {
|
|
45
|
+
type: StringConstructor;
|
|
46
|
+
default: undefined;
|
|
47
|
+
};
|
|
48
|
+
columnClassName: {
|
|
49
|
+
type: StringConstructor;
|
|
50
|
+
default: undefined;
|
|
51
|
+
};
|
|
52
|
+
itemClassName: {
|
|
53
|
+
type: StringConstructor;
|
|
54
|
+
default: undefined;
|
|
55
|
+
};
|
|
56
|
+
}>> & Readonly<{
|
|
57
|
+
onLayout?: ((...args: any[]) => any) | undefined;
|
|
58
|
+
}>, {
|
|
59
|
+
className: string;
|
|
60
|
+
gap: MasonryResponsiveValue;
|
|
61
|
+
columns: MasonryResponsiveValue;
|
|
62
|
+
columnClassName: string;
|
|
63
|
+
itemClassName: string;
|
|
64
|
+
}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
65
|
+
|
|
66
|
+
export { Masonry, type VueMasonryProps, Masonry as default };
|
|
@@ -42,7 +42,7 @@ declare const Mentions: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
42
42
|
};
|
|
43
43
|
}>, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
44
44
|
[key: string]: any;
|
|
45
|
-
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, ("
|
|
45
|
+
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, ("select" | "change" | "update:modelValue")[], "select" | "change" | "update:modelValue", vue.PublicProps, Readonly<vue.ExtractPropTypes<{
|
|
46
46
|
modelValue: {
|
|
47
47
|
type: StringConstructor;
|
|
48
48
|
default: string;
|
|
@@ -72,8 +72,8 @@ declare const Mentions: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
72
72
|
default: number;
|
|
73
73
|
};
|
|
74
74
|
}>> & Readonly<{
|
|
75
|
-
onChange?: ((...args: any[]) => any) | undefined;
|
|
76
75
|
onSelect?: ((...args: any[]) => any) | undefined;
|
|
76
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
77
77
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
78
78
|
}>, {
|
|
79
79
|
placeholder: string;
|
|
@@ -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" | "open-change" | "update:searchValue" | "update:selectedKeys" | "update:openKeys")[], "select" | "search" | "open-change" | "update:searchValue" | "update:selectedKeys" | "update:openKeys", vue.PublicProps, Readonly<vue.ExtractPropTypes<{
|
|
148
148
|
/**
|
|
149
149
|
* Data-driven menu items
|
|
150
150
|
*/
|
|
@@ -254,18 +254,18 @@ declare const Menu: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
254
254
|
};
|
|
255
255
|
}>> & Readonly<{
|
|
256
256
|
onSelect?: ((...args: any[]) => any) | undefined;
|
|
257
|
-
"onUpdate:searchValue"?: ((...args: any[]) => any) | undefined;
|
|
258
257
|
"onOpen-change"?: ((...args: any[]) => any) | undefined;
|
|
258
|
+
"onUpdate:searchValue"?: ((...args: any[]) => any) | undefined;
|
|
259
259
|
"onUpdate:selectedKeys"?: ((...args: any[]) => any) | undefined;
|
|
260
260
|
onSearch?: ((...args: any[]) => any) | undefined;
|
|
261
261
|
"onUpdate:openKeys"?: ((...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;
|
|
268
265
|
searchPlaceholder: string;
|
|
266
|
+
className: string;
|
|
267
|
+
mode: MenuMode;
|
|
268
|
+
style: Record<string, string | number> | undefined;
|
|
269
269
|
searchable: boolean;
|
|
270
270
|
multiple: boolean;
|
|
271
271
|
searchValue: string;
|
|
@@ -176,7 +176,7 @@ declare const Modal: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
176
176
|
type: BooleanConstructor;
|
|
177
177
|
default: boolean;
|
|
178
178
|
};
|
|
179
|
-
}>, () => vue.VNodeChild, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, ("
|
|
179
|
+
}>, () => vue.VNodeChild, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, ("ok" | "cancel" | "close" | "update:open" | "after-close")[], "ok" | "cancel" | "close" | "update:open" | "after-close", vue.PublicProps, Readonly<vue.ExtractPropTypes<{
|
|
180
180
|
/**
|
|
181
181
|
* Whether the modal is open
|
|
182
182
|
* @default false
|
|
@@ -338,21 +338,21 @@ declare const Modal: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
338
338
|
"onAfter-close"?: ((...args: any[]) => any) | undefined;
|
|
339
339
|
onOk?: ((...args: any[]) => any) | undefined;
|
|
340
340
|
}>, {
|
|
341
|
-
zIndex: number;
|
|
342
|
-
className: string;
|
|
343
|
-
style: Record<string, unknown>;
|
|
344
|
-
title: string;
|
|
345
|
-
width: string | number;
|
|
346
341
|
locale: Partial<TigerLocale>;
|
|
347
342
|
okText: string;
|
|
348
343
|
cancelText: string;
|
|
349
344
|
closeAriaLabel: string;
|
|
350
345
|
labels: Partial<TigerLocaleModal>;
|
|
351
346
|
size: ModalSize;
|
|
347
|
+
className: string;
|
|
348
|
+
style: Record<string, unknown>;
|
|
349
|
+
title: string;
|
|
352
350
|
mask: boolean;
|
|
353
351
|
open: boolean;
|
|
354
|
-
|
|
352
|
+
width: string | number;
|
|
355
353
|
closable: boolean;
|
|
354
|
+
draggable: boolean;
|
|
355
|
+
zIndex: number;
|
|
356
356
|
maskClosable: boolean;
|
|
357
357
|
centered: boolean;
|
|
358
358
|
destroyOnClose: boolean;
|