@arsedizioni/ars-utils 21.2.1 → 21.2.102

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 (31) hide show
  1. package/fesm2022/arsedizioni-ars-utils-clipper.ui.mjs +780 -799
  2. package/fesm2022/arsedizioni-ars-utils-clipper.ui.mjs.map +1 -1
  3. package/fesm2022/arsedizioni-ars-utils-core.mjs +63 -98
  4. package/fesm2022/arsedizioni-ars-utils-core.mjs.map +1 -1
  5. package/fesm2022/arsedizioni-ars-utils-support.ui.mjs +6 -9
  6. package/fesm2022/arsedizioni-ars-utils-support.ui.mjs.map +1 -1
  7. package/fesm2022/arsedizioni-ars-utils-ui.application.mjs +49 -97
  8. package/fesm2022/arsedizioni-ars-utils-ui.application.mjs.map +1 -1
  9. package/fesm2022/arsedizioni-ars-utils-ui.mjs +160 -256
  10. package/fesm2022/arsedizioni-ars-utils-ui.mjs.map +1 -1
  11. package/fesm2022/arsedizioni-ars-utils-ui.oauth.mjs +6 -9
  12. package/fesm2022/arsedizioni-ars-utils-ui.oauth.mjs.map +1 -1
  13. package/package.json +1 -1
  14. package/types/arsedizioni-ars-utils-clipper.common.d.ts.map +1 -0
  15. package/types/arsedizioni-ars-utils-clipper.ui.d.ts +15 -20
  16. package/types/arsedizioni-ars-utils-clipper.ui.d.ts.map +1 -0
  17. package/types/arsedizioni-ars-utils-core.d.ts +37 -49
  18. package/types/arsedizioni-ars-utils-core.d.ts.map +1 -0
  19. package/types/arsedizioni-ars-utils-evolution.common.d.ts.map +1 -0
  20. package/types/arsedizioni-ars-utils-help.d.ts.map +1 -0
  21. package/types/arsedizioni-ars-utils-support.common.d.ts.map +1 -0
  22. package/types/arsedizioni-ars-utils-support.ui.d.ts +3 -4
  23. package/types/arsedizioni-ars-utils-support.ui.d.ts.map +1 -0
  24. package/types/arsedizioni-ars-utils-tinymce.d.ts.map +1 -0
  25. package/types/arsedizioni-ars-utils-ui.application.d.ts +50 -73
  26. package/types/arsedizioni-ars-utils-ui.application.d.ts.map +1 -0
  27. package/types/arsedizioni-ars-utils-ui.d.ts +76 -104
  28. package/types/arsedizioni-ars-utils-ui.d.ts.map +1 -0
  29. package/types/arsedizioni-ars-utils-ui.oauth.d.ts +3 -4
  30. package/types/arsedizioni-ars-utils-ui.oauth.d.ts.map +1 -0
  31. package/types/arsedizioni-ars-utils.d.ts.map +1 -0
@@ -1,12 +1,13 @@
1
1
  import * as i0 from '@angular/core';
2
- import { NgModule, inject, NgZone, output, input, signal, ChangeDetectionStrategy, Component } from '@angular/core';
2
+ import { NgModule, inject, DestroyRef, NgZone, output, input, signal, ChangeDetectionStrategy, Component } from '@angular/core';
3
+ import { takeUntilDestroyed } from '@angular/core/rxjs-interop';
3
4
  import * as i1 from '@angular/material/button';
4
5
  import { MatButtonModule } from '@angular/material/button';
5
6
  import { EnvironmentService } from '@arsedizioni/ars-utils/core';
6
7
  import { DialogService } from '@arsedizioni/ars-utils/ui';
7
8
  import { MsalBroadcastService, MsalService, MSAL_INSTANCE, MSAL_GUARD_CONFIG, MSAL_INTERCEPTOR_CONFIG } from '@azure/msal-angular';
8
9
  import { PublicClientApplication, BrowserCacheLocation, InteractionType, EventType } from '@azure/msal-browser';
9
- import { Subject, filter, takeUntil, catchError, throwError } from 'rxjs';
10
+ import { filter, catchError, throwError } from 'rxjs';
10
11
 
11
12
  var LoginOAuthType;
12
13
  (function (LoginOAuthType) {
@@ -56,7 +57,7 @@ function MSALGuardConfigFactory() {
56
57
  }
57
58
  class LoginOAuthComponent {
58
59
  constructor() {
59
- this.unsubscribe = new Subject();
60
+ this.destroyRef = inject(DestroyRef);
60
61
  this.msalBroadcastService = inject(MsalBroadcastService);
61
62
  this.msaLService = inject(MsalService);
62
63
  this.dialogService = inject(DialogService);
@@ -77,7 +78,7 @@ class LoginOAuthComponent {
77
78
  }
78
79
  this.msalBroadcastService.msalSubject$
79
80
  .pipe(filter((msg) => msg.eventType === EventType.ACQUIRE_TOKEN_SUCCESS ||
80
- msg.eventType === EventType.LOGOUT_SUCCESS), takeUntil(this.unsubscribe), catchError(error => {
81
+ msg.eventType === EventType.LOGOUT_SUCCESS), takeUntilDestroyed(this.destroyRef), catchError(error => {
81
82
  this.dialogService.error(error);
82
83
  return throwError(() => error);
83
84
  }))
@@ -89,10 +90,6 @@ class LoginOAuthComponent {
89
90
  }
90
91
  });
91
92
  }
92
- ngOnDestroy() {
93
- this.unsubscribe.next();
94
- this.unsubscribe.complete();
95
- }
96
93
  /**
97
94
  * Initialize open authentication
98
95
  * Must be a public method
@@ -104,7 +101,7 @@ class LoginOAuthComponent {
104
101
  this.oauthReady.set(true);
105
102
  // Load MS stack
106
103
  this.msaLService.initialize()
107
- .pipe(takeUntil(this.unsubscribe))
104
+ .pipe(takeUntilDestroyed(this.destroyRef))
108
105
  .subscribe(() => {
109
106
  this.oauthMicrosoftReady.set(true);
110
107
  });
@@ -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/ui.module.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/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: number,\r\n token: string\r\n}","import { NgModule } from \"@angular/core\";\r\n\r\n// Material\r\n\r\n@NgModule()\r\nexport class ArsUIOAuthModule { }\r\n\r\nexport * from \"./definitions\";\r\n\r\n\r\n","import { ChangeDetectionStrategy, Component, NgZone, OnDestroy, OnInit, inject, input, output, signal } from '@angular/core';\r\nimport { MatButtonModule } from '@angular/material/button';\r\nimport { EnvironmentService } from '@arsedizioni/ars-utils/core';\r\nimport { DialogService } from '@arsedizioni/ars-utils/ui';\r\nimport { MSAL_GUARD_CONFIG, MSAL_INSTANCE, MSAL_INTERCEPTOR_CONFIG, MsalBroadcastService, MsalGuardConfiguration, MsalInterceptorConfiguration, MsalService } from '@azure/msal-angular';\r\nimport { AuthenticationResult, BrowserCacheLocation, EventMessage, EventType, IPublicClientApplication, InteractionType, PublicClientApplication } from '@azure/msal-browser';\r\nimport { Subject, catchError, filter, takeUntil, throwError } from 'rxjs';\r\nimport { LoginOAuthResult } from '../../definitions';\r\n\r\nexport function MSALInstanceFactory(environment: EnvironmentService): IPublicClientApplication {\r\n return new PublicClientApplication({\r\n auth: {\r\n clientId: \"6b2c080f-6ab0-4511-a9df-0bce69db5833\",\r\n authority: \"https://login.microsoftonline.com/common\",\r\n redirectUri: environment.appLoginRedirectUri, // This is your redir\r\n },\r\n cache: {\r\n cacheLocation: BrowserCacheLocation.LocalStorage\r\n }\r\n });\r\n}\r\n\r\nexport function MSALInterceptorConfigFactory(environment: EnvironmentService): MsalInterceptorConfiguration {\r\n\r\n return {\r\n interactionType: InteractionType.Popup,\r\n protectedResourceMap: new Map([\r\n [environment.appServiceLoginUri, [\"api://6b2c080f-6ab0-4511-a9df-0bce69db5833/AngularSPAAuthScope\"]],\r\n [\"https://graph.microsoft.com/v2.0/me\", [\"user.read\"]],\r\n ])\r\n };\r\n}\r\n\r\nexport function MSALGuardConfigFactory(): MsalGuardConfiguration {\r\n return {\r\n interactionType: InteractionType.Popup,\r\n authRequest: {\r\n scopes: [\"user.read\"]\r\n }\r\n };\r\n}\r\n\r\n@Component({\r\n selector: 'login-oauth',\r\n templateUrl: './login-oauth.component.html',\r\n styleUrls: ['./login-oauth.component.scss'],\r\n standalone: true,\r\n changeDetection: ChangeDetectionStrategy.OnPush,\r\n providers: [\r\n {\r\n provide: MSAL_INSTANCE,\r\n deps: [EnvironmentService],\r\n useFactory: MSALInstanceFactory\r\n },\r\n {\r\n provide: MSAL_GUARD_CONFIG,\r\n useFactory: MSALGuardConfigFactory\r\n },\r\n {\r\n provide: MSAL_INTERCEPTOR_CONFIG,\r\n deps: [EnvironmentService],\r\n useFactory: MSALInterceptorConfigFactory\r\n },\r\n MsalService,\r\n MsalBroadcastService],\r\n imports: [\r\n MatButtonModule\r\n ]\r\n})\r\nexport class LoginOAuthComponent implements OnInit, OnDestroy {\r\n private unsubscribe: Subject<void> = new Subject<void>();\r\n private msalBroadcastService = inject(MsalBroadcastService);\r\n private msaLService = inject(MsalService);\r\n private dialogService = inject(DialogService);\r\n private ngZone = inject(NgZone);\r\n\r\n readonly success = output<LoginOAuthResult>();\r\n\r\n readonly showInfo = input<boolean>(true);\r\n readonly applicationName = input<string>();\r\n readonly autoInitialize = input<boolean>(false);\r\n readonly allowMicrosoft = input<boolean>(true);\r\n readonly allowGoogle = input<boolean>(true);\r\n\r\n\r\n protected oauthReady = signal<boolean>(false);\r\n protected oauthMicrosoftReady = signal<boolean>(false);\r\n protected oauthGoogleReady = signal<boolean>(false);\r\n\r\n\r\n ngOnInit() {\r\n if (this.autoInitialize()) {\r\n this.initialize();\r\n }\r\n this.msalBroadcastService.msalSubject$\r\n .pipe(\r\n filter((msg: EventMessage) =>\r\n msg.eventType === EventType.ACQUIRE_TOKEN_SUCCESS ||\r\n msg.eventType === EventType.LOGOUT_SUCCESS),\r\n takeUntil(this.unsubscribe),\r\n catchError(error => {\r\n this.dialogService.error(error);\r\n return throwError(() => error);\r\n })\r\n )\r\n .subscribe((r: EventMessage) => {\r\n if (r) {\r\n // Casting payload as AuthenticationResult to access account\r\n const payload = r.payload as AuthenticationResult;\r\n this.success.emit({ type: 1, token: payload.accessToken });\r\n }\r\n });\r\n\r\n }\r\n\r\n ngOnDestroy() {\r\n this.unsubscribe.next();\r\n this.unsubscribe.complete();\r\n }\r\n\r\n /**\r\n * Initialize open authentication \r\n * Must be a public method \r\n */\r\n initialize() {\r\n if (this.oauthReady()) {\r\n return; // Already done\r\n }\r\n this.oauthReady.set(true);\r\n\r\n // Load MS stack\r\n this.msaLService.initialize()\r\n .pipe(takeUntil(this.unsubscribe))\r\n .subscribe(() => {\r\n this.oauthMicrosoftReady.set(true);\r\n });\r\n\r\n // Load google maps script after view init\r\n const DSLScript = document.createElement('script');\r\n DSLScript.src = 'https://accounts.google.com/gsi/client';\r\n DSLScript.type = 'text/javascript';\r\n document.body.appendChild(DSLScript);\r\n document.body.removeChild(DSLScript);\r\n\r\n // @ts-ignore\r\n window.onGoogleLibraryLoad = () => {\r\n // initialize google account\r\n // @ts-ignore\r\n google.accounts.id.initialize({\r\n client_id: '71204983077-ag31h3bgt2udcbfr9nn84r9rni2k3snp.apps.googleusercontent.com',\r\n cancel_on_tap_outside: true,\r\n auto_select: false,\r\n callback: (r: any) => {\r\n this.ngZone.run(() => {\r\n this.success.emit({ type: 2, token: r.credential });\r\n });\r\n }\r\n });\r\n\r\n googleButtonWrapper = createFakeGoogleWrapper();\r\n\r\n this.oauthGoogleReady.set(true);\r\n };\r\n\r\n }\r\n\r\n /**\r\n * Perform login using MSAL\r\n */\r\n protected loginMSAL() {\r\n this.msaLService.loginPopup()\r\n .subscribe({\r\n next: (r: AuthenticationResult) => {\r\n try {\r\n this.msaLService.instance.setActiveAccount(r.account);\r\n this.msaLService.acquireTokenSilent({\r\n scopes: [\r\n \"api://6b2c080f-6ab0-4511-a9df-0bce69db5833/AngularSPAAuthScope\"\r\n ],\r\n account: r.account\r\n }).subscribe({\r\n error: (error: any) => {\r\n this.dialogService.error(error.message);\r\n }\r\n })\r\n } catch (error: any) {\r\n this.dialogService.error(error.message);\r\n }\r\n },\r\n error: (error: any) => {\r\n this.dialogService.error(error.message);\r\n }\r\n });\r\n }\r\n\r\n /**\r\n* Perform login using Google\r\n*/\r\n protected loginGoogle() {\r\n // Use wrapper click to prevent Illegal invocation exception\r\n googleButtonWrapper.click();\r\n }\r\n}\r\n\r\nconst createFakeGoogleWrapper = () => {\r\n const googleLoginWrapper = document.createElement(\"div\");\r\n // Or you can simple hide it in CSS rule for custom-google-button\r\n googleLoginWrapper.style.display = \"none\";\r\n googleLoginWrapper.classList.add(\"custom-google-button\");\r\n\r\n // Add the wrapper to body\r\n document.body.appendChild(googleLoginWrapper);\r\n\r\n // Use GSI javascript api to render the button inside our wrapper\r\n // You can ignore the properties because this button will not appear\r\n // @ts-ignore\r\n window.google.accounts.id.renderButton(googleLoginWrapper, {\r\n type: \"icon\",\r\n width: \"200\",\r\n });\r\n\r\n const googleLoginWrapperButton =\r\n googleLoginWrapper.querySelector(\"div[role=button]\");\r\n\r\n return {\r\n click: () => {\r\n // @ts-ignore\r\n googleLoginWrapperButton.click();\r\n },\r\n };\r\n};\r\nvar googleButtonWrapper: any;\r\n\r\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()\" [attr.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 [attr.aria-label]=\"'Effettua accesso'\" [disabled]=\"!oauthGoogleReady()\">\r\n Accedi con Google</button>\r\n </div>\r\n }\r\n</div>","/*\r\n * Public API Surface of ars-utils\r\n */\r\nexport * from './ui/ui.module';\r\nexport * from './ui/components/login/login-oauth.component';\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,C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A,UAAU,EAAE;AACb,yBAAA;AACD,wBAAA;AACE,4BAAA,OAAO,EAAE,uBAAuB;4BAChC,IAAI,EAAE,CAAC,kBAAkB,CAAC;AAC1B,4BAAA,UAAU,EAAE;AACb,yBAAA;wBACD,WAAW;wBACX;qBAAqB,EAAA,OAAA,EACd;wBACP;AACD,qBAAA,EAAA,QAAA,EAAA,o7BAAA,EAAA,MAAA,EAAA,CAAA,mJAAA,CAAA,EAAA;;AAyIH,MAAM,uBAAuB,GAAG,MAAK;IACnC,MAAM,kBAAkB,GAAG,QAAQ,CAAC,aAAa,CAAC,KAAK,CAAC;;AAExD,IAAA,kBAAkB,CAAC,KAAK,CAAC,OAAO,GAAG,MAAM;AACzC,IAAA,kBAAkB,CAAC,SAAS,CAAC,GAAG,CAAC,sBAAsB,CAAC;;AAGxD,IAAA,QAAQ,CAAC,IAAI,CAAC,WAAW,CAAC,kBAAkB,CAAC;;;;IAK7C,MAAM,CAAC,MAAM,CAAC,QAAQ,CAAC,EAAE,CAAC,YAAY,CAAC,kBAAkB,EAAE;AACzD,QAAA,IAAI,EAAE,MAAM;AACZ,QAAA,KAAK,EAAE,KAAK;AACb,KAAA,CAAC;IAEF,MAAM,wBAAwB,GAC5B,kBAAkB,CAAC,aAAa,CAAC,kBAAkB,CAAC;IAEtD,OAAO;QACL,KAAK,EAAE,MAAK;;YAEV,wBAAwB,CAAC,KAAK,EAAE;QAClC,CAAC;KACF;AACH,CAAC;AACD,IAAI,mBAAwB;;AEvO5B;;AAEG;;ACFH;;AAEG;;;;"}
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/ui.module.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/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: number,\r\n token: string\r\n}","import { NgModule } from \"@angular/core\";\r\n\r\n// Material\r\n\r\n@NgModule()\r\nexport class ArsUIOAuthModule { }\r\n\r\nexport * from \"./definitions\";\r\n\r\n\r\n","import { ChangeDetectionStrategy, Component, DestroyRef, NgZone, OnInit, inject, input, output, signal } from '@angular/core';\r\nimport { takeUntilDestroyed } from '@angular/core/rxjs-interop';\r\nimport { MatButtonModule } from '@angular/material/button';\r\nimport { EnvironmentService } from '@arsedizioni/ars-utils/core';\r\nimport { DialogService } from '@arsedizioni/ars-utils/ui';\r\nimport { MSAL_GUARD_CONFIG, MSAL_INSTANCE, MSAL_INTERCEPTOR_CONFIG, MsalBroadcastService, MsalGuardConfiguration, MsalInterceptorConfiguration, MsalService } from '@azure/msal-angular';\r\nimport { AuthenticationResult, BrowserCacheLocation, EventMessage, EventType, IPublicClientApplication, InteractionType, PublicClientApplication } from '@azure/msal-browser';\r\nimport { catchError, filter, throwError } from 'rxjs';\r\nimport { LoginOAuthResult } from '../../definitions';\r\n\r\nexport function MSALInstanceFactory(environment: EnvironmentService): IPublicClientApplication {\r\n return new PublicClientApplication({\r\n auth: {\r\n clientId: \"6b2c080f-6ab0-4511-a9df-0bce69db5833\",\r\n authority: \"https://login.microsoftonline.com/common\",\r\n redirectUri: environment.appLoginRedirectUri, // This is your redir\r\n },\r\n cache: {\r\n cacheLocation: BrowserCacheLocation.LocalStorage\r\n }\r\n });\r\n}\r\n\r\nexport function MSALInterceptorConfigFactory(environment: EnvironmentService): MsalInterceptorConfiguration {\r\n\r\n return {\r\n interactionType: InteractionType.Popup,\r\n protectedResourceMap: new Map([\r\n [environment.appServiceLoginUri, [\"api://6b2c080f-6ab0-4511-a9df-0bce69db5833/AngularSPAAuthScope\"]],\r\n [\"https://graph.microsoft.com/v2.0/me\", [\"user.read\"]],\r\n ])\r\n };\r\n}\r\n\r\nexport function MSALGuardConfigFactory(): MsalGuardConfiguration {\r\n return {\r\n interactionType: InteractionType.Popup,\r\n authRequest: {\r\n scopes: [\"user.read\"]\r\n }\r\n };\r\n}\r\n\r\n@Component({\r\n selector: 'login-oauth',\r\n templateUrl: './login-oauth.component.html',\r\n styleUrls: ['./login-oauth.component.scss'],\r\n standalone: true,\r\n changeDetection: ChangeDetectionStrategy.OnPush,\r\n providers: [\r\n {\r\n provide: MSAL_INSTANCE,\r\n deps: [EnvironmentService],\r\n useFactory: MSALInstanceFactory\r\n },\r\n {\r\n provide: MSAL_GUARD_CONFIG,\r\n useFactory: MSALGuardConfigFactory\r\n },\r\n {\r\n provide: MSAL_INTERCEPTOR_CONFIG,\r\n deps: [EnvironmentService],\r\n useFactory: MSALInterceptorConfigFactory\r\n },\r\n MsalService,\r\n MsalBroadcastService],\r\n imports: [\r\n MatButtonModule\r\n ]\r\n})\r\nexport class LoginOAuthComponent implements OnInit {\r\n private readonly destroyRef = inject(DestroyRef);\r\n private msalBroadcastService = inject(MsalBroadcastService);\r\n private msaLService = inject(MsalService);\r\n private dialogService = inject(DialogService);\r\n private ngZone = inject(NgZone);\r\n\r\n readonly success = output<LoginOAuthResult>();\r\n\r\n readonly showInfo = input<boolean>(true);\r\n readonly applicationName = input<string>();\r\n readonly autoInitialize = input<boolean>(false);\r\n readonly allowMicrosoft = input<boolean>(true);\r\n readonly allowGoogle = input<boolean>(true);\r\n\r\n\r\n protected oauthReady = signal<boolean>(false);\r\n protected oauthMicrosoftReady = signal<boolean>(false);\r\n protected oauthGoogleReady = signal<boolean>(false);\r\n\r\n\r\n ngOnInit() {\r\n if (this.autoInitialize()) {\r\n this.initialize();\r\n }\r\n this.msalBroadcastService.msalSubject$\r\n .pipe(\r\n filter((msg: EventMessage) =>\r\n msg.eventType === EventType.ACQUIRE_TOKEN_SUCCESS ||\r\n msg.eventType === EventType.LOGOUT_SUCCESS),\r\n takeUntilDestroyed(this.destroyRef),\r\n catchError(error => {\r\n this.dialogService.error(error);\r\n return throwError(() => error);\r\n })\r\n )\r\n .subscribe((r: EventMessage) => {\r\n if (r) {\r\n // Casting payload as AuthenticationResult to access account\r\n const payload = r.payload as AuthenticationResult;\r\n this.success.emit({ type: 1, token: payload.accessToken });\r\n }\r\n });\r\n\r\n }\r\n\r\n /**\r\n * Initialize open authentication \r\n * Must be a public method \r\n */\r\n initialize() {\r\n if (this.oauthReady()) {\r\n return; // Already done\r\n }\r\n this.oauthReady.set(true);\r\n\r\n // Load MS stack\r\n this.msaLService.initialize()\r\n .pipe(takeUntilDestroyed(this.destroyRef))\r\n .subscribe(() => {\r\n this.oauthMicrosoftReady.set(true);\r\n });\r\n\r\n // Load google maps script after view init\r\n const DSLScript = document.createElement('script');\r\n DSLScript.src = 'https://accounts.google.com/gsi/client';\r\n DSLScript.type = 'text/javascript';\r\n document.body.appendChild(DSLScript);\r\n document.body.removeChild(DSLScript);\r\n\r\n // @ts-ignore\r\n window.onGoogleLibraryLoad = () => {\r\n // initialize google account\r\n // @ts-ignore\r\n google.accounts.id.initialize({\r\n client_id: '71204983077-ag31h3bgt2udcbfr9nn84r9rni2k3snp.apps.googleusercontent.com',\r\n cancel_on_tap_outside: true,\r\n auto_select: false,\r\n callback: (r: any) => {\r\n this.ngZone.run(() => {\r\n this.success.emit({ type: 2, token: r.credential });\r\n });\r\n }\r\n });\r\n\r\n googleButtonWrapper = createFakeGoogleWrapper();\r\n\r\n this.oauthGoogleReady.set(true);\r\n };\r\n\r\n }\r\n\r\n /**\r\n * Perform login using MSAL\r\n */\r\n protected loginMSAL() {\r\n this.msaLService.loginPopup()\r\n .subscribe({\r\n next: (r: AuthenticationResult) => {\r\n try {\r\n this.msaLService.instance.setActiveAccount(r.account);\r\n this.msaLService.acquireTokenSilent({\r\n scopes: [\r\n \"api://6b2c080f-6ab0-4511-a9df-0bce69db5833/AngularSPAAuthScope\"\r\n ],\r\n account: r.account\r\n }).subscribe({\r\n error: (error: any) => {\r\n this.dialogService.error(error.message);\r\n }\r\n })\r\n } catch (error: any) {\r\n this.dialogService.error(error.message);\r\n }\r\n },\r\n error: (error: any) => {\r\n this.dialogService.error(error.message);\r\n }\r\n });\r\n }\r\n\r\n /**\r\n* Perform login using Google\r\n*/\r\n protected loginGoogle() {\r\n // Use wrapper click to prevent Illegal invocation exception\r\n googleButtonWrapper.click();\r\n }\r\n}\r\n\r\nconst createFakeGoogleWrapper = () => {\r\n const googleLoginWrapper = document.createElement(\"div\");\r\n // Or you can simple hide it in CSS rule for custom-google-button\r\n googleLoginWrapper.style.display = \"none\";\r\n googleLoginWrapper.classList.add(\"custom-google-button\");\r\n\r\n // Add the wrapper to body\r\n document.body.appendChild(googleLoginWrapper);\r\n\r\n // Use GSI javascript api to render the button inside our wrapper\r\n // You can ignore the properties because this button will not appear\r\n // @ts-ignore\r\n window.google.accounts.id.renderButton(googleLoginWrapper, {\r\n type: \"icon\",\r\n width: \"200\",\r\n });\r\n\r\n const googleLoginWrapperButton =\r\n googleLoginWrapper.querySelector(\"div[role=button]\");\r\n\r\n return {\r\n click: () => {\r\n // @ts-ignore\r\n googleLoginWrapperButton.click();\r\n },\r\n };\r\n};\r\nvar googleButtonWrapper: any;\r\n\r\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()\" [attr.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 [attr.aria-label]=\"'Effettua accesso'\" [disabled]=\"!oauthGoogleReady()\">\r\n Accedi con Google</button>\r\n </div>\r\n }\r\n</div>","/*\r\n * Public API Surface of ars-utils\r\n */\r\nexport * from './ui/ui.module';\r\nexport * from './ui/components/login/login-oauth.component';\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;;ACE1B;MAGa,gBAAgB,CAAA;8GAAhB,gBAAgB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;+GAAhB,gBAAgB,EAAA,CAAA,CAAA;+GAAhB,gBAAgB,EAAA,CAAA,CAAA;;2FAAhB,gBAAgB,EAAA,UAAA,EAAA,CAAA;kBAD5B;;;ACMK,SAAU,mBAAmB,CAAC,WAA+B,EAAA;IACjE,OAAO,IAAI,uBAAuB,CAAC;AACjC,QAAA,IAAI,EAAE;AACJ,YAAA,QAAQ,EAAE,sCAAsC;AAChD,YAAA,SAAS,EAAE,0CAA0C;AACrD,YAAA,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,eA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
2
2
  "name": "@arsedizioni/ars-utils",
3
- "version": "21.2.1",
3
+ "version": "21.2.102",
4
4
  "author": {
5
5
  "email": "software@arsedizioni.it",
6
6
  "name": "Fabio Buscaroli, Alberto Doria"
@@ -0,0 +1 @@
1
+ {"version":3,"file":"arsedizioni-ars-utils-clipper.common.d.ts","sources":["../../../projects/ars-utils/clipper.common/common/messages.ts","../../../projects/ars-utils/clipper.common/common/definitions.ts","../../../projects/ars-utils/clipper.common/common/interceptors/auth.interceptor.ts","../../../projects/ars-utils/clipper.common/common/services/clipper.service.ts","../../../projects/ars-utils/clipper.common/common/common.module.ts"],"sourcesContent":[null,null,null,null,null],"names":[],"mappings":";;;;;;;;;;;AAAA,cAAA,eAAA;AACE;;AAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACGL,aAAA,mBAAA;AACE;AACA;AACA;AACA;AACD;AAED,aAAA,qBAAA;AACE;AACA;AACA;AACD;AAED,cAAA,sBAAA,EAAA,aAAA,CAAA,qBAAA;AAMA,aAAA,oBAAA;AACE;AACA;AACA;AACA;AACD;AAID,aAAA,kBAAA;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACD;AAED,aAAA,aAAA;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAED;AAED,aAAA,YAAA;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACD;AAED,cAAA,aAAA,EAAA,aAAA;AAaA,cAAA,mBAAA,EAAA,aAAA;AAQA,cAAA,cAAA,EAAA,aAAA;AAWA,aAAA,cAAA;AACE;AACA;AACA;AACA;AACA;AACA;AACD;AAED,cAAA,eAAA,EAAA,aAAA,CAAA,cAAA;;;;AAUC;AAED,cAAA,cAAA,EAAA,aAAA;;;;;AAgGC;AAED,cAAA,cAAA,EAAA,UAAA;AAuMA,cAAA,kBAAA,EAAA,aAAA;AAmIA,cAAA,cAAA,EAA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AAA,CAAA,SAAA,CAAA,iCAAA;AAmB3D;;;AAGG;uCAC6B,IAAA,CAAA,UAAA,CAAA,SAAA,CAAA,MAAA;AAOhC;;;;AAIG;wDAC8C,IAAA,CAAA,UAAA,CAAA,IAAA;AAsBjD;;;AAGG;qEAC2D,IAAA,YAAA,oBAAA,CAAA,SAAA;AAuB9D;;;AAGG;gEACsD,IAAA,CAAA,UAAA,CAAA,SAAA,CAAA,+BAAA;AAOzD;;;AAGG;iEACuD,IAAA,CAAA,UAAA,CAAA,SAAA;AAO1D;;;AAGG;6DACmD,IAAA,CAAA,UAAA,CAAA,SAAA;AAQtD;;;AAGG;qDAC2C,IAAA,YAAA,oBAAA,CAAA,SAAA;AAuC9C;;;AAGG;gCACsB,IAAA,CAAA,UAAA,CAAA,SAAA,CAAA,sBAAA;AAKzB;;;;AAIG;mDACyC,IAAA,CAAA,UAAA,CAAA,IAAA;;;AAQ7C;;AC32CD,cAAA,sBAAA;;;;AACsC;;;;"}
@@ -1,10 +1,9 @@
1
1
  import * as _angular_core from '@angular/core';
2
- import { OnDestroy, ChangeDetectorRef, OnInit, AfterViewInit, Signal } from '@angular/core';
2
+ import { DestroyRef, ChangeDetectorRef, OnInit, AfterViewInit, Signal } from '@angular/core';
3
3
  import { MatPaginator, PageEvent } from '@angular/material/paginator';
4
4
  import { MatDrawer } from '@angular/material/sidenav';
5
5
  import { ClipperService, ClipperDocumentInfo, ClipperSearchParams, ClipperQueryReferencesMode, ClipperModule, ClipperModel, ClipperSearchCalendarSnapshotMonth, ClipperSearchCalendarSnapshotResult, ClipperSearchFacetsSnapshot, ClipperSearchFacet, ClipperSearchFacetGroup, ClipperSelectionMode, ClipperSearchResult, ClipperSort, ClipperUserInfo, ClipperUserSearch, SectorInfo, ClipperDocumentRelevants, ClipperDocumentAnchorInfo } from '@arsedizioni/ars-utils/clipper.common';
6
6
  import * as rxjs from 'rxjs';
7
- import { Subject } from 'rxjs';
8
7
  import { BreakpointObserver } from '@angular/cdk/layout';
9
8
  import { BroadcastService, DateInterval, ScreenService, SelectableModel, NameValueItem, INode, ThemeType } from '@arsedizioni/ars-utils/core';
10
9
  import { Clipboard } from '@angular/cdk/clipboard';
@@ -262,11 +261,11 @@ declare class ClipperSearchFacetsComponent {
262
261
  static ɵcmp: _angular_core.ɵɵComponentDeclaration<ClipperSearchFacetsComponent, "clipper-search-facets", never, { "handleTooManyResults": { "alias": "handleTooManyResults"; "required": false; "isSignal": true; }; }, { "changed": "changed"; }, never, never, true, never>;
263
262
  }
264
263
 
265
- declare class ClipperSearchResultManager extends ClipperDocumentManager implements OnDestroy {
264
+ declare class ClipperSearchResultManager extends ClipperDocumentManager {
266
265
  readonly paginator: _angular_core.Signal<MatPaginator>;
267
266
  readonly facets: _angular_core.Signal<ClipperSearchFacetsComponent>;
268
267
  readonly calendar: _angular_core.Signal<ClipperSearchCalendarComponent>;
269
- protected unsubscribe: Subject<void>;
268
+ protected readonly destroyRef: DestroyRef;
270
269
  protected changeDetector: ChangeDetectorRef;
271
270
  protected breakpointObserver: BreakpointObserver;
272
271
  private themeService;
@@ -289,7 +288,6 @@ declare class ClipperSearchResultManager extends ClipperDocumentManager implemen
289
288
  protected restorableId: string | undefined;
290
289
  protected hasFacets: _angular_core.WritableSignal<boolean>;
291
290
  protected hasRegions: () => boolean;
292
- ngOnDestroy(): void;
293
291
  /**
294
292
  * Update menu buttons visibility when the menu is closed
295
293
  */
@@ -438,7 +436,7 @@ interface ClipperReferencesDialogData {
438
436
  interface ClipperReferenceDialogResult {
439
437
  documentId: string;
440
438
  }
441
- declare class ClipperReferencesComponent extends ClipperSearchResultManager implements OnInit, OnDestroy, AfterViewInit {
439
+ declare class ClipperReferencesComponent extends ClipperSearchResultManager implements OnInit, AfterViewInit {
442
440
  readonly filterPane: _angular_core.Signal<MatDrawer>;
443
441
  private dialogRef;
444
442
  protected dialogData: ClipperReferencesDialogData;
@@ -446,7 +444,6 @@ declare class ClipperReferencesComponent extends ClipperSearchResultManager impl
446
444
  protected item?: ClipperDocumentInfo;
447
445
  protected user: ClipperUserInfo | undefined;
448
446
  ngOnInit(): void;
449
- ngOnDestroy(): void;
450
447
  ngAfterViewInit(): void;
451
448
  /**
452
449
  * Show hide filter pane manually
@@ -519,7 +516,7 @@ declare class ClipperReferencesComponent extends ClipperSearchResultManager impl
519
516
  static ɵcmp: _angular_core.ɵɵComponentDeclaration<ClipperReferencesComponent, "ng-component", never, {}, {}, never, never, true, never>;
520
517
  }
521
518
 
522
- declare class ClipperBrowserComponent extends ClipperSearchResultManager implements OnInit, OnDestroy, AfterViewInit {
519
+ declare class ClipperBrowserComponent extends ClipperSearchResultManager implements OnInit, AfterViewInit {
523
520
  readonly filterByNumber: Signal<MatInput>;
524
521
  readonly filterByText: Signal<MatInput>;
525
522
  readonly filterByChangeNumber: Signal<MatInput>;
@@ -566,7 +563,6 @@ declare class ClipperBrowserComponent extends ClipperSearchResultManager impleme
566
563
  protected user: ClipperUserInfo | undefined;
567
564
  ngOnInit(): void;
568
565
  ngAfterViewInit(): void;
569
- ngOnDestroy(): void;
570
566
  /**
571
567
  * Get all available modules
572
568
  */
@@ -743,7 +739,7 @@ interface ClipperBrowserDialogData {
743
739
  theme?: ThemeType;
744
740
  }
745
741
  declare class ClipperBrowserDialogComponent implements OnInit, AfterViewInit {
746
- private unsubscribe;
742
+ private readonly destroyRef;
747
743
  readonly clipperBrowser: _angular_core.Signal<ClipperBrowserComponent>;
748
744
  protected clipperService: ClipperService;
749
745
  private changeDetector;
@@ -798,7 +794,7 @@ declare enum ClipperSearchResultItemDisplayMode {
798
794
  Stripe = 3
799
795
  }
800
796
  declare class ClipperSearchResultItemComponent implements OnInit {
801
- private unsubscribe;
797
+ private readonly destroyRef;
802
798
  protected screenService: ScreenService;
803
799
  protected broadcastService: BroadcastService;
804
800
  private changeDetector;
@@ -846,11 +842,11 @@ interface ClipperDocumentDialogData {
846
842
  canUseArchive?: boolean;
847
843
  canHandleTooManyResults?: boolean;
848
844
  }
849
- declare class ClipperDocumentComponent extends ClipperDocumentManager implements OnInit, OnDestroy {
845
+ declare class ClipperDocumentComponent extends ClipperDocumentManager implements OnInit {
850
846
  readonly relevantsPane: _angular_core.Signal<MatDrawer>;
851
847
  readonly closing: _angular_core.OutputEmitterRef<void>;
852
848
  readonly opening: _angular_core.OutputEmitterRef<string>;
853
- private unsubscribe;
849
+ private readonly destroyRef;
854
850
  private injector;
855
851
  private changeDetector;
856
852
  private breakpointObserver;
@@ -1042,17 +1038,17 @@ declare class ClipperDocumentIndexComponent implements OnInit {
1042
1038
  static ɵcmp: _angular_core.ɵɵComponentDeclaration<ClipperDocumentIndexComponent, "ng-component", never, {}, { "done": "done"; }, never, never, true, never>;
1043
1039
  }
1044
1040
 
1045
- declare class ClipperDocumentMenuComponent implements OnInit, OnDestroy {
1041
+ declare class ClipperDocumentMenuComponent implements OnInit {
1046
1042
  private rsMenuTrigger;
1047
1043
  private aiAssistantMenuTrigger;
1048
1044
  private linksMenuTrigger;
1049
1045
  private allMenuTriggers;
1050
- private renderer2;
1051
- private unsubscribe;
1052
- private changeDetector;
1053
- private clipperService;
1046
+ private readonly renderer2;
1047
+ private readonly destroyRef;
1048
+ private readonly changeDetector;
1049
+ private readonly clipperService;
1054
1050
  readonly useSelections: _angular_core.InputSignal<boolean>;
1055
- readonly selectionSource: _angular_core.InputSignal<"selection" | "bag" | "none">;
1051
+ readonly selectionSource: _angular_core.InputSignal<"selection" | "none" | "bag">;
1056
1052
  protected selection: () => ClipperDocumentInfo[];
1057
1053
  readonly parent: _angular_core.InputSignal<any>;
1058
1054
  readonly item: _angular_core.InputSignal<ClipperDocumentInfo>;
@@ -1081,7 +1077,6 @@ declare class ClipperDocumentMenuComponent implements OnInit, OnDestroy {
1081
1077
  protected canSetAsUnread: () => boolean;
1082
1078
  protected canAccessRS: () => boolean;
1083
1079
  ngOnInit(): void;
1084
- ngOnDestroy(): void;
1085
1080
  /**
1086
1081
  * Get a single selection
1087
1082
  * @returns the single selection or null
@@ -0,0 +1 @@
1
+ {"version":3,"file":"arsedizioni-ars-utils-clipper.ui.d.ts","sources":["../../../projects/ars-utils/clipper.ui/ui/document-manager/document-manager.ts","../../../projects/ars-utils/clipper.ui/ui/search-calendar/search-calendar.component.ts","../../../projects/ars-utils/clipper.ui/ui/search-facets/search-facets.component.ts","../../../projects/ars-utils/clipper.ui/ui/search-result-manager/search-result-manager.ts","../../../projects/ars-utils/clipper.ui/ui/references/references.component.ts","../../../projects/ars-utils/clipper.ui/ui/browser/browser.component.ts","../../../projects/ars-utils/clipper.ui/ui/browser/browser-dialog/browser-dialog.component.ts","../../../projects/ars-utils/clipper.ui/ui/search-free-text-help/search-free-text-help.component.ts","../../../projects/ars-utils/clipper.ui/ui/search-free-text-query-builder/search-free-text-query-builder.component.ts","../../../projects/ars-utils/clipper.ui/ui/search-result-item/search-result-item.component.ts","../../../projects/ars-utils/clipper.ui/ui/document/document.component.ts","../../../projects/ars-utils/clipper.ui/ui/document-index/document-index.component.ts","../../../projects/ars-utils/clipper.ui/ui/document-menu/document-menu.component.ts","../../../projects/ars-utils/clipper.ui/documents.ts"],"sourcesContent":[null,null,null,null,null,null,null,null,null,null,null,null,null,null],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;AAWA,cAAA,sBAAA;;AAQW,oBAAA,cAAA;;;6BAGgB,aAAA,CAAA,cAAA;uCACU,aAAA,CAAA,cAAA;AAIjC;;;AAGD;;AAmBC;;;;;AAKG;AACH,kEAAA,mBAAA;AAyBA;;;AAGG;;AAKH;;;AAGG;AACH,wBAAA,mBAAA;AAIA;;;AAGG;;AAKH;;;AAGE;AACF,sCAAA,mBAAA;AAIA;;;AAGE;AACF,yBAAA,mBAAA;AAMA;;;AAGG;;AA0BH;;;AAGG;;AAoCH;;;AAGG;AACH,uBAAA,mBAAA;AAmCA;;;;AAIG;;AAWH;;;;;;;AAOE;AACF;AAOA;;;AAGG;;AAWH;;;;AAIG;AACH,8CAAA,0BAAA;AAyBA;;AAEG;;AA2CH;;AAEG;;AAMH;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AAA,MAAA;;;;;AAmBE;AACA;AACA;AACA;4BACsB,aAAA,CAAA,WAAA;8BACE,aAAA,CAAA,WAAA;AACxB,+BAAA,mBAAA;qBAWe,aAAA,CAAA,WAAA;mBACF,aAAA,CAAA,WAAA,CAAA,mBAAA;0BACO,aAAA,CAAA,WAAA;yBACD,aAAA,CAAA,WAAA;8BACK,aAAA,CAAA,WAAA,CAAA,YAAA;2BACH,aAAA,CAAA,WAAA;uBACJ,aAAA,CAAA,WAAA;sBACD,aAAA,CAAA,WAAA;6BACO,aAAA,CAAA,WAAA;4BACD,aAAA,CAAA,WAAA;gCACI,aAAA,CAAA,WAAA;AAC1B;uBACiB,aAAA,CAAA,WAAA;8BACO,aAAA,CAAA,WAAA;AACxB;AACA;AACA;AACA;AACA;AACA;AAUA;AAUA;AAgBA;AAIA;AAKA;AAKA;AAKA;AAWA;;;AAGG;AACH,oCAAA,mBAAA;AASA;;;AAGG;AACH,sCAAA,mBAAA;AAYA;;;AAGE;;AAKF;;;AAGE;AACF,oCAAA,cAAA;AAaA;;;AAGG;AACH,oCAAA,cAAA;AAKA;;;AAGG;;AAWH;;;AAGG;AACH;AAIA;;;;AAIG;;AAOH;;;;AAIC;;;;AAOF;;ACjOD,cAAA,qBAAA;AACE;;;;;;;;;;;AAWG;;AA6CH;;;AAGG;AACH;AAQD;;;;"}
@@ -1,5 +1,5 @@
1
1
  import * as i0 from '@angular/core';
2
- import { OnInit, OnDestroy, PipeTransform, AfterContentInit, EventEmitter, Signal, ElementRef } from '@angular/core';
2
+ import { OnInit, OnDestroy, PipeTransform, AfterContentInit, EventEmitter, Signal } from '@angular/core';
3
3
  import { Validator, AbstractControl, ValidationErrors } from '@angular/forms';
4
4
  import { SafeHtml } from '@angular/platform-browser';
5
5
  import { DateAdapter, MatDateFormats } from '@angular/material/core';
@@ -100,7 +100,7 @@ interface INode {
100
100
  children?: INode[];
101
101
  subFolders?: INode[];
102
102
  parent?: INode;
103
- bag?: any;
103
+ bag?: unknown;
104
104
  }
105
105
  declare enum DateFormat {
106
106
  Short = 1,// dd/mm/yyyy
@@ -131,7 +131,7 @@ declare class SystemUtils {
131
131
  * @param value : the value to search for
132
132
  * @returns : the property value or null
133
133
  */
134
- static arrayFindByKey<T>(array: T[] | undefined, key: string, value: any): T | undefined;
134
+ static arrayFindByKey<T>(array: T[] | undefined, key: string, value: unknown): T | undefined;
135
135
  /**
136
136
  * Array find index by key
137
137
  * @param array : the array to scan
@@ -139,14 +139,14 @@ declare class SystemUtils {
139
139
  * @param value : the value to search for
140
140
  * @returns : the array index or -1 if not found
141
141
  */
142
- static arrayFindIndexByKey<T>(array: T[] | undefined, key: string, value: any): number;
142
+ static arrayFindIndexByKey<T>(array: T[] | undefined, key: string, value: unknown): number;
143
143
  /**
144
144
  * Get a value from and array made of name|value items
145
145
  * @param array : the array to scan
146
146
  * @param value : the value to search for
147
147
  * @returns : the property value or null if not found
148
148
  */
149
- static arrayGetValue<T>(array: T[] | undefined, value: any): any;
149
+ static arrayGetValue<T>(array: T[] | undefined, value: unknown): unknown;
150
150
  /**
151
151
  * Convert items to nodes into a tree structure
152
152
  * @param items : list of nodes
@@ -206,7 +206,7 @@ declare class SystemUtils {
206
206
  * @param s : the string to process
207
207
  * @returns : the replaced string
208
208
  */
209
- static replaceAsHtml(s?: string): string;
209
+ static replaceAsHtml(s?: string): string | undefined;
210
210
  /**
211
211
  * Convert markdown to html
212
212
  * @param markdown : the markdown data
@@ -266,7 +266,7 @@ declare class SystemUtils {
266
266
  * @param obj : the oblect to clone
267
267
  * @returns : a new object
268
268
  */
269
- static clone(obj: any): any | undefined;
269
+ static clone<T>(obj: T): T;
270
270
  /**
271
271
  * Clone an object using deep cloning
272
272
  * @param obj : the oblect to clone
@@ -383,10 +383,10 @@ declare class SystemUtils {
383
383
  */
384
384
  static isBrowser(): boolean;
385
385
  /**
386
- * Convert folders in a tree of Node object.
387
- * @param folders : the subfolders group or null to root
388
- * @returns : a node list
389
- */
386
+ * Convert folders in a tree of Node object.
387
+ * @param folders : the subfolders group or null to root
388
+ * @returns : a node list
389
+ */
390
390
  static toNodes(folders: INode[]): INode[];
391
391
  /**
392
392
  * Convert folders in a tree of Node object.
@@ -437,7 +437,7 @@ interface File<T> {
437
437
  ownerId?: T;
438
438
  id?: number;
439
439
  fileName: string;
440
- fileData: any;
440
+ fileData: unknown;
441
441
  }
442
442
  interface Validated {
443
443
  isValid(): boolean;
@@ -468,8 +468,8 @@ interface NameValueItem<T> {
468
468
  }
469
469
  interface Checkable {
470
470
  checked?: boolean;
471
- bag: any;
472
- getId(): any;
471
+ bag: unknown;
472
+ getId(): unknown;
473
473
  }
474
474
  declare class ValueModel<T> {
475
475
  value: T;
@@ -532,7 +532,7 @@ declare class ImportModel {
532
532
  origin: string;
533
533
  dataFile: FileInfo;
534
534
  jumpFirstLine?: boolean;
535
- map?: any;
535
+ map?: unknown;
536
536
  }
537
537
  interface EnableDisableModel {
538
538
  value: boolean;
@@ -558,9 +558,6 @@ declare class DateInterval {
558
558
  get fromAsDate(): Date | undefined;
559
559
  get toAsDate(): Date;
560
560
  constructor(from?: Date, to?: Date);
561
- /**
562
- * Clear interval
563
- */
564
561
  clear(): void;
565
562
  }
566
563
  interface LoginResult<T> extends ApiResult<boolean> {
@@ -572,7 +569,7 @@ interface LoginResult<T> extends ApiResult<boolean> {
572
569
  declare class DateIntervalChangeDirective implements OnInit, OnDestroy {
573
570
  readonly dateIntervalChange: i0.InputSignal<DateInterval>;
574
571
  readonly end: i0.InputSignal<boolean>;
575
- private subject;
572
+ private readonly subject;
576
573
  private subscription;
577
574
  ngOnInit(): void;
578
575
  ngOnDestroy(): void;
@@ -585,52 +582,46 @@ declare class SearchFilterPipe implements PipeTransform {
585
582
  transform(items?: any[], value?: string, metadata?: SearchFilterMetadata): any;
586
583
  static ɵfac: i0.ɵɵFactoryDeclaration<SearchFilterPipe, never>;
587
584
  static ɵpipe: i0.ɵɵPipeDeclaration<SearchFilterPipe, "search", true>;
588
- static ɵprov: i0.ɵɵInjectableDeclaration<SearchFilterPipe>;
589
585
  }
590
586
 
591
587
  declare class SearchCallbackPipe implements PipeTransform {
592
- transform(items: any[] | undefined, callback: (item: any) => boolean): any;
588
+ transform<T>(items: T[] | undefined, callback: (item: T) => boolean): T[] | undefined;
593
589
  static ɵfac: i0.ɵɵFactoryDeclaration<SearchCallbackPipe, never>;
594
590
  static ɵpipe: i0.ɵɵPipeDeclaration<SearchCallbackPipe, "callback", true>;
595
591
  }
596
592
 
597
593
  declare class SafeHtmlPipe implements PipeTransform {
598
- private sanitizer;
594
+ private readonly sanitizer;
599
595
  transform(value?: string): SafeHtml;
600
596
  static ɵfac: i0.ɵɵFactoryDeclaration<SafeHtmlPipe, never>;
601
597
  static ɵpipe: i0.ɵɵPipeDeclaration<SafeHtmlPipe, "safeHtml", true>;
602
- static ɵprov: i0.ɵɵInjectableDeclaration<SafeHtmlPipe>;
603
598
  }
604
599
 
605
600
  declare class SafeUrlPipe implements PipeTransform {
606
- private sanitizer;
601
+ private readonly sanitizer;
607
602
  transform(value?: string): SafeHtml;
608
603
  static ɵfac: i0.ɵɵFactoryDeclaration<SafeUrlPipe, never>;
609
604
  static ɵpipe: i0.ɵɵPipeDeclaration<SafeUrlPipe, "safeUrl", true>;
610
- static ɵprov: i0.ɵɵInjectableDeclaration<SafeUrlPipe>;
611
605
  }
612
606
 
613
607
  declare class ReplacePipe implements PipeTransform {
614
- private sanitizer;
608
+ private readonly sanitizer;
615
609
  transform(value: string | undefined, regexValue: string, replaceValue: string): SafeHtml;
616
610
  static ɵfac: i0.ɵɵFactoryDeclaration<ReplacePipe, never>;
617
611
  static ɵpipe: i0.ɵɵPipeDeclaration<ReplacePipe, "replace", true>;
618
- static ɵprov: i0.ɵɵInjectableDeclaration<ReplacePipe>;
619
612
  }
620
613
 
621
614
  declare class FormatPipe implements PipeTransform {
622
- transform(value?: any | undefined, type?: string, pattern?: string): string | undefined;
615
+ transform(value?: unknown, type?: string, pattern?: string): string | undefined;
623
616
  static ɵfac: i0.ɵɵFactoryDeclaration<FormatPipe, never>;
624
617
  static ɵpipe: i0.ɵɵPipeDeclaration<FormatPipe, "format", true>;
625
- static ɵprov: i0.ɵɵInjectableDeclaration<FormatPipe>;
626
618
  }
627
619
 
628
620
  declare class FormatHtmlPipe implements PipeTransform {
629
- private sanitizer;
621
+ private readonly sanitizer;
630
622
  transform(value?: string): SafeHtml;
631
623
  static ɵfac: i0.ɵɵFactoryDeclaration<FormatHtmlPipe, never>;
632
624
  static ɵpipe: i0.ɵɵPipeDeclaration<FormatHtmlPipe, "formatHtml", true>;
633
- static ɵprov: i0.ɵɵInjectableDeclaration<FormatHtmlPipe>;
634
625
  }
635
626
 
636
627
  declare class CopyClipboardDirective {
@@ -639,11 +630,10 @@ declare class CopyClipboardDirective {
639
630
  onClick(e: MouseEvent): void;
640
631
  static ɵfac: i0.ɵɵFactoryDeclaration<CopyClipboardDirective, never>;
641
632
  static ɵdir: i0.ɵɵDirectiveDeclaration<CopyClipboardDirective, "[copyClipboard]", never, { "payload": { "alias": "copyClipboard"; "required": false; "isSignal": true; }; }, { "copied": "copied"; }, never, never, true, never>;
642
- static ɵprov: i0.ɵɵInjectableDeclaration<CopyClipboardDirective>;
643
633
  }
644
634
 
645
635
  declare class AutoFocusDirective implements AfterContentInit {
646
- private elementRef;
636
+ private readonly elementRef;
647
637
  ngAfterContentInit(): void;
648
638
  static ɵfac: i0.ɵɵFactoryDeclaration<AutoFocusDirective, never>;
649
639
  static ɵdir: i0.ɵɵDirectiveDeclaration<AutoFocusDirective, "[autoFocus]", never, {}, {}, never, never, true, never>;
@@ -667,7 +657,7 @@ declare const UtilsMessages: {
667
657
  };
668
658
 
669
659
  declare class SelectableModel<T, V> {
670
- changed: EventEmitter<T>;
660
+ readonly changed: EventEmitter<T>;
671
661
  private _all;
672
662
  get all(): T[];
673
663
  private _current;
@@ -707,7 +697,7 @@ declare class SelectableModel<T, V> {
707
697
  * Clear current view
708
698
  * @param clearFunc : the function used to clear
709
699
  */
710
- clearCurrent(clearFunc: any): void;
700
+ clearCurrent(clearFunc: (item: T) => void): void;
711
701
  /**
712
702
  * Deselect all items
713
703
  */
@@ -750,7 +740,7 @@ interface BroadcastChannelSubscriberInfo<T> {
750
740
  */
751
741
  declare class BroadcastChannelManager {
752
742
  private channel?;
753
- private subject;
743
+ private readonly subject;
754
744
  private subscriptions;
755
745
  /**
756
746
  * Get the current channel registration
@@ -815,8 +805,8 @@ interface BroadcastMessageInfo {
815
805
  data?: any;
816
806
  }
817
807
  declare class BroadcastService implements OnDestroy {
818
- private subject;
819
- private channel;
808
+ private readonly subject;
809
+ private readonly channel;
820
810
  /**
821
811
  * Get a new instance of broadcast channel
822
812
  */
@@ -869,7 +859,7 @@ declare class EnvironmentService {
869
859
  }
870
860
 
871
861
  declare class ScreenService {
872
- mq: i0.WritableSignal<string>;
862
+ readonly mq: i0.WritableSignal<string>;
873
863
  get isTouchable(): boolean;
874
864
  get isIEOrEdge(): boolean;
875
865
  static ɵfac: i0.ɵɵFactoryDeclaration<ScreenService, never>;
@@ -895,10 +885,10 @@ declare class ThemeService implements OnDestroy {
895
885
  * // do the job done....
896
886
  * });
897
887
  */
898
- private themeChanged;
888
+ private readonly themeChanged;
899
889
  changed: Observable<ThemeType>;
900
- private renderFactory2;
901
- private renderer;
890
+ private readonly renderFactory2;
891
+ private readonly renderer;
902
892
  /**
903
893
  * Current theme
904
894
  */
@@ -978,7 +968,7 @@ declare class DateFnsAdapter extends DateAdapter<Date, Locale> {
978
968
  clone(date: Date): Date;
979
969
  createDate(year: number, month: number, date: number): Date;
980
970
  today(): Date;
981
- parse(value: any, parseFormat: string | string[]): Date | null;
971
+ parse(value: unknown, parseFormat: string | string[]): Date | null;
982
972
  format(date: Date, displayFormat: string): string;
983
973
  addCalendarYears(date: Date, years: number): Date;
984
974
  addCalendarMonths(date: Date, months: number): Date;
@@ -989,8 +979,8 @@ declare class DateFnsAdapter extends DateAdapter<Date, Locale> {
989
979
  * (https://www.ietf.org/rfc/rfc3339.txt) into valid Dates and empty string into undefined. Returns an
990
980
  * invalid date for all other values.
991
981
  */
992
- deserialize(value: any): Date | null;
993
- isDateInstance(obj: any): boolean;
982
+ deserialize(value: unknown): Date | null;
983
+ isDateInstance(obj: unknown): boolean;
994
984
  isValid(date: Date): boolean;
995
985
  invalid(): Date;
996
986
  static ɵfac: i0.ɵɵFactoryDeclaration<DateFnsAdapter, never>;
@@ -1003,19 +993,17 @@ declare class ArsDateFnsModule {
1003
993
  }
1004
994
 
1005
995
  declare class RemoveFocusDirective {
1006
- private elementRef;
1007
- constructor(elementRef: ElementRef);
996
+ private readonly elementRef;
1008
997
  onClick(_event: Event): void;
1009
998
  static ɵfac: i0.ɵɵFactoryDeclaration<RemoveFocusDirective, never>;
1010
999
  static ɵdir: i0.ɵɵDirectiveDeclaration<RemoveFocusDirective, "[removeFocus]", never, {}, {}, never, never, true, never>;
1011
1000
  }
1012
1001
 
1013
1002
  declare class FormatMarkdownPipe implements PipeTransform {
1014
- private sanitizer;
1003
+ private readonly sanitizer;
1015
1004
  transform(value?: string): SafeHtml;
1016
1005
  static ɵfac: i0.ɵɵFactoryDeclaration<FormatMarkdownPipe, never>;
1017
1006
  static ɵpipe: i0.ɵɵPipeDeclaration<FormatMarkdownPipe, "formatMarkdown", true>;
1018
- static ɵprov: i0.ɵɵInjectableDeclaration<FormatMarkdownPipe>;
1019
1007
  }
1020
1008
 
1021
1009
  export { ArsCoreModule, ArsDateFnsModule, AutoFocusDirective, Breakpoints, BroadcastChannelManager, BroadcastService, CopyClipboardDirective, 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, SqlDateValidatorDirective, SystemUtils, ThemeService, TimeValidatorDirective, UpdateRelationsModel, UrlValidatorDirective, UtilsMessages, ValidIfDirective, ValidatorDirective, ValueModel };
@@ -0,0 +1 @@
1
+ {"version":3,"file":"arsedizioni-ars-utils-core.d.ts","sources":["../../../projects/ars-utils/core/directives/validators.ts","../../../projects/ars-utils/core/system.ts","../../../projects/ars-utils/core/definitions.ts","../../../projects/ars-utils/core/directives/changeDateIntervalDirective.ts","../../../projects/ars-utils/core/pipes/search-filter.pipe.ts","../../../projects/ars-utils/core/pipes/search-callback.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/replace.pipe.ts","../../../projects/ars-utils/core/pipes/format.pipe.ts","../../../projects/ars-utils/core/pipes/format-html.pipe.ts","../../../projects/ars-utils/core/directives/copyClipboardDirective.ts","../../../projects/ars-utils/core/directives/autoFocusDirective.ts","../../../projects/ars-utils/core/breakpoints.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/theme.service.ts","../../../projects/ars-utils/core/core.module.ts","../../../projects/ars-utils/core/dateFnsAdapter.module.ts","../../../projects/ars-utils/core/directives/removeFocusDirective.ts","../../../projects/ars-utils/core/pipes/format-markdown.pipe.ts"],"sourcesContent":[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],"names":["_angular_core"],"mappings":";;;;;;;;;AAYA,cAAA,kBAAA,YAAA,SAAA;wBAMoBA,EAAA,CAAA,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