@ximatai/muyun-web-app 0.26.23 → 0.26.25

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.
Files changed (80) hide show
  1. package/dist/{BusinessActivityLogView-IWGZiPLo.js → BusinessActivityLogView-a6oZ2t9t.js} +2 -2
  2. package/dist/{BusinessLogListDrawer-UCsg6psI.js → BusinessLogListDrawer-DtSXpK6g.js} +135 -131
  3. package/dist/{CodeConfigurationView-Calkazua.js → CodeConfigurationView-BVu1ZnH-.js} +366 -366
  4. package/dist/{ConfigurationTranslationView-fZrlRAMy.js → ConfigurationTranslationView-Cd8ezR4t.js} +44 -44
  5. package/dist/{LoginAuditLogView-B6J7t__0.js → LoginAuditLogView-DyvHTCXH.js} +2 -2
  6. package/dist/ModuleActionManagementView-y3t2YHKF.js +780 -0
  7. package/dist/{ModuleGovernanceView-D8ONs78K.js → ModuleGovernanceView-BqJq2Pxm.js} +3521 -3521
  8. package/dist/{RequestErrorLogView-poMgx4_6.js → RequestErrorLogView-2iPeAi3b.js} +2 -2
  9. package/dist/{RoleDetailWorkspaceView-6Bs1eKbm.js → RoleDetailWorkspaceView-G-5VAV_B.js} +54 -54
  10. package/dist/{RuntimeLogView-Co-Z86bt.js → RuntimeLogView-CulSgS0l.js} +61 -61
  11. package/dist/WorkflowAdministrationView-y8VBYMLZ.js +650 -0
  12. package/dist/{WorkflowConfigurationView-mSyL_-We.js → WorkflowConfigurationView-DpONX2nN.js} +290 -290
  13. package/dist/{WorkflowWorkbenchView-DBMh3ycN.js → WorkflowWorkbenchView-CGo1eZjr.js} +215 -215
  14. package/dist/{codeConfiguration-D1zrxzoW.js → codeConfiguration-fZiz0PNC.js} +27 -27
  15. package/dist/index.css +1 -1
  16. package/dist/index.js +2407 -1222
  17. package/dist/{moduleMenuWorkspace-lIVrTaOB.js → moduleMenuWorkspace-AZ4G9BpZ.js} +222 -222
  18. package/dist/{platform-components-D0T03KGl.js → platform-components-D98pyZ77.js} +4296 -3497
  19. package/dist/{platform-workbench-CobObbuz.js → platform-workbench-BBLDvT9V.js} +6311 -6111
  20. package/dist/types/app/CurrentUserProfileDialog.vue.d.ts +9 -0
  21. package/dist/types/app/ExternalIdentityBindings.vue.d.ts +8 -0
  22. package/dist/types/app/ExternalProvisioningConfirmation.vue.d.ts +15 -0
  23. package/dist/types/app/LoginView.vue.d.ts +3 -1
  24. package/dist/types/app/PersonalAccessTokenDialog.vue.d.ts +15 -0
  25. package/dist/types/app/PersonalAccessTokens.vue.d.ts +8 -0
  26. package/dist/types/app/WeLinkQrCode.vue.d.ts +11 -0
  27. package/dist/types/app/WorkbenchAccountCenter.vue.d.ts +40 -0
  28. package/dist/types/app/externalLoginReturn.d.ts +38 -0
  29. package/dist/types/app/themeSkinPreference.d.ts +2 -2
  30. package/dist/types/app/useCurrentUserProfile.d.ts +1 -0
  31. package/dist/types/app/useExternalLoginHost.d.ts +27 -0
  32. package/dist/types/app/usePersonalAccessTokenAccess.d.ts +11 -0
  33. package/dist/types/app/weLinkQrCode.d.ts +22 -0
  34. package/dist/types/consumer/AppWorkbenchShell.vue.d.ts +20 -4
  35. package/dist/types/consumer/index.d.ts +16 -2
  36. package/dist/types/dynamic-page-runtime/ManagedDetailRelationInlineSurface.vue.d.ts +1 -0
  37. package/dist/types/dynamic-page-runtime/ManagedDetailRelationSurface.vue.d.ts +1 -0
  38. package/dist/types/dynamic-page-runtime/ModulePageBusinessSession.d.ts +4 -0
  39. package/dist/types/dynamic-page-runtime/ModulePageDetailRelations.vue.d.ts +1 -0
  40. package/dist/types/dynamic-page-runtime/ModulePageHostRuntime.vue.d.ts +11 -15
  41. package/dist/types/dynamic-page-runtime/composables/useModulePageDetailActionRuntime.d.ts +2 -0
  42. package/dist/types/dynamic-page-runtime/formCreateDefaults.d.ts +3 -0
  43. package/dist/types/dynamic-page-runtime/useModulePageSession.d.ts +2 -0
  44. package/dist/types/platform-admin-runtime/authSession.d.ts +2 -0
  45. package/dist/types/platform-admin-runtime/index.d.ts +1 -1
  46. package/dist/types/platform-admin-runtime/job/ScheduledActionTargetFields.vue.d.ts +7 -0
  47. package/dist/types/platform-admin-runtime/scheduledActionPlanPageEnhancement.d.ts +3 -0
  48. package/dist/types/platform-components/BusinessNotificationCard.vue.d.ts +30 -0
  49. package/dist/types/platform-components/BusinessNotificationPanel.vue.d.ts +4 -39
  50. package/dist/types/platform-components/CronExpressionInput.vue.d.ts +12 -0
  51. package/dist/types/platform-components/DurationSecondsInput.vue.d.ts +10 -0
  52. package/dist/types/platform-components/FileTransferUploader.vue.d.ts +1 -1
  53. package/dist/types/platform-components/RecordExplorerPanel.vue.d.ts +8 -17
  54. package/dist/types/platform-components/RecordFileReferenceTransfer.vue.d.ts +2 -0
  55. package/dist/types/platform-components/RecordFormFields.vue.d.ts +2 -2
  56. package/dist/types/platform-components/SingleImageFileReferenceField.vue.d.ts +4 -0
  57. package/dist/types/platform-components/cronExpression.d.ts +36 -0
  58. package/dist/types/platform-components/durationSeconds.d.ts +31 -0
  59. package/dist/types/platform-components/fileReferenceTransfer.d.ts +9 -2
  60. package/dist/types/platform-components/index.d.ts +6 -0
  61. package/dist/types/platform-components/managementWorkspaceContext.d.ts +2 -1
  62. package/dist/types/platform-components/useNotificationDeckMotion.d.ts +7 -0
  63. package/dist/types/platform-workbench/Workbench.vue.d.ts +13 -4
  64. package/dist/types/platform-workbench/WorkbenchGlobalTools.vue.d.ts +5 -0
  65. package/dist/types/platform-workbench/WorkbenchOutlet.vue.d.ts +11 -1
  66. package/dist/types/platform-workbench/index.d.ts +3 -0
  67. package/dist/types/platform-workbench/workbenchAccountMenu.d.ts +33 -0
  68. package/dist/types/platform-workbench/workspaceViewDiscardGuard.d.ts +1 -1
  69. package/dist/types/views/businessLogClient.d.ts +2 -0
  70. package/dist/types/views/businessRuleGovernance.d.ts +1 -0
  71. package/dist/types/vue-ui-antdv/components/UiInputGroup.vue.d.ts +20 -0
  72. package/dist/types/vue-ui-antdv/components/UiTextArea.vue.d.ts +2 -0
  73. package/dist/types/vue-ui-antdv/index.d.ts +1 -0
  74. package/dist/types/web-contracts/index.d.ts +87 -2
  75. package/dist/types/web-core/clients.d.ts +25 -1
  76. package/dist/{useWorkflowConfigurationContext-BkcNPU2H.js → useWorkflowConfigurationContext-BcK19EXl.js} +6 -6
  77. package/dist/{workspaceViews-BtqO8rU0.js → workspaceViews-Dr7RZXvX.js} +1139 -983
  78. package/package.json +1 -1
  79. package/dist/ModuleActionManagementView-BZ89Woex.js +0 -755
  80. package/dist/WorkflowAdministrationView-D7QpRHDp.js +0 -650
@@ -1,3 +1,4 @@
1
+ import { type ExternalLoginClient, type HttpClient } from '../web-core/index';
1
2
  import type { CurrentUserProfile } from '../web-contracts/index';
2
3
  type __VLS_Props = {
3
4
  open?: boolean;
@@ -5,6 +6,11 @@ type __VLS_Props = {
5
6
  loading?: boolean;
6
7
  saving?: boolean;
7
8
  error?: string;
9
+ /** Shows the user's external account bindings when the deployment enables federation. */
10
+ externalLoginClient?: ExternalLoginClient;
11
+ authToken?: string;
12
+ /** Account-owned transport for avatar operations in a custom host. */
13
+ http?: HttpClient;
8
14
  };
9
15
  declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
10
16
  close: () => any;
@@ -22,10 +28,13 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {
22
28
  }) => any) | undefined;
23
29
  }>, {
24
30
  error: string;
31
+ http: HttpClient;
25
32
  loading: boolean;
26
33
  open: boolean;
27
34
  profile: CurrentUserProfile;
28
35
  saving: boolean;
36
+ externalLoginClient: ExternalLoginClient;
37
+ authToken: string;
29
38
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
30
39
  declare const _default: typeof __VLS_export;
31
40
  export default _default;
@@ -0,0 +1,8 @@
1
+ import type { ExternalLoginClient } from '../web-core/index';
2
+ type __VLS_Props = {
3
+ client: ExternalLoginClient;
4
+ token: string;
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>;
7
+ declare const _default: typeof __VLS_export;
8
+ export default _default;
@@ -0,0 +1,15 @@
1
+ import type { ExternalProvisioningProfile } from '../web-contracts/index';
2
+ type __VLS_Props = {
3
+ confirmation: ExternalProvisioningProfile;
4
+ busy?: boolean;
5
+ error?: string;
6
+ };
7
+ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
8
+ confirm: () => any;
9
+ cancel: () => any;
10
+ }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
11
+ onConfirm?: (() => any) | undefined;
12
+ onCancel?: (() => any) | undefined;
13
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
14
+ declare const _default: typeof __VLS_export;
15
+ export default _default;
@@ -1,8 +1,10 @@
1
- import { type AuthClient, type LoginContextClient } from '../web-core/index';
1
+ import { type AuthClient, type ExternalLoginClient, type LoginContextClient } from '../web-core/index';
2
2
  import type { LoginResult } from '../web-contracts/index';
3
3
  type __VLS_Props = {
4
4
  authClient: AuthClient;
5
5
  loginContextClient?: LoginContextClient;
6
+ /** Enables external sign-in on tenant-locked entries that offer it. */
7
+ externalLoginClient?: ExternalLoginClient;
6
8
  loading?: boolean;
7
9
  error?: string;
8
10
  /** Used only when the form is first created; URL-locked tenants always take precedence. */
@@ -0,0 +1,15 @@
1
+ import { type PersonalAccessTokenClient } from '../web-core/index';
2
+ type __VLS_Props = {
3
+ open: boolean;
4
+ client: PersonalAccessTokenClient;
5
+ sessionToken?: string;
6
+ };
7
+ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
8
+ close: () => any;
9
+ }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
10
+ onClose?: (() => any) | undefined;
11
+ }>, {
12
+ sessionToken: string;
13
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
14
+ declare const _default: typeof __VLS_export;
15
+ export default _default;
@@ -0,0 +1,8 @@
1
+ import { type PersonalAccessTokenClient } from '../web-core/index';
2
+ type __VLS_Props = {
3
+ client: PersonalAccessTokenClient;
4
+ sessionToken: string;
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>;
7
+ declare const _default: typeof __VLS_export;
8
+ export default _default;
@@ -0,0 +1,11 @@
1
+ import type { ExternalLoginStart } from '../web-contracts/index';
2
+ type __VLS_Props = {
3
+ start: ExternalLoginStart;
4
+ };
5
+ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
6
+ close: () => any;
7
+ }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
8
+ onClose?: (() => any) | undefined;
9
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
10
+ declare const _default: typeof __VLS_export;
11
+ export default _default;
@@ -0,0 +1,40 @@
1
+ import { type UiThemeSkinId } from '../vue-ui-antdv/index';
2
+ import { type WorkbenchAccountContext, type WorkbenchAccountMenuOptions, type WorkbenchAccountCommandGuard } from '../platform-workbench/workbenchAccountMenu';
3
+ type __VLS_Props = {
4
+ context?: WorkbenchAccountContext;
5
+ menu?: WorkbenchAccountMenuOptions;
6
+ beforeCommand?: WorkbenchAccountCommandGuard;
7
+ skinId?: UiThemeSkinId;
8
+ };
9
+ declare function select(key: string): Promise<void>;
10
+ /** Mandatory credential recovery is independent of optional menu visibility and business guards. */
11
+ declare function requestPasswordChange(): Promise<void>;
12
+ declare var __VLS_1: {
13
+ items: import("../vue-ui-antdv/index").UiDropdownItem[] | undefined;
14
+ select: typeof select;
15
+ refresh: () => Promise<void>;
16
+ profile: import("../web-contracts/index.ts").CurrentUserProfile | undefined;
17
+ skinId: UiThemeSkinId;
18
+ };
19
+ type __VLS_Slots = {} & {
20
+ default?: (props: typeof __VLS_1) => any;
21
+ };
22
+ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {
23
+ requestPasswordChange: typeof requestPasswordChange;
24
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
25
+ logout: (reason: "requested" | "passwordChanged") => any;
26
+ userCommand: (key: string) => any;
27
+ "update:skinId": (skinId: UiThemeSkinId) => any;
28
+ }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
29
+ onLogout?: ((reason: "requested" | "passwordChanged") => any) | undefined;
30
+ onUserCommand?: ((key: string) => any) | undefined;
31
+ "onUpdate:skinId"?: ((skinId: UiThemeSkinId) => any) | undefined;
32
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
33
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
34
+ declare const _default: typeof __VLS_export;
35
+ export default _default;
36
+ type __VLS_WithSlots<T, S> = T & {
37
+ new (): {
38
+ $slots: S;
39
+ };
40
+ };
@@ -0,0 +1,38 @@
1
+ import type { LanguageContext } from '../web-core/index';
2
+ import type { ExternalLoginCompletion, ExternalLoginPurpose, ExternalLoginStart } from '../web-contracts/index';
3
+ /** A transaction this browser started and may complete when the provider returns it to the workbench. */
4
+ export interface PendingExternalLogin {
5
+ providerId: string;
6
+ state: string;
7
+ browserProof: string;
8
+ purpose: ExternalLoginPurpose;
9
+ /** Locked tenant of the sign-in entry, restored on the address after the provider round trip. */
10
+ tenantId?: string;
11
+ }
12
+ /** A provider return to the workbench, matched against this browser's pending transactions. */
13
+ export interface ExternalLoginReturn {
14
+ /** Absent when this browser did not start the transaction; the return must then be ignored. */
15
+ pending?: PendingExternalLogin;
16
+ /** Every provider parameter on the address, forwarded unchanged for server-side verification. */
17
+ parameters: Record<string, string>;
18
+ }
19
+ /**
20
+ * Keeps the state and proof of a started transaction in session storage. Only this browser tab session can
21
+ * complete the transaction; neither value is ever placed in a URL by the workbench.
22
+ */
23
+ export declare function rememberExternalLogin(start: ExternalLoginStart, target: {
24
+ providerId: string;
25
+ purpose: ExternalLoginPurpose;
26
+ tenantId?: string;
27
+ }, storage?: Storage | undefined): void;
28
+ /** Closing the QR surface discards this tab's proof; a later return cannot complete that transaction. */
29
+ export declare function forgetExternalLogin(state: string, storage?: Storage | undefined): void;
30
+ /** Sends the browser to the provider authorization page; the page itself is outside the workbench. */
31
+ export declare function navigateToExternalAuthorization(authorizationUrl: string): void;
32
+ /**
33
+ * Reads a provider return from the workbench root query and forgets the matching pending transaction.
34
+ * Returns `undefined` when the address is not a provider return.
35
+ */
36
+ export declare function takeExternalLoginReturn(query: Record<string, unknown>, storage?: Storage | undefined): ExternalLoginReturn | undefined;
37
+ /** User-facing explanation of a completion that did not succeed. */
38
+ export declare function externalLoginFailureMessage(completion: ExternalLoginCompletion, language: LanguageContext): string;
@@ -2,8 +2,8 @@ import { type UiThemeSkinId } from '../vue-ui-antdv/index';
2
2
  import type { UserPreferenceStore } from '../web-core/index';
3
3
  export declare const themeSkinPreferenceKey = "workbench.theme-skin";
4
4
  export type ThemeSkinPreferenceFailure = 'save-failed';
5
- export declare function restoreThemeSkinPreference(store: UserPreferenceStore, fallback: UiThemeSkinId): Promise<UiThemeSkinId>;
6
- export declare function saveThemeSkinPreference(store: UserPreferenceStore, skinId: UiThemeSkinId, previousSkinId: UiThemeSkinId): Promise<{
5
+ export declare function restoreThemeSkinPreference(store: UserPreferenceStore, fallback: UiThemeSkinId, isCurrent?: () => boolean): Promise<UiThemeSkinId>;
6
+ export declare function saveThemeSkinPreference(store: UserPreferenceStore, skinId: UiThemeSkinId, previousSkinId: UiThemeSkinId, isCurrent?: () => boolean): Promise<{
7
7
  skinId: UiThemeSkinId;
8
8
  failure?: undefined;
9
9
  } | {
@@ -4,6 +4,7 @@ import type { AuthClient } from '../web-core/index';
4
4
  export declare function useCurrentUserProfile(options: {
5
5
  currentUser: () => CurrentUser | undefined;
6
6
  token: () => string | undefined;
7
+ scopeKey?: () => unknown;
7
8
  client: Pick<AuthClient, 'currentProfile' | 'updateCurrentProfile'>;
8
9
  }): {
9
10
  profile: import("vue").Ref<CurrentUserProfile | undefined, CurrentUserProfile | undefined>;
@@ -0,0 +1,27 @@
1
+ import type { Router } from 'vue-router';
2
+ import { type ExternalLoginClient } from '../web-core/index';
3
+ import type { ExternalProvisioningProfile, LoginResult } from '../web-contracts/index';
4
+ /** App-level composition; protocol clients and browser transaction storage remain separate concerns. */
5
+ export interface ExternalLoginHostOptions {
6
+ client: ExternalLoginClient;
7
+ router: Router;
8
+ /** Receives the session exactly as password login does; the host owns persistence and startup. */
9
+ onAuthenticated: (login: LoginResult) => void | Promise<void>;
10
+ signedIn: () => boolean;
11
+ /** Workbench route registered as the provider redirect URI, relative to the router base. */
12
+ callbackPath?: string;
13
+ }
14
+ /** Public host state. Call completeReturn before restoring the ordinary workbench session. */
15
+ export declare function useExternalLoginHost(options: ExternalLoginHostOptions): {
16
+ client: ExternalLoginClient;
17
+ /** Read-only server profile. Browser credentials remain private to this host instance. */
18
+ confirmation: import("vue").ComputedRef<ExternalProvisioningProfile | undefined>;
19
+ confirming: import("vue").ComputedRef<boolean>;
20
+ confirmProvisioning: () => Promise<void>;
21
+ cancelProvisioning(): void;
22
+ error: import("vue").ComputedRef<string | undefined>;
23
+ completing: import("vue").ComputedRef<boolean>;
24
+ /** True means session handoff, pending confirmation, or a signed-out failure decided the screen. Concurrent calls coalesce. */
25
+ completeReturn(): Promise<boolean>;
26
+ };
27
+ export type ExternalLoginHost = ReturnType<typeof useExternalLoginHost>;
@@ -0,0 +1,11 @@
1
+ import type { PersonalAccessTokenClient } from '../web-core/index';
2
+ /** The host owns credential management availability; the workbench only renders approved commands. */
3
+ export declare function usePersonalAccessTokenAccess(options: {
4
+ client: PersonalAccessTokenClient;
5
+ sessionToken: () => string | undefined;
6
+ scopeKey?: () => unknown;
7
+ }): {
8
+ available: import("vue").Ref<boolean, boolean>;
9
+ sessionToken: Readonly<import("vue").Ref<string | undefined, string | undefined>>;
10
+ refresh: () => Promise<void>;
11
+ };
@@ -0,0 +1,22 @@
1
+ export declare const WELINK_ORIGIN = "https://login.welink.huaweicloud.com";
2
+ export declare const WELINK_SCRIPT = "https://login.welink.huaweicloud.com/sso-proxy-front/public/qrcode/0.0.1/wlQrcodeLogin.js";
3
+ type CreateQrCode = (options: {
4
+ id: string;
5
+ client_id: string;
6
+ redirect_uri: string;
7
+ state: string;
8
+ scope: string;
9
+ response_type: string;
10
+ self_redirect: string;
11
+ lang: string;
12
+ width: number;
13
+ height: number;
14
+ }) => void;
15
+ declare global {
16
+ interface Window {
17
+ wlQrcodeLogin?: CreateQrCode;
18
+ }
19
+ }
20
+ /** One official script per document; failed loads can be retried by a fresh transaction. */
21
+ export declare function loadWeLinkScript(): Promise<CreateQrCode>;
22
+ export {};
@@ -1,9 +1,16 @@
1
1
  import type { MenuTreeNode, PageDescriptor, WorkbenchStartupState } from '../web-contracts';
2
+ import type { UiThemeSkinId } from '../vue-ui-antdv/index';
3
+ import type { WorkbenchAccountContext, WorkbenchAccountMenuOptions, WorkbenchAccountCommandGuard } from '../platform-workbench/workbenchAccountMenu';
2
4
  import { type PageDescriptorResolveOptions } from '../platform-workbench/menuNavigation';
3
5
  import type { WorkbenchRealtimeStatus } from '../platform-workbench/realtimeStatus';
4
6
  import type { AppWorkbenchNavigation } from './workbenchNavigation';
5
7
  type __VLS_Props = {
6
8
  startup: WorkbenchStartupState;
9
+ /** Standard account features; current user is always taken from startup.session. */
10
+ accountContext?: WorkbenchAccountContext;
11
+ accountMenu?: WorkbenchAccountMenuOptions;
12
+ beforeAccountCommand?: WorkbenchAccountCommandGuard;
13
+ skinId?: UiThemeSkinId;
7
14
  /** Host-owned authenticated menu loader; refreshing preserves all page instances. */
8
15
  loadMenus?: () => Promise<MenuTreeNode[]>;
9
16
  /** The consumer router's current full path, including search and hash. */
@@ -16,34 +23,43 @@ type __VLS_Props = {
16
23
  realtimeStatus?: WorkbenchRealtimeStatus;
17
24
  themeAppearance?: 'light' | 'dark';
18
25
  };
19
- declare var __VLS_19: {
26
+ declare var __VLS_30: {
20
27
  currentUser?: import("./index.ts").CurrentUser;
21
- }, __VLS_22: {
28
+ }, __VLS_33: {
22
29
  pageDescriptor: PageDescriptor | undefined;
23
30
  };
24
31
  type __VLS_Slots = {} & {
25
- 'topbar-actions'?: (props: typeof __VLS_19) => any;
32
+ 'topbar-actions'?: (props: typeof __VLS_30) => any;
26
33
  } & {
27
- default?: (props: typeof __VLS_22) => any;
34
+ default?: (props: typeof __VLS_33) => any;
28
35
  };
29
36
  declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
30
37
  navigate: (navigation: AppWorkbenchNavigation) => any;
38
+ logout: (reason: "requested" | "passwordChanged") => any;
31
39
  userCommand: (key: string) => any;
32
40
  refreshPage: (key: string) => any;
33
41
  retryLoad: () => any;
42
+ "update:skinId": (skinId: UiThemeSkinId) => any;
34
43
  "update:startup": (value: WorkbenchStartupState) => any;
35
44
  }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
36
45
  onNavigate?: ((navigation: AppWorkbenchNavigation) => any) | undefined;
46
+ onLogout?: ((reason: "requested" | "passwordChanged") => any) | undefined;
37
47
  onUserCommand?: ((key: string) => any) | undefined;
38
48
  onRefreshPage?: ((key: string) => any) | undefined;
39
49
  onRetryLoad?: (() => any) | undefined;
50
+ "onUpdate:skinId"?: ((skinId: UiThemeSkinId) => any) | undefined;
40
51
  "onUpdate:startup"?: ((value: WorkbenchStartupState) => any) | undefined;
41
52
  }>, {
42
53
  error: string;
43
54
  loading: boolean;
44
55
  realtimeStatus: WorkbenchRealtimeStatus;
56
+ currentUserEmployeeName: string;
45
57
  themeAppearance: "light" | "dark";
46
58
  resolveOptions: PageDescriptorResolveOptions;
59
+ accountContext: WorkbenchAccountContext;
60
+ skinId: UiThemeSkinId;
61
+ beforeAccountCommand: WorkbenchAccountCommandGuard;
62
+ accountMenu: WorkbenchAccountMenuOptions;
47
63
  loadMenus: () => Promise<MenuTreeNode[]>;
48
64
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
49
65
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
@@ -16,11 +16,15 @@ export { restoreLockedTabPreference, saveLockedTabPreference } from '../app/lock
16
16
  export { configureModulePageEnhancementContributions, configureModulePageEnhancements, createModulePageEnhancementRegistry, modulePageWorkspaceViews, } from '../dynamic-page-runtime/modulePageEnhancements';
17
17
  export { refreshModulePageList } from '../dynamic-page-runtime/modulePageListRefresh';
18
18
  export type { ModuleListEnhancement, ModuleDetailEnhancement, ModulePageActionContext, ModulePageActionContribution, ModulePageActionStateContext, ModulePageBatchActionContext, ModulePageBatchActionContribution, ModulePageColumnContribution, ModulePageDetailDrawer, ModulePageDetailSection, ModulePageDetailSectionContext, ModulePageDrawer, ModulePageDrawerContext, ModulePageRecordViewContext, ModulePageEnhancement, ModulePageEnhancementTarget, ModulePageLockedNavigatorEntry, ModulePageNavigatorEnhancement, ModulePageNavigatorExtension, ModulePageNavigatorExtensionContext, ModulePageRecordActionContext, ModulePageRecordActionContribution, ModulePageScopeContext, ModulePageWorkspaceView, ModulePageWorkspaceViewInput, } from '../dynamic-page-runtime/modulePageEnhancements';
19
- export { UiButton, UiDropdown, UiIcon, confirmAction, UiDataTable, UiSidePanel, UiTree, UiTreeSelect, UiInput, UiDatePicker, UiSwitch, UiTextArea, } from '../vue-ui-antdv/index';
19
+ export { UiButton, UiDropdown, UiIcon, confirmAction, UiDataTable, UiSidePanel, UiTree, UiTreeSelect, UiInput, UiSearchInput, UiDatePicker, UiSwitch, UiTextArea, } from '../vue-ui-antdv/index';
20
20
  export type { UiDropdownItem, UiIconName, UiDatePickerMode, UiDatePickerPrecision, } from '../vue-ui-antdv/index';
21
21
  export { default as PlatformAdminOutlet } from './PlatformAdminOutlet.vue';
22
+ export { default as WorkbenchAccountCenter } from '../app/WorkbenchAccountCenter.vue';
22
23
  export { default as AppWorkbenchShell } from './AppWorkbenchShell.vue';
24
+ export { default as ExternalProvisioningConfirmation } from '../app/ExternalProvisioningConfirmation.vue';
23
25
  export { default as LoginView } from '../app/LoginView.vue';
26
+ export { default as PersonalAccessTokenDialog } from '../app/PersonalAccessTokenDialog.vue';
27
+ export { usePersonalAccessTokenAccess } from '../app/usePersonalAccessTokenAccess';
24
28
  export type { AppWorkbenchNavigation } from './workbenchNavigation';
25
29
  export { configureUserPreferencePersistence } from './userPreferencePersistence';
26
30
  export { default as ChangeOwnPasswordDialog } from '../app/ChangeOwnPasswordDialog.vue';
@@ -30,6 +34,9 @@ export { defaultUiThemeSkinId, UiThemeProvider, uiThemeSkinById, uiThemeSkins }
30
34
  export type { UiThemeSkin, UiThemeSkinId } from '../vue-ui-antdv/index';
31
35
  export { default as DateTimeText } from '../platform-components/DateTimeText.vue';
32
36
  export { default as BusinessNotificationPanel } from '../platform-components/BusinessNotificationPanel.vue';
37
+ export { default as DurationSecondsInput } from '../platform-components/DurationSecondsInput.vue';
38
+ export type { DurationSecondsInputProps } from '../platform-components/durationSeconds';
39
+ export { UiInputGroup } from '../vue-ui-antdv/index';
33
40
  export { default as FileSizeText } from '../platform-components/FileSizeText.vue';
34
41
  export { default as DrawerOperationBar } from '../platform-components/DrawerOperationBar.vue';
35
42
  export { default as RecordDetailDrawer } from '../platform-components/RecordDetailDrawer.vue';
@@ -49,7 +56,7 @@ export type { ReferencePickerReadErrorKind } from '../platform-components/refere
49
56
  export type { ReferencePickerAxisSelection, ReferencePickerBrowseScope, ReferencePickerCandidate, ReferencePickerColumn, ReferencePickerConfig, ReferencePickerId, ReferencePickerNavigationAxis, ReferencePickerNavigationItem, ReferencePickerPage, ReferencePickerPageRequest, ReferencePickerProvider, ReferencePickerSelectionSummary, ReferencePickerSourceIdentity, ReferencePickerTreeNode, ReferencePickerValidity, } from '../platform-components/referencePickerModel';
50
57
  export { UiLanguageProvider, registerUiLanguageLocales } from '../vue-ui-antdv';
51
58
  export { default as LanguageSelector } from '../platform-workbench/LanguageSelector.vue';
52
- export { ManagementWorkspace, RecordQueryListSurface, RecordQueryListCell, RecordDetailPanel, RecordDetailFields, RecordDetailExtensionSection, useWorkspaceDetailSurface, listDetailWorkspaceMinWidth, resolveRecordQueryListColumns, resolveRecordDetailFields, } from '../platform-components/index';
59
+ export { ManagementWorkspace, ManagementExplorerColumn, RecordExplorerPanel, TenantScopeExplorer, RecordQueryListSurface, RecordQueryListCell, RecordDetailPanel, RecordDetailFields, RecordDetailExtensionSection, useWorkspaceDetailSurface, listDetailWorkspaceMinWidth, resolveRecordQueryListColumns, resolveRecordDetailFields, } from '../platform-components/index';
53
60
  export type { RecordFormFieldFallback } from '../platform-components/index';
54
61
  export type { QueryListRecord, RecordQueryListColumn, RecordFormFieldDescriptor, } from '../platform-components/index';
55
62
  export type { UiDataTableColumn, UiDataTableRecord, UiDataTableSelection } from '../vue-ui-antdv/index';
@@ -57,3 +64,10 @@ export { UiSelect, UiEmpty, UiError } from '../vue-ui-antdv/index';
57
64
  export { default as ReadonlyRecordWorkspace } from '../platform-components/ReadonlyRecordWorkspace.vue';
58
65
  export { usePageDescriptor, usePageRoute } from '../app/pageRouteContext';
59
66
  export type { PageRoute } from '../app/pageRouteContext';
67
+ export { useExternalLoginHost } from '../app/useExternalLoginHost';
68
+ export type { ExternalLoginHost, ExternalLoginHostOptions } from '../app/useExternalLoginHost';
69
+ export { default as CurrentUserProfileDialog } from '../app/CurrentUserProfileDialog.vue';
70
+ export { default as ExternalIdentityBindings } from '../app/ExternalIdentityBindings.vue';
71
+ export { default as CronExpressionInput } from '../platform-components/CronExpressionInput.vue';
72
+ export { validateCronExpression } from '../platform-components/cronExpression';
73
+ export type { CronExpressionInputProps, CronExpressionValidator, CronInputValidity, CronValidationResult, } from '../platform-components/cronExpression';
@@ -7,6 +7,7 @@ type __VLS_Props = {
7
7
  uiDescriptor: ResolvedModuleUiDescriptor;
8
8
  relation: ResolvedDetailRelationDescriptor;
9
9
  parentRecord: QueryListRecord;
10
+ parentMode?: 'create' | 'edit' | 'view';
10
11
  reloadKey?: number;
11
12
  addRequestKey?: number;
12
13
  removeRequestKey?: number;
@@ -7,6 +7,7 @@ type __VLS_Props = {
7
7
  uiDescriptor: ResolvedModuleUiDescriptor;
8
8
  relation: ResolvedDetailRelationDescriptor;
9
9
  parentRecord: QueryListRecord;
10
+ parentMode?: 'create' | 'edit' | 'view';
10
11
  mutationEnabled?: boolean;
11
12
  reloadKey?: number;
12
13
  };
@@ -832,6 +832,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
832
832
  dismissLocalEdit: () => void;
833
833
  localEditDraft: import("../platform-components/index").RecordFormRecord | undefined;
834
834
  localEditFields: Map<string, import("../platform-components/index").RecordFormFieldDescriptor>;
835
+ localEditFieldErrors: Readonly<Record<string, string>>;
836
+ localEditErrorMessage: string | undefined;
835
837
  updateLocalEditFormValidity: (validity: {
836
838
  valid: boolean;
837
839
  }) => void;
@@ -1627,6 +1629,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
1627
1629
  dismissLocalEdit: () => void;
1628
1630
  localEditDraft: import("../platform-components/index").RecordFormRecord | undefined;
1629
1631
  localEditFields: Map<string, import("../platform-components/index").RecordFormFieldDescriptor>;
1632
+ localEditFieldErrors: Readonly<Record<string, string>>;
1633
+ localEditErrorMessage: string | undefined;
1630
1634
  updateLocalEditFormValidity: (validity: {
1631
1635
  valid: boolean;
1632
1636
  }) => void;
@@ -8,6 +8,7 @@ type __VLS_Props = {
8
8
  uiDescriptor: ResolvedModuleUiDescriptor;
9
9
  relations: ResolvedDetailRelationDescriptor[];
10
10
  parentRecord: QueryListRecord;
11
+ parentMode?: 'create' | 'edit' | 'view';
11
12
  surface?: 'detail' | 'list-expansion';
12
13
  mutationEnabled?: boolean;
13
14
  reloadKey?: number;
@@ -1340,6 +1340,8 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
1340
1340
  dismissLocalEdit: import("vue").WritableComputedRef<() => void, () => void>;
1341
1341
  localEditDraft: import("vue").WritableComputedRef<import("../platform-components/index").RecordFormRecord | undefined, import("../platform-components/index").RecordFormRecord | undefined>;
1342
1342
  localEditFields: import("vue").WritableComputedRef<Map<string, import("../platform-components/index").RecordFormFieldDescriptor>, Map<string, import("../platform-components/index").RecordFormFieldDescriptor>>;
1343
+ localEditFieldErrors: import("vue").WritableComputedRef<Readonly<Record<string, string>>, Readonly<Record<string, string>>>;
1344
+ localEditErrorMessage: import("vue").WritableComputedRef<string | undefined, string | undefined>;
1343
1345
  updateLocalEditFormValidity: import("vue").WritableComputedRef<(validity: {
1344
1346
  valid: boolean;
1345
1347
  }) => void, (validity: {
@@ -2105,21 +2107,13 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
2105
2107
  utilityPlacement: "header" | "toolbar";
2106
2108
  }, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
2107
2109
  $slots: {
2108
- title?: (props: {}) => any;
2109
- } & {
2110
- 'title-extra'?: (props: {}) => any;
2111
- } & {
2112
- 'utility-actions'?: (props: {}) => any;
2113
- } & {
2114
- actions?: (props: {}) => any;
2115
- } & {
2116
- 'utility-actions'?: (props: {}) => any;
2117
- } & {
2118
- default?: (props: {}) => any;
2119
- } & {
2120
- footer?: (props: {}) => any;
2121
- } & {
2122
- editor?: (props: {}) => any;
2110
+ default?: () => unknown;
2111
+ footer?: () => unknown;
2112
+ title?: () => unknown;
2113
+ 'title-extra'?: () => unknown;
2114
+ 'utility-actions'?: () => unknown;
2115
+ actions?: () => unknown;
2116
+ editor?: () => unknown;
2123
2117
  };
2124
2118
  });
2125
2119
  RecordFormFields: {
@@ -3658,6 +3652,7 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
3658
3652
  uiDescriptor: import("../web-contracts/index.ts").ResolvedModuleUiDescriptor;
3659
3653
  relations: import("../web-contracts/index.ts").ResolvedDetailRelationDescriptor[];
3660
3654
  parentRecord: QueryListRecord;
3655
+ parentMode?: "create" | "edit" | "view";
3661
3656
  surface?: "detail" | "list-expansion";
3662
3657
  mutationEnabled?: boolean;
3663
3658
  reloadKey?: number;
@@ -3671,6 +3666,7 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
3671
3666
  uiDescriptor: import("../web-contracts/index.ts").ResolvedModuleUiDescriptor;
3672
3667
  relations: import("../web-contracts/index.ts").ResolvedDetailRelationDescriptor[];
3673
3668
  parentRecord: QueryListRecord;
3669
+ parentMode?: "create" | "edit" | "view";
3674
3670
  surface?: "detail" | "list-expansion";
3675
3671
  mutationEnabled?: boolean;
3676
3672
  reloadKey?: number;
@@ -44,6 +44,8 @@ export declare function useModulePageDetailActionRuntime(options: ModulePageDeta
44
44
  localEditDraft: Ref<RecordFormRecord | undefined, RecordFormRecord | undefined>;
45
45
  localEditDirty: import("vue").ComputedRef<boolean>;
46
46
  localEditFields: import("vue").ComputedRef<Map<string, RecordFormFieldDescriptor>>;
47
+ localEditFieldErrors: Ref<Readonly<Record<string, string>>, Readonly<Record<string, string>>>;
48
+ localEditErrorMessage: Ref<string | undefined, string | undefined>;
47
49
  handleConfiguredAction: (action: {
48
50
  key?: string;
49
51
  }) => boolean;
@@ -0,0 +1,3 @@
1
+ import type { ResolvedViewDescriptor } from '../web-contracts/index';
2
+ /** Seed only new drafts. Explicit context values (including false, zero and null) take precedence. */
3
+ export declare function formCreateDefaults(view: ResolvedViewDescriptor | undefined, initial?: Record<string, unknown>): Record<string, unknown>;
@@ -846,6 +846,8 @@ export declare function useModulePageSession(props: ModulePageSessionProps, emit
846
846
  dismissLocalEdit: () => void;
847
847
  localEditDraft: import("vue").Ref<RecordFormRecord | undefined, RecordFormRecord | undefined>;
848
848
  localEditFields: import("vue").ComputedRef<Map<string, import("../platform-components/index").RecordFormFieldDescriptor>>;
849
+ localEditFieldErrors: import("vue").Ref<Readonly<Record<string, string>>, Readonly<Record<string, string>>>;
850
+ localEditErrorMessage: import("vue").Ref<string | undefined, string | undefined>;
849
851
  updateLocalEditFormValidity: (validity: {
850
852
  valid: boolean;
851
853
  }) => void;
@@ -1,3 +1,5 @@
1
+ /** Reactive counterpart of effectiveAuthToken, with component-scoped browser observation. */
2
+ export declare function useEffectiveAuthToken(envToken?: string): import("vue").ComputedRef<string | undefined>;
1
3
  export declare function effectiveAuthToken(envToken?: string): string | undefined;
2
4
  export declare function storedAuthToken(): string | undefined;
3
5
  export declare function storedAuthSessionId(): string | undefined;
@@ -14,4 +14,4 @@ export { configureAuthenticationRecovery } from './sessionRecovery';
14
14
  export type { AuthenticationRecoveryHandler } from './sessionRecovery';
15
15
  export { connectAppRealtime, disconnectAppRealtime, subscribeAppBusinessEvents, subscribeAppDataChanges, } from './realtime';
16
16
  export type { AppRealtimeConnection, AppRealtimeOptions } from './realtime';
17
- export { clearAuthToken, effectiveAuthToken, saveAuthSessionId, saveAuthToken, storedAuthSessionId, storedAuthToken, } from './authSession';
17
+ export { clearAuthToken, effectiveAuthToken, useEffectiveAuthToken, saveAuthSessionId, saveAuthToken, storedAuthSessionId, storedAuthToken, } from './authSession';
@@ -0,0 +1,7 @@
1
+ import type { ModulePageFormContributionContext } from '../../dynamic-page-runtime/index';
2
+ type __VLS_Props = {
3
+ context: ModulePageFormContributionContext;
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;
@@ -0,0 +1,3 @@
1
+ import type { ModulePageEnhancement } from '../dynamic-page-runtime/index';
2
+ /** The target is a module/code pair, not a foreign record ID. Keep the standard save boundary. */
3
+ export declare const scheduledActionPlanPageEnhancement: ModulePageEnhancement;
@@ -0,0 +1,30 @@
1
+ import type { WebBusinessNotification, WebBusinessNotificationAction } from '../web-contracts/index';
2
+ type __VLS_Props = {
3
+ notification: WebBusinessNotification;
4
+ hasAccessory: boolean;
5
+ busyAction?: string;
6
+ recordHandled: boolean;
7
+ };
8
+ declare var __VLS_27: {
9
+ notification: WebBusinessNotification;
10
+ };
11
+ type __VLS_Slots = {} & {
12
+ accessory?: (props: typeof __VLS_27) => any;
13
+ };
14
+ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
15
+ close: () => any;
16
+ action: (action: WebBusinessNotificationAction) => any;
17
+ }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
18
+ onClose?: (() => any) | undefined;
19
+ onAction?: ((action: WebBusinessNotificationAction) => any) | undefined;
20
+ }>, {
21
+ busyAction: string;
22
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
23
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
24
+ declare const _default: typeof __VLS_export;
25
+ export default _default;
26
+ type __VLS_WithSlots<T, S> = T & {
27
+ new (): {
28
+ $slots: S;
29
+ };
30
+ };