@ximatai/muyun-web-app 0.26.16 → 0.26.17

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 (103) hide show
  1. package/dist/{BusinessActivityLogView-DVM_GB5y.js → BusinessActivityLogView-9RrW-RKb.js} +2 -2
  2. package/dist/BusinessLogListDrawer-DYVx9tiQ.js +864 -0
  3. package/dist/{ConfigurationTranslationView-B0FosDyz.js → ConfigurationTranslationView-Bh_ekuMP.js} +40 -40
  4. package/dist/{LoginAuditLogView-3tAozKlC.js → LoginAuditLogView-DG6iBXEn.js} +2 -2
  5. package/dist/ModuleActionManagementView-DgHqhoMN.js +755 -0
  6. package/dist/{ModuleGovernanceView-DsqR_Sj7.js → ModuleGovernanceView-C53RnUzc.js} +2994 -2994
  7. package/dist/{RequestErrorLogView-C4yH-TSX.js → RequestErrorLogView-Ba5p0hLE.js} +2 -2
  8. package/dist/{RoleDetailWorkspaceView-BpOoGUwS.js → RoleDetailWorkspaceView-C3TBqksY.js} +157 -157
  9. package/dist/{RuntimeLogView-CoKKpJ39.js → RuntimeLogView-BFEABm8G.js} +66 -66
  10. package/dist/WorkflowAdministrationView-BOHG2e-I.js +650 -0
  11. package/dist/WorkflowConfigurationView-A0m5tBX9.js +1097 -0
  12. package/dist/WorkflowWorkbenchView-DGpNDt5V.js +759 -0
  13. package/dist/index.css +1 -1
  14. package/dist/index.js +606 -590
  15. package/dist/moduleGovernanceWorkspaceView-DNKzYX0x.js +667 -0
  16. package/dist/{platform-components-Cl5ZZiuU.js → platform-components-BBfyINHa.js} +8858 -6085
  17. package/dist/{platform-workbench-CAHoriIf.js → platform-workbench-C1hmkOUD.js} +6546 -6637
  18. package/dist/types/app/CurrentUserProfileDialog.vue.d.ts +1 -1
  19. package/dist/types/app/useAssistantAvailability.d.ts +8 -0
  20. package/dist/types/app/useCurrentUserProfile.d.ts +12 -0
  21. package/dist/types/app/workbenchRouteSync.d.ts +2 -0
  22. package/dist/types/consumer/AppWorkbenchShell.vue.d.ts +4 -2
  23. package/dist/types/dynamic-page-runtime/ModulePageBusinessSession.d.ts +8 -8
  24. package/dist/types/dynamic-page-runtime/ModulePageHostRuntime.vue.d.ts +208 -92
  25. package/dist/types/dynamic-page-runtime/assistantQueryCapabilities.d.ts +1 -0
  26. package/dist/types/dynamic-page-runtime/composables/useManagedDetailRelationRuntime.d.ts +2 -2
  27. package/dist/types/dynamic-page-runtime/composables/useNavigatorRuntime.d.ts +2 -2
  28. package/dist/types/dynamic-page-runtime/useModulePageSession.d.ts +4 -4
  29. package/dist/types/dynamic-page-runtime/useModuleRecordDataChanges.d.ts +4 -0
  30. package/dist/types/main.d.ts +0 -1
  31. package/dist/types/platform-components/BusinessContentGenerationPanel.vue.d.ts +22 -0
  32. package/dist/types/platform-components/BusinessContentQueryNotice.vue.d.ts +17 -0
  33. package/dist/types/platform-components/CrudRecordListExplorer.vue.d.ts +2 -2
  34. package/dist/types/platform-components/DictionaryOptionDialog.vue.d.ts +4 -4
  35. package/dist/types/platform-components/DictionaryOptionDialogChoiceList.vue.d.ts +1 -1
  36. package/dist/types/platform-components/DictionaryPicker.vue.d.ts +4 -4
  37. package/dist/types/platform-components/ObjectPickerInput.vue.d.ts +2 -2
  38. package/dist/types/platform-components/QueryCriteriaGroupEditor.vue.d.ts +2 -2
  39. package/dist/types/platform-components/RecordContentSourceField.vue.d.ts +22 -0
  40. package/dist/types/platform-components/RecordContentTranslationField.vue.d.ts +26 -0
  41. package/dist/types/platform-components/RecordDataExchangeSurface.vue.d.ts +26 -0
  42. package/dist/types/platform-components/RecordDetailFields.vue.d.ts +3 -2
  43. package/dist/types/platform-components/RecordFormFields.vue.d.ts +3 -2
  44. package/dist/types/platform-components/RecordModeDrawer.vue.d.ts +1 -1
  45. package/dist/types/platform-components/RecordQueryListCell.vue.d.ts +1 -0
  46. package/dist/types/platform-components/RecordQueryListPanel.vue.d.ts +1 -1
  47. package/dist/types/platform-components/RecordQueryListSurface.vue.d.ts +1 -1
  48. package/dist/types/{dynamic-page-runtime/ModuleDataExchangeSurface.vue.d.ts → platform-components/RecordQuerySortSelector.vue.d.ts} +5 -9
  49. package/dist/types/platform-components/RecordRelationValue.vue.d.ts +2 -0
  50. package/dist/types/platform-components/StaticManagementLayout.vue.d.ts +7 -2
  51. package/dist/types/platform-components/WorkflowRecordPanel.vue.d.ts +2 -0
  52. package/dist/types/platform-components/WorkflowTimeline.vue.d.ts +4 -0
  53. package/dist/types/platform-components/crudRecordListModel.d.ts +1 -0
  54. package/dist/types/platform-components/index.d.ts +1 -0
  55. package/dist/types/platform-components/loadExplorerRecords.d.ts +3 -0
  56. package/dist/types/platform-components/recordDetailFieldModel.d.ts +2 -0
  57. package/dist/types/platform-components/recordFormFieldModel.d.ts +2 -0
  58. package/dist/types/platform-components/recordQueryListQueryController.d.ts +2 -0
  59. package/dist/types/platform-components/recordSurfaceActivity.d.ts +3 -0
  60. package/dist/types/platform-components/recycleBinState.d.ts +1 -0
  61. package/dist/types/platform-components/referencePickerModel.d.ts +6 -2
  62. package/dist/types/platform-components/scopedTreePickerModel.d.ts +4 -0
  63. package/dist/types/platform-workbench/Workbench.vue.d.ts +9 -4
  64. package/dist/types/platform-workbench/WorkbenchGlobalTools.vue.d.ts +16 -0
  65. package/dist/types/platform-workbench/WorkbenchLanguageSettings.vue.d.ts +11 -0
  66. package/dist/types/platform-workbench/WorkbenchPageTitle.vue.d.ts +10 -0
  67. package/dist/types/platform-workbench/menuGroupLayout.d.ts +5 -0
  68. package/dist/types/platform-workbench/menuTreeModel.d.ts +1 -2
  69. package/dist/types/platform-workbench/useAssistantConversation.d.ts +1 -1
  70. package/dist/types/platform-workbench/useAssistantConversationArchive.d.ts +1 -1
  71. package/dist/types/platform-workbench/useLanguagePreferenceSelection.d.ts +7 -0
  72. package/dist/types/views/PageQuerySummaryEditor.vue.d.ts +4 -4
  73. package/dist/types/views/WorkflowSelectionFields.vue.d.ts +28 -0
  74. package/dist/types/views/metadataEditorSession.d.ts +4 -0
  75. package/dist/types/views/metadataOrchestrationState.d.ts +3 -0
  76. package/dist/types/views/metadataWorkspace.d.ts +8 -0
  77. package/dist/types/vue-ui-antdv/components/UiDropdown.vue.d.ts +1 -0
  78. package/dist/types/vue-ui-antdv/components/UiIcon.vue.d.ts +1 -1
  79. package/dist/types/vue-ui-antdv/components/UiModal.vue.d.ts +9 -6
  80. package/dist/types/vue-ui-antdv/types.d.ts +2 -0
  81. package/dist/types/vue-ui-antdv/typography.d.ts +25 -0
  82. package/dist/types/web-contracts/index.d.ts +132 -1
  83. package/dist/types/web-contracts/workflow.d.ts +10 -0
  84. package/dist/types/web-core/assistantTurnClient.d.ts +2 -0
  85. package/dist/types/web-core/businessContent.d.ts +38 -0
  86. package/dist/types/web-core/businessContentLanguage.d.ts +18 -0
  87. package/dist/types/web-core/index.d.ts +5 -0
  88. package/dist/types/web-core/languagePreference.d.ts +2 -2
  89. package/dist/types/web-core/module/dataExchangeClient.d.ts +83 -1
  90. package/dist/types/web-core/module/staticModuleClient.d.ts +9 -3
  91. package/dist/types/web-core/presentationTexts.d.ts +5 -0
  92. package/dist/types/web-core/recordReadRefreshGuard.d.ts +7 -0
  93. package/dist/types/web-core/useBusinessContentGenerationBatch.d.ts +36 -0
  94. package/dist/types/web-core/useBusinessContentReading.d.ts +30 -0
  95. package/dist/types/web-core/workflow.d.ts +2 -1
  96. package/dist/{workspaceViews-BIYGPUAO.js → workspaceViews-BpH71LKQ.js} +542 -542
  97. package/package.json +1 -1
  98. package/dist/BusinessLogListDrawer-BciMLY9z.js +0 -864
  99. package/dist/ModuleActionManagementView-CJRNShGg.js +0 -755
  100. package/dist/WorkflowAdministrationView-DmUV6vWS.js +0 -650
  101. package/dist/WorkflowConfigurationView-pghDbWEh.js +0 -975
  102. package/dist/WorkflowWorkbenchView-BwWxyDen.js +0 -747
  103. package/dist/moduleGovernanceWorkspaceView-DGEV3ZyT.js +0 -667
@@ -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. */
@@ -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,23 @@ 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_86: {
19
23
  activeTab: MenuTab;
20
24
  target: MenuNavigationTarget | undefined;
21
25
  pageDescriptor: PageDescriptor | undefined;
22
26
  };
23
27
  type __VLS_Slots = {} & {
24
- default?: (props: typeof __VLS_109) => any;
28
+ default?: (props: typeof __VLS_86) => any;
25
29
  };
26
30
  declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
27
31
  closeTabs: (keys: string[]) => any;
32
+ userCommand: (key: string) => any;
28
33
  selectMenu: (menu: MenuRecord, target: MenuNavigationTarget) => any;
29
34
  invalidMenu: (menu: MenuRecord) => any;
30
35
  changeTab: (key: string) => any;
@@ -34,9 +39,9 @@ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {},
34
39
  refreshPage: (key: string) => any;
35
40
  retryLoad: () => any;
36
41
  "update:activeTabKey": (key: string) => any;
37
- userCommand: (key: string) => any;
38
42
  }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
39
43
  onCloseTabs?: ((keys: string[]) => any) | undefined;
44
+ onUserCommand?: ((key: string) => any) | undefined;
40
45
  onSelectMenu?: ((menu: MenuRecord, target: MenuNavigationTarget) => any) | undefined;
41
46
  onInvalidMenu?: ((menu: MenuRecord) => any) | undefined;
42
47
  onChangeTab?: ((key: string) => any) | undefined;
@@ -46,10 +51,10 @@ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {},
46
51
  onRefreshPage?: ((key: string) => any) | undefined;
47
52
  onRetryLoad?: (() => any) | undefined;
48
53
  "onUpdate:activeTabKey"?: ((key: string) => any) | undefined;
49
- onUserCommand?: ((key: string) => any) | undefined;
50
54
  }>, {
51
55
  error: string;
52
56
  loading: boolean;
57
+ assistantAvailable: boolean;
53
58
  realtimeStatus: WorkbenchRealtimeStatus;
54
59
  startup: WorkbenchStartupState;
55
60
  activeTabKey: string;
@@ -0,0 +1,16 @@
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
+ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
9
+ toggleAssistant: () => any;
10
+ userCommand: (key: string) => any;
11
+ }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
12
+ onToggleAssistant?: (() => any) | undefined;
13
+ onUserCommand?: ((key: string) => any) | undefined;
14
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
15
+ declare const _default: typeof __VLS_export;
16
+ export default _default;
@@ -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
+ };
@@ -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;
@@ -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;
@@ -333,6 +333,7 @@ export declare function createMetadataWorkspace(http: HttpClient, identity: () =
333
333
  kind: import("./metadataOrchestrationState").MetadataFieldPropertyKind;
334
334
  expectedBindingVersion?: number | undefined;
335
335
  referenceConfig?: {
336
+ candidateSubtitleProjection?: string | null | undefined;
336
337
  targetModuleAlias?: string | undefined;
337
338
  targetMetadataId?: string | undefined;
338
339
  targetKeyField?: string | undefined;
@@ -356,6 +357,7 @@ export declare function createMetadataWorkspace(http: HttpClient, identity: () =
356
357
  kind: import("./metadataOrchestrationState").MetadataFieldPropertyKind;
357
358
  expectedBindingVersion?: number | undefined;
358
359
  referenceConfig?: {
360
+ candidateSubtitleProjection?: string | null | undefined;
359
361
  targetModuleAlias?: string | undefined;
360
362
  targetMetadataId?: string | undefined;
361
363
  targetKeyField?: string | undefined;
@@ -503,6 +505,7 @@ export declare function createMetadataWorkspace(http: HttpClient, identity: () =
503
505
  kind: import("./metadataOrchestrationState").MetadataFieldPropertyKind;
504
506
  expectedBindingVersion?: number | undefined;
505
507
  referenceConfig?: {
508
+ candidateSubtitleProjection?: string | null | undefined;
506
509
  targetModuleAlias?: string | undefined;
507
510
  targetMetadataId?: string | undefined;
508
511
  targetKeyField?: string | undefined;
@@ -526,6 +529,7 @@ export declare function createMetadataWorkspace(http: HttpClient, identity: () =
526
529
  kind: import("./metadataOrchestrationState").MetadataFieldPropertyKind;
527
530
  expectedBindingVersion?: number | undefined;
528
531
  referenceConfig?: {
532
+ candidateSubtitleProjection?: string | null | undefined;
529
533
  targetModuleAlias?: string | undefined;
530
534
  targetMetadataId?: string | undefined;
531
535
  targetKeyField?: string | undefined;
@@ -994,6 +998,7 @@ export declare function useMetadataWorkspace(): {
994
998
  kind: import("./metadataOrchestrationState").MetadataFieldPropertyKind;
995
999
  expectedBindingVersion?: number | undefined;
996
1000
  referenceConfig?: {
1001
+ candidateSubtitleProjection?: string | null | undefined;
997
1002
  targetModuleAlias?: string | undefined;
998
1003
  targetMetadataId?: string | undefined;
999
1004
  targetKeyField?: string | undefined;
@@ -1017,6 +1022,7 @@ export declare function useMetadataWorkspace(): {
1017
1022
  kind: import("./metadataOrchestrationState").MetadataFieldPropertyKind;
1018
1023
  expectedBindingVersion?: number | undefined;
1019
1024
  referenceConfig?: {
1025
+ candidateSubtitleProjection?: string | null | undefined;
1020
1026
  targetModuleAlias?: string | undefined;
1021
1027
  targetMetadataId?: string | undefined;
1022
1028
  targetKeyField?: string | undefined;
@@ -1164,6 +1170,7 @@ export declare function useMetadataWorkspace(): {
1164
1170
  kind: import("./metadataOrchestrationState").MetadataFieldPropertyKind;
1165
1171
  expectedBindingVersion?: number | undefined;
1166
1172
  referenceConfig?: {
1173
+ candidateSubtitleProjection?: string | null | undefined;
1167
1174
  targetModuleAlias?: string | undefined;
1168
1175
  targetMetadataId?: string | undefined;
1169
1176
  targetKeyField?: string | undefined;
@@ -1187,6 +1194,7 @@ export declare function useMetadataWorkspace(): {
1187
1194
  kind: import("./metadataOrchestrationState").MetadataFieldPropertyKind;
1188
1195
  expectedBindingVersion?: number | undefined;
1189
1196
  referenceConfig?: {
1197
+ candidateSubtitleProjection?: string | null | undefined;
1190
1198
  targetModuleAlias?: string | undefined;
1191
1199
  targetMetadataId?: string | undefined;
1192
1200
  targetKeyField?: string | undefined;
@@ -8,6 +8,7 @@ type __VLS_Props = {
8
8
  type __VLS_Slots = {
9
9
  default(props: {
10
10
  toggle: () => void;
11
+ open: boolean;
11
12
  }): unknown;
12
13
  };
13
14
  declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
@@ -1,4 +1,4 @@
1
- export type UiIconName = 'app' | 'check' | 'close' | 'delete' | 'download' | 'down' | 'edit' | 'export' | 'eye' | 'eye-off' | 'filter' | 'help' | 'left' | 'lock' | 'menu-collapse' | 'menu-expand' | 'minus' | 'notification' | 'open-in-new' | 'plus' | 'pin-off' | 'pin' | 'power' | 'reload' | 'right' | 'save' | 'search' | 'skin' | 'settings' | 'swap' | 'swap-vertical' | 'user';
1
+ export type UiIconName = 'app' | 'language' | 'assistant' | 'check' | 'close' | 'delete' | 'download' | 'down' | 'edit' | 'export' | 'eye' | 'eye-off' | 'filter' | 'help' | 'left' | 'lock' | 'menu-collapse' | 'menu-expand' | 'minus' | 'notification' | 'open-in-new' | 'plus' | 'pin-off' | 'pin' | 'power' | 'reload' | 'right' | 'save' | 'search' | 'skin' | 'settings' | 'swap' | 'swap-vertical' | 'user';
2
2
  type __VLS_Props = {
3
3
  name: UiIconName;
4
4
  };
@@ -1,3 +1,7 @@
1
+ type __VLS_Slots = {
2
+ default?: () => unknown;
3
+ operation?: () => unknown;
4
+ };
1
5
  type __VLS_Props = {
2
6
  open: boolean;
3
7
  title: string;
@@ -6,18 +10,16 @@ type __VLS_Props = {
6
10
  confirmLoading?: boolean;
7
11
  confirmDisabled?: boolean;
8
12
  closable?: boolean;
13
+ /** Keeps dialog actions reachable while long content scrolls within the viewport. */
14
+ scrollContent?: boolean;
9
15
  width?: number | string;
10
16
  };
11
- declare var __VLS_12: {};
12
- type __VLS_Slots = {} & {
13
- default?: (props: typeof __VLS_12) => any;
14
- };
15
17
  declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
16
- cancel: () => any;
17
18
  confirm: () => any;
19
+ cancel: () => any;
18
20
  }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
19
- onCancel?: (() => any) | undefined;
20
21
  onConfirm?: (() => any) | undefined;
22
+ onCancel?: (() => any) | undefined;
21
23
  }>, {
22
24
  width: number | string;
23
25
  closable: boolean;
@@ -25,6 +27,7 @@ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {},
25
27
  confirmText: string;
26
28
  confirmLoading: boolean;
27
29
  confirmDisabled: boolean;
30
+ scrollContent: boolean;
28
31
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
29
32
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
30
33
  declare const _default: typeof __VLS_export;
@@ -1,3 +1,4 @@
1
+ import type { UiIconName } from './components/UiIcon.vue';
1
2
  import type { RecordInlineAction } from '../web-contracts/index';
2
3
  export type UiDataTableKey = string | number;
3
4
  export type UiDataTableRecord = Record<string, unknown>;
@@ -36,6 +37,7 @@ export interface UiTabItem {
36
37
  pinned?: boolean;
37
38
  }
38
39
  export interface UiDropdownItem {
40
+ iconName?: UiIconName;
39
41
  key: string;
40
42
  title: string;
41
43
  disabled?: boolean;
@@ -0,0 +1,25 @@
1
+ /** Platform text roles are shared by CSS consumers and the UI adapter, independent of skin. */
2
+ export declare const uiTypography: {
3
+ readonly body: {
4
+ readonly fontSize: 13;
5
+ readonly lineHeight: 21;
6
+ };
7
+ readonly helper: {
8
+ readonly fontSize: 12;
9
+ readonly lineHeight: 18;
10
+ };
11
+ readonly section: {
12
+ readonly fontSize: 14;
13
+ readonly lineHeight: 20;
14
+ };
15
+ readonly panel: {
16
+ readonly fontSize: 16;
17
+ readonly lineHeight: 22;
18
+ };
19
+ readonly page: {
20
+ readonly fontSize: 18;
21
+ readonly lineHeight: 26;
22
+ };
23
+ readonly fontFamily: "ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, \"Segoe UI\", sans-serif";
24
+ };
25
+ export declare function typographyCssVariables(): Record<`--muyun-${string}`, string>;
@@ -21,6 +21,20 @@ export interface WebPageResponse<T> {
21
21
  totalKnown: boolean;
22
22
  navigation?: unknown;
23
23
  summaries?: WebListQuerySummaryItem[];
24
+ businessContent?: WebBusinessContentQueryStatus;
25
+ }
26
+ /** Reading metadata is separate from business records and never participates in normal saves. */
27
+ export interface WebBusinessContentQueryStatus {
28
+ language: string;
29
+ missingRecords: number;
30
+ readings: Record<string, Record<string, string>>;
31
+ generationScope?: BusinessContentGenerationSource | null;
32
+ }
33
+ /** Routing facts from the actual authorized query producer, never an execution permission. */
34
+ export interface BusinessContentGenerationSource {
35
+ moduleAlias: string;
36
+ parentId?: string | null;
37
+ relationCode?: string | null;
24
38
  }
25
39
  /** Value of one footer summary for the complete result set of the current list query. */
26
40
  export interface WebListQuerySummaryItem {
@@ -32,6 +46,7 @@ export declare const webDataChangeTypes: {
32
46
  readonly recordUpdated: "record-updated";
33
47
  readonly recordDeleted: "record-deleted";
34
48
  readonly collectionChanged: "collection-changed";
49
+ readonly businessContentChanged: "business-content-changed";
35
50
  };
36
51
  export type WebDataChangeType = (typeof webDataChangeTypes)[keyof typeof webDataChangeTypes];
37
52
  export interface WebDataChange {
@@ -661,7 +676,17 @@ export interface WebReferenceResolveRequest {
661
676
  /** Navigator level in the host page whose source is being queried. */
662
677
  navigatorTargetLevelKey?: string;
663
678
  }
679
+ /** Disposable business reading text, independent of configuration resources and write values. */
680
+ export interface BusinessContentTextPresentation {
681
+ originalText: string;
682
+ readings: Readonly<Record<string, string>>;
683
+ }
684
+ export interface RecordBusinessContentPresentation {
685
+ $contentTexts?: Readonly<Record<string, BusinessContentTextPresentation | readonly (BusinessContentTextPresentation | null)[]>>;
686
+ }
664
687
  export interface WebReferenceResolveItem {
688
+ titleContent?: BusinessContentTextPresentation;
689
+ subtitleContent?: BusinessContentTextPresentation;
665
690
  id: string;
666
691
  title?: string;
667
692
  titleText?: TextPresentation;
@@ -832,7 +857,113 @@ export interface ResolvedFieldControlBindingDescriptor {
832
857
  key: string;
833
858
  valueType: string;
834
859
  }
860
+ export interface BusinessContentField {
861
+ key: string;
862
+ policy: 'KEEP_ORIGINAL' | 'AUTO_TRANSLATE' | 'MANUAL_TRANSLATIONS';
863
+ }
864
+ export interface BusinessContentRevision {
865
+ revisionId?: string;
866
+ sourceKey: string;
867
+ revision: number;
868
+ text: string | null;
869
+ sourceLanguage: string | null;
870
+ authorId: string | null;
871
+ authorName?: string | null;
872
+ createdAt: string;
873
+ authoredAt: string | null;
874
+ revisionAuthorId: string | null;
875
+ revisionAuthorName?: string | null;
876
+ revisionKind: 'ORIGINAL_WRITE' | 'SOURCE_LANGUAGE_CORRECTION' | 'UNTRACKED_BASELINE';
877
+ }
878
+ export interface BusinessContentCurrentSource {
879
+ content: BusinessContentField;
880
+ text: string | null;
881
+ expectedRevision: number | null;
882
+ source: BusinessContentRevision | null;
883
+ }
884
+ export interface BusinessContentSources {
885
+ recordVersion: number | null;
886
+ fields: Record<string, BusinessContentCurrentSource>;
887
+ }
888
+ export interface BusinessContentLanguageInput {
889
+ languageTag: string | null;
890
+ expectedRevision: number | null;
891
+ }
892
+ export interface BusinessContentTranslationRevision {
893
+ revision: number;
894
+ kind: 'MACHINE' | 'DRAFT' | 'CONFIRMED' | 'REMOVED';
895
+ text: string | null;
896
+ authorId: string | null;
897
+ authorName: string | null;
898
+ createdAt: string;
899
+ reviewedDraftRevision: number | null;
900
+ generationReference: string | null;
901
+ }
902
+ export interface BusinessContentReadingField {
903
+ originalText: string | null;
904
+ source: BusinessContentRevision | null;
905
+ text: string | null;
906
+ actualLanguage: string | null;
907
+ originalFallback: boolean;
908
+ translation: BusinessContentTranslationRevision | null;
909
+ humanReviewRequired?: boolean;
910
+ }
911
+ export interface BusinessContentReading {
912
+ recordVersion: number | null;
913
+ language: string;
914
+ fields: Record<string, BusinessContentReadingField>;
915
+ }
916
+ /** Topic status only; carries no model credentials, business source text or execution scope. */
917
+ export interface BusinessContentGenerationStatus {
918
+ state: 'DISABLED' | 'ORIGINAL' | 'SOURCE_UNKNOWN' | 'READY' | 'REMOVED' | 'UNSUPPORTED' | 'UNAVAILABLE' | 'MISSING' | 'PENDING' | 'RUNNING' | 'RETRY' | 'FAILED' | 'CANCELLED' | 'STALE';
919
+ reference: string | null;
920
+ problem: string | null;
921
+ attempts: number;
922
+ retryAt: string | null;
923
+ }
924
+ export interface BusinessContentGenerationBatchCommand {
925
+ ids: string[];
926
+ language: string;
927
+ retry?: boolean;
928
+ includeChildren?: boolean;
929
+ }
930
+ export interface BusinessContentGenerationBatchResult {
931
+ language: string;
932
+ items: Array<{
933
+ recordId: string;
934
+ ownerId: string;
935
+ relationCode: string | null;
936
+ childId: string | null;
937
+ field: string | null;
938
+ status: BusinessContentGenerationStatus;
939
+ }>;
940
+ }
941
+ export interface BusinessContentTranslationMaintenance {
942
+ original: BusinessContentRevision & {
943
+ revisionId: string;
944
+ };
945
+ expectedRevision: number | null;
946
+ draft: BusinessContentTranslationRevision | null;
947
+ confirmed: BusinessContentTranslationRevision | null;
948
+ machine: BusinessContentTranslationRevision | null;
949
+ /** Maintenance reference only; never an effective translation of the current original. */
950
+ previousHuman?: {
951
+ original: BusinessContentRevision & {
952
+ revisionId: string;
953
+ };
954
+ translation: BusinessContentTranslationRevision;
955
+ } | null;
956
+ }
957
+ export interface BusinessContentTranslationChange {
958
+ sourceRevisionId: string;
959
+ sourceRevision: number;
960
+ expectedRevision: number | null;
961
+ text?: string;
962
+ reviewedDraftRevision?: number;
963
+ }
835
964
  export interface ResolvedViewFieldDescriptor {
965
+ /** Producer-owned policy; absent means the field keeps only its original value. */
966
+ content?: BusinessContentField | null;
836
967
  /** Computed values are previews or are unavailable until the next successful save. */
837
968
  calculationTiming?: 'IMMEDIATE' | 'ON_SAVE' | null;
838
969
  inputRequirements?: {
@@ -1677,7 +1808,7 @@ export * from './constructionPlan';
1677
1808
  export type { ConstructionRequirement, ConstructionRequirementEvidence, ConstructionTask, } from './constructionPlan';
1678
1809
  export type { ReferenceTargetFieldCatalog, ReferenceTargetFieldCandidate } from './referenceTarget';
1679
1810
  export * from './operation';
1680
- export type { WorkflowTaskPreparation, WorkflowConfigurationCatalog, WorkflowDefinitionSelection, WorkflowDefinitionCreate, WorkflowAdminInstance, WorkflowAdminTask, WorkflowAdminInstanceQuery, WorkflowAdminHistoryQuery, WorkflowDefinition, WorkflowHistoryInstance, WorkflowVersion, WorkflowNode, WorkflowRoute, WorkflowAddSignExplanation, WorkflowDesign, WorkflowInstance, WorkflowTask, WorkflowEvent, WorkflowAction, WorkflowStatus, WorkflowRenderBundle, WorkflowSubmitPreview, WorkflowBranch, WorkflowWorkbenchCard, WorkflowWorkbenchFilters, } from './workflow';
1811
+ export type { WorkflowTaskPreparation, WorkflowConfigurationCatalog, WorkflowDefinitionSelection, WorkflowDefinitionCreate, WorkflowAdminInstance, WorkflowAdminTask, WorkflowAdminInstanceQuery, WorkflowAdminHistoryQuery, WorkflowDefinition, WorkflowHistoryInstance, WorkflowVersion, WorkflowNode, WorkflowRoute, WorkflowAddSignExplanation, WorkflowDesign, WorkflowInstance, WorkflowRecordInstance, WorkflowTask, WorkflowEvent, WorkflowAction, WorkflowStatus, WorkflowRenderBundle, WorkflowSubmitPreview, WorkflowBranch, WorkflowWorkbenchCard, WorkflowWorkbenchFilters, } from './workflow';
1681
1812
  /** Shared directory labels; titles remain separate from business records and page-specific captions. */
1682
1813
  export interface ModuleTitleView {
1683
1814
  moduleAlias: string;