@arsedizioni/ars-utils 22.7.6 → 22.7.7

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 (67) hide show
  1. package/fesm2022/arsedizioni-ars-utils-clipper.common.mjs +18 -15
  2. package/fesm2022/arsedizioni-ars-utils-clipper.common.mjs.map +1 -1
  3. package/fesm2022/{arsedizioni-ars-utils-clipper.ui-document.component-BKjGXtXa.mjs → arsedizioni-ars-utils-clipper.ui-document.component-vI7C4i2r.mjs} +29 -14
  4. package/fesm2022/arsedizioni-ars-utils-clipper.ui-document.component-vI7C4i2r.mjs.map +1 -0
  5. package/fesm2022/arsedizioni-ars-utils-clipper.ui-document.component-xjm4mdUv.mjs +1593 -0
  6. package/fesm2022/arsedizioni-ars-utils-clipper.ui-document.component-xjm4mdUv.mjs.map +1 -0
  7. package/fesm2022/arsedizioni-ars-utils-clipper.ui-references.component-CBuJnNIf.mjs +806 -0
  8. package/fesm2022/arsedizioni-ars-utils-clipper.ui-references.component-CBuJnNIf.mjs.map +1 -0
  9. package/fesm2022/{arsedizioni-ars-utils-clipper.ui-references.component-CEA_wJTS.mjs → arsedizioni-ars-utils-clipper.ui-references.component-DYojmfsw.mjs} +4 -4
  10. package/fesm2022/{arsedizioni-ars-utils-clipper.ui-references.component-CEA_wJTS.mjs.map → arsedizioni-ars-utils-clipper.ui-references.component-DYojmfsw.mjs.map} +1 -1
  11. package/fesm2022/arsedizioni-ars-utils-clipper.ui.mjs +351 -72
  12. package/fesm2022/arsedizioni-ars-utils-clipper.ui.mjs.map +1 -1
  13. package/fesm2022/arsedizioni-ars-utils-core.date.mjs +6 -6
  14. package/fesm2022/arsedizioni-ars-utils-core.markdown.mjs +3 -3
  15. package/fesm2022/arsedizioni-ars-utils-core.mjs +48 -48
  16. package/fesm2022/arsedizioni-ars-utils-core.validators.mjs +42 -42
  17. package/fesm2022/arsedizioni-ars-utils-evolution.common.mjs +15 -15
  18. package/fesm2022/arsedizioni-ars-utils-support.common.mjs +9 -9
  19. package/fesm2022/arsedizioni-ars-utils-ui.controls.date.mjs +6 -6
  20. package/fesm2022/arsedizioni-ars-utils-ui.controls.mjs +9 -9
  21. package/fesm2022/arsedizioni-ars-utils-ui.controls.tree.mjs +3 -3
  22. package/fesm2022/arsedizioni-ars-utils-ui.dialogs.auth.mjs +18 -18
  23. package/fesm2022/arsedizioni-ars-utils-ui.dialogs.mjs +12 -12
  24. package/fesm2022/arsedizioni-ars-utils-ui.dialogs.prompt.mjs +9 -9
  25. package/fesm2022/arsedizioni-ars-utils-ui.dialogs.select.mjs +15 -15
  26. package/fesm2022/arsedizioni-ars-utils-ui.files.mjs +12 -12
  27. package/fesm2022/arsedizioni-ars-utils-ui.filters.mjs +3 -3
  28. package/fesm2022/arsedizioni-ars-utils-ui.help.mjs +9 -9
  29. package/fesm2022/arsedizioni-ars-utils-ui.mjs +61 -61
  30. package/fesm2022/arsedizioni-ars-utils-ui.navigation.mjs +3 -3
  31. package/fesm2022/arsedizioni-ars-utils-ui.notifications.mjs +6 -6
  32. package/fesm2022/arsedizioni-ars-utils-ui.oauth.mjs +6 -6
  33. package/fesm2022/arsedizioni-ars-utils-ui.paginator.mjs +3 -3
  34. package/fesm2022/arsedizioni-ars-utils-ui.shell.mjs +9 -9
  35. package/fesm2022/arsedizioni-ars-utils-ui.tinymce.mjs +9 -9
  36. package/package.json +1 -1
  37. package/types/arsedizioni-ars-utils-clipper.common.d.ts +34 -0
  38. package/types/arsedizioni-ars-utils-clipper.common.d.ts.map +1 -0
  39. package/types/arsedizioni-ars-utils-clipper.ui.d.ts +108 -3
  40. package/types/arsedizioni-ars-utils-clipper.ui.d.ts.map +1 -0
  41. package/types/arsedizioni-ars-utils-core.d.ts.map +1 -0
  42. package/types/arsedizioni-ars-utils-core.date.d.ts.map +1 -0
  43. package/types/arsedizioni-ars-utils-core.markdown.d.ts.map +1 -0
  44. package/types/arsedizioni-ars-utils-core.validators.d.ts.map +1 -0
  45. package/types/arsedizioni-ars-utils-evolution.common.d.ts.map +1 -0
  46. package/types/arsedizioni-ars-utils-support.common.d.ts.map +1 -0
  47. package/types/arsedizioni-ars-utils-ui.controls.d.ts +1 -1
  48. package/types/arsedizioni-ars-utils-ui.controls.d.ts.map +1 -0
  49. package/types/arsedizioni-ars-utils-ui.controls.date.d.ts.map +1 -0
  50. package/types/arsedizioni-ars-utils-ui.controls.tree.d.ts.map +1 -0
  51. package/types/arsedizioni-ars-utils-ui.d.ts.map +1 -0
  52. package/types/arsedizioni-ars-utils-ui.dialogs.auth.d.ts.map +1 -0
  53. package/types/arsedizioni-ars-utils-ui.dialogs.d.ts.map +1 -0
  54. package/types/arsedizioni-ars-utils-ui.dialogs.prompt.d.ts.map +1 -0
  55. package/types/arsedizioni-ars-utils-ui.dialogs.select.d.ts.map +1 -0
  56. package/types/arsedizioni-ars-utils-ui.files.d.ts.map +1 -0
  57. package/types/arsedizioni-ars-utils-ui.filters.d.ts.map +1 -0
  58. package/types/arsedizioni-ars-utils-ui.help.d.ts.map +1 -0
  59. package/types/arsedizioni-ars-utils-ui.navigation.d.ts +1 -1
  60. package/types/arsedizioni-ars-utils-ui.navigation.d.ts.map +1 -0
  61. package/types/arsedizioni-ars-utils-ui.notifications.d.ts.map +1 -0
  62. package/types/arsedizioni-ars-utils-ui.oauth.d.ts.map +1 -0
  63. package/types/arsedizioni-ars-utils-ui.paginator.d.ts.map +1 -0
  64. package/types/arsedizioni-ars-utils-ui.shell.d.ts.map +1 -0
  65. package/types/arsedizioni-ars-utils-ui.tinymce.d.ts.map +1 -0
  66. package/types/arsedizioni-ars-utils.d.ts.map +1 -0
  67. package/fesm2022/arsedizioni-ars-utils-clipper.ui-document.component-BKjGXtXa.mjs.map +0 -1
@@ -6,9 +6,9 @@ import { ChangeDetectionStrategy, ChangeDetectorRef, Component, DestroyRef, Rend
6
6
  import { outputToObservable, takeUntilDestroyed, toObservable, toSignal } from "@angular/core/rxjs-interop";
7
7
  import { FormField, FormRoot, form, maxLength, min } from "@angular/forms/signals";
8
8
  import { SignalsUtils } from "@arsedizioni/ars-utils/core.validators";
9
- import * as i2$1 from "@angular/material/badge";
9
+ import * as i2$2 from "@angular/material/badge";
10
10
  import { MatBadge, MatBadgeModule } from "@angular/material/badge";
11
- import * as i2$3 from "@angular/material/button";
11
+ import * as i2$4 from "@angular/material/button";
12
12
  import { MatButtonModule } from "@angular/material/button";
13
13
  import { MatButtonToggleModule } from "@angular/material/button-toggle";
14
14
  import * as i1 from "@angular/material/checkbox";
@@ -22,13 +22,13 @@ import * as i4 from "@angular/material/divider";
22
22
  import { MatDividerModule } from "@angular/material/divider";
23
23
  import * as i6$1 from "@angular/material/expansion";
24
24
  import { MatExpansionModule } from "@angular/material/expansion";
25
- import * as i2$2 from "@angular/material/form-field";
25
+ import * as i2$3 from "@angular/material/form-field";
26
26
  import { MatFormFieldModule } from "@angular/material/form-field";
27
27
  import * as i3$2 from "@angular/material/icon";
28
28
  import { MatIconModule } from "@angular/material/icon";
29
29
  import * as i3 from "@angular/material/input";
30
30
  import { MatInputModule } from "@angular/material/input";
31
- import * as i2$4 from "@angular/material/menu";
31
+ import * as i2$5 from "@angular/material/menu";
32
32
  import { MatMenuModule } from "@angular/material/menu";
33
33
  import { MatPaginator } from "@angular/material/paginator";
34
34
  import * as i16 from "@angular/material/progress-bar";
@@ -42,7 +42,7 @@ import { MatSlideToggleModule } from "@angular/material/slide-toggle";
42
42
  import * as i5$1 from "@angular/material/tooltip";
43
43
  import { MatTooltipModule } from "@angular/material/tooltip";
44
44
  import { ClipperAuthors, ClipperChannel, ClipperDocumentChangeReasons, ClipperFacet, ClipperMessages, ClipperModel, ClipperModule, ClipperQueryDocumentFlags, ClipperQueryReferencesMode, ClipperRegions, ClipperSearchFacetsSnapshot, ClipperSearchParams, ClipperSearchResult, ClipperSearchUtils, ClipperSectorTypes, ClipperSectors, ClipperSelectionMode, ClipperService, ClipperSort, ClipperSources, ClipperUtils } from "@arsedizioni/ars-utils/clipper.common";
45
- import { BroadcastService, DateFormat, DateInterval, DtoUtils, FormatPipe, ScreenService, SelectableModel, SystemUtils, ThemeService } from "@arsedizioni/ars-utils/core";
45
+ import { BroadcastService, DateFormat, DateInterval, DtoUtils, FormatPipe, SafeHtmlPipe, ScreenService, SelectableModel, SystemUtils, ThemeService } from "@arsedizioni/ars-utils/core";
46
46
  import * as i1$1 from "@arsedizioni/ars-utils/ui";
47
47
  import { FlexLayoutModule } from "@arsedizioni/ars-utils/ui";
48
48
  import { ButtonSelectorComponent, ButtonToggleComponent, ChipsSelectorComponent } from "@arsedizioni/ars-utils/ui.controls";
@@ -54,8 +54,21 @@ import { DialogService } from "@arsedizioni/ars-utils/ui.dialogs";
54
54
  import { SendToDialogComponent } from "@arsedizioni/ars-utils/ui.dialogs.select";
55
55
  import saveAs from "file-saver";
56
56
  import { MAT_DIALOG_DATA, MatDialogActions, MatDialogClose, MatDialogContent, MatDialogRef, MatDialogTitle } from "@angular/material/dialog";
57
+ import * as i2$1 from "@angular/material/tabs";
58
+ import { MatTabsModule } from "@angular/material/tabs";
59
+ import { MarkdownUtils } from "@arsedizioni/ars-utils/core.markdown";
57
60
  import * as i2 from "@angular/material/list";
58
61
  import { MatListModule } from "@angular/material/list";
62
+ var __defProp = Object.defineProperty;
63
+ var __exportAll = (all, no_symbols) => {
64
+ let target = {};
65
+ for (var name in all) __defProp(target, name, {
66
+ get: all[name],
67
+ enumerable: true
68
+ });
69
+ if (!no_symbols) __defProp(target, Symbol.toStringTag, { value: "Module" });
70
+ return target;
71
+ };
59
72
  var ClipperDocumentMenuComponent = class ClipperDocumentMenuComponent {
60
73
  constructor() {
61
74
  this.rsMenuTrigger = viewChild("rsMenuTrigger", ...ngDevMode ? [{ debugName: "rsMenuTrigger" }] : /* istanbul ignore next */ []);
@@ -166,7 +179,7 @@ var ClipperDocumentMenuComponent = class ClipperDocumentMenuComponent {
166
179
  static {
167
180
  this.ɵfac = i0.ɵɵngDeclareFactory({
168
181
  minVersion: "12.0.0",
169
- version: "22.2.2",
182
+ version: "22.2.3",
170
183
  ngImport: i0,
171
184
  type: ClipperDocumentMenuComponent,
172
185
  deps: [],
@@ -176,7 +189,7 @@ var ClipperDocumentMenuComponent = class ClipperDocumentMenuComponent {
176
189
  static {
177
190
  this.ɵcmp = i0.ɵɵngDeclareComponent({
178
191
  minVersion: "17.0.0",
179
- version: "22.2.2",
192
+ version: "22.2.3",
180
193
  type: ClipperDocumentMenuComponent,
181
194
  isStandalone: true,
182
195
  selector: "clipper-document-menu",
@@ -416,7 +429,7 @@ var ClipperDocumentMenuComponent = class ClipperDocumentMenuComponent {
416
429
  },
417
430
  {
418
431
  kind: "component",
419
- type: i2$4.MatMenu,
432
+ type: i2$5.MatMenu,
420
433
  selector: "mat-menu",
421
434
  inputs: [
422
435
  "backdropClass",
@@ -435,7 +448,7 @@ var ClipperDocumentMenuComponent = class ClipperDocumentMenuComponent {
435
448
  },
436
449
  {
437
450
  kind: "component",
438
- type: i2$4.MatMenuItem,
451
+ type: i2$5.MatMenuItem,
439
452
  selector: "[mat-menu-item]",
440
453
  inputs: [
441
454
  "role",
@@ -447,7 +460,7 @@ var ClipperDocumentMenuComponent = class ClipperDocumentMenuComponent {
447
460
  },
448
461
  {
449
462
  kind: "directive",
450
- type: i2$4.MatMenuTrigger,
463
+ type: i2$5.MatMenuTrigger,
451
464
  selector: "[mat-menu-trigger-for], [matMenuTriggerFor]",
452
465
  inputs: [
453
466
  "mat-menu-trigger-for",
@@ -517,7 +530,7 @@ var ClipperDocumentMenuComponent = class ClipperDocumentMenuComponent {
517
530
  };
518
531
  i0.ɵɵngDeclareClassMetadata({
519
532
  minVersion: "12.0.0",
520
- version: "22.2.2",
533
+ version: "22.2.3",
521
534
  ngImport: i0,
522
535
  type: ClipperDocumentMenuComponent,
523
536
  decorators: [{
@@ -780,7 +793,7 @@ var ClipperSearchFacetsComponent = class ClipperSearchFacetsComponent {
780
793
  static {
781
794
  this.ɵfac = i0.ɵɵngDeclareFactory({
782
795
  minVersion: "12.0.0",
783
- version: "22.2.2",
796
+ version: "22.2.3",
784
797
  ngImport: i0,
785
798
  type: ClipperSearchFacetsComponent,
786
799
  deps: [],
@@ -790,7 +803,7 @@ var ClipperSearchFacetsComponent = class ClipperSearchFacetsComponent {
790
803
  static {
791
804
  this.ɵcmp = i0.ɵɵngDeclareComponent({
792
805
  minVersion: "17.0.0",
793
- version: "22.2.2",
806
+ version: "22.2.3",
794
807
  type: ClipperSearchFacetsComponent,
795
808
  isStandalone: true,
796
809
  selector: "clipper-search-facets",
@@ -1071,7 +1084,7 @@ var ClipperSearchFacetsComponent = class ClipperSearchFacetsComponent {
1071
1084
  };
1072
1085
  i0.ɵɵngDeclareClassMetadata({
1073
1086
  minVersion: "12.0.0",
1074
- version: "22.2.2",
1087
+ version: "22.2.3",
1075
1088
  ngImport: i0,
1076
1089
  type: ClipperSearchFacetsComponent,
1077
1090
  decorators: [{
@@ -1236,7 +1249,7 @@ var ClipperDocumentManager = class ClipperDocumentManager {
1236
1249
  }
1237
1250
  openReferences(documentId, mode = ClipperQueryReferencesMode.ReferencesIn) {
1238
1251
  if (!documentId) return;
1239
- import("./arsedizioni-ars-utils-clipper.ui-references.component-CEA_wJTS.mjs").then(({ ClipperReferencesComponent }) => {
1252
+ import("./arsedizioni-ars-utils-clipper.ui-references.component-DYojmfsw.mjs").then(({ ClipperReferencesComponent }) => {
1240
1253
  this.dialogService.open(ClipperReferencesComponent, {
1241
1254
  ariaLabel: "riferimenti legati al documento",
1242
1255
  autoFocus: "dialog",
@@ -1342,7 +1355,7 @@ var ClipperDocumentManager = class ClipperDocumentManager {
1342
1355
  static {
1343
1356
  this.ɵfac = i0.ɵɵngDeclareFactory({
1344
1357
  minVersion: "12.0.0",
1345
- version: "22.2.2",
1358
+ version: "22.2.3",
1346
1359
  ngImport: i0,
1347
1360
  type: ClipperDocumentManager,
1348
1361
  deps: [],
@@ -1352,7 +1365,7 @@ var ClipperDocumentManager = class ClipperDocumentManager {
1352
1365
  static {
1353
1366
  this.ɵcmp = i0.ɵɵngDeclareComponent({
1354
1367
  minVersion: "14.0.0",
1355
- version: "22.2.2",
1368
+ version: "22.2.3",
1356
1369
  type: ClipperDocumentManager,
1357
1370
  isStandalone: true,
1358
1371
  selector: "ng-component",
@@ -1366,7 +1379,7 @@ var ClipperDocumentManager = class ClipperDocumentManager {
1366
1379
  };
1367
1380
  i0.ɵɵngDeclareClassMetadata({
1368
1381
  minVersion: "12.0.0",
1369
- version: "22.2.2",
1382
+ version: "22.2.3",
1370
1383
  ngImport: i0,
1371
1384
  type: ClipperDocumentManager,
1372
1385
  decorators: [{
@@ -1396,7 +1409,7 @@ var ClipperDocumentViewerService = class ClipperDocumentViewerService {
1396
1409
  this.dialogService.error("Documento non valido.");
1397
1410
  return;
1398
1411
  }
1399
- import("./arsedizioni-ars-utils-clipper.ui-document.component-BKjGXtXa.mjs").then(({ ClipperDocumentComponent }) => {
1412
+ import("./arsedizioni-ars-utils-clipper.ui-document.component-vI7C4i2r.mjs").then(({ ClipperDocumentComponent }) => {
1400
1413
  const ref = this.dialogService.open(ClipperDocumentComponent, {
1401
1414
  ariaLabel: "documento",
1402
1415
  autoFocus: "dialog",
@@ -1427,7 +1440,7 @@ var ClipperDocumentViewerService = class ClipperDocumentViewerService {
1427
1440
  static {
1428
1441
  this.ɵfac = i0.ɵɵngDeclareFactory({
1429
1442
  minVersion: "12.0.0",
1430
- version: "22.2.2",
1443
+ version: "22.2.3",
1431
1444
  ngImport: i0,
1432
1445
  type: ClipperDocumentViewerService,
1433
1446
  deps: [],
@@ -1437,7 +1450,7 @@ var ClipperDocumentViewerService = class ClipperDocumentViewerService {
1437
1450
  static {
1438
1451
  this.ɵprov = i0.ɵɵngDeclareService({
1439
1452
  minVersion: "22.0.0",
1440
- version: "22.2.2",
1453
+ version: "22.2.3",
1441
1454
  ngImport: i0,
1442
1455
  type: ClipperDocumentViewerService
1443
1456
  });
@@ -1445,7 +1458,7 @@ var ClipperDocumentViewerService = class ClipperDocumentViewerService {
1445
1458
  };
1446
1459
  i0.ɵɵngDeclareClassMetadata({
1447
1460
  minVersion: "12.0.0",
1448
- version: "22.2.2",
1461
+ version: "22.2.3",
1449
1462
  ngImport: i0,
1450
1463
  type: ClipperDocumentViewerService,
1451
1464
  decorators: [{ type: Service }]
@@ -1807,7 +1820,7 @@ var ClipperSearchResultManager = class ClipperSearchResultManager extends Clippe
1807
1820
  static {
1808
1821
  this.ɵfac = i0.ɵɵngDeclareFactory({
1809
1822
  minVersion: "12.0.0",
1810
- version: "22.2.2",
1823
+ version: "22.2.3",
1811
1824
  ngImport: i0,
1812
1825
  type: ClipperSearchResultManager,
1813
1826
  deps: null,
@@ -1817,7 +1830,7 @@ var ClipperSearchResultManager = class ClipperSearchResultManager extends Clippe
1817
1830
  static {
1818
1831
  this.ɵcmp = i0.ɵɵngDeclareComponent({
1819
1832
  minVersion: "17.2.0",
1820
- version: "22.2.2",
1833
+ version: "22.2.3",
1821
1834
  type: ClipperSearchResultManager,
1822
1835
  isStandalone: true,
1823
1836
  selector: "ng-component",
@@ -1854,7 +1867,7 @@ var ClipperSearchResultManager = class ClipperSearchResultManager extends Clippe
1854
1867
  };
1855
1868
  i0.ɵɵngDeclareClassMetadata({
1856
1869
  minVersion: "12.0.0",
1857
- version: "22.2.2",
1870
+ version: "22.2.3",
1858
1871
  ngImport: i0,
1859
1872
  type: ClipperSearchResultManager,
1860
1873
  decorators: [{
@@ -1884,7 +1897,7 @@ var ClipperSearchFreeTextHelpComponent = class ClipperSearchFreeTextHelpComponen
1884
1897
  static {
1885
1898
  this.ɵfac = i0.ɵɵngDeclareFactory({
1886
1899
  minVersion: "12.0.0",
1887
- version: "22.2.2",
1900
+ version: "22.2.3",
1888
1901
  ngImport: i0,
1889
1902
  type: ClipperSearchFreeTextHelpComponent,
1890
1903
  deps: [],
@@ -1894,7 +1907,7 @@ var ClipperSearchFreeTextHelpComponent = class ClipperSearchFreeTextHelpComponen
1894
1907
  static {
1895
1908
  this.ɵcmp = i0.ɵɵngDeclareComponent({
1896
1909
  minVersion: "14.0.0",
1897
- version: "22.2.2",
1910
+ version: "22.2.3",
1898
1911
  type: ClipperSearchFreeTextHelpComponent,
1899
1912
  isStandalone: true,
1900
1913
  selector: "ng-component",
@@ -2016,7 +2029,7 @@ var ClipperSearchFreeTextHelpComponent = class ClipperSearchFreeTextHelpComponen
2016
2029
  },
2017
2030
  {
2018
2031
  kind: "component",
2019
- type: i2$3.MatButton,
2032
+ type: i2$4.MatButton,
2020
2033
  selector: " button[matButton], a[matButton], button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button], a[mat-button], a[mat-raised-button], a[mat-flat-button], a[mat-stroked-button] ",
2021
2034
  inputs: ["matButton"],
2022
2035
  exportAs: ["matButton", "matAnchor"]
@@ -2040,7 +2053,7 @@ var ClipperSearchFreeTextHelpComponent = class ClipperSearchFreeTextHelpComponen
2040
2053
  };
2041
2054
  i0.ɵɵngDeclareClassMetadata({
2042
2055
  minVersion: "12.0.0",
2043
- version: "22.2.2",
2056
+ version: "22.2.3",
2044
2057
  ngImport: i0,
2045
2058
  type: ClipperSearchFreeTextHelpComponent,
2046
2059
  decorators: [{
@@ -2128,7 +2141,7 @@ var ClipperSearchFreeTextQueryBuilderComponent = class ClipperSearchFreeTextQuer
2128
2141
  static {
2129
2142
  this.ɵfac = i0.ɵɵngDeclareFactory({
2130
2143
  minVersion: "12.0.0",
2131
- version: "22.2.2",
2144
+ version: "22.2.3",
2132
2145
  ngImport: i0,
2133
2146
  type: ClipperSearchFreeTextQueryBuilderComponent,
2134
2147
  deps: [],
@@ -2138,7 +2151,7 @@ var ClipperSearchFreeTextQueryBuilderComponent = class ClipperSearchFreeTextQuer
2138
2151
  static {
2139
2152
  this.ɵcmp = i0.ɵɵngDeclareComponent({
2140
2153
  minVersion: "17.0.0",
2141
- version: "22.2.2",
2154
+ version: "22.2.3",
2142
2155
  type: ClipperSearchFreeTextQueryBuilderComponent,
2143
2156
  isStandalone: true,
2144
2157
  selector: "ng-component",
@@ -2289,7 +2302,7 @@ var ClipperSearchFreeTextQueryBuilderComponent = class ClipperSearchFreeTextQuer
2289
2302
  },
2290
2303
  {
2291
2304
  kind: "component",
2292
- type: i2$2.MatFormField,
2305
+ type: i2$3.MatFormField,
2293
2306
  selector: "mat-form-field",
2294
2307
  inputs: [
2295
2308
  "hideRequiredMarker",
@@ -2303,18 +2316,18 @@ var ClipperSearchFreeTextQueryBuilderComponent = class ClipperSearchFreeTextQuer
2303
2316
  },
2304
2317
  {
2305
2318
  kind: "directive",
2306
- type: i2$2.MatLabel,
2319
+ type: i2$3.MatLabel,
2307
2320
  selector: "mat-label"
2308
2321
  },
2309
2322
  {
2310
2323
  kind: "directive",
2311
- type: i2$2.MatHint,
2324
+ type: i2$3.MatHint,
2312
2325
  selector: "mat-hint",
2313
2326
  inputs: ["align", "id"]
2314
2327
  },
2315
2328
  {
2316
2329
  kind: "directive",
2317
- type: i2$2.MatSuffix,
2330
+ type: i2$3.MatSuffix,
2318
2331
  selector: "[matSuffix], [matIconSuffix], [matTextSuffix]",
2319
2332
  inputs: ["matTextSuffix"]
2320
2333
  },
@@ -2347,14 +2360,14 @@ var ClipperSearchFreeTextQueryBuilderComponent = class ClipperSearchFreeTextQuer
2347
2360
  },
2348
2361
  {
2349
2362
  kind: "component",
2350
- type: i2$3.MatButton,
2363
+ type: i2$4.MatButton,
2351
2364
  selector: " button[matButton], a[matButton], button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button], a[mat-button], a[mat-raised-button], a[mat-flat-button], a[mat-stroked-button] ",
2352
2365
  inputs: ["matButton"],
2353
2366
  exportAs: ["matButton", "matAnchor"]
2354
2367
  },
2355
2368
  {
2356
2369
  kind: "component",
2357
- type: i2$3.MatIconButton,
2370
+ type: i2$4.MatIconButton,
2358
2371
  selector: "button[mat-icon-button], a[mat-icon-button], button[matIconButton], a[matIconButton]",
2359
2372
  exportAs: ["matButton", "matAnchor"]
2360
2373
  },
@@ -2400,7 +2413,7 @@ var ClipperSearchFreeTextQueryBuilderComponent = class ClipperSearchFreeTextQuer
2400
2413
  };
2401
2414
  i0.ɵɵngDeclareClassMetadata({
2402
2415
  minVersion: "12.0.0",
2403
- version: "22.2.2",
2416
+ version: "22.2.3",
2404
2417
  ngImport: i0,
2405
2418
  type: ClipperSearchFreeTextQueryBuilderComponent,
2406
2419
  decorators: [{
@@ -2490,7 +2503,7 @@ var ClipperSearchResultItemComponent = class ClipperSearchResultItemComponent {
2490
2503
  static {
2491
2504
  this.ɵfac = i0.ɵɵngDeclareFactory({
2492
2505
  minVersion: "12.0.0",
2493
- version: "22.2.2",
2506
+ version: "22.2.3",
2494
2507
  ngImport: i0,
2495
2508
  type: ClipperSearchResultItemComponent,
2496
2509
  deps: [],
@@ -2500,7 +2513,7 @@ var ClipperSearchResultItemComponent = class ClipperSearchResultItemComponent {
2500
2513
  static {
2501
2514
  this.ɵcmp = i0.ɵɵngDeclareComponent({
2502
2515
  minVersion: "17.0.0",
2503
- version: "22.2.2",
2516
+ version: "22.2.3",
2504
2517
  type: ClipperSearchResultItemComponent,
2505
2518
  isStandalone: true,
2506
2519
  selector: "clipper-search-result-item",
@@ -2632,7 +2645,7 @@ var ClipperSearchResultItemComponent = class ClipperSearchResultItemComponent {
2632
2645
  },
2633
2646
  {
2634
2647
  kind: "component",
2635
- type: i2$3.MatIconButton,
2648
+ type: i2$4.MatIconButton,
2636
2649
  selector: "button[mat-icon-button], a[mat-icon-button], button[matIconButton], a[matIconButton]",
2637
2650
  exportAs: ["matButton", "matAnchor"]
2638
2651
  },
@@ -2679,7 +2692,7 @@ var ClipperSearchResultItemComponent = class ClipperSearchResultItemComponent {
2679
2692
  },
2680
2693
  {
2681
2694
  kind: "directive",
2682
- type: i2$4.MatMenuTrigger,
2695
+ type: i2$5.MatMenuTrigger,
2683
2696
  selector: "[mat-menu-trigger-for], [matMenuTriggerFor]",
2684
2697
  inputs: [
2685
2698
  "mat-menu-trigger-for",
@@ -2697,7 +2710,7 @@ var ClipperSearchResultItemComponent = class ClipperSearchResultItemComponent {
2697
2710
  },
2698
2711
  {
2699
2712
  kind: "directive",
2700
- type: i2$4.MatContextMenuTrigger,
2713
+ type: i2$5.MatContextMenuTrigger,
2701
2714
  selector: "[matContextMenuTriggerFor]",
2702
2715
  inputs: [
2703
2716
  "matContextMenuTriggerFor",
@@ -2886,7 +2899,7 @@ var ClipperSearchResultItemComponent = class ClipperSearchResultItemComponent {
2886
2899
  };
2887
2900
  i0.ɵɵngDeclareClassMetadata({
2888
2901
  minVersion: "12.0.0",
2889
- version: "22.2.2",
2902
+ version: "22.2.3",
2890
2903
  ngImport: i0,
2891
2904
  type: ClipperSearchResultItemComponent,
2892
2905
  decorators: [{
@@ -3954,7 +3967,7 @@ var ClipperBrowserComponent = class ClipperBrowserComponent extends ClipperSearc
3954
3967
  static {
3955
3968
  this.ɵfac = i0.ɵɵngDeclareFactory({
3956
3969
  minVersion: "12.0.0",
3957
- version: "22.2.2",
3970
+ version: "22.2.3",
3958
3971
  ngImport: i0,
3959
3972
  type: ClipperBrowserComponent,
3960
3973
  deps: [],
@@ -3964,7 +3977,7 @@ var ClipperBrowserComponent = class ClipperBrowserComponent extends ClipperSearc
3964
3977
  static {
3965
3978
  this.ɵcmp = i0.ɵɵngDeclareComponent({
3966
3979
  minVersion: "17.0.0",
3967
- version: "22.2.2",
3980
+ version: "22.2.3",
3968
3981
  type: ClipperBrowserComponent,
3969
3982
  isStandalone: true,
3970
3983
  selector: "clipper-browser",
@@ -4284,14 +4297,14 @@ var ClipperBrowserComponent = class ClipperBrowserComponent extends ClipperSearc
4284
4297
  },
4285
4298
  {
4286
4299
  kind: "component",
4287
- type: i2$3.MatButton,
4300
+ type: i2$4.MatButton,
4288
4301
  selector: " button[matButton], a[matButton], button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button], a[mat-button], a[mat-raised-button], a[mat-flat-button], a[mat-stroked-button] ",
4289
4302
  inputs: ["matButton"],
4290
4303
  exportAs: ["matButton", "matAnchor"]
4291
4304
  },
4292
4305
  {
4293
4306
  kind: "component",
4294
- type: i2$3.MatIconButton,
4307
+ type: i2$4.MatIconButton,
4295
4308
  selector: "button[mat-icon-button], a[mat-icon-button], button[matIconButton], a[matIconButton]",
4296
4309
  exportAs: ["matButton", "matAnchor"]
4297
4310
  },
@@ -4412,7 +4425,7 @@ var ClipperBrowserComponent = class ClipperBrowserComponent extends ClipperSearc
4412
4425
  },
4413
4426
  {
4414
4427
  kind: "component",
4415
- type: i2$4.MatMenu,
4428
+ type: i2$5.MatMenu,
4416
4429
  selector: "mat-menu",
4417
4430
  inputs: [
4418
4431
  "backdropClass",
@@ -4431,7 +4444,7 @@ var ClipperBrowserComponent = class ClipperBrowserComponent extends ClipperSearc
4431
4444
  },
4432
4445
  {
4433
4446
  kind: "component",
4434
- type: i2$4.MatMenuItem,
4447
+ type: i2$5.MatMenuItem,
4435
4448
  selector: "[mat-menu-item]",
4436
4449
  inputs: [
4437
4450
  "role",
@@ -4443,12 +4456,12 @@ var ClipperBrowserComponent = class ClipperBrowserComponent extends ClipperSearc
4443
4456
  },
4444
4457
  {
4445
4458
  kind: "directive",
4446
- type: i2$4.MatMenuContent,
4459
+ type: i2$5.MatMenuContent,
4447
4460
  selector: "ng-template[matMenuContent]"
4448
4461
  },
4449
4462
  {
4450
4463
  kind: "directive",
4451
- type: i2$4.MatMenuTrigger,
4464
+ type: i2$5.MatMenuTrigger,
4452
4465
  selector: "[mat-menu-trigger-for], [matMenuTriggerFor]",
4453
4466
  inputs: [
4454
4467
  "mat-menu-trigger-for",
@@ -4470,7 +4483,7 @@ var ClipperBrowserComponent = class ClipperBrowserComponent extends ClipperSearc
4470
4483
  },
4471
4484
  {
4472
4485
  kind: "component",
4473
- type: i2$2.MatFormField,
4486
+ type: i2$3.MatFormField,
4474
4487
  selector: "mat-form-field",
4475
4488
  inputs: [
4476
4489
  "hideRequiredMarker",
@@ -4484,18 +4497,18 @@ var ClipperBrowserComponent = class ClipperBrowserComponent extends ClipperSearc
4484
4497
  },
4485
4498
  {
4486
4499
  kind: "directive",
4487
- type: i2$2.MatLabel,
4500
+ type: i2$3.MatLabel,
4488
4501
  selector: "mat-label"
4489
4502
  },
4490
4503
  {
4491
4504
  kind: "directive",
4492
- type: i2$2.MatError,
4505
+ type: i2$3.MatError,
4493
4506
  selector: "mat-error, [matError]",
4494
4507
  inputs: ["id"]
4495
4508
  },
4496
4509
  {
4497
4510
  kind: "directive",
4498
- type: i2$2.MatSuffix,
4511
+ type: i2$3.MatSuffix,
4499
4512
  selector: "[matSuffix], [matIconSuffix], [matTextSuffix]",
4500
4513
  inputs: ["matTextSuffix"]
4501
4514
  },
@@ -4875,7 +4888,7 @@ var ClipperBrowserComponent = class ClipperBrowserComponent extends ClipperSearc
4875
4888
  };
4876
4889
  i0.ɵɵngDeclareClassMetadata({
4877
4890
  minVersion: "12.0.0",
4878
- version: "22.2.2",
4891
+ version: "22.2.3",
4879
4892
  ngImport: i0,
4880
4893
  type: ClipperBrowserComponent,
4881
4894
  decorators: [{
@@ -5046,7 +5059,7 @@ var ClipperBrowserDialogComponent = class ClipperBrowserDialogComponent {
5046
5059
  static {
5047
5060
  this.ɵfac = i0.ɵɵngDeclareFactory({
5048
5061
  minVersion: "12.0.0",
5049
- version: "22.2.2",
5062
+ version: "22.2.3",
5050
5063
  ngImport: i0,
5051
5064
  type: ClipperBrowserDialogComponent,
5052
5065
  deps: [],
@@ -5056,7 +5069,7 @@ var ClipperBrowserDialogComponent = class ClipperBrowserDialogComponent {
5056
5069
  static {
5057
5070
  this.ɵcmp = i0.ɵɵngDeclareComponent({
5058
5071
  minVersion: "17.0.0",
5059
- version: "22.2.2",
5072
+ version: "22.2.3",
5060
5073
  type: ClipperBrowserDialogComponent,
5061
5074
  isStandalone: true,
5062
5075
  selector: "ng-component",
@@ -5095,14 +5108,14 @@ var ClipperBrowserDialogComponent = class ClipperBrowserDialogComponent {
5095
5108
  },
5096
5109
  {
5097
5110
  kind: "component",
5098
- type: i2$3.MatButton,
5111
+ type: i2$4.MatButton,
5099
5112
  selector: " button[matButton], a[matButton], button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button], a[mat-button], a[mat-raised-button], a[mat-flat-button], a[mat-stroked-button] ",
5100
5113
  inputs: ["matButton"],
5101
5114
  exportAs: ["matButton", "matAnchor"]
5102
5115
  },
5103
5116
  {
5104
5117
  kind: "component",
5105
- type: i2$3.MatIconButton,
5118
+ type: i2$4.MatIconButton,
5106
5119
  selector: "button[mat-icon-button], a[mat-icon-button], button[matIconButton], a[matIconButton]",
5107
5120
  exportAs: ["matButton", "matAnchor"]
5108
5121
  },
@@ -5112,7 +5125,7 @@ var ClipperBrowserDialogComponent = class ClipperBrowserDialogComponent {
5112
5125
  },
5113
5126
  {
5114
5127
  kind: "directive",
5115
- type: i2$1.MatBadge,
5128
+ type: i2$2.MatBadge,
5116
5129
  selector: "[matBadge]",
5117
5130
  inputs: [
5118
5131
  "matBadgeColor",
@@ -5327,7 +5340,7 @@ var ClipperBrowserDialogComponent = class ClipperBrowserDialogComponent {
5327
5340
  };
5328
5341
  i0.ɵɵngDeclareClassMetadata({
5329
5342
  minVersion: "12.0.0",
5330
- version: "22.2.2",
5343
+ version: "22.2.3",
5331
5344
  ngImport: i0,
5332
5345
  type: ClipperBrowserDialogComponent,
5333
5346
  decorators: [{
@@ -5355,6 +5368,272 @@ i0.ɵɵngDeclareClassMetadata({
5355
5368
  args: ["clipperBrowser", { isSignal: true }]
5356
5369
  }] }
5357
5370
  });
5371
+ var document_analysis_component_exports = /* @__PURE__ */ __exportAll({ ClipperDocumentAnalysisComponent: () => ClipperDocumentAnalysisComponent });
5372
+ var ClipperDocumentAnalysisComponent = class ClipperDocumentAnalysisComponent {
5373
+ static {
5374
+ this.USEFUL_INFORMATION_CUTOFF = new Date(2027, 4, 1);
5375
+ }
5376
+ static {
5377
+ this.USEFUL_INFORMATION_CUTOFF_TEXT = "1° maggio 2027";
5378
+ }
5379
+ static {
5380
+ this.NOT_ENTITLED = "Il tuo abbonamento non consente di visualizzare i commenti alle norme.";
5381
+ }
5382
+ constructor() {
5383
+ this.clipperService = inject(ClipperService);
5384
+ this.dialogService = inject(DialogService);
5385
+ this.destroyRef = inject(DestroyRef);
5386
+ this.dialogData = inject(MAT_DIALOG_DATA);
5387
+ this.analysis = signal(void 0, ...ngDevMode ? [{ debugName: "analysis" }] : /* istanbul ignore next */ []);
5388
+ this.commentHtml = signal(void 0, ...ngDevMode ? [{ debugName: "commentHtml" }] : /* istanbul ignore next */ []);
5389
+ this.commentMessage = signal(void 0, ...ngDevMode ? [{ debugName: "commentMessage" }] : /* istanbul ignore next */ []);
5390
+ this.aboutHtml = computed(() => ClipperDocumentAnalysisComponent.toHtml(this.analysis()?.whatIsAllAbout)?.replace(/<(h[23])((?![^>]*class=)[^>]*)>([^<]*Applicabilit[^<]*entrate in vigore future[^<]*)<\/\1>(\s*)<table(?![^>]*class=)/i, "<$1$2 class=\"info-title\">$3</$1>$4<table class=\"future-dates\""), ...ngDevMode ? [{ debugName: "aboutHtml" }] : /* istanbul ignore next */ []);
5391
+ this.changedHtml = computed(() => ClipperDocumentAnalysisComponent.toHtml(this.analysis()?.whatIsChanged)?.replace(/<(h[23])((?![^>]*class=)[^>]*)>([^<]*Adempimenti nuovi e modificati[^<]*)<\/\1>(\s*)<table(?![^>]*class=)/i, "<$1$2 class=\"info-title\">$3</$1>$4<table class=\"obligations\""), ...ngDevMode ? [{ debugName: "changedHtml" }] : /* istanbul ignore next */ []);
5392
+ this.interestingHtml = computed(() => ClipperDocumentAnalysisComponent.toHtml(this.analysis()?.wouldBeInterestingIf), ...ngDevMode ? [{ debugName: "interestingHtml" }] : /* istanbul ignore next */ []);
5393
+ this.canReadComments = computed(() => this.analysis() ? this.analysis().canReadComments === true : !!this.commentHtml(), ...ngDevMode ? [{ debugName: "canReadComments" }] : /* istanbul ignore next */ []);
5394
+ this.restricted = /* @__PURE__ */ new Date() >= ClipperDocumentAnalysisComponent.USEFUL_INFORMATION_CUTOFF;
5395
+ this.notice = this.restricted ? `Dal ${ClipperDocumentAnalysisComponent.USEFUL_INFORMATION_CUTOFF_TEXT} le informazioni sono disponibili solo per chi ha accesso ai commenti.` : `Dal ${ClipperDocumentAnalysisComponent.USEFUL_INFORMATION_CUTOFF_TEXT} le seguenti informazioni saranno disponibili solo per chi ha accesso ai commenti.`;
5396
+ this.firstTab = this.dialogData.hasComment ? "Commento" : "Sintesi";
5397
+ this.commentOnly = this.dialogData.commentOnly === true;
5398
+ this.dialogTab = signal(1, ...ngDevMode ? [{ debugName: "dialogTab" }] : /* istanbul ignore next */ []);
5399
+ this.fetch();
5400
+ }
5401
+ fetch() {
5402
+ this.dialogService.busy("Caricamento in corso...");
5403
+ if (this.commentOnly) {
5404
+ this.fetchComment();
5405
+ return;
5406
+ }
5407
+ this.clipperService.documents.analysis(this.dialogData.documentId).pipe(takeUntilDestroyed(this.destroyRef)).subscribe({
5408
+ next: (r) => {
5409
+ if (r.success && r.value) {
5410
+ this.analysis.set(r.value);
5411
+ this.dialogService.clearBusy();
5412
+ } else this.fetchComment();
5413
+ },
5414
+ error: () => this.fetchComment()
5415
+ });
5416
+ }
5417
+ fetchComment() {
5418
+ this.clipperService.documents.comment(this.dialogData.documentId).pipe(takeUntilDestroyed(this.destroyRef), finalize(() => this.dialogService.clearBusy())).subscribe({
5419
+ next: (r) => {
5420
+ if (!r.success) this.commentMessage.set(r.message === ClipperDocumentAnalysisComponent.NOT_ENTITLED ? "Il commento non è disponibile per questa licenza." : r.message || "Commento non disponibile.");
5421
+ else if (r.value && r.value.length > 1) this.commentHtml.set(r.value.replace(/<\/p><br>\r\n/g, "</p>\r\n"));
5422
+ else this.commentMessage.set("Commento non più disponibile o in fase di revisione.");
5423
+ },
5424
+ error: () => this.commentMessage.set("Commento non disponibile.")
5425
+ });
5426
+ }
5427
+ static toHtml(text) {
5428
+ return text && text.trim().length > 0 ? MarkdownUtils.toHtml(text) : void 0;
5429
+ }
5430
+ static {
5431
+ this.ɵfac = i0.ɵɵngDeclareFactory({
5432
+ minVersion: "12.0.0",
5433
+ version: "22.2.3",
5434
+ ngImport: i0,
5435
+ type: ClipperDocumentAnalysisComponent,
5436
+ deps: [],
5437
+ target: i0.ɵɵFactoryTarget.Component
5438
+ });
5439
+ }
5440
+ static {
5441
+ this.ɵcmp = i0.ɵɵngDeclareComponent({
5442
+ minVersion: "17.0.0",
5443
+ version: "22.2.3",
5444
+ type: ClipperDocumentAnalysisComponent,
5445
+ isStandalone: true,
5446
+ selector: "ng-component",
5447
+ host: { attributes: { "Bind": SystemUtils.generateUUID() } },
5448
+ ngImport: i0,
5449
+ template: "<!-- The comment alone (commentOnly): no tabs, only the editors' comment. -->\r\n@if (commentOnly) {\r\n<div mat-dialog-title> Commento</div>\r\n} @else {\r\n<div mat-dialog-title> {{ firstTab }} e informazioni utili</div>\r\n<nav mat-tab-nav-bar mat-stretch-tabs [tabPanel]=\"tabPanel\">\r\n <a mat-tab-link (click)=\"dialogTab.set(1)\" [active]=\"dialogTab() === 1\">{{ firstTab }}</a>\r\n <a mat-tab-link (click)=\"dialogTab.set(2)\" [active]=\"dialogTab() === 2\">Cosa cambia</a>\r\n <a mat-tab-link (click)=\"dialogTab.set(3)\" [active]=\"dialogTab() === 3\">Sarebbe\r\n interessante<br> se l'azienda...</a>\r\n</nav>\r\n<mat-tab-nav-panel #tabPanel></mat-tab-nav-panel>\r\n}\r\n<mat-dialog-content>\r\n <!-- Commento: the analysis for the readers of the editorial comments, the editorial comment itself when the\r\n document has no analysis. The server sends no text to anybody else, and the tab says why. -->\r\n <div [hidden]=\"dialogTab() !== 1\">\r\n <!-- The first tab is reserved to the readers of the comments, «Commento» and «Sintesi» alike. -->\r\n @if (analysis() && !canReadComments()) {\r\n <div class=\"message-container\">\r\n <div class=\"message\">{{ firstTab === 'Commento' ? 'Il commento' : 'La sintesi' }} non è disponibile per questa licenza.</div>\r\n </div>\r\n } @else if (aboutHtml()) {\r\n <div class=\"analysis-text\" [innerHTML]=\"aboutHtml() | safeHtml\"></div>\r\n } @else if (commentHtml()) {\r\n <div class=\"analysis-text\" [innerHTML]=\"commentHtml() | safeHtml\"></div>\r\n } @else if (commentMessage()) {\r\n <div class=\"message-container\">\r\n <div class=\"message\">{{ commentMessage() }}</div>\r\n </div>\r\n } @else {\r\n <div class=\"message-container\">\r\n <div class=\"message\">Nessuna informazione disponibile.</div>\r\n </div>\r\n }\r\n </div>\r\n <!-- Cosa cambia: for everybody until the cut-off day, with the notice above the text - and only above a\r\n text; reserved to the readers of the comments from then on. -->\r\n <div [hidden]=\"dialogTab() !== 2\">\r\n @if (restricted && analysis() && !canReadComments()) {\r\n <div class=\"message-container\">\r\n <div class=\"message\">Le informazioni non sono disponibili per questa licenza.</div>\r\n </div>\r\n } @else if (changedHtml()) {\r\n <div class=\"notice small secondary italic\">{{ notice }}</div>\r\n <div class=\"analysis-text changes\" [innerHTML]=\"changedHtml() | safeHtml\"></div>\r\n } @else {\r\n <div class=\"message-container\">\r\n <div class=\"message\">Nessuna informazione disponibile.</div>\r\n </div>\r\n }\r\n </div>\r\n <!-- Sarebbe interessante se l'azienda: the same rule, without the notice. -->\r\n <div [hidden]=\"dialogTab() !== 3\">\r\n @if (restricted && analysis() && !canReadComments()) {\r\n <div class=\"message-container\">\r\n <div class=\"message\">Le informazioni non sono disponibili per questa licenza.</div>\r\n </div>\r\n } @else if (interestingHtml()) {\r\n <div class=\"analysis-text\" [innerHTML]=\"interestingHtml() | safeHtml\"></div>\r\n } @else {\r\n <div class=\"message-container\">\r\n <div class=\"message\">Nessuna informazione disponibile.</div>\r\n </div>\r\n }\r\n </div>\r\n</mat-dialog-content>\r\n<div mat-dialog-actions>\r\n <div fxLayout=\"row\" fxLayoutAlign=\"end\" fxFill>\r\n <button mat-stroked-button [mat-dialog-close]=\"true\">Chiudi</button>\r\n </div>\r\n</div>\r\n",
5450
+ styles: ["@charset \"UTF-8\";.analysis-title{font-size:large;line-height:1.3}.analysis-subtitle{margin-top:4px;line-height:1.4}.notice{padding-top:16px;line-height:1.4}:host ::ng-deep .analysis-text{padding-top:16px;overflow-wrap:anywhere;line-height:1.5}:host ::ng-deep .analysis-text p{margin:0 0 .8em}:host ::ng-deep .analysis-text ul,:host ::ng-deep .analysis-text ol{margin:.2em 0 .8em;padding-left:1.4em}:host ::ng-deep .analysis-text h1,:host ::ng-deep .analysis-text h2,:host ::ng-deep .analysis-text h3,:host ::ng-deep .analysis-text h4{font-size:medium;font-weight:700;margin:16px 0 6px}:host ::ng-deep .analysis-text a{color:var(--ars-color-link);font-weight:600;text-decoration:underline}:host ::ng-deep .analysis-text table{width:100%;border-collapse:collapse;border:1px solid var(--ars-color-divider);margin:6px 0 12px}:host ::ng-deep .analysis-text th,:host ::ng-deep .analysis-text td{border:1px solid var(--ars-color-divider);padding:4px 8px;vertical-align:top;text-align:left}:host ::ng-deep .analysis-text th{font-weight:700}:host ::ng-deep .analysis-text .info-title{font-size:medium;font-weight:700;margin:12px 0 4px}:host ::ng-deep .analysis-text table.future-dates{display:block;width:100%;border:0;border-top:1px solid var(--ars-color-divider);border-left:1px solid var(--ars-color-divider)}:host ::ng-deep .analysis-text table.future-dates thead,:host ::ng-deep .analysis-text table.future-dates tbody{display:block}:host ::ng-deep .analysis-text table.future-dates tr{display:grid;grid-template-columns:100px 5fr 3fr 2fr}:host ::ng-deep .analysis-text table.future-dates th,:host ::ng-deep .analysis-text table.future-dates td{min-width:0;overflow-wrap:anywhere;border:0;border-right:1px solid var(--ars-color-divider);border-bottom:1px solid var(--ars-color-divider)}:host ::ng-deep .analysis-text.changes table{table-layout:fixed}:host ::ng-deep .analysis-text.changes th,:host ::ng-deep .analysis-text.changes td{overflow-wrap:anywhere}:host ::ng-deep .analysis-text.changes tr>:nth-child(1),:host ::ng-deep .analysis-text.changes tr>:nth-child(2){width:25%}:host ::ng-deep .analysis-text.changes tr>:nth-child(3){width:50%}:host ::ng-deep .analysis-text.changes table.obligations tr>:nth-child(1),:host ::ng-deep .analysis-text.changes table.obligations tr>:nth-child(2){width:30%}:host ::ng-deep .analysis-text.changes table.obligations tr>:nth-child(3){width:40%}\n"],
5451
+ dependencies: [
5452
+ {
5453
+ kind: "ngmodule",
5454
+ type: FlexLayoutModule
5455
+ },
5456
+ {
5457
+ kind: "directive",
5458
+ type: i1$1.FxLayoutDirective,
5459
+ selector: " [fxLayout], [fxLayout.xs], [fxLayout.sm], [fxLayout.md], [fxLayout.lg], [fxLayout.xl], [fxLayout.lt-sm], [fxLayout.lt-md], [fxLayout.lt-lg], [fxLayout.lt-xl], [fxLayout.gt-xs], [fxLayout.gt-sm], [fxLayout.gt-md], [fxLayout.gt-lg] ",
5460
+ inputs: [
5461
+ "fxLayout",
5462
+ "fxLayout.xs",
5463
+ "fxLayout.sm",
5464
+ "fxLayout.md",
5465
+ "fxLayout.lg",
5466
+ "fxLayout.xl",
5467
+ "fxLayout.lt-sm",
5468
+ "fxLayout.lt-md",
5469
+ "fxLayout.lt-lg",
5470
+ "fxLayout.lt-xl",
5471
+ "fxLayout.gt-xs",
5472
+ "fxLayout.gt-sm",
5473
+ "fxLayout.gt-md",
5474
+ "fxLayout.gt-lg"
5475
+ ]
5476
+ },
5477
+ {
5478
+ kind: "directive",
5479
+ type: i1$1.FxLayoutAlignDirective,
5480
+ selector: " [fxLayoutAlign], [fxLayoutAlign.xs], [fxLayoutAlign.sm], [fxLayoutAlign.md], [fxLayoutAlign.lg], [fxLayoutAlign.xl], [fxLayoutAlign.lt-sm], [fxLayoutAlign.lt-md], [fxLayoutAlign.lt-lg], [fxLayoutAlign.lt-xl], [fxLayoutAlign.gt-xs], [fxLayoutAlign.gt-sm], [fxLayoutAlign.gt-md], [fxLayoutAlign.gt-lg] ",
5481
+ inputs: [
5482
+ "fxLayoutAlign",
5483
+ "fxLayoutAlign.xs",
5484
+ "fxLayoutAlign.sm",
5485
+ "fxLayoutAlign.md",
5486
+ "fxLayoutAlign.lg",
5487
+ "fxLayoutAlign.xl",
5488
+ "fxLayoutAlign.lt-sm",
5489
+ "fxLayoutAlign.lt-md",
5490
+ "fxLayoutAlign.lt-lg",
5491
+ "fxLayoutAlign.lt-xl",
5492
+ "fxLayoutAlign.gt-xs",
5493
+ "fxLayoutAlign.gt-sm",
5494
+ "fxLayoutAlign.gt-md",
5495
+ "fxLayoutAlign.gt-lg"
5496
+ ]
5497
+ },
5498
+ {
5499
+ kind: "directive",
5500
+ type: i1$1.FxFlexFillDirective,
5501
+ selector: " [fxFlexFill], [fxFill], [fxFlexFill.xs], [fxFlexFill.sm], [fxFlexFill.md], [fxFlexFill.lg], [fxFlexFill.xl], [fxFlexFill.lt-sm], [fxFlexFill.lt-md], [fxFlexFill.lt-lg], [fxFlexFill.lt-xl], [fxFlexFill.gt-xs], [fxFlexFill.gt-sm], [fxFlexFill.gt-md], [fxFlexFill.gt-lg] ",
5502
+ inputs: [
5503
+ "fxFlexFill",
5504
+ "fxFill",
5505
+ "fxFlexFill.xs",
5506
+ "fxFlexFill.sm",
5507
+ "fxFlexFill.md",
5508
+ "fxFlexFill.lg",
5509
+ "fxFlexFill.xl",
5510
+ "fxFlexFill.lt-sm",
5511
+ "fxFlexFill.lt-md",
5512
+ "fxFlexFill.lt-lg",
5513
+ "fxFlexFill.lt-xl",
5514
+ "fxFlexFill.gt-xs",
5515
+ "fxFlexFill.gt-sm",
5516
+ "fxFlexFill.gt-md",
5517
+ "fxFlexFill.gt-lg"
5518
+ ]
5519
+ },
5520
+ {
5521
+ kind: "directive",
5522
+ type: MatDialogTitle,
5523
+ selector: "[mat-dialog-title], [matDialogTitle]",
5524
+ inputs: ["id"],
5525
+ exportAs: ["matDialogTitle"]
5526
+ },
5527
+ {
5528
+ kind: "directive",
5529
+ type: MatDialogContent,
5530
+ selector: "[mat-dialog-content], mat-dialog-content, [matDialogContent]"
5531
+ },
5532
+ {
5533
+ kind: "directive",
5534
+ type: MatDialogActions,
5535
+ selector: "[mat-dialog-actions], mat-dialog-actions, [matDialogActions]",
5536
+ inputs: ["align"]
5537
+ },
5538
+ {
5539
+ kind: "directive",
5540
+ type: MatDialogClose,
5541
+ selector: "[mat-dialog-close], [matDialogClose]",
5542
+ inputs: [
5543
+ "aria-label",
5544
+ "type",
5545
+ "mat-dialog-close",
5546
+ "matDialogClose"
5547
+ ],
5548
+ exportAs: ["matDialogClose"]
5549
+ },
5550
+ {
5551
+ kind: "ngmodule",
5552
+ type: MatTabsModule
5553
+ },
5554
+ {
5555
+ kind: "component",
5556
+ type: i2$1.MatTabNav,
5557
+ selector: "[mat-tab-nav-bar]",
5558
+ inputs: [
5559
+ "fitInkBarToContent",
5560
+ "mat-stretch-tabs",
5561
+ "animationDuration",
5562
+ "backgroundColor",
5563
+ "disableRipple",
5564
+ "color",
5565
+ "tabPanel"
5566
+ ],
5567
+ exportAs: ["matTabNavBar", "matTabNav"]
5568
+ },
5569
+ {
5570
+ kind: "component",
5571
+ type: i2$1.MatTabNavPanel,
5572
+ selector: "mat-tab-nav-panel",
5573
+ inputs: ["id"],
5574
+ exportAs: ["matTabNavPanel"]
5575
+ },
5576
+ {
5577
+ kind: "component",
5578
+ type: i2$1.MatTabLink,
5579
+ selector: "[mat-tab-link], [matTabLink]",
5580
+ inputs: [
5581
+ "active",
5582
+ "disabled",
5583
+ "disableRipple",
5584
+ "tabIndex",
5585
+ "id"
5586
+ ],
5587
+ exportAs: ["matTabLink"]
5588
+ },
5589
+ {
5590
+ kind: "ngmodule",
5591
+ type: MatButtonModule
5592
+ },
5593
+ {
5594
+ kind: "component",
5595
+ type: i2$4.MatButton,
5596
+ selector: " button[matButton], a[matButton], button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button], a[mat-button], a[mat-raised-button], a[mat-flat-button], a[mat-stroked-button] ",
5597
+ inputs: ["matButton"],
5598
+ exportAs: ["matButton", "matAnchor"]
5599
+ },
5600
+ {
5601
+ kind: "pipe",
5602
+ type: SafeHtmlPipe,
5603
+ name: "safeHtml"
5604
+ }
5605
+ ],
5606
+ changeDetection: i0.ChangeDetectionStrategy.OnPush
5607
+ });
5608
+ }
5609
+ };
5610
+ i0.ɵɵngDeclareClassMetadata({
5611
+ minVersion: "12.0.0",
5612
+ version: "22.2.3",
5613
+ ngImport: i0,
5614
+ type: ClipperDocumentAnalysisComponent,
5615
+ decorators: [{
5616
+ type: Component,
5617
+ args: [{
5618
+ host: { "Bind": SystemUtils.generateUUID() },
5619
+ changeDetection: ChangeDetectionStrategy.OnPush,
5620
+ standalone: true,
5621
+ imports: [
5622
+ FlexLayoutModule,
5623
+ MatDialogTitle,
5624
+ MatDialogContent,
5625
+ MatDialogActions,
5626
+ MatDialogClose,
5627
+ MatTabsModule,
5628
+ MatButtonModule,
5629
+ SafeHtmlPipe
5630
+ ],
5631
+ template: "<!-- The comment alone (commentOnly): no tabs, only the editors' comment. -->\r\n@if (commentOnly) {\r\n<div mat-dialog-title> Commento</div>\r\n} @else {\r\n<div mat-dialog-title> {{ firstTab }} e informazioni utili</div>\r\n<nav mat-tab-nav-bar mat-stretch-tabs [tabPanel]=\"tabPanel\">\r\n <a mat-tab-link (click)=\"dialogTab.set(1)\" [active]=\"dialogTab() === 1\">{{ firstTab }}</a>\r\n <a mat-tab-link (click)=\"dialogTab.set(2)\" [active]=\"dialogTab() === 2\">Cosa cambia</a>\r\n <a mat-tab-link (click)=\"dialogTab.set(3)\" [active]=\"dialogTab() === 3\">Sarebbe\r\n interessante<br> se l'azienda...</a>\r\n</nav>\r\n<mat-tab-nav-panel #tabPanel></mat-tab-nav-panel>\r\n}\r\n<mat-dialog-content>\r\n <!-- Commento: the analysis for the readers of the editorial comments, the editorial comment itself when the\r\n document has no analysis. The server sends no text to anybody else, and the tab says why. -->\r\n <div [hidden]=\"dialogTab() !== 1\">\r\n <!-- The first tab is reserved to the readers of the comments, «Commento» and «Sintesi» alike. -->\r\n @if (analysis() && !canReadComments()) {\r\n <div class=\"message-container\">\r\n <div class=\"message\">{{ firstTab === 'Commento' ? 'Il commento' : 'La sintesi' }} non è disponibile per questa licenza.</div>\r\n </div>\r\n } @else if (aboutHtml()) {\r\n <div class=\"analysis-text\" [innerHTML]=\"aboutHtml() | safeHtml\"></div>\r\n } @else if (commentHtml()) {\r\n <div class=\"analysis-text\" [innerHTML]=\"commentHtml() | safeHtml\"></div>\r\n } @else if (commentMessage()) {\r\n <div class=\"message-container\">\r\n <div class=\"message\">{{ commentMessage() }}</div>\r\n </div>\r\n } @else {\r\n <div class=\"message-container\">\r\n <div class=\"message\">Nessuna informazione disponibile.</div>\r\n </div>\r\n }\r\n </div>\r\n <!-- Cosa cambia: for everybody until the cut-off day, with the notice above the text - and only above a\r\n text; reserved to the readers of the comments from then on. -->\r\n <div [hidden]=\"dialogTab() !== 2\">\r\n @if (restricted && analysis() && !canReadComments()) {\r\n <div class=\"message-container\">\r\n <div class=\"message\">Le informazioni non sono disponibili per questa licenza.</div>\r\n </div>\r\n } @else if (changedHtml()) {\r\n <div class=\"notice small secondary italic\">{{ notice }}</div>\r\n <div class=\"analysis-text changes\" [innerHTML]=\"changedHtml() | safeHtml\"></div>\r\n } @else {\r\n <div class=\"message-container\">\r\n <div class=\"message\">Nessuna informazione disponibile.</div>\r\n </div>\r\n }\r\n </div>\r\n <!-- Sarebbe interessante se l'azienda: the same rule, without the notice. -->\r\n <div [hidden]=\"dialogTab() !== 3\">\r\n @if (restricted && analysis() && !canReadComments()) {\r\n <div class=\"message-container\">\r\n <div class=\"message\">Le informazioni non sono disponibili per questa licenza.</div>\r\n </div>\r\n } @else if (interestingHtml()) {\r\n <div class=\"analysis-text\" [innerHTML]=\"interestingHtml() | safeHtml\"></div>\r\n } @else {\r\n <div class=\"message-container\">\r\n <div class=\"message\">Nessuna informazione disponibile.</div>\r\n </div>\r\n }\r\n </div>\r\n</mat-dialog-content>\r\n<div mat-dialog-actions>\r\n <div fxLayout=\"row\" fxLayoutAlign=\"end\" fxFill>\r\n <button mat-stroked-button [mat-dialog-close]=\"true\">Chiudi</button>\r\n </div>\r\n</div>\r\n",
5632
+ styles: ["@charset \"UTF-8\";.analysis-title{font-size:large;line-height:1.3}.analysis-subtitle{margin-top:4px;line-height:1.4}.notice{padding-top:16px;line-height:1.4}:host ::ng-deep .analysis-text{padding-top:16px;overflow-wrap:anywhere;line-height:1.5}:host ::ng-deep .analysis-text p{margin:0 0 .8em}:host ::ng-deep .analysis-text ul,:host ::ng-deep .analysis-text ol{margin:.2em 0 .8em;padding-left:1.4em}:host ::ng-deep .analysis-text h1,:host ::ng-deep .analysis-text h2,:host ::ng-deep .analysis-text h3,:host ::ng-deep .analysis-text h4{font-size:medium;font-weight:700;margin:16px 0 6px}:host ::ng-deep .analysis-text a{color:var(--ars-color-link);font-weight:600;text-decoration:underline}:host ::ng-deep .analysis-text table{width:100%;border-collapse:collapse;border:1px solid var(--ars-color-divider);margin:6px 0 12px}:host ::ng-deep .analysis-text th,:host ::ng-deep .analysis-text td{border:1px solid var(--ars-color-divider);padding:4px 8px;vertical-align:top;text-align:left}:host ::ng-deep .analysis-text th{font-weight:700}:host ::ng-deep .analysis-text .info-title{font-size:medium;font-weight:700;margin:12px 0 4px}:host ::ng-deep .analysis-text table.future-dates{display:block;width:100%;border:0;border-top:1px solid var(--ars-color-divider);border-left:1px solid var(--ars-color-divider)}:host ::ng-deep .analysis-text table.future-dates thead,:host ::ng-deep .analysis-text table.future-dates tbody{display:block}:host ::ng-deep .analysis-text table.future-dates tr{display:grid;grid-template-columns:100px 5fr 3fr 2fr}:host ::ng-deep .analysis-text table.future-dates th,:host ::ng-deep .analysis-text table.future-dates td{min-width:0;overflow-wrap:anywhere;border:0;border-right:1px solid var(--ars-color-divider);border-bottom:1px solid var(--ars-color-divider)}:host ::ng-deep .analysis-text.changes table{table-layout:fixed}:host ::ng-deep .analysis-text.changes th,:host ::ng-deep .analysis-text.changes td{overflow-wrap:anywhere}:host ::ng-deep .analysis-text.changes tr>:nth-child(1),:host ::ng-deep .analysis-text.changes tr>:nth-child(2){width:25%}:host ::ng-deep .analysis-text.changes tr>:nth-child(3){width:50%}:host ::ng-deep .analysis-text.changes table.obligations tr>:nth-child(1),:host ::ng-deep .analysis-text.changes table.obligations tr>:nth-child(2){width:30%}:host ::ng-deep .analysis-text.changes table.obligations tr>:nth-child(3){width:40%}\n"]
5633
+ }]
5634
+ }],
5635
+ ctorParameters: () => []
5636
+ });
5358
5637
  var ClipperDocumentIndexComponent = class ClipperDocumentIndexComponent {
5359
5638
  constructor() {
5360
5639
  this.selection = viewChild.required("selection", ...ngDevMode ? [{ debugName: "selection" }] : /* istanbul ignore next */ []);
@@ -5400,7 +5679,7 @@ var ClipperDocumentIndexComponent = class ClipperDocumentIndexComponent {
5400
5679
  static {
5401
5680
  this.ɵfac = i0.ɵɵngDeclareFactory({
5402
5681
  minVersion: "12.0.0",
5403
- version: "22.2.2",
5682
+ version: "22.2.3",
5404
5683
  ngImport: i0,
5405
5684
  type: ClipperDocumentIndexComponent,
5406
5685
  deps: [],
@@ -5410,7 +5689,7 @@ var ClipperDocumentIndexComponent = class ClipperDocumentIndexComponent {
5410
5689
  static {
5411
5690
  this.ɵcmp = i0.ɵɵngDeclareComponent({
5412
5691
  minVersion: "17.0.0",
5413
- version: "22.2.2",
5692
+ version: "22.2.3",
5414
5693
  type: ClipperDocumentIndexComponent,
5415
5694
  isStandalone: true,
5416
5695
  selector: "ng-component",
@@ -5612,7 +5891,7 @@ var ClipperDocumentIndexComponent = class ClipperDocumentIndexComponent {
5612
5891
  },
5613
5892
  {
5614
5893
  kind: "component",
5615
- type: i2$3.MatButton,
5894
+ type: i2$4.MatButton,
5616
5895
  selector: " button[matButton], a[matButton], button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button], a[mat-button], a[mat-raised-button], a[mat-flat-button], a[mat-stroked-button] ",
5617
5896
  inputs: ["matButton"],
5618
5897
  exportAs: ["matButton", "matAnchor"]
@@ -5636,7 +5915,7 @@ var ClipperDocumentIndexComponent = class ClipperDocumentIndexComponent {
5636
5915
  };
5637
5916
  i0.ɵɵngDeclareClassMetadata({
5638
5917
  minVersion: "12.0.0",
5639
- version: "22.2.2",
5918
+ version: "22.2.3",
5640
5919
  ngImport: i0,
5641
5920
  type: ClipperDocumentIndexComponent,
5642
5921
  decorators: [{
@@ -5743,7 +6022,7 @@ var ClipperSearchCalendarComponent = class ClipperSearchCalendarComponent {
5743
6022
  static {
5744
6023
  this.ɵfac = i0.ɵɵngDeclareFactory({
5745
6024
  minVersion: "12.0.0",
5746
- version: "22.2.2",
6025
+ version: "22.2.3",
5747
6026
  ngImport: i0,
5748
6027
  type: ClipperSearchCalendarComponent,
5749
6028
  deps: [],
@@ -5753,7 +6032,7 @@ var ClipperSearchCalendarComponent = class ClipperSearchCalendarComponent {
5753
6032
  static {
5754
6033
  this.ɵcmp = i0.ɵɵngDeclareComponent({
5755
6034
  minVersion: "17.0.0",
5756
- version: "22.2.2",
6035
+ version: "22.2.3",
5757
6036
  type: ClipperSearchCalendarComponent,
5758
6037
  isStandalone: true,
5759
6038
  selector: "clipper-search-calendar",
@@ -5892,7 +6171,7 @@ var ClipperSearchCalendarComponent = class ClipperSearchCalendarComponent {
5892
6171
  },
5893
6172
  {
5894
6173
  kind: "component",
5895
- type: i2$3.MatButton,
6174
+ type: i2$4.MatButton,
5896
6175
  selector: " button[matButton], a[matButton], button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button], a[mat-button], a[mat-raised-button], a[mat-flat-button], a[mat-stroked-button] ",
5897
6176
  inputs: ["matButton"],
5898
6177
  exportAs: ["matButton", "matAnchor"]
@@ -5968,7 +6247,7 @@ var ClipperSearchCalendarComponent = class ClipperSearchCalendarComponent {
5968
6247
  };
5969
6248
  i0.ɵɵngDeclareClassMetadata({
5970
6249
  minVersion: "12.0.0",
5971
- version: "22.2.2",
6250
+ version: "22.2.3",
5972
6251
  ngImport: i0,
5973
6252
  type: ClipperSearchCalendarComponent,
5974
6253
  decorators: [{
@@ -6010,6 +6289,6 @@ i0.ɵɵngDeclareClassMetadata({
6010
6289
  }]
6011
6290
  }
6012
6291
  });
6013
- export { ClipperBrowserComponent, ClipperBrowserDialogComponent, ClipperDocumentIndexComponent, ClipperDocumentManager, ClipperDocumentMenuComponent, ClipperDocumentViewerService, ClipperDocumentsUtils, ClipperSearchCalendarComponent, ClipperSearchFacetsComponent, ClipperSearchFreeTextHelpComponent, ClipperSearchFreeTextQueryBuilderComponent, ClipperSearchResultItemComponent, ClipperSearchResultItemDisplayMode, ClipperSearchResultManager };
6292
+ export { ClipperBrowserComponent, ClipperBrowserDialogComponent, ClipperDocumentAnalysisComponent, ClipperDocumentIndexComponent, ClipperDocumentManager, ClipperDocumentMenuComponent, ClipperDocumentViewerService, ClipperDocumentsUtils, ClipperSearchCalendarComponent, ClipperSearchFacetsComponent, ClipperSearchFreeTextHelpComponent, ClipperSearchFreeTextQueryBuilderComponent, ClipperSearchResultItemComponent, ClipperSearchResultItemDisplayMode, ClipperSearchResultManager, document_analysis_component_exports as t };
6014
6293
 
6015
6294
  //# sourceMappingURL=arsedizioni-ars-utils-clipper.ui.mjs.map