@nocobase/client-v2 2.1.0-beta.38 → 2.1.0-beta.41

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 (137) hide show
  1. package/es/Application.d.ts +6 -0
  2. package/es/collection-field-interface/CollectionFieldInterface.d.ts +51 -15
  3. package/es/collection-field-interface/CollectionFieldInterfaceManager.d.ts +82 -3
  4. package/es/collection-manager/field-configure.d.ts +80 -0
  5. package/es/collection-manager/field-validation.d.ts +43 -0
  6. package/es/collection-manager/filter-operators/index.d.ts +46 -0
  7. package/es/collection-manager/filter-operators/operators.d.ts +30 -0
  8. package/es/collection-manager/interfaces/checkbox.d.ts +1 -41
  9. package/es/collection-manager/interfaces/checkboxGroup.d.ts +12 -44
  10. package/es/collection-manager/interfaces/collection.d.ts +12 -51
  11. package/es/collection-manager/interfaces/color.d.ts +1 -16
  12. package/es/collection-manager/interfaces/createdAt.d.ts +1 -44
  13. package/es/collection-manager/interfaces/createdBy.d.ts +0 -4
  14. package/es/collection-manager/interfaces/dateOnly.d.ts +7 -44
  15. package/es/collection-manager/interfaces/datetime.d.ts +1 -44
  16. package/es/collection-manager/interfaces/datetimeNoTz.d.ts +1 -44
  17. package/es/collection-manager/interfaces/email.d.ts +1 -29
  18. package/es/collection-manager/interfaces/id.d.ts +1 -16
  19. package/es/collection-manager/interfaces/index.d.ts +2 -3
  20. package/es/collection-manager/interfaces/input.d.ts +1 -102
  21. package/es/collection-manager/interfaces/integer.d.ts +1 -95
  22. package/es/collection-manager/interfaces/json.d.ts +16 -7
  23. package/es/collection-manager/interfaces/m2m.d.ts +11 -19
  24. package/es/collection-manager/interfaces/m2o.d.ts +11 -19
  25. package/es/collection-manager/interfaces/markdown.d.ts +1 -63
  26. package/es/collection-manager/interfaces/multipleSelect.d.ts +12 -44
  27. package/es/collection-manager/interfaces/nanoid.d.ts +1 -34
  28. package/es/collection-manager/interfaces/number.d.ts +1 -87
  29. package/es/collection-manager/interfaces/o2m.d.ts +12 -24
  30. package/es/collection-manager/interfaces/obo.d.ts +207 -0
  31. package/es/collection-manager/interfaces/oho.d.ts +207 -0
  32. package/es/collection-manager/interfaces/password.d.ts +1 -56
  33. package/es/collection-manager/interfaces/percent.d.ts +1 -84
  34. package/es/collection-manager/interfaces/phone.d.ts +1 -25
  35. package/es/collection-manager/interfaces/properties/index.d.ts +0 -28
  36. package/es/collection-manager/interfaces/radioGroup.d.ts +1 -29
  37. package/es/collection-manager/interfaces/richText.d.ts +1 -63
  38. package/es/collection-manager/interfaces/select.d.ts +12 -44
  39. package/es/collection-manager/interfaces/snowflake-id.d.ts +1 -34
  40. package/es/collection-manager/interfaces/tableoid.d.ts +1 -10
  41. package/es/collection-manager/interfaces/textarea.d.ts +1 -51
  42. package/es/collection-manager/interfaces/time.d.ts +1 -16
  43. package/es/collection-manager/interfaces/types.d.ts +3 -12
  44. package/es/collection-manager/interfaces/unixTimestamp.d.ts +1 -44
  45. package/es/collection-manager/interfaces/updatedAt.d.ts +1 -44
  46. package/es/collection-manager/interfaces/updatedBy.d.ts +0 -4
  47. package/es/collection-manager/interfaces/url.d.ts +1 -20
  48. package/es/collection-manager/interfaces/uuid.d.ts +1 -34
  49. package/es/collection-manager/template-fields.d.ts +53 -0
  50. package/es/components/form/VariableInput.d.ts +53 -2
  51. package/es/components/form/filter/CollectionFilter.d.ts +9 -1
  52. package/es/components/form/filter/CollectionFilterItem.d.ts +10 -2
  53. package/es/flow/components/filter/useFilterOptions.d.ts +13 -1
  54. package/es/flow/models/blocks/assign-form/assignFieldValuesFlow.d.ts +84 -0
  55. package/es/flow/models/blocks/assign-form/index.d.ts +1 -0
  56. package/es/flow/models/blocks/form/FormActionModel.d.ts +9 -2
  57. package/es/index.d.ts +4 -0
  58. package/es/index.mjs +105 -142
  59. package/lib/index.js +106 -143
  60. package/package.json +7 -7
  61. package/src/Application.tsx +24 -0
  62. package/src/collection-field-interface/CollectionFieldInterface.ts +71 -77
  63. package/src/collection-field-interface/CollectionFieldInterfaceManager.ts +201 -4
  64. package/src/collection-manager/field-configure.ts +548 -0
  65. package/src/collection-manager/field-validation.ts +195 -0
  66. package/src/collection-manager/filter-operators/index.ts +176 -0
  67. package/src/collection-manager/{interfaces/properties → filter-operators}/operators.ts +24 -13
  68. package/src/collection-manager/interfaces/checkbox.ts +2 -9
  69. package/src/collection-manager/interfaces/checkboxGroup.ts +2 -10
  70. package/src/collection-manager/interfaces/collection.ts +2 -15
  71. package/src/collection-manager/interfaces/color.ts +2 -2
  72. package/src/collection-manager/interfaces/createdAt.ts +2 -2
  73. package/src/collection-manager/interfaces/createdBy.ts +1 -12
  74. package/src/collection-manager/interfaces/dateOnly.ts +8 -2
  75. package/src/collection-manager/interfaces/datetime.ts +2 -2
  76. package/src/collection-manager/interfaces/datetimeNoTz.ts +2 -2
  77. package/src/collection-manager/interfaces/email.ts +2 -9
  78. package/src/collection-manager/interfaces/id.ts +1 -2
  79. package/src/collection-manager/interfaces/index.ts +2 -3
  80. package/src/collection-manager/interfaces/input.ts +2 -133
  81. package/src/collection-manager/interfaces/integer.ts +2 -71
  82. package/src/collection-manager/interfaces/json.tsx +17 -11
  83. package/src/collection-manager/interfaces/m2m.tsx +0 -21
  84. package/src/collection-manager/interfaces/m2o.tsx +0 -22
  85. package/src/collection-manager/interfaces/markdown.ts +2 -51
  86. package/src/collection-manager/interfaces/multipleSelect.ts +2 -14
  87. package/src/collection-manager/interfaces/nanoid.ts +2 -2
  88. package/src/collection-manager/interfaces/number.ts +2 -85
  89. package/src/collection-manager/interfaces/o2m.tsx +1 -22
  90. package/src/collection-manager/interfaces/obo.tsx +145 -0
  91. package/src/collection-manager/interfaces/oho.tsx +145 -0
  92. package/src/collection-manager/interfaces/password.ts +2 -44
  93. package/src/collection-manager/interfaces/percent.ts +2 -74
  94. package/src/collection-manager/interfaces/phone.ts +2 -2
  95. package/src/collection-manager/interfaces/properties/index.ts +0 -133
  96. package/src/collection-manager/interfaces/radioGroup.ts +2 -2
  97. package/src/collection-manager/interfaces/richText.ts +2 -51
  98. package/src/collection-manager/interfaces/select.ts +2 -14
  99. package/src/collection-manager/interfaces/snowflake-id.ts +2 -2
  100. package/src/collection-manager/interfaces/tableoid.ts +1 -2
  101. package/src/collection-manager/interfaces/textarea.ts +2 -51
  102. package/src/collection-manager/interfaces/time.ts +2 -2
  103. package/src/collection-manager/interfaces/types.ts +4 -12
  104. package/src/collection-manager/interfaces/unixTimestamp.tsx +2 -2
  105. package/src/collection-manager/interfaces/updatedAt.ts +2 -2
  106. package/src/collection-manager/interfaces/updatedBy.ts +1 -12
  107. package/src/collection-manager/interfaces/url.ts +2 -4
  108. package/src/collection-manager/interfaces/uuid.ts +2 -2
  109. package/src/collection-manager/template-fields.ts +109 -0
  110. package/src/components/README.md +1 -0
  111. package/src/components/README.zh-CN.md +1 -0
  112. package/src/components/form/VariableInput.tsx +101 -28
  113. package/src/components/form/__tests__/VariableInput.test.ts +85 -0
  114. package/src/components/form/filter/CollectionFilter.tsx +11 -1
  115. package/src/components/form/filter/CollectionFilterItem.tsx +12 -4
  116. package/src/components/form/filter/__tests__/CollectionFilterItem.test.tsx +42 -0
  117. package/src/components/form/filter/useFilterActionProps.ts +7 -4
  118. package/src/flow/components/filter/useFilterOptions.ts +27 -5
  119. package/src/flow/models/actions/UpdateRecordActionModel.tsx +14 -95
  120. package/src/flow/models/actions/UpdateRecordActionUtils.ts +4 -7
  121. package/src/flow/models/actions/__tests__/AssignFormRefill.test.ts +26 -1
  122. package/src/flow/models/blocks/assign-form/AssignFormItemModel.tsx +63 -2
  123. package/src/flow/models/blocks/assign-form/assignFieldValuesFlow.tsx +206 -0
  124. package/src/flow/models/blocks/assign-form/index.ts +1 -0
  125. package/src/flow/models/blocks/form/FormActionModel.tsx +30 -3
  126. package/src/flow/models/blocks/form/__tests__/submitHandler.test.ts +71 -0
  127. package/src/flow/models/blocks/form/submitHandler.ts +8 -1
  128. package/src/flow/models/fields/CollectionSelectorFieldModel.tsx +8 -2
  129. package/src/flow/models/fields/DisplayEnumFieldModel.tsx +8 -2
  130. package/src/index.ts +4 -0
  131. package/es/collection-manager/interfaces/linkTo.d.ts +0 -90
  132. package/es/collection-manager/interfaces/o2o.d.ts +0 -621
  133. package/es/collection-manager/interfaces/properties/operators.d.ts +0 -294
  134. package/es/collection-manager/interfaces/subTable.d.ts +0 -172
  135. package/src/collection-manager/interfaces/linkTo.ts +0 -120
  136. package/src/collection-manager/interfaces/o2o.tsx +0 -561
  137. package/src/collection-manager/interfaces/subTable.ts +0 -218
@@ -6,7 +6,6 @@
6
6
  * This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
7
7
  * For more information, please refer to: https://www.nocobase.com/agreement.
8
8
  */
9
- import { ISchema } from '@formily/react';
10
9
  import { CollectionFieldInterface } from '../../collection-field-interface/CollectionFieldInterface';
11
10
  export declare class CollectionSelectFieldInterface extends CollectionFieldInterface {
12
11
  name: string;
@@ -26,19 +25,19 @@ export declare class CollectionSelectFieldInterface extends CollectionFieldInter
26
25
  availableTypes: string[];
27
26
  hasDefaultValue: boolean;
28
27
  properties: {
29
- 'uiSchema.enum': import("@formily/react").Stringify<{
28
+ 'uiSchema.enum': import("@formily/json-schema").Stringify<{
30
29
  [key: symbol]: any;
31
30
  [key: `x-${string}`]: any;
32
31
  [key: `x-${number}`]: any;
33
32
  version?: string;
34
- name?: import("@formily/react").SchemaKey;
33
+ name?: import("@formily/json-schema").SchemaKey;
35
34
  title?: any;
36
35
  description?: any;
37
36
  default?: any;
38
37
  readOnly?: boolean;
39
38
  writeOnly?: boolean;
40
- type?: import("@formily/react").SchemaTypes;
41
- enum?: import("@formily/react").SchemaEnum<any>;
39
+ type?: import("@formily/json-schema").SchemaTypes;
40
+ enum?: import("@formily/json-schema").SchemaEnum<any>;
42
41
  const?: any;
43
42
  multipleOf?: number;
44
43
  maximum?: number;
@@ -57,12 +56,12 @@ export declare class CollectionSelectFieldInterface extends CollectionFieldInter
57
56
  format?: string;
58
57
  $ref?: string;
59
58
  $namespace?: string;
60
- definitions?: import("@formily/react").SchemaProperties<any, any, any, any, any, any, any, any>;
61
- properties?: import("@formily/react").SchemaProperties<any, any, any, any, any, any, any, any>;
62
- items?: import("@formily/react").SchemaItems<any, any, any, any, any, any, any, any>;
63
- additionalItems?: import("@formily/react").Stringify<any>;
64
- patternProperties?: import("@formily/react").SchemaProperties<any, any, any, any, any, any, any, any>;
65
- additionalProperties?: import("@formily/react").Stringify<any>;
59
+ definitions?: import("@formily/json-schema").SchemaProperties<any, any, any, any, any, any, any, any>;
60
+ properties?: import("@formily/json-schema").SchemaProperties<any, any, any, any, any, any, any, any>;
61
+ items?: import("@formily/json-schema").SchemaItems<any, any, any, any, any, any, any, any>;
62
+ additionalItems?: import("@formily/json-schema").Stringify<any>;
63
+ patternProperties?: import("@formily/json-schema").SchemaProperties<any, any, any, any, any, any, any, any>;
64
+ additionalProperties?: import("@formily/json-schema").Stringify<any>;
66
65
  "x-value"?: any;
67
66
  "x-index"?: number;
68
67
  "x-pattern"?: any;
@@ -72,7 +71,7 @@ export declare class CollectionSelectFieldInterface extends CollectionFieldInter
72
71
  "x-decorator-props"?: any;
73
72
  "x-component"?: any;
74
73
  "x-component-props"?: any;
75
- "x-reactions"?: import("@formily/react").SchemaReactions<any>;
74
+ "x-reactions"?: import("@formily/json-schema").SchemaReactions<any>;
76
75
  "x-content"?: any;
77
76
  "x-data"?: any;
78
77
  "x-visible"?: boolean;
@@ -102,44 +101,6 @@ export declare class CollectionSelectFieldInterface extends CollectionFieldInter
102
101
  };
103
102
  };
104
103
  filterable: {
105
- operators: ({
106
- label: string;
107
- value: string;
108
- selected: boolean;
109
- schema: {
110
- 'x-component': string;
111
- 'x-component-props'?: undefined;
112
- };
113
- noValue?: undefined;
114
- } | {
115
- label: string;
116
- value: string;
117
- schema: {
118
- 'x-component': string;
119
- 'x-component-props'?: undefined;
120
- };
121
- selected?: undefined;
122
- noValue?: undefined;
123
- } | {
124
- label: string;
125
- value: string;
126
- schema: {
127
- 'x-component': string;
128
- 'x-component-props': {
129
- mode: string;
130
- };
131
- };
132
- selected?: undefined;
133
- noValue?: undefined;
134
- } | {
135
- label: string;
136
- value: string;
137
- noValue: boolean;
138
- selected?: undefined;
139
- schema?: undefined;
140
- })[];
104
+ operators: string;
141
105
  };
142
- schemaInitialize(schema: ISchema, { block }: {
143
- block: any;
144
- }): void;
145
106
  }
@@ -42,21 +42,6 @@ export declare class ColorFieldInterface extends CollectionFieldInterface {
42
42
  };
43
43
  };
44
44
  filterable: {
45
- operators: ({
46
- label: string;
47
- value: string;
48
- selected: boolean;
49
- noValue?: undefined;
50
- } | {
51
- label: string;
52
- value: string;
53
- selected?: undefined;
54
- noValue?: undefined;
55
- } | {
56
- label: string;
57
- value: string;
58
- noValue: boolean;
59
- selected?: undefined;
60
- })[];
45
+ operators: string;
61
46
  };
62
47
  }
@@ -47,50 +47,7 @@ export declare class CreatedAtFieldInterface extends CollectionFieldInterface {
47
47
  };
48
48
  };
49
49
  filterable: {
50
- operators: ({
51
- label: string;
52
- value: string;
53
- selected: boolean;
54
- schema: {
55
- 'x-component': string;
56
- 'x-component-props': {
57
- isRange: boolean;
58
- };
59
- };
60
- onlyFilterAction: boolean;
61
- noValue?: undefined;
62
- } | {
63
- label: string;
64
- value: string;
65
- schema: {
66
- 'x-component': string;
67
- 'x-component-props': {
68
- isRange: boolean;
69
- };
70
- };
71
- onlyFilterAction: boolean;
72
- selected?: undefined;
73
- noValue?: undefined;
74
- } | {
75
- label: string;
76
- value: string;
77
- schema: {
78
- 'x-component': string;
79
- 'x-component-props': {
80
- isRange: boolean;
81
- };
82
- };
83
- selected?: undefined;
84
- onlyFilterAction?: undefined;
85
- noValue?: undefined;
86
- } | {
87
- label: string;
88
- value: string;
89
- noValue: boolean;
90
- selected?: undefined;
91
- schema?: undefined;
92
- onlyFilterAction?: undefined;
93
- })[];
50
+ operators: string;
94
51
  };
95
52
  titleUsable: boolean;
96
53
  }
@@ -6,7 +6,6 @@
6
6
  * This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
7
7
  * For more information, please refer to: https://www.nocobase.com/agreement.
8
8
  */
9
- import { ISchema } from '@formily/react';
10
9
  import { CollectionFieldInterface } from '../../collection-field-interface/CollectionFieldInterface';
11
10
  export declare class CreatedByFieldInterface extends CollectionFieldInterface {
12
11
  name: string;
@@ -56,8 +55,5 @@ export declare class CreatedByFieldInterface extends CollectionFieldInterface {
56
55
  nested: boolean;
57
56
  children: any[];
58
57
  };
59
- schemaInitialize(schema: ISchema, { block }: {
60
- block: string;
61
- }): void;
62
58
  description: string;
63
59
  }
@@ -35,6 +35,12 @@ export declare class DateFieldInterface extends CollectionFieldInterface {
35
35
  'x-component': string;
36
36
  'x-visible': boolean;
37
37
  };
38
+ 'uiSchema.x-component-props.timeFormat': {
39
+ type: string;
40
+ 'x-decorator': string;
41
+ 'x-component': string;
42
+ 'x-visible': boolean;
43
+ };
38
44
  'uiSchema.title': {
39
45
  type: string;
40
46
  title: string;
@@ -54,50 +60,7 @@ export declare class DateFieldInterface extends CollectionFieldInterface {
54
60
  };
55
61
  };
56
62
  filterable: {
57
- operators: ({
58
- label: string;
59
- value: string;
60
- selected: boolean;
61
- schema: {
62
- 'x-component': string;
63
- 'x-component-props': {
64
- isRange: boolean;
65
- };
66
- };
67
- onlyFilterAction: boolean;
68
- noValue?: undefined;
69
- } | {
70
- label: string;
71
- value: string;
72
- schema: {
73
- 'x-component': string;
74
- 'x-component-props': {
75
- isRange: boolean;
76
- };
77
- };
78
- onlyFilterAction: boolean;
79
- selected?: undefined;
80
- noValue?: undefined;
81
- } | {
82
- label: string;
83
- value: string;
84
- schema: {
85
- 'x-component': string;
86
- 'x-component-props': {
87
- isRange: boolean;
88
- };
89
- };
90
- selected?: undefined;
91
- onlyFilterAction?: undefined;
92
- noValue?: undefined;
93
- } | {
94
- label: string;
95
- value: string;
96
- noValue: boolean;
97
- selected?: undefined;
98
- schema?: undefined;
99
- onlyFilterAction?: undefined;
100
- })[];
63
+ operators: string;
101
64
  };
102
65
  titleUsable: boolean;
103
66
  }
@@ -72,50 +72,7 @@ export declare class DatetimeFieldInterface extends CollectionFieldInterface {
72
72
  };
73
73
  };
74
74
  filterable: {
75
- operators: ({
76
- label: string;
77
- value: string;
78
- selected: boolean;
79
- schema: {
80
- 'x-component': string;
81
- 'x-component-props': {
82
- isRange: boolean;
83
- };
84
- };
85
- onlyFilterAction: boolean;
86
- noValue?: undefined;
87
- } | {
88
- label: string;
89
- value: string;
90
- schema: {
91
- 'x-component': string;
92
- 'x-component-props': {
93
- isRange: boolean;
94
- };
95
- };
96
- onlyFilterAction: boolean;
97
- selected?: undefined;
98
- noValue?: undefined;
99
- } | {
100
- label: string;
101
- value: string;
102
- schema: {
103
- 'x-component': string;
104
- 'x-component-props': {
105
- isRange: boolean;
106
- };
107
- };
108
- selected?: undefined;
109
- onlyFilterAction?: undefined;
110
- noValue?: undefined;
111
- } | {
112
- label: string;
113
- value: string;
114
- noValue: boolean;
115
- selected?: undefined;
116
- schema?: undefined;
117
- onlyFilterAction?: undefined;
118
- })[];
75
+ operators: string;
119
76
  };
120
77
  titleUsable: boolean;
121
78
  }
@@ -72,50 +72,7 @@ export declare class DatetimeNoTzFieldInterface extends CollectionFieldInterface
72
72
  };
73
73
  };
74
74
  filterable: {
75
- operators: ({
76
- label: string;
77
- value: string;
78
- selected: boolean;
79
- schema: {
80
- 'x-component': string;
81
- 'x-component-props': {
82
- isRange: boolean;
83
- };
84
- };
85
- onlyFilterAction: boolean;
86
- noValue?: undefined;
87
- } | {
88
- label: string;
89
- value: string;
90
- schema: {
91
- 'x-component': string;
92
- 'x-component-props': {
93
- isRange: boolean;
94
- };
95
- };
96
- onlyFilterAction: boolean;
97
- selected?: undefined;
98
- noValue?: undefined;
99
- } | {
100
- label: string;
101
- value: string;
102
- schema: {
103
- 'x-component': string;
104
- 'x-component-props': {
105
- isRange: boolean;
106
- };
107
- };
108
- selected?: undefined;
109
- onlyFilterAction?: undefined;
110
- noValue?: undefined;
111
- } | {
112
- label: string;
113
- value: string;
114
- noValue: boolean;
115
- selected?: undefined;
116
- schema?: undefined;
117
- onlyFilterAction?: undefined;
118
- })[];
75
+ operators: string;
119
76
  };
120
77
  titleUsable: boolean;
121
78
  }
@@ -6,7 +6,6 @@
6
6
  * This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
7
7
  * For more information, please refer to: https://www.nocobase.com/agreement.
8
8
  */
9
- import { ISchema } from '@formily/react';
10
9
  import { CollectionFieldInterface } from '../../collection-field-interface/CollectionFieldInterface';
11
10
  export declare class EmailFieldInterface extends CollectionFieldInterface {
12
11
  name: string;
@@ -34,15 +33,6 @@ export declare class EmailFieldInterface extends CollectionFieldInterface {
34
33
  'x-decorator': string;
35
34
  'x-component': string;
36
35
  'x-disabled': string;
37
- 'x-reactions': {
38
- dependencies: string[];
39
- when: string;
40
- fulfill: {
41
- state: {
42
- value: boolean;
43
- };
44
- };
45
- }[];
46
36
  };
47
37
  'uiSchema.title': {
48
38
  type: string;
@@ -63,25 +53,7 @@ export declare class EmailFieldInterface extends CollectionFieldInterface {
63
53
  };
64
54
  };
65
55
  filterable: {
66
- operators: ({
67
- label: string;
68
- value: string;
69
- selected: boolean;
70
- noValue?: undefined;
71
- } | {
72
- label: string;
73
- value: string;
74
- selected?: undefined;
75
- noValue?: undefined;
76
- } | {
77
- label: string;
78
- value: string;
79
- noValue: boolean;
80
- selected?: undefined;
81
- })[];
56
+ operators: string;
82
57
  };
83
58
  titleUsable: boolean;
84
- schemaInitialize(schema: ISchema, { block }: {
85
- block: any;
86
- }): void;
87
59
  }
@@ -49,22 +49,7 @@ export declare class IdFieldInterface extends CollectionFieldInterface {
49
49
  };
50
50
  };
51
51
  filterable: {
52
- operators: ({
53
- label: string;
54
- value: string;
55
- selected: boolean;
56
- noValue?: undefined;
57
- } | {
58
- label: string;
59
- value: string;
60
- selected?: undefined;
61
- noValue?: undefined;
62
- } | {
63
- label: string;
64
- value: string;
65
- noValue: boolean;
66
- selected?: undefined;
67
- })[];
52
+ operators: string;
68
53
  };
69
54
  description: string;
70
55
  titleUsable: boolean;
@@ -19,14 +19,14 @@ export * from './id';
19
19
  export * from './input';
20
20
  export * from './integer';
21
21
  export * from './json';
22
- export * from './linkTo';
23
22
  export * from './m2m';
24
23
  export * from './m2o';
25
24
  export * from './markdown';
26
25
  export * from './multipleSelect';
27
26
  export * from './number';
27
+ export * from './obo';
28
28
  export * from './o2m';
29
- export * from './o2o';
29
+ export * from './oho';
30
30
  export * from './password';
31
31
  export * from './percent';
32
32
  export * from './phone';
@@ -34,7 +34,6 @@ export * from './radioGroup';
34
34
  export * from './richText';
35
35
  export * from './select';
36
36
  export * from './snowflake-id';
37
- export * from './subTable';
38
37
  export * from './tableoid';
39
38
  export * from './textarea';
40
39
  export * from './time';
@@ -6,7 +6,6 @@
6
6
  * This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
7
7
  * For more information, please refer to: https://www.nocobase.com/agreement.
8
8
  */
9
- import { ISchema } from '@formily/react';
10
9
  import { CollectionFieldInterface } from '../../collection-field-interface/CollectionFieldInterface';
11
10
  export declare class InputFieldInterface extends CollectionFieldInterface {
12
11
  name: string;
@@ -52,15 +51,6 @@ export declare class InputFieldInterface extends CollectionFieldInterface {
52
51
  'x-decorator': string;
53
52
  'x-component': string;
54
53
  'x-disabled': string;
55
- 'x-reactions': {
56
- dependencies: string[];
57
- when: string;
58
- fulfill: {
59
- state: {
60
- value: boolean;
61
- };
62
- };
63
- }[];
64
54
  };
65
55
  unique: {
66
56
  type: string;
@@ -68,15 +58,6 @@ export declare class InputFieldInterface extends CollectionFieldInterface {
68
58
  'x-decorator': string;
69
59
  'x-component': string;
70
60
  'x-disabled': string;
71
- 'x-reactions': {
72
- dependencies: string[];
73
- when: string;
74
- fulfill: {
75
- state: {
76
- value: boolean;
77
- };
78
- };
79
- }[];
80
61
  };
81
62
  };
82
63
  };
@@ -99,89 +80,7 @@ export declare class InputFieldInterface extends CollectionFieldInterface {
99
80
  };
100
81
  };
101
82
  filterable: {
102
- operators: ({
103
- label: string;
104
- value: string;
105
- selected: boolean;
106
- noValue?: undefined;
107
- } | {
108
- label: string;
109
- value: string;
110
- selected?: undefined;
111
- noValue?: undefined;
112
- } | {
113
- label: string;
114
- value: string;
115
- noValue: boolean;
116
- selected?: undefined;
117
- })[];
83
+ operators: string;
118
84
  };
119
85
  titleUsable: boolean;
120
- schemaInitialize(schema: ISchema, { block }: {
121
- block: any;
122
- }): void;
123
- validateSchema(fieldSchema: any): {
124
- max: {
125
- type: string;
126
- title: string;
127
- minimum: number;
128
- 'x-decorator': string;
129
- 'x-component': string;
130
- 'x-component-props': {
131
- precision: number;
132
- };
133
- 'x-reactions': string;
134
- };
135
- min: {
136
- type: string;
137
- title: string;
138
- minimum: number;
139
- 'x-decorator': string;
140
- 'x-component': string;
141
- 'x-component-props': {
142
- precision: number;
143
- };
144
- 'x-reactions': {
145
- dependencies: string[];
146
- fulfill: {
147
- state: {
148
- selfErrors: string;
149
- };
150
- };
151
- };
152
- };
153
- len: {
154
- type: string;
155
- title: string;
156
- minimum: number;
157
- 'x-decorator': string;
158
- 'x-component': string;
159
- 'x-component-props': {
160
- precision: number;
161
- };
162
- };
163
- format: {
164
- type: string;
165
- title: string;
166
- 'x-decorator': string;
167
- 'x-component': string;
168
- 'x-component-props': {
169
- allowClear: boolean;
170
- };
171
- enum: {
172
- label: string;
173
- value: string;
174
- }[];
175
- };
176
- pattern: {
177
- type: string;
178
- title: string;
179
- 'x-decorator': string;
180
- 'x-component': string;
181
- 'x-component-props': {
182
- prefix: string;
183
- suffix: string;
184
- };
185
- };
186
- };
187
86
  }