@arsedizioni/ars-utils 20.4.69 → 21.0.1

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.
Files changed (35) hide show
  1. package/fesm2022/arsedizioni-ars-utils-clipper.common.mjs +27 -27
  2. package/fesm2022/arsedizioni-ars-utils-clipper.common.mjs.map +1 -1
  3. package/fesm2022/arsedizioni-ars-utils-clipper.ui.mjs +116 -116
  4. package/fesm2022/arsedizioni-ars-utils-clipper.ui.mjs.map +1 -1
  5. package/fesm2022/arsedizioni-ars-utils-core.mjs +127 -127
  6. package/fesm2022/arsedizioni-ars-utils-core.mjs.map +1 -1
  7. package/fesm2022/arsedizioni-ars-utils-evolution.common.mjs +12 -12
  8. package/fesm2022/arsedizioni-ars-utils-evolution.common.mjs.map +1 -1
  9. package/fesm2022/arsedizioni-ars-utils-help.mjs +18 -18
  10. package/fesm2022/arsedizioni-ars-utils-help.mjs.map +1 -1
  11. package/fesm2022/arsedizioni-ars-utils-support.common.mjs +8 -8
  12. package/fesm2022/arsedizioni-ars-utils-support.common.mjs.map +1 -1
  13. package/fesm2022/arsedizioni-ars-utils-support.ui.mjs +10 -10
  14. package/fesm2022/arsedizioni-ars-utils-support.ui.mjs.map +1 -1
  15. package/fesm2022/arsedizioni-ars-utils-tinymce.mjs +8 -8
  16. package/fesm2022/arsedizioni-ars-utils-tinymce.mjs.map +1 -1
  17. package/fesm2022/arsedizioni-ars-utils-ui.application.mjs +149 -149
  18. package/fesm2022/arsedizioni-ars-utils-ui.application.mjs.map +1 -1
  19. package/fesm2022/arsedizioni-ars-utils-ui.mjs +59 -59
  20. package/fesm2022/arsedizioni-ars-utils-ui.mjs.map +1 -1
  21. package/fesm2022/arsedizioni-ars-utils-ui.oauth.mjs +15 -15
  22. package/fesm2022/arsedizioni-ars-utils-ui.oauth.mjs.map +1 -1
  23. package/package.json +14 -14
  24. package/{clipper.common/index.d.ts → types/arsedizioni-ars-utils-clipper.common.d.ts} +3 -3
  25. /package/{clipper.ui/index.d.ts → types/arsedizioni-ars-utils-clipper.ui.d.ts} +0 -0
  26. /package/{core/index.d.ts → types/arsedizioni-ars-utils-core.d.ts} +0 -0
  27. /package/{evolution.common/index.d.ts → types/arsedizioni-ars-utils-evolution.common.d.ts} +0 -0
  28. /package/{help/index.d.ts → types/arsedizioni-ars-utils-help.d.ts} +0 -0
  29. /package/{support.common/index.d.ts → types/arsedizioni-ars-utils-support.common.d.ts} +0 -0
  30. /package/{support.ui/index.d.ts → types/arsedizioni-ars-utils-support.ui.d.ts} +0 -0
  31. /package/{tinymce/index.d.ts → types/arsedizioni-ars-utils-tinymce.d.ts} +0 -0
  32. /package/{ui.application/index.d.ts → types/arsedizioni-ars-utils-ui.application.d.ts} +0 -0
  33. /package/{ui/index.d.ts → types/arsedizioni-ars-utils-ui.d.ts} +0 -0
  34. /package/{ui.oauth/index.d.ts → types/arsedizioni-ars-utils-ui.oauth.d.ts} +0 -0
  35. /package/{index.d.ts → types/arsedizioni-ars-utils.d.ts} +0 -0
@@ -1115,7 +1115,7 @@ var ClipperExportDocumentsFormat;
1115
1115
  })(ClipperExportDocumentsFormat || (ClipperExportDocumentsFormat = {}));
1116
1116
  class ClipperDashboard {
1117
1117
  constructor() {
1118
- this.items = signal([], ...(ngDevMode ? [{ debugName: "items" }] : []));
1118
+ this.items = signal([], { ...(ngDevMode ? { debugName: "items" } : {}) });
1119
1119
  this.isTrial = false;
1120
1120
  this.unreadItems = computed(() => {
1121
1121
  const states = [];
@@ -1127,7 +1127,7 @@ class ClipperDashboard {
1127
1127
  states.push([ClipperModule.Approfondimenti, this.items().find((x) => x.id == ClipperModule.Approfondimenti)?.unreadItems ?? 0]);
1128
1128
  states.push([ClipperModule.QuesitiECasiRisolti, this.items().find((x) => x.id == ClipperModule.QuesitiECasiRisolti)?.unreadItems ?? 0]);
1129
1129
  return states;
1130
- }, ...(ngDevMode ? [{ debugName: "unreadItems" }] : []));
1130
+ }, { ...(ngDevMode ? { debugName: "unreadItems" } : {}) });
1131
1131
  this.unreadItemsByModel = computed(() => {
1132
1132
  const states = [];
1133
1133
  this.items().forEach(item => {
@@ -1161,7 +1161,7 @@ class ClipperDashboard {
1161
1161
  }
1162
1162
  });
1163
1163
  return states;
1164
- }, ...(ngDevMode ? [{ debugName: "unreadItemsByModel" }] : []));
1164
+ }, { ...(ngDevMode ? { debugName: "unreadItemsByModel" } : {}) });
1165
1165
  }
1166
1166
  /**
1167
1167
  * Update unread items
@@ -1571,28 +1571,28 @@ class ClipperService {
1571
1571
  this.dialogService = inject(DialogService);
1572
1572
  this._serviceUri = '';
1573
1573
  this._flags = ClipperServiceFlags.None;
1574
- this.loggedIn = signal(sessionStorage.getItem("clipper_oauth_token") !== null, ...(ngDevMode ? [{ debugName: "loggedIn" }] : []));
1575
- this.loggingIn = signal(false, ...(ngDevMode ? [{ debugName: "loggingIn" }] : []));
1576
- this.snapshot = signal(undefined, ...(ngDevMode ? [{ debugName: "snapshot" }] : []));
1577
- this.supportsRS = signal(false, ...(ngDevMode ? [{ debugName: "supportsRS" }] : []));
1578
- this.referencesSnapshot = signal(undefined, ...(ngDevMode ? [{ debugName: "referencesSnapshot" }] : []));
1574
+ this.loggedIn = signal(sessionStorage.getItem("clipper_oauth_token") !== null, { ...(ngDevMode ? { debugName: "loggedIn" } : {}) });
1575
+ this.loggingIn = signal(false, { ...(ngDevMode ? { debugName: "loggingIn" } : {}) });
1576
+ this.snapshot = signal(undefined, { ...(ngDevMode ? { debugName: "snapshot" } : {}) });
1577
+ this.supportsRS = signal(false, { ...(ngDevMode ? { debugName: "supportsRS" } : {}) });
1578
+ this.referencesSnapshot = signal(undefined, { ...(ngDevMode ? { debugName: "referencesSnapshot" } : {}) });
1579
1579
  this.dashboard = new ClipperDashboard();
1580
- this.bag = signal([], ...(ngDevMode ? [{ debugName: "bag" }] : []));
1580
+ this.bag = signal([], { ...(ngDevMode ? { debugName: "bag" } : {}) });
1581
1581
  this.bagTotal = computed(() => {
1582
1582
  return this.bag().length;
1583
- }, ...(ngDevMode ? [{ debugName: "bagTotal" }] : []));
1584
- this.visible = signal(false, ...(ngDevMode ? [{ debugName: "visible" }] : []));
1583
+ }, { ...(ngDevMode ? { debugName: "bagTotal" } : {}) });
1584
+ this.visible = signal(false, { ...(ngDevMode ? { debugName: "visible" } : {}) });
1585
1585
  this._teams = [];
1586
- this.currentTeamId = signal(SystemUtils.emptyUUID(), ...(ngDevMode ? [{ debugName: "currentTeamId" }] : []));
1587
- this.currentTeamName = signal("PERSONALE", ...(ngDevMode ? [{ debugName: "currentTeamName" }] : []));
1586
+ this.currentTeamId = signal(SystemUtils.emptyUUID(), { ...(ngDevMode ? { debugName: "currentTeamId" } : {}) });
1587
+ this.currentTeamName = signal("PERSONALE", { ...(ngDevMode ? { debugName: "currentTeamName" } : {}) });
1588
1588
  this.currentTeamIsPrivate = computed(() => {
1589
1589
  return this.currentTeamId() !== SystemUtils.emptyUUID();
1590
- }, ...(ngDevMode ? [{ debugName: "currentTeamIsPrivate" }] : []));
1591
- this.availableChannels = signal([], ...(ngDevMode ? [{ debugName: "availableChannels" }] : []));
1590
+ }, { ...(ngDevMode ? { debugName: "currentTeamIsPrivate" } : {}) });
1591
+ this.availableChannels = signal([], { ...(ngDevMode ? { debugName: "availableChannels" } : {}) });
1592
1592
  this.activeChannels = computed(() => {
1593
1593
  return this.availableChannels()?.filter(x => !x.disabled && x.active === true);
1594
- }, ...(ngDevMode ? [{ debugName: "activeChannels" }] : []));
1595
- this.allowTags = signal(false, ...(ngDevMode ? [{ debugName: "allowTags" }] : []));
1594
+ }, { ...(ngDevMode ? { debugName: "activeChannels" } : {}) });
1595
+ this.allowTags = signal(false, { ...(ngDevMode ? { debugName: "allowTags" } : {}) });
1596
1596
  }
1597
1597
  get appUri() {
1598
1598
  return this._appUri;
@@ -2612,10 +2612,10 @@ class ClipperService {
2612
2612
  downloadArchiveFile(id, otp) {
2613
2613
  return this.httpClient.get(this._serviceUri + '/archive/files/download/?id=' + id + '&otp=' + (otp ?? ''), { responseType: 'blob' });
2614
2614
  }
2615
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.11", ngImport: i0, type: ClipperService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
2616
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.11", ngImport: i0, type: ClipperService, providedIn: 'root' }); }
2615
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.1", ngImport: i0, type: ClipperService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
2616
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.0.1", ngImport: i0, type: ClipperService, providedIn: 'root' }); }
2617
2617
  }
2618
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.11", ngImport: i0, type: ClipperService, decorators: [{
2618
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.1", ngImport: i0, type: ClipperService, decorators: [{
2619
2619
  type: Injectable,
2620
2620
  args: [{
2621
2621
  providedIn: 'root',
@@ -2672,19 +2672,19 @@ class ClipperAuthInterceptor {
2672
2672
  }
2673
2673
  return next.handle(request);
2674
2674
  }
2675
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.11", ngImport: i0, type: ClipperAuthInterceptor, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
2676
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.11", ngImport: i0, type: ClipperAuthInterceptor }); }
2675
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.1", ngImport: i0, type: ClipperAuthInterceptor, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
2676
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.0.1", ngImport: i0, type: ClipperAuthInterceptor }); }
2677
2677
  }
2678
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.11", ngImport: i0, type: ClipperAuthInterceptor, decorators: [{
2678
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.1", ngImport: i0, type: ClipperAuthInterceptor, decorators: [{
2679
2679
  type: Injectable
2680
2680
  }] });
2681
2681
 
2682
2682
  class ArsClipperCommonModule {
2683
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.11", ngImport: i0, type: ArsClipperCommonModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
2684
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.11", ngImport: i0, type: ArsClipperCommonModule }); }
2685
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.11", ngImport: i0, type: ArsClipperCommonModule }); }
2683
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.1", ngImport: i0, type: ArsClipperCommonModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
2684
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.0.1", ngImport: i0, type: ArsClipperCommonModule }); }
2685
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.0.1", ngImport: i0, type: ArsClipperCommonModule }); }
2686
2686
  }
2687
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.11", ngImport: i0, type: ArsClipperCommonModule, decorators: [{
2687
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.1", ngImport: i0, type: ArsClipperCommonModule, decorators: [{
2688
2688
  type: NgModule
2689
2689
  }] });
2690
2690