@ximatai/muyun-web-app 0.26.9 → 0.26.11

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 (99) hide show
  1. package/dist/{MetadataOrchestrationView-CzhAgEdX.js → MetadataOrchestrationView-F_Bmfn9K.js} +188 -188
  2. package/dist/{ModuleActionManagementView-CM2d8jPO.js → ModuleActionManagementView-Db_3Twom.js} +70 -70
  3. package/dist/RoleDetailWorkspaceView-UOm1ejGH.js +1369 -0
  4. package/dist/index.css +1 -1
  5. package/dist/index.js +274 -299
  6. package/dist/{platform-components-CIi6GdC9.js → platform-components-59b4qzUL.js} +2738 -2453
  7. package/dist/types/app/StaticRoutePageHost.vue.d.ts +2 -0
  8. package/dist/types/consumer/AppWorkbenchShell.vue.d.ts +4 -2
  9. package/dist/types/consumer/index.d.ts +1 -1
  10. package/dist/types/dynamic-page-runtime/ManagedDetailRelationInlineSurface.vue.d.ts +3 -1
  11. package/dist/types/dynamic-page-runtime/ManagedDetailRelationSurface.vue.d.ts +2 -1
  12. package/dist/types/dynamic-page-runtime/ModulePageDetailRelations.vue.d.ts +3 -1
  13. package/dist/types/dynamic-page-runtime/ModulePageListExpansionSurface.vue.d.ts +2 -1
  14. package/dist/types/dynamic-page-runtime/ModulePageListRelationExpansion.vue.d.ts +2 -1
  15. package/dist/types/dynamic-page-runtime/ModulePageListRelationExpansions.vue.d.ts +2 -1
  16. package/dist/types/dynamic-page-runtime/ModulePageRecordContent.vue.d.ts +3 -1
  17. package/dist/types/dynamic-page-runtime/PageNavigatorExplorer.vue.d.ts +7 -2
  18. package/dist/types/dynamic-page-runtime/composables/useModulePageDetailExtensionRuntime.d.ts +5 -1
  19. package/dist/types/dynamic-page-runtime/composables/useModulePageFormContributionRuntime.d.ts +5 -3
  20. package/dist/types/dynamic-page-runtime/composables/useNavigatorRuntime.d.ts +95 -41
  21. package/dist/types/dynamic-page-runtime/composables/useRecordEditingSession.d.ts +3 -2
  22. package/dist/types/dynamic-page-runtime/index.d.ts +2 -2
  23. package/dist/types/dynamic-page-runtime/modulePageEnhancements.d.ts +103 -3
  24. package/dist/types/dynamic-page-runtime/navigatorEntrySelection.d.ts +18 -0
  25. package/dist/types/dynamic-page-runtime/pageContextRuntime.d.ts +8 -0
  26. package/dist/types/dynamic-page-runtime/pageNavigatorItemModel.d.ts +13 -0
  27. package/dist/types/dynamic-page-runtime/recordDetailController.d.ts +9 -8
  28. package/dist/types/formula/FormulaRuntime.d.ts +3 -0
  29. package/dist/types/platform-admin-runtime/platformModulePageEnhancement.d.ts +6 -0
  30. package/dist/types/{views/SystemUserManagementView.vue.d.ts → platform-admin-runtime/role/RoleAccountGrantDrawerSurface.vue.d.ts} +2 -2
  31. package/dist/types/{views/UserDetailRouteView.vue.d.ts → platform-admin-runtime/role/RoleAuthorizationDrawerSurface.vue.d.ts} +2 -3
  32. package/dist/types/{views/SystemUserDetailWorkspaceView.vue.d.ts → platform-admin-runtime/role/RoleEmploymentGrantDrawerSurface.vue.d.ts} +2 -2
  33. package/dist/types/platform-admin-runtime/role/RoleEnumTitleCell.vue.d.ts +8 -0
  34. package/dist/types/{dynamic-page-runtime/DynamicModuleHost.vue.d.ts → platform-admin-runtime/role/RoleGroupMemberFormField.vue.d.ts} +2 -2
  35. package/dist/types/platform-admin-runtime/role/RoleScopeTree.vue.d.ts +7 -0
  36. package/dist/types/platform-admin-runtime/roleModulePageEnhancement.d.ts +7 -0
  37. package/dist/types/platform-components/CrudRecordListExplorer.vue.d.ts +5 -1
  38. package/dist/types/platform-components/DrawerOperationBar.vue.d.ts +4 -2
  39. package/dist/types/platform-components/ManagementPanelHeader.vue.d.ts +2 -0
  40. package/dist/types/platform-components/RecordDetailDrawer.vue.d.ts +6 -3
  41. package/dist/types/platform-components/RecordDetailLayout.vue.d.ts +4 -2
  42. package/dist/types/platform-components/RecordExplorerPanel.vue.d.ts +2 -0
  43. package/dist/types/platform-components/RecordFormFields.vue.d.ts +2 -2
  44. package/dist/types/platform-components/RecordModeDrawer.vue.d.ts +2 -0
  45. package/dist/types/platform-components/RecordMultiPicker.vue.d.ts +1 -1
  46. package/dist/types/platform-components/RecordPanelButton.vue.d.ts +2 -0
  47. package/dist/types/platform-components/RecordPicker.vue.d.ts +3 -1
  48. package/dist/types/platform-components/RecordQueryListPanel.vue.d.ts +13 -4
  49. package/dist/types/platform-components/RecordStatusSwitch.vue.d.ts +2 -0
  50. package/dist/types/platform-components/TreeRecordExplorer.vue.d.ts +5 -1
  51. package/dist/types/platform-components/index.d.ts +1 -3
  52. package/dist/types/platform-components/recordFormFieldModel.d.ts +16 -2
  53. package/dist/types/platform-components/recordPickerConstraints.d.ts +2 -0
  54. package/dist/types/platform-components/scopedTreeModuleContext.d.ts +2 -2
  55. package/dist/types/platform-components/staticTreeResourceModuleContext.d.ts +3 -3
  56. package/dist/types/platform-workbench/Workbench.vue.d.ts +4 -2
  57. package/dist/types/views/EmployeeEmploymentTable.vue.d.ts +5 -0
  58. package/dist/types/views/RoleAccountGrantDrawer.vue.d.ts +6 -2
  59. package/dist/types/views/RoleAuthorizationView.vue.d.ts +7 -0
  60. package/dist/types/views/RoleEmploymentGrantDrawer.vue.d.ts +5 -1
  61. package/dist/types/views/roleGrantClient.d.ts +8 -5
  62. package/dist/types/vue-ui-antdv/components/UiSidePanel.vue.d.ts +4 -2
  63. package/dist/types/vue-ui-antdv/components/UiSwitch.vue.d.ts +2 -0
  64. package/dist/types/vue-ui-antdv/components/UiTable.vue.d.ts +1 -0
  65. package/dist/types/vue-ui-antdv/components/UiTree.vue.d.ts +20 -1
  66. package/dist/types/vue-ui-antdv/types.d.ts +6 -0
  67. package/dist/types/web-contracts/index.d.ts +81 -4
  68. package/dist/types/web-core/http.d.ts +6 -0
  69. package/dist/types/web-core/module/index.d.ts +1 -1
  70. package/dist/types/web-core/module/moduleContext.d.ts +2 -1
  71. package/dist/types/web-core/module/staticModuleClient.d.ts +10 -4
  72. package/dist/types/web-core/realtime.d.ts +8 -0
  73. package/dist/workspaceViews-BvV8mpML.js +11149 -0
  74. package/package.json +1 -1
  75. package/dist/DictionaryManagementView-CtIQpqVA.js +0 -1035
  76. package/dist/MenuManagementView-DJhkN2sG.js +0 -837
  77. package/dist/RoleAuthorizationView-jn_WUCeg.js +0 -599
  78. package/dist/RoleDetailWorkspaceView-CzaQ3Dz1.js +0 -26
  79. package/dist/RoleManagementView-nY7qu4GF.js +0 -1951
  80. package/dist/SystemUserDetailWorkspaceView-CBvqmWvP.js +0 -17
  81. package/dist/SystemUserManagementView-AEomKvK7.js +0 -887
  82. package/dist/currentUserContext-B1lj1WgF.js +0 -11
  83. package/dist/types/dynamic-page-runtime/DynamicRecordDetailActions.vue.d.ts +0 -39
  84. package/dist/types/dynamic-page-runtime/dynamicModuleDetailStateModel.d.ts +0 -5
  85. package/dist/types/platform-components/scopedResourceTreeModuleContext.d.ts +0 -6
  86. package/dist/types/views/DictionaryManagementView.vue.d.ts +0 -3
  87. package/dist/types/views/MenuManagementView.vue.d.ts +0 -3
  88. package/dist/types/views/UserDetailContent.vue.d.ts +0 -32
  89. package/dist/types/views/UserManagementListView.vue.d.ts +0 -3
  90. package/dist/types/views/UserManagementView.vue.d.ts +0 -3
  91. package/dist/types/views/dictionaryManagementState.d.ts +0 -215
  92. package/dist/types/views/menuManagementState.d.ts +0 -180
  93. package/dist/types/views/systemUserDetailWorkspaceSession.d.ts +0 -12
  94. package/dist/types/views/systemUserDetailWorkspaceView.d.ts +0 -5
  95. package/dist/types/views/useUserSessionRows.d.ts +0 -28
  96. package/dist/types/views/userDetailStateModel.d.ts +0 -9
  97. package/dist/types/views/userManagementRouteState.d.ts +0 -11
  98. package/dist/workspaceViewSessions-B5g4M0rT.js +0 -51
  99. package/dist/workspaceViews-CkERhK0K.js +0 -8748
@@ -5,6 +5,8 @@ type __VLS_Props = {
5
5
  component: Component;
6
6
  route: RouteLocationNormalizedLoaded;
7
7
  pageDescriptor?: PageDescriptor;
8
+ /** Refreshes this page's inner route component without evicting sibling tabs from KeepAlive. */
9
+ refreshRevision?: number;
8
10
  };
9
11
  declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
10
12
  declare const _default: typeof __VLS_export;
@@ -12,18 +12,20 @@ type __VLS_Props = {
12
12
  realtimeStatus?: WorkbenchRealtimeStatus;
13
13
  themeAppearance?: 'light' | 'dark';
14
14
  };
15
- declare var __VLS_17: {
15
+ declare var __VLS_18: {
16
16
  pageDescriptor: PageDescriptor | undefined;
17
17
  };
18
18
  type __VLS_Slots = {} & {
19
- default?: (props: typeof __VLS_17) => any;
19
+ default?: (props: typeof __VLS_18) => any;
20
20
  };
21
21
  declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
22
22
  navigate: (navigation: AppWorkbenchNavigation) => any;
23
+ refreshPage: (key: string) => any;
23
24
  userCommand: (key: string) => any;
24
25
  "update:startup": (value: WorkbenchStartupState) => any;
25
26
  }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
26
27
  onNavigate?: ((navigation: AppWorkbenchNavigation) => any) | undefined;
28
+ onRefreshPage?: ((key: string) => any) | undefined;
27
29
  onUserCommand?: ((key: string) => any) | undefined;
28
30
  "onUpdate:startup"?: ((value: WorkbenchStartupState) => any) | undefined;
29
31
  }>, {
@@ -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, 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';
@@ -1,8 +1,9 @@
1
1
  import { type QueryListRecord } from '../platform-components/index';
2
2
  import type { ResolvedDetailRelationDescriptor, ResolvedModuleUiDescriptor } from '../web-contracts/index';
3
- import { type ModuleContext } from '../web-core/index';
3
+ import { type HttpClient, type ModuleContext } from '../web-core/index';
4
4
  type __VLS_Props = {
5
5
  sourceContext: ModuleContext<QueryListRecord>;
6
+ crossModuleHttp?: HttpClient;
6
7
  uiDescriptor: ResolvedModuleUiDescriptor;
7
8
  relation: ResolvedDetailRelationDescriptor;
8
9
  parentRecord: QueryListRecord;
@@ -31,6 +32,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {
31
32
  density: "default" | "compact";
32
33
  reloadKey: number;
33
34
  validationRequestKey: number;
35
+ crossModuleHttp: HttpClient;
34
36
  addRequestKey: number;
35
37
  removeRequestKey: number;
36
38
  undoRemoveRequestKey: number;
@@ -1,8 +1,9 @@
1
1
  import { type QueryListRecord } from '../platform-components/index';
2
2
  import type { ResolvedDetailRelationDescriptor, ResolvedModuleUiDescriptor } from '../web-contracts/index';
3
- import { type ModuleContext } from '../web-core/index';
3
+ import { type HttpClient, type ModuleContext } from '../web-core/index';
4
4
  type __VLS_Props = {
5
5
  sourceContext: ModuleContext<QueryListRecord>;
6
+ crossModuleHttp?: HttpClient;
6
7
  uiDescriptor: ResolvedModuleUiDescriptor;
7
8
  relation: ResolvedDetailRelationDescriptor;
8
9
  parentRecord: QueryListRecord;
@@ -1,8 +1,9 @@
1
1
  import { type QueryListRecord } from '../platform-components/index';
2
2
  import type { ResolvedDetailRelationDescriptor, ResolvedModuleUiDescriptor } from '../web-contracts/index';
3
- import type { ModuleContext } from '../web-core/index';
3
+ import type { HttpClient, ModuleContext } from '../web-core/index';
4
4
  type __VLS_Props = {
5
5
  sourceContext: ModuleContext<QueryListRecord>;
6
+ crossModuleHttp?: HttpClient;
6
7
  uiDescriptor: ResolvedModuleUiDescriptor;
7
8
  relations: ResolvedDetailRelationDescriptor[];
8
9
  parentRecord: QueryListRecord;
@@ -21,6 +22,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {
21
22
  reloadKey: number;
22
23
  surface: "detail" | "list-expansion";
23
24
  validationRequestKey: number;
25
+ crossModuleHttp: HttpClient;
24
26
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
25
27
  declare const _default: typeof __VLS_export;
26
28
  export default _default;
@@ -1,6 +1,6 @@
1
1
  import { type QueryListRecord } from '../platform-components/index';
2
2
  import type { ResolvedDetailRelationDescriptor, ResolvedModuleUiDescriptor, ResolvedPageListRelationExpansionDescriptor } from '../web-contracts/index';
3
- import type { ModuleContext } from '../web-core/index';
3
+ import type { HttpClient, ModuleContext } from '../web-core/index';
4
4
  import type { ModulePageListRowExpansion, ModulePageListRowExpansionContext } from './modulePageEnhancements';
5
5
  type RelationExpansionEntry = {
6
6
  expansion: ResolvedPageListRelationExpansionDescriptor;
@@ -8,6 +8,7 @@ type RelationExpansionEntry = {
8
8
  };
9
9
  type __VLS_Props = {
10
10
  sourceContext: ModuleContext<QueryListRecord>;
11
+ crossModuleHttp?: HttpClient;
11
12
  uiDescriptor: ResolvedModuleUiDescriptor;
12
13
  record: QueryListRecord;
13
14
  relationEntries: readonly RelationExpansionEntry[];
@@ -1,8 +1,9 @@
1
1
  import type { ResolvedDetailRelationDescriptor, ResolvedModuleUiDescriptor, ResolvedPageListRelationExpansionDescriptor } from '../web-contracts/index';
2
- import type { ModuleContext } from '../web-core/index';
2
+ import type { HttpClient, ModuleContext } from '../web-core/index';
3
3
  import { type QueryListRecord } from '../platform-components/index';
4
4
  type __VLS_Props = {
5
5
  sourceContext: ModuleContext<QueryListRecord>;
6
+ crossModuleHttp?: HttpClient;
6
7
  uiDescriptor: ResolvedModuleUiDescriptor;
7
8
  record: QueryListRecord;
8
9
  relation: ResolvedDetailRelationDescriptor;
@@ -1,5 +1,5 @@
1
1
  import type { ResolvedDetailRelationDescriptor, ResolvedModuleUiDescriptor, ResolvedPageListRelationExpansionDescriptor } from '../web-contracts/index';
2
- import type { ModuleContext } from '../web-core/index';
2
+ import type { HttpClient, ModuleContext } from '../web-core/index';
3
3
  import { type QueryListRecord } from '../platform-components/index';
4
4
  type RelationExpansionEntry = {
5
5
  relation: ResolvedDetailRelationDescriptor;
@@ -7,6 +7,7 @@ type RelationExpansionEntry = {
7
7
  };
8
8
  type __VLS_Props = {
9
9
  sourceContext: ModuleContext<QueryListRecord>;
10
+ crossModuleHttp?: HttpClient;
10
11
  uiDescriptor: ResolvedModuleUiDescriptor;
11
12
  record: QueryListRecord;
12
13
  entries: readonly RelationExpansionEntry[];
@@ -1,9 +1,11 @@
1
1
  import { type QueryListRecord, type RecordFormFieldPickerConfig, type RecordFormFieldValue, type RecordFormFieldDescriptor } from '../platform-components/index';
2
- import type { ModuleContext } from '../web-core/index';
2
+ import type { HttpClient, ModuleContext } from '../web-core/index';
3
3
  import type { ResolvedDetailRelationDescriptor, ResolvedModuleUiDescriptor } from '../web-contracts/index';
4
4
  import type { ModulePageDetailSection, ModulePageDetailSectionContext, ModulePageFormContribution, ModulePageFormFieldPolicy } from './modulePageEnhancements';
5
5
  type __VLS_Props = {
6
6
  context: ModuleContext<QueryListRecord>;
7
+ /** Neutral transport for reference target modules. */
8
+ crossModuleHttp?: HttpClient;
7
9
  mode: 'view' | 'edit' | 'create';
8
10
  record: QueryListRecord;
9
11
  selectedRecord?: QueryListRecord;
@@ -12,16 +12,21 @@ type __VLS_Props = {
12
12
  reloadKey: number;
13
13
  keyword: string;
14
14
  externalQueryValues?: Record<string, unknown>;
15
+ navigatorHostModuleAlias: string;
16
+ /** Whether this navigator's upstream selection scope is available. */
17
+ ready?: boolean;
15
18
  /** The navigator's declared upstream query scope is not settled yet. */
16
19
  createDisabled?: boolean;
17
20
  createDisabledReason?: string;
21
+ /** Human-readable context supplied by an upstream navigator selection. */
22
+ scopeSubtitle?: string;
18
23
  actionsOf?: (record: {
19
24
  id?: string;
20
25
  }) => RecordInlineAction[];
21
26
  };
22
- declare var __VLS_40: {};
27
+ declare var __VLS_45: {};
23
28
  type __VLS_Slots = {} & {
24
- editor?: (props: typeof __VLS_40) => any;
29
+ editor?: (props: typeof __VLS_45) => any;
25
30
  };
26
31
  declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
27
32
  action: (action: RecordInlineAction, record: QueryListRecord) => any;
@@ -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 {
@@ -17,10 +19,12 @@ interface Options {
17
19
  /** Owns frontend-only detail extension invalidation and drawer lifecycle. */
18
20
  export declare function useModulePageDetailExtensionRuntime(options: Options): {
19
21
  drawer: import("vue").Ref<ModulePageEnhancementDrawerRuntime | undefined, ModulePageEnhancementDrawerRuntime | undefined>;
22
+ drawerOpen: import("vue").Ref<boolean, boolean>;
20
23
  refreshDetailExtensions: () => void;
21
24
  sectionContext: (record: QueryListRecord) => ModulePageDetailSectionContext;
22
25
  recordViewContext: (record: QueryListRecord) => ModulePageRecordViewContext;
23
26
  openDrawer: (definition: ModulePageDrawer, record?: QueryListRecord) => void;
24
27
  closeDrawer: () => void;
28
+ disposeDrawer: () => void;
25
29
  };
26
30
  export {};
@@ -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>;