@ximatai/muyun-web-app 0.26.8 → 0.26.9
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/DictionaryManagementView-CtIQpqVA.js +1035 -0
- package/dist/MenuManagementView-DJhkN2sG.js +837 -0
- package/dist/{MetadataOrchestrationView-DKYVGMzy.js → MetadataOrchestrationView-CzhAgEdX.js} +211 -205
- package/dist/{ModuleActionManagementView-DiVzuPdu.js → ModuleActionManagementView-CM2d8jPO.js} +72 -72
- package/dist/{RoleAuthorizationView-C0s4Bog7.js → RoleAuthorizationView-jn_WUCeg.js} +228 -221
- package/dist/{RoleDetailWorkspaceView-dqHxKVfd.js → RoleDetailWorkspaceView-CzaQ3Dz1.js} +1 -1
- package/dist/RoleManagementView-nY7qu4GF.js +1951 -0
- package/dist/{SystemUserDetailWorkspaceView-CQ9WeLrR.js → SystemUserDetailWorkspaceView-CBvqmWvP.js} +1 -1
- package/dist/SystemUserManagementView-AEomKvK7.js +887 -0
- package/dist/currentUserContext-B1lj1WgF.js +11 -0
- package/dist/index.css +1 -1
- package/dist/index.js +531 -4402
- package/dist/{platform-components-CFU_zR7-.js → platform-components-CIi6GdC9.js} +4832 -3453
- package/dist/types/App.vue.d.ts +1 -0
- package/dist/types/app/StaticRoutePageHost.vue.d.ts +11 -0
- package/dist/types/app/loginTenant.d.ts +1 -1
- package/dist/types/app/menuRouteCompiler.d.ts +45 -0
- package/dist/types/app/menuRouteRuntime.d.ts +24 -0
- package/dist/types/app/pageRouteContext.d.ts +24 -0
- package/dist/types/app/routeDiagnosticsStore.d.ts +10 -0
- package/dist/types/app/router.d.ts +15 -0
- package/dist/types/app/staticRouteDefinitions.d.ts +25 -0
- package/dist/types/app/workbenchRouteSync.d.ts +1 -1
- package/dist/types/app/workbenchStartup.d.ts +3 -3
- package/dist/types/consumer/index.d.ts +5 -3
- package/dist/types/dynamic-page-runtime/DynamicModuleHost.vue.d.ts +3 -10
- package/dist/types/dynamic-page-runtime/DynamicRecordDetailActions.vue.d.ts +4 -3
- package/dist/types/dynamic-page-runtime/ManagedDetailRelationInlineSurface.vue.d.ts +40 -0
- package/dist/types/dynamic-page-runtime/ManagedDetailRelationSurface.vue.d.ts +14 -0
- package/dist/types/dynamic-page-runtime/ModulePageDetailRelations.vue.d.ts +26 -0
- package/dist/types/dynamic-page-runtime/ModulePageFormContributionRenderer.vue.d.ts +12 -0
- package/dist/types/dynamic-page-runtime/ModulePageHost.vue.d.ts +14 -0
- package/dist/types/dynamic-page-runtime/ModulePageListExpansionSurface.vue.d.ts +19 -0
- package/dist/types/dynamic-page-runtime/ModulePageListRelationExpansion.vue.d.ts +13 -0
- package/dist/types/dynamic-page-runtime/ModulePageListRelationExpansions.vue.d.ts +16 -0
- package/dist/types/dynamic-page-runtime/ModulePageRecordContent.vue.d.ts +42 -0
- package/dist/types/dynamic-page-runtime/ModuleRecordDetailActions.vue.d.ts +41 -0
- package/dist/types/dynamic-page-runtime/NavigatorManagementEditor.vue.d.ts +20 -1
- package/dist/types/dynamic-page-runtime/PageNavigatorExplorer.vue.d.ts +12 -5
- package/dist/types/dynamic-page-runtime/RecordFormSurface.vue.d.ts +31 -0
- package/dist/types/dynamic-page-runtime/composables/useManagedDetailRelationRuntime.d.ts +30 -0
- package/dist/types/dynamic-page-runtime/composables/useModulePageActions.d.ts +13 -0
- package/dist/types/dynamic-page-runtime/composables/useModulePageBootstrap.d.ts +17 -0
- package/dist/types/dynamic-page-runtime/composables/useModulePageDetailActionRuntime.d.ts +48 -0
- package/dist/types/dynamic-page-runtime/composables/useModulePageDetailExtensionRuntime.d.ts +26 -0
- package/dist/types/dynamic-page-runtime/composables/useModulePageFormContributionRuntime.d.ts +22 -0
- package/dist/types/dynamic-page-runtime/composables/useModulePageListSession.d.ts +41 -0
- package/dist/types/dynamic-page-runtime/composables/useNavigatorRuntime.d.ts +1324 -0
- package/dist/types/dynamic-page-runtime/composables/useRecordEditingSession.d.ts +22 -0
- package/dist/types/dynamic-page-runtime/dynamicModuleDetailStateModel.d.ts +5 -12
- package/dist/types/dynamic-page-runtime/formComputeCoordinator.d.ts +18 -0
- package/dist/types/dynamic-page-runtime/index.d.ts +3 -2
- package/dist/types/dynamic-page-runtime/listPageSizePreference.d.ts +10 -0
- package/dist/types/dynamic-page-runtime/moduleDetailStateModel.d.ts +12 -0
- package/dist/types/dynamic-page-runtime/modulePageEnhancements.d.ts +181 -7
- package/dist/types/dynamic-page-runtime/navigatorVisibility.d.ts +6 -0
- package/dist/types/dynamic-page-runtime/pageContextRuntime.d.ts +2 -2
- package/dist/types/dynamic-page-runtime/recordDetailController.d.ts +9 -1
- package/dist/types/dynamic-page-runtime/relationFormComputeCoordinator.d.ts +9 -0
- package/dist/types/formula/FormulaRuntime.d.ts +29 -0
- package/dist/types/platform-admin-runtime/WorkspaceViewDrawer.vue.d.ts +1 -0
- package/dist/types/{views/UserDetailWorkspaceView.vue.d.ts → platform-admin-runtime/employee/EmployeeAccountDrawer.vue.d.ts} +2 -2
- package/dist/types/platform-admin-runtime/employeeModulePageEnhancement.d.ts +3 -0
- package/dist/types/platform-admin-runtime/index.d.ts +1 -1
- package/dist/types/platform-admin-runtime/moduleOpenApi.d.ts +2 -0
- package/dist/types/platform-admin-runtime/passwordPolicyPageEnhancement.d.ts +6 -0
- package/dist/types/platform-admin-runtime/platformAdminRoutes.d.ts +1 -6
- package/dist/types/platform-admin-runtime/platformModulePageEnhancement.d.ts +9 -0
- package/dist/types/platform-admin-runtime/tenant/TenantApplicationConfigurationDrawer.vue.d.ts +7 -0
- package/dist/types/platform-admin-runtime/tenant/TenantApplicationsDetailSection.vue.d.ts +7 -0
- package/dist/types/platform-admin-runtime/tenantModulePageEnhancement.d.ts +7 -0
- package/dist/types/platform-admin-runtime/user/UserOnlineStatusCell.vue.d.ts +8 -0
- package/dist/types/platform-admin-runtime/user/UserPasswordDrawer.vue.d.ts +7 -0
- package/dist/types/platform-admin-runtime/user/UserSessionListExpansion.vue.d.ts +7 -0
- package/dist/types/platform-admin-runtime/user/useUserSessionRows.d.ts +23 -0
- package/dist/types/platform-admin-runtime/user/userOnlineStatusStore.d.ts +11 -0
- package/dist/types/platform-admin-runtime/userModulePageEnhancement.d.ts +7 -0
- package/dist/types/platform-components/CrudRecordListExplorer.vue.d.ts +4 -2
- package/dist/types/platform-components/DetailRelationListPanel.vue.d.ts +13 -0
- package/dist/types/{views/EmployeeDetailWorkspaceView.vue.d.ts → platform-components/DrawerTitleActions.vue.d.ts} +2 -1
- package/dist/types/platform-components/FileTransferUploader.vue.d.ts +7 -0
- package/dist/types/platform-components/ModuleActionButton.vue.d.ts +5 -2
- package/dist/types/platform-components/RecordContentSectionHeading.vue.d.ts +17 -0
- package/dist/types/platform-components/RecordDetailDrawer.vue.d.ts +3 -0
- package/dist/types/platform-components/RecordDetailExtensionSection.vue.d.ts +8 -3
- package/dist/types/platform-components/RecordDetailFields.vue.d.ts +5 -0
- package/dist/types/platform-components/RecordDetailLayout.vue.d.ts +11 -3
- package/dist/types/platform-components/RecordDetailPanel.vue.d.ts +14 -6
- package/dist/types/platform-components/RecordExpandedSubtable.vue.d.ts +3 -0
- package/dist/types/platform-components/RecordFileReferenceTransfer.vue.d.ts +4 -0
- package/dist/types/platform-components/RecordFormFields.vue.d.ts +29 -1
- package/dist/types/platform-components/RecordImageFileReferencePreview.vue.d.ts +11 -0
- package/dist/types/platform-components/RecordListExpansionSurface.vue.d.ts +13 -0
- package/dist/types/platform-components/RecordListExplorer.vue.d.ts +4 -2
- package/dist/types/platform-components/RecordModeDrawer.vue.d.ts +2 -1
- package/dist/types/platform-components/RecordMultiPicker.vue.d.ts +12 -2
- package/dist/types/platform-components/RecordPicker.vue.d.ts +10 -2
- package/dist/types/platform-components/RecordQueryListPanel.vue.d.ts +33 -5
- package/dist/types/{views/EmployeeEmploymentDrawer.vue.d.ts → platform-components/RecordRelationTabs.vue.d.ts} +7 -7
- package/dist/types/platform-components/RecordSelectionCheckbox.vue.d.ts +13 -0
- package/dist/types/platform-components/StaticManagementLayout.vue.d.ts +12 -4
- package/dist/types/platform-components/TreeRecordExplorer.vue.d.ts +4 -2
- package/dist/types/platform-components/UserSessionExpandedSubtable.vue.d.ts +2 -0
- package/dist/types/platform-components/drawerTitleActions.d.ts +11 -0
- package/dist/types/platform-components/index.d.ts +11 -3
- package/dist/types/platform-components/optionFieldOptionCache.d.ts +3 -0
- package/dist/types/platform-components/recordDetailFieldModel.d.ts +2 -0
- package/dist/types/platform-components/recordFormFieldModel.d.ts +67 -4
- package/dist/types/platform-components/recordPickerConstraints.d.ts +2 -0
- package/dist/types/platform-components/recordPickerModel.d.ts +6 -2
- package/dist/types/platform-workbench/Workbench.vue.d.ts +2 -2
- package/dist/types/platform-workbench/index.d.ts +3 -2
- package/dist/types/platform-workbench/legacyPageHostTypeCompatibility.d.ts +6 -0
- package/dist/types/platform-workbench/menuNavigation.d.ts +24 -2
- package/dist/types/platform-workbench/pageCacheKey.d.ts +2 -0
- package/dist/types/platform-workbench/pageHostRegistry.d.ts +1 -1
- package/dist/types/platform-workbench/workbenchNavigation.d.ts +14 -1
- package/dist/types/views/PasswordPolicyPreview.vue.d.ts +7 -0
- package/dist/types/views/RoleAccountGrantDrawer.vue.d.ts +1 -0
- package/dist/types/views/RoleAuthorizationView.vue.d.ts +2 -0
- package/dist/types/views/RoleEmploymentGrantDrawer.vue.d.ts +1 -0
- package/dist/types/views/{EmployeeManagementView.vue.d.ts → UserDetailRouteView.vue.d.ts} +3 -2
- package/dist/types/views/UserManagementListView.vue.d.ts +3 -0
- package/dist/types/views/UserManagementView.vue.d.ts +1 -6
- package/dist/types/views/WorkspaceRouteView.vue.d.ts +3 -0
- package/dist/types/views/menuManagementState.d.ts +2 -0
- package/dist/types/views/userDetailStateModel.d.ts +1 -3
- package/dist/types/views/userManagementRouteState.d.ts +11 -0
- package/dist/types/vue-ui-antdv/components/UiButton.vue.d.ts +3 -0
- package/dist/types/vue-ui-antdv/components/UiIcon.vue.d.ts +1 -1
- package/dist/types/vue-ui-antdv/components/UiInput.vue.d.ts +2 -1
- package/dist/types/vue-ui-antdv/components/UiRadioGroup.vue.d.ts +18 -0
- package/dist/types/vue-ui-antdv/components/UiRecordExplorerItem.vue.d.ts +2 -2
- package/dist/types/vue-ui-antdv/components/UiTree.vue.d.ts +4 -2
- package/dist/types/vue-ui-antdv/index.d.ts +4 -2
- package/dist/types/web-contracts/index.d.ts +303 -12
- package/dist/types/web-core/businessNotifications.d.ts +3 -2
- package/dist/types/web-core/index.d.ts +1 -0
- package/dist/types/web-core/module/abilities.d.ts +7 -7
- package/dist/types/web-core/module/moduleContext.d.ts +5 -3
- package/dist/types/web-core/module/runtimeContext.d.ts +2 -0
- package/dist/types/web-core/module/staticModuleClient.d.ts +36 -10
- package/dist/types/web-core/referenceResolveClient.d.ts +11 -0
- package/dist/workspaceViewSessions-B5g4M0rT.js +51 -0
- package/dist/workspaceViews-CkERhK0K.js +8748 -0
- package/package.json +1 -1
- package/dist/EmployeeDetailWorkspaceView-DswEDSxH.js +0 -14
- package/dist/EmployeeManagementView-C9STtw08.js +0 -1777
- package/dist/RoleManagementView-D43pUCxi.js +0 -1926
- package/dist/SystemUserManagementView-D75_ylYk.js +0 -758
- package/dist/UserDetailWorkspaceView-BCST01d2.js +0 -17
- package/dist/UserManagementView-CcdvDo_y.js +0 -964
- package/dist/pageRealtime-EAiGWKEo.js +0 -227
- package/dist/types/views/EmployeeDetailContent.vue.d.ts +0 -64
- package/dist/types/views/employeeDetailStateModel.d.ts +0 -39
- package/dist/types/views/employeeDetailWorkspaceSession.d.ts +0 -16
- package/dist/types/views/employeeDetailWorkspaceView.d.ts +0 -4
- package/dist/types/views/fieldUiControlManagementState.d.ts +0 -76
- package/dist/types/views/moduleManagementState.d.ts +0 -76
- package/dist/types/views/positionManagementState.d.ts +0 -218
- package/dist/types/views/tenantManagementState.d.ts +0 -74
- package/dist/types/views/useEmployeeEmploymentRows.d.ts +0 -20
- package/dist/types/views/userDetailWorkspaceSession.d.ts +0 -14
- package/dist/types/views/userDetailWorkspaceView.d.ts +0 -4
- package/dist/useUserSessionRows-DCpUZCzN.js +0 -128
- package/dist/workspaceViewSessions-Dj1LjdG1.js +0 -4984
- /package/dist/types/views/{FieldUiControlManagementView.vue.d.ts → DynamicModuleRouteView.vue.d.ts} +0 -0
- /package/dist/types/views/{ModuleManagementView.vue.d.ts → ExternalRouteView.vue.d.ts} +0 -0
- /package/dist/types/views/{PasswordManagementView.vue.d.ts → ModuleOpenApiRouteView.vue.d.ts} +0 -0
- /package/dist/types/views/{PositionManagementView.vue.d.ts → OpenApiCatalogRouteView.vue.d.ts} +0 -0
- /package/dist/types/views/{TenantManagementView.vue.d.ts → RouteDiagnosticsView.vue.d.ts} +0 -0
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { ModulePageEnhancement } from '../dynamic-page-runtime/index';
|
|
2
|
+
/**
|
|
3
|
+
* IAM-specific behavior around the platform-owned user CRUD page.
|
|
4
|
+
* Sessions and password operations remain IAM features; the module runner only
|
|
5
|
+
* provides their controlled list cell, row-expansion and action boundaries.
|
|
6
|
+
*/
|
|
7
|
+
export declare const userModulePageEnhancement: ModulePageEnhancement;
|
|
@@ -26,14 +26,16 @@ type __VLS_Props = {
|
|
|
26
26
|
mode?: CrudRecordListMode;
|
|
27
27
|
};
|
|
28
28
|
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
29
|
-
select: (record: CrudRecordListBase) => any;
|
|
30
29
|
action: (action: import("../web-contracts/index.ts").RecordInlineAction, record: CrudRecordListBase) => any;
|
|
30
|
+
select: (record: CrudRecordListBase) => any;
|
|
31
|
+
deselect: () => any;
|
|
31
32
|
loaded: (records: CrudRecordListBase[]) => any;
|
|
32
33
|
restored: () => any;
|
|
33
34
|
recycleBinSummary: (total: number | undefined) => any;
|
|
34
35
|
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
35
|
-
onSelect?: ((record: CrudRecordListBase) => any) | undefined;
|
|
36
36
|
onAction?: ((action: import("../web-contracts/index.ts").RecordInlineAction, record: CrudRecordListBase) => any) | undefined;
|
|
37
|
+
onSelect?: ((record: CrudRecordListBase) => any) | undefined;
|
|
38
|
+
onDeselect?: (() => any) | undefined;
|
|
37
39
|
onLoaded?: ((records: CrudRecordListBase[]) => any) | undefined;
|
|
38
40
|
onRestored?: (() => any) | undefined;
|
|
39
41
|
onRecycleBinSummary?: ((total: number | undefined) => any) | undefined;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type { ResolvedDetailRelationDescriptor } from '../web-contracts/index';
|
|
2
|
+
import type { ModuleContext } from '../web-core/index';
|
|
3
|
+
import { type QueryListRecord } from './RecordQueryListPanel.vue';
|
|
4
|
+
type __VLS_Props = {
|
|
5
|
+
/** The owning record module: relation query authorization remains on this route. */
|
|
6
|
+
sourceContext: ModuleContext<QueryListRecord>;
|
|
7
|
+
relation: ResolvedDetailRelationDescriptor;
|
|
8
|
+
recordId?: string;
|
|
9
|
+
reloadKey?: number;
|
|
10
|
+
};
|
|
11
|
+
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>;
|
|
12
|
+
declare const _default: typeof __VLS_export;
|
|
13
|
+
export default _default;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
+
import type { DrawerTitleAction } from './drawerTitleActions';
|
|
1
2
|
type __VLS_Props = {
|
|
2
|
-
|
|
3
|
+
actions: DrawerTitleAction[];
|
|
3
4
|
};
|
|
4
5
|
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
5
6
|
declare const _default: typeof __VLS_export;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { UiIconName } from '../vue-ui-antdv/index';
|
|
1
2
|
import { type FileTransferUploadAccess, type FileTransferUploadReceipt } from './fileTransferUpload';
|
|
2
3
|
type __VLS_Props = {
|
|
3
4
|
/** Business API callback: authorize this exact file and return a short-lived upload target. */
|
|
@@ -18,6 +19,9 @@ type __VLS_Props = {
|
|
|
18
19
|
uploadText?: string;
|
|
19
20
|
presentation?: 'dropzone' | 'button';
|
|
20
21
|
uploadButtonType?: 'default' | 'primary' | 'dashed' | 'link' | 'text';
|
|
22
|
+
uploadButtonSize?: 'small' | 'middle' | 'large';
|
|
23
|
+
uploadButtonIconName?: UiIconName;
|
|
24
|
+
uploadButtonTitle?: string;
|
|
21
25
|
showCompletedItems?: boolean;
|
|
22
26
|
/** Non-blocking, browser-side guidance evaluated after file selection and before transfer. */
|
|
23
27
|
uploadAdvisory?: (file: File) => string | undefined | Promise<string | undefined>;
|
|
@@ -56,6 +60,9 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {
|
|
|
56
60
|
autoUpload: boolean;
|
|
57
61
|
uploadText: string;
|
|
58
62
|
uploadButtonType: "default" | "primary" | "dashed" | "link" | "text";
|
|
63
|
+
uploadButtonSize: "small" | "middle" | "large";
|
|
64
|
+
uploadButtonIconName: UiIconName;
|
|
65
|
+
uploadButtonTitle: string;
|
|
59
66
|
showCompletedItems: boolean;
|
|
60
67
|
uploadAdvisory: (file: File) => string | undefined | Promise<string | undefined>;
|
|
61
68
|
uploadValidation: (file: File) => string | undefined | Promise<string | undefined>;
|
|
@@ -3,6 +3,8 @@ import { type UiIconName } from '../vue-ui-antdv/index';
|
|
|
3
3
|
type __VLS_Props = {
|
|
4
4
|
context: ModuleContext<unknown>;
|
|
5
5
|
actionCode: string;
|
|
6
|
+
/** Resolves the existing record-level action contract for a selected record. */
|
|
7
|
+
recordId?: string;
|
|
6
8
|
type?: 'button' | 'submit' | 'reset';
|
|
7
9
|
disabled?: boolean;
|
|
8
10
|
loading?: boolean;
|
|
@@ -12,9 +14,9 @@ type __VLS_Props = {
|
|
|
12
14
|
iconName?: UiIconName;
|
|
13
15
|
iconOnly?: boolean;
|
|
14
16
|
};
|
|
15
|
-
declare var
|
|
17
|
+
declare var __VLS_16: {};
|
|
16
18
|
type __VLS_Slots = {} & {
|
|
17
|
-
default?: (props: typeof
|
|
19
|
+
default?: (props: typeof __VLS_16) => any;
|
|
18
20
|
};
|
|
19
21
|
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
20
22
|
click: (event: MouseEvent) => any;
|
|
@@ -22,6 +24,7 @@ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {},
|
|
|
22
24
|
onClick?: ((event: MouseEvent) => any) | undefined;
|
|
23
25
|
}>, {
|
|
24
26
|
type: "button" | "submit" | "reset";
|
|
27
|
+
recordId: string;
|
|
25
28
|
title: string;
|
|
26
29
|
primary: boolean;
|
|
27
30
|
danger: boolean;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
title: string;
|
|
3
|
+
subtitle?: string;
|
|
4
|
+
};
|
|
5
|
+
declare var __VLS_1: {};
|
|
6
|
+
type __VLS_Slots = {} & {
|
|
7
|
+
actions?: (props: typeof __VLS_1) => any;
|
|
8
|
+
};
|
|
9
|
+
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
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
11
|
+
declare const _default: typeof __VLS_export;
|
|
12
|
+
export default _default;
|
|
13
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
14
|
+
new (): {
|
|
15
|
+
$slots: S;
|
|
16
|
+
};
|
|
17
|
+
};
|
|
@@ -3,6 +3,8 @@ import type { DrawerPromotion } from './drawerPromotion';
|
|
|
3
3
|
type __VLS_Props = {
|
|
4
4
|
open: boolean;
|
|
5
5
|
title: string;
|
|
6
|
+
/** Explicit page container for a locally scoped drawer. Omitted uses the active tab host. */
|
|
7
|
+
container?: HTMLElement | null;
|
|
6
8
|
subtitle?: string;
|
|
7
9
|
width?: number | string;
|
|
8
10
|
scope?: UiSidePanelScope;
|
|
@@ -27,6 +29,7 @@ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {},
|
|
|
27
29
|
width: number | string;
|
|
28
30
|
subtitle: string;
|
|
29
31
|
closeOnOutside: boolean;
|
|
32
|
+
container: HTMLElement | null;
|
|
30
33
|
closeTitle: string;
|
|
31
34
|
promotion: DrawerPromotion;
|
|
32
35
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
@@ -1,11 +1,16 @@
|
|
|
1
1
|
type __VLS_Props = {
|
|
2
2
|
title: string;
|
|
3
|
+
kind?: 'default' | 'relation';
|
|
3
4
|
};
|
|
4
|
-
declare var
|
|
5
|
+
declare var __VLS_8: {}, __VLS_10: {};
|
|
5
6
|
type __VLS_Slots = {} & {
|
|
6
|
-
|
|
7
|
+
actions?: (props: typeof __VLS_8) => any;
|
|
8
|
+
} & {
|
|
9
|
+
default?: (props: typeof __VLS_10) => any;
|
|
7
10
|
};
|
|
8
|
-
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
11
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
12
|
+
kind: "default" | "relation";
|
|
13
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
9
14
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
10
15
|
declare const _default: typeof __VLS_export;
|
|
11
16
|
export default _default;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { ModuleContext } from '../web-core/index';
|
|
1
2
|
import { type RecordFormFieldDescriptor, type RecordFormFieldFallback, type RecordFormFieldPickerConfig, type RecordFormRecord } from './recordFormFieldModel';
|
|
2
3
|
import { type RecordDetailDisplayResolver } from './recordDetailFieldModel';
|
|
3
4
|
type __VLS_Props = {
|
|
@@ -7,6 +8,8 @@ type __VLS_Props = {
|
|
|
7
8
|
fields?: Map<string, RecordFormFieldDescriptor>;
|
|
8
9
|
fallback?: Record<string, RecordFormFieldFallback>;
|
|
9
10
|
pickerConfigs?: Record<string, RecordFormFieldPickerConfig>;
|
|
11
|
+
optionContext?: ModuleContext<unknown>;
|
|
12
|
+
fileTransferContext?: ModuleContext<unknown>;
|
|
10
13
|
displayOf?: RecordDetailDisplayResolver;
|
|
11
14
|
emptyText?: string;
|
|
12
15
|
};
|
|
@@ -17,6 +20,8 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {
|
|
|
17
20
|
excludeFieldNames: string[];
|
|
18
21
|
fallback: Record<string, RecordFormFieldFallback>;
|
|
19
22
|
pickerConfigs: Record<string, RecordFormFieldPickerConfig>;
|
|
23
|
+
optionContext: ModuleContext<unknown>;
|
|
24
|
+
fileTransferContext: ModuleContext<unknown>;
|
|
20
25
|
displayOf: RecordDetailDisplayResolver;
|
|
21
26
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
22
27
|
declare const _default: typeof __VLS_export;
|
|
@@ -8,7 +8,7 @@ type __VLS_Props = {
|
|
|
8
8
|
/** Internal composition surface selected by the hosting platform component. */
|
|
9
9
|
surface?: 'workspace' | 'drawer';
|
|
10
10
|
};
|
|
11
|
-
declare var __VLS_1: {}, __VLS_3: {}, __VLS_5: {}, __VLS_7: {}, __VLS_9: {}, __VLS_11: {}, __VLS_13: {}, __VLS_21: {};
|
|
11
|
+
declare var __VLS_1: {}, __VLS_3: {}, __VLS_5: {}, __VLS_7: {}, __VLS_9: {}, __VLS_11: {}, __VLS_13: {}, __VLS_15: {}, __VLS_17: {}, __VLS_19: {}, __VLS_21: {}, __VLS_29: {};
|
|
12
12
|
type __VLS_Slots = {} & {
|
|
13
13
|
header?: (props: typeof __VLS_1) => any;
|
|
14
14
|
} & {
|
|
@@ -20,11 +20,19 @@ type __VLS_Slots = {} & {
|
|
|
20
20
|
} & {
|
|
21
21
|
actions?: (props: typeof __VLS_9) => any;
|
|
22
22
|
} & {
|
|
23
|
-
|
|
23
|
+
'content-top'?: (props: typeof __VLS_11) => any;
|
|
24
24
|
} & {
|
|
25
25
|
default?: (props: typeof __VLS_13) => any;
|
|
26
26
|
} & {
|
|
27
|
-
|
|
27
|
+
'content-bottom'?: (props: typeof __VLS_15) => any;
|
|
28
|
+
} & {
|
|
29
|
+
'content-top'?: (props: typeof __VLS_17) => any;
|
|
30
|
+
} & {
|
|
31
|
+
default?: (props: typeof __VLS_19) => any;
|
|
32
|
+
} & {
|
|
33
|
+
'content-bottom'?: (props: typeof __VLS_21) => any;
|
|
34
|
+
} & {
|
|
35
|
+
operation?: (props: typeof __VLS_29) => any;
|
|
28
36
|
};
|
|
29
37
|
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
30
38
|
subtitle: string;
|
|
@@ -2,17 +2,25 @@ type __VLS_Props = {
|
|
|
2
2
|
title: string;
|
|
3
3
|
subtitle?: string;
|
|
4
4
|
};
|
|
5
|
-
declare var
|
|
5
|
+
declare var __VLS_1: {}, __VLS_17: {}, __VLS_20: {}, __VLS_23: {}, __VLS_26: {}, __VLS_28: {}, __VLS_31: {}, __VLS_34: {}, __VLS_36: {};
|
|
6
6
|
type __VLS_Slots = {} & {
|
|
7
|
-
'
|
|
7
|
+
'outside-top'?: (props: typeof __VLS_1) => any;
|
|
8
8
|
} & {
|
|
9
|
-
|
|
9
|
+
'title-prefix'?: (props: typeof __VLS_17) => any;
|
|
10
10
|
} & {
|
|
11
|
-
|
|
11
|
+
status?: (props: typeof __VLS_20) => any;
|
|
12
12
|
} & {
|
|
13
|
-
|
|
13
|
+
actions?: (props: typeof __VLS_23) => any;
|
|
14
14
|
} & {
|
|
15
|
-
|
|
15
|
+
'content-top'?: (props: typeof __VLS_26) => any;
|
|
16
|
+
} & {
|
|
17
|
+
default?: (props: typeof __VLS_28) => any;
|
|
18
|
+
} & {
|
|
19
|
+
'content-bottom'?: (props: typeof __VLS_31) => any;
|
|
20
|
+
} & {
|
|
21
|
+
operation?: (props: typeof __VLS_34) => any;
|
|
22
|
+
} & {
|
|
23
|
+
'outside-bottom'?: (props: typeof __VLS_36) => any;
|
|
16
24
|
};
|
|
17
25
|
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
18
26
|
subtitle: string;
|
|
@@ -5,6 +5,8 @@ type __VLS_Props = {
|
|
|
5
5
|
loadingTip?: string;
|
|
6
6
|
errorTitle?: string;
|
|
7
7
|
emptyDescription?: string;
|
|
8
|
+
/** Uses the list expansion surface for spacing and hierarchy. */
|
|
9
|
+
embedded?: boolean;
|
|
8
10
|
};
|
|
9
11
|
declare var __VLS_1: {}, __VLS_13: {};
|
|
10
12
|
type __VLS_Slots = {} & {
|
|
@@ -17,6 +19,7 @@ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {},
|
|
|
17
19
|
error: string;
|
|
18
20
|
emptyDescription: string;
|
|
19
21
|
loadingTip: string;
|
|
22
|
+
embedded: boolean;
|
|
20
23
|
errorTitle: string;
|
|
21
24
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
22
25
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { UiIconName } from '../vue-ui-antdv/index';
|
|
1
2
|
import type { ModuleContext } from '../web-core/index';
|
|
2
3
|
import type { ResolvedFileReferenceFieldDescriptor } from '../web-contracts/index';
|
|
3
4
|
type __VLS_Props = {
|
|
@@ -14,6 +15,9 @@ type __VLS_Props = {
|
|
|
14
15
|
uploaderPresentation?: 'dropzone' | 'button';
|
|
15
16
|
uploadText?: string;
|
|
16
17
|
uploadButtonType?: 'default' | 'primary' | 'dashed' | 'link' | 'text';
|
|
18
|
+
uploadButtonSize?: 'small' | 'middle' | 'large';
|
|
19
|
+
uploadButtonIconName?: UiIconName;
|
|
20
|
+
uploadButtonTitle?: string;
|
|
17
21
|
showCompletedUploadItems?: boolean;
|
|
18
22
|
/** The enclosing field has already rendered the bound file and needs the uploader slot immediately reusable. */
|
|
19
23
|
releaseCompletedUploadOnBind?: boolean;
|
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
import type { ModuleContext } from '../web-core/index';
|
|
2
2
|
import { type RecordFormFieldDescriptor, type RecordFormFieldFallback, type RecordFormFieldPickerConfig, type RecordFormFieldState, type RecordFormFieldValue, type RecordFormRecord } from './recordFormFieldModel';
|
|
3
|
+
export interface RecordFormValidity {
|
|
4
|
+
valid: boolean;
|
|
5
|
+
errors: Record<string, string>;
|
|
6
|
+
}
|
|
3
7
|
type __VLS_Props = {
|
|
4
8
|
record: RecordFormRecord;
|
|
5
9
|
fieldNames?: string[];
|
|
@@ -10,18 +14,34 @@ type __VLS_Props = {
|
|
|
10
14
|
optionContext?: ModuleContext<unknown>;
|
|
11
15
|
fileTransferContext?: ModuleContext<unknown>;
|
|
12
16
|
formSessionKey?: string | number;
|
|
17
|
+
validationRequestKey?: number;
|
|
13
18
|
disabled?: boolean;
|
|
19
|
+
showLabels?: boolean;
|
|
20
|
+
compact?: boolean;
|
|
14
21
|
disabledOf?: (fieldName: string, field: RecordFormFieldState) => boolean;
|
|
15
22
|
placeholderOf?: (fieldName: string, field: RecordFormFieldState) => string | undefined;
|
|
16
23
|
imageUploadHintOf?: (fieldName: string, field: RecordFormFieldState) => string | undefined;
|
|
17
24
|
imageUploadAdvisoryOf?: (fieldName: string, field: RecordFormFieldState) => ((file: File) => string | undefined | Promise<string | undefined>) | undefined;
|
|
18
25
|
};
|
|
19
|
-
declare
|
|
26
|
+
declare var __VLS_1: {
|
|
27
|
+
field: RecordFormFieldState;
|
|
28
|
+
}, __VLS_126: {
|
|
29
|
+
field: RecordFormFieldState;
|
|
30
|
+
};
|
|
31
|
+
type __VLS_Slots = {} & {
|
|
32
|
+
'before-field'?: (props: typeof __VLS_1) => any;
|
|
33
|
+
} & {
|
|
34
|
+
'after-field'?: (props: typeof __VLS_126) => any;
|
|
35
|
+
};
|
|
36
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
20
37
|
"update:field": (fieldName: string, value: RecordFormFieldValue) => any;
|
|
38
|
+
"validity-change": (validity: RecordFormValidity) => any;
|
|
21
39
|
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
22
40
|
"onUpdate:field"?: ((fieldName: string, value: RecordFormFieldValue) => any) | undefined;
|
|
41
|
+
"onValidity-change"?: ((validity: RecordFormValidity) => any) | undefined;
|
|
23
42
|
}>, {
|
|
24
43
|
disabled: boolean;
|
|
44
|
+
compact: boolean;
|
|
25
45
|
fieldNames: string[];
|
|
26
46
|
fields: Map<string, RecordFormFieldDescriptor>;
|
|
27
47
|
formSessionKey: string | number;
|
|
@@ -30,10 +50,18 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {
|
|
|
30
50
|
pickerConfigs: Record<string, RecordFormFieldPickerConfig>;
|
|
31
51
|
optionContext: ModuleContext<unknown>;
|
|
32
52
|
fileTransferContext: ModuleContext<unknown>;
|
|
53
|
+
validationRequestKey: number;
|
|
54
|
+
showLabels: boolean;
|
|
33
55
|
disabledOf: (fieldName: string, field: RecordFormFieldState) => boolean;
|
|
34
56
|
placeholderOf: (fieldName: string, field: RecordFormFieldState) => string | undefined;
|
|
35
57
|
imageUploadHintOf: (fieldName: string, field: RecordFormFieldState) => string | undefined;
|
|
36
58
|
imageUploadAdvisoryOf: (fieldName: string, field: RecordFormFieldState) => ((file: File) => string | undefined | Promise<string | undefined>) | undefined;
|
|
37
59
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
60
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
38
61
|
declare const _default: typeof __VLS_export;
|
|
39
62
|
export default _default;
|
|
63
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
64
|
+
new (): {
|
|
65
|
+
$slots: S;
|
|
66
|
+
};
|
|
67
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { ModuleContext } from '../web-core/index';
|
|
2
|
+
import type { ResolvedFileReferenceFieldDescriptor } from '../web-contracts/index';
|
|
3
|
+
type __VLS_Props = {
|
|
4
|
+
value: unknown;
|
|
5
|
+
record: Record<string, unknown>;
|
|
6
|
+
context: ModuleContext<unknown>;
|
|
7
|
+
definition: ResolvedFileReferenceFieldDescriptor;
|
|
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;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
declare var __VLS_1: {};
|
|
2
|
+
type __VLS_Slots = {} & {
|
|
3
|
+
default?: (props: typeof __VLS_1) => any;
|
|
4
|
+
};
|
|
5
|
+
declare const __VLS_base: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
6
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
7
|
+
declare const _default: typeof __VLS_export;
|
|
8
|
+
export default _default;
|
|
9
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
10
|
+
new (): {
|
|
11
|
+
$slots: S;
|
|
12
|
+
};
|
|
13
|
+
};
|
|
@@ -21,11 +21,13 @@ type __VLS_Props = {
|
|
|
21
21
|
mutedOf?: (record: RecordListExplorerRecord) => boolean;
|
|
22
22
|
};
|
|
23
23
|
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
24
|
-
select: (record: RecordListExplorerRecord) => any;
|
|
25
24
|
action: (action: import("../web-contracts").RecordInlineAction, record: RecordListExplorerRecord) => any;
|
|
25
|
+
select: (record: RecordListExplorerRecord) => any;
|
|
26
|
+
deselect: () => any;
|
|
26
27
|
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
27
|
-
onSelect?: ((record: RecordListExplorerRecord) => any) | undefined;
|
|
28
28
|
onAction?: ((action: import("../web-contracts").RecordInlineAction, record: RecordListExplorerRecord) => any) | undefined;
|
|
29
|
+
onSelect?: ((record: RecordListExplorerRecord) => any) | undefined;
|
|
30
|
+
onDeselect?: (() => any) | undefined;
|
|
29
31
|
}>, {
|
|
30
32
|
filterOption: (record: RecordListExplorerRecord, normalizedKeyword: string) => boolean;
|
|
31
33
|
emptyDescription: string;
|
|
@@ -3,7 +3,7 @@ import type { DrawerPromotion } from './drawerPromotion';
|
|
|
3
3
|
type __VLS_Props = {
|
|
4
4
|
open: boolean;
|
|
5
5
|
title: string;
|
|
6
|
-
|
|
6
|
+
container?: HTMLElement | null;
|
|
7
7
|
subtitle?: string;
|
|
8
8
|
width?: number | string;
|
|
9
9
|
scope?: UiSidePanelScope;
|
|
@@ -63,6 +63,7 @@ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {},
|
|
|
63
63
|
loading: boolean;
|
|
64
64
|
subtitle: string;
|
|
65
65
|
closeOnOutside: boolean;
|
|
66
|
+
container: HTMLElement | null;
|
|
66
67
|
closeTitle: string;
|
|
67
68
|
promotion: DrawerPromotion;
|
|
68
69
|
errorTitle: string;
|
|
@@ -1,10 +1,15 @@
|
|
|
1
1
|
import { type ModuleContext } from '../web-core/index';
|
|
2
|
+
import type { WebTreeNode } from '../web-contracts/index';
|
|
2
3
|
import type { PickerConstraint, RecordPickerRecord } from './recordPickerConstraints';
|
|
4
|
+
import { type RecordPickerMode } from './recordPickerModel';
|
|
3
5
|
type __VLS_Props = {
|
|
4
6
|
context: ModuleContext<RecordPickerRecord>;
|
|
7
|
+
loadOptions?: (keyword: string) => Promise<RecordPickerRecord[]>;
|
|
8
|
+
loadTree?: () => Promise<WebTreeNode<RecordPickerRecord>[]>;
|
|
9
|
+
resolveOptions?: (values: string[]) => Promise<RecordPickerRecord[]>;
|
|
5
10
|
value?: string[];
|
|
6
11
|
reloadKey?: number;
|
|
7
|
-
mode?:
|
|
12
|
+
mode?: RecordPickerMode;
|
|
8
13
|
placeholder?: string;
|
|
9
14
|
disabled?: boolean;
|
|
10
15
|
allowClear?: boolean;
|
|
@@ -14,11 +19,13 @@ type __VLS_Props = {
|
|
|
14
19
|
filterOption?: (record: RecordPickerRecord, keyword: string) => boolean;
|
|
15
20
|
};
|
|
16
21
|
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
22
|
+
select: (records: RecordPickerRecord[]) => any;
|
|
17
23
|
"update:value": (value: string[]) => any;
|
|
18
24
|
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
25
|
+
onSelect?: ((records: RecordPickerRecord[]) => any) | undefined;
|
|
19
26
|
"onUpdate:value"?: ((value: string[]) => any) | undefined;
|
|
20
27
|
}>, {
|
|
21
|
-
mode:
|
|
28
|
+
mode: RecordPickerMode;
|
|
22
29
|
disabled: boolean;
|
|
23
30
|
value: string[];
|
|
24
31
|
placeholder: string;
|
|
@@ -26,6 +33,9 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {
|
|
|
26
33
|
filterOption: (record: RecordPickerRecord, keyword: string) => boolean;
|
|
27
34
|
titleOf: (record: RecordPickerRecord) => string;
|
|
28
35
|
reloadKey: number;
|
|
36
|
+
loadOptions: (keyword: string) => Promise<RecordPickerRecord[]>;
|
|
37
|
+
loadTree: () => Promise<WebTreeNode<RecordPickerRecord>[]>;
|
|
38
|
+
resolveOptions: (values: string[]) => Promise<RecordPickerRecord[]>;
|
|
29
39
|
constraints: PickerConstraint<RecordPickerRecord>[];
|
|
30
40
|
descriptionOf: (record: RecordPickerRecord) => string | undefined;
|
|
31
41
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
@@ -1,10 +1,15 @@
|
|
|
1
1
|
import { type ModuleContext } from '../web-core/index';
|
|
2
|
+
import type { WebTreeNode } from '../web-contracts/index';
|
|
2
3
|
import { type PickerConstraint, type RecordPickerRecord } from './recordPickerConstraints';
|
|
4
|
+
import { type RecordPickerMode } from './recordPickerModel';
|
|
3
5
|
type __VLS_Props = {
|
|
4
6
|
context: ModuleContext<RecordPickerRecord>;
|
|
7
|
+
loadOptions?: (keyword: string) => Promise<RecordPickerRecord[]>;
|
|
8
|
+
loadTree?: () => Promise<WebTreeNode<RecordPickerRecord>[]>;
|
|
9
|
+
resolveOptions?: (values: string[]) => Promise<RecordPickerRecord[]>;
|
|
5
10
|
value?: string;
|
|
6
11
|
reloadKey?: number;
|
|
7
|
-
mode?:
|
|
12
|
+
mode?: RecordPickerMode;
|
|
8
13
|
placeholder?: string;
|
|
9
14
|
disabled?: boolean;
|
|
10
15
|
allowClear?: boolean;
|
|
@@ -20,7 +25,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {
|
|
|
20
25
|
onSelect?: ((record: RecordPickerRecord | undefined) => any) | undefined;
|
|
21
26
|
"onUpdate:value"?: ((value: string | undefined) => any) | undefined;
|
|
22
27
|
}>, {
|
|
23
|
-
mode:
|
|
28
|
+
mode: RecordPickerMode;
|
|
24
29
|
disabled: boolean;
|
|
25
30
|
value: string;
|
|
26
31
|
placeholder: string;
|
|
@@ -28,6 +33,9 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {
|
|
|
28
33
|
filterOption: (record: RecordPickerRecord, keyword: string) => boolean;
|
|
29
34
|
titleOf: (record: RecordPickerRecord) => string;
|
|
30
35
|
reloadKey: number;
|
|
36
|
+
loadOptions: (keyword: string) => Promise<RecordPickerRecord[]>;
|
|
37
|
+
loadTree: () => Promise<WebTreeNode<RecordPickerRecord>[]>;
|
|
38
|
+
resolveOptions: (values: string[]) => Promise<RecordPickerRecord[]>;
|
|
31
39
|
constraints: PickerConstraint<RecordPickerRecord>[];
|
|
32
40
|
descriptionOf: (record: RecordPickerRecord) => string | undefined;
|
|
33
41
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type Component } from 'vue';
|
|
2
|
-
import type { ResolvedViewFieldDescriptor } from '../web-contracts/index';
|
|
2
|
+
import type { QuerySchema, ResolvedViewFieldDescriptor } from '../web-contracts/index';
|
|
3
3
|
import { type ModuleContext } from '../web-core/index';
|
|
4
4
|
import { type RecordActionItem, type ResolvedRecordActionItem } from './recordActionBarModel';
|
|
5
5
|
export type QueryListRecord = Record<string, unknown> & {
|
|
@@ -48,6 +48,8 @@ type __VLS_Props = {
|
|
|
48
48
|
extraRowActionsOf?: (record: QueryListRecord) => RecordActionItem[];
|
|
49
49
|
rowActionStateOf?: (record: QueryListRecord, action: RecordActionItem) => Partial<RecordActionItem> | undefined;
|
|
50
50
|
rowActionsTitle?: string;
|
|
51
|
+
/** Allows an embedding lifecycle to suppress an otherwise-declared row action slot. */
|
|
52
|
+
rowActionsVisible?: boolean;
|
|
51
53
|
/** Width of the fixed right-side action column. Defaults to the platform compact width. */
|
|
52
54
|
actionColumnWidth?: string | number;
|
|
53
55
|
cellRenderers?: Record<string, (record: QueryListRecord) => string>;
|
|
@@ -56,9 +58,24 @@ type __VLS_Props = {
|
|
|
56
58
|
expandedRowKeys?: string[];
|
|
57
59
|
reloadKey?: number;
|
|
58
60
|
refreshTitle?: string;
|
|
61
|
+
/** Embedded section hosts may own the visible heading while this panel keeps an icon-only refresh. */
|
|
62
|
+
showTitle?: boolean;
|
|
63
|
+
/** Lets a parent lifecycle suppress the complete operation toolbar in read mode. */
|
|
64
|
+
headerVisible?: boolean;
|
|
65
|
+
/** Recycle-bin navigation is operational chrome and may be hidden by an embedding lifecycle. */
|
|
66
|
+
showRecycleBin?: boolean;
|
|
67
|
+
/** Removes the standalone card shell when a section already owns the visual boundary. */
|
|
68
|
+
embedded?: boolean;
|
|
59
69
|
pageSize?: number;
|
|
70
|
+
pageSizeOptions?: number[];
|
|
60
71
|
uiConfigId?: string;
|
|
61
72
|
queryTemplateId?: string;
|
|
73
|
+
/** A source-owned query schema avoids forcing embedded relation lists through target-module access. */
|
|
74
|
+
querySchema?: QuerySchema;
|
|
75
|
+
/** Read-only relation runners may deliberately suppress ad-hoc query controls. */
|
|
76
|
+
queryable?: boolean;
|
|
77
|
+
/** A relation query can intentionally be a bounded, non-pageable result. */
|
|
78
|
+
pageable?: boolean;
|
|
62
79
|
ready?: boolean;
|
|
63
80
|
externalQueryValues?: Record<string, unknown>;
|
|
64
81
|
/** Descriptor-owned external criteria that must be exposed by the query schema. */
|
|
@@ -90,8 +107,8 @@ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {
|
|
|
90
107
|
clearSelection: typeof clearSelection;
|
|
91
108
|
refresh: typeof refresh;
|
|
92
109
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
93
|
-
select: (record: QueryListRecord) => any;
|
|
94
110
|
action: (action: RecordActionItem, event: MouseEvent) => any;
|
|
111
|
+
select: (record: QueryListRecord) => any;
|
|
95
112
|
rowDblclick: (record: QueryListRecord, event: MouseEvent) => any;
|
|
96
113
|
rowExpand: (record: QueryListRecord, expanded: boolean) => any;
|
|
97
114
|
loaded: (records: QueryListRecord[]) => any;
|
|
@@ -99,9 +116,10 @@ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {
|
|
|
99
116
|
batchAction: (action: RecordActionItem, records: QueryListRecord[], event: MouseEvent, clearSelection: () => void) => any;
|
|
100
117
|
rowAction: (action: ResolvedRecordActionItem, record: QueryListRecord, event?: MouseEvent | undefined) => any;
|
|
101
118
|
modeChange: (mode: RecordQueryListMode) => any;
|
|
119
|
+
pageSizeChange: (pageSize: number) => any;
|
|
102
120
|
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
103
|
-
onSelect?: ((record: QueryListRecord) => any) | undefined;
|
|
104
121
|
onAction?: ((action: RecordActionItem, event: MouseEvent) => any) | undefined;
|
|
122
|
+
onSelect?: ((record: QueryListRecord) => any) | undefined;
|
|
105
123
|
onRowDblclick?: ((record: QueryListRecord, event: MouseEvent) => any) | undefined;
|
|
106
124
|
onRowExpand?: ((record: QueryListRecord, expanded: boolean) => any) | undefined;
|
|
107
125
|
onLoaded?: ((records: QueryListRecord[]) => any) | undefined;
|
|
@@ -109,7 +127,9 @@ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {
|
|
|
109
127
|
onBatchAction?: ((action: RecordActionItem, records: QueryListRecord[], event: MouseEvent, clearSelection: () => void) => any) | undefined;
|
|
110
128
|
onRowAction?: ((action: ResolvedRecordActionItem, record: QueryListRecord, event?: MouseEvent | undefined) => any) | undefined;
|
|
111
129
|
onModeChange?: ((mode: RecordQueryListMode) => any) | undefined;
|
|
130
|
+
onPageSizeChange?: ((pageSize: number) => any) | undefined;
|
|
112
131
|
}>, {
|
|
132
|
+
uiConfigId: string;
|
|
113
133
|
mode: RecordQueryListMode;
|
|
114
134
|
actions: RecordActionItem[];
|
|
115
135
|
selectedKey: string;
|
|
@@ -119,12 +139,11 @@ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {
|
|
|
119
139
|
actionColumnWidth: string | number;
|
|
120
140
|
emptyDescription: string;
|
|
121
141
|
pageSize: number;
|
|
122
|
-
|
|
142
|
+
pageSizeOptions: number[];
|
|
123
143
|
queryTemplateId: string;
|
|
124
144
|
reloadKey: number;
|
|
125
145
|
externalQueryValues: Record<string, unknown>;
|
|
126
146
|
ready: boolean;
|
|
127
|
-
refreshTitle: string;
|
|
128
147
|
additionalColumns: Array<RecordQueryListColumn & {
|
|
129
148
|
before?: string;
|
|
130
149
|
after?: string;
|
|
@@ -140,7 +159,16 @@ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {
|
|
|
140
159
|
extraRowActionsOf: (record: QueryListRecord) => RecordActionItem[];
|
|
141
160
|
rowActionStateOf: (record: QueryListRecord, action: RecordActionItem) => Partial<RecordActionItem> | undefined;
|
|
142
161
|
rowActionsTitle: string;
|
|
162
|
+
rowActionsVisible: boolean;
|
|
143
163
|
cellRenderers: Record<string, (record: QueryListRecord) => string>;
|
|
164
|
+
refreshTitle: string;
|
|
165
|
+
showTitle: boolean;
|
|
166
|
+
headerVisible: boolean;
|
|
167
|
+
showRecycleBin: boolean;
|
|
168
|
+
embedded: boolean;
|
|
169
|
+
querySchema: QuerySchema;
|
|
170
|
+
queryable: boolean;
|
|
171
|
+
pageable: boolean;
|
|
144
172
|
requiredExternalCriteriaKeys: string[];
|
|
145
173
|
quickSearchPlaceholder: string;
|
|
146
174
|
waitingDescription: string;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import type { Employee } from '../web-contracts/index';
|
|
2
1
|
type __VLS_Props = {
|
|
3
|
-
|
|
4
|
-
|
|
2
|
+
tabs: Array<{
|
|
3
|
+
key: string;
|
|
4
|
+
title: string;
|
|
5
|
+
}>;
|
|
6
|
+
activeKey?: string;
|
|
5
7
|
};
|
|
6
8
|
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
7
|
-
|
|
8
|
-
saved: (employeeId: string) => any;
|
|
9
|
+
"update:activeKey": (key: string) => any;
|
|
9
10
|
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
10
|
-
|
|
11
|
-
onSaved?: ((employeeId: string) => any) | undefined;
|
|
11
|
+
"onUpdate:activeKey"?: ((key: string) => any) | undefined;
|
|
12
12
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
13
13
|
declare const _default: typeof __VLS_export;
|
|
14
14
|
export default _default;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
checked?: boolean;
|
|
3
|
+
indeterminate?: boolean;
|
|
4
|
+
disabled?: boolean;
|
|
5
|
+
ariaLabel?: string;
|
|
6
|
+
};
|
|
7
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
8
|
+
"update:checked": (checked: boolean) => any;
|
|
9
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
10
|
+
"onUpdate:checked"?: ((checked: boolean) => any) | undefined;
|
|
11
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
12
|
+
declare const _default: typeof __VLS_export;
|
|
13
|
+
export default _default;
|