@ximatai/muyun-web-app 0.26.8 → 0.26.10
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/{MetadataOrchestrationView-DKYVGMzy.js → MetadataOrchestrationView-BhtVwJII.js} +210 -204
- package/dist/{ModuleActionManagementView-DiVzuPdu.js → ModuleActionManagementView-DpZS-xAD.js} +74 -74
- package/dist/{RoleAuthorizationView-C0s4Bog7.js → RoleAuthorizationView-8lilhtMB.js} +193 -139
- package/dist/{RoleDetailWorkspaceView-dqHxKVfd.js → RoleDetailWorkspaceView-CFha6JHn.js} +1 -1
- package/dist/{RoleManagementView-D43pUCxi.js → RoleManagementView-0_KDrzgh.js} +572 -550
- package/dist/index.css +1 -1
- package/dist/index.js +536 -4427
- package/dist/{platform-components-CFU_zR7-.js → platform-components-oRIsIoxu.js} +5154 -3608
- package/dist/types/App.vue.d.ts +1 -0
- package/dist/types/app/StaticRoutePageHost.vue.d.ts +13 -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/AppWorkbenchShell.vue.d.ts +4 -2
- 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 +42 -0
- package/dist/types/dynamic-page-runtime/ManagedDetailRelationSurface.vue.d.ts +15 -0
- package/dist/types/dynamic-page-runtime/ModulePageDetailRelations.vue.d.ts +28 -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 +20 -0
- package/dist/types/dynamic-page-runtime/ModulePageListRelationExpansion.vue.d.ts +14 -0
- package/dist/types/dynamic-page-runtime/ModulePageListRelationExpansions.vue.d.ts +17 -0
- package/dist/types/dynamic-page-runtime/ModulePageRecordContent.vue.d.ts +44 -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 +17 -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 +28 -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 +1378 -0
- package/dist/types/dynamic-page-runtime/composables/useRecordEditingSession.d.ts +23 -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 +4 -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 +215 -9
- package/dist/types/dynamic-page-runtime/navigatorEntrySelection.d.ts +18 -0
- package/dist/types/dynamic-page-runtime/navigatorVisibility.d.ts +6 -0
- package/dist/types/dynamic-page-runtime/pageContextRuntime.d.ts +10 -2
- package/dist/types/dynamic-page-runtime/pageNavigatorItemModel.d.ts +13 -0
- package/dist/types/dynamic-page-runtime/recordDetailController.d.ts +12 -3
- 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/SystemUserManagementView.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 +15 -0
- package/dist/types/{views/EmployeeManagementView.vue.d.ts → platform-admin-runtime/tenant/TenantApplicationConfigurationDrawer.vue.d.ts} +2 -2
- 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 +8 -2
- package/dist/types/platform-components/DetailRelationListPanel.vue.d.ts +13 -0
- package/dist/types/{views/SystemUserDetailWorkspaceView.vue.d.ts → platform-components/DrawerTitleActions.vue.d.ts} +2 -2
- package/dist/types/platform-components/FileTransferUploader.vue.d.ts +7 -0
- package/dist/types/platform-components/ManagementPanelHeader.vue.d.ts +2 -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 +5 -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/RecordExplorerPanel.vue.d.ts +2 -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 +4 -1
- package/dist/types/platform-components/RecordMultiPicker.vue.d.ts +12 -2
- package/dist/types/platform-components/RecordPanelButton.vue.d.ts +2 -0
- package/dist/types/platform-components/RecordPicker.vue.d.ts +12 -2
- package/dist/types/platform-components/RecordQueryListPanel.vue.d.ts +39 -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/RecordStatusSwitch.vue.d.ts +2 -0
- package/dist/types/platform-components/StaticManagementLayout.vue.d.ts +12 -4
- package/dist/types/platform-components/TreeRecordExplorer.vue.d.ts +8 -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 -5
- 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 +82 -5
- package/dist/types/platform-components/recordPickerConstraints.d.ts +4 -0
- package/dist/types/platform-components/recordPickerModel.d.ts +6 -2
- package/dist/types/platform-workbench/Workbench.vue.d.ts +4 -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/{EmployeeDetailWorkspaceView.vue.d.ts → UserDetailRouteView.vue.d.ts} +3 -1
- package/dist/types/views/UserManagementView.vue.d.ts +1 -6
- 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/UiSidePanel.vue.d.ts +4 -2
- package/dist/types/vue-ui-antdv/components/UiSwitch.vue.d.ts +2 -0
- 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 +375 -14
- package/dist/types/web-core/businessNotifications.d.ts +3 -2
- package/dist/types/web-core/http.d.ts +6 -0
- 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/index.d.ts +1 -1
- package/dist/types/web-core/module/moduleContext.d.ts +6 -3
- package/dist/types/web-core/module/runtimeContext.d.ts +2 -0
- package/dist/types/web-core/module/staticModuleClient.d.ts +42 -10
- package/dist/types/web-core/realtime.d.ts +8 -0
- package/dist/types/web-core/referenceResolveClient.d.ts +11 -0
- package/dist/workspaceViews-D-RiJ64o.js +9078 -0
- package/package.json +1 -1
- package/dist/EmployeeDetailWorkspaceView-DswEDSxH.js +0 -14
- package/dist/EmployeeManagementView-C9STtw08.js +0 -1777
- package/dist/SystemUserDetailWorkspaceView-CQ9WeLrR.js +0 -17
- 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/platform-components/scopedResourceTreeModuleContext.d.ts +0 -6
- package/dist/types/views/EmployeeDetailContent.vue.d.ts +0 -64
- package/dist/types/views/UserDetailWorkspaceView.vue.d.ts +0 -7
- package/dist/types/views/dictionaryManagementState.d.ts +0 -215
- 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/menuManagementState.d.ts +0 -178
- package/dist/types/views/moduleManagementState.d.ts +0 -76
- package/dist/types/views/positionManagementState.d.ts +0 -218
- package/dist/types/views/systemUserDetailWorkspaceSession.d.ts +0 -12
- package/dist/types/views/systemUserDetailWorkspaceView.d.ts +0 -5
- 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/{DictionaryManagementView.vue.d.ts → DynamicModuleRouteView.vue.d.ts} +0 -0
- /package/dist/types/views/{FieldUiControlManagementView.vue.d.ts → ExternalRouteView.vue.d.ts} +0 -0
- /package/dist/types/views/{MenuManagementView.vue.d.ts → ModuleOpenApiRouteView.vue.d.ts} +0 -0
- /package/dist/types/views/{ModuleManagementView.vue.d.ts → OpenApiCatalogRouteView.vue.d.ts} +0 -0
- /package/dist/types/views/{PasswordManagementView.vue.d.ts → RouteDiagnosticsView.vue.d.ts} +0 -0
- /package/dist/types/views/{PositionManagementView.vue.d.ts → UserManagementListView.vue.d.ts} +0 -0
- /package/dist/types/views/{TenantManagementView.vue.d.ts → WorkspaceRouteView.vue.d.ts} +0 -0
|
@@ -5,7 +5,7 @@ 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
|
-
/**
|
|
8
|
+
/** Semantic overrides in the canonical dynamic module route catalog. */
|
|
9
9
|
dynamicModuleRoutes?: Record<string, string>;
|
|
10
10
|
/** Page layout contracts keyed by a static business route. */
|
|
11
11
|
businessRouteLayouts?: Record<string, PageLayoutMode>;
|
|
@@ -24,8 +24,30 @@ export declare function isTabMenuTarget(target: MenuNavigationTarget): boolean;
|
|
|
24
24
|
export declare function isWindowMenuTarget(target: MenuNavigationTarget): boolean;
|
|
25
25
|
export declare function resolvePageDescriptor(target: MenuNavigationTarget, options?: PageDescriptorResolveOptions): PageDescriptor;
|
|
26
26
|
export declare function createMenuTab(menu: MenuRecord, target: MenuNavigationTarget, options?: PageDescriptorResolveOptions): MenuTab;
|
|
27
|
+
/** Adds a page-instance key once and preserves it on address replacement or restoration. */
|
|
28
|
+
export declare function withPageInstanceKey(descriptor: PageDescriptor, instanceKey?: string): PageDescriptor;
|
|
27
29
|
export declare function findFirstNavigationMenu(nodes: MenuTreeNode[]): MenuRecord | undefined;
|
|
28
30
|
export declare function tabKeyOf(descriptor: PageDescriptor): string;
|
|
29
|
-
|
|
31
|
+
/**
|
|
32
|
+
* Stable page intent without the workbench instance marker.
|
|
33
|
+
* `by-params` workspace views use this to focus an existing logical view while
|
|
34
|
+
* the actual tab key still contains InstanceKey for cached route isolation.
|
|
35
|
+
*/
|
|
36
|
+
export declare function tabIdentityKeyOf(descriptor: PageDescriptor): string;
|
|
37
|
+
export declare function pageInstanceKeyOf(descriptor: PageDescriptor): string | undefined;
|
|
38
|
+
/**
|
|
39
|
+
* Serializes a descriptor to its public address.
|
|
40
|
+
*
|
|
41
|
+
* Dynamic module addresses are always derived from the canonical route catalog.
|
|
42
|
+
* Workbench instance state and menu identity remain internal state, never URL state.
|
|
43
|
+
*/
|
|
44
|
+
export declare function pageDescriptorToUrl(descriptor: PageDescriptor, options?: PageDescriptorResolveOptions): string;
|
|
45
|
+
/**
|
|
46
|
+
* Produces a reversible public address for every valid dynamic module alias.
|
|
47
|
+
* Semantic overrides are reserved for platform concepts whose domain wording is
|
|
48
|
+
* intentionally different from their module alias.
|
|
49
|
+
*/
|
|
50
|
+
export declare function canonicalDynamicModulePath(moduleAlias: string, options?: Pick<PageDescriptorUrlParseOptions, 'dynamicModuleRoutes'>): string;
|
|
51
|
+
export declare function dynamicModuleAliasFromPath(path: string, options?: Pick<PageDescriptorUrlParseOptions, 'dynamicModuleRoutes'>): string | undefined;
|
|
30
52
|
export declare function pageDescriptorFromUrl(url: string, options?: PageDescriptorUrlParseOptions): PageDescriptor;
|
|
31
53
|
export declare function tryPageDescriptorFromUrl(url: string, options?: PageDescriptorUrlParseOptions): PageDescriptor | undefined;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import type { PageHostType } from '../web-contracts/index';
|
|
2
|
-
export type PageHostComponentName = 'PlatformRouteHost' | 'BusinessRouteHost' | '
|
|
2
|
+
export type PageHostComponentName = 'PlatformRouteHost' | 'BusinessRouteHost' | 'ModulePageHost' | 'ExternalPageHost';
|
|
3
3
|
export declare function resolvePageHostComponentName(hostType: PageHostType): PageHostComponentName;
|
|
@@ -1,14 +1,27 @@
|
|
|
1
|
-
import type { PageDescriptor } from '../web-contracts/index';
|
|
1
|
+
import type { PageDescriptor, RouteQueryValue } from '../web-contracts/index';
|
|
2
|
+
export interface OpenRouteOptions {
|
|
3
|
+
/** Opens an independent internal tab instance without changing the public URL. */
|
|
4
|
+
newInstance?: boolean;
|
|
5
|
+
tabTitle?: string;
|
|
6
|
+
query?: Record<string, RouteQueryValue>;
|
|
7
|
+
}
|
|
2
8
|
export interface WorkbenchNavigation {
|
|
9
|
+
openRoute(path: string, options?: OpenRouteOptions): WorkbenchPageOpenResult;
|
|
10
|
+
replaceRoute(path: string, options?: OpenRouteOptions): WorkbenchPageOpenResult;
|
|
11
|
+
closeCurrentTab(fallbackPath: string): WorkbenchPageOpenResult;
|
|
3
12
|
/** Opens a page and reports whether the target host was newly created. */
|
|
4
13
|
openPage(descriptor: PageDescriptor): WorkbenchPageOpenResult;
|
|
5
14
|
/** Replaces one existing host by its stable tab key without changing that tab's identity. */
|
|
6
15
|
replacePage(pageKey: string, descriptor: PageDescriptor): void;
|
|
7
16
|
/** Closes one workbench page through the owning shell's tab-state policy. */
|
|
8
17
|
closePage(pageKey: string): void;
|
|
18
|
+
/** Updates one page title without writing display data to the URL. */
|
|
19
|
+
setTabName(instanceKey: string, name: string): void;
|
|
9
20
|
}
|
|
10
21
|
export interface WorkbenchPageOpenResult {
|
|
11
22
|
created: boolean;
|
|
12
23
|
}
|
|
24
|
+
/** Builds a public workbench address. Page-instance identity never enters the address. */
|
|
25
|
+
export declare function routeUrlWithOpenOptions(path: string, options?: OpenRouteOptions): string;
|
|
13
26
|
export declare function provideWorkbenchNavigation(navigation: WorkbenchNavigation): void;
|
|
14
27
|
export declare function useWorkbenchNavigation(): WorkbenchNavigation | undefined;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { ModulePageCardAssistantContext } from '../dynamic-page-runtime/index';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
context: ModulePageCardAssistantContext;
|
|
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>;
|
|
6
|
+
declare const _default: typeof __VLS_export;
|
|
7
|
+
export default _default;
|
package/dist/types/views/{EmployeeDetailWorkspaceView.vue.d.ts → UserDetailRouteView.vue.d.ts}
RENAMED
|
@@ -1,5 +1,7 @@
|
|
|
1
|
+
import { type UserRouteAction } from './userManagementRouteState';
|
|
1
2
|
type __VLS_Props = {
|
|
2
|
-
|
|
3
|
+
action: UserRouteAction;
|
|
4
|
+
userId?: string;
|
|
3
5
|
};
|
|
4
6
|
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
7
|
declare const _default: typeof __VLS_export;
|
|
@@ -1,8 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
/** Present only when this component is restored as a workbench task. */
|
|
3
|
-
recordId?: string;
|
|
4
|
-
mode?: 'view' | 'edit';
|
|
5
|
-
};
|
|
6
|
-
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>;
|
|
1
|
+
declare const __VLS_export: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
7
2
|
declare const _default: typeof __VLS_export;
|
|
8
3
|
export default _default;
|
|
@@ -5,7 +5,5 @@ export interface UserDetailRequestState {
|
|
|
5
5
|
selectedUserKey?: string;
|
|
6
6
|
recordId: string;
|
|
7
7
|
}
|
|
8
|
-
|
|
8
|
+
/** 只有仍属于当前用户和当前请求的结果才能写入页面。 */
|
|
9
9
|
export declare function shouldCommitUserDetailRequest(state: UserDetailRequestState): boolean;
|
|
10
|
-
export declare function persistedUserDetailMode(mode: UserDetailMode): 'view' | 'edit';
|
|
11
|
-
export declare function hasUserDetailUnsavedChanges(draft: object, selected: object): boolean;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { LocationQuery } from 'vue-router';
|
|
2
|
+
export type UserRouteAction = 'add' | 'view' | 'edit';
|
|
3
|
+
export interface UserManagementRouteState {
|
|
4
|
+
action?: UserRouteAction;
|
|
5
|
+
userId?: string;
|
|
6
|
+
error?: string;
|
|
7
|
+
}
|
|
8
|
+
/** 用户地址只表达业务页面状态;页签实例由工作台内部状态管理。 */
|
|
9
|
+
export declare function userManagementRouteStateOf(routePath: string | undefined, userId: string | undefined, query: LocationQuery): UserManagementRouteState;
|
|
10
|
+
/** 给每个地址操作提供页面标题的通用文字。 */
|
|
11
|
+
export declare function userActionTitle(action: UserRouteAction): string;
|
|
@@ -10,6 +10,8 @@ type __VLS_Props = {
|
|
|
10
10
|
ariaLabel?: string;
|
|
11
11
|
iconName?: UiIconName;
|
|
12
12
|
iconPosition?: 'start' | 'end';
|
|
13
|
+
/** Fixed square hit area for compact actions whose content is only an icon. */
|
|
14
|
+
iconOnly?: boolean;
|
|
13
15
|
};
|
|
14
16
|
declare var __VLS_16: {};
|
|
15
17
|
type __VLS_Slots = {} & {
|
|
@@ -30,6 +32,7 @@ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {},
|
|
|
30
32
|
ariaLabel: string;
|
|
31
33
|
iconName: UiIconName;
|
|
32
34
|
iconPosition: "start" | "end";
|
|
35
|
+
iconOnly: boolean;
|
|
33
36
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
34
37
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
35
38
|
declare const _default: typeof __VLS_export;
|
|
@@ -1,4 +1,4 @@
|
|
|
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';
|
|
1
|
+
export type UiIconName = 'app' | 'check' | 'close' | 'delete' | 'download' | 'down' | 'edit' | 'export' | 'filter' | 'help' | 'left' | 'lock' | 'menu-collapse' | 'menu-expand' | 'minus' | 'notification' | 'open-in-new' | 'plus' | 'pin-off' | 'pin' | 'power' | 'reload' | 'right' | 'save' | 'search' | 'skin' | 'settings' | 'swap';
|
|
2
2
|
type __VLS_Props = {
|
|
3
3
|
name: UiIconName;
|
|
4
4
|
};
|
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
import type { Primitive } from '../../web-contracts/index';
|
|
2
2
|
type __VLS_Props = {
|
|
3
3
|
value?: Primitive;
|
|
4
|
-
type?: 'text' | 'password' | 'email' | 'search' | 'number' | 'url';
|
|
4
|
+
type?: 'text' | 'password' | 'email' | 'search' | 'number' | 'url' | 'date' | 'datetime-local';
|
|
5
5
|
placeholder?: string;
|
|
6
6
|
disabled?: boolean;
|
|
7
7
|
autofocus?: boolean;
|
|
8
8
|
allowClear?: boolean;
|
|
9
9
|
autocomplete?: string;
|
|
10
10
|
required?: boolean;
|
|
11
|
+
step?: string | number;
|
|
11
12
|
ariaLabel?: string;
|
|
12
13
|
};
|
|
13
14
|
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export interface UiRadioOption {
|
|
2
|
+
value: string;
|
|
3
|
+
label: string;
|
|
4
|
+
disabled?: boolean;
|
|
5
|
+
}
|
|
6
|
+
type __VLS_Props = {
|
|
7
|
+
value?: string;
|
|
8
|
+
options: readonly UiRadioOption[];
|
|
9
|
+
disabled?: boolean;
|
|
10
|
+
size?: 'small' | 'default' | 'large';
|
|
11
|
+
};
|
|
12
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
13
|
+
"update:value": (value: string) => any;
|
|
14
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
15
|
+
"onUpdate:value"?: ((value: string) => any) | undefined;
|
|
16
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
17
|
+
declare const _default: typeof __VLS_export;
|
|
18
|
+
export default _default;
|
|
@@ -9,11 +9,11 @@ type __VLS_Props = {
|
|
|
9
9
|
clickable?: boolean;
|
|
10
10
|
};
|
|
11
11
|
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
12
|
-
click: () => any;
|
|
13
12
|
action: (action: import("../../web-contracts/index.ts").RecordInlineAction) => any;
|
|
13
|
+
click: () => any;
|
|
14
14
|
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
15
|
-
onClick?: (() => any) | undefined;
|
|
16
15
|
onAction?: ((action: import("../../web-contracts/index.ts").RecordInlineAction) => any) | undefined;
|
|
16
|
+
onClick?: (() => any) | undefined;
|
|
17
17
|
}>, {
|
|
18
18
|
secondary: string;
|
|
19
19
|
actions: UiRecordInlineAction[];
|
|
@@ -5,14 +5,16 @@ type __VLS_Props = {
|
|
|
5
5
|
closeOnOutside?: boolean;
|
|
6
6
|
scope?: UiSidePanelScope;
|
|
7
7
|
};
|
|
8
|
-
declare var
|
|
8
|
+
declare var __VLS_11: {};
|
|
9
9
|
type __VLS_Slots = {} & {
|
|
10
|
-
default?: (props: typeof
|
|
10
|
+
default?: (props: typeof __VLS_11) => any;
|
|
11
11
|
};
|
|
12
12
|
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
13
13
|
close: () => any;
|
|
14
|
+
afterClose: () => any;
|
|
14
15
|
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
15
16
|
onClose?: (() => any) | undefined;
|
|
17
|
+
onAfterClose?: (() => any) | undefined;
|
|
16
18
|
}>, {
|
|
17
19
|
scope: UiSidePanelScope;
|
|
18
20
|
width: number | string;
|
|
@@ -2,6 +2,7 @@ type __VLS_Props = {
|
|
|
2
2
|
checked?: boolean;
|
|
3
3
|
disabled?: boolean;
|
|
4
4
|
loading?: boolean;
|
|
5
|
+
size?: 'default' | 'small';
|
|
5
6
|
checkedText?: string;
|
|
6
7
|
uncheckedText?: string;
|
|
7
8
|
};
|
|
@@ -12,6 +13,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {
|
|
|
12
13
|
"onUpdate:checked"?: ((checked: boolean) => any) | undefined;
|
|
13
14
|
onChange?: ((checked: boolean) => any) | undefined;
|
|
14
15
|
}>, {
|
|
16
|
+
size: "default" | "small";
|
|
15
17
|
disabled: boolean;
|
|
16
18
|
loading: boolean;
|
|
17
19
|
checked: boolean;
|
|
@@ -5,12 +5,14 @@ type __VLS_Props = {
|
|
|
5
5
|
expandedKeys?: string[];
|
|
6
6
|
};
|
|
7
7
|
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
8
|
-
select: (node: UiTreeNode) => any;
|
|
9
8
|
action: (action: import("../../web-contracts/index.ts").RecordInlineAction, node: UiTreeNode) => any;
|
|
9
|
+
select: (node: UiTreeNode) => any;
|
|
10
|
+
deselect: () => any;
|
|
10
11
|
"update:expandedKeys": (keys: string[]) => any;
|
|
11
12
|
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
12
|
-
onSelect?: ((node: UiTreeNode) => any) | undefined;
|
|
13
13
|
onAction?: ((action: import("../../web-contracts/index.ts").RecordInlineAction, node: UiTreeNode) => any) | undefined;
|
|
14
|
+
onSelect?: ((node: UiTreeNode) => any) | undefined;
|
|
15
|
+
onDeselect?: (() => any) | undefined;
|
|
14
16
|
"onUpdate:expandedKeys"?: ((keys: string[]) => any) | undefined;
|
|
15
17
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
16
18
|
declare const _default: typeof __VLS_export;
|
|
@@ -10,6 +10,8 @@ export { default as UiInput } from './components/UiInput.vue';
|
|
|
10
10
|
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
|
+
export { default as UiRadioGroup } from './components/UiRadioGroup.vue';
|
|
14
|
+
export type { UiRadioOption } from './components/UiRadioGroup.vue';
|
|
13
15
|
export { default as UiTreeSelect } from './components/UiTreeSelect.vue';
|
|
14
16
|
export type { UiTreeSelectNode } from './components/UiTreeSelect.vue';
|
|
15
17
|
export { default as UiTooltip } from './components/UiTooltip.vue';
|
|
@@ -20,9 +22,9 @@ export { default as UiTabs } from './components/UiTabs.vue';
|
|
|
20
22
|
export { default as UiTree } from './components/UiTree.vue';
|
|
21
23
|
export { default as UiDataTable } from './components/UiDataTable.vue';
|
|
22
24
|
export { default as UiDropdown } from './components/UiDropdown.vue';
|
|
23
|
-
export { default as UiModal } from './components/UiModal.vue';
|
|
24
25
|
export { default as UiSidePanel } from './components/UiSidePanel.vue';
|
|
25
26
|
export { default as UiSidePanelHost } from './components/UiSidePanelHost.vue';
|
|
27
|
+
export { default as UiModal } from './components/UiModal.vue';
|
|
26
28
|
export { default as UiRecordExplorerItem } from './components/UiRecordExplorerItem.vue';
|
|
27
29
|
export { default as UiSpin } from './components/UiSpin.vue';
|
|
28
30
|
export { default as UiEmpty } from './components/UiEmpty.vue';
|
|
@@ -36,8 +38,8 @@ export { showErrorMessage, showFeedback, showInfoMessage, showSuccessMessage, sh
|
|
|
36
38
|
export type { UiFeedbackOptions, UiFeedbackTone } from './feedback';
|
|
37
39
|
export { resolveFieldComponent } from './registry';
|
|
38
40
|
export type { UiIconName } from './components/UiIcon.vue';
|
|
39
|
-
export type { UiTagListItem } from './components/UiTagList.vue';
|
|
40
41
|
export type { UiSidePanelScope } from './components/sidePanelHost';
|
|
42
|
+
export type { UiTagListItem } from './components/UiTagList.vue';
|
|
41
43
|
export { antDesignThemeOf, cssVariablesOf, defaultUiTheme, defaultUiThemeSkinId, uiThemeSkinById, uiThemeSkins, } from './theme';
|
|
42
44
|
export type { UiSupportTheme, UiTheme, UiThemeSkin, UiThemeSkinId, UiThemeTone } from './theme';
|
|
43
45
|
export type { UiConfirmOptions, UiDataTableColumn, UiDataTableKey, UiDataTablePagination, UiDataTableRecord, UiDataTableSelection, UiDropdownItem, UiMenuItem, UiRecordInlineAction, UiTabItem, UiTreeNode, UiTreeNodeAction, } from './types';
|