@ajaxjs/ui 1.4.7 → 1.4.9
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/README.md +7 -0
- package/dist/ajaxjs-ui.cjs.js +1 -1
- package/dist/ajaxjs-ui.es.js +23 -17
- package/dist/ajaxjs-ui.umd.js +1 -1
- package/dist/images/empty-avatar.png +0 -0
- package/dist/images/favicon.ico +0 -0
- package/dist/types/App.vue.d.ts +8 -0
- package/dist/types/common/route.d.ts +3 -0
- package/dist/types/components/common/FastiViewTable.vue.d.ts +84 -0
- package/dist/types/components/common/authStorage.d.ts +4 -0
- package/dist/types/components/common/common-ui.d.ts +40 -0
- package/dist/types/components/common/request.d.ts +17 -0
- package/dist/types/components/common/tokenRefresh.d.ts +18 -0
- package/dist/types/components/configurable-widget/common/icon-select.vue.d.ts +34 -0
- package/dist/types/components/configurable-widget/common/info-common.d.ts +64 -0
- package/dist/types/components/configurable-widget/form/form-loader.vue.d.ts +130 -0
- package/dist/types/components/configurable-widget/form/info/candidate-data.vue.d.ts +13 -0
- package/dist/types/components/configurable-widget/form/info/form-config.vue.d.ts +14 -0
- package/dist/types/components/configurable-widget/form/info/form-more-attrib.vue.d.ts +76 -0
- package/dist/types/components/configurable-widget/form/info/info.d.ts +398 -0
- package/dist/types/components/configurable-widget/form/info/info.vue.d.ts +2 -0
- package/dist/types/components/configurable-widget/form/list.vue.d.ts +269 -0
- package/dist/types/components/configurable-widget/form/renderer/form-factory-renderer.vue.d.ts +63 -0
- package/dist/types/components/configurable-widget/form/renderer/item-render.vue.d.ts +52 -0
- package/dist/types/components/configurable-widget/form/widgets/file-upload.vue.d.ts +25 -0
- package/dist/types/components/configurable-widget/list/info.vue.d.ts +737 -0
- package/dist/types/components/configurable-widget/list/list-factory-renderer.vue.d.ts +146 -0
- package/dist/types/components/configurable-widget/list/list-loader.vue.d.ts +250 -0
- package/dist/types/components/configurable-widget/list/list-more-attrib.vue.d.ts +23 -0
- package/dist/types/components/configurable-widget/list/list.vue.d.ts +388 -0
- package/dist/types/components/tree-table/index.d.ts +131 -0
- package/dist/types/components/tree-table/tree-selector.vue.d.ts +15 -0
- package/dist/types/index.d.ts +1 -0
- package/dist/types/main.d.ts +0 -0
- package/dist/types/pages/admin/Home.vue.d.ts +2 -0
- package/dist/types/pages/admin/Login.vue.d.ts +12 -0
- package/dist/types/pages/iam/profile/index.vue.d.ts +15 -0
- package/dist/types/pages/pages.d.ts +0 -0
- package/dist/types/pages/system/ArticleEdit.vue.d.ts +65 -0
- package/dist/types/pages/system/Schedule.vue.d.ts +241 -0
- package/package.json +11 -4
|
@@ -0,0 +1,737 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* 内页
|
|
3
|
+
*/
|
|
4
|
+
declare const _default: import('vue').DefineComponent<{}, {
|
|
5
|
+
configTable: import('vue').Ref<any, any>;
|
|
6
|
+
}, {
|
|
7
|
+
widgetType: string;
|
|
8
|
+
initTableData: never[];
|
|
9
|
+
rendererColDef: iViewTableColumn[];
|
|
10
|
+
selectedTable: SelectedTable;
|
|
11
|
+
searchFields: never[];
|
|
12
|
+
isShowListModal: boolean;
|
|
13
|
+
formListApi: string;
|
|
14
|
+
cfg: ListFactory_ListConfig_New;
|
|
15
|
+
formSelectorCols: ({
|
|
16
|
+
key: string;
|
|
17
|
+
title: string;
|
|
18
|
+
width: number;
|
|
19
|
+
minWidth?: undefined;
|
|
20
|
+
ellipsis?: undefined;
|
|
21
|
+
tooltip?: undefined;
|
|
22
|
+
slot?: undefined;
|
|
23
|
+
} | {
|
|
24
|
+
key: string;
|
|
25
|
+
title: string;
|
|
26
|
+
minWidth: number;
|
|
27
|
+
width?: undefined;
|
|
28
|
+
ellipsis?: undefined;
|
|
29
|
+
tooltip?: undefined;
|
|
30
|
+
slot?: undefined;
|
|
31
|
+
} | {
|
|
32
|
+
key: string;
|
|
33
|
+
title: string;
|
|
34
|
+
minWidth: number;
|
|
35
|
+
ellipsis: boolean;
|
|
36
|
+
tooltip: boolean;
|
|
37
|
+
width?: undefined;
|
|
38
|
+
slot?: undefined;
|
|
39
|
+
} | {
|
|
40
|
+
title: string;
|
|
41
|
+
minWidth: number;
|
|
42
|
+
slot: string;
|
|
43
|
+
key?: undefined;
|
|
44
|
+
width?: undefined;
|
|
45
|
+
ellipsis?: undefined;
|
|
46
|
+
tooltip?: undefined;
|
|
47
|
+
})[];
|
|
48
|
+
}, {}, {
|
|
49
|
+
/**
|
|
50
|
+
* 获取单个数据
|
|
51
|
+
*/
|
|
52
|
+
getData(): void;
|
|
53
|
+
/**
|
|
54
|
+
* 新增
|
|
55
|
+
*/
|
|
56
|
+
addRow(): void;
|
|
57
|
+
/**
|
|
58
|
+
* 保存新增
|
|
59
|
+
*/
|
|
60
|
+
saveAddRow(): void;
|
|
61
|
+
emptyData(): void;
|
|
62
|
+
/**
|
|
63
|
+
* 数据库字段转换为表格列配置
|
|
64
|
+
*/
|
|
65
|
+
fieldsToCfg(selected: SelectedTable): void;
|
|
66
|
+
/**
|
|
67
|
+
* 转换为 Table 的配置
|
|
68
|
+
*/
|
|
69
|
+
doRenderer(): void;
|
|
70
|
+
/**
|
|
71
|
+
* 显示表单配置
|
|
72
|
+
*/
|
|
73
|
+
getFormConfig(): string;
|
|
74
|
+
/**
|
|
75
|
+
* 选中表单配置之后
|
|
76
|
+
*/
|
|
77
|
+
onFormSelected({ id, name }: {
|
|
78
|
+
id: any;
|
|
79
|
+
name: any;
|
|
80
|
+
}): void;
|
|
81
|
+
syncData(newValue: any): void;
|
|
82
|
+
}, {
|
|
83
|
+
props: {
|
|
84
|
+
apiRoot: {
|
|
85
|
+
type: StringConstructor;
|
|
86
|
+
required: boolean;
|
|
87
|
+
};
|
|
88
|
+
api: {
|
|
89
|
+
type: StringConstructor;
|
|
90
|
+
required: boolean;
|
|
91
|
+
};
|
|
92
|
+
initId: NumberConstructor;
|
|
93
|
+
};
|
|
94
|
+
data(this: {
|
|
95
|
+
id: number | null;
|
|
96
|
+
name: string;
|
|
97
|
+
config: any;
|
|
98
|
+
type: string;
|
|
99
|
+
datasourceId: number;
|
|
100
|
+
datasourceName: string;
|
|
101
|
+
tableName: string;
|
|
102
|
+
$route: any;
|
|
103
|
+
getData: () => {};
|
|
104
|
+
}): {
|
|
105
|
+
id: any;
|
|
106
|
+
apiPrefix: any;
|
|
107
|
+
name: string;
|
|
108
|
+
isShowPerview: boolean;
|
|
109
|
+
datasourceId: number;
|
|
110
|
+
datasourceName: string;
|
|
111
|
+
tableName: string;
|
|
112
|
+
editIndex: number;
|
|
113
|
+
widgetType: string;
|
|
114
|
+
};
|
|
115
|
+
mounted(this: {
|
|
116
|
+
id: number | null;
|
|
117
|
+
name: string;
|
|
118
|
+
config: any;
|
|
119
|
+
type: string;
|
|
120
|
+
datasourceId: number;
|
|
121
|
+
datasourceName: string;
|
|
122
|
+
tableName: string;
|
|
123
|
+
$route: any;
|
|
124
|
+
getData: () => {};
|
|
125
|
+
}): void;
|
|
126
|
+
beforeUpdate(this: {
|
|
127
|
+
id: number | null;
|
|
128
|
+
name: string;
|
|
129
|
+
config: any;
|
|
130
|
+
type: string;
|
|
131
|
+
datasourceId: number;
|
|
132
|
+
datasourceName: string;
|
|
133
|
+
tableName: string;
|
|
134
|
+
$route: any;
|
|
135
|
+
getData: () => {};
|
|
136
|
+
}): void;
|
|
137
|
+
methods: {
|
|
138
|
+
getDataBase(cb: Function): void;
|
|
139
|
+
saveOrUpdate(this: {
|
|
140
|
+
id: number | null;
|
|
141
|
+
name: string;
|
|
142
|
+
config: any;
|
|
143
|
+
type: string;
|
|
144
|
+
datasourceId: number;
|
|
145
|
+
datasourceName: string;
|
|
146
|
+
tableName: string;
|
|
147
|
+
$route: any;
|
|
148
|
+
getData: () => {};
|
|
149
|
+
}): void;
|
|
150
|
+
addRow_(this: {
|
|
151
|
+
id: number | null;
|
|
152
|
+
name: string;
|
|
153
|
+
config: any;
|
|
154
|
+
type: string;
|
|
155
|
+
datasourceId: number;
|
|
156
|
+
datasourceName: string;
|
|
157
|
+
tableName: string;
|
|
158
|
+
$route: any;
|
|
159
|
+
getData: () => {};
|
|
160
|
+
}, row: any): void;
|
|
161
|
+
saveAddRow_(s1: string, s2: string): void;
|
|
162
|
+
emptyData(): void;
|
|
163
|
+
perview(): void;
|
|
164
|
+
};
|
|
165
|
+
}, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {
|
|
166
|
+
ListRenderer: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
167
|
+
col: {
|
|
168
|
+
type: ArrayConstructor;
|
|
169
|
+
required: true;
|
|
170
|
+
};
|
|
171
|
+
cfg: {
|
|
172
|
+
type: ObjectConstructor;
|
|
173
|
+
required: true;
|
|
174
|
+
};
|
|
175
|
+
initTableData: {
|
|
176
|
+
type: ArrayConstructor;
|
|
177
|
+
required: true;
|
|
178
|
+
};
|
|
179
|
+
searchFields: {
|
|
180
|
+
type: ArrayConstructor;
|
|
181
|
+
required: false;
|
|
182
|
+
};
|
|
183
|
+
apiRoot: {
|
|
184
|
+
type: StringConstructor;
|
|
185
|
+
required: false;
|
|
186
|
+
};
|
|
187
|
+
}>, {
|
|
188
|
+
FromRenderer: import('vue').Ref<any, any>;
|
|
189
|
+
}, {
|
|
190
|
+
isShowForm: boolean;
|
|
191
|
+
tableData: unknown[];
|
|
192
|
+
list: TableListConfig;
|
|
193
|
+
form: {
|
|
194
|
+
title: string;
|
|
195
|
+
cfg: FormFactory_Config;
|
|
196
|
+
fields: FormFactory_ItemConfig[];
|
|
197
|
+
};
|
|
198
|
+
}, {}, {
|
|
199
|
+
getData(): void;
|
|
200
|
+
viewEntity(row: any, rowId: number): void;
|
|
201
|
+
createEntity(): void;
|
|
202
|
+
editEntity(row: any, rowId: number): void;
|
|
203
|
+
delEntity(url: string, text: string): void;
|
|
204
|
+
_openCreateFormFull(formId: number, name: string): void;
|
|
205
|
+
_openEditFormFull(formId: number, name: string, entityId: number): void;
|
|
206
|
+
_openForm(row: any, rowId?: number, formMode?: number): void;
|
|
207
|
+
_delete(row: any, api: string): void;
|
|
208
|
+
formSave(): void;
|
|
209
|
+
btnClk(js: string, entity?: object, index?: number): void;
|
|
210
|
+
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
211
|
+
col: {
|
|
212
|
+
type: ArrayConstructor;
|
|
213
|
+
required: true;
|
|
214
|
+
};
|
|
215
|
+
cfg: {
|
|
216
|
+
type: ObjectConstructor;
|
|
217
|
+
required: true;
|
|
218
|
+
};
|
|
219
|
+
initTableData: {
|
|
220
|
+
type: ArrayConstructor;
|
|
221
|
+
required: true;
|
|
222
|
+
};
|
|
223
|
+
searchFields: {
|
|
224
|
+
type: ArrayConstructor;
|
|
225
|
+
required: false;
|
|
226
|
+
};
|
|
227
|
+
apiRoot: {
|
|
228
|
+
type: StringConstructor;
|
|
229
|
+
required: false;
|
|
230
|
+
};
|
|
231
|
+
}>> & Readonly<{}>, {}, {}, {
|
|
232
|
+
FromRenderer: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
233
|
+
cfg: {
|
|
234
|
+
type: ObjectConstructor;
|
|
235
|
+
required: true;
|
|
236
|
+
};
|
|
237
|
+
}>, {}, {
|
|
238
|
+
index: number;
|
|
239
|
+
formDynamic: {
|
|
240
|
+
fields: any;
|
|
241
|
+
};
|
|
242
|
+
data: {};
|
|
243
|
+
status: number;
|
|
244
|
+
}, {}, {
|
|
245
|
+
handleAdd(): void;
|
|
246
|
+
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
247
|
+
cfg: {
|
|
248
|
+
type: ObjectConstructor;
|
|
249
|
+
required: true;
|
|
250
|
+
};
|
|
251
|
+
}>> & Readonly<{}>, {}, {}, {
|
|
252
|
+
ItemRender: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
253
|
+
item: {
|
|
254
|
+
type: ObjectConstructor;
|
|
255
|
+
};
|
|
256
|
+
data: ObjectConstructor;
|
|
257
|
+
status: NumberConstructor;
|
|
258
|
+
}>, {}, {}, {}, {
|
|
259
|
+
showDataDict(fieldName: string): void;
|
|
260
|
+
handleModelUpdate(e: string, name: string): void;
|
|
261
|
+
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
262
|
+
item: {
|
|
263
|
+
type: ObjectConstructor;
|
|
264
|
+
};
|
|
265
|
+
data: ObjectConstructor;
|
|
266
|
+
status: NumberConstructor;
|
|
267
|
+
}>> & Readonly<{}>, {}, {}, {
|
|
268
|
+
FileUpload: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
269
|
+
value: {
|
|
270
|
+
required: true;
|
|
271
|
+
};
|
|
272
|
+
uploadUrl: {
|
|
273
|
+
type: StringConstructor;
|
|
274
|
+
required: true;
|
|
275
|
+
};
|
|
276
|
+
}>, {}, {
|
|
277
|
+
_v: unknown;
|
|
278
|
+
}, {}, {
|
|
279
|
+
downloadFile(): void;
|
|
280
|
+
showFile(file: any): void;
|
|
281
|
+
onSuccess(response: any, file: any): void;
|
|
282
|
+
fireData(): void;
|
|
283
|
+
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
284
|
+
value: {
|
|
285
|
+
required: true;
|
|
286
|
+
};
|
|
287
|
+
uploadUrl: {
|
|
288
|
+
type: StringConstructor;
|
|
289
|
+
required: true;
|
|
290
|
+
};
|
|
291
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
292
|
+
}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
293
|
+
}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
294
|
+
}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
295
|
+
ConfigTable: import('vue').DefineComponent<{}, {}, any>;
|
|
296
|
+
MoreAttrib: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
297
|
+
row: {
|
|
298
|
+
type: ObjectConstructor;
|
|
299
|
+
default(): {};
|
|
300
|
+
};
|
|
301
|
+
}>, {}, {
|
|
302
|
+
row2: Record<string, any>;
|
|
303
|
+
}, {}, {
|
|
304
|
+
isCode(): boolean;
|
|
305
|
+
add(): void;
|
|
306
|
+
del(index: number): void;
|
|
307
|
+
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
308
|
+
row: {
|
|
309
|
+
type: ObjectConstructor;
|
|
310
|
+
default(): {};
|
|
311
|
+
};
|
|
312
|
+
}>> & Readonly<{}>, {
|
|
313
|
+
row: Record<string, any>;
|
|
314
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
315
|
+
FastiViewTable: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
316
|
+
widgetName: {
|
|
317
|
+
type: StringConstructor;
|
|
318
|
+
required: false;
|
|
319
|
+
};
|
|
320
|
+
columnsDef: {
|
|
321
|
+
type: ArrayConstructor;
|
|
322
|
+
required: false;
|
|
323
|
+
};
|
|
324
|
+
apiUrl: {
|
|
325
|
+
type: StringConstructor;
|
|
326
|
+
required: false;
|
|
327
|
+
};
|
|
328
|
+
listApiUrl: {
|
|
329
|
+
type: StringConstructor;
|
|
330
|
+
required: true;
|
|
331
|
+
};
|
|
332
|
+
createRoute: {
|
|
333
|
+
type: StringConstructor;
|
|
334
|
+
required: false;
|
|
335
|
+
};
|
|
336
|
+
editRoute: {
|
|
337
|
+
type: StringConstructor;
|
|
338
|
+
required: false;
|
|
339
|
+
};
|
|
340
|
+
pickup: {
|
|
341
|
+
type: BooleanConstructor;
|
|
342
|
+
required: false;
|
|
343
|
+
};
|
|
344
|
+
}>, {}, {
|
|
345
|
+
widgetName_: string | undefined;
|
|
346
|
+
colDefId: number;
|
|
347
|
+
list: TableListConfig;
|
|
348
|
+
}, {}, {
|
|
349
|
+
getData(): void;
|
|
350
|
+
onPageNoChange(pageNo: number): void;
|
|
351
|
+
handleChangePageSize(pageSize: number): void;
|
|
352
|
+
reset(): void;
|
|
353
|
+
onCreate(): void;
|
|
354
|
+
onEdit(id: number): void;
|
|
355
|
+
doPickup(data: any): void;
|
|
356
|
+
deleteInfo(id: number, index: number): void;
|
|
357
|
+
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
358
|
+
widgetName: {
|
|
359
|
+
type: StringConstructor;
|
|
360
|
+
required: false;
|
|
361
|
+
};
|
|
362
|
+
columnsDef: {
|
|
363
|
+
type: ArrayConstructor;
|
|
364
|
+
required: false;
|
|
365
|
+
};
|
|
366
|
+
apiUrl: {
|
|
367
|
+
type: StringConstructor;
|
|
368
|
+
required: false;
|
|
369
|
+
};
|
|
370
|
+
listApiUrl: {
|
|
371
|
+
type: StringConstructor;
|
|
372
|
+
required: true;
|
|
373
|
+
};
|
|
374
|
+
createRoute: {
|
|
375
|
+
type: StringConstructor;
|
|
376
|
+
required: false;
|
|
377
|
+
};
|
|
378
|
+
editRoute: {
|
|
379
|
+
type: StringConstructor;
|
|
380
|
+
required: false;
|
|
381
|
+
};
|
|
382
|
+
pickup: {
|
|
383
|
+
type: BooleanConstructor;
|
|
384
|
+
required: false;
|
|
385
|
+
};
|
|
386
|
+
}>> & Readonly<{}>, {
|
|
387
|
+
pickup: boolean;
|
|
388
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
389
|
+
ListLoader: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
390
|
+
apiPrefix: {
|
|
391
|
+
type: StringConstructor;
|
|
392
|
+
required: false;
|
|
393
|
+
};
|
|
394
|
+
createRoute: {
|
|
395
|
+
type: StringConstructor;
|
|
396
|
+
required: false;
|
|
397
|
+
};
|
|
398
|
+
editRoute: {
|
|
399
|
+
type: StringConstructor;
|
|
400
|
+
required: false;
|
|
401
|
+
};
|
|
402
|
+
defaultAction: {
|
|
403
|
+
type: BooleanConstructor;
|
|
404
|
+
required: false;
|
|
405
|
+
default: boolean;
|
|
406
|
+
};
|
|
407
|
+
id: {
|
|
408
|
+
type: NumberConstructor;
|
|
409
|
+
required: false;
|
|
410
|
+
default: number;
|
|
411
|
+
};
|
|
412
|
+
showSearch: {
|
|
413
|
+
type: BooleanConstructor;
|
|
414
|
+
required: false;
|
|
415
|
+
default: boolean;
|
|
416
|
+
};
|
|
417
|
+
modalInfo: {
|
|
418
|
+
type: BooleanConstructor;
|
|
419
|
+
required: false;
|
|
420
|
+
default: boolean;
|
|
421
|
+
};
|
|
422
|
+
showCreateBtn: {
|
|
423
|
+
type: BooleanConstructor;
|
|
424
|
+
default: boolean;
|
|
425
|
+
};
|
|
426
|
+
showEditBtn: {
|
|
427
|
+
type: BooleanConstructor;
|
|
428
|
+
default: boolean;
|
|
429
|
+
};
|
|
430
|
+
editBtnAsView: {
|
|
431
|
+
type: BooleanConstructor;
|
|
432
|
+
default: boolean;
|
|
433
|
+
};
|
|
434
|
+
}>, {}, {
|
|
435
|
+
widgetName_: string;
|
|
436
|
+
cfg: {
|
|
437
|
+
fields: never[];
|
|
438
|
+
};
|
|
439
|
+
listApiUrl_: string;
|
|
440
|
+
colDefId: number;
|
|
441
|
+
list: TableListConfig;
|
|
442
|
+
isShowForm: boolean;
|
|
443
|
+
bindingFormId: number;
|
|
444
|
+
}, {}, {
|
|
445
|
+
getRemoteColDef(): void;
|
|
446
|
+
renderConfig(cfg: ListFactory_ListConfig_New): void;
|
|
447
|
+
getData(): void;
|
|
448
|
+
onPageNoChange(pageNo: number): void;
|
|
449
|
+
handleChangePageSize(pageSize: number): void;
|
|
450
|
+
reset(): void;
|
|
451
|
+
onCreate(id: number): void;
|
|
452
|
+
onEdit(id: number): void;
|
|
453
|
+
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
454
|
+
apiPrefix: {
|
|
455
|
+
type: StringConstructor;
|
|
456
|
+
required: false;
|
|
457
|
+
};
|
|
458
|
+
createRoute: {
|
|
459
|
+
type: StringConstructor;
|
|
460
|
+
required: false;
|
|
461
|
+
};
|
|
462
|
+
editRoute: {
|
|
463
|
+
type: StringConstructor;
|
|
464
|
+
required: false;
|
|
465
|
+
};
|
|
466
|
+
defaultAction: {
|
|
467
|
+
type: BooleanConstructor;
|
|
468
|
+
required: false;
|
|
469
|
+
default: boolean;
|
|
470
|
+
};
|
|
471
|
+
id: {
|
|
472
|
+
type: NumberConstructor;
|
|
473
|
+
required: false;
|
|
474
|
+
default: number;
|
|
475
|
+
};
|
|
476
|
+
showSearch: {
|
|
477
|
+
type: BooleanConstructor;
|
|
478
|
+
required: false;
|
|
479
|
+
default: boolean;
|
|
480
|
+
};
|
|
481
|
+
modalInfo: {
|
|
482
|
+
type: BooleanConstructor;
|
|
483
|
+
required: false;
|
|
484
|
+
default: boolean;
|
|
485
|
+
};
|
|
486
|
+
showCreateBtn: {
|
|
487
|
+
type: BooleanConstructor;
|
|
488
|
+
default: boolean;
|
|
489
|
+
};
|
|
490
|
+
showEditBtn: {
|
|
491
|
+
type: BooleanConstructor;
|
|
492
|
+
default: boolean;
|
|
493
|
+
};
|
|
494
|
+
editBtnAsView: {
|
|
495
|
+
type: BooleanConstructor;
|
|
496
|
+
default: boolean;
|
|
497
|
+
};
|
|
498
|
+
}>> & Readonly<{}>, {
|
|
499
|
+
id: number;
|
|
500
|
+
defaultAction: boolean;
|
|
501
|
+
showSearch: boolean;
|
|
502
|
+
modalInfo: boolean;
|
|
503
|
+
showCreateBtn: boolean;
|
|
504
|
+
showEditBtn: boolean;
|
|
505
|
+
editBtnAsView: boolean;
|
|
506
|
+
}, {}, {
|
|
507
|
+
FormLoader: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
508
|
+
id: {
|
|
509
|
+
type: NumberConstructor;
|
|
510
|
+
required: false;
|
|
511
|
+
};
|
|
512
|
+
isShowInfoBtn: {
|
|
513
|
+
type: BooleanConstructor;
|
|
514
|
+
required: false;
|
|
515
|
+
default: boolean;
|
|
516
|
+
};
|
|
517
|
+
isShowBtns: {
|
|
518
|
+
type: BooleanConstructor;
|
|
519
|
+
required: false;
|
|
520
|
+
default: boolean;
|
|
521
|
+
};
|
|
522
|
+
}>, {
|
|
523
|
+
FromRenderer: import('vue').Ref<any, any>;
|
|
524
|
+
}, {
|
|
525
|
+
formId: number;
|
|
526
|
+
entityId: number;
|
|
527
|
+
cfg: {
|
|
528
|
+
fields: never[];
|
|
529
|
+
};
|
|
530
|
+
status: number;
|
|
531
|
+
oldJson: null;
|
|
532
|
+
}, {}, {
|
|
533
|
+
load(): void;
|
|
534
|
+
resetFields(): void;
|
|
535
|
+
create(): void;
|
|
536
|
+
update(): void;
|
|
537
|
+
_getSaveData(): any;
|
|
538
|
+
loadInfo(): void;
|
|
539
|
+
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
540
|
+
id: {
|
|
541
|
+
type: NumberConstructor;
|
|
542
|
+
required: false;
|
|
543
|
+
};
|
|
544
|
+
isShowInfoBtn: {
|
|
545
|
+
type: BooleanConstructor;
|
|
546
|
+
required: false;
|
|
547
|
+
default: boolean;
|
|
548
|
+
};
|
|
549
|
+
isShowBtns: {
|
|
550
|
+
type: BooleanConstructor;
|
|
551
|
+
required: false;
|
|
552
|
+
default: boolean;
|
|
553
|
+
};
|
|
554
|
+
}>> & Readonly<{}>, {
|
|
555
|
+
isShowInfoBtn: boolean;
|
|
556
|
+
isShowBtns: boolean;
|
|
557
|
+
}, {}, {
|
|
558
|
+
FromRenderer: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
559
|
+
cfg: {
|
|
560
|
+
type: ObjectConstructor;
|
|
561
|
+
required: true;
|
|
562
|
+
};
|
|
563
|
+
}>, {}, {
|
|
564
|
+
index: number;
|
|
565
|
+
formDynamic: {
|
|
566
|
+
fields: any;
|
|
567
|
+
};
|
|
568
|
+
data: {};
|
|
569
|
+
status: number;
|
|
570
|
+
}, {}, {
|
|
571
|
+
handleAdd(): void;
|
|
572
|
+
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
573
|
+
cfg: {
|
|
574
|
+
type: ObjectConstructor;
|
|
575
|
+
required: true;
|
|
576
|
+
};
|
|
577
|
+
}>> & Readonly<{}>, {}, {}, {
|
|
578
|
+
ItemRender: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
579
|
+
item: {
|
|
580
|
+
type: ObjectConstructor;
|
|
581
|
+
};
|
|
582
|
+
data: ObjectConstructor;
|
|
583
|
+
status: NumberConstructor;
|
|
584
|
+
}>, {}, {}, {}, {
|
|
585
|
+
showDataDict(fieldName: string): void;
|
|
586
|
+
handleModelUpdate(e: string, name: string): void;
|
|
587
|
+
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
588
|
+
item: {
|
|
589
|
+
type: ObjectConstructor;
|
|
590
|
+
};
|
|
591
|
+
data: ObjectConstructor;
|
|
592
|
+
status: NumberConstructor;
|
|
593
|
+
}>> & Readonly<{}>, {}, {}, {
|
|
594
|
+
FileUpload: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
595
|
+
value: {
|
|
596
|
+
required: true;
|
|
597
|
+
};
|
|
598
|
+
uploadUrl: {
|
|
599
|
+
type: StringConstructor;
|
|
600
|
+
required: true;
|
|
601
|
+
};
|
|
602
|
+
}>, {}, {
|
|
603
|
+
_v: unknown;
|
|
604
|
+
}, {}, {
|
|
605
|
+
downloadFile(): void;
|
|
606
|
+
showFile(file: any): void;
|
|
607
|
+
onSuccess(response: any, file: any): void;
|
|
608
|
+
fireData(): void;
|
|
609
|
+
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
610
|
+
value: {
|
|
611
|
+
required: true;
|
|
612
|
+
};
|
|
613
|
+
uploadUrl: {
|
|
614
|
+
type: StringConstructor;
|
|
615
|
+
required: true;
|
|
616
|
+
};
|
|
617
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
618
|
+
}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
619
|
+
}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
620
|
+
}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
621
|
+
}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
622
|
+
FormLoader: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
623
|
+
id: {
|
|
624
|
+
type: NumberConstructor;
|
|
625
|
+
required: false;
|
|
626
|
+
};
|
|
627
|
+
isShowInfoBtn: {
|
|
628
|
+
type: BooleanConstructor;
|
|
629
|
+
required: false;
|
|
630
|
+
default: boolean;
|
|
631
|
+
};
|
|
632
|
+
isShowBtns: {
|
|
633
|
+
type: BooleanConstructor;
|
|
634
|
+
required: false;
|
|
635
|
+
default: boolean;
|
|
636
|
+
};
|
|
637
|
+
}>, {
|
|
638
|
+
FromRenderer: import('vue').Ref<any, any>;
|
|
639
|
+
}, {
|
|
640
|
+
formId: number;
|
|
641
|
+
entityId: number;
|
|
642
|
+
cfg: {
|
|
643
|
+
fields: never[];
|
|
644
|
+
};
|
|
645
|
+
status: number;
|
|
646
|
+
oldJson: null;
|
|
647
|
+
}, {}, {
|
|
648
|
+
load(): void;
|
|
649
|
+
resetFields(): void;
|
|
650
|
+
create(): void;
|
|
651
|
+
update(): void;
|
|
652
|
+
_getSaveData(): any;
|
|
653
|
+
loadInfo(): void;
|
|
654
|
+
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
655
|
+
id: {
|
|
656
|
+
type: NumberConstructor;
|
|
657
|
+
required: false;
|
|
658
|
+
};
|
|
659
|
+
isShowInfoBtn: {
|
|
660
|
+
type: BooleanConstructor;
|
|
661
|
+
required: false;
|
|
662
|
+
default: boolean;
|
|
663
|
+
};
|
|
664
|
+
isShowBtns: {
|
|
665
|
+
type: BooleanConstructor;
|
|
666
|
+
required: false;
|
|
667
|
+
default: boolean;
|
|
668
|
+
};
|
|
669
|
+
}>> & Readonly<{}>, {
|
|
670
|
+
isShowInfoBtn: boolean;
|
|
671
|
+
isShowBtns: boolean;
|
|
672
|
+
}, {}, {
|
|
673
|
+
FromRenderer: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
674
|
+
cfg: {
|
|
675
|
+
type: ObjectConstructor;
|
|
676
|
+
required: true;
|
|
677
|
+
};
|
|
678
|
+
}>, {}, {
|
|
679
|
+
index: number;
|
|
680
|
+
formDynamic: {
|
|
681
|
+
fields: any;
|
|
682
|
+
};
|
|
683
|
+
data: {};
|
|
684
|
+
status: number;
|
|
685
|
+
}, {}, {
|
|
686
|
+
handleAdd(): void;
|
|
687
|
+
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
688
|
+
cfg: {
|
|
689
|
+
type: ObjectConstructor;
|
|
690
|
+
required: true;
|
|
691
|
+
};
|
|
692
|
+
}>> & Readonly<{}>, {}, {}, {
|
|
693
|
+
ItemRender: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
694
|
+
item: {
|
|
695
|
+
type: ObjectConstructor;
|
|
696
|
+
};
|
|
697
|
+
data: ObjectConstructor;
|
|
698
|
+
status: NumberConstructor;
|
|
699
|
+
}>, {}, {}, {}, {
|
|
700
|
+
showDataDict(fieldName: string): void;
|
|
701
|
+
handleModelUpdate(e: string, name: string): void;
|
|
702
|
+
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
703
|
+
item: {
|
|
704
|
+
type: ObjectConstructor;
|
|
705
|
+
};
|
|
706
|
+
data: ObjectConstructor;
|
|
707
|
+
status: NumberConstructor;
|
|
708
|
+
}>> & Readonly<{}>, {}, {}, {
|
|
709
|
+
FileUpload: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
710
|
+
value: {
|
|
711
|
+
required: true;
|
|
712
|
+
};
|
|
713
|
+
uploadUrl: {
|
|
714
|
+
type: StringConstructor;
|
|
715
|
+
required: true;
|
|
716
|
+
};
|
|
717
|
+
}>, {}, {
|
|
718
|
+
_v: unknown;
|
|
719
|
+
}, {}, {
|
|
720
|
+
downloadFile(): void;
|
|
721
|
+
showFile(file: any): void;
|
|
722
|
+
onSuccess(response: any, file: any): void;
|
|
723
|
+
fireData(): void;
|
|
724
|
+
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
725
|
+
value: {
|
|
726
|
+
required: true;
|
|
727
|
+
};
|
|
728
|
+
uploadUrl: {
|
|
729
|
+
type: StringConstructor;
|
|
730
|
+
required: true;
|
|
731
|
+
};
|
|
732
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
733
|
+
}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
734
|
+
}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
735
|
+
}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
736
|
+
}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
737
|
+
export default _default;
|