@arsedizioni/ars-utils 21.2.359 → 21.2.361
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 +10 -10
- package/fesm2022/arsedizioni-ars-utils-clipper.ui.mjs +65 -63
- package/fesm2022/arsedizioni-ars-utils-clipper.ui.mjs.map +1 -1
- package/fesm2022/arsedizioni-ars-utils-core.mjs +143 -133
- package/fesm2022/arsedizioni-ars-utils-core.mjs.map +1 -1
- package/fesm2022/arsedizioni-ars-utils-evolution.common.mjs +10 -10
- package/fesm2022/arsedizioni-ars-utils-help.mjs +13 -13
- package/fesm2022/arsedizioni-ars-utils-support.common.mjs +7 -7
- package/fesm2022/arsedizioni-ars-utils-support.ui.mjs +6 -6
- package/fesm2022/arsedizioni-ars-utils-tinymce.mjs +7 -7
- package/fesm2022/arsedizioni-ars-utils-ui.application.mjs +64 -64
- package/fesm2022/arsedizioni-ars-utils-ui.mjs +202 -104
- package/fesm2022/arsedizioni-ars-utils-ui.mjs.map +1 -1
- package/fesm2022/arsedizioni-ars-utils-ui.oauth.mjs +10 -10
- package/package.json +1 -1
- package/types/arsedizioni-ars-utils-clipper.ui.d.ts +12 -7
- package/types/arsedizioni-ars-utils-ui.application.d.ts +1 -1
- package/types/arsedizioni-ars-utils-ui.d.ts +24 -4
|
@@ -23,10 +23,10 @@ class AutoFocusDirective {
|
|
|
23
23
|
this.elementRef.nativeElement?.focus();
|
|
24
24
|
});
|
|
25
25
|
}
|
|
26
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
27
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.
|
|
26
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.15", ngImport: i0, type: AutoFocusDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
27
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.15", type: AutoFocusDirective, isStandalone: true, selector: "[autoFocus]", ngImport: i0 }); }
|
|
28
28
|
}
|
|
29
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
29
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.15", ngImport: i0, type: AutoFocusDirective, decorators: [{
|
|
30
30
|
type: Directive,
|
|
31
31
|
args: [{
|
|
32
32
|
selector: '[autoFocus]',
|
|
@@ -373,54 +373,63 @@ class SystemUtils {
|
|
|
373
373
|
* @returns the html
|
|
374
374
|
*/
|
|
375
375
|
static markdownToHtml(markdown, escapeEntities = false) {
|
|
376
|
+
if (!markdown)
|
|
377
|
+
return '';
|
|
376
378
|
let html = markdown;
|
|
377
|
-
//1. Escape HTML entities
|
|
379
|
+
// 1. Escape HTML entities
|
|
378
380
|
if (escapeEntities) {
|
|
379
381
|
html = html.replace(/&/g, '&').replace(/</g, '<').replace(/>/g, '>');
|
|
380
382
|
}
|
|
381
|
-
// 2.
|
|
383
|
+
// 2. Protect code from inline formatting by replacing it with placeholders.
|
|
384
|
+
// Placeholders are HTML-comment shaped so block detection treats them correctly.
|
|
385
|
+
const codeStore = [];
|
|
386
|
+
const stash = (content) => `<!--C${codeStore.push(content) - 1}-->`;
|
|
387
|
+
// 2a. Fenced code blocks
|
|
382
388
|
html = html.replace(/```(\w+)?\n([\s\S]*?)```/g, (_match, lang, code) => {
|
|
383
389
|
const langClass = lang ? ` class="language-${lang}"` : '';
|
|
384
|
-
return `<pre><code${langClass}>${code.trim()}</code></pre
|
|
390
|
+
return stash(`<pre><code${langClass}>${code.trim()}</code></pre>`);
|
|
385
391
|
});
|
|
386
|
-
//
|
|
387
|
-
html = html.replace(/`([^`]+)`/g,
|
|
388
|
-
//
|
|
392
|
+
// 2b. Inline code
|
|
393
|
+
html = html.replace(/`([^`]+)`/g, (_match, code) => stash(`<code>${code}</code>`));
|
|
394
|
+
// 3. Headers
|
|
389
395
|
html = html.replace(/^##### (.*$)/gim, '<h5>$1</h5>');
|
|
390
396
|
html = html.replace(/^#### (.*$)/gim, '<h4>$1</h4>');
|
|
391
397
|
html = html.replace(/^### (.*$)/gim, '<h3>$1</h3>');
|
|
392
398
|
html = html.replace(/^## (.*$)/gim, '<h2>$1</h2>');
|
|
393
399
|
html = html.replace(/^# (.*$)/gim, '<h1>$1</h1>');
|
|
394
|
-
//
|
|
400
|
+
// 4. Horizontal rules
|
|
395
401
|
html = html.replace(/^---+$/gim, '<hr>');
|
|
396
402
|
html = html.replace(/^\*\*\*+$/gim, '<hr>');
|
|
397
|
-
//
|
|
403
|
+
// 5. Links
|
|
398
404
|
html = html.replace(/\[([^\]]+)\]\(([^)]+)\)/g, '<a href="$2">$1</a>');
|
|
399
|
-
//
|
|
405
|
+
// 6. Images
|
|
400
406
|
html = html.replace(/!\[([^\]]*)\]\(([^)]+)\)/g, '<img src="$2" alt="$1">');
|
|
401
|
-
//
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
html = html.replace(
|
|
406
|
-
html = html.replace(
|
|
407
|
-
html = html.replace(
|
|
408
|
-
|
|
409
|
-
html = html.replace(
|
|
410
|
-
|
|
407
|
+
// 7. Bold and Italic.
|
|
408
|
+
// Delimiters must hug the text (no inner spaces) so spacing between
|
|
409
|
+
// separate styled spans is preserved. Underscore emphasis only applies at
|
|
410
|
+
// word boundaries, so identifiers like snake_case are left untouched.
|
|
411
|
+
html = html.replace(/\*\*\*(?=\S)([\s\S]*?\S)\*\*\*/g, '<strong><em>$1</em></strong>');
|
|
412
|
+
html = html.replace(/(?<![\w*])___(?=\S)([\s\S]*?\S)___(?![\w*])/g, '<strong><em>$1</em></strong>');
|
|
413
|
+
html = html.replace(/\*\*(?=\S)([\s\S]*?\S)\*\*/g, '<strong>$1</strong>');
|
|
414
|
+
html = html.replace(/(?<![\w*])__(?=\S)([\s\S]*?\S)__(?![\w*])/g, '<strong>$1</strong>');
|
|
415
|
+
html = html.replace(/\*(?=\S)([^*\n]*?\S)\*/g, '<em>$1</em>');
|
|
416
|
+
html = html.replace(/(?<![\w_])_(?=\S)([^_\n]*?\S)_(?![\w_])/g, '<em>$1</em>');
|
|
417
|
+
// 8. Strikethrough
|
|
418
|
+
html = html.replace(/~~(?=\S)([\s\S]*?\S)~~/g, '<del>$1</del>');
|
|
419
|
+
// 9. Blockquotes
|
|
411
420
|
html = html.replace(/^> (.*$)/gim, '<blockquote>$1</blockquote>');
|
|
412
|
-
//
|
|
421
|
+
// 10. Tables
|
|
413
422
|
html = this.markdownConvertTables(html);
|
|
414
|
-
//
|
|
423
|
+
// 11. Lists
|
|
415
424
|
html = this.markdownConvertLists(html);
|
|
416
|
-
//
|
|
417
|
-
html = html.replace(/
|
|
418
|
-
//
|
|
425
|
+
// 12. Line breaks (two trailing spaces)
|
|
426
|
+
html = html.replace(/ {2}$/gm, '<br>');
|
|
427
|
+
// 13. Paragraphs (last block step, to avoid interfering with other elements)
|
|
419
428
|
html = this.markdownConvertParagraphs(html);
|
|
420
|
-
//
|
|
421
|
-
html = html.replace(/\`\`\`markdown/g, '');
|
|
422
|
-
html = html.replace(/\*\*/g, '');
|
|
429
|
+
// 14. Collapse extra blank lines
|
|
423
430
|
html = html.replace(/\n{3,}/g, '\n\n');
|
|
431
|
+
// 15. Restore protected code placeholders
|
|
432
|
+
html = html.replace(/<!--C(\d+)-->/g, (_match, index) => codeStore[Number(index)] ?? '');
|
|
424
433
|
return html.trim();
|
|
425
434
|
}
|
|
426
435
|
/**
|
|
@@ -550,6 +559,10 @@ class SystemUtils {
|
|
|
550
559
|
* @returns the html
|
|
551
560
|
*/
|
|
552
561
|
static markdownConvertParagraphs(markdown) {
|
|
562
|
+
// Block-level tags that must not be wrapped in a paragraph.
|
|
563
|
+
const blockTag = /^<\/?(h[1-6]|ul|ol|li|table|thead|tbody|tfoot|tr|td|th|pre|blockquote|hr|p|div)\b/i;
|
|
564
|
+
// A line consisting solely of a protected code placeholder is block-level.
|
|
565
|
+
const codePlaceholder = /^<!--C\d+-->$/;
|
|
553
566
|
const lines = markdown.split('\n');
|
|
554
567
|
const result = [];
|
|
555
568
|
for (const line of lines) {
|
|
@@ -558,14 +571,11 @@ class SystemUtils {
|
|
|
558
571
|
result.push('');
|
|
559
572
|
continue;
|
|
560
573
|
}
|
|
561
|
-
if (
|
|
562
|
-
result.push(line);
|
|
563
|
-
continue;
|
|
564
|
-
}
|
|
565
|
-
if (trimmed.startsWith('<') || trimmed.endsWith('>')) {
|
|
574
|
+
if (blockTag.test(trimmed) || codePlaceholder.test(trimmed)) {
|
|
566
575
|
result.push(line);
|
|
567
576
|
continue;
|
|
568
577
|
}
|
|
578
|
+
// Plain text or inline-level content (strong, em, a, code, ...) becomes a paragraph.
|
|
569
579
|
result.push(`<p>${trimmed}</p>`);
|
|
570
580
|
}
|
|
571
581
|
return result.join('\n');
|
|
@@ -1166,10 +1176,10 @@ class DateIntervalChangeDirective {
|
|
|
1166
1176
|
}
|
|
1167
1177
|
this.subject.next(e);
|
|
1168
1178
|
}
|
|
1169
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
1170
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.
|
|
1179
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.15", ngImport: i0, type: DateIntervalChangeDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
1180
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.15", type: DateIntervalChangeDirective, isStandalone: true, selector: "[dateIntervalChange]", inputs: { dateIntervalChange: { classPropertyName: "dateIntervalChange", publicName: "dateIntervalChange", isSignal: true, isRequired: false, transformFunction: null }, end: { classPropertyName: "end", publicName: "end", isSignal: true, isRequired: false, transformFunction: null } }, host: { listeners: { "keyup": "onKeyup($event)" } }, ngImport: i0 }); }
|
|
1171
1181
|
}
|
|
1172
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
1182
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.15", ngImport: i0, type: DateIntervalChangeDirective, decorators: [{
|
|
1173
1183
|
type: Directive,
|
|
1174
1184
|
args: [{
|
|
1175
1185
|
selector: '[dateIntervalChange]',
|
|
@@ -1212,10 +1222,10 @@ class CopyClipboardDirective {
|
|
|
1212
1222
|
document.removeEventListener('copy', listener, false);
|
|
1213
1223
|
}
|
|
1214
1224
|
}
|
|
1215
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
1216
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.
|
|
1225
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.15", ngImport: i0, type: CopyClipboardDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
1226
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.15", type: CopyClipboardDirective, isStandalone: true, selector: "[copyClipboard]", inputs: { payload: { classPropertyName: "payload", publicName: "copyClipboard", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { copied: "copied" }, host: { listeners: { "click": "onClick($event)" } }, ngImport: i0 }); }
|
|
1217
1227
|
}
|
|
1218
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
1228
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.15", ngImport: i0, type: CopyClipboardDirective, decorators: [{
|
|
1219
1229
|
type: Directive,
|
|
1220
1230
|
args: [{
|
|
1221
1231
|
selector: '[copyClipboard]',
|
|
@@ -1244,10 +1254,10 @@ class ValidatorDirective {
|
|
|
1244
1254
|
const fn = this.validator();
|
|
1245
1255
|
return fn ? fn(control) : null;
|
|
1246
1256
|
}
|
|
1247
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
1248
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.
|
|
1257
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.15", ngImport: i0, type: ValidatorDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
1258
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.15", type: ValidatorDirective, isStandalone: true, selector: "[validator]", inputs: { validator: { classPropertyName: "validator", publicName: "validator", isSignal: true, isRequired: false, transformFunction: null } }, providers: [{ provide: NG_VALIDATORS, useExisting: ValidatorDirective, multi: true }], ngImport: i0 }); }
|
|
1249
1259
|
}
|
|
1250
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
1260
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.15", ngImport: i0, type: ValidatorDirective, decorators: [{
|
|
1251
1261
|
type: Directive,
|
|
1252
1262
|
args: [{
|
|
1253
1263
|
selector: '[validator]',
|
|
@@ -1283,8 +1293,8 @@ class ValidIfDirective {
|
|
|
1283
1293
|
}
|
|
1284
1294
|
return isValid ? null : { validIf: "Non valido." };
|
|
1285
1295
|
}
|
|
1286
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
1287
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.
|
|
1296
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.15", ngImport: i0, type: ValidIfDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
1297
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.15", type: ValidIfDirective, isStandalone: true, selector: "[validIf]", inputs: { validIf: { classPropertyName: "validIf", publicName: "validIf", isSignal: true, isRequired: false, transformFunction: null } }, providers: [
|
|
1288
1298
|
{
|
|
1289
1299
|
provide: NG_VALIDATORS,
|
|
1290
1300
|
useExisting: forwardRef(() => ValidIfDirective),
|
|
@@ -1292,7 +1302,7 @@ class ValidIfDirective {
|
|
|
1292
1302
|
},
|
|
1293
1303
|
], ngImport: i0 }); }
|
|
1294
1304
|
}
|
|
1295
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
1305
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.15", ngImport: i0, type: ValidIfDirective, decorators: [{
|
|
1296
1306
|
type: Directive,
|
|
1297
1307
|
args: [{
|
|
1298
1308
|
selector: "[validIf]",
|
|
@@ -1327,8 +1337,8 @@ class EqualsValidatorDirective {
|
|
|
1327
1337
|
return null;
|
|
1328
1338
|
return eq.value === control.value ? null : { equals: "Non valido." };
|
|
1329
1339
|
}
|
|
1330
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
1331
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.
|
|
1340
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.15", ngImport: i0, type: EqualsValidatorDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
1341
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.15", type: EqualsValidatorDirective, isStandalone: true, selector: "[equals]", inputs: { equals: { classPropertyName: "equals", publicName: "equals", isSignal: true, isRequired: false, transformFunction: null } }, providers: [
|
|
1332
1342
|
{
|
|
1333
1343
|
provide: NG_VALIDATORS,
|
|
1334
1344
|
useExisting: forwardRef(() => EqualsValidatorDirective),
|
|
@@ -1336,7 +1346,7 @@ class EqualsValidatorDirective {
|
|
|
1336
1346
|
},
|
|
1337
1347
|
], ngImport: i0 }); }
|
|
1338
1348
|
}
|
|
1339
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
1349
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.15", ngImport: i0, type: EqualsValidatorDirective, decorators: [{
|
|
1340
1350
|
type: Directive,
|
|
1341
1351
|
args: [{
|
|
1342
1352
|
selector: "[equals]",
|
|
@@ -1383,8 +1393,8 @@ class NotEqualValidatorDirective {
|
|
|
1383
1393
|
}
|
|
1384
1394
|
return errors;
|
|
1385
1395
|
}
|
|
1386
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
1387
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.
|
|
1396
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.15", ngImport: i0, type: NotEqualValidatorDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
1397
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.15", type: NotEqualValidatorDirective, isStandalone: true, selector: "[notEqual]", inputs: { notEqual: { classPropertyName: "notEqual", publicName: "notEqual", isSignal: true, isRequired: false, transformFunction: null } }, providers: [
|
|
1388
1398
|
{
|
|
1389
1399
|
provide: NG_VALIDATORS,
|
|
1390
1400
|
useExisting: forwardRef(() => NotEqualValidatorDirective),
|
|
@@ -1392,7 +1402,7 @@ class NotEqualValidatorDirective {
|
|
|
1392
1402
|
},
|
|
1393
1403
|
], ngImport: i0 }); }
|
|
1394
1404
|
}
|
|
1395
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
1405
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.15", ngImport: i0, type: NotEqualValidatorDirective, decorators: [{
|
|
1396
1406
|
type: Directive,
|
|
1397
1407
|
args: [{
|
|
1398
1408
|
selector: "[notEqual]",
|
|
@@ -1425,8 +1435,8 @@ class EmailsValidatorDirective {
|
|
|
1425
1435
|
const isValid = parts.every(part => part.length === 0 || !!SystemUtils.parseEmail(part));
|
|
1426
1436
|
return isValid ? null : { emails: "Elenco non valido." };
|
|
1427
1437
|
}
|
|
1428
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
1429
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.
|
|
1438
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.15", ngImport: i0, type: EmailsValidatorDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
1439
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.15", type: EmailsValidatorDirective, isStandalone: true, selector: "[emails]", providers: [
|
|
1430
1440
|
{
|
|
1431
1441
|
provide: NG_VALIDATORS,
|
|
1432
1442
|
useExisting: forwardRef(() => EmailsValidatorDirective),
|
|
@@ -1434,7 +1444,7 @@ class EmailsValidatorDirective {
|
|
|
1434
1444
|
},
|
|
1435
1445
|
], ngImport: i0 }); }
|
|
1436
1446
|
}
|
|
1437
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
1447
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.15", ngImport: i0, type: EmailsValidatorDirective, decorators: [{
|
|
1438
1448
|
type: Directive,
|
|
1439
1449
|
args: [{
|
|
1440
1450
|
selector: "[emails]",
|
|
@@ -1465,8 +1475,8 @@ class GuidValidatorDirective {
|
|
|
1465
1475
|
return null;
|
|
1466
1476
|
return SystemUtils.parseUUID(input) ? null : { guid: "Non valido." };
|
|
1467
1477
|
}
|
|
1468
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
1469
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.
|
|
1478
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.15", ngImport: i0, type: GuidValidatorDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
1479
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.15", type: GuidValidatorDirective, isStandalone: true, selector: "[guid]", providers: [
|
|
1470
1480
|
{
|
|
1471
1481
|
provide: NG_VALIDATORS,
|
|
1472
1482
|
useExisting: forwardRef(() => GuidValidatorDirective),
|
|
@@ -1474,7 +1484,7 @@ class GuidValidatorDirective {
|
|
|
1474
1484
|
},
|
|
1475
1485
|
], ngImport: i0 }); }
|
|
1476
1486
|
}
|
|
1477
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
1487
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.15", ngImport: i0, type: GuidValidatorDirective, decorators: [{
|
|
1478
1488
|
type: Directive,
|
|
1479
1489
|
args: [{
|
|
1480
1490
|
selector: "[guid]",
|
|
@@ -1506,8 +1516,8 @@ class SqlDateValidatorDirective {
|
|
|
1506
1516
|
const d = endOfDay(SystemUtils.parseDate(input));
|
|
1507
1517
|
return d.getFullYear() > 1750 ? null : { sqlDate: "Non valido." };
|
|
1508
1518
|
}
|
|
1509
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
1510
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.
|
|
1519
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.15", ngImport: i0, type: SqlDateValidatorDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
1520
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.15", type: SqlDateValidatorDirective, isStandalone: true, selector: "[sqlDate]", providers: [
|
|
1511
1521
|
{
|
|
1512
1522
|
provide: NG_VALIDATORS,
|
|
1513
1523
|
useExisting: forwardRef(() => SqlDateValidatorDirective),
|
|
@@ -1515,7 +1525,7 @@ class SqlDateValidatorDirective {
|
|
|
1515
1525
|
},
|
|
1516
1526
|
], ngImport: i0 }); }
|
|
1517
1527
|
}
|
|
1518
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
1528
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.15", ngImport: i0, type: SqlDateValidatorDirective, decorators: [{
|
|
1519
1529
|
type: Directive,
|
|
1520
1530
|
args: [{
|
|
1521
1531
|
selector: "[sqlDate]",
|
|
@@ -1548,8 +1558,8 @@ class NotFutureValidatorDirective {
|
|
|
1548
1558
|
const d = endOfDay(SystemUtils.parseDate(input));
|
|
1549
1559
|
return d <= today ? null : { notFuture: "Non valido." };
|
|
1550
1560
|
}
|
|
1551
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
1552
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.
|
|
1561
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.15", ngImport: i0, type: NotFutureValidatorDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
1562
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.15", type: NotFutureValidatorDirective, isStandalone: true, selector: "[notFuture]", providers: [
|
|
1553
1563
|
{
|
|
1554
1564
|
provide: NG_VALIDATORS,
|
|
1555
1565
|
useExisting: forwardRef(() => NotFutureValidatorDirective),
|
|
@@ -1557,7 +1567,7 @@ class NotFutureValidatorDirective {
|
|
|
1557
1567
|
},
|
|
1558
1568
|
], ngImport: i0 }); }
|
|
1559
1569
|
}
|
|
1560
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
1570
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.15", ngImport: i0, type: NotFutureValidatorDirective, decorators: [{
|
|
1561
1571
|
type: Directive,
|
|
1562
1572
|
args: [{
|
|
1563
1573
|
selector: "[notFuture]",
|
|
@@ -1588,8 +1598,8 @@ class UrlValidatorDirective {
|
|
|
1588
1598
|
return null;
|
|
1589
1599
|
return SystemUtils.parseUrl(input) ? null : { url: "Non valido." };
|
|
1590
1600
|
}
|
|
1591
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
1592
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.
|
|
1601
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.15", ngImport: i0, type: UrlValidatorDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
1602
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.15", type: UrlValidatorDirective, isStandalone: true, selector: "[url]", providers: [
|
|
1593
1603
|
{
|
|
1594
1604
|
provide: NG_VALIDATORS,
|
|
1595
1605
|
useExisting: forwardRef(() => UrlValidatorDirective),
|
|
@@ -1597,7 +1607,7 @@ class UrlValidatorDirective {
|
|
|
1597
1607
|
},
|
|
1598
1608
|
], ngImport: i0 }); }
|
|
1599
1609
|
}
|
|
1600
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
1610
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.15", ngImport: i0, type: UrlValidatorDirective, decorators: [{
|
|
1601
1611
|
type: Directive,
|
|
1602
1612
|
args: [{
|
|
1603
1613
|
selector: "[url]",
|
|
@@ -1638,8 +1648,8 @@ class FileSizeValidatorDirective {
|
|
|
1638
1648
|
const isValid = s <= this.maxSizeMb() && s >= this.minSizeMb();
|
|
1639
1649
|
return isValid ? null : { fileSize: "Non valido." };
|
|
1640
1650
|
}
|
|
1641
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
1642
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.
|
|
1651
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.15", ngImport: i0, type: FileSizeValidatorDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
1652
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.15", type: FileSizeValidatorDirective, isStandalone: true, selector: "[fileSize]", inputs: { maxSizeMb: { classPropertyName: "maxSizeMb", publicName: "maxSizeMb", isSignal: true, isRequired: false, transformFunction: null }, minSizeMb: { classPropertyName: "minSizeMb", publicName: "minSizeMb", isSignal: true, isRequired: false, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null } }, providers: [
|
|
1643
1653
|
{
|
|
1644
1654
|
provide: NG_VALIDATORS,
|
|
1645
1655
|
useExisting: forwardRef(() => FileSizeValidatorDirective),
|
|
@@ -1647,7 +1657,7 @@ class FileSizeValidatorDirective {
|
|
|
1647
1657
|
},
|
|
1648
1658
|
], ngImport: i0 }); }
|
|
1649
1659
|
}
|
|
1650
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
1660
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.15", ngImport: i0, type: FileSizeValidatorDirective, decorators: [{
|
|
1651
1661
|
type: Directive,
|
|
1652
1662
|
args: [{
|
|
1653
1663
|
selector: "[fileSize]",
|
|
@@ -1683,8 +1693,8 @@ class MaxTermsValidatorDirective {
|
|
|
1683
1693
|
const terms = input.match(/\S+/g)?.length ?? 0;
|
|
1684
1694
|
return terms <= this.maxTerms() ? null : { maxTerms: "Non valido." };
|
|
1685
1695
|
}
|
|
1686
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
1687
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.
|
|
1696
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.15", ngImport: i0, type: MaxTermsValidatorDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
1697
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.15", type: MaxTermsValidatorDirective, isStandalone: true, selector: "[maxTerms]", inputs: { maxTerms: { classPropertyName: "maxTerms", publicName: "maxTerms", isSignal: true, isRequired: false, transformFunction: null } }, providers: [
|
|
1688
1698
|
{
|
|
1689
1699
|
provide: NG_VALIDATORS,
|
|
1690
1700
|
useExisting: forwardRef(() => MaxTermsValidatorDirective),
|
|
@@ -1692,7 +1702,7 @@ class MaxTermsValidatorDirective {
|
|
|
1692
1702
|
},
|
|
1693
1703
|
], ngImport: i0 }); }
|
|
1694
1704
|
}
|
|
1695
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
1705
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.15", ngImport: i0, type: MaxTermsValidatorDirective, decorators: [{
|
|
1696
1706
|
type: Directive,
|
|
1697
1707
|
args: [{
|
|
1698
1708
|
selector: "[maxTerms]",
|
|
@@ -1721,8 +1731,8 @@ class PasswordValidatorDirective {
|
|
|
1721
1731
|
const strength = SystemUtils.calculatePasswordStrength(input);
|
|
1722
1732
|
return strength.isValid ? null : { password: "Non valido." };
|
|
1723
1733
|
}
|
|
1724
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
1725
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.
|
|
1734
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.15", ngImport: i0, type: PasswordValidatorDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
1735
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.15", type: PasswordValidatorDirective, isStandalone: true, selector: "[password]", providers: [
|
|
1726
1736
|
{
|
|
1727
1737
|
provide: NG_VALIDATORS,
|
|
1728
1738
|
useExisting: forwardRef(() => PasswordValidatorDirective),
|
|
@@ -1730,7 +1740,7 @@ class PasswordValidatorDirective {
|
|
|
1730
1740
|
},
|
|
1731
1741
|
], ngImport: i0 }); }
|
|
1732
1742
|
}
|
|
1733
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
1743
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.15", ngImport: i0, type: PasswordValidatorDirective, decorators: [{
|
|
1734
1744
|
type: Directive,
|
|
1735
1745
|
args: [{
|
|
1736
1746
|
selector: "[password]",
|
|
@@ -1795,8 +1805,8 @@ class TimeValidatorDirective {
|
|
|
1795
1805
|
}
|
|
1796
1806
|
return null;
|
|
1797
1807
|
}
|
|
1798
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
1799
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.
|
|
1808
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.15", ngImport: i0, type: TimeValidatorDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
1809
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.15", type: TimeValidatorDirective, isStandalone: true, selector: "[time]", inputs: { slots: { classPropertyName: "slots", publicName: "slots", isSignal: true, isRequired: false, transformFunction: null } }, providers: [
|
|
1800
1810
|
{
|
|
1801
1811
|
provide: NG_VALIDATORS,
|
|
1802
1812
|
useExisting: forwardRef(() => TimeValidatorDirective),
|
|
@@ -1804,7 +1814,7 @@ class TimeValidatorDirective {
|
|
|
1804
1814
|
},
|
|
1805
1815
|
], ngImport: i0 }); }
|
|
1806
1816
|
}
|
|
1807
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
1817
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.15", ngImport: i0, type: TimeValidatorDirective, decorators: [{
|
|
1808
1818
|
type: Directive,
|
|
1809
1819
|
args: [{
|
|
1810
1820
|
selector: "[time]",
|
|
@@ -1835,8 +1845,8 @@ class NotEmptyValidatorDirective {
|
|
|
1835
1845
|
return null;
|
|
1836
1846
|
return input.trim().length > 0 ? null : { notEmpty: true };
|
|
1837
1847
|
}
|
|
1838
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
1839
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.
|
|
1848
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.15", ngImport: i0, type: NotEmptyValidatorDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
1849
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.15", type: NotEmptyValidatorDirective, isStandalone: true, selector: "[notEmpty]", providers: [
|
|
1840
1850
|
{
|
|
1841
1851
|
provide: NG_VALIDATORS,
|
|
1842
1852
|
useExisting: forwardRef(() => NotEmptyValidatorDirective),
|
|
@@ -1844,7 +1854,7 @@ class NotEmptyValidatorDirective {
|
|
|
1844
1854
|
},
|
|
1845
1855
|
], ngImport: i0 }); }
|
|
1846
1856
|
}
|
|
1847
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
1857
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.15", ngImport: i0, type: NotEmptyValidatorDirective, decorators: [{
|
|
1848
1858
|
type: Directive,
|
|
1849
1859
|
args: [{
|
|
1850
1860
|
selector: "[notEmpty]",
|
|
@@ -1903,10 +1913,10 @@ class FormatPipe {
|
|
|
1903
1913
|
}
|
|
1904
1914
|
return undefined;
|
|
1905
1915
|
}
|
|
1906
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
1907
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.2.
|
|
1916
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.15", ngImport: i0, type: FormatPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
1917
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.2.15", ngImport: i0, type: FormatPipe, isStandalone: true, name: "format" }); }
|
|
1908
1918
|
}
|
|
1909
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
1919
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.15", ngImport: i0, type: FormatPipe, decorators: [{
|
|
1910
1920
|
type: Pipe,
|
|
1911
1921
|
args: [{
|
|
1912
1922
|
name: 'format',
|
|
@@ -1939,10 +1949,10 @@ class ReplacePipe {
|
|
|
1939
1949
|
const replacement = (regexValue === '\n' && !replaceValue) ? '<br>' : replaceValue;
|
|
1940
1950
|
return this.sanitizer.bypassSecurityTrustHtml(value.replace(new RegExp(regexValue, 'g'), replacement));
|
|
1941
1951
|
}
|
|
1942
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
1943
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.2.
|
|
1952
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.15", ngImport: i0, type: ReplacePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
1953
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.2.15", ngImport: i0, type: ReplacePipe, isStandalone: true, name: "replace" }); }
|
|
1944
1954
|
}
|
|
1945
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
1955
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.15", ngImport: i0, type: ReplacePipe, decorators: [{
|
|
1946
1956
|
type: Pipe,
|
|
1947
1957
|
args: [{
|
|
1948
1958
|
name: 'replace',
|
|
@@ -1968,10 +1978,10 @@ class SafeHtmlPipe {
|
|
|
1968
1978
|
transform(value) {
|
|
1969
1979
|
return this.sanitizer.bypassSecurityTrustHtml(value ?? '');
|
|
1970
1980
|
}
|
|
1971
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
1972
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.2.
|
|
1981
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.15", ngImport: i0, type: SafeHtmlPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
1982
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.2.15", ngImport: i0, type: SafeHtmlPipe, isStandalone: true, name: "safeHtml" }); }
|
|
1973
1983
|
}
|
|
1974
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
1984
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.15", ngImport: i0, type: SafeHtmlPipe, decorators: [{
|
|
1975
1985
|
type: Pipe,
|
|
1976
1986
|
args: [{
|
|
1977
1987
|
name: 'safeHtml',
|
|
@@ -1997,10 +2007,10 @@ class SafeUrlPipe {
|
|
|
1997
2007
|
transform(value) {
|
|
1998
2008
|
return this.sanitizer.bypassSecurityTrustResourceUrl(value ?? '');
|
|
1999
2009
|
}
|
|
2000
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
2001
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.2.
|
|
2010
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.15", ngImport: i0, type: SafeUrlPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
2011
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.2.15", ngImport: i0, type: SafeUrlPipe, isStandalone: true, name: "safeUrl" }); }
|
|
2002
2012
|
}
|
|
2003
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
2013
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.15", ngImport: i0, type: SafeUrlPipe, decorators: [{
|
|
2004
2014
|
type: Pipe,
|
|
2005
2015
|
args: [{
|
|
2006
2016
|
name: 'safeUrl',
|
|
@@ -2029,10 +2039,10 @@ class SearchCallbackPipe {
|
|
|
2029
2039
|
return items;
|
|
2030
2040
|
return items.filter(item => callback(item));
|
|
2031
2041
|
}
|
|
2032
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
2033
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.2.
|
|
2042
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.15", ngImport: i0, type: SearchCallbackPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
2043
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.2.15", ngImport: i0, type: SearchCallbackPipe, isStandalone: true, name: "callback", pure: false }); }
|
|
2034
2044
|
}
|
|
2035
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
2045
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.15", ngImport: i0, type: SearchCallbackPipe, decorators: [{
|
|
2036
2046
|
type: Pipe,
|
|
2037
2047
|
args: [{
|
|
2038
2048
|
name: 'callback',
|
|
@@ -2080,10 +2090,10 @@ class SearchFilterPipe {
|
|
|
2080
2090
|
metadata.count = result.length;
|
|
2081
2091
|
return result;
|
|
2082
2092
|
}
|
|
2083
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
2084
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.2.
|
|
2093
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.15", ngImport: i0, type: SearchFilterPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
2094
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.2.15", ngImport: i0, type: SearchFilterPipe, isStandalone: true, name: "search" }); }
|
|
2085
2095
|
}
|
|
2086
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
2096
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.15", ngImport: i0, type: SearchFilterPipe, decorators: [{
|
|
2087
2097
|
type: Pipe,
|
|
2088
2098
|
args: [{
|
|
2089
2099
|
name: 'search',
|
|
@@ -2110,10 +2120,10 @@ class FormatHtmlPipe {
|
|
|
2110
2120
|
transform(value) {
|
|
2111
2121
|
return this.sanitizer.bypassSecurityTrustHtml((value ?? '').replaceAll(/(?:\r\n|\r|\n)/g, '<br>'));
|
|
2112
2122
|
}
|
|
2113
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
2114
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.2.
|
|
2123
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.15", ngImport: i0, type: FormatHtmlPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
2124
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.2.15", ngImport: i0, type: FormatHtmlPipe, isStandalone: true, name: "formatHtml" }); }
|
|
2115
2125
|
}
|
|
2116
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
2126
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.15", ngImport: i0, type: FormatHtmlPipe, decorators: [{
|
|
2117
2127
|
type: Pipe,
|
|
2118
2128
|
args: [{
|
|
2119
2129
|
name: 'formatHtml',
|
|
@@ -2462,10 +2472,10 @@ class BroadcastService {
|
|
|
2462
2472
|
getMessage() {
|
|
2463
2473
|
return this.subject.asObservable();
|
|
2464
2474
|
}
|
|
2465
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
2466
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.
|
|
2475
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.15", ngImport: i0, type: BroadcastService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2476
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.15", ngImport: i0, type: BroadcastService, providedIn: 'root' }); }
|
|
2467
2477
|
}
|
|
2468
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
2478
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.15", ngImport: i0, type: BroadcastService, decorators: [{
|
|
2469
2479
|
type: Injectable,
|
|
2470
2480
|
args: [{
|
|
2471
2481
|
providedIn: 'root'
|
|
@@ -2520,10 +2530,10 @@ class EnvironmentService {
|
|
|
2520
2530
|
get appServiceLoginUri() { return this._effectiveServiceLoginUri(); }
|
|
2521
2531
|
/** @param value - The login endpoint URI of the backend service. */
|
|
2522
2532
|
set appServiceLoginUri(value) { this.appServiceLoginUriSignal.set(value); }
|
|
2523
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
2524
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.
|
|
2533
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.15", ngImport: i0, type: EnvironmentService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2534
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.15", ngImport: i0, type: EnvironmentService, providedIn: 'root' }); }
|
|
2525
2535
|
}
|
|
2526
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
2536
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.15", ngImport: i0, type: EnvironmentService, decorators: [{
|
|
2527
2537
|
type: Injectable,
|
|
2528
2538
|
args: [{
|
|
2529
2539
|
providedIn: 'root'
|
|
@@ -2556,10 +2566,10 @@ class ScreenService {
|
|
|
2556
2566
|
get isIEOrEdge() {
|
|
2557
2567
|
return /msie\s|trident\/|edge\//i.test(window.navigator.userAgent);
|
|
2558
2568
|
}
|
|
2559
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
2560
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.
|
|
2569
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.15", ngImport: i0, type: ScreenService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2570
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.15", ngImport: i0, type: ScreenService, providedIn: 'root' }); }
|
|
2561
2571
|
}
|
|
2562
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
2572
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.15", ngImport: i0, type: ScreenService, decorators: [{
|
|
2563
2573
|
type: Injectable,
|
|
2564
2574
|
args: [{
|
|
2565
2575
|
providedIn: 'root'
|
|
@@ -2676,10 +2686,10 @@ class ThemeService {
|
|
|
2676
2686
|
this.themeChanged.next(this.getTheme());
|
|
2677
2687
|
this.broadcastChannel.sendMessage(this.broadcastMessage, theme);
|
|
2678
2688
|
}
|
|
2679
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
2680
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.
|
|
2689
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.15", ngImport: i0, type: ThemeService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2690
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.15", ngImport: i0, type: ThemeService, providedIn: "root" }); }
|
|
2681
2691
|
}
|
|
2682
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
2692
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.15", ngImport: i0, type: ThemeService, decorators: [{
|
|
2683
2693
|
type: Injectable,
|
|
2684
2694
|
args: [{
|
|
2685
2695
|
providedIn: "root",
|
|
@@ -2687,8 +2697,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.14", ngImpo
|
|
|
2687
2697
|
}], ctorParameters: () => [] });
|
|
2688
2698
|
|
|
2689
2699
|
class ArsCoreModule {
|
|
2690
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
2691
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.2.
|
|
2700
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.15", ngImport: i0, type: ArsCoreModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
2701
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.2.15", ngImport: i0, type: ArsCoreModule, imports: [FileSizeValidatorDirective,
|
|
2692
2702
|
ValidIfDirective,
|
|
2693
2703
|
ValidatorDirective,
|
|
2694
2704
|
EqualsValidatorDirective,
|
|
@@ -2731,7 +2741,7 @@ class ArsCoreModule {
|
|
|
2731
2741
|
CopyClipboardDirective,
|
|
2732
2742
|
AutoFocusDirective,
|
|
2733
2743
|
MaxTermsValidatorDirective] }); }
|
|
2734
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.2.
|
|
2744
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.2.15", ngImport: i0, type: ArsCoreModule, providers: [
|
|
2735
2745
|
SearchFilterPipe,
|
|
2736
2746
|
SearchCallbackPipe,
|
|
2737
2747
|
SafeHtmlPipe,
|
|
@@ -2741,7 +2751,7 @@ class ArsCoreModule {
|
|
|
2741
2751
|
FormatHtmlPipe
|
|
2742
2752
|
] }); }
|
|
2743
2753
|
}
|
|
2744
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
2754
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.15", ngImport: i0, type: ArsCoreModule, decorators: [{
|
|
2745
2755
|
type: NgModule,
|
|
2746
2756
|
args: [{
|
|
2747
2757
|
imports: [
|
|
@@ -3093,16 +3103,16 @@ class DateFnsAdapter extends DateAdapter {
|
|
|
3093
3103
|
invalid() {
|
|
3094
3104
|
return new Date(NaN);
|
|
3095
3105
|
}
|
|
3096
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
3097
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.
|
|
3106
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.15", ngImport: i0, type: DateFnsAdapter, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
3107
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.15", ngImport: i0, type: DateFnsAdapter }); }
|
|
3098
3108
|
}
|
|
3099
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
3109
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.15", ngImport: i0, type: DateFnsAdapter, decorators: [{
|
|
3100
3110
|
type: Injectable
|
|
3101
3111
|
}], ctorParameters: () => [] });
|
|
3102
3112
|
class ArsDateFnsModule {
|
|
3103
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
3104
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.2.
|
|
3105
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.2.
|
|
3113
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.15", ngImport: i0, type: ArsDateFnsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
3114
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.2.15", ngImport: i0, type: ArsDateFnsModule }); }
|
|
3115
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.2.15", ngImport: i0, type: ArsDateFnsModule, providers: [
|
|
3106
3116
|
{
|
|
3107
3117
|
provide: DateAdapter,
|
|
3108
3118
|
useClass: DateFnsAdapter,
|
|
@@ -3111,7 +3121,7 @@ class ArsDateFnsModule {
|
|
|
3111
3121
|
{ provide: MAT_DATE_FORMATS, useValue: MAT_DATE_FNS_FORMATS }
|
|
3112
3122
|
] }); }
|
|
3113
3123
|
}
|
|
3114
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
3124
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.15", ngImport: i0, type: ArsDateFnsModule, decorators: [{
|
|
3115
3125
|
type: NgModule,
|
|
3116
3126
|
args: [{
|
|
3117
3127
|
providers: [
|
|
@@ -3144,10 +3154,10 @@ class RemoveFocusDirective {
|
|
|
3144
3154
|
setTimeout(() => el.blur(), 0);
|
|
3145
3155
|
}
|
|
3146
3156
|
}
|
|
3147
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
3148
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.
|
|
3157
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.15", ngImport: i0, type: RemoveFocusDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
3158
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.15", type: RemoveFocusDirective, isStandalone: true, selector: "[removeFocus]", host: { listeners: { "click": "onClick()" } }, ngImport: i0 }); }
|
|
3149
3159
|
}
|
|
3150
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
3160
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.15", ngImport: i0, type: RemoveFocusDirective, decorators: [{
|
|
3151
3161
|
type: Directive,
|
|
3152
3162
|
args: [{
|
|
3153
3163
|
selector: '[removeFocus]',
|
|
@@ -3175,10 +3185,10 @@ class FormatMarkdownPipe {
|
|
|
3175
3185
|
transform(value) {
|
|
3176
3186
|
return this.sanitizer.bypassSecurityTrustHtml(SystemUtils.markdownToHtml(value ?? ''));
|
|
3177
3187
|
}
|
|
3178
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
3179
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.2.
|
|
3188
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.15", ngImport: i0, type: FormatMarkdownPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
3189
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.2.15", ngImport: i0, type: FormatMarkdownPipe, isStandalone: true, name: "formatMarkdown" }); }
|
|
3180
3190
|
}
|
|
3181
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
3191
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.15", ngImport: i0, type: FormatMarkdownPipe, decorators: [{
|
|
3182
3192
|
type: Pipe,
|
|
3183
3193
|
args: [{
|
|
3184
3194
|
name: 'formatMarkdown',
|