@arsedizioni/ars-utils 20.3.41 → 20.3.43
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/index.d.ts +1 -1
- package/clipper.ui/index.d.ts +1 -1
- package/evolution.common/index.d.ts +4 -3
- package/fesm2022/arsedizioni-ars-utils-clipper.common.mjs +3 -4
- package/fesm2022/arsedizioni-ars-utils-clipper.common.mjs.map +1 -1
- package/fesm2022/arsedizioni-ars-utils-evolution.common.mjs +7 -6
- package/fesm2022/arsedizioni-ars-utils-evolution.common.mjs.map +1 -1
- package/fesm2022/arsedizioni-ars-utils-support.common.mjs +1 -0
- package/fesm2022/arsedizioni-ars-utils-support.common.mjs.map +1 -1
- package/package.json +13 -13
package/clipper.ui/index.d.ts
CHANGED
|
@@ -1033,7 +1033,7 @@ declare class ClipperDocumentMenuComponent implements OnInit, OnDestroy {
|
|
|
1033
1033
|
private changeDetector;
|
|
1034
1034
|
private clipperService;
|
|
1035
1035
|
readonly useSelections: _angular_core.InputSignal<boolean>;
|
|
1036
|
-
readonly selectionSource: _angular_core.InputSignal<"
|
|
1036
|
+
readonly selectionSource: _angular_core.InputSignal<"selection" | "bag" | "none">;
|
|
1037
1037
|
protected selection: () => ClipperDocumentInfo[];
|
|
1038
1038
|
readonly parent: _angular_core.InputSignal<ClipperSearchResultManager>;
|
|
1039
1039
|
readonly item: _angular_core.InputSignal<ClipperDocumentInfo>;
|
|
@@ -802,9 +802,10 @@ declare class EvolutionService implements OnDestroy {
|
|
|
802
802
|
*/
|
|
803
803
|
confirmIdentity(code: string): rxjs.Observable<ApiResult<EvolutionLoginResult>>;
|
|
804
804
|
/**
|
|
805
|
-
|
|
806
|
-
|
|
807
|
-
|
|
805
|
+
* Perform logout
|
|
806
|
+
* @param forget: true to dispose all user informations
|
|
807
|
+
*/
|
|
808
|
+
logout(forget?: boolean): rxjs.Observable<any>;
|
|
808
809
|
/**
|
|
809
810
|
* Switch the current login to a new one with the same credentials except role possibly (context change)
|
|
810
811
|
* @param id : new user id
|
|
@@ -2238,7 +2238,6 @@ class ClipperService {
|
|
|
2238
2238
|
if (!this.loggedIn())
|
|
2239
2239
|
return;
|
|
2240
2240
|
this.logout()
|
|
2241
|
-
.pipe(finalize(() => this.dialogService.clearBusy()))
|
|
2242
2241
|
.subscribe({
|
|
2243
2242
|
next: r => {
|
|
2244
2243
|
if (!r.success) {
|
|
@@ -2250,7 +2249,7 @@ class ClipperService {
|
|
|
2250
2249
|
}
|
|
2251
2250
|
},
|
|
2252
2251
|
complete: () => {
|
|
2253
|
-
this.
|
|
2252
|
+
this.dialogService.clearBusy();
|
|
2254
2253
|
if (onSuccess) {
|
|
2255
2254
|
onSuccess();
|
|
2256
2255
|
}
|
|
@@ -2337,7 +2336,8 @@ class ClipperService {
|
|
|
2337
2336
|
* @param forget: true to dispose all user informations
|
|
2338
2337
|
*/
|
|
2339
2338
|
logout(forget = false) {
|
|
2340
|
-
return this.httpClient.post(this._serviceUri + '/logout/?forget=' + forget, {})
|
|
2339
|
+
return this.httpClient.post(this._serviceUri + '/logout/?forget=' + forget, {})
|
|
2340
|
+
.pipe(finalize(() => {
|
|
2341
2341
|
this.removeKeepAlive();
|
|
2342
2342
|
this.clear(true);
|
|
2343
2343
|
// Clean up
|
|
@@ -2354,7 +2354,6 @@ class ClipperService {
|
|
|
2354
2354
|
this._loginInfo = undefined;
|
|
2355
2355
|
// Logged out
|
|
2356
2356
|
this.loggedIn.set(false);
|
|
2357
|
-
this.loggingIn.set(false);
|
|
2358
2357
|
// Reset channels
|
|
2359
2358
|
this.availableChannels.set([]);
|
|
2360
2359
|
// Notify
|