@arsedizioni/ars-utils 20.3.33 → 20.3.34

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.
@@ -1099,8 +1099,9 @@ declare class ClipperService implements OnDestroy {
1099
1099
  confirmIdentity(code: string, flags?: number): rxjs.Observable<ApiResult<ClipperLoginResult>>;
1100
1100
  /**
1101
1101
  * Perform logout
1102
+ * @param forget: true to dispose all user informations
1102
1103
  */
1103
- logout(): rxjs.Observable<any>;
1104
+ logout(forget?: boolean): rxjs.Observable<any>;
1104
1105
  /**
1105
1106
  * Reset login refresh timer and login state
1106
1107
  */
@@ -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<"selection" | "bag" | "none">;
1036
+ readonly selectionSource: _angular_core.InputSignal<"none" | "selection" | "bag">;
1037
1037
  protected selection: () => ClipperDocumentInfo[];
1038
1038
  readonly parent: _angular_core.InputSignal<ClipperSearchResultManager>;
1039
1039
  readonly item: _angular_core.InputSignal<ClipperDocumentInfo>;
@@ -2351,9 +2351,10 @@ class ClipperService {
2351
2351
  }
2352
2352
  /**
2353
2353
  * Perform logout
2354
+ * @param forget: true to dispose all user informations
2354
2355
  */
2355
- logout() {
2356
- return this.httpClient.post(this._serviceUri + '/logout', {}).pipe(finalize(() => {
2356
+ logout(forget = false) {
2357
+ return this.httpClient.post(this._serviceUri + '/logout/?forget=' + forget, {}).pipe(finalize(() => {
2357
2358
  this.removeKeepAlive();
2358
2359
  this.clear(true);
2359
2360
  // Clean up
@@ -3125,10 +3126,10 @@ class ClipperService {
3125
3126
  downloadArchiveFile(id, otp) {
3126
3127
  return this.httpClient.get(this._serviceUri + '/archive/files/download/?id=' + id + '&otp=' + (otp ?? ''), { responseType: 'blob' });
3127
3128
  }
3128
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.0", ngImport: i0, type: ClipperService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
3129
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.0", ngImport: i0, type: ClipperService, providedIn: 'root' }); }
3129
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.1", ngImport: i0, type: ClipperService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
3130
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.1", ngImport: i0, type: ClipperService, providedIn: 'root' }); }
3130
3131
  }
3131
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.0", ngImport: i0, type: ClipperService, decorators: [{
3132
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.1", ngImport: i0, type: ClipperService, decorators: [{
3132
3133
  type: Injectable,
3133
3134
  args: [{
3134
3135
  providedIn: 'root',
@@ -3221,19 +3222,19 @@ class ClipperAuthInterceptor {
3221
3222
  }
3222
3223
  return request;
3223
3224
  }
3224
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.0", ngImport: i0, type: ClipperAuthInterceptor, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
3225
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.0", ngImport: i0, type: ClipperAuthInterceptor }); }
3225
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.1", ngImport: i0, type: ClipperAuthInterceptor, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
3226
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.1", ngImport: i0, type: ClipperAuthInterceptor }); }
3226
3227
  }
3227
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.0", ngImport: i0, type: ClipperAuthInterceptor, decorators: [{
3228
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.1", ngImport: i0, type: ClipperAuthInterceptor, decorators: [{
3228
3229
  type: Injectable
3229
3230
  }] });
3230
3231
 
3231
3232
  class ArsClipperCommonModule {
3232
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.0", ngImport: i0, type: ArsClipperCommonModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
3233
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.0", ngImport: i0, type: ArsClipperCommonModule }); }
3234
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.0", ngImport: i0, type: ArsClipperCommonModule }); }
3233
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.1", ngImport: i0, type: ArsClipperCommonModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
3234
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.1", ngImport: i0, type: ArsClipperCommonModule }); }
3235
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.1", ngImport: i0, type: ArsClipperCommonModule }); }
3235
3236
  }
3236
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.0", ngImport: i0, type: ArsClipperCommonModule, decorators: [{
3237
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.1", ngImport: i0, type: ArsClipperCommonModule, decorators: [{
3237
3238
  type: NgModule
3238
3239
  }] });
3239
3240