@thalassic/ui 22.18.0 → 22.19.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.
- package/fesm2022/thalassic-ui.mjs +686 -173
- package/fesm2022/thalassic-ui.mjs.map +1 -1
- package/package.json +1 -1
- package/types/thalassic-ui.d.ts +321 -73
package/package.json
CHANGED
package/types/thalassic-ui.d.ts
CHANGED
|
@@ -2,6 +2,7 @@ import * as i0 from '@angular/core';
|
|
|
2
2
|
import { ModelSignal, InputSignal, WritableSignal, Signal, InputSignalWithTransform, InjectionToken, TemplateRef, TrackByFunction, OutputEmitterRef, Type, EnvironmentProviders, ElementRef, OnInit, ComponentRef, OnDestroy, Renderer2 } from '@angular/core';
|
|
3
3
|
import { FormUiControl, WithOptionalFieldTree, ValidationError, FormValueControl, FormCheckboxControl, ReadonlyFieldTree } from '@angular/forms/signals';
|
|
4
4
|
import { Day, Locale } from 'date-fns';
|
|
5
|
+
import * as i1 from '@thalassic/core';
|
|
5
6
|
import { Point, breakpoint } from '@thalassic/core';
|
|
6
7
|
import { FlexibleConnectedPositionStrategyOrigin, ConnectedPosition } from '@angular/cdk/overlay';
|
|
7
8
|
import * as _thalassic_ui from '@thalassic/ui';
|
|
@@ -10,7 +11,7 @@ import { Observable } from 'rxjs';
|
|
|
10
11
|
import { ComponentType } from '@angular/cdk/portal';
|
|
11
12
|
import { SafeHtml } from '@angular/platform-browser';
|
|
12
13
|
import { Router, ActivatedRoute } from '@angular/router';
|
|
13
|
-
import * as i1 from '@angular/aria/tabs';
|
|
14
|
+
import * as i1$1 from '@angular/aria/tabs';
|
|
14
15
|
import { DataSource } from '@angular/cdk/table';
|
|
15
16
|
import { CdkVirtualForOfContext, ExtendedScrollToOptions } from '@angular/cdk/scrolling';
|
|
16
17
|
|
|
@@ -485,70 +486,6 @@ declare const buildActivityThresholds: (maxCount: number, levels: number) => num
|
|
|
485
486
|
*/
|
|
486
487
|
declare const resolveActivityLevel: (count: number, thresholds: number[]) => number;
|
|
487
488
|
|
|
488
|
-
type buttonType = 'submit' | 'reset' | 'button';
|
|
489
|
-
type buttonVariant = 'filled' | 'tonal' | 'outlined' | 'text' | 'elevated';
|
|
490
|
-
type buttonColor = color;
|
|
491
|
-
|
|
492
|
-
declare class Alert {
|
|
493
|
-
private _config;
|
|
494
|
-
readonly color: InputSignal<buttonColor>;
|
|
495
|
-
readonly label: InputSignal<string | null>;
|
|
496
|
-
readonly hideLabel: InputSignalWithTransform<boolean, unknown>;
|
|
497
|
-
protected displayLabel: i0.Signal<string>;
|
|
498
|
-
protected hostClasses: i0.Signal<string[]>;
|
|
499
|
-
protected hostRole: i0.Signal<"alert" | "note">;
|
|
500
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<Alert, never>;
|
|
501
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<Alert, "tls-alert", never, { "color": { "alias": "color"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; "hideLabel": { "alias": "hideLabel"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
502
|
-
}
|
|
503
|
-
|
|
504
|
-
type alertColor = color;
|
|
505
|
-
|
|
506
|
-
interface AlertConfig {
|
|
507
|
-
color: alertColor;
|
|
508
|
-
label: Record<alertColor, string> | string;
|
|
509
|
-
hideLabel: boolean;
|
|
510
|
-
}
|
|
511
|
-
declare const DEFAULT_ALERT_CONFIG: AlertConfig;
|
|
512
|
-
|
|
513
|
-
declare const ALERT_CONFIG: InjectionToken<AlertConfig>;
|
|
514
|
-
|
|
515
|
-
type badgeColor = color;
|
|
516
|
-
type badgeVariant = 'filled' | 'tonal';
|
|
517
|
-
type badgePosition = 'top-start' | 'top-end' | 'bottom-start' | 'bottom-end';
|
|
518
|
-
|
|
519
|
-
declare class Badge {
|
|
520
|
-
private readonly _config;
|
|
521
|
-
readonly value: InputSignal<string | number | undefined>;
|
|
522
|
-
readonly max: InputSignal<number>;
|
|
523
|
-
readonly color: InputSignal<badgeColor>;
|
|
524
|
-
readonly variant: InputSignal<badgeVariant>;
|
|
525
|
-
readonly position: InputSignal<badgePosition>;
|
|
526
|
-
readonly size: InputSignal<controlSize>;
|
|
527
|
-
readonly dot: InputSignalWithTransform<boolean, unknown>;
|
|
528
|
-
readonly showZero: InputSignalWithTransform<boolean, unknown>;
|
|
529
|
-
readonly hidden: InputSignalWithTransform<boolean, unknown>;
|
|
530
|
-
readonly inset: InputSignalWithTransform<boolean, unknown>;
|
|
531
|
-
readonly bordered: InputSignalWithTransform<boolean, unknown>;
|
|
532
|
-
readonly ariaLabel: InputSignal<string | undefined>;
|
|
533
|
-
protected readonly visible: i0.Signal<boolean>;
|
|
534
|
-
protected readonly displayValue: i0.Signal<string>;
|
|
535
|
-
protected readonly decorative: i0.Signal<boolean>;
|
|
536
|
-
protected readonly hostClasses: i0.Signal<string[]>;
|
|
537
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<Badge, never>;
|
|
538
|
-
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; }; "bordered": { "alias": "bordered"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
539
|
-
}
|
|
540
|
-
|
|
541
|
-
interface BadgeConfig {
|
|
542
|
-
color: badgeColor;
|
|
543
|
-
variant: badgeVariant;
|
|
544
|
-
position: badgePosition;
|
|
545
|
-
size: controlSize;
|
|
546
|
-
max: number;
|
|
547
|
-
}
|
|
548
|
-
declare const DEFAULT_BADGE_CONFIG: BadgeConfig;
|
|
549
|
-
|
|
550
|
-
declare const BADGE_CONFIG: InjectionToken<BadgeConfig>;
|
|
551
|
-
|
|
552
489
|
/**
|
|
553
490
|
* Semantic names for the icons the library renders internally (checkbox tick,
|
|
554
491
|
* select chevron, dialog close, toast status glyphs, …). Consumers swap any of
|
|
@@ -662,6 +599,91 @@ declare const DEFAULT_ICONS: Record<systemIcon, string>;
|
|
|
662
599
|
*/
|
|
663
600
|
declare function provideThalassicIcons(icons: iconRegistry): EnvironmentProviders;
|
|
664
601
|
|
|
602
|
+
/**
|
|
603
|
+
* Marks an element as the alert's leading icon. Projected content wins over the
|
|
604
|
+
* color-derived built-in glyph, so any visual — an icon, an avatar, a spinner —
|
|
605
|
+
* can take the icon slot.
|
|
606
|
+
*/
|
|
607
|
+
declare class AlertIcon {
|
|
608
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AlertIcon, never>;
|
|
609
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<AlertIcon, "[tlsAlertIcon]", never, {}, {}, never, never, true, never>;
|
|
610
|
+
}
|
|
611
|
+
|
|
612
|
+
type alertColor = color;
|
|
613
|
+
|
|
614
|
+
declare class Alert {
|
|
615
|
+
private readonly _config;
|
|
616
|
+
readonly color: InputSignal<alertColor>;
|
|
617
|
+
readonly label: InputSignal<string | null>;
|
|
618
|
+
readonly hideLabel: InputSignalWithTransform<boolean, unknown>;
|
|
619
|
+
/** Overrides the color-derived glyph with another icon from the registry. */
|
|
620
|
+
readonly icon: InputSignal<systemIcon | undefined>;
|
|
621
|
+
/** Renders an arbitrary SVG or image URL as the icon instead of a registry glyph. */
|
|
622
|
+
readonly iconSrc: InputSignal<string | undefined>;
|
|
623
|
+
readonly hideIcon: InputSignalWithTransform<boolean, unknown>;
|
|
624
|
+
/** Consumer-provided visual rendered in place of the built-in icon. */
|
|
625
|
+
protected readonly projectedIcon: Signal<AlertIcon | undefined>;
|
|
626
|
+
protected readonly displayLabel: Signal<string>;
|
|
627
|
+
/**
|
|
628
|
+
* Registry glyph for the current color, or undefined when the icon comes from
|
|
629
|
+
* `iconSrc` — `tls-icon` ignores a source as soon as a name is present.
|
|
630
|
+
*/
|
|
631
|
+
protected readonly displayIcon: Signal<systemIcon | undefined>;
|
|
632
|
+
protected readonly hostClasses: Signal<string[]>;
|
|
633
|
+
protected readonly hostRole: Signal<string>;
|
|
634
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<Alert, never>;
|
|
635
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<Alert, "tls-alert", never, { "color": { "alias": "color"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; "hideLabel": { "alias": "hideLabel"; "required": false; "isSignal": true; }; "icon": { "alias": "icon"; "required": false; "isSignal": true; }; "iconSrc": { "alias": "iconSrc"; "required": false; "isSignal": true; }; "hideIcon": { "alias": "hideIcon"; "required": false; "isSignal": true; }; }, {}, ["projectedIcon"], ["[tlsAlertIcon]", "*"], true, never>;
|
|
636
|
+
}
|
|
637
|
+
|
|
638
|
+
interface AlertConfig {
|
|
639
|
+
color: alertColor;
|
|
640
|
+
label: Record<alertColor, string> | string;
|
|
641
|
+
hideLabel: boolean;
|
|
642
|
+
/** Leading glyph, either one icon for every color or a per-color status set. */
|
|
643
|
+
icon: Record<alertColor, systemIcon> | systemIcon;
|
|
644
|
+
hideIcon: boolean;
|
|
645
|
+
}
|
|
646
|
+
declare const DEFAULT_ALERT_CONFIG: AlertConfig;
|
|
647
|
+
|
|
648
|
+
declare const ALERT_CONFIG: InjectionToken<AlertConfig>;
|
|
649
|
+
|
|
650
|
+
type badgeColor = color;
|
|
651
|
+
type badgeVariant = 'filled' | 'tonal';
|
|
652
|
+
type badgePosition = 'top-start' | 'top-end' | 'bottom-start' | 'bottom-end';
|
|
653
|
+
|
|
654
|
+
declare class Badge {
|
|
655
|
+
private readonly _config;
|
|
656
|
+
readonly value: InputSignal<string | number | undefined>;
|
|
657
|
+
readonly max: InputSignal<number>;
|
|
658
|
+
readonly color: InputSignal<badgeColor>;
|
|
659
|
+
readonly variant: InputSignal<badgeVariant>;
|
|
660
|
+
readonly position: InputSignal<badgePosition>;
|
|
661
|
+
readonly size: InputSignal<controlSize>;
|
|
662
|
+
readonly dot: InputSignalWithTransform<boolean, unknown>;
|
|
663
|
+
readonly showZero: InputSignalWithTransform<boolean, unknown>;
|
|
664
|
+
readonly hidden: InputSignalWithTransform<boolean, unknown>;
|
|
665
|
+
readonly inset: InputSignalWithTransform<boolean, unknown>;
|
|
666
|
+
readonly bordered: InputSignalWithTransform<boolean, unknown>;
|
|
667
|
+
readonly ariaLabel: InputSignal<string | undefined>;
|
|
668
|
+
protected readonly visible: i0.Signal<boolean>;
|
|
669
|
+
protected readonly displayValue: i0.Signal<string>;
|
|
670
|
+
protected readonly decorative: i0.Signal<boolean>;
|
|
671
|
+
protected readonly hostClasses: i0.Signal<string[]>;
|
|
672
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<Badge, never>;
|
|
673
|
+
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; }; "bordered": { "alias": "bordered"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
674
|
+
}
|
|
675
|
+
|
|
676
|
+
interface BadgeConfig {
|
|
677
|
+
color: badgeColor;
|
|
678
|
+
variant: badgeVariant;
|
|
679
|
+
position: badgePosition;
|
|
680
|
+
size: controlSize;
|
|
681
|
+
max: number;
|
|
682
|
+
}
|
|
683
|
+
declare const DEFAULT_BADGE_CONFIG: BadgeConfig;
|
|
684
|
+
|
|
685
|
+
declare const BADGE_CONFIG: InjectionToken<BadgeConfig>;
|
|
686
|
+
|
|
665
687
|
interface BreadcrumbItem {
|
|
666
688
|
label: string;
|
|
667
689
|
/** Router link for the item. An item without a link renders as plain text. */
|
|
@@ -700,6 +722,10 @@ declare const DEFAULT_BREADCRUMBS_CONFIG: BreadcrumbsConfig;
|
|
|
700
722
|
|
|
701
723
|
declare const BREADCRUMBS_CONFIG: InjectionToken<BreadcrumbsConfig>;
|
|
702
724
|
|
|
725
|
+
type buttonType = 'submit' | 'reset' | 'button';
|
|
726
|
+
type buttonVariant = 'filled' | 'tonal' | 'outlined' | 'text' | 'elevated';
|
|
727
|
+
type buttonColor = color;
|
|
728
|
+
|
|
703
729
|
declare abstract class ButtonBase {
|
|
704
730
|
protected _config: _thalassic_ui.ButtonConfig;
|
|
705
731
|
protected APPLY_HOST_CLASSES: boolean;
|
|
@@ -1485,14 +1511,29 @@ declare const DIVIDER_CONFIG: InjectionToken<DividerConfig>;
|
|
|
1485
1511
|
|
|
1486
1512
|
type drawerSide = 'start' | 'end' | 'top' | 'bottom';
|
|
1487
1513
|
type drawerSize = 'sm' | 'md' | 'lg' | 'full' | 'auto';
|
|
1514
|
+
/**
|
|
1515
|
+
* Where the panel's transform comes from. `idle` leaves it to the enter/leave
|
|
1516
|
+
* keyframes; `dragging` hands it to the finger; `settling` animates it to a
|
|
1517
|
+
* resting position or off-screen.
|
|
1518
|
+
*/
|
|
1519
|
+
type drawerDragState = 'idle' | 'dragging' | 'settling';
|
|
1488
1520
|
|
|
1489
1521
|
interface DrawerConfig {
|
|
1490
1522
|
side: drawerSide;
|
|
1491
1523
|
size: drawerSize | string;
|
|
1492
1524
|
closeable: boolean;
|
|
1493
1525
|
backdropClose: boolean;
|
|
1526
|
+
/**
|
|
1527
|
+
* Dismisses the drawer on Escape. Independent of {@link DrawerConfig.backdropClose}: a
|
|
1528
|
+
* panel that ignores backdrop clicks still owes keyboard users a way out.
|
|
1529
|
+
*/
|
|
1530
|
+
escapeClose: boolean;
|
|
1494
1531
|
rounded: boolean;
|
|
1495
|
-
/**
|
|
1532
|
+
/**
|
|
1533
|
+
* Renders a grabber pill on the edge facing the viewport and makes the panel
|
|
1534
|
+
* draggable toward that edge to dismiss. The pill is the affordance for the
|
|
1535
|
+
* gesture, so the two are one decision — a visible grabber is always draggable.
|
|
1536
|
+
*/
|
|
1496
1537
|
grabber: boolean;
|
|
1497
1538
|
/** Accessible name for the close button, overridable for localization. */
|
|
1498
1539
|
closeLabel: string;
|
|
@@ -1502,17 +1543,37 @@ declare const DEFAULT_DRAWER_CONFIG: DrawerConfig;
|
|
|
1502
1543
|
declare class Drawer extends CdkDialogContainer {
|
|
1503
1544
|
private readonly _tlsConfig;
|
|
1504
1545
|
private readonly _dialogRef;
|
|
1546
|
+
private readonly _directionality;
|
|
1547
|
+
private readonly _dragRenderer;
|
|
1548
|
+
private readonly _dragInjector;
|
|
1505
1549
|
private readonly _state;
|
|
1550
|
+
private readonly _dragState;
|
|
1506
1551
|
private _closing;
|
|
1552
|
+
private _dragExtent;
|
|
1507
1553
|
protected readonly hostClasses: i0.Signal<string[]>;
|
|
1554
|
+
constructor();
|
|
1508
1555
|
protected get config(): DrawerConfig;
|
|
1509
1556
|
protected get customSize(): string | null;
|
|
1510
1557
|
animatedClose(result?: unknown): void;
|
|
1511
1558
|
protected close(): void;
|
|
1559
|
+
private _onPanStart;
|
|
1560
|
+
private _onPanMove;
|
|
1561
|
+
private _onPanEnd;
|
|
1562
|
+
private _onPanCancel;
|
|
1563
|
+
private _dismissTravel;
|
|
1564
|
+
private _dismissVelocity;
|
|
1565
|
+
private _toLogical;
|
|
1566
|
+
private _isInlineSide;
|
|
1567
|
+
private _applyDrag;
|
|
1568
|
+
private _setBackdropTransition;
|
|
1569
|
+
private _settleBack;
|
|
1570
|
+
private _dragClose;
|
|
1571
|
+
private _settle;
|
|
1572
|
+
private _afterSettle;
|
|
1512
1573
|
private _sizeClass;
|
|
1513
1574
|
private _isNamedSize;
|
|
1514
1575
|
static ɵfac: i0.ɵɵFactoryDeclaration<Drawer, never>;
|
|
1515
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<Drawer, "tls-drawer", never, {}, {}, never, never, true,
|
|
1576
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<Drawer, "tls-drawer", never, {}, {}, never, never, true, [{ directive: typeof i1.PanDirective; inputs: {}; outputs: {}; }]>;
|
|
1516
1577
|
}
|
|
1517
1578
|
|
|
1518
1579
|
/**
|
|
@@ -1537,8 +1598,13 @@ interface DrawerOpenConfig<D = unknown> {
|
|
|
1537
1598
|
size?: drawerSize | string;
|
|
1538
1599
|
closeable?: boolean;
|
|
1539
1600
|
backdropClose?: boolean;
|
|
1601
|
+
/** Dismisses the drawer on Escape. Independent of `backdropClose`. */
|
|
1602
|
+
escapeClose?: boolean;
|
|
1540
1603
|
rounded?: boolean;
|
|
1541
|
-
/**
|
|
1604
|
+
/**
|
|
1605
|
+
* Renders a grabber pill on the edge facing the viewport and makes the panel
|
|
1606
|
+
* draggable toward that edge to dismiss.
|
|
1607
|
+
*/
|
|
1542
1608
|
grabber?: boolean;
|
|
1543
1609
|
/** Accessible name for the close button. */
|
|
1544
1610
|
closeLabel?: string;
|
|
@@ -1555,6 +1621,7 @@ declare class DrawerService {
|
|
|
1555
1621
|
private readonly _openDrawers;
|
|
1556
1622
|
open<R = unknown, D = unknown, C = unknown>(component: ComponentType<C>, config?: DrawerOpenConfig<D>): DrawerRef<R, C>;
|
|
1557
1623
|
closeAll(): void;
|
|
1624
|
+
private _buildPanConfig;
|
|
1558
1625
|
private _buildPositionStrategy;
|
|
1559
1626
|
private _wireDismissal;
|
|
1560
1627
|
static ɵfac: i0.ɵɵFactoryDeclaration<DrawerService, never>;
|
|
@@ -2709,6 +2776,184 @@ declare const DEFAULT_IMAGE_COMPARE_CONFIG: ImageCompareConfig;
|
|
|
2709
2776
|
|
|
2710
2777
|
declare const IMAGE_COMPARE_CONFIG: InjectionToken<ImageCompareConfig>;
|
|
2711
2778
|
|
|
2779
|
+
/** Text rendered by the trigger and the end-of-collection notice, overridable for localization. */
|
|
2780
|
+
interface InfiniteScrollLabels {
|
|
2781
|
+
/** Announced while a page is in flight. */
|
|
2782
|
+
loading: string;
|
|
2783
|
+
/** Rendered and announced once the collection is exhausted. */
|
|
2784
|
+
complete: string;
|
|
2785
|
+
/** Label of the button that loads the next page. */
|
|
2786
|
+
loadMore: string;
|
|
2787
|
+
}
|
|
2788
|
+
interface InfiniteScrollConfig {
|
|
2789
|
+
/**
|
|
2790
|
+
* Distance ahead of the scroll edge at which a load starts, in pixels. The trigger counts
|
|
2791
|
+
* as visible while it is still this far outside the scroll container, so the next page is
|
|
2792
|
+
* requested before the reader arrives at the end of the current one.
|
|
2793
|
+
*/
|
|
2794
|
+
rootMargin: number;
|
|
2795
|
+
/**
|
|
2796
|
+
* Consecutive automatic loads allowed before the manual trigger takes over; activating the
|
|
2797
|
+
* trigger clears the count. A collection that keeps growing on its own puts whatever
|
|
2798
|
+
* follows it — a footer, the next landmark — permanently out of reach, so the limit is what
|
|
2799
|
+
* hands control back. `0` removes it and should be paired with another way out.
|
|
2800
|
+
*/
|
|
2801
|
+
autoLoadLimit: number;
|
|
2802
|
+
labels: InfiniteScrollLabels;
|
|
2803
|
+
}
|
|
2804
|
+
declare const DEFAULT_INFINITE_SCROLL_CONFIG: InfiniteScrollConfig;
|
|
2805
|
+
|
|
2806
|
+
/**
|
|
2807
|
+
* What the trigger is doing, reflected as a `tls-infinite-scroll--*` host class:
|
|
2808
|
+
*
|
|
2809
|
+
* - `idle` — watching the scroll edge, nothing rendered;
|
|
2810
|
+
* - `loading` — a page is in flight and the watch is suspended;
|
|
2811
|
+
* - `manual` — the automatic allowance is spent (or never granted), so the next page waits
|
|
2812
|
+
* on the button;
|
|
2813
|
+
* - `complete` — the collection is exhausted and nothing more is requested;
|
|
2814
|
+
* - `disabled` — suspended altogether: nothing watched, nothing rendered, the allowance kept.
|
|
2815
|
+
*/
|
|
2816
|
+
type infiniteScrollState = 'idle' | 'loading' | 'manual' | 'complete' | 'disabled';
|
|
2817
|
+
|
|
2818
|
+
/**
|
|
2819
|
+
* End-of-collection trigger that asks for the next page as the reader approaches it. The
|
|
2820
|
+
* host is the sentinel: it is placed immediately after the collection and watched with an
|
|
2821
|
+
* `IntersectionObserver`, so `loadMore` fires once it comes within `rootMargin` of the
|
|
2822
|
+
* scroll edge. It renders the loading, end-of-collection and manual-trigger states of that
|
|
2823
|
+
* cycle, and nothing else — the collection above it stays entirely the consumer's.
|
|
2824
|
+
*
|
|
2825
|
+
* ```html
|
|
2826
|
+
* @for (article of articles(); track article.id) {
|
|
2827
|
+
* <article>…</article>
|
|
2828
|
+
* }
|
|
2829
|
+
*
|
|
2830
|
+
* <tls-infinite-scroll
|
|
2831
|
+
* [loading]="loading()"
|
|
2832
|
+
* [complete]="loadedEverything()"
|
|
2833
|
+
* (loadMore)="loadNextPage()"
|
|
2834
|
+
* />
|
|
2835
|
+
* ```
|
|
2836
|
+
*
|
|
2837
|
+
* The component owns no data, so `loading` is how it learns what became of a request:
|
|
2838
|
+
* raising it suspends the watch, and lowering it re-checks the sentinel and asks for one
|
|
2839
|
+
* more page while the collection is still too short to fill the container. Until `loading`
|
|
2840
|
+
* moves, the request already made stands, and the sentinel sitting in view cannot turn into
|
|
2841
|
+
* a second one — so a consumer that never raises `loading` at all gets exactly one request
|
|
2842
|
+
* each time the sentinel is scrolled into view.
|
|
2843
|
+
*
|
|
2844
|
+
* Content that grows without end leaves anything below it unreachable, so the automatic
|
|
2845
|
+
* loads are rationed: after `autoLoadLimit` of them in a row the component stops watching
|
|
2846
|
+
* and renders a button, and the allowance is renewed each time that button is used. The
|
|
2847
|
+
* three states each accept replacement content —
|
|
2848
|
+
* `[tlsInfiniteScrollLoading]`, `[tlsInfiniteScrollComplete]`, `[tlsInfiniteScrollTrigger]`
|
|
2849
|
+
* — projected in place of the loader, the end notice and the button:
|
|
2850
|
+
*
|
|
2851
|
+
* ```html
|
|
2852
|
+
* <tls-infinite-scroll [loading]="loading()" (loadMore)="loadNextPage()">
|
|
2853
|
+
* <tls-skeleton tlsInfiniteScrollLoading height="64px" />
|
|
2854
|
+
* </tls-infinite-scroll>
|
|
2855
|
+
* ```
|
|
2856
|
+
*
|
|
2857
|
+
* Visibility is clipped by every scrolling ancestor, so a collection inside a panel triggers
|
|
2858
|
+
* without configuration — but the head start does not come for free with it: `rootMargin`
|
|
2859
|
+
* expands the root's box and nothing else, and the root is the viewport until one is named.
|
|
2860
|
+
* Left unset inside a panel, the next page is therefore requested only as the sentinel
|
|
2861
|
+
* reaches the panel's edge; pass that panel as `root` to get the margin back.
|
|
2862
|
+
*
|
|
2863
|
+
* The end notice is announced from `labels.complete`, whatever stands in the slot, so
|
|
2864
|
+
* replacement content belongs with a label that says the same thing.
|
|
2865
|
+
*/
|
|
2866
|
+
declare class InfiniteScroll {
|
|
2867
|
+
private readonly _config;
|
|
2868
|
+
private readonly _elementRef;
|
|
2869
|
+
private readonly _isBrowser;
|
|
2870
|
+
/**
|
|
2871
|
+
* Whether a page is in flight. While it is raised nothing is watched and nothing is
|
|
2872
|
+
* emitted; lowering it re-measures the sentinel and requests the next page when the
|
|
2873
|
+
* collection still has not reached past the scroll edge.
|
|
2874
|
+
*/
|
|
2875
|
+
readonly loading: InputSignalWithTransform<boolean, unknown>;
|
|
2876
|
+
/** Whether the collection is exhausted. Ends the cycle and renders the end notice. */
|
|
2877
|
+
readonly complete: InputSignalWithTransform<boolean, unknown>;
|
|
2878
|
+
/**
|
|
2879
|
+
* Suspends the whole trigger without ending it: nothing is watched, nothing is rendered,
|
|
2880
|
+
* and the automatic allowance is kept for when it is lifted.
|
|
2881
|
+
*/
|
|
2882
|
+
readonly disabled: InputSignalWithTransform<boolean, unknown>;
|
|
2883
|
+
/**
|
|
2884
|
+
* Renders the button from the start instead of loading on approach. The scroll position
|
|
2885
|
+
* then never triggers a request, which is what a collection whose items are expensive to
|
|
2886
|
+
* render — or one a reader is likely to scroll past — should do.
|
|
2887
|
+
*/
|
|
2888
|
+
readonly manual: InputSignalWithTransform<boolean, unknown>;
|
|
2889
|
+
/** Distance ahead of the scroll edge at which a load starts, in pixels. */
|
|
2890
|
+
readonly rootMargin: InputSignalWithTransform<number, unknown>;
|
|
2891
|
+
/** Consecutive automatic loads before the button takes over; `0` removes the limit. */
|
|
2892
|
+
readonly autoLoadLimit: InputSignalWithTransform<number, unknown>;
|
|
2893
|
+
/**
|
|
2894
|
+
* Element the sentinel's visibility is measured against. Left unset that is the viewport,
|
|
2895
|
+
* clipped by whatever scrolling ancestors lie in between — enough to trigger inside a
|
|
2896
|
+
* panel, but `rootMargin` then expands the viewport's box rather than the panel's, which
|
|
2897
|
+
* costs the head start. Name the scrolling container to measure the margin against it.
|
|
2898
|
+
*/
|
|
2899
|
+
readonly root: InputSignal<Element | null>;
|
|
2900
|
+
/**
|
|
2901
|
+
* Request for one more page. One request stands at a time: nothing follows it until
|
|
2902
|
+
* `loading` moves or the sentinel leaves view, whether it came from the scroll position
|
|
2903
|
+
* or from the button.
|
|
2904
|
+
*/
|
|
2905
|
+
readonly loadMore: OutputEmitterRef<void>;
|
|
2906
|
+
protected readonly labels: InfiniteScrollLabels;
|
|
2907
|
+
/** Automatic loads since the last time the button was used. */
|
|
2908
|
+
private readonly _automaticLoads;
|
|
2909
|
+
/**
|
|
2910
|
+
* Whether a request has gone out that nothing has accounted for yet. The sentinel keeps
|
|
2911
|
+
* reporting itself visible after a page is asked for — an observer started while it is in
|
|
2912
|
+
* view says so immediately — so without this a single request would be repeated for as
|
|
2913
|
+
* long as it takes the collection to grow past the scroll edge. Any change to `loading`
|
|
2914
|
+
* settles the outstanding request: raising it is the consumer taking the request on,
|
|
2915
|
+
* lowering it means the page has landed.
|
|
2916
|
+
*/
|
|
2917
|
+
private readonly _pending;
|
|
2918
|
+
protected readonly state: Signal<infiniteScrollState>;
|
|
2919
|
+
/** Text of the live region: empty in every state that has nothing to report. */
|
|
2920
|
+
protected readonly announcement: Signal<string>;
|
|
2921
|
+
protected readonly hostClasses: Signal<string[]>;
|
|
2922
|
+
/**
|
|
2923
|
+
* Whether the sentinel is under observation. Observation outlives the point at which the
|
|
2924
|
+
* component stops asking for pages: a request that the consumer never reports on is
|
|
2925
|
+
* settled by the sentinel leaving view, which only an observer still in place can see.
|
|
2926
|
+
*/
|
|
2927
|
+
private readonly _observing;
|
|
2928
|
+
/** Whether a report of the sentinel in view should turn into a request. */
|
|
2929
|
+
private readonly _requesting;
|
|
2930
|
+
/**
|
|
2931
|
+
* Margin as the observer takes it. A margin that does not resolve to a length is rejected
|
|
2932
|
+
* by the observer's constructor, so an unusable input falls back to the configured one
|
|
2933
|
+
* rather than leaving the collection with no trigger at all.
|
|
2934
|
+
*/
|
|
2935
|
+
private readonly _resolvedRootMargin;
|
|
2936
|
+
constructor();
|
|
2937
|
+
/**
|
|
2938
|
+
* Requests the next page as the button does, renewing the automatic allowance. Ignored
|
|
2939
|
+
* while a page is in flight, once the collection is exhausted and while suspended.
|
|
2940
|
+
*/
|
|
2941
|
+
load(): void;
|
|
2942
|
+
/**
|
|
2943
|
+
* Renews the automatic allowance. A collection that is replaced rather than extended — a
|
|
2944
|
+
* new query, a changed filter — starts its own run of automatic loads, which this
|
|
2945
|
+
* restores. It emits nothing itself, but it does put the sentinel back under observation,
|
|
2946
|
+
* so a page is requested straight away when the shorter collection leaves it in view.
|
|
2947
|
+
*/
|
|
2948
|
+
reset(): void;
|
|
2949
|
+
private _loadAutomatically;
|
|
2950
|
+
private _emit;
|
|
2951
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<InfiniteScroll, never>;
|
|
2952
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<InfiniteScroll, "tls-infinite-scroll", never, { "loading": { "alias": "loading"; "required": false; "isSignal": true; }; "complete": { "alias": "complete"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "manual": { "alias": "manual"; "required": false; "isSignal": true; }; "rootMargin": { "alias": "rootMargin"; "required": false; "isSignal": true; }; "autoLoadLimit": { "alias": "autoLoadLimit"; "required": false; "isSignal": true; }; "root": { "alias": "root"; "required": false; "isSignal": true; }; }, { "loadMore": "loadMore"; }, never, ["[tlsInfiniteScrollLoading]", "[tlsInfiniteScrollComplete]", "[tlsInfiniteScrollTrigger]"], true, never>;
|
|
2953
|
+
}
|
|
2954
|
+
|
|
2955
|
+
declare const INFINITE_SCROLL_CONFIG: InjectionToken<InfiniteScrollConfig>;
|
|
2956
|
+
|
|
2712
2957
|
declare class Kbd {
|
|
2713
2958
|
private readonly _config;
|
|
2714
2959
|
readonly size: InputSignal<controlSize>;
|
|
@@ -3326,7 +3571,7 @@ declare class Step {
|
|
|
3326
3571
|
readonly invalid: InputSignalWithTransform<boolean, unknown>;
|
|
3327
3572
|
protected hostClasses: Signal<string[]>;
|
|
3328
3573
|
static ɵfac: i0.ɵɵFactoryDeclaration<Step, never>;
|
|
3329
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<Step, "tls-step", never, { "label": { "alias": "label"; "required": false; "isSignal": true; }; "description": { "alias": "description"; "required": false; "isSignal": true; }; "color": { "alias": "color"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "invalid": { "alias": "invalid"; "required": false; "isSignal": true; }; }, {}, ["iconTemplateRef", "completedIconTemplateRef"], ["*"], true, [{ directive: typeof i1.TabPanel; inputs: { "value": "value"; }; outputs: {}; }]>;
|
|
3574
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<Step, "tls-step", never, { "label": { "alias": "label"; "required": false; "isSignal": true; }; "description": { "alias": "description"; "required": false; "isSignal": true; }; "color": { "alias": "color"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "invalid": { "alias": "invalid"; "required": false; "isSignal": true; }; }, {}, ["iconTemplateRef", "completedIconTemplateRef"], ["*"], true, [{ directive: typeof i1$1.TabPanel; inputs: { "value": "value"; }; outputs: {}; }]>;
|
|
3330
3575
|
}
|
|
3331
3576
|
|
|
3332
3577
|
interface StepperConfig {
|
|
@@ -3368,7 +3613,7 @@ declare class Stepper {
|
|
|
3368
3613
|
protected activeIndex: Signal<number>;
|
|
3369
3614
|
protected onSelectedTabChange(value: stepperValue | undefined): void;
|
|
3370
3615
|
static ɵfac: i0.ɵɵFactoryDeclaration<Stepper, never>;
|
|
3371
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<Stepper, "tls-stepper", never, { "active": { "alias": "active"; "required": true; "isSignal": true; }; "orientation": { "alias": "orientation"; "required": false; "isSignal": true; }; "labelPosition": { "alias": "labelPosition"; "required": false; "isSignal": true; }; "completed": { "alias": "completed"; "required": false; "isSignal": true; }; "linear": { "alias": "linear"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; "ariaLabelledby": { "alias": "ariaLabelledby"; "required": false; "isSignal": true; }; }, { "active": "activeChange"; "stepSelect": "stepSelect"; }, ["steps", "completedTemplateRef", "completedIconTemplateRef"], ["*"], true, [{ directive: typeof i1.Tabs; inputs: {}; outputs: {}; }]>;
|
|
3616
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<Stepper, "tls-stepper", never, { "active": { "alias": "active"; "required": true; "isSignal": true; }; "orientation": { "alias": "orientation"; "required": false; "isSignal": true; }; "labelPosition": { "alias": "labelPosition"; "required": false; "isSignal": true; }; "completed": { "alias": "completed"; "required": false; "isSignal": true; }; "linear": { "alias": "linear"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; "ariaLabelledby": { "alias": "ariaLabelledby"; "required": false; "isSignal": true; }; }, { "active": "activeChange"; "stepSelect": "stepSelect"; }, ["steps", "completedTemplateRef", "completedIconTemplateRef"], ["*"], true, [{ directive: typeof i1$1.Tabs; inputs: {}; outputs: {}; }]>;
|
|
3372
3617
|
}
|
|
3373
3618
|
|
|
3374
3619
|
declare const STEPPER_CONFIG: InjectionToken<StepperConfig>;
|
|
@@ -3429,7 +3674,7 @@ declare class Tabs {
|
|
|
3429
3674
|
*/
|
|
3430
3675
|
findTabValue(text: string): tabValue | undefined;
|
|
3431
3676
|
static ɵfac: i0.ɵɵFactoryDeclaration<Tabs, never>;
|
|
3432
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<Tabs, "tls-tabs", never, { "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "orientation": { "alias": "orientation"; "required": false; "isSignal": true; }; "headerPosition": { "alias": "headerPosition"; "required": false; "isSignal": true; }; "headerAlign": { "alias": "headerAlign"; "required": false; "isSignal": true; }; "itemsAlign": { "alias": "itemsAlign"; "required": false; "isSignal": true; }; "selected": { "alias": "selected"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; "ariaLabelledby": { "alias": "ariaLabelledby"; "required": false; "isSignal": true; }; }, { "selected": "selectedChange"; }, ["tabs"], never, true, [{ directive: typeof i1.Tabs; inputs: {}; outputs: {}; }]>;
|
|
3677
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<Tabs, "tls-tabs", never, { "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "orientation": { "alias": "orientation"; "required": false; "isSignal": true; }; "headerPosition": { "alias": "headerPosition"; "required": false; "isSignal": true; }; "headerAlign": { "alias": "headerAlign"; "required": false; "isSignal": true; }; "itemsAlign": { "alias": "itemsAlign"; "required": false; "isSignal": true; }; "selected": { "alias": "selected"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; "ariaLabelledby": { "alias": "ariaLabelledby"; "required": false; "isSignal": true; }; }, { "selected": "selectedChange"; }, ["tabs"], never, true, [{ directive: typeof i1$1.Tabs; inputs: {}; outputs: {}; }]>;
|
|
3433
3678
|
}
|
|
3434
3679
|
|
|
3435
3680
|
interface TabsConfig {
|
|
@@ -4231,6 +4476,9 @@ interface tlsUiConfigProvider {
|
|
|
4231
4476
|
highlight?: Partial<HighlightConfig>;
|
|
4232
4477
|
icon?: Partial<IconConfig>;
|
|
4233
4478
|
imageCompare?: Partial<ImageCompareConfig>;
|
|
4479
|
+
infiniteScroll?: Partial<Omit<InfiniteScrollConfig, 'labels'>> & {
|
|
4480
|
+
labels?: Partial<InfiniteScrollLabels>;
|
|
4481
|
+
};
|
|
4234
4482
|
input?: Partial<InputConfig>;
|
|
4235
4483
|
loader?: Partial<LoaderConfig>;
|
|
4236
4484
|
mark?: Partial<MarkConfig>;
|
|
@@ -4395,5 +4643,5 @@ declare abstract class QuerySyncDirective {
|
|
|
4395
4643
|
|
|
4396
4644
|
declare const provideThalassicUIConfig: (config?: tlsUiConfigProvider) => EnvironmentProviders;
|
|
4397
4645
|
|
|
4398
|
-
export { ACTIVITY_HEATMAP_CONFIG, ALERT_CONFIG, AUTOCOMPLETE_CONFIG, ActivityHeatmap, Alert, Autocomplete, BADGE_CONFIG, BREADCRUMBS_CONFIG, BUTTON_CONFIG, Badge, Breadcrumbs, 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_ACTIVITY_HEATMAP_CONFIG, DEFAULT_ALERT_CONFIG, DEFAULT_AUTOCOMPLETE_CONFIG, DEFAULT_BADGE_CONFIG, DEFAULT_BREADCRUMBS_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_HIGHLIGHT_CONFIG, DEFAULT_ICONS, DEFAULT_ICON_CONFIG, DEFAULT_IMAGE_COMPARE_CONFIG, DEFAULT_INPUT_CONFIG, DEFAULT_INPUT_NUMBER_CONFIG, DEFAULT_KBD_CONFIG, DEFAULT_LOADER_CONFIG, DEFAULT_MARK_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_PROGRESS_CONFIG, DEFAULT_RADIO_BUTTON_CONFIG, DEFAULT_RATING_CONFIG, DEFAULT_SELECT_CONFIG, DEFAULT_SKELETON_CONFIG, DEFAULT_SLIDER_CONFIG, DEFAULT_SPLITTER_CONFIG, DEFAULT_STEPPER_CONFIG, DEFAULT_STEPPER_LABELS, DEFAULT_STEP_CONFIG, DEFAULT_SWITCH_CONFIG, DEFAULT_TABLE_CONFIG, DEFAULT_TABS_CONFIG, DEFAULT_TABS_QUERY_SYNC_CONFIG, DEFAULT_TAB_NAV_CONFIG, DEFAULT_TEXTAREA_CONFIG, DEFAULT_TOAST_CONFIG, DEFAULT_TOGGLE_BUTTON_CONFIG, DEFAULT_TOGGLE_GROUP_CONFIG, DEFAULT_TOOLTIP_CONFIG, DEFAULT_TOOLTIP_CONTENT_ATTRIBUTE, DEFAULT_VIRTUAL_SCROLL_CONFIG, DIALOG_CONFIG, DIVIDER_CONFIG, DRAWER_CONFIG, DateTimePicker, Dialog, DialogBody, DialogFooter, DialogHeader, DialogRef, DialogService, DialogTitleDirective, Divider, Drawer, DrawerRef, DrawerService, FILE_INPUT_CONFIG, FORM_CONTROL, FORM_CONTROL_CONFIG, FORM_CONTROL_GROUP_CONFIG, FORM_ITEM_CONFIG, FileDropTargetDirective, FileInput, FormControl, FormControlAddon, FormControlGroup, FormItem, HIGHLIGHT_CONFIG, Highlight, ICON_CONFIG, ICON_REGISTRY, IMAGE_COMPARE_CONFIG, INPUT_CONFIG, INPUT_NUMBER_CONFIG, Icon, IconRegistry, IconService, ImageCompare, Input, InputDirective, InputNumber, KBD_CONFIG, Kbd, LOADER_CONFIG, Loader, MARK_CONFIG, MASK_TOKENS, MENU_CONFIG, MULTI_SELECT_CONFIG, Mark, MaskDirective, Menu, MenuItemComponent, MenuTriggerDirective, MultiSelect, ODOMETER_CONFIG, Odometer, PAGINATION_CONFIG, PAGINATION_QUERY_SYNC_CONFIG, PASSWORD_CONFIG, PIN_INPUT_CONFIG, POPOVER_CONFIG, PROGRESS_CONFIG, Pagination, PaginationQuerySyncDirective, Password, PinInput, Popover, Progress, RADIO_BUTTON_CONFIG, RATING_CONFIG, RadioButton, Rating, SELECT_CONFIG, SKELETON_CONFIG, SLIDER_CONFIG, SPLITTER_CONFIG, STEPPER_CONFIG, SWITCH_CONFIG, Select, Skeleton, Slider, Splitter, SplitterPanel, Step, Stepper, Switch, TABLE_CONFIG, TABS_CONFIG, TABS_QUERY_SYNC_CONFIG, TAB_NAV_CONFIG, TEXTAREA_CONFIG, TOAST_CONFIG, TOGGLE_BUTTON_CONFIG, TOGGLE_GROUP_CONFIG, TOOLTIP_CONFIG, Tab, TabLinkDirective, TabNavDirective, Table, TableColumn, Tabs, TabsQuerySyncDirective, Textarea, Toast, ToastOutlet, ToastService, ToggleButton, ToggleGroup, TooltipDelegateDirective, TooltipDirective, TooltipTrigger, VIRTUAL_SCROLL_CONFIG, ValueFormControl, VirtualScroll, acceptsFile, aggregateActivityEntries, applyMask, buildActivityMonthSegments, buildActivityThresholds, isTypeRejected, normalizeAccept, provideThalassicIcons, provideThalassicUIConfig, resolveActivityLevel };
|
|
4399
|
-
export type { ActivityHeatmapConfig, ActivityHeatmapDay, ActivityHeatmapEntry, ActivityHeatmapLabels, ActivityHeatmapMonth, ActivityHeatmapRow, ActivityHeatmapTotal, AlertConfig, AutocompleteConfig, BadgeConfig, BreadcrumbItem, BreadcrumbItemContext, BreadcrumbsConfig, ButtonConfig, CalendarConfig, CalendarDayContext, CalendarEvent, CalendarEventContext, CalendarLabels, CalendarRange, CheckboxConfig, ChipConfig, ChipContext, ChipControlConfig, ChipGroupConfig, ChipInputConfig, ConfirmConfig, ConfirmOptions, DateTimePickerConfig, DialogConfig, DialogOpenConfig, DividerConfig, DrawerConfig, DrawerOpenConfig, FileInputConfig, FileInputDropZoneContext, FileInputFileContext, FormControlConfig, FormControlGroupConfig, FormItemConfig, FormItemLabelContext, HighlightConfig, HighlightSegment, IconConfig, ImageCompareConfig, InputConfig, InputNumberConfig, KbdConfig, LoaderConfig, MarkConfig, MaskResult, MenuActionItem, MenuConfig, MenuCustomItem, MenuDivider, MenuItemDefinition, MenuLabel, MenuRenderBlock, MenuRenderEntry, MenuRenderGroup, MenuRenderSingle, MultiSelectConfig, OdometerConfig, OdometerToken, OverlayArrowPosition, PaginationConfig, PaginationLabels, PaginationQuerySyncConfig, PasswordConfig, PinInputConfig, PopoverConfig, ProgressConfig, RadioButtonConfig, RatingConfig, RatingLabels, RatingStarContext, SelectConfig, SkeletonConfig, SliderConfig, SplitterConfig, StepConfig, StepperConfig, StepperLabels, StepperSelectEvent, SwitchConfig, TabNavConfig, TableColumnDefinition, TableConfig, TableData, TableTrackBy, TabsConfig, TabsQuerySyncConfig, TextareaConfig, ToastConfig, ToastOptions, ToastRef, ToastState, ToggleButtonConfig, ToggleGroupConfig, TooltipConfig, TrackBy, VirtualScrollConfig, VirtualScrollContext, acceptInput, alertColor, autocompleteFilterMode, badgeColor, badgePosition, badgeVariant, buttonColor, buttonType, buttonVariant, calendarCompact, calendarView, chipColor, chipSize, chipTemplateContext, chipVariant, color, confirmActionsAlign, confirmButton, confirmSize, controlSize, dateTimePickerMode, dialogFooterAlign, dialogSize, dividerContentPosition, dividerOrientation, dividerVariant, drawerSide, drawerSize, errorTrigger, fileDragState, fileInputVariant, iconRegistry, iconRenderer, imageCompareOrientation, labelPosition, loaderSize, menuItemRole, menuItemType, menuPosition, orientation, overlayArrowAlignment, overlayArrowSide, overlayPosition, paginationItem, pinInputType, progressActiveSegment, progressColor, radius, radiusValue, ratingColor, resolvedConfirmButton, size, sliderColor, splitterOrientation, stepperColor, stepperLabelPosition, stepperOrientation, stepperValue, switchColor, systemIcon, tabValue, tableColumnAlignment, tableColumnCollapse, tabsHeaderAlign, tabsHeaderPosition, tabsItemsAlign, tabsOrientation, tabsVariant, textareaResize, tlsUiConfigProvider, toastAction, toastColor, toastPosition, toastSeverity, toastStacking, toggleButtonColor, toggleButtonVariant, toggleGroupVariant, tooltipColor, tooltipOrigin, tooltipPosition };
|
|
4646
|
+
export { ACTIVITY_HEATMAP_CONFIG, ALERT_CONFIG, AUTOCOMPLETE_CONFIG, ActivityHeatmap, Alert, AlertIcon, Autocomplete, BADGE_CONFIG, BREADCRUMBS_CONFIG, BUTTON_CONFIG, Badge, Breadcrumbs, 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_ACTIVITY_HEATMAP_CONFIG, DEFAULT_ALERT_CONFIG, DEFAULT_AUTOCOMPLETE_CONFIG, DEFAULT_BADGE_CONFIG, DEFAULT_BREADCRUMBS_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_HIGHLIGHT_CONFIG, DEFAULT_ICONS, DEFAULT_ICON_CONFIG, DEFAULT_IMAGE_COMPARE_CONFIG, DEFAULT_INFINITE_SCROLL_CONFIG, DEFAULT_INPUT_CONFIG, DEFAULT_INPUT_NUMBER_CONFIG, DEFAULT_KBD_CONFIG, DEFAULT_LOADER_CONFIG, DEFAULT_MARK_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_PROGRESS_CONFIG, DEFAULT_RADIO_BUTTON_CONFIG, DEFAULT_RATING_CONFIG, DEFAULT_SELECT_CONFIG, DEFAULT_SKELETON_CONFIG, DEFAULT_SLIDER_CONFIG, DEFAULT_SPLITTER_CONFIG, DEFAULT_STEPPER_CONFIG, DEFAULT_STEPPER_LABELS, DEFAULT_STEP_CONFIG, DEFAULT_SWITCH_CONFIG, DEFAULT_TABLE_CONFIG, DEFAULT_TABS_CONFIG, DEFAULT_TABS_QUERY_SYNC_CONFIG, DEFAULT_TAB_NAV_CONFIG, DEFAULT_TEXTAREA_CONFIG, DEFAULT_TOAST_CONFIG, DEFAULT_TOGGLE_BUTTON_CONFIG, DEFAULT_TOGGLE_GROUP_CONFIG, DEFAULT_TOOLTIP_CONFIG, DEFAULT_TOOLTIP_CONTENT_ATTRIBUTE, DEFAULT_VIRTUAL_SCROLL_CONFIG, DIALOG_CONFIG, DIVIDER_CONFIG, DRAWER_CONFIG, DateTimePicker, Dialog, DialogBody, DialogFooter, DialogHeader, DialogRef, DialogService, DialogTitleDirective, Divider, Drawer, DrawerRef, DrawerService, FILE_INPUT_CONFIG, FORM_CONTROL, FORM_CONTROL_CONFIG, FORM_CONTROL_GROUP_CONFIG, FORM_ITEM_CONFIG, FileDropTargetDirective, FileInput, FormControl, FormControlAddon, FormControlGroup, FormItem, HIGHLIGHT_CONFIG, Highlight, ICON_CONFIG, ICON_REGISTRY, IMAGE_COMPARE_CONFIG, INFINITE_SCROLL_CONFIG, INPUT_CONFIG, INPUT_NUMBER_CONFIG, Icon, IconRegistry, IconService, ImageCompare, InfiniteScroll, Input, InputDirective, InputNumber, KBD_CONFIG, Kbd, LOADER_CONFIG, Loader, MARK_CONFIG, MASK_TOKENS, MENU_CONFIG, MULTI_SELECT_CONFIG, Mark, MaskDirective, Menu, MenuItemComponent, MenuTriggerDirective, MultiSelect, ODOMETER_CONFIG, Odometer, PAGINATION_CONFIG, PAGINATION_QUERY_SYNC_CONFIG, PASSWORD_CONFIG, PIN_INPUT_CONFIG, POPOVER_CONFIG, PROGRESS_CONFIG, Pagination, PaginationQuerySyncDirective, Password, PinInput, Popover, Progress, RADIO_BUTTON_CONFIG, RATING_CONFIG, RadioButton, Rating, SELECT_CONFIG, SKELETON_CONFIG, SLIDER_CONFIG, SPLITTER_CONFIG, STEPPER_CONFIG, SWITCH_CONFIG, Select, Skeleton, Slider, Splitter, SplitterPanel, Step, Stepper, Switch, TABLE_CONFIG, TABS_CONFIG, TABS_QUERY_SYNC_CONFIG, TAB_NAV_CONFIG, TEXTAREA_CONFIG, TOAST_CONFIG, TOGGLE_BUTTON_CONFIG, TOGGLE_GROUP_CONFIG, TOOLTIP_CONFIG, Tab, TabLinkDirective, TabNavDirective, Table, TableColumn, Tabs, TabsQuerySyncDirective, Textarea, Toast, ToastOutlet, ToastService, ToggleButton, ToggleGroup, TooltipDelegateDirective, TooltipDirective, TooltipTrigger, VIRTUAL_SCROLL_CONFIG, ValueFormControl, VirtualScroll, acceptsFile, aggregateActivityEntries, applyMask, buildActivityMonthSegments, buildActivityThresholds, isTypeRejected, normalizeAccept, provideThalassicIcons, provideThalassicUIConfig, resolveActivityLevel };
|
|
4647
|
+
export type { ActivityHeatmapConfig, ActivityHeatmapDay, ActivityHeatmapEntry, ActivityHeatmapLabels, ActivityHeatmapMonth, ActivityHeatmapRow, ActivityHeatmapTotal, AlertConfig, AutocompleteConfig, BadgeConfig, BreadcrumbItem, BreadcrumbItemContext, BreadcrumbsConfig, ButtonConfig, CalendarConfig, CalendarDayContext, CalendarEvent, CalendarEventContext, CalendarLabels, CalendarRange, CheckboxConfig, ChipConfig, ChipContext, ChipControlConfig, ChipGroupConfig, ChipInputConfig, ConfirmConfig, ConfirmOptions, DateTimePickerConfig, DialogConfig, DialogOpenConfig, DividerConfig, DrawerConfig, DrawerOpenConfig, FileInputConfig, FileInputDropZoneContext, FileInputFileContext, FormControlConfig, FormControlGroupConfig, FormItemConfig, FormItemLabelContext, HighlightConfig, HighlightSegment, IconConfig, ImageCompareConfig, InfiniteScrollConfig, InfiniteScrollLabels, InputConfig, InputNumberConfig, KbdConfig, LoaderConfig, MarkConfig, MaskResult, MenuActionItem, MenuConfig, MenuCustomItem, MenuDivider, MenuItemDefinition, MenuLabel, MenuRenderBlock, MenuRenderEntry, MenuRenderGroup, MenuRenderSingle, MultiSelectConfig, OdometerConfig, OdometerToken, OverlayArrowPosition, PaginationConfig, PaginationLabels, PaginationQuerySyncConfig, PasswordConfig, PinInputConfig, PopoverConfig, ProgressConfig, RadioButtonConfig, RatingConfig, RatingLabels, RatingStarContext, SelectConfig, SkeletonConfig, SliderConfig, SplitterConfig, StepConfig, StepperConfig, StepperLabels, StepperSelectEvent, SwitchConfig, TabNavConfig, TableColumnDefinition, TableConfig, TableData, TableTrackBy, TabsConfig, TabsQuerySyncConfig, TextareaConfig, ToastConfig, ToastOptions, ToastRef, ToastState, ToggleButtonConfig, ToggleGroupConfig, TooltipConfig, TrackBy, VirtualScrollConfig, VirtualScrollContext, acceptInput, alertColor, autocompleteFilterMode, badgeColor, badgePosition, badgeVariant, buttonColor, buttonType, buttonVariant, calendarCompact, calendarView, chipColor, chipSize, chipTemplateContext, chipVariant, color, confirmActionsAlign, confirmButton, confirmSize, controlSize, dateTimePickerMode, dialogFooterAlign, dialogSize, dividerContentPosition, dividerOrientation, dividerVariant, drawerDragState, drawerSide, drawerSize, errorTrigger, fileDragState, fileInputVariant, iconRegistry, iconRenderer, imageCompareOrientation, infiniteScrollState, labelPosition, loaderSize, menuItemRole, menuItemType, menuPosition, orientation, overlayArrowAlignment, overlayArrowSide, overlayPosition, paginationItem, pinInputType, progressActiveSegment, progressColor, radius, radiusValue, ratingColor, resolvedConfirmButton, size, sliderColor, splitterOrientation, stepperColor, stepperLabelPosition, stepperOrientation, stepperValue, switchColor, systemIcon, tabValue, tableColumnAlignment, tableColumnCollapse, tabsHeaderAlign, tabsHeaderPosition, tabsItemsAlign, tabsOrientation, tabsVariant, textareaResize, tlsUiConfigProvider, toastAction, toastColor, toastPosition, toastSeverity, toastStacking, toggleButtonColor, toggleButtonVariant, toggleGroupVariant, tooltipColor, tooltipOrigin, tooltipPosition };
|