@ximatai/muyun-web-app 0.26.6 → 0.26.8
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/{EmployeeDetailWorkspaceView-DHZ4arBj.js → EmployeeDetailWorkspaceView-DswEDSxH.js} +1 -1
- package/dist/EmployeeManagementView-C9STtw08.js +1777 -0
- package/dist/{MetadataOrchestrationView-BLxigKBh.js → MetadataOrchestrationView-DKYVGMzy.js} +195 -195
- package/dist/{ModuleActionManagementView-ByJzNkQs.js → ModuleActionManagementView-DiVzuPdu.js} +122 -122
- package/dist/RoleAuthorizationView-C0s4Bog7.js +592 -0
- package/dist/{RoleDetailWorkspaceView-Dfdigf04.js → RoleDetailWorkspaceView-dqHxKVfd.js} +1 -1
- package/dist/{RoleManagementView-D0e9nLwW.js → RoleManagementView-D43pUCxi.js} +542 -543
- package/dist/{SystemUserDetailWorkspaceView-D-UPhCmD.js → SystemUserDetailWorkspaceView-CQ9WeLrR.js} +1 -1
- package/dist/SystemUserManagementView-D75_ylYk.js +758 -0
- package/dist/{UserDetailWorkspaceView-BCSCLNSz.js → UserDetailWorkspaceView-BCST01d2.js} +1 -1
- package/dist/{UserManagementView-aY2AeeWK.js → UserManagementView-CcdvDo_y.js} +211 -212
- package/dist/index.css +1 -1
- package/dist/index.js +4293 -5694
- package/dist/{pageRealtime-Be2xkeKK.js → pageRealtime-EAiGWKEo.js} +87 -85
- package/dist/{platform-components-DuAohqJO.js → platform-components-CFU_zR7-.js} +3828 -2331
- package/dist/types/app/CurrentUserProfileDialog.vue.d.ts +33 -0
- package/dist/types/app/LoginView.vue.d.ts +4 -1
- package/dist/types/app/ThemeSkinPreferencesDialog.vue.d.ts +20 -0
- package/dist/types/app/lockedTabPreference.d.ts +6 -0
- package/dist/types/app/themeSkinPreference.d.ts +11 -0
- package/dist/types/app/workbenchStartup.d.ts +18 -1
- package/dist/types/consumer/AppWorkbenchShell.vue.d.ts +43 -0
- package/dist/types/consumer/index.d.ts +17 -2
- package/dist/types/consumer/userPreferencePersistence.d.ts +7 -0
- package/dist/types/consumer/workbenchNavigation.d.ts +8 -0
- package/dist/types/dynamic-page-runtime/DynamicModuleWorkspaceDetailView.vue.d.ts +10 -0
- package/dist/types/dynamic-page-runtime/DynamicRecordDetailActions.vue.d.ts +38 -0
- package/dist/types/dynamic-page-runtime/NavigatorManagementEditor.vue.d.ts +25 -0
- package/dist/types/dynamic-page-runtime/PageNavigatorExplorer.vue.d.ts +43 -0
- package/dist/types/dynamic-page-runtime/detailSurfacePreference.d.ts +10 -0
- package/dist/types/dynamic-page-runtime/index.d.ts +2 -1
- package/dist/types/dynamic-page-runtime/modulePageEnhancements.d.ts +57 -1
- package/dist/types/dynamic-page-runtime/modulePageNavigation.d.ts +1 -1
- package/dist/types/dynamic-page-runtime/pageContextRuntime.d.ts +6 -0
- package/dist/types/dynamic-page-runtime/recordDetailController.d.ts +27 -0
- package/dist/types/platform-admin-runtime/index.d.ts +1 -1
- package/dist/types/platform-admin-runtime/platformAdminRoutes.d.ts +5 -0
- package/dist/types/platform-admin-runtime/realtime.d.ts +2 -1
- package/dist/types/platform-components/BusinessNotificationPanel.vue.d.ts +12 -0
- package/dist/types/platform-components/CrudRecordListExplorer.vue.d.ts +6 -0
- package/dist/types/platform-components/FileTransferUploader.vue.d.ts +20 -1
- package/dist/types/platform-components/ManagementPanelHeader.vue.d.ts +32 -0
- package/dist/types/platform-components/ManagementWorkspace.vue.d.ts +8 -2
- package/dist/types/platform-components/RecordActionBar.vue.d.ts +1 -1
- package/dist/types/platform-components/RecordDetailDrawer.vue.d.ts +4 -1
- package/dist/types/platform-components/RecordDetailLayout.vue.d.ts +11 -7
- package/dist/types/platform-components/RecordDetailPanel.vue.d.ts +7 -5
- package/dist/types/platform-components/RecordExplorerPanel.vue.d.ts +6 -6
- package/dist/types/platform-components/RecordFileReferenceTransfer.vue.d.ts +10 -0
- package/dist/types/platform-components/RecordFormFields.vue.d.ts +5 -1
- package/dist/types/platform-components/RecordModeDrawer.vue.d.ts +4 -1
- package/dist/types/platform-components/RecordMultiPicker.vue.d.ts +1 -1
- package/dist/types/platform-components/RecordPanelButton.vue.d.ts +2 -0
- package/dist/types/platform-components/RecordPicker.vue.d.ts +1 -1
- package/dist/types/platform-components/RecordQueryListPanel.vue.d.ts +9 -2
- package/dist/types/platform-components/RecordStatusSwitch.vue.d.ts +3 -0
- package/dist/types/platform-components/SingleImageFileReferenceField.vue.d.ts +23 -0
- package/dist/types/platform-components/StaticManagementLayout.vue.d.ts +13 -7
- package/dist/types/platform-components/TreeRecordExplorer.vue.d.ts +3 -0
- package/dist/types/platform-components/fileReferenceTransfer.d.ts +8 -0
- package/dist/types/platform-components/index.d.ts +5 -2
- package/dist/types/platform-components/managementWorkspaceLayout.d.ts +14 -0
- package/dist/types/platform-components/platformErrorFeedback.d.ts +2 -0
- package/dist/types/platform-components/recordActionBarModel.d.ts +6 -0
- package/dist/types/platform-components/recordFormFieldModel.d.ts +6 -3
- package/dist/types/platform-components/recycleBinState.d.ts +2 -0
- package/dist/types/platform-components/scopedTreeModuleContext.d.ts +12 -1
- package/dist/types/platform-components/staticCrudManagementState.d.ts +1 -1
- package/dist/types/platform-workbench/Workbench.vue.d.ts +12 -2
- package/dist/types/platform-workbench/WorkbenchBrandControl.vue.d.ts +22 -2
- package/dist/types/platform-workbench/WorkbenchMenu.vue.d.ts +24 -0
- package/dist/types/platform-workbench/WorkbenchSidebarMenuEntry.vue.d.ts +19 -0
- package/dist/types/platform-workbench/index.d.ts +1 -0
- package/dist/types/platform-workbench/menuHoverClickIntent.d.ts +10 -0
- package/dist/types/platform-workbench/menuNavigation.d.ts +3 -0
- package/dist/types/platform-workbench/menuPointerAim.d.ts +1 -1
- package/dist/types/platform-workbench/modulePageWorkspaceViews.d.ts +7 -0
- package/dist/types/platform-workbench/workbenchLayout.d.ts +39 -0
- package/dist/types/platform-workbench/workbenchNavigation.d.ts +2 -0
- package/dist/types/platform-workbench/workspaceViewHost.d.ts +2 -0
- package/dist/types/views/fieldUiControlManagementState.d.ts +1 -1
- package/dist/types/views/tenantManagementState.d.ts +11 -1
- package/dist/types/vue-ui-antdv/components/UiButton.vue.d.ts +1 -1
- package/dist/types/vue-ui-antdv/components/UiDataTable.vue.d.ts +2 -2
- package/dist/types/vue-ui-antdv/components/UiIcon.vue.d.ts +1 -1
- package/dist/types/vue-ui-antdv/components/UiModal.vue.d.ts +1 -1
- package/dist/types/vue-ui-antdv/components/UiSelect.vue.d.ts +1 -1
- package/dist/types/vue-ui-antdv/components/UiTabs.vue.d.ts +6 -0
- package/dist/types/vue-ui-antdv/components/UiThemeProvider.vue.d.ts +21 -0
- package/dist/types/vue-ui-antdv/components/UiTreeSelect.vue.d.ts +7 -1
- package/dist/types/vue-ui-antdv/index.d.ts +4 -0
- package/dist/types/vue-ui-antdv/theme.d.ts +58 -0
- package/dist/types/vue-ui-antdv/themeGlobalScope.d.ts +2 -0
- package/dist/types/vue-ui-antdv/types.d.ts +1 -0
- package/dist/types/web-contracts/index.d.ts +168 -17
- package/dist/types/web-core/businessNotifications.d.ts +3 -0
- package/dist/types/web-core/clients.d.ts +9 -1
- package/dist/types/web-core/index.d.ts +3 -0
- package/dist/types/web-core/mock.d.ts +3 -1
- package/dist/types/web-core/module/moduleContext.d.ts +1 -0
- package/dist/types/web-core/module/runtimeContext.d.ts +3 -1
- package/dist/types/web-core/module/staticModuleClient.d.ts +8 -1
- package/dist/types/web-core/realtime.d.ts +5 -1
- package/dist/types/web-core/userPreferences.d.ts +24 -0
- package/dist/{useUserSessionRows-DX9qYU5r.js → useUserSessionRows-DCpUZCzN.js} +2 -2
- package/dist/workspaceViewSessions-Dj1LjdG1.js +4984 -0
- package/package.json +1 -1
- package/dist/EmployeeManagementView-BfGb_ssB.js +0 -1706
- package/dist/RoleAuthorizationView-DJSWY3fu.js +0 -592
- package/dist/SystemUserManagementView-DNKRvmDk.js +0 -761
- package/dist/currentUserContext-B1lj1WgF.js +0 -11
- package/dist/types/views/ApplicationManagementView.vue.d.ts +0 -3
- package/dist/types/views/DepartmentManagementView.vue.d.ts +0 -3
- package/dist/types/views/FieldSpecManagementView.vue.d.ts +0 -3
- package/dist/types/views/OrganizationManagementView.vue.d.ts +0 -3
- package/dist/types/views/applicationManagementState.d.ts +0 -64
- package/dist/types/views/departmentManagementState.d.ts +0 -137
- package/dist/types/views/fieldSpecManagementState.d.ts +0 -80
- package/dist/types/views/organizationManagementState.d.ts +0 -64
- package/dist/workspaceViewSessions-C3GP1UGp.js +0 -2639
|
@@ -1,10 +1,21 @@
|
|
|
1
|
+
import type { RouteQueryValue } from '../web-contracts/index';
|
|
1
2
|
import type { ModuleContext, StaticModuleTreeClient } from '../web-core/index';
|
|
2
3
|
export interface ScopedTreeModuleContextOptions {
|
|
3
4
|
scopeFieldName: string;
|
|
4
|
-
scopeValue: string | undefined;
|
|
5
|
+
scopeValue: string | undefined | (() => string | undefined);
|
|
5
6
|
treePath: string;
|
|
6
7
|
sortPath?: string;
|
|
7
8
|
treeQueryParam?: string;
|
|
8
9
|
}
|
|
10
|
+
/**
|
|
11
|
+
* Gives a tree client declared page-context criteria. An empty context is deliberately fail-closed:
|
|
12
|
+
* a dependent picker must not expose records from an unselected business scope.
|
|
13
|
+
*/
|
|
14
|
+
export interface QueryScopedTreeModuleContextOptions {
|
|
15
|
+
queryValues: Record<string, RouteQueryValue> | undefined | (() => Record<string, RouteQueryValue> | undefined);
|
|
16
|
+
treePath: string;
|
|
17
|
+
sortPath?: string;
|
|
18
|
+
}
|
|
19
|
+
export declare function createQueryScopedTreeModuleContext<TRecord>(context: ModuleContext<TRecord>, options: QueryScopedTreeModuleContextOptions): ModuleContext<TRecord>;
|
|
9
20
|
export declare function createScopedTreeModuleContext<TRecord>(context: ModuleContext<TRecord>, options: ScopedTreeModuleContextOptions): ModuleContext<TRecord>;
|
|
10
21
|
export declare function createScopedTreeClient<TRecord>(context: ModuleContext<TRecord>, options: ScopedTreeModuleContextOptions): StaticModuleTreeClient<TRecord>;
|
|
@@ -60,7 +60,7 @@ export declare function useFlatCrudManagementState<TRecord extends StaticCrudRec
|
|
|
60
60
|
startCreate: () => void;
|
|
61
61
|
startEdit: () => void;
|
|
62
62
|
cancelEdit: () => void;
|
|
63
|
-
save: () => Promise<
|
|
63
|
+
save: () => Promise<boolean>;
|
|
64
64
|
toggleEnabled: () => Promise<void>;
|
|
65
65
|
removeSelected: () => Promise<void>;
|
|
66
66
|
};
|
|
@@ -5,28 +5,36 @@ type __VLS_Props = {
|
|
|
5
5
|
loading?: boolean;
|
|
6
6
|
error?: string;
|
|
7
7
|
activeTabKey?: string;
|
|
8
|
+
lockedTabKeys?: string[];
|
|
8
9
|
realtimeStatus?: WorkbenchRealtimeStatus;
|
|
10
|
+
themeAppearance?: 'light' | 'dark';
|
|
9
11
|
};
|
|
10
|
-
declare var
|
|
12
|
+
declare var __VLS_88: {
|
|
11
13
|
activeTab: MenuTab;
|
|
12
14
|
target: MenuNavigationTarget | undefined;
|
|
13
15
|
pageDescriptor: PageDescriptor | undefined;
|
|
14
16
|
};
|
|
15
17
|
type __VLS_Slots = {} & {
|
|
16
|
-
default?: (props: typeof
|
|
18
|
+
default?: (props: typeof __VLS_88) => any;
|
|
17
19
|
};
|
|
18
20
|
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
21
|
+
closeTabs: (keys: string[]) => any;
|
|
19
22
|
selectMenu: (menu: MenuRecord, target: MenuNavigationTarget) => any;
|
|
20
23
|
invalidMenu: (menu: MenuRecord) => any;
|
|
21
24
|
changeTab: (key: string) => any;
|
|
22
25
|
closeTab: (key: string) => any;
|
|
26
|
+
toggleTabLock: (key: string) => any;
|
|
27
|
+
reorderTabs: (keys: string[]) => any;
|
|
23
28
|
"update:activeTabKey": (key: string) => any;
|
|
24
29
|
userCommand: (key: string) => any;
|
|
25
30
|
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
31
|
+
onCloseTabs?: ((keys: string[]) => any) | undefined;
|
|
26
32
|
onSelectMenu?: ((menu: MenuRecord, target: MenuNavigationTarget) => any) | undefined;
|
|
27
33
|
onInvalidMenu?: ((menu: MenuRecord) => any) | undefined;
|
|
28
34
|
onChangeTab?: ((key: string) => any) | undefined;
|
|
29
35
|
onCloseTab?: ((key: string) => any) | undefined;
|
|
36
|
+
onToggleTabLock?: ((key: string) => any) | undefined;
|
|
37
|
+
onReorderTabs?: ((keys: string[]) => any) | undefined;
|
|
30
38
|
"onUpdate:activeTabKey"?: ((key: string) => any) | undefined;
|
|
31
39
|
onUserCommand?: ((key: string) => any) | undefined;
|
|
32
40
|
}>, {
|
|
@@ -35,6 +43,8 @@ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {},
|
|
|
35
43
|
realtimeStatus: WorkbenchRealtimeStatus;
|
|
36
44
|
startup: WorkbenchStartupState;
|
|
37
45
|
activeTabKey: string;
|
|
46
|
+
lockedTabKeys: string[];
|
|
47
|
+
themeAppearance: "light" | "dark";
|
|
38
48
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
39
49
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
40
50
|
declare const _default: typeof __VLS_export;
|
|
@@ -1,21 +1,41 @@
|
|
|
1
|
+
interface CompactMenuAnchor {
|
|
2
|
+
left: number;
|
|
3
|
+
top: number;
|
|
4
|
+
right: number;
|
|
5
|
+
bottom: number;
|
|
6
|
+
}
|
|
1
7
|
type __VLS_Props = {
|
|
2
8
|
presentation: 'compact' | 'expanded';
|
|
3
9
|
compactOpen?: boolean;
|
|
4
10
|
tenantLabel?: string;
|
|
11
|
+
logoSrc?: string;
|
|
12
|
+
showTitleArea?: boolean;
|
|
13
|
+
brandTitle?: string;
|
|
14
|
+
brandSubtitle?: string;
|
|
15
|
+
expandedMenuDepth?: 1 | 2 | 3;
|
|
16
|
+
presentationToggleVisible?: boolean;
|
|
5
17
|
};
|
|
6
18
|
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
7
|
-
openCompactMenu: (source: "click" | "focus" | "pointer") => any;
|
|
19
|
+
openCompactMenu: (source: "click" | "focus" | "pointer", anchor: CompactMenuAnchor) => any;
|
|
8
20
|
scheduleCompactMenuClose: () => any;
|
|
9
21
|
closeCompactMenu: () => any;
|
|
10
22
|
changePresentation: (presentation: "compact" | "expanded") => any;
|
|
23
|
+
changeExpandedMenuDepth: (depth: 1 | 2 | 3) => any;
|
|
11
24
|
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
12
|
-
onOpenCompactMenu?: ((source: "click" | "focus" | "pointer") => any) | undefined;
|
|
25
|
+
onOpenCompactMenu?: ((source: "click" | "focus" | "pointer", anchor: CompactMenuAnchor) => any) | undefined;
|
|
13
26
|
onScheduleCompactMenuClose?: (() => any) | undefined;
|
|
14
27
|
onCloseCompactMenu?: (() => any) | undefined;
|
|
15
28
|
onChangePresentation?: ((presentation: "compact" | "expanded") => any) | undefined;
|
|
29
|
+
onChangeExpandedMenuDepth?: ((depth: 1 | 2 | 3) => any) | undefined;
|
|
16
30
|
}>, {
|
|
17
31
|
compactOpen: boolean;
|
|
18
32
|
tenantLabel: string;
|
|
33
|
+
logoSrc: string;
|
|
34
|
+
showTitleArea: boolean;
|
|
35
|
+
brandTitle: string;
|
|
36
|
+
brandSubtitle: string;
|
|
37
|
+
expandedMenuDepth: 1 | 2 | 3;
|
|
38
|
+
presentationToggleVisible: boolean;
|
|
19
39
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
20
40
|
declare const _default: typeof __VLS_export;
|
|
21
41
|
export default _default;
|
|
@@ -4,14 +4,26 @@ type __VLS_Props = {
|
|
|
4
4
|
menus: MenuTreeNode[];
|
|
5
5
|
selectedMenuId?: string;
|
|
6
6
|
tenantLabel?: string;
|
|
7
|
+
logoSrc?: string;
|
|
8
|
+
showTitleArea?: boolean;
|
|
9
|
+
brandTitle?: string;
|
|
10
|
+
brandSubtitle?: string;
|
|
7
11
|
searchPlaceholder?: string;
|
|
8
12
|
realtimeStatus?: WorkbenchRealtimeStatus;
|
|
9
13
|
presentation?: 'compact' | 'expanded';
|
|
14
|
+
expandedMenuDepth?: 1 | 2 | 3;
|
|
10
15
|
compactOpen?: boolean;
|
|
11
16
|
compactTop?: number;
|
|
17
|
+
compactAnchor?: {
|
|
18
|
+
left: number;
|
|
19
|
+
top: number;
|
|
20
|
+
right: number;
|
|
21
|
+
bottom: number;
|
|
22
|
+
};
|
|
12
23
|
};
|
|
13
24
|
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
14
25
|
changePresentation: (presentation: "compact" | "expanded") => any;
|
|
26
|
+
changeExpandedMenuDepth: (depth: 1 | 2 | 3) => any;
|
|
15
27
|
selectMenu: (menu: MenuRecord, target: MenuNavigationTarget) => any;
|
|
16
28
|
invalidMenu: (menu: MenuRecord) => any;
|
|
17
29
|
compactMenuEnter: () => any;
|
|
@@ -19,6 +31,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {
|
|
|
19
31
|
compactMenuClose: () => any;
|
|
20
32
|
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
21
33
|
onChangePresentation?: ((presentation: "compact" | "expanded") => any) | undefined;
|
|
34
|
+
onChangeExpandedMenuDepth?: ((depth: 1 | 2 | 3) => any) | undefined;
|
|
22
35
|
onSelectMenu?: ((menu: MenuRecord, target: MenuNavigationTarget) => any) | undefined;
|
|
23
36
|
onInvalidMenu?: ((menu: MenuRecord) => any) | undefined;
|
|
24
37
|
onCompactMenuEnter?: (() => any) | undefined;
|
|
@@ -28,10 +41,21 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {
|
|
|
28
41
|
presentation: "compact" | "expanded";
|
|
29
42
|
compactOpen: boolean;
|
|
30
43
|
tenantLabel: string;
|
|
44
|
+
logoSrc: string;
|
|
45
|
+
showTitleArea: boolean;
|
|
46
|
+
brandTitle: string;
|
|
47
|
+
brandSubtitle: string;
|
|
48
|
+
expandedMenuDepth: 1 | 2 | 3;
|
|
31
49
|
selectedMenuId: string;
|
|
32
50
|
searchPlaceholder: string;
|
|
33
51
|
realtimeStatus: WorkbenchRealtimeStatus;
|
|
34
52
|
compactTop: number;
|
|
53
|
+
compactAnchor: {
|
|
54
|
+
left: number;
|
|
55
|
+
top: number;
|
|
56
|
+
right: number;
|
|
57
|
+
bottom: number;
|
|
58
|
+
};
|
|
35
59
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
36
60
|
declare const _default: typeof __VLS_export;
|
|
37
61
|
export default _default;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import type { WorkbenchMenuNode } from './menuTreeModel';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
node: WorkbenchMenuNode;
|
|
4
|
+
mode: 'inline' | 'flyout';
|
|
5
|
+
selected?: boolean;
|
|
6
|
+
selectedPath?: boolean;
|
|
7
|
+
active?: boolean;
|
|
8
|
+
};
|
|
9
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
10
|
+
select: (node: WorkbenchMenuNode) => any;
|
|
11
|
+
openChildren: (node: WorkbenchMenuNode, event: MouseEvent, anchor: HTMLElement) => any;
|
|
12
|
+
toggleChildren: (node: WorkbenchMenuNode, anchor: HTMLElement) => any;
|
|
13
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
14
|
+
onSelect?: ((node: WorkbenchMenuNode) => any) | undefined;
|
|
15
|
+
onOpenChildren?: ((node: WorkbenchMenuNode, event: MouseEvent, anchor: HTMLElement) => any) | undefined;
|
|
16
|
+
onToggleChildren?: ((node: WorkbenchMenuNode, anchor: HTMLElement) => any) | undefined;
|
|
17
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
18
|
+
declare const _default: typeof __VLS_export;
|
|
19
|
+
export default _default;
|
|
@@ -2,6 +2,7 @@ export { default as Workbench } from './Workbench.vue';
|
|
|
2
2
|
export { default as WorkbenchMenu } from './WorkbenchMenu.vue';
|
|
3
3
|
export { default as WorkbenchOutlet } from './WorkbenchOutlet.vue';
|
|
4
4
|
export { default as WorkspaceViewOutlet } from './WorkspaceViewOutlet.vue';
|
|
5
|
+
export { syncModulePageWorkspaceViewContributions } from './modulePageWorkspaceViews';
|
|
5
6
|
export { provideWorkbenchNavigation, useWorkbenchNavigation } from './workbenchNavigation';
|
|
6
7
|
export type { WorkbenchNavigation, WorkbenchPageOpenResult } from './workbenchNavigation';
|
|
7
8
|
export { configureWorkspaceViewContributions, createWorkspaceViewDescriptor, createWorkspaceViewRegistry, dismissWorkspaceViewDescriptor, resolveWorkspaceView, } from './workspaceViews';
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export interface MenuHoverClickIntent {
|
|
2
|
+
markHoverActivation(menuId: string): void;
|
|
3
|
+
consumeImmediateClick(menuId: string): boolean;
|
|
4
|
+
clear(): void;
|
|
5
|
+
}
|
|
6
|
+
/**
|
|
7
|
+
* Treats the hover activation immediately preceding a click as the same open intent.
|
|
8
|
+
* A later click remains a deliberate toggle and may close the active menu.
|
|
9
|
+
*/
|
|
10
|
+
export declare function createMenuHoverClickIntent(gracePeriod: number, now?: () => number): MenuHoverClickIntent;
|
|
@@ -5,6 +5,8 @@ export interface PageDescriptorResolveOptions {
|
|
|
5
5
|
businessRoutePrefixes?: string[];
|
|
6
6
|
/** Optional legacy mapping for framework-owned static business pages. */
|
|
7
7
|
businessModuleRoutes?: Record<string, string>;
|
|
8
|
+
/** Stable readable routes whose content is rendered by the standard dynamic module host. */
|
|
9
|
+
dynamicModuleRoutes?: Record<string, string>;
|
|
8
10
|
/** Page layout contracts keyed by a static business route. */
|
|
9
11
|
businessRouteLayouts?: Record<string, PageLayoutMode>;
|
|
10
12
|
businessRouteNames?: string[];
|
|
@@ -15,6 +17,7 @@ export interface PageDescriptorUrlParseOptions {
|
|
|
15
17
|
platformRoutePrefixes?: string[];
|
|
16
18
|
businessRoutePrefixes?: string[];
|
|
17
19
|
businessRouteLayouts?: Record<string, PageLayoutMode>;
|
|
20
|
+
dynamicModuleRoutes?: Record<string, string>;
|
|
18
21
|
}
|
|
19
22
|
export declare function getMenuNavigationTarget(menu: MenuRecord): MenuNavigationTarget | undefined;
|
|
20
23
|
export declare function isTabMenuTarget(target: MenuNavigationTarget): boolean;
|
|
@@ -7,5 +7,5 @@ export interface MenuPanelEdge {
|
|
|
7
7
|
top: number;
|
|
8
8
|
bottom: number;
|
|
9
9
|
}
|
|
10
|
-
/** Keeps
|
|
10
|
+
/** Keeps the active menu item stable while the pointer crosses towards its flyout panel. */
|
|
11
11
|
export declare function isPointerHeadingToMenuPanel(pointer: MenuPointerPosition, origin: MenuPointerPosition, panel: MenuPanelEdge): boolean;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Publishes application-contributed module workspace views before URL or
|
|
3
|
+
* preference restoration resolves a workbench tab. The module enhancement
|
|
4
|
+
* registry is the source of truth; this only adapts it to the Workbench view
|
|
5
|
+
* registry.
|
|
6
|
+
*/
|
|
7
|
+
export declare function syncModulePageWorkspaceViewContributions(): void;
|
|
@@ -1 +1,40 @@
|
|
|
1
1
|
export declare function compactMenuTopOf(topbarBottom: number, workbenchTop: number): number;
|
|
2
|
+
export declare function floatingPanelTopOf(anchorViewportTop: number, panelHeight: number, viewportHeight: number, shellViewportTop: number, margin?: number): number;
|
|
3
|
+
interface FloatingMenuPanelRect {
|
|
4
|
+
left: number;
|
|
5
|
+
top: number;
|
|
6
|
+
width: number;
|
|
7
|
+
height: number;
|
|
8
|
+
}
|
|
9
|
+
interface FloatingMenuPanelAnchor {
|
|
10
|
+
left: number;
|
|
11
|
+
top: number;
|
|
12
|
+
height: number;
|
|
13
|
+
}
|
|
14
|
+
interface CompactMenuPanelBounds {
|
|
15
|
+
left: number;
|
|
16
|
+
top: number;
|
|
17
|
+
right: number;
|
|
18
|
+
bottom: number;
|
|
19
|
+
}
|
|
20
|
+
interface CompactMenuAnchorBounds {
|
|
21
|
+
left: number;
|
|
22
|
+
top: number;
|
|
23
|
+
right: number;
|
|
24
|
+
}
|
|
25
|
+
interface CompactMenuFlyoutBounds {
|
|
26
|
+
left: number;
|
|
27
|
+
top: number;
|
|
28
|
+
right: number;
|
|
29
|
+
bottom: number;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Builds one continuous outline for a side-menu trigger and its adjoining flyout.
|
|
33
|
+
* The flyout must begin at the trigger's right edge and never below its top edge.
|
|
34
|
+
*/
|
|
35
|
+
export declare function floatingMenuPanelOutlinePath(panel: FloatingMenuPanelRect, anchor: FloatingMenuPanelAnchor, anchorRadius?: number, panelRadius?: number): string;
|
|
36
|
+
/** Builds the shared outline of the compact-menu trigger and its dropdown panel. */
|
|
37
|
+
export declare function compactMenuPanelOutlinePath(panel: CompactMenuPanelBounds, anchor: CompactMenuAnchorBounds, anchorRadius?: number, panelRadius?: number, flyout?: CompactMenuFlyoutBounds): string;
|
|
38
|
+
export type WorkbenchMenuPresentation = 'compact' | 'expanded';
|
|
39
|
+
export declare function effectiveWorkbenchMenuPresentation(preferredPresentation: WorkbenchMenuPresentation, narrowViewport: boolean): WorkbenchMenuPresentation;
|
|
40
|
+
export {};
|
|
@@ -4,6 +4,8 @@ export interface WorkbenchNavigation {
|
|
|
4
4
|
openPage(descriptor: PageDescriptor): WorkbenchPageOpenResult;
|
|
5
5
|
/** Replaces one existing host by its stable tab key without changing that tab's identity. */
|
|
6
6
|
replacePage(pageKey: string, descriptor: PageDescriptor): void;
|
|
7
|
+
/** Closes one workbench page through the owning shell's tab-state policy. */
|
|
8
|
+
closePage(pageKey: string): void;
|
|
7
9
|
}
|
|
8
10
|
export interface WorkbenchPageOpenResult {
|
|
9
11
|
created: boolean;
|
|
@@ -3,6 +3,8 @@ export interface WorkspaceViewHost {
|
|
|
3
3
|
presentation: WorkspaceViewPresentation;
|
|
4
4
|
setTitle(title: string): void;
|
|
5
5
|
dismiss(): void;
|
|
6
|
+
/** Closes the current independent workbench view. */
|
|
7
|
+
close(): void;
|
|
6
8
|
}
|
|
7
9
|
export declare function provideWorkspaceViewHost(host: WorkspaceViewHost): void;
|
|
8
10
|
export declare function useWorkspaceViewHost(): WorkspaceViewHost | undefined;
|
|
@@ -69,7 +69,7 @@ export declare function createFieldUiControlManagementState(fieldUiControlContex
|
|
|
69
69
|
startCreate: () => void;
|
|
70
70
|
startEdit: () => void;
|
|
71
71
|
cancelEdit: () => void;
|
|
72
|
-
save: () => Promise<
|
|
72
|
+
save: () => Promise<boolean>;
|
|
73
73
|
toggleEnabled: () => Promise<void>;
|
|
74
74
|
removeSelected: () => Promise<void>;
|
|
75
75
|
};
|
|
@@ -13,6 +13,11 @@ export declare function createTenantManagementState(tenantContext: ModuleContext
|
|
|
13
13
|
selected: import("vue").Ref<Tenant | undefined, Tenant | undefined>;
|
|
14
14
|
draft: import("vue").Ref<{
|
|
15
15
|
alias?: string | undefined;
|
|
16
|
+
lightLogoAssetId?: string | undefined;
|
|
17
|
+
darkLogoAssetId?: string | undefined;
|
|
18
|
+
workbenchBrandMode?: "logoOnly" | "logoWithTitle" | undefined;
|
|
19
|
+
workbenchTitle?: string | undefined;
|
|
20
|
+
workbenchSubtitle?: string | undefined;
|
|
16
21
|
enabled?: boolean | undefined;
|
|
17
22
|
sortOrder?: number | undefined;
|
|
18
23
|
title?: string | undefined;
|
|
@@ -27,6 +32,11 @@ export declare function createTenantManagementState(tenantContext: ModuleContext
|
|
|
27
32
|
updatedAt?: string | undefined;
|
|
28
33
|
}, Tenant | {
|
|
29
34
|
alias?: string | undefined;
|
|
35
|
+
lightLogoAssetId?: string | undefined;
|
|
36
|
+
darkLogoAssetId?: string | undefined;
|
|
37
|
+
workbenchBrandMode?: "logoOnly" | "logoWithTitle" | undefined;
|
|
38
|
+
workbenchTitle?: string | undefined;
|
|
39
|
+
workbenchSubtitle?: string | undefined;
|
|
30
40
|
enabled?: boolean | undefined;
|
|
31
41
|
sortOrder?: number | undefined;
|
|
32
42
|
title?: string | undefined;
|
|
@@ -57,7 +67,7 @@ export declare function createTenantManagementState(tenantContext: ModuleContext
|
|
|
57
67
|
startCreate: () => void;
|
|
58
68
|
startEdit: () => void;
|
|
59
69
|
cancelEdit: () => void;
|
|
60
|
-
save: () => Promise<
|
|
70
|
+
save: () => Promise<boolean>;
|
|
61
71
|
toggleEnabled: () => Promise<void>;
|
|
62
72
|
removeSelected: () => Promise<void>;
|
|
63
73
|
};
|
|
@@ -23,10 +23,10 @@ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {},
|
|
|
23
23
|
type: "default" | "primary" | "dashed" | "link" | "text";
|
|
24
24
|
title: string;
|
|
25
25
|
danger: boolean;
|
|
26
|
+
size: "small" | "middle" | "large";
|
|
26
27
|
htmlType: "button" | "submit" | "reset";
|
|
27
28
|
disabled: boolean;
|
|
28
29
|
loading: boolean;
|
|
29
|
-
size: "small" | "middle" | "large";
|
|
30
30
|
ariaLabel: string;
|
|
31
31
|
iconName: UiIconName;
|
|
32
32
|
iconPosition: "start" | "end";
|
|
@@ -45,10 +45,10 @@ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {},
|
|
|
45
45
|
onRowDblclick?: ((record: UiDataTableRecord, event: MouseEvent) => any) | undefined;
|
|
46
46
|
onRowExpand?: ((record: UiDataTableRecord, expanded: boolean) => any) | undefined;
|
|
47
47
|
}>, {
|
|
48
|
-
loading: boolean;
|
|
49
48
|
size: "small" | "middle" | "large";
|
|
50
|
-
|
|
49
|
+
loading: boolean;
|
|
51
50
|
pagination: false | UiDataTablePagination;
|
|
51
|
+
rowKey: string | ((record: UiDataTableRecord) => string);
|
|
52
52
|
selection: UiDataTableSelection;
|
|
53
53
|
selectedRowKey: string;
|
|
54
54
|
expandedRowKeys: string[];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export type UiIconName = 'app' | 'check' | 'close' | 'delete' | 'down' | 'edit' | 'export' | 'filter' | 'help' | 'lock' | 'menu-collapse' | 'menu-expand' | 'notification' | 'plus' | 'power' | 'reload' | 'save' | 'search' | 'settings';
|
|
1
|
+
export type UiIconName = 'app' | 'check' | 'close' | 'delete' | 'down' | 'edit' | 'export' | 'filter' | 'help' | 'left' | 'lock' | 'menu-collapse' | 'menu-expand' | 'notification' | 'open-in-new' | 'plus' | 'pin-off' | 'pin' | 'power' | 'reload' | 'right' | 'save' | 'search' | 'skin' | 'settings';
|
|
2
2
|
type __VLS_Props = {
|
|
3
3
|
name: UiIconName;
|
|
4
4
|
};
|
|
@@ -19,8 +19,8 @@ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {},
|
|
|
19
19
|
onCancel?: (() => any) | undefined;
|
|
20
20
|
onConfirm?: (() => any) | undefined;
|
|
21
21
|
}>, {
|
|
22
|
-
closable: boolean;
|
|
23
22
|
width: number | string;
|
|
23
|
+
closable: boolean;
|
|
24
24
|
confirmText: string;
|
|
25
25
|
cancelText: string;
|
|
26
26
|
confirmLoading: boolean;
|
|
@@ -17,12 +17,12 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {
|
|
|
17
17
|
onSearch?: ((keyword: string) => any) | undefined;
|
|
18
18
|
"onUpdate:value"?: ((value: OptionValue | OptionValueList | null) => any) | undefined;
|
|
19
19
|
}>, {
|
|
20
|
+
mode: "multiple";
|
|
20
21
|
disabled: boolean;
|
|
21
22
|
loading: boolean;
|
|
22
23
|
value: OptionValue | OptionValueList | null;
|
|
23
24
|
placeholder: string;
|
|
24
25
|
allowClear: boolean;
|
|
25
|
-
mode: "multiple";
|
|
26
26
|
showSearch: boolean;
|
|
27
27
|
filterOption: boolean;
|
|
28
28
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
@@ -6,9 +6,15 @@ type __VLS_Props = {
|
|
|
6
6
|
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
7
7
|
close: (key: string) => any;
|
|
8
8
|
"update:activeKey": (key: string) => any;
|
|
9
|
+
closeTabs: (keys: string[]) => any;
|
|
10
|
+
togglePin: (key: string) => any;
|
|
11
|
+
reorder: (keys: string[]) => any;
|
|
9
12
|
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
10
13
|
onClose?: ((key: string) => any) | undefined;
|
|
11
14
|
"onUpdate:activeKey"?: ((key: string) => any) | undefined;
|
|
15
|
+
onCloseTabs?: ((keys: string[]) => any) | undefined;
|
|
16
|
+
onTogglePin?: ((key: string) => any) | undefined;
|
|
17
|
+
onReorder?: ((keys: string[]) => any) | undefined;
|
|
12
18
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
13
19
|
declare const _default: typeof __VLS_export;
|
|
14
20
|
export default _default;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { type UiTheme } from '../theme';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
theme?: UiTheme;
|
|
4
|
+
scope?: 'local' | 'global';
|
|
5
|
+
};
|
|
6
|
+
declare var __VLS_7: {};
|
|
7
|
+
type __VLS_Slots = {} & {
|
|
8
|
+
default?: (props: typeof __VLS_7) => any;
|
|
9
|
+
};
|
|
10
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
11
|
+
scope: "local" | "global";
|
|
12
|
+
theme: UiTheme;
|
|
13
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
14
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
15
|
+
declare const _default: typeof __VLS_export;
|
|
16
|
+
export default _default;
|
|
17
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
18
|
+
new (): {
|
|
19
|
+
$slots: S;
|
|
20
|
+
};
|
|
21
|
+
};
|
|
@@ -12,19 +12,25 @@ type __VLS_Props = {
|
|
|
12
12
|
placeholder?: string;
|
|
13
13
|
disabled?: boolean;
|
|
14
14
|
allowClear?: boolean;
|
|
15
|
+
showSearch?: boolean;
|
|
16
|
+
filterTreeNode?: boolean;
|
|
15
17
|
loading?: boolean;
|
|
16
18
|
};
|
|
17
19
|
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
20
|
+
search: (keyword: string) => any;
|
|
18
21
|
"update:value": (value: OptionValue | OptionValueList | null) => any;
|
|
19
22
|
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
23
|
+
onSearch?: ((keyword: string) => any) | undefined;
|
|
20
24
|
"onUpdate:value"?: ((value: OptionValue | OptionValueList | null) => any) | undefined;
|
|
21
25
|
}>, {
|
|
26
|
+
mode: "multiple";
|
|
22
27
|
disabled: boolean;
|
|
23
28
|
loading: boolean;
|
|
24
29
|
value: OptionValue | OptionValueList | null;
|
|
25
30
|
placeholder: string;
|
|
26
31
|
allowClear: boolean;
|
|
27
|
-
|
|
32
|
+
showSearch: boolean;
|
|
33
|
+
filterTreeNode: boolean;
|
|
28
34
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
29
35
|
declare const _default: typeof __VLS_export;
|
|
30
36
|
export default _default;
|
|
@@ -11,7 +11,9 @@ export { default as UiSearchInput } from './components/UiSearchInput.vue';
|
|
|
11
11
|
export { default as UiTextArea } from './components/UiTextArea.vue';
|
|
12
12
|
export { default as UiSelect } from './components/UiSelect.vue';
|
|
13
13
|
export { default as UiTreeSelect } from './components/UiTreeSelect.vue';
|
|
14
|
+
export type { UiTreeSelectNode } from './components/UiTreeSelect.vue';
|
|
14
15
|
export { default as UiTooltip } from './components/UiTooltip.vue';
|
|
16
|
+
export { default as UiThemeProvider } from './components/UiThemeProvider.vue';
|
|
15
17
|
export { default as UiSwitch } from './components/UiSwitch.vue';
|
|
16
18
|
export { default as UiMenu } from './components/UiMenu.vue';
|
|
17
19
|
export { default as UiTabs } from './components/UiTabs.vue';
|
|
@@ -36,4 +38,6 @@ export { resolveFieldComponent } from './registry';
|
|
|
36
38
|
export type { UiIconName } from './components/UiIcon.vue';
|
|
37
39
|
export type { UiTagListItem } from './components/UiTagList.vue';
|
|
38
40
|
export type { UiSidePanelScope } from './components/sidePanelHost';
|
|
41
|
+
export { antDesignThemeOf, cssVariablesOf, defaultUiTheme, defaultUiThemeSkinId, uiThemeSkinById, uiThemeSkins, } from './theme';
|
|
42
|
+
export type { UiSupportTheme, UiTheme, UiThemeSkin, UiThemeSkinId, UiThemeTone } from './theme';
|
|
39
43
|
export type { UiConfirmOptions, UiDataTableColumn, UiDataTableKey, UiDataTablePagination, UiDataTableRecord, UiDataTableSelection, UiDropdownItem, UiMenuItem, UiRecordInlineAction, UiTabItem, UiTreeNode, UiTreeNodeAction, } from './types';
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import type { ThemeConfig } from 'ant-design-vue/es/config-provider/context';
|
|
2
|
+
export interface UiThemeTone {
|
|
3
|
+
base: string;
|
|
4
|
+
onBase: string;
|
|
5
|
+
hover: string;
|
|
6
|
+
active: string;
|
|
7
|
+
soft: string;
|
|
8
|
+
softText: string;
|
|
9
|
+
border: string;
|
|
10
|
+
focus: string;
|
|
11
|
+
disabled: string;
|
|
12
|
+
disabledText: string;
|
|
13
|
+
}
|
|
14
|
+
export interface UiSupportTheme {
|
|
15
|
+
page: string;
|
|
16
|
+
canvas: string;
|
|
17
|
+
surface: string;
|
|
18
|
+
elevated: string;
|
|
19
|
+
hover: string;
|
|
20
|
+
border: string;
|
|
21
|
+
borderSubtle: string;
|
|
22
|
+
text: string;
|
|
23
|
+
textBody: string;
|
|
24
|
+
textMuted: string;
|
|
25
|
+
icon: string;
|
|
26
|
+
disabled: string;
|
|
27
|
+
disabledText: string;
|
|
28
|
+
}
|
|
29
|
+
/** Visual treatment for the global theme-skin entry point. */
|
|
30
|
+
export interface UiSkinPickerTheme {
|
|
31
|
+
borderGradient: string;
|
|
32
|
+
glow: string;
|
|
33
|
+
focusRing: string;
|
|
34
|
+
}
|
|
35
|
+
export interface UiTheme {
|
|
36
|
+
appearance: 'light' | 'dark';
|
|
37
|
+
theme: UiThemeTone;
|
|
38
|
+
brandAccent: UiThemeTone;
|
|
39
|
+
support: UiSupportTheme;
|
|
40
|
+
skinPicker: UiSkinPickerTheme;
|
|
41
|
+
positive: UiThemeTone;
|
|
42
|
+
warning: UiThemeTone;
|
|
43
|
+
danger: UiThemeTone;
|
|
44
|
+
info: UiThemeTone;
|
|
45
|
+
}
|
|
46
|
+
export interface UiThemeSkin {
|
|
47
|
+
id: UiThemeSkinId;
|
|
48
|
+
title: string;
|
|
49
|
+
description: string;
|
|
50
|
+
theme: UiTheme;
|
|
51
|
+
}
|
|
52
|
+
export type UiThemeSkinId = 'light-blue' | 'light-amber' | 'dark-navy' | 'dark-graphite';
|
|
53
|
+
export declare const defaultUiTheme: UiTheme;
|
|
54
|
+
export declare const uiThemeSkins: readonly UiThemeSkin[];
|
|
55
|
+
export declare const defaultUiThemeSkinId: UiThemeSkinId;
|
|
56
|
+
export declare function uiThemeSkinById(value: unknown): UiThemeSkin;
|
|
57
|
+
export declare function cssVariablesOf(theme: UiTheme): Record<`--muyun-${string}`, string>;
|
|
58
|
+
export declare function antDesignThemeOf(theme: UiTheme): ThemeConfig;
|