@web-utils/form-ui 1.0.0-beta51 → 1.0.0-beta52
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/chunks/{eae6huQB.mjs → B1k8ydde.mjs} +2 -2
- package/chunks/{B1IPSTA6.mjs → B75qfA0z.mjs} +2 -2
- package/chunks/{pIzhYsBe.mjs → BAw6wxW1.mjs} +2 -2
- package/chunks/{B9gA65rt2.mjs → BSU2FqMP2.mjs} +2 -2
- package/chunks/{DA7oGHSX.mjs → BXVB-H8_.mjs} +2 -2
- package/chunks/B_RAcbs_.mjs +108 -0
- package/chunks/{BtcjAHE6.mjs → BshE3RnA.mjs} +2 -2
- package/chunks/{CuAoMR3n.mjs → C6hLXCPk.mjs} +5 -16
- package/chunks/{CAd1zK9Q.mjs → CBFbSsTJ.mjs} +2 -2
- package/chunks/CGDnQr1c.mjs +67 -0
- package/chunks/CGHcOyNC2.mjs +87 -0
- package/chunks/{ByHz4mmh.mjs → CVKPpQdS.mjs} +2 -2
- package/chunks/{BG8z3V9d2.mjs → CjRZ71IY2.mjs} +47 -178
- package/chunks/CkjtCuMs.mjs +416 -0
- package/chunks/{D_Fs3bkZ.mjs → CtHmTtVP.mjs} +2 -2
- package/chunks/{V2p-PCpL.mjs → CzHaJsnD.mjs} +3 -3
- package/chunks/{Bwbtu2cp.mjs → D2MB3CnR.mjs} +2 -2
- package/chunks/{D_qiRmiE.mjs → D3mFJzGr.mjs} +32 -26
- package/chunks/{BbSPWDDZ.mjs → DLgFBI_X.mjs} +2 -2
- package/chunks/{BfxDxIg0.mjs → DVbw6xIr.mjs} +2 -2
- package/chunks/{BQk3-Ppb2.mjs → DZJ-ShZA2.mjs} +38 -39
- package/chunks/{CqVd8D222.mjs → DcFllKOf2.mjs} +2 -2
- package/chunks/DhVmHzB7.mjs +653 -0
- package/chunks/{6yfBZFOB.mjs → DitpKWMd.mjs} +4 -3
- package/chunks/{bFbPPcdq.mjs → DkXlFWjs.mjs} +2 -2
- package/chunks/{DKwp6AMl.mjs → GMFHxPJq.mjs} +2 -2
- package/chunks/{BqWvBF14.mjs → JKFepPeL.mjs} +2 -2
- package/chunks/{CJdkjadi.mjs → KuAMIZnG.mjs} +1 -1
- package/chunks/{BBERmTup.mjs → XoImEoke.mjs} +19 -4
- package/chunks/{wXeqV-_7.mjs → eBESsR-G.mjs} +2 -2
- package/chunks/{CabldOLo.mjs → v-O82KSn.mjs} +4 -3
- package/element-dialog/index.d.ts +2 -2
- package/form-cascader/index.d.ts +8 -2
- package/form-cascader/index.mjs +1 -1
- package/form-checkbox/index.d.ts +8 -2
- package/form-checkbox/index.mjs +1 -1
- package/form-checkbox-group/index.d.ts +8 -2
- package/form-checkbox-group/index.mjs +1 -1
- package/form-date-picker/index.d.ts +8 -2
- package/form-date-picker/index.mjs +1 -1
- package/form-image/index.d.ts +8 -2
- package/form-image/index.mjs +1 -1
- package/form-input/index.d.ts +8 -2
- package/form-input/index.mjs +1 -1
- package/form-input-cron-expression/index.d.ts +8 -2
- package/form-input-cron-expression/index.mjs +1 -1
- package/form-input-email/index.d.ts +8 -2
- package/form-input-email/index.mjs +1 -1
- package/form-input-id-card/index.d.ts +8 -2
- package/form-input-id-card/index.mjs +1 -1
- package/form-input-number/index.d.ts +8 -2
- package/form-input-number/index.mjs +1 -1
- package/form-input-phone-number/index.d.ts +8 -2
- package/form-input-phone-number/index.mjs +1 -1
- package/form-input-tag/index.d.ts +8 -2
- package/form-input-tag/index.mjs +1 -1
- package/form-input-time/index.d.ts +8 -2
- package/form-input-time/index.mjs +1 -1
- package/form-item-group/index.mjs +1 -1
- package/form-item-x/index.d.ts +8 -2
- package/form-item-x/index.mjs +1 -1
- package/form-radio-group/index.d.ts +8 -2
- package/form-radio-group/index.mjs +1 -1
- package/form-rate/index.d.ts +8 -2
- package/form-rate/index.mjs +1 -1
- package/form-select/index.d.ts +8 -2
- package/form-select/index.mjs +1 -1
- package/form-slider/index.d.ts +8 -2
- package/form-slider/index.mjs +1 -1
- package/form-switch/index.d.ts +8 -2
- package/form-switch/index.mjs +1 -1
- package/form-table/index.d.ts +43 -25
- package/form-table/index.mjs +1 -1
- package/form-table-plus/index.d.ts +8 -8
- package/form-table-plus/index.mjs +1 -1
- package/form-text/index.d.ts +8 -2
- package/form-text/index.mjs +1 -1
- package/form-textarea/index.d.ts +12 -12
- package/form-textarea/index.mjs +1 -1
- package/form-time-select/index.d.ts +8 -2
- package/form-time-select/index.mjs +1 -1
- package/helper/sub-table-plus.d.ts +38 -0
- package/helper/sub-table-plus.mjs +4 -0
- package/index.mjs +29 -29
- package/package.json +1 -1
- package/pageable-table/index.d.ts +11 -11
- package/pageable-table/index.mjs +1 -1
- package/sub-table/index.d.ts +36 -30
- package/sub-table/index.mjs +2 -537
- package/sub-table-plus/index.d.ts +11 -2
- package/sub-table-plus/index.mjs +1 -1
- package/table-column/index.d.ts +8 -5
- package/table-column/index.mjs +1 -1
- package/table-column-def/index.d.ts +14 -12
- package/table-column-def/index.mjs +1 -1
- package/table-view/index.d.ts +4 -0
- package/table-view/index.mjs +13 -5
- package/web-types.json +1 -1
- package/chunks/BsZgAJX_2.mjs +0 -81
- package/chunks/YFiU0ngn.mjs +0 -622
- package/chunks/gCeDFHo1.mjs +0 -32
- package/chunks/hlha6Bhc.mjs +0 -107
- package/chunks/wDS9KBFw.mjs +0 -67
package/form-switch/index.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../chunks/
|
|
1
|
+
import { t as e } from "../chunks/DVbw6xIr.mjs";
|
|
2
2
|
export { e as default };
|
package/form-table/index.d.ts
CHANGED
|
@@ -6,10 +6,6 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
|
|
|
6
6
|
type: BooleanConstructor;
|
|
7
7
|
default: boolean;
|
|
8
8
|
};
|
|
9
|
-
block: {
|
|
10
|
-
type: BooleanConstructor;
|
|
11
|
-
default: boolean;
|
|
12
|
-
};
|
|
13
9
|
editable: BooleanConstructor;
|
|
14
10
|
showHandleColumnAddButton: {
|
|
15
11
|
type: BooleanConstructor;
|
|
@@ -19,10 +15,23 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
|
|
|
19
15
|
type: BooleanConstructor;
|
|
20
16
|
default: boolean;
|
|
21
17
|
};
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
18
|
+
prop: StringConstructor;
|
|
19
|
+
limit: {
|
|
20
|
+
type: NumberConstructor;
|
|
21
|
+
default: number;
|
|
22
|
+
};
|
|
23
|
+
maxLimit: {
|
|
24
|
+
type: NumberConstructor;
|
|
25
|
+
default: number;
|
|
26
|
+
};
|
|
27
|
+
disabled: {
|
|
28
|
+
type: BooleanConstructor;
|
|
29
|
+
default: undefined;
|
|
25
30
|
};
|
|
31
|
+
showSummary: BooleanConstructor;
|
|
32
|
+
selectionWidth: StringConstructor;
|
|
33
|
+
fetchApi: FunctionConstructor;
|
|
34
|
+
delApi: FunctionConstructor;
|
|
26
35
|
size: {
|
|
27
36
|
type: StringConstructor;
|
|
28
37
|
};
|
|
@@ -30,10 +39,6 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
|
|
|
30
39
|
type: BooleanConstructor;
|
|
31
40
|
default: boolean;
|
|
32
41
|
};
|
|
33
|
-
disabled: {
|
|
34
|
-
type: BooleanConstructor;
|
|
35
|
-
default: undefined;
|
|
36
|
-
};
|
|
37
42
|
col: BooleanConstructor;
|
|
38
43
|
span: {
|
|
39
44
|
type: NumberConstructor;
|
|
@@ -70,7 +75,6 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
|
|
|
70
75
|
type: StringConstructor;
|
|
71
76
|
default: string;
|
|
72
77
|
};
|
|
73
|
-
prop: (StringConstructor | ArrayConstructor)[];
|
|
74
78
|
label: StringConstructor;
|
|
75
79
|
labelPosition: {
|
|
76
80
|
type: StringConstructor;
|
|
@@ -100,6 +104,10 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
|
|
|
100
104
|
default: boolean;
|
|
101
105
|
};
|
|
102
106
|
fixedSpan: NumberConstructor;
|
|
107
|
+
block: {
|
|
108
|
+
type: BooleanConstructor;
|
|
109
|
+
default: undefined;
|
|
110
|
+
};
|
|
103
111
|
unwrap: BooleanConstructor;
|
|
104
112
|
half: BooleanConstructor;
|
|
105
113
|
formItemClass: StringConstructor;
|
|
@@ -128,10 +136,6 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
|
|
|
128
136
|
type: BooleanConstructor;
|
|
129
137
|
default: boolean;
|
|
130
138
|
};
|
|
131
|
-
block: {
|
|
132
|
-
type: BooleanConstructor;
|
|
133
|
-
default: boolean;
|
|
134
|
-
};
|
|
135
139
|
editable: BooleanConstructor;
|
|
136
140
|
showHandleColumnAddButton: {
|
|
137
141
|
type: BooleanConstructor;
|
|
@@ -141,10 +145,23 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
|
|
|
141
145
|
type: BooleanConstructor;
|
|
142
146
|
default: boolean;
|
|
143
147
|
};
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
148
|
+
prop: StringConstructor;
|
|
149
|
+
limit: {
|
|
150
|
+
type: NumberConstructor;
|
|
151
|
+
default: number;
|
|
152
|
+
};
|
|
153
|
+
maxLimit: {
|
|
154
|
+
type: NumberConstructor;
|
|
155
|
+
default: number;
|
|
156
|
+
};
|
|
157
|
+
disabled: {
|
|
158
|
+
type: BooleanConstructor;
|
|
159
|
+
default: undefined;
|
|
147
160
|
};
|
|
161
|
+
showSummary: BooleanConstructor;
|
|
162
|
+
selectionWidth: StringConstructor;
|
|
163
|
+
fetchApi: FunctionConstructor;
|
|
164
|
+
delApi: FunctionConstructor;
|
|
148
165
|
size: {
|
|
149
166
|
type: StringConstructor;
|
|
150
167
|
};
|
|
@@ -152,10 +169,6 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
|
|
|
152
169
|
type: BooleanConstructor;
|
|
153
170
|
default: boolean;
|
|
154
171
|
};
|
|
155
|
-
disabled: {
|
|
156
|
-
type: BooleanConstructor;
|
|
157
|
-
default: undefined;
|
|
158
|
-
};
|
|
159
172
|
col: BooleanConstructor;
|
|
160
173
|
span: {
|
|
161
174
|
type: NumberConstructor;
|
|
@@ -192,7 +205,6 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
|
|
|
192
205
|
type: StringConstructor;
|
|
193
206
|
default: string;
|
|
194
207
|
};
|
|
195
|
-
prop: (StringConstructor | ArrayConstructor)[];
|
|
196
208
|
label: StringConstructor;
|
|
197
209
|
labelPosition: {
|
|
198
210
|
type: StringConstructor;
|
|
@@ -222,6 +234,10 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
|
|
|
222
234
|
default: boolean;
|
|
223
235
|
};
|
|
224
236
|
fixedSpan: NumberConstructor;
|
|
237
|
+
block: {
|
|
238
|
+
type: BooleanConstructor;
|
|
239
|
+
default: undefined;
|
|
240
|
+
};
|
|
225
241
|
unwrap: BooleanConstructor;
|
|
226
242
|
half: BooleanConstructor;
|
|
227
243
|
formItemClass: StringConstructor;
|
|
@@ -264,6 +280,8 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
|
|
|
264
280
|
handleColumn: boolean;
|
|
265
281
|
showHandleColumnAddButton: boolean;
|
|
266
282
|
showEmptyAddButton: boolean;
|
|
267
|
-
|
|
283
|
+
limit: number;
|
|
284
|
+
maxLimit: number;
|
|
285
|
+
showSummary: boolean;
|
|
268
286
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
269
287
|
export default _default;
|
package/form-table/index.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../chunks/
|
|
1
|
+
import { t as e } from "../chunks/CGHcOyNC2.mjs";
|
|
2
2
|
export { e as default };
|
|
@@ -1,10 +1,6 @@
|
|
|
1
1
|
declare const _default: import('vue').DefineComponent<globalThis.ExtractPropTypes<{
|
|
2
2
|
rowDbClick: FunctionConstructor;
|
|
3
3
|
viewId: (StringConstructor | ArrayConstructor)[];
|
|
4
|
-
block: {
|
|
5
|
-
type: BooleanConstructor;
|
|
6
|
-
default: boolean;
|
|
7
|
-
};
|
|
8
4
|
formPath: (StringConstructor | FunctionConstructor)[];
|
|
9
5
|
modelValue: ArrayConstructor;
|
|
10
6
|
prop: StringConstructor;
|
|
@@ -100,6 +96,10 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
|
|
|
100
96
|
default: boolean;
|
|
101
97
|
};
|
|
102
98
|
fixedSpan: NumberConstructor;
|
|
99
|
+
block: {
|
|
100
|
+
type: BooleanConstructor;
|
|
101
|
+
default: undefined;
|
|
102
|
+
};
|
|
103
103
|
unwrap: BooleanConstructor;
|
|
104
104
|
half: BooleanConstructor;
|
|
105
105
|
formItemClass: StringConstructor;
|
|
@@ -122,10 +122,6 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
|
|
|
122
122
|
}, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<{
|
|
123
123
|
rowDbClick: FunctionConstructor;
|
|
124
124
|
viewId: (StringConstructor | ArrayConstructor)[];
|
|
125
|
-
block: {
|
|
126
|
-
type: BooleanConstructor;
|
|
127
|
-
default: boolean;
|
|
128
|
-
};
|
|
129
125
|
formPath: (StringConstructor | FunctionConstructor)[];
|
|
130
126
|
modelValue: ArrayConstructor;
|
|
131
127
|
prop: StringConstructor;
|
|
@@ -221,6 +217,10 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
|
|
|
221
217
|
default: boolean;
|
|
222
218
|
};
|
|
223
219
|
fixedSpan: NumberConstructor;
|
|
220
|
+
block: {
|
|
221
|
+
type: BooleanConstructor;
|
|
222
|
+
default: undefined;
|
|
223
|
+
};
|
|
224
224
|
unwrap: BooleanConstructor;
|
|
225
225
|
half: BooleanConstructor;
|
|
226
226
|
formItemClass: StringConstructor;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../chunks/
|
|
1
|
+
import { t as e } from "../chunks/DZJ-ShZA2.mjs";
|
|
2
2
|
export { e as default };
|
package/form-text/index.d.ts
CHANGED
|
@@ -84,7 +84,10 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
|
|
|
84
84
|
default: boolean;
|
|
85
85
|
};
|
|
86
86
|
fixedSpan: NumberConstructor;
|
|
87
|
-
block:
|
|
87
|
+
block: {
|
|
88
|
+
type: BooleanConstructor;
|
|
89
|
+
default: undefined;
|
|
90
|
+
};
|
|
88
91
|
unwrap: BooleanConstructor;
|
|
89
92
|
half: BooleanConstructor;
|
|
90
93
|
formItemClass: StringConstructor;
|
|
@@ -188,7 +191,10 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
|
|
|
188
191
|
default: boolean;
|
|
189
192
|
};
|
|
190
193
|
fixedSpan: NumberConstructor;
|
|
191
|
-
block:
|
|
194
|
+
block: {
|
|
195
|
+
type: BooleanConstructor;
|
|
196
|
+
default: undefined;
|
|
197
|
+
};
|
|
192
198
|
unwrap: BooleanConstructor;
|
|
193
199
|
half: BooleanConstructor;
|
|
194
200
|
formItemClass: StringConstructor;
|
package/form-text/index.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../chunks/
|
|
1
|
+
import { t as e } from "../chunks/BSU2FqMP2.mjs";
|
|
2
2
|
export { e as default };
|
package/form-textarea/index.d.ts
CHANGED
|
@@ -1,14 +1,10 @@
|
|
|
1
1
|
declare const _default: import('vue').DefineComponent<globalThis.ExtractPropTypes<{
|
|
2
|
+
modelValue: (StringConstructor | NumberConstructor)[];
|
|
3
|
+
modelModifiers: ObjectConstructor;
|
|
2
4
|
maxlength: {
|
|
3
5
|
type: (StringConstructor | NumberConstructor)[];
|
|
4
6
|
default: number;
|
|
5
7
|
};
|
|
6
|
-
block: {
|
|
7
|
-
type: BooleanConstructor;
|
|
8
|
-
default: boolean;
|
|
9
|
-
};
|
|
10
|
-
modelValue: (StringConstructor | NumberConstructor)[];
|
|
11
|
-
modelModifiers: ObjectConstructor;
|
|
12
8
|
minlength: (StringConstructor | NumberConstructor)[];
|
|
13
9
|
showWordLimit: {
|
|
14
10
|
type: BooleanConstructor;
|
|
@@ -141,6 +137,10 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
|
|
|
141
137
|
default: boolean;
|
|
142
138
|
};
|
|
143
139
|
fixedSpan: NumberConstructor;
|
|
140
|
+
block: {
|
|
141
|
+
type: BooleanConstructor;
|
|
142
|
+
default: undefined;
|
|
143
|
+
};
|
|
144
144
|
unwrap: BooleanConstructor;
|
|
145
145
|
half: BooleanConstructor;
|
|
146
146
|
formItemClass: StringConstructor;
|
|
@@ -159,16 +159,12 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
|
|
|
159
159
|
}>, () => any, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
160
160
|
"update:modelValue": null;
|
|
161
161
|
}, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<{
|
|
162
|
+
modelValue: (StringConstructor | NumberConstructor)[];
|
|
163
|
+
modelModifiers: ObjectConstructor;
|
|
162
164
|
maxlength: {
|
|
163
165
|
type: (StringConstructor | NumberConstructor)[];
|
|
164
166
|
default: number;
|
|
165
167
|
};
|
|
166
|
-
block: {
|
|
167
|
-
type: BooleanConstructor;
|
|
168
|
-
default: boolean;
|
|
169
|
-
};
|
|
170
|
-
modelValue: (StringConstructor | NumberConstructor)[];
|
|
171
|
-
modelModifiers: ObjectConstructor;
|
|
172
168
|
minlength: (StringConstructor | NumberConstructor)[];
|
|
173
169
|
showWordLimit: {
|
|
174
170
|
type: BooleanConstructor;
|
|
@@ -301,6 +297,10 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
|
|
|
301
297
|
default: boolean;
|
|
302
298
|
};
|
|
303
299
|
fixedSpan: NumberConstructor;
|
|
300
|
+
block: {
|
|
301
|
+
type: BooleanConstructor;
|
|
302
|
+
default: undefined;
|
|
303
|
+
};
|
|
304
304
|
unwrap: BooleanConstructor;
|
|
305
305
|
half: BooleanConstructor;
|
|
306
306
|
formItemClass: StringConstructor;
|
package/form-textarea/index.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../chunks/
|
|
1
|
+
import { t as e } from "../chunks/C6hLXCPk.mjs";
|
|
2
2
|
export { e as default };
|
|
@@ -123,7 +123,10 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
|
|
|
123
123
|
default: boolean;
|
|
124
124
|
};
|
|
125
125
|
fixedSpan: NumberConstructor;
|
|
126
|
-
block:
|
|
126
|
+
block: {
|
|
127
|
+
type: BooleanConstructor;
|
|
128
|
+
default: undefined;
|
|
129
|
+
};
|
|
127
130
|
unwrap: BooleanConstructor;
|
|
128
131
|
half: BooleanConstructor;
|
|
129
132
|
formItemClass: StringConstructor;
|
|
@@ -268,7 +271,10 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
|
|
|
268
271
|
default: boolean;
|
|
269
272
|
};
|
|
270
273
|
fixedSpan: NumberConstructor;
|
|
271
|
-
block:
|
|
274
|
+
block: {
|
|
275
|
+
type: BooleanConstructor;
|
|
276
|
+
default: undefined;
|
|
277
|
+
};
|
|
272
278
|
unwrap: BooleanConstructor;
|
|
273
279
|
half: BooleanConstructor;
|
|
274
280
|
formItemClass: StringConstructor;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../chunks/
|
|
1
|
+
import { t as e } from "../chunks/DcFllKOf2.mjs";
|
|
2
2
|
export { e as default };
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { TableColumnCtx } from 'element-plus';
|
|
2
|
+
export type InputType = 'input' | 'checkbox1' | 'inputPhoneNumber' | 'user' | 'department' | 'select' | 'datePicker' | 'cascader' | 'checkbox' | 'number';
|
|
3
|
+
export type Align = 'left' | 'center' | 'right';
|
|
4
|
+
export type Option = {
|
|
5
|
+
value?: string | number;
|
|
6
|
+
label?: string;
|
|
7
|
+
[key: string]: any;
|
|
8
|
+
};
|
|
9
|
+
export type ColumnType = {
|
|
10
|
+
label?: string;
|
|
11
|
+
prop: string;
|
|
12
|
+
type?: InputType;
|
|
13
|
+
required?: boolean;
|
|
14
|
+
editable?: boolean;
|
|
15
|
+
setVal?: boolean;
|
|
16
|
+
attrs?: object;
|
|
17
|
+
getAttrs?: (row: object) => object;
|
|
18
|
+
isDisabled?: (row: object) => boolean;
|
|
19
|
+
setValue?: (row: object, val: any, item: ColumnType, rows: object[]) => void;
|
|
20
|
+
onBlur?: (row: object, item: ColumnType, rows: object[]) => void;
|
|
21
|
+
getType?: (row: object, item: ColumnType) => string;
|
|
22
|
+
getVal?: (row: object, column: TableColumnCtx<object>, item: ColumnType) => any;
|
|
23
|
+
single?: boolean;
|
|
24
|
+
idProp?: string;
|
|
25
|
+
ouType?: string;
|
|
26
|
+
start?: string;
|
|
27
|
+
end?: string;
|
|
28
|
+
options?: Option[];
|
|
29
|
+
dictType?: string;
|
|
30
|
+
idAsValue?: boolean;
|
|
31
|
+
labelAsValue?: boolean;
|
|
32
|
+
align?: Align;
|
|
33
|
+
width?: string;
|
|
34
|
+
clickable?: boolean;
|
|
35
|
+
showOverflowTooltip?: boolean;
|
|
36
|
+
};
|
|
37
|
+
export declare const definColumn: (column: ColumnType) => ColumnType;
|
|
38
|
+
export declare const defineColumns: (columns: ColumnType[]) => ColumnType[];
|
package/index.mjs
CHANGED
|
@@ -11,43 +11,43 @@ import c from "./flex-scroll-area/index.mjs";
|
|
|
11
11
|
import l from "./form-advice/index.mjs";
|
|
12
12
|
import u from "./form-button/index.mjs";
|
|
13
13
|
import d from "./form-card/index.mjs";
|
|
14
|
-
import { a as f } from "./chunks/
|
|
15
|
-
import { t as p } from "./chunks/
|
|
14
|
+
import { a as f } from "./chunks/D3mFJzGr.mjs";
|
|
15
|
+
import { t as p } from "./chunks/D2MB3CnR.mjs";
|
|
16
16
|
import m from "./form-cell/index.mjs";
|
|
17
|
-
import { t as h } from "./chunks/
|
|
18
|
-
import { t as g } from "./chunks/
|
|
19
|
-
import { t as _ } from "./chunks/
|
|
20
|
-
import { t as v } from "./chunks/
|
|
17
|
+
import { t as h } from "./chunks/eBESsR-G.mjs";
|
|
18
|
+
import { t as g } from "./chunks/v-O82KSn.mjs";
|
|
19
|
+
import { t as _ } from "./chunks/CzHaJsnD.mjs";
|
|
20
|
+
import { t as v } from "./chunks/B75qfA0z.mjs";
|
|
21
21
|
import y from "./form-red-table/index.mjs";
|
|
22
22
|
import { t as b } from "./chunks/C2zgFLYO.mjs";
|
|
23
|
-
import { t as x } from "./chunks/
|
|
23
|
+
import { t as x } from "./chunks/JKFepPeL.mjs";
|
|
24
24
|
import { t as S } from "./chunks/C7G-cAoI.mjs";
|
|
25
|
-
import { t as C } from "./chunks/
|
|
26
|
-
import { t as w } from "./chunks/
|
|
27
|
-
import { t as T } from "./chunks/
|
|
28
|
-
import { t as E } from "./chunks/
|
|
29
|
-
import { t as D } from "./chunks/
|
|
25
|
+
import { t as C } from "./chunks/CtHmTtVP.mjs";
|
|
26
|
+
import { t as w } from "./chunks/B1k8ydde.mjs";
|
|
27
|
+
import { t as T } from "./chunks/CBFbSsTJ.mjs";
|
|
28
|
+
import { t as E } from "./chunks/DLgFBI_X.mjs";
|
|
29
|
+
import { t as D } from "./chunks/DkXlFWjs.mjs";
|
|
30
30
|
import O from "./x-input-tag/index.mjs";
|
|
31
|
-
import { t as te } from "./chunks/
|
|
32
|
-
import { t as k } from "./chunks/
|
|
31
|
+
import { t as te } from "./chunks/DitpKWMd.mjs";
|
|
32
|
+
import { t as k } from "./chunks/GMFHxPJq.mjs";
|
|
33
33
|
import A from "./form-item-config-provider/index.mjs";
|
|
34
|
-
import { t as j } from "./chunks/
|
|
35
|
-
import { t as M } from "./chunks/
|
|
36
|
-
import { t as N } from "./chunks/
|
|
34
|
+
import { t as j } from "./chunks/B_RAcbs_.mjs";
|
|
35
|
+
import { t as M } from "./chunks/BXVB-H8_.mjs";
|
|
36
|
+
import { t as N } from "./chunks/CVKPpQdS.mjs";
|
|
37
37
|
import { t as P } from "./chunks/DOP3aBxf.mjs";
|
|
38
|
-
import { t as F } from "./chunks/
|
|
39
|
-
import { t as I } from "./chunks/
|
|
40
|
-
import { t as L } from "./chunks/
|
|
41
|
-
import { t as R } from "./chunks/
|
|
42
|
-
import { t as z } from "./chunks/
|
|
38
|
+
import { t as F } from "./chunks/BshE3RnA.mjs";
|
|
39
|
+
import { t as I } from "./chunks/BAw6wxW1.mjs";
|
|
40
|
+
import { t as L } from "./chunks/DVbw6xIr.mjs";
|
|
41
|
+
import { t as R } from "./chunks/DhVmHzB7.mjs";
|
|
42
|
+
import { t as z } from "./chunks/CGDnQr1c.mjs";
|
|
43
43
|
import B from "./table-column-def/index.mjs";
|
|
44
|
-
import { t as V } from "./chunks/
|
|
45
|
-
import H from "./
|
|
46
|
-
import { t as U } from "./chunks/
|
|
47
|
-
import { t as W } from "./chunks/
|
|
48
|
-
import { t as G } from "./chunks/
|
|
49
|
-
import { t as K } from "./chunks/
|
|
50
|
-
import { t as q } from "./chunks/
|
|
44
|
+
import { t as V } from "./chunks/C6hLXCPk.mjs";
|
|
45
|
+
import { t as H } from "./chunks/CkjtCuMs.mjs";
|
|
46
|
+
import { t as U } from "./chunks/CGHcOyNC2.mjs";
|
|
47
|
+
import { t as W } from "./chunks/CjRZ71IY2.mjs";
|
|
48
|
+
import { t as G } from "./chunks/DZJ-ShZA2.mjs";
|
|
49
|
+
import { t as K } from "./chunks/BSU2FqMP2.mjs";
|
|
50
|
+
import { t as q } from "./chunks/DcFllKOf2.mjs";
|
|
51
51
|
import J from "./form-view/index.mjs";
|
|
52
52
|
import Y from "./iframe-window/index.mjs";
|
|
53
53
|
import { t as X } from "./chunks/BQyL45PF2.mjs";
|
package/package.json
CHANGED
|
@@ -363,13 +363,22 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
|
|
|
363
363
|
border: boolean;
|
|
364
364
|
fit: boolean;
|
|
365
365
|
multiple: boolean;
|
|
366
|
+
showSummary: boolean;
|
|
367
|
+
selectionWidth: string;
|
|
366
368
|
descs: unknown[];
|
|
367
369
|
ascs: unknown[];
|
|
368
|
-
showSummary: boolean;
|
|
369
370
|
selection: boolean;
|
|
370
371
|
index: boolean;
|
|
371
|
-
selectionWidth: string;
|
|
372
372
|
pageSize: number;
|
|
373
|
+
hideOnSinglePage: boolean;
|
|
374
|
+
headerBold: boolean;
|
|
375
|
+
autoHeight: boolean;
|
|
376
|
+
reloadOnModelChange: boolean;
|
|
377
|
+
dicOptions: unknown[];
|
|
378
|
+
paging: boolean;
|
|
379
|
+
clickRowSelect: boolean;
|
|
380
|
+
selectExport: boolean;
|
|
381
|
+
useVisibilityChange: boolean;
|
|
373
382
|
stripe: boolean;
|
|
374
383
|
showHeader: boolean;
|
|
375
384
|
highlightCurrentRow: boolean;
|
|
@@ -387,14 +396,5 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
|
|
|
387
396
|
allowDragLastColumn: boolean;
|
|
388
397
|
preserveExpandedContent: boolean;
|
|
389
398
|
nativeScrollbar: boolean;
|
|
390
|
-
hideOnSinglePage: boolean;
|
|
391
|
-
headerBold: boolean;
|
|
392
|
-
autoHeight: boolean;
|
|
393
|
-
reloadOnModelChange: boolean;
|
|
394
|
-
dicOptions: unknown[];
|
|
395
|
-
paging: boolean;
|
|
396
|
-
clickRowSelect: boolean;
|
|
397
|
-
selectExport: boolean;
|
|
398
|
-
useVisibilityChange: boolean;
|
|
399
399
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
400
400
|
export default _default;
|
package/pageable-table/index.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../chunks/
|
|
1
|
+
import { t as e } from "../chunks/DhVmHzB7.mjs";
|
|
2
2
|
export { e as default };
|
package/sub-table/index.d.ts
CHANGED
|
@@ -1,26 +1,12 @@
|
|
|
1
1
|
declare const _default: import('vue').DefineComponent<globalThis.ExtractPropTypes<{
|
|
2
2
|
modelValue: ArrayConstructor;
|
|
3
|
-
prop: StringConstructor;
|
|
4
3
|
columns: ArrayConstructor;
|
|
5
|
-
limit: {
|
|
6
|
-
type: NumberConstructor;
|
|
7
|
-
default: number;
|
|
8
|
-
};
|
|
9
|
-
maxLimit: {
|
|
10
|
-
type: NumberConstructor;
|
|
11
|
-
default: number;
|
|
12
|
-
};
|
|
13
|
-
disabled: BooleanConstructor;
|
|
14
|
-
showSummary: BooleanConstructor;
|
|
15
|
-
selectionWidth: StringConstructor;
|
|
16
4
|
allowEmpty: BooleanConstructor;
|
|
17
5
|
handleColumn: {
|
|
18
6
|
type: BooleanConstructor;
|
|
19
7
|
default: boolean;
|
|
20
8
|
};
|
|
21
9
|
editable: BooleanConstructor;
|
|
22
|
-
fetchApi: FunctionConstructor;
|
|
23
|
-
delApi: FunctionConstructor;
|
|
24
10
|
showHandleColumnAddButton: {
|
|
25
11
|
type: BooleanConstructor;
|
|
26
12
|
default: boolean;
|
|
@@ -29,6 +15,23 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
|
|
|
29
15
|
type: BooleanConstructor;
|
|
30
16
|
default: boolean;
|
|
31
17
|
};
|
|
18
|
+
prop: StringConstructor;
|
|
19
|
+
limit: {
|
|
20
|
+
type: NumberConstructor;
|
|
21
|
+
default: number;
|
|
22
|
+
};
|
|
23
|
+
maxLimit: {
|
|
24
|
+
type: NumberConstructor;
|
|
25
|
+
default: number;
|
|
26
|
+
};
|
|
27
|
+
disabled: {
|
|
28
|
+
type: BooleanConstructor;
|
|
29
|
+
default: undefined;
|
|
30
|
+
};
|
|
31
|
+
showSummary: BooleanConstructor;
|
|
32
|
+
selectionWidth: StringConstructor;
|
|
33
|
+
fetchApi: FunctionConstructor;
|
|
34
|
+
delApi: FunctionConstructor;
|
|
32
35
|
}>, {}, {
|
|
33
36
|
rows: never[];
|
|
34
37
|
selectedRows: never[];
|
|
@@ -39,7 +42,7 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
|
|
|
39
42
|
filteredColumns(): unknown[];
|
|
40
43
|
}, {
|
|
41
44
|
getCellType(row: any, item: any): any;
|
|
42
|
-
getInputAttr(row: any, item: any): any;
|
|
45
|
+
getInputAttr(row: any, item: any, index: any): any;
|
|
43
46
|
isInputDisabled(row: any, item: any): any;
|
|
44
47
|
onInput(row: any, val: any, item: any): void;
|
|
45
48
|
onSelectionChange(selectedRows: any): void;
|
|
@@ -54,27 +57,13 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
|
|
|
54
57
|
"update:modelValue": null;
|
|
55
58
|
}, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<{
|
|
56
59
|
modelValue: ArrayConstructor;
|
|
57
|
-
prop: StringConstructor;
|
|
58
60
|
columns: ArrayConstructor;
|
|
59
|
-
limit: {
|
|
60
|
-
type: NumberConstructor;
|
|
61
|
-
default: number;
|
|
62
|
-
};
|
|
63
|
-
maxLimit: {
|
|
64
|
-
type: NumberConstructor;
|
|
65
|
-
default: number;
|
|
66
|
-
};
|
|
67
|
-
disabled: BooleanConstructor;
|
|
68
|
-
showSummary: BooleanConstructor;
|
|
69
|
-
selectionWidth: StringConstructor;
|
|
70
61
|
allowEmpty: BooleanConstructor;
|
|
71
62
|
handleColumn: {
|
|
72
63
|
type: BooleanConstructor;
|
|
73
64
|
default: boolean;
|
|
74
65
|
};
|
|
75
66
|
editable: BooleanConstructor;
|
|
76
|
-
fetchApi: FunctionConstructor;
|
|
77
|
-
delApi: FunctionConstructor;
|
|
78
67
|
showHandleColumnAddButton: {
|
|
79
68
|
type: BooleanConstructor;
|
|
80
69
|
default: boolean;
|
|
@@ -83,6 +72,23 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
|
|
|
83
72
|
type: BooleanConstructor;
|
|
84
73
|
default: boolean;
|
|
85
74
|
};
|
|
75
|
+
prop: StringConstructor;
|
|
76
|
+
limit: {
|
|
77
|
+
type: NumberConstructor;
|
|
78
|
+
default: number;
|
|
79
|
+
};
|
|
80
|
+
maxLimit: {
|
|
81
|
+
type: NumberConstructor;
|
|
82
|
+
default: number;
|
|
83
|
+
};
|
|
84
|
+
disabled: {
|
|
85
|
+
type: BooleanConstructor;
|
|
86
|
+
default: undefined;
|
|
87
|
+
};
|
|
88
|
+
showSummary: BooleanConstructor;
|
|
89
|
+
selectionWidth: StringConstructor;
|
|
90
|
+
fetchApi: FunctionConstructor;
|
|
91
|
+
delApi: FunctionConstructor;
|
|
86
92
|
}>> & Readonly<{
|
|
87
93
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
88
94
|
"onAdd-row"?: ((...args: any[]) => any) | undefined;
|
|
@@ -94,7 +100,7 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
|
|
|
94
100
|
showHandleColumnAddButton: boolean;
|
|
95
101
|
showEmptyAddButton: boolean;
|
|
96
102
|
limit: number;
|
|
97
|
-
showSummary: boolean;
|
|
98
103
|
maxLimit: number;
|
|
104
|
+
showSummary: boolean;
|
|
99
105
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
100
106
|
export default _default;
|