@nocobase/client 2.1.0-beta.21 → 2.1.0-beta.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/ai/index.d.ts +2 -4
- package/es/api-client/APIClient.d.ts +1 -2
- package/es/application/Application.d.ts +69 -139
- 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/remotePlugins.d.ts +6 -6
- 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 +4 -4
- 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.d.ts +1 -1
- package/es/index.mjs +507 -1118
- 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/pm/AdminSettingsLayoutModel.d.ts +2 -4
- 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 +64 -0
- package/es/route-switch/antd/admin-layout/AdminLayoutMenuUtils.d.ts +164 -0
- package/es/route-switch/antd/admin-layout/AdminLayoutModel.d.ts +22 -16
- package/es/{application/components/AppComponent.d.ts → route-switch/antd/admin-layout/AdminShellProvider.d.ts} +4 -6
- package/es/{flow/components/drag-drop/Sortable.d.ts → route-switch/antd/admin-layout/ResetThemeTokenAndKeepAlgorithm.d.ts} +4 -3
- package/es/route-switch/antd/admin-layout/index.d.ts +12 -27
- 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/hooks.d.ts +1 -1
- package/es/schema-component/antd/expand-action/Expand.Action.d.ts +1 -1
- package/es/schema-component/antd/menu/Menu.d.ts +2 -2
- package/es/schema-component/antd/page/pagePopupUtils.d.ts +1 -1
- 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 +1 -1
- 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/{flow/components/code-editor/extension/index.d.ts → system-settings/SystemSettingsSource.d.ts} +1 -1
- package/es/system-settings/index.d.ts +2 -1
- package/lib/index.js +530 -1141
- package/lib/locale/en-US.json +11 -0
- package/lib/locale/zh-CN.json +12 -1
- package/package.json +7 -6
- package/es/ai/ai-manager.d.ts +0 -15
- package/es/ai/skills-manager/index.d.ts +0 -9
- package/es/ai/skills-manager/types.d.ts +0 -23
- 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/hooks/provider.d.ts +0 -16
- package/es/ai/tools-manager/index.d.ts +0 -20
- package/es/ai/tools-manager/types.d.ts +0 -90
- package/es/ai/utils.d.ts +0 -10
- package/es/application/components/MainComponent.d.ts +0 -10
- package/es/application/components/defaultComponents.d.ts +0 -19
- 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/afterSuccess.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 -40
- 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 -88
- 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/core/tooltipParent.d.ts +0 -9
- 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/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/resolveScenes.d.ts +0 -10
- 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 -46
- 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/drag-drop/index.d.ts +0 -10
- 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 -51
- 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 -27
- 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 -16
- package/es/flow/models/actions/AddNewActionModel.d.ts +0 -16
- package/es/flow/models/actions/BulkDeleteActionModel.d.ts +0 -16
- 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/JSActionModel.d.ts +0 -13
- package/es/flow/models/actions/JSCollectionActionModel.d.ts +0 -14
- package/es/flow/models/actions/JSItemActionModel.d.ts +0 -19
- package/es/flow/models/actions/JSRecordActionModel.d.ts +0 -14
- package/es/flow/models/actions/LinkActionModel.d.ts +0 -15
- package/es/flow/models/actions/LinkActionUtils.d.ts +0 -34
- 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/UpdateRecordActionUtils.d.ts +0 -12
- package/es/flow/models/actions/ViewActionModel.d.ts +0 -15
- package/es/flow/models/actions/index.d.ts +0 -24
- package/es/flow/models/actions/joinUrlSearch.d.ts +0 -12
- package/es/flow/models/base/ActionGroupModel.d.ts +0 -36
- 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 -22
- package/es/flow/models/base/BlockModel.d.ts +0 -57
- package/es/flow/models/base/CollectionActionModel.d.ts +0 -12
- package/es/flow/models/base/CollectionBlockModel.d.ts +0 -71
- 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 -99
- package/es/flow/models/base/PageModel/ChildPageModel.d.ts +0 -21
- 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 -24
- 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 -41
- 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 -60
- 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 -43
- 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 -22
- package/es/flow/models/blocks/form/EditFormModel.d.ts +0 -26
- 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 -96
- 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 -40
- 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 -137
- package/es/flow/models/blocks/form/value-runtime/runtime.d.ts +0 -88
- 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 -68
- package/es/flow/models/blocks/table/TableColumnModel.d.ts +0 -29
- 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/sortUtils.d.ts +0 -32
- 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 -5
- 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/actions/popupSubTableBeforeClose.d.ts +0 -25
- 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 -45
- 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 -19
- package/es/flow/models/fields/AssociationFieldModel/SubTableFieldModel/rowIdentity.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 -99
- package/es/flow/models/fields/AssociationFieldModel/recordSelectShared.d.ts +0 -48
- 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/displaySubListUtils.d.ts +0 -14
- 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 -14
- 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/actionCapability.d.ts +0 -60
- 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 -11
- package/es/flow/utils/pagination.d.ts +0 -29
- package/es/flow/utils/useJsonTemplateResolver.d.ts +0 -9
- package/es/route-switch/antd/admin-layout/AdminLayoutRouteCoordinator.d.ts +0 -50
- package/es/route-switch/antd/admin-layout/useApplications.d.ts +0 -12
|
@@ -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 { AssociationFieldGroupModel } from '../../base';
|
|
10
|
-
export declare class DetailsAssociationFieldGroupModel extends AssociationFieldGroupModel {
|
|
11
|
-
static itemModelName: string;
|
|
12
|
-
}
|
|
@@ -1,41 +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 { MultiRecordResource, SingleRecordResource } from '@nocobase/flow-engine';
|
|
10
|
-
import React from 'react';
|
|
11
|
-
import { BlockGridModel, CollectionBlockModel, RecordActionModel } from '../../base';
|
|
12
|
-
import { DetailsGridModel } from './DetailsGridModel';
|
|
13
|
-
export declare class DetailsBlockModel extends CollectionBlockModel<{
|
|
14
|
-
parent?: BlockGridModel;
|
|
15
|
-
subModels?: {
|
|
16
|
-
grid: DetailsGridModel;
|
|
17
|
-
actions?: RecordActionModel[];
|
|
18
|
-
};
|
|
19
|
-
}> {
|
|
20
|
-
static scene: import("../../base").BlockSceneType;
|
|
21
|
-
private hadSingleRecordData;
|
|
22
|
-
private hasMultiRefreshDispatched;
|
|
23
|
-
_defaultCustomModelClasses: {
|
|
24
|
-
RecordActionGroupModel: string;
|
|
25
|
-
DetailsItemModel: string;
|
|
26
|
-
DetailsAssociationFieldGroupModel: string;
|
|
27
|
-
DetailsCustomItemModel: string;
|
|
28
|
-
};
|
|
29
|
-
customModelClasses: {};
|
|
30
|
-
createResource(ctx: any, params: any): SingleRecordResource<unknown> | MultiRecordResource<unknown>;
|
|
31
|
-
onInit(options: any): void;
|
|
32
|
-
isMultiRecordResource(): boolean;
|
|
33
|
-
hasDispatchedMultiRefresh(): boolean;
|
|
34
|
-
getCurrentRecord(): any;
|
|
35
|
-
hasAvailableData(): boolean;
|
|
36
|
-
handlePageChange: (page: number) => Promise<void>;
|
|
37
|
-
refresh(): Promise<void>;
|
|
38
|
-
renderPagination(): React.JSX.Element;
|
|
39
|
-
renderConfigureActions(): React.JSX.Element;
|
|
40
|
-
renderComponent(): React.JSX.Element;
|
|
41
|
-
}
|
|
@@ -1,13 +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, ModelRenderMode, SubModelItem } from '@nocobase/flow-engine';
|
|
10
|
-
export declare class DetailsCustomItemModel extends FlowModel {
|
|
11
|
-
static renderMode: ModelRenderMode;
|
|
12
|
-
static defineChildren(ctx: FlowModelContext): Promise<SubModelItem[]> | SubModelItem[];
|
|
13
|
-
}
|
|
@@ -1,33 +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 { FieldModel, GridModel } from '../../base';
|
|
12
|
-
import { DetailsBlockModel } from './DetailsBlockModel';
|
|
13
|
-
export declare class DetailsGridModel extends GridModel<{
|
|
14
|
-
parent: DetailsBlockModel;
|
|
15
|
-
subModels: {
|
|
16
|
-
items: FieldModel[];
|
|
17
|
-
};
|
|
18
|
-
}> {
|
|
19
|
-
itemFallback: React.JSX.Element;
|
|
20
|
-
itemSettingsMenuLevel: number;
|
|
21
|
-
itemFlowSettings: {
|
|
22
|
-
showBackground: boolean;
|
|
23
|
-
style: {
|
|
24
|
-
top: number;
|
|
25
|
-
left: number;
|
|
26
|
-
right: number;
|
|
27
|
-
bottom: number;
|
|
28
|
-
};
|
|
29
|
-
};
|
|
30
|
-
dragOverlayConfig: DragOverlayConfig;
|
|
31
|
-
renderAddSubModelButton(): React.JSX.Element;
|
|
32
|
-
render(): React.JSX.Element;
|
|
33
|
-
}
|
|
@@ -1,60 +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 { DisplayItemModel, FlowModelContext } from '@nocobase/flow-engine';
|
|
10
|
-
import React from 'react';
|
|
11
|
-
import { FieldModel } from '../../base';
|
|
12
|
-
import { DetailsGridModel } from './DetailsGridModel';
|
|
13
|
-
/**
|
|
14
|
-
* 从 record 中取值
|
|
15
|
-
* @param record 当前行数据
|
|
16
|
-
* @param fieldPath 字段路径 (如 "o2m_aa.oho_bb.name")
|
|
17
|
-
* @param idx Form.List 的索引
|
|
18
|
-
*/
|
|
19
|
-
export declare function getValueWithIndex(record: any, fieldPath: string, idx?: string[]): any;
|
|
20
|
-
export declare function getDetailsItemValue(options: {
|
|
21
|
-
record: any;
|
|
22
|
-
currentObject?: any;
|
|
23
|
-
fieldPath: string;
|
|
24
|
-
prefixFieldPath?: string;
|
|
25
|
-
idx?: string[];
|
|
26
|
-
}): any;
|
|
27
|
-
export declare class DetailsItemModel extends DisplayItemModel<{
|
|
28
|
-
parent: DetailsGridModel;
|
|
29
|
-
subModels: {
|
|
30
|
-
field: FieldModel;
|
|
31
|
-
};
|
|
32
|
-
}> {
|
|
33
|
-
static defineChildren(ctx: FlowModelContext): {
|
|
34
|
-
key: any;
|
|
35
|
-
label: string;
|
|
36
|
-
refreshTargets: string[];
|
|
37
|
-
toggleable: (subModel: any) => boolean;
|
|
38
|
-
useModel: string;
|
|
39
|
-
createModelOptions: () => {
|
|
40
|
-
use: string;
|
|
41
|
-
stepParams: {
|
|
42
|
-
fieldSettings: {
|
|
43
|
-
init: {
|
|
44
|
-
dataSourceKey: any;
|
|
45
|
-
collectionName: any;
|
|
46
|
-
fieldPath: any;
|
|
47
|
-
};
|
|
48
|
-
};
|
|
49
|
-
};
|
|
50
|
-
subModels: {
|
|
51
|
-
field: {
|
|
52
|
-
use: string;
|
|
53
|
-
props: any;
|
|
54
|
-
};
|
|
55
|
-
};
|
|
56
|
-
};
|
|
57
|
-
}[];
|
|
58
|
-
onInit(options: any): void;
|
|
59
|
-
renderItem(): React.JSX.Element;
|
|
60
|
-
}
|
|
@@ -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 { FlowModelContext, type SubModelItem } from '@nocobase/flow-engine';
|
|
10
|
-
import { DetailsCustomItemModel } from './DetailsCustomItemModel';
|
|
11
|
-
/**
|
|
12
|
-
* “JavaScript 字段”菜单入口(详情):
|
|
13
|
-
* - 仅用于在“添加字段”菜单中提供一个二级菜单;
|
|
14
|
-
* - 子项为当前集合可选字段;
|
|
15
|
-
* - 点击后创建 DetailsItemModel,并将其 subModels.field 固定为 JSFieldModel。
|
|
16
|
-
*/
|
|
17
|
-
export declare class DetailsJSFieldItemModel extends DetailsCustomItemModel {
|
|
18
|
-
static defineChildren(ctx: FlowModelContext): Promise<SubModelItem[]>;
|
|
19
|
-
}
|
|
@@ -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
|
-
export * from './DetailsAssociationFieldGroupModel';
|
|
10
|
-
export * from './DetailsBlockModel';
|
|
11
|
-
export * from './DetailsCustomItemModel';
|
|
12
|
-
export * from './DetailsGridModel';
|
|
13
|
-
export * from './DetailsItemModel';
|
|
14
|
-
export * from './DetailsJSFieldItemModel';
|
|
@@ -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
|
-
/// <reference types="react" />
|
|
10
|
-
export declare const useDetailsGridHeight: ({ heightMode, containerRef, actionsRef, paginationRef, deps, }: {
|
|
11
|
-
heightMode?: string;
|
|
12
|
-
containerRef: React.RefObject<HTMLDivElement>;
|
|
13
|
-
actionsRef: React.RefObject<HTMLDivElement>;
|
|
14
|
-
paginationRef: React.RefObject<HTMLDivElement>;
|
|
15
|
-
deps?: import("react").DependencyList;
|
|
16
|
-
}) => number;
|
|
@@ -1,10 +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 React from 'react';
|
|
10
|
-
export declare function FieldModelSelect(props: any): React.JSX.Element;
|
|
@@ -1,10 +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 React from 'react';
|
|
10
|
-
export declare const FieldOperatorSelect: React.MemoExoticComponent<import("@formily/react").ReactFC<Omit<any, "ref">>>;
|
|
@@ -1,13 +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 { ActionGroupModel } from '../../base';
|
|
10
|
-
import { FilterFormActionModel } from './FilterFormActionModel';
|
|
11
|
-
export declare class FilterFormActionGroupModel extends ActionGroupModel {
|
|
12
|
-
static baseClass: typeof FilterFormActionModel;
|
|
13
|
-
}
|
|
@@ -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 { ActionModel } from '../../base';
|
|
10
|
-
export declare class FilterFormActionModel extends ActionModel {
|
|
11
|
-
}
|
|
@@ -1,39 +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 React from 'react';
|
|
10
|
-
import { FilterBlockModel } from '../../base';
|
|
11
|
-
export declare class FilterFormBlockModel extends FilterBlockModel<{
|
|
12
|
-
subModels: {
|
|
13
|
-
grid: any;
|
|
14
|
-
actions?: any[];
|
|
15
|
-
};
|
|
16
|
-
}> {
|
|
17
|
-
static scene: import("../../base").BlockSceneType;
|
|
18
|
-
/**
|
|
19
|
-
* 是否需要自动触发筛选,当字段值变更时自动执行筛选
|
|
20
|
-
*/
|
|
21
|
-
autoTriggerFilter: boolean;
|
|
22
|
-
private removeTargetBlockListener?;
|
|
23
|
-
get form(): any;
|
|
24
|
-
get title(): string;
|
|
25
|
-
useHooksBeforeRender(): void;
|
|
26
|
-
saveStepParams(): Promise<any>;
|
|
27
|
-
addAppends(): void;
|
|
28
|
-
onInit(options: any): void;
|
|
29
|
-
onMount(): void;
|
|
30
|
-
onUnmount(): void;
|
|
31
|
-
private applyDefaultsAndInitialFilter;
|
|
32
|
-
private ensureFilterItemsBeforeRender;
|
|
33
|
-
applyFormDefaultValues(options?: {
|
|
34
|
-
force?: boolean;
|
|
35
|
-
}): Promise<void>;
|
|
36
|
-
private handleTargetBlockRemoved;
|
|
37
|
-
destroy(): Promise<boolean>;
|
|
38
|
-
renderComponent(): React.JSX.Element;
|
|
39
|
-
}
|
|
@@ -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 React from 'react';
|
|
10
|
-
import type { ButtonProps } from 'antd/es/button';
|
|
11
|
-
import { FilterFormActionModel } from './FilterFormActionModel';
|
|
12
|
-
export declare class FilterFormCollapseActionModel extends FilterFormActionModel {
|
|
13
|
-
defaultProps: ButtonProps;
|
|
14
|
-
enableEditTitle: boolean;
|
|
15
|
-
enableEditIcon: boolean;
|
|
16
|
-
onMount(): void;
|
|
17
|
-
render(): React.JSX.Element;
|
|
18
|
-
}
|
|
@@ -1,13 +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, ModelRenderMode } from '@nocobase/flow-engine';
|
|
10
|
-
export declare class FilterFormCustomItemModel extends FlowModel {
|
|
11
|
-
static renderMode: ModelRenderMode;
|
|
12
|
-
static defineChildren(ctx: FlowModelContext): any[];
|
|
13
|
-
}
|
|
@@ -1,43 +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 { GridModel } from '../../base';
|
|
12
|
-
import { FilterFormItemModel } from './FilterFormItemModel';
|
|
13
|
-
export declare class FilterFormGridModel extends GridModel {
|
|
14
|
-
itemSettingsMenuLevel: number;
|
|
15
|
-
itemFlowSettings: {
|
|
16
|
-
showBackground: boolean;
|
|
17
|
-
style: {
|
|
18
|
-
top: number;
|
|
19
|
-
left: number;
|
|
20
|
-
right: number;
|
|
21
|
-
bottom: number;
|
|
22
|
-
};
|
|
23
|
-
};
|
|
24
|
-
dragOverlayConfig: DragOverlayConfig;
|
|
25
|
-
readonly loading: {
|
|
26
|
-
value: boolean;
|
|
27
|
-
};
|
|
28
|
-
private getAssociationFilterTargetKey;
|
|
29
|
-
/**
|
|
30
|
-
* 获取筛选表单当前“完整布局”。
|
|
31
|
-
* 折叠态会临时裁剪 props.rows,因此这里优先选取行数更多的那份布局,
|
|
32
|
-
* 避免拖拽排序或重新挂载后只拿到被裁剪过的运行时 rows。
|
|
33
|
-
*/
|
|
34
|
-
private getFullLayout;
|
|
35
|
-
/**
|
|
36
|
-
* 按“可视字段行数”裁剪布局,而不是只按 grid row 数裁剪。
|
|
37
|
-
* 这样即使拖拽后多个字段被排进同一个 cell,也仍然可以正确折叠。
|
|
38
|
-
*/
|
|
39
|
-
private limitRowsByVisibleCount;
|
|
40
|
-
toggleFormFieldsCollapse(collapse: boolean, visibleRows: number): void;
|
|
41
|
-
onModelCreated(subModel: FilterFormItemModel): Promise<void>;
|
|
42
|
-
renderAddSubModelButton(): React.JSX.Element;
|
|
43
|
-
}
|
|
@@ -1,59 +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 { FilterableItemModel, FlowModelContext } from '@nocobase/flow-engine';
|
|
10
|
-
import React from 'react';
|
|
11
|
-
import { FieldModel } from '../../base';
|
|
12
|
-
import { FilterFormFieldModel } from './fields';
|
|
13
|
-
export declare class FilterFormItemModel extends FilterableItemModel<{
|
|
14
|
-
subModels: {
|
|
15
|
-
field: FilterFormFieldModel & {
|
|
16
|
-
getFilterValue?: () => any;
|
|
17
|
-
};
|
|
18
|
-
};
|
|
19
|
-
}> {
|
|
20
|
-
static defineChildren(ctx: FlowModelContext): {
|
|
21
|
-
key: string;
|
|
22
|
-
label: React.JSX.Element;
|
|
23
|
-
children: () => Promise<any[]>;
|
|
24
|
-
}[] | {
|
|
25
|
-
key: string;
|
|
26
|
-
label: React.JSX.Element;
|
|
27
|
-
disabled: boolean;
|
|
28
|
-
}[];
|
|
29
|
-
operator: string;
|
|
30
|
-
mounted: boolean;
|
|
31
|
-
private debouncedDoFilter;
|
|
32
|
-
private lastAutoTriggerValue;
|
|
33
|
-
private autoTriggerInitialized;
|
|
34
|
-
get defaultTargetUid(): string;
|
|
35
|
-
private getCurrentOperatorMeta;
|
|
36
|
-
onInit(options: any): void;
|
|
37
|
-
onMount(): void;
|
|
38
|
-
onUnmount(): void;
|
|
39
|
-
doFilter(): void;
|
|
40
|
-
doReset(): void;
|
|
41
|
-
/**
|
|
42
|
-
* 获取用于显示在筛选条件中的字段值
|
|
43
|
-
* @returns
|
|
44
|
-
*/
|
|
45
|
-
getFilterValue(): any;
|
|
46
|
-
normalizeAssociationFilterValue(value: any, fieldModel: FieldModel): any;
|
|
47
|
-
getDefaultValue(): any;
|
|
48
|
-
/**
|
|
49
|
-
* 处理回车事件
|
|
50
|
-
* 当用户在输入框中按下回车键时触发筛选
|
|
51
|
-
*/
|
|
52
|
-
handleEnterPress: (event: KeyboardEvent) => void;
|
|
53
|
-
getValueProps(value: any): {
|
|
54
|
-
value: any;
|
|
55
|
-
onKeyDown: any;
|
|
56
|
-
isRange: boolean;
|
|
57
|
-
};
|
|
58
|
-
renderItem(): React.JSX.Element;
|
|
59
|
-
}
|
|
@@ -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 { FilterFormActionModel } from './FilterFormActionModel';
|
|
10
|
-
export declare class FilterFormJSActionModel extends FilterFormActionModel {
|
|
11
|
-
}
|
|
@@ -1,13 +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 { FilterFormActionModel } from './FilterFormActionModel';
|
|
11
|
-
export declare class FilterFormResetActionModel extends FilterFormActionModel {
|
|
12
|
-
defaultProps: ButtonProps;
|
|
13
|
-
}
|
|
@@ -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 { FilterFormActionModel } from './FilterFormActionModel';
|
|
11
|
-
export declare class FilterFormSubmitActionModel extends FilterFormActionModel {
|
|
12
|
-
defaultProps: ButtonProps;
|
|
13
|
-
onInit(options: any): void;
|
|
14
|
-
onUnmount(): void;
|
|
15
|
-
}
|
|
@@ -1,10 +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 React from 'react';
|
|
10
|
-
export declare function SourceCascader(props: any): React.JSX.Element;
|
|
@@ -1,34 +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
|
-
type OperatorMeta = {
|
|
10
|
-
label: string;
|
|
11
|
-
value: string;
|
|
12
|
-
selected?: boolean;
|
|
13
|
-
noValue?: boolean;
|
|
14
|
-
schema?: Record<string, any>;
|
|
15
|
-
visible?: (meta: any) => boolean;
|
|
16
|
-
[key: string]: any;
|
|
17
|
-
};
|
|
18
|
-
type ResolveOperatorParams = {
|
|
19
|
-
flowEngine: any;
|
|
20
|
-
fieldModel?: string;
|
|
21
|
-
source?: string[];
|
|
22
|
-
fieldModelProps?: Record<string, any>;
|
|
23
|
-
};
|
|
24
|
-
export declare function resolveCustomFieldOperatorList(params: ResolveOperatorParams): OperatorMeta[];
|
|
25
|
-
export declare function resolveDefaultCustomFieldOperator(params: ResolveOperatorParams): string | undefined;
|
|
26
|
-
export declare function toOperatorSelectOptions(operatorList?: OperatorMeta[], translate?: (text: string) => string): {
|
|
27
|
-
label: string;
|
|
28
|
-
value: string;
|
|
29
|
-
selected?: boolean;
|
|
30
|
-
noValue?: boolean;
|
|
31
|
-
schema?: Record<string, any>;
|
|
32
|
-
visible?: (meta: any) => boolean;
|
|
33
|
-
}[];
|
|
34
|
-
export {};
|
|
@@ -1,13 +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 React from 'react';
|
|
10
|
-
export declare const FieldComponentProps: React.FC<{
|
|
11
|
-
fieldModel: string;
|
|
12
|
-
source: string[];
|
|
13
|
-
}>;
|
|
@@ -1,52 +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 React from 'react';
|
|
10
|
-
import { CollectionField, FlowModelContext } from '@nocobase/flow-engine';
|
|
11
|
-
import { FilterFormCustomItemModel } from '../FilterFormCustomItemModel';
|
|
12
|
-
export declare class FilterFormCustomFieldModel extends FilterFormCustomItemModel {
|
|
13
|
-
customFieldModelInstance: any;
|
|
14
|
-
customFieldProps: any;
|
|
15
|
-
operator: string;
|
|
16
|
-
private debouncedDoFilter;
|
|
17
|
-
private lastAutoTriggerValue;
|
|
18
|
-
private autoTriggerInitialized;
|
|
19
|
-
/**
|
|
20
|
-
* Resolve or build collection field context for RecordSelect custom fields.
|
|
21
|
-
*
|
|
22
|
-
* When user creates a custom RecordSelect field, there is no real collection field.
|
|
23
|
-
* We build a lightweight CollectionField with target metadata so downstream
|
|
24
|
-
* flows can render select settings and load remote options.
|
|
25
|
-
*
|
|
26
|
-
* @param ctx - Flow context for current model
|
|
27
|
-
* @param props - Field model props from settings
|
|
28
|
-
* @returns CollectionField instance or undefined when not applicable
|
|
29
|
-
*/
|
|
30
|
-
buildRecordSelectCollectionField(ctx: FlowModelContext, props: Record<string, any>): CollectionField;
|
|
31
|
-
get defaultTargetUid(): string;
|
|
32
|
-
onInit(options: any): void;
|
|
33
|
-
onUnmount(): void;
|
|
34
|
-
doFilter(): void;
|
|
35
|
-
doReset(): void;
|
|
36
|
-
/**
|
|
37
|
-
* 获取用于显示在筛选条件中的字段值
|
|
38
|
-
* @returns
|
|
39
|
-
*/
|
|
40
|
-
getFilterValue(): any;
|
|
41
|
-
private getCurrentOperatorMeta;
|
|
42
|
-
/**
|
|
43
|
-
* 处理回车事件
|
|
44
|
-
* 当用户在输入框中按下回车键时触发筛选
|
|
45
|
-
*/
|
|
46
|
-
handleEnterPress: (event: KeyboardEvent) => void;
|
|
47
|
-
getValueProps(value: any): {
|
|
48
|
-
value: any;
|
|
49
|
-
onKeyDown: any;
|
|
50
|
-
};
|
|
51
|
-
render(): React.JSX.Element;
|
|
52
|
-
}
|
package/es/flow/models/blocks/filter-form/fields/FilterFormCustomRecordSelectFieldModel.d.ts
DELETED
|
@@ -1,20 +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 React from 'react';
|
|
10
|
-
import { RecordSelectFieldModel } from '../../../fields/AssociationFieldModel/RecordSelectFieldModel';
|
|
11
|
-
export declare class FilterFormCustomRecordSelectFieldModel extends RecordSelectFieldModel {
|
|
12
|
-
private valueOptionsSyncKey;
|
|
13
|
-
private valueOptionsSyncedKey;
|
|
14
|
-
private valueOptionsSyncTask;
|
|
15
|
-
private buildValueOptionsSyncKey;
|
|
16
|
-
private ensureValueOptionsSynced;
|
|
17
|
-
onDispatchEventStart(eventName: string): Promise<void>;
|
|
18
|
-
getFilterValue(): any;
|
|
19
|
-
render(): React.JSX.Element;
|
|
20
|
-
}
|
|
@@ -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 { FieldModel } from '../../../base/FieldModel';
|
|
10
|
-
export declare class FilterFormFieldModel extends FieldModel {
|
|
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 { RecordSelectFieldModel } from '../../../fields/AssociationFieldModel';
|
|
10
|
-
export declare class FilterFormRecordSelectFieldModel extends RecordSelectFieldModel {
|
|
11
|
-
onInit(options: any): void;
|
|
12
|
-
}
|