@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
@@ -4,6 +4,7 @@ import * as i1 from '@arsedizioni/ars-utils/core';
4
4
  import { PasswordStrength } from '@arsedizioni/ars-utils/core';
5
5
  import { MatFormFieldAppearance } from '@angular/material/form-field';
6
6
  import { ControlValueAccessor } from '@angular/forms';
7
+ import { ComponentType } from '@angular/cdk/portal';
7
8
  import { MatDialogConfig, MatDialogRef } from '@angular/material/dialog';
8
9
  import { MatSnackBarRef } from '@angular/material/snack-bar';
9
10
  import { Observable } from 'rxjs';
@@ -11,11 +12,11 @@ import { MatPaginatorIntl } from '@angular/material/paginator';
11
12
 
12
13
  interface DialogResult {
13
14
  result?: 'ok' | 'cancel' | 'other';
14
- value?: any;
15
+ value?: unknown;
15
16
  options?: DialogOption[];
16
17
  }
17
18
  interface DialogOption {
18
- value: any;
19
+ value: unknown;
19
20
  description: string;
20
21
  selected?: boolean;
21
22
  }
@@ -61,20 +62,14 @@ interface ConfirmDialogData {
61
62
  }
62
63
  declare class ConfirmDialogComponent implements OnInit {
63
64
  readonly choosen: i0.OutputEmitterRef<DialogResult>;
64
- private dialogRef;
65
+ private readonly dialogRef;
65
66
  protected dialogData: ConfirmDialogData;
66
67
  ngOnInit(): void;
67
- /**
68
- * Done
69
- */
68
+ /** Done */
70
69
  ok(): void;
71
- /**
72
- * Cancelled
73
- */
70
+ /** Cancelled */
74
71
  cancel(): void;
75
- /**
76
- * Other action
77
- */
72
+ /** Other action */
78
73
  other(): void;
79
74
  static ɵfac: i0.ɵɵFactoryDeclaration<ConfirmDialogComponent, never>;
80
75
  static ɵcmp: i0.ɵɵComponentDeclaration<ConfirmDialogComponent, "ng-component", never, {}, { "choosen": "choosen"; }, never, never, true, never>;
@@ -89,8 +84,8 @@ interface InfoDialogData {
89
84
  onNavigate?: (url: string) => void;
90
85
  }
91
86
  declare class InfoDialogComponent implements OnInit {
92
- private dialogService;
93
- private dialogRef;
87
+ private readonly dialogService;
88
+ private readonly dialogRef;
94
89
  protected dialogData: InfoDialogData;
95
90
  ngOnInit(): void;
96
91
  /**
@@ -104,8 +99,8 @@ declare class InfoDialogComponent implements OnInit {
104
99
  */
105
100
  protected navigate(url: string): void;
106
101
  /**
107
- * Copy to clipboard
108
- */
102
+ * Copy to clipboard
103
+ */
109
104
  protected copy(): Promise<void>;
110
105
  static ɵfac: i0.ɵɵFactoryDeclaration<InfoDialogComponent, never>;
111
106
  static ɵcmp: i0.ɵɵComponentDeclaration<InfoDialogComponent, "ng-component", never, {}, {}, never, never, true, never>;
@@ -118,10 +113,8 @@ interface ToastData {
118
113
  }
119
114
  declare class ToastComponent {
120
115
  readonly action: i0.OutputEmitterRef<void>;
121
- protected dialogData: ToastData;
122
- /**
123
- * Do action
124
- */
116
+ protected readonly dialogData: ToastData;
117
+ /** Do action */
125
118
  protected do(): void;
126
119
  static ɵfac: i0.ɵɵFactoryDeclaration<ToastComponent, never>;
127
120
  static ɵcmp: i0.ɵɵComponentDeclaration<ToastComponent, "ng-component", never, {}, { "action": "action"; }, never, never, true, never>;
@@ -151,18 +144,14 @@ interface DeleteDialogData {
151
144
  }
152
145
  declare class DeleteDialogComponent implements OnInit {
153
146
  readonly choosen: i0.OutputEmitterRef<DialogResult>;
154
- private dialogRef;
147
+ private readonly dialogRef;
155
148
  protected dialogData: DeleteDialogData;
156
149
  protected confirmed: i0.WritableSignal<boolean>;
157
150
  protected confirmValue?: string;
158
151
  ngOnInit(): void;
159
- /**
160
- * Done
161
- */
152
+ /** Done */
162
153
  ok(): void;
163
- /**
164
- * Cancelled
165
- */
154
+ /** Cancelled */
166
155
  cancel(): void;
167
156
  static ɵfac: i0.ɵɵFactoryDeclaration<DeleteDialogComponent, never>;
168
157
  static ɵcmp: i0.ɵɵComponentDeclaration<DeleteDialogComponent, "ng-component", never, {}, { "choosen": "choosen"; }, never, never, true, never>;
@@ -171,23 +160,21 @@ declare class DeleteDialogComponent implements OnInit {
171
160
  interface IDialogService {
172
161
  }
173
162
  declare class BusyTimer {
174
- private timer;
175
- private dialogService;
163
+ private readonly dialogService;
164
+ private readonly subscription;
176
165
  constructor(dialogService: DialogService, due?: number, message?: string);
177
- /**
178
- * Dispose object
179
- */
166
+ /** Dispose object */
180
167
  clear(): void;
181
168
  }
182
169
  declare class DialogService extends UIService {
183
- private dialog;
184
- private overlay;
185
- private snackBar;
186
- private location;
170
+ private readonly dialog;
171
+ private readonly overlay;
172
+ private readonly snackBar;
173
+ private readonly location;
187
174
  private busyDialogRef?;
188
175
  private busyComponentRef?;
189
176
  private errorDialogRef?;
190
- private popHistory;
177
+ private readonly popHistory;
191
178
  private popState;
192
179
  private poppingState;
193
180
  constructor();
@@ -204,15 +191,15 @@ declare class DialogService extends UIService {
204
191
  * Open a dialog
205
192
  * @param component : the component
206
193
  * @param config : the config
207
- * @returns: the dialog object
194
+ * @returns the dialog object, or null when not running in a browser
208
195
  */
209
- open(component: any, config: MatDialogConfig): MatDialogRef<any>;
196
+ open<T>(component: ComponentType<T>, config: MatDialogConfig<unknown>): MatDialogRef<T> | null;
210
197
  /**
211
- * Open a dialog
212
- * @param component : the component
213
- * @param config : the config
214
- * @returns : the dialog object
215
- */
198
+ * Open a dialog
199
+ * @param component : the component
200
+ * @param config : the config
201
+ * @returns the dialog object
202
+ */
216
203
  private openDialog;
217
204
  /**
218
205
  * Returns the element height including margins
@@ -229,7 +216,7 @@ declare class DialogService extends UIService {
229
216
  */
230
217
  getCurrentDialogScrollableHeight(fixedPartsClassName: string[], minimalHeight: number): number;
231
218
  /**
232
- * Push a dialog info the history
219
+ * Push a dialog into the browser history
233
220
  */
234
221
  private pushDialog;
235
222
  /**
@@ -255,7 +242,7 @@ declare class DialogService extends UIService {
255
242
  * @param action : action to do during the execution (optional)
256
243
  * @returns true if a new popup has been opened
257
244
  */
258
- setBusy(message: string, progress?: number, progressMode?: 'determinate' | 'indeterminate', type?: 'bar' | 'spinner' | 'wait' | 'hourglass', action?: Observable<Object>): boolean;
245
+ setBusy(message: string, progress?: number, progressMode?: 'determinate' | 'indeterminate', type?: 'bar' | 'spinner' | 'wait' | 'hourglass', action?: Observable<unknown>): boolean;
259
246
  /**
260
247
  * Display a busy dialog
261
248
  * @param message : new message
@@ -264,7 +251,7 @@ declare class DialogService extends UIService {
264
251
  * @param action : action to do during the execution (optional)
265
252
  * @returns true if a new popup has been opened
266
253
  */
267
- busy(message: string, progress?: number, progressMode?: 'determinate' | 'indeterminate', action?: Observable<Object>): boolean;
254
+ busy(message: string, progress?: number, progressMode?: 'determinate' | 'indeterminate', action?: Observable<unknown>): boolean;
268
255
  /**
269
256
  * Display a busy timer
270
257
  * @param message : new message
@@ -273,27 +260,27 @@ declare class DialogService extends UIService {
273
260
  */
274
261
  busyTimer(message?: string, due?: number): BusyTimer;
275
262
  /**
276
- * Display a busy indeterminate dialog as hourglass
277
- * @param message : new message
278
- * @param action : action to do during the execution (optional)
279
- * @returns true if a new popup has been opened
280
- */
281
- busyHourglass(message: string, action?: Observable<Object>): boolean;
263
+ * Display a busy indeterminate dialog as hourglass
264
+ * @param message : new message
265
+ * @param action : action to do during the execution (optional)
266
+ * @returns true if a new popup has been opened
267
+ */
268
+ busyHourglass(message: string, action?: Observable<unknown>): boolean;
282
269
  /**
283
- * Display a busy spinner dialog
284
- * @param message : new message
285
- * @param progress : new progress
286
- * @param progressMode : new mode (default = 'indeterminate')
287
- * @param action : action to do during the execution (optional)
288
- * @returns true if a new popup has been opened
289
- */
290
- busySpinner(message: string, progress?: number, progressMode?: 'determinate' | 'indeterminate', action?: Observable<Object>): boolean;
270
+ * Display a busy spinner dialog
271
+ * @param message : new message
272
+ * @param progress : new progress
273
+ * @param progressMode : new mode (default = 'indeterminate')
274
+ * @param action : action to do during the execution (optional)
275
+ * @returns true if a new popup has been opened
276
+ */
277
+ busySpinner(message: string, progress?: number, progressMode?: 'determinate' | 'indeterminate', action?: Observable<unknown>): boolean;
291
278
  /**
292
- * Display a wait spinner
293
- * @param action : action to do during the execution (optional)
294
- * @returns true if a new popup has been opened
295
- */
296
- wait(action?: Observable<Object>): boolean;
279
+ * Display a wait spinner
280
+ * @param action : action to do during the execution (optional)
281
+ * @returns true if a new popup has been opened
282
+ */
283
+ wait(action?: Observable<unknown>): boolean;
297
284
  /**
298
285
  * Display an information dialog
299
286
  * @param message : message
@@ -332,20 +319,20 @@ declare class DialogService extends UIService {
332
319
  * @param otherCaption : other button caption
333
320
  * @param options: check box options
334
321
  * @param width: the preferred width
322
+ * @param details: optional details
335
323
  */
336
- confirm(message: string, title?: string, okCaption?: string, cancelCaption?: string, otherCaption?: string, options?: ConfirmDialogOption[], width?: number, details?: string): MatDialogRef<any, any>;
324
+ confirm(message: string, title?: string, okCaption?: string, cancelCaption?: string, otherCaption?: string, options?: ConfirmDialogOption[], width?: number, details?: string): MatDialogRef<ConfirmDialogComponent> | null;
337
325
  /**
338
- * Display a delete dialog
339
- * @param message : html message
340
- * @param title : dialog title
341
- * @param confirmMode : the confirm mode
342
- * @param okCaption : ok button caption
343
- * @param cancelCaption : cancel button caption
344
- * @param otherCaption : other button caption
345
- * @param options: check box options
346
- * @param width: the preferred width
347
- */
348
- delete(message: string, title?: string, confirmMode?: DeleteDialogConfirmMode, okCaption?: string, cancelCaption?: string, width?: number, details?: string): MatDialogRef<any, any>;
326
+ * Display a delete dialog
327
+ * @param message : html message
328
+ * @param title : dialog title
329
+ * @param confirmMode : the confirm mode
330
+ * @param okCaption : ok button caption
331
+ * @param cancelCaption : cancel button caption
332
+ * @param width: the preferred width
333
+ * @param details: optional details
334
+ */
335
+ delete(message: string, title?: string, confirmMode?: DeleteDialogConfirmMode, okCaption?: string, cancelCaption?: string, width?: number, details?: string): MatDialogRef<DeleteDialogComponent> | null;
349
336
  static ɵfac: i0.ɵɵFactoryDeclaration<DialogService, never>;
350
337
  static ɵprov: i0.ɵɵInjectableDeclaration<DialogService>;
351
338
  }
@@ -387,7 +374,7 @@ interface CredentialsDialogData {
387
374
  declare class CredentialsDialogComponent implements OnInit {
388
375
  readonly done: i0.OutputEmitterRef<CredentialsDialogResult>;
389
376
  readonly recoveringPassword: i0.OutputEmitterRef<CredentialsDialogResult>;
390
- private changeDetector;
377
+ private readonly changeDetector;
391
378
  protected dialogData: CredentialsDialogData;
392
379
  protected item: CredentialsDialogResult;
393
380
  protected showPassword: boolean;
@@ -398,13 +385,9 @@ declare class CredentialsDialogComponent implements OnInit {
398
385
  * @param message: the optional new message
399
386
  */
400
387
  changeMode(mode: 'email' | 'user' | 'otp', message?: string): void;
401
- /**
402
- * Done
403
- */
388
+ /** Done */
404
389
  protected ok(): void;
405
- /**
406
- * Recover password
407
- */
390
+ /** Recover password */
408
391
  protected recoverPassword(): void;
409
392
  static ɵfac: i0.ɵɵFactoryDeclaration<CredentialsDialogComponent, never>;
410
393
  static ɵcmp: i0.ɵɵComponentDeclaration<CredentialsDialogComponent, "ng-component", never, {}, { "done": "done"; "recoveringPassword": "recoveringPassword"; }, never, never, true, never>;
@@ -415,11 +398,9 @@ interface RecoverPasswordDialogData {
415
398
  }
416
399
  declare class RecoverPasswordDialogComponent {
417
400
  readonly done: i0.OutputEmitterRef<RecoverPasswordDialogResult>;
418
- protected dialogData: RecoverPasswordDialogData;
401
+ protected readonly dialogData: RecoverPasswordDialogData;
419
402
  protected item: RecoverPasswordDialogResult;
420
- /**
421
- * Done
422
- */
403
+ /** Done */
423
404
  protected ok(): void;
424
405
  static ɵfac: i0.ɵɵFactoryDeclaration<RecoverPasswordDialogComponent, never>;
425
406
  static ɵcmp: i0.ɵɵComponentDeclaration<RecoverPasswordDialogComponent, "ng-component", never, {}, { "done": "done"; }, never, never, true, never>;
@@ -433,21 +414,17 @@ interface ResetPasswordDialogData {
433
414
  }
434
415
  declare class ResetPasswordDialogComponent implements OnInit {
435
416
  readonly done: i0.OutputEmitterRef<ResetPasswordDialogResult>;
436
- private dialogService;
437
- private dialogRef;
417
+ private readonly dialogService;
418
+ private readonly dialogRef;
438
419
  protected dialogData: ResetPasswordDialogData;
439
420
  protected item: ResetPasswordDialogResult;
440
421
  protected showOldPassword: boolean;
441
422
  protected showPassword: boolean;
442
423
  protected showPassword2: boolean;
443
424
  ngOnInit(): void;
444
- /**
445
- * Done
446
- */
425
+ /** Done */
447
426
  protected ok(): void;
448
- /**
449
- * Generate a password
450
- */
427
+ /** Generate a password */
451
428
  protected generatePassword(): void;
452
429
  static ɵfac: i0.ɵɵFactoryDeclaration<ResetPasswordDialogComponent, never>;
453
430
  static ɵcmp: i0.ɵɵComponentDeclaration<ResetPasswordDialogComponent, "ng-component", never, {}, { "done": "done"; }, never, never, true, never>;
@@ -455,13 +432,8 @@ declare class ResetPasswordDialogComponent implements OnInit {
455
432
 
456
433
  declare class PasswordStrengthComponent {
457
434
  readonly password: i0.InputSignal<string>;
458
- protected strength: i0.WritableSignal<PasswordStrength>;
459
- protected scoreClass: i0.WritableSignal<string>;
460
- constructor();
461
- /**
462
- * Update password strength info
463
- */
464
- private updatePasswordStrength;
435
+ protected readonly strength: i0.Signal<PasswordStrength>;
436
+ protected readonly scoreClass: i0.Signal<string>;
465
437
  static ɵfac: i0.ɵɵFactoryDeclaration<PasswordStrengthComponent, never>;
466
438
  static ɵcmp: i0.ɵɵComponentDeclaration<PasswordStrengthComponent, "password-strength", never, { "password": { "alias": "password"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
467
439
  }
@@ -0,0 +1 @@
1
+ {"version":3,"file":"arsedizioni-ars-utils-ui.d.ts","sources":["../../../projects/ars-utils/ui/ui/definitions.ts","../../../projects/ars-utils/ui/ui/paginatorIntl.ts","../../../projects/ars-utils/ui/ui/dialogs/confirm/confirm-dialog.component.ts","../../../projects/ars-utils/ui/ui/dialogs/info/info-dialog.component.ts","../../../projects/ars-utils/ui/ui/dialogs/toast/toast.component.ts","../../../projects/ars-utils/ui/ui/services/ui.service.ts","../../../projects/ars-utils/ui/ui/dialogs/delete/delete-dialog.component.ts","../../../projects/ars-utils/ui/ui/services/dialog.service.ts","../../../projects/ars-utils/ui/ui/ui.module.ts","../../../projects/ars-utils/ui/ui/dialogs/busy/busy-dialog.component.ts","../../../projects/ars-utils/ui/ui/dialogs/credentials/credentials-dialog.component.ts","../../../projects/ars-utils/ui/ui/dialogs/recover-password/recover-password-dialog.component.ts","../../../projects/ars-utils/ui/ui/dialogs/reset-password/reset-password-dialog.component.ts","../../../projects/ars-utils/ui/ui/components/password-strength/password-strength.component.ts","../../../projects/ars-utils/ui/ui/components/otp/otp-input.component.ts"],"sourcesContent":[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],"names":["_angular_core"],"mappings":"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"}
@@ -1,5 +1,5 @@
1
1
  import * as _angular_core from '@angular/core';
2
- import { OnInit, OnDestroy } from '@angular/core';
2
+ import { OnInit } from '@angular/core';
3
3
  import { EnvironmentService } from '@arsedizioni/ars-utils/core';
4
4
  import { MsalGuardConfiguration, MsalInterceptorConfiguration } from '@azure/msal-angular';
5
5
  import { IPublicClientApplication } from '@azure/msal-browser';
@@ -23,8 +23,8 @@ declare class ArsUIOAuthModule {
23
23
  declare function MSALInstanceFactory(environment: EnvironmentService): IPublicClientApplication;
24
24
  declare function MSALInterceptorConfigFactory(environment: EnvironmentService): MsalInterceptorConfiguration;
25
25
  declare function MSALGuardConfigFactory(): MsalGuardConfiguration;
26
- declare class LoginOAuthComponent implements OnInit, OnDestroy {
27
- private unsubscribe;
26
+ declare class LoginOAuthComponent implements OnInit {
27
+ private readonly destroyRef;
28
28
  private msalBroadcastService;
29
29
  private msaLService;
30
30
  private dialogService;
@@ -39,7 +39,6 @@ declare class LoginOAuthComponent implements OnInit, OnDestroy {
39
39
  protected oauthMicrosoftReady: _angular_core.WritableSignal<boolean>;
40
40
  protected oauthGoogleReady: _angular_core.WritableSignal<boolean>;
41
41
  ngOnInit(): void;
42
- ngOnDestroy(): void;
43
42
  /**
44
43
  * Initialize open authentication
45
44
  * Must be a public method
@@ -0,0 +1 @@
1
+ {"version":3,"file":"arsedizioni-ars-utils-ui.oauth.d.ts","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"],"sourcesContent":[null,null,null],"names":[],"mappings":";;;;;;AAAA,aAAA,cAAA;AACE;AACA;AACA;AACD;;;;AAKA;;ACLD,cAAA,gBAAA;;;;AACiC;;ACKjC,iBAAA,mBAAA,cAAA,kBAAA,GAAA,wBAAA;AAaA,iBAAA,4BAAA,cAAA,kBAAA,GAAA,4BAAA;AAWA,iBAAA,sBAAA,IAAA,sBAAA;AASA,cAAA,mBAAA,YAAA,MAAA;AA4BE;;;;;sBAMgB,aAAA,CAAA,gBAAA,CAAA,gBAAA;uBAEC,aAAA,CAAA,WAAA;8BACO,aAAA,CAAA,WAAA;6BACD,aAAA,CAAA,WAAA;6BACA,aAAA,CAAA,WAAA;0BACH,aAAA,CAAA,WAAA;0BAGA,aAAA,CAAA,cAAA;mCACS,aAAA,CAAA,cAAA;gCACH,aAAA,CAAA,cAAA;;AA4B1B;;;AAGG;;AA2CH;;AAEE;AACF;AA0BA;;AAEA;AACA;;;AAID;;;;"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"arsedizioni-ars-utils.d.ts","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;"}