@nocobase/client 2.1.0-beta.9 → 2.2.0-alpha.1
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 -3
- package/es/api-client/APIClient.d.ts +1 -2
- package/es/application/Application.d.ts +68 -143
- package/es/application/CustomRouterContextProvider.d.ts +1 -0
- package/es/application/Plugin.d.ts +2 -24
- package/es/application/PluginManager.d.ts +7 -36
- package/es/application/PluginSettingsManager.d.ts +103 -7
- package/es/application/RouteRepository.d.ts +1 -15
- package/es/application/RouterManager.d.ts +4 -44
- package/es/application/WebSocketClient.d.ts +2 -36
- package/es/application/components/index.d.ts +0 -2
- package/es/application/hooks/usePlugin.d.ts +2 -2
- package/es/application/schema-initializer/context/index.d.ts +1 -1
- package/es/application/schema-settings/hooks/useSchemaSettingsRender.d.ts +2 -2
- package/es/application/utils/globalDeps.d.ts +7 -0
- package/es/application/utils/remotePlugins.d.ts +9 -6
- package/es/block-provider/BlockProvider.d.ts +1 -0
- package/es/block-provider/TableBlockContextBasicValue.d.ts +25 -0
- package/es/block-provider/TableBlockProvider.d.ts +0 -11
- package/es/block-provider/index.d.ts +1 -0
- package/es/collection-manager/hooks/useCollection_deprecated.d.ts +2 -2
- package/es/collection-manager/templates/sql.d.ts +4 -4
- package/es/collection-manager/templates/view.d.ts +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.css +1 -1
- package/es/index.d.ts +1 -1
- package/es/index.mjs +1519 -108553
- package/es/index.mjs.LICENSE.txt +8 -0
- package/es/lazy-helper/index.d.ts +8 -6
- package/es/modules/actions/associate/utils.d.ts +18 -0
- package/es/modules/actions/link/useURLAndHTMLSchema.d.ts +1 -0
- package/es/modules/blocks/BlockSchemaToolbar.d.ts +1 -1
- package/es/plugin-manager/PinnedPluginListProvider.d.ts +2 -1
- package/es/plugin-manager/context.d.ts +1 -4
- package/es/{flow/models/actions/JSActionModel.d.ts → pm/AdminSettingsLayoutModel.d.ts} +2 -4
- package/es/pm/PluginSetting.d.ts +2 -1
- package/es/pm/index.d.ts +1 -0
- package/es/{flow/components/placeholders/FieldPlaceholder.d.ts → route-switch/antd/admin-layout/AdminDynamicPage.d.ts} +1 -1
- package/es/route-switch/antd/admin-layout/AdminLayoutCompat.d.ts +32 -0
- package/es/route-switch/antd/admin-layout/AdminLayoutComponentV1.d.ts +15 -0
- package/es/route-switch/antd/admin-layout/AdminLayoutMenuFlowUtils.d.ts +107 -0
- package/es/route-switch/antd/admin-layout/AdminLayoutMenuModels.d.ts +69 -0
- package/es/route-switch/antd/admin-layout/AdminLayoutMenuUtils.d.ts +164 -0
- package/es/route-switch/antd/admin-layout/AdminLayoutModel.d.ts +33 -0
- package/es/{application/components/MainComponent.d.ts → route-switch/antd/admin-layout/AdminShellProvider.d.ts} +4 -2
- package/es/{flow/components/drag-drop/Sortable.d.ts → route-switch/antd/admin-layout/ResetThemeTokenAndKeepAlgorithm.d.ts} +4 -3
- package/es/{ai/tools-manager/hooks/provider.d.ts → route-switch/antd/admin-layout/badge.d.ts} +3 -8
- package/es/route-switch/antd/admin-layout/index.d.ts +12 -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/form-v2/Form.d.ts +5 -0
- package/es/schema-component/antd/menu/Menu.d.ts +2 -2
- package/es/schema-component/antd/page/Page.d.ts +1 -0
- package/es/schema-component/antd/page/pagePopupUtils.d.ts +1 -1
- package/es/schema-component/antd/upload/shared.d.ts +4 -0
- package/es/schema-initializer/components/CreateRecordAction.d.ts +1 -1
- package/es/schema-settings/GeneralSchemaDesigner.d.ts +2 -1
- package/es/schema-settings/SchemaSettings.d.ts +3 -1
- package/es/schema-settings/SchemaSettingsDefaultValue.d.ts +18 -0
- package/es/style/index.d.ts +1 -1
- package/es/style/useToken.d.ts +1 -1
- package/es/system-settings/SystemSettingsProvider.d.ts +1 -6
- package/es/system-settings/SystemSettingsShortcut.d.ts +7 -0
- package/es/{flow/components/drag-drop/index.d.ts → system-settings/SystemSettingsSource.d.ts} +1 -2
- package/es/system-settings/index.d.ts +2 -1
- package/lib/index.css +1 -1
- package/lib/index.js +1576 -2164
- package/lib/index.js.LICENSE.txt +1 -0
- package/lib/locale/de-DE.json +2 -6
- package/lib/locale/en-US.json +25 -5
- package/lib/locale/es-ES.json +2 -6
- package/lib/locale/fr-FR.json +2 -6
- package/lib/locale/hu-HU.json +2 -6
- package/lib/locale/id-ID.json +2 -6
- package/lib/locale/it-IT.json +2 -6
- package/lib/locale/ja-JP.json +2 -6
- package/lib/locale/ko-KR.json +2 -6
- package/lib/locale/nl-NL.json +2 -6
- package/lib/locale/pt-BR.json +2 -6
- package/lib/locale/ru-RU.json +2 -6
- package/lib/locale/tr-TR.json +2 -6
- package/lib/locale/uk-UA.json +2 -6
- package/lib/locale/vi-VN.json +2 -6
- package/lib/locale/zh-CN.json +28 -6
- package/lib/locale/zh-TW.json +2 -6
- package/package.json +9 -8
- package/es/ai/ai-manager.d.ts +0 -15
- package/es/ai/tools-manager/hooks/context.d.ts +0 -17
- package/es/ai/tools-manager/hooks/index.d.ts +0 -11
- package/es/ai/tools-manager/index.d.ts +0 -20
- package/es/ai/tools-manager/types.d.ts +0 -80
- package/es/ai/utils.d.ts +0 -10
- package/es/application/components/AppComponent.d.ts +0 -14
- package/es/application/components/defaultComponents.d.ts +0 -19
- package/es/application/globalOperators.d.ts +0 -11
- package/es/flow/FlowModelRepository.d.ts +0 -36
- package/es/flow/FlowPage.d.ts +0 -20
- package/es/flow/actions/aclCheck.d.ts +0 -9
- package/es/flow/actions/aclCheckRefresh.d.ts +0 -9
- package/es/flow/actions/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 -69
- package/es/flow/components/Grid/index.d.ts +0 -26
- package/es/flow/components/JsonEditor.d.ts +0 -19
- package/es/flow/components/RunJSValueEditor.d.ts +0 -19
- package/es/flow/components/SkeletonFallback.d.ts +0 -10
- package/es/flow/components/TextAreaWithContextSelector.d.ts +0 -30
- package/es/flow/components/code-editor/core/EditorCore.d.ts +0 -25
- package/es/flow/components/code-editor/errorHelpers.d.ts +0 -17
- package/es/flow/components/code-editor/extension/CodeEditorExtension.d.ts +0 -14
- package/es/flow/components/code-editor/extension/index.d.ts +0 -9
- package/es/flow/components/code-editor/formatDocInfo.d.ts +0 -17
- package/es/flow/components/code-editor/hooks/useCodeRunner.d.ts +0 -23
- package/es/flow/components/code-editor/hooks/useRunJSDocCompletions.d.ts +0 -15
- package/es/flow/components/code-editor/htmlCompletion.d.ts +0 -11
- package/es/flow/components/code-editor/index.d.ts +0 -31
- package/es/flow/components/code-editor/javascriptCompletion.d.ts +0 -11
- package/es/flow/components/code-editor/javascriptHtmlTemplate.d.ts +0 -16
- package/es/flow/components/code-editor/jsxCompletion.d.ts +0 -10
- package/es/flow/components/code-editor/linter.d.ts +0 -19
- package/es/flow/components/code-editor/panels/LogsPanel.d.ts +0 -15
- package/es/flow/components/code-editor/panels/RightExtra.d.ts +0 -18
- package/es/flow/components/code-editor/panels/SnippetsDrawer.d.ts +0 -18
- package/es/flow/components/code-editor/runjsCompletionSource.d.ts +0 -20
- package/es/flow/components/code-editor/runjsCompletions.d.ts +0 -23
- package/es/flow/components/code-editor/runjsDiagnostics.d.ts +0 -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/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/JSCollectionActionModel.d.ts +0 -14
- 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 -23
- 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 -53
- package/es/flow/models/blocks/details/DetailsJSFieldItemModel.d.ts +0 -19
- package/es/flow/models/blocks/details/index.d.ts +0 -14
- package/es/flow/models/blocks/details/utils.d.ts +0 -16
- package/es/flow/models/blocks/filter-form/FieldModelSelect.d.ts +0 -10
- package/es/flow/models/blocks/filter-form/FieldOperatorSelect.d.ts +0 -10
- package/es/flow/models/blocks/filter-form/FilterFormActionGroupModel.d.ts +0 -13
- package/es/flow/models/blocks/filter-form/FilterFormActionModel.d.ts +0 -11
- package/es/flow/models/blocks/filter-form/FilterFormBlockModel.d.ts +0 -39
- package/es/flow/models/blocks/filter-form/FilterFormCollapseActionModel.d.ts +0 -18
- package/es/flow/models/blocks/filter-form/FilterFormCustomItemModel.d.ts +0 -13
- package/es/flow/models/blocks/filter-form/FilterFormGridModel.d.ts +0 -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 -95
- package/es/flow/models/blocks/form/FormCustomItemModel.d.ts +0 -13
- package/es/flow/models/blocks/form/FormGridModel.d.ts +0 -34
- package/es/flow/models/blocks/form/FormItemModel.d.ts +0 -39
- package/es/flow/models/blocks/form/FormJSFieldItemModel.d.ts +0 -18
- package/es/flow/models/blocks/form/JSFormActionModel.d.ts +0 -11
- package/es/flow/models/blocks/form/QuickEditFormModel.d.ts +0 -38
- package/es/flow/models/blocks/form/assignRulesUpdateAssociationValues.d.ts +0 -18
- package/es/flow/models/blocks/form/dynamicNamePath.d.ts +0 -19
- package/es/flow/models/blocks/form/index.d.ts +0 -21
- package/es/flow/models/blocks/form/legacyDefaultValueMigration.d.ts +0 -13
- package/es/flow/models/blocks/form/submitHandler.d.ts +0 -9
- package/es/flow/models/blocks/form/submitValues.d.ts +0 -27
- package/es/flow/models/blocks/form/value-runtime/conditions.d.ts +0 -9
- package/es/flow/models/blocks/form/value-runtime/deps.d.ts +0 -23
- package/es/flow/models/blocks/form/value-runtime/form-patch.d.ts +0 -19
- package/es/flow/models/blocks/form/value-runtime/index.d.ts +0 -11
- package/es/flow/models/blocks/form/value-runtime/path.d.ts +0 -25
- package/es/flow/models/blocks/form/value-runtime/rules.d.ts +0 -129
- package/es/flow/models/blocks/form/value-runtime/runtime.d.ts +0 -75
- package/es/flow/models/blocks/form/value-runtime/types.d.ts +0 -62
- package/es/flow/models/blocks/form/value-runtime/utils.d.ts +0 -12
- package/es/flow/models/blocks/index.d.ts +0 -15
- package/es/flow/models/blocks/js-block/JSBlock.d.ts +0 -16
- package/es/flow/models/blocks/js-block/index.d.ts +0 -9
- package/es/flow/models/blocks/shared/legacyDefaultValueMigrationBase.d.ts +0 -20
- package/es/flow/models/blocks/table/JSColumnModel.d.ts +0 -21
- package/es/flow/models/blocks/table/TableActionsColumnModel.d.ts +0 -18
- package/es/flow/models/blocks/table/TableAssociationFieldGroupModel.d.ts +0 -12
- package/es/flow/models/blocks/table/TableBlockModel.d.ts +0 -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 -4
- package/es/flow/models/fields/AssociationFieldModel/CascadeSelectFieldModel.d.ts +0 -45
- package/es/flow/models/fields/AssociationFieldModel/PopupSubTableFieldModel/PopupSubTableActionGroupModel.d.ts +0 -11
- package/es/flow/models/fields/AssociationFieldModel/PopupSubTableFieldModel/PopupSubTableActionsColumnModel.d.ts +0 -19
- package/es/flow/models/fields/AssociationFieldModel/PopupSubTableFieldModel/PopupSubTableFieldModel.d.ts +0 -30
- package/es/flow/models/fields/AssociationFieldModel/PopupSubTableFieldModel/actions/PopupSubTableEditActionModel.d.ts +0 -28
- package/es/flow/models/fields/AssociationFieldModel/PopupSubTableFieldModel/actions/PopupSubTableFormSubmitActionModel.d.ts +0 -16
- package/es/flow/models/fields/AssociationFieldModel/PopupSubTableFieldModel/actions/PopupSubTableRemoveActionModel.d.ts +0 -14
- package/es/flow/models/fields/AssociationFieldModel/PopupSubTableFieldModel/blocks/PopupSubTableFormModel.d.ts +0 -36
- package/es/flow/models/fields/AssociationFieldModel/PopupSubTableFieldModel/index.d.ts +0 -17
- package/es/flow/models/fields/AssociationFieldModel/RecordPickerFieldModel.d.ts +0 -35
- package/es/flow/models/fields/AssociationFieldModel/RecordSelectFieldModel.d.ts +0 -46
- package/es/flow/models/fields/AssociationFieldModel/SubFormFieldModel.d.ts +0 -32
- package/es/flow/models/fields/AssociationFieldModel/SubTableFieldModel/SubTableColumnModel.d.ts +0 -32
- package/es/flow/models/fields/AssociationFieldModel/SubTableFieldModel/SubTableField.d.ts +0 -10
- package/es/flow/models/fields/AssociationFieldModel/SubTableFieldModel/index.d.ts +0 -18
- package/es/flow/models/fields/AssociationFieldModel/index.d.ts +0 -15
- package/es/flow/models/fields/AssociationFieldModel/itemChain.d.ts +0 -94
- package/es/flow/models/fields/AssociationFieldModel/recordSelectShared.d.ts +0 -59
- package/es/flow/models/fields/CheckboxFieldModel.d.ts +0 -13
- package/es/flow/models/fields/CheckboxGroupFieldModel.d.ts +0 -13
- package/es/flow/models/fields/ClickableFieldModel.d.ts +0 -25
- package/es/flow/models/fields/CollectionSelectorFieldModel.d.ts +0 -13
- package/es/flow/models/fields/ColorFieldModel.d.ts +0 -14
- package/es/flow/models/fields/DateTimeFieldModel/DateOnlyFieldModel.d.ts +0 -7
- package/es/flow/models/fields/DateTimeFieldModel/DateTimeFieldModel.d.ts +0 -3
- package/es/flow/models/fields/DateTimeFieldModel/DateTimeNoTzFieldModel.d.ts +0 -6
- package/es/flow/models/fields/DateTimeFieldModel/DateTimeTzFieldModel.d.ts +0 -7
- package/es/flow/models/fields/DateTimeFieldModel/index.d.ts +0 -11
- package/es/flow/models/fields/DisplayAssociationField/DisplaySubItemFieldModel.d.ts +0 -26
- package/es/flow/models/fields/DisplayAssociationField/DisplaySubListFieldModel.d.ts +0 -26
- package/es/flow/models/fields/DisplayAssociationField/DisplaySubTableFieldModel.d.ts +0 -20
- package/es/flow/models/fields/DisplayAssociationField/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 -13
- package/es/flow/models/fields/DisplayTimeFieldModel.d.ts +0 -13
- package/es/flow/models/fields/DisplayTitleFieldModel.d.ts +0 -18
- package/es/flow/models/fields/DisplayURLFieldModel.d.ts +0 -13
- package/es/flow/models/fields/DividerItemModel.d.ts +0 -13
- package/es/flow/models/fields/IconFieldModel.d.ts +0 -13
- package/es/flow/models/fields/InputFieldModel.d.ts +0 -13
- package/es/flow/models/fields/JSEditableFieldModel.d.ts +0 -27
- package/es/flow/models/fields/JSFieldModel.d.ts +0 -45
- package/es/flow/models/fields/JSItemModel.d.ts +0 -27
- package/es/flow/models/fields/JsonFieldModel.d.ts +0 -6
- package/es/flow/models/fields/MarkdownItemModel.d.ts +0 -14
- package/es/flow/models/fields/NumberFieldModel.d.ts +0 -15
- package/es/flow/models/fields/PasswordFieldModel.d.ts +0 -13
- package/es/flow/models/fields/PercentFieldModel.d.ts +0 -14
- package/es/flow/models/fields/RadioGroupFieldModel.d.ts +0 -13
- package/es/flow/models/fields/RichTextFieldModel/index.d.ts +0 -14
- package/es/flow/models/fields/RichTextFieldModel/registerFontSize.d.ts +0 -9
- package/es/flow/models/fields/RichTextFieldModel/registerImageResize.d.ts +0 -9
- package/es/flow/models/fields/RichTextFieldModel/registerSmartBreak.d.ts +0 -12
- package/es/flow/models/fields/RichTextFieldModel/style.d.ts +0 -9
- package/es/flow/models/fields/SelectFieldModel.d.ts +0 -13
- package/es/flow/models/fields/TextareaFieldModel.d.ts +0 -13
- package/es/flow/models/fields/TimeFieldModel.d.ts +0 -5
- package/es/flow/models/fields/VariableFieldFormModel.d.ts +0 -18
- package/es/flow/models/fields/index.d.ts +0 -47
- package/es/flow/models/fields/mobile-components/MobileDatePicker.d.ts +0 -10
- package/es/flow/models/fields/mobile-components/MobileLazySelect.d.ts +0 -11
- package/es/flow/models/fields/mobile-components/MobileSelect.d.ts +0 -10
- package/es/flow/models/fields/mobile-components/MobileTimePicker.d.ts +0 -10
- package/es/flow/models/index.d.ts +0 -12
- package/es/flow/models/utils/resolveRunJsParams.d.ts +0 -19
- package/es/flow/resolveViewParamsToViewList.d.ts +0 -20
- package/es/flow/utils/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/md-BbvRKckr.mjs +0 -61
- package/es/md-oH2RssNY.mjs +0 -61
- package/es/route-switch/antd/admin-layout/useApplications.d.ts +0 -12
- package/lib/md-BbvRKckr-IQIU5F3r.js +0 -1
- package/lib/md-oH2RssNY-IQIU5F3r.js +0 -1
|
@@ -1,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 { DisplayItemModel, FlowModelContext } from '@nocobase/flow-engine';
|
|
10
|
-
import React from 'react';
|
|
11
|
-
export declare class FormAssociationItemModel extends DisplayItemModel {
|
|
12
|
-
static defineChildren(ctx: FlowModelContext): {
|
|
13
|
-
key: any;
|
|
14
|
-
label: string;
|
|
15
|
-
refreshTargets: string[];
|
|
16
|
-
toggleable: (subModel: any) => boolean;
|
|
17
|
-
useModel: string;
|
|
18
|
-
createModelOptions: () => {
|
|
19
|
-
use: string;
|
|
20
|
-
stepParams: {
|
|
21
|
-
fieldSettings: {
|
|
22
|
-
init: {
|
|
23
|
-
dataSourceKey: any;
|
|
24
|
-
collectionName: any;
|
|
25
|
-
fieldPath: any;
|
|
26
|
-
};
|
|
27
|
-
};
|
|
28
|
-
};
|
|
29
|
-
subModels: {
|
|
30
|
-
field: {
|
|
31
|
-
use: string;
|
|
32
|
-
props: any;
|
|
33
|
-
};
|
|
34
|
-
};
|
|
35
|
-
};
|
|
36
|
-
}[];
|
|
37
|
-
onInit(options: any): void;
|
|
38
|
-
renderItem(): React.JSX.Element;
|
|
39
|
-
}
|
|
@@ -1,95 +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 { PropertyMetaFactory } from '@nocobase/flow-engine';
|
|
10
|
-
import { FormInstance } from 'antd';
|
|
11
|
-
import React from 'react';
|
|
12
|
-
import { BlockGridModel } from '../../base/BlockGridModel';
|
|
13
|
-
import { CollectionBlockModel } from '../../base/CollectionBlockModel';
|
|
14
|
-
import { FormActionModel } from './FormActionModel';
|
|
15
|
-
import { FormGridModel } from './FormGridModel';
|
|
16
|
-
import { FormValueRuntime } from './value-runtime';
|
|
17
|
-
type DefaultCollectionBlockModelStructure = {
|
|
18
|
-
parent?: BlockGridModel;
|
|
19
|
-
subModels?: {
|
|
20
|
-
grid: FormGridModel;
|
|
21
|
-
actions?: FormActionModel[];
|
|
22
|
-
};
|
|
23
|
-
};
|
|
24
|
-
type CustomFormBlockModelClassesEnum = {};
|
|
25
|
-
export declare class FormBlockModel<T extends DefaultCollectionBlockModelStructure = DefaultCollectionBlockModelStructure> extends CollectionBlockModel<T> {
|
|
26
|
-
formValueRuntime?: FormValueRuntime;
|
|
27
|
-
private userModifiedTopLevelFields;
|
|
28
|
-
get form(): FormInstance<any>;
|
|
29
|
-
_defaultCustomModelClasses: {
|
|
30
|
-
FormActionGroupModel: string;
|
|
31
|
-
FormItemModel: string;
|
|
32
|
-
FormAssociationFieldGroupModel: string;
|
|
33
|
-
};
|
|
34
|
-
customModelClasses: CustomFormBlockModelClassesEnum;
|
|
35
|
-
renderConfigureActions(): React.JSX.Element;
|
|
36
|
-
setFieldsValue(values: any): void;
|
|
37
|
-
setFieldValue(fieldName: any, value: any): void;
|
|
38
|
-
/**
|
|
39
|
-
* @internal
|
|
40
|
-
*
|
|
41
|
-
* 仅用于编辑表单刷新保护:只记录「用户交互」触发的改动(来自 antd Form.onValuesChange)。
|
|
42
|
-
* 程序化 setFieldValue/setFieldsValue 不会触发 onValuesChange(见 linkageRules 的手动 emit),因此不会污染该集合。
|
|
43
|
-
*/
|
|
44
|
-
markUserModifiedFields(changedValues: any): void;
|
|
45
|
-
/**
|
|
46
|
-
* @internal
|
|
47
|
-
*/
|
|
48
|
-
getUserModifiedFields(): Set<string>;
|
|
49
|
-
/**
|
|
50
|
-
* @internal
|
|
51
|
-
*/
|
|
52
|
-
resetUserModifiedFields(): void;
|
|
53
|
-
onDispatchEventStart(eventName: string, options?: any, inputArgs?: Record<string, any>): Promise<void>;
|
|
54
|
-
getStepParams(flowKey: string, stepKey: string): any | undefined;
|
|
55
|
-
getStepParams(flowKey: string): Record<string, any> | undefined;
|
|
56
|
-
getStepParams(): Record<string, any>;
|
|
57
|
-
setStepParams(flowKey: string, stepKey: string, params: any): void;
|
|
58
|
-
setStepParams(flowKey: string, stepParams: Record<string, any>): void;
|
|
59
|
-
setStepParams(allParams: Record<string, any>): void;
|
|
60
|
-
saveStepParams(): Promise<any>;
|
|
61
|
-
protected createFormValuesMetaFactory(): PropertyMetaFactory;
|
|
62
|
-
useHooksBeforeRender(): void;
|
|
63
|
-
onInit(options: any): void;
|
|
64
|
-
protected onMount(): void;
|
|
65
|
-
onUnmount(): void;
|
|
66
|
-
getCurrentRecord(): {};
|
|
67
|
-
renderComponent(): void;
|
|
68
|
-
}
|
|
69
|
-
export declare function FormComponent({ model, children, layoutProps, initialValues, ...rest }: {
|
|
70
|
-
model: any;
|
|
71
|
-
children: React.ReactNode;
|
|
72
|
-
layoutProps?: any;
|
|
73
|
-
initialValues?: any;
|
|
74
|
-
onFinish?: (values: any) => void;
|
|
75
|
-
[key: string]: any;
|
|
76
|
-
}): React.JSX.Element;
|
|
77
|
-
type FormBlockContentProps = {
|
|
78
|
-
model: FormBlockModel;
|
|
79
|
-
gridModel: FormGridModel;
|
|
80
|
-
layoutProps?: any;
|
|
81
|
-
onFinish?: (values: any) => void;
|
|
82
|
-
grid: React.ReactNode;
|
|
83
|
-
actions?: React.ReactNode;
|
|
84
|
-
footer?: React.ReactNode;
|
|
85
|
-
heightMode?: string;
|
|
86
|
-
height?: number;
|
|
87
|
-
};
|
|
88
|
-
export declare const FormBlockContent: ({ model, gridModel, layoutProps, onFinish, grid, actions, footer, heightMode, height, }: FormBlockContentProps) => React.JSX.Element;
|
|
89
|
-
/**
|
|
90
|
-
* 兼容旧版本
|
|
91
|
-
* @deprecated use FormBlockModel instead
|
|
92
|
-
*/
|
|
93
|
-
export declare class FormModel extends FormBlockModel {
|
|
94
|
-
}
|
|
95
|
-
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 { FlowModel, FlowModelContext, ModelRenderMode } from '@nocobase/flow-engine';
|
|
10
|
-
export declare class FormCustomItemModel extends FlowModel {
|
|
11
|
-
static renderMode: ModelRenderMode;
|
|
12
|
-
static defineChildren(ctx: FlowModelContext): any[];
|
|
13
|
-
}
|
|
@@ -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
|
-
import { DragOverlayConfig } from '@nocobase/flow-engine';
|
|
10
|
-
import React from 'react';
|
|
11
|
-
import { FieldModel, GridModel } from '../../base';
|
|
12
|
-
import { FormBlockModel } from './FormBlockModel';
|
|
13
|
-
export type DefaultFormGridStructure = {
|
|
14
|
-
parent: FormBlockModel;
|
|
15
|
-
subModels: {
|
|
16
|
-
items: FieldModel[];
|
|
17
|
-
};
|
|
18
|
-
};
|
|
19
|
-
export declare class FormGridModel<T extends DefaultFormGridStructure = DefaultFormGridStructure> extends GridModel<T> {
|
|
20
|
-
itemFallback: React.JSX.Element;
|
|
21
|
-
itemSettingsMenuLevel: number;
|
|
22
|
-
itemFlowSettings: {
|
|
23
|
-
showBackground: boolean;
|
|
24
|
-
style: {
|
|
25
|
-
top: number;
|
|
26
|
-
left: number;
|
|
27
|
-
right: number;
|
|
28
|
-
bottom: number;
|
|
29
|
-
};
|
|
30
|
-
};
|
|
31
|
-
dragOverlayConfig: DragOverlayConfig;
|
|
32
|
-
renderAddSubModelButton(): React.JSX.Element;
|
|
33
|
-
render(): React.JSX.Element;
|
|
34
|
-
}
|
|
@@ -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 { DefaultStructure, EditableItemModel, FlowModelContext } from '@nocobase/flow-engine';
|
|
10
|
-
import React from 'react';
|
|
11
|
-
export declare class FormItemModel<T extends DefaultStructure = DefaultStructure> extends EditableItemModel<T> {
|
|
12
|
-
static defineChildren(ctx: FlowModelContext): {
|
|
13
|
-
key: any;
|
|
14
|
-
label: string;
|
|
15
|
-
refreshTargets: string[];
|
|
16
|
-
toggleable: (subModel: any) => boolean;
|
|
17
|
-
useModel: string;
|
|
18
|
-
createModelOptions: () => {
|
|
19
|
-
use: string;
|
|
20
|
-
stepParams: {
|
|
21
|
-
fieldSettings: {
|
|
22
|
-
init: {
|
|
23
|
-
dataSourceKey: any;
|
|
24
|
-
collectionName: any;
|
|
25
|
-
fieldPath: any;
|
|
26
|
-
};
|
|
27
|
-
};
|
|
28
|
-
};
|
|
29
|
-
subModels: {
|
|
30
|
-
field: {
|
|
31
|
-
use: string;
|
|
32
|
-
props: any;
|
|
33
|
-
};
|
|
34
|
-
};
|
|
35
|
-
};
|
|
36
|
-
}[];
|
|
37
|
-
onInit(options: any): void;
|
|
38
|
-
renderItem(): 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 { FlowModel, FlowModelContext } from '@nocobase/flow-engine';
|
|
10
|
-
/**
|
|
11
|
-
* “JavaScript 字段(可编辑)”菜单入口(表单):
|
|
12
|
-
* - 作为独立分组(在 FormGrid 的 subModelBaseClasses 中显式包含本类);
|
|
13
|
-
* - 子项列出集合字段;
|
|
14
|
-
* - 点击后创建标准 FormItemModel,并将子字段设置为 JSEditableFieldModel。
|
|
15
|
-
*/
|
|
16
|
-
export declare class FormJSFieldItemModel extends FlowModel {
|
|
17
|
-
static defineChildren(ctx: FlowModelContext): Promise<import("@nocobase/flow-engine").SubModelItem[]>;
|
|
18
|
-
}
|
|
@@ -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 { FormActionModel } from './FormActionModel';
|
|
10
|
-
export declare class JSFormActionModel extends FormActionModel {
|
|
11
|
-
}
|
|
@@ -1,38 +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 { Collection, FlowEngine, FlowModel, SingleRecordResource } from '@nocobase/flow-engine';
|
|
10
|
-
import React from 'react';
|
|
11
|
-
export declare class QuickEditFormModel extends FlowModel {
|
|
12
|
-
fieldPath: string;
|
|
13
|
-
resource: SingleRecordResource;
|
|
14
|
-
collection: Collection;
|
|
15
|
-
now: number;
|
|
16
|
-
viewContainer: any;
|
|
17
|
-
__onSubmitSuccess: any;
|
|
18
|
-
_fieldProps: any;
|
|
19
|
-
_onOk: any;
|
|
20
|
-
get form(): any;
|
|
21
|
-
useHooksBeforeRender(): void;
|
|
22
|
-
static open(options: {
|
|
23
|
-
flowEngine: FlowEngine;
|
|
24
|
-
target: any;
|
|
25
|
-
dataSourceKey: string;
|
|
26
|
-
collectionName: string;
|
|
27
|
-
fieldPath: string;
|
|
28
|
-
record: any;
|
|
29
|
-
filterByTk?: string;
|
|
30
|
-
onSuccess?: (values: any) => void;
|
|
31
|
-
fieldProps?: any;
|
|
32
|
-
sourceFieldModelUid?: string;
|
|
33
|
-
onOk?: (values: any) => void;
|
|
34
|
-
}): Promise<void>;
|
|
35
|
-
onInit(options: any): void;
|
|
36
|
-
addAppends(fieldPath: string, refresh?: boolean): void;
|
|
37
|
-
render(): React.JSX.Element;
|
|
38
|
-
}
|
|
@@ -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
|
-
/**
|
|
10
|
-
* 从 assignRules 的 targetPath 推导需要注入到请求中的 updateAssociationValues。
|
|
11
|
-
*
|
|
12
|
-
* 规则:仅当 targetPath 穿过至少一段关联字段(association)时返回该关联路径:
|
|
13
|
-
* - user.name -> user
|
|
14
|
-
* - user.profile.name -> user.profile
|
|
15
|
-
*/
|
|
16
|
-
export declare function collectUpdateAssociationValuesFromAssignRules(items: Array<{
|
|
17
|
-
targetPath?: string;
|
|
18
|
-
} | any>, rootCollection: any): string[];
|
|
@@ -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
|
-
export type DynamicNamePart = string | number;
|
|
10
|
-
/**
|
|
11
|
-
* Build a dynamic NamePath based on current subform list row index.
|
|
12
|
-
*
|
|
13
|
-
* fieldIndex is an array like: ["products:0", "products:2"] (nested lists allowed, including same-name lists).
|
|
14
|
-
*
|
|
15
|
-
* For example:
|
|
16
|
-
* - nameParts: ["products", "products"] + fieldIndex: ["products:0"] => [0, "products"]
|
|
17
|
-
* - nameParts: ["products", "products", "id"] + fieldIndex: ["products:1", "products:0"] => [0, "id"]
|
|
18
|
-
*/
|
|
19
|
-
export declare function buildDynamicNamePath(nameParts: DynamicNamePart[], fieldIndex?: string[]): DynamicNamePart[];
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file is part of the NocoBase (R) project.
|
|
3
|
-
* Copyright (c) 2020-2024 NocoBase Co., Ltd.
|
|
4
|
-
* Authors: NocoBase Team.
|
|
5
|
-
*
|
|
6
|
-
* This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
|
|
7
|
-
* For more information, please refer to: https://www.nocobase.com/agreement.
|
|
8
|
-
*/
|
|
9
|
-
export * from './CreateFormModel';
|
|
10
|
-
export * from './EditFormModel';
|
|
11
|
-
export * from './FormActionGroupModel';
|
|
12
|
-
export * from './FormActionModel';
|
|
13
|
-
export * from './FormBlockModel';
|
|
14
|
-
export * from './FormCustomItemModel';
|
|
15
|
-
export * from './FormGridModel';
|
|
16
|
-
export * from './FormItemModel';
|
|
17
|
-
export * from './FormJSFieldItemModel';
|
|
18
|
-
export * from './JSFormActionModel';
|
|
19
|
-
export * from './QuickEditFormModel';
|
|
20
|
-
export * from './FormAssociationFieldGroupModel';
|
|
21
|
-
export * from './FormAssociationItemModel';
|
|
@@ -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 { mergeAssignRulesWithLegacyDefaults } from '../shared/legacyDefaultValueMigrationBase';
|
|
10
|
-
import type { FieldAssignRuleItem } from '../../../components/FieldAssignRulesEditor';
|
|
11
|
-
export declare function collectLegacyDefaultValueRulesFromFormModel(formModel: any): FieldAssignRuleItem[];
|
|
12
|
-
export declare function clearLegacyDefaultValuesFromFormModel(formModel: any): any[];
|
|
13
|
-
export { mergeAssignRulesWithLegacyDefaults };
|
|
@@ -1,9 +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 function submitHandler(ctx: any, params: any, cb?: (values?: any, filterByTk?: any) => void): Promise<void>;
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file is part of the NocoBase (R) project.
|
|
3
|
-
* Copyright (c) 2020-2024 NocoBase Co., Ltd.
|
|
4
|
-
* Authors: NocoBase Team.
|
|
5
|
-
*
|
|
6
|
-
* This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
|
|
7
|
-
* For more information, please refer to: https://www.nocobase.com/agreement.
|
|
8
|
-
*/
|
|
9
|
-
import type { NamePath } from './value-runtime/types';
|
|
10
|
-
import type { FormBlockModel } from './FormBlockModel';
|
|
11
|
-
/**
|
|
12
|
-
* 生成提交前的校验字段列表:
|
|
13
|
-
* - 在配置态下可用于绕开“联动隐藏字段”的必填校验;
|
|
14
|
-
* - 仅排除 `model.hidden=true` 的字段路径;
|
|
15
|
-
* - 返回 null 表示无法安全推断,调用方应回退到 `validateFields()` 全量校验。
|
|
16
|
-
*/
|
|
17
|
-
export declare function getValidationNamePathsExcludingHiddenModels(blockModel: FormBlockModel): NamePath[] | null;
|
|
18
|
-
/**
|
|
19
|
-
* 提交前过滤:移除当前表单 block 中被「联动规则隐藏」的字段值(`model.hidden === true`)。
|
|
20
|
-
*
|
|
21
|
-
* 说明:
|
|
22
|
-
* - 仅对 “隐藏 / Hidden” 生效(对应 `model.hidden=true`)。
|
|
23
|
-
* - “隐藏并保留值 / Hidden (reserved value)” 在实现上是 `props.hidden=true` 但 `model.hidden=false`,
|
|
24
|
-
* 因此仍会提交(保持现有语义)。
|
|
25
|
-
* - 不会清空 antd Form 的内部 store,只影响本次提交 payload。
|
|
26
|
-
*/
|
|
27
|
-
export declare function omitHiddenModelValuesFromSubmit<T = any>(values: T, blockModel: FormBlockModel): T;
|
|
@@ -1,9 +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 function evaluateCondition(ctx: any, condition: any): boolean;
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file is part of the NocoBase (R) project.
|
|
3
|
-
* Copyright (c) 2020-2024 NocoBase Co., Ltd.
|
|
4
|
-
* Authors: NocoBase Team.
|
|
5
|
-
*
|
|
6
|
-
* This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
|
|
7
|
-
* For more information, please refer to: https://www.nocobase.com/agreement.
|
|
8
|
-
*/
|
|
9
|
-
import type { NamePath } from './types';
|
|
10
|
-
export type DepCollector = {
|
|
11
|
-
deps: Set<string>;
|
|
12
|
-
wildcard: boolean;
|
|
13
|
-
};
|
|
14
|
-
export declare function recordDep(namePath: NamePath, collector: DepCollector | undefined): void;
|
|
15
|
-
export declare function createFormValuesProxy(options: {
|
|
16
|
-
valuesMirror: any;
|
|
17
|
-
basePath: NamePath;
|
|
18
|
-
collector?: DepCollector;
|
|
19
|
-
getFormValuesSnapshot: () => any;
|
|
20
|
-
getFormValueAtPath: (namePath: NamePath) => any;
|
|
21
|
-
}): any;
|
|
22
|
-
export declare function collectStaticDepsFromTemplateValue(value: any, collector: DepCollector): void;
|
|
23
|
-
export declare function collectStaticDepsFromRunJSValue(value: any, collector: DepCollector): void;
|
|
@@ -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 type { FormInstance } from 'antd';
|
|
10
|
-
import type { Patch, SetOptions } from './types';
|
|
11
|
-
export type FormPatcher = {
|
|
12
|
-
patch: (form: FormInstance) => void;
|
|
13
|
-
restore: () => void;
|
|
14
|
-
};
|
|
15
|
-
export declare function createFormPatcher(options: {
|
|
16
|
-
isSuppressed: () => boolean;
|
|
17
|
-
getCallerContext: () => any;
|
|
18
|
-
setFormValues: (callerCtx: any, patch: Patch, options?: SetOptions) => Promise<void>;
|
|
19
|
-
}): FormPatcher;
|
|
@@ -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 './types';
|
|
10
|
-
export { FormValueRuntime } from './runtime';
|
|
11
|
-
export { isEmptyValue } from './utils';
|
|
@@ -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 { NamePath } from './types';
|
|
10
|
-
export type PathSegment = string | number | {
|
|
11
|
-
placeholder: string;
|
|
12
|
-
};
|
|
13
|
-
export declare function parsePathString(path: string): PathSegment[];
|
|
14
|
-
/**
|
|
15
|
-
* Resolve a dynamic NamePath using the current row index context (`fieldIndex`).
|
|
16
|
-
*
|
|
17
|
-
* - Supports placeholders: `users[placeholder].name`
|
|
18
|
-
* - Auto-fills to-many index when omitted: `users.name` -> `users[ctxIndex].name`
|
|
19
|
-
*
|
|
20
|
-
* Returns `null` when a placeholder can't be resolved in current context.
|
|
21
|
-
*/
|
|
22
|
-
export declare function resolveDynamicNamePath(path: string | NamePath, fieldIndex?: unknown): NamePath | null;
|
|
23
|
-
export declare function namePathToPathKey(namePath: Array<string | number>): string;
|
|
24
|
-
export declare function pathKeyToNamePath(pathKey: string): NamePath;
|
|
25
|
-
export declare function buildAncestorKeys(namePath: NamePath): string[];
|
|
@@ -1,129 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file is part of the NocoBase (R) project.
|
|
3
|
-
* Copyright (c) 2020-2024 NocoBase Co., Ltd.
|
|
4
|
-
* Authors: NocoBase Team.
|
|
5
|
-
*
|
|
6
|
-
* This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
|
|
7
|
-
* For more information, please refer to: https://www.nocobase.com/agreement.
|
|
8
|
-
*/
|
|
9
|
-
import { FlowModel } from '@nocobase/flow-engine';
|
|
10
|
-
import { DepCollector } from './deps';
|
|
11
|
-
import type { FormAssignRuleItem, FormValueWriteMeta, NamePath, Patch, SetOptions, ValueSource } from './types';
|
|
12
|
-
type ObservableBinding = {
|
|
13
|
-
source: ValueSource;
|
|
14
|
-
dispose: () => void;
|
|
15
|
-
};
|
|
16
|
-
export type RuleEngineOptions = {
|
|
17
|
-
getBlockModelUid: () => string;
|
|
18
|
-
getActionName: () => string | undefined;
|
|
19
|
-
getBlockContext: () => any;
|
|
20
|
-
getEngine: () => any;
|
|
21
|
-
getEngineModel: (uid: string) => FlowModel | null;
|
|
22
|
-
isDisposed: () => boolean;
|
|
23
|
-
valuesMirror: any;
|
|
24
|
-
changeTick: {
|
|
25
|
-
value: number;
|
|
26
|
-
};
|
|
27
|
-
getWriteSeq: () => number;
|
|
28
|
-
txWriteCounts: Map<string, Map<string, number>>;
|
|
29
|
-
createTrackingFormValues: (collector: DepCollector) => any;
|
|
30
|
-
tryResolveNamePath: (callerCtx: any, path: string | NamePath) => NamePath | null;
|
|
31
|
-
getFormValueAtPath: (namePath: NamePath) => any;
|
|
32
|
-
setFormValues: (callerCtx: any, patch: Patch, options?: SetOptions) => Promise<void>;
|
|
33
|
-
findExplicitHit: (pathKey: string) => string | null;
|
|
34
|
-
lastDefaultValueByPathKey: Map<string, any>;
|
|
35
|
-
lastWriteMetaByPathKey: Map<string, FormValueWriteMeta>;
|
|
36
|
-
observableBindings: Map<string, ObservableBinding>;
|
|
37
|
-
};
|
|
38
|
-
export declare class RuleEngine {
|
|
39
|
-
private readonly options;
|
|
40
|
-
private readonly rules;
|
|
41
|
-
private readonly lastRuleWriteByTargetKey;
|
|
42
|
-
private readonly assignTemplatesByTargetPath;
|
|
43
|
-
/** 当前表单中“已配置到 UI 的字段(FormItemModel)”的 targetPath 集合,用于避免对 row grid 重复注册规则 */
|
|
44
|
-
private readonly formItemTargetPaths;
|
|
45
|
-
/** targetPath -> updateAssociation(SubForm/SubTable 等) */
|
|
46
|
-
private readonly updateAssociationByTargetPath;
|
|
47
|
-
private readonly pendingRuleIds;
|
|
48
|
-
private readonly ruleDebounceUntilById;
|
|
49
|
-
private readonly ruleDebounceTimersById;
|
|
50
|
-
private readonly defaultRuleIdsByMasterUid;
|
|
51
|
-
private readonly defaultRuleMasterDisposers;
|
|
52
|
-
private runningRules;
|
|
53
|
-
private rulesEnabled;
|
|
54
|
-
private currentRuleTxId;
|
|
55
|
-
constructor(options: RuleEngineOptions);
|
|
56
|
-
private getAssignRuleBlockId;
|
|
57
|
-
private removeAssignRuleBlockInstance;
|
|
58
|
-
private removeRowGridAssignRuleInstances;
|
|
59
|
-
private hasAnyNonBlockAssignRuleInstance;
|
|
60
|
-
private ensureBlockAssignRuleInstancesForTargetPath;
|
|
61
|
-
private getCollectionFromContext;
|
|
62
|
-
private getRootCollection;
|
|
63
|
-
private shouldCreateBlockLevelAssignRule;
|
|
64
|
-
/**
|
|
65
|
-
* 对关联字段嵌套属性(如 user.name / user.profile.name):
|
|
66
|
-
* - 依赖应包含关联对象本身(user / user.profile),否则当关联对象从 null -> {id} 时,user.name 仍为 undefined,无法触发 rule re-run。
|
|
67
|
-
* - 写入前需校验关联对象已存在,避免隐式创建关联对象。
|
|
68
|
-
*/
|
|
69
|
-
private collectAssociationPrefixPaths;
|
|
70
|
-
private shouldSkipToManyAssociationWriteWithoutIndex;
|
|
71
|
-
private shouldSkipAssociationNestedWrite;
|
|
72
|
-
private getAssociationTargetKeyFields;
|
|
73
|
-
private resolveAssociationFieldByPrefixPath;
|
|
74
|
-
private isAssociationTargetKeyWrite;
|
|
75
|
-
private collectUpdateAssociationInitPatches;
|
|
76
|
-
dispose(): void;
|
|
77
|
-
enable(): void;
|
|
78
|
-
syncAssignRules(items: FormAssignRuleItem[]): void;
|
|
79
|
-
onModelMounted(model: FlowModel): void;
|
|
80
|
-
onModelUnmounted(model: FlowModel): void;
|
|
81
|
-
private isModelInThisForm;
|
|
82
|
-
private cacheUpdateAssociationForModel;
|
|
83
|
-
private getUpdateAssociationForTargetPath;
|
|
84
|
-
private getDefaultRuleId;
|
|
85
|
-
private getModelTargetNamePath;
|
|
86
|
-
private tryRegisterDefaultRuleInstance;
|
|
87
|
-
private getModelTargetPath;
|
|
88
|
-
private getAssignRuleInstanceId;
|
|
89
|
-
private getDeepestFieldIndexKey;
|
|
90
|
-
private getDeepestToManyAssociationKey;
|
|
91
|
-
private isRowGridModel;
|
|
92
|
-
private tryRegisterAssignRuleInstancesForModel;
|
|
93
|
-
private tryUnregisterAssignRuleInstancesForModel;
|
|
94
|
-
private tryUnregisterDefaultRuleInstance;
|
|
95
|
-
private bindMasterInitialValue;
|
|
96
|
-
private removeRule;
|
|
97
|
-
private scheduleRule;
|
|
98
|
-
private flushRules;
|
|
99
|
-
private runRule;
|
|
100
|
-
private isTzAwareTargetInterface;
|
|
101
|
-
private normalizeDateOnlyToStartOfDayIso;
|
|
102
|
-
private normalizeResolvedValueForTarget;
|
|
103
|
-
private isPrimitiveAssociationTargetValue;
|
|
104
|
-
private extractAssociationIdentity;
|
|
105
|
-
private isAssociationTargetSemanticallyEqual;
|
|
106
|
-
private resolveCollectionFieldByNamePath;
|
|
107
|
-
private normalizeResolvedValueForAssociationTarget;
|
|
108
|
-
private prepareRuleContext;
|
|
109
|
-
private shouldApplyDefaultRuleInCurrentState;
|
|
110
|
-
private shouldRunRule;
|
|
111
|
-
private createRuleCollectorAndContext;
|
|
112
|
-
private evaluateRuleCondition;
|
|
113
|
-
private resolveRuleValue;
|
|
114
|
-
private resolveRunJSValue;
|
|
115
|
-
private resolveTemplateValue;
|
|
116
|
-
private commitRuleDeps;
|
|
117
|
-
/**
|
|
118
|
-
* Check if default rule value can be applied.
|
|
119
|
-
* Default value can overwrite when:
|
|
120
|
-
* 1. Current value is empty
|
|
121
|
-
* 2. Current value equals the last default value (user hasn't modified it)
|
|
122
|
-
*/
|
|
123
|
-
private checkDefaultRuleCanApply;
|
|
124
|
-
private createRuleEvaluationContext;
|
|
125
|
-
private buildItemChainValue;
|
|
126
|
-
private getFieldIndexSignature;
|
|
127
|
-
private updateRuleDeps;
|
|
128
|
-
}
|
|
129
|
-
export {};
|