@ximatai/muyun-web-app 0.26.18 → 0.26.20

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 (80) hide show
  1. package/dist/{BusinessActivityLogView-CNW817Sf.js → BusinessActivityLogView-BpcmlT8u.js} +2 -2
  2. package/dist/BusinessLogListDrawer-C3EteOgv.js +864 -0
  3. package/dist/CodeConfigurationView-CxqzINb9.js +1667 -0
  4. package/dist/{ConfigurationTranslationView-CbBt5s1q.js → ConfigurationTranslationView-QUeVtdcE.js} +37 -37
  5. package/dist/{LoginAuditLogView-CZF1Jfq_.js → LoginAuditLogView-Cd699_OD.js} +2 -2
  6. package/dist/ModuleActionManagementView-Ct1PqAXF.js +755 -0
  7. package/dist/{ModuleGovernanceView-CcwGyO3x.js → ModuleGovernanceView-CjKt6ryi.js} +2254 -2254
  8. package/dist/{RequestErrorLogView-DpudZrC2.js → RequestErrorLogView-B9sIOhWs.js} +2 -2
  9. package/dist/RoleDetailWorkspaceView-BnBL_Ihe.js +1435 -0
  10. package/dist/{RuntimeLogView-444BL_xs.js → RuntimeLogView-CjV223Pk.js} +70 -70
  11. package/dist/WorkflowAdministrationView-C2jgy4N4.js +650 -0
  12. package/dist/WorkflowConfigurationView-CNXwdgUP.js +980 -0
  13. package/dist/WorkflowWorkbenchView-DdJOTmtG.js +759 -0
  14. package/dist/{codeConfiguration-ChJ6ktRR.js → codeConfiguration-pvXI4qaR.js} +45 -45
  15. package/dist/index.css +1 -1
  16. package/dist/index.js +999 -627
  17. package/dist/{moduleMenuWorkspace-B8DKwC3L.js → moduleMenuWorkspace-D8ih_X-m.js} +204 -204
  18. package/dist/platform-components-DlKD3nyL.js +30676 -0
  19. package/dist/{platform-workbench-BhZPARiH.js → platform-workbench-D5w7Odpt.js} +5246 -5224
  20. package/dist/types/app/executeBusinessNotificationRecordAction.d.ts +7 -0
  21. package/dist/types/consumer/index.d.ts +8 -0
  22. package/dist/types/dynamic-page-runtime/ModulePageHostRuntime.vue.d.ts +3 -3
  23. package/dist/types/dynamic-page-runtime/composables/useModulePageDetailExtensionRuntime.d.ts +1 -0
  24. package/dist/types/dynamic-page-runtime/modulePageEnhancementState.d.ts +5 -0
  25. package/dist/types/dynamic-page-runtime/modulePageEnhancements.d.ts +4 -0
  26. package/dist/types/platform-admin-runtime/workflow/ModuleWorkflowDrawer.vue.d.ts +7 -0
  27. package/dist/types/platform-components/BusinessNotificationPanel.vue.d.ts +5 -3
  28. package/dist/types/platform-components/EmployeePicker.vue.d.ts +1 -1
  29. package/dist/types/platform-components/FormulaExpressionEditor.vue.d.ts +5 -0
  30. package/dist/types/platform-components/QueryCriteriaComposer.vue.d.ts +3 -1
  31. package/dist/types/platform-components/ReadonlyRecordWorkspace.vue.d.ts +56 -0
  32. package/dist/types/platform-components/RecordAdaptiveDetailPanel.vue.d.ts +30 -0
  33. package/dist/types/platform-components/RecordQueryControls.vue.d.ts +21 -0
  34. package/dist/types/platform-components/RecordQueryFieldControls.vue.d.ts +32 -0
  35. package/dist/types/platform-components/RecordQueryListPanel.vue.d.ts +1 -1
  36. package/dist/types/platform-components/RecordQueryListSurface.vue.d.ts +6 -2
  37. package/dist/types/platform-components/ReferencePicker.vue.d.ts +1 -1
  38. package/dist/types/platform-components/UserPicker.vue.d.ts +1 -1
  39. package/dist/types/platform-components/WorkflowBusinessTaskEditor.vue.d.ts +2 -0
  40. package/dist/types/platform-components/WorkflowDesignProperties.vue.d.ts +2 -6
  41. package/dist/types/platform-components/WorkflowDiagram.vue.d.ts +32 -1
  42. package/dist/types/platform-components/formulaExpressionTokens.d.ts +2 -0
  43. package/dist/types/platform-components/formulaExpressionTools.d.ts +6 -0
  44. package/dist/types/platform-components/index.d.ts +3 -0
  45. package/dist/types/platform-components/queryCriteria.d.ts +7 -0
  46. package/dist/types/platform-components/referencePickerModel.d.ts +5 -1
  47. package/dist/types/platform-components/useWorkflowDesignHistory.d.ts +14 -0
  48. package/dist/types/platform-components/useWorkspaceDetailSurface.d.ts +3 -0
  49. package/dist/types/platform-components/workflowDesignClipboard.d.ts +7 -0
  50. package/dist/types/platform-components/workflowPresentation.d.ts +4 -0
  51. package/dist/types/views/WorkflowConfigurationView.vue.d.ts +1 -0
  52. package/dist/types/views/WorkflowDefinitionSettings.vue.d.ts +35 -0
  53. package/dist/types/views/WorkflowSelectionFields.vue.d.ts +2 -4
  54. package/dist/types/views/useWorkflowConfigurationContext.d.ts +49 -0
  55. package/dist/types/views/workflowConfigurationWorkspaceView.d.ts +2 -0
  56. package/dist/types/vue-ui-antdv/components/UiIcon.vue.d.ts +1 -1
  57. package/dist/types/vue-ui-antdv/components/UiRadioGroup.vue.d.ts +4 -0
  58. package/dist/types/vue-ui-antdv/components/UiSidePanel.vue.d.ts +5 -0
  59. package/dist/types/vue-ui-antdv/index.d.ts +1 -0
  60. package/dist/types/vue-ui-antdv/overlayLayers.d.ts +5 -0
  61. package/dist/types/vue-ui-antdv/types.d.ts +2 -0
  62. package/dist/types/web-contracts/index.d.ts +7 -0
  63. package/dist/types/web-contracts/workflow.d.ts +16 -8
  64. package/dist/types/web-core/businessNotifications.d.ts +3 -1
  65. package/dist/types/web-core/index.d.ts +3 -0
  66. package/dist/types/web-core/recordReadEntry.d.ts +23 -0
  67. package/dist/types/web-core/recordReadView.d.ts +28 -0
  68. package/dist/types/web-core/useRecordReadSession.d.ts +27 -0
  69. package/dist/types/web-core/workflow.d.ts +13 -1
  70. package/dist/useWorkflowConfigurationContext-B6Wdt26l.js +66 -0
  71. package/dist/{workspaceViews-DeBqozVb.js → workspaceViews-B9wsCYdy.js} +1510 -930
  72. package/package.json +1 -1
  73. package/dist/BusinessLogListDrawer-YiJxOlnD.js +0 -864
  74. package/dist/CodeConfigurationView-DU8tjPMt.js +0 -1667
  75. package/dist/ModuleActionManagementView-CaiXH1l_.js +0 -755
  76. package/dist/RoleDetailWorkspaceView-DNMGsAJC.js +0 -1435
  77. package/dist/WorkflowAdministrationView-C-VIjvwB.js +0 -650
  78. package/dist/WorkflowConfigurationView-DLFY2x7V.js +0 -1110
  79. package/dist/WorkflowWorkbenchView-Gr02dbBc.js +0 -759
  80. package/dist/platform-components-5AE0j2_3.js +0 -29879
@@ -0,0 +1,7 @@
1
+ import type { WebBusinessNotification, WebBusinessNotificationRecordAction } from '../web-contracts/index';
2
+ /** Confirmation may outlive the notification; check the current fact immediately before dispatch. */
3
+ export declare function executeBusinessNotificationRecordAction(action: WebBusinessNotificationRecordAction, options: {
4
+ current: () => WebBusinessNotification | undefined;
5
+ confirm: () => boolean | Promise<boolean>;
6
+ invoke: () => Promise<unknown>;
7
+ }): Promise<boolean>;
@@ -49,3 +49,11 @@ export type { ReferencePickerReadErrorKind } from '../platform-components/refere
49
49
  export type { ReferencePickerAxisSelection, ReferencePickerBrowseScope, ReferencePickerCandidate, ReferencePickerColumn, ReferencePickerConfig, ReferencePickerId, ReferencePickerNavigationAxis, ReferencePickerNavigationItem, ReferencePickerPage, ReferencePickerPageRequest, ReferencePickerProvider, ReferencePickerSelectionSummary, ReferencePickerSourceIdentity, ReferencePickerTreeNode, ReferencePickerValidity, } from '../platform-components/referencePickerModel';
50
50
  export { UiLanguageProvider, registerUiLanguageLocales } from '../vue-ui-antdv';
51
51
  export { default as LanguageSelector } from '../platform-workbench/LanguageSelector.vue';
52
+ export { ManagementWorkspace, RecordQueryListSurface, RecordQueryListCell, RecordDetailPanel, RecordDetailFields, RecordDetailExtensionSection, useWorkspaceDetailSurface, listDetailWorkspaceMinWidth, resolveRecordQueryListColumns, resolveRecordDetailFields, } from '../platform-components/index';
53
+ export type { RecordFormFieldFallback } from '../platform-components/index';
54
+ export type { QueryListRecord, RecordQueryListColumn, RecordFormFieldDescriptor, } from '../platform-components/index';
55
+ export type { UiDataTableColumn, UiDataTableRecord, UiDataTableSelection } from '../vue-ui-antdv/index';
56
+ export { UiSelect, UiEmpty, UiError } from '../vue-ui-antdv/index';
57
+ export { default as ReadonlyRecordWorkspace } from '../platform-components/ReadonlyRecordWorkspace.vue';
58
+ export { usePageDescriptor, usePageRoute } from '../app/pageRouteContext';
59
+ export type { PageRoute } from '../app/pageRouteContext';
@@ -2869,6 +2869,7 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
2869
2869
  ready: boolean;
2870
2870
  queryTemplateId: string;
2871
2871
  externalQueryValues: Record<string, unknown>;
2872
+ pageSize: number;
2872
2873
  mode: import("../platform-components/index").RecordQueryListMode;
2873
2874
  selectedKey: string;
2874
2875
  reloadKey: number;
@@ -2876,7 +2877,6 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
2876
2877
  rowKey: string;
2877
2878
  expandedRowKeys: string[];
2878
2879
  actionColumnWidth: string | number;
2879
- pageSize: number;
2880
2880
  pageSizeOptions: number[];
2881
2881
  sortable: boolean;
2882
2882
  headerVisible: boolean;
@@ -2994,6 +2994,7 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
2994
2994
  ready: boolean;
2995
2995
  queryTemplateId: string;
2996
2996
  externalQueryValues: Record<string, unknown>;
2997
+ pageSize: number;
2997
2998
  mode: import("../platform-components/index").RecordQueryListMode;
2998
2999
  selectedKey: string;
2999
3000
  reloadKey: number;
@@ -3001,7 +3002,6 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
3001
3002
  rowKey: string;
3002
3003
  expandedRowKeys: string[];
3003
3004
  actionColumnWidth: string | number;
3004
- pageSize: number;
3005
3005
  pageSizeOptions: number[];
3006
3006
  sortable: boolean;
3007
3007
  headerVisible: boolean;
@@ -3130,6 +3130,7 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
3130
3130
  ready: boolean;
3131
3131
  queryTemplateId: string;
3132
3132
  externalQueryValues: Record<string, unknown>;
3133
+ pageSize: number;
3133
3134
  mode: import("../platform-components/index").RecordQueryListMode;
3134
3135
  selectedKey: string;
3135
3136
  reloadKey: number;
@@ -3137,7 +3138,6 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
3137
3138
  rowKey: string;
3138
3139
  expandedRowKeys: string[];
3139
3140
  actionColumnWidth: string | number;
3140
- pageSize: number;
3141
3141
  pageSizeOptions: number[];
3142
3142
  sortable: boolean;
3143
3143
  headerVisible: boolean;
@@ -8,6 +8,7 @@ export interface ModulePageEnhancementDrawerRuntime {
8
8
  operation?: ModulePageDrawerOperation;
9
9
  subtitle?: string;
10
10
  closeBlocked: boolean;
11
+ beforeClose?: () => boolean | Promise<boolean>;
11
12
  }
12
13
  interface Options {
13
14
  module: ModuleContext<QueryListRecord>;
@@ -0,0 +1,5 @@
1
+ import type { ModulePageEnhancement, ModulePageEnhancementRegistry } from './modulePageEnhancements';
2
+ export declare const modulePageEnhancementState: {
3
+ owners: Map<string, readonly ModulePageEnhancement[]>;
4
+ registry: import("vue").ShallowRef<ModulePageEnhancementRegistry | undefined, ModulePageEnhancementRegistry | undefined>;
5
+ };
@@ -349,6 +349,8 @@ export interface ModulePageDrawer {
349
349
  titleKey?: string;
350
350
  title: string;
351
351
  width?: DrawerWidth;
352
+ /** Outside dismissal still goes through the context close guard and busy state. */
353
+ dismissal?: 'explicit' | 'dismissible';
352
354
  /** The component receives only the documented ModulePageDrawerContext prop. */
353
355
  component: Component;
354
356
  }
@@ -385,6 +387,8 @@ export interface ModulePageDrawerContext {
385
387
  refreshDetailExtensions(): void;
386
388
  /** Blocks the drawer shell's close affordances while a contributed operation is in flight. */
387
389
  setCloseBlocked(blocked: boolean): void;
390
+ /** Registers the drawer-owned draft confirmation; all shell and programmatic close requests share it. */
391
+ setBeforeClose(guard?: () => boolean | Promise<boolean>): void;
388
392
  close(): void;
389
393
  reload(): void;
390
394
  /** Replaces contextual actions beside the drawer title; actions are cleared with the drawer. */
@@ -0,0 +1,7 @@
1
+ import type { ModulePageDrawerContext } from '../../dynamic-page-runtime/index';
2
+ type __VLS_Props = {
3
+ context: ModulePageDrawerContext;
4
+ };
5
+ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
6
+ declare const _default: typeof __VLS_export;
7
+ export default _default;
@@ -3,9 +3,9 @@ type __VLS_Props = {
3
3
  notifications: WebBusinessNotification[];
4
4
  /** Allows a consumer to opt an individual card into the optional right-hand attachment area. */
5
5
  hasAccessory?: (notification: WebBusinessNotification) => boolean;
6
- executeAction: (notification: WebBusinessNotification, action: WebBusinessNotificationAction) => void | Promise<void>;
6
+ executeAction: (notification: WebBusinessNotification, action: WebBusinessNotificationAction) => void | boolean | Promise<void | boolean>;
7
7
  };
8
- declare var __VLS_27: {
8
+ declare var __VLS_33: {
9
9
  notification: {
10
10
  title: string;
11
11
  subtitle: string;
@@ -37,12 +37,14 @@ declare var __VLS_27: {
37
37
  id: string;
38
38
  code: string;
39
39
  dismissible: boolean;
40
+ displayPolicy?: "standard" | "persistent";
41
+ expiresAt?: string;
40
42
  tone?: import("../web-contracts/index").WebBusinessNotificationTone;
41
43
  occurredAt?: string;
42
44
  };
43
45
  };
44
46
  type __VLS_Slots = {} & {
45
- accessory?: (props: typeof __VLS_27) => any;
47
+ accessory?: (props: typeof __VLS_33) => any;
46
48
  };
47
49
  declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
48
50
  dismiss: (notificationId: string) => any;
@@ -28,11 +28,11 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {
28
28
  title: string;
29
29
  disabled: boolean;
30
30
  value: EmployeeId | readonly EmployeeId[];
31
+ pageSize: number;
31
32
  placeholder: string;
32
33
  allowClear: boolean;
33
34
  multiple: boolean;
34
35
  reloadKey: string | number;
35
- pageSize: number;
36
36
  maxSelection: number;
37
37
  sourceIdentity: ReferencePickerSourceIdentity;
38
38
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
@@ -1,6 +1,9 @@
1
1
  import type { UiDragSource } from '../vue-ui-antdv/index';
2
2
  import { type FormulaExpressionField, type FormulaExpressionFunction } from './formulaExpressionTokens';
3
+ import type { FormulaExpressionTools } from './formulaExpressionTools';
3
4
  type __VLS_Props = {
5
+ tools?: FormulaExpressionTools;
6
+ booleanResult?: boolean;
4
7
  value: string;
5
8
  fields: readonly FormulaExpressionField[];
6
9
  functions?: readonly FormulaExpressionFunction[];
@@ -48,6 +51,8 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {
48
51
  disabled: boolean;
49
52
  placeholder: string;
50
53
  acceptDrop: (source: UiDragSource) => boolean;
54
+ tools: FormulaExpressionTools;
55
+ booleanResult: boolean;
51
56
  functions: readonly FormulaExpressionFunction[];
52
57
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
53
58
  declare const _default: typeof __VLS_export;
@@ -1,5 +1,5 @@
1
1
  import { type ModuleContext } from '../web-core/index';
2
- import type { Option, QueryCriteriaGroup, QuerySchemaField } from '../web-contracts/index';
2
+ import type { Option, QueryCriteriaGroup, QueryCriteriaNode, QuerySchemaField } from '../web-contracts/index';
3
3
  import type { ReferencePickerConfig, ReferencePickerValidity } from './referencePickerModel';
4
4
  import type { RecordPickerRecord } from './recordPickerConstraints';
5
5
  type __VLS_Props = {
@@ -9,6 +9,8 @@ type __VLS_Props = {
9
9
  referencePickerOf?: (field: QuerySchemaField) => ReferencePickerConfig | undefined;
10
10
  disabled: boolean;
11
11
  composition: 'FLAT_AND' | 'TREE';
12
+ /** Other conditions in the final request share the server's complexity budget. */
13
+ conjuncts?: QueryCriteriaNode[];
12
14
  /** Fields already owned by a persistent control on a flat query surface. */
13
15
  excludedFieldNames?: string[];
14
16
  };
@@ -0,0 +1,56 @@
1
+ import { type RecordReadQuery, type RecordReadView } from '../web-core/index';
2
+ import type { Option, QuerySchemaField } from '../web-contracts/index';
3
+ import type { ReferencePickerConfig } from './referencePickerModel';
4
+ declare const __VLS_export: <TRecord extends Record<string, unknown>>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
5
+ props: import("vue").PublicProps & __VLS_PrettifyLocal<{
6
+ view: RecordReadView<TRecord>;
7
+ query?: RecordReadQuery;
8
+ pageSize?: number;
9
+ quickSearch?: boolean;
10
+ /** Source-authorized option projections; no implicit target CRUD/dictionary requests. */
11
+ queryOptionsByField?: Record<string, Option[]>;
12
+ referencePickerOf?: (field: QuerySchemaField) => ReferencePickerConfig | undefined;
13
+ }> & (typeof globalThis extends {
14
+ __VLS_PROPS_FALLBACK: infer P;
15
+ } ? P : {});
16
+ expose: (exposed: import("vue").ShallowUnwrapRef<{
17
+ refresh: () => Promise<void>;
18
+ closeDetail: () => void;
19
+ }>) => void;
20
+ attrs: any;
21
+ slots: {
22
+ queries?: (props: {}) => any;
23
+ } & {
24
+ operations?: (props: {
25
+ refresh: () => Promise<void>;
26
+ }) => any;
27
+ } & {
28
+ cell?: (props: {
29
+ column: import("./recordQueryListColumnModel").RecordQueryListColumn;
30
+ record: TRecord;
31
+ }) => any;
32
+ } & {
33
+ detail?: (props: {
34
+ record: TRecord;
35
+ detail: Record<string, unknown>;
36
+ refresh: () => Promise<void>;
37
+ }) => any;
38
+ } & {
39
+ detailOperations?: (props: {
40
+ record: TRecord;
41
+ detail: Record<string, unknown>;
42
+ refresh: () => Promise<void>;
43
+ close: () => void;
44
+ }) => any;
45
+ };
46
+ emit: {};
47
+ }>) => import("vue").VNode & {
48
+ __ctx?: Awaited<typeof __VLS_setup>;
49
+ };
50
+ declare const _default: typeof __VLS_export;
51
+ export default _default;
52
+ type __VLS_PrettifyLocal<T> = (T extends any ? {
53
+ [K in keyof T]: T[K];
54
+ } : {
55
+ [K in keyof T as K]: T[K];
56
+ }) & {};
@@ -0,0 +1,30 @@
1
+ import { type UiDrawerWidth, type UiDrawerDismissal } from '../vue-ui-antdv/index';
2
+ type __VLS_Props = {
3
+ open: boolean;
4
+ docked: boolean;
5
+ title: string;
6
+ width?: UiDrawerWidth;
7
+ dismissal?: UiDrawerDismissal;
8
+ };
9
+ declare var __VLS_29: {}, __VLS_32: {};
10
+ type __VLS_Slots = {} & {
11
+ default?: (props: typeof __VLS_29) => any;
12
+ } & {
13
+ operation?: (props: typeof __VLS_32) => any;
14
+ };
15
+ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
16
+ close: () => any;
17
+ }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
18
+ onClose?: (() => any) | undefined;
19
+ }>, {
20
+ width: UiDrawerWidth;
21
+ dismissal: UiDrawerDismissal;
22
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
23
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
24
+ declare const _default: typeof __VLS_export;
25
+ export default _default;
26
+ type __VLS_WithSlots<T, S> = T & {
27
+ new (): {
28
+ $slots: S;
29
+ };
30
+ };
@@ -0,0 +1,21 @@
1
+ import type { QuerySchemaField, WebSort } from '../web-contracts/index';
2
+ type __VLS_Props = {
3
+ sortFields: QuerySchemaField[];
4
+ sorts?: WebSort[];
5
+ sortVisible?: boolean;
6
+ filterVisible: boolean;
7
+ filterTitle: string;
8
+ expanded: boolean;
9
+ count: number;
10
+ disabled: boolean;
11
+ sortDisabled?: boolean;
12
+ };
13
+ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
14
+ toggle: () => any;
15
+ sortChange: (sorts: WebSort[] | undefined) => any;
16
+ }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
17
+ onToggle?: (() => any) | undefined;
18
+ onSortChange?: ((sorts: WebSort[] | undefined) => any) | undefined;
19
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
20
+ declare const _default: typeof __VLS_export;
21
+ export default _default;
@@ -0,0 +1,32 @@
1
+ import { type ModuleContext } from '../web-core/index';
2
+ import type { Option, QueryOperator, QuerySchemaField } from '../web-contracts/index';
3
+ import type { RecordPickerRecord } from './recordPickerConstraints';
4
+ import type { ReferencePickerConfig, ReferencePickerValidity } from './referencePickerModel';
5
+ type __VLS_Props = {
6
+ controls: Array<{
7
+ id: string;
8
+ title: string;
9
+ field?: QuerySchemaField;
10
+ operator: QueryOperator;
11
+ values: unknown[];
12
+ options?: Option[];
13
+ referenceContext?: ModuleContext<RecordPickerRecord>;
14
+ referencePicker?: ReferencePickerConfig;
15
+ }>;
16
+ resetKey: string | number;
17
+ disabled: boolean;
18
+ valid: boolean;
19
+ };
20
+ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
21
+ reset: () => any;
22
+ validity: (id: string, validity: ReferencePickerValidity) => any;
23
+ "update:values": (id: string, values: unknown[]) => any;
24
+ apply: () => any;
25
+ }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
26
+ onReset?: (() => any) | undefined;
27
+ onValidity?: ((id: string, validity: ReferencePickerValidity) => any) | undefined;
28
+ "onUpdate:values"?: ((id: string, values: unknown[]) => any) | undefined;
29
+ onApply?: (() => any) | undefined;
30
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
31
+ declare const _default: typeof __VLS_export;
32
+ export default _default;
@@ -188,6 +188,7 @@ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
188
188
  ready: boolean;
189
189
  queryTemplateId: string;
190
190
  externalQueryValues: Record<string, unknown>;
191
+ pageSize: number;
191
192
  mode: RecordQueryListMode;
192
193
  selectedKey: string;
193
194
  reloadKey: number;
@@ -195,7 +196,6 @@ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
195
196
  rowKey: string;
196
197
  expandedRowKeys: string[];
197
198
  actionColumnWidth: string | number;
198
- pageSize: number;
199
199
  pageSizeOptions: number[];
200
200
  sortable: boolean;
201
201
  headerVisible: boolean;
@@ -29,6 +29,8 @@ type __VLS_Props = {
29
29
  rowDraggable?: boolean;
30
30
  rowDragHandleTitle?: string;
31
31
  tableVisible?: boolean;
32
+ loading?: boolean;
33
+ emptyDescription?: string;
32
34
  conditionsVisible?: boolean;
33
35
  embedded?: boolean;
34
36
  chromeFree?: boolean;
@@ -98,7 +100,11 @@ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {},
98
100
  }>, {
99
101
  title: string;
100
102
  subtitle: string;
103
+ emptyDescription: string;
101
104
  selection: UiDataTableSelection;
105
+ pageNum: number;
106
+ pageSize: number;
107
+ loading: boolean;
102
108
  rowKey: string | ((record: UiDataTableRecord) => string);
103
109
  selectedRowKey: string;
104
110
  expandedRowKeys: string[];
@@ -113,9 +119,7 @@ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {},
113
119
  rowDraggable: boolean;
114
120
  rowDragHandleTitle: string;
115
121
  total: number;
116
- pageSize: number;
117
122
  pageSizeOptions: number[];
118
- pageNum: number;
119
123
  totalKnown: boolean;
120
124
  pages: number;
121
125
  titleActionIcon: UiIconName;
@@ -34,6 +34,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {
34
34
  value: ReferencePickerId | readonly ReferencePickerId[];
35
35
  emptyDescription: string;
36
36
  searchPlaceholder: string;
37
+ pageSize: number;
37
38
  mode: "dialog" | "dropdown";
38
39
  placeholder: string;
39
40
  allowClear: boolean;
@@ -41,7 +42,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {
41
42
  invalid: boolean;
42
43
  reloadKey: string | number;
43
44
  columns: readonly ReferencePickerColumn[];
44
- pageSize: number;
45
45
  maxSelection: number;
46
46
  selectionNoun: string;
47
47
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
@@ -34,11 +34,11 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {
34
34
  value: UserAccountId | readonly UserAccountId[];
35
35
  emptyDescription: string;
36
36
  searchPlaceholder: string;
37
+ pageSize: number;
37
38
  placeholder: string;
38
39
  allowClear: boolean;
39
40
  multiple: boolean;
40
41
  reloadKey: string | number;
41
- pageSize: number;
42
42
  maxSelection: number;
43
43
  selectionNoun: string;
44
44
  sourceIdentity: ReferencePickerSourceIdentity;
@@ -1,4 +1,6 @@
1
+ import type { FormulaExpressionTools } from './formulaExpressionTools';
1
2
  type __VLS_Props = {
3
+ conditionTools?: FormulaExpressionTools;
2
4
  value?: string;
3
5
  moduleAlias: string;
4
6
  disabled?: boolean;
@@ -1,6 +1,8 @@
1
+ import type { FormulaExpressionTools } from './formulaExpressionTools';
1
2
  import type { HttpClient } from '../web-core/index';
2
3
  import type { WorkflowDesign, WorkflowNode, WorkflowRoute, WorkflowConfigurationCatalog } from '../web-contracts/index';
3
4
  type __VLS_Props = {
5
+ conditionTools?: FormulaExpressionTools;
4
6
  design: WorkflowDesign;
5
7
  nodeKey: string;
6
8
  routeKey: string;
@@ -23,18 +25,12 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {
23
25
  "update-node": (patch: Partial<WorkflowNode>) => any;
24
26
  "update-route": (patch: Partial<WorkflowRoute>) => any;
25
27
  "select-route": (key: string) => any;
26
- "remove-node": () => any;
27
- "remove-route": () => any;
28
28
  "append-branch-path": () => any;
29
- "delete-branch": () => any;
30
29
  }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
31
30
  "onUpdate-node"?: ((patch: Partial<WorkflowNode>) => any) | undefined;
32
31
  "onUpdate-route"?: ((patch: Partial<WorkflowRoute>) => any) | undefined;
33
32
  "onSelect-route"?: ((key: string) => any) | undefined;
34
- "onRemove-node"?: (() => any) | undefined;
35
- "onRemove-route"?: (() => any) | undefined;
36
33
  "onAppend-branch-path"?: (() => any) | undefined;
37
- "onDelete-branch"?: (() => any) | undefined;
38
34
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
39
35
  declare const _default: typeof __VLS_export;
40
36
  export default _default;
@@ -3,6 +3,9 @@ type __VLS_Props = {
3
3
  nodes: WorkflowNode[];
4
4
  routes: WorkflowRoute[];
5
5
  selectedNodeKey?: string;
6
+ selectedNodeKeys?: string[];
7
+ canUndo?: boolean;
8
+ canRedo?: boolean;
6
9
  selectedRouteKey?: string;
7
10
  interactive?: boolean;
8
11
  editable?: boolean;
@@ -11,14 +14,42 @@ type __VLS_Props = {
11
14
  /** Detail views keep business facts visible; the designer retains a larger canvas. */
12
15
  presentation?: 'detail' | 'designer';
13
16
  };
14
- declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
17
+ declare var __VLS_1: {}, __VLS_91: {};
18
+ type __VLS_Slots = {} & {
19
+ actions?: (props: typeof __VLS_1) => any;
20
+ } & {
21
+ navigation?: (props: typeof __VLS_91) => any;
22
+ };
23
+ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
15
24
  select: (nodeKey: string) => any;
25
+ copy: (event: ClipboardEvent) => any;
26
+ paste: (event: ClipboardEvent) => any;
16
27
  selectRoute: (routeKey: string) => any;
17
28
  layoutChange: (layoutJson: string) => any;
29
+ selectionChange: (keys: string[]) => any;
30
+ undo: () => any;
31
+ redo: () => any;
32
+ copyShortcut: () => any;
33
+ pasteShortcut: () => any;
34
+ deleteSelection: () => any;
18
35
  }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
19
36
  onSelect?: ((nodeKey: string) => any) | undefined;
37
+ onCopy?: ((event: ClipboardEvent) => any) | undefined;
38
+ onPaste?: ((event: ClipboardEvent) => any) | undefined;
20
39
  onSelectRoute?: ((routeKey: string) => any) | undefined;
21
40
  onLayoutChange?: ((layoutJson: string) => any) | undefined;
41
+ onSelectionChange?: ((keys: string[]) => any) | undefined;
42
+ onUndo?: (() => any) | undefined;
43
+ onRedo?: (() => any) | undefined;
44
+ onCopyShortcut?: (() => any) | undefined;
45
+ onPasteShortcut?: (() => any) | undefined;
46
+ onDeleteSelection?: (() => any) | undefined;
22
47
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
48
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
23
49
  declare const _default: typeof __VLS_export;
24
50
  export default _default;
51
+ type __VLS_WithSlots<T, S> = T & {
52
+ new (): {
53
+ $slots: S;
54
+ };
55
+ };
@@ -7,6 +7,8 @@ export interface FormulaExpressionField {
7
7
  unavailableReason?: string;
8
8
  }
9
9
  export interface FormulaExpressionFunction {
10
+ signature?: string;
11
+ example?: string;
10
12
  name: string;
11
13
  title?: string;
12
14
  description?: string;
@@ -0,0 +1,6 @@
1
+ import type { FormulaExpressionFunction } from './formulaExpressionTokens';
2
+ /** Authoring uses the server parser; this UI never interprets formula source. */
3
+ export interface FormulaExpressionTools {
4
+ loadFunctions(): Promise<readonly FormulaExpressionFunction[]>;
5
+ validate(expression: string): Promise<void>;
6
+ }
@@ -1,4 +1,5 @@
1
1
  export {};
2
+ export type { FormulaExpressionTools } from './formulaExpressionTools';
2
3
  export type { QuerySettlementController } from './querySettlementController';
3
4
  export { default as FormulaExpressionEditor } from './FormulaExpressionEditor.vue';
4
5
  export type { FormulaExpressionField, FormulaExpressionFunction } from './formulaExpressionTokens';
@@ -160,3 +161,5 @@ export { default as WorkflowBusinessTaskEditor } from './WorkflowBusinessTaskEdi
160
161
  export { default as WorkflowDesignProperties } from './WorkflowDesignProperties.vue';
161
162
  export { default as RecordDataExchangeSurface } from './RecordDataExchangeSurface.vue';
162
163
  export { default as TenantScopeExplorer } from './TenantScopeExplorer.vue';
164
+ export { useWorkspaceDetailSurface } from './useWorkspaceDetailSurface';
165
+ export { default as RecordAdaptiveDetailPanel } from './RecordAdaptiveDetailPanel.vue';
@@ -0,0 +1,7 @@
1
+ import type { QueryCriteriaGroup, QueryCriteriaNode } from '../web-contracts/index';
2
+ export declare function criteriaLeafCount(criteria: QueryCriteriaGroup | undefined): number;
3
+ /** Normalize conjunction without adding a level to a standalone group or breaking OR semantics. */
4
+ export declare function conjoinQueryCriteria(nodes: readonly (QueryCriteriaNode | undefined)[]): QueryCriteriaGroup | undefined;
5
+ /** Same root=1, groups-and-conditions budget as the server's QueryCriteria.validate. */
6
+ export declare function queryCriteriaComplexity(criteria: QueryCriteriaGroup | undefined): 'depth' | 'nodes' | undefined;
7
+ export declare function queryCriteriaComplexityMessage(criteria: QueryCriteriaGroup | undefined, language: import('../web-core/index').LanguageContext): string | undefined;
@@ -30,6 +30,7 @@ export interface ReferencePickerCandidate {
30
30
  /** The UI is displaying the persisted identifier because no business title was available. */
31
31
  identifierFallback?: boolean;
32
32
  subtitle?: string;
33
+ /** Displayable history may be retained, but cannot be newly selected when disabled. */
33
34
  disabled?: boolean;
34
35
  unavailable?: boolean;
35
36
  projections?: Readonly<Record<string, unknown>>;
@@ -82,7 +83,10 @@ export interface ReferencePickerProvider<TCandidate extends ReferencePickerCandi
82
83
  loadTree?: (request: {
83
84
  scope: ReferencePickerBrowseScope;
84
85
  }) => Promise<ReferencePickerTreeNode<TCandidate>[]>;
85
- /** Resolves persisted IDs under the source's authorized historical-display scope. */
86
+ /**
87
+ * Resolves persisted IDs under the source's authorized historical-display scope.
88
+ * Mark displayable but no longer selectable history as disabled; omit inaccessible or missing IDs.
89
+ */
86
90
  resolve(ids: ReferencePickerId[]): Promise<TCandidate[]>;
87
91
  }
88
92
  export interface ReferencePickerColumn {
@@ -0,0 +1,14 @@
1
+ import { type Ref } from 'vue';
2
+ import type { WorkflowDesign } from '../web-contracts/index';
3
+ /** The design is authoritative; graph cells and viewport transforms are never history entries. */
4
+ export declare function useWorkflowDesignHistory(design: Ref<WorkflowDesign>, limit?: number): {
5
+ /** An async edit may commit only while this design revision and owning scope remain current. */
6
+ checkpoint(): () => boolean;
7
+ canUndo: import("vue").ComputedRef<boolean>;
8
+ canRedo: import("vue").ComputedRef<boolean>;
9
+ dirty: import("vue").ComputedRef<boolean>;
10
+ undo: () => void;
11
+ redo: () => void;
12
+ markSaved: () => void;
13
+ reset: (value: WorkflowDesign, persisted?: WorkflowDesign) => void;
14
+ };
@@ -0,0 +1,3 @@
1
+ import { type MaybeRefOrGetter } from 'vue';
2
+ /** Hidden workspaces retain their last presentation until they have a real width. */
3
+ export declare function useWorkspaceDetailSurface(host: MaybeRefOrGetter<HTMLElement | undefined>, minimumWidth: MaybeRefOrGetter<number>): import("vue").Ref<boolean, boolean>;
@@ -0,0 +1,7 @@
1
+ import type { WorkflowDesign } from '../web-contracts/index';
2
+ export declare function copyWorkflowFragment(design: WorkflowDesign, selected: string[]): string;
3
+ export declare function pasteWorkflowFragment(design: WorkflowDesign, routeKey: string, text: string, prefix: string): {
4
+ design: WorkflowDesign;
5
+ keys: string[];
6
+ reconfigureSelectorKeys: string[];
7
+ };
@@ -2,6 +2,10 @@ import type { WorkflowNode, WorkflowRoute, WorkflowRenderBundle, WorkflowTaskPre
2
2
  import { type LanguageContext } from '../web-core/index';
3
3
  export declare function workflowTitle(value?: string, language?: LanguageContext): string;
4
4
  export declare function workflowNodePresentation<T extends WorkflowNode>(node: T, language: LanguageContext): T;
5
+ /** Node cards and the canvas share categorical type colors; runtime state has its own styling. */
6
+ export declare function workflowNodeAccent(kind: string): string | undefined;
7
+ /** Configuration and rendering share one presentation of the legacy non-blocking approval mode. */
8
+ export declare function workflowNodeKind(node: Pick<WorkflowNode, 'nodeType' | 'approvalMode'>): string;
5
9
  export declare function sameWorkflowTextSource(current: TextPresentation | undefined, next: TextPresentation | undefined): boolean;
6
10
  /** Frozen declarations refresh text independently of the latest check verdict; captured evidence stays intact. */
7
11
  export declare function refreshWorkflowTaskTextResources(current: WorkflowTaskPreparation, next: WorkflowTaskPreparation): WorkflowTaskPreparation;
@@ -1,6 +1,7 @@
1
1
  type __VLS_Props = {
2
2
  moduleAlias: string;
3
3
  moduleTitle?: string;
4
+ definitionId: string;
4
5
  };
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>;
6
7
  declare const _default: typeof __VLS_export;