@arsedizioni/ars-utils 22.7.2 → 22.7.4

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-ui.dialogs.auth.mjs +2 -2
  2. package/fesm2022/arsedizioni-ars-utils-ui.dialogs.auth.mjs.map +1 -1
  3. package/fesm2022/arsedizioni-ars-utils-ui.navigation.mjs +2 -2
  4. package/fesm2022/arsedizioni-ars-utils-ui.navigation.mjs.map +1 -1
  5. package/package.json +1 -1
  6. package/fesm2022/arsedizioni-ars-utils-clipper.ui-document.component-B9qqPb0A.mjs +0 -1573
  7. package/fesm2022/arsedizioni-ars-utils-clipper.ui-document.component-B9qqPb0A.mjs.map +0 -1
  8. package/fesm2022/arsedizioni-ars-utils-clipper.ui-references.component-CBuJnNIf.mjs +0 -806
  9. package/fesm2022/arsedizioni-ars-utils-clipper.ui-references.component-CBuJnNIf.mjs.map +0 -1
  10. package/types/arsedizioni-ars-utils-clipper.common.d.ts.map +0 -1
  11. package/types/arsedizioni-ars-utils-clipper.ui.d.ts.map +0 -1
  12. package/types/arsedizioni-ars-utils-core.d.ts.map +0 -1
  13. package/types/arsedizioni-ars-utils-core.date.d.ts.map +0 -1
  14. package/types/arsedizioni-ars-utils-core.markdown.d.ts.map +0 -1
  15. package/types/arsedizioni-ars-utils-core.validators.d.ts.map +0 -1
  16. package/types/arsedizioni-ars-utils-evolution.common.d.ts.map +0 -1
  17. package/types/arsedizioni-ars-utils-support.common.d.ts.map +0 -1
  18. package/types/arsedizioni-ars-utils-ui.controls.d.ts.map +0 -1
  19. package/types/arsedizioni-ars-utils-ui.controls.date.d.ts.map +0 -1
  20. package/types/arsedizioni-ars-utils-ui.controls.tree.d.ts.map +0 -1
  21. package/types/arsedizioni-ars-utils-ui.d.ts.map +0 -1
  22. package/types/arsedizioni-ars-utils-ui.dialogs.auth.d.ts.map +0 -1
  23. package/types/arsedizioni-ars-utils-ui.dialogs.d.ts.map +0 -1
  24. package/types/arsedizioni-ars-utils-ui.dialogs.prompt.d.ts.map +0 -1
  25. package/types/arsedizioni-ars-utils-ui.dialogs.select.d.ts.map +0 -1
  26. package/types/arsedizioni-ars-utils-ui.files.d.ts.map +0 -1
  27. package/types/arsedizioni-ars-utils-ui.filters.d.ts.map +0 -1
  28. package/types/arsedizioni-ars-utils-ui.help.d.ts.map +0 -1
  29. package/types/arsedizioni-ars-utils-ui.navigation.d.ts.map +0 -1
  30. package/types/arsedizioni-ars-utils-ui.notifications.d.ts.map +0 -1
  31. package/types/arsedizioni-ars-utils-ui.oauth.d.ts.map +0 -1
  32. package/types/arsedizioni-ars-utils-ui.paginator.d.ts.map +0 -1
  33. package/types/arsedizioni-ars-utils-ui.shell.d.ts.map +0 -1
  34. package/types/arsedizioni-ars-utils-ui.tinymce.d.ts.map +0 -1
  35. package/types/arsedizioni-ars-utils.d.ts.map +0 -1
@@ -1,1573 +0,0 @@
1
- import { ClipperDocumentIndexComponent, ClipperDocumentManager, ClipperDocumentMenuComponent, ClipperDocumentViewerService } from "./arsedizioni-ars-utils-clipper.ui.mjs";
2
- import { BreakpointObserver, Breakpoints } from "@angular/cdk/layout";
3
- import * as i0 from "@angular/core";
4
- import { ChangeDetectionStrategy, Component, DestroyRef, Renderer2, afterNextRender, effect, inject, output, signal, viewChild } from "@angular/core";
5
- import { takeUntilDestroyed } from "@angular/core/rxjs-interop";
6
- import * as i2 from "@angular/material/button";
7
- import { MatButtonModule } from "@angular/material/button";
8
- import { MatDividerModule } from "@angular/material/divider";
9
- import * as i4 from "@angular/material/icon";
10
- import { MatIconModule } from "@angular/material/icon";
11
- import * as i5 from "@angular/material/menu";
12
- import { MatMenuModule } from "@angular/material/menu";
13
- import * as i6 from "@angular/material/progress-bar";
14
- import { MatProgressBarModule } from "@angular/material/progress-bar";
15
- import * as i7 from "@angular/material/sidenav";
16
- import { MatSidenavModule } from "@angular/material/sidenav";
17
- import * as i3 from "@angular/material/tooltip";
18
- import { MatTooltipModule } from "@angular/material/tooltip";
19
- import { ClipperMessages, ClipperModel, ClipperQueryReferencesMode, ClipperSearchParams, ClipperSearchUtils, ClipperUtils } from "@arsedizioni/ars-utils/clipper.common";
20
- import { SystemUtils } from "@arsedizioni/ars-utils/core";
21
- import * as i1 from "@arsedizioni/ars-utils/ui";
22
- import { FlexLayoutModule } from "@arsedizioni/ars-utils/ui";
23
- import { MAT_DIALOG_DATA, MatDialogContent, MatDialogRef } from "@angular/material/dialog";
24
- import { Router } from "@angular/router";
25
- import { ShellService } from "@arsedizioni/ars-utils/ui.shell";
26
- import { FilePreviewComponent } from "@arsedizioni/ars-utils/ui.files";
27
- const _c0 = ["relevantsPane"];
28
- const _c1 = ["docIframe"];
29
- function ClipperDocumentComponent_Conditional_2_Template(rf, ctx) {
30
- if (rf & 1) i0.ɵɵelement(0, "mat-progress-bar", 6);
31
- }
32
- function ClipperDocumentComponent_Conditional_8_Template(rf, ctx) {
33
- if (rf & 1) {
34
- i0.ɵɵelementStart(0, "div", 10)(1, "div", 47);
35
- i0.ɵɵtext(2, " TAG: ");
36
- i0.ɵɵelementStart(3, "span", 48);
37
- i0.ɵɵtext(4);
38
- i0.ɵɵelementEnd()()();
39
- }
40
- if (rf & 2) {
41
- const ctx_r0 = i0.ɵɵnextContext();
42
- i0.ɵɵadvance(4);
43
- i0.ɵɵtextInterpolate(ctx_r0.lastDocument()?.tags);
44
- }
45
- }
46
- function ClipperDocumentComponent_Conditional_9_Template(rf, ctx) {
47
- if (rf & 1) {
48
- i0.ɵɵelementStart(0, "div", 10)(1, "div", 47);
49
- i0.ɵɵtext(2, " AGGIORNATO A: ");
50
- i0.ɵɵelementStart(3, "span", 48);
51
- i0.ɵɵtext(4);
52
- i0.ɵɵelementEnd()()();
53
- }
54
- if (rf & 2) {
55
- const ctx_r0 = i0.ɵɵnextContext();
56
- i0.ɵɵadvance(4);
57
- i0.ɵɵtextInterpolate(ctx_r0.lastDocument()?.lastUpdate);
58
- }
59
- }
60
- function ClipperDocumentComponent_Conditional_10_Conditional_1_Template(rf, ctx) {
61
- if (rf & 1) {
62
- i0.ɵɵelementStart(0, "div", 49);
63
- i0.ɵɵtext(1);
64
- i0.ɵɵelementEnd();
65
- }
66
- if (rf & 2) {
67
- const ctx_r0 = i0.ɵɵnextContext(2);
68
- i0.ɵɵadvance();
69
- i0.ɵɵtextInterpolate1(" ", ctx_r0.lastDocument()?.expiringDescription);
70
- }
71
- }
72
- function ClipperDocumentComponent_Conditional_10_Conditional_2_Template(rf, ctx) {
73
- if (rf & 1) {
74
- i0.ɵɵelementStart(0, "div", 49)(1, "b");
75
- i0.ɵɵtext(2, "Attenzione!");
76
- i0.ɵɵelementEnd();
77
- i0.ɵɵtext(3);
78
- i0.ɵɵelementEnd();
79
- }
80
- if (rf & 2) {
81
- const ctx_r0 = i0.ɵɵnextContext(2);
82
- i0.ɵɵadvance(3);
83
- i0.ɵɵtextInterpolate1(" ", ctx_r0.lastDocument()?.validityInfo);
84
- }
85
- }
86
- function ClipperDocumentComponent_Conditional_10_Template(rf, ctx) {
87
- if (rf & 1) {
88
- i0.ɵɵelementStart(0, "div", 10);
89
- i0.ɵɵconditionalCreate(1, ClipperDocumentComponent_Conditional_10_Conditional_1_Template, 2, 1, "div", 49);
90
- i0.ɵɵconditionalCreate(2, ClipperDocumentComponent_Conditional_10_Conditional_2_Template, 4, 1, "div", 49);
91
- i0.ɵɵelementEnd();
92
- }
93
- if (rf & 2) {
94
- const ctx_r0 = i0.ɵɵnextContext();
95
- i0.ɵɵadvance();
96
- i0.ɵɵconditional(ctx_r0.lastDocument()?.expiringDescription ? 1 : -1);
97
- i0.ɵɵadvance();
98
- i0.ɵɵconditional(ctx_r0.lastDocument()?.validityInfo ? 2 : -1);
99
- }
100
- }
101
- function ClipperDocumentComponent_Conditional_11_Template(rf, ctx) {
102
- if (rf & 1) {
103
- const _r2 = i0.ɵɵgetCurrentView();
104
- i0.ɵɵelementStart(0, "div", 11)(1, "button", 50);
105
- i0.ɵɵlistener("click", function ClipperDocumentComponent_Conditional_11_Template_button_click_1_listener() {
106
- i0.ɵɵrestoreView(_r2);
107
- const ctx_r0 = i0.ɵɵnextContext();
108
- return i0.ɵɵresetView(ctx_r0.select());
109
- });
110
- i0.ɵɵelementStart(2, "span", 51);
111
- i0.ɵɵtext(3, "Usa selezione");
112
- i0.ɵɵelementEnd()();
113
- i0.ɵɵelementStart(4, "button", 52);
114
- i0.ɵɵlistener("click", function ClipperDocumentComponent_Conditional_11_Template_button_click_4_listener() {
115
- i0.ɵɵrestoreView(_r2);
116
- const ctx_r0 = i0.ɵɵnextContext();
117
- return i0.ɵɵresetView(ctx_r0.select());
118
- });
119
- i0.ɵɵelementStart(5, "mat-icon");
120
- i0.ɵɵtext(6, "check");
121
- i0.ɵɵelementEnd()()();
122
- }
123
- }
124
- function ClipperDocumentComponent_Conditional_26_Template(rf, ctx) {
125
- if (rf & 1) {
126
- const _r3 = i0.ɵɵgetCurrentView();
127
- i0.ɵɵelementStart(0, "button", 53);
128
- i0.ɵɵlistener("click", function ClipperDocumentComponent_Conditional_26_Template_button_click_0_listener() {
129
- i0.ɵɵrestoreView(_r3);
130
- const ctx_r0 = i0.ɵɵnextContext();
131
- return i0.ɵɵresetView(ctx_r0.index(ctx_r0.lastDocument()?.documentId));
132
- });
133
- i0.ɵɵtext(1, " Indice ");
134
- i0.ɵɵelementEnd();
135
- }
136
- if (rf & 2) i0.ɵɵattribute("aria-label", "Mostra indice");
137
- }
138
- function ClipperDocumentComponent_Conditional_27_Template(rf, ctx) {
139
- if (rf & 1) {
140
- i0.ɵɵelementStart(0, "button", 20);
141
- i0.ɵɵtext(1, " Collegamenti ");
142
- i0.ɵɵelementEnd();
143
- }
144
- if (rf & 2) {
145
- i0.ɵɵnextContext();
146
- const menuLinks_r4 = i0.ɵɵreference(29);
147
- i0.ɵɵproperty("matMenuTriggerFor", menuLinks_r4);
148
- i0.ɵɵattribute("aria-label", "Collegamenti al documento");
149
- }
150
- }
151
- function ClipperDocumentComponent_Conditional_30_Template(rf, ctx) {
152
- if (rf & 1) {
153
- const _r5 = i0.ɵɵgetCurrentView();
154
- i0.ɵɵelementStart(0, "button", 54);
155
- i0.ɵɵlistener("click", function ClipperDocumentComponent_Conditional_30_Template_button_click_0_listener() {
156
- i0.ɵɵrestoreView(_r5);
157
- const ctx_r0 = i0.ɵɵnextContext();
158
- return i0.ɵɵresetView(ctx_r0.openReferences(ctx_r0.lastDocument()?.documentId, 1));
159
- });
160
- i0.ɵɵtext(1, " Documenti richiamati ");
161
- i0.ɵɵelementEnd();
162
- }
163
- if (rf & 2) i0.ɵɵattribute("aria-label", "Mostra documenti richiamati");
164
- }
165
- function ClipperDocumentComponent_Conditional_31_Template(rf, ctx) {
166
- if (rf & 1) {
167
- const _r6 = i0.ɵɵgetCurrentView();
168
- i0.ɵɵelementStart(0, "button", 54);
169
- i0.ɵɵlistener("click", function ClipperDocumentComponent_Conditional_31_Template_button_click_0_listener() {
170
- i0.ɵɵrestoreView(_r6);
171
- const ctx_r0 = i0.ɵɵnextContext();
172
- return i0.ɵɵresetView(ctx_r0.openReferences(ctx_r0.lastDocument()?.documentId, 2));
173
- });
174
- i0.ɵɵtext(1, " Documenti che richiamano ");
175
- i0.ɵɵelementEnd();
176
- }
177
- if (rf & 2) i0.ɵɵattribute("aria-label", "Mostra documenti che richiamano");
178
- }
179
- function ClipperDocumentComponent_Conditional_32_Template(rf, ctx) {
180
- if (rf & 1) {
181
- const _r7 = i0.ɵɵgetCurrentView();
182
- i0.ɵɵelementStart(0, "button", 55);
183
- i0.ɵɵlistener("click", function ClipperDocumentComponent_Conditional_32_Template_button_click_0_listener() {
184
- i0.ɵɵrestoreView(_r7);
185
- const ctx_r0 = i0.ɵɵnextContext();
186
- return i0.ɵɵresetView(ctx_r0.openReferences(ctx_r0.lastDocument()?.documentId, 4));
187
- });
188
- i0.ɵɵtext(1, " Juris ");
189
- i0.ɵɵelementEnd();
190
- }
191
- if (rf & 2) i0.ɵɵattribute("aria-label", "Mostra juris");
192
- }
193
- function ClipperDocumentComponent_Conditional_33_Template(rf, ctx) {
194
- if (rf & 1) {
195
- const _r8 = i0.ɵɵgetCurrentView();
196
- i0.ɵɵelementStart(0, "button", 55);
197
- i0.ɵɵlistener("click", function ClipperDocumentComponent_Conditional_33_Template_button_click_0_listener() {
198
- i0.ɵɵrestoreView(_r8);
199
- const ctx_r0 = i0.ɵɵnextContext();
200
- return i0.ɵɵresetView(ctx_r0.openReferences(ctx_r0.lastDocument()?.documentId, 3));
201
- });
202
- i0.ɵɵtext(1, " Modifiche subite ");
203
- i0.ɵɵelementEnd();
204
- }
205
- if (rf & 2) i0.ɵɵattribute("aria-label", "Mostra modifiche subite");
206
- }
207
- function ClipperDocumentComponent_Conditional_34_Template(rf, ctx) {
208
- if (rf & 1) {
209
- const _r9 = i0.ɵɵgetCurrentView();
210
- i0.ɵɵelementStart(0, "button", 55);
211
- i0.ɵɵlistener("click", function ClipperDocumentComponent_Conditional_34_Template_button_click_0_listener() {
212
- i0.ɵɵrestoreView(_r9);
213
- const ctx_r0 = i0.ɵɵnextContext();
214
- return i0.ɵɵresetView(ctx_r0.openReferences(ctx_r0.lastDocument()?.documentId, 5));
215
- });
216
- i0.ɵɵtext(1, " Modifiche apportate ");
217
- i0.ɵɵelementEnd();
218
- }
219
- if (rf & 2) i0.ɵɵattribute("aria-label", "Mostra modifiche apportate");
220
- }
221
- function ClipperDocumentComponent_Conditional_35_Template(rf, ctx) {
222
- if (rf & 1) {
223
- const _r10 = i0.ɵɵgetCurrentView();
224
- i0.ɵɵelementStart(0, "button", 53);
225
- i0.ɵɵlistener("click", function ClipperDocumentComponent_Conditional_35_Template_button_click_0_listener() {
226
- i0.ɵɵrestoreView(_r10);
227
- const ctx_r0 = i0.ɵɵnextContext();
228
- return i0.ɵɵresetView(ctx_r0.navigate(ctx_r0.lastDocument()?.primaryId));
229
- });
230
- i0.ɵɵtext(1);
231
- i0.ɵɵelementEnd();
232
- }
233
- if (rf & 2) {
234
- const ctx_r0 = i0.ɵɵnextContext();
235
- i0.ɵɵattribute("aria-label", "Mostra documento primario");
236
- i0.ɵɵadvance();
237
- i0.ɵɵtextInterpolate1(" ", ctx_r0.lastDocument()?.primaryDescription, " ");
238
- }
239
- }
240
- function ClipperDocumentComponent_Conditional_36_Template(rf, ctx) {
241
- if (rf & 1) {
242
- const _r11 = i0.ɵɵgetCurrentView();
243
- i0.ɵɵelementStart(0, "button", 56);
244
- i0.ɵɵlistener("click", function ClipperDocumentComponent_Conditional_36_Template_button_click_0_listener() {
245
- i0.ɵɵrestoreView(_r11);
246
- const ctx_r0 = i0.ɵɵnextContext();
247
- return i0.ɵɵresetView(ctx_r0.openReferences(ctx_r0.lastDocument()?.documentId, 4));
248
- });
249
- i0.ɵɵtext(1, " Juris ");
250
- i0.ɵɵelementEnd();
251
- }
252
- if (rf & 2) i0.ɵɵattribute("aria-label", "Mostra juris");
253
- }
254
- function ClipperDocumentComponent_Conditional_37_Template(rf, ctx) {
255
- if (rf & 1) {
256
- const _r12 = i0.ɵɵgetCurrentView();
257
- i0.ɵɵelementStart(0, "button", 56);
258
- i0.ɵɵlistener("click", function ClipperDocumentComponent_Conditional_37_Template_button_click_0_listener() {
259
- i0.ɵɵrestoreView(_r12);
260
- const ctx_r0 = i0.ɵɵnextContext();
261
- return i0.ɵɵresetView(ctx_r0.openReferences(ctx_r0.lastDocument()?.documentId, 3));
262
- });
263
- i0.ɵɵtext(1, " Modifiche subite ");
264
- i0.ɵɵelementEnd();
265
- }
266
- if (rf & 2) i0.ɵɵattribute("aria-label", "Mostra modifiche subite");
267
- }
268
- function ClipperDocumentComponent_Conditional_38_Template(rf, ctx) {
269
- if (rf & 1) {
270
- const _r13 = i0.ɵɵgetCurrentView();
271
- i0.ɵɵelementStart(0, "button", 56);
272
- i0.ɵɵlistener("click", function ClipperDocumentComponent_Conditional_38_Template_button_click_0_listener() {
273
- i0.ɵɵrestoreView(_r13);
274
- const ctx_r0 = i0.ɵɵnextContext();
275
- return i0.ɵɵresetView(ctx_r0.openReferences(ctx_r0.lastDocument()?.documentId, 5));
276
- });
277
- i0.ɵɵtext(1, " Modifiche apportate ");
278
- i0.ɵɵelementEnd();
279
- }
280
- if (rf & 2) i0.ɵɵattribute("aria-label", "Mostra modifiche apportate");
281
- }
282
- function ClipperDocumentComponent_Conditional_39_Template(rf, ctx) {
283
- if (rf & 1) {
284
- const _r14 = i0.ɵɵgetCurrentView();
285
- i0.ɵɵelementStart(0, "button", 53);
286
- i0.ɵɵlistener("click", function ClipperDocumentComponent_Conditional_39_Template_button_click_0_listener() {
287
- i0.ɵɵrestoreView(_r14);
288
- const ctx_r0 = i0.ɵɵnextContext();
289
- return i0.ɵɵresetView(ctx_r0.navigate(ctx_r0.lastDocument()?.secondaryId));
290
- });
291
- i0.ɵɵtext(1, " Testo storico ");
292
- i0.ɵɵelementEnd();
293
- }
294
- if (rf & 2) i0.ɵɵattribute("aria-label", "Mostra documento secondario");
295
- }
296
- function ClipperDocumentComponent_Conditional_40_Template(rf, ctx) {
297
- if (rf & 1) {
298
- const _r15 = i0.ɵɵgetCurrentView();
299
- i0.ɵɵelementStart(0, "button", 53);
300
- i0.ɵɵlistener("click", function ClipperDocumentComponent_Conditional_40_Template_button_click_0_listener() {
301
- i0.ɵɵrestoreView(_r15);
302
- const ctx_r0 = i0.ɵɵnextContext();
303
- return i0.ɵɵresetView(ctx_r0.showComment());
304
- });
305
- i0.ɵɵtext(1, " Commento ");
306
- i0.ɵɵelementEnd();
307
- }
308
- if (rf & 2) i0.ɵɵattribute("aria-label", "Mostra commento");
309
- }
310
- function ClipperDocumentComponent_Conditional_43_Template(rf, ctx) {
311
- if (rf & 1) {
312
- const _r16 = i0.ɵɵgetCurrentView();
313
- i0.ɵɵelementStart(0, "div", 26)(1, "div", 57);
314
- i0.ɵɵtext(2);
315
- i0.ɵɵelementEnd();
316
- i0.ɵɵelementStart(3, "button", 58);
317
- i0.ɵɵlistener("click", function ClipperDocumentComponent_Conditional_43_Template_button_click_3_listener() {
318
- i0.ɵɵrestoreView(_r16);
319
- const ctx_r0 = i0.ɵɵnextContext();
320
- return i0.ɵɵresetView(ctx_r0.previousRelevant());
321
- });
322
- i0.ɵɵelementStart(4, "mat-icon");
323
- i0.ɵɵtext(5, "chevron_left");
324
- i0.ɵɵelementEnd()();
325
- i0.ɵɵelementStart(6, "button", 59);
326
- i0.ɵɵlistener("click", function ClipperDocumentComponent_Conditional_43_Template_button_click_6_listener() {
327
- i0.ɵɵrestoreView(_r16);
328
- const ctx_r0 = i0.ɵɵnextContext();
329
- return i0.ɵɵresetView(ctx_r0.nextRelevant());
330
- });
331
- i0.ɵɵelementStart(7, "mat-icon");
332
- i0.ɵɵtext(8, "chevron_right");
333
- i0.ɵɵelementEnd()()();
334
- }
335
- if (rf & 2) {
336
- const ctx_r0 = i0.ɵɵnextContext();
337
- i0.ɵɵadvance(2);
338
- i0.ɵɵtextInterpolate2("", ctx_r0.relevants().hit, " di ", ctx_r0.relevants().hits);
339
- i0.ɵɵadvance();
340
- i0.ɵɵattribute("aria-label", "Vai alla parola precedente");
341
- i0.ɵɵadvance(3);
342
- i0.ɵɵattribute("aria-label", "Vai alla prossima parola");
343
- }
344
- }
345
- function ClipperDocumentComponent_ng_template_49_Template(rf, ctx) {
346
- if (rf & 1) i0.ɵɵelement(0, "clipper-document-menu", 60);
347
- if (rf & 2) {
348
- const ctx_r0 = i0.ɵɵnextContext();
349
- i0.ɵɵproperty("parent", ctx_r0)("item", ctx_r0.lastDocument())("canOpenDocument", false)("canPrint", true)("canFind", true)("isReadable", false)("isLawInForce", ctx_r0.lastDocument()?.model === 9)("canUseAIAssistant", ctx_r0.user?.hasAIAssistant ?? false);
350
- }
351
- }
352
- function ClipperDocumentComponent_Conditional_50_Template(rf, ctx) {
353
- if (rf & 1) {
354
- const _r17 = i0.ɵɵgetCurrentView();
355
- i0.ɵɵelementStart(0, "div", 25)(1, "button", 61);
356
- i0.ɵɵlistener("click", function ClipperDocumentComponent_Conditional_50_Template_button_click_1_listener() {
357
- i0.ɵɵrestoreView(_r17);
358
- const ctx_r0 = i0.ɵɵnextContext();
359
- return i0.ɵɵresetView(ctx_r0.toggleRelevantsPane());
360
- });
361
- i0.ɵɵelementStart(2, "mat-icon");
362
- i0.ɵɵtext(3, "right_panel_open");
363
- i0.ɵɵelementEnd()()();
364
- }
365
- }
366
- function ClipperDocumentComponent_Conditional_55_Template(rf, ctx) {
367
- if (rf & 1) i0.ɵɵelement(0, "div", 32);
368
- }
369
- function ClipperDocumentComponent_Conditional_58_Template(rf, ctx) {
370
- if (rf & 1) i0.ɵɵelement(0, "mat-progress-bar", 6);
371
- }
372
- function ClipperDocumentComponent_For_78_Conditional_5_Template(rf, ctx) {
373
- if (rf & 1) {
374
- i0.ɵɵelementStart(0, "mat-icon", 65);
375
- i0.ɵɵtext(1, "thumb_up_alt");
376
- i0.ɵɵelementEnd();
377
- }
378
- if (rf & 2) {
379
- const item_r19 = i0.ɵɵnextContext().$implicit;
380
- i0.ɵɵproperty("matTooltip", item_r19.score > .75 ? "Molto rilevante" : "Più rilevante");
381
- }
382
- }
383
- function ClipperDocumentComponent_For_78_Template(rf, ctx) {
384
- if (rf & 1) {
385
- const _r18 = i0.ɵɵgetCurrentView();
386
- i0.ɵɵelementStart(0, "li", 62);
387
- i0.ɵɵlistener("click", function ClipperDocumentComponent_For_78_Template_li_click_0_listener() {
388
- const item_r19 = i0.ɵɵrestoreView(_r18).$implicit;
389
- const ctx_r0 = i0.ɵɵnextContext();
390
- return i0.ɵɵresetView(ctx_r0.gotoRelevant(item_r19));
391
- });
392
- i0.ɵɵelementStart(1, "div", 63)(2, "div", 42);
393
- i0.ɵɵtext(3);
394
- i0.ɵɵelementEnd();
395
- i0.ɵɵelementStart(4, "div", 64);
396
- i0.ɵɵconditionalCreate(5, ClipperDocumentComponent_For_78_Conditional_5_Template, 2, 1, "mat-icon", 65);
397
- i0.ɵɵelementEnd()()();
398
- }
399
- if (rf & 2) {
400
- const item_r19 = ctx.$implicit;
401
- i0.ɵɵclassProp("bright", item_r19.score > .75)("accent", item_r19.score > .75);
402
- i0.ɵɵattribute("aria-label", item_r19.title);
403
- i0.ɵɵadvance(3);
404
- i0.ɵɵtextInterpolate1(" ", item_r19.title, " ");
405
- i0.ɵɵadvance(2);
406
- i0.ɵɵconditional(item_r19.score > .7 ? 5 : -1);
407
- }
408
- }
409
- var ClipperDocumentComponent = class ClipperDocumentComponent extends ClipperDocumentManager {
410
- constructor() {
411
- super();
412
- this.relevantsPane = viewChild("relevantsPane", ...ngDevMode ? [{ debugName: "relevantsPane" }] : /* istanbul ignore next */ []);
413
- this.iframeRef = viewChild("docIframe", ...ngDevMode ? [{ debugName: "iframeRef" }] : /* istanbul ignore next */ []);
414
- this.pendingUrl = null;
415
- this.closing = output();
416
- this.opening = output();
417
- this.destroyRef = inject(DestroyRef);
418
- this.documentUtils = inject(ClipperDocumentViewerService);
419
- this.breakpointObserver = inject(BreakpointObserver);
420
- this.renderer = inject(Renderer2);
421
- this.router = inject(Router);
422
- this.shellService = inject(ShellService);
423
- this.dialogRef = inject(MatDialogRef);
424
- this.dialogData = inject(MAT_DIALOG_DATA) ?? { mode: ClipperQueryReferencesMode.ReferencesIn };
425
- this.url = signal(null, ...ngDevMode ? [{ debugName: "url" }] : /* istanbul ignore next */ []);
426
- this.title = signal(null, ...ngDevMode ? [{ debugName: "title" }] : /* istanbul ignore next */ []);
427
- this.busy = signal(false, ...ngDevMode ? [{ debugName: "busy" }] : /* istanbul ignore next */ []);
428
- this.lastQueryChunks = "";
429
- this.lastQueryType = "fulltext";
430
- this.lastDocument = signal(void 0, ...ngDevMode ? [{ debugName: "lastDocument" }] : /* istanbul ignore next */ []);
431
- this.relevants = signal({
432
- items: [],
433
- hits: 0,
434
- hit: 0,
435
- chunks: 0
436
- }, ...ngDevMode ? [{ debugName: "relevants" }] : /* istanbul ignore next */ []);
437
- this.relevantsPaneHasBackdrop = signal(false, ...ngDevMode ? [{ debugName: "relevantsPaneHasBackdrop" }] : /* istanbul ignore next */ []);
438
- this.relevantsPaneClosed = signal(false, ...ngDevMode ? [{ debugName: "relevantsPaneClosed" }] : /* istanbul ignore next */ []);
439
- this.relevantsBusy = signal(false, ...ngDevMode ? [{ debugName: "relevantsBusy" }] : /* istanbul ignore next */ []);
440
- this.hasRelevants = signal(false, ...ngDevMode ? [{ debugName: "hasRelevants" }] : /* istanbul ignore next */ []);
441
- this.user = this.clipperService.user;
442
- effect(() => {
443
- const ref = this.iframeRef();
444
- if (ref && this.pendingUrl !== null) {
445
- const u = this.pendingUrl;
446
- this.pendingUrl = null;
447
- this.setIframeSrc(ref.nativeElement, u);
448
- }
449
- });
450
- if (this.dialogData?.id) {
451
- let id = this.dialogData.id.toString();
452
- const hashPos = id.indexOf("#");
453
- if (hashPos !== -1) id = id.substring(0, hashPos);
454
- let query = this.dialogData.query ?? "";
455
- if (this.dialogData.queryChunks && this.dialogData.queryChunks.length > 0) query += "__CHUNKS__" + id + ":" + this.dialogData.queryChunks;
456
- const url = this.clipperService.serviceUri + "/documents/render/?query=" + query + "&theme=" + this.dialogData.theme + "&id=" + this.dialogData.id;
457
- this.navigateByUrl(url);
458
- }
459
- this.rendererListener1 = this.renderer.listen("window", "message", (e) => {
460
- const event = e;
461
- if (!event?.data) return;
462
- try {
463
- const data = JSON.parse(event.data);
464
- if (!data) return;
465
- switch (data.type) {
466
- case "navigated":
467
- this.navigated(data.id, data.title1, data.title2, data.tags, data.model, data.module, data.moduleName, data.date, data.number, data.author, data.origin, data.originDescription, data.bag, data.validityInfo, data.expiringInfo, data.primaryId, data.primaryModel, data.secondaryId, data.isTrial);
468
- break;
469
- case "navigate":
470
- this.navigate(data.url);
471
- break;
472
- case "references":
473
- this.openReferences(data.id, data.mode, data.model, data.anchor, data.anchorTitle, data.update);
474
- break;
475
- case "hits":
476
- this.relevants.update((r) => ({
477
- ...r,
478
- hits: data.total
479
- }));
480
- if (data.update) this.updateRelevants();
481
- break;
482
- case "hits2":
483
- this.relevants.update((r) => ({
484
- ...r,
485
- chunks: data.total
486
- }));
487
- this.updateRelevants2(data.items);
488
- }
489
- } catch {}
490
- });
491
- this.destroyRef.onDestroy(() => this.rendererListener1?.());
492
- afterNextRender(() => {
493
- this.breakpointObserver.observe([
494
- Breakpoints.XSmall,
495
- Breakpoints.Small,
496
- Breakpoints.Medium,
497
- Breakpoints.Large,
498
- Breakpoints.XLarge
499
- ]).pipe(takeUntilDestroyed(this.destroyRef)).subscribe((result) => {
500
- for (const query of Object.keys(result.breakpoints)) if (result.breakpoints[query]) this.handleRelevantsPaneVisibility();
501
- });
502
- });
503
- }
504
- toggleRelevantsPane() {
505
- this.relevantsPaneClosed.set(!this.relevantsPaneClosed());
506
- this.relevantsPane()?.toggle();
507
- }
508
- handleRelevantsPaneVisibility() {
509
- const relevantsPane = this.relevantsPane();
510
- if (!relevantsPane) return;
511
- if (this.breakpointObserver.isMatched(Breakpoints.XSmall) || this.breakpointObserver.isMatched(Breakpoints.Small) || this.breakpointObserver.isMatched(Breakpoints.Medium)) {
512
- if (relevantsPane.opened) relevantsPane.close();
513
- relevantsPane.mode = "over";
514
- relevantsPane.disableClose = false;
515
- this.relevantsPaneHasBackdrop.set(true);
516
- } else {
517
- if (!relevantsPane.opened && !this.relevantsPaneClosed() && this.hasRelevants()) relevantsPane.open();
518
- else if (relevantsPane.opened && this.relevantsPaneClosed()) relevantsPane.close();
519
- relevantsPane.mode = "side";
520
- relevantsPane.disableClose = true;
521
- this.relevantsPaneHasBackdrop.set(false);
522
- }
523
- }
524
- close() {
525
- this.closing.emit();
526
- setTimeout(() => this.dialogRef.close(), 500);
527
- }
528
- navigate(id) {
529
- if (!id || id.length === 0) return;
530
- if (id.indexOf("?") !== -1) {
531
- if (id.startsWith("/api")) this.navigateByUrl(this.clipperService.serviceUri + id.substring(4));
532
- else if (!id.startsWith(this.clipperService.serviceUri)) this.navigateByUrl(this.clipperService.serviceUri + id);
533
- else this.navigateByUrl(id);
534
- } else this.navigateByUrl(this.clipperService.serviceUri + "/documents/render/?query=&id=" + id);
535
- }
536
- navigateByUrl(url) {
537
- if (!url || url.length === 0 || url === "about:blank") return;
538
- const urlParts = url.split("#");
539
- url = urlParts[0];
540
- if (urlParts.length > 1) url += "#" + urlParts[1];
541
- let query = "";
542
- let p = url.indexOf("query=");
543
- if (p !== -1) {
544
- p += 6;
545
- while (url.length > p && url[p] !== "&" && url[p] !== "#") query += url[p++];
546
- if (query.length > 0) {
547
- if (query[0] === "$") {
548
- query = query.substring(1);
549
- this.lastQueryType = "semantic";
550
- }
551
- this.relevants.update((r) => ({
552
- ...r,
553
- hit: 0
554
- }));
555
- try {
556
- query = decodeURIComponent(encodeURIComponent(query));
557
- } catch {}
558
- let id = "";
559
- p = url.indexOf("id=");
560
- while (url.length > p && url[p] !== "&" && url[p] !== "#") id += url[p++];
561
- const queryParts = query.split("__CHUNKS__");
562
- if (queryParts.length > 0) {
563
- this.lastQuery = ClipperSearchUtils.normalizeTextQuery2(queryParts[0]);
564
- if (queryParts.length > 1) {
565
- const queryChunksParts = queryParts[1].split(":");
566
- if (queryChunksParts.length > 2 && queryChunksParts[0] === id) this.lastQueryChunks = queryChunksParts[1];
567
- }
568
- }
569
- }
570
- }
571
- if (url.indexOf("theme=") === -1) {
572
- p = url.indexOf("id=");
573
- if (p !== -1) url = url.substring(0, p) + "theme=" + this.dialogData.theme + "&" + url.substring(p);
574
- }
575
- if (url.indexOf("&file=true") !== -1) this.previewFile(url);
576
- else this.clipperService.documents.preRender().subscribe(() => {
577
- this.busy.set(url.indexOf("documents/render/item") === -1);
578
- this.url.set(url);
579
- this.applyIframeUrl(url);
580
- });
581
- }
582
- applyIframeUrl(url) {
583
- const ref = this.iframeRef();
584
- if (ref) this.setIframeSrc(ref.nativeElement, url);
585
- else this.pendingUrl = url;
586
- }
587
- setIframeSrc(el, url) {
588
- try {
589
- el.contentWindow?.location.assign(url);
590
- } catch {
591
- el.src = url;
592
- }
593
- }
594
- navigated(id, title1, title2, tags, model, moduleId, moduleName, date, number, author, origin, originDescription, bag, validityInfo, expiringInfo, primaryId, primaryModel, secondaryId, isTrial) {
595
- if (title1 === "Sessione non valida") {
596
- this.shellService.error(title2, null, title1, "Accedi di nuovo").afterClosed().subscribe(() => this.router.navigate(["login"]));
597
- return;
598
- }
599
- let primaryDescription;
600
- if (primaryId) switch (primaryModel ?? model) {
601
- case ClipperModel.NormativaVigente:
602
- primaryDescription = "Testo vigente";
603
- break;
604
- case ClipperModel.AggiornamentoNormativo:
605
- primaryDescription = "Testo storico";
606
- break;
607
- case ClipperModel.Scadenze:
608
- primaryDescription = "Scadenza";
609
- break;
610
- case ClipperModel.Coordinamento:
611
- primaryDescription = "Modifica";
612
- break;
613
- default: primaryDescription = "Collegamento";
614
- }
615
- let expiringDate;
616
- let expiringInfoText;
617
- let expiringDescription;
618
- if (expiringInfo) {
619
- const expiringParts = expiringInfo.split("#");
620
- if (expiringParts.length > 0) {
621
- const dateParts = expiringParts[0].split("|");
622
- if (dateParts.length > 0) expiringDate = new Date(dateParts[0]);
623
- if (dateParts.length > 1) expiringInfoText = dateParts[1];
624
- if (dateParts.length > 2) expiringInfoText += "|" + dateParts[2];
625
- }
626
- if (expiringParts.length > 1) expiringDescription = expiringParts[1];
627
- }
628
- const updatedDoc = {
629
- ...this.lastDocument() ?? {},
630
- id,
631
- documentId: id,
632
- title1: title1 ? SystemUtils.urlDecode(title1).replaceAll("\\\"", "\"") : void 0,
633
- title2: title2 ? SystemUtils.urlDecode(title2).replaceAll("\\\"", "\"") : void 0,
634
- tags,
635
- model,
636
- module: moduleId,
637
- moduleName,
638
- date: new Date(date),
639
- number,
640
- author,
641
- origin,
642
- originDescription,
643
- bag,
644
- validityInfo,
645
- primaryId,
646
- primaryModel,
647
- hasPrimary: !!primaryId && (model === ClipperModel.AggiornamentoNormativo || model === ClipperModel.NormativaVigente),
648
- primaryDescription,
649
- secondaryId,
650
- isTrial,
651
- expiringDate,
652
- expiringInfo: expiringInfoText,
653
- expiringDescription
654
- };
655
- this.lastDocument.set(updatedDoc);
656
- this.title.set(updatedDoc.title1 ?? updatedDoc.title2 ?? null);
657
- this.busy.set(false);
658
- this.broadcastService.sendMessage(ClipperMessages.DOCUMENT_NAVIGATED, { document: SystemUtils.clone(updatedDoc) });
659
- this.clipperService.documents.metadata(id).subscribe((r) => {
660
- if (r.success) this.lastDocument.update((doc) => doc ? {
661
- ...doc,
662
- lastUpdate: r.value.item1
663
- } : doc);
664
- });
665
- }
666
- back() {
667
- document.getElementById("clipper-document-iframe")?.contentWindow.postMessage("{\"type\": \"back\"}", "*");
668
- }
669
- forward() {
670
- document.getElementById("clipper-document-iframe")?.contentWindow.postMessage("{\"type\": \"forward\"}", "*");
671
- }
672
- nextRelevant() {
673
- const current = this.relevants();
674
- let i = current.hit + 1;
675
- if (i > current.hits) i = 0;
676
- document.getElementById("clipper-document-iframe")?.contentWindow.postMessage("{\"type\": \"relevant\", \"value\": \"next\"}", "*");
677
- this.relevants.update((r) => ({
678
- ...r,
679
- hit: i
680
- }));
681
- }
682
- previousRelevant() {
683
- const current = this.relevants();
684
- let i = current.hit - 1;
685
- if (i < 0) i = current.hits;
686
- document.getElementById("clipper-document-iframe")?.contentWindow.postMessage("{\"type\": \"relevant\", \"value\": \"previous\"}", "*");
687
- this.relevants.update((r) => ({
688
- ...r,
689
- hit: i
690
- }));
691
- }
692
- gotoRelevant(item) {
693
- if (item.type === 20) window.open(this.clipperService.serviceUri + "/documents/render/item/?theme=" + this.dialogData.theme + "&id=" + item.documentId, "_blank");
694
- else document.getElementById("clipper-document-iframe")?.contentWindow.postMessage("{\"type\": \"relevant\", \"value\": \"" + item.uri + "\"}", "*");
695
- }
696
- updateRelevants() {
697
- const query = this.lastQuery;
698
- if (!query || query.length === 0 || query === " ") {
699
- this.handleRelevantsPaneVisibility();
700
- return;
701
- }
702
- const doc = this.lastDocument();
703
- const docId = doc?.documentId ?? doc?.id;
704
- if (!docId) return;
705
- const params = new ClipperSearchParams();
706
- params.id = docId;
707
- params.text = query;
708
- params.count = 1;
709
- this.clipperService.documents.query(params).subscribe((r) => {
710
- if (!r.success) this.dialogService.error(r.message);
711
- else if (r.value?.items && r.value.items.length > 0) {
712
- const anchors = r.value.items[0].anchors;
713
- let minScore = 10;
714
- let maxScore = 0;
715
- anchors.forEach((n) => {
716
- if (n.score < minScore) minScore = n.score;
717
- if (n.score > maxScore) maxScore = n.score;
718
- });
719
- const range = maxScore - minScore;
720
- anchors.forEach((n) => {
721
- const score = range > 0 ? (n.score - minScore) / range : 0;
722
- n.score = score;
723
- n.veryRelevant = score > .7;
724
- });
725
- this.relevants.update((r) => ({
726
- ...r,
727
- items: anchors
728
- }));
729
- this.hasRelevants.set(anchors.length > 0);
730
- }
731
- this.handleRelevantsPaneVisibility();
732
- });
733
- }
734
- updateRelevants2(anchors) {
735
- if (!anchors?.length) return;
736
- const items = anchors.map((a) => ({
737
- score: ClipperSearchUtils.getRankFromChar(a.score),
738
- veryRelevant: a.score.toUpperCase() === "A",
739
- title: a.text,
740
- uri: a.uri ?? "__CHUNK_" + a.index
741
- }));
742
- this.relevants.update((r) => ({
743
- ...r,
744
- items
745
- }));
746
- this.hasRelevants.set(items.length > 0);
747
- this.handleRelevantsPaneVisibility();
748
- }
749
- index(documentId) {
750
- const d = this.dialogService.open(ClipperDocumentIndexComponent, {
751
- ariaLabel: "indice documento",
752
- autoFocus: "dialog",
753
- restoreFocus: false,
754
- disableClose: true,
755
- closeOnNavigation: false,
756
- data: {
757
- documentId,
758
- excludedTypes: null,
759
- multiple: false
760
- },
761
- minWidth: "375px",
762
- maxWidth: "600px",
763
- width: "100%"
764
- });
765
- d.componentInstance.done.subscribe((r) => {
766
- const item = r.data.length > 0 ? r.data[0] : null;
767
- if (item) {
768
- if (item.documentId === documentId) document.getElementById("clipper-document-iframe")?.contentWindow.postMessage("{\"type\": \"goto\", \"value\":\"" + item.uri + "\"}", "*");
769
- else this.openDocument(item.documentId + "#" + item.uri);
770
- }
771
- d.close();
772
- });
773
- }
774
- getId(url, name = "id") {
775
- const start = url.lastIndexOf(name + "=") + name.length + 1;
776
- const end = url.indexOf("&", start);
777
- return url.substring(start, end);
778
- }
779
- previewFile(url) {
780
- if (!url || url.length === 0) return;
781
- const id = this.getId(url);
782
- if (!id || id.length === 0) return;
783
- this.clipperService.session.newOTP(id).subscribe((r) => {
784
- if (!r.success) this.dialogService.error(r.message);
785
- else if (!r.value.canPreview) location.href = url;
786
- else this.dialogService.open(FilePreviewComponent, {
787
- panelClass: "preview-panel",
788
- ariaLabel: "anteprima",
789
- autoFocus: "dialog",
790
- restoreFocus: false,
791
- disableClose: true,
792
- data: {
793
- url,
794
- embed: r.value.canEmbed
795
- },
796
- minWidth: "375px",
797
- maxWidth: "900px",
798
- width: "100%",
799
- height: "100%"
800
- });
801
- });
802
- }
803
- showComment() {
804
- const doc = this.lastDocument();
805
- if (doc?.bag?.[7] !== "T") return;
806
- this.clipperService.documents.comment(doc.documentId).subscribe((r) => {
807
- if (!r.success) {
808
- if (r.message === "Il tuo abbonamento non consente di visualizzare i commenti alle norme.") this.dialogService.error("Il servizio di <b>commenti alle norme</b> non è compreso nel tuo abbonamento, per maggiori informazioni rivolgersi all'agente commerciale di riferimento o inviare una mail a <a href='mailto:sales@arsedizioni.it' target='_blank'>sales@arsedizioni.it</a>.", null, "Attenzione");
809
- else this.dialogService.error(r.message);
810
- } else if (r.value && r.value.length > 1) this.dialogService.info(r.value.replace(/<\/p><br>\r\n/g, "</p>\r\n"), "Commento", "Chiudi", 700);
811
- else this.dialogService.info("Commento non più disponibile o in fase di revisione.");
812
- });
813
- }
814
- open(documentId, query, queryChunks, newWindow) {
815
- if (!newWindow) {
816
- if (this.opening) this.opening.emit(documentId);
817
- else this.openDocument(documentId, query, queryChunks);
818
- } else window.open((this.clipperService.appUri ?? "") + "/documento/" + documentId, "_blank");
819
- }
820
- openDocument(documentId, query, queryChunks) {
821
- if (!documentId) return;
822
- this.documentUtils.openDocument(documentId, query, queryChunks, this.dialogData.selectionMode, this.dialogData.selectableModules, this.dialogData.theme, this.dialogData.canHandleTooManyResults);
823
- }
824
- openReferences(documentId, mode = ClipperQueryReferencesMode.ReferencesIn, model = null, anchor = null, anchorTitle = null, update = true) {
825
- import("./arsedizioni-ars-utils-clipper.ui-references.component-CBuJnNIf.mjs").then(({ ClipperReferencesComponent }) => {
826
- this.dialogService.open(ClipperReferencesComponent, {
827
- ariaLabel: "riferimenti legati al documento",
828
- autoFocus: "dialog",
829
- restoreFocus: false,
830
- disableClose: true,
831
- closeOnNavigation: false,
832
- data: {
833
- documentId: documentId ?? this.lastDocument()?.documentId,
834
- mode,
835
- model,
836
- anchor,
837
- anchorTitle,
838
- update,
839
- canHandleTooManyResults: this.dialogData.canHandleTooManyResults
840
- },
841
- minWidth: "375px",
842
- maxWidth: "1200px",
843
- width: "100%",
844
- height: "100%"
845
- }).afterClosed().subscribe((r) => {
846
- if (r?.documentId) this.navigate(r.documentId);
847
- });
848
- });
849
- }
850
- displayReport(item) {
851
- if (!item) return;
852
- if (item.model != ClipperModel.NormativaVigente && item.model != ClipperModel.Scadenze) {
853
- this.dialogService.info("Questa funzionalità non è disponibile per questo tipo di documento.");
854
- return;
855
- }
856
- this.openReport(item.id, item.title1 ? item.title1 : item.title2);
857
- }
858
- canSelect() {
859
- const doc = this.lastDocument();
860
- const selectionMode = this.dialogData.selectionMode ?? 0;
861
- const selectableModules = this.dialogData.selectableModules;
862
- if (!doc || selectionMode === 0) return false;
863
- if (!selectableModules?.length) return doc.model === ClipperModel.NormativaVigente || doc.model === ClipperModel.AggiornamentoNormativo;
864
- return selectableModules.findIndex((x) => x === ClipperUtils.getClipperModuleFromModel(doc)) !== -1;
865
- }
866
- select() {
867
- const doc = this.lastDocument();
868
- if (doc) {
869
- this.broadcastService.sendMessage(ClipperMessages.DOCUMENT_SELECTED_INNER, doc);
870
- this.close();
871
- }
872
- }
873
- static {
874
- this.ɵfac = function ClipperDocumentComponent_Factory(__ngFactoryType__) {
875
- return new (__ngFactoryType__ || ClipperDocumentComponent)();
876
- };
877
- }
878
- static {
879
- this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({
880
- type: ClipperDocumentComponent,
881
- selectors: [["ng-component"]],
882
- viewQuery: function ClipperDocumentComponent_Query(rf, ctx) {
883
- if (rf & 1) i0.ɵɵviewQuerySignal(ctx.relevantsPane, _c0, 5)(ctx.iframeRef, _c1, 5);
884
- if (rf & 2) i0.ɵɵqueryAdvance(2);
885
- },
886
- hostAttrs: ["Bind", SystemUtils.generateUUID()],
887
- outputs: {
888
- closing: "closing",
889
- opening: "opening"
890
- },
891
- features: [i0.ɵɵInheritDefinitionFeature],
892
- decls: 82,
893
- vars: 27,
894
- consts: [
895
- ["menuLinks", "matMenu"],
896
- ["menuActions", "matMenu"],
897
- ["relevantsPane", ""],
898
- ["docIframe", ""],
899
- [1, "clipper-document-fixed"],
900
- [
901
- 2,
902
- "height",
903
- "6px"
904
- ],
905
- [
906
- "mode",
907
- "indeterminate",
908
- 2,
909
- "z-index",
910
- "11"
911
- ],
912
- [
913
- "fxLayout",
914
- "row",
915
- "fxLayoutGap",
916
- "20px",
917
- "fxLayoutAlign",
918
- "start start",
919
- "fxFill",
920
- ""
921
- ],
922
- [
923
- "fxFlex",
924
- "*",
925
- 1,
926
- "title-container"
927
- ],
928
- [
929
- 1,
930
- "title",
931
- "bold"
932
- ],
933
- [
934
- 2,
935
- "padding-top",
936
- "5px"
937
- ],
938
- [
939
- "fxFlex",
940
- "170px",
941
- "fxFlex.lt-md",
942
- "58px"
943
- ],
944
- [
945
- "fxFlex",
946
- "170px",
947
- "fxFlex.lt-md",
948
- "48px",
949
- "fxLayoutAlign",
950
- "end"
951
- ],
952
- [1, "dialog-close"],
953
- [
954
- "fxHide.lt-md",
955
- "",
956
- "fxFlexAlign",
957
- "start",
958
- "type",
959
- "button",
960
- "mat-icon-button",
961
- "",
962
- "matTooltip",
963
- "Indietro",
964
- "aria-label",
965
- "Indietro",
966
- 3,
967
- "click"
968
- ],
969
- [
970
- "fxHide.lt-md",
971
- "",
972
- "fxFlexAlign",
973
- "start",
974
- "type",
975
- "button",
976
- "mat-icon-button",
977
- "",
978
- "matTooltip",
979
- "Avanti",
980
- "aria-label",
981
- "Avanti",
982
- 3,
983
- "click"
984
- ],
985
- [
986
- "fxFlexAlign",
987
- "start",
988
- "type",
989
- "button",
990
- "mat-icon-button",
991
- "",
992
- "matTooltip",
993
- "Chiudi",
994
- "aria-label",
995
- "Chiudi",
996
- 3,
997
- "click"
998
- ],
999
- [
1000
- "fxLayout",
1001
- "row wrap ",
1002
- "fxFill",
1003
- "",
1004
- "fxLayoutAlign",
1005
- "space-between center",
1006
- 2,
1007
- "padding",
1008
- "10px 10px 10px 15px"
1009
- ],
1010
- ["fxFlex.xs", "100"],
1011
- [
1012
- "fxFlexAlign",
1013
- "center",
1014
- "type",
1015
- "button",
1016
- "mat-button",
1017
- ""
1018
- ],
1019
- [
1020
- "fxFlexAlign",
1021
- "center",
1022
- "type",
1023
- "button",
1024
- "mat-button",
1025
- "",
1026
- "matTooltip",
1027
- "Collegamenti",
1028
- 3,
1029
- "matMenuTriggerFor"
1030
- ],
1031
- ["mat-menu-item", ""],
1032
- [
1033
- "fxHide",
1034
- "",
1035
- "fxShow.lt-md",
1036
- "",
1037
- "mat-menu-item",
1038
- ""
1039
- ],
1040
- [
1041
- "fxFlexAlign",
1042
- "center",
1043
- "type",
1044
- "button",
1045
- "fxHide.lt-md",
1046
- "",
1047
- "mat-button",
1048
- ""
1049
- ],
1050
- [
1051
- "fxFlex.xs",
1052
- "100",
1053
- "fxLayoutAlign",
1054
- "end"
1055
- ],
1056
- ["fxFlexAlign", "center"],
1057
- [
1058
- "fxLayout",
1059
- "row",
1060
- "fxLayoutGap",
1061
- "10px"
1062
- ],
1063
- [
1064
- "fxFlexAlign",
1065
- "center",
1066
- "type",
1067
- "button",
1068
- "mat-icon-button",
1069
- "",
1070
- "matTooltip",
1071
- "Azioni sul documento",
1072
- 3,
1073
- "matMenuTriggerFor"
1074
- ],
1075
- ["matMenuContent", ""],
1076
- ["id", "clipper-document-scrollable"],
1077
- [
1078
- 1,
1079
- "fill",
1080
- 3,
1081
- "hasBackdrop"
1082
- ],
1083
- [
1084
- "position",
1085
- "end",
1086
- "opened",
1087
- "false",
1088
- 1,
1089
- "drawer-small",
1090
- "drawer-with-loader"
1091
- ],
1092
- [1, "overlay"],
1093
- [
1094
- "fxLayout",
1095
- "column",
1096
- "fxFill",
1097
- ""
1098
- ],
1099
- ["fxFlex", "6px"],
1100
- [
1101
- "fxFlex",
1102
- "78px",
1103
- 1,
1104
- "title-container-with-loader"
1105
- ],
1106
- [
1107
- "fxLayout",
1108
- "row",
1109
- "fxLayoutAlign",
1110
- "start center",
1111
- "fxFill",
1112
- ""
1113
- ],
1114
- [1, "title"],
1115
- [
1116
- "fxFlex",
1117
- "*",
1118
- "fxLayoutAlign",
1119
- "end"
1120
- ],
1121
- [
1122
- "mat-icon-button",
1123
- "",
1124
- "matTooltip",
1125
- "Nascondi",
1126
- 3,
1127
- "click"
1128
- ],
1129
- [
1130
- "fxFlex",
1131
- "*",
1132
- 1,
1133
- "relevants-container",
1134
- "scroll-auto"
1135
- ],
1136
- [1, "word-hit-chunk"],
1137
- ["fxFlex", "*"],
1138
- [1, "relevants-items"],
1139
- [
1140
- 1,
1141
- "small",
1142
- 3,
1143
- "bright",
1144
- "accent"
1145
- ],
1146
- [
1147
- 1,
1148
- "fill",
1149
- "scroll-hidden"
1150
- ],
1151
- [
1152
- "id",
1153
- "clipper-document-iframe",
1154
- 1,
1155
- "iframe"
1156
- ],
1157
- [
1158
- 1,
1159
- "x-small",
1160
- "bold",
1161
- "uppercase"
1162
- ],
1163
- [1, "accent"],
1164
- [
1165
- 1,
1166
- "x-small",
1167
- "error",
1168
- "bold",
1169
- "uppercase"
1170
- ],
1171
- [
1172
- "fxHide.lt-md",
1173
- "",
1174
- "fxFlexAlign",
1175
- "center",
1176
- "type",
1177
- "button",
1178
- "mat-flat-button",
1179
- "",
1180
- 1,
1181
- "clipper-selection-button",
1182
- 2,
1183
- "margin-top",
1184
- "8px",
1185
- 3,
1186
- "click"
1187
- ],
1188
- [1, "small"],
1189
- [
1190
- "fxHide.gt-sm",
1191
- "",
1192
- "fxFlexAlign",
1193
- "center",
1194
- "type",
1195
- "button",
1196
- "mat-icon-button",
1197
- "",
1198
- "matTooltip",
1199
- "Usa selezione",
1200
- "aria-label",
1201
- "'Usa la selezione'",
1202
- 1,
1203
- "clipper-selection-icon-button",
1204
- 2,
1205
- "margin-top",
1206
- "4px",
1207
- 3,
1208
- "click"
1209
- ],
1210
- [
1211
- "fxFlexAlign",
1212
- "center",
1213
- "type",
1214
- "button",
1215
- "mat-button",
1216
- "",
1217
- 3,
1218
- "click"
1219
- ],
1220
- [
1221
- "mat-menu-item",
1222
- "",
1223
- 3,
1224
- "click"
1225
- ],
1226
- [
1227
- "fxHide",
1228
- "",
1229
- "fxShow.lt-md",
1230
- "",
1231
- "mat-menu-item",
1232
- "",
1233
- 3,
1234
- "click"
1235
- ],
1236
- [
1237
- "fxFlexAlign",
1238
- "center",
1239
- "type",
1240
- "button",
1241
- "fxHide.lt-md",
1242
- "",
1243
- "mat-button",
1244
- "",
1245
- 3,
1246
- "click"
1247
- ],
1248
- [
1249
- "fxFlexAlign",
1250
- "center",
1251
- "matTooltip",
1252
- "Parole evidenziate",
1253
- 1,
1254
- "small",
1255
- "item-greyed",
1256
- 2,
1257
- "margin-left",
1258
- "20px",
1259
- "margin-right",
1260
- "5px"
1261
- ],
1262
- [
1263
- "fxFlexAlign",
1264
- "center",
1265
- "type",
1266
- "button",
1267
- "mat-icon-button",
1268
- "",
1269
- "matTooltip",
1270
- "Parola precedente",
1271
- 3,
1272
- "click"
1273
- ],
1274
- [
1275
- "fxFlexAlign",
1276
- "center",
1277
- "type",
1278
- "button",
1279
- "mat-icon-button",
1280
- "",
1281
- "matTooltip",
1282
- "Prossima parola",
1283
- 3,
1284
- "click"
1285
- ],
1286
- [
1287
- "selectionSource",
1288
- "none",
1289
- 3,
1290
- "parent",
1291
- "item",
1292
- "canOpenDocument",
1293
- "canPrint",
1294
- "canFind",
1295
- "isReadable",
1296
- "isLawInForce",
1297
- "canUseAIAssistant"
1298
- ],
1299
- [
1300
- "type",
1301
- "button",
1302
- "mat-icon-button",
1303
- "",
1304
- "matTooltip",
1305
- "Rilevanza",
1306
- "aria-label",
1307
- "'Rilevanza'",
1308
- 3,
1309
- "click"
1310
- ],
1311
- [
1312
- 1,
1313
- "small",
1314
- 3,
1315
- "click"
1316
- ],
1317
- [
1318
- "fxLayout",
1319
- "row",
1320
- "fxLayoutAlign",
1321
- "start start",
1322
- "fxLayoutGap",
1323
- "10px",
1324
- "fxFill",
1325
- ""
1326
- ],
1327
- ["fxLayoutAlign", "end"],
1328
- [
1329
- 2,
1330
- "font-size",
1331
- "x-small",
1332
- "height",
1333
- "10px",
1334
- "width",
1335
- "10px",
1336
- 3,
1337
- "matTooltip"
1338
- ]
1339
- ],
1340
- template: function ClipperDocumentComponent_Template(rf, ctx) {
1341
- if (rf & 1) {
1342
- i0.ɵɵelementStart(0, "div", 4)(1, "div", 5);
1343
- i0.ɵɵconditionalCreate(2, ClipperDocumentComponent_Conditional_2_Template, 1, 0, "mat-progress-bar", 6);
1344
- i0.ɵɵelementEnd();
1345
- i0.ɵɵelementStart(3, "div")(4, "div", 7)(5, "div", 8)(6, "div", 9);
1346
- i0.ɵɵtext(7);
1347
- i0.ɵɵelementEnd();
1348
- i0.ɵɵconditionalCreate(8, ClipperDocumentComponent_Conditional_8_Template, 5, 1, "div", 10);
1349
- i0.ɵɵconditionalCreate(9, ClipperDocumentComponent_Conditional_9_Template, 5, 1, "div", 10);
1350
- i0.ɵɵconditionalCreate(10, ClipperDocumentComponent_Conditional_10_Template, 3, 2, "div", 10);
1351
- i0.ɵɵelementEnd();
1352
- i0.ɵɵconditionalCreate(11, ClipperDocumentComponent_Conditional_11_Template, 7, 0, "div", 11);
1353
- i0.ɵɵelementStart(12, "div", 12)(13, "div", 13)(14, "button", 14);
1354
- i0.ɵɵlistener("click", function ClipperDocumentComponent_Template_button_click_14_listener() {
1355
- return ctx.back();
1356
- });
1357
- i0.ɵɵelementStart(15, "mat-icon");
1358
- i0.ɵɵtext(16, "arrow_back");
1359
- i0.ɵɵelementEnd()();
1360
- i0.ɵɵelementStart(17, "button", 15);
1361
- i0.ɵɵlistener("click", function ClipperDocumentComponent_Template_button_click_17_listener() {
1362
- return ctx.forward();
1363
- });
1364
- i0.ɵɵelementStart(18, "mat-icon");
1365
- i0.ɵɵtext(19, "arrow_forward");
1366
- i0.ɵɵelementEnd()();
1367
- i0.ɵɵelementStart(20, "button", 16);
1368
- i0.ɵɵlistener("click", function ClipperDocumentComponent_Template_button_click_20_listener() {
1369
- return ctx.close();
1370
- });
1371
- i0.ɵɵelementStart(21, "mat-icon");
1372
- i0.ɵɵtext(22, "close");
1373
- i0.ɵɵelementEnd()()()()()();
1374
- i0.ɵɵelementStart(23, "div")(24, "div", 17)(25, "div", 18);
1375
- i0.ɵɵconditionalCreate(26, ClipperDocumentComponent_Conditional_26_Template, 2, 1, "button", 19);
1376
- i0.ɵɵconditionalCreate(27, ClipperDocumentComponent_Conditional_27_Template, 2, 2, "button", 20);
1377
- i0.ɵɵelementStart(28, "mat-menu", null, 0);
1378
- i0.ɵɵconditionalCreate(30, ClipperDocumentComponent_Conditional_30_Template, 2, 1, "button", 21);
1379
- i0.ɵɵconditionalCreate(31, ClipperDocumentComponent_Conditional_31_Template, 2, 1, "button", 21);
1380
- i0.ɵɵconditionalCreate(32, ClipperDocumentComponent_Conditional_32_Template, 2, 1, "button", 22);
1381
- i0.ɵɵconditionalCreate(33, ClipperDocumentComponent_Conditional_33_Template, 2, 1, "button", 22);
1382
- i0.ɵɵconditionalCreate(34, ClipperDocumentComponent_Conditional_34_Template, 2, 1, "button", 22);
1383
- i0.ɵɵelementEnd();
1384
- i0.ɵɵconditionalCreate(35, ClipperDocumentComponent_Conditional_35_Template, 2, 2, "button", 19);
1385
- i0.ɵɵconditionalCreate(36, ClipperDocumentComponent_Conditional_36_Template, 2, 1, "button", 23);
1386
- i0.ɵɵconditionalCreate(37, ClipperDocumentComponent_Conditional_37_Template, 2, 1, "button", 23);
1387
- i0.ɵɵconditionalCreate(38, ClipperDocumentComponent_Conditional_38_Template, 2, 1, "button", 23);
1388
- i0.ɵɵconditionalCreate(39, ClipperDocumentComponent_Conditional_39_Template, 2, 1, "button", 19);
1389
- i0.ɵɵconditionalCreate(40, ClipperDocumentComponent_Conditional_40_Template, 2, 1, "button", 19);
1390
- i0.ɵɵelementEnd();
1391
- i0.ɵɵelementStart(41, "div", 24)(42, "div", 25);
1392
- i0.ɵɵconditionalCreate(43, ClipperDocumentComponent_Conditional_43_Template, 9, 4, "div", 26);
1393
- i0.ɵɵelementEnd();
1394
- i0.ɵɵelementStart(44, "button", 27)(45, "mat-icon");
1395
- i0.ɵɵtext(46, "more_vert");
1396
- i0.ɵɵelementEnd()();
1397
- i0.ɵɵelementStart(47, "mat-menu", null, 1);
1398
- i0.ɵɵtemplate(49, ClipperDocumentComponent_ng_template_49_Template, 1, 8, "ng-template", 28);
1399
- i0.ɵɵelementEnd();
1400
- i0.ɵɵconditionalCreate(50, ClipperDocumentComponent_Conditional_50_Template, 4, 0, "div", 25);
1401
- i0.ɵɵelementEnd()()()();
1402
- i0.ɵɵelementStart(51, "mat-dialog-content", 29)(52, "mat-drawer-container", 30)(53, "mat-drawer", 31, 2);
1403
- i0.ɵɵconditionalCreate(55, ClipperDocumentComponent_Conditional_55_Template, 1, 0, "div", 32);
1404
- i0.ɵɵelementStart(56, "div", 33)(57, "div", 34);
1405
- i0.ɵɵconditionalCreate(58, ClipperDocumentComponent_Conditional_58_Template, 1, 0, "mat-progress-bar", 6);
1406
- i0.ɵɵelementEnd();
1407
- i0.ɵɵelementStart(59, "div", 35)(60, "div", 36)(61, "div", 37);
1408
- i0.ɵɵtext(62, "Rilevanza");
1409
- i0.ɵɵelementEnd();
1410
- i0.ɵɵelementStart(63, "div", 38)(64, "button", 39);
1411
- i0.ɵɵlistener("click", function ClipperDocumentComponent_Template_button_click_64_listener() {
1412
- return ctx.toggleRelevantsPane();
1413
- });
1414
- i0.ɵɵelementStart(65, "mat-icon");
1415
- i0.ɵɵtext(66, "right_panel_close");
1416
- i0.ɵɵelementEnd()()()()();
1417
- i0.ɵɵelementStart(67, "div", 40)(68, "div", 33)(69, "div")(70, "p");
1418
- i0.ɵɵtext(71, "Parti del documento più significative per la ricerca di ");
1419
- i0.ɵɵelementStart(72, "span", 41);
1420
- i0.ɵɵtext(73);
1421
- i0.ɵɵelementEnd()()();
1422
- i0.ɵɵelementStart(74, "div", 42)(75, "nav", 43)(76, "ul");
1423
- i0.ɵɵrepeaterCreate(77, ClipperDocumentComponent_For_78_Template, 6, 7, "li", 44, i0.ɵɵrepeaterTrackByIndex);
1424
- i0.ɵɵelementEnd()()()()()()();
1425
- i0.ɵɵelementStart(79, "div", 45);
1426
- i0.ɵɵelement(80, "iframe", 46, 3);
1427
- i0.ɵɵelementEnd()()();
1428
- }
1429
- if (rf & 2) {
1430
- const menuActions_r20 = i0.ɵɵreference(48);
1431
- const relevantsPane_r21 = i0.ɵɵreference(54);
1432
- i0.ɵɵadvance(2);
1433
- i0.ɵɵconditional(ctx.busy() ? 2 : -1);
1434
- i0.ɵɵadvance(5);
1435
- i0.ɵɵtextInterpolate(ctx.title());
1436
- i0.ɵɵadvance();
1437
- i0.ɵɵconditional(ctx.lastDocument()?.tags ? 8 : -1);
1438
- i0.ɵɵadvance();
1439
- i0.ɵɵconditional(ctx.lastDocument()?.lastUpdate ? 9 : -1);
1440
- i0.ɵɵadvance();
1441
- i0.ɵɵconditional(ctx.lastDocument()?.expiringDescription || ctx.lastDocument()?.validityInfo ? 10 : -1);
1442
- i0.ɵɵadvance();
1443
- i0.ɵɵconditional(ctx.canSelect() ? 11 : -1);
1444
- i0.ɵɵadvance(15);
1445
- i0.ɵɵconditional(ctx.lastDocument()?.model === 9 ? 26 : -1);
1446
- i0.ɵɵadvance();
1447
- i0.ɵɵconditional(ctx.lastDocument()?.bag && (ctx.lastDocument()?.bag[1] === "T" || ctx.lastDocument()?.bag[3] === "T") ? 27 : -1);
1448
- i0.ɵɵadvance(3);
1449
- i0.ɵɵconditional(ctx.lastDocument()?.bag && ctx.lastDocument()?.bag[1] === "T" ? 30 : -1);
1450
- i0.ɵɵadvance();
1451
- i0.ɵɵconditional(ctx.lastDocument()?.bag && ctx.lastDocument()?.bag[3] === "T" ? 31 : -1);
1452
- i0.ɵɵadvance();
1453
- i0.ɵɵconditional(ctx.lastDocument()?.bag && ctx.lastDocument()?.bag[2] === "T" ? 32 : -1);
1454
- i0.ɵɵadvance();
1455
- i0.ɵɵconditional(ctx.lastDocument()?.bag && ctx.lastDocument()?.bag[4] === "T" ? 33 : -1);
1456
- i0.ɵɵadvance();
1457
- i0.ɵɵconditional(ctx.lastDocument()?.bag && ctx.lastDocument()?.bag[4] !== "T" && ctx.lastDocument()?.bag[6] === "T" ? 34 : -1);
1458
- i0.ɵɵadvance();
1459
- i0.ɵɵconditional(ctx.lastDocument()?.hasPrimary ? 35 : -1);
1460
- i0.ɵɵadvance();
1461
- i0.ɵɵconditional(ctx.lastDocument()?.bag && ctx.lastDocument()?.bag[2] === "T" ? 36 : -1);
1462
- i0.ɵɵadvance();
1463
- i0.ɵɵconditional(ctx.lastDocument()?.bag && ctx.lastDocument()?.bag[4] === "T" ? 37 : -1);
1464
- i0.ɵɵadvance();
1465
- i0.ɵɵconditional(ctx.lastDocument()?.bag && ctx.lastDocument()?.bag[4] !== "T" && ctx.lastDocument()?.bag[6] === "T" ? 38 : -1);
1466
- i0.ɵɵadvance();
1467
- i0.ɵɵconditional(ctx.lastDocument()?.secondaryId ? 39 : -1);
1468
- i0.ɵɵadvance();
1469
- i0.ɵɵconditional(ctx.lastDocument()?.bag && ctx.lastDocument()?.bag[7] === "T" ? 40 : -1);
1470
- i0.ɵɵadvance(3);
1471
- i0.ɵɵconditional(ctx.relevants().hits ? 43 : -1);
1472
- i0.ɵɵadvance();
1473
- i0.ɵɵproperty("matMenuTriggerFor", menuActions_r20);
1474
- i0.ɵɵattribute("aria-label", "Azioni da eseguire sul documento");
1475
- i0.ɵɵadvance(6);
1476
- i0.ɵɵconditional(ctx.hasRelevants() && ctx.relevants().items && relevantsPane_r21 && (!relevantsPane_r21.opened || ctx.relevantsPaneClosed()) ? 50 : -1);
1477
- i0.ɵɵadvance(2);
1478
- i0.ɵɵproperty("hasBackdrop", ctx.relevantsPaneHasBackdrop());
1479
- i0.ɵɵadvance(3);
1480
- i0.ɵɵconditional(ctx.relevantsBusy() ? 55 : -1);
1481
- i0.ɵɵadvance(3);
1482
- i0.ɵɵconditional(ctx.relevantsBusy() ? 58 : -1);
1483
- i0.ɵɵadvance(15);
1484
- i0.ɵɵtextInterpolate(ctx.lastQuery);
1485
- i0.ɵɵadvance(4);
1486
- i0.ɵɵrepeater(ctx.relevants().items);
1487
- }
1488
- },
1489
- dependencies: [
1490
- FlexLayoutModule,
1491
- i1.FxLayoutDirective,
1492
- i1.FxFlexDirective,
1493
- i1.FxShowHideDirective,
1494
- i1.FxLayoutAlignDirective,
1495
- i1.FxLayoutGapDirective,
1496
- i1.FxFlexAlignDirective,
1497
- i1.FxFlexFillDirective,
1498
- MatButtonModule,
1499
- i2.MatButton,
1500
- i2.MatIconButton,
1501
- MatTooltipModule,
1502
- i3.MatTooltip,
1503
- MatIconModule,
1504
- i4.MatIcon,
1505
- MatMenuModule,
1506
- i5.MatMenu,
1507
- i5.MatMenuItem,
1508
- i5.MatMenuContent,
1509
- i5.MatMenuTrigger,
1510
- MatDividerModule,
1511
- MatProgressBarModule,
1512
- i6.MatProgressBar,
1513
- MatDialogContent,
1514
- MatSidenavModule,
1515
- i7.MatDrawer,
1516
- i7.MatDrawerContainer,
1517
- ClipperDocumentMenuComponent
1518
- ],
1519
- styles: [".fill[_ngcontent-%COMP%], .wide[_ngcontent-%COMP%]{min-width:100%!important;max-width:100%!important;width:100%!important}.dialog-info[_ngcontent-%COMP%]{font-size:x-small;font-weight:700;text-align:right;padding:10px}.dialog-info-green[_ngcontent-%COMP%], .dialog-info-ok[_ngcontent-%COMP%]{color:var(--%NS%ars-color-ok, #388E3C)}.dialog-info-red[_ngcontent-%COMP%], .dialog-info-error[_ngcontent-%COMP%]{color:var(--%NS%mat-form-field-error-text-color, #a80710)}.dialog-header[_ngcontent-%COMP%]{padding-bottom:20px}.dialog-toolbar[_ngcontent-%COMP%]{padding:0 5px 0 24px;height:48px;min-height:48px}.dialog-close[_ngcontent-%COMP%]{margin-right:5px;margin-top:0}.dialog-menu[_ngcontent-%COMP%]{margin-left:10px;margin-top:10px}.dialog-title[_ngcontent-%COMP%]{padding:0 24px}.section-title[_ngcontent-%COMP%]{font-size:large;font-weight:600;padding-top:10px;padding-bottom:8px}.center[_ngcontent-%COMP%]{text-align:center}.fill[_ngcontent-%COMP%]{min-height:100%!important;max-height:100%!important;height:100%!important}.scroll-auto[_ngcontent-%COMP%]{overflow:auto;height:100%}.scroll-hidden[_ngcontent-%COMP%]{overflow:hidden;height:100%}b[_ngcontent-%COMP%]{font-weight:700}.large[_ngcontent-%COMP%]{font-size:large!important;line-height:1.2!important}.smaller[_ngcontent-%COMP%]{font-size:smaller!important;line-height:1.2!important}.small[_ngcontent-%COMP%]{font-size:small!important;line-height:1.2!important}.small-icon-button[_ngcontent-%COMP%]{width:1.5rem!important;height:1.5rem!important;padding:0!important;display:inline-flex!important;align-items:center;justify-content:center}.small-icon-button[_ngcontent-%COMP%] .mat-mdc-button-touch-target[_ngcontent-%COMP%]{width:1.5rem!important;height:1.5rem!important}.x-small[_ngcontent-%COMP%]{font-size:x-small!important;line-height:1.2!important}.bold[_ngcontent-%COMP%]{font-weight:700}.uppercase[_ngcontent-%COMP%]{text-transform:uppercase!important}.lowercase[_ngcontent-%COMP%]{text-transform:lowercase!important}.truncated[_ngcontent-%COMP%]{min-width:0;max-width:100%}@supports (-webkit-line-clamp: 2){.truncated[_ngcontent-%COMP%]{overflow:hidden;text-overflow:ellipsis;white-space:initial;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}}.truncated[_ngcontent-%COMP%] span[_ngcontent-%COMP%], .truncated[_ngcontent-%COMP%] div[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}@supports (-webkit-line-clamp: 2){.truncated[_ngcontent-%COMP%] span[_ngcontent-%COMP%], .truncated[_ngcontent-%COMP%] div[_ngcontent-%COMP%]{overflow:hidden;text-overflow:ellipsis;white-space:initial;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}}.clipped[_ngcontent-%COMP%]{min-width:0;max-width:100%}.clipped[_ngcontent-%COMP%] span[_ngcontent-%COMP%], .clipped[_ngcontent-%COMP%] div[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:clip}.accent[_ngcontent-%COMP%]{color:var(--%NS%ars-color-accent, #7894ae)!important}.primary[_ngcontent-%COMP%]{color:var(--%NS%ars-color-primary, #00a293)!important}.secondary[_ngcontent-%COMP%]{color:var(--%NS%ars-color-secondary, #4a635f)!important}.error[_ngcontent-%COMP%]{color:var(--%NS%ars-color-error, #ff5449)!important}.success[_ngcontent-%COMP%]{color:var(--%NS%ars-color-ok, #388E3C)!important}.warning[_ngcontent-%COMP%]{color:var(--%NS%ars-color-warning, #FFC107)!important}.text[_ngcontent-%COMP%]{color:var(--%NS%ars-color-text, #191c1b)!important}.overlay[_ngcontent-%COMP%]{position:absolute;top:0;left:0;width:100%;height:100%;z-index:10;background-color:var(--%NS%ars-color-overlay, rgba(255, 255, 255, .75))}.drawer-content[_ngcontent-%COMP%]{padding-top:10px}.drawer[_ngcontent-%COMP%] .title-container[_ngcontent-%COMP%], .drawer[_ngcontent-%COMP%] .title-container-with-loader[_ngcontent-%COMP%], .drawer-small[_ngcontent-%COMP%] .title-container[_ngcontent-%COMP%], .drawer-small[_ngcontent-%COMP%] .title-container-with-loader[_ngcontent-%COMP%]{padding-right:5px;padding-bottom:20px;padding-left:0}.drawer[_ngcontent-%COMP%] .title-container[_ngcontent-%COMP%], .drawer-small[_ngcontent-%COMP%] .title-container[_ngcontent-%COMP%]{padding-top:20px}.drawer[_ngcontent-%COMP%] .title-container-with-loader[_ngcontent-%COMP%], .drawer-small[_ngcontent-%COMP%] .title-container-with-loader[_ngcontent-%COMP%]{padding-top:14px}.drawer[_ngcontent-%COMP%] .title[_ngcontent-%COMP%], .drawer-small[_ngcontent-%COMP%] .title[_ngcontent-%COMP%]{font-size:19.2px!important;font-weight:600;padding-left:15px;min-width:150px;width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.drawer[_ngcontent-%COMP%] .accordion-panel[_ngcontent-%COMP%], .drawer-small[_ngcontent-%COMP%] .accordion-panel[_ngcontent-%COMP%]{background-color:transparent!important}.drawer[_ngcontent-%COMP%] .accordion-header[_ngcontent-%COMP%], .drawer-small[_ngcontent-%COMP%] .accordion-header[_ngcontent-%COMP%]{padding-left:10px;padding-right:10px;border-radius:var(--%NS%mat-expansion-container-shape)}.drawer[_ngcontent-%COMP%] .mat-expansion-panel-body[_ngcontent-%COMP%], .drawer-small[_ngcontent-%COMP%] .mat-expansion-panel-body[_ngcontent-%COMP%]{padding-left:10px!important;padding-right:10px!important;padding-bottom:20px!important}@media screen and (min-width:0px)and (max-width:430px){.drawer[_ngcontent-%COMP%], .drawer-small[_ngcontent-%COMP%]{border-radius:0!important;min-width:100%!important;max-width:100%!important}}@media screen and (min-width:431px){.drawer[_ngcontent-%COMP%]{min-width:420px!important;max-width:420px!important}.drawer[_ngcontent-%COMP%] .title[_ngcontent-%COMP%]{min-width:200px}.drawer[_ngcontent-%COMP%] .mat-expansion-panel-body[_ngcontent-%COMP%]{padding-left:15px!important;padding-right:15px!important;padding-bottom:20px!important}.drawer-small[_ngcontent-%COMP%]{min-width:360px!important;max-width:360px!important}}.drawer-with-loader[_ngcontent-%COMP%]{padding-top:0!important}.drawer-transparent[_ngcontent-%COMP%]{background-color:transparent}.fade-in[_ngcontent-%COMP%]{animation:_ngcontent-%COMP%_fadein .5s linear}@keyframes _ngcontent-%COMP%_fadein{0%{opacity:0}to{opacity:1}}.bright[_ngcontent-%COMP%]{filter:brightness(.7)!important}@media(prefers-color-scheme:dark){.dialog-info-green[_ngcontent-%COMP%], .dialog-info-ok[_ngcontent-%COMP%]{color:var(--%NS%ars-color-ok, #4CAF50)}.dialog-info-red[_ngcontent-%COMP%], .dialog-info-error[_ngcontent-%COMP%]{color:var(--%NS%mat-form-field-error-text-color, #ff5449)}b[_ngcontent-%COMP%], .bold[_ngcontent-%COMP%]{font-weight:600}.bright[_ngcontent-%COMP%]{filter:brightness(1.5)!important}}.clipper-logo[_ngcontent-%COMP%]{background-size:110px 48px;width:110px;height:48px}.clipper-selection-button[_ngcontent-%COMP%]{width:150px;font-size:small;font-weight:600}.clipper-selection-icon-button[_ngcontent-%COMP%]{background-color:var(--%NS%ars-color-primary, #00a293);color:var(--%NS%ars-color-text-low, #e0e2e5)}.clipper-selection-icon-button[_ngcontent-%COMP%]:hover{background-color:var(--%NS%ars-color-primary-hi, #12c0ae)}.unread[_ngcontent-%COMP%]{color:var(--%NS%app-color-unread, #f7931c)!important}.unread-bg[_ngcontent-%COMP%]{background-color:var(--%NS%app-color-unread, #f7931c)!important}.expired[_ngcontent-%COMP%]{color:var(--%NS%app-color-expired, #ff5449)!important}.expired-bg[_ngcontent-%COMP%]{background-color:var(--%NS%app-color-expired, #ff5449)!important}.expiring[_ngcontent-%COMP%]{color:var(--%NS%app-color-expiring, #FFC107)!important}.expiring-bg[_ngcontent-%COMP%]{background-color:var(--%NS%app-color-expiring, #FFC107)!important}.closed[_ngcontent-%COMP%]{color:var(--%NS%app-color-closed, #388E3C)!important}.closed-bg[_ngcontent-%COMP%]{background-color:var(--%NS%app-color-closed, #388E3C)!important}.error-bg[_ngcontent-%COMP%]{background-color:var(--%NS%ars-color-error, #ff5449)!important}.popular-bg[_ngcontent-%COMP%]{background-color:var(--%NS%app-color-closed, #388E3C)!important}.very-popular-bg[_ngcontent-%COMP%]{background-color:#4caf50}.item-selected[_ngcontent-%COMP%]{background-color:var(--%NS%ars-item-selected-background-color, #ced1d2);border-radius:0!important}.item-unread[_ngcontent-%COMP%]{font-weight:bolder}.items-group-title[_ngcontent-%COMP%]{color:var(--%NS%ars-color-secondary, #4a635f);font-size:large;font-weight:700;padding-left:25px;padding-bottom:10px;padding-top:10px}.items-group-title[_ngcontent-%COMP%] .group-spaced[_ngcontent-%COMP%]{padding:10px 0 0!important}.items-footer[_ngcontent-%COMP%]{padding:10px}.item[_ngcontent-%COMP%]{border-radius:12px;padding:10px 10px 10px 0;min-height:68px!important;margin-bottom:2px}.item[_ngcontent-%COMP%]:hover{background-color:var(--%NS%ars-item-hover-background-color, #eaecef)}.item[_ngcontent-%COMP%]:hover .item-content[_ngcontent-%COMP%]{-webkit-mask-image:linear-gradient(to right,black 85%,transparent 100%);mask-image:linear-gradient(to right,black 85%,transparent 100%)}@media screen and (min-width:0px)and (max-width:430px){.item[_ngcontent-%COMP%]:hover{background-color:var(--%NS%ars-item-hover-background-color)}.item[_ngcontent-%COMP%]:hover .item-content[_ngcontent-%COMP%]{-webkit-mask-image:linear-gradient(to right,black 55%,transparent 100%);mask-image:linear-gradient(to right,black 55%,transparent 100%)}}.item-content[_ngcontent-%COMP%] .item-info-1[_ngcontent-%COMP%], .item-content[_ngcontent-%COMP%] .info-1[_ngcontent-%COMP%]{font-size:x-small!important;font-weight:700!important;line-height:18px;text-transform:uppercase!important;color:var(--%NS%ars-color-accent, #7894ae)}.item-content[_ngcontent-%COMP%] .item-info-2[_ngcontent-%COMP%], .item-content[_ngcontent-%COMP%] .info-2[_ngcontent-%COMP%]{font-size:x-small!important;font-weight:700!important;line-height:18px;text-transform:uppercase!important;color:var(--%NS%ars-color-accent-low, #456179)}.item-content[_ngcontent-%COMP%] .item-info-3[_ngcontent-%COMP%], .item-content[_ngcontent-%COMP%] .info-3[_ngcontent-%COMP%]{font-size:x-small!important;font-weight:700!important;line-height:18px;text-transform:uppercase!important;color:var(--%NS%ars-color-error, #ff5449)}.item-content[_ngcontent-%COMP%] .item-title[_ngcontent-%COMP%], .item-content[_ngcontent-%COMP%] .title[_ngcontent-%COMP%]{font-size:small!important;line-height:18px;text-decoration:none!important;font-weight:400;min-height:unset;min-width:unset;white-space:initial!important}@supports (-webkit-line-clamp: 3){.item-content[_ngcontent-%COMP%] .item-title[_ngcontent-%COMP%], .item-content[_ngcontent-%COMP%] .title[_ngcontent-%COMP%]{overflow:hidden;text-overflow:ellipsis;white-space:initial;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical}}.item-content[_ngcontent-%COMP%] .details[_ngcontent-%COMP%]{margin-top:4px;font-size:x-small!important;font-weight:700;line-height:15px;color:var(--%NS%ars-color-accent-low, #456179);text-transform:uppercase!important;border-left:4px solid var(--%NS%ars-color-accent-low, #456179);padding-left:10px}.item-content[_ngcontent-%COMP%] .details[_ngcontent-%COMP%] .links[_ngcontent-%COMP%]{text-transform:none;text-decoration:none}.item-content[_ngcontent-%COMP%] .details[_ngcontent-%COMP%] .links[_ngcontent-%COMP%] a[_ngcontent-%COMP%], .item-content[_ngcontent-%COMP%] .details[_ngcontent-%COMP%] .links[_ngcontent-%COMP%] span[_ngcontent-%COMP%], .item-content[_ngcontent-%COMP%] .details[_ngcontent-%COMP%] .links[_ngcontent-%COMP%] div[_ngcontent-%COMP%]{margin-right:8px;font-weight:500!important;font-size:11px!important;color:var(--%NS%ars-color-text, #191c1b)}.item-content[_ngcontent-%COMP%] .details[_ngcontent-%COMP%] .links[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{cursor:pointer!important;color:var(--%NS%ars-color-link, #03A9F4);font-size:11px!important;font-weight:500!important}.item-content[_ngcontent-%COMP%] a.link[_ngcontent-%COMP%]{color:var(--%NS%ars-color-link, #03A9F4);cursor:pointer!important;text-decoration:none!important}.tile[_ngcontent-%COMP%]:hover{background-color:var(--%NS%ars-item-hover-background-color, #eaecef);border-radius:12px}.tile[_ngcontent-%COMP%]{cursor:pointer!important;padding:10px 13px!important;margin-bottom:20px!important}.tile[_ngcontent-%COMP%] .body[_ngcontent-%COMP%]{padding:4px 6px}.tile[_ngcontent-%COMP%] .image-mark[_ngcontent-%COMP%]{border-top:6px solid transparent;margin:0 8px}.tile[_ngcontent-%COMP%] .image-mark-unread[_ngcontent-%COMP%]{border-top-color:var(--%NS%app-color-unread, #f7931c);margin:0 8px}.tile[_ngcontent-%COMP%] .tile-image[_ngcontent-%COMP%], .tile[_ngcontent-%COMP%] .image[_ngcontent-%COMP%]{height:125px;position:relative;background-color:transparent;overflow:hidden;display:flex;justify-content:center;align-items:center;border-radius:8px}.tile[_ngcontent-%COMP%] .tile-image[_ngcontent-%COMP%] img[_ngcontent-%COMP%], .tile[_ngcontent-%COMP%] .image[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{object-fit:cover;width:100%;height:100%}.tile[_ngcontent-%COMP%] .tile-image[_ngcontent-%COMP%] .tile-info-1[_ngcontent-%COMP%], .tile[_ngcontent-%COMP%] .tile-image[_ngcontent-%COMP%] .info-1[_ngcontent-%COMP%], .tile[_ngcontent-%COMP%] .image[_ngcontent-%COMP%] .tile-info-1[_ngcontent-%COMP%], .tile[_ngcontent-%COMP%] .image[_ngcontent-%COMP%] .info-1[_ngcontent-%COMP%]{position:absolute;left:0;bottom:0;padding:4px 8px;background-color:var(--%NS%ars-color-overlay, rgba(255, 255, 255, .75));color:var(--%NS%ars-color-text, #191c1b);font-size:small!important;font-weight:700!important;text-transform:uppercase!important}.tile[_ngcontent-%COMP%] .tile-image[_ngcontent-%COMP%] .tile-info-2[_ngcontent-%COMP%], .tile[_ngcontent-%COMP%] .tile-image[_ngcontent-%COMP%] .info-2[_ngcontent-%COMP%], .tile[_ngcontent-%COMP%] .image[_ngcontent-%COMP%] .tile-info-2[_ngcontent-%COMP%], .tile[_ngcontent-%COMP%] .image[_ngcontent-%COMP%] .info-2[_ngcontent-%COMP%]{position:absolute;right:0;top:0;padding:4px 8px;background-color:var(--%NS%ars-color-overlay, rgba(255, 255, 255, .75));color:var(--%NS%ars-color-accent, #7894ae);font-size:small!important;font-weight:700!important;text-transform:uppercase!important}.tile[_ngcontent-%COMP%] .tile-image[_ngcontent-%COMP%] .buttons[_ngcontent-%COMP%], .tile[_ngcontent-%COMP%] .image[_ngcontent-%COMP%] .buttons[_ngcontent-%COMP%]{position:absolute;left:0;top:0;height:42px}.tile[_ngcontent-%COMP%] .tile-image[_ngcontent-%COMP%] .buttons[_ngcontent-%COMP%] .check[_ngcontent-%COMP%], .tile[_ngcontent-%COMP%] .tile-image[_ngcontent-%COMP%] .buttons[_ngcontent-%COMP%] .read-button[_ngcontent-%COMP%], .tile[_ngcontent-%COMP%] .image[_ngcontent-%COMP%] .buttons[_ngcontent-%COMP%] .check[_ngcontent-%COMP%], .tile[_ngcontent-%COMP%] .image[_ngcontent-%COMP%] .buttons[_ngcontent-%COMP%] .read-button[_ngcontent-%COMP%]{background-color:var(--%NS%ars-color-primary, #00a293)!important;color:var(--%NS%ars-color-text-low, #e0e2e5)!important}.tile[_ngcontent-%COMP%] .tile-image[_ngcontent-%COMP%] .buttons[_ngcontent-%COMP%] .unread-button[_ngcontent-%COMP%], .tile[_ngcontent-%COMP%] .image[_ngcontent-%COMP%] .buttons[_ngcontent-%COMP%] .unread-button[_ngcontent-%COMP%]{background-color:var(--%NS%app-color-unread, #f7931c)!important;color:var(--%NS%ars-color-text-low, #e0e2e5)!important}.tile[_ngcontent-%COMP%] .tile-image[_ngcontent-%COMP%] .buttons[_ngcontent-%COMP%] .check-selected[_ngcontent-%COMP%], .tile[_ngcontent-%COMP%] .image[_ngcontent-%COMP%] .buttons[_ngcontent-%COMP%] .check-selected[_ngcontent-%COMP%]{background-color:var(--%NS%ars-color-primary-hi, #12c0ae)!important}.tile[_ngcontent-%COMP%] .tile-date[_ngcontent-%COMP%], .tile[_ngcontent-%COMP%] .date[_ngcontent-%COMP%]{padding:8px 0 6px!important;font-weight:700!important;text-transform:uppercase!important}.tile[_ngcontent-%COMP%] .tile-date[_ngcontent-%COMP%] .date-day[_ngcontent-%COMP%], .tile[_ngcontent-%COMP%] .date[_ngcontent-%COMP%] .date-day[_ngcontent-%COMP%]{color:var(--%NS%ars-color-accent, #7894ae)}.tile[_ngcontent-%COMP%] .tile-date[_ngcontent-%COMP%] .date-divider[_ngcontent-%COMP%], .tile[_ngcontent-%COMP%] .date[_ngcontent-%COMP%] .date-divider[_ngcontent-%COMP%]{width:1px;margin:0 8px;border-left:1px solid var(--%NS%ars-color-divider, #757d87)}.tile[_ngcontent-%COMP%] .tile-time[_ngcontent-%COMP%], .tile[_ngcontent-%COMP%] .time[_ngcontent-%COMP%]{font-size:small!important;font-weight:700!important}.tile[_ngcontent-%COMP%] .tile-title[_ngcontent-%COMP%], .tile[_ngcontent-%COMP%] .title[_ngcontent-%COMP%]{text-decoration:none!important;font-size:16px!important;font-weight:600;min-height:50px!important;max-height:70px!important;min-width:100%;white-space:initial!important;overflow:hidden!important}@supports (-webkit-line-clamp: 3){.tile[_ngcontent-%COMP%] .tile-title[_ngcontent-%COMP%], .tile[_ngcontent-%COMP%] .title[_ngcontent-%COMP%]{overflow:hidden;text-overflow:ellipsis;white-space:initial;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical}}.stripe[_ngcontent-%COMP%]:hover{background-color:var(--%NS%ars-item-hover-background-color, #eaecef);border-radius:12px}.stripe[_ngcontent-%COMP%]{cursor:pointer!important;padding:5px 10px!important;margin-bottom:10px!important}.stripe[_ngcontent-%COMP%] .body[_ngcontent-%COMP%]{padding:5px 15px!important}.stripe[_ngcontent-%COMP%] .image-mark[_ngcontent-%COMP%]{min-height:100%!important;border-left:6px solid transparent;margin:8px 0}.stripe[_ngcontent-%COMP%] .image-mark-unread[_ngcontent-%COMP%]{min-height:100%!important;border-left-color:var(--%NS%ars-color-error, #ff5449)!important;margin:8px 0}.stripe[_ngcontent-%COMP%] .stripe-image[_ngcontent-%COMP%], .stripe[_ngcontent-%COMP%] .image[_ngcontent-%COMP%]{width:150px!important;height:70px!important;position:relative;background-color:transparent;overflow:hidden;display:flex;justify-content:center;align-items:center;border-radius:8px}.stripe[_ngcontent-%COMP%] .stripe-image[_ngcontent-%COMP%] img[_ngcontent-%COMP%], .stripe[_ngcontent-%COMP%] .image[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{object-fit:cover;width:100%;height:100%}.stripe[_ngcontent-%COMP%] .stripe-info-1[_ngcontent-%COMP%], .stripe[_ngcontent-%COMP%] .info-1[_ngcontent-%COMP%]{margin-top:8px;padding:4px 8px!important;background-color:var(--%NS%ars-color-overlay, rgba(255, 255, 255, .75))!important;color:var(--%NS%ars-color-text, #191c1b)!important;font-size:small!important;font-weight:700!important;text-transform:uppercase!important}.stripe[_ngcontent-%COMP%] .stripe-info-2[_ngcontent-%COMP%], .stripe[_ngcontent-%COMP%] .info-2[_ngcontent-%COMP%]{margin-top:8px;padding:4px 8px!important;background-color:var(--%NS%ars-color-overlay, rgba(255, 255, 255, .75))!important;color:var(--%NS%ars-color-accent, #7894ae)!important;font-size:small!important;font-weight:700!important;text-transform:uppercase!important}.stripe[_ngcontent-%COMP%] .buttons[_ngcontent-%COMP%]{position:absolute;left:0;top:0;height:42px}.stripe[_ngcontent-%COMP%] .buttons[_ngcontent-%COMP%] .check[_ngcontent-%COMP%], .stripe[_ngcontent-%COMP%] .buttons[_ngcontent-%COMP%] .read[_ngcontent-%COMP%]{background-color:var(--%NS%ars-color-primary, #00a293);color:var(--%NS%ars-color-text-low, #e0e2e5)}.stripe[_ngcontent-%COMP%] .buttons[_ngcontent-%COMP%] .check-selected[_ngcontent-%COMP%]{background-color:var(--%NS%ars-color-primary-hi, #12c0ae)}.stripe[_ngcontent-%COMP%] .stripe-date[_ngcontent-%COMP%], .stripe[_ngcontent-%COMP%] .date[_ngcontent-%COMP%]{padding:0!important;font-weight:700!important;text-transform:uppercase!important}.stripe[_ngcontent-%COMP%] .stripe-date[_ngcontent-%COMP%] .date-day[_ngcontent-%COMP%], .stripe[_ngcontent-%COMP%] .date[_ngcontent-%COMP%] .date-day[_ngcontent-%COMP%]{color:var(--%NS%ars-color-accent, #7894ae)}.stripe[_ngcontent-%COMP%] .stripe-date[_ngcontent-%COMP%] .date-divider[_ngcontent-%COMP%], .stripe[_ngcontent-%COMP%] .date[_ngcontent-%COMP%] .date-divider[_ngcontent-%COMP%]{width:1px;margin:0 8px;border-left:1px solid var(--%NS%ars-color-divider, #757d87)}.stripe[_ngcontent-%COMP%] .stripe-time[_ngcontent-%COMP%], .stripe[_ngcontent-%COMP%] .time[_ngcontent-%COMP%]{font-size:small!important;font-weight:700!important}.stripe[_ngcontent-%COMP%] .stripe-title[_ngcontent-%COMP%], .stripe[_ngcontent-%COMP%] .title[_ngcontent-%COMP%]{text-decoration:none!important;font-size:16px!important;font-weight:600;min-width:100%;white-space:initial!important;overflow:hidden!important}@supports (-webkit-line-clamp: 3){.stripe[_ngcontent-%COMP%] .stripe-title[_ngcontent-%COMP%], .stripe[_ngcontent-%COMP%] .title[_ngcontent-%COMP%]{overflow:hidden;text-overflow:ellipsis;white-space:initial;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical}}.badge[_ngcontent-%COMP%], .badge-red[_ngcontent-%COMP%]{margin-left:10px;padding:1px 4px;border-radius:3px;font-size:x-small;font-weight:600;text-align:center;background-color:#427505;text-transform:uppercase;white-space:nowrap;color:#e0e2e5}.badge-red[_ngcontent-%COMP%]{background-color:#a80710}.busy-backdrop[_ngcontent-%COMP%]{background-color:#0000006b!important}.legend-container[_ngcontent-%COMP%]{display:flex;flex-direction:row;align-items:center;font-size:x-small;text-transform:uppercase;font-weight:500;margin-left:10px}.legend-container[_ngcontent-%COMP%] .legend[_ngcontent-%COMP%]{display:inline-block;height:8px;width:8px;margin-right:4px}.legend-container[_ngcontent-%COMP%] .legend[_ngcontent-%COMP%]:not(:first-of-type){margin-left:10px}@media screen and (max-width:431px){.legend-container[_ngcontent-%COMP%]{font-size:9px!important}}.special-date[_ngcontent-%COMP%], .special-date-expired[_ngcontent-%COMP%], .special-date-expiring[_ngcontent-%COMP%]{border:2px var(--%NS%ars-color-accent, #7894ae) solid!important;border-radius:100%!important}.special-date-expired[_ngcontent-%COMP%]{border:2px var(--%NS%ars-color-error, #ff5449) solid!important}.special-date-expiring[_ngcontent-%COMP%]{border:2px var(--%NS%ars-color-warning, #FFC107) solid!important}.word-hit-chunk[_ngcontent-%COMP%], .word-hit[_ngcontent-%COMP%]{display:inline-block;font-size:inherit;background-color:var(--%NS%ars-word-hit-background-color, #FFEB3B);color:var(--%NS%ars-word-hit-color, #191c1b);padding:0 4px;margin:0 4px;border-radius:4px}.word-hit-chunk[_ngcontent-%COMP%]{background-color:var(--%NS%ars-word-chunk-hit-background-color, #8AFF59);color:var(--%NS%ars-word-hit-chunk-color, #191c1b)} .mat-mdc-menu-panel{min-width:320px!important;max-width:320px!important}.title-container[_ngcontent-%COMP%]{padding-left:20px;padding-top:14px}.title-container[_ngcontent-%COMP%] .title[_ngcontent-%COMP%]{font-size:large}@supports (-webkit-line-clamp: 2){.title-container[_ngcontent-%COMP%] .title[_ngcontent-%COMP%]{overflow:hidden;text-overflow:ellipsis;white-space:initial;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}}.dialog-close[_ngcontent-%COMP%]{margin-right:10px;margin-top:4px}.iframe[_ngcontent-%COMP%]{width:100%;height:100%;border:0}.relevants-container[_ngcontent-%COMP%]{padding:0 20px 10px}.relevants-items[_ngcontent-%COMP%]{padding:0;margin:0}.relevants-items[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{list-style-type:none;padding:0;margin:0}.relevants-items[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{font-size:small;padding:6px 12px;display:block;color:var(--%NS%ars-color-text, #191c1b)}.relevants-items[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:inherit;text-decoration:none;display:block}.relevants-items[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:hover{background-color:var(--%NS%ars-item-hover-background-color, #eaecef);border-radius:6px;cursor:pointer}.mat-mdc-dialog-content[_ngcontent-%COMP%]{max-height:unset!important;padding:0 0 16px!important}"]
1520
- });
1521
- }
1522
- };
1523
- (() => {
1524
- (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ClipperDocumentComponent, [{
1525
- type: Component,
1526
- args: [{
1527
- host: { "Bind": SystemUtils.generateUUID() },
1528
- changeDetection: ChangeDetectionStrategy.OnPush,
1529
- standalone: true,
1530
- imports: [
1531
- FlexLayoutModule,
1532
- MatButtonModule,
1533
- MatTooltipModule,
1534
- MatIconModule,
1535
- MatMenuModule,
1536
- MatDividerModule,
1537
- MatProgressBarModule,
1538
- MatDialogContent,
1539
- MatSidenavModule,
1540
- ClipperDocumentMenuComponent
1541
- ],
1542
- template: "<div class=\"clipper-document-fixed\">\r\n <div style=\"height:6px\">\r\n @if (busy()) {\r\n <mat-progress-bar style=\"z-index:11\" mode=\"indeterminate\"></mat-progress-bar>\r\n }\r\n </div>\r\n <div>\r\n <div fxLayout=\"row\" fxLayoutGap=\"20px\" fxLayoutAlign=\"start start\" fxFill>\r\n <div fxFlex=\"*\" class=\"title-container\">\r\n <div class=\"title bold\">{{title()}}</div>\r\n @if (lastDocument()?.tags) {\r\n <div style=\"padding-top: 5px;\">\r\n <div class=\"x-small bold uppercase\">\r\n TAG: <span class=\"accent\">{{lastDocument()?.tags}}</span>\r\n </div>\r\n </div>\r\n }\r\n @if (lastDocument()?.lastUpdate) {\r\n <div style=\"padding-top: 5px;\">\r\n <div class=\"x-small bold uppercase\">\r\n AGGIORNATO A:\r\n <span class=\"accent\">{{lastDocument()?.lastUpdate}}</span>\r\n </div>\r\n </div>\r\n }\r\n @if (lastDocument()?.expiringDescription || lastDocument()?.validityInfo) {\r\n <div style=\"padding-top: 5px;\">\r\n @if (lastDocument()?.expiringDescription) {\r\n <div class=\"x-small error bold uppercase\">\r\n {{lastDocument()?.expiringDescription}}</div>\r\n }\r\n @if (lastDocument()?.validityInfo) {\r\n <div class=\"x-small error bold uppercase\"><b>Attenzione!</b>\r\n {{lastDocument()?.validityInfo}}</div>\r\n }\r\n </div>\r\n }\r\n </div>\r\n @if (canSelect()) {\r\n <div fxFlex=\"170px\" fxFlex.lt-md=\"58px\">\r\n <button fxHide.lt-md fxFlexAlign=\"center\" type=\"button\" mat-flat-button (click)=\"select()\"\r\n class=\"clipper-selection-button\" style=\"margin-top: 8px;\">\r\n <span class=\"small\">Usa selezione</span>\r\n </button>\r\n <button fxHide.gt-sm fxFlexAlign=\"center\" type=\"button\" mat-icon-button (click)=\"select()\"\r\n class=\"clipper-selection-icon-button\" matTooltip=\"Usa selezione\" aria-label=\"'Usa la selezione'\"\r\n style=\"margin-top: 4px;\">\r\n <mat-icon>check</mat-icon>\r\n </button>\r\n </div>\r\n }\r\n <div fxFlex=\"170px\" fxFlex.lt-md=\"48px\" fxLayoutAlign=\"end\">\r\n <div class=\"dialog-close\">\r\n <button fxHide.lt-md fxFlexAlign=\"start\" type=\"button\" mat-icon-button matTooltip=\"Indietro\"\r\n aria-label=\"Indietro\" (click)=\"back()\">\r\n <mat-icon>arrow_back</mat-icon>\r\n </button>\r\n <button fxHide.lt-md fxFlexAlign=\"start\" type=\"button\" mat-icon-button matTooltip=\"Avanti\" aria-label=\"Avanti\"\r\n (click)=\"forward()\">\r\n <mat-icon>arrow_forward</mat-icon>\r\n </button>\r\n <button fxFlexAlign=\"start\" type=\"button\" mat-icon-button matTooltip=\"Chiudi\" aria-label=\"Chiudi\"\r\n (click)=\"close()\">\r\n <mat-icon>close</mat-icon>\r\n </button>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n <div>\r\n <div fxLayout=\"row wrap \" fxFill fxLayoutAlign=\"space-between center\" style=\"padding: 10px 10px 10px 15px;\">\r\n <div fxFlex.xs=\"100\">\r\n @if (lastDocument()?.model === 9) {\r\n <button fxFlexAlign=\"center\" type=\"button\" mat-button [attr.aria-label]=\"'Mostra indice'\"\r\n (click)=\"index(lastDocument()?.documentId)\">\r\n Indice\r\n </button>\r\n }\r\n @if (lastDocument()?.bag && (lastDocument()?.bag[1] ==='T' || lastDocument()?.bag[3] ==='T')) {\r\n <button fxFlexAlign=\"center\" type=\"button\" mat-button matTooltip=\"Collegamenti\"\r\n [attr.aria-label]=\"'Collegamenti al documento'\" [matMenuTriggerFor]=\"menuLinks\">\r\n Collegamenti\r\n </button>\r\n }\r\n <mat-menu #menuLinks=\"matMenu\">\r\n @if (lastDocument()?.bag && lastDocument()?.bag[1] ==='T') {\r\n <button mat-menu-item [attr.aria-label]=\"'Mostra documenti richiamati'\"\r\n (click)=\"openReferences(lastDocument()?.documentId, 1)\">\r\n Documenti richiamati\r\n </button>\r\n }\r\n @if (lastDocument()?.bag && lastDocument()?.bag[3] ==='T') {\r\n <button mat-menu-item [attr.aria-label]=\"'Mostra documenti che richiamano'\"\r\n (click)=\"openReferences(lastDocument()?.documentId, 2)\">\r\n Documenti che richiamano\r\n </button>\r\n }\r\n @if (lastDocument()?.bag && lastDocument()?.bag[2] ==='T') {\r\n <button fxHide fxShow.lt-md mat-menu-item [attr.aria-label]=\"'Mostra juris'\"\r\n (click)=\"openReferences(lastDocument()?.documentId, 4)\">\r\n Juris\r\n </button>\r\n }\r\n @if (lastDocument()?.bag && lastDocument()?.bag[4] ==='T') {\r\n <button fxHide fxShow.lt-md mat-menu-item [attr.aria-label]=\"'Mostra modifiche subite'\"\r\n (click)=\"openReferences(lastDocument()?.documentId, 3)\">\r\n Modifiche subite\r\n </button>\r\n }\r\n @if (lastDocument()?.bag && lastDocument()?.bag[4] !=='T' && lastDocument()?.bag[6] ==='T') {\r\n <button fxHide fxShow.lt-md mat-menu-item [attr.aria-label]=\"'Mostra modifiche apportate'\"\r\n (click)=\"openReferences(lastDocument()?.documentId, 5)\">\r\n Modifiche apportate\r\n </button>\r\n }\r\n </mat-menu>\r\n @if (lastDocument()?.hasPrimary) {\r\n <button fxFlexAlign=\"center\" type=\"button\" mat-button [attr.aria-label]=\"'Mostra documento primario'\"\r\n (click)=\"navigate(lastDocument()?.primaryId)\">\r\n {{lastDocument()?.primaryDescription}}\r\n </button>\r\n }\r\n @if (lastDocument()?.bag && lastDocument()?.bag[2] ==='T') {\r\n <button fxFlexAlign=\"center\" type=\"button\" fxHide.lt-md mat-button [attr.aria-label]=\"'Mostra juris'\"\r\n (click)=\"openReferences(lastDocument()?.documentId, 4)\">\r\n Juris\r\n </button>\r\n }\r\n @if (lastDocument()?.bag && lastDocument()?.bag[4] === 'T') {\r\n <button fxFlexAlign=\"center\" type=\"button\" fxHide.lt-md mat-button [attr.aria-label]=\"'Mostra modifiche subite'\"\r\n (click)=\"openReferences(lastDocument()?.documentId, 3)\">\r\n Modifiche subite\r\n </button>\r\n }\r\n @if (lastDocument()?.bag && lastDocument()?.bag[4] !== 'T' && lastDocument()?.bag[6] === 'T') {\r\n <button fxFlexAlign=\"center\" type=\"button\" fxHide.lt-md mat-button\r\n [attr.aria-label]=\"'Mostra modifiche apportate'\" (click)=\"openReferences(lastDocument()?.documentId, 5)\">\r\n Modifiche apportate\r\n </button>\r\n }\r\n @if (lastDocument()?.secondaryId) {\r\n <button fxFlexAlign=\"center\" type=\"button\" mat-button [attr.aria-label]=\"'Mostra documento secondario'\"\r\n (click)=\"navigate(lastDocument()?.secondaryId)\">\r\n Testo storico\r\n </button>\r\n }\r\n @if (lastDocument()?.bag && lastDocument()?.bag[7] === 'T') {\r\n <button fxFlexAlign=\"center\" type=\"button\" mat-button [attr.aria-label]=\"'Mostra commento'\"\r\n (click)=\"showComment()\">\r\n Commento\r\n </button>\r\n }\r\n </div>\r\n <div fxFlex.xs=\"100\" fxLayoutAlign=\"end\">\r\n <div fxFlexAlign=\"center\">\r\n @if (relevants().hits) {\r\n <div fxLayout=\"row\" fxLayoutGap=\"10px\">\r\n <div fxFlexAlign=\"center\" class=\"small item-greyed\" style=\"margin-left:20px; margin-right: 5px\"\r\n matTooltip=\"Parole evidenziate\">{{relevants().hit}}\r\n di {{relevants().hits}}</div>\r\n <button fxFlexAlign=\"center\" type=\"button\" mat-icon-button [attr.aria-label]=\"'Vai alla parola precedente'\"\r\n (click)=\"previousRelevant()\" matTooltip=\"Parola precedente\">\r\n <mat-icon>chevron_left</mat-icon>\r\n </button>\r\n <button fxFlexAlign=\"center\" type=\"button\" mat-icon-button [attr.aria-label]=\"'Vai alla prossima parola'\"\r\n (click)=\"nextRelevant()\" matTooltip=\"Prossima parola\">\r\n <mat-icon>chevron_right</mat-icon>\r\n </button>\r\n </div>\r\n }\r\n </div>\r\n <button fxFlexAlign=\"center\" type=\"button\" mat-icon-button matTooltip=\"Azioni sul documento\"\r\n [attr.aria-label]=\"'Azioni da eseguire sul documento'\" [matMenuTriggerFor]=\"menuActions\">\r\n <mat-icon>more_vert</mat-icon>\r\n </button>\r\n <mat-menu #menuActions=\"matMenu\">\r\n <ng-template matMenuContent let-item=\"lastDocument\">\r\n <clipper-document-menu [parent]=\"this\" [item]=\"lastDocument()\" [canOpenDocument]=\"false\" [canPrint]=\"true\"\r\n [canFind]=\"true\" [isReadable]=\"false\" [isLawInForce]=\"lastDocument()?.model === 9\"\r\n selectionSource=\"none\" [canUseAIAssistant]=\"user?.hasAIAssistant ?? false\">\r\n </clipper-document-menu>\r\n </ng-template>\r\n </mat-menu>\r\n @if (hasRelevants() && relevants().items && relevantsPane && (!relevantsPane.opened || relevantsPaneClosed())) {\r\n <div fxFlexAlign=\"center\">\r\n <button type=\"button\" mat-icon-button matTooltip=\"Rilevanza\" aria-label=\"'Rilevanza'\"\r\n (click)=\"toggleRelevantsPane()\">\r\n <mat-icon>right_panel_open</mat-icon>\r\n </button>\r\n </div>\r\n }\r\n </div>\r\n </div>\r\n </div>\r\n</div>\r\n<mat-dialog-content id=\"clipper-document-scrollable\">\r\n <mat-drawer-container class=\"fill\" [hasBackdrop]=\"relevantsPaneHasBackdrop()\">\r\n <mat-drawer #relevantsPane position=\"end\" class=\"drawer-small drawer-with-loader\" opened=\"false\">\r\n @if (relevantsBusy()) {\r\n <div class=\"overlay\"></div>\r\n }\r\n <div fxLayout=\"column\" fxFill>\r\n <div fxFlex=\"6px\">\r\n @if (relevantsBusy()) {\r\n <mat-progress-bar style=\"z-index: 11;\" mode=\"indeterminate\">\r\n </mat-progress-bar>\r\n }\r\n </div>\r\n <div fxFlex=\"78px\" class=\"title-container-with-loader\">\r\n <div fxLayout=\"row\" fxLayoutAlign=\"start center\" fxFill>\r\n <div class=\"title\">Rilevanza</div>\r\n <div fxFlex=\"*\" fxLayoutAlign=\"end\">\r\n <button mat-icon-button (click)=\"toggleRelevantsPane()\"\r\n matTooltip=\"Nascondi\"><mat-icon>right_panel_close</mat-icon></button>\r\n </div>\r\n </div>\r\n </div>\r\n <div fxFlex=\"*\" class=\"relevants-container scroll-auto\">\r\n <div fxLayout=\"column\" fxFill>\r\n <div>\r\n <p>Parti del documento più significative per la ricerca di <span\r\n class='word-hit-chunk'>{{lastQuery}}</span>\r\n </p>\r\n </div>\r\n <div fxFlex=\"*\">\r\n <nav class=\"relevants-items\">\r\n <ul>\r\n @for (item of relevants().items; track $index) {\r\n <li class=\"small\" (click)=\"gotoRelevant(item)\" [attr.aria-label]=\"item.title\"\r\n [class.bright]=\"item.score > 0.75\" [class.accent]=\"item.score > 0.75\">\r\n <div fxLayout=\"row\" fxLayoutAlign=\"start start\" fxLayoutGap=\"10px\" fxFill>\r\n <div fxFlex=\"*\">\r\n {{item.title}}\r\n </div>\r\n <div fxLayoutAlign=\"end\">\r\n @if (item.score > 0.7) {\r\n <mat-icon style='font-size:x-small; height: 10px; width:10px'\r\n [matTooltip]=\"item.score > 0.75 ? 'Molto rilevante' : 'Più rilevante'\">thumb_up_alt</mat-icon>\r\n }\r\n </div>\r\n </div>\r\n </li>\r\n }\r\n </ul>\r\n </nav>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n </mat-drawer>\r\n <div class=\"fill scroll-hidden\">\r\n <iframe #docIframe id=\"clipper-document-iframe\" class=\"iframe\"></iframe>\r\n </div>\r\n </mat-drawer-container>\r\n</mat-dialog-content>",
1543
- styles: [".fill,.wide{min-width:100%!important;max-width:100%!important;width:100%!important}.dialog-info{font-size:x-small;font-weight:700;text-align:right;padding:10px}.dialog-info-green,.dialog-info-ok{color:var(--ars-color-ok, #388E3C)}.dialog-info-red,.dialog-info-error{color:var(--mat-form-field-error-text-color, #a80710)}.dialog-header{padding-bottom:20px}.dialog-toolbar{padding:0 5px 0 24px;height:48px;min-height:48px}.dialog-close{margin-right:5px;margin-top:0}.dialog-menu{margin-left:10px;margin-top:10px}.dialog-title{padding:0 24px}.section-title{font-size:large;font-weight:600;padding-top:10px;padding-bottom:8px}.center{text-align:center}.fill{min-height:100%!important;max-height:100%!important;height:100%!important}.scroll-auto{overflow:auto;height:100%}.scroll-hidden{overflow:hidden;height:100%}b{font-weight:700}.large{font-size:large!important;line-height:1.2!important}.smaller{font-size:smaller!important;line-height:1.2!important}.small{font-size:small!important;line-height:1.2!important}.small-icon-button{width:1.5rem!important;height:1.5rem!important;padding:0!important;display:inline-flex!important;align-items:center;justify-content:center}.small-icon-button .mat-mdc-button-touch-target{width:1.5rem!important;height:1.5rem!important}.x-small{font-size:x-small!important;line-height:1.2!important}.bold{font-weight:700}.uppercase{text-transform:uppercase!important}.lowercase{text-transform:lowercase!important}.truncated{min-width:0;max-width:100%}@supports (-webkit-line-clamp: 2){.truncated{overflow:hidden;text-overflow:ellipsis;white-space:initial;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}}.truncated span,.truncated div{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}@supports (-webkit-line-clamp: 2){.truncated span,.truncated div{overflow:hidden;text-overflow:ellipsis;white-space:initial;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}}.clipped{min-width:0;max-width:100%}.clipped span,.clipped div{white-space:nowrap;overflow:hidden;text-overflow:clip}.accent{color:var(--ars-color-accent, #7894ae)!important}.primary{color:var(--ars-color-primary, #00a293)!important}.secondary{color:var(--ars-color-secondary, #4a635f)!important}.error{color:var(--ars-color-error, #ff5449)!important}.success{color:var(--ars-color-ok, #388E3C)!important}.warning{color:var(--ars-color-warning, #FFC107)!important}.text{color:var(--ars-color-text, #191c1b)!important}.overlay{position:absolute;top:0;left:0;width:100%;height:100%;z-index:10;background-color:var(--ars-color-overlay, rgba(255, 255, 255, .75))}.drawer-content{padding-top:10px}.drawer .title-container,.drawer .title-container-with-loader,.drawer-small .title-container,.drawer-small .title-container-with-loader{padding-right:5px;padding-bottom:20px;padding-left:0}.drawer .title-container,.drawer-small .title-container{padding-top:20px}.drawer .title-container-with-loader,.drawer-small .title-container-with-loader{padding-top:14px}.drawer .title,.drawer-small .title{font-size:19.2px!important;font-weight:600;padding-left:15px;min-width:150px;width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.drawer .accordion-panel,.drawer-small .accordion-panel{background-color:transparent!important}.drawer .accordion-header,.drawer-small .accordion-header{padding-left:10px;padding-right:10px;border-radius:var(--mat-expansion-container-shape)}.drawer .mat-expansion-panel-body,.drawer-small .mat-expansion-panel-body{padding-left:10px!important;padding-right:10px!important;padding-bottom:20px!important}@media screen and (min-width:0px)and (max-width:430px){.drawer,.drawer-small{border-radius:0!important;min-width:100%!important;max-width:100%!important}}@media screen and (min-width:431px){.drawer{min-width:420px!important;max-width:420px!important}.drawer .title{min-width:200px}.drawer .mat-expansion-panel-body{padding-left:15px!important;padding-right:15px!important;padding-bottom:20px!important}.drawer-small{min-width:360px!important;max-width:360px!important}}.drawer-with-loader{padding-top:0!important}.drawer-transparent{background-color:transparent}.fade-in{animation:fadein .5s linear}@keyframes fadein{0%{opacity:0}to{opacity:1}}.bright{filter:brightness(.7)!important}@media(prefers-color-scheme:dark){.dialog-info-green,.dialog-info-ok{color:var(--ars-color-ok, #4CAF50)}.dialog-info-red,.dialog-info-error{color:var(--mat-form-field-error-text-color, #ff5449)}b,.bold{font-weight:600}.bright{filter:brightness(1.5)!important}}.clipper-logo{background-size:110px 48px;width:110px;height:48px}.clipper-selection-button{width:150px;font-size:small;font-weight:600}.clipper-selection-icon-button{background-color:var(--ars-color-primary, #00a293);color:var(--ars-color-text-low, #e0e2e5)}.clipper-selection-icon-button:hover{background-color:var(--ars-color-primary-hi, #12c0ae)}.unread{color:var(--app-color-unread, #f7931c)!important}.unread-bg{background-color:var(--app-color-unread, #f7931c)!important}.expired{color:var(--app-color-expired, #ff5449)!important}.expired-bg{background-color:var(--app-color-expired, #ff5449)!important}.expiring{color:var(--app-color-expiring, #FFC107)!important}.expiring-bg{background-color:var(--app-color-expiring, #FFC107)!important}.closed{color:var(--app-color-closed, #388E3C)!important}.closed-bg{background-color:var(--app-color-closed, #388E3C)!important}.error-bg{background-color:var(--ars-color-error, #ff5449)!important}.popular-bg{background-color:var(--app-color-closed, #388E3C)!important}.very-popular-bg{background-color:#4caf50}.item-selected{background-color:var(--ars-item-selected-background-color, #ced1d2);border-radius:0!important}.item-unread{font-weight:bolder}.items-group-title{color:var(--ars-color-secondary, #4a635f);font-size:large;font-weight:700;padding-left:25px;padding-bottom:10px;padding-top:10px}.items-group-title .group-spaced{padding:10px 0 0!important}.items-footer{padding:10px}.item{border-radius:12px;padding:10px 10px 10px 0;min-height:68px!important;margin-bottom:2px}.item:hover{background-color:var(--ars-item-hover-background-color, #eaecef)}.item:hover .item-content{-webkit-mask-image:linear-gradient(to right,black 85%,transparent 100%);mask-image:linear-gradient(to right,black 85%,transparent 100%)}@media screen and (min-width:0px)and (max-width:430px){.item:hover{background-color:var(--ars-item-hover-background-color)}.item:hover .item-content{-webkit-mask-image:linear-gradient(to right,black 55%,transparent 100%);mask-image:linear-gradient(to right,black 55%,transparent 100%)}}.item-content .item-info-1,.item-content .info-1{font-size:x-small!important;font-weight:700!important;line-height:18px;text-transform:uppercase!important;color:var(--ars-color-accent, #7894ae)}.item-content .item-info-2,.item-content .info-2{font-size:x-small!important;font-weight:700!important;line-height:18px;text-transform:uppercase!important;color:var(--ars-color-accent-low, #456179)}.item-content .item-info-3,.item-content .info-3{font-size:x-small!important;font-weight:700!important;line-height:18px;text-transform:uppercase!important;color:var(--ars-color-error, #ff5449)}.item-content .item-title,.item-content .title{font-size:small!important;line-height:18px;text-decoration:none!important;font-weight:400;min-height:unset;min-width:unset;white-space:initial!important}@supports (-webkit-line-clamp: 3){.item-content .item-title,.item-content .title{overflow:hidden;text-overflow:ellipsis;white-space:initial;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical}}.item-content .details{margin-top:4px;font-size:x-small!important;font-weight:700;line-height:15px;color:var(--ars-color-accent-low, #456179);text-transform:uppercase!important;border-left:4px solid var(--ars-color-accent-low, #456179);padding-left:10px}.item-content .details .links{text-transform:none;text-decoration:none}.item-content .details .links a,.item-content .details .links span,.item-content .details .links div{margin-right:8px;font-weight:500!important;font-size:11px!important;color:var(--ars-color-text, #191c1b)}.item-content .details .links a{cursor:pointer!important;color:var(--ars-color-link, #03A9F4);font-size:11px!important;font-weight:500!important}.item-content a.link{color:var(--ars-color-link, #03A9F4);cursor:pointer!important;text-decoration:none!important}.tile:hover{background-color:var(--ars-item-hover-background-color, #eaecef);border-radius:12px}.tile{cursor:pointer!important;padding:10px 13px!important;margin-bottom:20px!important}.tile .body{padding:4px 6px}.tile .image-mark{border-top:6px solid transparent;margin:0 8px}.tile .image-mark-unread{border-top-color:var(--app-color-unread, #f7931c);margin:0 8px}.tile .tile-image,.tile .image{height:125px;position:relative;background-color:transparent;overflow:hidden;display:flex;justify-content:center;align-items:center;border-radius:8px}.tile .tile-image img,.tile .image img{object-fit:cover;width:100%;height:100%}.tile .tile-image .tile-info-1,.tile .tile-image .info-1,.tile .image .tile-info-1,.tile .image .info-1{position:absolute;left:0;bottom:0;padding:4px 8px;background-color:var(--ars-color-overlay, rgba(255, 255, 255, .75));color:var(--ars-color-text, #191c1b);font-size:small!important;font-weight:700!important;text-transform:uppercase!important}.tile .tile-image .tile-info-2,.tile .tile-image .info-2,.tile .image .tile-info-2,.tile .image .info-2{position:absolute;right:0;top:0;padding:4px 8px;background-color:var(--ars-color-overlay, rgba(255, 255, 255, .75));color:var(--ars-color-accent, #7894ae);font-size:small!important;font-weight:700!important;text-transform:uppercase!important}.tile .tile-image .buttons,.tile .image .buttons{position:absolute;left:0;top:0;height:42px}.tile .tile-image .buttons .check,.tile .tile-image .buttons .read-button,.tile .image .buttons .check,.tile .image .buttons .read-button{background-color:var(--ars-color-primary, #00a293)!important;color:var(--ars-color-text-low, #e0e2e5)!important}.tile .tile-image .buttons .unread-button,.tile .image .buttons .unread-button{background-color:var(--app-color-unread, #f7931c)!important;color:var(--ars-color-text-low, #e0e2e5)!important}.tile .tile-image .buttons .check-selected,.tile .image .buttons .check-selected{background-color:var(--ars-color-primary-hi, #12c0ae)!important}.tile .tile-date,.tile .date{padding:8px 0 6px!important;font-weight:700!important;text-transform:uppercase!important}.tile .tile-date .date-day,.tile .date .date-day{color:var(--ars-color-accent, #7894ae)}.tile .tile-date .date-divider,.tile .date .date-divider{width:1px;margin:0 8px;border-left:1px solid var(--ars-color-divider, #757d87)}.tile .tile-time,.tile .time{font-size:small!important;font-weight:700!important}.tile .tile-title,.tile .title{text-decoration:none!important;font-size:16px!important;font-weight:600;min-height:50px!important;max-height:70px!important;min-width:100%;white-space:initial!important;overflow:hidden!important}@supports (-webkit-line-clamp: 3){.tile .tile-title,.tile .title{overflow:hidden;text-overflow:ellipsis;white-space:initial;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical}}.stripe:hover{background-color:var(--ars-item-hover-background-color, #eaecef);border-radius:12px}.stripe{cursor:pointer!important;padding:5px 10px!important;margin-bottom:10px!important}.stripe .body{padding:5px 15px!important}.stripe .image-mark{min-height:100%!important;border-left:6px solid transparent;margin:8px 0}.stripe .image-mark-unread{min-height:100%!important;border-left-color:var(--ars-color-error, #ff5449)!important;margin:8px 0}.stripe .stripe-image,.stripe .image{width:150px!important;height:70px!important;position:relative;background-color:transparent;overflow:hidden;display:flex;justify-content:center;align-items:center;border-radius:8px}.stripe .stripe-image img,.stripe .image img{object-fit:cover;width:100%;height:100%}.stripe .stripe-info-1,.stripe .info-1{margin-top:8px;padding:4px 8px!important;background-color:var(--ars-color-overlay, rgba(255, 255, 255, .75))!important;color:var(--ars-color-text, #191c1b)!important;font-size:small!important;font-weight:700!important;text-transform:uppercase!important}.stripe .stripe-info-2,.stripe .info-2{margin-top:8px;padding:4px 8px!important;background-color:var(--ars-color-overlay, rgba(255, 255, 255, .75))!important;color:var(--ars-color-accent, #7894ae)!important;font-size:small!important;font-weight:700!important;text-transform:uppercase!important}.stripe .buttons{position:absolute;left:0;top:0;height:42px}.stripe .buttons .check,.stripe .buttons .read{background-color:var(--ars-color-primary, #00a293);color:var(--ars-color-text-low, #e0e2e5)}.stripe .buttons .check-selected{background-color:var(--ars-color-primary-hi, #12c0ae)}.stripe .stripe-date,.stripe .date{padding:0!important;font-weight:700!important;text-transform:uppercase!important}.stripe .stripe-date .date-day,.stripe .date .date-day{color:var(--ars-color-accent, #7894ae)}.stripe .stripe-date .date-divider,.stripe .date .date-divider{width:1px;margin:0 8px;border-left:1px solid var(--ars-color-divider, #757d87)}.stripe .stripe-time,.stripe .time{font-size:small!important;font-weight:700!important}.stripe .stripe-title,.stripe .title{text-decoration:none!important;font-size:16px!important;font-weight:600;min-width:100%;white-space:initial!important;overflow:hidden!important}@supports (-webkit-line-clamp: 3){.stripe .stripe-title,.stripe .title{overflow:hidden;text-overflow:ellipsis;white-space:initial;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical}}.badge,.badge-red{margin-left:10px;padding:1px 4px;border-radius:3px;font-size:x-small;font-weight:600;text-align:center;background-color:#427505;text-transform:uppercase;white-space:nowrap;color:#e0e2e5}.badge-red{background-color:#a80710}.busy-backdrop{background-color:#0000006b!important}.legend-container{display:flex;flex-direction:row;align-items:center;font-size:x-small;text-transform:uppercase;font-weight:500;margin-left:10px}.legend-container .legend{display:inline-block;height:8px;width:8px;margin-right:4px}.legend-container .legend:not(:first-of-type){margin-left:10px}@media screen and (max-width:431px){.legend-container{font-size:9px!important}}.special-date,.special-date-expired,.special-date-expiring{border:2px var(--ars-color-accent, #7894ae) solid!important;border-radius:100%!important}.special-date-expired{border:2px var(--ars-color-error, #ff5449) solid!important}.special-date-expiring{border:2px var(--ars-color-warning, #FFC107) solid!important}.word-hit-chunk,.word-hit{display:inline-block;font-size:inherit;background-color:var(--ars-word-hit-background-color, #FFEB3B);color:var(--ars-word-hit-color, #191c1b);padding:0 4px;margin:0 4px;border-radius:4px}.word-hit-chunk{background-color:var(--ars-word-chunk-hit-background-color, #8AFF59);color:var(--ars-word-hit-chunk-color, #191c1b)}::ng-deep .mat-mdc-menu-panel{min-width:320px!important;max-width:320px!important}.title-container{padding-left:20px;padding-top:14px}.title-container .title{font-size:large}@supports (-webkit-line-clamp: 2){.title-container .title{overflow:hidden;text-overflow:ellipsis;white-space:initial;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}}.dialog-close{margin-right:10px;margin-top:4px}.iframe{width:100%;height:100%;border:0}.relevants-container{padding:0 20px 10px}.relevants-items{padding:0;margin:0}.relevants-items ul{list-style-type:none;padding:0;margin:0}.relevants-items ul li{font-size:small;padding:6px 12px;display:block;color:var(--ars-color-text, #191c1b)}.relevants-items ul li a{color:inherit;text-decoration:none;display:block}.relevants-items ul li:hover{background-color:var(--ars-item-hover-background-color, #eaecef);border-radius:6px;cursor:pointer}.mat-mdc-dialog-content{max-height:unset!important;padding:0 0 16px!important}\n"]
1544
- }]
1545
- }], () => [], {
1546
- relevantsPane: [{
1547
- type: i0.ViewChild,
1548
- args: ["relevantsPane", { isSignal: true }]
1549
- }],
1550
- iframeRef: [{
1551
- type: i0.ViewChild,
1552
- args: ["docIframe", { isSignal: true }]
1553
- }],
1554
- closing: [{
1555
- type: i0.Output,
1556
- args: ["closing"]
1557
- }],
1558
- opening: [{
1559
- type: i0.Output,
1560
- args: ["opening"]
1561
- }]
1562
- });
1563
- })();
1564
- (() => {
1565
- (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ClipperDocumentComponent, {
1566
- className: "ClipperDocumentComponent",
1567
- filePath: "document/document.component.ts",
1568
- lineNumber: 68
1569
- });
1570
- })();
1571
- export { ClipperDocumentComponent };
1572
-
1573
- //# sourceMappingURL=arsedizioni-ars-utils-clipper.ui-document.component-B9qqPb0A.mjs.map