@tachybase/plugin-form-design 1.3.22

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (75) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +1 -0
  3. package/client.d.ts +2 -0
  4. package/client.js +1 -0
  5. package/dist/client/constants.d.ts +3 -0
  6. package/dist/client/contexts/EditableSchemaSettingsContext.d.ts +7 -0
  7. package/dist/client/editable-schema-settings/EditableSchemaSettings.d.ts +10 -0
  8. package/dist/client/editable-schema-settings/EditableSchemaSettingsManager.d.ts +23 -0
  9. package/dist/client/editable-schema-settings/index.d.ts +3 -0
  10. package/dist/client/editable-schema-settings/types.d.ts +24 -0
  11. package/dist/client/fields/components/cascadeSelectComponentFieldEditableSettings.d.ts +2 -0
  12. package/dist/client/fields/components/cascaderComponentFieldEditableSettings.d.ts +2 -0
  13. package/dist/client/fields/components/checkboxComponentFieldEditableSettings.d.ts +2 -0
  14. package/dist/client/fields/components/customTitleComponentFieldEditableSettings.d.ts +2 -0
  15. package/dist/client/fields/components/datePickerComponentFieldEditableSettings.d.ts +2 -0
  16. package/dist/client/fields/components/drawerSubTableComponentFieldEditableSettings.d.ts +2 -0
  17. package/dist/client/fields/components/fileManagerComponentFieldEditableSettings.d.ts +2 -0
  18. package/dist/client/fields/components/index.d.ts +15 -0
  19. package/dist/client/fields/components/inputNumberComponentFieldEditableSettings.d.ts +2 -0
  20. package/dist/client/fields/components/radioComponentFieldEditableSettings.d.ts +2 -0
  21. package/dist/client/fields/components/recordPickerComponentFieldEditableSettings.d.ts +2 -0
  22. package/dist/client/fields/components/selectComponentFieldEditableSettings.d.ts +2 -0
  23. package/dist/client/fields/components/subTablePopoverComponentFieldEditableSettings.d.ts +2 -0
  24. package/dist/client/fields/components/subformComponentFieldEditableSettings.d.ts +2 -0
  25. package/dist/client/fields/components/subformPopoverComponentFieldEditableSettings.d.ts +2 -0
  26. package/dist/client/fields/components/tagComponentFieldEditableSettings.d.ts +2 -0
  27. package/dist/client/fields/components/unixTimestampComponentFieldEditableSettings.d.ts +2 -0
  28. package/dist/client/fields/components/uploadAttachmentComponentFieldEditableSettings.d.ts +2 -0
  29. package/dist/client/icons/AddFields.d.ts +1 -0
  30. package/dist/client/icons/index.d.ts +1 -0
  31. package/dist/client/index.d.ts +1 -0
  32. package/dist/client/index.js +194 -0
  33. package/dist/client/initializers/EditableDataBlockInitializer.d.ts +2 -0
  34. package/dist/client/initializers/EditableFormBlockInitialzer.d.ts +152 -0
  35. package/dist/client/initializers/FormDesignModalProvider.d.ts +3 -0
  36. package/dist/client/initializers/components/form-editor/EditableDesignable.d.ts +94 -0
  37. package/dist/client/initializers/components/form-editor/EditableDndContext.d.ts +2 -0
  38. package/dist/client/initializers/components/form-editor/EditableFormItemSchemaToolbar.d.ts +4 -0
  39. package/dist/client/initializers/components/form-editor/EditableFormSchemaToolbar.d.ts +1 -0
  40. package/dist/client/initializers/components/form-editor/EditableGrid.d.ts +1 -0
  41. package/dist/client/initializers/components/form-editor/EditableGrid.style.d.ts +4 -0
  42. package/dist/client/initializers/components/form-editor/EditableSelectedFieldContext.d.ts +19 -0
  43. package/dist/client/initializers/components/form-editor/EditableSelectedFormContent.d.ts +19 -0
  44. package/dist/client/initializers/components/form-editor/EditorContent.d.ts +6 -0
  45. package/dist/client/initializers/components/form-editor/EditorFieldFormProperty.d.ts +5 -0
  46. package/dist/client/initializers/components/form-editor/EditorFieldsSider.d.ts +5 -0
  47. package/dist/client/initializers/components/form-editor/EditorHeader.d.ts +4 -0
  48. package/dist/client/initializers/components/form-editor/FormSchemaEditor.d.ts +15 -0
  49. package/dist/client/initializers/components/form-editor/createFormBlockEditableSettings.d.ts +2 -0
  50. package/dist/client/initializers/components/form-editor/fieldsInterfaceEditableSettings.d.ts +3 -0
  51. package/dist/client/initializers/components/form-editor/formItemFieldEditableSettings.d.ts +18 -0
  52. package/dist/client/initializers/components/form-editor/index.d.ts +4 -0
  53. package/dist/client/initializers/components/form-editor/interfaceSchemaOptions.d.ts +2153 -0
  54. package/dist/client/initializers/components/form-editor/styles.d.ts +61 -0
  55. package/dist/client/initializers/components/schemaSetting/openFormEditablePage.d.ts +1 -0
  56. package/dist/client/initializers/constants/systemFields.d.ts +59 -0
  57. package/dist/client/initializers/contexts/FormDesign.d.ts +8 -0
  58. package/dist/client/initializers/contexts/PageRefresh.d.ts +4 -0
  59. package/dist/client/initializers/contexts/PageRefreshContext.d.ts +10 -0
  60. package/dist/client/initializers/formDesignInitializerItem.d.ts +2 -0
  61. package/dist/client/locale.d.ts +5 -0
  62. package/dist/client/plugin.d.ts +10 -0
  63. package/dist/client/schema-settings/openEditablePage.d.ts +7 -0
  64. package/dist/externalVersion.js +13 -0
  65. package/dist/index.d.ts +2 -0
  66. package/dist/index.js +39 -0
  67. package/dist/locale/en-US.json +13 -0
  68. package/dist/locale/zh-CN.json +13 -0
  69. package/dist/server/index.d.ts +1 -0
  70. package/dist/server/index.js +33 -0
  71. package/dist/server/plugin.d.ts +11 -0
  72. package/dist/server/plugin.js +45 -0
  73. package/package.json +25 -0
  74. package/server.d.ts +2 -0
  75. package/server.js +1 -0
@@ -0,0 +1,2153 @@
1
+ export declare const getProperties: (fieldInterface: keyof typeof interfaceSchemaMap) => {
2
+ grid: {
3
+ type: string;
4
+ 'x-component': string;
5
+ properties: {
6
+ row1: {
7
+ type: string;
8
+ 'x-component': string;
9
+ properties: {
10
+ col11: {
11
+ type: string;
12
+ 'x-component': string;
13
+ properties: {
14
+ source: {
15
+ type: string;
16
+ title: string;
17
+ 'x-decorator': string;
18
+ 'x-component': string;
19
+ 'x-disabled': boolean;
20
+ };
21
+ };
22
+ };
23
+ col12: {
24
+ type: string;
25
+ 'x-component': string;
26
+ properties: {
27
+ target: {
28
+ type: string;
29
+ title: string;
30
+ required: boolean;
31
+ 'x-decorator': string;
32
+ 'x-component': string;
33
+ };
34
+ };
35
+ };
36
+ };
37
+ };
38
+ row2: {
39
+ type: string;
40
+ 'x-component': string;
41
+ properties: {
42
+ col21: {
43
+ type: string;
44
+ 'x-component': string;
45
+ properties: {
46
+ sourceKey: {
47
+ type: string;
48
+ title: string;
49
+ description: string;
50
+ 'x-decorator': string;
51
+ 'x-component': string;
52
+ };
53
+ };
54
+ };
55
+ col22: {
56
+ type: string;
57
+ 'x-component': string;
58
+ properties: {
59
+ foreignKey: {
60
+ type: string;
61
+ title: string;
62
+ required: boolean;
63
+ description: string;
64
+ 'x-decorator': string;
65
+ 'x-component': string;
66
+ 'x-validator': string;
67
+ 'x-disabled': boolean;
68
+ };
69
+ };
70
+ };
71
+ };
72
+ };
73
+ };
74
+ };
75
+ } | {
76
+ grid: {
77
+ type: string;
78
+ 'x-component': string;
79
+ properties: {
80
+ row1: {
81
+ type: string;
82
+ 'x-component': string;
83
+ properties: {
84
+ col11: {
85
+ type: string;
86
+ 'x-component': string;
87
+ properties: {
88
+ source: {
89
+ type: string;
90
+ title: string;
91
+ 'x-decorator': string;
92
+ 'x-component': string;
93
+ 'x-disabled': boolean;
94
+ };
95
+ };
96
+ };
97
+ col12: {
98
+ type: string;
99
+ 'x-component': string;
100
+ properties: {
101
+ target: {
102
+ type: string;
103
+ title: string;
104
+ required: boolean;
105
+ 'x-decorator': string;
106
+ 'x-component': string;
107
+ };
108
+ };
109
+ };
110
+ };
111
+ };
112
+ row2: {
113
+ type: string;
114
+ 'x-component': string;
115
+ properties: {
116
+ col21: {
117
+ type: string;
118
+ 'x-component': string;
119
+ properties: {
120
+ sourceKey: {
121
+ type: string;
122
+ title: string;
123
+ description: string;
124
+ 'x-decorator': string;
125
+ 'x-component': string;
126
+ };
127
+ };
128
+ };
129
+ col22: {
130
+ type: string;
131
+ 'x-component': string;
132
+ properties: {
133
+ foreignKey: {
134
+ type: string;
135
+ title: string;
136
+ required: boolean;
137
+ default: string;
138
+ description: string;
139
+ 'x-decorator': string;
140
+ 'x-component': string;
141
+ 'x-validator': string;
142
+ };
143
+ };
144
+ };
145
+ };
146
+ };
147
+ };
148
+ };
149
+ } | {
150
+ grid: {
151
+ type: string;
152
+ 'x-component': string;
153
+ properties: {
154
+ row1: {
155
+ type: string;
156
+ 'x-component': string;
157
+ properties: {
158
+ col11: {
159
+ type: string;
160
+ 'x-component': string;
161
+ properties: {
162
+ source: {
163
+ type: string;
164
+ title: string;
165
+ 'x-decorator': string;
166
+ 'x-component': string;
167
+ 'x-disabled': boolean;
168
+ };
169
+ };
170
+ };
171
+ col12: {
172
+ type: string;
173
+ 'x-component': string;
174
+ properties: {
175
+ target: {
176
+ type: string;
177
+ title: string;
178
+ required: boolean;
179
+ 'x-decorator': string;
180
+ 'x-component': string;
181
+ };
182
+ };
183
+ };
184
+ };
185
+ };
186
+ row2: {
187
+ type: string;
188
+ 'x-component': string;
189
+ properties: {
190
+ col21: {
191
+ type: string;
192
+ 'x-component': string;
193
+ properties: {
194
+ foreignKey: {
195
+ type: string;
196
+ title: string;
197
+ required: boolean;
198
+ description: string;
199
+ 'x-decorator': string;
200
+ 'x-component': string;
201
+ 'x-validator': string;
202
+ 'x-disabled': boolean;
203
+ };
204
+ };
205
+ };
206
+ col22: {
207
+ type: string;
208
+ 'x-component': string;
209
+ properties: {
210
+ targetKey: {
211
+ type: string;
212
+ title: string;
213
+ default: string;
214
+ description: string;
215
+ 'x-decorator': string;
216
+ 'x-component': string;
217
+ };
218
+ };
219
+ };
220
+ };
221
+ };
222
+ };
223
+ };
224
+ } | {
225
+ grid: {
226
+ type: string;
227
+ 'x-component': string;
228
+ properties: {
229
+ row1: {
230
+ type: string;
231
+ 'x-component': string;
232
+ properties: {
233
+ col11: {
234
+ type: string;
235
+ 'x-component': string;
236
+ properties: {
237
+ source: {
238
+ type: string;
239
+ title: string;
240
+ 'x-decorator': string;
241
+ 'x-component': string;
242
+ 'x-disabled': boolean;
243
+ };
244
+ };
245
+ };
246
+ col12: {
247
+ type: string;
248
+ 'x-component': string;
249
+ properties: {
250
+ through: {
251
+ type: string;
252
+ title: string;
253
+ description: string;
254
+ 'x-decorator': string;
255
+ 'x-disabled': string;
256
+ 'x-component': string;
257
+ 'x-component-props': {
258
+ allowClear: boolean;
259
+ };
260
+ };
261
+ };
262
+ };
263
+ col13: {
264
+ type: string;
265
+ 'x-component': string;
266
+ properties: {
267
+ target: {
268
+ type: string;
269
+ title: string;
270
+ required: boolean;
271
+ 'x-decorator': string;
272
+ 'x-component': string;
273
+ };
274
+ };
275
+ };
276
+ };
277
+ };
278
+ row2: {
279
+ type: string;
280
+ 'x-component': string;
281
+ properties: {
282
+ col21: {
283
+ type: string;
284
+ 'x-component': string;
285
+ properties: {
286
+ sourceKey: {
287
+ type: string;
288
+ title: string;
289
+ description: string;
290
+ 'x-decorator': string;
291
+ 'x-component': string;
292
+ 'x-disabled': boolean;
293
+ };
294
+ };
295
+ };
296
+ col22: {
297
+ type: string;
298
+ 'x-component': string;
299
+ properties: {
300
+ foreignKey: {
301
+ type: string;
302
+ title: string;
303
+ required: boolean;
304
+ default: string;
305
+ description: string;
306
+ 'x-decorator': string;
307
+ 'x-component': string;
308
+ 'x-validator': string;
309
+ 'x-disabled': boolean;
310
+ };
311
+ };
312
+ };
313
+ col23: {
314
+ type: string;
315
+ 'x-component': string;
316
+ properties: {};
317
+ };
318
+ };
319
+ };
320
+ row3: {
321
+ type: string;
322
+ 'x-component': string;
323
+ properties: {
324
+ col21: {
325
+ type: string;
326
+ 'x-component': string;
327
+ properties: {};
328
+ };
329
+ col22: {
330
+ type: string;
331
+ 'x-component': string;
332
+ properties: {
333
+ otherKey: {
334
+ type: string;
335
+ title: string;
336
+ required: boolean;
337
+ default: string;
338
+ description: string;
339
+ 'x-decorator': string;
340
+ 'x-component': string;
341
+ 'x-validator': string;
342
+ 'x-disabled': boolean;
343
+ };
344
+ };
345
+ };
346
+ col23: {
347
+ type: string;
348
+ 'x-component': string;
349
+ properties: {
350
+ targetKey: {
351
+ type: string;
352
+ default: string;
353
+ title: string;
354
+ 'x-decorator': string;
355
+ 'x-component': string;
356
+ description: string;
357
+ };
358
+ };
359
+ };
360
+ };
361
+ };
362
+ };
363
+ };
364
+ } | {
365
+ 'uiSchema.x-component-props.addonBefore': {
366
+ type: string;
367
+ title: string;
368
+ 'x-decorator': string;
369
+ 'x-component': string;
370
+ };
371
+ 'uiSchema.x-component-props.addonAfter': {
372
+ type: string;
373
+ title: string;
374
+ 'x-decorator': string;
375
+ 'x-component': string;
376
+ };
377
+ unique: {
378
+ type: string;
379
+ 'x-content': string;
380
+ 'x-decorator': string;
381
+ 'x-component': string;
382
+ 'x-reactions': {
383
+ dependencies: string[];
384
+ when: string;
385
+ fulfill: {
386
+ state: {
387
+ value: boolean;
388
+ };
389
+ };
390
+ }[];
391
+ };
392
+ 'uiSchema.x-component-props.step': {
393
+ type: string;
394
+ title: string;
395
+ 'x-component': string;
396
+ 'x-decorator': string;
397
+ default: string;
398
+ enum: {
399
+ value: string;
400
+ label: string;
401
+ }[];
402
+ };
403
+ } | {
404
+ 'uiSchema.x-component-props.addonBefore': {
405
+ type: string;
406
+ title: string;
407
+ 'x-decorator': string;
408
+ 'x-component': string;
409
+ };
410
+ 'uiSchema.x-component-props.addonAfter': {
411
+ type: string;
412
+ title: string;
413
+ 'x-decorator': string;
414
+ 'x-component': string;
415
+ };
416
+ layout: {
417
+ type: string;
418
+ title: string;
419
+ 'x-component': string;
420
+ 'x-decorator': string;
421
+ 'x-decorator-props': {
422
+ style: {
423
+ marginBottom: string;
424
+ };
425
+ };
426
+ properties: {
427
+ primaryKey: {
428
+ type: string;
429
+ 'x-content': string;
430
+ 'x-decorator': string;
431
+ 'x-component': string;
432
+ 'x-reactions': {
433
+ dependencies: string[];
434
+ when: string;
435
+ fulfill: {
436
+ state: {
437
+ value: boolean;
438
+ };
439
+ };
440
+ }[];
441
+ };
442
+ unique: {
443
+ type: string;
444
+ 'x-content': string;
445
+ 'x-decorator': string;
446
+ 'x-component': string;
447
+ 'x-reactions': {
448
+ dependencies: string[];
449
+ when: string;
450
+ fulfill: {
451
+ state: {
452
+ value: boolean;
453
+ };
454
+ };
455
+ }[];
456
+ };
457
+ };
458
+ };
459
+ autoIncrement: {
460
+ type: string;
461
+ title: string;
462
+ 'x-content': string;
463
+ 'x-decorator': string;
464
+ 'x-component': string;
465
+ 'x-disabled': string;
466
+ };
467
+ } | {
468
+ 'uiSchema.enum': import("@tachybase/schema").Stringify<{
469
+ [key: symbol]: any;
470
+ [key: `x-${string}`]: any;
471
+ [key: `x-${number}`]: any;
472
+ version?: string;
473
+ name?: import("@tachybase/schema").SchemaKey;
474
+ title?: any;
475
+ description?: any;
476
+ default?: any;
477
+ readOnly?: boolean;
478
+ writeOnly?: boolean;
479
+ type?: import("@tachybase/schema").SchemaTypes;
480
+ enum?: import("@tachybase/schema").SchemaEnum<any>;
481
+ const?: any;
482
+ multipleOf?: number;
483
+ maximum?: number;
484
+ exclusiveMaximum?: number;
485
+ minimum?: number;
486
+ exclusiveMinimum?: number;
487
+ maxLength?: number;
488
+ minLength?: number;
489
+ pattern?: string | RegExp;
490
+ maxItems?: number;
491
+ minItems?: number;
492
+ uniqueItems?: boolean;
493
+ maxProperties?: number;
494
+ minProperties?: number;
495
+ required?: string[] | boolean | string;
496
+ format?: string;
497
+ $ref?: string;
498
+ $namespace?: string;
499
+ definitions?: import("@tachybase/schema").SchemaProperties<any, any, any, any, any, any, any, any>;
500
+ properties?: import("@tachybase/schema").SchemaProperties<any, any, any, any, any, any, any, any>;
501
+ items?: import("@tachybase/schema").SchemaItems<any, any, any, any, any, any, any, any>;
502
+ additionalItems?: import("@tachybase/schema").Stringify</*elided*/ any>;
503
+ patternProperties?: import("@tachybase/schema").SchemaProperties<any, any, any, any, any, any, any, any>;
504
+ additionalProperties?: import("@tachybase/schema").Stringify</*elided*/ any>;
505
+ "x-value"?: any;
506
+ "x-index"?: number;
507
+ "x-pattern"?: any;
508
+ "x-display"?: any;
509
+ "x-validator"?: any;
510
+ "x-decorator"?: any;
511
+ "x-decorator-props"?: any;
512
+ "x-component"?: any;
513
+ "x-component-props"?: any;
514
+ "x-reactions"?: import("@tachybase/schema").SchemaReactions<any>;
515
+ "x-content"?: any;
516
+ "x-data"?: any;
517
+ "x-visible"?: boolean;
518
+ "x-hidden"?: boolean;
519
+ "x-disabled"?: boolean;
520
+ "x-editable"?: boolean;
521
+ "x-read-only"?: boolean;
522
+ "x-read-pretty"?: boolean;
523
+ "x-compile-omitted"?: string[];
524
+ }>;
525
+ } | {
526
+ 'uiSchema.x-component-props.showUnchecked': {
527
+ type: string;
528
+ title: string;
529
+ default: boolean;
530
+ 'x-decorator': string;
531
+ 'x-component': string;
532
+ };
533
+ } | {
534
+ 'uiSchema.x-component-props.accept': {
535
+ type: string;
536
+ title: string;
537
+ 'x-component': string;
538
+ 'x-decorator': string;
539
+ description: string;
540
+ default: string;
541
+ };
542
+ 'uiSchema.x-component-props.multiple': {
543
+ type: string;
544
+ 'x-content': string;
545
+ 'x-decorator': string;
546
+ 'x-component': string;
547
+ default: boolean;
548
+ };
549
+ storage: {
550
+ type: string;
551
+ title: string;
552
+ description: string;
553
+ 'x-decorator': string;
554
+ 'x-component': string;
555
+ 'x-component-props': {
556
+ service: {
557
+ resource: string;
558
+ params: {};
559
+ };
560
+ manual: boolean;
561
+ fieldNames: {
562
+ label: string;
563
+ value: string;
564
+ };
565
+ };
566
+ };
567
+ } | {
568
+ 'uiSchema.x-component-props.gmt': {
569
+ type: string;
570
+ title: string;
571
+ 'x-hidden': boolean;
572
+ 'x-component': string;
573
+ 'x-content': string;
574
+ 'x-decorator': string;
575
+ default: boolean;
576
+ };
577
+ } | {
578
+ 'uiSchema.x-component-props.accuracy': {
579
+ type: string;
580
+ title: string;
581
+ 'x-component': string;
582
+ 'x-decorator': string;
583
+ default: string;
584
+ enum: {
585
+ value: string;
586
+ label: string;
587
+ }[];
588
+ };
589
+ } | {
590
+ 'uiSchema.x-component-props.format': {
591
+ type: string;
592
+ title: string;
593
+ 'x-component': string;
594
+ 'x-decorator': string;
595
+ default: string;
596
+ enum: {
597
+ label: string;
598
+ value: string;
599
+ }[];
600
+ };
601
+ } | {
602
+ customAlphabet: {
603
+ type: string;
604
+ title: string;
605
+ default: string;
606
+ 'x-decorator': string;
607
+ 'x-component': string;
608
+ };
609
+ size: {
610
+ type: string;
611
+ title: string;
612
+ default: number;
613
+ 'x-decorator': string;
614
+ 'x-component': string;
615
+ };
616
+ } | {
617
+ scopeKey: {
618
+ type: string;
619
+ title: string;
620
+ 'x-disabled': string;
621
+ 'x-decorator': string;
622
+ 'x-component': string;
623
+ enum: string;
624
+ description: string;
625
+ };
626
+ } | {
627
+ dataType: {
628
+ type: string;
629
+ title: string;
630
+ 'x-decorator': string;
631
+ 'x-component': string;
632
+ 'x-disabled': string;
633
+ enum: {
634
+ value: string;
635
+ label: string;
636
+ }[];
637
+ required: boolean;
638
+ default: string;
639
+ };
640
+ 'uiSchema.x-component-props.addonAfter': {
641
+ type: string;
642
+ title: string;
643
+ 'x-decorator': string;
644
+ 'x-component': string;
645
+ };
646
+ 'uiSchema.x-component-props.step': {
647
+ type: string;
648
+ title: string;
649
+ 'x-component': string;
650
+ 'x-decorator': string;
651
+ required: boolean;
652
+ default: string;
653
+ enum: {
654
+ value: string;
655
+ label: string;
656
+ }[];
657
+ 'x-reactions': {
658
+ dependencies: string[];
659
+ fulfill: {
660
+ state: {
661
+ display: string;
662
+ };
663
+ };
664
+ }[];
665
+ };
666
+ 'uiSchema.x-component-props.dateFormat': any;
667
+ 'uiSchema.x-component-props.showTime': any;
668
+ 'uiSchema.x-component-props.timeFormat': any;
669
+ engine: {
670
+ type: string;
671
+ title: string;
672
+ 'x-decorator': string;
673
+ 'x-component': string;
674
+ enum: any[];
675
+ required: boolean;
676
+ default: string;
677
+ };
678
+ expression: {
679
+ type: string;
680
+ title: string;
681
+ required: boolean;
682
+ 'x-component': string;
683
+ 'x-decorator': string;
684
+ 'x-component-props': {
685
+ supports: string[];
686
+ useCurrentFields: string;
687
+ };
688
+ 'x-reactions': {
689
+ dependencies: string[];
690
+ fulfill: {
691
+ schema: {
692
+ description: string;
693
+ };
694
+ };
695
+ };
696
+ "x-validator"(value: any, rules: any, { form }: {
697
+ form: any;
698
+ }): string;
699
+ };
700
+ } | {
701
+ unique: {
702
+ type: string;
703
+ 'x-content': string;
704
+ 'x-decorator': string;
705
+ 'x-component': string;
706
+ 'x-reactions': {
707
+ dependencies: string[];
708
+ when: string;
709
+ fulfill: {
710
+ state: {
711
+ value: boolean;
712
+ };
713
+ };
714
+ }[];
715
+ };
716
+ patterns: {
717
+ type: string;
718
+ title: string;
719
+ required: boolean;
720
+ 'x-decorator': string;
721
+ 'x-component': string;
722
+ items: {
723
+ type: string;
724
+ properties: {
725
+ sort: {
726
+ type: string;
727
+ 'x-component': string;
728
+ 'x-component-props': {
729
+ width: number;
730
+ title: string;
731
+ align: string;
732
+ };
733
+ properties: {
734
+ sort: {
735
+ type: string;
736
+ 'x-component': string;
737
+ };
738
+ };
739
+ };
740
+ type: {
741
+ type: string;
742
+ 'x-component': string;
743
+ 'x-component-props': {
744
+ title: string;
745
+ };
746
+ properties: {
747
+ type: {
748
+ type: string;
749
+ name: string;
750
+ required: boolean;
751
+ 'x-decorator': string;
752
+ 'x-component': typeof RuleTypeSelect;
753
+ };
754
+ };
755
+ };
756
+ options: {
757
+ type: string;
758
+ 'x-component': string;
759
+ 'x-component-props': {
760
+ title: string;
761
+ };
762
+ properties: {
763
+ options: {
764
+ type: string;
765
+ name: string;
766
+ 'x-component': typeof RuleOptions;
767
+ };
768
+ };
769
+ };
770
+ operations: {
771
+ type: string;
772
+ 'x-component': string;
773
+ 'x-component-props': {
774
+ title: string;
775
+ dataIndex: string;
776
+ fixed: string;
777
+ className: string;
778
+ };
779
+ properties: {
780
+ config: {
781
+ type: string;
782
+ properties: {
783
+ options: {
784
+ type: string;
785
+ 'x-component': typeof RuleConfigForm;
786
+ };
787
+ };
788
+ };
789
+ remove: {
790
+ type: string;
791
+ 'x-component': string;
792
+ };
793
+ };
794
+ };
795
+ };
796
+ };
797
+ properties: {
798
+ add: {
799
+ type: string;
800
+ 'x-component': string;
801
+ 'x-component-props': {
802
+ defaultValue: {
803
+ type: string;
804
+ options: {
805
+ digits: number;
806
+ start: number;
807
+ };
808
+ };
809
+ };
810
+ title: string;
811
+ };
812
+ };
813
+ };
814
+ inputable: {
815
+ type: string;
816
+ title: string;
817
+ 'x-decorator': string;
818
+ 'x-component': string;
819
+ };
820
+ match: {
821
+ type: string;
822
+ title: string;
823
+ 'x-decorator': string;
824
+ 'x-component': string;
825
+ 'x-reactions': {
826
+ dependencies: string[];
827
+ fulfill: {
828
+ state: {
829
+ value: string;
830
+ visible: string;
831
+ };
832
+ };
833
+ };
834
+ };
835
+ };
836
+ export declare function isSpecialInterrface(fieldInterface?: string): fieldInterface is SpecialInterface;
837
+ type SpecialInterface = keyof typeof interfaceSchemaMap;
838
+ declare function RuleTypeSelect(props: any): import("react/jsx-runtime").JSX.Element;
839
+ declare function RuleOptions(): import("react/jsx-runtime").JSX.Element;
840
+ export declare function RuleConfigForm(): import("react/jsx-runtime").JSX.Element;
841
+ export declare const interfaceSchemaMap: {
842
+ readonly oho: () => {
843
+ grid: {
844
+ type: string;
845
+ 'x-component': string;
846
+ properties: {
847
+ row1: {
848
+ type: string;
849
+ 'x-component': string;
850
+ properties: {
851
+ col11: {
852
+ type: string;
853
+ 'x-component': string;
854
+ properties: {
855
+ source: {
856
+ type: string;
857
+ title: string;
858
+ 'x-decorator': string;
859
+ 'x-component': string;
860
+ 'x-disabled': boolean;
861
+ };
862
+ };
863
+ };
864
+ col12: {
865
+ type: string;
866
+ 'x-component': string;
867
+ properties: {
868
+ target: {
869
+ type: string;
870
+ title: string;
871
+ required: boolean;
872
+ 'x-decorator': string;
873
+ 'x-component': string;
874
+ };
875
+ };
876
+ };
877
+ };
878
+ };
879
+ row2: {
880
+ type: string;
881
+ 'x-component': string;
882
+ properties: {
883
+ col21: {
884
+ type: string;
885
+ 'x-component': string;
886
+ properties: {
887
+ sourceKey: {
888
+ type: string;
889
+ title: string;
890
+ description: string;
891
+ 'x-decorator': string;
892
+ 'x-component': string;
893
+ };
894
+ };
895
+ };
896
+ col22: {
897
+ type: string;
898
+ 'x-component': string;
899
+ properties: {
900
+ foreignKey: {
901
+ type: string;
902
+ title: string;
903
+ required: boolean;
904
+ description: string;
905
+ 'x-decorator': string;
906
+ 'x-component': string;
907
+ 'x-validator': string;
908
+ 'x-disabled': boolean;
909
+ };
910
+ };
911
+ };
912
+ };
913
+ };
914
+ };
915
+ };
916
+ };
917
+ readonly obo: () => {
918
+ grid: {
919
+ type: string;
920
+ 'x-component': string;
921
+ properties: {
922
+ row1: {
923
+ type: string;
924
+ 'x-component': string;
925
+ properties: {
926
+ col11: {
927
+ type: string;
928
+ 'x-component': string;
929
+ properties: {
930
+ source: {
931
+ type: string;
932
+ title: string;
933
+ 'x-decorator': string;
934
+ 'x-component': string;
935
+ 'x-disabled': boolean;
936
+ };
937
+ };
938
+ };
939
+ col12: {
940
+ type: string;
941
+ 'x-component': string;
942
+ properties: {
943
+ target: {
944
+ type: string;
945
+ title: string;
946
+ required: boolean;
947
+ 'x-decorator': string;
948
+ 'x-component': string;
949
+ };
950
+ };
951
+ };
952
+ };
953
+ };
954
+ row2: {
955
+ type: string;
956
+ 'x-component': string;
957
+ properties: {
958
+ col21: {
959
+ type: string;
960
+ 'x-component': string;
961
+ properties: {
962
+ foreignKey: {
963
+ type: string;
964
+ title: string;
965
+ required: boolean;
966
+ default: string;
967
+ description: string;
968
+ 'x-decorator': string;
969
+ 'x-component': string;
970
+ 'x-validator': string;
971
+ 'x-disabled': boolean;
972
+ };
973
+ };
974
+ };
975
+ col22: {
976
+ type: string;
977
+ 'x-component': string;
978
+ properties: {
979
+ targetKey: {
980
+ type: string;
981
+ default: string;
982
+ title: string;
983
+ description: string;
984
+ 'x-decorator': string;
985
+ 'x-component': string;
986
+ };
987
+ };
988
+ };
989
+ };
990
+ };
991
+ };
992
+ };
993
+ };
994
+ readonly o2o: () => {
995
+ grid: {
996
+ type: string;
997
+ 'x-component': string;
998
+ properties: {
999
+ row1: {
1000
+ type: string;
1001
+ 'x-component': string;
1002
+ properties: {
1003
+ col11: {
1004
+ type: string;
1005
+ 'x-component': string;
1006
+ properties: {
1007
+ source: {
1008
+ type: string;
1009
+ title: string;
1010
+ 'x-decorator': string;
1011
+ 'x-component': string;
1012
+ 'x-disabled': boolean;
1013
+ };
1014
+ };
1015
+ };
1016
+ col12: {
1017
+ type: string;
1018
+ 'x-component': string;
1019
+ properties: {
1020
+ target: {
1021
+ type: string;
1022
+ title: string;
1023
+ required: boolean;
1024
+ 'x-decorator': string;
1025
+ 'x-component': string;
1026
+ };
1027
+ };
1028
+ };
1029
+ };
1030
+ };
1031
+ row2: {
1032
+ type: string;
1033
+ 'x-component': string;
1034
+ properties: {
1035
+ col21: {
1036
+ type: string;
1037
+ 'x-component': string;
1038
+ properties: {
1039
+ sourceKey: {
1040
+ type: string;
1041
+ title: string;
1042
+ description: string;
1043
+ 'x-decorator': string;
1044
+ 'x-component': string;
1045
+ };
1046
+ };
1047
+ };
1048
+ col22: {
1049
+ type: string;
1050
+ 'x-component': string;
1051
+ properties: {
1052
+ foreignKey: {
1053
+ type: string;
1054
+ title: string;
1055
+ required: boolean;
1056
+ default: string;
1057
+ description: string;
1058
+ 'x-decorator': string;
1059
+ 'x-component': string;
1060
+ 'x-validator': string;
1061
+ };
1062
+ };
1063
+ };
1064
+ };
1065
+ };
1066
+ };
1067
+ };
1068
+ };
1069
+ readonly o2m: () => {
1070
+ grid: {
1071
+ type: string;
1072
+ 'x-component': string;
1073
+ properties: {
1074
+ row1: {
1075
+ type: string;
1076
+ 'x-component': string;
1077
+ properties: {
1078
+ col11: {
1079
+ type: string;
1080
+ 'x-component': string;
1081
+ properties: {
1082
+ source: {
1083
+ type: string;
1084
+ title: string;
1085
+ 'x-decorator': string;
1086
+ 'x-component': string;
1087
+ 'x-disabled': boolean;
1088
+ };
1089
+ };
1090
+ };
1091
+ col12: {
1092
+ type: string;
1093
+ 'x-component': string;
1094
+ properties: {
1095
+ target: {
1096
+ type: string;
1097
+ title: string;
1098
+ required: boolean;
1099
+ 'x-decorator': string;
1100
+ 'x-component': string;
1101
+ };
1102
+ };
1103
+ };
1104
+ };
1105
+ };
1106
+ row2: {
1107
+ type: string;
1108
+ 'x-component': string;
1109
+ properties: {
1110
+ col21: {
1111
+ type: string;
1112
+ 'x-component': string;
1113
+ properties: {
1114
+ sourceKey: {
1115
+ type: string;
1116
+ title: string;
1117
+ description: string;
1118
+ default: string;
1119
+ enum: {
1120
+ label: string;
1121
+ value: string;
1122
+ }[];
1123
+ 'x-decorator': string;
1124
+ 'x-component': string;
1125
+ 'x-disabled': boolean;
1126
+ };
1127
+ };
1128
+ };
1129
+ col22: {
1130
+ type: string;
1131
+ 'x-component': string;
1132
+ properties: {
1133
+ foreignKey: {
1134
+ type: string;
1135
+ title: string;
1136
+ required: boolean;
1137
+ default: string;
1138
+ description: string;
1139
+ 'x-decorator': string;
1140
+ 'x-component': string;
1141
+ 'x-validator': string;
1142
+ 'x-disabled': boolean;
1143
+ };
1144
+ };
1145
+ };
1146
+ };
1147
+ };
1148
+ row3: {
1149
+ type: string;
1150
+ 'x-component': string;
1151
+ properties: {
1152
+ col21: {
1153
+ type: string;
1154
+ 'x-component': string;
1155
+ properties: {};
1156
+ };
1157
+ col22: {
1158
+ type: string;
1159
+ 'x-component': string;
1160
+ properties: {
1161
+ targetKey: {
1162
+ type: string;
1163
+ default: string;
1164
+ title: string;
1165
+ 'x-decorator': string;
1166
+ 'x-component': string;
1167
+ description: string;
1168
+ };
1169
+ };
1170
+ };
1171
+ };
1172
+ };
1173
+ };
1174
+ };
1175
+ };
1176
+ readonly m2o: () => {
1177
+ grid: {
1178
+ type: string;
1179
+ 'x-component': string;
1180
+ properties: {
1181
+ row1: {
1182
+ type: string;
1183
+ 'x-component': string;
1184
+ properties: {
1185
+ col11: {
1186
+ type: string;
1187
+ 'x-component': string;
1188
+ properties: {
1189
+ source: {
1190
+ type: string;
1191
+ title: string;
1192
+ 'x-decorator': string;
1193
+ 'x-component': string;
1194
+ 'x-disabled': boolean;
1195
+ };
1196
+ };
1197
+ };
1198
+ col12: {
1199
+ type: string;
1200
+ 'x-component': string;
1201
+ properties: {
1202
+ target: {
1203
+ type: string;
1204
+ title: string;
1205
+ required: boolean;
1206
+ 'x-decorator': string;
1207
+ 'x-component': string;
1208
+ };
1209
+ };
1210
+ };
1211
+ };
1212
+ };
1213
+ row2: {
1214
+ type: string;
1215
+ 'x-component': string;
1216
+ properties: {
1217
+ col21: {
1218
+ type: string;
1219
+ 'x-component': string;
1220
+ properties: {
1221
+ foreignKey: {
1222
+ type: string;
1223
+ title: string;
1224
+ required: boolean;
1225
+ description: string;
1226
+ 'x-decorator': string;
1227
+ 'x-component': string;
1228
+ 'x-validator': string;
1229
+ 'x-disabled': boolean;
1230
+ };
1231
+ };
1232
+ };
1233
+ col22: {
1234
+ type: string;
1235
+ 'x-component': string;
1236
+ properties: {
1237
+ targetKey: {
1238
+ type: string;
1239
+ title: string;
1240
+ default: string;
1241
+ description: string;
1242
+ 'x-decorator': string;
1243
+ 'x-component': string;
1244
+ };
1245
+ };
1246
+ };
1247
+ };
1248
+ };
1249
+ };
1250
+ };
1251
+ };
1252
+ readonly m2m: () => {
1253
+ grid: {
1254
+ type: string;
1255
+ 'x-component': string;
1256
+ properties: {
1257
+ row1: {
1258
+ type: string;
1259
+ 'x-component': string;
1260
+ properties: {
1261
+ col11: {
1262
+ type: string;
1263
+ 'x-component': string;
1264
+ properties: {
1265
+ source: {
1266
+ type: string;
1267
+ title: string;
1268
+ 'x-decorator': string;
1269
+ 'x-component': string;
1270
+ 'x-disabled': boolean;
1271
+ };
1272
+ };
1273
+ };
1274
+ col12: {
1275
+ type: string;
1276
+ 'x-component': string;
1277
+ properties: {
1278
+ through: {
1279
+ type: string;
1280
+ title: string;
1281
+ description: string;
1282
+ 'x-decorator': string;
1283
+ 'x-disabled': string;
1284
+ 'x-component': string;
1285
+ 'x-component-props': {
1286
+ allowClear: boolean;
1287
+ };
1288
+ };
1289
+ };
1290
+ };
1291
+ col13: {
1292
+ type: string;
1293
+ 'x-component': string;
1294
+ properties: {
1295
+ target: {
1296
+ type: string;
1297
+ title: string;
1298
+ required: boolean;
1299
+ 'x-decorator': string;
1300
+ 'x-component': string;
1301
+ };
1302
+ };
1303
+ };
1304
+ };
1305
+ };
1306
+ row2: {
1307
+ type: string;
1308
+ 'x-component': string;
1309
+ properties: {
1310
+ col21: {
1311
+ type: string;
1312
+ 'x-component': string;
1313
+ properties: {
1314
+ sourceKey: {
1315
+ type: string;
1316
+ title: string;
1317
+ description: string;
1318
+ 'x-decorator': string;
1319
+ 'x-component': string;
1320
+ 'x-disabled': boolean;
1321
+ };
1322
+ };
1323
+ };
1324
+ col22: {
1325
+ type: string;
1326
+ 'x-component': string;
1327
+ properties: {
1328
+ foreignKey: {
1329
+ type: string;
1330
+ title: string;
1331
+ required: boolean;
1332
+ default: string;
1333
+ description: string;
1334
+ 'x-decorator': string;
1335
+ 'x-component': string;
1336
+ 'x-validator': string;
1337
+ 'x-disabled': boolean;
1338
+ };
1339
+ };
1340
+ };
1341
+ col23: {
1342
+ type: string;
1343
+ 'x-component': string;
1344
+ properties: {};
1345
+ };
1346
+ };
1347
+ };
1348
+ row3: {
1349
+ type: string;
1350
+ 'x-component': string;
1351
+ properties: {
1352
+ col21: {
1353
+ type: string;
1354
+ 'x-component': string;
1355
+ properties: {};
1356
+ };
1357
+ col22: {
1358
+ type: string;
1359
+ 'x-component': string;
1360
+ properties: {
1361
+ otherKey: {
1362
+ type: string;
1363
+ title: string;
1364
+ required: boolean;
1365
+ default: string;
1366
+ description: string;
1367
+ 'x-decorator': string;
1368
+ 'x-component': string;
1369
+ 'x-validator': string;
1370
+ 'x-disabled': boolean;
1371
+ };
1372
+ };
1373
+ };
1374
+ col23: {
1375
+ type: string;
1376
+ 'x-component': string;
1377
+ properties: {
1378
+ targetKey: {
1379
+ type: string;
1380
+ default: string;
1381
+ title: string;
1382
+ 'x-decorator': string;
1383
+ 'x-component': string;
1384
+ description: string;
1385
+ };
1386
+ };
1387
+ };
1388
+ };
1389
+ };
1390
+ };
1391
+ };
1392
+ };
1393
+ readonly number: () => {
1394
+ 'uiSchema.x-component-props.addonBefore': {
1395
+ type: string;
1396
+ title: string;
1397
+ 'x-decorator': string;
1398
+ 'x-component': string;
1399
+ };
1400
+ 'uiSchema.x-component-props.addonAfter': {
1401
+ type: string;
1402
+ title: string;
1403
+ 'x-decorator': string;
1404
+ 'x-component': string;
1405
+ };
1406
+ unique: {
1407
+ type: string;
1408
+ 'x-content': string;
1409
+ 'x-decorator': string;
1410
+ 'x-component': string;
1411
+ 'x-reactions': {
1412
+ dependencies: string[];
1413
+ when: string;
1414
+ fulfill: {
1415
+ state: {
1416
+ value: boolean;
1417
+ };
1418
+ };
1419
+ }[];
1420
+ };
1421
+ 'uiSchema.x-component-props.step': {
1422
+ type: string;
1423
+ title: string;
1424
+ 'x-component': string;
1425
+ 'x-decorator': string;
1426
+ default: string;
1427
+ enum: {
1428
+ value: string;
1429
+ label: string;
1430
+ }[];
1431
+ };
1432
+ };
1433
+ readonly integer: () => {
1434
+ 'uiSchema.x-component-props.addonBefore': {
1435
+ type: string;
1436
+ title: string;
1437
+ 'x-decorator': string;
1438
+ 'x-component': string;
1439
+ };
1440
+ 'uiSchema.x-component-props.addonAfter': {
1441
+ type: string;
1442
+ title: string;
1443
+ 'x-decorator': string;
1444
+ 'x-component': string;
1445
+ };
1446
+ layout: {
1447
+ type: string;
1448
+ title: string;
1449
+ 'x-component': string;
1450
+ 'x-decorator': string;
1451
+ 'x-decorator-props': {
1452
+ style: {
1453
+ marginBottom: string;
1454
+ };
1455
+ };
1456
+ properties: {
1457
+ primaryKey: {
1458
+ type: string;
1459
+ 'x-content': string;
1460
+ 'x-decorator': string;
1461
+ 'x-component': string;
1462
+ 'x-reactions': {
1463
+ dependencies: string[];
1464
+ when: string;
1465
+ fulfill: {
1466
+ state: {
1467
+ value: boolean;
1468
+ };
1469
+ };
1470
+ }[];
1471
+ };
1472
+ unique: {
1473
+ type: string;
1474
+ 'x-content': string;
1475
+ 'x-decorator': string;
1476
+ 'x-component': string;
1477
+ 'x-reactions': {
1478
+ dependencies: string[];
1479
+ when: string;
1480
+ fulfill: {
1481
+ state: {
1482
+ value: boolean;
1483
+ };
1484
+ };
1485
+ }[];
1486
+ };
1487
+ };
1488
+ };
1489
+ autoIncrement: {
1490
+ type: string;
1491
+ title: string;
1492
+ 'x-content': string;
1493
+ 'x-decorator': string;
1494
+ 'x-component': string;
1495
+ 'x-disabled': string;
1496
+ };
1497
+ };
1498
+ readonly percent: () => {
1499
+ 'uiSchema.x-component-props.addonBefore': {
1500
+ type: string;
1501
+ title: string;
1502
+ 'x-decorator': string;
1503
+ 'x-component': string;
1504
+ };
1505
+ 'uiSchema.x-component-props.addonAfter': {
1506
+ type: string;
1507
+ title: string;
1508
+ 'x-decorator': string;
1509
+ 'x-component': string;
1510
+ };
1511
+ unique: {
1512
+ type: string;
1513
+ 'x-content': string;
1514
+ 'x-decorator': string;
1515
+ 'x-component': string;
1516
+ 'x-reactions': {
1517
+ dependencies: string[];
1518
+ when: string;
1519
+ fulfill: {
1520
+ state: {
1521
+ value: boolean;
1522
+ };
1523
+ };
1524
+ }[];
1525
+ };
1526
+ 'uiSchema.x-component-props.step': {
1527
+ type: string;
1528
+ title: string;
1529
+ 'x-component': string;
1530
+ 'x-decorator': string;
1531
+ default: string;
1532
+ enum: {
1533
+ value: string;
1534
+ label: string;
1535
+ }[];
1536
+ };
1537
+ };
1538
+ readonly select: () => {
1539
+ 'uiSchema.enum': import("@tachybase/schema").Stringify<{
1540
+ [key: symbol]: any;
1541
+ [key: `x-${string}`]: any;
1542
+ [key: `x-${number}`]: any;
1543
+ version?: string;
1544
+ name?: import("@tachybase/schema").SchemaKey;
1545
+ title?: any;
1546
+ description?: any;
1547
+ default?: any;
1548
+ readOnly?: boolean;
1549
+ writeOnly?: boolean;
1550
+ type?: import("@tachybase/schema").SchemaTypes;
1551
+ enum?: import("@tachybase/schema").SchemaEnum<any>;
1552
+ const?: any;
1553
+ multipleOf?: number;
1554
+ maximum?: number;
1555
+ exclusiveMaximum?: number;
1556
+ minimum?: number;
1557
+ exclusiveMinimum?: number;
1558
+ maxLength?: number;
1559
+ minLength?: number;
1560
+ pattern?: string | RegExp;
1561
+ maxItems?: number;
1562
+ minItems?: number;
1563
+ uniqueItems?: boolean;
1564
+ maxProperties?: number;
1565
+ minProperties?: number;
1566
+ required?: string[] | boolean | string;
1567
+ format?: string;
1568
+ $ref?: string;
1569
+ $namespace?: string;
1570
+ definitions?: import("@tachybase/schema").SchemaProperties<any, any, any, any, any, any, any, any>;
1571
+ properties?: import("@tachybase/schema").SchemaProperties<any, any, any, any, any, any, any, any>;
1572
+ items?: import("@tachybase/schema").SchemaItems<any, any, any, any, any, any, any, any>;
1573
+ additionalItems?: import("@tachybase/schema").Stringify</*elided*/ any>;
1574
+ patternProperties?: import("@tachybase/schema").SchemaProperties<any, any, any, any, any, any, any, any>;
1575
+ additionalProperties?: import("@tachybase/schema").Stringify</*elided*/ any>;
1576
+ "x-value"?: any;
1577
+ "x-index"?: number;
1578
+ "x-pattern"?: any;
1579
+ "x-display"?: any;
1580
+ "x-validator"?: any;
1581
+ "x-decorator"?: any;
1582
+ "x-decorator-props"?: any;
1583
+ "x-component"?: any;
1584
+ "x-component-props"?: any;
1585
+ "x-reactions"?: import("@tachybase/schema").SchemaReactions<any>;
1586
+ "x-content"?: any;
1587
+ "x-data"?: any;
1588
+ "x-visible"?: boolean;
1589
+ "x-hidden"?: boolean;
1590
+ "x-disabled"?: boolean;
1591
+ "x-editable"?: boolean;
1592
+ "x-read-only"?: boolean;
1593
+ "x-read-pretty"?: boolean;
1594
+ "x-compile-omitted"?: string[];
1595
+ }>;
1596
+ };
1597
+ readonly multipleSelect: () => {
1598
+ 'uiSchema.enum': import("@tachybase/schema").Stringify<{
1599
+ [key: symbol]: any;
1600
+ [key: `x-${string}`]: any;
1601
+ [key: `x-${number}`]: any;
1602
+ version?: string;
1603
+ name?: import("@tachybase/schema").SchemaKey;
1604
+ title?: any;
1605
+ description?: any;
1606
+ default?: any;
1607
+ readOnly?: boolean;
1608
+ writeOnly?: boolean;
1609
+ type?: import("@tachybase/schema").SchemaTypes;
1610
+ enum?: import("@tachybase/schema").SchemaEnum<any>;
1611
+ const?: any;
1612
+ multipleOf?: number;
1613
+ maximum?: number;
1614
+ exclusiveMaximum?: number;
1615
+ minimum?: number;
1616
+ exclusiveMinimum?: number;
1617
+ maxLength?: number;
1618
+ minLength?: number;
1619
+ pattern?: string | RegExp;
1620
+ maxItems?: number;
1621
+ minItems?: number;
1622
+ uniqueItems?: boolean;
1623
+ maxProperties?: number;
1624
+ minProperties?: number;
1625
+ required?: string[] | boolean | string;
1626
+ format?: string;
1627
+ $ref?: string;
1628
+ $namespace?: string;
1629
+ definitions?: import("@tachybase/schema").SchemaProperties<any, any, any, any, any, any, any, any>;
1630
+ properties?: import("@tachybase/schema").SchemaProperties<any, any, any, any, any, any, any, any>;
1631
+ items?: import("@tachybase/schema").SchemaItems<any, any, any, any, any, any, any, any>;
1632
+ additionalItems?: import("@tachybase/schema").Stringify</*elided*/ any>;
1633
+ patternProperties?: import("@tachybase/schema").SchemaProperties<any, any, any, any, any, any, any, any>;
1634
+ additionalProperties?: import("@tachybase/schema").Stringify</*elided*/ any>;
1635
+ "x-value"?: any;
1636
+ "x-index"?: number;
1637
+ "x-pattern"?: any;
1638
+ "x-display"?: any;
1639
+ "x-validator"?: any;
1640
+ "x-decorator"?: any;
1641
+ "x-decorator-props"?: any;
1642
+ "x-component"?: any;
1643
+ "x-component-props"?: any;
1644
+ "x-reactions"?: import("@tachybase/schema").SchemaReactions<any>;
1645
+ "x-content"?: any;
1646
+ "x-data"?: any;
1647
+ "x-visible"?: boolean;
1648
+ "x-hidden"?: boolean;
1649
+ "x-disabled"?: boolean;
1650
+ "x-editable"?: boolean;
1651
+ "x-read-only"?: boolean;
1652
+ "x-read-pretty"?: boolean;
1653
+ "x-compile-omitted"?: string[];
1654
+ }>;
1655
+ };
1656
+ readonly checkbox: () => {
1657
+ 'uiSchema.x-component-props.showUnchecked': {
1658
+ type: string;
1659
+ title: string;
1660
+ default: boolean;
1661
+ 'x-decorator': string;
1662
+ 'x-component': string;
1663
+ };
1664
+ };
1665
+ readonly checkboxGroup: () => {
1666
+ 'uiSchema.enum': import("@tachybase/schema").Stringify<{
1667
+ [key: symbol]: any;
1668
+ [key: `x-${string}`]: any;
1669
+ [key: `x-${number}`]: any;
1670
+ version?: string;
1671
+ name?: import("@tachybase/schema").SchemaKey;
1672
+ title?: any;
1673
+ description?: any;
1674
+ default?: any;
1675
+ readOnly?: boolean;
1676
+ writeOnly?: boolean;
1677
+ type?: import("@tachybase/schema").SchemaTypes;
1678
+ enum?: import("@tachybase/schema").SchemaEnum<any>;
1679
+ const?: any;
1680
+ multipleOf?: number;
1681
+ maximum?: number;
1682
+ exclusiveMaximum?: number;
1683
+ minimum?: number;
1684
+ exclusiveMinimum?: number;
1685
+ maxLength?: number;
1686
+ minLength?: number;
1687
+ pattern?: string | RegExp;
1688
+ maxItems?: number;
1689
+ minItems?: number;
1690
+ uniqueItems?: boolean;
1691
+ maxProperties?: number;
1692
+ minProperties?: number;
1693
+ required?: string[] | boolean | string;
1694
+ format?: string;
1695
+ $ref?: string;
1696
+ $namespace?: string;
1697
+ definitions?: import("@tachybase/schema").SchemaProperties<any, any, any, any, any, any, any, any>;
1698
+ properties?: import("@tachybase/schema").SchemaProperties<any, any, any, any, any, any, any, any>;
1699
+ items?: import("@tachybase/schema").SchemaItems<any, any, any, any, any, any, any, any>;
1700
+ additionalItems?: import("@tachybase/schema").Stringify</*elided*/ any>;
1701
+ patternProperties?: import("@tachybase/schema").SchemaProperties<any, any, any, any, any, any, any, any>;
1702
+ additionalProperties?: import("@tachybase/schema").Stringify</*elided*/ any>;
1703
+ "x-value"?: any;
1704
+ "x-index"?: number;
1705
+ "x-pattern"?: any;
1706
+ "x-display"?: any;
1707
+ "x-validator"?: any;
1708
+ "x-decorator"?: any;
1709
+ "x-decorator-props"?: any;
1710
+ "x-component"?: any;
1711
+ "x-component-props"?: any;
1712
+ "x-reactions"?: import("@tachybase/schema").SchemaReactions<any>;
1713
+ "x-content"?: any;
1714
+ "x-data"?: any;
1715
+ "x-visible"?: boolean;
1716
+ "x-hidden"?: boolean;
1717
+ "x-disabled"?: boolean;
1718
+ "x-editable"?: boolean;
1719
+ "x-read-only"?: boolean;
1720
+ "x-read-pretty"?: boolean;
1721
+ "x-compile-omitted"?: string[];
1722
+ }>;
1723
+ };
1724
+ readonly radioGroup: () => {
1725
+ 'uiSchema.enum': import("@tachybase/schema").Stringify<{
1726
+ [key: symbol]: any;
1727
+ [key: `x-${string}`]: any;
1728
+ [key: `x-${number}`]: any;
1729
+ version?: string;
1730
+ name?: import("@tachybase/schema").SchemaKey;
1731
+ title?: any;
1732
+ description?: any;
1733
+ default?: any;
1734
+ readOnly?: boolean;
1735
+ writeOnly?: boolean;
1736
+ type?: import("@tachybase/schema").SchemaTypes;
1737
+ enum?: import("@tachybase/schema").SchemaEnum<any>;
1738
+ const?: any;
1739
+ multipleOf?: number;
1740
+ maximum?: number;
1741
+ exclusiveMaximum?: number;
1742
+ minimum?: number;
1743
+ exclusiveMinimum?: number;
1744
+ maxLength?: number;
1745
+ minLength?: number;
1746
+ pattern?: string | RegExp;
1747
+ maxItems?: number;
1748
+ minItems?: number;
1749
+ uniqueItems?: boolean;
1750
+ maxProperties?: number;
1751
+ minProperties?: number;
1752
+ required?: string[] | boolean | string;
1753
+ format?: string;
1754
+ $ref?: string;
1755
+ $namespace?: string;
1756
+ definitions?: import("@tachybase/schema").SchemaProperties<any, any, any, any, any, any, any, any>;
1757
+ properties?: import("@tachybase/schema").SchemaProperties<any, any, any, any, any, any, any, any>;
1758
+ items?: import("@tachybase/schema").SchemaItems<any, any, any, any, any, any, any, any>;
1759
+ additionalItems?: import("@tachybase/schema").Stringify</*elided*/ any>;
1760
+ patternProperties?: import("@tachybase/schema").SchemaProperties<any, any, any, any, any, any, any, any>;
1761
+ additionalProperties?: import("@tachybase/schema").Stringify</*elided*/ any>;
1762
+ "x-value"?: any;
1763
+ "x-index"?: number;
1764
+ "x-pattern"?: any;
1765
+ "x-display"?: any;
1766
+ "x-validator"?: any;
1767
+ "x-decorator"?: any;
1768
+ "x-decorator-props"?: any;
1769
+ "x-component"?: any;
1770
+ "x-component-props"?: any;
1771
+ "x-reactions"?: import("@tachybase/schema").SchemaReactions<any>;
1772
+ "x-content"?: any;
1773
+ "x-data"?: any;
1774
+ "x-visible"?: boolean;
1775
+ "x-hidden"?: boolean;
1776
+ "x-disabled"?: boolean;
1777
+ "x-editable"?: boolean;
1778
+ "x-read-only"?: boolean;
1779
+ "x-read-pretty"?: boolean;
1780
+ "x-compile-omitted"?: string[];
1781
+ }>;
1782
+ };
1783
+ readonly attachment: () => {
1784
+ 'uiSchema.x-component-props.accept': {
1785
+ type: string;
1786
+ title: string;
1787
+ 'x-component': string;
1788
+ 'x-decorator': string;
1789
+ description: string;
1790
+ default: string;
1791
+ };
1792
+ 'uiSchema.x-component-props.multiple': {
1793
+ type: string;
1794
+ 'x-content': string;
1795
+ 'x-decorator': string;
1796
+ 'x-component': string;
1797
+ default: boolean;
1798
+ };
1799
+ storage: {
1800
+ type: string;
1801
+ title: string;
1802
+ description: string;
1803
+ 'x-decorator': string;
1804
+ 'x-component': string;
1805
+ 'x-component-props': {
1806
+ service: {
1807
+ resource: string;
1808
+ params: {};
1809
+ };
1810
+ manual: boolean;
1811
+ fieldNames: {
1812
+ label: string;
1813
+ value: string;
1814
+ };
1815
+ };
1816
+ };
1817
+ };
1818
+ readonly datetime: () => {
1819
+ 'uiSchema.x-component-props.gmt': {
1820
+ type: string;
1821
+ title: string;
1822
+ 'x-hidden': boolean;
1823
+ 'x-component': string;
1824
+ 'x-content': string;
1825
+ 'x-decorator': string;
1826
+ default: boolean;
1827
+ };
1828
+ };
1829
+ readonly unixTimestamp: () => {
1830
+ 'uiSchema.x-component-props.accuracy': {
1831
+ type: string;
1832
+ title: string;
1833
+ 'x-component': string;
1834
+ 'x-decorator': string;
1835
+ default: string;
1836
+ enum: {
1837
+ value: string;
1838
+ label: string;
1839
+ }[];
1840
+ };
1841
+ };
1842
+ readonly time: () => {
1843
+ 'uiSchema.x-component-props.format': {
1844
+ type: string;
1845
+ title: string;
1846
+ 'x-component': string;
1847
+ 'x-decorator': string;
1848
+ default: string;
1849
+ enum: {
1850
+ label: string;
1851
+ value: string;
1852
+ }[];
1853
+ };
1854
+ };
1855
+ readonly nanoid: () => {
1856
+ customAlphabet: {
1857
+ type: string;
1858
+ title: string;
1859
+ default: string;
1860
+ 'x-decorator': string;
1861
+ 'x-component': string;
1862
+ };
1863
+ size: {
1864
+ type: string;
1865
+ title: string;
1866
+ default: number;
1867
+ 'x-decorator': string;
1868
+ 'x-component': string;
1869
+ };
1870
+ };
1871
+ readonly sort: () => {
1872
+ scopeKey: {
1873
+ type: string;
1874
+ title: string;
1875
+ 'x-disabled': string;
1876
+ 'x-decorator': string;
1877
+ 'x-component': string;
1878
+ enum: string;
1879
+ description: string;
1880
+ };
1881
+ };
1882
+ readonly formula: () => {
1883
+ dataType: {
1884
+ type: string;
1885
+ title: string;
1886
+ 'x-decorator': string;
1887
+ 'x-component': string;
1888
+ 'x-disabled': string;
1889
+ enum: {
1890
+ value: string;
1891
+ label: string;
1892
+ }[];
1893
+ required: boolean;
1894
+ default: string;
1895
+ };
1896
+ 'uiSchema.x-component-props.addonAfter': {
1897
+ type: string;
1898
+ title: string;
1899
+ 'x-decorator': string;
1900
+ 'x-component': string;
1901
+ };
1902
+ 'uiSchema.x-component-props.step': {
1903
+ type: string;
1904
+ title: string;
1905
+ 'x-component': string;
1906
+ 'x-decorator': string;
1907
+ required: boolean;
1908
+ default: string;
1909
+ enum: {
1910
+ value: string;
1911
+ label: string;
1912
+ }[];
1913
+ 'x-reactions': {
1914
+ dependencies: string[];
1915
+ fulfill: {
1916
+ state: {
1917
+ display: string;
1918
+ };
1919
+ };
1920
+ }[];
1921
+ };
1922
+ 'uiSchema.x-component-props.dateFormat': any;
1923
+ 'uiSchema.x-component-props.showTime': any;
1924
+ 'uiSchema.x-component-props.timeFormat': any;
1925
+ engine: {
1926
+ type: string;
1927
+ title: string;
1928
+ 'x-decorator': string;
1929
+ 'x-component': string;
1930
+ enum: any[];
1931
+ required: boolean;
1932
+ default: string;
1933
+ };
1934
+ expression: {
1935
+ type: string;
1936
+ title: string;
1937
+ required: boolean;
1938
+ 'x-component': string;
1939
+ 'x-decorator': string;
1940
+ 'x-component-props': {
1941
+ supports: string[];
1942
+ useCurrentFields: string;
1943
+ };
1944
+ 'x-reactions': {
1945
+ dependencies: string[];
1946
+ fulfill: {
1947
+ schema: {
1948
+ description: string;
1949
+ };
1950
+ };
1951
+ };
1952
+ "x-validator"(value: any, rules: any, { form }: {
1953
+ form: any;
1954
+ }): string;
1955
+ };
1956
+ };
1957
+ readonly sequence: () => {
1958
+ unique: {
1959
+ type: string;
1960
+ 'x-content': string;
1961
+ 'x-decorator': string;
1962
+ 'x-component': string;
1963
+ 'x-reactions': {
1964
+ dependencies: string[];
1965
+ when: string;
1966
+ fulfill: {
1967
+ state: {
1968
+ value: boolean;
1969
+ };
1970
+ };
1971
+ }[];
1972
+ };
1973
+ patterns: {
1974
+ type: string;
1975
+ title: string;
1976
+ required: boolean;
1977
+ 'x-decorator': string;
1978
+ 'x-component': string;
1979
+ items: {
1980
+ type: string;
1981
+ properties: {
1982
+ sort: {
1983
+ type: string;
1984
+ 'x-component': string;
1985
+ 'x-component-props': {
1986
+ width: number;
1987
+ title: string;
1988
+ align: string;
1989
+ };
1990
+ properties: {
1991
+ sort: {
1992
+ type: string;
1993
+ 'x-component': string;
1994
+ };
1995
+ };
1996
+ };
1997
+ type: {
1998
+ type: string;
1999
+ 'x-component': string;
2000
+ 'x-component-props': {
2001
+ title: string;
2002
+ };
2003
+ properties: {
2004
+ type: {
2005
+ type: string;
2006
+ name: string;
2007
+ required: boolean;
2008
+ 'x-decorator': string;
2009
+ 'x-component': typeof RuleTypeSelect;
2010
+ };
2011
+ };
2012
+ };
2013
+ options: {
2014
+ type: string;
2015
+ 'x-component': string;
2016
+ 'x-component-props': {
2017
+ title: string;
2018
+ };
2019
+ properties: {
2020
+ options: {
2021
+ type: string;
2022
+ name: string;
2023
+ 'x-component': typeof RuleOptions;
2024
+ };
2025
+ };
2026
+ };
2027
+ operations: {
2028
+ type: string;
2029
+ 'x-component': string;
2030
+ 'x-component-props': {
2031
+ title: string;
2032
+ dataIndex: string;
2033
+ fixed: string;
2034
+ className: string;
2035
+ };
2036
+ properties: {
2037
+ config: {
2038
+ type: string;
2039
+ properties: {
2040
+ options: {
2041
+ type: string;
2042
+ 'x-component': typeof RuleConfigForm;
2043
+ };
2044
+ };
2045
+ };
2046
+ remove: {
2047
+ type: string;
2048
+ 'x-component': string;
2049
+ };
2050
+ };
2051
+ };
2052
+ };
2053
+ };
2054
+ properties: {
2055
+ add: {
2056
+ type: string;
2057
+ 'x-component': string;
2058
+ 'x-component-props': {
2059
+ defaultValue: {
2060
+ type: string;
2061
+ options: {
2062
+ digits: number;
2063
+ start: number;
2064
+ };
2065
+ };
2066
+ };
2067
+ title: string;
2068
+ };
2069
+ };
2070
+ };
2071
+ inputable: {
2072
+ type: string;
2073
+ title: string;
2074
+ 'x-decorator': string;
2075
+ 'x-component': string;
2076
+ };
2077
+ match: {
2078
+ type: string;
2079
+ title: string;
2080
+ 'x-decorator': string;
2081
+ 'x-component': string;
2082
+ 'x-reactions': {
2083
+ dependencies: string[];
2084
+ fulfill: {
2085
+ state: {
2086
+ value: string;
2087
+ visible: string;
2088
+ };
2089
+ };
2090
+ };
2091
+ };
2092
+ };
2093
+ readonly collection: () => {
2094
+ 'uiSchema.enum': import("@tachybase/schema").Stringify<{
2095
+ [key: symbol]: any;
2096
+ [key: `x-${string}`]: any;
2097
+ [key: `x-${number}`]: any;
2098
+ version?: string;
2099
+ name?: import("@tachybase/schema").SchemaKey;
2100
+ title?: any;
2101
+ description?: any;
2102
+ default?: any;
2103
+ readOnly?: boolean;
2104
+ writeOnly?: boolean;
2105
+ type?: import("@tachybase/schema").SchemaTypes;
2106
+ enum?: import("@tachybase/schema").SchemaEnum<any>;
2107
+ const?: any;
2108
+ multipleOf?: number;
2109
+ maximum?: number;
2110
+ exclusiveMaximum?: number;
2111
+ minimum?: number;
2112
+ exclusiveMinimum?: number;
2113
+ maxLength?: number;
2114
+ minLength?: number;
2115
+ pattern?: string | RegExp;
2116
+ maxItems?: number;
2117
+ minItems?: number;
2118
+ uniqueItems?: boolean;
2119
+ maxProperties?: number;
2120
+ minProperties?: number;
2121
+ required?: string[] | boolean | string;
2122
+ format?: string;
2123
+ $ref?: string;
2124
+ $namespace?: string;
2125
+ definitions?: import("@tachybase/schema").SchemaProperties<any, any, any, any, any, any, any, any>;
2126
+ properties?: import("@tachybase/schema").SchemaProperties<any, any, any, any, any, any, any, any>;
2127
+ items?: import("@tachybase/schema").SchemaItems<any, any, any, any, any, any, any, any>;
2128
+ additionalItems?: import("@tachybase/schema").Stringify</*elided*/ any>;
2129
+ patternProperties?: import("@tachybase/schema").SchemaProperties<any, any, any, any, any, any, any, any>;
2130
+ additionalProperties?: import("@tachybase/schema").Stringify</*elided*/ any>;
2131
+ "x-value"?: any;
2132
+ "x-index"?: number;
2133
+ "x-pattern"?: any;
2134
+ "x-display"?: any;
2135
+ "x-validator"?: any;
2136
+ "x-decorator"?: any;
2137
+ "x-decorator-props"?: any;
2138
+ "x-component"?: any;
2139
+ "x-component-props"?: any;
2140
+ "x-reactions"?: import("@tachybase/schema").SchemaReactions<any>;
2141
+ "x-content"?: any;
2142
+ "x-data"?: any;
2143
+ "x-visible"?: boolean;
2144
+ "x-hidden"?: boolean;
2145
+ "x-disabled"?: boolean;
2146
+ "x-editable"?: boolean;
2147
+ "x-read-only"?: boolean;
2148
+ "x-read-pretty"?: boolean;
2149
+ "x-compile-omitted"?: string[];
2150
+ }>;
2151
+ };
2152
+ };
2153
+ export {};