@expcat/tigercat-vue 0.4.0 → 0.4.2
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-ZTJTIQZY.mjs → chunk-DEFEAEYE.mjs} +126 -6
- package/dist/{chunk-KUJ75OHX.js → chunk-ESALMEHU.js} +10 -9
- package/dist/{chunk-KVZLGW45.js → chunk-ETTYERGO.js} +14 -5
- package/dist/chunk-HK2TAPQX.js +334 -0
- package/dist/{chunk-YZK2HXRT.js → chunk-LGRUMMOG.js} +2 -2
- package/dist/chunk-LW3LFCRZ.mjs +331 -0
- package/dist/{chunk-ND4XDRYR.mjs → chunk-TCJBN2DA.mjs} +1 -1
- package/dist/{chunk-7FCHU5KV.mjs → chunk-TTDBR2B4.mjs} +11 -10
- package/dist/{chunk-RKPYLBPU.mjs → chunk-WM4ESIHG.mjs} +15 -6
- package/dist/{chunk-3PQIZBT5.js → chunk-WV3Y45YK.js} +125 -5
- package/dist/components/ActivityFeed.d.mts +1 -1
- package/dist/components/ActivityFeed.d.ts +1 -1
- package/dist/components/ActivityFeed.js +4 -4
- package/dist/components/ActivityFeed.mjs +2 -2
- package/dist/components/Alert.d.mts +1 -1
- package/dist/components/Alert.d.ts +1 -1
- package/dist/components/Anchor.d.mts +5 -5
- package/dist/components/Anchor.d.ts +5 -5
- package/dist/components/AnchorLink.d.mts +1 -1
- package/dist/components/AnchorLink.d.ts +1 -1
- package/dist/components/Avatar.d.mts +2 -2
- package/dist/components/Avatar.d.ts +2 -2
- package/dist/components/BackTop.d.mts +1 -1
- package/dist/components/BackTop.d.ts +1 -1
- package/dist/components/Badge.d.mts +1 -1
- package/dist/components/Badge.d.ts +1 -1
- package/dist/components/Breadcrumb.d.mts +1 -1
- package/dist/components/Breadcrumb.d.ts +1 -1
- package/dist/components/BreadcrumbItem.d.mts +1 -1
- package/dist/components/BreadcrumbItem.d.ts +1 -1
- package/dist/components/Button.d.mts +2 -2
- package/dist/components/Button.d.ts +2 -2
- package/dist/components/Card.d.mts +1 -1
- package/dist/components/Card.d.ts +1 -1
- package/dist/components/Carousel.d.mts +2 -2
- package/dist/components/Carousel.d.ts +2 -2
- package/dist/components/ChartAxis.d.mts +1 -1
- package/dist/components/ChartAxis.d.ts +1 -1
- package/dist/components/ChartGrid.d.mts +2 -2
- package/dist/components/ChartGrid.d.ts +2 -2
- package/dist/components/ChartTooltip.d.mts +1 -1
- package/dist/components/ChartTooltip.d.ts +1 -1
- package/dist/components/ChatWindow.d.mts +1 -1
- package/dist/components/ChatWindow.d.ts +1 -1
- package/dist/components/Code.d.mts +1 -1
- package/dist/components/Code.d.ts +1 -1
- package/dist/components/Collapse.d.mts +3 -3
- package/dist/components/Collapse.d.ts +3 -3
- package/dist/components/CollapsePanel.d.mts +2 -2
- package/dist/components/CollapsePanel.d.ts +2 -2
- package/dist/components/CommentThread.d.mts +1 -1
- package/dist/components/CommentThread.d.ts +1 -1
- package/dist/components/Content.d.mts +1 -1
- package/dist/components/Content.d.ts +1 -1
- package/dist/components/CropUpload.d.mts +1 -1
- package/dist/components/CropUpload.d.ts +1 -1
- package/dist/components/DataTableWithToolbar.d.mts +3 -3
- package/dist/components/DataTableWithToolbar.d.ts +3 -3
- package/dist/components/DataTableWithToolbar.js +4 -4
- package/dist/components/DataTableWithToolbar.mjs +2 -2
- package/dist/components/DatePicker.d.mts +1 -1
- package/dist/components/DatePicker.d.ts +1 -1
- package/dist/components/Descriptions.d.mts +1 -1
- package/dist/components/Descriptions.d.ts +1 -1
- package/dist/components/Drawer.d.mts +3 -3
- package/dist/components/Drawer.d.ts +3 -3
- package/dist/components/Dropdown.d.mts +1 -1
- package/dist/components/Dropdown.d.ts +1 -1
- package/dist/components/DropdownItem.d.mts +1 -1
- package/dist/components/DropdownItem.d.ts +1 -1
- package/dist/components/DropdownMenu.d.mts +1 -1
- package/dist/components/DropdownMenu.d.ts +1 -1
- package/dist/components/Footer.d.mts +1 -1
- package/dist/components/Footer.d.ts +1 -1
- package/dist/components/FormWizard.d.mts +3 -3
- package/dist/components/FormWizard.d.ts +3 -3
- package/dist/components/Header.d.mts +1 -1
- package/dist/components/Header.d.ts +1 -1
- package/dist/components/Image.d.mts +1 -1
- package/dist/components/Image.d.ts +1 -1
- package/dist/components/ImageCropper.d.mts +1 -1
- package/dist/components/ImageCropper.d.ts +1 -1
- package/dist/components/Input.d.mts +1 -1
- package/dist/components/Input.d.ts +1 -1
- package/dist/components/InputNumber.d.mts +170 -0
- package/dist/components/InputNumber.d.ts +170 -0
- package/dist/components/InputNumber.js +17 -0
- package/dist/components/InputNumber.mjs +2 -0
- package/dist/components/Layout.d.mts +1 -1
- package/dist/components/Layout.d.ts +1 -1
- package/dist/components/List.d.mts +2 -2
- package/dist/components/List.d.ts +2 -2
- package/dist/components/Loading.d.mts +2 -2
- package/dist/components/Loading.d.ts +2 -2
- package/dist/components/Menu.d.mts +1 -1
- package/dist/components/Menu.d.ts +1 -1
- package/dist/components/MenuItem.d.mts +1 -1
- package/dist/components/MenuItem.d.ts +1 -1
- package/dist/components/MenuItemGroup.d.mts +1 -1
- package/dist/components/MenuItemGroup.d.ts +1 -1
- package/dist/components/Modal.d.mts +3 -3
- package/dist/components/Modal.d.ts +3 -3
- package/dist/components/NotificationCenter.d.mts +1 -1
- package/dist/components/NotificationCenter.d.ts +1 -1
- package/dist/components/Pagination.d.mts +2 -2
- package/dist/components/Pagination.d.ts +2 -2
- package/dist/components/Popconfirm.d.mts +1 -1
- package/dist/components/Popconfirm.d.ts +1 -1
- package/dist/components/Popover.d.mts +3 -3
- package/dist/components/Popover.d.ts +3 -3
- package/dist/components/Progress.d.mts +4 -4
- package/dist/components/Progress.d.ts +4 -4
- package/dist/components/Select.d.mts +1 -1
- package/dist/components/Select.d.ts +1 -1
- package/dist/components/Sidebar.d.mts +21 -1
- package/dist/components/Sidebar.d.ts +21 -1
- package/dist/components/Sidebar.js +3 -3
- package/dist/components/Sidebar.mjs +1 -1
- package/dist/components/Skeleton.d.mts +1 -1
- package/dist/components/Skeleton.d.ts +1 -1
- package/dist/components/Slider.d.mts +1 -1
- package/dist/components/Slider.d.ts +1 -1
- package/dist/components/Space.d.mts +1 -1
- package/dist/components/Space.d.ts +1 -1
- package/dist/components/Steps.d.mts +2 -2
- package/dist/components/Steps.d.ts +2 -2
- package/dist/components/StepsItem.d.mts +1 -1
- package/dist/components/StepsItem.d.ts +1 -1
- package/dist/components/SubMenu.d.mts +1 -1
- package/dist/components/SubMenu.d.ts +1 -1
- package/dist/components/SubMenu.js +3 -3
- package/dist/components/SubMenu.mjs +1 -1
- package/dist/components/TabPane.d.mts +1 -1
- package/dist/components/TabPane.d.ts +1 -1
- package/dist/components/Table.d.mts +16 -2
- package/dist/components/Table.d.ts +16 -2
- package/dist/components/Table.js +3 -3
- package/dist/components/Table.mjs +1 -1
- package/dist/components/Tabs.d.mts +1 -1
- package/dist/components/Tabs.d.ts +1 -1
- package/dist/components/Tag.d.mts +1 -1
- package/dist/components/Tag.d.ts +1 -1
- package/dist/components/TaskBoard.d.mts +2 -2
- package/dist/components/TaskBoard.d.ts +2 -2
- package/dist/components/Textarea.d.mts +1 -1
- package/dist/components/Textarea.d.ts +1 -1
- package/dist/components/TimePicker.d.mts +2 -2
- package/dist/components/TimePicker.d.ts +2 -2
- package/dist/components/Timeline.d.mts +2 -2
- package/dist/components/Timeline.d.ts +2 -2
- package/dist/components/Tooltip.d.mts +1 -1
- package/dist/components/Tooltip.d.ts +1 -1
- package/dist/components/Upload.d.mts +3 -3
- package/dist/components/Upload.d.ts +3 -3
- package/dist/index.d.mts +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +45 -40
- package/dist/index.mjs +12 -11
- package/package.json +2 -2
- package/dist/{chunk-NGW5UMAN.js → chunk-EBTLMVDJ.js} +1 -1
- package/dist/{chunk-D7VMY6WX.mjs → chunk-RVEEEDJQ.mjs} +1 -1
|
@@ -0,0 +1,170 @@
|
|
|
1
|
+
import * as vue from 'vue';
|
|
2
|
+
import { PropType } from 'vue';
|
|
3
|
+
import { InputSize, InputStatus } from '@expcat/tigercat-core';
|
|
4
|
+
|
|
5
|
+
interface VueInputNumberProps {
|
|
6
|
+
modelValue?: number | null;
|
|
7
|
+
size?: InputSize;
|
|
8
|
+
status?: InputStatus;
|
|
9
|
+
min?: number;
|
|
10
|
+
max?: number;
|
|
11
|
+
step?: number;
|
|
12
|
+
precision?: number;
|
|
13
|
+
disabled?: boolean;
|
|
14
|
+
readonly?: boolean;
|
|
15
|
+
placeholder?: string;
|
|
16
|
+
name?: string;
|
|
17
|
+
id?: string;
|
|
18
|
+
keyboard?: boolean;
|
|
19
|
+
controls?: boolean;
|
|
20
|
+
controlsPosition?: 'right' | 'both';
|
|
21
|
+
formatter?: (value: number | undefined) => string;
|
|
22
|
+
parser?: (displayValue: string) => number;
|
|
23
|
+
autoFocus?: boolean;
|
|
24
|
+
className?: string;
|
|
25
|
+
}
|
|
26
|
+
declare const InputNumber: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
27
|
+
modelValue: {
|
|
28
|
+
type: PropType<number | null>;
|
|
29
|
+
};
|
|
30
|
+
size: {
|
|
31
|
+
type: PropType<InputSize>;
|
|
32
|
+
default: string;
|
|
33
|
+
};
|
|
34
|
+
status: {
|
|
35
|
+
type: PropType<InputStatus>;
|
|
36
|
+
default: string;
|
|
37
|
+
};
|
|
38
|
+
min: {
|
|
39
|
+
type: NumberConstructor;
|
|
40
|
+
default: number;
|
|
41
|
+
};
|
|
42
|
+
max: {
|
|
43
|
+
type: NumberConstructor;
|
|
44
|
+
default: number;
|
|
45
|
+
};
|
|
46
|
+
step: {
|
|
47
|
+
type: NumberConstructor;
|
|
48
|
+
default: number;
|
|
49
|
+
};
|
|
50
|
+
precision: {
|
|
51
|
+
type: PropType<number | undefined>;
|
|
52
|
+
default: undefined;
|
|
53
|
+
};
|
|
54
|
+
disabled: {
|
|
55
|
+
type: BooleanConstructor;
|
|
56
|
+
default: boolean;
|
|
57
|
+
};
|
|
58
|
+
readonly: {
|
|
59
|
+
type: BooleanConstructor;
|
|
60
|
+
default: boolean;
|
|
61
|
+
};
|
|
62
|
+
placeholder: StringConstructor;
|
|
63
|
+
name: StringConstructor;
|
|
64
|
+
id: StringConstructor;
|
|
65
|
+
keyboard: {
|
|
66
|
+
type: BooleanConstructor;
|
|
67
|
+
default: boolean;
|
|
68
|
+
};
|
|
69
|
+
controls: {
|
|
70
|
+
type: BooleanConstructor;
|
|
71
|
+
default: boolean;
|
|
72
|
+
};
|
|
73
|
+
controlsPosition: {
|
|
74
|
+
type: PropType<"right" | "both">;
|
|
75
|
+
default: string;
|
|
76
|
+
};
|
|
77
|
+
formatter: {
|
|
78
|
+
type: PropType<(value: number | undefined) => string>;
|
|
79
|
+
};
|
|
80
|
+
parser: {
|
|
81
|
+
type: PropType<(displayValue: string) => number>;
|
|
82
|
+
};
|
|
83
|
+
autoFocus: {
|
|
84
|
+
type: BooleanConstructor;
|
|
85
|
+
default: boolean;
|
|
86
|
+
};
|
|
87
|
+
}>, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
88
|
+
[key: string]: any;
|
|
89
|
+
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, ("blur" | "change" | "focus" | "update:modelValue")[], "blur" | "change" | "focus" | "update:modelValue", vue.PublicProps, Readonly<vue.ExtractPropTypes<{
|
|
90
|
+
modelValue: {
|
|
91
|
+
type: PropType<number | null>;
|
|
92
|
+
};
|
|
93
|
+
size: {
|
|
94
|
+
type: PropType<InputSize>;
|
|
95
|
+
default: string;
|
|
96
|
+
};
|
|
97
|
+
status: {
|
|
98
|
+
type: PropType<InputStatus>;
|
|
99
|
+
default: string;
|
|
100
|
+
};
|
|
101
|
+
min: {
|
|
102
|
+
type: NumberConstructor;
|
|
103
|
+
default: number;
|
|
104
|
+
};
|
|
105
|
+
max: {
|
|
106
|
+
type: NumberConstructor;
|
|
107
|
+
default: number;
|
|
108
|
+
};
|
|
109
|
+
step: {
|
|
110
|
+
type: NumberConstructor;
|
|
111
|
+
default: number;
|
|
112
|
+
};
|
|
113
|
+
precision: {
|
|
114
|
+
type: PropType<number | undefined>;
|
|
115
|
+
default: undefined;
|
|
116
|
+
};
|
|
117
|
+
disabled: {
|
|
118
|
+
type: BooleanConstructor;
|
|
119
|
+
default: boolean;
|
|
120
|
+
};
|
|
121
|
+
readonly: {
|
|
122
|
+
type: BooleanConstructor;
|
|
123
|
+
default: boolean;
|
|
124
|
+
};
|
|
125
|
+
placeholder: StringConstructor;
|
|
126
|
+
name: StringConstructor;
|
|
127
|
+
id: StringConstructor;
|
|
128
|
+
keyboard: {
|
|
129
|
+
type: BooleanConstructor;
|
|
130
|
+
default: boolean;
|
|
131
|
+
};
|
|
132
|
+
controls: {
|
|
133
|
+
type: BooleanConstructor;
|
|
134
|
+
default: boolean;
|
|
135
|
+
};
|
|
136
|
+
controlsPosition: {
|
|
137
|
+
type: PropType<"right" | "both">;
|
|
138
|
+
default: string;
|
|
139
|
+
};
|
|
140
|
+
formatter: {
|
|
141
|
+
type: PropType<(value: number | undefined) => string>;
|
|
142
|
+
};
|
|
143
|
+
parser: {
|
|
144
|
+
type: PropType<(displayValue: string) => number>;
|
|
145
|
+
};
|
|
146
|
+
autoFocus: {
|
|
147
|
+
type: BooleanConstructor;
|
|
148
|
+
default: boolean;
|
|
149
|
+
};
|
|
150
|
+
}>> & Readonly<{
|
|
151
|
+
onBlur?: ((...args: any[]) => any) | undefined;
|
|
152
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
153
|
+
onFocus?: ((...args: any[]) => any) | undefined;
|
|
154
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
155
|
+
}>, {
|
|
156
|
+
size: InputSize;
|
|
157
|
+
disabled: boolean;
|
|
158
|
+
min: number;
|
|
159
|
+
max: number;
|
|
160
|
+
step: number;
|
|
161
|
+
autoFocus: boolean;
|
|
162
|
+
readonly: boolean;
|
|
163
|
+
status: InputStatus;
|
|
164
|
+
precision: number | undefined;
|
|
165
|
+
keyboard: boolean;
|
|
166
|
+
controls: boolean;
|
|
167
|
+
controlsPosition: "right" | "both";
|
|
168
|
+
}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
169
|
+
|
|
170
|
+
export { InputNumber, type VueInputNumberProps, InputNumber as default };
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var chunkHK2TAPQX_js = require('../chunk-HK2TAPQX.js');
|
|
6
|
+
require('../chunk-PNKVD2UK.js');
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
Object.defineProperty(exports, "InputNumber", {
|
|
11
|
+
enumerable: true,
|
|
12
|
+
get: function () { return chunkHK2TAPQX_js.InputNumber; }
|
|
13
|
+
});
|
|
14
|
+
Object.defineProperty(exports, "default", {
|
|
15
|
+
enumerable: true,
|
|
16
|
+
get: function () { return chunkHK2TAPQX_js.InputNumber_default; }
|
|
17
|
+
});
|
|
@@ -38,8 +38,8 @@ declare const Layout: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
38
38
|
default: undefined;
|
|
39
39
|
};
|
|
40
40
|
}>> & Readonly<{}>, {
|
|
41
|
-
className: string;
|
|
42
41
|
style: Record<string, string | number>;
|
|
42
|
+
className: string;
|
|
43
43
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
44
44
|
|
|
45
45
|
export { Layout, type VueLayoutProps, Layout as default };
|
|
@@ -38,8 +38,8 @@ declare const Layout: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
38
38
|
default: undefined;
|
|
39
39
|
};
|
|
40
40
|
}>> & Readonly<{}>, {
|
|
41
|
-
className: string;
|
|
42
41
|
style: Record<string, string | number>;
|
|
42
|
+
className: string;
|
|
43
43
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
44
44
|
|
|
45
45
|
export { Layout, type VueLayoutProps, Layout as default };
|
|
@@ -208,11 +208,11 @@ declare const List: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
208
208
|
"onPage-change"?: ((...args: any[]) => any) | undefined;
|
|
209
209
|
"onItem-click"?: ((...args: any[]) => any) | undefined;
|
|
210
210
|
}>, {
|
|
211
|
-
className: string;
|
|
212
|
-
style: Record<string, string | number>;
|
|
213
211
|
pagination: false | ListPaginationConfig;
|
|
212
|
+
style: Record<string, string | number>;
|
|
214
213
|
size: ListSize;
|
|
215
214
|
loading: boolean;
|
|
215
|
+
className: string;
|
|
216
216
|
split: boolean;
|
|
217
217
|
dataSource: ListItem[];
|
|
218
218
|
bordered: ListBorderStyle;
|
|
@@ -208,11 +208,11 @@ declare const List: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
208
208
|
"onPage-change"?: ((...args: any[]) => any) | undefined;
|
|
209
209
|
"onItem-click"?: ((...args: any[]) => any) | undefined;
|
|
210
210
|
}>, {
|
|
211
|
-
className: string;
|
|
212
|
-
style: Record<string, string | number>;
|
|
213
211
|
pagination: false | ListPaginationConfig;
|
|
212
|
+
style: Record<string, string | number>;
|
|
214
213
|
size: ListSize;
|
|
215
214
|
loading: boolean;
|
|
215
|
+
className: string;
|
|
216
216
|
split: boolean;
|
|
217
217
|
dataSource: ListItem[];
|
|
218
218
|
bordered: ListBorderStyle;
|
|
@@ -90,11 +90,11 @@ declare const Loading: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
90
90
|
default: undefined;
|
|
91
91
|
};
|
|
92
92
|
}>> & Readonly<{}>, {
|
|
93
|
-
className: string;
|
|
94
93
|
style: Record<string, string | number>;
|
|
95
|
-
text: string;
|
|
96
94
|
size: LoadingSize;
|
|
97
95
|
variant: LoadingVariant;
|
|
96
|
+
className: string;
|
|
97
|
+
text: string;
|
|
98
98
|
color: LoadingColor;
|
|
99
99
|
fullscreen: boolean;
|
|
100
100
|
delay: number;
|
|
@@ -90,11 +90,11 @@ declare const Loading: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
90
90
|
default: undefined;
|
|
91
91
|
};
|
|
92
92
|
}>> & Readonly<{}>, {
|
|
93
|
-
className: string;
|
|
94
93
|
style: Record<string, string | number>;
|
|
95
|
-
text: string;
|
|
96
94
|
size: LoadingSize;
|
|
97
95
|
variant: LoadingVariant;
|
|
96
|
+
className: string;
|
|
97
|
+
text: string;
|
|
98
98
|
color: LoadingColor;
|
|
99
99
|
fullscreen: boolean;
|
|
100
100
|
delay: number;
|
|
@@ -188,8 +188,8 @@ declare const Menu: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
188
188
|
"onUpdate:openKeys"?: ((...args: any[]) => any) | undefined;
|
|
189
189
|
"onOpen-change"?: ((...args: any[]) => any) | undefined;
|
|
190
190
|
}>, {
|
|
191
|
-
className: string;
|
|
192
191
|
style: Record<string, string | number> | undefined;
|
|
192
|
+
className: string;
|
|
193
193
|
mode: MenuMode;
|
|
194
194
|
multiple: boolean;
|
|
195
195
|
collapsed: boolean;
|
|
@@ -188,8 +188,8 @@ declare const Menu: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
188
188
|
"onUpdate:openKeys"?: ((...args: any[]) => any) | undefined;
|
|
189
189
|
"onOpen-change"?: ((...args: any[]) => any) | undefined;
|
|
190
190
|
}>, {
|
|
191
|
-
className: string;
|
|
192
191
|
style: Record<string, string | number> | undefined;
|
|
192
|
+
className: string;
|
|
193
193
|
mode: MenuMode;
|
|
194
194
|
multiple: boolean;
|
|
195
195
|
collapsed: boolean;
|
|
@@ -87,9 +87,9 @@ declare const MenuItem: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
87
87
|
default: undefined;
|
|
88
88
|
};
|
|
89
89
|
}>> & Readonly<{}>, {
|
|
90
|
-
className: string;
|
|
91
90
|
style: Record<string, string | number>;
|
|
92
91
|
disabled: boolean;
|
|
92
|
+
className: string;
|
|
93
93
|
collapsed: boolean;
|
|
94
94
|
level: number;
|
|
95
95
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
@@ -87,9 +87,9 @@ declare const MenuItem: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
87
87
|
default: undefined;
|
|
88
88
|
};
|
|
89
89
|
}>> & Readonly<{}>, {
|
|
90
|
-
className: string;
|
|
91
90
|
style: Record<string, string | number>;
|
|
92
91
|
disabled: boolean;
|
|
92
|
+
className: string;
|
|
93
93
|
collapsed: boolean;
|
|
94
94
|
level: number;
|
|
95
95
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
@@ -50,9 +50,9 @@ declare const MenuItemGroup: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
50
50
|
default: undefined;
|
|
51
51
|
};
|
|
52
52
|
}>> & Readonly<{}>, {
|
|
53
|
-
className: string;
|
|
54
53
|
style: Record<string, string | number>;
|
|
55
54
|
title: string;
|
|
55
|
+
className: string;
|
|
56
56
|
level: number;
|
|
57
57
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
58
58
|
|
|
@@ -50,9 +50,9 @@ declare const MenuItemGroup: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
50
50
|
default: undefined;
|
|
51
51
|
};
|
|
52
52
|
}>> & Readonly<{}>, {
|
|
53
|
-
className: string;
|
|
54
53
|
style: Record<string, string | number>;
|
|
55
54
|
title: string;
|
|
55
|
+
className: string;
|
|
56
56
|
level: number;
|
|
57
57
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
58
58
|
|
|
@@ -295,12 +295,12 @@ declare const Modal: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
295
295
|
"onUpdate:visible"?: ((...args: any[]) => any) | undefined;
|
|
296
296
|
onOk?: ((...args: any[]) => any) | undefined;
|
|
297
297
|
}>, {
|
|
298
|
-
|
|
298
|
+
locale: Partial<TigerLocale>;
|
|
299
299
|
style: Record<string, unknown>;
|
|
300
300
|
title: string;
|
|
301
|
-
mask: boolean;
|
|
302
|
-
locale: Partial<TigerLocale>;
|
|
303
301
|
size: ModalSize;
|
|
302
|
+
className: string;
|
|
303
|
+
mask: boolean;
|
|
304
304
|
visible: boolean;
|
|
305
305
|
closable: boolean;
|
|
306
306
|
closeAriaLabel: string;
|
|
@@ -295,12 +295,12 @@ declare const Modal: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
295
295
|
"onUpdate:visible"?: ((...args: any[]) => any) | undefined;
|
|
296
296
|
onOk?: ((...args: any[]) => any) | undefined;
|
|
297
297
|
}>, {
|
|
298
|
-
|
|
298
|
+
locale: Partial<TigerLocale>;
|
|
299
299
|
style: Record<string, unknown>;
|
|
300
300
|
title: string;
|
|
301
|
-
mask: boolean;
|
|
302
|
-
locale: Partial<TigerLocale>;
|
|
303
301
|
size: ModalSize;
|
|
302
|
+
className: string;
|
|
303
|
+
mask: boolean;
|
|
304
304
|
visible: boolean;
|
|
305
305
|
closable: boolean;
|
|
306
306
|
closeAriaLabel: string;
|
|
@@ -187,10 +187,10 @@ declare const NotificationCenter: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
187
187
|
"onMark-all-read"?: ((...args: any[]) => any) | undefined;
|
|
188
188
|
"onItem-read-change"?: ((...args: any[]) => any) | undefined;
|
|
189
189
|
}>, {
|
|
190
|
-
className: string;
|
|
191
190
|
style: Record<string, string | number>;
|
|
192
191
|
title: string;
|
|
193
192
|
loading: boolean;
|
|
193
|
+
className: string;
|
|
194
194
|
emptyText: string;
|
|
195
195
|
items: NotificationItem[];
|
|
196
196
|
groups: NotificationGroup[];
|
|
@@ -187,10 +187,10 @@ declare const NotificationCenter: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
187
187
|
"onMark-all-read"?: ((...args: any[]) => any) | undefined;
|
|
188
188
|
"onItem-read-change"?: ((...args: any[]) => any) | undefined;
|
|
189
189
|
}>, {
|
|
190
|
-
className: string;
|
|
191
190
|
style: Record<string, string | number>;
|
|
192
191
|
title: string;
|
|
193
192
|
loading: boolean;
|
|
193
|
+
className: string;
|
|
194
194
|
emptyText: string;
|
|
195
195
|
items: NotificationItem[];
|
|
196
196
|
groups: NotificationGroup[];
|
|
@@ -326,11 +326,11 @@ declare const Pagination: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
326
326
|
"onUpdate:pageSize"?: ((...args: any[]) => any) | undefined;
|
|
327
327
|
"onPage-size-change"?: ((...args: any[]) => any) | undefined;
|
|
328
328
|
}>, {
|
|
329
|
-
className: string;
|
|
330
|
-
style: Record<string, unknown>;
|
|
331
329
|
locale: Partial<TigerLocale>;
|
|
330
|
+
style: Record<string, unknown>;
|
|
332
331
|
size: PaginationSize;
|
|
333
332
|
disabled: boolean;
|
|
333
|
+
className: string;
|
|
334
334
|
align: PaginationAlign;
|
|
335
335
|
defaultCurrent: number;
|
|
336
336
|
defaultPageSize: number;
|
|
@@ -326,11 +326,11 @@ declare const Pagination: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
326
326
|
"onUpdate:pageSize"?: ((...args: any[]) => any) | undefined;
|
|
327
327
|
"onPage-size-change"?: ((...args: any[]) => any) | undefined;
|
|
328
328
|
}>, {
|
|
329
|
-
className: string;
|
|
330
|
-
style: Record<string, unknown>;
|
|
331
329
|
locale: Partial<TigerLocale>;
|
|
330
|
+
style: Record<string, unknown>;
|
|
332
331
|
size: PaginationSize;
|
|
333
332
|
disabled: boolean;
|
|
333
|
+
className: string;
|
|
334
334
|
align: PaginationAlign;
|
|
335
335
|
defaultCurrent: number;
|
|
336
336
|
defaultPageSize: number;
|
|
@@ -154,10 +154,10 @@ declare const Popconfirm: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
154
154
|
"onVisible-change"?: ((...args: any[]) => any) | undefined;
|
|
155
155
|
onConfirm?: ((...args: any[]) => any) | undefined;
|
|
156
156
|
}>, {
|
|
157
|
-
className: string;
|
|
158
157
|
style: StyleValue;
|
|
159
158
|
title: string;
|
|
160
159
|
disabled: boolean;
|
|
160
|
+
className: string;
|
|
161
161
|
offset: number;
|
|
162
162
|
visible: boolean;
|
|
163
163
|
icon: PopconfirmIconType;
|
|
@@ -154,10 +154,10 @@ declare const Popconfirm: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
154
154
|
"onVisible-change"?: ((...args: any[]) => any) | undefined;
|
|
155
155
|
onConfirm?: ((...args: any[]) => any) | undefined;
|
|
156
156
|
}>, {
|
|
157
|
-
className: string;
|
|
158
157
|
style: StyleValue;
|
|
159
158
|
title: string;
|
|
160
159
|
disabled: boolean;
|
|
160
|
+
className: string;
|
|
161
161
|
offset: number;
|
|
162
162
|
visible: boolean;
|
|
163
163
|
icon: PopconfirmIconType;
|
|
@@ -44,7 +44,7 @@ declare const Popover: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
44
44
|
};
|
|
45
45
|
/** Width (pixel number or Tailwind class) */
|
|
46
46
|
width: {
|
|
47
|
-
type: (
|
|
47
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
48
48
|
default: undefined;
|
|
49
49
|
};
|
|
50
50
|
/** Offset distance in pixels @default 8 */
|
|
@@ -101,7 +101,7 @@ declare const Popover: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
101
101
|
};
|
|
102
102
|
/** Width (pixel number or Tailwind class) */
|
|
103
103
|
width: {
|
|
104
|
-
type: (
|
|
104
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
105
105
|
default: undefined;
|
|
106
106
|
};
|
|
107
107
|
/** Offset distance in pixels @default 8 */
|
|
@@ -122,10 +122,10 @@ declare const Popover: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
122
122
|
"onUpdate:visible"?: ((...args: any[]) => any) | undefined;
|
|
123
123
|
"onVisible-change"?: ((...args: any[]) => any) | undefined;
|
|
124
124
|
}>, {
|
|
125
|
-
className: string;
|
|
126
125
|
style: StyleValue;
|
|
127
126
|
title: string;
|
|
128
127
|
disabled: boolean;
|
|
128
|
+
className: string;
|
|
129
129
|
width: string | number;
|
|
130
130
|
offset: number;
|
|
131
131
|
visible: boolean;
|
|
@@ -44,7 +44,7 @@ declare const Popover: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
44
44
|
};
|
|
45
45
|
/** Width (pixel number or Tailwind class) */
|
|
46
46
|
width: {
|
|
47
|
-
type: (
|
|
47
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
48
48
|
default: undefined;
|
|
49
49
|
};
|
|
50
50
|
/** Offset distance in pixels @default 8 */
|
|
@@ -101,7 +101,7 @@ declare const Popover: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
101
101
|
};
|
|
102
102
|
/** Width (pixel number or Tailwind class) */
|
|
103
103
|
width: {
|
|
104
|
-
type: (
|
|
104
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
105
105
|
default: undefined;
|
|
106
106
|
};
|
|
107
107
|
/** Offset distance in pixels @default 8 */
|
|
@@ -122,10 +122,10 @@ declare const Popover: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
122
122
|
"onUpdate:visible"?: ((...args: any[]) => any) | undefined;
|
|
123
123
|
"onVisible-change"?: ((...args: any[]) => any) | undefined;
|
|
124
124
|
}>, {
|
|
125
|
-
className: string;
|
|
126
125
|
style: StyleValue;
|
|
127
126
|
title: string;
|
|
128
127
|
disabled: boolean;
|
|
128
|
+
className: string;
|
|
129
129
|
width: string | number;
|
|
130
130
|
offset: number;
|
|
131
131
|
visible: boolean;
|
|
@@ -51,7 +51,7 @@ declare const Progress: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
51
51
|
default: number;
|
|
52
52
|
};
|
|
53
53
|
width: {
|
|
54
|
-
type: (
|
|
54
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
55
55
|
default: string;
|
|
56
56
|
};
|
|
57
57
|
height: {
|
|
@@ -114,7 +114,7 @@ declare const Progress: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
114
114
|
default: number;
|
|
115
115
|
};
|
|
116
116
|
width: {
|
|
117
|
-
type: (
|
|
117
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
118
118
|
default: string;
|
|
119
119
|
};
|
|
120
120
|
height: {
|
|
@@ -131,11 +131,11 @@ declare const Progress: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
131
131
|
};
|
|
132
132
|
}>> & Readonly<{}>, {
|
|
133
133
|
type: ProgressType;
|
|
134
|
-
className: string;
|
|
135
134
|
style: Record<string, string | number>;
|
|
136
|
-
text: string;
|
|
137
135
|
size: ProgressSize;
|
|
138
136
|
variant: ProgressVariant;
|
|
137
|
+
className: string;
|
|
138
|
+
text: string;
|
|
139
139
|
status: ProgressStatus;
|
|
140
140
|
width: string | number;
|
|
141
141
|
height: number;
|
|
@@ -51,7 +51,7 @@ declare const Progress: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
51
51
|
default: number;
|
|
52
52
|
};
|
|
53
53
|
width: {
|
|
54
|
-
type: (
|
|
54
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
55
55
|
default: string;
|
|
56
56
|
};
|
|
57
57
|
height: {
|
|
@@ -114,7 +114,7 @@ declare const Progress: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
114
114
|
default: number;
|
|
115
115
|
};
|
|
116
116
|
width: {
|
|
117
|
-
type: (
|
|
117
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
118
118
|
default: string;
|
|
119
119
|
};
|
|
120
120
|
height: {
|
|
@@ -131,11 +131,11 @@ declare const Progress: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
131
131
|
};
|
|
132
132
|
}>> & Readonly<{}>, {
|
|
133
133
|
type: ProgressType;
|
|
134
|
-
className: string;
|
|
135
134
|
style: Record<string, string | number>;
|
|
136
|
-
text: string;
|
|
137
135
|
size: ProgressSize;
|
|
138
136
|
variant: ProgressVariant;
|
|
137
|
+
className: string;
|
|
138
|
+
text: string;
|
|
139
139
|
status: ProgressStatus;
|
|
140
140
|
width: string | number;
|
|
141
141
|
height: number;
|
|
@@ -71,7 +71,7 @@ declare const Select: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
71
71
|
};
|
|
72
72
|
}>, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
73
73
|
[key: string]: any;
|
|
74
|
-
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, ("
|
|
74
|
+
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, ("search" | "change" | "update:modelValue")[], "search" | "change" | "update:modelValue", vue.PublicProps, Readonly<vue.ExtractPropTypes<{
|
|
75
75
|
/**
|
|
76
76
|
* Selected value(s) (for v-model)
|
|
77
77
|
*/
|
|
@@ -71,7 +71,7 @@ declare const Select: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
71
71
|
};
|
|
72
72
|
}>, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
73
73
|
[key: string]: any;
|
|
74
|
-
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, ("
|
|
74
|
+
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, ("search" | "change" | "update:modelValue")[], "search" | "change" | "update:modelValue", vue.PublicProps, Readonly<vue.ExtractPropTypes<{
|
|
75
75
|
/**
|
|
76
76
|
* Selected value(s) (for v-model)
|
|
77
77
|
*/
|
|
@@ -4,6 +4,7 @@ import { PropType } from 'vue';
|
|
|
4
4
|
interface VueSidebarProps {
|
|
5
5
|
className?: string;
|
|
6
6
|
width?: string;
|
|
7
|
+
collapsedWidth?: string;
|
|
7
8
|
collapsed?: boolean;
|
|
8
9
|
style?: Record<string, string | number>;
|
|
9
10
|
}
|
|
@@ -23,6 +24,15 @@ declare const Sidebar: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
23
24
|
type: PropType<string>;
|
|
24
25
|
default: string;
|
|
25
26
|
};
|
|
27
|
+
/**
|
|
28
|
+
* Width when collapsed (mini mode).
|
|
29
|
+
* Set to '0px' to fully hide the sidebar when collapsed.
|
|
30
|
+
* @default '64px'
|
|
31
|
+
*/
|
|
32
|
+
collapsedWidth: {
|
|
33
|
+
type: PropType<string>;
|
|
34
|
+
default: string;
|
|
35
|
+
};
|
|
26
36
|
/**
|
|
27
37
|
* Whether the sidebar is collapsed
|
|
28
38
|
* @default false
|
|
@@ -56,6 +66,15 @@ declare const Sidebar: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
56
66
|
type: PropType<string>;
|
|
57
67
|
default: string;
|
|
58
68
|
};
|
|
69
|
+
/**
|
|
70
|
+
* Width when collapsed (mini mode).
|
|
71
|
+
* Set to '0px' to fully hide the sidebar when collapsed.
|
|
72
|
+
* @default '64px'
|
|
73
|
+
*/
|
|
74
|
+
collapsedWidth: {
|
|
75
|
+
type: PropType<string>;
|
|
76
|
+
default: string;
|
|
77
|
+
};
|
|
59
78
|
/**
|
|
60
79
|
* Whether the sidebar is collapsed
|
|
61
80
|
* @default false
|
|
@@ -72,9 +91,10 @@ declare const Sidebar: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
72
91
|
default: undefined;
|
|
73
92
|
};
|
|
74
93
|
}>> & Readonly<{}>, {
|
|
75
|
-
className: string;
|
|
76
94
|
style: Record<string, string | number>;
|
|
95
|
+
className: string;
|
|
77
96
|
width: string;
|
|
97
|
+
collapsedWidth: string;
|
|
78
98
|
collapsed: boolean;
|
|
79
99
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
80
100
|
|