@arsedizioni/ars-utils 22.0.72 → 22.0.74

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.
@@ -103,7 +103,7 @@ var ClipperModule;
103
103
  ClipperModule[ClipperModule["Giurisprudenza"] = 5] = "Giurisprudenza";
104
104
  ClipperModule[ClipperModule["ModificheAbrogazioniERinvii"] = 3] = "ModificheAbrogazioniERinvii";
105
105
  ClipperModule[ClipperModule["ScadenzeESegnalazioni"] = 12] = "ScadenzeESegnalazioni";
106
- ClipperModule[ClipperModule["AllerteAlimentari"] = 8] = "AllerteAlimentari";
106
+ //AllerteAlimentari = 8,
107
107
  ClipperModule[ClipperModule["Approfondimenti"] = 6] = "Approfondimenti";
108
108
  ClipperModule[ClipperModule["QuesitiECasiRisolti"] = 10] = "QuesitiECasiRisolti";
109
109
  ClipperModule[ClipperModule["MetodiDiAnalisi"] = 11] = "MetodiDiAnalisi";
@@ -122,7 +122,7 @@ var ClipperModel;
122
122
  ClipperModel[ClipperModel["NormativaVigente"] = 9] = "NormativaVigente";
123
123
  ClipperModel[ClipperModel["Scadenze"] = 10] = "Scadenze";
124
124
  ClipperModel[ClipperModel["Coordinamento"] = 11] = "Coordinamento";
125
- ClipperModel[ClipperModel["AllerteAlimentari"] = 13] = "AllerteAlimentari";
125
+ //AllerteAlimentari = 13,
126
126
  ClipperModel[ClipperModel["MetodiDiAnalisi"] = 14] = "MetodiDiAnalisi";
127
127
  ClipperModel[ClipperModel["GiurisprudenzaRecente"] = 18] = "GiurisprudenzaRecente";
128
128
  ClipperModel[ClipperModel["Segnalazioni"] = 20] = "Segnalazioni";
@@ -137,7 +137,7 @@ const ClipperModels = [
137
137
  { value: ClipperModel.Quesiti, name: 'Quesiti' },
138
138
  { value: ClipperModel.NormativaVigente, name: 'Normativa vigente' },
139
139
  { value: ClipperModel.Scadenze, name: 'Scadenze' },
140
- { value: ClipperModel.AllerteAlimentari, name: 'Allerte alimentari' },
140
+ //{ value: ClipperModel.AllerteAlimentari, name: 'Allerte alimentari' },
141
141
  { value: ClipperModel.Coordinamento, name: 'Modifiche e abrogazioni' },
142
142
  ];
143
143
  const ClipperModuleGroups = [
@@ -152,7 +152,7 @@ const ClipperModules = [
152
152
  { name: 'Gazzette, Bollettini e fonti diverse', shortName: 'Gazzette, Bollettini e fonti diverse', value: ClipperModule.GazzetteBollettiniEFontiDiverse },
153
153
  { name: 'Giurisprudenza', shortName: 'Giurisprudenza', value: ClipperModule.Giurisprudenza },
154
154
  { name: 'Modifiche, abrogazioni e rinvii', shortName: 'Modifiche, abrogazioni e rinvii', value: ClipperModule.ModificheAbrogazioniERinvii },
155
- { name: 'Allerte alimentari', shortName: 'Allerte alimentari', value: ClipperModule.AllerteAlimentari },
155
+ //{ name: 'Allerte alimentari', shortName: 'Allerte alimentari', value: ClipperModule.AllerteAlimentari },
156
156
  { name: 'Scadenze e segnalazioni', shortName: 'Scadenze e segnalazioni', value: ClipperModule.ScadenzeESegnalazioni },
157
157
  { name: 'Normativa vigente', shortName: 'Normativa vigente', value: ClipperModule.NormativaVigente },
158
158
  { name: 'Quesiti e casi risolti', shortName: 'Quesiti', value: ClipperModule.QuesitiECasiRisolti },
@@ -1715,7 +1715,7 @@ class ClipperDashboard {
1715
1715
  states.push([ClipperModule.GazzetteBollettiniEFontiDiverse, this.items().find((x) => x.id == ClipperModule.GazzetteBollettiniEFontiDiverse)?.unreadItems ?? 0]);
1716
1716
  states.push([ClipperModule.Giurisprudenza, this.items().find((x) => x.id == ClipperModule.Giurisprudenza)?.unreadItems ?? 0]);
1717
1717
  states.push([ClipperModule.ModificheAbrogazioniERinvii, this.items().find((x) => x.id == ClipperModule.ModificheAbrogazioniERinvii)?.unreadItems ?? 0]);
1718
- states.push([ClipperModule.AllerteAlimentari, this.items().find((x) => x.id == ClipperModule.AllerteAlimentari)?.unreadItems ?? 0]);
1718
+ //states.push([ClipperModule.AllerteAlimentari, this.items().find((x: ClipperDashboardItem) => x.id == ClipperModule.AllerteAlimentari)?.unreadItems ?? 0]);
1719
1719
  states.push([ClipperModule.Approfondimenti, this.items().find((x) => x.id == ClipperModule.Approfondimenti)?.unreadItems ?? 0]);
1720
1720
  states.push([ClipperModule.QuesitiECasiRisolti, this.items().find((x) => x.id == ClipperModule.QuesitiECasiRisolti)?.unreadItems ?? 0]);
1721
1721
  return states;
@@ -1738,9 +1738,8 @@ class ClipperDashboard {
1738
1738
  }
1739
1739
  else if (item.id == ClipperModule.QuesitiECasiRisolti) {
1740
1740
  states.push([ClipperModel.Quesiti, item.unreadItems]);
1741
- }
1742
- else if (item.id == ClipperModule.AllerteAlimentari) {
1743
- states.push([ClipperModel.AllerteAlimentari, item.unreadItems]);
1741
+ // } else if (item.id == ClipperModule.AllerteAlimentari) {
1742
+ // states.push([ClipperModel.AllerteAlimentari, item.unreadItems]);
1744
1743
  }
1745
1744
  else if (item.id == ClipperModule.Approfondimenti) {
1746
1745
  states.push([ClipperModel.Articoli, item.unreadItems]);
@@ -1899,7 +1898,7 @@ class ClipperUtils {
1899
1898
  */
1900
1899
  static getClipperModuleFromModel(item) {
1901
1900
  switch (item.model) {
1902
- case ClipperModel.AllerteAlimentari: return ClipperModule.AllerteAlimentari;
1901
+ // case ClipperModel.AllerteAlimentari: return ClipperModule.AllerteAlimentari;
1903
1902
  case ClipperModel.News: return ClipperModule.News;
1904
1903
  case ClipperModel.Articoli:
1905
1904
  case ClipperModel.Juris: return ClipperModule.Approfondimenti;
@@ -2082,9 +2081,9 @@ class ClipperSearchUtils {
2082
2081
  case ClipperModule.Approfondimenti:
2083
2082
  models.push(ClipperModel.Articoli);
2084
2083
  break;
2085
- case ClipperModule.AllerteAlimentari:
2086
- models.push(ClipperModel.AllerteAlimentari);
2087
- break;
2084
+ //case ClipperModule.AllerteAlimentari:
2085
+ // models.push(ClipperModel.AllerteAlimentari);
2086
+ // break;
2088
2087
  case ClipperModule.GazzetteBollettiniEFontiDiverse:
2089
2088
  models.push(ClipperModel.AggiornamentoNormativo);
2090
2089
  break;
@@ -2621,10 +2620,10 @@ class ClipperDocumentsService {
2621
2620
  return this.httpClient
2622
2621
  .post(this.core.serviceUri + '/documents/searches/delete', { id: id });
2623
2622
  }
2624
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: ClipperDocumentsService, deps: [], target: i0.ɵɵFactoryTarget.Service }); }
2625
- static { this.ɵprov = i0.ɵɵngDeclareService({ minVersion: "22.0.0", version: "22.0.5", ngImport: i0, type: ClipperDocumentsService }); }
2623
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.6", ngImport: i0, type: ClipperDocumentsService, deps: [], target: i0.ɵɵFactoryTarget.Service }); }
2624
+ static { this.ɵprov = i0.ɵɵngDeclareService({ minVersion: "22.0.0", version: "22.0.6", ngImport: i0, type: ClipperDocumentsService }); }
2626
2625
  }
2627
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: ClipperDocumentsService, decorators: [{
2626
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.6", ngImport: i0, type: ClipperDocumentsService, decorators: [{
2628
2627
  type: Service
2629
2628
  }] });
2630
2629
 
@@ -2812,10 +2811,10 @@ class ClipperLoginService {
2812
2811
  clear(clearOAuthToken = false) {
2813
2812
  this.core.clear(clearOAuthToken);
2814
2813
  }
2815
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: ClipperLoginService, deps: [], target: i0.ɵɵFactoryTarget.Service }); }
2816
- static { this.ɵprov = i0.ɵɵngDeclareService({ minVersion: "22.0.0", version: "22.0.5", ngImport: i0, type: ClipperLoginService }); }
2814
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.6", ngImport: i0, type: ClipperLoginService, deps: [], target: i0.ɵɵFactoryTarget.Service }); }
2815
+ static { this.ɵprov = i0.ɵɵngDeclareService({ minVersion: "22.0.0", version: "22.0.6", ngImport: i0, type: ClipperLoginService }); }
2817
2816
  }
2818
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: ClipperLoginService, decorators: [{
2817
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.6", ngImport: i0, type: ClipperLoginService, decorators: [{
2819
2818
  type: Service
2820
2819
  }] });
2821
2820
 
@@ -3083,10 +3082,10 @@ class ClipperCoreService {
3083
3082
  .pipe(catchError$1(() => { return EMPTY; }))
3084
3083
  .subscribe();
3085
3084
  }
3086
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: ClipperCoreService, deps: [], target: i0.ɵɵFactoryTarget.Service }); }
3087
- static { this.ɵprov = i0.ɵɵngDeclareService({ minVersion: "22.0.0", version: "22.0.5", ngImport: i0, type: ClipperCoreService }); }
3085
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.6", ngImport: i0, type: ClipperCoreService, deps: [], target: i0.ɵɵFactoryTarget.Service }); }
3086
+ static { this.ɵprov = i0.ɵɵngDeclareService({ minVersion: "22.0.0", version: "22.0.6", ngImport: i0, type: ClipperCoreService }); }
3088
3087
  }
3089
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: ClipperCoreService, decorators: [{
3088
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.6", ngImport: i0, type: ClipperCoreService, decorators: [{
3090
3089
  type: Service
3091
3090
  }] });
3092
3091
 
@@ -3282,10 +3281,10 @@ class ClipperAccountService {
3282
3281
  }
3283
3282
  this.broadcastService.sendMessage(ClipperMessages.COMMAND_DASHBOARD_UPDATED);
3284
3283
  }
3285
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: ClipperAccountService, deps: [], target: i0.ɵɵFactoryTarget.Service }); }
3286
- static { this.ɵprov = i0.ɵɵngDeclareService({ minVersion: "22.0.0", version: "22.0.5", ngImport: i0, type: ClipperAccountService }); }
3284
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.6", ngImport: i0, type: ClipperAccountService, deps: [], target: i0.ɵɵFactoryTarget.Service }); }
3285
+ static { this.ɵprov = i0.ɵɵngDeclareService({ minVersion: "22.0.0", version: "22.0.6", ngImport: i0, type: ClipperAccountService }); }
3287
3286
  }
3288
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: ClipperAccountService, decorators: [{
3287
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.6", ngImport: i0, type: ClipperAccountService, decorators: [{
3289
3288
  type: Service
3290
3289
  }] });
3291
3290
 
@@ -3456,10 +3455,10 @@ class ClipperArchiveService {
3456
3455
  downloadArchiveFile(id, otp) {
3457
3456
  return this.httpClient.get(this.core.serviceUri + '/archive/files/download/?id=' + id + '&otp=' + (otp ?? ''), { responseType: 'blob' });
3458
3457
  }
3459
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: ClipperArchiveService, deps: [], target: i0.ɵɵFactoryTarget.Service }); }
3460
- static { this.ɵprov = i0.ɵɵngDeclareService({ minVersion: "22.0.0", version: "22.0.5", ngImport: i0, type: ClipperArchiveService }); }
3458
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.6", ngImport: i0, type: ClipperArchiveService, deps: [], target: i0.ɵɵFactoryTarget.Service }); }
3459
+ static { this.ɵprov = i0.ɵɵngDeclareService({ minVersion: "22.0.0", version: "22.0.6", ngImport: i0, type: ClipperArchiveService }); }
3461
3460
  }
3462
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: ClipperArchiveService, decorators: [{
3461
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.6", ngImport: i0, type: ClipperArchiveService, decorators: [{
3463
3462
  type: Service
3464
3463
  }] });
3465
3464
 
@@ -3544,10 +3543,10 @@ class ClipperCalendarService {
3544
3543
  responseType: 'blob'
3545
3544
  });
3546
3545
  }
3547
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: ClipperCalendarService, deps: [], target: i0.ɵɵFactoryTarget.Service }); }
3548
- static { this.ɵprov = i0.ɵɵngDeclareService({ minVersion: "22.0.0", version: "22.0.5", ngImport: i0, type: ClipperCalendarService }); }
3546
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.6", ngImport: i0, type: ClipperCalendarService, deps: [], target: i0.ɵɵFactoryTarget.Service }); }
3547
+ static { this.ɵprov = i0.ɵɵngDeclareService({ minVersion: "22.0.0", version: "22.0.6", ngImport: i0, type: ClipperCalendarService }); }
3549
3548
  }
3550
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: ClipperCalendarService, decorators: [{
3549
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.6", ngImport: i0, type: ClipperCalendarService, decorators: [{
3551
3550
  type: Service
3552
3551
  }] });
3553
3552
 
@@ -3679,10 +3678,10 @@ class ClipperCollaborationService {
3679
3678
  countNotesTrackingsTroubled() {
3680
3679
  return this.httpClient.get(this.core.serviceUri + '/account/notes/trackings/troubled');
3681
3680
  }
3682
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: ClipperCollaborationService, deps: [], target: i0.ɵɵFactoryTarget.Service }); }
3683
- static { this.ɵprov = i0.ɵɵngDeclareService({ minVersion: "22.0.0", version: "22.0.5", ngImport: i0, type: ClipperCollaborationService }); }
3681
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.6", ngImport: i0, type: ClipperCollaborationService, deps: [], target: i0.ɵɵFactoryTarget.Service }); }
3682
+ static { this.ɵprov = i0.ɵɵngDeclareService({ minVersion: "22.0.0", version: "22.0.6", ngImport: i0, type: ClipperCollaborationService }); }
3684
3683
  }
3685
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: ClipperCollaborationService, decorators: [{
3684
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.6", ngImport: i0, type: ClipperCollaborationService, decorators: [{
3686
3685
  type: Service
3687
3686
  }] });
3688
3687
 
@@ -3767,10 +3766,10 @@ class ClipperService {
3767
3766
  ping() {
3768
3767
  this.core.ping();
3769
3768
  }
3770
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: ClipperService, deps: [], target: i0.ɵɵFactoryTarget.Service }); }
3771
- static { this.ɵprov = i0.ɵɵngDeclareService({ minVersion: "22.0.0", version: "22.0.5", ngImport: i0, type: ClipperService }); }
3769
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.6", ngImport: i0, type: ClipperService, deps: [], target: i0.ɵɵFactoryTarget.Service }); }
3770
+ static { this.ɵprov = i0.ɵɵngDeclareService({ minVersion: "22.0.0", version: "22.0.6", ngImport: i0, type: ClipperService }); }
3772
3771
  }
3773
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: ClipperService, decorators: [{
3772
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.6", ngImport: i0, type: ClipperService, decorators: [{
3774
3773
  type: Service
3775
3774
  }] });
3776
3775