@ximatai/muyun-web-app 0.26.16 → 0.26.18

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 (126) hide show
  1. package/dist/{BusinessActivityLogView-DVM_GB5y.js → BusinessActivityLogView-CNW817Sf.js} +2 -2
  2. package/dist/BusinessLogListDrawer-YiJxOlnD.js +864 -0
  3. package/dist/CodeConfigurationView-DU8tjPMt.js +1667 -0
  4. package/dist/{ConfigurationTranslationView-B0FosDyz.js → ConfigurationTranslationView-CbBt5s1q.js} +51 -51
  5. package/dist/{LoginAuditLogView-3tAozKlC.js → LoginAuditLogView-CZF1Jfq_.js} +2 -2
  6. package/dist/{ModuleActionManagementView-CJRNShGg.js → ModuleActionManagementView-CaiXH1l_.js} +208 -208
  7. package/dist/{ModuleGovernanceView-DsqR_Sj7.js → ModuleGovernanceView-CcwGyO3x.js} +4331 -4475
  8. package/dist/{RequestErrorLogView-C4yH-TSX.js → RequestErrorLogView-DpudZrC2.js} +2 -2
  9. package/dist/RoleDetailWorkspaceView-DNMGsAJC.js +1435 -0
  10. package/dist/{RuntimeLogView-CoKKpJ39.js → RuntimeLogView-444BL_xs.js} +61 -61
  11. package/dist/WorkflowAdministrationView-C-VIjvwB.js +650 -0
  12. package/dist/WorkflowConfigurationView-DLFY2x7V.js +1110 -0
  13. package/dist/WorkflowWorkbenchView-Gr02dbBc.js +759 -0
  14. package/dist/codeConfiguration-ChJ6ktRR.js +208 -0
  15. package/dist/index.css +1 -1
  16. package/dist/index.js +624 -598
  17. package/dist/moduleMenuWorkspace-B8DKwC3L.js +626 -0
  18. package/dist/{platform-components-Cl5ZZiuU.js → platform-components-5AE0j2_3.js} +9579 -6839
  19. package/dist/{platform-workbench-CAHoriIf.js → platform-workbench-BhZPARiH.js} +6345 -6478
  20. package/dist/types/app/CurrentUserProfileDialog.vue.d.ts +1 -1
  21. package/dist/types/app/DevelopmentTopbarActions.vue.d.ts +9 -0
  22. package/dist/types/app/useAssistantAvailability.d.ts +8 -0
  23. package/dist/types/app/useCurrentUserProfile.d.ts +12 -0
  24. package/dist/types/app/workbenchRouteSync.d.ts +2 -0
  25. package/dist/types/consumer/AppWorkbenchShell.vue.d.ts +9 -3
  26. package/dist/types/consumer/index.d.ts +2 -1
  27. package/dist/types/dynamic-page-runtime/ModulePageBusinessSession.d.ts +8 -8
  28. package/dist/types/dynamic-page-runtime/ModulePageHostRuntime.vue.d.ts +214 -92
  29. package/dist/types/dynamic-page-runtime/assistantQueryCapabilities.d.ts +1 -0
  30. package/dist/types/dynamic-page-runtime/composables/useManagedDetailRelationRuntime.d.ts +2 -2
  31. package/dist/types/dynamic-page-runtime/composables/useNavigatorRuntime.d.ts +2 -2
  32. package/dist/types/dynamic-page-runtime/modulePageEnhancements.d.ts +2 -2
  33. package/dist/types/dynamic-page-runtime/useModulePageSession.d.ts +4 -4
  34. package/dist/types/dynamic-page-runtime/useModuleRecordDataChanges.d.ts +4 -0
  35. package/dist/types/main.d.ts +0 -1
  36. package/dist/types/platform-admin-runtime/ModuleCodeConfigurationStatus.vue.d.ts +7 -0
  37. package/dist/types/platform-admin-runtime/moduleCodeConfiguration.d.ts +15 -0
  38. package/dist/types/platform-components/BusinessContentGenerationPanel.vue.d.ts +22 -0
  39. package/dist/types/platform-components/BusinessContentQueryNotice.vue.d.ts +17 -0
  40. package/dist/types/platform-components/CrudRecordListExplorer.vue.d.ts +2 -2
  41. package/dist/types/platform-components/DictionaryOptionDialog.vue.d.ts +4 -4
  42. package/dist/types/platform-components/DictionaryOptionDialogChoiceList.vue.d.ts +1 -1
  43. package/dist/types/platform-components/DictionaryPicker.vue.d.ts +4 -4
  44. package/dist/types/platform-components/ObjectPickerInput.vue.d.ts +2 -2
  45. package/dist/types/platform-components/QueryCriteriaGroupEditor.vue.d.ts +2 -2
  46. package/dist/types/platform-components/RecordContentSourceField.vue.d.ts +22 -0
  47. package/dist/types/platform-components/RecordContentTranslationField.vue.d.ts +26 -0
  48. package/dist/types/platform-components/RecordDataExchangeSurface.vue.d.ts +26 -0
  49. package/dist/types/platform-components/RecordDetailFields.vue.d.ts +3 -2
  50. package/dist/types/platform-components/RecordFormFields.vue.d.ts +5 -2
  51. package/dist/types/platform-components/RecordModeDrawer.vue.d.ts +1 -1
  52. package/dist/types/platform-components/RecordQueryListCell.vue.d.ts +1 -0
  53. package/dist/types/platform-components/RecordQueryListPanel.vue.d.ts +1 -1
  54. package/dist/types/platform-components/RecordQueryListSurface.vue.d.ts +1 -1
  55. package/dist/types/{dynamic-page-runtime/ModuleDataExchangeSurface.vue.d.ts → platform-components/RecordQuerySortSelector.vue.d.ts} +5 -9
  56. package/dist/types/platform-components/RecordRelationActionButton.vue.d.ts +16 -0
  57. package/dist/types/platform-components/RecordRelationValue.vue.d.ts +2 -0
  58. package/dist/types/platform-components/StaticManagementLayout.vue.d.ts +7 -2
  59. package/dist/types/{dynamic-page-runtime → platform-components}/TenantScopeExplorer.vue.d.ts +1 -1
  60. package/dist/types/platform-components/WorkflowRecordPanel.vue.d.ts +2 -0
  61. package/dist/types/platform-components/WorkflowTimeline.vue.d.ts +4 -0
  62. package/dist/types/platform-components/crudRecordListModel.d.ts +1 -0
  63. package/dist/types/platform-components/index.d.ts +3 -0
  64. package/dist/types/platform-components/loadExplorerRecords.d.ts +3 -0
  65. package/dist/types/platform-components/managementWorkspaceLayout.d.ts +10 -0
  66. package/dist/types/platform-components/recordDetailFieldModel.d.ts +2 -0
  67. package/dist/types/platform-components/recordFormFieldModel.d.ts +6 -0
  68. package/dist/types/platform-components/recordQueryListQueryController.d.ts +2 -0
  69. package/dist/types/platform-components/recordSurfaceActivity.d.ts +3 -0
  70. package/dist/types/platform-components/recycleBinState.d.ts +1 -0
  71. package/dist/types/platform-components/referencePickerModel.d.ts +6 -2
  72. package/dist/types/platform-components/scopedTreePickerModel.d.ts +4 -0
  73. package/dist/types/platform-components/useBusinessCodeForm.d.ts +36 -0
  74. package/dist/types/platform-workbench/Workbench.vue.d.ts +13 -4
  75. package/dist/types/platform-workbench/WorkbenchGlobalTools.vue.d.ts +28 -0
  76. package/dist/types/platform-workbench/WorkbenchLanguageSettings.vue.d.ts +11 -0
  77. package/dist/types/platform-workbench/WorkbenchPageTitle.vue.d.ts +10 -0
  78. package/dist/types/platform-workbench/menuGroupLayout.d.ts +5 -0
  79. package/dist/types/platform-workbench/menuTreeModel.d.ts +1 -2
  80. package/dist/types/platform-workbench/useAssistantConversation.d.ts +1 -1
  81. package/dist/types/platform-workbench/useAssistantConversationArchive.d.ts +1 -1
  82. package/dist/types/platform-workbench/useLanguagePreferenceSelection.d.ts +7 -0
  83. package/dist/types/views/CodeConfigurationView.vue.d.ts +8 -0
  84. package/dist/types/views/CodeRuleFormatEditor.vue.d.ts +17 -0
  85. package/dist/types/views/PageQuerySummaryEditor.vue.d.ts +4 -4
  86. package/dist/types/views/WorkflowSelectionFields.vue.d.ts +28 -0
  87. package/dist/types/views/codeConfiguration.d.ts +127 -0
  88. package/dist/types/views/codeConfigurationWorkspaceView.d.ts +5 -0
  89. package/dist/types/views/metadataEditorSession.d.ts +4 -0
  90. package/dist/types/views/metadataOrchestrationState.d.ts +3 -0
  91. package/dist/types/views/metadataWorkspace.d.ts +8 -0
  92. package/dist/types/views/moduleGovernanceWorkspaceView.d.ts +1 -1
  93. package/dist/types/vue-ui-antdv/components/UiDatePicker.vue.d.ts +33 -0
  94. package/dist/types/vue-ui-antdv/components/UiDropdown.vue.d.ts +1 -0
  95. package/dist/types/vue-ui-antdv/components/UiHelp.vue.d.ts +16 -0
  96. package/dist/types/vue-ui-antdv/components/UiIcon.vue.d.ts +1 -1
  97. package/dist/types/vue-ui-antdv/components/UiModal.vue.d.ts +9 -6
  98. package/dist/types/vue-ui-antdv/components/UiPopover.vue.d.ts +12 -4
  99. package/dist/types/vue-ui-antdv/datePickerCalendar.d.ts +472 -0
  100. package/dist/types/vue-ui-antdv/datePickerValue.d.ts +6 -0
  101. package/dist/types/vue-ui-antdv/index.d.ts +3 -0
  102. package/dist/types/vue-ui-antdv/languageLocales.d.ts +2 -0
  103. package/dist/types/vue-ui-antdv/types.d.ts +2 -0
  104. package/dist/types/vue-ui-antdv/typography.d.ts +25 -0
  105. package/dist/types/web-contracts/index.d.ts +146 -1
  106. package/dist/types/web-contracts/workflow.d.ts +10 -0
  107. package/dist/types/web-core/assistantTurnClient.d.ts +2 -0
  108. package/dist/types/web-core/businessContent.d.ts +38 -0
  109. package/dist/types/web-core/businessContentLanguage.d.ts +18 -0
  110. package/dist/types/web-core/index.d.ts +5 -0
  111. package/dist/types/web-core/languagePreference.d.ts +2 -2
  112. package/dist/types/web-core/module/dataExchangeClient.d.ts +83 -1
  113. package/dist/types/web-core/module/staticModuleClient.d.ts +9 -3
  114. package/dist/types/web-core/presentationTexts.d.ts +5 -0
  115. package/dist/types/web-core/recordReadRefreshGuard.d.ts +7 -0
  116. package/dist/types/web-core/useBusinessContentGenerationBatch.d.ts +36 -0
  117. package/dist/types/web-core/useBusinessContentReading.d.ts +30 -0
  118. package/dist/types/web-core/workflow.d.ts +2 -1
  119. package/dist/{workspaceViews-BIYGPUAO.js → workspaceViews-DeBqozVb.js} +1062 -918
  120. package/package.json +4 -1
  121. package/dist/BusinessLogListDrawer-BciMLY9z.js +0 -864
  122. package/dist/RoleDetailWorkspaceView-BpOoGUwS.js +0 -1435
  123. package/dist/WorkflowAdministrationView-DmUV6vWS.js +0 -650
  124. package/dist/WorkflowConfigurationView-pghDbWEh.js +0 -975
  125. package/dist/WorkflowWorkbenchView-BwWxyDen.js +0 -747
  126. package/dist/moduleGovernanceWorkspaceView-DGEV3ZyT.js +0 -667
@@ -46,6 +46,7 @@ export { default as RecordDetailExtensionSection } from './RecordDetailExtension
46
46
  export { default as RecordRelationTabs } from './RecordRelationTabs.vue';
47
47
  export { default as DetailRelationListPanel } from './DetailRelationListPanel.vue';
48
48
  export { default as RecordDetailPanel } from './RecordDetailPanel.vue';
49
+ export { default as RecordRelationActionButton } from './RecordRelationActionButton.vue';
49
50
  export { default as RecordPanelButton } from './RecordPanelButton.vue';
50
51
  export { default as RecordSelectionCheckbox } from './RecordSelectionCheckbox.vue';
51
52
  export { default as RecordPanelState } from './RecordPanelState.vue';
@@ -157,3 +158,5 @@ export { workflowTitle } from './workflowPresentation';
157
158
  export { default as WorkflowParticipantEditor } from './WorkflowParticipantEditor.vue';
158
159
  export { default as WorkflowBusinessTaskEditor } from './WorkflowBusinessTaskEditor.vue';
159
160
  export { default as WorkflowDesignProperties } from './WorkflowDesignProperties.vue';
161
+ export { default as RecordDataExchangeSurface } from './RecordDataExchangeSurface.vue';
162
+ export { default as TenantScopeExplorer } from './TenantScopeExplorer.vue';
@@ -0,0 +1,3 @@
1
+ import type { WebPageResponse, WebQueryRequest } from '../web-contracts/index';
2
+ /** Collects a complete navigation result through the existing authorized, paged query protocol. */
3
+ export declare function loadExplorerRecords<T>(query: (request: WebQueryRequest) => Promise<WebPageResponse<T>>, request: WebQueryRequest, current: () => boolean): Promise<WebPageResponse<T> | undefined>;
@@ -26,3 +26,13 @@ export declare const MANAGEMENT_COLLAPSED_EXPLORER_LAYOUT: {
26
26
  };
27
27
  export declare function collapsedExplorerTabHeight(title: string): number;
28
28
  export declare function listDetailWorkspaceMinWidth(explorerCount: number): number;
29
+ /** Width-based folds are independent of manual folds: closing a navigator must
30
+ * enlarge the primary surface, rather than unexpectedly restoring another one. */
31
+ export declare function workspaceAutoCollapsedIds(options: {
32
+ width: number;
33
+ explorerCount: number;
34
+ explorers: readonly {
35
+ id: string;
36
+ }[];
37
+ primaryMinWidth: number;
38
+ }): string[];
@@ -9,5 +9,7 @@ export declare function resolveRecordDetailDisplayValue(field: RecordFormFieldSt
9
9
  optionItems?: OptionItemDescriptor[];
10
10
  /** Editable display defaults are not facts about an absent saved value. */
11
11
  draft?: boolean;
12
+ /** Pair the saved original with a live content-reading control rather than a disposable list label. */
13
+ originalValue?: boolean;
12
14
  language?: LanguageContext;
13
15
  }): string;
@@ -6,6 +6,8 @@ import type { RecordPickerMode } from './recordPickerModel';
6
6
  import type { ScopedTreePickerProvider } from './scopedTreePickerModel';
7
7
  import type { ReferencePickerColumn, ReferencePickerProvider } from './referencePickerModel';
8
8
  export type RecordFormFieldDescriptor = (ViewFieldDefinition | ResolvedViewFieldDescriptor) & {
9
+ businessCode?: ResolvedViewFieldDescriptor['businessCode'];
10
+ content?: ResolvedViewFieldDescriptor['content'];
9
11
  inputRequirements?: ResolvedViewFieldDescriptor['inputRequirements'];
10
12
  calculationTiming?: ResolvedViewFieldDescriptor['calculationTiming'];
11
13
  /** Optional during the protocol migration; resolved descriptors take precedence over legacy uiType. */
@@ -96,6 +98,10 @@ export interface RecordFormFieldPickerConfig {
96
98
  };
97
99
  }
98
100
  export interface RecordFormFieldState {
101
+ businessCode?: ResolvedViewFieldDescriptor['businessCode'];
102
+ /** Original input requirement, applied only when the server selects manual entry. */
103
+ businessCodeRequired?: boolean;
104
+ content?: ResolvedViewFieldDescriptor['content'];
99
105
  calculationPending?: boolean;
100
106
  inputRequirements?: ResolvedViewFieldDescriptor['inputRequirements'];
101
107
  calculationTiming?: ResolvedViewFieldDescriptor['calculationTiming'];
@@ -16,6 +16,8 @@ export interface RecordQueryListResultRow {
16
16
  export interface RecordQueryListQuerySnapshot {
17
17
  /** The last successful server query, shared by exports without reconstructing filters. */
18
18
  request?: WebQueryRequest;
19
+ /** Business reading language captured with that successful query, independent of file output language. */
20
+ contentLanguage?: string;
19
21
  mode: 'normal' | 'recycleBin';
20
22
  status: 'waiting' | 'loading' | 'ready' | 'error';
21
23
  quickSearchEnabled: boolean;
@@ -0,0 +1,3 @@
1
+ /** Retained drawer content must not keep performing reading work after its surface closes. */
2
+ export declare function provideRecordSurfaceActivity(active: () => boolean): void;
3
+ export declare function useRecordSurfaceActivity(): import("vue").ComputedRef<boolean>;
@@ -52,6 +52,7 @@ export declare function useRecycleBinState<TRecord>(options: RecycleBinStateOpti
52
52
  isEmpty: import("vue").ComputedRef<boolean>;
53
53
  recordTitleOf: (item: RecycleBinItem<TRecord>) => string;
54
54
  load: (request?: WebQueryRequest) => Promise<boolean>;
55
+ loadAll: (request: WebQueryRequest, current?: () => boolean) => Promise<boolean>;
55
56
  refreshSummary: () => Promise<number | undefined>;
56
57
  restore: (item: RecycleBinItem<TRecord>, reload?: boolean) => Promise<RestoreReport | undefined>;
57
58
  purge: (item: RecycleBinItem<TRecord>, reload?: boolean) => Promise<PurgeReport | undefined>;
@@ -1,4 +1,4 @@
1
- import type { TextPresentation } from '../web-contracts/index';
1
+ import type { BusinessContentTextPresentation, TextPresentation } from '../web-contracts/index';
2
2
  import { type LanguageContext } from '../web-core/index';
3
3
  /**
4
4
  * Source-neutral candidate contract for records selected through an authorized
@@ -25,6 +25,8 @@ export interface ReferencePickerCandidate {
25
25
  id: ReferencePickerId;
26
26
  title: string;
27
27
  titleText?: TextPresentation;
28
+ titleContent?: BusinessContentTextPresentation;
29
+ subtitleContent?: BusinessContentTextPresentation;
28
30
  /** The UI is displaying the persisted identifier because no business title was available. */
29
31
  identifierFallback?: boolean;
30
32
  subtitle?: string;
@@ -105,10 +107,12 @@ export interface ReferencePickerSelectionSummary {
105
107
  id: ReferencePickerId;
106
108
  title: string;
107
109
  titleText?: TextPresentation;
110
+ titleContent?: BusinessContentTextPresentation;
111
+ subtitleContent?: BusinessContentTextPresentation;
108
112
  subtitle?: string;
109
113
  unavailable?: boolean;
110
114
  }
111
115
  export declare function normalizeReferencePickerIds(value: ReferencePickerId | readonly ReferencePickerId[] | undefined, multiple: boolean): ReferencePickerId[];
112
116
  export declare function referencePickerValue(ids: readonly ReferencePickerId[], multiple: boolean): ReferencePickerId | ReferencePickerId[] | undefined;
113
117
  export declare function referencePickerSummary(candidate: ReferencePickerCandidate): ReferencePickerSelectionSummary;
114
- export declare function referencePickerDisplayTitle(candidate: Pick<ReferencePickerCandidate, 'title' | 'subtitle' | 'titleText'>, language?: LanguageContext): string;
118
+ export declare function referencePickerDisplayTitle(candidate: Pick<ReferencePickerCandidate, 'title' | 'subtitle' | 'titleText' | 'titleContent' | 'subtitleContent'>, language?: LanguageContext): string;
@@ -1,3 +1,4 @@
1
+ import type { BusinessContentTextPresentation, TextPresentation } from '../web-contracts/index';
1
2
  /**
2
3
  * An authorized, source-owned record projection for a lazily loaded tree selector.
3
4
  * The component deliberately does not infer a parent, tenant, or module from this shape.
@@ -5,6 +6,9 @@
5
6
  export interface ScopedTreePickerCandidate {
6
7
  id: string;
7
8
  title: string;
9
+ titleText?: TextPresentation;
10
+ titleContent?: BusinessContentTextPresentation;
11
+ subtitleContent?: BusinessContentTextPresentation;
8
12
  /** A provider may return a path, code, or scope summary to disambiguate equal titles. */
9
13
  subtitle?: string;
10
14
  /** False keeps the item expandable and asks the provider for children when it is expanded. */
@@ -0,0 +1,36 @@
1
+ import { type LanguageContext, type ModuleContext } from '../web-core/index';
2
+ import type { BusinessCodeFieldState } from '../web-contracts/index';
3
+ import type { RecordFormFieldDescriptor, RecordFormFieldState, RecordFormRecord } from './recordFormFieldModel';
4
+ /** Candidates live here, separate from the mutation draft and from user-entered manual codes. */
5
+ export declare function useBusinessCodeForm(options: {
6
+ record: () => RecordFormRecord;
7
+ parent: () => RecordFormRecord | undefined;
8
+ context: () => ModuleContext<unknown> | undefined;
9
+ entityAlias: () => string | undefined;
10
+ fields: () => Map<string, RecordFormFieldDescriptor> | undefined;
11
+ fieldNames: () => string[];
12
+ mode: () => 'create' | 'edit' | 'view';
13
+ session: () => string | number | undefined;
14
+ language: LanguageContext;
15
+ }): {
16
+ field: (base: RecordFormFieldState) => RecordFormFieldState;
17
+ errorOf: (name: string) => string | undefined;
18
+ policies: import("vue").Ref<Map<string, {
19
+ fieldName: string;
20
+ mode?: "AUTO" | "MANUAL" | "AUTO_WITH_MANUAL_EDIT" | null | undefined;
21
+ trigger: "SAVE" | "EXPLICIT";
22
+ readOnly: boolean;
23
+ configured: boolean;
24
+ preview?: string | null | undefined;
25
+ }> & Omit<Map<string, BusinessCodeFieldState>, keyof Map<any, any>>, Map<string, BusinessCodeFieldState> | (Map<string, {
26
+ fieldName: string;
27
+ mode?: "AUTO" | "MANUAL" | "AUTO_WITH_MANUAL_EDIT" | null | undefined;
28
+ trigger: "SAVE" | "EXPLICIT";
29
+ readOnly: boolean;
30
+ configured: boolean;
31
+ preview?: string | null | undefined;
32
+ }> & Omit<Map<string, BusinessCodeFieldState>, keyof Map<any, any>>)>;
33
+ loading: import("vue").Ref<boolean, boolean>;
34
+ error: import("vue").Ref<string, string>;
35
+ retry: () => Promise<void>;
36
+ };
@@ -3,6 +3,8 @@ import { type AssistantTurnRequester, type AssistantWorkspaceContribution, type
3
3
  import type { WorkbenchRealtimeStatus } from './realtimeStatus';
4
4
  type __VLS_Props = {
5
5
  startup?: WorkbenchStartupState;
6
+ /** Employee name from the host-owned current-user profile. */
7
+ currentUserEmployeeName?: string;
6
8
  loading?: boolean;
7
9
  error?: string;
8
10
  activeTabKey?: string;
@@ -11,20 +13,27 @@ type __VLS_Props = {
11
13
  themeAppearance?: 'light' | 'dark';
12
14
  constructionPlanClient?: ConstructionPlanClient;
13
15
  assistantConversationClient?: AssistantConversationClient;
16
+ /** Trusted backend availability for the current identity; unknown defaults to unavailable. */
17
+ assistantAvailable?: boolean;
14
18
  assistantRequestTurn?: AssistantTurnRequester;
15
19
  assistantWorkspaceContribution?: AssistantWorkspaceContribution;
16
20
  assistantWaitForPageReady?: () => Promise<string>;
17
21
  };
18
- declare var __VLS_109: {
22
+ declare var __VLS_53: {
23
+ currentUser?: import("../web-contracts/index").CurrentUser;
24
+ }, __VLS_90: {
19
25
  activeTab: MenuTab;
20
26
  target: MenuNavigationTarget | undefined;
21
27
  pageDescriptor: PageDescriptor | undefined;
22
28
  };
23
29
  type __VLS_Slots = {} & {
24
- default?: (props: typeof __VLS_109) => any;
30
+ 'topbar-actions'?: (props: typeof __VLS_53) => any;
31
+ } & {
32
+ default?: (props: typeof __VLS_90) => any;
25
33
  };
26
34
  declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
27
35
  closeTabs: (keys: string[]) => any;
36
+ userCommand: (key: string) => any;
28
37
  selectMenu: (menu: MenuRecord, target: MenuNavigationTarget) => any;
29
38
  invalidMenu: (menu: MenuRecord) => any;
30
39
  changeTab: (key: string) => any;
@@ -34,9 +43,9 @@ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {},
34
43
  refreshPage: (key: string) => any;
35
44
  retryLoad: () => any;
36
45
  "update:activeTabKey": (key: string) => any;
37
- userCommand: (key: string) => any;
38
46
  }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
39
47
  onCloseTabs?: ((keys: string[]) => any) | undefined;
48
+ onUserCommand?: ((key: string) => any) | undefined;
40
49
  onSelectMenu?: ((menu: MenuRecord, target: MenuNavigationTarget) => any) | undefined;
41
50
  onInvalidMenu?: ((menu: MenuRecord) => any) | undefined;
42
51
  onChangeTab?: ((key: string) => any) | undefined;
@@ -46,10 +55,10 @@ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {},
46
55
  onRefreshPage?: ((key: string) => any) | undefined;
47
56
  onRetryLoad?: (() => any) | undefined;
48
57
  "onUpdate:activeTabKey"?: ((key: string) => any) | undefined;
49
- onUserCommand?: ((key: string) => any) | undefined;
50
58
  }>, {
51
59
  error: string;
52
60
  loading: boolean;
61
+ assistantAvailable: boolean;
53
62
  realtimeStatus: WorkbenchRealtimeStatus;
54
63
  startup: WorkbenchStartupState;
55
64
  activeTabKey: string;
@@ -0,0 +1,28 @@
1
+ import type { CurrentUser } from '../web-contracts/index';
2
+ type __VLS_Props = {
3
+ currentUser?: CurrentUser;
4
+ employeeName?: string;
5
+ assistantAvailable: boolean;
6
+ assistantOpen: boolean;
7
+ };
8
+ type __VLS_Slots = {
9
+ /** Host-owned global actions, rendered immediately before the account menu. */
10
+ 'topbar-actions'(props: {
11
+ currentUser?: CurrentUser;
12
+ }): unknown;
13
+ };
14
+ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
15
+ toggleAssistant: () => any;
16
+ userCommand: (key: string) => any;
17
+ }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
18
+ onToggleAssistant?: (() => any) | undefined;
19
+ onUserCommand?: ((key: string) => any) | undefined;
20
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
21
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
22
+ declare const _default: typeof __VLS_export;
23
+ export default _default;
24
+ type __VLS_WithSlots<T, S> = T & {
25
+ new (): {
26
+ $slots: S;
27
+ };
28
+ };
@@ -0,0 +1,11 @@
1
+ type __VLS_Props = {
2
+ identityScope?: string;
3
+ open?: boolean;
4
+ };
5
+ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
6
+ "update:open": (open: boolean) => any;
7
+ }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
8
+ "onUpdate:open"?: ((open: boolean) => any) | undefined;
9
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
10
+ declare const _default: typeof __VLS_export;
11
+ export default _default;
@@ -0,0 +1,10 @@
1
+ type __VLS_Props = {
2
+ title: string;
3
+ };
4
+ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
5
+ refresh: () => any;
6
+ }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
7
+ onRefresh?: (() => any) | undefined;
8
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
9
+ declare const _default: typeof __VLS_export;
10
+ export default _default;
@@ -0,0 +1,5 @@
1
+ /** Consecutive ranges preserve configured order when reading down a column, then across columns. */
2
+ export declare function layoutMenuGroups(heights: number[], maxColumns: number, heightBudget: number, gap: number): Array<{
3
+ start: number;
4
+ end: number;
5
+ }>;
@@ -10,7 +10,6 @@ export interface WorkbenchMenuNode {
10
10
  export interface WorkbenchMegaMenuModel {
11
11
  root: WorkbenchMenuNode;
12
12
  groups: WorkbenchMenuNode[];
13
- columns: WorkbenchMenuNode[][];
14
13
  activeDeepRoot?: WorkbenchMenuNode;
15
14
  }
16
15
  export declare function createWorkbenchMenuNodes(nodes: MenuTreeNode[], language?: LanguageContext): WorkbenchMenuNode[];
@@ -18,4 +17,4 @@ export declare function filterWorkbenchMenuNodes(nodes: WorkbenchMenuNode[], key
18
17
  export declare function findWorkbenchMenuPath(nodes: WorkbenchMenuNode[], menuId: string, path?: WorkbenchMenuNode[]): WorkbenchMenuNode[];
19
18
  export declare function findWorkbenchMenuNodeById(nodes: WorkbenchMenuNode[], menuId: string): WorkbenchMenuNode | undefined;
20
19
  export declare function firstDeepRootIdOf(node: WorkbenchMenuNode): string | undefined;
21
- export declare function buildWorkbenchMegaMenuModel(root: WorkbenchMenuNode, activeDeepRootId: string | undefined, columnCount?: number): WorkbenchMegaMenuModel;
20
+ export declare function buildWorkbenchMegaMenuModel(root: WorkbenchMenuNode, activeDeepRootId: string | undefined): WorkbenchMegaMenuModel;
@@ -39,7 +39,7 @@ export declare function useAssistantConversation(props: {
39
39
  enabled: boolean;
40
40
  id: import("vue").Ref<string | undefined, string | undefined>;
41
41
  title: import("vue").ComputedRef<string>;
42
- status: import("vue").Ref<"idle" | "saving" | "saved" | "unsaved" | "restored", "idle" | "saving" | "saved" | "unsaved" | "restored">;
42
+ status: import("vue").Ref<"idle" | "saved" | "saving" | "unsaved" | "restored", "idle" | "saved" | "saving" | "unsaved" | "restored">;
43
43
  saveError: import("vue").ComputedRef<string>;
44
44
  readError: import("vue").ComputedRef<{
45
45
  message: string;
@@ -5,7 +5,7 @@ export declare function useAssistantConversationArchive(client: AssistantConvers
5
5
  enabled: boolean;
6
6
  id: import("vue").Ref<string | undefined, string | undefined>;
7
7
  title: import("vue").ComputedRef<string>;
8
- status: import("vue").Ref<"idle" | "saving" | "saved" | "unsaved" | "restored", "idle" | "saving" | "saved" | "unsaved" | "restored">;
8
+ status: import("vue").Ref<"idle" | "saved" | "saving" | "unsaved" | "restored", "idle" | "saved" | "saving" | "unsaved" | "restored">;
9
9
  saveError: import("vue").ComputedRef<string>;
10
10
  readError: import("vue").ComputedRef<{
11
11
  message: string;
@@ -0,0 +1,7 @@
1
+ import { type LanguageContext } from '../web-core/index';
2
+ /** Preferences restore with the owner, even when its selection controls are still collapsed. */
3
+ export declare function useLanguagePreferenceSelection(context: Pick<LanguageContext, 'languageTag' | 'requestedLanguageTag' | 'selectionRevision' | 'setLanguage'>, identityScope: () => string | undefined, preferenceKey?: string): {
4
+ saving: import("vue").Ref<boolean, boolean>;
5
+ restoreFailed: import("vue").Ref<boolean, boolean>;
6
+ save: (tag?: string) => Promise<void>;
7
+ };
@@ -0,0 +1,8 @@
1
+ type __VLS_Props = {
2
+ moduleAlias?: string;
3
+ moduleTitle?: string;
4
+ embedded?: boolean;
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,17 @@
1
+ import { type CodeRule, type CodeSource, type CodeTrigger } from './codeConfiguration';
2
+ type __VLS_Props = {
3
+ sources: CodeSource[];
4
+ editable: boolean;
5
+ trigger?: CodeTrigger;
6
+ };
7
+ type __VLS_ModelProps = {
8
+ 'rule': CodeRule;
9
+ };
10
+ type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
11
+ declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
12
+ "update:rule": (value: CodeRule) => any;
13
+ }, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
14
+ "onUpdate:rule"?: ((value: CodeRule) => any) | undefined;
15
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
16
+ declare const _default: typeof __VLS_export;
17
+ export default _default;
@@ -33,15 +33,15 @@ type __VLS_Props = {
33
33
  };
34
34
  declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
35
35
  retry: () => any;
36
- move: (index: number, offset: number) => any;
37
- add: (source: PageQuerySummarySource) => any;
38
36
  remove: (index: number) => any;
37
+ add: (source: PageQuerySummarySource) => any;
38
+ move: (index: number, offset: number) => any;
39
39
  update: (index: number, patch: Partial<PageQuerySummary>) => any;
40
40
  }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
41
41
  onRetry?: (() => any) | undefined;
42
- onMove?: ((index: number, offset: number) => any) | undefined;
43
- onAdd?: ((source: PageQuerySummarySource) => any) | undefined;
44
42
  onRemove?: ((index: number) => any) | undefined;
43
+ onAdd?: ((source: PageQuerySummarySource) => any) | undefined;
44
+ onMove?: ((index: number, offset: number) => any) | undefined;
45
45
  onUpdate?: ((index: number, patch: Partial<PageQuerySummary>) => any) | undefined;
46
46
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
47
47
  declare const _default: typeof __VLS_export;
@@ -0,0 +1,28 @@
1
+ import { type ModuleContext } from '../web-core/index';
2
+ import type { FormulaExpressionField } from '../platform-components/formulaExpressionTokens';
3
+ type __VLS_Props = {
4
+ organizationContext?: ModuleContext<Record<string, unknown>>;
5
+ fields: readonly FormulaExpressionField[];
6
+ disabled: boolean;
7
+ invalidPriority: boolean;
8
+ };
9
+ type __VLS_ModelProps = {
10
+ 'organizationId': string;
11
+ 'matchExpression': string;
12
+ 'matchPriority': string;
13
+ 'fallback': boolean;
14
+ };
15
+ type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
16
+ declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
17
+ "update:organizationId": (value: string) => any;
18
+ "update:matchExpression": (value: string) => any;
19
+ "update:matchPriority": (value: string) => any;
20
+ "update:fallback": (value: boolean) => any;
21
+ }, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
22
+ "onUpdate:organizationId"?: ((value: string) => any) | undefined;
23
+ "onUpdate:matchExpression"?: ((value: string) => any) | undefined;
24
+ "onUpdate:matchPriority"?: ((value: string) => any) | undefined;
25
+ "onUpdate:fallback"?: ((value: boolean) => any) | undefined;
26
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
27
+ declare const _default: typeof __VLS_export;
28
+ export default _default;
@@ -0,0 +1,127 @@
1
+ import { type LanguageContext, type HttpClient } from '../web-core/index';
2
+ import type { TextPresentation } from '../web-contracts/index';
3
+ export type CodeMode = 'AUTO' | 'MANUAL' | 'AUTO_WITH_MANUAL_EDIT';
4
+ export type CodeRole = 'PRIMARY' | 'NORMAL';
5
+ export type CodeTrigger = 'SAVE' | 'EXPLICIT';
6
+ export declare const codeSegmentTypes: readonly ["CONSTANT", "FIELD_VALUE", "CONTEXT_VAR", "SYSTEM_TIME", "SEQUENCE", "VALUE_MAPPING", "FORMULA"];
7
+ export type CodeSegmentType = (typeof codeSegmentTypes)[number];
8
+ export interface CodeSource {
9
+ fieldName: string;
10
+ title: string;
11
+ titleText?: TextPresentation;
12
+ ownerTitle?: string | null;
13
+ type: string;
14
+ length?: number | null;
15
+ }
16
+ export declare function codeSourceTitle(source: CodeSource, language?: LanguageContext): string;
17
+ export interface CodeField {
18
+ fieldName: string;
19
+ title: string;
20
+ length?: number | null;
21
+ metadataFieldId?: string | null;
22
+ bindingId?: string | null;
23
+ bindingVersion?: number | null;
24
+ role?: CodeRole | null;
25
+ trigger?: CodeTrigger | null;
26
+ }
27
+ export interface CodeTarget {
28
+ moduleAlias: string;
29
+ moduleTitle?: string;
30
+ moduleTitleText?: TextPresentation;
31
+ entityAlias: string;
32
+ title: string;
33
+ source: 'STATIC' | 'DYNAMIC';
34
+ relationId?: string | null;
35
+ fields: CodeField[];
36
+ sources: CodeSource[];
37
+ }
38
+ export interface CodeConfigurationAvailability {
39
+ configurable: boolean;
40
+ reason?: 'no-model' | 'no-fields' | 'not-declared' | 'unavailable' | null;
41
+ }
42
+ export declare function readCodeConfigurationAvailability(http: HttpClient, moduleAlias: string): Promise<CodeConfigurationAvailability>;
43
+ export interface CodeMapping {
44
+ id?: string;
45
+ version?: number;
46
+ sourceValue: string;
47
+ targetValue: string;
48
+ defaultMapping: boolean;
49
+ enabled: boolean;
50
+ }
51
+ export interface CodeSegment {
52
+ id?: string;
53
+ version?: number;
54
+ segmentType: CodeSegmentType;
55
+ sourceRef?: string | null;
56
+ fixedValue?: string | null;
57
+ formulaExpr?: string | null;
58
+ dateFormat?: string | null;
59
+ length?: number | null;
60
+ padMode?: string;
61
+ padChar?: string | null;
62
+ separator?: string | null;
63
+ sequenceBasis?: boolean;
64
+ nullPolicy?: string;
65
+ truncatePolicy?: string;
66
+ sortOrder: number;
67
+ mappings: CodeMapping[];
68
+ }
69
+ export interface CodeSequencePolicy {
70
+ id?: string;
71
+ version?: number;
72
+ startValue: number | null;
73
+ stepValue: number | null;
74
+ sequenceLength: number | null;
75
+ maxValue?: number | null;
76
+ resetPolicy: string;
77
+ overflowPolicy: string;
78
+ }
79
+ export interface CodeRule {
80
+ id?: string;
81
+ version?: number;
82
+ title: string;
83
+ moduleAlias: string;
84
+ entityAlias: string;
85
+ fieldName: string;
86
+ moduleMetadataFieldId?: string | null;
87
+ metadataFieldId?: string | null;
88
+ fieldRole?: CodeRole;
89
+ fieldTrigger?: CodeTrigger;
90
+ mode: CodeMode;
91
+ enabled: boolean;
92
+ linkedUpdate: boolean;
93
+ allowRecycle: boolean;
94
+ orgScopeType: 'GLOBAL' | 'ORG';
95
+ orgScopeId?: string | null;
96
+ globalDefault: boolean;
97
+ effectiveFrom?: string | null;
98
+ effectiveTo?: string | null;
99
+ segments: CodeSegment[];
100
+ sequencePolicy: CodeSequencePolicy | null;
101
+ }
102
+ export interface CodePreview {
103
+ value: string;
104
+ segments: Array<{
105
+ value: string;
106
+ segmentType: CodeSegmentType;
107
+ }>;
108
+ }
109
+ export declare function newCodeSegment(type?: CodeSegmentType): CodeSegment;
110
+ export declare function newCodeSequence(): CodeSequencePolicy;
111
+ export declare function newCodeRule(target: CodeTarget, field: CodeField): CodeRule;
112
+ /** Match the rule's supported dependency kinds without parsing formula expressions in the browser. */
113
+ export declare function codeRuleSupportsRenumbering(rule: CodeRule): boolean;
114
+ export declare function prepareCodeRule(rule: CodeRule, language?: LanguageContext): CodeRule;
115
+ /** Direct inputs only; formula samples can be added from the source catalog without parsing formulas in the browser. */
116
+ export declare function codeTrialSources(target: CodeTarget, rule?: CodeRule): CodeSource[];
117
+ /** Source types are shared by static Java declarations and dynamic column metadata. */
118
+ export declare function codeTrialSourceKind(source: CodeSource): 'boolean' | 'number' | 'date' | 'datetime' | 'text';
119
+ /** No formula evaluation in the browser; only coerce explicitly entered trial values. */
120
+ export declare function codeTrialContext(sources: readonly CodeSource[], values: Record<string, string>, language?: LanguageContext): Record<string, unknown>;
121
+ export declare function createCodeConfigurationClient(http: HttpClient, language?: LanguageContext): {
122
+ targets: (moduleAlias?: string) => Promise<CodeTarget[]>;
123
+ rules: (target: CodeTarget) => Promise<CodeRule[]>;
124
+ bind(target: CodeTarget, field: CodeField, role: CodeRole | null, trigger: CodeTrigger): Promise<CodeTarget>;
125
+ save(rule: CodeRule): Promise<CodeRule>;
126
+ preview(rule: CodeRule, context: Record<string, unknown>, sequenceValue: number, signal?: AbortSignal): Promise<CodePreview>;
127
+ };
@@ -0,0 +1,5 @@
1
+ export interface CodeConfigurationWorkspaceInput {
2
+ moduleAlias?: string;
3
+ moduleTitle?: string;
4
+ }
5
+ export declare const codeConfigurationWorkspaceView: import("../platform-workbench/workspaceViewContract.ts").WorkspaceViewDefinition<CodeConfigurationWorkspaceInput>;
@@ -348,6 +348,7 @@ export declare function createMetadataEditorSession(source: HttpClient, options:
348
348
  kind: import("./metadataOrchestrationState").MetadataFieldPropertyKind;
349
349
  expectedBindingVersion?: number | undefined;
350
350
  referenceConfig?: {
351
+ candidateSubtitleProjection?: string | null | undefined;
351
352
  targetModuleAlias?: string | undefined;
352
353
  targetMetadataId?: string | undefined;
353
354
  targetKeyField?: string | undefined;
@@ -371,6 +372,7 @@ export declare function createMetadataEditorSession(source: HttpClient, options:
371
372
  kind: import("./metadataOrchestrationState").MetadataFieldPropertyKind;
372
373
  expectedBindingVersion?: number | undefined;
373
374
  referenceConfig?: {
375
+ candidateSubtitleProjection?: string | null | undefined;
374
376
  targetModuleAlias?: string | undefined;
375
377
  targetMetadataId?: string | undefined;
376
378
  targetKeyField?: string | undefined;
@@ -518,6 +520,7 @@ export declare function createMetadataEditorSession(source: HttpClient, options:
518
520
  kind: import("./metadataOrchestrationState").MetadataFieldPropertyKind;
519
521
  expectedBindingVersion?: number | undefined;
520
522
  referenceConfig?: {
523
+ candidateSubtitleProjection?: string | null | undefined;
521
524
  targetModuleAlias?: string | undefined;
522
525
  targetMetadataId?: string | undefined;
523
526
  targetKeyField?: string | undefined;
@@ -541,6 +544,7 @@ export declare function createMetadataEditorSession(source: HttpClient, options:
541
544
  kind: import("./metadataOrchestrationState").MetadataFieldPropertyKind;
542
545
  expectedBindingVersion?: number | undefined;
543
546
  referenceConfig?: {
547
+ candidateSubtitleProjection?: string | null | undefined;
544
548
  targetModuleAlias?: string | undefined;
545
549
  targetMetadataId?: string | undefined;
546
550
  targetKeyField?: string | undefined;
@@ -17,6 +17,7 @@ export type MetadataFieldDraft = Partial<MetadataField>;
17
17
  */
18
18
  export type MetadataFieldPropertyKind = 'BASIC' | 'MODULE_REFERENCE' | 'DICTIONARY' | 'LEGACY_LOCKED';
19
19
  export interface MetadataFieldReferencePropertyConfig {
20
+ candidateSubtitleProjection?: string | null;
20
21
  targetModuleAlias?: string;
21
22
  targetMetadataId?: string;
22
23
  targetKeyField?: string;
@@ -343,6 +344,7 @@ export declare function createMetadataOrchestrationState(language?: LanguageCont
343
344
  kind: MetadataFieldPropertyKind;
344
345
  expectedBindingVersion?: number | undefined;
345
346
  referenceConfig?: {
347
+ candidateSubtitleProjection?: string | null | undefined;
346
348
  targetModuleAlias?: string | undefined;
347
349
  targetMetadataId?: string | undefined;
348
350
  targetKeyField?: string | undefined;
@@ -366,6 +368,7 @@ export declare function createMetadataOrchestrationState(language?: LanguageCont
366
368
  kind: MetadataFieldPropertyKind;
367
369
  expectedBindingVersion?: number | undefined;
368
370
  referenceConfig?: {
371
+ candidateSubtitleProjection?: string | null | undefined;
369
372
  targetModuleAlias?: string | undefined;
370
373
  targetMetadataId?: string | undefined;
371
374
  targetKeyField?: string | undefined;