@arsedizioni/ars-utils 19.4.57 → 19.4.58

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.
@@ -386,7 +386,7 @@ export declare class ClipperService implements OnDestroy {
386
386
  * Import folders
387
387
  * @param params : parameters
388
388
  */
389
- importArchiveFolders(params: ClipperArchiveFoldersImportParams): import("rxjs").Observable<import("@angular/common/module.d-BJA_GXII").a<unknown>>;
389
+ importArchiveFolders(params: ClipperArchiveFoldersImportParams): import("rxjs").Observable<import("@angular/common/module.d-CnjH8Dlt").HttpEvent<unknown>>;
390
390
  /**
391
391
  * Get files and folders
392
392
  * @param params : parameters
@@ -406,7 +406,7 @@ export declare class ClipperService implements OnDestroy {
406
406
  * Save a file
407
407
  * @param params : parameters
408
408
  */
409
- saveArchiveFile(params: ClipperArchiveFileInfo): import("rxjs").Observable<import("@angular/common/module.d-BJA_GXII").a<unknown>>;
409
+ saveArchiveFile(params: ClipperArchiveFileInfo): import("rxjs").Observable<import("@angular/common/module.d-CnjH8Dlt").HttpEvent<unknown>>;
410
410
  /**
411
411
  * Get file data
412
412
  * @param id : the item id
@@ -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<"selection" | "bag" | "none">;
16
+ readonly selectionSource: import("@angular/core").InputSignal<"none" | "selection" | "bag">;
17
17
  protected selection: () => ClipperDocumentInfo[];
18
18
  readonly parent: import("@angular/core").InputSignal<ClipperSearchResultManager>;
19
19
  readonly item: import("@angular/core").InputSignal<ClipperDocumentInfo>;
@@ -1877,7 +1877,9 @@ class ClipperSearchUtils {
1877
1877
  params.showCommentedDocumentsOnly = false;
1878
1878
  params.showNotAbrogatedDocumentsOnly = false;
1879
1879
  params.expandTextQueryUsingAI = false;
1880
- params.channels = [...ClipperChannels];
1880
+ if (!params.channels || params.channels.length === 0) {
1881
+ params.channels = [...ClipperChannels];
1882
+ }
1881
1883
  params.changeReason = undefined;
1882
1884
  params.changedNumber = undefined;
1883
1885
  params.changedYear = undefined;
@@ -3062,10 +3064,10 @@ class ClipperService {
3062
3064
  downloadArchiveFile(id, otp) {
3063
3065
  return this.httpClient.get(this._serviceUri + '/archive/files/download/?id=' + id + '&otp=' + (otp ?? ''), { responseType: 'blob' });
3064
3066
  }
3065
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.5", ngImport: i0, type: ClipperService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
3066
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.5", ngImport: i0, type: ClipperService, providedIn: 'root' }); }
3067
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.6", ngImport: i0, type: ClipperService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
3068
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.6", ngImport: i0, type: ClipperService, providedIn: 'root' }); }
3067
3069
  }
3068
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.5", ngImport: i0, type: ClipperService, decorators: [{
3070
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.6", ngImport: i0, type: ClipperService, decorators: [{
3069
3071
  type: Injectable,
3070
3072
  args: [{
3071
3073
  providedIn: 'root',
@@ -3158,19 +3160,19 @@ class ClipperAuthInterceptor {
3158
3160
  }
3159
3161
  return request;
3160
3162
  }
3161
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.5", ngImport: i0, type: ClipperAuthInterceptor, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
3162
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.5", ngImport: i0, type: ClipperAuthInterceptor }); }
3163
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.6", ngImport: i0, type: ClipperAuthInterceptor, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
3164
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.6", ngImport: i0, type: ClipperAuthInterceptor }); }
3163
3165
  }
3164
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.5", ngImport: i0, type: ClipperAuthInterceptor, decorators: [{
3166
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.6", ngImport: i0, type: ClipperAuthInterceptor, decorators: [{
3165
3167
  type: Injectable
3166
3168
  }] });
3167
3169
 
3168
3170
  class ArsClipperCommonModule {
3169
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.5", ngImport: i0, type: ArsClipperCommonModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
3170
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.5", ngImport: i0, type: ArsClipperCommonModule }); }
3171
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.5", ngImport: i0, type: ArsClipperCommonModule }); }
3171
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.6", ngImport: i0, type: ArsClipperCommonModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
3172
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.6", ngImport: i0, type: ArsClipperCommonModule }); }
3173
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.6", ngImport: i0, type: ArsClipperCommonModule }); }
3172
3174
  }
3173
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.5", ngImport: i0, type: ArsClipperCommonModule, decorators: [{
3175
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.6", ngImport: i0, type: ArsClipperCommonModule, decorators: [{
3174
3176
  type: NgModule
3175
3177
  }] });
3176
3178