@byteluck-fe/model-driven-core 2.5.0-beta.1 → 2.5.0-beta.4

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