@ximatai/muyun-web-app 0.26.12 → 0.26.14

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 (152) hide show
  1. package/dist/BusinessActivityLogView-BUg5WTm-.js +16 -0
  2. package/dist/BusinessLogListDrawer-BOTE_7aT.js +825 -0
  3. package/dist/LoginAuditLogView-DBNtvmIy.js +16 -0
  4. package/dist/{ModuleActionManagementView-BHEooZ5L.js → ModuleActionManagementView-Bq1VO51Y.js} +207 -206
  5. package/dist/{ModuleGovernanceView-DB3TWlMy.js → ModuleGovernanceView-B8u4_erd.js} +4036 -3213
  6. package/dist/RequestErrorLogView-BrtH3ptj.js +16 -0
  7. package/dist/RoleDetailWorkspaceView-6LW3tLA1.js +1397 -0
  8. package/dist/RuntimeLogView-s3X5CdHB.js +297 -0
  9. package/dist/index.css +1 -1
  10. package/dist/index.js +499 -469
  11. package/dist/{moduleGovernanceWorkspaceView-C5pqJOEJ.js → moduleGovernanceWorkspaceView-BRgJbUjJ.js} +2 -2
  12. package/dist/platform-components-Dt859Hbr.js +18627 -0
  13. package/dist/platform-workbench-DfqFnlm-.js +14701 -0
  14. package/dist/sse-mGbuCAax.js +187 -0
  15. package/dist/types/consumer/index.d.ts +7 -0
  16. package/dist/types/dynamic-page-runtime/ModulePageBusinessSession.d.ts +2418 -0
  17. package/dist/types/dynamic-page-runtime/ModulePageBusinessState.vue.d.ts +11 -0
  18. package/dist/types/dynamic-page-runtime/ModulePageHost.vue.d.ts +20 -4
  19. package/dist/types/dynamic-page-runtime/ModulePageHostRuntime.vue.d.ts +4643 -0
  20. package/dist/types/dynamic-page-runtime/ModulePageHostSession.vue.d.ts +43 -0
  21. package/dist/types/dynamic-page-runtime/ModulePageRecordContent.vue.d.ts +2 -2
  22. package/dist/types/dynamic-page-runtime/ModuleRecordDetailActions.vue.d.ts +3 -0
  23. package/dist/types/dynamic-page-runtime/ModuleReferenceRecordDetailBrowser.vue.d.ts +42 -0
  24. package/dist/types/dynamic-page-runtime/PageNavigatorExplorer.vue.d.ts +2 -2
  25. package/dist/types/dynamic-page-runtime/RecordFormSurface.vue.d.ts +2 -2
  26. package/dist/types/dynamic-page-runtime/TenantScopeExplorer.vue.d.ts +21 -0
  27. package/dist/types/dynamic-page-runtime/assistantRecordEditorPolicy.d.ts +6 -0
  28. package/dist/types/dynamic-page-runtime/composables/useModulePageActions.d.ts +1 -1
  29. package/dist/types/dynamic-page-runtime/composables/useModulePageDetailActionRuntime.d.ts +5 -0
  30. package/dist/types/dynamic-page-runtime/composables/useModulePageListSession.d.ts +1 -0
  31. package/dist/types/dynamic-page-runtime/composables/useNavigatorRuntime.d.ts +1 -0
  32. package/dist/types/dynamic-page-runtime/composables/useRecordEditingSession.d.ts +2 -0
  33. package/dist/types/dynamic-page-runtime/formActionResult.d.ts +2 -0
  34. package/dist/types/dynamic-page-runtime/index.d.ts +3 -0
  35. package/dist/types/dynamic-page-runtime/inputValidationActionStatus.d.ts +20 -0
  36. package/dist/types/dynamic-page-runtime/modulePageAssistantScope.d.ts +8 -0
  37. package/dist/types/dynamic-page-runtime/modulePageAssistantSurface.d.ts +6 -0
  38. package/dist/types/dynamic-page-runtime/modulePageEnhancements.d.ts +7 -3
  39. package/dist/types/dynamic-page-runtime/modulePageUnsavedState.d.ts +10 -0
  40. package/dist/types/dynamic-page-runtime/recordDetailController.d.ts +1 -0
  41. package/dist/types/dynamic-page-runtime/recordMutationPayload.d.ts +3 -2
  42. package/dist/types/dynamic-page-runtime/referenceRecordProjection.d.ts +6 -0
  43. package/dist/types/dynamic-page-runtime/sessionViewBindings.d.ts +3 -0
  44. package/dist/types/dynamic-page-runtime/sourceReferencePickerConfig.d.ts +26 -0
  45. package/dist/types/dynamic-page-runtime/useModulePageSession.d.ts +1833 -0
  46. package/dist/types/dynamic-page-runtime/useTenantScopeController.d.ts +19 -0
  47. package/dist/types/platform-admin-runtime/WorkspaceViewDrawer.vue.d.ts +5 -0
  48. package/dist/types/platform-admin-runtime/role/roleScopeSelectionClient.d.ts +52 -0
  49. package/dist/types/platform-components/CrudRecordListExplorer.vue.d.ts +13 -2
  50. package/dist/types/platform-components/DictionaryOptionDialog.vue.d.ts +37 -0
  51. package/dist/types/platform-components/DictionaryOptionDialogChoiceList.vue.d.ts +21 -0
  52. package/dist/types/platform-components/DictionaryPicker.vue.d.ts +47 -0
  53. package/dist/types/platform-components/DictionaryRadioGroup.vue.d.ts +20 -0
  54. package/dist/types/platform-components/EmployeePicker.vue.d.ts +40 -0
  55. package/dist/types/platform-components/FileTransferUploader.vue.d.ts +1 -1
  56. package/dist/types/platform-components/ObjectPickerInput.vue.d.ts +34 -0
  57. package/dist/types/platform-components/QueryCriteriaComposer.vue.d.ts +29 -0
  58. package/dist/types/platform-components/QueryCriteriaGroupEditor.vue.d.ts +36 -0
  59. package/dist/types/platform-components/QueryValueEditor.vue.d.ts +33 -0
  60. package/dist/types/platform-components/ReadonlyReferenceValue.vue.d.ts +11 -0
  61. package/dist/types/platform-components/RecordContentSectionHeading.vue.d.ts +4 -2
  62. package/dist/types/platform-components/RecordDetailDrawer.vue.d.ts +8 -3
  63. package/dist/types/platform-components/RecordDetailExtensionSection.vue.d.ts +7 -3
  64. package/dist/types/platform-components/RecordDetailFields.vue.d.ts +4 -6
  65. package/dist/types/platform-components/RecordFormFields.vue.d.ts +6 -6
  66. package/dist/types/platform-components/RecordModeDrawer.vue.d.ts +11 -3
  67. package/dist/types/platform-components/RecordMultiPicker.vue.d.ts +2 -2
  68. package/dist/types/platform-components/RecordPicker.vue.d.ts +2 -2
  69. package/dist/types/platform-components/RecordQueryListCell.vue.d.ts +1 -1
  70. package/dist/types/platform-components/RecordQueryListPanel.vue.d.ts +26 -4
  71. package/dist/types/platform-components/RecordQueryListSurface.vue.d.ts +20 -0
  72. package/dist/types/platform-components/ReferencePicker.vue.d.ts +47 -0
  73. package/dist/types/platform-components/ReferenceRecordDetailBrowser.vue.d.ts +55 -0
  74. package/dist/types/platform-components/ScopedTreePicker.vue.d.ts +31 -0
  75. package/dist/types/platform-components/TreeRecordExplorer.vue.d.ts +5 -2
  76. package/dist/types/platform-components/UserPicker.vue.d.ts +47 -0
  77. package/dist/types/platform-components/dictionaryOptionDialogModel.d.ts +23 -0
  78. package/dist/types/platform-components/employeePickerModel.d.ts +19 -0
  79. package/dist/types/platform-components/identityPickerModel.d.ts +18 -0
  80. package/dist/types/platform-components/index.d.ts +32 -2
  81. package/dist/types/platform-components/optionFieldOptionCache.d.ts +1 -1
  82. package/dist/types/platform-components/queryCriteriaDraft.d.ts +24 -0
  83. package/dist/types/platform-components/queryReferencePickerProvider.d.ts +19 -0
  84. package/dist/types/platform-components/querySettlementController.d.ts +5 -0
  85. package/dist/types/platform-components/readonlyReferenceDisplay.d.ts +19 -0
  86. package/dist/types/platform-components/recordEditorSessionState.d.ts +11 -4
  87. package/dist/types/platform-components/recordFormFieldModel.d.ts +28 -2
  88. package/dist/types/platform-components/recordQueryListColumnModel.d.ts +10 -1
  89. package/dist/types/platform-components/recordQueryListQueryController.d.ts +36 -0
  90. package/dist/types/platform-components/recordTreeQueryController.d.ts +18 -0
  91. package/dist/types/platform-components/referencePickerModel.d.ts +105 -0
  92. package/dist/types/platform-components/referencePickerReadError.d.ts +24 -0
  93. package/dist/types/platform-components/referenceRecordDetailBrowser.d.ts +48 -0
  94. package/dist/types/platform-components/scopedTreePickerModel.d.ts +46 -0
  95. package/dist/types/platform-components/sourceReferencePickerProvider.d.ts +26 -0
  96. package/dist/types/platform-components/staticCrudManagementState.d.ts +7 -6
  97. package/dist/types/platform-components/userPickerModel.d.ts +45 -0
  98. package/dist/types/platform-components/userReferencePicker.d.ts +17 -0
  99. package/dist/types/platform-workbench/AssistantMarkdownContent.vue.d.ts +6 -0
  100. package/dist/types/platform-workbench/AssistantSelectionCard.vue.d.ts +15 -0
  101. package/dist/types/platform-workbench/Workbench.vue.d.ts +7 -2
  102. package/dist/types/platform-workbench/WorkbenchAssistantPanel.vue.d.ts +12 -0
  103. package/dist/types/platform-workbench/assistantMarkdown.d.ts +1 -0
  104. package/dist/types/platform-workbench/index.d.ts +1 -0
  105. package/dist/types/platform-workbench/useWorkspaceViewUnsavedState.d.ts +1 -1
  106. package/dist/types/platform-workbench/workbenchAssistantCapabilities.d.ts +3 -0
  107. package/dist/types/platform-workbench/workspaceViewHost.d.ts +1 -1
  108. package/dist/types/platform-workbench/workspaceViewUnsavedState.d.ts +3 -1
  109. package/dist/types/views/BusinessActivityLogView.vue.d.ts +3 -0
  110. package/dist/types/views/BusinessLogListDrawer.vue.d.ts +9 -0
  111. package/dist/types/views/BusinessLogRetentionControl.vue.d.ts +7 -0
  112. package/dist/types/views/LoginAuditLogView.vue.d.ts +3 -0
  113. package/dist/types/views/RequestErrorLogView.vue.d.ts +3 -0
  114. package/dist/types/views/RuntimeLogView.vue.d.ts +3 -0
  115. package/dist/types/views/businessLogClient.d.ts +88 -0
  116. package/dist/types/views/businessLogRetentionClient.d.ts +25 -0
  117. package/dist/types/views/dictionaryRadioEligibility.d.ts +18 -0
  118. package/dist/types/views/dictionaryRadioFactRequestEpoch.d.ts +10 -0
  119. package/dist/types/views/metadataGovernanceAssistantSurface.d.ts +122 -0
  120. package/dist/types/views/metadataModelChangeSetClient.d.ts +36 -0
  121. package/dist/types/views/metadataModelEditSession.d.ts +10 -1
  122. package/dist/types/views/metadataNaming.d.ts +4 -0
  123. package/dist/types/views/pageCompositionDraftState.d.ts +29 -0
  124. package/dist/types/views/roleDetailWorkspaceSession.d.ts +1 -0
  125. package/dist/types/views/roleGrantClient.d.ts +0 -1
  126. package/dist/types/views/runtimeLogClient.d.ts +12 -0
  127. package/dist/types/views/runtimeLogSse.d.ts +3 -0
  128. package/dist/types/vue-ui-antdv/components/UiDataTable.vue.d.ts +15 -0
  129. package/dist/types/vue-ui-antdv/components/UiSearchInput.vue.d.ts +16 -2
  130. package/dist/types/vue-ui-antdv/components/UiSelect.vue.d.ts +23 -1
  131. package/dist/types/vue-ui-antdv/components/UiSidePanel.vue.d.ts +9 -2
  132. package/dist/types/vue-ui-antdv/components/UiTextArea.vue.d.ts +2 -0
  133. package/dist/types/vue-ui-antdv/components/UiTree.vue.d.ts +1 -1
  134. package/dist/types/vue-ui-antdv/components/UiTreeSelect.vue.d.ts +23 -1
  135. package/dist/types/vue-ui-antdv/drawerDismissal.d.ts +18 -0
  136. package/dist/types/vue-ui-antdv/drawerWidth.d.ts +22 -0
  137. package/dist/types/vue-ui-antdv/index.d.ts +4 -0
  138. package/dist/types/web-contracts/assistant.d.ts +59 -0
  139. package/dist/types/web-contracts/index.d.ts +67 -6
  140. package/dist/types/web-core/assistantRuntime.d.ts +77 -0
  141. package/dist/types/web-core/assistantSurface.d.ts +92 -0
  142. package/dist/types/web-core/assistantTurnClient.d.ts +8 -0
  143. package/dist/types/web-core/http.d.ts +2 -0
  144. package/dist/types/web-core/index.d.ts +4 -0
  145. package/dist/types/web-core/module/moduleContext.d.ts +15 -2
  146. package/dist/types/web-core/module/runtimeContext.d.ts +3 -2
  147. package/dist/types/web-core/module/staticModuleClient.d.ts +5 -1
  148. package/dist/types/web-core/sse.d.ts +9 -0
  149. package/dist/{workspaceViews-DI_1vYX9.js → workspaceViews-DijY4n32.js} +1190 -1085
  150. package/package.json +1 -1
  151. package/dist/RoleDetailWorkspaceView-D6X7pAj5.js +0 -1379
  152. package/dist/platform-workbench-DJj42YQP.js +0 -22911
@@ -36,7 +36,7 @@ declare var __VLS_1: {
36
36
  group: import("../web-contracts/index").FormGroupDescriptor | undefined;
37
37
  }, __VLS_12: {
38
38
  field: RecordFormFieldState;
39
- }, __VLS_146: {
39
+ }, __VLS_196: {
40
40
  field: RecordFormFieldState;
41
41
  };
42
42
  type __VLS_Slots = {} & {
@@ -46,29 +46,29 @@ type __VLS_Slots = {} & {
46
46
  } & {
47
47
  'field-actions'?: (props: typeof __VLS_12) => any;
48
48
  } & {
49
- 'after-field'?: (props: typeof __VLS_146) => any;
49
+ 'after-field'?: (props: typeof __VLS_196) => any;
50
50
  };
51
51
  declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
52
- "update:field": (fieldName: string, value: RecordFormFieldValue) => any;
53
52
  "validity-change": (validity: RecordFormValidity) => any;
53
+ "update:field": (fieldName: string, value: RecordFormFieldValue) => any;
54
54
  "reference-projections-change": (fieldName: string, projections: Record<string, unknown>) => any;
55
55
  }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
56
- "onUpdate:field"?: ((fieldName: string, value: RecordFormFieldValue) => any) | undefined;
57
56
  "onValidity-change"?: ((validity: RecordFormValidity) => any) | undefined;
57
+ "onUpdate:field"?: ((fieldName: string, value: RecordFormFieldValue) => any) | undefined;
58
58
  "onReference-projections-change"?: ((fieldName: string, projections: Record<string, unknown>) => any) | undefined;
59
59
  }>, {
60
60
  disabled: boolean;
61
61
  compact: boolean;
62
62
  fieldNames: string[];
63
63
  fields: Map<string, RecordFormFieldDescriptor>;
64
+ fallback: Record<string, RecordFormFieldFallback>;
64
65
  formSessionKey: string | number;
65
66
  excludeFieldNames: string[];
66
- fallback: Record<string, RecordFormFieldFallback>;
67
- pickerConfigs: Record<string, RecordFormFieldPickerConfig>;
68
67
  optionContext: ModuleContext<unknown>;
69
68
  fileTransferContext: ModuleContext<unknown>;
70
69
  layoutTransitionPrefix: string;
71
70
  optionEntityAlias: string;
71
+ pickerConfigs: Record<string, RecordFormFieldPickerConfig>;
72
72
  validationRequestKey: number;
73
73
  showLabels: boolean;
74
74
  disabledOf: (fieldName: string, field: RecordFormFieldState) => boolean;
@@ -1,18 +1,23 @@
1
- import { type UiSidePanelScope } from '../vue-ui-antdv/index';
1
+ import { type UiDrawerCloseGuard, type UiDrawerDismissal, type UiDrawerWidth, type UiSidePanelScope } from '../vue-ui-antdv/index';
2
2
  import type { DrawerPromotion } from './drawerPromotion';
3
3
  type __VLS_Props = {
4
4
  open: boolean;
5
5
  title: string;
6
6
  container?: HTMLElement | null;
7
+ /** Explicit presentation is needed by embedded record-only surfaces. */
8
+ renderMode?: 'inline' | 'portal';
7
9
  subtitle?: string;
8
- width?: number | string;
10
+ width?: UiDrawerWidth;
9
11
  scope?: UiSidePanelScope;
10
12
  mode: string;
11
13
  viewMode?: string;
12
14
  formModes?: string[];
13
15
  loading?: boolean;
14
16
  loadFailed?: boolean;
17
+ dismissal?: UiDrawerDismissal;
18
+ /** @deprecated Use `dismissal` and `beforeClose`. */
15
19
  closeOnOutside?: boolean;
20
+ beforeClose?: UiDrawerCloseGuard;
16
21
  closeTitle?: string;
17
22
  promotion?: DrawerPromotion;
18
23
  errorTitle?: string;
@@ -61,11 +66,14 @@ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {},
61
66
  onDismissExternalChange?: (() => any) | undefined;
62
67
  }>, {
63
68
  scope: UiSidePanelScope;
64
- width: number | string;
69
+ width: UiDrawerWidth;
65
70
  loading: boolean;
66
71
  subtitle: string;
72
+ dismissal: UiDrawerDismissal;
67
73
  closeOnOutside: boolean;
74
+ beforeClose: UiDrawerCloseGuard;
68
75
  container: HTMLElement | null;
76
+ renderMode: "inline" | "portal";
69
77
  closeTitle: string;
70
78
  promotion: DrawerPromotion;
71
79
  errorTitle: string;
@@ -8,7 +8,7 @@ type __VLS_Props = {
8
8
  loadTree?: () => Promise<WebTreeNode<RecordPickerRecord>[]>;
9
9
  resolveOptions?: (values: string[]) => Promise<RecordPickerRecord[]>;
10
10
  value?: string[];
11
- reloadKey?: number;
11
+ reloadKey?: string | number;
12
12
  mode?: RecordPickerMode;
13
13
  placeholder?: string;
14
14
  disabled?: boolean;
@@ -31,7 +31,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {
31
31
  placeholder: string;
32
32
  allowClear: boolean;
33
33
  filterOption: (record: RecordPickerRecord, keyword: string) => boolean;
34
- reloadKey: number;
34
+ reloadKey: string | number;
35
35
  titleOf: (record: RecordPickerRecord) => string;
36
36
  loadOptions: (keyword: string) => Promise<RecordPickerRecord[]>;
37
37
  loadTree: () => Promise<WebTreeNode<RecordPickerRecord>[]>;
@@ -8,7 +8,7 @@ type __VLS_Props = {
8
8
  loadTree?: () => Promise<WebTreeNode<RecordPickerRecord>[]>;
9
9
  resolveOptions?: (values: string[]) => Promise<RecordPickerRecord[]>;
10
10
  value?: string;
11
- reloadKey?: number;
11
+ reloadKey?: string | number;
12
12
  mode?: RecordPickerMode;
13
13
  placeholder?: string;
14
14
  disabled?: boolean;
@@ -33,7 +33,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {
33
33
  placeholder: string;
34
34
  allowClear: boolean;
35
35
  filterOption: (record: RecordPickerRecord, keyword: string) => boolean;
36
- reloadKey: number;
36
+ reloadKey: string | number;
37
37
  titleOf: (record: RecordPickerRecord) => string;
38
38
  loadOptions: (keyword: string) => Promise<RecordPickerRecord[]>;
39
39
  loadTree: () => Promise<WebTreeNode<RecordPickerRecord>[]>;
@@ -1,4 +1,4 @@
1
- import type { QueryListRecord, RecordQueryListColumn } from './recordQueryListColumnModel';
1
+ import { type QueryListRecord, type RecordQueryListColumn } from './recordQueryListColumnModel';
2
2
  type __VLS_Props = {
3
3
  record: QueryListRecord;
4
4
  column: RecordQueryListColumn;
@@ -1,7 +1,9 @@
1
- import type { QuerySchema, ResolvedPageListPersistentQueryControlDescriptor, ResolvedPageListQuerySummaryDescriptor } from '../web-contracts/index';
1
+ import type { QuerySchema, QuerySchemaField, ResolvedPageListPersistentQueryControlDescriptor, WebQueryRequest, ResolvedPageListQuerySummaryDescriptor } from '../web-contracts/index';
2
2
  import { type ModuleContext } from '../web-core/index';
3
+ import type { ReferencePickerConfig } from './referencePickerModel';
3
4
  import { type RecordActionItem, type ResolvedRecordActionItem } from './recordActionBarModel';
4
5
  import { type QueryListRecord, type RecordQueryListCellComponent, type RecordQueryListColumn, type RecordQueryListMode, type StandardCrudRowActionKey } from './recordQueryListColumnModel';
6
+ import type { RecordQueryListQueryController } from './recordQueryListQueryController';
5
7
  export type { QueryListRecord, RecordQueryListCellComponent, RecordQueryListColumn, RecordQueryListMode, StandardCrudRowActionKey, } from './recordQueryListColumnModel';
6
8
  declare const _default: typeof __VLS_export;
7
9
  export default _default;
@@ -56,10 +58,14 @@ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
56
58
  queryTemplateId?: string;
57
59
  /** A source-owned query schema avoids forcing embedded relation lists through target-module access. */
58
60
  querySchema?: QuerySchema;
61
+ /** Allows a source surface to supply semantic user candidates for a query field. */
62
+ referencePickerOf?: (field: QuerySchemaField) => ReferencePickerConfig | undefined;
59
63
  /** Read-only relation runners may deliberately suppress ad-hoc query controls. */
60
64
  queryable?: boolean;
61
65
  /** A relation query can intentionally be a bounded, non-pageable result. */
62
66
  pageable?: boolean;
67
+ /** Opts a standard, paginated flat list into the platform's relative sort interaction. */
68
+ sortable?: boolean;
63
69
  ready?: boolean;
64
70
  externalQueryValues?: Record<string, unknown>;
65
71
  /** Descriptor-owned controls rendered after quick search and before advanced filtering. */
@@ -82,10 +88,13 @@ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
82
88
  rowDblclick: (record: QueryListRecord, event: MouseEvent) => any;
83
89
  rowExpand: (record: QueryListRecord, expanded: boolean) => any;
84
90
  restored: () => any;
91
+ queryControllerChange: (controller: RecordQueryListQueryController | undefined) => any;
85
92
  pageSizeChange: (pageSize: number) => any;
93
+ recordActivate: (record: QueryListRecord, event: MouseEvent) => any;
86
94
  batchAction: (action: RecordActionItem, records: QueryListRecord[], event: MouseEvent, clearSelection: () => void) => any;
87
95
  rowAction: (action: ResolvedRecordActionItem, record: QueryListRecord, event?: MouseEvent | undefined) => any;
88
96
  modeChange: (mode: RecordQueryListMode) => any;
97
+ queried: (request: WebQueryRequest) => any;
89
98
  }, string, import("vue").PublicProps, Readonly<{
90
99
  context: ModuleContext<QueryListRecord>;
91
100
  title: string;
@@ -137,10 +146,14 @@ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
137
146
  queryTemplateId?: string;
138
147
  /** A source-owned query schema avoids forcing embedded relation lists through target-module access. */
139
148
  querySchema?: QuerySchema;
149
+ /** Allows a source surface to supply semantic user candidates for a query field. */
150
+ referencePickerOf?: (field: QuerySchemaField) => ReferencePickerConfig | undefined;
140
151
  /** Read-only relation runners may deliberately suppress ad-hoc query controls. */
141
152
  queryable?: boolean;
142
153
  /** A relation query can intentionally be a bounded, non-pageable result. */
143
154
  pageable?: boolean;
155
+ /** Opts a standard, paginated flat list into the platform's relative sort interaction. */
156
+ sortable?: boolean;
144
157
  ready?: boolean;
145
158
  externalQueryValues?: Record<string, unknown>;
146
159
  /** Descriptor-owned controls rendered after quick search and before advanced filtering. */
@@ -160,10 +173,13 @@ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
160
173
  onRowDblclick?: ((record: QueryListRecord, event: MouseEvent) => any) | undefined;
161
174
  onRowExpand?: ((record: QueryListRecord, expanded: boolean) => any) | undefined;
162
175
  onRestored?: (() => any) | undefined;
176
+ onQueryControllerChange?: ((controller: RecordQueryListQueryController | undefined) => any) | undefined;
163
177
  onPageSizeChange?: ((pageSize: number) => any) | undefined;
178
+ onRecordActivate?: ((record: QueryListRecord, event: MouseEvent) => any) | undefined;
164
179
  onBatchAction?: ((action: RecordActionItem, records: QueryListRecord[], event: MouseEvent, clearSelection: () => void) => any) | undefined;
165
180
  onRowAction?: ((action: ResolvedRecordActionItem, record: QueryListRecord, event?: MouseEvent | undefined) => any) | undefined;
166
181
  onModeChange?: ((mode: RecordQueryListMode) => any) | undefined;
182
+ onQueried?: ((request: WebQueryRequest) => any) | undefined;
167
183
  }>, {
168
184
  uiConfigId: string;
169
185
  mode: RecordQueryListMode;
@@ -187,6 +203,9 @@ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
187
203
  embedded: boolean;
188
204
  pageable: boolean;
189
205
  cellRenderers: Record<string, (record: QueryListRecord) => string>;
206
+ refreshTitle: string;
207
+ refreshable: boolean;
208
+ referencePickerOf: (field: QuerySchemaField) => ReferencePickerConfig | undefined;
190
209
  additionalColumns: Array<RecordQueryListColumn & {
191
210
  before?: string;
192
211
  after?: string;
@@ -203,16 +222,19 @@ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
203
222
  rowActionStateOf: (record: QueryListRecord, action: RecordActionItem) => Partial<RecordActionItem> | undefined;
204
223
  rowActionsTitle: string;
205
224
  rowActionsVisible: boolean;
206
- refreshTitle: string;
207
- refreshable: boolean;
208
225
  showRecycleBin: boolean;
209
226
  querySchema: QuerySchema;
210
227
  queryable: boolean;
211
- persistentQueryControls: ResolvedPageListPersistentQueryControlDescriptor[];
228
+ sortable: boolean;
212
229
  querySummaries: ResolvedPageListQuerySummaryDescriptor[];
213
230
  requiredExternalCriteriaKeys: string[];
214
231
  waitingDescription: string;
215
232
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
233
+ /** Page/list operations rendered left of query controls. */
234
+ operations?: (props: {
235
+ refresh: () => void;
236
+ }) => unknown;
237
+ /** @deprecated Use operations so the slot names the semantic region instead of its visual container. */
216
238
  toolbarActions?: (props: {
217
239
  refresh: () => void;
218
240
  }) => unknown;
@@ -25,12 +25,18 @@ type __VLS_Props = {
25
25
  actionColumnTitle?: string;
26
26
  actionColumnWidth?: string | number;
27
27
  actionColumnFixed?: boolean;
28
+ /** The list owner persists generic row-reorder events. */
29
+ rowDraggable?: boolean;
30
+ rowDragHandleTitle?: string;
28
31
  tableVisible?: boolean;
32
+ conditionsVisible?: boolean;
29
33
  embedded?: boolean;
30
34
  chromeFree?: boolean;
31
35
  /** The surface renders pagination only; its owner keeps query state and data loading. */
32
36
  pageable?: boolean;
33
37
  total?: number;
38
+ /** False when the backend exposes only a lower bound for cursor-backed pagination. */
39
+ totalKnown?: boolean;
34
40
  pageNum?: number;
35
41
  pages?: number;
36
42
  pageSize?: number;
@@ -65,6 +71,11 @@ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {},
65
71
  rowClick: (record: UiDataTableRecord, event: MouseEvent) => any;
66
72
  rowDblclick: (record: UiDataTableRecord, event: MouseEvent) => any;
67
73
  rowExpand: (record: UiDataTableRecord, expanded: boolean) => any;
74
+ rowDrop: (event: {
75
+ source: UiDataTableRecord;
76
+ target: UiDataTableRecord;
77
+ position: "before" | "after";
78
+ }) => any;
68
79
  quickSearch: (value: string) => any;
69
80
  titleAction: () => any;
70
81
  "update:quickSearchValue": (value: string) => any;
@@ -74,6 +85,11 @@ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {},
74
85
  onRowClick?: ((record: UiDataTableRecord, event: MouseEvent) => any) | undefined;
75
86
  onRowDblclick?: ((record: UiDataTableRecord, event: MouseEvent) => any) | undefined;
76
87
  onRowExpand?: ((record: UiDataTableRecord, expanded: boolean) => any) | undefined;
88
+ onRowDrop?: ((event: {
89
+ source: UiDataTableRecord;
90
+ target: UiDataTableRecord;
91
+ position: "before" | "after";
92
+ }) => any) | undefined;
77
93
  onQuickSearch?: ((value: string) => any) | undefined;
78
94
  onTitleAction?: (() => any) | undefined;
79
95
  "onUpdate:quickSearchValue"?: ((value: string) => any) | undefined;
@@ -94,6 +110,8 @@ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {},
94
110
  actionColumnTitle: string;
95
111
  actionColumnWidth: string | number;
96
112
  actionColumnFixed: boolean;
113
+ rowDraggable: boolean;
114
+ rowDragHandleTitle: string;
97
115
  total: number;
98
116
  pageSize: number;
99
117
  pageSizeOptions: number[];
@@ -108,9 +126,11 @@ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {},
108
126
  quickSearchPlaceholder: string;
109
127
  quickSearchDisabled: boolean;
110
128
  tableVisible: boolean;
129
+ conditionsVisible: boolean;
111
130
  embedded: boolean;
112
131
  chromeFree: boolean;
113
132
  pageable: boolean;
133
+ totalKnown: boolean;
114
134
  pages: number;
115
135
  paginationDisabled: boolean;
116
136
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
@@ -0,0 +1,47 @@
1
+ import { type ReferencePickerCandidate, type ReferencePickerColumn, type ReferencePickerId, type ReferencePickerProvider, type ReferencePickerValidity } from './referencePickerModel';
2
+ type __VLS_Props = {
3
+ value?: ReferencePickerId | readonly ReferencePickerId[];
4
+ multiple?: boolean;
5
+ maxSelection?: number;
6
+ provider: ReferencePickerProvider;
7
+ /** Changes in source dependencies or authorization must isolate all remembered candidates. */
8
+ reloadKey?: string | number;
9
+ mode?: 'dialog' | 'dropdown';
10
+ columns?: readonly ReferencePickerColumn[];
11
+ placeholder?: string;
12
+ disabled?: boolean;
13
+ allowClear?: boolean;
14
+ pageSize?: number;
15
+ title?: string;
16
+ searchPlaceholder?: string;
17
+ emptyDescription?: string;
18
+ selectionNoun?: string;
19
+ };
20
+ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
21
+ select: (candidates: ReferencePickerCandidate[]) => any;
22
+ "update:value": (value: string | string[] | undefined) => any;
23
+ "selection-resolved": (candidates: ReferencePickerCandidate[]) => any;
24
+ "validity-change": (validity: ReferencePickerValidity) => any;
25
+ }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
26
+ onSelect?: ((candidates: ReferencePickerCandidate[]) => any) | undefined;
27
+ "onUpdate:value"?: ((value: string | string[] | undefined) => any) | undefined;
28
+ "onSelection-resolved"?: ((candidates: ReferencePickerCandidate[]) => any) | undefined;
29
+ "onValidity-change"?: ((validity: ReferencePickerValidity) => any) | undefined;
30
+ }>, {
31
+ title: string;
32
+ disabled: boolean;
33
+ mode: "dialog" | "dropdown";
34
+ value: ReferencePickerId | readonly ReferencePickerId[];
35
+ placeholder: string;
36
+ allowClear: boolean;
37
+ multiple: boolean;
38
+ reloadKey: string | number;
39
+ emptyDescription: string;
40
+ columns: readonly ReferencePickerColumn[];
41
+ pageSize: number;
42
+ searchPlaceholder: string;
43
+ maxSelection: number;
44
+ selectionNoun: string;
45
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
46
+ declare const _default: typeof __VLS_export;
47
+ export default _default;
@@ -0,0 +1,55 @@
1
+ import type { HttpClient } from '../web-core/index';
2
+ import { type ReferenceRecordDetailMutation, type ReferenceRecordDetailBrowser as ReferenceRecordDetailBrowserState } from './referenceRecordDetailBrowser';
3
+ type __VLS_Props = {
4
+ http?: HttpClient;
5
+ browser?: ReferenceRecordDetailBrowserState;
6
+ inlineAnchor?: boolean;
7
+ };
8
+ declare function reportMutation(mutation: ReferenceRecordDetailMutation): void;
9
+ declare function setBusy(busy: boolean): void;
10
+ declare var __VLS_1: {}, __VLS_3: {
11
+ active: import("./referenceRecordDetailBrowser").ActiveReferenceRecord | undefined;
12
+ context: import("../web-core/index").ModuleContext<import("./recordQueryListColumnModel.ts").QueryListRecord> | undefined;
13
+ record: import("./recordQueryListColumnModel.ts").QueryListRecord | undefined;
14
+ reportMutation: typeof reportMutation;
15
+ setBusy: typeof setBusy;
16
+ close: () => void;
17
+ }, __VLS_14: {
18
+ context: import("../web-core/index").ModuleContext<import("./recordQueryListColumnModel.ts").QueryListRecord> | undefined;
19
+ record: import("./recordQueryListColumnModel.ts").QueryListRecord | undefined;
20
+ reportMutation: typeof reportMutation;
21
+ setBusy: typeof setBusy;
22
+ }, __VLS_31: {
23
+ context: import("../web-core/index").ModuleContext<import("./recordQueryListColumnModel.ts").QueryListRecord>;
24
+ record: import("./recordQueryListColumnModel.ts").QueryListRecord;
25
+ reportMutation: typeof reportMutation;
26
+ setBusy: typeof setBusy;
27
+ };
28
+ type __VLS_Slots = {} & {
29
+ default?: (props: typeof __VLS_1) => any;
30
+ } & {
31
+ 'full-surface'?: (props: typeof __VLS_3) => any;
32
+ } & {
33
+ 'header-actions'?: (props: typeof __VLS_14) => any;
34
+ } & {
35
+ detail?: (props: typeof __VLS_31) => any;
36
+ };
37
+ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {
38
+ browser: ReferenceRecordDetailBrowserState;
39
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
40
+ "record-change": (mutation: ReferenceRecordDetailMutation) => any;
41
+ }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
42
+ "onRecord-change"?: ((mutation: ReferenceRecordDetailMutation) => any) | undefined;
43
+ }>, {
44
+ http: HttpClient;
45
+ browser: ReferenceRecordDetailBrowserState;
46
+ inlineAnchor: boolean;
47
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
48
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
49
+ declare const _default: typeof __VLS_export;
50
+ export default _default;
51
+ type __VLS_WithSlots<T, S> = T & {
52
+ new (): {
53
+ $slots: S;
54
+ };
55
+ };
@@ -0,0 +1,31 @@
1
+ import { type ScopedTreePickerCandidate, type ScopedTreePickerProvider } from './scopedTreePickerModel';
2
+ type __VLS_Props = {
3
+ /** The persisted target identity. The component never persists navigation scope IDs. */
4
+ value?: string;
5
+ provider: ScopedTreePickerProvider;
6
+ placeholder?: string;
7
+ searchPlaceholder?: string;
8
+ title?: string;
9
+ disabled?: boolean;
10
+ /** The host already renders its own compact trigger, so this component only contributes a dialog. */
11
+ inputHidden?: boolean;
12
+ };
13
+ declare function openPicker(value?: string): void;
14
+ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {
15
+ open: typeof openPicker;
16
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
17
+ select: (candidate: ScopedTreePickerCandidate | undefined) => any;
18
+ "update:value": (value: string | undefined) => any;
19
+ }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
20
+ onSelect?: ((candidate: ScopedTreePickerCandidate | undefined) => any) | undefined;
21
+ "onUpdate:value"?: ((value: string | undefined) => any) | undefined;
22
+ }>, {
23
+ title: string;
24
+ disabled: boolean;
25
+ value: string;
26
+ placeholder: string;
27
+ searchPlaceholder: string;
28
+ inputHidden: boolean;
29
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
30
+ declare const _default: typeof __VLS_export;
31
+ export default _default;
@@ -2,6 +2,7 @@ import { type UiRecordInlineAction } from '../vue-ui-antdv/index';
2
2
  import type { ModuleContext } from '../web-core/index';
3
3
  import type { RecordExplorerItemDescriptor } from './recordExplorerItemModel';
4
4
  import { type TreeRecordBase } from './treeRecordModel';
5
+ import type { RecordTreeQueryController } from './recordTreeQueryController';
5
6
  type TreeRecordSearchMode = 'always' | 'collapsible' | 'none';
6
7
  type __VLS_Props = {
7
8
  context: ModuleContext<TreeRecordBase>;
@@ -39,16 +40,18 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {
39
40
  toggleSearch: typeof toggleSearch;
40
41
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
41
42
  action: (action: import("../web-contracts/index").RecordInlineAction, record: TreeRecordBase) => any;
42
- select: (record: TreeRecordBase) => any;
43
+ select: (record: TreeRecordBase, source?: "assistant" | undefined) => any;
43
44
  loaded: (records: TreeRecordBase[]) => any;
44
45
  deselect: () => any;
45
46
  sorted: () => any;
47
+ queryControllerChange: (controller: RecordTreeQueryController | undefined) => any;
46
48
  }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
47
49
  onAction?: ((action: import("../web-contracts/index").RecordInlineAction, record: TreeRecordBase) => any) | undefined;
48
- onSelect?: ((record: TreeRecordBase) => any) | undefined;
50
+ onSelect?: ((record: TreeRecordBase, source?: "assistant" | undefined) => any) | undefined;
49
51
  onLoaded?: ((records: TreeRecordBase[]) => any) | undefined;
50
52
  onDeselect?: (() => any) | undefined;
51
53
  onSorted?: (() => any) | undefined;
54
+ onQueryControllerChange?: ((controller: RecordTreeQueryController | undefined) => any) | undefined;
52
55
  }>, {
53
56
  sortPartitionFields: string[];
54
57
  filterOption: (record: TreeRecordBase, normalizedKeyword: string) => boolean;
@@ -0,0 +1,47 @@
1
+ import type { ReferencePickerSourceIdentity, ReferencePickerValidity } from './referencePickerModel';
2
+ import type { UserAccountId, UserPickerCandidate, UserPickerPageSearch, UserPickerResolver } from './userPickerModel';
3
+ type __VLS_Props = {
4
+ value?: UserAccountId | readonly UserAccountId[];
5
+ multiple?: boolean;
6
+ maxSelection?: number;
7
+ placeholder?: string;
8
+ disabled?: boolean;
9
+ allowClear?: boolean;
10
+ pageSize?: number;
11
+ title?: string;
12
+ searchPlaceholder?: string;
13
+ emptyDescription?: string;
14
+ selectionNoun?: string;
15
+ reloadKey?: string | number;
16
+ /** A caller declares its source purpose; account target identity alone is never a cache scope. */
17
+ sourceIdentity?: ReferencePickerSourceIdentity;
18
+ searchPage: UserPickerPageSearch;
19
+ resolveUsers: UserPickerResolver;
20
+ };
21
+ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
22
+ select: (users: UserPickerCandidate[]) => any;
23
+ "update:value": (value: string | string[] | undefined) => any;
24
+ "selection-resolved": (users: UserPickerCandidate[]) => any;
25
+ "validity-change": (validity: ReferencePickerValidity) => any;
26
+ }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
27
+ onSelect?: ((users: UserPickerCandidate[]) => any) | undefined;
28
+ "onUpdate:value"?: ((value: string | string[] | undefined) => any) | undefined;
29
+ "onSelection-resolved"?: ((users: UserPickerCandidate[]) => any) | undefined;
30
+ "onValidity-change"?: ((validity: ReferencePickerValidity) => any) | undefined;
31
+ }>, {
32
+ title: string;
33
+ disabled: boolean;
34
+ value: UserAccountId | readonly UserAccountId[];
35
+ placeholder: string;
36
+ allowClear: boolean;
37
+ multiple: boolean;
38
+ reloadKey: string | number;
39
+ emptyDescription: string;
40
+ pageSize: number;
41
+ searchPlaceholder: string;
42
+ maxSelection: number;
43
+ selectionNoun: string;
44
+ sourceIdentity: ReferencePickerSourceIdentity;
45
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
46
+ declare const _default: typeof __VLS_export;
47
+ export default _default;
@@ -0,0 +1,23 @@
1
+ import type { Option, OptionItemDescriptor } from '../web-contracts/index';
2
+ export type DictionarySelectionMode = 'SINGLE' | 'MULTIPLE';
3
+ export type DictionaryOptionValue = string | string[] | undefined;
4
+ export interface DictionaryOptionTreeNode {
5
+ value: string;
6
+ title: string;
7
+ disabled?: boolean;
8
+ children?: DictionaryOptionTreeNode[];
9
+ }
10
+ /**
11
+ * Normalizes the persisted dictionary wire value. Dictionary values are always codes;
12
+ * titles are display facts and must never leak into the form draft.
13
+ */
14
+ export declare function dictionaryOptionCodes(value: unknown, selectionMode: DictionarySelectionMode): string[];
15
+ export declare function dictionaryOptionValue(codes: readonly string[], selectionMode: DictionarySelectionMode): DictionaryOptionValue;
16
+ export declare function dictionaryOptionItemsToOptions(items: readonly OptionItemDescriptor[], keyword?: string): Option[];
17
+ /**
18
+ * Retains the parent/child relationship carried by `parentCode`. Missing parents are rendered
19
+ * as an explicit disabled structural node instead of silently promoting their children to roots.
20
+ */
21
+ export declare function dictionaryOptionItemsToTree(items: readonly OptionItemDescriptor[], keyword?: string): DictionaryOptionTreeNode[];
22
+ /** Existing disabled values remain visible, but only enabled option codes can be newly added. */
23
+ export declare function selectableDictionaryCodes(requested: unknown, externalCodes: readonly string[], items: readonly OptionItemDescriptor[], selectionMode: DictionarySelectionMode): string[];
@@ -0,0 +1,19 @@
1
+ import type { IdentityPickerCandidate, IdentityPickerPage, IdentityPickerPageRequest, IdentityPickerPageSearch, IdentityPickerResolver } from './identityPickerModel';
2
+ /** A personnel master-data identity; it is intentionally distinct from a user account ID. */
3
+ export type EmployeeId = string;
4
+ export type EmployeePickerCandidate = IdentityPickerCandidate<EmployeeId>;
5
+ export type EmployeePickerPageRequest = IdentityPickerPageRequest;
6
+ export type EmployeePickerPage = IdentityPickerPage<EmployeeId>;
7
+ export type EmployeePickerPageSearch = IdentityPickerPageSearch<EmployeeId>;
8
+ export type EmployeePickerResolver = IdentityPickerResolver<EmployeeId>;
9
+ /**
10
+ * Source-owned employee delivery. Callers supply the authorized candidate
11
+ * scope; this UI boundary does not read IAM modules or infer tenant scope.
12
+ */
13
+ export interface EmployeePickerConfig {
14
+ title?: string;
15
+ placeholder?: string;
16
+ maxSelection?: number;
17
+ searchPage: EmployeePickerPageSearch;
18
+ resolveEmployees: EmployeePickerResolver;
19
+ }
@@ -0,0 +1,18 @@
1
+ import type { ReferencePickerCandidate } from './referencePickerModel';
2
+ /** Identity aliases retain their distinct IDs while using the common display contract. */
3
+ export interface IdentityPickerCandidate<TId extends string> extends ReferencePickerCandidate {
4
+ id: TId;
5
+ }
6
+ export interface IdentityPickerPageRequest {
7
+ /** Provider-defined search text. The shared panel does not prescribe searchable fields. */
8
+ keyword: string;
9
+ pageNum: number;
10
+ pageSize: number;
11
+ }
12
+ export interface IdentityPickerPage<TId extends string> {
13
+ records: IdentityPickerCandidate<TId>[];
14
+ total: number;
15
+ }
16
+ export type IdentityPickerPageSearch<TId extends string> = (request: IdentityPickerPageRequest) => Promise<IdentityPickerPage<TId>>;
17
+ /** Resolves persisted IDs through the same authorized candidate scope as the page search. */
18
+ export type IdentityPickerResolver<TId extends string> = (ids: TId[]) => Promise<IdentityPickerCandidate<TId>[]>;