@arsedizioni/ars-utils 22.6.86 → 22.6.89
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.
- package/fesm2022/arsedizioni-ars-utils-clipper.common.mjs +3158 -3344
- package/fesm2022/arsedizioni-ars-utils-clipper.common.mjs.map +1 -1
- package/fesm2022/arsedizioni-ars-utils-clipper.ui.mjs +7616 -4772
- package/fesm2022/arsedizioni-ars-utils-clipper.ui.mjs.map +1 -1
- package/fesm2022/arsedizioni-ars-utils-core.date.mjs +321 -702
- package/fesm2022/arsedizioni-ars-utils-core.date.mjs.map +1 -1
- package/fesm2022/arsedizioni-ars-utils-core.markdown.mjs +445 -590
- package/fesm2022/arsedizioni-ars-utils-core.markdown.mjs.map +1 -1
- package/fesm2022/arsedizioni-ars-utils-core.mjs +1735 -2370
- package/fesm2022/arsedizioni-ars-utils-core.mjs.map +1 -1
- package/fesm2022/arsedizioni-ars-utils-core.validators.mjs +1280 -1470
- package/fesm2022/arsedizioni-ars-utils-core.validators.mjs.map +1 -1
- package/fesm2022/arsedizioni-ars-utils-evolution.common.mjs +1097 -1528
- package/fesm2022/arsedizioni-ars-utils-evolution.common.mjs.map +1 -1
- package/fesm2022/arsedizioni-ars-utils-support.common.mjs +198 -294
- package/fesm2022/arsedizioni-ars-utils-support.common.mjs.map +1 -1
- package/fesm2022/arsedizioni-ars-utils-ui.controls.date.mjs +115 -117
- package/fesm2022/arsedizioni-ars-utils-ui.controls.date.mjs.map +1 -1
- package/fesm2022/arsedizioni-ars-utils-ui.controls.mjs +1607 -613
- package/fesm2022/arsedizioni-ars-utils-ui.controls.mjs.map +1 -1
- package/fesm2022/arsedizioni-ars-utils-ui.controls.tree.mjs +840 -367
- package/fesm2022/arsedizioni-ars-utils-ui.controls.tree.mjs.map +1 -1
- package/fesm2022/arsedizioni-ars-utils-ui.dialogs.auth.mjs +1634 -651
- package/fesm2022/arsedizioni-ars-utils-ui.dialogs.auth.mjs.map +1 -1
- package/fesm2022/arsedizioni-ars-utils-ui.dialogs.mjs +1255 -792
- package/fesm2022/arsedizioni-ars-utils-ui.dialogs.mjs.map +1 -1
- package/fesm2022/arsedizioni-ars-utils-ui.dialogs.prompt.mjs +1410 -357
- package/fesm2022/arsedizioni-ars-utils-ui.dialogs.prompt.mjs.map +1 -1
- package/fesm2022/arsedizioni-ars-utils-ui.dialogs.select.mjs +2401 -944
- package/fesm2022/arsedizioni-ars-utils-ui.dialogs.select.mjs.map +1 -1
- package/fesm2022/arsedizioni-ars-utils-ui.files.mjs +1553 -741
- package/fesm2022/arsedizioni-ars-utils-ui.files.mjs.map +1 -1
- package/fesm2022/arsedizioni-ars-utils-ui.filters.mjs +901 -430
- package/fesm2022/arsedizioni-ars-utils-ui.filters.mjs.map +1 -1
- package/fesm2022/arsedizioni-ars-utils-ui.help.mjs +737 -530
- package/fesm2022/arsedizioni-ars-utils-ui.help.mjs.map +1 -1
- package/fesm2022/arsedizioni-ars-utils-ui.mjs +6638 -1755
- package/fesm2022/arsedizioni-ars-utils-ui.mjs.map +1 -1
- package/fesm2022/arsedizioni-ars-utils-ui.navigation.mjs +1479 -1207
- package/fesm2022/arsedizioni-ars-utils-ui.navigation.mjs.map +1 -1
- package/fesm2022/arsedizioni-ars-utils-ui.notifications.mjs +1003 -270
- package/fesm2022/arsedizioni-ars-utils-ui.notifications.mjs.map +1 -1
- package/fesm2022/arsedizioni-ars-utils-ui.oauth.mjs +497 -278
- package/fesm2022/arsedizioni-ars-utils-ui.oauth.mjs.map +1 -1
- package/fesm2022/arsedizioni-ars-utils-ui.paginator.mjs +48 -52
- package/fesm2022/arsedizioni-ars-utils-ui.paginator.mjs.map +1 -1
- package/fesm2022/arsedizioni-ars-utils-ui.shell.mjs +464 -704
- package/fesm2022/arsedizioni-ars-utils-ui.shell.mjs.map +1 -1
- package/fesm2022/arsedizioni-ars-utils-ui.tinymce.mjs +724 -657
- package/fesm2022/arsedizioni-ars-utils-ui.tinymce.mjs.map +1 -1
- package/fesm2022/arsedizioni-ars-utils.mjs +3 -19
- package/fesm2022/arsedizioni-ars-utils.mjs.map +1 -1
- package/package.json +1 -1
- package/types/arsedizioni-ars-utils-clipper.common.d.ts +1151 -1163
- package/types/arsedizioni-ars-utils-clipper.ui.d.ts +1588 -1426
- package/types/arsedizioni-ars-utils-core.d.ts +1169 -1172
- package/types/arsedizioni-ars-utils-core.date.d.ts +204 -208
- package/types/arsedizioni-ars-utils-core.markdown.d.ts +128 -126
- package/types/arsedizioni-ars-utils-core.validators.d.ts +270 -236
- package/types/arsedizioni-ars-utils-evolution.common.d.ts +1054 -1067
- package/types/arsedizioni-ars-utils-support.common.d.ts +225 -234
- package/types/arsedizioni-ars-utils-ui.controls.d.ts +440 -278
- package/types/arsedizioni-ars-utils-ui.controls.date.d.ts +24 -28
- package/types/arsedizioni-ars-utils-ui.controls.tree.d.ts +172 -136
- package/types/arsedizioni-ars-utils-ui.d.ts +2035 -821
- package/types/arsedizioni-ars-utils-ui.dialogs.auth.d.ts +327 -322
- package/types/arsedizioni-ars-utils-ui.dialogs.d.ts +343 -347
- package/types/arsedizioni-ars-utils-ui.dialogs.prompt.d.ts +167 -167
- package/types/arsedizioni-ars-utils-ui.dialogs.select.d.ts +373 -367
- package/types/arsedizioni-ars-utils-ui.files.d.ts +335 -283
- package/types/arsedizioni-ars-utils-ui.filters.d.ts +232 -160
- package/types/arsedizioni-ars-utils-ui.help.d.ts +204 -211
- package/types/arsedizioni-ars-utils-ui.navigation.d.ts +811 -646
- package/types/arsedizioni-ars-utils-ui.notifications.d.ts +74 -78
- package/types/arsedizioni-ars-utils-ui.oauth.d.ts +102 -62
- package/types/arsedizioni-ars-utils-ui.paginator.d.ts +19 -22
- package/types/arsedizioni-ars-utils-ui.shell.d.ts +376 -382
- package/types/arsedizioni-ars-utils-ui.tinymce.d.ts +244 -231
- package/types/arsedizioni-ars-utils.d.ts +1 -3
|
@@ -1,531 +1,738 @@
|
|
|
1
|
-
import * as i0 from
|
|
2
|
-
import {
|
|
3
|
-
import { DialogService } from
|
|
4
|
-
import { HttpClient } from
|
|
5
|
-
import { BreakpointObserver, Breakpoints } from
|
|
6
|
-
import { takeUntilDestroyed } from
|
|
7
|
-
import * as i2 from
|
|
8
|
-
import { MatButtonModule } from
|
|
9
|
-
import {
|
|
10
|
-
import * as i4 from
|
|
11
|
-
import { MatIconModule } from
|
|
12
|
-
import * as i5 from
|
|
13
|
-
import { MatProgressBarModule } from
|
|
14
|
-
import * as i6 from
|
|
15
|
-
import { MatSidenavModule } from
|
|
16
|
-
import * as i3 from
|
|
17
|
-
import { MatTooltipModule } from
|
|
18
|
-
import * as i7 from
|
|
19
|
-
import { MatTree, MatTreeModule } from
|
|
20
|
-
import { SafeHtmlPipe, SystemUtils } from
|
|
21
|
-
import * as i1 from
|
|
22
|
-
import { FlexLayoutModule } from
|
|
23
|
-
import { BehaviorSubject } from
|
|
24
|
-
|
|
25
|
-
class IndexInfo {
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.7", type: HelpViewerComponent, isStandalone: true, selector: "ng-component", host: { attributes: { "Bind": SystemUtils.generateUUID() } }, providers: [IndexTreeDataSource], viewQueries: [{ propertyName: "indexPane", first: true, predicate: ["indexPane"], descendants: true, isSignal: true }, { propertyName: "matTree", first: true, predicate: MatTree, descendants: true, isSignal: true }], ngImport: i0, template: "<div class=\"helpviewer-fixed\">\r\n <div style=\"height:6px\">\r\n @if (busy()) {\r\n <mat-progress-bar z-index=\"11\" mode=\"indeterminate\"></mat-progress-bar>\r\n }\r\n </div>\r\n <div class=\"dialog-header\">\r\n <div fxLayout=\"row\" fxLayoutAlign=\"start center\" fxLayoutGap=\"10px\" fxFill>\r\n <div class=\"dialog-menu\">\r\n <button type=\"button\" mat-icon-button matTooltip=\"Mostra menu\" [attr.aria-label]=\"'Mostra indice'\"\r\n (click)=\"toggleIndexPane()\">\r\n <mat-icon>menu</mat-icon>\r\n </button>\r\n </div>\r\n <div fxFlex=\"*\">\r\n <div mat-dialog-title>Guida</div>\r\n </div>\r\n <div fxFlex=\"100px\" fxLayoutAlign=\"end\" class=\"dialog-close\">\r\n @if (canGoBack()) {\r\n <button fxFlexAlign=\"start\" type=\"button\" mat-icon-button matTooltip=\"Indietro\" (click)=\"back()\">\r\n <mat-icon>arrow_back</mat-icon>\r\n </button>\r\n }\r\n <button fxFlexAlign=\"start\" type=\"button\" mat-icon-button matTooltip=\"Chiudi\" (click)=\"close()\">\r\n <mat-icon>close</mat-icon>\r\n </button>\r\n </div>\r\n </div>\r\n </div>\r\n\r\n</div>\r\n<mat-dialog-content id=\"helpviewer-scrollable\">\r\n <mat-drawer-container class=\"fill\">\r\n <mat-drawer #indexPane mode=\"side\" [autoFocus]=\"false\" class=\"drawer-small drawer-transparent\">\r\n <div fxLayout=\"column\" fxFill>\r\n <div fxFlex=\"*\">\r\n <mat-tree [dataSource]=\"flatNodes()\" [levelAccessor]=\"levelAccessor\" class=\"tree \" style=\"max-width:310px\">\r\n <mat-tree-node *matTreeNodeDef=\"let node\" matTreeNodeToggle matTreeNodePadding\r\n [matTreeNodePaddingIndent]=\"20\" class=\"tree-node tree-node-simple tree-node-style\"\r\n (click)=\"getChapter(node.id);\" [class.tree-node-activated]=\"indexNode && indexNode.id === node.id\"\r\n [disabled]=\"busy()\">\r\n <div fxLayout=\"row\" fxLayoutGap=\"10px\" fxFill class=\"small uppercase\">\r\n <button type=\"button\" fxFlexAlign=\"center\" mat-icon-button disabled class=\"small-icon-button\"></button>\r\n <div fxFlex=\"*\" fxFlexAlign=\"center\">{{node.name}}</div>\r\n </div>\r\n </mat-tree-node>\r\n <mat-tree-node #treeNodeRef=\"matTreeNode\" *matTreeNodeDef=\"let node;when: hasChild\" matTreeNodePadding [matTreeNodePaddingIndent]=\"20\"\r\n class=\"tree-node tree-node-simple tree-node-style\"\r\n [class.tree-node-activated]=\"indexNode && indexNode.id === node.id\" (click)=\"getChapter(node.id)\"\r\n [disabled]=\"busy()\">\r\n <div fxLayout=\"row\" fxLayoutGap=\"10px\" fxFill class=\"small uppercase\">\r\n <button type=\"button\" fxFlexAlign=\"center\" mat-icon-button matTreeNodeToggle\r\n [attr.aria-label]=\"'Apri/chiudi ' + node.name\" class=\"small-icon-button\">\r\n <mat-icon class=\"mat-icon-rtl-mirror\">\r\n {{treeNodeRef.isExpanded ? 'expand_more' : 'chevron_right'}}\r\n </mat-icon>\r\n </button>\r\n <div fxFlex=\"*\" fxFlexAlign=\"center\">{{node.name}}</div>\r\n </div>\r\n </mat-tree-node>\r\n </mat-tree>\r\n </div>\r\n </div>\r\n </mat-drawer>\r\n <mat-drawer-content id=\"helpviewer-scroller\">\r\n <div style=\"padding: 0 24px;\">\r\n <div fxLayout=\"column\" fxFill>\r\n <div class=\"fill\" (click)=\"gotoChapter($event)\" [innerHtml]=\"(page() ?? '') | safeHtml\"></div>\r\n </div>\r\n </div>\r\n </mat-drawer-content>\r\n </mat-drawer-container>\r\n</mat-dialog-content>", 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}}.dialog-menu{margin-top:4px!important}.tree{overflow-x:hidden}.tree-node{min-height:36px!important;padding-right:12px;margin-right:0}.tree-node .small-icon-button{width:2rem!important;height:2rem!important;padding:0!important;display:inline-flex!important;align-items:center;justify-content:center}.tree-node .small-icon-button .mat-mdc-button-touch-target{width:2rem!important;height:2rem!important}.tree-node:hover{cursor:pointer;background-color:var(--mat-menu-item-hover-state-layer-color, transparent);border-radius:24px}.tree-node-simple,.tree-node-simple>div{min-height:32px!important}.tree-node-activated,.tree-node-activated>div{font-weight:700!important;color:var(--ars-color-accent, #7894ae)!important}a.help-link,.help-link>a{text-decoration:none;color:#2a91e0}.help-title-2,.help-title-1{font-weight:600!important}.help-word-hit{font-size:inherit;background-color:var(--ars-word-hit-background-color, yellow);padding:0 4px}.help-hint{margin:10px;padding:5px 20px;background-color:var(--ars-help-hint-background-color, lightgoldenrodyellow);border-radius:12px}.help-summary{margin:10px;padding:5px 20px;background-color:var(--ars-help-summary-background-color, lavender);border-radius:12px}.help-img{display:flex;align-items:center;justify-content:center;margin:10px}.help-img-200,.help-img-300,.help-img-400,.help-img-500,.help-img-700,.help-img-800{width:100%}.help-img-200{max-width:200px}.help-img-300{max-width:300px}.help-img-400{max-width:400px}.help-img-500{max-width:500px}.help-img-600{max-width:600px}.help-img-700{max-width:700px}.help-img-800{max-width:800px}.help-filter-box{background-color:var(--ars-filterbox-filtered-background-color, #f9fbe7);border-radius:12px;padding:6px;display:inline-block;margin:0 0 8px 10px}.mat-mdc-dialog-content{max-height:unset!important;padding:0!important}\n"], dependencies: [{ kind: "ngmodule", type: FlexLayoutModule }, { kind: "directive", type: i1.FxLayoutDirective, selector: " [fxLayout], [fxLayout.xs], [fxLayout.sm], [fxLayout.md], [fxLayout.lg], [fxLayout.xl], [fxLayout.lt-sm], [fxLayout.lt-md], [fxLayout.lt-lg], [fxLayout.lt-xl], [fxLayout.gt-xs], [fxLayout.gt-sm], [fxLayout.gt-md], [fxLayout.gt-lg] ", inputs: ["fxLayout", "fxLayout.xs", "fxLayout.sm", "fxLayout.md", "fxLayout.lg", "fxLayout.xl", "fxLayout.lt-sm", "fxLayout.lt-md", "fxLayout.lt-lg", "fxLayout.lt-xl", "fxLayout.gt-xs", "fxLayout.gt-sm", "fxLayout.gt-md", "fxLayout.gt-lg"] }, { kind: "directive", type: i1.FxFlexDirective, selector: " [fxFlex], [fxFlex.xs], [fxFlex.sm], [fxFlex.md], [fxFlex.lg], [fxFlex.xl], [fxFlex.lt-sm], [fxFlex.lt-md], [fxFlex.lt-lg], [fxFlex.lt-xl], [fxFlex.gt-xs], [fxFlex.gt-sm], [fxFlex.gt-md], [fxFlex.gt-lg] ", inputs: ["fxFlex", "fxFlex.xs", "fxFlex.sm", "fxFlex.md", "fxFlex.lg", "fxFlex.xl", "fxFlex.lt-sm", "fxFlex.lt-md", "fxFlex.lt-lg", "fxFlex.lt-xl", "fxFlex.gt-xs", "fxFlex.gt-sm", "fxFlex.gt-md", "fxFlex.gt-lg"] }, { kind: "directive", type: i1.FxLayoutAlignDirective, selector: " [fxLayoutAlign], [fxLayoutAlign.xs], [fxLayoutAlign.sm], [fxLayoutAlign.md], [fxLayoutAlign.lg], [fxLayoutAlign.xl], [fxLayoutAlign.lt-sm], [fxLayoutAlign.lt-md], [fxLayoutAlign.lt-lg], [fxLayoutAlign.lt-xl], [fxLayoutAlign.gt-xs], [fxLayoutAlign.gt-sm], [fxLayoutAlign.gt-md], [fxLayoutAlign.gt-lg] ", inputs: ["fxLayoutAlign", "fxLayoutAlign.xs", "fxLayoutAlign.sm", "fxLayoutAlign.md", "fxLayoutAlign.lg", "fxLayoutAlign.xl", "fxLayoutAlign.lt-sm", "fxLayoutAlign.lt-md", "fxLayoutAlign.lt-lg", "fxLayoutAlign.lt-xl", "fxLayoutAlign.gt-xs", "fxLayoutAlign.gt-sm", "fxLayoutAlign.gt-md", "fxLayoutAlign.gt-lg"] }, { kind: "directive", type: i1.FxLayoutGapDirective, selector: " [fxLayoutGap], [fxLayoutGap.xs], [fxLayoutGap.sm], [fxLayoutGap.md], [fxLayoutGap.lg], [fxLayoutGap.xl], [fxLayoutGap.lt-sm], [fxLayoutGap.lt-md], [fxLayoutGap.lt-lg], [fxLayoutGap.lt-xl], [fxLayoutGap.gt-xs], [fxLayoutGap.gt-sm], [fxLayoutGap.gt-md], [fxLayoutGap.gt-lg] ", inputs: ["fxLayoutGap", "fxLayoutGap.xs", "fxLayoutGap.sm", "fxLayoutGap.md", "fxLayoutGap.lg", "fxLayoutGap.xl", "fxLayoutGap.lt-sm", "fxLayoutGap.lt-md", "fxLayoutGap.lt-lg", "fxLayoutGap.lt-xl", "fxLayoutGap.gt-xs", "fxLayoutGap.gt-sm", "fxLayoutGap.gt-md", "fxLayoutGap.gt-lg"] }, { kind: "directive", type: i1.FxFlexAlignDirective, selector: " [fxFlexAlign], [fxFlexAlign.xs], [fxFlexAlign.sm], [fxFlexAlign.md], [fxFlexAlign.lg], [fxFlexAlign.xl], [fxFlexAlign.lt-sm], [fxFlexAlign.lt-md], [fxFlexAlign.lt-lg], [fxFlexAlign.lt-xl], [fxFlexAlign.gt-xs], [fxFlexAlign.gt-sm], [fxFlexAlign.gt-md], [fxFlexAlign.gt-lg] ", inputs: ["fxFlexAlign", "fxFlexAlign.xs", "fxFlexAlign.sm", "fxFlexAlign.md", "fxFlexAlign.lg", "fxFlexAlign.xl", "fxFlexAlign.lt-sm", "fxFlexAlign.lt-md", "fxFlexAlign.lt-lg", "fxFlexAlign.lt-xl", "fxFlexAlign.gt-xs", "fxFlexAlign.gt-sm", "fxFlexAlign.gt-md", "fxFlexAlign.gt-lg"] }, { kind: "directive", type: i1.FxFlexFillDirective, selector: " [fxFlexFill], [fxFill], [fxFlexFill.xs], [fxFlexFill.sm], [fxFlexFill.md], [fxFlexFill.lg], [fxFlexFill.xl], [fxFlexFill.lt-sm], [fxFlexFill.lt-md], [fxFlexFill.lt-lg], [fxFlexFill.lt-xl], [fxFlexFill.gt-xs], [fxFlexFill.gt-sm], [fxFlexFill.gt-md], [fxFlexFill.gt-lg] ", inputs: ["fxFlexFill", "fxFill", "fxFlexFill.xs", "fxFlexFill.sm", "fxFlexFill.md", "fxFlexFill.lg", "fxFlexFill.xl", "fxFlexFill.lt-sm", "fxFlexFill.lt-md", "fxFlexFill.lt-lg", "fxFlexFill.lt-xl", "fxFlexFill.gt-xs", "fxFlexFill.gt-sm", "fxFlexFill.gt-md", "fxFlexFill.gt-lg"] }, { kind: "ngmodule", type: MatButtonModule }, { kind: "component", type: i2.MatIconButton, selector: "button[mat-icon-button], a[mat-icon-button], button[matIconButton], a[matIconButton]", exportAs: ["matButton", "matAnchor"] }, { kind: "ngmodule", type: MatTooltipModule }, { kind: "directive", type: i3.MatTooltip, selector: "[matTooltip]", inputs: ["matTooltipPosition", "matTooltipPositionAtOrigin", "matTooltipDisabled", "matTooltipShowDelay", "matTooltipHideDelay", "matTooltipTouchGestures", "matTooltip", "matTooltipClass"], exportAs: ["matTooltip"] }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i4.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "ngmodule", type: MatProgressBarModule }, { kind: "component", type: i5.MatProgressBar, selector: "mat-progress-bar", inputs: ["color", "value", "bufferValue", "mode"], outputs: ["animationEnd"], exportAs: ["matProgressBar"] }, { kind: "directive", type: MatDialogTitle, selector: "[mat-dialog-title], [matDialogTitle]", inputs: ["id"], exportAs: ["matDialogTitle"] }, { kind: "directive", type: MatDialogContent, selector: "[mat-dialog-content], mat-dialog-content, [matDialogContent]" }, { kind: "ngmodule", type: MatSidenavModule }, { kind: "component", type: i6.MatDrawer, selector: "mat-drawer", inputs: ["position", "mode", "disableClose", "autoFocus", "opened"], outputs: ["openedChange", "opened", "openedStart", "closed", "closedStart", "positionChanged"], exportAs: ["matDrawer"] }, { kind: "component", type: i6.MatDrawerContainer, selector: "mat-drawer-container", inputs: ["autosize", "hasBackdrop"], outputs: ["backdropClick"], exportAs: ["matDrawerContainer"] }, { kind: "component", type: i6.MatDrawerContent, selector: "mat-drawer-content" }, { kind: "ngmodule", type: MatTreeModule }, { kind: "directive", type: i7.MatTreeNodeDef, selector: "[matTreeNodeDef]", inputs: ["matTreeNodeDefWhen", "matTreeNode"] }, { kind: "directive", type: i7.MatTreeNodePadding, selector: "[matTreeNodePadding]", inputs: ["matTreeNodePadding", "matTreeNodePaddingIndent"] }, { kind: "directive", type: i7.MatTreeNodeToggle, selector: "[matTreeNodeToggle]", inputs: ["matTreeNodeToggleRecursive"] }, { kind: "component", type: i7.MatTree, selector: "mat-tree", exportAs: ["matTree"] }, { kind: "directive", type: i7.MatTreeNode, selector: "mat-tree-node", inputs: ["tabIndex", "disabled"], outputs: ["activation", "expandedChange"], exportAs: ["matTreeNode"] }, { kind: "pipe", type: SafeHtmlPipe, name: "safeHtml" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
MatSidenavModule, MatTreeModule, SafeHtmlPipe], template: "<div class=\"helpviewer-fixed\">\r\n <div style=\"height:6px\">\r\n @if (busy()) {\r\n <mat-progress-bar z-index=\"11\" mode=\"indeterminate\"></mat-progress-bar>\r\n }\r\n </div>\r\n <div class=\"dialog-header\">\r\n <div fxLayout=\"row\" fxLayoutAlign=\"start center\" fxLayoutGap=\"10px\" fxFill>\r\n <div class=\"dialog-menu\">\r\n <button type=\"button\" mat-icon-button matTooltip=\"Mostra menu\" [attr.aria-label]=\"'Mostra indice'\"\r\n (click)=\"toggleIndexPane()\">\r\n <mat-icon>menu</mat-icon>\r\n </button>\r\n </div>\r\n <div fxFlex=\"*\">\r\n <div mat-dialog-title>Guida</div>\r\n </div>\r\n <div fxFlex=\"100px\" fxLayoutAlign=\"end\" class=\"dialog-close\">\r\n @if (canGoBack()) {\r\n <button fxFlexAlign=\"start\" type=\"button\" mat-icon-button matTooltip=\"Indietro\" (click)=\"back()\">\r\n <mat-icon>arrow_back</mat-icon>\r\n </button>\r\n }\r\n <button fxFlexAlign=\"start\" type=\"button\" mat-icon-button matTooltip=\"Chiudi\" (click)=\"close()\">\r\n <mat-icon>close</mat-icon>\r\n </button>\r\n </div>\r\n </div>\r\n </div>\r\n\r\n</div>\r\n<mat-dialog-content id=\"helpviewer-scrollable\">\r\n <mat-drawer-container class=\"fill\">\r\n <mat-drawer #indexPane mode=\"side\" [autoFocus]=\"false\" class=\"drawer-small drawer-transparent\">\r\n <div fxLayout=\"column\" fxFill>\r\n <div fxFlex=\"*\">\r\n <mat-tree [dataSource]=\"flatNodes()\" [levelAccessor]=\"levelAccessor\" class=\"tree \" style=\"max-width:310px\">\r\n <mat-tree-node *matTreeNodeDef=\"let node\" matTreeNodeToggle matTreeNodePadding\r\n [matTreeNodePaddingIndent]=\"20\" class=\"tree-node tree-node-simple tree-node-style\"\r\n (click)=\"getChapter(node.id);\" [class.tree-node-activated]=\"indexNode && indexNode.id === node.id\"\r\n [disabled]=\"busy()\">\r\n <div fxLayout=\"row\" fxLayoutGap=\"10px\" fxFill class=\"small uppercase\">\r\n <button type=\"button\" fxFlexAlign=\"center\" mat-icon-button disabled class=\"small-icon-button\"></button>\r\n <div fxFlex=\"*\" fxFlexAlign=\"center\">{{node.name}}</div>\r\n </div>\r\n </mat-tree-node>\r\n <mat-tree-node #treeNodeRef=\"matTreeNode\" *matTreeNodeDef=\"let node;when: hasChild\" matTreeNodePadding [matTreeNodePaddingIndent]=\"20\"\r\n class=\"tree-node tree-node-simple tree-node-style\"\r\n [class.tree-node-activated]=\"indexNode && indexNode.id === node.id\" (click)=\"getChapter(node.id)\"\r\n [disabled]=\"busy()\">\r\n <div fxLayout=\"row\" fxLayoutGap=\"10px\" fxFill class=\"small uppercase\">\r\n <button type=\"button\" fxFlexAlign=\"center\" mat-icon-button matTreeNodeToggle\r\n [attr.aria-label]=\"'Apri/chiudi ' + node.name\" class=\"small-icon-button\">\r\n <mat-icon class=\"mat-icon-rtl-mirror\">\r\n {{treeNodeRef.isExpanded ? 'expand_more' : 'chevron_right'}}\r\n </mat-icon>\r\n </button>\r\n <div fxFlex=\"*\" fxFlexAlign=\"center\">{{node.name}}</div>\r\n </div>\r\n </mat-tree-node>\r\n </mat-tree>\r\n </div>\r\n </div>\r\n </mat-drawer>\r\n <mat-drawer-content id=\"helpviewer-scroller\">\r\n <div style=\"padding: 0 24px;\">\r\n <div fxLayout=\"column\" fxFill>\r\n <div class=\"fill\" (click)=\"gotoChapter($event)\" [innerHtml]=\"(page() ?? '') | safeHtml\"></div>\r\n </div>\r\n </div>\r\n </mat-drawer-content>\r\n </mat-drawer-container>\r\n</mat-dialog-content>", 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}}.dialog-menu{margin-top:4px!important}.tree{overflow-x:hidden}.tree-node{min-height:36px!important;padding-right:12px;margin-right:0}.tree-node .small-icon-button{width:2rem!important;height:2rem!important;padding:0!important;display:inline-flex!important;align-items:center;justify-content:center}.tree-node .small-icon-button .mat-mdc-button-touch-target{width:2rem!important;height:2rem!important}.tree-node:hover{cursor:pointer;background-color:var(--mat-menu-item-hover-state-layer-color, transparent);border-radius:24px}.tree-node-simple,.tree-node-simple>div{min-height:32px!important}.tree-node-activated,.tree-node-activated>div{font-weight:700!important;color:var(--ars-color-accent, #7894ae)!important}a.help-link,.help-link>a{text-decoration:none;color:#2a91e0}.help-title-2,.help-title-1{font-weight:600!important}.help-word-hit{font-size:inherit;background-color:var(--ars-word-hit-background-color, yellow);padding:0 4px}.help-hint{margin:10px;padding:5px 20px;background-color:var(--ars-help-hint-background-color, lightgoldenrodyellow);border-radius:12px}.help-summary{margin:10px;padding:5px 20px;background-color:var(--ars-help-summary-background-color, lavender);border-radius:12px}.help-img{display:flex;align-items:center;justify-content:center;margin:10px}.help-img-200,.help-img-300,.help-img-400,.help-img-500,.help-img-700,.help-img-800{width:100%}.help-img-200{max-width:200px}.help-img-300{max-width:300px}.help-img-400{max-width:400px}.help-img-500{max-width:500px}.help-img-600{max-width:600px}.help-img-700{max-width:700px}.help-img-800{max-width:800px}.help-filter-box{background-color:var(--ars-filterbox-filtered-background-color, #f9fbe7);border-radius:12px;padding:6px;display:inline-block;margin:0 0 8px 10px}.mat-mdc-dialog-content{max-height:unset!important;padding:0!important}\n"] }]
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import { ChangeDetectionStrategy, Component, DestroyRef, Injectable, Service, ViewEncapsulation, afterNextRender, computed, inject, signal, viewChild } from "@angular/core";
|
|
3
|
+
import { DialogService } from "@arsedizioni/ars-utils/ui.dialogs";
|
|
4
|
+
import { HttpClient } from "@angular/common/http";
|
|
5
|
+
import { BreakpointObserver, Breakpoints } from "@angular/cdk/layout";
|
|
6
|
+
import { takeUntilDestroyed } from "@angular/core/rxjs-interop";
|
|
7
|
+
import * as i2 from "@angular/material/button";
|
|
8
|
+
import { MatButtonModule } from "@angular/material/button";
|
|
9
|
+
import { MAT_DIALOG_DATA, MatDialogContent, MatDialogRef, MatDialogTitle } from "@angular/material/dialog";
|
|
10
|
+
import * as i4 from "@angular/material/icon";
|
|
11
|
+
import { MatIconModule } from "@angular/material/icon";
|
|
12
|
+
import * as i5 from "@angular/material/progress-bar";
|
|
13
|
+
import { MatProgressBarModule } from "@angular/material/progress-bar";
|
|
14
|
+
import * as i6 from "@angular/material/sidenav";
|
|
15
|
+
import { MatSidenavModule } from "@angular/material/sidenav";
|
|
16
|
+
import * as i3 from "@angular/material/tooltip";
|
|
17
|
+
import { MatTooltipModule } from "@angular/material/tooltip";
|
|
18
|
+
import * as i7 from "@angular/material/tree";
|
|
19
|
+
import { MatTree, MatTreeModule } from "@angular/material/tree";
|
|
20
|
+
import { SafeHtmlPipe, 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 { BehaviorSubject } from "rxjs";
|
|
24
|
+
var IndexInfo = class {};
|
|
25
|
+
var IndexNode = class extends IndexInfo {
|
|
26
|
+
constructor(item, level) {
|
|
27
|
+
super();
|
|
28
|
+
this.expandable = !!item.children && item.children.length > 0;
|
|
29
|
+
this.level = level;
|
|
30
|
+
this.id = item.id;
|
|
31
|
+
this.name = item.name;
|
|
32
|
+
this.itemsCount = item.itemsCount;
|
|
33
|
+
this.parent = item.parent;
|
|
34
|
+
}
|
|
35
|
+
};
|
|
36
|
+
var IndexTreeDataSource = class IndexTreeDataSource {
|
|
37
|
+
constructor() {
|
|
38
|
+
this.dataChange = new BehaviorSubject([]);
|
|
39
|
+
}
|
|
40
|
+
get data() {
|
|
41
|
+
return this.dataChange.value;
|
|
42
|
+
}
|
|
43
|
+
ngOnDestroy() {
|
|
44
|
+
this.dataChange.unsubscribe();
|
|
45
|
+
}
|
|
46
|
+
initialize(data) {
|
|
47
|
+
this.dataChange.next(data);
|
|
48
|
+
}
|
|
49
|
+
findNode(node, id) {
|
|
50
|
+
let children;
|
|
51
|
+
if (node && node.id === id) return node;
|
|
52
|
+
if (node) children = node.children;
|
|
53
|
+
else children = this.data;
|
|
54
|
+
if (children) {
|
|
55
|
+
let _n;
|
|
56
|
+
children.some((n) => {
|
|
57
|
+
n.parent = node ?? void 0;
|
|
58
|
+
_n = this.findNode(n, id);
|
|
59
|
+
if (_n) return true;
|
|
60
|
+
return false;
|
|
61
|
+
});
|
|
62
|
+
return _n;
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
removeNode(id) {
|
|
66
|
+
const n = this.findNode(null, id);
|
|
67
|
+
if (!n) return;
|
|
68
|
+
if (n.parent) {
|
|
69
|
+
const siblings = n.parent.children;
|
|
70
|
+
if (siblings) {
|
|
71
|
+
const p = siblings.findIndex((c) => c.id === id);
|
|
72
|
+
if (p !== -1) {
|
|
73
|
+
siblings.splice(p, 1);
|
|
74
|
+
if (n.parent.itemsCount !== void 0) n.parent.itemsCount--;
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
} else {
|
|
78
|
+
const p = this.data.findIndex((c) => c.id === id);
|
|
79
|
+
if (p !== -1) this.data.splice(p, 1);
|
|
80
|
+
}
|
|
81
|
+
this.dataChange.next(this.data);
|
|
82
|
+
}
|
|
83
|
+
insertNode(node) {
|
|
84
|
+
if (node.parent) {
|
|
85
|
+
node.parent.children ??= [];
|
|
86
|
+
node.parent.children.unshift(node);
|
|
87
|
+
node.parent.itemsCount = (node.parent.itemsCount ?? 0) + 1;
|
|
88
|
+
} else this.data.unshift(node);
|
|
89
|
+
this.dataChange.next(this.data);
|
|
90
|
+
}
|
|
91
|
+
renameNode(id, name) {
|
|
92
|
+
const n = this.findNode(null, id);
|
|
93
|
+
if (n) {
|
|
94
|
+
n.name = name;
|
|
95
|
+
this.dataChange.next(this.data);
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
update() {
|
|
99
|
+
this.dataChange.next(this.data);
|
|
100
|
+
}
|
|
101
|
+
static {
|
|
102
|
+
this.ɵfac = i0.ɵɵngDeclareFactory({
|
|
103
|
+
minVersion: "12.0.0",
|
|
104
|
+
version: "22.2.1",
|
|
105
|
+
ngImport: i0,
|
|
106
|
+
type: IndexTreeDataSource,
|
|
107
|
+
deps: [],
|
|
108
|
+
target: i0.ɵɵFactoryTarget.Injectable
|
|
109
|
+
});
|
|
110
|
+
}
|
|
111
|
+
static {
|
|
112
|
+
this.ɵprov = i0.ɵɵngDeclareInjectable({
|
|
113
|
+
minVersion: "12.0.0",
|
|
114
|
+
version: "22.2.1",
|
|
115
|
+
ngImport: i0,
|
|
116
|
+
type: IndexTreeDataSource
|
|
117
|
+
});
|
|
118
|
+
}
|
|
119
|
+
};
|
|
120
|
+
i0.ɵɵngDeclareClassMetadata({
|
|
121
|
+
minVersion: "12.0.0",
|
|
122
|
+
version: "22.2.1",
|
|
123
|
+
ngImport: i0,
|
|
124
|
+
type: IndexTreeDataSource,
|
|
125
|
+
decorators: [{ type: Injectable }]
|
|
126
|
+
});
|
|
127
|
+
var HelpViewerComponent = class HelpViewerComponent {
|
|
128
|
+
constructor() {
|
|
129
|
+
this.indexPane = viewChild.required("indexPane", ...ngDevMode ? [{ debugName: "indexPane" }] : /* istanbul ignore next */ []);
|
|
130
|
+
this.destroyRef = inject(DestroyRef);
|
|
131
|
+
this.dialogRef = inject(MatDialogRef);
|
|
132
|
+
this.dialogData = inject(MAT_DIALOG_DATA) ?? { id: "1" };
|
|
133
|
+
this.dialogService = inject(DialogService);
|
|
134
|
+
this.helpService = inject(HelpService);
|
|
135
|
+
this.breakpointObserver = inject(BreakpointObserver);
|
|
136
|
+
this.busy = signal(false, ...ngDevMode ? [{ debugName: "busy" }] : /* istanbul ignore next */ []);
|
|
137
|
+
this.page = signal(null, ...ngDevMode ? [{ debugName: "page" }] : /* istanbul ignore next */ []);
|
|
138
|
+
this.indexPaneClosed = false;
|
|
139
|
+
this.history = signal([], ...ngDevMode ? [{ debugName: "history" }] : /* istanbul ignore next */ []);
|
|
140
|
+
this.canGoBack = computed(() => this.history().length > 1, ...ngDevMode ? [{ debugName: "canGoBack" }] : /* istanbul ignore next */ []);
|
|
141
|
+
this.tree = inject(IndexTreeDataSource);
|
|
142
|
+
this.matTree = viewChild(MatTree, ...ngDevMode ? [{ debugName: "matTree" }] : /* istanbul ignore next */ []);
|
|
143
|
+
this.levelAccessor = (node) => node.level;
|
|
144
|
+
this.flatNodes = signal([], ...ngDevMode ? [{ debugName: "flatNodes" }] : /* istanbul ignore next */ []);
|
|
145
|
+
this.hasChild = (_, _node) => _node.expandable;
|
|
146
|
+
this.tree.dataChange.pipe(takeUntilDestroyed(this.destroyRef)).subscribe((data) => this.flatNodes.set(this.flattenNodes(data)));
|
|
147
|
+
this.getToc();
|
|
148
|
+
this.indexId = this.dialogData.id;
|
|
149
|
+
if (this.indexId) this.getChapter(this.indexId);
|
|
150
|
+
afterNextRender(() => {
|
|
151
|
+
this.breakpointObserver.observe([
|
|
152
|
+
Breakpoints.XSmall,
|
|
153
|
+
Breakpoints.Small,
|
|
154
|
+
Breakpoints.Medium,
|
|
155
|
+
Breakpoints.Large,
|
|
156
|
+
Breakpoints.XLarge
|
|
157
|
+
]).pipe(takeUntilDestroyed(this.destroyRef)).subscribe(() => this.handleFilterPaneVisibility());
|
|
158
|
+
this.indexPaneClosed = !this.indexPane().opened;
|
|
159
|
+
});
|
|
160
|
+
}
|
|
161
|
+
handleFilterPaneVisibility() {
|
|
162
|
+
const indexPane = this.indexPane();
|
|
163
|
+
if (indexPane) {
|
|
164
|
+
if (this.breakpointObserver.isMatched(Breakpoints.XSmall) || this.breakpointObserver.isMatched(Breakpoints.Small) || this.breakpointObserver.isMatched(Breakpoints.Medium)) {
|
|
165
|
+
if (indexPane.opened) indexPane.close();
|
|
166
|
+
} else if (!indexPane.opened && !this.indexPaneClosed) indexPane.open();
|
|
167
|
+
}
|
|
168
|
+
}
|
|
169
|
+
toggleIndexPane() {
|
|
170
|
+
this.indexPaneClosed = !this.indexPaneClosed;
|
|
171
|
+
this.indexPane()?.toggle();
|
|
172
|
+
}
|
|
173
|
+
close() {
|
|
174
|
+
this.dialogRef.close();
|
|
175
|
+
}
|
|
176
|
+
getToc() {
|
|
177
|
+
this.busy.set(true);
|
|
178
|
+
this.helpService.getToc().subscribe({
|
|
179
|
+
next: (r) => {
|
|
180
|
+
if (!r.success) this.dialogService.error(r.message);
|
|
181
|
+
else {
|
|
182
|
+
this.folders = r.value.children;
|
|
183
|
+
if (this.folders.length > 0) {
|
|
184
|
+
this.tree.initialize(this.folders);
|
|
185
|
+
this.indexNode = this.folders[0];
|
|
186
|
+
this.expandCurrentFolder();
|
|
187
|
+
}
|
|
188
|
+
}
|
|
189
|
+
},
|
|
190
|
+
complete: () => {
|
|
191
|
+
this.busy.set(false);
|
|
192
|
+
}
|
|
193
|
+
});
|
|
194
|
+
}
|
|
195
|
+
gotoChapter(e) {
|
|
196
|
+
const el = e.target;
|
|
197
|
+
if (el?.nodeName !== "A") return false;
|
|
198
|
+
const tag = el.outerHTML;
|
|
199
|
+
let id = "";
|
|
200
|
+
let p = tag.indexOf("help-target=\"");
|
|
201
|
+
if (p !== -1) {
|
|
202
|
+
p += 13;
|
|
203
|
+
while (p < tag.length && tag[p] !== "\"") {
|
|
204
|
+
id += tag[p];
|
|
205
|
+
p++;
|
|
206
|
+
}
|
|
207
|
+
}
|
|
208
|
+
if (id) this.getChapter(id);
|
|
209
|
+
return false;
|
|
210
|
+
}
|
|
211
|
+
findFolder(id) {
|
|
212
|
+
let node = void 0;
|
|
213
|
+
if (this.folders) this.folders.some((n) => {
|
|
214
|
+
node = this.tree.findNode(n, id);
|
|
215
|
+
if (node) return true;
|
|
216
|
+
return false;
|
|
217
|
+
});
|
|
218
|
+
return node;
|
|
219
|
+
}
|
|
220
|
+
expandCurrentFolder() {
|
|
221
|
+
if (this.indexNode) {
|
|
222
|
+
const current = this.flatNodes().find((n) => n.id === this.indexNode.id);
|
|
223
|
+
if (current) this.matTree()?.expand(current);
|
|
224
|
+
if (this.indexNode.parent) {
|
|
225
|
+
let n = this.indexNode.parent;
|
|
226
|
+
while (n) {
|
|
227
|
+
const ancestor = this.flatNodes().find((x) => x.id === n.id);
|
|
228
|
+
if (ancestor) this.matTree()?.expand(ancestor);
|
|
229
|
+
n = n.parent;
|
|
230
|
+
}
|
|
231
|
+
}
|
|
232
|
+
}
|
|
233
|
+
}
|
|
234
|
+
flattenNodes(items, level = 0) {
|
|
235
|
+
const result = [];
|
|
236
|
+
for (const node of items) {
|
|
237
|
+
result.push(new IndexNode(node, level));
|
|
238
|
+
if (node.children?.length) result.push(...this.flattenNodes(node.children, level + 1));
|
|
239
|
+
}
|
|
240
|
+
return result;
|
|
241
|
+
}
|
|
242
|
+
getChapter(id, position = 0) {
|
|
243
|
+
let anchor;
|
|
244
|
+
const p = id.indexOf("#");
|
|
245
|
+
if (p !== -1) {
|
|
246
|
+
anchor = id.substring(p + 1);
|
|
247
|
+
id = id.substring(0, p);
|
|
248
|
+
}
|
|
249
|
+
if (id !== ".") {
|
|
250
|
+
this.busy.set(true);
|
|
251
|
+
this.helpService.getChapter(id).subscribe({
|
|
252
|
+
next: (r) => {
|
|
253
|
+
let found = false;
|
|
254
|
+
if (!r.success) this.dialogService.error("Capitolo non trovato.");
|
|
255
|
+
else {
|
|
256
|
+
if (!position) this.history.update((h) => [...h, {
|
|
257
|
+
id: this.indexId ?? "",
|
|
258
|
+
position: this.getPosition()
|
|
259
|
+
}]);
|
|
260
|
+
this.indexId = id;
|
|
261
|
+
this.page.set(r.value.data);
|
|
262
|
+
found = (r.value.chapter?.name?.length ?? 0) > 0;
|
|
263
|
+
if (found) {
|
|
264
|
+
this.indexNode = this.findFolder(id);
|
|
265
|
+
this.expandCurrentFolder();
|
|
266
|
+
this.gotoPosition(anchor, position);
|
|
267
|
+
}
|
|
268
|
+
}
|
|
269
|
+
if (!found) this.getChapter("1");
|
|
270
|
+
},
|
|
271
|
+
complete: () => {
|
|
272
|
+
this.busy.set(false);
|
|
273
|
+
}
|
|
274
|
+
});
|
|
275
|
+
} else {
|
|
276
|
+
if (!position) this.history.update((h) => [...h, {
|
|
277
|
+
id: this.indexId ?? "",
|
|
278
|
+
position: this.getPosition()
|
|
279
|
+
}]);
|
|
280
|
+
this.gotoPosition(anchor, position);
|
|
281
|
+
}
|
|
282
|
+
}
|
|
283
|
+
gotoPosition(anchor, position = 0) {
|
|
284
|
+
setTimeout(() => {
|
|
285
|
+
if (anchor) {
|
|
286
|
+
const elms = document.getElementsByName(anchor.toUpperCase());
|
|
287
|
+
if (elms && elms.length > 0) position = elms[0].offsetTop;
|
|
288
|
+
}
|
|
289
|
+
this.setPosition(position > 0 ? position - 1 : 0);
|
|
290
|
+
}, 50);
|
|
291
|
+
}
|
|
292
|
+
getPosition() {
|
|
293
|
+
let elem = document.getElementById("helpviewer-scroller");
|
|
294
|
+
if (elem) return elem.scrollTop;
|
|
295
|
+
return 0;
|
|
296
|
+
}
|
|
297
|
+
setPosition(position) {
|
|
298
|
+
let elem = document.getElementById("helpviewer-scroller");
|
|
299
|
+
if (elem) elem.scrollTo(0, position);
|
|
300
|
+
}
|
|
301
|
+
back() {
|
|
302
|
+
const entries = this.history();
|
|
303
|
+
if (entries.length === 0) return;
|
|
304
|
+
const n = entries[entries.length - 1];
|
|
305
|
+
this.history.update((h) => h.slice(0, -1));
|
|
306
|
+
this.getChapter(n.id, n.position + 1);
|
|
307
|
+
}
|
|
308
|
+
static {
|
|
309
|
+
this.ɵfac = i0.ɵɵngDeclareFactory({
|
|
310
|
+
minVersion: "12.0.0",
|
|
311
|
+
version: "22.2.1",
|
|
312
|
+
ngImport: i0,
|
|
313
|
+
type: HelpViewerComponent,
|
|
314
|
+
deps: [],
|
|
315
|
+
target: i0.ɵɵFactoryTarget.Component
|
|
316
|
+
});
|
|
317
|
+
}
|
|
318
|
+
static {
|
|
319
|
+
this.ɵcmp = i0.ɵɵngDeclareComponent({
|
|
320
|
+
minVersion: "17.0.0",
|
|
321
|
+
version: "22.2.1",
|
|
322
|
+
type: HelpViewerComponent,
|
|
323
|
+
isStandalone: true,
|
|
324
|
+
selector: "ng-component",
|
|
325
|
+
host: { attributes: { "Bind": SystemUtils.generateUUID() } },
|
|
326
|
+
providers: [IndexTreeDataSource],
|
|
327
|
+
viewQueries: [{
|
|
328
|
+
propertyName: "indexPane",
|
|
329
|
+
first: true,
|
|
330
|
+
predicate: ["indexPane"],
|
|
331
|
+
descendants: true,
|
|
332
|
+
isSignal: true
|
|
333
|
+
}, {
|
|
334
|
+
propertyName: "matTree",
|
|
335
|
+
first: true,
|
|
336
|
+
predicate: MatTree,
|
|
337
|
+
descendants: true,
|
|
338
|
+
isSignal: true
|
|
339
|
+
}],
|
|
340
|
+
ngImport: i0,
|
|
341
|
+
template: "<div class=\"helpviewer-fixed\">\r\n <div style=\"height:6px\">\r\n @if (busy()) {\r\n <mat-progress-bar z-index=\"11\" mode=\"indeterminate\"></mat-progress-bar>\r\n }\r\n </div>\r\n <div class=\"dialog-header\">\r\n <div fxLayout=\"row\" fxLayoutAlign=\"start center\" fxLayoutGap=\"10px\" fxFill>\r\n <div class=\"dialog-menu\">\r\n <button type=\"button\" mat-icon-button matTooltip=\"Mostra menu\" [attr.aria-label]=\"'Mostra indice'\"\r\n (click)=\"toggleIndexPane()\">\r\n <mat-icon>menu</mat-icon>\r\n </button>\r\n </div>\r\n <div fxFlex=\"*\">\r\n <div mat-dialog-title>Guida</div>\r\n </div>\r\n <div fxFlex=\"100px\" fxLayoutAlign=\"end\" class=\"dialog-close\">\r\n @if (canGoBack()) {\r\n <button fxFlexAlign=\"start\" type=\"button\" mat-icon-button matTooltip=\"Indietro\" (click)=\"back()\">\r\n <mat-icon>arrow_back</mat-icon>\r\n </button>\r\n }\r\n <button fxFlexAlign=\"start\" type=\"button\" mat-icon-button matTooltip=\"Chiudi\" (click)=\"close()\">\r\n <mat-icon>close</mat-icon>\r\n </button>\r\n </div>\r\n </div>\r\n </div>\r\n\r\n</div>\r\n<mat-dialog-content id=\"helpviewer-scrollable\">\r\n <mat-drawer-container class=\"fill\">\r\n <mat-drawer #indexPane mode=\"side\" [autoFocus]=\"false\" class=\"drawer-small drawer-transparent\">\r\n <div fxLayout=\"column\" fxFill>\r\n <div fxFlex=\"*\">\r\n <mat-tree [dataSource]=\"flatNodes()\" [levelAccessor]=\"levelAccessor\" class=\"tree \" style=\"max-width:310px\">\r\n <mat-tree-node *matTreeNodeDef=\"let node\" matTreeNodeToggle matTreeNodePadding\r\n [matTreeNodePaddingIndent]=\"20\" class=\"tree-node tree-node-simple tree-node-style\"\r\n (click)=\"getChapter(node.id);\" [class.tree-node-activated]=\"indexNode && indexNode.id === node.id\"\r\n [disabled]=\"busy()\">\r\n <div fxLayout=\"row\" fxLayoutGap=\"10px\" fxFill class=\"small uppercase\">\r\n <button type=\"button\" fxFlexAlign=\"center\" mat-icon-button disabled class=\"small-icon-button\"></button>\r\n <div fxFlex=\"*\" fxFlexAlign=\"center\">{{node.name}}</div>\r\n </div>\r\n </mat-tree-node>\r\n <mat-tree-node #treeNodeRef=\"matTreeNode\" *matTreeNodeDef=\"let node;when: hasChild\" matTreeNodePadding [matTreeNodePaddingIndent]=\"20\"\r\n class=\"tree-node tree-node-simple tree-node-style\"\r\n [class.tree-node-activated]=\"indexNode && indexNode.id === node.id\" (click)=\"getChapter(node.id)\"\r\n [disabled]=\"busy()\">\r\n <div fxLayout=\"row\" fxLayoutGap=\"10px\" fxFill class=\"small uppercase\">\r\n <button type=\"button\" fxFlexAlign=\"center\" mat-icon-button matTreeNodeToggle\r\n [attr.aria-label]=\"'Apri/chiudi ' + node.name\" class=\"small-icon-button\">\r\n <mat-icon class=\"mat-icon-rtl-mirror\">\r\n {{treeNodeRef.isExpanded ? 'expand_more' : 'chevron_right'}}\r\n </mat-icon>\r\n </button>\r\n <div fxFlex=\"*\" fxFlexAlign=\"center\">{{node.name}}</div>\r\n </div>\r\n </mat-tree-node>\r\n </mat-tree>\r\n </div>\r\n </div>\r\n </mat-drawer>\r\n <mat-drawer-content id=\"helpviewer-scroller\">\r\n <div style=\"padding: 0 24px;\">\r\n <div fxLayout=\"column\" fxFill>\r\n <div class=\"fill\" (click)=\"gotoChapter($event)\" [innerHtml]=\"(page() ?? '') | safeHtml\"></div>\r\n </div>\r\n </div>\r\n </mat-drawer-content>\r\n </mat-drawer-container>\r\n</mat-dialog-content>",
|
|
342
|
+
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}}.dialog-menu{margin-top:4px!important}.tree{overflow-x:hidden}.tree-node{min-height:36px!important;padding-right:12px;margin-right:0}.tree-node .small-icon-button{width:2rem!important;height:2rem!important;padding:0!important;display:inline-flex!important;align-items:center;justify-content:center}.tree-node .small-icon-button .mat-mdc-button-touch-target{width:2rem!important;height:2rem!important}.tree-node:hover{cursor:pointer;background-color:var(--mat-menu-item-hover-state-layer-color, transparent);border-radius:24px}.tree-node-simple,.tree-node-simple>div{min-height:32px!important}.tree-node-activated,.tree-node-activated>div{font-weight:700!important;color:var(--ars-color-accent, #7894ae)!important}a.help-link,.help-link>a{text-decoration:none;color:#2a91e0}.help-title-2,.help-title-1{font-weight:600!important}.help-word-hit{font-size:inherit;background-color:var(--ars-word-hit-background-color, yellow);padding:0 4px}.help-hint{margin:10px;padding:5px 20px;background-color:var(--ars-help-hint-background-color, lightgoldenrodyellow);border-radius:12px}.help-summary{margin:10px;padding:5px 20px;background-color:var(--ars-help-summary-background-color, lavender);border-radius:12px}.help-img{display:flex;align-items:center;justify-content:center;margin:10px}.help-img-200,.help-img-300,.help-img-400,.help-img-500,.help-img-700,.help-img-800{width:100%}.help-img-200{max-width:200px}.help-img-300{max-width:300px}.help-img-400{max-width:400px}.help-img-500{max-width:500px}.help-img-600{max-width:600px}.help-img-700{max-width:700px}.help-img-800{max-width:800px}.help-filter-box{background-color:var(--ars-filterbox-filtered-background-color, #f9fbe7);border-radius:12px;padding:6px;display:inline-block;margin:0 0 8px 10px}.mat-mdc-dialog-content{max-height:unset!important;padding:0!important}\n"],
|
|
343
|
+
dependencies: [
|
|
344
|
+
{
|
|
345
|
+
kind: "ngmodule",
|
|
346
|
+
type: FlexLayoutModule
|
|
347
|
+
},
|
|
348
|
+
{
|
|
349
|
+
kind: "directive",
|
|
350
|
+
type: i1.FxLayoutDirective,
|
|
351
|
+
selector: " [fxLayout], [fxLayout.xs], [fxLayout.sm], [fxLayout.md], [fxLayout.lg], [fxLayout.xl], [fxLayout.lt-sm], [fxLayout.lt-md], [fxLayout.lt-lg], [fxLayout.lt-xl], [fxLayout.gt-xs], [fxLayout.gt-sm], [fxLayout.gt-md], [fxLayout.gt-lg] ",
|
|
352
|
+
inputs: [
|
|
353
|
+
"fxLayout",
|
|
354
|
+
"fxLayout.xs",
|
|
355
|
+
"fxLayout.sm",
|
|
356
|
+
"fxLayout.md",
|
|
357
|
+
"fxLayout.lg",
|
|
358
|
+
"fxLayout.xl",
|
|
359
|
+
"fxLayout.lt-sm",
|
|
360
|
+
"fxLayout.lt-md",
|
|
361
|
+
"fxLayout.lt-lg",
|
|
362
|
+
"fxLayout.lt-xl",
|
|
363
|
+
"fxLayout.gt-xs",
|
|
364
|
+
"fxLayout.gt-sm",
|
|
365
|
+
"fxLayout.gt-md",
|
|
366
|
+
"fxLayout.gt-lg"
|
|
367
|
+
]
|
|
368
|
+
},
|
|
369
|
+
{
|
|
370
|
+
kind: "directive",
|
|
371
|
+
type: i1.FxFlexDirective,
|
|
372
|
+
selector: " [fxFlex], [fxFlex.xs], [fxFlex.sm], [fxFlex.md], [fxFlex.lg], [fxFlex.xl], [fxFlex.lt-sm], [fxFlex.lt-md], [fxFlex.lt-lg], [fxFlex.lt-xl], [fxFlex.gt-xs], [fxFlex.gt-sm], [fxFlex.gt-md], [fxFlex.gt-lg] ",
|
|
373
|
+
inputs: [
|
|
374
|
+
"fxFlex",
|
|
375
|
+
"fxFlex.xs",
|
|
376
|
+
"fxFlex.sm",
|
|
377
|
+
"fxFlex.md",
|
|
378
|
+
"fxFlex.lg",
|
|
379
|
+
"fxFlex.xl",
|
|
380
|
+
"fxFlex.lt-sm",
|
|
381
|
+
"fxFlex.lt-md",
|
|
382
|
+
"fxFlex.lt-lg",
|
|
383
|
+
"fxFlex.lt-xl",
|
|
384
|
+
"fxFlex.gt-xs",
|
|
385
|
+
"fxFlex.gt-sm",
|
|
386
|
+
"fxFlex.gt-md",
|
|
387
|
+
"fxFlex.gt-lg"
|
|
388
|
+
]
|
|
389
|
+
},
|
|
390
|
+
{
|
|
391
|
+
kind: "directive",
|
|
392
|
+
type: i1.FxLayoutAlignDirective,
|
|
393
|
+
selector: " [fxLayoutAlign], [fxLayoutAlign.xs], [fxLayoutAlign.sm], [fxLayoutAlign.md], [fxLayoutAlign.lg], [fxLayoutAlign.xl], [fxLayoutAlign.lt-sm], [fxLayoutAlign.lt-md], [fxLayoutAlign.lt-lg], [fxLayoutAlign.lt-xl], [fxLayoutAlign.gt-xs], [fxLayoutAlign.gt-sm], [fxLayoutAlign.gt-md], [fxLayoutAlign.gt-lg] ",
|
|
394
|
+
inputs: [
|
|
395
|
+
"fxLayoutAlign",
|
|
396
|
+
"fxLayoutAlign.xs",
|
|
397
|
+
"fxLayoutAlign.sm",
|
|
398
|
+
"fxLayoutAlign.md",
|
|
399
|
+
"fxLayoutAlign.lg",
|
|
400
|
+
"fxLayoutAlign.xl",
|
|
401
|
+
"fxLayoutAlign.lt-sm",
|
|
402
|
+
"fxLayoutAlign.lt-md",
|
|
403
|
+
"fxLayoutAlign.lt-lg",
|
|
404
|
+
"fxLayoutAlign.lt-xl",
|
|
405
|
+
"fxLayoutAlign.gt-xs",
|
|
406
|
+
"fxLayoutAlign.gt-sm",
|
|
407
|
+
"fxLayoutAlign.gt-md",
|
|
408
|
+
"fxLayoutAlign.gt-lg"
|
|
409
|
+
]
|
|
410
|
+
},
|
|
411
|
+
{
|
|
412
|
+
kind: "directive",
|
|
413
|
+
type: i1.FxLayoutGapDirective,
|
|
414
|
+
selector: " [fxLayoutGap], [fxLayoutGap.xs], [fxLayoutGap.sm], [fxLayoutGap.md], [fxLayoutGap.lg], [fxLayoutGap.xl], [fxLayoutGap.lt-sm], [fxLayoutGap.lt-md], [fxLayoutGap.lt-lg], [fxLayoutGap.lt-xl], [fxLayoutGap.gt-xs], [fxLayoutGap.gt-sm], [fxLayoutGap.gt-md], [fxLayoutGap.gt-lg] ",
|
|
415
|
+
inputs: [
|
|
416
|
+
"fxLayoutGap",
|
|
417
|
+
"fxLayoutGap.xs",
|
|
418
|
+
"fxLayoutGap.sm",
|
|
419
|
+
"fxLayoutGap.md",
|
|
420
|
+
"fxLayoutGap.lg",
|
|
421
|
+
"fxLayoutGap.xl",
|
|
422
|
+
"fxLayoutGap.lt-sm",
|
|
423
|
+
"fxLayoutGap.lt-md",
|
|
424
|
+
"fxLayoutGap.lt-lg",
|
|
425
|
+
"fxLayoutGap.lt-xl",
|
|
426
|
+
"fxLayoutGap.gt-xs",
|
|
427
|
+
"fxLayoutGap.gt-sm",
|
|
428
|
+
"fxLayoutGap.gt-md",
|
|
429
|
+
"fxLayoutGap.gt-lg"
|
|
430
|
+
]
|
|
431
|
+
},
|
|
432
|
+
{
|
|
433
|
+
kind: "directive",
|
|
434
|
+
type: i1.FxFlexAlignDirective,
|
|
435
|
+
selector: " [fxFlexAlign], [fxFlexAlign.xs], [fxFlexAlign.sm], [fxFlexAlign.md], [fxFlexAlign.lg], [fxFlexAlign.xl], [fxFlexAlign.lt-sm], [fxFlexAlign.lt-md], [fxFlexAlign.lt-lg], [fxFlexAlign.lt-xl], [fxFlexAlign.gt-xs], [fxFlexAlign.gt-sm], [fxFlexAlign.gt-md], [fxFlexAlign.gt-lg] ",
|
|
436
|
+
inputs: [
|
|
437
|
+
"fxFlexAlign",
|
|
438
|
+
"fxFlexAlign.xs",
|
|
439
|
+
"fxFlexAlign.sm",
|
|
440
|
+
"fxFlexAlign.md",
|
|
441
|
+
"fxFlexAlign.lg",
|
|
442
|
+
"fxFlexAlign.xl",
|
|
443
|
+
"fxFlexAlign.lt-sm",
|
|
444
|
+
"fxFlexAlign.lt-md",
|
|
445
|
+
"fxFlexAlign.lt-lg",
|
|
446
|
+
"fxFlexAlign.lt-xl",
|
|
447
|
+
"fxFlexAlign.gt-xs",
|
|
448
|
+
"fxFlexAlign.gt-sm",
|
|
449
|
+
"fxFlexAlign.gt-md",
|
|
450
|
+
"fxFlexAlign.gt-lg"
|
|
451
|
+
]
|
|
452
|
+
},
|
|
453
|
+
{
|
|
454
|
+
kind: "directive",
|
|
455
|
+
type: i1.FxFlexFillDirective,
|
|
456
|
+
selector: " [fxFlexFill], [fxFill], [fxFlexFill.xs], [fxFlexFill.sm], [fxFlexFill.md], [fxFlexFill.lg], [fxFlexFill.xl], [fxFlexFill.lt-sm], [fxFlexFill.lt-md], [fxFlexFill.lt-lg], [fxFlexFill.lt-xl], [fxFlexFill.gt-xs], [fxFlexFill.gt-sm], [fxFlexFill.gt-md], [fxFlexFill.gt-lg] ",
|
|
457
|
+
inputs: [
|
|
458
|
+
"fxFlexFill",
|
|
459
|
+
"fxFill",
|
|
460
|
+
"fxFlexFill.xs",
|
|
461
|
+
"fxFlexFill.sm",
|
|
462
|
+
"fxFlexFill.md",
|
|
463
|
+
"fxFlexFill.lg",
|
|
464
|
+
"fxFlexFill.xl",
|
|
465
|
+
"fxFlexFill.lt-sm",
|
|
466
|
+
"fxFlexFill.lt-md",
|
|
467
|
+
"fxFlexFill.lt-lg",
|
|
468
|
+
"fxFlexFill.lt-xl",
|
|
469
|
+
"fxFlexFill.gt-xs",
|
|
470
|
+
"fxFlexFill.gt-sm",
|
|
471
|
+
"fxFlexFill.gt-md",
|
|
472
|
+
"fxFlexFill.gt-lg"
|
|
473
|
+
]
|
|
474
|
+
},
|
|
475
|
+
{
|
|
476
|
+
kind: "ngmodule",
|
|
477
|
+
type: MatButtonModule
|
|
478
|
+
},
|
|
479
|
+
{
|
|
480
|
+
kind: "component",
|
|
481
|
+
type: i2.MatIconButton,
|
|
482
|
+
selector: "button[mat-icon-button], a[mat-icon-button], button[matIconButton], a[matIconButton]",
|
|
483
|
+
exportAs: ["matButton", "matAnchor"]
|
|
484
|
+
},
|
|
485
|
+
{
|
|
486
|
+
kind: "ngmodule",
|
|
487
|
+
type: MatTooltipModule
|
|
488
|
+
},
|
|
489
|
+
{
|
|
490
|
+
kind: "directive",
|
|
491
|
+
type: i3.MatTooltip,
|
|
492
|
+
selector: "[matTooltip]",
|
|
493
|
+
inputs: [
|
|
494
|
+
"matTooltipPosition",
|
|
495
|
+
"matTooltipPositionAtOrigin",
|
|
496
|
+
"matTooltipDisabled",
|
|
497
|
+
"matTooltipShowDelay",
|
|
498
|
+
"matTooltipHideDelay",
|
|
499
|
+
"matTooltipTouchGestures",
|
|
500
|
+
"matTooltip",
|
|
501
|
+
"matTooltipClass"
|
|
502
|
+
],
|
|
503
|
+
exportAs: ["matTooltip"]
|
|
504
|
+
},
|
|
505
|
+
{
|
|
506
|
+
kind: "ngmodule",
|
|
507
|
+
type: MatIconModule
|
|
508
|
+
},
|
|
509
|
+
{
|
|
510
|
+
kind: "component",
|
|
511
|
+
type: i4.MatIcon,
|
|
512
|
+
selector: "mat-icon",
|
|
513
|
+
inputs: [
|
|
514
|
+
"color",
|
|
515
|
+
"inline",
|
|
516
|
+
"svgIcon",
|
|
517
|
+
"fontSet",
|
|
518
|
+
"fontIcon"
|
|
519
|
+
],
|
|
520
|
+
exportAs: ["matIcon"]
|
|
521
|
+
},
|
|
522
|
+
{
|
|
523
|
+
kind: "ngmodule",
|
|
524
|
+
type: MatProgressBarModule
|
|
525
|
+
},
|
|
526
|
+
{
|
|
527
|
+
kind: "component",
|
|
528
|
+
type: i5.MatProgressBar,
|
|
529
|
+
selector: "mat-progress-bar",
|
|
530
|
+
inputs: [
|
|
531
|
+
"color",
|
|
532
|
+
"value",
|
|
533
|
+
"bufferValue",
|
|
534
|
+
"mode"
|
|
535
|
+
],
|
|
536
|
+
outputs: ["animationEnd"],
|
|
537
|
+
exportAs: ["matProgressBar"]
|
|
538
|
+
},
|
|
539
|
+
{
|
|
540
|
+
kind: "directive",
|
|
541
|
+
type: MatDialogTitle,
|
|
542
|
+
selector: "[mat-dialog-title], [matDialogTitle]",
|
|
543
|
+
inputs: ["id"],
|
|
544
|
+
exportAs: ["matDialogTitle"]
|
|
545
|
+
},
|
|
546
|
+
{
|
|
547
|
+
kind: "directive",
|
|
548
|
+
type: MatDialogContent,
|
|
549
|
+
selector: "[mat-dialog-content], mat-dialog-content, [matDialogContent]"
|
|
550
|
+
},
|
|
551
|
+
{
|
|
552
|
+
kind: "ngmodule",
|
|
553
|
+
type: MatSidenavModule
|
|
554
|
+
},
|
|
555
|
+
{
|
|
556
|
+
kind: "component",
|
|
557
|
+
type: i6.MatDrawer,
|
|
558
|
+
selector: "mat-drawer",
|
|
559
|
+
inputs: [
|
|
560
|
+
"position",
|
|
561
|
+
"mode",
|
|
562
|
+
"disableClose",
|
|
563
|
+
"autoFocus",
|
|
564
|
+
"opened"
|
|
565
|
+
],
|
|
566
|
+
outputs: [
|
|
567
|
+
"openedChange",
|
|
568
|
+
"opened",
|
|
569
|
+
"openedStart",
|
|
570
|
+
"closed",
|
|
571
|
+
"closedStart",
|
|
572
|
+
"positionChanged"
|
|
573
|
+
],
|
|
574
|
+
exportAs: ["matDrawer"]
|
|
575
|
+
},
|
|
576
|
+
{
|
|
577
|
+
kind: "component",
|
|
578
|
+
type: i6.MatDrawerContainer,
|
|
579
|
+
selector: "mat-drawer-container",
|
|
580
|
+
inputs: ["autosize", "hasBackdrop"],
|
|
581
|
+
outputs: ["backdropClick"],
|
|
582
|
+
exportAs: ["matDrawerContainer"]
|
|
583
|
+
},
|
|
584
|
+
{
|
|
585
|
+
kind: "component",
|
|
586
|
+
type: i6.MatDrawerContent,
|
|
587
|
+
selector: "mat-drawer-content"
|
|
588
|
+
},
|
|
589
|
+
{
|
|
590
|
+
kind: "ngmodule",
|
|
591
|
+
type: MatTreeModule
|
|
592
|
+
},
|
|
593
|
+
{
|
|
594
|
+
kind: "directive",
|
|
595
|
+
type: i7.MatTreeNodeDef,
|
|
596
|
+
selector: "[matTreeNodeDef]",
|
|
597
|
+
inputs: ["matTreeNodeDefWhen", "matTreeNode"]
|
|
598
|
+
},
|
|
599
|
+
{
|
|
600
|
+
kind: "directive",
|
|
601
|
+
type: i7.MatTreeNodePadding,
|
|
602
|
+
selector: "[matTreeNodePadding]",
|
|
603
|
+
inputs: ["matTreeNodePadding", "matTreeNodePaddingIndent"]
|
|
604
|
+
},
|
|
605
|
+
{
|
|
606
|
+
kind: "directive",
|
|
607
|
+
type: i7.MatTreeNodeToggle,
|
|
608
|
+
selector: "[matTreeNodeToggle]",
|
|
609
|
+
inputs: ["matTreeNodeToggleRecursive"]
|
|
610
|
+
},
|
|
611
|
+
{
|
|
612
|
+
kind: "component",
|
|
613
|
+
type: i7.MatTree,
|
|
614
|
+
selector: "mat-tree",
|
|
615
|
+
exportAs: ["matTree"]
|
|
616
|
+
},
|
|
617
|
+
{
|
|
618
|
+
kind: "directive",
|
|
619
|
+
type: i7.MatTreeNode,
|
|
620
|
+
selector: "mat-tree-node",
|
|
621
|
+
inputs: ["tabIndex", "disabled"],
|
|
622
|
+
outputs: ["activation", "expandedChange"],
|
|
623
|
+
exportAs: ["matTreeNode"]
|
|
624
|
+
},
|
|
625
|
+
{
|
|
626
|
+
kind: "pipe",
|
|
627
|
+
type: SafeHtmlPipe,
|
|
628
|
+
name: "safeHtml"
|
|
629
|
+
}
|
|
630
|
+
],
|
|
631
|
+
changeDetection: i0.ChangeDetectionStrategy.OnPush,
|
|
632
|
+
encapsulation: i0.ViewEncapsulation.None
|
|
633
|
+
});
|
|
634
|
+
}
|
|
635
|
+
};
|
|
636
|
+
i0.ɵɵngDeclareClassMetadata({
|
|
637
|
+
minVersion: "12.0.0",
|
|
638
|
+
version: "22.2.1",
|
|
639
|
+
ngImport: i0,
|
|
640
|
+
type: HelpViewerComponent,
|
|
641
|
+
decorators: [{
|
|
642
|
+
type: Component,
|
|
643
|
+
args: [{
|
|
644
|
+
host: { "Bind": SystemUtils.generateUUID() },
|
|
645
|
+
encapsulation: ViewEncapsulation.None,
|
|
646
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
647
|
+
providers: [IndexTreeDataSource],
|
|
648
|
+
standalone: true,
|
|
649
|
+
imports: [
|
|
650
|
+
FlexLayoutModule,
|
|
651
|
+
MatButtonModule,
|
|
652
|
+
MatTooltipModule,
|
|
653
|
+
MatIconModule,
|
|
654
|
+
MatProgressBarModule,
|
|
655
|
+
MatDialogTitle,
|
|
656
|
+
MatDialogContent,
|
|
657
|
+
MatSidenavModule,
|
|
658
|
+
MatTreeModule,
|
|
659
|
+
SafeHtmlPipe
|
|
660
|
+
],
|
|
661
|
+
template: "<div class=\"helpviewer-fixed\">\r\n <div style=\"height:6px\">\r\n @if (busy()) {\r\n <mat-progress-bar z-index=\"11\" mode=\"indeterminate\"></mat-progress-bar>\r\n }\r\n </div>\r\n <div class=\"dialog-header\">\r\n <div fxLayout=\"row\" fxLayoutAlign=\"start center\" fxLayoutGap=\"10px\" fxFill>\r\n <div class=\"dialog-menu\">\r\n <button type=\"button\" mat-icon-button matTooltip=\"Mostra menu\" [attr.aria-label]=\"'Mostra indice'\"\r\n (click)=\"toggleIndexPane()\">\r\n <mat-icon>menu</mat-icon>\r\n </button>\r\n </div>\r\n <div fxFlex=\"*\">\r\n <div mat-dialog-title>Guida</div>\r\n </div>\r\n <div fxFlex=\"100px\" fxLayoutAlign=\"end\" class=\"dialog-close\">\r\n @if (canGoBack()) {\r\n <button fxFlexAlign=\"start\" type=\"button\" mat-icon-button matTooltip=\"Indietro\" (click)=\"back()\">\r\n <mat-icon>arrow_back</mat-icon>\r\n </button>\r\n }\r\n <button fxFlexAlign=\"start\" type=\"button\" mat-icon-button matTooltip=\"Chiudi\" (click)=\"close()\">\r\n <mat-icon>close</mat-icon>\r\n </button>\r\n </div>\r\n </div>\r\n </div>\r\n\r\n</div>\r\n<mat-dialog-content id=\"helpviewer-scrollable\">\r\n <mat-drawer-container class=\"fill\">\r\n <mat-drawer #indexPane mode=\"side\" [autoFocus]=\"false\" class=\"drawer-small drawer-transparent\">\r\n <div fxLayout=\"column\" fxFill>\r\n <div fxFlex=\"*\">\r\n <mat-tree [dataSource]=\"flatNodes()\" [levelAccessor]=\"levelAccessor\" class=\"tree \" style=\"max-width:310px\">\r\n <mat-tree-node *matTreeNodeDef=\"let node\" matTreeNodeToggle matTreeNodePadding\r\n [matTreeNodePaddingIndent]=\"20\" class=\"tree-node tree-node-simple tree-node-style\"\r\n (click)=\"getChapter(node.id);\" [class.tree-node-activated]=\"indexNode && indexNode.id === node.id\"\r\n [disabled]=\"busy()\">\r\n <div fxLayout=\"row\" fxLayoutGap=\"10px\" fxFill class=\"small uppercase\">\r\n <button type=\"button\" fxFlexAlign=\"center\" mat-icon-button disabled class=\"small-icon-button\"></button>\r\n <div fxFlex=\"*\" fxFlexAlign=\"center\">{{node.name}}</div>\r\n </div>\r\n </mat-tree-node>\r\n <mat-tree-node #treeNodeRef=\"matTreeNode\" *matTreeNodeDef=\"let node;when: hasChild\" matTreeNodePadding [matTreeNodePaddingIndent]=\"20\"\r\n class=\"tree-node tree-node-simple tree-node-style\"\r\n [class.tree-node-activated]=\"indexNode && indexNode.id === node.id\" (click)=\"getChapter(node.id)\"\r\n [disabled]=\"busy()\">\r\n <div fxLayout=\"row\" fxLayoutGap=\"10px\" fxFill class=\"small uppercase\">\r\n <button type=\"button\" fxFlexAlign=\"center\" mat-icon-button matTreeNodeToggle\r\n [attr.aria-label]=\"'Apri/chiudi ' + node.name\" class=\"small-icon-button\">\r\n <mat-icon class=\"mat-icon-rtl-mirror\">\r\n {{treeNodeRef.isExpanded ? 'expand_more' : 'chevron_right'}}\r\n </mat-icon>\r\n </button>\r\n <div fxFlex=\"*\" fxFlexAlign=\"center\">{{node.name}}</div>\r\n </div>\r\n </mat-tree-node>\r\n </mat-tree>\r\n </div>\r\n </div>\r\n </mat-drawer>\r\n <mat-drawer-content id=\"helpviewer-scroller\">\r\n <div style=\"padding: 0 24px;\">\r\n <div fxLayout=\"column\" fxFill>\r\n <div class=\"fill\" (click)=\"gotoChapter($event)\" [innerHtml]=\"(page() ?? '') | safeHtml\"></div>\r\n </div>\r\n </div>\r\n </mat-drawer-content>\r\n </mat-drawer-container>\r\n</mat-dialog-content>",
|
|
662
|
+
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}}.dialog-menu{margin-top:4px!important}.tree{overflow-x:hidden}.tree-node{min-height:36px!important;padding-right:12px;margin-right:0}.tree-node .small-icon-button{width:2rem!important;height:2rem!important;padding:0!important;display:inline-flex!important;align-items:center;justify-content:center}.tree-node .small-icon-button .mat-mdc-button-touch-target{width:2rem!important;height:2rem!important}.tree-node:hover{cursor:pointer;background-color:var(--mat-menu-item-hover-state-layer-color, transparent);border-radius:24px}.tree-node-simple,.tree-node-simple>div{min-height:32px!important}.tree-node-activated,.tree-node-activated>div{font-weight:700!important;color:var(--ars-color-accent, #7894ae)!important}a.help-link,.help-link>a{text-decoration:none;color:#2a91e0}.help-title-2,.help-title-1{font-weight:600!important}.help-word-hit{font-size:inherit;background-color:var(--ars-word-hit-background-color, yellow);padding:0 4px}.help-hint{margin:10px;padding:5px 20px;background-color:var(--ars-help-hint-background-color, lightgoldenrodyellow);border-radius:12px}.help-summary{margin:10px;padding:5px 20px;background-color:var(--ars-help-summary-background-color, lavender);border-radius:12px}.help-img{display:flex;align-items:center;justify-content:center;margin:10px}.help-img-200,.help-img-300,.help-img-400,.help-img-500,.help-img-700,.help-img-800{width:100%}.help-img-200{max-width:200px}.help-img-300{max-width:300px}.help-img-400{max-width:400px}.help-img-500{max-width:500px}.help-img-600{max-width:600px}.help-img-700{max-width:700px}.help-img-800{max-width:800px}.help-filter-box{background-color:var(--ars-filterbox-filtered-background-color, #f9fbe7);border-radius:12px;padding:6px;display:inline-block;margin:0 0 8px 10px}.mat-mdc-dialog-content{max-height:unset!important;padding:0!important}\n"]
|
|
663
|
+
}]
|
|
664
|
+
}],
|
|
665
|
+
ctorParameters: () => [],
|
|
666
|
+
propDecorators: {
|
|
667
|
+
indexPane: [{
|
|
668
|
+
type: i0.ViewChild,
|
|
669
|
+
args: ["indexPane", { isSignal: true }]
|
|
670
|
+
}],
|
|
671
|
+
matTree: [{
|
|
672
|
+
type: i0.ViewChild,
|
|
673
|
+
args: [i0.forwardRef(() => MatTree), { isSignal: true }]
|
|
674
|
+
}]
|
|
675
|
+
}
|
|
676
|
+
});
|
|
677
|
+
var HelpService = class HelpService {
|
|
678
|
+
constructor() {
|
|
679
|
+
this.httpClient = inject(HttpClient);
|
|
680
|
+
this.dialogService = inject(DialogService);
|
|
681
|
+
}
|
|
682
|
+
initialize(serviceUri) {
|
|
683
|
+
this.serviceUri = serviceUri;
|
|
684
|
+
}
|
|
685
|
+
getChapter(id, query = void 0) {
|
|
686
|
+
return this.httpClient.get(this.serviceUri + "/help/chapter/" + id + "/?query=" + (query ?? ""));
|
|
687
|
+
}
|
|
688
|
+
getChapterInfo(id) {
|
|
689
|
+
return this.httpClient.get(this.serviceUri + "/help/chapter/info/" + id);
|
|
690
|
+
}
|
|
691
|
+
getRepo(id) {
|
|
692
|
+
return this.httpClient.get(this.serviceUri + "/help/repo/" + id);
|
|
693
|
+
}
|
|
694
|
+
getToc() {
|
|
695
|
+
return this.httpClient.get(this.serviceUri + "/help/toc");
|
|
696
|
+
}
|
|
697
|
+
show(id = "1") {
|
|
698
|
+
this.dialogService.open(HelpViewerComponent, {
|
|
699
|
+
ariaLabel: "guida",
|
|
700
|
+
autoFocus: "dialog",
|
|
701
|
+
restoreFocus: false,
|
|
702
|
+
disableClose: true,
|
|
703
|
+
data: { id },
|
|
704
|
+
minWidth: "375px",
|
|
705
|
+
maxWidth: "1200px",
|
|
706
|
+
width: "100%",
|
|
707
|
+
height: "100%"
|
|
708
|
+
});
|
|
709
|
+
}
|
|
710
|
+
static {
|
|
711
|
+
this.ɵfac = i0.ɵɵngDeclareFactory({
|
|
712
|
+
minVersion: "12.0.0",
|
|
713
|
+
version: "22.2.1",
|
|
714
|
+
ngImport: i0,
|
|
715
|
+
type: HelpService,
|
|
716
|
+
deps: [],
|
|
717
|
+
target: i0.ɵɵFactoryTarget.Service
|
|
718
|
+
});
|
|
719
|
+
}
|
|
720
|
+
static {
|
|
721
|
+
this.ɵprov = i0.ɵɵngDeclareService({
|
|
722
|
+
minVersion: "22.0.0",
|
|
723
|
+
version: "22.2.1",
|
|
724
|
+
ngImport: i0,
|
|
725
|
+
type: HelpService
|
|
726
|
+
});
|
|
727
|
+
}
|
|
728
|
+
};
|
|
729
|
+
i0.ɵɵngDeclareClassMetadata({
|
|
730
|
+
minVersion: "12.0.0",
|
|
731
|
+
version: "22.2.1",
|
|
732
|
+
ngImport: i0,
|
|
733
|
+
type: HelpService,
|
|
734
|
+
decorators: [{ type: Service }]
|
|
735
|
+
});
|
|
530
736
|
export { HelpService, HelpViewerComponent, IndexInfo, IndexNode, IndexTreeDataSource };
|
|
531
|
-
|
|
737
|
+
|
|
738
|
+
//# sourceMappingURL=arsedizioni-ars-utils-ui.help.mjs.map
|