@nocobase/client 2.1.0-alpha.21 → 2.1.0-alpha.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 -21
- 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 -132
- package/es/flow/models/blocks/form/value-runtime/runtime.d.ts +0 -76
- 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 -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 -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/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,25 +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 { FlowModel } from '@nocobase/flow-engine';
|
|
10
|
-
import type { HookAPI } from 'antd/es/modal/useModal';
|
|
11
|
-
type PopupBeforeClosePayload = {
|
|
12
|
-
result?: any;
|
|
13
|
-
force?: boolean;
|
|
14
|
-
ignoredDirtyFormModelUids?: string[];
|
|
15
|
-
};
|
|
16
|
-
type PopupViewLike = {
|
|
17
|
-
beforeClose?: (payload: PopupBeforeClosePayload) => Promise<boolean | void> | boolean | void;
|
|
18
|
-
};
|
|
19
|
-
export declare function bindPopupSubTableBeforeClose({ view, model, modal, t, }: {
|
|
20
|
-
view: PopupViewLike;
|
|
21
|
-
model?: FlowModel | null;
|
|
22
|
-
modal: Pick<HookAPI, 'confirm'>;
|
|
23
|
-
t: (key: string) => string;
|
|
24
|
-
}): () => void;
|
|
25
|
-
export {};
|
|
@@ -1,36 +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, SingleRecordResource } from '@nocobase/flow-engine';
|
|
10
|
-
import React from 'react';
|
|
11
|
-
import { FormBlockModel } from '../../../../blocks/form/FormBlockModel';
|
|
12
|
-
export declare class PopupSubTableFormModel extends FormBlockModel {
|
|
13
|
-
static scene: import("../../../../base").BlockSceneType;
|
|
14
|
-
private actionFlowSettings;
|
|
15
|
-
private actionExtraToolbarItems;
|
|
16
|
-
onInit(options: any): void;
|
|
17
|
-
createResource(_ctx: FlowModelContext, params: any): SingleRecordResource<unknown>;
|
|
18
|
-
_defaultCustomModelClasses: {
|
|
19
|
-
FormActionGroupModel: string;
|
|
20
|
-
FormItemModel: string;
|
|
21
|
-
FormCustomItemModel: string;
|
|
22
|
-
FormAssociationFieldGroupModel: string;
|
|
23
|
-
};
|
|
24
|
-
protected defaultBlockTitle(): string;
|
|
25
|
-
/**
|
|
26
|
-
* 定义子菜单选项
|
|
27
|
-
*/
|
|
28
|
-
static defineChildren(ctx: any): Promise<{
|
|
29
|
-
key: string;
|
|
30
|
-
label: string;
|
|
31
|
-
useModel: string;
|
|
32
|
-
createModelOptions: any;
|
|
33
|
-
}[]>;
|
|
34
|
-
onMount(): Promise<void>;
|
|
35
|
-
renderComponent(): React.JSX.Element;
|
|
36
|
-
}
|
|
@@ -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
|
-
export * from './PopupSubTableFieldModel';
|
|
10
|
-
export * from './PopupSubTableActionGroupModel';
|
|
11
|
-
export * from './PopupSubTableActionsColumnModel';
|
|
12
|
-
export * from './actions/PopupSubTableEditActionModel';
|
|
13
|
-
export * from './actions/PopupSubTableRemoveActionModel';
|
|
14
|
-
export * from './actions/PopupSubTableFormSubmitActionModel';
|
|
15
|
-
export * from './PopupSubTableActionGroupModel';
|
|
16
|
-
export * from './blocks/PopupSubTableFormModel';
|
|
17
|
-
export * from './PopupSubTableActionsColumnModel';
|
|
@@ -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 { CollectionField, FlowModel } from '@nocobase/flow-engine';
|
|
10
|
-
import React from 'react';
|
|
11
|
-
import { FieldModel } from '../../base';
|
|
12
|
-
import { type ItemChain } from './itemChain';
|
|
13
|
-
export declare function buildRecordPickerParentItemContext(ctx: any): {
|
|
14
|
-
parentItem: ItemChain;
|
|
15
|
-
parentItemMeta: any;
|
|
16
|
-
parentItemResolver: ((subPath: string) => boolean) | undefined;
|
|
17
|
-
};
|
|
18
|
-
export declare function injectRecordPickerPopupContext(model: FlowModel, viewCtx: any, fieldModel?: any): void;
|
|
19
|
-
export declare function buildRecordPickerPopupContextInputArgs(ctx: any, options?: {
|
|
20
|
-
currentItemValue?: any;
|
|
21
|
-
extraInputArgs?: Record<string, any>;
|
|
22
|
-
}): {
|
|
23
|
-
parentItem: ItemChain;
|
|
24
|
-
parentItemMeta: any;
|
|
25
|
-
parentItemResolver: (subPath: string) => boolean;
|
|
26
|
-
currentItemValue: any;
|
|
27
|
-
openerUids: string[];
|
|
28
|
-
};
|
|
29
|
-
export declare function RecordPickerContent({ model, toOne }: {
|
|
30
|
-
model: any;
|
|
31
|
-
toOne?: boolean;
|
|
32
|
-
}): React.JSX.Element;
|
|
33
|
-
export declare class RecordPickerFieldModel extends FieldModel {
|
|
34
|
-
selectedRows: {
|
|
35
|
-
value: any[];
|
|
36
|
-
};
|
|
37
|
-
_closeView: any;
|
|
38
|
-
selectBlockModel: any;
|
|
39
|
-
get collectionField(): CollectionField;
|
|
40
|
-
render(): React.JSX.Element;
|
|
41
|
-
onInit(option: any): void;
|
|
42
|
-
protected onMount(): void;
|
|
43
|
-
set onClick(fn: any);
|
|
44
|
-
change(): void;
|
|
45
|
-
}
|
|
@@ -1,46 +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 { CollectionField, MultiRecordResource } from '@nocobase/flow-engine';
|
|
10
|
-
import React from 'react';
|
|
11
|
-
import { AssociationFieldModel } from './AssociationFieldModel';
|
|
12
|
-
import { type AssociationOption, type LazySelectProps } from './recordSelectShared';
|
|
13
|
-
type HydrateStatus = 'pending' | 'done';
|
|
14
|
-
type HydrationCandidate = {
|
|
15
|
-
item: AssociationOption;
|
|
16
|
-
tk: any;
|
|
17
|
-
tkKey: string;
|
|
18
|
-
};
|
|
19
|
-
export declare function collectAssociationHydrationCandidates(options: {
|
|
20
|
-
value: LazySelectProps['value'];
|
|
21
|
-
isMultiple: boolean;
|
|
22
|
-
valueKey: string;
|
|
23
|
-
labelKey: string;
|
|
24
|
-
statusMap: Map<string, HydrateStatus>;
|
|
25
|
-
}): HydrationCandidate[];
|
|
26
|
-
export declare function CreateContent({ model, toOne }: {
|
|
27
|
-
model: any;
|
|
28
|
-
toOne?: boolean;
|
|
29
|
-
}): React.JSX.Element;
|
|
30
|
-
export declare class RecordSelectFieldModel extends AssociationFieldModel {
|
|
31
|
-
resource: MultiRecordResource;
|
|
32
|
-
get collectionField(): CollectionField;
|
|
33
|
-
onInit(options: any): void;
|
|
34
|
-
set onPopupScroll(fn: any);
|
|
35
|
-
set onDropdownVisibleChange(fn: any);
|
|
36
|
-
set onSearch(fn: any);
|
|
37
|
-
setDataSource(dataSource: any): void;
|
|
38
|
-
getDataSource(): any;
|
|
39
|
-
getFilterValue(): any;
|
|
40
|
-
protected onMount(): void;
|
|
41
|
-
set onModalAddClick(fn: any);
|
|
42
|
-
set onDropdownAddClick(fn: any);
|
|
43
|
-
change(value: any): void;
|
|
44
|
-
render(): React.JSX.Element;
|
|
45
|
-
}
|
|
46
|
-
export {};
|
|
@@ -1,32 +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 { AssociationFieldModel } from './AssociationFieldModel';
|
|
11
|
-
declare class FormAssociationFieldModel extends AssociationFieldModel {
|
|
12
|
-
onInit(options: any): void;
|
|
13
|
-
}
|
|
14
|
-
export declare const ObjectNester: (props: any) => React.JSX.Element;
|
|
15
|
-
export declare class SubFormFieldModel extends FormAssociationFieldModel {
|
|
16
|
-
updateAssociation: boolean;
|
|
17
|
-
onInit(options: any): void;
|
|
18
|
-
onMount(): void;
|
|
19
|
-
render(): React.JSX.Element;
|
|
20
|
-
}
|
|
21
|
-
export declare class SubFormListFieldModel extends FormAssociationFieldModel {
|
|
22
|
-
selectedRows: {
|
|
23
|
-
value: any[];
|
|
24
|
-
};
|
|
25
|
-
updateAssociation: boolean;
|
|
26
|
-
onInit(options: any): void;
|
|
27
|
-
set onSelectExitRecordClick(fn: any);
|
|
28
|
-
change(): void;
|
|
29
|
-
onMount(): void;
|
|
30
|
-
render(): React.JSX.Element;
|
|
31
|
-
}
|
|
32
|
-
export {};
|
package/es/flow/models/fields/AssociationFieldModel/SubTableFieldModel/SubTableColumnModel.d.ts
DELETED
|
@@ -1,32 +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 { EditableItemModel, FlowModelContext, ModelRenderMode } from '@nocobase/flow-engine';
|
|
10
|
-
import { TableColumnProps } from 'antd';
|
|
11
|
-
import React from 'react';
|
|
12
|
-
import { SubTableFieldModel } from '.';
|
|
13
|
-
import { FieldModel } from '../../../base/FieldModel';
|
|
14
|
-
export declare function FieldWithoutPermissionPlaceholder({ targetModel }: {
|
|
15
|
-
targetModel: any;
|
|
16
|
-
}): React.JSX.Element;
|
|
17
|
-
export interface SubTableColumnModelStructure {
|
|
18
|
-
parent: SubTableFieldModel;
|
|
19
|
-
subModels: {
|
|
20
|
-
field: FieldModel;
|
|
21
|
-
};
|
|
22
|
-
}
|
|
23
|
-
export declare class SubTableColumnModel<T extends SubTableColumnModelStructure = SubTableColumnModelStructure> extends EditableItemModel<T> {
|
|
24
|
-
static renderMode: ModelRenderMode;
|
|
25
|
-
renderHiddenInConfig(): React.JSX.Element;
|
|
26
|
-
static defineChildren(ctx: FlowModelContext): any;
|
|
27
|
-
get collection(): any;
|
|
28
|
-
onInit(options: any): void;
|
|
29
|
-
afterAddAsSubModel(): Promise<void>;
|
|
30
|
-
getColumnProps(): TableColumnProps;
|
|
31
|
-
renderItem(): any;
|
|
32
|
-
}
|
|
@@ -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 SubTableField(props: any): React.JSX.Element;
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { AssociationFieldModel } from '../AssociationFieldModel';
|
|
3
|
-
import { SubTableColumnModel } from './SubTableColumnModel';
|
|
4
|
-
export declare class SubTableFieldModel extends AssociationFieldModel {
|
|
5
|
-
selectedRows: {
|
|
6
|
-
value: any[];
|
|
7
|
-
};
|
|
8
|
-
updateAssociation: boolean;
|
|
9
|
-
setCurrentPage: any;
|
|
10
|
-
currentPageSize: any;
|
|
11
|
-
getCurrentValue: () => any[];
|
|
12
|
-
get collection(): any;
|
|
13
|
-
getColumns(): any;
|
|
14
|
-
render(): React.JSX.Element;
|
|
15
|
-
onInit(options: any): void;
|
|
16
|
-
set onSelectExitRecordClick(fn: any);
|
|
17
|
-
change(): void;
|
|
18
|
-
}
|
|
19
|
-
export { SubTableColumnModel };
|
|
@@ -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
|
-
export * from './AssociationFieldModel';
|
|
10
|
-
export * from './RecordSelectFieldModel';
|
|
11
|
-
export * from './SubTableFieldModel';
|
|
12
|
-
export * from './SubFormFieldModel';
|
|
13
|
-
export * from './RecordPickerFieldModel';
|
|
14
|
-
export * from './CascadeSelectFieldModel';
|
|
15
|
-
export * from './PopupSubTableFieldModel';
|
|
@@ -1,99 +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 type ItemChain = {
|
|
10
|
-
index?: number;
|
|
11
|
-
length?: number;
|
|
12
|
-
__is_new__?: boolean;
|
|
13
|
-
__is_stored__?: boolean;
|
|
14
|
-
value: any;
|
|
15
|
-
parentItem?: ItemChain;
|
|
16
|
-
};
|
|
17
|
-
export type ItemChainResolver = (subPath: string) => boolean;
|
|
18
|
-
export type ParentItemAccessors = {
|
|
19
|
-
parentPropertiesAccessor: (ctx?: any) => any;
|
|
20
|
-
parentItemMetaAccessor: () => any;
|
|
21
|
-
parentItemResolverAccessor: () => ItemChainResolver | undefined;
|
|
22
|
-
};
|
|
23
|
-
export declare function createItemChainGetter(options: {
|
|
24
|
-
valueAccessor: () => any;
|
|
25
|
-
parentItemAccessor?: () => ItemChain | undefined;
|
|
26
|
-
indexAccessor?: () => number | undefined;
|
|
27
|
-
lengthAccessor?: () => number | undefined;
|
|
28
|
-
isNewAccessor?: () => boolean | undefined;
|
|
29
|
-
isStoredAccessor?: () => boolean | undefined;
|
|
30
|
-
}): () => ItemChain;
|
|
31
|
-
export declare function createRootItemChain(formValues: any): ItemChain;
|
|
32
|
-
export declare function resolveRecordPersistenceState(record: any, filterTargetKey: string | string[] | null | undefined): {
|
|
33
|
-
record: any;
|
|
34
|
-
hasPrimaryKey: boolean;
|
|
35
|
-
isNew: boolean;
|
|
36
|
-
isStored: boolean;
|
|
37
|
-
};
|
|
38
|
-
export declare function buildCurrentItemTitle(t: (key: string) => string, collectionField?: any, fallbackName?: string): string;
|
|
39
|
-
export declare function createParentItemAccessorsFromContext(options: {
|
|
40
|
-
parentContextAccessor: () => any;
|
|
41
|
-
fallbackParentPropertiesAccessor?: (ctx?: any) => any;
|
|
42
|
-
}): ParentItemAccessors;
|
|
43
|
-
export declare function createParentItemAccessorsFromInputArgs(inputArgsAccessor: () => any): ParentItemAccessors;
|
|
44
|
-
export declare function createItemChainMetaFactory(options: {
|
|
45
|
-
t: (key: string) => string;
|
|
46
|
-
title: string;
|
|
47
|
-
showIndex?: boolean;
|
|
48
|
-
showParentIndex?: boolean;
|
|
49
|
-
disableValueBranch?: boolean;
|
|
50
|
-
valueBranchDisabledReason?: string;
|
|
51
|
-
collectionAccessor: () => any;
|
|
52
|
-
propertiesAccessor: (ctx: any) => any;
|
|
53
|
-
parentCollectionAccessor?: () => any;
|
|
54
|
-
parentPropertiesAccessor?: (ctx: any) => any;
|
|
55
|
-
parentItemMetaAccessor?: () => any;
|
|
56
|
-
}): any;
|
|
57
|
-
export declare function createItemChainResolver(options: {
|
|
58
|
-
collectionAccessor: () => any;
|
|
59
|
-
disableValueBranch?: boolean;
|
|
60
|
-
propertiesAccessor?: () => unknown;
|
|
61
|
-
parentCollectionAccessor?: () => any;
|
|
62
|
-
parentPropertiesAccessor?: () => unknown;
|
|
63
|
-
parentItemResolverAccessor?: () => ((subPath: string) => boolean) | undefined;
|
|
64
|
-
}): (subPath: string) => boolean;
|
|
65
|
-
export type ItemChainMetaAndResolverOptions = {
|
|
66
|
-
metaFactoryOptions: Parameters<typeof createItemChainMetaFactory>[0];
|
|
67
|
-
resolverOptions: Parameters<typeof createItemChainResolver>[0];
|
|
68
|
-
};
|
|
69
|
-
export declare function createItemChainMetaAndResolver(options: ItemChainMetaAndResolverOptions): {
|
|
70
|
-
meta: any;
|
|
71
|
-
resolveOnServer: (subPath: string) => boolean;
|
|
72
|
-
};
|
|
73
|
-
export type AssociationItemChainContextPropertyOptions = {
|
|
74
|
-
t: (key: string) => string;
|
|
75
|
-
title: string;
|
|
76
|
-
showIndex?: boolean;
|
|
77
|
-
showParentIndex?: boolean;
|
|
78
|
-
disableValueBranch?: boolean;
|
|
79
|
-
valueBranchDisabledReason?: string;
|
|
80
|
-
collectionAccessor: () => any;
|
|
81
|
-
propertiesAccessor: (ctx: any) => any;
|
|
82
|
-
resolverPropertiesAccessor?: () => unknown;
|
|
83
|
-
parentCollectionAccessor?: () => any;
|
|
84
|
-
parentAccessors?: Partial<ParentItemAccessors>;
|
|
85
|
-
useParentItemMeta?: boolean;
|
|
86
|
-
useParentItemResolver?: boolean;
|
|
87
|
-
};
|
|
88
|
-
export declare function createAssociationItemChainContextPropertyOptions(options: AssociationItemChainContextPropertyOptions): {
|
|
89
|
-
serverOnlyWhenContextParams: true;
|
|
90
|
-
meta: any;
|
|
91
|
-
resolveOnServer: (subPath: string) => boolean;
|
|
92
|
-
cache: false;
|
|
93
|
-
};
|
|
94
|
-
export declare function createItemChainContextPropertyOptions(options: ItemChainMetaAndResolverOptions): {
|
|
95
|
-
serverOnlyWhenContextParams: true;
|
|
96
|
-
meta: any;
|
|
97
|
-
resolveOnServer: (subPath: string) => boolean;
|
|
98
|
-
cache: false;
|
|
99
|
-
};
|
|
@@ -1,48 +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 FlowRuntimeContext } from '@nocobase/flow-engine';
|
|
10
|
-
import type { SelectProps } from 'antd';
|
|
11
|
-
import React from 'react';
|
|
12
|
-
export interface AssociationFieldNames {
|
|
13
|
-
label: string;
|
|
14
|
-
value: string;
|
|
15
|
-
}
|
|
16
|
-
export declare function normalizeAssociationFieldNames(fieldNames: Partial<AssociationFieldNames> | undefined, targetCollection?: any): AssociationFieldNames;
|
|
17
|
-
export type AssociationOption = Record<string, any>;
|
|
18
|
-
export type PopupScrollEvent = Parameters<NonNullable<SelectProps<any>['onPopupScroll']>>[0];
|
|
19
|
-
export declare function buildOpenerUids(ctx: FlowRuntimeContext, inputArgs?: Record<string, unknown>): string[];
|
|
20
|
-
export interface LazySelectProps extends Omit<SelectProps<any>, 'mode' | 'options' | 'value' | 'onChange'> {
|
|
21
|
-
fieldNames: AssociationFieldNames;
|
|
22
|
-
value?: AssociationOption | AssociationOption[] | string | string[] | number | number[];
|
|
23
|
-
multiple?: boolean;
|
|
24
|
-
allowMultiple?: boolean;
|
|
25
|
-
keepDropdownOpenOnSelect?: boolean;
|
|
26
|
-
options?: AssociationOption[];
|
|
27
|
-
valueMode?: 'record' | 'value';
|
|
28
|
-
onChange: (option: AssociationOption | AssociationOption[] | string | string[] | number | number[]) => void;
|
|
29
|
-
onDropdownVisibleChange?: (open: boolean) => void;
|
|
30
|
-
onPopupScroll?: SelectProps<any>['onPopupScroll'];
|
|
31
|
-
onSearch?: SelectProps<any>['onSearch'];
|
|
32
|
-
loading?: boolean;
|
|
33
|
-
onCompositionStart?: (e: any) => void;
|
|
34
|
-
onCompositionEnd?: (e: any, flag?: boolean) => void;
|
|
35
|
-
quickCreate?: 'none' | 'modalAdd' | 'quickAdd';
|
|
36
|
-
onModalAddClick?: (e: any) => void;
|
|
37
|
-
onDropdownAddClick?: (e: any) => void;
|
|
38
|
-
searchText?: string;
|
|
39
|
-
allowCreate?: boolean;
|
|
40
|
-
allowEdit?: boolean;
|
|
41
|
-
}
|
|
42
|
-
export interface LabelByFieldProps {
|
|
43
|
-
option: AssociationOption;
|
|
44
|
-
fieldNames: AssociationFieldNames;
|
|
45
|
-
}
|
|
46
|
-
export declare function LabelByField(props: Readonly<LabelByFieldProps>): React.JSX.Element;
|
|
47
|
-
export declare function toSelectValue(record: AssociationOption | AssociationOption[] | string | string[] | number | number[] | undefined, fieldNames: AssociationFieldNames, multiple?: boolean, valueMode?: 'record' | 'value', options?: AssociationOption[]): any;
|
|
48
|
-
export declare function resolveOptions(options: AssociationOption[] | undefined, value: AssociationOption | AssociationOption[] | string | string[] | number | number[] | undefined, isMultiple: boolean): AssociationOption[];
|
|
@@ -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
|
-
import { FieldModel } from '../base';
|
|
11
|
-
export declare class CheckboxFieldModel extends FieldModel {
|
|
12
|
-
render(): React.JSX.Element;
|
|
13
|
-
}
|
|
@@ -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
|
-
import { FieldModel } from '../base';
|
|
11
|
-
export declare class CheckboxGroupFieldModel extends FieldModel {
|
|
12
|
-
render(): React.JSX.Element;
|
|
13
|
-
}
|
|
@@ -1,25 +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 { CollectionField } from '@nocobase/flow-engine';
|
|
10
|
-
import React from 'react';
|
|
11
|
-
import { FieldModel } from '../base';
|
|
12
|
-
export declare function transformNestedData(inputData: any): any[];
|
|
13
|
-
export declare class ClickableFieldModel extends FieldModel {
|
|
14
|
-
get collectionField(): CollectionField;
|
|
15
|
-
/**
|
|
16
|
-
* 点击打开行为
|
|
17
|
-
*/
|
|
18
|
-
onClick(event: any, currentRecord: any): void;
|
|
19
|
-
renderComponent(value: any, wrap?: any): any;
|
|
20
|
-
renderInDisplayStyle(value: any, record?: any, isToMany?: any, wrap?: any): React.JSX.Element;
|
|
21
|
-
/**
|
|
22
|
-
* 基类统一渲染逻辑
|
|
23
|
-
*/
|
|
24
|
-
render(): any;
|
|
25
|
-
}
|
|
@@ -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
|
-
import { FieldModel } from '../base';
|
|
11
|
-
export declare class CollectionSelectorFieldModel extends FieldModel {
|
|
12
|
-
render(): React.JSX.Element;
|
|
13
|
-
}
|
|
@@ -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 React from 'react';
|
|
10
|
-
import { FieldModel } from '../base';
|
|
11
|
-
export declare const NBColorPicker: (props: any) => React.JSX.Element;
|
|
12
|
-
export declare class ColorFieldModel extends FieldModel {
|
|
13
|
-
render(): React.JSX.Element;
|
|
14
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { DateTimeFieldModel } from './DateTimeFieldModel';
|
|
3
|
-
export declare const DateOnlyPicker: (props: any) => React.JSX.Element;
|
|
4
|
-
export declare class DateOnlyFieldModel extends DateTimeFieldModel {
|
|
5
|
-
setProps(componentProps: any): void;
|
|
6
|
-
render(): React.JSX.Element;
|
|
7
|
-
}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { DateTimeFieldModel } from './DateTimeFieldModel';
|
|
3
|
-
export declare const DateTimeNoTzPicker: (props: any) => React.JSX.Element;
|
|
4
|
-
export declare class DateTimeNoTzFieldModel extends DateTimeFieldModel {
|
|
5
|
-
render(): React.JSX.Element;
|
|
6
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { DateTimeFieldModel } from './DateTimeFieldModel';
|
|
3
|
-
export declare const DateTimeTzPicker: (props: any) => React.JSX.Element;
|
|
4
|
-
export declare class DateTimeTzFieldModel extends DateTimeFieldModel {
|
|
5
|
-
setProps(componentProps: any): void;
|
|
6
|
-
render(): React.JSX.Element;
|
|
7
|
-
}
|
|
@@ -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
|
-
export * from './DateOnlyFieldModel';
|
|
10
|
-
export * from './DateTimeNoTzFieldModel';
|
|
11
|
-
export * from './DateTimeTzFieldModel';
|
|
@@ -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 React from 'react';
|
|
10
|
-
import { FieldModel } from '../../base';
|
|
11
|
-
export declare class DisplaySubItemFieldModel extends FieldModel {
|
|
12
|
-
disableTitleField: boolean;
|
|
13
|
-
subModelBaseClasses: {
|
|
14
|
-
action: any;
|
|
15
|
-
field: any;
|
|
16
|
-
};
|
|
17
|
-
getAddSubModelButtonProps(type: 'action' | 'field'): {
|
|
18
|
-
subModelBaseClasses: any[];
|
|
19
|
-
subModelBaseClass?: undefined;
|
|
20
|
-
} | {
|
|
21
|
-
subModelBaseClass: any;
|
|
22
|
-
subModelBaseClasses?: undefined;
|
|
23
|
-
};
|
|
24
|
-
onInit(options: any): void;
|
|
25
|
-
render(): React.JSX.Element;
|
|
26
|
-
}
|
|
@@ -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 React from 'react';
|
|
10
|
-
import { FieldModel } from '../../base';
|
|
11
|
-
export declare class DisplaySubListFieldModel extends FieldModel {
|
|
12
|
-
disableTitleField: boolean;
|
|
13
|
-
subModelBaseClasses: {
|
|
14
|
-
action: any;
|
|
15
|
-
field: any;
|
|
16
|
-
};
|
|
17
|
-
getAddSubModelButtonProps(type: 'action' | 'field'): {
|
|
18
|
-
subModelBaseClasses: any[];
|
|
19
|
-
subModelBaseClass?: undefined;
|
|
20
|
-
} | {
|
|
21
|
-
subModelBaseClass: any;
|
|
22
|
-
subModelBaseClasses?: undefined;
|
|
23
|
-
};
|
|
24
|
-
onInit(options: any): void;
|
|
25
|
-
render(): React.JSX.Element;
|
|
26
|
-
}
|
|
@@ -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 { FieldModel } from '../../base';
|
|
11
|
-
export declare class DisplaySubTableFieldModel extends FieldModel {
|
|
12
|
-
disableTitleField: boolean;
|
|
13
|
-
defaultOverflowMode: string;
|
|
14
|
-
get collection(): any;
|
|
15
|
-
get collectionField(): any;
|
|
16
|
-
onInit(options: any): void;
|
|
17
|
-
afterAddAsSubModel(): Promise<void>;
|
|
18
|
-
getBaseColumns(): any[];
|
|
19
|
-
render(): React.JSX.Element;
|
|
20
|
-
}
|
|
@@ -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 declare const normalizeFieldIndexChain: (fieldIndex: unknown) => string[];
|
|
10
|
-
export declare const buildDisplaySubListForkKey: ({ parentFieldIndex, index, blockPage, }: {
|
|
11
|
-
parentFieldIndex: string[];
|
|
12
|
-
index: number;
|
|
13
|
-
blockPage: number;
|
|
14
|
-
}) => string;
|