@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
|
@@ -56,7 +56,7 @@ class SubTableFieldInterface extends CollectionFieldInterface {
|
|
|
56
56
|
};
|
|
57
57
|
}
|
|
58
58
|
constructor(...args){
|
|
59
|
-
super(...args), _define_property(this, "name", 'subTable'), _define_property(this, "type", 'object'), _define_property(this, "group", 'relation'), _define_property(this, "order", 2), _define_property(this, "title", '{{t("Sub-table")}}'), _define_property(this, "isAssociation", true), _define_property(this, "default", {
|
|
59
|
+
super(...args), _define_property(this, "name", 'subTable'), _define_property(this, "type", 'object'), _define_property(this, "group", 'relation'), _define_property(this, "order", 2), _define_property(this, "title", '{{t("Sub-table")}}'), _define_property(this, "icon", 'FolderOpenOutlined'), _define_property(this, "isAssociation", true), _define_property(this, "default", {
|
|
60
60
|
type: 'hasMany',
|
|
61
61
|
uiSchema: {
|
|
62
62
|
type: 'void',
|
|
@@ -12,7 +12,7 @@ function _define_property(obj, key, value) {
|
|
|
12
12
|
}
|
|
13
13
|
class TableoidFieldInterface extends CollectionFieldInterface {
|
|
14
14
|
constructor(...args){
|
|
15
|
-
super(...args), _define_property(this, "name", 'tableoid'), _define_property(this, "type", 'object'), _define_property(this, "group", 'systemInfo'), _define_property(this, "order", 0), _define_property(this, "title", '{{t("Table OID")}}'), _define_property(this, "sortable", true), _define_property(this, "default", {
|
|
15
|
+
super(...args), _define_property(this, "name", 'tableoid'), _define_property(this, "type", 'object'), _define_property(this, "group", 'systemInfo'), _define_property(this, "order", 0), _define_property(this, "title", '{{t("Table OID")}}'), _define_property(this, "icon", 'FieldNumberOutlined'), _define_property(this, "sortable", true), _define_property(this, "default", {
|
|
16
16
|
name: '__collection',
|
|
17
17
|
type: 'virtual',
|
|
18
18
|
uiSchema: {
|
|
@@ -23,7 +23,7 @@ class TextareaFieldInterface extends CollectionFieldInterface {
|
|
|
23
23
|
}
|
|
24
24
|
}
|
|
25
25
|
constructor(...args){
|
|
26
|
-
super(...args), _define_property(this, "name", 'textarea'), _define_property(this, "type", 'object'), _define_property(this, "group", 'basic'), _define_property(this, "order", 2), _define_property(this, "title", '{{t("Long text")}}'), _define_property(this, "default", {
|
|
26
|
+
super(...args), _define_property(this, "name", 'textarea'), _define_property(this, "type", 'object'), _define_property(this, "group", 'basic'), _define_property(this, "order", 2), _define_property(this, "title", '{{t("Long text")}}'), _define_property(this, "icon", 'FileTextOutlined'), _define_property(this, "default", {
|
|
27
27
|
interface: 'textarea',
|
|
28
28
|
type: 'text',
|
|
29
29
|
uiSchema: {
|
|
@@ -12,7 +12,7 @@ function _define_property(obj, key, value) {
|
|
|
12
12
|
}
|
|
13
13
|
class TimeFieldInterface extends CollectionFieldInterface {
|
|
14
14
|
constructor(...args){
|
|
15
|
-
super(...args), _define_property(this, "name", 'time'), _define_property(this, "type", 'object'), _define_property(this, "group", 'datetime'), _define_property(this, "order", 2), _define_property(this, "title", '{{t("Time")}}'), _define_property(this, "sortable", true), _define_property(this, "default", {
|
|
15
|
+
super(...args), _define_property(this, "name", 'time'), _define_property(this, "type", 'object'), _define_property(this, "group", 'datetime'), _define_property(this, "order", 2), _define_property(this, "title", '{{t("Time")}}'), _define_property(this, "icon", 'FieldTimeOutlined'), _define_property(this, "sortable", true), _define_property(this, "default", {
|
|
16
16
|
type: 'time',
|
|
17
17
|
uiSchema: {
|
|
18
18
|
type: 'string',
|
|
@@ -12,7 +12,7 @@ function _define_property(obj, key, value) {
|
|
|
12
12
|
}
|
|
13
13
|
class UnixTimestampFieldInterface extends CollectionFieldInterface {
|
|
14
14
|
constructor(...args){
|
|
15
|
-
super(...args), _define_property(this, "name", 'unixTimestamp'), _define_property(this, "type", 'object'), _define_property(this, "group", 'datetime'), _define_property(this, "order", 1), _define_property(this, "title", '{{t("Unix Timestamp")}}'), _define_property(this, "sortable", true), _define_property(this, "default", {
|
|
15
|
+
super(...args), _define_property(this, "name", 'unixTimestamp'), _define_property(this, "type", 'object'), _define_property(this, "group", 'datetime'), _define_property(this, "order", 1), _define_property(this, "title", '{{t("Unix Timestamp")}}'), _define_property(this, "icon", 'HistoryOutlined'), _define_property(this, "sortable", true), _define_property(this, "default", {
|
|
16
16
|
type: 'bigInt',
|
|
17
17
|
uiSchema: {
|
|
18
18
|
type: 'number',
|
|
@@ -12,7 +12,7 @@ function _define_property(obj, key, value) {
|
|
|
12
12
|
}
|
|
13
13
|
class UpdatedAtFieldInterface extends CollectionFieldInterface {
|
|
14
14
|
constructor(...args){
|
|
15
|
-
super(...args), _define_property(this, "name", 'updatedAt'), _define_property(this, "type", 'object'), _define_property(this, "group", 'systemInfo'), _define_property(this, "order", 2), _define_property(this, "title", '{{t("Last updated at")}}'), _define_property(this, "sortable", true), _define_property(this, "default", {
|
|
15
|
+
super(...args), _define_property(this, "name", 'updatedAt'), _define_property(this, "type", 'object'), _define_property(this, "group", 'systemInfo'), _define_property(this, "order", 2), _define_property(this, "title", '{{t("Last updated at")}}'), _define_property(this, "icon", 'FieldTimeOutlined'), _define_property(this, "sortable", true), _define_property(this, "default", {
|
|
16
16
|
type: 'date',
|
|
17
17
|
field: 'updatedAt',
|
|
18
18
|
uiSchema: {
|
|
@@ -26,7 +26,7 @@ class UpdatedByFieldInterface extends CollectionFieldInterface {
|
|
|
26
26
|
}
|
|
27
27
|
}
|
|
28
28
|
constructor(...args){
|
|
29
|
-
super(...args), _define_property(this, "name", 'updatedBy'), _define_property(this, "type", 'object'), _define_property(this, "group", 'systemInfo'), _define_property(this, "order", 4), _define_property(this, "title", '{{t("Last updated by")}}'), _define_property(this, "isAssociation", true), _define_property(this, "default", {
|
|
29
|
+
super(...args), _define_property(this, "name", 'updatedBy'), _define_property(this, "type", 'object'), _define_property(this, "group", 'systemInfo'), _define_property(this, "order", 4), _define_property(this, "title", '{{t("Last updated by")}}'), _define_property(this, "icon", 'UserOutlined'), _define_property(this, "isAssociation", true), _define_property(this, "default", {
|
|
30
30
|
type: 'belongsTo',
|
|
31
31
|
target: 'users',
|
|
32
32
|
foreignKey: 'updatedById',
|
|
@@ -15,7 +15,7 @@ class UrlFieldInterface extends CollectionFieldInterface {
|
|
|
15
15
|
let { block } = param;
|
|
16
16
|
}
|
|
17
17
|
constructor(...args){
|
|
18
|
-
super(...args), _define_property(this, "name", 'url'), _define_property(this, "type", 'string'), _define_property(this, "group", 'basic'), _define_property(this, "order", 5), _define_property(this, "title", '{{t("URL")}}'), _define_property(this, "default", {
|
|
18
|
+
super(...args), _define_property(this, "name", 'url'), _define_property(this, "type", 'string'), _define_property(this, "group", 'basic'), _define_property(this, "order", 5), _define_property(this, "title", '{{t("URL")}}'), _define_property(this, "icon", 'GlobalOutlined'), _define_property(this, "default", {
|
|
19
19
|
type: 'text',
|
|
20
20
|
uiSchema: {
|
|
21
21
|
type: 'string',
|
|
@@ -12,7 +12,7 @@ function _define_property(obj, key, value) {
|
|
|
12
12
|
}
|
|
13
13
|
class UUIDFieldInterface extends CollectionFieldInterface {
|
|
14
14
|
constructor(...args){
|
|
15
|
-
super(...args), _define_property(this, "name", 'uuid'), _define_property(this, "type", 'object'), _define_property(this, "group", 'advanced'), _define_property(this, "order", 0), _define_property(this, "title", '{{t("UUID")}}'), _define_property(this, "hidden", false), _define_property(this, "sortable", true), _define_property(this, "default", {
|
|
15
|
+
super(...args), _define_property(this, "name", 'uuid'), _define_property(this, "type", 'object'), _define_property(this, "group", 'advanced'), _define_property(this, "order", 0), _define_property(this, "title", '{{t("UUID")}}'), _define_property(this, "icon", 'FieldNumberOutlined'), _define_property(this, "hidden", false), _define_property(this, "sortable", true), _define_property(this, "default", {
|
|
16
16
|
type: 'uuid',
|
|
17
17
|
uiSchema: {
|
|
18
18
|
type: 'string',
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { getOptions } from "@
|
|
1
|
+
import { getOptions } from "@tego/client";
|
|
2
2
|
import { CollectionTemplate } from "../../data-source/collection-template/CollectionTemplate.mjs";
|
|
3
3
|
import { getConfigurableProperties } from "./properties/index.mjs";
|
|
4
4
|
function _define_property(obj, key, value) {
|
|
@@ -52,7 +52,7 @@ export declare const defaultConfigurableProperties: {
|
|
|
52
52
|
type: string;
|
|
53
53
|
'x-decorator': string;
|
|
54
54
|
'x-visible': string;
|
|
55
|
-
'x-component': import("react").MemoExoticComponent<import("
|
|
55
|
+
'x-component': import("react").MemoExoticComponent<import("@tachybase/schema").ReactFC<Omit<any, "ref">>>;
|
|
56
56
|
};
|
|
57
57
|
};
|
|
58
58
|
export type DefaultConfigurableKeys = 'name' | 'title' | 'inherits' | 'category' | 'autoGenId' | 'createdBy' | 'updatedBy' | 'createdAt' | 'updatedAt' | 'sortable' | 'description' | 'presetFields';
|
|
@@ -18,6 +18,7 @@ class CollectionFieldInterface {
|
|
|
18
18
|
_define_property(this, "name", void 0);
|
|
19
19
|
_define_property(this, "group", void 0);
|
|
20
20
|
_define_property(this, "title", void 0);
|
|
21
|
+
_define_property(this, "icon", void 0);
|
|
21
22
|
_define_property(this, "description", void 0);
|
|
22
23
|
_define_property(this, "order", void 0);
|
|
23
24
|
_define_property(this, "default", void 0);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React, { ReactNode } from 'react';
|
|
2
|
-
import { IResource } from '@
|
|
2
|
+
import { IResource } from '@tego/client';
|
|
3
3
|
export declare const DataBlockResourceContext: React.Context<IResource>;
|
|
4
4
|
export declare const DataBlockResourceProvider: ({ children }: {
|
|
5
5
|
children?: ReactNode;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { useCallback, useEffect, useState } from "react";
|
|
2
2
|
import { useFieldSchema } from "@tachybase/schema";
|
|
3
|
-
import {
|
|
3
|
+
import { flatten, getValuesByPath } from "@tego/client";
|
|
4
|
+
import dayjs from "dayjs";
|
|
4
5
|
import lodash from "lodash";
|
|
5
6
|
import { findFilterTargets } from "../block-provider/hooks/index.mjs";
|
|
6
7
|
import { useCollectionManager_deprecated, useCollection_deprecated } from "../collection-manager/index.mjs";
|
package/es/icon/preloaded.mjs
CHANGED
package/es/index.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import 'antd/dist/reset.css';
|
|
2
2
|
import './global.less';
|
|
3
|
+
import './preload';
|
|
3
4
|
export * from './built-in/acl';
|
|
4
5
|
export * from './api-client';
|
|
5
6
|
export * from './application';
|
|
@@ -40,7 +41,9 @@ export * from './modules/blocks/data-blocks/details-multi/setDataLoadingModeSett
|
|
|
40
41
|
export * from './modules/blocks/data-blocks/form';
|
|
41
42
|
export * from './modules/blocks/data-blocks/table';
|
|
42
43
|
export * from './modules/blocks/data-blocks/table-selector';
|
|
44
|
+
export * from './modules/fields/component/SubTable/secondLevelSelect';
|
|
43
45
|
export { useTranslation } from 'react-i18next';
|
|
44
46
|
export * from 'react-i18next';
|
|
45
47
|
export { useHotkeys } from 'react-hotkeys-hook';
|
|
46
48
|
export * from './modules/blocks/useParentRecordCommon';
|
|
49
|
+
export { findSchema as findSchemaUtils, removeGridFormItem } from './schema-initializer/utils';
|
package/es/index.mjs
CHANGED
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
import "antd/dist/reset.css";
|
|
2
2
|
import "./global.css";
|
|
3
|
+
import "./preload.mjs";
|
|
3
4
|
import locale from "./locale/index.mjs";
|
|
4
5
|
import { withDynamicSchemaProps } from "./application/hoc/withDynamicSchemaProps.mjs";
|
|
5
6
|
import { useTranslation } from "react-i18next";
|
|
6
7
|
import { useHotkeys } from "react-hotkeys-hook";
|
|
8
|
+
import { findSchema, removeGridFormItem } from "./schema-initializer/utils.mjs";
|
|
7
9
|
export * from "./built-in/acl/index.mjs";
|
|
8
10
|
export * from "./api-client/index.mjs";
|
|
9
11
|
export * from "./application/index.mjs";
|
|
@@ -41,6 +43,7 @@ export * from "./modules/blocks/data-blocks/details-multi/setDataLoadingModeSett
|
|
|
41
43
|
export * from "./modules/blocks/data-blocks/form/index.mjs";
|
|
42
44
|
export * from "./modules/blocks/data-blocks/table/index.mjs";
|
|
43
45
|
export * from "./modules/blocks/data-blocks/table-selector/index.mjs";
|
|
46
|
+
export * from "./modules/fields/component/SubTable/secondLevelSelect.mjs";
|
|
44
47
|
export * from "react-i18next";
|
|
45
48
|
export * from "./modules/blocks/useParentRecordCommon.mjs";
|
|
46
|
-
export { locale, useHotkeys, useTranslation, withDynamicSchemaProps };
|
|
49
|
+
export { findSchema as findSchemaUtils, locale, removeGridFormItem, useHotkeys, useTranslation, withDynamicSchemaProps };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
2
|
import "react";
|
|
3
|
-
import { ArrayItems } from "@tachybase/components";
|
|
4
3
|
import { useField, useFieldSchema } from "@tachybase/schema";
|
|
4
|
+
import { ArrayItems } from "@tego/client";
|
|
5
5
|
import lodash from "lodash";
|
|
6
6
|
import { useTranslation } from "react-i18next";
|
|
7
7
|
import { useCollectionRecord, useDesignable } from "../../../index.mjs";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ArrayItems } from "@tachybase/components";
|
|
2
1
|
import { useField, useFieldSchema } from "@tachybase/schema";
|
|
2
|
+
import { ArrayItems } from "@tego/client";
|
|
3
3
|
import { useTranslation } from "react-i18next";
|
|
4
4
|
import { SchemaSettings } from "../../../../application/schema-settings/SchemaSettings.mjs";
|
|
5
5
|
import { useFormBlockContext } from "../../../../block-provider/index.mjs";
|
|
@@ -32,19 +32,19 @@ export declare const useCreateFormBlock: () => {
|
|
|
32
32
|
}) => void;
|
|
33
33
|
templateWrap: (templateSchema: any, { item }: {
|
|
34
34
|
item: any;
|
|
35
|
-
}) => import("
|
|
35
|
+
}) => import("@tachybase/schema").Stringify<{
|
|
36
36
|
[key: symbol]: any;
|
|
37
37
|
[key: `x-${string}`]: any;
|
|
38
38
|
[key: `x-${number}`]: any;
|
|
39
39
|
version?: string;
|
|
40
|
-
name?: import("
|
|
40
|
+
name?: import("@tachybase/schema").SchemaKey;
|
|
41
41
|
title?: any;
|
|
42
42
|
description?: any;
|
|
43
43
|
default?: any;
|
|
44
44
|
readOnly?: boolean;
|
|
45
45
|
writeOnly?: boolean;
|
|
46
|
-
type?: import("
|
|
47
|
-
enum?: import("
|
|
46
|
+
type?: import("@tachybase/schema").SchemaTypes;
|
|
47
|
+
enum?: import("@tachybase/schema").SchemaEnum<any>;
|
|
48
48
|
const?: any;
|
|
49
49
|
multipleOf?: number;
|
|
50
50
|
maximum?: number;
|
|
@@ -63,12 +63,12 @@ export declare const useCreateFormBlock: () => {
|
|
|
63
63
|
format?: string;
|
|
64
64
|
$ref?: string;
|
|
65
65
|
$namespace?: string;
|
|
66
|
-
definitions?: import("
|
|
67
|
-
properties?: import("
|
|
68
|
-
items?: import("
|
|
69
|
-
additionalItems?: import("
|
|
70
|
-
patternProperties?: import("
|
|
71
|
-
additionalProperties?: import("
|
|
66
|
+
definitions?: import("@tachybase/schema").SchemaProperties<any, any, any, any, any, any, any, any>;
|
|
67
|
+
properties?: import("@tachybase/schema").SchemaProperties<any, any, any, any, any, any, any, any>;
|
|
68
|
+
items?: import("@tachybase/schema").SchemaItems<any, any, any, any, any, any, any, any>;
|
|
69
|
+
additionalItems?: import("@tachybase/schema").Stringify</*elided*/ any>;
|
|
70
|
+
patternProperties?: import("@tachybase/schema").SchemaProperties<any, any, any, any, any, any, any, any>;
|
|
71
|
+
additionalProperties?: import("@tachybase/schema").Stringify</*elided*/ any>;
|
|
72
72
|
"x-value"?: any;
|
|
73
73
|
"x-index"?: number;
|
|
74
74
|
"x-pattern"?: any;
|
|
@@ -78,7 +78,7 @@ export declare const useCreateFormBlock: () => {
|
|
|
78
78
|
"x-decorator-props"?: any;
|
|
79
79
|
"x-component"?: any;
|
|
80
80
|
"x-component-props"?: any;
|
|
81
|
-
"x-reactions"?: import("
|
|
81
|
+
"x-reactions"?: import("@tachybase/schema").SchemaReactions<any>;
|
|
82
82
|
"x-content"?: any;
|
|
83
83
|
"x-data"?: any;
|
|
84
84
|
"x-visible"?: boolean;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ArrayCollapse, FormLayout } from "@tachybase/components";
|
|
2
1
|
import { useField, useFieldSchema } from "@tachybase/schema";
|
|
2
|
+
import { ArrayCollapse, FormLayout } from "@tego/client";
|
|
3
3
|
import lodash from "lodash";
|
|
4
4
|
import { useTranslation } from "react-i18next";
|
|
5
5
|
import { useApp, useSchemaToolbar } from "../../../../application/index.mjs";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { useMemo } from "react";
|
|
2
|
-
import { ArrayItems } from "@tachybase/components";
|
|
3
2
|
import { useField, useFieldSchema } from "@tachybase/schema";
|
|
3
|
+
import { ArrayItems } from "@tego/client";
|
|
4
4
|
import lodash from "lodash";
|
|
5
5
|
import { useTranslation } from "react-i18next";
|
|
6
6
|
import { SchemaSettings } from "../../../../application/schema-settings/SchemaSettings.mjs";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ArrayItems } from "@tachybase/components";
|
|
2
1
|
import { useField, useFieldSchema } from "@tachybase/schema";
|
|
2
|
+
import { ArrayItems } from "@tego/client";
|
|
3
3
|
import lodash from "lodash";
|
|
4
4
|
import { useTranslation } from "react-i18next";
|
|
5
5
|
import { SchemaSettings } from "../../../../application/schema-settings/SchemaSettings.mjs";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { useCallback } from "react";
|
|
2
|
-
import { ArrayItems } from "@tachybase/components";
|
|
3
2
|
import { useField, useFieldSchema } from "@tachybase/schema";
|
|
3
|
+
import { ArrayItems } from "@tego/client";
|
|
4
4
|
import { useTranslation } from "react-i18next";
|
|
5
5
|
import { useAPIClient } from "../../../../api-client/index.mjs";
|
|
6
6
|
import { SchemaSettings } from "../../../../application/schema-settings/SchemaSettings.mjs";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { useCallback } from "react";
|
|
2
|
-
import { ArrayItems } from "@tachybase/components";
|
|
3
2
|
import { useField, useFieldSchema } from "@tachybase/schema";
|
|
3
|
+
import { ArrayItems } from "@tego/client";
|
|
4
4
|
import { cloneDeep } from "lodash";
|
|
5
5
|
import { useTranslation } from "react-i18next";
|
|
6
6
|
import { SchemaSettings } from "../../../../application/schema-settings/SchemaSettings.mjs";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ArrayCollapse, FormLayout } from "@tachybase/components";
|
|
2
1
|
import { useField, useFieldSchema } from "@tachybase/schema";
|
|
2
|
+
import { ArrayCollapse, FormLayout } from "@tego/client";
|
|
3
3
|
import lodash from "lodash";
|
|
4
4
|
import { useTranslation } from "react-i18next";
|
|
5
5
|
import { useApp } from "../../../../application/index.mjs";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ArrayCollapse, FormLayout } from "@tachybase/components";
|
|
2
1
|
import { useField, useFieldSchema } from "@tachybase/schema";
|
|
2
|
+
import { ArrayCollapse, FormLayout } from "@tego/client";
|
|
3
3
|
import lodash from "lodash";
|
|
4
4
|
import { useTranslation } from "react-i18next";
|
|
5
5
|
import { useApp } from "../../../../application/index.mjs";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
2
|
import "react";
|
|
3
|
-
import { ArrayItems } from "@tachybase/components";
|
|
4
3
|
import { useField, useFieldSchema } from "@tachybase/schema";
|
|
4
|
+
import { ArrayItems } from "@tego/client";
|
|
5
5
|
import lodash from "lodash";
|
|
6
6
|
import { useTranslation } from "react-i18next";
|
|
7
7
|
import { SchemaSettings } from "../../../../application/schema-settings/SchemaSettings.mjs";
|
|
@@ -7,7 +7,7 @@ export declare const setDefaultSortingRules: {
|
|
|
7
7
|
useComponentProps(): {
|
|
8
8
|
title: string;
|
|
9
9
|
components: {
|
|
10
|
-
ArrayItems: import("@tachybase/schema").ReactFC<import("react").HTMLAttributes<HTMLDivElement>> & import("@
|
|
10
|
+
ArrayItems: import("@tachybase/schema").ReactFC<import("react").HTMLAttributes<HTMLDivElement>> & import("@tego/client").ArrayBaseMixins & {
|
|
11
11
|
Item: import("@tachybase/schema").ReactFC<React.HTMLAttributes<HTMLDivElement> & {
|
|
12
12
|
type?: "card" | "divide";
|
|
13
13
|
}>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { useState } from "react";
|
|
2
|
-
import { ArrayItems, Switch } from "@tachybase/components";
|
|
3
2
|
import { useField, useFieldSchema } from "@tachybase/schema";
|
|
3
|
+
import { ArrayItems, Switch } from "@tego/client";
|
|
4
4
|
import { useTranslation } from "react-i18next";
|
|
5
5
|
import { SchemaSettings } from "../../../../application/schema-settings/SchemaSettings.mjs";
|
|
6
6
|
import { useCollectionManager_deprecated, useSortFields } from "../../../../collection-manager/index.mjs";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
2
|
import { useCallback, useContext } from "react";
|
|
3
|
-
import { FormLayout } from "@tachybase/components";
|
|
4
3
|
import { SchemaOptionsContext } from "@tachybase/schema";
|
|
4
|
+
import { FormLayout } from "@tego/client";
|
|
5
5
|
import { useTranslation } from "react-i18next";
|
|
6
6
|
import { SchemaInitializerItem, useSchemaInitializer } from "../../application/index.mjs";
|
|
7
7
|
import { Icon } from "../../icon/index.mjs";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
2
|
import { useCallback, useContext } from "react";
|
|
3
|
-
import { FormLayout } from "@tachybase/components";
|
|
4
3
|
import { SchemaOptionsContext } from "@tachybase/schema";
|
|
4
|
+
import { FormLayout } from "@tego/client";
|
|
5
5
|
import { useTranslation } from "react-i18next";
|
|
6
6
|
import { SchemaInitializerItem, useSchemaInitializer } from "../../application/index.mjs";
|
|
7
7
|
import { Icon } from "../../icon/index.mjs";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
2
|
import { useCallback, useContext } from "react";
|
|
3
|
-
import { FormLayout } from "@tachybase/components";
|
|
4
3
|
import { SchemaOptionsContext, uid } from "@tachybase/schema";
|
|
4
|
+
import { FormLayout } from "@tego/client";
|
|
5
5
|
import { useTranslation } from "react-i18next";
|
|
6
6
|
import { SchemaInitializerItem, useSchemaInitializer } from "../../application/index.mjs";
|
|
7
7
|
import { Icon } from "../../icon/index.mjs";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
2
|
import { useCallback, useContext } from "react";
|
|
3
|
-
import { FormLayout } from "@tachybase/components";
|
|
4
3
|
import { SchemaOptionsContext } from "@tachybase/schema";
|
|
4
|
+
import { FormLayout } from "@tego/client";
|
|
5
5
|
import { useTranslation } from "react-i18next";
|
|
6
6
|
import { useAPIClient } from "../../api-client/hooks/useAPIClient.mjs";
|
|
7
7
|
import { SchemaInitializerItem, useSchemaInitializer } from "../../application/index.mjs";
|
package/es/preload.d.ts
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import 'dayjs/plugin/advancedFormat';
|
|
2
|
+
import 'dayjs/plugin/calendar';
|
|
3
|
+
import 'dayjs/plugin/customParseFormat';
|
|
4
|
+
import 'dayjs/plugin/isBetween';
|
|
5
|
+
import 'dayjs/plugin/isoWeek';
|
|
6
|
+
import 'dayjs/plugin/isSameOrAfter';
|
|
7
|
+
import 'dayjs/plugin/isSameOrBefore';
|
|
8
|
+
import 'dayjs/plugin/localeData';
|
|
9
|
+
import 'dayjs/plugin/quarterOfYear';
|
|
10
|
+
import 'dayjs/plugin/relativeTime';
|
|
11
|
+
import 'dayjs/plugin/timezone';
|
|
12
|
+
import 'dayjs/plugin/updateLocale';
|
|
13
|
+
import 'dayjs/plugin/utc';
|
|
14
|
+
import 'dayjs/plugin/weekday';
|
|
15
|
+
import 'dayjs/plugin/weekOfYear';
|
|
16
|
+
import 'dayjs/plugin/weekYear';
|
package/es/preload.mjs
ADDED
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import dayjs from "dayjs";
|
|
2
|
+
import advancedFormat from "dayjs/plugin/advancedFormat";
|
|
3
|
+
import calendar from "dayjs/plugin/calendar";
|
|
4
|
+
import customParseFormat from "dayjs/plugin/customParseFormat";
|
|
5
|
+
import isBetween from "dayjs/plugin/isBetween";
|
|
6
|
+
import isoWeek from "dayjs/plugin/isoWeek";
|
|
7
|
+
import isSameOrAfter from "dayjs/plugin/isSameOrAfter";
|
|
8
|
+
import isSameOrBefore from "dayjs/plugin/isSameOrBefore";
|
|
9
|
+
import localeData from "dayjs/plugin/localeData";
|
|
10
|
+
import quarterOfYear from "dayjs/plugin/quarterOfYear";
|
|
11
|
+
import relativeTime from "dayjs/plugin/relativeTime";
|
|
12
|
+
import timezone from "dayjs/plugin/timezone";
|
|
13
|
+
import updateLocale from "dayjs/plugin/updateLocale";
|
|
14
|
+
import utc from "dayjs/plugin/utc";
|
|
15
|
+
import weekday from "dayjs/plugin/weekday";
|
|
16
|
+
import weekOfYear from "dayjs/plugin/weekOfYear";
|
|
17
|
+
import weekYear from "dayjs/plugin/weekYear";
|
|
18
|
+
dayjs.extend(weekday);
|
|
19
|
+
dayjs.extend(localeData);
|
|
20
|
+
dayjs.extend(timezone);
|
|
21
|
+
dayjs.extend(utc);
|
|
22
|
+
dayjs.extend(quarterOfYear);
|
|
23
|
+
dayjs.extend(isoWeek);
|
|
24
|
+
dayjs.extend(isBetween);
|
|
25
|
+
dayjs.extend(isSameOrAfter);
|
|
26
|
+
dayjs.extend(isSameOrBefore);
|
|
27
|
+
dayjs.extend(weekOfYear);
|
|
28
|
+
dayjs.extend(weekYear);
|
|
29
|
+
dayjs.extend(customParseFormat);
|
|
30
|
+
dayjs.extend(advancedFormat);
|
|
31
|
+
dayjs.extend(calendar);
|
|
32
|
+
dayjs.extend(relativeTime);
|
|
33
|
+
dayjs.extend(updateLocale);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { useCallback, useMemo, useState } from "react";
|
|
3
|
-
import { ArrayTable } from "@tachybase/components";
|
|
4
3
|
import { isValid, onFieldValueChange, uid as schema_uid, useField, useFieldSchema, useForm, useFormEffects } from "@tachybase/schema";
|
|
4
|
+
import { ArrayTable } from "@tego/client";
|
|
5
5
|
import { Alert, Flex, Tag } from "antd";
|
|
6
6
|
import { useTranslation } from "react-i18next";
|
|
7
7
|
import { RemoteSelect, useCompile, useDesignable } from "../../index.mjs";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { useCallback, useEffect, useMemo, useState } from "react";
|
|
3
3
|
import { RecursionField, observer, useField, useFieldSchema, useForm } from "@tachybase/schema";
|
|
4
|
-
import { isPortalInBody } from "@
|
|
4
|
+
import { isPortalInBody } from "@tego/client";
|
|
5
5
|
import { App, Button } from "antd";
|
|
6
6
|
import classnames from "classnames";
|
|
7
7
|
import lodash from "lodash";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
2
|
import { useCallback, useEffect, useMemo, useState } from "react";
|
|
3
|
-
import { ArrayItems, FormItem } from "@tachybase/components";
|
|
4
3
|
import { FormProvider, connect, createForm, createSchemaField, observer, onFormValuesChange, uid, useField, useFieldSchema } from "@tachybase/schema";
|
|
4
|
+
import { ArrayItems, FormItem } from "@tego/client";
|
|
5
5
|
import { Input, Select, Space, Spin, Tag } from "antd";
|
|
6
6
|
import dayjs from "dayjs";
|
|
7
7
|
import { useTranslation } from "react-i18next";
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
2
|
import { useEffect, useMemo, useState } from "react";
|
|
3
|
-
import { ArrayItems, FormItem } from "@tachybase/components";
|
|
4
3
|
import { FormProvider, connect, createForm, createSchemaField, observer, onFormValuesChange, uid, useField, useFieldSchema } from "@tachybase/schema";
|
|
5
|
-
import { fuzzysearch } from "@
|
|
4
|
+
import { ArrayItems, FormItem, fuzzysearch } from "@tego/client";
|
|
6
5
|
import { Input, Space } from "antd";
|
|
7
6
|
import { createStyles } from "antd-style";
|
|
8
7
|
import { useTranslation } from "react-i18next";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
2
|
import { useEffect } from "react";
|
|
3
|
-
import { FormLayout } from "@tachybase/components";
|
|
4
3
|
import { RecursionField, observer, useField, useFieldSchema } from "@tachybase/schema";
|
|
4
|
+
import { FormLayout } from "@tego/client";
|
|
5
5
|
import { createStyles } from "antd-style";
|
|
6
6
|
import classnames from "classnames";
|
|
7
7
|
import { ACLCollectionProvider, useACLActionParamsContext } from "../../../built-in/acl/index.mjs";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
2
|
import { useEffect } from "react";
|
|
3
|
-
import { FormLayout } from "@tachybase/components";
|
|
4
3
|
import { RecursionField, SchemaOptionsContext, observer, useField, useFieldSchema } from "@tachybase/schema";
|
|
4
|
+
import { FormLayout } from "@tego/client";
|
|
5
5
|
import { createStyles } from "antd-style";
|
|
6
6
|
import { ACLCollectionProvider, useACLActionParamsContext } from "../../../built-in/acl/index.mjs";
|
|
7
7
|
import { CollectionProvider_deprecated } from "../../../collection-manager/index.mjs";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { useRef, useState } from "react";
|
|
3
3
|
import { Schema, observer, onFieldChange, useFieldSchema, useFormEffects } from "@tachybase/schema";
|
|
4
|
-
import { fuzzysearch } from "@tachybase/utils/client";
|
|
5
4
|
import { CheckOutlined, SearchOutlined } from "@ant-design/icons";
|
|
5
|
+
import { fuzzysearch } from "@tego/client";
|
|
6
6
|
import { useAsyncEffect, useDeepCompareEffect } from "ahooks";
|
|
7
7
|
import { Button, Collapse, Input, Space } from "antd";
|
|
8
8
|
import flat from "flat";
|