@ximatai/muyun-web-app 0.26.28 → 0.26.31

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (57) hide show
  1. package/dist/{BusinessActivityLogView-DlNB97pu.js → BusinessActivityLogView-Dw_SjtBi.js} +2 -2
  2. package/dist/BusinessLogListDrawer-Bkws0k6G.js +868 -0
  3. package/dist/{CodeConfigurationView-91B9dHjD.js → CodeConfigurationView-D-S2nX4C.js} +703 -703
  4. package/dist/{ConfigurationTranslationView-ClovkYJt.js → ConfigurationTranslationView-CzLoZCo5.js} +21 -21
  5. package/dist/{LoginAuditLogView-Blg9giRX.js → LoginAuditLogView-DxAlmQ9Q.js} +2 -2
  6. package/dist/ModuleActionManagementView-CfsGwDOn.js +780 -0
  7. package/dist/{ModuleGovernanceView-BNlRHqSj.js → ModuleGovernanceView-Bt2UhO-A.js} +2352 -2352
  8. package/dist/{RequestErrorLogView-CGczIKQy.js → RequestErrorLogView--g3Uwvzx.js} +2 -2
  9. package/dist/RoleDetailWorkspaceView-Bv21G3CF.js +1435 -0
  10. package/dist/{RuntimeLogView-DF-1k-9y.js → RuntimeLogView-CM47CKiD.js} +38 -38
  11. package/dist/WorkflowAdministrationView-CYq7bXS5.js +650 -0
  12. package/dist/{WorkflowConfigurationView-BqSfYua2.js → WorkflowConfigurationView-D1ve8wHF.js} +189 -189
  13. package/dist/WorkflowWorkbenchView-CJXy2iRP.js +759 -0
  14. package/dist/{codeConfiguration-BRxveKen.js → codeConfiguration-Bls4mHm3.js} +28 -28
  15. package/dist/{configurationEditorNavigation-DeXvfJyr.js → configurationEditorNavigation-DteTknF3.js} +2 -2
  16. package/dist/index.css +1 -1
  17. package/dist/index.js +704 -646
  18. package/dist/{moduleMenuWorkspace-D_A94ZgR.js → moduleMenuWorkspace-CsYcDzfq.js} +197 -197
  19. package/dist/{platform-components-DSMqalgQ.js → platform-components-CT5wnPa0.js} +2987 -2646
  20. package/dist/{platform-workbench-B53hydzq.js → platform-workbench-CBLyxlvV.js} +5350 -5264
  21. package/dist/types/app/useLoginFailureFeedback.d.ts +8 -0
  22. package/dist/types/consumer/index.d.ts +2 -1
  23. package/dist/types/dynamic-page-runtime/ModulePageBusinessSession.d.ts +30 -26
  24. package/dist/types/dynamic-page-runtime/ModulePageHostRuntime.vue.d.ts +32 -26
  25. package/dist/types/dynamic-page-runtime/ModuleRecordDetailActions.vue.d.ts +2 -0
  26. package/dist/types/dynamic-page-runtime/index.d.ts +2 -2
  27. package/dist/types/dynamic-page-runtime/modulePageActionControls.d.ts +12 -0
  28. package/dist/types/dynamic-page-runtime/modulePageEnhancements.d.ts +16 -5
  29. package/dist/types/dynamic-page-runtime/useModulePageSession.d.ts +15 -13
  30. package/dist/types/dynamic-page-runtime/useModuleRecordDataChanges.d.ts +4 -1
  31. package/dist/types/platform-components/ActionControlHost.vue.d.ts +16 -0
  32. package/dist/types/platform-components/AdaptiveHeaderActionBar.vue.d.ts +3 -0
  33. package/dist/types/platform-components/ObjectPickerInput.vue.d.ts +13 -0
  34. package/dist/types/platform-components/RecordMultiPicker.vue.d.ts +7 -29
  35. package/dist/types/platform-components/RecordPicker.vue.d.ts +7 -31
  36. package/dist/types/platform-components/RecordReferencePicker.vue.d.ts +24 -0
  37. package/dist/types/platform-components/ReferencePicker.vue.d.ts +1 -1
  38. package/dist/types/platform-components/ReferenceSelectionPanel.vue.d.ts +20 -0
  39. package/dist/types/platform-components/UserPicker.vue.d.ts +1 -1
  40. package/dist/types/platform-components/actionControl.d.ts +28 -0
  41. package/dist/types/platform-components/adaptiveHeaderActionLayout.d.ts +4 -2
  42. package/dist/types/platform-components/index.d.ts +1 -0
  43. package/dist/types/platform-components/recordActionBarModel.d.ts +5 -0
  44. package/dist/types/platform-components/recordFormFieldModel.d.ts +2 -0
  45. package/dist/types/platform-components/recordReferencePickerProvider.d.ts +26 -0
  46. package/dist/types/platform-components/workflowAccountOptions.d.ts +3 -3
  47. package/dist/types/vue-ui-antdv/components/UiInput.vue.d.ts +2 -0
  48. package/dist/types/vue-ui-antdv/components/UiSelect.vue.d.ts +13 -2
  49. package/dist/types/vue-ui-antdv/components/UiTreeSelect.vue.d.ts +8 -2
  50. package/dist/{useWorkflowConfigurationContext-BuBDdUcQ.js → useWorkflowConfigurationContext-DsuGHZ0U.js} +9 -9
  51. package/dist/{workspaceViews-BSVtjZj1.js → workspaceViews-BxEz6u5n.js} +523 -523
  52. package/package.json +1 -1
  53. package/dist/BusinessLogListDrawer-ByiwQP1m.js +0 -868
  54. package/dist/ModuleActionManagementView-Chr_XTJ3.js +0 -780
  55. package/dist/RoleDetailWorkspaceView-CPH9cga9.js +0 -1435
  56. package/dist/WorkflowAdministrationView-CCXry0G4.js +0 -650
  57. package/dist/WorkflowWorkbenchView-DUFfO3Gf.js +0 -759
@@ -0,0 +1,8 @@
1
+ /** Standard password-login feedback. Countdown expiry restores the form; it never retries credentials. */
2
+ export declare function useLoginFailureFeedback(): {
3
+ locked: import("vue").ComputedRef<boolean>;
4
+ message: import("vue").ComputedRef<string | undefined>;
5
+ unlockTime: import("vue").ComputedRef<string | undefined>;
6
+ accept: (cause: unknown) => boolean;
7
+ clear: () => void;
8
+ };
@@ -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';
@@ -567,20 +567,21 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
567
567
  visible?: boolean;
568
568
  key: string;
569
569
  run(context: import("./modulePageEnhancements").ModulePageRecordActionContext): void | Promise<void>;
570
- actionCode?: string;
570
+ actionCode?: string | undefined;
571
571
  title: string;
572
- titleKey?: string;
573
- before?: string;
574
- after?: string;
575
- pinned?: boolean;
576
- disabledReason?: string;
577
- loading?: boolean;
578
- primary?: boolean;
579
- actionLevel?: "primary" | "standard" | "secondary";
580
- danger?: boolean;
581
- iconName?: import("../vue-ui-antdv").UiIconName;
582
- authorizationContext?: import("../web-core").ModuleContext<unknown>;
583
- authorizationRecordId?: string;
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;
584
585
  }[];
585
586
  pageEnhancement: import("./modulePageEnhancements").ModulePageEnhancement | undefined;
586
587
  enhancementBatchActions: import("./modulePageEnhancements").ModulePageBatchActionContribution[];
@@ -617,6 +618,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
617
618
  useDrawerDetailSurface: () => void;
618
619
  recycleBinDetailActive: boolean;
619
620
  enhancementDetailActions: import("./modulePageEnhancements").ModulePageRecordActionContribution[];
621
+ enhancementDetailControls: import("../platform-components/index").RecordActionItem[];
620
622
  detailPageActions: import("../platform-components/index").RecordActionItem[];
621
623
  placedDetailButtons: import("../platform-components/index").RecordActionItem[];
622
624
  placedFormActions: import("../platform-components/index").RecordActionItem[];
@@ -1365,20 +1367,21 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
1365
1367
  visible?: boolean;
1366
1368
  key: string;
1367
1369
  run(context: import("./modulePageEnhancements").ModulePageRecordActionContext): void | Promise<void>;
1368
- actionCode?: string;
1370
+ actionCode?: string | undefined;
1369
1371
  title: string;
1370
- titleKey?: string;
1371
- before?: string;
1372
- after?: string;
1373
- pinned?: boolean;
1374
- disabledReason?: string;
1375
- loading?: boolean;
1376
- primary?: boolean;
1377
- actionLevel?: "primary" | "standard" | "secondary";
1378
- danger?: boolean;
1379
- iconName?: import("../vue-ui-antdv").UiIconName;
1380
- authorizationContext?: import("../web-core").ModuleContext<unknown>;
1381
- authorizationRecordId?: string;
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;
1382
1385
  }[];
1383
1386
  pageEnhancement: import("./modulePageEnhancements").ModulePageEnhancement | undefined;
1384
1387
  enhancementBatchActions: import("./modulePageEnhancements").ModulePageBatchActionContribution[];
@@ -1415,6 +1418,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
1415
1418
  useDrawerDetailSurface: () => void;
1416
1419
  recycleBinDetailActive: boolean;
1417
1420
  enhancementDetailActions: import("./modulePageEnhancements").ModulePageRecordActionContribution[];
1421
+ enhancementDetailControls: import("../platform-components/index").RecordActionItem[];
1418
1422
  detailPageActions: import("../platform-components/index").RecordActionItem[];
1419
1423
  placedDetailButtons: import("../platform-components/index").RecordActionItem[];
1420
1424
  placedFormActions: import("../platform-components/index").RecordActionItem[];
@@ -909,39 +909,41 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
909
909
  visible?: boolean;
910
910
  key: string;
911
911
  run(context: import("./modulePageEnhancements.ts").ModulePageRecordActionContext): void | Promise<void>;
912
- actionCode?: string;
912
+ actionCode?: string | undefined;
913
913
  title: string;
914
- titleKey?: string;
915
- before?: string;
916
- after?: string;
917
- pinned?: boolean;
918
- disabledReason?: string;
919
- loading?: boolean;
920
- primary?: boolean;
921
- actionLevel?: "primary" | "standard" | "secondary";
922
- danger?: boolean;
923
- iconName?: import("../vue-ui-antdv/index.ts").UiIconName;
924
- authorizationContext?: import("../web-core/index").ModuleContext<unknown>;
925
- authorizationRecordId?: string;
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;
926
927
  }[], (record: QueryListRecord) => {
927
928
  disabled?: boolean;
928
929
  visible?: boolean;
929
930
  key: string;
930
931
  run(context: import("./modulePageEnhancements.ts").ModulePageRecordActionContext): void | Promise<void>;
931
- actionCode?: string;
932
+ actionCode?: string | undefined;
932
933
  title: string;
933
- titleKey?: string;
934
- before?: string;
935
- after?: string;
936
- pinned?: boolean;
937
- disabledReason?: string;
938
- loading?: boolean;
939
- primary?: boolean;
940
- actionLevel?: "primary" | "standard" | "secondary";
941
- danger?: boolean;
942
- iconName?: import("../vue-ui-antdv/index.ts").UiIconName;
943
- authorizationContext?: import("../web-core/index").ModuleContext<unknown>;
944
- authorizationRecordId?: string;
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;
945
947
  }[]>;
946
948
  pageEnhancement: import("vue").WritableComputedRef<import("./modulePageEnhancements.ts").ModulePageEnhancement | undefined, import("./modulePageEnhancements.ts").ModulePageEnhancement | undefined>;
947
949
  enhancementBatchActions: import("vue").WritableComputedRef<import("./modulePageEnhancements.ts").ModulePageBatchActionContribution[], import("./modulePageEnhancements.ts").ModulePageBatchActionContribution[]>;
@@ -987,6 +989,7 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
987
989
  useDrawerDetailSurface: import("vue").WritableComputedRef<() => void, () => void>;
988
990
  recycleBinDetailActive: import("vue").WritableComputedRef<boolean, boolean>;
989
991
  enhancementDetailActions: import("vue").WritableComputedRef<import("./modulePageEnhancements.ts").ModulePageRecordActionContribution[], import("./modulePageEnhancements.ts").ModulePageRecordActionContribution[]>;
992
+ enhancementDetailControls: import("vue").WritableComputedRef<RecordActionItem[], RecordActionItem[]>;
990
993
  detailPageActions: import("vue").WritableComputedRef<RecordActionItem[], RecordActionItem[]>;
991
994
  placedDetailButtons: import("vue").WritableComputedRef<RecordActionItem[], RecordActionItem[]>;
992
995
  placedFormActions: import("vue").WritableComputedRef<RecordActionItem[], RecordActionItem[]>;
@@ -3584,6 +3587,7 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
3584
3587
  detailLoadFailed?: boolean;
3585
3588
  recycleBinActive?: boolean;
3586
3589
  actions?: import("./modulePageEnhancements.ts").ModulePageRecordActionContribution[];
3590
+ controls?: RecordActionItem[];
3587
3591
  configuredActions?: RecordActionItem[];
3588
3592
  formActions?: RecordActionItem[];
3589
3593
  showStandardViewActions?: boolean;
@@ -3613,6 +3617,7 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
3613
3617
  detailLoadFailed?: boolean;
3614
3618
  recycleBinActive?: boolean;
3615
3619
  actions?: import("./modulePageEnhancements.ts").ModulePageRecordActionContribution[];
3620
+ controls?: RecordActionItem[];
3616
3621
  configuredActions?: RecordActionItem[];
3617
3622
  formActions?: RecordActionItem[];
3618
3623
  showStandardViewActions?: boolean;
@@ -3633,6 +3638,7 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
3633
3638
  record: QueryListRecord;
3634
3639
  actions: import("./modulePageEnhancements.ts").ModulePageRecordActionContribution[];
3635
3640
  saving: boolean;
3641
+ controls: RecordActionItem[];
3636
3642
  formPending: boolean;
3637
3643
  saveNeedsCheck: boolean;
3638
3644
  checkingSave: 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;
@@ -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[];
@@ -180,6 +180,8 @@ export interface ModuleDetailEnhancement {
180
180
  /** Semantic width override for the standard detail drawer. */
181
181
  width?: DrawerWidth;
182
182
  actions?: ModulePageRecordActionContribution[];
183
+ /** Interactive controls available only in the standard record-view operation area. */
184
+ controls?: ModulePageActionControlContribution[];
183
185
  sections?: ModulePageDetailSection[];
184
186
  }
185
187
  /** A controlled addition to the descriptor-owned standard form, not a replacement editor. */
@@ -293,7 +295,7 @@ export interface ModulePageRecordView {
293
295
  */
294
296
  authorizationActionCode?: string;
295
297
  }
296
- export interface ModulePageActionContribution extends RecordActionItem {
298
+ export interface ModulePageActionContribution extends Omit<RecordActionItem, 'control'> {
297
299
  key: string;
298
300
  /** Authorizes this toolbar action against the selected scoped-list record instead of the page module. */
299
301
  authorization?: 'scope-record';
@@ -301,13 +303,20 @@ export interface ModulePageActionContribution extends RecordActionItem {
301
303
  state?(context: ModulePageActionStateContext): Partial<Pick<RecordActionItem, 'visible' | 'disabled' | 'disabledReason'>> | undefined;
302
304
  run(context: ModulePageActionContext): void | Promise<void>;
303
305
  }
304
- export interface ModulePageRecordActionContribution extends RecordActionItem {
306
+ export interface ModulePageRecordActionContribution extends Omit<RecordActionItem, 'control'> {
305
307
  key: string;
306
308
  /** Resolves record-specific visibility or enabled state. The optional page context identifies authorized auxiliary facts loaded by activate(). */
307
309
  state?(record: QueryListRecord, context?: ModulePageActionStateContext): Partial<Pick<RecordActionItem, 'visible' | 'disabled'>> | undefined;
308
310
  run(context: ModulePageRecordActionContext): void | Promise<void>;
309
311
  }
310
- export interface ModulePageBatchActionContribution extends RecordActionItem {
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'> {
311
320
  key: string;
312
321
  run(context: ModulePageBatchActionContext): void | Promise<void>;
313
322
  }
@@ -477,5 +486,7 @@ export declare function configureModulePageEnhancementContributions(owner: strin
477
486
  export declare function configureModulePageEnhancements(enhancements: readonly ModulePageEnhancement[]): void;
478
487
  export declare function resolveModulePageEnhancement(moduleAlias: string, viewCode?: string, menuId?: string): ModulePageEnhancement | undefined;
479
488
  export declare function modulePageWorkspaceViews(): readonly ModulePageWorkspaceView<ModulePageWorkspaceViewInput>[];
480
- /** Creates the only record shape that a card assistant may receive. */
481
- export declare function createReadonlyCardRecordSnapshot(record: Record<string, unknown>): Readonly<Record<string, unknown>>;
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;
@@ -563,20 +563,21 @@ export declare function useModulePageSession(props: ModulePageSessionProps, emit
563
563
  visible?: boolean;
564
564
  key: string;
565
565
  run(context: import("./modulePageEnhancements").ModulePageRecordActionContext): void | Promise<void>;
566
- actionCode?: string;
566
+ actionCode?: string | undefined;
567
567
  title: string;
568
- titleKey?: string;
569
- before?: string;
570
- after?: string;
571
- pinned?: boolean;
572
- disabledReason?: string;
573
- loading?: boolean;
574
- primary?: boolean;
575
- actionLevel?: "primary" | "standard" | "secondary";
576
- danger?: boolean;
577
- iconName?: import("../vue-ui-antdv").UiIconName;
578
- authorizationContext?: ModuleContext<unknown>;
579
- authorizationRecordId?: string;
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;
580
581
  }[];
581
582
  pageEnhancement: import("vue").ComputedRef<import("./modulePageEnhancements").ModulePageEnhancement | undefined>;
582
583
  enhancementBatchActions: import("vue").ComputedRef<ModulePageBatchActionContribution[]>;
@@ -613,6 +614,7 @@ export declare function useModulePageSession(props: ModulePageSessionProps, emit
613
614
  useDrawerDetailSurface: () => void;
614
615
  recycleBinDetailActive: import("vue").ComputedRef<boolean>;
615
616
  enhancementDetailActions: import("vue").ComputedRef<ModulePageRecordActionContribution[]>;
617
+ enhancementDetailControls: import("vue").ComputedRef<RecordActionItem[]>;
616
618
  detailPageActions: import("vue").ComputedRef<RecordActionItem[]>;
617
619
  placedDetailButtons: import("vue").ComputedRef<RecordActionItem[]>;
618
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): void;
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,5 +1,11 @@
1
1
  type __VLS_Props = {
2
2
  value?: string;
3
+ /** Authorized display items; only removals can be made from this compact multi-value entry. */
4
+ selectionItems?: readonly {
5
+ key: string;
6
+ label: string;
7
+ }[];
8
+ allowClear?: boolean;
3
9
  linked?: boolean;
4
10
  unmatched?: boolean;
5
11
  /** The owner has an unresolved draft, so asynchronous display refreshes must not overwrite it. */
@@ -16,18 +22,25 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {
16
22
  blur: (value: string) => any;
17
23
  browse: (keyword: string) => any;
18
24
  "draft-change": (value: string) => any;
25
+ "update:selectionKeys": (keys: string[]) => any;
19
26
  }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
20
27
  onClear?: (() => any) | undefined;
21
28
  onBlur?: ((value: string) => any) | undefined;
22
29
  onBrowse?: ((keyword: string) => any) | undefined;
23
30
  "onDraft-change"?: ((value: string) => any) | undefined;
31
+ "onUpdate:selectionKeys"?: ((keys: string[]) => any) | undefined;
24
32
  }>, {
25
33
  disabled: boolean;
26
34
  value: string;
27
35
  placeholder: string;
36
+ allowClear: boolean;
28
37
  invalid: boolean;
29
38
  unmatched: boolean;
30
39
  linked: boolean;
40
+ selectionItems: readonly {
41
+ key: string;
42
+ label: string;
43
+ }[];
31
44
  preserveDraft: boolean;
32
45
  selectionVersion: number;
33
46
  browseLabel: string;
@@ -1,45 +1,23 @@
1
- import { type ModuleContext } from '../web-core/index';
2
- import type { WebTreeNode } from '../web-contracts/index';
3
- import type { PickerConstraint, RecordPickerRecord } from './recordPickerConstraints';
4
- import { type RecordPickerMode } from './recordPickerModel';
5
- type __VLS_Props = {
6
- context: ModuleContext<RecordPickerRecord>;
7
- loadOptions?: (keyword: string) => Promise<RecordPickerRecord[]>;
8
- loadTree?: () => Promise<WebTreeNode<RecordPickerRecord>[]>;
9
- resolveOptions?: (values: string[]) => Promise<RecordPickerRecord[]>;
1
+ import type { RecordReferencePickerSource } from './recordReferencePickerProvider';
2
+ import type { RecordPickerRecord } from './recordPickerConstraints';
3
+ type __VLS_Props = RecordReferencePickerSource & {
10
4
  value?: string[];
11
5
  reloadKey?: string | number;
12
- mode?: RecordPickerMode;
13
6
  placeholder?: string;
14
7
  invalid?: boolean;
15
8
  disabled?: boolean;
16
9
  allowClear?: boolean;
17
- constraints?: PickerConstraint<RecordPickerRecord>[];
18
- titleOf?: (record: RecordPickerRecord) => string;
19
- descriptionOf?: (record: RecordPickerRecord) => string | undefined;
20
- filterOption?: (record: RecordPickerRecord, keyword: string) => boolean;
21
10
  };
22
11
  declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
23
- select: (records: RecordPickerRecord[]) => any;
12
+ select: (value: RecordPickerRecord[]) => any;
24
13
  "update:value": (value: string[]) => any;
14
+ "selection-resolved": (value: RecordPickerRecord[]) => any;
25
15
  }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
26
- onSelect?: ((records: RecordPickerRecord[]) => any) | undefined;
16
+ onSelect?: ((value: RecordPickerRecord[]) => any) | undefined;
27
17
  "onUpdate:value"?: ((value: string[]) => any) | undefined;
18
+ "onSelection-resolved"?: ((value: RecordPickerRecord[]) => any) | undefined;
28
19
  }>, {
29
- disabled: boolean;
30
- value: string[];
31
- mode: RecordPickerMode;
32
- placeholder: string;
33
20
  allowClear: boolean;
34
- filterOption: (record: RecordPickerRecord, keyword: string) => boolean;
35
- invalid: boolean;
36
- reloadKey: string | number;
37
- titleOf: (record: RecordPickerRecord) => string;
38
- loadOptions: (keyword: string) => Promise<RecordPickerRecord[]>;
39
- loadTree: () => Promise<WebTreeNode<RecordPickerRecord>[]>;
40
- resolveOptions: (values: string[]) => Promise<RecordPickerRecord[]>;
41
- constraints: PickerConstraint<RecordPickerRecord>[];
42
- descriptionOf: (record: RecordPickerRecord) => string | undefined;
43
21
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
44
22
  declare const _default: typeof __VLS_export;
45
23
  export default _default;
@@ -1,47 +1,23 @@
1
- import { type ModuleContext } from '../web-core/index';
2
- import type { WebTreeNode } from '../web-contracts/index';
3
- import { type PickerConstraint, type RecordPickerRecord } from './recordPickerConstraints';
4
- import { type RecordPickerMode } from './recordPickerModel';
5
- type __VLS_Props = {
6
- context: ModuleContext<RecordPickerRecord>;
7
- loadOptions?: (keyword: string) => Promise<RecordPickerRecord[]>;
8
- loadTree?: () => Promise<WebTreeNode<RecordPickerRecord>[]>;
9
- resolveOptions?: (values: string[]) => Promise<RecordPickerRecord[]>;
1
+ import type { RecordReferencePickerSource } from './recordReferencePickerProvider';
2
+ import type { RecordPickerRecord } from './recordPickerConstraints';
3
+ type __VLS_Props = RecordReferencePickerSource & {
10
4
  value?: string;
11
5
  reloadKey?: string | number;
12
- mode?: RecordPickerMode;
13
6
  placeholder?: string;
14
7
  invalid?: boolean;
15
8
  disabled?: boolean;
16
9
  allowClear?: boolean;
17
- constraints?: PickerConstraint<RecordPickerRecord>[];
18
- titleOf?: (record: RecordPickerRecord) => string;
19
- descriptionOf?: (record: RecordPickerRecord) => string | undefined;
20
- filterOption?: (record: RecordPickerRecord, keyword: string) => boolean;
21
10
  };
22
11
  declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
23
- select: (record: RecordPickerRecord | undefined) => any;
12
+ select: (value: RecordPickerRecord | undefined) => any;
24
13
  "update:value": (value: string | undefined) => any;
25
- "selection-resolved": (record: RecordPickerRecord | undefined) => any;
14
+ "selection-resolved": (value: RecordPickerRecord | undefined) => any;
26
15
  }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
27
- onSelect?: ((record: RecordPickerRecord | undefined) => any) | undefined;
16
+ onSelect?: ((value: RecordPickerRecord | undefined) => any) | undefined;
28
17
  "onUpdate:value"?: ((value: string | undefined) => any) | undefined;
29
- "onSelection-resolved"?: ((record: RecordPickerRecord | undefined) => any) | undefined;
18
+ "onSelection-resolved"?: ((value: RecordPickerRecord | undefined) => any) | undefined;
30
19
  }>, {
31
- disabled: boolean;
32
- value: string;
33
- mode: RecordPickerMode;
34
- placeholder: string;
35
20
  allowClear: boolean;
36
- filterOption: (record: RecordPickerRecord, keyword: string) => boolean;
37
- invalid: boolean;
38
- reloadKey: string | number;
39
- titleOf: (record: RecordPickerRecord) => string;
40
- loadOptions: (keyword: string) => Promise<RecordPickerRecord[]>;
41
- loadTree: () => Promise<WebTreeNode<RecordPickerRecord>[]>;
42
- resolveOptions: (values: string[]) => Promise<RecordPickerRecord[]>;
43
- constraints: PickerConstraint<RecordPickerRecord>[];
44
- descriptionOf: (record: RecordPickerRecord) => string | undefined;
45
21
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
46
22
  declare const _default: typeof __VLS_export;
47
23
  export default _default;
@@ -0,0 +1,24 @@
1
+ import { type RecordReferencePickerSource } from './recordReferencePickerProvider';
2
+ import type { RecordPickerRecord } from './recordPickerConstraints';
3
+ type __VLS_Props = RecordReferencePickerSource & {
4
+ value?: string | string[];
5
+ multiple?: boolean;
6
+ reloadKey?: string | number;
7
+ placeholder?: string;
8
+ invalid?: boolean;
9
+ disabled?: boolean;
10
+ allowClear?: boolean;
11
+ };
12
+ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
13
+ select: (records: RecordPickerRecord[]) => any;
14
+ "update:value": (value: string | string[] | undefined) => any;
15
+ "selection-resolved": (records: RecordPickerRecord[]) => any;
16
+ }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
17
+ onSelect?: ((records: RecordPickerRecord[]) => any) | undefined;
18
+ "onUpdate:value"?: ((value: string | string[] | undefined) => any) | undefined;
19
+ "onSelection-resolved"?: ((records: RecordPickerRecord[]) => any) | undefined;
20
+ }>, {
21
+ allowClear: boolean;
22
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
23
+ declare const _default: typeof __VLS_export;
24
+ export default _default;
@@ -42,8 +42,8 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {
42
42
  invalid: boolean;
43
43
  reloadKey: string | number;
44
44
  columns: readonly ReferencePickerColumn[];
45
- maxSelection: number;
46
45
  selectionNoun: string;
46
+ maxSelection: number;
47
47
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
48
48
  declare const _default: typeof __VLS_export;
49
49
  export default _default;
@@ -0,0 +1,20 @@
1
+ import { type ReferencePickerCandidate } from './referencePickerModel';
2
+ type __VLS_Props = {
3
+ candidates: readonly ReferencePickerCandidate[];
4
+ disabled?: boolean;
5
+ allowClear?: boolean;
6
+ selectionNoun?: string;
7
+ };
8
+ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
9
+ remove: (id: string) => any;
10
+ clear: () => any;
11
+ }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
12
+ onRemove?: ((id: string) => any) | undefined;
13
+ onClear?: (() => any) | undefined;
14
+ }>, {
15
+ disabled: boolean;
16
+ allowClear: boolean;
17
+ selectionNoun: string;
18
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
19
+ declare const _default: typeof __VLS_export;
20
+ export default _default;
@@ -39,8 +39,8 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {
39
39
  allowClear: boolean;
40
40
  multiple: boolean;
41
41
  reloadKey: string | number;
42
- maxSelection: number;
43
42
  selectionNoun: string;
43
+ maxSelection: number;
44
44
  sourceIdentity: ReferencePickerSourceIdentity;
45
45
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
46
46
  declare const _default: typeof __VLS_export;