@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
@@ -15,6 +15,9 @@ export interface PageComposerField {
15
15
  referenceModuleAlias?: string;
16
16
  /** A derived path through a ONE reference is display-only by platform contract. */
17
17
  referenceCardinality?: 'ONE' | 'MANY';
18
+ /** Read-only option facts from the field directory; never persisted into a page revision. */
19
+ optionSourceType?: string;
20
+ optionSelectionMode?: 'SINGLE' | 'MULTIPLE';
18
21
  expandable?: boolean;
19
22
  /** Page-node presentation only; metadata field facts are never copied or edited here. */
20
23
  properties?: PageComposerFieldProperties;
@@ -25,6 +28,8 @@ export interface PageComposerFieldProperties {
25
28
  align?: 'left' | 'center' | 'right';
26
29
  columnSpan?: 1 | 2;
27
30
  readOnly?: boolean;
31
+ /** Optional platform field-control preset selected by this page placement. */
32
+ fieldUiControlAlias?: string;
28
33
  }
29
34
  export type PageQuerySummarySource = 'MATCHED_COUNT' | 'SUM' | 'CONTRIBUTOR' | 'GROUPED';
30
35
  /** A list footer aggregate. Keys are editor-generated and stable across title changes. */
@@ -147,6 +152,8 @@ export declare function createPageCompositionDraftState(): {
147
152
  platformReadOnly?: boolean | undefined;
148
153
  referenceModuleAlias?: string | undefined;
149
154
  referenceCardinality?: "ONE" | "MANY" | undefined;
155
+ optionSourceType?: string | undefined;
156
+ optionSelectionMode?: "SINGLE" | "MULTIPLE" | undefined;
150
157
  expandable?: boolean | undefined;
151
158
  properties?: {
152
159
  label?: string | undefined;
@@ -154,6 +161,7 @@ export declare function createPageCompositionDraftState(): {
154
161
  align?: "left" | "center" | "right" | undefined;
155
162
  columnSpan?: 1 | 2 | undefined;
156
163
  readOnly?: boolean | undefined;
164
+ fieldUiControlAlias?: string | undefined;
157
165
  } | undefined;
158
166
  }[], PageComposerField[] | {
159
167
  id: string;
@@ -166,6 +174,8 @@ export declare function createPageCompositionDraftState(): {
166
174
  platformReadOnly?: boolean | undefined;
167
175
  referenceModuleAlias?: string | undefined;
168
176
  referenceCardinality?: "ONE" | "MANY" | undefined;
177
+ optionSourceType?: string | undefined;
178
+ optionSelectionMode?: "SINGLE" | "MULTIPLE" | undefined;
169
179
  expandable?: boolean | undefined;
170
180
  properties?: {
171
181
  label?: string | undefined;
@@ -173,6 +183,7 @@ export declare function createPageCompositionDraftState(): {
173
183
  align?: "left" | "center" | "right" | undefined;
174
184
  columnSpan?: 1 | 2 | undefined;
175
185
  readOnly?: boolean | undefined;
186
+ fieldUiControlAlias?: string | undefined;
176
187
  } | undefined;
177
188
  }[]>;
178
189
  formFields: import("vue").Ref<{
@@ -186,6 +197,8 @@ export declare function createPageCompositionDraftState(): {
186
197
  platformReadOnly?: boolean | undefined;
187
198
  referenceModuleAlias?: string | undefined;
188
199
  referenceCardinality?: "ONE" | "MANY" | undefined;
200
+ optionSourceType?: string | undefined;
201
+ optionSelectionMode?: "SINGLE" | "MULTIPLE" | undefined;
189
202
  expandable?: boolean | undefined;
190
203
  properties?: {
191
204
  label?: string | undefined;
@@ -193,6 +206,7 @@ export declare function createPageCompositionDraftState(): {
193
206
  align?: "left" | "center" | "right" | undefined;
194
207
  columnSpan?: 1 | 2 | undefined;
195
208
  readOnly?: boolean | undefined;
209
+ fieldUiControlAlias?: string | undefined;
196
210
  } | undefined;
197
211
  }[], PageComposerField[] | {
198
212
  id: string;
@@ -205,6 +219,8 @@ export declare function createPageCompositionDraftState(): {
205
219
  platformReadOnly?: boolean | undefined;
206
220
  referenceModuleAlias?: string | undefined;
207
221
  referenceCardinality?: "ONE" | "MANY" | undefined;
222
+ optionSourceType?: string | undefined;
223
+ optionSelectionMode?: "SINGLE" | "MULTIPLE" | undefined;
208
224
  expandable?: boolean | undefined;
209
225
  properties?: {
210
226
  label?: string | undefined;
@@ -212,6 +228,7 @@ export declare function createPageCompositionDraftState(): {
212
228
  align?: "left" | "center" | "right" | undefined;
213
229
  columnSpan?: 1 | 2 | undefined;
214
230
  readOnly?: boolean | undefined;
231
+ fieldUiControlAlias?: string | undefined;
215
232
  } | undefined;
216
233
  }[]>;
217
234
  formRelations: import("vue").Ref<{
@@ -230,6 +247,8 @@ export declare function createPageCompositionDraftState(): {
230
247
  platformReadOnly?: boolean | undefined;
231
248
  referenceModuleAlias?: string | undefined;
232
249
  referenceCardinality?: "ONE" | "MANY" | undefined;
250
+ optionSourceType?: string | undefined;
251
+ optionSelectionMode?: "SINGLE" | "MULTIPLE" | undefined;
233
252
  expandable?: boolean | undefined;
234
253
  properties?: {
235
254
  label?: string | undefined;
@@ -237,6 +256,7 @@ export declare function createPageCompositionDraftState(): {
237
256
  align?: "left" | "center" | "right" | undefined;
238
257
  columnSpan?: 1 | 2 | undefined;
239
258
  readOnly?: boolean | undefined;
259
+ fieldUiControlAlias?: string | undefined;
240
260
  } | undefined;
241
261
  }[];
242
262
  }[], PageComposerRelation[] | {
@@ -255,6 +275,8 @@ export declare function createPageCompositionDraftState(): {
255
275
  platformReadOnly?: boolean | undefined;
256
276
  referenceModuleAlias?: string | undefined;
257
277
  referenceCardinality?: "ONE" | "MANY" | undefined;
278
+ optionSourceType?: string | undefined;
279
+ optionSelectionMode?: "SINGLE" | "MULTIPLE" | undefined;
258
280
  expandable?: boolean | undefined;
259
281
  properties?: {
260
282
  label?: string | undefined;
@@ -262,6 +284,7 @@ export declare function createPageCompositionDraftState(): {
262
284
  align?: "left" | "center" | "right" | undefined;
263
285
  columnSpan?: 1 | 2 | undefined;
264
286
  readOnly?: boolean | undefined;
287
+ fieldUiControlAlias?: string | undefined;
265
288
  } | undefined;
266
289
  }[];
267
290
  }[]>;
@@ -281,6 +304,8 @@ export declare function createPageCompositionDraftState(): {
281
304
  platformReadOnly?: boolean | undefined;
282
305
  referenceModuleAlias?: string | undefined;
283
306
  referenceCardinality?: "ONE" | "MANY" | undefined;
307
+ optionSourceType?: string | undefined;
308
+ optionSelectionMode?: "SINGLE" | "MULTIPLE" | undefined;
284
309
  expandable?: boolean | undefined;
285
310
  properties?: {
286
311
  label?: string | undefined;
@@ -288,6 +313,7 @@ export declare function createPageCompositionDraftState(): {
288
313
  align?: "left" | "center" | "right" | undefined;
289
314
  columnSpan?: 1 | 2 | undefined;
290
315
  readOnly?: boolean | undefined;
316
+ fieldUiControlAlias?: string | undefined;
291
317
  } | undefined;
292
318
  }[];
293
319
  }[], PageComposerGroup[] | {
@@ -306,6 +332,8 @@ export declare function createPageCompositionDraftState(): {
306
332
  platformReadOnly?: boolean | undefined;
307
333
  referenceModuleAlias?: string | undefined;
308
334
  referenceCardinality?: "ONE" | "MANY" | undefined;
335
+ optionSourceType?: string | undefined;
336
+ optionSelectionMode?: "SINGLE" | "MULTIPLE" | undefined;
309
337
  expandable?: boolean | undefined;
310
338
  properties?: {
311
339
  label?: string | undefined;
@@ -313,6 +341,7 @@ export declare function createPageCompositionDraftState(): {
313
341
  align?: "left" | "center" | "right" | undefined;
314
342
  columnSpan?: 1 | 2 | undefined;
315
343
  readOnly?: boolean | undefined;
344
+ fieldUiControlAlias?: string | undefined;
316
345
  } | undefined;
317
346
  }[];
318
347
  }[]>;
@@ -11,6 +11,7 @@ export interface RoleDetailWorkspaceScope {
11
11
  export interface RoleDetailWorkspaceSession {
12
12
  selectedRole: Role;
13
13
  draft: Partial<Role>;
14
+ draftBaseline: string;
14
15
  scope: RoleDetailWorkspaceScope;
15
16
  mode: 'view' | 'edit';
16
17
  }
@@ -43,7 +43,6 @@ export declare function createRoleGrantClient(http: HttpClient): {
43
43
  accountRoleGrants(roleId: string, targetTenantId?: string): Promise<AccountRoleGrant[]>;
44
44
  grantAccountRole(roleId: string, request: AccountRoleGrantRequest): Promise<string | WebActionResultEnvelope<string>>;
45
45
  deleteAccountRoleGrant(roleId: string, grantId: string, targetTenantId?: string): Promise<number | WebActionResultEnvelope<number>>;
46
- userSelector(request: UserSelectorRequest): Promise<WebPageResponse<UserSelectorItem>>;
47
46
  accountRoleCandidates(roleId: string, request: Omit<UserSelectorRequest, "roleId"> & {
48
47
  targetTenantId?: string;
49
48
  }): Promise<WebPageResponse<UserSelectorItem>>;
@@ -0,0 +1,12 @@
1
+ import { type HttpClient } from '../web-core/index';
2
+ export interface RuntimeLogFile {
3
+ name: string;
4
+ sizeBytes: number;
5
+ lastModifiedAt: string;
6
+ active: boolean;
7
+ }
8
+ export interface RuntimeLogClient {
9
+ download(name: string): Promise<ReadableStream<Uint8Array>>;
10
+ activeStream(tailLines: number, signal?: AbortSignal): Promise<ReadableStream<Uint8Array>>;
11
+ }
12
+ export declare function createRuntimeLogClient(http: HttpClient): RuntimeLogClient;
@@ -0,0 +1,3 @@
1
+ import { createSseParser, type SseEvent } from '../web-core/index';
2
+ export type RuntimeLogSseEvent = SseEvent;
3
+ export declare const createRuntimeLogSseParser: typeof createSseParser;
@@ -18,6 +18,9 @@ type __VLS_Props = {
18
18
  actionColumnWidth?: string | number;
19
19
  /** Compact embedded lists can keep actions in flow instead of forcing horizontal scrolling. */
20
20
  actionColumnFixed?: boolean;
21
+ /** Enables the adapter's generic row-reorder interaction. The owner decides persistence. */
22
+ rowDraggable?: boolean;
23
+ rowDragHandleTitle?: string;
21
24
  emptyDescription?: string;
22
25
  };
23
26
  type __VLS_Slots = {
@@ -42,10 +45,20 @@ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {},
42
45
  rowClick: (record: UiDataTableRecord, event: MouseEvent) => any;
43
46
  rowDblclick: (record: UiDataTableRecord, event: MouseEvent) => any;
44
47
  rowExpand: (record: UiDataTableRecord, expanded: boolean) => any;
48
+ rowDrop: (event: {
49
+ source: UiDataTableRecord;
50
+ target: UiDataTableRecord;
51
+ position: "before" | "after";
52
+ }) => any;
45
53
  }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
46
54
  onRowClick?: ((record: UiDataTableRecord, event: MouseEvent) => any) | undefined;
47
55
  onRowDblclick?: ((record: UiDataTableRecord, event: MouseEvent) => any) | undefined;
48
56
  onRowExpand?: ((record: UiDataTableRecord, expanded: boolean) => any) | undefined;
57
+ onRowDrop?: ((event: {
58
+ source: UiDataTableRecord;
59
+ target: UiDataTableRecord;
60
+ position: "before" | "after";
61
+ }) => any) | undefined;
49
62
  }>, {
50
63
  size: "small" | "middle" | "large";
51
64
  loading: boolean;
@@ -63,6 +76,8 @@ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {},
63
76
  actionColumnTitle: string;
64
77
  actionColumnWidth: string | number;
65
78
  actionColumnFixed: boolean;
79
+ rowDraggable: boolean;
80
+ rowDragHandleTitle: string;
66
81
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
67
82
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
68
83
  declare const _default: typeof __VLS_export;
@@ -4,19 +4,33 @@ type __VLS_Props = {
4
4
  disabled?: boolean;
5
5
  loading?: boolean;
6
6
  searchText?: string;
7
+ /** Uses a compact icon action for browse/filter entry points while preserving standard search semantics. */
8
+ searchIconOnly?: boolean;
9
+ /** The displayed text represents an associated record rather than a search draft. */
10
+ linked?: boolean;
11
+ unmatched?: boolean;
7
12
  };
8
13
  declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
9
- search: (value: string) => any;
14
+ search: (value: string, source?: "input" | "clear" | undefined) => any;
15
+ change: (event: Event) => any;
10
16
  "update:value": (value: string) => any;
17
+ blur: (event: FocusEvent) => any;
18
+ dblclick: (event: MouseEvent) => any;
11
19
  }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
12
- onSearch?: ((value: string) => any) | undefined;
20
+ onSearch?: ((value: string, source?: "input" | "clear" | undefined) => any) | undefined;
21
+ onChange?: ((event: Event) => any) | undefined;
13
22
  "onUpdate:value"?: ((value: string) => any) | undefined;
23
+ onBlur?: ((event: FocusEvent) => any) | undefined;
24
+ onDblclick?: ((event: MouseEvent) => any) | undefined;
14
25
  }>, {
15
26
  disabled: boolean;
16
27
  loading: boolean;
17
28
  value: string;
18
29
  placeholder: string;
30
+ unmatched: boolean;
19
31
  searchText: string;
32
+ searchIconOnly: boolean;
33
+ linked: boolean;
20
34
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
21
35
  declare const _default: typeof __VLS_export;
22
36
  export default _default;
@@ -7,17 +7,31 @@ type __VLS_Props = {
7
7
  disabled?: boolean;
8
8
  allowClear?: boolean;
9
9
  showSearch?: boolean;
10
+ /** Controlled search draft for callers that must resolve typed text on blur. */
11
+ searchValue?: string;
10
12
  filterOption?: boolean;
11
13
  loading?: boolean;
14
+ /** Marks an unresolved free-text draft without changing the selected option value. */
15
+ unmatched?: boolean;
12
16
  id?: string;
13
17
  ariaLabel?: string;
14
18
  };
15
- declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
19
+ declare var __VLS_11: {};
20
+ type __VLS_Slots = {} & {
21
+ suffixAction?: (props: typeof __VLS_11) => any;
22
+ };
23
+ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
16
24
  search: (keyword: string) => any;
17
25
  "update:value": (value: OptionValue | OptionValueList | null) => any;
26
+ blur: (event: FocusEvent) => any;
27
+ "update:searchValue": (value: string) => any;
28
+ dblclick: (event: MouseEvent) => any;
18
29
  }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
19
30
  onSearch?: ((keyword: string) => any) | undefined;
20
31
  "onUpdate:value"?: ((value: OptionValue | OptionValueList | null) => any) | undefined;
32
+ onBlur?: ((event: FocusEvent) => any) | undefined;
33
+ "onUpdate:searchValue"?: ((value: string) => any) | undefined;
34
+ onDblclick?: ((event: MouseEvent) => any) | undefined;
21
35
  }>, {
22
36
  disabled: boolean;
23
37
  id: string;
@@ -28,7 +42,15 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {
28
42
  placeholder: string;
29
43
  allowClear: boolean;
30
44
  showSearch: boolean;
45
+ searchValue: string;
31
46
  filterOption: boolean;
47
+ unmatched: boolean;
32
48
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
49
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
33
50
  declare const _default: typeof __VLS_export;
34
51
  export default _default;
52
+ type __VLS_WithSlots<T, S> = T & {
53
+ new (): {
54
+ $slots: S;
55
+ };
56
+ };
@@ -1,8 +1,13 @@
1
+ import { type UiDrawerWidth } from '../drawerWidth';
2
+ import { type UiDrawerCloseGuard, type UiDrawerDismissal } from '../drawerDismissal';
1
3
  import { type UiSidePanelScope } from './sidePanelHost';
2
4
  type __VLS_Props = {
3
5
  open: boolean;
4
- width?: number | string;
6
+ width?: UiDrawerWidth;
7
+ dismissal?: UiDrawerDismissal;
8
+ /** @deprecated Use `dismissal` and `beforeClose`. */
5
9
  closeOnOutside?: boolean;
10
+ beforeClose?: UiDrawerCloseGuard;
6
11
  scope?: UiSidePanelScope;
7
12
  };
8
13
  declare var __VLS_11: {};
@@ -17,8 +22,10 @@ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {},
17
22
  onAfterClose?: (() => any) | undefined;
18
23
  }>, {
19
24
  scope: UiSidePanelScope;
20
- width: number | string;
25
+ width: UiDrawerWidth;
26
+ dismissal: UiDrawerDismissal;
21
27
  closeOnOutside: boolean;
28
+ beforeClose: UiDrawerCloseGuard;
22
29
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
23
30
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
24
31
  declare const _default: typeof __VLS_export;
@@ -19,6 +19,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {
19
19
  focusSelection: typeof focusSelection;
20
20
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
21
21
  "update:value": (value: string) => any;
22
+ keydown: (event: KeyboardEvent) => any;
22
23
  drop: (event: {
23
24
  source: UiDragSource;
24
25
  selection: {
@@ -33,6 +34,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {
33
34
  }) => any;
34
35
  }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
35
36
  "onUpdate:value"?: ((value: string) => any) | undefined;
37
+ onKeydown?: ((event: KeyboardEvent) => any) | undefined;
36
38
  onDrop?: ((event: {
37
39
  source: UiDragSource;
38
40
  selection: {
@@ -62,6 +62,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {
62
62
  }) => any) | undefined;
63
63
  "onDouble-click"?: ((event: UiTreeNodeEvent) => any) | undefined;
64
64
  }>, {
65
+ draggable: boolean;
65
66
  selectedKey: string;
66
67
  motion: boolean;
67
68
  displayMode: UiTreeDisplayMode;
@@ -77,7 +78,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {
77
78
  collapseEmptyLazyBranch: boolean;
78
79
  minLoadingDurationMs: number;
79
80
  reloadKey: number;
80
- draggable: boolean;
81
81
  dragPayloadOf: (node: UiTreeNode) => unknown;
82
82
  dragPayloadType: string;
83
83
  dragOperations: readonly UiDropOperation[];
@@ -13,15 +13,29 @@ type __VLS_Props = {
13
13
  disabled?: boolean;
14
14
  allowClear?: boolean;
15
15
  showSearch?: boolean;
16
+ /** Controlled search draft for callers that must resolve typed text on blur. */
17
+ searchValue?: string;
16
18
  filterTreeNode?: boolean;
17
19
  loading?: boolean;
20
+ /** Marks an unresolved free-text draft without changing the selected option value. */
21
+ unmatched?: boolean;
18
22
  };
19
- declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
23
+ declare var __VLS_11: {};
24
+ type __VLS_Slots = {} & {
25
+ suffixAction?: (props: typeof __VLS_11) => any;
26
+ };
27
+ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
20
28
  search: (keyword: string) => any;
21
29
  "update:value": (value: OptionValue | OptionValueList | null) => any;
30
+ blur: (event: FocusEvent) => any;
31
+ "update:searchValue": (value: string) => any;
32
+ dblclick: (event: MouseEvent) => any;
22
33
  }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
23
34
  onSearch?: ((keyword: string) => any) | undefined;
24
35
  "onUpdate:value"?: ((value: OptionValue | OptionValueList | null) => any) | undefined;
36
+ onBlur?: ((event: FocusEvent) => any) | undefined;
37
+ "onUpdate:searchValue"?: ((value: string) => any) | undefined;
38
+ onDblclick?: ((event: MouseEvent) => any) | undefined;
25
39
  }>, {
26
40
  disabled: boolean;
27
41
  mode: "multiple";
@@ -30,7 +44,15 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {
30
44
  placeholder: string;
31
45
  allowClear: boolean;
32
46
  showSearch: boolean;
47
+ searchValue: string;
48
+ unmatched: boolean;
33
49
  filterTreeNode: boolean;
34
50
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
51
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
35
52
  declare const _default: typeof __VLS_export;
36
53
  export default _default;
54
+ type __VLS_WithSlots<T, S> = T & {
55
+ new (): {
56
+ $slots: S;
57
+ };
58
+ };
@@ -0,0 +1,18 @@
1
+ /**
2
+ * The ways a side panel may be dismissed. The policy controls which user
3
+ * gestures can initiate a close; a guard decides whether an initiated close
4
+ * may discard the active business session.
5
+ */
6
+ export type UiDrawerDismissal = 'explicit' | 'dismissible' | 'guarded';
7
+ export type UiDrawerCloseReason = 'close-button' | 'outside';
8
+ export type UiDrawerCloseGuard = (reason: UiDrawerCloseReason) => boolean | Promise<boolean>;
9
+ export interface UiDrawerDismissalOptions {
10
+ dismissal?: UiDrawerDismissal;
11
+ /** @deprecated Compatibility bridge for callers that have not adopted `dismissal`. */
12
+ closeOnOutside?: boolean;
13
+ beforeClose?: UiDrawerCloseGuard;
14
+ }
15
+ export declare function resolveUiDrawerDismissal(options: UiDrawerDismissalOptions): UiDrawerDismissal;
16
+ /** A guarded drawer fails closed until its session owner supplies a guard. */
17
+ export declare function allowsUiDrawerOutsideDismissal(options: UiDrawerDismissalOptions): boolean;
18
+ export declare function mayCloseUiDrawer(options: UiDrawerDismissalOptions, reason: UiDrawerCloseReason): Promise<boolean>;
@@ -0,0 +1,22 @@
1
+ /**
2
+ * Stable width tiers for platform drawers.
3
+ *
4
+ * Business surfaces should express the space their content needs instead of
5
+ * coupling themselves to a pixel value. New width needs are added here as a
6
+ * platform decision, rather than introduced as local numbers.
7
+ */
8
+ export declare const uiDrawerWidths: {
9
+ /** Lightweight property or auxiliary settings. */
10
+ readonly compact: 420;
11
+ /** A small single-purpose form or configuration. */
12
+ readonly narrow: 480;
13
+ /** The normal record detail and form drawer. */
14
+ readonly standard: 520;
15
+ /** A configuration surface with a dense table or several form groups. */
16
+ readonly wide: 760;
17
+ /** A large relationship management or editing surface. */
18
+ readonly extraWide: 960;
19
+ };
20
+ export type UiDrawerWidth = keyof typeof uiDrawerWidths;
21
+ export declare function resolveUiDrawerWidth(width: UiDrawerWidth): number;
22
+ export declare function isUiDrawerWidth(width: unknown): width is UiDrawerWidth;
@@ -35,11 +35,15 @@ export { default as DictionarySelect } from './components/DictionarySelect.vue';
35
35
  export { default as ReferenceSelect } from './components/ReferenceSelect.vue';
36
36
  export { default as UiTable } from './components/UiTable.vue';
37
37
  export { confirmAction } from './confirm';
38
+ export { allowsUiDrawerOutsideDismissal, mayCloseUiDrawer, resolveUiDrawerDismissal, } from './drawerDismissal';
39
+ export type { UiDrawerCloseGuard, UiDrawerCloseReason, UiDrawerDismissal, UiDrawerDismissalOptions, } from './drawerDismissal';
38
40
  export { showErrorMessage, showFeedback, showInfoMessage, showSuccessMessage, showWarningMessage, } from './feedback';
39
41
  export type { UiFeedbackOptions, UiFeedbackTone } from './feedback';
40
42
  export { resolveFieldComponent } from './registry';
41
43
  export type { UiIconName } from './components/UiIcon.vue';
42
44
  export type { UiSidePanelScope } from './components/sidePanelHost';
45
+ export { isUiDrawerWidth, resolveUiDrawerWidth, uiDrawerWidths } from './drawerWidth';
46
+ export type { UiDrawerWidth } from './drawerWidth';
43
47
  export type { UiTagListItem } from './components/UiTagList.vue';
44
48
  export { antDesignThemeOf, cssVariablesOf, defaultUiTheme, defaultUiThemeSkinId, uiThemeSkinById, uiThemeSkins, } from './theme';
45
49
  export type { UiSupportTheme, UiTheme, UiThemeSkin, UiThemeSkinId, UiThemeTone } from './theme';
@@ -0,0 +1,59 @@
1
+ export interface AssistantCapabilityDescriptor {
2
+ code: string;
3
+ description: string;
4
+ inputSchema: Record<string, unknown>;
5
+ }
6
+ export interface AssistantSurfaceContext {
7
+ surface: string;
8
+ title?: string;
9
+ facts: Record<string, unknown>;
10
+ }
11
+ export interface AssistantCapabilityCall {
12
+ id: string;
13
+ code: string;
14
+ input: unknown;
15
+ }
16
+ export interface AssistantCapabilityResult {
17
+ callId: string;
18
+ capabilityCode: string;
19
+ output?: unknown;
20
+ error?: {
21
+ code: string;
22
+ message: string;
23
+ };
24
+ }
25
+ export interface AssistantConversationMessage {
26
+ role: 'user' | 'assistant';
27
+ text: string;
28
+ }
29
+ export interface AssistantSelectionOption {
30
+ id: string;
31
+ label: string;
32
+ }
33
+ export interface AssistantSelectionInteraction {
34
+ interactionId: string;
35
+ prompt: string;
36
+ inputPolicy: 'free_text_allowed' | 'selection_required';
37
+ presentation: 'options' | 'confirmation';
38
+ options: AssistantSelectionOption[];
39
+ }
40
+ export interface AssistantSelectionResponse {
41
+ interactionId: string;
42
+ optionId: string;
43
+ label: string;
44
+ }
45
+ export interface AssistantTurnInput {
46
+ message: string;
47
+ history?: AssistantConversationMessage[];
48
+ context: AssistantSurfaceContext;
49
+ capabilities: AssistantCapabilityDescriptor[];
50
+ results?: AssistantCapabilityResult[];
51
+ selectionResponse?: AssistantSelectionResponse;
52
+ }
53
+ export interface AssistantTurnOutput {
54
+ text?: string;
55
+ toolCalls: AssistantCapabilityCall[];
56
+ selection?: AssistantSelectionInteraction;
57
+ finishReason?: string;
58
+ requestId?: string;
59
+ }