@arsedizioni/ars-utils 18.1.61 → 18.1.63
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.
- package/core/definitions.d.ts +7 -7
- package/esm2022/clipper.ui/ui/browser-dialog/browser-dialog.component.mjs +3 -3
- package/esm2022/clipper.ui/ui/document/document.component.mjs +3 -3
- package/esm2022/clipper.ui/ui/last-15-days/last-15-days.component.mjs +3 -3
- package/esm2022/clipper.ui/ui/references/references.component.mjs +3 -3
- package/esm2022/clipper.ui/ui/search-dialog/search-dialog.component.mjs +3 -3
- package/esm2022/clipper.ui/ui/search-facets/search-facets.component.mjs +3 -3
- package/esm2022/clipper.ui/ui/search-result-item/search-result-item.component.mjs +3 -3
- package/esm2022/core/definitions.mjs +1 -1
- package/esm2022/help/components/help-viewer/help-viewer.component.mjs +3 -3
- package/esm2022/support.common/common/interceptors/auth.interceptor.mjs +15 -15
- package/esm2022/support.common/common/services/support.service.mjs +30 -29
- package/esm2022/support.common/common/support.mjs +1 -1
- package/esm2022/support.ui/ui/notifications-browser/notification/notification.component.mjs +46 -51
- package/esm2022/support.ui/ui/notifications-browser/notifications-browser.component.mjs +73 -74
- package/esm2022/tinymce/full-screen-editor/full-screen-editor.component.mjs +24 -24
- package/esm2022/ui/ui/definitions.mjs +1 -1
- package/esm2022/ui/ui/dialogs/busy/busy-dialog.component.mjs +3 -3
- package/esm2022/ui/ui/dialogs/confirm/confirm-dialog.component.mjs +3 -3
- package/esm2022/ui/ui/dialogs/credentials/credentials-dialog.component.mjs +3 -3
- package/esm2022/ui/ui/dialogs/info/info-dialog.component.mjs +3 -3
- package/esm2022/ui/ui/dialogs/recover-password/recover-password-dialog.component.mjs +3 -3
- package/esm2022/ui/ui/dialogs/reset-password/reset-password-dialog.component.mjs +3 -3
- package/esm2022/ui.application/ui/components/filter-bar/filter-bar.component.mjs +3 -3
- package/esm2022/ui.application/ui/definitions.mjs +1 -1
- package/esm2022/ui.application/ui/dialogs/prompt/prompt-dialog.component.mjs +3 -3
- package/esm2022/ui.application/ui/dialogs/prompt-date/prompt-date-dialog.component.mjs +3 -3
- package/esm2022/ui.application/ui/dialogs/prompt-time/prompt-time-dialog.component.mjs +3 -3
- package/esm2022/ui.application/ui/dialogs/select/select-dialog.component.mjs +3 -3
- package/esm2022/ui.application/ui/dialogs/select-file/select-file-dialog.component.mjs +3 -3
- package/esm2022/ui.application/ui/dialogs/select-picture/select-picture-dialog.component.mjs +3 -3
- package/esm2022/ui.application/ui/dialogs/select-tree/select-tree-dialog.component.mjs +3 -3
- package/esm2022/ui.application/ui/dialogs/send-to/send-to-dialog.component.mjs +3 -3
- package/esm2022/ui.application/ui/filters.mjs +2 -1
- package/fesm2022/arsedizioni-ars-utils-clipper.ui.mjs +14 -14
- package/fesm2022/arsedizioni-ars-utils-clipper.ui.mjs.map +1 -1
- package/fesm2022/arsedizioni-ars-utils-core.mjs.map +1 -1
- package/fesm2022/arsedizioni-ars-utils-help.mjs +2 -2
- package/fesm2022/arsedizioni-ars-utils-help.mjs.map +1 -1
- package/fesm2022/arsedizioni-ars-utils-support.common.mjs +41 -40
- package/fesm2022/arsedizioni-ars-utils-support.common.mjs.map +1 -1
- package/fesm2022/arsedizioni-ars-utils-support.ui.mjs +108 -112
- package/fesm2022/arsedizioni-ars-utils-support.ui.mjs.map +1 -1
- package/fesm2022/arsedizioni-ars-utils-tinymce.mjs +23 -23
- package/fesm2022/arsedizioni-ars-utils-tinymce.mjs.map +1 -1
- package/fesm2022/arsedizioni-ars-utils-ui.application.mjs +19 -18
- package/fesm2022/arsedizioni-ars-utils-ui.application.mjs.map +1 -1
- package/fesm2022/arsedizioni-ars-utils-ui.mjs +12 -12
- package/fesm2022/arsedizioni-ars-utils-ui.mjs.map +1 -1
- package/package.json +7 -7
- package/styles/ui.scss +36 -4
- package/support.common/common/interceptors/auth.interceptor.d.ts +2 -5
- package/support.common/common/services/support.service.d.ts +4 -6
- package/support.common/common/support.d.ts +6 -6
- package/support.ui/ui/notifications-browser/notification/notification.component.d.ts +13 -12
- package/support.ui/ui/notifications-browser/notifications-browser.component.d.ts +19 -23
- package/tinymce/full-screen-editor/full-screen-editor.component.d.ts +11 -11
- package/ui/ui/definitions.d.ts +3 -3
- package/ui.application/ui/definitions.d.ts +10 -10
- package/ui.application/ui/dialogs/send-to/send-to-dialog.component.d.ts +5 -5
- 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 {
|
|
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
|
-
|
|
8
|
-
private
|
|
9
|
-
private
|
|
10
|
-
private
|
|
8
|
+
protected screenService: ScreenService;
|
|
9
|
+
private supportService;
|
|
10
|
+
private changeDetector;
|
|
11
|
+
private broadcastService;
|
|
12
|
+
private dialogService;
|
|
13
|
+
private dialogData;
|
|
11
14
|
private height;
|
|
12
|
-
|
|
13
|
-
|
|
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 {
|
|
5
|
-
import {
|
|
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
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
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
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
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, {
|
|
21
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FullScreenEditorComponent, "ng-component", never, {}, { "saving": "saving"; }, never, never, true, never>;
|
|
22
22
|
}
|
package/ui/ui/definitions.d.ts
CHANGED
|
@@ -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
|
}
|