@ximatai/muyun-web-app 0.26.3 → 0.26.5

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.
Files changed (138) hide show
  1. package/dist/{EmployeeDetailWorkspaceView-mtdcsqgF.js → EmployeeDetailWorkspaceView-rm9ujeiQ.js} +1 -1
  2. package/dist/{EmployeeManagementView-CKKvQZaC.js → EmployeeManagementView-DyYMWQ64.js} +510 -510
  3. package/dist/{MetadataOrchestrationView-CprWBocy.js → MetadataOrchestrationView-DaPNQML7.js} +175 -175
  4. package/dist/{ModuleActionManagementView-DNuAQUPE.js → ModuleActionManagementView-BFoPGqzC.js} +197 -197
  5. package/dist/{RoleAuthorizationView-CQtSAJoJ.js → RoleAuthorizationView-qQvn7M75.js} +56 -56
  6. package/dist/{RoleDetailWorkspaceView-Dh8DXpyS.js → RoleDetailWorkspaceView-C-vaKeZM.js} +1 -1
  7. package/dist/{RoleManagementView-BrqaFV7y.js → RoleManagementView-C3nxfub2.js} +490 -490
  8. package/dist/{SystemUserDetailWorkspaceView-N-kvycAu.js → SystemUserDetailWorkspaceView-FIbfff00.js} +1 -1
  9. package/dist/{SystemUserManagementView-BVS5moV5.js → SystemUserManagementView-m6vwJDxI.js} +128 -128
  10. package/dist/{UserDetailWorkspaceView-Iek6xwix.js → UserDetailWorkspaceView-M--ndn6x.js} +1 -1
  11. package/dist/{UserManagementView-BR_Jz8O-.js → UserManagementView-MSXf4fno.js} +293 -293
  12. package/dist/index.css +1 -1
  13. package/dist/index.js +2250 -2250
  14. package/dist/{pageRealtime-sRtDYlQP.js → pageRealtime-4LXXvVW7.js} +10 -10
  15. package/dist/{platform-components-bC1gwhic.js → platform-components-_3KlZZf5.js} +1195 -1467
  16. package/dist/types/app/LoginView.vue.d.ts +2 -2
  17. package/dist/types/app/appWorkbenchStartup.d.ts +1 -1
  18. package/dist/types/app/platformMessage.d.ts +1 -1
  19. package/dist/types/app/query.d.ts +1 -1
  20. package/dist/types/app/workbenchStartup.d.ts +3 -3
  21. package/dist/types/consumer/PlatformAdminOutlet.vue.d.ts +1 -1
  22. package/dist/types/consumer/index.d.ts +1 -2
  23. package/dist/types/dynamic-page-runtime/DynamicModuleHost.vue.d.ts +1 -1
  24. package/dist/types/dynamic-page-runtime/DynamicModulePage.vue.d.ts +1 -1
  25. package/dist/types/dynamic-page-runtime/actionReactions.d.ts +1 -1
  26. package/dist/types/dynamic-page-runtime/dynamicModuleDetailStateModel.d.ts +12 -0
  27. package/dist/types/dynamic-page-runtime/mockDescriptor.d.ts +1 -1
  28. package/dist/types/main.d.ts +1 -1
  29. package/dist/types/platform-admin-runtime/PlatformAdminOutlet.vue.d.ts +1 -1
  30. package/dist/types/platform-admin-runtime/WorkspaceViewDrawer.vue.d.ts +1 -1
  31. package/dist/types/platform-admin-runtime/WorkspaceViewOutlet.vue.d.ts +1 -1
  32. package/dist/types/platform-admin-runtime/backendHttp.d.ts +1 -1
  33. package/dist/types/platform-admin-runtime/currentUserContext.d.ts +1 -1
  34. package/dist/types/platform-admin-runtime/moduleOpenApi.d.ts +2 -2
  35. package/dist/types/platform-admin-runtime/pageRealtime.d.ts +1 -1
  36. package/dist/types/platform-admin-runtime/platformAdminRoutes.d.ts +1 -1
  37. package/dist/types/platform-admin-runtime/realtime.d.ts +4 -4
  38. package/dist/types/platform-admin-runtime/sessionRecovery.d.ts +1 -1
  39. package/dist/types/platform-admin-runtime/useWorkspaceViewPromotion.d.ts +1 -1
  40. package/dist/types/platform-admin-runtime/workspaceViewContract.d.ts +1 -1
  41. package/dist/types/platform-admin-runtime/workspaceViews.d.ts +1 -1
  42. package/dist/types/platform-components/ApplicationScopeSwitcher.vue.d.ts +1 -1
  43. package/dist/types/platform-components/CrudRecordListExplorer.vue.d.ts +2 -2
  44. package/dist/types/platform-components/ModuleActionButton.vue.d.ts +2 -2
  45. package/dist/types/platform-components/RecordActionBar.vue.d.ts +1 -1
  46. package/dist/types/platform-components/RecordDetailDrawer.vue.d.ts +1 -1
  47. package/dist/types/platform-components/RecordFormFields.vue.d.ts +1 -1
  48. package/dist/types/platform-components/RecordListExplorer.vue.d.ts +1 -1
  49. package/dist/types/platform-components/RecordMetaSection.vue.d.ts +1 -1
  50. package/dist/types/platform-components/RecordModeDrawer.vue.d.ts +15 -1
  51. package/dist/types/platform-components/RecordPicker.vue.d.ts +1 -1
  52. package/dist/types/platform-components/RecordQueryListPanel.vue.d.ts +1 -1
  53. package/dist/types/platform-components/TreeRecordExplorer.vue.d.ts +2 -2
  54. package/dist/types/platform-components/UserSessionExpandedSubtable.vue.d.ts +1 -1
  55. package/dist/types/platform-components/actionConfirmation.d.ts +1 -1
  56. package/dist/types/platform-components/index.d.ts +1 -0
  57. package/dist/types/platform-components/optionFieldOptions.d.ts +1 -1
  58. package/dist/types/platform-components/pageLayoutContext.d.ts +1 -1
  59. package/dist/types/platform-components/platformActionResultReactions.d.ts +1 -1
  60. package/dist/types/platform-components/platformErrorFeedback.d.ts +1 -1
  61. package/dist/types/platform-components/recordActionBarModel.d.ts +2 -2
  62. package/dist/types/platform-components/recordEditorSessionState.d.ts +1 -1
  63. package/dist/types/platform-components/recordExplorerItemModel.d.ts +1 -1
  64. package/dist/types/platform-components/recordFormFieldModel.d.ts +3 -3
  65. package/dist/types/platform-components/recycleBinState.d.ts +2 -2
  66. package/dist/types/platform-components/scopedResourceTreeModuleContext.d.ts +1 -1
  67. package/dist/types/platform-components/scopedTreeModuleContext.d.ts +1 -1
  68. package/dist/types/platform-components/softDeletedConflictHandler.d.ts +1 -1
  69. package/dist/types/platform-components/staticCrudManagementState.d.ts +2 -2
  70. package/dist/types/platform-components/staticFormActionFlow.d.ts +1 -1
  71. package/dist/types/platform-components/staticTreeResourceModuleContext.d.ts +1 -1
  72. package/dist/types/platform-components/treeRecordModel.d.ts +1 -1
  73. package/dist/types/platform-components/useRecycleBinExplorerMode.d.ts +1 -1
  74. package/dist/types/platform-components/userSessionPresentation.d.ts +1 -1
  75. package/dist/types/platform-workbench/Workbench.vue.d.ts +1 -1
  76. package/dist/types/platform-workbench/WorkbenchMenu.vue.d.ts +1 -1
  77. package/dist/types/platform-workbench/WorkbenchMenuTree.vue.d.ts +1 -1
  78. package/dist/types/platform-workbench/WorkbenchOutlet.vue.d.ts +1 -1
  79. package/dist/types/platform-workbench/hosts/BusinessRouteHost.vue.d.ts +1 -1
  80. package/dist/types/platform-workbench/hosts/ExternalPageHost.vue.d.ts +1 -1
  81. package/dist/types/platform-workbench/hosts/PlatformRouteHost.vue.d.ts +1 -1
  82. package/dist/types/platform-workbench/menuNavigation.d.ts +1 -1
  83. package/dist/types/platform-workbench/menuTreeModel.d.ts +1 -1
  84. package/dist/types/platform-workbench/pageHostRegistry.d.ts +1 -1
  85. package/dist/types/platform-workbench/workbenchNavigation.d.ts +1 -1
  86. package/dist/types/views/EmployeeDetailContent.vue.d.ts +3 -3
  87. package/dist/types/views/EmployeeEmploymentDrawer.vue.d.ts +1 -1
  88. package/dist/types/views/EmployeeEmploymentTable.vue.d.ts +1 -1
  89. package/dist/types/views/RoleAccountGrantDrawer.vue.d.ts +2 -2
  90. package/dist/types/views/RoleDetailWorkspaceView.vue.d.ts +1 -1
  91. package/dist/types/views/RoleEmploymentGrantDrawer.vue.d.ts +2 -2
  92. package/dist/types/views/RoleGroupMemberSelector.vue.d.ts +1 -1
  93. package/dist/types/views/RoleManagementView.vue.d.ts +1 -1
  94. package/dist/types/views/UserDetailContent.vue.d.ts +2 -2
  95. package/dist/types/views/applicationManagementState.d.ts +3 -3
  96. package/dist/types/views/departmentManagementState.d.ts +3 -3
  97. package/dist/types/views/dictionaryManagementState.d.ts +4 -4
  98. package/dist/types/views/employeeDetailWorkspaceSession.d.ts +1 -1
  99. package/dist/types/views/fieldSpecManagementState.d.ts +3 -3
  100. package/dist/types/views/fieldUiControlManagementState.d.ts +3 -3
  101. package/dist/types/views/menuManagementState.d.ts +7 -7
  102. package/dist/types/views/metadataOrchestrationState.d.ts +1 -1
  103. package/dist/types/views/moduleManagementState.d.ts +5 -5
  104. package/dist/types/views/organizationManagementState.d.ts +4 -4
  105. package/dist/types/views/positionManagementState.d.ts +4 -4
  106. package/dist/types/views/roleAuthorizationWorkspaceSession.d.ts +1 -1
  107. package/dist/types/views/roleDetailWorkspaceSession.d.ts +1 -1
  108. package/dist/types/views/roleDetailWorkspaceView.d.ts +1 -1
  109. package/dist/types/views/roleGrantClient.d.ts +2 -2
  110. package/dist/types/views/systemUserDetailWorkspaceSession.d.ts +1 -1
  111. package/dist/types/views/tenantManagementState.d.ts +3 -3
  112. package/dist/types/views/useEmployeeEmploymentRows.d.ts +2 -2
  113. package/dist/types/views/useUserSessionRows.d.ts +3 -3
  114. package/dist/types/views/userDetailWorkspaceSession.d.ts +1 -1
  115. package/dist/types/vue-ui-antdv/components/ActionBar.vue.d.ts +1 -1
  116. package/dist/types/vue-ui-antdv/components/DictionarySelect.vue.d.ts +1 -1
  117. package/dist/types/vue-ui-antdv/components/ReferenceSelect.vue.d.ts +1 -1
  118. package/dist/types/vue-ui-antdv/components/UiForm.vue.d.ts +1 -1
  119. package/dist/types/vue-ui-antdv/components/UiInput.vue.d.ts +1 -1
  120. package/dist/types/vue-ui-antdv/components/UiSelect.vue.d.ts +1 -1
  121. package/dist/types/vue-ui-antdv/components/UiTable.vue.d.ts +1 -1
  122. package/dist/types/vue-ui-antdv/components/UiTreeSelect.vue.d.ts +1 -1
  123. package/dist/types/vue-ui-antdv/dictionaries.d.ts +1 -1
  124. package/dist/types/vue-ui-antdv/references.d.ts +1 -1
  125. package/dist/types/vue-ui-antdv/registry.d.ts +1 -1
  126. package/dist/types/web-core/actionResult.d.ts +1 -2
  127. package/dist/types/web-core/clients.d.ts +1 -1
  128. package/dist/types/web-core/dataChanges.d.ts +1 -1
  129. package/dist/types/web-core/errors.d.ts +1 -1
  130. package/dist/types/web-core/http.d.ts +1 -1
  131. package/dist/types/web-core/mock.d.ts +1 -1
  132. package/dist/types/web-core/module/runtimeContext.d.ts +1 -1
  133. package/dist/types/web-core/module/staticModuleClient.d.ts +1 -1
  134. package/dist/types/web-core/realtime.d.ts +1 -1
  135. package/dist/{useUserSessionRows-CLM0ZvAF.js → useUserSessionRows-iAqK_cUy.js} +2 -2
  136. package/dist/workspaceViewSessions-DW0wbyQ_.js +1448 -0
  137. package/package.json +1 -1
  138. package/dist/workspaceViewSessions-WsJU3OS7.js +0 -1578
@@ -1,5 +1,5 @@
1
- import type { AuthClient } from '@muyun/web-core';
2
- import type { LoginResult } from '@muyun/web-contracts';
1
+ import type { AuthClient } from '../web-core/index';
2
+ import type { LoginResult } from '../web-contracts/index';
3
3
  type __VLS_Props = {
4
4
  authClient: AuthClient;
5
5
  loading?: boolean;
@@ -1,3 +1,3 @@
1
- import type { WorkbenchStartupState } from '@muyun/web-contracts';
1
+ import type { WorkbenchStartupState } from '../web-contracts/index';
2
2
  export declare function loadAppWorkbenchStartupState(): Promise<WorkbenchStartupState>;
3
3
  export declare function usesMockStartup(): boolean;
@@ -1,4 +1,4 @@
1
- import type { PlatformErrorCode } from '@muyun/web-core';
1
+ import type { PlatformErrorCode } from '../web-core/index';
2
2
  /**
3
3
  * Application-facing message boundary. The current platform only ships a zh-CN
4
4
  * default dictionary; future locale packs resolve the same stable error code here.
@@ -1,3 +1,3 @@
1
- import { VueQueryPlugin } from '@muyun/web-core';
1
+ import { VueQueryPlugin } from '../web-core/index';
2
2
  export declare const queryClient: import("@tanstack/vue-query").QueryClient;
3
3
  export { VueQueryPlugin };
@@ -1,6 +1,6 @@
1
- import type { MenuClient, SessionClient } from '@muyun/web-core';
2
- import type { MenuNavigationTarget, MenuRecord, MenuTab, PageDescriptor, WorkbenchStartupState } from '@muyun/web-contracts';
3
- import { type PageDescriptorResolveOptions } from '@muyun/platform-workbench';
1
+ import type { MenuClient, SessionClient } from '../web-core/index';
2
+ import type { MenuNavigationTarget, MenuRecord, MenuTab, PageDescriptor, WorkbenchStartupState } from '../web-contracts/index';
3
+ import { type PageDescriptorResolveOptions } from '../platform-workbench/index';
4
4
  export interface WorkbenchStartupClients {
5
5
  sessionClient: SessionClient;
6
6
  menuClient: MenuClient;
@@ -1,4 +1,4 @@
1
- import type { PageDescriptor } from '@muyun/web-contracts';
1
+ import type { PageDescriptor } from '../web-contracts/index';
2
2
  type __VLS_Props = {
3
3
  descriptor?: PageDescriptor;
4
4
  };
@@ -8,8 +8,7 @@
8
8
  import '../styles.css';
9
9
  export * from '../web-contracts/index';
10
10
  export * from '../web-core/index';
11
- export * from '../platform-components/index';
12
- export * from '../dynamic-page-runtime/index';
13
11
  export * from '../platform-workbench/index';
14
12
  export * from '../platform-admin-runtime/index';
13
+ export { UiButton, UiInput, UiSwitch } from '../vue-ui-antdv/index';
15
14
  export { default as PlatformAdminOutlet } from './PlatformAdminOutlet.vue';
@@ -1,4 +1,4 @@
1
- import type { DynamicModulePageDescriptor } from '@muyun/web-contracts';
1
+ import type { DynamicModulePageDescriptor } from '../web-contracts/index';
2
2
  type __VLS_Props = {
3
3
  descriptor: DynamicModulePageDescriptor;
4
4
  };
@@ -1,4 +1,4 @@
1
- import type { DynamicPageDescriptor } from '@muyun/web-contracts';
1
+ import type { DynamicPageDescriptor } from '../web-contracts/index';
2
2
  type __VLS_Props = {
3
3
  descriptor: DynamicPageDescriptor;
4
4
  };
@@ -1,4 +1,4 @@
1
- import type { ActionContract } from '@muyun/web-contracts';
1
+ import type { ActionContract } from '../web-contracts/index';
2
2
  export type DynamicLegacyActionRefresh = 'none' | 'record' | 'list' | 'all';
3
3
  export interface DynamicActionReaction {
4
4
  type: 'refresh-list' | 'refresh-detail';
@@ -0,0 +1,12 @@
1
+ export interface DynamicModuleDetailRequestState {
2
+ activeRequestSequence: number;
3
+ requestSequence: number;
4
+ }
5
+ export interface DynamicModuleDetailMutationState {
6
+ hasRecord: boolean;
7
+ saving: boolean;
8
+ loading: boolean;
9
+ loadFailed: boolean;
10
+ }
11
+ export declare function shouldCommitDynamicModuleDetailRequest(state: DynamicModuleDetailRequestState): boolean;
12
+ export declare function canMutateDynamicModuleDetail(state: DynamicModuleDetailMutationState): boolean;
@@ -1,2 +1,2 @@
1
- import type { DynamicPageDescriptor } from '@muyun/web-contracts';
1
+ import type { DynamicPageDescriptor } from '../web-contracts/index';
2
2
  export declare const customerDescriptor: DynamicPageDescriptor;
@@ -1,2 +1,2 @@
1
- import '@muyun/vue-ui-antdv/styles.css';
1
+ import './vue-ui-antdv/index/styles.css';
2
2
  import './styles.css';
@@ -1,4 +1,4 @@
1
- import type { BusinessRoutePageDescriptor } from '@muyun/web-contracts';
1
+ import type { BusinessRoutePageDescriptor } from '../web-contracts/index';
2
2
  type __VLS_Props = {
3
3
  descriptor: BusinessRoutePageDescriptor;
4
4
  };
@@ -1,4 +1,4 @@
1
- import { type DrawerPromotion } from '@muyun/platform-components';
1
+ import { type DrawerPromotion } from '../platform-components/index';
2
2
  import type { WorkspaceDrawerProfile } from './workspaceViewContract';
3
3
  type __VLS_Props = {
4
4
  open: boolean;
@@ -1,4 +1,4 @@
1
- import type { BusinessRoutePageDescriptor } from '@muyun/web-contracts';
1
+ import type { BusinessRoutePageDescriptor } from '../web-contracts/index';
2
2
  type __VLS_Props = {
3
3
  descriptor: BusinessRoutePageDescriptor;
4
4
  };
@@ -1,3 +1,3 @@
1
1
  export declare function createBackendHttpClient(options?: {
2
2
  withAuth?: boolean;
3
- }): import("@muyun/web-core").HttpClient;
3
+ }): import("../web-core/index").HttpClient;
@@ -1,4 +1,4 @@
1
1
  import { type Ref } from 'vue';
2
- import type { CurrentUser } from '@muyun/web-contracts';
2
+ import type { CurrentUser } from '../web-contracts/index';
3
3
  export declare function provideCurrentUserContext(currentUser: Readonly<Ref<CurrentUser | undefined>>): void;
4
4
  export declare function useCurrentUserContext(): Readonly<Ref<CurrentUser | undefined, CurrentUser | undefined>> | undefined;
@@ -1,5 +1,5 @@
1
- import type { HttpClient } from '@muyun/web-core';
2
- import type { PageDescriptor } from '@muyun/web-contracts';
1
+ import type { HttpClient } from '../web-core/index';
2
+ import type { PageDescriptor } from '../web-contracts/index';
3
3
  export interface ModuleOpenApiDocument {
4
4
  openapi: string;
5
5
  info: {
@@ -1,4 +1,4 @@
1
- import { type WebBusinessRealtimeEvent, type WebCommittedChangeSet, type WebDataChange } from '@muyun/web-contracts';
1
+ import { type WebBusinessRealtimeEvent, type WebCommittedChangeSet, type WebDataChange } from '../web-contracts/index';
2
2
  export interface PageRealtimeSubscription {
3
3
  unsubscribe(): void;
4
4
  }
@@ -1,5 +1,5 @@
1
1
  import type { Component } from 'vue';
2
- import type { BusinessRoutePageDescriptor, PageDescriptor, PageLayoutMode } from '@muyun/web-contracts';
2
+ import type { BusinessRoutePageDescriptor, PageDescriptor, PageLayoutMode } from '../web-contracts/index';
3
3
  export interface PlatformAdminRoute {
4
4
  route: string;
5
5
  moduleAlias: string;
@@ -1,6 +1,6 @@
1
- import { type RealtimeClient, type RealtimeConnectionState } from '@muyun/web-core';
2
- import type { WebBusinessRealtimeEvent, WebCommittedChangeSet, WebUserNotification } from '@muyun/web-contracts';
3
- export declare const appDataChangeDispatcher: import("@muyun/web-core").DataChangeDispatcher;
1
+ import { type RealtimeClient, type RealtimeConnectionState } from '../web-core/index';
2
+ import type { WebBusinessRealtimeEvent, WebCommittedChangeSet, WebUserNotification } from '../web-contracts/index';
3
+ export declare const appDataChangeDispatcher: import("../web-core/index").DataChangeDispatcher;
4
4
  export interface AppRealtimeOptions {
5
5
  onUnauthorized?: () => void;
6
6
  onUserNotification?: (notification: WebUserNotification) => void;
@@ -14,7 +14,7 @@ export declare function connectAppRealtime(options?: AppRealtimeOptions): {
14
14
  export declare function subscribeAppModuleDataChanges(moduleAlias: string): {
15
15
  unsubscribe(): void;
16
16
  };
17
- export declare function subscribeAppDataChanges(handler: (changeSet: WebCommittedChangeSet) => void | Promise<void>): import("@muyun/web-core").DataChangeSubscription;
17
+ export declare function subscribeAppDataChanges(handler: (changeSet: WebCommittedChangeSet) => void | Promise<void>): import("../web-core/index").DataChangeSubscription;
18
18
  export declare function subscribeAppBusinessEvents(handler: (event: WebBusinessRealtimeEvent) => void | Promise<void>): {
19
19
  unsubscribe(): void;
20
20
  };
@@ -1,3 +1,3 @@
1
- import type { AppError } from '@muyun/web-core';
1
+ import type { AppError } from '../web-core/index';
2
2
  export declare function configureAuthenticationRecovery(handler: (error: AppError, token?: string) => boolean): void;
3
3
  export declare function recoverAuthentication(error: AppError, token?: string): boolean;
@@ -1,5 +1,5 @@
1
1
  import { type MaybeRefOrGetter } from 'vue';
2
- import type { DrawerPromotion } from '@muyun/platform-components';
2
+ import type { DrawerPromotion } from '../platform-components/index';
3
3
  import { type WorkspaceViewDefinition, type WorkspaceViewInput } from './workspaceViews';
4
4
  /** Facts required by the source host; dirty state belongs to the shared view session. */
5
5
  export interface WorkspaceViewPromotionEligibility {
@@ -1,5 +1,5 @@
1
1
  import type { Component } from 'vue';
2
- import type { PageLayoutMode, RouteQueryValue } from '@muyun/web-contracts';
2
+ import type { PageLayoutMode, RouteQueryValue } from '../web-contracts/index';
3
3
  export type WorkspaceViewInput = object;
4
4
  export type WorkspaceViewPresentation = 'drawer' | 'tab';
5
5
  /**
@@ -1,4 +1,4 @@
1
- import type { BusinessRoutePageDescriptor } from '@muyun/web-contracts';
1
+ import type { BusinessRoutePageDescriptor } from '../web-contracts/index';
2
2
  import type { WorkspaceViewDefinition, WorkspaceViewInput, WorkspaceViewPresentation } from './workspaceViewContract';
3
3
  export { defineWorkspaceView, type WorkspaceViewDefinition, type WorkspaceViewInput, type WorkspaceViewPresentation, } from './workspaceViewContract';
4
4
  export interface ResolvedWorkspaceView {
@@ -1,4 +1,4 @@
1
- import type { Option, OptionValue } from '@muyun/web-contracts';
1
+ import type { Option, OptionValue } from '../web-contracts/index';
2
2
  type __VLS_Props = {
3
3
  value?: OptionValue | null;
4
4
  options: Option[];
@@ -1,5 +1,5 @@
1
- import { type UiRecordInlineAction } from '@muyun/vue-ui-antdv';
2
- import { type ModuleContext } from '@muyun/web-core';
1
+ import { type UiRecordInlineAction } from '../vue-ui-antdv/index';
2
+ import { type ModuleContext } from '../web-core/index';
3
3
  import type { RecordExplorerItemDescriptor } from './recordExplorerItemModel';
4
4
  import { type CrudRecordListBase } from './crudRecordListModel';
5
5
  export type CrudRecordListMode = 'normal' | 'recycleBin';
@@ -1,5 +1,5 @@
1
- import type { ModuleContext } from '@muyun/web-core';
2
- import { type UiIconName } from '@muyun/vue-ui-antdv';
1
+ import type { ModuleContext } from '../web-core/index';
2
+ import { type UiIconName } from '../vue-ui-antdv/index';
3
3
  type __VLS_Props = {
4
4
  context: ModuleContext<unknown>;
5
5
  actionCode: string;
@@ -1,4 +1,4 @@
1
- import type { ModuleContext } from '@muyun/web-core';
1
+ import type { ModuleContext } from '../web-core/index';
2
2
  import { type RecordActionItem } from './recordActionBarModel';
3
3
  type __VLS_Props = {
4
4
  context: ModuleContext<unknown>;
@@ -1,4 +1,4 @@
1
- import { type UiSidePanelScope } from '@muyun/vue-ui-antdv';
1
+ import { type UiSidePanelScope } from '../vue-ui-antdv/index';
2
2
  import type { DrawerPromotion } from './drawerPromotion';
3
3
  type __VLS_Props = {
4
4
  open: boolean;
@@ -1,4 +1,4 @@
1
- import type { ModuleContext } from '@muyun/web-core';
1
+ import type { ModuleContext } from '../web-core/index';
2
2
  import { type RecordFormFieldDescriptor, type RecordFormFieldFallback, type RecordFormFieldPickerConfig, type RecordFormFieldState, type RecordFormFieldValue, type RecordFormRecord } from './recordFormFieldModel';
3
3
  type __VLS_Props = {
4
4
  record: RecordFormRecord;
@@ -1,4 +1,4 @@
1
- import { type UiRecordInlineAction } from '@muyun/vue-ui-antdv';
1
+ import { type UiRecordInlineAction } from '../vue-ui-antdv/index';
2
2
  import type { RecordExplorerItemDescriptor } from './recordExplorerItemModel';
3
3
  export interface RecordListExplorerRecord {
4
4
  id?: string;
@@ -1,4 +1,4 @@
1
- import type { StandardSortableEntity } from '@muyun/web-contracts';
1
+ import type { StandardSortableEntity } from '../web-contracts/index';
2
2
  type __VLS_Props = {
3
3
  record: Partial<StandardSortableEntity>;
4
4
  showSortOrder?: boolean;
@@ -1,4 +1,4 @@
1
- import { type UiSidePanelScope } from '@muyun/vue-ui-antdv';
1
+ import { type UiSidePanelScope } from '../vue-ui-antdv/index';
2
2
  import type { DrawerPromotion } from './drawerPromotion';
3
3
  type __VLS_Props = {
4
4
  open: boolean;
@@ -19,6 +19,11 @@ type __VLS_Props = {
19
19
  errorMessage?: string;
20
20
  retryTitle?: string;
21
21
  externallyChanged?: boolean;
22
+ editAvailable?: boolean;
23
+ saveAvailable?: boolean;
24
+ saving?: boolean;
25
+ editTitle?: string;
26
+ saveTitle?: string;
22
27
  externalChangeTitle?: string;
23
28
  externalChangeMessage?: string;
24
29
  externalChangeReloadTitle?: string;
@@ -36,11 +41,15 @@ type __VLS_Slots = {
36
41
  };
37
42
  declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
38
43
  close: () => any;
44
+ edit: () => any;
45
+ save: () => any;
39
46
  retry: () => any;
40
47
  reloadExternalChange: () => any;
41
48
  dismissExternalChange: () => any;
42
49
  }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
43
50
  onClose?: (() => any) | undefined;
51
+ onEdit?: (() => any) | undefined;
52
+ onSave?: (() => any) | undefined;
44
53
  onRetry?: (() => any) | undefined;
45
54
  onReloadExternalChange?: (() => any) | undefined;
46
55
  onDismissExternalChange?: (() => any) | undefined;
@@ -59,6 +68,11 @@ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {},
59
68
  errorMessage: string;
60
69
  retryTitle: string;
61
70
  externallyChanged: boolean;
71
+ editAvailable: boolean;
72
+ saveAvailable: boolean;
73
+ saving: boolean;
74
+ editTitle: string;
75
+ saveTitle: string;
62
76
  externalChangeTitle: string;
63
77
  externalChangeMessage: string;
64
78
  externalChangeReloadTitle: string;
@@ -1,4 +1,4 @@
1
- import { type ModuleContext } from '@muyun/web-core';
1
+ import { type ModuleContext } from '../web-core/index';
2
2
  import { type PickerConstraint, type RecordPickerRecord } from './recordPickerConstraints';
3
3
  type __VLS_Props = {
4
4
  context: ModuleContext<RecordPickerRecord>;
@@ -1,4 +1,4 @@
1
- import { type ModuleContext } from '@muyun/web-core';
1
+ import { type ModuleContext } from '../web-core/index';
2
2
  import { type RecordActionItem, type ResolvedRecordActionItem } from './recordActionBarModel';
3
3
  export type QueryListRecord = Record<string, unknown> & {
4
4
  id?: string;
@@ -1,5 +1,5 @@
1
- import { type UiRecordInlineAction } from '@muyun/vue-ui-antdv';
2
- import type { ModuleContext } from '@muyun/web-core';
1
+ import { type UiRecordInlineAction } from '../vue-ui-antdv/index';
2
+ import type { ModuleContext } from '../web-core/index';
3
3
  import type { RecordExplorerItemDescriptor } from './recordExplorerItemModel';
4
4
  import { type TreeRecordBase } from './treeRecordModel';
5
5
  type TreeRecordSearchMode = 'always' | 'collapsible' | 'none';
@@ -1,4 +1,4 @@
1
- import type { UserSessionView } from '@muyun/web-contracts';
1
+ import type { UserSessionView } from '../web-contracts/index';
2
2
  type __VLS_Props = {
3
3
  sessions: UserSessionView[];
4
4
  loading?: boolean;
@@ -1,3 +1,3 @@
1
- import type { ResolvedModuleUiDescriptor } from '@muyun/web-contracts';
1
+ import type { ResolvedModuleUiDescriptor } from '../web-contracts/index';
2
2
  export declare function actionConfirmationRequiredText(descriptor: ResolvedModuleUiDescriptor | undefined, actionCode: string, record: Record<string, unknown>): string | undefined;
3
3
  export declare function recordLabelOf(descriptor: ResolvedModuleUiDescriptor | undefined, record: Record<string, unknown>): string | undefined;
@@ -1,5 +1,6 @@
1
1
  export {};
2
2
  export { default as ApplicationScopeSwitcher } from './ApplicationScopeSwitcher.vue';
3
+ export { confirmAction } from '../vue-ui-antdv/index';
3
4
  export { default as CrudRecordListExplorer } from './CrudRecordListExplorer.vue';
4
5
  export { default as DrawerOperationBar } from './DrawerOperationBar.vue';
5
6
  export { default as DateTimeText } from './DateTimeText.vue';
@@ -1,4 +1,4 @@
1
- import type { Option, OptionItemDescriptor } from '@muyun/web-contracts';
1
+ import type { Option, OptionItemDescriptor } from '../web-contracts/index';
2
2
  export interface UiTreeSelectNode {
3
3
  value: string;
4
4
  title: string;
@@ -1,5 +1,5 @@
1
1
  import { type ComputedRef, type MaybeRefOrGetter } from 'vue';
2
- import type { PageLayoutMode } from '@muyun/web-contracts';
2
+ import type { PageLayoutMode } from '../web-contracts/index';
3
3
  /** Provided by a page host; platform components consume the resolved page layout. */
4
4
  export declare function providePageLayout(layout: MaybeRefOrGetter<PageLayoutMode | undefined>): void;
5
5
  /** Ordinary pages stay flow-layout when mounted outside a workbench host. */
@@ -1,4 +1,4 @@
1
- import { resolveWebActionResultMessage, type ResolvedWebActionResult } from '@muyun/web-core';
1
+ import { resolveWebActionResultMessage, type ResolvedWebActionResult } from '../web-core/index';
2
2
  export declare const platformActionResultReactionTypes: {
3
3
  readonly refreshList: "refresh-list";
4
4
  readonly refreshDetail: "refresh-detail";
@@ -1,4 +1,4 @@
1
- import { type AppError } from '@muyun/web-core';
1
+ import { type AppError } from '../web-core/index';
2
2
  export interface PlatformErrorFeedbackContext {
3
3
  source?: string;
4
4
  phase?: 'load' | 'action' | 'validation' | 'authorization';
@@ -1,5 +1,5 @@
1
- import type { ModuleContext } from '@muyun/web-core';
2
- import type { UiIconName } from '@muyun/vue-ui-antdv';
1
+ import type { ModuleContext } from '../web-core/index';
2
+ import type { UiIconName } from '../vue-ui-antdv/index';
3
3
  export interface RecordActionItem {
4
4
  key?: string;
5
5
  actionCode?: string;
@@ -1,4 +1,4 @@
1
- import { type WebDataChange } from '@muyun/web-contracts';
1
+ import { type WebDataChange } from '../web-contracts/index';
2
2
  export interface RecordEditorSessionOptions<TRecord, TMode extends string> {
3
3
  viewMode: TMode;
4
4
  createMode: TMode;
@@ -1,4 +1,4 @@
1
- import type { UiRecordInlineAction } from '@muyun/vue-ui-antdv';
1
+ import type { UiRecordInlineAction } from '../vue-ui-antdv/index';
2
2
  export interface RecordExplorerItemDescriptor {
3
3
  title: string;
4
4
  secondary?: string;
@@ -1,12 +1,12 @@
1
- import type { Option, OptionValueList, ResolvedOptionFieldDescriptor, ResolvedModuleUiDescriptor, ResolvedViewFieldDescriptor, ViewFieldDefinition } from '@muyun/web-contracts';
2
- import type { ModuleContext } from '@muyun/web-core';
1
+ import type { Option, OptionValueList, ResolvedOptionFieldDescriptor, ResolvedModuleUiDescriptor, ResolvedViewFieldDescriptor, ViewFieldDefinition } from '../web-contracts/index';
2
+ import type { ModuleContext } from '../web-core/index';
3
3
  import type { PickerConstraint, RecordPickerRecord } from './recordPickerConstraints';
4
4
  export type RecordFormFieldDescriptor = (ViewFieldDefinition | ResolvedViewFieldDescriptor) & {
5
5
  option?: ResolvedOptionFieldDescriptor;
6
6
  };
7
7
  export type RecordFormRecord = Record<string, unknown>;
8
8
  export type RecordFormFieldValue = string | number | boolean | OptionValueList | undefined;
9
- export type RecordFormFieldControlType = 'input' | 'select' | 'enabledStatus' | 'recordPicker';
9
+ export type RecordFormFieldControlType = 'input' | 'select' | 'enabledStatus' | 'switch' | 'recordPicker';
10
10
  export interface RecordFormFieldFallback {
11
11
  label: string;
12
12
  required?: boolean;
@@ -1,6 +1,6 @@
1
1
  import { type MaybeRefOrGetter, type Ref } from 'vue';
2
- import type { PurgeReport, RecycleBinItem, RestoreReport, WebQueryRequest } from '@muyun/web-contracts';
3
- import { type ModuleContext } from '@muyun/web-core';
2
+ import type { PurgeReport, RecycleBinItem, RestoreReport, WebQueryRequest } from '../web-contracts/index';
3
+ import { type ModuleContext } from '../web-core/index';
4
4
  export interface RecycleBinStateOptions<TRecord> {
5
5
  context: MaybeRefOrGetter<ModuleContext<TRecord>>;
6
6
  recordTitle?: (record: TRecord) => string;
@@ -1,4 +1,4 @@
1
- import type { ModuleContext } from '@muyun/web-core';
1
+ import type { ModuleContext } from '../web-core/index';
2
2
  export interface ScopedResourceTreeModuleContextOptions {
3
3
  resourcePath?: string;
4
4
  emptyQueryScopeName?: string;
@@ -1,4 +1,4 @@
1
- import type { ModuleContext, StaticModuleTreeClient } from '@muyun/web-core';
1
+ import type { ModuleContext, StaticModuleTreeClient } from '../web-core/index';
2
2
  export interface ScopedTreeModuleContextOptions {
3
3
  scopeFieldName: string;
4
4
  scopeValue: string | undefined;
@@ -1,4 +1,4 @@
1
- import { type UiConfirmOptions } from '@muyun/vue-ui-antdv';
1
+ import { type UiConfirmOptions } from '../vue-ui-antdv/index';
2
2
  import type { PlatformActionErrorHandler } from './platformErrorFeedback';
3
3
  type ConfirmAction = (options: UiConfirmOptions) => Promise<boolean>;
4
4
  /**
@@ -1,5 +1,5 @@
1
- import { type ModuleContext } from '@muyun/web-core';
2
- import type { UiConfirmOptions } from '@muyun/vue-ui-antdv';
1
+ import { type ModuleContext } from '../web-core/index';
2
+ import type { UiConfirmOptions } from '../vue-ui-antdv/index';
3
3
  import { type PlatformActionResultReactionHandler } from './platformActionResultFeedback';
4
4
  import { type PlatformActionErrorHandler } from './platformErrorFeedback';
5
5
  export type StaticCrudCardMode = 'view' | 'edit' | 'create';
@@ -1,5 +1,5 @@
1
1
  import type { Ref } from 'vue';
2
- import { type StaticRecordMutationResult } from '@muyun/web-core';
2
+ import { type StaticRecordMutationResult } from '../web-core/index';
3
3
  import { type PlatformActionResultReactionHandler } from './platformActionResultFeedback';
4
4
  import { type PlatformActionErrorHandler } from './platformErrorFeedback';
5
5
  export type StaticFormSaveMode = 'create' | 'edit';
@@ -1,4 +1,4 @@
1
- import type { ModuleContext, StaticModuleTreeClient } from '@muyun/web-core';
1
+ import type { ModuleContext, StaticModuleTreeClient } from '../web-core/index';
2
2
  export interface StaticTreeResourceModuleContextOptions<TRecord> {
3
3
  client?: StaticModuleTreeClient<TRecord>;
4
4
  emptyQueryScopeName?: string;
@@ -1,4 +1,4 @@
1
- import type { WebTreeNode } from '@muyun/web-contracts';
1
+ import type { WebTreeNode } from '../web-contracts/index';
2
2
  export interface TreeRecordBase {
3
3
  id?: string;
4
4
  title?: string;
@@ -1,5 +1,5 @@
1
1
  import { type MaybeRefOrGetter, type Ref } from 'vue';
2
- import { type ModuleContext } from '@muyun/web-core';
2
+ import { type ModuleContext } from '../web-core/index';
3
3
  export type RecycleBinExplorerMode = 'normal' | 'recycleBin';
4
4
  export interface RecycleBinExplorerModeOptions<TRecord> {
5
5
  context: MaybeRefOrGetter<ModuleContext<TRecord>>;
@@ -1,4 +1,4 @@
1
- import type { UserSessionView } from '@muyun/web-contracts';
1
+ import type { UserSessionView } from '../web-contracts/index';
2
2
  /**
3
3
  * Stable presentation rules for the IAM online-session capability.
4
4
  *
@@ -1,4 +1,4 @@
1
- import type { MenuNavigationTarget, MenuRecord, MenuTab, PageDescriptor, WorkbenchStartupState } from '@muyun/web-contracts';
1
+ import type { MenuNavigationTarget, MenuRecord, MenuTab, PageDescriptor, WorkbenchStartupState } from '../web-contracts/index';
2
2
  import type { WorkbenchRealtimeStatus } from './realtimeStatus';
3
3
  type __VLS_Props = {
4
4
  startup?: WorkbenchStartupState;
@@ -1,4 +1,4 @@
1
- import type { MenuNavigationTarget, MenuRecord, MenuTreeNode } from '@muyun/web-contracts';
1
+ import type { MenuNavigationTarget, MenuRecord, MenuTreeNode } from '../web-contracts/index';
2
2
  import { type WorkbenchRealtimeStatus } from './realtimeStatus';
3
3
  type __VLS_Props = {
4
4
  menus: MenuTreeNode[];
@@ -1,4 +1,4 @@
1
- import type { MenuNavigationTarget, MenuRecord } from '@muyun/web-contracts';
1
+ import type { MenuNavigationTarget, MenuRecord } from '../web-contracts/index';
2
2
  import type { WorkbenchMenuNode } from './menuTreeModel';
3
3
  type __VLS_Props = {
4
4
  node: WorkbenchMenuNode;
@@ -1,4 +1,4 @@
1
- import type { PageDescriptor } from '@muyun/web-contracts';
1
+ import type { PageDescriptor } from '../web-contracts/index';
2
2
  type __VLS_Props = {
3
3
  descriptor?: PageDescriptor;
4
4
  };
@@ -1,4 +1,4 @@
1
- import type { BusinessRoutePageDescriptor } from '@muyun/web-contracts';
1
+ import type { BusinessRoutePageDescriptor } from '../../web-contracts/index';
2
2
  type __VLS_Props = {
3
3
  descriptor: BusinessRoutePageDescriptor;
4
4
  };
@@ -1,4 +1,4 @@
1
- import type { ExternalLinkPageDescriptor, RemoteUrlPageDescriptor } from '@muyun/web-contracts';
1
+ import type { ExternalLinkPageDescriptor, RemoteUrlPageDescriptor } from '../../web-contracts/index';
2
2
  type __VLS_Props = {
3
3
  descriptor: ExternalLinkPageDescriptor | RemoteUrlPageDescriptor;
4
4
  };
@@ -1,4 +1,4 @@
1
- import type { PlatformRoutePageDescriptor } from '@muyun/web-contracts';
1
+ import type { PlatformRoutePageDescriptor } from '../../web-contracts/index';
2
2
  type __VLS_Props = {
3
3
  descriptor: PlatformRoutePageDescriptor;
4
4
  };
@@ -1,4 +1,4 @@
1
- import type { MenuNavigationTarget, MenuRecord, MenuTab, MenuTreeNode, PageDescriptor, PageLayoutMode } from '@muyun/web-contracts';
1
+ import type { MenuNavigationTarget, MenuRecord, MenuTab, MenuTreeNode, PageDescriptor, PageLayoutMode } from '../web-contracts/index';
2
2
  export interface PageDescriptorResolveOptions {
3
3
  title?: string;
4
4
  platformRoutePrefixes?: string[];
@@ -1,4 +1,4 @@
1
- import type { MenuNavigationTarget, MenuRecord, MenuTreeNode } from '@muyun/web-contracts';
1
+ import type { MenuNavigationTarget, MenuRecord, MenuTreeNode } from '../web-contracts/index';
2
2
  export interface WorkbenchMenuNode {
3
3
  record: MenuRecord;
4
4
  children: WorkbenchMenuNode[];
@@ -1,3 +1,3 @@
1
- import type { PageHostType } from '@muyun/web-contracts';
1
+ import type { PageHostType } from '../web-contracts/index';
2
2
  export type PageHostComponentName = 'PlatformRouteHost' | 'BusinessRouteHost' | 'DynamicModuleHost' | 'ExternalPageHost';
3
3
  export declare function resolvePageHostComponentName(hostType: PageHostType): PageHostComponentName;