@thalassic/ui 22.12.0 → 22.14.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 +712 -298
- package/fesm2022/thalassic-ui.mjs.map +1 -1
- package/package.json +1 -1
- package/types/thalassic-ui.d.ts +303 -60
package/types/thalassic-ui.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
2
|
import { ModelSignal, InputSignal, WritableSignal, Signal, InputSignalWithTransform, InjectionToken, TemplateRef, Type, EnvironmentProviders, OutputEmitterRef, ElementRef, OnInit, TrackByFunction, OnDestroy } from '@angular/core';
|
|
3
3
|
import { FormUiControl, WithOptionalFieldTree, ValidationError, FormValueControl, FormCheckboxControl, ReadonlyFieldTree } from '@angular/forms/signals';
|
|
4
|
-
import { Day } from 'date-fns';
|
|
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';
|
|
@@ -236,15 +236,28 @@ declare class OverlayManager {
|
|
|
236
236
|
close(): void;
|
|
237
237
|
private _buildPositionStrategy;
|
|
238
238
|
private _wireDismissal;
|
|
239
|
-
/**
|
|
240
|
-
* Disposes a detached overlay once the panel's exit animation has finished, so
|
|
241
|
-
* the pane is not torn down while `animate.leave` is still playing. Falls back
|
|
242
|
-
* to a timeout when no animation runs (e.g. the `none` motion level).
|
|
243
|
-
*/
|
|
244
|
-
private _disposeAfterAnimation;
|
|
245
239
|
private _dispose;
|
|
246
240
|
}
|
|
247
241
|
|
|
242
|
+
/**
|
|
243
|
+
* Context exposed to a consumer-provided option template of a listbox control
|
|
244
|
+
* (`tls-select`, `tls-multi-select`, `tls-autocomplete`).
|
|
245
|
+
*/
|
|
246
|
+
interface SelectOptionContext<T = unknown, V = unknown> {
|
|
247
|
+
/** The consumer's original option object (or primitive). */
|
|
248
|
+
option: T;
|
|
249
|
+
value: V;
|
|
250
|
+
label: string;
|
|
251
|
+
index: number;
|
|
252
|
+
selected: boolean;
|
|
253
|
+
/** Whether the option is the one keyboard navigation currently rests on. */
|
|
254
|
+
active: boolean;
|
|
255
|
+
disabled: boolean;
|
|
256
|
+
}
|
|
257
|
+
type selectTemplateContext<T = unknown, V = unknown> = {
|
|
258
|
+
$implicit: SelectOptionContext<T, V>;
|
|
259
|
+
};
|
|
260
|
+
|
|
248
261
|
type color = 'primary' | 'secondary' | 'tertiary' | 'success' | 'info' | 'warning' | 'danger';
|
|
249
262
|
|
|
250
263
|
type controlSize = 'sm' | 'md' | 'lg';
|
|
@@ -362,7 +375,19 @@ declare class IconService {
|
|
|
362
375
|
sanitizeSvg(svg: string): SafeHtml;
|
|
363
376
|
private _isUrlAllowed;
|
|
364
377
|
private _sanitizeSvg;
|
|
378
|
+
/**
|
|
379
|
+
* Sanitizes SVG markup by parsing it into a DOM tree and stripping dangerous
|
|
380
|
+
* nodes and attributes, so obfuscated markup (unquoted attributes, entity
|
|
381
|
+
* tricks) cannot slip through the way it could with pattern matching on the
|
|
382
|
+
* raw text. The cleaned tree is serialized back to markup.
|
|
383
|
+
*
|
|
384
|
+
* Without a DOM parser (server-side rendering), the markup is dropped rather
|
|
385
|
+
* than passed through unsanitized; the icon renders once the browser takes
|
|
386
|
+
* over.
|
|
387
|
+
*/
|
|
365
388
|
private _makeSafe;
|
|
389
|
+
private _sanitizeElement;
|
|
390
|
+
private _isAttributeDisallowed;
|
|
366
391
|
static ɵfac: i0.ɵɵFactoryDeclaration<IconService, never>;
|
|
367
392
|
static ɵprov: i0.ɵɵInjectableDeclaration<IconService>;
|
|
368
393
|
}
|
|
@@ -544,8 +569,46 @@ interface CalendarEventContext {
|
|
|
544
569
|
view: calendarView;
|
|
545
570
|
}
|
|
546
571
|
|
|
572
|
+
/** User-facing strings rendered by the calendar and its views, overridable for localization. */
|
|
573
|
+
interface CalendarLabels {
|
|
574
|
+
/** Accessible name for the previous-period navigation button. */
|
|
575
|
+
previous: string;
|
|
576
|
+
/** Accessible name for the next-period navigation button. */
|
|
577
|
+
next: string;
|
|
578
|
+
/** Label for the button that snaps back to today. */
|
|
579
|
+
today: string;
|
|
580
|
+
/** Gutter label for the week/day all-day row. */
|
|
581
|
+
allDay: string;
|
|
582
|
+
/** Message shown by the agenda view when the active month has no events. */
|
|
583
|
+
noEvents: string;
|
|
584
|
+
/** Label for the "+N more" affordance on a month day cell with hidden events. */
|
|
585
|
+
more: (count: number) => string;
|
|
586
|
+
/** Labels for the view-switcher options, keyed by view. */
|
|
587
|
+
views: Record<calendarView, string>;
|
|
588
|
+
}
|
|
589
|
+
interface CalendarConfig {
|
|
590
|
+
/** View shown on first render. */
|
|
591
|
+
view: calendarView;
|
|
592
|
+
/** First day of the week (`date-fns` convention: 0 = Sunday). */
|
|
593
|
+
weekStartsOn: Day;
|
|
594
|
+
/** Short weekday labels, Sunday-first; rotated to honour `weekStartsOn`. */
|
|
595
|
+
weekDays: string[];
|
|
596
|
+
/** First hour rendered by the week/day time-grid. */
|
|
597
|
+
hourStart: number;
|
|
598
|
+
/** Last hour rendered by the week/day time-grid. */
|
|
599
|
+
hourEnd: number;
|
|
600
|
+
/** Whether the week/day views show a dedicated all-day row above the time-grid. */
|
|
601
|
+
showAllDayRow: boolean;
|
|
602
|
+
/** Events shown in a month day cell before collapsing the rest into "+N more". */
|
|
603
|
+
maxEventsPerDay: number;
|
|
604
|
+
/** User-facing strings, overridable for localization. */
|
|
605
|
+
labels: CalendarLabels;
|
|
606
|
+
}
|
|
607
|
+
declare const DEFAULT_CALENDAR_CONFIG: CalendarConfig;
|
|
608
|
+
|
|
547
609
|
declare class Calendar {
|
|
548
610
|
private readonly _config;
|
|
611
|
+
private readonly _locale;
|
|
549
612
|
readonly events: InputSignal<CalendarEvent[]>;
|
|
550
613
|
readonly weekStartsOn: InputSignal<Day>;
|
|
551
614
|
readonly weekDays: InputSignal<string[]>;
|
|
@@ -562,11 +625,15 @@ declare class Calendar {
|
|
|
562
625
|
readonly view: ModelSignal<calendarView>;
|
|
563
626
|
/** Anchor date driving the visible range; navigation shifts it by the view's unit. */
|
|
564
627
|
readonly activeDate: ModelSignal<Date>;
|
|
628
|
+
protected readonly labels: CalendarLabels;
|
|
565
629
|
protected readonly viewOptions: {
|
|
566
630
|
label: string;
|
|
567
631
|
value: calendarView;
|
|
568
632
|
}[];
|
|
569
633
|
protected readonly eventTemplate: Signal<TemplateRef<CalendarEventContext> | undefined>;
|
|
634
|
+
private readonly _dateOptions;
|
|
635
|
+
/** Ticking current time, so the "Today" affordance stays correct across midnight. */
|
|
636
|
+
private readonly _now;
|
|
570
637
|
protected readonly hostClasses: Signal<string[]>;
|
|
571
638
|
/** Whether the active period already includes today, so "Today" would be a no-op. */
|
|
572
639
|
protected readonly isViewingToday: Signal<boolean>;
|
|
@@ -602,6 +669,8 @@ interface AgendaDay {
|
|
|
602
669
|
* omitted. Reuses the shared event chip and template slot; carries list — not grid — semantics.
|
|
603
670
|
*/
|
|
604
671
|
declare class CalendarAgendaView {
|
|
672
|
+
private readonly _locale;
|
|
673
|
+
private readonly _config;
|
|
605
674
|
readonly activeDate: InputSignal<Date>;
|
|
606
675
|
readonly events: InputSignal<CalendarEvent[]>;
|
|
607
676
|
readonly eventTemplate: InputSignal<TemplateRef<CalendarEventContext> | undefined>;
|
|
@@ -609,6 +678,10 @@ declare class CalendarAgendaView {
|
|
|
609
678
|
readonly label: InputSignal<string | undefined>;
|
|
610
679
|
readonly dateSelect: OutputEmitterRef<Date>;
|
|
611
680
|
readonly eventSelect: OutputEmitterRef<CalendarEvent>;
|
|
681
|
+
protected readonly noEventsLabel: string;
|
|
682
|
+
private readonly _dateOptions;
|
|
683
|
+
/** Ticking current time, so the today marker tracks the clock across midnight. */
|
|
684
|
+
private readonly _now;
|
|
612
685
|
protected readonly days: Signal<AgendaDay[]>;
|
|
613
686
|
static ɵfac: i0.ɵɵFactoryDeclaration<CalendarAgendaView, never>;
|
|
614
687
|
static ɵcmp: i0.ɵɵComponentDeclaration<CalendarAgendaView, "tls-calendar-agenda-view", never, { "activeDate": { "alias": "activeDate"; "required": true; "isSignal": true; }; "events": { "alias": "events"; "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>;
|
|
@@ -620,10 +693,12 @@ declare class CalendarAgendaView {
|
|
|
620
693
|
* (a month cell's list, a time-grid block, an agenda row).
|
|
621
694
|
*/
|
|
622
695
|
declare class CalendarEventItem {
|
|
696
|
+
private readonly _locale;
|
|
623
697
|
readonly event: InputSignal<CalendarEvent>;
|
|
624
698
|
readonly view: InputSignal<calendarView>;
|
|
625
699
|
readonly template: InputSignal<TemplateRef<CalendarEventContext> | undefined>;
|
|
626
700
|
readonly activate: OutputEmitterRef<CalendarEvent>;
|
|
701
|
+
private readonly _dateOptions;
|
|
627
702
|
protected readonly classes: Signal<string[]>;
|
|
628
703
|
protected readonly context: Signal<CalendarEventContext>;
|
|
629
704
|
/** Time-aware views prefix the start time; the month grid shows the title alone. */
|
|
@@ -655,6 +730,8 @@ interface MonthWeek {
|
|
|
655
730
|
bars: MonthEventBar[];
|
|
656
731
|
}
|
|
657
732
|
declare class CalendarMonthView {
|
|
733
|
+
private readonly _locale;
|
|
734
|
+
private readonly _config;
|
|
658
735
|
readonly activeDate: InputSignal<Date>;
|
|
659
736
|
readonly events: InputSignal<CalendarEvent[]>;
|
|
660
737
|
readonly weekStartsOn: InputSignal<Day>;
|
|
@@ -665,8 +742,13 @@ declare class CalendarMonthView {
|
|
|
665
742
|
readonly label: InputSignal<string | undefined>;
|
|
666
743
|
readonly dateSelect: OutputEmitterRef<Date>;
|
|
667
744
|
readonly eventSelect: OutputEmitterRef<CalendarEvent>;
|
|
745
|
+
private readonly _dateOptions;
|
|
746
|
+
/** Ticking current time, so the today highlight tracks the clock across midnight. */
|
|
747
|
+
private readonly _now;
|
|
668
748
|
protected readonly weekdayHeaders: Signal<string[]>;
|
|
669
749
|
protected readonly weeks: Signal<MonthWeek[]>;
|
|
750
|
+
/** Localized "+N more" label for a day cell with `count` hidden events. */
|
|
751
|
+
protected moreLabel(count: number): string;
|
|
670
752
|
/** Space would scroll the page; consume it and select the focused day instead. */
|
|
671
753
|
protected onDaySpace(event: Event, date: Date): void;
|
|
672
754
|
static ɵfac: i0.ɵɵFactoryDeclaration<CalendarMonthView, never>;
|
|
@@ -695,6 +777,8 @@ interface TimeGridColumn {
|
|
|
695
777
|
* a header row. Shared by the week (seven columns) and day (single column) views.
|
|
696
778
|
*/
|
|
697
779
|
declare class CalendarTimeGrid {
|
|
780
|
+
private readonly _locale;
|
|
781
|
+
private readonly _config;
|
|
698
782
|
readonly days: InputSignal<Date[]>;
|
|
699
783
|
readonly events: InputSignal<CalendarEvent[]>;
|
|
700
784
|
readonly view: InputSignal<calendarView>;
|
|
@@ -707,6 +791,10 @@ declare class CalendarTimeGrid {
|
|
|
707
791
|
readonly dateSelect: OutputEmitterRef<Date>;
|
|
708
792
|
readonly eventSelect: OutputEmitterRef<CalendarEvent>;
|
|
709
793
|
protected readonly hourHeight = 48;
|
|
794
|
+
protected readonly allDayLabel: string;
|
|
795
|
+
private readonly _dateOptions;
|
|
796
|
+
/** Ticking current time, so the now line and today highlight track the clock. */
|
|
797
|
+
private readonly _now;
|
|
710
798
|
protected readonly hours: Signal<number[]>;
|
|
711
799
|
protected readonly columns: Signal<TimeGridColumn[]>;
|
|
712
800
|
/** Vertical offset (px) of the current-time line, or null when now is off-screen. */
|
|
@@ -715,33 +803,23 @@ declare class CalendarTimeGrid {
|
|
|
715
803
|
protected laneOffset(layout: TimedEventLayout): number;
|
|
716
804
|
protected laneWidth(layout: TimedEventLayout): number;
|
|
717
805
|
private _isAllDay;
|
|
806
|
+
/**
|
|
807
|
+
* Whether the event has any visible span inside the rendered hour window.
|
|
808
|
+
* Events entirely before `hourStart` or after `hourEnd` are excluded — clamping
|
|
809
|
+
* them would paint a zero-length sliver pinned to the window edge. An instant
|
|
810
|
+
* (zero-duration) event counts while its start sits inside the window.
|
|
811
|
+
*/
|
|
812
|
+
private _overlapsWindow;
|
|
718
813
|
private _clamp;
|
|
719
814
|
static ɵfac: i0.ɵɵFactoryDeclaration<CalendarTimeGrid, never>;
|
|
720
815
|
static ɵcmp: i0.ɵɵComponentDeclaration<CalendarTimeGrid, "tls-calendar-time-grid", never, { "days": { "alias": "days"; "required": true; "isSignal": true; }; "events": { "alias": "events"; "required": true; "isSignal": true; }; "view": { "alias": "view"; "required": true; "isSignal": true; }; "hourStart": { "alias": "hourStart"; "required": true; "isSignal": true; }; "hourEnd": { "alias": "hourEnd"; "required": true; "isSignal": true; }; "showAllDayRow": { "alias": "showAllDayRow"; "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>;
|
|
721
816
|
}
|
|
722
817
|
|
|
723
|
-
interface CalendarConfig {
|
|
724
|
-
/** View shown on first render. */
|
|
725
|
-
view: calendarView;
|
|
726
|
-
/** First day of the week (`date-fns` convention: 0 = Sunday). */
|
|
727
|
-
weekStartsOn: Day;
|
|
728
|
-
/** Short weekday labels, Sunday-first; rotated to honour `weekStartsOn`. */
|
|
729
|
-
weekDays: string[];
|
|
730
|
-
/** First hour rendered by the week/day time-grid. */
|
|
731
|
-
hourStart: number;
|
|
732
|
-
/** Last hour rendered by the week/day time-grid. */
|
|
733
|
-
hourEnd: number;
|
|
734
|
-
/** Whether the week/day views show a dedicated all-day row above the time-grid. */
|
|
735
|
-
showAllDayRow: boolean;
|
|
736
|
-
/** Events shown in a month day cell before collapsing the rest into "+N more". */
|
|
737
|
-
maxEventsPerDay: number;
|
|
738
|
-
}
|
|
739
|
-
declare const DEFAULT_CALENDAR_CONFIG: CalendarConfig;
|
|
740
|
-
|
|
741
818
|
declare const CALENDAR_CONFIG: InjectionToken<CalendarConfig>;
|
|
742
819
|
|
|
743
820
|
type chipColor = color;
|
|
744
821
|
type chipVariant = 'filled' | 'tonal' | 'outlined' | 'text';
|
|
822
|
+
type chipSize = 'xs' | 'sm' | 'md' | 'lg';
|
|
745
823
|
interface ChipContext {
|
|
746
824
|
checked: boolean;
|
|
747
825
|
disabled: boolean;
|
|
@@ -760,7 +838,7 @@ declare class Chip {
|
|
|
760
838
|
readonly label: InputSignal<string | undefined>;
|
|
761
839
|
readonly color: InputSignal<chipColor>;
|
|
762
840
|
readonly variant: InputSignal<chipVariant>;
|
|
763
|
-
readonly size: InputSignal<
|
|
841
|
+
readonly size: InputSignal<chipSize>;
|
|
764
842
|
readonly rounded: i0.InputSignalWithTransform<boolean, unknown>;
|
|
765
843
|
readonly icon: i0.InputSignalWithTransform<boolean, unknown>;
|
|
766
844
|
readonly fluid: i0.InputSignalWithTransform<boolean, unknown>;
|
|
@@ -790,7 +868,7 @@ declare class ChipControl extends CheckboxFormControl {
|
|
|
790
868
|
interface ChipConfig {
|
|
791
869
|
color: chipColor;
|
|
792
870
|
variant: chipVariant;
|
|
793
|
-
size:
|
|
871
|
+
size: chipSize;
|
|
794
872
|
}
|
|
795
873
|
declare const DEFAULT_CHIP_CONFIG: ChipConfig;
|
|
796
874
|
|
|
@@ -953,6 +1031,8 @@ interface DialogConfig {
|
|
|
953
1031
|
size: dialogSize;
|
|
954
1032
|
closeable: boolean;
|
|
955
1033
|
backdropClose: boolean;
|
|
1034
|
+
/** Accessible name for the close button, overridable for localization. */
|
|
1035
|
+
closeLabel: string;
|
|
956
1036
|
}
|
|
957
1037
|
declare const DEFAULT_DIALOG_CONFIG: DialogConfig;
|
|
958
1038
|
|
|
@@ -971,6 +1051,8 @@ interface DialogOpenConfig<D = unknown> {
|
|
|
971
1051
|
size?: dialogSize;
|
|
972
1052
|
closeable?: boolean;
|
|
973
1053
|
backdropClose?: boolean;
|
|
1054
|
+
/** Accessible name for the close button. */
|
|
1055
|
+
closeLabel?: string;
|
|
974
1056
|
role?: DialogRole;
|
|
975
1057
|
ariaLabel?: string | null;
|
|
976
1058
|
ariaLabelledBy?: string | null;
|
|
@@ -1021,6 +1103,8 @@ interface DrawerConfig {
|
|
|
1021
1103
|
closeable: boolean;
|
|
1022
1104
|
backdropClose: boolean;
|
|
1023
1105
|
rounded: boolean;
|
|
1106
|
+
/** Accessible name for the close button, overridable for localization. */
|
|
1107
|
+
closeLabel: string;
|
|
1024
1108
|
}
|
|
1025
1109
|
declare const DEFAULT_DRAWER_CONFIG: DrawerConfig;
|
|
1026
1110
|
|
|
@@ -1064,6 +1148,8 @@ interface DrawerOpenConfig<D = unknown> {
|
|
|
1064
1148
|
closeable?: boolean;
|
|
1065
1149
|
backdropClose?: boolean;
|
|
1066
1150
|
rounded?: boolean;
|
|
1151
|
+
/** Accessible name for the close button. */
|
|
1152
|
+
closeLabel?: string;
|
|
1067
1153
|
role?: DialogRole;
|
|
1068
1154
|
ariaLabel?: string | null;
|
|
1069
1155
|
ariaLabelledBy?: string | null;
|
|
@@ -1119,6 +1205,8 @@ interface FormItemConfig {
|
|
|
1119
1205
|
/** Text appended to non-required fields (e.g. `(optional)`). Not shown when omitted. */
|
|
1120
1206
|
optionalText?: string;
|
|
1121
1207
|
errorMessages: ErrorMessageMap;
|
|
1208
|
+
/** Fallback for an error kind absent from `errorMessages` that carries no `message` of its own. */
|
|
1209
|
+
unknownErrorMessage: ErrorMessageFn;
|
|
1122
1210
|
}
|
|
1123
1211
|
declare const DEFAULT_FORM_ITEM_CONFIG: FormItemConfig;
|
|
1124
1212
|
|
|
@@ -1181,6 +1269,7 @@ declare class Autocomplete<T, V = unknown> extends AbstractSelect<T, V, V | null
|
|
|
1181
1269
|
readonly clearable: InputSignalWithTransform<boolean, unknown>;
|
|
1182
1270
|
readonly filterMode: InputSignal<autocompleteFilterMode>;
|
|
1183
1271
|
readonly emptyMessage: InputSignal<string>;
|
|
1272
|
+
readonly clearLabel: InputSignal<string>;
|
|
1184
1273
|
protected readonly hasValue: Signal<boolean>;
|
|
1185
1274
|
protected readonly selectedLabel: Signal<string>;
|
|
1186
1275
|
/**
|
|
@@ -1190,6 +1279,7 @@ declare class Autocomplete<T, V = unknown> extends AbstractSelect<T, V, V | null
|
|
|
1190
1279
|
*/
|
|
1191
1280
|
protected readonly query: WritableSignal<string>;
|
|
1192
1281
|
protected select(option: Option<V>): void;
|
|
1282
|
+
protected isOptionSelected(option: Option<V>): boolean;
|
|
1193
1283
|
protected onInput(event: Event): void;
|
|
1194
1284
|
protected onKeydown(event: KeyboardEvent): void;
|
|
1195
1285
|
protected filterVisibleOptions(options: Option<V>[]): Option<V>[];
|
|
@@ -1198,7 +1288,7 @@ declare class Autocomplete<T, V = unknown> extends AbstractSelect<T, V, V | null
|
|
|
1198
1288
|
protected getInitialActiveIndex(): number;
|
|
1199
1289
|
protected commitActiveOption(option: Option<V>): void;
|
|
1200
1290
|
static ɵfac: i0.ɵɵFactoryDeclaration<Autocomplete<any, any>, never>;
|
|
1201
|
-
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; }; }, { "value": "valueChange"; }, never, never, true, never>;
|
|
1291
|
+
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>;
|
|
1202
1292
|
}
|
|
1203
1293
|
|
|
1204
1294
|
interface AutocompleteConfig {
|
|
@@ -1208,6 +1298,8 @@ interface AutocompleteConfig {
|
|
|
1208
1298
|
clearable: boolean;
|
|
1209
1299
|
filterMode: autocompleteFilterMode;
|
|
1210
1300
|
emptyMessage: string;
|
|
1301
|
+
/** Accessible name for the clear button, overridable for localization. */
|
|
1302
|
+
clearLabel: string;
|
|
1211
1303
|
}
|
|
1212
1304
|
declare const DEFAULT_AUTOCOMPLETE_CONFIG: AutocompleteConfig;
|
|
1213
1305
|
|
|
@@ -1227,7 +1319,7 @@ declare class Checkbox extends CheckboxFormControl {
|
|
|
1227
1319
|
readonly checked: ModelSignal<boolean>;
|
|
1228
1320
|
readonly tabindex: InputSignal<string | number>;
|
|
1229
1321
|
protected readonly hostClasses: Signal<string[]>;
|
|
1230
|
-
protected toggle(): void;
|
|
1322
|
+
protected toggle(event?: Event): void;
|
|
1231
1323
|
protected onKeyboardToggle(event: Event): void;
|
|
1232
1324
|
static ɵfac: i0.ɵɵFactoryDeclaration<Checkbox, never>;
|
|
1233
1325
|
static ɵcmp: i0.ɵɵComponentDeclaration<Checkbox, "tls-checkbox", never, { "indeterminate": { "alias": "indeterminate"; "required": false; "isSignal": true; }; "checked": { "alias": "checked"; "required": false; "isSignal": true; }; "tabindex": { "alias": "tabindex"; "required": false; "isSignal": true; }; }, { "indeterminate": "indeterminateChange"; "checked": "checkedChange"; }, never, never, true, never>;
|
|
@@ -1238,6 +1330,8 @@ type dateTimePickerMode = 'calendar' | 'month-picker' | 'year-picker' | 'time-pi
|
|
|
1238
1330
|
type ActiveView = 'calendar' | 'month-picker' | 'year-picker' | 'time-picker' | 'date-time';
|
|
1239
1331
|
declare class DateTimePicker extends ValueFormControl<Date | null> {
|
|
1240
1332
|
private readonly config;
|
|
1333
|
+
private readonly _locale;
|
|
1334
|
+
private readonly _dateOptions;
|
|
1241
1335
|
private readonly popoverComponent;
|
|
1242
1336
|
readonly value: ModelSignal<Date | null>;
|
|
1243
1337
|
readonly mode: InputSignal<dateTimePickerMode>;
|
|
@@ -1280,7 +1374,7 @@ declare class ChipGroup<T, V = unknown> extends SelectionGroup<T, V> {
|
|
|
1280
1374
|
protected CLASS_NAME: string;
|
|
1281
1375
|
readonly multiple: InputSignalWithTransform<boolean, unknown>;
|
|
1282
1376
|
readonly unselectable: InputSignalWithTransform<boolean, unknown>;
|
|
1283
|
-
readonly size: InputSignal<
|
|
1377
|
+
readonly size: InputSignal<chipSize>;
|
|
1284
1378
|
readonly color: InputSignal<chipColor>;
|
|
1285
1379
|
readonly checkedColor: InputSignal<_thalassic_ui.color | undefined>;
|
|
1286
1380
|
readonly variant: InputSignal<chipVariant>;
|
|
@@ -1299,7 +1393,7 @@ declare class ChipGroup<T, V = unknown> extends SelectionGroup<T, V> {
|
|
|
1299
1393
|
}
|
|
1300
1394
|
|
|
1301
1395
|
interface ChipGroupConfig {
|
|
1302
|
-
size:
|
|
1396
|
+
size: chipSize;
|
|
1303
1397
|
color: chipColor;
|
|
1304
1398
|
checkedColor: chipColor | undefined;
|
|
1305
1399
|
variant: chipVariant;
|
|
@@ -1366,14 +1460,19 @@ declare class FileInput extends ValueFormControl<File[]> {
|
|
|
1366
1460
|
readonly hideFileList: InputSignalWithTransform<boolean, unknown>;
|
|
1367
1461
|
protected readonly nativeInput: Signal<ElementRef<HTMLInputElement>>;
|
|
1368
1462
|
protected readonly dragState: i0.WritableSignal<fileInputDragState>;
|
|
1463
|
+
/** Nesting depth of the active drag: dragenter/dragleave pairs fired by the drop zone's children. */
|
|
1464
|
+
private _dragDepth;
|
|
1369
1465
|
protected readonly dropZoneTemplate: Signal<TemplateRef<FileInputDropZoneContext> | undefined>;
|
|
1370
1466
|
protected readonly fileTemplate: Signal<TemplateRef<FileInputFileContext> | undefined>;
|
|
1371
1467
|
protected readonly classes: Signal<string[]>;
|
|
1372
1468
|
protected readonly triggerLabel: Signal<string>;
|
|
1469
|
+
/** Accessible name for the drop zone: the consumer's, or the configured fallback. */
|
|
1470
|
+
protected readonly dropZoneLabel: Signal<string>;
|
|
1373
1471
|
protected readonly acceptHint: Signal<string>;
|
|
1374
1472
|
protected openFilePicker(): void;
|
|
1375
1473
|
protected onFilesSelected(event: Event): void;
|
|
1376
1474
|
protected onDropZoneKeydown(event: KeyboardEvent): void;
|
|
1475
|
+
protected onDragEnter(): void;
|
|
1377
1476
|
protected onDragOver(event: DragEvent): void;
|
|
1378
1477
|
protected onDragLeave(): void;
|
|
1379
1478
|
protected onDrop(event: DragEvent): void;
|
|
@@ -1393,6 +1492,14 @@ interface FileInputConfig {
|
|
|
1393
1492
|
accept: acceptInput;
|
|
1394
1493
|
fluid: boolean;
|
|
1395
1494
|
hideFileList: boolean;
|
|
1495
|
+
/** Trigger label in single-file mode, overridable for localization. */
|
|
1496
|
+
chooseFileLabel: string;
|
|
1497
|
+
/** Trigger label in multiple-file mode, overridable for localization. */
|
|
1498
|
+
chooseFilesLabel: string;
|
|
1499
|
+
/** Fallback accessible name for the drop zone in single-file mode, overridable for localization. */
|
|
1500
|
+
dropZoneFileLabel: string;
|
|
1501
|
+
/** Fallback accessible name for the drop zone in multiple-file mode, overridable for localization. */
|
|
1502
|
+
dropZoneFilesLabel: string;
|
|
1396
1503
|
}
|
|
1397
1504
|
declare const DEFAULT_FILE_INPUT_CONFIG: FileInputConfig;
|
|
1398
1505
|
|
|
@@ -1444,6 +1551,12 @@ declare class InputNumber extends ValueFormControl<number | null> {
|
|
|
1444
1551
|
readonly hideArrows: InputSignalWithTransform<boolean, unknown>;
|
|
1445
1552
|
protected readonly classes: Signal<string[]>;
|
|
1446
1553
|
protected onInput(event: Event): void;
|
|
1554
|
+
/**
|
|
1555
|
+
* Clamps a typed value into `[min, max]` once editing is committed (`change`
|
|
1556
|
+
* fires on blur/Enter). The spinner arrows already honor the bounds natively;
|
|
1557
|
+
* clamping only here keeps mid-typing values ("1" on the way to "10") intact.
|
|
1558
|
+
*/
|
|
1559
|
+
protected onChange(event: Event): void;
|
|
1447
1560
|
static ɵfac: i0.ɵɵFactoryDeclaration<InputNumber, never>;
|
|
1448
1561
|
static ɵcmp: i0.ɵɵComponentDeclaration<InputNumber, "tls-input-number", 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; }; "min": { "alias": "min"; "required": false; "isSignal": true; }; "max": { "alias": "max"; "required": false; "isSignal": true; }; "step": { "alias": "step"; "required": false; "isSignal": true; }; "hideArrows": { "alias": "hideArrows"; "required": false; "isSignal": true; }; }, { "value": "valueChange"; }, never, never, true, never>;
|
|
1449
1562
|
}
|
|
@@ -1532,7 +1645,10 @@ declare class Password extends ValueFormControl<string> {
|
|
|
1532
1645
|
protected readonly startIconTemplate: i0.Signal<TemplateRef<unknown> | undefined>;
|
|
1533
1646
|
protected readonly showIconTemplate: i0.Signal<TemplateRef<unknown> | undefined>;
|
|
1534
1647
|
protected readonly hideIconTemplate: i0.Signal<TemplateRef<unknown> | undefined>;
|
|
1648
|
+
protected readonly showLabel: string;
|
|
1649
|
+
protected readonly hideLabel: string;
|
|
1535
1650
|
protected type: i0.Signal<"text" | "password">;
|
|
1651
|
+
protected readonly toggleAriaLabel: i0.Signal<string>;
|
|
1536
1652
|
protected onInput(event: Event): void;
|
|
1537
1653
|
protected toggle(): void;
|
|
1538
1654
|
static ɵfac: i0.ɵɵFactoryDeclaration<Password, never>;
|
|
@@ -1543,6 +1659,14 @@ interface PasswordConfig {
|
|
|
1543
1659
|
size: controlSize;
|
|
1544
1660
|
placeholder: string;
|
|
1545
1661
|
fluid: boolean;
|
|
1662
|
+
/** Accessible name for the toggle when the password is hidden ("reveal" action). */
|
|
1663
|
+
showAriaLabel: string;
|
|
1664
|
+
/** Accessible name for the toggle when the password is visible ("conceal" action). */
|
|
1665
|
+
hideAriaLabel: string;
|
|
1666
|
+
/** Visible fallback text for the reveal action when no `showIcon` slot is provided. */
|
|
1667
|
+
showLabel: string;
|
|
1668
|
+
/** Visible fallback text for the conceal action when no `hideIcon` slot is provided. */
|
|
1669
|
+
hideLabel: string;
|
|
1546
1670
|
}
|
|
1547
1671
|
declare const DEFAULT_PASSWORD_CONFIG: PasswordConfig;
|
|
1548
1672
|
|
|
@@ -1590,6 +1714,12 @@ declare const DEFAULT_RADIO_BUTTON_CONFIG: RadioButtonConfig;
|
|
|
1590
1714
|
|
|
1591
1715
|
declare const RADIO_BUTTON_CONFIG: InjectionToken<RadioButtonConfig>;
|
|
1592
1716
|
|
|
1717
|
+
/**
|
|
1718
|
+
* A single radio option bound to a shared `value` model; the option whose
|
|
1719
|
+
* `radioValue` equals the model is checked. When several radio buttons form one
|
|
1720
|
+
* group, wrap each in its own `tls-form-item` (the item's label names that
|
|
1721
|
+
* option), rather than one item around the whole group.
|
|
1722
|
+
*/
|
|
1593
1723
|
declare class RadioButton extends ValueFormControl<unknown> {
|
|
1594
1724
|
private _config;
|
|
1595
1725
|
protected CLASS_NAME: string;
|
|
@@ -1617,16 +1747,18 @@ declare class MultiSelect<T, V = unknown> extends AbstractSelect<T, V, V[]> {
|
|
|
1617
1747
|
readonly fluid: InputSignalWithTransform<boolean, unknown>;
|
|
1618
1748
|
readonly clearable: InputSignalWithTransform<boolean, unknown>;
|
|
1619
1749
|
readonly maxLabels: InputSignal<number>;
|
|
1750
|
+
readonly clearLabel: InputSignal<string>;
|
|
1620
1751
|
protected readonly hasValue: Signal<boolean>;
|
|
1621
1752
|
protected readonly selectedValues: Signal<Set<V>>;
|
|
1622
1753
|
protected readonly triggerLabel: Signal<string>;
|
|
1623
1754
|
protected isSelected(option: Option<V>): boolean;
|
|
1755
|
+
protected isOptionSelected(option: Option<V>): boolean;
|
|
1624
1756
|
protected toggleOption(option: Option<V>): void;
|
|
1625
1757
|
protected clear(): void;
|
|
1626
1758
|
protected getInitialActiveIndex(): number;
|
|
1627
1759
|
protected commitActiveOption(option: Option<V>): void;
|
|
1628
1760
|
static ɵfac: i0.ɵɵFactoryDeclaration<MultiSelect<any, any>, never>;
|
|
1629
|
-
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; }; }, { "value": "valueChange"; }, never, never, true, never>;
|
|
1761
|
+
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>;
|
|
1630
1762
|
}
|
|
1631
1763
|
|
|
1632
1764
|
interface MultiSelectConfig {
|
|
@@ -1635,6 +1767,10 @@ interface MultiSelectConfig {
|
|
|
1635
1767
|
fluid: boolean;
|
|
1636
1768
|
clearable: boolean;
|
|
1637
1769
|
maxLabels: number;
|
|
1770
|
+
/** Accessible name for the clear button, overridable for localization. */
|
|
1771
|
+
clearLabel: string;
|
|
1772
|
+
/** Trigger label when more than `maxLabels` options are selected, overridable for localization. */
|
|
1773
|
+
selectedCountLabel: (count: number) => string;
|
|
1638
1774
|
}
|
|
1639
1775
|
declare const DEFAULT_MULTI_SELECT_CONFIG: MultiSelectConfig;
|
|
1640
1776
|
|
|
@@ -1652,14 +1788,16 @@ declare class Select<T, V = unknown> extends AbstractSelect<T, V, V | null> {
|
|
|
1652
1788
|
readonly size: InputSignal<controlSize>;
|
|
1653
1789
|
readonly fluid: InputSignalWithTransform<boolean, unknown>;
|
|
1654
1790
|
readonly clearable: InputSignalWithTransform<boolean, unknown>;
|
|
1791
|
+
readonly clearLabel: InputSignal<string>;
|
|
1655
1792
|
protected readonly hasValue: Signal<boolean>;
|
|
1656
1793
|
protected readonly selectedLabel: Signal<string>;
|
|
1657
1794
|
protected select(option: Option<V>): void;
|
|
1795
|
+
protected isOptionSelected(option: Option<V>): boolean;
|
|
1658
1796
|
protected clear(): void;
|
|
1659
1797
|
protected getInitialActiveIndex(): number;
|
|
1660
1798
|
protected commitActiveOption(option: Option<V>): void;
|
|
1661
1799
|
static ɵfac: i0.ɵɵFactoryDeclaration<Select<any, any>, never>;
|
|
1662
|
-
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; }; }, { "value": "valueChange"; }, never, never, true, never>;
|
|
1800
|
+
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>;
|
|
1663
1801
|
}
|
|
1664
1802
|
|
|
1665
1803
|
interface SelectConfig {
|
|
@@ -1667,6 +1805,8 @@ interface SelectConfig {
|
|
|
1667
1805
|
placeholder: string;
|
|
1668
1806
|
fluid: boolean;
|
|
1669
1807
|
clearable: boolean;
|
|
1808
|
+
/** Accessible name for the clear button, overridable for localization. */
|
|
1809
|
+
clearLabel: string;
|
|
1670
1810
|
}
|
|
1671
1811
|
declare const DEFAULT_SELECT_CONFIG: SelectConfig;
|
|
1672
1812
|
|
|
@@ -1682,7 +1822,7 @@ declare class Switch extends CheckboxFormControl {
|
|
|
1682
1822
|
readonly color: InputSignal<switchColor>;
|
|
1683
1823
|
readonly tabindex: InputSignal<string | number>;
|
|
1684
1824
|
protected readonly hostClasses: Signal<string[]>;
|
|
1685
|
-
protected toggle(): void;
|
|
1825
|
+
protected toggle(event?: Event): void;
|
|
1686
1826
|
protected onKeyboardToggle(event: Event): void;
|
|
1687
1827
|
static ɵfac: i0.ɵɵFactoryDeclaration<Switch, never>;
|
|
1688
1828
|
static ɵcmp: i0.ɵɵComponentDeclaration<Switch, "tls-switch", never, { "checked": { "alias": "checked"; "required": false; "isSignal": true; }; "color": { "alias": "color"; "required": false; "isSignal": true; }; "tabindex": { "alias": "tabindex"; "required": false; "isSignal": true; }; }, { "checked": "checkedChange"; }, never, never, true, never>;
|
|
@@ -2140,6 +2280,31 @@ declare const DEFAULT_ODOMETER_CONFIG: OdometerConfig;
|
|
|
2140
2280
|
|
|
2141
2281
|
declare const ODOMETER_CONFIG: InjectionToken<OdometerConfig>;
|
|
2142
2282
|
|
|
2283
|
+
/** Accessible names for the pagination controls, overridable for localization. */
|
|
2284
|
+
interface PaginationLabels {
|
|
2285
|
+
/** Accessible name for the first-page button. */
|
|
2286
|
+
first: string;
|
|
2287
|
+
/** Accessible name for the previous-page button. */
|
|
2288
|
+
previous: string;
|
|
2289
|
+
/** Accessible name for the next-page button. */
|
|
2290
|
+
next: string;
|
|
2291
|
+
/** Accessible name for the last-page button. */
|
|
2292
|
+
last: string;
|
|
2293
|
+
/** Accessible name for a numbered page button. */
|
|
2294
|
+
page: (page: number) => string;
|
|
2295
|
+
}
|
|
2296
|
+
interface PaginationConfig {
|
|
2297
|
+
size: controlSize;
|
|
2298
|
+
pageSize: number;
|
|
2299
|
+
boundaries: number;
|
|
2300
|
+
siblings: number;
|
|
2301
|
+
showFirstButton: boolean;
|
|
2302
|
+
showLastButton: boolean;
|
|
2303
|
+
/** Accessible names for the controls, overridable for localization. */
|
|
2304
|
+
labels: PaginationLabels;
|
|
2305
|
+
}
|
|
2306
|
+
declare const DEFAULT_PAGINATION_CONFIG: PaginationConfig;
|
|
2307
|
+
|
|
2143
2308
|
type paginationItem = number | 'gap';
|
|
2144
2309
|
|
|
2145
2310
|
declare class Pagination {
|
|
@@ -2155,14 +2320,19 @@ declare class Pagination {
|
|
|
2155
2320
|
readonly siblings: i0.InputSignal<number>;
|
|
2156
2321
|
readonly showFirstButton: i0.InputSignalWithTransform<boolean, unknown>;
|
|
2157
2322
|
readonly showLastButton: i0.InputSignalWithTransform<boolean, unknown>;
|
|
2323
|
+
protected readonly labels: PaginationLabels;
|
|
2158
2324
|
protected readonly pageCount: i0.Signal<number>;
|
|
2325
|
+
/** Last valid page; at least 1 so the current page never leaves the 1-based range. */
|
|
2326
|
+
protected readonly lastValidPage: i0.Signal<number>;
|
|
2159
2327
|
protected readonly visiblePages: i0.Signal<paginationItem[]>;
|
|
2160
2328
|
protected readonly classes: i0.Signal<string[]>;
|
|
2329
|
+
constructor();
|
|
2161
2330
|
protected setPage(page: number): void;
|
|
2162
2331
|
protected firstPage(): void;
|
|
2163
2332
|
protected prevPage(): void;
|
|
2164
2333
|
protected nextPage(): void;
|
|
2165
2334
|
protected lastPage(): void;
|
|
2335
|
+
private _clamp;
|
|
2166
2336
|
/** Returns an inclusive array of integers from start to end. Returns [] if end < start. */
|
|
2167
2337
|
private _range;
|
|
2168
2338
|
/** Computes the visible page items, inserting 'gap' where ellipsis should appear based on boundaries and siblings. */
|
|
@@ -2171,16 +2341,6 @@ declare class Pagination {
|
|
|
2171
2341
|
static ɵcmp: i0.ɵɵComponentDeclaration<Pagination, "tls-pagination", never, { "value": { "alias": "value"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; "ariaLabelledby": { "alias": "ariaLabelledby"; "required": false; "isSignal": true; }; "pageSize": { "alias": "pageSize"; "required": false; "isSignal": true; }; "total": { "alias": "total"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "boundaries": { "alias": "boundaries"; "required": false; "isSignal": true; }; "siblings": { "alias": "siblings"; "required": false; "isSignal": true; }; "showFirstButton": { "alias": "showFirstButton"; "required": false; "isSignal": true; }; "showLastButton": { "alias": "showLastButton"; "required": false; "isSignal": true; }; }, { "value": "valueChange"; }, never, never, true, never>;
|
|
2172
2342
|
}
|
|
2173
2343
|
|
|
2174
|
-
interface PaginationConfig {
|
|
2175
|
-
size: controlSize;
|
|
2176
|
-
pageSize: number;
|
|
2177
|
-
boundaries: number;
|
|
2178
|
-
siblings: number;
|
|
2179
|
-
showFirstButton: boolean;
|
|
2180
|
-
showLastButton: boolean;
|
|
2181
|
-
}
|
|
2182
|
-
declare const DEFAULT_PAGINATION_CONFIG: PaginationConfig;
|
|
2183
|
-
|
|
2184
2344
|
declare const PAGINATION_CONFIG: InjectionToken<PaginationConfig>;
|
|
2185
2345
|
|
|
2186
2346
|
interface PaginationQuerySyncConfig {
|
|
@@ -2190,10 +2350,18 @@ declare const DEFAULT_PAGINATION_QUERY_SYNC_CONFIG: PaginationQuerySyncConfig;
|
|
|
2190
2350
|
|
|
2191
2351
|
declare const PAGINATION_QUERY_SYNC_CONFIG: InjectionToken<PaginationQuerySyncConfig>;
|
|
2192
2352
|
|
|
2353
|
+
/**
|
|
2354
|
+
* Mirrors the current page into a URL query param. The param is only written
|
|
2355
|
+
* once the page actually changes — the initial page (the default, or the one
|
|
2356
|
+
* restored from the URL) never stamps the param, so a freshly loaded page
|
|
2357
|
+
* keeps its URL untouched.
|
|
2358
|
+
*/
|
|
2193
2359
|
declare class PaginationQuerySyncDirective extends QuerySyncDirective implements OnInit {
|
|
2194
2360
|
private readonly _pagination;
|
|
2195
2361
|
private readonly _config;
|
|
2196
2362
|
readonly tlsPaginationQuerySync: i0.InputSignalWithTransform<string, string>;
|
|
2363
|
+
/** Last page mirrored to the URL; `null` until the initial page settles. */
|
|
2364
|
+
private _lastSynced;
|
|
2197
2365
|
constructor();
|
|
2198
2366
|
ngOnInit(): void;
|
|
2199
2367
|
static ɵfac: i0.ɵɵFactoryDeclaration<PaginationQuerySyncDirective, never>;
|
|
@@ -2423,6 +2591,14 @@ declare class Tabs {
|
|
|
2423
2591
|
protected hostClasses: Signal<string[]>;
|
|
2424
2592
|
protected headerClasses: Signal<string[]>;
|
|
2425
2593
|
constructor();
|
|
2594
|
+
/**
|
|
2595
|
+
* Resolves serialized text (e.g. a URL query param) back to the matching
|
|
2596
|
+
* tab's actual value, so a numeric tab value round-trips with its own type
|
|
2597
|
+
* instead of a string that would never match. Returns `undefined` when no tab
|
|
2598
|
+
* matches — including while the projected tabs have not resolved yet, so a
|
|
2599
|
+
* reactive caller can retry once they have.
|
|
2600
|
+
*/
|
|
2601
|
+
findTabValue(text: string): tabValue | undefined;
|
|
2426
2602
|
static ɵfac: i0.ɵɵFactoryDeclaration<Tabs, never>;
|
|
2427
2603
|
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; }; "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: {}; }]>;
|
|
2428
2604
|
}
|
|
@@ -2443,12 +2619,22 @@ declare const DEFAULT_TABS_QUERY_SYNC_CONFIG: TabsQuerySyncConfig;
|
|
|
2443
2619
|
|
|
2444
2620
|
declare const TABS_QUERY_SYNC_CONFIG: InjectionToken<TabsQuerySyncConfig>;
|
|
2445
2621
|
|
|
2446
|
-
|
|
2622
|
+
/**
|
|
2623
|
+
* Mirrors the selected tab into a URL query param. The param is only written
|
|
2624
|
+
* once the selection actually changes — the initial selection (the default
|
|
2625
|
+
* first tab, or the one restored from the URL) never stamps the param, so a
|
|
2626
|
+
* freshly loaded page keeps its URL untouched.
|
|
2627
|
+
*/
|
|
2628
|
+
declare class TabsQuerySyncDirective extends QuerySyncDirective {
|
|
2447
2629
|
private readonly _tabs;
|
|
2448
2630
|
private readonly _config;
|
|
2449
2631
|
readonly tlsTabsQuerySync: i0.InputSignalWithTransform<string, string>;
|
|
2632
|
+
/** Param value captured once at startup, pending until a matching tab resolves. */
|
|
2633
|
+
private _pendingRestore;
|
|
2634
|
+
private _restoreRead;
|
|
2635
|
+
/** Last selection mirrored to the URL; `undefined` until the initial selection settles. */
|
|
2636
|
+
private _lastSynced;
|
|
2450
2637
|
constructor();
|
|
2451
|
-
ngOnInit(): void;
|
|
2452
2638
|
static ɵfac: i0.ɵɵFactoryDeclaration<TabsQuerySyncDirective, never>;
|
|
2453
2639
|
static ɵdir: i0.ɵɵDirectiveDeclaration<TabsQuerySyncDirective, "tls-tabs[tlsTabsQuerySync]", never, { "tlsTabsQuerySync": { "alias": "tlsTabsQuerySync"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
2454
2640
|
}
|
|
@@ -2469,19 +2655,25 @@ declare class TabsQuerySyncDirective extends QuerySyncDirective implements OnIni
|
|
|
2469
2655
|
* <a tlsTabLink routerLink="security" routerLinkActive>Security</a>
|
|
2470
2656
|
* </nav>
|
|
2471
2657
|
* ```
|
|
2658
|
+
*
|
|
2659
|
+
* Set `divider` to draw a separator between every pair of links. The
|
|
2660
|
+
* separators are presentational only — they carry no semantics and are not
|
|
2661
|
+
* announced to assistive technology.
|
|
2472
2662
|
*/
|
|
2473
2663
|
declare class TabNavDirective {
|
|
2474
2664
|
private readonly _config;
|
|
2475
2665
|
readonly variant: InputSignal<tabsVariant>;
|
|
2476
2666
|
readonly orientation: InputSignal<tabsOrientation>;
|
|
2667
|
+
readonly divider: InputSignalWithTransform<boolean, unknown>;
|
|
2477
2668
|
protected hostClasses: Signal<string[]>;
|
|
2478
2669
|
static ɵfac: i0.ɵɵFactoryDeclaration<TabNavDirective, never>;
|
|
2479
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<TabNavDirective, "nav[tlsTabNav]", never, { "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "orientation": { "alias": "orientation"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
2670
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<TabNavDirective, "nav[tlsTabNav]", never, { "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "orientation": { "alias": "orientation"; "required": false; "isSignal": true; }; "divider": { "alias": "divider"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
2480
2671
|
}
|
|
2481
2672
|
|
|
2482
2673
|
interface TabNavConfig {
|
|
2483
2674
|
variant: tabsVariant;
|
|
2484
2675
|
orientation: tabsOrientation;
|
|
2676
|
+
divider: boolean;
|
|
2485
2677
|
}
|
|
2486
2678
|
declare const DEFAULT_TAB_NAV_CONFIG: TabNavConfig;
|
|
2487
2679
|
|
|
@@ -2610,6 +2802,8 @@ declare class Toast {
|
|
|
2610
2802
|
readonly paused: i0.InputSignal<boolean>;
|
|
2611
2803
|
readonly action: i0.InputSignal<toastAction | undefined>;
|
|
2612
2804
|
readonly ariaLabel: i0.InputSignal<string | undefined>;
|
|
2805
|
+
/** Accessible name for the close button. */
|
|
2806
|
+
readonly dismissLabel: i0.InputSignal<string>;
|
|
2613
2807
|
readonly dismissed: i0.OutputEmitterRef<void>;
|
|
2614
2808
|
readonly actionTriggered: i0.OutputEmitterRef<void>;
|
|
2615
2809
|
protected readonly hostClasses: i0.Signal<string[]>;
|
|
@@ -2620,7 +2814,7 @@ declare class Toast {
|
|
|
2620
2814
|
protected onAction(): void;
|
|
2621
2815
|
protected onClose(): void;
|
|
2622
2816
|
static ɵfac: i0.ɵɵFactoryDeclaration<Toast, never>;
|
|
2623
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<Toast, "tls-toast", never, { "message": { "alias": "message"; "required": true; "isSignal": true; }; "title": { "alias": "title"; "required": false; "isSignal": true; }; "color": { "alias": "color"; "required": true; "isSignal": true; }; "closable": { "alias": "closable"; "required": false; "isSignal": true; }; "showIcon": { "alias": "showIcon"; "required": false; "isSignal": true; }; "showProgress": { "alias": "showProgress"; "required": false; "isSignal": true; }; "duration": { "alias": "duration"; "required": false; "isSignal": true; }; "paused": { "alias": "paused"; "required": false; "isSignal": true; }; "action": { "alias": "action"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; }, { "dismissed": "dismissed"; "actionTriggered": "actionTriggered"; }, never, never, true, never>;
|
|
2817
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<Toast, "tls-toast", never, { "message": { "alias": "message"; "required": true; "isSignal": true; }; "title": { "alias": "title"; "required": false; "isSignal": true; }; "color": { "alias": "color"; "required": true; "isSignal": true; }; "closable": { "alias": "closable"; "required": false; "isSignal": true; }; "showIcon": { "alias": "showIcon"; "required": false; "isSignal": true; }; "showProgress": { "alias": "showProgress"; "required": false; "isSignal": true; }; "duration": { "alias": "duration"; "required": false; "isSignal": true; }; "paused": { "alias": "paused"; "required": false; "isSignal": true; }; "action": { "alias": "action"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; "dismissLabel": { "alias": "dismissLabel"; "required": false; "isSignal": true; }; }, { "dismissed": "dismissed"; "actionTriggered": "actionTriggered"; }, never, never, true, never>;
|
|
2624
2818
|
}
|
|
2625
2819
|
|
|
2626
2820
|
/** Options accepted by {@link ToastService.show}. */
|
|
@@ -2714,6 +2908,7 @@ interface ToastLayout {
|
|
|
2714
2908
|
declare class ToastOutlet {
|
|
2715
2909
|
private readonly _service;
|
|
2716
2910
|
private readonly _destroyRef;
|
|
2911
|
+
private readonly _elementRef;
|
|
2717
2912
|
protected readonly toasts: i0.Signal<ToastState[]>;
|
|
2718
2913
|
private readonly _pointerInside;
|
|
2719
2914
|
private readonly _focusInside;
|
|
@@ -2721,6 +2916,8 @@ declare class ToastOutlet {
|
|
|
2721
2916
|
private readonly _toastElements;
|
|
2722
2917
|
private readonly _resizeObserver;
|
|
2723
2918
|
protected readonly position: i0.Signal<_thalassic_ui.toastPosition>;
|
|
2919
|
+
protected readonly regionLabel: i0.Signal<string>;
|
|
2920
|
+
protected readonly dismissLabel: i0.Signal<string>;
|
|
2724
2921
|
protected readonly expanded: i0.Signal<boolean>;
|
|
2725
2922
|
protected readonly paused: i0.Signal<boolean>;
|
|
2726
2923
|
protected readonly regionClasses: i0.Signal<string[]>;
|
|
@@ -2731,7 +2928,8 @@ declare class ToastOutlet {
|
|
|
2731
2928
|
protected onDismiss(id: number): void;
|
|
2732
2929
|
protected onAction(toast: ToastState): void;
|
|
2733
2930
|
protected onPointerEnter(): void;
|
|
2734
|
-
protected onPointerLeave(): void;
|
|
2931
|
+
protected onPointerLeave(event: PointerEvent): void;
|
|
2932
|
+
protected onDocumentPointerDown(event: PointerEvent): void;
|
|
2735
2933
|
protected onFocusIn(): void;
|
|
2736
2934
|
protected onFocusOut(): void;
|
|
2737
2935
|
private _measure;
|
|
@@ -2760,6 +2958,10 @@ interface ToastConfig {
|
|
|
2760
2958
|
showProgress: boolean;
|
|
2761
2959
|
/** Whether hovering / focusing the stack pauses every toast's auto-dismiss timer. */
|
|
2762
2960
|
pauseOnHover: boolean;
|
|
2961
|
+
/** Accessible name for the toast region landmark, overridable for localization. */
|
|
2962
|
+
regionLabel: string;
|
|
2963
|
+
/** Accessible name for a toast's close button, overridable for localization. */
|
|
2964
|
+
dismissLabel: string;
|
|
2763
2965
|
}
|
|
2764
2966
|
declare const DEFAULT_TOAST_CONFIG: ToastConfig;
|
|
2765
2967
|
|
|
@@ -2769,6 +2971,16 @@ type tooltipOrigin = 'cursor' | 'element';
|
|
|
2769
2971
|
type tooltipPosition = overlayPosition;
|
|
2770
2972
|
type tooltipColor = color;
|
|
2771
2973
|
|
|
2974
|
+
/**
|
|
2975
|
+
* Attaches a tooltip to the host element. Shows on hover and on keyboard focus,
|
|
2976
|
+
* toggles on touch, and dismisses on Escape without moving the pointer or focus
|
|
2977
|
+
* (WCAG 1.4.13). The tooltip is linked to the host via `aria-describedby` while
|
|
2978
|
+
* visible.
|
|
2979
|
+
*
|
|
2980
|
+
* Interaction is driven by pointer events, branching on `pointerType`: mouse
|
|
2981
|
+
* and pen get hover semantics, touch gets tap-to-toggle. A single stream avoids
|
|
2982
|
+
* the synthesized mouse events browsers replay after a tap.
|
|
2983
|
+
*/
|
|
2772
2984
|
declare class TooltipDirective implements OnDestroy {
|
|
2773
2985
|
private _tooltipService;
|
|
2774
2986
|
private _elementRef;
|
|
@@ -2784,10 +2996,13 @@ declare class TooltipDirective implements OnDestroy {
|
|
|
2784
2996
|
tooltipColor: InputSignal<tooltipColor>;
|
|
2785
2997
|
private _visible;
|
|
2786
2998
|
private _positions;
|
|
2787
|
-
protected
|
|
2788
|
-
protected
|
|
2789
|
-
protected
|
|
2790
|
-
protected
|
|
2999
|
+
protected onPointerEnter(event: PointerEvent): void;
|
|
3000
|
+
protected onPointerMove(event: PointerEvent): void;
|
|
3001
|
+
protected onPointerLeave(event: PointerEvent): void;
|
|
3002
|
+
protected onFocus(): void;
|
|
3003
|
+
protected onBlur(): void;
|
|
3004
|
+
/** Dismisses the tooltip without moving the pointer or focus (WCAG 1.4.13). */
|
|
3005
|
+
protected onEscape(): void;
|
|
2791
3006
|
private _show;
|
|
2792
3007
|
private _hide;
|
|
2793
3008
|
ngOnDestroy(): void;
|
|
@@ -2806,16 +3021,32 @@ declare const DEFAULT_TOOLTIP_CONFIG: TooltipConfig;
|
|
|
2806
3021
|
|
|
2807
3022
|
declare const TOOLTIP_CONFIG: InjectionToken<TooltipConfig>;
|
|
2808
3023
|
|
|
3024
|
+
interface LocaleConfig {
|
|
3025
|
+
/**
|
|
3026
|
+
* `date-fns` locale used by every component that formats dates (calendar month
|
|
3027
|
+
* names, weekday and time-grid headings, agenda labels). When omitted, `date-fns`
|
|
3028
|
+
* formats in its built-in `en-US` locale. Import the desired locale from
|
|
3029
|
+
* `date-fns/locale` (e.g. `import { fr } from 'date-fns/locale'`) and pass it here.
|
|
3030
|
+
*/
|
|
3031
|
+
dateFns?: Locale;
|
|
3032
|
+
}
|
|
3033
|
+
|
|
2809
3034
|
interface tlsUiConfigProvider {
|
|
2810
3035
|
/** Cross-cutting accessibility policy applied across every component (not tied to a single one). */
|
|
2811
3036
|
accessibility?: Partial<AccessibilityConfig>;
|
|
3037
|
+
/** Cross-cutting locale used by every component that formats dates (not tied to a single one). */
|
|
3038
|
+
locale?: Partial<LocaleConfig>;
|
|
2812
3039
|
/** Cross-cutting defaults inherited by every form control (not tied to a single component). */
|
|
2813
3040
|
formControl?: Partial<FormControlConfig>;
|
|
2814
|
-
components
|
|
3041
|
+
components?: {
|
|
2815
3042
|
alert?: Partial<AlertConfig>;
|
|
2816
3043
|
autocomplete?: Partial<AutocompleteConfig>;
|
|
2817
3044
|
button?: Partial<ButtonConfig>;
|
|
2818
|
-
calendar?: Partial<CalendarConfig
|
|
3045
|
+
calendar?: Partial<Omit<CalendarConfig, 'labels'>> & {
|
|
3046
|
+
labels?: Partial<Omit<CalendarLabels, 'views'>> & {
|
|
3047
|
+
views?: Partial<Record<calendarView, string>>;
|
|
3048
|
+
};
|
|
3049
|
+
};
|
|
2819
3050
|
checkbox?: Partial<CheckboxConfig>;
|
|
2820
3051
|
chip?: Partial<ChipConfig>;
|
|
2821
3052
|
chipControl?: Partial<ChipControlConfig>;
|
|
@@ -2835,7 +3066,8 @@ interface tlsUiConfigProvider {
|
|
|
2835
3066
|
mark?: Partial<MarkConfig>;
|
|
2836
3067
|
menu?: Partial<MenuConfig>;
|
|
2837
3068
|
multiSelect?: Partial<MultiSelectConfig>;
|
|
2838
|
-
pagination?: Partial<PaginationConfig
|
|
3069
|
+
pagination?: Partial<Omit<PaginationConfig, 'labels'>> & {
|
|
3070
|
+
labels?: Partial<PaginationLabels>;
|
|
2839
3071
|
querySync?: Partial<PaginationQuerySyncConfig>;
|
|
2840
3072
|
};
|
|
2841
3073
|
password?: Partial<PasswordConfig>;
|
|
@@ -2873,6 +3105,13 @@ declare abstract class AbstractSelect<T, V, ValueType> extends ValueFormControl<
|
|
|
2873
3105
|
protected readonly overlay: OverlayManager;
|
|
2874
3106
|
private readonly triggerElement;
|
|
2875
3107
|
private readonly panelTemplate;
|
|
3108
|
+
/**
|
|
3109
|
+
* Consumer template rendered inside each option button in place of the plain
|
|
3110
|
+
* label (`<ng-template #option let-context>`). The button itself — and with it
|
|
3111
|
+
* the option's ARIA, activation, and hover behavior — stays owned by the
|
|
3112
|
+
* control; the template only customizes the visual content.
|
|
3113
|
+
*/
|
|
3114
|
+
protected readonly optionTemplate: Signal<TemplateRef<selectTemplateContext<T, V>> | undefined>;
|
|
2876
3115
|
readonly options: InputSignal<optionInput<T>[]>;
|
|
2877
3116
|
readonly optionLabel: InputSignal<keyof T | undefined>;
|
|
2878
3117
|
readonly optionValue: InputSignal<keyof T | undefined>;
|
|
@@ -2898,6 +3137,8 @@ declare abstract class AbstractSelect<T, V, ValueType> extends ValueFormControl<
|
|
|
2898
3137
|
protected abstract readonly hostClassBase: string;
|
|
2899
3138
|
protected abstract readonly panelClass: string;
|
|
2900
3139
|
protected abstract readonly hasValue: Signal<boolean>;
|
|
3140
|
+
/** Whether `option` is part of the current selection (scalar or array, per control). */
|
|
3141
|
+
protected abstract isOptionSelected(option: Option<V>): boolean;
|
|
2901
3142
|
/** Index the active option starts on when the panel opens. */
|
|
2902
3143
|
protected abstract getInitialActiveIndex(): number;
|
|
2903
3144
|
/** Apply the active option's selection when committed via mouse or keyboard. */
|
|
@@ -2914,13 +3155,15 @@ declare abstract class AbstractSelect<T, V, ValueType> extends ValueFormControl<
|
|
|
2914
3155
|
protected open(): void;
|
|
2915
3156
|
protected close(): void;
|
|
2916
3157
|
protected toggle(): void;
|
|
2917
|
-
protected onOptionHover(index: number, disabled?: boolean): void;
|
|
3158
|
+
protected onOptionHover(event: PointerEvent, index: number, disabled?: boolean): void;
|
|
2918
3159
|
protected onKeydown(event: KeyboardEvent): void;
|
|
2919
3160
|
protected optionId(index: number): string;
|
|
3161
|
+
/** Context handed to the consumer's option template for the option at `index`. */
|
|
3162
|
+
protected optionContext(option: Option<V>, index: number): selectTemplateContext<T, V>;
|
|
2920
3163
|
protected moveActive(direction: 1 | -1): void;
|
|
2921
3164
|
private moveActiveToEdge;
|
|
2922
3165
|
static ɵfac: i0.ɵɵFactoryDeclaration<AbstractSelect<any, any, any>, never>;
|
|
2923
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<AbstractSelect<any, any, any>, never, never, { "options": { "alias": "options"; "required": false; "isSignal": true; }; "optionLabel": { "alias": "optionLabel"; "required": false; "isSignal": true; }; "optionValue": { "alias": "optionValue"; "required": false; "isSignal": true; }; "optionDisabled": { "alias": "optionDisabled"; "required": false; "isSignal": true; }; "tabindex": { "alias": "tabindex"; "required": false; "isSignal": true; }; }, {},
|
|
3166
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<AbstractSelect<any, any, any>, never, never, { "options": { "alias": "options"; "required": false; "isSignal": true; }; "optionLabel": { "alias": "optionLabel"; "required": false; "isSignal": true; }; "optionValue": { "alias": "optionValue"; "required": false; "isSignal": true; }; "optionDisabled": { "alias": "optionDisabled"; "required": false; "isSignal": true; }; "tabindex": { "alias": "tabindex"; "required": false; "isSignal": true; }; }, {}, ["optionTemplate"], never, true, never>;
|
|
2924
3167
|
}
|
|
2925
3168
|
|
|
2926
3169
|
declare abstract class QuerySyncDirective {
|
|
@@ -2932,7 +3175,7 @@ declare abstract class QuerySyncDirective {
|
|
|
2932
3175
|
static ɵdir: i0.ɵɵDirectiveDeclaration<QuerySyncDirective, never, never, {}, {}, never, never, true, never>;
|
|
2933
3176
|
}
|
|
2934
3177
|
|
|
2935
|
-
declare const provideThalassicUIConfig: (config
|
|
3178
|
+
declare const provideThalassicUIConfig: (config?: tlsUiConfigProvider) => EnvironmentProviders;
|
|
2936
3179
|
|
|
2937
3180
|
export { ALERT_CONFIG, AUTOCOMPLETE_CONFIG, 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_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_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, DIALOG_CONFIG, DIVIDER_CONFIG, DRAWER_CONFIG, DateTimePicker, Dialog, DialogService, Divider, Drawer, DrawerRef, DrawerService, FILE_INPUT_CONFIG, FORM_CONTROL_CONFIG, FORM_CONTROL_GROUP_CONFIG, FORM_ITEM_CONFIG, FileInput, FormControl, FormControlAddon, FormControlGroup, FormItem, 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, SPLITTER_CONFIG, STEPPER_CONFIG, SWITCH_CONFIG, Select, Skeleton, 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, TooltipDirective, ValueFormControl, applyMask, provideThalassicIcons, provideThalassicUIConfig };
|
|
2938
|
-
export type { AlertConfig, AutocompleteConfig, BadgeConfig, BreadcrumbItem, BreadcrumbsConfig, ButtonConfig, CalendarConfig, CalendarEvent, CalendarEventContext, CalendarRange, CheckboxConfig, ChipConfig, ChipContext, ChipControlConfig, ChipGroupConfig, ChipInputConfig, ConfirmConfig, ConfirmOptions, DateTimePickerConfig, DialogConfig, DialogOpenConfig, DividerConfig, DrawerConfig, DrawerOpenConfig, FileInputConfig, FileInputDropZoneContext, FileInputFileContext, FormControlConfig, FormControlGroupConfig, FormItemConfig, HighlightConfig, HighlightSegment, IconConfig, ImageCompareConfig, InputConfig, InputNumberConfig, KbdConfig, LoaderConfig, MarkConfig, MaskResult, MenuActionItem, MenuConfig, MenuCustomItem, MenuDivider, MenuItemDefinition, MenuLabel, MultiSelectConfig, OdometerConfig, OdometerToken, PaginationConfig, PaginationQuerySyncConfig, PasswordConfig, PinInputConfig, PopoverConfig, RadioButtonConfig, SelectConfig, SkeletonConfig, 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, chipTemplateContext, chipVariant, color, confirmActionsAlign, confirmButton, controlSize, dateTimePickerMode, dialogSize, dividerContentPosition, dividerOrientation, dividerVariant, drawerSide, drawerSize, errorTrigger, fileInputDragState, fileInputVariant, iconRegistry, iconRenderer, imageCompareOrientation, labelPosition, loaderSize, menuItemType, menuPosition, orientation, overlayPosition, paginationItem, pinInputType, resolvedConfirmButton, size, splitterOrientation, stepperColor, stepperOrientation, stepperValue, switchColor, systemIcon, tabValue, tableColumnAlignment, tabsHeaderPosition, tabsOrientation, tabsVariant, textareaResize, tlsUiConfigProvider, toastAction, toastColor, toastPosition, toastSeverity, toastStacking, toggleButtonColor, toggleButtonVariant, toggleGroupVariant, tooltipColor, tooltipOrigin, tooltipPosition };
|
|
3181
|
+
export type { AlertConfig, AutocompleteConfig, BadgeConfig, BreadcrumbItem, 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, PaginationConfig, PaginationLabels, PaginationQuerySyncConfig, PasswordConfig, PinInputConfig, PopoverConfig, RadioButtonConfig, SelectConfig, SkeletonConfig, 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, controlSize, dateTimePickerMode, dialogSize, dividerContentPosition, dividerOrientation, dividerVariant, drawerSide, drawerSize, errorTrigger, fileInputDragState, fileInputVariant, iconRegistry, iconRenderer, imageCompareOrientation, labelPosition, loaderSize, menuItemType, menuPosition, orientation, overlayPosition, paginationItem, pinInputType, resolvedConfirmButton, size, splitterOrientation, stepperColor, stepperOrientation, stepperValue, switchColor, systemIcon, tabValue, tableColumnAlignment, tabsHeaderPosition, tabsOrientation, tabsVariant, textareaResize, tlsUiConfigProvider, toastAction, toastColor, toastPosition, toastSeverity, toastStacking, toggleButtonColor, toggleButtonVariant, toggleGroupVariant, tooltipColor, tooltipOrigin, tooltipPosition };
|