@arsedizioni/ars-utils 22.1.1 → 22.1.3

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 (27) hide show
  1. package/fesm2022/arsedizioni-ars-utils-clipper.common.mjs +24 -24
  2. package/fesm2022/arsedizioni-ars-utils-clipper.common.mjs.map +1 -1
  3. package/fesm2022/arsedizioni-ars-utils-clipper.ui.mjs +48 -48
  4. package/fesm2022/arsedizioni-ars-utils-core.mjs +106 -100
  5. package/fesm2022/arsedizioni-ars-utils-core.mjs.map +1 -1
  6. package/fesm2022/arsedizioni-ars-utils-evolution.common.mjs +15 -15
  7. package/fesm2022/arsedizioni-ars-utils-evolution.common.mjs.map +1 -1
  8. package/fesm2022/arsedizioni-ars-utils-help.mjs +9 -9
  9. package/fesm2022/arsedizioni-ars-utils-support.common.mjs +9 -9
  10. package/fesm2022/arsedizioni-ars-utils-support.common.mjs.map +1 -1
  11. package/fesm2022/arsedizioni-ars-utils-support.ui.mjs +6 -6
  12. package/fesm2022/arsedizioni-ars-utils-tinymce.mjs +3 -3
  13. package/fesm2022/arsedizioni-ars-utils-ui.application.mjs +57 -57
  14. package/fesm2022/arsedizioni-ars-utils-ui.mjs +572 -101
  15. package/fesm2022/arsedizioni-ars-utils-ui.mjs.map +1 -1
  16. package/fesm2022/arsedizioni-ars-utils-ui.oauth.mjs +8 -15
  17. package/fesm2022/arsedizioni-ars-utils-ui.oauth.mjs.map +1 -1
  18. package/package.json +1 -1
  19. package/types/arsedizioni-ars-utils-clipper.common.d.ts +1 -2
  20. package/types/arsedizioni-ars-utils-clipper.ui.d.ts +1 -1
  21. package/types/arsedizioni-ars-utils-core.d.ts +11 -2
  22. package/types/arsedizioni-ars-utils-core.d.ts.map +1 -0
  23. package/types/arsedizioni-ars-utils-evolution.common.d.ts +1 -2
  24. package/types/arsedizioni-ars-utils-support.common.d.ts +1 -2
  25. package/types/arsedizioni-ars-utils-ui.application.d.ts +2 -2
  26. package/types/arsedizioni-ars-utils-ui.d.ts +354 -23
  27. package/types/arsedizioni-ars-utils-ui.oauth.d.ts +2 -13
@@ -3,7 +3,7 @@ import { inject, DestroyRef, NgZone, output, input, signal, afterNextRender, Cha
3
3
  import { takeUntilDestroyed } from '@angular/core/rxjs-interop';
4
4
  import * as i1 from '@angular/material/button';
5
5
  import { MatButtonModule } from '@angular/material/button';
6
- import { EnvironmentService } from '@arsedizioni/ars-utils/core';
6
+ import { LoginOAuthType, EnvironmentService } from '@arsedizioni/ars-utils/core';
7
7
  import * as i1$1 from '@arsedizioni/ars-utils/ui';
8
8
  import { DialogService, FlexLayoutModule } from '@arsedizioni/ars-utils/ui';
9
9
  import { MsalBroadcastService, MsalService, MSAL_INSTANCE, MSAL_GUARD_CONFIG, MSAL_INTERCEPTOR_CONFIG } from '@azure/msal-angular';
@@ -13,13 +13,6 @@ import { broadcastResponseToMainFrame } from '@azure/msal-browser/redirect-bridg
13
13
  import * as i2 from '@angular/material/progress-bar';
14
14
  import { MatProgressBarModule } from '@angular/material/progress-bar';
15
15
 
16
- var LoginOAuthType;
17
- (function (LoginOAuthType) {
18
- LoginOAuthType[LoginOAuthType["None"] = 0] = "None";
19
- LoginOAuthType[LoginOAuthType["Microsoft"] = 1] = "Microsoft";
20
- LoginOAuthType[LoginOAuthType["Google"] = 2] = "Google";
21
- })(LoginOAuthType || (LoginOAuthType = {}));
22
-
23
16
  /** Default Azure app registration — overridable via EnvironmentService. */
24
17
  const DEFAULT_MS_CLIENT_ID = '6b2c080f-6ab0-4511-a9df-0bce69db5833';
25
18
  const MS_AUTH_SCOPE = `api://${DEFAULT_MS_CLIENT_ID}/AngularSPAAuthScope`;
@@ -201,8 +194,8 @@ class LoginOAuthComponent {
201
194
  }
202
195
  this.googleButtonWrapper.click();
203
196
  }
204
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.0", ngImport: i0, type: LoginOAuthComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
205
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.0", type: LoginOAuthComponent, isStandalone: true, selector: "login-oauth", inputs: { showInfo: { classPropertyName: "showInfo", publicName: "showInfo", isSignal: true, isRequired: false, transformFunction: null }, applicationName: { classPropertyName: "applicationName", publicName: "applicationName", isSignal: true, isRequired: false, transformFunction: null }, autoInitialize: { classPropertyName: "autoInitialize", publicName: "autoInitialize", isSignal: true, isRequired: false, transformFunction: null }, allowMicrosoft: { classPropertyName: "allowMicrosoft", publicName: "allowMicrosoft", isSignal: true, isRequired: false, transformFunction: null }, allowGoogle: { classPropertyName: "allowGoogle", publicName: "allowGoogle", isSignal: true, isRequired: false, transformFunction: null }, googleClientId: { classPropertyName: "googleClientId", publicName: "googleClientId", isSignal: true, isRequired: false, transformFunction: null }, msalScope: { classPropertyName: "msalScope", publicName: "msalScope", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { success: "success" }, providers: [
197
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: LoginOAuthComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
198
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.3", type: LoginOAuthComponent, isStandalone: true, selector: "login-oauth", inputs: { showInfo: { classPropertyName: "showInfo", publicName: "showInfo", isSignal: true, isRequired: false, transformFunction: null }, applicationName: { classPropertyName: "applicationName", publicName: "applicationName", isSignal: true, isRequired: false, transformFunction: null }, autoInitialize: { classPropertyName: "autoInitialize", publicName: "autoInitialize", isSignal: true, isRequired: false, transformFunction: null }, allowMicrosoft: { classPropertyName: "allowMicrosoft", publicName: "allowMicrosoft", isSignal: true, isRequired: false, transformFunction: null }, allowGoogle: { classPropertyName: "allowGoogle", publicName: "allowGoogle", isSignal: true, isRequired: false, transformFunction: null }, googleClientId: { classPropertyName: "googleClientId", publicName: "googleClientId", isSignal: true, isRequired: false, transformFunction: null }, msalScope: { classPropertyName: "msalScope", publicName: "msalScope", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { success: "success" }, providers: [
206
199
  {
207
200
  provide: MSAL_INSTANCE,
208
201
  deps: [EnvironmentService],
@@ -221,7 +214,7 @@ class LoginOAuthComponent {
221
214
  MsalBroadcastService
222
215
  ], ngImport: i0, template: "<div class=\"login-oauth\">\r\n @if(showInfo()) {\r\n <div class=\"message\">\r\n <p>Questa sezione consente di accedere al servizio utilizzando un provider OAuth2.</p>\r\n @if(applicationName()) {\r\n <p>La email utilizzata deve essere collegata ad un utente valido di {{applicationName()}} e dei servizi ad esso\r\n connessi.</p>\r\n }\r\n </div>\r\n }\r\n @if (allowMicrosoft()) {\r\n <div class=\"button\">\r\n <button mat-flat-button (click)=\"loginMSAL()\" aria-label=\"Effettua accesso\"\r\n [disabled]=\"!oauthMicrosoftReady()\" style=\"width: 100%;\">\r\n Accedi con Microsoft</button>\r\n </div>\r\n }\r\n @if (allowGoogle()) {\r\n <div class=\"button\">\r\n <button mat-flat-button (click)=\"loginGoogle()\" style=\"width: 100%;\"\r\n aria-label=\"Effettua accesso\" [disabled]=\"!oauthGoogleReady()\">\r\n Accedi con Google</button>\r\n </div>\r\n }\r\n</div>\r\n", styles: [".login-oauth{text-align:center}.login-oauth .button{padding:10px 0;width:100%}.login-oauth .message{padding:0 0 10px!important;font-size:small}\n"], dependencies: [{ kind: "ngmodule", type: MatButtonModule }, { kind: "component", type: i1.MatButton, selector: " button[matButton], a[matButton], button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button], a[mat-button], a[mat-raised-button], a[mat-flat-button], a[mat-stroked-button] ", inputs: ["matButton"], exportAs: ["matButton", "matAnchor"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
223
216
  }
224
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.0", ngImport: i0, type: LoginOAuthComponent, decorators: [{
217
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: LoginOAuthComponent, decorators: [{
225
218
  type: Component,
226
219
  args: [{ selector: 'login-oauth', standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, providers: [
227
220
  {
@@ -274,10 +267,10 @@ class LoginOAuthOkMSComponent {
274
267
  console.error('Errore durante la comunicazione della risposta di autenticazione:', error);
275
268
  });
276
269
  }
277
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.0", ngImport: i0, type: LoginOAuthOkMSComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
278
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "22.1.0", type: LoginOAuthOkMSComponent, isStandalone: true, selector: "app-login-oauth-ok-ms", inputs: { message: { classPropertyName: "message", publicName: "message", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: "<div fxLayout=\"column\" fxLayoutAlign=\"center center\" fxFill>\r\n <div class=\"login-auto fade-in\">\r\n <div class=\"message\">\r\n Autenticazione in corso...\r\n </div>\r\n <mat-progress-bar mode=\"indeterminate\" ></mat-progress-bar>\r\n </div>\r\n</div>\r\n", styles: [".login-auto{padding:20px 0}.login-auto .message{font-size:large;font-weight:700;color:var(--ars-color-primary);max-width:300px;text-align:center;width:100%;padding:40px 0}\n"], dependencies: [{ kind: "ngmodule", type: FlexLayoutModule }, { kind: "directive", type: i1$1.FxLayoutDirective, selector: " [fxLayout], [fxLayout.xs], [fxLayout.sm], [fxLayout.md], [fxLayout.lg], [fxLayout.xl], [fxLayout.lt-sm], [fxLayout.lt-md], [fxLayout.lt-lg], [fxLayout.lt-xl], [fxLayout.gt-xs], [fxLayout.gt-sm], [fxLayout.gt-md], [fxLayout.gt-lg] ", inputs: ["fxLayout", "fxLayout.xs", "fxLayout.sm", "fxLayout.md", "fxLayout.lg", "fxLayout.xl", "fxLayout.lt-sm", "fxLayout.lt-md", "fxLayout.lt-lg", "fxLayout.lt-xl", "fxLayout.gt-xs", "fxLayout.gt-sm", "fxLayout.gt-md", "fxLayout.gt-lg"] }, { kind: "directive", type: i1$1.FxLayoutAlignDirective, selector: " [fxLayoutAlign], [fxLayoutAlign.xs], [fxLayoutAlign.sm], [fxLayoutAlign.md], [fxLayoutAlign.lg], [fxLayoutAlign.xl], [fxLayoutAlign.lt-sm], [fxLayoutAlign.lt-md], [fxLayoutAlign.lt-lg], [fxLayoutAlign.lt-xl], [fxLayoutAlign.gt-xs], [fxLayoutAlign.gt-sm], [fxLayoutAlign.gt-md], [fxLayoutAlign.gt-lg] ", inputs: ["fxLayoutAlign", "fxLayoutAlign.xs", "fxLayoutAlign.sm", "fxLayoutAlign.md", "fxLayoutAlign.lg", "fxLayoutAlign.xl", "fxLayoutAlign.lt-sm", "fxLayoutAlign.lt-md", "fxLayoutAlign.lt-lg", "fxLayoutAlign.lt-xl", "fxLayoutAlign.gt-xs", "fxLayoutAlign.gt-sm", "fxLayoutAlign.gt-md", "fxLayoutAlign.gt-lg"] }, { kind: "directive", type: i1$1.FxFlexFillDirective, selector: " [fxFlexFill], [fxFill], [fxFlexFill.xs], [fxFlexFill.sm], [fxFlexFill.md], [fxFlexFill.lg], [fxFlexFill.xl], [fxFlexFill.lt-sm], [fxFlexFill.lt-md], [fxFlexFill.lt-lg], [fxFlexFill.lt-xl], [fxFlexFill.gt-xs], [fxFlexFill.gt-sm], [fxFlexFill.gt-md], [fxFlexFill.gt-lg] ", inputs: ["fxFlexFill", "fxFill", "fxFlexFill.xs", "fxFlexFill.sm", "fxFlexFill.md", "fxFlexFill.lg", "fxFlexFill.xl", "fxFlexFill.lt-sm", "fxFlexFill.lt-md", "fxFlexFill.lt-lg", "fxFlexFill.lt-xl", "fxFlexFill.gt-xs", "fxFlexFill.gt-sm", "fxFlexFill.gt-md", "fxFlexFill.gt-lg"] }, { kind: "ngmodule", type: MatProgressBarModule }, { kind: "component", type: i2.MatProgressBar, selector: "mat-progress-bar", inputs: ["color", "value", "bufferValue", "mode"], outputs: ["animationEnd"], exportAs: ["matProgressBar"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
270
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: LoginOAuthOkMSComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
271
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "22.1.3", type: LoginOAuthOkMSComponent, isStandalone: true, selector: "app-login-oauth-ok-ms", inputs: { message: { classPropertyName: "message", publicName: "message", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: "<div fxLayout=\"column\" fxLayoutAlign=\"center center\" fxFill>\r\n <div class=\"login-auto fade-in\">\r\n <div class=\"message\">\r\n Autenticazione in corso...\r\n </div>\r\n <mat-progress-bar mode=\"indeterminate\" ></mat-progress-bar>\r\n </div>\r\n</div>\r\n", styles: [".login-auto{padding:20px 0}.login-auto .message{font-size:large;font-weight:700;color:var(--ars-color-primary);max-width:300px;text-align:center;width:100%;padding:40px 0}\n"], dependencies: [{ kind: "ngmodule", type: FlexLayoutModule }, { kind: "directive", type: i1$1.FxLayoutDirective, selector: " [fxLayout], [fxLayout.xs], [fxLayout.sm], [fxLayout.md], [fxLayout.lg], [fxLayout.xl], [fxLayout.lt-sm], [fxLayout.lt-md], [fxLayout.lt-lg], [fxLayout.lt-xl], [fxLayout.gt-xs], [fxLayout.gt-sm], [fxLayout.gt-md], [fxLayout.gt-lg] ", inputs: ["fxLayout", "fxLayout.xs", "fxLayout.sm", "fxLayout.md", "fxLayout.lg", "fxLayout.xl", "fxLayout.lt-sm", "fxLayout.lt-md", "fxLayout.lt-lg", "fxLayout.lt-xl", "fxLayout.gt-xs", "fxLayout.gt-sm", "fxLayout.gt-md", "fxLayout.gt-lg"] }, { kind: "directive", type: i1$1.FxLayoutAlignDirective, selector: " [fxLayoutAlign], [fxLayoutAlign.xs], [fxLayoutAlign.sm], [fxLayoutAlign.md], [fxLayoutAlign.lg], [fxLayoutAlign.xl], [fxLayoutAlign.lt-sm], [fxLayoutAlign.lt-md], [fxLayoutAlign.lt-lg], [fxLayoutAlign.lt-xl], [fxLayoutAlign.gt-xs], [fxLayoutAlign.gt-sm], [fxLayoutAlign.gt-md], [fxLayoutAlign.gt-lg] ", inputs: ["fxLayoutAlign", "fxLayoutAlign.xs", "fxLayoutAlign.sm", "fxLayoutAlign.md", "fxLayoutAlign.lg", "fxLayoutAlign.xl", "fxLayoutAlign.lt-sm", "fxLayoutAlign.lt-md", "fxLayoutAlign.lt-lg", "fxLayoutAlign.lt-xl", "fxLayoutAlign.gt-xs", "fxLayoutAlign.gt-sm", "fxLayoutAlign.gt-md", "fxLayoutAlign.gt-lg"] }, { kind: "directive", type: i1$1.FxFlexFillDirective, selector: " [fxFlexFill], [fxFill], [fxFlexFill.xs], [fxFlexFill.sm], [fxFlexFill.md], [fxFlexFill.lg], [fxFlexFill.xl], [fxFlexFill.lt-sm], [fxFlexFill.lt-md], [fxFlexFill.lt-lg], [fxFlexFill.lt-xl], [fxFlexFill.gt-xs], [fxFlexFill.gt-sm], [fxFlexFill.gt-md], [fxFlexFill.gt-lg] ", inputs: ["fxFlexFill", "fxFill", "fxFlexFill.xs", "fxFlexFill.sm", "fxFlexFill.md", "fxFlexFill.lg", "fxFlexFill.xl", "fxFlexFill.lt-sm", "fxFlexFill.lt-md", "fxFlexFill.lt-lg", "fxFlexFill.lt-xl", "fxFlexFill.gt-xs", "fxFlexFill.gt-sm", "fxFlexFill.gt-md", "fxFlexFill.gt-lg"] }, { kind: "ngmodule", type: MatProgressBarModule }, { kind: "component", type: i2.MatProgressBar, selector: "mat-progress-bar", inputs: ["color", "value", "bufferValue", "mode"], outputs: ["animationEnd"], exportAs: ["matProgressBar"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
279
272
  }
280
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.0", ngImport: i0, type: LoginOAuthOkMSComponent, decorators: [{
273
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: LoginOAuthOkMSComponent, decorators: [{
281
274
  type: Component,
282
275
  args: [{ selector: 'app-login-oauth-ok-ms', changeDetection: ChangeDetectionStrategy.OnPush, imports: [FlexLayoutModule, MatProgressBarModule], template: "<div fxLayout=\"column\" fxLayoutAlign=\"center center\" fxFill>\r\n <div class=\"login-auto fade-in\">\r\n <div class=\"message\">\r\n Autenticazione in corso...\r\n </div>\r\n <mat-progress-bar mode=\"indeterminate\" ></mat-progress-bar>\r\n </div>\r\n</div>\r\n", styles: [".login-auto{padding:20px 0}.login-auto .message{font-size:large;font-weight:700;color:var(--ars-color-primary);max-width:300px;text-align:center;width:100%;padding:40px 0}\n"] }]
283
276
  }], ctorParameters: () => [], propDecorators: { message: [{ type: i0.Input, args: [{ isSignal: true, alias: "message", required: false }] }] } });
@@ -290,5 +283,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.0", ngImpor
290
283
  * Generated bundle index. Do not edit.
291
284
  */
292
285
 
293
- export { LoginOAuthComponent, LoginOAuthOkMSComponent, LoginOAuthType, MSALGuardConfigFactory, MSALInstanceFactory, MSALInterceptorConfigFactory };
286
+ export { LoginOAuthComponent, LoginOAuthOkMSComponent, MSALGuardConfigFactory, MSALInstanceFactory, MSALInterceptorConfigFactory };
294
287
  //# sourceMappingURL=arsedizioni-ars-utils-ui.oauth.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"arsedizioni-ars-utils-ui.oauth.mjs","sources":["../../../projects/ars-utils/ui.oauth/ui/definitions.ts","../../../projects/ars-utils/ui.oauth/ui/components/login/login-oauth.component.ts","../../../projects/ars-utils/ui.oauth/ui/components/login/login-oauth.component.html","../../../projects/ars-utils/ui.oauth/ui/components/login-ok/ms/login-oauth-ok-ms.component.ts","../../../projects/ars-utils/ui.oauth/ui/components/login-ok/ms/login-oauth-ok-ms.component.html","../../../projects/ars-utils/ui.oauth/public_api.ts","../../../projects/ars-utils/ui.oauth/arsedizioni-ars-utils-ui.oauth.ts"],"sourcesContent":["export enum LoginOAuthType {\r\n None = 0,\r\n Microsoft = 1,\r\n Google = 2\r\n}\r\n\r\nexport interface LoginOAuthResult {\r\n type: LoginOAuthType,\r\n token: string\r\n}","import { ChangeDetectionStrategy, Component, DestroyRef, NgZone, afterNextRender, inject, input, output, signal } from '@angular/core';\nimport { takeUntilDestroyed } from '@angular/core/rxjs-interop';\nimport { MatButtonModule } from '@angular/material/button';\nimport { EnvironmentService } from '@arsedizioni/ars-utils/core';\nimport { DialogService } from '@arsedizioni/ars-utils/ui';\nimport { MSAL_GUARD_CONFIG, MSAL_INSTANCE, MSAL_INTERCEPTOR_CONFIG, MsalBroadcastService, MsalGuardConfiguration, MsalInterceptorConfiguration, MsalService } from '@azure/msal-angular';\nimport { AuthenticationResult, BrowserCacheLocation, EventMessage, EventType, IPublicClientApplication, InteractionType, PublicClientApplication } from '@azure/msal-browser';\nimport { filter } from 'rxjs';\nimport { LoginOAuthResult, LoginOAuthType } from '../../definitions';\n\n/** Default Azure app registration — overridable via EnvironmentService. */\nconst DEFAULT_MS_CLIENT_ID = '6b2c080f-6ab0-4511-a9df-0bce69db5833';\nconst MS_AUTH_SCOPE = `api://${DEFAULT_MS_CLIENT_ID}/AngularSPAAuthScope`;\n\nexport function MSALInstanceFactory(environment: EnvironmentService): IPublicClientApplication {\n return new PublicClientApplication({\n auth: {\n clientId: (environment as any).msalClientId ?? DEFAULT_MS_CLIENT_ID,\n authority: (environment as any).msalAuthority ?? 'https://login.microsoftonline.com/common',\n redirectUri: environment.appLoginRedirectUri,\n },\n cache: {\n cacheLocation: BrowserCacheLocation.LocalStorage\n }\n });\n}\n\nexport function MSALInterceptorConfigFactory(environment: EnvironmentService): MsalInterceptorConfiguration {\n\n return {\n interactionType: InteractionType.Popup,\n protectedResourceMap: new Map([\n [environment.appServiceLoginUri, [MS_AUTH_SCOPE]],\n [\"https://graph.microsoft.com/v2.0/me\", [\"user.read\"]],\n ])\n };\n}\n\nexport function MSALGuardConfigFactory(): MsalGuardConfiguration {\n return {\n interactionType: InteractionType.Popup,\n authRequest: {\n scopes: [\"user.read\"]\n }\n };\n}\n\n@Component({\n selector: 'login-oauth',\n templateUrl: './login-oauth.component.html',\n styleUrls: ['./login-oauth.component.scss'],\n standalone: true,\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: [\n {\n provide: MSAL_INSTANCE,\n deps: [EnvironmentService],\n useFactory: MSALInstanceFactory\n },\n {\n provide: MSAL_GUARD_CONFIG,\n useFactory: MSALGuardConfigFactory\n },\n {\n provide: MSAL_INTERCEPTOR_CONFIG,\n deps: [EnvironmentService],\n useFactory: MSALInterceptorConfigFactory\n },\n MsalService,\n MsalBroadcastService],\n imports: [\n MatButtonModule\n ]\n})\nexport class LoginOAuthComponent {\n private readonly destroyRef = inject(DestroyRef);\n private readonly msalBroadcastService = inject(MsalBroadcastService);\n private readonly msaLService = inject(MsalService);\n private readonly dialogService = inject(DialogService);\n private readonly ngZone = inject(NgZone);\n /** Emitted when OAuth authentication succeeds. */\n readonly success = output<LoginOAuthResult>();\n /** Whether to show the introductory info panel. */\n readonly showInfo = input<boolean>(true);\n /** Application name displayed in the info panel. */\n readonly applicationName = input<string>();\n /** Whether to trigger `initialize()` automatically on mount. */\n readonly autoInitialize = input<boolean>(false);\n /** Whether the Microsoft login button is shown. */\n readonly allowMicrosoft = input<boolean>(true);\n /** Whether the Google login button is shown. */\n readonly allowGoogle = input<boolean>(true);\n /** Google OAuth client id. Override per deployment. */\n readonly googleClientId = input<string>('71204983077-ag31h3bgt2udcbfr9nn84r9rni2k3snp.apps.googleusercontent.com');\n /** MSAL access-token scope requested after login. */\n readonly msalScope = input<string>(MS_AUTH_SCOPE);\n protected readonly oauthReady = signal<boolean>(false);\n protected readonly oauthMicrosoftReady = signal<boolean>(false);\n protected readonly oauthGoogleReady = signal<boolean>(false);\n /** Hidden GSI button proxy, created once the Google library is ready. */\n private googleButtonWrapper?: { click: () => void };\n\n constructor() {\n\n this.msalBroadcastService.msalSubject$\n .pipe(\n filter((msg: EventMessage) =>\n msg.eventType === EventType.LOGOUT_FAILURE ||\n msg.eventType === EventType.ACQUIRE_TOKEN_FAILURE),\n takeUntilDestroyed(this.destroyRef),\n )\n .subscribe((r: EventMessage) => {\n if (r?.payload) {\n const error = r.payload as any;\n this.dialogService.error(error?.message ?? 'Errore di autenticazione Microsoft');\n }\n });\n\n afterNextRender(() => {\n if (this.autoInitialize()) {\n this.initialize();\n }\n });\n\n }\n\n /**\n * Initialize OAuth providers (Microsoft MSAL and Google GSI).\n * Safe to call multiple times — already-initialized providers are skipped.\n * Must be public so the host component can trigger it manually when `autoInitialize` is false.\n */\n initialize() {\n this.oauthReady.set(true);\n\n // Initialize the Microsoft stack only when allowed and not already done.\n if (this.allowMicrosoft() && !this.oauthMicrosoftReady()) {\n this.msaLService.initialize()\n .pipe(takeUntilDestroyed(this.destroyRef))\n .subscribe({\n next: () => this.oauthMicrosoftReady.set(true),\n error: (error: any) =>\n this.dialogService.error(error?.message ?? 'Errore di inizializzazione Microsoft'),\n });\n }\n\n // Load the Google GSI script only when allowed and not already done.\n if (this.allowGoogle() && !this.oauthGoogleReady()) {\n // @ts-ignore — define the callback BEFORE the script loads so GSI can find it\n window.onGoogleLibraryLoad = () => {\n // @ts-ignore\n google.accounts.id.initialize({\n client_id: this.googleClientId(),\n cancel_on_tap_outside: true,\n auto_select: false,\n callback: (r: any) => {\n this.ngZone.run(() => {\n this.success.emit({ type: LoginOAuthType.Google, token: r.credential });\n });\n }\n });\n\n this.googleButtonWrapper = createFakeGoogleWrapper();\n this.ngZone.run(() => this.oauthGoogleReady.set(true));\n };\n\n // Reuse the script tag if a previous instance already added it.\n const existing = document.querySelector<HTMLScriptElement>('script[data-gsi=\"ars\"]');\n if (existing) {\n // @ts-ignore — library already present: run the callback directly\n if (window.google?.accounts?.id) window.onGoogleLibraryLoad();\n } else {\n const script = document.createElement('script');\n script.src = 'https://accounts.google.com/gsi/client';\n script.async = true;\n script.defer = true;\n script.dataset['gsi'] = 'ars';\n script.onerror = () => this.ngZone.run(() =>\n this.dialogService.error('Impossibile caricare il servizio di accesso Google.'));\n // Append and LEAVE it in the DOM so the browser actually fetches it.\n document.body.appendChild(script);\n }\n }\n }\n\n /**\n * Trigger a Microsoft (MSAL) login popup and acquire an access token on success.\n */\n protected loginMSAL() {\n // Clear any in-progress interaction flag that may have been left by a previous incomplete popup\n sessionStorage.removeItem('msal.interaction.status');\n\n this.msaLService.loginPopup()\n .pipe(takeUntilDestroyed(this.destroyRef))\n .subscribe({\n next: (r: AuthenticationResult) => {\n try {\n this.msaLService.instance.setActiveAccount(r.account);\n this.msaLService.acquireTokenSilent({\n scopes: [this.msalScope()],\n account: r.account\n }).pipe(takeUntilDestroyed(this.destroyRef)).subscribe({\n next: (tokenResult: AuthenticationResult) => {\n this.success.emit({ type: LoginOAuthType.Microsoft, token: tokenResult.accessToken });\n },\n error: (error: any) => {\n this.dialogService.error(error.message);\n }\n });\n } catch (error: any) {\n this.dialogService.error(error.message);\n }\n },\n error: (error: any) => {\n this.dialogService.error(error.message);\n }\n });\n }\n\n /**\n * Trigger the hidden Google GSI button to open the Google sign-in flow.\n */\n protected loginGoogle() {\n // Use the wrapper click to avoid an \"Illegal invocation\" exception.\n // Guard: the button only exists once the GSI library has loaded.\n if (!this.googleButtonWrapper) {\n this.dialogService.error('Il servizio di accesso Google non è ancora pronto.');\n return;\n }\n this.googleButtonWrapper.click();\n }\n}\n\nconst createFakeGoogleWrapper = (): { click: () => void } => {\n const googleLoginWrapper = document.createElement(\"div\");\n googleLoginWrapper.style.display = \"none\";\n googleLoginWrapper.classList.add(\"custom-google-button\");\n document.body.appendChild(googleLoginWrapper);\n\n // Render the (invisible) GSI button inside our wrapper.\n // @ts-ignore\n window.google.accounts.id.renderButton(googleLoginWrapper, {\n type: \"icon\",\n width: \"200\",\n });\n\n const googleLoginWrapperButton =\n googleLoginWrapper.querySelector<HTMLElement>(\"div[role=button]\");\n\n return {\n click: () => googleLoginWrapperButton?.click(),\n };\n};\n\n","<div class=\"login-oauth\">\r\n @if(showInfo()) {\r\n <div class=\"message\">\r\n <p>Questa sezione consente di accedere al servizio utilizzando un provider OAuth2.</p>\r\n @if(applicationName()) {\r\n <p>La email utilizzata deve essere collegata ad un utente valido di {{applicationName()}} e dei servizi ad esso\r\n connessi.</p>\r\n }\r\n </div>\r\n }\r\n @if (allowMicrosoft()) {\r\n <div class=\"button\">\r\n <button mat-flat-button (click)=\"loginMSAL()\" aria-label=\"Effettua accesso\"\r\n [disabled]=\"!oauthMicrosoftReady()\" style=\"width: 100%;\">\r\n Accedi con Microsoft</button>\r\n </div>\r\n }\r\n @if (allowGoogle()) {\r\n <div class=\"button\">\r\n <button mat-flat-button (click)=\"loginGoogle()\" style=\"width: 100%;\"\r\n aria-label=\"Effettua accesso\" [disabled]=\"!oauthGoogleReady()\">\r\n Accedi con Google</button>\r\n </div>\r\n }\r\n</div>\r\n","import { ChangeDetectionStrategy, Component, input } from '@angular/core';\nimport { broadcastResponseToMainFrame } from '@azure/msal-browser/redirect-bridge';\nimport { FlexLayoutModule } from '@arsedizioni/ars-utils/ui';\nimport { MatProgressBarModule } from '@angular/material/progress-bar';\n\n\n@Component({\n selector: 'app-login-oauth-ok-ms',\n styleUrls: ['./login-oauth-ok-ms.component.scss'],\n templateUrl: './login-oauth-ok-ms.component.html',\n changeDetection: ChangeDetectionStrategy.OnPush,\n imports: [FlexLayoutModule, MatProgressBarModule]\n})\nexport class LoginOAuthOkMSComponent {\n\n /** Message displayed while the popup is completing authentication. */\n readonly message = input<string>('Accesso in corso...');\n\n constructor() {\n // MSAL v5 popup flow: parse the auth response from the URL and send\n // it back to the opener window via BroadcastChannel, then close the popup.\n // The promise can reject (e.g. COOP misconfiguration); log instead of\n // leaving an unhandled rejection that silently strands the popup.\n broadcastResponseToMainFrame().catch((error: unknown) => {\n console.error('Errore durante la comunicazione della risposta di autenticazione:', error);\n });\n }\n}\n","<div fxLayout=\"column\" fxLayoutAlign=\"center center\" fxFill>\r\n <div class=\"login-auto fade-in\">\r\n <div class=\"message\">\r\n Autenticazione in corso...\r\n </div>\r\n <mat-progress-bar mode=\"indeterminate\" ></mat-progress-bar>\r\n </div>\r\n</div>\r\n","/*\r\n * Public API Surface of scm-utils\r\n */\r\nexport * from './ui/definitions';\r\nexport * from './ui/components/index';\r\n\r\n\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":[],"mappings":";;;;;;;;;;;;;;;IAAY;AAAZ,CAAA,UAAY,cAAc,EAAA;AACxB,IAAA,cAAA,CAAA,cAAA,CAAA,MAAA,CAAA,GAAA,CAAA,CAAA,GAAA,MAAQ;AACR,IAAA,cAAA,CAAA,cAAA,CAAA,WAAA,CAAA,GAAA,CAAA,CAAA,GAAA,WAAa;AACb,IAAA,cAAA,CAAA,cAAA,CAAA,QAAA,CAAA,GAAA,CAAA,CAAA,GAAA,QAAU;AACZ,CAAC,EAJW,cAAc,KAAd,cAAc,GAAA,EAAA,CAAA,CAAA;;ACU1B;AACA,MAAM,oBAAoB,GAAG,sCAAsC;AACnE,MAAM,aAAa,GAAG,CAAA,MAAA,EAAS,oBAAoB,sBAAsB;AAEnE,SAAU,mBAAmB,CAAC,WAA+B,EAAA;IACjE,OAAO,IAAI,uBAAuB,CAAC;AACjC,QAAA,IAAI,EAAE;AACJ,YAAA,QAAQ,EAAG,WAAmB,CAAC,YAAY,IAAI,oBAAoB;AACnE,YAAA,SAAS,EAAG,WAAmB,CAAC,aAAa,IAAI,0CAA0C;YAC3F,WAAW,EAAE,WAAW,CAAC,mBAAmB;AAC7C,SAAA;AACD,QAAA,KAAK,EAAE;YACL,aAAa,EAAE,oBAAoB,CAAC;AACrC;AACF,KAAA,CAAC;AACJ;AAEM,SAAU,4BAA4B,CAAC,WAA+B,EAAA;IAE1E,OAAO;QACL,eAAe,EAAE,eAAe,CAAC,KAAK;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AAA,CAAA,CAAA;;2FAEvC,uBAAuB,EAAA,UAAA,EAAA,CAAA;kBAPnC,SAAS;+BACI,uBAAuB,EAAA,eAAA,EAGhB,uBAAuB,CAAC,MAAM,WACtC,CAAC,gBAAgB,EAAE,oBAAoB,CAAC,EAAA,QAAA,EAAA,0RAAA,EAAA,MAAA,EAAA,CAAA,+KAAA,CAAA,EAAA;;;AEXrD;;AAEG;;ACFH;;AAEG;;;;"}
1
+ {"version":3,"file":"arsedizioni-ars-utils-ui.oauth.mjs","sources":["../../../projects/ars-utils/ui.oauth/ui/components/login/login-oauth.component.ts","../../../projects/ars-utils/ui.oauth/ui/components/login/login-oauth.component.html","../../../projects/ars-utils/ui.oauth/ui/components/login-ok/ms/login-oauth-ok-ms.component.ts","../../../projects/ars-utils/ui.oauth/ui/components/login-ok/ms/login-oauth-ok-ms.component.html","../../../projects/ars-utils/ui.oauth/public_api.ts","../../../projects/ars-utils/ui.oauth/arsedizioni-ars-utils-ui.oauth.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component, DestroyRef, NgZone, afterNextRender, inject, input, output, signal } from '@angular/core';\nimport { takeUntilDestroyed } from '@angular/core/rxjs-interop';\nimport { MatButtonModule } from '@angular/material/button';\nimport { EnvironmentService, LoginOAuthResult, LoginOAuthType } from '@arsedizioni/ars-utils/core';\nimport { DialogService } from '@arsedizioni/ars-utils/ui';\nimport { MSAL_GUARD_CONFIG, MSAL_INSTANCE, MSAL_INTERCEPTOR_CONFIG, MsalBroadcastService, MsalGuardConfiguration, MsalInterceptorConfiguration, MsalService } from '@azure/msal-angular';\nimport { AuthenticationResult, BrowserCacheLocation, EventMessage, EventType, IPublicClientApplication, InteractionType, PublicClientApplication } from '@azure/msal-browser';\nimport { filter } from 'rxjs';\n\n/** Default Azure app registration — overridable via EnvironmentService. */\nconst DEFAULT_MS_CLIENT_ID = '6b2c080f-6ab0-4511-a9df-0bce69db5833';\nconst MS_AUTH_SCOPE = `api://${DEFAULT_MS_CLIENT_ID}/AngularSPAAuthScope`;\n\nexport function MSALInstanceFactory(environment: EnvironmentService): IPublicClientApplication {\n return new PublicClientApplication({\n auth: {\n clientId: (environment as any).msalClientId ?? DEFAULT_MS_CLIENT_ID,\n authority: (environment as any).msalAuthority ?? 'https://login.microsoftonline.com/common',\n redirectUri: environment.appLoginRedirectUri,\n },\n cache: {\n cacheLocation: BrowserCacheLocation.LocalStorage\n }\n });\n}\n\nexport function MSALInterceptorConfigFactory(environment: EnvironmentService): MsalInterceptorConfiguration {\n\n return {\n interactionType: InteractionType.Popup,\n protectedResourceMap: new Map([\n [environment.appServiceLoginUri, [MS_AUTH_SCOPE]],\n [\"https://graph.microsoft.com/v2.0/me\", [\"user.read\"]],\n ])\n };\n}\n\nexport function MSALGuardConfigFactory(): MsalGuardConfiguration {\n return {\n interactionType: InteractionType.Popup,\n authRequest: {\n scopes: [\"user.read\"]\n }\n };\n}\n\n@Component({\n selector: 'login-oauth',\n templateUrl: './login-oauth.component.html',\n styleUrls: ['./login-oauth.component.scss'],\n standalone: true,\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: [\n {\n provide: MSAL_INSTANCE,\n deps: [EnvironmentService],\n useFactory: MSALInstanceFactory\n },\n {\n provide: MSAL_GUARD_CONFIG,\n useFactory: MSALGuardConfigFactory\n },\n {\n provide: MSAL_INTERCEPTOR_CONFIG,\n deps: [EnvironmentService],\n useFactory: MSALInterceptorConfigFactory\n },\n MsalService,\n MsalBroadcastService],\n imports: [\n MatButtonModule\n ]\n})\nexport class LoginOAuthComponent {\n private readonly destroyRef = inject(DestroyRef);\n private readonly msalBroadcastService = inject(MsalBroadcastService);\n private readonly msaLService = inject(MsalService);\n private readonly dialogService = inject(DialogService);\n private readonly ngZone = inject(NgZone);\n /** Emitted when OAuth authentication succeeds. */\n readonly success = output<LoginOAuthResult>();\n /** Whether to show the introductory info panel. */\n readonly showInfo = input<boolean>(true);\n /** Application name displayed in the info panel. */\n readonly applicationName = input<string>();\n /** Whether to trigger `initialize()` automatically on mount. */\n readonly autoInitialize = input<boolean>(false);\n /** Whether the Microsoft login button is shown. */\n readonly allowMicrosoft = input<boolean>(true);\n /** Whether the Google login button is shown. */\n readonly allowGoogle = input<boolean>(true);\n /** Google OAuth client id. Override per deployment. */\n readonly googleClientId = input<string>('71204983077-ag31h3bgt2udcbfr9nn84r9rni2k3snp.apps.googleusercontent.com');\n /** MSAL access-token scope requested after login. */\n readonly msalScope = input<string>(MS_AUTH_SCOPE);\n protected readonly oauthReady = signal<boolean>(false);\n protected readonly oauthMicrosoftReady = signal<boolean>(false);\n protected readonly oauthGoogleReady = signal<boolean>(false);\n /** Hidden GSI button proxy, created once the Google library is ready. */\n private googleButtonWrapper?: { click: () => void };\n\n constructor() {\n\n this.msalBroadcastService.msalSubject$\n .pipe(\n filter((msg: EventMessage) =>\n msg.eventType === EventType.LOGOUT_FAILURE ||\n msg.eventType === EventType.ACQUIRE_TOKEN_FAILURE),\n takeUntilDestroyed(this.destroyRef),\n )\n .subscribe((r: EventMessage) => {\n if (r?.payload) {\n const error = r.payload as any;\n this.dialogService.error(error?.message ?? 'Errore di autenticazione Microsoft');\n }\n });\n\n afterNextRender(() => {\n if (this.autoInitialize()) {\n this.initialize();\n }\n });\n\n }\n\n /**\n * Initialize OAuth providers (Microsoft MSAL and Google GSI).\n * Safe to call multiple times — already-initialized providers are skipped.\n * Must be public so the host component can trigger it manually when `autoInitialize` is false.\n */\n initialize() {\n this.oauthReady.set(true);\n\n // Initialize the Microsoft stack only when allowed and not already done.\n if (this.allowMicrosoft() && !this.oauthMicrosoftReady()) {\n this.msaLService.initialize()\n .pipe(takeUntilDestroyed(this.destroyRef))\n .subscribe({\n next: () => this.oauthMicrosoftReady.set(true),\n error: (error: any) =>\n this.dialogService.error(error?.message ?? 'Errore di inizializzazione Microsoft'),\n });\n }\n\n // Load the Google GSI script only when allowed and not already done.\n if (this.allowGoogle() && !this.oauthGoogleReady()) {\n // @ts-ignore — define the callback BEFORE the script loads so GSI can find it\n window.onGoogleLibraryLoad = () => {\n // @ts-ignore\n google.accounts.id.initialize({\n client_id: this.googleClientId(),\n cancel_on_tap_outside: true,\n auto_select: false,\n callback: (r: any) => {\n this.ngZone.run(() => {\n this.success.emit({ type: LoginOAuthType.Google, token: r.credential });\n });\n }\n });\n\n this.googleButtonWrapper = createFakeGoogleWrapper();\n this.ngZone.run(() => this.oauthGoogleReady.set(true));\n };\n\n // Reuse the script tag if a previous instance already added it.\n const existing = document.querySelector<HTMLScriptElement>('script[data-gsi=\"ars\"]');\n if (existing) {\n // @ts-ignore — library already present: run the callback directly\n if (window.google?.accounts?.id) window.onGoogleLibraryLoad();\n } else {\n const script = document.createElement('script');\n script.src = 'https://accounts.google.com/gsi/client';\n script.async = true;\n script.defer = true;\n script.dataset['gsi'] = 'ars';\n script.onerror = () => this.ngZone.run(() =>\n this.dialogService.error('Impossibile caricare il servizio di accesso Google.'));\n // Append and LEAVE it in the DOM so the browser actually fetches it.\n document.body.appendChild(script);\n }\n }\n }\n\n /**\n * Trigger a Microsoft (MSAL) login popup and acquire an access token on success.\n */\n protected loginMSAL() {\n // Clear any in-progress interaction flag that may have been left by a previous incomplete popup\n sessionStorage.removeItem('msal.interaction.status');\n\n this.msaLService.loginPopup()\n .pipe(takeUntilDestroyed(this.destroyRef))\n .subscribe({\n next: (r: AuthenticationResult) => {\n try {\n this.msaLService.instance.setActiveAccount(r.account);\n this.msaLService.acquireTokenSilent({\n scopes: [this.msalScope()],\n account: r.account\n }).pipe(takeUntilDestroyed(this.destroyRef)).subscribe({\n next: (tokenResult: AuthenticationResult) => {\n this.success.emit({ type: LoginOAuthType.Microsoft, token: tokenResult.accessToken });\n },\n error: (error: any) => {\n this.dialogService.error(error.message);\n }\n });\n } catch (error: any) {\n this.dialogService.error(error.message);\n }\n },\n error: (error: any) => {\n this.dialogService.error(error.message);\n }\n });\n }\n\n /**\n * Trigger the hidden Google GSI button to open the Google sign-in flow.\n */\n protected loginGoogle() {\n // Use the wrapper click to avoid an \"Illegal invocation\" exception.\n // Guard: the button only exists once the GSI library has loaded.\n if (!this.googleButtonWrapper) {\n this.dialogService.error('Il servizio di accesso Google non è ancora pronto.');\n return;\n }\n this.googleButtonWrapper.click();\n }\n}\n\nconst createFakeGoogleWrapper = (): { click: () => void } => {\n const googleLoginWrapper = document.createElement(\"div\");\n googleLoginWrapper.style.display = \"none\";\n googleLoginWrapper.classList.add(\"custom-google-button\");\n document.body.appendChild(googleLoginWrapper);\n\n // Render the (invisible) GSI button inside our wrapper.\n // @ts-ignore\n window.google.accounts.id.renderButton(googleLoginWrapper, {\n type: \"icon\",\n width: \"200\",\n });\n\n const googleLoginWrapperButton =\n googleLoginWrapper.querySelector<HTMLElement>(\"div[role=button]\");\n\n return {\n click: () => googleLoginWrapperButton?.click(),\n };\n};\n\n","<div class=\"login-oauth\">\r\n @if(showInfo()) {\r\n <div class=\"message\">\r\n <p>Questa sezione consente di accedere al servizio utilizzando un provider OAuth2.</p>\r\n @if(applicationName()) {\r\n <p>La email utilizzata deve essere collegata ad un utente valido di {{applicationName()}} e dei servizi ad esso\r\n connessi.</p>\r\n }\r\n </div>\r\n }\r\n @if (allowMicrosoft()) {\r\n <div class=\"button\">\r\n <button mat-flat-button (click)=\"loginMSAL()\" aria-label=\"Effettua accesso\"\r\n [disabled]=\"!oauthMicrosoftReady()\" style=\"width: 100%;\">\r\n Accedi con Microsoft</button>\r\n </div>\r\n }\r\n @if (allowGoogle()) {\r\n <div class=\"button\">\r\n <button mat-flat-button (click)=\"loginGoogle()\" style=\"width: 100%;\"\r\n aria-label=\"Effettua accesso\" [disabled]=\"!oauthGoogleReady()\">\r\n Accedi con Google</button>\r\n </div>\r\n }\r\n</div>\r\n","import { ChangeDetectionStrategy, Component, input } from '@angular/core';\nimport { broadcastResponseToMainFrame } from '@azure/msal-browser/redirect-bridge';\nimport { FlexLayoutModule } from '@arsedizioni/ars-utils/ui';\nimport { MatProgressBarModule } from '@angular/material/progress-bar';\n\n\n@Component({\n selector: 'app-login-oauth-ok-ms',\n styleUrls: ['./login-oauth-ok-ms.component.scss'],\n templateUrl: './login-oauth-ok-ms.component.html',\n changeDetection: ChangeDetectionStrategy.OnPush,\n imports: [FlexLayoutModule, MatProgressBarModule]\n})\nexport class LoginOAuthOkMSComponent {\n\n /** Message displayed while the popup is completing authentication. */\n readonly message = input<string>('Accesso in corso...');\n\n constructor() {\n // MSAL v5 popup flow: parse the auth response from the URL and send\n // it back to the opener window via BroadcastChannel, then close the popup.\n // The promise can reject (e.g. COOP misconfiguration); log instead of\n // leaving an unhandled rejection that silently strands the popup.\n broadcastResponseToMainFrame().catch((error: unknown) => {\n console.error('Errore durante la comunicazione della risposta di autenticazione:', error);\n });\n }\n}\n","<div fxLayout=\"column\" fxLayoutAlign=\"center center\" fxFill>\r\n <div class=\"login-auto fade-in\">\r\n <div class=\"message\">\r\n Autenticazione in corso...\r\n </div>\r\n <mat-progress-bar mode=\"indeterminate\" ></mat-progress-bar>\r\n </div>\r\n</div>\r\n","/*\r\n * Public API Surface of scm-utils\r\n */\r\nexport * from './ui/components/index';\r\n\r\n\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":[],"mappings":";;;;;;;;;;;;;;;AASA;AACA,MAAM,oBAAoB,GAAG,sCAAsC;AACnE,MAAM,aAAa,GAAG,CAAA,MAAA,EAAS,oBAAoB,sBAAsB;AAEnE,SAAU,mBAAmB,CAAC,WAA+B,EAAA;IACjE,OAAO,IAAI,uBAAuB,CAAC;AACjC,QAAA,IAAI,EAAE;AACJ,YAAA,QAAQ,EAAG,WAAmB,CAAC,YAAY,IAAI,oBAAoB;AACnE,YAAA,SAAS,EAAG,WAAmB,CAAC,aAAa,IAAI,0CAA0C;YAC3F,WAAW,EAAE,WAAW,CAAC,mBAAmB;AAC7C,SAAA;AACD,QAAA,KAAK,EAAE;YACL,aAAa,EAAE,oBAAoB,CAAC;AACrC;AACF,KAAA,CAAC;AACJ;AAEM,SAAU,4BAA4B,CAAC,WAA+B,EA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,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA,CAAA;;2FAEvC,uBAAuB,EAAA,UAAA,EAAA,CAAA;kBAPnC,SAAS;+BACI,uBAAuB,EAAA,eAAA,EAGhB,uBAAuB,CAAC,MAAM,WACtC,CAAC,gBAAgB,EAAE,oBAAoB,CAAC,EAAA,QAAA,EAAA,0RAAA,EAAA,MAAA,EAAA,CAAA,+KAAA,CAAA,EAAA;;;AEXrD;;AAEG;;ACFH;;AAEG;;;;"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@arsedizioni/ars-utils",
3
- "version": "22.1.1",
3
+ "version": "22.1.3",
4
4
  "author": {
5
5
  "email": "software@arsedizioni.it",
6
6
  "name": "Fabio Buscaroli, Alberto Doria"
@@ -1,8 +1,7 @@
1
1
  import * as i0 from '@angular/core';
2
2
  import { Signal, WritableSignal } from '@angular/core';
3
- import { NameValueItem, Folder, QueryModel, QueryResultModel, LoginResult, ApiResult, UpdateResultModel, FolderTree } from '@arsedizioni/ars-utils/core';
3
+ import { NameValueItem, Folder, QueryModel, QueryResultModel, LoginOAuthType, LoginResult, ApiResult, UpdateResultModel, FolderTree } from '@arsedizioni/ars-utils/core';
4
4
  import { SendToDialogResult } from '@arsedizioni/ars-utils/ui.application';
5
- import { LoginOAuthType } from '@arsedizioni/ars-utils/ui.oauth';
6
5
  import * as _angular_common_http from '@angular/common/http';
7
6
  import { HttpInterceptorFn } from '@angular/common/http';
8
7
  import * as rxjs from 'rxjs';
@@ -1049,7 +1049,7 @@ declare class ClipperDocumentMenuComponent {
1049
1049
  private readonly renderer2;
1050
1050
  private readonly clipperService;
1051
1051
  readonly useSelections: _angular_core.InputSignal<boolean>;
1052
- readonly selectionSource: _angular_core.InputSignal<"selection" | "bag" | "none">;
1052
+ readonly selectionSource: _angular_core.InputSignal<"none" | "selection" | "bag">;
1053
1053
  /**
1054
1054
  * Computed signal that returns the current effective document selection.
1055
1055
  * Re-evaluates when any input signal or the underlying selection model changes.
@@ -413,6 +413,15 @@ declare class UpdateRelationsModel<T = number> {
413
413
  id: T;
414
414
  relatedIds: T[];
415
415
  }
416
+ declare enum LoginOAuthType {
417
+ None = 0,
418
+ Microsoft = 1,
419
+ Google = 2
420
+ }
421
+ interface LoginOAuthResult {
422
+ type: LoginOAuthType;
423
+ token: string;
424
+ }
416
425
  declare class QueryModel {
417
426
  any?: string;
418
427
  sortBy?: string;
@@ -1885,5 +1894,5 @@ declare class ThemeService implements OnDestroy {
1885
1894
  static ɵprov: i0.ɵɵInjectableDeclaration<ThemeService>;
1886
1895
  }
1887
1896
 
1888
- export { ARS_TIME_ZONE, ArsLocalDateInterceptor, AutoFocusDirective, BroadcastChannelManager, BroadcastService, CHANNEL_NAME, CopyClipboardDirective, DEFAULT_TIME_ZONE, DateFnsAdapter, DateFormat, DateInterval, DateIntervalChangeDirective, DeleteModel, EmailsValidatorDirective, EnvironmentService, EqualsValidatorDirective, FileInfo, FileSizeValidatorDirective, FormatHtmlPipe, FormatMarkdownPipe, FormatPipe, GroupModel, GuidValidatorDirective, IDModel, ImportModel, MAT_DATE_FNS_FORMATS, MaxTermsValidatorDirective, NotEmptyValidatorDirective, NotEqualValidatorDirective, NotFutureValidatorDirective, PasswordValidatorDirective, QueryModel, RelationModel, RemoveFocusDirective, ReplacePipe, SafeHtmlPipe, SafeUrlPipe, ScreenService, SearchCallbackPipe, SearchFilterPipe, SelectableModel, SplashService, SqlDateValidatorDirective, SystemUtils, ThemeService, TimeValidatorDirective, UpdateRelationsModel, UrlValidatorDirective, UtilsMessages, ValidIfDirective, ValidatorDirective, ValueModel, arsLocalDateInterceptor, provideArsDateFns, provideArsLocalDates, toLocalDateOnlyString, toLocalDateTimeString };
1889
- export type { AddModel, AddResultModel, ApiResponse, ApiResult, BroadcastChannelMessageBag, BroadcastChannelSubscriberInfo, BroadcastMessageInfo, BroadcastMessageToastData, Checkable, DeleteResultModel, DoneResult, EnableDisableModel, ErrorInfo, File, Folder, FolderTree, INode, KeyOf, LoginResult, NameValueItem, PasswordStrength, QueryResultModel, SearchBag, SearchFilterMetadata, Searchable, SendToModel, ThemeType, UpdateModel, UpdateResultModel, Validated };
1897
+ export { ARS_TIME_ZONE, ArsLocalDateInterceptor, AutoFocusDirective, BroadcastChannelManager, BroadcastService, CHANNEL_NAME, CopyClipboardDirective, DEFAULT_TIME_ZONE, DateFnsAdapter, DateFormat, DateInterval, DateIntervalChangeDirective, DeleteModel, EmailsValidatorDirective, EnvironmentService, EqualsValidatorDirective, FileInfo, FileSizeValidatorDirective, FormatHtmlPipe, FormatMarkdownPipe, FormatPipe, GroupModel, GuidValidatorDirective, IDModel, ImportModel, LoginOAuthType, MAT_DATE_FNS_FORMATS, MaxTermsValidatorDirective, NotEmptyValidatorDirective, NotEqualValidatorDirective, NotFutureValidatorDirective, PasswordValidatorDirective, QueryModel, RelationModel, RemoveFocusDirective, ReplacePipe, SafeHtmlPipe, SafeUrlPipe, ScreenService, SearchCallbackPipe, SearchFilterPipe, SelectableModel, SplashService, SqlDateValidatorDirective, SystemUtils, ThemeService, TimeValidatorDirective, UpdateRelationsModel, UrlValidatorDirective, UtilsMessages, ValidIfDirective, ValidatorDirective, ValueModel, arsLocalDateInterceptor, provideArsDateFns, provideArsLocalDates, toLocalDateOnlyString, toLocalDateTimeString };
1898
+ export type { AddModel, AddResultModel, ApiResponse, ApiResult, BroadcastChannelMessageBag, BroadcastChannelSubscriberInfo, BroadcastMessageInfo, BroadcastMessageToastData, Checkable, DeleteResultModel, DoneResult, EnableDisableModel, ErrorInfo, File, Folder, FolderTree, INode, KeyOf, LoginOAuthResult, LoginResult, NameValueItem, PasswordStrength, QueryResultModel, SearchBag, SearchFilterMetadata, Searchable, SendToModel, ThemeType, UpdateModel, UpdateResultModel, Validated };
@@ -0,0 +1 @@
1
+ {"version":3,"file":"arsedizioni-ars-utils-core.d.ts","sources":["../../../projects/ars-utils/core/dateFnsAdapter.module.ts","../../../projects/ars-utils/core/dateInterceptor.ts","../../../projects/ars-utils/core/directives/autoFocusDirective.ts","../../../projects/ars-utils/core/definitions.ts","../../../projects/ars-utils/core/directives/changeDateIntervalDirective.ts","../../../projects/ars-utils/core/directives/copyClipboardDirective.ts","../../../projects/ars-utils/core/directives/emailsValidatorDirective.ts","../../../projects/ars-utils/core/directives/equalsValidatorDirective.ts","../../../projects/ars-utils/core/directives/fileSizeValidatorDirective.ts","../../../projects/ars-utils/core/directives/guidValidatorDirective.ts","../../../projects/ars-utils/core/directives/maxTermsValidatorDirective.ts","../../../projects/ars-utils/core/directives/notEmptyValidatorDirective.ts","../../../projects/ars-utils/core/directives/notEqualValidatorDirective.ts","../../../projects/ars-utils/core/directives/notFutureValidatorDirective.ts","../../../projects/ars-utils/core/directives/passwordValidatorDirective.ts","../../../projects/ars-utils/core/directives/removeFocusDirective.ts","../../../projects/ars-utils/core/directives/sqlDateValidatorDirective.ts","../../../projects/ars-utils/core/directives/timeValidatorDirective.ts","../../../projects/ars-utils/core/directives/urlValidatorDirective.ts","../../../projects/ars-utils/core/directives/validIfDirective.ts","../../../projects/ars-utils/core/directives/validatorDirective.ts","../../../projects/ars-utils/core/pipes/format-html.pipe.ts","../../../projects/ars-utils/core/pipes/format-markdown.pipe.ts","../../../projects/ars-utils/core/pipes/format.pipe.ts","../../../projects/ars-utils/core/pipes/replace.pipe.ts","../../../projects/ars-utils/core/pipes/safe-html.pipe.ts","../../../projects/ars-utils/core/pipes/safe-url.pipe.ts","../../../projects/ars-utils/core/pipes/search-callback.pipe.ts","../../../projects/ars-utils/core/pipes/search-filter.pipe.ts","../../../projects/ars-utils/core/system.ts","../../../projects/ars-utils/core/messages.ts","../../../projects/ars-utils/core/selectable.ts","../../../projects/ars-utils/core/services/broadcastChannelManager.ts","../../../projects/ars-utils/core/services/broadcast.service.ts","../../../projects/ars-utils/core/services/environment.service.ts","../../../projects/ars-utils/core/services/screen.service.ts","../../../projects/ars-utils/core/services/splash.service.ts","../../../projects/ars-utils/core/services/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FolderTree } from '@arsedizioni/ars-utils/core';
2
- import { LoginOAuthType } from '@arsedizioni/ars-utils/ui.oauth';
1
+ import { QueryModel, SendToModel, LoginOAuthType, LoginResult, ApiResult, FolderTree } from '@arsedizioni/ars-utils/core';
3
2
  import { HttpInterceptorFn } from '@angular/common/http';
4
3
  import * as rxjs from 'rxjs';
5
4
  import * as i0 from '@angular/core';
@@ -1,5 +1,4 @@
1
- import { LoginResult, ApiResult } from '@arsedizioni/ars-utils/core';
2
- import { LoginOAuthType } from '@arsedizioni/ars-utils/ui.oauth';
1
+ import { LoginOAuthType, LoginResult, ApiResult } from '@arsedizioni/ars-utils/core';
3
2
  import * as rxjs from 'rxjs';
4
3
  import * as i0 from '@angular/core';
5
4
  import { Signal } from '@angular/core';
@@ -1005,7 +1005,7 @@ declare class ChipsSelectorComponent implements OnDestroy, ControlValueAccessor
1005
1005
  /** Minimum width in pixels when collapsed. Use `-1` for automatic. */
1006
1006
  readonly collapsedWidth: _angular_core.InputSignal<number>;
1007
1007
  /** Display mode used when the selector is in collapsed state. */
1008
- readonly collapsedDisplayMode: _angular_core.InputSignal<"dropdown" | "button">;
1008
+ readonly collapsedDisplayMode: _angular_core.InputSignal<"button" | "dropdown">;
1009
1009
  /** Pixel threshold below which the selector collapses. Use `-1` to disable. */
1010
1010
  readonly collapseAt: _angular_core.InputSignal<number>;
1011
1011
  /** When `true`, `collapseAt` is compared against the container width rather than the window width. */
@@ -1018,7 +1018,7 @@ declare class ChipsSelectorComponent implements OnDestroy, ControlValueAccessor
1018
1018
  /** When `true`, at least one item must remain selected. */
1019
1019
  readonly mustSelect: _angular_core.InputSignal<boolean>;
1020
1020
  /** Layout mode: `'collapsed'` forces dropdown mode, `'dynamic'` collapses based on `collapseAt`. */
1021
- readonly mode: _angular_core.InputSignal<"collapsed" | "dynamic">;
1021
+ readonly mode: _angular_core.InputSignal<"dynamic" | "collapsed">;
1022
1022
  /** When `true`, chips are stacked vertically instead of wrapping horizontally. */
1023
1023
  readonly stacked: _angular_core.InputSignal<boolean>;
1024
1024
  /** Chips below this index receive extra padding to align with other UI elements. */