@nocobase/client 2.1.0-beta.21 → 2.1.0-beta.23
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es/ai/index.d.ts +2 -4
- package/es/api-client/APIClient.d.ts +1 -2
- package/es/application/Application.d.ts +69 -139
- package/es/application/Plugin.d.ts +2 -24
- package/es/application/PluginManager.d.ts +7 -36
- package/es/application/PluginSettingsManager.d.ts +103 -7
- package/es/application/RouteRepository.d.ts +1 -15
- package/es/application/RouterManager.d.ts +4 -44
- package/es/application/WebSocketClient.d.ts +2 -36
- package/es/application/components/index.d.ts +0 -2
- package/es/application/hooks/usePlugin.d.ts +2 -2
- package/es/application/schema-initializer/context/index.d.ts +1 -1
- package/es/application/schema-settings/hooks/useSchemaSettingsRender.d.ts +2 -2
- package/es/application/utils/remotePlugins.d.ts +6 -6
- package/es/block-provider/TableBlockContextBasicValue.d.ts +25 -0
- package/es/block-provider/TableBlockProvider.d.ts +0 -11
- package/es/block-provider/index.d.ts +1 -0
- package/es/collection-manager/hooks/useCollection_deprecated.d.ts +2 -2
- package/es/collection-manager/templates/sql.d.ts +4 -4
- package/es/collection-manager/templates/view.d.ts +4 -4
- package/es/data-source/collection/utils.d.ts +3 -3
- package/es/data-source/data-block/DataBlockProvider.d.ts +1 -1
- package/es/global-theme/AntdAppProvider.d.ts +1 -10
- package/es/global-theme/compatOldTheme.d.ts +1 -3
- package/es/global-theme/customAlgorithm.d.ts +1 -7
- package/es/global-theme/defaultTheme.d.ts +1 -3
- package/es/global-theme/index.d.ts +2 -29
- package/es/global-theme/type.d.ts +1 -56
- package/es/index.d.ts +1 -1
- package/es/index.mjs +507 -1118
- package/es/modules/actions/link/useURLAndHTMLSchema.d.ts +1 -0
- package/es/modules/blocks/BlockSchemaToolbar.d.ts +1 -1
- package/es/plugin-manager/PinnedPluginListProvider.d.ts +2 -1
- package/es/plugin-manager/context.d.ts +1 -4
- package/es/pm/AdminSettingsLayoutModel.d.ts +2 -4
- package/es/{flow/components/placeholders/FieldPlaceholder.d.ts → route-switch/antd/admin-layout/AdminDynamicPage.d.ts} +1 -1
- package/es/route-switch/antd/admin-layout/AdminLayoutCompat.d.ts +32 -0
- package/es/route-switch/antd/admin-layout/AdminLayoutComponentV1.d.ts +15 -0
- package/es/route-switch/antd/admin-layout/AdminLayoutMenuFlowUtils.d.ts +107 -0
- package/es/route-switch/antd/admin-layout/AdminLayoutMenuModels.d.ts +64 -0
- package/es/route-switch/antd/admin-layout/AdminLayoutMenuUtils.d.ts +164 -0
- package/es/route-switch/antd/admin-layout/AdminLayoutModel.d.ts +22 -16
- package/es/{application/components/AppComponent.d.ts → route-switch/antd/admin-layout/AdminShellProvider.d.ts} +4 -6
- package/es/{flow/components/drag-drop/Sortable.d.ts → route-switch/antd/admin-layout/ResetThemeTokenAndKeepAlgorithm.d.ts} +4 -3
- package/es/route-switch/antd/admin-layout/index.d.ts +12 -27
- package/es/route-switch/antd/admin-layout/route-runtime.d.ts +20 -0
- package/es/route-switch/antd/admin-layout/{convertRoutesToSchema.d.ts → route-types.d.ts} +5 -1
- package/es/route-switch/antd/admin-layout/route-utils.d.ts +13 -0
- package/es/schema-component/antd/__builtins__/hooks/useToken.d.ts +1 -1
- package/es/schema-component/antd/__builtins__/style.d.ts +1 -1
- package/es/schema-component/antd/association-field/hooks.d.ts +1 -1
- package/es/schema-component/antd/expand-action/Expand.Action.d.ts +1 -1
- package/es/schema-component/antd/menu/Menu.d.ts +2 -2
- package/es/schema-component/antd/page/pagePopupUtils.d.ts +1 -1
- package/es/schema-initializer/components/CreateRecordAction.d.ts +1 -1
- package/es/schema-settings/GeneralSchemaDesigner.d.ts +2 -1
- package/es/schema-settings/SchemaSettings.d.ts +1 -1
- package/es/style/index.d.ts +1 -1
- package/es/style/useToken.d.ts +1 -1
- package/es/system-settings/SystemSettingsProvider.d.ts +1 -6
- package/es/{flow/components/code-editor/extension/index.d.ts → system-settings/SystemSettingsSource.d.ts} +1 -1
- package/es/system-settings/index.d.ts +2 -1
- package/lib/index.js +530 -1141
- package/lib/locale/en-US.json +11 -0
- package/lib/locale/zh-CN.json +12 -1
- package/package.json +7 -6
- package/es/ai/ai-manager.d.ts +0 -15
- package/es/ai/skills-manager/index.d.ts +0 -9
- package/es/ai/skills-manager/types.d.ts +0 -23
- package/es/ai/tools-manager/hooks/context.d.ts +0 -17
- package/es/ai/tools-manager/hooks/index.d.ts +0 -11
- package/es/ai/tools-manager/hooks/provider.d.ts +0 -16
- package/es/ai/tools-manager/index.d.ts +0 -20
- package/es/ai/tools-manager/types.d.ts +0 -90
- package/es/ai/utils.d.ts +0 -10
- package/es/application/components/MainComponent.d.ts +0 -10
- package/es/application/components/defaultComponents.d.ts +0 -19
- package/es/flow/FlowModelRepository.d.ts +0 -36
- package/es/flow/FlowPage.d.ts +0 -20
- package/es/flow/actions/aclCheck.d.ts +0 -9
- package/es/flow/actions/aclCheckRefresh.d.ts +0 -9
- package/es/flow/actions/afterSuccess.d.ts +0 -9
- package/es/flow/actions/blockHeight.d.ts +0 -9
- package/es/flow/actions/columnFixed.d.ts +0 -9
- package/es/flow/actions/confirm.d.ts +0 -9
- package/es/flow/actions/customVariable.d.ts +0 -9
- package/es/flow/actions/dataLoadingMode.d.ts +0 -9
- package/es/flow/actions/dataScope.d.ts +0 -9
- package/es/flow/actions/dateTimeFormat.d.ts +0 -9
- package/es/flow/actions/displayFieldComponent.d.ts +0 -19
- package/es/flow/actions/fieldComponent.d.ts +0 -9
- package/es/flow/actions/filterFormDefaultValues.d.ts +0 -9
- package/es/flow/actions/formAssignRules.d.ts +0 -9
- package/es/flow/actions/index.d.ts +0 -40
- package/es/flow/actions/layout.d.ts +0 -10
- package/es/flow/actions/linkageRules.d.ts +0 -23
- package/es/flow/actions/linkageRulesRefresh.d.ts +0 -9
- package/es/flow/actions/navigateToURL.d.ts +0 -9
- package/es/flow/actions/numberFormat.d.ts +0 -9
- package/es/flow/actions/openView.d.ts +0 -15
- package/es/flow/actions/overflowMode.d.ts +0 -9
- package/es/flow/actions/pattern.d.ts +0 -9
- package/es/flow/actions/refreshTargetBlocks.d.ts +0 -9
- package/es/flow/actions/renderMode.d.ts +0 -9
- package/es/flow/actions/required.d.ts +0 -9
- package/es/flow/actions/runjs.d.ts +0 -9
- package/es/flow/actions/setTargetDataScope.d.ts +0 -10
- package/es/flow/actions/showMessage.d.ts +0 -9
- package/es/flow/actions/showNotification.d.ts +0 -9
- package/es/flow/actions/sortingRules.d.ts +0 -9
- package/es/flow/actions/titleField.d.ts +0 -9
- package/es/flow/actions/validation.d.ts +0 -9
- package/es/flow/common/Liquid.d.ts +0 -33
- package/es/flow/common/Markdown/Display.d.ts +0 -9
- package/es/flow/common/Markdown/Edit.d.ts +0 -23
- package/es/flow/common/Markdown/Markdown.d.ts +0 -24
- package/es/flow/common/Markdown/style.d.ts +0 -10
- package/es/flow/common/Markdown/useCDN.d.ts +0 -9
- package/es/flow/components/BlockItemCard.d.ts +0 -16
- package/es/flow/components/ConditionBuilder.d.ts +0 -17
- package/es/flow/components/DefaultValue.d.ts +0 -20
- package/es/flow/components/DynamicFlowsIcon.d.ts +0 -13
- package/es/flow/components/EllipsisWithTooltip.d.ts +0 -17
- package/es/flow/components/ExpiresRadio/index.d.ts +0 -12
- package/es/flow/components/FieldAssignEditor.d.ts +0 -32
- package/es/flow/components/FieldAssignExactDatePicker.d.ts +0 -23
- package/es/flow/components/FieldAssignRulesEditor.d.ts +0 -70
- package/es/flow/components/FieldAssignValueInput.d.ts +0 -88
- package/es/flow/components/Grid/index.d.ts +0 -26
- package/es/flow/components/JsonEditor.d.ts +0 -19
- package/es/flow/components/RunJSValueEditor.d.ts +0 -19
- package/es/flow/components/SkeletonFallback.d.ts +0 -10
- package/es/flow/components/TextAreaWithContextSelector.d.ts +0 -30
- package/es/flow/components/code-editor/core/EditorCore.d.ts +0 -25
- package/es/flow/components/code-editor/core/tooltipParent.d.ts +0 -9
- package/es/flow/components/code-editor/errorHelpers.d.ts +0 -17
- package/es/flow/components/code-editor/extension/CodeEditorExtension.d.ts +0 -14
- package/es/flow/components/code-editor/formatDocInfo.d.ts +0 -17
- package/es/flow/components/code-editor/hooks/useCodeRunner.d.ts +0 -23
- package/es/flow/components/code-editor/hooks/useRunJSDocCompletions.d.ts +0 -15
- package/es/flow/components/code-editor/htmlCompletion.d.ts +0 -11
- package/es/flow/components/code-editor/index.d.ts +0 -31
- package/es/flow/components/code-editor/javascriptCompletion.d.ts +0 -11
- package/es/flow/components/code-editor/javascriptHtmlTemplate.d.ts +0 -16
- package/es/flow/components/code-editor/jsxCompletion.d.ts +0 -10
- package/es/flow/components/code-editor/linter.d.ts +0 -19
- package/es/flow/components/code-editor/panels/LogsPanel.d.ts +0 -15
- package/es/flow/components/code-editor/panels/RightExtra.d.ts +0 -18
- package/es/flow/components/code-editor/panels/SnippetsDrawer.d.ts +0 -18
- package/es/flow/components/code-editor/resolveScenes.d.ts +0 -10
- package/es/flow/components/code-editor/runjsCompletionSource.d.ts +0 -20
- package/es/flow/components/code-editor/runjsCompletions.d.ts +0 -23
- package/es/flow/components/code-editor/runjsDiagnostics.d.ts +0 -46
- package/es/flow/components/code-editor/types.d.ts +0 -32
- package/es/flow/components/drag-drop/SortableItem.d.ts +0 -12
- package/es/flow/components/drag-drop/index.d.ts +0 -10
- package/es/flow/components/fieldAssignOptions.d.ts +0 -23
- package/es/flow/components/filter/FilterContainer.d.ts +0 -67
- package/es/flow/components/filter/FilterGroup.d.ts +0 -66
- package/es/flow/components/filter/FilterItem.d.ts +0 -40
- package/es/flow/components/filter/LinkageFilterItem.d.ts +0 -51
- package/es/flow/components/filter/VariableFilterItem.d.ts +0 -37
- package/es/flow/components/filter/fieldsToOptions.d.ts +0 -9
- package/es/flow/components/filter/index.d.ts +0 -16
- package/es/flow/components/index.d.ts +0 -14
- package/es/flow/components/placeholders/BlockPlaceholder.d.ts +0 -11
- package/es/flow/components/useAssociationTitleFieldSync.d.ts +0 -13
- package/es/flow/flows/editMarkdownFlow.d.ts +0 -10
- package/es/flow/flows/openViewFlow.d.ts +0 -17
- package/es/flow/formily/ReactiveField.d.ts +0 -19
- package/es/flow/formily/index.d.ts +0 -8
- package/es/flow/getViewDiffAndUpdateHidden.d.ts +0 -21
- package/es/flow/index.d.ts +0 -24
- package/es/flow/internal/components/Markdown/DisplayMarkdown.d.ts +0 -10
- package/es/flow/internal/components/Markdown/markdown-it-plugins/mermaidPlugin.d.ts +0 -13
- package/es/flow/internal/components/Markdown/md.d.ts +0 -11
- package/es/flow/internal/components/Markdown/style.d.ts +0 -9
- package/es/flow/internal/components/Markdown/util.d.ts +0 -15
- package/es/flow/internal/constants/HeightMode.d.ts +0 -13
- package/es/flow/internal/index.d.ts +0 -11
- package/es/flow/internal/utils/associationValueCoercion.d.ts +0 -15
- package/es/flow/internal/utils/dateTimeUtils.d.ts +0 -10
- package/es/flow/internal/utils/enumOptionsUtils.d.ts +0 -23
- package/es/flow/internal/utils/modelUtils.d.ts +0 -27
- package/es/flow/internal/utils/operatorSchemaHelper.d.ts +0 -15
- package/es/flow/internal/utils/rebuildFieldSubModel.d.ts +0 -33
- package/es/flow/internal/utils/saveStepParamsWithSubModels.d.ts +0 -11
- package/es/flow/internal/utils/titleFieldQuickSync.d.ts +0 -35
- package/es/flow/models/actions/AddChildActionModel.d.ts +0 -16
- package/es/flow/models/actions/AddNewActionModel.d.ts +0 -16
- package/es/flow/models/actions/BulkDeleteActionModel.d.ts +0 -16
- package/es/flow/models/actions/DeleteActionModel.d.ts +0 -15
- package/es/flow/models/actions/EditActionModel.d.ts +0 -16
- package/es/flow/models/actions/ExpandCollapseActionModel.d.ts +0 -19
- package/es/flow/models/actions/FilterActionModel.d.ts +0 -26
- package/es/flow/models/actions/JSActionModel.d.ts +0 -13
- package/es/flow/models/actions/JSCollectionActionModel.d.ts +0 -14
- package/es/flow/models/actions/JSItemActionModel.d.ts +0 -19
- package/es/flow/models/actions/JSRecordActionModel.d.ts +0 -14
- package/es/flow/models/actions/LinkActionModel.d.ts +0 -15
- package/es/flow/models/actions/LinkActionUtils.d.ts +0 -34
- package/es/flow/models/actions/PopupCollectionActionModel.d.ts +0 -14
- package/es/flow/models/actions/RefreshActionModel.d.ts +0 -14
- package/es/flow/models/actions/UpdateRecordActionModel.d.ts +0 -27
- package/es/flow/models/actions/UpdateRecordActionUtils.d.ts +0 -12
- package/es/flow/models/actions/ViewActionModel.d.ts +0 -15
- package/es/flow/models/actions/index.d.ts +0 -24
- package/es/flow/models/actions/joinUrlSearch.d.ts +0 -12
- package/es/flow/models/base/ActionGroupModel.d.ts +0 -36
- package/es/flow/models/base/ActionModel.d.ts +0 -45
- package/es/flow/models/base/AssociationFieldGroupModel.d.ts +0 -49
- package/es/flow/models/base/BlockGridModel.d.ts +0 -22
- package/es/flow/models/base/BlockModel.d.ts +0 -57
- package/es/flow/models/base/CollectionActionModel.d.ts +0 -12
- package/es/flow/models/base/CollectionBlockModel.d.ts +0 -71
- package/es/flow/models/base/CommonItemModel.d.ts +0 -11
- package/es/flow/models/base/DataBlockModel.d.ts +0 -12
- package/es/flow/models/base/FieldModel.d.ts +0 -17
- package/es/flow/models/base/FilterBlockModel.d.ts +0 -12
- package/es/flow/models/base/GridModel.d.ts +0 -99
- package/es/flow/models/base/PageModel/ChildPageModel.d.ts +0 -21
- package/es/flow/models/base/PageModel/MainPageModel.d.ts +0 -17
- package/es/flow/models/base/PageModel/OldPageModel.d.ts +0 -21
- package/es/flow/models/base/PageModel/PageModel.d.ts +0 -53
- package/es/flow/models/base/PageModel/PageTabModel.d.ts +0 -42
- package/es/flow/models/base/PageModel/RootPageModel.d.ts +0 -24
- package/es/flow/models/base/PageModel/SubPageModel.d.ts +0 -17
- package/es/flow/models/base/PageModel/index.d.ts +0 -14
- package/es/flow/models/base/PopupActionModel.d.ts +0 -13
- package/es/flow/models/base/RecordActionModel.d.ts +0 -12
- package/es/flow/models/base/RouteModel.d.ts +0 -11
- package/es/flow/models/base/index.d.ts +0 -24
- package/es/flow/models/blocks/assign-form/AssignFormGridModel.d.ts +0 -15
- package/es/flow/models/blocks/assign-form/AssignFormItemModel.d.ts +0 -22
- package/es/flow/models/blocks/assign-form/AssignFormModel.d.ts +0 -26
- package/es/flow/models/blocks/assign-form/index.d.ts +0 -11
- package/es/flow/models/blocks/details/DetailsAssociationFieldGroupModel.d.ts +0 -12
- package/es/flow/models/blocks/details/DetailsBlockModel.d.ts +0 -41
- package/es/flow/models/blocks/details/DetailsCustomItemModel.d.ts +0 -13
- package/es/flow/models/blocks/details/DetailsGridModel.d.ts +0 -33
- package/es/flow/models/blocks/details/DetailsItemModel.d.ts +0 -60
- package/es/flow/models/blocks/details/DetailsJSFieldItemModel.d.ts +0 -19
- package/es/flow/models/blocks/details/index.d.ts +0 -14
- package/es/flow/models/blocks/details/utils.d.ts +0 -16
- package/es/flow/models/blocks/filter-form/FieldModelSelect.d.ts +0 -10
- package/es/flow/models/blocks/filter-form/FieldOperatorSelect.d.ts +0 -10
- package/es/flow/models/blocks/filter-form/FilterFormActionGroupModel.d.ts +0 -13
- package/es/flow/models/blocks/filter-form/FilterFormActionModel.d.ts +0 -11
- package/es/flow/models/blocks/filter-form/FilterFormBlockModel.d.ts +0 -39
- package/es/flow/models/blocks/filter-form/FilterFormCollapseActionModel.d.ts +0 -18
- package/es/flow/models/blocks/filter-form/FilterFormCustomItemModel.d.ts +0 -13
- package/es/flow/models/blocks/filter-form/FilterFormGridModel.d.ts +0 -43
- package/es/flow/models/blocks/filter-form/FilterFormItemModel.d.ts +0 -59
- package/es/flow/models/blocks/filter-form/FilterFormJSActionModel.d.ts +0 -11
- package/es/flow/models/blocks/filter-form/FilterFormResetActionModel.d.ts +0 -13
- package/es/flow/models/blocks/filter-form/FilterFormSubmitActionModel.d.ts +0 -15
- package/es/flow/models/blocks/filter-form/SourceCascader.d.ts +0 -10
- package/es/flow/models/blocks/filter-form/customFieldOperators.d.ts +0 -34
- package/es/flow/models/blocks/filter-form/fields/FieldComponentProps.d.ts +0 -13
- package/es/flow/models/blocks/filter-form/fields/FilterFormCustomFieldModel.d.ts +0 -52
- package/es/flow/models/blocks/filter-form/fields/FilterFormCustomRecordSelectFieldModel.d.ts +0 -20
- package/es/flow/models/blocks/filter-form/fields/FilterFormFieldModel.d.ts +0 -11
- package/es/flow/models/blocks/filter-form/fields/FilterFormRecordSelectFieldModel.d.ts +0 -12
- package/es/flow/models/blocks/filter-form/fields/date-time/DateOnlyFilterFieldModel.d.ts +0 -14
- package/es/flow/models/blocks/filter-form/fields/date-time/DateTimeFilterFieldModel.d.ts +0 -13
- package/es/flow/models/blocks/filter-form/fields/date-time/DateTimeNoTzFilterFieldModel.d.ts +0 -13
- package/es/flow/models/blocks/filter-form/fields/date-time/DateTimeTzFilterFieldModel.d.ts +0 -14
- package/es/flow/models/blocks/filter-form/fields/date-time/components/DateFilterDynamicComponent.d.ts +0 -10
- package/es/flow/models/blocks/filter-form/fields/date-time/components/FilterDatePicker.d.ts +0 -10
- package/es/flow/models/blocks/filter-form/fields/date-time/components/FilterRangePicker.d.ts +0 -10
- package/es/flow/models/blocks/filter-form/fields/date-time/index.d.ts +0 -12
- package/es/flow/models/blocks/filter-form/fields/index.d.ts +0 -13
- package/es/flow/models/blocks/filter-form/index.d.ts +0 -23
- package/es/flow/models/blocks/filter-form/legacyDefaultValueMigration.d.ts +0 -13
- package/es/flow/models/blocks/filter-form/valueNormalization.d.ts +0 -17
- package/es/flow/models/blocks/filter-manager/FilterManager.d.ts +0 -141
- package/es/flow/models/blocks/filter-manager/flow-actions/connectFields.d.ts +0 -10
- package/es/flow/models/blocks/filter-manager/flow-actions/customizeFilterRender.d.ts +0 -10
- package/es/flow/models/blocks/filter-manager/flow-actions/defaultOperator.d.ts +0 -9
- package/es/flow/models/blocks/filter-manager/flow-actions/index.d.ts +0 -12
- package/es/flow/models/blocks/filter-manager/flow-actions/operatorComponentProps.d.ts +0 -10
- package/es/flow/models/blocks/filter-manager/index.d.ts +0 -11
- package/es/flow/models/blocks/filter-manager/utils.d.ts +0 -21
- package/es/flow/models/blocks/form/CreateFormModel.d.ts +0 -22
- package/es/flow/models/blocks/form/EditFormModel.d.ts +0 -26
- package/es/flow/models/blocks/form/FormActionGroupModel.d.ts +0 -13
- package/es/flow/models/blocks/form/FormActionModel.d.ts +0 -21
- package/es/flow/models/blocks/form/FormAssociationFieldGroupModel.d.ts +0 -12
- package/es/flow/models/blocks/form/FormAssociationItemModel.d.ts +0 -39
- package/es/flow/models/blocks/form/FormBlockModel.d.ts +0 -96
- package/es/flow/models/blocks/form/FormCustomItemModel.d.ts +0 -13
- package/es/flow/models/blocks/form/FormGridModel.d.ts +0 -34
- package/es/flow/models/blocks/form/FormItemModel.d.ts +0 -39
- package/es/flow/models/blocks/form/FormJSFieldItemModel.d.ts +0 -18
- package/es/flow/models/blocks/form/JSFormActionModel.d.ts +0 -11
- package/es/flow/models/blocks/form/QuickEditFormModel.d.ts +0 -38
- package/es/flow/models/blocks/form/assignRulesUpdateAssociationValues.d.ts +0 -18
- package/es/flow/models/blocks/form/dynamicNamePath.d.ts +0 -19
- package/es/flow/models/blocks/form/index.d.ts +0 -21
- package/es/flow/models/blocks/form/legacyDefaultValueMigration.d.ts +0 -13
- package/es/flow/models/blocks/form/submitHandler.d.ts +0 -9
- package/es/flow/models/blocks/form/submitValues.d.ts +0 -40
- package/es/flow/models/blocks/form/value-runtime/conditions.d.ts +0 -9
- package/es/flow/models/blocks/form/value-runtime/deps.d.ts +0 -23
- package/es/flow/models/blocks/form/value-runtime/form-patch.d.ts +0 -19
- package/es/flow/models/blocks/form/value-runtime/index.d.ts +0 -11
- package/es/flow/models/blocks/form/value-runtime/path.d.ts +0 -25
- package/es/flow/models/blocks/form/value-runtime/rules.d.ts +0 -137
- package/es/flow/models/blocks/form/value-runtime/runtime.d.ts +0 -88
- package/es/flow/models/blocks/form/value-runtime/types.d.ts +0 -62
- package/es/flow/models/blocks/form/value-runtime/utils.d.ts +0 -12
- package/es/flow/models/blocks/index.d.ts +0 -15
- package/es/flow/models/blocks/js-block/JSBlock.d.ts +0 -16
- package/es/flow/models/blocks/js-block/index.d.ts +0 -9
- package/es/flow/models/blocks/shared/legacyDefaultValueMigrationBase.d.ts +0 -20
- package/es/flow/models/blocks/table/JSColumnModel.d.ts +0 -21
- package/es/flow/models/blocks/table/TableActionsColumnModel.d.ts +0 -18
- package/es/flow/models/blocks/table/TableAssociationFieldGroupModel.d.ts +0 -12
- package/es/flow/models/blocks/table/TableBlockModel.d.ts +0 -68
- package/es/flow/models/blocks/table/TableColumnModel.d.ts +0 -29
- package/es/flow/models/blocks/table/TableCustomColumnModel.d.ts +0 -12
- package/es/flow/models/blocks/table/TableJSFieldItemModel.d.ts +0 -19
- package/es/flow/models/blocks/table/TableSelectModel.d.ts +0 -14
- package/es/flow/models/blocks/table/dragSort/dragSortComponents.d.ts +0 -14
- package/es/flow/models/blocks/table/dragSort/dragSortHooks.d.ts +0 -13
- package/es/flow/models/blocks/table/dragSort/dragSortSettings.d.ts +0 -39
- package/es/flow/models/blocks/table/dragSort/dragSortUtils.d.ts +0 -37
- package/es/flow/models/blocks/table/dragSort/index.d.ts +0 -12
- package/es/flow/models/blocks/table/index.d.ts +0 -16
- package/es/flow/models/blocks/table/sortUtils.d.ts +0 -32
- package/es/flow/models/blocks/table/utils.d.ts +0 -18
- package/es/flow/models/blocks/utils/transformChildrenToJS.d.ts +0 -42
- package/es/flow/models/fields/AssociationFieldModel/AssociationFieldModel.d.ts +0 -5
- package/es/flow/models/fields/AssociationFieldModel/CascadeSelectFieldModel.d.ts +0 -45
- package/es/flow/models/fields/AssociationFieldModel/PopupSubTableFieldModel/PopupSubTableActionGroupModel.d.ts +0 -11
- package/es/flow/models/fields/AssociationFieldModel/PopupSubTableFieldModel/PopupSubTableActionsColumnModel.d.ts +0 -19
- package/es/flow/models/fields/AssociationFieldModel/PopupSubTableFieldModel/PopupSubTableFieldModel.d.ts +0 -30
- package/es/flow/models/fields/AssociationFieldModel/PopupSubTableFieldModel/actions/PopupSubTableEditActionModel.d.ts +0 -28
- package/es/flow/models/fields/AssociationFieldModel/PopupSubTableFieldModel/actions/PopupSubTableFormSubmitActionModel.d.ts +0 -16
- package/es/flow/models/fields/AssociationFieldModel/PopupSubTableFieldModel/actions/PopupSubTableRemoveActionModel.d.ts +0 -14
- package/es/flow/models/fields/AssociationFieldModel/PopupSubTableFieldModel/actions/popupSubTableBeforeClose.d.ts +0 -25
- package/es/flow/models/fields/AssociationFieldModel/PopupSubTableFieldModel/blocks/PopupSubTableFormModel.d.ts +0 -36
- package/es/flow/models/fields/AssociationFieldModel/PopupSubTableFieldModel/index.d.ts +0 -17
- package/es/flow/models/fields/AssociationFieldModel/RecordPickerFieldModel.d.ts +0 -45
- package/es/flow/models/fields/AssociationFieldModel/RecordSelectFieldModel.d.ts +0 -46
- package/es/flow/models/fields/AssociationFieldModel/SubFormFieldModel.d.ts +0 -32
- package/es/flow/models/fields/AssociationFieldModel/SubTableFieldModel/SubTableColumnModel.d.ts +0 -32
- package/es/flow/models/fields/AssociationFieldModel/SubTableFieldModel/SubTableField.d.ts +0 -10
- package/es/flow/models/fields/AssociationFieldModel/SubTableFieldModel/index.d.ts +0 -19
- package/es/flow/models/fields/AssociationFieldModel/SubTableFieldModel/rowIdentity.d.ts +0 -18
- package/es/flow/models/fields/AssociationFieldModel/index.d.ts +0 -15
- package/es/flow/models/fields/AssociationFieldModel/itemChain.d.ts +0 -99
- package/es/flow/models/fields/AssociationFieldModel/recordSelectShared.d.ts +0 -48
- package/es/flow/models/fields/CheckboxFieldModel.d.ts +0 -13
- package/es/flow/models/fields/CheckboxGroupFieldModel.d.ts +0 -13
- package/es/flow/models/fields/ClickableFieldModel.d.ts +0 -25
- package/es/flow/models/fields/CollectionSelectorFieldModel.d.ts +0 -13
- package/es/flow/models/fields/ColorFieldModel.d.ts +0 -14
- package/es/flow/models/fields/DateTimeFieldModel/DateOnlyFieldModel.d.ts +0 -7
- package/es/flow/models/fields/DateTimeFieldModel/DateTimeFieldModel.d.ts +0 -3
- package/es/flow/models/fields/DateTimeFieldModel/DateTimeNoTzFieldModel.d.ts +0 -6
- package/es/flow/models/fields/DateTimeFieldModel/DateTimeTzFieldModel.d.ts +0 -7
- package/es/flow/models/fields/DateTimeFieldModel/index.d.ts +0 -11
- package/es/flow/models/fields/DisplayAssociationField/DisplaySubItemFieldModel.d.ts +0 -26
- package/es/flow/models/fields/DisplayAssociationField/DisplaySubListFieldModel.d.ts +0 -26
- package/es/flow/models/fields/DisplayAssociationField/DisplaySubTableFieldModel.d.ts +0 -20
- package/es/flow/models/fields/DisplayAssociationField/displaySubListUtils.d.ts +0 -14
- package/es/flow/models/fields/DisplayAssociationField/index.d.ts +0 -11
- package/es/flow/models/fields/DisplayCheckboxFieldModel.d.ts +0 -13
- package/es/flow/models/fields/DisplayColorFieldModel.d.ts +0 -13
- package/es/flow/models/fields/DisplayDateTimeFieldModel.d.ts +0 -13
- package/es/flow/models/fields/DisplayEnumFieldModel.d.ts +0 -14
- package/es/flow/models/fields/DisplayHtmlFieldModel.d.ts +0 -13
- package/es/flow/models/fields/DisplayIconFieldModel.d.ts +0 -13
- package/es/flow/models/fields/DisplayJSONFieldModel.d.ts +0 -13
- package/es/flow/models/fields/DisplayNumberFieldModel.d.ts +0 -33
- package/es/flow/models/fields/DisplayPasswordFieldModel.d.ts +0 -13
- package/es/flow/models/fields/DisplayPercentFieldModel.d.ts +0 -13
- package/es/flow/models/fields/DisplayTextFieldModel.d.ts +0 -14
- package/es/flow/models/fields/DisplayTimeFieldModel.d.ts +0 -13
- package/es/flow/models/fields/DisplayTitleFieldModel.d.ts +0 -18
- package/es/flow/models/fields/DisplayURLFieldModel.d.ts +0 -13
- package/es/flow/models/fields/DividerItemModel.d.ts +0 -13
- package/es/flow/models/fields/IconFieldModel.d.ts +0 -13
- package/es/flow/models/fields/InputFieldModel.d.ts +0 -13
- package/es/flow/models/fields/JSEditableFieldModel.d.ts +0 -27
- package/es/flow/models/fields/JSFieldModel.d.ts +0 -45
- package/es/flow/models/fields/JSItemModel.d.ts +0 -27
- package/es/flow/models/fields/JsonFieldModel.d.ts +0 -6
- package/es/flow/models/fields/MarkdownItemModel.d.ts +0 -14
- package/es/flow/models/fields/NumberFieldModel.d.ts +0 -15
- package/es/flow/models/fields/PasswordFieldModel.d.ts +0 -13
- package/es/flow/models/fields/PercentFieldModel.d.ts +0 -14
- package/es/flow/models/fields/RadioGroupFieldModel.d.ts +0 -13
- package/es/flow/models/fields/RichTextFieldModel/index.d.ts +0 -14
- package/es/flow/models/fields/RichTextFieldModel/registerFontSize.d.ts +0 -9
- package/es/flow/models/fields/RichTextFieldModel/registerImageResize.d.ts +0 -9
- package/es/flow/models/fields/RichTextFieldModel/registerSmartBreak.d.ts +0 -12
- package/es/flow/models/fields/RichTextFieldModel/style.d.ts +0 -9
- package/es/flow/models/fields/SelectFieldModel.d.ts +0 -13
- package/es/flow/models/fields/TextareaFieldModel.d.ts +0 -13
- package/es/flow/models/fields/TimeFieldModel.d.ts +0 -5
- package/es/flow/models/fields/VariableFieldFormModel.d.ts +0 -18
- package/es/flow/models/fields/index.d.ts +0 -47
- package/es/flow/models/fields/mobile-components/MobileDatePicker.d.ts +0 -10
- package/es/flow/models/fields/mobile-components/MobileLazySelect.d.ts +0 -11
- package/es/flow/models/fields/mobile-components/MobileSelect.d.ts +0 -10
- package/es/flow/models/fields/mobile-components/MobileTimePicker.d.ts +0 -10
- package/es/flow/models/index.d.ts +0 -12
- package/es/flow/models/utils/resolveRunJsParams.d.ts +0 -19
- package/es/flow/resolveViewParamsToViewList.d.ts +0 -20
- package/es/flow/utils/actionCapability.d.ts +0 -60
- package/es/flow/utils/blockUtils.d.ts +0 -16
- package/es/flow/utils/dispatchEventDeep.d.ts +0 -20
- package/es/flow/utils/index.d.ts +0 -11
- package/es/flow/utils/pagination.d.ts +0 -29
- package/es/flow/utils/useJsonTemplateResolver.d.ts +0 -9
- package/es/route-switch/antd/admin-layout/AdminLayoutRouteCoordinator.d.ts +0 -50
- package/es/route-switch/antd/admin-layout/useApplications.d.ts +0 -12
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export declare function usePlugin<T extends
|
|
1
|
+
import type { PluginClass } from '../PluginManager';
|
|
2
|
+
export declare function usePlugin<T extends PluginClass<any> = any>(plugin: T): InstanceType<T>;
|
|
3
3
|
export declare function usePlugin<T extends {}>(name: string): T;
|
|
@@ -20,5 +20,5 @@ export declare const useSchemaInitializer: () => {
|
|
|
20
20
|
visible: boolean;
|
|
21
21
|
setVisible: (v: boolean) => void;
|
|
22
22
|
};
|
|
23
|
-
export declare const SchemaInitializerItemContext: React.Context<Omit<SchemaInitializerItemType, "
|
|
23
|
+
export declare const SchemaInitializerItemContext: React.Context<Omit<SchemaInitializerItemType, "componentProps" | "component" | "type" | "sort" | "Component" | "useVisible" | "useChildren" | "hideIfNoChildren">>;
|
|
24
24
|
export declare const useSchemaInitializerItem: <T = any>() => T;
|
|
@@ -9,8 +9,8 @@
|
|
|
9
9
|
import { GeneralField } from '@formily/core';
|
|
10
10
|
import { Schema } from '@formily/json-schema';
|
|
11
11
|
import React from 'react';
|
|
12
|
-
import { Designable } from '../../../schema-component';
|
|
13
|
-
import { SchemaSettingsProps } from '../../../schema-settings';
|
|
12
|
+
import { Designable } from '../../../schema-component/hooks/useDesignable';
|
|
13
|
+
import { SchemaSettingsProps } from '../../../schema-settings/SchemaSettings';
|
|
14
14
|
import { SchemaSettings } from '../SchemaSettings';
|
|
15
15
|
import { SchemaSettingOptions } from '../types';
|
|
16
16
|
type UseSchemaSettingsRenderOptions<T = {}> = Omit<SchemaSettingOptions<T>, 'name' | 'items'> & Omit<SchemaSettingsProps, 'title' | 'children'> & {
|
|
@@ -7,13 +7,13 @@
|
|
|
7
7
|
* For more information, please refer to: https://www.nocobase.com/agreement.
|
|
8
8
|
*/
|
|
9
9
|
import type { DevDynamicImport } from '../Application';
|
|
10
|
-
import type {
|
|
10
|
+
import type { PluginClass } from '../PluginManager';
|
|
11
11
|
import type { PluginData } from '../PluginManager';
|
|
12
12
|
import type { RequireJS } from './requirejs';
|
|
13
13
|
/**
|
|
14
14
|
* @internal
|
|
15
15
|
*/
|
|
16
|
-
export declare function defineDevPlugins(plugins: Record<string,
|
|
16
|
+
export declare function defineDevPlugins(plugins: Record<string, PluginClass<any>>): void;
|
|
17
17
|
/**
|
|
18
18
|
* @internal
|
|
19
19
|
*/
|
|
@@ -25,13 +25,13 @@ export declare function configRequirejs(requirejs: any, pluginData: PluginData[]
|
|
|
25
25
|
/**
|
|
26
26
|
* @internal
|
|
27
27
|
*/
|
|
28
|
-
export declare function processRemotePlugins(pluginData: PluginData[], resolve: (plugins: [string,
|
|
29
|
-
default?:
|
|
28
|
+
export declare function processRemotePlugins(pluginData: PluginData[], resolve: (plugins: [string, PluginClass<any>][]) => void): (...pluginModules: (PluginClass<any> & {
|
|
29
|
+
default?: PluginClass<any>;
|
|
30
30
|
})[]) => void;
|
|
31
31
|
/**
|
|
32
32
|
* @internal
|
|
33
33
|
*/
|
|
34
|
-
export declare function getRemotePlugins(requirejs: any, pluginData?: PluginData[]): Promise<Array<[string,
|
|
34
|
+
export declare function getRemotePlugins(requirejs: any, pluginData?: PluginData[]): Promise<Array<[string, PluginClass<any>]>>;
|
|
35
35
|
interface GetPluginsOption {
|
|
36
36
|
requirejs: RequireJS;
|
|
37
37
|
pluginData: PluginData[];
|
|
@@ -40,5 +40,5 @@ interface GetPluginsOption {
|
|
|
40
40
|
/**
|
|
41
41
|
* @internal
|
|
42
42
|
*/
|
|
43
|
-
export declare function getPlugins(options: GetPluginsOption): Promise<Array<[string,
|
|
43
|
+
export declare function getPlugins(options: GetPluginsOption): Promise<Array<[string, PluginClass<any>]>>;
|
|
44
44
|
export {};
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file is part of the NocoBase (R) project.
|
|
3
|
+
* Copyright (c) 2020-2024 NocoBase Co., Ltd.
|
|
4
|
+
* Authors: NocoBase Team.
|
|
5
|
+
*
|
|
6
|
+
* This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
|
|
7
|
+
* For more information, please refer to: https://www.nocobase.com/agreement.
|
|
8
|
+
*/
|
|
9
|
+
import React from 'react';
|
|
10
|
+
export declare const TableBlockContextBasicValue: React.Context<{
|
|
11
|
+
field: any;
|
|
12
|
+
rowKey: string;
|
|
13
|
+
dragSortBy?: string;
|
|
14
|
+
childrenColumnName?: string;
|
|
15
|
+
showIndex?: boolean;
|
|
16
|
+
dragSort?: boolean;
|
|
17
|
+
}>;
|
|
18
|
+
export declare const useTableBlockContextBasicValue: () => {
|
|
19
|
+
field: any;
|
|
20
|
+
rowKey: string;
|
|
21
|
+
dragSortBy?: string;
|
|
22
|
+
childrenColumnName?: string;
|
|
23
|
+
showIndex?: boolean;
|
|
24
|
+
dragSort?: boolean;
|
|
25
|
+
};
|
|
@@ -20,14 +20,3 @@ export declare const TableBlockProvider: React.FunctionComponent<any>;
|
|
|
20
20
|
* @internal
|
|
21
21
|
*/
|
|
22
22
|
export declare const useTableBlockContext: () => any;
|
|
23
|
-
/**
|
|
24
|
-
* @internal
|
|
25
|
-
*/
|
|
26
|
-
export declare const useTableBlockContextBasicValue: () => {
|
|
27
|
-
field: any;
|
|
28
|
-
rowKey: string;
|
|
29
|
-
dragSortBy?: string;
|
|
30
|
-
childrenColumnName?: string;
|
|
31
|
-
showIndex?: boolean;
|
|
32
|
-
dragSort?: boolean;
|
|
33
|
-
};
|
|
@@ -23,8 +23,8 @@ export declare const useCollection_deprecated: () => {
|
|
|
23
23
|
name: string;
|
|
24
24
|
title?: string;
|
|
25
25
|
dataSource?: string;
|
|
26
|
-
duplicator?: ("
|
|
27
|
-
dumpable: "
|
|
26
|
+
duplicator?: ("required" | "optional" | "skip") | {
|
|
27
|
+
dumpable: "required" | "optional" | "skip";
|
|
28
28
|
with?: string | string[];
|
|
29
29
|
delayRestore?: any;
|
|
30
30
|
};
|
|
@@ -17,15 +17,15 @@ export declare class SqlCollectionTemplate extends CollectionTemplate {
|
|
|
17
17
|
fields: any[];
|
|
18
18
|
};
|
|
19
19
|
configurableProperties: {
|
|
20
|
-
name: any;
|
|
21
20
|
title: any;
|
|
22
21
|
description: any;
|
|
22
|
+
name: any;
|
|
23
|
+
inherits: any;
|
|
24
|
+
category: any;
|
|
23
25
|
createdBy: any;
|
|
24
|
-
createdAt: any;
|
|
25
26
|
updatedBy: any;
|
|
27
|
+
createdAt: any;
|
|
26
28
|
updatedAt: any;
|
|
27
|
-
category: any;
|
|
28
|
-
inherits: any;
|
|
29
29
|
sortable: any;
|
|
30
30
|
autoGenId: any;
|
|
31
31
|
simplePaginate: any;
|
|
@@ -29,15 +29,15 @@ export declare class ViewCollectionTemplate extends CollectionTemplate {
|
|
|
29
29
|
};
|
|
30
30
|
'x-reactions': string[];
|
|
31
31
|
};
|
|
32
|
-
name: any;
|
|
33
32
|
title: any;
|
|
34
33
|
description: any;
|
|
34
|
+
name: any;
|
|
35
|
+
inherits: any;
|
|
36
|
+
category: any;
|
|
35
37
|
createdBy: any;
|
|
36
|
-
createdAt: any;
|
|
37
38
|
updatedBy: any;
|
|
39
|
+
createdAt: any;
|
|
38
40
|
updatedAt: any;
|
|
39
|
-
category: any;
|
|
40
|
-
inherits: any;
|
|
41
41
|
sortable: any;
|
|
42
42
|
autoGenId: any;
|
|
43
43
|
simplePaginate: any;
|
|
@@ -12,7 +12,7 @@ import type { CollectionOptions } from './Collection';
|
|
|
12
12
|
* @internal
|
|
13
13
|
*/
|
|
14
14
|
export declare const collectionTransform: (collection: CollectionOptions, app: Application) => {
|
|
15
|
-
title:
|
|
15
|
+
title: string;
|
|
16
16
|
rawTitle: any;
|
|
17
17
|
fields: {
|
|
18
18
|
name?: any;
|
|
@@ -23,8 +23,8 @@ export declare const collectionTransform: (collection: CollectionOptions, app: A
|
|
|
23
23
|
}[];
|
|
24
24
|
name: string;
|
|
25
25
|
dataSource?: string;
|
|
26
|
-
duplicator?: ("
|
|
27
|
-
dumpable: "
|
|
26
|
+
duplicator?: ("required" | "optional" | "skip") | {
|
|
27
|
+
dumpable: "required" | "optional" | "skip";
|
|
28
28
|
with?: string | string[];
|
|
29
29
|
delayRestore?: any;
|
|
30
30
|
};
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
import React, { FC, ReactNode } from 'react';
|
|
10
10
|
import { UseRequestOptions, UseRequestService } from '../../api-client';
|
|
11
11
|
import { FilterParam } from '../../filter-provider/FilterProvider';
|
|
12
|
-
import { Designable } from '../../schema-component';
|
|
12
|
+
import { Designable } from '../../schema-component/hooks/useDesignable';
|
|
13
13
|
import { CollectionOptions } from '../collection';
|
|
14
14
|
import { CollectionRecord } from '../collection-record';
|
|
15
15
|
export interface AllDataBlockProps {
|
|
@@ -6,13 +6,4 @@
|
|
|
6
6
|
* This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
|
|
7
7
|
* For more information, please refer to: https://www.nocobase.com/agreement.
|
|
8
8
|
*/
|
|
9
|
-
|
|
10
|
-
declare const AntdAppProvider: {
|
|
11
|
-
({ children, className, style, }: {
|
|
12
|
-
children: React.ReactNode;
|
|
13
|
-
className?: string;
|
|
14
|
-
style?: React.CSSProperties;
|
|
15
|
-
}): React.JSX.Element;
|
|
16
|
-
displayName: string;
|
|
17
|
-
};
|
|
18
|
-
export default AntdAppProvider;
|
|
9
|
+
export { AntdAppProvider as default } from '@nocobase/client-v2';
|
|
@@ -6,6 +6,4 @@
|
|
|
6
6
|
* This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
|
|
7
7
|
* For more information, please refer to: https://www.nocobase.com/agreement.
|
|
8
8
|
*/
|
|
9
|
-
|
|
10
|
-
declare function compatOldTheme(theme: ThemeConfig): ThemeConfig;
|
|
11
|
-
export default compatOldTheme;
|
|
9
|
+
export { compatOldTheme as default } from '@nocobase/client-v2';
|
|
@@ -6,10 +6,4 @@
|
|
|
6
6
|
* This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
|
|
7
7
|
* For more information, please refer to: https://www.nocobase.com/agreement.
|
|
8
8
|
*/
|
|
9
|
-
|
|
10
|
-
import { ThemeConfig } from './type';
|
|
11
|
-
/**
|
|
12
|
-
* 该算法用于计算自定义的一些 token
|
|
13
|
-
*/
|
|
14
|
-
export declare const customAlgorithm: MappingAlgorithm;
|
|
15
|
-
export declare const addCustomAlgorithmToTheme: (theme: ThemeConfig) => ThemeConfig;
|
|
9
|
+
export { addCustomAlgorithmToTheme, customAlgorithm } from '@nocobase/client-v2';
|
|
@@ -6,6 +6,4 @@
|
|
|
6
6
|
* This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
|
|
7
7
|
* For more information, please refer to: https://www.nocobase.com/agreement.
|
|
8
8
|
*/
|
|
9
|
-
|
|
10
|
-
declare const defaultTheme: ThemeConfig;
|
|
11
|
-
export default defaultTheme;
|
|
9
|
+
export { defaultTheme as default } from '@nocobase/client-v2';
|
|
@@ -6,32 +6,5 @@
|
|
|
6
6
|
* This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
|
|
7
7
|
* For more information, please refer to: https://www.nocobase.com/agreement.
|
|
8
8
|
*/
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
import { ThemeConfig } from './type';
|
|
12
|
-
interface ThemeItem {
|
|
13
|
-
id: number;
|
|
14
|
-
/** 主题配置内容,一个 JSON 字符串 */
|
|
15
|
-
config: ThemeConfig;
|
|
16
|
-
/** 主题是否可选 */
|
|
17
|
-
optional: boolean;
|
|
18
|
-
isBuiltIn?: boolean;
|
|
19
|
-
}
|
|
20
|
-
interface GlobalThemeContextProps {
|
|
21
|
-
theme: ThemeConfig;
|
|
22
|
-
setTheme: React.Dispatch<React.SetStateAction<ThemeConfig>>;
|
|
23
|
-
setCurrentSettingTheme: (theme: ThemeConfig) => void;
|
|
24
|
-
getCurrentSettingTheme: () => ThemeConfig;
|
|
25
|
-
setCurrentEditingTheme: (themeItem: ThemeItem) => void;
|
|
26
|
-
getCurrentEditingTheme: () => ThemeItem;
|
|
27
|
-
isDarkTheme: boolean;
|
|
28
|
-
}
|
|
29
|
-
export declare const useGlobalTheme: () => GlobalThemeContextProps;
|
|
30
|
-
interface GlobalThemeProviderProps {
|
|
31
|
-
theme?: ThemeConfig;
|
|
32
|
-
}
|
|
33
|
-
export declare const GlobalThemeProvider: FC<GlobalThemeProviderProps>;
|
|
34
|
-
export { default as AntdAppProvider } from './AntdAppProvider';
|
|
35
|
-
export { default as compatOldTheme } from './compatOldTheme';
|
|
36
|
-
export * from './type';
|
|
37
|
-
export { defaultTheme };
|
|
9
|
+
export { GlobalThemeProvider, useGlobalTheme, compatOldTheme, addCustomAlgorithmToTheme, customAlgorithm, defaultTheme, AntdAppProvider, } from '@nocobase/client-v2';
|
|
10
|
+
export type { CustomToken, ThemeConfig } from '@nocobase/client-v2';
|
|
@@ -6,59 +6,4 @@
|
|
|
6
6
|
* This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
|
|
7
7
|
* For more information, please refer to: https://www.nocobase.com/agreement.
|
|
8
8
|
*/
|
|
9
|
-
|
|
10
|
-
import { AliasToken } from 'antd/es/theme/internal';
|
|
11
|
-
export interface CustomToken extends AliasToken {
|
|
12
|
-
/** 顶部导航栏主色 */
|
|
13
|
-
colorPrimaryHeader: string;
|
|
14
|
-
/** 导航栏背景色 */
|
|
15
|
-
colorBgHeader: string;
|
|
16
|
-
/** 导航栏菜单背景色悬浮态 */
|
|
17
|
-
colorBgHeaderMenuHover: string;
|
|
18
|
-
/** 导航栏菜单背景色激活态 */
|
|
19
|
-
colorBgHeaderMenuActive: string;
|
|
20
|
-
/** 导航栏菜单文本色 */
|
|
21
|
-
colorTextHeaderMenu: string;
|
|
22
|
-
/** 导航栏菜单文本色悬浮态 */
|
|
23
|
-
colorTextHeaderMenuHover: string;
|
|
24
|
-
/** 导航栏菜单文本色激活态 */
|
|
25
|
-
colorTextHeaderMenuActive: string;
|
|
26
|
-
/** 侧边菜单背景色 */
|
|
27
|
-
colorBgSider: string;
|
|
28
|
-
/** 侧边菜单文本色 */
|
|
29
|
-
colorTextSiderMenu: string;
|
|
30
|
-
/** 侧边菜单文本色悬浮态 */
|
|
31
|
-
colorTextSiderMenuHover: string;
|
|
32
|
-
/** 侧边菜单文本色激活态 */
|
|
33
|
-
colorTextSiderMenuActive: string;
|
|
34
|
-
/** 侧边菜单背景色悬浮态 */
|
|
35
|
-
colorBgSiderMenuHover: string;
|
|
36
|
-
/** 侧边菜单背景色激活态 */
|
|
37
|
-
colorBgSiderMenuActive: string;
|
|
38
|
-
/** UI 配置色 */
|
|
39
|
-
colorSettings: string;
|
|
40
|
-
/** 鼠标悬浮时显示的背景色 */
|
|
41
|
-
colorBgSettingsHover: string;
|
|
42
|
-
/** 鼠标悬浮模板区块时显示的背景色 */
|
|
43
|
-
colorTemplateBgSettingsHover: string;
|
|
44
|
-
/** 鼠标悬浮时显示的边框色 */
|
|
45
|
-
colorBorderSettingsHover: string;
|
|
46
|
-
/** 页面左右内边距 */
|
|
47
|
-
paddingPageHorizontal: number;
|
|
48
|
-
/** 页面上下内边距 */
|
|
49
|
-
paddingPageVertical: number;
|
|
50
|
-
/** 弹窗左右内边距 */
|
|
51
|
-
paddingPopupHorizontal: number;
|
|
52
|
-
/** 弹窗上下内边距 */
|
|
53
|
-
paddingPopupVertical: number;
|
|
54
|
-
/** 区块之间的间隔 */
|
|
55
|
-
marginBlock: number;
|
|
56
|
-
/** 区块的圆角 */
|
|
57
|
-
borderRadiusBlock: number;
|
|
58
|
-
siderWidth: number;
|
|
59
|
-
globalStyle?: string;
|
|
60
|
-
}
|
|
61
|
-
export interface ThemeConfig extends _ThemeConfig {
|
|
62
|
-
name?: string;
|
|
63
|
-
token?: Partial<CustomToken>;
|
|
64
|
-
}
|
|
9
|
+
export type { CustomToken, ThemeConfig } from '@nocobase/client-v2';
|
package/es/index.d.ts
CHANGED
|
@@ -17,6 +17,7 @@ import 'dayjs/plugin/weekday';
|
|
|
17
17
|
import 'antd/dist/reset.css';
|
|
18
18
|
import './global.less';
|
|
19
19
|
export * from '@emotion/css';
|
|
20
|
+
export { ActionGroupModel, ActionModel, ActionSceneEnum, AddNewActionModel, AssignFormModel, BlockGridModel, BlockModel, BlockSceneEnum, ChildPageModel, ChildPageTabModel, ClickableFieldModel, CollectionActionGroupModel, CollectionActionModel, CollectionBlockModel, CommonItemModel, CodeEditor, type EditorRef, CreateFormModel, DataBlockModel, DetailsAssociationFieldGroupModel, DetailsBlockModel, DetailsCustomItemModel, DetailsGridModel, DetailsItemModel, DisplaySubTableFieldModel, DisplayTextFieldModel, DisplayTitleFieldModel, EditFormModel, FieldModel, FilterActionModel, FilterBlockModel, FilterFormActionGroupModel, FilterFormBlockModel, FilterFormItemModel, FilterGroup, FormActionGroupModel, FormActionModel, FormBlockModel, FormComponent, FormGridModel, FormItemModel, FormSubmitActionModel, GridModel, JSActionModel, LinkActionModel, MockFlowModelRepository, PopupActionModel, PopupSubTableFormActionGroupModel, RecordActionGroupModel, RecordPickerContent, RecordSelectFieldModel, RefreshActionModel, SkeletonFallback, SubTableColumnModel, SubTableFieldModel, TableAssociationFieldGroupModel, TableBlockModel, TableColumnModel, TextAreaWithContextSelector, UpdateRecordActionModel, VariableFilterItem, applyMobilePaginationProps, createCompactSimpleItemRender, dispatchEventDeep, editMarkdownFlow, getSimpleModePaginationClassName, getUnknownCountPaginationTotal, InputFieldModel, joinUrlSearch, mergePaginationClassName, openViewFlow, titleField, CodeEditorExtension, FormAssociationFieldGroupModel, } from '@nocobase/client-v2';
|
|
20
21
|
export * from './acl';
|
|
21
22
|
export * from './antd-config-provider';
|
|
22
23
|
export * from './api-client';
|
|
@@ -32,7 +33,6 @@ export * from './data-source';
|
|
|
32
33
|
export * from './document-title';
|
|
33
34
|
export * from './filter-provider';
|
|
34
35
|
export * from './flag-provider';
|
|
35
|
-
export * from './flow';
|
|
36
36
|
export * from './global-theme';
|
|
37
37
|
export * from './hooks';
|
|
38
38
|
export * from './i18n';
|