@arsedizioni/ars-utils 20.4.1 → 20.4.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.
@@ -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>;
package/core/index.d.ts CHANGED
@@ -739,12 +739,13 @@ interface BroadcastChannelSubscriberInfo<T> {
739
739
  */
740
740
  declare class BroadcastChannelManager {
741
741
  private channel?;
742
+ private subject;
742
743
  private subscriptions;
743
744
  /**
744
745
  * Get the current channel registration
745
746
  */
746
747
  get currentBus(): string | undefined;
747
- constructor(bus: string);
748
+ constructor(bus?: string);
748
749
  dispose(): void;
749
750
  /**
750
751
  * Send a message
@@ -805,6 +806,10 @@ interface BroadcastMessageInfo {
805
806
  declare class BroadcastService implements OnDestroy {
806
807
  private subject;
807
808
  private channel;
809
+ /**
810
+ * Get a new instance of broadcast channel
811
+ */
812
+ static GetChannel(): BroadcastChannelManager;
808
813
  ngOnDestroy(): void;
809
814
  /**
810
815
  * Send a message
@@ -3038,10 +3038,10 @@ class ClipperService {
3038
3038
  downloadArchiveFile(id, otp) {
3039
3039
  return this.httpClient.get(this._serviceUri + '/archive/files/download/?id=' + id + '&otp=' + (otp ?? ''), { responseType: 'blob' });
3040
3040
  }
3041
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.2", ngImport: i0, type: ClipperService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
3042
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.2", ngImport: i0, type: ClipperService, providedIn: 'root' }); }
3041
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.3", ngImport: i0, type: ClipperService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
3042
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.3", ngImport: i0, type: ClipperService, providedIn: 'root' }); }
3043
3043
  }
3044
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.2", ngImport: i0, type: ClipperService, decorators: [{
3044
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.3", ngImport: i0, type: ClipperService, decorators: [{
3045
3045
  type: Injectable,
3046
3046
  args: [{
3047
3047
  providedIn: 'root',
@@ -3056,7 +3056,7 @@ class ClipperAuthInterceptor {
3056
3056
  }
3057
3057
  intercept(request, next) {
3058
3058
  if (request.url.startsWith(this.clipperService.serviceUri)) {
3059
- request = request.clone({ withCredentials: true });
3059
+ request = request.clone({ withCredentials: true, setHeaders: { 'ngsw-bypass': 'ngsw-bypass' } });
3060
3060
  return next.handle(request)
3061
3061
  .pipe(catchError$1(error => {
3062
3062
  if (error.url.startsWith(this.clipperService.serviceUri)) {
@@ -3092,19 +3092,19 @@ class ClipperAuthInterceptor {
3092
3092
  }
3093
3093
  return next.handle(request);
3094
3094
  }
3095
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.2", ngImport: i0, type: ClipperAuthInterceptor, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
3096
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.2", ngImport: i0, type: ClipperAuthInterceptor }); }
3095
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.3", ngImport: i0, type: ClipperAuthInterceptor, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
3096
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.3", ngImport: i0, type: ClipperAuthInterceptor }); }
3097
3097
  }
3098
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.2", ngImport: i0, type: ClipperAuthInterceptor, decorators: [{
3098
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.3", ngImport: i0, type: ClipperAuthInterceptor, decorators: [{
3099
3099
  type: Injectable
3100
3100
  }] });
3101
3101
 
3102
3102
  class ArsClipperCommonModule {
3103
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.2", ngImport: i0, type: ArsClipperCommonModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
3104
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.2", ngImport: i0, type: ArsClipperCommonModule }); }
3105
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.2", ngImport: i0, type: ArsClipperCommonModule }); }
3103
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.3", ngImport: i0, type: ArsClipperCommonModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
3104
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.3", ngImport: i0, type: ArsClipperCommonModule }); }
3105
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.3", ngImport: i0, type: ArsClipperCommonModule }); }
3106
3106
  }
3107
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.2", ngImport: i0, type: ArsClipperCommonModule, decorators: [{
3107
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.3", ngImport: i0, type: ArsClipperCommonModule, decorators: [{
3108
3108
  type: NgModule
3109
3109
  }] });
3110
3110