@tachybase/client 1.3.21 → 1.3.23
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/api-client/APIClient.d.ts +1 -1
- package/es/api-client/APIClient.mjs +1 -1
- package/es/api-client/hooks/assign.mjs +1 -1
- package/es/api-client/hooks/useResource.d.ts +1 -1
- package/es/application/Application.d.ts +1 -2
- package/es/application/Application.mjs +1 -2
- package/es/application/WebSocketClient.mjs +1 -1
- 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.d.ts +1 -1
- package/es/application/utils/globalDeps.mjs +4 -11
- package/es/application/utils/remotePlugins.d.ts +1 -1
- package/es/block-provider/FormFieldProvider.mjs +1 -1
- package/es/block-provider/hooks/index.mjs +1 -1
- package/es/block-provider/hooks/useParsedFilter.mjs +1 -1
- package/es/built-in/acl/Configuration/RolesResourcesActions.mjs +1 -1
- package/es/built-in/attachment-preview/previewers/file-pdf.mjs +1 -1
- package/es/built-in/context-menu/ContextMenuItemsProps.mjs +1 -1
- package/es/built-in/index.mjs +1 -1
- package/es/built-in/locale/LocalePlugin.mjs +0 -2
- package/es/built-in/page-style/useTabSettings.mjs +3 -3
- package/es/built-in/pm/PluginDetail.mjs +0 -2
- package/es/built-in/pm/PluginManager.mjs +1 -1
- package/es/built-in/quick-access/ModalActionSchemaInitializerItem.mjs +1 -1
- package/es/collection-manager/Configuration/AddCollectionAction.mjs +1 -1
- package/es/collection-manager/Configuration/AddFieldAction.mjs +1 -1
- package/es/collection-manager/Configuration/AddSubFieldAction.mjs +1 -1
- package/es/collection-manager/Configuration/EditCollectionAction.mjs +1 -1
- package/es/collection-manager/Configuration/EditFieldAction.mjs +1 -1
- package/es/collection-manager/Configuration/EditSubFieldAction.mjs +1 -1
- package/es/collection-manager/Configuration/ImportXlsx/xlsxImportAction.mjs +1 -1
- package/es/collection-manager/Configuration/OverridingCollectionField.mjs +1 -1
- package/es/collection-manager/Configuration/SyncFieldsAction.mjs +1 -1
- package/es/collection-manager/Configuration/SyncSQLFieldsAction.mjs +1 -1
- package/es/collection-manager/Configuration/ViewInheritedField.mjs +1 -1
- 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/hooks/useCollection_deprecated.d.ts +1 -1
- 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 +2 -2
- 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 +12 -11
- 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/collection-manager/templates/expression.mjs +1 -1
- package/es/collection-manager/templates/properties/index.d.ts +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/data-source/data-block/DataBlockResourceProvider.d.ts +1 -1
- 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/modules/actions/link/customizeLinkActionSettings.mjs +1 -1
- package/es/modules/blocks/data-blocks/details-multi/detailsWithPaginationSettings.mjs +1 -1
- package/es/modules/blocks/data-blocks/form/FormBlockInitializer.d.ts +11 -11
- package/es/modules/blocks/data-blocks/form/fieldSettingsFormItem.mjs +1 -1
- package/es/modules/blocks/data-blocks/grid-card/gridCardBlockSettings.mjs +1 -1
- package/es/modules/blocks/data-blocks/list/listBlockSettings.mjs +1 -1
- package/es/modules/blocks/data-blocks/table/tableBlockSettings.mjs +1 -1
- package/es/modules/blocks/data-blocks/table-selector/tableSelectorBlockSettings.mjs +1 -1
- package/es/modules/blocks/filter-blocks/form/filterFormItemFieldSettings.mjs +1 -1
- package/es/modules/blocks/filter-blocks/tree/filterTreeItemFieldSettings.mjs +1 -1
- package/es/modules/fields/component/Cascader/cascaderComponentFieldSettings.mjs +1 -1
- package/es/modules/fields/component/SubTable/subTablePopoverComponentFieldSettings.d.ts +1 -1
- package/es/modules/fields/component/SubTable/subTablePopoverComponentFieldSettings.mjs +1 -1
- package/es/modules/menu/GroupItem.mjs +1 -1
- package/es/modules/menu/LinkMenuItem.mjs +1 -1
- package/es/modules/menu/PageMenuItem.mjs +1 -1
- package/es/modules/menu/UploadMenuItem.mjs +1 -1
- package/es/preload.d.ts +16 -0
- package/es/preload.mjs +33 -0
- package/es/schema-component/antd/action/Action.Designer.mjs +1 -1
- package/es/schema-component/antd/action/Action.mjs +1 -1
- package/es/schema-component/antd/association-field/InternalCascadeSelect.mjs +1 -1
- package/es/schema-component/antd/association-field/InternalCascader.mjs +1 -2
- package/es/schema-component/antd/association-field/InternalNester.mjs +1 -1
- package/es/schema-component/antd/association-field/InternalSubTable.mjs +1 -1
- package/es/schema-component/antd/association-field/SubTabs/InternalCollapse.mjs +1 -1
- package/es/schema-component/antd/association-field/SubTabs/hook.mjs +1 -1
- package/es/schema-component/antd/association-field/hooks.mjs +1 -1
- 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/association-field/util.mjs +1 -1
- package/es/schema-component/antd/association-select/AssociationSelect.mjs +2 -2
- package/es/schema-component/antd/auto-complete/AutoComplete.mjs +1 -1
- package/es/schema-component/antd/color-picker/ColorPicker.mjs +1 -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/cron/Cron.mjs +1 -1
- package/es/schema-component/antd/date-picker/ReadPretty.mjs +1 -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/FilterAction.mjs +1 -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/Form.mjs +1 -1
- package/es/schema-component/antd/form-item/FormItem.Settings.mjs +1 -1
- package/es/schema-component/antd/form-item/FormItem.mjs +1 -1
- package/es/schema-component/antd/form-item/SchemaSettingOptions.mjs +1 -1
- package/es/schema-component/antd/form-item/hooks/useLazyLoadDisplayAssociationFieldsOfForm.mjs +1 -1
- package/es/schema-component/antd/form-item/hooks/useParseDefaultValue.mjs +1 -1
- package/es/schema-component/antd/form-v2/Form.Settings.mjs +1 -1
- package/es/schema-component/antd/form-v2/Form.mjs +1 -2
- package/es/schema-component/antd/form-v2/Templates.mjs +1 -1
- 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/form-v2/utils.mjs +1 -2
- package/es/schema-component/antd/grid-card/GridCard.Decorator.mjs +1 -1
- package/es/schema-component/antd/grid-card/GridCard.Designer.mjs +1 -1
- package/es/schema-component/antd/icon-picker/IconPicker.mjs +1 -1
- package/es/schema-component/antd/index.d.ts +0 -1
- package/es/schema-component/antd/index.mjs +1 -2
- package/es/schema-component/antd/input/ReadPretty.mjs +1 -1
- package/es/schema-component/antd/input-number/ReadPretty.mjs +1 -1
- package/es/schema-component/antd/list/List.Decorator.mjs +1 -1
- package/es/schema-component/antd/list/List.Designer.mjs +1 -1
- package/es/schema-component/antd/menu/Menu.Designer.mjs +1 -1
- package/es/schema-component/antd/menu/Menu.mjs +1 -1
- package/es/schema-component/antd/page/Page.mjs +1 -1
- package/es/schema-component/antd/preview/Preview.mjs +1 -1
- package/es/schema-component/antd/quick-edit/QuickEdit.mjs +1 -1
- package/es/schema-component/antd/record-picker/util.mjs +1 -1
- package/es/schema-component/antd/select/FormulaSelect.mjs +1 -1
- package/es/schema-component/antd/select/ReadPretty.mjs +2 -2
- package/es/schema-component/antd/select/Select.mjs +1 -1
- package/es/schema-component/antd/select/utils.mjs +2 -2
- package/es/schema-component/antd/space/index.mjs +1 -1
- package/es/schema-component/antd/table/Table.Void.Designer.mjs +1 -1
- package/es/schema-component/antd/table-v2/Table.mjs +1 -1
- package/es/schema-component/antd/table-v2/TableBlockDesigner.mjs +1 -1
- package/es/schema-component/antd/table-v2/TableSelectorDesigner.mjs +1 -1
- 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/antd/time-picker/ReadPretty.mjs +1 -1
- package/es/schema-component/antd/time-picker/TimePicker.mjs +1 -1
- package/es/schema-component/antd/tree-select/ReadPretty.mjs +1 -1
- package/es/schema-component/antd/upload/ReadPretty.mjs +1 -2
- package/es/schema-component/antd/upload/Upload.mjs +1 -1
- package/es/schema-component/antd/variable/CodeMirror.mjs +1 -1
- package/es/schema-component/antd/variable/Input.mjs +1 -1
- package/es/schema-component/antd/variable/TextArea.mjs +1 -1
- package/es/schema-component/common/infinite-scroll/infinite-scroll.mjs +1 -1
- package/es/schema-component/common/sortable-item/DragHandlePageTab.mjs +6 -7
- package/es/schema-initializer/items/CustomFilterFormItemInitializer.mjs +2 -2
- package/es/schema-settings/DataTemplates/components/AsDefaultTemplate.mjs +1 -1
- package/es/schema-settings/DataTemplates/components/DataTemplateTitle.mjs +1 -1
- package/es/schema-settings/DataTemplates/components/Designer.mjs +1 -1
- package/es/schema-settings/DataTemplates/utils.mjs +1 -1
- package/es/schema-settings/LinkageRules/LinkageRuleAction.mjs +1 -1
- package/es/schema-settings/LinkageRules/components/EnableLinkage.mjs +1 -1
- package/es/schema-settings/LinkageRules/components/LinkageHeader.mjs +1 -1
- package/es/schema-settings/LinkageRules/index.d.ts +2 -0
- package/es/schema-settings/LinkageRules/index.mjs +2 -0
- package/es/schema-settings/SchemaSettings.mjs +2 -3
- package/es/schema-settings/SchemaSettingsDefaultValue.mjs +1 -1
- package/es/schema-settings/SchemaSettingsSortingRule.mjs +1 -1
- package/es/schema-settings/VariableInput/hooks/useContextAssociationFields.mjs +1 -1
- package/es/schema-settings/VariableInput/index.d.ts +1 -0
- package/es/schema-settings/VariableInput/index.mjs +1 -0
- package/es/schema-settings/filter-form/FormFilterScope.mjs +1 -1
- package/es/schema-settings/hooks/useParseDataScopeFilter.mjs +1 -1
- package/es/schema-settings/index.d.ts +3 -0
- package/es/schema-settings/index.mjs +3 -0
- package/es/user/ChangePassword.mjs +2 -2
- package/es/user/CurrentUser.mjs +1 -1
- package/es/user/CurrentUserSettingsMenuProvider.mjs +1 -1
- package/es/variables/VariablesProvider.mjs +2 -2
- package/es/variables/hooks/useBuiltinVariables.mjs +1 -1
- package/lib/api-client/APIClient.js +2 -2
- package/lib/api-client/hooks/assign.js +1 -1
- package/lib/application/Application.js +6 -7
- package/lib/application/WebSocketClient.js +2 -2
- package/lib/application/schema-settings/SchemaSettings.js +5 -3
- package/lib/application/schema-settings/SchemaSettingsManager.js +15 -0
- package/lib/application/utils/globalDeps.js +5 -11
- package/lib/block-provider/FormFieldProvider.js +1 -1
- package/lib/block-provider/hooks/index.js +13 -13
- package/lib/block-provider/hooks/useParsedFilter.js +1 -1
- package/lib/built-in/acl/Configuration/RolesResourcesActions.js +4 -4
- package/lib/built-in/attachment-preview/previewers/file-pdf.js +1 -1
- package/lib/built-in/context-menu/ContextMenuItemsProps.js +1 -1
- package/lib/built-in/index.js +12 -12
- package/lib/built-in/locale/LocalePlugin.js +72 -92
- package/lib/built-in/page-style/useTabSettings.js +3 -3
- package/lib/built-in/pm/PluginDetail.js +0 -3
- package/lib/built-in/pm/PluginManager.js +1 -1
- package/lib/built-in/quick-access/ModalActionSchemaInitializerItem.js +1 -1
- package/lib/collection-manager/Configuration/AddCollectionAction.js +2 -2
- package/lib/collection-manager/Configuration/AddFieldAction.js +2 -2
- package/lib/collection-manager/Configuration/AddSubFieldAction.js +2 -2
- package/lib/collection-manager/Configuration/EditCollectionAction.js +2 -2
- package/lib/collection-manager/Configuration/EditFieldAction.js +2 -2
- package/lib/collection-manager/Configuration/EditSubFieldAction.js +2 -2
- package/lib/collection-manager/Configuration/ImportXlsx/xlsxImportAction.js +2 -2
- package/lib/collection-manager/Configuration/OverridingCollectionField.js +2 -2
- package/lib/collection-manager/Configuration/SyncFieldsAction.js +2 -2
- package/lib/collection-manager/Configuration/SyncSQLFieldsAction.js +2 -2
- package/lib/collection-manager/Configuration/ViewInheritedField.js +2 -2
- 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 +4 -4
- 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/collection-manager/templates/expression.js +1 -1
- package/lib/data-source/collection-field-interface/CollectionFieldInterface.js +1 -0
- package/lib/filter-provider/utils.js +4 -2
- package/lib/icon/preloaded.js +0 -1
- package/lib/index.js +234 -125
- package/lib/locale/zh-CN.js +3 -0
- package/lib/modules/actions/link/customizeLinkActionSettings.js +2 -2
- package/lib/modules/blocks/data-blocks/details-multi/detailsWithPaginationSettings.js +2 -2
- package/lib/modules/blocks/data-blocks/form/fieldSettingsFormItem.js +3 -3
- package/lib/modules/blocks/data-blocks/grid-card/gridCardBlockSettings.js +2 -2
- package/lib/modules/blocks/data-blocks/list/listBlockSettings.js +2 -2
- package/lib/modules/blocks/data-blocks/table/tableBlockSettings.js +2 -2
- package/lib/modules/blocks/data-blocks/table-selector/tableSelectorBlockSettings.js +2 -2
- package/lib/modules/blocks/filter-blocks/form/filterFormItemFieldSettings.js +3 -3
- package/lib/modules/blocks/filter-blocks/tree/filterTreeItemFieldSettings.js +3 -3
- package/lib/modules/fields/component/Cascader/cascaderComponentFieldSettings.js +2 -2
- package/lib/modules/fields/component/SubTable/subTablePopoverComponentFieldSettings.js +3 -3
- package/lib/modules/menu/GroupItem.js +2 -2
- package/lib/modules/menu/LinkMenuItem.js +2 -2
- package/lib/modules/menu/PageMenuItem.js +2 -2
- package/lib/modules/menu/UploadMenuItem.js +2 -2
- package/lib/preload.js +77 -0
- package/lib/schema-component/antd/action/Action.Designer.js +3 -3
- package/lib/schema-component/antd/action/Action.js +1 -1
- package/lib/schema-component/antd/association-field/InternalCascadeSelect.js +4 -4
- package/lib/schema-component/antd/association-field/InternalCascader.js +4 -5
- package/lib/schema-component/antd/association-field/InternalNester.js +2 -2
- package/lib/schema-component/antd/association-field/InternalSubTable.js +2 -2
- package/lib/schema-component/antd/association-field/SubTabs/InternalCollapse.js +1 -1
- package/lib/schema-component/antd/association-field/SubTabs/hook.js +1 -1
- package/lib/schema-component/antd/association-field/hooks.js +1 -1
- package/lib/schema-component/antd/association-field/index.js +10 -2
- package/lib/schema-component/antd/association-field/util.js +1 -1
- package/lib/schema-component/antd/association-select/AssociationSelect.js +12 -12
- package/lib/schema-component/antd/auto-complete/AutoComplete.js +1 -1
- package/lib/schema-component/antd/color-picker/ColorPicker.js +2 -2
- package/lib/schema-component/antd/color-picker/util.js +18 -7
- package/lib/schema-component/antd/cron/Cron.js +1 -1
- package/lib/schema-component/antd/date-picker/ReadPretty.js +1 -1
- package/lib/schema-component/antd/date-picker/util.js +30 -19
- package/lib/schema-component/antd/filter/FilterAction.js +1 -1
- package/lib/schema-component/antd/filter/index.js +9 -0
- package/lib/schema-component/antd/form/Form.js +3 -3
- package/lib/schema-component/antd/form-item/FormItem.Settings.js +3 -3
- package/lib/schema-component/antd/form-item/FormItem.js +2 -2
- package/lib/schema-component/antd/form-item/SchemaSettingOptions.js +5 -5
- package/lib/schema-component/antd/form-item/hooks/useLazyLoadDisplayAssociationFieldsOfForm.js +1 -1
- package/lib/schema-component/antd/form-item/hooks/useParseDefaultValue.js +1 -1
- package/lib/schema-component/antd/form-v2/Form.Settings.js +2 -2
- package/lib/schema-component/antd/form-v2/Form.js +3 -4
- package/lib/schema-component/antd/form-v2/Templates.js +1 -1
- package/lib/schema-component/antd/form-v2/index.js +14 -0
- package/lib/schema-component/antd/form-v2/utils.js +2 -3
- package/lib/schema-component/antd/grid-card/GridCard.Decorator.js +2 -2
- package/lib/schema-component/antd/grid-card/GridCard.Designer.js +2 -2
- package/lib/schema-component/antd/icon-picker/IconPicker.js +2 -2
- package/lib/schema-component/antd/index.js +120 -187
- package/lib/schema-component/antd/input/ReadPretty.js +6 -6
- package/lib/schema-component/antd/input-number/ReadPretty.js +1 -1
- package/lib/schema-component/antd/list/List.Decorator.js +2 -2
- package/lib/schema-component/antd/list/List.Designer.js +2 -2
- package/lib/schema-component/antd/menu/Menu.Designer.js +2 -2
- package/lib/schema-component/antd/menu/Menu.js +1 -1
- package/lib/schema-component/antd/page/Page.js +2 -2
- package/lib/schema-component/antd/preview/Preview.js +2 -2
- package/lib/schema-component/antd/quick-edit/QuickEdit.js +3 -3
- package/lib/schema-component/antd/record-picker/util.js +1 -1
- package/lib/schema-component/antd/select/FormulaSelect.js +1 -1
- package/lib/schema-component/antd/select/ReadPretty.js +2 -2
- package/lib/schema-component/antd/select/Select.js +1 -1
- package/lib/schema-component/antd/select/utils.js +2 -2
- package/lib/schema-component/antd/space/index.js +2 -2
- package/lib/schema-component/antd/table/Table.Void.Designer.js +2 -2
- package/lib/schema-component/antd/table-v2/Table.js +1 -1
- package/lib/schema-component/antd/table-v2/TableBlockDesigner.js +2 -2
- package/lib/schema-component/antd/table-v2/TableSelectorDesigner.js +2 -2
- package/lib/schema-component/antd/table-v2/index.js +9 -0
- package/lib/schema-component/antd/time-picker/ReadPretty.js +2 -2
- package/lib/schema-component/antd/time-picker/TimePicker.js +3 -3
- package/lib/schema-component/antd/tree-select/ReadPretty.js +2 -2
- package/lib/schema-component/antd/upload/ReadPretty.js +2 -3
- package/lib/schema-component/antd/upload/Upload.js +2 -2
- package/lib/schema-component/antd/variable/CodeMirror.js +2 -2
- package/lib/schema-component/antd/variable/Input.js +1 -1
- package/lib/schema-component/antd/variable/TextArea.js +1 -1
- package/lib/schema-component/common/infinite-scroll/infinite-scroll.js +1 -1
- package/lib/schema-component/common/sortable-item/DragHandlePageTab.js +6 -7
- package/lib/schema-initializer/items/CustomFilterFormItemInitializer.js +4 -4
- package/lib/schema-settings/DataTemplates/components/AsDefaultTemplate.js +3 -3
- package/lib/schema-settings/DataTemplates/components/DataTemplateTitle.js +10 -10
- package/lib/schema-settings/DataTemplates/components/Designer.js +1 -1
- package/lib/schema-settings/DataTemplates/utils.js +4 -4
- package/lib/schema-settings/LinkageRules/LinkageRuleAction.js +2 -2
- package/lib/schema-settings/LinkageRules/components/EnableLinkage.js +3 -3
- package/lib/schema-settings/LinkageRules/components/LinkageHeader.js +10 -10
- package/lib/schema-settings/LinkageRules/index.js +271 -180
- package/lib/schema-settings/SchemaSettings.js +17 -18
- package/lib/schema-settings/SchemaSettingsDefaultValue.js +3 -3
- package/lib/schema-settings/SchemaSettingsSortingRule.js +2 -2
- package/lib/schema-settings/VariableInput/hooks/useContextAssociationFields.js +1 -1
- package/lib/schema-settings/VariableInput/index.js +9 -0
- package/lib/schema-settings/filter-form/FormFilterScope.js +2 -2
- package/lib/schema-settings/hooks/useParseDataScopeFilter.js +1 -1
- package/lib/schema-settings/index.js +75 -48
- package/lib/user/ChangePassword.js +2 -2
- package/lib/user/CurrentUser.js +1 -1
- package/lib/user/CurrentUserSettingsMenuProvider.js +1 -1
- package/lib/variables/VariablesProvider.js +2 -2
- package/lib/variables/hooks/useBuiltinVariables.js +13 -3
- package/package.json +12 -26
|
@@ -63,8 +63,8 @@ var __webpack_modules__ = {
|
|
|
63
63
|
"@tachybase/schema": function(module) {
|
|
64
64
|
module.exports = require("@tachybase/schema");
|
|
65
65
|
},
|
|
66
|
-
"@
|
|
67
|
-
module.exports = require("@
|
|
66
|
+
"@tego/client": function(module) {
|
|
67
|
+
module.exports = require("@tego/client");
|
|
68
68
|
},
|
|
69
69
|
antd: function(module) {
|
|
70
70
|
module.exports = require("antd");
|
|
@@ -169,7 +169,7 @@ var __webpack_exports__ = {};
|
|
|
169
169
|
});
|
|
170
170
|
var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("react");
|
|
171
171
|
var _tachybase_schema__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("@tachybase/schema");
|
|
172
|
-
var
|
|
172
|
+
var _tego_client__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("@tego/client");
|
|
173
173
|
var antd__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__("antd");
|
|
174
174
|
var flat__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__("flat");
|
|
175
175
|
var flat__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/ __webpack_require__.n(flat__WEBPACK_IMPORTED_MODULE_4__);
|
|
@@ -592,14 +592,14 @@ var __webpack_exports__ = {};
|
|
|
592
592
|
title: successMessage,
|
|
593
593
|
onOk: async ()=>{
|
|
594
594
|
await resetFormCorrectly(form);
|
|
595
|
-
if ((null == onSuccess ? void 0 : onSuccess.redirecting) && (null == onSuccess ? void 0 : onSuccess.redirectTo)) if ((0,
|
|
595
|
+
if ((null == onSuccess ? void 0 : onSuccess.redirecting) && (null == onSuccess ? void 0 : onSuccess.redirectTo)) if ((0, _tego_client__WEBPACK_IMPORTED_MODULE_2__.isURL)(onSuccess.redirectTo)) window.location.href = onSuccess.redirectTo;
|
|
596
596
|
else navigate(onSuccess.redirectTo);
|
|
597
597
|
}
|
|
598
598
|
});
|
|
599
599
|
else {
|
|
600
600
|
message.success(successMessage);
|
|
601
601
|
await resetFormCorrectly(form);
|
|
602
|
-
if ((null == onSuccess ? void 0 : onSuccess.redirecting) && (null == onSuccess ? void 0 : onSuccess.redirectTo)) if ((0,
|
|
602
|
+
if ((null == onSuccess ? void 0 : onSuccess.redirecting) && (null == onSuccess ? void 0 : onSuccess.redirectTo)) if ((0, _tego_client__WEBPACK_IMPORTED_MODULE_2__.isURL)(onSuccess.redirectTo)) window.location.href = onSuccess.redirectTo;
|
|
603
603
|
else navigate(onSuccess.redirectTo);
|
|
604
604
|
}
|
|
605
605
|
if (!(null == onSuccess ? void 0 : onSuccess.popupClose)) {
|
|
@@ -870,13 +870,13 @@ var __webpack_exports__ = {};
|
|
|
870
870
|
if (null == onSuccess ? void 0 : onSuccess.manualClose) modal.success({
|
|
871
871
|
title: compile(null == onSuccess ? void 0 : onSuccess.successMessage),
|
|
872
872
|
onOk: async ()=>{
|
|
873
|
-
if ((null == onSuccess ? void 0 : onSuccess.redirecting) && (null == onSuccess ? void 0 : onSuccess.redirectTo)) if ((0,
|
|
873
|
+
if ((null == onSuccess ? void 0 : onSuccess.redirecting) && (null == onSuccess ? void 0 : onSuccess.redirectTo)) if ((0, _tego_client__WEBPACK_IMPORTED_MODULE_2__.isURL)(onSuccess.redirectTo)) window.location.href = onSuccess.redirectTo;
|
|
874
874
|
else navigate(onSuccess.redirectTo);
|
|
875
875
|
}
|
|
876
876
|
});
|
|
877
877
|
else {
|
|
878
878
|
message.success(compile(null == onSuccess ? void 0 : onSuccess.successMessage));
|
|
879
|
-
if ((null == onSuccess ? void 0 : onSuccess.redirecting) && (null == onSuccess ? void 0 : onSuccess.redirectTo)) if ((0,
|
|
879
|
+
if ((null == onSuccess ? void 0 : onSuccess.redirecting) && (null == onSuccess ? void 0 : onSuccess.redirectTo)) if ((0, _tego_client__WEBPACK_IMPORTED_MODULE_2__.isURL)(onSuccess.redirectTo)) window.location.href = onSuccess.redirectTo;
|
|
880
880
|
else navigate(onSuccess.redirectTo);
|
|
881
881
|
}
|
|
882
882
|
}
|
|
@@ -933,15 +933,15 @@ var __webpack_exports__ = {};
|
|
|
933
933
|
currentUser
|
|
934
934
|
}),
|
|
935
935
|
method: requestSettings['method'],
|
|
936
|
-
headers: (0,
|
|
936
|
+
headers: (0, _tego_client__WEBPACK_IMPORTED_MODULE_2__.parse)(headers)({
|
|
937
937
|
currentRecord,
|
|
938
938
|
currentUser
|
|
939
939
|
}),
|
|
940
|
-
params: (0,
|
|
940
|
+
params: (0, _tego_client__WEBPACK_IMPORTED_MODULE_2__.parse)(params)({
|
|
941
941
|
currentRecord,
|
|
942
942
|
currentUser
|
|
943
943
|
}),
|
|
944
|
-
data: (0,
|
|
944
|
+
data: (0, _tego_client__WEBPACK_IMPORTED_MODULE_2__.parse)(data)({
|
|
945
945
|
currentRecord,
|
|
946
946
|
currentUser
|
|
947
947
|
})
|
|
@@ -964,7 +964,7 @@ var __webpack_exports__ = {};
|
|
|
964
964
|
if (null == onSuccess ? void 0 : onSuccess.manualClose) modal.success({
|
|
965
965
|
title: compile(null == onSuccess ? void 0 : onSuccess.successMessage),
|
|
966
966
|
onOk: async ()=>{
|
|
967
|
-
if ((null == onSuccess ? void 0 : onSuccess.redirecting) && (null == onSuccess ? void 0 : onSuccess.redirectTo)) if ((0,
|
|
967
|
+
if ((null == onSuccess ? void 0 : onSuccess.redirecting) && (null == onSuccess ? void 0 : onSuccess.redirectTo)) if ((0, _tego_client__WEBPACK_IMPORTED_MODULE_2__.isURL)(onSuccess.redirectTo)) window.location.href = onSuccess.redirectTo;
|
|
968
968
|
else navigate(onSuccess.redirectTo);
|
|
969
969
|
}
|
|
970
970
|
});
|
|
@@ -1054,13 +1054,13 @@ var __webpack_exports__ = {};
|
|
|
1054
1054
|
title: compile(null == onSuccess ? void 0 : onSuccess.successMessage),
|
|
1055
1055
|
onOk: async ()=>{
|
|
1056
1056
|
await form.reset();
|
|
1057
|
-
if ((null == onSuccess ? void 0 : onSuccess.redirecting) && (null == onSuccess ? void 0 : onSuccess.redirectTo)) if ((0,
|
|
1057
|
+
if ((null == onSuccess ? void 0 : onSuccess.redirecting) && (null == onSuccess ? void 0 : onSuccess.redirectTo)) if ((0, _tego_client__WEBPACK_IMPORTED_MODULE_2__.isURL)(onSuccess.redirectTo)) window.location.href = onSuccess.redirectTo;
|
|
1058
1058
|
else navigate(onSuccess.redirectTo);
|
|
1059
1059
|
}
|
|
1060
1060
|
});
|
|
1061
1061
|
else {
|
|
1062
1062
|
message.success(compile(null == onSuccess ? void 0 : onSuccess.successMessage));
|
|
1063
|
-
if ((null == onSuccess ? void 0 : onSuccess.redirecting) && (null == onSuccess ? void 0 : onSuccess.redirectTo)) if ((0,
|
|
1063
|
+
if ((null == onSuccess ? void 0 : onSuccess.redirecting) && (null == onSuccess ? void 0 : onSuccess.redirectTo)) if ((0, _tego_client__WEBPACK_IMPORTED_MODULE_2__.isURL)(onSuccess.redirectTo)) window.location.href = onSuccess.redirectTo;
|
|
1064
1064
|
else navigate(onSuccess.redirectTo);
|
|
1065
1065
|
}
|
|
1066
1066
|
} catch (error) {
|
|
@@ -37,7 +37,7 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
37
37
|
});
|
|
38
38
|
const external_react_namespaceObject = require("react");
|
|
39
39
|
const schema_namespaceObject = require("@tachybase/schema");
|
|
40
|
-
const client_namespaceObject = require("@
|
|
40
|
+
const client_namespaceObject = require("@tego/client");
|
|
41
41
|
const external_ahooks_namespaceObject = require("ahooks");
|
|
42
42
|
const external_lodash_namespaceObject = require("lodash");
|
|
43
43
|
var external_lodash_default = /*#__PURE__*/ __webpack_require__.n(external_lodash_namespaceObject);
|
|
@@ -29,8 +29,8 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
29
29
|
});
|
|
30
30
|
const jsx_runtime_namespaceObject = require("react/jsx-runtime");
|
|
31
31
|
const external_react_namespaceObject = require("react");
|
|
32
|
-
const components_namespaceObject = require("@tachybase/components");
|
|
33
32
|
const schema_namespaceObject = require("@tachybase/schema");
|
|
33
|
+
const client_namespaceObject = require("@tego/client");
|
|
34
34
|
const external_antd_namespaceObject = require("antd");
|
|
35
35
|
const external_lodash_namespaceObject = require("lodash");
|
|
36
36
|
const external_react_i18next_namespaceObject = require("react-i18next");
|
|
@@ -113,10 +113,10 @@ const RolesResourcesActions = (0, schema_namespaceObject.connect)((props)=>{
|
|
|
113
113
|
return /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("div", {
|
|
114
114
|
children: /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(RoleResourceCollectionContext.Provider, {
|
|
115
115
|
value: collection,
|
|
116
|
-
children: /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)(
|
|
116
|
+
children: /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)(client_namespaceObject.FormLayout, {
|
|
117
117
|
layout: 'vertical',
|
|
118
118
|
children: [
|
|
119
|
-
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(
|
|
119
|
+
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(client_namespaceObject.FormItem, {
|
|
120
120
|
label: t('Action permission'),
|
|
121
121
|
children: /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(external_antd_namespaceObject.Table, {
|
|
122
122
|
className: styles,
|
|
@@ -175,7 +175,7 @@ const RolesResourcesActions = (0, schema_namespaceObject.connect)((props)=>{
|
|
|
175
175
|
})
|
|
176
176
|
})
|
|
177
177
|
}),
|
|
178
|
-
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(
|
|
178
|
+
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(client_namespaceObject.FormItem, {
|
|
179
179
|
label: t('Field permission'),
|
|
180
180
|
children: /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(external_antd_namespaceObject.Table, {
|
|
181
181
|
className: styles,
|
|
@@ -41,7 +41,7 @@ const options = {
|
|
|
41
41
|
cMapPacked: true,
|
|
42
42
|
standardFontDataUrl: "https://assets.tachybase.com/pdfjs-dist@".concat(external_react_pdf_namespaceObject.pdfjs.version, "/standard_fonts/")
|
|
43
43
|
};
|
|
44
|
-
external_react_pdf_namespaceObject.pdfjs.GlobalWorkerOptions.workerSrc = "https://assets.tachybase.com/pdfjs-dist@".concat(external_react_pdf_namespaceObject.pdfjs.version, "/build/pdf.worker.min.
|
|
44
|
+
external_react_pdf_namespaceObject.pdfjs.GlobalWorkerOptions.workerSrc = "https://assets.tachybase.com/pdfjs-dist@".concat(external_react_pdf_namespaceObject.pdfjs.version, "/build/pdf.worker.min.mjs");
|
|
45
45
|
const TransformInternal = (param)=>{
|
|
46
46
|
let { noTransformWrapper = false, children } = param;
|
|
47
47
|
return noTransformWrapper ? children : /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(external_react_zoom_pan_pinch_namespaceObject.TransformWrapper, {
|
|
@@ -29,7 +29,7 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
29
29
|
fullScreen: ()=>fullScreen,
|
|
30
30
|
disableRightMenu: ()=>disableRightMenu
|
|
31
31
|
});
|
|
32
|
-
const client_namespaceObject = require("@
|
|
32
|
+
const client_namespaceObject = require("@tego/client");
|
|
33
33
|
const external_antd_namespaceObject = require("antd");
|
|
34
34
|
const external_react_i18next_namespaceObject = require("react-i18next");
|
|
35
35
|
const index_js_namespaceObject = require("../../schema-component/index.js");
|
package/lib/built-in/index.js
CHANGED
|
@@ -111,8 +111,8 @@ var __webpack_modules__ = {
|
|
|
111
111
|
"@tachybase/schema": function(module) {
|
|
112
112
|
module.exports = require("@tachybase/schema");
|
|
113
113
|
},
|
|
114
|
-
"@
|
|
115
|
-
module.exports = require("@
|
|
114
|
+
"@tego/client": function(module) {
|
|
115
|
+
module.exports = require("@tego/client");
|
|
116
116
|
},
|
|
117
117
|
antd: function(module) {
|
|
118
118
|
module.exports = require("antd");
|
|
@@ -184,10 +184,10 @@ var __webpack_exports__ = {};
|
|
|
184
184
|
});
|
|
185
185
|
var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("react/jsx-runtime");
|
|
186
186
|
var _tachybase_schema__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("@tachybase/schema");
|
|
187
|
-
var
|
|
188
|
-
var
|
|
189
|
-
var
|
|
190
|
-
var
|
|
187
|
+
var _ant_design_icons__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("@ant-design/icons");
|
|
188
|
+
var _emotion_css__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__("@emotion/css");
|
|
189
|
+
var _lottiefiles_dotlottie_react__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__("@lottiefiles/dotlottie-react");
|
|
190
|
+
var _tego_client__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__("@tego/client");
|
|
191
191
|
var antd__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__("antd");
|
|
192
192
|
var antd_style__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__("antd-style");
|
|
193
193
|
var react_i18next__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__("react-i18next");
|
|
@@ -280,8 +280,8 @@ var __webpack_exports__ = {};
|
|
|
280
280
|
return data;
|
|
281
281
|
}
|
|
282
282
|
const AppSpin = ()=>/*#__PURE__*/ (0, react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("div", {
|
|
283
|
-
className: (0,
|
|
284
|
-
children: /*#__PURE__*/ (0, react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(
|
|
283
|
+
className: (0, _emotion_css__WEBPACK_IMPORTED_MODULE_3__.css)(_templateObject()),
|
|
284
|
+
children: /*#__PURE__*/ (0, react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_lottiefiles_dotlottie_react__WEBPACK_IMPORTED_MODULE_4__.DotLottieReact, {
|
|
285
285
|
style: {
|
|
286
286
|
width: '100%',
|
|
287
287
|
maxWidth: '640px'
|
|
@@ -302,7 +302,7 @@ var __webpack_exports__ = {};
|
|
|
302
302
|
const api = (0, _api_client__WEBPACK_IMPORTED_MODULE_10__.useAPIClient)();
|
|
303
303
|
if (!error) return {};
|
|
304
304
|
const err = (null == error ? void 0 : null == (_error_response = error.response) ? void 0 : null == (_error_response_data = _error_response.data) ? void 0 : null == (_error_response_data_errors = _error_response_data.errors) ? void 0 : _error_response_data_errors[0]) || error;
|
|
305
|
-
const subApp = (0,
|
|
305
|
+
const subApp = (0, _tego_client__WEBPACK_IMPORTED_MODULE_5__.getSubAppName)(app.getPublicPath());
|
|
306
306
|
switch(err.code){
|
|
307
307
|
case 'USER_HAS_NO_ROLES_ERR':
|
|
308
308
|
return {
|
|
@@ -353,7 +353,7 @@ var __webpack_exports__ = {};
|
|
|
353
353
|
const getProps = (app)=>{
|
|
354
354
|
if (app.ws.serverDown) return {
|
|
355
355
|
status: 'error',
|
|
356
|
-
icon: /*#__PURE__*/ (0, react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(
|
|
356
|
+
icon: /*#__PURE__*/ (0, react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_ant_design_icons__WEBPACK_IMPORTED_MODULE_2__.DisconnectOutlined, {}),
|
|
357
357
|
title: "You're offline",
|
|
358
358
|
subTitle: 'Please check the server status or network connection status'
|
|
359
359
|
};
|
|
@@ -370,7 +370,7 @@ var __webpack_exports__ = {};
|
|
|
370
370
|
var _app_error1;
|
|
371
371
|
return {
|
|
372
372
|
status: 'info',
|
|
373
|
-
icon: /*#__PURE__*/ (0, react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(
|
|
373
|
+
icon: /*#__PURE__*/ (0, react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_ant_design_icons__WEBPACK_IMPORTED_MODULE_2__.LoadingOutlined, {}),
|
|
374
374
|
title: 'App initializing',
|
|
375
375
|
subTitle: null == (_app_error1 = app.error) ? void 0 : _app_error1.message
|
|
376
376
|
};
|
|
@@ -411,7 +411,7 @@ var __webpack_exports__ = {};
|
|
|
411
411
|
var _app_error_command, _app_error6, _app_error7, _app_error_command1, _app_error8;
|
|
412
412
|
const props = {
|
|
413
413
|
status: 'info',
|
|
414
|
-
icon: /*#__PURE__*/ (0, react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(
|
|
414
|
+
icon: /*#__PURE__*/ (0, react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_ant_design_icons__WEBPACK_IMPORTED_MODULE_2__.LoadingOutlined, {}),
|
|
415
415
|
title: null == (_app_error6 = app.error) ? void 0 : null == (_app_error_command = _app_error6.command) ? void 0 : _app_error_command.name,
|
|
416
416
|
subTitle: null == (_app_error7 = app.error) ? void 0 : _app_error7.message
|
|
417
417
|
};
|
|
@@ -1,21 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
var
|
|
3
|
-
"dayjs/plugin/updateLocale": function(module) {
|
|
4
|
-
module.exports = import("dayjs/plugin/updateLocale").then(function(module) {
|
|
5
|
-
return module;
|
|
6
|
-
});
|
|
7
|
-
}
|
|
8
|
-
};
|
|
9
|
-
var __webpack_module_cache__ = {};
|
|
10
|
-
function __webpack_require__(moduleId) {
|
|
11
|
-
var cachedModule = __webpack_module_cache__[moduleId];
|
|
12
|
-
if (void 0 !== cachedModule) return cachedModule.exports;
|
|
13
|
-
var module = __webpack_module_cache__[moduleId] = {
|
|
14
|
-
exports: {}
|
|
15
|
-
};
|
|
16
|
-
__webpack_modules__[moduleId](module, module.exports, __webpack_require__);
|
|
17
|
-
return module.exports;
|
|
18
|
-
}
|
|
2
|
+
var __webpack_require__ = {};
|
|
19
3
|
(()=>{
|
|
20
4
|
__webpack_require__.n = (module)=>{
|
|
21
5
|
var getter = module && module.__esModule ? ()=>module['default'] : ()=>module;
|
|
@@ -47,86 +31,82 @@ function __webpack_require__(moduleId) {
|
|
|
47
31
|
};
|
|
48
32
|
})();
|
|
49
33
|
var __webpack_exports__ = {};
|
|
50
|
-
(
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
34
|
+
__webpack_require__.r(__webpack_exports__);
|
|
35
|
+
__webpack_require__.d(__webpack_exports__, {
|
|
36
|
+
LocalePlugin: ()=>LocalePlugin
|
|
37
|
+
});
|
|
38
|
+
const schema_namespaceObject = require("@tachybase/schema");
|
|
39
|
+
const external_antd_namespaceObject = require("antd");
|
|
40
|
+
const external_dayjs_namespaceObject = require("dayjs");
|
|
41
|
+
var external_dayjs_default = /*#__PURE__*/ __webpack_require__.n(external_dayjs_namespaceObject);
|
|
42
|
+
const Plugin_js_namespaceObject = require("../../application/Plugin.js");
|
|
43
|
+
const index_js_namespaceObject = require("../../locale/index.js");
|
|
44
|
+
const external_loadConstrueLocale_js_namespaceObject = require("./loadConstrueLocale.js");
|
|
45
|
+
function _define_property(obj, key, value) {
|
|
46
|
+
if (key in obj) Object.defineProperty(obj, key, {
|
|
47
|
+
value: value,
|
|
48
|
+
enumerable: true,
|
|
49
|
+
configurable: true,
|
|
50
|
+
writable: true
|
|
54
51
|
});
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
}
|
|
72
|
-
class LocalePlugin extends Plugin_js_namespaceObject.Plugin {
|
|
73
|
-
async afterAdd() {
|
|
74
|
-
const api = this.app.apiClient;
|
|
75
|
-
const locale = api.auth.locale;
|
|
76
|
-
try {
|
|
77
|
-
var _data_data, _data_data1, _data_data2, _data_data3, _data_data4;
|
|
78
|
-
const res = await api.request({
|
|
79
|
-
url: 'app:getLang',
|
|
80
|
-
params: {
|
|
81
|
-
locale
|
|
82
|
-
},
|
|
83
|
-
headers: {
|
|
84
|
-
'X-Role': 'anonymous'
|
|
85
|
-
}
|
|
86
|
-
});
|
|
87
|
-
const data = null == res ? void 0 : res.data;
|
|
88
|
-
this.locales = (null == data ? void 0 : data.data) || {};
|
|
89
|
-
this.app.use(external_antd_namespaceObject.ConfigProvider, {
|
|
90
|
-
locale: this.locales.antd,
|
|
91
|
-
popupMatchSelectWidth: false
|
|
92
|
-
});
|
|
93
|
-
this.app.use(external_antd_namespaceObject.App, {
|
|
94
|
-
component: false
|
|
95
|
-
});
|
|
96
|
-
if (null == data ? void 0 : null == (_data_data = data.data) ? void 0 : _data_data.lang) {
|
|
97
|
-
var _data_data5, _data_data6;
|
|
98
|
-
api.auth.setLocale(null == data ? void 0 : null == (_data_data5 = data.data) ? void 0 : _data_data5.lang);
|
|
99
|
-
this.app.i18n.changeLanguage(null == data ? void 0 : null == (_data_data6 = data.data) ? void 0 : _data_data6.lang);
|
|
52
|
+
else obj[key] = value;
|
|
53
|
+
return obj;
|
|
54
|
+
}
|
|
55
|
+
class LocalePlugin extends Plugin_js_namespaceObject.Plugin {
|
|
56
|
+
async afterAdd() {
|
|
57
|
+
const api = this.app.apiClient;
|
|
58
|
+
const locale = api.auth.locale;
|
|
59
|
+
try {
|
|
60
|
+
var _data_data, _data_data1, _data_data2, _data_data3, _data_data4;
|
|
61
|
+
const res = await api.request({
|
|
62
|
+
url: 'app:getLang',
|
|
63
|
+
params: {
|
|
64
|
+
locale
|
|
65
|
+
},
|
|
66
|
+
headers: {
|
|
67
|
+
'X-Role': 'anonymous'
|
|
100
68
|
}
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
external_dayjs_default().updateLocale(dayjsLang, localeSetting);
|
|
116
|
-
window['cronLocale'] = null == data ? void 0 : null == (_data_data4 = data.data) ? void 0 : _data_data4.cron;
|
|
117
|
-
} catch (error) {
|
|
118
|
-
var _error_response;
|
|
119
|
-
if ((null == error ? void 0 : null == (_error_response = error.response) ? void 0 : _error_response.status) === 401) setTimeout(()=>{
|
|
120
|
-
window.location.href = '/signIn';
|
|
121
|
-
}, 1000);
|
|
122
|
-
throw error;
|
|
69
|
+
});
|
|
70
|
+
const data = null == res ? void 0 : res.data;
|
|
71
|
+
this.locales = (null == data ? void 0 : data.data) || {};
|
|
72
|
+
this.app.use(external_antd_namespaceObject.ConfigProvider, {
|
|
73
|
+
locale: this.locales.antd,
|
|
74
|
+
popupMatchSelectWidth: false
|
|
75
|
+
});
|
|
76
|
+
this.app.use(external_antd_namespaceObject.App, {
|
|
77
|
+
component: false
|
|
78
|
+
});
|
|
79
|
+
if (null == data ? void 0 : null == (_data_data = data.data) ? void 0 : _data_data.lang) {
|
|
80
|
+
var _data_data5, _data_data6;
|
|
81
|
+
api.auth.setLocale(null == data ? void 0 : null == (_data_data5 = data.data) ? void 0 : _data_data5.lang);
|
|
82
|
+
this.app.i18n.changeLanguage(null == data ? void 0 : null == (_data_data6 = data.data) ? void 0 : _data_data6.lang);
|
|
123
83
|
}
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
84
|
+
Object.keys((null == data ? void 0 : null == (_data_data1 = data.data) ? void 0 : _data_data1.resources) || {}).forEach((key)=>{
|
|
85
|
+
var _data_data, _data_data1;
|
|
86
|
+
this.app.i18n.addResources(null == data ? void 0 : null == (_data_data = data.data) ? void 0 : _data_data.lang, key, (null == data ? void 0 : null == (_data_data1 = data.data) ? void 0 : _data_data1.resources[key]) || {});
|
|
87
|
+
});
|
|
88
|
+
(0, schema_namespaceObject.setValidateLanguage)(null == data ? void 0 : null == (_data_data2 = data.data) ? void 0 : _data_data2.lang);
|
|
89
|
+
(0, external_loadConstrueLocale_js_namespaceObject.loadConstrueLocale)(null == data ? void 0 : data.data);
|
|
90
|
+
const dayjsLang = index_js_namespaceObject.dayjsLocale[null == data ? void 0 : null == (_data_data3 = data.data) ? void 0 : _data_data3.lang] || 'en';
|
|
91
|
+
await import("dayjs/locale/".concat(dayjsLang, ".js"));
|
|
92
|
+
external_dayjs_default().locale(dayjsLang);
|
|
93
|
+
const localeSetting = {
|
|
94
|
+
invalidDate: '-'
|
|
95
|
+
};
|
|
96
|
+
external_dayjs_default().updateLocale(dayjsLang, localeSetting);
|
|
97
|
+
window['cronLocale'] = null == data ? void 0 : null == (_data_data4 = data.data) ? void 0 : _data_data4.cron;
|
|
98
|
+
} catch (error) {
|
|
99
|
+
var _error_response;
|
|
100
|
+
if ((null == error ? void 0 : null == (_error_response = error.response) ? void 0 : _error_response.status) === 401) setTimeout(()=>{
|
|
101
|
+
window.location.href = '/signIn';
|
|
102
|
+
}, 1000);
|
|
103
|
+
throw error;
|
|
127
104
|
}
|
|
128
105
|
}
|
|
129
|
-
|
|
106
|
+
constructor(...args){
|
|
107
|
+
super(...args), _define_property(this, "locales", {});
|
|
108
|
+
}
|
|
109
|
+
}
|
|
130
110
|
exports.LocalePlugin = __webpack_exports__.LocalePlugin;
|
|
131
111
|
for(var __webpack_i__ in __webpack_exports__)if (-1 === [
|
|
132
112
|
"LocalePlugin"
|
|
@@ -30,7 +30,7 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
30
30
|
});
|
|
31
31
|
const jsx_runtime_namespaceObject = require("react/jsx-runtime");
|
|
32
32
|
const external_react_namespaceObject = require("react");
|
|
33
|
-
const client_namespaceObject = require("@
|
|
33
|
+
const client_namespaceObject = require("@tego/client");
|
|
34
34
|
const external_react_i18next_namespaceObject = require("react-i18next");
|
|
35
35
|
const index_js_namespaceObject = require("../../api-client/index.js");
|
|
36
36
|
const external_common_index_js_namespaceObject = require("../../common/index.js");
|
|
@@ -71,7 +71,7 @@ function useUpdatePageStyleSettings() {
|
|
|
71
71
|
await api.resource('users').updateProfile({
|
|
72
72
|
values: {
|
|
73
73
|
systemSettings: {
|
|
74
|
-
...currentUser.data.data.systemSettings
|
|
74
|
+
...currentUser.data.data.systemSettings,
|
|
75
75
|
pageStyle
|
|
76
76
|
}
|
|
77
77
|
}
|
|
@@ -80,7 +80,7 @@ function useUpdatePageStyleSettings() {
|
|
|
80
80
|
data: {
|
|
81
81
|
...currentUser.data.data,
|
|
82
82
|
systemSettings: {
|
|
83
|
-
...currentUser.data.data.systemSettings
|
|
83
|
+
...currentUser.data.data.systemSettings,
|
|
84
84
|
pageStyle
|
|
85
85
|
}
|
|
86
86
|
}
|
|
@@ -40,13 +40,10 @@ const external_react_namespaceObject = require("react");
|
|
|
40
40
|
const external_antd_namespaceObject = require("antd");
|
|
41
41
|
const external_dayjs_namespaceObject = require("dayjs");
|
|
42
42
|
var external_dayjs_default = /*#__PURE__*/ __webpack_require__.n(external_dayjs_namespaceObject);
|
|
43
|
-
const relativeTime_namespaceObject = require("dayjs/plugin/relativeTime");
|
|
44
|
-
var relativeTime_default = /*#__PURE__*/ __webpack_require__.n(relativeTime_namespaceObject);
|
|
45
43
|
const external_react_i18next_namespaceObject = require("react-i18next");
|
|
46
44
|
const index_js_namespaceObject = require("../../api-client/index.js");
|
|
47
45
|
const external_PluginDocument_js_namespaceObject = require("./PluginDocument.js");
|
|
48
46
|
const external_style_js_namespaceObject = require("./style.js");
|
|
49
|
-
external_dayjs_default().extend(relativeTime_default());
|
|
50
47
|
const PluginDetail = (param)=>{
|
|
51
48
|
let { plugin, onCancel } = param;
|
|
52
49
|
var _data_data, _data_data1, _data_data2, _data_data3, _data_data4, _data_data5, _data_data6, _data_data7, _data_data8, _data_data9;
|
|
@@ -37,7 +37,7 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
37
37
|
});
|
|
38
38
|
const jsx_runtime_namespaceObject = require("react/jsx-runtime");
|
|
39
39
|
const external_react_namespaceObject = require("react");
|
|
40
|
-
const client_namespaceObject = require("@
|
|
40
|
+
const client_namespaceObject = require("@tego/client");
|
|
41
41
|
const external_ahooks_namespaceObject = require("ahooks");
|
|
42
42
|
const external_antd_namespaceObject = require("antd");
|
|
43
43
|
const external_lodash_namespaceObject = require("lodash");
|
|
@@ -29,7 +29,7 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
29
29
|
const jsx_runtime_namespaceObject = require("react/jsx-runtime");
|
|
30
30
|
const external_react_namespaceObject = require("react");
|
|
31
31
|
const schema_namespaceObject = require("@tachybase/schema");
|
|
32
|
-
const client_namespaceObject = require("@
|
|
32
|
+
const client_namespaceObject = require("@tego/client");
|
|
33
33
|
const index_js_namespaceObject = require("../../application/index.js");
|
|
34
34
|
const external_schema_component_index_js_namespaceObject = require("../../schema-component/index.js");
|
|
35
35
|
function ModalActionSchemaInitializerItem(props) {
|
|
@@ -29,9 +29,9 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
29
29
|
});
|
|
30
30
|
const jsx_runtime_namespaceObject = require("react/jsx-runtime");
|
|
31
31
|
const external_react_namespaceObject = require("react");
|
|
32
|
-
const components_namespaceObject = require("@tachybase/components");
|
|
33
32
|
const schema_namespaceObject = require("@tachybase/schema");
|
|
34
33
|
const icons_namespaceObject = require("@ant-design/icons");
|
|
34
|
+
const client_namespaceObject = require("@tego/client");
|
|
35
35
|
const external_antd_namespaceObject = require("antd");
|
|
36
36
|
const external_lodash_namespaceObject = require("lodash");
|
|
37
37
|
const external_react_i18next_namespaceObject = require("react-i18next");
|
|
@@ -236,7 +236,7 @@ const AddCollectionAction = (props)=>{
|
|
|
236
236
|
schema: schema,
|
|
237
237
|
components: {
|
|
238
238
|
...external_components_index_js_namespaceObject,
|
|
239
|
-
ArrayTable:
|
|
239
|
+
ArrayTable: client_namespaceObject.ArrayTable,
|
|
240
240
|
TemplateSummay: TemplateSummary_js_namespaceObject.TemplateSummary
|
|
241
241
|
},
|
|
242
242
|
scope: {
|
|
@@ -39,9 +39,9 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
39
39
|
});
|
|
40
40
|
const jsx_runtime_namespaceObject = require("react/jsx-runtime");
|
|
41
41
|
const external_react_namespaceObject = require("react");
|
|
42
|
-
const components_namespaceObject = require("@tachybase/components");
|
|
43
42
|
const schema_namespaceObject = require("@tachybase/schema");
|
|
44
43
|
const icons_namespaceObject = require("@ant-design/icons");
|
|
44
|
+
const client_namespaceObject = require("@tego/client");
|
|
45
45
|
const external_antd_namespaceObject = require("antd");
|
|
46
46
|
const external_lodash_namespaceObject = require("lodash");
|
|
47
47
|
const external_react_i18next_namespaceObject = require("react-i18next");
|
|
@@ -372,7 +372,7 @@ const AddFieldAction = (props)=>{
|
|
|
372
372
|
schema: schema,
|
|
373
373
|
components: {
|
|
374
374
|
...external_components_index_js_namespaceObject,
|
|
375
|
-
ArrayTable:
|
|
375
|
+
ArrayTable: client_namespaceObject.ArrayTable
|
|
376
376
|
},
|
|
377
377
|
scope: {
|
|
378
378
|
getContainer,
|
|
@@ -28,9 +28,9 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
28
28
|
});
|
|
29
29
|
const jsx_runtime_namespaceObject = require("react/jsx-runtime");
|
|
30
30
|
const external_react_namespaceObject = require("react");
|
|
31
|
-
const components_namespaceObject = require("@tachybase/components");
|
|
32
31
|
const schema_namespaceObject = require("@tachybase/schema");
|
|
33
32
|
const icons_namespaceObject = require("@ant-design/icons");
|
|
33
|
+
const client_namespaceObject = require("@tego/client");
|
|
34
34
|
const external_antd_namespaceObject = require("antd");
|
|
35
35
|
const external_lodash_namespaceObject = require("lodash");
|
|
36
36
|
const external_react_i18next_namespaceObject = require("react-i18next");
|
|
@@ -154,7 +154,7 @@ const AddSubFieldAction = ()=>{
|
|
|
154
154
|
schema: schema,
|
|
155
155
|
components: {
|
|
156
156
|
...external_components_index_js_namespaceObject,
|
|
157
|
-
ArrayTable:
|
|
157
|
+
ArrayTable: client_namespaceObject.ArrayTable
|
|
158
158
|
},
|
|
159
159
|
scope: {
|
|
160
160
|
createOnly: true,
|
|
@@ -40,8 +40,8 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
40
40
|
});
|
|
41
41
|
const jsx_runtime_namespaceObject = require("react/jsx-runtime");
|
|
42
42
|
const external_react_namespaceObject = require("react");
|
|
43
|
-
const components_namespaceObject = require("@tachybase/components");
|
|
44
43
|
const schema_namespaceObject = require("@tachybase/schema");
|
|
44
|
+
const client_namespaceObject = require("@tego/client");
|
|
45
45
|
const cloneDeep_namespaceObject = require("lodash/cloneDeep");
|
|
46
46
|
var cloneDeep_default = /*#__PURE__*/ __webpack_require__.n(cloneDeep_namespaceObject);
|
|
47
47
|
const omit_namespaceObject = require("lodash/omit");
|
|
@@ -195,7 +195,7 @@ const EditCollectionAction = (props)=>{
|
|
|
195
195
|
schema: schema,
|
|
196
196
|
components: {
|
|
197
197
|
...external_components_index_js_namespaceObject,
|
|
198
|
-
ArrayTable:
|
|
198
|
+
ArrayTable: client_namespaceObject.ArrayTable
|
|
199
199
|
},
|
|
200
200
|
scope: {
|
|
201
201
|
getContainer,
|
|
@@ -38,8 +38,8 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
38
38
|
});
|
|
39
39
|
const jsx_runtime_namespaceObject = require("react/jsx-runtime");
|
|
40
40
|
const external_react_namespaceObject = require("react");
|
|
41
|
-
const components_namespaceObject = require("@tachybase/components");
|
|
42
41
|
const schema_namespaceObject = require("@tachybase/schema");
|
|
42
|
+
const client_namespaceObject = require("@tego/client");
|
|
43
43
|
const cloneDeep_namespaceObject = require("lodash/cloneDeep");
|
|
44
44
|
var cloneDeep_default = /*#__PURE__*/ __webpack_require__.n(cloneDeep_namespaceObject);
|
|
45
45
|
const omit_namespaceObject = require("lodash/omit");
|
|
@@ -265,7 +265,7 @@ const EditFieldAction = (props)=>{
|
|
|
265
265
|
schema: schema,
|
|
266
266
|
components: {
|
|
267
267
|
...external_components_index_js_namespaceObject,
|
|
268
|
-
ArrayTable:
|
|
268
|
+
ArrayTable: client_namespaceObject.ArrayTable
|
|
269
269
|
},
|
|
270
270
|
scope: {
|
|
271
271
|
getContainer,
|
|
@@ -37,8 +37,8 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
37
37
|
});
|
|
38
38
|
const jsx_runtime_namespaceObject = require("react/jsx-runtime");
|
|
39
39
|
const external_react_namespaceObject = require("react");
|
|
40
|
-
const components_namespaceObject = require("@tachybase/components");
|
|
41
40
|
const schema_namespaceObject = require("@tachybase/schema");
|
|
41
|
+
const client_namespaceObject = require("@tego/client");
|
|
42
42
|
const cloneDeep_namespaceObject = require("lodash/cloneDeep");
|
|
43
43
|
var cloneDeep_default = /*#__PURE__*/ __webpack_require__.n(cloneDeep_namespaceObject);
|
|
44
44
|
const external_react_i18next_namespaceObject = require("react-i18next");
|
|
@@ -141,7 +141,7 @@ const EditSubFieldAction = (props)=>{
|
|
|
141
141
|
schema: schema,
|
|
142
142
|
components: {
|
|
143
143
|
...external_components_index_js_namespaceObject,
|
|
144
|
-
ArrayTable:
|
|
144
|
+
ArrayTable: client_namespaceObject.ArrayTable
|
|
145
145
|
},
|
|
146
146
|
scope: {
|
|
147
147
|
useUpdateCollectionField
|
|
@@ -37,8 +37,8 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
37
37
|
});
|
|
38
38
|
const jsx_runtime_namespaceObject = require("react/jsx-runtime");
|
|
39
39
|
const external_react_namespaceObject = require("react");
|
|
40
|
-
const components_namespaceObject = require("@tachybase/components");
|
|
41
40
|
const schema_namespaceObject = require("@tachybase/schema");
|
|
41
|
+
const client_namespaceObject = require("@tego/client");
|
|
42
42
|
const external_lodash_namespaceObject = require("lodash");
|
|
43
43
|
const external_react_i18next_namespaceObject = require("react-i18next");
|
|
44
44
|
const index_js_namespaceObject = require("../../../api-client/index.js");
|
|
@@ -97,7 +97,7 @@ const XlsxEditFieldAction = (props)=>{
|
|
|
97
97
|
schema: schema,
|
|
98
98
|
components: {
|
|
99
99
|
...external_components_index_js_namespaceObject,
|
|
100
|
-
ArrayTable:
|
|
100
|
+
ArrayTable: client_namespaceObject.ArrayTable
|
|
101
101
|
},
|
|
102
102
|
scope: {
|
|
103
103
|
getContainer,
|