@ximatai/muyun-web-app 0.26.14 → 0.26.16
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-DVM_GB5y.js +18 -0
- package/dist/BusinessLogListDrawer-BciMLY9z.js +864 -0
- package/dist/ConfigurationTranslationView-B0FosDyz.js +197 -0
- package/dist/LoginAuditLogView-3tAozKlC.js +18 -0
- package/dist/ModuleActionManagementView-CJRNShGg.js +755 -0
- package/dist/ModuleGovernanceView-DsqR_Sj7.js +34098 -0
- package/dist/RequestErrorLogView-C4yH-TSX.js +18 -0
- package/dist/RoleDetailWorkspaceView-BpOoGUwS.js +1435 -0
- package/dist/RuntimeLogView-CoKKpJ39.js +316 -0
- package/dist/WorkflowAdministrationView-DmUV6vWS.js +650 -0
- package/dist/WorkflowConfigurationView-pghDbWEh.js +975 -0
- package/dist/WorkflowWorkbenchView-BwWxyDen.js +747 -0
- package/dist/es-BST-ixpj.js +22621 -0
- package/dist/index.css +1 -1
- package/dist/index.js +920 -738
- package/dist/moduleGovernanceWorkspaceView-DGEV3ZyT.js +667 -0
- package/dist/platform-components-Cl5ZZiuU.js +27139 -0
- package/dist/platform-workbench-CAHoriIf.js +20245 -0
- 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/useWorkbenchMenuRefresh.d.ts +4 -0
- package/dist/types/app/workbenchMenuRefresh.d.ts +14 -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 +4 -4
- package/dist/types/dynamic-page-runtime/ManagedDetailRelationSurface.vue.d.ts +1 -1
- package/dist/types/dynamic-page-runtime/ModuleDataExchangeSurface.vue.d.ts +17 -0
- package/dist/types/dynamic-page-runtime/ModulePageBusinessSession.d.ts +464 -1240
- package/dist/types/dynamic-page-runtime/ModulePageDetailRelations.vue.d.ts +4 -3
- package/dist/types/dynamic-page-runtime/ModulePageHostRuntime.vue.d.ts +859 -1566
- package/dist/types/dynamic-page-runtime/ModulePageListExpansionSurface.vue.d.ts +1 -0
- package/dist/types/dynamic-page-runtime/ModulePageListRelationExpansion.vue.d.ts +2 -1
- package/dist/types/dynamic-page-runtime/ModulePageListRelationExpansions.vue.d.ts +1 -0
- package/dist/types/dynamic-page-runtime/ModulePageRecordContent.vue.d.ts +20 -3
- package/dist/types/dynamic-page-runtime/ModuleRecordDetailActions.vue.d.ts +7 -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/PageNavigatorExplorer.vue.d.ts +7 -5
- package/dist/types/dynamic-page-runtime/RecordFormSurface.vue.d.ts +2 -0
- package/dist/types/dynamic-page-runtime/TenantScopeExplorer.vue.d.ts +1 -1
- package/dist/types/dynamic-page-runtime/assistantBusinessScope.d.ts +3 -0
- package/dist/types/dynamic-page-runtime/assistantQueryCapabilities.d.ts +34 -0
- package/dist/types/dynamic-page-runtime/assistantRecordEditorPolicy.d.ts +2 -2
- package/dist/types/dynamic-page-runtime/composables/useModulePageBootstrap.d.ts +4 -3
- package/dist/types/dynamic-page-runtime/composables/useModulePageFormContributionRuntime.d.ts +2 -0
- package/dist/types/dynamic-page-runtime/composables/useNavigatorRuntime.d.ts +15 -1217
- package/dist/types/dynamic-page-runtime/formActionResult.d.ts +2 -1
- package/dist/types/dynamic-page-runtime/formComputeCoordinator.d.ts +2 -0
- package/dist/types/dynamic-page-runtime/formValidationCoordinator.d.ts +1 -1
- package/dist/types/dynamic-page-runtime/modulePageAssistantScope.d.ts +13 -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 +18 -0
- package/dist/types/dynamic-page-runtime/recordDisplayProjection.d.ts +63 -0
- package/dist/types/dynamic-page-runtime/recordFormAssistantCapabilities.d.ts +60 -0
- package/dist/types/dynamic-page-runtime/recordFormDraftAccess.d.ts +36 -0
- package/dist/types/dynamic-page-runtime/recordMutationPayload.d.ts +2 -2
- package/dist/types/dynamic-page-runtime/recordReferenceDisplay.d.ts +8 -0
- package/dist/types/dynamic-page-runtime/recordSaveRecovery.d.ts +13 -0
- package/dist/types/dynamic-page-runtime/relationDraftAssistantCapabilities.d.ts +9 -0
- package/dist/types/dynamic-page-runtime/relationDraftController.d.ts +23 -0
- package/dist/types/dynamic-page-runtime/relationFormComputeCoordinator.d.ts +1 -0
- package/dist/types/dynamic-page-runtime/useModulePageSession.d.ts +246 -1227
- package/dist/types/dynamic-page-runtime/useModuleRecordDataChanges.d.ts +13 -0
- package/dist/types/formula/FormulaRuntime.d.ts +3 -1
- package/dist/types/platform-admin-runtime/backendHttp.d.ts +6 -1
- package/dist/types/platform-admin-runtime/index.d.ts +3 -1
- package/dist/types/platform-admin-runtime/module-menu/ModuleMenuEditor.vue.d.ts +17 -0
- package/dist/types/platform-admin-runtime/module-menu/ModuleMenuGovernanceSurface.vue.d.ts +6 -0
- package/dist/types/platform-admin-runtime/module-menu/moduleMenuClient.d.ts +8 -4
- package/dist/types/platform-admin-runtime/module-menu/moduleMenuReceiptStore.d.ts +6 -0
- package/dist/types/platform-admin-runtime/module-menu/moduleMenuSession.d.ts +65 -0
- package/dist/types/platform-admin-runtime/module-menu/moduleMenuWorkspace.d.ts +189 -0
- 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-admin-runtime/workspaceViewSessions.d.ts +1 -1
- package/dist/types/platform-components/BusinessNotificationPanel.vue.d.ts +34 -1
- package/dist/types/platform-components/CrudRecordListExplorer.vue.d.ts +7 -11
- 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/DictionaryPicker.vue.d.ts +4 -2
- 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/ManagementPanelHeader.vue.d.ts +6 -4
- package/dist/types/platform-components/ManagementTabs.vue.d.ts +20 -0
- package/dist/types/platform-components/ModuleActionButton.vue.d.ts +2 -2
- package/dist/types/platform-components/ObjectPickerInput.vue.d.ts +2 -0
- package/dist/types/platform-components/QueryCriteriaComposer.vue.d.ts +1 -1
- package/dist/types/platform-components/QueryCriteriaGroupEditor.vue.d.ts +1 -1
- 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/RecordDetailDrawer.vue.d.ts +2 -2
- package/dist/types/platform-components/RecordDetailFields.vue.d.ts +1 -1
- package/dist/types/platform-components/RecordExpandedSubtable.vue.d.ts +2 -2
- package/dist/types/platform-components/RecordExplorerPanel.vue.d.ts +15 -9
- package/dist/types/platform-components/RecordExplorerTools.vue.d.ts +27 -0
- package/dist/types/platform-components/RecordFileReferenceTransfer.vue.d.ts +1 -1
- package/dist/types/platform-components/RecordFormFields.vue.d.ts +6 -2
- 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 +6 -6
- package/dist/types/platform-components/RecordMultiPicker.vue.d.ts +3 -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 +3 -1
- 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/platform-components/RecordRelationTabs.vue.d.ts +1 -0
- package/dist/types/platform-components/ReferencePicker.vue.d.ts +5 -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 +2 -0
- 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 +30 -0
- package/dist/types/platform-components/WorkflowTimeline.vue.d.ts +19 -0
- package/dist/types/platform-components/crudRecordListModel.d.ts +2 -1
- package/dist/types/platform-components/fileTransferUpload.d.ts +10 -0
- package/dist/types/platform-components/index.d.ts +15 -4
- package/dist/types/platform-components/optionFieldOptionCache.d.ts +1 -1
- 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/queryNumericValue.d.ts +3 -0
- 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 +23 -1
- package/dist/types/platform-components/recordPickerConstraints.d.ts +4 -1
- package/dist/types/platform-components/recordQueryListColumnModel.d.ts +6 -1
- package/dist/types/platform-components/recordQueryListQueryController.d.ts +19 -2
- package/dist/types/platform-components/recordQueryListStandardQuery.d.ts +3 -0
- package/dist/types/platform-components/recycleBinState.d.ts +20 -2
- package/dist/types/platform-components/referencePickerModel.d.ts +9 -0
- 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/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/ConstructionPlanCard.vue.d.ts +8 -0
- package/dist/types/platform-workbench/LanguageSelector.vue.d.ts +6 -0
- package/dist/types/platform-workbench/Workbench.vue.d.ts +9 -4
- package/dist/types/platform-workbench/WorkbenchAssistantPanel.vue.d.ts +7 -1
- package/dist/types/platform-workbench/WorkbenchMenu.vue.d.ts +1 -1
- package/dist/types/platform-workbench/assistantControlText.d.ts +19 -0
- package/dist/types/platform-workbench/configurationCollaboration.d.ts +23 -0
- package/dist/types/platform-workbench/constructionDelivery.d.ts +3 -0
- package/dist/types/platform-workbench/constructionFields.d.ts +5 -0
- package/dist/types/platform-workbench/constructionInitialization.d.ts +4 -0
- package/dist/types/platform-workbench/constructionPlanGuard.d.ts +22 -0
- package/dist/types/platform-workbench/constructionPlanSession.d.ts +103 -0
- package/dist/types/platform-workbench/constructionPresentation.d.ts +6 -0
- package/dist/types/platform-workbench/constructionReferenceDiscovery.d.ts +3 -0
- package/dist/types/platform-workbench/index.d.ts +2 -1
- package/dist/types/platform-workbench/menuNavigation.d.ts +7 -3
- package/dist/types/platform-workbench/menuTreeModel.d.ts +2 -1
- package/dist/types/platform-workbench/realtimeStatus.d.ts +2 -1
- package/dist/types/platform-workbench/useAssistantConversation.d.ts +452 -0
- package/dist/types/platform-workbench/useAssistantConversationArchive.d.ts +40 -0
- package/dist/types/platform-workbench/useWorkspaceViewUnsavedState.d.ts +1 -5
- package/dist/types/platform-workbench/workbenchAssistantCapabilities.d.ts +21 -1
- 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 +7 -5
- package/dist/types/views/ModuleRuntimeActivationStatus.vue.d.ts +11 -0
- package/dist/types/views/PageCompositionDescriptorPreview.vue.d.ts +8 -8
- package/dist/types/views/PageCompositionEditor.vue.d.ts +10 -0
- package/dist/types/views/PageCompositionTree.vue.d.ts +19 -13
- package/dist/types/views/PageQuerySummaryEditor.vue.d.ts +2 -2
- 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/WorkflowWorkbenchView.vue.d.ts +3 -0
- package/dist/types/views/businessLogClient.d.ts +5 -2
- package/dist/types/views/businessRuleAssistantSurface.d.ts +7 -0
- package/dist/types/views/businessRuleEditor.d.ts +23 -0
- package/dist/types/views/businessRuleGovernance.d.ts +20 -4
- package/dist/types/views/businessRuleSession.d.ts +64 -0
- package/dist/types/views/businessRuleWorkspace.d.ts +148 -0
- package/dist/types/views/configurationEditorNavigation.d.ts +3 -0
- 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 +11 -0
- package/dist/types/views/metadataEditorSession.d.ts +658 -0
- package/dist/types/views/metadataGovernanceAssistantSurface.d.ts +2 -120
- package/dist/types/views/metadataGovernanceEditor.d.ts +224 -0
- package/dist/types/views/metadataModelEditSession.d.ts +29 -3
- package/dist/types/views/metadataModelTree.d.ts +2 -1
- package/dist/types/views/metadataNaming.d.ts +10 -1
- package/dist/types/views/metadataOrchestrationState.d.ts +32 -9
- package/dist/types/views/metadataSourceTree.d.ts +3 -2
- package/dist/types/views/metadataWorkspace.d.ts +1323 -0
- package/dist/types/views/moduleGovernanceWorkspaceView.d.ts +1 -1
- package/dist/types/views/moduleRuntimeActivation.d.ts +11 -0
- package/dist/types/views/pageCompositionAssistantSurface.d.ts +29 -0
- package/dist/types/views/pageCompositionCandidate.d.ts +48 -0
- package/dist/types/views/pageCompositionComponents.d.ts +43 -0
- package/dist/types/views/pageCompositionDraftState.d.ts +297 -14
- package/dist/types/views/pageCompositionDragPayload.d.ts +7 -1
- package/dist/types/views/pageCompositionMode.d.ts +27 -3
- package/dist/types/views/pageCompositionPlacement.d.ts +6 -1
- package/dist/types/views/pageCompositionPublication.d.ts +39 -0
- package/dist/types/views/pageCompositionSession.d.ts +1374 -0
- package/dist/types/views/pageCompositionWorkspace.d.ts +2616 -0
- package/dist/types/views/roleAuthorizationWorkspaceSession.d.ts +1 -1
- package/dist/types/views/roleDetailWorkspaceSession.d.ts +1 -1
- package/dist/types/views/runtimeLogClient.d.ts +2 -2
- package/dist/types/views/usePageCompositionComponents.d.ts +69 -0
- 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/UiInput.vue.d.ts +1 -0
- package/dist/types/vue-ui-antdv/components/UiLanguageProvider.vue.d.ts +18 -0
- package/dist/types/vue-ui-antdv/components/UiModal.vue.d.ts +3 -3
- package/dist/types/vue-ui-antdv/components/UiRecordExplorerItem.vue.d.ts +2 -2
- package/dist/types/vue-ui-antdv/components/UiSearchInput.vue.d.ts +3 -1
- package/dist/types/vue-ui-antdv/components/UiSelect.vue.d.ts +3 -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 +9 -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 +3 -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 +6 -0
- package/dist/types/web-contracts/assistant.d.ts +29 -1
- package/dist/types/web-contracts/constructionPlan.d.ts +213 -0
- package/dist/types/web-contracts/index.d.ts +78 -0
- package/dist/types/web-contracts/operation.d.ts +33 -0
- package/dist/types/web-contracts/referenceTarget.d.ts +13 -0
- package/dist/types/web-contracts/workflow.d.ts +346 -0
- package/dist/types/web-core/actionResult.d.ts +3 -0
- package/dist/types/web-core/assistantCapabilityCatalog.d.ts +22 -0
- package/dist/types/web-core/assistantCatalogPage.d.ts +12 -0
- package/dist/types/web-core/assistantConfirmation.d.ts +24 -0
- package/dist/types/web-core/assistantConversationClient.d.ts +50 -0
- package/dist/types/web-core/assistantRuntime.d.ts +53 -7
- package/dist/types/web-core/assistantSurface.d.ts +80 -9
- package/dist/types/web-core/assistantTurnClient.d.ts +9 -1
- package/dist/types/web-core/constructionPlanClient.d.ts +55 -0
- package/dist/types/web-core/errors.d.ts +9 -3
- package/dist/types/web-core/http.d.ts +1 -0
- package/dist/types/web-core/index.d.ts +14 -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 +54 -0
- package/dist/types/web-core/module/index.d.ts +2 -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 +12 -2
- package/dist/types/web-core/operationConfirmation.d.ts +32 -0
- package/dist/types/web-core/operationErrors.d.ts +23 -0
- package/dist/types/web-core/operationReceipt.d.ts +10 -0
- package/dist/types/web-core/presentationTexts.d.ts +16 -0
- package/dist/types/web-core/sha256.d.ts +2 -0
- package/dist/types/web-core/uuid.d.ts +2 -0
- package/dist/types/web-core/workflow.d.ts +70 -0
- package/dist/types/web-core/workspaceUnsavedState.d.ts +6 -0
- package/dist/workspaceViews-BIYGPUAO.js +3437 -0
- package/package.json +2 -4
- package/dist/BusinessActivityLogView-BUg5WTm-.js +0 -16
- package/dist/BusinessLogListDrawer-BOTE_7aT.js +0 -825
- package/dist/LoginAuditLogView-DBNtvmIy.js +0 -16
- package/dist/ModuleActionManagementView-Bq1VO51Y.js +0 -673
- package/dist/ModuleGovernanceView-B8u4_erd.js +0 -29344
- package/dist/RequestErrorLogView-BrtH3ptj.js +0 -16
- package/dist/RoleDetailWorkspaceView-6LW3tLA1.js +0 -1397
- package/dist/RuntimeLogView-s3X5CdHB.js +0 -297
- package/dist/moduleGovernanceWorkspaceView-BRgJbUjJ.js +0 -40
- package/dist/platform-components-Dt859Hbr.js +0 -18627
- package/dist/platform-workbench-DfqFnlm-.js +0 -14701
- package/dist/rolldown-runtime-DPVXH0ON.js +0 -17
- package/dist/sse-mGbuCAax.js +0 -187
- package/dist/workspaceViews-DijY4n32.js +0 -3623
package/dist/index.js
CHANGED
|
@@ -1,13 +1,12 @@
|
|
|
1
|
-
import { n as e, r as t } from "./rolldown-runtime-
|
|
2
|
-
import { $
|
|
3
|
-
import { i as
|
|
4
|
-
import {
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
import { Fragment as sr, computed as w, createBlock as T, createCommentVNode as E, createElementBlock as D, createElementVNode as O, createTextVNode as cr, createVNode as k, defineAsyncComponent as A, defineComponent as j, normalizeClass as lr, normalizeStyle as ur, onBeforeUnmount as dr, onMounted as fr, openBlock as M, provide as pr, ref as N, renderList as mr, renderSlot as hr, resolveDynamicComponent as gr, toDisplayString as P, unref as F, watch as _r, withCtx as I, withModifiers as vr } from "vue";
|
|
1
|
+
import { n as e, r as t } from "./rolldown-runtime-BAC7EHh5.js";
|
|
2
|
+
import { $ as n, A as r, At as i, B as a, C as o, Ct as s, D as c, Dt as l, Et as u, F as d, G as f, H as p, I as m, J as h, K as g, L as _, M as v, N as y, O as ee, Ot as te, P as ne, Q as b, S as re, St as ie, Tt as ae, U as oe, V as se, W as ce, X as le, Y as x, Z as ue, _ as de, _t as fe, a as pe, at as me, b as he, bt as ge, c as _e, ct as S, d as ve, dt as ye, et as be, f as xe, ft as Se, g as Ce, gt as we, ht as Te, it as Ee, j as De, jt as Oe, k as ke, kt as Ae, l as je, lt as Me, m as Ne, mt as Pe, n as Fe, nt as C, o as Ie, ot as Le, p as Re, pt as ze, q as Be, r as Ve, rt as He, s as Ue, st as We, t as Ge, tt as Ke, u as qe, ut as Je, v as Ye, vt as Xe, wt as Ze, x as Qe, xt as $e, y as et, yt as tt, z as nt } from "./platform-workbench-CAHoriIf.js";
|
|
3
|
+
import { $i as w, $n as rt, $r as it, $t as at, Ai as ot, An as st, Ar as ct, Bi as lt, Bn as T, Br as ut, Ci as dt, Cr as ft, Di as pt, Dr as mt, Ei as ht, Er as gt, Fi as _t, Fn as vt, Fr as yt, G as bt, Gi as xt, Gn as St, Gr as Ct, Gt as wt, Hi as Tt, Hr as Et, Ii as Dt, Ir as Ot, Ji as kt, Jn as At, Jr as jt, Jt as Mt, K as Nt, Ki as Pt, Kr as Ft, Li as It, Ln as Lt, Lr as Rt, Mi as zt, Mn as Bt, Mr as Vt, Ni as Ht, Nr as Ut, Oi as Wt, On as Gt, Or as Kt, Ot as qt, Pi as Jt, Pr as Yt, Qi as Xt, Qn as Zt, Qr as Qt, Ri as $t, Rr as en, Si as tn, Sn as nn, Sr as rn, Ti as an, Tr as on, Ui as sn, Ur as cn, Vi as ln, Vr as un, Vt as dn, Wi as fn, Wr as pn, Wt as mn, Xi as hn, Xn as gn, Xr as _n, Xt as vn, Yi as yn, Yn as bn, Yr as xn, Yt as Sn, Zi as Cn, Zn as wn, Zr as Tn, Zt as En, _i as Dn, _r as On, aa as kn, ai as An, an as jn, ar as Mn, bi as Nn, br as Pn, ca as Fn, ci as In, cn as Ln, cr as Rn, di as zn, dn as Bn, dr as Vn, ea as Hn, ei as Un, er as Wn, fi as Gn, fn as Kn, fr as qn, gi as Jn, gr as Yn, hi as Xn, hn as Zn, hr as Qn, ia as $n, ii as er, in as tr, ir as nr, it as rr, ji as ir, jn as ar, jr as or, ki as sr, kn as cr, kr as lr, la as ur, li as dr, lr as fr, mi as pr, mr, na as E, ni as hr, nn as gr, nr as _r, oa as vr, oi as yr, or as br, pi as xr, pr as Sr, qi as Cr, qn as wr, qr as Tr, qt as Er, ra as Dr, ri as Or, rn as kr, rr as Ar, si as jr, sn as Mr, sr as Nr, st as Pr, ta as Fr, ti as Ir, tr as Lr, ua as Rr, ui as zr, un as Br, ur as Vr, vi as Hr, vr as Ur, wi as Wr, wn as Gr, wr as Kr, xi as qr, xn as Jr, xr as Yr, yi as Xr, yn as Zr, yr as Qr, zi as $r, zr as ei } from "./platform-components-Cl5ZZiuU.js";
|
|
4
|
+
import { u as ti } from "./moduleGovernanceWorkspaceView-DGEV3ZyT.js";
|
|
5
|
+
import "./workspaceViews-BIYGPUAO.js";
|
|
6
|
+
import * as ni from "vue";
|
|
7
|
+
import { Fragment as ri, computed as D, createBlock as O, createCommentVNode as k, createElementBlock as A, createElementVNode as j, createTextVNode as ii, createVNode as M, defineAsyncComponent as N, defineComponent as P, normalizeClass as ai, normalizeStyle as oi, onBeforeUnmount as si, onMounted as ci, openBlock as F, provide as li, ref as I, renderList as ui, renderSlot as di, resolveDynamicComponent as fi, toDisplayString as L, unref as R, watch as pi, withCtx as z, withModifiers as mi } from "vue";
|
|
9
8
|
//#region node_modules/@tanstack/query-core/build/modern/subscribable.js
|
|
10
|
-
var
|
|
9
|
+
var hi = class {
|
|
11
10
|
constructor() {
|
|
12
11
|
this.listeners = /* @__PURE__ */ new Set(), this.subscribe = this.subscribe.bind(this);
|
|
13
12
|
}
|
|
@@ -21,7 +20,7 @@ var yr = class {
|
|
|
21
20
|
}
|
|
22
21
|
onSubscribe() {}
|
|
23
22
|
onUnsubscribe() {}
|
|
24
|
-
},
|
|
23
|
+
}, gi = new class extends hi {
|
|
25
24
|
#e;
|
|
26
25
|
#t;
|
|
27
26
|
#n;
|
|
@@ -58,13 +57,13 @@ var yr = class {
|
|
|
58
57
|
isFocused() {
|
|
59
58
|
return typeof this.#e == "boolean" ? this.#e : globalThis.document?.visibilityState !== "hidden";
|
|
60
59
|
}
|
|
61
|
-
}(),
|
|
60
|
+
}(), _i = {
|
|
62
61
|
setTimeout: (e, t) => setTimeout(e, t),
|
|
63
62
|
clearTimeout: (e) => clearTimeout(e),
|
|
64
63
|
setInterval: (e, t) => setInterval(e, t),
|
|
65
64
|
clearInterval: (e) => clearInterval(e)
|
|
66
|
-
},
|
|
67
|
-
#e =
|
|
65
|
+
}, vi = new class {
|
|
66
|
+
#e = _i;
|
|
68
67
|
#t = !1;
|
|
69
68
|
setTimeoutProvider(e) {
|
|
70
69
|
process.env.NODE_ENV !== "production" && this.#t && e !== this.#e && console.error("[timeoutManager]: Switching provider after calls to previous provider might result in unexpected behavior.", {
|
|
@@ -85,34 +84,34 @@ var yr = class {
|
|
|
85
84
|
this.#e.clearInterval(e);
|
|
86
85
|
}
|
|
87
86
|
}();
|
|
88
|
-
function
|
|
87
|
+
function yi(e) {
|
|
89
88
|
setTimeout(e, 0);
|
|
90
89
|
}
|
|
91
90
|
//#endregion
|
|
92
91
|
//#region node_modules/@tanstack/query-core/build/modern/utils.js
|
|
93
|
-
var
|
|
94
|
-
function
|
|
95
|
-
function
|
|
92
|
+
var bi = typeof window > "u" || "Deno" in globalThis;
|
|
93
|
+
function B() {}
|
|
94
|
+
function xi(e, t) {
|
|
96
95
|
return typeof e == "function" ? e(t) : e;
|
|
97
96
|
}
|
|
98
|
-
function
|
|
97
|
+
function Si(e) {
|
|
99
98
|
return typeof e == "number" && e >= 0 && e !== Infinity;
|
|
100
99
|
}
|
|
101
|
-
function
|
|
100
|
+
function Ci(e, t) {
|
|
102
101
|
return Math.max(e + (t || 0) - Date.now(), 0);
|
|
103
102
|
}
|
|
104
|
-
function
|
|
103
|
+
function wi(e, t) {
|
|
105
104
|
return typeof e == "function" ? e(t) : e;
|
|
106
105
|
}
|
|
107
|
-
function
|
|
106
|
+
function Ti(e, t) {
|
|
108
107
|
return typeof e == "function" ? e(t) : e;
|
|
109
108
|
}
|
|
110
|
-
function
|
|
109
|
+
function Ei(e, t) {
|
|
111
110
|
let { type: n = "all", exact: r, fetchStatus: i, predicate: a, queryKey: o, stale: s } = e;
|
|
112
111
|
if (o) {
|
|
113
112
|
if (r) {
|
|
114
|
-
if (t.queryHash !==
|
|
115
|
-
} else if (!
|
|
113
|
+
if (t.queryHash !== Oi(o, t.options)) return !1;
|
|
114
|
+
} else if (!H(t.queryKey, o)) return !1;
|
|
116
115
|
}
|
|
117
116
|
if (n !== "all") {
|
|
118
117
|
let e = t.isActive();
|
|
@@ -120,90 +119,90 @@ function Ar(e, t) {
|
|
|
120
119
|
}
|
|
121
120
|
return !(typeof s == "boolean" && t.isStale() !== s || i && i !== t.state.fetchStatus || a && !a(t));
|
|
122
121
|
}
|
|
123
|
-
function
|
|
122
|
+
function Di(e, t) {
|
|
124
123
|
let { exact: n, status: r, predicate: i, mutationKey: a } = e;
|
|
125
124
|
if (a) {
|
|
126
125
|
if (!t.options.mutationKey) return !1;
|
|
127
126
|
if (n) {
|
|
128
|
-
if (
|
|
129
|
-
} else if (!
|
|
127
|
+
if (V(t.options.mutationKey) !== V(a)) return !1;
|
|
128
|
+
} else if (!H(t.options.mutationKey, a)) return !1;
|
|
130
129
|
}
|
|
131
130
|
return !(r && t.state.status !== r || i && !i(t));
|
|
132
131
|
}
|
|
133
|
-
function
|
|
134
|
-
return (t?.queryKeyHashFn ||
|
|
132
|
+
function Oi(e, t) {
|
|
133
|
+
return (t?.queryKeyHashFn || V)(e);
|
|
135
134
|
}
|
|
136
|
-
function
|
|
137
|
-
return JSON.stringify(e, (e, t) =>
|
|
135
|
+
function V(e) {
|
|
136
|
+
return JSON.stringify(e, (e, t) => Mi(t) ? Object.keys(t).sort().reduce((e, n) => (e[n] = t[n], e), {}) : t);
|
|
138
137
|
}
|
|
139
|
-
function
|
|
140
|
-
return e === t ? !0 : typeof e == typeof t && e && t && typeof e == "object" && typeof t == "object" ? Object.keys(t).every((n) =>
|
|
138
|
+
function H(e, t) {
|
|
139
|
+
return e === t ? !0 : typeof e == typeof t && e && t && typeof e == "object" && typeof t == "object" ? Object.keys(t).every((n) => H(e[n], t[n])) : !1;
|
|
141
140
|
}
|
|
142
|
-
var
|
|
143
|
-
function
|
|
141
|
+
var ki = Object.prototype.hasOwnProperty;
|
|
142
|
+
function Ai(e, t, n = 0) {
|
|
144
143
|
if (e === t) return e;
|
|
145
144
|
if (n > 500) return t;
|
|
146
|
-
let r =
|
|
147
|
-
if (!r && !(
|
|
145
|
+
let r = ji(e) && ji(t);
|
|
146
|
+
if (!r && !(Mi(e) && Mi(t))) return t;
|
|
148
147
|
let i = (r ? e : Object.keys(e)).length, a = r ? t : Object.keys(t), o = a.length, s = r ? Array(o) : {}, c = 0;
|
|
149
148
|
for (let l = 0; l < o; l++) {
|
|
150
149
|
let o = r ? l : a[l], u = e[o], d = t[o];
|
|
151
150
|
if (u === d) {
|
|
152
|
-
s[o] = u, (r ? l < i :
|
|
151
|
+
s[o] = u, (r ? l < i : ki.call(e, o)) && c++;
|
|
153
152
|
continue;
|
|
154
153
|
}
|
|
155
154
|
if (u === null || d === null || typeof u != "object" || typeof d != "object") {
|
|
156
155
|
s[o] = d;
|
|
157
156
|
continue;
|
|
158
157
|
}
|
|
159
|
-
let f =
|
|
158
|
+
let f = Ai(u, d, n + 1);
|
|
160
159
|
s[o] = f, f === u && c++;
|
|
161
160
|
}
|
|
162
161
|
return i === o && c === i ? e : s;
|
|
163
162
|
}
|
|
164
|
-
function
|
|
163
|
+
function ji(e) {
|
|
165
164
|
return Array.isArray(e) && e.length === Object.keys(e).length;
|
|
166
165
|
}
|
|
167
|
-
function
|
|
168
|
-
if (!
|
|
166
|
+
function Mi(e) {
|
|
167
|
+
if (!Ni(e)) return !1;
|
|
169
168
|
let t = e.constructor;
|
|
170
169
|
if (t === void 0) return !0;
|
|
171
170
|
let n = t.prototype;
|
|
172
|
-
return !(!
|
|
171
|
+
return !(!Ni(n) || !n.hasOwnProperty("isPrototypeOf") || Object.getPrototypeOf(e) !== Object.prototype);
|
|
173
172
|
}
|
|
174
|
-
function
|
|
173
|
+
function Ni(e) {
|
|
175
174
|
return Object.prototype.toString.call(e) === "[object Object]";
|
|
176
175
|
}
|
|
177
|
-
function
|
|
176
|
+
function Pi(e) {
|
|
178
177
|
return new Promise((t) => {
|
|
179
|
-
|
|
178
|
+
vi.setTimeout(t, e);
|
|
180
179
|
});
|
|
181
180
|
}
|
|
182
|
-
function
|
|
181
|
+
function Fi(e, t, n) {
|
|
183
182
|
if (typeof n.structuralSharing == "function") return n.structuralSharing(e, t);
|
|
184
183
|
if (n.structuralSharing !== !1) {
|
|
185
184
|
if (process.env.NODE_ENV !== "production") try {
|
|
186
|
-
return
|
|
185
|
+
return Ai(e, t);
|
|
187
186
|
} catch (e) {
|
|
188
187
|
throw console.error(`Structural sharing requires data to be JSON serializable. To fix this, turn off structuralSharing or return JSON-serializable data from your queryFn. [${n.queryHash}]: ${e}`), e;
|
|
189
188
|
}
|
|
190
|
-
return
|
|
189
|
+
return Ai(e, t);
|
|
191
190
|
}
|
|
192
191
|
return t;
|
|
193
192
|
}
|
|
194
|
-
function
|
|
193
|
+
function Ii(e, t, n = 0) {
|
|
195
194
|
let r = [...e, t];
|
|
196
195
|
return n && r.length > n ? r.slice(1) : r;
|
|
197
196
|
}
|
|
198
|
-
function
|
|
197
|
+
function Li(e, t, n = 0) {
|
|
199
198
|
let r = [t, ...e];
|
|
200
199
|
return n && r.length > n ? r.slice(0, -1) : r;
|
|
201
200
|
}
|
|
202
|
-
var
|
|
203
|
-
function
|
|
204
|
-
return process.env.NODE_ENV !== "production" && e.queryFn ===
|
|
201
|
+
var Ri = /* @__PURE__ */ Symbol();
|
|
202
|
+
function zi(e, t) {
|
|
203
|
+
return process.env.NODE_ENV !== "production" && e.queryFn === Ri && console.error(`Attempted to invoke queryFn when set to skipToken. This is likely a configuration error. Query hash: '${e.queryHash}'`), !e.queryFn && t?.initialPromise ? () => t.initialPromise : !e.queryFn || e.queryFn === Ri ? () => Promise.reject(/* @__PURE__ */ Error(`Missing queryFn: '${e.queryHash}'`)) : e.queryFn;
|
|
205
204
|
}
|
|
206
|
-
function
|
|
205
|
+
function Bi(e, t, n) {
|
|
207
206
|
let r = !1, i;
|
|
208
207
|
return Object.defineProperty(e, "signal", {
|
|
209
208
|
enumerable: !0,
|
|
@@ -212,8 +211,8 @@ function Wr(e, t, n) {
|
|
|
212
211
|
}
|
|
213
212
|
//#endregion
|
|
214
213
|
//#region node_modules/@tanstack/query-core/build/modern/environmentManager.js
|
|
215
|
-
var
|
|
216
|
-
let e = () =>
|
|
214
|
+
var Vi = /* @__PURE__ */ (() => {
|
|
215
|
+
let e = () => bi;
|
|
217
216
|
return {
|
|
218
217
|
isServer() {
|
|
219
218
|
return e();
|
|
@@ -225,7 +224,7 @@ var Gr = /* @__PURE__ */ (() => {
|
|
|
225
224
|
})();
|
|
226
225
|
//#endregion
|
|
227
226
|
//#region node_modules/@tanstack/query-core/build/modern/thenable.js
|
|
228
|
-
function
|
|
227
|
+
function Hi() {
|
|
229
228
|
let e, t, n = new Promise((n, r) => {
|
|
230
229
|
e = n, t = r;
|
|
231
230
|
});
|
|
@@ -247,13 +246,13 @@ function Kr() {
|
|
|
247
246
|
}
|
|
248
247
|
//#endregion
|
|
249
248
|
//#region node_modules/@tanstack/query-core/build/modern/notifyManager.js
|
|
250
|
-
var
|
|
251
|
-
function
|
|
249
|
+
var Ui = yi;
|
|
250
|
+
function Wi() {
|
|
252
251
|
let e = [], t = 0, n = (e) => {
|
|
253
252
|
e();
|
|
254
253
|
}, r = (e) => {
|
|
255
254
|
e();
|
|
256
|
-
}, i =
|
|
255
|
+
}, i = Ui, a = (r) => {
|
|
257
256
|
t ? e.push(r) : i(() => {
|
|
258
257
|
n(r);
|
|
259
258
|
});
|
|
@@ -295,7 +294,7 @@ function Jr() {
|
|
|
295
294
|
}
|
|
296
295
|
};
|
|
297
296
|
}
|
|
298
|
-
var
|
|
297
|
+
var U = Wi(), W = new class extends hi {
|
|
299
298
|
#e = !0;
|
|
300
299
|
#t;
|
|
301
300
|
#n;
|
|
@@ -329,28 +328,28 @@ var B = Jr(), V = new class extends yr {
|
|
|
329
328
|
}();
|
|
330
329
|
//#endregion
|
|
331
330
|
//#region node_modules/@tanstack/query-core/build/modern/retryer.js
|
|
332
|
-
function
|
|
331
|
+
function Gi(e) {
|
|
333
332
|
return Math.min(1e3 * 2 ** e, 3e4);
|
|
334
333
|
}
|
|
335
|
-
function
|
|
336
|
-
return (e ?? "online") !== "online" ||
|
|
334
|
+
function Ki(e) {
|
|
335
|
+
return (e ?? "online") !== "online" || W.isOnline();
|
|
337
336
|
}
|
|
338
|
-
var
|
|
337
|
+
var qi = class extends Error {
|
|
339
338
|
constructor(e) {
|
|
340
339
|
super("CancelledError"), this.revert = e?.revert, this.silent = e?.silent;
|
|
341
340
|
}
|
|
342
341
|
};
|
|
343
|
-
function
|
|
344
|
-
let t = !1, n = 0, r, i =
|
|
342
|
+
function Ji(e) {
|
|
343
|
+
let t = !1, n = 0, r, i = Hi(), a = () => i.status !== "pending", o = (t) => {
|
|
345
344
|
if (!a()) {
|
|
346
|
-
let n = new
|
|
345
|
+
let n = new qi(t);
|
|
347
346
|
f(n), e.onCancel?.(n);
|
|
348
347
|
}
|
|
349
348
|
}, s = () => {
|
|
350
349
|
t = !0;
|
|
351
350
|
}, c = () => {
|
|
352
351
|
t = !1;
|
|
353
|
-
}, l = () =>
|
|
352
|
+
}, l = () => gi.isFocused() && (e.networkMode === "always" || W.isOnline()) && e.canRun(), u = () => Ki(e.networkMode) && e.canRun(), d = (e) => {
|
|
354
353
|
a() || (r?.(), i.resolve(e));
|
|
355
354
|
}, f = (e) => {
|
|
356
355
|
a() || (r?.(), i.reject(e));
|
|
@@ -370,12 +369,12 @@ function Qr(e) {
|
|
|
370
369
|
}
|
|
371
370
|
Promise.resolve(r).then(d).catch((r) => {
|
|
372
371
|
if (a()) return;
|
|
373
|
-
let i = e.retry ?? (
|
|
372
|
+
let i = e.retry ?? (Vi.isServer() ? 0 : 3), o = e.retryDelay ?? Gi, s = typeof o == "function" ? o(n, r) : o, c = i === !0 || typeof i == "number" && n < i || typeof i == "function" && i(n, r);
|
|
374
373
|
if (t || !c) {
|
|
375
374
|
f(r);
|
|
376
375
|
return;
|
|
377
376
|
}
|
|
378
|
-
n++, e.onFail?.(n, r),
|
|
377
|
+
n++, e.onFail?.(n, r), Pi(s).then(() => l() ? void 0 : p()).then(() => {
|
|
379
378
|
t ? f(r) : m();
|
|
380
379
|
});
|
|
381
380
|
});
|
|
@@ -393,34 +392,34 @@ function Qr(e) {
|
|
|
393
392
|
}
|
|
394
393
|
//#endregion
|
|
395
394
|
//#region node_modules/@tanstack/query-core/build/modern/removable.js
|
|
396
|
-
var
|
|
395
|
+
var Yi = class {
|
|
397
396
|
#e;
|
|
398
397
|
destroy() {
|
|
399
398
|
this.clearGcTimeout();
|
|
400
399
|
}
|
|
401
400
|
scheduleGc() {
|
|
402
|
-
this.clearGcTimeout(),
|
|
401
|
+
this.clearGcTimeout(), Si(this.gcTime) && (this.#e = vi.setTimeout(() => {
|
|
403
402
|
this.optionalRemove();
|
|
404
403
|
}, this.gcTime));
|
|
405
404
|
}
|
|
406
405
|
updateGcTime(e) {
|
|
407
|
-
this.gcTime = Math.max(this.gcTime || 0, e ?? (
|
|
406
|
+
this.gcTime = Math.max(this.gcTime || 0, e ?? (Vi.isServer() ? Infinity : 3e5));
|
|
408
407
|
}
|
|
409
408
|
clearGcTimeout() {
|
|
410
|
-
this.#e !== void 0 && (
|
|
409
|
+
this.#e !== void 0 && (vi.clearTimeout(this.#e), this.#e = void 0);
|
|
411
410
|
}
|
|
412
411
|
};
|
|
413
412
|
//#endregion
|
|
414
413
|
//#region node_modules/@tanstack/query-core/build/modern/infiniteQueryBehavior.js
|
|
415
|
-
function
|
|
414
|
+
function Xi(e) {
|
|
416
415
|
return { onFetch: (t, n) => {
|
|
417
416
|
let r = t.options, i = t.fetchOptions?.meta?.fetchMore?.direction, a = t.state.data?.pages || [], o = t.state.data?.pageParams || [], s = {
|
|
418
417
|
pages: [],
|
|
419
418
|
pageParams: []
|
|
420
419
|
}, c = 0, l = async () => {
|
|
421
420
|
let n = !1, l = (e) => {
|
|
422
|
-
|
|
423
|
-
}, u =
|
|
421
|
+
Bi(e, () => t.signal, () => n = !0);
|
|
422
|
+
}, u = zi(t.options, t.fetchOptions), d = async (e, r, i) => {
|
|
424
423
|
if (n) return Promise.reject(t.signal.reason);
|
|
425
424
|
if (r == null && e.pages.length) return Promise.resolve(e);
|
|
426
425
|
let a = (() => {
|
|
@@ -432,14 +431,14 @@ function ei(e) {
|
|
|
432
431
|
meta: t.options.meta
|
|
433
432
|
};
|
|
434
433
|
return l(e), e;
|
|
435
|
-
})(), o = await u(a), { maxPages: s } = t.options, c = i ?
|
|
434
|
+
})(), o = await u(a), { maxPages: s } = t.options, c = i ? Li : Ii;
|
|
436
435
|
return {
|
|
437
436
|
pages: c(e.pages, o, s),
|
|
438
437
|
pageParams: c(e.pageParams, r, s)
|
|
439
438
|
};
|
|
440
439
|
};
|
|
441
440
|
if (i && a.length) {
|
|
442
|
-
let e = i === "backward", t = e ?
|
|
441
|
+
let e = i === "backward", t = e ? Qi : Zi, n = {
|
|
443
442
|
pages: a,
|
|
444
443
|
pageParams: o
|
|
445
444
|
};
|
|
@@ -447,7 +446,7 @@ function ei(e) {
|
|
|
447
446
|
} else {
|
|
448
447
|
let t = e ?? a.length;
|
|
449
448
|
do {
|
|
450
|
-
let e = c === 0 ? o[0] ?? r.initialPageParam :
|
|
449
|
+
let e = c === 0 ? o[0] ?? r.initialPageParam : Zi(r, s);
|
|
451
450
|
if (c > 0 && e == null) break;
|
|
452
451
|
s = await d(s, e), c++;
|
|
453
452
|
} while (c < t);
|
|
@@ -462,16 +461,16 @@ function ei(e) {
|
|
|
462
461
|
}, n) : l;
|
|
463
462
|
} };
|
|
464
463
|
}
|
|
465
|
-
function
|
|
464
|
+
function Zi(e, { pages: t, pageParams: n }) {
|
|
466
465
|
let r = t.length - 1;
|
|
467
466
|
return t.length > 0 ? e.getNextPageParam(t[r], t, n[r], n) : void 0;
|
|
468
467
|
}
|
|
469
|
-
function
|
|
468
|
+
function Qi(e, { pages: t, pageParams: n }) {
|
|
470
469
|
return t.length > 0 ? e.getPreviousPageParam?.(t[0], t, n[0], n) : void 0;
|
|
471
470
|
}
|
|
472
471
|
//#endregion
|
|
473
472
|
//#region node_modules/@tanstack/query-core/build/modern/query.js
|
|
474
|
-
var
|
|
473
|
+
var $i = class extends Yi {
|
|
475
474
|
#e;
|
|
476
475
|
#t;
|
|
477
476
|
#n;
|
|
@@ -481,7 +480,7 @@ var ri = class extends $r {
|
|
|
481
480
|
#o;
|
|
482
481
|
#s;
|
|
483
482
|
constructor(e) {
|
|
484
|
-
super(), this.#s = !1, this.#o = e.defaultOptions, this.setOptions(e.options), this.observers = [], this.#i = e.client, this.#r = this.#i.getQueryCache(), this.queryKey = e.queryKey, this.queryHash = e.queryHash, this.#t =
|
|
483
|
+
super(), this.#s = !1, this.#o = e.defaultOptions, this.setOptions(e.options), this.observers = [], this.#i = e.client, this.#r = this.#i.getQueryCache(), this.queryKey = e.queryKey, this.queryHash = e.queryHash, this.#t = na(this.options), this.state = e.state ?? this.#t, this.scheduleGc();
|
|
485
484
|
}
|
|
486
485
|
get meta() {
|
|
487
486
|
return this.options.meta;
|
|
@@ -497,15 +496,15 @@ var ri = class extends $r {
|
|
|
497
496
|
...this.#o,
|
|
498
497
|
...e
|
|
499
498
|
}, e?._type && (this.#e = e._type), this.updateGcTime(this.options.gcTime), this.state && this.state.data === void 0) {
|
|
500
|
-
let e =
|
|
501
|
-
e.data !== void 0 && (this.setState(
|
|
499
|
+
let e = na(this.options);
|
|
500
|
+
e.data !== void 0 && (this.setState(ta(e.data, e.dataUpdatedAt)), this.#t = e);
|
|
502
501
|
}
|
|
503
502
|
}
|
|
504
503
|
optionalRemove() {
|
|
505
504
|
!this.observers.length && this.state.fetchStatus === "idle" && this.#r.remove(this);
|
|
506
505
|
}
|
|
507
506
|
setData(e, t) {
|
|
508
|
-
let n =
|
|
507
|
+
let n = Fi(this.state.data, e, this.options);
|
|
509
508
|
return this.#l({
|
|
510
509
|
data: n,
|
|
511
510
|
type: "success",
|
|
@@ -521,7 +520,7 @@ var ri = class extends $r {
|
|
|
521
520
|
}
|
|
522
521
|
cancel(e) {
|
|
523
522
|
let t = this.#a?.promise;
|
|
524
|
-
return this.#a?.cancel(e), t ? t.then(
|
|
523
|
+
return this.#a?.cancel(e), t ? t.then(B).catch(B) : Promise.resolve();
|
|
525
524
|
}
|
|
526
525
|
destroy() {
|
|
527
526
|
super.destroy(), this.cancel({ silent: !0 });
|
|
@@ -533,22 +532,22 @@ var ri = class extends $r {
|
|
|
533
532
|
this.destroy(), this.setState(this.resetState);
|
|
534
533
|
}
|
|
535
534
|
isActive() {
|
|
536
|
-
return this.observers.some((e) =>
|
|
535
|
+
return this.observers.some((e) => Ti(e.options.enabled, this) !== !1);
|
|
537
536
|
}
|
|
538
537
|
isDisabled() {
|
|
539
|
-
return this.getObserversCount() > 0 ? !this.isActive() : this.options.queryFn ===
|
|
538
|
+
return this.getObserversCount() > 0 ? !this.isActive() : this.options.queryFn === Ri || !this.isFetched();
|
|
540
539
|
}
|
|
541
540
|
isFetched() {
|
|
542
541
|
return this.state.dataUpdateCount + this.state.errorUpdateCount > 0;
|
|
543
542
|
}
|
|
544
543
|
isStatic() {
|
|
545
|
-
return this.getObserversCount() > 0 && this.observers.some((e) =>
|
|
544
|
+
return this.getObserversCount() > 0 && this.observers.some((e) => wi(e.options.staleTime, this) === "static");
|
|
546
545
|
}
|
|
547
546
|
isStale() {
|
|
548
547
|
return this.getObserversCount() > 0 ? this.observers.some((e) => e.getCurrentResult().isStale) : this.state.data === void 0 || this.state.isInvalidated;
|
|
549
548
|
}
|
|
550
549
|
isStaleByTime(e = 0) {
|
|
551
|
-
return this.state.data === void 0 ? !0 : e === "static" ? !1 : this.state.isInvalidated ? !0 : !
|
|
550
|
+
return this.state.data === void 0 ? !0 : e === "static" ? !1 : this.state.isInvalidated ? !0 : !Ci(this.state.dataUpdatedAt, e);
|
|
552
551
|
}
|
|
553
552
|
onFocus() {
|
|
554
553
|
this.observers.find((e) => e.shouldFetchOnWindowFocus())?.refetch({ cancelRefetch: !1 }), this.#a?.continue();
|
|
@@ -595,7 +594,7 @@ var ri = class extends $r {
|
|
|
595
594
|
get: () => (this.#s = !0, n.signal)
|
|
596
595
|
});
|
|
597
596
|
}, i = () => {
|
|
598
|
-
let e =
|
|
597
|
+
let e = zi(this.options, t), n = (() => {
|
|
599
598
|
let e = {
|
|
600
599
|
client: this.#i,
|
|
601
600
|
queryKey: this.queryKey,
|
|
@@ -615,14 +614,14 @@ var ri = class extends $r {
|
|
|
615
614
|
};
|
|
616
615
|
return r(e), e;
|
|
617
616
|
})();
|
|
618
|
-
(this.#e === "infinite" ?
|
|
617
|
+
(this.#e === "infinite" ? Xi(this.options.pages) : this.options.behavior)?.onFetch(a, this), this.#n = this.state, (this.state.fetchStatus === "idle" || this.state.fetchMeta !== a.fetchOptions?.meta) && this.#l({
|
|
619
618
|
type: "fetch",
|
|
620
619
|
meta: a.fetchOptions?.meta
|
|
621
|
-
}), this.#a =
|
|
620
|
+
}), this.#a = Ji({
|
|
622
621
|
initialPromise: t?.initialPromise,
|
|
623
622
|
fn: a.fetchFn,
|
|
624
623
|
onCancel: (e) => {
|
|
625
|
-
e instanceof
|
|
624
|
+
e instanceof qi && e.revert && this.setState({
|
|
626
625
|
...this.#n,
|
|
627
626
|
fetchStatus: "idle"
|
|
628
627
|
}), n.abort();
|
|
@@ -650,7 +649,7 @@ var ri = class extends $r {
|
|
|
650
649
|
if (e === void 0) throw process.env.NODE_ENV !== "production" && console.error(`Query data cannot be undefined. Please make sure to return a value other than undefined from your query function. Affected query key: ${this.queryHash}`), Error(`${this.queryHash} data is undefined`);
|
|
651
650
|
return this.setData(e), this.#r.config.onSuccess?.(e, this), this.#r.config.onSettled?.(e, this.state.error, this), e;
|
|
652
651
|
} catch (e) {
|
|
653
|
-
if (e instanceof
|
|
652
|
+
if (e instanceof qi) {
|
|
654
653
|
if (e.silent) return this.#a.promise;
|
|
655
654
|
if (e.revert) {
|
|
656
655
|
if (this.state.data === void 0) throw e;
|
|
@@ -683,13 +682,13 @@ var ri = class extends $r {
|
|
|
683
682
|
};
|
|
684
683
|
case "fetch": return {
|
|
685
684
|
...t,
|
|
686
|
-
...
|
|
685
|
+
...ea(t.data, this.options),
|
|
687
686
|
fetchMeta: e.meta ?? null
|
|
688
687
|
};
|
|
689
688
|
case "success":
|
|
690
689
|
let n = {
|
|
691
690
|
...t,
|
|
692
|
-
...
|
|
691
|
+
...ta(e.data, e.dataUpdatedAt),
|
|
693
692
|
dataUpdateCount: t.dataUpdateCount + 1,
|
|
694
693
|
...!e.manual && {
|
|
695
694
|
fetchStatus: "idle",
|
|
@@ -721,7 +720,7 @@ var ri = class extends $r {
|
|
|
721
720
|
};
|
|
722
721
|
}
|
|
723
722
|
};
|
|
724
|
-
this.state = t(this.state),
|
|
723
|
+
this.state = t(this.state), U.batch(() => {
|
|
725
724
|
this.observers.forEach((e) => {
|
|
726
725
|
e.onQueryUpdate();
|
|
727
726
|
}), this.#r.notify({
|
|
@@ -732,18 +731,18 @@ var ri = class extends $r {
|
|
|
732
731
|
});
|
|
733
732
|
}
|
|
734
733
|
};
|
|
735
|
-
function
|
|
734
|
+
function ea(e, t) {
|
|
736
735
|
return {
|
|
737
736
|
fetchFailureCount: 0,
|
|
738
737
|
fetchFailureReason: null,
|
|
739
|
-
fetchStatus:
|
|
738
|
+
fetchStatus: Ki(t.networkMode) ? "fetching" : "paused",
|
|
740
739
|
...e === void 0 && {
|
|
741
740
|
error: null,
|
|
742
741
|
status: "pending"
|
|
743
742
|
}
|
|
744
743
|
};
|
|
745
744
|
}
|
|
746
|
-
function
|
|
745
|
+
function ta(e, t) {
|
|
747
746
|
return {
|
|
748
747
|
data: e,
|
|
749
748
|
dataUpdatedAt: t ?? Date.now(),
|
|
@@ -752,7 +751,7 @@ function ai(e, t) {
|
|
|
752
751
|
status: "success"
|
|
753
752
|
};
|
|
754
753
|
}
|
|
755
|
-
function
|
|
754
|
+
function na(e) {
|
|
756
755
|
let t = typeof e.initialData == "function" ? e.initialData() : e.initialData, n = t !== void 0, r = n ? typeof e.initialDataUpdatedAt == "function" ? e.initialDataUpdatedAt() : e.initialDataUpdatedAt : 0;
|
|
757
756
|
return {
|
|
758
757
|
data: t,
|
|
@@ -771,13 +770,13 @@ function oi(e) {
|
|
|
771
770
|
}
|
|
772
771
|
//#endregion
|
|
773
772
|
//#region node_modules/@tanstack/query-core/build/modern/mutation.js
|
|
774
|
-
var
|
|
773
|
+
var ra = class extends Yi {
|
|
775
774
|
#e;
|
|
776
775
|
#t;
|
|
777
776
|
#n;
|
|
778
777
|
#r;
|
|
779
778
|
constructor(e) {
|
|
780
|
-
super(), this.#e = e.client, this.mutationId = e.mutationId, this.#n = e.mutationCache, this.#t = [], this.state = e.state ||
|
|
779
|
+
super(), this.#e = e.client, this.mutationId = e.mutationId, this.#n = e.mutationCache, this.#t = [], this.state = e.state || ia(), this.setOptions(e.options), this.scheduleGc();
|
|
781
780
|
}
|
|
782
781
|
setOptions(e) {
|
|
783
782
|
this.options = e, this.updateGcTime(this.options.gcTime);
|
|
@@ -813,7 +812,7 @@ var si = class extends $r {
|
|
|
813
812
|
meta: this.options.meta,
|
|
814
813
|
mutationKey: this.options.mutationKey
|
|
815
814
|
};
|
|
816
|
-
this.#r =
|
|
815
|
+
this.#r = Ji({
|
|
817
816
|
fn: () => this.options.mutationFn ? this.options.mutationFn(e, n) : Promise.reject(/* @__PURE__ */ Error("No mutationFn found")),
|
|
818
817
|
onFail: (e, t) => {
|
|
819
818
|
this.#i({
|
|
@@ -930,7 +929,7 @@ var si = class extends $r {
|
|
|
930
929
|
};
|
|
931
930
|
}
|
|
932
931
|
};
|
|
933
|
-
this.state = t(this.state),
|
|
932
|
+
this.state = t(this.state), U.batch(() => {
|
|
934
933
|
this.#t.forEach((t) => {
|
|
935
934
|
t.onMutationUpdate(e);
|
|
936
935
|
}), this.#n.notify({
|
|
@@ -941,7 +940,7 @@ var si = class extends $r {
|
|
|
941
940
|
});
|
|
942
941
|
}
|
|
943
942
|
};
|
|
944
|
-
function
|
|
943
|
+
function ia() {
|
|
945
944
|
return {
|
|
946
945
|
context: void 0,
|
|
947
946
|
data: void 0,
|
|
@@ -956,7 +955,7 @@ function ci() {
|
|
|
956
955
|
}
|
|
957
956
|
//#endregion
|
|
958
957
|
//#region node_modules/@tanstack/query-core/build/modern/mutationCache.js
|
|
959
|
-
var
|
|
958
|
+
var aa = class extends hi {
|
|
960
959
|
constructor(e = {}) {
|
|
961
960
|
super(), this.config = e, this.#e = /* @__PURE__ */ new Set(), this.#t = /* @__PURE__ */ new Map(), this.#n = 0;
|
|
962
961
|
}
|
|
@@ -964,7 +963,7 @@ var li = class extends yr {
|
|
|
964
963
|
#t;
|
|
965
964
|
#n;
|
|
966
965
|
build(e, t, n) {
|
|
967
|
-
let r = new
|
|
966
|
+
let r = new ra({
|
|
968
967
|
client: e,
|
|
969
968
|
mutationCache: this,
|
|
970
969
|
mutationId: ++this.#n,
|
|
@@ -975,7 +974,7 @@ var li = class extends yr {
|
|
|
975
974
|
}
|
|
976
975
|
add(e) {
|
|
977
976
|
this.#e.add(e);
|
|
978
|
-
let t =
|
|
977
|
+
let t = oa(e);
|
|
979
978
|
if (typeof t == "string") {
|
|
980
979
|
let n = this.#t.get(t);
|
|
981
980
|
n ? n.push(e) : this.#t.set(t, [e]);
|
|
@@ -987,7 +986,7 @@ var li = class extends yr {
|
|
|
987
986
|
}
|
|
988
987
|
remove(e) {
|
|
989
988
|
if (this.#e.delete(e)) {
|
|
990
|
-
let t =
|
|
989
|
+
let t = oa(e);
|
|
991
990
|
if (typeof t == "string") {
|
|
992
991
|
let n = this.#t.get(t);
|
|
993
992
|
if (n) {
|
|
@@ -1004,7 +1003,7 @@ var li = class extends yr {
|
|
|
1004
1003
|
});
|
|
1005
1004
|
}
|
|
1006
1005
|
canRun(e) {
|
|
1007
|
-
let t =
|
|
1006
|
+
let t = oa(e);
|
|
1008
1007
|
if (typeof t == "string") {
|
|
1009
1008
|
let n = this.#t.get(t)?.find((e) => e.state.status === "pending");
|
|
1010
1009
|
return !n || n === e;
|
|
@@ -1012,11 +1011,11 @@ var li = class extends yr {
|
|
|
1012
1011
|
return !0;
|
|
1013
1012
|
}
|
|
1014
1013
|
runNext(e) {
|
|
1015
|
-
let t =
|
|
1014
|
+
let t = oa(e);
|
|
1016
1015
|
return typeof t == "string" ? (this.#t.get(t)?.find((t) => t !== e && t.state.isPaused))?.continue() ?? Promise.resolve() : Promise.resolve();
|
|
1017
1016
|
}
|
|
1018
1017
|
clear() {
|
|
1019
|
-
|
|
1018
|
+
U.batch(() => {
|
|
1020
1019
|
this.#e.forEach((e) => {
|
|
1021
1020
|
this.notify({
|
|
1022
1021
|
type: "removed",
|
|
@@ -1033,13 +1032,13 @@ var li = class extends yr {
|
|
|
1033
1032
|
exact: !0,
|
|
1034
1033
|
...e
|
|
1035
1034
|
};
|
|
1036
|
-
return this.getAll().find((e) =>
|
|
1035
|
+
return this.getAll().find((e) => Di(t, e));
|
|
1037
1036
|
}
|
|
1038
1037
|
findAll(e = {}) {
|
|
1039
|
-
return this.getAll().filter((t) =>
|
|
1038
|
+
return this.getAll().filter((t) => Di(e, t));
|
|
1040
1039
|
}
|
|
1041
1040
|
notify(e) {
|
|
1042
|
-
|
|
1041
|
+
U.batch(() => {
|
|
1043
1042
|
this.listeners.forEach((t) => {
|
|
1044
1043
|
t(e);
|
|
1045
1044
|
});
|
|
@@ -1047,22 +1046,22 @@ var li = class extends yr {
|
|
|
1047
1046
|
}
|
|
1048
1047
|
resumePausedMutations() {
|
|
1049
1048
|
let e = this.getAll().filter((e) => e.state.isPaused);
|
|
1050
|
-
return
|
|
1049
|
+
return U.batch(() => Promise.all(e.map((e) => e.continue().catch(B))));
|
|
1051
1050
|
}
|
|
1052
1051
|
};
|
|
1053
|
-
function
|
|
1052
|
+
function oa(e) {
|
|
1054
1053
|
return e.options.scope?.id;
|
|
1055
1054
|
}
|
|
1056
1055
|
//#endregion
|
|
1057
1056
|
//#region node_modules/@tanstack/query-core/build/modern/queryCache.js
|
|
1058
|
-
var
|
|
1057
|
+
var sa = class extends hi {
|
|
1059
1058
|
constructor(e = {}) {
|
|
1060
1059
|
super(), this.config = e, this.#e = /* @__PURE__ */ new Map();
|
|
1061
1060
|
}
|
|
1062
1061
|
#e;
|
|
1063
1062
|
build(e, t, n) {
|
|
1064
|
-
let r = t.queryKey, i = t.queryHash ??
|
|
1065
|
-
return a || (a = new
|
|
1063
|
+
let r = t.queryKey, i = t.queryHash ?? Oi(r, t), a = this.get(i);
|
|
1064
|
+
return a || (a = new $i({
|
|
1066
1065
|
client: e,
|
|
1067
1066
|
queryKey: r,
|
|
1068
1067
|
queryHash: i,
|
|
@@ -1085,7 +1084,7 @@ var di = class extends yr {
|
|
|
1085
1084
|
}));
|
|
1086
1085
|
}
|
|
1087
1086
|
clear() {
|
|
1088
|
-
|
|
1087
|
+
U.batch(() => {
|
|
1089
1088
|
this.getAll().forEach((e) => {
|
|
1090
1089
|
this.remove(e);
|
|
1091
1090
|
});
|
|
@@ -1102,34 +1101,34 @@ var di = class extends yr {
|
|
|
1102
1101
|
exact: !0,
|
|
1103
1102
|
...e
|
|
1104
1103
|
};
|
|
1105
|
-
return this.getAll().find((e) =>
|
|
1104
|
+
return this.getAll().find((e) => Ei(t, e));
|
|
1106
1105
|
}
|
|
1107
1106
|
findAll(e = {}) {
|
|
1108
1107
|
let t = this.getAll();
|
|
1109
|
-
return Object.keys(e).length > 0 ? t.filter((t) =>
|
|
1108
|
+
return Object.keys(e).length > 0 ? t.filter((t) => Ei(e, t)) : t;
|
|
1110
1109
|
}
|
|
1111
1110
|
notify(e) {
|
|
1112
|
-
|
|
1111
|
+
U.batch(() => {
|
|
1113
1112
|
this.listeners.forEach((t) => {
|
|
1114
1113
|
t(e);
|
|
1115
1114
|
});
|
|
1116
1115
|
});
|
|
1117
1116
|
}
|
|
1118
1117
|
onFocus() {
|
|
1119
|
-
|
|
1118
|
+
U.batch(() => {
|
|
1120
1119
|
this.getAll().forEach((e) => {
|
|
1121
1120
|
e.onFocus();
|
|
1122
1121
|
});
|
|
1123
1122
|
});
|
|
1124
1123
|
}
|
|
1125
1124
|
onOnline() {
|
|
1126
|
-
|
|
1125
|
+
U.batch(() => {
|
|
1127
1126
|
this.getAll().forEach((e) => {
|
|
1128
1127
|
e.onOnline();
|
|
1129
1128
|
});
|
|
1130
1129
|
});
|
|
1131
1130
|
}
|
|
1132
|
-
},
|
|
1131
|
+
}, ca = class {
|
|
1133
1132
|
#e;
|
|
1134
1133
|
#t;
|
|
1135
1134
|
#n;
|
|
@@ -1139,12 +1138,12 @@ var di = class extends yr {
|
|
|
1139
1138
|
#o;
|
|
1140
1139
|
#s;
|
|
1141
1140
|
constructor(e = {}) {
|
|
1142
|
-
this.#e = e.queryCache || new
|
|
1141
|
+
this.#e = e.queryCache || new sa(), this.#t = e.mutationCache || new aa(), this.#n = e.defaultOptions || {}, this.#r = /* @__PURE__ */ new Map(), this.#i = /* @__PURE__ */ new Map(), this.#a = 0;
|
|
1143
1142
|
}
|
|
1144
1143
|
mount() {
|
|
1145
|
-
this.#a++, this.#a === 1 && (this.#o =
|
|
1144
|
+
this.#a++, this.#a === 1 && (this.#o = gi.subscribe(async (e) => {
|
|
1146
1145
|
e && (await this.resumePausedMutations(), this.#e.onFocus());
|
|
1147
|
-
}), this.#s =
|
|
1146
|
+
}), this.#s = W.subscribe(async (e) => {
|
|
1148
1147
|
e && (await this.resumePausedMutations(), this.#e.onOnline());
|
|
1149
1148
|
}));
|
|
1150
1149
|
}
|
|
@@ -1169,20 +1168,20 @@ var di = class extends yr {
|
|
|
1169
1168
|
}
|
|
1170
1169
|
ensureQueryData(e) {
|
|
1171
1170
|
let t = this.defaultQueryOptions(e), n = this.#e.build(this, t), r = n.state.data;
|
|
1172
|
-
return r === void 0 ? this.fetchQuery(e) : (e.revalidateIfStale && n.isStaleByTime(
|
|
1171
|
+
return r === void 0 ? this.fetchQuery(e) : (e.revalidateIfStale && n.isStaleByTime(wi(t.staleTime, n)) && this.prefetchQuery(t), Promise.resolve(r));
|
|
1173
1172
|
}
|
|
1174
1173
|
getQueriesData(e) {
|
|
1175
1174
|
return this.#e.findAll(e).map(({ queryKey: e, state: t }) => [e, t.data]);
|
|
1176
1175
|
}
|
|
1177
1176
|
setQueryData(e, t, n) {
|
|
1178
|
-
let r = this.defaultQueryOptions({ queryKey: e }), i = this.#e.get(r.queryHash)?.state.data, a =
|
|
1177
|
+
let r = this.defaultQueryOptions({ queryKey: e }), i = this.#e.get(r.queryHash)?.state.data, a = xi(t, i);
|
|
1179
1178
|
if (a !== void 0) return this.#e.build(this, r).setData(a, {
|
|
1180
1179
|
...n,
|
|
1181
1180
|
manual: !0
|
|
1182
1181
|
});
|
|
1183
1182
|
}
|
|
1184
1183
|
setQueriesData(e, t, n) {
|
|
1185
|
-
return
|
|
1184
|
+
return U.batch(() => this.#e.findAll(e).map(({ queryKey: e }) => [e, this.setQueryData(e, t, n)]));
|
|
1186
1185
|
}
|
|
1187
1186
|
getQueryState(e) {
|
|
1188
1187
|
let t = this.defaultQueryOptions({ queryKey: e });
|
|
@@ -1190,7 +1189,7 @@ var di = class extends yr {
|
|
|
1190
1189
|
}
|
|
1191
1190
|
removeQueries(e) {
|
|
1192
1191
|
let t = this.#e;
|
|
1193
|
-
|
|
1192
|
+
U.batch(() => {
|
|
1194
1193
|
t.findAll(e).forEach((e) => {
|
|
1195
1194
|
t.remove(e);
|
|
1196
1195
|
});
|
|
@@ -1198,7 +1197,7 @@ var di = class extends yr {
|
|
|
1198
1197
|
}
|
|
1199
1198
|
resetQueries(e, t) {
|
|
1200
1199
|
let n = this.#e;
|
|
1201
|
-
return
|
|
1200
|
+
return U.batch(() => (n.findAll(e).forEach((e) => {
|
|
1202
1201
|
e.reset();
|
|
1203
1202
|
}), this.refetchQueries({
|
|
1204
1203
|
type: "active",
|
|
@@ -1209,11 +1208,11 @@ var di = class extends yr {
|
|
|
1209
1208
|
let n = {
|
|
1210
1209
|
revert: !0,
|
|
1211
1210
|
...t
|
|
1212
|
-
}, r =
|
|
1213
|
-
return Promise.all(r).then(
|
|
1211
|
+
}, r = U.batch(() => this.#e.findAll(e).map((e) => e.cancel(n)));
|
|
1212
|
+
return Promise.all(r).then(B).catch(B);
|
|
1214
1213
|
}
|
|
1215
1214
|
invalidateQueries(e, t = {}) {
|
|
1216
|
-
return
|
|
1215
|
+
return U.batch(() => (this.#e.findAll(e).forEach((e) => {
|
|
1217
1216
|
e.invalidate();
|
|
1218
1217
|
}), e?.refetchType === "none" ? Promise.resolve() : this.refetchQueries({
|
|
1219
1218
|
...e,
|
|
@@ -1224,32 +1223,32 @@ var di = class extends yr {
|
|
|
1224
1223
|
let n = {
|
|
1225
1224
|
...t,
|
|
1226
1225
|
cancelRefetch: t.cancelRefetch ?? !0
|
|
1227
|
-
}, r =
|
|
1226
|
+
}, r = U.batch(() => this.#e.findAll(e).filter((e) => !e.isDisabled() && !e.isStatic()).map((e) => {
|
|
1228
1227
|
let t = e.fetch(void 0, n);
|
|
1229
|
-
return n.throwOnError || (t = t.catch(
|
|
1228
|
+
return n.throwOnError || (t = t.catch(B)), e.state.fetchStatus === "paused" ? Promise.resolve() : t;
|
|
1230
1229
|
}));
|
|
1231
|
-
return Promise.all(r).then(
|
|
1230
|
+
return Promise.all(r).then(B);
|
|
1232
1231
|
}
|
|
1233
1232
|
fetchQuery(e) {
|
|
1234
1233
|
let t = this.defaultQueryOptions(e);
|
|
1235
1234
|
t.retry === void 0 && (t.retry = !1);
|
|
1236
1235
|
let n = this.#e.build(this, t);
|
|
1237
|
-
return n.isStaleByTime(
|
|
1236
|
+
return n.isStaleByTime(wi(t.staleTime, n)) ? n.fetch(t) : Promise.resolve(n.state.data);
|
|
1238
1237
|
}
|
|
1239
1238
|
prefetchQuery(e) {
|
|
1240
|
-
return this.fetchQuery(e).then(
|
|
1239
|
+
return this.fetchQuery(e).then(B).catch(B);
|
|
1241
1240
|
}
|
|
1242
1241
|
fetchInfiniteQuery(e) {
|
|
1243
1242
|
return e._type = "infinite", this.fetchQuery(e);
|
|
1244
1243
|
}
|
|
1245
1244
|
prefetchInfiniteQuery(e) {
|
|
1246
|
-
return this.fetchInfiniteQuery(e).then(
|
|
1245
|
+
return this.fetchInfiniteQuery(e).then(B).catch(B);
|
|
1247
1246
|
}
|
|
1248
1247
|
ensureInfiniteQueryData(e) {
|
|
1249
1248
|
return e._type = "infinite", this.ensureQueryData(e);
|
|
1250
1249
|
}
|
|
1251
1250
|
resumePausedMutations() {
|
|
1252
|
-
return
|
|
1251
|
+
return W.isOnline() ? this.#t.resumePausedMutations() : Promise.resolve();
|
|
1253
1252
|
}
|
|
1254
1253
|
getQueryCache() {
|
|
1255
1254
|
return this.#e;
|
|
@@ -1264,7 +1263,7 @@ var di = class extends yr {
|
|
|
1264
1263
|
this.#n = e;
|
|
1265
1264
|
}
|
|
1266
1265
|
setQueryDefaults(e, t) {
|
|
1267
|
-
this.#r.set(
|
|
1266
|
+
this.#r.set(V(e), {
|
|
1268
1267
|
queryKey: e,
|
|
1269
1268
|
defaultOptions: t
|
|
1270
1269
|
});
|
|
@@ -1272,11 +1271,11 @@ var di = class extends yr {
|
|
|
1272
1271
|
getQueryDefaults(e) {
|
|
1273
1272
|
let t = [...this.#r.values()], n = {};
|
|
1274
1273
|
return t.forEach((t) => {
|
|
1275
|
-
|
|
1274
|
+
H(e, t.queryKey) && Object.assign(n, t.defaultOptions);
|
|
1276
1275
|
}), n;
|
|
1277
1276
|
}
|
|
1278
1277
|
setMutationDefaults(e, t) {
|
|
1279
|
-
this.#i.set(
|
|
1278
|
+
this.#i.set(V(e), {
|
|
1280
1279
|
mutationKey: e,
|
|
1281
1280
|
defaultOptions: t
|
|
1282
1281
|
});
|
|
@@ -1284,7 +1283,7 @@ var di = class extends yr {
|
|
|
1284
1283
|
getMutationDefaults(e) {
|
|
1285
1284
|
let t = [...this.#i.values()], n = {};
|
|
1286
1285
|
return t.forEach((t) => {
|
|
1287
|
-
|
|
1286
|
+
H(e, t.mutationKey) && Object.assign(n, t.defaultOptions);
|
|
1288
1287
|
}), n;
|
|
1289
1288
|
}
|
|
1290
1289
|
defaultQueryOptions(e) {
|
|
@@ -1295,7 +1294,7 @@ var di = class extends yr {
|
|
|
1295
1294
|
...e,
|
|
1296
1295
|
_defaulted: !0
|
|
1297
1296
|
};
|
|
1298
|
-
return t.queryHash ||=
|
|
1297
|
+
return t.queryHash ||= Oi(t.queryKey, t), t.refetchOnReconnect === void 0 && (t.refetchOnReconnect = t.networkMode !== "always"), t.throwOnError === void 0 && (t.throwOnError = !!t.suspense), !t.networkMode && t.persister && (t.networkMode = "offlineFirst"), t.queryFn === Ri && (t.enabled = !1), t;
|
|
1299
1298
|
}
|
|
1300
1299
|
defaultMutationOptions(e) {
|
|
1301
1300
|
return e?._defaulted ? e : {
|
|
@@ -1308,22 +1307,22 @@ var di = class extends yr {
|
|
|
1308
1307
|
clear() {
|
|
1309
1308
|
this.#e.clear(), this.#t.clear();
|
|
1310
1309
|
}
|
|
1311
|
-
},
|
|
1312
|
-
Vue: () =>
|
|
1310
|
+
}, G = /* @__PURE__ */ e({
|
|
1311
|
+
Vue: () => ni,
|
|
1313
1312
|
Vue2: () => void 0,
|
|
1314
|
-
del: () =>
|
|
1315
|
-
install: () =>
|
|
1313
|
+
del: () => fa,
|
|
1314
|
+
install: () => ua,
|
|
1316
1315
|
isVue2: () => !1,
|
|
1317
1316
|
isVue3: () => !0,
|
|
1318
|
-
set: () =>
|
|
1317
|
+
set: () => da
|
|
1319
1318
|
});
|
|
1320
|
-
import * as
|
|
1321
|
-
t(
|
|
1322
|
-
function
|
|
1323
|
-
function
|
|
1319
|
+
import * as la from "vue";
|
|
1320
|
+
t(G, la);
|
|
1321
|
+
function ua() {}
|
|
1322
|
+
function da(e, t, n) {
|
|
1324
1323
|
return Array.isArray(e) ? (e.length = Math.max(e.length, t), e.splice(t, 1, n), n) : (e[t] = n, n);
|
|
1325
1324
|
}
|
|
1326
|
-
function
|
|
1325
|
+
function fa(e, t) {
|
|
1327
1326
|
if (Array.isArray(e)) {
|
|
1328
1327
|
e.splice(t, 1);
|
|
1329
1328
|
return;
|
|
@@ -1332,100 +1331,100 @@ function gi(e, t) {
|
|
|
1332
1331
|
}
|
|
1333
1332
|
//#endregion
|
|
1334
1333
|
//#region node_modules/@tanstack/vue-query/build/modern/utils.js
|
|
1335
|
-
var
|
|
1336
|
-
function
|
|
1337
|
-
return `${
|
|
1334
|
+
var pa = "VUE_QUERY_CLIENT";
|
|
1335
|
+
function ma(e) {
|
|
1336
|
+
return `${pa}${e ? `:${e}` : ""}`;
|
|
1338
1337
|
}
|
|
1339
|
-
function
|
|
1338
|
+
function ha(e, t, n = "", r = 0) {
|
|
1340
1339
|
if (t) {
|
|
1341
1340
|
let i = t(e, n, r);
|
|
1342
|
-
if (i === void 0 && (0,
|
|
1341
|
+
if (i === void 0 && (0, G.isRef)(e) || i !== void 0) return i;
|
|
1343
1342
|
}
|
|
1344
|
-
if (Array.isArray(e)) return e.map((e, n) =>
|
|
1345
|
-
if (typeof e == "object" &&
|
|
1346
|
-
let n = Object.entries(e).map(([e, n]) => [e,
|
|
1343
|
+
if (Array.isArray(e)) return e.map((e, n) => ha(e, t, String(n), r + 1));
|
|
1344
|
+
if (typeof e == "object" && _a(e)) {
|
|
1345
|
+
let n = Object.entries(e).map(([e, n]) => [e, ha(n, t, e, r + 1)]);
|
|
1347
1346
|
return Object.fromEntries(n);
|
|
1348
1347
|
}
|
|
1349
1348
|
return e;
|
|
1350
1349
|
}
|
|
1351
|
-
function
|
|
1352
|
-
return
|
|
1350
|
+
function ga(e, t) {
|
|
1351
|
+
return ha(e, t);
|
|
1353
1352
|
}
|
|
1354
|
-
function
|
|
1355
|
-
return
|
|
1356
|
-
if (r === 1 && n === "queryKey") return
|
|
1357
|
-
if (t &&
|
|
1358
|
-
if ((0,
|
|
1353
|
+
function K(e, t = !1) {
|
|
1354
|
+
return ga(e, (e, n, r) => {
|
|
1355
|
+
if (r === 1 && n === "queryKey") return K(e, !0);
|
|
1356
|
+
if (t && va(e)) return K(e(), t);
|
|
1357
|
+
if ((0, G.isRef)(e)) return K((0, G.unref)(e), t);
|
|
1359
1358
|
});
|
|
1360
1359
|
}
|
|
1361
|
-
function
|
|
1360
|
+
function _a(e) {
|
|
1362
1361
|
if (Object.prototype.toString.call(e) !== "[object Object]") return !1;
|
|
1363
1362
|
let t = Object.getPrototypeOf(e);
|
|
1364
1363
|
return t === null || t === Object.prototype;
|
|
1365
1364
|
}
|
|
1366
|
-
function
|
|
1365
|
+
function va(e) {
|
|
1367
1366
|
return typeof e == "function";
|
|
1368
1367
|
}
|
|
1369
1368
|
//#endregion
|
|
1370
1369
|
//#region node_modules/@tanstack/vue-query/build/modern/queryCache.js
|
|
1371
|
-
var
|
|
1370
|
+
var ya = class extends sa {
|
|
1372
1371
|
find(e) {
|
|
1373
|
-
return super.find(
|
|
1372
|
+
return super.find(K(e));
|
|
1374
1373
|
}
|
|
1375
1374
|
findAll(e = {}) {
|
|
1376
|
-
return super.findAll(
|
|
1375
|
+
return super.findAll(K(e));
|
|
1377
1376
|
}
|
|
1378
|
-
},
|
|
1377
|
+
}, ba = class extends aa {
|
|
1379
1378
|
find(e) {
|
|
1380
|
-
return super.find(
|
|
1379
|
+
return super.find(K(e));
|
|
1381
1380
|
}
|
|
1382
1381
|
findAll(e = {}) {
|
|
1383
|
-
return super.findAll(
|
|
1382
|
+
return super.findAll(K(e));
|
|
1384
1383
|
}
|
|
1385
|
-
},
|
|
1384
|
+
}, xa = class extends ca {
|
|
1386
1385
|
constructor(e = {}) {
|
|
1387
1386
|
let t = {
|
|
1388
1387
|
defaultOptions: e.defaultOptions,
|
|
1389
|
-
queryCache: e.queryCache || new
|
|
1390
|
-
mutationCache: e.mutationCache || new
|
|
1388
|
+
queryCache: e.queryCache || new ya(),
|
|
1389
|
+
mutationCache: e.mutationCache || new ba()
|
|
1391
1390
|
};
|
|
1392
|
-
super(t), this.isRestoring = (0,
|
|
1391
|
+
super(t), this.isRestoring = (0, G.ref)(!1);
|
|
1393
1392
|
}
|
|
1394
1393
|
isFetching(e = {}) {
|
|
1395
|
-
return super.isFetching(
|
|
1394
|
+
return super.isFetching(K(e));
|
|
1396
1395
|
}
|
|
1397
1396
|
isMutating(e = {}) {
|
|
1398
|
-
return super.isMutating(
|
|
1397
|
+
return super.isMutating(K(e));
|
|
1399
1398
|
}
|
|
1400
1399
|
getQueryData(e) {
|
|
1401
|
-
return super.getQueryData(
|
|
1400
|
+
return super.getQueryData(K(e));
|
|
1402
1401
|
}
|
|
1403
1402
|
ensureQueryData(e) {
|
|
1404
|
-
return super.ensureQueryData(
|
|
1403
|
+
return super.ensureQueryData(K(e));
|
|
1405
1404
|
}
|
|
1406
1405
|
getQueriesData(e) {
|
|
1407
|
-
return super.getQueriesData(
|
|
1406
|
+
return super.getQueriesData(K(e));
|
|
1408
1407
|
}
|
|
1409
1408
|
setQueryData(e, t, n = {}) {
|
|
1410
|
-
return super.setQueryData(
|
|
1409
|
+
return super.setQueryData(K(e), t, K(n));
|
|
1411
1410
|
}
|
|
1412
1411
|
setQueriesData(e, t, n = {}) {
|
|
1413
|
-
return super.setQueriesData(
|
|
1412
|
+
return super.setQueriesData(K(e), t, K(n));
|
|
1414
1413
|
}
|
|
1415
1414
|
getQueryState(e) {
|
|
1416
|
-
return super.getQueryState(
|
|
1415
|
+
return super.getQueryState(K(e));
|
|
1417
1416
|
}
|
|
1418
1417
|
removeQueries(e = {}) {
|
|
1419
|
-
return super.removeQueries(
|
|
1418
|
+
return super.removeQueries(K(e));
|
|
1420
1419
|
}
|
|
1421
1420
|
resetQueries(e = {}, t = {}) {
|
|
1422
|
-
return super.resetQueries(
|
|
1421
|
+
return super.resetQueries(K(e), K(t));
|
|
1423
1422
|
}
|
|
1424
1423
|
cancelQueries(e = {}, t = {}) {
|
|
1425
|
-
return super.cancelQueries(
|
|
1424
|
+
return super.cancelQueries(K(e), K(t));
|
|
1426
1425
|
}
|
|
1427
1426
|
invalidateQueries(e = {}, t = {}) {
|
|
1428
|
-
let n =
|
|
1427
|
+
let n = K(e), r = K(t);
|
|
1429
1428
|
if (super.invalidateQueries({
|
|
1430
1429
|
...n,
|
|
1431
1430
|
refetchType: "none"
|
|
@@ -1434,57 +1433,57 @@ var Ci = class extends di {
|
|
|
1434
1433
|
...n,
|
|
1435
1434
|
type: n.refetchType ?? n.type ?? "active"
|
|
1436
1435
|
};
|
|
1437
|
-
return (0,
|
|
1436
|
+
return (0, G.nextTick)().then(() => super.refetchQueries(i, r));
|
|
1438
1437
|
}
|
|
1439
1438
|
refetchQueries(e = {}, t = {}) {
|
|
1440
|
-
return super.refetchQueries(
|
|
1439
|
+
return super.refetchQueries(K(e), K(t));
|
|
1441
1440
|
}
|
|
1442
1441
|
fetchQuery(e) {
|
|
1443
|
-
return super.fetchQuery(
|
|
1442
|
+
return super.fetchQuery(K(e));
|
|
1444
1443
|
}
|
|
1445
1444
|
prefetchQuery(e) {
|
|
1446
|
-
return super.prefetchQuery(
|
|
1445
|
+
return super.prefetchQuery(K(e));
|
|
1447
1446
|
}
|
|
1448
1447
|
fetchInfiniteQuery(e) {
|
|
1449
|
-
return super.fetchInfiniteQuery(
|
|
1448
|
+
return super.fetchInfiniteQuery(K(e));
|
|
1450
1449
|
}
|
|
1451
1450
|
prefetchInfiniteQuery(e) {
|
|
1452
|
-
return super.prefetchInfiniteQuery(
|
|
1451
|
+
return super.prefetchInfiniteQuery(K(e));
|
|
1453
1452
|
}
|
|
1454
1453
|
setDefaultOptions(e) {
|
|
1455
|
-
super.setDefaultOptions(
|
|
1454
|
+
super.setDefaultOptions(K(e));
|
|
1456
1455
|
}
|
|
1457
1456
|
setQueryDefaults(e, t) {
|
|
1458
|
-
super.setQueryDefaults(
|
|
1457
|
+
super.setQueryDefaults(K(e), K(t));
|
|
1459
1458
|
}
|
|
1460
1459
|
getQueryDefaults(e) {
|
|
1461
|
-
return super.getQueryDefaults(
|
|
1460
|
+
return super.getQueryDefaults(K(e));
|
|
1462
1461
|
}
|
|
1463
1462
|
setMutationDefaults(e, t) {
|
|
1464
|
-
super.setMutationDefaults(
|
|
1463
|
+
super.setMutationDefaults(K(e), K(t));
|
|
1465
1464
|
}
|
|
1466
1465
|
getMutationDefaults(e) {
|
|
1467
|
-
return super.getMutationDefaults(
|
|
1466
|
+
return super.getMutationDefaults(K(e));
|
|
1468
1467
|
}
|
|
1469
1468
|
};
|
|
1470
1469
|
//#endregion
|
|
1471
1470
|
//#region node_modules/@vue/devtools-api/lib/esm/env.js
|
|
1472
|
-
function
|
|
1473
|
-
return
|
|
1471
|
+
function Sa() {
|
|
1472
|
+
return Ca().__VUE_DEVTOOLS_GLOBAL_HOOK__;
|
|
1474
1473
|
}
|
|
1475
|
-
function
|
|
1474
|
+
function Ca() {
|
|
1476
1475
|
return typeof navigator < "u" && typeof window < "u" ? window : typeof globalThis < "u" ? globalThis : {};
|
|
1477
1476
|
}
|
|
1478
|
-
var
|
|
1479
|
-
function
|
|
1480
|
-
return
|
|
1477
|
+
var wa = typeof Proxy == "function", Ta = "devtools-plugin:setup", Ea = "plugin:settings:set", Da, Oa;
|
|
1478
|
+
function ka() {
|
|
1479
|
+
return Da === void 0 && (typeof window < "u" && window.performance ? (Da = !0, Oa = window.performance) : typeof globalThis < "u" && globalThis.perf_hooks?.performance ? (Da = !0, Oa = globalThis.perf_hooks.performance) : Da = !1), Da;
|
|
1481
1480
|
}
|
|
1482
|
-
function
|
|
1483
|
-
return
|
|
1481
|
+
function Aa() {
|
|
1482
|
+
return ka() ? Oa.now() : Date.now();
|
|
1484
1483
|
}
|
|
1485
1484
|
//#endregion
|
|
1486
1485
|
//#region node_modules/@vue/devtools-api/lib/esm/proxy.js
|
|
1487
|
-
var
|
|
1486
|
+
var ja = class {
|
|
1488
1487
|
constructor(e, t) {
|
|
1489
1488
|
this.target = null, this.targetQueue = [], this.onQueue = [], this.plugin = e, this.hook = t;
|
|
1490
1489
|
let n = {};
|
|
@@ -1505,9 +1504,9 @@ var Pi = class {
|
|
|
1505
1504
|
i = e;
|
|
1506
1505
|
},
|
|
1507
1506
|
now() {
|
|
1508
|
-
return
|
|
1507
|
+
return Aa();
|
|
1509
1508
|
}
|
|
1510
|
-
}, t && t.on(
|
|
1509
|
+
}, t && t.on(Ea, (e, t) => {
|
|
1511
1510
|
e === this.plugin.id && this.fallbacks.setSettings(t);
|
|
1512
1511
|
}), this.proxiedOn = new Proxy({}, { get: (e, t) => this.target ? this.target.on[t] : (...e) => {
|
|
1513
1512
|
this.onQueue.push({
|
|
@@ -1534,11 +1533,11 @@ var Pi = class {
|
|
|
1534
1533
|
};
|
|
1535
1534
|
//#endregion
|
|
1536
1535
|
//#region node_modules/@vue/devtools-api/lib/esm/index.js
|
|
1537
|
-
function
|
|
1538
|
-
let n = e, r =
|
|
1539
|
-
if (i && (r.__VUE_DEVTOOLS_PLUGIN_API_AVAILABLE__ || !a)) i.emit(
|
|
1536
|
+
function Ma(e, t) {
|
|
1537
|
+
let n = e, r = Ca(), i = Sa(), a = wa && n.enableEarlyProxy;
|
|
1538
|
+
if (i && (r.__VUE_DEVTOOLS_PLUGIN_API_AVAILABLE__ || !a)) i.emit(Ta, e, t);
|
|
1540
1539
|
else {
|
|
1541
|
-
let e = a ? new
|
|
1540
|
+
let e = a ? new ja(n, i) : null;
|
|
1542
1541
|
(r.__VUE_DEVTOOLS_PLUGINS__ = r.__VUE_DEVTOOLS_PLUGINS__ || []).push({
|
|
1543
1542
|
pluginDescriptor: n,
|
|
1544
1543
|
setupFn: t,
|
|
@@ -1548,7 +1547,7 @@ function Fi(e, t) {
|
|
|
1548
1547
|
}
|
|
1549
1548
|
//#endregion
|
|
1550
1549
|
//#region node_modules/@tanstack/match-sorter-utils/build/lib/index.mjs
|
|
1551
|
-
var
|
|
1550
|
+
var Na = {
|
|
1552
1551
|
À: "A",
|
|
1553
1552
|
Á: "A",
|
|
1554
1553
|
Â: "A",
|
|
@@ -1948,11 +1947,11 @@ var Ii = {
|
|
|
1948
1947
|
x̧: "x",
|
|
1949
1948
|
Z̧: "Z",
|
|
1950
1949
|
z̧: "z"
|
|
1951
|
-
},
|
|
1952
|
-
function
|
|
1953
|
-
return e.replace(
|
|
1950
|
+
}, Pa = Object.keys(Na).join("|"), Fa = new RegExp(Pa, "g");
|
|
1951
|
+
function Ia(e) {
|
|
1952
|
+
return e.replace(Fa, (e) => Na[e]);
|
|
1954
1953
|
}
|
|
1955
|
-
var
|
|
1954
|
+
var q = {
|
|
1956
1955
|
CASE_SENSITIVE_EQUAL: 7,
|
|
1957
1956
|
EQUAL: 6,
|
|
1958
1957
|
STARTS_WITH: 5,
|
|
@@ -1962,9 +1961,9 @@ var G = {
|
|
|
1962
1961
|
MATCHES: 1,
|
|
1963
1962
|
NO_MATCH: 0
|
|
1964
1963
|
};
|
|
1965
|
-
function
|
|
1966
|
-
if (n ||= {}, n.threshold = n.threshold ??
|
|
1967
|
-
let r =
|
|
1964
|
+
function La(e, t, n) {
|
|
1965
|
+
if (n ||= {}, n.threshold = n.threshold ?? q.MATCHES, !n.accessors) {
|
|
1966
|
+
let r = Ra(e, t, n);
|
|
1968
1967
|
return {
|
|
1969
1968
|
rankedValue: e,
|
|
1970
1969
|
rank: r,
|
|
@@ -1973,23 +1972,23 @@ function Bi(e, t, n) {
|
|
|
1973
1972
|
passed: r >= n.threshold
|
|
1974
1973
|
};
|
|
1975
1974
|
}
|
|
1976
|
-
let r =
|
|
1975
|
+
let r = Ua(e, n.accessors), i = {
|
|
1977
1976
|
rankedValue: e,
|
|
1978
|
-
rank:
|
|
1977
|
+
rank: q.NO_MATCH,
|
|
1979
1978
|
accessorIndex: -1,
|
|
1980
1979
|
accessorThreshold: n.threshold,
|
|
1981
1980
|
passed: !1
|
|
1982
1981
|
};
|
|
1983
1982
|
for (let e = 0; e < r.length; e++) {
|
|
1984
|
-
let a = r[e], o =
|
|
1985
|
-
o < s && o >=
|
|
1983
|
+
let a = r[e], o = Ra(a.itemValue, t, n), { minRanking: s, maxRanking: c, threshold: l = n.threshold } = a.attributes;
|
|
1984
|
+
o < s && o >= q.MATCHES ? o = s : o > c && (o = c), o = Math.min(o, c), o >= l && o > i.rank && (i.rank = o, i.passed = !0, i.accessorIndex = e, i.accessorThreshold = l, i.rankedValue = a.itemValue);
|
|
1986
1985
|
}
|
|
1987
1986
|
return i;
|
|
1988
1987
|
}
|
|
1989
|
-
function
|
|
1990
|
-
return e =
|
|
1988
|
+
function Ra(e, t, n) {
|
|
1989
|
+
return e = Va(e, n), t = Va(t, n), t.length > e.length ? q.NO_MATCH : e === t ? q.CASE_SENSITIVE_EQUAL : (e = e.toLowerCase(), t = t.toLowerCase(), e === t ? q.EQUAL : e.startsWith(t) ? q.STARTS_WITH : e.includes(` ${t}`) ? q.WORD_STARTS_WITH : e.includes(t) ? q.CONTAINS : t.length === 1 ? q.NO_MATCH : za(e).includes(t) ? q.ACRONYM : Ba(e, t));
|
|
1991
1990
|
}
|
|
1992
|
-
function
|
|
1991
|
+
function za(e) {
|
|
1993
1992
|
let t = "";
|
|
1994
1993
|
return e.split(" ").forEach((e) => {
|
|
1995
1994
|
e.split("-").forEach((e) => {
|
|
@@ -1997,7 +1996,7 @@ function Hi(e) {
|
|
|
1997
1996
|
});
|
|
1998
1997
|
}), t;
|
|
1999
1998
|
}
|
|
2000
|
-
function
|
|
1999
|
+
function Ba(e, t) {
|
|
2001
2000
|
let n = 0, r = 0;
|
|
2002
2001
|
function i(e, t, r) {
|
|
2003
2002
|
for (let i = r, a = t.length; i < a; i++) if (t[i] === e) return n += 1, i + 1;
|
|
@@ -2005,31 +2004,31 @@ function Ui(e, t) {
|
|
|
2005
2004
|
}
|
|
2006
2005
|
function a(e) {
|
|
2007
2006
|
let r = 1 / e, i = n / t.length;
|
|
2008
|
-
return
|
|
2007
|
+
return q.MATCHES + i * r;
|
|
2009
2008
|
}
|
|
2010
2009
|
let o = i(t[0], e, 0);
|
|
2011
|
-
if (o < 0) return
|
|
2010
|
+
if (o < 0) return q.NO_MATCH;
|
|
2012
2011
|
r = o;
|
|
2013
2012
|
for (let n = 1, a = t.length; n < a; n++) {
|
|
2014
2013
|
let a = t[n];
|
|
2015
|
-
if (r = i(a, e, r), !(r > -1)) return
|
|
2014
|
+
if (r = i(a, e, r), !(r > -1)) return q.NO_MATCH;
|
|
2016
2015
|
}
|
|
2017
2016
|
return a(r - o);
|
|
2018
2017
|
}
|
|
2019
|
-
function
|
|
2018
|
+
function Va(e, t) {
|
|
2020
2019
|
let { keepDiacritics: n } = t;
|
|
2021
|
-
return e = `${e}`, n || (e =
|
|
2020
|
+
return e = `${e}`, n || (e = Ia(e)), e;
|
|
2022
2021
|
}
|
|
2023
|
-
function
|
|
2022
|
+
function Ha(e, t) {
|
|
2024
2023
|
let n = t;
|
|
2025
2024
|
typeof t == "object" && (n = t.accessor);
|
|
2026
2025
|
let r = n(e);
|
|
2027
2026
|
return r == null ? [] : Array.isArray(r) ? r : [String(r)];
|
|
2028
2027
|
}
|
|
2029
|
-
function
|
|
2028
|
+
function Ua(e, t) {
|
|
2030
2029
|
let n = [];
|
|
2031
2030
|
for (let r = 0, i = t.length; r < i; r++) {
|
|
2032
|
-
let i = t[r], a =
|
|
2031
|
+
let i = t[r], a = Ga(i), o = Ha(e, i);
|
|
2033
2032
|
for (let e = 0, t = o.length; e < t; e++) n.push({
|
|
2034
2033
|
itemValue: o[e],
|
|
2035
2034
|
attributes: a
|
|
@@ -2037,41 +2036,41 @@ function Ki(e, t) {
|
|
|
2037
2036
|
}
|
|
2038
2037
|
return n;
|
|
2039
2038
|
}
|
|
2040
|
-
var
|
|
2039
|
+
var Wa = {
|
|
2041
2040
|
maxRanking: Infinity,
|
|
2042
2041
|
minRanking: -Infinity
|
|
2043
2042
|
};
|
|
2044
|
-
function
|
|
2045
|
-
return typeof e == "function" ?
|
|
2046
|
-
...
|
|
2043
|
+
function Ga(e) {
|
|
2044
|
+
return typeof e == "function" ? Wa : {
|
|
2045
|
+
...Wa,
|
|
2047
2046
|
...e
|
|
2048
2047
|
};
|
|
2049
2048
|
}
|
|
2050
2049
|
//#endregion
|
|
2051
2050
|
//#region node_modules/@tanstack/vue-query/build/modern/devtools/utils.js
|
|
2052
|
-
function
|
|
2051
|
+
function J(e) {
|
|
2053
2052
|
return e.state.fetchStatus === "fetching" ? 0 : e.state.fetchStatus === "paused" ? 4 : e.getObserversCount() ? e.isStale() ? 2 : 1 : 3;
|
|
2054
2053
|
}
|
|
2055
|
-
function
|
|
2056
|
-
let t =
|
|
2054
|
+
function Ka(e) {
|
|
2055
|
+
let t = J(e);
|
|
2057
2056
|
return t === 0 ? "fetching" : t === 4 ? "paused" : t === 2 ? "stale" : t === 3 ? "inactive" : "fresh";
|
|
2058
2057
|
}
|
|
2059
|
-
function
|
|
2060
|
-
return
|
|
2058
|
+
function qa(e) {
|
|
2059
|
+
return J(e) === 2 ? 0 : 16777215;
|
|
2061
2060
|
}
|
|
2062
|
-
function
|
|
2063
|
-
let t =
|
|
2061
|
+
function Ja(e) {
|
|
2062
|
+
let t = J(e);
|
|
2064
2063
|
return t === 0 ? 27647 : t === 4 ? 9193963 : t === 2 ? 16757248 : t === 3 ? 4148832 : 33575;
|
|
2065
2064
|
}
|
|
2066
|
-
var
|
|
2067
|
-
"Status > Last Updated": (e, t) =>
|
|
2068
|
-
"Query Hash":
|
|
2069
|
-
"Last Updated":
|
|
2070
|
-
},
|
|
2071
|
-
function
|
|
2072
|
-
|
|
2073
|
-
id:
|
|
2074
|
-
label:
|
|
2065
|
+
var Ya = (e, t) => e.queryHash.localeCompare(t.queryHash), Xa = (e, t) => e.state.dataUpdatedAt < t.state.dataUpdatedAt ? 1 : -1, Za = {
|
|
2066
|
+
"Status > Last Updated": (e, t) => J(e) === J(t) ? Xa(e, t) : J(e) > J(t) ? 1 : -1,
|
|
2067
|
+
"Query Hash": Ya,
|
|
2068
|
+
"Last Updated": Xa
|
|
2069
|
+
}, Y = "vue-query", Qa = "Vue Query";
|
|
2070
|
+
function $a(e, t) {
|
|
2071
|
+
Ma({
|
|
2072
|
+
id: Y,
|
|
2073
|
+
label: Qa,
|
|
2075
2074
|
packageName: "vue-query",
|
|
2076
2075
|
homepage: "https://tanstack.com/query/latest",
|
|
2077
2076
|
logo: "https://raw.githubusercontent.com/TanStack/query/main/packages/vue-query/media/vue-query.svg",
|
|
@@ -2093,11 +2092,11 @@ function na(e, t) {
|
|
|
2093
2092
|
sortFn: {
|
|
2094
2093
|
type: "choice",
|
|
2095
2094
|
label: "Sort Function",
|
|
2096
|
-
options: Object.keys(
|
|
2095
|
+
options: Object.keys(Za).map((e) => ({
|
|
2097
2096
|
label: e,
|
|
2098
2097
|
value: e
|
|
2099
2098
|
})),
|
|
2100
|
-
defaultValue: Object.keys(
|
|
2099
|
+
defaultValue: Object.keys(Za)[0]
|
|
2101
2100
|
},
|
|
2102
2101
|
onlineMode: {
|
|
2103
2102
|
type: "choice",
|
|
@@ -2115,11 +2114,11 @@ function na(e, t) {
|
|
|
2115
2114
|
}
|
|
2116
2115
|
}, (e) => {
|
|
2117
2116
|
let n = e.getSettings();
|
|
2118
|
-
|
|
2117
|
+
W.setOnline(!!n.onlineMode.valueOf());
|
|
2119
2118
|
let r = t.getQueryCache();
|
|
2120
2119
|
e.addInspector({
|
|
2121
|
-
id:
|
|
2122
|
-
label:
|
|
2120
|
+
id: Y,
|
|
2121
|
+
label: Qa,
|
|
2123
2122
|
icon: "api",
|
|
2124
2123
|
nodeActions: [
|
|
2125
2124
|
{
|
|
@@ -2178,16 +2177,16 @@ function na(e, t) {
|
|
|
2178
2177
|
}
|
|
2179
2178
|
]
|
|
2180
2179
|
}), e.addTimelineLayer({
|
|
2181
|
-
id:
|
|
2182
|
-
label:
|
|
2180
|
+
id: Y,
|
|
2181
|
+
label: Qa,
|
|
2183
2182
|
color: 16767308
|
|
2184
2183
|
}), r.subscribe((t) => {
|
|
2185
|
-
e.sendInspectorTree(
|
|
2184
|
+
e.sendInspectorTree(Y), e.sendInspectorState(Y), [
|
|
2186
2185
|
"added",
|
|
2187
2186
|
"removed",
|
|
2188
2187
|
"updated"
|
|
2189
2188
|
].includes(t.type) && e.addTimelineEvent({
|
|
2190
|
-
layerId:
|
|
2189
|
+
layerId: Y,
|
|
2191
2190
|
event: {
|
|
2192
2191
|
title: t.type,
|
|
2193
2192
|
subtitle: t.query.queryHash,
|
|
@@ -2199,25 +2198,25 @@ function na(e, t) {
|
|
|
2199
2198
|
}
|
|
2200
2199
|
});
|
|
2201
2200
|
}), e.on.setPluginSettings((e) => {
|
|
2202
|
-
e.key === "onlineMode" &&
|
|
2201
|
+
e.key === "onlineMode" && W.setOnline(!!e.newValue);
|
|
2203
2202
|
}), e.on.getInspectorTree((t) => {
|
|
2204
|
-
if (t.inspectorId ===
|
|
2203
|
+
if (t.inspectorId === Y) {
|
|
2205
2204
|
let n = r.getAll(), i = e.getSettings();
|
|
2206
|
-
t.rootNodes = (t.filter ? n.filter((e) =>
|
|
2207
|
-
let t =
|
|
2205
|
+
t.rootNodes = (t.filter ? n.filter((e) => La(e.queryHash, t.filter).passed) : [...n]).sort((e, t) => Za[i.sortFn](e, t) * i.baseSort).map((e) => {
|
|
2206
|
+
let t = Ka(e);
|
|
2208
2207
|
return {
|
|
2209
2208
|
id: e.queryHash,
|
|
2210
2209
|
label: e.queryHash,
|
|
2211
2210
|
tags: [{
|
|
2212
2211
|
label: `${t} [${e.getObserversCount()}]`,
|
|
2213
|
-
textColor:
|
|
2214
|
-
backgroundColor:
|
|
2212
|
+
textColor: qa(e),
|
|
2213
|
+
backgroundColor: Ja(e)
|
|
2215
2214
|
}]
|
|
2216
2215
|
};
|
|
2217
2216
|
});
|
|
2218
2217
|
}
|
|
2219
2218
|
}), e.on.getInspectorState((e) => {
|
|
2220
|
-
if (e.inspectorId ===
|
|
2219
|
+
if (e.inspectorId === Y) {
|
|
2221
2220
|
let t = r.get(e.nodeId);
|
|
2222
2221
|
if (!t) return;
|
|
2223
2222
|
e.state = {
|
|
@@ -2228,7 +2227,7 @@ function na(e, t) {
|
|
|
2228
2227
|
},
|
|
2229
2228
|
{
|
|
2230
2229
|
key: "Query status",
|
|
2231
|
-
value:
|
|
2230
|
+
value: Ka(t)
|
|
2232
2231
|
},
|
|
2233
2232
|
{
|
|
2234
2233
|
key: "Observers",
|
|
@@ -2254,9 +2253,9 @@ function na(e, t) {
|
|
|
2254
2253
|
}
|
|
2255
2254
|
//#endregion
|
|
2256
2255
|
//#region node_modules/@tanstack/vue-query/build/modern/vueQueryPlugin.js
|
|
2257
|
-
var
|
|
2258
|
-
let n =
|
|
2259
|
-
r = "queryClient" in t && t.queryClient ? t.queryClient : new
|
|
2256
|
+
var eo = { install: (e, t = {}) => {
|
|
2257
|
+
let n = ma(t.queryClientKey), r;
|
|
2258
|
+
r = "queryClient" in t && t.queryClient ? t.queryClient : new xa("queryClientConfig" in t ? t.queryClientConfig : void 0), Vi.isServer() || r.mount();
|
|
2260
2259
|
let i = () => {};
|
|
2261
2260
|
if (t.clientPersister) {
|
|
2262
2261
|
r.isRestoring && (r.isRestoring.value = !0);
|
|
@@ -2275,17 +2274,17 @@ var ra = { install: (e, t = {}) => {
|
|
|
2275
2274
|
a(), t();
|
|
2276
2275
|
};
|
|
2277
2276
|
}
|
|
2278
|
-
e.provide(n, r), process.env.NODE_ENV === "development" && t.enableDevtoolsV6Plugin &&
|
|
2277
|
+
e.provide(n, r), process.env.NODE_ENV === "development" && t.enableDevtoolsV6Plugin && $a(e, r);
|
|
2279
2278
|
} };
|
|
2280
2279
|
//#endregion
|
|
2281
2280
|
//#region src/web-core/query.ts
|
|
2282
|
-
function
|
|
2283
|
-
return new
|
|
2281
|
+
function to() {
|
|
2282
|
+
return new xa({ defaultOptions: { queries: {
|
|
2284
2283
|
staleTime: 3e4,
|
|
2285
2284
|
refetchOnWindowFocus: !1
|
|
2286
2285
|
} } });
|
|
2287
2286
|
}
|
|
2288
|
-
var
|
|
2287
|
+
var no = {
|
|
2289
2288
|
session: { current: ["session", "current"] },
|
|
2290
2289
|
menu: { mine: ["menu", "mine"] },
|
|
2291
2290
|
staticModule: {
|
|
@@ -2311,7 +2310,7 @@ var aa = {
|
|
|
2311
2310
|
};
|
|
2312
2311
|
//#endregion
|
|
2313
2312
|
//#region src/web-core/businessNotifications.ts
|
|
2314
|
-
function
|
|
2313
|
+
function ro(e, t) {
|
|
2315
2314
|
return e.request({
|
|
2316
2315
|
method: "POST",
|
|
2317
2316
|
path: `/${encodeURIComponent(t.moduleAlias)}/${encodeURIComponent(t.actionCode)}/${encodeURIComponent(t.recordId)}`,
|
|
@@ -2319,68 +2318,149 @@ function oa(e, t) {
|
|
|
2319
2318
|
});
|
|
2320
2319
|
}
|
|
2321
2320
|
//#endregion
|
|
2321
|
+
//#region src/web-core/constructionPlanClient.ts
|
|
2322
|
+
function io(e) {
|
|
2323
|
+
let t = "/platform.application-construction-plans", n = (e) => `${t}/${encodeURIComponent(e)}`;
|
|
2324
|
+
return {
|
|
2325
|
+
designContract: () => e.request({ path: `${t}/design-contract` }),
|
|
2326
|
+
businessObjects: () => e.request({ path: `${t}/business-objects` }),
|
|
2327
|
+
referenceTarget: (n) => e.request({
|
|
2328
|
+
path: `${t}/reference-target`,
|
|
2329
|
+
query: { moduleAlias: n }
|
|
2330
|
+
}),
|
|
2331
|
+
task: (t) => e.request({ path: `${n(t)}/task` }),
|
|
2332
|
+
previewAcceptance: (t, r) => e.request({ path: `${n(t)}/objects/${encodeURIComponent(r)}/acceptance-preview` }),
|
|
2333
|
+
confirmAcceptance: (t, r) => e.request({
|
|
2334
|
+
path: `${n(t)}/acceptances`,
|
|
2335
|
+
method: "POST",
|
|
2336
|
+
body: r
|
|
2337
|
+
}),
|
|
2338
|
+
acceptance: (t, r) => e.request({ path: `${n(t)}/acceptances/${encodeURIComponent(r)}` }),
|
|
2339
|
+
delivery: (t, r) => e.request({ path: `${n(t)}/delivery/${encodeURIComponent(r)}` }),
|
|
2340
|
+
progress: (t, r) => e.request({ path: `${n(t)}/objects/${encodeURIComponent(r)}/progress` }),
|
|
2341
|
+
describeFields: (t, r) => e.request({ path: `${n(t)}/objects/${encodeURIComponent(r)}/fields` }),
|
|
2342
|
+
fieldChange: (t, r) => e.request({ path: `${n(t)}/field-changes/${encodeURIComponent(r)}` }),
|
|
2343
|
+
initialization: (t, r) => e.request({ path: `${n(t)}/initializations/${encodeURIComponent(r)}` }),
|
|
2344
|
+
list: () => e.request({ path: t }),
|
|
2345
|
+
read: (t) => e.request({ path: n(t) }),
|
|
2346
|
+
history: (t) => e.request({ path: `${n(t)}/revisions` }),
|
|
2347
|
+
confirm: (t, r) => e.request({
|
|
2348
|
+
path: `${n(t)}/confirmations`,
|
|
2349
|
+
method: "POST",
|
|
2350
|
+
body: r
|
|
2351
|
+
}),
|
|
2352
|
+
confirmation: (t, r) => e.request({ path: `${n(t)}/confirmations/${encodeURIComponent(r)}` })
|
|
2353
|
+
};
|
|
2354
|
+
}
|
|
2355
|
+
//#endregion
|
|
2356
|
+
//#region src/web-core/assistantConversationClient.ts
|
|
2357
|
+
function ao(e) {
|
|
2358
|
+
let t = "/platform.assistant-conversations";
|
|
2359
|
+
return {
|
|
2360
|
+
lookupOperation: (t) => fe(e, t),
|
|
2361
|
+
list: (n, r) => e.request({
|
|
2362
|
+
path: t,
|
|
2363
|
+
query: {
|
|
2364
|
+
scopeKey: n,
|
|
2365
|
+
page: r
|
|
2366
|
+
}
|
|
2367
|
+
}),
|
|
2368
|
+
read: (n, r) => e.request({
|
|
2369
|
+
path: `${t}/${encodeURIComponent(n)}`,
|
|
2370
|
+
query: { scopeKey: r }
|
|
2371
|
+
}),
|
|
2372
|
+
save: (n, r, i, a) => e.request({
|
|
2373
|
+
path: `${t}/${encodeURIComponent(n)}`,
|
|
2374
|
+
method: "PUT",
|
|
2375
|
+
query: { scopeKey: r },
|
|
2376
|
+
body: {
|
|
2377
|
+
expectedRevision: i,
|
|
2378
|
+
content: a
|
|
2379
|
+
}
|
|
2380
|
+
})
|
|
2381
|
+
};
|
|
2382
|
+
}
|
|
2383
|
+
//#endregion
|
|
2322
2384
|
//#region src/platform-admin-runtime/platformAdminRoutes.ts
|
|
2323
|
-
var
|
|
2385
|
+
var oo = N(() => import("./workspaceViews-BIYGPUAO.js").then((e) => e.n)), so = N(() => import("./BusinessActivityLogView-DVM_GB5y.js")), co = N(() => import("./RequestErrorLogView-C4yH-TSX.js")), lo = N(() => import("./LoginAuditLogView-3tAozKlC.js")), uo = N(() => import("./RuntimeLogView-CoKKpJ39.js")), fo = [
|
|
2386
|
+
{
|
|
2387
|
+
route: "/platform/translations",
|
|
2388
|
+
moduleAlias: "platform.localization",
|
|
2389
|
+
component: N(() => import("./ConfigurationTranslationView-B0FosDyz.js")),
|
|
2390
|
+
layout: "workspace"
|
|
2391
|
+
},
|
|
2392
|
+
{
|
|
2393
|
+
route: "/workflow/admin",
|
|
2394
|
+
moduleAlias: "platform.workflow_admin",
|
|
2395
|
+
component: N(() => import("./WorkflowAdministrationView-DmUV6vWS.js")),
|
|
2396
|
+
layout: "workspace"
|
|
2397
|
+
},
|
|
2398
|
+
{
|
|
2399
|
+
route: "/workflow/workbench",
|
|
2400
|
+
moduleAlias: "iam.workflow_workbench",
|
|
2401
|
+
component: N(() => import("./WorkflowWorkbenchView-BwWxyDen.js")),
|
|
2402
|
+
layout: "workspace"
|
|
2403
|
+
},
|
|
2324
2404
|
{
|
|
2325
2405
|
route: "/platform/logs/runtime",
|
|
2326
2406
|
moduleAlias: "platform.runtime_log",
|
|
2327
|
-
component:
|
|
2407
|
+
component: uo,
|
|
2328
2408
|
layout: "workspace"
|
|
2329
2409
|
},
|
|
2330
2410
|
{
|
|
2331
2411
|
route: "/platform/logs/activity",
|
|
2332
2412
|
moduleAlias: "platform.business_activity_log",
|
|
2333
|
-
component:
|
|
2413
|
+
component: so,
|
|
2334
2414
|
layout: "workspace"
|
|
2335
2415
|
},
|
|
2336
2416
|
{
|
|
2337
2417
|
route: "/platform/logs/errors",
|
|
2338
2418
|
moduleAlias: "platform.request_error_log",
|
|
2339
|
-
component:
|
|
2419
|
+
component: co,
|
|
2340
2420
|
layout: "workspace"
|
|
2341
2421
|
},
|
|
2342
2422
|
{
|
|
2343
2423
|
route: "/iam/logs/login",
|
|
2344
2424
|
moduleAlias: "iam.login_audit_log",
|
|
2345
|
-
component:
|
|
2425
|
+
component: lo,
|
|
2346
2426
|
layout: "workspace"
|
|
2347
2427
|
},
|
|
2348
2428
|
{
|
|
2349
2429
|
route: "/iam/role/authorization",
|
|
2350
2430
|
moduleAlias: "iam.role",
|
|
2351
|
-
component:
|
|
2431
|
+
component: oo,
|
|
2352
2432
|
layout: "workspace",
|
|
2353
2433
|
menuEntry: !1
|
|
2354
2434
|
}
|
|
2355
|
-
],
|
|
2356
|
-
function
|
|
2357
|
-
if (e) return
|
|
2435
|
+
], po = Array.from(/* @__PURE__ */ new Set(["/_platform/workspace", ...fo.map((e) => e.route)])), mo = Object.fromEntries(fo.filter((e) => e.menuEntry !== !1).map((e) => [e.moduleAlias, e.route])), ho = Object.fromEntries(fo.map((e) => [e.route, e.layout]));
|
|
2436
|
+
function go(e) {
|
|
2437
|
+
if (e) return fo.find((t) => vo(t, e.target));
|
|
2358
2438
|
}
|
|
2359
|
-
function
|
|
2360
|
-
return e?.pageType === "business-route" && !!
|
|
2439
|
+
function _o(e) {
|
|
2440
|
+
return e?.pageType === "business-route" && !!go(e);
|
|
2361
2441
|
}
|
|
2362
|
-
function
|
|
2363
|
-
return t.route ?
|
|
2442
|
+
function vo(e, t) {
|
|
2443
|
+
return t.route ? yo(e.route, t.route) && (t.moduleAlias === void 0 || t.moduleAlias === e.moduleAlias) : t.moduleAlias === e.moduleAlias;
|
|
2364
2444
|
}
|
|
2365
|
-
function
|
|
2445
|
+
function yo(e, t) {
|
|
2366
2446
|
let n = e.split("/").filter(Boolean), r = t.split("/").filter(Boolean);
|
|
2367
2447
|
return n.length === r.length && n.every((e, t) => e.startsWith(":") || e === r[t]);
|
|
2368
2448
|
}
|
|
2369
2449
|
//#endregion
|
|
2370
2450
|
//#region src/app/pageRouteContext.ts
|
|
2371
|
-
var
|
|
2372
|
-
function
|
|
2373
|
-
|
|
2451
|
+
var bo = Symbol("page-route");
|
|
2452
|
+
function xo(e) {
|
|
2453
|
+
li(bo, D(e));
|
|
2374
2454
|
}
|
|
2375
2455
|
//#endregion
|
|
2376
2456
|
//#region src/platform-admin-runtime/PlatformAdminOutlet.vue
|
|
2377
|
-
var
|
|
2457
|
+
var So = /* @__PURE__ */ P({
|
|
2378
2458
|
name: "PlatformAdminRouteOutlet",
|
|
2379
2459
|
__name: "PlatformAdminOutlet",
|
|
2380
2460
|
props: { descriptor: {} },
|
|
2381
2461
|
setup(e) {
|
|
2382
|
-
let t = e, n =
|
|
2383
|
-
|
|
2462
|
+
let t = e, n = D(() => go(t.descriptor)), r = D(() => t.descriptor.target.moduleAlias ?? n.value?.moduleAlias), i = D(() => t.descriptor.target.query?.workspacePresentation);
|
|
2463
|
+
dn(D(() => t.descriptor.layout ?? n.value?.layout)), xo(() => {
|
|
2384
2464
|
let e = n.value?.route ?? t.descriptor.target.route ?? "", r = t.descriptor.target.route ?? e;
|
|
2385
2465
|
return {
|
|
2386
2466
|
path: r,
|
|
@@ -2396,22 +2476,56 @@ var ba = /* @__PURE__ */ j({
|
|
|
2396
2476
|
e.startsWith(":") && i[t] && (n[e.slice(1)] = i[t]);
|
|
2397
2477
|
}), n;
|
|
2398
2478
|
}
|
|
2399
|
-
return (t, a) => n.value && r.value ? (
|
|
2479
|
+
return (t, a) => n.value && r.value ? (F(), O(R(Mn), {
|
|
2400
2480
|
key: 0,
|
|
2401
2481
|
"module-alias": r.value
|
|
2402
2482
|
}, {
|
|
2403
|
-
default:
|
|
2483
|
+
default: z(() => [i.value === "drawer" || i.value === "tab" ? (F(), O(R(pe), {
|
|
2404
2484
|
key: 0,
|
|
2405
2485
|
descriptor: e.descriptor
|
|
2406
|
-
}, null, 8, ["descriptor"])) : (
|
|
2486
|
+
}, null, 8, ["descriptor"])) : (F(), O(fi(n.value.component), { key: 1 }))]),
|
|
2407
2487
|
_: 1
|
|
2408
|
-
}, 8, ["module-alias"])) :
|
|
2488
|
+
}, 8, ["module-alias"])) : k("v-if", !0);
|
|
2409
2489
|
}
|
|
2410
|
-
}),
|
|
2411
|
-
function
|
|
2412
|
-
|
|
2490
|
+
}), Co;
|
|
2491
|
+
function wo(e) {
|
|
2492
|
+
Co = e;
|
|
2413
2493
|
}
|
|
2414
|
-
function
|
|
2494
|
+
function To(e, t) {
|
|
2495
|
+
return Co?.(e, t) ?? !1;
|
|
2496
|
+
}
|
|
2497
|
+
//#endregion
|
|
2498
|
+
//#region src/platform-admin-runtime/backendHttp.ts
|
|
2499
|
+
function Eo(e = {}) {
|
|
2500
|
+
let t = () => Dr($n({
|
|
2501
|
+
baseUrl: import.meta.env.VITE_MUYUN_API_BASE_URL,
|
|
2502
|
+
token: e.withAuth === !1 ? void 0 : y(import.meta.env.VITE_MUYUN_AUTH_TOKEN),
|
|
2503
|
+
credentials: Do(import.meta.env.VITE_MUYUN_CREDENTIALS),
|
|
2504
|
+
onAuthenticationRequired: e.withAuth === !1 ? void 0 : (e, t) => To(e, t)
|
|
2505
|
+
}), e.language ?? w);
|
|
2506
|
+
return {
|
|
2507
|
+
async request(e) {
|
|
2508
|
+
let n = await t().request(e), r = pt(n);
|
|
2509
|
+
return r.changeSetId && c.dispatch({
|
|
2510
|
+
changeSetId: r.changeSetId,
|
|
2511
|
+
changes: r.changes
|
|
2512
|
+
}), n;
|
|
2513
|
+
},
|
|
2514
|
+
stream(e) {
|
|
2515
|
+
return t().stream(e);
|
|
2516
|
+
}
|
|
2517
|
+
};
|
|
2518
|
+
}
|
|
2519
|
+
function Do(e) {
|
|
2520
|
+
return e === "include" || e === "omit" || e === "same-origin" ? e : void 0;
|
|
2521
|
+
}
|
|
2522
|
+
//#endregion
|
|
2523
|
+
//#region src/platform-admin-runtime/moduleOpenApi.ts
|
|
2524
|
+
var Oo = /^\/openapi\/([a-z][a-z0-9_]*(?:\.[a-z][a-z0-9_]*)+)\/?$/;
|
|
2525
|
+
function ko(e) {
|
|
2526
|
+
return Oo.exec(e)?.[1];
|
|
2527
|
+
}
|
|
2528
|
+
function Ao(e, t) {
|
|
2415
2529
|
return {
|
|
2416
2530
|
pageType: "platform-route",
|
|
2417
2531
|
openMode: "workbench-route",
|
|
@@ -2428,12 +2542,14 @@ function Ca(e, t) {
|
|
|
2428
2542
|
}
|
|
2429
2543
|
};
|
|
2430
2544
|
}
|
|
2431
|
-
function
|
|
2545
|
+
function jo(e = w) {
|
|
2546
|
+
let t = "platform.screen.OpenApiCatalogView.module-api-directory", n = Xt(t);
|
|
2432
2547
|
return {
|
|
2433
2548
|
pageType: "platform-route",
|
|
2434
2549
|
openMode: "workbench-route",
|
|
2435
2550
|
hostType: "platform-route-host",
|
|
2436
2551
|
title: "开放模块 API",
|
|
2552
|
+
titleText: lt(t, n.originalText, e),
|
|
2437
2553
|
target: { route: "/openapi" },
|
|
2438
2554
|
tabPolicy: {
|
|
2439
2555
|
identity: "by-target",
|
|
@@ -2442,20 +2558,20 @@ function wa() {
|
|
|
2442
2558
|
}
|
|
2443
2559
|
};
|
|
2444
2560
|
}
|
|
2445
|
-
function
|
|
2561
|
+
function Mo(e) {
|
|
2446
2562
|
if (e?.pageType !== "platform-route" || !("route" in e.target)) return !1;
|
|
2447
|
-
let t =
|
|
2563
|
+
let t = ko(e.target.route ?? "");
|
|
2448
2564
|
return t !== void 0 && e.target.moduleAlias === t;
|
|
2449
2565
|
}
|
|
2450
|
-
function
|
|
2566
|
+
function No(e) {
|
|
2451
2567
|
return e === "/openapi" || e === "/openapi/";
|
|
2452
2568
|
}
|
|
2453
2569
|
//#endregion
|
|
2454
2570
|
//#region src/app/workbenchStartup.ts
|
|
2455
|
-
function
|
|
2456
|
-
let i =
|
|
2571
|
+
function Po(e, t, n, r = {}) {
|
|
2572
|
+
let i = x(t, n, r), a = e.find((e) => e.key === i.key);
|
|
2457
2573
|
if (a) {
|
|
2458
|
-
let o = a.pageDescriptor ?
|
|
2574
|
+
let o = a.pageDescriptor ? ns(t, n, a.pageDescriptor, r, a.instanceKey) : i;
|
|
2459
2575
|
return {
|
|
2460
2576
|
tabs: e.map((e) => e.key === i.key ? o : e),
|
|
2461
2577
|
activeTabKey: i.key
|
|
@@ -2466,8 +2582,8 @@ function Da(e, t, n, r = {}) {
|
|
|
2466
2582
|
activeTabKey: i.key
|
|
2467
2583
|
};
|
|
2468
2584
|
}
|
|
2469
|
-
function
|
|
2470
|
-
let r = X(
|
|
2585
|
+
function Fo(e, t, n = {}) {
|
|
2586
|
+
let r = X(S(t), n), i = e.find((e) => e.key === r.key || r.pageDescriptor?.tabPolicy.identity === "by-params" && e.pageDescriptor?.tabPolicy.identity === "by-params" && me(e.pageDescriptor) === me(r.pageDescriptor));
|
|
2471
2587
|
return i ? {
|
|
2472
2588
|
tabs: e,
|
|
2473
2589
|
activeTabKey: i.key,
|
|
@@ -2478,48 +2594,48 @@ function Oa(e, t, n = {}) {
|
|
|
2478
2594
|
created: !0
|
|
2479
2595
|
};
|
|
2480
2596
|
}
|
|
2481
|
-
function
|
|
2482
|
-
return t.menuType === "link" && t.openMode === "window" ? t.externalUrl : C(
|
|
2597
|
+
function Io(e, t, n = {}) {
|
|
2598
|
+
return t.menuType === "link" && t.openMode === "window" ? t.externalUrl : C(Ee(t, {
|
|
2483
2599
|
...n,
|
|
2484
2600
|
title: e.title
|
|
2485
2601
|
}), n);
|
|
2486
2602
|
}
|
|
2487
|
-
function
|
|
2603
|
+
function Lo(e) {
|
|
2488
2604
|
let t = (e.tabs ?? []).find((t) => t.key === e.activeTabKey);
|
|
2489
2605
|
if (t?.fullPath) return t.fullPath;
|
|
2490
|
-
let n = t?.pageDescriptor ?? (t?.target ?
|
|
2491
|
-
return n?.pageType === "platform-route" &&
|
|
2606
|
+
let n = t?.pageDescriptor ?? (t?.target ? Ee(t.target, { title: t.title }) : void 0);
|
|
2607
|
+
return n?.pageType === "platform-route" && Mo(n) && n.target.route ? n.target.route : n ? C(n) : void 0;
|
|
2492
2608
|
}
|
|
2493
|
-
function
|
|
2609
|
+
function Ro(e, t, r = {}, i = !1, a = w) {
|
|
2494
2610
|
if (t === "/" || t === "") return e;
|
|
2495
|
-
let
|
|
2496
|
-
if (!
|
|
2497
|
-
let
|
|
2498
|
-
...
|
|
2499
|
-
title:
|
|
2500
|
-
} :
|
|
2611
|
+
let o = t.split(/[?#]/, 1)[0] ?? "", s = ko(o), c = s ? Ao(s) : No(o) ? jo(a) : We(t, r);
|
|
2612
|
+
if (!c) return e;
|
|
2613
|
+
let l = c.menuId ? ls(e.menus, c.menuId) : void 0, u = l ? b(l) : void 0, d = l && u && Ho(u, c) ? {
|
|
2614
|
+
...c,
|
|
2615
|
+
title: l.title
|
|
2616
|
+
} : c, f = Vo(d, r.title, a), p = f ?? d, m = e.tabs ?? [], h = f ? Bo(m, f) : void 0, g = f ? zo(f, h) : i ? S(p) : p, _ = l && ss(l, g, r) ? l : os(e.menus, g, r), v = _ === l ? u : _ ? b(_) : void 0, y = f ? X(g, r) : _ && v && n(v) ? ns(_, v, g, r, m.find((e) => e.key === `menu:${_.id}`)?.instanceKey) : X(g, r), ee = ts(m, y);
|
|
2501
2617
|
return {
|
|
2502
2618
|
...e,
|
|
2503
2619
|
tabs: ee,
|
|
2504
|
-
activeTabKey:
|
|
2620
|
+
activeTabKey: y.key
|
|
2505
2621
|
};
|
|
2506
2622
|
}
|
|
2507
|
-
function
|
|
2508
|
-
return t?.instanceKey ?
|
|
2623
|
+
function zo(e, t) {
|
|
2624
|
+
return t?.instanceKey ? S(e, t.instanceKey) : t ? e : S(e);
|
|
2509
2625
|
}
|
|
2510
|
-
function
|
|
2511
|
-
let n =
|
|
2512
|
-
return e.find((e) => e.pageDescriptor?.pageType === "business-route" &&
|
|
2626
|
+
function Bo(e, t) {
|
|
2627
|
+
let n = me(t);
|
|
2628
|
+
return e.find((e) => e.pageDescriptor?.pageType === "business-route" && me(e.pageDescriptor) === n);
|
|
2513
2629
|
}
|
|
2514
|
-
function
|
|
2630
|
+
function Vo(e, t, n) {
|
|
2515
2631
|
if (e.pageType !== "business-route") return;
|
|
2516
|
-
let
|
|
2517
|
-
return
|
|
2632
|
+
let r = ze(e);
|
|
2633
|
+
return r ? Je(r.view, r.input, r.presentation, t, n) : void 0;
|
|
2518
2634
|
}
|
|
2519
|
-
function
|
|
2635
|
+
function Ho(e, t) {
|
|
2520
2636
|
return t.pageType === "dynamic-module" && e.menuType === "module" && e.moduleAlias === t.target.moduleAlias;
|
|
2521
2637
|
}
|
|
2522
|
-
function
|
|
2638
|
+
function Uo(e, t, n) {
|
|
2523
2639
|
let r = e.findIndex((e) => e.key === n);
|
|
2524
2640
|
if (r < 0) return {
|
|
2525
2641
|
tabs: e,
|
|
@@ -2534,7 +2650,7 @@ function Ia(e, t, n) {
|
|
|
2534
2650
|
activeTabKey: t
|
|
2535
2651
|
};
|
|
2536
2652
|
}
|
|
2537
|
-
function
|
|
2653
|
+
function Wo(e, t, n) {
|
|
2538
2654
|
let r = new Set(n), i = e.findIndex((e) => e.key === t), a = e.filter((e) => !r.has(e.key) || e.closable === !1);
|
|
2539
2655
|
return !t || !r.has(t) ? {
|
|
2540
2656
|
tabs: a,
|
|
@@ -2544,16 +2660,16 @@ function La(e, t, n) {
|
|
|
2544
2660
|
activeTabKey: (a.find((t) => e.indexOf(t) > i) ?? a.at(-1))?.key
|
|
2545
2661
|
};
|
|
2546
2662
|
}
|
|
2547
|
-
function
|
|
2663
|
+
function Go(e, t, n = !0) {
|
|
2548
2664
|
let r = new Map(e.map((e) => [e.key, e])), i = /* @__PURE__ */ new Set();
|
|
2549
2665
|
return [...t.flatMap((e) => {
|
|
2550
2666
|
if (i.has(e.key)) return [];
|
|
2551
2667
|
i.add(e.key);
|
|
2552
2668
|
let t = r.get(e.key);
|
|
2553
|
-
return t ? [
|
|
2669
|
+
return t ? [Ko(t, e)] : n ? [e] : [];
|
|
2554
2670
|
}), ...e.filter((e) => !i.has(e.key))];
|
|
2555
2671
|
}
|
|
2556
|
-
function
|
|
2672
|
+
function Ko(e, t) {
|
|
2557
2673
|
let n = e.pageDescriptor, r = t.pageDescriptor;
|
|
2558
2674
|
if (!n || !r || !t.target) return e;
|
|
2559
2675
|
let i = {
|
|
@@ -2568,48 +2684,48 @@ function za(e, t) {
|
|
|
2568
2684
|
target: t.target
|
|
2569
2685
|
};
|
|
2570
2686
|
}
|
|
2571
|
-
function
|
|
2572
|
-
let
|
|
2573
|
-
|
|
2574
|
-
let
|
|
2687
|
+
function qo(e, t, n = {}, r = w) {
|
|
2688
|
+
let i = /* @__PURE__ */ new Map();
|
|
2689
|
+
Zo(t, i);
|
|
2690
|
+
let a = /* @__PURE__ */ new Set();
|
|
2575
2691
|
return e.flatMap((e) => {
|
|
2576
|
-
let t = e.pageDescriptor?.menuId ?? e.target?.menuId ??
|
|
2692
|
+
let t = e.pageDescriptor?.menuId ?? e.target?.menuId ?? Jo(e.key);
|
|
2577
2693
|
if (t) {
|
|
2578
|
-
if (
|
|
2579
|
-
let e =
|
|
2580
|
-
return e ? (
|
|
2694
|
+
if (a.has(t)) return [];
|
|
2695
|
+
let e = i.get(t);
|
|
2696
|
+
return e ? (a.add(t), [x(e.menu, e.target, n)]) : [];
|
|
2581
2697
|
}
|
|
2582
|
-
let
|
|
2583
|
-
return !
|
|
2698
|
+
let o = Yo(e, r);
|
|
2699
|
+
return !o || a.has(o.key) ? [] : (a.add(o.key), [o]);
|
|
2584
2700
|
});
|
|
2585
2701
|
}
|
|
2586
|
-
function
|
|
2702
|
+
function Jo(e) {
|
|
2587
2703
|
return e.startsWith("menu:") && e.slice(5) || void 0;
|
|
2588
2704
|
}
|
|
2589
|
-
function
|
|
2590
|
-
let
|
|
2591
|
-
if (
|
|
2592
|
-
let
|
|
2593
|
-
if (
|
|
2705
|
+
function Yo(e, t) {
|
|
2706
|
+
let n = e.pageDescriptor;
|
|
2707
|
+
if (n?.pageType !== "business-route") return;
|
|
2708
|
+
let r = ze(n);
|
|
2709
|
+
if (r && r.presentation === "tab") return X(Je(r.view, r.input, "tab", void 0, t));
|
|
2594
2710
|
}
|
|
2595
|
-
function
|
|
2711
|
+
function Xo(e, t) {
|
|
2596
2712
|
let n = e.findIndex((e) => e.key === t.key);
|
|
2597
2713
|
return n < 0 ? [...e, t] : e.map((e, r) => r === n ? t : e);
|
|
2598
2714
|
}
|
|
2599
|
-
function
|
|
2600
|
-
for (let
|
|
2601
|
-
let e = b(
|
|
2602
|
-
e &&
|
|
2603
|
-
menu:
|
|
2715
|
+
function Zo(e, t) {
|
|
2716
|
+
for (let r of e) {
|
|
2717
|
+
let e = b(r.record);
|
|
2718
|
+
e && n(e) && t.set(r.record.id, {
|
|
2719
|
+
menu: r.record,
|
|
2604
2720
|
target: e
|
|
2605
|
-
}),
|
|
2721
|
+
}), Zo(r.children, t);
|
|
2606
2722
|
}
|
|
2607
2723
|
}
|
|
2608
|
-
function
|
|
2724
|
+
function Qo(e, t) {
|
|
2609
2725
|
let n = new Set(t);
|
|
2610
2726
|
return e.filter((e) => !n.has(e.key));
|
|
2611
2727
|
}
|
|
2612
|
-
function
|
|
2728
|
+
function $o(e, t, n = []) {
|
|
2613
2729
|
if (e.length !== t.length || new Set(t).size !== e.length) return e;
|
|
2614
2730
|
let r = new Map(e.map((e) => [e.key, e]));
|
|
2615
2731
|
if (t.some((e) => !r.has(e))) return e;
|
|
@@ -2619,100 +2735,111 @@ function Ga(e, t, n = []) {
|
|
|
2619
2735
|
function X(e, t = {}) {
|
|
2620
2736
|
let n = C(e, t);
|
|
2621
2737
|
return {
|
|
2622
|
-
...
|
|
2623
|
-
key:
|
|
2624
|
-
title: e.title ??
|
|
2738
|
+
...es(e) ? { instanceKey: es(e) } : {},
|
|
2739
|
+
key: Le(e),
|
|
2740
|
+
title: e.title ?? as(e),
|
|
2625
2741
|
fullPath: n,
|
|
2626
2742
|
pageDescriptor: e,
|
|
2627
2743
|
restoreState: { url: n },
|
|
2628
2744
|
closable: !0
|
|
2629
2745
|
};
|
|
2630
2746
|
}
|
|
2631
|
-
function
|
|
2747
|
+
function es(e) {
|
|
2632
2748
|
let t = (e.pageType === "platform-route" || e.pageType === "business-route" ? e.target.query ?? e.params : e.params)?.InstanceKey, n = Array.isArray(t) ? t[0] : t;
|
|
2633
2749
|
return typeof n == "string" && n ? n : void 0;
|
|
2634
2750
|
}
|
|
2635
|
-
function
|
|
2751
|
+
function ts(e, t) {
|
|
2636
2752
|
let n = e.findIndex((e) => e.key === t.key);
|
|
2637
2753
|
return n < 0 ? [...e, t] : e.map((e, r) => r === n ? t : e);
|
|
2638
2754
|
}
|
|
2639
|
-
function
|
|
2640
|
-
let i =
|
|
2641
|
-
...
|
|
2642
|
-
title:
|
|
2755
|
+
function ns(e, t, n, r, i) {
|
|
2756
|
+
let a = S(n, i), o = x(e, t, r), s = o.pageDescriptor ?? a, c = rs(a) && rs(s) || is(a) && is(s) ? {
|
|
2757
|
+
...a,
|
|
2758
|
+
title: a.title ?? e.title,
|
|
2643
2759
|
menuId: e.id,
|
|
2644
2760
|
target: {
|
|
2645
|
-
...
|
|
2646
|
-
moduleAlias:
|
|
2761
|
+
...a.target,
|
|
2762
|
+
moduleAlias: a.target.moduleAlias ?? s.target.moduleAlias
|
|
2647
2763
|
},
|
|
2648
|
-
tabPolicy:
|
|
2764
|
+
tabPolicy: s.tabPolicy
|
|
2649
2765
|
} : {
|
|
2650
|
-
...
|
|
2651
|
-
title:
|
|
2766
|
+
...a,
|
|
2767
|
+
title: a.title ?? e.title,
|
|
2652
2768
|
menuId: e.id,
|
|
2653
|
-
tabPolicy:
|
|
2769
|
+
tabPolicy: s.tabPolicy
|
|
2654
2770
|
};
|
|
2655
2771
|
return {
|
|
2656
|
-
...
|
|
2657
|
-
...X(
|
|
2772
|
+
...o,
|
|
2773
|
+
...X(c, r),
|
|
2658
2774
|
target: t
|
|
2659
2775
|
};
|
|
2660
2776
|
}
|
|
2661
|
-
function
|
|
2777
|
+
function rs(e) {
|
|
2662
2778
|
return e.pageType === "platform-route" || e.pageType === "business-route";
|
|
2663
2779
|
}
|
|
2664
|
-
function
|
|
2780
|
+
function is(e) {
|
|
2665
2781
|
return e.pageType === "remote-url" || e.pageType === "external-link";
|
|
2666
2782
|
}
|
|
2667
|
-
function
|
|
2783
|
+
function as(e) {
|
|
2668
2784
|
return e.pageType === "dynamic-module" ? e.target.moduleAlias : e.pageType === "platform-route" || e.pageType === "business-route" ? e.target.route ?? e.target.routeName ?? e.target.pageKey ?? "workspace" : e.target.url;
|
|
2669
2785
|
}
|
|
2670
|
-
function
|
|
2786
|
+
function os(e, t, n) {
|
|
2671
2787
|
for (let r of e) {
|
|
2672
|
-
if (
|
|
2673
|
-
let e =
|
|
2788
|
+
if (ss(r.record, t, n)) return r.record;
|
|
2789
|
+
let e = os(r.children, t, n);
|
|
2674
2790
|
if (e) return e;
|
|
2675
2791
|
}
|
|
2676
2792
|
}
|
|
2677
|
-
function
|
|
2678
|
-
let r = b(e), i = r ?
|
|
2793
|
+
function ss(e, t, n) {
|
|
2794
|
+
let r = b(e), i = r ? Ee(r, {
|
|
2679
2795
|
...n,
|
|
2680
2796
|
title: e.title
|
|
2681
2797
|
}) : void 0;
|
|
2682
|
-
return i ?
|
|
2798
|
+
return i ? cs(i, t) : !1;
|
|
2683
2799
|
}
|
|
2684
|
-
function
|
|
2800
|
+
function cs(e, t) {
|
|
2685
2801
|
return e.pageType !== t.pageType || e.hostType !== t.hostType ? !1 : e.pageType === "dynamic-module" && t.pageType === "dynamic-module" ? e.target.moduleAlias === t.target.moduleAlias && (e.target.pageMode ?? "LIST") === (t.target.pageMode ?? "LIST") && (!t.target.defaultUiConfigId || e.target.defaultUiConfigId === t.target.defaultUiConfigId) && (!t.target.defaultQueryTemplateId || e.target.defaultQueryTemplateId === t.target.defaultQueryTemplateId) : (e.pageType === "platform-route" || e.pageType === "business-route") && (t.pageType === "platform-route" || t.pageType === "business-route") ? e.target.route === t.target.route && e.target.routeName === t.target.routeName && e.target.pageKey === t.target.pageKey : (e.pageType === "remote-url" || e.pageType === "external-link") && (t.pageType === "remote-url" || t.pageType === "external-link") && e.target.url === t.target.url;
|
|
2686
2802
|
}
|
|
2687
|
-
function
|
|
2803
|
+
function ls(e, t) {
|
|
2688
2804
|
for (let n of e) {
|
|
2689
2805
|
if (n.record.id === t) return n.record;
|
|
2690
|
-
let e =
|
|
2806
|
+
let e = ls(n.children, t);
|
|
2691
2807
|
if (e) return e;
|
|
2692
2808
|
}
|
|
2693
2809
|
}
|
|
2810
|
+
function us(e, t) {
|
|
2811
|
+
return {
|
|
2812
|
+
...e,
|
|
2813
|
+
title: t,
|
|
2814
|
+
...e.pageDescriptor ? { pageDescriptor: {
|
|
2815
|
+
...e.pageDescriptor,
|
|
2816
|
+
title: t,
|
|
2817
|
+
titleText: void 0
|
|
2818
|
+
} } : {}
|
|
2819
|
+
};
|
|
2820
|
+
}
|
|
2694
2821
|
//#endregion
|
|
2695
2822
|
//#region src/app/workbenchSessionTabs.ts
|
|
2696
|
-
function
|
|
2823
|
+
function ds(e) {
|
|
2697
2824
|
if (!Array.isArray(e)) return [];
|
|
2698
2825
|
let t = /* @__PURE__ */ new Set();
|
|
2699
|
-
return e.flatMap((e) => !
|
|
2826
|
+
return e.flatMap((e) => !fs(e) || t.has(e.key) ? [] : (t.add(e.key), [e]));
|
|
2700
2827
|
}
|
|
2701
|
-
function
|
|
2828
|
+
function fs(e) {
|
|
2702
2829
|
let t = e;
|
|
2703
|
-
return Z(e) && typeof t.key == "string" && typeof t.title == "string" && (
|
|
2830
|
+
return Z(e) && typeof t.key == "string" && typeof t.title == "string" && (ps(t.pageDescriptor) || hs(t.target));
|
|
2704
2831
|
}
|
|
2705
|
-
function
|
|
2832
|
+
function ps(e) {
|
|
2706
2833
|
return !Z(e) || !Z(e.target) || !Z(e.tabPolicy) || ![
|
|
2707
2834
|
"by-menu",
|
|
2708
2835
|
"by-target",
|
|
2709
2836
|
"by-params"
|
|
2710
|
-
].includes(String(e.tabPolicy.identity)) ? !1 : e.pageType === "platform-route" ? e.openMode === "workbench-route" && e.hostType === "platform-route-host" &&
|
|
2837
|
+
].includes(String(e.tabPolicy.identity)) ? !1 : e.pageType === "platform-route" ? e.openMode === "workbench-route" && e.hostType === "platform-route-host" && ms(e.target) : e.pageType === "business-route" ? e.openMode === "workbench-route" && e.hostType === "business-route-host" && ms(e.target) : e.pageType === "dynamic-module" ? e.openMode === "dynamic-runner" && (e.hostType === "module-page-host" || e.hostType === "dynamic-module-host") && typeof e.target.moduleAlias == "string" : e.pageType === "remote-url" ? (e.openMode === "iframe" || e.openMode === "new-window") && e.hostType === "external-page-host" && typeof e.target.url == "string" : e.pageType === "external-link" && e.openMode === "new-window" && e.hostType === "external-page-host" && typeof e.target.url == "string";
|
|
2711
2838
|
}
|
|
2712
|
-
function
|
|
2839
|
+
function ms(e) {
|
|
2713
2840
|
return typeof e.route == "string" || typeof e.routeName == "string" || typeof e.pageKey == "string";
|
|
2714
2841
|
}
|
|
2715
|
-
function
|
|
2842
|
+
function hs(e) {
|
|
2716
2843
|
return !Z(e) || typeof e.menuId != "string" || e.openMode !== "tab" ? !1 : e.menuType === "module" ? typeof e.moduleAlias == "string" : e.menuType === "route" ? typeof e.route == "string" : e.menuType === "link" && typeof e.externalUrl == "string";
|
|
2717
2844
|
}
|
|
2718
2845
|
function Z(e) {
|
|
@@ -2720,27 +2847,27 @@ function Z(e) {
|
|
|
2720
2847
|
}
|
|
2721
2848
|
//#endregion
|
|
2722
2849
|
//#region src/app/lockedTabPreference.ts
|
|
2723
|
-
var
|
|
2724
|
-
async function
|
|
2725
|
-
return
|
|
2850
|
+
var gs = "workbench.locked-tabs";
|
|
2851
|
+
async function _s(e) {
|
|
2852
|
+
return ys(await e.restore(gs, [], { persistence: "backend" }));
|
|
2726
2853
|
}
|
|
2727
|
-
async function
|
|
2728
|
-
await e.set(
|
|
2854
|
+
async function vs(e, t) {
|
|
2855
|
+
await e.set(gs, t, { persistence: "backend" });
|
|
2729
2856
|
}
|
|
2730
|
-
function
|
|
2731
|
-
return
|
|
2857
|
+
function ys(e) {
|
|
2858
|
+
return ds(e);
|
|
2732
2859
|
}
|
|
2733
2860
|
//#endregion
|
|
2734
2861
|
//#region src/consumer/PlatformAdminOutlet.vue
|
|
2735
|
-
var
|
|
2862
|
+
var bs = /* @__PURE__ */ P({
|
|
2736
2863
|
name: "PlatformAdminOutlet",
|
|
2737
2864
|
__name: "PlatformAdminOutlet",
|
|
2738
2865
|
props: { descriptor: {} },
|
|
2739
2866
|
setup(e) {
|
|
2740
|
-
return (t, n) =>
|
|
2867
|
+
return (t, n) => R(_o)(e.descriptor) ? (F(), O(So, {
|
|
2741
2868
|
key: 0,
|
|
2742
2869
|
descriptor: e.descriptor
|
|
2743
|
-
}, null, 8, ["descriptor"])) : (
|
|
2870
|
+
}, null, 8, ["descriptor"])) : (F(), O(Fe, {
|
|
2744
2871
|
key: 1,
|
|
2745
2872
|
descriptor: e.descriptor
|
|
2746
2873
|
}, null, 8, ["descriptor"]));
|
|
@@ -2748,16 +2875,47 @@ var fo = /* @__PURE__ */ j({
|
|
|
2748
2875
|
});
|
|
2749
2876
|
//#endregion
|
|
2750
2877
|
//#region src/app/workbenchRouteSync.ts
|
|
2751
|
-
function
|
|
2752
|
-
let r =
|
|
2878
|
+
function xs(e, t, n) {
|
|
2879
|
+
let r = Lo(e) ?? "/";
|
|
2753
2880
|
return r === t ? void 0 : {
|
|
2754
2881
|
url: r,
|
|
2755
2882
|
mode: n
|
|
2756
2883
|
};
|
|
2757
2884
|
}
|
|
2758
2885
|
//#endregion
|
|
2886
|
+
//#region src/platform-workbench/workspaceViewDiscardGuard.ts
|
|
2887
|
+
function Ss(e) {
|
|
2888
|
+
return e.some((e) => Ue(e).length > 0 || _e(e).length > 0);
|
|
2889
|
+
}
|
|
2890
|
+
async function Cs(e, t = "close", n = w) {
|
|
2891
|
+
if (ws(e, t, n)) return !1;
|
|
2892
|
+
if ([...new Set(e.flatMap(_e))].length === 0) return !0;
|
|
2893
|
+
let r = () => {
|
|
2894
|
+
let r = t === "refresh" ? n.t("platform.screen.workspaceViewDiscardGuard.refresh", "刷新") : n.t("platform.screen.workspaceViewDiscardGuard.close", "关闭");
|
|
2895
|
+
return {
|
|
2896
|
+
title: t === "refresh" ? n.t("platform.screen.workspaceViewDiscardGuard.refresh-page", "刷新页面") : n.t("platform.screen.UiTabs.close-tab", "关闭标签"),
|
|
2897
|
+
content: n.t("platform.screen.workspaceViewDiscardGuard.value-has-unsaved-changes-that-will-be-lost-when-you", "“{value1}”存在未保存的更改,{value2}后将丢失。是否继续?", {
|
|
2898
|
+
value1: [...new Set(e.flatMap(_e))].join(n.t("platform.list.separator", "、")),
|
|
2899
|
+
value2: r
|
|
2900
|
+
}),
|
|
2901
|
+
okText: r
|
|
2902
|
+
};
|
|
2903
|
+
};
|
|
2904
|
+
return await Zn({
|
|
2905
|
+
...r(),
|
|
2906
|
+
presentation: r
|
|
2907
|
+
}, n) && !ws(e, t, n);
|
|
2908
|
+
}
|
|
2909
|
+
function ws(e, t, n) {
|
|
2910
|
+
let r = t === "refresh" ? n.t("platform.screen.workspaceViewDiscardGuard.refresh", "刷新") : n.t("platform.screen.workspaceViewDiscardGuard.close", "关闭"), i = [...new Set(e.flatMap(Ue))];
|
|
2911
|
+
return i.length !== 0 && (Kn(n.t("platform.screen.workspaceViewDiscardGuard.value-has-an-operation-in-progress-wait-for-it-to", "“{value1}”正在处理操作,请完成后再{value2}。", {
|
|
2912
|
+
value1: i.join(n.t("platform.list.separator", "、")),
|
|
2913
|
+
value2: r
|
|
2914
|
+
})), !0);
|
|
2915
|
+
}
|
|
2916
|
+
//#endregion
|
|
2759
2917
|
//#region src/consumer/AppWorkbenchShell.vue
|
|
2760
|
-
var
|
|
2918
|
+
var Ts = /* @__PURE__ */ P({
|
|
2761
2919
|
name: "AppWorkbenchShell",
|
|
2762
2920
|
__name: "AppWorkbenchShell",
|
|
2763
2921
|
props: {
|
|
@@ -2780,228 +2938,236 @@ var mo = /* @__PURE__ */ j({
|
|
|
2780
2938
|
"update:startup",
|
|
2781
2939
|
"navigate",
|
|
2782
2940
|
"refreshPage",
|
|
2941
|
+
"retryLoad",
|
|
2783
2942
|
"userCommand"
|
|
2784
2943
|
],
|
|
2785
2944
|
setup(e, { emit: t }) {
|
|
2786
|
-
let n =
|
|
2787
|
-
|
|
2788
|
-
refreshMenus:
|
|
2789
|
-
let e =
|
|
2790
|
-
if (!
|
|
2791
|
-
return
|
|
2792
|
-
...
|
|
2945
|
+
let n = E(), r = e, i = t, a = D(() => r.startup.activeTabKey), o = I([]), s = 0, c = Promise.resolve(), l = !1;
|
|
2946
|
+
ve({
|
|
2947
|
+
refreshMenus: r.loadMenus ? async () => {
|
|
2948
|
+
let e = r.startup.session, t = await r.loadMenus();
|
|
2949
|
+
if (!l || e !== r.startup.session) throw Error(n.t("platform.screen.AppWorkbenchShell.your-sign-in-state-has-changed-please-try", "登录状态已变化,请重试"));
|
|
2950
|
+
return i("update:startup", {
|
|
2951
|
+
...r.startup,
|
|
2793
2952
|
menus: t
|
|
2794
2953
|
}), t;
|
|
2795
2954
|
} : void 0,
|
|
2796
2955
|
openMenu: (e) => {
|
|
2797
2956
|
let t = b(e);
|
|
2798
|
-
t &&
|
|
2957
|
+
t && d(e, t);
|
|
2799
2958
|
},
|
|
2800
2959
|
openRoute: te,
|
|
2801
|
-
replaceRoute:
|
|
2802
|
-
closeCurrentTab:
|
|
2960
|
+
replaceRoute: ne,
|
|
2961
|
+
closeCurrentTab: re,
|
|
2803
2962
|
openPage: ee,
|
|
2804
|
-
replacePage:
|
|
2805
|
-
closePage:
|
|
2806
|
-
setTabName:
|
|
2807
|
-
}),
|
|
2808
|
-
|
|
2809
|
-
}),
|
|
2810
|
-
|
|
2811
|
-
}),
|
|
2812
|
-
function
|
|
2813
|
-
|
|
2963
|
+
replacePage: ce,
|
|
2964
|
+
closePage: m,
|
|
2965
|
+
setTabName: se
|
|
2966
|
+
}), ci(() => {
|
|
2967
|
+
l = !0, Ve(), ue(), x(r.location);
|
|
2968
|
+
}), si(() => {
|
|
2969
|
+
l = !1;
|
|
2970
|
+
}), pi(() => r.location, (e) => x(e));
|
|
2971
|
+
function u(e, t = void 0) {
|
|
2972
|
+
i("update:startup", e), t && le(e, t);
|
|
2814
2973
|
}
|
|
2815
|
-
function
|
|
2974
|
+
function d(e, t) {
|
|
2816
2975
|
if (t.openMode === "window") {
|
|
2817
|
-
window.open(
|
|
2976
|
+
window.open(Io(e, t), "_blank", "noopener,noreferrer");
|
|
2818
2977
|
return;
|
|
2819
2978
|
}
|
|
2820
|
-
let
|
|
2821
|
-
|
|
2822
|
-
...
|
|
2823
|
-
tabs:
|
|
2824
|
-
activeTabKey:
|
|
2979
|
+
let n = Po(r.startup.tabs ?? [], e, t, r.resolveOptions);
|
|
2980
|
+
u({
|
|
2981
|
+
...r.startup,
|
|
2982
|
+
tabs: n.tabs,
|
|
2983
|
+
activeTabKey: n.activeTabKey
|
|
2825
2984
|
}, "push");
|
|
2826
2985
|
}
|
|
2827
|
-
function
|
|
2828
|
-
e !==
|
|
2829
|
-
...
|
|
2986
|
+
function f(e) {
|
|
2987
|
+
e !== r.startup.activeTabKey && u({
|
|
2988
|
+
...r.startup,
|
|
2830
2989
|
activeTabKey: e
|
|
2831
2990
|
}, "push");
|
|
2832
2991
|
}
|
|
2833
|
-
function
|
|
2834
|
-
|
|
2835
|
-
|
|
2836
|
-
|
|
2992
|
+
async function p(e) {
|
|
2993
|
+
await Cs([e], "refresh", n) && l && (r.startup.tabs ?? []).some((t) => t.key === e) && i("refreshPage", e);
|
|
2994
|
+
}
|
|
2995
|
+
async function m(e) {
|
|
2996
|
+
if (!await Cs([e], "close", n) || !l) return;
|
|
2997
|
+
let t = Uo(r.startup.tabs ?? [], r.startup.activeTabKey, e);
|
|
2998
|
+
o.value.some((t) => t.key === e) && v(Qo(o.value, [e])), u({
|
|
2999
|
+
...r.startup,
|
|
2837
3000
|
tabs: t.tabs,
|
|
2838
3001
|
activeTabKey: t.activeTabKey
|
|
2839
|
-
}, "replace");
|
|
3002
|
+
}, "replace"), Ie(e);
|
|
2840
3003
|
}
|
|
2841
|
-
function
|
|
2842
|
-
|
|
2843
|
-
r.
|
|
2844
|
-
|
|
3004
|
+
async function h(e) {
|
|
3005
|
+
if (!await Cs(e, "close", n) || !l) return;
|
|
3006
|
+
let t = Wo(r.startup.tabs ?? [], r.startup.activeTabKey, e), i = e.filter((e) => o.value.some((t) => t.key === e));
|
|
3007
|
+
i.length > 0 && v(Qo(o.value, i)), u({
|
|
3008
|
+
...r.startup,
|
|
2845
3009
|
tabs: t.tabs,
|
|
2846
3010
|
activeTabKey: t.activeTabKey
|
|
2847
|
-
}, "replace");
|
|
3011
|
+
}, "replace"), e.forEach(Ie);
|
|
2848
3012
|
}
|
|
2849
|
-
function
|
|
2850
|
-
let t =
|
|
2851
|
-
|
|
2852
|
-
...
|
|
3013
|
+
function g(e) {
|
|
3014
|
+
let t = $o(r.startup.tabs ?? [], e, o.value.map((e) => e.key)), n = t.filter((e) => o.value.some((t) => t.key === e.key));
|
|
3015
|
+
n.map((e) => e.key).join("|") !== o.value.map((e) => e.key).join("|") && v(n), u({
|
|
3016
|
+
...r.startup,
|
|
2853
3017
|
tabs: t
|
|
2854
3018
|
});
|
|
2855
3019
|
}
|
|
2856
|
-
function
|
|
2857
|
-
let t =
|
|
3020
|
+
function _(e) {
|
|
3021
|
+
let t = r.startup.tabs?.find((t) => t.key === e);
|
|
2858
3022
|
if (!t) return;
|
|
2859
|
-
let
|
|
2860
|
-
|
|
2861
|
-
...
|
|
2862
|
-
tabs:
|
|
3023
|
+
let n = o.value.some((t) => t.key === e), i = o.value, a = n ? Qo(i, [e]) : Xo(i, t);
|
|
3024
|
+
v(a), u({
|
|
3025
|
+
...r.startup,
|
|
3026
|
+
tabs: Go(r.startup.tabs ?? [], a)
|
|
2863
3027
|
});
|
|
2864
3028
|
}
|
|
2865
|
-
function
|
|
2866
|
-
let t =
|
|
2867
|
-
|
|
3029
|
+
function v(e) {
|
|
3030
|
+
let t = o.value, n = ++s;
|
|
3031
|
+
o.value = e, y(e, t, n);
|
|
2868
3032
|
}
|
|
2869
|
-
async function
|
|
3033
|
+
async function y(e, t, n) {
|
|
2870
3034
|
try {
|
|
2871
|
-
|
|
3035
|
+
c = c.catch(() => void 0).then(() => vs(ct, e)), await c;
|
|
2872
3036
|
} catch {
|
|
2873
|
-
if (
|
|
2874
|
-
|
|
2875
|
-
...
|
|
2876
|
-
tabs:
|
|
3037
|
+
if (n !== s) return;
|
|
3038
|
+
o.value = t, u({
|
|
3039
|
+
...r.startup,
|
|
3040
|
+
tabs: Go(r.startup.tabs ?? [], t, !1)
|
|
2877
3041
|
});
|
|
2878
3042
|
}
|
|
2879
3043
|
}
|
|
2880
3044
|
function ee(e) {
|
|
2881
|
-
let t =
|
|
2882
|
-
return
|
|
2883
|
-
...
|
|
3045
|
+
let t = Fo(r.startup.tabs ?? [], e);
|
|
3046
|
+
return u({
|
|
3047
|
+
...r.startup,
|
|
2884
3048
|
tabs: t.tabs,
|
|
2885
3049
|
activeTabKey: t.activeTabKey
|
|
2886
3050
|
}, "push"), { created: t.created };
|
|
2887
3051
|
}
|
|
2888
3052
|
function te(e, t = {}) {
|
|
2889
|
-
return
|
|
3053
|
+
return oe(xe(e, t), "push", r.startup, t.tabTitle, t.newInstance);
|
|
2890
3054
|
}
|
|
2891
|
-
function
|
|
2892
|
-
let
|
|
2893
|
-
if (!
|
|
2894
|
-
let
|
|
2895
|
-
|
|
2896
|
-
|
|
2897
|
-
|
|
2898
|
-
|
|
2899
|
-
|
|
2900
|
-
|
|
2901
|
-
|
|
2902
|
-
|
|
2903
|
-
|
|
2904
|
-
|
|
3055
|
+
function ne(e, t = {}) {
|
|
3056
|
+
let i = r.startup.activeTabKey, a = r.startup.tabs?.find((e) => e.key === i), o = xe(e, t);
|
|
3057
|
+
if (!i || !a) return oe(o, "replace", r.startup, t.tabTitle);
|
|
3058
|
+
let s = Ro(r.startup, o, {
|
|
3059
|
+
...r.resolveOptions,
|
|
3060
|
+
title: t.tabTitle ?? r.resolveOptions.title
|
|
3061
|
+
}, !1, n), c = s.tabs?.find((e) => e.key === s.activeTabKey);
|
|
3062
|
+
if (!c) return { created: !1 };
|
|
3063
|
+
let l = c.pageDescriptor && a.instanceKey ? S(c.pageDescriptor, a.instanceKey) : c.pageDescriptor, d = l ? C(l, r.resolveOptions) : c.fullPath, f = (s.tabs ?? []).filter((e) => e.key !== c.key).map((e) => e.key === i ? {
|
|
3064
|
+
...a,
|
|
3065
|
+
...c,
|
|
3066
|
+
key: i,
|
|
3067
|
+
instanceKey: a.instanceKey,
|
|
3068
|
+
pageDescriptor: l,
|
|
3069
|
+
fullPath: d,
|
|
3070
|
+
restoreState: d ? { url: d } : c.restoreState,
|
|
3071
|
+
title: t.tabTitle ?? c.title
|
|
2905
3072
|
} : e);
|
|
2906
|
-
return
|
|
2907
|
-
...
|
|
2908
|
-
tabs:
|
|
2909
|
-
activeTabKey:
|
|
3073
|
+
return u({
|
|
3074
|
+
...s,
|
|
3075
|
+
tabs: f,
|
|
3076
|
+
activeTabKey: i
|
|
2910
3077
|
}, "replace"), { created: !1 };
|
|
2911
3078
|
}
|
|
2912
|
-
function
|
|
2913
|
-
let t =
|
|
2914
|
-
|
|
2915
|
-
|
|
2916
|
-
|
|
2917
|
-
t &&
|
|
2918
|
-
|
|
3079
|
+
function re(e) {
|
|
3080
|
+
let t = r.startup.activeTabKey;
|
|
3081
|
+
return t ? Ss([t]) ? (ie(e, t), { created: !1 }) : ae(e, t) : oe(xe(e), "replace", r.startup);
|
|
3082
|
+
}
|
|
3083
|
+
async function ie(e, t) {
|
|
3084
|
+
if (await Cs([t], "close", n) && l && (r.startup.tabs ?? []).some((e) => e.key === t)) return ae(e, t);
|
|
3085
|
+
}
|
|
3086
|
+
function ae(e, t) {
|
|
3087
|
+
let n = Uo(r.startup.tabs ?? [], r.startup.activeTabKey, t);
|
|
3088
|
+
Ie(t), o.value.some((e) => e.key === t) && v(Qo(o.value, [t]));
|
|
3089
|
+
let i = n.tabs.find((t) => {
|
|
2919
3090
|
let n = t.fullPath ?? (t.pageDescriptor ? C(t.pageDescriptor) : void 0);
|
|
2920
3091
|
return n && new URL(n, "http://muyun.local").pathname === e;
|
|
2921
3092
|
});
|
|
2922
|
-
return i ? (
|
|
2923
|
-
...
|
|
2924
|
-
tabs:
|
|
3093
|
+
return i ? (u({
|
|
3094
|
+
...r.startup,
|
|
3095
|
+
tabs: n.tabs,
|
|
2925
3096
|
activeTabKey: i.key
|
|
2926
|
-
}, "replace"), { created: !1 }) :
|
|
2927
|
-
...
|
|
2928
|
-
tabs:
|
|
2929
|
-
activeTabKey:
|
|
3097
|
+
}, "replace"), { created: !1 }) : oe(xe(e), "replace", {
|
|
3098
|
+
...r.startup,
|
|
3099
|
+
tabs: n.tabs,
|
|
3100
|
+
activeTabKey: n.activeTabKey
|
|
2930
3101
|
});
|
|
2931
3102
|
}
|
|
2932
|
-
function
|
|
2933
|
-
let
|
|
2934
|
-
...
|
|
2935
|
-
title:
|
|
2936
|
-
},
|
|
2937
|
-
return
|
|
2938
|
-
...
|
|
2939
|
-
tabs: (
|
|
2940
|
-
|
|
2941
|
-
title: i
|
|
2942
|
-
} : e)
|
|
2943
|
-
}), l(s, t), { created: !(!s.activeTabKey || o.has(s.activeTabKey)) };
|
|
3103
|
+
function oe(e, t, i, a, o = !1) {
|
|
3104
|
+
let s = new Set((i.tabs ?? []).map((e) => e.key)), c = Ro(i, e, {
|
|
3105
|
+
...r.resolveOptions,
|
|
3106
|
+
title: a ?? r.resolveOptions.title
|
|
3107
|
+
}, o, n);
|
|
3108
|
+
return a && c.activeTabKey && (c = {
|
|
3109
|
+
...c,
|
|
3110
|
+
tabs: (c.tabs ?? []).map((e) => e.key === c.activeTabKey ? us(e, a) : e)
|
|
3111
|
+
}), u(c, t), { created: !(!c.activeTabKey || s.has(c.activeTabKey)) };
|
|
2944
3112
|
}
|
|
2945
|
-
function
|
|
2946
|
-
let
|
|
2947
|
-
e &&
|
|
2948
|
-
...
|
|
2949
|
-
tabs: (
|
|
2950
|
-
...t,
|
|
2951
|
-
title: r
|
|
2952
|
-
} : t)
|
|
3113
|
+
function se(e, t) {
|
|
3114
|
+
let n = t.trim();
|
|
3115
|
+
e && n && u({
|
|
3116
|
+
...r.startup,
|
|
3117
|
+
tabs: (r.startup.tabs ?? []).map((t) => t.instanceKey === e ? us(t, n) : t)
|
|
2953
3118
|
});
|
|
2954
3119
|
}
|
|
2955
|
-
function
|
|
2956
|
-
let
|
|
3120
|
+
function ce(e, t) {
|
|
3121
|
+
let n = (r.startup.tabs ?? []).map((n) => n.key === e ? {
|
|
2957
3122
|
...n,
|
|
2958
3123
|
title: t.title ?? n.title,
|
|
2959
3124
|
pageDescriptor: t,
|
|
2960
3125
|
restoreState: { url: C(t) }
|
|
2961
|
-
} : n), i =
|
|
2962
|
-
i &&
|
|
2963
|
-
...
|
|
2964
|
-
tabs:
|
|
3126
|
+
} : n), i = n.find((t) => t.key === e);
|
|
3127
|
+
i && o.value.some((t) => t.key === e) && v(Xo(o.value, i)), u({
|
|
3128
|
+
...r.startup,
|
|
3129
|
+
tabs: n
|
|
2965
3130
|
}, "replace");
|
|
2966
3131
|
}
|
|
2967
|
-
function
|
|
2968
|
-
let
|
|
2969
|
-
|
|
3132
|
+
function le(e, t) {
|
|
3133
|
+
let n = xs(e, r.location, t);
|
|
3134
|
+
n && i("navigate", n);
|
|
2970
3135
|
}
|
|
2971
|
-
function
|
|
2972
|
-
|
|
3136
|
+
function x(e) {
|
|
3137
|
+
u(Ro(r.startup, e, r.resolveOptions, !1, n));
|
|
2973
3138
|
}
|
|
2974
|
-
async function
|
|
2975
|
-
let e =
|
|
3139
|
+
async function ue() {
|
|
3140
|
+
let e = s;
|
|
2976
3141
|
try {
|
|
2977
|
-
let t =
|
|
2978
|
-
if (!
|
|
2979
|
-
|
|
2980
|
-
let
|
|
2981
|
-
|
|
2982
|
-
...
|
|
2983
|
-
tabs:
|
|
3142
|
+
let t = qo(await _s(ct), r.startup.menus, r.resolveOptions, n);
|
|
3143
|
+
if (!l || e !== s) return;
|
|
3144
|
+
o.value = t;
|
|
3145
|
+
let i = new Set(t.map((e) => e.key)), a = [...t, ...(r.startup.tabs ?? []).filter((e) => !i.has(e.key))];
|
|
3146
|
+
u({
|
|
3147
|
+
...r.startup,
|
|
3148
|
+
tabs: Go(a, t)
|
|
2984
3149
|
});
|
|
2985
3150
|
} catch {}
|
|
2986
3151
|
}
|
|
2987
|
-
return (t, n) => (
|
|
3152
|
+
return (t, n) => (F(), O(nt, {
|
|
2988
3153
|
startup: e.startup,
|
|
2989
3154
|
loading: e.loading,
|
|
2990
3155
|
error: e.error,
|
|
2991
|
-
"active-tab-key":
|
|
2992
|
-
"locked-tab-keys":
|
|
3156
|
+
"active-tab-key": a.value,
|
|
3157
|
+
"locked-tab-keys": o.value.map((e) => e.key),
|
|
2993
3158
|
"realtime-status": e.realtimeStatus,
|
|
2994
3159
|
"theme-appearance": e.themeAppearance,
|
|
2995
|
-
onSelectMenu:
|
|
2996
|
-
onChangeTab:
|
|
2997
|
-
onCloseTab:
|
|
2998
|
-
onCloseTabs:
|
|
2999
|
-
onReorderTabs:
|
|
3000
|
-
onToggleTabLock:
|
|
3001
|
-
onRefreshPage:
|
|
3002
|
-
onUserCommand: n[
|
|
3160
|
+
onSelectMenu: d,
|
|
3161
|
+
onChangeTab: f,
|
|
3162
|
+
onCloseTab: m,
|
|
3163
|
+
onCloseTabs: h,
|
|
3164
|
+
onReorderTabs: g,
|
|
3165
|
+
onToggleTabLock: _,
|
|
3166
|
+
onRefreshPage: p,
|
|
3167
|
+
onUserCommand: n[0] ||= (e) => i("userCommand", e),
|
|
3168
|
+
onRetryLoad: n[1] ||= (e) => i("retryLoad")
|
|
3003
3169
|
}, {
|
|
3004
|
-
default:
|
|
3170
|
+
default: z(({ pageDescriptor: e }) => [di(t.$slots, "default", { pageDescriptor: e })]),
|
|
3005
3171
|
_: 3
|
|
3006
3172
|
}, 8, [
|
|
3007
3173
|
"startup",
|
|
@@ -3016,8 +3182,8 @@ var mo = /* @__PURE__ */ j({
|
|
|
3016
3182
|
});
|
|
3017
3183
|
//#endregion
|
|
3018
3184
|
//#region src/app/loginTenant.ts
|
|
3019
|
-
function
|
|
3020
|
-
let i =
|
|
3185
|
+
function Es(e, t = ks(), n = As(), r = "/") {
|
|
3186
|
+
let i = Os(t, n === Ds(r));
|
|
3021
3187
|
return i ? {
|
|
3022
3188
|
tenantId: i,
|
|
3023
3189
|
tenantLocked: !0
|
|
@@ -3029,29 +3195,29 @@ function ho(e, t = vo(), n = yo(), r = "/") {
|
|
|
3029
3195
|
function Q(e) {
|
|
3030
3196
|
return e?.trim() ?? "";
|
|
3031
3197
|
}
|
|
3032
|
-
function
|
|
3198
|
+
function Ds(e) {
|
|
3033
3199
|
let t = `/${(e?.trim() || "/").replace(/^\/+|\/+$/g, "")}`.replace(/^\/\/+/g, "/") || "/";
|
|
3034
3200
|
return t === "/" ? t : `${t}/`;
|
|
3035
3201
|
}
|
|
3036
|
-
function
|
|
3202
|
+
function Os(e, t) {
|
|
3037
3203
|
let n = new URLSearchParams(e.startsWith("?") ? e : `?${e}`), r = Q(n.get("_muyunTenantId"));
|
|
3038
3204
|
return r || !t ? r : Q(n.get("tenantId")) || Q(n.get("tenant"));
|
|
3039
3205
|
}
|
|
3040
|
-
function
|
|
3206
|
+
function ks() {
|
|
3041
3207
|
return typeof window > "u" ? "" : window.location.search;
|
|
3042
3208
|
}
|
|
3043
|
-
function
|
|
3209
|
+
function As() {
|
|
3044
3210
|
return typeof window > "u" ? "/" : window.location.pathname;
|
|
3045
3211
|
}
|
|
3046
3212
|
//#endregion
|
|
3047
3213
|
//#region src/app/LoginView.vue?vue&type=script&setup=true&lang.ts
|
|
3048
|
-
var
|
|
3214
|
+
var js = { class: "login-language" }, Ms = { class: "login-page" }, Ns = { class: "login-panel" }, Ps = { class: "login-brand" }, Fs = ["src"], Is = { key: 1 }, Ls = { key: 0 }, Rs = {
|
|
3049
3215
|
key: 1,
|
|
3050
3216
|
class: "login-subtitle"
|
|
3051
|
-
},
|
|
3217
|
+
}, zs = {
|
|
3052
3218
|
key: 0,
|
|
3053
3219
|
class: "login-error"
|
|
3054
|
-
},
|
|
3220
|
+
}, Bs = { key: 0 }, Vs = { class: "login-context" }, Hs = /*#__PURE__*/ wr(/* @__PURE__ */ P({
|
|
3055
3221
|
name: "LoginView",
|
|
3056
3222
|
__name: "LoginView",
|
|
3057
3223
|
props: {
|
|
@@ -3063,153 +3229,153 @@ var bo = { class: "login-page" }, xo = { class: "login-panel" }, So = { class: "
|
|
|
3063
3229
|
},
|
|
3064
3230
|
emits: ["authenticated"],
|
|
3065
3231
|
setup(e, { emit: t }) {
|
|
3066
|
-
let n =
|
|
3067
|
-
|
|
3068
|
-
if (
|
|
3069
|
-
|
|
3232
|
+
let n = E(), r = e, i = t, a = Es(void 0), o = I(a.tenantId), s = a.tenantLocked, c = I(Q(r.initialUsername) || Q(void 0)), l = I(Q(void 0)), u = I(!1), d = I(), f = I(!1), p = I(), m = I(""), h = I(""), g = I(), _ = I(!1), v = I(), y = D(() => !s || !_.value && !v.value), ee = D(() => g.value?.mode !== "logoOnly"), te = D(() => g.value?.title || n.t("platform.screen.LoginView.platform-sign-in", "平台登录")), ne = D(() => g.value?.subtitle);
|
|
3233
|
+
ci(async () => {
|
|
3234
|
+
if (s && o.value) {
|
|
3235
|
+
_.value = !0;
|
|
3070
3236
|
try {
|
|
3071
|
-
if (!
|
|
3072
|
-
let e = await
|
|
3073
|
-
|
|
3237
|
+
if (!r.loginContextClient) throw Error("login context client is unavailable");
|
|
3238
|
+
let e = await r.loginContextClient.loginContext(o.value);
|
|
3239
|
+
g.value = e.branding;
|
|
3074
3240
|
} catch {
|
|
3075
|
-
|
|
3241
|
+
v.value = () => n.t("platform.screen.LoginView.unable-to-open-sign-in-for-this-tenant", "无法打开该租户的登录入口");
|
|
3076
3242
|
} finally {
|
|
3077
|
-
|
|
3243
|
+
_.value = !1;
|
|
3078
3244
|
}
|
|
3079
3245
|
}
|
|
3080
3246
|
});
|
|
3081
|
-
async function
|
|
3082
|
-
|
|
3247
|
+
async function b() {
|
|
3248
|
+
d.value = void 0, u.value = !0;
|
|
3083
3249
|
try {
|
|
3084
|
-
let e = await
|
|
3085
|
-
tenantId:
|
|
3086
|
-
username:
|
|
3087
|
-
password:
|
|
3250
|
+
let e = await r.authClient.login({
|
|
3251
|
+
tenantId: o.value,
|
|
3252
|
+
username: c.value,
|
|
3253
|
+
password: l.value
|
|
3088
3254
|
});
|
|
3089
3255
|
if (e.passwordChangeRequired) {
|
|
3090
|
-
|
|
3256
|
+
p.value = e.token, f.value = !0, d.value = void 0;
|
|
3091
3257
|
return;
|
|
3092
3258
|
}
|
|
3093
|
-
|
|
3259
|
+
i("authenticated", e);
|
|
3094
3260
|
} catch (e) {
|
|
3095
|
-
|
|
3261
|
+
d.value = () => re(e);
|
|
3096
3262
|
} finally {
|
|
3097
|
-
|
|
3263
|
+
u.value = !1;
|
|
3098
3264
|
}
|
|
3099
3265
|
}
|
|
3100
|
-
function
|
|
3101
|
-
return e instanceof
|
|
3266
|
+
function re(e) {
|
|
3267
|
+
return e instanceof Ht ? e.status === 403 ? n.t("platform.screen.LoginView.this-site-is-not-authorized-by-the-server", "当前站点未获后端授权,请联系管理员配置访问来源") : e.code === It.networkError || e.code === It.httpError || (e.status ?? 0) >= 500 ? n.t("platform.screen.LoginView.cannot-reach-the-server-check-its-status-and", "无法访问后端,请检查服务状态或站点授权配置") : e.code === It.loginBadCredentials ? n.t("platform.screen.LoginView.incorrect-username-or-password", "用户名或密码错误") : e.message : e instanceof Error ? e.message : n.t("platform.screen.LoginView.sign-in-failed-please-try-again-later", "登录失败,请稍后重试");
|
|
3102
3268
|
}
|
|
3103
|
-
async function
|
|
3104
|
-
if (
|
|
3105
|
-
|
|
3269
|
+
async function ie() {
|
|
3270
|
+
if (d.value = void 0, !p.value) {
|
|
3271
|
+
d.value = () => n.t("platform.screen.LoginView.your-session-is-no-longer-valid-please-sign", "登录状态已失效,请重新登录"), f.value = !1;
|
|
3106
3272
|
return;
|
|
3107
3273
|
}
|
|
3108
|
-
if (
|
|
3109
|
-
|
|
3274
|
+
if (m.value !== h.value) {
|
|
3275
|
+
d.value = () => n.t("platform.screen.LoginView.the-new-passwords-do-not-match", "两次输入的新密码不一致");
|
|
3110
3276
|
return;
|
|
3111
3277
|
}
|
|
3112
|
-
|
|
3278
|
+
u.value = !0;
|
|
3113
3279
|
try {
|
|
3114
|
-
await
|
|
3115
|
-
currentPassword:
|
|
3116
|
-
newPassword:
|
|
3117
|
-
},
|
|
3118
|
-
let e = await
|
|
3119
|
-
tenantId:
|
|
3120
|
-
username:
|
|
3121
|
-
password:
|
|
3280
|
+
await r.authClient.changeOwnPassword({
|
|
3281
|
+
currentPassword: l.value,
|
|
3282
|
+
newPassword: m.value
|
|
3283
|
+
}, p.value), l.value = m.value;
|
|
3284
|
+
let e = await r.authClient.login({
|
|
3285
|
+
tenantId: o.value,
|
|
3286
|
+
username: c.value,
|
|
3287
|
+
password: m.value
|
|
3122
3288
|
});
|
|
3123
|
-
|
|
3289
|
+
i("authenticated", e);
|
|
3124
3290
|
} catch (e) {
|
|
3125
|
-
|
|
3291
|
+
d.value = () => e instanceof Error ? $r(Dt(e), n) : n.t("platform.screen.LoginView.password-change-failed", "密码修改失败,请重试");
|
|
3126
3292
|
} finally {
|
|
3127
|
-
|
|
3293
|
+
u.value = !1;
|
|
3128
3294
|
}
|
|
3129
3295
|
}
|
|
3130
|
-
return (t,
|
|
3131
|
-
|
|
3296
|
+
return (t, r) => (F(), A(ri, null, [j("div", js, [M(R(Te))]), j("main", Ms, [j("section", Ns, [
|
|
3297
|
+
j("header", null, [j("div", Ps, [g.value?.lightLogo ? (F(), A("img", {
|
|
3132
3298
|
key: 0,
|
|
3133
3299
|
class: "login-logo",
|
|
3134
|
-
src:
|
|
3300
|
+
src: g.value.lightLogo,
|
|
3135
3301
|
alt: ""
|
|
3136
|
-
}, null, 8,
|
|
3137
|
-
|
|
3138
|
-
|
|
3139
|
-
|
|
3140
|
-
])) :
|
|
3141
|
-
|
|
3142
|
-
|
|
3302
|
+
}, null, 8, Fs)) : k("v-if", !0), ee.value ? (F(), A("div", Is, [
|
|
3303
|
+
g.value?.lightLogo ? k("v-if", !0) : (F(), A("p", Ls, "MuYun Platform")),
|
|
3304
|
+
j("h1", null, L(te.value), 1),
|
|
3305
|
+
ne.value ? (F(), A("p", Rs, L(ne.value), 1)) : k("v-if", !0)
|
|
3306
|
+
])) : k("v-if", !0)])]),
|
|
3307
|
+
d.value || e.error || v.value ? (F(), A("p", zs, L(d.value?.() || e.error || v.value?.()), 1)) : k("v-if", !0),
|
|
3308
|
+
f.value ? (F(), A("form", {
|
|
3143
3309
|
key: 2,
|
|
3144
3310
|
class: "login-form",
|
|
3145
|
-
onSubmit:
|
|
3311
|
+
onSubmit: mi(ie, ["prevent"])
|
|
3146
3312
|
}, [
|
|
3147
|
-
|
|
3148
|
-
|
|
3149
|
-
value:
|
|
3150
|
-
"onUpdate:value":
|
|
3313
|
+
j("p", Vs, L(R(n).t("platform.screen.LoginView.change-your-current-password-before-entering-the-system", "当前密码需要修改后才能进入系统")), 1),
|
|
3314
|
+
j("label", null, [j("span", null, L(R(n).t("platform.screen.LoginView.new-password", "新密码")), 1), M(R(T), {
|
|
3315
|
+
value: m.value,
|
|
3316
|
+
"onUpdate:value": r[3] ||= (e) => m.value = e,
|
|
3151
3317
|
type: "password",
|
|
3152
3318
|
autocomplete: "new-password",
|
|
3153
3319
|
required: ""
|
|
3154
3320
|
}, null, 8, ["value"])]),
|
|
3155
|
-
|
|
3156
|
-
value:
|
|
3157
|
-
"onUpdate:value":
|
|
3321
|
+
j("label", null, [j("span", null, L(R(n).t("platform.screen.LoginView.confirm-new-password", "确认新密码")), 1), M(R(T), {
|
|
3322
|
+
value: h.value,
|
|
3323
|
+
"onUpdate:value": r[4] ||= (e) => h.value = e,
|
|
3158
3324
|
type: "password",
|
|
3159
3325
|
autocomplete: "new-password",
|
|
3160
3326
|
required: ""
|
|
3161
3327
|
}, null, 8, ["value"])]),
|
|
3162
|
-
|
|
3328
|
+
M(R(St), {
|
|
3163
3329
|
class: "login-submit",
|
|
3164
3330
|
"html-type": "submit",
|
|
3165
3331
|
type: "primary",
|
|
3166
|
-
loading:
|
|
3332
|
+
loading: u.value || e.loading
|
|
3167
3333
|
}, {
|
|
3168
|
-
default:
|
|
3334
|
+
default: z(() => [ii(L(u.value || e.loading ? R(n).t("platform.screen.LoginView.saving", "保存中") : R(n).t("platform.screen.LoginView.change-password", "修改密码")), 1)]),
|
|
3169
3335
|
_: 1
|
|
3170
3336
|
}, 8, ["loading"])
|
|
3171
|
-
], 32)) : (
|
|
3337
|
+
], 32)) : (F(), A("form", {
|
|
3172
3338
|
key: 1,
|
|
3173
3339
|
class: "login-form",
|
|
3174
|
-
onSubmit:
|
|
3340
|
+
onSubmit: mi(b, ["prevent"])
|
|
3175
3341
|
}, [
|
|
3176
|
-
|
|
3177
|
-
value:
|
|
3178
|
-
"onUpdate:value":
|
|
3342
|
+
R(s) ? k("v-if", !0) : (F(), A("label", Bs, [j("span", null, L(R(n).t("platform.screen.LoginView.tenant-id", "租户 ID")), 1), M(R(T), {
|
|
3343
|
+
value: o.value,
|
|
3344
|
+
"onUpdate:value": r[0] ||= (e) => o.value = e,
|
|
3179
3345
|
autocomplete: "organization",
|
|
3180
|
-
placeholder: "留空进入系统工作区"
|
|
3181
|
-
}, null, 8, ["value"])])),
|
|
3182
|
-
|
|
3183
|
-
value:
|
|
3184
|
-
"onUpdate:value":
|
|
3346
|
+
placeholder: R(n).t("platform.screen.LoginView.leave-blank-to-enter-the-system-workspace", "留空进入系统工作区")
|
|
3347
|
+
}, null, 8, ["value", "placeholder"])])),
|
|
3348
|
+
j("label", null, [j("span", null, L(R(n).t("platform.screen.LoginView.username", "用户名")), 1), M(R(T), {
|
|
3349
|
+
value: c.value,
|
|
3350
|
+
"onUpdate:value": r[1] ||= (e) => c.value = e,
|
|
3185
3351
|
autocomplete: "username",
|
|
3186
3352
|
required: ""
|
|
3187
3353
|
}, null, 8, ["value"])]),
|
|
3188
|
-
|
|
3189
|
-
value:
|
|
3190
|
-
"onUpdate:value":
|
|
3354
|
+
j("label", null, [j("span", null, L(R(n).t("platform.screen.LoginView.password", "密码")), 1), M(R(T), {
|
|
3355
|
+
value: l.value,
|
|
3356
|
+
"onUpdate:value": r[2] ||= (e) => l.value = e,
|
|
3191
3357
|
type: "password",
|
|
3192
3358
|
autocomplete: "current-password",
|
|
3193
3359
|
required: ""
|
|
3194
3360
|
}, null, 8, ["value"])]),
|
|
3195
|
-
|
|
3361
|
+
M(R(St), {
|
|
3196
3362
|
class: "login-submit",
|
|
3197
3363
|
"html-type": "submit",
|
|
3198
3364
|
type: "primary",
|
|
3199
|
-
disabled: !
|
|
3200
|
-
loading:
|
|
3365
|
+
disabled: !y.value,
|
|
3366
|
+
loading: u.value || e.loading || _.value
|
|
3201
3367
|
}, {
|
|
3202
|
-
default:
|
|
3368
|
+
default: z(() => [ii(L(u.value || e.loading ? R(n).t("platform.screen.LoginView.signing-in", "登录中") : R(n).t("platform.screen.LoginView.sign-in", "登录")), 1)]),
|
|
3203
3369
|
_: 1
|
|
3204
3370
|
}, 8, ["disabled", "loading"])
|
|
3205
3371
|
], 32))
|
|
3206
|
-
])]));
|
|
3372
|
+
])])], 64));
|
|
3207
3373
|
}
|
|
3208
|
-
}), [["__scopeId", "data-v-
|
|
3374
|
+
}), [["__scopeId", "data-v-8ea5034c"]]);
|
|
3209
3375
|
//#endregion
|
|
3210
3376
|
//#region src/consumer/userPreferencePersistence.ts
|
|
3211
|
-
function
|
|
3212
|
-
|
|
3377
|
+
function Us(e) {
|
|
3378
|
+
lr({
|
|
3213
3379
|
load: async (t) => (await e().request({
|
|
3214
3380
|
path: `/platform.user-preference/${encodeURIComponent(t)}`,
|
|
3215
3381
|
query: { clientType: "WEB" }
|
|
@@ -3231,10 +3397,10 @@ function Ao(e) {
|
|
|
3231
3397
|
}
|
|
3232
3398
|
//#endregion
|
|
3233
3399
|
//#region src/app/ChangeOwnPasswordDialog.vue?vue&type=script&setup=true&lang.ts
|
|
3234
|
-
var
|
|
3400
|
+
var Ws = { class: "change-own-password-fields" }, Gs = {
|
|
3235
3401
|
key: 0,
|
|
3236
3402
|
class: "change-own-password-error"
|
|
3237
|
-
},
|
|
3403
|
+
}, Ks = /*#__PURE__*/ wr(/* @__PURE__ */ P({
|
|
3238
3404
|
name: "ChangeOwnPasswordDialog",
|
|
3239
3405
|
__name: "ChangeOwnPasswordDialog",
|
|
3240
3406
|
props: {
|
|
@@ -3259,65 +3425,75 @@ var jo = { class: "change-own-password-fields" }, Mo = {
|
|
|
3259
3425
|
"update:confirmPassword"
|
|
3260
3426
|
],
|
|
3261
3427
|
setup(e, { emit: t }) {
|
|
3262
|
-
let n = t;
|
|
3263
|
-
return (t,
|
|
3428
|
+
let n = E(), r = t;
|
|
3429
|
+
return (t, i) => (F(), O(R(Zr), {
|
|
3264
3430
|
open: e.open,
|
|
3265
|
-
title: "修改密码",
|
|
3266
|
-
"confirm-text": "保存",
|
|
3431
|
+
title: R(n).t("platform.screen.ChangeOwnPasswordDialog.change-password", "修改密码"),
|
|
3432
|
+
"confirm-text": R(n).t("platform.screen.ChangeOwnPasswordDialog.save", "保存"),
|
|
3267
3433
|
"confirm-loading": e.saving,
|
|
3268
3434
|
"confirm-disabled": !e.currentPassword || !e.newPassword || !e.confirmPassword,
|
|
3269
|
-
onConfirm:
|
|
3270
|
-
onCancel:
|
|
3435
|
+
onConfirm: i[3] ||= (e) => r("submit"),
|
|
3436
|
+
onCancel: i[4] ||= (e) => r("close")
|
|
3271
3437
|
}, {
|
|
3272
|
-
default:
|
|
3273
|
-
|
|
3438
|
+
default: z(() => [j("div", Ws, [
|
|
3439
|
+
j("label", null, [j("span", null, L(R(n).t("platform.screen.ChangeOwnPasswordDialog.current-password", "当前密码")), 1), M(R(T), {
|
|
3274
3440
|
value: e.currentPassword,
|
|
3275
3441
|
type: "password",
|
|
3276
3442
|
autocomplete: "current-password",
|
|
3277
3443
|
disabled: e.saving,
|
|
3278
|
-
placeholder: "请输入当前密码",
|
|
3279
|
-
"onUpdate:value":
|
|
3280
|
-
}, null, 8, [
|
|
3281
|
-
|
|
3444
|
+
placeholder: R(n).t("platform.screen.ChangeOwnPasswordDialog.enter-your-current-password", "请输入当前密码"),
|
|
3445
|
+
"onUpdate:value": i[0] ||= (e) => r("update:currentPassword", e)
|
|
3446
|
+
}, null, 8, [
|
|
3447
|
+
"value",
|
|
3448
|
+
"disabled",
|
|
3449
|
+
"placeholder"
|
|
3450
|
+
])]),
|
|
3451
|
+
j("label", null, [j("span", null, L(R(n).t("platform.screen.ChangeOwnPasswordDialog.new-password", "新密码")), 1), M(R(T), {
|
|
3282
3452
|
value: e.newPassword,
|
|
3283
3453
|
type: "password",
|
|
3284
3454
|
autocomplete: "new-password",
|
|
3285
3455
|
disabled: e.saving,
|
|
3286
|
-
placeholder: "请输入新密码",
|
|
3287
|
-
"onUpdate:value":
|
|
3288
|
-
}, null, 8, [
|
|
3289
|
-
|
|
3456
|
+
placeholder: R(n).t("platform.screen.ChangeOwnPasswordDialog.enter-your-new-password", "请输入新密码"),
|
|
3457
|
+
"onUpdate:value": i[1] ||= (e) => r("update:newPassword", e)
|
|
3458
|
+
}, null, 8, [
|
|
3459
|
+
"value",
|
|
3460
|
+
"disabled",
|
|
3461
|
+
"placeholder"
|
|
3462
|
+
])]),
|
|
3463
|
+
j("label", null, [j("span", null, L(R(n).t("platform.screen.ChangeOwnPasswordDialog.confirm-new-password", "确认新密码")), 1), M(R(T), {
|
|
3290
3464
|
value: e.confirmPassword,
|
|
3291
3465
|
type: "password",
|
|
3292
3466
|
autocomplete: "new-password",
|
|
3293
3467
|
disabled: e.saving,
|
|
3294
|
-
placeholder: "请再次输入新密码",
|
|
3295
|
-
"onUpdate:value":
|
|
3296
|
-
}, null, 8, [
|
|
3297
|
-
|
|
3468
|
+
placeholder: R(n).t("platform.screen.ChangeOwnPasswordDialog.enter-your-new-password-again", "请再次输入新密码"),
|
|
3469
|
+
"onUpdate:value": i[2] ||= (e) => r("update:confirmPassword", e)
|
|
3470
|
+
}, null, 8, [
|
|
3471
|
+
"value",
|
|
3472
|
+
"disabled",
|
|
3473
|
+
"placeholder"
|
|
3474
|
+
])])
|
|
3475
|
+
]), e.error ? (F(), A("p", Gs, L(e.error), 1)) : k("v-if", !0)]),
|
|
3298
3476
|
_: 1
|
|
3299
3477
|
}, 8, [
|
|
3300
3478
|
"open",
|
|
3479
|
+
"title",
|
|
3480
|
+
"confirm-text",
|
|
3301
3481
|
"confirm-loading",
|
|
3302
3482
|
"confirm-disabled"
|
|
3303
3483
|
]));
|
|
3304
3484
|
}
|
|
3305
|
-
}), [["__scopeId", "data-v-
|
|
3485
|
+
}), [["__scopeId", "data-v-c6faa9f8"]]), qs = { class: "theme-skin-preferences" }, Js = {
|
|
3306
3486
|
key: 0,
|
|
3307
3487
|
class: "theme-skin-error",
|
|
3308
3488
|
role: "alert"
|
|
3309
|
-
},
|
|
3310
|
-
class: "theme-skin-grid",
|
|
3311
|
-
role: "radiogroup",
|
|
3312
|
-
"aria-label": "工作台皮肤"
|
|
3313
|
-
}, Lo = [
|
|
3489
|
+
}, Ys = ["aria-label"], Xs = [
|
|
3314
3490
|
"aria-checked",
|
|
3315
3491
|
"tabindex",
|
|
3316
3492
|
"data-skin-id",
|
|
3317
3493
|
"disabled",
|
|
3318
3494
|
"onClick",
|
|
3319
3495
|
"onKeydown"
|
|
3320
|
-
],
|
|
3496
|
+
], Zs = /*#__PURE__*/ wr(/* @__PURE__ */ P({
|
|
3321
3497
|
name: "ThemeSkinPreferencesDialog",
|
|
3322
3498
|
__name: "ThemeSkinPreferencesDialog",
|
|
3323
3499
|
props: {
|
|
@@ -3328,12 +3504,13 @@ var jo = { class: "change-own-password-fields" }, Mo = {
|
|
|
3328
3504
|
type: Boolean,
|
|
3329
3505
|
default: !1
|
|
3330
3506
|
},
|
|
3331
|
-
error: { default: void 0 }
|
|
3507
|
+
error: { default: void 0 },
|
|
3508
|
+
failure: { default: void 0 }
|
|
3332
3509
|
},
|
|
3333
3510
|
emits: ["close", "select"],
|
|
3334
3511
|
setup(e, { emit: t }) {
|
|
3335
|
-
let n = t;
|
|
3336
|
-
function
|
|
3512
|
+
let n = E(), r = e, i = D(() => r.failure === "save-failed" ? n.t("platform.screen.themeSkinPreference.could-not-save-the-appearance-preference-the-previous", "皮肤保存失败,已恢复为之前的设置。") : r.error), a = t;
|
|
3513
|
+
function o(e, t) {
|
|
3337
3514
|
if (![
|
|
3338
3515
|
"ArrowRight",
|
|
3339
3516
|
"ArrowDown",
|
|
@@ -3343,75 +3520,80 @@ var jo = { class: "change-own-password-fields" }, Mo = {
|
|
|
3343
3520
|
"End"
|
|
3344
3521
|
].includes(e.key)) return;
|
|
3345
3522
|
e.preventDefault();
|
|
3346
|
-
let
|
|
3347
|
-
if (!
|
|
3348
|
-
let
|
|
3349
|
-
s && (
|
|
3523
|
+
let n = e.currentTarget instanceof HTMLElement ? e.currentTarget.parentElement : void 0, r = n?.children.length ?? 0;
|
|
3524
|
+
if (!r) return;
|
|
3525
|
+
let i = e.key === "Home" ? 0 : e.key === "End" ? r - 1 : (t + (e.key === "ArrowRight" || e.key === "ArrowDown" ? 1 : -1) + r) % r, o = n?.children.item(i), s = o?.dataset.skinId;
|
|
3526
|
+
s && (a("select", s), o?.focus());
|
|
3350
3527
|
}
|
|
3351
|
-
return (t,
|
|
3528
|
+
return (t, r) => (F(), O(R(Zr), {
|
|
3352
3529
|
open: e.open,
|
|
3353
|
-
title: "偏好设置",
|
|
3530
|
+
title: R(n).t("platform.screen.ThemeSkinPreferencesDialog.preferences", "偏好设置"),
|
|
3354
3531
|
width: 460,
|
|
3355
|
-
"confirm-text": e.saving ? "保存中…" : "完成",
|
|
3532
|
+
"confirm-text": e.saving ? R(n).t("platform.screen.ThemeSkinPreferencesDialog.saving", "保存中…") : R(n).t("platform.screen.ThemeSkinPreferencesDialog.done", "完成"),
|
|
3356
3533
|
"confirm-loading": e.saving,
|
|
3357
|
-
onConfirm:
|
|
3358
|
-
onCancel:
|
|
3534
|
+
onConfirm: r[0] ||= (e) => a("close"),
|
|
3535
|
+
onCancel: r[1] ||= (e) => a("close")
|
|
3359
3536
|
}, {
|
|
3360
|
-
default:
|
|
3361
|
-
|
|
3362
|
-
|
|
3363
|
-
|
|
3537
|
+
default: z(() => [j("section", qs, [
|
|
3538
|
+
j("header", null, [j("h2", null, L(R(n).t("platform.screen.ThemeSkinPreferencesDialog.workbench-appearance", "工作台皮肤")), 1), j("p", null, L(R(n).t("platform.screen.ThemeSkinPreferencesDialog.your-appearance-preference-is-saved-to-this-account", "皮肤会同步保存到当前账号,并在下次启动时优先恢复。")), 1)]),
|
|
3539
|
+
i.value ? (F(), A("p", Js, L(i.value), 1)) : k("v-if", !0),
|
|
3540
|
+
j("div", {
|
|
3541
|
+
class: "theme-skin-grid",
|
|
3542
|
+
role: "radiogroup",
|
|
3543
|
+
"aria-label": R(n).t("platform.screen.ThemeSkinPreferencesDialog.workbench-appearance", "工作台皮肤")
|
|
3544
|
+
}, [(F(!0), A(ri, null, ui(e.skins, (t, i) => (F(), A("button", {
|
|
3364
3545
|
key: t.id,
|
|
3365
|
-
class:
|
|
3546
|
+
class: ai(["theme-skin-card", { selected: t.id === e.activeSkinId }]),
|
|
3366
3547
|
type: "button",
|
|
3367
3548
|
role: "radio",
|
|
3368
3549
|
"aria-checked": t.id === e.activeSkinId,
|
|
3369
3550
|
tabindex: t.id === e.activeSkinId ? 0 : -1,
|
|
3370
3551
|
"data-skin-id": t.id,
|
|
3371
3552
|
disabled: e.saving,
|
|
3372
|
-
onClick: (e) =>
|
|
3373
|
-
onKeydown: (e) =>
|
|
3553
|
+
onClick: (e) => a("select", t.id),
|
|
3554
|
+
onKeydown: (e) => o(e, i)
|
|
3374
3555
|
}, [
|
|
3375
|
-
|
|
3556
|
+
j("span", {
|
|
3376
3557
|
class: "theme-skin-preview",
|
|
3377
|
-
style:
|
|
3558
|
+
style: oi({
|
|
3378
3559
|
"--skin-canvas": t.theme.support.canvas,
|
|
3379
3560
|
"--skin-surface": t.theme.support.surface,
|
|
3380
3561
|
"--skin-text": t.theme.support.text,
|
|
3381
3562
|
"--skin-primary": t.theme.theme.base,
|
|
3382
3563
|
"--skin-accent": t.theme.brandAccent.base
|
|
3383
3564
|
})
|
|
3384
|
-
}, [...
|
|
3385
|
-
|
|
3386
|
-
|
|
3387
|
-
|
|
3565
|
+
}, [...r[2] ||= [
|
|
3566
|
+
j("i", { class: "theme-skin-preview-sidebar" }, null, -1),
|
|
3567
|
+
j("i", { class: "theme-skin-preview-toolbar" }, null, -1),
|
|
3568
|
+
j("i", { class: "theme-skin-preview-card" }, null, -1)
|
|
3388
3569
|
]], 4),
|
|
3389
|
-
|
|
3390
|
-
|
|
3391
|
-
], 42,
|
|
3570
|
+
j("strong", null, L(t.titleKey ? R(n).t(t.titleKey, t.title) : t.title), 1),
|
|
3571
|
+
j("small", null, L(t.descriptionKey ? R(n).t(t.descriptionKey, t.description) : t.description), 1)
|
|
3572
|
+
], 42, Xs))), 128))], 8, Ys)
|
|
3392
3573
|
])]),
|
|
3393
3574
|
_: 1
|
|
3394
3575
|
}, 8, [
|
|
3395
3576
|
"open",
|
|
3577
|
+
"title",
|
|
3396
3578
|
"confirm-text",
|
|
3397
3579
|
"confirm-loading"
|
|
3398
3580
|
]));
|
|
3399
3581
|
}
|
|
3400
|
-
}), [["__scopeId", "data-v-
|
|
3401
|
-
async function
|
|
3402
|
-
let n = await e.restore($, t, { persistence: "backend" }), r =
|
|
3582
|
+
}), [["__scopeId", "data-v-d7f8f04d"]]), $ = "workbench.theme-skin";
|
|
3583
|
+
async function Qs(e, t) {
|
|
3584
|
+
let n = await e.restore($, t, { persistence: "backend" }), r = ar(n).id;
|
|
3403
3585
|
return await e.set($, r, { persistence: "local" }), r;
|
|
3404
3586
|
}
|
|
3405
|
-
async function
|
|
3587
|
+
async function $s(e, t, n) {
|
|
3406
3588
|
await e.set($, t, { persistence: "local" });
|
|
3407
3589
|
try {
|
|
3408
3590
|
return await e.set($, t, { persistence: "backend" }), { skinId: t };
|
|
3409
3591
|
} catch {
|
|
3410
3592
|
return await e.set($, n, { persistence: "local" }), {
|
|
3411
3593
|
skinId: n,
|
|
3412
|
-
|
|
3594
|
+
failure: "save-failed"
|
|
3413
3595
|
};
|
|
3414
3596
|
}
|
|
3415
3597
|
}
|
|
3416
3598
|
//#endregion
|
|
3417
|
-
export {
|
|
3599
|
+
export { Ht as AppError, Ts as AppWorkbenchShell, In as AssistantCapabilityUsageError, Or as AssistantConversationInterruptedError, dr as AssistantEffectInterruptedError, Nn as AssistantOperationRejectedError, Nn as OperationRejectedError, Mr as BusinessNotificationPanel, Ks as ChangeOwnPasswordDialog, Ln as DateTimeText, tn as DraftUpdateRejectedError, at as DrawerOperationBar, Ne as DynamicModuleWorkspaceDetailView, En as FileSizeText, Mt as FileTransferUploadCancelledError, Er as FileTransferUploader, Te as LanguageSelector, Hs as LoginView, Mn as ModuleContextProvider, br as ModuleHttpProvider, et as ModuleReferenceRecordDetailBrowser, dt as OperationUsageError, bs as PlatformAdminOutlet, So as PlatformAdminRouteOutlet, Pr as ReadonlyReferenceValue, qt as RecordDetailDrawer, bt as ReferencePicker, Nt as ReferencePickerReadError, rr as ReferenceRecordDetailBrowser, mn as SingleImageFileReferenceField, zr as StaleAssistantInvocationError, Zs as ThemeSkinPreferencesDialog, St as UiButton, nn as UiDataTable, T as UiInput, Br as UiLanguageProvider, Jr as UiSidePanel, Gt as UiSwitch, Lt as UiTextArea, cr as UiThemeProvider, Gr as UiTree, vt as UiTreeSelect, eo as VueQueryPlugin, nt as Workbench, Pe as WorkbenchAssistantPanel, a as WorkbenchMenu, Fe as WorkbenchOutlet, pe as WorkspaceViewOutlet, ht as actionResultData, Lo as activeTabUrlOf, Go as arrangeLockedMenuTabs, er as boundedAssistantConversationHistory, p as buildWorkbenchMegaMenuModel, gt as canQueryRecycleBin, h as canonicalDynamicModulePath, v as clearAuthToken, Wr as codeOperationErrorMessage, wo as configureAuthenticationRecovery, Nr as configureModuleContext, he as configureModulePageEnhancementContributions, Qe as configureModulePageEnhancements, Us as configureUserPreferencePersistence, Me as configureWorkspaceViewContributions, Zn as confirmAction, ee as connectAppRealtime, or as connectRealtimeBusinessEvents, Vt as connectRealtimeBusinessNotifications, Ut as connectRealtimeDataChanges, Yt as connectRealtimeUserNotifications, Oe as constructionPlanLimits, yt as contextDataChangeChannel, zn as createAssistantCapabilitySelection, ao as createAssistantConversationClient, An as createAssistantDisplayObservations, Hr as createAssistantOperationConfirmation, Gn as createAssistantSurfaceRegistry, hr as createAssistantTurnRequester, ie as createAuthClient, Eo as createBackendHttpClient, Sn as createBrowserFileTransferUpload, lt as createCodeTextPresentation, io as createConstructionPlanClient, te as createDataChangeDispatcher, ge as createDataExchangeClient, $n as createHttpClient, yn as createLanguageContext, At as createLanguagePreferenceController, s as createLoginContextClient, Qn as createManagedDetailRelationClient, Ze as createMenuClient, x as createMenuTab, Rn as createModuleContext, Yn as createModuleCrudClient, re as createModulePageEnhancementRegistry, On as createModuleTreeClient, fr as createModuleTreeContext, Ur as createNavigatorReferenceCrudClient, Qr as createNavigatorReferenceTreeClient, qr as createOperationConfirmation, ae as createPageBootstrapClient, to as createQueryClient, Ot as createRealtimeClient, $e as createReferenceResolveClient, u as createSessionClient, zt as createSseParser, Pn as createStaticModuleCrudClient, Yr as createStaticModuleTreeClient, rn as createStaticResourceCrudClient, ft as createStaticResourceTreeClient, we as createUuid, oe as createWorkbenchMenuNodes, wn as createWorkflowAdminClient, Zt as createWorkflowClient, rt as createWorkflowDefinitionClient, Je as createWorkspaceViewDescriptor, ye as createWorkspaceViewRegistry, Rt as dataChangeChannel, st as defaultUiThemeSkinId, ti as defineWorkspaceView, ke as disconnectAppRealtime, Se as dismissWorkspaceViewDescriptor, mr as displayModuleRuntime, le as dynamicModuleAliasFromPath, y as effectiveAuthToken, xr as emptyAssistantCapabilityInputSchema, ce as filterWorkbenchMenuNodes, ue as findFirstNavigationMenu, f as findWorkbenchMenuNodeById, g as findWorkbenchMenuPath, Be as firstDeepRootIdOf, b as getMenuNavigationTarget, Fn as hasExecutableDetailRelationMutationContract, ur as hasExecutableDetailRelationQueryContract, mt as hasRecycleBinAbility, en as imConversationMessageChannel, ei as imMessageSendCommand, ro as invokeBusinessNotificationRecordAction, kn as isHttpStreamClient, _o as isPlatformAdminRoutePage, n as isTabMenuTarget, ln as isTextReference, Jt as isUnexpectedPlatformError, be as isWindowMenuTarget, hn as loadLanguageCatalog, fe as lookupOperationReceipt, _t as modelFailureMessage, Kt as moduleAbilityCodes, ut as moduleDataChangeChannel, o as modulePageWorkspaceViews, Ae as normalizeChangeSet, Dt as normalizeError, l as normalizeMenuMineResponse, Kr as normalizeModulePageResponse, on as normalizeModuleRecord, un as organizationPublicDataChangeChannel, Et as organizationPublicNotificationChannel, Tt as originalPresentation, Lr as pageActionEntryDescription, _r as pageActionEntryTitle, Ar as pageActionEntryVisible, nr as pageActionIntent, i as pageAssistantCatalog, Ke as pageDescriptorFromUrl, C as pageDescriptorToUrl, He as pageInstanceKeyOf, Xe as pagePublicationDigest, pr as parseEmptyAssistantCapabilityInput, tt as parseOperationReceiptReference, mo as platformAdminModuleRoutes, ho as platformAdminRouteLayouts, po as platformAdminRoutePrefixes, fo as platformAdminRoutes, Cn as platformCodeTextOriginal, Xt as platformCodeTextReference, It as platformErrorCodes, w as platformLanguageContext, cn as platformPingCommand, gr as presentPlatformError, kr as presentPlatformInfo, tr as presentPlatformMessage, jn as presentPlatformSuccess, se as presentWorkbenchRealtimeStatus, sn as presentationLabel, Xn as provideAssistantSurfaceHost, de as provideCurrentUserContext, Hn as provideLanguageContext, Vr as provideModuleContextConfig, ve as provideWorkbenchNavigation, bn as provideWorkspaceUnsavedStateRegistrar, je as provideWorkspaceViewHost, no as queryKeys, pn as realtimeDestinations, Ct as realtimeMessageTypes, Ft as recordDataChangeChannel, fn as recordPresentationLabel, xt as recordPresentationText, Ce as refreshModulePageList, Wn as refreshWorkflowRecordActions, Bn as registerUiLanguageLocales, Qo as removeLockedMenuTabs, $t as resolveGlobalErrorPresentation, an as resolveOperationErrorMessage, Ee as resolvePageDescriptor, go as resolvePlatformAdminRoute, Pt as resolvePresentationText, pt as resolveWebActionResult, Wt as resolveWebActionResultMessage, ze as resolveWorkspaceView, Tr as resourceDataChangeChannel, jt as resourceRecordDataChangeChannel, Xr as restoreAssistantOperationReceipt, _s as restoreLockedTabPreference, qo as restoreLockedWorkbenchTabs, Qs as restoreThemeSkinPreference, Ro as restoreWorkbenchStartupStateFromUrl, xe as routeUrlWithOpenOptions, yr as runAssistantConversation, jr as runAssistantStep, Jn as sameAssistantInvocationToken, ne as saveAuthSessionId, d as saveAuthToken, vs as saveLockedTabPreference, $s as saveThemeSkinPreference, xn as sessionActivityCommand, m as storedAuthSessionId, _ as storedAuthToken, r as subscribeAppBusinessEvents, De as subscribeAppDataChanges, Ve as syncModulePageWorkspaceViewContributions, me as tabIdentityKeyOf, Le as tabKeyOf, _n as tenantPublicDataChangeChannel, Tn as tenantPublicNotificationChannel, Fr as textReferenceMatchesOriginal, $ as themeSkinPreferenceKey, Cr as translatedPresentation, We as tryPageDescriptorFromUrl, ar as uiThemeSkinById, Bt as uiThemeSkins, vn as unwrapResponsePayload, Xo as updateLockedMenuTabs, wt as uploadedFileId, Dn as useAssistantSurfaceHost, Ye as useCurrentUserContext, E as useLanguageContext, Vn as useModuleContext, qn as useModuleHttpClient, Sr as useModuleTreeContext, Re as useWorkbenchNavigation, qe as useWorkspaceViewHost, Ge as useWorkspaceViewNavigation, gn as useWorkspaceViewUnsavedState, Qt as userBusinessEventChannel, it as userBusinessNotificationChannel, $r as userFacingErrorMessage, Un as userImMessageChannel, Ir as userNotificationChannel, ct as userPreferences, sr as webDataChangeKey, Rr as webDataChangeTypes, ot as webDataChanges, vr as withHttpHeaders, Dr as withLanguageContext, S as withPageInstanceKey, ir as withWebActionResultChanges, kt as withoutRecordPresentation };
|