@thalassic/ui 22.5.1 → 22.7.0

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.
@@ -1,5 +1,5 @@
1
1
  import * as i0 from '@angular/core';
2
- import { ModelSignal, InputSignal, WritableSignal, Signal, InputSignalWithTransform, InjectionToken, TemplateRef, OutputEmitterRef, ElementRef, OnInit, TrackByFunction, OnDestroy, EnvironmentProviders } from '@angular/core';
2
+ import { ModelSignal, InputSignal, WritableSignal, Signal, InputSignalWithTransform, InjectionToken, TemplateRef, OutputEmitterRef, ElementRef, Type, EnvironmentProviders, OnInit, TrackByFunction, OnDestroy } from '@angular/core';
3
3
  import { FormUiControl, WithOptionalFieldTree, ValidationError, FormValueControl, FormCheckboxControl, ReadonlyFieldTree } from '@angular/forms/signals';
4
4
  import { Day } from 'date-fns';
5
5
  import { Point } from '@thalassic/core';
@@ -247,7 +247,7 @@ type overlayPosition = 'top' | 'top-start' | 'top-end' | 'right' | 'right-start'
247
247
  type size = 'xs' | 'sm' | 'md' | 'lg' | 'xl';
248
248
 
249
249
  type buttonType = 'submit' | 'reset' | 'button';
250
- type buttonVariant = 'filled' | 'outlined' | 'text' | 'elevated';
250
+ type buttonVariant = 'filled' | 'tonal' | 'outlined' | 'text' | 'elevated';
251
251
  type buttonColor = color;
252
252
 
253
253
  declare class Alert {
@@ -273,6 +273,42 @@ declare const DEFAULT_ALERT_CONFIG: AlertConfig;
273
273
 
274
274
  declare const ALERT_CONFIG: InjectionToken<AlertConfig>;
275
275
 
276
+ type badgeColor = color;
277
+ type badgeVariant = 'filled' | 'tonal';
278
+ type badgePosition = 'top-start' | 'top-end' | 'bottom-start' | 'bottom-end';
279
+
280
+ declare class Badge {
281
+ private readonly _config;
282
+ readonly value: InputSignal<string | number | undefined>;
283
+ readonly max: InputSignal<number>;
284
+ readonly color: InputSignal<badgeColor>;
285
+ readonly variant: InputSignal<badgeVariant>;
286
+ readonly position: InputSignal<badgePosition>;
287
+ readonly size: InputSignal<controlSize>;
288
+ readonly dot: InputSignalWithTransform<boolean, unknown>;
289
+ readonly showZero: InputSignalWithTransform<boolean, unknown>;
290
+ readonly hidden: InputSignalWithTransform<boolean, unknown>;
291
+ readonly inset: InputSignalWithTransform<boolean, unknown>;
292
+ readonly ariaLabel: InputSignal<string | undefined>;
293
+ protected readonly visible: i0.Signal<boolean>;
294
+ protected readonly displayValue: i0.Signal<string>;
295
+ protected readonly decorative: i0.Signal<boolean>;
296
+ protected readonly hostClasses: i0.Signal<string[]>;
297
+ static ɵfac: i0.ɵɵFactoryDeclaration<Badge, never>;
298
+ static ɵcmp: i0.ɵɵComponentDeclaration<Badge, "tls-badge", never, { "value": { "alias": "value"; "required": false; "isSignal": true; }; "max": { "alias": "max"; "required": false; "isSignal": true; }; "color": { "alias": "color"; "required": false; "isSignal": true; }; "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "position": { "alias": "position"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "dot": { "alias": "dot"; "required": false; "isSignal": true; }; "showZero": { "alias": "showZero"; "required": false; "isSignal": true; }; "hidden": { "alias": "hidden"; "required": false; "isSignal": true; }; "inset": { "alias": "inset"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
299
+ }
300
+
301
+ interface BadgeConfig {
302
+ color: badgeColor;
303
+ variant: badgeVariant;
304
+ position: badgePosition;
305
+ size: controlSize;
306
+ max: number;
307
+ }
308
+ declare const DEFAULT_BADGE_CONFIG: BadgeConfig;
309
+
310
+ declare const BADGE_CONFIG: InjectionToken<BadgeConfig>;
311
+
276
312
  declare abstract class ButtonBase {
277
313
  protected _config: _thalassic_ui.ButtonConfig;
278
314
  protected APPLY_HOST_CLASSES: boolean;
@@ -568,7 +604,7 @@ declare const DEFAULT_CALENDAR_CONFIG: CalendarConfig;
568
604
  declare const CALENDAR_CONFIG: InjectionToken<CalendarConfig>;
569
605
 
570
606
  type chipColor = color;
571
- type chipVariant = 'filled' | 'outlined' | 'text';
607
+ type chipVariant = 'filled' | 'tonal' | 'outlined' | 'text';
572
608
  interface ChipContext {
573
609
  checked: boolean;
574
610
  disabled: boolean;
@@ -1443,6 +1479,8 @@ declare class Textarea extends ValueFormControl<string> {
1443
1479
 
1444
1480
  declare const TEXTAREA_CONFIG: InjectionToken<TextareaConfig>;
1445
1481
 
1482
+ type toggleGroupVariant = 'filled' | 'tonal';
1483
+
1446
1484
  declare class ToggleGroup<T, V = unknown> extends SelectionGroup<T, V> {
1447
1485
  private readonly _config;
1448
1486
  protected CLASS_NAME: string;
@@ -1450,18 +1488,20 @@ declare class ToggleGroup<T, V = unknown> extends SelectionGroup<T, V> {
1450
1488
  readonly unselectable: InputSignalWithTransform<boolean, unknown>;
1451
1489
  readonly size: InputSignal<controlSize>;
1452
1490
  readonly color: InputSignal<color>;
1491
+ readonly variant: InputSignal<toggleGroupVariant>;
1453
1492
  readonly orientation: InputSignal<orientation>;
1454
1493
  /** Whether the group stretches to fill its container's width with equal-width options. */
1455
1494
  readonly fluid: InputSignalWithTransform<boolean, unknown>;
1456
1495
  protected readonly optionTemplate: Signal<TemplateRef<selectionGroupTemplateContext<T, V>> | undefined>;
1457
1496
  protected readonly classes: Signal<string[]>;
1458
1497
  static ɵfac: i0.ɵɵFactoryDeclaration<ToggleGroup<any, any>, never>;
1459
- static ɵcmp: i0.ɵɵComponentDeclaration<ToggleGroup<any, any>, "tls-toggle-group", never, { "multiple": { "alias": "multiple"; "required": false; "isSignal": true; }; "unselectable": { "alias": "unselectable"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "color": { "alias": "color"; "required": false; "isSignal": true; }; "orientation": { "alias": "orientation"; "required": false; "isSignal": true; }; "fluid": { "alias": "fluid"; "required": false; "isSignal": true; }; }, {}, ["optionTemplate"], never, true, never>;
1498
+ static ɵcmp: i0.ɵɵComponentDeclaration<ToggleGroup<any, any>, "tls-toggle-group", never, { "multiple": { "alias": "multiple"; "required": false; "isSignal": true; }; "unselectable": { "alias": "unselectable"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "color": { "alias": "color"; "required": false; "isSignal": true; }; "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "orientation": { "alias": "orientation"; "required": false; "isSignal": true; }; "fluid": { "alias": "fluid"; "required": false; "isSignal": true; }; }, {}, ["optionTemplate"], never, true, never>;
1460
1499
  }
1461
1500
 
1462
1501
  interface ToggleGroupConfig {
1463
1502
  size: controlSize;
1464
1503
  color: color;
1504
+ variant: toggleGroupVariant;
1465
1505
  orientation: orientation;
1466
1506
  multiple: boolean;
1467
1507
  unselectable: boolean;
@@ -1471,17 +1511,32 @@ declare const DEFAULT_TOGGLE_GROUP_CONFIG: ToggleGroupConfig;
1471
1511
 
1472
1512
  declare const TOGGLE_GROUP_CONFIG: InjectionToken<ToggleGroupConfig>;
1473
1513
 
1514
+ /**
1515
+ * Semantic names for the icons the library renders internally (checkbox tick,
1516
+ * select chevron, dialog close, toast status glyphs, …). Consumers swap any of
1517
+ * them for their own kit via `provideThalassicIcons`, so this list is the icon
1518
+ * contract between the library and the app.
1519
+ */
1520
+ type systemIcon = 'check' | 'indeterminate' | 'chevron-up' | 'chevron-down' | 'chevron-left' | 'chevron-right' | 'chevrons-left' | 'chevrons-right' | 'close' | 'success' | 'warning' | 'error' | 'info';
1521
+
1474
1522
  declare class Icon {
1475
- private _iconService;
1476
- private _config;
1477
- iconSrc: InputSignal<string>;
1478
- alt: InputSignal<string>;
1479
- allowedSources: InputSignal<string[]>;
1480
- protected isSvg: Signal<boolean>;
1481
- private _svgContentResource;
1523
+ private readonly _iconService;
1524
+ private readonly _iconRegistry;
1525
+ private readonly _config;
1526
+ /** A semantic icon from the registry — overridable via `provideThalassicIcons`. */
1527
+ name: i0.InputSignal<systemIcon | undefined>;
1528
+ /** A URL to an SVG or image for arbitrary content icons. Ignored when `name` is set. */
1529
+ iconSrc: i0.InputSignal<string | undefined>;
1530
+ alt: i0.InputSignal<string>;
1531
+ allowedSources: i0.InputSignal<string[]>;
1532
+ private readonly _renderer;
1533
+ protected readonly registryComponent: Signal<Type<unknown> | null>;
1534
+ protected readonly registrySvg: Signal<SafeHtml | null>;
1535
+ protected readonly isSvgSrc: Signal<boolean>;
1536
+ private readonly _svgContentResource;
1482
1537
  get svgContent(): Signal<SafeHtml>;
1483
1538
  static ɵfac: i0.ɵɵFactoryDeclaration<Icon, never>;
1484
- static ɵcmp: i0.ɵɵComponentDeclaration<Icon, "tls-icon", never, { "iconSrc": { "alias": "iconSrc"; "required": true; "isSignal": true; }; "alt": { "alias": "alt"; "required": false; "isSignal": true; }; "allowedSources": { "alias": "allowedSources"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
1539
+ static ɵcmp: i0.ɵɵComponentDeclaration<Icon, "tls-icon", never, { "name": { "alias": "name"; "required": false; "isSignal": true; }; "iconSrc": { "alias": "iconSrc"; "required": false; "isSignal": true; }; "alt": { "alias": "alt"; "required": false; "isSignal": true; }; "allowedSources": { "alias": "allowedSources"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
1485
1540
  }
1486
1541
 
1487
1542
  interface IconConfig {
@@ -1491,6 +1546,118 @@ declare const DEFAULT_ICON_CONFIG: IconConfig;
1491
1546
 
1492
1547
  declare const ICON_CONFIG: InjectionToken<IconConfig>;
1493
1548
 
1549
+ declare class IconService {
1550
+ private readonly _http;
1551
+ private readonly _sanitizer;
1552
+ private readonly _cache;
1553
+ getSvgContent(url: string, allowedSources: string[]): Observable<SafeHtml>;
1554
+ sanitizeSvg(svg: string): SafeHtml;
1555
+ private _isUrlAllowed;
1556
+ private _sanitizeSvg;
1557
+ private _makeSafe;
1558
+ static ɵfac: i0.ɵɵFactoryDeclaration<IconService, never>;
1559
+ static ɵprov: i0.ɵɵInjectableDeclaration<IconService>;
1560
+ }
1561
+
1562
+ /**
1563
+ * A registry entry for a {@link systemIcon}. Either raw SVG markup (sanitized
1564
+ * before it is rendered) or a component class that renders the icon itself —
1565
+ * the escape hatch for plugging in a third-party icon kit
1566
+ */
1567
+ type iconRenderer = string | Type<unknown>;
1568
+
1569
+ /**
1570
+ * A partial override map: any subset of {@link systemIcon} names mapped to a
1571
+ * {@link iconRenderer}. Names left unset fall back to the library defaults.
1572
+ */
1573
+ type iconRegistry = Partial<Record<systemIcon, iconRenderer>>;
1574
+
1575
+ /**
1576
+ * Consumer-supplied overrides for the built-in {@link systemIcon} set, merged
1577
+ * over {@link DEFAULT_ICONS} by {@link IconRegistry}. Provide it with
1578
+ * `provideThalassicIcons`.
1579
+ */
1580
+ declare const ICON_REGISTRY: InjectionToken<Partial<Record<_thalassic_ui.systemIcon, _thalassic_ui.iconRenderer>>>;
1581
+
1582
+ /**
1583
+ * Resolves a {@link systemIcon} name to its {@link iconRenderer}, applying any
1584
+ * consumer overrides from {@link ICON_REGISTRY} over {@link DEFAULT_ICONS}.
1585
+ */
1586
+ declare class IconRegistry {
1587
+ private readonly _overrides;
1588
+ private readonly _icons;
1589
+ resolve(name: systemIcon): iconRenderer;
1590
+ static ɵfac: i0.ɵɵFactoryDeclaration<IconRegistry, never>;
1591
+ static ɵprov: i0.ɵɵInjectableDeclaration<IconRegistry>;
1592
+ }
1593
+
1594
+ /**
1595
+ * Built-in SVG for every {@link systemIcon}. A coherent 24×24 stroked set drawn
1596
+ * with `currentColor`, no intrinsic width/height so each icon scales to its
1597
+ * host box. Consumers override individual entries via `provideThalassicIcons`.
1598
+ */
1599
+ declare const DEFAULT_ICONS: Record<systemIcon, string>;
1600
+
1601
+ /**
1602
+ * Override any of the library's built-in {@link systemIcon}s with your own kit.
1603
+ * Each entry is raw SVG markup or a component class; names left unset keep the
1604
+ * library defaults. Register once in the application config:
1605
+ *
1606
+ * ```ts
1607
+ * provideThalassicIcons({
1608
+ * close: '<svg>…</svg>',
1609
+ * 'chevron-down': MyChevronComponent,
1610
+ * })
1611
+ * ```
1612
+ */
1613
+ declare function provideThalassicIcons(icons: iconRegistry): EnvironmentProviders;
1614
+
1615
+ type imageCompareOrientation = orientation;
1616
+
1617
+ declare class ImageCompare {
1618
+ private readonly _config;
1619
+ private readonly _elementRef;
1620
+ private readonly _directionality;
1621
+ readonly orientation: InputSignal<imageCompareOrientation>;
1622
+ readonly keyboardStep: InputSignal<number>;
1623
+ /**
1624
+ * Divider position as a percentage (0–100) from the layout-start edge. Two-way
1625
+ * bound so consumers can drive or persist it while interaction updates it.
1626
+ */
1627
+ readonly position: ModelSignal<number>;
1628
+ /** Accessible name for the divider slider. */
1629
+ readonly ariaLabel: InputSignal<string | undefined>;
1630
+ readonly ariaLabelledby: InputSignal<string | undefined>;
1631
+ private readonly _handle;
1632
+ private readonly _dragging;
1633
+ protected readonly isHorizontal: Signal<boolean>;
1634
+ protected readonly clampedPosition: Signal<number>;
1635
+ protected readonly valueNow: Signal<number>;
1636
+ protected readonly hostClasses: Signal<string[]>;
1637
+ protected readonly clipPath: Signal<string>;
1638
+ protected onPointerDown(event: PointerEvent): void;
1639
+ protected onPointerMove(event: PointerEvent): void;
1640
+ protected onPointerUp(event: PointerEvent): void;
1641
+ protected onPointerCancel(): void;
1642
+ protected onHandleKeydown(event: KeyboardEvent): void;
1643
+ private _isRtl;
1644
+ private _updateFromPointer;
1645
+ private _setPosition;
1646
+ static ɵfac: i0.ɵɵFactoryDeclaration<ImageCompare, never>;
1647
+ static ɵcmp: i0.ɵɵComponentDeclaration<ImageCompare, "tls-image-compare", never, { "orientation": { "alias": "orientation"; "required": false; "isSignal": true; }; "keyboardStep": { "alias": "keyboardStep"; "required": false; "isSignal": true; }; "position": { "alias": "position"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; "ariaLabelledby": { "alias": "ariaLabelledby"; "required": false; "isSignal": true; }; }, { "position": "positionChange"; }, never, ["[after]", "[before]"], true, never>;
1648
+ }
1649
+
1650
+ interface ImageCompareConfig {
1651
+ orientation: imageCompareOrientation;
1652
+ /** Initial divider position as a percentage (0–100) from the layout-start edge. */
1653
+ position: number;
1654
+ /** Percentage the divider moves per arrow-key press. */
1655
+ keyboardStep: number;
1656
+ }
1657
+ declare const DEFAULT_IMAGE_COMPARE_CONFIG: ImageCompareConfig;
1658
+
1659
+ declare const IMAGE_COMPARE_CONFIG: InjectionToken<ImageCompareConfig>;
1660
+
1494
1661
  type loaderSize = size | number;
1495
1662
 
1496
1663
  /**
@@ -1748,7 +1915,7 @@ declare const PAGINATION_QUERY_SYNC_CONFIG: InjectionToken<PaginationQuerySyncCo
1748
1915
  declare class PaginationQuerySyncDirective extends QuerySyncDirective implements OnInit {
1749
1916
  private readonly _pagination;
1750
1917
  private readonly _config;
1751
- readonly tlsPaginationQuerySync: i0.InputSignal<string>;
1918
+ readonly tlsPaginationQuerySync: i0.InputSignalWithTransform<string, string>;
1752
1919
  constructor();
1753
1920
  ngOnInit(): void;
1754
1921
  static ɵfac: i0.ɵɵFactoryDeclaration<PaginationQuerySyncDirective, never>;
@@ -1815,6 +1982,85 @@ declare const DEFAULT_SKELETON_CONFIG: SkeletonConfig;
1815
1982
 
1816
1983
  declare const SKELETON_CONFIG: InjectionToken<SkeletonConfig>;
1817
1984
 
1985
+ type splitterOrientation = orientation;
1986
+
1987
+ declare class SplitterPanel {
1988
+ private readonly _elementRef;
1989
+ readonly id: string;
1990
+ /**
1991
+ * Current size of the panel as a percentage of the splitter. Two-way bound so
1992
+ * the owning splitter can update it during a resize and consumers can persist
1993
+ * the resulting layout. `null` requests an auto share of the remaining space.
1994
+ */
1995
+ readonly size: ModelSignal<number | null>;
1996
+ readonly min: InputSignalWithTransform<number, unknown>;
1997
+ readonly max: InputSignalWithTransform<number, unknown>;
1998
+ readonly collapsible: InputSignalWithTransform<boolean, unknown>;
1999
+ readonly collapsed: ModelSignal<boolean>;
2000
+ protected readonly resolvedSize: i0.Signal<number>;
2001
+ protected readonly hostClasses: i0.Signal<string[]>;
2002
+ get element(): HTMLElement;
2003
+ static ɵfac: i0.ɵɵFactoryDeclaration<SplitterPanel, never>;
2004
+ static ɵcmp: i0.ɵɵComponentDeclaration<SplitterPanel, "tls-splitter-panel", never, { "size": { "alias": "size"; "required": false; "isSignal": true; }; "min": { "alias": "min"; "required": false; "isSignal": true; }; "max": { "alias": "max"; "required": false; "isSignal": true; }; "collapsible": { "alias": "collapsible"; "required": false; "isSignal": true; }; "collapsed": { "alias": "collapsed"; "required": false; "isSignal": true; }; }, { "size": "sizeChange"; "collapsed": "collapsedChange"; }, never, ["*"], true, never>;
2005
+ }
2006
+
2007
+ interface SplitterSeam {
2008
+ index: number;
2009
+ position: number;
2010
+ valueNow: number;
2011
+ valueMin: number;
2012
+ valueMax: number;
2013
+ controls: string;
2014
+ }
2015
+ declare class Splitter {
2016
+ private readonly _config;
2017
+ private readonly _elementRef;
2018
+ private readonly _directionality;
2019
+ readonly orientation: InputSignal<splitterOrientation>;
2020
+ readonly keyboardStep: InputSignal<number>;
2021
+ /** Accessible name for the group of panels and their separators. */
2022
+ readonly ariaLabel: InputSignal<string | undefined>;
2023
+ readonly ariaLabelledby: InputSignal<string | undefined>;
2024
+ protected readonly panels: Signal<readonly SplitterPanel[]>;
2025
+ private readonly _activeSeam;
2026
+ private _dragContainerSize;
2027
+ private _dragStartCoordinate;
2028
+ private _dragStartSize;
2029
+ private readonly _collapsedSizes;
2030
+ private readonly _collapsedFlags;
2031
+ protected readonly isHorizontal: Signal<boolean>;
2032
+ protected readonly ariaOrientation: Signal<"horizontal" | "vertical">;
2033
+ protected readonly hostClasses: Signal<string[]>;
2034
+ protected readonly seams: Signal<SplitterSeam[]>;
2035
+ constructor();
2036
+ protected onGutterPointerDown(seamIndex: number, event: PointerEvent): void;
2037
+ protected onGutterPointerMove(seamIndex: number, event: PointerEvent): void;
2038
+ protected onGutterPointerUp(seamIndex: number, event: PointerEvent): void;
2039
+ protected onGutterPointerCancel(seamIndex: number): void;
2040
+ protected onGutterKeydown(seamIndex: number, event: KeyboardEvent): void;
2041
+ private _isRtl;
2042
+ private _lowerBound;
2043
+ private _upperBound;
2044
+ private _applySeamSize;
2045
+ private _collapse;
2046
+ private _expand;
2047
+ private _setCollapsedState;
2048
+ private _initializeSizes;
2049
+ private _syncCollapsedPanels;
2050
+ private _toggleCollapse;
2051
+ static ɵfac: i0.ɵɵFactoryDeclaration<Splitter, never>;
2052
+ static ɵcmp: i0.ɵɵComponentDeclaration<Splitter, "tls-splitter", never, { "orientation": { "alias": "orientation"; "required": false; "isSignal": true; }; "keyboardStep": { "alias": "keyboardStep"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; "ariaLabelledby": { "alias": "ariaLabelledby"; "required": false; "isSignal": true; }; }, {}, ["panels"], ["*"], true, never>;
2053
+ }
2054
+
2055
+ interface SplitterConfig {
2056
+ orientation: splitterOrientation;
2057
+ /** Percentage a gutter moves per arrow-key press. */
2058
+ keyboardStep: number;
2059
+ }
2060
+ declare const DEFAULT_SPLITTER_CONFIG: SplitterConfig;
2061
+
2062
+ declare const SPLITTER_CONFIG: InjectionToken<SplitterConfig>;
2063
+
1818
2064
  type stepperValue = string;
1819
2065
  type stepperColor = color;
1820
2066
  type stepperOrientation = orientation;
@@ -1975,13 +2221,218 @@ declare const TABS_QUERY_SYNC_CONFIG: InjectionToken<TabsQuerySyncConfig>;
1975
2221
  declare class TabsQuerySyncDirective extends QuerySyncDirective implements OnInit {
1976
2222
  private readonly _tabs;
1977
2223
  private readonly _config;
1978
- readonly tlsTabsQuerySync: i0.InputSignal<string>;
2224
+ readonly tlsTabsQuerySync: i0.InputSignalWithTransform<string, string>;
1979
2225
  constructor();
1980
2226
  ngOnInit(): void;
1981
2227
  static ɵfac: i0.ɵɵFactoryDeclaration<TabsQuerySyncDirective, never>;
1982
2228
  static ɵdir: i0.ɵɵDirectiveDeclaration<TabsQuerySyncDirective, "tls-tabs[tlsTabsQuerySync]", never, { "tlsTabsQuerySync": { "alias": "tlsTabsQuerySync"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
1983
2229
  }
1984
2230
 
2231
+ type toastColor = color;
2232
+ /**
2233
+ * Semantic intents exposed by the `ToastService` convenience methods
2234
+ * (`success` / `info` / `warning` / `danger`). Each maps to a `toastColor`
2235
+ * through the config, so a consumer can retheme what color an intent renders as.
2236
+ */
2237
+ type toastSeverity = 'success' | 'info' | 'warning' | 'danger';
2238
+ /**
2239
+ * Corner of the viewport toasts are anchored to. `start`/`end` are
2240
+ * direction-aware (resolved through CSS logical properties), so they follow the
2241
+ * layout direction and flip under RTL.
2242
+ */
2243
+ type toastPosition = 'top-start' | 'top-center' | 'top-end' | 'bottom-start' | 'bottom-center' | 'bottom-end';
2244
+ /**
2245
+ * How multiple toasts are laid out.
2246
+ *
2247
+ * - `collapsed`: newest toast in front, older ones piled behind it in the z
2248
+ * direction (scaled down and peeking); hovering or focusing the stack expands
2249
+ * it into a full list.
2250
+ * - `expanded`: every toast is always laid out as a full vertical list.
2251
+ */
2252
+ type toastStacking = 'collapsed' | 'expanded';
2253
+ /**
2254
+ * Optional action button rendered inside a toast (e.g. an "Undo"). The handler
2255
+ * runs on click; the toast dismisses itself afterwards.
2256
+ */
2257
+ type toastAction = {
2258
+ label: string;
2259
+ handler: () => void;
2260
+ };
2261
+
2262
+ /**
2263
+ * Presentational contents of a single toast: an optional leading status icon,
2264
+ * a title and message, an optional action button, and an optional close button.
2265
+ * Owns no timing or stacking logic — the host element is positioned by
2266
+ * `ToastOutlet`, and dismissal is reported through the `dismissed` output.
2267
+ */
2268
+ declare class Toast {
2269
+ readonly message: i0.InputSignal<string>;
2270
+ readonly title: i0.InputSignal<string | undefined>;
2271
+ readonly color: i0.InputSignal<_thalassic_ui.color>;
2272
+ readonly closable: i0.InputSignal<boolean>;
2273
+ readonly showIcon: i0.InputSignal<boolean>;
2274
+ readonly showProgress: i0.InputSignal<boolean>;
2275
+ /** Auto-dismiss delay in ms driving the countdown bar; `0` renders no bar. */
2276
+ readonly duration: i0.InputSignal<number>;
2277
+ /** Freezes the countdown bar, kept in lockstep with the paused auto-dismiss timer. */
2278
+ readonly paused: i0.InputSignal<boolean>;
2279
+ readonly action: i0.InputSignal<toastAction | undefined>;
2280
+ readonly ariaLabel: i0.InputSignal<string | undefined>;
2281
+ readonly dismissed: i0.OutputEmitterRef<void>;
2282
+ readonly actionTriggered: i0.OutputEmitterRef<void>;
2283
+ protected readonly hostClasses: i0.Signal<string[]>;
2284
+ protected readonly icon: i0.Signal<systemIcon>;
2285
+ protected readonly progressVisible: i0.Signal<boolean>;
2286
+ protected readonly progressDuration: i0.Signal<string>;
2287
+ protected readonly role: i0.Signal<"alert" | "status">;
2288
+ protected onAction(): void;
2289
+ protected onClose(): void;
2290
+ static ɵfac: i0.ɵɵFactoryDeclaration<Toast, never>;
2291
+ static ɵcmp: i0.ɵɵComponentDeclaration<Toast, "tls-toast", never, { "message": { "alias": "message"; "required": true; "isSignal": true; }; "title": { "alias": "title"; "required": false; "isSignal": true; }; "color": { "alias": "color"; "required": true; "isSignal": true; }; "closable": { "alias": "closable"; "required": false; "isSignal": true; }; "showIcon": { "alias": "showIcon"; "required": false; "isSignal": true; }; "showProgress": { "alias": "showProgress"; "required": false; "isSignal": true; }; "duration": { "alias": "duration"; "required": false; "isSignal": true; }; "paused": { "alias": "paused"; "required": false; "isSignal": true; }; "action": { "alias": "action"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; }, { "dismissed": "dismissed"; "actionTriggered": "actionTriggered"; }, never, never, true, never>;
2292
+ }
2293
+
2294
+ /** Options accepted by {@link ToastService.show}. */
2295
+ interface ToastOptions {
2296
+ message: string;
2297
+ title?: string;
2298
+ color?: toastColor;
2299
+ /** Auto-dismiss delay in ms; `0` keeps it open until dismissed. Falls back to the config. */
2300
+ duration?: number;
2301
+ /** Whether to render a close button. Falls back to the config. */
2302
+ closable?: boolean;
2303
+ /** Whether to render the leading status icon. Falls back to the config. */
2304
+ showIcon?: boolean;
2305
+ /** Whether to render the auto-dismiss countdown progress bar. Falls back to the config. */
2306
+ showProgress?: boolean;
2307
+ /** Optional action button. */
2308
+ action?: toastAction;
2309
+ /** Accessible name for the toast, when the message alone is not descriptive enough. */
2310
+ ariaLabel?: string;
2311
+ }
2312
+ /** A live toast, rendered in the stack. */
2313
+ interface ToastState {
2314
+ readonly id: number;
2315
+ readonly message: string;
2316
+ readonly title: string | undefined;
2317
+ readonly color: toastColor;
2318
+ /** Resolved auto-dismiss delay in ms; `0` keeps it open until dismissed. Drives the progress bar. */
2319
+ readonly duration: number;
2320
+ readonly closable: boolean;
2321
+ readonly showIcon: boolean;
2322
+ readonly showProgress: boolean;
2323
+ readonly action: toastAction | undefined;
2324
+ readonly ariaLabel: string | undefined;
2325
+ }
2326
+ /** Handle returned by {@link ToastService.show} for dismissing a specific toast. */
2327
+ interface ToastRef {
2328
+ readonly id: number;
2329
+ dismiss(): void;
2330
+ }
2331
+ /**
2332
+ * Imperative toast (snackbar) API. Enqueues transient notifications into a single
2333
+ * globally-positioned stack rendered by {@link ToastOutlet}. The newest toast sits
2334
+ * in front; older ones pile behind it (or list out, per the configured stacking).
2335
+ * Auto-dismiss timers are paused while the stack is hovered or focused.
2336
+ */
2337
+ declare class ToastService {
2338
+ private readonly _overlay;
2339
+ private readonly _config;
2340
+ private readonly _toasts;
2341
+ private readonly _timers;
2342
+ private _overlayRef;
2343
+ private _paused;
2344
+ private _counter;
2345
+ /** The live toasts, newest first. Consumed by {@link ToastOutlet}. */
2346
+ readonly toasts: i0.Signal<ToastState[]>;
2347
+ /** Resolved toast configuration. Consumed by {@link ToastOutlet}. */
2348
+ get config(): _thalassic_ui.ToastConfig;
2349
+ show(options: ToastOptions): ToastRef;
2350
+ success(message: string, options?: Omit<ToastOptions, 'message' | 'color'>): ToastRef;
2351
+ info(message: string, options?: Omit<ToastOptions, 'message' | 'color'>): ToastRef;
2352
+ warning(message: string, options?: Omit<ToastOptions, 'message' | 'color'>): ToastRef;
2353
+ danger(message: string, options?: Omit<ToastOptions, 'message' | 'color'>): ToastRef;
2354
+ dismiss(id: number): void;
2355
+ clear(): void;
2356
+ /** Freezes every auto-dismiss timer, preserving each toast's remaining time. */
2357
+ pause(): void;
2358
+ /** Resumes every paused auto-dismiss timer from its remaining time. */
2359
+ resume(): void;
2360
+ private _startTimer;
2361
+ private _clearTimer;
2362
+ private _pruneOrphanTimers;
2363
+ private _ensureOutlet;
2364
+ static ɵfac: i0.ɵɵFactoryDeclaration<ToastService, never>;
2365
+ static ɵprov: i0.ɵɵInjectableDeclaration<ToastService>;
2366
+ }
2367
+
2368
+ interface ToastLayout {
2369
+ transform: string;
2370
+ /** Depth fade applied to the toast surface; deep toasts in the collapsed pile fade out. */
2371
+ depthOpacity: string;
2372
+ zIndex: string;
2373
+ }
2374
+ /**
2375
+ * Single instance rendered into a global CDK overlay by {@link ToastService}. Lays
2376
+ * every live toast out as one anchored stack: collapsed into a hover-to-expand
2377
+ * pile, or an always-open list, per the resolved config. Each toast's host is the
2378
+ * stacking layer, positioned here via transform / scale / z-index computed from
2379
+ * the toasts' measured heights; hovering or focusing the region expands the pile
2380
+ * and pauses the auto-dismiss timers.
2381
+ */
2382
+ declare class ToastOutlet {
2383
+ private readonly _service;
2384
+ private readonly _destroyRef;
2385
+ protected readonly toasts: i0.Signal<ToastState[]>;
2386
+ private readonly _pointerInside;
2387
+ private readonly _focusInside;
2388
+ private readonly _heights;
2389
+ private readonly _toastElements;
2390
+ private readonly _resizeObserver;
2391
+ protected readonly position: i0.Signal<_thalassic_ui.toastPosition>;
2392
+ protected readonly expanded: i0.Signal<boolean>;
2393
+ protected readonly paused: i0.Signal<boolean>;
2394
+ protected readonly regionClasses: i0.Signal<string[]>;
2395
+ protected readonly regionHeight: i0.Signal<number>;
2396
+ protected readonly layouts: i0.Signal<ToastLayout[]>;
2397
+ private readonly _interacting;
2398
+ constructor();
2399
+ protected onDismiss(id: number): void;
2400
+ protected onAction(toast: ToastState): void;
2401
+ protected onPointerEnter(): void;
2402
+ protected onPointerLeave(): void;
2403
+ protected onFocusIn(): void;
2404
+ protected onFocusOut(): void;
2405
+ private _measure;
2406
+ static ɵfac: i0.ɵɵFactoryDeclaration<ToastOutlet, never>;
2407
+ static ɵcmp: i0.ɵɵComponentDeclaration<ToastOutlet, "tls-toast-outlet", never, {}, {}, never, never, true, never>;
2408
+ }
2409
+
2410
+ interface ToastConfig {
2411
+ /** Corner of the viewport toasts are anchored to. */
2412
+ position: toastPosition;
2413
+ /** Layout of multiple toasts: a hover-to-expand pile, or an always-open list. */
2414
+ stacking: toastStacking;
2415
+ /** Auto-dismiss delay in milliseconds. `0` keeps the toast until dismissed explicitly. */
2416
+ duration: number;
2417
+ /** Maximum number of toasts kept at once; showing more dismisses the oldest. */
2418
+ max: number;
2419
+ /** Default color when a toast does not specify one. */
2420
+ color: toastColor;
2421
+ /** Color each semantic convenience method (`success`/`info`/`warning`/`danger`) renders as. */
2422
+ severityColors: Record<toastSeverity, toastColor>;
2423
+ /** Whether toasts render a close button by default. */
2424
+ closable: boolean;
2425
+ /** Whether toasts render a leading, color-coded status icon by default. */
2426
+ showIcon: boolean;
2427
+ /** Whether auto-dismissing toasts render a countdown progress bar of their remaining time. */
2428
+ showProgress: boolean;
2429
+ /** Whether hovering / focusing the stack pauses every toast's auto-dismiss timer. */
2430
+ pauseOnHover: boolean;
2431
+ }
2432
+ declare const DEFAULT_TOAST_CONFIG: ToastConfig;
2433
+
2434
+ declare const TOAST_CONFIG: InjectionToken<ToastConfig>;
2435
+
1985
2436
  type tooltipOrigin = 'cursor' | 'element';
1986
2437
  type tooltipPosition = overlayPosition;
1987
2438
  type tooltipColor = color;
@@ -2042,6 +2493,7 @@ interface tlsUiConfigProvider {
2042
2493
  formControlGroup?: Partial<FormControlGroupConfig>;
2043
2494
  formItem?: Partial<FormItemConfig>;
2044
2495
  icon?: Partial<IconConfig>;
2496
+ imageCompare?: Partial<ImageCompareConfig>;
2045
2497
  input?: Partial<InputConfig>;
2046
2498
  loader?: Partial<LoaderConfig>;
2047
2499
  menu?: Partial<MenuConfig>;
@@ -2055,6 +2507,7 @@ interface tlsUiConfigProvider {
2055
2507
  radioButton?: Partial<RadioButtonConfig>;
2056
2508
  select?: Partial<SelectConfig>;
2057
2509
  skeleton?: Partial<SkeletonConfig>;
2510
+ splitter?: Partial<SplitterConfig>;
2058
2511
  stepper?: Partial<StepperConfig>;
2059
2512
  switch?: Partial<SwitchConfig>;
2060
2513
  table?: Partial<TableConfig>;
@@ -2062,6 +2515,9 @@ interface tlsUiConfigProvider {
2062
2515
  querySync?: Partial<TabsQuerySyncConfig>;
2063
2516
  };
2064
2517
  textarea?: Partial<TextareaConfig>;
2518
+ toast?: Partial<Omit<ToastConfig, 'severityColors'>> & {
2519
+ severityColors?: Partial<Record<toastSeverity, toastColor>>;
2520
+ };
2065
2521
  toggleGroup?: Partial<ToggleGroupConfig>;
2066
2522
  tooltip?: Partial<TooltipConfig>;
2067
2523
  };
@@ -2127,5 +2583,5 @@ declare abstract class QuerySyncDirective {
2127
2583
 
2128
2584
  declare const provideThalassicUIConfig: (config: tlsUiConfigProvider) => EnvironmentProviders;
2129
2585
 
2130
- export { ALERT_CONFIG, Alert, BUTTON_CONFIG, Button, ButtonDirective, CALENDAR_CONFIG, CHECKBOX_CONFIG, CHIP_CONFIG, CHIP_CONTROL_CONFIG, CHIP_GROUP_CONFIG, CHIP_INPUT_CONFIG, CONFIRM_CONFIG, Calendar, CalendarAgendaView, CalendarEventItem, CalendarMonthView, CalendarTimeGrid, Checkbox, CheckboxFormControl, Chip, ChipControl, ChipGroup, ChipInput, Confirm, ConfirmPanel, ConfirmService, ContextMenuDirective, DATE_TIME_PICKER_CONFIG, DEFAULT_ALERT_CONFIG, DEFAULT_BUTTON_CONFIG, DEFAULT_CALENDAR_CONFIG, DEFAULT_CHECKBOX_CONFIG, DEFAULT_CHIP_CONFIG, DEFAULT_CHIP_CONTROL_CONFIG, DEFAULT_CHIP_GROUP_CONFIG, DEFAULT_CHIP_INPUT_CONFIG, DEFAULT_CONFIRM_CONFIG, DEFAULT_DATE_TIME_PICKER_CONFIG, DEFAULT_DIALOG_CONFIG, DEFAULT_DIVIDER_CONFIG, DEFAULT_DRAWER_CONFIG, DEFAULT_FILE_INPUT_CONFIG, DEFAULT_FORM_CONTROL_CONFIG, DEFAULT_FORM_CONTROL_GROUP_CONFIG, DEFAULT_FORM_ITEM_CONFIG, DEFAULT_ICON_CONFIG, DEFAULT_INPUT_CONFIG, DEFAULT_INPUT_NUMBER_CONFIG, DEFAULT_LOADER_CONFIG, DEFAULT_MENU_CONFIG, DEFAULT_MULTI_SELECT_CONFIG, DEFAULT_ODOMETER_CONFIG, DEFAULT_PAGINATION_CONFIG, DEFAULT_PAGINATION_QUERY_SYNC_CONFIG, DEFAULT_PASSWORD_CONFIG, DEFAULT_PIN_INPUT_CONFIG, DEFAULT_POPOVER_CONFIG, DEFAULT_RADIO_BUTTON_CONFIG, DEFAULT_SELECT_CONFIG, DEFAULT_SKELETON_CONFIG, DEFAULT_STEPPER_CONFIG, DEFAULT_STEP_CONFIG, DEFAULT_SWITCH_CONFIG, DEFAULT_TABLE_CONFIG, DEFAULT_TABS_CONFIG, DEFAULT_TABS_QUERY_SYNC_CONFIG, DEFAULT_TEXTAREA_CONFIG, DEFAULT_TOGGLE_GROUP_CONFIG, DEFAULT_TOOLTIP_CONFIG, DIALOG_CONFIG, DIVIDER_CONFIG, DRAWER_CONFIG, DateTimePicker, Dialog, DialogService, Divider, Drawer, DrawerRef, DrawerService, FILE_INPUT_CONFIG, FORM_CONTROL_CONFIG, FORM_CONTROL_GROUP_CONFIG, FORM_ITEM_CONFIG, FileInput, FormControl, FormControlAddon, FormControlGroup, FormItem, ICON_CONFIG, INPUT_CONFIG, INPUT_NUMBER_CONFIG, Icon, Input, InputDirective, InputNumber, LOADER_CONFIG, Loader, MENU_CONFIG, MULTI_SELECT_CONFIG, Menu, MenuItemComponent, MenuTriggerDirective, MultiSelect, ODOMETER_CONFIG, Odometer, PAGINATION_CONFIG, PAGINATION_QUERY_SYNC_CONFIG, PASSWORD_CONFIG, PIN_INPUT_CONFIG, POPOVER_CONFIG, Pagination, PaginationQuerySyncDirective, Password, PinInput, Popover, RADIO_BUTTON_CONFIG, RadioButton, SELECT_CONFIG, SKELETON_CONFIG, STEPPER_CONFIG, SWITCH_CONFIG, Select, Skeleton, Step, Stepper, Switch, TABLE_CONFIG, TABS_CONFIG, TABS_QUERY_SYNC_CONFIG, TEXTAREA_CONFIG, TOGGLE_GROUP_CONFIG, TOOLTIP_CONFIG, Tab, Table, TableColumn, Tabs, TabsQuerySyncDirective, Textarea, ToggleGroup, TooltipDirective, ValueFormControl, provideThalassicUIConfig };
2131
- export type { AlertConfig, ButtonConfig, CalendarConfig, CalendarEvent, CalendarEventContext, CalendarRange, CheckboxConfig, ChipConfig, ChipContext, ChipControlConfig, ChipGroupConfig, ChipInputConfig, ConfirmConfig, ConfirmOptions, DateTimePickerConfig, DialogConfig, DialogOpenConfig, DividerConfig, DrawerConfig, DrawerOpenConfig, FileInputConfig, FileInputDropZoneContext, FileInputFileContext, FormControlConfig, FormControlGroupConfig, FormItemConfig, IconConfig, InputConfig, InputNumberConfig, LoaderConfig, MenuActionItem, MenuConfig, MenuCustomItem, MenuDivider, MenuItemDefinition, MenuLabel, MultiSelectConfig, OdometerConfig, OdometerToken, PaginationConfig, PaginationQuerySyncConfig, PasswordConfig, PinInputConfig, PopoverConfig, RadioButtonConfig, SelectConfig, SkeletonConfig, StepConfig, StepperConfig, StepperSelectEvent, SwitchConfig, TableColumnDefinition, TableConfig, TableData, TableTrackBy, TabsConfig, TabsQuerySyncConfig, TextareaConfig, ToggleGroupConfig, TooltipConfig, acceptInput, alertColor, buttonColor, buttonType, buttonVariant, calendarView, chipColor, chipTemplateContext, chipVariant, color, confirmActionsAlign, confirmButton, controlSize, dateTimePickerMode, dialogSize, dividerContentPosition, dividerOrientation, dividerVariant, drawerSide, drawerSize, errorTrigger, fileInputDragState, fileInputVariant, labelPosition, loaderSize, menuItemType, menuPosition, orientation, overlayPosition, paginationItem, pinInputType, resolvedConfirmButton, size, stepperColor, stepperOrientation, stepperValue, switchColor, tabValue, tableColumnAlignment, tabsHeaderPosition, tabsOrientation, tabsVariant, textareaResize, tlsUiConfigProvider, tooltipColor, tooltipOrigin, tooltipPosition };
2586
+ export { ALERT_CONFIG, Alert, BADGE_CONFIG, BUTTON_CONFIG, Badge, Button, ButtonDirective, CALENDAR_CONFIG, CHECKBOX_CONFIG, CHIP_CONFIG, CHIP_CONTROL_CONFIG, CHIP_GROUP_CONFIG, CHIP_INPUT_CONFIG, CONFIRM_CONFIG, Calendar, CalendarAgendaView, CalendarEventItem, CalendarMonthView, CalendarTimeGrid, Checkbox, CheckboxFormControl, Chip, ChipControl, ChipGroup, ChipInput, Confirm, ConfirmPanel, ConfirmService, ContextMenuDirective, DATE_TIME_PICKER_CONFIG, DEFAULT_ALERT_CONFIG, DEFAULT_BADGE_CONFIG, DEFAULT_BUTTON_CONFIG, DEFAULT_CALENDAR_CONFIG, DEFAULT_CHECKBOX_CONFIG, DEFAULT_CHIP_CONFIG, DEFAULT_CHIP_CONTROL_CONFIG, DEFAULT_CHIP_GROUP_CONFIG, DEFAULT_CHIP_INPUT_CONFIG, DEFAULT_CONFIRM_CONFIG, DEFAULT_DATE_TIME_PICKER_CONFIG, DEFAULT_DIALOG_CONFIG, DEFAULT_DIVIDER_CONFIG, DEFAULT_DRAWER_CONFIG, DEFAULT_FILE_INPUT_CONFIG, DEFAULT_FORM_CONTROL_CONFIG, DEFAULT_FORM_CONTROL_GROUP_CONFIG, DEFAULT_FORM_ITEM_CONFIG, DEFAULT_ICONS, DEFAULT_ICON_CONFIG, DEFAULT_IMAGE_COMPARE_CONFIG, DEFAULT_INPUT_CONFIG, DEFAULT_INPUT_NUMBER_CONFIG, DEFAULT_LOADER_CONFIG, DEFAULT_MENU_CONFIG, DEFAULT_MULTI_SELECT_CONFIG, DEFAULT_ODOMETER_CONFIG, DEFAULT_PAGINATION_CONFIG, DEFAULT_PAGINATION_QUERY_SYNC_CONFIG, DEFAULT_PASSWORD_CONFIG, DEFAULT_PIN_INPUT_CONFIG, DEFAULT_POPOVER_CONFIG, DEFAULT_RADIO_BUTTON_CONFIG, DEFAULT_SELECT_CONFIG, DEFAULT_SKELETON_CONFIG, DEFAULT_SPLITTER_CONFIG, DEFAULT_STEPPER_CONFIG, DEFAULT_STEP_CONFIG, DEFAULT_SWITCH_CONFIG, DEFAULT_TABLE_CONFIG, DEFAULT_TABS_CONFIG, DEFAULT_TABS_QUERY_SYNC_CONFIG, DEFAULT_TEXTAREA_CONFIG, DEFAULT_TOAST_CONFIG, DEFAULT_TOGGLE_GROUP_CONFIG, DEFAULT_TOOLTIP_CONFIG, DIALOG_CONFIG, DIVIDER_CONFIG, DRAWER_CONFIG, DateTimePicker, Dialog, DialogService, Divider, Drawer, DrawerRef, DrawerService, FILE_INPUT_CONFIG, FORM_CONTROL_CONFIG, FORM_CONTROL_GROUP_CONFIG, FORM_ITEM_CONFIG, FileInput, FormControl, FormControlAddon, FormControlGroup, FormItem, ICON_CONFIG, ICON_REGISTRY, IMAGE_COMPARE_CONFIG, INPUT_CONFIG, INPUT_NUMBER_CONFIG, Icon, IconRegistry, IconService, ImageCompare, Input, InputDirective, InputNumber, LOADER_CONFIG, Loader, MENU_CONFIG, MULTI_SELECT_CONFIG, Menu, MenuItemComponent, MenuTriggerDirective, MultiSelect, ODOMETER_CONFIG, Odometer, PAGINATION_CONFIG, PAGINATION_QUERY_SYNC_CONFIG, PASSWORD_CONFIG, PIN_INPUT_CONFIG, POPOVER_CONFIG, Pagination, PaginationQuerySyncDirective, Password, PinInput, Popover, RADIO_BUTTON_CONFIG, RadioButton, SELECT_CONFIG, SKELETON_CONFIG, SPLITTER_CONFIG, STEPPER_CONFIG, SWITCH_CONFIG, Select, Skeleton, Splitter, SplitterPanel, Step, Stepper, Switch, TABLE_CONFIG, TABS_CONFIG, TABS_QUERY_SYNC_CONFIG, TEXTAREA_CONFIG, TOAST_CONFIG, TOGGLE_GROUP_CONFIG, TOOLTIP_CONFIG, Tab, Table, TableColumn, Tabs, TabsQuerySyncDirective, Textarea, Toast, ToastOutlet, ToastService, ToggleGroup, TooltipDirective, ValueFormControl, provideThalassicIcons, provideThalassicUIConfig };
2587
+ export type { AlertConfig, BadgeConfig, ButtonConfig, CalendarConfig, CalendarEvent, CalendarEventContext, CalendarRange, CheckboxConfig, ChipConfig, ChipContext, ChipControlConfig, ChipGroupConfig, ChipInputConfig, ConfirmConfig, ConfirmOptions, DateTimePickerConfig, DialogConfig, DialogOpenConfig, DividerConfig, DrawerConfig, DrawerOpenConfig, FileInputConfig, FileInputDropZoneContext, FileInputFileContext, FormControlConfig, FormControlGroupConfig, FormItemConfig, IconConfig, ImageCompareConfig, InputConfig, InputNumberConfig, LoaderConfig, MenuActionItem, MenuConfig, MenuCustomItem, MenuDivider, MenuItemDefinition, MenuLabel, MultiSelectConfig, OdometerConfig, OdometerToken, PaginationConfig, PaginationQuerySyncConfig, PasswordConfig, PinInputConfig, PopoverConfig, RadioButtonConfig, SelectConfig, SkeletonConfig, SplitterConfig, StepConfig, StepperConfig, StepperSelectEvent, SwitchConfig, TableColumnDefinition, TableConfig, TableData, TableTrackBy, TabsConfig, TabsQuerySyncConfig, TextareaConfig, ToastConfig, ToastOptions, ToastRef, ToastState, ToggleGroupConfig, TooltipConfig, acceptInput, alertColor, badgeColor, badgePosition, badgeVariant, buttonColor, buttonType, buttonVariant, calendarView, chipColor, chipTemplateContext, chipVariant, color, confirmActionsAlign, confirmButton, controlSize, dateTimePickerMode, dialogSize, dividerContentPosition, dividerOrientation, dividerVariant, drawerSide, drawerSize, errorTrigger, fileInputDragState, fileInputVariant, iconRegistry, iconRenderer, imageCompareOrientation, labelPosition, loaderSize, menuItemType, menuPosition, orientation, overlayPosition, paginationItem, pinInputType, resolvedConfirmButton, size, splitterOrientation, stepperColor, stepperOrientation, stepperValue, switchColor, systemIcon, tabValue, tableColumnAlignment, tabsHeaderPosition, tabsOrientation, tabsVariant, textareaResize, tlsUiConfigProvider, toastAction, toastColor, toastPosition, toastSeverity, toastStacking, toggleGroupVariant, tooltipColor, tooltipOrigin, tooltipPosition };