@arsedizioni/ars-utils 20.1.23 → 20.2.2

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.
@@ -1039,7 +1039,7 @@ declare class ClipperDocumentMenuComponent implements OnInit, OnDestroy {
1039
1039
  private changeDetector;
1040
1040
  private clipperService;
1041
1041
  readonly useSelections: _angular_core.InputSignal<boolean>;
1042
- readonly selectionSource: _angular_core.InputSignal<"selection" | "none" | "bag">;
1042
+ readonly selectionSource: _angular_core.InputSignal<"selection" | "bag" | "none">;
1043
1043
  protected selection: () => ClipperDocumentInfo[];
1044
1044
  readonly parent: _angular_core.InputSignal<ClipperSearchResultManager>;
1045
1045
  readonly item: _angular_core.InputSignal<ClipperDocumentInfo>;
@@ -2116,6 +2116,7 @@ class ClipperService {
2116
2116
  if (!tokenExpired || this.loggedIn()) {
2117
2117
  // Auto login
2118
2118
  this.loggedIn.set(true);
2119
+ this.loggingIn.set(false);
2119
2120
  // Should refresh
2120
2121
  this.shouldRefreshToken.set(!!tokenExpirationDate);
2121
2122
  // Keep alive
@@ -2299,6 +2300,7 @@ class ClipperService {
2299
2300
  this._loginInfo = loginInfo;
2300
2301
  this.storeLogin();
2301
2302
  this.loggedIn.set(true);
2303
+ this.loggingIn.set(false);
2302
2304
  // Keep alive
2303
2305
  this.setKeepAlive();
2304
2306
  // Initialize channels
@@ -2330,6 +2332,7 @@ class ClipperService {
2330
2332
  this._loginInfo = undefined;
2331
2333
  // Logged out
2332
2334
  this.loggedIn.set(false);
2335
+ this.loggingIn.set(false);
2333
2336
  // Notify
2334
2337
  this.broadcastService.sendMessage(ClipperMessages.LOGOUT_COMPLETED);
2335
2338
  // Reset channels
@@ -3079,10 +3082,10 @@ class ClipperService {
3079
3082
  downloadArchiveFile(id, otp) {
3080
3083
  return this.httpClient.get(this._serviceUri + '/archive/files/download/?id=' + id + '&otp=' + (otp ?? ''), { responseType: 'blob' });
3081
3084
  }
3082
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: ClipperService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
3083
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: ClipperService, providedIn: 'root' }); }
3085
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.1", ngImport: i0, type: ClipperService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
3086
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.2.1", ngImport: i0, type: ClipperService, providedIn: 'root' }); }
3084
3087
  }
3085
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: ClipperService, decorators: [{
3088
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.1", ngImport: i0, type: ClipperService, decorators: [{
3086
3089
  type: Injectable,
3087
3090
  args: [{
3088
3091
  providedIn: 'root',
@@ -3175,19 +3178,19 @@ class ClipperAuthInterceptor {
3175
3178
  }
3176
3179
  return request;
3177
3180
  }
3178
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: ClipperAuthInterceptor, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
3179
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: ClipperAuthInterceptor }); }
3181
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.1", ngImport: i0, type: ClipperAuthInterceptor, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
3182
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.2.1", ngImport: i0, type: ClipperAuthInterceptor }); }
3180
3183
  }
3181
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: ClipperAuthInterceptor, decorators: [{
3184
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.1", ngImport: i0, type: ClipperAuthInterceptor, decorators: [{
3182
3185
  type: Injectable
3183
3186
  }] });
3184
3187
 
3185
3188
  class ArsClipperCommonModule {
3186
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: ArsClipperCommonModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
3187
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.1.6", ngImport: i0, type: ArsClipperCommonModule }); }
3188
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: ArsClipperCommonModule }); }
3189
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.1", ngImport: i0, type: ArsClipperCommonModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
3190
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.2.1", ngImport: i0, type: ArsClipperCommonModule }); }
3191
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.2.1", ngImport: i0, type: ArsClipperCommonModule }); }
3189
3192
  }
3190
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: ArsClipperCommonModule, decorators: [{
3193
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.1", ngImport: i0, type: ArsClipperCommonModule, decorators: [{
3191
3194
  type: NgModule
3192
3195
  }] });
3193
3196