@arsedizioni/ars-utils 18.1.28 → 18.1.30

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 (43) hide show
  1. package/clipper.ui/ui/clipper.scss +1 -1
  2. package/esm2022/clipper.ui/ui/browser-dialog/browser-dialog.component.mjs +3 -3
  3. package/esm2022/clipper.ui/ui/document/document.component.mjs +3 -3
  4. package/esm2022/clipper.ui/ui/last-15-days/last-15-days.component.mjs +3 -3
  5. package/esm2022/clipper.ui/ui/references/references.component.mjs +3 -3
  6. package/esm2022/clipper.ui/ui/search-dialog/search-dialog.component.mjs +3 -3
  7. package/esm2022/clipper.ui/ui/search-facets/search-facets.component.mjs +3 -3
  8. package/esm2022/clipper.ui/ui/search-result-item/search-result-item.component.mjs +3 -3
  9. package/esm2022/help/components/help-viewer/help-viewer.component.mjs +3 -3
  10. package/esm2022/ui/ui/dialogs/busy/busy-dialog.component.mjs +14 -9
  11. package/esm2022/ui/ui/dialogs/confirm/confirm-dialog.component.mjs +29 -19
  12. package/esm2022/ui/ui/dialogs/credentials/credentials-dialog.component.mjs +29 -23
  13. package/esm2022/ui/ui/dialogs/info/info-dialog.component.mjs +31 -20
  14. package/esm2022/ui/ui/dialogs/recover-password/recover-password-dialog.component.mjs +19 -25
  15. package/esm2022/ui/ui/dialogs/reset-password/reset-password-dialog.component.mjs +32 -35
  16. package/esm2022/ui/ui/dialogs/toast/toast.component.mjs +8 -11
  17. package/esm2022/ui/ui/services/dialog.service.mjs +3 -3
  18. package/esm2022/ui.application/ui/dialogs/prompt/prompt-dialog.component.mjs +3 -3
  19. package/esm2022/ui.application/ui/dialogs/prompt-date/prompt-date-dialog.component.mjs +3 -3
  20. package/esm2022/ui.application/ui/dialogs/prompt-time/prompt-time-dialog.component.mjs +3 -3
  21. package/esm2022/ui.application/ui/dialogs/select/select-dialog.component.mjs +3 -3
  22. package/esm2022/ui.application/ui/dialogs/select-file/select-file-dialog.component.mjs +3 -3
  23. package/esm2022/ui.application/ui/dialogs/select-picture/select-picture-dialog.component.mjs +3 -3
  24. package/esm2022/ui.application/ui/dialogs/select-tree/select-tree-dialog.component.mjs +3 -3
  25. package/esm2022/ui.application/ui/dialogs/send-to/send-to-dialog.component.mjs +3 -3
  26. package/fesm2022/arsedizioni-ars-utils-clipper.ui.mjs +14 -14
  27. package/fesm2022/arsedizioni-ars-utils-clipper.ui.mjs.map +1 -1
  28. package/fesm2022/arsedizioni-ars-utils-help.mjs +2 -2
  29. package/fesm2022/arsedizioni-ars-utils-help.mjs.map +1 -1
  30. package/fesm2022/arsedizioni-ars-utils-ui.application.mjs +16 -16
  31. package/fesm2022/arsedizioni-ars-utils-ui.application.mjs.map +1 -1
  32. package/fesm2022/arsedizioni-ars-utils-ui.mjs +135 -111
  33. package/fesm2022/arsedizioni-ars-utils-ui.mjs.map +1 -1
  34. package/help/help.scss +1 -1
  35. package/package.json +7 -7
  36. package/styles/ui.scss +101 -0
  37. package/ui/ui/dialogs/busy/busy-dialog.component.d.ts +0 -1
  38. package/ui/ui/dialogs/confirm/confirm-dialog.component.d.ts +10 -11
  39. package/ui/ui/dialogs/credentials/credentials-dialog.component.d.ts +16 -16
  40. package/ui/ui/dialogs/info/info-dialog.component.d.ts +13 -8
  41. package/ui/ui/dialogs/recover-password/recover-password-dialog.component.d.ts +4 -8
  42. package/ui/ui/dialogs/reset-password/reset-password-dialog.component.d.ts +9 -12
  43. package/ui/ui/dialogs/toast/toast.component.d.ts +4 -5
@@ -1,20 +1,19 @@
1
- import { EventEmitter } from '@angular/core';
2
- import { MatDialogRef } from '@angular/material/dialog';
1
+ import { EventEmitter, OnInit } from '@angular/core';
3
2
  import { DialogResult } from '../../definitions';
4
3
  import * as i0 from "@angular/core";
5
4
  export interface ConfirmDialogData {
6
- title: string;
5
+ title?: string | null;
7
6
  message: string;
8
- okCaption?: string;
9
- cancelCaption?: string;
10
- otherCaption?: string;
11
- options: any;
7
+ okCaption?: string | null;
8
+ cancelCaption?: string | null;
9
+ otherCaption?: string | null;
10
+ options: any | null;
12
11
  }
13
- export declare class ConfirmDialogComponent {
14
- dialogRef: MatDialogRef<ConfirmDialogComponent>;
12
+ export declare class ConfirmDialogComponent implements OnInit {
15
13
  choosen: EventEmitter<DialogResult>;
16
- data: ConfirmDialogData;
17
- constructor(dialogRef: MatDialogRef<ConfirmDialogComponent>, _data: ConfirmDialogData);
14
+ private dialogRef;
15
+ protected dialogData: ConfirmDialogData;
16
+ ngOnInit(): void;
18
17
  /**
19
18
  * Done
20
19
  */
@@ -1,31 +1,31 @@
1
- import { EventEmitter } from "@angular/core";
1
+ import { EventEmitter, OnInit } from "@angular/core";
2
2
  import { CredentialsDialogResult } from "../../definitions";
3
3
  import * as i0 from "@angular/core";
4
4
  export interface CredentialsDialogData {
5
- title?: string;
6
- message?: string;
7
- remember?: boolean;
8
- recoverPassword?: boolean;
9
- recoverPasswordUrl?: string;
10
- user?: string;
11
- okCaption?: string;
12
- mode?: number;
13
- appearance?: string;
5
+ title?: string | null;
6
+ message?: string | null;
7
+ remember?: boolean | null;
8
+ recoverPassword?: boolean | null;
9
+ recoverPasswordUrl?: string | null;
10
+ user?: string | null;
11
+ okCaption?: string | null;
12
+ mode?: number | null;
13
+ appearance?: string | null;
14
14
  }
15
- export declare class CredentialsDialogComponent {
15
+ export declare class CredentialsDialogComponent implements OnInit {
16
16
  done: EventEmitter<CredentialsDialogResult>;
17
17
  recoveringPassword: EventEmitter<any>;
18
- data: CredentialsDialogData;
19
- item: CredentialsDialogResult;
20
- constructor(_data: CredentialsDialogData);
18
+ protected dialogData: CredentialsDialogData;
19
+ protected item: CredentialsDialogResult;
20
+ ngOnInit(): void;
21
21
  /**
22
22
  * Done
23
23
  */
24
- ok(): void;
24
+ protected ok(): void;
25
25
  /**
26
26
  * Recover password
27
27
  */
28
- recoverPassword(): void;
28
+ protected recoverPassword(): void;
29
29
  static ɵfac: i0.ɵɵFactoryDeclaration<CredentialsDialogComponent, never>;
30
30
  static ɵcmp: i0.ɵɵComponentDeclaration<CredentialsDialogComponent, "ng-component", never, {}, { "done": "done"; "recoveringPassword": "recoveringPassword"; }, never, never, true, never>;
31
31
  }
@@ -1,16 +1,21 @@
1
- import { MatDialogRef } from '@angular/material/dialog';
1
+ import { OnInit } from '@angular/core';
2
2
  import * as i0 from "@angular/core";
3
3
  export interface InfoDialogData {
4
- title: string;
4
+ title?: string | null;
5
5
  message: string;
6
- details?: string;
7
- okCaption?: string;
8
- dismissAfter?: number;
6
+ details?: string | null;
7
+ okCaption?: string | null;
8
+ dismissAfter?: number | null;
9
9
  }
10
- export declare class InfoDialogComponent {
10
+ export declare class InfoDialogComponent implements OnInit {
11
11
  private dialogRef;
12
- data: InfoDialogData;
13
- constructor(dialogRef: MatDialogRef<InfoDialogComponent>, _data: InfoDialogData);
12
+ protected dialogData: InfoDialogData;
13
+ ngOnInit(): void;
14
+ /**
15
+ * Set the dialog data manually
16
+ * @param data : the new dialog data
17
+ */
18
+ setData(data: InfoDialogData): void;
14
19
  static ɵfac: i0.ɵɵFactoryDeclaration<InfoDialogComponent, never>;
15
20
  static ɵcmp: i0.ɵɵComponentDeclaration<InfoDialogComponent, "ng-component", never, {}, {}, never, never, true, never>;
16
21
  }
@@ -1,21 +1,17 @@
1
1
  import { EventEmitter } from "@angular/core";
2
- import { MatDialogRef } from "@angular/material/dialog";
3
2
  import { RecoverPasswordDialogResult } from '../../definitions';
4
3
  import * as i0 from "@angular/core";
5
4
  export interface RecoverPasswordDialogData {
6
- appearance?: string;
5
+ appearance?: string | null;
7
6
  }
8
7
  export declare class RecoverPasswordDialogComponent {
9
- dialogRef: MatDialogRef<RecoverPasswordDialogComponent>;
10
8
  done: EventEmitter<RecoverPasswordDialogResult>;
11
- data: RecoverPasswordDialogData;
12
- item: RecoverPasswordDialogResult;
13
- recaptchaOk: boolean;
14
- constructor(dialogRef: MatDialogRef<RecoverPasswordDialogComponent>, _data: RecoverPasswordDialogData);
9
+ protected dialogData: RecoverPasswordDialogData;
10
+ protected item: RecoverPasswordDialogResult;
15
11
  /**
16
12
  * Done
17
13
  */
18
- ok(): void;
14
+ protected ok(): void;
19
15
  static ɵfac: i0.ɵɵFactoryDeclaration<RecoverPasswordDialogComponent, never>;
20
16
  static ɵcmp: i0.ɵɵComponentDeclaration<RecoverPasswordDialogComponent, "ng-component", never, {}, { "done": "done"; }, never, never, true, never>;
21
17
  }
@@ -1,30 +1,27 @@
1
1
  import { EventEmitter, OnInit } from "@angular/core";
2
- import { MatDialogRef } from "@angular/material/dialog";
3
2
  import { ResetPasswordDialogResult } from '../../definitions';
4
- import { DialogService } from '../../services/dialog.service';
5
3
  import * as i0 from "@angular/core";
6
4
  export interface ResetPasswordDialogData {
7
5
  mode: number;
8
- userId?: number;
9
- userEmail?: string;
10
- appearance?: string;
6
+ userId?: number | null;
7
+ userEmail?: string | null;
8
+ appearance?: string | null;
11
9
  }
12
10
  export declare class ResetPasswordDialogComponent implements OnInit {
13
- private $dialog;
14
- private dialogRef;
15
11
  done: EventEmitter<ResetPasswordDialogResult>;
16
- data: ResetPasswordDialogData;
17
- item: ResetPasswordDialogResult;
18
- constructor($dialog: DialogService, dialogRef: MatDialogRef<ResetPasswordDialogComponent>, _data: ResetPasswordDialogData);
12
+ private dialogService;
13
+ private dialogRef;
14
+ protected dialogData: ResetPasswordDialogData;
15
+ protected item: ResetPasswordDialogResult;
19
16
  ngOnInit(): void;
20
17
  /**
21
18
  * Done
22
19
  */
23
- ok(): void;
20
+ protected ok(): void;
24
21
  /**
25
22
  * Generate a password
26
23
  */
27
- generatePassword(): void;
24
+ protected generatePassword(): void;
28
25
  static ɵfac: i0.ɵɵFactoryDeclaration<ResetPasswordDialogComponent, never>;
29
26
  static ɵcmp: i0.ɵɵComponentDeclaration<ResetPasswordDialogComponent, "ng-component", never, {}, { "done": "done"; }, never, never, true, never>;
30
27
  }
@@ -2,17 +2,16 @@ import { EventEmitter } from '@angular/core';
2
2
  import * as i0 from "@angular/core";
3
3
  export interface ToastData {
4
4
  message: string;
5
- icon?: string;
6
- actionCaption?: string;
5
+ icon?: string | null;
6
+ actionCaption?: string | null;
7
7
  }
8
8
  export declare class ToastComponent {
9
9
  action: EventEmitter<void>;
10
- data: ToastData;
11
- constructor(_data: ToastData);
10
+ protected dialogData: ToastData;
12
11
  /**
13
12
  * Do action
14
13
  */
15
- do(): void;
14
+ protected do(): void;
16
15
  static ɵfac: i0.ɵɵFactoryDeclaration<ToastComponent, never>;
17
16
  static ɵcmp: i0.ɵɵComponentDeclaration<ToastComponent, "ng-component", never, {}, { "action": "action"; }, never, never, true, never>;
18
17
  }