@arsedizioni/ars-utils 19.3.18 → 19.3.20
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/document-menu/document-menu.component.d.ts +1 -1
- package/fesm2022/arsedizioni-ars-utils-clipper.common.mjs +3 -2
- package/fesm2022/arsedizioni-ars-utils-clipper.common.mjs.map +1 -1
- package/fesm2022/arsedizioni-ars-utils-evolution.common.mjs +1 -1
- package/fesm2022/arsedizioni-ars-utils-evolution.common.mjs.map +1 -1
- package/fesm2022/arsedizioni-ars-utils-support.common.mjs +3 -2
- package/fesm2022/arsedizioni-ars-utils-support.common.mjs.map +1 -1
- package/package.json +5 -5
|
@@ -13,7 +13,7 @@ export declare class ClipperDocumentMenuComponent implements OnInit, OnDestroy {
|
|
|
13
13
|
private changeDetector;
|
|
14
14
|
private clipperService;
|
|
15
15
|
readonly useSelections: import("@angular/core").InputSignal<boolean>;
|
|
16
|
-
readonly selectionSource: import("@angular/core").InputSignal<"
|
|
16
|
+
readonly selectionSource: import("@angular/core").InputSignal<"selection" | "bag" | "none">;
|
|
17
17
|
protected selection: () => ClipperDocumentInfo[];
|
|
18
18
|
readonly parent: import("@angular/core").InputSignal<ClipperSearchResultManager>;
|
|
19
19
|
readonly item: import("@angular/core").InputSignal<ClipperDocumentInfo>;
|
|
@@ -2172,7 +2172,8 @@ class ClipperService {
|
|
|
2172
2172
|
this._flags = flags;
|
|
2173
2173
|
// React to message broadcasting
|
|
2174
2174
|
if (!this.broadcastServiceSubscription) {
|
|
2175
|
-
this.broadcastServiceSubscription = this.broadcastService.getMessage()
|
|
2175
|
+
this.broadcastServiceSubscription = this.broadcastService.getMessage()
|
|
2176
|
+
.subscribe(message => {
|
|
2176
2177
|
if (message.id === ClipperMessages.LOGIN_CHANGED) {
|
|
2177
2178
|
setTimeout(() => {
|
|
2178
2179
|
this.login(message.data.email, message.data.password, true, message.data.oauth, message.data.oauthAccessToken).subscribe({
|
|
@@ -2218,7 +2219,7 @@ class ClipperService {
|
|
|
2218
2219
|
});
|
|
2219
2220
|
}
|
|
2220
2221
|
// Eveluate current session storage in case of page refresh (F5)
|
|
2221
|
-
if (
|
|
2222
|
+
if (this.loggedIn() || !this.isTokenExpired()) {
|
|
2222
2223
|
// Auto login
|
|
2223
2224
|
this.loggedIn.set(true);
|
|
2224
2225
|
// Keep alive
|