@tachybase/client 1.3.18 → 1.3.20
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/CustomRouterContextProvider.mjs +1 -2
- package/es/application/components/AppComponent.mjs +1 -3
- package/es/block-provider/hooks/index.mjs +1 -1
- package/es/built-in/acl/Configuration/schemas/scopes.mjs +4 -5
- package/es/built-in/dynamic-page/DynamicPage.mjs +16 -33
- package/es/built-in/dynamic-page/utils.d.ts +1 -2
- package/es/built-in/dynamic-page/utils.mjs +0 -3
- package/es/built-in/page-style/CustomAdminHeader.mjs +2 -2
- package/es/built-in/page-style/PageStyle.provider.d.ts +2 -7
- package/es/built-in/page-style/PageStyle.provider.mjs +3 -8
- package/es/built-in/page-style/TabContent.mjs +5 -7
- package/es/built-in/page-style/usePageStyle.d.ts +1 -1
- package/es/built-in/page-style/usePageStyle.mjs +1 -1
- package/es/built-in/page-style/useTabSettings.d.ts +3 -4
- package/es/built-in/page-style/useTabSettings.mjs +7 -8
- package/es/built-in/quick-access/PopupActionSchemaInitializerItem.mjs +2 -2
- package/es/collection-manager/Configuration/components/Summary.mjs +3 -3
- package/es/flag-provider/FlagProvider.d.ts +1 -0
- package/es/flag-provider/hooks/useFlag.mjs +1 -1
- package/es/modules/actions/add-child/CreateChildInitializer.mjs +2 -2
- package/es/modules/actions/add-new/CreateActionInitializer.mjs +2 -2
- package/es/modules/actions/add-record/CustomizeAddRecordActionInitializer.mjs +2 -2
- package/es/modules/actions/associate/AssociateActionInitializer.mjs +1 -2
- package/es/modules/actions/submit/createSubmitActionSettings.mjs +3 -6
- package/es/modules/actions/view-edit-popup/PopupActionInitializer.mjs +2 -2
- package/es/modules/actions/view-edit-popup/UpdateActionInitializer.mjs +2 -2
- package/es/modules/actions/view-edit-popup/ViewActionInitializer.mjs +2 -2
- package/es/modules/fields/component/DrawerSubTable/drawerSubTableComponentFieldSettings.mjs +2 -2
- package/es/modules/fields/component/Picker/recordPickerComponentFieldSettings.mjs +2 -2
- package/es/modules/fields/component/Select/selectComponentFieldSettings.mjs +2 -2
- package/es/schema-component/antd/action/Action.Container.mjs +5 -26
- package/es/schema-component/antd/action/Action.Designer.mjs +3 -14
- package/es/schema-component/antd/action/Action.Page.mjs +1 -1
- package/es/schema-component/antd/action/Action.mjs +11 -56
- package/es/schema-component/antd/action/context.d.ts +1 -9
- package/es/schema-component/antd/action/context.mjs +1 -10
- package/es/schema-component/antd/action/hooks.d.ts +1 -2
- package/es/schema-component/antd/action/hooks.mjs +2 -2
- package/es/schema-component/antd/association-field/FileManager.mjs +2 -2
- package/es/schema-component/antd/association-field/InternalDrawerSubTable.mjs +2 -2
- package/es/schema-component/antd/association-field/InternalPicker.mjs +2 -2
- package/es/schema-component/antd/association-field/InternalTag.mjs +2 -2
- package/es/schema-component/antd/association-field/InternalViewer.mjs +2 -2
- package/es/schema-component/antd/association-field/SubTable.mjs +2 -2
- package/es/schema-component/antd/color-select/ColorSelect.mjs +3 -3
- package/es/schema-component/antd/date-picker/util.d.ts +13 -0
- package/es/schema-component/antd/date-picker/util.mjs +14 -1
- package/es/schema-component/antd/form-item/FormItem.Settings.mjs +2 -3
- package/es/schema-component/antd/markdown/Markdown.mjs +4 -4
- package/es/schema-component/antd/page/Page.mjs +22 -27
- package/es/schema-component/antd/password/utils.d.ts +1 -1
- package/es/schema-component/antd/record-picker/InputRecordPicker.mjs +2 -2
- package/es/schema-component/antd/record-picker/ReadPrettyRecordPicker.mjs +2 -2
- package/es/schema-initializer/items/SelectActionInitializer.mjs +2 -2
- package/es/schema-items/OpenModeSchemaItems.mjs +16 -37
- package/es/schema-settings/SchemaSettingsDefaultValue.mjs +3 -2
- package/es/schema-settings/VariableInput/hooks/index.d.ts +1 -0
- package/es/schema-settings/VariableInput/hooks/index.mjs +1 -0
- package/es/schema-settings/VariableInput/hooks/useExactDateVariable.d.ts +93 -0
- package/es/schema-settings/VariableInput/hooks/useExactDateVariable.mjs +75 -0
- package/es/schema-settings/VariableInput/hooks/useVariableOptions.mjs +11 -1
- package/es/schema-templates/schemas/uiSchemaTemplates.mjs +1 -1
- package/es/user/ChangePassword.mjs +109 -6
- package/es/user/index.d.ts +1 -0
- package/es/user/index.mjs +2 -0
- package/es/variables/hooks/useBuiltinVariables.mjs +8 -2
- package/lib/application/CustomRouterContextProvider.js +1 -2
- package/lib/application/components/AppComponent.js +1 -3
- package/lib/block-provider/hooks/index.js +7 -7
- package/lib/built-in/acl/Configuration/MenuItemsProvider.js +2 -2
- package/lib/built-in/acl/Configuration/schemas/scopes.js +3 -4
- package/lib/built-in/attachment-preview/previewers/file-sheet.js +2 -2
- package/lib/built-in/dynamic-page/DynamicPage.js +14 -31
- package/lib/built-in/dynamic-page/utils.js +0 -3
- package/lib/built-in/page-style/CustomAdminHeader.js +2 -2
- package/lib/built-in/page-style/PageStyle.provider.js +2 -10
- package/lib/built-in/page-style/TabContent.js +4 -6
- package/lib/built-in/page-style/usePageStyle.js +1 -1
- package/lib/built-in/page-style/useTabSettings.js +7 -8
- package/lib/built-in/pm/index.js +1 -1
- package/lib/built-in/quick-access/PopupActionSchemaInitializerItem.js +1 -1
- package/lib/collection-manager/Configuration/components/Summary.js +3 -3
- package/lib/collection-manager/index.js +17 -17
- package/lib/flag-provider/hooks/useFlag.js +1 -1
- package/lib/icon/Icon.js +2 -2
- package/lib/locale/en_US.js +0 -1
- package/lib/locale/zh-CN.js +5 -0
- package/lib/modules/actions/add-child/CreateChildInitializer.js +2 -2
- package/lib/modules/actions/add-new/CreateActionInitializer.js +2 -2
- package/lib/modules/actions/add-record/CustomizeAddRecordActionInitializer.js +2 -2
- package/lib/modules/actions/associate/AssociateActionInitializer.js +1 -2
- package/lib/modules/actions/submit/createSubmitActionSettings.js +2 -5
- package/lib/modules/actions/view-edit-popup/PopupActionInitializer.js +2 -2
- package/lib/modules/actions/view-edit-popup/UpdateActionInitializer.js +2 -2
- package/lib/modules/actions/view-edit-popup/ViewActionInitializer.js +2 -2
- package/lib/modules/fields/component/DrawerSubTable/drawerSubTableComponentFieldSettings.js +1 -1
- package/lib/modules/fields/component/Picker/recordPickerComponentFieldSettings.js +1 -1
- package/lib/modules/fields/component/Select/selectComponentFieldSettings.js +1 -1
- package/lib/schema-component/antd/action/Action.Container.js +6 -27
- package/lib/schema-component/antd/action/Action.Designer.js +2 -13
- package/lib/schema-component/antd/action/Action.Modal.js +2 -2
- package/lib/schema-component/antd/action/Action.Page.js +1 -1
- package/lib/schema-component/antd/action/Action.Sheet.js +2 -2
- package/lib/schema-component/antd/action/Action.js +10 -55
- package/lib/schema-component/antd/action/context.js +1 -13
- package/lib/schema-component/antd/action/hooks.js +1 -1
- package/lib/schema-component/antd/association-field/FileManager.js +1 -1
- package/lib/schema-component/antd/association-field/InternalDrawerSubTable.js +1 -1
- package/lib/schema-component/antd/association-field/InternalPicker.js +1 -1
- package/lib/schema-component/antd/association-field/InternalTag.js +1 -1
- package/lib/schema-component/antd/association-field/InternalViewer.js +1 -1
- package/lib/schema-component/antd/association-field/SubTable.js +1 -1
- package/lib/schema-component/antd/color-select/ColorSelect.js +4 -4
- package/lib/schema-component/antd/date-picker/util.js +16 -0
- package/lib/schema-component/antd/form-item/FormItem.Settings.js +2 -3
- package/lib/schema-component/antd/form-tab/index.js +2 -2
- package/lib/schema-component/antd/form-v2/index.js +2 -2
- package/lib/schema-component/antd/markdown/Markdown.js +5 -5
- package/lib/schema-component/antd/page/Page.js +21 -26
- package/lib/schema-component/antd/record-picker/InputRecordPicker.js +1 -1
- package/lib/schema-component/antd/record-picker/ReadPrettyRecordPicker.js +1 -1
- package/lib/schema-component/antd/scroll-area/ScrollArea.js +2 -2
- package/lib/schema-component/antd/table-v2/index.js +3 -3
- package/lib/schema-component/antd/upload/shared.js +4 -4
- package/lib/schema-initializer/items/SelectActionInitializer.js +2 -2
- package/lib/schema-items/OpenModeSchemaItems.js +15 -36
- package/lib/schema-settings/SchemaSettingsDefaultValue.js +3 -2
- package/lib/schema-settings/VariableInput/hooks/index.js +9 -0
- package/lib/schema-settings/VariableInput/hooks/useExactDateVariable.js +112 -0
- package/lib/schema-settings/VariableInput/hooks/useVariableOptions.js +11 -1
- package/lib/schema-templates/schemas/uiSchemaTemplates.js +1 -1
- package/lib/user/ChangePassword.js +118 -5
- package/lib/user/index.js +24 -4
- package/lib/variables/VariablesProvider.js +2 -2
- package/lib/variables/hooks/useBuiltinVariables.js +7 -1
- package/package.json +10 -10
- package/es/built-in/dynamic-page/DynamicPage.context.d.ts +0 -0
- package/es/built-in/dynamic-page/DynamicPage.context.mjs +0 -0
- package/es/built-in/dynamic-page/DynamicPage.style.d.ts +0 -3
- package/es/built-in/dynamic-page/DynamicPage.style.mjs +0 -26
- package/es/built-in/dynamic-page/PageNavBar.d.ts +0 -3
- package/es/built-in/dynamic-page/PageNavBar.mjs +0 -47
- package/es/built-in/dynamic-page/PageNavBar.style.d.ts +0 -3
- package/es/built-in/dynamic-page/PageNavBar.style.mjs +0 -25
- package/lib/built-in/dynamic-page/DynamicPage.context.js +0 -5
- package/lib/built-in/dynamic-page/DynamicPage.style.js +0 -60
- package/lib/built-in/dynamic-page/PageNavBar.js +0 -81
- package/lib/built-in/dynamic-page/PageNavBar.style.js +0 -59
|
@@ -120,12 +120,12 @@ var __webpack_exports__ = {};
|
|
|
120
120
|
var __WEBPACK_REEXPORT_OBJECT__ = {};
|
|
121
121
|
for(var __WEBPACK_IMPORT_KEY__ in _CollectionManagerProvider__WEBPACK_IMPORTED_MODULE_1__)if ([
|
|
122
122
|
"interfacesProperties",
|
|
123
|
-
"default",
|
|
124
123
|
"useCollectionFilterOptions",
|
|
125
124
|
"useFieldInterfaceOptions",
|
|
126
125
|
"useLinkageCollectionFilterOptions",
|
|
127
126
|
"useSortFields",
|
|
128
127
|
"isDeleteButtonDisabled",
|
|
128
|
+
"default",
|
|
129
129
|
"getConfigurableProperties",
|
|
130
130
|
"useCancelAction",
|
|
131
131
|
"useCollectionFieldsOptions"
|
|
@@ -137,12 +137,12 @@ var __webpack_exports__ = {};
|
|
|
137
137
|
var __WEBPACK_REEXPORT_OBJECT__ = {};
|
|
138
138
|
for(var __WEBPACK_IMPORT_KEY__ in _CollectionManagerSchemaComponentProvider__WEBPACK_IMPORTED_MODULE_2__)if ([
|
|
139
139
|
"interfacesProperties",
|
|
140
|
-
"default",
|
|
141
140
|
"useCollectionFilterOptions",
|
|
142
141
|
"useFieldInterfaceOptions",
|
|
143
142
|
"useLinkageCollectionFilterOptions",
|
|
144
143
|
"useSortFields",
|
|
145
144
|
"isDeleteButtonDisabled",
|
|
145
|
+
"default",
|
|
146
146
|
"getConfigurableProperties",
|
|
147
147
|
"useCancelAction",
|
|
148
148
|
"useCollectionFieldsOptions"
|
|
@@ -154,12 +154,12 @@ var __webpack_exports__ = {};
|
|
|
154
154
|
var __WEBPACK_REEXPORT_OBJECT__ = {};
|
|
155
155
|
for(var __WEBPACK_IMPORT_KEY__ in _CollectionProvider_deprecated__WEBPACK_IMPORTED_MODULE_3__)if ([
|
|
156
156
|
"interfacesProperties",
|
|
157
|
-
"default",
|
|
158
157
|
"useCollectionFilterOptions",
|
|
159
158
|
"useFieldInterfaceOptions",
|
|
160
159
|
"useLinkageCollectionFilterOptions",
|
|
161
160
|
"useSortFields",
|
|
162
161
|
"isDeleteButtonDisabled",
|
|
162
|
+
"default",
|
|
163
163
|
"getConfigurableProperties",
|
|
164
164
|
"useCancelAction",
|
|
165
165
|
"useCollectionFieldsOptions"
|
|
@@ -171,12 +171,12 @@ var __webpack_exports__ = {};
|
|
|
171
171
|
var __WEBPACK_REEXPORT_OBJECT__ = {};
|
|
172
172
|
for(var __WEBPACK_IMPORT_KEY__ in _Configuration__WEBPACK_IMPORTED_MODULE_4__)if ([
|
|
173
173
|
"interfacesProperties",
|
|
174
|
-
"default",
|
|
175
174
|
"useCollectionFilterOptions",
|
|
176
175
|
"useFieldInterfaceOptions",
|
|
177
176
|
"useLinkageCollectionFilterOptions",
|
|
178
177
|
"useSortFields",
|
|
179
178
|
"isDeleteButtonDisabled",
|
|
179
|
+
"default",
|
|
180
180
|
"getConfigurableProperties",
|
|
181
181
|
"useCancelAction",
|
|
182
182
|
"useCollectionFieldsOptions"
|
|
@@ -189,12 +189,12 @@ var __webpack_exports__ = {};
|
|
|
189
189
|
var __WEBPACK_REEXPORT_OBJECT__ = {};
|
|
190
190
|
for(var __WEBPACK_IMPORT_KEY__ in _context__WEBPACK_IMPORTED_MODULE_6__)if ([
|
|
191
191
|
"interfacesProperties",
|
|
192
|
-
"default",
|
|
193
192
|
"useCollectionFilterOptions",
|
|
194
193
|
"useFieldInterfaceOptions",
|
|
195
194
|
"useLinkageCollectionFilterOptions",
|
|
196
195
|
"useSortFields",
|
|
197
196
|
"isDeleteButtonDisabled",
|
|
197
|
+
"default",
|
|
198
198
|
"getConfigurableProperties",
|
|
199
199
|
"useCancelAction",
|
|
200
200
|
"useCollectionFieldsOptions"
|
|
@@ -206,12 +206,12 @@ var __webpack_exports__ = {};
|
|
|
206
206
|
var __WEBPACK_REEXPORT_OBJECT__ = {};
|
|
207
207
|
for(var __WEBPACK_IMPORT_KEY__ in _hooks__WEBPACK_IMPORTED_MODULE_7__)if ([
|
|
208
208
|
"interfacesProperties",
|
|
209
|
-
"default",
|
|
210
209
|
"useCollectionFilterOptions",
|
|
211
210
|
"useFieldInterfaceOptions",
|
|
212
211
|
"useLinkageCollectionFilterOptions",
|
|
213
212
|
"useSortFields",
|
|
214
213
|
"isDeleteButtonDisabled",
|
|
214
|
+
"default",
|
|
215
215
|
"getConfigurableProperties",
|
|
216
216
|
"useCancelAction",
|
|
217
217
|
"useCollectionFieldsOptions"
|
|
@@ -224,12 +224,12 @@ var __webpack_exports__ = {};
|
|
|
224
224
|
var __WEBPACK_REEXPORT_OBJECT__ = {};
|
|
225
225
|
for(var __WEBPACK_IMPORT_KEY__ in _interfaces_types__WEBPACK_IMPORTED_MODULE_9__)if ([
|
|
226
226
|
"interfacesProperties",
|
|
227
|
-
"default",
|
|
228
227
|
"useCollectionFilterOptions",
|
|
229
228
|
"useFieldInterfaceOptions",
|
|
230
229
|
"useLinkageCollectionFilterOptions",
|
|
231
230
|
"useSortFields",
|
|
232
231
|
"isDeleteButtonDisabled",
|
|
232
|
+
"default",
|
|
233
233
|
"getConfigurableProperties",
|
|
234
234
|
"useCancelAction",
|
|
235
235
|
"useCollectionFieldsOptions"
|
|
@@ -241,12 +241,12 @@ var __webpack_exports__ = {};
|
|
|
241
241
|
var __WEBPACK_REEXPORT_OBJECT__ = {};
|
|
242
242
|
for(var __WEBPACK_IMPORT_KEY__ in _ResourceActionProvider__WEBPACK_IMPORTED_MODULE_10__)if ([
|
|
243
243
|
"interfacesProperties",
|
|
244
|
-
"default",
|
|
245
244
|
"useCollectionFilterOptions",
|
|
246
245
|
"useFieldInterfaceOptions",
|
|
247
246
|
"useLinkageCollectionFilterOptions",
|
|
248
247
|
"useSortFields",
|
|
249
248
|
"isDeleteButtonDisabled",
|
|
249
|
+
"default",
|
|
250
250
|
"getConfigurableProperties",
|
|
251
251
|
"useCancelAction",
|
|
252
252
|
"useCollectionFieldsOptions"
|
|
@@ -259,12 +259,12 @@ var __webpack_exports__ = {};
|
|
|
259
259
|
var __WEBPACK_REEXPORT_OBJECT__ = {};
|
|
260
260
|
for(var __WEBPACK_IMPORT_KEY__ in _templates_types__WEBPACK_IMPORTED_MODULE_12__)if ([
|
|
261
261
|
"interfacesProperties",
|
|
262
|
-
"default",
|
|
263
262
|
"useCollectionFilterOptions",
|
|
264
263
|
"useFieldInterfaceOptions",
|
|
265
264
|
"useLinkageCollectionFilterOptions",
|
|
266
265
|
"useSortFields",
|
|
267
266
|
"isDeleteButtonDisabled",
|
|
267
|
+
"default",
|
|
268
268
|
"getConfigurableProperties",
|
|
269
269
|
"useCancelAction",
|
|
270
270
|
"useCollectionFieldsOptions"
|
|
@@ -276,12 +276,12 @@ var __webpack_exports__ = {};
|
|
|
276
276
|
var __WEBPACK_REEXPORT_OBJECT__ = {};
|
|
277
277
|
for(var __WEBPACK_IMPORT_KEY__ in _types__WEBPACK_IMPORTED_MODULE_13__)if ([
|
|
278
278
|
"interfacesProperties",
|
|
279
|
-
"default",
|
|
280
279
|
"useCollectionFilterOptions",
|
|
281
280
|
"useFieldInterfaceOptions",
|
|
282
281
|
"useLinkageCollectionFilterOptions",
|
|
283
282
|
"useSortFields",
|
|
284
283
|
"isDeleteButtonDisabled",
|
|
284
|
+
"default",
|
|
285
285
|
"getConfigurableProperties",
|
|
286
286
|
"useCancelAction",
|
|
287
287
|
"useCollectionFieldsOptions"
|
|
@@ -293,12 +293,12 @@ var __webpack_exports__ = {};
|
|
|
293
293
|
var __WEBPACK_REEXPORT_OBJECT__ = {};
|
|
294
294
|
for(var __WEBPACK_IMPORT_KEY__ in _interfaces__WEBPACK_IMPORTED_MODULE_14__)if ([
|
|
295
295
|
"interfacesProperties",
|
|
296
|
-
"default",
|
|
297
296
|
"useCollectionFilterOptions",
|
|
298
297
|
"useFieldInterfaceOptions",
|
|
299
298
|
"useLinkageCollectionFilterOptions",
|
|
300
299
|
"useSortFields",
|
|
301
300
|
"isDeleteButtonDisabled",
|
|
301
|
+
"default",
|
|
302
302
|
"getConfigurableProperties",
|
|
303
303
|
"useCancelAction",
|
|
304
304
|
"useCollectionFieldsOptions"
|
|
@@ -309,12 +309,12 @@ var __webpack_exports__ = {};
|
|
|
309
309
|
var __WEBPACK_REEXPORT_OBJECT__ = {};
|
|
310
310
|
for(var __WEBPACK_IMPORT_KEY__ in _interfaces_properties__WEBPACK_IMPORTED_MODULE_8__)if ([
|
|
311
311
|
"interfacesProperties",
|
|
312
|
-
"default",
|
|
313
312
|
"useCollectionFilterOptions",
|
|
314
313
|
"useFieldInterfaceOptions",
|
|
315
314
|
"useLinkageCollectionFilterOptions",
|
|
316
315
|
"useSortFields",
|
|
317
316
|
"isDeleteButtonDisabled",
|
|
317
|
+
"default",
|
|
318
318
|
"getConfigurableProperties",
|
|
319
319
|
"useCancelAction",
|
|
320
320
|
"useCollectionFieldsOptions"
|
|
@@ -326,12 +326,12 @@ var __webpack_exports__ = {};
|
|
|
326
326
|
var __WEBPACK_REEXPORT_OBJECT__ = {};
|
|
327
327
|
for(var __WEBPACK_IMPORT_KEY__ in _collectionPlugin__WEBPACK_IMPORTED_MODULE_15__)if ([
|
|
328
328
|
"interfacesProperties",
|
|
329
|
-
"default",
|
|
330
329
|
"useCollectionFilterOptions",
|
|
331
330
|
"useFieldInterfaceOptions",
|
|
332
331
|
"useLinkageCollectionFilterOptions",
|
|
333
332
|
"useSortFields",
|
|
334
333
|
"isDeleteButtonDisabled",
|
|
334
|
+
"default",
|
|
335
335
|
"getConfigurableProperties",
|
|
336
336
|
"useCancelAction",
|
|
337
337
|
"useCollectionFieldsOptions"
|
|
@@ -343,12 +343,12 @@ var __webpack_exports__ = {};
|
|
|
343
343
|
var __WEBPACK_REEXPORT_OBJECT__ = {};
|
|
344
344
|
for(var __WEBPACK_IMPORT_KEY__ in _mixins_InheritanceCollectionMixin__WEBPACK_IMPORTED_MODULE_16__)if ([
|
|
345
345
|
"interfacesProperties",
|
|
346
|
-
"default",
|
|
347
346
|
"useCollectionFilterOptions",
|
|
348
347
|
"useFieldInterfaceOptions",
|
|
349
348
|
"useLinkageCollectionFilterOptions",
|
|
350
349
|
"useSortFields",
|
|
351
350
|
"isDeleteButtonDisabled",
|
|
351
|
+
"default",
|
|
352
352
|
"getConfigurableProperties",
|
|
353
353
|
"useCancelAction",
|
|
354
354
|
"useCollectionFieldsOptions"
|
|
@@ -360,12 +360,12 @@ var __webpack_exports__ = {};
|
|
|
360
360
|
var __WEBPACK_REEXPORT_OBJECT__ = {};
|
|
361
361
|
for(var __WEBPACK_IMPORT_KEY__ in _sub_table__WEBPACK_IMPORTED_MODULE_17__)if ([
|
|
362
362
|
"interfacesProperties",
|
|
363
|
-
"default",
|
|
364
363
|
"useCollectionFilterOptions",
|
|
365
364
|
"useFieldInterfaceOptions",
|
|
366
365
|
"useLinkageCollectionFilterOptions",
|
|
367
366
|
"useSortFields",
|
|
368
367
|
"isDeleteButtonDisabled",
|
|
368
|
+
"default",
|
|
369
369
|
"getConfigurableProperties",
|
|
370
370
|
"useCancelAction",
|
|
371
371
|
"useCollectionFieldsOptions"
|
|
@@ -377,12 +377,12 @@ var __webpack_exports__ = {};
|
|
|
377
377
|
var __WEBPACK_REEXPORT_OBJECT__ = {};
|
|
378
378
|
for(var __WEBPACK_IMPORT_KEY__ in _CollectionHistoryProvider__WEBPACK_IMPORTED_MODULE_18__)if ([
|
|
379
379
|
"interfacesProperties",
|
|
380
|
-
"default",
|
|
381
380
|
"useCollectionFilterOptions",
|
|
382
381
|
"useFieldInterfaceOptions",
|
|
383
382
|
"useLinkageCollectionFilterOptions",
|
|
384
383
|
"useSortFields",
|
|
385
384
|
"isDeleteButtonDisabled",
|
|
385
|
+
"default",
|
|
386
386
|
"getConfigurableProperties",
|
|
387
387
|
"useCancelAction",
|
|
388
388
|
"useCollectionFieldsOptions"
|
|
@@ -394,12 +394,12 @@ var __webpack_exports__ = {};
|
|
|
394
394
|
var __WEBPACK_REEXPORT_OBJECT__ = {};
|
|
395
395
|
for(var __WEBPACK_IMPORT_KEY__ in _utils__WEBPACK_IMPORTED_MODULE_19__)if ([
|
|
396
396
|
"interfacesProperties",
|
|
397
|
-
"default",
|
|
398
397
|
"useCollectionFilterOptions",
|
|
399
398
|
"useFieldInterfaceOptions",
|
|
400
399
|
"useLinkageCollectionFilterOptions",
|
|
401
400
|
"useSortFields",
|
|
402
401
|
"isDeleteButtonDisabled",
|
|
402
|
+
"default",
|
|
403
403
|
"getConfigurableProperties",
|
|
404
404
|
"useCancelAction",
|
|
405
405
|
"useCollectionFieldsOptions"
|
|
@@ -28,7 +28,7 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
28
28
|
});
|
|
29
29
|
const external_react_namespaceObject = require("react");
|
|
30
30
|
const external_FlagProvider_js_namespaceObject = require("../FlagProvider.js");
|
|
31
|
-
const useFlag = ()=>(0, external_react_namespaceObject.useContext)(external_FlagProvider_js_namespaceObject.FlagContext);
|
|
31
|
+
const useFlag = ()=>(0, external_react_namespaceObject.useContext)(external_FlagProvider_js_namespaceObject.FlagContext) || {};
|
|
32
32
|
exports.useFlag = __webpack_exports__.useFlag;
|
|
33
33
|
for(var __webpack_i__ in __webpack_exports__)if (-1 === [
|
|
34
34
|
"useFlag"
|
package/lib/icon/Icon.js
CHANGED
|
@@ -33,12 +33,12 @@ var __webpack_require__ = {};
|
|
|
33
33
|
var __webpack_exports__ = {};
|
|
34
34
|
__webpack_require__.r(__webpack_exports__);
|
|
35
35
|
__webpack_require__.d(__webpack_exports__, {
|
|
36
|
+
hasIcon: ()=>hasIcon,
|
|
36
37
|
default: ()=>icon_Icon,
|
|
37
38
|
icons: ()=>Icon_icons,
|
|
38
|
-
registerIcons: ()=>registerIcons,
|
|
39
39
|
Icon: ()=>Icon,
|
|
40
40
|
registerIcon: ()=>registerIcon,
|
|
41
|
-
|
|
41
|
+
registerIcons: ()=>registerIcons
|
|
42
42
|
});
|
|
43
43
|
const jsx_runtime_namespaceObject = require("react/jsx-runtime");
|
|
44
44
|
require("react");
|
package/lib/locale/en_US.js
CHANGED
package/lib/locale/zh-CN.js
CHANGED
|
@@ -701,6 +701,7 @@ module.exports = {
|
|
|
701
701
|
"Please confirm the SQL statement first": "\u8BF7\u5148\u786E\u8BA4 SQL \u8BED\u53E5",
|
|
702
702
|
"Please enter search content": "\u8BF7\u8F93\u5165\u67E5\u8BE2\u5185\u5BB9",
|
|
703
703
|
"Please fill in the iframe URL": "\u8BF7\u586B\u5199\u5D4C\u5165\u7684\u5730\u5740",
|
|
704
|
+
"Please fill in your mobile phone number in your personal information first": "\u8BF7\u5148\u5728\u4E2A\u4EBA\u8D44\u6599\u586B\u5199\u624B\u673A\u53F7",
|
|
704
705
|
"Please select": "\u8BF7\u9009\u62E9",
|
|
705
706
|
"Please select content": "\u8BF7\u9009\u62E9\u5185\u5BB9",
|
|
706
707
|
"Please select the records to be updated": "\u8BF7\u9009\u62E9\u8981\u66F4\u65B0\u7684\u8BB0\u5F55",
|
|
@@ -835,6 +836,7 @@ module.exports = {
|
|
|
835
836
|
Selector: "\u9009\u62E9\u5668",
|
|
836
837
|
"Selector mode": "\u9009\u62E9\u5668\u6A21\u5F0F",
|
|
837
838
|
"Send code": "\u53D1\u9001\u9A8C\u8BC1\u7801",
|
|
839
|
+
"Send verification code to phone: {{phoneNumber}}": "\u5C06\u53D1\u9001\u9A8C\u8BC1\u7801\u7ED9\u624B\u673A:{{phoneNumber}}",
|
|
838
840
|
Separator: "\u5206\u9694\u7B26",
|
|
839
841
|
"Set Quick Add Parent Tabs": "\u8BBE\u7F6E\u5FEB\u901F\u6DFB\u52A0\u7236\u7EA7\u9009\u9879",
|
|
840
842
|
"Set Quick Add Tabs": "\u8BBE\u7F6E\u5FEB\u901F\u6DFB\u52A0\u9009\u9879",
|
|
@@ -998,7 +1000,9 @@ module.exports = {
|
|
|
998
1000
|
Upload: "\u4E0A\u4F20",
|
|
999
1001
|
"Upload new version": "\u4E0A\u4F20\u65B0\u7248",
|
|
1000
1002
|
"Upload plugin": "\u4E0A\u4F20\u63D2\u4EF6",
|
|
1003
|
+
"Use old password": "\u65E7\u5BC6\u7801\u9A8C\u8BC1",
|
|
1001
1004
|
"Use the same time zone (GMT) for all users": "\u6240\u6709\u7528\u6237\u4F7F\u7528\u540C\u4E00\u65F6\u533A (\u683C\u6797\u5C3C\u6CBB\u6807\u51C6\u65F6\u95F4)",
|
|
1005
|
+
"Use verification code": "\u9A8C\u8BC1\u7801\u9A8C\u8BC1",
|
|
1002
1006
|
"Used for drag and drop sorting scenarios, supporting grouping sorting": "\u7528\u4E8E\u62D6\u62FD\u6392\u5E8F\u573A\u666F\uFF0C\u652F\u6301\u5206\u7EC4\u6392\u5E8F",
|
|
1003
1007
|
User: "\u7528\u6237",
|
|
1004
1008
|
"User settings": "\u4E2A\u4EBA\u8BBE\u7F6E",
|
|
@@ -1009,6 +1013,7 @@ module.exports = {
|
|
|
1009
1013
|
Value: "\u5B57\u6BB5\u503C",
|
|
1010
1014
|
Values: "\u503C",
|
|
1011
1015
|
"Verification code": "\u9A8C\u8BC1\u7801",
|
|
1016
|
+
"Verify method": "\u9A8C\u8BC1\u65B9\u5F0F",
|
|
1012
1017
|
Version: "\u7248\u672C",
|
|
1013
1018
|
"Version range": "\u7248\u672C\u8303\u56F4",
|
|
1014
1019
|
View: "\u67E5\u770B",
|
|
@@ -27,7 +27,7 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
27
27
|
CreateChildInitializer: ()=>CreateChildInitializer
|
|
28
28
|
});
|
|
29
29
|
const jsx_runtime_namespaceObject = require("react/jsx-runtime");
|
|
30
|
-
|
|
30
|
+
require("react");
|
|
31
31
|
const ActionInitializer_js_namespaceObject = require("../../../schema-initializer/items/ActionInitializer.js");
|
|
32
32
|
const CreateChildInitializer = (props)=>{
|
|
33
33
|
const schema = {
|
|
@@ -39,7 +39,7 @@ const CreateChildInitializer = (props)=>{
|
|
|
39
39
|
'x-component': 'Action',
|
|
40
40
|
'x-visible': '{{treeTable}}',
|
|
41
41
|
'x-component-props': {
|
|
42
|
-
openMode:
|
|
42
|
+
openMode: 'drawer',
|
|
43
43
|
type: 'link',
|
|
44
44
|
addChild: true,
|
|
45
45
|
style: {
|
|
@@ -27,8 +27,8 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
27
27
|
CreateActionInitializer: ()=>CreateActionInitializer
|
|
28
28
|
});
|
|
29
29
|
const jsx_runtime_namespaceObject = require("react/jsx-runtime");
|
|
30
|
+
require("react");
|
|
30
31
|
const index_js_namespaceObject = require("../../../application/index.js");
|
|
31
|
-
const external_schema_component_index_js_namespaceObject = require("../../../schema-component/index.js");
|
|
32
32
|
const ActionInitializer_js_namespaceObject = require("../../../schema-initializer/items/ActionInitializer.js");
|
|
33
33
|
const CreateActionInitializer = ()=>{
|
|
34
34
|
const schema = {
|
|
@@ -41,7 +41,7 @@ const CreateActionInitializer = ()=>{
|
|
|
41
41
|
'x-component': 'Action',
|
|
42
42
|
'x-decorator': 'ACLActionProvider',
|
|
43
43
|
'x-component-props': {
|
|
44
|
-
openMode:
|
|
44
|
+
openMode: 'drawer',
|
|
45
45
|
type: 'primary',
|
|
46
46
|
component: 'CreateRecordAction',
|
|
47
47
|
icon: 'PlusOutlined'
|
|
@@ -27,8 +27,8 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
27
27
|
CustomizeAddRecordActionInitializer: ()=>CustomizeAddRecordActionInitializer
|
|
28
28
|
});
|
|
29
29
|
const jsx_runtime_namespaceObject = require("react/jsx-runtime");
|
|
30
|
+
require("react");
|
|
30
31
|
const index_js_namespaceObject = require("../../../application/index.js");
|
|
31
|
-
const external_schema_component_index_js_namespaceObject = require("../../../schema-component/index.js");
|
|
32
32
|
const BlockInitializer_js_namespaceObject = require("../../../schema-initializer/items/BlockInitializer.js");
|
|
33
33
|
const CustomizeAddRecordActionInitializer = ()=>{
|
|
34
34
|
const schema = {
|
|
@@ -39,7 +39,7 @@ const CustomizeAddRecordActionInitializer = ()=>{
|
|
|
39
39
|
'x-component': 'Action',
|
|
40
40
|
'x-action': 'customize:create',
|
|
41
41
|
'x-component-props': {
|
|
42
|
-
openMode:
|
|
42
|
+
openMode: 'drawer',
|
|
43
43
|
icon: 'PlusOutlined'
|
|
44
44
|
},
|
|
45
45
|
properties: {
|
|
@@ -29,7 +29,6 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
29
29
|
const jsx_runtime_namespaceObject = require("react/jsx-runtime");
|
|
30
30
|
require("react");
|
|
31
31
|
const index_js_namespaceObject = require("../../../application/index.js");
|
|
32
|
-
const external_schema_component_index_js_namespaceObject = require("../../../schema-component/index.js");
|
|
33
32
|
const ActionInitializer_js_namespaceObject = require("../../../schema-initializer/items/ActionInitializer.js");
|
|
34
33
|
const AssociateActionInitializer = ()=>{
|
|
35
34
|
const schema = {
|
|
@@ -42,7 +41,7 @@ const AssociateActionInitializer = ()=>{
|
|
|
42
41
|
'x-component': 'Action',
|
|
43
42
|
'x-component-props': {
|
|
44
43
|
actionType: 'associations',
|
|
45
|
-
openMode:
|
|
44
|
+
openMode: 'drawer',
|
|
46
45
|
type: 'primary',
|
|
47
46
|
icon: 'PlusOutlined'
|
|
48
47
|
},
|
|
@@ -42,10 +42,7 @@ const external_schema_settings_SchemaSettings_js_namespaceObject = require("../.
|
|
|
42
42
|
const Tree = (0, schema_namespaceObject.connect)(external_antd_namespaceObject.Tree, (0, schema_namespaceObject.mapProps)((props, field)=>{
|
|
43
43
|
(0, external_react_namespaceObject.useEffect)(()=>{
|
|
44
44
|
field.value = props.defaultCheckedKeys || [];
|
|
45
|
-
}, [
|
|
46
|
-
field.value,
|
|
47
|
-
props.defaultCheckedKeys
|
|
48
|
-
]);
|
|
45
|
+
}, []);
|
|
49
46
|
const [checkedKeys, setCheckedKeys] = (0, external_react_namespaceObject.useState)(props.defaultCheckedKeys || []);
|
|
50
47
|
const onCheck = (checkedKeys)=>{
|
|
51
48
|
setCheckedKeys(checkedKeys);
|
|
@@ -183,7 +180,7 @@ const createSubmitActionSettings = new SchemaSettings_js_namespaceObject.SchemaS
|
|
|
183
180
|
useVisible () {
|
|
184
181
|
const { fieldSchema } = (0, external_schema_component_index_js_namespaceObject.useActionContext)();
|
|
185
182
|
const openMode = (0, Action_Designer_js_namespaceObject.findSchema)(fieldSchema);
|
|
186
|
-
return !openMode ||
|
|
183
|
+
return !openMode || 'page' === openMode;
|
|
187
184
|
},
|
|
188
185
|
useComponentProps () {
|
|
189
186
|
var _fieldSchema_xactionsettings;
|
|
@@ -27,8 +27,8 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
27
27
|
PopupActionInitializer: ()=>PopupActionInitializer
|
|
28
28
|
});
|
|
29
29
|
const jsx_runtime_namespaceObject = require("react/jsx-runtime");
|
|
30
|
+
require("react");
|
|
30
31
|
const index_js_namespaceObject = require("../../../application/index.js");
|
|
31
|
-
const external_schema_component_index_js_namespaceObject = require("../../../schema-component/index.js");
|
|
32
32
|
const items_index_js_namespaceObject = require("../../../schema-initializer/items/index.js");
|
|
33
33
|
const PopupActionInitializer = (props)=>{
|
|
34
34
|
const schema = {
|
|
@@ -39,7 +39,7 @@ const PopupActionInitializer = (props)=>{
|
|
|
39
39
|
'x-settings': 'actionSettings:popup',
|
|
40
40
|
'x-component': (null == props ? void 0 : props['x-component']) || 'Action.Link',
|
|
41
41
|
'x-component-props': {
|
|
42
|
-
openMode:
|
|
42
|
+
openMode: 'drawer'
|
|
43
43
|
},
|
|
44
44
|
properties: {
|
|
45
45
|
drawer: {
|
|
@@ -27,7 +27,7 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
27
27
|
UpdateActionInitializer: ()=>UpdateActionInitializer
|
|
28
28
|
});
|
|
29
29
|
const jsx_runtime_namespaceObject = require("react/jsx-runtime");
|
|
30
|
-
|
|
30
|
+
require("react");
|
|
31
31
|
const ActionInitializer_js_namespaceObject = require("../../../schema-initializer/items/ActionInitializer.js");
|
|
32
32
|
const UpdateActionInitializer = (props)=>{
|
|
33
33
|
const schema = {
|
|
@@ -38,7 +38,7 @@ const UpdateActionInitializer = (props)=>{
|
|
|
38
38
|
'x-settings': 'actionSettings:edit',
|
|
39
39
|
'x-component': 'Action',
|
|
40
40
|
'x-component-props': {
|
|
41
|
-
openMode:
|
|
41
|
+
openMode: 'drawer',
|
|
42
42
|
icon: 'EditOutlined'
|
|
43
43
|
},
|
|
44
44
|
properties: {
|
|
@@ -27,7 +27,7 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
27
27
|
ViewActionInitializer: ()=>ViewActionInitializer
|
|
28
28
|
});
|
|
29
29
|
const jsx_runtime_namespaceObject = require("react/jsx-runtime");
|
|
30
|
-
|
|
30
|
+
require("react");
|
|
31
31
|
const ActionInitializer_js_namespaceObject = require("../../../schema-initializer/items/ActionInitializer.js");
|
|
32
32
|
const ViewActionInitializer = (props)=>{
|
|
33
33
|
const schema = {
|
|
@@ -38,7 +38,7 @@ const ViewActionInitializer = (props)=>{
|
|
|
38
38
|
'x-settings': 'actionSettings:view',
|
|
39
39
|
'x-component': 'Action',
|
|
40
40
|
'x-component-props': {
|
|
41
|
-
openMode:
|
|
41
|
+
openMode: 'drawer'
|
|
42
42
|
},
|
|
43
43
|
properties: {
|
|
44
44
|
drawer: {
|
|
@@ -154,7 +154,7 @@ const drawerSubTableComponentFieldSettings = new SchemaSettings_js_namespaceObje
|
|
|
154
154
|
value: 'large'
|
|
155
155
|
}
|
|
156
156
|
],
|
|
157
|
-
value: null != (_fieldSchema_xcomponentprops_openSize = null == fieldSchema ? void 0 : null == (_fieldSchema_xcomponentprops = fieldSchema['x-component-props']) ? void 0 : _fieldSchema_xcomponentprops['openSize']) ? _fieldSchema_xcomponentprops_openSize : (null == fieldSchema ? void 0 : null == (_fieldSchema_xcomponentprops1 = fieldSchema['x-component-props']) ? void 0 : _fieldSchema_xcomponentprops1['openMode'])
|
|
157
|
+
value: null != (_fieldSchema_xcomponentprops_openSize = null == fieldSchema ? void 0 : null == (_fieldSchema_xcomponentprops = fieldSchema['x-component-props']) ? void 0 : _fieldSchema_xcomponentprops['openSize']) ? _fieldSchema_xcomponentprops_openSize : (null == fieldSchema ? void 0 : null == (_fieldSchema_xcomponentprops1 = fieldSchema['x-component-props']) ? void 0 : _fieldSchema_xcomponentprops1['openMode']) == 'modal' ? 'large' : 'middle',
|
|
158
158
|
onChange: (value)=>{
|
|
159
159
|
field.componentProps.openSize = value;
|
|
160
160
|
fieldSchema['x-component-props'] = {
|
|
@@ -194,7 +194,7 @@ const recordPickerComponentFieldSettings = new SchemaSettings_js_namespaceObject
|
|
|
194
194
|
value: 'large'
|
|
195
195
|
}
|
|
196
196
|
],
|
|
197
|
-
value: null != (_fieldSchema_xcomponentprops_openSize = null == fieldSchema ? void 0 : null == (_fieldSchema_xcomponentprops = fieldSchema['x-component-props']) ? void 0 : _fieldSchema_xcomponentprops['openSize']) ? _fieldSchema_xcomponentprops_openSize : (null == fieldSchema ? void 0 : null == (_fieldSchema_xcomponentprops1 = fieldSchema['x-component-props']) ? void 0 : _fieldSchema_xcomponentprops1['openMode'])
|
|
197
|
+
value: null != (_fieldSchema_xcomponentprops_openSize = null == fieldSchema ? void 0 : null == (_fieldSchema_xcomponentprops = fieldSchema['x-component-props']) ? void 0 : _fieldSchema_xcomponentprops['openSize']) ? _fieldSchema_xcomponentprops_openSize : (null == fieldSchema ? void 0 : null == (_fieldSchema_xcomponentprops1 = fieldSchema['x-component-props']) ? void 0 : _fieldSchema_xcomponentprops1['openMode']) == 'modal' ? 'large' : 'middle',
|
|
198
198
|
onChange: (value)=>{
|
|
199
199
|
field.componentProps.openSize = value;
|
|
200
200
|
fieldSchema['x-component-props'] = {
|
|
@@ -238,7 +238,7 @@ const quickCreate = {
|
|
|
238
238
|
'x-component': 'Action',
|
|
239
239
|
'x-decorator': 'ACLActionProvider',
|
|
240
240
|
'x-component-props': {
|
|
241
|
-
openMode:
|
|
241
|
+
openMode: 'drawer',
|
|
242
242
|
type: 'default',
|
|
243
243
|
component: 'CreateRecordAction'
|
|
244
244
|
}
|
|
@@ -24,52 +24,31 @@ var __webpack_require__ = {};
|
|
|
24
24
|
var __webpack_exports__ = {};
|
|
25
25
|
__webpack_require__.r(__webpack_exports__);
|
|
26
26
|
__webpack_require__.d(__webpack_exports__, {
|
|
27
|
-
|
|
28
|
-
|
|
27
|
+
ActionContainer: ()=>ActionContainer,
|
|
28
|
+
default: ()=>Action_Container
|
|
29
29
|
});
|
|
30
30
|
const jsx_runtime_namespaceObject = require("react/jsx-runtime");
|
|
31
|
+
require("react");
|
|
31
32
|
const schema_namespaceObject = require("@tachybase/schema");
|
|
32
33
|
const external_index_js_namespaceObject = require("./index.js");
|
|
33
|
-
const index_js_namespaceObject = require("../../../block-provider/index.js");
|
|
34
|
-
const PageStyle_provider_js_namespaceObject = require("../../../built-in/page-style/PageStyle.provider.js");
|
|
35
|
-
const usePageStyle_js_namespaceObject = require("../../../built-in/page-style/usePageStyle.js");
|
|
36
34
|
const external_Action_Drawer_js_namespaceObject = require("./Action.Drawer.js");
|
|
37
35
|
const external_Action_Modal_js_namespaceObject = require("./Action.Modal.js");
|
|
38
36
|
const external_Action_Page_js_namespaceObject = require("./Action.Page.js");
|
|
39
37
|
const external_Action_Sheet_js_namespaceObject = require("./Action.Sheet.js");
|
|
40
38
|
const ActionContainer = (0, schema_namespaceObject.observer)((props)=>{
|
|
41
39
|
const { openMode } = (0, external_index_js_namespaceObject.useActionContext)();
|
|
42
|
-
|
|
43
|
-
const pageStyle = (0, usePageStyle_js_namespaceObject.usePageStyle)();
|
|
44
|
-
if (openMode === external_index_js_namespaceObject.OpenMode.DRAWER_MODE) return /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(external_Action_Drawer_js_namespaceObject.ActionDrawer, {
|
|
40
|
+
if ('drawer' === openMode) return /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(external_Action_Drawer_js_namespaceObject.ActionDrawer, {
|
|
45
41
|
footerNodeName: 'Action.Container.Footer',
|
|
46
42
|
...props
|
|
47
43
|
});
|
|
48
|
-
if (
|
|
44
|
+
if ('modal' === openMode) return /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(external_Action_Modal_js_namespaceObject.ActionModal, {
|
|
49
45
|
footerNodeName: 'Action.Container.Footer',
|
|
50
46
|
...props
|
|
51
47
|
});
|
|
52
|
-
if (
|
|
48
|
+
if ('sheet' === openMode) return /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(external_Action_Sheet_js_namespaceObject.ActionSheet, {
|
|
53
49
|
footerNodeName: 'Action.Container.Footer',
|
|
54
50
|
...props
|
|
55
51
|
});
|
|
56
|
-
if (openMode === external_index_js_namespaceObject.OpenMode.PAGE) return /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(external_Action_Page_js_namespaceObject.ActionPage, {
|
|
57
|
-
footerNodeName: 'Action.Container.Footer',
|
|
58
|
-
...props
|
|
59
|
-
});
|
|
60
|
-
if (!openMode || [
|
|
61
|
-
external_index_js_namespaceObject.OpenMode.DEFAULT,
|
|
62
|
-
external_index_js_namespaceObject.OpenMode.DRAWER
|
|
63
|
-
].includes(openMode)) {
|
|
64
|
-
if (isMobile || pageStyle === PageStyle_provider_js_namespaceObject.PageStyle.TAB_STYLE) return /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(external_Action_Page_js_namespaceObject.ActionPage, {
|
|
65
|
-
footerNodeName: 'Action.Container.Footer',
|
|
66
|
-
...props
|
|
67
|
-
});
|
|
68
|
-
return /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(external_Action_Drawer_js_namespaceObject.ActionDrawer, {
|
|
69
|
-
footerNodeName: 'Action.Container.Footer',
|
|
70
|
-
...props
|
|
71
|
-
});
|
|
72
|
-
}
|
|
73
52
|
return /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(external_Action_Page_js_namespaceObject.ActionPage, {
|
|
74
53
|
footerNodeName: 'Action.Container.Footer',
|
|
75
54
|
...props
|
|
@@ -251,7 +251,7 @@ function AfterSuccess() {
|
|
|
251
251
|
const schema = {
|
|
252
252
|
...(0, external_utils_js_namespaceObject.afterSuccessSchema)(t)
|
|
253
253
|
};
|
|
254
|
-
if ((!openMode ||
|
|
254
|
+
if ((!openMode || 'page' === openMode) && component.includes('Form') || !component.includes('Form')) delete schema.properties.popupClose;
|
|
255
255
|
return /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(SchemaSettings_js_namespaceObject.SchemaSettingsModalItem, {
|
|
256
256
|
title: t('After successful submission'),
|
|
257
257
|
initialValues: null == fieldSchema ? void 0 : null == (_fieldSchema_xactionsettings = fieldSchema['x-action-settings']) ? void 0 : _fieldSchema_xactionsettings['onSuccess'],
|
|
@@ -639,18 +639,7 @@ const SetFilterScope = (props)=>{
|
|
|
639
639
|
}
|
|
640
640
|
}
|
|
641
641
|
}
|
|
642
|
-
}), [
|
|
643
|
-
fieldSchema,
|
|
644
|
-
gridSchema,
|
|
645
|
-
t,
|
|
646
|
-
type,
|
|
647
|
-
collectionName,
|
|
648
|
-
form,
|
|
649
|
-
variables,
|
|
650
|
-
localVariables,
|
|
651
|
-
record,
|
|
652
|
-
formBlockType
|
|
653
|
-
]);
|
|
642
|
+
}), []);
|
|
654
643
|
const { getTemplateById } = (0, external_schema_templates_index_js_namespaceObject.useSchemaTemplateManager)();
|
|
655
644
|
const { dn } = (0, external_index_js_namespaceObject.useDesignable)();
|
|
656
645
|
const onSubmit = (0, external_react_namespaceObject.useCallback)((v)=>{
|
|
@@ -34,8 +34,8 @@ var __webpack_exports__ = {};
|
|
|
34
34
|
__webpack_require__.r(__webpack_exports__);
|
|
35
35
|
__webpack_require__.d(__webpack_exports__, {
|
|
36
36
|
Amplifier: ()=>Amplifier,
|
|
37
|
-
|
|
38
|
-
|
|
37
|
+
ActionModal: ()=>ActionModal,
|
|
38
|
+
default: ()=>Action_Modal
|
|
39
39
|
});
|
|
40
40
|
const jsx_runtime_namespaceObject = require("react/jsx-runtime");
|
|
41
41
|
const external_react_namespaceObject = require("react");
|
|
@@ -65,8 +65,8 @@ const ActionPage = (0, schema_namespaceObject.observer)((props)=>{
|
|
|
65
65
|
const { containerRefKey, visible, setVisible } = (0, external_index_js_namespaceObject.useActionContext)();
|
|
66
66
|
const containerRef = useScope(containerRefKey);
|
|
67
67
|
const { styles } = useStyles();
|
|
68
|
-
const field = (0, schema_namespaceObject.useField)();
|
|
69
68
|
const schema = (0, schema_namespaceObject.useFieldSchema)();
|
|
69
|
+
const field = (0, schema_namespaceObject.useField)();
|
|
70
70
|
const footerSchema = schema.reduceProperties((buf, s)=>{
|
|
71
71
|
if (s['x-component'] === footerNodeName) return s;
|
|
72
72
|
return buf;
|
|
@@ -33,8 +33,8 @@ var __webpack_require__ = {};
|
|
|
33
33
|
var __webpack_exports__ = {};
|
|
34
34
|
__webpack_require__.r(__webpack_exports__);
|
|
35
35
|
__webpack_require__.d(__webpack_exports__, {
|
|
36
|
-
|
|
37
|
-
|
|
36
|
+
ActionSheet: ()=>ActionSheet,
|
|
37
|
+
default: ()=>Action_Sheet
|
|
38
38
|
});
|
|
39
39
|
const jsx_runtime_namespaceObject = require("react/jsx-runtime");
|
|
40
40
|
require("react");
|