@thalassic/ui 22.16.1 → 22.17.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 +1453 -594
- package/fesm2022/thalassic-ui.mjs.map +1 -1
- package/package.json +1 -1
- package/types/thalassic-ui.d.ts +615 -48
package/types/thalassic-ui.d.ts
CHANGED
|
@@ -1,17 +1,18 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { ModelSignal, InputSignal, WritableSignal, Signal, InputSignalWithTransform, InjectionToken, TemplateRef, OutputEmitterRef, Type, EnvironmentProviders, ElementRef, OnInit,
|
|
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
5
|
import { Point } from '@thalassic/core';
|
|
6
6
|
import { FlexibleConnectedPositionStrategyOrigin, ConnectedPosition } from '@angular/cdk/overlay';
|
|
7
7
|
import * as _thalassic_ui from '@thalassic/ui';
|
|
8
|
-
import { CdkDialogContainer,
|
|
9
|
-
import { ComponentType } from '@angular/cdk/portal';
|
|
8
|
+
import { CdkDialogContainer, DialogRef as DialogRef$1, DialogRole } from '@angular/cdk/dialog';
|
|
10
9
|
import { Observable } from 'rxjs';
|
|
10
|
+
import { ComponentType } from '@angular/cdk/portal';
|
|
11
11
|
import { SafeHtml } from '@angular/platform-browser';
|
|
12
12
|
import { Router, ActivatedRoute } from '@angular/router';
|
|
13
13
|
import * as i1 from '@angular/aria/tabs';
|
|
14
14
|
import { DataSource } from '@angular/cdk/table';
|
|
15
|
+
import { CdkVirtualForOfContext, ExtendedScrollToOptions } from '@angular/cdk/scrolling';
|
|
15
16
|
|
|
16
17
|
interface AccessibilityConfig {
|
|
17
18
|
/**
|
|
@@ -280,8 +281,17 @@ interface OverlayArrowPosition {
|
|
|
280
281
|
|
|
281
282
|
type overlayPosition = 'top' | 'top-start' | 'top-end' | 'right' | 'right-start' | 'right-end' | 'bottom' | 'bottom-start' | 'bottom-end' | 'left' | 'left-start' | 'left-end' | 'top-left' | 'top-right' | 'bottom-left' | 'bottom-right';
|
|
282
283
|
|
|
284
|
+
type radius = 'sm' | 'md' | 'lg' | 'xl' | '2xl' | '3xl';
|
|
285
|
+
|
|
283
286
|
type size = 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
284
287
|
|
|
288
|
+
/**
|
|
289
|
+
* Identity of an item in a repeated collection, expressed either as the key of the
|
|
290
|
+
* property holding it or as an explicit function. Absent, a collection tracks by
|
|
291
|
+
* item identity.
|
|
292
|
+
*/
|
|
293
|
+
type TrackBy<T> = keyof T | TrackByFunction<T>;
|
|
294
|
+
|
|
285
295
|
/** A single activity record. Records falling on the same calendar day are summed. */
|
|
286
296
|
interface ActivityHeatmapEntry {
|
|
287
297
|
/** Day the activity happened on; the time of day is ignored. */
|
|
@@ -538,7 +548,7 @@ declare const BADGE_CONFIG: InjectionToken<BadgeConfig>;
|
|
|
538
548
|
* them for their own kit via `provideThalassicIcons`, so this list is the icon
|
|
539
549
|
* contract between the library and the app.
|
|
540
550
|
*/
|
|
541
|
-
type systemIcon = 'check' | 'indeterminate' | 'chevron-up' | 'chevron-down' | 'chevron-left' | 'chevron-right' | 'chevrons-left' | 'chevrons-right' | 'close' | 'success' | 'warning' | 'error' | 'info' | 'bold' | 'italic' | 'strikethrough' | 'inline-code' | 'bullet-list' | 'ordered-list' | 'blockquote' | 'link' | 'code-block';
|
|
551
|
+
type systemIcon = 'check' | 'indeterminate' | 'chevron-up' | 'chevron-down' | 'chevron-left' | 'chevron-right' | 'chevrons-left' | 'chevrons-right' | 'close' | 'star' | 'star-filled' | 'success' | 'warning' | 'error' | 'info' | 'bold' | 'italic' | 'strikethrough' | 'inline-code' | 'bullet-list' | 'ordered-list' | 'blockquote' | 'link' | 'code-block';
|
|
542
552
|
|
|
543
553
|
declare class Icon {
|
|
544
554
|
private readonly _iconService;
|
|
@@ -758,6 +768,11 @@ declare const DEFAULT_BUTTON_CONFIG: ButtonConfig;
|
|
|
758
768
|
declare const BUTTON_CONFIG: InjectionToken<ButtonConfig>;
|
|
759
769
|
|
|
760
770
|
type calendarView = 'month' | 'week' | 'day' | 'agenda';
|
|
771
|
+
/**
|
|
772
|
+
* Density of the calendar's layout. `'auto'` resolves from the calendar's own rendered width, so
|
|
773
|
+
* a calendar in a narrow column is dense even on a wide screen; a boolean pins it either way.
|
|
774
|
+
*/
|
|
775
|
+
type calendarCompact = boolean | 'auto';
|
|
761
776
|
/** A single entry rendered on the calendar. `end` defaults to `start` when omitted. */
|
|
762
777
|
interface CalendarEvent {
|
|
763
778
|
id: string;
|
|
@@ -780,6 +795,21 @@ interface CalendarEventContext {
|
|
|
780
795
|
$implicit: CalendarEvent;
|
|
781
796
|
view: calendarView;
|
|
782
797
|
}
|
|
798
|
+
/**
|
|
799
|
+
* Context object exposed to a consumer-provided month day-cell template slot. The slot replaces
|
|
800
|
+
* what the cell renders — its number, event dots and "+N more" — while the cell element itself
|
|
801
|
+
* keeps its grid semantics, selection and borders.
|
|
802
|
+
*/
|
|
803
|
+
interface CalendarDayContext {
|
|
804
|
+
$implicit: Date;
|
|
805
|
+
/** Day of the month, formatted for the active locale. */
|
|
806
|
+
dayNumber: string;
|
|
807
|
+
/** Whether the day belongs to the month on screen rather than the padding around it. */
|
|
808
|
+
inCurrentMonth: boolean;
|
|
809
|
+
isToday: boolean;
|
|
810
|
+
/** Every event covering the day, in start order. */
|
|
811
|
+
events: CalendarEvent[];
|
|
812
|
+
}
|
|
783
813
|
|
|
784
814
|
/** User-facing strings rendered by the calendar and its views, overridable for localization. */
|
|
785
815
|
interface CalendarLabels {
|
|
@@ -795,12 +825,19 @@ interface CalendarLabels {
|
|
|
795
825
|
noEvents: string;
|
|
796
826
|
/** Label for the "+N more" affordance on a month day cell with hidden events. */
|
|
797
827
|
more: (count: number) => string;
|
|
828
|
+
/**
|
|
829
|
+
* Accessible summary of a day cell's event count, announced in place of the dense month
|
|
830
|
+
* layout's dots — which carry no text of their own.
|
|
831
|
+
*/
|
|
832
|
+
eventCount: (count: number) => string;
|
|
798
833
|
/** Labels for the view-switcher options, keyed by view. */
|
|
799
834
|
views: Record<calendarView, string>;
|
|
800
835
|
}
|
|
801
836
|
interface CalendarConfig {
|
|
802
837
|
/** View shown on first render. */
|
|
803
838
|
view: calendarView;
|
|
839
|
+
/** Views the switcher offers, in the order they appear; a single entry hides the switcher. */
|
|
840
|
+
views: calendarView[];
|
|
804
841
|
/** First day of the week (`date-fns` convention: 0 = Sunday). */
|
|
805
842
|
weekStartsOn: Day;
|
|
806
843
|
/** Short weekday labels, Sunday-first; rotated to honour `weekStartsOn`. */
|
|
@@ -828,6 +865,30 @@ declare class Calendar {
|
|
|
828
865
|
readonly hourEnd: InputSignal<number>;
|
|
829
866
|
readonly showAllDayRow: InputSignal<boolean>;
|
|
830
867
|
readonly maxEventsPerDay: InputSignal<number>;
|
|
868
|
+
/**
|
|
869
|
+
* Views the switcher offers, in the order they appear. Narrowing it to one entry hides the
|
|
870
|
+
* switcher, and the active view is pulled back into the set whenever it falls outside.
|
|
871
|
+
*/
|
|
872
|
+
readonly views: InputSignal<calendarView[]>;
|
|
873
|
+
/** Whether the header renders at all; when false, drive the calendar through its own API. */
|
|
874
|
+
readonly showHeader: InputSignal<boolean>;
|
|
875
|
+
/** Whether the header shows the period title. */
|
|
876
|
+
readonly showTitle: InputSignal<boolean>;
|
|
877
|
+
/** Whether the header shows the previous/today/next controls. */
|
|
878
|
+
readonly showNavigation: InputSignal<boolean>;
|
|
879
|
+
/** Whether the header shows the view switcher; it is hidden anyway with fewer than two views. */
|
|
880
|
+
readonly showViewSwitcher: InputSignal<boolean>;
|
|
881
|
+
/**
|
|
882
|
+
* Density of the layout: `'auto'` lets the rendered width decide, `true` pins the dense layout
|
|
883
|
+
* on and `false` pins it off. The dense month grid marks each day with a dot per event rather
|
|
884
|
+
* than laying out event bars, so only `dateSelect` fires there — `eventSelect` has no target.
|
|
885
|
+
*/
|
|
886
|
+
readonly compact: InputSignal<calendarCompact>;
|
|
887
|
+
/**
|
|
888
|
+
* Whether the month grid holds its day cells to a 1:1 ratio. Off by default, where a cell is
|
|
889
|
+
* as tall as the events it has to show; on, the grid's height follows from its width alone.
|
|
890
|
+
*/
|
|
891
|
+
readonly squareCells: InputSignal<boolean>;
|
|
831
892
|
/** Accessible name forwarded to the active view's grid. */
|
|
832
893
|
readonly ariaLabel: InputSignal<string | undefined>;
|
|
833
894
|
readonly eventSelect: OutputEmitterRef<CalendarEvent>;
|
|
@@ -838,15 +899,20 @@ declare class Calendar {
|
|
|
838
899
|
/** Anchor date driving the visible range; navigation shifts it by the view's unit. */
|
|
839
900
|
readonly activeDate: ModelSignal<Date>;
|
|
840
901
|
protected readonly labels: CalendarLabels;
|
|
841
|
-
protected readonly viewOptions: {
|
|
842
|
-
label: string;
|
|
843
|
-
value: calendarView;
|
|
844
|
-
}[];
|
|
845
902
|
protected readonly eventTemplate: Signal<TemplateRef<CalendarEventContext> | undefined>;
|
|
903
|
+
protected readonly dayTemplate: Signal<TemplateRef<CalendarDayContext> | undefined>;
|
|
846
904
|
private readonly _dateOptions;
|
|
847
905
|
/** Ticking current time, so the "Today" affordance stays correct across midnight. */
|
|
848
906
|
private readonly _now;
|
|
849
907
|
protected readonly hostClasses: Signal<string[]>;
|
|
908
|
+
protected readonly viewOptions: Signal<{
|
|
909
|
+
label: string;
|
|
910
|
+
value: calendarView;
|
|
911
|
+
}[]>;
|
|
912
|
+
/** A lone view has nothing to switch between, so the group is suppressed regardless. */
|
|
913
|
+
protected readonly showsViewSwitcher: Signal<boolean>;
|
|
914
|
+
/** Suppresses the header wrapper once every part it would hold is hidden. */
|
|
915
|
+
protected readonly showsHeader: Signal<boolean>;
|
|
850
916
|
/** Whether the active period already includes today, so "Today" would be a no-op. */
|
|
851
917
|
protected readonly isViewingToday: Signal<boolean>;
|
|
852
918
|
protected readonly title: Signal<string>;
|
|
@@ -865,7 +931,7 @@ declare class Calendar {
|
|
|
865
931
|
private _weekBounds;
|
|
866
932
|
private _weekTitle;
|
|
867
933
|
static ɵfac: i0.ɵɵFactoryDeclaration<Calendar, never>;
|
|
868
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<Calendar, "tls-calendar", never, { "events": { "alias": "events"; "required": false; "isSignal": true; }; "weekStartsOn": { "alias": "weekStartsOn"; "required": false; "isSignal": true; }; "weekDays": { "alias": "weekDays"; "required": false; "isSignal": true; }; "hourStart": { "alias": "hourStart"; "required": false; "isSignal": true; }; "hourEnd": { "alias": "hourEnd"; "required": false; "isSignal": true; }; "showAllDayRow": { "alias": "showAllDayRow"; "required": false; "isSignal": true; }; "maxEventsPerDay": { "alias": "maxEventsPerDay"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; "view": { "alias": "view"; "required": false; "isSignal": true; }; "activeDate": { "alias": "activeDate"; "required": false; "isSignal": true; }; }, { "eventSelect": "eventSelect"; "dateSelect": "dateSelect"; "rangeChange": "rangeChange"; "view": "viewChange"; "activeDate": "activeDateChange"; }, ["eventTemplate"], never, true, never>;
|
|
934
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<Calendar, "tls-calendar", never, { "events": { "alias": "events"; "required": false; "isSignal": true; }; "weekStartsOn": { "alias": "weekStartsOn"; "required": false; "isSignal": true; }; "weekDays": { "alias": "weekDays"; "required": false; "isSignal": true; }; "hourStart": { "alias": "hourStart"; "required": false; "isSignal": true; }; "hourEnd": { "alias": "hourEnd"; "required": false; "isSignal": true; }; "showAllDayRow": { "alias": "showAllDayRow"; "required": false; "isSignal": true; }; "maxEventsPerDay": { "alias": "maxEventsPerDay"; "required": false; "isSignal": true; }; "views": { "alias": "views"; "required": false; "isSignal": true; }; "showHeader": { "alias": "showHeader"; "required": false; "isSignal": true; }; "showTitle": { "alias": "showTitle"; "required": false; "isSignal": true; }; "showNavigation": { "alias": "showNavigation"; "required": false; "isSignal": true; }; "showViewSwitcher": { "alias": "showViewSwitcher"; "required": false; "isSignal": true; }; "compact": { "alias": "compact"; "required": false; "isSignal": true; }; "squareCells": { "alias": "squareCells"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; "view": { "alias": "view"; "required": false; "isSignal": true; }; "activeDate": { "alias": "activeDate"; "required": false; "isSignal": true; }; }, { "eventSelect": "eventSelect"; "dateSelect": "dateSelect"; "rangeChange": "rangeChange"; "view": "viewChange"; "activeDate": "activeDateChange"; }, ["eventTemplate", "dayTemplate"], never, true, never>;
|
|
869
935
|
}
|
|
870
936
|
|
|
871
937
|
/** A day that has events, precomputed for the agenda list. */
|
|
@@ -921,6 +987,12 @@ declare class CalendarEventItem {
|
|
|
921
987
|
static ɵcmp: i0.ɵɵComponentDeclaration<CalendarEventItem, "tls-calendar-event", never, { "event": { "alias": "event"; "required": true; "isSignal": true; }; "view": { "alias": "view"; "required": true; "isSignal": true; }; "template": { "alias": "template"; "required": false; "isSignal": true; }; }, { "activate": "activate"; }, never, never, true, never>;
|
|
922
988
|
}
|
|
923
989
|
|
|
990
|
+
/** A dot marking one of a day's events in the dense layout, tinted by that event's color. */
|
|
991
|
+
interface MonthDayMarker {
|
|
992
|
+
id: string;
|
|
993
|
+
/** Resolved with the cell so the binding keeps one array rather than rebuilding per check. */
|
|
994
|
+
classes: string[];
|
|
995
|
+
}
|
|
924
996
|
/** A day cell in the month grid: its number and how many of its events are hidden. */
|
|
925
997
|
interface MonthDay {
|
|
926
998
|
date: Date;
|
|
@@ -928,6 +1000,11 @@ interface MonthDay {
|
|
|
928
1000
|
inCurrentMonth: boolean;
|
|
929
1001
|
isToday: boolean;
|
|
930
1002
|
hiddenCount: number;
|
|
1003
|
+
/** How many events cover the day in total, however the layout chooses to present them. */
|
|
1004
|
+
eventCount: number;
|
|
1005
|
+
markers: MonthDayMarker[];
|
|
1006
|
+
/** Built with the cell so a template slot is not handed a fresh object on every check. */
|
|
1007
|
+
context: CalendarDayContext;
|
|
931
1008
|
}
|
|
932
1009
|
/** A visible event bar placed on the week's lane overlay. */
|
|
933
1010
|
interface MonthEventBar {
|
|
@@ -950,7 +1027,11 @@ declare class CalendarMonthView {
|
|
|
950
1027
|
readonly weekStartsOn: InputSignal<Day>;
|
|
951
1028
|
readonly weekDays: InputSignal<string[]>;
|
|
952
1029
|
readonly maxEventsPerDay: InputSignal<number>;
|
|
1030
|
+
/** Whether day cells are held to a 1:1 ratio instead of sizing to the events they hold. */
|
|
1031
|
+
readonly squareCells: InputSignal<boolean>;
|
|
953
1032
|
readonly eventTemplate: InputSignal<TemplateRef<CalendarEventContext> | undefined>;
|
|
1033
|
+
/** Replaces what a day cell renders, leaving the cell's own semantics and chrome in place. */
|
|
1034
|
+
readonly dayTemplate: InputSignal<TemplateRef<CalendarDayContext> | undefined>;
|
|
954
1035
|
/** Accessible name for the grid, announced when focus enters it. */
|
|
955
1036
|
readonly label: InputSignal<string | undefined>;
|
|
956
1037
|
readonly dateSelect: OutputEmitterRef<Date>;
|
|
@@ -962,10 +1043,13 @@ declare class CalendarMonthView {
|
|
|
962
1043
|
protected readonly weeks: Signal<MonthWeek[]>;
|
|
963
1044
|
/** Localized "+N more" label for a day cell with `count` hidden events. */
|
|
964
1045
|
protected moreLabel(count: number): string;
|
|
1046
|
+
/** Localized event-count summary, the only textual form the dense layout's dots have. */
|
|
1047
|
+
protected eventCountLabel(count: number): string;
|
|
965
1048
|
/** Space would scroll the page; consume it and select the focused day instead. */
|
|
966
1049
|
protected onDaySpace(event: Event, date: Date): void;
|
|
1050
|
+
private _markerClasses;
|
|
967
1051
|
static ɵfac: i0.ɵɵFactoryDeclaration<CalendarMonthView, never>;
|
|
968
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CalendarMonthView, "tls-calendar-month-view", never, { "activeDate": { "alias": "activeDate"; "required": true; "isSignal": true; }; "events": { "alias": "events"; "required": true; "isSignal": true; }; "weekStartsOn": { "alias": "weekStartsOn"; "required": true; "isSignal": true; }; "weekDays": { "alias": "weekDays"; "required": true; "isSignal": true; }; "maxEventsPerDay": { "alias": "maxEventsPerDay"; "required": true; "isSignal": true; }; "eventTemplate": { "alias": "eventTemplate"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; }, { "dateSelect": "dateSelect"; "eventSelect": "eventSelect"; }, never, never, true, never>;
|
|
1052
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CalendarMonthView, "tls-calendar-month-view", never, { "activeDate": { "alias": "activeDate"; "required": true; "isSignal": true; }; "events": { "alias": "events"; "required": true; "isSignal": true; }; "weekStartsOn": { "alias": "weekStartsOn"; "required": true; "isSignal": true; }; "weekDays": { "alias": "weekDays"; "required": true; "isSignal": true; }; "maxEventsPerDay": { "alias": "maxEventsPerDay"; "required": true; "isSignal": true; }; "squareCells": { "alias": "squareCells"; "required": false; "isSignal": true; }; "eventTemplate": { "alias": "eventTemplate"; "required": false; "isSignal": true; }; "dayTemplate": { "alias": "dayTemplate"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; }, { "dateSelect": "dateSelect"; "eventSelect": "eventSelect"; }, never, never, true, never>;
|
|
969
1053
|
}
|
|
970
1054
|
|
|
971
1055
|
/** A timed event with its absolute placement inside a day column. */
|
|
@@ -1273,13 +1357,32 @@ declare const DEFAULT_DIALOG_CONFIG: DialogConfig;
|
|
|
1273
1357
|
declare class Dialog extends CdkDialogContainer {
|
|
1274
1358
|
private readonly _tlsConfig;
|
|
1275
1359
|
private readonly _dialogRef;
|
|
1276
|
-
|
|
1360
|
+
private readonly _state;
|
|
1361
|
+
private _closing;
|
|
1362
|
+
protected readonly hostClasses: i0.Signal<string[]>;
|
|
1277
1363
|
protected get config(): DialogConfig;
|
|
1364
|
+
animatedClose(result?: unknown): void;
|
|
1278
1365
|
protected close(): void;
|
|
1279
1366
|
static ɵfac: i0.ɵɵFactoryDeclaration<Dialog, never>;
|
|
1280
1367
|
static ɵcmp: i0.ɵɵComponentDeclaration<Dialog, "tls-dialog", never, {}, {}, never, never, true, never>;
|
|
1281
1368
|
}
|
|
1282
1369
|
|
|
1370
|
+
/**
|
|
1371
|
+
* Handle to an open dialog. Provided to the dialog's content component (inject it
|
|
1372
|
+
* instead of the CDK `DialogRef`) and returned from {@link DialogService.open}.
|
|
1373
|
+
*
|
|
1374
|
+
* `close` routes through the container so the exit animation plays before the
|
|
1375
|
+
* overlay is disposed, unlike the CDK `DialogRef` which disposes synchronously.
|
|
1376
|
+
*/
|
|
1377
|
+
declare class DialogRef<R = unknown, C = unknown> {
|
|
1378
|
+
private readonly _cdkRef;
|
|
1379
|
+
private readonly _container;
|
|
1380
|
+
readonly closed: Observable<R | undefined>;
|
|
1381
|
+
constructor(_cdkRef: DialogRef$1<R, C>, _container: Dialog);
|
|
1382
|
+
get componentInstance(): C | null;
|
|
1383
|
+
close(result?: R): void;
|
|
1384
|
+
}
|
|
1385
|
+
|
|
1283
1386
|
/**
|
|
1284
1387
|
* Top region of a dialog, holding its title and any supporting text. Keeps its
|
|
1285
1388
|
* padding out of the scrolling body so the title stays put while the content
|
|
@@ -1338,8 +1441,10 @@ interface DialogOpenConfig<D = unknown> {
|
|
|
1338
1441
|
declare class DialogService {
|
|
1339
1442
|
private readonly _dialog;
|
|
1340
1443
|
private readonly _config;
|
|
1444
|
+
private readonly _openDialogs;
|
|
1341
1445
|
open<R = unknown, D = unknown, C = unknown>(component: ComponentType<C>, config?: DialogOpenConfig<D>): DialogRef<R, C>;
|
|
1342
1446
|
closeAll(): void;
|
|
1447
|
+
private _wireDismissal;
|
|
1343
1448
|
static ɵfac: i0.ɵɵFactoryDeclaration<DialogService, never>;
|
|
1344
1449
|
static ɵprov: i0.ɵɵInjectableDeclaration<DialogService>;
|
|
1345
1450
|
}
|
|
@@ -1372,7 +1477,7 @@ declare const DEFAULT_DIVIDER_CONFIG: DividerConfig;
|
|
|
1372
1477
|
declare const DIVIDER_CONFIG: InjectionToken<DividerConfig>;
|
|
1373
1478
|
|
|
1374
1479
|
type drawerSide = 'start' | 'end' | 'top' | 'bottom';
|
|
1375
|
-
type drawerSize = 'sm' | 'md' | 'lg' | 'full';
|
|
1480
|
+
type drawerSize = 'sm' | 'md' | 'lg' | 'full' | 'auto';
|
|
1376
1481
|
|
|
1377
1482
|
interface DrawerConfig {
|
|
1378
1483
|
side: drawerSide;
|
|
@@ -1380,6 +1485,8 @@ interface DrawerConfig {
|
|
|
1380
1485
|
closeable: boolean;
|
|
1381
1486
|
backdropClose: boolean;
|
|
1382
1487
|
rounded: boolean;
|
|
1488
|
+
/** Renders a grabber pill on the edge facing the viewport, the affordance for a sheet-style panel. */
|
|
1489
|
+
grabber: boolean;
|
|
1383
1490
|
/** Accessible name for the close button, overridable for localization. */
|
|
1384
1491
|
closeLabel: string;
|
|
1385
1492
|
}
|
|
@@ -1397,7 +1504,6 @@ declare class Drawer extends CdkDialogContainer {
|
|
|
1397
1504
|
protected close(): void;
|
|
1398
1505
|
private _sizeClass;
|
|
1399
1506
|
private _isNamedSize;
|
|
1400
|
-
private _afterLeaveAnimation;
|
|
1401
1507
|
static ɵfac: i0.ɵɵFactoryDeclaration<Drawer, never>;
|
|
1402
1508
|
static ɵcmp: i0.ɵɵComponentDeclaration<Drawer, "tls-drawer", never, {}, {}, never, never, true, never>;
|
|
1403
1509
|
}
|
|
@@ -1413,7 +1519,7 @@ declare class DrawerRef<R = unknown, C = unknown> {
|
|
|
1413
1519
|
private readonly _dialogRef;
|
|
1414
1520
|
private readonly _container;
|
|
1415
1521
|
readonly closed: Observable<R | undefined>;
|
|
1416
|
-
constructor(_dialogRef: DialogRef<R, C>, _container: Drawer);
|
|
1522
|
+
constructor(_dialogRef: DialogRef$1<R, C>, _container: Drawer);
|
|
1417
1523
|
get componentInstance(): C | null;
|
|
1418
1524
|
close(result?: R): void;
|
|
1419
1525
|
}
|
|
@@ -1425,6 +1531,8 @@ interface DrawerOpenConfig<D = unknown> {
|
|
|
1425
1531
|
closeable?: boolean;
|
|
1426
1532
|
backdropClose?: boolean;
|
|
1427
1533
|
rounded?: boolean;
|
|
1534
|
+
/** Renders a grabber pill on the edge facing the viewport, the affordance for a sheet-style panel. */
|
|
1535
|
+
grabber?: boolean;
|
|
1428
1536
|
/** Accessible name for the close button. */
|
|
1429
1537
|
closeLabel?: string;
|
|
1430
1538
|
role?: DialogRole;
|
|
@@ -1539,6 +1647,7 @@ declare class Autocomplete<T, V = unknown> extends AbstractSelect<T, V, V | null
|
|
|
1539
1647
|
protected readonly uniqueId: string;
|
|
1540
1648
|
protected readonly hostClassBase = "tls-autocomplete";
|
|
1541
1649
|
protected readonly panelClass = "tls-autocomplete-panel";
|
|
1650
|
+
protected readonly panelCssVariablePrefix = "--tls-autocomplete-panel";
|
|
1542
1651
|
readonly value: ModelSignal<V | null>;
|
|
1543
1652
|
readonly placeholder: InputSignal<string>;
|
|
1544
1653
|
readonly size: InputSignal<controlSize>;
|
|
@@ -1547,6 +1656,8 @@ declare class Autocomplete<T, V = unknown> extends AbstractSelect<T, V, V | null
|
|
|
1547
1656
|
readonly filterMode: InputSignal<autocompleteFilterMode>;
|
|
1548
1657
|
readonly emptyMessage: InputSignal<string>;
|
|
1549
1658
|
readonly clearLabel: InputSignal<string>;
|
|
1659
|
+
readonly virtualScroll: InputSignalWithTransform<boolean, unknown>;
|
|
1660
|
+
readonly virtualScrollItemSize: InputSignalWithTransform<number, unknown>;
|
|
1550
1661
|
protected readonly hasValue: Signal<boolean>;
|
|
1551
1662
|
protected readonly selectedLabel: Signal<string>;
|
|
1552
1663
|
/**
|
|
@@ -1565,7 +1676,7 @@ declare class Autocomplete<T, V = unknown> extends AbstractSelect<T, V, V | null
|
|
|
1565
1676
|
protected getInitialActiveIndex(): number;
|
|
1566
1677
|
protected commitActiveOption(option: Option<V>): void;
|
|
1567
1678
|
static ɵfac: i0.ɵɵFactoryDeclaration<Autocomplete<any, any>, never>;
|
|
1568
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<Autocomplete<any, any>, "tls-autocomplete", never, { "value": { "alias": "value"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "fluid": { "alias": "fluid"; "required": false; "isSignal": true; }; "clearable": { "alias": "clearable"; "required": false; "isSignal": true; }; "filterMode": { "alias": "filterMode"; "required": false; "isSignal": true; }; "emptyMessage": { "alias": "emptyMessage"; "required": false; "isSignal": true; }; "clearLabel": { "alias": "clearLabel"; "required": false; "isSignal": true; }; }, { "value": "valueChange"; }, never, never, true, never>;
|
|
1679
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<Autocomplete<any, any>, "tls-autocomplete", never, { "value": { "alias": "value"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "fluid": { "alias": "fluid"; "required": false; "isSignal": true; }; "clearable": { "alias": "clearable"; "required": false; "isSignal": true; }; "filterMode": { "alias": "filterMode"; "required": false; "isSignal": true; }; "emptyMessage": { "alias": "emptyMessage"; "required": false; "isSignal": true; }; "clearLabel": { "alias": "clearLabel"; "required": false; "isSignal": true; }; "virtualScroll": { "alias": "virtualScroll"; "required": false; "isSignal": true; }; "virtualScrollItemSize": { "alias": "virtualScrollItemSize"; "required": false; "isSignal": true; }; }, { "value": "valueChange"; }, never, never, true, never>;
|
|
1569
1680
|
}
|
|
1570
1681
|
|
|
1571
1682
|
interface AutocompleteConfig {
|
|
@@ -1577,6 +1688,10 @@ interface AutocompleteConfig {
|
|
|
1577
1688
|
emptyMessage: string;
|
|
1578
1689
|
/** Accessible name for the clear button, overridable for localization. */
|
|
1579
1690
|
clearLabel: string;
|
|
1691
|
+
/** Renders the panel through a virtual-scroll viewport, windowing the option list. */
|
|
1692
|
+
virtualScroll: boolean;
|
|
1693
|
+
/** Fixed height of an option row, in pixels, when the panel is virtualized. */
|
|
1694
|
+
virtualScrollItemSize: number;
|
|
1580
1695
|
}
|
|
1581
1696
|
declare const DEFAULT_AUTOCOMPLETE_CONFIG: AutocompleteConfig;
|
|
1582
1697
|
|
|
@@ -2012,6 +2127,136 @@ declare class RadioButton extends ValueFormControl<unknown> {
|
|
|
2012
2127
|
static ɵcmp: i0.ɵɵComponentDeclaration<RadioButton, "tls-radio-button", never, { "radioValue": { "alias": "radioValue"; "required": true; "isSignal": true; }; "value": { "alias": "value"; "required": false; "isSignal": true; }; "tabindex": { "alias": "tabindex"; "required": false; "isSignal": true; }; }, { "value": "valueChange"; }, never, never, true, never>;
|
|
2013
2128
|
}
|
|
2014
2129
|
|
|
2130
|
+
/** The theme colors plus `golden` — the classic star gold, exclusive to the rating. */
|
|
2131
|
+
type ratingColor = color | 'golden';
|
|
2132
|
+
/**
|
|
2133
|
+
* Context object exposed to a consumer-provided star template slot. The slot
|
|
2134
|
+
* replaces the built-in star icon; each star renders the template twice — once
|
|
2135
|
+
* as the empty layer and once inside the fill layer, which is clipped to the
|
|
2136
|
+
* star's filled share — so both states must come from the same template.
|
|
2137
|
+
*/
|
|
2138
|
+
interface RatingStarContext {
|
|
2139
|
+
/** 1-based position of the star in the row. */
|
|
2140
|
+
$implicit: number;
|
|
2141
|
+
/** Whether this copy renders a filled layer rather than the empty one. */
|
|
2142
|
+
filled: boolean;
|
|
2143
|
+
/** Whether this copy renders inside the tentative hover-preview layer rather than the committed fill. */
|
|
2144
|
+
preview: boolean;
|
|
2145
|
+
/** Whether the displayed value fills this star only partially — e.g. the third star at 2.5. */
|
|
2146
|
+
half: boolean;
|
|
2147
|
+
}
|
|
2148
|
+
|
|
2149
|
+
/**
|
|
2150
|
+
* A star-rating control holding a number of stars, where 0 means unrated. Each
|
|
2151
|
+
* selectable increment (a whole star, or each half when `allowHalf` is on) is a
|
|
2152
|
+
* native radio positioned over its slice of the star row, so the group gets the
|
|
2153
|
+
* radio pattern's focus and arrow-key behaviour natively. The host is the
|
|
2154
|
+
* composite's `radiogroup` container and carries the group-level ARIA.
|
|
2155
|
+
*/
|
|
2156
|
+
declare class Rating extends ValueFormControl<number> {
|
|
2157
|
+
private readonly _config;
|
|
2158
|
+
protected CLASS_NAME: string;
|
|
2159
|
+
readonly value: ModelSignal<number>;
|
|
2160
|
+
readonly max: InputSignalWithTransform<number, unknown>;
|
|
2161
|
+
readonly color: InputSignal<ratingColor>;
|
|
2162
|
+
readonly size: InputSignal<controlSize>;
|
|
2163
|
+
/** Offers half-star options: each star becomes two radios, one per half. */
|
|
2164
|
+
readonly allowHalf: InputSignalWithTransform<boolean, unknown>;
|
|
2165
|
+
/** Re-activating the currently selected option resets the value to 0 (unrated). */
|
|
2166
|
+
readonly allowClear: InputSignalWithTransform<boolean, unknown>;
|
|
2167
|
+
/**
|
|
2168
|
+
* Renders the hover preview's *difference* from the committed value as a
|
|
2169
|
+
* translucent ghost: hovering above the value ghosts only the stars being
|
|
2170
|
+
* added, hovering below ghosts only the part being removed, and the solid
|
|
2171
|
+
* fill always shows the part both agree on.
|
|
2172
|
+
*/
|
|
2173
|
+
readonly preview: InputSignalWithTransform<boolean, unknown>;
|
|
2174
|
+
private static _counter;
|
|
2175
|
+
/** Groups the radios when the consumer supplies no `name`; unique per instance. */
|
|
2176
|
+
private readonly _autoName;
|
|
2177
|
+
/** Option value previewed under the pointer, or null when nothing is hovered. */
|
|
2178
|
+
private readonly _hovered;
|
|
2179
|
+
/** Star currently playing the selection pop animation, or null. */
|
|
2180
|
+
private readonly _popped;
|
|
2181
|
+
/** Consumer-provided star slot rendered in place of the built-in star icon. */
|
|
2182
|
+
protected readonly starTemplate: Signal<TemplateRef<RatingStarContext> | undefined>;
|
|
2183
|
+
/**
|
|
2184
|
+
* Activating an unchecked radio fires `change` then `click`; a click on the
|
|
2185
|
+
* already-checked one fires `click` alone. This flag marks the `change` so the
|
|
2186
|
+
* trailing `click` is not mistaken for a re-activation that should clear.
|
|
2187
|
+
*/
|
|
2188
|
+
private _suppressClear;
|
|
2189
|
+
private readonly _inputs;
|
|
2190
|
+
protected readonly hostClasses: Signal<string[]>;
|
|
2191
|
+
protected readonly stars: Signal<number[]>;
|
|
2192
|
+
protected readonly radioName: Signal<string>;
|
|
2193
|
+
/**
|
|
2194
|
+
* Hovered option that should actually drive the preview: none while the
|
|
2195
|
+
* control is non-interactive, so a readonly/disabled flip mid-hover cannot
|
|
2196
|
+
* leave a stale preview on screen.
|
|
2197
|
+
*/
|
|
2198
|
+
private readonly _previewedOption;
|
|
2199
|
+
/**
|
|
2200
|
+
* Solidly filled share of the given star, 0–100. Reads the hovered preview
|
|
2201
|
+
* when one is active, the committed value otherwise; a fractional value fills
|
|
2202
|
+
* its star partially, so a non-interactive rating can display an average like
|
|
2203
|
+
* 4.3. In ghost mode the solid fill shows only the part the committed value
|
|
2204
|
+
* and the hovered one agree on — the delta belongs to the ghost layer.
|
|
2205
|
+
*/
|
|
2206
|
+
protected fillPercent(star: number): number;
|
|
2207
|
+
/**
|
|
2208
|
+
* Ghost-layer share of the given star, 0–100: reaches whichever of the
|
|
2209
|
+
* committed and hovered values is larger, so the part peeking out from under
|
|
2210
|
+
* the solid fill is exactly their difference — the stars a click would add,
|
|
2211
|
+
* or the part it would remove.
|
|
2212
|
+
*/
|
|
2213
|
+
protected ghostPercent(star: number): number;
|
|
2214
|
+
protected starLabel(option: number): string;
|
|
2215
|
+
/** Whether the displayed value (hover preview first, else committed) fills the star only partially. */
|
|
2216
|
+
protected isHalf(star: number): boolean;
|
|
2217
|
+
protected onChange(option: number): void;
|
|
2218
|
+
protected isPopped(star: number): boolean;
|
|
2219
|
+
protected onPopAnimationEnd(star: number): void;
|
|
2220
|
+
protected onClick(option: number): void;
|
|
2221
|
+
protected onPointerDown(): void;
|
|
2222
|
+
protected onPointerEnter(option: number): void;
|
|
2223
|
+
protected onPointerLeave(): void;
|
|
2224
|
+
private _starShare;
|
|
2225
|
+
/**
|
|
2226
|
+
* Plays the selection pop on the star containing the committed option. When
|
|
2227
|
+
* that star is already popping (e.g. its other half was just selected), the
|
|
2228
|
+
* class is dropped for a frame and re-applied, so the animation restarts.
|
|
2229
|
+
*/
|
|
2230
|
+
private _pop;
|
|
2231
|
+
/**
|
|
2232
|
+
* Restores every radio's native checked state from the model. Needed after a
|
|
2233
|
+
* reverted change: the browser has already moved the native check to the
|
|
2234
|
+
* activated radio, and the unchanged `checked` bindings won't move it back.
|
|
2235
|
+
*/
|
|
2236
|
+
private _syncNativeChecked;
|
|
2237
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<Rating, never>;
|
|
2238
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<Rating, "tls-rating", never, { "value": { "alias": "value"; "required": false; "isSignal": true; }; "max": { "alias": "max"; "required": false; "isSignal": true; }; "color": { "alias": "color"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "allowHalf": { "alias": "allowHalf"; "required": false; "isSignal": true; }; "allowClear": { "alias": "allowClear"; "required": false; "isSignal": true; }; "preview": { "alias": "preview"; "required": false; "isSignal": true; }; }, { "value": "valueChange"; }, ["starTemplate"], never, true, never>;
|
|
2239
|
+
}
|
|
2240
|
+
|
|
2241
|
+
/** Accessible names for the rating's options, overridable for localization. */
|
|
2242
|
+
interface RatingLabels {
|
|
2243
|
+
/** Accessible name for the option selecting the given star value (whole or half, e.g. 2.5). */
|
|
2244
|
+
star: (value: number) => string;
|
|
2245
|
+
}
|
|
2246
|
+
interface RatingConfig {
|
|
2247
|
+
color: ratingColor;
|
|
2248
|
+
size: controlSize;
|
|
2249
|
+
max: number;
|
|
2250
|
+
allowHalf: boolean;
|
|
2251
|
+
allowClear: boolean;
|
|
2252
|
+
preview: boolean;
|
|
2253
|
+
/** Accessible names for the options, overridable for localization. */
|
|
2254
|
+
labels: RatingLabels;
|
|
2255
|
+
}
|
|
2256
|
+
declare const DEFAULT_RATING_CONFIG: RatingConfig;
|
|
2257
|
+
|
|
2258
|
+
declare const RATING_CONFIG: InjectionToken<RatingConfig>;
|
|
2259
|
+
|
|
2015
2260
|
declare class MultiSelect<T, V = unknown> extends AbstractSelect<T, V, V[]> {
|
|
2016
2261
|
private static _nextUniqueId;
|
|
2017
2262
|
private readonly _config;
|
|
@@ -2019,6 +2264,7 @@ declare class MultiSelect<T, V = unknown> extends AbstractSelect<T, V, V[]> {
|
|
|
2019
2264
|
protected readonly uniqueId: string;
|
|
2020
2265
|
protected readonly hostClassBase = "tls-multi-select";
|
|
2021
2266
|
protected readonly panelClass = "tls-multi-select-panel";
|
|
2267
|
+
protected readonly panelCssVariablePrefix = "--tls-multi-select-panel";
|
|
2022
2268
|
readonly value: ModelSignal<V[]>;
|
|
2023
2269
|
readonly placeholder: InputSignal<string>;
|
|
2024
2270
|
readonly size: InputSignal<controlSize>;
|
|
@@ -2026,6 +2272,8 @@ declare class MultiSelect<T, V = unknown> extends AbstractSelect<T, V, V[]> {
|
|
|
2026
2272
|
readonly clearable: InputSignalWithTransform<boolean, unknown>;
|
|
2027
2273
|
readonly maxLabels: InputSignal<number>;
|
|
2028
2274
|
readonly clearLabel: InputSignal<string>;
|
|
2275
|
+
readonly virtualScroll: InputSignalWithTransform<boolean, unknown>;
|
|
2276
|
+
readonly virtualScrollItemSize: InputSignalWithTransform<number, unknown>;
|
|
2029
2277
|
protected readonly hasValue: Signal<boolean>;
|
|
2030
2278
|
protected readonly selectedValues: Signal<Set<V>>;
|
|
2031
2279
|
protected readonly triggerLabel: Signal<string>;
|
|
@@ -2036,7 +2284,7 @@ declare class MultiSelect<T, V = unknown> extends AbstractSelect<T, V, V[]> {
|
|
|
2036
2284
|
protected getInitialActiveIndex(): number;
|
|
2037
2285
|
protected commitActiveOption(option: Option<V>): void;
|
|
2038
2286
|
static ɵfac: i0.ɵɵFactoryDeclaration<MultiSelect<any, any>, never>;
|
|
2039
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MultiSelect<any, any>, "tls-multi-select", never, { "value": { "alias": "value"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "fluid": { "alias": "fluid"; "required": false; "isSignal": true; }; "clearable": { "alias": "clearable"; "required": false; "isSignal": true; }; "maxLabels": { "alias": "maxLabels"; "required": false; "isSignal": true; }; "clearLabel": { "alias": "clearLabel"; "required": false; "isSignal": true; }; }, { "value": "valueChange"; }, never, never, true, never>;
|
|
2287
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MultiSelect<any, any>, "tls-multi-select", never, { "value": { "alias": "value"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "fluid": { "alias": "fluid"; "required": false; "isSignal": true; }; "clearable": { "alias": "clearable"; "required": false; "isSignal": true; }; "maxLabels": { "alias": "maxLabels"; "required": false; "isSignal": true; }; "clearLabel": { "alias": "clearLabel"; "required": false; "isSignal": true; }; "virtualScroll": { "alias": "virtualScroll"; "required": false; "isSignal": true; }; "virtualScrollItemSize": { "alias": "virtualScrollItemSize"; "required": false; "isSignal": true; }; }, { "value": "valueChange"; }, never, never, true, never>;
|
|
2040
2288
|
}
|
|
2041
2289
|
|
|
2042
2290
|
interface MultiSelectConfig {
|
|
@@ -2049,6 +2297,10 @@ interface MultiSelectConfig {
|
|
|
2049
2297
|
clearLabel: string;
|
|
2050
2298
|
/** Trigger label when more than `maxLabels` options are selected, overridable for localization. */
|
|
2051
2299
|
selectedCountLabel: (count: number) => string;
|
|
2300
|
+
/** Renders the panel through a virtual-scroll viewport, windowing the option list. */
|
|
2301
|
+
virtualScroll: boolean;
|
|
2302
|
+
/** Fixed height of an option row, in pixels, when the panel is virtualized. */
|
|
2303
|
+
virtualScrollItemSize: number;
|
|
2052
2304
|
}
|
|
2053
2305
|
declare const DEFAULT_MULTI_SELECT_CONFIG: MultiSelectConfig;
|
|
2054
2306
|
|
|
@@ -2061,12 +2313,15 @@ declare class Select<T, V = unknown> extends AbstractSelect<T, V, V | null> {
|
|
|
2061
2313
|
protected readonly uniqueId: string;
|
|
2062
2314
|
protected readonly hostClassBase = "tls-select";
|
|
2063
2315
|
protected readonly panelClass = "tls-select-panel";
|
|
2316
|
+
protected readonly panelCssVariablePrefix = "--tls-select-panel";
|
|
2064
2317
|
readonly value: ModelSignal<V | null>;
|
|
2065
2318
|
readonly placeholder: InputSignal<string>;
|
|
2066
2319
|
readonly size: InputSignal<controlSize>;
|
|
2067
2320
|
readonly fluid: InputSignalWithTransform<boolean, unknown>;
|
|
2068
2321
|
readonly clearable: InputSignalWithTransform<boolean, unknown>;
|
|
2069
2322
|
readonly clearLabel: InputSignal<string>;
|
|
2323
|
+
readonly virtualScroll: InputSignalWithTransform<boolean, unknown>;
|
|
2324
|
+
readonly virtualScrollItemSize: InputSignalWithTransform<number, unknown>;
|
|
2070
2325
|
protected readonly hasValue: Signal<boolean>;
|
|
2071
2326
|
protected readonly selectedLabel: Signal<string>;
|
|
2072
2327
|
protected select(option: Option<V>): void;
|
|
@@ -2075,7 +2330,7 @@ declare class Select<T, V = unknown> extends AbstractSelect<T, V, V | null> {
|
|
|
2075
2330
|
protected getInitialActiveIndex(): number;
|
|
2076
2331
|
protected commitActiveOption(option: Option<V>): void;
|
|
2077
2332
|
static ɵfac: i0.ɵɵFactoryDeclaration<Select<any, any>, never>;
|
|
2078
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<Select<any, any>, "tls-select", never, { "value": { "alias": "value"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "fluid": { "alias": "fluid"; "required": false; "isSignal": true; }; "clearable": { "alias": "clearable"; "required": false; "isSignal": true; }; "clearLabel": { "alias": "clearLabel"; "required": false; "isSignal": true; }; }, { "value": "valueChange"; }, never, never, true, never>;
|
|
2333
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<Select<any, any>, "tls-select", never, { "value": { "alias": "value"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "fluid": { "alias": "fluid"; "required": false; "isSignal": true; }; "clearable": { "alias": "clearable"; "required": false; "isSignal": true; }; "clearLabel": { "alias": "clearLabel"; "required": false; "isSignal": true; }; "virtualScroll": { "alias": "virtualScroll"; "required": false; "isSignal": true; }; "virtualScrollItemSize": { "alias": "virtualScrollItemSize"; "required": false; "isSignal": true; }; }, { "value": "valueChange"; }, never, never, true, never>;
|
|
2079
2334
|
}
|
|
2080
2335
|
|
|
2081
2336
|
interface SelectConfig {
|
|
@@ -2085,6 +2340,10 @@ interface SelectConfig {
|
|
|
2085
2340
|
clearable: boolean;
|
|
2086
2341
|
/** Accessible name for the clear button, overridable for localization. */
|
|
2087
2342
|
clearLabel: string;
|
|
2343
|
+
/** Renders the panel through a virtual-scroll viewport, windowing the option list. */
|
|
2344
|
+
virtualScroll: boolean;
|
|
2345
|
+
/** Fixed height of an option row, in pixels, when the panel is virtualized. */
|
|
2346
|
+
virtualScrollItemSize: number;
|
|
2088
2347
|
}
|
|
2089
2348
|
declare const DEFAULT_SELECT_CONFIG: SelectConfig;
|
|
2090
2349
|
|
|
@@ -2724,23 +2983,93 @@ declare const DEFAULT_POPOVER_CONFIG: PopoverConfig;
|
|
|
2724
2983
|
|
|
2725
2984
|
declare const POPOVER_CONFIG: InjectionToken<PopoverConfig>;
|
|
2726
2985
|
|
|
2986
|
+
type progressColor = color;
|
|
2987
|
+
/**
|
|
2988
|
+
* Segment singled out for emphasis in a segmented track: a zero-based index,
|
|
2989
|
+
* `'latest'` for the frontmost segment the value has reached, or `null` for
|
|
2990
|
+
* none.
|
|
2991
|
+
*/
|
|
2992
|
+
type progressActiveSegment = number | 'latest' | null;
|
|
2993
|
+
|
|
2994
|
+
/**
|
|
2995
|
+
* A read-only linear progress indicator. Renders one continuous bar by
|
|
2996
|
+
* default; `segments` splits the track into that many discrete pills that fill
|
|
2997
|
+
* in order as the value advances — the idiom for step-based flows ("step 2 of
|
|
2998
|
+
* 6"). The host carries the `progressbar` role and the value ARIA.
|
|
2999
|
+
*/
|
|
3000
|
+
declare class Progress {
|
|
3001
|
+
private readonly _config;
|
|
3002
|
+
readonly value: InputSignalWithTransform<number, unknown>;
|
|
3003
|
+
readonly max: InputSignalWithTransform<number, unknown>;
|
|
3004
|
+
/**
|
|
3005
|
+
* Splits the track into this many equal segments, filled one after another
|
|
3006
|
+
* as the value grows, the segment at the boundary partially. `null` renders
|
|
3007
|
+
* one continuous bar.
|
|
3008
|
+
*/
|
|
3009
|
+
readonly segments: InputSignal<number | null>;
|
|
3010
|
+
/**
|
|
3011
|
+
* Segment rendered wider than the rest, marking the step in progress: a
|
|
3012
|
+
* zero-based index, or `'latest'` to follow the frontmost segment the value
|
|
3013
|
+
* has reached. `null` keeps every segment the same width. Only meaningful
|
|
3014
|
+
* with `segments`.
|
|
3015
|
+
*/
|
|
3016
|
+
readonly activeSegment: InputSignal<progressActiveSegment>;
|
|
3017
|
+
/** Width of the active segment relative to the others (a flex-grow ratio). */
|
|
3018
|
+
readonly activeSegmentScale: InputSignalWithTransform<number, unknown>;
|
|
3019
|
+
readonly color: InputSignal<progressColor>;
|
|
3020
|
+
readonly size: InputSignal<controlSize>;
|
|
3021
|
+
/** Accessible name for the progressbar. */
|
|
3022
|
+
readonly ariaLabel: InputSignal<string | undefined>;
|
|
3023
|
+
readonly ariaLabelledby: InputSignal<string | undefined>;
|
|
3024
|
+
protected readonly hostClasses: Signal<string[]>;
|
|
3025
|
+
/** Value clamped into [0, max]; the number exposed through ARIA. */
|
|
3026
|
+
protected readonly clampedValue: Signal<number>;
|
|
3027
|
+
/** Filled share of the whole track, 0–1. */
|
|
3028
|
+
private readonly _fraction;
|
|
3029
|
+
/**
|
|
3030
|
+
* Per-segment fill percentages, 0–100. A continuous bar is a single
|
|
3031
|
+
* segment, so one loop renders both looks; in segmented mode the overall
|
|
3032
|
+
* fraction is distributed across the segments in order, so each is full,
|
|
3033
|
+
* empty, or — at the boundary — partial.
|
|
3034
|
+
*/
|
|
3035
|
+
protected readonly segmentFills: Signal<number[]>;
|
|
3036
|
+
/**
|
|
3037
|
+
* Index of the emphasized segment, or `null` when none: the clamped
|
|
3038
|
+
* consumer-picked index, or — for `'latest'` — the frontmost segment the
|
|
3039
|
+
* value has reached (the first one when nothing is filled yet).
|
|
3040
|
+
*/
|
|
3041
|
+
protected readonly activeIndex: Signal<number | null>;
|
|
3042
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<Progress, never>;
|
|
3043
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<Progress, "tls-progress", never, { "value": { "alias": "value"; "required": false; "isSignal": true; }; "max": { "alias": "max"; "required": false; "isSignal": true; }; "segments": { "alias": "segments"; "required": false; "isSignal": true; }; "activeSegment": { "alias": "activeSegment"; "required": false; "isSignal": true; }; "activeSegmentScale": { "alias": "activeSegmentScale"; "required": false; "isSignal": true; }; "color": { "alias": "color"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; "ariaLabelledby": { "alias": "ariaLabelledby"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
3044
|
+
}
|
|
3045
|
+
|
|
3046
|
+
interface ProgressConfig {
|
|
3047
|
+
max: number;
|
|
3048
|
+
color: progressColor;
|
|
3049
|
+
size: controlSize;
|
|
3050
|
+
activeSegmentScale: number;
|
|
3051
|
+
}
|
|
3052
|
+
declare const DEFAULT_PROGRESS_CONFIG: ProgressConfig;
|
|
3053
|
+
|
|
3054
|
+
declare const PROGRESS_CONFIG: InjectionToken<ProgressConfig>;
|
|
3055
|
+
|
|
2727
3056
|
declare class Skeleton {
|
|
2728
|
-
private _config;
|
|
3057
|
+
private readonly _config;
|
|
2729
3058
|
readonly size: InputSignal<number | string | null>;
|
|
2730
3059
|
readonly width: InputSignal<number | string | null>;
|
|
2731
3060
|
readonly height: InputSignal<number | string | null>;
|
|
2732
|
-
readonly radius: InputSignal<
|
|
3061
|
+
readonly radius: InputSignal<radius>;
|
|
2733
3062
|
readonly duration: InputSignal<number>;
|
|
2734
3063
|
readonly rounded: InputSignalWithTransform<boolean, unknown>;
|
|
2735
3064
|
readonly animate: InputSignalWithTransform<boolean, unknown>;
|
|
2736
|
-
protected hostClasses: i0.Signal<string[]>;
|
|
2737
|
-
protected hostStyles: i0.Signal<{
|
|
3065
|
+
protected readonly hostClasses: i0.Signal<string[]>;
|
|
3066
|
+
protected readonly hostStyles: i0.Signal<{
|
|
2738
3067
|
'--tls-skeleton-width': string;
|
|
2739
3068
|
'--tls-skeleton-height': string;
|
|
2740
3069
|
'--tls-skeleton-radius': string;
|
|
2741
3070
|
'--tls-skeleton-duration': string;
|
|
2742
3071
|
}>;
|
|
2743
|
-
private
|
|
3072
|
+
private _resolveDimension;
|
|
2744
3073
|
static ɵfac: i0.ɵɵFactoryDeclaration<Skeleton, never>;
|
|
2745
3074
|
static ɵcmp: i0.ɵɵComponentDeclaration<Skeleton, "tls-skeleton", never, { "size": { "alias": "size"; "required": false; "isSignal": true; }; "width": { "alias": "width"; "required": false; "isSignal": true; }; "height": { "alias": "height"; "required": false; "isSignal": true; }; "radius": { "alias": "radius"; "required": false; "isSignal": true; }; "duration": { "alias": "duration"; "required": false; "isSignal": true; }; "rounded": { "alias": "rounded"; "required": false; "isSignal": true; }; "animate": { "alias": "animate"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
2746
3075
|
}
|
|
@@ -2749,7 +3078,7 @@ interface SkeletonConfig {
|
|
|
2749
3078
|
size: number | string | null;
|
|
2750
3079
|
width: number | string | null;
|
|
2751
3080
|
height: number | string | null;
|
|
2752
|
-
radius:
|
|
3081
|
+
radius: radius;
|
|
2753
3082
|
duration: number;
|
|
2754
3083
|
rounded: boolean;
|
|
2755
3084
|
animate: boolean;
|
|
@@ -2840,6 +3169,14 @@ declare const SPLITTER_CONFIG: InjectionToken<SplitterConfig>;
|
|
|
2840
3169
|
type stepperValue = string;
|
|
2841
3170
|
type stepperColor = color;
|
|
2842
3171
|
type stepperOrientation = orientation;
|
|
3172
|
+
/**
|
|
3173
|
+
* Placement of a step's text relative to its index in a horizontal stepper:
|
|
3174
|
+
* `end` puts the text after the index with the last step sized to its
|
|
3175
|
+
* content, `bottom` centers every step in an equal column with the text under
|
|
3176
|
+
* the index, so the connector rail spans the full width symmetrically.
|
|
3177
|
+
* Vertical steppers always use `end`.
|
|
3178
|
+
*/
|
|
3179
|
+
type stepperLabelPosition = 'end' | 'bottom';
|
|
2843
3180
|
interface StepperSelectEvent {
|
|
2844
3181
|
index: number;
|
|
2845
3182
|
value: stepperValue;
|
|
@@ -2855,18 +3192,46 @@ declare class Step {
|
|
|
2855
3192
|
readonly description: InputSignal<string | undefined>;
|
|
2856
3193
|
readonly color: InputSignal<stepperColor>;
|
|
2857
3194
|
readonly disabled: InputSignal<boolean>;
|
|
3195
|
+
/**
|
|
3196
|
+
* Marks the step's content as invalid: its header takes the danger hue and
|
|
3197
|
+
* assistive technology hears the invalid state. Drive it from the step's
|
|
3198
|
+
* form validity to surface errors in the navigation.
|
|
3199
|
+
*/
|
|
3200
|
+
readonly invalid: InputSignalWithTransform<boolean, unknown>;
|
|
2858
3201
|
protected hostClasses: Signal<string[]>;
|
|
2859
3202
|
static ɵfac: i0.ɵɵFactoryDeclaration<Step, never>;
|
|
2860
|
-
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; }; }, {}, ["iconTemplateRef", "completedIconTemplateRef"], ["*"], true, [{ directive: typeof i1.TabPanel; inputs: { "value": "value"; }; outputs: {}; }]>;
|
|
3203
|
+
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: {}; }]>;
|
|
3204
|
+
}
|
|
3205
|
+
|
|
3206
|
+
interface StepperConfig {
|
|
3207
|
+
orientation: stepperOrientation;
|
|
3208
|
+
labelPosition: stepperLabelPosition;
|
|
3209
|
+
linear: boolean;
|
|
3210
|
+
labels: StepperLabels;
|
|
3211
|
+
step: StepConfig;
|
|
3212
|
+
}
|
|
3213
|
+
/** Visually hidden state texts announced by assistive technology for a step. */
|
|
3214
|
+
interface StepperLabels {
|
|
3215
|
+
completed: string;
|
|
3216
|
+
invalid: string;
|
|
3217
|
+
}
|
|
3218
|
+
interface StepConfig {
|
|
3219
|
+
color: stepperColor;
|
|
2861
3220
|
}
|
|
3221
|
+
declare const DEFAULT_STEP_CONFIG: StepConfig;
|
|
3222
|
+
declare const DEFAULT_STEPPER_LABELS: StepperLabels;
|
|
3223
|
+
declare const DEFAULT_STEPPER_CONFIG: StepperConfig;
|
|
2862
3224
|
|
|
2863
3225
|
declare class Stepper {
|
|
2864
|
-
private _config;
|
|
3226
|
+
private readonly _config;
|
|
3227
|
+
/** Visually hidden state texts appended to a step's accessible name. */
|
|
3228
|
+
protected readonly labels: StepperLabels;
|
|
2865
3229
|
protected steps: Signal<readonly Step[]>;
|
|
2866
3230
|
protected completedTemplateRef: Signal<TemplateRef<unknown> | undefined>;
|
|
2867
3231
|
protected completedIconTemplateRef: Signal<TemplateRef<unknown> | undefined>;
|
|
2868
3232
|
readonly active: ModelSignal<stepperValue>;
|
|
2869
3233
|
readonly orientation: InputSignal<stepperOrientation>;
|
|
3234
|
+
readonly labelPosition: InputSignal<stepperLabelPosition>;
|
|
2870
3235
|
readonly completed: InputSignal<boolean>;
|
|
2871
3236
|
readonly linear: InputSignal<boolean>;
|
|
2872
3237
|
/** Accessible name for the stepper tablist. */
|
|
@@ -2877,20 +3242,9 @@ declare class Stepper {
|
|
|
2877
3242
|
protected activeIndex: Signal<number>;
|
|
2878
3243
|
protected onSelectedTabChange(value: stepperValue | undefined): void;
|
|
2879
3244
|
static ɵfac: i0.ɵɵFactoryDeclaration<Stepper, never>;
|
|
2880
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<Stepper, "tls-stepper", never, { "active": { "alias": "active"; "required": true; "isSignal": true; }; "orientation": { "alias": "orientation"; "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: {}; }]>;
|
|
3245
|
+
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: {}; }]>;
|
|
2881
3246
|
}
|
|
2882
3247
|
|
|
2883
|
-
interface StepperConfig {
|
|
2884
|
-
orientation: stepperOrientation;
|
|
2885
|
-
linear: boolean;
|
|
2886
|
-
step: StepConfig;
|
|
2887
|
-
}
|
|
2888
|
-
interface StepConfig {
|
|
2889
|
-
color: stepperColor;
|
|
2890
|
-
}
|
|
2891
|
-
declare const DEFAULT_STEP_CONFIG: StepConfig;
|
|
2892
|
-
declare const DEFAULT_STEPPER_CONFIG: StepperConfig;
|
|
2893
|
-
|
|
2894
3248
|
declare const STEPPER_CONFIG: InjectionToken<StepperConfig>;
|
|
2895
3249
|
|
|
2896
3250
|
type tabsVariant = 'flat' | 'outlined' | 'segmented';
|
|
@@ -3054,7 +3408,7 @@ declare class TabLinkDirective {
|
|
|
3054
3408
|
|
|
3055
3409
|
type tableColumnAlignment = 'start' | 'center' | 'end';
|
|
3056
3410
|
type TableData = Record<string, unknown>;
|
|
3057
|
-
type TableTrackBy =
|
|
3411
|
+
type TableTrackBy = TrackBy<TableData>;
|
|
3058
3412
|
interface TableColumnDefinition {
|
|
3059
3413
|
key: string;
|
|
3060
3414
|
header?: string;
|
|
@@ -3082,19 +3436,26 @@ declare class Table {
|
|
|
3082
3436
|
readonly hideHeader: InputSignalWithTransform<boolean, unknown>;
|
|
3083
3437
|
readonly striped: InputSignalWithTransform<boolean, unknown>;
|
|
3084
3438
|
readonly trackBy: InputSignal<TableTrackBy | undefined>;
|
|
3439
|
+
/**
|
|
3440
|
+
* Bounds the table's height, in pixels. When set, the host becomes the scroll
|
|
3441
|
+
* container for the rows and the header row sticks to its top edge while they
|
|
3442
|
+
* scroll. Left unset the table grows with its content and nothing scrolls.
|
|
3443
|
+
*/
|
|
3444
|
+
readonly maxHeight: InputSignalWithTransform<number | undefined, unknown>;
|
|
3085
3445
|
/** Accessible name for the table, forwarded to the inner `<table>` element. */
|
|
3086
3446
|
readonly ariaLabel: InputSignal<string | undefined>;
|
|
3087
3447
|
readonly ariaLabelledby: InputSignal<string | undefined>;
|
|
3088
|
-
protected readonly tableColumns:
|
|
3089
|
-
protected readonly effectiveColumnDefinitions:
|
|
3090
|
-
protected readonly columns:
|
|
3091
|
-
protected readonly resolvedTrackBy:
|
|
3092
|
-
protected readonly
|
|
3448
|
+
protected readonly tableColumns: Signal<readonly TableColumn[]>;
|
|
3449
|
+
protected readonly effectiveColumnDefinitions: Signal<TableColumnDefinition[]>;
|
|
3450
|
+
protected readonly columns: Signal<string[]>;
|
|
3451
|
+
protected readonly resolvedTrackBy: Signal<TrackByFunction<TableData>>;
|
|
3452
|
+
protected readonly scrollable: Signal<boolean>;
|
|
3453
|
+
protected readonly classes: Signal<string[]>;
|
|
3093
3454
|
protected readonly dataSource: DataSource<TableData>;
|
|
3094
3455
|
private _mapContentColumns;
|
|
3095
3456
|
private _mapContentColumn;
|
|
3096
3457
|
static ɵfac: i0.ɵɵFactoryDeclaration<Table, never>;
|
|
3097
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<Table, "tls-table", never, { "data": { "alias": "data"; "required": true; "isSignal": true; }; "columnDefinitions": { "alias": "columnDefinitions"; "required": false; "isSignal": true; }; "hideHeader": { "alias": "hideHeader"; "required": false; "isSignal": true; }; "striped": { "alias": "striped"; "required": false; "isSignal": true; }; "trackBy": { "alias": "trackBy"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; "ariaLabelledby": { "alias": "ariaLabelledby"; "required": false; "isSignal": true; }; }, {}, ["tableColumns"], never, true, never>;
|
|
3458
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<Table, "tls-table", never, { "data": { "alias": "data"; "required": true; "isSignal": true; }; "columnDefinitions": { "alias": "columnDefinitions"; "required": false; "isSignal": true; }; "hideHeader": { "alias": "hideHeader"; "required": false; "isSignal": true; }; "striped": { "alias": "striped"; "required": false; "isSignal": true; }; "trackBy": { "alias": "trackBy"; "required": false; "isSignal": true; }; "maxHeight": { "alias": "maxHeight"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; "ariaLabelledby": { "alias": "ariaLabelledby"; "required": false; "isSignal": true; }; }, {}, ["tableColumns"], never, true, never>;
|
|
3098
3459
|
}
|
|
3099
3460
|
|
|
3100
3461
|
interface TableConfig {
|
|
@@ -3491,6 +3852,165 @@ declare const DEFAULT_TOOLTIP_CONFIG: TooltipConfig;
|
|
|
3491
3852
|
|
|
3492
3853
|
declare const TOOLTIP_CONFIG: InjectionToken<TooltipConfig>;
|
|
3493
3854
|
|
|
3855
|
+
/**
|
|
3856
|
+
* Context handed to the item template for every rendered item: the item itself as
|
|
3857
|
+
* `$implicit`, plus `index`, `count`, `first`, `last`, `even` and `odd`. `index` and
|
|
3858
|
+
* `count` are the item's position and the total in the whole collection, not within
|
|
3859
|
+
* the rendered window — which is what makes them usable for `aria-posinset` and
|
|
3860
|
+
* `aria-setsize`.
|
|
3861
|
+
*/
|
|
3862
|
+
type VirtualScrollContext<T> = CdkVirtualForOfContext<T>;
|
|
3863
|
+
|
|
3864
|
+
/**
|
|
3865
|
+
* Scroll container that renders only the items intersecting the visible window plus a
|
|
3866
|
+
* buffer, keeping the DOM a constant size however long the collection is. Every item
|
|
3867
|
+
* occupies the same fixed extent along the scroll axis, declared by `itemSize`.
|
|
3868
|
+
*
|
|
3869
|
+
* The collection arrives as the `items` input and each item is rendered through a
|
|
3870
|
+
* template projected under the `#item` reference:
|
|
3871
|
+
*
|
|
3872
|
+
* ```html
|
|
3873
|
+
* <tls-virtual-scroll [items]="rows()" [itemSize]="48" trackBy="id">
|
|
3874
|
+
* <ng-template #item let-row let-index="index" let-count="count">
|
|
3875
|
+
* <div class="row" role="listitem" [attr.aria-posinset]="index + 1" [attr.aria-setsize]="count">
|
|
3876
|
+
* {{ row.name }}
|
|
3877
|
+
* </div>
|
|
3878
|
+
* </ng-template>
|
|
3879
|
+
* </tls-virtual-scroll>
|
|
3880
|
+
* ```
|
|
3881
|
+
*
|
|
3882
|
+
* ```scss
|
|
3883
|
+
* .row {
|
|
3884
|
+
* box-sizing: border-box;
|
|
3885
|
+
* height: var(--tls-virtual-scroll-item-size);
|
|
3886
|
+
* }
|
|
3887
|
+
* ```
|
|
3888
|
+
*
|
|
3889
|
+
* Because most items are absent from the DOM, assistive technology can no longer
|
|
3890
|
+
* derive the collection's size or an item's position from the markup. The template
|
|
3891
|
+
* context exposes the true `index` and `count` for exactly this reason; an item
|
|
3892
|
+
* carrying a role that belongs to a set should reflect them through `aria-posinset`
|
|
3893
|
+
* and `aria-setsize`.
|
|
3894
|
+
*
|
|
3895
|
+
* Windowing needs a bounded scroll container, so the host must have a resolved extent
|
|
3896
|
+
* along the scroll axis — it defaults to filling its parent, which therefore needs a
|
|
3897
|
+
* height of its own.
|
|
3898
|
+
*
|
|
3899
|
+
* The scroll axis follows `orientation`. When it is `horizontal` the roles of the two
|
|
3900
|
+
* axes swap: `itemSize` is an item's *width*, so the item template constrains
|
|
3901
|
+
* `width: var(--tls-virtual-scroll-item-size)` instead of `height` — and the cross-axis
|
|
3902
|
+
* height still has to be resolved, because the absolutely-positioned items cannot
|
|
3903
|
+
* drive it.
|
|
3904
|
+
*/
|
|
3905
|
+
declare class VirtualScroll<T> {
|
|
3906
|
+
private readonly _config;
|
|
3907
|
+
readonly items: InputSignal<readonly T[]>;
|
|
3908
|
+
/**
|
|
3909
|
+
* Extent of a single item along the scroll axis, in pixels. Every offset the container
|
|
3910
|
+
* computes assumes it, so an item that renders to a different size drifts out of
|
|
3911
|
+
* place. Nothing constrains the item template, so its own styles have to honour the
|
|
3912
|
+
* value; it is published on the scroll container as the `--tls-virtual-scroll-item-size`
|
|
3913
|
+
* custom property, which an item can read (`height: var(--tls-virtual-scroll-item-size)`)
|
|
3914
|
+
* instead of repeating the number.
|
|
3915
|
+
*/
|
|
3916
|
+
readonly itemSize: InputSignalWithTransform<number, unknown>;
|
|
3917
|
+
/**
|
|
3918
|
+
* Buffer kept rendered beyond the visible window, in pixels. When the rendered
|
|
3919
|
+
* buffer falls below this minimum, items are rendered up to `maxBufferPx` — which
|
|
3920
|
+
* must therefore be at least this value, or the scroll strategy throws. Raising
|
|
3921
|
+
* only one of the pair past the other's default breaks that invariant.
|
|
3922
|
+
*/
|
|
3923
|
+
readonly minBufferPx: InputSignalWithTransform<number, unknown>;
|
|
3924
|
+
/** Buffer rendered when `minBufferPx` is crossed, in pixels. Must be at least `minBufferPx`. */
|
|
3925
|
+
readonly maxBufferPx: InputSignalWithTransform<number, unknown>;
|
|
3926
|
+
readonly orientation: InputSignal<orientation>;
|
|
3927
|
+
readonly appendOnly: InputSignalWithTransform<boolean, unknown>;
|
|
3928
|
+
readonly templateCacheSize: InputSignalWithTransform<number, unknown>;
|
|
3929
|
+
/** Identity of an item, so a changed collection reuses views instead of rebuilding them. */
|
|
3930
|
+
readonly trackBy: InputSignal<TrackBy<T> | undefined>;
|
|
3931
|
+
/**
|
|
3932
|
+
* Role applied to the scroll container rather than the host, so that the items —
|
|
3933
|
+
* which the container owns — are described relative to it. Left unset the container
|
|
3934
|
+
* carries no role and the items keep whatever semantics their template gives them.
|
|
3935
|
+
*/
|
|
3936
|
+
readonly viewportRole: InputSignal<string | undefined>;
|
|
3937
|
+
/**
|
|
3938
|
+
* Id applied to the scroll container rather than the host, for the same reason as
|
|
3939
|
+
* `viewportRole`: a reference to the collection (`aria-controls`, `aria-owns`) has to
|
|
3940
|
+
* resolve to the element that owns the items. Deliberately not named `id` — a static
|
|
3941
|
+
* `id` attribute would land on the host and the container at once, duplicating the id.
|
|
3942
|
+
*/
|
|
3943
|
+
readonly viewportId: InputSignal<string | undefined>;
|
|
3944
|
+
/**
|
|
3945
|
+
* Reflected as `aria-multiselectable` on the scroll container, meaningful when
|
|
3946
|
+
* `viewportRole` names a role that supports it (a listbox holding a multiple
|
|
3947
|
+
* selection).
|
|
3948
|
+
*/
|
|
3949
|
+
readonly ariaMultiselectable: InputSignal<boolean | undefined>;
|
|
3950
|
+
/**
|
|
3951
|
+
* Whether the scroll container is a tab stop. A region that scrolls has to be
|
|
3952
|
+
* operable from the keyboard, so it is one by default. Turn it off only when the
|
|
3953
|
+
* region already offers that operability another way — items that are themselves
|
|
3954
|
+
* focusable, or a widget that drives the container through `scrollToIndex` from a
|
|
3955
|
+
* control elsewhere — since a redundant tab stop is its own obstacle.
|
|
3956
|
+
*
|
|
3957
|
+
* A tab stop should announce what it is: pair it with `viewportRole` and an
|
|
3958
|
+
* accessible name (`ariaLabel` / `ariaLabelledby`) so focus does not land on an
|
|
3959
|
+
* anonymous container.
|
|
3960
|
+
*/
|
|
3961
|
+
readonly focusable: InputSignalWithTransform<boolean, unknown>;
|
|
3962
|
+
/** Accessible name for the scroll container. */
|
|
3963
|
+
readonly ariaLabel: InputSignal<string | undefined>;
|
|
3964
|
+
readonly ariaLabelledby: InputSignal<string | undefined>;
|
|
3965
|
+
readonly ariaDescribedby: InputSignal<string | undefined>;
|
|
3966
|
+
/** Index of the first item currently rendered, emitted as the window moves. */
|
|
3967
|
+
readonly scrolledIndexChange: OutputEmitterRef<number>;
|
|
3968
|
+
private readonly _viewport;
|
|
3969
|
+
/**
|
|
3970
|
+
* Template rendering a single item, projected as `<ng-template #item>`. It receives
|
|
3971
|
+
* the item as `$implicit` alongside the positional context described on the class.
|
|
3972
|
+
*/
|
|
3973
|
+
protected readonly itemTemplate: Signal<TemplateRef<VirtualScrollContext<T>>>;
|
|
3974
|
+
protected readonly resolvedTrackBy: Signal<TrackByFunction<T>>;
|
|
3975
|
+
/** Scrolls the item at `index` to the leading edge of the container. */
|
|
3976
|
+
scrollToIndex(index: number, behavior?: ScrollBehavior): void;
|
|
3977
|
+
/**
|
|
3978
|
+
* Scrolls the least amount that brings the item at `index` fully into view: an item
|
|
3979
|
+
* beyond the trailing edge lands on that edge, one before the leading edge lands on
|
|
3980
|
+
* it, and an item already fully visible does not move — the behavior of
|
|
3981
|
+
* `scrollIntoView({ block: 'nearest' })`, which `scrollToIndex` (always pinning to
|
|
3982
|
+
* the leading edge) does not provide.
|
|
3983
|
+
*/
|
|
3984
|
+
scrollIndexIntoView(index: number, behavior?: ScrollBehavior): void;
|
|
3985
|
+
/** Scrolls to an offset given from any edge of the container. */
|
|
3986
|
+
scrollTo(options: ExtendedScrollToOptions): void;
|
|
3987
|
+
/**
|
|
3988
|
+
* Re-measures the container. Its size is measured when it is created and whenever the
|
|
3989
|
+
* window resizes, so a container revealed inside a panel or a collapsed parent — sized
|
|
3990
|
+
* only after that measurement — has to ask for a fresh one.
|
|
3991
|
+
*/
|
|
3992
|
+
checkViewportSize(): void;
|
|
3993
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<VirtualScroll<any>, never>;
|
|
3994
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<VirtualScroll<any>, "tls-virtual-scroll", never, { "items": { "alias": "items"; "required": true; "isSignal": true; }; "itemSize": { "alias": "itemSize"; "required": false; "isSignal": true; }; "minBufferPx": { "alias": "minBufferPx"; "required": false; "isSignal": true; }; "maxBufferPx": { "alias": "maxBufferPx"; "required": false; "isSignal": true; }; "orientation": { "alias": "orientation"; "required": false; "isSignal": true; }; "appendOnly": { "alias": "appendOnly"; "required": false; "isSignal": true; }; "templateCacheSize": { "alias": "templateCacheSize"; "required": false; "isSignal": true; }; "trackBy": { "alias": "trackBy"; "required": false; "isSignal": true; }; "viewportRole": { "alias": "viewportRole"; "required": false; "isSignal": true; }; "viewportId": { "alias": "viewportId"; "required": false; "isSignal": true; }; "ariaMultiselectable": { "alias": "ariaMultiselectable"; "required": false; "isSignal": true; }; "focusable": { "alias": "focusable"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; "ariaLabelledby": { "alias": "ariaLabelledby"; "required": false; "isSignal": true; }; "ariaDescribedby": { "alias": "ariaDescribedby"; "required": false; "isSignal": true; }; }, { "scrolledIndexChange": "scrolledIndexChange"; }, ["itemTemplate"], never, true, never>;
|
|
3995
|
+
}
|
|
3996
|
+
|
|
3997
|
+
interface VirtualScrollConfig {
|
|
3998
|
+
/** Extent of a single item along the scroll axis, in pixels. Every item shares it. */
|
|
3999
|
+
itemSize: number;
|
|
4000
|
+
/** Buffer kept rendered beyond the viewport before more items are rendered, in pixels. */
|
|
4001
|
+
minBufferPx: number;
|
|
4002
|
+
/** Buffer rendered when the minimum is crossed, in pixels. Must be at least `minBufferPx`. */
|
|
4003
|
+
maxBufferPx: number;
|
|
4004
|
+
orientation: orientation;
|
|
4005
|
+
/** Keeps items rendered once scrolled past instead of recycling them. */
|
|
4006
|
+
appendOnly: boolean;
|
|
4007
|
+
/** Number of detached item views kept for reuse before they are destroyed. */
|
|
4008
|
+
templateCacheSize: number;
|
|
4009
|
+
}
|
|
4010
|
+
declare const DEFAULT_VIRTUAL_SCROLL_CONFIG: VirtualScrollConfig;
|
|
4011
|
+
|
|
4012
|
+
declare const VIRTUAL_SCROLL_CONFIG: InjectionToken<VirtualScrollConfig>;
|
|
4013
|
+
|
|
3494
4014
|
/**
|
|
3495
4015
|
* Clock convention used when formatting times. `'locale'` follows the configured
|
|
3496
4016
|
* `date-fns` locale's own short-time pattern.
|
|
@@ -3558,12 +4078,19 @@ interface tlsUiConfigProvider {
|
|
|
3558
4078
|
password?: Partial<PasswordConfig>;
|
|
3559
4079
|
pinInput?: Partial<PinInputConfig>;
|
|
3560
4080
|
popover?: Partial<PopoverConfig>;
|
|
4081
|
+
progress?: Partial<ProgressConfig>;
|
|
3561
4082
|
radioButton?: Partial<RadioButtonConfig>;
|
|
4083
|
+
rating?: Partial<Omit<RatingConfig, 'labels'>> & {
|
|
4084
|
+
labels?: Partial<RatingLabels>;
|
|
4085
|
+
};
|
|
3562
4086
|
select?: Partial<SelectConfig>;
|
|
3563
4087
|
skeleton?: Partial<SkeletonConfig>;
|
|
3564
4088
|
slider?: Partial<SliderConfig>;
|
|
3565
4089
|
splitter?: Partial<SplitterConfig>;
|
|
3566
|
-
stepper?: Partial<StepperConfig
|
|
4090
|
+
stepper?: Partial<Omit<StepperConfig, 'labels' | 'step'>> & {
|
|
4091
|
+
labels?: Partial<StepperLabels>;
|
|
4092
|
+
step?: Partial<StepConfig>;
|
|
4093
|
+
};
|
|
3567
4094
|
switch?: Partial<SwitchConfig>;
|
|
3568
4095
|
table?: Partial<TableConfig>;
|
|
3569
4096
|
tabNav?: Partial<TabNavConfig>;
|
|
@@ -3576,6 +4103,7 @@ interface tlsUiConfigProvider {
|
|
|
3576
4103
|
};
|
|
3577
4104
|
toggleGroup?: Partial<ToggleGroupConfig>;
|
|
3578
4105
|
tooltip?: Partial<TooltipConfig>;
|
|
4106
|
+
virtualScroll?: Partial<VirtualScrollConfig>;
|
|
3579
4107
|
};
|
|
3580
4108
|
}
|
|
3581
4109
|
|
|
@@ -3589,8 +4117,25 @@ interface tlsUiConfigProvider {
|
|
|
3589
4117
|
*/
|
|
3590
4118
|
declare abstract class AbstractSelect<T, V, ValueType> extends ValueFormControl<ValueType> {
|
|
3591
4119
|
protected readonly overlay: OverlayManager;
|
|
4120
|
+
private readonly _document;
|
|
3592
4121
|
private readonly triggerElement;
|
|
3593
4122
|
private readonly panelTemplate;
|
|
4123
|
+
private readonly virtualScrollRef;
|
|
4124
|
+
/**
|
|
4125
|
+
* Whether the panel has already been rendered open, distinguishing the render that
|
|
4126
|
+
* opens it from the ones that follow while it stays open.
|
|
4127
|
+
*/
|
|
4128
|
+
private _panelWasOpen;
|
|
4129
|
+
/**
|
|
4130
|
+
* Keeps the active option visible inside the scrolling panel. Focus stays on the
|
|
4131
|
+
* trigger and only `aria-activedescendant` moves, so the browser never scrolls the
|
|
4132
|
+
* option list on its own — every write of `activeIndex` (keyboard navigation, the
|
|
4133
|
+
* initial index on open, a filter narrowing the list) has to be followed by an
|
|
4134
|
+
* explicit scroll. Running after render guarantees the option's element exists even
|
|
4135
|
+
* when the same change re-rendered the list. `nearest` leaves an already-visible
|
|
4136
|
+
* option where it is, so pointer-driven activation never causes a scroll.
|
|
4137
|
+
*/
|
|
4138
|
+
private readonly _scrollActiveOptionIntoView;
|
|
3594
4139
|
/**
|
|
3595
4140
|
* Consumer template rendered inside each option button in place of the plain
|
|
3596
4141
|
* label (`<ng-template #option let-context>`). The button itself — and with it
|
|
@@ -3607,8 +4152,11 @@ declare abstract class AbstractSelect<T, V, ValueType> extends ValueFormControl<
|
|
|
3607
4152
|
abstract readonly size: InputSignal<controlSize>;
|
|
3608
4153
|
abstract readonly fluid: InputSignalWithTransform<boolean, unknown>;
|
|
3609
4154
|
abstract readonly clearable: InputSignalWithTransform<boolean, unknown>;
|
|
4155
|
+
/** Renders the panel through a virtual-scroll viewport, windowing the option list. */
|
|
4156
|
+
abstract readonly virtualScroll: InputSignalWithTransform<boolean, unknown>;
|
|
4157
|
+
/** Fixed height of an option row, in pixels, when the panel is virtualized. */
|
|
4158
|
+
abstract readonly virtualScrollItemSize: InputSignalWithTransform<number, unknown>;
|
|
3610
4159
|
protected readonly isOpen: Signal<boolean>;
|
|
3611
|
-
protected readonly activeIndex: WritableSignal<number>;
|
|
3612
4160
|
protected readonly normalizedOptions: Signal<Option<V>[]>;
|
|
3613
4161
|
/**
|
|
3614
4162
|
* Options actually shown in the panel and traversed by keyboard navigation. Defaults to the full
|
|
@@ -3616,12 +4164,31 @@ declare abstract class AbstractSelect<T, V, ValueType> extends ValueFormControl<
|
|
|
3616
4164
|
* {@link filterVisibleOptions}. `activeIndex` always indexes into this list, never the raw one.
|
|
3617
4165
|
*/
|
|
3618
4166
|
protected readonly visibleOptions: Signal<Option<V>[]>;
|
|
4167
|
+
/**
|
|
4168
|
+
* Index of the option keyboard navigation rests on, within `visibleOptions`; −1
|
|
4169
|
+
* means none. When the visible list changes under it (the options swapped while the
|
|
4170
|
+
* panel is open), an index that fell out of range snaps to the last enabled option,
|
|
4171
|
+
* so `aria-activedescendant` never references an element that no longer exists.
|
|
4172
|
+
*/
|
|
4173
|
+
protected readonly activeIndex: WritableSignal<number>;
|
|
3619
4174
|
protected readonly activeDescendantId: Signal<string | null>;
|
|
4175
|
+
/**
|
|
4176
|
+
* Height of the virtualized option viewport: sized to the options, capped so the
|
|
4177
|
+
* panel — viewport plus its block padding — never exceeds the panel's max-height.
|
|
4178
|
+
* A short list therefore produces a short panel instead of an empty scroll area.
|
|
4179
|
+
* Bound to the viewport's `--tls-virtual-scroll-height` custom property.
|
|
4180
|
+
*/
|
|
4181
|
+
protected readonly virtualPanelHeight: Signal<string>;
|
|
3620
4182
|
protected readonly hostClasses: Signal<string[]>;
|
|
3621
4183
|
protected get listboxId(): string;
|
|
3622
4184
|
protected abstract readonly uniqueId: string;
|
|
3623
4185
|
protected abstract readonly hostClassBase: string;
|
|
3624
4186
|
protected abstract readonly panelClass: string;
|
|
4187
|
+
/**
|
|
4188
|
+
* Prefix of the control's panel custom properties; `<prefix>-max-height` and
|
|
4189
|
+
* `<prefix>-padding-block` must exist under it, as they size the virtualized viewport.
|
|
4190
|
+
*/
|
|
4191
|
+
protected abstract readonly panelCssVariablePrefix: string;
|
|
3625
4192
|
protected abstract readonly hasValue: Signal<boolean>;
|
|
3626
4193
|
/** Whether `option` is part of the current selection (scalar or array, per control). */
|
|
3627
4194
|
protected abstract isOptionSelected(option: Option<V>): boolean;
|
|
@@ -3663,5 +4230,5 @@ declare abstract class QuerySyncDirective {
|
|
|
3663
4230
|
|
|
3664
4231
|
declare const provideThalassicUIConfig: (config?: tlsUiConfigProvider) => EnvironmentProviders;
|
|
3665
4232
|
|
|
3666
|
-
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_RADIO_BUTTON_CONFIG, DEFAULT_SELECT_CONFIG, DEFAULT_SKELETON_CONFIG, DEFAULT_SLIDER_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_TAB_NAV_CONFIG, DEFAULT_TEXTAREA_CONFIG, DEFAULT_TOAST_CONFIG, DEFAULT_TOGGLE_BUTTON_CONFIG, DEFAULT_TOGGLE_GROUP_CONFIG, DEFAULT_TOOLTIP_CONFIG, DEFAULT_TOOLTIP_CONTENT_ATTRIBUTE, DIALOG_CONFIG, DIVIDER_CONFIG, DRAWER_CONFIG, DateTimePicker, Dialog, DialogBody, DialogFooter, DialogHeader, DialogService, DialogTitleDirective, Divider, Drawer, DrawerRef, DrawerService, FILE_INPUT_CONFIG, FORM_CONTROL, FORM_CONTROL_CONFIG, FORM_CONTROL_GROUP_CONFIG, FORM_ITEM_CONFIG, 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, Pagination, PaginationQuerySyncDirective, Password, PinInput, Popover, RADIO_BUTTON_CONFIG, RadioButton, 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, ValueFormControl, aggregateActivityEntries, applyMask, buildActivityMonthSegments, buildActivityThresholds, provideThalassicIcons, provideThalassicUIConfig, resolveActivityLevel };
|
|
3667
|
-
export type { ActivityHeatmapConfig, ActivityHeatmapDay, ActivityHeatmapEntry, ActivityHeatmapLabels, ActivityHeatmapMonth, ActivityHeatmapRow, ActivityHeatmapTotal, AlertConfig, AutocompleteConfig, BadgeConfig, BreadcrumbItem, BreadcrumbItemContext, BreadcrumbsConfig, ButtonConfig, CalendarConfig, CalendarEvent, CalendarEventContext, CalendarLabels, CalendarRange, CheckboxConfig, ChipConfig, ChipContext, ChipControlConfig, ChipGroupConfig, ChipInputConfig, ConfirmConfig, ConfirmOptions, DateTimePickerConfig, DialogConfig, DialogOpenConfig, DividerConfig, DrawerConfig, DrawerOpenConfig, FileInputConfig, FileInputDropZoneContext, FileInputFileContext, FormControlConfig, FormControlGroupConfig, FormItemConfig, HighlightConfig, HighlightSegment, IconConfig, ImageCompareConfig, InputConfig, InputNumberConfig, KbdConfig, LoaderConfig, MarkConfig, MaskResult, MenuActionItem, MenuConfig, MenuCustomItem, MenuDivider, MenuItemDefinition, MenuLabel, MultiSelectConfig, OdometerConfig, OdometerToken, OverlayArrowPosition, PaginationConfig, PaginationLabels, PaginationQuerySyncConfig, PasswordConfig, PinInputConfig, PopoverConfig, RadioButtonConfig, SelectConfig, SkeletonConfig, SliderConfig, SplitterConfig, StepConfig, StepperConfig, StepperSelectEvent, SwitchConfig, TabNavConfig, TableColumnDefinition, TableConfig, TableData, TableTrackBy, TabsConfig, TabsQuerySyncConfig, TextareaConfig, ToastConfig, ToastOptions, ToastRef, ToastState, ToggleButtonConfig, ToggleGroupConfig, TooltipConfig, acceptInput, alertColor, autocompleteFilterMode, badgeColor, badgePosition, badgeVariant, buttonColor, buttonType, buttonVariant, calendarView, chipColor, chipSize, chipTemplateContext, chipVariant, color, confirmActionsAlign, confirmButton, confirmSize, controlSize, dateTimePickerMode, dialogFooterAlign, dialogSize, dividerContentPosition, dividerOrientation, dividerVariant, drawerSide, drawerSize, errorTrigger, fileInputDragState, fileInputVariant, iconRegistry, iconRenderer, imageCompareOrientation, labelPosition, loaderSize, menuItemType, menuPosition, orientation, overlayArrowAlignment, overlayArrowSide, overlayPosition, paginationItem, pinInputType, resolvedConfirmButton, size, sliderColor, splitterOrientation, stepperColor, stepperOrientation, stepperValue, switchColor, systemIcon, tabValue, tableColumnAlignment, tabsHeaderAlign, tabsHeaderPosition, tabsItemsAlign, tabsOrientation, tabsVariant, textareaResize, tlsUiConfigProvider, toastAction, toastColor, toastPosition, toastSeverity, toastStacking, toggleButtonColor, toggleButtonVariant, toggleGroupVariant, tooltipColor, tooltipOrigin, tooltipPosition };
|
|
4233
|
+
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, 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, aggregateActivityEntries, applyMask, buildActivityMonthSegments, buildActivityThresholds, provideThalassicIcons, provideThalassicUIConfig, resolveActivityLevel };
|
|
4234
|
+
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, HighlightConfig, HighlightSegment, IconConfig, ImageCompareConfig, InputConfig, InputNumberConfig, KbdConfig, LoaderConfig, MarkConfig, MaskResult, MenuActionItem, MenuConfig, MenuCustomItem, MenuDivider, MenuItemDefinition, MenuLabel, 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, fileInputDragState, fileInputVariant, iconRegistry, iconRenderer, imageCompareOrientation, labelPosition, loaderSize, menuItemType, menuPosition, orientation, overlayArrowAlignment, overlayArrowSide, overlayPosition, paginationItem, pinInputType, progressActiveSegment, progressColor, radius, ratingColor, resolvedConfirmButton, size, sliderColor, splitterOrientation, stepperColor, stepperLabelPosition, stepperOrientation, stepperValue, switchColor, systemIcon, tabValue, tableColumnAlignment, tabsHeaderAlign, tabsHeaderPosition, tabsItemsAlign, tabsOrientation, tabsVariant, textareaResize, tlsUiConfigProvider, toastAction, toastColor, toastPosition, toastSeverity, toastStacking, toggleButtonColor, toggleButtonVariant, toggleGroupVariant, tooltipColor, tooltipOrigin, tooltipPosition };
|