@tachybase/client 1.3.22 → 1.3.24
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es/application/schema-settings/SchemaSettings.d.ts +1 -1
- package/es/application/schema-settings/SchemaSettings.mjs +5 -3
- package/es/application/schema-settings/SchemaSettingsManager.d.ts +6 -0
- package/es/application/schema-settings/SchemaSettingsManager.mjs +15 -0
- package/es/application/utils/globalDeps.mjs +2 -1
- package/es/built-in/attachment-preview/previewers/file-pdf.mjs +1 -1
- package/es/built-in/locale/LocalePlugin.mjs +0 -2
- package/es/built-in/pm/PluginDetail.mjs +0 -2
- package/es/collection-manager/Configuration/components/index.mjs +1 -1
- package/es/collection-manager/Configuration/index.d.ts +1 -0
- package/es/collection-manager/Configuration/index.mjs +2 -0
- package/es/collection-manager/hooks/index.d.ts +1 -0
- package/es/collection-manager/hooks/index.mjs +2 -0
- package/es/collection-manager/index.d.ts +1 -1
- package/es/collection-manager/index.mjs +2 -2
- package/es/collection-manager/interfaces/checkbox.d.ts +1 -0
- package/es/collection-manager/interfaces/checkbox.mjs +1 -1
- package/es/collection-manager/interfaces/checkboxGroup.d.ts +1 -0
- package/es/collection-manager/interfaces/checkboxGroup.mjs +1 -1
- package/es/collection-manager/interfaces/chinaRegion.d.ts +1 -0
- package/es/collection-manager/interfaces/chinaRegion.mjs +1 -1
- package/es/collection-manager/interfaces/collection.d.ts +1 -0
- package/es/collection-manager/interfaces/collection.mjs +2 -2
- package/es/collection-manager/interfaces/color.d.ts +1 -0
- package/es/collection-manager/interfaces/color.mjs +1 -1
- package/es/collection-manager/interfaces/createdAt.d.ts +1 -0
- package/es/collection-manager/interfaces/createdAt.mjs +1 -1
- package/es/collection-manager/interfaces/createdBy.d.ts +1 -0
- package/es/collection-manager/interfaces/createdBy.mjs +1 -1
- package/es/collection-manager/interfaces/datetime.d.ts +1 -0
- package/es/collection-manager/interfaces/datetime.mjs +1 -1
- package/es/collection-manager/interfaces/email.d.ts +1 -0
- package/es/collection-manager/interfaces/email.mjs +1 -1
- package/es/collection-manager/interfaces/icon.d.ts +1 -0
- package/es/collection-manager/interfaces/icon.mjs +1 -1
- package/es/collection-manager/interfaces/input.d.ts +1 -0
- package/es/collection-manager/interfaces/input.mjs +1 -1
- package/es/collection-manager/interfaces/integer.d.ts +1 -0
- package/es/collection-manager/interfaces/integer.mjs +1 -1
- package/es/collection-manager/interfaces/json.d.ts +1 -0
- package/es/collection-manager/interfaces/json.mjs +1 -1
- package/es/collection-manager/interfaces/m2m.d.ts +1 -0
- package/es/collection-manager/interfaces/m2m.mjs +1 -1
- package/es/collection-manager/interfaces/m2o.d.ts +1 -0
- package/es/collection-manager/interfaces/m2o.mjs +1 -1
- package/es/collection-manager/interfaces/markdown.d.ts +1 -0
- package/es/collection-manager/interfaces/markdown.mjs +1 -1
- package/es/collection-manager/interfaces/multipleSelect.d.ts +1 -0
- package/es/collection-manager/interfaces/multipleSelect.mjs +2 -2
- package/es/collection-manager/interfaces/nanoid.d.ts +1 -0
- package/es/collection-manager/interfaces/nanoid.mjs +1 -1
- package/es/collection-manager/interfaces/number.d.ts +1 -0
- package/es/collection-manager/interfaces/number.mjs +1 -1
- package/es/collection-manager/interfaces/o2m.d.ts +1 -0
- package/es/collection-manager/interfaces/o2m.mjs +1 -1
- package/es/collection-manager/interfaces/o2o.d.ts +1 -0
- package/es/collection-manager/interfaces/o2o.mjs +1 -1
- package/es/collection-manager/interfaces/password.d.ts +1 -0
- package/es/collection-manager/interfaces/password.mjs +1 -1
- package/es/collection-manager/interfaces/percent.d.ts +1 -0
- package/es/collection-manager/interfaces/percent.mjs +2 -2
- package/es/collection-manager/interfaces/phone.d.ts +1 -0
- package/es/collection-manager/interfaces/phone.mjs +1 -1
- package/es/collection-manager/interfaces/radioGroup.d.ts +1 -0
- package/es/collection-manager/interfaces/radioGroup.mjs +1 -1
- package/es/collection-manager/interfaces/richText.d.ts +1 -0
- package/es/collection-manager/interfaces/richText.mjs +1 -1
- package/es/collection-manager/interfaces/select.d.ts +1 -0
- package/es/collection-manager/interfaces/select.mjs +2 -2
- package/es/collection-manager/interfaces/sort.d.ts +1 -0
- package/es/collection-manager/interfaces/sort.mjs +1 -1
- package/es/collection-manager/interfaces/subTable.d.ts +1 -0
- package/es/collection-manager/interfaces/subTable.mjs +1 -1
- package/es/collection-manager/interfaces/tableoid.d.ts +1 -0
- package/es/collection-manager/interfaces/tableoid.mjs +1 -1
- package/es/collection-manager/interfaces/textarea.d.ts +1 -0
- package/es/collection-manager/interfaces/textarea.mjs +1 -1
- package/es/collection-manager/interfaces/time.d.ts +1 -0
- package/es/collection-manager/interfaces/time.mjs +1 -1
- package/es/collection-manager/interfaces/unixTimestamp.d.ts +1 -0
- package/es/collection-manager/interfaces/unixTimestamp.mjs +1 -1
- package/es/collection-manager/interfaces/updatedAt.d.ts +1 -0
- package/es/collection-manager/interfaces/updatedAt.mjs +1 -1
- package/es/collection-manager/interfaces/updatedBy.d.ts +1 -0
- package/es/collection-manager/interfaces/updatedBy.mjs +1 -1
- package/es/collection-manager/interfaces/url.d.ts +1 -0
- package/es/collection-manager/interfaces/url.mjs +1 -1
- package/es/collection-manager/interfaces/uuid.d.ts +1 -0
- package/es/collection-manager/interfaces/uuid.mjs +1 -1
- package/es/data-source/collection-field-interface/CollectionFieldInterface.d.ts +1 -0
- package/es/data-source/collection-field-interface/CollectionFieldInterface.mjs +1 -0
- package/es/filter-provider/utils.mjs +2 -1
- package/es/icon/preloaded.mjs +0 -1
- package/es/index.d.ts +3 -0
- package/es/index.mjs +4 -1
- package/es/preload.d.ts +16 -0
- package/es/preload.mjs +33 -0
- package/es/schema-component/antd/association-field/index.d.ts +1 -0
- package/es/schema-component/antd/association-field/index.mjs +2 -1
- package/es/schema-component/antd/color-picker/util.d.ts +1 -1
- package/es/schema-component/antd/color-picker/util.mjs +2 -1
- package/es/schema-component/antd/date-picker/util.d.ts +1 -1
- package/es/schema-component/antd/date-picker/util.mjs +2 -1
- package/es/schema-component/antd/filter/index.d.ts +1 -0
- package/es/schema-component/antd/filter/index.mjs +1 -0
- package/es/schema-component/antd/form-v2/index.d.ts +1 -0
- package/es/schema-component/antd/form-v2/index.mjs +1 -0
- package/es/schema-component/antd/table-v2/index.d.ts +1 -0
- package/es/schema-component/antd/table-v2/index.mjs +1 -0
- package/es/schema-component/common/sortable-item/DragHandlePageTab.mjs +6 -7
- package/es/schema-settings/LinkageRules/index.d.ts +2 -0
- package/es/schema-settings/LinkageRules/index.mjs +2 -0
- package/es/schema-settings/VariableInput/index.d.ts +1 -0
- package/es/schema-settings/VariableInput/index.mjs +1 -0
- package/es/schema-settings/index.d.ts +3 -0
- package/es/schema-settings/index.mjs +3 -0
- package/es/variables/hooks/useBuiltinVariables.mjs +1 -1
- package/lib/application/schema-settings/SchemaSettings.js +5 -3
- package/lib/application/schema-settings/SchemaSettingsManager.js +15 -0
- package/lib/application/utils/globalDeps.js +3 -1
- package/lib/block-provider/hooks/index.js +2 -2
- package/lib/built-in/attachment-preview/previewers/file-pdf.js +1 -1
- package/lib/built-in/locale/LocalePlugin.js +72 -92
- package/lib/built-in/pm/PluginDetail.js +0 -3
- package/lib/collection-manager/Configuration/components/index.js +1 -1
- package/lib/collection-manager/Configuration/index.js +79 -19
- package/lib/collection-manager/hooks/index.js +28 -5
- package/lib/collection-manager/index.js +37 -17
- package/lib/collection-manager/interfaces/checkbox.js +1 -1
- package/lib/collection-manager/interfaces/checkboxGroup.js +1 -1
- package/lib/collection-manager/interfaces/chinaRegion.js +1 -1
- package/lib/collection-manager/interfaces/collection.js +2 -2
- package/lib/collection-manager/interfaces/color.js +1 -1
- package/lib/collection-manager/interfaces/createdAt.js +1 -1
- package/lib/collection-manager/interfaces/createdBy.js +1 -1
- package/lib/collection-manager/interfaces/datetime.js +1 -1
- package/lib/collection-manager/interfaces/email.js +1 -1
- package/lib/collection-manager/interfaces/icon.js +1 -1
- package/lib/collection-manager/interfaces/input.js +1 -1
- package/lib/collection-manager/interfaces/integer.js +1 -1
- package/lib/collection-manager/interfaces/json.js +1 -1
- package/lib/collection-manager/interfaces/m2m.js +1 -1
- package/lib/collection-manager/interfaces/m2o.js +1 -1
- package/lib/collection-manager/interfaces/markdown.js +1 -1
- package/lib/collection-manager/interfaces/multipleSelect.js +2 -2
- package/lib/collection-manager/interfaces/nanoid.js +1 -1
- package/lib/collection-manager/interfaces/number.js +1 -1
- package/lib/collection-manager/interfaces/o2m.js +1 -1
- package/lib/collection-manager/interfaces/o2o.js +1 -1
- package/lib/collection-manager/interfaces/password.js +1 -1
- package/lib/collection-manager/interfaces/percent.js +2 -2
- package/lib/collection-manager/interfaces/phone.js +1 -1
- package/lib/collection-manager/interfaces/radioGroup.js +1 -1
- package/lib/collection-manager/interfaces/richText.js +1 -1
- package/lib/collection-manager/interfaces/select.js +2 -2
- package/lib/collection-manager/interfaces/sort.js +1 -1
- package/lib/collection-manager/interfaces/subTable.js +1 -1
- package/lib/collection-manager/interfaces/tableoid.js +1 -1
- package/lib/collection-manager/interfaces/textarea.js +1 -1
- package/lib/collection-manager/interfaces/time.js +1 -1
- package/lib/collection-manager/interfaces/unixTimestamp.js +1 -1
- package/lib/collection-manager/interfaces/updatedAt.js +1 -1
- package/lib/collection-manager/interfaces/updatedBy.js +1 -1
- package/lib/collection-manager/interfaces/url.js +1 -1
- package/lib/collection-manager/interfaces/uuid.js +1 -1
- package/lib/data-source/collection-field-interface/CollectionFieldInterface.js +1 -0
- package/lib/filter-provider/utils.js +3 -1
- package/lib/icon/preloaded.js +0 -1
- package/lib/index.js +234 -125
- package/lib/locale/zh-CN.js +3 -0
- package/lib/preload.js +77 -0
- package/lib/schema-component/antd/association-field/index.js +10 -2
- package/lib/schema-component/antd/color-picker/util.js +17 -6
- package/lib/schema-component/antd/date-picker/util.js +29 -18
- package/lib/schema-component/antd/filter/index.js +9 -0
- package/lib/schema-component/antd/form-v2/index.js +14 -0
- package/lib/schema-component/antd/table-v2/index.js +9 -0
- package/lib/schema-component/common/sortable-item/DragHandlePageTab.js +6 -7
- package/lib/schema-settings/LinkageRules/index.js +271 -180
- package/lib/schema-settings/VariableInput/index.js +9 -0
- package/lib/schema-settings/index.js +75 -48
- package/lib/variables/hooks/useBuiltinVariables.js +13 -3
- package/package.json +6 -6
|
@@ -11,6 +11,9 @@ var __webpack_modules__ = {
|
|
|
11
11
|
},
|
|
12
12
|
"./useCollection_deprecated": function(module) {
|
|
13
13
|
module.exports = require("./useCollection_deprecated.js");
|
|
14
|
+
},
|
|
15
|
+
"./useDialect": function(module) {
|
|
16
|
+
module.exports = require("./useDialect.js");
|
|
14
17
|
}
|
|
15
18
|
};
|
|
16
19
|
var __webpack_module_cache__ = {};
|
|
@@ -56,32 +59,52 @@ function __webpack_require__(moduleId) {
|
|
|
56
59
|
var __webpack_exports__ = {};
|
|
57
60
|
(()=>{
|
|
58
61
|
__webpack_require__.r(__webpack_exports__);
|
|
62
|
+
__webpack_require__.d(__webpack_exports__, {
|
|
63
|
+
useDialect: ()=>_useDialect__WEBPACK_IMPORTED_MODULE_4___default.a
|
|
64
|
+
});
|
|
59
65
|
var _useCollection_deprecated__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("./useCollection_deprecated");
|
|
60
66
|
var __WEBPACK_REEXPORT_OBJECT__ = {};
|
|
61
|
-
for(var __WEBPACK_IMPORT_KEY__ in _useCollection_deprecated__WEBPACK_IMPORTED_MODULE_0__)if (
|
|
67
|
+
for(var __WEBPACK_IMPORT_KEY__ in _useCollection_deprecated__WEBPACK_IMPORTED_MODULE_0__)if ([
|
|
68
|
+
"useDialect",
|
|
69
|
+
"default"
|
|
70
|
+
].indexOf(__WEBPACK_IMPORT_KEY__) < 0) __WEBPACK_REEXPORT_OBJECT__[__WEBPACK_IMPORT_KEY__] = (function(key) {
|
|
62
71
|
return _useCollection_deprecated__WEBPACK_IMPORTED_MODULE_0__[key];
|
|
63
72
|
}).bind(0, __WEBPACK_IMPORT_KEY__);
|
|
64
73
|
__webpack_require__.d(__webpack_exports__, __WEBPACK_REEXPORT_OBJECT__);
|
|
65
74
|
var _useCollectionField_deprecated__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("./useCollectionField_deprecated");
|
|
66
75
|
var __WEBPACK_REEXPORT_OBJECT__ = {};
|
|
67
|
-
for(var __WEBPACK_IMPORT_KEY__ in _useCollectionField_deprecated__WEBPACK_IMPORTED_MODULE_1__)if (
|
|
76
|
+
for(var __WEBPACK_IMPORT_KEY__ in _useCollectionField_deprecated__WEBPACK_IMPORTED_MODULE_1__)if ([
|
|
77
|
+
"useDialect",
|
|
78
|
+
"default"
|
|
79
|
+
].indexOf(__WEBPACK_IMPORT_KEY__) < 0) __WEBPACK_REEXPORT_OBJECT__[__WEBPACK_IMPORT_KEY__] = (function(key) {
|
|
68
80
|
return _useCollectionField_deprecated__WEBPACK_IMPORTED_MODULE_1__[key];
|
|
69
81
|
}).bind(0, __WEBPACK_IMPORT_KEY__);
|
|
70
82
|
__webpack_require__.d(__webpack_exports__, __WEBPACK_REEXPORT_OBJECT__);
|
|
71
83
|
var _useCollectionManager_deprecated__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("./useCollectionManager_deprecated");
|
|
72
84
|
var __WEBPACK_REEXPORT_OBJECT__ = {};
|
|
73
|
-
for(var __WEBPACK_IMPORT_KEY__ in _useCollectionManager_deprecated__WEBPACK_IMPORTED_MODULE_2__)if (
|
|
85
|
+
for(var __WEBPACK_IMPORT_KEY__ in _useCollectionManager_deprecated__WEBPACK_IMPORTED_MODULE_2__)if ([
|
|
86
|
+
"useDialect",
|
|
87
|
+
"default"
|
|
88
|
+
].indexOf(__WEBPACK_IMPORT_KEY__) < 0) __WEBPACK_REEXPORT_OBJECT__[__WEBPACK_IMPORT_KEY__] = (function(key) {
|
|
74
89
|
return _useCollectionManager_deprecated__WEBPACK_IMPORTED_MODULE_2__[key];
|
|
75
90
|
}).bind(0, __WEBPACK_IMPORT_KEY__);
|
|
76
91
|
__webpack_require__.d(__webpack_exports__, __WEBPACK_REEXPORT_OBJECT__);
|
|
77
92
|
var _useCollectionDataSource__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__("./useCollectionDataSource");
|
|
78
93
|
var __WEBPACK_REEXPORT_OBJECT__ = {};
|
|
79
|
-
for(var __WEBPACK_IMPORT_KEY__ in _useCollectionDataSource__WEBPACK_IMPORTED_MODULE_3__)if (
|
|
94
|
+
for(var __WEBPACK_IMPORT_KEY__ in _useCollectionDataSource__WEBPACK_IMPORTED_MODULE_3__)if ([
|
|
95
|
+
"useDialect",
|
|
96
|
+
"default"
|
|
97
|
+
].indexOf(__WEBPACK_IMPORT_KEY__) < 0) __WEBPACK_REEXPORT_OBJECT__[__WEBPACK_IMPORT_KEY__] = (function(key) {
|
|
80
98
|
return _useCollectionDataSource__WEBPACK_IMPORTED_MODULE_3__[key];
|
|
81
99
|
}).bind(0, __WEBPACK_IMPORT_KEY__);
|
|
82
100
|
__webpack_require__.d(__webpack_exports__, __WEBPACK_REEXPORT_OBJECT__);
|
|
101
|
+
var _useDialect__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__("./useDialect");
|
|
102
|
+
var _useDialect__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/ __webpack_require__.n(_useDialect__WEBPACK_IMPORTED_MODULE_4__);
|
|
83
103
|
})();
|
|
84
|
-
|
|
104
|
+
exports.useDialect = __webpack_exports__.useDialect;
|
|
105
|
+
for(var __webpack_i__ in __webpack_exports__)if (-1 === [
|
|
106
|
+
"useDialect"
|
|
107
|
+
].indexOf(__webpack_i__)) exports[__webpack_i__] = __webpack_exports__[__webpack_i__];
|
|
85
108
|
Object.defineProperty(exports, '__esModule', {
|
|
86
109
|
value: true
|
|
87
110
|
});
|
|
@@ -111,6 +111,7 @@ var __webpack_exports__ = {};
|
|
|
111
111
|
useCancelAction: ()=>_action_hooks__WEBPACK_IMPORTED_MODULE_0__.useCancelAction,
|
|
112
112
|
useCollectionFieldsOptions: ()=>_action_hooks__WEBPACK_IMPORTED_MODULE_0__.useCollectionFieldsOptions,
|
|
113
113
|
useCollectionFilterOptions: ()=>_action_hooks__WEBPACK_IMPORTED_MODULE_0__.useCollectionFilterOptions,
|
|
114
|
+
useCollectionFilterOptionsV2: ()=>_action_hooks__WEBPACK_IMPORTED_MODULE_0__.useCollectionFilterOptionsV2,
|
|
114
115
|
useFieldInterfaceOptions: ()=>_Configuration_interfaces__WEBPACK_IMPORTED_MODULE_5__.useFieldInterfaceOptions,
|
|
115
116
|
useLinkageCollectionFilterOptions: ()=>_action_hooks__WEBPACK_IMPORTED_MODULE_0__.useLinkageCollectionFilterOptions,
|
|
116
117
|
useSortFields: ()=>_action_hooks__WEBPACK_IMPORTED_MODULE_0__.useSortFields
|
|
@@ -121,11 +122,12 @@ var __webpack_exports__ = {};
|
|
|
121
122
|
for(var __WEBPACK_IMPORT_KEY__ in _CollectionManagerProvider__WEBPACK_IMPORTED_MODULE_1__)if ([
|
|
122
123
|
"interfacesProperties",
|
|
123
124
|
"useCollectionFilterOptions",
|
|
124
|
-
"useFieldInterfaceOptions",
|
|
125
125
|
"useLinkageCollectionFilterOptions",
|
|
126
126
|
"useSortFields",
|
|
127
127
|
"isDeleteButtonDisabled",
|
|
128
|
+
"useFieldInterfaceOptions",
|
|
128
129
|
"default",
|
|
130
|
+
"useCollectionFilterOptionsV2",
|
|
129
131
|
"getConfigurableProperties",
|
|
130
132
|
"useCancelAction",
|
|
131
133
|
"useCollectionFieldsOptions"
|
|
@@ -138,11 +140,12 @@ var __webpack_exports__ = {};
|
|
|
138
140
|
for(var __WEBPACK_IMPORT_KEY__ in _CollectionManagerSchemaComponentProvider__WEBPACK_IMPORTED_MODULE_2__)if ([
|
|
139
141
|
"interfacesProperties",
|
|
140
142
|
"useCollectionFilterOptions",
|
|
141
|
-
"useFieldInterfaceOptions",
|
|
142
143
|
"useLinkageCollectionFilterOptions",
|
|
143
144
|
"useSortFields",
|
|
144
145
|
"isDeleteButtonDisabled",
|
|
146
|
+
"useFieldInterfaceOptions",
|
|
145
147
|
"default",
|
|
148
|
+
"useCollectionFilterOptionsV2",
|
|
146
149
|
"getConfigurableProperties",
|
|
147
150
|
"useCancelAction",
|
|
148
151
|
"useCollectionFieldsOptions"
|
|
@@ -155,11 +158,12 @@ var __webpack_exports__ = {};
|
|
|
155
158
|
for(var __WEBPACK_IMPORT_KEY__ in _CollectionProvider_deprecated__WEBPACK_IMPORTED_MODULE_3__)if ([
|
|
156
159
|
"interfacesProperties",
|
|
157
160
|
"useCollectionFilterOptions",
|
|
158
|
-
"useFieldInterfaceOptions",
|
|
159
161
|
"useLinkageCollectionFilterOptions",
|
|
160
162
|
"useSortFields",
|
|
161
163
|
"isDeleteButtonDisabled",
|
|
164
|
+
"useFieldInterfaceOptions",
|
|
162
165
|
"default",
|
|
166
|
+
"useCollectionFilterOptionsV2",
|
|
163
167
|
"getConfigurableProperties",
|
|
164
168
|
"useCancelAction",
|
|
165
169
|
"useCollectionFieldsOptions"
|
|
@@ -172,11 +176,12 @@ var __webpack_exports__ = {};
|
|
|
172
176
|
for(var __WEBPACK_IMPORT_KEY__ in _Configuration__WEBPACK_IMPORTED_MODULE_4__)if ([
|
|
173
177
|
"interfacesProperties",
|
|
174
178
|
"useCollectionFilterOptions",
|
|
175
|
-
"useFieldInterfaceOptions",
|
|
176
179
|
"useLinkageCollectionFilterOptions",
|
|
177
180
|
"useSortFields",
|
|
178
181
|
"isDeleteButtonDisabled",
|
|
182
|
+
"useFieldInterfaceOptions",
|
|
179
183
|
"default",
|
|
184
|
+
"useCollectionFilterOptionsV2",
|
|
180
185
|
"getConfigurableProperties",
|
|
181
186
|
"useCancelAction",
|
|
182
187
|
"useCollectionFieldsOptions"
|
|
@@ -190,11 +195,12 @@ var __webpack_exports__ = {};
|
|
|
190
195
|
for(var __WEBPACK_IMPORT_KEY__ in _context__WEBPACK_IMPORTED_MODULE_6__)if ([
|
|
191
196
|
"interfacesProperties",
|
|
192
197
|
"useCollectionFilterOptions",
|
|
193
|
-
"useFieldInterfaceOptions",
|
|
194
198
|
"useLinkageCollectionFilterOptions",
|
|
195
199
|
"useSortFields",
|
|
196
200
|
"isDeleteButtonDisabled",
|
|
201
|
+
"useFieldInterfaceOptions",
|
|
197
202
|
"default",
|
|
203
|
+
"useCollectionFilterOptionsV2",
|
|
198
204
|
"getConfigurableProperties",
|
|
199
205
|
"useCancelAction",
|
|
200
206
|
"useCollectionFieldsOptions"
|
|
@@ -207,11 +213,12 @@ var __webpack_exports__ = {};
|
|
|
207
213
|
for(var __WEBPACK_IMPORT_KEY__ in _hooks__WEBPACK_IMPORTED_MODULE_7__)if ([
|
|
208
214
|
"interfacesProperties",
|
|
209
215
|
"useCollectionFilterOptions",
|
|
210
|
-
"useFieldInterfaceOptions",
|
|
211
216
|
"useLinkageCollectionFilterOptions",
|
|
212
217
|
"useSortFields",
|
|
213
218
|
"isDeleteButtonDisabled",
|
|
219
|
+
"useFieldInterfaceOptions",
|
|
214
220
|
"default",
|
|
221
|
+
"useCollectionFilterOptionsV2",
|
|
215
222
|
"getConfigurableProperties",
|
|
216
223
|
"useCancelAction",
|
|
217
224
|
"useCollectionFieldsOptions"
|
|
@@ -225,11 +232,12 @@ var __webpack_exports__ = {};
|
|
|
225
232
|
for(var __WEBPACK_IMPORT_KEY__ in _interfaces_types__WEBPACK_IMPORTED_MODULE_9__)if ([
|
|
226
233
|
"interfacesProperties",
|
|
227
234
|
"useCollectionFilterOptions",
|
|
228
|
-
"useFieldInterfaceOptions",
|
|
229
235
|
"useLinkageCollectionFilterOptions",
|
|
230
236
|
"useSortFields",
|
|
231
237
|
"isDeleteButtonDisabled",
|
|
238
|
+
"useFieldInterfaceOptions",
|
|
232
239
|
"default",
|
|
240
|
+
"useCollectionFilterOptionsV2",
|
|
233
241
|
"getConfigurableProperties",
|
|
234
242
|
"useCancelAction",
|
|
235
243
|
"useCollectionFieldsOptions"
|
|
@@ -242,11 +250,12 @@ var __webpack_exports__ = {};
|
|
|
242
250
|
for(var __WEBPACK_IMPORT_KEY__ in _ResourceActionProvider__WEBPACK_IMPORTED_MODULE_10__)if ([
|
|
243
251
|
"interfacesProperties",
|
|
244
252
|
"useCollectionFilterOptions",
|
|
245
|
-
"useFieldInterfaceOptions",
|
|
246
253
|
"useLinkageCollectionFilterOptions",
|
|
247
254
|
"useSortFields",
|
|
248
255
|
"isDeleteButtonDisabled",
|
|
256
|
+
"useFieldInterfaceOptions",
|
|
249
257
|
"default",
|
|
258
|
+
"useCollectionFilterOptionsV2",
|
|
250
259
|
"getConfigurableProperties",
|
|
251
260
|
"useCancelAction",
|
|
252
261
|
"useCollectionFieldsOptions"
|
|
@@ -260,11 +269,12 @@ var __webpack_exports__ = {};
|
|
|
260
269
|
for(var __WEBPACK_IMPORT_KEY__ in _templates_types__WEBPACK_IMPORTED_MODULE_12__)if ([
|
|
261
270
|
"interfacesProperties",
|
|
262
271
|
"useCollectionFilterOptions",
|
|
263
|
-
"useFieldInterfaceOptions",
|
|
264
272
|
"useLinkageCollectionFilterOptions",
|
|
265
273
|
"useSortFields",
|
|
266
274
|
"isDeleteButtonDisabled",
|
|
275
|
+
"useFieldInterfaceOptions",
|
|
267
276
|
"default",
|
|
277
|
+
"useCollectionFilterOptionsV2",
|
|
268
278
|
"getConfigurableProperties",
|
|
269
279
|
"useCancelAction",
|
|
270
280
|
"useCollectionFieldsOptions"
|
|
@@ -277,11 +287,12 @@ var __webpack_exports__ = {};
|
|
|
277
287
|
for(var __WEBPACK_IMPORT_KEY__ in _types__WEBPACK_IMPORTED_MODULE_13__)if ([
|
|
278
288
|
"interfacesProperties",
|
|
279
289
|
"useCollectionFilterOptions",
|
|
280
|
-
"useFieldInterfaceOptions",
|
|
281
290
|
"useLinkageCollectionFilterOptions",
|
|
282
291
|
"useSortFields",
|
|
283
292
|
"isDeleteButtonDisabled",
|
|
293
|
+
"useFieldInterfaceOptions",
|
|
284
294
|
"default",
|
|
295
|
+
"useCollectionFilterOptionsV2",
|
|
285
296
|
"getConfigurableProperties",
|
|
286
297
|
"useCancelAction",
|
|
287
298
|
"useCollectionFieldsOptions"
|
|
@@ -294,11 +305,12 @@ var __webpack_exports__ = {};
|
|
|
294
305
|
for(var __WEBPACK_IMPORT_KEY__ in _interfaces__WEBPACK_IMPORTED_MODULE_14__)if ([
|
|
295
306
|
"interfacesProperties",
|
|
296
307
|
"useCollectionFilterOptions",
|
|
297
|
-
"useFieldInterfaceOptions",
|
|
298
308
|
"useLinkageCollectionFilterOptions",
|
|
299
309
|
"useSortFields",
|
|
300
310
|
"isDeleteButtonDisabled",
|
|
311
|
+
"useFieldInterfaceOptions",
|
|
301
312
|
"default",
|
|
313
|
+
"useCollectionFilterOptionsV2",
|
|
302
314
|
"getConfigurableProperties",
|
|
303
315
|
"useCancelAction",
|
|
304
316
|
"useCollectionFieldsOptions"
|
|
@@ -310,11 +322,12 @@ var __webpack_exports__ = {};
|
|
|
310
322
|
for(var __WEBPACK_IMPORT_KEY__ in _interfaces_properties__WEBPACK_IMPORTED_MODULE_8__)if ([
|
|
311
323
|
"interfacesProperties",
|
|
312
324
|
"useCollectionFilterOptions",
|
|
313
|
-
"useFieldInterfaceOptions",
|
|
314
325
|
"useLinkageCollectionFilterOptions",
|
|
315
326
|
"useSortFields",
|
|
316
327
|
"isDeleteButtonDisabled",
|
|
328
|
+
"useFieldInterfaceOptions",
|
|
317
329
|
"default",
|
|
330
|
+
"useCollectionFilterOptionsV2",
|
|
318
331
|
"getConfigurableProperties",
|
|
319
332
|
"useCancelAction",
|
|
320
333
|
"useCollectionFieldsOptions"
|
|
@@ -327,11 +340,12 @@ var __webpack_exports__ = {};
|
|
|
327
340
|
for(var __WEBPACK_IMPORT_KEY__ in _collectionPlugin__WEBPACK_IMPORTED_MODULE_15__)if ([
|
|
328
341
|
"interfacesProperties",
|
|
329
342
|
"useCollectionFilterOptions",
|
|
330
|
-
"useFieldInterfaceOptions",
|
|
331
343
|
"useLinkageCollectionFilterOptions",
|
|
332
344
|
"useSortFields",
|
|
333
345
|
"isDeleteButtonDisabled",
|
|
346
|
+
"useFieldInterfaceOptions",
|
|
334
347
|
"default",
|
|
348
|
+
"useCollectionFilterOptionsV2",
|
|
335
349
|
"getConfigurableProperties",
|
|
336
350
|
"useCancelAction",
|
|
337
351
|
"useCollectionFieldsOptions"
|
|
@@ -344,11 +358,12 @@ var __webpack_exports__ = {};
|
|
|
344
358
|
for(var __WEBPACK_IMPORT_KEY__ in _mixins_InheritanceCollectionMixin__WEBPACK_IMPORTED_MODULE_16__)if ([
|
|
345
359
|
"interfacesProperties",
|
|
346
360
|
"useCollectionFilterOptions",
|
|
347
|
-
"useFieldInterfaceOptions",
|
|
348
361
|
"useLinkageCollectionFilterOptions",
|
|
349
362
|
"useSortFields",
|
|
350
363
|
"isDeleteButtonDisabled",
|
|
364
|
+
"useFieldInterfaceOptions",
|
|
351
365
|
"default",
|
|
366
|
+
"useCollectionFilterOptionsV2",
|
|
352
367
|
"getConfigurableProperties",
|
|
353
368
|
"useCancelAction",
|
|
354
369
|
"useCollectionFieldsOptions"
|
|
@@ -361,11 +376,12 @@ var __webpack_exports__ = {};
|
|
|
361
376
|
for(var __WEBPACK_IMPORT_KEY__ in _sub_table__WEBPACK_IMPORTED_MODULE_17__)if ([
|
|
362
377
|
"interfacesProperties",
|
|
363
378
|
"useCollectionFilterOptions",
|
|
364
|
-
"useFieldInterfaceOptions",
|
|
365
379
|
"useLinkageCollectionFilterOptions",
|
|
366
380
|
"useSortFields",
|
|
367
381
|
"isDeleteButtonDisabled",
|
|
382
|
+
"useFieldInterfaceOptions",
|
|
368
383
|
"default",
|
|
384
|
+
"useCollectionFilterOptionsV2",
|
|
369
385
|
"getConfigurableProperties",
|
|
370
386
|
"useCancelAction",
|
|
371
387
|
"useCollectionFieldsOptions"
|
|
@@ -378,11 +394,12 @@ var __webpack_exports__ = {};
|
|
|
378
394
|
for(var __WEBPACK_IMPORT_KEY__ in _CollectionHistoryProvider__WEBPACK_IMPORTED_MODULE_18__)if ([
|
|
379
395
|
"interfacesProperties",
|
|
380
396
|
"useCollectionFilterOptions",
|
|
381
|
-
"useFieldInterfaceOptions",
|
|
382
397
|
"useLinkageCollectionFilterOptions",
|
|
383
398
|
"useSortFields",
|
|
384
399
|
"isDeleteButtonDisabled",
|
|
400
|
+
"useFieldInterfaceOptions",
|
|
385
401
|
"default",
|
|
402
|
+
"useCollectionFilterOptionsV2",
|
|
386
403
|
"getConfigurableProperties",
|
|
387
404
|
"useCancelAction",
|
|
388
405
|
"useCollectionFieldsOptions"
|
|
@@ -395,11 +412,12 @@ var __webpack_exports__ = {};
|
|
|
395
412
|
for(var __WEBPACK_IMPORT_KEY__ in _utils__WEBPACK_IMPORTED_MODULE_19__)if ([
|
|
396
413
|
"interfacesProperties",
|
|
397
414
|
"useCollectionFilterOptions",
|
|
398
|
-
"useFieldInterfaceOptions",
|
|
399
415
|
"useLinkageCollectionFilterOptions",
|
|
400
416
|
"useSortFields",
|
|
401
417
|
"isDeleteButtonDisabled",
|
|
418
|
+
"useFieldInterfaceOptions",
|
|
402
419
|
"default",
|
|
420
|
+
"useCollectionFilterOptionsV2",
|
|
403
421
|
"getConfigurableProperties",
|
|
404
422
|
"useCancelAction",
|
|
405
423
|
"useCollectionFieldsOptions"
|
|
@@ -414,6 +432,7 @@ exports.isDeleteButtonDisabled = __webpack_exports__.isDeleteButtonDisabled;
|
|
|
414
432
|
exports.useCancelAction = __webpack_exports__.useCancelAction;
|
|
415
433
|
exports.useCollectionFieldsOptions = __webpack_exports__.useCollectionFieldsOptions;
|
|
416
434
|
exports.useCollectionFilterOptions = __webpack_exports__.useCollectionFilterOptions;
|
|
435
|
+
exports.useCollectionFilterOptionsV2 = __webpack_exports__.useCollectionFilterOptionsV2;
|
|
417
436
|
exports.useFieldInterfaceOptions = __webpack_exports__.useFieldInterfaceOptions;
|
|
418
437
|
exports.useLinkageCollectionFilterOptions = __webpack_exports__.useLinkageCollectionFilterOptions;
|
|
419
438
|
exports.useSortFields = __webpack_exports__.useSortFields;
|
|
@@ -424,6 +443,7 @@ for(var __webpack_i__ in __webpack_exports__)if (-1 === [
|
|
|
424
443
|
"useCancelAction",
|
|
425
444
|
"useCollectionFieldsOptions",
|
|
426
445
|
"useCollectionFilterOptions",
|
|
446
|
+
"useCollectionFilterOptionsV2",
|
|
427
447
|
"useFieldInterfaceOptions",
|
|
428
448
|
"useLinkageCollectionFilterOptions",
|
|
429
449
|
"useSortFields"
|
|
@@ -50,7 +50,7 @@ class CheckboxFieldInterface extends CollectionFieldInterface_js_namespaceObject
|
|
|
50
50
|
}
|
|
51
51
|
}
|
|
52
52
|
constructor(...args){
|
|
53
|
-
super(...args), _define_property(this, "name", 'checkbox'), _define_property(this, "type", 'object'), _define_property(this, "group", 'choices'), _define_property(this, "order", 1), _define_property(this, "title", '{{t("Checkbox")}}'), _define_property(this, "default", {
|
|
53
|
+
super(...args), _define_property(this, "name", 'checkbox'), _define_property(this, "type", 'object'), _define_property(this, "group", 'choices'), _define_property(this, "icon", 'CheckSquareOutlined'), _define_property(this, "order", 1), _define_property(this, "title", '{{t("Checkbox")}}'), _define_property(this, "default", {
|
|
54
54
|
type: 'boolean',
|
|
55
55
|
uiSchema: {
|
|
56
56
|
type: 'boolean',
|
|
@@ -50,7 +50,7 @@ class CheckboxGroupFieldInterface extends CollectionFieldInterface_js_namespaceO
|
|
|
50
50
|
}
|
|
51
51
|
}
|
|
52
52
|
constructor(...args){
|
|
53
|
-
super(...args), _define_property(this, "name", 'checkboxGroup'), _define_property(this, "type", 'object'), _define_property(this, "group", 'choices'), _define_property(this, "order", 5), _define_property(this, "title", '{{t("Checkbox group")}}'), _define_property(this, "default", {
|
|
53
|
+
super(...args), _define_property(this, "name", 'checkboxGroup'), _define_property(this, "type", 'object'), _define_property(this, "group", 'choices'), _define_property(this, "icon", 'UnorderedListOutlined'), _define_property(this, "order", 5), _define_property(this, "title", '{{t("Checkbox group")}}'), _define_property(this, "default", {
|
|
54
54
|
interface: 'checkboxGroup',
|
|
55
55
|
type: 'array',
|
|
56
56
|
defaultValue: [],
|
|
@@ -48,7 +48,7 @@ class ChinaRegionFieldInterface extends CollectionFieldInterface_js_namespaceObj
|
|
|
48
48
|
if (!values.targetKey) values.targetKey = 'id';
|
|
49
49
|
}
|
|
50
50
|
constructor(...args){
|
|
51
|
-
super(...args), _define_property(this, "name", 'chinaRegion'), _define_property(this, "type", 'object'), _define_property(this, "group", 'choices'), _define_property(this, "order", 7), _define_property(this, "title", '{{t("China region")}}'), _define_property(this, "isAssociation", true), _define_property(this, "default", {
|
|
51
|
+
super(...args), _define_property(this, "name", 'chinaRegion'), _define_property(this, "type", 'object'), _define_property(this, "group", 'choices'), _define_property(this, "icon", 'CompassOutlined'), _define_property(this, "order", 7), _define_property(this, "title", '{{t("China region")}}'), _define_property(this, "isAssociation", true), _define_property(this, "default", {
|
|
52
52
|
interface: 'chinaRegion',
|
|
53
53
|
type: 'belongsToMany',
|
|
54
54
|
target: 'chinaRegions',
|
|
@@ -43,7 +43,7 @@ class CollectionSelectFieldInterface extends CollectionFieldInterface_js_namespa
|
|
|
43
43
|
let { block } = param;
|
|
44
44
|
const props = schema['x-component-props'] = schema['x-component-props'] || {};
|
|
45
45
|
props.style = {
|
|
46
|
-
...props.style
|
|
46
|
+
...props.style,
|
|
47
47
|
width: '100%'
|
|
48
48
|
};
|
|
49
49
|
if ([
|
|
@@ -52,7 +52,7 @@ class CollectionSelectFieldInterface extends CollectionFieldInterface_js_namespa
|
|
|
52
52
|
].includes(block)) props['ellipsis'] = true;
|
|
53
53
|
}
|
|
54
54
|
constructor(...args){
|
|
55
|
-
super(...args), _define_property(this, "name", 'collection'), _define_property(this, "type", 'string'), _define_property(this, "group", 'advanced'), _define_property(this, "order", 5), _define_property(this, "title", '{{t("Collection selector")}}'), _define_property(this, "description", '{{t("Providing certain collections as options for users, typically used in polymorphic or inheritance scenarios")}}'), _define_property(this, "sortable", true), _define_property(this, "default", {
|
|
55
|
+
super(...args), _define_property(this, "name", 'collection'), _define_property(this, "type", 'string'), _define_property(this, "group", 'advanced'), _define_property(this, "icon", 'ClusterOutlined'), _define_property(this, "order", 5), _define_property(this, "title", '{{t("Collection selector")}}'), _define_property(this, "description", '{{t("Providing certain collections as options for users, typically used in polymorphic or inheritance scenarios")}}'), _define_property(this, "sortable", true), _define_property(this, "default", {
|
|
56
56
|
type: 'string',
|
|
57
57
|
uiSchema: {
|
|
58
58
|
type: 'string',
|
|
@@ -40,7 +40,7 @@ function _define_property(obj, key, value) {
|
|
|
40
40
|
}
|
|
41
41
|
class ColorFieldInterface extends CollectionFieldInterface_js_namespaceObject.CollectionFieldInterface {
|
|
42
42
|
constructor(...args){
|
|
43
|
-
super(...args), _define_property(this, "name", 'color'), _define_property(this, "type", 'object'), _define_property(this, "group", 'basic'), _define_property(this, "order", 10), _define_property(this, "title", '{{t("Color")}}'), _define_property(this, "default", {
|
|
43
|
+
super(...args), _define_property(this, "name", 'color'), _define_property(this, "type", 'object'), _define_property(this, "group", 'basic'), _define_property(this, "order", 10), _define_property(this, "icon", 'BgColorsOutlined'), _define_property(this, "title", '{{t("Color")}}'), _define_property(this, "default", {
|
|
44
44
|
type: 'string',
|
|
45
45
|
uiSchema: {
|
|
46
46
|
type: 'string',
|
|
@@ -40,7 +40,7 @@ function _define_property(obj, key, value) {
|
|
|
40
40
|
}
|
|
41
41
|
class CreatedAtFieldInterface extends CollectionFieldInterface_js_namespaceObject.CollectionFieldInterface {
|
|
42
42
|
constructor(...args){
|
|
43
|
-
super(...args), _define_property(this, "name", 'createdAt'), _define_property(this, "type", 'object'), _define_property(this, "group", 'systemInfo'), _define_property(this, "order", 1), _define_property(this, "title", '{{t("Created at")}}'), _define_property(this, "sortable", true), _define_property(this, "default", {
|
|
43
|
+
super(...args), _define_property(this, "name", 'createdAt'), _define_property(this, "type", 'object'), _define_property(this, "group", 'systemInfo'), _define_property(this, "order", 1), _define_property(this, "title", '{{t("Created at")}}'), _define_property(this, "sortable", true), _define_property(this, "icon", 'FieldTimeOutlined'), _define_property(this, "default", {
|
|
44
44
|
type: 'date',
|
|
45
45
|
field: 'createdAt',
|
|
46
46
|
uiSchema: {
|
|
@@ -54,7 +54,7 @@ class CreatedByFieldInterface extends CollectionFieldInterface_js_namespaceObjec
|
|
|
54
54
|
}
|
|
55
55
|
}
|
|
56
56
|
constructor(...args){
|
|
57
|
-
super(...args), _define_property(this, "name", 'createdBy'), _define_property(this, "type", 'object'), _define_property(this, "group", 'systemInfo'), _define_property(this, "order", 3), _define_property(this, "title", '{{t("Created by")}}'), _define_property(this, "isAssociation", true), _define_property(this, "default", {
|
|
57
|
+
super(...args), _define_property(this, "name", 'createdBy'), _define_property(this, "type", 'object'), _define_property(this, "group", 'systemInfo'), _define_property(this, "order", 3), _define_property(this, "title", '{{t("Created by")}}'), _define_property(this, "icon", 'UserOutlined'), _define_property(this, "isAssociation", true), _define_property(this, "default", {
|
|
58
58
|
type: 'belongsTo',
|
|
59
59
|
target: 'users',
|
|
60
60
|
foreignKey: 'createdById',
|
|
@@ -40,7 +40,7 @@ function _define_property(obj, key, value) {
|
|
|
40
40
|
}
|
|
41
41
|
class DatetimeFieldInterface extends CollectionFieldInterface_js_namespaceObject.CollectionFieldInterface {
|
|
42
42
|
constructor(...args){
|
|
43
|
-
super(...args), _define_property(this, "name", 'datetime'), _define_property(this, "type", 'object'), _define_property(this, "group", 'datetime'), _define_property(this, "order", 1), _define_property(this, "title", '{{t("Datetime")}}'), _define_property(this, "sortable", true), _define_property(this, "default", {
|
|
43
|
+
super(...args), _define_property(this, "name", 'datetime'), _define_property(this, "type", 'object'), _define_property(this, "group", 'datetime'), _define_property(this, "order", 1), _define_property(this, "title", '{{t("Datetime")}}'), _define_property(this, "icon", 'dateTimeField'), _define_property(this, "sortable", true), _define_property(this, "default", {
|
|
44
44
|
type: 'date',
|
|
45
45
|
uiSchema: {
|
|
46
46
|
type: 'string',
|
|
@@ -50,7 +50,7 @@ class EmailFieldInterface extends CollectionFieldInterface_js_namespaceObject.Co
|
|
|
50
50
|
}
|
|
51
51
|
}
|
|
52
52
|
constructor(...args){
|
|
53
|
-
super(...args), _define_property(this, "name", 'email'), _define_property(this, "type", 'object'), _define_property(this, "group", 'basic'), _define_property(this, "order", 4), _define_property(this, "title", '{{t("Email")}}'), _define_property(this, "sortable", true), _define_property(this, "default", {
|
|
53
|
+
super(...args), _define_property(this, "name", 'email'), _define_property(this, "type", 'object'), _define_property(this, "group", 'basic'), _define_property(this, "order", 4), _define_property(this, "title", '{{t("Email")}}'), _define_property(this, "icon", 'CommentOutlined'), _define_property(this, "sortable", true), _define_property(this, "default", {
|
|
54
54
|
type: 'string',
|
|
55
55
|
uiSchema: {
|
|
56
56
|
type: 'string',
|
|
@@ -40,7 +40,7 @@ function _define_property(obj, key, value) {
|
|
|
40
40
|
}
|
|
41
41
|
class IconFieldInterface extends CollectionFieldInterface_js_namespaceObject.CollectionFieldInterface {
|
|
42
42
|
constructor(...args){
|
|
43
|
-
super(...args), _define_property(this, "name", 'icon'), _define_property(this, "type", 'object'), _define_property(this, "group", 'basic'), _define_property(this, "order", 10), _define_property(this, "title", '{{t("Icon")}}'), _define_property(this, "default", {
|
|
43
|
+
super(...args), _define_property(this, "name", 'icon'), _define_property(this, "type", 'object'), _define_property(this, "group", 'basic'), _define_property(this, "order", 10), _define_property(this, "title", '{{t("Icon")}}'), _define_property(this, "icon", 'FieldNumberOutlined'), _define_property(this, "default", {
|
|
44
44
|
type: 'string',
|
|
45
45
|
uiSchema: {
|
|
46
46
|
type: 'string',
|
|
@@ -175,7 +175,7 @@ class InputFieldInterface extends CollectionFieldInterface_js_namespaceObject.Co
|
|
|
175
175
|
};
|
|
176
176
|
}
|
|
177
177
|
constructor(...args){
|
|
178
|
-
super(...args), _define_property(this, "name", 'input'), _define_property(this, "type", 'object'), _define_property(this, "group", 'basic'), _define_property(this, "order", 1), _define_property(this, "title", '{{t("Single line text")}}'), _define_property(this, "sortable", true), _define_property(this, "default", {
|
|
178
|
+
super(...args), _define_property(this, "name", 'input'), _define_property(this, "type", 'object'), _define_property(this, "group", 'basic'), _define_property(this, "order", 1), _define_property(this, "title", '{{t("Single line text")}}'), _define_property(this, "icon", 'inputField'), _define_property(this, "sortable", true), _define_property(this, "default", {
|
|
179
179
|
interface: 'input',
|
|
180
180
|
type: 'string',
|
|
181
181
|
uiSchema: {
|
|
@@ -46,7 +46,7 @@ function _define_property(obj, key, value) {
|
|
|
46
46
|
});
|
|
47
47
|
class IntegerFieldInterface extends CollectionFieldInterface_js_namespaceObject.CollectionFieldInterface {
|
|
48
48
|
constructor(...args){
|
|
49
|
-
super(...args), _define_property(this, "name", 'integer'), _define_property(this, "type", 'object'), _define_property(this, "group", 'basic'), _define_property(this, "order", 6), _define_property(this, "title", '{{t("Integer")}}'), _define_property(this, "sortable", true), _define_property(this, "default", {
|
|
49
|
+
super(...args), _define_property(this, "name", 'integer'), _define_property(this, "type", 'object'), _define_property(this, "group", 'basic'), _define_property(this, "order", 6), _define_property(this, "title", '{{t("Integer")}}'), _define_property(this, "icon", 'FieldBinaryOutlined'), _define_property(this, "sortable", true), _define_property(this, "default", {
|
|
50
50
|
type: 'bigInt',
|
|
51
51
|
uiSchema: {
|
|
52
52
|
type: 'number',
|
|
@@ -57,7 +57,7 @@ function _define_property(obj, key, value) {
|
|
|
57
57
|
});
|
|
58
58
|
class JsonFieldInterface extends CollectionFieldInterface_js_namespaceObject.CollectionFieldInterface {
|
|
59
59
|
constructor(...args){
|
|
60
|
-
super(...args), _define_property(this, "name", 'json'), _define_property(this, "type", 'object'), _define_property(this, "group", 'advanced'), _define_property(this, "order", 4), _define_property(this, "title", '{{t("JSON")}}'), _define_property(this, "sortable", true), _define_property(this, "default", {
|
|
60
|
+
super(...args), _define_property(this, "name", 'json'), _define_property(this, "type", 'object'), _define_property(this, "group", 'advanced'), _define_property(this, "order", 4), _define_property(this, "title", '{{t("JSON")}}'), _define_property(this, "icon", 'CodeOutlined'), _define_property(this, "sortable", true), _define_property(this, "default", {
|
|
61
61
|
type: 'json',
|
|
62
62
|
uiSchema: {
|
|
63
63
|
type: 'object',
|
|
@@ -68,7 +68,7 @@ class M2MFieldInterface extends CollectionFieldInterface_js_namespaceObject.Coll
|
|
|
68
68
|
}
|
|
69
69
|
}
|
|
70
70
|
constructor(...args){
|
|
71
|
-
super(...args), _define_property(this, "name", 'm2m'), _define_property(this, "type", 'object'), _define_property(this, "group", 'relation'), _define_property(this, "order", 6), _define_property(this, "title", '{{t("Many to many")}}'), _define_property(this, "description", '{{t("Many to many description")}}'), _define_property(this, "isAssociation", true), _define_property(this, "default", {
|
|
71
|
+
super(...args), _define_property(this, "name", 'm2m'), _define_property(this, "type", 'object'), _define_property(this, "group", 'relation'), _define_property(this, "order", 6), _define_property(this, "title", '{{t("Many to many")}}'), _define_property(this, "icon", 'DeploymentUnitOutlined'), _define_property(this, "description", '{{t("Many to many description")}}'), _define_property(this, "isAssociation", true), _define_property(this, "default", {
|
|
72
72
|
type: 'belongsToMany',
|
|
73
73
|
uiSchema: {
|
|
74
74
|
'x-component': 'AssociationField',
|
|
@@ -58,7 +58,7 @@ class M2OFieldInterface extends CollectionFieldInterface_js_namespaceObject.Coll
|
|
|
58
58
|
}
|
|
59
59
|
}
|
|
60
60
|
constructor(...args){
|
|
61
|
-
super(...args), _define_property(this, "name", 'm2o'), _define_property(this, "type", 'object'), _define_property(this, "group", 'relation'), _define_property(this, "order", 5), _define_property(this, "title", '{{t("Many to one")}}'), _define_property(this, "description", '{{t("Many to one description")}}'), _define_property(this, "isAssociation", true), _define_property(this, "default", {
|
|
61
|
+
super(...args), _define_property(this, "name", 'm2o'), _define_property(this, "type", 'object'), _define_property(this, "group", 'relation'), _define_property(this, "order", 5), _define_property(this, "title", '{{t("Many to one")}}'), _define_property(this, "description", '{{t("Many to one description")}}'), _define_property(this, "icon", 'DeploymentUnitOutlined'), _define_property(this, "isAssociation", true), _define_property(this, "default", {
|
|
62
62
|
type: 'belongsTo',
|
|
63
63
|
uiSchema: {
|
|
64
64
|
'x-component': 'AssociationField',
|
|
@@ -86,7 +86,7 @@ class MarkdownFieldInterface extends CollectionFieldInterface_js_namespaceObject
|
|
|
86
86
|
};
|
|
87
87
|
}
|
|
88
88
|
constructor(...args){
|
|
89
|
-
super(...args), _define_property(this, "name", 'markdown'), _define_property(this, "type", 'object'), _define_property(this, "title", '{{t("Markdown")}}'), _define_property(this, "group", 'media'), _define_property(this, "default", {
|
|
89
|
+
super(...args), _define_property(this, "name", 'markdown'), _define_property(this, "type", 'object'), _define_property(this, "title", '{{t("Markdown")}}'), _define_property(this, "group", 'media'), _define_property(this, "icon", 'CodeOutlined'), _define_property(this, "default", {
|
|
90
90
|
type: 'text',
|
|
91
91
|
uiSchema: {
|
|
92
92
|
type: 'string',
|
|
@@ -43,7 +43,7 @@ class MultipleSelectFieldInterface extends CollectionFieldInterface_js_namespace
|
|
|
43
43
|
let { block } = param;
|
|
44
44
|
const props = schema['x-component-props'] = schema['x-component-props'] || {};
|
|
45
45
|
props.style = {
|
|
46
|
-
...props.style
|
|
46
|
+
...props.style,
|
|
47
47
|
width: '100%'
|
|
48
48
|
};
|
|
49
49
|
if ([
|
|
@@ -52,7 +52,7 @@ class MultipleSelectFieldInterface extends CollectionFieldInterface_js_namespace
|
|
|
52
52
|
].includes(block)) props['ellipsis'] = true;
|
|
53
53
|
}
|
|
54
54
|
constructor(...args){
|
|
55
|
-
super(...args), _define_property(this, "name", 'multipleSelect'), _define_property(this, "type", 'object'), _define_property(this, "group", 'choices'), _define_property(this, "order", 3), _define_property(this, "title", '{{t("Multiple select")}}'), _define_property(this, "default", {
|
|
55
|
+
super(...args), _define_property(this, "name", 'multipleSelect'), _define_property(this, "type", 'object'), _define_property(this, "group", 'choices'), _define_property(this, "order", 3), _define_property(this, "title", '{{t("Multiple select")}}'), _define_property(this, "icon", 'multipleSelectField'), _define_property(this, "default", {
|
|
56
56
|
type: 'array',
|
|
57
57
|
defaultValue: [],
|
|
58
58
|
uiSchema: {
|
|
@@ -40,7 +40,7 @@ function _define_property(obj, key, value) {
|
|
|
40
40
|
}
|
|
41
41
|
class NanoidFieldInterface extends CollectionFieldInterface_js_namespaceObject.CollectionFieldInterface {
|
|
42
42
|
constructor(...args){
|
|
43
|
-
super(...args), _define_property(this, "name", 'nanoid'), _define_property(this, "type", 'object'), _define_property(this, "group", 'advanced'), _define_property(this, "order", 0), _define_property(this, "title", '{{t("Nano ID")}}'), _define_property(this, "hidden", false), _define_property(this, "sortable", true), _define_property(this, "default", {
|
|
43
|
+
super(...args), _define_property(this, "name", 'nanoid'), _define_property(this, "type", 'object'), _define_property(this, "group", 'advanced'), _define_property(this, "order", 0), _define_property(this, "title", '{{t("Nano ID")}}'), _define_property(this, "hidden", false), _define_property(this, "sortable", true), _define_property(this, "icon", 'FieldNumberOutlined'), _define_property(this, "default", {
|
|
44
44
|
type: 'nanoid',
|
|
45
45
|
uiSchema: {
|
|
46
46
|
type: 'string',
|
|
@@ -101,7 +101,7 @@ class NumberFieldInterface extends CollectionFieldInterface_js_namespaceObject.C
|
|
|
101
101
|
};
|
|
102
102
|
}
|
|
103
103
|
constructor(...args){
|
|
104
|
-
super(...args), _define_property(this, "name", 'number'), _define_property(this, "type", 'object'), _define_property(this, "group", 'basic'), _define_property(this, "order", 7), _define_property(this, "title", '{{t("Number")}}'), _define_property(this, "sortable", true), _define_property(this, "default", {
|
|
104
|
+
super(...args), _define_property(this, "name", 'number'), _define_property(this, "type", 'object'), _define_property(this, "group", 'basic'), _define_property(this, "order", 7), _define_property(this, "title", '{{t("Number")}}'), _define_property(this, "icon", 'numberField'), _define_property(this, "sortable", true), _define_property(this, "default", {
|
|
105
105
|
type: 'double',
|
|
106
106
|
uiSchema: {
|
|
107
107
|
type: 'number',
|
|
@@ -58,7 +58,7 @@ class O2MFieldInterface extends CollectionFieldInterface_js_namespaceObject.Coll
|
|
|
58
58
|
}
|
|
59
59
|
}
|
|
60
60
|
constructor(...args){
|
|
61
|
-
super(...args), _define_property(this, "name", 'o2m'), _define_property(this, "type", 'object'), _define_property(this, "group", 'relation'), _define_property(this, "order", 4), _define_property(this, "title", '{{t("One to many")}}'), _define_property(this, "description", '{{t("One to many description")}}'), _define_property(this, "isAssociation", true), _define_property(this, "default", {
|
|
61
|
+
super(...args), _define_property(this, "name", 'o2m'), _define_property(this, "type", 'object'), _define_property(this, "group", 'relation'), _define_property(this, "order", 4), _define_property(this, "title", '{{t("One to many")}}'), _define_property(this, "icon", 'DeploymentUnitOutlined'), _define_property(this, "description", '{{t("One to many description")}}'), _define_property(this, "isAssociation", true), _define_property(this, "default", {
|
|
62
62
|
type: 'hasMany',
|
|
63
63
|
uiSchema: {
|
|
64
64
|
'x-component': 'AssociationField',
|
|
@@ -59,7 +59,7 @@ class O2OFieldInterface extends CollectionFieldInterface_js_namespaceObject.Coll
|
|
|
59
59
|
schema['x-component-props'].fieldNames.label = (null == targetCollection ? void 0 : targetCollection.titleField) || (0, external_o2m_js_namespaceObject.getUniqueKeyFromCollection)(targetCollection);
|
|
60
60
|
}
|
|
61
61
|
constructor(...args){
|
|
62
|
-
super(...args), _define_property(this, "name", 'o2o'), _define_property(this, "type", 'object'), _define_property(this, "group", 'relation'), _define_property(this, "order", 3), _define_property(this, "title", '{{t("One to one")}}'), _define_property(this, "description", '{{t("One to one description")}}'), _define_property(this, "isAssociation", true), _define_property(this, "default", {
|
|
62
|
+
super(...args), _define_property(this, "name", 'o2o'), _define_property(this, "type", 'object'), _define_property(this, "group", 'relation'), _define_property(this, "order", 3), _define_property(this, "icon", 'DeploymentUnitOutlined'), _define_property(this, "title", '{{t("One to one")}}'), _define_property(this, "description", '{{t("One to one description")}}'), _define_property(this, "isAssociation", true), _define_property(this, "default", {
|
|
63
63
|
type: 'hasOne',
|
|
64
64
|
uiSchema: {
|
|
65
65
|
'x-component': 'AssociationField',
|
|
@@ -41,7 +41,7 @@ function _define_property(obj, key, value) {
|
|
|
41
41
|
}
|
|
42
42
|
class PasswordFieldInterface extends CollectionFieldInterface_js_namespaceObject.CollectionFieldInterface {
|
|
43
43
|
constructor(...args){
|
|
44
|
-
super(...args), _define_property(this, "name", 'password'), _define_property(this, "type", 'object'), _define_property(this, "group", 'basic'), _define_property(this, "order", 9), _define_property(this, "title", '{{t("Password")}}'), _define_property(this, "default", {
|
|
44
|
+
super(...args), _define_property(this, "name", 'password'), _define_property(this, "type", 'object'), _define_property(this, "group", 'basic'), _define_property(this, "icon", 'LockOutlined'), _define_property(this, "order", 9), _define_property(this, "title", '{{t("Password")}}'), _define_property(this, "default", {
|
|
45
45
|
type: 'password',
|
|
46
46
|
hidden: true,
|
|
47
47
|
uiSchema: {
|
|
@@ -71,12 +71,12 @@ class PercentFieldInterface extends CollectionFieldInterface_js_namespaceObject.
|
|
|
71
71
|
let { field, block, readPretty, action } = param;
|
|
72
72
|
const props = schema['x-component-props'] = schema['x-component-props'] || {};
|
|
73
73
|
schema['x-component-props'].style = {
|
|
74
|
-
...props.style
|
|
74
|
+
...props.style,
|
|
75
75
|
width: '100%'
|
|
76
76
|
};
|
|
77
77
|
}
|
|
78
78
|
constructor(...args){
|
|
79
|
-
super(...args), _define_property(this, "name", 'percent'), _define_property(this, "type", 'object'), _define_property(this, "group", 'basic'), _define_property(this, "order", 8), _define_property(this, "title", '{{t("Percent")}}'), _define_property(this, "sortable", true), _define_property(this, "default", {
|
|
79
|
+
super(...args), _define_property(this, "name", 'percent'), _define_property(this, "type", 'object'), _define_property(this, "group", 'basic'), _define_property(this, "order", 8), _define_property(this, "title", '{{t("Percent")}}'), _define_property(this, "icon", 'PercentageOutlined'), _define_property(this, "sortable", true), _define_property(this, "default", {
|
|
80
80
|
type: 'float',
|
|
81
81
|
uiSchema: {
|
|
82
82
|
type: 'string',
|
|
@@ -40,7 +40,7 @@ function _define_property(obj, key, value) {
|
|
|
40
40
|
}
|
|
41
41
|
class PhoneFieldInterface extends CollectionFieldInterface_js_namespaceObject.CollectionFieldInterface {
|
|
42
42
|
constructor(...args){
|
|
43
|
-
super(...args), _define_property(this, "name", 'phone'), _define_property(this, "type", 'object'), _define_property(this, "group", 'basic'), _define_property(this, "order", 3), _define_property(this, "title", '{{t("Phone")}}'), _define_property(this, "sortable", true), _define_property(this, "default", {
|
|
43
|
+
super(...args), _define_property(this, "name", 'phone'), _define_property(this, "type", 'object'), _define_property(this, "group", 'basic'), _define_property(this, "order", 3), _define_property(this, "title", '{{t("Phone")}}'), _define_property(this, "icon", 'TabletOutlined'), _define_property(this, "sortable", true), _define_property(this, "default", {
|
|
44
44
|
type: 'string',
|
|
45
45
|
uiSchema: {
|
|
46
46
|
type: 'string',
|