@a2simcode/ui 0.0.21 → 0.0.22
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/LICENSE +53 -53
- package/README.md +130 -130
- package/dist/components/autocomplete/index.d.ts +3 -0
- package/dist/components/autocomplete/src/autocomplete.vue.d.ts +3 -0
- package/dist/components/barcode/index.d.ts +520 -93
- package/dist/components/barcode/src/barcode.vue.d.ts +419 -98
- package/dist/components/button-select/index.d.ts +61 -0
- package/dist/components/button-select/src/button-select.vue.d.ts +35 -0
- package/dist/components/cascader-select/index.d.ts +4 -20
- package/dist/components/cascader-select/src/cascader-select.vue.d.ts +4 -33
- package/dist/components/checkbox/index.d.ts +3 -3
- package/dist/components/checkbox/src/checkbox.vue.d.ts +1 -1
- package/dist/components/code-mirror/index.d.ts +0 -1
- package/dist/components/code-mirror/src/code-mirror.vue.d.ts +0 -1
- package/dist/components/collapse/index.d.ts +44 -0
- package/dist/components/collapse/src/collapse.vue.d.ts +37 -0
- package/dist/components/comp/index.d.ts +30 -15
- package/dist/components/comp/src/comp.vue.d.ts +31 -45
- package/dist/components/comp/src/interface.d.ts +101 -0
- package/dist/components/count-up/index.d.ts +3 -3
- package/dist/components/count-up/src/count-up.vue.d.ts +1 -1
- package/dist/components/dialog/index.d.ts +5 -5
- package/dist/components/dialog/src/index.vue.d.ts +2 -2
- package/dist/components/dialog-full/index.d.ts +5 -5
- package/dist/components/dialog-full/src/index.vue.d.ts +2 -2
- package/dist/components/drawer/index.d.ts +5 -5
- package/dist/components/drawer/src/drawer.vue.d.ts +2 -2
- package/dist/components/editor/index.d.ts +160 -0
- package/dist/components/editor/src/editor.vue.d.ts +86 -0
- package/dist/components/form/index.d.ts +6 -6
- package/dist/components/form/src/form.vue.d.ts +3 -3
- package/dist/components/form-item/src/form-item.vue.d.ts +1 -1
- package/dist/components/icon/src/icon.vue.d.ts +0 -4
- package/dist/components/index.d.ts +22 -6
- package/dist/components/inject-provide.d.ts +159 -0
- package/dist/components/input/index.d.ts +3 -1
- package/dist/components/input/src/input.vue.d.ts +5 -1
- package/dist/components/input-color/index.d.ts +114 -0
- package/dist/components/input-color/src/input-color.vue.d.ts +73 -0
- package/dist/components/input-rows/index.d.ts +200 -0
- package/dist/components/input-rows/src/input-rows.vue.d.ts +154 -0
- package/dist/components/input-rows/src/interface.d.ts +33 -0
- package/dist/components/layer-form/index.d.ts +178 -0
- package/dist/components/layer-form/src/layer-form.vue.d.ts +149 -0
- package/dist/components/map/index.d.ts +127 -0
- package/dist/components/map/src/map.vue.d.ts +92 -0
- package/dist/components/number/index.d.ts +3 -3
- package/dist/components/number/src/number.vue.d.ts +3 -3
- package/dist/components/page/index.d.ts +6 -6
- package/dist/components/page/src/page.vue.d.ts +2 -2
- package/dist/components/select/index.d.ts +6 -1
- package/dist/components/select/src/select.vue.d.ts +7 -2
- package/dist/components/slider/index.d.ts +3 -3
- package/dist/components/slider/src/slider.vue.d.ts +1 -1
- package/dist/components/switch/index.d.ts +71 -0
- package/dist/components/switch/src/switch.vue.d.ts +83 -0
- package/dist/components/table/index.d.ts +275 -66
- package/dist/components/table/src/editors/index.d.ts +26 -0
- package/dist/components/table/src/editors/j-comp-editor.d.ts +62 -0
- package/dist/components/table/src/table.vue.d.ts +326 -61
- package/dist/components/table/src/theme/default.d.ts +27 -0
- package/dist/components/table-panel/index.d.ts +459 -0
- package/dist/components/table-panel/src/column-panel.vue.d.ts +37 -0
- package/dist/components/table-panel/src/filter-panel.vue.d.ts +49 -0
- package/dist/components/table-panel/src/keyword-panel.vue.d.ts +36 -0
- package/dist/components/table-panel/src/order-panel.vue.d.ts +24 -0
- package/dist/components/table-panel/src/table-panel.vue.d.ts +445 -0
- package/dist/components/tabs/index.d.ts +156 -0
- package/dist/components/tabs/src/tabs.vue.d.ts +110 -0
- package/dist/components/tree/index.d.ts +451 -0
- package/dist/components/tree/src/tree.vue.d.ts +478 -0
- package/dist/components/upload/index.d.ts +13 -13
- package/dist/components/upload/src/list.vue.d.ts +1 -1
- package/dist/components/upload/src/upload.vue.d.ts +5 -5
- package/dist/core/utils/comp.d.ts +18 -0
- package/dist/core/utils/index.d.ts +2 -0
- package/dist/core/utils/map.d.ts +1 -0
- package/dist/core/utils/tree.d.ts +1 -0
- package/dist/core/utils/useSortable.d.ts +5 -0
- package/dist/simcode-ui.es.js +6888 -3212
- package/dist/simcode-ui.umd.js +2 -2
- package/dist/stats.html +1 -1
- package/dist/ui.css +1 -1
- package/package.json +49 -24
|
@@ -0,0 +1,459 @@
|
|
|
1
|
+
declare const JTablePanel: {
|
|
2
|
+
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
|
|
3
|
+
columns: {
|
|
4
|
+
type: import('vue').PropType<import('..').SchemaRuntimeConfig[]>;
|
|
5
|
+
required: true;
|
|
6
|
+
default: () => never[];
|
|
7
|
+
};
|
|
8
|
+
isTree: {
|
|
9
|
+
type: BooleanConstructor;
|
|
10
|
+
default: boolean;
|
|
11
|
+
};
|
|
12
|
+
isShowNumber: {
|
|
13
|
+
type: BooleanConstructor;
|
|
14
|
+
default: boolean;
|
|
15
|
+
};
|
|
16
|
+
isMultiple: {
|
|
17
|
+
type: BooleanConstructor;
|
|
18
|
+
default: boolean;
|
|
19
|
+
};
|
|
20
|
+
isPage: {
|
|
21
|
+
type: BooleanConstructor;
|
|
22
|
+
default: boolean;
|
|
23
|
+
};
|
|
24
|
+
pageSizes: ArrayConstructor;
|
|
25
|
+
pageSize: {
|
|
26
|
+
type: NumberConstructor;
|
|
27
|
+
default: number;
|
|
28
|
+
};
|
|
29
|
+
rowKey: {
|
|
30
|
+
type: StringConstructor;
|
|
31
|
+
default: undefined;
|
|
32
|
+
};
|
|
33
|
+
sort: StringConstructor;
|
|
34
|
+
buttons: {
|
|
35
|
+
type: import('vue').PropType<import('.').ButtonItem[]>;
|
|
36
|
+
default: () => never[];
|
|
37
|
+
};
|
|
38
|
+
batchButtons: {
|
|
39
|
+
type: import('vue').PropType<import('.').ButtonItem[]>;
|
|
40
|
+
default: () => never[];
|
|
41
|
+
};
|
|
42
|
+
actions: {
|
|
43
|
+
type: import('vue').PropType<import('..').TableAction[]>;
|
|
44
|
+
default: () => never[];
|
|
45
|
+
};
|
|
46
|
+
actionsMaxCount: {
|
|
47
|
+
type: NumberConstructor;
|
|
48
|
+
default: number;
|
|
49
|
+
};
|
|
50
|
+
actionsLabel: {
|
|
51
|
+
type: StringConstructor;
|
|
52
|
+
default: string;
|
|
53
|
+
};
|
|
54
|
+
loadData: import('vue').PropType<(params: Record<string, any>) => Promise<any>>;
|
|
55
|
+
immediate: {
|
|
56
|
+
type: BooleanConstructor;
|
|
57
|
+
default: boolean;
|
|
58
|
+
};
|
|
59
|
+
noPadding: BooleanConstructor;
|
|
60
|
+
}>> & Readonly<{
|
|
61
|
+
onSelect?: ((...args: any[]) => any) | undefined;
|
|
62
|
+
onReady?: ((...args: any[]) => any) | undefined;
|
|
63
|
+
}>, {
|
|
64
|
+
refreshData: () => Promise<void>;
|
|
65
|
+
resetData: () => Promise<void>;
|
|
66
|
+
getSelection: () => Record<string, any>[];
|
|
67
|
+
setSelection: (records: any[]) => void;
|
|
68
|
+
clearSelection: () => void;
|
|
69
|
+
getInstance: () => any;
|
|
70
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
71
|
+
select: (...args: any[]) => void;
|
|
72
|
+
ready: (...args: any[]) => void;
|
|
73
|
+
}, import('vue').PublicProps, {
|
|
74
|
+
immediate: boolean;
|
|
75
|
+
buttons: import('.').ButtonItem[];
|
|
76
|
+
columns: import('..').SchemaRuntimeConfig[];
|
|
77
|
+
isTree: boolean;
|
|
78
|
+
isShowNumber: boolean;
|
|
79
|
+
isMultiple: boolean;
|
|
80
|
+
isPage: boolean;
|
|
81
|
+
pageSize: number;
|
|
82
|
+
rowKey: string;
|
|
83
|
+
actions: import('..').TableAction[];
|
|
84
|
+
actionsMaxCount: number;
|
|
85
|
+
actionsLabel: string;
|
|
86
|
+
batchButtons: import('.').ButtonItem[];
|
|
87
|
+
noPadding: boolean;
|
|
88
|
+
}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
|
|
89
|
+
keywordPanelRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
|
|
90
|
+
columns: {
|
|
91
|
+
type: import('vue').PropType<import('..').SchemaRuntimeConfig[]>;
|
|
92
|
+
default: () => never[];
|
|
93
|
+
};
|
|
94
|
+
checkAll: {
|
|
95
|
+
type: import('vue').PropType<boolean>;
|
|
96
|
+
};
|
|
97
|
+
checkFields: {
|
|
98
|
+
type: import('vue').PropType<string[]>;
|
|
99
|
+
};
|
|
100
|
+
}>> & Readonly<{
|
|
101
|
+
"onUpdate:checkAll"?: ((value: boolean) => any) | undefined;
|
|
102
|
+
"onUpdate:checkFields"?: ((value: string[]) => any) | undefined;
|
|
103
|
+
}>, {
|
|
104
|
+
init: () => void;
|
|
105
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
106
|
+
"update:checkAll": (value: boolean) => any;
|
|
107
|
+
"update:checkFields": (value: string[]) => any;
|
|
108
|
+
}, import('vue').PublicProps, {
|
|
109
|
+
columns: import('..').SchemaRuntimeConfig[];
|
|
110
|
+
}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, HTMLDivElement, import('vue').ComponentProvideOptions, {
|
|
111
|
+
P: {};
|
|
112
|
+
B: {};
|
|
113
|
+
D: {};
|
|
114
|
+
C: {};
|
|
115
|
+
M: {};
|
|
116
|
+
Defaults: {};
|
|
117
|
+
}, Readonly<import('vue').ExtractPropTypes<{
|
|
118
|
+
columns: {
|
|
119
|
+
type: import('vue').PropType<import('..').SchemaRuntimeConfig[]>;
|
|
120
|
+
default: () => never[];
|
|
121
|
+
};
|
|
122
|
+
checkAll: {
|
|
123
|
+
type: import('vue').PropType<boolean>;
|
|
124
|
+
};
|
|
125
|
+
checkFields: {
|
|
126
|
+
type: import('vue').PropType<string[]>;
|
|
127
|
+
};
|
|
128
|
+
}>> & Readonly<{
|
|
129
|
+
"onUpdate:checkAll"?: ((value: boolean) => any) | undefined;
|
|
130
|
+
"onUpdate:checkFields"?: ((value: string[]) => any) | undefined;
|
|
131
|
+
}>, {
|
|
132
|
+
init: () => void;
|
|
133
|
+
}, {}, {}, {}, {
|
|
134
|
+
columns: import('..').SchemaRuntimeConfig[];
|
|
135
|
+
}> | null;
|
|
136
|
+
filterPanelRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
|
|
137
|
+
columns: {
|
|
138
|
+
type: import('vue').PropType<import('..').SchemaRuntimeConfig[]>;
|
|
139
|
+
default: () => never[];
|
|
140
|
+
};
|
|
141
|
+
searchFieldList: {
|
|
142
|
+
type: import('vue').PropType<Record<string, any>[]>;
|
|
143
|
+
default: () => never[];
|
|
144
|
+
};
|
|
145
|
+
relation: {
|
|
146
|
+
type: import('vue').PropType<string>;
|
|
147
|
+
};
|
|
148
|
+
isPin: {
|
|
149
|
+
type: import('vue').PropType<boolean>;
|
|
150
|
+
};
|
|
151
|
+
}>> & Readonly<{
|
|
152
|
+
onFilter?: ((...args: any[]) => any) | undefined;
|
|
153
|
+
onClose?: ((...args: any[]) => any) | undefined;
|
|
154
|
+
"onUpdate:relation"?: ((value: string) => any) | undefined;
|
|
155
|
+
"onUpdate:isPin"?: ((value: boolean) => any) | undefined;
|
|
156
|
+
}>, {
|
|
157
|
+
getSearchFields: () => Record<string, any>[];
|
|
158
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
159
|
+
filter: (...args: any[]) => void;
|
|
160
|
+
close: (...args: any[]) => void;
|
|
161
|
+
"update:relation": (value: string) => void;
|
|
162
|
+
"update:isPin": (value: boolean) => void;
|
|
163
|
+
}, import('vue').PublicProps, {
|
|
164
|
+
columns: import('..').SchemaRuntimeConfig[];
|
|
165
|
+
searchFieldList: Record<string, any>[];
|
|
166
|
+
}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, HTMLDivElement, import('vue').ComponentProvideOptions, {
|
|
167
|
+
P: {};
|
|
168
|
+
B: {};
|
|
169
|
+
D: {};
|
|
170
|
+
C: {};
|
|
171
|
+
M: {};
|
|
172
|
+
Defaults: {};
|
|
173
|
+
}, Readonly<import('vue').ExtractPropTypes<{
|
|
174
|
+
columns: {
|
|
175
|
+
type: import('vue').PropType<import('..').SchemaRuntimeConfig[]>;
|
|
176
|
+
default: () => never[];
|
|
177
|
+
};
|
|
178
|
+
searchFieldList: {
|
|
179
|
+
type: import('vue').PropType<Record<string, any>[]>;
|
|
180
|
+
default: () => never[];
|
|
181
|
+
};
|
|
182
|
+
relation: {
|
|
183
|
+
type: import('vue').PropType<string>;
|
|
184
|
+
};
|
|
185
|
+
isPin: {
|
|
186
|
+
type: import('vue').PropType<boolean>;
|
|
187
|
+
};
|
|
188
|
+
}>> & Readonly<{
|
|
189
|
+
onFilter?: ((...args: any[]) => any) | undefined;
|
|
190
|
+
onClose?: ((...args: any[]) => any) | undefined;
|
|
191
|
+
"onUpdate:relation"?: ((value: string) => any) | undefined;
|
|
192
|
+
"onUpdate:isPin"?: ((value: boolean) => any) | undefined;
|
|
193
|
+
}>, {
|
|
194
|
+
getSearchFields: () => Record<string, any>[];
|
|
195
|
+
}, {}, {}, {}, {
|
|
196
|
+
columns: import('..').SchemaRuntimeConfig[];
|
|
197
|
+
searchFieldList: Record<string, any>[];
|
|
198
|
+
}> | null;
|
|
199
|
+
orderPanelRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
|
|
200
|
+
columns: {
|
|
201
|
+
type: import('vue').PropType<import('..').SchemaRuntimeConfig[]>;
|
|
202
|
+
default: () => never[];
|
|
203
|
+
};
|
|
204
|
+
}>> & Readonly<{
|
|
205
|
+
onClear?: ((...args: any[]) => any) | undefined;
|
|
206
|
+
onSave?: ((...args: any[]) => any) | undefined;
|
|
207
|
+
}>, {
|
|
208
|
+
init: (data: Record<string, any>[]) => void;
|
|
209
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
210
|
+
clear: (...args: any[]) => void;
|
|
211
|
+
save: (...args: any[]) => void;
|
|
212
|
+
}, import('vue').PublicProps, {
|
|
213
|
+
columns: import('..').SchemaRuntimeConfig[];
|
|
214
|
+
}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, HTMLDivElement, import('vue').ComponentProvideOptions, {
|
|
215
|
+
P: {};
|
|
216
|
+
B: {};
|
|
217
|
+
D: {};
|
|
218
|
+
C: {};
|
|
219
|
+
M: {};
|
|
220
|
+
Defaults: {};
|
|
221
|
+
}, Readonly<import('vue').ExtractPropTypes<{
|
|
222
|
+
columns: {
|
|
223
|
+
type: import('vue').PropType<import('..').SchemaRuntimeConfig[]>;
|
|
224
|
+
default: () => never[];
|
|
225
|
+
};
|
|
226
|
+
}>> & Readonly<{
|
|
227
|
+
onClear?: ((...args: any[]) => any) | undefined;
|
|
228
|
+
onSave?: ((...args: any[]) => any) | undefined;
|
|
229
|
+
}>, {
|
|
230
|
+
init: (data: Record<string, any>[]) => void;
|
|
231
|
+
}, {}, {}, {}, {
|
|
232
|
+
columns: import('..').SchemaRuntimeConfig[];
|
|
233
|
+
}> | null;
|
|
234
|
+
columnPanelRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
|
|
235
|
+
columns: {
|
|
236
|
+
type: import('vue').PropType<import('..').SchemaRuntimeConfig[]>;
|
|
237
|
+
default: () => never[];
|
|
238
|
+
};
|
|
239
|
+
columnConfig: {
|
|
240
|
+
type: import('vue').PropType<import('./src/column-panel.vue').TreeNode[] | undefined>;
|
|
241
|
+
};
|
|
242
|
+
}>> & Readonly<{
|
|
243
|
+
onSave?: ((...args: any[]) => any) | undefined;
|
|
244
|
+
}>, {
|
|
245
|
+
init: () => void;
|
|
246
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
247
|
+
save: (...args: any[]) => void;
|
|
248
|
+
}, import('vue').PublicProps, {
|
|
249
|
+
columns: import('..').SchemaRuntimeConfig[];
|
|
250
|
+
}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
|
|
251
|
+
treeRef: unknown;
|
|
252
|
+
}, HTMLDivElement, import('vue').ComponentProvideOptions, {
|
|
253
|
+
P: {};
|
|
254
|
+
B: {};
|
|
255
|
+
D: {};
|
|
256
|
+
C: {};
|
|
257
|
+
M: {};
|
|
258
|
+
Defaults: {};
|
|
259
|
+
}, Readonly<import('vue').ExtractPropTypes<{
|
|
260
|
+
columns: {
|
|
261
|
+
type: import('vue').PropType<import('..').SchemaRuntimeConfig[]>;
|
|
262
|
+
default: () => never[];
|
|
263
|
+
};
|
|
264
|
+
columnConfig: {
|
|
265
|
+
type: import('vue').PropType<import('./src/column-panel.vue').TreeNode[] | undefined>;
|
|
266
|
+
};
|
|
267
|
+
}>> & Readonly<{
|
|
268
|
+
onSave?: ((...args: any[]) => any) | undefined;
|
|
269
|
+
}>, {
|
|
270
|
+
init: () => void;
|
|
271
|
+
}, {}, {}, {}, {
|
|
272
|
+
columns: import('..').SchemaRuntimeConfig[];
|
|
273
|
+
}> | null;
|
|
274
|
+
tableRef: unknown;
|
|
275
|
+
}, HTMLDivElement, import('vue').ComponentProvideOptions, {
|
|
276
|
+
P: {};
|
|
277
|
+
B: {};
|
|
278
|
+
D: {};
|
|
279
|
+
C: {};
|
|
280
|
+
M: {};
|
|
281
|
+
Defaults: {};
|
|
282
|
+
}, Readonly<import('vue').ExtractPropTypes<{
|
|
283
|
+
columns: {
|
|
284
|
+
type: import('vue').PropType<import('..').SchemaRuntimeConfig[]>;
|
|
285
|
+
required: true;
|
|
286
|
+
default: () => never[];
|
|
287
|
+
};
|
|
288
|
+
isTree: {
|
|
289
|
+
type: BooleanConstructor;
|
|
290
|
+
default: boolean;
|
|
291
|
+
};
|
|
292
|
+
isShowNumber: {
|
|
293
|
+
type: BooleanConstructor;
|
|
294
|
+
default: boolean;
|
|
295
|
+
};
|
|
296
|
+
isMultiple: {
|
|
297
|
+
type: BooleanConstructor;
|
|
298
|
+
default: boolean;
|
|
299
|
+
};
|
|
300
|
+
isPage: {
|
|
301
|
+
type: BooleanConstructor;
|
|
302
|
+
default: boolean;
|
|
303
|
+
};
|
|
304
|
+
pageSizes: ArrayConstructor;
|
|
305
|
+
pageSize: {
|
|
306
|
+
type: NumberConstructor;
|
|
307
|
+
default: number;
|
|
308
|
+
};
|
|
309
|
+
rowKey: {
|
|
310
|
+
type: StringConstructor;
|
|
311
|
+
default: undefined;
|
|
312
|
+
};
|
|
313
|
+
sort: StringConstructor;
|
|
314
|
+
buttons: {
|
|
315
|
+
type: import('vue').PropType<import('.').ButtonItem[]>;
|
|
316
|
+
default: () => never[];
|
|
317
|
+
};
|
|
318
|
+
batchButtons: {
|
|
319
|
+
type: import('vue').PropType<import('.').ButtonItem[]>;
|
|
320
|
+
default: () => never[];
|
|
321
|
+
};
|
|
322
|
+
actions: {
|
|
323
|
+
type: import('vue').PropType<import('..').TableAction[]>;
|
|
324
|
+
default: () => never[];
|
|
325
|
+
};
|
|
326
|
+
actionsMaxCount: {
|
|
327
|
+
type: NumberConstructor;
|
|
328
|
+
default: number;
|
|
329
|
+
};
|
|
330
|
+
actionsLabel: {
|
|
331
|
+
type: StringConstructor;
|
|
332
|
+
default: string;
|
|
333
|
+
};
|
|
334
|
+
loadData: import('vue').PropType<(params: Record<string, any>) => Promise<any>>;
|
|
335
|
+
immediate: {
|
|
336
|
+
type: BooleanConstructor;
|
|
337
|
+
default: boolean;
|
|
338
|
+
};
|
|
339
|
+
noPadding: BooleanConstructor;
|
|
340
|
+
}>> & Readonly<{
|
|
341
|
+
onSelect?: ((...args: any[]) => any) | undefined;
|
|
342
|
+
onReady?: ((...args: any[]) => any) | undefined;
|
|
343
|
+
}>, {
|
|
344
|
+
refreshData: () => Promise<void>;
|
|
345
|
+
resetData: () => Promise<void>;
|
|
346
|
+
getSelection: () => Record<string, any>[];
|
|
347
|
+
setSelection: (records: any[]) => void;
|
|
348
|
+
clearSelection: () => void;
|
|
349
|
+
getInstance: () => any;
|
|
350
|
+
}, {}, {}, {}, {
|
|
351
|
+
immediate: boolean;
|
|
352
|
+
buttons: import('.').ButtonItem[];
|
|
353
|
+
columns: import('..').SchemaRuntimeConfig[];
|
|
354
|
+
isTree: boolean;
|
|
355
|
+
isShowNumber: boolean;
|
|
356
|
+
isMultiple: boolean;
|
|
357
|
+
isPage: boolean;
|
|
358
|
+
pageSize: number;
|
|
359
|
+
rowKey: string;
|
|
360
|
+
actions: import('..').TableAction[];
|
|
361
|
+
actionsMaxCount: number;
|
|
362
|
+
actionsLabel: string;
|
|
363
|
+
batchButtons: import('.').ButtonItem[];
|
|
364
|
+
noPadding: boolean;
|
|
365
|
+
}>;
|
|
366
|
+
__isFragment?: never;
|
|
367
|
+
__isTeleport?: never;
|
|
368
|
+
__isSuspense?: never;
|
|
369
|
+
} & import('vue').ComponentOptionsBase<Readonly<import('vue').ExtractPropTypes<{
|
|
370
|
+
columns: {
|
|
371
|
+
type: import('vue').PropType<import('..').SchemaRuntimeConfig[]>;
|
|
372
|
+
required: true;
|
|
373
|
+
default: () => never[];
|
|
374
|
+
};
|
|
375
|
+
isTree: {
|
|
376
|
+
type: BooleanConstructor;
|
|
377
|
+
default: boolean;
|
|
378
|
+
};
|
|
379
|
+
isShowNumber: {
|
|
380
|
+
type: BooleanConstructor;
|
|
381
|
+
default: boolean;
|
|
382
|
+
};
|
|
383
|
+
isMultiple: {
|
|
384
|
+
type: BooleanConstructor;
|
|
385
|
+
default: boolean;
|
|
386
|
+
};
|
|
387
|
+
isPage: {
|
|
388
|
+
type: BooleanConstructor;
|
|
389
|
+
default: boolean;
|
|
390
|
+
};
|
|
391
|
+
pageSizes: ArrayConstructor;
|
|
392
|
+
pageSize: {
|
|
393
|
+
type: NumberConstructor;
|
|
394
|
+
default: number;
|
|
395
|
+
};
|
|
396
|
+
rowKey: {
|
|
397
|
+
type: StringConstructor;
|
|
398
|
+
default: undefined;
|
|
399
|
+
};
|
|
400
|
+
sort: StringConstructor;
|
|
401
|
+
buttons: {
|
|
402
|
+
type: import('vue').PropType<import('.').ButtonItem[]>;
|
|
403
|
+
default: () => never[];
|
|
404
|
+
};
|
|
405
|
+
batchButtons: {
|
|
406
|
+
type: import('vue').PropType<import('.').ButtonItem[]>;
|
|
407
|
+
default: () => never[];
|
|
408
|
+
};
|
|
409
|
+
actions: {
|
|
410
|
+
type: import('vue').PropType<import('..').TableAction[]>;
|
|
411
|
+
default: () => never[];
|
|
412
|
+
};
|
|
413
|
+
actionsMaxCount: {
|
|
414
|
+
type: NumberConstructor;
|
|
415
|
+
default: number;
|
|
416
|
+
};
|
|
417
|
+
actionsLabel: {
|
|
418
|
+
type: StringConstructor;
|
|
419
|
+
default: string;
|
|
420
|
+
};
|
|
421
|
+
loadData: import('vue').PropType<(params: Record<string, any>) => Promise<any>>;
|
|
422
|
+
immediate: {
|
|
423
|
+
type: BooleanConstructor;
|
|
424
|
+
default: boolean;
|
|
425
|
+
};
|
|
426
|
+
noPadding: BooleanConstructor;
|
|
427
|
+
}>> & Readonly<{
|
|
428
|
+
onSelect?: ((...args: any[]) => any) | undefined;
|
|
429
|
+
onReady?: ((...args: any[]) => any) | undefined;
|
|
430
|
+
}>, {
|
|
431
|
+
refreshData: () => Promise<void>;
|
|
432
|
+
resetData: () => Promise<void>;
|
|
433
|
+
getSelection: () => Record<string, any>[];
|
|
434
|
+
setSelection: (records: any[]) => void;
|
|
435
|
+
clearSelection: () => void;
|
|
436
|
+
getInstance: () => any;
|
|
437
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
438
|
+
select: (...args: any[]) => void;
|
|
439
|
+
ready: (...args: any[]) => void;
|
|
440
|
+
}, string, {
|
|
441
|
+
immediate: boolean;
|
|
442
|
+
buttons: import('.').ButtonItem[];
|
|
443
|
+
columns: import('..').SchemaRuntimeConfig[];
|
|
444
|
+
isTree: boolean;
|
|
445
|
+
isShowNumber: boolean;
|
|
446
|
+
isMultiple: boolean;
|
|
447
|
+
isPage: boolean;
|
|
448
|
+
pageSize: number;
|
|
449
|
+
rowKey: string;
|
|
450
|
+
actions: import('..').TableAction[];
|
|
451
|
+
actionsMaxCount: number;
|
|
452
|
+
actionsLabel: string;
|
|
453
|
+
batchButtons: import('.').ButtonItem[];
|
|
454
|
+
noPadding: boolean;
|
|
455
|
+
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & {
|
|
456
|
+
install: (app: import('vue').App) => void;
|
|
457
|
+
};
|
|
458
|
+
export * from './src/table-panel.vue';
|
|
459
|
+
export default JTablePanel;
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { SchemaRuntimeConfig } from '../../comp/src/interface';
|
|
2
|
+
import { PropType } from 'vue';
|
|
3
|
+
export interface TreeNode {
|
|
4
|
+
id: string;
|
|
5
|
+
label: string;
|
|
6
|
+
display: boolean;
|
|
7
|
+
type?: string;
|
|
8
|
+
children?: TreeNode[];
|
|
9
|
+
}
|
|
10
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
11
|
+
columns: {
|
|
12
|
+
type: PropType<SchemaRuntimeConfig[]>;
|
|
13
|
+
default: () => never[];
|
|
14
|
+
};
|
|
15
|
+
columnConfig: {
|
|
16
|
+
type: PropType<TreeNode[] | undefined>;
|
|
17
|
+
};
|
|
18
|
+
}>, {
|
|
19
|
+
init: () => void;
|
|
20
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
21
|
+
save: (...args: any[]) => void;
|
|
22
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
23
|
+
columns: {
|
|
24
|
+
type: PropType<SchemaRuntimeConfig[]>;
|
|
25
|
+
default: () => never[];
|
|
26
|
+
};
|
|
27
|
+
columnConfig: {
|
|
28
|
+
type: PropType<TreeNode[] | undefined>;
|
|
29
|
+
};
|
|
30
|
+
}>> & Readonly<{
|
|
31
|
+
onSave?: ((...args: any[]) => any) | undefined;
|
|
32
|
+
}>, {
|
|
33
|
+
columns: SchemaRuntimeConfig[];
|
|
34
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
|
|
35
|
+
treeRef: unknown;
|
|
36
|
+
}, HTMLDivElement>;
|
|
37
|
+
export default _default;
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import { SchemaRuntimeConfig } from '../../comp/src/interface';
|
|
2
|
+
import { PropType } from 'vue';
|
|
3
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
4
|
+
columns: {
|
|
5
|
+
type: PropType<SchemaRuntimeConfig[]>;
|
|
6
|
+
default: () => never[];
|
|
7
|
+
};
|
|
8
|
+
searchFieldList: {
|
|
9
|
+
type: PropType<Record<string, any>[]>;
|
|
10
|
+
default: () => never[];
|
|
11
|
+
};
|
|
12
|
+
relation: {
|
|
13
|
+
type: PropType<string>;
|
|
14
|
+
};
|
|
15
|
+
isPin: {
|
|
16
|
+
type: PropType<boolean>;
|
|
17
|
+
};
|
|
18
|
+
}>, {
|
|
19
|
+
getSearchFields: () => Record<string, any>[];
|
|
20
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
21
|
+
filter: (...args: any[]) => void;
|
|
22
|
+
close: (...args: any[]) => void;
|
|
23
|
+
"update:relation": (value: string) => void;
|
|
24
|
+
"update:isPin": (value: boolean) => void;
|
|
25
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
26
|
+
columns: {
|
|
27
|
+
type: PropType<SchemaRuntimeConfig[]>;
|
|
28
|
+
default: () => never[];
|
|
29
|
+
};
|
|
30
|
+
searchFieldList: {
|
|
31
|
+
type: PropType<Record<string, any>[]>;
|
|
32
|
+
default: () => never[];
|
|
33
|
+
};
|
|
34
|
+
relation: {
|
|
35
|
+
type: PropType<string>;
|
|
36
|
+
};
|
|
37
|
+
isPin: {
|
|
38
|
+
type: PropType<boolean>;
|
|
39
|
+
};
|
|
40
|
+
}>> & Readonly<{
|
|
41
|
+
onFilter?: ((...args: any[]) => any) | undefined;
|
|
42
|
+
onClose?: ((...args: any[]) => any) | undefined;
|
|
43
|
+
"onUpdate:relation"?: ((value: string) => any) | undefined;
|
|
44
|
+
"onUpdate:isPin"?: ((value: boolean) => any) | undefined;
|
|
45
|
+
}>, {
|
|
46
|
+
columns: SchemaRuntimeConfig[];
|
|
47
|
+
searchFieldList: Record<string, any>[];
|
|
48
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
49
|
+
export default _default;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { SchemaRuntimeConfig } from '../../comp/src/interface';
|
|
2
|
+
import { PropType } from 'vue';
|
|
3
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
4
|
+
columns: {
|
|
5
|
+
type: PropType<SchemaRuntimeConfig[]>;
|
|
6
|
+
default: () => never[];
|
|
7
|
+
};
|
|
8
|
+
checkAll: {
|
|
9
|
+
type: PropType<boolean>;
|
|
10
|
+
};
|
|
11
|
+
checkFields: {
|
|
12
|
+
type: PropType<string[]>;
|
|
13
|
+
};
|
|
14
|
+
}>, {
|
|
15
|
+
init: () => void;
|
|
16
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
17
|
+
"update:checkAll": (value: boolean) => any;
|
|
18
|
+
"update:checkFields": (value: string[]) => any;
|
|
19
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
20
|
+
columns: {
|
|
21
|
+
type: PropType<SchemaRuntimeConfig[]>;
|
|
22
|
+
default: () => never[];
|
|
23
|
+
};
|
|
24
|
+
checkAll: {
|
|
25
|
+
type: PropType<boolean>;
|
|
26
|
+
};
|
|
27
|
+
checkFields: {
|
|
28
|
+
type: PropType<string[]>;
|
|
29
|
+
};
|
|
30
|
+
}>> & Readonly<{
|
|
31
|
+
"onUpdate:checkAll"?: ((value: boolean) => any) | undefined;
|
|
32
|
+
"onUpdate:checkFields"?: ((value: string[]) => any) | undefined;
|
|
33
|
+
}>, {
|
|
34
|
+
columns: SchemaRuntimeConfig[];
|
|
35
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
36
|
+
export default _default;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { SchemaRuntimeConfig } from '../../comp/src/interface';
|
|
2
|
+
import { PropType } from 'vue';
|
|
3
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
4
|
+
columns: {
|
|
5
|
+
type: PropType<SchemaRuntimeConfig[]>;
|
|
6
|
+
default: () => never[];
|
|
7
|
+
};
|
|
8
|
+
}>, {
|
|
9
|
+
init: (data: Record<string, any>[]) => void;
|
|
10
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
11
|
+
clear: (...args: any[]) => void;
|
|
12
|
+
save: (...args: any[]) => void;
|
|
13
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
14
|
+
columns: {
|
|
15
|
+
type: PropType<SchemaRuntimeConfig[]>;
|
|
16
|
+
default: () => never[];
|
|
17
|
+
};
|
|
18
|
+
}>> & Readonly<{
|
|
19
|
+
onClear?: ((...args: any[]) => any) | undefined;
|
|
20
|
+
onSave?: ((...args: any[]) => any) | undefined;
|
|
21
|
+
}>, {
|
|
22
|
+
columns: SchemaRuntimeConfig[];
|
|
23
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
24
|
+
export default _default;
|