diff --git a/src/Umbraco.Web.UI.Client/src/packages/user/current-user/external-login/configure-external-login-providers-action.ts b/src/Umbraco.Web.UI.Client/src/packages/user/current-user/external-login/configure-external-login-providers-action.ts index a3706c2988..bea240e191 100644 --- a/src/Umbraco.Web.UI.Client/src/packages/user/current-user/external-login/configure-external-login-providers-action.ts +++ b/src/Umbraco.Web.UI.Client/src/packages/user/current-user/external-login/configure-external-login-providers-action.ts @@ -16,3 +16,5 @@ export class UmbConfigureExternalLoginProvidersApi await modalManagerContext.open(this, UMB_CURRENT_USER_EXTERNAL_LOGIN_MODAL).onSubmit(); } } + +export { UmbConfigureExternalLoginProvidersApi as api }; diff --git a/src/Umbraco.Web.UI.Client/src/packages/user/current-user/external-login/manifests.ts b/src/Umbraco.Web.UI.Client/src/packages/user/current-user/external-login/manifests.ts index bef139a91b..1f104ac700 100644 --- a/src/Umbraco.Web.UI.Client/src/packages/user/current-user/external-login/manifests.ts +++ b/src/Umbraco.Web.UI.Client/src/packages/user/current-user/external-login/manifests.ts @@ -1,4 +1,3 @@ -import { UmbConfigureExternalLoginProvidersApi } from './configure-external-login-providers-action.js'; import type { ManifestCurrentUserActionDefaultKind, ManifestModal } from '@umbraco-cms/backoffice/extension-registry'; export const modals: Array = [ @@ -17,7 +16,7 @@ export const userProfileApps: Array = [ alias: 'Umb.CurrentUser.App.ExternalLoginProviders', name: 'External Login Providers Current User App', weight: 700, - api: UmbConfigureExternalLoginProvidersApi, + api: () => import('./configure-external-login-providers-action.js'), meta: { label: '#defaultdialogs_externalLoginProviders', icon: 'icon-lock', diff --git a/src/Umbraco.Web.UI.Client/src/packages/user/current-user/mfa-login/configure-mfa-providers-action.ts b/src/Umbraco.Web.UI.Client/src/packages/user/current-user/mfa-login/configure-mfa-providers-action.ts index bc644ec9bd..d30d327861 100644 --- a/src/Umbraco.Web.UI.Client/src/packages/user/current-user/mfa-login/configure-mfa-providers-action.ts +++ b/src/Umbraco.Web.UI.Client/src/packages/user/current-user/mfa-login/configure-mfa-providers-action.ts @@ -16,3 +16,5 @@ export class UmbConfigureMfaProvidersApi await modalManagerContext.open(this, UMB_CURRENT_USER_MFA_MODAL).onSubmit(); } } + +export { UmbConfigureMfaProvidersApi as api }; diff --git a/src/Umbraco.Web.UI.Client/src/packages/user/current-user/mfa-login/manifests.ts b/src/Umbraco.Web.UI.Client/src/packages/user/current-user/mfa-login/manifests.ts index 9e50cc71c1..4ee342f239 100644 --- a/src/Umbraco.Web.UI.Client/src/packages/user/current-user/mfa-login/manifests.ts +++ b/src/Umbraco.Web.UI.Client/src/packages/user/current-user/mfa-login/manifests.ts @@ -1,4 +1,3 @@ -import { UmbConfigureMfaProvidersApi } from './configure-mfa-providers-action.js'; import type { ManifestCurrentUserActionDefaultKind, ManifestTypes } from '@umbraco-cms/backoffice/extension-registry'; export const userProfileApps: Array = [ @@ -8,7 +7,7 @@ export const userProfileApps: Array = [ alias: 'Umb.CurrentUser.App.MfaLoginProviders', name: 'MFA Login Providers Current User App', weight: 800, - api: UmbConfigureMfaProvidersApi, + api: () => import('./configure-mfa-providers-action.js'), meta: { label: '#user_configureTwoFactor', icon: 'icon-rectangle-ellipsis', diff --git a/src/Umbraco.Web.UI.Client/src/packages/user/current-user/profile/change-password-current-user.action.ts b/src/Umbraco.Web.UI.Client/src/packages/user/current-user/profile/change-password-current-user.action.ts index e249edc529..e7607510f4 100644 --- a/src/Umbraco.Web.UI.Client/src/packages/user/current-user/profile/change-password-current-user.action.ts +++ b/src/Umbraco.Web.UI.Client/src/packages/user/current-user/profile/change-password-current-user.action.ts @@ -41,3 +41,5 @@ export class UmbChangePasswordCurrentUserAction }); } } + +export { UmbChangePasswordCurrentUserAction as api }; diff --git a/src/Umbraco.Web.UI.Client/src/packages/user/current-user/profile/edit-current-user.action.ts b/src/Umbraco.Web.UI.Client/src/packages/user/current-user/profile/edit-current-user.action.ts index 554d0a2ee7..cdc03d8e09 100644 --- a/src/Umbraco.Web.UI.Client/src/packages/user/current-user/profile/edit-current-user.action.ts +++ b/src/Umbraco.Web.UI.Client/src/packages/user/current-user/profile/edit-current-user.action.ts @@ -36,3 +36,5 @@ export class UmbEditCurrentUserAction return; } } + +export { UmbEditCurrentUserAction as api }; diff --git a/src/Umbraco.Web.UI.Client/src/packages/user/current-user/profile/manifests.ts b/src/Umbraco.Web.UI.Client/src/packages/user/current-user/profile/manifests.ts index 748421f410..2cb745f149 100644 --- a/src/Umbraco.Web.UI.Client/src/packages/user/current-user/profile/manifests.ts +++ b/src/Umbraco.Web.UI.Client/src/packages/user/current-user/profile/manifests.ts @@ -1,5 +1,3 @@ -import { UmbChangePasswordCurrentUserAction } from './change-password-current-user.action.js'; -import { UmbEditCurrentUserAction } from './edit-current-user.action.js'; import type { ManifestCurrentUserActionDefaultKind, ManifestTypes, @@ -27,7 +25,7 @@ const currentUserActions: Array = [ alias: 'Umb.CurrentUser.Button.Edit', name: 'Current User Edit Button', weight: 1000, - api: UmbEditCurrentUserAction, + api: () => import('./edit-current-user.action.js'), meta: { label: '#general_edit', icon: 'edit', @@ -45,7 +43,7 @@ const currentUserActions: Array = [ alias: 'Umb.CurrentUser.Button.ChangePassword', name: 'Current User Change Password Button', weight: 900, - api: UmbChangePasswordCurrentUserAction, + api: () => import('./change-password-current-user.action.js'), meta: { label: '#general_changePassword', icon: 'lock',