@ximatai/muyun-web-app 0.26.15 → 0.26.17
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/dist/BusinessActivityLogView-9RrW-RKb.js +18 -0
- package/dist/BusinessLogListDrawer-DYVx9tiQ.js +864 -0
- package/dist/ConfigurationTranslationView-Bh_ekuMP.js +197 -0
- package/dist/LoginAuditLogView-DG6iBXEn.js +18 -0
- package/dist/ModuleActionManagementView-DgHqhoMN.js +755 -0
- package/dist/{ModuleGovernanceView-LkWCtops.js → ModuleGovernanceView-C53RnUzc.js} +6903 -6493
- package/dist/RequestErrorLogView-Ba5p0hLE.js +18 -0
- package/dist/RoleDetailWorkspaceView-C3TBqksY.js +1435 -0
- package/dist/RuntimeLogView-BFEABm8G.js +316 -0
- package/dist/WorkflowAdministrationView-BOHG2e-I.js +650 -0
- package/dist/WorkflowConfigurationView-A0m5tBX9.js +1097 -0
- package/dist/WorkflowWorkbenchView-DGpNDt5V.js +759 -0
- package/dist/es-BST-ixpj.js +22621 -0
- package/dist/index.css +1 -1
- package/dist/index.js +874 -741
- package/dist/moduleGovernanceWorkspaceView-DNKzYX0x.js +667 -0
- package/dist/platform-components-BBfyINHa.js +29912 -0
- package/dist/{platform-workbench-C-kE-Yqq.js → platform-workbench-C1hmkOUD.js} +7960 -7561
- package/dist/rolldown-runtime-BAC7EHh5.js +20 -0
- package/dist/types/app/ChangeOwnPasswordDialog.vue.d.ts +1 -1
- package/dist/types/app/CurrentUserProfileDialog.vue.d.ts +2 -2
- package/dist/types/app/ThemeSkinPreferencesDialog.vue.d.ts +3 -0
- package/dist/types/app/businessNotificationNavigation.d.ts +4 -0
- package/dist/types/app/menuRouteCompiler.d.ts +3 -0
- package/dist/types/app/platformMessage.d.ts +3 -6
- package/dist/types/app/themeSkinPreference.d.ts +3 -2
- package/dist/types/app/useAssistantAvailability.d.ts +8 -0
- package/dist/types/app/useCurrentUserProfile.d.ts +12 -0
- package/dist/types/app/workbenchRouteSync.d.ts +2 -0
- package/dist/types/app/workbenchStartup.d.ts +8 -4
- package/dist/types/consumer/AppWorkbenchShell.vue.d.ts +5 -3
- package/dist/types/consumer/index.d.ts +3 -1
- package/dist/types/dynamic-page-runtime/ManagedDetailRelationInlineSurface.vue.d.ts +1 -1
- package/dist/types/dynamic-page-runtime/ManagedDetailRelationSurface.vue.d.ts +1 -1
- package/dist/types/dynamic-page-runtime/ModulePageBusinessSession.d.ts +54 -1310
- package/dist/types/dynamic-page-runtime/ModulePageDetailRelations.vue.d.ts +1 -1
- package/dist/types/dynamic-page-runtime/ModulePageHostRuntime.vue.d.ts +611 -1712
- package/dist/types/dynamic-page-runtime/ModulePageListRelationExpansion.vue.d.ts +1 -1
- package/dist/types/dynamic-page-runtime/ModulePageRecordContent.vue.d.ts +15 -1
- package/dist/types/dynamic-page-runtime/ModuleRecordDetailActions.vue.d.ts +1 -1
- package/dist/types/dynamic-page-runtime/NavigatorManagementEditor.vue.d.ts +1 -1
- package/dist/types/dynamic-page-runtime/NavigatorPanelActions.vue.d.ts +1 -1
- package/dist/types/dynamic-page-runtime/TenantScopeExplorer.vue.d.ts +1 -1
- package/dist/types/dynamic-page-runtime/assistantQueryCapabilities.d.ts +1 -0
- package/dist/types/dynamic-page-runtime/composables/useManagedDetailRelationRuntime.d.ts +2 -2
- package/dist/types/dynamic-page-runtime/composables/useModulePageBootstrap.d.ts +4 -3
- package/dist/types/dynamic-page-runtime/composables/useNavigatorRuntime.d.ts +11 -1303
- package/dist/types/dynamic-page-runtime/formActionResult.d.ts +2 -1
- package/dist/types/dynamic-page-runtime/formValidationCoordinator.d.ts +1 -1
- package/dist/types/dynamic-page-runtime/modulePageEnhancements.d.ts +13 -4
- package/dist/types/dynamic-page-runtime/modulePageUnsavedState.d.ts +3 -10
- package/dist/types/dynamic-page-runtime/pageActionInvocation.d.ts +2 -1
- package/dist/types/dynamic-page-runtime/pageActionPlacement.d.ts +2 -1
- package/dist/types/dynamic-page-runtime/pageNavigatorItemModel.d.ts +2 -1
- package/dist/types/dynamic-page-runtime/recordCreationReadiness.d.ts +2 -1
- package/dist/types/dynamic-page-runtime/recordDisplayProjection.d.ts +7 -3
- package/dist/types/dynamic-page-runtime/recordFormAssistantCapabilities.d.ts +5 -4
- package/dist/types/dynamic-page-runtime/recordFormDraftAccess.d.ts +3 -0
- package/dist/types/dynamic-page-runtime/recordMutationPayload.d.ts +1 -1
- package/dist/types/dynamic-page-runtime/recordReferenceDisplay.d.ts +1 -1
- package/dist/types/dynamic-page-runtime/recordSaveRecovery.d.ts +2 -1
- package/dist/types/dynamic-page-runtime/relationDraftAssistantCapabilities.d.ts +2 -2
- package/dist/types/dynamic-page-runtime/useModulePageSession.d.ts +39 -1307
- package/dist/types/dynamic-page-runtime/useModuleRecordDataChanges.d.ts +17 -0
- package/dist/types/main.d.ts +0 -1
- package/dist/types/platform-admin-runtime/backendHttp.d.ts +2 -1
- package/dist/types/platform-admin-runtime/index.d.ts +3 -1
- package/dist/types/platform-admin-runtime/module-menu/moduleMenuClient.d.ts +4 -4
- package/dist/types/platform-admin-runtime/module-menu/moduleMenuReceiptStore.d.ts +2 -1
- package/dist/types/platform-admin-runtime/module-menu/moduleMenuSession.d.ts +11 -7
- package/dist/types/platform-admin-runtime/module-menu/moduleMenuWorkspace.d.ts +16 -7
- package/dist/types/platform-admin-runtime/moduleOpenApi.d.ts +4 -3
- package/dist/types/platform-admin-runtime/pageRealtime.d.ts +0 -1
- package/dist/types/platform-admin-runtime/realtime.d.ts +0 -3
- package/dist/types/platform-admin-runtime/role/roleScopeSelectionClient.d.ts +4 -1
- package/dist/types/platform-admin-runtime/sessionRecovery.d.ts +3 -1
- package/dist/types/platform-admin-runtime/user/useUserSessionRows.d.ts +2 -0
- package/dist/types/platform-admin-runtime/user/userOnlineStatusStore.d.ts +1 -5
- package/dist/types/platform-components/BusinessContentGenerationPanel.vue.d.ts +22 -0
- package/dist/types/platform-components/BusinessContentQueryNotice.vue.d.ts +17 -0
- package/dist/types/platform-components/BusinessNotificationPanel.vue.d.ts +34 -1
- package/dist/types/platform-components/CrudRecordListExplorer.vue.d.ts +6 -6
- package/dist/types/platform-components/DateTimeText.vue.d.ts +1 -1
- package/dist/types/platform-components/DetailRelationListPanel.vue.d.ts +1 -1
- package/dist/types/platform-components/DictionaryOptionDialog.vue.d.ts +4 -4
- package/dist/types/platform-components/DictionaryOptionDialogChoiceList.vue.d.ts +1 -1
- package/dist/types/platform-components/DictionaryPicker.vue.d.ts +6 -6
- package/dist/types/platform-components/FileSizeText.vue.d.ts +1 -1
- package/dist/types/platform-components/FileTransferUploader.vue.d.ts +1 -1
- package/dist/types/platform-components/FormulaExpressionEditor.vue.d.ts +7 -7
- package/dist/types/platform-components/ModuleActionButton.vue.d.ts +2 -2
- package/dist/types/platform-components/ObjectPickerInput.vue.d.ts +2 -2
- package/dist/types/platform-components/QueryCriteriaComposer.vue.d.ts +1 -1
- package/dist/types/platform-components/QueryCriteriaGroupEditor.vue.d.ts +3 -3
- package/dist/types/platform-components/QueryValueEditor.vue.d.ts +1 -1
- package/dist/types/platform-components/RecordActionBar.vue.d.ts +1 -1
- package/dist/types/platform-components/RecordContentSourceField.vue.d.ts +22 -0
- package/dist/types/platform-components/RecordContentTranslationField.vue.d.ts +26 -0
- package/dist/types/platform-components/RecordDataExchangeSurface.vue.d.ts +26 -0
- package/dist/types/platform-components/RecordDetailDrawer.vue.d.ts +2 -2
- package/dist/types/platform-components/RecordDetailFields.vue.d.ts +4 -3
- package/dist/types/platform-components/RecordExpandedSubtable.vue.d.ts +2 -2
- package/dist/types/platform-components/RecordFileReferenceTransfer.vue.d.ts +1 -1
- package/dist/types/platform-components/RecordFormFields.vue.d.ts +5 -4
- package/dist/types/platform-components/RecordImageFileReferencePreview.vue.d.ts +1 -1
- package/dist/types/platform-components/RecordListExplorer.vue.d.ts +1 -1
- package/dist/types/platform-components/RecordModeDrawer.vue.d.ts +4 -4
- package/dist/types/platform-components/RecordMultiPicker.vue.d.ts +1 -1
- package/dist/types/platform-components/RecordPanelButton.vue.d.ts +1 -1
- package/dist/types/platform-components/RecordPermissionDialog.vue.d.ts +1 -1
- package/dist/types/platform-components/RecordPicker.vue.d.ts +1 -1
- package/dist/types/platform-components/RecordQueryListCell.vue.d.ts +1 -0
- package/dist/types/platform-components/RecordQueryListPanel.vue.d.ts +7 -7
- package/dist/types/platform-components/RecordQueryListSurface.vue.d.ts +3 -3
- package/dist/types/{dynamic-page-runtime/ModuleDataExchangeSurface.vue.d.ts → platform-components/RecordQuerySortSelector.vue.d.ts} +5 -9
- package/dist/types/platform-components/RecordRelationValue.vue.d.ts +2 -0
- package/dist/types/platform-components/ReferencePicker.vue.d.ts +3 -3
- package/dist/types/platform-components/ReferenceRecordDetailBrowser.vue.d.ts +1 -1
- package/dist/types/platform-components/ScopedTreePicker.vue.d.ts +1 -1
- package/dist/types/platform-components/SingleImageFileReferenceField.vue.d.ts +1 -1
- package/dist/types/platform-components/StaticManagementLayout.vue.d.ts +7 -2
- package/dist/types/platform-components/TreeRecordExplorer.vue.d.ts +5 -5
- package/dist/types/platform-components/UserPicker.vue.d.ts +2 -2
- package/dist/types/platform-components/UserSessionExpandedSubtable.vue.d.ts +1 -1
- package/dist/types/platform-components/WorkflowBusinessTaskEditor.vue.d.ts +36 -0
- package/dist/types/platform-components/WorkflowDesignProperties.vue.d.ts +40 -0
- package/dist/types/platform-components/WorkflowDiagram.vue.d.ts +24 -0
- package/dist/types/platform-components/WorkflowParticipantEditor.vue.d.ts +18 -0
- package/dist/types/platform-components/WorkflowRecordPanel.vue.d.ts +32 -0
- package/dist/types/platform-components/WorkflowTimeline.vue.d.ts +23 -0
- package/dist/types/platform-components/crudRecordListModel.d.ts +3 -1
- package/dist/types/platform-components/fileTransferUpload.d.ts +10 -0
- package/dist/types/platform-components/index.d.ts +9 -2
- package/dist/types/platform-components/loadExplorerRecords.d.ts +3 -0
- package/dist/types/platform-components/optionFieldOptions.d.ts +7 -2
- package/dist/types/platform-components/platformDateTime.d.ts +2 -0
- package/dist/types/platform-components/platformErrorFeedback.d.ts +2 -1
- package/dist/types/platform-components/readonlyReferenceDisplay.d.ts +10 -2
- package/dist/types/platform-components/recordActionBarModel.d.ts +4 -1
- package/dist/types/platform-components/recordDetailFieldModel.d.ts +4 -0
- package/dist/types/platform-components/recordFormFieldModel.d.ts +5 -3
- package/dist/types/platform-components/recordPickerConstraints.d.ts +4 -1
- package/dist/types/platform-components/recordQueryListColumnModel.d.ts +5 -1
- package/dist/types/platform-components/recordQueryListQueryController.d.ts +2 -0
- package/dist/types/platform-components/recordSurfaceActivity.d.ts +3 -0
- package/dist/types/platform-components/recycleBinState.d.ts +4 -2
- package/dist/types/platform-components/referencePickerModel.d.ts +13 -1
- package/dist/types/platform-components/referencePickerReadError.d.ts +11 -3
- package/dist/types/platform-components/referenceRecordDetailBrowser.d.ts +2 -2
- package/dist/types/platform-components/scopedTreePickerModel.d.ts +4 -0
- package/dist/types/platform-components/softDeletedConflictHandler.d.ts +3 -1
- package/dist/types/platform-components/staticCrudManagementState.d.ts +9 -8
- package/dist/types/platform-components/treeRecordModel.d.ts +2 -1
- package/dist/types/platform-components/userSessionPresentation.d.ts +4 -3
- package/dist/types/platform-components/workflowAccountOptions.d.ts +4 -0
- package/dist/types/platform-components/workflowDesignEditing.d.ts +11 -0
- package/dist/types/platform-components/workflowDiagramModel.d.ts +41 -0
- package/dist/types/platform-components/workflowParticipantPolicy.d.ts +11 -0
- package/dist/types/platform-components/workflowPresentation.d.ts +11 -0
- package/dist/types/platform-workbench/LanguageSelector.vue.d.ts +6 -0
- package/dist/types/platform-workbench/Workbench.vue.d.ts +10 -5
- package/dist/types/platform-workbench/WorkbenchAssistantPanel.vue.d.ts +1 -1
- package/dist/types/platform-workbench/WorkbenchGlobalTools.vue.d.ts +16 -0
- package/dist/types/platform-workbench/WorkbenchLanguageSettings.vue.d.ts +11 -0
- package/dist/types/platform-workbench/WorkbenchMenu.vue.d.ts +1 -1
- package/dist/types/platform-workbench/WorkbenchPageTitle.vue.d.ts +10 -0
- package/dist/types/platform-workbench/assistantControlText.d.ts +19 -0
- package/dist/types/platform-workbench/configurationCollaboration.d.ts +2 -2
- package/dist/types/platform-workbench/constructionDelivery.d.ts +2 -2
- package/dist/types/platform-workbench/constructionFields.d.ts +2 -2
- package/dist/types/platform-workbench/constructionInitialization.d.ts +2 -2
- package/dist/types/platform-workbench/constructionPlanGuard.d.ts +2 -1
- package/dist/types/platform-workbench/constructionPlanSession.d.ts +12 -4
- package/dist/types/platform-workbench/constructionPresentation.d.ts +6 -0
- package/dist/types/platform-workbench/constructionReferenceDiscovery.d.ts +2 -2
- package/dist/types/platform-workbench/index.d.ts +2 -1
- package/dist/types/platform-workbench/menuGroupLayout.d.ts +5 -0
- package/dist/types/platform-workbench/menuNavigation.d.ts +7 -3
- package/dist/types/platform-workbench/menuTreeModel.d.ts +3 -3
- package/dist/types/platform-workbench/realtimeStatus.d.ts +2 -1
- package/dist/types/platform-workbench/useAssistantConversation.d.ts +106 -14
- package/dist/types/platform-workbench/useAssistantConversationArchive.d.ts +7 -14
- package/dist/types/platform-workbench/useLanguagePreferenceSelection.d.ts +7 -0
- package/dist/types/platform-workbench/useWorkspaceViewUnsavedState.d.ts +1 -5
- package/dist/types/platform-workbench/workbenchAssistantCapabilities.d.ts +3 -2
- package/dist/types/platform-workbench/workbenchNavigation.d.ts +1 -0
- package/dist/types/platform-workbench/workspaceViewContract.d.ts +4 -0
- package/dist/types/platform-workbench/workspaceViewDiscardGuard.d.ts +5 -0
- package/dist/types/platform-workbench/workspaceViewHost.d.ts +1 -1
- package/dist/types/platform-workbench/workspaceViewUnsavedState.d.ts +1 -1
- package/dist/types/platform-workbench/workspaceViews.d.ts +3 -2
- package/dist/types/views/ConfigurationTranslationView.vue.d.ts +3 -0
- package/dist/types/views/MetadataSourceTree.vue.d.ts +0 -2
- package/dist/types/views/PageCompositionDescriptorPreview.vue.d.ts +2 -2
- package/dist/types/views/PageQuerySummaryEditor.vue.d.ts +6 -6
- package/dist/types/views/RoleAuthorizationView.vue.d.ts +1 -1
- package/dist/types/views/WorkflowAdministrationView.vue.d.ts +3 -0
- package/dist/types/views/WorkflowConfigurationView.vue.d.ts +7 -0
- package/dist/types/views/WorkflowSelectionFields.vue.d.ts +28 -0
- package/dist/types/views/WorkflowWorkbenchView.vue.d.ts +3 -0
- package/dist/types/views/businessLogClient.d.ts +5 -2
- package/dist/types/views/businessRuleAssistantSurface.d.ts +3 -3
- package/dist/types/views/businessRuleEditor.d.ts +2 -1
- package/dist/types/views/businessRuleGovernance.d.ts +14 -4
- package/dist/types/views/businessRuleSession.d.ts +4 -3
- package/dist/types/views/businessRuleWorkspace.d.ts +6 -2
- package/dist/types/views/configurationEditorNavigation.d.ts +2 -1
- package/dist/types/views/configurationTranslationWorkspace.d.ts +69 -0
- package/dist/types/views/dictionaryRadioEligibility.d.ts +2 -1
- package/dist/types/views/metadataChangeSetSubmission.d.ts +4 -3
- package/dist/types/views/metadataEditorSession.d.ts +19 -9
- package/dist/types/views/metadataGovernanceEditor.d.ts +4 -0
- package/dist/types/views/metadataModelEditSession.d.ts +3 -2
- package/dist/types/views/metadataModelTree.d.ts +2 -1
- package/dist/types/views/metadataNaming.d.ts +5 -2
- package/dist/types/views/metadataOrchestrationState.d.ts +13 -9
- package/dist/types/views/metadataSourceTree.d.ts +3 -2
- package/dist/types/views/metadataWorkspace.d.ts +34 -19
- package/dist/types/views/moduleRuntimeActivation.d.ts +3 -3
- package/dist/types/views/pageCompositionAssistantSurface.d.ts +2 -0
- package/dist/types/views/pageCompositionCandidate.d.ts +2 -1
- package/dist/types/views/pageCompositionComponents.d.ts +5 -4
- package/dist/types/views/pageCompositionDraftState.d.ts +21 -7
- package/dist/types/views/pageCompositionMode.d.ts +26 -2
- package/dist/types/views/pageCompositionPublication.d.ts +2 -0
- package/dist/types/views/pageCompositionSession.d.ts +48 -15
- package/dist/types/views/pageCompositionWorkspace.d.ts +90 -29
- package/dist/types/views/runtimeLogClient.d.ts +2 -2
- package/dist/types/views/usePageCompositionComponents.d.ts +2 -1
- package/dist/types/views/workflowConfigurationWorkspaceView.d.ts +5 -0
- package/dist/types/vue-ui-antdv/blockingOverlays.d.ts +9 -0
- package/dist/types/vue-ui-antdv/components/UiButton.vue.d.ts +1 -1
- package/dist/types/vue-ui-antdv/components/UiDataTable.vue.d.ts +2 -2
- package/dist/types/vue-ui-antdv/components/UiDropdown.vue.d.ts +1 -0
- package/dist/types/vue-ui-antdv/components/UiIcon.vue.d.ts +1 -1
- package/dist/types/vue-ui-antdv/components/UiLanguageProvider.vue.d.ts +18 -0
- package/dist/types/vue-ui-antdv/components/UiModal.vue.d.ts +10 -7
- package/dist/types/vue-ui-antdv/components/UiRecordExplorerItem.vue.d.ts +2 -2
- package/dist/types/vue-ui-antdv/components/UiSearchInput.vue.d.ts +1 -1
- package/dist/types/vue-ui-antdv/components/UiSelect.vue.d.ts +1 -1
- package/dist/types/vue-ui-antdv/components/UiSidePanel.vue.d.ts +3 -0
- package/dist/types/vue-ui-antdv/components/UiTextArea.vue.d.ts +7 -7
- package/dist/types/vue-ui-antdv/components/UiTokenInput.vue.d.ts +7 -7
- package/dist/types/vue-ui-antdv/components/UiTree.vue.d.ts +1 -1
- package/dist/types/vue-ui-antdv/components/UiTreeSelect.vue.d.ts +1 -1
- package/dist/types/vue-ui-antdv/confirm.d.ts +3 -2
- package/dist/types/vue-ui-antdv/index.d.ts +3 -0
- package/dist/types/vue-ui-antdv/languageGlobalScope.d.ts +3 -0
- package/dist/types/vue-ui-antdv/languageLocales.d.ts +4 -0
- package/dist/types/vue-ui-antdv/theme.d.ts +2 -0
- package/dist/types/vue-ui-antdv/types.d.ts +4 -0
- package/dist/types/vue-ui-antdv/typography.d.ts +25 -0
- package/dist/types/web-contracts/constructionPlan.d.ts +4 -3
- package/dist/types/web-contracts/index.d.ts +177 -0
- package/dist/types/web-contracts/workflow.d.ts +356 -0
- package/dist/types/web-core/actionResult.d.ts +3 -0
- package/dist/types/web-core/assistantConfirmation.d.ts +3 -2
- package/dist/types/web-core/assistantConversationClient.d.ts +8 -0
- package/dist/types/web-core/assistantSurface.d.ts +4 -3
- package/dist/types/web-core/assistantTurnClient.d.ts +2 -0
- package/dist/types/web-core/businessContent.d.ts +38 -0
- package/dist/types/web-core/businessContentLanguage.d.ts +18 -0
- package/dist/types/web-core/errors.d.ts +8 -4
- package/dist/types/web-core/index.d.ts +11 -0
- package/dist/types/web-core/language.d.ts +54 -0
- package/dist/types/web-core/languagePreference.d.ts +8 -0
- package/dist/types/web-core/module/dataExchangeClient.d.ts +85 -2
- package/dist/types/web-core/module/index.d.ts +1 -0
- package/dist/types/web-core/module/moduleContext.d.ts +4 -0
- package/dist/types/web-core/module/pageActionEntries.d.ts +3 -2
- package/dist/types/web-core/module/runtimeContext.d.ts +15 -2
- package/dist/types/web-core/module/staticModuleClient.d.ts +9 -3
- package/dist/types/web-core/operationConfirmation.d.ts +5 -1
- package/dist/types/web-core/operationErrors.d.ts +15 -1
- package/dist/types/web-core/presentationTexts.d.ts +21 -0
- package/dist/types/web-core/recordReadRefreshGuard.d.ts +7 -0
- package/dist/types/web-core/sha256.d.ts +2 -0
- package/dist/types/web-core/useBusinessContentGenerationBatch.d.ts +36 -0
- package/dist/types/web-core/useBusinessContentReading.d.ts +30 -0
- package/dist/types/web-core/workflow.d.ts +71 -0
- package/dist/types/web-core/workspaceUnsavedState.d.ts +6 -0
- package/dist/workspaceViews-BpH71LKQ.js +3437 -0
- package/package.json +2 -4
- package/dist/BusinessActivityLogView-DVzrZW1X.js +0 -16
- package/dist/BusinessLogListDrawer-D-R3wnWr.js +0 -825
- package/dist/LoginAuditLogView-BP1eaEPw.js +0 -16
- package/dist/ModuleActionManagementView-D17iKVQv.js +0 -691
- package/dist/RequestErrorLogView-LzN94-Tk.js +0 -16
- package/dist/RoleDetailWorkspaceView-BXA-bzFu.js +0 -1406
- package/dist/RuntimeLogView-DUpu2q2w.js +0 -297
- package/dist/moduleGovernanceWorkspaceView-COjWtJMr.js +0 -639
- package/dist/platform-components-Hs3DrTqE.js +0 -19770
- package/dist/rolldown-runtime-DPVXH0ON.js +0 -17
- package/dist/sse-Q1wa3p_k.js +0 -187
- package/dist/workspaceViews-CHsgLFwY.js +0 -3217
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import type { HttpClient } from '../web-core/index';
|
|
2
|
+
import type { WorkflowDesign, WorkflowNode, WorkflowRoute, WorkflowConfigurationCatalog } from '../web-contracts/index';
|
|
3
|
+
type __VLS_Props = {
|
|
4
|
+
design: WorkflowDesign;
|
|
5
|
+
nodeKey: string;
|
|
6
|
+
routeKey: string;
|
|
7
|
+
editable: boolean;
|
|
8
|
+
http: HttpClient;
|
|
9
|
+
moduleAlias: string;
|
|
10
|
+
fields: readonly {
|
|
11
|
+
name: string;
|
|
12
|
+
label: string;
|
|
13
|
+
valueType?: string;
|
|
14
|
+
referenceModule?: string;
|
|
15
|
+
}[];
|
|
16
|
+
catalog: WorkflowConfigurationCatalog;
|
|
17
|
+
actions: readonly {
|
|
18
|
+
value: string;
|
|
19
|
+
label: string;
|
|
20
|
+
}[];
|
|
21
|
+
};
|
|
22
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
23
|
+
"update-node": (patch: Partial<WorkflowNode>) => any;
|
|
24
|
+
"update-route": (patch: Partial<WorkflowRoute>) => any;
|
|
25
|
+
"select-route": (key: string) => any;
|
|
26
|
+
"remove-node": () => any;
|
|
27
|
+
"remove-route": () => any;
|
|
28
|
+
"append-branch-path": () => any;
|
|
29
|
+
"delete-branch": () => any;
|
|
30
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
31
|
+
"onUpdate-node"?: ((patch: Partial<WorkflowNode>) => any) | undefined;
|
|
32
|
+
"onUpdate-route"?: ((patch: Partial<WorkflowRoute>) => any) | undefined;
|
|
33
|
+
"onSelect-route"?: ((key: string) => any) | undefined;
|
|
34
|
+
"onRemove-node"?: (() => any) | undefined;
|
|
35
|
+
"onRemove-route"?: (() => any) | undefined;
|
|
36
|
+
"onAppend-branch-path"?: (() => any) | undefined;
|
|
37
|
+
"onDelete-branch"?: (() => any) | undefined;
|
|
38
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
39
|
+
declare const _default: typeof __VLS_export;
|
|
40
|
+
export default _default;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import type { WorkflowNode, WorkflowRoute } from '../web-contracts/index';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
nodes: WorkflowNode[];
|
|
4
|
+
routes: WorkflowRoute[];
|
|
5
|
+
selectedNodeKey?: string;
|
|
6
|
+
selectedRouteKey?: string;
|
|
7
|
+
interactive?: boolean;
|
|
8
|
+
editable?: boolean;
|
|
9
|
+
layoutJson?: string;
|
|
10
|
+
semanticJson?: string;
|
|
11
|
+
/** Detail views keep business facts visible; the designer retains a larger canvas. */
|
|
12
|
+
presentation?: 'detail' | 'designer';
|
|
13
|
+
};
|
|
14
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
15
|
+
select: (nodeKey: string) => any;
|
|
16
|
+
selectRoute: (routeKey: string) => any;
|
|
17
|
+
layoutChange: (layoutJson: string) => any;
|
|
18
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
19
|
+
onSelect?: ((nodeKey: string) => any) | undefined;
|
|
20
|
+
onSelectRoute?: ((routeKey: string) => any) | undefined;
|
|
21
|
+
onLayoutChange?: ((layoutJson: string) => any) | undefined;
|
|
22
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
23
|
+
declare const _default: typeof __VLS_export;
|
|
24
|
+
export default _default;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { type HttpClient } from '../web-core/index';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
value?: string;
|
|
4
|
+
http: HttpClient;
|
|
5
|
+
disabled?: boolean;
|
|
6
|
+
fields?: readonly {
|
|
7
|
+
name: string;
|
|
8
|
+
label: string;
|
|
9
|
+
referenceModule?: string;
|
|
10
|
+
}[];
|
|
11
|
+
};
|
|
12
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
13
|
+
"update:value": (value: string) => any;
|
|
14
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
15
|
+
"onUpdate:value"?: ((value: string) => any) | undefined;
|
|
16
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
17
|
+
declare const _default: typeof __VLS_export;
|
|
18
|
+
export default _default;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { type ModuleContext } from '../web-core/index';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
context: ModuleContext<Record<string, unknown>>;
|
|
4
|
+
recordId: string;
|
|
5
|
+
instanceId?: string;
|
|
6
|
+
/** Shows record submission only while this explicit instance still owns the current approval. */
|
|
7
|
+
recordSubmission?: boolean;
|
|
8
|
+
};
|
|
9
|
+
declare function mayLeave(): Promise<boolean>;
|
|
10
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {
|
|
11
|
+
mayLeave: typeof mayLeave;
|
|
12
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
13
|
+
edit: () => any;
|
|
14
|
+
changed: () => any;
|
|
15
|
+
"editing-change": (editing: boolean) => any;
|
|
16
|
+
"interaction-change": (state: {
|
|
17
|
+
editing: boolean;
|
|
18
|
+
busy: boolean;
|
|
19
|
+
dirty: boolean;
|
|
20
|
+
}) => any;
|
|
21
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
22
|
+
onEdit?: (() => any) | undefined;
|
|
23
|
+
onChanged?: (() => any) | undefined;
|
|
24
|
+
"onEditing-change"?: ((editing: boolean) => any) | undefined;
|
|
25
|
+
"onInteraction-change"?: ((state: {
|
|
26
|
+
editing: boolean;
|
|
27
|
+
busy: boolean;
|
|
28
|
+
dirty: boolean;
|
|
29
|
+
}) => any) | undefined;
|
|
30
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
31
|
+
declare const _default: typeof __VLS_export;
|
|
32
|
+
export default _default;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { type ModuleContext } from '../web-core/index';
|
|
2
|
+
import type { WorkflowEvent, WorkflowNode, WorkflowTask } from '../web-contracts/index';
|
|
3
|
+
type __VLS_Props = {
|
|
4
|
+
events: WorkflowEvent[];
|
|
5
|
+
nodes: WorkflowNode[];
|
|
6
|
+
tasks?: WorkflowTask[];
|
|
7
|
+
context?: ModuleContext<Record<string, unknown>>;
|
|
8
|
+
instanceId?: string;
|
|
9
|
+
history?: boolean;
|
|
10
|
+
};
|
|
11
|
+
type __VLS_ModelProps = {
|
|
12
|
+
'technical'?: boolean;
|
|
13
|
+
};
|
|
14
|
+
type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
|
|
15
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
16
|
+
"update:technical": (value: boolean) => any;
|
|
17
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
18
|
+
"onUpdate:technical"?: ((value: boolean) => any) | undefined;
|
|
19
|
+
}>, {
|
|
20
|
+
tasks: WorkflowTask[];
|
|
21
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
22
|
+
declare const _default: typeof __VLS_export;
|
|
23
|
+
export default _default;
|
|
@@ -1,10 +1,12 @@
|
|
|
1
|
+
import { type LanguageContext } from '../web-core/index';
|
|
1
2
|
export interface CrudRecordListBase {
|
|
2
3
|
id?: string;
|
|
4
|
+
version?: number;
|
|
3
5
|
title?: string;
|
|
4
6
|
alias?: string;
|
|
5
7
|
code?: string;
|
|
6
8
|
enabled?: boolean;
|
|
7
9
|
}
|
|
8
|
-
export declare function defaultCrudRecordListTitle<TRecord extends CrudRecordListBase>(record: TRecord, fallback?: string): string;
|
|
10
|
+
export declare function defaultCrudRecordListTitle<TRecord extends CrudRecordListBase>(record: TRecord, fallback?: string, language?: LanguageContext): string;
|
|
9
11
|
export declare function defaultCrudRecordListSubtitle<TRecord extends CrudRecordListBase>(record: TRecord): string | undefined;
|
|
10
12
|
export declare function defaultCrudRecordListMatches<TRecord extends CrudRecordListBase>(record: TRecord, normalizedKeyword: string, titleOf?: (record: TRecord) => string, subtitleOf?: (record: TRecord) => string | undefined): boolean;
|
|
@@ -1,3 +1,13 @@
|
|
|
1
|
+
/** Cancellation is a transfer fact independent of its display text. */
|
|
2
|
+
export declare class FileTransferUploadCancelledError extends Error {
|
|
3
|
+
constructor();
|
|
4
|
+
}
|
|
5
|
+
/** Transfer failures are facts; the consuming UI owns the translated explanation. */
|
|
6
|
+
export declare class FileTransferUploadError extends Error {
|
|
7
|
+
readonly reason: 'missing-address' | 'missing-transport' | 'network' | 'http';
|
|
8
|
+
readonly httpStatus?: number | undefined;
|
|
9
|
+
constructor(reason: 'missing-address' | 'missing-transport' | 'network' | 'http', httpStatus?: number | undefined);
|
|
10
|
+
}
|
|
1
11
|
/**
|
|
2
12
|
* The platform owns the browser-to-storage transfer mechanics, while an
|
|
3
13
|
* application owns the authorization request. A caller may additionally run a
|
|
@@ -16,7 +16,7 @@ export { default as DateTimeText } from './DateTimeText.vue';
|
|
|
16
16
|
export { default as FileSizeText } from './FileSizeText.vue';
|
|
17
17
|
export { default as FileTransferUploader } from './FileTransferUploader.vue';
|
|
18
18
|
export { default as SingleImageFileReferenceField } from './SingleImageFileReferenceField.vue';
|
|
19
|
-
export { createBrowserFileTransferUpload, unwrapResponsePayload } from './fileTransferUpload';
|
|
19
|
+
export { createBrowserFileTransferUpload, unwrapResponsePayload, FileTransferUploadError, FileTransferUploadCancelledError, } from './fileTransferUpload';
|
|
20
20
|
export type { FileTransferUploadAccess, FileTransferUploadReceipt, FileTransferUploadTask, } from './fileTransferUpload';
|
|
21
21
|
export { default as EnabledSelect } from './EnabledSelect.vue';
|
|
22
22
|
export { default as ModuleActionButton } from './ModuleActionButton.vue';
|
|
@@ -71,7 +71,7 @@ export { default as RecordModeDrawer } from './RecordModeDrawer.vue';
|
|
|
71
71
|
export { default as RecordPicker } from './RecordPicker.vue';
|
|
72
72
|
export { default as RecordMultiPicker } from './RecordMultiPicker.vue';
|
|
73
73
|
export { default as ReferencePicker } from './ReferencePicker.vue';
|
|
74
|
-
export { readonlyReferenceDisplay } from './readonlyReferenceDisplay';
|
|
74
|
+
export { readonlyReferenceDisplay, readonlyReferenceNameProjection, readonlyReferenceSummaryOf, } from './readonlyReferenceDisplay';
|
|
75
75
|
export { createQueryReferencePickerProvider } from './queryReferencePickerProvider';
|
|
76
76
|
export { createSourceReferencePickerProvider, sourceReferencePickerReloadKey, } from './sourceReferencePickerProvider';
|
|
77
77
|
export { createUserReferencePickerProvider, userReferencePickerColumns } from './userReferencePicker';
|
|
@@ -151,3 +151,10 @@ export { default as ManagementTabs } from './ManagementTabs.vue';
|
|
|
151
151
|
export { referenceDisplayProjections } from './recordFormFieldModel';
|
|
152
152
|
export { referencePickerDisplayTitle } from './referencePickerModel';
|
|
153
153
|
export { queryNumericValueSchema } from './queryNumericValue';
|
|
154
|
+
export { default as WorkflowRecordPanel } from './WorkflowRecordPanel.vue';
|
|
155
|
+
export { default as WorkflowDiagram } from './WorkflowDiagram.vue';
|
|
156
|
+
export { workflowTitle } from './workflowPresentation';
|
|
157
|
+
export { default as WorkflowParticipantEditor } from './WorkflowParticipantEditor.vue';
|
|
158
|
+
export { default as WorkflowBusinessTaskEditor } from './WorkflowBusinessTaskEditor.vue';
|
|
159
|
+
export { default as WorkflowDesignProperties } from './WorkflowDesignProperties.vue';
|
|
160
|
+
export { default as RecordDataExchangeSurface } from './RecordDataExchangeSurface.vue';
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import type { WebPageResponse, WebQueryRequest } from '../web-contracts/index';
|
|
2
|
+
/** Collects a complete navigation result through the existing authorized, paged query protocol. */
|
|
3
|
+
export declare function loadExplorerRecords<T>(query: (request: WebQueryRequest) => Promise<WebPageResponse<T>>, request: WebQueryRequest, current: () => boolean): Promise<WebPageResponse<T> | undefined>;
|
|
@@ -1,10 +1,15 @@
|
|
|
1
1
|
import type { Option, OptionItemDescriptor } from '../web-contracts/index';
|
|
2
|
+
import { type LanguageContext } from '../web-core/index';
|
|
2
3
|
export interface UiTreeSelectNode {
|
|
3
4
|
value: string;
|
|
4
5
|
title: string;
|
|
5
6
|
disabled?: boolean;
|
|
6
7
|
children?: UiTreeSelectNode[];
|
|
7
8
|
}
|
|
8
|
-
|
|
9
|
+
/** Disposable labels for UI search/selection; the source items and persisted codes stay intact. */
|
|
10
|
+
export declare function optionItemsForDisplay(items: readonly OptionItemDescriptor[], language: LanguageContext): OptionItemDescriptor[];
|
|
11
|
+
export declare function optionItemsToOptions(items: OptionItemDescriptor[], language?: LanguageContext): Option[];
|
|
9
12
|
export declare function hasOptionHierarchy(items: OptionItemDescriptor[]): boolean;
|
|
10
|
-
export declare function optionItemsToTree(items: OptionItemDescriptor[]): UiTreeSelectNode[];
|
|
13
|
+
export declare function optionItemsToTree(items: OptionItemDescriptor[], language?: LanguageContext): UiTreeSelectNode[];
|
|
14
|
+
/** Option identities remain stable for scalar, array and JSON-array storage forms. */
|
|
15
|
+
export declare function selectionCodesOf(value: unknown): string[];
|
|
@@ -1,7 +1,9 @@
|
|
|
1
|
+
import { type LanguageContext } from '../web-core/index';
|
|
1
2
|
export type PlatformDateTimePrecision = 'minute' | 'second';
|
|
2
3
|
export interface PlatformDateTimeOptions {
|
|
3
4
|
emptyText?: string;
|
|
4
5
|
locale?: string;
|
|
6
|
+
language?: LanguageContext;
|
|
5
7
|
precision?: PlatformDateTimePrecision;
|
|
6
8
|
timeZone?: string;
|
|
7
9
|
}
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import { type AppError } from '../web-core/index';
|
|
1
|
+
import { type AppError, type LanguageContext } from '../web-core/index';
|
|
2
2
|
export interface PlatformErrorFeedbackContext {
|
|
3
3
|
source?: string;
|
|
4
4
|
phase?: 'load' | 'action' | 'validation' | 'authorization';
|
|
5
|
+
language?: LanguageContext;
|
|
5
6
|
tone?: 'error' | 'success';
|
|
6
7
|
}
|
|
7
8
|
export declare function presentPlatformError(cause: unknown, context?: PlatformErrorFeedbackContext): AppError;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { type LanguageContext } from '../web-core/index';
|
|
1
2
|
import type { ResolvedReferenceFieldDescriptor } from '../web-contracts/index';
|
|
2
3
|
export interface ReadonlyReferenceDisplayItem {
|
|
3
4
|
id: string;
|
|
@@ -5,15 +6,22 @@ export interface ReadonlyReferenceDisplayItem {
|
|
|
5
6
|
/** Only a delivered, usable projection may enter the target-detail browser. */
|
|
6
7
|
browseable: boolean;
|
|
7
8
|
}
|
|
9
|
+
/** Reads a scalar companion's display resource without changing its owner record or summary identity. */
|
|
10
|
+
export declare function readonlyReferenceSummaryOf(record: Record<string, unknown>, field: string | undefined, language?: LanguageContext): unknown;
|
|
8
11
|
/**
|
|
9
12
|
* Formats only record-projected reference facts. It never resolves candidates: an absent title
|
|
10
13
|
* remains the persisted ID, which distinguishes an unavailable projection from a deleted or
|
|
11
14
|
* unauthorized target.
|
|
12
15
|
*/
|
|
13
|
-
export declare function readonlyReferenceDisplay(reference: Pick<ResolvedReferenceFieldDescriptor, 'cardinality'>, value: unknown, summary: unknown): string | undefined;
|
|
16
|
+
export declare function readonlyReferenceDisplay(reference: Pick<ResolvedReferenceFieldDescriptor, 'cardinality'>, value: unknown, summary: unknown, language?: LanguageContext): string | undefined;
|
|
14
17
|
/**
|
|
15
18
|
* Keeps the persisted reference order while retaining enough projection identity for the shared
|
|
16
19
|
* read-only browser. A raw ID intentionally remains non-interactive: it may be absent, deleted,
|
|
17
20
|
* or hidden by a target data scope.
|
|
18
21
|
*/
|
|
19
|
-
export declare function readonlyReferenceDisplayItems(reference: Pick<ResolvedReferenceFieldDescriptor, 'cardinality'>, value: unknown, summary: unknown): ReadonlyReferenceDisplayItem[];
|
|
22
|
+
export declare function readonlyReferenceDisplayItems(reference: Pick<ResolvedReferenceFieldDescriptor, 'cardinality'>, value: unknown, summary: unknown, language?: LanguageContext): ReadonlyReferenceDisplayItem[];
|
|
23
|
+
/** Name-only read projection for assistants; raw identifiers never stand in for missing names. */
|
|
24
|
+
export declare function readonlyReferenceNameProjection(reference: Pick<ResolvedReferenceFieldDescriptor, 'cardinality'>, value: unknown, summary: unknown, language?: LanguageContext): {
|
|
25
|
+
selected: boolean;
|
|
26
|
+
display?: string;
|
|
27
|
+
};
|
|
@@ -1,9 +1,12 @@
|
|
|
1
|
+
import { type LanguageContext } from '../web-core/index';
|
|
1
2
|
import type { ModuleContext } from '../web-core/index';
|
|
2
3
|
import type { UiIconName } from '../vue-ui-antdv/index';
|
|
3
4
|
export interface RecordActionItem {
|
|
4
5
|
key?: string;
|
|
5
6
|
actionCode?: string;
|
|
6
7
|
title: string;
|
|
8
|
+
/** Declared CODE resource; plain business titles remain literal. */
|
|
9
|
+
titleKey?: string;
|
|
7
10
|
before?: string;
|
|
8
11
|
after?: string;
|
|
9
12
|
visible?: boolean;
|
|
@@ -35,7 +38,7 @@ type RecordActionContext = Pick<ModuleContext<unknown>, 'action'> & {
|
|
|
35
38
|
runtime?: Pick<ModuleContext<unknown>['runtime'], 'snapshot'>;
|
|
36
39
|
recordActionsSnapshot?: ModuleContext<unknown>['recordActionsSnapshot'];
|
|
37
40
|
};
|
|
38
|
-
export declare function resolveRecordActions(context: RecordActionContext, actions: RecordActionItem[], defaultLoading?: boolean, recordId?: string): ResolvedRecordActionItem[];
|
|
41
|
+
export declare function resolveRecordActions(context: RecordActionContext, actions: RecordActionItem[], defaultLoading?: boolean, recordId?: string, language?: LanguageContext): ResolvedRecordActionItem[];
|
|
39
42
|
export declare function defaultActionIcon(action: RecordActionItem): UiIconName | undefined;
|
|
40
43
|
export declare function mergeRecordActions(baseActions: RecordActionItem[], extraActions: RecordActionItem[]): RecordActionItem[];
|
|
41
44
|
export {};
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { OptionItemDescriptor } from '../web-contracts/index';
|
|
2
2
|
import type { RecordFormFieldState, RecordFormRecord } from './recordFormFieldModel';
|
|
3
|
+
import { type LanguageContext } from '../web-core/index';
|
|
3
4
|
export type RecordDetailDisplayValue = string | number | boolean | undefined | null;
|
|
4
5
|
export type RecordDetailDisplayResolver = (fieldName: string, value: unknown, record: RecordFormRecord, field: RecordFormFieldState) => RecordDetailDisplayValue;
|
|
5
6
|
export declare function resolveRecordDetailDisplayValue(field: RecordFormFieldState, record: RecordFormRecord, options?: {
|
|
@@ -8,4 +9,7 @@ export declare function resolveRecordDetailDisplayValue(field: RecordFormFieldSt
|
|
|
8
9
|
optionItems?: OptionItemDescriptor[];
|
|
9
10
|
/** Editable display defaults are not facts about an absent saved value. */
|
|
10
11
|
draft?: boolean;
|
|
12
|
+
/** Pair the saved original with a live content-reading control rather than a disposable list label. */
|
|
13
|
+
originalValue?: boolean;
|
|
14
|
+
language?: LanguageContext;
|
|
11
15
|
}): string;
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import type { Option, OptionValueList, ResolvedReferenceFieldDescriptor, BooleanStatusPresentation, ResolvedOptionFieldDescriptor, ResolvedFileReferenceFieldDescriptor, ResolvedFieldControlDescriptor, ResolvedModuleUiDescriptor, ResolvedViewFieldDescriptor, ViewFieldValueType, FieldValuePresentation, FormGroupDescriptor, UiFormula, ViewFieldDefinition } from '../web-contracts/index';
|
|
2
|
-
import type
|
|
2
|
+
import { type LanguageContext, type ModuleContext } from '../web-core/index';
|
|
3
3
|
import type { PickerConstraint, RecordPickerRecord } from './recordPickerConstraints';
|
|
4
4
|
import type { WebTreeNode } from '../web-contracts/index';
|
|
5
5
|
import type { RecordPickerMode } from './recordPickerModel';
|
|
6
6
|
import type { ScopedTreePickerProvider } from './scopedTreePickerModel';
|
|
7
7
|
import type { ReferencePickerColumn, ReferencePickerProvider } from './referencePickerModel';
|
|
8
8
|
export type RecordFormFieldDescriptor = (ViewFieldDefinition | ResolvedViewFieldDescriptor) & {
|
|
9
|
+
content?: ResolvedViewFieldDescriptor['content'];
|
|
9
10
|
inputRequirements?: ResolvedViewFieldDescriptor['inputRequirements'];
|
|
10
11
|
calculationTiming?: ResolvedViewFieldDescriptor['calculationTiming'];
|
|
11
12
|
/** Optional during the protocol migration; resolved descriptors take precedence over legacy uiType. */
|
|
@@ -96,6 +97,7 @@ export interface RecordFormFieldPickerConfig {
|
|
|
96
97
|
};
|
|
97
98
|
}
|
|
98
99
|
export interface RecordFormFieldState {
|
|
100
|
+
content?: ResolvedViewFieldDescriptor['content'];
|
|
99
101
|
calculationPending?: boolean;
|
|
100
102
|
inputRequirements?: ResolvedViewFieldDescriptor['inputRequirements'];
|
|
101
103
|
calculationTiming?: ResolvedViewFieldDescriptor['calculationTiming'];
|
|
@@ -198,6 +200,6 @@ export declare function referenceDisplayProjections(reference: RecordFormFieldDe
|
|
|
198
200
|
* At most one variable repetition avoids ambiguous repeated partitions in the browser.
|
|
199
201
|
*/
|
|
200
202
|
export declare function portableFieldPattern(source: string): RegExp | undefined;
|
|
201
|
-
export declare function recordFormRequiredError(field: RecordFormFieldState, value: unknown): string | undefined;
|
|
203
|
+
export declare function recordFormRequiredError(field: RecordFormFieldState, value: unknown, language?: LanguageContext): string | undefined;
|
|
202
204
|
/** Storage text capacity counts Unicode characters, matching PostgreSQL VARCHAR semantics. */
|
|
203
|
-
export declare function recordFormInputConstraintError(field: RecordFormFieldState, value: unknown): string | undefined;
|
|
205
|
+
export declare function recordFormInputConstraintError(field: RecordFormFieldState, value: unknown, language?: LanguageContext): string | undefined;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { type LanguageContext } from '../web-core/index';
|
|
1
2
|
export interface RecordPickerRecord {
|
|
2
3
|
id?: string;
|
|
3
4
|
parentId?: string;
|
|
@@ -15,10 +16,12 @@ export interface PickerConstraintContext<TRecord extends RecordPickerRecord> {
|
|
|
15
16
|
export interface PickerConstraint<TRecord extends RecordPickerRecord> {
|
|
16
17
|
code: string;
|
|
17
18
|
message: string;
|
|
19
|
+
/** Fixed default explanation owned by the platform; custom caller messages remain unchanged. */
|
|
20
|
+
messageKey?: string;
|
|
18
21
|
test(record: TRecord, context: PickerConstraintContext<TRecord>): boolean;
|
|
19
22
|
}
|
|
20
23
|
export declare function notRecordIds<TRecord extends RecordPickerRecord>(ids: Array<string | undefined>, message?: string): PickerConstraint<TRecord>;
|
|
21
24
|
export declare function notDescendantOf<TRecord extends RecordPickerRecord>(ancestorId?: string, message?: string): PickerConstraint<TRecord>;
|
|
22
25
|
export declare function enabledOnly<TRecord extends RecordPickerRecord>(message?: string): PickerConstraint<TRecord>;
|
|
23
26
|
export declare function parentRecordConstraints<TRecord extends RecordPickerRecord>(currentId?: string): PickerConstraint<TRecord>[];
|
|
24
|
-
export declare function firstConstraintMessage<TRecord extends RecordPickerRecord>(record: TRecord, context: PickerConstraintContext<TRecord>, constraints: PickerConstraint<TRecord>[]): string | undefined;
|
|
27
|
+
export declare function firstConstraintMessage<TRecord extends RecordPickerRecord>(record: TRecord, context: PickerConstraintContext<TRecord>, constraints: PickerConstraint<TRecord>[], language?: LanguageContext): string | undefined;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { OptionItemDescriptor, QuerySchemaField, ResolvedViewDescriptor, ResolvedViewFieldDescriptor, ResolvedReferenceFieldDescriptor } from '../web-contracts/index';
|
|
2
2
|
import type { Component } from 'vue';
|
|
3
|
+
import { type LanguageContext } from '../web-core/index';
|
|
3
4
|
export type QueryListRecord = Record<string, unknown> & {
|
|
4
5
|
id?: string;
|
|
5
6
|
enabled?: boolean;
|
|
@@ -13,6 +14,8 @@ export type StandardCrudRowActionKey = 'view' | 'edit' | 'delete';
|
|
|
13
14
|
export interface RecordQueryListColumn {
|
|
14
15
|
key: string;
|
|
15
16
|
title: string;
|
|
17
|
+
/** Declared CODE resource for a contributed column heading. */
|
|
18
|
+
titleKey?: string;
|
|
16
19
|
type?: 'text' | 'enabledStatus' | 'booleanStatus' | 'tagList' | 'datetime' | 'fileSize' | 'colorPicker';
|
|
17
20
|
booleanStatus?: ResolvedViewFieldDescriptor['booleanStatus'];
|
|
18
21
|
width?: string;
|
|
@@ -39,6 +42,7 @@ export interface RecordQueryListCellComponent {
|
|
|
39
42
|
}
|
|
40
43
|
export interface RecordQueryListDisplayContext {
|
|
41
44
|
timeZone?: string;
|
|
45
|
+
language?: LanguageContext;
|
|
42
46
|
}
|
|
43
47
|
/**
|
|
44
48
|
* Compiles the source-neutral resolved list descriptor into the standard table's presentation model.
|
|
@@ -49,4 +53,4 @@ export interface RecordQueryListDisplayContext {
|
|
|
49
53
|
*/
|
|
50
54
|
export declare function resolveRecordQueryListColumns(view: ResolvedViewDescriptor | undefined, queryFields?: readonly QuerySchemaField[]): RecordQueryListColumn[];
|
|
51
55
|
/** Pure standard-cell projection shared by the rendered list and assistant-visible result summary. */
|
|
52
|
-
export declare function resolveRecordQueryListDisplayValue(record: QueryListRecord, column: RecordQueryListColumn, cellRenderers?: Record<string, (record: QueryListRecord) => string>, context?: RecordQueryListDisplayContext): string;
|
|
56
|
+
export declare function resolveRecordQueryListDisplayValue(record: QueryListRecord, column: RecordQueryListColumn, cellRenderers?: Record<string, (record: QueryListRecord) => string>, context?: RecordQueryListDisplayContext): string | undefined;
|
|
@@ -16,6 +16,8 @@ export interface RecordQueryListResultRow {
|
|
|
16
16
|
export interface RecordQueryListQuerySnapshot {
|
|
17
17
|
/** The last successful server query, shared by exports without reconstructing filters. */
|
|
18
18
|
request?: WebQueryRequest;
|
|
19
|
+
/** Business reading language captured with that successful query, independent of file output language. */
|
|
20
|
+
contentLanguage?: string;
|
|
19
21
|
mode: 'normal' | 'recycleBin';
|
|
20
22
|
status: 'waiting' | 'loading' | 'ready' | 'error';
|
|
21
23
|
quickSearchEnabled: boolean;
|
|
@@ -1,14 +1,15 @@
|
|
|
1
1
|
import { type MaybeRefOrGetter, type Ref } from 'vue';
|
|
2
2
|
import type { PurgeReport, RecycleBinItem, RestoreReport, WebQueryRequest } from '../web-contracts/index';
|
|
3
|
-
import { type ModuleContext } from '../web-core/index';
|
|
3
|
+
import { type LanguageContext, type ModuleContext } from '../web-core/index';
|
|
4
4
|
export interface RecycleBinStateOptions<TRecord> {
|
|
5
5
|
context: MaybeRefOrGetter<ModuleContext<TRecord>>;
|
|
6
|
+
language?: LanguageContext;
|
|
6
7
|
recordTitle?: (record: TRecord) => string;
|
|
7
8
|
/** 外部刷新信号,变化时重新加载列表 */
|
|
8
9
|
reloadKey?: Ref<number>;
|
|
9
10
|
}
|
|
10
11
|
/** Turns lifecycle facts from the platform into concise operator-facing guidance. */
|
|
11
|
-
export declare function recycleBinRestoreUnavailableReason(item: RecycleBinItem<unknown
|
|
12
|
+
export declare function recycleBinRestoreUnavailableReason(item: RecycleBinItem<unknown>, language?: LanguageContext): string | undefined;
|
|
12
13
|
type RecycleBinReports = {
|
|
13
14
|
restore: RestoreReport;
|
|
14
15
|
purge: PurgeReport;
|
|
@@ -51,6 +52,7 @@ export declare function useRecycleBinState<TRecord>(options: RecycleBinStateOpti
|
|
|
51
52
|
isEmpty: import("vue").ComputedRef<boolean>;
|
|
52
53
|
recordTitleOf: (item: RecycleBinItem<TRecord>) => string;
|
|
53
54
|
load: (request?: WebQueryRequest) => Promise<boolean>;
|
|
55
|
+
loadAll: (request: WebQueryRequest, current?: () => boolean) => Promise<boolean>;
|
|
54
56
|
refreshSummary: () => Promise<number | undefined>;
|
|
55
57
|
restore: (item: RecycleBinItem<TRecord>, reload?: boolean) => Promise<RestoreReport | undefined>;
|
|
56
58
|
purge: (item: RecycleBinItem<TRecord>, reload?: boolean) => Promise<PurgeReport | undefined>;
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import type { BusinessContentTextPresentation, TextPresentation } from '../web-contracts/index';
|
|
2
|
+
import { type LanguageContext } from '../web-core/index';
|
|
1
3
|
/**
|
|
2
4
|
* Source-neutral candidate contract for records selected through an authorized
|
|
3
5
|
* reference source. IDs are the only persisted value; projections are display
|
|
@@ -22,6 +24,9 @@ export interface ReferencePickerSourceIdentity {
|
|
|
22
24
|
export interface ReferencePickerCandidate {
|
|
23
25
|
id: ReferencePickerId;
|
|
24
26
|
title: string;
|
|
27
|
+
titleText?: TextPresentation;
|
|
28
|
+
titleContent?: BusinessContentTextPresentation;
|
|
29
|
+
subtitleContent?: BusinessContentTextPresentation;
|
|
25
30
|
/** The UI is displaying the persisted identifier because no business title was available. */
|
|
26
31
|
identifierFallback?: boolean;
|
|
27
32
|
subtitle?: string;
|
|
@@ -46,6 +51,8 @@ export interface ReferencePickerNavigationItem {
|
|
|
46
51
|
export interface ReferencePickerNavigationAxis {
|
|
47
52
|
id: string;
|
|
48
53
|
title: string;
|
|
54
|
+
/** Deployed CODE resource for the axis heading; candidate titles remain business facts. */
|
|
55
|
+
titleKey?: string;
|
|
49
56
|
dependsOn?: readonly string[];
|
|
50
57
|
items: readonly ReferencePickerNavigationItem[];
|
|
51
58
|
}
|
|
@@ -81,6 +88,8 @@ export interface ReferencePickerProvider<TCandidate extends ReferencePickerCandi
|
|
|
81
88
|
export interface ReferencePickerColumn {
|
|
82
89
|
key: string;
|
|
83
90
|
title: string;
|
|
91
|
+
/** Deployed CODE resource for the column heading, resolved in the consumer scope. */
|
|
92
|
+
titleKey?: string;
|
|
84
93
|
width?: number;
|
|
85
94
|
}
|
|
86
95
|
/** Compiled page/query configuration for a standard reference interaction. */
|
|
@@ -97,10 +106,13 @@ export interface ReferencePickerConfig {
|
|
|
97
106
|
export interface ReferencePickerSelectionSummary {
|
|
98
107
|
id: ReferencePickerId;
|
|
99
108
|
title: string;
|
|
109
|
+
titleText?: TextPresentation;
|
|
110
|
+
titleContent?: BusinessContentTextPresentation;
|
|
111
|
+
subtitleContent?: BusinessContentTextPresentation;
|
|
100
112
|
subtitle?: string;
|
|
101
113
|
unavailable?: boolean;
|
|
102
114
|
}
|
|
103
115
|
export declare function normalizeReferencePickerIds(value: ReferencePickerId | readonly ReferencePickerId[] | undefined, multiple: boolean): ReferencePickerId[];
|
|
104
116
|
export declare function referencePickerValue(ids: readonly ReferencePickerId[], multiple: boolean): ReferencePickerId | ReferencePickerId[] | undefined;
|
|
105
117
|
export declare function referencePickerSummary(candidate: ReferencePickerCandidate): ReferencePickerSelectionSummary;
|
|
106
|
-
export declare function referencePickerDisplayTitle(candidate: Pick<ReferencePickerCandidate, 'title' | 'subtitle'
|
|
118
|
+
export declare function referencePickerDisplayTitle(candidate: Pick<ReferencePickerCandidate, 'title' | 'subtitle' | 'titleText' | 'titleContent' | 'subtitleContent'>, language?: LanguageContext): string;
|
|
@@ -1,4 +1,10 @@
|
|
|
1
|
-
import { AppError } from '../web-core/index';
|
|
1
|
+
import { AppError, type LanguageContext } from '../web-core/index';
|
|
2
|
+
export interface ReferencePickerErrorText {
|
|
3
|
+
key: string;
|
|
4
|
+
original: string;
|
|
5
|
+
args?: Record<string, string | number>;
|
|
6
|
+
}
|
|
7
|
+
export declare function referencePickerErrorMessage(error: ReferencePickerReadError, language: LanguageContext): string;
|
|
2
8
|
export type ReferencePickerReadErrorKind = 'accessDenied' | 'missingDependencies' | 'unsupportedConfiguration' | 'temporaryFailure';
|
|
3
9
|
/**
|
|
4
10
|
* The picker only classifies facts carried by AppError or facts its source can
|
|
@@ -9,16 +15,18 @@ export declare class ReferencePickerReadError extends AppError {
|
|
|
9
15
|
readonly retryable: boolean;
|
|
10
16
|
readonly missingDependencyFields: readonly string[];
|
|
11
17
|
readonly original: AppError;
|
|
18
|
+
readonly text?: ReferencePickerErrorText;
|
|
12
19
|
constructor(kind: ReferencePickerReadErrorKind, message: string, options: {
|
|
13
20
|
retryable: boolean;
|
|
14
21
|
missingDependencyFields?: readonly string[];
|
|
15
22
|
original?: AppError;
|
|
23
|
+
text?: ReferencePickerErrorText;
|
|
16
24
|
});
|
|
17
25
|
}
|
|
18
26
|
/**
|
|
19
27
|
* Returns undefined for 401 so the request client's authentication lifecycle
|
|
20
28
|
* remains the sole owner of login recovery and redirect behavior.
|
|
21
29
|
*/
|
|
22
|
-
export declare function referencePickerReadErrorOf(cause: unknown, fallbackMessage: string): ReferencePickerReadError | undefined;
|
|
30
|
+
export declare function referencePickerReadErrorOf(cause: unknown, fallbackMessage: string | ReferencePickerErrorText): ReferencePickerReadError | undefined;
|
|
23
31
|
export declare function missingReferencePickerDependencies(sourceFields: readonly string[]): ReferencePickerReadError;
|
|
24
|
-
export declare function unsupportedReferencePickerConfiguration(message: string): ReferencePickerReadError;
|
|
32
|
+
export declare function unsupportedReferencePickerConfiguration(message: string, text?: ReferencePickerErrorText): ReferencePickerReadError;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type InjectionKey } from 'vue';
|
|
2
|
-
import { type HttpClient, type ModuleContext } from '../web-core/index';
|
|
2
|
+
import { type LanguageContext, type HttpClient, type ModuleContext } from '../web-core/index';
|
|
3
3
|
import type { QueryListRecord } from './recordQueryListColumnModel';
|
|
4
4
|
import { type RecordFormFieldDescriptor } from './recordFormFieldModel';
|
|
5
5
|
export type ActiveReferenceRecord = {
|
|
@@ -43,6 +43,6 @@ export interface ReferenceRecordDetailBrowser {
|
|
|
43
43
|
dispose(): void;
|
|
44
44
|
}
|
|
45
45
|
export declare const referenceRecordDetailBrowserKey: InjectionKey<ReferenceRecordDetailBrowser | undefined>;
|
|
46
|
-
export declare function createReferenceRecordDetailBrowser(http: HttpClient): ReferenceRecordDetailBrowser;
|
|
46
|
+
export declare function createReferenceRecordDetailBrowser(http: HttpClient, language?: LanguageContext): ReferenceRecordDetailBrowser;
|
|
47
47
|
export declare function provideReferenceRecordDetailBrowser(browser: ReferenceRecordDetailBrowser): void;
|
|
48
48
|
export declare function useReferenceRecordDetailBrowser(): ReferenceRecordDetailBrowser | undefined;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { BusinessContentTextPresentation, TextPresentation } from '../web-contracts/index';
|
|
1
2
|
/**
|
|
2
3
|
* An authorized, source-owned record projection for a lazily loaded tree selector.
|
|
3
4
|
* The component deliberately does not infer a parent, tenant, or module from this shape.
|
|
@@ -5,6 +6,9 @@
|
|
|
5
6
|
export interface ScopedTreePickerCandidate {
|
|
6
7
|
id: string;
|
|
7
8
|
title: string;
|
|
9
|
+
titleText?: TextPresentation;
|
|
10
|
+
titleContent?: BusinessContentTextPresentation;
|
|
11
|
+
subtitleContent?: BusinessContentTextPresentation;
|
|
8
12
|
/** A provider may return a path, code, or scope summary to disambiguate equal titles. */
|
|
9
13
|
subtitle?: string;
|
|
10
14
|
/** False keeps the item expandable and asks the provider for children when it is expanded. */
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
+
import { type LanguageContext } from '../web-core/index';
|
|
1
2
|
import { type UiConfirmOptions } from '../vue-ui-antdv/index';
|
|
2
3
|
import type { PlatformActionErrorHandler } from './platformErrorFeedback';
|
|
3
|
-
type ConfirmAction = (options: UiConfirmOptions) => Promise<boolean>;
|
|
4
|
+
type ConfirmAction = (options: UiConfirmOptions, language?: LanguageContext) => Promise<boolean>;
|
|
4
5
|
/**
|
|
5
6
|
* 软删除冲突定位信息,从后端 RESOURCE_SOFT_DELETED_CONFLICT 错误详情中提取。
|
|
6
7
|
*/
|
|
@@ -20,6 +21,7 @@ export interface SoftDeletedConflictInfo {
|
|
|
20
21
|
*/
|
|
21
22
|
export declare function extractSoftDeletedConflict(cause: unknown): SoftDeletedConflictInfo | undefined;
|
|
22
23
|
export interface SoftDeletedConflictHandlerOptions {
|
|
24
|
+
language?: LanguageContext;
|
|
23
25
|
/** 资源展示名称,用于提示文案,如“租户”、“组织” */
|
|
24
26
|
resourceLabel?: string;
|
|
25
27
|
/** 用户点击“去回收站恢复”时的回调 */
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type Ref } from 'vue';
|
|
2
|
-
import { type ModuleContext } from '../web-core/index';
|
|
2
|
+
import { type OperationErrorMessage, type LanguageContext, type ModuleContext } from '../web-core/index';
|
|
3
3
|
import type { UiConfirmOptions } from '../vue-ui-antdv/index';
|
|
4
4
|
import { type PlatformActionResultReactionHandler } from './platformActionResultFeedback';
|
|
5
5
|
import { type PlatformActionErrorHandler } from './platformErrorFeedback';
|
|
@@ -19,6 +19,7 @@ export interface StaticCrudActionErrorContext<TRecord extends StaticCrudRecord>
|
|
|
19
19
|
}
|
|
20
20
|
export type StaticCrudActionErrorHandler<TRecord extends StaticCrudRecord> = PlatformActionErrorHandler<StaticCrudActionErrorContext<TRecord>>;
|
|
21
21
|
export interface StaticCrudManagementOptions<TRecord extends StaticCrudRecord> {
|
|
22
|
+
readonly language?: LanguageContext;
|
|
22
23
|
context: ModuleContext<TRecord>;
|
|
23
24
|
confirmAction: StaticCrudConfirmAction;
|
|
24
25
|
emptyDraft: () => TRecord;
|
|
@@ -27,17 +28,17 @@ export interface StaticCrudManagementOptions<TRecord extends StaticCrudRecord> {
|
|
|
27
28
|
titleOf: (record: TRecord) => string;
|
|
28
29
|
fallbackTitle: string;
|
|
29
30
|
createTitle: string;
|
|
30
|
-
requiredMessage: string;
|
|
31
|
+
requiredMessage: string | OperationErrorMessage;
|
|
31
32
|
isValid: (record: TRecord) => boolean;
|
|
32
33
|
recordName: string;
|
|
33
34
|
deleteTitle: string;
|
|
34
|
-
saveDeniedMessage: string;
|
|
35
|
-
createDeniedMessage: string;
|
|
36
|
-
enableDeniedMessage: string;
|
|
37
|
-
deleteDeniedMessage: (record: TRecord | undefined) => string;
|
|
35
|
+
saveDeniedMessage: string | OperationErrorMessage;
|
|
36
|
+
createDeniedMessage: string | OperationErrorMessage;
|
|
37
|
+
enableDeniedMessage: string | OperationErrorMessage;
|
|
38
|
+
deleteDeniedMessage: (record: TRecord | undefined) => string | OperationErrorMessage;
|
|
38
39
|
canDeleteRecord?: (record: TRecord) => boolean;
|
|
39
40
|
canEnableRecord?: (record: TRecord, actionCode: 'enable' | 'disable') => boolean;
|
|
40
|
-
validateBeforeSave?: (record: TRecord) => string | undefined;
|
|
41
|
+
validateBeforeSave?: (record: TRecord) => string | OperationErrorMessage | undefined;
|
|
41
42
|
actionErrorHandlers?: StaticCrudActionErrorHandler<TRecord>[];
|
|
42
43
|
actionResultReactionHandlers?: Record<string, PlatformActionResultReactionHandler | undefined>;
|
|
43
44
|
}
|
|
@@ -47,7 +48,7 @@ export declare function useFlatCrudManagementState<TRecord extends StaticCrudRec
|
|
|
47
48
|
mode: Ref<StaticCrudCardMode, StaticCrudCardMode>;
|
|
48
49
|
reloadKey: Ref<number, number>;
|
|
49
50
|
saving: Ref<boolean, boolean>;
|
|
50
|
-
actionError:
|
|
51
|
+
actionError: import("vue").ComputedRef<string | undefined>;
|
|
51
52
|
cardTitle: import("vue").ComputedRef<string>;
|
|
52
53
|
readonly: import("vue").ComputedRef<boolean>;
|
|
53
54
|
canCreate: import("vue").ComputedRef<boolean>;
|