@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
|
@@ -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
|
|
|
@@ -2,16 +2,16 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var
|
|
5
|
+
var chunkETTYERGO_js = require('../chunk-ETTYERGO.js');
|
|
6
6
|
require('../chunk-PNKVD2UK.js');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
Object.defineProperty(exports, "Sidebar", {
|
|
11
11
|
enumerable: true,
|
|
12
|
-
get: function () { return
|
|
12
|
+
get: function () { return chunkETTYERGO_js.Sidebar; }
|
|
13
13
|
});
|
|
14
14
|
Object.defineProperty(exports, "default", {
|
|
15
15
|
enumerable: true,
|
|
16
|
-
get: function () { return
|
|
16
|
+
get: function () { return chunkETTYERGO_js.Sidebar_default; }
|
|
17
17
|
});
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { Sidebar, Sidebar_default as default } from '../chunk-
|
|
1
|
+
export { Sidebar, Sidebar_default as default } from '../chunk-WM4ESIHG.mjs';
|
|
2
2
|
import '../chunk-53M2BTB5.mjs';
|
|
@@ -82,9 +82,9 @@ declare const Skeleton: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
82
82
|
default: undefined;
|
|
83
83
|
};
|
|
84
84
|
}>> & Readonly<{}>, {
|
|
85
|
-
className: string;
|
|
86
85
|
style: Record<string, string | number>;
|
|
87
86
|
variant: SkeletonVariant;
|
|
87
|
+
className: string;
|
|
88
88
|
rows: number;
|
|
89
89
|
width: string;
|
|
90
90
|
height: string;
|
|
@@ -82,9 +82,9 @@ declare const Skeleton: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
82
82
|
default: undefined;
|
|
83
83
|
};
|
|
84
84
|
}>> & Readonly<{}>, {
|
|
85
|
-
className: string;
|
|
86
85
|
style: Record<string, string | number>;
|
|
87
86
|
variant: SkeletonVariant;
|
|
87
|
+
className: string;
|
|
88
88
|
rows: number;
|
|
89
89
|
width: string;
|
|
90
90
|
height: string;
|
|
@@ -213,10 +213,10 @@ declare const Slider: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
213
213
|
onChange?: ((value: number | [number, number]) => any) | undefined;
|
|
214
214
|
"onUpdate:value"?: ((value: number | [number, number]) => any) | undefined;
|
|
215
215
|
}>, {
|
|
216
|
-
className: string;
|
|
217
216
|
style: Record<string, string | number>;
|
|
218
217
|
size: SliderSize;
|
|
219
218
|
disabled: boolean;
|
|
219
|
+
className: string;
|
|
220
220
|
min: number;
|
|
221
221
|
max: number;
|
|
222
222
|
step: number;
|
|
@@ -213,10 +213,10 @@ declare const Slider: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
213
213
|
onChange?: ((value: number | [number, number]) => any) | undefined;
|
|
214
214
|
"onUpdate:value"?: ((value: number | [number, number]) => any) | undefined;
|
|
215
215
|
}>, {
|
|
216
|
-
className: string;
|
|
217
216
|
style: Record<string, string | number>;
|
|
218
217
|
size: SliderSize;
|
|
219
218
|
disabled: boolean;
|
|
219
|
+
className: string;
|
|
220
220
|
min: number;
|
|
221
221
|
max: number;
|
|
222
222
|
step: number;
|
|
@@ -40,8 +40,8 @@ declare const Space: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
40
40
|
default: boolean;
|
|
41
41
|
};
|
|
42
42
|
}>> & Readonly<{}>, {
|
|
43
|
-
direction: SpaceDirection;
|
|
44
43
|
size: SpaceSize;
|
|
44
|
+
direction: SpaceDirection;
|
|
45
45
|
align: SpaceAlign;
|
|
46
46
|
wrap: boolean;
|
|
47
47
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
@@ -40,8 +40,8 @@ declare const Space: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
40
40
|
default: boolean;
|
|
41
41
|
};
|
|
42
42
|
}>> & Readonly<{}>, {
|
|
43
|
-
direction: SpaceDirection;
|
|
44
43
|
size: SpaceSize;
|
|
44
|
+
direction: SpaceDirection;
|
|
45
45
|
align: SpaceAlign;
|
|
46
46
|
wrap: boolean;
|
|
47
47
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
@@ -148,11 +148,11 @@ declare const Steps: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
148
148
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
149
149
|
"onUpdate:current"?: ((...args: any[]) => any) | undefined;
|
|
150
150
|
}>, {
|
|
151
|
-
direction: StepsDirection;
|
|
152
|
-
className: string;
|
|
153
151
|
style: Record<string, unknown>;
|
|
154
152
|
size: StepSize;
|
|
153
|
+
className: string;
|
|
155
154
|
status: StepStatus;
|
|
155
|
+
direction: StepsDirection;
|
|
156
156
|
current: number;
|
|
157
157
|
simple: boolean;
|
|
158
158
|
clickable: boolean;
|
|
@@ -148,11 +148,11 @@ declare const Steps: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
148
148
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
149
149
|
"onUpdate:current"?: ((...args: any[]) => any) | undefined;
|
|
150
150
|
}>, {
|
|
151
|
-
direction: StepsDirection;
|
|
152
|
-
className: string;
|
|
153
151
|
style: Record<string, unknown>;
|
|
154
152
|
size: StepSize;
|
|
153
|
+
className: string;
|
|
155
154
|
status: StepStatus;
|
|
155
|
+
direction: StepsDirection;
|
|
156
156
|
current: number;
|
|
157
157
|
simple: boolean;
|
|
158
158
|
clickable: boolean;
|
|
@@ -130,9 +130,9 @@ declare const StepsItem: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
130
130
|
default: boolean;
|
|
131
131
|
};
|
|
132
132
|
}>> & Readonly<{}>, {
|
|
133
|
-
className: string;
|
|
134
133
|
style: Record<string, unknown>;
|
|
135
134
|
disabled: boolean;
|
|
135
|
+
className: string;
|
|
136
136
|
status: StepStatus;
|
|
137
137
|
icon: undefined;
|
|
138
138
|
stepIndex: number;
|
|
@@ -130,9 +130,9 @@ declare const StepsItem: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
130
130
|
default: boolean;
|
|
131
131
|
};
|
|
132
132
|
}>> & Readonly<{}>, {
|
|
133
|
-
className: string;
|
|
134
133
|
style: Record<string, unknown>;
|
|
135
134
|
disabled: boolean;
|
|
135
|
+
className: string;
|
|
136
136
|
status: StepStatus;
|
|
137
137
|
icon: undefined;
|
|
138
138
|
stepIndex: number;
|
|
@@ -108,10 +108,10 @@ declare const SubMenu: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
108
108
|
default: undefined;
|
|
109
109
|
};
|
|
110
110
|
}>> & Readonly<{}>, {
|
|
111
|
-
className: string;
|
|
112
111
|
style: Record<string, string | number>;
|
|
113
112
|
title: string;
|
|
114
113
|
disabled: boolean;
|
|
114
|
+
className: string;
|
|
115
115
|
collapsed: boolean;
|
|
116
116
|
level: number;
|
|
117
117
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
@@ -108,10 +108,10 @@ declare const SubMenu: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
108
108
|
default: undefined;
|
|
109
109
|
};
|
|
110
110
|
}>> & Readonly<{}>, {
|
|
111
|
-
className: string;
|
|
112
111
|
style: Record<string, string | number>;
|
|
113
112
|
title: string;
|
|
114
113
|
disabled: boolean;
|
|
114
|
+
className: string;
|
|
115
115
|
collapsed: boolean;
|
|
116
116
|
level: number;
|
|
117
117
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var
|
|
5
|
+
var chunkESALMEHU_js = require('../chunk-ESALMEHU.js');
|
|
6
6
|
require('../chunk-O2SABM5H.js');
|
|
7
7
|
require('../chunk-PNKVD2UK.js');
|
|
8
8
|
|
|
@@ -10,9 +10,9 @@ require('../chunk-PNKVD2UK.js');
|
|
|
10
10
|
|
|
11
11
|
Object.defineProperty(exports, "SubMenu", {
|
|
12
12
|
enumerable: true,
|
|
13
|
-
get: function () { return
|
|
13
|
+
get: function () { return chunkESALMEHU_js.SubMenu; }
|
|
14
14
|
});
|
|
15
15
|
Object.defineProperty(exports, "default", {
|
|
16
16
|
enumerable: true,
|
|
17
|
-
get: function () { return
|
|
17
|
+
get: function () { return chunkESALMEHU_js.SubMenu_default; }
|
|
18
18
|
});
|
|
@@ -155,9 +155,9 @@ declare const TabPane: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
155
155
|
default: undefined;
|
|
156
156
|
};
|
|
157
157
|
}>> & Readonly<{}>, {
|
|
158
|
-
className: string;
|
|
159
158
|
style: Record<string, string | number>;
|
|
160
159
|
disabled: boolean;
|
|
160
|
+
className: string;
|
|
161
161
|
icon: string | VNode<vue.RendererNode, vue.RendererElement, {
|
|
162
162
|
[key: string]: any;
|
|
163
163
|
}>;
|
|
@@ -155,9 +155,9 @@ declare const TabPane: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
155
155
|
default: undefined;
|
|
156
156
|
};
|
|
157
157
|
}>> & Readonly<{}>, {
|
|
158
|
-
className: string;
|
|
159
158
|
style: Record<string, string | number>;
|
|
160
159
|
disabled: boolean;
|
|
160
|
+
className: string;
|
|
161
161
|
icon: string | VNode<vue.RendererNode, vue.RendererElement, {
|
|
162
162
|
[key: string]: any;
|
|
163
163
|
}>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as vue from 'vue';
|
|
2
2
|
import { PropType } from 'vue';
|
|
3
|
-
import { TableColumn, SortState, TableSize, PaginationConfig, RowSelectionConfig } from '@expcat/tigercat-core';
|
|
3
|
+
import { TableColumn, SortState, TableSize, PaginationConfig, RowSelectionConfig, ExpandableConfig } from '@expcat/tigercat-core';
|
|
4
4
|
|
|
5
5
|
interface VueTableProps {
|
|
6
6
|
columns: TableColumn[];
|
|
@@ -18,6 +18,7 @@ interface VueTableProps {
|
|
|
18
18
|
emptyText?: string;
|
|
19
19
|
pagination?: PaginationConfig | false;
|
|
20
20
|
rowSelection?: RowSelectionConfig;
|
|
21
|
+
expandable?: ExpandableConfig;
|
|
21
22
|
rowKey?: string | ((record: Record<string, unknown>) => string | number);
|
|
22
23
|
rowClassName?: string | ((record: Record<string, unknown>, index: number) => string);
|
|
23
24
|
stickyHeader?: boolean;
|
|
@@ -136,6 +137,12 @@ declare const Table: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
136
137
|
rowSelection: {
|
|
137
138
|
type: PropType<RowSelectionConfig>;
|
|
138
139
|
};
|
|
140
|
+
/**
|
|
141
|
+
* Row expansion configuration
|
|
142
|
+
*/
|
|
143
|
+
expandable: {
|
|
144
|
+
type: PropType<ExpandableConfig>;
|
|
145
|
+
};
|
|
139
146
|
/**
|
|
140
147
|
* Function to get row key
|
|
141
148
|
*/
|
|
@@ -171,7 +178,7 @@ declare const Table: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
171
178
|
};
|
|
172
179
|
}>, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
173
180
|
[key: string]: any;
|
|
174
|
-
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, ("change" | "row-click" | "selection-change" | "sort-change" | "filter-change" | "page-change")[], "change" | "row-click" | "selection-change" | "sort-change" | "filter-change" | "page-change", vue.PublicProps, Readonly<vue.ExtractPropTypes<{
|
|
181
|
+
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, ("change" | "row-click" | "selection-change" | "sort-change" | "filter-change" | "page-change" | "expanded-rows-change")[], "change" | "row-click" | "selection-change" | "sort-change" | "filter-change" | "page-change" | "expanded-rows-change", vue.PublicProps, Readonly<vue.ExtractPropTypes<{
|
|
175
182
|
/**
|
|
176
183
|
* Table columns configuration
|
|
177
184
|
*/
|
|
@@ -284,6 +291,12 @@ declare const Table: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
284
291
|
rowSelection: {
|
|
285
292
|
type: PropType<RowSelectionConfig>;
|
|
286
293
|
};
|
|
294
|
+
/**
|
|
295
|
+
* Row expansion configuration
|
|
296
|
+
*/
|
|
297
|
+
expandable: {
|
|
298
|
+
type: PropType<ExpandableConfig>;
|
|
299
|
+
};
|
|
287
300
|
/**
|
|
288
301
|
* Function to get row key
|
|
289
302
|
*/
|
|
@@ -324,6 +337,7 @@ declare const Table: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
324
337
|
"onSort-change"?: ((...args: any[]) => any) | undefined;
|
|
325
338
|
"onFilter-change"?: ((...args: any[]) => any) | undefined;
|
|
326
339
|
"onPage-change"?: ((...args: any[]) => any) | undefined;
|
|
340
|
+
"onExpanded-rows-change"?: ((...args: any[]) => any) | undefined;
|
|
327
341
|
}>, {
|
|
328
342
|
pagination: false | PaginationConfig;
|
|
329
343
|
size: TableSize;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as vue from 'vue';
|
|
2
2
|
import { PropType } from 'vue';
|
|
3
|
-
import { TableColumn, SortState, TableSize, PaginationConfig, RowSelectionConfig } from '@expcat/tigercat-core';
|
|
3
|
+
import { TableColumn, SortState, TableSize, PaginationConfig, RowSelectionConfig, ExpandableConfig } from '@expcat/tigercat-core';
|
|
4
4
|
|
|
5
5
|
interface VueTableProps {
|
|
6
6
|
columns: TableColumn[];
|
|
@@ -18,6 +18,7 @@ interface VueTableProps {
|
|
|
18
18
|
emptyText?: string;
|
|
19
19
|
pagination?: PaginationConfig | false;
|
|
20
20
|
rowSelection?: RowSelectionConfig;
|
|
21
|
+
expandable?: ExpandableConfig;
|
|
21
22
|
rowKey?: string | ((record: Record<string, unknown>) => string | number);
|
|
22
23
|
rowClassName?: string | ((record: Record<string, unknown>, index: number) => string);
|
|
23
24
|
stickyHeader?: boolean;
|
|
@@ -136,6 +137,12 @@ declare const Table: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
136
137
|
rowSelection: {
|
|
137
138
|
type: PropType<RowSelectionConfig>;
|
|
138
139
|
};
|
|
140
|
+
/**
|
|
141
|
+
* Row expansion configuration
|
|
142
|
+
*/
|
|
143
|
+
expandable: {
|
|
144
|
+
type: PropType<ExpandableConfig>;
|
|
145
|
+
};
|
|
139
146
|
/**
|
|
140
147
|
* Function to get row key
|
|
141
148
|
*/
|
|
@@ -171,7 +178,7 @@ declare const Table: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
171
178
|
};
|
|
172
179
|
}>, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
173
180
|
[key: string]: any;
|
|
174
|
-
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, ("change" | "row-click" | "selection-change" | "sort-change" | "filter-change" | "page-change")[], "change" | "row-click" | "selection-change" | "sort-change" | "filter-change" | "page-change", vue.PublicProps, Readonly<vue.ExtractPropTypes<{
|
|
181
|
+
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, ("change" | "row-click" | "selection-change" | "sort-change" | "filter-change" | "page-change" | "expanded-rows-change")[], "change" | "row-click" | "selection-change" | "sort-change" | "filter-change" | "page-change" | "expanded-rows-change", vue.PublicProps, Readonly<vue.ExtractPropTypes<{
|
|
175
182
|
/**
|
|
176
183
|
* Table columns configuration
|
|
177
184
|
*/
|
|
@@ -284,6 +291,12 @@ declare const Table: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
284
291
|
rowSelection: {
|
|
285
292
|
type: PropType<RowSelectionConfig>;
|
|
286
293
|
};
|
|
294
|
+
/**
|
|
295
|
+
* Row expansion configuration
|
|
296
|
+
*/
|
|
297
|
+
expandable: {
|
|
298
|
+
type: PropType<ExpandableConfig>;
|
|
299
|
+
};
|
|
287
300
|
/**
|
|
288
301
|
* Function to get row key
|
|
289
302
|
*/
|
|
@@ -324,6 +337,7 @@ declare const Table: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
324
337
|
"onSort-change"?: ((...args: any[]) => any) | undefined;
|
|
325
338
|
"onFilter-change"?: ((...args: any[]) => any) | undefined;
|
|
326
339
|
"onPage-change"?: ((...args: any[]) => any) | undefined;
|
|
340
|
+
"onExpanded-rows-change"?: ((...args: any[]) => any) | undefined;
|
|
327
341
|
}>, {
|
|
328
342
|
pagination: false | PaginationConfig;
|
|
329
343
|
size: TableSize;
|
package/dist/components/Table.js
CHANGED
|
@@ -2,16 +2,16 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var
|
|
5
|
+
var chunkWV3Y45YK_js = require('../chunk-WV3Y45YK.js');
|
|
6
6
|
require('../chunk-PNKVD2UK.js');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
Object.defineProperty(exports, "Table", {
|
|
11
11
|
enumerable: true,
|
|
12
|
-
get: function () { return
|
|
12
|
+
get: function () { return chunkWV3Y45YK_js.Table; }
|
|
13
13
|
});
|
|
14
14
|
Object.defineProperty(exports, "default", {
|
|
15
15
|
enumerable: true,
|
|
16
|
-
get: function () { return
|
|
16
|
+
get: function () { return chunkWV3Y45YK_js.Table_default; }
|
|
17
17
|
});
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { Table, Table_default as default } from '../chunk-
|
|
1
|
+
export { Table, Table_default as default } from '../chunk-DEFEAEYE.mjs';
|
|
2
2
|
import '../chunk-53M2BTB5.mjs';
|
|
@@ -189,9 +189,9 @@ declare const Tabs: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
189
189
|
"onTab-click"?: ((...args: any[]) => any) | undefined;
|
|
190
190
|
}>, {
|
|
191
191
|
type: TabType;
|
|
192
|
-
className: string;
|
|
193
192
|
style: Record<string, string | number>;
|
|
194
193
|
size: TabSize;
|
|
194
|
+
className: string;
|
|
195
195
|
closable: boolean;
|
|
196
196
|
activeKey: string | number;
|
|
197
197
|
defaultActiveKey: string | number;
|
|
@@ -189,9 +189,9 @@ declare const Tabs: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
189
189
|
"onTab-click"?: ((...args: any[]) => any) | undefined;
|
|
190
190
|
}>, {
|
|
191
191
|
type: TabType;
|
|
192
|
-
className: string;
|
|
193
192
|
style: Record<string, string | number>;
|
|
194
193
|
size: TabSize;
|
|
194
|
+
className: string;
|
|
195
195
|
closable: boolean;
|
|
196
196
|
activeKey: string | number;
|
|
197
197
|
defaultActiveKey: string | number;
|
|
@@ -109,10 +109,10 @@ declare const Tag: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
109
109
|
}>> & Readonly<{
|
|
110
110
|
onClose?: ((...args: any[]) => any) | undefined;
|
|
111
111
|
}>, {
|
|
112
|
-
className: string;
|
|
113
112
|
style: Record<string, string | number>;
|
|
114
113
|
size: TagSize;
|
|
115
114
|
variant: TagVariant;
|
|
115
|
+
className: string;
|
|
116
116
|
closable: boolean;
|
|
117
117
|
closeAriaLabel: string;
|
|
118
118
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
package/dist/components/Tag.d.ts
CHANGED
|
@@ -109,10 +109,10 @@ declare const Tag: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
109
109
|
}>> & Readonly<{
|
|
110
110
|
onClose?: ((...args: any[]) => any) | undefined;
|
|
111
111
|
}>, {
|
|
112
|
-
className: string;
|
|
113
112
|
style: Record<string, string | number>;
|
|
114
113
|
size: TagSize;
|
|
115
114
|
variant: TagVariant;
|
|
115
|
+
className: string;
|
|
116
116
|
closable: boolean;
|
|
117
117
|
closeAriaLabel: string;
|
|
118
118
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
@@ -113,9 +113,9 @@ declare const TaskBoard: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
113
113
|
"onCard-add"?: ((...args: any[]) => any) | undefined;
|
|
114
114
|
"onUpdate:columns"?: ((...args: any[]) => any) | undefined;
|
|
115
115
|
}>, {
|
|
116
|
-
className: string;
|
|
117
|
-
style: Record<string, string | number>;
|
|
118
116
|
locale: Partial<TigerLocale>;
|
|
117
|
+
style: Record<string, string | number>;
|
|
118
|
+
className: string;
|
|
119
119
|
columns: TaskBoardColumn[];
|
|
120
120
|
draggable: boolean;
|
|
121
121
|
defaultColumns: TaskBoardColumn[];
|
|
@@ -113,9 +113,9 @@ declare const TaskBoard: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
113
113
|
"onCard-add"?: ((...args: any[]) => any) | undefined;
|
|
114
114
|
"onUpdate:columns"?: ((...args: any[]) => any) | undefined;
|
|
115
115
|
}>, {
|
|
116
|
-
className: string;
|
|
117
|
-
style: Record<string, string | number>;
|
|
118
116
|
locale: Partial<TigerLocale>;
|
|
117
|
+
style: Record<string, string | number>;
|
|
118
|
+
className: string;
|
|
119
119
|
columns: TaskBoardColumn[];
|
|
120
120
|
draggable: boolean;
|
|
121
121
|
defaultColumns: TaskBoardColumn[];
|
|
@@ -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
|
}>, {
|
|
@@ -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
|
}>, {
|
|
@@ -348,11 +348,11 @@ declare const TimePicker: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
348
348
|
onClear?: (() => 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;
|
|
352
|
+
style: Record<string, string | number>;
|
|
354
353
|
size: TimePickerSize;
|
|
355
354
|
disabled: boolean;
|
|
355
|
+
className: string;
|
|
356
356
|
range: boolean;
|
|
357
357
|
modelValue: string | [string | null, string | null] | null;
|
|
358
358
|
placeholder: string;
|
|
@@ -348,11 +348,11 @@ declare const TimePicker: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
348
348
|
onClear?: (() => 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;
|
|
352
|
+
style: Record<string, string | number>;
|
|
354
353
|
size: TimePickerSize;
|
|
355
354
|
disabled: boolean;
|
|
355
|
+
className: string;
|
|
356
356
|
range: boolean;
|
|
357
357
|
modelValue: string | [string | null, string | null] | null;
|
|
358
358
|
placeholder: string;
|
|
@@ -102,9 +102,9 @@ declare const Timeline: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
102
102
|
default: undefined;
|
|
103
103
|
};
|
|
104
104
|
}>> & Readonly<{}>, {
|
|
105
|
-
className: string;
|
|
106
|
-
style: Record<string, unknown>;
|
|
107
105
|
reverse: boolean;
|
|
106
|
+
style: Record<string, unknown>;
|
|
107
|
+
className: string;
|
|
108
108
|
mode: TimelineMode;
|
|
109
109
|
items: TimelineItem[];
|
|
110
110
|
pending: boolean;
|
|
@@ -102,9 +102,9 @@ declare const Timeline: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
102
102
|
default: undefined;
|
|
103
103
|
};
|
|
104
104
|
}>> & Readonly<{}>, {
|
|
105
|
-
className: string;
|
|
106
|
-
style: Record<string, unknown>;
|
|
107
105
|
reverse: boolean;
|
|
106
|
+
style: Record<string, unknown>;
|
|
107
|
+
className: string;
|
|
108
108
|
mode: TimelineMode;
|
|
109
109
|
items: TimelineItem[];
|
|
110
110
|
pending: boolean;
|
|
@@ -102,9 +102,9 @@ declare const Tooltip: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
102
102
|
"onUpdate:visible"?: ((...args: any[]) => any) | undefined;
|
|
103
103
|
"onVisible-change"?: ((...args: any[]) => any) | undefined;
|
|
104
104
|
}>, {
|
|
105
|
-
className: string;
|
|
106
105
|
style: StyleValue;
|
|
107
106
|
disabled: boolean;
|
|
107
|
+
className: string;
|
|
108
108
|
offset: number;
|
|
109
109
|
visible: boolean;
|
|
110
110
|
content: string;
|
|
@@ -102,9 +102,9 @@ declare const Tooltip: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
102
102
|
"onUpdate:visible"?: ((...args: any[]) => any) | undefined;
|
|
103
103
|
"onVisible-change"?: ((...args: any[]) => any) | undefined;
|
|
104
104
|
}>, {
|
|
105
|
-
className: string;
|
|
106
105
|
style: StyleValue;
|
|
107
106
|
disabled: boolean;
|
|
107
|
+
className: string;
|
|
108
108
|
offset: number;
|
|
109
109
|
visible: boolean;
|
|
110
110
|
content: string;
|
|
@@ -286,8 +286,8 @@ declare const Upload: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
286
286
|
default: undefined;
|
|
287
287
|
};
|
|
288
288
|
}>> & Readonly<{
|
|
289
|
-
onChange?: ((_file: UploadFile, _fileList: UploadFile[]) => any) | undefined;
|
|
290
289
|
onProgress?: ((progress: number, _file: UploadFile) => any) | undefined;
|
|
290
|
+
onChange?: ((_file: UploadFile, _fileList: UploadFile[]) => any) | undefined;
|
|
291
291
|
onError?: ((error: Error, _file: UploadFile) => any) | undefined;
|
|
292
292
|
onSuccess?: ((_response: unknown, _file: UploadFile) => any) | undefined;
|
|
293
293
|
"onUpdate:file-list"?: ((files: UploadFile[]) => any) | undefined;
|
|
@@ -295,11 +295,11 @@ declare const Upload: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
295
295
|
onPreview?: ((_file: UploadFile) => any) | undefined;
|
|
296
296
|
onExceed?: ((files: File[], fileList: UploadFile[]) => any) | undefined;
|
|
297
297
|
}>, {
|
|
298
|
-
|
|
298
|
+
locale: Partial<TigerLocale>;
|
|
299
299
|
style: Record<string, string | number>;
|
|
300
300
|
drag: boolean;
|
|
301
|
-
locale: Partial<TigerLocale>;
|
|
302
301
|
disabled: boolean;
|
|
302
|
+
className: string;
|
|
303
303
|
multiple: boolean;
|
|
304
304
|
labels: Partial<UploadLabels>;
|
|
305
305
|
listType: UploadListType;
|