@expcat/tigercat-vue 0.3.70 → 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-HFBRO2IF.mjs +440 -0
- 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/chunk-YQGKXFV5.js +443 -0
- package/dist/components/ActivityFeed.js +4 -4
- package/dist/components/ActivityFeed.mjs +2 -2
- package/dist/components/Collapse.d.mts +1 -1
- package/dist/components/Collapse.d.ts +1 -1
- package/dist/components/DataTableWithToolbar.js +4 -4
- package/dist/components/DataTableWithToolbar.mjs +2 -2
- 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/Sidebar.d.mts +20 -0
- package/dist/components/Sidebar.d.ts +20 -0
- package/dist/components/Sidebar.js +3 -3
- package/dist/components/Sidebar.mjs +1 -1
- package/dist/components/SubMenu.js +3 -3
- package/dist/components/SubMenu.mjs +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/TaskBoard.d.mts +129 -0
- package/dist/components/TaskBoard.d.ts +129 -0
- package/dist/components/TaskBoard.js +18 -0
- package/dist/components/TaskBoard.mjs +3 -0
- package/dist/index.d.mts +2 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +50 -40
- package/dist/index.mjs +13 -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,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
|
+
});
|
|
@@ -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
|
|
@@ -75,6 +94,7 @@ declare const Sidebar: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
75
94
|
style: Record<string, string | number>;
|
|
76
95
|
className: string;
|
|
77
96
|
width: string;
|
|
97
|
+
collapsedWidth: string;
|
|
78
98
|
collapsed: boolean;
|
|
79
99
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
80
100
|
|
|
@@ -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
|
|
@@ -75,6 +94,7 @@ declare const Sidebar: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
75
94
|
style: Record<string, string | number>;
|
|
76
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';
|
|
@@ -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
|
});
|
|
@@ -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';
|