@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
@@ -1,19 +1,29 @@
1
1
  import { type Ref } from 'vue';
2
2
  import { type QueryListRecord, type RecordFormFieldDescriptor } from '../../platform-components/index';
3
- import type { ResolvedModuleUiDescriptor, ResolvedModulePageDescriptor, ResolvedPageContextBindingDescriptor, ResolvedPageNavigatorLevelDescriptor } from '../../web-contracts/index';
4
- import { type ModuleContext } from '../../web-core/index';
3
+ import type { ResolvedModuleUiDescriptor, ResolvedModulePageDescriptor, ResolvedPageContextBindingDescriptor, ResolvedPageNavigatorLevelDescriptor, RouteQueryValue } from '../../web-contracts/index';
4
+ import { type HttpClient, type ModuleContext } from '../../web-core/index';
5
+ import { type NavigatorEntrySelection } from '../navigatorEntrySelection';
5
6
  /** Runtime state that belongs to the page/navigator session rather than to a Vue host. */
6
7
  export interface NavigatorLevelRuntime {
7
8
  descriptor: ResolvedPageNavigatorLevelDescriptor;
8
9
  context: ModuleContext<QueryListRecord>;
9
10
  tree: boolean;
10
11
  }
12
+ export interface NavigatorEntrySelectionChange {
13
+ previous?: NavigatorEntrySelection;
14
+ current?: NavigatorEntrySelection;
15
+ }
16
+ interface NavigatorEntrySelectionResolution {
17
+ identity: string;
18
+ revision: number;
19
+ record?: QueryListRecord;
20
+ }
11
21
  /**
12
22
  * Resolves the standard runtime descriptor once and owns all navigator source
13
23
  * contexts. The host only binds the returned state to visual surfaces; this
14
24
  * keeps list, detail and tree templates on the same navigator session.
15
25
  */
16
- export declare function useNavigatorRuntime(context: ModuleContext<QueryListRecord>): {
26
+ export declare function useNavigatorRuntime(context: ModuleContext<QueryListRecord>, crossModuleHttp?: HttpClient): {
17
27
  formFields: Ref<Map<string, {
18
28
  fieldRef: {
19
29
  relationCode?: string | undefined;
@@ -27,7 +37,7 @@ export declare function useNavigatorRuntime(context: ModuleContext<QueryListReco
27
37
  expression: string;
28
38
  program?: {
29
39
  schemaVersion: number;
30
- profile: "WEB_UI" | "FORM_COMPUTE";
40
+ profile: "WEB_UI" | "PAGE_TEXT" | "FORM_COMPUTE";
31
41
  root: {
32
42
  kind: "VALUE" | "FIELD" | "OTHERS" | "UNARY" | "BINARY" | "FUNCTION" | "ASSIGN";
33
43
  operator?: string | undefined;
@@ -46,7 +56,7 @@ export declare function useNavigatorRuntime(context: ModuleContext<QueryListReco
46
56
  expression: string;
47
57
  program?: {
48
58
  schemaVersion: number;
49
- profile: "WEB_UI" | "FORM_COMPUTE";
59
+ profile: "WEB_UI" | "PAGE_TEXT" | "FORM_COMPUTE";
50
60
  root: {
51
61
  kind: "VALUE" | "FIELD" | "OTHERS" | "UNARY" | "BINARY" | "FUNCTION" | "ASSIGN";
52
62
  operator?: string | undefined;
@@ -65,7 +75,7 @@ export declare function useNavigatorRuntime(context: ModuleContext<QueryListReco
65
75
  expression: string;
66
76
  program?: {
67
77
  schemaVersion: number;
68
- profile: "WEB_UI" | "FORM_COMPUTE";
78
+ profile: "WEB_UI" | "PAGE_TEXT" | "FORM_COMPUTE";
69
79
  root: {
70
80
  kind: "VALUE" | "FIELD" | "OTHERS" | "UNARY" | "BINARY" | "FUNCTION" | "ASSIGN";
71
81
  operator?: string | undefined;
@@ -92,6 +102,7 @@ export declare function useNavigatorRuntime(context: ModuleContext<QueryListReco
92
102
  } | undefined;
93
103
  maxDisplayLines?: number | undefined;
94
104
  treeRootTitle?: string | undefined;
105
+ overrideOf?: string | undefined;
95
106
  fieldControl?: {
96
107
  alias: string;
97
108
  rendererType: string;
@@ -129,6 +140,9 @@ export declare function useNavigatorRuntime(context: ModuleContext<QueryListReco
129
140
  required: boolean;
130
141
  }[] | undefined;
131
142
  titleField?: string | undefined;
143
+ selectionProjections?: {
144
+ path: string[];
145
+ }[] | undefined;
132
146
  } | undefined;
133
147
  fileReference?: {
134
148
  fieldRef: {
@@ -167,7 +181,7 @@ export declare function useNavigatorRuntime(context: ModuleContext<QueryListReco
167
181
  expression: string;
168
182
  program?: {
169
183
  schemaVersion: number;
170
- profile: "WEB_UI" | "FORM_COMPUTE";
184
+ profile: "WEB_UI" | "PAGE_TEXT" | "FORM_COMPUTE";
171
185
  root: {
172
186
  kind: "VALUE" | "FIELD" | "OTHERS" | "UNARY" | "BINARY" | "FUNCTION" | "ASSIGN";
173
187
  operator?: string | undefined;
@@ -186,7 +200,7 @@ export declare function useNavigatorRuntime(context: ModuleContext<QueryListReco
186
200
  expression: string;
187
201
  program?: {
188
202
  schemaVersion: number;
189
- profile: "WEB_UI" | "FORM_COMPUTE";
203
+ profile: "WEB_UI" | "PAGE_TEXT" | "FORM_COMPUTE";
190
204
  root: {
191
205
  kind: "VALUE" | "FIELD" | "OTHERS" | "UNARY" | "BINARY" | "FUNCTION" | "ASSIGN";
192
206
  operator?: string | undefined;
@@ -205,7 +219,7 @@ export declare function useNavigatorRuntime(context: ModuleContext<QueryListReco
205
219
  expression: string;
206
220
  program?: {
207
221
  schemaVersion: number;
208
- profile: "WEB_UI" | "FORM_COMPUTE";
222
+ profile: "WEB_UI" | "PAGE_TEXT" | "FORM_COMPUTE";
209
223
  root: {
210
224
  kind: "VALUE" | "FIELD" | "OTHERS" | "UNARY" | "BINARY" | "FUNCTION" | "ASSIGN";
211
225
  operator?: string | undefined;
@@ -242,6 +256,7 @@ export declare function useNavigatorRuntime(context: ModuleContext<QueryListReco
242
256
  falseTone?: import("../../web-contracts/index").BooleanStatusTone | undefined;
243
257
  } | undefined;
244
258
  treeRootTitle?: string | undefined;
259
+ overrideOf?: string | undefined;
245
260
  option?: {
246
261
  binding: {
247
262
  sourceType: string;
@@ -269,6 +284,9 @@ export declare function useNavigatorRuntime(context: ModuleContext<QueryListReco
269
284
  required: boolean;
270
285
  }[] | undefined;
271
286
  titleField?: string | undefined;
287
+ selectionProjections?: {
288
+ path: string[];
289
+ }[] | undefined;
272
290
  } | undefined;
273
291
  referenceSummary?: {
274
292
  sourceField: string;
@@ -313,7 +331,7 @@ export declare function useNavigatorRuntime(context: ModuleContext<QueryListReco
313
331
  expression: string;
314
332
  program?: {
315
333
  schemaVersion: number;
316
- profile: "WEB_UI" | "FORM_COMPUTE";
334
+ profile: "WEB_UI" | "PAGE_TEXT" | "FORM_COMPUTE";
317
335
  root: {
318
336
  kind: "VALUE" | "FIELD" | "OTHERS" | "UNARY" | "BINARY" | "FUNCTION" | "ASSIGN";
319
337
  operator?: string | undefined;
@@ -332,7 +350,7 @@ export declare function useNavigatorRuntime(context: ModuleContext<QueryListReco
332
350
  expression: string;
333
351
  program?: {
334
352
  schemaVersion: number;
335
- profile: "WEB_UI" | "FORM_COMPUTE";
353
+ profile: "WEB_UI" | "PAGE_TEXT" | "FORM_COMPUTE";
336
354
  root: {
337
355
  kind: "VALUE" | "FIELD" | "OTHERS" | "UNARY" | "BINARY" | "FUNCTION" | "ASSIGN";
338
356
  operator?: string | undefined;
@@ -351,7 +369,7 @@ export declare function useNavigatorRuntime(context: ModuleContext<QueryListReco
351
369
  expression: string;
352
370
  program?: {
353
371
  schemaVersion: number;
354
- profile: "WEB_UI" | "FORM_COMPUTE";
372
+ profile: "WEB_UI" | "PAGE_TEXT" | "FORM_COMPUTE";
355
373
  root: {
356
374
  kind: "VALUE" | "FIELD" | "OTHERS" | "UNARY" | "BINARY" | "FUNCTION" | "ASSIGN";
357
375
  operator?: string | undefined;
@@ -378,6 +396,7 @@ export declare function useNavigatorRuntime(context: ModuleContext<QueryListReco
378
396
  } | undefined;
379
397
  maxDisplayLines?: number | undefined;
380
398
  treeRootTitle?: string | undefined;
399
+ overrideOf?: string | undefined;
381
400
  fieldControl?: {
382
401
  alias: string;
383
402
  rendererType: string;
@@ -415,6 +434,9 @@ export declare function useNavigatorRuntime(context: ModuleContext<QueryListReco
415
434
  required: boolean;
416
435
  }[] | undefined;
417
436
  titleField?: string | undefined;
437
+ selectionProjections?: {
438
+ path: string[];
439
+ }[] | undefined;
418
440
  } | undefined;
419
441
  fileReference?: {
420
442
  fieldRef: {
@@ -453,7 +475,7 @@ export declare function useNavigatorRuntime(context: ModuleContext<QueryListReco
453
475
  expression: string;
454
476
  program?: {
455
477
  schemaVersion: number;
456
- profile: "WEB_UI" | "FORM_COMPUTE";
478
+ profile: "WEB_UI" | "PAGE_TEXT" | "FORM_COMPUTE";
457
479
  root: {
458
480
  kind: "VALUE" | "FIELD" | "OTHERS" | "UNARY" | "BINARY" | "FUNCTION" | "ASSIGN";
459
481
  operator?: string | undefined;
@@ -472,7 +494,7 @@ export declare function useNavigatorRuntime(context: ModuleContext<QueryListReco
472
494
  expression: string;
473
495
  program?: {
474
496
  schemaVersion: number;
475
- profile: "WEB_UI" | "FORM_COMPUTE";
497
+ profile: "WEB_UI" | "PAGE_TEXT" | "FORM_COMPUTE";
476
498
  root: {
477
499
  kind: "VALUE" | "FIELD" | "OTHERS" | "UNARY" | "BINARY" | "FUNCTION" | "ASSIGN";
478
500
  operator?: string | undefined;
@@ -491,7 +513,7 @@ export declare function useNavigatorRuntime(context: ModuleContext<QueryListReco
491
513
  expression: string;
492
514
  program?: {
493
515
  schemaVersion: number;
494
- profile: "WEB_UI" | "FORM_COMPUTE";
516
+ profile: "WEB_UI" | "PAGE_TEXT" | "FORM_COMPUTE";
495
517
  root: {
496
518
  kind: "VALUE" | "FIELD" | "OTHERS" | "UNARY" | "BINARY" | "FUNCTION" | "ASSIGN";
497
519
  operator?: string | undefined;
@@ -528,6 +550,7 @@ export declare function useNavigatorRuntime(context: ModuleContext<QueryListReco
528
550
  falseTone?: import("../../web-contracts/index").BooleanStatusTone | undefined;
529
551
  } | undefined;
530
552
  treeRootTitle?: string | undefined;
553
+ overrideOf?: string | undefined;
531
554
  option?: {
532
555
  binding: {
533
556
  sourceType: string;
@@ -555,6 +578,9 @@ export declare function useNavigatorRuntime(context: ModuleContext<QueryListReco
555
578
  required: boolean;
556
579
  }[] | undefined;
557
580
  titleField?: string | undefined;
581
+ selectionProjections?: {
582
+ path: string[];
583
+ }[] | undefined;
558
584
  } | undefined;
559
585
  referenceSummary?: {
560
586
  sourceField: string;
@@ -600,7 +626,7 @@ export declare function useNavigatorRuntime(context: ModuleContext<QueryListReco
600
626
  expression: string;
601
627
  program?: {
602
628
  schemaVersion: number;
603
- profile: "WEB_UI" | "FORM_COMPUTE";
629
+ profile: "WEB_UI" | "PAGE_TEXT" | "FORM_COMPUTE";
604
630
  root: {
605
631
  kind: "VALUE" | "FIELD" | "OTHERS" | "UNARY" | "BINARY" | "FUNCTION" | "ASSIGN";
606
632
  operator?: string | undefined;
@@ -619,7 +645,7 @@ export declare function useNavigatorRuntime(context: ModuleContext<QueryListReco
619
645
  expression: string;
620
646
  program?: {
621
647
  schemaVersion: number;
622
- profile: "WEB_UI" | "FORM_COMPUTE";
648
+ profile: "WEB_UI" | "PAGE_TEXT" | "FORM_COMPUTE";
623
649
  root: {
624
650
  kind: "VALUE" | "FIELD" | "OTHERS" | "UNARY" | "BINARY" | "FUNCTION" | "ASSIGN";
625
651
  operator?: string | undefined;
@@ -638,7 +664,7 @@ export declare function useNavigatorRuntime(context: ModuleContext<QueryListReco
638
664
  expression: string;
639
665
  program?: {
640
666
  schemaVersion: number;
641
- profile: "WEB_UI" | "FORM_COMPUTE";
667
+ profile: "WEB_UI" | "PAGE_TEXT" | "FORM_COMPUTE";
642
668
  root: {
643
669
  kind: "VALUE" | "FIELD" | "OTHERS" | "UNARY" | "BINARY" | "FUNCTION" | "ASSIGN";
644
670
  operator?: string | undefined;
@@ -665,6 +691,7 @@ export declare function useNavigatorRuntime(context: ModuleContext<QueryListReco
665
691
  } | undefined;
666
692
  maxDisplayLines?: number | undefined;
667
693
  treeRootTitle?: string | undefined;
694
+ overrideOf?: string | undefined;
668
695
  fieldControl?: {
669
696
  alias: string;
670
697
  rendererType: string;
@@ -702,6 +729,9 @@ export declare function useNavigatorRuntime(context: ModuleContext<QueryListReco
702
729
  required: boolean;
703
730
  }[] | undefined;
704
731
  titleField?: string | undefined;
732
+ selectionProjections?: {
733
+ path: string[];
734
+ }[] | undefined;
705
735
  } | undefined;
706
736
  fileReference?: {
707
737
  fieldRef: {
@@ -740,7 +770,7 @@ export declare function useNavigatorRuntime(context: ModuleContext<QueryListReco
740
770
  expression: string;
741
771
  program?: {
742
772
  schemaVersion: number;
743
- profile: "WEB_UI" | "FORM_COMPUTE";
773
+ profile: "WEB_UI" | "PAGE_TEXT" | "FORM_COMPUTE";
744
774
  root: {
745
775
  kind: "VALUE" | "FIELD" | "OTHERS" | "UNARY" | "BINARY" | "FUNCTION" | "ASSIGN";
746
776
  operator?: string | undefined;
@@ -759,7 +789,7 @@ export declare function useNavigatorRuntime(context: ModuleContext<QueryListReco
759
789
  expression: string;
760
790
  program?: {
761
791
  schemaVersion: number;
762
- profile: "WEB_UI" | "FORM_COMPUTE";
792
+ profile: "WEB_UI" | "PAGE_TEXT" | "FORM_COMPUTE";
763
793
  root: {
764
794
  kind: "VALUE" | "FIELD" | "OTHERS" | "UNARY" | "BINARY" | "FUNCTION" | "ASSIGN";
765
795
  operator?: string | undefined;
@@ -778,7 +808,7 @@ export declare function useNavigatorRuntime(context: ModuleContext<QueryListReco
778
808
  expression: string;
779
809
  program?: {
780
810
  schemaVersion: number;
781
- profile: "WEB_UI" | "FORM_COMPUTE";
811
+ profile: "WEB_UI" | "PAGE_TEXT" | "FORM_COMPUTE";
782
812
  root: {
783
813
  kind: "VALUE" | "FIELD" | "OTHERS" | "UNARY" | "BINARY" | "FUNCTION" | "ASSIGN";
784
814
  operator?: string | undefined;
@@ -815,6 +845,7 @@ export declare function useNavigatorRuntime(context: ModuleContext<QueryListReco
815
845
  falseTone?: import("../../web-contracts/index").BooleanStatusTone | undefined;
816
846
  } | undefined;
817
847
  treeRootTitle?: string | undefined;
848
+ overrideOf?: string | undefined;
818
849
  option?: {
819
850
  binding: {
820
851
  sourceType: string;
@@ -842,6 +873,9 @@ export declare function useNavigatorRuntime(context: ModuleContext<QueryListReco
842
873
  required: boolean;
843
874
  }[] | undefined;
844
875
  titleField?: string | undefined;
876
+ selectionProjections?: {
877
+ path: string[];
878
+ }[] | undefined;
845
879
  } | undefined;
846
880
  referenceSummary?: {
847
881
  sourceField: string;
@@ -886,7 +920,7 @@ export declare function useNavigatorRuntime(context: ModuleContext<QueryListReco
886
920
  expression: string;
887
921
  program?: {
888
922
  schemaVersion: number;
889
- profile: "WEB_UI" | "FORM_COMPUTE";
923
+ profile: "WEB_UI" | "PAGE_TEXT" | "FORM_COMPUTE";
890
924
  root: {
891
925
  kind: "VALUE" | "FIELD" | "OTHERS" | "UNARY" | "BINARY" | "FUNCTION" | "ASSIGN";
892
926
  operator?: string | undefined;
@@ -905,7 +939,7 @@ export declare function useNavigatorRuntime(context: ModuleContext<QueryListReco
905
939
  expression: string;
906
940
  program?: {
907
941
  schemaVersion: number;
908
- profile: "WEB_UI" | "FORM_COMPUTE";
942
+ profile: "WEB_UI" | "PAGE_TEXT" | "FORM_COMPUTE";
909
943
  root: {
910
944
  kind: "VALUE" | "FIELD" | "OTHERS" | "UNARY" | "BINARY" | "FUNCTION" | "ASSIGN";
911
945
  operator?: string | undefined;
@@ -924,7 +958,7 @@ export declare function useNavigatorRuntime(context: ModuleContext<QueryListReco
924
958
  expression: string;
925
959
  program?: {
926
960
  schemaVersion: number;
927
- profile: "WEB_UI" | "FORM_COMPUTE";
961
+ profile: "WEB_UI" | "PAGE_TEXT" | "FORM_COMPUTE";
928
962
  root: {
929
963
  kind: "VALUE" | "FIELD" | "OTHERS" | "UNARY" | "BINARY" | "FUNCTION" | "ASSIGN";
930
964
  operator?: string | undefined;
@@ -951,6 +985,7 @@ export declare function useNavigatorRuntime(context: ModuleContext<QueryListReco
951
985
  } | undefined;
952
986
  maxDisplayLines?: number | undefined;
953
987
  treeRootTitle?: string | undefined;
988
+ overrideOf?: string | undefined;
954
989
  fieldControl?: {
955
990
  alias: string;
956
991
  rendererType: string;
@@ -988,6 +1023,9 @@ export declare function useNavigatorRuntime(context: ModuleContext<QueryListReco
988
1023
  required: boolean;
989
1024
  }[] | undefined;
990
1025
  titleField?: string | undefined;
1026
+ selectionProjections?: {
1027
+ path: string[];
1028
+ }[] | undefined;
991
1029
  } | undefined;
992
1030
  fileReference?: {
993
1031
  fieldRef: {
@@ -1026,7 +1064,7 @@ export declare function useNavigatorRuntime(context: ModuleContext<QueryListReco
1026
1064
  expression: string;
1027
1065
  program?: {
1028
1066
  schemaVersion: number;
1029
- profile: "WEB_UI" | "FORM_COMPUTE";
1067
+ profile: "WEB_UI" | "PAGE_TEXT" | "FORM_COMPUTE";
1030
1068
  root: {
1031
1069
  kind: "VALUE" | "FIELD" | "OTHERS" | "UNARY" | "BINARY" | "FUNCTION" | "ASSIGN";
1032
1070
  operator?: string | undefined;
@@ -1045,7 +1083,7 @@ export declare function useNavigatorRuntime(context: ModuleContext<QueryListReco
1045
1083
  expression: string;
1046
1084
  program?: {
1047
1085
  schemaVersion: number;
1048
- profile: "WEB_UI" | "FORM_COMPUTE";
1086
+ profile: "WEB_UI" | "PAGE_TEXT" | "FORM_COMPUTE";
1049
1087
  root: {
1050
1088
  kind: "VALUE" | "FIELD" | "OTHERS" | "UNARY" | "BINARY" | "FUNCTION" | "ASSIGN";
1051
1089
  operator?: string | undefined;
@@ -1064,7 +1102,7 @@ export declare function useNavigatorRuntime(context: ModuleContext<QueryListReco
1064
1102
  expression: string;
1065
1103
  program?: {
1066
1104
  schemaVersion: number;
1067
- profile: "WEB_UI" | "FORM_COMPUTE";
1105
+ profile: "WEB_UI" | "PAGE_TEXT" | "FORM_COMPUTE";
1068
1106
  root: {
1069
1107
  kind: "VALUE" | "FIELD" | "OTHERS" | "UNARY" | "BINARY" | "FUNCTION" | "ASSIGN";
1070
1108
  operator?: string | undefined;
@@ -1101,6 +1139,7 @@ export declare function useNavigatorRuntime(context: ModuleContext<QueryListReco
1101
1139
  falseTone?: import("../../web-contracts/index").BooleanStatusTone | undefined;
1102
1140
  } | undefined;
1103
1141
  treeRootTitle?: string | undefined;
1142
+ overrideOf?: string | undefined;
1104
1143
  option?: {
1105
1144
  binding: {
1106
1145
  sourceType: string;
@@ -1128,6 +1167,9 @@ export declare function useNavigatorRuntime(context: ModuleContext<QueryListReco
1128
1167
  required: boolean;
1129
1168
  }[] | undefined;
1130
1169
  titleField?: string | undefined;
1170
+ selectionProjections?: {
1171
+ path: string[];
1172
+ }[] | undefined;
1131
1173
  } | undefined;
1132
1174
  referenceSummary?: {
1133
1175
  sourceField: string;
@@ -1162,6 +1204,7 @@ export declare function useNavigatorRuntime(context: ModuleContext<QueryListReco
1162
1204
  }> & Omit<Map<string, RecordFormFieldDescriptor>, keyof Map<any, any>>)>;
1163
1205
  runtimePage: Ref<ResolvedModulePageDescriptor | undefined, ResolvedModulePageDescriptor | undefined>;
1164
1206
  runtimeUiDescriptor: Ref<ResolvedModuleUiDescriptor | undefined, ResolvedModuleUiDescriptor | undefined>;
1207
+ runtimePageResolved: Ref<boolean, boolean>;
1165
1208
  treeModule: Ref<boolean, boolean>;
1166
1209
  navigatorLevels: Ref<{
1167
1210
  descriptor: {
@@ -1170,6 +1213,7 @@ export declare function useNavigatorRuntime(context: ModuleContext<QueryListReco
1170
1213
  sourceModuleAlias: string;
1171
1214
  title: string;
1172
1215
  searchPlaceholder: string;
1216
+ secondaryField?: string | undefined;
1173
1217
  singleResultPolicy?: "NONE" | "AUTO_SELECT" | "AUTO_SELECT_AND_HIDE" | undefined;
1174
1218
  initialSelectionPolicy?: "NONE" | "FIRST_RECORD" | undefined;
1175
1219
  sourceScope?: "NONE" | "CURRENT_TENANT" | undefined;
@@ -1206,9 +1250,9 @@ export declare function useNavigatorRuntime(context: ModuleContext<QueryListReco
1206
1250
  action: (actionCode: string, recordId?: string) => import("../../web-core/index").ModuleActionState | undefined;
1207
1251
  runtimeAction: (actionCode: string) => import("../../web-core/index").ModuleRuntimeAction | undefined;
1208
1252
  can: (actionCode: string, recordId?: string) => boolean | undefined;
1209
- recordActions: (recordId: string) => Promise<import("../../web-core/module/runtimeContext").ModuleRecordActionAvailability>;
1210
- recordActionsBatch?: ((recordIds: string[]) => Promise<import("../../web-core/module/runtimeContext").ModuleRecordActionAvailability[]>) | undefined;
1211
- recordActionsSnapshot: (recordId: string) => import("../../web-core/module/runtimeContext").ModuleRecordActionAvailability | undefined;
1253
+ recordActions: (recordId: string) => Promise<import("../../web-core/index").ModuleRecordActionAvailability>;
1254
+ recordActionsBatch?: ((recordIds: string[]) => Promise<import("../../web-core/index").ModuleRecordActionAvailability[]>) | undefined;
1255
+ recordActionsSnapshot: (recordId: string) => import("../../web-core/index").ModuleRecordActionAvailability | undefined;
1212
1256
  invalidateRecordActions?: ((recordIds?: string[]) => void) | undefined;
1213
1257
  };
1214
1258
  abilities: {
@@ -1226,9 +1270,9 @@ export declare function useNavigatorRuntime(context: ModuleContext<QueryListReco
1226
1270
  action: (actionCode: string, recordId?: string) => import("../../web-core/index").ModuleActionState | undefined;
1227
1271
  runtimeAction: (actionCode: string) => import("../../web-core/index").ModuleRuntimeAction | undefined;
1228
1272
  can: (actionCode: string, recordId?: string) => boolean | undefined;
1229
- recordActions: (recordId: string) => Promise<import("../../web-core/module/runtimeContext").ModuleRecordActionAvailability>;
1230
- recordActionsBatch?: ((recordIds: string[]) => Promise<import("../../web-core/module/runtimeContext").ModuleRecordActionAvailability[]>) | undefined;
1231
- recordActionsSnapshot: (recordId: string) => import("../../web-core/module/runtimeContext").ModuleRecordActionAvailability | undefined;
1273
+ recordActions: (recordId: string) => Promise<import("../../web-core/index").ModuleRecordActionAvailability>;
1274
+ recordActionsBatch?: ((recordIds: string[]) => Promise<import("../../web-core/index").ModuleRecordActionAvailability[]>) | undefined;
1275
+ recordActionsSnapshot: (recordId: string) => import("../../web-core/index").ModuleRecordActionAvailability | undefined;
1232
1276
  invalidateRecordActions?: ((recordIds?: string[]) => void) | undefined;
1233
1277
  };
1234
1278
  tree: boolean;
@@ -1239,6 +1283,7 @@ export declare function useNavigatorRuntime(context: ModuleContext<QueryListReco
1239
1283
  sourceModuleAlias: string;
1240
1284
  title: string;
1241
1285
  searchPlaceholder: string;
1286
+ secondaryField?: string | undefined;
1242
1287
  singleResultPolicy?: "NONE" | "AUTO_SELECT" | "AUTO_SELECT_AND_HIDE" | undefined;
1243
1288
  initialSelectionPolicy?: "NONE" | "FIRST_RECORD" | undefined;
1244
1289
  sourceScope?: "NONE" | "CURRENT_TENANT" | undefined;
@@ -1275,9 +1320,9 @@ export declare function useNavigatorRuntime(context: ModuleContext<QueryListReco
1275
1320
  action: (actionCode: string, recordId?: string) => import("../../web-core/index").ModuleActionState | undefined;
1276
1321
  runtimeAction: (actionCode: string) => import("../../web-core/index").ModuleRuntimeAction | undefined;
1277
1322
  can: (actionCode: string, recordId?: string) => boolean | undefined;
1278
- recordActions: (recordId: string) => Promise<import("../../web-core/module/runtimeContext").ModuleRecordActionAvailability>;
1279
- recordActionsBatch?: ((recordIds: string[]) => Promise<import("../../web-core/module/runtimeContext").ModuleRecordActionAvailability[]>) | undefined;
1280
- recordActionsSnapshot: (recordId: string) => import("../../web-core/module/runtimeContext").ModuleRecordActionAvailability | undefined;
1323
+ recordActions: (recordId: string) => Promise<import("../../web-core/index").ModuleRecordActionAvailability>;
1324
+ recordActionsBatch?: ((recordIds: string[]) => Promise<import("../../web-core/index").ModuleRecordActionAvailability[]>) | undefined;
1325
+ recordActionsSnapshot: (recordId: string) => import("../../web-core/index").ModuleRecordActionAvailability | undefined;
1281
1326
  invalidateRecordActions?: ((recordIds?: string[]) => void) | undefined;
1282
1327
  };
1283
1328
  abilities: {
@@ -1295,30 +1340,39 @@ export declare function useNavigatorRuntime(context: ModuleContext<QueryListReco
1295
1340
  action: (actionCode: string, recordId?: string) => import("../../web-core/index").ModuleActionState | undefined;
1296
1341
  runtimeAction: (actionCode: string) => import("../../web-core/index").ModuleRuntimeAction | undefined;
1297
1342
  can: (actionCode: string, recordId?: string) => boolean | undefined;
1298
- recordActions: (recordId: string) => Promise<import("../../web-core/module/runtimeContext").ModuleRecordActionAvailability>;
1299
- recordActionsBatch?: ((recordIds: string[]) => Promise<import("../../web-core/module/runtimeContext").ModuleRecordActionAvailability[]>) | undefined;
1300
- recordActionsSnapshot: (recordId: string) => import("../../web-core/module/runtimeContext").ModuleRecordActionAvailability | undefined;
1343
+ recordActions: (recordId: string) => Promise<import("../../web-core/index").ModuleRecordActionAvailability>;
1344
+ recordActionsBatch?: ((recordIds: string[]) => Promise<import("../../web-core/index").ModuleRecordActionAvailability[]>) | undefined;
1345
+ recordActionsSnapshot: (recordId: string) => import("../../web-core/index").ModuleRecordActionAvailability | undefined;
1301
1346
  invalidateRecordActions?: ((recordIds?: string[]) => void) | undefined;
1302
1347
  };
1303
1348
  tree: boolean;
1304
1349
  }[]>;
1305
1350
  pageContextBindings: Ref<{
1306
- source: "SESSION" | "NAVIGATOR";
1351
+ source: "SESSION" | "NAVIGATOR" | "RESOLVED_SELECTION";
1307
1352
  sourceKey: string;
1308
1353
  target: "LIST_QUERY" | "NAVIGATOR_QUERY" | "FORM_DEFAULT" | "PICKER_QUERY" | "MUTATION_CONSTRAINT";
1309
1354
  targetKey: string;
1310
1355
  targetNavigatorLevelKey?: string | undefined;
1311
1356
  targetPickerFieldKey?: string | undefined;
1357
+ navigatorListQueryMode?: "REQUIRED_SCOPE" | "OPTIONAL_FILTER" | undefined;
1312
1358
  }[], ResolvedPageContextBindingDescriptor[] | {
1313
- source: "SESSION" | "NAVIGATOR";
1359
+ source: "SESSION" | "NAVIGATOR" | "RESOLVED_SELECTION";
1314
1360
  sourceKey: string;
1315
1361
  target: "LIST_QUERY" | "NAVIGATOR_QUERY" | "FORM_DEFAULT" | "PICKER_QUERY" | "MUTATION_CONSTRAINT";
1316
1362
  targetKey: string;
1317
1363
  targetNavigatorLevelKey?: string | undefined;
1318
1364
  targetPickerFieldKey?: string | undefined;
1365
+ navigatorListQueryMode?: "REQUIRED_SCOPE" | "OPTIONAL_FILTER" | undefined;
1319
1366
  }[]>;
1320
1367
  selectedNavigatorRecords: Ref<Record<string, QueryListRecord | undefined>, Record<string, QueryListRecord | undefined>>;
1321
1368
  navigatorSingleResultKeys: Ref<string[], string[]>;
1322
1369
  navigatorDismissedSelectionKeys: Ref<string[], string[]>;
1370
+ setNavigatorEntrySelection: (params: Record<string, RouteQueryValue> | undefined) => NavigatorEntrySelectionChange | undefined;
1371
+ navigatorEntrySelectionPendingFor: (level: NavigatorLevelRuntime) => boolean;
1372
+ resolveNavigatorEntrySelection: (level: NavigatorLevelRuntime, records: readonly {
1373
+ id?: string;
1374
+ }[], externalQueryValues?: Record<string, unknown>) => Promise<NavigatorEntrySelectionResolution | undefined>;
1375
+ isCurrentNavigatorEntrySelection: (level: NavigatorLevelRuntime, resolution: NavigatorEntrySelectionResolution) => boolean;
1323
1376
  loadRuntimeForm: (isListPage: Ref<boolean>, hasBusinessRecordView: () => boolean, fail: (message: string) => void) => Promise<void>;
1324
1377
  };
1378
+ export {};
@@ -1,6 +1,7 @@
1
1
  import type { ModuleContext } from '../../web-core/index';
2
+ import type { RecordDetailTransitionOptions } from '../recordDetailController';
2
3
  interface DetailController<TRecord> {
3
- beginLoad(record: TRecord, mode: 'edit' | 'view'): void;
4
+ beginLoad(record: TRecord, mode: 'edit' | 'view', options?: RecordDetailTransitionOptions): void;
4
5
  resolveLoad(record: TRecord): void;
5
6
  failLoad(): void;
6
7
  finishLoad(): void;
@@ -16,7 +17,7 @@ export declare function useRecordEditingSession<TRecord extends {
16
17
  id?: unknown;
17
18
  }>(context: ModuleContext<TRecord>, detail: DetailController<TRecord>, onLoaded: () => void): {
18
19
  invalidatePendingRequests: () => void;
19
- openRecord: (record: TRecord, mode: "edit" | "view", skipLoad?: boolean) => Promise<void>;
20
+ openRecord: (record: TRecord, mode: "edit" | "view", options?: RecordDetailTransitionOptions, skipLoad?: boolean) => Promise<void>;
20
21
  openRecycleBinRecord: (record: TRecord) => Promise<void>;
21
22
  };
22
23
  export {};
@@ -1,10 +1,10 @@
1
1
  export { default as ModulePageHost } from './ModulePageHost.vue';
2
- export { default as DynamicModuleHost } from './DynamicModuleHost.vue';
3
2
  export { default as DynamicModulePage } from './DynamicModulePage.vue';
4
3
  export { default as DynamicModuleWorkspaceDetailView } from './DynamicModuleWorkspaceDetailView.vue';
5
4
  export { customerDescriptor } from './mockDescriptor';
6
5
  export { configureModulePageEnhancementContributions, configureModulePageEnhancements, createModulePageEnhancementRegistry, createReadonlyCardRecordSnapshot, modulePageWorkspaceViews, resolveModulePageEnhancement, } from './modulePageEnhancements';
7
6
  export { provideModulePageNavigation, useModulePageNavigation } from './modulePageNavigation';
7
+ export { NAVIGATOR_ENTRY_MODULE_ALIAS_QUERY_KEY, NAVIGATOR_ENTRY_RECORD_ID_QUERY_KEY, } from './navigatorEntrySelection';
8
8
  export { createModulePageListRefreshRegistry, modulePageListRefreshRegistry, refreshModulePageList, } from './modulePageListRefresh';
9
9
  export type { ModulePageListRefreshRegistry } from './modulePageListRefresh';
10
- export type { ModuleListEnhancement, ModulePageListRowExpansion, ModulePageListRowExpansionContext, ModuleDetailEnhancement, ModulePageFormEnhancement, ModulePageFormContribution, ModulePageFormContributionContext, ModulePageFormContributionState, ModulePageFormFieldPolicy, ModulePageFormContributionLocation, ModulePageFormContributionValidity, ModulePageFormSurface, ModuleCardEnhancement, ModulePageActionContext, ModulePageActionContribution, ModulePageActionStateContext, ModulePageBatchActionContext, ModulePageBatchActionContribution, ModulePageColumnContribution, ModulePageDetailDrawer, ModulePageDetailSection, ModulePageDetailSectionContext, ModulePageDrawer, ModulePageDrawerContext, ModulePageRecordViewContext, ModulePageEnhancement, ModulePageEnhancementActivationContext, ModulePageEnhancementRegistry, ModulePageEnhancementTarget, ModulePageCardAssistant, ModulePageCardAssistantContext, ModulePageCardAssistantPlacement, ModulePageRecordActionContext, ModulePageRecordActionContribution, ModulePageScopeContext, ModulePageWorkspaceView, ModulePageWorkspaceViewInput, } from './modulePageEnhancements';
10
+ export type { ModuleListEnhancement, ModulePageListRowExpansion, ModulePageListRowExpansionContext, ModuleDetailEnhancement, ModulePageFormEnhancement, ModulePageFormContribution, ModulePageFormContributionContext, ModulePageFormContributionState, ModulePageFormFieldPolicy, ModulePageFormContributionLocation, ModulePageFormContributionValidity, ModulePageFormSurface, ModuleCardEnhancement, ModulePageActionContext, ModulePageActionContribution, ModulePageActionStateContext, ModulePageBatchActionContext, ModulePageBatchActionContribution, ModulePageColumnContribution, ModulePageDetailDrawer, ModulePageDetailSection, ModulePageDetailSectionContext, ModulePageDrawer, ModulePageDrawerContext, ModulePageRecordViewContext, ModulePageEnhancement, ModulePageEnhancementActivationContext, ModulePageEnhancementRegistry, ModulePageEnhancementTarget, ModulePageNavigatorEnhancement, ModulePageNavigatorExtension, ModulePageNavigatorExtensionContext, ModulePageNavigatorSelection, ModulePageLockedNavigatorEntry, ModulePageCardAssistant, ModulePageCardAssistantContext, ModulePageCardAssistantPlacement, ModulePageRecordActionContext, ModulePageRecordActionContribution, ModulePageScopeContext, ModulePageWorkspaceView, ModulePageWorkspaceViewInput, } from './modulePageEnhancements';