@coreui/angular 5.7.35 → 5.7.36

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.
@@ -2,8 +2,8 @@ import { IsActiveMatchOptions, NavigationEnd, Router, UrlTree } from "@angular/r
2
2
  import * as i0 from "@angular/core";
3
3
  import { AfterContentChecked, AfterContentInit, AfterViewInit, AnimationCallbackEvent, ChangeDetectorRef, ComponentRef, DestroyRef, ElementRef, Injector, InputSignal, InputSignalWithTransform, ModuleWithProviders, NgModuleRef, OnChanges, OnDestroy, OnInit, PipeTransform, QueryList, Renderer2, SimpleChanges, TemplateRef, ViewContainerRef, WritableSignal } from "@angular/core";
4
4
  import { Observable, Subscription } from "rxjs";
5
- import { BooleanInput as BooleanInput$1, NumberInput as NumberInput$1 } from "@angular/cdk/coercion";
6
5
  import { CdkTrapFocus, FocusOrigin, FocusableOption } from "@angular/cdk/a11y";
6
+ import { BooleanInput as BooleanInput$1, NumberInput as NumberInput$1 } from "@angular/cdk/coercion";
7
7
  import { Options, Placement } from "@popperjs/core";
8
8
  import { DomPortal, DomPortalOutlet } from "@angular/cdk/portal";
9
9
  export declare type BooleanInput = string | boolean | null | undefined;
@@ -114,12 +114,12 @@ declare namespace theme_directive_d_exports {
114
114
  export declare class ThemeDirective {
115
115
  #private;
116
116
  /**
117
- * Sets the dark theme attribute on the host element.
117
+ * Sets the `data-coreui-theme` attribute on the host element. Overridden by `dark`.
118
118
  * @returns 'dark' | 'light'
119
119
  */
120
120
  readonly colorScheme: import("@angular/core").InputSignal<"dark" | "light" | undefined>;
121
121
  /**
122
- * Sets a darker color scheme. If the colorScheme is set to 'dark', the dark theme will be applied.
122
+ * Applies the dark color scheme, regardless of `colorScheme`.
123
123
  * @returns boolean
124
124
  * @default false
125
125
  */
@@ -1368,6 +1368,810 @@ export declare class CarouselModule {
1368
1368
  static ɵmod: i0.ɵɵNgModuleDeclaration<CarouselModule, never, [typeof CarouselComponent, typeof CarouselCaptionComponent, typeof CarouselControlComponent, typeof CarouselIndicatorsComponent, typeof CarouselInnerComponent, typeof CarouselItemComponent], [typeof CarouselComponent, typeof CarouselCaptionComponent, typeof CarouselControlComponent, typeof CarouselIndicatorsComponent, typeof CarouselInnerComponent, typeof CarouselItemComponent]>;
1369
1369
  static ɵinj: i0.ɵɵInjectorDeclaration<CarouselModule>;
1370
1370
  }
1371
+ declare namespace chip_component_d_exports {
1372
+ export { ChipComponent };
1373
+ }
1374
+ export declare class ChipComponent implements FocusableOption, OnInit {
1375
+ #private;
1376
+ /**
1377
+ * Toggles the active state of a chip that is not selectable.
1378
+ * @returns boolean
1379
+ * @default false
1380
+ */
1381
+ readonly active: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
1382
+ /**
1383
+ * Accessible name of the remove button. When set on the chip it is used as is; otherwise the label of the
1384
+ * chip set (or `'Remove'`) is followed by the chip text, e.g. `'Remove Angular'`.
1385
+ * @returns string | undefined
1386
+ * @default undefined
1387
+ */
1388
+ readonly ariaRemoveLabel: import("@angular/core").InputSignal<string | undefined>;
1389
+ /**
1390
+ * Adds hover styling and a pointer cursor to the chip.
1391
+ * @returns boolean
1392
+ * @default false
1393
+ */
1394
+ readonly clickable: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
1395
+ /**
1396
+ * Sets the color context of the chip to one of CoreUI’s themed colors.
1397
+ * @returns Colors | undefined
1398
+ * @default undefined
1399
+ */
1400
+ readonly color: import("@angular/core").InputSignal<string | undefined>;
1401
+ /**
1402
+ * Disables the chip. Inside a chip set an unset value takes the value of the set.
1403
+ * @returns boolean | undefined
1404
+ * @default undefined
1405
+ */
1406
+ readonly disabledInput: import("@angular/core").InputSignalWithTransform<boolean | undefined, unknown>;
1407
+ /**
1408
+ * Makes the chip a filter chip: selectable, with a check icon while selected.
1409
+ * Inside a chip set an unset value takes the value of the set.
1410
+ * @returns boolean | undefined
1411
+ * @default undefined
1412
+ */
1413
+ readonly filter: import("@angular/core").InputSignalWithTransform<boolean | undefined, unknown>;
1414
+ /**
1415
+ * Shows a remove button; Backspace and Delete request removal too.
1416
+ * Inside a chip set an unset value takes the value of the set.
1417
+ * @returns boolean | undefined
1418
+ * @default undefined
1419
+ */
1420
+ readonly removable: import("@angular/core").InputSignalWithTransform<boolean | undefined, unknown>;
1421
+ /**
1422
+ * Replaces the default remove icon.
1423
+ * @returns TemplateRef<unknown> | undefined
1424
+ * @default undefined
1425
+ */
1426
+ readonly removeIcon: import("@angular/core").InputSignal<TemplateRef<unknown> | undefined>;
1427
+ /**
1428
+ * Overrides the role the chip takes from its context (`option` in a selectable set, `button` when selectable).
1429
+ * @returns string | undefined
1430
+ * @default undefined
1431
+ */
1432
+ readonly role: import("@angular/core").InputSignal<string | undefined>;
1433
+ /**
1434
+ * Makes the chip selectable with click, Enter and Space.
1435
+ * Inside a chip set an unset value takes the value of the set.
1436
+ * @returns boolean | undefined
1437
+ * @default undefined
1438
+ */
1439
+ readonly selectable: import("@angular/core").InputSignalWithTransform<boolean | undefined, unknown>;
1440
+ /**
1441
+ * Selected state of a selectable chip, two-way bindable with `[(selected)]`.
1442
+ * Inside a chip set the set keeps the selection in its own `selected`, and this input is ignored.
1443
+ * @returns boolean
1444
+ * @default false
1445
+ */
1446
+ readonly selected: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
1447
+ /**
1448
+ * Replaces the default check icon of a selected filter chip.
1449
+ * @returns TemplateRef<unknown> | undefined
1450
+ * @default undefined
1451
+ */
1452
+ readonly selectedIcon: import("@angular/core").InputSignal<TemplateRef<unknown> | undefined>;
1453
+ /**
1454
+ * Size the chip small or large.
1455
+ * @returns 'sm' | 'lg' | undefined
1456
+ * @default undefined
1457
+ */
1458
+ readonly size: import("@angular/core").InputSignal<"sm" | "lg" | undefined>;
1459
+ /**
1460
+ * Tab index of a standalone chip. Inside a chip set it is ignored: the set keeps one tab stop for all its chips.
1461
+ * @returns number | undefined
1462
+ * @default undefined
1463
+ */
1464
+ readonly tabindex: import("@angular/core").InputSignalWithTransform<number | undefined, unknown>;
1465
+ /**
1466
+ * Value that identifies the chip in a chip set. Without it the chip text is used; set it wherever the text
1467
+ * can change, e.g. with translations.
1468
+ * @returns string | undefined
1469
+ * @default undefined
1470
+ */
1471
+ readonly value: import("@angular/core").InputSignal<string | undefined>;
1472
+ /**
1473
+ * Sets the visual variant of the chip.
1474
+ * @returns 'outline' | undefined
1475
+ * @default undefined
1476
+ */
1477
+ readonly variant: import("@angular/core").InputSignal<"outline" | undefined>;
1478
+ /**
1479
+ * Emits when removal is requested with the remove button, Backspace or Delete.
1480
+ * @returns MouseEvent | KeyboardEvent
1481
+ */
1482
+ readonly remove: import("@angular/core").OutputEmitterRef<MouseEvent | KeyboardEvent>;
1483
+ /**
1484
+ * Emits the new selected state when the chip is toggled by the user.
1485
+ * @returns boolean
1486
+ */
1487
+ readonly selectedChange: import("@angular/core").OutputEmitterRef<boolean>;
1488
+ readonly text: import("@angular/core").WritableSignal<string>;
1489
+ readonly identity: import("@angular/core").Signal<string>;
1490
+ readonly isDisabled: import("@angular/core").Signal<boolean>;
1491
+ readonly isFilter: import("@angular/core").Signal<boolean>;
1492
+ readonly isSelectable: import("@angular/core").Signal<boolean>;
1493
+ readonly isRemovable: import("@angular/core").Signal<boolean>;
1494
+ readonly isCoordinated: import("@angular/core").Signal<boolean>;
1495
+ readonly isSelected: import("@angular/core").Signal<boolean>;
1496
+ readonly focusable: import("@angular/core").Signal<boolean>;
1497
+ readonly roleAttr: import("@angular/core").Signal<string | null>;
1498
+ readonly ariaSelected: import("@angular/core").Signal<string | null>;
1499
+ readonly ariaPressed: import("@angular/core").Signal<string | null>;
1500
+ readonly isLocked: import("@angular/core").Signal<boolean>;
1501
+ readonly ariaDisabled: import("@angular/core").Signal<"true" | null>;
1502
+ readonly hasRemoveButton: import("@angular/core").Signal<boolean>;
1503
+ readonly tabIndex: import("@angular/core").Signal<number | null>;
1504
+ readonly removeLabel: import("@angular/core").Signal<string>;
1505
+ readonly removeIconTemplate: import("@angular/core").Signal<TemplateRef<unknown> | undefined>;
1506
+ readonly selectedIconTemplate: import("@angular/core").Signal<TemplateRef<unknown> | undefined>;
1507
+ readonly hostClasses: import("@angular/core").Signal<Record<string, boolean>>;
1508
+ get element(): HTMLElement;
1509
+ get disabled(): boolean;
1510
+ constructor();
1511
+ ngOnInit(): void;
1512
+ focus(): void;
1513
+ getLabel(): string;
1514
+ onClick($event: MouseEvent): void;
1515
+ onKeydown($event: KeyboardEvent): void;
1516
+ onRemoveClick($event: MouseEvent): void;
1517
+ static ɵfac: i0.ɵɵFactoryDeclaration<ChipComponent, never>;
1518
+ static ɵcmp: i0.ɵɵComponentDeclaration<ChipComponent, "c-chip", ["cChip"], {
1519
+ "active": {
1520
+ "alias": "active";
1521
+ "required": false;
1522
+ "isSignal": true;
1523
+ };
1524
+ "ariaRemoveLabel": {
1525
+ "alias": "ariaRemoveLabel";
1526
+ "required": false;
1527
+ "isSignal": true;
1528
+ };
1529
+ "clickable": {
1530
+ "alias": "clickable";
1531
+ "required": false;
1532
+ "isSignal": true;
1533
+ };
1534
+ "color": {
1535
+ "alias": "color";
1536
+ "required": false;
1537
+ "isSignal": true;
1538
+ };
1539
+ "disabledInput": {
1540
+ "alias": "disabled";
1541
+ "required": false;
1542
+ "isSignal": true;
1543
+ };
1544
+ "filter": {
1545
+ "alias": "filter";
1546
+ "required": false;
1547
+ "isSignal": true;
1548
+ };
1549
+ "removable": {
1550
+ "alias": "removable";
1551
+ "required": false;
1552
+ "isSignal": true;
1553
+ };
1554
+ "removeIcon": {
1555
+ "alias": "removeIcon";
1556
+ "required": false;
1557
+ "isSignal": true;
1558
+ };
1559
+ "role": {
1560
+ "alias": "role";
1561
+ "required": false;
1562
+ "isSignal": true;
1563
+ };
1564
+ "selectable": {
1565
+ "alias": "selectable";
1566
+ "required": false;
1567
+ "isSignal": true;
1568
+ };
1569
+ "selected": {
1570
+ "alias": "selected";
1571
+ "required": false;
1572
+ "isSignal": true;
1573
+ };
1574
+ "selectedIcon": {
1575
+ "alias": "selectedIcon";
1576
+ "required": false;
1577
+ "isSignal": true;
1578
+ };
1579
+ "size": {
1580
+ "alias": "size";
1581
+ "required": false;
1582
+ "isSignal": true;
1583
+ };
1584
+ "tabindex": {
1585
+ "alias": "tabindex";
1586
+ "required": false;
1587
+ "isSignal": true;
1588
+ };
1589
+ "value": {
1590
+ "alias": "value";
1591
+ "required": false;
1592
+ "isSignal": true;
1593
+ };
1594
+ "variant": {
1595
+ "alias": "variant";
1596
+ "required": false;
1597
+ "isSignal": true;
1598
+ };
1599
+ }, {
1600
+ "remove": "remove";
1601
+ "selectedChange": "selectedChange";
1602
+ }, never, ["*"], true, never>;
1603
+ }
1604
+ export declare class ChipModule {
1605
+ static ɵfac: i0.ɵɵFactoryDeclaration<ChipModule, never>;
1606
+ static ɵmod: i0.ɵɵNgModuleDeclaration<ChipModule, never, [typeof ChipComponent], [typeof ChipComponent]>;
1607
+ static ɵinj: i0.ɵɵInjectorDeclaration<ChipModule>;
1608
+ }
1609
+ type ChipSize = 'sm' | 'lg';
1610
+ type ChipVariant = 'outline';
1611
+ interface ChipOptions {
1612
+ active: boolean;
1613
+ ariaRemoveLabel: string;
1614
+ clickable: boolean;
1615
+ color: Colors;
1616
+ disabled: boolean;
1617
+ filter: boolean;
1618
+ removable: boolean;
1619
+ selectable: boolean;
1620
+ size: ChipSize;
1621
+ variant: ChipVariant;
1622
+ }
1623
+ declare namespace chip_input_component_d_exports {
1624
+ export { ChipInputComponent };
1625
+ }
1626
+ export declare class ChipInputComponent implements AfterContentInit {
1627
+ #private;
1628
+ readonly field: import("@angular/core").Signal<ElementRef<HTMLInputElement>>;
1629
+ readonly projectedChips: import("@angular/core").Signal<readonly ChipComponent[]>;
1630
+ /**
1631
+ * Wording announced to screen readers after a chip is added; the chip value is prepended.
1632
+ * @returns string
1633
+ * @default 'added'
1634
+ */
1635
+ readonly ariaAddedAnnouncement: import("@angular/core").InputSignal<string>;
1636
+ /**
1637
+ * Id of the element that describes the text field, e.g. a hint or a `c-form-feedback`.
1638
+ * @returns string | undefined
1639
+ * @default undefined
1640
+ */
1641
+ readonly ariaDescribedBy: import("@angular/core").InputSignal<string | undefined>;
1642
+ /**
1643
+ * Accessible name of the text field when there is no visible label.
1644
+ * @returns string | undefined
1645
+ * @default undefined
1646
+ */
1647
+ readonly ariaLabel: import("@angular/core").InputSignal<string | undefined>;
1648
+ /**
1649
+ * Id of the element that names the text field.
1650
+ * @returns string | undefined
1651
+ * @default undefined
1652
+ */
1653
+ readonly ariaLabelledBy: import("@angular/core").InputSignal<string | undefined>;
1654
+ /**
1655
+ * Label of the remove buttons; each chip appends its value, e.g. `'Remove Angular'`.
1656
+ * @returns string
1657
+ * @default 'Remove'
1658
+ */
1659
+ readonly ariaRemoveLabel: import("@angular/core").InputSignal<string>;
1660
+ /**
1661
+ * Wording announced to screen readers after a chip is removed; the chip value is prepended.
1662
+ * @returns string
1663
+ * @default 'removed'
1664
+ */
1665
+ readonly ariaRemovedAnnouncement: import("@angular/core").InputSignal<string>;
1666
+ /**
1667
+ * Extra class for every chip, or a function that returns the class for a chip value.
1668
+ * @returns string | ((value: string) => string) | undefined
1669
+ * @default undefined
1670
+ */
1671
+ readonly chipClassName: import("@angular/core").InputSignal<string | ((value: string) => string) | undefined>;
1672
+ /**
1673
+ * Turns the text left in the field into a chip when focus leaves the component.
1674
+ * @returns boolean
1675
+ * @default true
1676
+ */
1677
+ readonly createOnBlur: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
1678
+ /**
1679
+ * Disables the field and every chip.
1680
+ * @returns boolean
1681
+ * @default false
1682
+ */
1683
+ readonly disabled: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
1684
+ /**
1685
+ * Makes the chips filter chips: selectable, with a check icon while selected.
1686
+ * @returns boolean
1687
+ * @default false
1688
+ */
1689
+ readonly filter: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
1690
+ /**
1691
+ * Id of the text field, the target of an external `<label for>`.
1692
+ * @returns string
1693
+ * @default generated
1694
+ */
1695
+ readonly id: import("@angular/core").InputSignal<string>;
1696
+ /**
1697
+ * Set by the form when the value is invalid; shown once the control is touched.
1698
+ * @returns boolean
1699
+ * @default false
1700
+ */
1701
+ readonly invalid: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
1702
+ /**
1703
+ * Renders an inline label inside the Angular Chip Input component container.
1704
+ * @returns string | undefined
1705
+ * @default undefined
1706
+ */
1707
+ readonly label: import("@angular/core").InputSignal<string | undefined>;
1708
+ /**
1709
+ * Maximum number of chips; `null` for no limit.
1710
+ * @returns number | null
1711
+ * @default null
1712
+ */
1713
+ readonly maxChips: import("@angular/core").InputSignalWithTransform<number | null, unknown>;
1714
+ /**
1715
+ * Placeholder of the text field.
1716
+ * @returns string
1717
+ * @default ''
1718
+ */
1719
+ readonly placeholder: import("@angular/core").InputSignal<string>;
1720
+ /**
1721
+ * Keeps the chips visible but blocks adding, removing and selecting them.
1722
+ * @returns boolean
1723
+ * @default false
1724
+ */
1725
+ readonly readonly: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
1726
+ /**
1727
+ * Shows remove buttons on the chips.
1728
+ * @returns boolean
1729
+ * @default true
1730
+ */
1731
+ readonly removable: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
1732
+ /**
1733
+ * Set by the form when a value is required; adds `aria-required` to the text field.
1734
+ * @returns boolean
1735
+ * @default false
1736
+ */
1737
+ readonly required: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
1738
+ /**
1739
+ * Makes the chips selectable.
1740
+ * @returns boolean
1741
+ * @default false
1742
+ */
1743
+ readonly selectable: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
1744
+ /**
1745
+ * Values of the selected chips, two-way bindable with `[(selected)]`.
1746
+ * @returns string[]
1747
+ * @default []
1748
+ */
1749
+ readonly selected: import("@angular/core").ModelSignal<string[]>;
1750
+ /**
1751
+ * Sets how many chips can be selected at once.
1752
+ * @returns 'single' | 'multiple'
1753
+ * @default 'multiple'
1754
+ */
1755
+ readonly selectionMode: import("@angular/core").InputSignal<"single" | "multiple">;
1756
+ /**
1757
+ * Character that splits typed or pasted text into chips; `null` turns splitting off.
1758
+ * @returns string | null
1759
+ * @default ','
1760
+ */
1761
+ readonly separator: import("@angular/core").InputSignal<string | null>;
1762
+ /**
1763
+ * Size of the component.
1764
+ * @returns 'sm' | 'lg' | undefined
1765
+ * @default undefined
1766
+ */
1767
+ readonly size: import("@angular/core").InputSignal<"sm" | "lg" | undefined>;
1768
+ /**
1769
+ * Set by the form once the control has been touched.
1770
+ * @returns boolean
1771
+ * @default false
1772
+ */
1773
+ readonly touched: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
1774
+ /**
1775
+ * Validation state set by the page; it wins over the state reported by the form.
1776
+ * @returns 'valid' | 'invalid' | undefined
1777
+ * @default undefined
1778
+ */
1779
+ readonly validationState: import("@angular/core").InputSignal<"invalid" | "valid" | undefined>;
1780
+ /**
1781
+ * Chip values, two-way bindable with `[(value)]` or bound by a form.
1782
+ * @returns string[]
1783
+ * @default []
1784
+ */
1785
+ readonly value: import("@angular/core").ModelSignal<string[]>;
1786
+ /**
1787
+ * Emits the value of a chip added by the user.
1788
+ * @returns string
1789
+ */
1790
+ readonly add: import("@angular/core").OutputEmitterRef<string>;
1791
+ /**
1792
+ * Emits the text of the field when it changes.
1793
+ * @returns string
1794
+ */
1795
+ readonly inputChange: import("@angular/core").OutputEmitterRef<string>;
1796
+ /**
1797
+ * Emits the value of a chip removed by the user.
1798
+ * @returns string
1799
+ */
1800
+ readonly remove: import("@angular/core").OutputEmitterRef<string>;
1801
+ /**
1802
+ * Emits when focus leaves the component.
1803
+ */
1804
+ readonly touch: import("@angular/core").OutputEmitterRef<void>;
1805
+ readonly text: import("@angular/core").WritableSignal<string>;
1806
+ readonly items: import("@angular/core").Signal<string[]>;
1807
+ readonly canAdd: import("@angular/core").Signal<boolean>;
1808
+ readonly state: import("@angular/core").Signal<"invalid" | "valid" | undefined>;
1809
+ readonly fieldSize: import("@angular/core").Signal<number>;
1810
+ readonly hostClasses: import("@angular/core").Signal<{
1811
+ [x: string]: boolean;
1812
+ disabled: boolean;
1813
+ 'is-invalid': boolean;
1814
+ 'is-valid': boolean;
1815
+ }>;
1816
+ constructor();
1817
+ ngAfterContentInit(): void;
1818
+ focus(): void;
1819
+ chipClass(value: string): string | null;
1820
+ onClick($event: MouseEvent): void;
1821
+ onMousedown($event: MouseEvent): void;
1822
+ onKeydown($event: KeyboardEvent): void;
1823
+ onFocusin($event: FocusEvent): void;
1824
+ onFocusout($event: FocusEvent): void;
1825
+ onFieldInput($event: Event): void;
1826
+ onFieldKeydown($event: KeyboardEvent): void;
1827
+ onFieldPaste($event: ClipboardEvent): void;
1828
+ static ɵfac: i0.ɵɵFactoryDeclaration<ChipInputComponent, never>;
1829
+ static ɵcmp: i0.ɵɵComponentDeclaration<ChipInputComponent, "c-chip-input", ["cChipInput"], {
1830
+ "ariaAddedAnnouncement": {
1831
+ "alias": "ariaAddedAnnouncement";
1832
+ "required": false;
1833
+ "isSignal": true;
1834
+ };
1835
+ "ariaDescribedBy": {
1836
+ "alias": "aria-describedby";
1837
+ "required": false;
1838
+ "isSignal": true;
1839
+ };
1840
+ "ariaLabel": {
1841
+ "alias": "aria-label";
1842
+ "required": false;
1843
+ "isSignal": true;
1844
+ };
1845
+ "ariaLabelledBy": {
1846
+ "alias": "aria-labelledby";
1847
+ "required": false;
1848
+ "isSignal": true;
1849
+ };
1850
+ "ariaRemoveLabel": {
1851
+ "alias": "ariaRemoveLabel";
1852
+ "required": false;
1853
+ "isSignal": true;
1854
+ };
1855
+ "ariaRemovedAnnouncement": {
1856
+ "alias": "ariaRemovedAnnouncement";
1857
+ "required": false;
1858
+ "isSignal": true;
1859
+ };
1860
+ "chipClassName": {
1861
+ "alias": "chipClassName";
1862
+ "required": false;
1863
+ "isSignal": true;
1864
+ };
1865
+ "createOnBlur": {
1866
+ "alias": "createOnBlur";
1867
+ "required": false;
1868
+ "isSignal": true;
1869
+ };
1870
+ "disabled": {
1871
+ "alias": "disabled";
1872
+ "required": false;
1873
+ "isSignal": true;
1874
+ };
1875
+ "filter": {
1876
+ "alias": "filter";
1877
+ "required": false;
1878
+ "isSignal": true;
1879
+ };
1880
+ "id": {
1881
+ "alias": "id";
1882
+ "required": false;
1883
+ "isSignal": true;
1884
+ };
1885
+ "invalid": {
1886
+ "alias": "invalid";
1887
+ "required": false;
1888
+ "isSignal": true;
1889
+ };
1890
+ "label": {
1891
+ "alias": "label";
1892
+ "required": false;
1893
+ "isSignal": true;
1894
+ };
1895
+ "maxChips": {
1896
+ "alias": "maxChips";
1897
+ "required": false;
1898
+ "isSignal": true;
1899
+ };
1900
+ "placeholder": {
1901
+ "alias": "placeholder";
1902
+ "required": false;
1903
+ "isSignal": true;
1904
+ };
1905
+ "readonly": {
1906
+ "alias": "readonly";
1907
+ "required": false;
1908
+ "isSignal": true;
1909
+ };
1910
+ "removable": {
1911
+ "alias": "removable";
1912
+ "required": false;
1913
+ "isSignal": true;
1914
+ };
1915
+ "required": {
1916
+ "alias": "required";
1917
+ "required": false;
1918
+ "isSignal": true;
1919
+ };
1920
+ "selectable": {
1921
+ "alias": "selectable";
1922
+ "required": false;
1923
+ "isSignal": true;
1924
+ };
1925
+ "selected": {
1926
+ "alias": "selected";
1927
+ "required": false;
1928
+ "isSignal": true;
1929
+ };
1930
+ "selectionMode": {
1931
+ "alias": "selectionMode";
1932
+ "required": false;
1933
+ "isSignal": true;
1934
+ };
1935
+ "separator": {
1936
+ "alias": "separator";
1937
+ "required": false;
1938
+ "isSignal": true;
1939
+ };
1940
+ "size": {
1941
+ "alias": "size";
1942
+ "required": false;
1943
+ "isSignal": true;
1944
+ };
1945
+ "touched": {
1946
+ "alias": "touched";
1947
+ "required": false;
1948
+ "isSignal": true;
1949
+ };
1950
+ "validationState": {
1951
+ "alias": "validationState";
1952
+ "required": false;
1953
+ "isSignal": true;
1954
+ };
1955
+ "value": {
1956
+ "alias": "value";
1957
+ "required": false;
1958
+ "isSignal": true;
1959
+ };
1960
+ }, {
1961
+ "selected": "selectedChange";
1962
+ "value": "valueChange";
1963
+ "add": "add";
1964
+ "inputChange": "inputChange";
1965
+ "remove": "remove";
1966
+ "touch": "touch";
1967
+ }, ["projectedChips"], never, true, never>;
1968
+ }
1969
+ export declare class ChipInputModule {
1970
+ static ɵfac: i0.ɵɵFactoryDeclaration<ChipInputModule, never>;
1971
+ static ɵmod: i0.ɵɵNgModuleDeclaration<ChipInputModule, never, [typeof ChipInputComponent], [typeof ChipInputComponent]>;
1972
+ static ɵinj: i0.ɵɵInjectorDeclaration<ChipInputModule>;
1973
+ }
1974
+ type ChipSelectionMode = 'single' | 'multiple';
1975
+ type ChipItem = {
1976
+ value: string;
1977
+ label?: string;
1978
+ } & Partial<ChipOptions>;
1979
+ declare namespace chip_set_component_d_exports {
1980
+ export { ChipSetComponent };
1981
+ }
1982
+ export declare class ChipSetComponent {
1983
+ #private;
1984
+ /**
1985
+ * Wording announced to screen readers after a chip is added; the chip text is prepended.
1986
+ * @returns string
1987
+ * @default 'added'
1988
+ */
1989
+ readonly ariaAddedAnnouncement: import("@angular/core").InputSignal<string>;
1990
+ /**
1991
+ * Label of the remove buttons; each chip appends its text, e.g. `'Remove Angular'`.
1992
+ * Chips in a selectable set have no remove buttons for assistive technology: removal runs from the chip itself.
1993
+ * @returns string
1994
+ * @default 'Remove'
1995
+ */
1996
+ readonly ariaRemoveLabel: import("@angular/core").InputSignal<string>;
1997
+ /**
1998
+ * Wording announced to screen readers after a chip is removed; the chip text is prepended.
1999
+ * @returns string
2000
+ * @default 'removed'
2001
+ */
2002
+ readonly ariaRemovedAnnouncement: import("@angular/core").InputSignal<string>;
2003
+ /**
2004
+ * Chips rendered from data, as values or `ChipItem` objects. The set never changes the list itself:
2005
+ * it emits `chipsChange` without the removed chip, so `[(chips)]` removes it and `[chips]` with `(remove)` lets
2006
+ * the parent decide.
2007
+ * @returns (string | ChipItem)[] | undefined
2008
+ * @default undefined
2009
+ */
2010
+ readonly chips: import("@angular/core").InputSignal<(string | ChipItem)[] | undefined>;
2011
+ /**
2012
+ * Disables the set and every chip that does not set `disabled` itself.
2013
+ * @returns boolean
2014
+ * @default false
2015
+ */
2016
+ readonly disabled: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
2017
+ /**
2018
+ * Makes the chips filter chips: selectable, with a check icon while selected.
2019
+ * @returns boolean
2020
+ * @default false
2021
+ */
2022
+ readonly filter: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
2023
+ /**
2024
+ * Shows remove buttons on the chips.
2025
+ * @returns boolean
2026
+ * @default false
2027
+ */
2028
+ readonly removable: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
2029
+ /**
2030
+ * Replaces the default remove icon of the chips.
2031
+ * @returns TemplateRef<unknown> | undefined
2032
+ * @default undefined
2033
+ */
2034
+ readonly removeIcon: import("@angular/core").InputSignal<TemplateRef<unknown> | undefined>;
2035
+ /**
2036
+ * Overrides the role of the set: `listbox` when selectable, otherwise `group`.
2037
+ * A selectable set needs an accessible name, e.g. `aria-label` or `aria-labelledby`.
2038
+ * @returns string | undefined
2039
+ * @default undefined
2040
+ */
2041
+ readonly role: import("@angular/core").InputSignal<string | undefined>;
2042
+ /**
2043
+ * Makes the chips selectable.
2044
+ * @returns boolean
2045
+ * @default false
2046
+ */
2047
+ readonly selectable: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
2048
+ /**
2049
+ * Values of the selected chips, two-way bindable with `[(selected)]`. A one-way `[selected]` applies every new value
2050
+ * from the parent, but the parent does not learn about selection changes made by the user.
2051
+ * @returns string[]
2052
+ * @default []
2053
+ */
2054
+ readonly selected: import("@angular/core").ModelSignal<string[]>;
2055
+ /**
2056
+ * Replaces the default check icon of the selected filter chips.
2057
+ * @returns TemplateRef<unknown> | undefined
2058
+ * @default undefined
2059
+ */
2060
+ readonly selectedIcon: import("@angular/core").InputSignal<TemplateRef<unknown> | undefined>;
2061
+ /**
2062
+ * Sets how many chips can be selected at once.
2063
+ * @returns 'single' | 'multiple'
2064
+ * @default 'multiple'
2065
+ */
2066
+ readonly selectionMode: import("@angular/core").InputSignal<"single" | "multiple">;
2067
+ /**
2068
+ * Tab index of the set host. Without it the set takes `-1` only while it holds focus after its last chip is removed.
2069
+ * @returns number | undefined
2070
+ * @default undefined
2071
+ */
2072
+ readonly tabindex: import("@angular/core").InputSignalWithTransform<number | undefined, unknown>;
2073
+ /**
2074
+ * Emits the chip list without the chip whose removal was requested, for `[(chips)]`.
2075
+ * @returns (string | ChipItem)[]
2076
+ */
2077
+ readonly chipsChange: import("@angular/core").OutputEmitterRef<(string | ChipItem)[]>;
2078
+ /**
2079
+ * Emits the value of the chip whose removal was requested.
2080
+ * @returns string
2081
+ */
2082
+ readonly remove: import("@angular/core").OutputEmitterRef<string>;
2083
+ readonly items: import("@angular/core").Signal<ChipItem[]>;
2084
+ readonly isListbox: import("@angular/core").Signal<boolean>;
2085
+ readonly roleAttr: import("@angular/core").Signal<string>;
2086
+ readonly ariaDisabled: import("@angular/core").Signal<"true" | null>;
2087
+ readonly tabIndex: import("@angular/core").Signal<number | null>;
2088
+ constructor();
2089
+ onKeydown($event: KeyboardEvent): void;
2090
+ onFocusin($event: FocusEvent): void;
2091
+ onFocusout($event: FocusEvent): void;
2092
+ static ɵfac: i0.ɵɵFactoryDeclaration<ChipSetComponent, never>;
2093
+ static ɵcmp: i0.ɵɵComponentDeclaration<ChipSetComponent, "c-chip-set", ["cChipSet"], {
2094
+ "ariaAddedAnnouncement": {
2095
+ "alias": "ariaAddedAnnouncement";
2096
+ "required": false;
2097
+ "isSignal": true;
2098
+ };
2099
+ "ariaRemoveLabel": {
2100
+ "alias": "ariaRemoveLabel";
2101
+ "required": false;
2102
+ "isSignal": true;
2103
+ };
2104
+ "ariaRemovedAnnouncement": {
2105
+ "alias": "ariaRemovedAnnouncement";
2106
+ "required": false;
2107
+ "isSignal": true;
2108
+ };
2109
+ "chips": {
2110
+ "alias": "chips";
2111
+ "required": false;
2112
+ "isSignal": true;
2113
+ };
2114
+ "disabled": {
2115
+ "alias": "disabled";
2116
+ "required": false;
2117
+ "isSignal": true;
2118
+ };
2119
+ "filter": {
2120
+ "alias": "filter";
2121
+ "required": false;
2122
+ "isSignal": true;
2123
+ };
2124
+ "removable": {
2125
+ "alias": "removable";
2126
+ "required": false;
2127
+ "isSignal": true;
2128
+ };
2129
+ "removeIcon": {
2130
+ "alias": "removeIcon";
2131
+ "required": false;
2132
+ "isSignal": true;
2133
+ };
2134
+ "role": {
2135
+ "alias": "role";
2136
+ "required": false;
2137
+ "isSignal": true;
2138
+ };
2139
+ "selectable": {
2140
+ "alias": "selectable";
2141
+ "required": false;
2142
+ "isSignal": true;
2143
+ };
2144
+ "selected": {
2145
+ "alias": "selected";
2146
+ "required": false;
2147
+ "isSignal": true;
2148
+ };
2149
+ "selectedIcon": {
2150
+ "alias": "selectedIcon";
2151
+ "required": false;
2152
+ "isSignal": true;
2153
+ };
2154
+ "selectionMode": {
2155
+ "alias": "selectionMode";
2156
+ "required": false;
2157
+ "isSignal": true;
2158
+ };
2159
+ "tabindex": {
2160
+ "alias": "tabindex";
2161
+ "required": false;
2162
+ "isSignal": true;
2163
+ };
2164
+ }, {
2165
+ "selected": "selectedChange";
2166
+ "chipsChange": "chipsChange";
2167
+ "remove": "remove";
2168
+ }, never, ["*"], true, never>;
2169
+ }
2170
+ export declare class ChipSetModule {
2171
+ static ɵfac: i0.ɵɵFactoryDeclaration<ChipSetModule, never>;
2172
+ static ɵmod: i0.ɵɵNgModuleDeclaration<ChipSetModule, never, [typeof ChipComponent, typeof ChipSetComponent], [typeof ChipComponent, typeof ChipSetComponent]>;
2173
+ static ɵinj: i0.ɵɵInjectorDeclaration<ChipSetModule>;
2174
+ }
1371
2175
  declare namespace collapse_directive_d_exports {
1372
2176
  export { CollapseDirective };
1373
2177
  }
@@ -6650,4 +7454,4 @@ export declare class WidgetModule {
6650
7454
  static ɵmod: i0.ɵɵNgModuleDeclaration<WidgetModule, never, [typeof WidgetStatAComponent, typeof WidgetStatBComponent, typeof WidgetStatCComponent, typeof WidgetStatDComponent, typeof WidgetStatEComponent, typeof WidgetStatFComponent], [typeof WidgetStatAComponent, typeof WidgetStatBComponent, typeof WidgetStatCComponent, typeof WidgetStatDComponent, typeof WidgetStatEComponent, typeof WidgetStatFComponent]>;
6651
7455
  static ɵinj: i0.ɵɵInjectorDeclaration<WidgetModule>;
6652
7456
  }
6653
- export type { ColorMode, IBreadcrumbItem, IIntersectionObserverInit, IListenersConfig, INavData, IProgress, IProgressBar, IProgressBarStacked, SearchButtonShortcut, TToasterPlacement };
7457
+ export type { ChipItem, ChipOptions, ChipSelectionMode, ChipSize, ChipVariant, ColorMode, IBreadcrumbItem, IIntersectionObserverInit, IListenersConfig, INavData, IProgress, IProgressBar, IProgressBarStacked, SearchButtonShortcut, TToasterPlacement };