@arsedizioni/ars-utils 21.2.370 → 22.0.2
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 +40 -25
- package/fesm2022/arsedizioni-ars-utils-clipper.common.mjs.map +1 -1
- package/fesm2022/arsedizioni-ars-utils-clipper.ui.mjs +302 -178
- package/fesm2022/arsedizioni-ars-utils-clipper.ui.mjs.map +1 -1
- package/fesm2022/arsedizioni-ars-utils-core.mjs +151 -126
- package/fesm2022/arsedizioni-ars-utils-core.mjs.map +1 -1
- package/fesm2022/arsedizioni-ars-utils-evolution.common.mjs +14 -12
- package/fesm2022/arsedizioni-ars-utils-evolution.common.mjs.map +1 -1
- package/fesm2022/arsedizioni-ars-utils-help.mjs +26 -20
- package/fesm2022/arsedizioni-ars-utils-help.mjs.map +1 -1
- package/fesm2022/arsedizioni-ars-utils-support.common.mjs +9 -8
- package/fesm2022/arsedizioni-ars-utils-support.common.mjs.map +1 -1
- package/fesm2022/arsedizioni-ars-utils-support.ui.mjs +14 -11
- package/fesm2022/arsedizioni-ars-utils-support.ui.mjs.map +1 -1
- package/fesm2022/arsedizioni-ars-utils-tinymce.mjs +11 -9
- package/fesm2022/arsedizioni-ars-utils-tinymce.mjs.map +1 -1
- package/fesm2022/arsedizioni-ars-utils-ui.application.mjs +341 -200
- package/fesm2022/arsedizioni-ars-utils-ui.application.mjs.map +1 -1
- package/fesm2022/arsedizioni-ars-utils-ui.mjs +197 -152
- package/fesm2022/arsedizioni-ars-utils-ui.mjs.map +1 -1
- package/fesm2022/arsedizioni-ars-utils-ui.oauth.mjs +28 -19
- package/fesm2022/arsedizioni-ars-utils-ui.oauth.mjs.map +1 -1
- package/package.json +1 -1
- package/types/arsedizioni-ars-utils-clipper.ui.d.ts +1 -1
- package/types/arsedizioni-ars-utils-ui.application.d.ts +5 -1
|
@@ -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: "
|
|
27
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
26
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: AutoFocusDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
27
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.0.0", type: AutoFocusDirective, isStandalone: true, selector: "[autoFocus]", ngImport: i0 }); }
|
|
28
28
|
}
|
|
29
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
29
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: AutoFocusDirective, decorators: [{
|
|
30
30
|
type: Directive,
|
|
31
31
|
args: [{
|
|
32
32
|
selector: '[autoFocus]',
|
|
@@ -1168,9 +1168,11 @@ class SystemUtils {
|
|
|
1168
1168
|
class DateIntervalChangeDirective {
|
|
1169
1169
|
constructor() {
|
|
1170
1170
|
/** The date interval model to update when the input value changes. */
|
|
1171
|
-
this.dateIntervalChange = input(new DateInterval(null, null),
|
|
1171
|
+
this.dateIntervalChange = input(new DateInterval(null, null), /* @ts-ignore */
|
|
1172
|
+
...(ngDevMode ? [{ debugName: "dateIntervalChange" }] : /* istanbul ignore next */ []));
|
|
1172
1173
|
/** When `true`, the directive updates the interval's end date; otherwise the start date. */
|
|
1173
|
-
this.end = input(false,
|
|
1174
|
+
this.end = input(false, /* @ts-ignore */
|
|
1175
|
+
...(ngDevMode ? [{ debugName: "end" }] : /* istanbul ignore next */ []));
|
|
1174
1176
|
this.subject = new Subject();
|
|
1175
1177
|
this.destroyRef = inject(DestroyRef);
|
|
1176
1178
|
this.subject
|
|
@@ -1194,10 +1196,10 @@ class DateIntervalChangeDirective {
|
|
|
1194
1196
|
}
|
|
1195
1197
|
this.subject.next(e);
|
|
1196
1198
|
}
|
|
1197
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1198
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "
|
|
1199
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: DateIntervalChangeDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
1200
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "22.0.0", 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 }); }
|
|
1199
1201
|
}
|
|
1200
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1202
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: DateIntervalChangeDirective, decorators: [{
|
|
1201
1203
|
type: Directive,
|
|
1202
1204
|
args: [{
|
|
1203
1205
|
selector: '[dateIntervalChange]',
|
|
@@ -1240,10 +1242,10 @@ class CopyClipboardDirective {
|
|
|
1240
1242
|
document.removeEventListener('copy', listener, false);
|
|
1241
1243
|
}
|
|
1242
1244
|
}
|
|
1243
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1244
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "
|
|
1245
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: CopyClipboardDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
1246
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "22.0.0", 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 }); }
|
|
1245
1247
|
}
|
|
1246
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1248
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: CopyClipboardDirective, decorators: [{
|
|
1247
1249
|
type: Directive,
|
|
1248
1250
|
args: [{
|
|
1249
1251
|
selector: '[copyClipboard]',
|
|
@@ -1261,7 +1263,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.15", ngImpo
|
|
|
1261
1263
|
class ValidatorDirective {
|
|
1262
1264
|
constructor() {
|
|
1263
1265
|
/** The custom validator function to apply. */
|
|
1264
|
-
this.validator = input(undefined,
|
|
1266
|
+
this.validator = input(undefined, /* @ts-ignore */
|
|
1267
|
+
...(ngDevMode ? [{ debugName: "validator" }] : /* istanbul ignore next */ []));
|
|
1265
1268
|
}
|
|
1266
1269
|
/**
|
|
1267
1270
|
* Invokes the provided validator function against the given control.
|
|
@@ -1272,10 +1275,10 @@ class ValidatorDirective {
|
|
|
1272
1275
|
const fn = this.validator();
|
|
1273
1276
|
return fn ? fn(control) : null;
|
|
1274
1277
|
}
|
|
1275
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1276
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "
|
|
1278
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: ValidatorDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
1279
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "22.0.0", 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 }); }
|
|
1277
1280
|
}
|
|
1278
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1281
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: ValidatorDirective, decorators: [{
|
|
1279
1282
|
type: Directive,
|
|
1280
1283
|
args: [{
|
|
1281
1284
|
selector: '[validator]',
|
|
@@ -1291,7 +1294,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.15", ngImpo
|
|
|
1291
1294
|
class ValidIfDirective {
|
|
1292
1295
|
constructor() {
|
|
1293
1296
|
/** When `true`, the control is considered valid regardless of the bound value. */
|
|
1294
|
-
this.validIf = input(false,
|
|
1297
|
+
this.validIf = input(false, /* @ts-ignore */
|
|
1298
|
+
...(ngDevMode ? [{ debugName: "validIf" }] : /* istanbul ignore next */ []));
|
|
1295
1299
|
}
|
|
1296
1300
|
/**
|
|
1297
1301
|
* Validates the control value against a boolean flag or the value's own `isValid()` method.
|
|
@@ -1311,8 +1315,8 @@ class ValidIfDirective {
|
|
|
1311
1315
|
}
|
|
1312
1316
|
return isValid ? null : { validIf: "Non valido." };
|
|
1313
1317
|
}
|
|
1314
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1315
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "
|
|
1318
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: ValidIfDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
1319
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "22.0.0", type: ValidIfDirective, isStandalone: true, selector: "[validIf]", inputs: { validIf: { classPropertyName: "validIf", publicName: "validIf", isSignal: true, isRequired: false, transformFunction: null } }, providers: [
|
|
1316
1320
|
{
|
|
1317
1321
|
provide: NG_VALIDATORS,
|
|
1318
1322
|
useExisting: forwardRef(() => ValidIfDirective),
|
|
@@ -1320,7 +1324,7 @@ class ValidIfDirective {
|
|
|
1320
1324
|
},
|
|
1321
1325
|
], ngImport: i0 }); }
|
|
1322
1326
|
}
|
|
1323
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1327
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: ValidIfDirective, decorators: [{
|
|
1324
1328
|
type: Directive,
|
|
1325
1329
|
args: [{
|
|
1326
1330
|
selector: "[validIf]",
|
|
@@ -1342,7 +1346,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.15", ngImpo
|
|
|
1342
1346
|
class EqualsValidatorDirective {
|
|
1343
1347
|
constructor() {
|
|
1344
1348
|
/** The control whose value must match the host control's value. */
|
|
1345
|
-
this.equals = input(undefined,
|
|
1349
|
+
this.equals = input(undefined, /* @ts-ignore */
|
|
1350
|
+
...(ngDevMode ? [{ debugName: "equals" }] : /* istanbul ignore next */ []));
|
|
1346
1351
|
}
|
|
1347
1352
|
/**
|
|
1348
1353
|
* Validates that the host control value equals the bound control's value.
|
|
@@ -1355,8 +1360,8 @@ class EqualsValidatorDirective {
|
|
|
1355
1360
|
return null;
|
|
1356
1361
|
return eq.value === control.value ? null : { equals: "Non valido." };
|
|
1357
1362
|
}
|
|
1358
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1359
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "
|
|
1363
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: EqualsValidatorDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
1364
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "22.0.0", type: EqualsValidatorDirective, isStandalone: true, selector: "[equals]", inputs: { equals: { classPropertyName: "equals", publicName: "equals", isSignal: true, isRequired: false, transformFunction: null } }, providers: [
|
|
1360
1365
|
{
|
|
1361
1366
|
provide: NG_VALIDATORS,
|
|
1362
1367
|
useExisting: forwardRef(() => EqualsValidatorDirective),
|
|
@@ -1364,7 +1369,7 @@ class EqualsValidatorDirective {
|
|
|
1364
1369
|
},
|
|
1365
1370
|
], ngImport: i0 }); }
|
|
1366
1371
|
}
|
|
1367
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1372
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: EqualsValidatorDirective, decorators: [{
|
|
1368
1373
|
type: Directive,
|
|
1369
1374
|
args: [{
|
|
1370
1375
|
selector: "[equals]",
|
|
@@ -1386,7 +1391,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.15", ngImpo
|
|
|
1386
1391
|
class NotEqualValidatorDirective {
|
|
1387
1392
|
constructor() {
|
|
1388
1393
|
/** The control whose value must differ from the host control's value. */
|
|
1389
|
-
this.notEqual = input(undefined,
|
|
1394
|
+
this.notEqual = input(undefined, /* @ts-ignore */
|
|
1395
|
+
...(ngDevMode ? [{ debugName: "notEqual" }] : /* istanbul ignore next */ []));
|
|
1390
1396
|
}
|
|
1391
1397
|
/**
|
|
1392
1398
|
* Validates that the host control value is not equal to the bound control's value.
|
|
@@ -1411,8 +1417,8 @@ class NotEqualValidatorDirective {
|
|
|
1411
1417
|
}
|
|
1412
1418
|
return errors;
|
|
1413
1419
|
}
|
|
1414
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1415
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "
|
|
1420
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: NotEqualValidatorDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
1421
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "22.0.0", type: NotEqualValidatorDirective, isStandalone: true, selector: "[notEqual]", inputs: { notEqual: { classPropertyName: "notEqual", publicName: "notEqual", isSignal: true, isRequired: false, transformFunction: null } }, providers: [
|
|
1416
1422
|
{
|
|
1417
1423
|
provide: NG_VALIDATORS,
|
|
1418
1424
|
useExisting: forwardRef(() => NotEqualValidatorDirective),
|
|
@@ -1420,7 +1426,7 @@ class NotEqualValidatorDirective {
|
|
|
1420
1426
|
},
|
|
1421
1427
|
], ngImport: i0 }); }
|
|
1422
1428
|
}
|
|
1423
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1429
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: NotEqualValidatorDirective, decorators: [{
|
|
1424
1430
|
type: Directive,
|
|
1425
1431
|
args: [{
|
|
1426
1432
|
selector: "[notEqual]",
|
|
@@ -1453,8 +1459,8 @@ class EmailsValidatorDirective {
|
|
|
1453
1459
|
const isValid = parts.every(part => part.length === 0 || !!SystemUtils.parseEmail(part));
|
|
1454
1460
|
return isValid ? null : { emails: "Elenco non valido." };
|
|
1455
1461
|
}
|
|
1456
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1457
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
1462
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: EmailsValidatorDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
1463
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.0.0", type: EmailsValidatorDirective, isStandalone: true, selector: "[emails]", providers: [
|
|
1458
1464
|
{
|
|
1459
1465
|
provide: NG_VALIDATORS,
|
|
1460
1466
|
useExisting: forwardRef(() => EmailsValidatorDirective),
|
|
@@ -1462,7 +1468,7 @@ class EmailsValidatorDirective {
|
|
|
1462
1468
|
},
|
|
1463
1469
|
], ngImport: i0 }); }
|
|
1464
1470
|
}
|
|
1465
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1471
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: EmailsValidatorDirective, decorators: [{
|
|
1466
1472
|
type: Directive,
|
|
1467
1473
|
args: [{
|
|
1468
1474
|
selector: "[emails]",
|
|
@@ -1493,8 +1499,8 @@ class GuidValidatorDirective {
|
|
|
1493
1499
|
return null;
|
|
1494
1500
|
return SystemUtils.parseUUID(input) ? null : { guid: "Non valido." };
|
|
1495
1501
|
}
|
|
1496
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1497
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
1502
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: GuidValidatorDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
1503
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.0.0", type: GuidValidatorDirective, isStandalone: true, selector: "[guid]", providers: [
|
|
1498
1504
|
{
|
|
1499
1505
|
provide: NG_VALIDATORS,
|
|
1500
1506
|
useExisting: forwardRef(() => GuidValidatorDirective),
|
|
@@ -1502,7 +1508,7 @@ class GuidValidatorDirective {
|
|
|
1502
1508
|
},
|
|
1503
1509
|
], ngImport: i0 }); }
|
|
1504
1510
|
}
|
|
1505
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1511
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: GuidValidatorDirective, decorators: [{
|
|
1506
1512
|
type: Directive,
|
|
1507
1513
|
args: [{
|
|
1508
1514
|
selector: "[guid]",
|
|
@@ -1534,8 +1540,8 @@ class SqlDateValidatorDirective {
|
|
|
1534
1540
|
const d = endOfDay(SystemUtils.parseDate(input));
|
|
1535
1541
|
return d.getFullYear() > 1750 ? null : { sqlDate: "Non valido." };
|
|
1536
1542
|
}
|
|
1537
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1538
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
1543
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: SqlDateValidatorDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
1544
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.0.0", type: SqlDateValidatorDirective, isStandalone: true, selector: "[sqlDate]", providers: [
|
|
1539
1545
|
{
|
|
1540
1546
|
provide: NG_VALIDATORS,
|
|
1541
1547
|
useExisting: forwardRef(() => SqlDateValidatorDirective),
|
|
@@ -1543,7 +1549,7 @@ class SqlDateValidatorDirective {
|
|
|
1543
1549
|
},
|
|
1544
1550
|
], ngImport: i0 }); }
|
|
1545
1551
|
}
|
|
1546
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1552
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: SqlDateValidatorDirective, decorators: [{
|
|
1547
1553
|
type: Directive,
|
|
1548
1554
|
args: [{
|
|
1549
1555
|
selector: "[sqlDate]",
|
|
@@ -1576,8 +1582,8 @@ class NotFutureValidatorDirective {
|
|
|
1576
1582
|
const d = endOfDay(SystemUtils.parseDate(input));
|
|
1577
1583
|
return d <= today ? null : { notFuture: "Non valido." };
|
|
1578
1584
|
}
|
|
1579
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1580
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
1585
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: NotFutureValidatorDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
1586
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.0.0", type: NotFutureValidatorDirective, isStandalone: true, selector: "[notFuture]", providers: [
|
|
1581
1587
|
{
|
|
1582
1588
|
provide: NG_VALIDATORS,
|
|
1583
1589
|
useExisting: forwardRef(() => NotFutureValidatorDirective),
|
|
@@ -1585,7 +1591,7 @@ class NotFutureValidatorDirective {
|
|
|
1585
1591
|
},
|
|
1586
1592
|
], ngImport: i0 }); }
|
|
1587
1593
|
}
|
|
1588
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1594
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: NotFutureValidatorDirective, decorators: [{
|
|
1589
1595
|
type: Directive,
|
|
1590
1596
|
args: [{
|
|
1591
1597
|
selector: "[notFuture]",
|
|
@@ -1616,8 +1622,8 @@ class UrlValidatorDirective {
|
|
|
1616
1622
|
return null;
|
|
1617
1623
|
return SystemUtils.parseUrl(input) ? null : { url: "Non valido." };
|
|
1618
1624
|
}
|
|
1619
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1620
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
1625
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: UrlValidatorDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
1626
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.0.0", type: UrlValidatorDirective, isStandalone: true, selector: "[url]", providers: [
|
|
1621
1627
|
{
|
|
1622
1628
|
provide: NG_VALIDATORS,
|
|
1623
1629
|
useExisting: forwardRef(() => UrlValidatorDirective),
|
|
@@ -1625,7 +1631,7 @@ class UrlValidatorDirective {
|
|
|
1625
1631
|
},
|
|
1626
1632
|
], ngImport: i0 }); }
|
|
1627
1633
|
}
|
|
1628
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1634
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: UrlValidatorDirective, decorators: [{
|
|
1629
1635
|
type: Directive,
|
|
1630
1636
|
args: [{
|
|
1631
1637
|
selector: "[url]",
|
|
@@ -1647,11 +1653,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.15", ngImpo
|
|
|
1647
1653
|
class FileSizeValidatorDirective {
|
|
1648
1654
|
constructor() {
|
|
1649
1655
|
/** Maximum allowed file size in megabytes. Defaults to 5. */
|
|
1650
|
-
this.maxSizeMb = input(5,
|
|
1656
|
+
this.maxSizeMb = input(5, /* @ts-ignore */
|
|
1657
|
+
...(ngDevMode ? [{ debugName: "maxSizeMb" }] : /* istanbul ignore next */ []));
|
|
1651
1658
|
/** Minimum required file size in megabytes. Defaults to 0. */
|
|
1652
|
-
this.minSizeMb = input(0,
|
|
1659
|
+
this.minSizeMb = input(0, /* @ts-ignore */
|
|
1660
|
+
...(ngDevMode ? [{ debugName: "minSizeMb" }] : /* istanbul ignore next */ []));
|
|
1653
1661
|
/** The actual file size in megabytes to validate against the bounds. */
|
|
1654
|
-
this.size = input(undefined,
|
|
1662
|
+
this.size = input(undefined, /* @ts-ignore */
|
|
1663
|
+
...(ngDevMode ? [{ debugName: "size" }] : /* istanbul ignore next */ []));
|
|
1655
1664
|
}
|
|
1656
1665
|
/**
|
|
1657
1666
|
* Validates that the bound file size falls within the configured min/max range.
|
|
@@ -1666,8 +1675,8 @@ class FileSizeValidatorDirective {
|
|
|
1666
1675
|
const isValid = s <= this.maxSizeMb() && s >= this.minSizeMb();
|
|
1667
1676
|
return isValid ? null : { fileSize: "Non valido." };
|
|
1668
1677
|
}
|
|
1669
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1670
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "
|
|
1678
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: FileSizeValidatorDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
1679
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "22.0.0", 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: [
|
|
1671
1680
|
{
|
|
1672
1681
|
provide: NG_VALIDATORS,
|
|
1673
1682
|
useExisting: forwardRef(() => FileSizeValidatorDirective),
|
|
@@ -1675,7 +1684,7 @@ class FileSizeValidatorDirective {
|
|
|
1675
1684
|
},
|
|
1676
1685
|
], ngImport: i0 }); }
|
|
1677
1686
|
}
|
|
1678
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1687
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: FileSizeValidatorDirective, decorators: [{
|
|
1679
1688
|
type: Directive,
|
|
1680
1689
|
args: [{
|
|
1681
1690
|
selector: "[fileSize]",
|
|
@@ -1697,7 +1706,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.15", ngImpo
|
|
|
1697
1706
|
class MaxTermsValidatorDirective {
|
|
1698
1707
|
constructor() {
|
|
1699
1708
|
/** The maximum number of whitespace-separated terms allowed. */
|
|
1700
|
-
this.maxTerms = input(0,
|
|
1709
|
+
this.maxTerms = input(0, /* @ts-ignore */
|
|
1710
|
+
...(ngDevMode ? [{ debugName: "maxTerms" }] : /* istanbul ignore next */ []));
|
|
1701
1711
|
}
|
|
1702
1712
|
/**
|
|
1703
1713
|
* Validates that the control value contains no more than the configured number of terms.
|
|
@@ -1711,8 +1721,8 @@ class MaxTermsValidatorDirective {
|
|
|
1711
1721
|
const terms = input.match(/\S+/g)?.length ?? 0;
|
|
1712
1722
|
return terms <= this.maxTerms() ? null : { maxTerms: "Non valido." };
|
|
1713
1723
|
}
|
|
1714
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1715
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "
|
|
1724
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: MaxTermsValidatorDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
1725
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "22.0.0", type: MaxTermsValidatorDirective, isStandalone: true, selector: "[maxTerms]", inputs: { maxTerms: { classPropertyName: "maxTerms", publicName: "maxTerms", isSignal: true, isRequired: false, transformFunction: null } }, providers: [
|
|
1716
1726
|
{
|
|
1717
1727
|
provide: NG_VALIDATORS,
|
|
1718
1728
|
useExisting: forwardRef(() => MaxTermsValidatorDirective),
|
|
@@ -1720,7 +1730,7 @@ class MaxTermsValidatorDirective {
|
|
|
1720
1730
|
},
|
|
1721
1731
|
], ngImport: i0 }); }
|
|
1722
1732
|
}
|
|
1723
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1733
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: MaxTermsValidatorDirective, decorators: [{
|
|
1724
1734
|
type: Directive,
|
|
1725
1735
|
args: [{
|
|
1726
1736
|
selector: "[maxTerms]",
|
|
@@ -1749,8 +1759,8 @@ class PasswordValidatorDirective {
|
|
|
1749
1759
|
const strength = SystemUtils.calculatePasswordStrength(input);
|
|
1750
1760
|
return strength.isValid ? null : { password: "Non valido." };
|
|
1751
1761
|
}
|
|
1752
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1753
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
1762
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: PasswordValidatorDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
1763
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.0.0", type: PasswordValidatorDirective, isStandalone: true, selector: "[password]", providers: [
|
|
1754
1764
|
{
|
|
1755
1765
|
provide: NG_VALIDATORS,
|
|
1756
1766
|
useExisting: forwardRef(() => PasswordValidatorDirective),
|
|
@@ -1758,7 +1768,7 @@ class PasswordValidatorDirective {
|
|
|
1758
1768
|
},
|
|
1759
1769
|
], ngImport: i0 }); }
|
|
1760
1770
|
}
|
|
1761
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1771
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: PasswordValidatorDirective, decorators: [{
|
|
1762
1772
|
type: Directive,
|
|
1763
1773
|
args: [{
|
|
1764
1774
|
selector: "[password]",
|
|
@@ -1780,7 +1790,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.15", ngImpo
|
|
|
1780
1790
|
class TimeValidatorDirective {
|
|
1781
1791
|
constructor() {
|
|
1782
1792
|
/** Optional pipe-separated list of allowed time ranges, e.g. `"08:00-12:00|14:00-18:00"`. */
|
|
1783
|
-
this.slots = input(undefined,
|
|
1793
|
+
this.slots = input(undefined, /* @ts-ignore */
|
|
1794
|
+
...(ngDevMode ? [{ debugName: "slots" }] : /* istanbul ignore next */ []));
|
|
1784
1795
|
}
|
|
1785
1796
|
/**
|
|
1786
1797
|
* Parses a `"HH:MM"` time string into a comparable integer (e.g. `"09:30"` -> `930`).
|
|
@@ -1823,8 +1834,8 @@ class TimeValidatorDirective {
|
|
|
1823
1834
|
}
|
|
1824
1835
|
return null;
|
|
1825
1836
|
}
|
|
1826
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1827
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "
|
|
1837
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: TimeValidatorDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
1838
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "22.0.0", type: TimeValidatorDirective, isStandalone: true, selector: "[time]", inputs: { slots: { classPropertyName: "slots", publicName: "slots", isSignal: true, isRequired: false, transformFunction: null } }, providers: [
|
|
1828
1839
|
{
|
|
1829
1840
|
provide: NG_VALIDATORS,
|
|
1830
1841
|
useExisting: forwardRef(() => TimeValidatorDirective),
|
|
@@ -1832,7 +1843,7 @@ class TimeValidatorDirective {
|
|
|
1832
1843
|
},
|
|
1833
1844
|
], ngImport: i0 }); }
|
|
1834
1845
|
}
|
|
1835
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1846
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: TimeValidatorDirective, decorators: [{
|
|
1836
1847
|
type: Directive,
|
|
1837
1848
|
args: [{
|
|
1838
1849
|
selector: "[time]",
|
|
@@ -1863,8 +1874,8 @@ class NotEmptyValidatorDirective {
|
|
|
1863
1874
|
return null;
|
|
1864
1875
|
return input.trim().length > 0 ? null : { notEmpty: true };
|
|
1865
1876
|
}
|
|
1866
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1867
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
1877
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: NotEmptyValidatorDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
1878
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.0.0", type: NotEmptyValidatorDirective, isStandalone: true, selector: "[notEmpty]", providers: [
|
|
1868
1879
|
{
|
|
1869
1880
|
provide: NG_VALIDATORS,
|
|
1870
1881
|
useExisting: forwardRef(() => NotEmptyValidatorDirective),
|
|
@@ -1872,7 +1883,7 @@ class NotEmptyValidatorDirective {
|
|
|
1872
1883
|
},
|
|
1873
1884
|
], ngImport: i0 }); }
|
|
1874
1885
|
}
|
|
1875
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1886
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: NotEmptyValidatorDirective, decorators: [{
|
|
1876
1887
|
type: Directive,
|
|
1877
1888
|
args: [{
|
|
1878
1889
|
selector: "[notEmpty]",
|
|
@@ -1931,10 +1942,10 @@ class FormatPipe {
|
|
|
1931
1942
|
}
|
|
1932
1943
|
return undefined;
|
|
1933
1944
|
}
|
|
1934
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1935
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "
|
|
1945
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: FormatPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
1946
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "22.0.0", ngImport: i0, type: FormatPipe, isStandalone: true, name: "format" }); }
|
|
1936
1947
|
}
|
|
1937
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1948
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: FormatPipe, decorators: [{
|
|
1938
1949
|
type: Pipe,
|
|
1939
1950
|
args: [{
|
|
1940
1951
|
name: 'format',
|
|
@@ -1967,10 +1978,10 @@ class ReplacePipe {
|
|
|
1967
1978
|
const replacement = (regexValue === '\n' && !replaceValue) ? '<br>' : replaceValue;
|
|
1968
1979
|
return this.sanitizer.bypassSecurityTrustHtml(value.replace(new RegExp(regexValue, 'g'), replacement));
|
|
1969
1980
|
}
|
|
1970
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1971
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "
|
|
1981
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: ReplacePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
1982
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "22.0.0", ngImport: i0, type: ReplacePipe, isStandalone: true, name: "replace" }); }
|
|
1972
1983
|
}
|
|
1973
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1984
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: ReplacePipe, decorators: [{
|
|
1974
1985
|
type: Pipe,
|
|
1975
1986
|
args: [{
|
|
1976
1987
|
name: 'replace',
|
|
@@ -1996,10 +2007,10 @@ class SafeHtmlPipe {
|
|
|
1996
2007
|
transform(value) {
|
|
1997
2008
|
return this.sanitizer.bypassSecurityTrustHtml(value ?? '');
|
|
1998
2009
|
}
|
|
1999
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2000
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "
|
|
2010
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: SafeHtmlPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
2011
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "22.0.0", ngImport: i0, type: SafeHtmlPipe, isStandalone: true, name: "safeHtml" }); }
|
|
2001
2012
|
}
|
|
2002
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2013
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: SafeHtmlPipe, decorators: [{
|
|
2003
2014
|
type: Pipe,
|
|
2004
2015
|
args: [{
|
|
2005
2016
|
name: 'safeHtml',
|
|
@@ -2025,10 +2036,10 @@ class SafeUrlPipe {
|
|
|
2025
2036
|
transform(value) {
|
|
2026
2037
|
return this.sanitizer.bypassSecurityTrustResourceUrl(value ?? '');
|
|
2027
2038
|
}
|
|
2028
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2029
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "
|
|
2039
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: SafeUrlPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
2040
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "22.0.0", ngImport: i0, type: SafeUrlPipe, isStandalone: true, name: "safeUrl" }); }
|
|
2030
2041
|
}
|
|
2031
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2042
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: SafeUrlPipe, decorators: [{
|
|
2032
2043
|
type: Pipe,
|
|
2033
2044
|
args: [{
|
|
2034
2045
|
name: 'safeUrl',
|
|
@@ -2057,10 +2068,10 @@ class SearchCallbackPipe {
|
|
|
2057
2068
|
return items;
|
|
2058
2069
|
return items.filter(item => callback(item));
|
|
2059
2070
|
}
|
|
2060
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2061
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "
|
|
2071
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: SearchCallbackPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
2072
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "22.0.0", ngImport: i0, type: SearchCallbackPipe, isStandalone: true, name: "callback", pure: false }); }
|
|
2062
2073
|
}
|
|
2063
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2074
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: SearchCallbackPipe, decorators: [{
|
|
2064
2075
|
type: Pipe,
|
|
2065
2076
|
args: [{
|
|
2066
2077
|
name: 'callback',
|
|
@@ -2108,10 +2119,10 @@ class SearchFilterPipe {
|
|
|
2108
2119
|
metadata.count = result.length;
|
|
2109
2120
|
return result;
|
|
2110
2121
|
}
|
|
2111
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2112
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "
|
|
2122
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: SearchFilterPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
2123
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "22.0.0", ngImport: i0, type: SearchFilterPipe, isStandalone: true, name: "search" }); }
|
|
2113
2124
|
}
|
|
2114
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2125
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: SearchFilterPipe, decorators: [{
|
|
2115
2126
|
type: Pipe,
|
|
2116
2127
|
args: [{
|
|
2117
2128
|
name: 'search',
|
|
@@ -2138,10 +2149,10 @@ class FormatHtmlPipe {
|
|
|
2138
2149
|
transform(value) {
|
|
2139
2150
|
return this.sanitizer.bypassSecurityTrustHtml((value ?? '').replaceAll(/(?:\r\n|\r|\n)/g, '<br>'));
|
|
2140
2151
|
}
|
|
2141
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2142
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "
|
|
2152
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: FormatHtmlPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
2153
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "22.0.0", ngImport: i0, type: FormatHtmlPipe, isStandalone: true, name: "formatHtml" }); }
|
|
2143
2154
|
}
|
|
2144
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2155
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: FormatHtmlPipe, decorators: [{
|
|
2145
2156
|
type: Pipe,
|
|
2146
2157
|
args: [{
|
|
2147
2158
|
name: 'formatHtml',
|
|
@@ -2196,9 +2207,11 @@ class SelectableModel {
|
|
|
2196
2207
|
* Carries the affected item, or `undefined` when the whole selection is cleared.
|
|
2197
2208
|
*/
|
|
2198
2209
|
this.changed = new EventEmitter();
|
|
2199
|
-
this._all = signal([],
|
|
2210
|
+
this._all = signal([], /* @ts-ignore */
|
|
2211
|
+
...(ngDevMode ? [{ debugName: "_all" }] : /* istanbul ignore next */ []));
|
|
2200
2212
|
/** Signal that is `true` when at least one item is selected. */
|
|
2201
|
-
this.hasValue = computed(() => this._all().length > 0,
|
|
2213
|
+
this.hasValue = computed(() => this._all().length > 0, /* @ts-ignore */
|
|
2214
|
+
...(ngDevMode ? [{ debugName: "hasValue" }] : /* istanbul ignore next */ []));
|
|
2202
2215
|
this._current = new SelectionModel(allowMultiSelect, []);
|
|
2203
2216
|
this._lookupFieldName = lookupFieldName;
|
|
2204
2217
|
}
|
|
@@ -2490,10 +2503,10 @@ class BroadcastService {
|
|
|
2490
2503
|
getMessage() {
|
|
2491
2504
|
return this.subject.asObservable();
|
|
2492
2505
|
}
|
|
2493
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2494
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
2506
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: BroadcastService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2507
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: BroadcastService, providedIn: 'root' }); }
|
|
2495
2508
|
}
|
|
2496
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2509
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: BroadcastService, decorators: [{
|
|
2497
2510
|
type: Injectable,
|
|
2498
2511
|
args: [{
|
|
2499
2512
|
providedIn: 'root'
|
|
@@ -2508,22 +2521,28 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.15", ngImpo
|
|
|
2508
2521
|
class EnvironmentService {
|
|
2509
2522
|
constructor() {
|
|
2510
2523
|
/** Writable signal holding the base URI of the frontend application (e.g. `https://app.example.com`). */
|
|
2511
|
-
this.appUriSignal = signal('',
|
|
2524
|
+
this.appUriSignal = signal('', /* @ts-ignore */
|
|
2525
|
+
...(ngDevMode ? [{ debugName: "appUriSignal" }] : /* istanbul ignore next */ []));
|
|
2512
2526
|
/** Writable signal holding the base URI of the backend API service (e.g. `https://api.example.com`). */
|
|
2513
|
-
this.appServiceUriSignal = signal('',
|
|
2527
|
+
this.appServiceUriSignal = signal('', /* @ts-ignore */
|
|
2528
|
+
...(ngDevMode ? [{ debugName: "appServiceUriSignal" }] : /* istanbul ignore next */ []));
|
|
2514
2529
|
/**
|
|
2515
2530
|
* Writable signal holding the redirect URI used after login.
|
|
2516
2531
|
* When empty, `appLoginRedirectUri` falls back to `appUri`.
|
|
2517
2532
|
*/
|
|
2518
|
-
this.appLoginRedirectUriSignal = signal('',
|
|
2533
|
+
this.appLoginRedirectUriSignal = signal('', /* @ts-ignore */
|
|
2534
|
+
...(ngDevMode ? [{ debugName: "appLoginRedirectUriSignal" }] : /* istanbul ignore next */ []));
|
|
2519
2535
|
/**
|
|
2520
2536
|
* Writable signal holding the login endpoint URI of the backend service.
|
|
2521
2537
|
* When empty, `appServiceLoginUri` falls back to `appServiceUri`.
|
|
2522
2538
|
*/
|
|
2523
|
-
this.appServiceLoginUriSignal = signal('',
|
|
2539
|
+
this.appServiceLoginUriSignal = signal('', /* @ts-ignore */
|
|
2540
|
+
...(ngDevMode ? [{ debugName: "appServiceLoginUriSignal" }] : /* istanbul ignore next */ []));
|
|
2524
2541
|
// ── Computed: fallback logic ──────────────────────────────────────────────
|
|
2525
|
-
this._effectiveLoginRedirectUri = computed(() => this.appLoginRedirectUriSignal() || this.appUriSignal(),
|
|
2526
|
-
|
|
2542
|
+
this._effectiveLoginRedirectUri = computed(() => this.appLoginRedirectUriSignal() || this.appUriSignal(), /* @ts-ignore */
|
|
2543
|
+
...(ngDevMode ? [{ debugName: "_effectiveLoginRedirectUri" }] : /* istanbul ignore next */ []));
|
|
2544
|
+
this._effectiveServiceLoginUri = computed(() => this.appServiceLoginUriSignal() || this.appServiceUriSignal(), /* @ts-ignore */
|
|
2545
|
+
...(ngDevMode ? [{ debugName: "_effectiveServiceLoginUri" }] : /* istanbul ignore next */ []));
|
|
2527
2546
|
}
|
|
2528
2547
|
// ── Getter / setter API (kept for backward compatibility) ─────────────────
|
|
2529
2548
|
/** Base URI of the frontend application. */
|
|
@@ -2548,10 +2567,10 @@ class EnvironmentService {
|
|
|
2548
2567
|
get appServiceLoginUri() { return this._effectiveServiceLoginUri(); }
|
|
2549
2568
|
/** @param value - The login endpoint URI of the backend service. */
|
|
2550
2569
|
set appServiceLoginUri(value) { this.appServiceLoginUriSignal.set(value); }
|
|
2551
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2552
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
2570
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: EnvironmentService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2571
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: EnvironmentService, providedIn: 'root' }); }
|
|
2553
2572
|
}
|
|
2554
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2573
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: EnvironmentService, decorators: [{
|
|
2555
2574
|
type: Injectable,
|
|
2556
2575
|
args: [{
|
|
2557
2576
|
providedIn: 'root'
|
|
@@ -2568,7 +2587,8 @@ class ScreenService {
|
|
|
2568
2587
|
* (e.g. `'xs'`, `'sm'`, `'md'`, `'lg'`, `'xl'`).
|
|
2569
2588
|
* Updated externally by the breakpoint observer in the consuming component or module.
|
|
2570
2589
|
*/
|
|
2571
|
-
this.mq = signal('',
|
|
2590
|
+
this.mq = signal('', /* @ts-ignore */
|
|
2591
|
+
...(ngDevMode ? [{ debugName: "mq" }] : /* istanbul ignore next */ []));
|
|
2572
2592
|
}
|
|
2573
2593
|
/**
|
|
2574
2594
|
* Returns `true` when the primary input mechanism can hover over elements
|
|
@@ -2584,10 +2604,10 @@ class ScreenService {
|
|
|
2584
2604
|
get isIEOrEdge() {
|
|
2585
2605
|
return /msie\s|trident\/|edge\//i.test(window.navigator.userAgent);
|
|
2586
2606
|
}
|
|
2587
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2588
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
2607
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: ScreenService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2608
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: ScreenService, providedIn: 'root' }); }
|
|
2589
2609
|
}
|
|
2590
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2610
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: ScreenService, decorators: [{
|
|
2591
2611
|
type: Injectable,
|
|
2592
2612
|
args: [{
|
|
2593
2613
|
providedIn: 'root'
|
|
@@ -2613,20 +2633,25 @@ class ThemeService {
|
|
|
2613
2633
|
this.renderFactory2 = inject(RendererFactory2);
|
|
2614
2634
|
this.renderer = this.renderFactory2.createRenderer(null, null);
|
|
2615
2635
|
/** The currently selected `ThemeType` (may be `'auto'`). */
|
|
2616
|
-
this.theme = signal('light',
|
|
2636
|
+
this.theme = signal('light', /* @ts-ignore */
|
|
2637
|
+
...(ngDevMode ? [{ debugName: "theme" }] : /* istanbul ignore next */ []));
|
|
2617
2638
|
/** `true` when the theme is set to follow the system preference. */
|
|
2618
|
-
this.auto = computed(() => this.theme() === 'auto',
|
|
2639
|
+
this.auto = computed(() => this.theme() === 'auto', /* @ts-ignore */
|
|
2640
|
+
...(ngDevMode ? [{ debugName: "auto" }] : /* istanbul ignore next */ []));
|
|
2619
2641
|
this.themeInfo = {
|
|
2620
2642
|
auto: { icon: 'routine', name: 'Tema di sistema', next: 'light', tooltip: 'Passa a tema chiaro' },
|
|
2621
2643
|
light: { icon: 'light_mode', name: 'Tema chiaro', next: 'dark', tooltip: 'Passa a tema scuro' },
|
|
2622
2644
|
dark: { icon: 'dark_mode', name: 'Tema scuro', next: 'auto', tooltip: 'Passa a tema di sistema' },
|
|
2623
2645
|
};
|
|
2624
2646
|
/** Reactive Material icon code for the current theme (use with `<mat-icon>`). */
|
|
2625
|
-
this.themeIcon = computed(() => this.themeInfo[this.theme()].icon,
|
|
2647
|
+
this.themeIcon = computed(() => this.themeInfo[this.theme()].icon, /* @ts-ignore */
|
|
2648
|
+
...(ngDevMode ? [{ debugName: "themeIcon" }] : /* istanbul ignore next */ []));
|
|
2626
2649
|
/** Reactive human-readable name of the current theme. */
|
|
2627
|
-
this.themeName = computed(() => this.themeInfo[this.theme()].name,
|
|
2650
|
+
this.themeName = computed(() => this.themeInfo[this.theme()].name, /* @ts-ignore */
|
|
2651
|
+
...(ngDevMode ? [{ debugName: "themeName" }] : /* istanbul ignore next */ []));
|
|
2628
2652
|
/** Reactive tooltip text for the theme toggle button. */
|
|
2629
|
-
this.toggleTooltip = computed(() => this.themeInfo[this.theme()].tooltip,
|
|
2653
|
+
this.toggleTooltip = computed(() => this.themeInfo[this.theme()].tooltip, /* @ts-ignore */
|
|
2654
|
+
...(ngDevMode ? [{ debugName: "toggleTooltip" }] : /* istanbul ignore next */ []));
|
|
2630
2655
|
this.changed = this.themeChanged.asObservable();
|
|
2631
2656
|
}
|
|
2632
2657
|
/**
|
|
@@ -2704,10 +2729,10 @@ class ThemeService {
|
|
|
2704
2729
|
this.themeChanged.next(this.getTheme());
|
|
2705
2730
|
this.broadcastChannel.sendMessage(this.broadcastMessage, theme);
|
|
2706
2731
|
}
|
|
2707
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2708
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
2732
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: ThemeService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2733
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: ThemeService, providedIn: "root" }); }
|
|
2709
2734
|
}
|
|
2710
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2735
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: ThemeService, decorators: [{
|
|
2711
2736
|
type: Injectable,
|
|
2712
2737
|
args: [{
|
|
2713
2738
|
providedIn: "root",
|
|
@@ -2715,8 +2740,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.15", ngImpo
|
|
|
2715
2740
|
}], ctorParameters: () => [] });
|
|
2716
2741
|
|
|
2717
2742
|
class ArsCoreModule {
|
|
2718
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2719
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
2743
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: ArsCoreModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
2744
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "22.0.0", ngImport: i0, type: ArsCoreModule, imports: [FileSizeValidatorDirective,
|
|
2720
2745
|
ValidIfDirective,
|
|
2721
2746
|
ValidatorDirective,
|
|
2722
2747
|
EqualsValidatorDirective,
|
|
@@ -2759,7 +2784,7 @@ class ArsCoreModule {
|
|
|
2759
2784
|
CopyClipboardDirective,
|
|
2760
2785
|
AutoFocusDirective,
|
|
2761
2786
|
MaxTermsValidatorDirective] }); }
|
|
2762
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
2787
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: ArsCoreModule, providers: [
|
|
2763
2788
|
SearchFilterPipe,
|
|
2764
2789
|
SearchCallbackPipe,
|
|
2765
2790
|
SafeHtmlPipe,
|
|
@@ -2769,7 +2794,7 @@ class ArsCoreModule {
|
|
|
2769
2794
|
FormatHtmlPipe
|
|
2770
2795
|
] }); }
|
|
2771
2796
|
}
|
|
2772
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2797
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: ArsCoreModule, decorators: [{
|
|
2773
2798
|
type: NgModule,
|
|
2774
2799
|
args: [{
|
|
2775
2800
|
imports: [
|
|
@@ -3121,16 +3146,16 @@ class DateFnsAdapter extends DateAdapter {
|
|
|
3121
3146
|
invalid() {
|
|
3122
3147
|
return new Date(NaN);
|
|
3123
3148
|
}
|
|
3124
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3125
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
3149
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: DateFnsAdapter, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
3150
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: DateFnsAdapter }); }
|
|
3126
3151
|
}
|
|
3127
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3152
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: DateFnsAdapter, decorators: [{
|
|
3128
3153
|
type: Injectable
|
|
3129
3154
|
}], ctorParameters: () => [] });
|
|
3130
3155
|
class ArsDateFnsModule {
|
|
3131
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3132
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
3133
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
3156
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: ArsDateFnsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
3157
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "22.0.0", ngImport: i0, type: ArsDateFnsModule }); }
|
|
3158
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: ArsDateFnsModule, providers: [
|
|
3134
3159
|
{
|
|
3135
3160
|
provide: DateAdapter,
|
|
3136
3161
|
useClass: DateFnsAdapter,
|
|
@@ -3139,7 +3164,7 @@ class ArsDateFnsModule {
|
|
|
3139
3164
|
{ provide: MAT_DATE_FORMATS, useValue: MAT_DATE_FNS_FORMATS }
|
|
3140
3165
|
] }); }
|
|
3141
3166
|
}
|
|
3142
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3167
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: ArsDateFnsModule, decorators: [{
|
|
3143
3168
|
type: NgModule,
|
|
3144
3169
|
args: [{
|
|
3145
3170
|
providers: [
|
|
@@ -3172,10 +3197,10 @@ class RemoveFocusDirective {
|
|
|
3172
3197
|
setTimeout(() => el.blur(), 0);
|
|
3173
3198
|
}
|
|
3174
3199
|
}
|
|
3175
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3176
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
3200
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: RemoveFocusDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
3201
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.0.0", type: RemoveFocusDirective, isStandalone: true, selector: "[removeFocus]", host: { listeners: { "click": "onClick()" } }, ngImport: i0 }); }
|
|
3177
3202
|
}
|
|
3178
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3203
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: RemoveFocusDirective, decorators: [{
|
|
3179
3204
|
type: Directive,
|
|
3180
3205
|
args: [{
|
|
3181
3206
|
selector: '[removeFocus]',
|
|
@@ -3203,10 +3228,10 @@ class FormatMarkdownPipe {
|
|
|
3203
3228
|
transform(value) {
|
|
3204
3229
|
return this.sanitizer.bypassSecurityTrustHtml(SystemUtils.markdownToHtml(value ?? ''));
|
|
3205
3230
|
}
|
|
3206
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3207
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "
|
|
3231
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: FormatMarkdownPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
3232
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "22.0.0", ngImport: i0, type: FormatMarkdownPipe, isStandalone: true, name: "formatMarkdown" }); }
|
|
3208
3233
|
}
|
|
3209
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3234
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: FormatMarkdownPipe, decorators: [{
|
|
3210
3235
|
type: Pipe,
|
|
3211
3236
|
args: [{
|
|
3212
3237
|
name: 'formatMarkdown',
|