@ximatai/muyun-web-app 0.26.12 → 0.26.13
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.
- package/dist/BusinessActivityLogView-UC4rH4Fn.js +16 -0
- package/dist/BusinessLogListDrawer-BtaXVJKz.js +564 -0
- package/dist/LoginAuditLogView-Cjrp8MKX.js +16 -0
- package/dist/{ModuleActionManagementView-BHEooZ5L.js → ModuleActionManagementView-Dkb35QXc.js} +139 -138
- package/dist/{ModuleGovernanceView-DB3TWlMy.js → ModuleGovernanceView-Dx43QvGf.js} +2878 -2748
- package/dist/RequestErrorLogView-WnGvMWiF.js +16 -0
- package/dist/RoleDetailWorkspaceView-DPDb_QOn.js +1397 -0
- package/dist/RuntimeLogView-BRl4ZDkU.js +330 -0
- package/dist/http-B0TC0pJB.js +157 -0
- package/dist/index.css +1 -1
- package/dist/index.js +505 -475
- package/dist/{moduleGovernanceWorkspaceView-C5pqJOEJ.js → moduleGovernanceWorkspaceView-4V_UW-Bt.js} +2 -2
- package/dist/platform-components-1cvOeHmo.js +17854 -0
- package/dist/platform-workbench-Cu14Xd9d.js +10299 -0
- package/dist/types/consumer/index.d.ts +7 -0
- package/dist/types/dynamic-page-runtime/ModulePageBusinessSession.d.ts +2208 -0
- package/dist/types/dynamic-page-runtime/ModulePageBusinessState.vue.d.ts +11 -0
- package/dist/types/dynamic-page-runtime/ModulePageHost.vue.d.ts +20 -4
- package/dist/types/dynamic-page-runtime/ModulePageHostRuntime.vue.d.ts +4431 -0
- package/dist/types/dynamic-page-runtime/ModulePageHostSession.vue.d.ts +43 -0
- package/dist/types/dynamic-page-runtime/ModulePageRecordContent.vue.d.ts +2 -2
- package/dist/types/dynamic-page-runtime/ModuleRecordDetailActions.vue.d.ts +3 -0
- package/dist/types/dynamic-page-runtime/ModuleReferenceRecordDetailBrowser.vue.d.ts +42 -0
- package/dist/types/dynamic-page-runtime/RecordFormSurface.vue.d.ts +2 -2
- package/dist/types/dynamic-page-runtime/TenantScopeExplorer.vue.d.ts +21 -0
- package/dist/types/dynamic-page-runtime/composables/useModulePageActions.d.ts +1 -1
- package/dist/types/dynamic-page-runtime/composables/useModulePageDetailActionRuntime.d.ts +5 -0
- package/dist/types/dynamic-page-runtime/composables/useNavigatorRuntime.d.ts +1 -0
- package/dist/types/dynamic-page-runtime/formActionResult.d.ts +2 -0
- package/dist/types/dynamic-page-runtime/index.d.ts +2 -0
- package/dist/types/dynamic-page-runtime/inputValidationActionStatus.d.ts +20 -0
- package/dist/types/dynamic-page-runtime/modulePageEnhancements.d.ts +7 -3
- package/dist/types/dynamic-page-runtime/modulePageUnsavedState.d.ts +10 -0
- package/dist/types/dynamic-page-runtime/recordDetailController.d.ts +1 -0
- package/dist/types/dynamic-page-runtime/recordMutationPayload.d.ts +3 -2
- package/dist/types/dynamic-page-runtime/referenceRecordProjection.d.ts +6 -0
- package/dist/types/dynamic-page-runtime/sessionViewBindings.d.ts +3 -0
- package/dist/types/dynamic-page-runtime/sourceReferencePickerConfig.d.ts +26 -0
- package/dist/types/dynamic-page-runtime/useModulePageSession.d.ts +1728 -0
- package/dist/types/dynamic-page-runtime/useTenantScopeController.d.ts +18 -0
- package/dist/types/platform-admin-runtime/WorkspaceViewDrawer.vue.d.ts +5 -0
- package/dist/types/platform-admin-runtime/role/roleScopeSelectionClient.d.ts +52 -0
- package/dist/types/platform-components/CrudRecordListExplorer.vue.d.ts +5 -2
- package/dist/types/platform-components/DictionaryOptionDialog.vue.d.ts +37 -0
- package/dist/types/platform-components/DictionaryOptionDialogChoiceList.vue.d.ts +21 -0
- package/dist/types/platform-components/DictionaryPicker.vue.d.ts +47 -0
- package/dist/types/platform-components/DictionaryRadioGroup.vue.d.ts +20 -0
- package/dist/types/platform-components/EmployeePicker.vue.d.ts +40 -0
- package/dist/types/platform-components/FileTransferUploader.vue.d.ts +1 -1
- package/dist/types/platform-components/ObjectPickerInput.vue.d.ts +34 -0
- package/dist/types/platform-components/QueryCriteriaComposer.vue.d.ts +29 -0
- package/dist/types/platform-components/QueryCriteriaGroupEditor.vue.d.ts +36 -0
- package/dist/types/platform-components/QueryValueEditor.vue.d.ts +33 -0
- package/dist/types/platform-components/ReadonlyReferenceValue.vue.d.ts +11 -0
- package/dist/types/platform-components/RecordContentSectionHeading.vue.d.ts +4 -2
- package/dist/types/platform-components/RecordDetailDrawer.vue.d.ts +8 -3
- package/dist/types/platform-components/RecordDetailExtensionSection.vue.d.ts +7 -3
- package/dist/types/platform-components/RecordDetailFields.vue.d.ts +3 -5
- package/dist/types/platform-components/RecordFormFields.vue.d.ts +5 -5
- package/dist/types/platform-components/RecordModeDrawer.vue.d.ts +11 -3
- package/dist/types/platform-components/RecordMultiPicker.vue.d.ts +2 -2
- package/dist/types/platform-components/RecordPicker.vue.d.ts +2 -2
- package/dist/types/platform-components/RecordQueryListPanel.vue.d.ts +18 -4
- package/dist/types/platform-components/RecordQueryListSurface.vue.d.ts +20 -0
- package/dist/types/platform-components/ReferencePicker.vue.d.ts +47 -0
- package/dist/types/platform-components/ReferenceRecordDetailBrowser.vue.d.ts +55 -0
- package/dist/types/platform-components/ScopedTreePicker.vue.d.ts +31 -0
- package/dist/types/platform-components/UserPicker.vue.d.ts +47 -0
- package/dist/types/platform-components/dictionaryOptionDialogModel.d.ts +23 -0
- package/dist/types/platform-components/employeePickerModel.d.ts +19 -0
- package/dist/types/platform-components/identityPickerModel.d.ts +18 -0
- package/dist/types/platform-components/index.d.ts +28 -1
- package/dist/types/platform-components/optionFieldOptionCache.d.ts +1 -1
- package/dist/types/platform-components/queryCriteriaDraft.d.ts +24 -0
- package/dist/types/platform-components/queryReferencePickerProvider.d.ts +19 -0
- package/dist/types/platform-components/readonlyReferenceDisplay.d.ts +19 -0
- package/dist/types/platform-components/recordEditorSessionState.d.ts +11 -4
- package/dist/types/platform-components/recordFormFieldModel.d.ts +28 -2
- package/dist/types/platform-components/recordQueryListColumnModel.d.ts +3 -1
- package/dist/types/platform-components/referencePickerModel.d.ts +103 -0
- package/dist/types/platform-components/referencePickerReadError.d.ts +24 -0
- package/dist/types/platform-components/referenceRecordDetailBrowser.d.ts +48 -0
- package/dist/types/platform-components/scopedTreePickerModel.d.ts +46 -0
- package/dist/types/platform-components/sourceReferencePickerProvider.d.ts +26 -0
- package/dist/types/platform-components/staticCrudManagementState.d.ts +7 -6
- package/dist/types/platform-components/userPickerModel.d.ts +45 -0
- package/dist/types/platform-components/userReferencePicker.d.ts +17 -0
- package/dist/types/platform-workbench/useWorkspaceViewUnsavedState.d.ts +1 -1
- package/dist/types/platform-workbench/workspaceViewHost.d.ts +1 -1
- package/dist/types/platform-workbench/workspaceViewUnsavedState.d.ts +3 -1
- package/dist/types/views/BusinessActivityLogView.vue.d.ts +3 -0
- package/dist/types/views/BusinessLogListDrawer.vue.d.ts +9 -0
- package/dist/types/views/LoginAuditLogView.vue.d.ts +3 -0
- package/dist/types/views/RequestErrorLogView.vue.d.ts +3 -0
- package/dist/types/views/RuntimeLogView.vue.d.ts +3 -0
- package/dist/types/views/businessLogClient.d.ts +85 -0
- package/dist/types/views/dictionaryRadioEligibility.d.ts +18 -0
- package/dist/types/views/dictionaryRadioFactRequestEpoch.d.ts +10 -0
- package/dist/types/views/metadataModelEditSession.d.ts +10 -1
- package/dist/types/views/pageCompositionDraftState.d.ts +29 -0
- package/dist/types/views/roleDetailWorkspaceSession.d.ts +1 -0
- package/dist/types/views/roleGrantClient.d.ts +0 -1
- package/dist/types/views/runtimeLogClient.d.ts +12 -0
- package/dist/types/views/runtimeLogSse.d.ts +13 -0
- package/dist/types/vue-ui-antdv/components/UiDataTable.vue.d.ts +15 -0
- package/dist/types/vue-ui-antdv/components/UiSearchInput.vue.d.ts +16 -2
- package/dist/types/vue-ui-antdv/components/UiSelect.vue.d.ts +23 -1
- package/dist/types/vue-ui-antdv/components/UiSidePanel.vue.d.ts +9 -2
- package/dist/types/vue-ui-antdv/components/UiTree.vue.d.ts +1 -1
- package/dist/types/vue-ui-antdv/components/UiTreeSelect.vue.d.ts +23 -1
- package/dist/types/vue-ui-antdv/drawerDismissal.d.ts +18 -0
- package/dist/types/vue-ui-antdv/drawerWidth.d.ts +22 -0
- package/dist/types/vue-ui-antdv/index.d.ts +4 -0
- package/dist/types/web-contracts/index.d.ts +66 -6
- package/dist/types/web-core/http.d.ts +2 -0
- package/dist/types/web-core/module/moduleContext.d.ts +15 -2
- package/dist/types/web-core/module/runtimeContext.d.ts +3 -2
- package/dist/types/web-core/module/staticModuleClient.d.ts +5 -1
- package/dist/{workspaceViews-DI_1vYX9.js → workspaceViews-CCg6V0pr.js} +1245 -1140
- package/package.json +1 -1
- package/dist/RoleDetailWorkspaceView-D6X7pAj5.js +0 -1379
- 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
|
}[]>;
|
|
@@ -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,13 @@
|
|
|
1
|
+
export interface RuntimeLogSseEvent {
|
|
2
|
+
event: string;
|
|
3
|
+
data: string;
|
|
4
|
+
}
|
|
5
|
+
/**
|
|
6
|
+
* Incrementally decodes an SSE response body. Keeping this small parser beside
|
|
7
|
+
* the log surface avoids coupling a one-way operational stream to the broader
|
|
8
|
+
* realtime messaging runtime.
|
|
9
|
+
*/
|
|
10
|
+
export declare function createRuntimeLogSseParser(emit: (event: RuntimeLogSseEvent) => void): {
|
|
11
|
+
push(chunk: string): void;
|
|
12
|
+
finish(): void;
|
|
13
|
+
};
|
|
@@ -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
|
|
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?:
|
|
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:
|
|
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;
|
|
@@ -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
|
|
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';
|
|
@@ -396,6 +396,8 @@ export interface ResolvedDetailRelationListField {
|
|
|
396
396
|
width?: number;
|
|
397
397
|
align?: 'left' | 'center' | 'right' | string;
|
|
398
398
|
maxDisplayLines?: number;
|
|
399
|
+
/** Read-side label companion for a reference ID column. */
|
|
400
|
+
referenceTitleField?: string;
|
|
399
401
|
}
|
|
400
402
|
export declare function hasExecutableDetailRelationQueryContract(relation: ResolvedDetailRelationDescriptor | undefined): relation is ResolvedDetailRelationDescriptor & {
|
|
401
403
|
queryContract: ResolvedDetailRelationQueryContract & {
|
|
@@ -551,6 +553,28 @@ export interface WebQueryCondition {
|
|
|
551
553
|
values?: unknown[];
|
|
552
554
|
timeZone?: string;
|
|
553
555
|
}
|
|
556
|
+
/**
|
|
557
|
+
* One executable condition in a recursively composed query expression.
|
|
558
|
+
*
|
|
559
|
+
* This is intentionally separate from {@link WebQueryCondition}: `conditions`
|
|
560
|
+
* remains the legacy top-level AND shorthand, while `criteria` preserves the
|
|
561
|
+
* authored order and nesting needed by the advanced query editor.
|
|
562
|
+
*/
|
|
563
|
+
export interface QueryCriteriaCondition {
|
|
564
|
+
kind: 'CONDITION';
|
|
565
|
+
fieldName: string;
|
|
566
|
+
operator?: QueryOperator;
|
|
567
|
+
values?: unknown[];
|
|
568
|
+
timeZone?: string;
|
|
569
|
+
}
|
|
570
|
+
/** A parenthesized, ordered group of query criteria. */
|
|
571
|
+
export interface QueryCriteriaGroup {
|
|
572
|
+
kind: 'GROUP';
|
|
573
|
+
operator: 'AND' | 'OR';
|
|
574
|
+
children: QueryCriteriaNode[];
|
|
575
|
+
}
|
|
576
|
+
/** An ordered query-expression node, either a condition or a nested group. */
|
|
577
|
+
export type QueryCriteriaNode = QueryCriteriaCondition | QueryCriteriaGroup;
|
|
554
578
|
export interface WebSort {
|
|
555
579
|
field: string;
|
|
556
580
|
desc?: boolean;
|
|
@@ -559,7 +583,7 @@ export interface WebQueryRequest {
|
|
|
559
583
|
page?: WebPageRequest;
|
|
560
584
|
unpaged?: boolean;
|
|
561
585
|
conditions?: WebQueryCondition[];
|
|
562
|
-
criteria?:
|
|
586
|
+
criteria?: QueryCriteriaGroup;
|
|
563
587
|
queryForm?: Record<string, unknown>;
|
|
564
588
|
sorts?: WebSort[];
|
|
565
589
|
uiConfigId?: string;
|
|
@@ -572,7 +596,7 @@ export interface WebQueryRequest {
|
|
|
572
596
|
navigatorTargetLevelKey?: string;
|
|
573
597
|
}
|
|
574
598
|
/** Shared field-reference delivery contract for static and metadata-backed modules. */
|
|
575
|
-
export type WebReferenceResolveMode = 'QUERY' | 'TREE' | 'TRANSLATE';
|
|
599
|
+
export type WebReferenceResolveMode = 'QUERY' | 'TREE' | 'TREE_CHILDREN' | 'TRANSLATE';
|
|
576
600
|
export type WebReferenceMatchMode = 'KEY' | 'LABEL' | 'AUTO';
|
|
577
601
|
export type WebReferenceResolveStatus = 'OK' | 'RESOLVED' | 'NOT_FOUND' | 'AMBIGUOUS' | 'PARTIAL';
|
|
578
602
|
/** Persisted aggregate record owning a reference interaction; never use form values to provide its tenant. */
|
|
@@ -585,7 +609,7 @@ export interface WebReferenceResolveRequest {
|
|
|
585
609
|
fuzzy?: string;
|
|
586
610
|
values?: unknown[];
|
|
587
611
|
conditions?: WebQueryCondition[];
|
|
588
|
-
criteria?:
|
|
612
|
+
criteria?: QueryCriteriaGroup;
|
|
589
613
|
page?: WebPageRequest;
|
|
590
614
|
includeProjections?: boolean;
|
|
591
615
|
formValues?: Record<string, unknown>;
|
|
@@ -594,6 +618,8 @@ export interface WebReferenceResolveRequest {
|
|
|
594
618
|
uiConfigId?: string;
|
|
595
619
|
queryTemplateId?: string;
|
|
596
620
|
externalQueryValues?: Record<string, unknown>;
|
|
621
|
+
/** Parent identity for one-level lazy tree delivery. Omit it to read the tree root. */
|
|
622
|
+
parentId?: string;
|
|
597
623
|
/**
|
|
598
624
|
* Host page that owns this navigator reference request. Reference transports
|
|
599
625
|
* use it only to resolve the declared NAVIGATOR_QUERY bindings; ordinary
|
|
@@ -609,6 +635,8 @@ export interface WebReferenceResolveItem {
|
|
|
609
635
|
matchedBy?: WebReferenceMatchMode;
|
|
610
636
|
projections?: Record<string, unknown>;
|
|
611
637
|
affectPatch?: Record<string, unknown>;
|
|
638
|
+
/** Present for TREE_CHILDREN: whether the same authorized candidate scope exposes a child. */
|
|
639
|
+
hasChildren?: boolean;
|
|
612
640
|
}
|
|
613
641
|
export interface WebReferenceResolveResult {
|
|
614
642
|
input: unknown;
|
|
@@ -628,7 +656,7 @@ export interface WebReferenceResolveResponse {
|
|
|
628
656
|
tree?: WebTreeNode<WebReferenceResolveItem>[];
|
|
629
657
|
}
|
|
630
658
|
export type QueryValueType = 'STRING' | 'TEXT' | 'BOOLEAN' | 'INTEGER' | 'LONG' | 'DECIMAL' | 'INSTANT' | 'DATE' | 'JSON';
|
|
631
|
-
export type QueryOperator = 'EQ' | 'NOT_EQUAL' | 'LIKE' | 'IN' | 'NOT_IN' | 'GT' | 'GTE' | 'LT' | 'LTE' | 'BETWEEN' | 'NULL' | 'NOT_NULL';
|
|
659
|
+
export type QueryOperator = 'EQ' | 'NOT_EQUAL' | 'LIKE' | 'IN' | 'NOT_IN' | 'GT' | 'GTE' | 'LT' | 'LTE' | 'BETWEEN' | 'NULL' | 'NOT_NULL' | 'CONTAINS' | 'CONTAINS_ANY' | 'CONTAINS_ALL' | 'EMPTY' | 'NOT_EMPTY';
|
|
632
660
|
export interface QuerySchemaField {
|
|
633
661
|
name: string;
|
|
634
662
|
title?: string;
|
|
@@ -639,7 +667,24 @@ export interface QuerySchemaField {
|
|
|
639
667
|
sortable?: boolean;
|
|
640
668
|
/** Explicit field-domain binding; distinguishes options from reference title companions. */
|
|
641
669
|
optionBinding?: OptionBindingDescriptor;
|
|
670
|
+
selectionMode?: 'SINGLE' | 'MULTIPLE';
|
|
642
671
|
optionTitleField?: string;
|
|
672
|
+
/** A persisted record-id reference selectable through this source field's standard resolve contract. */
|
|
673
|
+
reference?: QuerySchemaReference;
|
|
674
|
+
/** A backend-owned default condition rendered by the standard list query surface. */
|
|
675
|
+
persistentControl?: QuerySchemaPersistentControl;
|
|
676
|
+
}
|
|
677
|
+
export interface QuerySchemaPersistentControl {
|
|
678
|
+
id: string;
|
|
679
|
+
title: string;
|
|
680
|
+
operator: QueryOperator;
|
|
681
|
+
defaultValues?: unknown[];
|
|
682
|
+
}
|
|
683
|
+
export interface QuerySchemaReference {
|
|
684
|
+
targetModuleAlias: string;
|
|
685
|
+
cardinality: 'ONE' | 'MANY';
|
|
686
|
+
/** Target candidate label field when the reference explicitly declares one. */
|
|
687
|
+
labelField?: string;
|
|
643
688
|
}
|
|
644
689
|
export interface QuerySchemaQuickSearch {
|
|
645
690
|
enabled: boolean;
|
|
@@ -662,6 +707,8 @@ export interface QuerySchema {
|
|
|
662
707
|
fields: QuerySchemaField[];
|
|
663
708
|
externalCriteria: QuerySchemaExternalCriteria[];
|
|
664
709
|
defaultSorts: QuerySchemaDefaultSort[];
|
|
710
|
+
/** Server-declared criteria structure supported by this query surface. */
|
|
711
|
+
criteriaComposition?: 'NONE' | 'FLAT_AND' | 'TREE';
|
|
665
712
|
}
|
|
666
713
|
export type ModuleViewKind = 'LIST' | 'FORM' | 'DETAIL';
|
|
667
714
|
export type ModuleUiClientType = 'WEB';
|
|
@@ -950,13 +997,25 @@ export interface ResolvedPageListQuerySummaryDescriptor {
|
|
|
950
997
|
groupByTitle?: string;
|
|
951
998
|
sumFieldTitle?: string;
|
|
952
999
|
}
|
|
953
|
-
/** A
|
|
954
|
-
export interface
|
|
1000
|
+
/** A module-owned boolean condition rendered before search. */
|
|
1001
|
+
export interface ResolvedPageListExternalPersistentQueryControlDescriptor {
|
|
1002
|
+
source: 'EXTERNAL';
|
|
1003
|
+
id: string;
|
|
955
1004
|
externalCriteriaKey: string;
|
|
956
1005
|
title: string;
|
|
957
1006
|
uiType: 'SWITCH';
|
|
958
1007
|
defaultValue: boolean;
|
|
959
1008
|
}
|
|
1009
|
+
/** A field condition rendered before search and composed into the root AND query group. */
|
|
1010
|
+
export interface ResolvedPageListFieldPersistentQueryControlDescriptor {
|
|
1011
|
+
source: 'FIELD';
|
|
1012
|
+
id: string;
|
|
1013
|
+
title: string;
|
|
1014
|
+
fieldName: string;
|
|
1015
|
+
operator: QueryOperator;
|
|
1016
|
+
defaultValues: unknown[];
|
|
1017
|
+
}
|
|
1018
|
+
export type ResolvedPageListPersistentQueryControlDescriptor = ResolvedPageListExternalPersistentQueryControlDescriptor | ResolvedPageListFieldPersistentQueryControlDescriptor;
|
|
960
1019
|
export interface ResolvedPageListRelationExpansionDescriptor {
|
|
961
1020
|
relationCode: string;
|
|
962
1021
|
fields: string[];
|
|
@@ -1002,6 +1061,7 @@ export interface ResolvedPageActionDescriptor {
|
|
|
1002
1061
|
actionCode: string;
|
|
1003
1062
|
anchor: 'PAGE' | 'DETAIL' | 'FORM';
|
|
1004
1063
|
invocation?: PageActionInvocation;
|
|
1064
|
+
statusMode?: 'NONE' | 'INPUT_VALIDATION';
|
|
1005
1065
|
}
|
|
1006
1066
|
export interface ResolvedPageTreeResourceDescriptor {
|
|
1007
1067
|
resource: string;
|
|
@@ -14,6 +14,8 @@ export interface HttpRequestOptions {
|
|
|
14
14
|
query?: Record<string, RouteQueryValue>;
|
|
15
15
|
body?: unknown;
|
|
16
16
|
headers?: Record<string, string>;
|
|
17
|
+
/** Cancels the underlying Fetch request, including a long-lived response stream. */
|
|
18
|
+
signal?: AbortSignal;
|
|
17
19
|
}
|
|
18
20
|
export interface HttpClient {
|
|
19
21
|
request<T>(options: HttpRequestOptions): Promise<T>;
|