@ximatai/muyun-web-app 0.26.27 → 0.26.29
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/{BusinessActivityLogView-Bbe-GbNG.js → BusinessActivityLogView-fzxP3P68.js} +2 -2
- package/dist/BusinessLogListDrawer-C7wb2R6q.js +868 -0
- package/dist/CodeConfigurationView-DXrXp7kg.js +2333 -0
- package/dist/{ConfigurationTranslationView-B3Cr9Wes.js → ConfigurationTranslationView-CNWJhB8C.js} +49 -49
- package/dist/{LoginAuditLogView-DOwkqtVB.js → LoginAuditLogView-D2q4WT8W.js} +2 -2
- package/dist/{ModuleActionManagementView-DNXAhdXk.js → ModuleActionManagementView-Xd8uB3iR.js} +191 -191
- package/dist/{ModuleGovernanceView-g5W2R_Zl.js → ModuleGovernanceView-BFCfy5wB.js} +3403 -3421
- package/dist/{RequestErrorLogView-9GIz2mkQ.js → RequestErrorLogView-C-dZhHvD.js} +2 -2
- package/dist/RoleDetailWorkspaceView-BmtEBE0r.js +1435 -0
- package/dist/{RuntimeLogView-C5i19Z-u.js → RuntimeLogView-BuFuboQh.js} +51 -51
- package/dist/{WorkflowAdministrationView-CnoTudpI.js → WorkflowAdministrationView-Cb6RnlGU.js} +57 -57
- package/dist/WorkflowConfigurationView-VLObweIg.js +2227 -0
- package/dist/{WorkflowWorkbenchView-DbWqspEB.js → WorkflowWorkbenchView-CbZervUv.js} +248 -248
- package/dist/{codeConfiguration-Bno8cWxB.js → codeConfiguration-DbUEhnW7.js} +66 -49
- package/dist/configurationEditorNavigation-DZeBbg3z.js +15 -0
- package/dist/formulaReferences-CKkkdA_R.js +23 -0
- package/dist/index.css +1 -1
- package/dist/index.js +727 -727
- package/dist/{moduleMenuWorkspace-DW13bHG5.js → moduleMenuWorkspace-COanAuqc.js} +237 -248
- package/dist/{platform-components-D3NvMY3T.js → platform-components-5joS6YaR.js} +4677 -4489
- package/dist/{platform-workbench-C4OFiuG5.js → platform-workbench-le7pFe4d.js} +5457 -5296
- package/dist/types/consumer/index.d.ts +2 -1
- package/dist/types/dynamic-page-runtime/ModulePageBusinessSession.d.ts +32 -26
- package/dist/types/dynamic-page-runtime/ModulePageHostRuntime.vue.d.ts +60 -29
- package/dist/types/dynamic-page-runtime/ModuleRecordDetailActions.vue.d.ts +2 -0
- package/dist/types/dynamic-page-runtime/ModuleReferenceRecordDetailBrowser.vue.d.ts +13 -4
- package/dist/types/dynamic-page-runtime/index.d.ts +2 -2
- package/dist/types/dynamic-page-runtime/modulePageActionControls.d.ts +12 -0
- package/dist/types/dynamic-page-runtime/modulePageEnhancements.d.ts +18 -5
- package/dist/types/dynamic-page-runtime/recordFormAssistantCapabilities.d.ts +3 -1
- package/dist/types/dynamic-page-runtime/recordFormDraftAccess.d.ts +2 -0
- package/dist/types/dynamic-page-runtime/useModulePageSession.d.ts +16 -13
- package/dist/types/dynamic-page-runtime/useModuleRecordDataChanges.d.ts +4 -1
- package/dist/types/platform-components/ActionControlHost.vue.d.ts +16 -0
- package/dist/types/platform-components/AdaptiveHeaderActionBar.vue.d.ts +3 -0
- package/dist/types/platform-components/BusinessNotificationPanel.vue.d.ts +2 -0
- package/dist/types/platform-components/ReferenceRecordDetailBrowser.vue.d.ts +10 -0
- package/dist/types/platform-components/actionControl.d.ts +28 -0
- package/dist/types/platform-components/adaptiveHeaderActionLayout.d.ts +4 -2
- package/dist/types/platform-components/index.d.ts +3 -2
- package/dist/types/platform-components/optionFieldOptionCache.d.ts +11 -1
- package/dist/types/platform-components/recordActionBarModel.d.ts +5 -0
- package/dist/types/platform-components/recordFormFieldModel.d.ts +1 -0
- package/dist/types/platform-components/referenceRecordDetailBrowser.d.ts +13 -1
- package/dist/types/platform-components/useWorkflowDesignSession.d.ts +141 -0
- package/dist/types/platform-components/workflowDesignEditing.d.ts +8 -7
- package/dist/types/platform-components/workflowDesignOperations.d.ts +107 -0
- package/dist/types/views/CodeRuleRecoveryPanel.vue.d.ts +20 -0
- package/dist/types/views/businessRuleGovernance.d.ts +1 -2
- package/dist/types/views/codeConfiguration.d.ts +29 -1
- package/dist/types/views/codeConfigurationAssistantSurface.d.ts +17 -0
- package/dist/types/views/codeRuleSaveRecovery.d.ts +12 -0
- package/dist/types/views/useCodeConfigurationAssistant.d.ts +10 -0
- package/dist/types/views/useCodeConfigurationSession.d.ts +16 -0
- package/dist/types/views/useWorkflowConfigurationAssistant.d.ts +16 -0
- package/dist/types/views/useWorkflowConfigurationContext.d.ts +16 -2
- package/dist/types/views/useWorkflowConfigurationSession.d.ts +146 -0
- package/dist/types/views/workflowConfigurationAssistantSurface.d.ts +169 -0
- package/dist/types/views/workflowSaveRecovery.d.ts +11 -0
- package/dist/types/vue-ui-antdv/components/sidePanelHost.d.ts +3 -1
- package/dist/types/vue-ui-antdv/index.d.ts +1 -0
- package/dist/types/web-core/formulaReferences.d.ts +2 -0
- package/dist/types/web-core/workflow.d.ts +11 -1
- package/dist/useWorkflowConfigurationContext-B9GigSF8.js +78 -0
- package/dist/{workspaceViews-D2Uh4KAq.js → workspaceViews-8-LaaGxD.js} +680 -680
- package/package.json +1 -1
- package/dist/BusinessLogListDrawer-BmF-14We.js +0 -868
- package/dist/CodeConfigurationView-DdPfBjoC.js +0 -1667
- package/dist/RoleDetailWorkspaceView-BuqRT0pd.js +0 -1435
- package/dist/WorkflowConfigurationView-Cku-F1Fm.js +0 -980
- package/dist/useWorkflowConfigurationContext-eQKyqe6_.js +0 -66
|
@@ -15,7 +15,8 @@ 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, ModulePageNavigatorEnhancement, ModulePageNavigatorExtension, ModulePageNavigatorExtensionContext, 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, ModulePageActionControlContribution, ModulePageScopeContext, ModulePageWorkspaceView, ModulePageWorkspaceViewInput, } from '../dynamic-page-runtime/modulePageEnhancements';
|
|
19
|
+
export type { ActionControlContext } from '../platform-components/actionControl';
|
|
19
20
|
export { UiButton, UiDropdown, UiIcon, confirmAction, UiDataTable, UiSidePanel, UiTree, UiTreeSelect, UiInput, UiSearchInput, UiDatePicker, UiSwitch, UiTextArea, } from '../vue-ui-antdv/index';
|
|
20
21
|
export type { UiDropdownItem, UiIconName, UiDatePickerMode, UiDatePickerPrecision, } from '../vue-ui-antdv/index';
|
|
21
22
|
export { default as PlatformAdminOutlet } from './PlatformAdminOutlet.vue';
|
|
@@ -299,6 +299,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
299
299
|
interactionRevision: () => number;
|
|
300
300
|
userChanged: () => void;
|
|
301
301
|
};
|
|
302
|
+
optionState: (fieldName: string) => Readonly<import("../platform-components/index").OptionFieldCandidateState>;
|
|
302
303
|
assistantContextRevision: number;
|
|
303
304
|
assistantInteractionRevision: number;
|
|
304
305
|
listQueryController: import("../platform-components/index").RecordQueryListQueryController | undefined;
|
|
@@ -566,20 +567,21 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
566
567
|
visible?: boolean;
|
|
567
568
|
key: string;
|
|
568
569
|
run(context: import("./modulePageEnhancements").ModulePageRecordActionContext): void | Promise<void>;
|
|
569
|
-
actionCode?: string;
|
|
570
|
+
actionCode?: string | undefined;
|
|
570
571
|
title: string;
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
loading?: boolean;
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
572
|
+
danger?: boolean | undefined;
|
|
573
|
+
iconName?: import("../vue-ui-antdv").UiIconName | undefined;
|
|
574
|
+
disabledReason?: string | undefined;
|
|
575
|
+
actionLevel?: "primary" | "standard" | "secondary" | undefined;
|
|
576
|
+
primary?: boolean | undefined;
|
|
577
|
+
loading?: boolean | undefined;
|
|
578
|
+
placement?: "after-primary" | undefined;
|
|
579
|
+
before?: string | undefined;
|
|
580
|
+
after?: string | undefined;
|
|
581
|
+
pinned?: boolean | undefined;
|
|
582
|
+
titleKey?: string | undefined;
|
|
583
|
+
authorizationContext?: import("../web-core").ModuleContext<unknown> | undefined;
|
|
584
|
+
authorizationRecordId?: string | undefined;
|
|
583
585
|
}[];
|
|
584
586
|
pageEnhancement: import("./modulePageEnhancements").ModulePageEnhancement | undefined;
|
|
585
587
|
enhancementBatchActions: import("./modulePageEnhancements").ModulePageBatchActionContribution[];
|
|
@@ -616,6 +618,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
616
618
|
useDrawerDetailSurface: () => void;
|
|
617
619
|
recycleBinDetailActive: boolean;
|
|
618
620
|
enhancementDetailActions: import("./modulePageEnhancements").ModulePageRecordActionContribution[];
|
|
621
|
+
enhancementDetailControls: import("../platform-components/index").RecordActionItem[];
|
|
619
622
|
detailPageActions: import("../platform-components/index").RecordActionItem[];
|
|
620
623
|
placedDetailButtons: import("../platform-components/index").RecordActionItem[];
|
|
621
624
|
placedFormActions: import("../platform-components/index").RecordActionItem[];
|
|
@@ -1096,6 +1099,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1096
1099
|
interactionRevision: () => number;
|
|
1097
1100
|
userChanged: () => void;
|
|
1098
1101
|
};
|
|
1102
|
+
optionState: (fieldName: string) => Readonly<import("../platform-components/index").OptionFieldCandidateState>;
|
|
1099
1103
|
assistantContextRevision: number;
|
|
1100
1104
|
assistantInteractionRevision: number;
|
|
1101
1105
|
listQueryController: import("../platform-components/index").RecordQueryListQueryController | undefined;
|
|
@@ -1363,20 +1367,21 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1363
1367
|
visible?: boolean;
|
|
1364
1368
|
key: string;
|
|
1365
1369
|
run(context: import("./modulePageEnhancements").ModulePageRecordActionContext): void | Promise<void>;
|
|
1366
|
-
actionCode?: string;
|
|
1370
|
+
actionCode?: string | undefined;
|
|
1367
1371
|
title: string;
|
|
1368
|
-
|
|
1369
|
-
|
|
1370
|
-
|
|
1371
|
-
|
|
1372
|
-
|
|
1373
|
-
loading?: boolean;
|
|
1374
|
-
|
|
1375
|
-
|
|
1376
|
-
|
|
1377
|
-
|
|
1378
|
-
|
|
1379
|
-
|
|
1372
|
+
danger?: boolean | undefined;
|
|
1373
|
+
iconName?: import("../vue-ui-antdv").UiIconName | undefined;
|
|
1374
|
+
disabledReason?: string | undefined;
|
|
1375
|
+
actionLevel?: "primary" | "standard" | "secondary" | undefined;
|
|
1376
|
+
primary?: boolean | undefined;
|
|
1377
|
+
loading?: boolean | undefined;
|
|
1378
|
+
placement?: "after-primary" | undefined;
|
|
1379
|
+
before?: string | undefined;
|
|
1380
|
+
after?: string | undefined;
|
|
1381
|
+
pinned?: boolean | undefined;
|
|
1382
|
+
titleKey?: string | undefined;
|
|
1383
|
+
authorizationContext?: import("../web-core").ModuleContext<unknown> | undefined;
|
|
1384
|
+
authorizationRecordId?: string | undefined;
|
|
1380
1385
|
}[];
|
|
1381
1386
|
pageEnhancement: import("./modulePageEnhancements").ModulePageEnhancement | undefined;
|
|
1382
1387
|
enhancementBatchActions: import("./modulePageEnhancements").ModulePageBatchActionContribution[];
|
|
@@ -1413,6 +1418,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1413
1418
|
useDrawerDetailSurface: () => void;
|
|
1414
1419
|
recycleBinDetailActive: boolean;
|
|
1415
1420
|
enhancementDetailActions: import("./modulePageEnhancements").ModulePageRecordActionContribution[];
|
|
1421
|
+
enhancementDetailControls: import("../platform-components/index").RecordActionItem[];
|
|
1416
1422
|
detailPageActions: import("../platform-components/index").RecordActionItem[];
|
|
1417
1423
|
placedDetailButtons: import("../platform-components/index").RecordActionItem[];
|
|
1418
1424
|
placedFormActions: import("../platform-components/index").RecordActionItem[];
|
|
@@ -433,6 +433,7 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
433
433
|
interactionRevision: () => number;
|
|
434
434
|
userChanged: () => void;
|
|
435
435
|
}>;
|
|
436
|
+
optionState: import("vue").WritableComputedRef<(fieldName: string) => Readonly<import("../platform-components/index").OptionFieldCandidateState>, (fieldName: string) => Readonly<import("../platform-components/index").OptionFieldCandidateState>>;
|
|
436
437
|
assistantContextRevision: import("vue").WritableComputedRef<number, number>;
|
|
437
438
|
assistantInteractionRevision: import("vue").WritableComputedRef<number, number>;
|
|
438
439
|
listQueryController: import("vue").WritableComputedRef<import("../platform-components/index").RecordQueryListQueryController | undefined, import("../platform-components/index").RecordQueryListQueryController | undefined>;
|
|
@@ -908,39 +909,41 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
908
909
|
visible?: boolean;
|
|
909
910
|
key: string;
|
|
910
911
|
run(context: import("./modulePageEnhancements.ts").ModulePageRecordActionContext): void | Promise<void>;
|
|
911
|
-
actionCode?: string;
|
|
912
|
+
actionCode?: string | undefined;
|
|
912
913
|
title: string;
|
|
913
|
-
|
|
914
|
-
|
|
915
|
-
|
|
916
|
-
|
|
917
|
-
|
|
918
|
-
loading?: boolean;
|
|
919
|
-
|
|
920
|
-
|
|
921
|
-
|
|
922
|
-
|
|
923
|
-
|
|
924
|
-
|
|
914
|
+
danger?: boolean | undefined;
|
|
915
|
+
iconName?: import("../vue-ui-antdv/index.ts").UiIconName | undefined;
|
|
916
|
+
disabledReason?: string | undefined;
|
|
917
|
+
actionLevel?: "primary" | "standard" | "secondary" | undefined;
|
|
918
|
+
primary?: boolean | undefined;
|
|
919
|
+
loading?: boolean | undefined;
|
|
920
|
+
placement?: "after-primary" | undefined;
|
|
921
|
+
before?: string | undefined;
|
|
922
|
+
after?: string | undefined;
|
|
923
|
+
pinned?: boolean | undefined;
|
|
924
|
+
titleKey?: string | undefined;
|
|
925
|
+
authorizationContext?: import("../web-core/index").ModuleContext<unknown> | undefined;
|
|
926
|
+
authorizationRecordId?: string | undefined;
|
|
925
927
|
}[], (record: QueryListRecord) => {
|
|
926
928
|
disabled?: boolean;
|
|
927
929
|
visible?: boolean;
|
|
928
930
|
key: string;
|
|
929
931
|
run(context: import("./modulePageEnhancements.ts").ModulePageRecordActionContext): void | Promise<void>;
|
|
930
|
-
actionCode?: string;
|
|
932
|
+
actionCode?: string | undefined;
|
|
931
933
|
title: string;
|
|
932
|
-
|
|
933
|
-
|
|
934
|
-
|
|
935
|
-
|
|
936
|
-
|
|
937
|
-
loading?: boolean;
|
|
938
|
-
|
|
939
|
-
|
|
940
|
-
|
|
941
|
-
|
|
942
|
-
|
|
943
|
-
|
|
934
|
+
danger?: boolean | undefined;
|
|
935
|
+
iconName?: import("../vue-ui-antdv/index.ts").UiIconName | undefined;
|
|
936
|
+
disabledReason?: string | undefined;
|
|
937
|
+
actionLevel?: "primary" | "standard" | "secondary" | undefined;
|
|
938
|
+
primary?: boolean | undefined;
|
|
939
|
+
loading?: boolean | undefined;
|
|
940
|
+
placement?: "after-primary" | undefined;
|
|
941
|
+
before?: string | undefined;
|
|
942
|
+
after?: string | undefined;
|
|
943
|
+
pinned?: boolean | undefined;
|
|
944
|
+
titleKey?: string | undefined;
|
|
945
|
+
authorizationContext?: import("../web-core/index").ModuleContext<unknown> | undefined;
|
|
946
|
+
authorizationRecordId?: string | undefined;
|
|
944
947
|
}[]>;
|
|
945
948
|
pageEnhancement: import("vue").WritableComputedRef<import("./modulePageEnhancements.ts").ModulePageEnhancement | undefined, import("./modulePageEnhancements.ts").ModulePageEnhancement | undefined>;
|
|
946
949
|
enhancementBatchActions: import("vue").WritableComputedRef<import("./modulePageEnhancements.ts").ModulePageBatchActionContribution[], import("./modulePageEnhancements.ts").ModulePageBatchActionContribution[]>;
|
|
@@ -986,6 +989,7 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
986
989
|
useDrawerDetailSurface: import("vue").WritableComputedRef<() => void, () => void>;
|
|
987
990
|
recycleBinDetailActive: import("vue").WritableComputedRef<boolean, boolean>;
|
|
988
991
|
enhancementDetailActions: import("vue").WritableComputedRef<import("./modulePageEnhancements.ts").ModulePageRecordActionContribution[], import("./modulePageEnhancements.ts").ModulePageRecordActionContribution[]>;
|
|
992
|
+
enhancementDetailControls: import("vue").WritableComputedRef<RecordActionItem[], RecordActionItem[]>;
|
|
989
993
|
detailPageActions: import("vue").WritableComputedRef<RecordActionItem[], RecordActionItem[]>;
|
|
990
994
|
placedDetailButtons: import("vue").WritableComputedRef<RecordActionItem[], RecordActionItem[]>;
|
|
991
995
|
placedFormActions: import("vue").WritableComputedRef<RecordActionItem[], RecordActionItem[]>;
|
|
@@ -1348,6 +1352,7 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
1348
1352
|
valid: boolean;
|
|
1349
1353
|
}) => void>;
|
|
1350
1354
|
pageLayout: import("vue").WritableComputedRef<import("../web-contracts/index.ts").PageLayoutMode | undefined, import("../web-contracts/index.ts").PageLayoutMode | undefined>;
|
|
1355
|
+
enhancementDrawerNested: import("vue").ComputedRef<boolean>;
|
|
1351
1356
|
businessVisible: import("vue").ComputedRef<boolean>;
|
|
1352
1357
|
dataExchange: import("vue").Ref<import("vue").CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
1353
1358
|
context: import("../web-core/index").ModuleContext<unknown>;
|
|
@@ -3582,6 +3587,7 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
3582
3587
|
detailLoadFailed?: boolean;
|
|
3583
3588
|
recycleBinActive?: boolean;
|
|
3584
3589
|
actions?: import("./modulePageEnhancements.ts").ModulePageRecordActionContribution[];
|
|
3590
|
+
controls?: RecordActionItem[];
|
|
3585
3591
|
configuredActions?: RecordActionItem[];
|
|
3586
3592
|
formActions?: RecordActionItem[];
|
|
3587
3593
|
showStandardViewActions?: boolean;
|
|
@@ -3611,6 +3617,7 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
3611
3617
|
detailLoadFailed?: boolean;
|
|
3612
3618
|
recycleBinActive?: boolean;
|
|
3613
3619
|
actions?: import("./modulePageEnhancements.ts").ModulePageRecordActionContribution[];
|
|
3620
|
+
controls?: RecordActionItem[];
|
|
3614
3621
|
configuredActions?: RecordActionItem[];
|
|
3615
3622
|
formActions?: RecordActionItem[];
|
|
3616
3623
|
showStandardViewActions?: boolean;
|
|
@@ -3631,6 +3638,7 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
3631
3638
|
record: QueryListRecord;
|
|
3632
3639
|
actions: import("./modulePageEnhancements.ts").ModulePageRecordActionContribution[];
|
|
3633
3640
|
saving: boolean;
|
|
3641
|
+
controls: RecordActionItem[];
|
|
3634
3642
|
formPending: boolean;
|
|
3635
3643
|
saveNeedsCheck: boolean;
|
|
3636
3644
|
checkingSave: boolean;
|
|
@@ -3791,16 +3799,25 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
3791
3799
|
scope?: "tab" | "viewport";
|
|
3792
3800
|
}> & Readonly<{
|
|
3793
3801
|
"onRecord-change"?: ((mutation: import("../platform-components/index").ReferenceRecordDetailMutation) => any) | undefined;
|
|
3802
|
+
"onOpen-failed"?: ((result: {
|
|
3803
|
+
status: "rejected";
|
|
3804
|
+
reason: "missing-host" | "invalid-target" | "access-denied" | "busy" | "leave-blocked" | "superseded" | "not-found" | "load-failed";
|
|
3805
|
+
}) => any) | undefined;
|
|
3794
3806
|
"onInteraction-state-change"?: ((state: {
|
|
3795
3807
|
editing: boolean;
|
|
3796
3808
|
busy: boolean;
|
|
3797
3809
|
dirty?: boolean;
|
|
3798
3810
|
}) => any) | undefined;
|
|
3799
3811
|
}>, {
|
|
3800
|
-
|
|
3812
|
+
browser: import("../platform-components/index").ReferenceRecordDetailBrowserState;
|
|
3813
|
+
openRecord: (targetModuleAlias: string, recordId: string) => Promise<import("../platform-components/index").ReferenceRecordOpenResult>;
|
|
3801
3814
|
closeRecord: () => void | Promise<void>;
|
|
3802
3815
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
3803
3816
|
"record-change": (mutation: import("../platform-components/index").ReferenceRecordDetailMutation) => any;
|
|
3817
|
+
"open-failed": (result: {
|
|
3818
|
+
status: "rejected";
|
|
3819
|
+
reason: "missing-host" | "invalid-target" | "access-denied" | "busy" | "leave-blocked" | "superseded" | "not-found" | "load-failed";
|
|
3820
|
+
}) => any;
|
|
3804
3821
|
"interaction-state-change": (state: {
|
|
3805
3822
|
editing: boolean;
|
|
3806
3823
|
busy: boolean;
|
|
@@ -3827,13 +3844,18 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
3827
3844
|
scope?: "tab" | "viewport";
|
|
3828
3845
|
}> & Readonly<{
|
|
3829
3846
|
"onRecord-change"?: ((mutation: import("../platform-components/index").ReferenceRecordDetailMutation) => any) | undefined;
|
|
3847
|
+
"onOpen-failed"?: ((result: {
|
|
3848
|
+
status: "rejected";
|
|
3849
|
+
reason: "missing-host" | "invalid-target" | "access-denied" | "busy" | "leave-blocked" | "superseded" | "not-found" | "load-failed";
|
|
3850
|
+
}) => any) | undefined;
|
|
3830
3851
|
"onInteraction-state-change"?: ((state: {
|
|
3831
3852
|
editing: boolean;
|
|
3832
3853
|
busy: boolean;
|
|
3833
3854
|
dirty?: boolean;
|
|
3834
3855
|
}) => any) | undefined;
|
|
3835
3856
|
}>, {
|
|
3836
|
-
|
|
3857
|
+
browser: import("../platform-components/index").ReferenceRecordDetailBrowserState;
|
|
3858
|
+
openRecord: (targetModuleAlias: string, recordId: string) => Promise<import("../platform-components/index").ReferenceRecordOpenResult>;
|
|
3837
3859
|
closeRecord: () => void | Promise<void>;
|
|
3838
3860
|
}, {}, {}, {}, {
|
|
3839
3861
|
scope: "tab" | "viewport";
|
|
@@ -3853,16 +3875,25 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
3853
3875
|
scope?: "tab" | "viewport";
|
|
3854
3876
|
}> & Readonly<{
|
|
3855
3877
|
"onRecord-change"?: ((mutation: import("../platform-components/index").ReferenceRecordDetailMutation) => any) | undefined;
|
|
3878
|
+
"onOpen-failed"?: ((result: {
|
|
3879
|
+
status: "rejected";
|
|
3880
|
+
reason: "missing-host" | "invalid-target" | "access-denied" | "busy" | "leave-blocked" | "superseded" | "not-found" | "load-failed";
|
|
3881
|
+
}) => any) | undefined;
|
|
3856
3882
|
"onInteraction-state-change"?: ((state: {
|
|
3857
3883
|
editing: boolean;
|
|
3858
3884
|
busy: boolean;
|
|
3859
3885
|
dirty?: boolean;
|
|
3860
3886
|
}) => any) | undefined;
|
|
3861
3887
|
}>, {
|
|
3862
|
-
|
|
3888
|
+
browser: import("../platform-components/index").ReferenceRecordDetailBrowserState;
|
|
3889
|
+
openRecord: (targetModuleAlias: string, recordId: string) => Promise<import("../platform-components/index").ReferenceRecordOpenResult>;
|
|
3863
3890
|
closeRecord: () => void | Promise<void>;
|
|
3864
3891
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
3865
3892
|
"record-change": (mutation: import("../platform-components/index").ReferenceRecordDetailMutation) => any;
|
|
3893
|
+
"open-failed": (result: {
|
|
3894
|
+
status: "rejected";
|
|
3895
|
+
reason: "missing-host" | "invalid-target" | "access-denied" | "busy" | "leave-blocked" | "superseded" | "not-found" | "load-failed";
|
|
3896
|
+
}) => any;
|
|
3866
3897
|
"interaction-state-change": (state: {
|
|
3867
3898
|
editing: boolean;
|
|
3868
3899
|
busy: boolean;
|
|
@@ -15,6 +15,7 @@ type __VLS_Props = {
|
|
|
15
15
|
detailLoadFailed?: boolean;
|
|
16
16
|
recycleBinActive?: boolean;
|
|
17
17
|
actions?: ModulePageRecordActionContribution[];
|
|
18
|
+
controls?: RecordActionItem[];
|
|
18
19
|
/** Server-resolved standard action blocks, intentionally separate from frontend extensions. */
|
|
19
20
|
configuredActions?: RecordActionItem[];
|
|
20
21
|
/** Actions placed in the platform-owned form operation region. */
|
|
@@ -50,6 +51,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {
|
|
|
50
51
|
record: QueryListRecord;
|
|
51
52
|
actions: ModulePageRecordActionContribution[];
|
|
52
53
|
saving: boolean;
|
|
54
|
+
controls: RecordActionItem[];
|
|
53
55
|
formPending: boolean;
|
|
54
56
|
saveNeedsCheck: boolean;
|
|
55
57
|
checkingSave: boolean;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type HttpClient } from '../web-core/index';
|
|
2
|
-
import { type ReferenceRecordDetailBrowserState, type ReferenceRecordDetailMutation } from '../platform-components/index';
|
|
2
|
+
import { type ReferenceRecordDetailBrowserState, type ReferenceRecordDetailMutation, type ReferenceRecordOpenResult } from '../platform-components/index';
|
|
3
3
|
type __VLS_Props = {
|
|
4
4
|
http?: HttpClient;
|
|
5
5
|
browser?: ReferenceRecordDetailBrowserState;
|
|
@@ -7,15 +7,20 @@ type __VLS_Props = {
|
|
|
7
7
|
renderMode?: 'inline' | 'portal';
|
|
8
8
|
scope?: 'tab' | 'viewport';
|
|
9
9
|
};
|
|
10
|
-
declare var
|
|
10
|
+
declare var __VLS_11: {};
|
|
11
11
|
type __VLS_Slots = {} & {
|
|
12
|
-
default?: (props: typeof
|
|
12
|
+
default?: (props: typeof __VLS_11) => any;
|
|
13
13
|
};
|
|
14
14
|
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {
|
|
15
|
-
|
|
15
|
+
browser: ReferenceRecordDetailBrowserState;
|
|
16
|
+
openRecord: (targetModuleAlias: string, recordId: string) => Promise<ReferenceRecordOpenResult>;
|
|
16
17
|
closeRecord: () => void | Promise<void>;
|
|
17
18
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
18
19
|
"record-change": (mutation: ReferenceRecordDetailMutation) => any;
|
|
20
|
+
"open-failed": (result: {
|
|
21
|
+
status: "rejected";
|
|
22
|
+
reason: "missing-host" | "invalid-target" | "access-denied" | "busy" | "leave-blocked" | "superseded" | "not-found" | "load-failed";
|
|
23
|
+
}) => any;
|
|
19
24
|
"interaction-state-change": (state: {
|
|
20
25
|
editing: boolean;
|
|
21
26
|
busy: boolean;
|
|
@@ -23,6 +28,10 @@ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {
|
|
|
23
28
|
}) => any;
|
|
24
29
|
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
25
30
|
"onRecord-change"?: ((mutation: ReferenceRecordDetailMutation) => any) | undefined;
|
|
31
|
+
"onOpen-failed"?: ((result: {
|
|
32
|
+
status: "rejected";
|
|
33
|
+
reason: "missing-host" | "invalid-target" | "access-denied" | "busy" | "leave-blocked" | "superseded" | "not-found" | "load-failed";
|
|
34
|
+
}) => any) | undefined;
|
|
26
35
|
"onInteraction-state-change"?: ((state: {
|
|
27
36
|
editing: boolean;
|
|
28
37
|
busy: boolean;
|
|
@@ -4,10 +4,10 @@ export { default as DynamicModulePage } from './DynamicModulePage.vue';
|
|
|
4
4
|
export { default as DynamicModuleWorkspaceDetailView } from './DynamicModuleWorkspaceDetailView.vue';
|
|
5
5
|
export { default as ModuleReferenceRecordDetailBrowser } from './ModuleReferenceRecordDetailBrowser.vue';
|
|
6
6
|
export { customerDescriptor } from './mockDescriptor';
|
|
7
|
-
export { configureModulePageEnhancementContributions, configureModulePageEnhancements, createModulePageEnhancementRegistry, createReadonlyCardRecordSnapshot, modulePageWorkspaceViews, resolveModulePageEnhancement, } from './modulePageEnhancements';
|
|
7
|
+
export { configureModulePageEnhancementContributions, configureModulePageEnhancements, createModulePageEnhancementRegistry, createReadonlyRecordSnapshot, createReadonlyCardRecordSnapshot, modulePageWorkspaceViews, resolveModulePageEnhancement, } from './modulePageEnhancements';
|
|
8
8
|
export { provideModulePageNavigation, useModulePageNavigation } from './modulePageNavigation';
|
|
9
9
|
export { provideModulePageUnsavedStateHost, useModulePageUnsavedState, type ModulePageUnsavedStateHost, } from './modulePageUnsavedState';
|
|
10
10
|
export { NAVIGATOR_ENTRY_MODULE_ALIAS_QUERY_KEY, NAVIGATOR_ENTRY_RECORD_ID_QUERY_KEY, } from './navigatorEntrySelection';
|
|
11
11
|
export { createModulePageListRefreshRegistry, modulePageListRefreshRegistry, refreshModulePageList, } from './modulePageListRefresh';
|
|
12
12
|
export type { ModulePageListRefreshRegistry } from './modulePageListRefresh';
|
|
13
|
-
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, ModulePageNavigatorTreeParentPolicy, ModulePageNavigatorExtension, ModulePageNavigatorExtensionContext, ModulePageNavigatorSelection, ModulePageLockedNavigatorEntry, ModulePageCardAssistant, ModulePageCardAssistantContext, ModulePageCardAssistantPlacement, ModulePageRecordActionContext, ModulePageRecordActionContribution, ModulePageScopeContext, ModulePageWorkspaceView, ModulePageWorkspaceViewInput, } from './modulePageEnhancements';
|
|
13
|
+
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, ModulePageNavigatorTreeParentPolicy, ModulePageNavigatorExtension, ModulePageNavigatorExtensionContext, ModulePageNavigatorSelection, ModulePageLockedNavigatorEntry, ModulePageCardAssistant, ModulePageCardAssistantContext, ModulePageCardAssistantPlacement, ModulePageRecordActionContext, ModulePageRecordActionContribution, ModulePageActionControlContribution, ModulePageScopeContext, ModulePageWorkspaceView, ModulePageWorkspaceViewInput, } from './modulePageEnhancements';
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { QueryListRecord, RecordActionItem } from '../platform-components/index';
|
|
2
|
+
import { type ModulePageActionControlContribution, type ModulePageActionStateContext } from './modulePageEnhancements';
|
|
3
|
+
/** Shares one control binding path across cards, drawers and workspace details. */
|
|
4
|
+
export declare function resolveModulePageActionControls(options: {
|
|
5
|
+
controls: readonly ModulePageActionControlContribution[];
|
|
6
|
+
record?: QueryListRecord;
|
|
7
|
+
stateContext: ModulePageActionStateContext;
|
|
8
|
+
sessionKey: string | number;
|
|
9
|
+
active: boolean;
|
|
10
|
+
busy: boolean;
|
|
11
|
+
refresh(): void;
|
|
12
|
+
}): RecordActionItem[];
|
|
@@ -177,7 +177,11 @@ export interface ModulePageListRowExpansionContext {
|
|
|
177
177
|
}
|
|
178
178
|
/** Actions appended to the standard record-detail operation area in view mode. */
|
|
179
179
|
export interface ModuleDetailEnhancement {
|
|
180
|
+
/** Semantic width override for the standard detail drawer. */
|
|
181
|
+
width?: DrawerWidth;
|
|
180
182
|
actions?: ModulePageRecordActionContribution[];
|
|
183
|
+
/** Interactive controls available only in the standard record-view operation area. */
|
|
184
|
+
controls?: ModulePageActionControlContribution[];
|
|
181
185
|
sections?: ModulePageDetailSection[];
|
|
182
186
|
}
|
|
183
187
|
/** A controlled addition to the descriptor-owned standard form, not a replacement editor. */
|
|
@@ -291,7 +295,7 @@ export interface ModulePageRecordView {
|
|
|
291
295
|
*/
|
|
292
296
|
authorizationActionCode?: string;
|
|
293
297
|
}
|
|
294
|
-
export interface ModulePageActionContribution extends RecordActionItem {
|
|
298
|
+
export interface ModulePageActionContribution extends Omit<RecordActionItem, 'control'> {
|
|
295
299
|
key: string;
|
|
296
300
|
/** Authorizes this toolbar action against the selected scoped-list record instead of the page module. */
|
|
297
301
|
authorization?: 'scope-record';
|
|
@@ -299,13 +303,20 @@ export interface ModulePageActionContribution extends RecordActionItem {
|
|
|
299
303
|
state?(context: ModulePageActionStateContext): Partial<Pick<RecordActionItem, 'visible' | 'disabled' | 'disabledReason'>> | undefined;
|
|
300
304
|
run(context: ModulePageActionContext): void | Promise<void>;
|
|
301
305
|
}
|
|
302
|
-
export interface ModulePageRecordActionContribution extends RecordActionItem {
|
|
306
|
+
export interface ModulePageRecordActionContribution extends Omit<RecordActionItem, 'control'> {
|
|
303
307
|
key: string;
|
|
304
308
|
/** Resolves record-specific visibility or enabled state. The optional page context identifies authorized auxiliary facts loaded by activate(). */
|
|
305
309
|
state?(record: QueryListRecord, context?: ModulePageActionStateContext): Partial<Pick<RecordActionItem, 'visible' | 'disabled'>> | undefined;
|
|
306
310
|
run(context: ModulePageRecordActionContext): void | Promise<void>;
|
|
307
311
|
}
|
|
308
|
-
|
|
312
|
+
/** Frontend-only control; authorization remains a declared module action fact. */
|
|
313
|
+
export interface ModulePageActionControlContribution extends Omit<RecordActionItem, 'control' | 'before' | 'after' | 'pinned' | 'authorizationContext' | 'authorizationRecordId'> {
|
|
314
|
+
key: string;
|
|
315
|
+
actionCode: string;
|
|
316
|
+
component: Component;
|
|
317
|
+
state?(record: Readonly<QueryListRecord>, context: ModulePageActionStateContext): Partial<Pick<RecordActionItem, 'visible' | 'disabled' | 'disabledReason'>> | undefined;
|
|
318
|
+
}
|
|
319
|
+
export interface ModulePageBatchActionContribution extends Omit<RecordActionItem, 'control'> {
|
|
309
320
|
key: string;
|
|
310
321
|
run(context: ModulePageBatchActionContext): void | Promise<void>;
|
|
311
322
|
}
|
|
@@ -475,5 +486,7 @@ export declare function configureModulePageEnhancementContributions(owner: strin
|
|
|
475
486
|
export declare function configureModulePageEnhancements(enhancements: readonly ModulePageEnhancement[]): void;
|
|
476
487
|
export declare function resolveModulePageEnhancement(moduleAlias: string, viewCode?: string, menuId?: string): ModulePageEnhancement | undefined;
|
|
477
488
|
export declare function modulePageWorkspaceViews(): readonly ModulePageWorkspaceView<ModulePageWorkspaceViewInput>[];
|
|
478
|
-
/** Creates
|
|
479
|
-
export declare function
|
|
489
|
+
/** Creates an isolated, deeply frozen record for frontend extension boundaries. */
|
|
490
|
+
export declare function createReadonlyRecordSnapshot(record: Record<string, unknown>): Readonly<Record<string, unknown>>;
|
|
491
|
+
/** @deprecated Use createReadonlyRecordSnapshot for all record extension surfaces. */
|
|
492
|
+
export declare const createReadonlyCardRecordSnapshot: typeof createReadonlyRecordSnapshot;
|
|
@@ -25,10 +25,12 @@ export declare function recordFormAssistantFacts(view: RecordFormDraftAccess, re
|
|
|
25
25
|
editable: boolean;
|
|
26
26
|
currentValuesTruncated: boolean;
|
|
27
27
|
fields: {
|
|
28
|
+
optionsTruncated?: boolean | undefined;
|
|
28
29
|
options: {
|
|
29
30
|
value: import("../web-contracts").OptionValue;
|
|
30
31
|
label: string;
|
|
31
32
|
}[];
|
|
33
|
+
optionLoadStatus?: "error" | "idle" | "ready" | "loading" | undefined;
|
|
32
34
|
currentValueUnavailable?: boolean | undefined;
|
|
33
35
|
currentValueTruncated?: boolean | undefined;
|
|
34
36
|
currentValue?: string | number | boolean | (string | number | boolean)[] | null | undefined;
|
|
@@ -56,5 +58,5 @@ export declare function recordFormAssistantFacts(view: RecordFormDraftAccess, re
|
|
|
56
58
|
}[];
|
|
57
59
|
};
|
|
58
60
|
export declare function isSensitiveField(field: RecordFormFieldState): boolean;
|
|
59
|
-
export declare function formFieldState(view: Pick<RecordFormDraftAccess, 'formFields' | 'referencePickerConfigs' | 'editingRecord' | 'selectedRecord' | 'editorMode'>, fieldName: string): RecordFormFieldState | undefined;
|
|
61
|
+
export declare function formFieldState(view: Pick<RecordFormDraftAccess, 'formFields' | 'referencePickerConfigs' | 'editingRecord' | 'selectedRecord' | 'editorMode' | 'optionState'>, fieldName: string): RecordFormFieldState | undefined;
|
|
60
62
|
export declare function isRecord(value: unknown): value is Record<string, unknown>;
|
|
@@ -9,6 +9,8 @@ export interface RecordFormDraftAccess {
|
|
|
9
9
|
readonly selectedRecord?: RecordFormRecord;
|
|
10
10
|
readonly formFields: Map<string, RecordFormFieldDescriptor>;
|
|
11
11
|
readonly referencePickerConfigs: Record<string, RecordFormFieldPickerConfig>;
|
|
12
|
+
/** Current standard option candidates; unavailable resources expose no selectable values. */
|
|
13
|
+
optionState?(fieldName: string): ReturnType<typeof import('../platform-components/index').optionFieldState>;
|
|
12
14
|
/** Current source-resolved display, separate from mutation data. */
|
|
13
15
|
referenceDisplay?(fieldName: string): string | undefined;
|
|
14
16
|
contextRevision(): string;
|
|
@@ -295,6 +295,7 @@ export declare function useModulePageSession(props: ModulePageSessionProps, emit
|
|
|
295
295
|
interactionRevision: () => number;
|
|
296
296
|
userChanged: () => void;
|
|
297
297
|
};
|
|
298
|
+
optionState: (fieldName: string) => Readonly<import("../platform-components/index").OptionFieldCandidateState>;
|
|
298
299
|
assistantContextRevision: import("vue").Ref<number, number>;
|
|
299
300
|
assistantInteractionRevision: import("vue").Ref<number, number>;
|
|
300
301
|
listQueryController: import("vue").ShallowRef<RecordQueryListQueryController | undefined, RecordQueryListQueryController | undefined>;
|
|
@@ -562,20 +563,21 @@ export declare function useModulePageSession(props: ModulePageSessionProps, emit
|
|
|
562
563
|
visible?: boolean;
|
|
563
564
|
key: string;
|
|
564
565
|
run(context: import("./modulePageEnhancements").ModulePageRecordActionContext): void | Promise<void>;
|
|
565
|
-
actionCode?: string;
|
|
566
|
+
actionCode?: string | undefined;
|
|
566
567
|
title: string;
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
loading?: boolean;
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
568
|
+
danger?: boolean | undefined;
|
|
569
|
+
iconName?: import("../vue-ui-antdv").UiIconName | undefined;
|
|
570
|
+
disabledReason?: string | undefined;
|
|
571
|
+
actionLevel?: "primary" | "standard" | "secondary" | undefined;
|
|
572
|
+
primary?: boolean | undefined;
|
|
573
|
+
loading?: boolean | undefined;
|
|
574
|
+
placement?: "after-primary" | undefined;
|
|
575
|
+
before?: string | undefined;
|
|
576
|
+
after?: string | undefined;
|
|
577
|
+
pinned?: boolean | undefined;
|
|
578
|
+
titleKey?: string | undefined;
|
|
579
|
+
authorizationContext?: ModuleContext<unknown> | undefined;
|
|
580
|
+
authorizationRecordId?: string | undefined;
|
|
579
581
|
}[];
|
|
580
582
|
pageEnhancement: import("vue").ComputedRef<import("./modulePageEnhancements").ModulePageEnhancement | undefined>;
|
|
581
583
|
enhancementBatchActions: import("vue").ComputedRef<ModulePageBatchActionContribution[]>;
|
|
@@ -612,6 +614,7 @@ export declare function useModulePageSession(props: ModulePageSessionProps, emit
|
|
|
612
614
|
useDrawerDetailSurface: () => void;
|
|
613
615
|
recycleBinDetailActive: import("vue").ComputedRef<boolean>;
|
|
614
616
|
enhancementDetailActions: import("vue").ComputedRef<ModulePageRecordActionContribution[]>;
|
|
617
|
+
enhancementDetailControls: import("vue").ComputedRef<RecordActionItem[]>;
|
|
615
618
|
detailPageActions: import("vue").ComputedRef<RecordActionItem[]>;
|
|
616
619
|
placedDetailButtons: import("vue").ComputedRef<RecordActionItem[]>;
|
|
617
620
|
placedFormActions: import("vue").ComputedRef<RecordActionItem[]>;
|
|
@@ -11,7 +11,10 @@ interface ModuleRecordDataChangeOptions {
|
|
|
11
11
|
onError: (cause: unknown) => void;
|
|
12
12
|
}
|
|
13
13
|
/** Committed facts refresh read views; editors retain their drafts until interaction ends. */
|
|
14
|
-
export declare function useModuleRecordDataChanges(options: ModuleRecordDataChangeOptions):
|
|
14
|
+
export declare function useModuleRecordDataChanges(options: ModuleRecordDataChangeOptions): {
|
|
15
|
+
/** Explicit read refresh, without manufacturing a committed business event. */
|
|
16
|
+
refresh(): void;
|
|
17
|
+
};
|
|
15
18
|
/** Only declared read surfaces participate; values and labels cannot manufacture dependencies. */
|
|
16
19
|
export declare function moduleContentPresentationDependencies(ui?: ResolvedModuleUiDescriptor): string[];
|
|
17
20
|
export {};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import type { ActionControl } from './actionControl';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
control: ActionControl;
|
|
4
|
+
actionKey: string;
|
|
5
|
+
title: string;
|
|
6
|
+
disabled?: boolean;
|
|
7
|
+
disabledReason?: string;
|
|
8
|
+
loading?: boolean;
|
|
9
|
+
};
|
|
10
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
11
|
+
disabled: boolean;
|
|
12
|
+
disabledReason: string;
|
|
13
|
+
loading: boolean;
|
|
14
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
15
|
+
declare const _default: typeof __VLS_export;
|
|
16
|
+
export default _default;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { type UiIconName } from '../vue-ui-antdv/index';
|
|
2
2
|
import { type HeaderActionLevel } from './adaptiveHeaderActionLayout';
|
|
3
|
+
import type { ActionControl } from './actionControl';
|
|
3
4
|
export interface HeaderActionItem {
|
|
4
5
|
key: string;
|
|
5
6
|
title: string;
|
|
@@ -9,6 +10,8 @@ export interface HeaderActionItem {
|
|
|
9
10
|
loading?: boolean;
|
|
10
11
|
danger?: boolean;
|
|
11
12
|
iconName?: UiIconName;
|
|
13
|
+
control?: ActionControl;
|
|
14
|
+
placement?: 'after-primary';
|
|
12
15
|
}
|
|
13
16
|
type __VLS_Props = {
|
|
14
17
|
actions: HeaderActionItem[];
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import type { WebBusinessNotification, WebBusinessNotificationAction } from '../web-contracts/index';
|
|
2
2
|
type __VLS_Props = {
|
|
3
3
|
notifications: WebBusinessNotification[];
|
|
4
|
+
/** Identity-scoped presentation memory; stores viewed IDs only in this browser tab. */
|
|
5
|
+
presentationKey?: string;
|
|
4
6
|
/** Opt a card into the optional right-hand attachment area. */
|
|
5
7
|
hasAccessory?: (notification: WebBusinessNotification) => boolean;
|
|
6
8
|
executeAction: (notification: WebBusinessNotification, action: WebBusinessNotificationAction) => void | boolean | Promise<void | boolean>;
|
|
@@ -4,6 +4,7 @@ type __VLS_Props = {
|
|
|
4
4
|
http?: HttpClient;
|
|
5
5
|
browser?: ReferenceRecordDetailBrowserState;
|
|
6
6
|
inlineAnchor?: boolean;
|
|
7
|
+
scope?: 'tab' | 'viewport';
|
|
7
8
|
};
|
|
8
9
|
declare function reportMutation(mutation: ReferenceRecordDetailMutation): void;
|
|
9
10
|
declare function setBusy(busy: boolean): void;
|
|
@@ -38,9 +39,18 @@ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {
|
|
|
38
39
|
browser: ReferenceRecordDetailBrowserState;
|
|
39
40
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
40
41
|
"record-change": (mutation: ReferenceRecordDetailMutation) => any;
|
|
42
|
+
"open-failed": (result: {
|
|
43
|
+
status: "rejected";
|
|
44
|
+
reason: "missing-host" | "invalid-target" | "access-denied" | "busy" | "leave-blocked" | "superseded" | "not-found" | "load-failed";
|
|
45
|
+
}) => any;
|
|
41
46
|
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
42
47
|
"onRecord-change"?: ((mutation: ReferenceRecordDetailMutation) => any) | undefined;
|
|
48
|
+
"onOpen-failed"?: ((result: {
|
|
49
|
+
status: "rejected";
|
|
50
|
+
reason: "missing-host" | "invalid-target" | "access-denied" | "busy" | "leave-blocked" | "superseded" | "not-found" | "load-failed";
|
|
51
|
+
}) => any) | undefined;
|
|
43
52
|
}>, {
|
|
53
|
+
scope: "tab" | "viewport";
|
|
44
54
|
http: HttpClient;
|
|
45
55
|
browser: ReferenceRecordDetailBrowserState;
|
|
46
56
|
inlineAnchor: boolean;
|