@arsedizioni/ars-utils 20.1.1 → 20.1.3
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/index.d.ts +1 -1
- package/fesm2022/arsedizioni-ars-utils-clipper.common.mjs +2 -1
- package/fesm2022/arsedizioni-ars-utils-clipper.common.mjs.map +1 -1
- package/fesm2022/arsedizioni-ars-utils-clipper.ui.mjs +1 -1
- package/fesm2022/arsedizioni-ars-utils-clipper.ui.mjs.map +1 -1
- package/package.json +5 -5
package/clipper.ui/index.d.ts
CHANGED
|
@@ -1031,7 +1031,7 @@ declare class ClipperDocumentMenuComponent implements OnInit, OnDestroy {
|
|
|
1031
1031
|
private changeDetector;
|
|
1032
1032
|
private clipperService;
|
|
1033
1033
|
readonly useSelections: _angular_core.InputSignal<boolean>;
|
|
1034
|
-
readonly selectionSource: _angular_core.InputSignal<"
|
|
1034
|
+
readonly selectionSource: _angular_core.InputSignal<"selection" | "bag" | "none">;
|
|
1035
1035
|
protected selection: () => ClipperDocumentInfo[];
|
|
1036
1036
|
readonly parent: _angular_core.InputSignal<ClipperSearchResultManager>;
|
|
1037
1037
|
readonly item: _angular_core.InputSignal<ClipperDocumentInfo>;
|
|
@@ -2316,6 +2316,8 @@ class ClipperService {
|
|
|
2316
2316
|
return this.httpClient.post(this._serviceUri + '/logout', {}).pipe(finalize(() => {
|
|
2317
2317
|
this.removeKeepAlive();
|
|
2318
2318
|
this.clear(true);
|
|
2319
|
+
// Remove credentials
|
|
2320
|
+
localStorage.removeItem('clipper_login');
|
|
2319
2321
|
}), catchError((_e) => {
|
|
2320
2322
|
return of([]);
|
|
2321
2323
|
}));
|
|
@@ -2345,7 +2347,6 @@ class ClipperService {
|
|
|
2345
2347
|
if (clearOAuthToken) {
|
|
2346
2348
|
sessionStorage.removeItem('clipper_oauth_token');
|
|
2347
2349
|
}
|
|
2348
|
-
localStorage.removeItem('clipper_login');
|
|
2349
2350
|
// Reset login
|
|
2350
2351
|
this.reset();
|
|
2351
2352
|
}
|