@arsedizioni/ars-utils 18.2.365 → 18.2.371
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/clipper.common/common/services/clipper.service.d.ts +1 -1
- package/clipper.ui/ui/document-menu/document-menu.component.d.ts +1 -1
- package/esm2022/clipper.common/common/common.module.mjs +4 -4
- package/esm2022/clipper.common/common/definitions.mjs +11 -11
- package/esm2022/clipper.common/common/interceptors/auth.interceptor.mjs +3 -3
- package/esm2022/clipper.common/common/services/clipper.service.mjs +24 -18
- package/esm2022/clipper.ui/ui/browser-dialog/browser-dialog.component.mjs +5 -5
- package/esm2022/clipper.ui/ui/document/document.component.mjs +3 -3
- package/esm2022/clipper.ui/ui/document-index/document-index.component.mjs +3 -3
- package/esm2022/clipper.ui/ui/document-manager/document-manager.mjs +3 -3
- package/esm2022/clipper.ui/ui/document-menu/document-menu.component.mjs +3 -3
- package/esm2022/clipper.ui/ui/references/references.component.mjs +5 -5
- package/esm2022/clipper.ui/ui/search-calendar/search-calendar.component.mjs +3 -3
- package/esm2022/clipper.ui/ui/search-dialog/search-dialog.component.mjs +5 -5
- package/esm2022/clipper.ui/ui/search-facets/search-facets.component.mjs +3 -3
- package/esm2022/clipper.ui/ui/search-free-text-help/search-free-text-help.component.mjs +3 -3
- package/esm2022/clipper.ui/ui/search-free-text-query-builder/search-free-text-query-builder.component.mjs +3 -3
- package/esm2022/clipper.ui/ui/search-result-item/search-result-item.component.mjs +4 -4
- package/esm2022/clipper.ui/ui/search-result-manager/search-result-manager.mjs +3 -3
- package/esm2022/core/core.module.mjs +8 -8
- package/esm2022/core/dateFnsAdapter.mjs +3 -3
- package/esm2022/core/directives/autoFocusDirective.mjs +3 -3
- package/esm2022/core/directives/changeDateIntervalDirective.mjs +3 -3
- package/esm2022/core/directives/copyClipboardDirective.mjs +4 -4
- package/esm2022/core/directives/validators.mjs +33 -33
- package/esm2022/core/pipes/format.pipe.mjs +4 -4
- package/esm2022/core/pipes/replace.pipe.mjs +4 -4
- package/esm2022/core/pipes/safe-html.pipe.mjs +4 -4
- package/esm2022/core/pipes/safe-url.pipe.mjs +4 -4
- package/esm2022/core/pipes/search-callback.pipe.mjs +3 -3
- package/esm2022/core/pipes/search-filter.pipe.mjs +4 -4
- package/esm2022/core/services/broadcast.service.mjs +3 -3
- package/esm2022/core/services/environment.service.mjs +3 -3
- package/esm2022/core/services/screen.service.mjs +3 -3
- package/esm2022/core/services/theme.service.mjs +3 -3
- package/esm2022/evolution.common/arsedizioni-ars-utils-evolution.common.mjs +5 -0
- package/esm2022/evolution.common/common/common.module.mjs +16 -0
- package/esm2022/evolution.common/common/definitions.mjs +358 -0
- package/esm2022/evolution.common/common/interceptors/auth.interceptor.mjs +83 -0
- package/esm2022/evolution.common/common/messages.mjs +8 -0
- package/esm2022/evolution.common/common/services/evolution.service.mjs +357 -0
- package/esm2022/evolution.common/public_api.mjs +5 -0
- package/esm2022/help/components/help-viewer/help-viewer.component.mjs +7 -7
- package/esm2022/help/help.module.mjs +4 -4
- package/esm2022/help/services/help.service.mjs +3 -3
- package/esm2022/public_api.mjs +2 -1
- package/esm2022/support.common/common/common.module.mjs +4 -4
- package/esm2022/support.common/common/interceptors/auth.interceptor.mjs +41 -35
- package/esm2022/support.common/common/messages.mjs +2 -1
- package/esm2022/support.common/common/services/support.service.mjs +37 -70
- package/esm2022/support.ui/ui/notifications-browser/notification/notification.component.mjs +3 -3
- package/esm2022/support.ui/ui/notifications-browser/notifications-browser.component.mjs +4 -4
- package/esm2022/tinymce/full-screen-editor/full-screen-editor.component.mjs +3 -3
- package/esm2022/tinymce/tinymce.module.mjs +4 -4
- package/esm2022/ui/ui/dialogs/busy/busy-dialog.component.mjs +3 -3
- package/esm2022/ui/ui/dialogs/confirm/confirm-dialog.component.mjs +4 -4
- package/esm2022/ui/ui/dialogs/credentials/credentials-dialog.component.mjs +4 -4
- 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/ui/dialogs/toast/toast.component.mjs +3 -3
- package/esm2022/ui/ui/paginatorIntl.mjs +3 -3
- package/esm2022/ui/ui/services/dialog.service.mjs +3 -3
- package/esm2022/ui/ui/services/ui.service.mjs +3 -3
- package/esm2022/ui/ui/ui.module.mjs +4 -4
- package/esm2022/ui.application/ui/components/button-selector/button-selector.component.mjs +3 -3
- package/esm2022/ui.application/ui/components/button-toggle/button-toggle.component.mjs +3 -3
- package/esm2022/ui.application/ui/components/calendar-empty-header/calendar-empy-header.component.mjs +3 -3
- package/esm2022/ui.application/ui/components/chips-selector/chips-selector.component.mjs +3 -3
- package/esm2022/ui.application/ui/components/file-input/file-input.component.mjs +3 -3
- package/esm2022/ui.application/ui/components/file-preview/file-preview.component.mjs +3 -3
- package/esm2022/ui.application/ui/components/filter-bar/filter-bar.component.mjs +3 -3
- package/esm2022/ui.application/ui/dialogs/prompt/prompt-dialog.component.mjs +4 -4
- package/esm2022/ui.application/ui/dialogs/prompt-date/prompt-date-dialog.component.mjs +4 -4
- 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 +4 -4
- package/esm2022/ui.application/ui/dialogs/select-file/select-file-dialog.component.mjs +4 -4
- package/esm2022/ui.application/ui/dialogs/select-picture/select-picture-dialog.component.mjs +4 -4
- package/esm2022/ui.application/ui/dialogs/select-tree/select-tree-dialog.component.mjs +7 -7
- package/esm2022/ui.application/ui/dialogs/send-to/send-to-dialog.component.mjs +4 -4
- package/esm2022/ui.application/ui/directives/resize-table-column.directive.mjs +3 -3
- package/esm2022/ui.application/ui/services/applicationDialog.service.mjs +3 -3
- package/esm2022/ui.application/ui/ui.module.mjs +4 -4
- package/esm2022/ui.oauth/ui/components/login/login-oauth.component.mjs +3 -3
- package/esm2022/ui.oauth/ui/ui.module.mjs +4 -4
- package/evolution.common/common/common.module.d.ts +10 -0
- package/evolution.common/common/definitions.d.ts +166 -0
- package/evolution.common/common/interceptors/auth.interceptor.d.ts +24 -0
- package/evolution.common/common/messages.d.ts +6 -0
- package/evolution.common/common/services/evolution.service.d.ts +123 -0
- package/evolution.common/index.d.ts +5 -0
- package/evolution.common/public_api.d.ts +1 -0
- package/fesm2022/arsedizioni-ars-utils-clipper.common.mjs +40 -34
- package/fesm2022/arsedizioni-ars-utils-clipper.common.mjs.map +1 -1
- package/fesm2022/arsedizioni-ars-utils-clipper.ui.mjs +42 -42
- package/fesm2022/arsedizioni-ars-utils-clipper.ui.mjs.map +1 -1
- package/fesm2022/arsedizioni-ars-utils-core.mjs +89 -89
- package/fesm2022/arsedizioni-ars-utils-evolution.common.mjs +817 -0
- package/fesm2022/arsedizioni-ars-utils-evolution.common.mjs.map +1 -0
- package/fesm2022/arsedizioni-ars-utils-help.mjs +13 -13
- package/fesm2022/arsedizioni-ars-utils-help.mjs.map +1 -1
- package/fesm2022/arsedizioni-ars-utils-support.common.mjs +78 -107
- package/fesm2022/arsedizioni-ars-utils-support.common.mjs.map +1 -1
- package/fesm2022/arsedizioni-ars-utils-support.ui.mjs +6 -6
- package/fesm2022/arsedizioni-ars-utils-support.ui.mjs.map +1 -1
- package/fesm2022/arsedizioni-ars-utils-tinymce.mjs +7 -7
- package/fesm2022/arsedizioni-ars-utils-ui.application.mjs +58 -58
- package/fesm2022/arsedizioni-ars-utils-ui.application.mjs.map +1 -1
- package/fesm2022/arsedizioni-ars-utils-ui.mjs +34 -34
- package/fesm2022/arsedizioni-ars-utils-ui.mjs.map +1 -1
- package/fesm2022/arsedizioni-ars-utils-ui.oauth.mjs +7 -7
- package/fesm2022/arsedizioni-ars-utils.mjs +1 -0
- package/fesm2022/arsedizioni-ars-utils.mjs.map +1 -1
- package/package.json +18 -12
- package/public_api.d.ts +1 -0
- package/support.common/common/interceptors/auth.interceptor.d.ts +8 -0
- package/support.common/common/messages.d.ts +1 -0
- package/support.common/common/services/support.service.d.ts +15 -26
|
@@ -1,20 +1,14 @@
|
|
|
1
1
|
import { OnDestroy } from '@angular/core';
|
|
2
2
|
import { ApiResult } from '@arsedizioni/ars-utils/core';
|
|
3
|
-
import { Observable } from 'rxjs';
|
|
4
3
|
import { SupportLoginResult, SupportNotificationInfo, SupportNotificationsMarkParams, SupportNotificationsSearchParams, SupportNotificationsSearchResult, SupportProduct, SupportProductModule, SupportUserInfo } from '../definitions';
|
|
5
4
|
import * as i0 from "@angular/core";
|
|
6
5
|
export declare class SupportService implements OnDestroy {
|
|
7
|
-
private readonly REFRESH_INTERVAL;
|
|
8
6
|
private httpClient;
|
|
9
7
|
private broadcastService;
|
|
10
|
-
private refreshing;
|
|
11
|
-
private tokenRefreshInterval;
|
|
12
|
-
private tokenRefreshTimer?;
|
|
13
|
-
private tokenRefreshTimerSubscription?;
|
|
14
8
|
private broadcastServiceSubscription?;
|
|
15
9
|
private _loginInfo;
|
|
16
|
-
get loginInfo(): SupportUserInfo;
|
|
17
|
-
set loginInfo(value: SupportUserInfo);
|
|
10
|
+
get loginInfo(): SupportUserInfo | null;
|
|
11
|
+
set loginInfo(value: SupportUserInfo | null);
|
|
18
12
|
private _serviceUri;
|
|
19
13
|
get serviceUri(): string;
|
|
20
14
|
products: SupportProduct;
|
|
@@ -26,25 +20,20 @@ export declare class SupportService implements OnDestroy {
|
|
|
26
20
|
/**
|
|
27
21
|
* Initialize service
|
|
28
22
|
* @param serviceUri : the service uri
|
|
29
|
-
* @param tokenRefreshInterval : the token refresh interval
|
|
30
23
|
* @param products: the supported products
|
|
31
24
|
* @param products: the supported products
|
|
32
25
|
*/
|
|
33
|
-
initialize(serviceUri?: string,
|
|
26
|
+
initialize(serviceUri?: string, products?: SupportProduct, productModules?: SupportProductModule): void;
|
|
34
27
|
/**
|
|
35
28
|
* Set JWT token
|
|
36
|
-
* @param
|
|
29
|
+
* @param value : the login result
|
|
37
30
|
*/
|
|
38
31
|
private setToken;
|
|
39
|
-
/**
|
|
40
|
-
* Enable JWT token auto refresh
|
|
41
|
-
*/
|
|
42
|
-
private enableTokenRefresh;
|
|
43
32
|
/**
|
|
44
33
|
* Return current JWT token
|
|
45
|
-
* @
|
|
34
|
+
* @param refresh: true to get the refresh token. Default is false.
|
|
46
35
|
*/
|
|
47
|
-
getToken(): string;
|
|
36
|
+
getToken(refresh?: boolean): string;
|
|
48
37
|
/**
|
|
49
38
|
* Perform login
|
|
50
39
|
* @param email: the guest email
|
|
@@ -52,11 +41,11 @@ export declare class SupportService implements OnDestroy {
|
|
|
52
41
|
* @param oauthAccessToken: the optional oauth2 access token
|
|
53
42
|
* @returns: the login result
|
|
54
43
|
*/
|
|
55
|
-
login(email?: string | null | undefined, oauth?: number | null | undefined, oauthAccessToken?: string | null | undefined): Observable<ApiResult<SupportLoginResult>>;
|
|
44
|
+
login(email?: string | null | undefined, oauth?: number | null | undefined, oauthAccessToken?: string | null | undefined): import("rxjs").Observable<ApiResult<SupportLoginResult>>;
|
|
56
45
|
/**
|
|
57
46
|
* Perform logout
|
|
58
47
|
*/
|
|
59
|
-
logout(): Observable<any>;
|
|
48
|
+
logout(): import("rxjs").Observable<any>;
|
|
60
49
|
/**
|
|
61
50
|
* Reset login refresh timer and logins state
|
|
62
51
|
*/
|
|
@@ -66,9 +55,9 @@ export declare class SupportService implements OnDestroy {
|
|
|
66
55
|
*/
|
|
67
56
|
clear(): void;
|
|
68
57
|
/**
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
58
|
+
* Perform token refresh
|
|
59
|
+
*/
|
|
60
|
+
refresh(): import("rxjs").Observable<void>;
|
|
72
61
|
/**
|
|
73
62
|
* Navigate to support service
|
|
74
63
|
*/
|
|
@@ -81,22 +70,22 @@ export declare class SupportService implements OnDestroy {
|
|
|
81
70
|
* Query notifications
|
|
82
71
|
* @param params: query parameters
|
|
83
72
|
*/
|
|
84
|
-
queryNotifications(params: SupportNotificationsSearchParams): Observable<ApiResult<SupportNotificationsSearchResult>>;
|
|
73
|
+
queryNotifications(params: SupportNotificationsSearchParams): import("rxjs").Observable<ApiResult<SupportNotificationsSearchResult>>;
|
|
85
74
|
/**
|
|
86
75
|
* Retrieve a notification
|
|
87
76
|
* @param id: the notification id
|
|
88
77
|
*/
|
|
89
|
-
getNotification(id: number): Observable<ApiResult<SupportNotificationInfo>>;
|
|
78
|
+
getNotification(id: number): import("rxjs").Observable<ApiResult<SupportNotificationInfo>>;
|
|
90
79
|
/**
|
|
91
80
|
* Mark a group of notifications as read
|
|
92
81
|
* @param ids: the array of notification's ids to set as read
|
|
93
82
|
*/
|
|
94
|
-
markNotifications(params: SupportNotificationsMarkParams): Observable<ApiResult<boolean>>;
|
|
83
|
+
markNotifications(params: SupportNotificationsMarkParams): import("rxjs").Observable<ApiResult<boolean>>;
|
|
95
84
|
/**
|
|
96
85
|
* Download a notification document
|
|
97
86
|
* @param documentId : the notification document id
|
|
98
87
|
*/
|
|
99
|
-
dowloadNotificationDocument(documentId: number): Observable<Blob>;
|
|
88
|
+
dowloadNotificationDocument(documentId: number): import("rxjs").Observable<Blob>;
|
|
100
89
|
static ɵfac: i0.ɵɵFactoryDeclaration<SupportService, never>;
|
|
101
90
|
static ɵprov: i0.ɵɵInjectableDeclaration<SupportService>;
|
|
102
91
|
}
|