@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
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { type Ref } from 'vue';
|
|
2
|
+
import { type ModuleContext } from '../web-core/index';
|
|
3
|
+
import type { QueryListRecord } from '../platform-components/index';
|
|
4
|
+
/** Page-lifetime control state; business sessions only receive an immutable selection. */
|
|
5
|
+
export declare function useTenantScopeController(context: ModuleContext<QueryListRecord>, recordOnly: boolean, blocked: Ref<boolean>): {
|
|
6
|
+
selected: import("vue").ShallowRef<QueryListRecord | undefined, QueryListRecord | undefined>;
|
|
7
|
+
selectedId: import("vue").ComputedRef<string>;
|
|
8
|
+
blocked: Ref<boolean, boolean>;
|
|
9
|
+
tenantScopeContext: import("vue").ShallowRef<ModuleContext<QueryListRecord> | undefined, ModuleContext<QueryListRecord> | undefined>;
|
|
10
|
+
tenantScopeReloadKey: Ref<number, number>;
|
|
11
|
+
tenantScopeFixedByIdentity: import("vue").ComputedRef<boolean>;
|
|
12
|
+
tenantScopeExplorerVisible: import("vue").ComputedRef<boolean>;
|
|
13
|
+
tenantScopeExplorerCount: import("vue").ComputedRef<0 | 1>;
|
|
14
|
+
changeTenantScope: (record: QueryListRecord | undefined) => void;
|
|
15
|
+
handleTenantScopeLoaded: (records: QueryListRecord[], initialFullResult?: boolean, total?: number) => void;
|
|
16
|
+
setRequired: (next: boolean) => void;
|
|
17
|
+
};
|
|
18
|
+
export type TenantScopeController = ReturnType<typeof useTenantScopeController>;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { type DrawerPromotion } from '../platform-components/index';
|
|
2
|
+
import type { UiDrawerCloseGuard, UiDrawerDismissal } from '../vue-ui-antdv/index';
|
|
2
3
|
import type { WorkspaceDrawerProfile } from './workspaceViewContract';
|
|
3
4
|
type __VLS_Props = {
|
|
4
5
|
open: boolean;
|
|
@@ -7,6 +8,8 @@ type __VLS_Props = {
|
|
|
7
8
|
subtitle?: string;
|
|
8
9
|
profile?: WorkspaceDrawerProfile;
|
|
9
10
|
promotion?: DrawerPromotion;
|
|
11
|
+
dismissal?: UiDrawerDismissal;
|
|
12
|
+
beforeClose?: UiDrawerCloseGuard;
|
|
10
13
|
};
|
|
11
14
|
declare var __VLS_11: {}, __VLS_13: {};
|
|
12
15
|
type __VLS_Slots = {} & {
|
|
@@ -20,6 +23,8 @@ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {},
|
|
|
20
23
|
onClose?: (() => any) | undefined;
|
|
21
24
|
}>, {
|
|
22
25
|
subtitle: string;
|
|
26
|
+
dismissal: UiDrawerDismissal;
|
|
27
|
+
beforeClose: UiDrawerCloseGuard;
|
|
23
28
|
profile: WorkspaceDrawerProfile;
|
|
24
29
|
promotion: DrawerPromotion;
|
|
25
30
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import type { HttpClient } from '../../web-core/index';
|
|
2
|
+
export type RoleScopeSelectionLevel = 'TENANT' | 'ORGANIZATION';
|
|
3
|
+
/**
|
|
4
|
+
* The role module owns this vocabulary because the opaque keys are resolved by
|
|
5
|
+
* RoleScopePageSelectionResolver. Other object pickers must not reuse it as a
|
|
6
|
+
* surrogate tenant or organization API.
|
|
7
|
+
*/
|
|
8
|
+
export interface RoleScopeSelectionCandidate {
|
|
9
|
+
id: string;
|
|
10
|
+
selectionKey: string;
|
|
11
|
+
label: string;
|
|
12
|
+
secondaryLabel?: string;
|
|
13
|
+
expandable: boolean;
|
|
14
|
+
}
|
|
15
|
+
export interface RoleScopeSelectionDirectSelection {
|
|
16
|
+
selectionKey: string;
|
|
17
|
+
label: string;
|
|
18
|
+
}
|
|
19
|
+
export interface RoleScopeSelectionNavigation {
|
|
20
|
+
navigationKey: string;
|
|
21
|
+
level: RoleScopeSelectionLevel;
|
|
22
|
+
label: string;
|
|
23
|
+
}
|
|
24
|
+
export interface RoleScopeSelectionDescriptor {
|
|
25
|
+
directSelections: RoleScopeSelectionDirectSelection[];
|
|
26
|
+
navigations: RoleScopeSelectionNavigation[];
|
|
27
|
+
}
|
|
28
|
+
export interface RoleScopeSelectionCandidatePage {
|
|
29
|
+
records: RoleScopeSelectionCandidate[];
|
|
30
|
+
hasMore: boolean;
|
|
31
|
+
nextPage?: number;
|
|
32
|
+
}
|
|
33
|
+
export interface RoleScopeSelectionCandidatesQuery {
|
|
34
|
+
/** The descriptor-issued key that authorizes this navigation step. */
|
|
35
|
+
navigationKey: string;
|
|
36
|
+
level: RoleScopeSelectionLevel;
|
|
37
|
+
keyword?: string;
|
|
38
|
+
/** Organization ID only. The caller receives it as an opaque candidate fact. */
|
|
39
|
+
parentId?: string;
|
|
40
|
+
pageNum?: number;
|
|
41
|
+
pageSize?: number;
|
|
42
|
+
}
|
|
43
|
+
export interface RoleScopeSelectionClient {
|
|
44
|
+
descriptor(): Promise<RoleScopeSelectionDescriptor>;
|
|
45
|
+
candidates(query: RoleScopeSelectionCandidatesQuery): Promise<RoleScopeSelectionCandidatePage>;
|
|
46
|
+
}
|
|
47
|
+
/**
|
|
48
|
+
* Dedicated facade for the role range navigator. The browser receives only
|
|
49
|
+
* selections the role service has already admitted; it never reads tenant or
|
|
50
|
+
* organization modules to reconstruct authorization scope.
|
|
51
|
+
*/
|
|
52
|
+
export declare function createRoleScopeSelectionClient(http: HttpClient): RoleScopeSelectionClient;
|
|
@@ -14,6 +14,8 @@ type __VLS_Props = {
|
|
|
14
14
|
externalQueryValues?: Record<string, unknown>;
|
|
15
15
|
navigatorHostModuleAlias?: string;
|
|
16
16
|
navigatorTargetLevelKey?: string;
|
|
17
|
+
/** Server-side search for large explorer sources; `keyword` still filters the rendered labels. */
|
|
18
|
+
quickSearch?: string;
|
|
17
19
|
keyword?: string;
|
|
18
20
|
emptyDescription?: string;
|
|
19
21
|
loadingTip?: string;
|
|
@@ -32,7 +34,7 @@ type __VLS_Props = {
|
|
|
32
34
|
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
33
35
|
action: (action: import("../web-contracts/index.ts").RecordInlineAction, record: CrudRecordListBase) => any;
|
|
34
36
|
select: (record: CrudRecordListBase) => any;
|
|
35
|
-
loaded: (records: CrudRecordListBase[]) => any;
|
|
37
|
+
loaded: (records: CrudRecordListBase[], total?: number | undefined) => any;
|
|
36
38
|
deselect: () => any;
|
|
37
39
|
restored: () => any;
|
|
38
40
|
recycleBinSummary: (total: number | undefined) => any;
|
|
@@ -40,7 +42,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {
|
|
|
40
42
|
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
41
43
|
onAction?: ((action: import("../web-contracts/index.ts").RecordInlineAction, record: CrudRecordListBase) => any) | undefined;
|
|
42
44
|
onSelect?: ((record: CrudRecordListBase) => any) | undefined;
|
|
43
|
-
onLoaded?: ((records: CrudRecordListBase[]) => any) | undefined;
|
|
45
|
+
onLoaded?: ((records: CrudRecordListBase[], total?: number | undefined) => any) | undefined;
|
|
44
46
|
onDeselect?: (() => any) | undefined;
|
|
45
47
|
onRestored?: (() => any) | undefined;
|
|
46
48
|
onRecycleBinSummary?: ((total: number | undefined) => any) | undefined;
|
|
@@ -50,6 +52,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {
|
|
|
50
52
|
filterOption: (record: CrudRecordListBase, normalizedKeyword: string) => boolean;
|
|
51
53
|
reloadKey: number;
|
|
52
54
|
emptyDescription: string;
|
|
55
|
+
quickSearch: string;
|
|
53
56
|
navigatorHostModuleAlias: string;
|
|
54
57
|
navigatorTargetLevelKey: string;
|
|
55
58
|
externalQueryValues: Record<string, unknown>;
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import type { OptionItemDescriptor } from '../web-contracts/index';
|
|
2
|
+
import { type DictionaryOptionValue, type DictionarySelectionMode } from './dictionaryOptionDialogModel';
|
|
3
|
+
type __VLS_Props = {
|
|
4
|
+
/** Controlled visibility lets a field renderer decide when a dictionary uses dialog presentation. */
|
|
5
|
+
open: boolean;
|
|
6
|
+
/** Dictionary values are codes, never dictionary-item record IDs or display titles. */
|
|
7
|
+
value?: string | readonly string[];
|
|
8
|
+
items: readonly OptionItemDescriptor[];
|
|
9
|
+
selectionMode?: DictionarySelectionMode;
|
|
10
|
+
title?: string;
|
|
11
|
+
/** A picker may hand its unfinished dropdown search to the dialog rather than losing it. */
|
|
12
|
+
initialKeyword?: string;
|
|
13
|
+
searchPlaceholder?: string;
|
|
14
|
+
disabled?: boolean;
|
|
15
|
+
};
|
|
16
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
17
|
+
"update:value": (value: DictionaryOptionValue) => any;
|
|
18
|
+
clear: () => any;
|
|
19
|
+
cancel: () => any;
|
|
20
|
+
confirm: (value: DictionaryOptionValue) => any;
|
|
21
|
+
"update:open": (open: boolean) => any;
|
|
22
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
23
|
+
"onUpdate:value"?: ((value: DictionaryOptionValue) => any) | undefined;
|
|
24
|
+
onClear?: (() => any) | undefined;
|
|
25
|
+
onCancel?: (() => any) | undefined;
|
|
26
|
+
onConfirm?: ((value: DictionaryOptionValue) => any) | undefined;
|
|
27
|
+
"onUpdate:open"?: ((open: boolean) => any) | undefined;
|
|
28
|
+
}>, {
|
|
29
|
+
title: string;
|
|
30
|
+
disabled: boolean;
|
|
31
|
+
value: string | readonly string[];
|
|
32
|
+
searchPlaceholder: string;
|
|
33
|
+
selectionMode: DictionarySelectionMode;
|
|
34
|
+
initialKeyword: string;
|
|
35
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
36
|
+
declare const _default: typeof __VLS_export;
|
|
37
|
+
export default _default;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import type { DictionaryOptionTreeNode, DictionarySelectionMode } from './dictionaryOptionDialogModel';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
nodes: readonly DictionaryOptionTreeNode[];
|
|
4
|
+
selectedCodes: readonly string[];
|
|
5
|
+
selectionMode?: DictionarySelectionMode;
|
|
6
|
+
disabled?: boolean;
|
|
7
|
+
nested?: boolean;
|
|
8
|
+
};
|
|
9
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
10
|
+
"double-click": (code: string) => any;
|
|
11
|
+
"update:selectedCodes": (codes: string[]) => any;
|
|
12
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
13
|
+
"onDouble-click"?: ((code: string) => any) | undefined;
|
|
14
|
+
"onUpdate:selectedCodes"?: ((codes: string[]) => any) | undefined;
|
|
15
|
+
}>, {
|
|
16
|
+
disabled: boolean;
|
|
17
|
+
nested: boolean;
|
|
18
|
+
selectionMode: DictionarySelectionMode;
|
|
19
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
20
|
+
declare const _default: typeof __VLS_export;
|
|
21
|
+
export default _default;
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import type { OptionItemDescriptor } from '../web-contracts/index';
|
|
2
|
+
import { type DictionaryOptionValue, type DictionarySelectionMode } from './dictionaryOptionDialogModel';
|
|
3
|
+
export type DictionaryPickerMode = 'dropdown' | 'dialog';
|
|
4
|
+
/** Whether a compact dictionary draft still represents a selectable dictionary code. */
|
|
5
|
+
export interface DictionaryPickerValidity {
|
|
6
|
+
valid: boolean;
|
|
7
|
+
status: 'ready' | 'editing' | 'unmatched' | 'ambiguous' | 'disabled';
|
|
8
|
+
message?: string;
|
|
9
|
+
}
|
|
10
|
+
type __VLS_Props = {
|
|
11
|
+
/** The business value is always a dictionary item code, never the dictionary-item record ID. */
|
|
12
|
+
value?: string | readonly string[];
|
|
13
|
+
items: readonly OptionItemDescriptor[];
|
|
14
|
+
selectionMode?: DictionarySelectionMode;
|
|
15
|
+
mode?: DictionaryPickerMode;
|
|
16
|
+
title?: string;
|
|
17
|
+
placeholder?: string;
|
|
18
|
+
searchPlaceholder?: string;
|
|
19
|
+
disabled?: boolean;
|
|
20
|
+
allowClear?: boolean;
|
|
21
|
+
};
|
|
22
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
23
|
+
select: (value: DictionaryOptionValue) => any;
|
|
24
|
+
"update:value": (value: DictionaryOptionValue) => any;
|
|
25
|
+
clear: () => any;
|
|
26
|
+
cancel: () => any;
|
|
27
|
+
confirm: (value: DictionaryOptionValue) => any;
|
|
28
|
+
"validity-change": (validity: DictionaryPickerValidity) => any;
|
|
29
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
30
|
+
onSelect?: ((value: DictionaryOptionValue) => any) | undefined;
|
|
31
|
+
"onUpdate:value"?: ((value: DictionaryOptionValue) => any) | undefined;
|
|
32
|
+
onClear?: (() => any) | undefined;
|
|
33
|
+
onCancel?: (() => any) | undefined;
|
|
34
|
+
onConfirm?: ((value: DictionaryOptionValue) => any) | undefined;
|
|
35
|
+
"onValidity-change"?: ((validity: DictionaryPickerValidity) => any) | undefined;
|
|
36
|
+
}>, {
|
|
37
|
+
title: string;
|
|
38
|
+
disabled: boolean;
|
|
39
|
+
mode: DictionaryPickerMode;
|
|
40
|
+
value: string | readonly string[];
|
|
41
|
+
placeholder: string;
|
|
42
|
+
allowClear: boolean;
|
|
43
|
+
searchPlaceholder: string;
|
|
44
|
+
selectionMode: DictionarySelectionMode;
|
|
45
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
46
|
+
declare const _default: typeof __VLS_export;
|
|
47
|
+
export default _default;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import type { OptionItemDescriptor } from '../web-contracts/index';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
/** Dictionary radio fields are scalar and persist the dictionary item code. */
|
|
4
|
+
value?: string;
|
|
5
|
+
items: readonly OptionItemDescriptor[];
|
|
6
|
+
disabled?: boolean;
|
|
7
|
+
/** A descriptor string. Candidate-size eligibility remains the host renderer's responsibility. */
|
|
8
|
+
maxOptions?: string;
|
|
9
|
+
};
|
|
10
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
11
|
+
"update:value": (value: string | undefined) => any;
|
|
12
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
13
|
+
"onUpdate:value"?: ((value: string | undefined) => any) | undefined;
|
|
14
|
+
}>, {
|
|
15
|
+
disabled: boolean;
|
|
16
|
+
value: string;
|
|
17
|
+
maxOptions: string;
|
|
18
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
19
|
+
declare const _default: typeof __VLS_export;
|
|
20
|
+
export default _default;
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import type { ReferencePickerSourceIdentity, ReferencePickerValidity } from './referencePickerModel';
|
|
2
|
+
import type { EmployeeId, EmployeePickerCandidate, EmployeePickerPageSearch, EmployeePickerResolver } from './employeePickerModel';
|
|
3
|
+
type __VLS_Props = {
|
|
4
|
+
value?: EmployeeId | readonly EmployeeId[];
|
|
5
|
+
multiple?: boolean;
|
|
6
|
+
maxSelection?: number;
|
|
7
|
+
placeholder?: string;
|
|
8
|
+
disabled?: boolean;
|
|
9
|
+
allowClear?: boolean;
|
|
10
|
+
pageSize?: number;
|
|
11
|
+
title?: string;
|
|
12
|
+
reloadKey?: string | number;
|
|
13
|
+
sourceIdentity?: ReferencePickerSourceIdentity;
|
|
14
|
+
searchPage: EmployeePickerPageSearch;
|
|
15
|
+
resolveEmployees: EmployeePickerResolver;
|
|
16
|
+
};
|
|
17
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
18
|
+
select: (employees: EmployeePickerCandidate[]) => any;
|
|
19
|
+
"update:value": (value: string | string[] | undefined) => any;
|
|
20
|
+
"selection-resolved": (employees: EmployeePickerCandidate[]) => any;
|
|
21
|
+
"validity-change": (validity: ReferencePickerValidity) => any;
|
|
22
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
23
|
+
onSelect?: ((employees: EmployeePickerCandidate[]) => any) | undefined;
|
|
24
|
+
"onUpdate:value"?: ((value: string | string[] | undefined) => any) | undefined;
|
|
25
|
+
"onSelection-resolved"?: ((employees: EmployeePickerCandidate[]) => any) | undefined;
|
|
26
|
+
"onValidity-change"?: ((validity: ReferencePickerValidity) => any) | undefined;
|
|
27
|
+
}>, {
|
|
28
|
+
title: string;
|
|
29
|
+
disabled: boolean;
|
|
30
|
+
value: EmployeeId | readonly EmployeeId[];
|
|
31
|
+
placeholder: string;
|
|
32
|
+
allowClear: boolean;
|
|
33
|
+
multiple: boolean;
|
|
34
|
+
reloadKey: string | number;
|
|
35
|
+
pageSize: number;
|
|
36
|
+
maxSelection: number;
|
|
37
|
+
sourceIdentity: ReferencePickerSourceIdentity;
|
|
38
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
39
|
+
declare const _default: typeof __VLS_export;
|
|
40
|
+
export default _default;
|
|
@@ -48,11 +48,11 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {
|
|
|
48
48
|
}>, {
|
|
49
49
|
disabled: boolean;
|
|
50
50
|
multiple: boolean;
|
|
51
|
+
accept: string;
|
|
51
52
|
presentation: "dropzone" | "button";
|
|
52
53
|
requestUploadAccess: (file: File) => Promise<FileTransferUploadAccess>;
|
|
53
54
|
uploadFile: (file: File) => Promise<FileTransferUploadReceipt>;
|
|
54
55
|
confirmUpload: (receipt: FileTransferUploadReceipt) => Promise<unknown>;
|
|
55
|
-
accept: string;
|
|
56
56
|
allowedMediaTypes: string[];
|
|
57
57
|
maxFileSizeBytes: number;
|
|
58
58
|
maxFiles: number;
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
value?: string;
|
|
3
|
+
linked?: boolean;
|
|
4
|
+
unmatched?: boolean;
|
|
5
|
+
/** The owner has an unresolved draft, so asynchronous display refreshes must not overwrite it. */
|
|
6
|
+
preserveDraft?: boolean;
|
|
7
|
+
/** Changes on confirmed selection, including reselecting the same value. */
|
|
8
|
+
selectionVersion?: number;
|
|
9
|
+
placeholder?: string;
|
|
10
|
+
disabled?: boolean;
|
|
11
|
+
browseLabel?: string;
|
|
12
|
+
};
|
|
13
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
14
|
+
blur: (value: string) => any;
|
|
15
|
+
clear: () => any;
|
|
16
|
+
browse: (keyword: string) => any;
|
|
17
|
+
"draft-change": (value: string) => any;
|
|
18
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
19
|
+
onBlur?: ((value: string) => any) | undefined;
|
|
20
|
+
onClear?: (() => any) | undefined;
|
|
21
|
+
onBrowse?: ((keyword: string) => any) | undefined;
|
|
22
|
+
"onDraft-change"?: ((value: string) => any) | undefined;
|
|
23
|
+
}>, {
|
|
24
|
+
disabled: boolean;
|
|
25
|
+
value: string;
|
|
26
|
+
placeholder: string;
|
|
27
|
+
unmatched: boolean;
|
|
28
|
+
linked: boolean;
|
|
29
|
+
preserveDraft: boolean;
|
|
30
|
+
selectionVersion: number;
|
|
31
|
+
browseLabel: string;
|
|
32
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
33
|
+
declare const _default: typeof __VLS_export;
|
|
34
|
+
export default _default;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import type { Option, QueryCriteriaGroup, QuerySchemaField } from '../web-contracts/index';
|
|
2
|
+
import type { ModuleContext } from '../web-core/index';
|
|
3
|
+
import type { ReferencePickerConfig, ReferencePickerValidity } from './referencePickerModel';
|
|
4
|
+
import type { RecordPickerRecord } from './recordPickerConstraints';
|
|
5
|
+
type __VLS_Props = {
|
|
6
|
+
fields: QuerySchemaField[];
|
|
7
|
+
optionItemsByField: Record<string, Option[]>;
|
|
8
|
+
referenceContexts: Record<string, ModuleContext<RecordPickerRecord>>;
|
|
9
|
+
referencePickerOf?: (field: QuerySchemaField) => ReferencePickerConfig | undefined;
|
|
10
|
+
disabled: boolean;
|
|
11
|
+
composition: 'FLAT_AND' | 'TREE';
|
|
12
|
+
/** Fields already owned by a persistent control on a flat query surface. */
|
|
13
|
+
excludedFieldNames?: string[];
|
|
14
|
+
};
|
|
15
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
16
|
+
clear: () => any;
|
|
17
|
+
validation: (message: string) => any;
|
|
18
|
+
"validity-change": (validity: Record<number, ReferencePickerValidity>) => any;
|
|
19
|
+
draftChange: (pending: boolean) => any;
|
|
20
|
+
apply: (criteria: QueryCriteriaGroup | undefined) => any;
|
|
21
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
22
|
+
onClear?: (() => any) | undefined;
|
|
23
|
+
onValidation?: ((message: string) => any) | undefined;
|
|
24
|
+
"onValidity-change"?: ((validity: Record<number, ReferencePickerValidity>) => any) | undefined;
|
|
25
|
+
onDraftChange?: ((pending: boolean) => any) | undefined;
|
|
26
|
+
onApply?: ((criteria: QueryCriteriaGroup | undefined) => any) | undefined;
|
|
27
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
28
|
+
declare const _default: typeof __VLS_export;
|
|
29
|
+
export default _default;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import type { Option, QuerySchemaField } from '../web-contracts/index';
|
|
2
|
+
import type { ModuleContext } from '../web-core/index';
|
|
3
|
+
import type { QueryCriteriaGroupDraft } from './queryCriteriaDraft';
|
|
4
|
+
import type { ReferencePickerConfig, ReferencePickerValidity } from './referencePickerModel';
|
|
5
|
+
import type { RecordPickerRecord } from './recordPickerConstraints';
|
|
6
|
+
type __VLS_Props = {
|
|
7
|
+
group: QueryCriteriaGroupDraft;
|
|
8
|
+
fields: QuerySchemaField[];
|
|
9
|
+
optionItemsByField: Record<string, Option[]>;
|
|
10
|
+
referenceContexts: Record<string, ModuleContext<RecordPickerRecord>>;
|
|
11
|
+
referencePickerOf?: (field: QuerySchemaField) => ReferencePickerConfig | undefined;
|
|
12
|
+
referenceValidityByNode?: Record<number, ReferencePickerValidity>;
|
|
13
|
+
nextId: () => number;
|
|
14
|
+
disabled: boolean;
|
|
15
|
+
/** Flat query surfaces keep the root as a plain AND list. */
|
|
16
|
+
composition?: 'FLAT_AND' | 'TREE';
|
|
17
|
+
validationErrors?: Record<number, string>;
|
|
18
|
+
nested?: boolean;
|
|
19
|
+
/** Root is level 1; the server rejects deeper criteria as well. */
|
|
20
|
+
depth?: number;
|
|
21
|
+
};
|
|
22
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
23
|
+
submit: () => any;
|
|
24
|
+
remove: (id: number) => any;
|
|
25
|
+
"validity-change": (nodeId: number, validity: ReferencePickerValidity | undefined) => any;
|
|
26
|
+
"update:group": (group: QueryCriteriaGroupDraft) => any;
|
|
27
|
+
"lift-node": (sourceGroupId: number, nodeId: number) => any;
|
|
28
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
29
|
+
onSubmit?: (() => any) | undefined;
|
|
30
|
+
onRemove?: ((id: number) => any) | undefined;
|
|
31
|
+
"onValidity-change"?: ((nodeId: number, validity: ReferencePickerValidity | undefined) => any) | undefined;
|
|
32
|
+
"onUpdate:group"?: ((group: QueryCriteriaGroupDraft) => any) | undefined;
|
|
33
|
+
"onLift-node"?: ((sourceGroupId: number, nodeId: number) => any) | undefined;
|
|
34
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
35
|
+
declare const _default: typeof __VLS_export;
|
|
36
|
+
export default _default;
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import type { Option, QueryOperator, QuerySchemaField } from '../web-contracts/index';
|
|
2
|
+
import type { ModuleContext } from '../web-core/index';
|
|
3
|
+
import type { RecordPickerRecord } from './recordPickerConstraints';
|
|
4
|
+
import type { ReferencePickerConfig, ReferencePickerValidity } from './referencePickerModel';
|
|
5
|
+
type __VLS_Props = {
|
|
6
|
+
field: QuerySchemaField;
|
|
7
|
+
operator: QueryOperator;
|
|
8
|
+
values?: unknown[];
|
|
9
|
+
options?: Option[];
|
|
10
|
+
referenceContext?: ModuleContext<RecordPickerRecord>;
|
|
11
|
+
/** Source-owned reference candidates supersede target-module reference delivery. */
|
|
12
|
+
referencePicker?: ReferencePickerConfig;
|
|
13
|
+
loading?: boolean;
|
|
14
|
+
disabled?: boolean;
|
|
15
|
+
};
|
|
16
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
17
|
+
submit: () => any;
|
|
18
|
+
"validity-change": (validity: ReferencePickerValidity) => any;
|
|
19
|
+
"update:values": (values: unknown[]) => any;
|
|
20
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
21
|
+
onSubmit?: (() => any) | undefined;
|
|
22
|
+
"onValidity-change"?: ((validity: ReferencePickerValidity) => any) | undefined;
|
|
23
|
+
"onUpdate:values"?: ((values: unknown[]) => any) | undefined;
|
|
24
|
+
}>, {
|
|
25
|
+
disabled: boolean;
|
|
26
|
+
values: unknown[];
|
|
27
|
+
loading: boolean;
|
|
28
|
+
options: Option[];
|
|
29
|
+
referenceContext: ModuleContext<RecordPickerRecord>;
|
|
30
|
+
referencePicker: ReferencePickerConfig;
|
|
31
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
32
|
+
declare const _default: typeof __VLS_export;
|
|
33
|
+
export default _default;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { ResolvedReferenceFieldDescriptor } from '../web-contracts/index';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
reference: Pick<ResolvedReferenceFieldDescriptor, 'cardinality' | 'targetModuleAlias'>;
|
|
4
|
+
value: unknown;
|
|
5
|
+
summary: unknown;
|
|
6
|
+
/** Detail surfaces retain their own empty-value convention; lists intentionally omit it. */
|
|
7
|
+
emptyText?: string;
|
|
8
|
+
};
|
|
9
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
10
|
+
declare const _default: typeof __VLS_export;
|
|
11
|
+
export default _default;
|
|
@@ -2,9 +2,11 @@ type __VLS_Props = {
|
|
|
2
2
|
title: string;
|
|
3
3
|
subtitle?: string;
|
|
4
4
|
};
|
|
5
|
-
declare var __VLS_1: {};
|
|
5
|
+
declare var __VLS_1: {}, __VLS_3: {};
|
|
6
6
|
type __VLS_Slots = {} & {
|
|
7
|
-
|
|
7
|
+
subtitle?: (props: typeof __VLS_1) => any;
|
|
8
|
+
} & {
|
|
9
|
+
actions?: (props: typeof __VLS_3) => any;
|
|
8
10
|
};
|
|
9
11
|
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
10
12
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
@@ -1,4 +1,4 @@
|
|
|
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;
|
|
@@ -6,9 +6,12 @@ type __VLS_Props = {
|
|
|
6
6
|
/** `inline` keeps slot anchors in the owning workspace; `portal` uses the standard side-panel host. */
|
|
7
7
|
renderMode?: 'inline' | 'portal';
|
|
8
8
|
subtitle?: string;
|
|
9
|
-
width?:
|
|
9
|
+
width?: UiDrawerWidth;
|
|
10
10
|
scope?: UiSidePanelScope;
|
|
11
|
+
dismissal?: UiDrawerDismissal;
|
|
12
|
+
/** @deprecated Use `dismissal` and `beforeClose`. */
|
|
11
13
|
closeOnOutside?: boolean;
|
|
14
|
+
beforeClose?: UiDrawerCloseGuard;
|
|
12
15
|
closeTitle?: string;
|
|
13
16
|
promotion?: DrawerPromotion;
|
|
14
17
|
};
|
|
@@ -29,9 +32,11 @@ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {},
|
|
|
29
32
|
onAfterClose?: (() => any) | undefined;
|
|
30
33
|
}>, {
|
|
31
34
|
scope: UiSidePanelScope;
|
|
32
|
-
width:
|
|
35
|
+
width: UiDrawerWidth;
|
|
33
36
|
subtitle: string;
|
|
37
|
+
dismissal: UiDrawerDismissal;
|
|
34
38
|
closeOnOutside: boolean;
|
|
39
|
+
beforeClose: UiDrawerCloseGuard;
|
|
35
40
|
renderMode: "inline" | "portal";
|
|
36
41
|
closeTitle: string;
|
|
37
42
|
promotion: DrawerPromotion;
|
|
@@ -1,15 +1,19 @@
|
|
|
1
1
|
type __VLS_Props = {
|
|
2
2
|
title: string;
|
|
3
|
+
subtitle?: string;
|
|
3
4
|
headingAttributes?: Record<string, string | number | undefined>;
|
|
4
5
|
kind?: 'default' | 'relation';
|
|
5
6
|
};
|
|
6
|
-
declare var __VLS_8: {},
|
|
7
|
+
declare var __VLS_8: {}, __VLS_11: {}, __VLS_13: {};
|
|
7
8
|
type __VLS_Slots = {} & {
|
|
8
|
-
|
|
9
|
+
subtitle?: (props: typeof __VLS_8) => any;
|
|
9
10
|
} & {
|
|
10
|
-
|
|
11
|
+
actions?: (props: typeof __VLS_11) => any;
|
|
12
|
+
} & {
|
|
13
|
+
default?: (props: typeof __VLS_13) => any;
|
|
11
14
|
};
|
|
12
15
|
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
16
|
+
subtitle: string;
|
|
13
17
|
kind: "default" | "relation";
|
|
14
18
|
headingAttributes: Record<string, string | number | undefined>;
|
|
15
19
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { ModuleContext } from '../web-core/index';
|
|
2
|
-
import { type RecordFormFieldDescriptor, type RecordFormFieldFallback, type
|
|
2
|
+
import { type RecordFormFieldDescriptor, type RecordFormFieldFallback, type RecordFormFieldState, type RecordFormRecord } from './recordFormFieldModel';
|
|
3
3
|
import { type RecordDetailDisplayResolver } from './recordDetailFieldModel';
|
|
4
4
|
type __VLS_Props = {
|
|
5
5
|
record: RecordFormRecord;
|
|
@@ -7,7 +7,6 @@ type __VLS_Props = {
|
|
|
7
7
|
excludeFieldNames?: string[];
|
|
8
8
|
fields?: Map<string, RecordFormFieldDescriptor>;
|
|
9
9
|
fallback?: Record<string, RecordFormFieldFallback>;
|
|
10
|
-
pickerConfigs?: Record<string, RecordFormFieldPickerConfig>;
|
|
11
10
|
optionContext?: ModuleContext<unknown>;
|
|
12
11
|
fileTransferContext?: ModuleContext<unknown>;
|
|
13
12
|
displayOf?: RecordDetailDisplayResolver;
|
|
@@ -27,7 +26,7 @@ declare var __VLS_1: {
|
|
|
27
26
|
group: import("../web-contracts/index").FormGroupDescriptor | undefined;
|
|
28
27
|
}, __VLS_12: {
|
|
29
28
|
field: RecordFormFieldState;
|
|
30
|
-
},
|
|
29
|
+
}, __VLS_39: {};
|
|
31
30
|
type __VLS_Slots = {} & {
|
|
32
31
|
'before-field'?: (props: typeof __VLS_1) => any;
|
|
33
32
|
} & {
|
|
@@ -35,7 +34,7 @@ type __VLS_Slots = {} & {
|
|
|
35
34
|
} & {
|
|
36
35
|
'field-actions'?: (props: typeof __VLS_12) => any;
|
|
37
36
|
} & {
|
|
38
|
-
'after-fields'?: (props: typeof
|
|
37
|
+
'after-fields'?: (props: typeof __VLS_39) => any;
|
|
39
38
|
};
|
|
40
39
|
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
41
40
|
select: (fieldName: string) => any;
|
|
@@ -49,7 +48,6 @@ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {},
|
|
|
49
48
|
fields: Map<string, RecordFormFieldDescriptor>;
|
|
50
49
|
excludeFieldNames: string[];
|
|
51
50
|
fallback: Record<string, RecordFormFieldFallback>;
|
|
52
|
-
pickerConfigs: Record<string, RecordFormFieldPickerConfig>;
|
|
53
51
|
optionContext: ModuleContext<unknown>;
|
|
54
52
|
fileTransferContext: ModuleContext<unknown>;
|
|
55
53
|
displayOf: RecordDetailDisplayResolver;
|
|
@@ -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
|
-
},
|
|
39
|
+
}, __VLS_196: {
|
|
40
40
|
field: RecordFormFieldState;
|
|
41
41
|
};
|
|
42
42
|
type __VLS_Slots = {} & {
|
|
@@ -46,15 +46,15 @@ type __VLS_Slots = {} & {
|
|
|
46
46
|
} & {
|
|
47
47
|
'field-actions'?: (props: typeof __VLS_12) => any;
|
|
48
48
|
} & {
|
|
49
|
-
'after-field'?: (props: typeof
|
|
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;
|
|
@@ -64,11 +64,11 @@ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {},
|
|
|
64
64
|
formSessionKey: string | number;
|
|
65
65
|
excludeFieldNames: string[];
|
|
66
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;
|