@nocobase/client 2.1.0-alpha.4 → 2.1.0-alpha.40
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/LICENSE +201 -661
- package/README.md +79 -10
- package/es/ai/index.d.ts +2 -3
- package/es/api-client/APIClient.d.ts +1 -2
- package/es/application/Application.d.ts +68 -140
- package/es/application/CustomRouterContextProvider.d.ts +1 -0
- package/es/application/Plugin.d.ts +2 -24
- package/es/application/PluginManager.d.ts +7 -36
- package/es/application/PluginSettingsManager.d.ts +103 -7
- package/es/application/RouteRepository.d.ts +1 -15
- package/es/application/RouterManager.d.ts +4 -44
- package/es/application/WebSocketClient.d.ts +2 -36
- package/es/application/components/index.d.ts +0 -2
- package/es/application/hooks/usePlugin.d.ts +2 -2
- package/es/application/schema-initializer/context/index.d.ts +1 -1
- package/es/application/schema-settings/hooks/useSchemaSettingsRender.d.ts +2 -2
- package/es/application/utils/globalDeps.d.ts +7 -0
- package/es/application/utils/remotePlugins.d.ts +9 -6
- package/es/block-provider/BlockProvider.d.ts +1 -0
- package/es/block-provider/TableBlockContextBasicValue.d.ts +25 -0
- package/es/block-provider/TableBlockProvider.d.ts +0 -11
- package/es/block-provider/index.d.ts +1 -0
- package/es/collection-manager/hooks/useCollection_deprecated.d.ts +2 -2
- package/es/collection-manager/templates/sql.d.ts +4 -4
- package/es/collection-manager/templates/view.d.ts +15 -15
- package/es/data-source/collection/utils.d.ts +3 -3
- package/es/data-source/data-block/DataBlockProvider.d.ts +1 -1
- package/es/global-theme/AntdAppProvider.d.ts +1 -10
- package/es/global-theme/compatOldTheme.d.ts +1 -3
- package/es/global-theme/customAlgorithm.d.ts +1 -7
- package/es/global-theme/defaultTheme.d.ts +1 -3
- package/es/global-theme/index.d.ts +2 -29
- package/es/global-theme/type.d.ts +1 -56
- package/es/index.css +1 -1
- package/es/index.d.ts +1 -1
- package/es/index.mjs +1498 -107768
- package/es/index.mjs.LICENSE.txt +8 -0
- package/es/lazy-helper/index.d.ts +8 -6
- package/es/modules/actions/associate/utils.d.ts +18 -0
- package/es/modules/actions/link/useURLAndHTMLSchema.d.ts +1 -0
- package/es/modules/blocks/BlockSchemaToolbar.d.ts +1 -1
- package/es/plugin-manager/PinnedPluginListProvider.d.ts +2 -1
- package/es/plugin-manager/context.d.ts +1 -4
- package/es/{flow/models/actions/JSActionModel.d.ts → pm/AdminSettingsLayoutModel.d.ts} +2 -4
- package/es/pm/PluginSetting.d.ts +2 -1
- package/es/pm/index.d.ts +1 -0
- package/es/{flow/components/placeholders/FieldPlaceholder.d.ts → route-switch/antd/admin-layout/AdminDynamicPage.d.ts} +1 -1
- package/es/route-switch/antd/admin-layout/AdminLayoutCompat.d.ts +32 -0
- package/es/route-switch/antd/admin-layout/AdminLayoutComponentV1.d.ts +15 -0
- package/es/route-switch/antd/admin-layout/AdminLayoutMenuFlowUtils.d.ts +107 -0
- package/es/route-switch/antd/admin-layout/AdminLayoutMenuModels.d.ts +68 -0
- package/es/route-switch/antd/admin-layout/AdminLayoutMenuUtils.d.ts +164 -0
- package/es/route-switch/antd/admin-layout/AdminLayoutModel.d.ts +33 -0
- package/es/{application/components/MainComponent.d.ts → route-switch/antd/admin-layout/AdminShellProvider.d.ts} +4 -2
- package/es/{flow/components/drag-drop/Sortable.d.ts → route-switch/antd/admin-layout/ResetThemeTokenAndKeepAlgorithm.d.ts} +4 -3
- package/es/{ai/tools-manager/hooks/provider.d.ts → route-switch/antd/admin-layout/badge.d.ts} +3 -8
- package/es/route-switch/antd/admin-layout/index.d.ts +12 -23
- package/es/{ai/ai-manager.d.ts → route-switch/antd/admin-layout/mobileMenuNavigation.d.ts} +7 -7
- package/es/route-switch/antd/admin-layout/route-runtime.d.ts +20 -0
- package/es/route-switch/antd/admin-layout/{convertRoutesToSchema.d.ts → route-types.d.ts} +5 -1
- package/es/route-switch/antd/admin-layout/route-utils.d.ts +13 -0
- package/es/schema-component/antd/__builtins__/hooks/useToken.d.ts +1 -1
- package/es/schema-component/antd/__builtins__/style.d.ts +1 -1
- package/es/schema-component/antd/association-field/Table.d.ts +0 -57
- package/es/schema-component/antd/association-field/hooks.d.ts +1 -1
- package/es/schema-component/antd/date-picker/DatePicker.d.ts +26 -0
- package/es/schema-component/antd/expand-action/Expand.Action.d.ts +1 -1
- package/es/schema-component/antd/form-v2/Form.d.ts +5 -0
- package/es/schema-component/antd/menu/Menu.d.ts +2 -2
- package/es/schema-component/antd/page/Page.d.ts +1 -0
- package/es/schema-component/antd/page/pagePopupUtils.d.ts +1 -1
- package/es/schema-component/antd/upload/shared.d.ts +4 -0
- package/es/schema-initializer/components/CreateRecordAction.d.ts +1 -1
- package/es/schema-settings/GeneralSchemaDesigner.d.ts +2 -1
- package/es/schema-settings/SchemaSettings.d.ts +3 -1
- package/es/schema-settings/SchemaSettingsDefaultValue.d.ts +18 -0
- package/es/schema-settings/VariableInput/hooks/useParentIterationVariable.d.ts +3 -3
- package/es/style/index.d.ts +1 -1
- package/es/style/useToken.d.ts +1 -1
- package/es/system-settings/SystemSettingsProvider.d.ts +1 -6
- package/es/system-settings/SystemSettingsShortcut.d.ts +7 -0
- package/es/{flow/components/drag-drop/index.d.ts → system-settings/SystemSettingsSource.d.ts} +1 -2
- package/es/system-settings/index.d.ts +2 -1
- package/lib/index.css +1 -1
- package/lib/index.js +1538 -2130
- package/lib/index.js.LICENSE.txt +1 -0
- package/lib/locale/de-DE.json +5 -4
- package/lib/locale/en-US.json +19 -3
- package/lib/locale/es-ES.json +5 -4
- package/lib/locale/fr-FR.json +5 -4
- package/lib/locale/hu-HU.json +5 -4
- package/lib/locale/id-ID.json +5 -4
- package/lib/locale/it-IT.json +5 -4
- package/lib/locale/ja-JP.json +5 -4
- package/lib/locale/ko-KR.json +5 -4
- package/lib/locale/nl-NL.json +5 -4
- package/lib/locale/pt-BR.json +5 -4
- package/lib/locale/ru-RU.json +5 -4
- package/lib/locale/tr-TR.json +5 -4
- package/lib/locale/uk-UA.json +5 -4
- package/lib/locale/vi-VN.json +5 -4
- package/lib/locale/zh-CN.json +21 -5
- package/lib/locale/zh-TW.json +5 -4
- package/package.json +10 -9
- package/es/ai/tools-manager/hooks/context.d.ts +0 -17
- package/es/ai/tools-manager/hooks/index.d.ts +0 -11
- package/es/ai/tools-manager/index.d.ts +0 -21
- package/es/ai/tools-manager/types.d.ts +0 -80
- package/es/ai/utils.d.ts +0 -10
- package/es/application/components/AppComponent.d.ts +0 -14
- package/es/application/components/defaultComponents.d.ts +0 -19
- package/es/application/globalOperators.d.ts +0 -11
- package/es/flow/FlowModelRepository.d.ts +0 -36
- package/es/flow/FlowPage.d.ts +0 -20
- package/es/flow/actions/aclCheck.d.ts +0 -9
- package/es/flow/actions/aclCheckRefresh.d.ts +0 -9
- package/es/flow/actions/blockHeight.d.ts +0 -9
- package/es/flow/actions/columnFixed.d.ts +0 -9
- package/es/flow/actions/confirm.d.ts +0 -9
- package/es/flow/actions/customVariable.d.ts +0 -9
- package/es/flow/actions/dataLoadingMode.d.ts +0 -9
- package/es/flow/actions/dataScope.d.ts +0 -9
- package/es/flow/actions/dateTimeFormat.d.ts +0 -9
- package/es/flow/actions/displayFieldComponent.d.ts +0 -19
- package/es/flow/actions/fieldComponent.d.ts +0 -9
- package/es/flow/actions/filterFormDefaultValues.d.ts +0 -9
- package/es/flow/actions/formAssignRules.d.ts +0 -9
- package/es/flow/actions/index.d.ts +0 -39
- package/es/flow/actions/layout.d.ts +0 -10
- package/es/flow/actions/linkageRules.d.ts +0 -23
- package/es/flow/actions/linkageRulesRefresh.d.ts +0 -9
- package/es/flow/actions/navigateToURL.d.ts +0 -9
- package/es/flow/actions/numberFormat.d.ts +0 -9
- package/es/flow/actions/openView.d.ts +0 -15
- package/es/flow/actions/overflowMode.d.ts +0 -9
- package/es/flow/actions/pattern.d.ts +0 -9
- package/es/flow/actions/refreshTargetBlocks.d.ts +0 -9
- package/es/flow/actions/renderMode.d.ts +0 -9
- package/es/flow/actions/required.d.ts +0 -9
- package/es/flow/actions/runjs.d.ts +0 -9
- package/es/flow/actions/setTargetDataScope.d.ts +0 -10
- package/es/flow/actions/showMessage.d.ts +0 -9
- package/es/flow/actions/showNotification.d.ts +0 -9
- package/es/flow/actions/sortingRules.d.ts +0 -9
- package/es/flow/actions/titleField.d.ts +0 -9
- package/es/flow/actions/validation.d.ts +0 -9
- package/es/flow/common/Liquid.d.ts +0 -33
- package/es/flow/common/Markdown/Display.d.ts +0 -9
- package/es/flow/common/Markdown/Edit.d.ts +0 -23
- package/es/flow/common/Markdown/Markdown.d.ts +0 -24
- package/es/flow/common/Markdown/style.d.ts +0 -10
- package/es/flow/common/Markdown/useCDN.d.ts +0 -9
- package/es/flow/components/BlockItemCard.d.ts +0 -16
- package/es/flow/components/ConditionBuilder.d.ts +0 -17
- package/es/flow/components/DefaultValue.d.ts +0 -20
- package/es/flow/components/DynamicFlowsIcon.d.ts +0 -13
- package/es/flow/components/EllipsisWithTooltip.d.ts +0 -17
- package/es/flow/components/ExpiresRadio/index.d.ts +0 -12
- package/es/flow/components/FieldAssignEditor.d.ts +0 -32
- package/es/flow/components/FieldAssignExactDatePicker.d.ts +0 -23
- package/es/flow/components/FieldAssignRulesEditor.d.ts +0 -70
- package/es/flow/components/FieldAssignValueInput.d.ts +0 -63
- package/es/flow/components/Grid/index.d.ts +0 -26
- package/es/flow/components/JsonEditor.d.ts +0 -19
- package/es/flow/components/RunJSValueEditor.d.ts +0 -19
- package/es/flow/components/SkeletonFallback.d.ts +0 -10
- package/es/flow/components/TextAreaWithContextSelector.d.ts +0 -30
- package/es/flow/components/code-editor/core/EditorCore.d.ts +0 -25
- package/es/flow/components/code-editor/errorHelpers.d.ts +0 -17
- package/es/flow/components/code-editor/extension/CodeEditorExtension.d.ts +0 -14
- package/es/flow/components/code-editor/extension/index.d.ts +0 -9
- package/es/flow/components/code-editor/formatDocInfo.d.ts +0 -17
- package/es/flow/components/code-editor/hooks/useCodeRunner.d.ts +0 -23
- package/es/flow/components/code-editor/hooks/useRunJSDocCompletions.d.ts +0 -15
- package/es/flow/components/code-editor/htmlCompletion.d.ts +0 -11
- package/es/flow/components/code-editor/index.d.ts +0 -31
- package/es/flow/components/code-editor/javascriptCompletion.d.ts +0 -11
- package/es/flow/components/code-editor/javascriptHtmlTemplate.d.ts +0 -16
- package/es/flow/components/code-editor/jsxCompletion.d.ts +0 -10
- package/es/flow/components/code-editor/linter.d.ts +0 -19
- package/es/flow/components/code-editor/panels/LogsPanel.d.ts +0 -15
- package/es/flow/components/code-editor/panels/RightExtra.d.ts +0 -18
- package/es/flow/components/code-editor/panels/SnippetsDrawer.d.ts +0 -18
- package/es/flow/components/code-editor/runjsCompletionSource.d.ts +0 -20
- package/es/flow/components/code-editor/runjsCompletions.d.ts +0 -23
- package/es/flow/components/code-editor/runjsDiagnostics.d.ts +0 -43
- package/es/flow/components/code-editor/types.d.ts +0 -32
- package/es/flow/components/drag-drop/SortableItem.d.ts +0 -12
- package/es/flow/components/fieldAssignOptions.d.ts +0 -23
- package/es/flow/components/filter/FilterContainer.d.ts +0 -67
- package/es/flow/components/filter/FilterGroup.d.ts +0 -66
- package/es/flow/components/filter/FilterItem.d.ts +0 -40
- package/es/flow/components/filter/LinkageFilterItem.d.ts +0 -28
- package/es/flow/components/filter/VariableFilterItem.d.ts +0 -37
- package/es/flow/components/filter/fieldsToOptions.d.ts +0 -9
- package/es/flow/components/filter/index.d.ts +0 -16
- package/es/flow/components/index.d.ts +0 -14
- package/es/flow/components/placeholders/BlockPlaceholder.d.ts +0 -11
- package/es/flow/components/useAssociationTitleFieldSync.d.ts +0 -13
- package/es/flow/flows/editMarkdownFlow.d.ts +0 -10
- package/es/flow/flows/openViewFlow.d.ts +0 -17
- package/es/flow/formily/ReactiveField.d.ts +0 -19
- package/es/flow/formily/index.d.ts +0 -8
- package/es/flow/getViewDiffAndUpdateHidden.d.ts +0 -21
- package/es/flow/index.d.ts +0 -24
- package/es/flow/internal/components/Markdown/DisplayMarkdown.d.ts +0 -10
- package/es/flow/internal/components/Markdown/markdown-it-plugins/mermaidPlugin.d.ts +0 -13
- package/es/flow/internal/components/Markdown/md.d.ts +0 -11
- package/es/flow/internal/components/Markdown/style.d.ts +0 -9
- package/es/flow/internal/components/Markdown/util.d.ts +0 -15
- package/es/flow/internal/constants/HeightMode.d.ts +0 -13
- package/es/flow/internal/index.d.ts +0 -11
- package/es/flow/internal/utils/associationValueCoercion.d.ts +0 -15
- package/es/flow/internal/utils/dateTimeUtils.d.ts +0 -10
- package/es/flow/internal/utils/enumOptionsUtils.d.ts +0 -23
- package/es/flow/internal/utils/modelUtils.d.ts +0 -23
- package/es/flow/internal/utils/operatorSchemaHelper.d.ts +0 -15
- package/es/flow/internal/utils/rebuildFieldSubModel.d.ts +0 -33
- package/es/flow/internal/utils/saveStepParamsWithSubModels.d.ts +0 -11
- package/es/flow/internal/utils/titleFieldQuickSync.d.ts +0 -35
- package/es/flow/models/actions/AddChildActionModel.d.ts +0 -15
- package/es/flow/models/actions/AddNewActionModel.d.ts +0 -16
- package/es/flow/models/actions/BulkDeleteActionModel.d.ts +0 -15
- package/es/flow/models/actions/DeleteActionModel.d.ts +0 -15
- package/es/flow/models/actions/EditActionModel.d.ts +0 -16
- package/es/flow/models/actions/ExpandCollapseActionModel.d.ts +0 -19
- package/es/flow/models/actions/FilterActionModel.d.ts +0 -26
- package/es/flow/models/actions/JSCollectionActionModel.d.ts +0 -14
- package/es/flow/models/actions/JSRecordActionModel.d.ts +0 -14
- package/es/flow/models/actions/LinkActionModel.d.ts +0 -18
- package/es/flow/models/actions/PopupCollectionActionModel.d.ts +0 -14
- package/es/flow/models/actions/RefreshActionModel.d.ts +0 -14
- package/es/flow/models/actions/UpdateRecordActionModel.d.ts +0 -27
- package/es/flow/models/actions/ViewActionModel.d.ts +0 -15
- package/es/flow/models/actions/index.d.ts +0 -23
- package/es/flow/models/base/ActionGroupModel.d.ts +0 -28
- package/es/flow/models/base/ActionModel.d.ts +0 -45
- package/es/flow/models/base/AssociationFieldGroupModel.d.ts +0 -49
- package/es/flow/models/base/BlockGridModel.d.ts +0 -21
- package/es/flow/models/base/BlockModel.d.ts +0 -31
- package/es/flow/models/base/CollectionActionModel.d.ts +0 -12
- package/es/flow/models/base/CollectionBlockModel.d.ts +0 -89
- package/es/flow/models/base/CommonItemModel.d.ts +0 -11
- package/es/flow/models/base/DataBlockModel.d.ts +0 -12
- package/es/flow/models/base/FieldModel.d.ts +0 -17
- package/es/flow/models/base/FilterBlockModel.d.ts +0 -12
- package/es/flow/models/base/GridModel.d.ts +0 -98
- package/es/flow/models/base/PageModel/ChildPageModel.d.ts +0 -20
- package/es/flow/models/base/PageModel/MainPageModel.d.ts +0 -17
- package/es/flow/models/base/PageModel/OldPageModel.d.ts +0 -21
- package/es/flow/models/base/PageModel/PageModel.d.ts +0 -53
- package/es/flow/models/base/PageModel/PageTabModel.d.ts +0 -42
- package/es/flow/models/base/PageModel/RootPageModel.d.ts +0 -16
- package/es/flow/models/base/PageModel/SubPageModel.d.ts +0 -17
- package/es/flow/models/base/PageModel/index.d.ts +0 -14
- package/es/flow/models/base/PopupActionModel.d.ts +0 -13
- package/es/flow/models/base/RecordActionModel.d.ts +0 -12
- package/es/flow/models/base/RouteModel.d.ts +0 -11
- package/es/flow/models/base/index.d.ts +0 -24
- package/es/flow/models/blocks/assign-form/AssignFormGridModel.d.ts +0 -15
- package/es/flow/models/blocks/assign-form/AssignFormItemModel.d.ts +0 -22
- package/es/flow/models/blocks/assign-form/AssignFormModel.d.ts +0 -26
- package/es/flow/models/blocks/assign-form/index.d.ts +0 -11
- package/es/flow/models/blocks/details/DetailsAssociationFieldGroupModel.d.ts +0 -12
- package/es/flow/models/blocks/details/DetailsBlockModel.d.ts +0 -37
- package/es/flow/models/blocks/details/DetailsCustomItemModel.d.ts +0 -13
- package/es/flow/models/blocks/details/DetailsGridModel.d.ts +0 -33
- package/es/flow/models/blocks/details/DetailsItemModel.d.ts +0 -53
- package/es/flow/models/blocks/details/DetailsJSFieldItemModel.d.ts +0 -19
- package/es/flow/models/blocks/details/index.d.ts +0 -14
- package/es/flow/models/blocks/details/utils.d.ts +0 -16
- package/es/flow/models/blocks/filter-form/FieldModelSelect.d.ts +0 -10
- package/es/flow/models/blocks/filter-form/FieldOperatorSelect.d.ts +0 -10
- package/es/flow/models/blocks/filter-form/FilterFormActionGroupModel.d.ts +0 -13
- package/es/flow/models/blocks/filter-form/FilterFormActionModel.d.ts +0 -11
- package/es/flow/models/blocks/filter-form/FilterFormBlockModel.d.ts +0 -39
- package/es/flow/models/blocks/filter-form/FilterFormCollapseActionModel.d.ts +0 -18
- package/es/flow/models/blocks/filter-form/FilterFormCustomItemModel.d.ts +0 -13
- package/es/flow/models/blocks/filter-form/FilterFormGridModel.d.ts +0 -32
- package/es/flow/models/blocks/filter-form/FilterFormItemModel.d.ts +0 -59
- package/es/flow/models/blocks/filter-form/FilterFormJSActionModel.d.ts +0 -11
- package/es/flow/models/blocks/filter-form/FilterFormResetActionModel.d.ts +0 -13
- package/es/flow/models/blocks/filter-form/FilterFormSubmitActionModel.d.ts +0 -15
- package/es/flow/models/blocks/filter-form/SourceCascader.d.ts +0 -10
- package/es/flow/models/blocks/filter-form/customFieldOperators.d.ts +0 -34
- package/es/flow/models/blocks/filter-form/fields/FieldComponentProps.d.ts +0 -13
- package/es/flow/models/blocks/filter-form/fields/FilterFormCustomFieldModel.d.ts +0 -52
- package/es/flow/models/blocks/filter-form/fields/FilterFormCustomRecordSelectFieldModel.d.ts +0 -20
- package/es/flow/models/blocks/filter-form/fields/FilterFormFieldModel.d.ts +0 -11
- package/es/flow/models/blocks/filter-form/fields/FilterFormRecordSelectFieldModel.d.ts +0 -12
- package/es/flow/models/blocks/filter-form/fields/date-time/DateOnlyFilterFieldModel.d.ts +0 -14
- package/es/flow/models/blocks/filter-form/fields/date-time/DateTimeFilterFieldModel.d.ts +0 -13
- package/es/flow/models/blocks/filter-form/fields/date-time/DateTimeNoTzFilterFieldModel.d.ts +0 -13
- package/es/flow/models/blocks/filter-form/fields/date-time/DateTimeTzFilterFieldModel.d.ts +0 -14
- package/es/flow/models/blocks/filter-form/fields/date-time/components/DateFilterDynamicComponent.d.ts +0 -10
- package/es/flow/models/blocks/filter-form/fields/date-time/components/FilterDatePicker.d.ts +0 -10
- package/es/flow/models/blocks/filter-form/fields/date-time/components/FilterRangePicker.d.ts +0 -10
- package/es/flow/models/blocks/filter-form/fields/date-time/index.d.ts +0 -12
- package/es/flow/models/blocks/filter-form/fields/index.d.ts +0 -13
- package/es/flow/models/blocks/filter-form/index.d.ts +0 -23
- package/es/flow/models/blocks/filter-form/legacyDefaultValueMigration.d.ts +0 -13
- package/es/flow/models/blocks/filter-form/valueNormalization.d.ts +0 -17
- package/es/flow/models/blocks/filter-manager/FilterManager.d.ts +0 -141
- package/es/flow/models/blocks/filter-manager/flow-actions/connectFields.d.ts +0 -10
- package/es/flow/models/blocks/filter-manager/flow-actions/customizeFilterRender.d.ts +0 -10
- package/es/flow/models/blocks/filter-manager/flow-actions/defaultOperator.d.ts +0 -9
- package/es/flow/models/blocks/filter-manager/flow-actions/index.d.ts +0 -12
- package/es/flow/models/blocks/filter-manager/flow-actions/operatorComponentProps.d.ts +0 -10
- package/es/flow/models/blocks/filter-manager/index.d.ts +0 -11
- package/es/flow/models/blocks/filter-manager/utils.d.ts +0 -21
- package/es/flow/models/blocks/form/CreateFormModel.d.ts +0 -21
- package/es/flow/models/blocks/form/EditFormModel.d.ts +0 -24
- package/es/flow/models/blocks/form/FormActionGroupModel.d.ts +0 -13
- package/es/flow/models/blocks/form/FormActionModel.d.ts +0 -21
- package/es/flow/models/blocks/form/FormAssociationFieldGroupModel.d.ts +0 -12
- package/es/flow/models/blocks/form/FormAssociationItemModel.d.ts +0 -39
- package/es/flow/models/blocks/form/FormBlockModel.d.ts +0 -95
- package/es/flow/models/blocks/form/FormCustomItemModel.d.ts +0 -13
- package/es/flow/models/blocks/form/FormGridModel.d.ts +0 -34
- package/es/flow/models/blocks/form/FormItemModel.d.ts +0 -39
- package/es/flow/models/blocks/form/FormJSFieldItemModel.d.ts +0 -18
- package/es/flow/models/blocks/form/JSFormActionModel.d.ts +0 -11
- package/es/flow/models/blocks/form/QuickEditFormModel.d.ts +0 -38
- package/es/flow/models/blocks/form/assignRulesUpdateAssociationValues.d.ts +0 -18
- package/es/flow/models/blocks/form/dynamicNamePath.d.ts +0 -19
- package/es/flow/models/blocks/form/index.d.ts +0 -21
- package/es/flow/models/blocks/form/legacyDefaultValueMigration.d.ts +0 -13
- package/es/flow/models/blocks/form/submitHandler.d.ts +0 -9
- package/es/flow/models/blocks/form/submitValues.d.ts +0 -19
- package/es/flow/models/blocks/form/value-runtime/conditions.d.ts +0 -9
- package/es/flow/models/blocks/form/value-runtime/deps.d.ts +0 -23
- package/es/flow/models/blocks/form/value-runtime/form-patch.d.ts +0 -19
- package/es/flow/models/blocks/form/value-runtime/index.d.ts +0 -11
- package/es/flow/models/blocks/form/value-runtime/path.d.ts +0 -25
- package/es/flow/models/blocks/form/value-runtime/rules.d.ts +0 -129
- package/es/flow/models/blocks/form/value-runtime/runtime.d.ts +0 -75
- package/es/flow/models/blocks/form/value-runtime/types.d.ts +0 -62
- package/es/flow/models/blocks/form/value-runtime/utils.d.ts +0 -12
- package/es/flow/models/blocks/index.d.ts +0 -15
- package/es/flow/models/blocks/js-block/JSBlock.d.ts +0 -16
- package/es/flow/models/blocks/js-block/index.d.ts +0 -9
- package/es/flow/models/blocks/shared/legacyDefaultValueMigrationBase.d.ts +0 -20
- package/es/flow/models/blocks/table/JSColumnModel.d.ts +0 -21
- package/es/flow/models/blocks/table/TableActionsColumnModel.d.ts +0 -18
- package/es/flow/models/blocks/table/TableAssociationFieldGroupModel.d.ts +0 -12
- package/es/flow/models/blocks/table/TableBlockModel.d.ts +0 -90
- package/es/flow/models/blocks/table/TableColumnModel.d.ts +0 -27
- package/es/flow/models/blocks/table/TableCustomColumnModel.d.ts +0 -12
- package/es/flow/models/blocks/table/TableJSFieldItemModel.d.ts +0 -19
- package/es/flow/models/blocks/table/TableSelectModel.d.ts +0 -14
- package/es/flow/models/blocks/table/dragSort/dragSortComponents.d.ts +0 -14
- package/es/flow/models/blocks/table/dragSort/dragSortHooks.d.ts +0 -13
- package/es/flow/models/blocks/table/dragSort/dragSortSettings.d.ts +0 -39
- package/es/flow/models/blocks/table/dragSort/dragSortUtils.d.ts +0 -37
- package/es/flow/models/blocks/table/dragSort/index.d.ts +0 -12
- package/es/flow/models/blocks/table/index.d.ts +0 -16
- package/es/flow/models/blocks/table/utils.d.ts +0 -18
- package/es/flow/models/blocks/utils/transformChildrenToJS.d.ts +0 -42
- package/es/flow/models/fields/AssociationFieldModel/AssociationFieldModel.d.ts +0 -4
- package/es/flow/models/fields/AssociationFieldModel/CascadeSelectFieldModel.d.ts +0 -45
- package/es/flow/models/fields/AssociationFieldModel/PopupSubTableFieldModel/PopupSubTableActionGroupModel.d.ts +0 -11
- package/es/flow/models/fields/AssociationFieldModel/PopupSubTableFieldModel/PopupSubTableActionsColumnModel.d.ts +0 -19
- package/es/flow/models/fields/AssociationFieldModel/PopupSubTableFieldModel/PopupSubTableFieldModel.d.ts +0 -30
- package/es/flow/models/fields/AssociationFieldModel/PopupSubTableFieldModel/actions/PopupSubTableEditActionModel.d.ts +0 -28
- package/es/flow/models/fields/AssociationFieldModel/PopupSubTableFieldModel/actions/PopupSubTableFormSubmitActionModel.d.ts +0 -16
- package/es/flow/models/fields/AssociationFieldModel/PopupSubTableFieldModel/actions/PopupSubTableRemoveActionModel.d.ts +0 -14
- package/es/flow/models/fields/AssociationFieldModel/PopupSubTableFieldModel/blocks/PopupSubTableFormModel.d.ts +0 -36
- package/es/flow/models/fields/AssociationFieldModel/PopupSubTableFieldModel/index.d.ts +0 -17
- package/es/flow/models/fields/AssociationFieldModel/RecordPickerFieldModel.d.ts +0 -35
- package/es/flow/models/fields/AssociationFieldModel/RecordSelectFieldModel.d.ts +0 -46
- package/es/flow/models/fields/AssociationFieldModel/SubFormFieldModel.d.ts +0 -32
- package/es/flow/models/fields/AssociationFieldModel/SubTableFieldModel/SubTableColumnModel.d.ts +0 -32
- package/es/flow/models/fields/AssociationFieldModel/SubTableFieldModel/SubTableField.d.ts +0 -10
- package/es/flow/models/fields/AssociationFieldModel/SubTableFieldModel/index.d.ts +0 -18
- package/es/flow/models/fields/AssociationFieldModel/index.d.ts +0 -15
- package/es/flow/models/fields/AssociationFieldModel/itemChain.d.ts +0 -94
- package/es/flow/models/fields/AssociationFieldModel/recordSelectShared.d.ts +0 -59
- package/es/flow/models/fields/CheckboxFieldModel.d.ts +0 -13
- package/es/flow/models/fields/CheckboxGroupFieldModel.d.ts +0 -13
- package/es/flow/models/fields/ClickableFieldModel.d.ts +0 -25
- package/es/flow/models/fields/CollectionSelectorFieldModel.d.ts +0 -13
- package/es/flow/models/fields/ColorFieldModel.d.ts +0 -14
- package/es/flow/models/fields/DateTimeFieldModel/DateOnlyFieldModel.d.ts +0 -7
- package/es/flow/models/fields/DateTimeFieldModel/DateTimeFieldModel.d.ts +0 -3
- package/es/flow/models/fields/DateTimeFieldModel/DateTimeNoTzFieldModel.d.ts +0 -6
- package/es/flow/models/fields/DateTimeFieldModel/DateTimeTzFieldModel.d.ts +0 -7
- package/es/flow/models/fields/DateTimeFieldModel/index.d.ts +0 -11
- package/es/flow/models/fields/DisplayAssociationField/DisplaySubItemFieldModel.d.ts +0 -26
- package/es/flow/models/fields/DisplayAssociationField/DisplaySubListFieldModel.d.ts +0 -26
- package/es/flow/models/fields/DisplayAssociationField/DisplaySubTableFieldModel.d.ts +0 -20
- package/es/flow/models/fields/DisplayAssociationField/index.d.ts +0 -11
- package/es/flow/models/fields/DisplayCheckboxFieldModel.d.ts +0 -13
- package/es/flow/models/fields/DisplayColorFieldModel.d.ts +0 -13
- package/es/flow/models/fields/DisplayDateTimeFieldModel.d.ts +0 -13
- package/es/flow/models/fields/DisplayEnumFieldModel.d.ts +0 -14
- package/es/flow/models/fields/DisplayHtmlFieldModel.d.ts +0 -13
- package/es/flow/models/fields/DisplayIconFieldModel.d.ts +0 -13
- package/es/flow/models/fields/DisplayJSONFieldModel.d.ts +0 -13
- package/es/flow/models/fields/DisplayNumberFieldModel.d.ts +0 -33
- package/es/flow/models/fields/DisplayPasswordFieldModel.d.ts +0 -13
- package/es/flow/models/fields/DisplayPercentFieldModel.d.ts +0 -13
- package/es/flow/models/fields/DisplayTextFieldModel.d.ts +0 -13
- package/es/flow/models/fields/DisplayTimeFieldModel.d.ts +0 -13
- package/es/flow/models/fields/DisplayTitleFieldModel.d.ts +0 -18
- package/es/flow/models/fields/DisplayURLFieldModel.d.ts +0 -13
- package/es/flow/models/fields/DividerItemModel.d.ts +0 -13
- package/es/flow/models/fields/IconFieldModel.d.ts +0 -13
- package/es/flow/models/fields/InputFieldModel.d.ts +0 -13
- package/es/flow/models/fields/JSEditableFieldModel.d.ts +0 -27
- package/es/flow/models/fields/JSFieldModel.d.ts +0 -45
- package/es/flow/models/fields/JSItemModel.d.ts +0 -27
- package/es/flow/models/fields/JsonFieldModel.d.ts +0 -6
- package/es/flow/models/fields/MarkdownItemModel.d.ts +0 -14
- package/es/flow/models/fields/NumberFieldModel.d.ts +0 -15
- package/es/flow/models/fields/PasswordFieldModel.d.ts +0 -13
- package/es/flow/models/fields/PercentFieldModel.d.ts +0 -14
- package/es/flow/models/fields/RadioGroupFieldModel.d.ts +0 -13
- package/es/flow/models/fields/RichTextFieldModel/index.d.ts +0 -14
- package/es/flow/models/fields/RichTextFieldModel/registerFontSize.d.ts +0 -9
- package/es/flow/models/fields/RichTextFieldModel/registerImageResize.d.ts +0 -9
- package/es/flow/models/fields/RichTextFieldModel/registerSmartBreak.d.ts +0 -12
- package/es/flow/models/fields/RichTextFieldModel/style.d.ts +0 -9
- package/es/flow/models/fields/SelectFieldModel.d.ts +0 -13
- package/es/flow/models/fields/TextareaFieldModel.d.ts +0 -13
- package/es/flow/models/fields/TimeFieldModel.d.ts +0 -5
- package/es/flow/models/fields/VariableFieldFormModel.d.ts +0 -18
- package/es/flow/models/fields/index.d.ts +0 -47
- package/es/flow/models/fields/mobile-components/MobileDatePicker.d.ts +0 -10
- package/es/flow/models/fields/mobile-components/MobileLazySelect.d.ts +0 -11
- package/es/flow/models/fields/mobile-components/MobileSelect.d.ts +0 -10
- package/es/flow/models/fields/mobile-components/MobileTimePicker.d.ts +0 -10
- package/es/flow/models/index.d.ts +0 -12
- package/es/flow/models/utils/resolveRunJsParams.d.ts +0 -19
- package/es/flow/resolveViewParamsToViewList.d.ts +0 -20
- package/es/flow/utils/blockUtils.d.ts +0 -16
- package/es/flow/utils/dispatchEventDeep.d.ts +0 -20
- package/es/flow/utils/index.d.ts +0 -10
- package/es/flow/utils/useJsonTemplateResolver.d.ts +0 -9
- package/es/md-BbvRKckr.mjs +0 -61
- package/es/md-oH2RssNY.mjs +0 -61
- package/es/route-switch/antd/admin-layout/useApplications.d.ts +0 -12
- package/lib/md-BbvRKckr-IQIU5F3r.js +0 -1
- package/lib/md-oH2RssNY-IQIU5F3r.js +0 -1
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file is part of the NocoBase (R) project.
|
|
3
|
-
* Copyright (c) 2020-2024 NocoBase Co., Ltd.
|
|
4
|
-
* Authors: NocoBase Team.
|
|
5
|
-
*
|
|
6
|
-
* This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
|
|
7
|
-
* For more information, please refer to: https://www.nocobase.com/agreement.
|
|
8
|
-
*/
|
|
9
|
-
import type { CollectionFieldOptions, DataSourceManager } from '../../../data-source';
|
|
10
|
-
type CollectionLike = {
|
|
11
|
-
name?: unknown;
|
|
12
|
-
dataSource?: unknown;
|
|
13
|
-
dataSourceKey?: unknown;
|
|
14
|
-
setOption?: (key: string, value: any) => any;
|
|
15
|
-
};
|
|
16
|
-
type ApiClientLike = {
|
|
17
|
-
request?: (options: {
|
|
18
|
-
url: string;
|
|
19
|
-
method?: string;
|
|
20
|
-
params?: Record<string, any>;
|
|
21
|
-
data?: Record<string, any>;
|
|
22
|
-
}) => Promise<any>;
|
|
23
|
-
};
|
|
24
|
-
export declare function isTitleUsableField(dm: DataSourceManager | undefined, field: CollectionFieldOptions | undefined): boolean;
|
|
25
|
-
export declare function syncCollectionTitleField(options: {
|
|
26
|
-
api: ApiClientLike;
|
|
27
|
-
dataSourceManager?: DataSourceManager;
|
|
28
|
-
targetCollection: CollectionLike | null | undefined;
|
|
29
|
-
titleField: string;
|
|
30
|
-
}): Promise<{
|
|
31
|
-
dataSourceKey: string;
|
|
32
|
-
collectionName: string;
|
|
33
|
-
titleField: string;
|
|
34
|
-
}>;
|
|
35
|
-
export {};
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file is part of the NocoBase (R) project.
|
|
3
|
-
* Copyright (c) 2020-2024 NocoBase Co., Ltd.
|
|
4
|
-
* Authors: NocoBase Team.
|
|
5
|
-
*
|
|
6
|
-
* This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
|
|
7
|
-
* For more information, please refer to: https://www.nocobase.com/agreement.
|
|
8
|
-
*/
|
|
9
|
-
import type { ButtonProps } from 'antd/es/button';
|
|
10
|
-
import { PopupActionModel } from '../base';
|
|
11
|
-
export declare class AddChildActionModel extends PopupActionModel {
|
|
12
|
-
defaultProps: ButtonProps;
|
|
13
|
-
getAclActionName(): string;
|
|
14
|
-
onInit(options: any): void;
|
|
15
|
-
}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file is part of the NocoBase (R) project.
|
|
3
|
-
* Copyright (c) 2020-2024 NocoBase Co., Ltd.
|
|
4
|
-
* Authors: NocoBase Team.
|
|
5
|
-
*
|
|
6
|
-
* This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
|
|
7
|
-
* For more information, please refer to: https://www.nocobase.com/agreement.
|
|
8
|
-
*/
|
|
9
|
-
import { ButtonProps } from 'antd';
|
|
10
|
-
import { PopupActionModel } from '../base';
|
|
11
|
-
export declare class AddNewActionModel extends PopupActionModel {
|
|
12
|
-
static scene: import("../base").ActionSceneType;
|
|
13
|
-
defaultPopupTitle: string;
|
|
14
|
-
defaultProps: ButtonProps;
|
|
15
|
-
getAclActionName(): string;
|
|
16
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file is part of the NocoBase (R) project.
|
|
3
|
-
* Copyright (c) 2020-2024 NocoBase Co., Ltd.
|
|
4
|
-
* Authors: NocoBase Team.
|
|
5
|
-
*
|
|
6
|
-
* This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
|
|
7
|
-
* For more information, please refer to: https://www.nocobase.com/agreement.
|
|
8
|
-
*/
|
|
9
|
-
import { ButtonProps } from 'antd';
|
|
10
|
-
import { ActionModel } from '../base';
|
|
11
|
-
export declare class BulkDeleteActionModel extends ActionModel {
|
|
12
|
-
static scene: import("../base").ActionSceneType;
|
|
13
|
-
defaultProps: ButtonProps;
|
|
14
|
-
getAclActionName(): string;
|
|
15
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file is part of the NocoBase (R) project.
|
|
3
|
-
* Copyright (c) 2020-2024 NocoBase Co., Ltd.
|
|
4
|
-
* Authors: NocoBase Team.
|
|
5
|
-
*
|
|
6
|
-
* This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
|
|
7
|
-
* For more information, please refer to: https://www.nocobase.com/agreement.
|
|
8
|
-
*/
|
|
9
|
-
import type { ButtonProps } from 'antd/es/button';
|
|
10
|
-
import { ActionModel } from '../base';
|
|
11
|
-
export declare class DeleteActionModel extends ActionModel {
|
|
12
|
-
static scene: import("../base").ActionSceneType;
|
|
13
|
-
defaultProps: ButtonProps;
|
|
14
|
-
getAclActionName(): string;
|
|
15
|
-
}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file is part of the NocoBase (R) project.
|
|
3
|
-
* Copyright (c) 2020-2024 NocoBase Co., Ltd.
|
|
4
|
-
* Authors: NocoBase Team.
|
|
5
|
-
*
|
|
6
|
-
* This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
|
|
7
|
-
* For more information, please refer to: https://www.nocobase.com/agreement.
|
|
8
|
-
*/
|
|
9
|
-
import type { ButtonProps } from 'antd/es/button';
|
|
10
|
-
import { PopupActionModel } from '../base';
|
|
11
|
-
export declare class EditActionModel extends PopupActionModel {
|
|
12
|
-
static scene: import("../base").ActionSceneType;
|
|
13
|
-
defaultPopupTitle: string;
|
|
14
|
-
defaultProps: ButtonProps;
|
|
15
|
-
getAclActionName(): string;
|
|
16
|
-
}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file is part of the NocoBase (R) project.
|
|
3
|
-
* Copyright (c) 2020-2024 NocoBase Co., Ltd.
|
|
4
|
-
* Authors: NocoBase Team.
|
|
5
|
-
*
|
|
6
|
-
* This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
|
|
7
|
-
* For more information, please refer to: https://www.nocobase.com/agreement.
|
|
8
|
-
*/
|
|
9
|
-
import { ActionModel } from '../base';
|
|
10
|
-
import { ButtonProps } from 'antd';
|
|
11
|
-
export declare class ExpandCollapseActionModel extends ActionModel {
|
|
12
|
-
expandFlag: boolean;
|
|
13
|
-
defaultProps: ButtonProps;
|
|
14
|
-
static scene: import("../base").ActionSceneType;
|
|
15
|
-
setTitle(title: any): void;
|
|
16
|
-
setExpandFlag(flag: any): void;
|
|
17
|
-
getTitle(): any;
|
|
18
|
-
getIcon(): "NodeCollapseOutlined" | "NodeExpandOutlined";
|
|
19
|
-
}
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file is part of the NocoBase (R) project.
|
|
3
|
-
* Copyright (c) 2020-2024 NocoBase Co., Ltd.
|
|
4
|
-
* Authors: NocoBase Team.
|
|
5
|
-
*
|
|
6
|
-
* This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
|
|
7
|
-
* For more information, please refer to: https://www.nocobase.com/agreement.
|
|
8
|
-
*/
|
|
9
|
-
import { ButtonProps } from 'antd';
|
|
10
|
-
import React from 'react';
|
|
11
|
-
import { ActionModel } from '../base';
|
|
12
|
-
export declare class FilterActionModel extends ActionModel {
|
|
13
|
-
static scene: string;
|
|
14
|
-
private readonly map;
|
|
15
|
-
props: ButtonProps & {
|
|
16
|
-
filterValue?: any;
|
|
17
|
-
defaultFilterValue?: any;
|
|
18
|
-
ignoreFieldsNames?: string[];
|
|
19
|
-
open?: boolean;
|
|
20
|
-
position: 'left';
|
|
21
|
-
filterableFieldNames?: string[];
|
|
22
|
-
};
|
|
23
|
-
defaultProps: any;
|
|
24
|
-
getIgnoreFieldNames(): any;
|
|
25
|
-
render(): React.JSX.Element;
|
|
26
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file is part of the NocoBase (R) project.
|
|
3
|
-
* Copyright (c) 2020-2024 NocoBase Co., Ltd.
|
|
4
|
-
* Authors: NocoBase Team.
|
|
5
|
-
*
|
|
6
|
-
* This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
|
|
7
|
-
* For more information, please refer to: https://www.nocobase.com/agreement.
|
|
8
|
-
*/
|
|
9
|
-
import type { ButtonProps } from 'antd/es/button';
|
|
10
|
-
import { ActionModel } from '../base';
|
|
11
|
-
export declare class JSCollectionActionModel extends ActionModel {
|
|
12
|
-
static scene: import("../base").ActionSceneType;
|
|
13
|
-
defaultProps: ButtonProps;
|
|
14
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file is part of the NocoBase (R) project.
|
|
3
|
-
* Copyright (c) 2020-2024 NocoBase Co., Ltd.
|
|
4
|
-
* Authors: NocoBase Team.
|
|
5
|
-
*
|
|
6
|
-
* This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
|
|
7
|
-
* For more information, please refer to: https://www.nocobase.com/agreement.
|
|
8
|
-
*/
|
|
9
|
-
import type { ButtonProps } from 'antd/es/button';
|
|
10
|
-
import { RecordActionModel } from '../base';
|
|
11
|
-
export declare class JSRecordActionModel extends RecordActionModel {
|
|
12
|
-
static scene: import("../base").ActionSceneType;
|
|
13
|
-
defaultProps: ButtonProps;
|
|
14
|
-
}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file is part of the NocoBase (R) project.
|
|
3
|
-
* Copyright (c) 2020-2024 NocoBase Co., Ltd.
|
|
4
|
-
* Authors: NocoBase Team.
|
|
5
|
-
*
|
|
6
|
-
* This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
|
|
7
|
-
* For more information, please refer to: https://www.nocobase.com/agreement.
|
|
8
|
-
*/
|
|
9
|
-
import type { ButtonProps } from 'antd/es/button';
|
|
10
|
-
import { ActionModel } from '../base';
|
|
11
|
-
export declare function joinUrlSearch(url: string, params?: {
|
|
12
|
-
name: string;
|
|
13
|
-
value: any;
|
|
14
|
-
}[]): string;
|
|
15
|
-
export declare class LinkActionModel extends ActionModel {
|
|
16
|
-
static scene: import("../base").ActionSceneType;
|
|
17
|
-
defaultProps: ButtonProps;
|
|
18
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file is part of the NocoBase (R) project.
|
|
3
|
-
* Copyright (c) 2020-2024 NocoBase Co., Ltd.
|
|
4
|
-
* Authors: NocoBase Team.
|
|
5
|
-
*
|
|
6
|
-
* This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
|
|
7
|
-
* For more information, please refer to: https://www.nocobase.com/agreement.
|
|
8
|
-
*/
|
|
9
|
-
import { ButtonProps } from 'antd';
|
|
10
|
-
import { PopupActionModel } from '../base';
|
|
11
|
-
export declare class PopupCollectionActionModel extends PopupActionModel {
|
|
12
|
-
static scene: import("../base").ActionSceneType;
|
|
13
|
-
defaultProps: ButtonProps;
|
|
14
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file is part of the NocoBase (R) project.
|
|
3
|
-
* Copyright (c) 2020-2024 NocoBase Co., Ltd.
|
|
4
|
-
* Authors: NocoBase Team.
|
|
5
|
-
*
|
|
6
|
-
* This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
|
|
7
|
-
* For more information, please refer to: https://www.nocobase.com/agreement.
|
|
8
|
-
*/
|
|
9
|
-
import { ButtonProps } from 'antd';
|
|
10
|
-
import { ActionModel } from '../base';
|
|
11
|
-
export declare class RefreshActionModel extends ActionModel {
|
|
12
|
-
static scene: import("../base").ActionSceneType;
|
|
13
|
-
defaultProps: ButtonProps;
|
|
14
|
-
}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file is part of the NocoBase (R) project.
|
|
3
|
-
* Copyright (c) 2020-2024 NocoBase Co., Ltd.
|
|
4
|
-
* Authors: NocoBase Team.
|
|
5
|
-
*
|
|
6
|
-
* This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
|
|
7
|
-
* For more information, please refer to: https://www.nocobase.com/agreement.
|
|
8
|
-
*/
|
|
9
|
-
import { ButtonProps } from 'antd';
|
|
10
|
-
import { AxiosRequestConfig } from 'axios';
|
|
11
|
-
import { ActionModel } from '../base/ActionModel';
|
|
12
|
-
import { AssignFormModel } from '../blocks/assign-form/AssignFormModel';
|
|
13
|
-
export declare class UpdateRecordActionModel extends ActionModel<{
|
|
14
|
-
subModels: {
|
|
15
|
-
assignForm: AssignFormModel;
|
|
16
|
-
};
|
|
17
|
-
}> {
|
|
18
|
-
static scene: import("../base/ActionModel").ActionSceneType;
|
|
19
|
-
assignFormUid?: string;
|
|
20
|
-
defaultProps: ButtonProps;
|
|
21
|
-
getAclActionName(): string;
|
|
22
|
-
/**
|
|
23
|
-
* 简化设置保存请求配置的方式
|
|
24
|
-
* @param requestConfig
|
|
25
|
-
*/
|
|
26
|
-
setSaveRequestConfig(requestConfig?: AxiosRequestConfig): void;
|
|
27
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file is part of the NocoBase (R) project.
|
|
3
|
-
* Copyright (c) 2020-2024 NocoBase Co., Ltd.
|
|
4
|
-
* Authors: NocoBase Team.
|
|
5
|
-
*
|
|
6
|
-
* This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
|
|
7
|
-
* For more information, please refer to: https://www.nocobase.com/agreement.
|
|
8
|
-
*/
|
|
9
|
-
import type { ButtonProps } from 'antd/es/button';
|
|
10
|
-
import { PopupActionModel } from '../base';
|
|
11
|
-
export declare class ViewActionModel extends PopupActionModel {
|
|
12
|
-
static scene: import("../base").ActionSceneType;
|
|
13
|
-
defaultProps: ButtonProps;
|
|
14
|
-
getAclActionName(): string;
|
|
15
|
-
}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file is part of the NocoBase (R) project.
|
|
3
|
-
* Copyright (c) 2020-2024 NocoBase Co., Ltd.
|
|
4
|
-
* Authors: NocoBase Team.
|
|
5
|
-
*
|
|
6
|
-
* This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
|
|
7
|
-
* For more information, please refer to: https://www.nocobase.com/agreement.
|
|
8
|
-
*/
|
|
9
|
-
export * from './AddNewActionModel';
|
|
10
|
-
export * from './BulkDeleteActionModel';
|
|
11
|
-
export * from './DeleteActionModel';
|
|
12
|
-
export * from './EditActionModel';
|
|
13
|
-
export * from './FilterActionModel';
|
|
14
|
-
export * from './JSActionModel';
|
|
15
|
-
export * from './JSCollectionActionModel';
|
|
16
|
-
export * from './JSRecordActionModel';
|
|
17
|
-
export * from './PopupCollectionActionModel';
|
|
18
|
-
export * from './RefreshActionModel';
|
|
19
|
-
export * from './UpdateRecordActionModel';
|
|
20
|
-
export * from './ViewActionModel';
|
|
21
|
-
export * from './LinkActionModel';
|
|
22
|
-
export * from './ExpandCollapseActionModel';
|
|
23
|
-
export * from './AddChildActionModel';
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file is part of the NocoBase (R) project.
|
|
3
|
-
* Copyright (c) 2020-2024 NocoBase Co., Ltd.
|
|
4
|
-
* Authors: NocoBase Team.
|
|
5
|
-
*
|
|
6
|
-
* This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
|
|
7
|
-
* For more information, please refer to: https://www.nocobase.com/agreement.
|
|
8
|
-
*/
|
|
9
|
-
import { FlowModel, FlowModelContext, ModelConstructor } from '@nocobase/flow-engine';
|
|
10
|
-
import { ActionModel, ActionSceneType } from './ActionModel';
|
|
11
|
-
export declare class ActionGroupModel extends FlowModel {
|
|
12
|
-
static baseClass?: string | ModelConstructor;
|
|
13
|
-
static scene: ActionSceneType;
|
|
14
|
-
private static _models;
|
|
15
|
-
static getAllParentClasses(): any[];
|
|
16
|
-
static get currentModels(): Map<string, typeof ActionModel>;
|
|
17
|
-
static get models(): Map<any, any>;
|
|
18
|
-
static registerActionModels(models: Record<string, any>): void;
|
|
19
|
-
static defineChildren(ctx: FlowModelContext): Promise<any[]>;
|
|
20
|
-
}
|
|
21
|
-
export declare class CollectionActionGroupModel extends ActionGroupModel {
|
|
22
|
-
static baseClass: typeof ActionModel;
|
|
23
|
-
static scene: ActionSceneType;
|
|
24
|
-
}
|
|
25
|
-
export declare class RecordActionGroupModel extends ActionGroupModel {
|
|
26
|
-
static baseClass: typeof ActionModel;
|
|
27
|
-
static scene: ActionSceneType;
|
|
28
|
-
}
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file is part of the NocoBase (R) project.
|
|
3
|
-
* Copyright (c) 2020-2024 NocoBase Co., Ltd.
|
|
4
|
-
* Authors: NocoBase Team.
|
|
5
|
-
*
|
|
6
|
-
* This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
|
|
7
|
-
* For more information, please refer to: https://www.nocobase.com/agreement.
|
|
8
|
-
*/
|
|
9
|
-
import { DefaultStructure, FlowModel } from '@nocobase/flow-engine';
|
|
10
|
-
import type { ButtonProps } from 'antd/es/button';
|
|
11
|
-
import React from 'react';
|
|
12
|
-
export declare function ActionWithoutPermission(props: any): React.JSX.Element;
|
|
13
|
-
export type ActionSceneType = 'collection' | 'record' | ActionSceneType[];
|
|
14
|
-
export declare const ActionSceneEnum: {
|
|
15
|
-
collection: ActionSceneType;
|
|
16
|
-
record: ActionSceneType;
|
|
17
|
-
all: ActionSceneType;
|
|
18
|
-
both: ActionSceneType;
|
|
19
|
-
};
|
|
20
|
-
export declare class ActionModel<T extends DefaultStructure = DefaultStructure> extends FlowModel<T> {
|
|
21
|
-
props: ButtonProps & {
|
|
22
|
-
tooltip?: string;
|
|
23
|
-
};
|
|
24
|
-
scene: ActionSceneType;
|
|
25
|
-
defaultProps: ButtonProps & {
|
|
26
|
-
tooltip?: string;
|
|
27
|
-
};
|
|
28
|
-
enableEditTooltip: boolean;
|
|
29
|
-
enableEditTitle: boolean;
|
|
30
|
-
enableEditIcon: boolean;
|
|
31
|
-
enableEditType: boolean;
|
|
32
|
-
enableEditDanger: boolean;
|
|
33
|
-
enableEditColor: boolean;
|
|
34
|
-
static _getScene(): any[];
|
|
35
|
-
static _isScene(scene: ActionSceneType): boolean;
|
|
36
|
-
getAclActionName(): any;
|
|
37
|
-
onInit(options: any): void;
|
|
38
|
-
getInputArgs(): Record<string, any>;
|
|
39
|
-
onClick(event: any): void;
|
|
40
|
-
getTitle(): string;
|
|
41
|
-
getIcon(): React.ReactNode;
|
|
42
|
-
renderButton(): React.JSX.Element;
|
|
43
|
-
render(): React.JSX.Element;
|
|
44
|
-
renderHiddenInConfig(): React.ReactNode | undefined;
|
|
45
|
-
}
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file is part of the NocoBase (R) project.
|
|
3
|
-
* Copyright (c) 2020-2024 NocoBase Co., Ltd.
|
|
4
|
-
* Authors: NocoBase Team.
|
|
5
|
-
*
|
|
6
|
-
* This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
|
|
7
|
-
* For more information, please refer to: https://www.nocobase.com/agreement.
|
|
8
|
-
*/
|
|
9
|
-
import { FlowModel, FlowModelContext } from '@nocobase/flow-engine';
|
|
10
|
-
export declare class AssociationFieldGroupModel extends FlowModel {
|
|
11
|
-
static itemModelName: string;
|
|
12
|
-
static defineChildren(ctx: FlowModelContext): {
|
|
13
|
-
key: string;
|
|
14
|
-
label: string;
|
|
15
|
-
children: () => ({
|
|
16
|
-
key: string;
|
|
17
|
-
label: any;
|
|
18
|
-
type: string;
|
|
19
|
-
children: {
|
|
20
|
-
key: string;
|
|
21
|
-
label: string;
|
|
22
|
-
useModel: string;
|
|
23
|
-
toggleable: (subModel: any) => boolean;
|
|
24
|
-
createModelOptions: {
|
|
25
|
-
stepParams: {
|
|
26
|
-
fieldSettings: {
|
|
27
|
-
init: {
|
|
28
|
-
dataSourceKey: any;
|
|
29
|
-
collectionName: any;
|
|
30
|
-
fieldPath: string;
|
|
31
|
-
associationPathName: any;
|
|
32
|
-
};
|
|
33
|
-
};
|
|
34
|
-
};
|
|
35
|
-
subModels: {
|
|
36
|
-
field: {
|
|
37
|
-
use: string;
|
|
38
|
-
};
|
|
39
|
-
};
|
|
40
|
-
};
|
|
41
|
-
}[];
|
|
42
|
-
} | {
|
|
43
|
-
key: string;
|
|
44
|
-
label: string;
|
|
45
|
-
type: string;
|
|
46
|
-
children: any[];
|
|
47
|
-
})[];
|
|
48
|
-
}[];
|
|
49
|
-
}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file is part of the NocoBase (R) project.
|
|
3
|
-
* Copyright (c) 2020-2024 NocoBase Co., Ltd.
|
|
4
|
-
* Authors: NocoBase Team.
|
|
5
|
-
*
|
|
6
|
-
* This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
|
|
7
|
-
* For more information, please refer to: https://www.nocobase.com/agreement.
|
|
8
|
-
*/
|
|
9
|
-
import { DragOverlayConfig } from '@nocobase/flow-engine';
|
|
10
|
-
import React from 'react';
|
|
11
|
-
import { FilterManager } from '../blocks/filter-manager/FilterManager';
|
|
12
|
-
import { GridModel } from './GridModel';
|
|
13
|
-
export declare class BlockGridModel extends GridModel {
|
|
14
|
-
dragOverlayConfig: DragOverlayConfig;
|
|
15
|
-
onInit(options: any): void;
|
|
16
|
-
get subModelBaseClasses(): string[];
|
|
17
|
-
get filterManager(): FilterManager;
|
|
18
|
-
serialize(): Record<string, any>;
|
|
19
|
-
renderAddSubModelButton(): React.JSX.Element;
|
|
20
|
-
render(): React.JSX.Element;
|
|
21
|
-
}
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import { DefaultStructure, FlowModel } from '@nocobase/flow-engine';
|
|
2
|
-
import React from 'react';
|
|
3
|
-
export type BlockSceneType = 'new' | 'filter' | 'one' | 'many' | 'select' | 'subForm' | 'bulkEditForm' | BlockSceneType[];
|
|
4
|
-
export declare const BlockSceneEnum: {
|
|
5
|
-
new: BlockSceneType;
|
|
6
|
-
one: BlockSceneType;
|
|
7
|
-
many: BlockSceneType;
|
|
8
|
-
select: BlockSceneType;
|
|
9
|
-
filter: BlockSceneType;
|
|
10
|
-
oam: BlockSceneType;
|
|
11
|
-
subForm: BlockSceneType;
|
|
12
|
-
bulkEditForm: BlockSceneType;
|
|
13
|
-
};
|
|
14
|
-
export declare class BlockModel<T = DefaultStructure> extends FlowModel<T> {
|
|
15
|
-
decoratorProps: Record<string, any>;
|
|
16
|
-
static scene: BlockSceneType;
|
|
17
|
-
_defaultCustomModelClasses: any;
|
|
18
|
-
customModelClasses: any;
|
|
19
|
-
collectionRequired: boolean;
|
|
20
|
-
private ObservedRenderComponent;
|
|
21
|
-
static _getScene(): BlockSceneType[];
|
|
22
|
-
static _isScene(scene: BlockSceneType): boolean;
|
|
23
|
-
getModelClassName(className: string): any;
|
|
24
|
-
protected renderHiddenInConfig(): React.ReactNode | undefined;
|
|
25
|
-
onInit(options: any): void;
|
|
26
|
-
setDecoratorProps(props: any): void;
|
|
27
|
-
get title(): string;
|
|
28
|
-
protected defaultBlockTitle(): string;
|
|
29
|
-
renderComponent(): any;
|
|
30
|
-
render(): React.JSX.Element;
|
|
31
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file is part of the NocoBase (R) project.
|
|
3
|
-
* Copyright (c) 2020-2024 NocoBase Co., Ltd.
|
|
4
|
-
* Authors: NocoBase Team.
|
|
5
|
-
*
|
|
6
|
-
* This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
|
|
7
|
-
* For more information, please refer to: https://www.nocobase.com/agreement.
|
|
8
|
-
*/
|
|
9
|
-
import { DefaultStructure } from '@nocobase/flow-engine';
|
|
10
|
-
import { ActionModel } from './ActionModel';
|
|
11
|
-
export declare class CollectionActionModel<T extends DefaultStructure = DefaultStructure> extends ActionModel<T> {
|
|
12
|
-
}
|
|
@@ -1,89 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file is part of the NocoBase (R) project.
|
|
3
|
-
* Copyright (c) 2020-2024 NocoBase Co., Ltd.
|
|
4
|
-
* Authors: NocoBase Team.
|
|
5
|
-
*
|
|
6
|
-
* This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
|
|
7
|
-
* For more information, please refer to: https://www.nocobase.com/agreement.
|
|
8
|
-
*/
|
|
9
|
-
import { BaseRecordResource, Collection, CollectionField, DataSource, DefaultStructure, FlowModelContext, MultiRecordResource, SingleRecordResource } from '@nocobase/flow-engine';
|
|
10
|
-
import { DataBlockModel } from './DataBlockModel';
|
|
11
|
-
export interface ResourceSettingsInitParams {
|
|
12
|
-
dataSourceKey: string;
|
|
13
|
-
collectionName: string;
|
|
14
|
-
associationName?: string;
|
|
15
|
-
sourceId?: string;
|
|
16
|
-
filterByTk?: string;
|
|
17
|
-
}
|
|
18
|
-
export declare class CollectionBlockModel<T = DefaultStructure> extends DataBlockModel<T> {
|
|
19
|
-
isManualRefresh: boolean;
|
|
20
|
-
collectionRequired: boolean;
|
|
21
|
-
private previousBeforeRenderHash;
|
|
22
|
-
private lastSeenDirtyVersion;
|
|
23
|
-
private dirtyRefreshing;
|
|
24
|
-
/**
|
|
25
|
-
* 记录各筛选来源是否活跃(有有效筛选值)
|
|
26
|
-
* key: filterId (筛选器 uid), value: boolean (是否有有效筛选)
|
|
27
|
-
*/
|
|
28
|
-
private activeFilterSources;
|
|
29
|
-
protected onMount(): void;
|
|
30
|
-
onActive(): void;
|
|
31
|
-
/**
|
|
32
|
-
* 子菜单过滤函数
|
|
33
|
-
*/
|
|
34
|
-
static filterCollection(_collection: Collection): boolean;
|
|
35
|
-
/**
|
|
36
|
-
* 定义子菜单选项
|
|
37
|
-
*/
|
|
38
|
-
static defineChildren(ctx: FlowModelContext): Promise<any[]>;
|
|
39
|
-
get dataSource(): DataSource;
|
|
40
|
-
get collection(): Collection;
|
|
41
|
-
get resource(): BaseRecordResource;
|
|
42
|
-
get association(): CollectionField | undefined;
|
|
43
|
-
get associationField(): CollectionField | undefined;
|
|
44
|
-
getAclActionName(): string;
|
|
45
|
-
/**
|
|
46
|
-
* 获取可用于筛选的字段列表
|
|
47
|
-
*/
|
|
48
|
-
getFilterFields(): Promise<{
|
|
49
|
-
name: string;
|
|
50
|
-
title: string;
|
|
51
|
-
type: string;
|
|
52
|
-
interface: string;
|
|
53
|
-
getFirstSubclassNameOf: (baseClass: string) => string;
|
|
54
|
-
target?: string;
|
|
55
|
-
filterable?: {
|
|
56
|
-
operators: {
|
|
57
|
-
label: string;
|
|
58
|
-
value: string;
|
|
59
|
-
}[];
|
|
60
|
-
};
|
|
61
|
-
}[]>;
|
|
62
|
-
getResourceSettingsInitParams(): ResourceSettingsInitParams;
|
|
63
|
-
onInit(options: any): void;
|
|
64
|
-
/**
|
|
65
|
-
* 获取数据加载模式
|
|
66
|
-
* @returns 'auto' | 'manual'
|
|
67
|
-
*/
|
|
68
|
-
getDataLoadingMode(): 'auto' | 'manual';
|
|
69
|
-
/**
|
|
70
|
-
* 设置指定筛选来源的活跃状态
|
|
71
|
-
* @param filterId 筛选器 uid
|
|
72
|
-
* @param active 是否有有效筛选值
|
|
73
|
-
*/
|
|
74
|
-
setFilterActive(filterId: string, active: boolean): void;
|
|
75
|
-
/**
|
|
76
|
-
* 检查是否有任何活跃的筛选来源
|
|
77
|
-
* @returns boolean
|
|
78
|
-
*/
|
|
79
|
-
hasActiveFilters(): boolean;
|
|
80
|
-
/**
|
|
81
|
-
* 移除指定筛选来源
|
|
82
|
-
* @param filterId 筛选器 uid
|
|
83
|
-
*/
|
|
84
|
-
removeFilterSource(filterId: string): void;
|
|
85
|
-
createResource(ctx: any, params: any): SingleRecordResource | MultiRecordResource;
|
|
86
|
-
refresh(): Promise<void>;
|
|
87
|
-
protected defaultBlockTitle(): string;
|
|
88
|
-
addAppends(fieldPath: string, refresh?: boolean): void;
|
|
89
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file is part of the NocoBase (R) project.
|
|
3
|
-
* Copyright (c) 2020-2024 NocoBase Co., Ltd.
|
|
4
|
-
* Authors: NocoBase Team.
|
|
5
|
-
*
|
|
6
|
-
* This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
|
|
7
|
-
* For more information, please refer to: https://www.nocobase.com/agreement.
|
|
8
|
-
*/
|
|
9
|
-
import { FlowModel } from '@nocobase/flow-engine';
|
|
10
|
-
export declare class CommonItemModel extends FlowModel {
|
|
11
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file is part of the NocoBase (R) project.
|
|
3
|
-
* Copyright (c) 2020-2024 NocoBase Co., Ltd.
|
|
4
|
-
* Authors: NocoBase Team.
|
|
5
|
-
*
|
|
6
|
-
* This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
|
|
7
|
-
* For more information, please refer to: https://www.nocobase.com/agreement.
|
|
8
|
-
*/
|
|
9
|
-
import { DefaultStructure } from '@nocobase/flow-engine';
|
|
10
|
-
import { BlockModel } from './BlockModel';
|
|
11
|
-
export declare class DataBlockModel<T = DefaultStructure> extends BlockModel<T> {
|
|
12
|
-
}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file is part of the NocoBase (R) project.
|
|
3
|
-
* Copyright (c) 2020-2024 NocoBase Co., Ltd.
|
|
4
|
-
* Authors: NocoBase Team.
|
|
5
|
-
*
|
|
6
|
-
* This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
|
|
7
|
-
* For more information, please refer to: https://www.nocobase.com/agreement.
|
|
8
|
-
*/
|
|
9
|
-
import { DefaultStructure, FlowModel } from '@nocobase/flow-engine';
|
|
10
|
-
/**
|
|
11
|
-
* 作为字段子模型的入口类,实际实例化的目标类可通过 stepParams.fieldBinding.use 指定。
|
|
12
|
-
* - 如果存在显式的 fieldBinding.use,则优先返回它;
|
|
13
|
-
* - 否则回退到自身(保持原来的 use)。
|
|
14
|
-
*/
|
|
15
|
-
export declare class FieldModel<T = DefaultStructure> extends FlowModel<T> {
|
|
16
|
-
static resolveUse(options: any, engine: any, parentModel: any): any;
|
|
17
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file is part of the NocoBase (R) project.
|
|
3
|
-
* Copyright (c) 2020-2024 NocoBase Co., Ltd.
|
|
4
|
-
* Authors: NocoBase Team.
|
|
5
|
-
*
|
|
6
|
-
* This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
|
|
7
|
-
* For more information, please refer to: https://www.nocobase.com/agreement.
|
|
8
|
-
*/
|
|
9
|
-
import { DefaultStructure } from '@nocobase/flow-engine';
|
|
10
|
-
import { BlockModel } from './BlockModel';
|
|
11
|
-
export declare class FilterBlockModel<T = DefaultStructure> extends BlockModel<T> {
|
|
12
|
-
}
|