@ximatai/muyun-web-app 0.26.10 → 0.26.12

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 (172) hide show
  1. package/dist/ModuleActionManagementView-BHEooZ5L.js +672 -0
  2. package/dist/ModuleGovernanceView-DB3TWlMy.js +28521 -0
  3. package/dist/RoleDetailWorkspaceView-D6X7pAj5.js +1379 -0
  4. package/dist/index.css +1 -1
  5. package/dist/index.js +1929 -351
  6. package/dist/moduleGovernanceWorkspaceView-C5pqJOEJ.js +40 -0
  7. package/dist/platform-workbench-DJj42YQP.js +22911 -0
  8. package/dist/rolldown-runtime-DPVXH0ON.js +17 -0
  9. package/dist/types/app/CurrentUserProfileDialog.vue.d.ts +0 -2
  10. package/dist/types/app/LoginView.vue.d.ts +1 -1
  11. package/dist/types/app/workbenchRouteSync.d.ts +10 -1
  12. package/dist/types/app/workbenchSessionTabs.d.ts +22 -0
  13. package/dist/types/app/workbenchStartup.d.ts +7 -0
  14. package/dist/types/consumer/AppWorkbenchShell.vue.d.ts +4 -1
  15. package/dist/types/consumer/index.d.ts +2 -1
  16. package/dist/types/dynamic-page-runtime/ModulePageDetailRelations.vue.d.ts +1 -1
  17. package/dist/types/dynamic-page-runtime/ModulePageHost.vue.d.ts +12 -1
  18. package/dist/types/dynamic-page-runtime/ModuleRecordDetailActions.vue.d.ts +17 -0
  19. package/dist/types/dynamic-page-runtime/NavigatorPanelActions.vue.d.ts +22 -0
  20. package/dist/types/dynamic-page-runtime/PageNavigatorExplorer.vue.d.ts +11 -11
  21. package/dist/types/dynamic-page-runtime/childAggregateContext.d.ts +11 -0
  22. package/dist/types/dynamic-page-runtime/composables/useModulePageDetailExtensionRuntime.d.ts +3 -1
  23. package/dist/types/dynamic-page-runtime/composables/useModulePageFormContributionRuntime.d.ts +5 -3
  24. package/dist/types/dynamic-page-runtime/composables/useNavigatorRuntime.d.ts +82 -28
  25. package/dist/types/dynamic-page-runtime/composables/useRecordEditingSession.d.ts +1 -1
  26. package/dist/types/dynamic-page-runtime/formActionResult.d.ts +5 -0
  27. package/dist/types/dynamic-page-runtime/formComputeCoordinator.d.ts +7 -4
  28. package/dist/types/dynamic-page-runtime/formValidationCoordinator.d.ts +17 -0
  29. package/dist/types/dynamic-page-runtime/index.d.ts +1 -2
  30. package/dist/types/dynamic-page-runtime/modulePageEnhancements.d.ts +75 -1
  31. package/dist/types/dynamic-page-runtime/pageActionInvocation.d.ts +7 -0
  32. package/dist/types/dynamic-page-runtime/pageActionPlacement.d.ts +14 -0
  33. package/dist/types/dynamic-page-runtime/recordMutationPayload.d.ts +3 -0
  34. package/dist/types/formula/FormulaRuntime.d.ts +9 -0
  35. package/dist/types/{dynamic-page-runtime/DynamicModuleHost.vue.d.ts → platform-admin-runtime/module-menu/ModuleMenuDrawer.vue.d.ts} +2 -2
  36. package/dist/types/platform-admin-runtime/module-menu/ModuleMenuEntriesSection.vue.d.ts +7 -0
  37. package/dist/types/platform-admin-runtime/module-menu/moduleMenuClient.d.ts +16 -0
  38. package/dist/types/platform-admin-runtime/platformModulePageEnhancement.d.ts +2 -0
  39. package/dist/types/platform-admin-runtime/role/RoleAccountGrantDrawerSurface.vue.d.ts +7 -0
  40. package/dist/types/platform-admin-runtime/role/RoleAuthorizationDrawerSurface.vue.d.ts +7 -0
  41. package/dist/types/platform-admin-runtime/role/RoleEmploymentGrantDrawerSurface.vue.d.ts +7 -0
  42. package/dist/types/platform-admin-runtime/role/RoleEnumTitleCell.vue.d.ts +8 -0
  43. package/dist/types/platform-admin-runtime/role/RoleGroupMemberFormField.vue.d.ts +7 -0
  44. package/dist/types/platform-admin-runtime/role/RoleScopeTree.vue.d.ts +7 -0
  45. package/dist/types/platform-admin-runtime/roleModulePageEnhancement.d.ts +7 -0
  46. package/dist/types/platform-components/AdaptiveHeaderActionBar.vue.d.ts +24 -0
  47. package/dist/types/platform-components/BusinessNotificationPanel.vue.d.ts +15 -1
  48. package/dist/types/platform-components/CrudRecordListExplorer.vue.d.ts +9 -4
  49. package/dist/types/platform-components/DetailRelationListPanel.vue.d.ts +1 -1
  50. package/dist/types/platform-components/DrawerOperationBar.vue.d.ts +4 -2
  51. package/dist/types/platform-components/FormulaExpressionEditor.vue.d.ts +54 -0
  52. package/dist/types/platform-components/ManagementExplorerColumn.vue.d.ts +15 -3
  53. package/dist/types/platform-components/ManagementPanelHeader.vue.d.ts +5 -3
  54. package/dist/types/platform-components/ManagementWorkspace.vue.d.ts +11 -0
  55. package/dist/types/platform-components/ModuleActionButton.vue.d.ts +3 -3
  56. package/dist/types/platform-components/QueryGroupedSummary.vue.d.ts +21 -0
  57. package/dist/types/platform-components/RecordDetailDrawer.vue.d.ts +1 -0
  58. package/dist/types/platform-components/RecordDetailExtensionSection.vue.d.ts +2 -0
  59. package/dist/types/platform-components/RecordDetailFields.vue.d.ts +41 -2
  60. package/dist/types/platform-components/RecordDetailLayout.vue.d.ts +8 -3
  61. package/dist/types/platform-components/RecordDetailPanel.vue.d.ts +2 -0
  62. package/dist/types/platform-components/RecordExplorerCreateButton.vue.d.ts +16 -0
  63. package/dist/types/platform-components/RecordExplorerPanel.vue.d.ts +16 -5
  64. package/dist/types/platform-components/RecordFieldLabel.vue.d.ts +16 -0
  65. package/dist/types/platform-components/RecordFormFields.vue.d.ts +21 -2
  66. package/dist/types/platform-components/RecordFormGrid.vue.d.ts +24 -0
  67. package/dist/types/platform-components/RecordListExplorer.vue.d.ts +23 -1
  68. package/dist/types/platform-components/RecordMultiPicker.vue.d.ts +2 -2
  69. package/dist/types/platform-components/RecordPanelButton.vue.d.ts +9 -3
  70. package/dist/types/platform-components/RecordPermissionDialog.vue.d.ts +15 -0
  71. package/dist/types/platform-components/RecordPicker.vue.d.ts +2 -2
  72. package/dist/types/platform-components/RecordQueryEnumFilter.vue.d.ts +17 -0
  73. package/dist/types/platform-components/RecordQueryListCell.vue.d.ts +12 -0
  74. package/dist/types/platform-components/RecordQueryListPanel.vue.d.ts +110 -64
  75. package/dist/types/platform-components/RecordQueryListSurface.vue.d.ts +124 -0
  76. package/dist/types/platform-components/RecordRelationTable.vue.d.ts +62 -0
  77. package/dist/types/platform-components/RecordRelationValue.vue.d.ts +9 -0
  78. package/dist/types/platform-components/RecordStatusSwitch.vue.d.ts +3 -3
  79. package/dist/types/platform-components/StaticManagementLayout.vue.d.ts +2 -0
  80. package/dist/types/platform-components/TreeRecordExplorer.vue.d.ts +15 -4
  81. package/dist/types/platform-components/adaptiveHeaderActionLayout.d.ts +22 -0
  82. package/dist/types/platform-components/formulaExpressionTokens.d.ts +18 -0
  83. package/dist/types/platform-components/index.d.ts +20 -1
  84. package/dist/types/platform-components/managementExplorerContext.d.ts +11 -0
  85. package/dist/types/platform-components/managementWorkspaceContext.d.ts +20 -0
  86. package/dist/types/platform-components/managementWorkspaceLayout.d.ts +14 -0
  87. package/dist/types/platform-components/optionFieldOptionCache.d.ts +1 -1
  88. package/dist/types/platform-components/recordActionBarModel.d.ts +3 -0
  89. package/dist/types/platform-components/recordQueryListColumnModel.d.ts +42 -0
  90. package/dist/types/platform-components/scopedTreeModuleContext.d.ts +2 -2
  91. package/dist/types/platform-components/selectionRefresh.d.ts +9 -0
  92. package/dist/types/platform-components/sortPartitionKey.d.ts +5 -0
  93. package/dist/types/platform-components/staticTreeResourceModuleContext.d.ts +3 -3
  94. package/dist/types/platform-workbench/index.d.ts +2 -0
  95. package/dist/types/platform-workbench/useWorkspaceViewUnsavedState.d.ts +5 -0
  96. package/dist/types/platform-workbench/workbenchNavigation.d.ts +5 -1
  97. package/dist/types/platform-workbench/workspaceViewContract.d.ts +5 -0
  98. package/dist/types/platform-workbench/workspaceViewHost.d.ts +5 -0
  99. package/dist/types/platform-workbench/workspaceViewNavigation.d.ts +9 -0
  100. package/dist/types/platform-workbench/workspaceViewUnsavedState.d.ts +3 -0
  101. package/dist/types/views/BusinessRuleGovernanceSurface.vue.d.ts +10 -0
  102. package/dist/types/views/EmployeeEmploymentTable.vue.d.ts +5 -0
  103. package/dist/types/views/{UserDetailRouteView.vue.d.ts → MetadataGovernanceSurface.vue.d.ts} +3 -3
  104. package/dist/types/views/MetadataSourceTree.vue.d.ts +44 -0
  105. package/dist/types/views/ModuleBusinessPreview.vue.d.ts +7 -0
  106. package/dist/types/views/ModuleExperienceProfileOverview.vue.d.ts +7 -0
  107. package/dist/types/views/ModuleGovernanceView.vue.d.ts +9 -0
  108. package/dist/types/views/PageCompositionDescriptorPreview.vue.d.ts +54 -0
  109. package/dist/types/views/PageCompositionTree.vue.d.ts +103 -0
  110. package/dist/types/views/PageCompositionWorkspace.vue.d.ts +7 -0
  111. package/dist/types/views/PageQuerySummaryEditor.vue.d.ts +48 -0
  112. package/dist/types/views/RoleAccountGrantDrawer.vue.d.ts +6 -2
  113. package/dist/types/views/RoleAuthorizationView.vue.d.ts +7 -0
  114. package/dist/types/views/RoleEmploymentGrantDrawer.vue.d.ts +5 -1
  115. package/dist/types/views/businessRuleGovernance.d.ts +201 -0
  116. package/dist/types/views/metadataModelEditSession.d.ts +75 -0
  117. package/dist/types/views/metadataModelTree.d.ts +40 -0
  118. package/dist/types/views/metadataNaming.d.ts +7 -0
  119. package/dist/types/views/metadataOrchestrationState.d.ts +161 -6
  120. package/dist/types/views/metadataSourceTree.d.ts +10 -0
  121. package/dist/types/views/moduleGovernanceWorkspaceView.d.ts +9 -0
  122. package/dist/types/views/pageCompositionDraftState.d.ts +375 -0
  123. package/dist/types/views/pageCompositionDragPayload.d.ts +26 -0
  124. package/dist/types/views/pageCompositionMode.d.ts +86 -0
  125. package/dist/types/views/pageCompositionPlacement.d.ts +48 -0
  126. package/dist/types/views/pageCompositionTransport.d.ts +9 -0
  127. package/dist/types/views/roleGrantClient.d.ts +8 -5
  128. package/dist/types/views/usePageCompositionActionPreviewDrag.d.ts +41 -0
  129. package/dist/types/views/usePageCompositionPreviewDrag.d.ts +48 -0
  130. package/dist/types/vue-ui-antdv/components/UiActionButton.vue.d.ts +2 -2
  131. package/dist/types/vue-ui-antdv/components/UiButton.vue.d.ts +6 -3
  132. package/dist/types/vue-ui-antdv/components/UiDataTable.vue.d.ts +5 -2
  133. package/dist/types/vue-ui-antdv/components/UiIcon.vue.d.ts +1 -1
  134. package/dist/types/vue-ui-antdv/components/UiPopover.vue.d.ts +22 -0
  135. package/dist/types/vue-ui-antdv/components/UiRecordExplorerItem.vue.d.ts +1 -1
  136. package/dist/types/vue-ui-antdv/components/UiSelect.vue.d.ts +5 -1
  137. package/dist/types/vue-ui-antdv/components/UiSwitch.vue.d.ts +1 -1
  138. package/dist/types/vue-ui-antdv/components/UiTable.vue.d.ts +1 -0
  139. package/dist/types/vue-ui-antdv/components/UiTextArea.vue.d.ts +38 -1
  140. package/dist/types/vue-ui-antdv/components/UiTokenInput.vue.d.ts +62 -0
  141. package/dist/types/vue-ui-antdv/components/UiTree.vue.d.ts +76 -3
  142. package/dist/types/vue-ui-antdv/components/UiTreeSelect.vue.d.ts +1 -1
  143. package/dist/types/vue-ui-antdv/index.d.ts +6 -1
  144. package/dist/types/vue-ui-antdv/treeStructure.d.ts +18 -0
  145. package/dist/types/vue-ui-antdv/types.d.ts +70 -0
  146. package/dist/types/vue-ui-antdv/useTreeLoader.d.ts +21 -0
  147. package/dist/types/vue-ui-antdv/useTreeMotion.d.ts +9 -0
  148. package/dist/types/vue-ui-antdv/useUiTreeDrag.d.ts +32 -0
  149. package/dist/types/web-contracts/index.d.ts +75 -8
  150. package/dist/types/web-core/module/index.d.ts +1 -0
  151. package/dist/types/web-core/module/moduleContext.d.ts +15 -0
  152. package/dist/types/web-core/module/pageActionEntries.d.ts +21 -0
  153. package/dist/types/web-core/module/runtimeContext.d.ts +7 -3
  154. package/dist/types/web-core/module/staticModuleClient.d.ts +29 -6
  155. package/dist/workspaceViews-DI_1vYX9.js +3518 -0
  156. package/package.json +1 -1
  157. package/dist/MetadataOrchestrationView-BhtVwJII.js +0 -661
  158. package/dist/ModuleActionManagementView-DpZS-xAD.js +0 -597
  159. package/dist/RoleAuthorizationView-8lilhtMB.js +0 -646
  160. package/dist/RoleDetailWorkspaceView-CFha6JHn.js +0 -26
  161. package/dist/RoleManagementView-0_KDrzgh.js +0 -1948
  162. package/dist/platform-components-oRIsIoxu.js +0 -12371
  163. package/dist/types/dynamic-page-runtime/DynamicRecordDetailActions.vue.d.ts +0 -39
  164. package/dist/types/dynamic-page-runtime/dynamicModuleDetailStateModel.d.ts +0 -5
  165. package/dist/types/views/UserDetailContent.vue.d.ts +0 -32
  166. package/dist/types/views/UserManagementListView.vue.d.ts +0 -3
  167. package/dist/types/views/UserManagementView.vue.d.ts +0 -3
  168. package/dist/types/views/metadataOrchestrationWorkspaceView.d.ts +0 -6
  169. package/dist/types/views/useUserSessionRows.d.ts +0 -28
  170. package/dist/types/views/userDetailStateModel.d.ts +0 -9
  171. package/dist/types/views/userManagementRouteState.d.ts +0 -11
  172. package/dist/workspaceViews-D-RiJ64o.js +0 -9078
@@ -0,0 +1,17 @@
1
+ //#region \0rolldown/runtime.js
2
+ var e = Object.defineProperty, t = Object.getOwnPropertyDescriptor, n = Object.getOwnPropertyNames, r = Object.prototype.hasOwnProperty, i = (e, t) => () => (t || (e((t = { exports: {} }).exports, t), e = null), t.exports), a = (t, n) => {
3
+ let r = {};
4
+ for (var i in t) e(r, i, {
5
+ get: t[i],
6
+ enumerable: !0
7
+ });
8
+ return n || e(r, Symbol.toStringTag, { value: "Module" }), r;
9
+ }, o = (i, a, o, s) => {
10
+ if (a && typeof a == "object" || typeof a == "function") for (var c = n(a), l = 0, u = c.length, d; l < u; l++) d = c[l], !r.call(i, d) && d !== o && e(i, d, {
11
+ get: ((e) => a[e]).bind(null, d),
12
+ enumerable: !(s = t(a, d)) || s.enumerable
13
+ });
14
+ return i;
15
+ }, s = (e, t, n) => (o(e, t, "default"), n && o(n, t, "default"));
16
+ //#endregion
17
+ export { a as n, s as r, i as t };
@@ -1,4 +1,3 @@
1
- import type { ModuleContext } from '../web-core/index';
2
1
  import type { CurrentUserProfile } from '../web-contracts/index';
3
2
  type __VLS_Props = {
4
3
  open?: boolean;
@@ -6,7 +5,6 @@ type __VLS_Props = {
6
5
  loading?: boolean;
7
6
  saving?: boolean;
8
7
  error?: string;
9
- avatarContext: ModuleContext<unknown>;
10
8
  };
11
9
  declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
12
10
  close: () => any;
@@ -1,4 +1,4 @@
1
- import type { AuthClient, LoginContextClient } from '../web-core/index';
1
+ import { type AuthClient, type LoginContextClient } from '../web-core/index';
2
2
  import type { LoginResult } from '../web-contracts/index';
3
3
  type __VLS_Props = {
4
4
  authClient: AuthClient;
@@ -4,10 +4,19 @@ export interface WorkbenchRouteWrite {
4
4
  url: string;
5
5
  mode: WorkbenchRouteWriteMode;
6
6
  }
7
+ /** A route write belongs to an explicit workbench intent, not merely a URL. */
8
+ export interface WorkbenchNavigationIntent {
9
+ url: string;
10
+ revision: number;
11
+ }
12
+ export type WorkbenchRouteCommit = 'commit' | 'reconcile' | 'restore';
7
13
  /**
8
14
  * Keeps browser history decisions at the workbench boundary: user navigation is
9
15
  * navigable history, while state normalization only replaces the current entry.
10
16
  */
11
17
  export declare function workbenchRouteWriteFor(state: WorkbenchStartupState, currentUrl: string, mode: WorkbenchRouteWriteMode): WorkbenchRouteWrite | undefined;
12
18
  /** A route written from the workbench already has matching in-memory tab state. */
13
- export declare function shouldRestoreWorkbenchFromRoute(url: string, pendingWorkbenchNavigation: string | undefined): boolean;
19
+ export declare function shouldRestoreWorkbenchFromRoute(url: string, pendingWorkbenchNavigation: WorkbenchNavigationIntent | undefined): boolean;
20
+ export declare function isCurrentWorkbenchNavigation(navigation: WorkbenchNavigationIntent, current: WorkbenchNavigationIntent): boolean;
21
+ /** Classifies a committed route without confusing URL equality for tab identity. */
22
+ export declare function workbenchRouteCommitFor(url: string, pending: WorkbenchNavigationIntent | undefined, latest: WorkbenchNavigationIntent | undefined): WorkbenchRouteCommit;
@@ -0,0 +1,22 @@
1
+ import type { MenuTab } from '../web-contracts/index';
2
+ export interface WorkbenchSessionTabsSnapshot {
3
+ version: 1;
4
+ userId: string;
5
+ tabs: MenuTab[];
6
+ activeTabKey?: string;
7
+ }
8
+ type SessionStorage = Pick<Storage, 'getItem' | 'setItem' | 'removeItem'>;
9
+ /**
10
+ * Browser-session persistence keeps the workbench's tab shell across reloads.
11
+ * It deliberately excludes page drafts and cached component instances.
12
+ */
13
+ export declare function restoreWorkbenchSessionTabs(userId: string, storage?: SessionStorage | undefined): WorkbenchSessionTabsSnapshot | undefined;
14
+ export declare function saveWorkbenchSessionTabs(input: {
15
+ userId: string;
16
+ tabs: MenuTab[];
17
+ activeTabKey?: string;
18
+ }, storage?: SessionStorage | undefined): void;
19
+ export declare function clearWorkbenchSessionTabs(storage?: SessionStorage | undefined): void;
20
+ /** Keeps client-side persistence from becoming an untyped startup input. */
21
+ export declare function normalizePersistedWorkbenchTabs(value: unknown): MenuTab[];
22
+ export {};
@@ -35,6 +35,13 @@ export declare function arrangeLockedMenuTabs(tabs: MenuTab[], lockedTabs: MenuT
35
35
  * Arbitrary stored routes are deliberately not revived.
36
36
  */
37
37
  export declare function restoreLockedWorkbenchTabs(lockedTabs: MenuTab[], menus: MenuTreeNode[], options?: PageDescriptorResolveOptions): MenuTab[];
38
+ /**
39
+ * Restores the browser-session tab shell after the server has refreshed menus
40
+ * and permissions. Menu tabs are rebuilt from current menu facts; direct
41
+ * in-app descriptors retain their explicit page identity. External targets are
42
+ * intentionally excluded from automatic browser-session revival.
43
+ */
44
+ export declare function restoreSessionWorkbenchTabs(tabs: MenuTab[], menus: MenuTreeNode[], options?: PageDescriptorResolveOptions): MenuTab[];
38
45
  export declare function updateLockedMenuTabs(lockedTabs: MenuTab[], tab: MenuTab): MenuTab[];
39
46
  export declare function removeLockedMenuTabs(lockedTabs: MenuTab[], keys: string[]): MenuTab[];
40
47
  /** Reorders the open tabs for the current browser session without affecting URL restoration. */
@@ -1,9 +1,11 @@
1
- import type { PageDescriptor, WorkbenchStartupState } from '../web-contracts';
1
+ import type { MenuTreeNode, PageDescriptor, WorkbenchStartupState } from '../web-contracts';
2
2
  import { type PageDescriptorResolveOptions } from '../platform-workbench/menuNavigation';
3
3
  import type { WorkbenchRealtimeStatus } from '../platform-workbench/realtimeStatus';
4
4
  import type { AppWorkbenchNavigation } from './workbenchNavigation';
5
5
  type __VLS_Props = {
6
6
  startup: WorkbenchStartupState;
7
+ /** Host-owned authenticated menu loader; refreshing preserves all page instances. */
8
+ loadMenus?: () => Promise<MenuTreeNode[]>;
7
9
  /** The consumer router's current full path, including search and hash. */
8
10
  location: string;
9
11
  resolveOptions?: PageDescriptorResolveOptions;
@@ -34,6 +36,7 @@ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {},
34
36
  realtimeStatus: WorkbenchRealtimeStatus;
35
37
  themeAppearance: "light" | "dark";
36
38
  resolveOptions: PageDescriptorResolveOptions;
39
+ loadMenus: () => Promise<MenuTreeNode[]>;
37
40
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
38
41
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
39
42
  declare const _default: typeof __VLS_export;
@@ -15,7 +15,7 @@ export { activeTabUrlOf, arrangeLockedMenuTabs, removeLockedMenuTabs, restoreWor
15
15
  export { restoreLockedTabPreference, saveLockedTabPreference } from '../app/lockedTabPreference';
16
16
  export { configureModulePageEnhancementContributions, configureModulePageEnhancements, createModulePageEnhancementRegistry, modulePageWorkspaceViews, } from '../dynamic-page-runtime/modulePageEnhancements';
17
17
  export { refreshModulePageList } from '../dynamic-page-runtime/modulePageListRefresh';
18
- export type { ModuleListEnhancement, ModuleDetailEnhancement, ModulePageActionContext, ModulePageActionContribution, ModulePageActionStateContext, ModulePageBatchActionContext, ModulePageBatchActionContribution, ModulePageColumnContribution, ModulePageDetailDrawer, ModulePageDetailSection, ModulePageDetailSectionContext, ModulePageDrawer, ModulePageDrawerContext, ModulePageRecordViewContext, ModulePageEnhancement, ModulePageEnhancementTarget, ModulePageLockedNavigatorEntry, ModulePageRecordActionContext, ModulePageRecordActionContribution, ModulePageScopeContext, ModulePageWorkspaceView, ModulePageWorkspaceViewInput, } from '../dynamic-page-runtime/modulePageEnhancements';
18
+ export type { ModuleListEnhancement, ModuleDetailEnhancement, ModulePageActionContext, ModulePageActionContribution, ModulePageActionStateContext, ModulePageBatchActionContext, ModulePageBatchActionContribution, ModulePageColumnContribution, ModulePageDetailDrawer, ModulePageDetailSection, ModulePageDetailSectionContext, ModulePageDrawer, ModulePageDrawerContext, ModulePageRecordViewContext, ModulePageEnhancement, ModulePageEnhancementTarget, ModulePageLockedNavigatorEntry, ModulePageNavigatorEnhancement, ModulePageNavigatorExtension, ModulePageNavigatorExtensionContext, ModulePageRecordActionContext, ModulePageRecordActionContribution, ModulePageScopeContext, ModulePageWorkspaceView, ModulePageWorkspaceViewInput, } from '../dynamic-page-runtime/modulePageEnhancements';
19
19
  export { UiButton, confirmAction, UiDataTable, UiSidePanel, UiTree, UiTreeSelect, UiInput, UiSwitch, UiTextArea, } from '../vue-ui-antdv/index';
20
20
  export { default as PlatformAdminOutlet } from './PlatformAdminOutlet.vue';
21
21
  export { default as AppWorkbenchShell } from './AppWorkbenchShell.vue';
@@ -28,6 +28,7 @@ export { restoreThemeSkinPreference, saveThemeSkinPreference, themeSkinPreferenc
28
28
  export { defaultUiThemeSkinId, UiThemeProvider, uiThemeSkinById, uiThemeSkins } from '../vue-ui-antdv/index';
29
29
  export type { UiThemeSkin, UiThemeSkinId } from '../vue-ui-antdv/index';
30
30
  export { default as DateTimeText } from '../platform-components/DateTimeText.vue';
31
+ export { default as BusinessNotificationPanel } from '../platform-components/BusinessNotificationPanel.vue';
31
32
  export { default as FileSizeText } from '../platform-components/FileSizeText.vue';
32
33
  export { default as DrawerOperationBar } from '../platform-components/DrawerOperationBar.vue';
33
34
  export { default as RecordDetailDrawer } from '../platform-components/RecordDetailDrawer.vue';
@@ -19,8 +19,8 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {
19
19
  "onValidity-change"?: ((valid: boolean) => any) | undefined;
20
20
  "onChildren-change"?: ((relationCode: string, records: QueryListRecord[]) => any) | undefined;
21
21
  }>, {
22
- reloadKey: number;
23
22
  surface: "detail" | "list-expansion";
23
+ reloadKey: number;
24
24
  validationRequestKey: number;
25
25
  crossModuleHttp: HttpClient;
26
26
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
@@ -1,6 +1,7 @@
1
1
  import type { StandardModulePageDescriptor } from '../web-contracts/index';
2
2
  type __VLS_Props = {
3
3
  descriptor: StandardModulePageDescriptor;
4
+ requireConfiguredPage?: boolean;
4
5
  };
5
6
  /**
6
7
  * Public, state-preserving list refresh for business-owned triggers.
@@ -9,6 +10,16 @@ type __VLS_Props = {
9
10
  declare function refreshList(): void;
10
11
  declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {
11
12
  refreshList: typeof refreshList;
12
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
13
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
14
+ "interaction-state-change": (state: {
15
+ editing: boolean;
16
+ busy: boolean;
17
+ }) => any;
18
+ }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
19
+ "onInteraction-state-change"?: ((state: {
20
+ editing: boolean;
21
+ busy: boolean;
22
+ }) => any) | undefined;
23
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
13
24
  declare const _default: typeof __VLS_export;
14
25
  export default _default;
@@ -12,20 +12,32 @@ type __VLS_Props = {
12
12
  actions?: ModulePageRecordActionContribution[];
13
13
  /** Server-resolved standard action blocks, intentionally separate from frontend extensions. */
14
14
  configuredActions?: RecordActionItem[];
15
+ /** Actions placed in the platform-owned form operation region. */
16
+ formActions?: RecordActionItem[];
15
17
  /** Custom record views retain their own operation model. */
16
18
  showStandardViewActions?: boolean;
19
+ managedActions?: boolean;
20
+ /** A workspace is a secondary navigation action, not a business operation. */
21
+ workspaceAvailable?: boolean;
22
+ /** Tree cards may add a child from the selected parent. */
23
+ createChildAvailable?: boolean;
24
+ createChildDisabled?: boolean;
17
25
  };
18
26
  declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
19
27
  delete: () => any;
20
28
  edit: () => any;
21
29
  save: () => any;
22
30
  cancel: () => any;
31
+ openWorkspace: () => any;
32
+ createChild: () => any;
23
33
  detailAction: (action: RecordActionItem) => any;
24
34
  }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
25
35
  onDelete?: (() => any) | undefined;
26
36
  onEdit?: (() => any) | undefined;
27
37
  onSave?: (() => any) | undefined;
28
38
  onCancel?: (() => any) | undefined;
39
+ onOpenWorkspace?: (() => any) | undefined;
40
+ onCreateChild?: (() => any) | undefined;
29
41
  onDetailAction?: ((action: RecordActionItem) => any) | undefined;
30
42
  }>, {
31
43
  record: QueryListRecord;
@@ -35,7 +47,12 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {
35
47
  detailLoadFailed: boolean;
36
48
  recycleBinActive: boolean;
37
49
  configuredActions: RecordActionItem[];
50
+ formActions: RecordActionItem[];
38
51
  showStandardViewActions: boolean;
52
+ managedActions: boolean;
53
+ workspaceAvailable: boolean;
54
+ createChildAvailable: boolean;
55
+ createChildDisabled: boolean;
39
56
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
40
57
  declare const _default: typeof __VLS_export;
41
58
  export default _default;
@@ -0,0 +1,22 @@
1
+ import type { ModuleContext } from '../web-core/index';
2
+ import type { NavigatorSortViewState } from './composables/useNavigatorRuntime';
3
+ type __VLS_Props = {
4
+ context: ModuleContext<unknown>;
5
+ title: string;
6
+ sort: NavigatorSortViewState;
7
+ createAvailable: boolean;
8
+ createDisabled?: boolean;
9
+ createDisabledReason?: string;
10
+ };
11
+ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
12
+ create: () => any;
13
+ "toggle-sorting": () => any;
14
+ }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
15
+ onCreate?: (() => any) | undefined;
16
+ "onToggle-sorting"?: (() => any) | undefined;
17
+ }>, {
18
+ createDisabled: boolean;
19
+ createDisabledReason: string;
20
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
21
+ declare const _default: typeof __VLS_export;
22
+ export default _default;
@@ -1,16 +1,13 @@
1
1
  import { type QueryListRecord } from '../platform-components/index';
2
- import type { RecordInlineAction, ResolvedPageNavigatorLevelDescriptor } from '../web-contracts/index';
3
- import type { ModuleContext } from '../web-core/index';
4
- type NavigatorLevelRuntime = {
5
- descriptor: ResolvedPageNavigatorLevelDescriptor;
6
- context: ModuleContext<QueryListRecord>;
7
- tree: boolean;
8
- };
2
+ import type { RecordInlineAction } from '../web-contracts/index';
3
+ import type { NavigatorLevelRuntime, NavigatorSortViewState } from './composables/useNavigatorRuntime';
4
+ import type { ModulePageNavigatorTreeParentPolicy } from './modulePageEnhancements';
9
5
  type __VLS_Props = {
10
6
  level: NavigatorLevelRuntime;
11
7
  selectedId?: string;
12
8
  reloadKey: number;
13
9
  keyword: string;
10
+ sort: NavigatorSortViewState;
14
11
  externalQueryValues?: Record<string, unknown>;
15
12
  navigatorHostModuleAlias: string;
16
13
  /** Whether this navigator's upstream selection scope is available. */
@@ -20,29 +17,32 @@ type __VLS_Props = {
20
17
  createDisabledReason?: string;
21
18
  /** Human-readable context supplied by an upstream navigator selection. */
22
19
  scopeSubtitle?: string;
20
+ treeParentPolicy?: ModulePageNavigatorTreeParentPolicy;
23
21
  actionsOf?: (record: {
24
22
  id?: string;
25
23
  }) => RecordInlineAction[];
26
24
  };
27
- declare var __VLS_45: {};
25
+ declare var __VLS_46: {};
28
26
  type __VLS_Slots = {} & {
29
- editor?: (props: typeof __VLS_45) => any;
27
+ editor?: (props: typeof __VLS_46) => any;
30
28
  };
31
29
  declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
32
30
  action: (action: RecordInlineAction, record: QueryListRecord) => any;
33
31
  select: (record: QueryListRecord) => any;
34
32
  create: () => any;
35
33
  refresh: () => any;
36
- deselect: () => any;
37
34
  loaded: (records: QueryListRecord[]) => any;
35
+ deselect: () => any;
36
+ "toggle-sorting": () => any;
38
37
  "update:keyword": (value: string) => any;
39
38
  }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
40
39
  onAction?: ((action: RecordInlineAction, record: QueryListRecord) => any) | undefined;
41
40
  onSelect?: ((record: QueryListRecord) => any) | undefined;
42
41
  onCreate?: (() => any) | undefined;
43
42
  onRefresh?: (() => any) | undefined;
44
- onDeselect?: (() => any) | undefined;
45
43
  onLoaded?: ((records: QueryListRecord[]) => any) | undefined;
44
+ onDeselect?: (() => any) | undefined;
45
+ "onToggle-sorting"?: (() => any) | undefined;
46
46
  "onUpdate:keyword"?: ((value: string) => any) | undefined;
47
47
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
48
48
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
@@ -0,0 +1,11 @@
1
+ import type { FormulaRecord } from '../formula/FormulaRuntime';
2
+ import type { ResolvedFormComputeRuleDescriptor, ResolvedModuleUiDescriptor } from '../web-contracts/index';
3
+ /**
4
+ * Resolves the page draft's embedded child arrays into the relation-code keys used by a
5
+ * server-issued FormulaProgram. The returned object is evaluation-only and must never become
6
+ * part of the persistence payload.
7
+ */
8
+ export declare function childAggregateRows(draft: FormulaRecord, descriptor: ResolvedModuleUiDescriptor | undefined, unavailableRelationCodes?: ReadonlySet<string>): FormulaRecord | undefined;
9
+ /** Triggers only aggregate rules that read the child relation whose draft has changed. */
10
+ export declare function aggregateChildTriggers(relationField: string, descriptor: ResolvedModuleUiDescriptor | undefined, rules: readonly ResolvedFormComputeRuleDescriptor[] | undefined): string[];
11
+ export declare function aggregateChildRelationCodes(relationField: string, descriptor: ResolvedModuleUiDescriptor | undefined): string[];
@@ -1,10 +1,12 @@
1
1
  import type { QueryListRecord } from '../../platform-components/index';
2
2
  import type { ModuleContext } from '../../web-core/index';
3
- import type { ModulePageDetailSectionContext, ModulePageDrawer, ModulePageDrawerAction, ModulePageDrawerContext, ModulePageRecordViewContext, ModulePageScopeContext } from '../modulePageEnhancements';
3
+ import type { ModulePageDetailSectionContext, ModulePageDrawer, ModulePageDrawerAction, ModulePageDrawerContext, ModulePageDrawerOperation, ModulePageRecordViewContext, ModulePageScopeContext } from '../modulePageEnhancements';
4
4
  export interface ModulePageEnhancementDrawerRuntime {
5
5
  definition: ModulePageDrawer;
6
6
  context: ModulePageDrawerContext;
7
7
  titleActions: ModulePageDrawerAction[];
8
+ operation?: ModulePageDrawerOperation;
9
+ subtitle?: string;
8
10
  closeBlocked: boolean;
9
11
  }
10
12
  interface Options {
@@ -1,5 +1,6 @@
1
1
  import { type Ref } from 'vue';
2
- import { type RecordFormFieldDescriptor, type RecordFormFieldState, type RecordFormFieldValue, type RecordFormRecord } from '../../platform-components/index';
2
+ import { type RecordFormFieldDescriptor, type RecordFormFieldState, type RecordFormFieldValue, type RecordFormRecord, type QueryListRecord } from '../../platform-components/index';
3
+ import type { WebPageResponse, WebQueryRequest } from '../../web-contracts/index';
3
4
  import { type ModulePageFormContribution, type ModulePageFormContributionContext, type ModulePageFormContributionState } from '../modulePageEnhancements';
4
5
  interface UseModulePageFormContributionRuntimeOptions {
5
6
  contributions: Ref<readonly ModulePageFormContribution[]>;
@@ -8,11 +9,12 @@ interface UseModulePageFormContributionRuntimeOptions {
8
9
  fields: Ref<Map<string, RecordFormFieldDescriptor>>;
9
10
  formSessionKey: Ref<number>;
10
11
  setField(fieldName: string, value: RecordFormFieldValue): void;
12
+ queryRecords?(request?: WebQueryRequest): Promise<WebPageResponse<QueryListRecord>>;
11
13
  }
12
14
  /**
13
15
  * Keeps application contribution validity at the same save boundary as the
14
- * descriptor-owned form, without giving contributed components access to the
15
- * module HTTP client or mutable form state.
16
+ * descriptor-owned form, without giving contributed components mutable form
17
+ * state or an arbitrary transport. Read queries stay on the host context.
16
18
  */
17
19
  export declare function useModulePageFormContributionRuntime(options: UseModulePageFormContributionRuntimeOptions): {
18
20
  valid: import("vue").ComputedRef<boolean>;