@arsedizioni/ars-utils 18.1.62 → 18.1.64

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 (61) hide show
  1. package/core/definitions.d.ts +7 -7
  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/core/definitions.mjs +1 -1
  10. package/esm2022/help/components/help-viewer/help-viewer.component.mjs +3 -3
  11. package/esm2022/support.common/common/interceptors/auth.interceptor.mjs +15 -15
  12. package/esm2022/support.common/common/services/support.service.mjs +30 -29
  13. package/esm2022/support.common/common/support.mjs +1 -1
  14. package/esm2022/support.ui/ui/notifications-browser/notification/notification.component.mjs +46 -51
  15. package/esm2022/support.ui/ui/notifications-browser/notifications-browser.component.mjs +73 -74
  16. package/esm2022/tinymce/full-screen-editor/full-screen-editor.component.mjs +24 -24
  17. package/esm2022/ui/ui/definitions.mjs +1 -1
  18. package/esm2022/ui/ui/dialogs/busy/busy-dialog.component.mjs +3 -3
  19. package/esm2022/ui/ui/dialogs/confirm/confirm-dialog.component.mjs +3 -3
  20. package/esm2022/ui/ui/dialogs/credentials/credentials-dialog.component.mjs +3 -3
  21. package/esm2022/ui/ui/dialogs/info/info-dialog.component.mjs +3 -3
  22. package/esm2022/ui/ui/dialogs/recover-password/recover-password-dialog.component.mjs +3 -3
  23. package/esm2022/ui/ui/dialogs/reset-password/reset-password-dialog.component.mjs +3 -3
  24. package/esm2022/ui.application/ui/components/filter-bar/filter-bar.component.mjs +3 -3
  25. package/esm2022/ui.application/ui/definitions.mjs +1 -1
  26. package/esm2022/ui.application/ui/dialogs/prompt/prompt-dialog.component.mjs +3 -3
  27. package/esm2022/ui.application/ui/dialogs/prompt-date/prompt-date-dialog.component.mjs +3 -3
  28. package/esm2022/ui.application/ui/dialogs/prompt-time/prompt-time-dialog.component.mjs +3 -3
  29. package/esm2022/ui.application/ui/dialogs/select/select-dialog.component.mjs +3 -3
  30. package/esm2022/ui.application/ui/dialogs/select-file/select-file-dialog.component.mjs +3 -3
  31. package/esm2022/ui.application/ui/dialogs/select-picture/select-picture-dialog.component.mjs +3 -3
  32. package/esm2022/ui.application/ui/dialogs/select-tree/select-tree-dialog.component.mjs +3 -3
  33. package/esm2022/ui.application/ui/dialogs/send-to/send-to-dialog.component.mjs +3 -3
  34. package/esm2022/ui.application/ui/filters.mjs +2 -1
  35. package/fesm2022/arsedizioni-ars-utils-clipper.ui.mjs +14 -14
  36. package/fesm2022/arsedizioni-ars-utils-clipper.ui.mjs.map +1 -1
  37. package/fesm2022/arsedizioni-ars-utils-core.mjs.map +1 -1
  38. package/fesm2022/arsedizioni-ars-utils-help.mjs +2 -2
  39. package/fesm2022/arsedizioni-ars-utils-help.mjs.map +1 -1
  40. package/fesm2022/arsedizioni-ars-utils-support.common.mjs +41 -40
  41. package/fesm2022/arsedizioni-ars-utils-support.common.mjs.map +1 -1
  42. package/fesm2022/arsedizioni-ars-utils-support.ui.mjs +108 -112
  43. package/fesm2022/arsedizioni-ars-utils-support.ui.mjs.map +1 -1
  44. package/fesm2022/arsedizioni-ars-utils-tinymce.mjs +23 -23
  45. package/fesm2022/arsedizioni-ars-utils-tinymce.mjs.map +1 -1
  46. package/fesm2022/arsedizioni-ars-utils-ui.application.mjs +19 -18
  47. package/fesm2022/arsedizioni-ars-utils-ui.application.mjs.map +1 -1
  48. package/fesm2022/arsedizioni-ars-utils-ui.mjs +12 -12
  49. package/fesm2022/arsedizioni-ars-utils-ui.mjs.map +1 -1
  50. package/package.json +7 -7
  51. package/styles/ui.scss +36 -4
  52. package/support.common/common/interceptors/auth.interceptor.d.ts +2 -5
  53. package/support.common/common/services/support.service.d.ts +4 -6
  54. package/support.common/common/support.d.ts +6 -6
  55. package/support.ui/ui/notifications-browser/notification/notification.component.d.ts +13 -12
  56. package/support.ui/ui/notifications-browser/notifications-browser.component.d.ts +19 -23
  57. package/tinymce/full-screen-editor/full-screen-editor.component.d.ts +11 -11
  58. package/ui/ui/definitions.d.ts +3 -3
  59. package/ui.application/ui/definitions.d.ts +10 -10
  60. package/ui.application/ui/dialogs/send-to/send-to-dialog.component.d.ts +5 -5
  61. package/ui.application/ui/filters.d.ts +17 -17
@@ -1,12 +1,12 @@
1
1
  export interface SupportNotificationsSearchParams {
2
- any?: string;
3
- products?: number;
4
- productModules?: number;
5
- first?: number;
6
- count?: number;
2
+ any?: string | null;
3
+ products?: number | null;
4
+ productModules?: number | null;
5
+ first?: number | null;
6
+ count?: number | null;
7
7
  }
8
8
  export interface SupportNotificationsInfo {
9
- unread?: number;
9
+ unread?: number | null;
10
10
  }
11
11
  export declare enum SupportProduct {
12
12
  Clipper = 1,
@@ -1,18 +1,19 @@
1
1
  import { AfterViewInit, OnInit } from '@angular/core';
2
- import { BroadcastService, ScreenService } from '@arsedizioni/ars-utils/core';
3
- import { SupportService } from '@arsedizioni/ars-utils/support.common';
4
- import { DialogService } from '@arsedizioni/ars-utils/ui';
2
+ import { ScreenService } from '@arsedizioni/ars-utils/core';
5
3
  import * as i0 from "@angular/core";
4
+ export interface SupportNotificationData {
5
+ id?: number | null;
6
+ }
6
7
  export declare class SupportNotificationComponent implements OnInit, AfterViewInit {
7
- $screen: ScreenService;
8
- private $broadcast;
9
- private $support;
10
- private $dialog;
8
+ protected screenService: ScreenService;
9
+ private supportService;
10
+ private changeDetector;
11
+ private broadcastService;
12
+ private dialogService;
13
+ private dialogData;
11
14
  private height;
12
- onResize(): void;
13
- id: number;
14
- item: any;
15
- constructor($screen: ScreenService, $broadcast: BroadcastService, $support: SupportService, $dialog: DialogService, _data: any);
15
+ protected id: number;
16
+ protected item: any | null;
16
17
  ngOnInit(): void;
17
18
  ngAfterViewInit(): void;
18
19
  /**
@@ -27,7 +28,7 @@ export declare class SupportNotificationComponent implements OnInit, AfterViewIn
27
28
  * Download a notification document or navigate to the url
28
29
  * @param item : the document item
29
30
  */
30
- downloadDocument(item: any): void;
31
+ protected downloadDocument(item: any): void;
31
32
  static ɵfac: i0.ɵɵFactoryDeclaration<SupportNotificationComponent, never>;
32
33
  static ɵcmp: i0.ɵɵComponentDeclaration<SupportNotificationComponent, "ng-component", never, {}, {}, never, never, true, never>;
33
34
  }
@@ -1,30 +1,26 @@
1
1
  import { AfterViewInit, OnDestroy, OnInit } from '@angular/core';
2
2
  import { MatMenuTrigger } from '@angular/material/menu';
3
3
  import { MatPaginator } from '@angular/material/paginator';
4
- import { BroadcastService, ScreenService, SelectableModel } from '@arsedizioni/ars-utils/core';
5
- import { SupportService, SupportNotificationsSearchParams } from '@arsedizioni/ars-utils/support.common';
6
- import { DialogService } from '@arsedizioni/ars-utils/ui';
4
+ import { ScreenService, SelectableModel } from '@arsedizioni/ars-utils/core';
5
+ import { SupportNotificationsSearchParams } from '@arsedizioni/ars-utils/support.common';
7
6
  import * as i0 from "@angular/core";
8
7
  export declare class SupportNotificationsBrowserComponent implements OnInit, OnDestroy, AfterViewInit {
9
- $screen: ScreenService;
10
- private $support;
11
- private $broadcast;
12
- private $dialog;
13
- private messageWatcher;
14
- private height;
15
8
  paginator: MatPaginator;
16
9
  contextMenu: MatMenuTrigger;
17
- onResize(): void;
18
- selection: SelectableModel<any, number>;
19
- searchParams: SupportNotificationsSearchParams;
20
- total: number;
21
- trackById: (_index: number, item: any) => any;
22
- items: any;
23
- contextMenuPosition: {
10
+ protected screenService: ScreenService;
11
+ private supportService;
12
+ private broadcastService;
13
+ private dialogService;
14
+ private unsubscribe;
15
+ private height;
16
+ protected selection: SelectableModel<any, number>;
17
+ protected searchParams: SupportNotificationsSearchParams;
18
+ protected total: number | null;
19
+ protected items: any | null;
20
+ protected contextMenuPosition: {
24
21
  x: string;
25
22
  y: string;
26
23
  };
27
- constructor($screen: ScreenService, $support: SupportService, $broadcast: BroadcastService, $dialog: DialogService);
28
24
  ngOnInit(): void;
29
25
  ngOnDestroy(): void;
30
26
  ngAfterViewInit(): void;
@@ -32,7 +28,7 @@ export declare class SupportNotificationsBrowserComponent implements OnInit, OnD
32
28
  * Resize dialog
33
29
  */
34
30
  private resize;
35
- onContextMenu(event: MouseEvent, item: any): void;
31
+ protected onContextMenu(event: MouseEvent, item: any): void;
36
32
  /**
37
33
  * Update scroll
38
34
  */
@@ -40,7 +36,7 @@ export declare class SupportNotificationsBrowserComponent implements OnInit, OnD
40
36
  /**
41
37
  * Update menu buttons visibility when the menu is closed
42
38
  */
43
- updateMenuButtonsVisibility(): void;
39
+ protected updateMenuButtonsVisibility(): void;
44
40
  /**
45
41
  * Get all selected ids
46
42
  * @returns: the selected ids as an array
@@ -49,7 +45,7 @@ export declare class SupportNotificationsBrowserComponent implements OnInit, OnD
49
45
  /**
50
46
  * Perform a new search
51
47
  */
52
- find(): void;
48
+ protected find(): void;
53
49
  /**
54
50
  * Retrieve data
55
51
  */
@@ -58,18 +54,18 @@ export declare class SupportNotificationsBrowserComponent implements OnInit, OnD
58
54
  * Show a new page result
59
55
  * @param e : the MatPaginator PageEvent data
60
56
  */
61
- fetchMore(e: any): void;
57
+ protected fetchMore(e: any): void;
62
58
  /**
63
59
  * Mark a notification as read or unread
64
60
  * @param item : the item to set or null to use selection
65
61
  * @param unmark : true to set as unread or false to set as read
66
62
  */
67
- mark(item?: any, unmark?: boolean): void;
63
+ protected mark(item?: any, unmark?: boolean): void;
68
64
  /**
69
65
  * Display a notification
70
66
  * @param item : the item to display
71
67
  */
72
- show(item: any): void;
68
+ protected show(item: any): void;
73
69
  static ɵfac: i0.ɵɵFactoryDeclaration<SupportNotificationsBrowserComponent, never>;
74
70
  static ɵcmp: i0.ɵɵComponentDeclaration<SupportNotificationsBrowserComponent, "ng-component", never, {}, {}, never, never, true, never>;
75
71
  }
@@ -1,22 +1,22 @@
1
- import { EventEmitter } from '@angular/core';
2
- import { MatDialogRef } from '@angular/material/dialog';
1
+ import { EventEmitter, OnInit } from '@angular/core';
3
2
  import * as i0 from "@angular/core";
4
3
  export interface FullScreenEditorDialogData {
5
4
  text: string;
6
5
  configuration: Record<string, any>;
7
- disabled?: boolean;
6
+ disabled?: boolean | null;
8
7
  }
9
- export declare class FullScreenEditorComponent {
10
- private dialogRef;
8
+ export declare class FullScreenEditorComponent implements OnInit {
11
9
  saving: EventEmitter<string>;
12
- disabled: boolean;
13
- text?: string;
14
- tinymceConfig: Record<string, any>;
15
- constructor(dialogRef: MatDialogRef<FullScreenEditorComponent>, _data: FullScreenEditorDialogData);
10
+ private dialogRef;
11
+ protected dialogData: FullScreenEditorDialogData;
12
+ protected disabled: import("@angular/core").WritableSignal<boolean>;
13
+ protected text?: string | null;
14
+ protected tinymceConfig: Record<string, any>;
15
+ ngOnInit(): void;
16
16
  /**
17
17
  * Save data
18
18
  */
19
- ok(): void;
19
+ protected ok(): void;
20
20
  static ɵfac: i0.ɵɵFactoryDeclaration<FullScreenEditorComponent, never>;
21
- static ɵcmp: i0.ɵɵComponentDeclaration<FullScreenEditorComponent, "ng-component", never, { "disabled": { "alias": "disabled"; "required": false; }; }, { "saving": "saving"; }, never, never, true, never>;
21
+ static ɵcmp: i0.ɵɵComponentDeclaration<FullScreenEditorComponent, "ng-component", never, {}, { "saving": "saving"; }, never, never, true, never>;
22
22
  }
@@ -1,6 +1,6 @@
1
1
  export interface DialogResult {
2
- result?: string;
3
- options?: any;
2
+ result?: string | null;
3
+ options?: any | null;
4
4
  }
5
5
  export interface RecoverPasswordDialogResult {
6
6
  email: string;
@@ -16,5 +16,5 @@ export interface ResetPasswordDialogResult {
16
16
  export interface CredentialsDialogResult {
17
17
  user: string;
18
18
  password: string;
19
- rememberMe?: boolean;
19
+ rememberMe?: boolean | null;
20
20
  }
@@ -109,16 +109,16 @@ export declare enum PromptDialogType {
109
109
  export interface PromptDialogData {
110
110
  title: string;
111
111
  type: PromptDialogType;
112
- description?: string;
113
- okCaption?: string;
114
- cancelCaption?: string;
115
- initialValue?: any;
116
- minValue?: number;
117
- maxValue?: number;
118
- required?: boolean;
119
- appearance?: string;
120
- options?: any;
112
+ description?: string | null;
113
+ okCaption?: string | null;
114
+ cancelCaption?: string | null;
115
+ initialValue?: any | null;
116
+ minValue?: number | null;
117
+ maxValue?: number | null;
118
+ required?: boolean | null;
119
+ appearance?: string | null;
120
+ options?: any | null;
121
121
  }
122
122
  export interface PromptTimeDialogData extends PromptDialogData {
123
- slots?: string;
123
+ slots?: string | null;
124
124
  }
@@ -3,11 +3,11 @@ import { SendToDialogResult } from "../../definitions";
3
3
  import * as i0 from "@angular/core";
4
4
  export interface SendToDialogData {
5
5
  count: number;
6
- title?: string;
7
- info?: string;
8
- appearance?: string;
9
- allowPopulate?: boolean;
10
- options?: any;
6
+ title?: string | null;
7
+ info?: string | null;
8
+ appearance?: string | null;
9
+ allowPopulate?: boolean | null;
10
+ options?: any | null;
11
11
  }
12
12
  export declare class SendToDialogComponent implements OnInit {
13
13
  done: EventEmitter<SendToDialogResult>;
@@ -29,19 +29,19 @@ export declare class CurrentFilterChanged {
29
29
  group: number;
30
30
  }
31
31
  export declare class CurrentFilter {
32
- flt1?: any;
33
- flt1Name?: string;
34
- flt2?: any;
35
- flt2Name?: string;
36
- flt3?: any;
37
- flt3Name?: string;
38
- flt4?: any;
39
- flt4Name?: string;
40
- flt5?: any;
41
- flt5Name?: string;
42
- text?: string;
43
- text2?: string;
44
- text3?: string;
32
+ flt1?: any | null;
33
+ flt1Name?: string | null;
34
+ flt2?: any | null;
35
+ flt2Name?: string | null;
36
+ flt3?: any | null;
37
+ flt3Name?: string | null;
38
+ flt4?: any | null;
39
+ flt4Name?: string | null;
40
+ flt5?: any | null;
41
+ flt5Name?: string | null;
42
+ text?: string | null;
43
+ text2?: string | null;
44
+ text3?: string | null;
45
45
  /**
46
46
  * Update filtered value
47
47
  */
@@ -49,9 +49,9 @@ export declare class CurrentFilter {
49
49
  }
50
50
  export declare class CurrentFilterItem<T> {
51
51
  items?: any[];
52
- value?: T;
53
- enabled?: boolean;
54
- title?: string;
55
- selectedTitle?: string;
52
+ value?: T | null;
53
+ enabled?: boolean | null;
54
+ title?: string | null;
55
+ selectedTitle?: string | null;
56
56
  clear(): void;
57
57
  }