@arsedizioni/ars-utils 19.0.149 → 19.0.151
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.ui/ui/browser/browser.component.d.ts +2 -2
- package/clipper.ui/ui/clipper.scss +12 -9
- package/evolution.common/common/services/evolution.service.d.ts +1 -1
- package/fesm2022/arsedizioni-ars-utils-clipper.common.mjs +1 -8
- package/fesm2022/arsedizioni-ars-utils-clipper.common.mjs.map +1 -1
- package/fesm2022/arsedizioni-ars-utils-clipper.ui.mjs +24 -18
- package/fesm2022/arsedizioni-ars-utils-clipper.ui.mjs.map +1 -1
- package/fesm2022/arsedizioni-ars-utils-evolution.common.mjs +12 -6
- package/fesm2022/arsedizioni-ars-utils-evolution.common.mjs.map +1 -1
- package/fesm2022/arsedizioni-ars-utils-support.common.mjs +12 -6
- package/fesm2022/arsedizioni-ars-utils-support.common.mjs.map +1 -1
- package/package.json +5 -5
- package/support.common/common/services/support.service.d.ts +1 -1
|
@@ -1,12 +1,12 @@
|
|
|
1
|
+
import { ScrollDispatcher } from '@angular/cdk/scrolling';
|
|
1
2
|
import { AfterViewInit, OnDestroy, OnInit, Signal } from '@angular/core';
|
|
2
3
|
import { MatInput } from '@angular/material/input';
|
|
3
4
|
import { PageEvent } from '@angular/material/paginator';
|
|
4
5
|
import { MatDrawer } from '@angular/material/sidenav';
|
|
6
|
+
import { ClipperDocumentInfo, ClipperModule, ClipperSearchParams, ClipperUserInfo, ClipperUserSearch, SectorInfo } from '@arsedizioni/ars-utils/clipper.common';
|
|
5
7
|
import { DateInterval, INode, NameValueItem } from '@arsedizioni/ars-utils/core';
|
|
6
8
|
import { ButtonSelectorComponent, ChipsSelectorComponent } from '@arsedizioni/ars-utils/ui.application';
|
|
7
|
-
import { ScrollDispatcher } from '@angular/cdk/scrolling';
|
|
8
9
|
import { ClipperSearchResultManager } from '../search-result-manager/search-result-manager';
|
|
9
|
-
import { ClipperDocumentInfo, ClipperModule, ClipperSearchParams, ClipperUserInfo, ClipperUserSearch, SectorInfo } from '@arsedizioni/ars-utils/clipper.common';
|
|
10
10
|
import * as i0 from "@angular/core";
|
|
11
11
|
export declare class ClipperBrowserComponent extends ClipperSearchResultManager implements OnInit, OnDestroy, AfterViewInit {
|
|
12
12
|
readonly filterByNumber: Signal<MatInput>;
|
|
@@ -24,37 +24,40 @@
|
|
|
24
24
|
}
|
|
25
25
|
|
|
26
26
|
.unread {
|
|
27
|
-
color: var(--
|
|
27
|
+
color: var(--app-color-unread, #f7931c) !important;
|
|
28
28
|
}
|
|
29
29
|
|
|
30
30
|
.expired {
|
|
31
|
-
color: var(--
|
|
31
|
+
color: var(--app-color-expired, #ff5449) !important;
|
|
32
32
|
}
|
|
33
33
|
|
|
34
34
|
.expiring {
|
|
35
|
-
color: var(--
|
|
35
|
+
color: var(--app-color-warning, #FFC107) !important;
|
|
36
36
|
}
|
|
37
37
|
|
|
38
38
|
.closed {
|
|
39
|
-
color: var(--
|
|
39
|
+
color: var(--app-color-closed, #388E3C) !important;
|
|
40
40
|
}
|
|
41
41
|
|
|
42
42
|
.unread-bg {
|
|
43
|
-
background-color: var(--
|
|
43
|
+
background-color: var(--app-color-unread, #f7931c)!important;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
.error-bg {
|
|
47
|
+
background-color: var(--ars-color-error, #ff5449)!important;
|
|
44
48
|
}
|
|
45
49
|
|
|
46
|
-
.error-bg,
|
|
47
50
|
.expired-bg {
|
|
48
|
-
background-color: var(--
|
|
51
|
+
background-color: var(--app-color-expired, #ff5449)!important;
|
|
49
52
|
}
|
|
50
53
|
|
|
51
54
|
.expiring-bg {
|
|
52
|
-
background-color: var(--
|
|
55
|
+
background-color: var(--app-color-expiring, #FFC107)!important;
|
|
53
56
|
}
|
|
54
57
|
|
|
55
58
|
.popular-bg,
|
|
56
59
|
.closed-bg {
|
|
57
|
-
background-color: var(--ars-color-
|
|
60
|
+
background-color: var(--ars-color-closed, #388E3C) !important;
|
|
58
61
|
}
|
|
59
62
|
|
|
60
63
|
.very-popular-bg {
|
|
@@ -107,7 +107,7 @@ export declare class EvolutionService implements OnDestroy {
|
|
|
107
107
|
/**
|
|
108
108
|
* Perform token refresh
|
|
109
109
|
*/
|
|
110
|
-
refresh(): import("rxjs").Observable<
|
|
110
|
+
refresh(): import("rxjs").Observable<ApiResult<EvolutionLoginResult>>;
|
|
111
111
|
/**
|
|
112
112
|
* Convert folders in a tree of Node object.
|
|
113
113
|
* @param folders : the subfolders group or null to root
|
|
@@ -2211,14 +2211,7 @@ class ClipperService {
|
|
|
2211
2211
|
if (!this.loggedIn() && !this.isTokenExpired()) {
|
|
2212
2212
|
// Refresh token
|
|
2213
2213
|
this.refresh().subscribe(r => {
|
|
2214
|
-
if (
|
|
2215
|
-
this.dialogService.error(r.message, null, "Errore di Clipper")
|
|
2216
|
-
.afterClosed()
|
|
2217
|
-
.subscribe(() => {
|
|
2218
|
-
this.broadcastService.sendMessage(ClipperMessages.LOGOUT);
|
|
2219
|
-
});
|
|
2220
|
-
}
|
|
2221
|
-
else {
|
|
2214
|
+
if (r.success) {
|
|
2222
2215
|
// Auto login
|
|
2223
2216
|
this.loggedIn.set(true);
|
|
2224
2217
|
// Keep alive
|