@byteluck-fe/model-driven-core 4.36.0-lx1 → 5.5.0-1
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 +69 -69
- package/dist/esm/common/BaseControl/designer.js +22 -14
- package/dist/esm/common/BaseControl/property.js +16 -11
- package/dist/esm/common/BaseControl/runtime.js +2 -1
- package/dist/esm/common/ColumnControl/property.js +34 -34
- package/dist/esm/common/FormControl/property.js +59 -76
- package/dist/esm/common/ListControl/designer.js +8 -10
- package/dist/esm/common/Validator.js +1 -0
- package/dist/esm/common/initLinkOperationRules.js +2 -2
- package/dist/esm/common/initOptionAndDataSourceRules.js +31 -30
- package/dist/esm/framework/RegisterControls.js +13 -13
- package/dist/esm/framework/index.js +91 -23
- package/dist/index.umd.js +1 -1
- package/dist/types/api-doc-index.d.ts +4 -4
- package/dist/types/common/BaseControl/designer.d.ts +71 -63
- package/dist/types/common/BaseControl/index.d.ts +13 -13
- package/dist/types/common/BaseControl/property.d.ts +44 -38
- package/dist/types/common/BaseControl/runtime.d.ts +23 -23
- package/dist/types/common/BaseControl/types.d.ts +35 -35
- package/dist/types/common/ColumnControl/designer.d.ts +20 -20
- package/dist/types/common/ColumnControl/index.d.ts +12 -12
- package/dist/types/common/ColumnControl/property.d.ts +74 -74
- package/dist/types/common/ColumnControl/runtime.d.ts +11 -11
- package/dist/types/common/ControlArray.d.ts +9 -9
- package/dist/types/common/FormControl/designer.d.ts +13 -13
- package/dist/types/common/FormControl/index.d.ts +12 -12
- package/dist/types/common/FormControl/property.d.ts +100 -118
- package/dist/types/common/FormControl/runtime.d.ts +11 -11
- package/dist/types/common/LayoutControl/designer.d.ts +21 -21
- package/dist/types/common/LayoutControl/index.d.ts +12 -12
- package/dist/types/common/LayoutControl/property.d.ts +6 -6
- package/dist/types/common/LayoutControl/runtime.d.ts +11 -11
- package/dist/types/common/ListControl/designer.d.ts +16 -16
- package/dist/types/common/ListControl/index.d.ts +12 -12
- package/dist/types/common/ListControl/property.d.ts +18 -18
- package/dist/types/common/ListControl/runtime.d.ts +12 -12
- package/dist/types/common/SearchViewControl/designer.d.ts +11 -11
- package/dist/types/common/SearchViewControl/index.d.ts +12 -12
- package/dist/types/common/SearchViewControl/property.d.ts +8 -8
- package/dist/types/common/SearchViewControl/runtime.d.ts +11 -11
- package/dist/types/common/Validator.d.ts +15 -15
- package/dist/types/common/WrapControl/designer.d.ts +11 -11
- package/dist/types/common/WrapControl/index.d.ts +12 -12
- package/dist/types/common/WrapControl/property.d.ts +6 -6
- package/dist/types/common/WrapControl/runtime.d.ts +11 -11
- package/dist/types/common/controlHooksEmitter.d.ts +4 -4
- package/dist/types/common/index.d.ts +12 -12
- package/dist/types/common/initLinkOperationRules.d.ts +6 -6
- package/dist/types/common/initOptionAndDataSourceRules.d.ts +10 -10
- package/dist/types/framework/RegisterControls.d.ts +37 -37
- package/dist/types/framework/index.d.ts +938 -898
- package/dist/types/framework/isDataBind.d.ts +2 -2
- package/dist/types/index.d.ts +4 -4
- package/dist/types/type.d.ts +91 -91
- package/package.json +3 -3
|
@@ -1,898 +1,938 @@
|
|
|
1
|
-
import { FieldTypes } from '@byteluck-fe/model-driven-shared';
|
|
2
|
-
export * from './RegisterControls';
|
|
3
|
-
/**
|
|
4
|
-
* 数据绑定配置
|
|
5
|
-
* @public
|
|
6
|
-
*/
|
|
7
|
-
export declare class DataBind {
|
|
8
|
-
/**
|
|
9
|
-
* 数据模型编码
|
|
10
|
-
* @defaultValue ''
|
|
11
|
-
* @public
|
|
12
|
-
*/
|
|
13
|
-
dataCode: string;
|
|
14
|
-
/**
|
|
15
|
-
* 字段编码
|
|
16
|
-
* @defaultValue ''
|
|
17
|
-
* @public
|
|
18
|
-
*/
|
|
19
|
-
fieldCode: string;
|
|
20
|
-
/**
|
|
21
|
-
* 字段类型
|
|
22
|
-
* @defaultValue ''
|
|
23
|
-
* @public
|
|
24
|
-
*/
|
|
25
|
-
fieldType: string;
|
|
26
|
-
/**
|
|
27
|
-
* 表别名
|
|
28
|
-
* @defaultValue undefined
|
|
29
|
-
* @public
|
|
30
|
-
*/
|
|
31
|
-
aliasCode?: string;
|
|
32
|
-
constructor(props?: Partial<DataBind>);
|
|
33
|
-
}
|
|
34
|
-
export declare class AutoWidth {
|
|
35
|
-
minWidth: number;
|
|
36
|
-
maxWidth?: number;
|
|
37
|
-
flex: number;
|
|
38
|
-
constructor(props?: Partial<AutoWidth>);
|
|
39
|
-
}
|
|
40
|
-
export declare class
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
*
|
|
80
|
-
*/
|
|
81
|
-
|
|
82
|
-
/**
|
|
83
|
-
*
|
|
84
|
-
* @
|
|
85
|
-
*/
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
constructor(props?: Partial<
|
|
130
|
-
}
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
/**
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
/**
|
|
174
|
-
*
|
|
175
|
-
* @defaultValue
|
|
176
|
-
*/
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
/**
|
|
231
|
-
*
|
|
232
|
-
* @defaultValue ''
|
|
233
|
-
* @public
|
|
234
|
-
*/
|
|
235
|
-
|
|
236
|
-
/**
|
|
237
|
-
*
|
|
238
|
-
* @defaultValue ''
|
|
239
|
-
* @public
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
*
|
|
251
|
-
* @
|
|
252
|
-
*
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
*
|
|
273
|
-
*/
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
constructor(props
|
|
287
|
-
}
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
*
|
|
314
|
-
*/
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
*
|
|
330
|
-
* @
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
*
|
|
336
|
-
* @
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
*
|
|
342
|
-
* @
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
*
|
|
348
|
-
* @
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
*
|
|
354
|
-
* @
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
*
|
|
360
|
-
* @
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
*
|
|
366
|
-
* @
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
*
|
|
372
|
-
* @
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
*
|
|
378
|
-
* @
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
*
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
*
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
*
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
*
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
*
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
export declare class
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
*
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
/**
|
|
538
|
-
*
|
|
539
|
-
* @defaultValue ''
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
*
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
/**
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
/**
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
*
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
*
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
|
|
773
|
-
|
|
774
|
-
|
|
775
|
-
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
|
|
800
|
-
|
|
801
|
-
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
|
|
805
|
-
|
|
806
|
-
|
|
807
|
-
|
|
808
|
-
|
|
809
|
-
|
|
810
|
-
|
|
811
|
-
|
|
812
|
-
|
|
813
|
-
|
|
814
|
-
|
|
815
|
-
|
|
816
|
-
|
|
817
|
-
|
|
818
|
-
|
|
819
|
-
|
|
820
|
-
|
|
821
|
-
|
|
822
|
-
|
|
823
|
-
|
|
824
|
-
|
|
825
|
-
|
|
826
|
-
|
|
827
|
-
|
|
828
|
-
|
|
829
|
-
|
|
830
|
-
|
|
831
|
-
|
|
832
|
-
|
|
833
|
-
|
|
834
|
-
/**
|
|
835
|
-
*
|
|
836
|
-
|
|
837
|
-
|
|
838
|
-
|
|
839
|
-
|
|
840
|
-
|
|
841
|
-
|
|
842
|
-
|
|
843
|
-
|
|
844
|
-
|
|
845
|
-
|
|
846
|
-
|
|
847
|
-
|
|
848
|
-
|
|
849
|
-
constructor(props
|
|
850
|
-
}
|
|
851
|
-
|
|
852
|
-
|
|
853
|
-
|
|
854
|
-
|
|
855
|
-
|
|
856
|
-
|
|
857
|
-
|
|
858
|
-
|
|
859
|
-
|
|
860
|
-
*
|
|
861
|
-
|
|
862
|
-
|
|
863
|
-
|
|
864
|
-
|
|
865
|
-
|
|
866
|
-
|
|
867
|
-
|
|
868
|
-
|
|
869
|
-
|
|
870
|
-
|
|
871
|
-
|
|
872
|
-
|
|
873
|
-
/**
|
|
874
|
-
*
|
|
875
|
-
* @defaultValue ''
|
|
876
|
-
* @public
|
|
877
|
-
*/
|
|
878
|
-
|
|
879
|
-
/**
|
|
880
|
-
*
|
|
881
|
-
* @defaultValue '
|
|
882
|
-
* @public
|
|
883
|
-
*/
|
|
884
|
-
|
|
885
|
-
|
|
886
|
-
|
|
887
|
-
|
|
888
|
-
|
|
889
|
-
|
|
890
|
-
|
|
891
|
-
|
|
892
|
-
|
|
893
|
-
|
|
894
|
-
|
|
895
|
-
|
|
896
|
-
|
|
897
|
-
|
|
898
|
-
|
|
1
|
+
import { FieldTypes } from '@byteluck-fe/model-driven-shared';
|
|
2
|
+
export * from './RegisterControls';
|
|
3
|
+
/**
|
|
4
|
+
* 数据绑定配置
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
7
|
+
export declare class DataBind {
|
|
8
|
+
/**
|
|
9
|
+
* 数据模型编码
|
|
10
|
+
* @defaultValue ''
|
|
11
|
+
* @public
|
|
12
|
+
*/
|
|
13
|
+
dataCode: string;
|
|
14
|
+
/**
|
|
15
|
+
* 字段编码
|
|
16
|
+
* @defaultValue ''
|
|
17
|
+
* @public
|
|
18
|
+
*/
|
|
19
|
+
fieldCode: string;
|
|
20
|
+
/**
|
|
21
|
+
* 字段类型
|
|
22
|
+
* @defaultValue ''
|
|
23
|
+
* @public
|
|
24
|
+
*/
|
|
25
|
+
fieldType: string;
|
|
26
|
+
/**
|
|
27
|
+
* 表别名
|
|
28
|
+
* @defaultValue undefined
|
|
29
|
+
* @public
|
|
30
|
+
*/
|
|
31
|
+
aliasCode?: string;
|
|
32
|
+
constructor(props?: Partial<DataBind>);
|
|
33
|
+
}
|
|
34
|
+
export declare class AutoWidth {
|
|
35
|
+
minWidth: number;
|
|
36
|
+
maxWidth?: number;
|
|
37
|
+
flex: number;
|
|
38
|
+
constructor(props?: Partial<AutoWidth>);
|
|
39
|
+
}
|
|
40
|
+
export declare class RowHeight {
|
|
41
|
+
rowHeightType: 'auto' | 'fixed';
|
|
42
|
+
minRows: number;
|
|
43
|
+
maxRows?: number;
|
|
44
|
+
fiexdRow: number;
|
|
45
|
+
constructor(props?: Partial<RowHeight>);
|
|
46
|
+
}
|
|
47
|
+
export declare class MetaRowHeight {
|
|
48
|
+
pc: RowHeight;
|
|
49
|
+
mobile: RowHeight;
|
|
50
|
+
constructor(props?: Partial<MetaRowHeight>);
|
|
51
|
+
}
|
|
52
|
+
export declare class MetaWidth extends AutoWidth {
|
|
53
|
+
width: number;
|
|
54
|
+
widthType: 'px' | 'auto';
|
|
55
|
+
constructor(props?: Partial<MetaWidth>);
|
|
56
|
+
}
|
|
57
|
+
export declare class MetaAutoWidth {
|
|
58
|
+
pc: MetaWidth;
|
|
59
|
+
mobile: MetaWidth;
|
|
60
|
+
constructor(props?: Partial<MetaAutoWidth>);
|
|
61
|
+
}
|
|
62
|
+
export declare class DataStorageDoc {
|
|
63
|
+
type: 'firstThree' | 'custom';
|
|
64
|
+
customOptions: string[];
|
|
65
|
+
constructor(props?: Partial<DataStorageDoc>);
|
|
66
|
+
}
|
|
67
|
+
export declare class FormBind {
|
|
68
|
+
dataCode: string;
|
|
69
|
+
formKey: string;
|
|
70
|
+
appId: string;
|
|
71
|
+
constructor(props?: Partial<FormBind>);
|
|
72
|
+
}
|
|
73
|
+
export declare class FormSelectBind extends FormBind {
|
|
74
|
+
primaryControlId: string;
|
|
75
|
+
constructor(props?: Partial<FormSelectBind>);
|
|
76
|
+
}
|
|
77
|
+
/**
|
|
78
|
+
* 列表绑定字段项
|
|
79
|
+
* @public
|
|
80
|
+
*/
|
|
81
|
+
declare class ListBindHeaderItem {
|
|
82
|
+
/**
|
|
83
|
+
* 字段
|
|
84
|
+
* @defaultValue ''
|
|
85
|
+
*/
|
|
86
|
+
fieldCode: string;
|
|
87
|
+
dataCode: string;
|
|
88
|
+
constructor(props?: Partial<ListBindHeaderItem>);
|
|
89
|
+
}
|
|
90
|
+
/**
|
|
91
|
+
* 列表绑定配置
|
|
92
|
+
*/
|
|
93
|
+
export declare class ListBind {
|
|
94
|
+
/**
|
|
95
|
+
* 应用ID
|
|
96
|
+
* @public
|
|
97
|
+
*/
|
|
98
|
+
appId: string;
|
|
99
|
+
/**
|
|
100
|
+
* 表单ID
|
|
101
|
+
* @public
|
|
102
|
+
*/
|
|
103
|
+
formKey: string;
|
|
104
|
+
/**
|
|
105
|
+
* 显示字段
|
|
106
|
+
* @public
|
|
107
|
+
*/
|
|
108
|
+
headers: ListBindHeaderItem[];
|
|
109
|
+
constructor(props?: Partial<ListBind>);
|
|
110
|
+
}
|
|
111
|
+
export declare class FieldBindItem {
|
|
112
|
+
fieldName: string;
|
|
113
|
+
fieldCode: string;
|
|
114
|
+
fieldType: string;
|
|
115
|
+
constructor(props?: Partial<FieldBindItem>);
|
|
116
|
+
}
|
|
117
|
+
export declare class SubListItem extends FormBind {
|
|
118
|
+
title: string;
|
|
119
|
+
svcCode: string;
|
|
120
|
+
isOpenFilter: boolean;
|
|
121
|
+
filters: Array<FieldFilterCondition | FieldFilterConditions>;
|
|
122
|
+
constructor(props?: Partial<SubListItem>);
|
|
123
|
+
}
|
|
124
|
+
export declare class SubListPageConfig {
|
|
125
|
+
type: string;
|
|
126
|
+
formBind: FormBind;
|
|
127
|
+
displayFields: FieldBindItem[];
|
|
128
|
+
sublists: SubListItem[];
|
|
129
|
+
constructor(props?: Partial<SubListPageConfig>);
|
|
130
|
+
}
|
|
131
|
+
export declare class LeftVariable {
|
|
132
|
+
type?: FieldTypes;
|
|
133
|
+
value?: string;
|
|
134
|
+
dataCode?: string;
|
|
135
|
+
constructor(props?: Partial<LeftVariable>);
|
|
136
|
+
}
|
|
137
|
+
export declare class RightVariable {
|
|
138
|
+
type: 'form' | 'system' | 'custom' | 'gv';
|
|
139
|
+
value: string[];
|
|
140
|
+
displayBos: Record<string, unknown>[];
|
|
141
|
+
constructor(props?: Partial<RightVariable>);
|
|
142
|
+
}
|
|
143
|
+
/**
|
|
144
|
+
* 连接符条件
|
|
145
|
+
* @public
|
|
146
|
+
*/
|
|
147
|
+
export declare class FieldFilterConditions {
|
|
148
|
+
/**
|
|
149
|
+
* 编号
|
|
150
|
+
* @defaultValue ''
|
|
151
|
+
*/
|
|
152
|
+
id: string;
|
|
153
|
+
/**
|
|
154
|
+
* 规则编号
|
|
155
|
+
* @defaultValue Timestamp
|
|
156
|
+
*/
|
|
157
|
+
ruleId: number;
|
|
158
|
+
/**
|
|
159
|
+
* 类型:连接符条件
|
|
160
|
+
* @defaultValue 'conditions'
|
|
161
|
+
*/
|
|
162
|
+
type: string;
|
|
163
|
+
/**
|
|
164
|
+
* 深度
|
|
165
|
+
* @defaultValue 0
|
|
166
|
+
*/
|
|
167
|
+
level: number;
|
|
168
|
+
/**
|
|
169
|
+
* 连接符值
|
|
170
|
+
* @defaultValue 'and'
|
|
171
|
+
*/
|
|
172
|
+
value: 'and' | 'or';
|
|
173
|
+
/**
|
|
174
|
+
* 包含子项
|
|
175
|
+
* @defaultValue []
|
|
176
|
+
*/
|
|
177
|
+
children: Array<FieldFilterCondition | FieldFilterConditions>;
|
|
178
|
+
constructor(props?: Partial<FieldFilterConditions>);
|
|
179
|
+
}
|
|
180
|
+
/**
|
|
181
|
+
* 字段过滤条件
|
|
182
|
+
* @public
|
|
183
|
+
*/
|
|
184
|
+
export declare class FieldFilterCondition {
|
|
185
|
+
/**
|
|
186
|
+
* 唯一编号
|
|
187
|
+
* @defaultValue ''
|
|
188
|
+
*/
|
|
189
|
+
id: string;
|
|
190
|
+
/**
|
|
191
|
+
* 规则编号
|
|
192
|
+
* @defaultValue Timestamp
|
|
193
|
+
*/
|
|
194
|
+
ruleId: number;
|
|
195
|
+
/**
|
|
196
|
+
* 类型
|
|
197
|
+
* @defaultValue 'condition'
|
|
198
|
+
*/
|
|
199
|
+
type: string;
|
|
200
|
+
/**
|
|
201
|
+
* 符号
|
|
202
|
+
*/
|
|
203
|
+
symbol: string;
|
|
204
|
+
checked: boolean;
|
|
205
|
+
describe: string;
|
|
206
|
+
/**
|
|
207
|
+
* 左值
|
|
208
|
+
*/
|
|
209
|
+
leftVariableBo: LeftVariable;
|
|
210
|
+
/**
|
|
211
|
+
* 右值
|
|
212
|
+
*/
|
|
213
|
+
rightVariableBo: RightVariable;
|
|
214
|
+
constructor(props?: Partial<FieldFilterCondition>);
|
|
215
|
+
}
|
|
216
|
+
export declare class JoinRelation {
|
|
217
|
+
aliasCode: string;
|
|
218
|
+
datasourceBind: DataSourceBind;
|
|
219
|
+
relationFields: {
|
|
220
|
+
main_field_code: string;
|
|
221
|
+
join_field_code: string;
|
|
222
|
+
}[];
|
|
223
|
+
constructor(props?: Partial<JoinRelation>);
|
|
224
|
+
}
|
|
225
|
+
/**
|
|
226
|
+
* 数据填充项
|
|
227
|
+
* @public
|
|
228
|
+
*/
|
|
229
|
+
export declare class MultistageFillingItem {
|
|
230
|
+
/**
|
|
231
|
+
* 控件ID
|
|
232
|
+
* @defaultValue ''
|
|
233
|
+
* @public
|
|
234
|
+
*/
|
|
235
|
+
controlId: string;
|
|
236
|
+
/**
|
|
237
|
+
* 字段
|
|
238
|
+
* @defaultValue ''
|
|
239
|
+
* @public
|
|
240
|
+
*/
|
|
241
|
+
fieldCode: string;
|
|
242
|
+
/**
|
|
243
|
+
* 字段类型。事件在填充时,需要根据数据类型进行判断处理动作。
|
|
244
|
+
* @defaultValue ''
|
|
245
|
+
* @public
|
|
246
|
+
*/
|
|
247
|
+
fieldType: string;
|
|
248
|
+
/**
|
|
249
|
+
* 属性名称。如果是ObjectDataBind的控件,可以指定填充到哪个数据项。
|
|
250
|
+
* @defaultValue ''
|
|
251
|
+
* @public
|
|
252
|
+
* */
|
|
253
|
+
propName: string;
|
|
254
|
+
constructor(props: Partial<MultistageFillingItem>);
|
|
255
|
+
}
|
|
256
|
+
/**
|
|
257
|
+
* 显示项
|
|
258
|
+
* @public
|
|
259
|
+
*/
|
|
260
|
+
export declare class DisplayBoListItem {
|
|
261
|
+
/**
|
|
262
|
+
* 显示项类型:字段 | 符号
|
|
263
|
+
* @defaultValue 'FIELD'
|
|
264
|
+
* @public
|
|
265
|
+
*/
|
|
266
|
+
type: 'FIELD' | 'MOSAICS';
|
|
267
|
+
/**
|
|
268
|
+
* 值
|
|
269
|
+
*/
|
|
270
|
+
value: string;
|
|
271
|
+
/**
|
|
272
|
+
* 字段数据类型
|
|
273
|
+
*/
|
|
274
|
+
fieldType?: string;
|
|
275
|
+
constructor(props?: Partial<DisplayBoListItem>);
|
|
276
|
+
}
|
|
277
|
+
export declare class OptionDisplayConfigItem {
|
|
278
|
+
/**
|
|
279
|
+
* 标题
|
|
280
|
+
*/
|
|
281
|
+
title: string;
|
|
282
|
+
/**
|
|
283
|
+
* 字段数据类型
|
|
284
|
+
*/
|
|
285
|
+
displayBoList: DisplayBoListItem[];
|
|
286
|
+
constructor(props?: Partial<OptionDisplayConfigItem>);
|
|
287
|
+
}
|
|
288
|
+
/**
|
|
289
|
+
* 数据源排序项
|
|
290
|
+
* @public
|
|
291
|
+
*/
|
|
292
|
+
export declare class DataSourceOrderItem {
|
|
293
|
+
/**
|
|
294
|
+
* 列名
|
|
295
|
+
* @defaultValue ''
|
|
296
|
+
*/
|
|
297
|
+
columnName: string;
|
|
298
|
+
/**
|
|
299
|
+
* 倒序
|
|
300
|
+
* @defaultValue false
|
|
301
|
+
*/
|
|
302
|
+
desc: boolean;
|
|
303
|
+
constructor(props: Partial<DataSourceOrderItem>);
|
|
304
|
+
}
|
|
305
|
+
export declare class DataSourceDataSetValue {
|
|
306
|
+
code: string;
|
|
307
|
+
value: string;
|
|
308
|
+
field_type?: FieldTypes;
|
|
309
|
+
constructor(props: Partial<DataSourceDataSetValue>);
|
|
310
|
+
}
|
|
311
|
+
export declare class DataSourceParamItem {
|
|
312
|
+
/**
|
|
313
|
+
* 字段ID
|
|
314
|
+
*/
|
|
315
|
+
id: string;
|
|
316
|
+
limit: number;
|
|
317
|
+
orders: DataSourceOrderItem[];
|
|
318
|
+
formKey: string;
|
|
319
|
+
dataSet: DataSourceDataSetValue[];
|
|
320
|
+
constructor(props: Partial<DataSourceParamItem>);
|
|
321
|
+
}
|
|
322
|
+
/**
|
|
323
|
+
* 数据源绑定配置
|
|
324
|
+
* @public
|
|
325
|
+
*/
|
|
326
|
+
export declare class DataSourceBind {
|
|
327
|
+
/**
|
|
328
|
+
* 绑定数据源id
|
|
329
|
+
* @defaultValue ''
|
|
330
|
+
* @public
|
|
331
|
+
*/
|
|
332
|
+
dataCode: string;
|
|
333
|
+
/**
|
|
334
|
+
* 存储值
|
|
335
|
+
* @defaultValue ''
|
|
336
|
+
* @public
|
|
337
|
+
*/
|
|
338
|
+
valueFieldCode: string;
|
|
339
|
+
/**
|
|
340
|
+
* 显示值
|
|
341
|
+
* @defaultValue []
|
|
342
|
+
* @public
|
|
343
|
+
*/
|
|
344
|
+
displayBoList: DisplayBoListItem[];
|
|
345
|
+
/**
|
|
346
|
+
* 查询关键字参数映射
|
|
347
|
+
* @defaultValue ''
|
|
348
|
+
* @public
|
|
349
|
+
*/
|
|
350
|
+
keywordMapping?: string;
|
|
351
|
+
/**
|
|
352
|
+
* 绑定服务
|
|
353
|
+
* @defaultValue ''
|
|
354
|
+
* @public
|
|
355
|
+
*/
|
|
356
|
+
svcCode: string;
|
|
357
|
+
/**
|
|
358
|
+
* 应用Id
|
|
359
|
+
* @defaultValue ''
|
|
360
|
+
* @public
|
|
361
|
+
*/
|
|
362
|
+
appId?: string;
|
|
363
|
+
/**
|
|
364
|
+
* 过滤条件
|
|
365
|
+
* @defaultValue []
|
|
366
|
+
* @public
|
|
367
|
+
*/
|
|
368
|
+
filters?: Array<FieldFilterCondition | FieldFilterConditions>;
|
|
369
|
+
/**
|
|
370
|
+
* 过滤条件-查看过滤
|
|
371
|
+
* @defaultValue []
|
|
372
|
+
* @public
|
|
373
|
+
*/
|
|
374
|
+
viewFilters?: Array<FieldFilterCondition | FieldFilterConditions>;
|
|
375
|
+
/**
|
|
376
|
+
* 是否开启查看过滤
|
|
377
|
+
* @defaultValue 0:未开启;1:开启
|
|
378
|
+
* @public
|
|
379
|
+
*/
|
|
380
|
+
isOpenViewFilters?: number;
|
|
381
|
+
/**
|
|
382
|
+
* 排序
|
|
383
|
+
* @defaultValue []
|
|
384
|
+
* @public
|
|
385
|
+
*/
|
|
386
|
+
orders?: DataSourceOrderItem[];
|
|
387
|
+
/**
|
|
388
|
+
* 显示排序
|
|
389
|
+
* @defaultValue true
|
|
390
|
+
* @public
|
|
391
|
+
*/
|
|
392
|
+
showOrder?: boolean;
|
|
393
|
+
/**
|
|
394
|
+
* 部门或者人员指定部门配置
|
|
395
|
+
* @defaultValue {}
|
|
396
|
+
* @public
|
|
397
|
+
*/
|
|
398
|
+
assignDepartment?: RightVariable;
|
|
399
|
+
/**
|
|
400
|
+
* 部门或者人员指定部门配置是否开启
|
|
401
|
+
* @defaultValue {}
|
|
402
|
+
* @public
|
|
403
|
+
*/
|
|
404
|
+
openAssignDepartment?: boolean;
|
|
405
|
+
constructor(props?: Partial<DataSourceBind>);
|
|
406
|
+
}
|
|
407
|
+
export declare class SelectedContentConfig {
|
|
408
|
+
/**
|
|
409
|
+
* 展示已选内容
|
|
410
|
+
* @defaultValue ''
|
|
411
|
+
* @public
|
|
412
|
+
*/
|
|
413
|
+
dataCode: string;
|
|
414
|
+
/**
|
|
415
|
+
* 展示已选明细
|
|
416
|
+
* @defaultValue []
|
|
417
|
+
* @public
|
|
418
|
+
*/
|
|
419
|
+
displayBoList: any[];
|
|
420
|
+
constructor(props?: Partial<SelectedContentConfig>);
|
|
421
|
+
}
|
|
422
|
+
export interface CustomAttribute {
|
|
423
|
+
key: string;
|
|
424
|
+
name: string;
|
|
425
|
+
required?: boolean;
|
|
426
|
+
}
|
|
427
|
+
export declare class LinkOperationOption {
|
|
428
|
+
code: string;
|
|
429
|
+
color: string;
|
|
430
|
+
command: undefined | string;
|
|
431
|
+
confirmMessage: undefined;
|
|
432
|
+
defaultState: string;
|
|
433
|
+
formKey: undefined | string;
|
|
434
|
+
formType?: string;
|
|
435
|
+
icon: string;
|
|
436
|
+
needConfirm: boolean;
|
|
437
|
+
openType: string;
|
|
438
|
+
priorityProcess: boolean;
|
|
439
|
+
constructor(props?: Partial<LinkOperationOption>);
|
|
440
|
+
}
|
|
441
|
+
export declare class CustomAttributeItem {
|
|
442
|
+
name: string;
|
|
443
|
+
key: string;
|
|
444
|
+
value: DisplayBoListItem[];
|
|
445
|
+
constructor(props?: Partial<CustomAttributeItem>);
|
|
446
|
+
}
|
|
447
|
+
export declare class SuperDataSourceBind extends DataSourceBind {
|
|
448
|
+
attributes: CustomAttributeItem[];
|
|
449
|
+
constructor(props?: Omit<Partial<SuperDataSourceBind>, 'attributes'> & {
|
|
450
|
+
attributes?: Partial<CustomAttributeItem>[];
|
|
451
|
+
});
|
|
452
|
+
}
|
|
453
|
+
export declare class OrganizationDataSourceBind extends DataSourceBind {
|
|
454
|
+
attributes: CustomAttributeItem[];
|
|
455
|
+
formCode: string;
|
|
456
|
+
constructor(props?: Omit<Partial<OrganizationDataSourceBind>, 'attributes'> & {
|
|
457
|
+
attributes?: Partial<CustomAttributeItem>[];
|
|
458
|
+
});
|
|
459
|
+
}
|
|
460
|
+
export declare class TreeDataSourceBind extends SuperDataSourceBind {
|
|
461
|
+
rootNode: RightVariable;
|
|
462
|
+
filterCode?: String;
|
|
463
|
+
constructor(props?: Omit<Partial<TreeDataSourceBind>, 'attributes'> & {
|
|
464
|
+
attributes?: Partial<CustomAttributeItem>[];
|
|
465
|
+
});
|
|
466
|
+
}
|
|
467
|
+
declare class FillBind {
|
|
468
|
+
dataCode: string;
|
|
469
|
+
appId: string;
|
|
470
|
+
fillList: MultistageFillingItem[];
|
|
471
|
+
constructor(props?: Partial<FillBind>);
|
|
472
|
+
}
|
|
473
|
+
/**
|
|
474
|
+
* FillPayloadBind 填充配置
|
|
475
|
+
* 填充的配置和需要携带的数据
|
|
476
|
+
* @public
|
|
477
|
+
* */
|
|
478
|
+
export declare class FillPayloadBind extends FillBind {
|
|
479
|
+
/**
|
|
480
|
+
* 数据源过滤条件
|
|
481
|
+
* @defaultValue []
|
|
482
|
+
* @public
|
|
483
|
+
**/
|
|
484
|
+
filters: Array<FieldFilterCondition | FieldFilterConditions>;
|
|
485
|
+
/**
|
|
486
|
+
* 数据源过滤条件-查看
|
|
487
|
+
* @defaultValue []
|
|
488
|
+
* @public
|
|
489
|
+
**/
|
|
490
|
+
viewFilters: Array<FieldFilterCondition | FieldFilterConditions>;
|
|
491
|
+
/**
|
|
492
|
+
* 数据源排序条件
|
|
493
|
+
* @defaultValue []
|
|
494
|
+
* @public
|
|
495
|
+
**/
|
|
496
|
+
orders: DataSourceOrderItem[];
|
|
497
|
+
constructor(props?: Partial<FillPayloadBind>);
|
|
498
|
+
}
|
|
499
|
+
/**
|
|
500
|
+
* FillBackBind 回填需要的配置和参数
|
|
501
|
+
* @public
|
|
502
|
+
*/
|
|
503
|
+
export declare class FillBackBind extends FillBind {
|
|
504
|
+
/**
|
|
505
|
+
* 回填模式。current 当前表(根据按钮所在位置来区分,而不是通过主表和子表来区分)| subtable 子表
|
|
506
|
+
* @defaultValue 'current'
|
|
507
|
+
* @public
|
|
508
|
+
* */
|
|
509
|
+
mode: 'current' | 'subtable';
|
|
510
|
+
/**
|
|
511
|
+
* 多选
|
|
512
|
+
* @defaultValue false
|
|
513
|
+
* @public
|
|
514
|
+
*/
|
|
515
|
+
multiple: boolean;
|
|
516
|
+
constructor(props?: Partial<FillBackBind>);
|
|
517
|
+
}
|
|
518
|
+
/**
|
|
519
|
+
* 目前仅subtable,未来的dataview/datagrid/datalist使用该接口
|
|
520
|
+
* dataview/datalist都支持嵌套使用
|
|
521
|
+
*/
|
|
522
|
+
export interface DataSourceBindLayout {
|
|
523
|
+
getChildrenFormControl(): unknown[];
|
|
524
|
+
getChildrenDataSourceBindLayout(): unknown[];
|
|
525
|
+
}
|
|
526
|
+
export declare class Language {
|
|
527
|
+
zh: string;
|
|
528
|
+
en: string;
|
|
529
|
+
ja: string;
|
|
530
|
+
constructor(props?: Partial<Language>);
|
|
531
|
+
}
|
|
532
|
+
/**
|
|
533
|
+
* 正则校验
|
|
534
|
+
* @public
|
|
535
|
+
*/
|
|
536
|
+
export declare class RegularRules {
|
|
537
|
+
/**
|
|
538
|
+
* 内置模版
|
|
539
|
+
* @defaultValue ''
|
|
540
|
+
*/
|
|
541
|
+
stencilName: string;
|
|
542
|
+
/**
|
|
543
|
+
* 正则表达式
|
|
544
|
+
* @defaultValue ''
|
|
545
|
+
*/
|
|
546
|
+
expression: string;
|
|
547
|
+
/**
|
|
548
|
+
* 校验错误提示信息
|
|
549
|
+
* @defaultValue ''
|
|
550
|
+
*/
|
|
551
|
+
errMessage: string;
|
|
552
|
+
constructor(props?: Partial<RegularRules>);
|
|
553
|
+
}
|
|
554
|
+
/**
|
|
555
|
+
* 选项设置-自定义选项
|
|
556
|
+
* @public
|
|
557
|
+
*/
|
|
558
|
+
export declare class OptionSetting {
|
|
559
|
+
readonly id: string;
|
|
560
|
+
/**
|
|
561
|
+
* 显示值
|
|
562
|
+
* @defaultValue ''
|
|
563
|
+
* @public
|
|
564
|
+
*/
|
|
565
|
+
label: string;
|
|
566
|
+
/**
|
|
567
|
+
* 选项ID
|
|
568
|
+
* @defaultValue this.label
|
|
569
|
+
* @public
|
|
570
|
+
*/
|
|
571
|
+
value: string;
|
|
572
|
+
constructor(props?: Partial<OptionSetting>);
|
|
573
|
+
}
|
|
574
|
+
export declare class ImageOptionSetting extends OptionSetting {
|
|
575
|
+
image: string;
|
|
576
|
+
type: 'attachment' | 'src';
|
|
577
|
+
constructor(props?: Partial<ImageOptionSetting>);
|
|
578
|
+
}
|
|
579
|
+
export declare function initOptions(options?: Partial<OptionSetting>[]): OptionSetting[];
|
|
580
|
+
export declare function initImageOptions(options?: Partial<ImageOptionSetting>[]): ImageOptionSetting[];
|
|
581
|
+
/**
|
|
582
|
+
* 对象类型数据绑定配置
|
|
583
|
+
* @public
|
|
584
|
+
*/
|
|
585
|
+
export declare class ObjectDataBind {
|
|
586
|
+
/**
|
|
587
|
+
* 绑定配置
|
|
588
|
+
*/
|
|
589
|
+
[key: string]: DataBind;
|
|
590
|
+
}
|
|
591
|
+
/**
|
|
592
|
+
* 金额控件数据绑定配置
|
|
593
|
+
* @public
|
|
594
|
+
*/
|
|
595
|
+
export declare class AmountDataBind extends ObjectDataBind {
|
|
596
|
+
/**
|
|
597
|
+
* 金额字段绑定配置
|
|
598
|
+
*/
|
|
599
|
+
amount: DataBind;
|
|
600
|
+
/**
|
|
601
|
+
* 币种字段绑定配置
|
|
602
|
+
*/
|
|
603
|
+
currency: DataBind;
|
|
604
|
+
constructor(props?: Partial<AmountDataBind>);
|
|
605
|
+
}
|
|
606
|
+
/**
|
|
607
|
+
* 金额控件值
|
|
608
|
+
* @public
|
|
609
|
+
*/
|
|
610
|
+
export declare class AmountValue {
|
|
611
|
+
/**
|
|
612
|
+
* 金额值
|
|
613
|
+
* @defaultValue ''
|
|
614
|
+
*/
|
|
615
|
+
amount: number | '';
|
|
616
|
+
/**
|
|
617
|
+
* 货币值
|
|
618
|
+
* @defaultValue 'CNY'
|
|
619
|
+
*/
|
|
620
|
+
currency: AMOUNT_TYPE;
|
|
621
|
+
constructor(props?: Partial<AmountValue>);
|
|
622
|
+
}
|
|
623
|
+
/**
|
|
624
|
+
* 日期区间数据绑定项
|
|
625
|
+
* @public
|
|
626
|
+
*/
|
|
627
|
+
export declare class RangeDataBind extends ObjectDataBind {
|
|
628
|
+
/**
|
|
629
|
+
* 开始日期字段绑定项
|
|
630
|
+
*/
|
|
631
|
+
min: DataBind;
|
|
632
|
+
/**
|
|
633
|
+
* 结束日期字段绑定项
|
|
634
|
+
*/
|
|
635
|
+
max: DataBind;
|
|
636
|
+
constructor(props?: Partial<RangeDataBind>);
|
|
637
|
+
}
|
|
638
|
+
/**
|
|
639
|
+
* 日期区间值
|
|
640
|
+
* @public
|
|
641
|
+
*/
|
|
642
|
+
export declare class RangeDateValue {
|
|
643
|
+
/**
|
|
644
|
+
* 开始日期值
|
|
645
|
+
* @defaultValue ''
|
|
646
|
+
*/
|
|
647
|
+
min: string;
|
|
648
|
+
/**
|
|
649
|
+
* 结束日期值
|
|
650
|
+
* @defaultValue ''
|
|
651
|
+
*/
|
|
652
|
+
max: string;
|
|
653
|
+
constructor(props?: Partial<RangeDateValue>);
|
|
654
|
+
}
|
|
655
|
+
/**
|
|
656
|
+
* 地址值
|
|
657
|
+
* @public
|
|
658
|
+
*/
|
|
659
|
+
export declare class AddressValue {
|
|
660
|
+
/**
|
|
661
|
+
* 市编码
|
|
662
|
+
* @defaultValue ''
|
|
663
|
+
*/
|
|
664
|
+
city?: string;
|
|
665
|
+
/**
|
|
666
|
+
* 市显示文字
|
|
667
|
+
* @defaultValue ''
|
|
668
|
+
*/
|
|
669
|
+
cityDisplay?: string;
|
|
670
|
+
/**
|
|
671
|
+
* 区编码
|
|
672
|
+
* @defaultValue ''
|
|
673
|
+
*/
|
|
674
|
+
district?: string;
|
|
675
|
+
/**
|
|
676
|
+
* 区显示文字
|
|
677
|
+
* @defaultValue ''
|
|
678
|
+
*/
|
|
679
|
+
districtDisplay?: string;
|
|
680
|
+
/**
|
|
681
|
+
* 省编码
|
|
682
|
+
* @defaultValue ''
|
|
683
|
+
*/
|
|
684
|
+
province?: string;
|
|
685
|
+
/**
|
|
686
|
+
* 省显示文字
|
|
687
|
+
* @defaultValue ''
|
|
688
|
+
*/
|
|
689
|
+
provinceDisplay?: string;
|
|
690
|
+
constructor(props?: Partial<AddressValue>);
|
|
691
|
+
}
|
|
692
|
+
/**
|
|
693
|
+
* 计算公式数据绑定项
|
|
694
|
+
* @public
|
|
695
|
+
*/
|
|
696
|
+
export declare class CalcDataBind extends ObjectDataBind {
|
|
697
|
+
/**
|
|
698
|
+
* 计算结果字段绑定项
|
|
699
|
+
*/
|
|
700
|
+
result: DataBind;
|
|
701
|
+
/**
|
|
702
|
+
* 单位字段绑定项
|
|
703
|
+
*/
|
|
704
|
+
unit: DataBind;
|
|
705
|
+
constructor(props?: Partial<CalcDataBind>);
|
|
706
|
+
}
|
|
707
|
+
/**
|
|
708
|
+
* 计算公式值
|
|
709
|
+
* @public
|
|
710
|
+
*/
|
|
711
|
+
export declare class CalcValue {
|
|
712
|
+
/**
|
|
713
|
+
* 计算结果值
|
|
714
|
+
* @defaultValue 0
|
|
715
|
+
*/
|
|
716
|
+
result: number | 0;
|
|
717
|
+
/**
|
|
718
|
+
* 单位
|
|
719
|
+
* @defaultValue ''
|
|
720
|
+
*/
|
|
721
|
+
unit: string;
|
|
722
|
+
constructor(props?: Partial<CalcValue>);
|
|
723
|
+
}
|
|
724
|
+
export declare enum AMOUNT_TYPE {
|
|
725
|
+
CNY = "CNY",
|
|
726
|
+
USD = "USD",
|
|
727
|
+
JPY = "JPY",
|
|
728
|
+
EUR = "EUR",
|
|
729
|
+
INR = "INR",
|
|
730
|
+
IDR = "IDR",
|
|
731
|
+
BRL = "BRL",
|
|
732
|
+
AED = "AED",
|
|
733
|
+
AUD = "AUD",
|
|
734
|
+
CAD = "CAD",
|
|
735
|
+
EGP = "EGP",
|
|
736
|
+
GBP = "GBP",
|
|
737
|
+
ZAR = "ZAR",
|
|
738
|
+
KRW = "KRW",
|
|
739
|
+
MAD = "MAD",
|
|
740
|
+
MXN = "MXN",
|
|
741
|
+
MYR = "MYR",
|
|
742
|
+
PHP = "PHP",
|
|
743
|
+
PLN = "PLN",
|
|
744
|
+
RUB = "RUB",
|
|
745
|
+
SGD = "SGD",
|
|
746
|
+
THB = "THB",
|
|
747
|
+
TRY = "TRY",
|
|
748
|
+
TWD = "TWD",
|
|
749
|
+
VND = "VND",
|
|
750
|
+
HKD = "HKD",
|
|
751
|
+
IEP = "IEP"
|
|
752
|
+
}
|
|
753
|
+
/**
|
|
754
|
+
* 选项设置
|
|
755
|
+
* REQUIRED: 必填
|
|
756
|
+
* isHide: 隐藏
|
|
757
|
+
* IS_SHOW_UNIT: 单位
|
|
758
|
+
* CAN_SEARCH: 支持搜索
|
|
759
|
+
* MULTIPLE: 允许选中多个日期
|
|
760
|
+
* SUBMIT_SELECT_CURRENCY: 提交时选择币种
|
|
761
|
+
*/
|
|
762
|
+
export declare enum COMMON_SETTING_TYPE {
|
|
763
|
+
DEFAULT_DISPLAY = "defaultDisplay",
|
|
764
|
+
REQUIRED = "required",
|
|
765
|
+
IS_HIDE = "isHide",
|
|
766
|
+
IS_SHOW_UNIT = "isShowUnit",
|
|
767
|
+
IMD_SEARCH = "immediatelySearch",
|
|
768
|
+
MULTIPLE = "multiple",
|
|
769
|
+
SUBMIT_SELECT_CURRENCY = "submitSelectCurrency",
|
|
770
|
+
CAPTION = "caption",
|
|
771
|
+
IS_HIDE_CAPTION = "isHideCaption",
|
|
772
|
+
DEFAULT_SHOW_OPTIONS = "defaultShowOptions",
|
|
773
|
+
CAN_SEARCH = "canSearch",
|
|
774
|
+
CAN_CHECK = "canCheck",
|
|
775
|
+
CAN_EDIT = "canEdit",
|
|
776
|
+
CAN_DELETE = "canDelete",
|
|
777
|
+
SHOW_UPPER_CASE = "showUpperCase",
|
|
778
|
+
MICROMETER = "micrometer",
|
|
779
|
+
PRECISION = "precision",
|
|
780
|
+
PERCENTAGE = "percentage",
|
|
781
|
+
OPTIONAL_LEVEL = "optionalLevel",
|
|
782
|
+
CONTAINS_SUB_NODE = "containsSubNode",
|
|
783
|
+
DEFAULT_COLLAPSE = "defaultCollapse",
|
|
784
|
+
CAN_VIEW_FORM = "canViewForm",
|
|
785
|
+
VIEW_FORM_MODEL_TYPE = "viewFormModelType",
|
|
786
|
+
SERVER_PAGINATION = "serverPagination",
|
|
787
|
+
IS_SHOW_CAPTION_TIP = "isShowCaptionTip",
|
|
788
|
+
IS_SHOW_WATERMARK = "isShowWatermark",
|
|
789
|
+
ENCRYPTED = "encrypted",
|
|
790
|
+
IS_INLINE_EDIT = "isInlineEdit",
|
|
791
|
+
REVISIONS_MODE = "revisionsMode",
|
|
792
|
+
ALLOW_COPY_OPTIONS = "allowCopyOptions",
|
|
793
|
+
IS_PASTE = "isPaste",
|
|
794
|
+
SORTABLE = "sortable",
|
|
795
|
+
IS_SHOW_SIMPLE_SEARCH = "isShowSimpleSearch",
|
|
796
|
+
IS_SHOW_TOOL_BAE = "isShowToolbar",
|
|
797
|
+
MAIN_DEPT_FLAG = "mainDeptFlag"
|
|
798
|
+
}
|
|
799
|
+
export declare enum PAGE_STATUS {
|
|
800
|
+
UNKNOWN = 0,
|
|
801
|
+
READONLY = 1,
|
|
802
|
+
EDITABLE = 2,
|
|
803
|
+
PRINT = 5
|
|
804
|
+
}
|
|
805
|
+
/**
|
|
806
|
+
* 操作按钮
|
|
807
|
+
* @public
|
|
808
|
+
*/
|
|
809
|
+
export declare class OperationItem {
|
|
810
|
+
/**
|
|
811
|
+
* 是否显示
|
|
812
|
+
* @defaultValue true
|
|
813
|
+
* @public
|
|
814
|
+
*/
|
|
815
|
+
isShow: boolean;
|
|
816
|
+
/**
|
|
817
|
+
* 优先访问流程表单
|
|
818
|
+
* @defaultValue false
|
|
819
|
+
* @public
|
|
820
|
+
*/
|
|
821
|
+
priorityProcess: boolean;
|
|
822
|
+
/**
|
|
823
|
+
* 表单ID
|
|
824
|
+
* @defaultValue ''
|
|
825
|
+
* @public
|
|
826
|
+
*/
|
|
827
|
+
formKey: string;
|
|
828
|
+
/**
|
|
829
|
+
* 显示文字
|
|
830
|
+
* @defaultValue ''
|
|
831
|
+
* @public
|
|
832
|
+
*/
|
|
833
|
+
content: string;
|
|
834
|
+
/**
|
|
835
|
+
* 打开方式
|
|
836
|
+
* @defaultValue 'modal'
|
|
837
|
+
* @public
|
|
838
|
+
*/
|
|
839
|
+
openType: 'modal' | 'window' | 'dialog' | 'tab';
|
|
840
|
+
readonly type: string;
|
|
841
|
+
constructor(props?: Partial<OperationItem>);
|
|
842
|
+
}
|
|
843
|
+
export declare class ViewOperationItem {
|
|
844
|
+
id: string;
|
|
845
|
+
title: string;
|
|
846
|
+
filters: Array<FieldFilterCondition | FieldFilterConditions>;
|
|
847
|
+
viewFilters: Array<FieldFilterCondition | FieldFilterConditions>;
|
|
848
|
+
headers: ListBindHeaderItem[];
|
|
849
|
+
constructor(props: Partial<ViewOperationItem>);
|
|
850
|
+
}
|
|
851
|
+
/**
|
|
852
|
+
* 自定义权限项,用于Vue容器上,注册自定义的权限
|
|
853
|
+
*/
|
|
854
|
+
export declare class CustomPermissionItem {
|
|
855
|
+
/**
|
|
856
|
+
* 人工输入的权限key
|
|
857
|
+
*/
|
|
858
|
+
key: string;
|
|
859
|
+
/**
|
|
860
|
+
* 权限名称
|
|
861
|
+
*/
|
|
862
|
+
caption: string;
|
|
863
|
+
constructor(props: Partial<CustomPermissionItem>);
|
|
864
|
+
}
|
|
865
|
+
export declare class BaseStyle {
|
|
866
|
+
width: number | '';
|
|
867
|
+
height: number | '';
|
|
868
|
+
widthConfig: 'px' | '%' | 'fill' | 'hug';
|
|
869
|
+
heightConfig: 'px' | '%' | 'fill' | 'hug';
|
|
870
|
+
constructor(props?: Partial<BaseStyle>);
|
|
871
|
+
}
|
|
872
|
+
export declare class OptObject {
|
|
873
|
+
/**
|
|
874
|
+
* 操作项编码
|
|
875
|
+
* @defaultValue ''
|
|
876
|
+
* @public
|
|
877
|
+
*/
|
|
878
|
+
optCode: string;
|
|
879
|
+
/**
|
|
880
|
+
* 操作项类型
|
|
881
|
+
* @defaultValue ''
|
|
882
|
+
* @public
|
|
883
|
+
*/
|
|
884
|
+
optType: string;
|
|
885
|
+
constructor(props?: Partial<OptObject>);
|
|
886
|
+
}
|
|
887
|
+
export declare class RowStyleRule {
|
|
888
|
+
/**
|
|
889
|
+
* 规则编号
|
|
890
|
+
* @defaultValue guid
|
|
891
|
+
* @public
|
|
892
|
+
*/
|
|
893
|
+
id: string;
|
|
894
|
+
/**
|
|
895
|
+
* 规则名称
|
|
896
|
+
* @defaultValue ''
|
|
897
|
+
* @public
|
|
898
|
+
*/
|
|
899
|
+
name: string;
|
|
900
|
+
settings: RowStyleSettings[];
|
|
901
|
+
/**
|
|
902
|
+
* 过滤条件
|
|
903
|
+
* @defaultValue []
|
|
904
|
+
* @public
|
|
905
|
+
*/
|
|
906
|
+
filters?: Array<FieldFilterCondition | FieldFilterConditions>;
|
|
907
|
+
script?: string;
|
|
908
|
+
constructor(props?: Partial<RowStyleRule>);
|
|
909
|
+
}
|
|
910
|
+
export declare class RowStyleSettings {
|
|
911
|
+
/**
|
|
912
|
+
* 颜色值。theme:跟随主题色;#4c78fc:具体颜色值
|
|
913
|
+
* @defaultValue 'theme'
|
|
914
|
+
* @public
|
|
915
|
+
*/
|
|
916
|
+
color: string;
|
|
917
|
+
/**
|
|
918
|
+
* 生效列字段
|
|
919
|
+
*/
|
|
920
|
+
fieldCodes: string[];
|
|
921
|
+
/**
|
|
922
|
+
* 样式类型,background单元格背景色,fontColor单元格字体色
|
|
923
|
+
*/
|
|
924
|
+
type: 'background' | 'fontColor';
|
|
925
|
+
/**
|
|
926
|
+
* 作用范围,row整行,col整列
|
|
927
|
+
*/
|
|
928
|
+
scope: 'row' | 'col';
|
|
929
|
+
constructor(props: Partial<RowStyleSettings>);
|
|
930
|
+
}
|
|
931
|
+
export declare class RowStyle {
|
|
932
|
+
type: 'none' | 'interval' | 'rules';
|
|
933
|
+
interval: {
|
|
934
|
+
color?: string;
|
|
935
|
+
};
|
|
936
|
+
rules: RowStyleRule[];
|
|
937
|
+
constructor(props?: Partial<RowStyle>);
|
|
938
|
+
}
|