@ximatai/muyun-web-app 0.26.10 → 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.
- package/dist/{MetadataOrchestrationView-BhtVwJII.js → MetadataOrchestrationView-F_Bmfn9K.js} +91 -91
- package/dist/{ModuleActionManagementView-DpZS-xAD.js → ModuleActionManagementView-Db_3Twom.js} +36 -36
- package/dist/RoleDetailWorkspaceView-UOm1ejGH.js +1369 -0
- package/dist/index.css +1 -1
- package/dist/index.js +201 -206
- package/dist/{platform-components-oRIsIoxu.js → platform-components-59b4qzUL.js} +2391 -2273
- package/dist/types/consumer/index.d.ts +1 -1
- package/dist/types/dynamic-page-runtime/composables/useModulePageDetailExtensionRuntime.d.ts +3 -1
- package/dist/types/dynamic-page-runtime/composables/useModulePageFormContributionRuntime.d.ts +5 -3
- package/dist/types/dynamic-page-runtime/composables/useNavigatorRuntime.d.ts +26 -26
- package/dist/types/dynamic-page-runtime/index.d.ts +1 -2
- package/dist/types/dynamic-page-runtime/modulePageEnhancements.d.ts +69 -1
- package/dist/types/formula/FormulaRuntime.d.ts +3 -0
- package/dist/types/{views/UserDetailRouteView.vue.d.ts → platform-admin-runtime/role/RoleAccountGrantDrawerSurface.vue.d.ts} +2 -3
- package/dist/types/{dynamic-page-runtime/DynamicModuleHost.vue.d.ts → platform-admin-runtime/role/RoleAuthorizationDrawerSurface.vue.d.ts} +2 -2
- package/dist/types/platform-admin-runtime/role/RoleEmploymentGrantDrawerSurface.vue.d.ts +7 -0
- package/dist/types/platform-admin-runtime/role/RoleEnumTitleCell.vue.d.ts +8 -0
- package/dist/types/platform-admin-runtime/role/RoleGroupMemberFormField.vue.d.ts +7 -0
- package/dist/types/platform-admin-runtime/role/RoleScopeTree.vue.d.ts +7 -0
- package/dist/types/platform-admin-runtime/roleModulePageEnhancement.d.ts +7 -0
- package/dist/types/platform-components/CrudRecordListExplorer.vue.d.ts +1 -1
- package/dist/types/platform-components/DrawerOperationBar.vue.d.ts +4 -2
- package/dist/types/platform-components/RecordDetailDrawer.vue.d.ts +1 -0
- package/dist/types/platform-components/RecordDetailLayout.vue.d.ts +4 -2
- package/dist/types/platform-components/RecordMultiPicker.vue.d.ts +1 -1
- package/dist/types/platform-components/RecordPicker.vue.d.ts +1 -1
- package/dist/types/platform-components/RecordQueryListPanel.vue.d.ts +6 -3
- package/dist/types/platform-components/TreeRecordExplorer.vue.d.ts +1 -1
- package/dist/types/platform-components/index.d.ts +1 -1
- package/dist/types/platform-components/scopedTreeModuleContext.d.ts +2 -2
- package/dist/types/platform-components/staticTreeResourceModuleContext.d.ts +3 -3
- package/dist/types/views/EmployeeEmploymentTable.vue.d.ts +5 -0
- package/dist/types/views/RoleAccountGrantDrawer.vue.d.ts +6 -2
- package/dist/types/views/RoleAuthorizationView.vue.d.ts +7 -0
- package/dist/types/views/RoleEmploymentGrantDrawer.vue.d.ts +5 -1
- package/dist/types/views/roleGrantClient.d.ts +8 -5
- package/dist/types/vue-ui-antdv/components/UiTable.vue.d.ts +1 -0
- package/dist/types/vue-ui-antdv/components/UiTree.vue.d.ts +20 -1
- package/dist/types/vue-ui-antdv/types.d.ts +6 -0
- package/dist/types/web-contracts/index.d.ts +9 -2
- package/dist/types/web-core/module/staticModuleClient.d.ts +4 -4
- package/dist/workspaceViews-BvV8mpML.js +11149 -0
- package/package.json +1 -1
- package/dist/RoleAuthorizationView-8lilhtMB.js +0 -646
- package/dist/RoleDetailWorkspaceView-CFha6JHn.js +0 -26
- package/dist/RoleManagementView-0_KDrzgh.js +0 -1948
- package/dist/types/dynamic-page-runtime/DynamicRecordDetailActions.vue.d.ts +0 -39
- package/dist/types/dynamic-page-runtime/dynamicModuleDetailStateModel.d.ts +0 -5
- package/dist/types/views/UserDetailContent.vue.d.ts +0 -32
- package/dist/types/views/UserManagementListView.vue.d.ts +0 -3
- package/dist/types/views/UserManagementView.vue.d.ts +0 -3
- package/dist/types/views/useUserSessionRows.d.ts +0 -28
- package/dist/types/views/userDetailStateModel.d.ts +0 -9
- package/dist/types/views/userManagementRouteState.d.ts +0 -11
- package/dist/workspaceViews-D-RiJ64o.js +0 -9078
|
@@ -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';
|
package/dist/types/dynamic-page-runtime/composables/useModulePageDetailExtensionRuntime.d.ts
CHANGED
|
@@ -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 {
|
package/dist/types/dynamic-page-runtime/composables/useModulePageFormContributionRuntime.d.ts
CHANGED
|
@@ -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
|
|
15
|
-
*
|
|
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>;
|
|
@@ -37,7 +37,7 @@ export declare function useNavigatorRuntime(context: ModuleContext<QueryListReco
|
|
|
37
37
|
expression: string;
|
|
38
38
|
program?: {
|
|
39
39
|
schemaVersion: number;
|
|
40
|
-
profile: "WEB_UI" | "FORM_COMPUTE";
|
|
40
|
+
profile: "WEB_UI" | "PAGE_TEXT" | "FORM_COMPUTE";
|
|
41
41
|
root: {
|
|
42
42
|
kind: "VALUE" | "FIELD" | "OTHERS" | "UNARY" | "BINARY" | "FUNCTION" | "ASSIGN";
|
|
43
43
|
operator?: string | undefined;
|
|
@@ -56,7 +56,7 @@ export declare function useNavigatorRuntime(context: ModuleContext<QueryListReco
|
|
|
56
56
|
expression: string;
|
|
57
57
|
program?: {
|
|
58
58
|
schemaVersion: number;
|
|
59
|
-
profile: "WEB_UI" | "FORM_COMPUTE";
|
|
59
|
+
profile: "WEB_UI" | "PAGE_TEXT" | "FORM_COMPUTE";
|
|
60
60
|
root: {
|
|
61
61
|
kind: "VALUE" | "FIELD" | "OTHERS" | "UNARY" | "BINARY" | "FUNCTION" | "ASSIGN";
|
|
62
62
|
operator?: string | undefined;
|
|
@@ -75,7 +75,7 @@ export declare function useNavigatorRuntime(context: ModuleContext<QueryListReco
|
|
|
75
75
|
expression: string;
|
|
76
76
|
program?: {
|
|
77
77
|
schemaVersion: number;
|
|
78
|
-
profile: "WEB_UI" | "FORM_COMPUTE";
|
|
78
|
+
profile: "WEB_UI" | "PAGE_TEXT" | "FORM_COMPUTE";
|
|
79
79
|
root: {
|
|
80
80
|
kind: "VALUE" | "FIELD" | "OTHERS" | "UNARY" | "BINARY" | "FUNCTION" | "ASSIGN";
|
|
81
81
|
operator?: string | undefined;
|
|
@@ -181,7 +181,7 @@ export declare function useNavigatorRuntime(context: ModuleContext<QueryListReco
|
|
|
181
181
|
expression: string;
|
|
182
182
|
program?: {
|
|
183
183
|
schemaVersion: number;
|
|
184
|
-
profile: "WEB_UI" | "FORM_COMPUTE";
|
|
184
|
+
profile: "WEB_UI" | "PAGE_TEXT" | "FORM_COMPUTE";
|
|
185
185
|
root: {
|
|
186
186
|
kind: "VALUE" | "FIELD" | "OTHERS" | "UNARY" | "BINARY" | "FUNCTION" | "ASSIGN";
|
|
187
187
|
operator?: string | undefined;
|
|
@@ -200,7 +200,7 @@ export declare function useNavigatorRuntime(context: ModuleContext<QueryListReco
|
|
|
200
200
|
expression: string;
|
|
201
201
|
program?: {
|
|
202
202
|
schemaVersion: number;
|
|
203
|
-
profile: "WEB_UI" | "FORM_COMPUTE";
|
|
203
|
+
profile: "WEB_UI" | "PAGE_TEXT" | "FORM_COMPUTE";
|
|
204
204
|
root: {
|
|
205
205
|
kind: "VALUE" | "FIELD" | "OTHERS" | "UNARY" | "BINARY" | "FUNCTION" | "ASSIGN";
|
|
206
206
|
operator?: string | undefined;
|
|
@@ -219,7 +219,7 @@ export declare function useNavigatorRuntime(context: ModuleContext<QueryListReco
|
|
|
219
219
|
expression: string;
|
|
220
220
|
program?: {
|
|
221
221
|
schemaVersion: number;
|
|
222
|
-
profile: "WEB_UI" | "FORM_COMPUTE";
|
|
222
|
+
profile: "WEB_UI" | "PAGE_TEXT" | "FORM_COMPUTE";
|
|
223
223
|
root: {
|
|
224
224
|
kind: "VALUE" | "FIELD" | "OTHERS" | "UNARY" | "BINARY" | "FUNCTION" | "ASSIGN";
|
|
225
225
|
operator?: string | undefined;
|
|
@@ -331,7 +331,7 @@ export declare function useNavigatorRuntime(context: ModuleContext<QueryListReco
|
|
|
331
331
|
expression: string;
|
|
332
332
|
program?: {
|
|
333
333
|
schemaVersion: number;
|
|
334
|
-
profile: "WEB_UI" | "FORM_COMPUTE";
|
|
334
|
+
profile: "WEB_UI" | "PAGE_TEXT" | "FORM_COMPUTE";
|
|
335
335
|
root: {
|
|
336
336
|
kind: "VALUE" | "FIELD" | "OTHERS" | "UNARY" | "BINARY" | "FUNCTION" | "ASSIGN";
|
|
337
337
|
operator?: string | undefined;
|
|
@@ -350,7 +350,7 @@ export declare function useNavigatorRuntime(context: ModuleContext<QueryListReco
|
|
|
350
350
|
expression: string;
|
|
351
351
|
program?: {
|
|
352
352
|
schemaVersion: number;
|
|
353
|
-
profile: "WEB_UI" | "FORM_COMPUTE";
|
|
353
|
+
profile: "WEB_UI" | "PAGE_TEXT" | "FORM_COMPUTE";
|
|
354
354
|
root: {
|
|
355
355
|
kind: "VALUE" | "FIELD" | "OTHERS" | "UNARY" | "BINARY" | "FUNCTION" | "ASSIGN";
|
|
356
356
|
operator?: string | undefined;
|
|
@@ -369,7 +369,7 @@ export declare function useNavigatorRuntime(context: ModuleContext<QueryListReco
|
|
|
369
369
|
expression: string;
|
|
370
370
|
program?: {
|
|
371
371
|
schemaVersion: number;
|
|
372
|
-
profile: "WEB_UI" | "FORM_COMPUTE";
|
|
372
|
+
profile: "WEB_UI" | "PAGE_TEXT" | "FORM_COMPUTE";
|
|
373
373
|
root: {
|
|
374
374
|
kind: "VALUE" | "FIELD" | "OTHERS" | "UNARY" | "BINARY" | "FUNCTION" | "ASSIGN";
|
|
375
375
|
operator?: string | undefined;
|
|
@@ -475,7 +475,7 @@ export declare function useNavigatorRuntime(context: ModuleContext<QueryListReco
|
|
|
475
475
|
expression: string;
|
|
476
476
|
program?: {
|
|
477
477
|
schemaVersion: number;
|
|
478
|
-
profile: "WEB_UI" | "FORM_COMPUTE";
|
|
478
|
+
profile: "WEB_UI" | "PAGE_TEXT" | "FORM_COMPUTE";
|
|
479
479
|
root: {
|
|
480
480
|
kind: "VALUE" | "FIELD" | "OTHERS" | "UNARY" | "BINARY" | "FUNCTION" | "ASSIGN";
|
|
481
481
|
operator?: string | undefined;
|
|
@@ -494,7 +494,7 @@ export declare function useNavigatorRuntime(context: ModuleContext<QueryListReco
|
|
|
494
494
|
expression: string;
|
|
495
495
|
program?: {
|
|
496
496
|
schemaVersion: number;
|
|
497
|
-
profile: "WEB_UI" | "FORM_COMPUTE";
|
|
497
|
+
profile: "WEB_UI" | "PAGE_TEXT" | "FORM_COMPUTE";
|
|
498
498
|
root: {
|
|
499
499
|
kind: "VALUE" | "FIELD" | "OTHERS" | "UNARY" | "BINARY" | "FUNCTION" | "ASSIGN";
|
|
500
500
|
operator?: string | undefined;
|
|
@@ -513,7 +513,7 @@ export declare function useNavigatorRuntime(context: ModuleContext<QueryListReco
|
|
|
513
513
|
expression: string;
|
|
514
514
|
program?: {
|
|
515
515
|
schemaVersion: number;
|
|
516
|
-
profile: "WEB_UI" | "FORM_COMPUTE";
|
|
516
|
+
profile: "WEB_UI" | "PAGE_TEXT" | "FORM_COMPUTE";
|
|
517
517
|
root: {
|
|
518
518
|
kind: "VALUE" | "FIELD" | "OTHERS" | "UNARY" | "BINARY" | "FUNCTION" | "ASSIGN";
|
|
519
519
|
operator?: string | undefined;
|
|
@@ -626,7 +626,7 @@ export declare function useNavigatorRuntime(context: ModuleContext<QueryListReco
|
|
|
626
626
|
expression: string;
|
|
627
627
|
program?: {
|
|
628
628
|
schemaVersion: number;
|
|
629
|
-
profile: "WEB_UI" | "FORM_COMPUTE";
|
|
629
|
+
profile: "WEB_UI" | "PAGE_TEXT" | "FORM_COMPUTE";
|
|
630
630
|
root: {
|
|
631
631
|
kind: "VALUE" | "FIELD" | "OTHERS" | "UNARY" | "BINARY" | "FUNCTION" | "ASSIGN";
|
|
632
632
|
operator?: string | undefined;
|
|
@@ -645,7 +645,7 @@ export declare function useNavigatorRuntime(context: ModuleContext<QueryListReco
|
|
|
645
645
|
expression: string;
|
|
646
646
|
program?: {
|
|
647
647
|
schemaVersion: number;
|
|
648
|
-
profile: "WEB_UI" | "FORM_COMPUTE";
|
|
648
|
+
profile: "WEB_UI" | "PAGE_TEXT" | "FORM_COMPUTE";
|
|
649
649
|
root: {
|
|
650
650
|
kind: "VALUE" | "FIELD" | "OTHERS" | "UNARY" | "BINARY" | "FUNCTION" | "ASSIGN";
|
|
651
651
|
operator?: string | undefined;
|
|
@@ -664,7 +664,7 @@ export declare function useNavigatorRuntime(context: ModuleContext<QueryListReco
|
|
|
664
664
|
expression: string;
|
|
665
665
|
program?: {
|
|
666
666
|
schemaVersion: number;
|
|
667
|
-
profile: "WEB_UI" | "FORM_COMPUTE";
|
|
667
|
+
profile: "WEB_UI" | "PAGE_TEXT" | "FORM_COMPUTE";
|
|
668
668
|
root: {
|
|
669
669
|
kind: "VALUE" | "FIELD" | "OTHERS" | "UNARY" | "BINARY" | "FUNCTION" | "ASSIGN";
|
|
670
670
|
operator?: string | undefined;
|
|
@@ -770,7 +770,7 @@ export declare function useNavigatorRuntime(context: ModuleContext<QueryListReco
|
|
|
770
770
|
expression: string;
|
|
771
771
|
program?: {
|
|
772
772
|
schemaVersion: number;
|
|
773
|
-
profile: "WEB_UI" | "FORM_COMPUTE";
|
|
773
|
+
profile: "WEB_UI" | "PAGE_TEXT" | "FORM_COMPUTE";
|
|
774
774
|
root: {
|
|
775
775
|
kind: "VALUE" | "FIELD" | "OTHERS" | "UNARY" | "BINARY" | "FUNCTION" | "ASSIGN";
|
|
776
776
|
operator?: string | undefined;
|
|
@@ -789,7 +789,7 @@ export declare function useNavigatorRuntime(context: ModuleContext<QueryListReco
|
|
|
789
789
|
expression: string;
|
|
790
790
|
program?: {
|
|
791
791
|
schemaVersion: number;
|
|
792
|
-
profile: "WEB_UI" | "FORM_COMPUTE";
|
|
792
|
+
profile: "WEB_UI" | "PAGE_TEXT" | "FORM_COMPUTE";
|
|
793
793
|
root: {
|
|
794
794
|
kind: "VALUE" | "FIELD" | "OTHERS" | "UNARY" | "BINARY" | "FUNCTION" | "ASSIGN";
|
|
795
795
|
operator?: string | undefined;
|
|
@@ -808,7 +808,7 @@ export declare function useNavigatorRuntime(context: ModuleContext<QueryListReco
|
|
|
808
808
|
expression: string;
|
|
809
809
|
program?: {
|
|
810
810
|
schemaVersion: number;
|
|
811
|
-
profile: "WEB_UI" | "FORM_COMPUTE";
|
|
811
|
+
profile: "WEB_UI" | "PAGE_TEXT" | "FORM_COMPUTE";
|
|
812
812
|
root: {
|
|
813
813
|
kind: "VALUE" | "FIELD" | "OTHERS" | "UNARY" | "BINARY" | "FUNCTION" | "ASSIGN";
|
|
814
814
|
operator?: string | undefined;
|
|
@@ -920,7 +920,7 @@ export declare function useNavigatorRuntime(context: ModuleContext<QueryListReco
|
|
|
920
920
|
expression: string;
|
|
921
921
|
program?: {
|
|
922
922
|
schemaVersion: number;
|
|
923
|
-
profile: "WEB_UI" | "FORM_COMPUTE";
|
|
923
|
+
profile: "WEB_UI" | "PAGE_TEXT" | "FORM_COMPUTE";
|
|
924
924
|
root: {
|
|
925
925
|
kind: "VALUE" | "FIELD" | "OTHERS" | "UNARY" | "BINARY" | "FUNCTION" | "ASSIGN";
|
|
926
926
|
operator?: string | undefined;
|
|
@@ -939,7 +939,7 @@ export declare function useNavigatorRuntime(context: ModuleContext<QueryListReco
|
|
|
939
939
|
expression: string;
|
|
940
940
|
program?: {
|
|
941
941
|
schemaVersion: number;
|
|
942
|
-
profile: "WEB_UI" | "FORM_COMPUTE";
|
|
942
|
+
profile: "WEB_UI" | "PAGE_TEXT" | "FORM_COMPUTE";
|
|
943
943
|
root: {
|
|
944
944
|
kind: "VALUE" | "FIELD" | "OTHERS" | "UNARY" | "BINARY" | "FUNCTION" | "ASSIGN";
|
|
945
945
|
operator?: string | undefined;
|
|
@@ -958,7 +958,7 @@ export declare function useNavigatorRuntime(context: ModuleContext<QueryListReco
|
|
|
958
958
|
expression: string;
|
|
959
959
|
program?: {
|
|
960
960
|
schemaVersion: number;
|
|
961
|
-
profile: "WEB_UI" | "FORM_COMPUTE";
|
|
961
|
+
profile: "WEB_UI" | "PAGE_TEXT" | "FORM_COMPUTE";
|
|
962
962
|
root: {
|
|
963
963
|
kind: "VALUE" | "FIELD" | "OTHERS" | "UNARY" | "BINARY" | "FUNCTION" | "ASSIGN";
|
|
964
964
|
operator?: string | undefined;
|
|
@@ -1064,7 +1064,7 @@ export declare function useNavigatorRuntime(context: ModuleContext<QueryListReco
|
|
|
1064
1064
|
expression: string;
|
|
1065
1065
|
program?: {
|
|
1066
1066
|
schemaVersion: number;
|
|
1067
|
-
profile: "WEB_UI" | "FORM_COMPUTE";
|
|
1067
|
+
profile: "WEB_UI" | "PAGE_TEXT" | "FORM_COMPUTE";
|
|
1068
1068
|
root: {
|
|
1069
1069
|
kind: "VALUE" | "FIELD" | "OTHERS" | "UNARY" | "BINARY" | "FUNCTION" | "ASSIGN";
|
|
1070
1070
|
operator?: string | undefined;
|
|
@@ -1083,7 +1083,7 @@ export declare function useNavigatorRuntime(context: ModuleContext<QueryListReco
|
|
|
1083
1083
|
expression: string;
|
|
1084
1084
|
program?: {
|
|
1085
1085
|
schemaVersion: number;
|
|
1086
|
-
profile: "WEB_UI" | "FORM_COMPUTE";
|
|
1086
|
+
profile: "WEB_UI" | "PAGE_TEXT" | "FORM_COMPUTE";
|
|
1087
1087
|
root: {
|
|
1088
1088
|
kind: "VALUE" | "FIELD" | "OTHERS" | "UNARY" | "BINARY" | "FUNCTION" | "ASSIGN";
|
|
1089
1089
|
operator?: string | undefined;
|
|
@@ -1102,7 +1102,7 @@ export declare function useNavigatorRuntime(context: ModuleContext<QueryListReco
|
|
|
1102
1102
|
expression: string;
|
|
1103
1103
|
program?: {
|
|
1104
1104
|
schemaVersion: number;
|
|
1105
|
-
profile: "WEB_UI" | "FORM_COMPUTE";
|
|
1105
|
+
profile: "WEB_UI" | "PAGE_TEXT" | "FORM_COMPUTE";
|
|
1106
1106
|
root: {
|
|
1107
1107
|
kind: "VALUE" | "FIELD" | "OTHERS" | "UNARY" | "BINARY" | "FUNCTION" | "ASSIGN";
|
|
1108
1108
|
operator?: string | undefined;
|
|
@@ -1348,7 +1348,7 @@ export declare function useNavigatorRuntime(context: ModuleContext<QueryListReco
|
|
|
1348
1348
|
tree: boolean;
|
|
1349
1349
|
}[]>;
|
|
1350
1350
|
pageContextBindings: Ref<{
|
|
1351
|
-
source: "SESSION" | "NAVIGATOR";
|
|
1351
|
+
source: "SESSION" | "NAVIGATOR" | "RESOLVED_SELECTION";
|
|
1352
1352
|
sourceKey: string;
|
|
1353
1353
|
target: "LIST_QUERY" | "NAVIGATOR_QUERY" | "FORM_DEFAULT" | "PICKER_QUERY" | "MUTATION_CONSTRAINT";
|
|
1354
1354
|
targetKey: string;
|
|
@@ -1356,7 +1356,7 @@ export declare function useNavigatorRuntime(context: ModuleContext<QueryListReco
|
|
|
1356
1356
|
targetPickerFieldKey?: string | undefined;
|
|
1357
1357
|
navigatorListQueryMode?: "REQUIRED_SCOPE" | "OPTIONAL_FILTER" | undefined;
|
|
1358
1358
|
}[], ResolvedPageContextBindingDescriptor[] | {
|
|
1359
|
-
source: "SESSION" | "NAVIGATOR";
|
|
1359
|
+
source: "SESSION" | "NAVIGATOR" | "RESOLVED_SELECTION";
|
|
1360
1360
|
sourceKey: string;
|
|
1361
1361
|
target: "LIST_QUERY" | "NAVIGATOR_QUERY" | "FORM_DEFAULT" | "PICKER_QUERY" | "MUTATION_CONSTRAINT";
|
|
1362
1362
|
targetKey: string;
|
|
@@ -1,5 +1,4 @@
|
|
|
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';
|
|
@@ -8,4 +7,4 @@ export { provideModulePageNavigation, useModulePageNavigation } from './modulePa
|
|
|
8
7
|
export { NAVIGATOR_ENTRY_MODULE_ALIAS_QUERY_KEY, NAVIGATOR_ENTRY_RECORD_ID_QUERY_KEY, } from './navigatorEntrySelection';
|
|
9
8
|
export { createModulePageListRefreshRegistry, modulePageListRefreshRegistry, refreshModulePageList, } from './modulePageListRefresh';
|
|
10
9
|
export type { ModulePageListRefreshRegistry } from './modulePageListRefresh';
|
|
11
|
-
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, ModulePageLockedNavigatorEntry, 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';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { Component } from 'vue';
|
|
2
|
-
import type { CurrentUser, PageDescriptor, PageLayoutMode, RouteQueryValue, WebQueryCondition } from '../web-contracts/index';
|
|
2
|
+
import type { CurrentUser, PageDescriptor, PageLayoutMode, RouteQueryValue, WebPageResponse, WebQueryCondition, WebQueryRequest } from '../web-contracts/index';
|
|
3
3
|
import type { ModuleContext } from '../web-core/index';
|
|
4
4
|
import type { RecordActionItem, RecordFormFieldState, RecordFormFieldValue, RecordQueryListColumn, QueryListRecord } from '../platform-components/index';
|
|
5
5
|
import type { DrawerTitleAction } from '../platform-components/index';
|
|
@@ -20,6 +20,13 @@ export interface ModulePageEnhancement {
|
|
|
20
20
|
*/
|
|
21
21
|
activate?(context: ModulePageEnhancementActivationContext): void | (() => void);
|
|
22
22
|
list?: ModuleListEnhancement;
|
|
23
|
+
/**
|
|
24
|
+
* Business record actions shown by default in both the list-row "more"
|
|
25
|
+
* menu and the standard detail drawer operation area. Use the surface-local
|
|
26
|
+
* `list.rowActions` or `detail.actions` only when an action is intentionally
|
|
27
|
+
* limited to one presentation.
|
|
28
|
+
*/
|
|
29
|
+
recordActions?: ModulePageRecordActionContribution[];
|
|
23
30
|
detail?: ModuleDetailEnhancement;
|
|
24
31
|
/**
|
|
25
32
|
* Frontend-owned editor content mounted at a typed standard-form boundary.
|
|
@@ -48,6 +55,15 @@ export interface ModulePageStandardActionsEnhancement {
|
|
|
48
55
|
export interface ModulePageNavigatorEnhancement {
|
|
49
56
|
/** Hides descriptor navigators when this entry is not navigated by their business scope. */
|
|
50
57
|
hidden?: boolean;
|
|
58
|
+
/**
|
|
59
|
+
* One application-owned navigator surface mounted beside descriptor navigators.
|
|
60
|
+
*
|
|
61
|
+
* This is intentionally a single region: the page runner retains layout,
|
|
62
|
+
* record querying and mutation ownership. An extension may render an
|
|
63
|
+
* authorized business range selector, but it cannot replace the standard
|
|
64
|
+
* list or declare executable page context.
|
|
65
|
+
*/
|
|
66
|
+
extension?: ModulePageNavigatorExtension;
|
|
51
67
|
/** Declares one navigator as an entry-owned, immutable page context. */
|
|
52
68
|
lockedEntry?: ModulePageLockedNavigatorEntry;
|
|
53
69
|
/** Allows the standard list to load without navigator-derived list criteria. */
|
|
@@ -58,6 +74,47 @@ export interface ModulePageNavigatorEnhancement {
|
|
|
58
74
|
*/
|
|
59
75
|
emptyListScope?(context: ModulePageEmptyNavigatorScopeContext): readonly WebQueryCondition[] | undefined;
|
|
60
76
|
}
|
|
77
|
+
export interface ModulePageNavigatorExtension {
|
|
78
|
+
key: string;
|
|
79
|
+
/** Frontend-owned component; backend descriptors never select a component. */
|
|
80
|
+
component: Component;
|
|
81
|
+
/**
|
|
82
|
+
* Optional opaque selection channel owned by the standard page host.
|
|
83
|
+
*
|
|
84
|
+
* A navigator extension may select only a declared `key`; the host serializes
|
|
85
|
+
* the `{ kind, key }` pair into its controlled request header. Extensions
|
|
86
|
+
* never receive a mutable query map or mutation payload.
|
|
87
|
+
*/
|
|
88
|
+
selection?: ModulePageNavigatorSelection;
|
|
89
|
+
}
|
|
90
|
+
export interface ModulePageNavigatorSelection {
|
|
91
|
+
/** Server-registered resolver kind, not a business field name. */
|
|
92
|
+
kind: string;
|
|
93
|
+
/** Resolves the first trusted selection before the standard page starts its requests. */
|
|
94
|
+
initialKey?(currentUser?: CurrentUser): string | undefined;
|
|
95
|
+
/** Presentation-only copy for the initial trusted selection. It is never sent to the server. */
|
|
96
|
+
initialPresentation?(currentUser?: CurrentUser): ModulePageSelectionPresentation | undefined;
|
|
97
|
+
}
|
|
98
|
+
/** The only display facts a navigator extension may contribute to PAGE_TEXT. */
|
|
99
|
+
export interface ModulePageSelectionPresentation {
|
|
100
|
+
label: string;
|
|
101
|
+
secondaryLabel?: string;
|
|
102
|
+
}
|
|
103
|
+
/** Deliberately small host context for one navigator extension surface. */
|
|
104
|
+
export interface ModulePageNavigatorExtensionContext {
|
|
105
|
+
moduleAlias: string;
|
|
106
|
+
/** Current opaque selection key, if this extension declared a selection channel. */
|
|
107
|
+
selectionKey?: string;
|
|
108
|
+
/**
|
|
109
|
+
* Replaces the extension's opaque selection key and reloads the standard
|
|
110
|
+
* list. The host owns header serialization and every CRUD request.
|
|
111
|
+
*/
|
|
112
|
+
selectSelectionKey(key: string, presentation?: ModulePageSelectionPresentation): void;
|
|
113
|
+
/** Reloads only the standard list while retaining the platform-owned query state. */
|
|
114
|
+
refreshList(): void;
|
|
115
|
+
/** Reloads the page's standard record surfaces. */
|
|
116
|
+
reload(): void;
|
|
117
|
+
}
|
|
61
118
|
export interface ModulePageLockedNavigatorEntry {
|
|
62
119
|
/** Descriptor navigator key whose selection is supplied by the page address. */
|
|
63
120
|
navigatorKey: string;
|
|
@@ -148,6 +205,8 @@ export interface ModulePageFormContributionContext {
|
|
|
148
205
|
fields: readonly Readonly<RecordFormFieldState>[];
|
|
149
206
|
/** The field at a field-boundary location, otherwise undefined. */
|
|
150
207
|
field?: Readonly<RecordFormFieldState>;
|
|
208
|
+
/** Read-only query through the host-owned module context and page scope. */
|
|
209
|
+
queryRecords(request?: WebQueryRequest): Promise<WebPageResponse<QueryListRecord>>;
|
|
151
210
|
setField(fieldName: string, value: RecordFormFieldValue): void;
|
|
152
211
|
formSessionKey: number;
|
|
153
212
|
/** Reports only this contribution's validation fact to the standard save boundary. */
|
|
@@ -278,6 +337,11 @@ export interface ModulePageDrawer {
|
|
|
278
337
|
}
|
|
279
338
|
/** A business-owned action rendered by the platform in a semantic drawer region. */
|
|
280
339
|
export type ModulePageDrawerAction = DrawerTitleAction;
|
|
340
|
+
/** Facts rendered by the platform-owned fixed operation region of an action drawer. */
|
|
341
|
+
export interface ModulePageDrawerOperation {
|
|
342
|
+
summary?: string;
|
|
343
|
+
actions: ModulePageDrawerAction[];
|
|
344
|
+
}
|
|
281
345
|
/** Matches the Workbench input boundary; `parse` remains responsible for route-value validation. */
|
|
282
346
|
export type ModulePageWorkspaceViewInput = object;
|
|
283
347
|
/** A business-owned view with stable, serializable identity. */
|
|
@@ -306,6 +370,10 @@ export interface ModulePageDrawerContext {
|
|
|
306
370
|
reload(): void;
|
|
307
371
|
/** Replaces contextual actions beside the drawer title; actions are cleared with the drawer. */
|
|
308
372
|
setTitleActions(actions: ModulePageDrawerAction[]): void;
|
|
373
|
+
/** Replaces the fixed operation-region facts; the host owns their position and responsive layout. */
|
|
374
|
+
setOperation(operation?: ModulePageDrawerOperation): void;
|
|
375
|
+
/** Replaces the presentation-only subtitle below the platform-owned drawer title. */
|
|
376
|
+
setSubtitle(subtitle?: string): void;
|
|
309
377
|
}
|
|
310
378
|
/**
|
|
311
379
|
* Context for a custom body inside the platform-owned record-view shell.
|
|
@@ -12,6 +12,8 @@ export interface FormulaComputeResult {
|
|
|
12
12
|
*/
|
|
13
13
|
export declare class FormulaRuntime {
|
|
14
14
|
evaluateWebUi(program: FormulaProgram | undefined, record: FormulaRecord): boolean;
|
|
15
|
+
/** Evaluates a server-issued PAGE_TEXT program against a host-whitelisted display context. */
|
|
16
|
+
evaluatePageText(program: FormulaProgram | undefined, context: FormulaRecord): string | undefined;
|
|
15
17
|
/**
|
|
16
18
|
* Evaluates one server-issued FORM_COMPUTE assignment against a draft without mutating it.
|
|
17
19
|
* Applying the returned patch, ordering rules, and user-value ownership remain form-runtime concerns.
|
|
@@ -22,6 +24,7 @@ export declare class FormulaRuntime {
|
|
|
22
24
|
private evaluateNode;
|
|
23
25
|
private toBoolean;
|
|
24
26
|
private evaluateComputeNode;
|
|
27
|
+
private evaluatePageTextNode;
|
|
25
28
|
}
|
|
26
29
|
type FormulaValue = string | number | boolean | null | undefined;
|
|
27
30
|
/** Mirrors FormulaEngine.equalsLoose for the primitive values admitted by the WEB_UI profile. */
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { ModulePageDrawerContext } from '../../dynamic-page-runtime/index';
|
|
2
2
|
type __VLS_Props = {
|
|
3
|
-
|
|
4
|
-
userId?: string;
|
|
3
|
+
context: ModulePageDrawerContext;
|
|
5
4
|
};
|
|
6
5
|
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>;
|
|
7
6
|
declare const _default: typeof __VLS_export;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { ModulePageDrawerContext } from '../../dynamic-page-runtime/index';
|
|
2
2
|
type __VLS_Props = {
|
|
3
|
-
|
|
3
|
+
context: ModulePageDrawerContext;
|
|
4
4
|
};
|
|
5
5
|
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>;
|
|
6
6
|
declare const _default: typeof __VLS_export;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { ModulePageDrawerContext } from '../../dynamic-page-runtime/index';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
context: ModulePageDrawerContext;
|
|
4
|
+
};
|
|
5
|
+
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>;
|
|
6
|
+
declare const _default: typeof __VLS_export;
|
|
7
|
+
export default _default;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { QueryListRecord, RecordQueryListColumn } from '../../platform-components/index';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
record: QueryListRecord;
|
|
4
|
+
column?: RecordQueryListColumn;
|
|
5
|
+
};
|
|
6
|
+
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>;
|
|
7
|
+
declare const _default: typeof __VLS_export;
|
|
8
|
+
export default _default;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { ModulePageFormContributionContext } from '../../dynamic-page-runtime/index';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
context: ModulePageFormContributionContext;
|
|
4
|
+
};
|
|
5
|
+
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>;
|
|
6
|
+
declare const _default: typeof __VLS_export;
|
|
7
|
+
export default _default;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { ModulePageNavigatorExtensionContext } from '../../dynamic-page-runtime/index';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
context: ModulePageNavigatorExtensionContext;
|
|
4
|
+
};
|
|
5
|
+
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>;
|
|
6
|
+
declare const _default: typeof __VLS_export;
|
|
7
|
+
export default _default;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { ModulePageEnhancement } from '../dynamic-page-runtime/index';
|
|
2
|
+
/**
|
|
3
|
+
* IAM contributes only the role-specific surfaces. The descriptor-driven host
|
|
4
|
+
* remains responsible for the list, standard form, CRUD, pagination and all
|
|
5
|
+
* request transport.
|
|
6
|
+
*/
|
|
7
|
+
export declare const roleModulePageEnhancement: ModulePageEnhancement;
|
|
@@ -44,6 +44,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {
|
|
|
44
44
|
}>, {
|
|
45
45
|
mode: CrudRecordListMode;
|
|
46
46
|
filterOption: (record: CrudRecordListBase, normalizedKeyword: string) => boolean;
|
|
47
|
+
reloadKey: number;
|
|
47
48
|
emptyDescription: string;
|
|
48
49
|
navigatorHostModuleAlias: string;
|
|
49
50
|
navigatorTargetLevelKey: string;
|
|
@@ -54,7 +55,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {
|
|
|
54
55
|
actionsOf: (record: CrudRecordListBase) => UiRecordInlineAction[];
|
|
55
56
|
tagOf: (record: CrudRecordListBase) => string | undefined;
|
|
56
57
|
mutedOf: (record: CrudRecordListBase) => boolean;
|
|
57
|
-
reloadKey: number;
|
|
58
58
|
externalQueryValues: Record<string, unknown>;
|
|
59
59
|
loadingTip: string;
|
|
60
60
|
fallbackTitle: string;
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
type __VLS_Props = {
|
|
2
2
|
label?: string;
|
|
3
3
|
};
|
|
4
|
-
declare var __VLS_1: {};
|
|
4
|
+
declare var __VLS_1: {}, __VLS_3: {};
|
|
5
5
|
type __VLS_Slots = {} & {
|
|
6
|
-
|
|
6
|
+
summary?: (props: typeof __VLS_1) => any;
|
|
7
|
+
} & {
|
|
8
|
+
default?: (props: typeof __VLS_3) => any;
|
|
7
9
|
};
|
|
8
10
|
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
9
11
|
label: string;
|
|
@@ -8,7 +8,7 @@ type __VLS_Props = {
|
|
|
8
8
|
/** Internal composition surface selected by the hosting platform component. */
|
|
9
9
|
surface?: 'workspace' | 'drawer';
|
|
10
10
|
};
|
|
11
|
-
declare var __VLS_1: {}, __VLS_3: {}, __VLS_5: {}, __VLS_7: {}, __VLS_9: {}, __VLS_11: {}, __VLS_13: {}, __VLS_15: {}, __VLS_17: {}, __VLS_19: {}, __VLS_21: {},
|
|
11
|
+
declare var __VLS_1: {}, __VLS_3: {}, __VLS_5: {}, __VLS_7: {}, __VLS_9: {}, __VLS_11: {}, __VLS_13: {}, __VLS_15: {}, __VLS_17: {}, __VLS_19: {}, __VLS_21: {}, __VLS_30: {}, __VLS_32: {};
|
|
12
12
|
type __VLS_Slots = {} & {
|
|
13
13
|
header?: (props: typeof __VLS_1) => any;
|
|
14
14
|
} & {
|
|
@@ -32,7 +32,9 @@ type __VLS_Slots = {} & {
|
|
|
32
32
|
} & {
|
|
33
33
|
'content-bottom'?: (props: typeof __VLS_21) => any;
|
|
34
34
|
} & {
|
|
35
|
-
operation?: (props: typeof
|
|
35
|
+
'operation-summary'?: (props: typeof __VLS_30) => any;
|
|
36
|
+
} & {
|
|
37
|
+
operation?: (props: typeof __VLS_32) => any;
|
|
36
38
|
};
|
|
37
39
|
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
38
40
|
subtitle: string;
|
|
@@ -31,8 +31,8 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {
|
|
|
31
31
|
placeholder: string;
|
|
32
32
|
allowClear: boolean;
|
|
33
33
|
filterOption: (record: RecordPickerRecord, keyword: string) => boolean;
|
|
34
|
-
titleOf: (record: RecordPickerRecord) => string;
|
|
35
34
|
reloadKey: number;
|
|
35
|
+
titleOf: (record: RecordPickerRecord) => string;
|
|
36
36
|
loadOptions: (keyword: string) => Promise<RecordPickerRecord[]>;
|
|
37
37
|
loadTree: () => Promise<WebTreeNode<RecordPickerRecord>[]>;
|
|
38
38
|
resolveOptions: (values: string[]) => Promise<RecordPickerRecord[]>;
|
|
@@ -33,8 +33,8 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {
|
|
|
33
33
|
placeholder: string;
|
|
34
34
|
allowClear: boolean;
|
|
35
35
|
filterOption: (record: RecordPickerRecord, keyword: string) => boolean;
|
|
36
|
-
titleOf: (record: RecordPickerRecord) => string;
|
|
37
36
|
reloadKey: number;
|
|
37
|
+
titleOf: (record: RecordPickerRecord) => string;
|
|
38
38
|
loadOptions: (keyword: string) => Promise<RecordPickerRecord[]>;
|
|
39
39
|
loadTree: () => Promise<WebTreeNode<RecordPickerRecord>[]>;
|
|
40
40
|
resolveOptions: (values: string[]) => Promise<RecordPickerRecord[]>;
|
|
@@ -27,6 +27,8 @@ export interface RecordQueryListCellComponent {
|
|
|
27
27
|
type __VLS_Props = {
|
|
28
28
|
context: ModuleContext<QueryListRecord>;
|
|
29
29
|
title: string;
|
|
30
|
+
/** Descriptor-owned secondary copy in the main content header. */
|
|
31
|
+
subtitle?: string;
|
|
30
32
|
columns?: RecordQueryListColumn[];
|
|
31
33
|
/** Columns appended to, or anchored around, the descriptor-owned list fields. */
|
|
32
34
|
additionalColumns?: Array<RecordQueryListColumn & {
|
|
@@ -113,9 +115,9 @@ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {
|
|
|
113
115
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
114
116
|
action: (action: RecordActionItem, event: MouseEvent) => any;
|
|
115
117
|
select: (record: QueryListRecord) => any;
|
|
118
|
+
loaded: (records: QueryListRecord[]) => any;
|
|
116
119
|
rowDblclick: (record: QueryListRecord, event: MouseEvent) => any;
|
|
117
120
|
rowExpand: (record: QueryListRecord, expanded: boolean) => any;
|
|
118
|
-
loaded: (records: QueryListRecord[]) => any;
|
|
119
121
|
restored: () => any;
|
|
120
122
|
batchAction: (action: RecordActionItem, records: QueryListRecord[], event: MouseEvent, clearSelection: () => void) => any;
|
|
121
123
|
rowAction: (action: ResolvedRecordActionItem, record: QueryListRecord, event?: MouseEvent | undefined) => any;
|
|
@@ -124,9 +126,9 @@ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {
|
|
|
124
126
|
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
125
127
|
onAction?: ((action: RecordActionItem, event: MouseEvent) => any) | undefined;
|
|
126
128
|
onSelect?: ((record: QueryListRecord) => any) | undefined;
|
|
129
|
+
onLoaded?: ((records: QueryListRecord[]) => any) | undefined;
|
|
127
130
|
onRowDblclick?: ((record: QueryListRecord, event: MouseEvent) => any) | undefined;
|
|
128
131
|
onRowExpand?: ((record: QueryListRecord, expanded: boolean) => any) | undefined;
|
|
129
|
-
onLoaded?: ((records: QueryListRecord[]) => any) | undefined;
|
|
130
132
|
onRestored?: (() => any) | undefined;
|
|
131
133
|
onBatchAction?: ((action: RecordActionItem, records: QueryListRecord[], event: MouseEvent, clearSelection: () => void) => any) | undefined;
|
|
132
134
|
onRowAction?: ((action: ResolvedRecordActionItem, record: QueryListRecord, event?: MouseEvent | undefined) => any) | undefined;
|
|
@@ -136,7 +138,9 @@ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {
|
|
|
136
138
|
uiConfigId: string;
|
|
137
139
|
mode: RecordQueryListMode;
|
|
138
140
|
actions: RecordActionItem[];
|
|
141
|
+
subtitle: string;
|
|
139
142
|
selectedKey: string;
|
|
143
|
+
reloadKey: number;
|
|
140
144
|
columns: RecordQueryListColumn[];
|
|
141
145
|
rowKey: string;
|
|
142
146
|
expandedRowKeys: string[];
|
|
@@ -145,7 +149,6 @@ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {
|
|
|
145
149
|
pageSize: number;
|
|
146
150
|
pageSizeOptions: number[];
|
|
147
151
|
queryTemplateId: string;
|
|
148
|
-
reloadKey: number;
|
|
149
152
|
externalQueryValues: Record<string, unknown>;
|
|
150
153
|
ready: boolean;
|
|
151
154
|
additionalColumns: Array<RecordQueryListColumn & {
|