@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
|
@@ -37,9 +37,9 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
37
37
|
});
|
|
38
38
|
const jsx_runtime_namespaceObject = require("react/jsx-runtime");
|
|
39
39
|
require("react");
|
|
40
|
-
const components_namespaceObject = require("@tachybase/components");
|
|
41
40
|
const schema_namespaceObject = require("@tachybase/schema");
|
|
42
41
|
const css_namespaceObject = require("@emotion/css");
|
|
42
|
+
const client_namespaceObject = require("@tego/client");
|
|
43
43
|
const external_antd_namespaceObject = require("antd");
|
|
44
44
|
const external_classnames_namespaceObject = require("classnames");
|
|
45
45
|
var external_classnames_default = /*#__PURE__*/ __webpack_require__.n(external_classnames_namespaceObject);
|
|
@@ -65,7 +65,7 @@ function _templateObject() {
|
|
|
65
65
|
}
|
|
66
66
|
const ReadPretty = ()=>null;
|
|
67
67
|
const _Input = (props)=>{
|
|
68
|
-
const prefixCls = (0,
|
|
68
|
+
const prefixCls = (0, client_namespaceObject.usePrefixCls)("description-input", props);
|
|
69
69
|
const compile = (0, external_index_js_namespaceObject.useCompile)();
|
|
70
70
|
return /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)("div", {
|
|
71
71
|
className: external_classnames_default()(prefixCls, props.className),
|
|
@@ -89,7 +89,7 @@ const _Input = (props)=>{
|
|
|
89
89
|
});
|
|
90
90
|
};
|
|
91
91
|
const _TextArea = (props)=>{
|
|
92
|
-
const prefixCls = (0,
|
|
92
|
+
const prefixCls = (0, client_namespaceObject.usePrefixCls)("description-textarea", props);
|
|
93
93
|
const compile = (0, external_index_js_namespaceObject.useCompile)();
|
|
94
94
|
var _props_value;
|
|
95
95
|
const value = compile(null != (_props_value = props.value) ? _props_value : '');
|
|
@@ -129,7 +129,7 @@ function convertToText(html) {
|
|
|
129
129
|
return (null == text ? void 0 : text.replace(/[\n\r]/g, '')) || '';
|
|
130
130
|
}
|
|
131
131
|
const _Html = (props)=>{
|
|
132
|
-
const prefixCls = (0,
|
|
132
|
+
const prefixCls = (0, client_namespaceObject.usePrefixCls)("description-textarea", props);
|
|
133
133
|
const compile = (0, external_index_js_namespaceObject.useCompile)();
|
|
134
134
|
var _props_value;
|
|
135
135
|
const value = compile(null != (_props_value = props.value) ? _props_value : '');
|
|
@@ -162,7 +162,7 @@ const _Html = (props)=>{
|
|
|
162
162
|
};
|
|
163
163
|
const _URL = (props)=>{
|
|
164
164
|
var _props_value;
|
|
165
|
-
const prefixCls = (0,
|
|
165
|
+
const prefixCls = (0, client_namespaceObject.usePrefixCls)("description-url", props);
|
|
166
166
|
const content = props.value && /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(external_antd_namespaceObject.Typography.Link, {
|
|
167
167
|
ellipsis: true,
|
|
168
168
|
target: '_blank',
|
|
@@ -182,7 +182,7 @@ const _URL = (props)=>{
|
|
|
182
182
|
});
|
|
183
183
|
};
|
|
184
184
|
const _JSON = (props)=>{
|
|
185
|
-
const prefixCls = (0,
|
|
185
|
+
const prefixCls = (0, client_namespaceObject.usePrefixCls)('json', props);
|
|
186
186
|
var _props_space;
|
|
187
187
|
return /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("pre", {
|
|
188
188
|
className: external_classnames_default()(prefixCls, props.className, (0, css_namespaceObject.css)(_templateObject())),
|
|
@@ -33,7 +33,7 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
33
33
|
const jsx_runtime_namespaceObject = require("react/jsx-runtime");
|
|
34
34
|
const external_react_namespaceObject = require("react");
|
|
35
35
|
const schema_namespaceObject = require("@tachybase/schema");
|
|
36
|
-
const client_namespaceObject = require("@
|
|
36
|
+
const client_namespaceObject = require("@tego/client");
|
|
37
37
|
const external_d3_format_namespaceObject = require("d3-format");
|
|
38
38
|
const external_mathjs_namespaceObject = require("mathjs");
|
|
39
39
|
function countDecimalPlaces(value) {
|
|
@@ -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 external_antd_style_namespaceObject = require("antd-style");
|
|
46
46
|
const external_lodash_namespaceObject = require("lodash");
|
|
47
47
|
var external_lodash_default = /*#__PURE__*/ __webpack_require__.n(external_lodash_namespaceObject);
|
|
@@ -98,7 +98,7 @@ const InternalListBlockProvider = (props)=>{
|
|
|
98
98
|
},
|
|
99
99
|
children: /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(schema_namespaceObject.FormContext.Provider, {
|
|
100
100
|
value: form,
|
|
101
|
-
children: /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(
|
|
101
|
+
children: /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(client_namespaceObject.FormLayout, {
|
|
102
102
|
layout: 'vertical',
|
|
103
103
|
children: /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("div", {
|
|
104
104
|
className: styles.container,
|
|
@@ -37,8 +37,8 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
37
37
|
});
|
|
38
38
|
const jsx_runtime_namespaceObject = require("react/jsx-runtime");
|
|
39
39
|
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
|
var external_lodash_default = /*#__PURE__*/ __webpack_require__.n(external_lodash_namespaceObject);
|
|
44
44
|
const external_react_i18next_namespaceObject = require("react-i18next");
|
|
@@ -99,7 +99,7 @@ const ListDesigner = ()=>{
|
|
|
99
99
|
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(external_schema_settings_index_js_namespaceObject.SchemaSettingsModalItem, {
|
|
100
100
|
title: t('Set default sorting rules'),
|
|
101
101
|
components: {
|
|
102
|
-
ArrayItems:
|
|
102
|
+
ArrayItems: client_namespaceObject.ArrayItems
|
|
103
103
|
},
|
|
104
104
|
schema: {
|
|
105
105
|
type: 'object',
|
|
@@ -28,8 +28,8 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
28
28
|
MenuDesigner: ()=>MenuDesigner
|
|
29
29
|
});
|
|
30
30
|
const jsx_runtime_namespaceObject = require("react/jsx-runtime");
|
|
31
|
-
const components_namespaceObject = require("@tachybase/components");
|
|
32
31
|
const schema_namespaceObject = require("@tachybase/schema");
|
|
32
|
+
const client_namespaceObject = require("@tego/client");
|
|
33
33
|
const external_antd_namespaceObject = require("antd");
|
|
34
34
|
const external_file_saver_namespaceObject = require("file-saver");
|
|
35
35
|
const external_react_i18next_namespaceObject = require("react-i18next");
|
|
@@ -391,7 +391,7 @@ const MenuDesigner = (props)=>{
|
|
|
391
391
|
title: t('Move to'),
|
|
392
392
|
eventKey: "move-to",
|
|
393
393
|
components: {
|
|
394
|
-
TreeSelect:
|
|
394
|
+
TreeSelect: client_namespaceObject.TreeSelect
|
|
395
395
|
},
|
|
396
396
|
effects: effects,
|
|
397
397
|
icon: /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(external_index_js_namespaceObject_3.Icon, {
|
|
@@ -29,8 +29,8 @@ __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("@tachybase/utils/client");
|
|
33
32
|
const core_namespaceObject = require("@dnd-kit/core");
|
|
33
|
+
const client_namespaceObject = require("@tego/client");
|
|
34
34
|
const external_antd_namespaceObject = require("antd");
|
|
35
35
|
const external_react_dom_namespaceObject = require("react-dom");
|
|
36
36
|
const external_index_js_namespaceObject = require("../../index.js");
|
|
@@ -37,11 +37,11 @@ __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");
|
|
42
41
|
const icons_namespaceObject = require("@ant-design/icons");
|
|
43
42
|
const pro_layout_namespaceObject = require("@ant-design/pro-layout");
|
|
44
43
|
const core_namespaceObject = require("@dnd-kit/core");
|
|
44
|
+
const client_namespaceObject = require("@tego/client");
|
|
45
45
|
const external_antd_namespaceObject = require("antd");
|
|
46
46
|
const external_antd_style_namespaceObject = require("antd-style");
|
|
47
47
|
const external_classnames_namespaceObject = require("classnames");
|
|
@@ -329,7 +329,7 @@ const AddTabForm = (props)=>{
|
|
|
329
329
|
components: {
|
|
330
330
|
...options.components
|
|
331
331
|
},
|
|
332
|
-
children: /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(
|
|
332
|
+
children: /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(client_namespaceObject.FormLayout, {
|
|
333
333
|
layout: 'vertical',
|
|
334
334
|
children: /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(external_core_index_js_namespaceObject.SchemaComponent, {
|
|
335
335
|
schema: {
|
|
@@ -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_classnames_namespaceObject = require("classnames");
|
|
47
47
|
var external_classnames_default = /*#__PURE__*/ __webpack_require__.n(external_classnames_namespaceObject);
|
|
@@ -266,7 +266,7 @@ const FileSelector = (props)=>{
|
|
|
266
266
|
]
|
|
267
267
|
})
|
|
268
268
|
}),
|
|
269
|
-
visible && /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(
|
|
269
|
+
visible && /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(client_namespaceObject.Lightbox, {
|
|
270
270
|
mainSrc: null == (_fileList_photoIndex = fileList[photoIndex]) ? void 0 : _fileList_photoIndex.imageUrl,
|
|
271
271
|
nextSrc: null == (_fileList_ = fileList[(photoIndex + 1) % fileList.length]) ? void 0 : _fileList_.imageUrl,
|
|
272
272
|
prevSrc: null == (_fileList_1 = fileList[(photoIndex + fileList.length - 1) % fileList.length]) ? void 0 : _fileList_1.imageUrl,
|
|
@@ -39,8 +39,8 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
39
39
|
const jsx_runtime_namespaceObject = require("react/jsx-runtime");
|
|
40
40
|
const external_react_namespaceObject = require("react");
|
|
41
41
|
var external_react_default = /*#__PURE__*/ __webpack_require__.n(external_react_namespaceObject);
|
|
42
|
-
const components_namespaceObject = require("@tachybase/components");
|
|
43
42
|
const schema_namespaceObject = require("@tachybase/schema");
|
|
43
|
+
const client_namespaceObject = require("@tego/client");
|
|
44
44
|
const external_antd_style_namespaceObject = require("antd-style");
|
|
45
45
|
const index_js_namespaceObject = require("../../../collection-manager/index.js");
|
|
46
46
|
const external_popover_index_js_namespaceObject = require("../popover/index.js");
|
|
@@ -96,7 +96,7 @@ const Editable = (0, schema_namespaceObject.observer)((props)=>{
|
|
|
96
96
|
});
|
|
97
97
|
return child;
|
|
98
98
|
});
|
|
99
|
-
return /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(
|
|
99
|
+
return /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(client_namespaceObject.FormItem, {
|
|
100
100
|
...props,
|
|
101
101
|
labelStyle: {
|
|
102
102
|
display: 'none'
|
|
@@ -142,7 +142,7 @@ const QuickEdit = (0, schema_namespaceObject.observer)((props)=>{
|
|
|
142
142
|
if (!collectionField) return null;
|
|
143
143
|
return field.editable ? /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(Editable, {
|
|
144
144
|
...props
|
|
145
|
-
}) : /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(
|
|
145
|
+
}) : /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(client_namespaceObject.FormItem, {
|
|
146
146
|
...props,
|
|
147
147
|
style: {
|
|
148
148
|
padding: '0 8px'
|
|
@@ -40,7 +40,7 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
40
40
|
const external_react_namespaceObject = require("react");
|
|
41
41
|
var external_react_default = /*#__PURE__*/ __webpack_require__.n(external_react_namespaceObject);
|
|
42
42
|
const schema_namespaceObject = require("@tachybase/schema");
|
|
43
|
-
const client_namespaceObject = require("@
|
|
43
|
+
const client_namespaceObject = require("@tego/client");
|
|
44
44
|
const external_antd_namespaceObject = require("antd");
|
|
45
45
|
const index_js_namespaceObject = require("../../../collection-manager/index.js");
|
|
46
46
|
const useLabelUiSchema = (collectionField, label)=>{
|
|
@@ -29,8 +29,8 @@ __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("@tachybase/utils/client");
|
|
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 index_js_namespaceObject = require("../../../api-client/index.js");
|
|
36
36
|
const external_collection_manager_index_js_namespaceObject = require("../../../collection-manager/index.js");
|
|
@@ -34,7 +34,7 @@ const CollectionFieldProvider_js_namespaceObject = require("../../../data-source
|
|
|
34
34
|
const EllipsisWithTooltip_js_namespaceObject = require("../input/EllipsisWithTooltip.js");
|
|
35
35
|
const external_utils_js_namespaceObject = require("./utils.js");
|
|
36
36
|
const ReadPretty = (0, schema_namespaceObject.observer)((props)=>{
|
|
37
|
-
var _field_value, _fieldSchema_xcomponentprops_fieldNames;
|
|
37
|
+
var _field_value, _fieldSchema_xcomponentprops_fieldNames, _fieldSchema_xcomponentprops;
|
|
38
38
|
const fieldNames = {
|
|
39
39
|
...external_utils_js_namespaceObject.defaultFieldNames,
|
|
40
40
|
...props.fieldNames
|
|
@@ -46,7 +46,7 @@ const ReadPretty = (0, schema_namespaceObject.observer)((props)=>{
|
|
|
46
46
|
const fieldSchema = (0, schema_namespaceObject.useFieldSchema)();
|
|
47
47
|
const dataSource = field.dataSource || props.options || (null == collectionField ? void 0 : collectionField.uiSchema.enum) || [];
|
|
48
48
|
const options = (0, external_utils_js_namespaceObject.getCurrentOptions)(field.value, dataSource, fieldNames);
|
|
49
|
-
const currentOptions = getFormulaValue(null == (
|
|
49
|
+
const currentOptions = getFormulaValue(null == (_fieldSchema_xcomponentprops = fieldSchema['x-component-props']) ? void 0 : null == (_fieldSchema_xcomponentprops_fieldNames = _fieldSchema_xcomponentprops.fieldNames) ? void 0 : _fieldSchema_xcomponentprops_fieldNames['formula'], options, fieldSchema);
|
|
50
50
|
return /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("div", {
|
|
51
51
|
children: /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(EllipsisWithTooltip_js_namespaceObject.EllipsisWithTooltip, {
|
|
52
52
|
ellipsis: props.ellipsis,
|
|
@@ -38,8 +38,8 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
38
38
|
});
|
|
39
39
|
const jsx_runtime_namespaceObject = require("react/jsx-runtime");
|
|
40
40
|
const schema_namespaceObject = require("@tachybase/schema");
|
|
41
|
-
const client_namespaceObject = require("@tachybase/utils/client");
|
|
42
41
|
const icons_namespaceObject = require("@ant-design/icons");
|
|
42
|
+
const client_namespaceObject = require("@tego/client");
|
|
43
43
|
const external_antd_namespaceObject = require("antd");
|
|
44
44
|
const external_FormulaSelect_js_namespaceObject = require("./FormulaSelect.js");
|
|
45
45
|
var external_FormulaSelect_js_default = /*#__PURE__*/ __webpack_require__.n(external_FormulaSelect_js_namespaceObject);
|
|
@@ -27,7 +27,7 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
27
27
|
defaultFieldNames: ()=>defaultFieldNames,
|
|
28
28
|
getCurrentOptions: ()=>getCurrentOptions
|
|
29
29
|
});
|
|
30
|
-
const client_namespaceObject = require("@
|
|
30
|
+
const client_namespaceObject = require("@tego/client");
|
|
31
31
|
const external_lodash_namespaceObject = require("lodash");
|
|
32
32
|
const defaultFieldNames = {
|
|
33
33
|
label: 'label',
|
|
@@ -54,7 +54,7 @@ function getCurrentOptions(values, dataSource, fieldNames) {
|
|
|
54
54
|
if (!options) return [];
|
|
55
55
|
const current = [];
|
|
56
56
|
for (const value of arrValues){
|
|
57
|
-
const option = options.find((v)=>v[fieldNames.value]
|
|
57
|
+
const option = options.find((v)=>v[fieldNames.value] === value) || {
|
|
58
58
|
value,
|
|
59
59
|
label: value ? value.toString() : value
|
|
60
60
|
};
|
|
@@ -39,14 +39,14 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
39
39
|
const jsx_runtime_namespaceObject = require("react/jsx-runtime");
|
|
40
40
|
const external_react_namespaceObject = require("react");
|
|
41
41
|
var external_react_default = /*#__PURE__*/ __webpack_require__.n(external_react_namespaceObject);
|
|
42
|
-
const
|
|
42
|
+
const client_namespaceObject = require("@tego/client");
|
|
43
43
|
const external_antd_namespaceObject = require("antd");
|
|
44
44
|
const Space = (props)=>{
|
|
45
45
|
let { split } = props;
|
|
46
46
|
if ('|' === split) split = /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("span", {
|
|
47
47
|
children: "\xa0"
|
|
48
48
|
});
|
|
49
|
-
const layout = (0,
|
|
49
|
+
const layout = (0, client_namespaceObject.useFormLayout)();
|
|
50
50
|
var _props_size;
|
|
51
51
|
return /*#__PURE__*/ external_react_default().createElement(external_antd_namespaceObject.Space, {
|
|
52
52
|
size: null != (_props_size = props.size) ? _props_size : null == layout ? void 0 : layout.spaceGap,
|
|
@@ -28,8 +28,8 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
28
28
|
});
|
|
29
29
|
const jsx_runtime_namespaceObject = require("react/jsx-runtime");
|
|
30
30
|
require("react");
|
|
31
|
-
const components_namespaceObject = require("@tachybase/components");
|
|
32
31
|
const schema_namespaceObject = require("@tachybase/schema");
|
|
32
|
+
const client_namespaceObject = require("@tego/client");
|
|
33
33
|
const external_react_i18next_namespaceObject = require("react-i18next");
|
|
34
34
|
const index_js_namespaceObject = require("../../../collection-manager/index.js");
|
|
35
35
|
const action_hooks_js_namespaceObject = require("../../../collection-manager/action-hooks.js");
|
|
@@ -116,7 +116,7 @@ const TableVoidDesigner = ()=>{
|
|
|
116
116
|
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(external_schema_settings_index_js_namespaceObject.SchemaSettingsModalItem, {
|
|
117
117
|
title: t('Set default sorting rules'),
|
|
118
118
|
components: {
|
|
119
|
-
ArrayItems:
|
|
119
|
+
ArrayItems: client_namespaceObject.ArrayItems
|
|
120
120
|
},
|
|
121
121
|
schema: {
|
|
122
122
|
type: 'object',
|
|
@@ -39,9 +39,9 @@ const jsx_runtime_namespaceObject = require("react/jsx-runtime");
|
|
|
39
39
|
const external_react_namespaceObject = require("react");
|
|
40
40
|
var external_react_default = /*#__PURE__*/ __webpack_require__.n(external_react_namespaceObject);
|
|
41
41
|
const schema_namespaceObject = require("@tachybase/schema");
|
|
42
|
-
const client_namespaceObject = require("@tachybase/utils/client");
|
|
43
42
|
const icons_namespaceObject = require("@ant-design/icons");
|
|
44
43
|
const sortable_namespaceObject = require("@dnd-kit/sortable");
|
|
44
|
+
const client_namespaceObject = require("@tego/client");
|
|
45
45
|
const external_ahooks_namespaceObject = require("ahooks");
|
|
46
46
|
const external_antd_namespaceObject = require("antd");
|
|
47
47
|
const external_classnames_namespaceObject = require("classnames");
|
|
@@ -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_react_i18next_namespaceObject = require("react-i18next");
|
|
35
35
|
const external_index_js_namespaceObject = require("../../index.js");
|
|
36
36
|
const index_js_namespaceObject = require("../../../api-client/index.js");
|
|
@@ -197,7 +197,7 @@ const TableBlockDesigner = ()=>{
|
|
|
197
197
|
!dragSort && /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(external_schema_settings_index_js_namespaceObject.SchemaSettingsModalItem, {
|
|
198
198
|
title: t('Set default sorting rules'),
|
|
199
199
|
components: {
|
|
200
|
-
ArrayItems:
|
|
200
|
+
ArrayItems: client_namespaceObject.ArrayItems
|
|
201
201
|
},
|
|
202
202
|
schema: {
|
|
203
203
|
type: 'object',
|
|
@@ -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
|
var external_lodash_default = /*#__PURE__*/ __webpack_require__.n(external_lodash_namespaceObject);
|
|
44
44
|
const external_react_i18next_namespaceObject = require("react-i18next");
|
|
@@ -161,7 +161,7 @@ const TableSelectorDesigner = ()=>{
|
|
|
161
161
|
!dragSort && /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(external_schema_settings_index_js_namespaceObject.SchemaSettingsModalItem, {
|
|
162
162
|
title: t('Set default sorting rules'),
|
|
163
163
|
components: {
|
|
164
|
-
ArrayItems:
|
|
164
|
+
ArrayItems: client_namespaceObject.ArrayItems
|
|
165
165
|
},
|
|
166
166
|
schema: {
|
|
167
167
|
type: 'object',
|
|
@@ -119,6 +119,15 @@ var __webpack_exports__ = {};
|
|
|
119
119
|
return _TableSelectorDesigner__WEBPACK_IMPORTED_MODULE_10__[key];
|
|
120
120
|
}).bind(0, __WEBPACK_IMPORT_KEY__);
|
|
121
121
|
__webpack_require__.d(__webpack_exports__, __WEBPACK_REEXPORT_OBJECT__);
|
|
122
|
+
var __WEBPACK_REEXPORT_OBJECT__ = {};
|
|
123
|
+
for(var __WEBPACK_IMPORT_KEY__ in _Table_Column_Designer__WEBPACK_IMPORTED_MODULE_5__)if ([
|
|
124
|
+
"TableV2",
|
|
125
|
+
"useColumnSchema",
|
|
126
|
+
"default"
|
|
127
|
+
].indexOf(__WEBPACK_IMPORT_KEY__) < 0) __WEBPACK_REEXPORT_OBJECT__[__WEBPACK_IMPORT_KEY__] = (function(key) {
|
|
128
|
+
return _Table_Column_Designer__WEBPACK_IMPORTED_MODULE_5__[key];
|
|
129
|
+
}).bind(0, __WEBPACK_IMPORT_KEY__);
|
|
130
|
+
__webpack_require__.d(__webpack_exports__, __WEBPACK_REEXPORT_OBJECT__);
|
|
122
131
|
const TableV2 = _Table__WEBPACK_IMPORTED_MODULE_0__.Table;
|
|
123
132
|
TableV2.Column = _Table_Column__WEBPACK_IMPORTED_MODULE_2__.TableColumn;
|
|
124
133
|
TableV2.Column.ActionBar = _Table_Column_ActionBar__WEBPACK_IMPORTED_MODULE_3__.TableColumnActionBar;
|
|
@@ -37,15 +37,15 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
37
37
|
});
|
|
38
38
|
const jsx_runtime_namespaceObject = require("react/jsx-runtime");
|
|
39
39
|
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_classnames_namespaceObject = require("classnames");
|
|
43
43
|
var external_classnames_default = /*#__PURE__*/ __webpack_require__.n(external_classnames_namespaceObject);
|
|
44
44
|
const external_dayjs_namespaceObject = require("dayjs");
|
|
45
45
|
var external_dayjs_default = /*#__PURE__*/ __webpack_require__.n(external_dayjs_namespaceObject);
|
|
46
46
|
const ReadPretty = (props)=>{
|
|
47
47
|
const { value, format = 'HH:mm:ss' } = props;
|
|
48
|
-
const prefixCls = (0,
|
|
48
|
+
const prefixCls = (0, client_namespaceObject.usePrefixCls)("description-text", props);
|
|
49
49
|
const values = (0, schema_namespaceObject.toArr)(value);
|
|
50
50
|
const getLabels = ()=>{
|
|
51
51
|
const labels = values.map((v)=>external_dayjs_default()(v, 'HH:mm:ss').format(format));
|
|
@@ -27,8 +27,8 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
27
27
|
TimePicker: ()=>TimePicker,
|
|
28
28
|
default: ()=>time_picker_TimePicker
|
|
29
29
|
});
|
|
30
|
-
const components_namespaceObject = require("@tachybase/components");
|
|
31
30
|
const schema_namespaceObject = require("@tachybase/schema");
|
|
31
|
+
const client_namespaceObject = require("@tego/client");
|
|
32
32
|
const external_antd_namespaceObject = require("antd");
|
|
33
33
|
const external_ReadPretty_js_namespaceObject = require("./ReadPretty.js");
|
|
34
34
|
const mapTimeFormat = function() {
|
|
@@ -38,9 +38,9 @@ const mapTimeFormat = function() {
|
|
|
38
38
|
return {
|
|
39
39
|
...props,
|
|
40
40
|
format,
|
|
41
|
-
value: (0,
|
|
41
|
+
value: (0, client_namespaceObject.dayjsable)(props.value, format),
|
|
42
42
|
onChange: (value)=>{
|
|
43
|
-
if (onChange) onChange((0,
|
|
43
|
+
if (onChange) onChange((0, client_namespaceObject.formatDayjsValue)(value, format) || null);
|
|
44
44
|
}
|
|
45
45
|
};
|
|
46
46
|
};
|
|
@@ -37,8 +37,8 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
37
37
|
});
|
|
38
38
|
const jsx_runtime_namespaceObject = require("react/jsx-runtime");
|
|
39
39
|
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_antd_namespaceObject = require("antd");
|
|
43
43
|
const external_classnames_namespaceObject = require("classnames");
|
|
44
44
|
var external_classnames_default = /*#__PURE__*/ __webpack_require__.n(external_classnames_namespaceObject);
|
|
@@ -46,7 +46,7 @@ const ReadPretty = (0, schema_namespaceObject.observer)((props)=>{
|
|
|
46
46
|
var _field_dataSource, _props_treeData;
|
|
47
47
|
const field = (0, schema_namespaceObject.useField)();
|
|
48
48
|
const { placeholder } = props;
|
|
49
|
-
const prefixCls = (0,
|
|
49
|
+
const prefixCls = (0, client_namespaceObject.usePrefixCls)("description-tree-select", props);
|
|
50
50
|
const dataSource = (null == field ? void 0 : null == (_field_dataSource = field.dataSource) ? void 0 : _field_dataSource.length) ? field.dataSource : (null == props ? void 0 : null == (_props_treeData = props.treeData) ? void 0 : _props_treeData.length) ? props.treeData : [];
|
|
51
51
|
const getSelected = ()=>{
|
|
52
52
|
const value = props.value;
|
|
@@ -38,10 +38,9 @@ __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");
|
|
43
|
-
const client_namespaceObject = require("@tachybase/utils/client");
|
|
44
42
|
const icons_namespaceObject = require("@ant-design/icons");
|
|
43
|
+
const client_namespaceObject = require("@tego/client");
|
|
45
44
|
const external_antd_namespaceObject = require("antd");
|
|
46
45
|
const style_namespaceObject = require("antd/es/upload/style");
|
|
47
46
|
var style_default = /*#__PURE__*/ __webpack_require__.n(style_namespaceObject);
|
|
@@ -94,7 +93,7 @@ ReadPretty.File = function(props) {
|
|
|
94
93
|
})
|
|
95
94
|
})
|
|
96
95
|
}),
|
|
97
|
-
visible && /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(
|
|
96
|
+
visible && /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(client_namespaceObject.Lightbox, {
|
|
98
97
|
mainSrc: null == (_images_fileIndex = images[fileIndex]) ? void 0 : _images_fileIndex.imageUrl,
|
|
99
98
|
nextSrc: null == (_images_ = images[(fileIndex + 1) % images.length]) ? void 0 : _images_.imageUrl,
|
|
100
99
|
prevSrc: null == (_images_1 = images[(fileIndex + images.length - 1) % images.length]) ? void 0 : _images_1.imageUrl,
|
|
@@ -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_classnames_namespaceObject = require("classnames");
|
|
47
47
|
var external_classnames_default = /*#__PURE__*/ __webpack_require__.n(external_classnames_namespaceObject);
|
|
@@ -155,7 +155,7 @@ Upload_Upload.Attachment = (0, schema_namespaceObject.connect)((props)=>{
|
|
|
155
155
|
]
|
|
156
156
|
})
|
|
157
157
|
}),
|
|
158
|
-
visible && /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(
|
|
158
|
+
visible && /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(client_namespaceObject.Lightbox, {
|
|
159
159
|
mainSrc: null == (_images_fileIndex = images[fileIndex]) ? void 0 : _images_fileIndex.imageUrl,
|
|
160
160
|
nextSrc: null == (_images_ = images[(fileIndex + 1) % images.length]) ? void 0 : _images_.imageUrl,
|
|
161
161
|
prevSrc: null == (_images_1 = images[(fileIndex + images.length - 1) % images.length]) ? void 0 : _images_1.imageUrl,
|
|
@@ -28,8 +28,8 @@ __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");
|
|
32
|
+
const client_namespaceObject = require("@tego/client");
|
|
33
33
|
const external_lodash_namespaceObject = require("lodash");
|
|
34
34
|
const external_index_js_namespaceObject = require("../../../index.js");
|
|
35
35
|
const external_VariableSelect_js_namespaceObject = require("./VariableSelect.js");
|
|
@@ -113,7 +113,7 @@ const CodeMirror = (props)=>{
|
|
|
113
113
|
})
|
|
114
114
|
]
|
|
115
115
|
}),
|
|
116
|
-
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(
|
|
116
|
+
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(client_namespaceObject.CodeMirror, {
|
|
117
117
|
className: (0, external_index_js_namespaceObject.css)(_templateObject3()),
|
|
118
118
|
value: codeValue,
|
|
119
119
|
defaultLanguage: "Plain Text",
|
|
@@ -39,8 +39,8 @@ const jsx_runtime_namespaceObject = require("react/jsx-runtime");
|
|
|
39
39
|
const external_react_namespaceObject = require("react");
|
|
40
40
|
var external_react_default = /*#__PURE__*/ __webpack_require__.n(external_react_namespaceObject);
|
|
41
41
|
const schema_namespaceObject = require("@tachybase/schema");
|
|
42
|
-
const client_namespaceObject = require("@tachybase/utils/client");
|
|
43
42
|
const icons_namespaceObject = require("@ant-design/icons");
|
|
43
|
+
const client_namespaceObject = require("@tego/client");
|
|
44
44
|
const external_antd_namespaceObject = require("antd");
|
|
45
45
|
const external_antd_style_namespaceObject = require("antd-style");
|
|
46
46
|
const external_classnames_namespaceObject = require("classnames");
|
|
@@ -38,7 +38,7 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
38
38
|
const jsx_runtime_namespaceObject = require("react/jsx-runtime");
|
|
39
39
|
const external_react_namespaceObject = require("react");
|
|
40
40
|
const schema_namespaceObject = require("@tachybase/schema");
|
|
41
|
-
const client_namespaceObject = require("@
|
|
41
|
+
const client_namespaceObject = require("@tego/client");
|
|
42
42
|
const external_antd_namespaceObject = require("antd");
|
|
43
43
|
const external_classnames_namespaceObject = require("classnames");
|
|
44
44
|
var external_classnames_default = /*#__PURE__*/ __webpack_require__.n(external_classnames_namespaceObject);
|
|
@@ -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_react_i18next_namespaceObject = require("react-i18next");
|
|
@@ -47,20 +47,19 @@ const DragHandlePageTab = (props)=>{
|
|
|
47
47
|
x: 0,
|
|
48
48
|
y: 0
|
|
49
49
|
});
|
|
50
|
-
const centerOffset = {
|
|
51
|
-
x: 4 * dimensions.width,
|
|
52
|
-
y: 3 * dimensions.height
|
|
53
|
-
};
|
|
54
50
|
const style = {
|
|
55
51
|
position: isDragging ? 'fixed' : 'static',
|
|
56
|
-
top: isDragging ? initialPosition.y -
|
|
57
|
-
left: isDragging ? initialPosition.x -
|
|
52
|
+
top: isDragging ? initialPosition.y - 5 * dimensions.height : 0,
|
|
53
|
+
left: isDragging ? initialPosition.x - dimensions.width : 0,
|
|
58
54
|
width: isDragging ? 'max-content' : '100%',
|
|
59
55
|
height: isDragging ? 'max-content' : '100%',
|
|
60
56
|
zIndex: isDragging ? 999 : 'auto',
|
|
61
57
|
pointerEvents: isDragging ? 'none' : 'auto',
|
|
62
58
|
transform: transform ? "translate3d(".concat(transform.x, "px, ").concat(transform.y, "px, 0) scale(").concat(isDragging ? 1.05 : 1, ")") : void 0,
|
|
63
|
-
boxShadow: isDragging ? '0 4px
|
|
59
|
+
boxShadow: isDragging ? '0 8px 24px 4px rgba(0,0,0,0.18)' : 'none',
|
|
60
|
+
WebkitTransform: transform ? "translate3d(".concat(transform.x, "px, ").concat(transform.y, "px, 0) scale(").concat(isDragging ? 1.05 : 1, ")") : void 0,
|
|
61
|
+
WebkitPerspective: isDragging ? 1000 : void 0,
|
|
62
|
+
isolation: isDragging ? 'isolate' : void 0
|
|
64
63
|
};
|
|
65
64
|
const handleMouseDown = (event)=>{
|
|
66
65
|
if (ref.current) {
|
|
@@ -42,8 +42,8 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
42
42
|
});
|
|
43
43
|
const jsx_runtime_namespaceObject = require("react/jsx-runtime");
|
|
44
44
|
const external_react_namespaceObject = require("react");
|
|
45
|
-
const components_namespaceObject = require("@tachybase/components");
|
|
46
45
|
const schema_namespaceObject = require("@tachybase/schema");
|
|
46
|
+
const client_namespaceObject = require("@tego/client");
|
|
47
47
|
const external_antd_namespaceObject = require("antd");
|
|
48
48
|
const external_lodash_namespaceObject = require("lodash");
|
|
49
49
|
var external_lodash_default = /*#__PURE__*/ __webpack_require__.n(external_lodash_namespaceObject);
|
|
@@ -150,7 +150,7 @@ const FieldComponentProps = (0, schema_namespaceObject.observer)((props)=>{
|
|
|
150
150
|
...scope
|
|
151
151
|
},
|
|
152
152
|
components: {
|
|
153
|
-
ArrayItems:
|
|
153
|
+
ArrayItems: client_namespaceObject.ArrayItems,
|
|
154
154
|
FormItem: external_schema_component_index_js_namespaceObject.FormItem,
|
|
155
155
|
Space: external_antd_namespaceObject.Space
|
|
156
156
|
},
|
|
@@ -239,7 +239,7 @@ const FilterCustomItemInitializer = /*#__PURE__*/ (0, external_react_namespaceOb
|
|
|
239
239
|
FieldComponentProps,
|
|
240
240
|
Select: external_schema_component_index_js_namespaceObject.Select
|
|
241
241
|
},
|
|
242
|
-
children: /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(
|
|
242
|
+
children: /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(client_namespaceObject.FormLayout, {
|
|
243
243
|
layout: 'vertical',
|
|
244
244
|
children: /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(external_antd_namespaceObject.ConfigProvider, {
|
|
245
245
|
locale: locale,
|
|
@@ -364,7 +364,7 @@ const FilterCustomItemInitializer = /*#__PURE__*/ (0, external_react_namespaceOb
|
|
|
364
364
|
'x-decorator': 'FilterFormItem',
|
|
365
365
|
'x-decorator-props': collection,
|
|
366
366
|
'x-component-props': {
|
|
367
|
-
...defaultSchema['x-component-props']
|
|
367
|
+
...defaultSchema['x-component-props'],
|
|
368
368
|
fieldNames: {
|
|
369
369
|
label: titleField,
|
|
370
370
|
value: titleField
|