@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
package/lib/locale/tr-TR.json
CHANGED
|
@@ -4,9 +4,6 @@
|
|
|
4
4
|
"(currently not effective in sub-forms/sub-tables)": "(currently not effective in sub-forms/sub-tables)",
|
|
5
5
|
"12 hour": "12 saat",
|
|
6
6
|
"24 hour": "24 saat",
|
|
7
|
-
"<": "<",
|
|
8
|
-
"=": "=",
|
|
9
|
-
">": ">",
|
|
10
7
|
"ACL": "ACL",
|
|
11
8
|
"ASC": "Artan",
|
|
12
9
|
"Access": "Erişim",
|
|
@@ -76,7 +73,6 @@
|
|
|
76
73
|
"After change": "Değiştirdikten sonra",
|
|
77
74
|
"After clicking the custom button, the following field values will be assigned according to the following form.": "Özel butona tıklandıktan sonra aşağıdaki forma göre aşağıdaki alan değerleri atanacaktır.",
|
|
78
75
|
"After clicking the custom button, the following fields of the current record will be saved according to the following form.": "Özel butona tıklandıktan sonra mevcut kaydın aşağıdaki alanları aşağıdaki forma göre kaydedilecektir.",
|
|
79
|
-
"After hiding, this menu will no longer appear in the menu bar. To show it again, you need to go to the route management page to configure it.": "Gizlendikten sonra, bu menü artık menü çubuğunda görünmeyecektir. Tekrar görüntülemek için, yönlendirme yönetimi sayfasına gidip onu yapılandırmanız gerekecektir.",
|
|
80
76
|
"After hiding, this tab will no longer appear in the tab bar. To show it again, you need to go to the route management page to set it.": "Gizlendikten sonra, bu sekme artık sekme çubuğunda görünmeyecek. Onu tekrar göstermek için, rotayı yönetim sayfasına gidip ayarlamanız gerekiyor.",
|
|
81
77
|
"After successful bulk update": "After successful bulk update",
|
|
82
78
|
"After successful request": "Başarılı istekten sonra",
|
|
@@ -122,6 +118,7 @@
|
|
|
122
118
|
"Any": "Any",
|
|
123
119
|
"App error": "App error",
|
|
124
120
|
"Application reloading": "Application reloading",
|
|
121
|
+
"Architecture": "Mimari",
|
|
125
122
|
"Are you sure to delete this plugin?": "Bu eklentiyi silmek istediğinizden emin misiniz?",
|
|
126
123
|
"Are you sure to disable this plugin?": "Are you sure to disable this plugin?",
|
|
127
124
|
"Are you sure you don't want to save?": "kaydetmek istemediğinizden emin misiniz??",
|
|
@@ -130,7 +127,6 @@
|
|
|
130
127
|
"Are you sure you want to delete this variable?": "Are you sure you want to delete this variable?",
|
|
131
128
|
"Are you sure you want to disassociate it?": "Bağlantıyı kesmek istediğinizden emin misiniz?",
|
|
132
129
|
"Are you sure you want to hide these routes in menu?": "Bu rotaları menüde gizlemek istediğinizden emin misiniz?",
|
|
133
|
-
"Are you sure you want to hide this menu?": "Bu menüyü gizlemek istediğinizden emin misiniz?",
|
|
134
130
|
"Are you sure you want to hide this tab?": "Bu sekmeyi gizlemek istediğinizden emin misiniz?",
|
|
135
131
|
"Are you sure you want to load {{count}} collection(s)?": "Are you sure you want to load {{count}} collection(s)?",
|
|
136
132
|
"Are you sure you want to perform the Custom request action": "Are you sure you want to perform the Custom request action",
|
|
@@ -1555,4 +1551,4 @@
|
|
|
1555
1551
|
"≠": "≠",
|
|
1556
1552
|
"≤": "≤",
|
|
1557
1553
|
"≥": "≥"
|
|
1558
|
-
}
|
|
1554
|
+
}
|
package/lib/locale/uk-UA.json
CHANGED
|
@@ -4,9 +4,6 @@
|
|
|
4
4
|
"(currently not effective in sub-forms/sub-tables)": "(currently not effective in sub-forms/sub-tables)",
|
|
5
5
|
"12 hour": "12-годинний",
|
|
6
6
|
"24 hour": "24-годинний",
|
|
7
|
-
"<": "<",
|
|
8
|
-
"=": "=",
|
|
9
|
-
">": ">",
|
|
10
7
|
"ACL": "ACL",
|
|
11
8
|
"ASC": "ASC",
|
|
12
9
|
"Accept": "Прийняти",
|
|
@@ -78,7 +75,6 @@
|
|
|
78
75
|
"After change": "Після зміни",
|
|
79
76
|
"After clicking the custom button, the following field values will be assigned according to the following form.": "Після натискання на власну кнопку, наступні значення полів будуть присвоєні згідно з наступною формою.",
|
|
80
77
|
"After clicking the custom button, the following fields of the current record will be saved according to the following form.": "Після натискання на власну кнопку, наступні поля поточного запису будуть збережені згідно з наступною формою.",
|
|
81
|
-
"After hiding, this menu will no longer appear in the menu bar. To show it again, you need to go to the route management page to configure it.": "Після приховування цього меню він більше не з'явиться в меню. Щоб знову показати його, вам потрібно перейти на сторінку керування маршрутами і налаштувати його.",
|
|
82
78
|
"After hiding, this tab will no longer appear in the tab bar. To show it again, you need to go to the route management page to set it.": "Після приховування цієї вкладки вона більше не з'явиться в панелі вкладок. Щоб знову показати її, вам потрібно перейти на сторінку керування маршрутами, щоб налаштувати її.",
|
|
83
79
|
"After successful bulk update": "Після успішного масового оновлення",
|
|
84
80
|
"After successful request": "Після успішного запиту",
|
|
@@ -126,6 +122,7 @@
|
|
|
126
122
|
"Any": "Any",
|
|
127
123
|
"App error": "App error",
|
|
128
124
|
"Application reloading": "Application reloading",
|
|
125
|
+
"Architecture": "Архітектура",
|
|
129
126
|
"Are you sure to delete this plugin?": "Ви впевнені, що хочете видалити цей плагін?",
|
|
130
127
|
"Are you sure to disable this plugin?": "Are you sure to disable this plugin?",
|
|
131
128
|
"Are you sure you don't want to save?": "Ви впевнені, що не бажаєте зберегти?",
|
|
@@ -134,7 +131,6 @@
|
|
|
134
131
|
"Are you sure you want to delete this variable?": "Are you sure you want to delete this variable?",
|
|
135
132
|
"Are you sure you want to disassociate it?": "Ви впевнені, що хочете роз'єднати це?",
|
|
136
133
|
"Are you sure you want to hide these routes in menu?": "Ви впевнені, що хочете приховати ці маршрути в меню?",
|
|
137
|
-
"Are you sure you want to hide this menu?": "Ви впевнені, що хочете приховати це меню?",
|
|
138
134
|
"Are you sure you want to hide this tab?": "Ви впевнені, що хочете приховати цю вкладку?",
|
|
139
135
|
"Are you sure you want to load {{count}} collection(s)?": "Are you sure you want to load {{count}} collection(s)?",
|
|
140
136
|
"Are you sure you want to perform the Custom request action": "Are you sure you want to perform the Custom request action",
|
|
@@ -1572,4 +1568,4 @@
|
|
|
1572
1568
|
"≠": "≠",
|
|
1573
1569
|
"≤": "≤",
|
|
1574
1570
|
"≥": "≥"
|
|
1575
|
-
}
|
|
1571
|
+
}
|
package/lib/locale/vi-VN.json
CHANGED
|
@@ -4,9 +4,6 @@
|
|
|
4
4
|
"(currently not effective in sub-forms/sub-tables)": "(currently not effective in sub-forms/sub-tables)",
|
|
5
5
|
"12 hour": "12 giờ",
|
|
6
6
|
"24 hour": "24 giờ",
|
|
7
|
-
"<": "<",
|
|
8
|
-
"=": "=",
|
|
9
|
-
">": ">",
|
|
10
7
|
"ACL": "ACL",
|
|
11
8
|
"ASC": "Tăng dần",
|
|
12
9
|
"Access": "Truy cập",
|
|
@@ -76,7 +73,6 @@
|
|
|
76
73
|
"After change": "Sau khi thay đổi",
|
|
77
74
|
"After clicking the custom button, the following field values will be assigned according to the following form.": "Sau khi nhấp vào nút tùy chỉnh, các giá trị trường sau sẽ được gán theo biểu mẫu sau.",
|
|
78
75
|
"After clicking the custom button, the following fields of the current record will be saved according to the following form.": "Sau khi nhấp vào nút tùy chỉnh, các trường sau của bản ghi hiện tại sẽ được lưu theo biểu mẫu sau.",
|
|
79
|
-
"After hiding, this menu will no longer appear in the menu bar. To show it again, you need to go to the route management page to configure it.": "Sau khi ẩn, menu này sẽ không còn xuất hiện trong thanh menu. Để hiển thị lại, bạn cần vào trang quản lý tuyến để cấu hình.",
|
|
80
76
|
"After hiding, this tab will no longer appear in the tab bar. To show it again, you need to go to the route management page to set it.": "Sau khi ẩn, tab này sẽ không còn xuất hiện trong thanh tab. Để hiển thị lại, bạn cần vào trang quản lý tuyến để thiết lập.",
|
|
81
77
|
"After successful bulk update": "Sau khi cập nhật hàng loạt thành công",
|
|
82
78
|
"After successful request": "Sau khi yêu cầu thành công",
|
|
@@ -122,6 +118,7 @@
|
|
|
122
118
|
"Any": "Any",
|
|
123
119
|
"App error": "Lỗi ứng dụng",
|
|
124
120
|
"Application reloading": "Đang tải lại ứng dụng",
|
|
121
|
+
"Architecture": "Kiến trúc",
|
|
125
122
|
"Are you sure to delete this plugin?": "Bạn có chắc chắn muốn xóa plugin này?",
|
|
126
123
|
"Are you sure to disable this plugin?": "Bạn có chắc chắn muốn vô hiệu hóa plugin này?",
|
|
127
124
|
"Are you sure you don't want to save?": "Bạn có chắc chắn không muốn lưu?",
|
|
@@ -130,7 +127,6 @@
|
|
|
130
127
|
"Are you sure you want to delete this variable?": "Are you sure you want to delete this variable?",
|
|
131
128
|
"Are you sure you want to disassociate it?": "Bạn có chắc chắn muốn hủy liên kết nó?",
|
|
132
129
|
"Are you sure you want to hide these routes in menu?": "Bạn có chắc chắn muốn ẩn các tuyến này trong menu?",
|
|
133
|
-
"Are you sure you want to hide this menu?": "Bạn có chắc chắn muốn ẩn menu này?",
|
|
134
130
|
"Are you sure you want to hide this tab?": "Bạn có chắc chắn muốn ẩn tab này?",
|
|
135
131
|
"Are you sure you want to load {{count}} collection(s)?": "Are you sure you want to load {{count}} collection(s)?",
|
|
136
132
|
"Are you sure you want to perform the Custom request action": "Bạn có chắc chắn muốn thực hiện hành động Yêu cầu tùy chỉnh",
|
|
@@ -1547,4 +1543,4 @@
|
|
|
1547
1543
|
"≠": "≠",
|
|
1548
1544
|
"≤": "≤",
|
|
1549
1545
|
"≥": "≥"
|
|
1550
|
-
}
|
|
1546
|
+
}
|
package/lib/locale/zh-CN.json
CHANGED
|
@@ -4,9 +4,6 @@
|
|
|
4
4
|
"(currently not effective in sub-forms/sub-tables)": "(该字段作为子表单/子表格不生效)",
|
|
5
5
|
"12 hour": "12 小时制",
|
|
6
6
|
"24 hour": "24 小时制",
|
|
7
|
-
"<": "<",
|
|
8
|
-
"=": "=",
|
|
9
|
-
">": ">",
|
|
10
7
|
"ACL": "访问控制",
|
|
11
8
|
"ASC": "升序",
|
|
12
9
|
"Access": "访问",
|
|
@@ -85,7 +82,6 @@
|
|
|
85
82
|
"After change": "变更后",
|
|
86
83
|
"After clicking the custom button, the following field values will be assigned according to the following form.": "点击当前自定义按钮时,以下字段值将按照以下表单赋值。",
|
|
87
84
|
"After clicking the custom button, the following fields of the current record will be saved according to the following form.": "点击当前自定义按钮时,当前数据以下字段将按照以下表单保存。",
|
|
88
|
-
"After hiding, this menu will no longer appear in the menu bar. To show it again, you need to go to the route management page to configure it.": "隐藏后,这个菜单将不再出现在菜单栏中。要再次显示它,你需要到路由管理页面进行设置。",
|
|
89
85
|
"After hiding, this tab will no longer appear in the tab bar. To show it again, you need to go to the route management page to set it.": "隐藏后,该标签将不再显示在标签栏中。要想再次显示它,你需要到路由管理页面进行设置。",
|
|
90
86
|
"After successful bulk update": "批量成功更新后",
|
|
91
87
|
"After successful request": "请求成功之后",
|
|
@@ -94,6 +90,7 @@
|
|
|
94
90
|
"After successful submission, the selected data blocks will be automatically refreshed.": "提交成功后,会自动刷新这里选中的数据区块。",
|
|
95
91
|
"After successful update": "更新成功后",
|
|
96
92
|
"Agenda": "列表",
|
|
93
|
+
"Album": "相册",
|
|
97
94
|
"All": "所有",
|
|
98
95
|
"All collections": "全部数据表",
|
|
99
96
|
"All collections use general action permissions by default; permission configured individually will override the default one.": "所有数据表都默认使用通用数据操作权限;同时,可以针对每个数据表单独配置权限。",
|
|
@@ -131,6 +128,7 @@
|
|
|
131
128
|
"Any": "任意",
|
|
132
129
|
"App error": "应用错误",
|
|
133
130
|
"Application reloading": "应用重新加载中",
|
|
131
|
+
"Architecture": "架构",
|
|
134
132
|
"Are you sure to delete this plugin?": "确定要删除此插件吗?",
|
|
135
133
|
"Are you sure to disable this plugin?": "确定要禁用此插件吗?",
|
|
136
134
|
"Are you sure you don't want to save?": "你确定不保存修改吗?",
|
|
@@ -139,7 +137,6 @@
|
|
|
139
137
|
"Are you sure you want to delete this variable?": "你确定要删除这个变量吗?",
|
|
140
138
|
"Are you sure you want to disassociate it?": "你确定要解除关联吗?",
|
|
141
139
|
"Are you sure you want to hide these routes in menu?": "你确定要在菜单中隐藏这些路由吗?",
|
|
142
|
-
"Are you sure you want to hide this menu?": "你确定要隐藏这个菜单吗?",
|
|
143
140
|
"Are you sure you want to hide this tab?": "你确定要隐藏该标签页吗?",
|
|
144
141
|
"Are you sure you want to load {{count}} collection(s)?": "你确定要加载 {{count}} 个数据表吗?",
|
|
145
142
|
"Are you sure you want to perform the Custom request action": "你确定执行自定义请求操作吗?",
|
|
@@ -205,6 +202,7 @@
|
|
|
205
202
|
"Block template": "区块模板",
|
|
206
203
|
"Block templates": "区块模板",
|
|
207
204
|
"Block title": "区块标题",
|
|
205
|
+
"Menu linkage rules": "菜单联动规则",
|
|
208
206
|
"Block type": "区块类型",
|
|
209
207
|
"Blocks": "区块",
|
|
210
208
|
"Blue": "拂晓蓝",
|
|
@@ -265,6 +263,7 @@
|
|
|
265
263
|
"Clicked row record": "被点击的行记录",
|
|
266
264
|
"Close": "关闭",
|
|
267
265
|
"Close popup and redirect to": "关闭弹窗并跳转至",
|
|
266
|
+
"Code recognition failed, please scan again": "识别失败,请重新扫描",
|
|
268
267
|
"Collapse": "折叠面板",
|
|
269
268
|
"Collapse all": "全部收起",
|
|
270
269
|
"Collapse button": "折叠",
|
|
@@ -347,6 +346,7 @@
|
|
|
347
346
|
"Create gantt block": "创建甘特图区块",
|
|
348
347
|
"Create inverse field in the target collection": "在目标数据表里创建反向关系字段",
|
|
349
348
|
"Create kanban block": "创建看板区块",
|
|
349
|
+
"Create menu": "创建菜单",
|
|
350
350
|
"Create template": "创建模板",
|
|
351
351
|
"Created at": "创建日期",
|
|
352
352
|
"Created by": "创建人",
|
|
@@ -359,6 +359,7 @@
|
|
|
359
359
|
"Current form": "当前表单",
|
|
360
360
|
"Current object": "当前对象",
|
|
361
361
|
"Current item": "当前项",
|
|
362
|
+
"Current language": "当前语言",
|
|
362
363
|
"Current popup": "当前弹窗",
|
|
363
364
|
"Current popup parent record": "当前弹窗上级记录",
|
|
364
365
|
"Current popup record": "当前弹窗记录",
|
|
@@ -559,6 +560,7 @@
|
|
|
559
560
|
"Enable page header": "启用页眉",
|
|
560
561
|
"Enable page tabs": "启用页面选项卡",
|
|
561
562
|
"Enable quick edit": "启用快速编辑",
|
|
563
|
+
"Enable row selection": "启用行选择",
|
|
562
564
|
"Enable refresh": "启用刷新",
|
|
563
565
|
"Enable secondary confirmation": "启用二次确认",
|
|
564
566
|
"Enable tabs": "启用标签页",
|
|
@@ -669,6 +671,7 @@
|
|
|
669
671
|
"Form values": "表单值",
|
|
670
672
|
"Form values change": "表单值变更",
|
|
671
673
|
"Form variable": "表单变量",
|
|
674
|
+
"JS variable": "JS变量",
|
|
672
675
|
"Format": "格式",
|
|
673
676
|
"Formula": "Formula",
|
|
674
677
|
"Formula description": "Compute a value in each record based on other fields in the same record.",
|
|
@@ -716,6 +719,7 @@
|
|
|
716
719
|
"Html settings": "Html 设置项",
|
|
717
720
|
"IANA registry": "IANA注册表",
|
|
718
721
|
"ID": "ID",
|
|
722
|
+
"https://www.example.com": "https://www.example.com",
|
|
719
723
|
"Icon": "图标",
|
|
720
724
|
"Icon only": "仅显示图标",
|
|
721
725
|
"Identifier for program usage. Support letters, numbers and underscores, must start with an letter.": "用于程序使用的标识符,支持字母、数字和下划线,必须以字母开头。",
|
|
@@ -837,6 +841,7 @@
|
|
|
837
841
|
"Menu item icon": "菜单项图标",
|
|
838
842
|
"Menu item name": "菜单名称",
|
|
839
843
|
"Menu item title": "菜单项名称",
|
|
844
|
+
"Menu type": "菜单类型",
|
|
840
845
|
"Menu permissions": "菜单访问权限",
|
|
841
846
|
"Message content": "消息内容",
|
|
842
847
|
"Message popup close method": "消息弹窗关闭方式",
|
|
@@ -895,6 +900,7 @@
|
|
|
895
900
|
"No allow `-` and `:`": "不允许使用 `-` 和 `:`",
|
|
896
901
|
"No assigned fields configured": "未配置字段",
|
|
897
902
|
"No blocks to connect": "没有可连接的区块",
|
|
903
|
+
"No camera device detected": "未检测到摄像头设备",
|
|
898
904
|
"No configuration available.": "无可配置项。",
|
|
899
905
|
"No available data currently": "当前无可用数据",
|
|
900
906
|
"No data": "暂无数据",
|
|
@@ -947,6 +953,7 @@
|
|
|
947
953
|
"Only use `_`": "仅使用 `_`",
|
|
948
954
|
"Open in new window": "新窗口打开",
|
|
949
955
|
"Open in<1><0>Modal</0><1>Drawer</1><2>Window</2></1>": "在 <1><0>对话框</0><1>抽屉</1><2>窗口</2></1> 内打开",
|
|
956
|
+
"Open classic page access": "跳转到旧版页面",
|
|
950
957
|
"Open mode": "打开方式",
|
|
951
958
|
"Open mode configuration": "打开方式配置",
|
|
952
959
|
"Operate on existing data": "对已有数据操作",
|
|
@@ -986,6 +993,7 @@
|
|
|
986
993
|
"Page number": "页码",
|
|
987
994
|
"Page settings": "页面设置",
|
|
988
995
|
"Page size": "每页条数",
|
|
996
|
+
"This page requires the classic version to open properly. Do you want to go there now?": "需要跳转到旧版页面才能正常访问,是否现在跳转?",
|
|
989
997
|
"Parent": "父记录",
|
|
990
998
|
"Parent ID": "父记录ID",
|
|
991
999
|
"Parent collection fields": "父表字段",
|
|
@@ -1188,6 +1196,8 @@
|
|
|
1188
1196
|
"Saved successfully": "保存成功",
|
|
1189
1197
|
"Scale": "小数位数",
|
|
1190
1198
|
"Scale Down": "缩放",
|
|
1199
|
+
"Scan code": "扫码",
|
|
1200
|
+
"Scan input settings": "扫码录入设置",
|
|
1191
1201
|
"Scan to input": "扫码录入",
|
|
1192
1202
|
"Scheme": "协议",
|
|
1193
1203
|
"Scientifix notation": "科学计数法",
|
|
@@ -1244,6 +1254,7 @@
|
|
|
1244
1254
|
"Set block layout": "设置区块布局",
|
|
1245
1255
|
"Set block state": "设置区块状态",
|
|
1246
1256
|
"Set button state": "设置按钮状态",
|
|
1257
|
+
"Set menu item state": "设置菜单项状态",
|
|
1247
1258
|
"Set condition": "设置条件",
|
|
1248
1259
|
"Set data loading mode": "设置数据加载方式",
|
|
1249
1260
|
"Set data scope": "设置数据范围",
|
|
@@ -1385,6 +1396,8 @@
|
|
|
1385
1396
|
"The current user only has the UI configuration permission, but don't have \"{{actionName}}\" permission for collection \"{{name}}\"": "当前用户只有 UI 配置权限,但没有数据表 \"{{name}}\"的 \"{{actionName}}\"权限。",
|
|
1386
1397
|
"The current user only has the UI configuration permission, but don't have \"{{actionName}}\" permission for field \"{{name}}\"": "当前用户只有 UI 配置权限,但没有字段 \"{{name}}\"的 \"{{actionName}}\"权限。",
|
|
1387
1398
|
"The current user only has the UI configuration permission, but don't have view permission for collection \"{{name}}\"": "当前用户只有 UI 配置权限,但没有数据表 \"{{name}}\" 查看权限。",
|
|
1399
|
+
"The data source \"{{name}}\" used by this block is disabled or unavailable. Enable the data source to display this block.": "该区块使用的数据源“{{name}}”已禁用或不可用。启用该数据源后才能显示此区块。",
|
|
1400
|
+
"The data source used by this block is disabled or unavailable. Enable the data source to display this block.": "该区块使用的数据源已禁用或不可用。启用该数据源后才能显示此区块。",
|
|
1388
1401
|
"The deletion was successful.": "删除成功",
|
|
1389
1402
|
"The field has been deleted": "字段已删除",
|
|
1390
1403
|
"The field value cannot be greater than ": "数值不能大于",
|
|
@@ -1392,6 +1405,7 @@
|
|
|
1392
1405
|
"The field value is not a email format": "该字段不是合法的邮箱格式",
|
|
1393
1406
|
"The field value is not an integer number": "数字不是整数",
|
|
1394
1407
|
"The field value is required": "该字段是必填字段",
|
|
1408
|
+
"The image size is too large. Please compress it to below 10MB before uploading": "图片尺寸过大,请压缩到 10MB 以下上传",
|
|
1395
1409
|
"The following field types are not compatible and do not support output and display": "以下字段类型未适配,不支持输出和显示",
|
|
1396
1410
|
"The selected fields will automatically populate the form": "用于自动填充到表单",
|
|
1397
1411
|
"The title field is used to identify the template record": "用于识别模板数据",
|
|
@@ -1621,6 +1635,7 @@
|
|
|
1621
1635
|
"The current storage \"{{storageName}}\" does not support file uploads.": "当前存储 \"{{storageName}}\" 不支持上传文件。",
|
|
1622
1636
|
"Your browser does not support the video tag.": "您的浏览器不支持视频标签。",
|
|
1623
1637
|
"Your browser does not support the audio tag.": "您的浏览器不支持音频标签。",
|
|
1638
|
+
"You have not granted permission to use the camera": "您未授权使用摄像头",
|
|
1624
1639
|
"Edit add new popup": "编辑新增数据弹窗",
|
|
1625
1640
|
"Edit select record popup": "编辑选择数据弹窗",
|
|
1626
1641
|
"Subtable (Inline editing)": "子表格(行内编辑)",
|
|
@@ -1641,5 +1656,12 @@
|
|
|
1641
1656
|
"Edit popup (Select record)":"编辑弹窗(选择纪录)",
|
|
1642
1657
|
"Remove record":"移除记录",
|
|
1643
1658
|
"Block height":"区块高度",
|
|
1644
|
-
"Height": "高度"
|
|
1659
|
+
"Height": "高度",
|
|
1660
|
+
"Compatible": "兼容",
|
|
1661
|
+
"Current settings page is unavailable": "当前设置页不可用",
|
|
1662
|
+
"Failed to load plugins": "加载插件失败",
|
|
1663
|
+
"Failed to load system settings": "加载系统设置失败",
|
|
1664
|
+
"No settings pages are currently available in Client V2. Settings registered by migrated plugins will appear here automatically.": "当前 Client V2 中还没有可用的设置页。已迁移插件注册的设置页会自动出现在这里。",
|
|
1665
|
+
"No settings pages available": "暂无可用设置页",
|
|
1666
|
+
"The requested settings page does not exist or you do not have permission to access it.": "请求的设置页不存在,或者你没有访问权限。"
|
|
1645
1667
|
}
|
package/lib/locale/zh-TW.json
CHANGED
|
@@ -4,9 +4,6 @@
|
|
|
4
4
|
"(currently not effective in sub-forms/sub-tables)": "(currently not effective in sub-forms/sub-tables)",
|
|
5
5
|
"12 hour": "12 小時制",
|
|
6
6
|
"24 hour": "24 小時制",
|
|
7
|
-
"<": "<",
|
|
8
|
-
"=": "=",
|
|
9
|
-
">": ">",
|
|
10
7
|
"ACL": "訪問控制",
|
|
11
8
|
"ASC": "升冪",
|
|
12
9
|
"Access": "訪問",
|
|
@@ -76,7 +73,6 @@
|
|
|
76
73
|
"After change": "變更後",
|
|
77
74
|
"After clicking the custom button, the following field values will be assigned according to the following form.": "點選當前自定義按鈕時,以下欄位值將按照以下表單賦值。",
|
|
78
75
|
"After clicking the custom button, the following fields of the current record will be saved according to the following form.": "點選當前自定義按鈕時,當前資料以下欄位將按照以下表單儲存。",
|
|
79
|
-
"After hiding, this menu will no longer appear in the menu bar. To show it again, you need to go to the route management page to configure it.": "隱藏後,這個菜單將不再出現在菜單欄中。要再次顯示它,你需要到路由管理頁面進行設置。",
|
|
80
76
|
"After hiding, this tab will no longer appear in the tab bar. To show it again, you need to go to the route management page to set it.": "隱藏後,這個標籤將不再出現在標籤欄中。要再次顯示它,你需要到路由管理頁面進行設置。",
|
|
81
77
|
"After successful bulk update": "批次成功更新後",
|
|
82
78
|
"After successful request": "請求成功之後",
|
|
@@ -122,6 +118,7 @@
|
|
|
122
118
|
"Any": "Any",
|
|
123
119
|
"App error": "App 錯誤",
|
|
124
120
|
"Application reloading": "App 重新載入中",
|
|
121
|
+
"Architecture": "架構",
|
|
125
122
|
"Are you sure to delete this plugin?": "確定要刪除此插件嗎?",
|
|
126
123
|
"Are you sure to disable this plugin?": "Are you sure to disable this plugin?",
|
|
127
124
|
"Are you sure you don't want to save?": "你確定不儲存嗎?",
|
|
@@ -130,7 +127,6 @@
|
|
|
130
127
|
"Are you sure you want to delete this variable?": "Are you sure you want to delete this variable?",
|
|
131
128
|
"Are you sure you want to disassociate it?": "你確定要解除關聯嗎?",
|
|
132
129
|
"Are you sure you want to hide these routes in menu?": "你確定要在菜單中隱藏這些路由嗎?",
|
|
133
|
-
"Are you sure you want to hide this menu?": "你確定要隱藏這個菜單嗎?",
|
|
134
130
|
"Are you sure you want to hide this tab?": "你確定要隱藏這個標籤嗎?",
|
|
135
131
|
"Are you sure you want to load {{count}} collection(s)?": "Are you sure you want to load {{count}} collection(s)?",
|
|
136
132
|
"Are you sure you want to perform the Custom request action": "Are you sure you want to perform the Custom request action",
|
|
@@ -1561,4 +1557,4 @@
|
|
|
1561
1557
|
"≠": "≠",
|
|
1562
1558
|
"≤": "≤",
|
|
1563
1559
|
"≥": "≥"
|
|
1564
|
-
}
|
|
1560
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nocobase/client",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.2.0-alpha.1",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"module": "es/index.mjs",
|
|
@@ -28,10 +28,11 @@
|
|
|
28
28
|
"@formily/reactive-react": "^2.2.27",
|
|
29
29
|
"@formily/shared": "^2.2.27",
|
|
30
30
|
"@formily/validator": "^2.2.27",
|
|
31
|
-
"@nocobase/
|
|
32
|
-
"@nocobase/
|
|
33
|
-
"@nocobase/
|
|
34
|
-
"@nocobase/
|
|
31
|
+
"@nocobase/client-v2": "2.2.0-alpha.1",
|
|
32
|
+
"@nocobase/evaluators": "2.2.0-alpha.1",
|
|
33
|
+
"@nocobase/flow-engine": "2.2.0-alpha.1",
|
|
34
|
+
"@nocobase/sdk": "2.2.0-alpha.1",
|
|
35
|
+
"@nocobase/utils": "2.2.0-alpha.1",
|
|
35
36
|
"@tanstack/react-table": "^8.21.3",
|
|
36
37
|
"@types/tabulator-tables": "^6.2.6",
|
|
37
38
|
"acorn-jsx": "^5.3.2",
|
|
@@ -54,8 +55,8 @@
|
|
|
54
55
|
"ignore": "^5.2.0",
|
|
55
56
|
"json5": "^2.2.3",
|
|
56
57
|
"liquidjs": "^10.0.0",
|
|
57
|
-
"lodash": "4.17.21",
|
|
58
|
-
"lru-cache": "
|
|
58
|
+
"lodash": "^4.17.21",
|
|
59
|
+
"lru-cache": "^11.3.5",
|
|
59
60
|
"markdown-it": "14.1.0",
|
|
60
61
|
"markdown-it-highlightjs": "3.3.1",
|
|
61
62
|
"mathjs": "^15.1.0",
|
|
@@ -96,5 +97,5 @@
|
|
|
96
97
|
"dumi": "2.2.14",
|
|
97
98
|
"dumi-theme-nocobase": "^0.2.32"
|
|
98
99
|
},
|
|
99
|
-
"gitHead": "
|
|
100
|
+
"gitHead": "303663aba6c6eefa27e6a6435b4c0352074ec40f"
|
|
100
101
|
}
|
package/es/ai/ai-manager.d.ts
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file is part of the NocoBase (R) project.
|
|
3
|
-
* Copyright (c) 2020-2024 NocoBase Co., Ltd.
|
|
4
|
-
* Authors: NocoBase Team.
|
|
5
|
-
*
|
|
6
|
-
* This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
|
|
7
|
-
* For more information, please refer to: https://www.nocobase.com/agreement.
|
|
8
|
-
*/
|
|
9
|
-
import { Application } from '../application';
|
|
10
|
-
import { ToolsManager } from './tools-manager';
|
|
11
|
-
export declare class AIManager {
|
|
12
|
-
protected readonly app: Application;
|
|
13
|
-
toolsManager: ToolsManager;
|
|
14
|
-
constructor(app: Application);
|
|
15
|
-
}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file is part of the NocoBase (R) project.
|
|
3
|
-
* Copyright (c) 2020-2024 NocoBase Co., Ltd.
|
|
4
|
-
* Authors: NocoBase Team.
|
|
5
|
-
*
|
|
6
|
-
* This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
|
|
7
|
-
* For more information, please refer to: https://www.nocobase.com/agreement.
|
|
8
|
-
*/
|
|
9
|
-
import React from 'react';
|
|
10
|
-
import { ToolsEntry } from '../types';
|
|
11
|
-
export interface ToolsContextValue {
|
|
12
|
-
tools: ToolsEntry[];
|
|
13
|
-
loading: boolean;
|
|
14
|
-
error: Error | null;
|
|
15
|
-
refresh: () => Promise<void>;
|
|
16
|
-
}
|
|
17
|
-
export declare const ToolsContext: React.Context<ToolsContextValue>;
|
|
@@ -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 declare const useTools: () => import("./context").ToolsContextValue;
|
|
10
|
-
export * from './context';
|
|
11
|
-
export * from './provider';
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file is part of the NocoBase (R) project.
|
|
3
|
-
* Copyright (c) 2020-2024 NocoBase Co., Ltd.
|
|
4
|
-
* Authors: NocoBase Team.
|
|
5
|
-
*
|
|
6
|
-
* This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
|
|
7
|
-
* For more information, please refer to: https://www.nocobase.com/agreement.
|
|
8
|
-
*/
|
|
9
|
-
import { Registry } from '@nocobase/utils/client';
|
|
10
|
-
import { FrontendTools, ToolsEntry, ToolsFilter, ToolsManager, ToolsOptions } from './types';
|
|
11
|
-
import { Application } from '../../application';
|
|
12
|
-
export declare class DefaultToolsManager implements ToolsManager {
|
|
13
|
-
protected readonly app: Application;
|
|
14
|
-
private readonly tools;
|
|
15
|
-
constructor(app: Application, tools?: any);
|
|
16
|
-
listTools(filter?: ToolsFilter): Promise<ToolsEntry[]>;
|
|
17
|
-
useTools(): Registry<FrontendTools>;
|
|
18
|
-
registerTools(name: string, options: ToolsOptions): void;
|
|
19
|
-
}
|
|
20
|
-
export * from './types';
|
|
@@ -1,80 +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 { ComponentType } from 'react';
|
|
10
|
-
import type { Application } from '../../application';
|
|
11
|
-
import { Registry } from '@nocobase/utils/client';
|
|
12
|
-
export interface ToolsManager extends ToolsRegistration {
|
|
13
|
-
listTools(filter?: ToolsFilter): Promise<ToolsEntry[]>;
|
|
14
|
-
useTools(): Registry<FrontendTools>;
|
|
15
|
-
}
|
|
16
|
-
export interface ToolsRegistration {
|
|
17
|
-
registerTools(name: string, options: ToolsOptions): void;
|
|
18
|
-
}
|
|
19
|
-
export type ToolsOptions = {
|
|
20
|
-
ui?: {
|
|
21
|
-
card?: ComponentType<ToolsUIProperties>;
|
|
22
|
-
modal?: {
|
|
23
|
-
title?: string;
|
|
24
|
-
okText?: string;
|
|
25
|
-
useOnOk?: (decisions: ToolsUIProperties['decisions'], adjustArgs: Record<string, any>) => {
|
|
26
|
-
onOk: () => void | Promise<void>;
|
|
27
|
-
};
|
|
28
|
-
Component?: ComponentType<{
|
|
29
|
-
tool: ToolCall;
|
|
30
|
-
saveToolArgs?: (args: unknown) => Promise<void>;
|
|
31
|
-
}>;
|
|
32
|
-
};
|
|
33
|
-
};
|
|
34
|
-
invoke?: (ctx: Application, params: any) => any | Promise<any>;
|
|
35
|
-
useHooks?: () => ToolsOptions;
|
|
36
|
-
};
|
|
37
|
-
export type ToolCall<T = unknown> = {
|
|
38
|
-
id: string;
|
|
39
|
-
type: string;
|
|
40
|
-
name: string;
|
|
41
|
-
status?: 'success' | 'error';
|
|
42
|
-
invokeStatus: 'init' | 'interrupted' | 'waiting' | 'pending' | 'done' | 'confirmed';
|
|
43
|
-
auto: boolean;
|
|
44
|
-
args: T;
|
|
45
|
-
[key: string]: any;
|
|
46
|
-
};
|
|
47
|
-
export type FrontendTools = ToolsOptions;
|
|
48
|
-
export type BackendTools = {
|
|
49
|
-
scope: Scope;
|
|
50
|
-
defaultPermission?: Permission;
|
|
51
|
-
silence?: boolean;
|
|
52
|
-
introduction?: {
|
|
53
|
-
title: string;
|
|
54
|
-
about: string;
|
|
55
|
-
};
|
|
56
|
-
definition: {
|
|
57
|
-
name: string;
|
|
58
|
-
description: string;
|
|
59
|
-
schema?: any;
|
|
60
|
-
};
|
|
61
|
-
};
|
|
62
|
-
export type ToolsEntry = BackendTools & FrontendTools;
|
|
63
|
-
export type ToolsUIProperties<ToolCallArgs = unknown> = {
|
|
64
|
-
messageId: string;
|
|
65
|
-
tools: ToolsEntry;
|
|
66
|
-
toolCall: ToolCall<ToolCallArgs>;
|
|
67
|
-
decisions: DecisionActions;
|
|
68
|
-
};
|
|
69
|
-
export type DecisionActions = {
|
|
70
|
-
approve: () => Promise<void>;
|
|
71
|
-
edit: (args: any) => Promise<void>;
|
|
72
|
-
reject: (message: string) => Promise<void>;
|
|
73
|
-
};
|
|
74
|
-
export type ToolsFilter = {
|
|
75
|
-
scope?: Scope;
|
|
76
|
-
defaultPermission?: Permission;
|
|
77
|
-
silence?: boolean;
|
|
78
|
-
};
|
|
79
|
-
export type Scope = 'SPECIFIED' | 'GENERAL' | 'CUSTOM';
|
|
80
|
-
export type Permission = 'ASK' | 'ALLOW';
|
package/es/ai/utils.d.ts
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file is part of the NocoBase (R) project.
|
|
3
|
-
* Copyright (c) 2020-2024 NocoBase Co., Ltd.
|
|
4
|
-
* Authors: NocoBase Team.
|
|
5
|
-
*
|
|
6
|
-
* This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
|
|
7
|
-
* For more information, please refer to: https://www.nocobase.com/agreement.
|
|
8
|
-
*/
|
|
9
|
-
import { ToolsEntry } from './tools-manager';
|
|
10
|
-
export declare const toToolsMap: (tools: ToolsEntry[]) => Map<string, ToolsEntry>;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file is part of the NocoBase (R) project.
|
|
3
|
-
* Copyright (c) 2020-2024 NocoBase Co., Ltd.
|
|
4
|
-
* Authors: NocoBase Team.
|
|
5
|
-
*
|
|
6
|
-
* This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
|
|
7
|
-
* For more information, please refer to: https://www.nocobase.com/agreement.
|
|
8
|
-
*/
|
|
9
|
-
import { FC } from 'react';
|
|
10
|
-
import type { Application } from '../Application';
|
|
11
|
-
export interface AppComponentProps {
|
|
12
|
-
app: Application;
|
|
13
|
-
}
|
|
14
|
-
export declare const AppComponent: FC<AppComponentProps>;
|
|
@@ -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 React from 'react';
|
|
10
|
-
export declare const defaultAppComponents: {
|
|
11
|
-
AppMain: React.NamedExoticComponent<object>;
|
|
12
|
-
AppSpin: React.FC;
|
|
13
|
-
AppError: React.FC<{
|
|
14
|
-
error: Error & {
|
|
15
|
-
title?: string;
|
|
16
|
-
};
|
|
17
|
-
}>;
|
|
18
|
-
AppNotFound: React.FC;
|
|
19
|
-
};
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
export function getOperators(): {
|
|
2
|
-
is_logic(logic: any): boolean;
|
|
3
|
-
truthy(value: any): boolean;
|
|
4
|
-
getOperator(logic: any): string;
|
|
5
|
-
getValues(logic: any): any;
|
|
6
|
-
apply(logic: any, data: any): any;
|
|
7
|
-
uses_data(logic: any): any[];
|
|
8
|
-
addOperation(name: any, code: any): void;
|
|
9
|
-
rmOperation(name: any): void;
|
|
10
|
-
rule_like(rule: any, pattern: any): any;
|
|
11
|
-
};
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file is part of the NocoBase (R) project.
|
|
3
|
-
* Copyright (c) 2020-2024 NocoBase Co., Ltd.
|
|
4
|
-
* Authors: NocoBase Team.
|
|
5
|
-
*
|
|
6
|
-
* This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
|
|
7
|
-
* For more information, please refer to: https://www.nocobase.com/agreement.
|
|
8
|
-
*/
|
|
9
|
-
import { FlowModel, IFlowModelRepository } from '@nocobase/flow-engine';
|
|
10
|
-
import { Application } from '../application';
|
|
11
|
-
export declare class MockFlowModelRepository implements IFlowModelRepository<FlowModel> {
|
|
12
|
-
protected prefix: string;
|
|
13
|
-
constructor(prefix?: string);
|
|
14
|
-
get models(): Map<any, any>;
|
|
15
|
-
findOne(query: any): Promise<any>;
|
|
16
|
-
loadByParentId(parentId: string): Promise<any>;
|
|
17
|
-
load(uid: string): Promise<any>;
|
|
18
|
-
save(model: FlowModel): Promise<Record<string, any>>;
|
|
19
|
-
destroy(uid: string): Promise<boolean>;
|
|
20
|
-
clear(): Promise<boolean>;
|
|
21
|
-
move(sourceId: string, targetId: string, position?: 'before' | 'after'): Promise<void>;
|
|
22
|
-
duplicate(uid: string): Promise<any>;
|
|
23
|
-
}
|
|
24
|
-
export declare class FlowModelRepository implements IFlowModelRepository<FlowModel> {
|
|
25
|
-
private app;
|
|
26
|
-
constructor(app: Application);
|
|
27
|
-
private inFlightFindOne;
|
|
28
|
-
private buildFindOneKey;
|
|
29
|
-
findOne(query: any): Promise<any>;
|
|
30
|
-
save(model: FlowModel, options?: {
|
|
31
|
-
onlyStepParams?: boolean;
|
|
32
|
-
}): Promise<any>;
|
|
33
|
-
destroy(uid: string): Promise<boolean>;
|
|
34
|
-
move(sourceId: string, targetId: string, position?: 'before' | 'after'): Promise<any>;
|
|
35
|
-
duplicate(uid: string): Promise<any>;
|
|
36
|
-
}
|