@wolkabout/commons 0.4.0 → 0.4.1

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wolkabout/commons",
3
- "version": "0.4.0",
3
+ "version": "0.4.1",
4
4
  "peerDependencies": {
5
5
  "@angular/cdk": "21.2.11",
6
6
  "@angular/common": "21.2.13",
@@ -1380,6 +1380,7 @@ declare class ValueInputComponent implements ControlValueAccessor, Validator {
1380
1380
  options: _angular_core.InputSignal<string[] | undefined>;
1381
1381
  validationConditions: _angular_core.InputSignal<ValueInputValidationConditions | null | undefined>;
1382
1382
  showErrorInTooltip: _angular_core.InputSignal<boolean>;
1383
+ emitValidityUpdate: _angular_core.InputSignal<boolean>;
1383
1384
  validators: _angular_core.WritableSignal<ValidatorFn[]>;
1384
1385
  formControl: FormControl<string | null>;
1385
1386
  onValidatorChange: () => void;
@@ -1394,7 +1395,7 @@ declare class ValueInputComponent implements ControlValueAccessor, Validator {
1394
1395
  private setValidators;
1395
1396
  protected readonly DataType: typeof DataType;
1396
1397
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<ValueInputComponent, never>;
1397
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<ValueInputComponent, "app-value-input", never, { "name": { "alias": "name"; "required": true; "isSignal": true; }; "dataType": { "alias": "dataType"; "required": true; "isSignal": true; }; "options": { "alias": "options"; "required": false; "isSignal": true; }; "validationConditions": { "alias": "validationConditions"; "required": false; "isSignal": true; }; "showErrorInTooltip": { "alias": "showErrorInTooltip"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
1398
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<ValueInputComponent, "app-value-input", never, { "name": { "alias": "name"; "required": true; "isSignal": true; }; "dataType": { "alias": "dataType"; "required": true; "isSignal": true; }; "options": { "alias": "options"; "required": false; "isSignal": true; }; "validationConditions": { "alias": "validationConditions"; "required": false; "isSignal": true; }; "showErrorInTooltip": { "alias": "showErrorInTooltip"; "required": false; "isSignal": true; }; "emitValidityUpdate": { "alias": "emitValidityUpdate"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
1398
1399
  }
1399
1400
 
1400
1401
  declare class ValueInputBooleanComponent implements ControlValueAccessor, Validator, OnDestroy {
@@ -1404,6 +1405,7 @@ declare class ValueInputBooleanComponent implements ControlValueAccessor, Valida
1404
1405
  destroy$: Subject<void>;
1405
1406
  validators: _angular_core.InputSignal<ValidatorFn[] | undefined>;
1406
1407
  showErrorInTooltip: _angular_core.InputSignal<boolean>;
1408
+ emitValidityUpdate: _angular_core.InputSignal<boolean>;
1407
1409
  constructor(translate: TranslateService);
1408
1410
  onTouched: () => void;
1409
1411
  onValidatorChange: () => void;
@@ -1417,7 +1419,7 @@ declare class ValueInputBooleanComponent implements ControlValueAccessor, Valida
1417
1419
  getErrorTooltip(): string;
1418
1420
  ngOnDestroy(): void;
1419
1421
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<ValueInputBooleanComponent, never>;
1420
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<ValueInputBooleanComponent, "app-value-input-boolean", never, { "name": { "alias": "name"; "required": false; "isSignal": true; }; "validators": { "alias": "validators"; "required": false; "isSignal": true; }; "showErrorInTooltip": { "alias": "showErrorInTooltip"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
1422
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<ValueInputBooleanComponent, "app-value-input-boolean", never, { "name": { "alias": "name"; "required": false; "isSignal": true; }; "validators": { "alias": "validators"; "required": false; "isSignal": true; }; "showErrorInTooltip": { "alias": "showErrorInTooltip"; "required": false; "isSignal": true; }; "emitValidityUpdate": { "alias": "emitValidityUpdate"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
1421
1423
  }
1422
1424
 
1423
1425
  declare class ValueInputColorComponent implements ControlValueAccessor, Validator, OnDestroy {
@@ -1429,6 +1431,7 @@ declare class ValueInputColorComponent implements ControlValueAccessor, Validato
1429
1431
  destroy$: Subject<void>;
1430
1432
  validators: _angular_core.InputSignal<ValidatorFn[] | undefined>;
1431
1433
  showErrorInTooltip: _angular_core.InputSignal<boolean>;
1434
+ emitValidityUpdate: _angular_core.InputSignal<boolean>;
1432
1435
  onTouched: any;
1433
1436
  onValidatorChange: () => void;
1434
1437
  constructor(translate: TranslateService);
@@ -1445,7 +1448,7 @@ declare class ValueInputColorComponent implements ControlValueAccessor, Validato
1445
1448
  private hexadecimalColorValidator;
1446
1449
  ngOnDestroy(): void;
1447
1450
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<ValueInputColorComponent, never>;
1448
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<ValueInputColorComponent, "app-value-input-color", never, { "name": { "alias": "name"; "required": false; "isSignal": true; }; "validators": { "alias": "validators"; "required": false; "isSignal": true; }; "showErrorInTooltip": { "alias": "showErrorInTooltip"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
1451
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<ValueInputColorComponent, "app-value-input-color", never, { "name": { "alias": "name"; "required": false; "isSignal": true; }; "validators": { "alias": "validators"; "required": false; "isSignal": true; }; "showErrorInTooltip": { "alias": "showErrorInTooltip"; "required": false; "isSignal": true; }; "emitValidityUpdate": { "alias": "emitValidityUpdate"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
1449
1452
  }
1450
1453
 
1451
1454
  declare class ValueInputDateComponent implements ControlValueAccessor, Validator, OnDestroy {
@@ -1453,6 +1456,7 @@ declare class ValueInputDateComponent implements ControlValueAccessor, Validator
1453
1456
  destroy$: Subject<void>;
1454
1457
  validators: _angular_core.InputSignal<ValidatorFn[] | undefined>;
1455
1458
  showErrorInTooltip: _angular_core.InputSignal<boolean>;
1459
+ emitValidityUpdate: _angular_core.InputSignal<boolean>;
1456
1460
  onTouched: any;
1457
1461
  onValidatorChange: () => void;
1458
1462
  constructor();
@@ -1464,7 +1468,7 @@ declare class ValueInputDateComponent implements ControlValueAccessor, Validator
1464
1468
  setDisabledState?(isDisabled: boolean): void;
1465
1469
  ngOnDestroy(): void;
1466
1470
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<ValueInputDateComponent, never>;
1467
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<ValueInputDateComponent, "app-value-input-date", never, { "validators": { "alias": "validators"; "required": false; "isSignal": true; }; "showErrorInTooltip": { "alias": "showErrorInTooltip"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
1471
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<ValueInputDateComponent, "app-value-input-date", never, { "validators": { "alias": "validators"; "required": false; "isSignal": true; }; "showErrorInTooltip": { "alias": "showErrorInTooltip"; "required": false; "isSignal": true; }; "emitValidityUpdate": { "alias": "emitValidityUpdate"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
1468
1472
  }
1469
1473
 
1470
1474
  declare class ValueInputDurationComponent implements ControlValueAccessor, Validator {
@@ -1474,6 +1478,7 @@ declare class ValueInputDurationComponent implements ControlValueAccessor, Valid
1474
1478
  formControl: FormControl<string | null>;
1475
1479
  validators: _angular_core.InputSignal<ValidatorFn[] | undefined>;
1476
1480
  showErrorInTooltip: _angular_core.InputSignal<boolean>;
1481
+ emitValidityUpdate: _angular_core.InputSignal<boolean>;
1477
1482
  durationValidator: ValidatorFn;
1478
1483
  onTouched: any;
1479
1484
  onValidatorChange: () => void;
@@ -1488,7 +1493,7 @@ declare class ValueInputDurationComponent implements ControlValueAccessor, Valid
1488
1493
  getErrorTooltip(): string;
1489
1494
  parseDurationToSeconds(duration: string | null): number | null;
1490
1495
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<ValueInputDurationComponent, never>;
1491
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<ValueInputDurationComponent, "app-value-input-duration", never, { "name": { "alias": "name"; "required": false; "isSignal": true; }; "validators": { "alias": "validators"; "required": false; "isSignal": true; }; "showErrorInTooltip": { "alias": "showErrorInTooltip"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
1496
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<ValueInputDurationComponent, "app-value-input-duration", never, { "name": { "alias": "name"; "required": false; "isSignal": true; }; "validators": { "alias": "validators"; "required": false; "isSignal": true; }; "showErrorInTooltip": { "alias": "showErrorInTooltip"; "required": false; "isSignal": true; }; "emitValidityUpdate": { "alias": "emitValidityUpdate"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
1492
1497
  }
1493
1498
 
1494
1499
  declare class ValueInputEnumComponent implements ControlValueAccessor, Validator, OnDestroy {
@@ -1501,6 +1506,7 @@ declare class ValueInputEnumComponent implements ControlValueAccessor, Validator
1501
1506
  name: _angular_core.InputSignal<string>;
1502
1507
  validators: _angular_core.InputSignal<ValidatorFn[] | undefined>;
1503
1508
  showErrorInTooltip: _angular_core.InputSignal<boolean>;
1509
+ emitValidityUpdate: _angular_core.InputSignal<boolean>;
1504
1510
  constructor(translate: TranslateService);
1505
1511
  writeValue(value: string): void;
1506
1512
  registerOnChange(fn: () => void): void;
@@ -1512,7 +1518,7 @@ declare class ValueInputEnumComponent implements ControlValueAccessor, Validator
1512
1518
  getErrorTooltip(): string;
1513
1519
  ngOnDestroy(): void;
1514
1520
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<ValueInputEnumComponent, never>;
1515
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<ValueInputEnumComponent, "app-value-input-enum", never, { "options": { "alias": "options"; "required": false; "isSignal": true; }; "name": { "alias": "name"; "required": false; "isSignal": true; }; "validators": { "alias": "validators"; "required": false; "isSignal": true; }; "showErrorInTooltip": { "alias": "showErrorInTooltip"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
1521
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<ValueInputEnumComponent, "app-value-input-enum", never, { "options": { "alias": "options"; "required": false; "isSignal": true; }; "name": { "alias": "name"; "required": false; "isSignal": true; }; "validators": { "alias": "validators"; "required": false; "isSignal": true; }; "showErrorInTooltip": { "alias": "showErrorInTooltip"; "required": false; "isSignal": true; }; "emitValidityUpdate": { "alias": "emitValidityUpdate"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
1516
1522
  }
1517
1523
 
1518
1524
  declare class ValueInputHexadecimalComponent implements ControlValueAccessor, Validator, OnDestroy {
@@ -1521,6 +1527,7 @@ declare class ValueInputHexadecimalComponent implements ControlValueAccessor, Va
1521
1527
  destroy$: Subject<void>;
1522
1528
  validators: _angular_core.InputSignal<ValidatorFn[] | undefined>;
1523
1529
  showErrorInTooltip: _angular_core.InputSignal<boolean>;
1530
+ emitValidityUpdate: _angular_core.InputSignal<boolean>;
1524
1531
  constructor(translate: TranslateService);
1525
1532
  onTouched: any;
1526
1533
  onValidatorChange: () => void;
@@ -1535,7 +1542,7 @@ declare class ValueInputHexadecimalComponent implements ControlValueAccessor, Va
1535
1542
  private hexadecimalValidator;
1536
1543
  ngOnDestroy(): void;
1537
1544
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<ValueInputHexadecimalComponent, never>;
1538
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<ValueInputHexadecimalComponent, "app-value-input-hexadecimal", never, { "validators": { "alias": "validators"; "required": false; "isSignal": true; }; "showErrorInTooltip": { "alias": "showErrorInTooltip"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
1545
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<ValueInputHexadecimalComponent, "app-value-input-hexadecimal", never, { "validators": { "alias": "validators"; "required": false; "isSignal": true; }; "showErrorInTooltip": { "alias": "showErrorInTooltip"; "required": false; "isSignal": true; }; "emitValidityUpdate": { "alias": "emitValidityUpdate"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
1539
1546
  }
1540
1547
 
1541
1548
  declare class ValueInputLinkComponent implements ControlValueAccessor, Validator, OnDestroy {
@@ -1544,6 +1551,7 @@ declare class ValueInputLinkComponent implements ControlValueAccessor, Validator
1544
1551
  destroy$: Subject<void>;
1545
1552
  validators: _angular_core.InputSignal<ValidatorFn[] | undefined>;
1546
1553
  showErrorInTooltip: _angular_core.InputSignal<boolean>;
1554
+ emitValidityUpdate: _angular_core.InputSignal<boolean>;
1547
1555
  onTouched: any;
1548
1556
  onValidatorChange: () => void;
1549
1557
  constructor(translate: TranslateService);
@@ -1558,7 +1566,7 @@ declare class ValueInputLinkComponent implements ControlValueAccessor, Validator
1558
1566
  getErrorTooltip(): string;
1559
1567
  ngOnDestroy(): void;
1560
1568
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<ValueInputLinkComponent, never>;
1561
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<ValueInputLinkComponent, "app-value-input-link", never, { "validators": { "alias": "validators"; "required": false; "isSignal": true; }; "showErrorInTooltip": { "alias": "showErrorInTooltip"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
1569
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<ValueInputLinkComponent, "app-value-input-link", never, { "validators": { "alias": "validators"; "required": false; "isSignal": true; }; "showErrorInTooltip": { "alias": "showErrorInTooltip"; "required": false; "isSignal": true; }; "emitValidityUpdate": { "alias": "emitValidityUpdate"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
1562
1570
  }
1563
1571
 
1564
1572
  declare class ValueInputLocationComponent implements ControlValueAccessor, Validator, OnDestroy {
@@ -1570,6 +1578,7 @@ declare class ValueInputLocationComponent implements ControlValueAccessor, Valid
1570
1578
  }>;
1571
1579
  validators: _angular_core.InputSignal<ValidatorFn[] | undefined>;
1572
1580
  showErrorInTooltip: _angular_core.InputSignal<boolean>;
1581
+ emitValidityUpdate: _angular_core.InputSignal<boolean>;
1573
1582
  onTouched: any;
1574
1583
  onValidatorChange: () => void;
1575
1584
  constructor(translate: TranslateService);
@@ -1584,7 +1593,7 @@ declare class ValueInputLocationComponent implements ControlValueAccessor, Valid
1584
1593
  getErrorTooltip(controlName: string): string;
1585
1594
  ngOnDestroy(): void;
1586
1595
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<ValueInputLocationComponent, never>;
1587
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<ValueInputLocationComponent, "app-value-input-location", never, { "validators": { "alias": "validators"; "required": false; "isSignal": true; }; "showErrorInTooltip": { "alias": "showErrorInTooltip"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
1596
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<ValueInputLocationComponent, "app-value-input-location", never, { "validators": { "alias": "validators"; "required": false; "isSignal": true; }; "showErrorInTooltip": { "alias": "showErrorInTooltip"; "required": false; "isSignal": true; }; "emitValidityUpdate": { "alias": "emitValidityUpdate"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
1588
1597
  }
1589
1598
 
1590
1599
  declare class ValueInputNumericComponent implements ControlValueAccessor, Validator, OnDestroy {
@@ -1594,6 +1603,7 @@ declare class ValueInputNumericComponent implements ControlValueAccessor, Valida
1594
1603
  name: _angular_core.InputSignal<string>;
1595
1604
  validators: _angular_core.InputSignal<ValidatorFn[] | undefined>;
1596
1605
  showErrorInTooltip: _angular_core.InputSignal<boolean>;
1606
+ emitValidityUpdate: _angular_core.InputSignal<boolean>;
1597
1607
  onTouched: any;
1598
1608
  onValidatorChange: () => void;
1599
1609
  constructor(translate: TranslateService);
@@ -1608,7 +1618,7 @@ declare class ValueInputNumericComponent implements ControlValueAccessor, Valida
1608
1618
  private numberValidator;
1609
1619
  ngOnDestroy(): void;
1610
1620
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<ValueInputNumericComponent, never>;
1611
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<ValueInputNumericComponent, "app-value-input-numeric", never, { "name": { "alias": "name"; "required": false; "isSignal": true; }; "validators": { "alias": "validators"; "required": false; "isSignal": true; }; "showErrorInTooltip": { "alias": "showErrorInTooltip"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
1621
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<ValueInputNumericComponent, "app-value-input-numeric", never, { "name": { "alias": "name"; "required": false; "isSignal": true; }; "validators": { "alias": "validators"; "required": false; "isSignal": true; }; "showErrorInTooltip": { "alias": "showErrorInTooltip"; "required": false; "isSignal": true; }; "emitValidityUpdate": { "alias": "emitValidityUpdate"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
1612
1622
  }
1613
1623
 
1614
1624
  declare class ValueInputStringComponent implements ControlValueAccessor, Validator, OnDestroy {
@@ -1618,6 +1628,7 @@ declare class ValueInputStringComponent implements ControlValueAccessor, Validat
1618
1628
  destroy$: Subject<void>;
1619
1629
  validators: _angular_core.InputSignal<ValidatorFn[] | undefined>;
1620
1630
  showErrorInTooltip: _angular_core.InputSignal<boolean>;
1631
+ emitValidityUpdate: _angular_core.InputSignal<boolean>;
1621
1632
  onTouched: any;
1622
1633
  onValidatorChange: () => void;
1623
1634
  constructor(translate: TranslateService);
@@ -1631,7 +1642,7 @@ declare class ValueInputStringComponent implements ControlValueAccessor, Validat
1631
1642
  getErrorTooltip(): string;
1632
1643
  ngOnDestroy(): void;
1633
1644
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<ValueInputStringComponent, never>;
1634
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<ValueInputStringComponent, "app-value-input-string", never, { "name": { "alias": "name"; "required": false; "isSignal": true; }; "validators": { "alias": "validators"; "required": false; "isSignal": true; }; "showErrorInTooltip": { "alias": "showErrorInTooltip"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
1645
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<ValueInputStringComponent, "app-value-input-string", never, { "name": { "alias": "name"; "required": false; "isSignal": true; }; "validators": { "alias": "validators"; "required": false; "isSignal": true; }; "showErrorInTooltip": { "alias": "showErrorInTooltip"; "required": false; "isSignal": true; }; "emitValidityUpdate": { "alias": "emitValidityUpdate"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
1635
1646
  }
1636
1647
 
1637
1648
  declare class ValueInputVectorComponent implements ControlValueAccessor, Validator, OnDestroy {
@@ -1642,6 +1653,7 @@ declare class ValueInputVectorComponent implements ControlValueAccessor, Validat
1642
1653
  name: _angular_core.InputSignal<string>;
1643
1654
  showErrorInTooltip: _angular_core.InputSignal<boolean>;
1644
1655
  validators: _angular_core.InputSignal<ValidatorFn[] | undefined>;
1656
+ emitValidityUpdate: _angular_core.InputSignal<boolean>;
1645
1657
  onTouched: any;
1646
1658
  onValidatorChange: () => void;
1647
1659
  constructor(translate: TranslateService);
@@ -1656,7 +1668,7 @@ declare class ValueInputVectorComponent implements ControlValueAccessor, Validat
1656
1668
  validateOptions: (control: AbstractControl) => ValidationErrors | null;
1657
1669
  ngOnDestroy(): void;
1658
1670
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<ValueInputVectorComponent, never>;
1659
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<ValueInputVectorComponent, "app-value-input-vector", never, { "options": { "alias": "options"; "required": false; "isSignal": true; }; "name": { "alias": "name"; "required": false; "isSignal": true; }; "showErrorInTooltip": { "alias": "showErrorInTooltip"; "required": false; "isSignal": true; }; "validators": { "alias": "validators"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
1671
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<ValueInputVectorComponent, "app-value-input-vector", never, { "options": { "alias": "options"; "required": false; "isSignal": true; }; "name": { "alias": "name"; "required": false; "isSignal": true; }; "showErrorInTooltip": { "alias": "showErrorInTooltip"; "required": false; "isSignal": true; }; "validators": { "alias": "validators"; "required": false; "isSignal": true; }; "emitValidityUpdate": { "alias": "emitValidityUpdate"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
1660
1672
  }
1661
1673
 
1662
1674
  interface LayoutDrawerConfig {