@thalassic/ui 22.21.0 → 22.22.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-charts.mjs +5 -3
- package/fesm2022/thalassic-ui-charts.mjs.map +1 -1
- package/fesm2022/thalassic-ui-media.mjs +3 -3
- package/fesm2022/thalassic-ui-media.mjs.map +1 -1
- package/fesm2022/thalassic-ui-rich-text-editor.mjs +49 -23
- package/fesm2022/thalassic-ui-rich-text-editor.mjs.map +1 -1
- package/fesm2022/thalassic-ui.mjs +1561 -716
- package/fesm2022/thalassic-ui.mjs.map +1 -1
- package/package.json +1 -1
- package/types/thalassic-ui-charts.d.ts +5 -0
- package/types/thalassic-ui-rich-text-editor.d.ts +18 -0
- package/types/thalassic-ui.d.ts +893 -42
package/types/thalassic-ui.d.ts
CHANGED
|
@@ -55,6 +55,11 @@ declare abstract class FormControl<TValue = unknown> implements FormUiControl<TV
|
|
|
55
55
|
* consumer's description and the live error message.
|
|
56
56
|
*/
|
|
57
57
|
readonly errorMessageId: WritableSignal<string | null>;
|
|
58
|
+
/**
|
|
59
|
+
* `id` of the hint element, set by an enclosing `tls-form-item` while it renders a hint. Merged
|
|
60
|
+
* with `ariaDescribedby` so the guidance shown beneath the control is announced on focus.
|
|
61
|
+
*/
|
|
62
|
+
readonly hintMessageId: WritableSignal<string | null>;
|
|
58
63
|
/**
|
|
59
64
|
* `id` of the visible `<label>` element rendered by an enclosing `tls-form-item`. Merged with
|
|
60
65
|
* `ariaLabelledby` so the control's `aria-labelledby` points at the form-item label while still
|
|
@@ -68,7 +73,7 @@ declare abstract class FormControl<TValue = unknown> implements FormUiControl<TV
|
|
|
68
73
|
readonly formItemInputId: WritableSignal<string | null>;
|
|
69
74
|
/** Whether this control has a single native labelable element that a `<label for>` can target. */
|
|
70
75
|
readonly supportsLabelFor: boolean;
|
|
71
|
-
/** Combined `aria-describedby` value (consumer description + form-item error), or null when empty. */
|
|
76
|
+
/** Combined `aria-describedby` value (consumer description + form-item hint and error), or null when empty. */
|
|
72
77
|
protected readonly describedBy: Signal<string | null>;
|
|
73
78
|
/** Combined `aria-labelledby` value (consumer label id + form-item label), or null when empty. */
|
|
74
79
|
protected readonly labelledBy: Signal<string | null>;
|
|
@@ -148,9 +153,24 @@ interface Option<V = unknown> {
|
|
|
148
153
|
value: V;
|
|
149
154
|
label: string;
|
|
150
155
|
disabled: boolean;
|
|
156
|
+
/** Label of the group the option is listed under, or `null` when it belongs to none. */
|
|
157
|
+
group: string | null;
|
|
151
158
|
source: unknown;
|
|
152
159
|
}
|
|
153
160
|
|
|
161
|
+
/** One option of an {@link OptionGroup}, with its position in the flat option list. */
|
|
162
|
+
interface IndexedOption<V = unknown> {
|
|
163
|
+
option: Option<V>;
|
|
164
|
+
/** Position in the flat option list, which keyboard navigation and option ids index into. */
|
|
165
|
+
index: number;
|
|
166
|
+
}
|
|
167
|
+
/** A run of options listed under one group heading. */
|
|
168
|
+
interface OptionGroup<V = unknown> {
|
|
169
|
+
/** The heading, or `null` for the options that belong to no group, which are listed bare. */
|
|
170
|
+
label: string | null;
|
|
171
|
+
options: IndexedOption<V>[];
|
|
172
|
+
}
|
|
173
|
+
|
|
154
174
|
type optionInput<T> = string | number | T;
|
|
155
175
|
|
|
156
176
|
interface SelectionGroupOptionContext<T = unknown, V = unknown> {
|
|
@@ -217,14 +237,27 @@ interface ConnectedOverlayConfig {
|
|
|
217
237
|
flexibleDimensions?: boolean;
|
|
218
238
|
/** Forwarded to the position strategy. Defaults to the CDK default (true). */
|
|
219
239
|
push?: boolean;
|
|
240
|
+
/**
|
|
241
|
+
* Minimum gap in px kept between the pane and the viewport's edges, both where
|
|
242
|
+
* the pane is pushed back on screen and where it is shrunk to fit. Defaults to
|
|
243
|
+
* the CDK default (0), which lets a constrained pane touch the edge.
|
|
244
|
+
*/
|
|
245
|
+
viewportMargin?: number;
|
|
246
|
+
/**
|
|
247
|
+
* Cap the pane's height at the viewport's, less `viewportMargin` at either
|
|
248
|
+
* edge, so a pane too tall to fit beside the origin is pushed on screen whole
|
|
249
|
+
* instead of at full height running off it. Only for content that scrolls
|
|
250
|
+
* within the pane. Defaults to `false`.
|
|
251
|
+
*/
|
|
252
|
+
shrinkToFit?: boolean;
|
|
220
253
|
/** Scroll handling while open. Defaults to `'reposition'`. */
|
|
221
254
|
scrollStrategy?: 'reposition' | 'close';
|
|
222
255
|
/** Whether to render a backdrop. Defaults to `true`. */
|
|
223
256
|
hasBackdrop?: boolean;
|
|
224
257
|
/** Backdrop class when a backdrop is rendered. Defaults to the transparent backdrop. */
|
|
225
258
|
backdropClass?: string;
|
|
226
|
-
/** Extra class(es) applied to the overlay pane. */
|
|
227
|
-
panelClass?: string | string[];
|
|
259
|
+
/** Extra class(es) applied to the overlay pane; `undefined` adds none. */
|
|
260
|
+
panelClass?: string | string[] | undefined;
|
|
228
261
|
/** Close when the backdrop is clicked. Defaults to `true` when a backdrop is rendered. */
|
|
229
262
|
closeOnBackdropClick?: boolean;
|
|
230
263
|
/** Close on an outside pointer event. Defaults to `true` when no backdrop is rendered. */
|
|
@@ -266,10 +299,22 @@ declare class OverlayManager {
|
|
|
266
299
|
private _overlayRef;
|
|
267
300
|
private _config;
|
|
268
301
|
private readonly _isOpen;
|
|
302
|
+
/**
|
|
303
|
+
* Armed by `ignoreTrailingAuxClick` on open: swallow the first outside
|
|
304
|
+
* `auxclick` so the right-click gesture that opened a context menu doesn't
|
|
305
|
+
* immediately dismiss it. Consumed one-shot (not on a timer) because the user
|
|
306
|
+
* may hold the button arbitrarily long before releasing — the `auxclick`
|
|
307
|
+
* fires on release — so the guard must survive until that first `auxclick`
|
|
308
|
+
* actually arrives. Later outside pointers still dismiss.
|
|
309
|
+
*/
|
|
269
310
|
private _ignoreTrailingAuxClick;
|
|
270
311
|
readonly isOpen: i0.Signal<boolean>;
|
|
271
312
|
/** Backdrop element of the open overlay; `null` while closed or without one. */
|
|
272
313
|
get backdropElement(): HTMLElement | null;
|
|
314
|
+
/**
|
|
315
|
+
* Dispose the overlay with the host. Registered in a field initializer so no
|
|
316
|
+
* constructor is needed.
|
|
317
|
+
*/
|
|
273
318
|
private readonly _teardown;
|
|
274
319
|
open(config: ConnectedOverlayConfig): void;
|
|
275
320
|
close(): void;
|
|
@@ -515,8 +560,8 @@ declare class ActivityHeatmap {
|
|
|
515
560
|
protected readonly legendLess: string;
|
|
516
561
|
protected readonly legendMore: string;
|
|
517
562
|
private readonly _dateOptions;
|
|
518
|
-
/**
|
|
519
|
-
private readonly
|
|
563
|
+
/** Today, so the today marker moves across midnight and the grid rebuilds only then. */
|
|
564
|
+
private readonly _today;
|
|
520
565
|
/** Steps actually rendered; a heatmap needs an empty step plus at least one active one. */
|
|
521
566
|
protected readonly resolvedLevels: Signal<number>;
|
|
522
567
|
protected readonly gridLabel: Signal<string | undefined>;
|
|
@@ -838,6 +883,20 @@ interface BreadcrumbItem {
|
|
|
838
883
|
link?: string | unknown[];
|
|
839
884
|
/** Icon source rendered before the label (see tls-icon's iconSrc). */
|
|
840
885
|
icon?: string;
|
|
886
|
+
/**
|
|
887
|
+
* Whether the crumb gives way when a `nowrap` trail runs out of room — for a
|
|
888
|
+
* crumb whose label has no bound on its length, such as a name someone typed.
|
|
889
|
+
* With no crumb marked, the trailing one gives way; once any is marked, only
|
|
890
|
+
* the marked ones do, so a short crumb after a long one keeps its label whole.
|
|
891
|
+
*/
|
|
892
|
+
truncate?: boolean;
|
|
893
|
+
/**
|
|
894
|
+
* `view-transition-name` of the separator that follows the crumb, so a
|
|
895
|
+
* transition can carry it along with the crumb it belongs to rather than
|
|
896
|
+
* leaving it to jump to its new place. Unique per trail, like any transition
|
|
897
|
+
* name; the trailing crumb has no separator, so its name goes unused.
|
|
898
|
+
*/
|
|
899
|
+
separatorTransitionName?: string;
|
|
841
900
|
}
|
|
842
901
|
/**
|
|
843
902
|
* Context exposed to a custom item template (see Breadcrumbs.itemTemplate). The
|
|
@@ -867,7 +926,19 @@ declare class Breadcrumbs {
|
|
|
867
926
|
/** Accessible name for the breadcrumb navigation landmark. */
|
|
868
927
|
readonly ariaLabel: InputSignal<string>;
|
|
869
928
|
readonly ariaLabelledby: InputSignal<string | undefined>;
|
|
929
|
+
/**
|
|
930
|
+
* Content
|
|
931
|
+
* Optional projected template for an item's inner content (label/icon),
|
|
932
|
+
* rendered in place of the built-in label. The list structure, links,
|
|
933
|
+
* separators, and `aria-current` stay owned by the component. Bind the item
|
|
934
|
+
* with `<ng-template let-item>`; see BreadcrumbItemContext for the full context.
|
|
935
|
+
*/
|
|
870
936
|
readonly itemTemplate: i0.Signal<TemplateRef<BreadcrumbItemContext> | undefined>;
|
|
937
|
+
/**
|
|
938
|
+
* Whether each crumb gives way in a `nowrap` trail, in trail order: the marked
|
|
939
|
+
* ones, or the trailing crumb while none is marked.
|
|
940
|
+
*/
|
|
941
|
+
protected readonly truncatingItems: i0.Signal<boolean[]>;
|
|
871
942
|
protected readonly classes: i0.Signal<string[]>;
|
|
872
943
|
static ɵfac: i0.ɵɵFactoryDeclaration<Breadcrumbs, never>;
|
|
873
944
|
static ɵcmp: i0.ɵɵComponentDeclaration<Breadcrumbs, "tls-breadcrumbs", never, { "items": { "alias": "items"; "required": false; "isSignal": true; }; "separatorIcon": { "alias": "separatorIcon"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "nowrap": { "alias": "nowrap"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; "ariaLabelledby": { "alias": "ariaLabelledby"; "required": false; "isSignal": true; }; }, {}, ["itemTemplate"], never, true, never>;
|
|
@@ -887,6 +958,11 @@ type buttonColor = color;
|
|
|
887
958
|
|
|
888
959
|
declare abstract class ButtonBase {
|
|
889
960
|
protected _config: _thalassic_ui.ButtonConfig;
|
|
961
|
+
/**
|
|
962
|
+
* Whether the host element is the interactive control itself. It is for a
|
|
963
|
+
* directive applied to a native `button`; a component that renders its own
|
|
964
|
+
* control inside places the classes and the ARIA state on that instead.
|
|
965
|
+
*/
|
|
890
966
|
protected HOST_IS_CONTROL: boolean;
|
|
891
967
|
readonly disabled: InputSignalWithTransform<boolean, unknown>;
|
|
892
968
|
/**
|
|
@@ -938,7 +1014,17 @@ declare class Button extends ButtonBase {
|
|
|
938
1014
|
private _routerLink;
|
|
939
1015
|
private _router;
|
|
940
1016
|
private _locationStrategy;
|
|
1017
|
+
/**
|
|
1018
|
+
* The interactive control is the inner `button`/`a`; the host is a wrapper.
|
|
1019
|
+
*/
|
|
941
1020
|
protected HOST_IS_CONTROL: boolean;
|
|
1021
|
+
/**
|
|
1022
|
+
* Marks the button as working on the action it started — a submission in flight, say. A
|
|
1023
|
+
* spinner stands in for the label, which keeps its place so the button holds its size, the
|
|
1024
|
+
* control reports `aria-busy`, and further activation is refused; unlike `disabled` it keeps
|
|
1025
|
+
* focus and its place in the tab order, so the person who pressed it is not stranded.
|
|
1026
|
+
*/
|
|
1027
|
+
readonly busy: InputSignalWithTransform<boolean, unknown>;
|
|
942
1028
|
/** The text label displayed inside the button. Takes priority over projected content. */
|
|
943
1029
|
readonly label: InputSignal<string | undefined>;
|
|
944
1030
|
/**
|
|
@@ -980,7 +1066,7 @@ declare class Button extends ButtonBase {
|
|
|
980
1066
|
*/
|
|
981
1067
|
protected onLinkClick(event: MouseEvent): void;
|
|
982
1068
|
static ɵfac: i0.ɵɵFactoryDeclaration<Button, never>;
|
|
983
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<Button, "tls-button", never, { "label": { "alias": "label"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; "ariaLabelledby": { "alias": "ariaLabelledby"; "required": false; "isSignal": true; }; "type": { "alias": "type"; "required": false; "isSignal": true; }; "href": { "alias": "href"; "required": false; "isSignal": true; }; "tabindex": { "alias": "tabindex"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
1069
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<Button, "tls-button", never, { "busy": { "alias": "busy"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; "ariaLabelledby": { "alias": "ariaLabelledby"; "required": false; "isSignal": true; }; "type": { "alias": "type"; "required": false; "isSignal": true; }; "href": { "alias": "href"; "required": false; "isSignal": true; }; "tabindex": { "alias": "tabindex"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
984
1070
|
}
|
|
985
1071
|
|
|
986
1072
|
declare class ButtonDirective extends ButtonBase {
|
|
@@ -1127,6 +1213,12 @@ declare class Calendar {
|
|
|
1127
1213
|
* browser, so it belongs only on a grid that is not itself inside something it must scroll.
|
|
1128
1214
|
*/
|
|
1129
1215
|
readonly swipeNavigation: InputSignal<boolean>;
|
|
1216
|
+
/**
|
|
1217
|
+
* Week rows the month grid shows beyond the month's own six, above and below alike, fading
|
|
1218
|
+
* out toward the grid's edge so the month reads as a stretch of a continuous run of weeks.
|
|
1219
|
+
* They are days like any other: selectable, and covered by the range `rangeChange` reports.
|
|
1220
|
+
*/
|
|
1221
|
+
readonly peekWeeks: InputSignalWithTransform<number, number>;
|
|
1130
1222
|
/** Accessible name forwarded to the active view's grid. */
|
|
1131
1223
|
readonly ariaLabel: InputSignal<string | undefined>;
|
|
1132
1224
|
readonly eventSelect: OutputEmitterRef<CalendarEvent>;
|
|
@@ -1141,8 +1233,8 @@ declare class Calendar {
|
|
|
1141
1233
|
protected readonly eventTemplate: Signal<TemplateRef<CalendarEventContext> | undefined>;
|
|
1142
1234
|
protected readonly dayTemplate: Signal<TemplateRef<CalendarDayContext> | undefined>;
|
|
1143
1235
|
private readonly _dateOptions;
|
|
1144
|
-
/**
|
|
1145
|
-
private readonly
|
|
1236
|
+
/** Today, so the "Today" affordance stays correct across midnight. */
|
|
1237
|
+
private readonly _today;
|
|
1146
1238
|
protected readonly hostClasses: Signal<string[]>;
|
|
1147
1239
|
protected readonly viewOptions: Signal<{
|
|
1148
1240
|
label: string;
|
|
@@ -1172,7 +1264,7 @@ declare class Calendar {
|
|
|
1172
1264
|
private _weekBounds;
|
|
1173
1265
|
private _weekTitle;
|
|
1174
1266
|
static ɵfac: i0.ɵɵFactoryDeclaration<Calendar, never>;
|
|
1175
|
-
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; }; "swipeNavigation": { "alias": "swipeNavigation"; "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>;
|
|
1267
|
+
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; }; "swipeNavigation": { "alias": "swipeNavigation"; "required": false; "isSignal": true; }; "peekWeeks": { "alias": "peekWeeks"; "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>;
|
|
1176
1268
|
}
|
|
1177
1269
|
|
|
1178
1270
|
/** A day that has events, precomputed for the agenda list. */
|
|
@@ -1199,8 +1291,8 @@ declare class CalendarAgendaView {
|
|
|
1199
1291
|
readonly eventSelect: OutputEmitterRef<CalendarEvent>;
|
|
1200
1292
|
protected readonly noEventsLabel: string;
|
|
1201
1293
|
private readonly _dateOptions;
|
|
1202
|
-
/**
|
|
1203
|
-
private readonly
|
|
1294
|
+
/** Today, so the today marker moves across midnight and the list rebuilds only then. */
|
|
1295
|
+
private readonly _today;
|
|
1204
1296
|
protected readonly days: Signal<AgendaDay[]>;
|
|
1205
1297
|
static ɵfac: i0.ɵɵFactoryDeclaration<CalendarAgendaView, never>;
|
|
1206
1298
|
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>;
|
|
@@ -1228,6 +1320,14 @@ declare class CalendarEventItem {
|
|
|
1228
1320
|
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>;
|
|
1229
1321
|
}
|
|
1230
1322
|
|
|
1323
|
+
/** The run of week rows a month grid renders. */
|
|
1324
|
+
interface MonthWindow {
|
|
1325
|
+
/** First day of the window's first week. */
|
|
1326
|
+
start: Date;
|
|
1327
|
+
/** Week rows the window spans. */
|
|
1328
|
+
weekCount: number;
|
|
1329
|
+
}
|
|
1330
|
+
|
|
1231
1331
|
/** A dot marking one of a day's events in the dense layout, tinted by that event's color. */
|
|
1232
1332
|
interface MonthDayMarker {
|
|
1233
1333
|
id: string;
|
|
@@ -1272,6 +1372,11 @@ declare class CalendarMonthView {
|
|
|
1272
1372
|
readonly maxEventsPerDay: InputSignal<number>;
|
|
1273
1373
|
/** Whether day cells are held to a 1:1 ratio instead of sizing to the events they hold. */
|
|
1274
1374
|
readonly squareCells: InputSignal<boolean>;
|
|
1375
|
+
/**
|
|
1376
|
+
* Week rows rendered beyond the month's own window, above and below it alike, fading out
|
|
1377
|
+
* toward the grid's edge.
|
|
1378
|
+
*/
|
|
1379
|
+
readonly peekWeeks: InputSignal<number>;
|
|
1275
1380
|
readonly eventTemplate: InputSignal<TemplateRef<CalendarEventContext> | undefined>;
|
|
1276
1381
|
/** Replaces what a day cell renders, leaving the cell's own semantics and chrome in place. */
|
|
1277
1382
|
readonly dayTemplate: InputSignal<TemplateRef<CalendarDayContext> | undefined>;
|
|
@@ -1280,8 +1385,8 @@ declare class CalendarMonthView {
|
|
|
1280
1385
|
readonly dateSelect: OutputEmitterRef<Date>;
|
|
1281
1386
|
readonly eventSelect: OutputEmitterRef<CalendarEvent>;
|
|
1282
1387
|
private readonly _dateOptions;
|
|
1283
|
-
/**
|
|
1284
|
-
private readonly
|
|
1388
|
+
/** Today, so the today highlight moves across midnight and the grid rebuilds only then. */
|
|
1389
|
+
private readonly _today;
|
|
1285
1390
|
/** Widened week window a navigation scroll renders through; unset while the grid rests. */
|
|
1286
1391
|
private readonly _scrollPlan;
|
|
1287
1392
|
private readonly _grid;
|
|
@@ -1289,6 +1394,8 @@ declare class CalendarMonthView {
|
|
|
1289
1394
|
private _finalizeScroll;
|
|
1290
1395
|
/** Anchor the grid last rendered for, naming the window a navigation scrolls away from. */
|
|
1291
1396
|
private _renderedDate;
|
|
1397
|
+
/** The week rows the grid holds at rest: the month's window plus its peek weeks. */
|
|
1398
|
+
protected readonly gridWindow: Signal<MonthWindow>;
|
|
1292
1399
|
protected readonly weekdayHeaders: Signal<string[]>;
|
|
1293
1400
|
protected readonly weeks: Signal<MonthWeek[]>;
|
|
1294
1401
|
constructor();
|
|
@@ -1311,7 +1418,7 @@ declare class CalendarMonthView {
|
|
|
1311
1418
|
private _scrollBetween;
|
|
1312
1419
|
private _markerClasses;
|
|
1313
1420
|
static ɵfac: i0.ɵɵFactoryDeclaration<CalendarMonthView, never>;
|
|
1314
|
-
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>;
|
|
1421
|
+
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; }; "peekWeeks": { "alias": "peekWeeks"; "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>;
|
|
1315
1422
|
}
|
|
1316
1423
|
|
|
1317
1424
|
/** A timed event with its absolute placement inside a day column. */
|
|
@@ -1353,8 +1460,10 @@ declare class CalendarTimeGrid {
|
|
|
1353
1460
|
protected readonly allDayLabel: string;
|
|
1354
1461
|
private readonly _dateOptions;
|
|
1355
1462
|
private readonly _hourLabelFormat;
|
|
1356
|
-
/** Ticking current time, so the now line
|
|
1463
|
+
/** Ticking current time, so the now line tracks the clock. */
|
|
1357
1464
|
private readonly _now;
|
|
1465
|
+
/** Today, so the columns rebuild at midnight rather than with every tick of the now line. */
|
|
1466
|
+
private readonly _today;
|
|
1358
1467
|
protected readonly hours: Signal<number[]>;
|
|
1359
1468
|
protected readonly columns: Signal<TimeGridColumn[]>;
|
|
1360
1469
|
/** Vertical offset (px) of the current-time line, or null when now is off-screen. */
|
|
@@ -1377,6 +1486,11 @@ declare class CalendarTimeGrid {
|
|
|
1377
1486
|
|
|
1378
1487
|
declare const CALENDAR_CONFIG: InjectionToken<CalendarConfig>;
|
|
1379
1488
|
|
|
1489
|
+
/**
|
|
1490
|
+
* A declarative content holder: the host element itself is never rendered. `tls-carousel`
|
|
1491
|
+
* reads the captured template and renders it inside its own slide wrapper, which carries
|
|
1492
|
+
* the slide's ARIA semantics and sizing.
|
|
1493
|
+
*/
|
|
1380
1494
|
declare class CarouselSlide {
|
|
1381
1495
|
/** Accessible name for the slide; falls back to a localized "n of count" position label. */
|
|
1382
1496
|
readonly label: InputSignal<string | undefined>;
|
|
@@ -1439,6 +1553,9 @@ declare class Carousel {
|
|
|
1439
1553
|
private readonly _elementRef;
|
|
1440
1554
|
private readonly _injector;
|
|
1441
1555
|
private readonly _destroyRef;
|
|
1556
|
+
/**
|
|
1557
|
+
* Optional: apps without `provideMotion()` get no motion gating and rotation stays allowed.
|
|
1558
|
+
*/
|
|
1442
1559
|
private readonly _motion;
|
|
1443
1560
|
private readonly _isBrowser;
|
|
1444
1561
|
readonly loop: InputSignalWithTransform<boolean, unknown>;
|
|
@@ -1452,19 +1569,38 @@ declare class Carousel {
|
|
|
1452
1569
|
readonly ariaLabelledby: InputSignal<string | undefined>;
|
|
1453
1570
|
protected readonly slides: Signal<readonly CarouselSlide[]>;
|
|
1454
1571
|
protected readonly labels: CarouselLabels;
|
|
1572
|
+
/**
|
|
1573
|
+
* Gesture shape, bound explicitly on the viewport: `PAN_CONFIG` resolves
|
|
1574
|
+
* through the element injector, so an ancestor gesture that provides it for
|
|
1575
|
+
* itself would otherwise reconfigure this one.
|
|
1576
|
+
*/
|
|
1455
1577
|
protected readonly dragSlop: number;
|
|
1456
1578
|
protected readonly dragLockRatio: number;
|
|
1457
1579
|
/** User intent for auto-rotation, toggled by the rotation control. */
|
|
1458
1580
|
protected readonly playing: WritableSignal<boolean>;
|
|
1459
1581
|
private readonly _viewport;
|
|
1582
|
+
private readonly _track;
|
|
1460
1583
|
private readonly _dragging;
|
|
1461
1584
|
private readonly _hovered;
|
|
1585
|
+
/**
|
|
1586
|
+
* A hidden page paints nothing, so rotation there only burns the slides the
|
|
1587
|
+
* user came back to see.
|
|
1588
|
+
*/
|
|
1462
1589
|
private readonly _pageVisible;
|
|
1463
1590
|
/** Suppresses the slide transition for a change that would otherwise travel the whole track. */
|
|
1464
1591
|
private readonly _instant;
|
|
1592
|
+
/**
|
|
1593
|
+
* Travel already spent crossing the slop when the gesture locked. Deltas are
|
|
1594
|
+
* rebased against it so the track follows the finger from where it locked
|
|
1595
|
+
* instead of jumping by the slop on the first move.
|
|
1596
|
+
*/
|
|
1465
1597
|
private _lockDelta;
|
|
1466
1598
|
private _dragEndedAt;
|
|
1599
|
+
/** Whether focus currently entering the carousel was driven by a pointer. */
|
|
1467
1600
|
private _pointerFocus;
|
|
1601
|
+
/**
|
|
1602
|
+
* Pre-bound so attaching and detaching always reference the same function.
|
|
1603
|
+
*/
|
|
1468
1604
|
private readonly _endPointerFocus;
|
|
1469
1605
|
protected readonly count: Signal<number>;
|
|
1470
1606
|
protected readonly canPrevious: Signal<boolean>;
|
|
@@ -1476,6 +1612,11 @@ declare class Carousel {
|
|
|
1476
1612
|
*/
|
|
1477
1613
|
protected readonly liveMode: Signal<"off" | "polite">;
|
|
1478
1614
|
protected readonly hostClasses: Signal<string[]>;
|
|
1615
|
+
/**
|
|
1616
|
+
* Auto-advancing content is motion the user has not asked for, so rotation
|
|
1617
|
+
* requires the expressive (`full`) motion level, pauses while hovered or
|
|
1618
|
+
* while the page is hidden, and stays off after the user stops it.
|
|
1619
|
+
*/
|
|
1479
1620
|
private readonly _rotating;
|
|
1480
1621
|
constructor();
|
|
1481
1622
|
protected previous(): void;
|
|
@@ -1586,6 +1727,7 @@ declare class RippleDirective {
|
|
|
1586
1727
|
private readonly _elementRef;
|
|
1587
1728
|
private readonly _document;
|
|
1588
1729
|
private readonly _config;
|
|
1730
|
+
private readonly _renderer;
|
|
1589
1731
|
/**
|
|
1590
1732
|
* Turns the ink off.
|
|
1591
1733
|
*
|
|
@@ -1602,9 +1744,18 @@ declare class RippleDirective {
|
|
|
1602
1744
|
private readonly _pointerTypes;
|
|
1603
1745
|
/** Where the press landed, to measure a scroll against. */
|
|
1604
1746
|
private _origin;
|
|
1747
|
+
/**
|
|
1748
|
+
* Teardown of the move listener, bound only while an ink is live. A host
|
|
1749
|
+
* listener would schedule change detection for every hover movement across
|
|
1750
|
+
* every host, although only a press ever needs the moves.
|
|
1751
|
+
*/
|
|
1752
|
+
private _stopTrackingMoves;
|
|
1753
|
+
constructor();
|
|
1605
1754
|
protected onPointerDown(event: PointerEvent): void;
|
|
1606
|
-
protected onPointerMove(event: PointerEvent): void;
|
|
1607
1755
|
protected onPointerRelease(): void;
|
|
1756
|
+
private _onPointerMove;
|
|
1757
|
+
private _trackMoves;
|
|
1758
|
+
private _stopTracking;
|
|
1608
1759
|
/**
|
|
1609
1760
|
* Whether a press from this kind of pointer inks. `pointerType` is read off the
|
|
1610
1761
|
* event rather than from a media query so a device carrying both a touchscreen
|
|
@@ -1676,6 +1827,10 @@ interface ChipConfig {
|
|
|
1676
1827
|
variant: chipVariant;
|
|
1677
1828
|
size: chipSize;
|
|
1678
1829
|
}
|
|
1830
|
+
/**
|
|
1831
|
+
* Tonal at rest: a bare chip is a soft wash of its hue rather than a solid
|
|
1832
|
+
* pill, so it annotates without shouting — filled is the opt-in emphasis.
|
|
1833
|
+
*/
|
|
1679
1834
|
declare const DEFAULT_CHIP_CONFIG: ChipConfig;
|
|
1680
1835
|
|
|
1681
1836
|
declare const CHIP_CONFIG: InjectionToken<ChipConfig>;
|
|
@@ -1766,7 +1921,15 @@ declare class Confirm {
|
|
|
1766
1921
|
readonly confirmed: i0.OutputEmitterRef<void>;
|
|
1767
1922
|
readonly cancelled: i0.OutputEmitterRef<void>;
|
|
1768
1923
|
readonly isOpen: i0.Signal<boolean>;
|
|
1924
|
+
/**
|
|
1925
|
+
* Tracks whether the current session ended through an explicit action, so a
|
|
1926
|
+
* backdrop / Escape dismissal is reported as a cancellation exactly once.
|
|
1927
|
+
*/
|
|
1769
1928
|
private _resolved;
|
|
1929
|
+
/**
|
|
1930
|
+
* Element focused before opening, restored on close so keyboard focus returns
|
|
1931
|
+
* to the trigger rather than being lost when the panel is removed.
|
|
1932
|
+
*/
|
|
1770
1933
|
private _previouslyFocused;
|
|
1771
1934
|
private readonly _positions;
|
|
1772
1935
|
open(trigger: MouseEvent | HTMLElement): void;
|
|
@@ -1832,6 +1995,19 @@ interface ConfirmOptions {
|
|
|
1832
1995
|
position?: overlayPosition;
|
|
1833
1996
|
offset?: Point;
|
|
1834
1997
|
ariaLabel?: string;
|
|
1998
|
+
/**
|
|
1999
|
+
* Extra class(es) placed on the overlay pane, so one confirmation can carry
|
|
2000
|
+
* its own treatment where the shared one does not fit. The pane carries them
|
|
2001
|
+
* whether it opens anchored or as the modal.
|
|
2002
|
+
*
|
|
2003
|
+
* The pane sits outside every component's template and carries no style
|
|
2004
|
+
* encapsulation attribute, so a consumer's scoped rules cannot otherwise reach
|
|
2005
|
+
* it. A class named here is the handle they get. The panel declares its own
|
|
2006
|
+
* `--tls-confirm-*` properties, which beat anything inherited from the pane, so
|
|
2007
|
+
* a rule that retunes one has to name the panel too: `.<class> .tls-confirm`.
|
|
2008
|
+
* The backdrop is the pane's sibling rather than its child, so it is not reached.
|
|
2009
|
+
*/
|
|
2010
|
+
panelClass?: string | string[];
|
|
1835
2011
|
}
|
|
1836
2012
|
/**
|
|
1837
2013
|
* Imperative confirm dialog for `await`-style flows: opens a dialog and resolves
|
|
@@ -1846,6 +2022,10 @@ declare class ConfirmService {
|
|
|
1846
2022
|
private readonly _focusTrapFactory;
|
|
1847
2023
|
private readonly _router;
|
|
1848
2024
|
private readonly _config;
|
|
2025
|
+
/**
|
|
2026
|
+
* Optional: only apps that call `provideViewport()` register it, and without
|
|
2027
|
+
* it the `modalBelow` behaviour simply stays off.
|
|
2028
|
+
*/
|
|
1849
2029
|
private readonly _viewportService;
|
|
1850
2030
|
confirm(options: ConfirmOptions): Promise<boolean>;
|
|
1851
2031
|
/** Whether the viewport sits at or below the configured modal breakpoint. */
|
|
@@ -1854,6 +2034,10 @@ declare class ConfirmService {
|
|
|
1854
2034
|
private _createModalOverlay;
|
|
1855
2035
|
private _applyOptions;
|
|
1856
2036
|
private _wire;
|
|
2037
|
+
/**
|
|
2038
|
+
* Detaches the overlay so Angular's `animate.leave` plays the exit animation,
|
|
2039
|
+
* then disposes the pane once that animation finishes.
|
|
2040
|
+
*/
|
|
1857
2041
|
private _dismiss;
|
|
1858
2042
|
static ɵfac: i0.ɵɵFactoryDeclaration<ConfirmService, never>;
|
|
1859
2043
|
static ɵprov: i0.ɵɵInjectableDeclaration<ConfirmService>;
|
|
@@ -1905,6 +2089,11 @@ declare class Dialog extends CdkDialogContainer {
|
|
|
1905
2089
|
private _closing;
|
|
1906
2090
|
protected readonly hostClasses: i0.Signal<string[]>;
|
|
1907
2091
|
protected get config(): DialogConfig;
|
|
2092
|
+
/**
|
|
2093
|
+
* Plays the exit animation, then disposes the overlay once it finishes. Routed
|
|
2094
|
+
* through here for every dismissal path (close button, backdrop, Escape)
|
|
2095
|
+
* because the CDK ref's `close()` disposes synchronously, which would skip the exit.
|
|
2096
|
+
*/
|
|
1908
2097
|
animatedClose(result?: unknown): void;
|
|
1909
2098
|
protected close(): void;
|
|
1910
2099
|
static ɵfac: i0.ɵɵFactoryDeclaration<Dialog, never>;
|
|
@@ -1977,6 +2166,18 @@ interface DialogOpenConfig<D = unknown> {
|
|
|
1977
2166
|
closeLabel?: string;
|
|
1978
2167
|
/** Alignment for this dialog's `tls-dialog-footer` when it sets none itself. */
|
|
1979
2168
|
footerAlign?: dialogFooterAlign;
|
|
2169
|
+
/**
|
|
2170
|
+
* Extra class(es) placed on the overlay pane, so one dialog can carry its own
|
|
2171
|
+
* treatment where the shared one does not fit.
|
|
2172
|
+
*
|
|
2173
|
+
* The pane sits outside every component's template and carries no style
|
|
2174
|
+
* encapsulation attribute, so a consumer's scoped rules cannot otherwise reach
|
|
2175
|
+
* it. A class named here is the handle they get. The dialog declares its own
|
|
2176
|
+
* `--tls-dialog-*` properties, which beat anything inherited from the pane, so
|
|
2177
|
+
* a rule that retunes one has to name the dialog too: `.<class> .tls-dialog`.
|
|
2178
|
+
* The backdrop is the pane's sibling rather than its child, so it is not reached.
|
|
2179
|
+
*/
|
|
2180
|
+
panelClass?: string | string[];
|
|
1980
2181
|
role?: DialogRole;
|
|
1981
2182
|
ariaLabel?: string | null;
|
|
1982
2183
|
ariaLabelledBy?: string | null;
|
|
@@ -1985,6 +2186,10 @@ interface DialogOpenConfig<D = unknown> {
|
|
|
1985
2186
|
declare class DialogService {
|
|
1986
2187
|
private readonly _dialog;
|
|
1987
2188
|
private readonly _config;
|
|
2189
|
+
/**
|
|
2190
|
+
* Currently-open dialogs, tracked so `closeAll` can play each exit animation and
|
|
2191
|
+
* so it closes dialogs only (the CDK `Dialog` is shared with `tls-drawer`).
|
|
2192
|
+
*/
|
|
1988
2193
|
private readonly _openDialogs;
|
|
1989
2194
|
open<R = unknown, D = unknown, C = unknown>(component: ComponentType<C>, config?: DialogOpenConfig<D>): DialogRef<R, C>;
|
|
1990
2195
|
closeAll(): void;
|
|
@@ -2096,25 +2301,68 @@ declare class Drawer extends CdkDialogContainer {
|
|
|
2096
2301
|
private readonly _tlsConfig;
|
|
2097
2302
|
private readonly _dialogRef;
|
|
2098
2303
|
private readonly _directionality;
|
|
2304
|
+
/**
|
|
2305
|
+
* Named apart from the base container's own renderer and injector, which are
|
|
2306
|
+
* private to it. Both exist solely to serve the drag gesture.
|
|
2307
|
+
*/
|
|
2099
2308
|
private readonly _dragRenderer;
|
|
2100
2309
|
private readonly _dragInjector;
|
|
2101
2310
|
private readonly _opening;
|
|
2102
2311
|
private readonly _origin;
|
|
2312
|
+
/**
|
|
2313
|
+
* `open` marks an entrance that is over and must not replay: one the component
|
|
2314
|
+
* finished itself (opened by a drag), or one a dismissal drag cut short. The
|
|
2315
|
+
* stylesheet's slide-in keys off `enter` only.
|
|
2316
|
+
*/
|
|
2103
2317
|
private readonly _state;
|
|
2318
|
+
/**
|
|
2319
|
+
* Whether the panel slides out of its origin rather than from off-screen.
|
|
2320
|
+
* Taken for granted while an origin is given, and dropped the moment it
|
|
2321
|
+
* cannot be measured, which hands the entrance or exit back to the plain slide.
|
|
2322
|
+
*/
|
|
2104
2323
|
private readonly _slidesFromOrigin;
|
|
2324
|
+
/**
|
|
2325
|
+
* Whether the panel is still opening under a drag fed from outside; drives
|
|
2326
|
+
* the scripted class. `_openPhase` is where that opening stands.
|
|
2327
|
+
*/
|
|
2105
2328
|
private readonly _opensByDrag;
|
|
2106
2329
|
private _openPhase;
|
|
2107
2330
|
private _openGesture;
|
|
2331
|
+
/**
|
|
2332
|
+
* A drag can move, or even end, before the panel is laid out to measure;
|
|
2333
|
+
* what arrived by then is applied once the gesture exists.
|
|
2334
|
+
*/
|
|
2108
2335
|
private _pendingOpenTravel;
|
|
2109
2336
|
private _pendingOpenRelease;
|
|
2337
|
+
/**
|
|
2338
|
+
* A close asked for while a drag's settle open is still running, carried
|
|
2339
|
+
* out once the panel has arrived.
|
|
2340
|
+
*/
|
|
2110
2341
|
private _queuedClose;
|
|
2342
|
+
/**
|
|
2343
|
+
* The running slide out of the origin, reversed if the drawer closes before
|
|
2344
|
+
* it ends: measured mid-flight, the panel would read short of where it rests.
|
|
2345
|
+
*/
|
|
2111
2346
|
private _entrance;
|
|
2112
2347
|
private _closing;
|
|
2348
|
+
/**
|
|
2349
|
+
* The dismissal drag: the finger's hold on the panel, its travel toward the
|
|
2350
|
+
* pinned edge and the settle after release. The scrim thins as the panel leaves.
|
|
2351
|
+
*/
|
|
2113
2352
|
private readonly _motion;
|
|
2114
2353
|
protected readonly hostClasses: i0.Signal<string[]>;
|
|
2115
2354
|
constructor();
|
|
2116
2355
|
protected get config(): DrawerPanelConfig;
|
|
2356
|
+
/**
|
|
2357
|
+
* The custom CSS length applied inline when `size` is not a named token, else
|
|
2358
|
+
* `null` so the attribute is omitted and the size modifier class takes over.
|
|
2359
|
+
*/
|
|
2117
2360
|
protected get customSize(): string | null;
|
|
2361
|
+
/**
|
|
2362
|
+
* Plays the slide-out animation, then disposes the overlay once it finishes.
|
|
2363
|
+
* Routed through here for every dismissal path (close button, backdrop, Escape)
|
|
2364
|
+
* because `DialogRef.close()` disposes synchronously, which would skip the exit.
|
|
2365
|
+
*/
|
|
2118
2366
|
animatedClose(result?: unknown): void;
|
|
2119
2367
|
/** See `DrawerRef.followOpenDrag`. */
|
|
2120
2368
|
followOpenDrag(event: PanEvent): void;
|
|
@@ -2122,22 +2370,76 @@ declare class Drawer extends CdkDialogContainer {
|
|
|
2122
2370
|
releaseOpenDrag(event: PanEvent | null): void;
|
|
2123
2371
|
protected close(): void;
|
|
2124
2372
|
private _slideFromOrigin;
|
|
2373
|
+
/**
|
|
2374
|
+
* Plays a slide out of the origin that is still running back to where it
|
|
2375
|
+
* began, from wherever it has got to, then closes. Held at the end, so the
|
|
2376
|
+
* panel does not flash back to rest before the overlay is disposed.
|
|
2377
|
+
*/
|
|
2125
2378
|
private _reverseEntrance;
|
|
2379
|
+
/**
|
|
2380
|
+
* Ends a drag's opening, one way or the other. Settling closed is a close:
|
|
2381
|
+
* nothing else may start one meanwhile. Settling open hands the panel back
|
|
2382
|
+
* to the ordinary open state, then runs a close that arrived on the way.
|
|
2383
|
+
*/
|
|
2126
2384
|
private _settleOpenGesture;
|
|
2385
|
+
/**
|
|
2386
|
+
* Starts the scrubbed entrance a drag drives: from over the origin where the
|
|
2387
|
+
* panel covers it, else from off-screen. Direct manipulation, so it runs at
|
|
2388
|
+
* every motion level; only the settle after release is motion.
|
|
2389
|
+
*/
|
|
2127
2390
|
private _beginOpenGesture;
|
|
2391
|
+
/**
|
|
2392
|
+
* Either a flick decides, whichever way it points; failing one, how far the
|
|
2393
|
+
* drag got does — the same rule the drag to dismiss commits by.
|
|
2394
|
+
*/
|
|
2128
2395
|
private _opensOnRelease;
|
|
2396
|
+
/**
|
|
2397
|
+
* The settle after a drag is released eases like the slide in, and jumps
|
|
2398
|
+
* where the motion level allows no motion.
|
|
2399
|
+
*/
|
|
2129
2400
|
private _settleTiming;
|
|
2130
2401
|
private _isMotionAllowed;
|
|
2402
|
+
/**
|
|
2403
|
+
* Where the slide from the origin starts and ends, or null where it cannot
|
|
2404
|
+
* play: no origin, one the panel does not cover, or a motion level with no
|
|
2405
|
+
* entrance at all — where the plain slide stands down too, so falling back
|
|
2406
|
+
* to it animates nothing either.
|
|
2407
|
+
*/
|
|
2131
2408
|
private _measureOriginOffset;
|
|
2132
2409
|
private _onPanStart;
|
|
2410
|
+
/**
|
|
2411
|
+
* Fired outside the Angular zone (see `PanDirective.panMove`), so it writes to
|
|
2412
|
+
* the DOM directly and never touches a signal.
|
|
2413
|
+
* Move, end and cancel only follow a drag this panel started: one declined at
|
|
2414
|
+
* its start (closing, or still opening under the trigger's drag) is not its own.
|
|
2415
|
+
*/
|
|
2133
2416
|
private _onPanMove;
|
|
2134
2417
|
private _onPanEnd;
|
|
2135
2418
|
private _onPanCancel;
|
|
2419
|
+
/**
|
|
2420
|
+
* Travel toward the panel's pinned edge in px. Negative while the finger moves
|
|
2421
|
+
* the other way, which the caller clamps away — the panel does not overshoot open.
|
|
2422
|
+
*/
|
|
2136
2423
|
private _dismissTravel;
|
|
2424
|
+
/**
|
|
2425
|
+
* Release velocity toward the pinned edge in px/ms. Signed independently of
|
|
2426
|
+
* `_dismissTravel`: a drag that reverses into a flick must read as the flick.
|
|
2427
|
+
*/
|
|
2137
2428
|
private _dismissVelocity;
|
|
2429
|
+
/**
|
|
2430
|
+
* Horizontal quantities arrive physical; the inline sides are logical, so the
|
|
2431
|
+
* sign flips in RTL.
|
|
2432
|
+
*/
|
|
2138
2433
|
private _toLogical;
|
|
2139
2434
|
private _isInlineSide;
|
|
2435
|
+
/** Returns the panel to rest after a drag that did not commit. */
|
|
2140
2436
|
private _settleBack;
|
|
2437
|
+
/**
|
|
2438
|
+
* Continues the drag out to the pinned edge and disposes on arrival. A dismissal
|
|
2439
|
+
* that began as a drag cannot route through `animatedClose`: the slide-out
|
|
2440
|
+
* keyframe starts from `transform: none`, so the panel would snap back to fully
|
|
2441
|
+
* open for a frame before leaving.
|
|
2442
|
+
*/
|
|
2141
2443
|
private _dragClose;
|
|
2142
2444
|
private _sizeClass;
|
|
2143
2445
|
private _isNamedSize;
|
|
@@ -2230,6 +2532,18 @@ interface DrawerOpenConfig<D = unknown> {
|
|
|
2230
2532
|
openByDrag?: boolean;
|
|
2231
2533
|
/** Accessible name for the close button. */
|
|
2232
2534
|
closeLabel?: string;
|
|
2535
|
+
/**
|
|
2536
|
+
* Extra class(es) placed on the overlay pane, so one drawer can carry its own
|
|
2537
|
+
* treatment where the shared one does not fit.
|
|
2538
|
+
*
|
|
2539
|
+
* The pane sits outside every component's template and carries no style
|
|
2540
|
+
* encapsulation attribute, so a consumer's scoped rules cannot otherwise reach
|
|
2541
|
+
* it. A class named here is the handle they get. The drawer declares its own
|
|
2542
|
+
* `--tls-drawer-*` properties, which beat anything inherited from the pane, so
|
|
2543
|
+
* a rule that retunes one has to name the drawer too: `.<class> .tls-drawer`.
|
|
2544
|
+
* The backdrop is the pane's sibling rather than its child, so it is not reached.
|
|
2545
|
+
*/
|
|
2546
|
+
panelClass?: string | string[];
|
|
2233
2547
|
role?: DialogRole;
|
|
2234
2548
|
ariaLabel?: string | null;
|
|
2235
2549
|
ariaLabelledBy?: string | null;
|
|
@@ -2240,10 +2554,23 @@ declare class DrawerService {
|
|
|
2240
2554
|
private readonly _overlay;
|
|
2241
2555
|
private readonly _directionality;
|
|
2242
2556
|
private readonly _config;
|
|
2557
|
+
/**
|
|
2558
|
+
* Currently-open drawers, tracked so `closeAll` can play each slide-out and so it
|
|
2559
|
+
* closes drawers only (the CDK `Dialog` is shared with `tls-dialog`).
|
|
2560
|
+
*/
|
|
2243
2561
|
private readonly _openDrawers;
|
|
2244
2562
|
open<R = unknown, D = unknown, C = unknown>(component: ComponentType<C>, config?: DrawerOpenConfig<D>): DrawerRef<R, C>;
|
|
2245
2563
|
closeAll(): void;
|
|
2564
|
+
/**
|
|
2565
|
+
* The drag gesture lives on the drawer container, whose inputs cannot be bound
|
|
2566
|
+
* because the CDK instantiates it rather than a template, so its configuration
|
|
2567
|
+
* is handed down through the injector instead.
|
|
2568
|
+
*/
|
|
2246
2569
|
private _buildPanConfig;
|
|
2570
|
+
/**
|
|
2571
|
+
* A bottom sheet is dragged down to dismiss often enough that its grabber is
|
|
2572
|
+
* expected; a panel on any other side shows one only when asked.
|
|
2573
|
+
*/
|
|
2247
2574
|
private _resolveGrabber;
|
|
2248
2575
|
private _buildPositionStrategy;
|
|
2249
2576
|
private _wireDismissal;
|
|
@@ -2279,9 +2606,17 @@ declare class DrawerTriggerDirective {
|
|
|
2279
2606
|
/** Asks for the drawer, by a press or a drag; answer it by calling `open`. */
|
|
2280
2607
|
readonly openRequest: i0.OutputEmitterRef<void>;
|
|
2281
2608
|
private readonly _openRef;
|
|
2609
|
+
/**
|
|
2610
|
+
* Raised only while `openRequest` is emitted for a drag, so the `open` that
|
|
2611
|
+
* answers it knows to open under the drag.
|
|
2612
|
+
*/
|
|
2282
2613
|
private _requestedByDrag;
|
|
2614
|
+
/** The drawer following the drag in progress, if one opened for it. */
|
|
2283
2615
|
private _draggedRef;
|
|
2284
2616
|
readonly isOpen: i0.Signal<boolean>;
|
|
2617
|
+
/**
|
|
2618
|
+
* The drawer it opened, while that is open; nothing to point at otherwise.
|
|
2619
|
+
*/
|
|
2285
2620
|
protected readonly controlsId: i0.Signal<string | null>;
|
|
2286
2621
|
constructor();
|
|
2287
2622
|
/**
|
|
@@ -2330,6 +2665,9 @@ interface FabMenuItemDefinition {
|
|
|
2330
2665
|
declare class FabMenu {
|
|
2331
2666
|
private static _counter;
|
|
2332
2667
|
private readonly _elementRef;
|
|
2668
|
+
/**
|
|
2669
|
+
* The stack exists only while open, so the ref doubles as "is it rendered".
|
|
2670
|
+
*/
|
|
2333
2671
|
private readonly _itemsList;
|
|
2334
2672
|
private readonly _trigger;
|
|
2335
2673
|
/**
|
|
@@ -2343,6 +2681,12 @@ declare class FabMenu {
|
|
|
2343
2681
|
/** Accessible name shared by the trigger and the menu it opens. */
|
|
2344
2682
|
readonly ariaLabel: InputSignal<string | undefined>;
|
|
2345
2683
|
readonly color: InputSignal<color>;
|
|
2684
|
+
/**
|
|
2685
|
+
* Treatment of the trigger. A floating action stands for the screen's main
|
|
2686
|
+
* action, so it is filled unless asked otherwise, whatever the app-wide
|
|
2687
|
+
* button default is.
|
|
2688
|
+
*/
|
|
2689
|
+
readonly variant: InputSignal<buttonVariant>;
|
|
2346
2690
|
private readonly _open;
|
|
2347
2691
|
readonly isOpen: i0.Signal<boolean>;
|
|
2348
2692
|
constructor();
|
|
@@ -2351,9 +2695,13 @@ declare class FabMenu {
|
|
|
2351
2695
|
close(refocusTrigger?: boolean): void;
|
|
2352
2696
|
toggle(): void;
|
|
2353
2697
|
protected onItemSelected(item: FabMenuItemDefinition): void;
|
|
2698
|
+
/**
|
|
2699
|
+
* A tap outside the component dismisses the stack; one inside it is the
|
|
2700
|
+
* trigger's own toggle or an item selection, each already handled.
|
|
2701
|
+
*/
|
|
2354
2702
|
protected onDocumentClick(event: MouseEvent): void;
|
|
2355
2703
|
static ɵfac: i0.ɵɵFactoryDeclaration<FabMenu, never>;
|
|
2356
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FabMenu, "tls-fab-menu", never, { "items": { "alias": "items"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; "color": { "alias": "color"; "required": false; "isSignal": true; }; }, {}, ["iconTemplate"], ["*"], true, never>;
|
|
2704
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FabMenu, "tls-fab-menu", never, { "items": { "alias": "items"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; "color": { "alias": "color"; "required": false; "isSignal": true; }; "variant": { "alias": "variant"; "required": false; "isSignal": true; }; }, {}, ["iconTemplate"], ["*"], true, never>;
|
|
2357
2705
|
}
|
|
2358
2706
|
|
|
2359
2707
|
declare class FormControlAddon {
|
|
@@ -2493,6 +2841,8 @@ declare class FormItem {
|
|
|
2493
2841
|
protected readonly labelId: string;
|
|
2494
2842
|
/** Stable id assigned to the native control element, linked from the label via `for`. */
|
|
2495
2843
|
protected readonly controlId: string;
|
|
2844
|
+
/** Stable id for the hint element, linked to the control via `aria-describedby`. */
|
|
2845
|
+
protected readonly hintId: string;
|
|
2496
2846
|
/** Stable id for the error element, linked to the control via `aria-describedby`. */
|
|
2497
2847
|
protected readonly errorId: string;
|
|
2498
2848
|
label: i0.InputSignal<string | undefined>;
|
|
@@ -2516,7 +2866,16 @@ declare class FormItem {
|
|
|
2516
2866
|
* footer's trailing edge, tracking the projected control's string value as it is typed.
|
|
2517
2867
|
*/
|
|
2518
2868
|
maxLength: i0.InputSignal<number | undefined>;
|
|
2869
|
+
/**
|
|
2870
|
+
* Guidance rendered in the footer beneath the control — the format or rules a value must meet.
|
|
2871
|
+
* A displayed validation error takes its place, so the footer holds one message at a time.
|
|
2872
|
+
*/
|
|
2873
|
+
hint: i0.InputSignal<string | undefined>;
|
|
2519
2874
|
protected isInvalid: Signal<boolean>;
|
|
2875
|
+
/** Whether the footer renders the control's validation error. */
|
|
2876
|
+
protected showError: Signal<boolean>;
|
|
2877
|
+
/** Whether the footer renders the hint, which yields to a displayed error. */
|
|
2878
|
+
protected showHint: Signal<boolean>;
|
|
2520
2879
|
protected showRequired: Signal<boolean>;
|
|
2521
2880
|
protected showOptional: Signal<boolean>;
|
|
2522
2881
|
/** Whether a label is rendered, from either the `label` input or a custom label template. */
|
|
@@ -2536,7 +2895,7 @@ declare class FormItem {
|
|
|
2536
2895
|
constructor();
|
|
2537
2896
|
private _getErrorMessages;
|
|
2538
2897
|
static ɵfac: i0.ɵɵFactoryDeclaration<FormItem, never>;
|
|
2539
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FormItem, "tls-form-item", never, { "label": { "alias": "label"; "required": false; "isSignal": true; }; "labelPosition": { "alias": "labelPosition"; "required": false; "isSignal": true; }; "spread": { "alias": "spread"; "required": false; "isSignal": true; }; "reserveErrorSpace": { "alias": "reserveErrorSpace"; "required": false; "isSignal": true; }; "reserveLabelSpace": { "alias": "reserveLabelSpace"; "required": false; "isSignal": true; }; "displayErrors": { "alias": "displayErrors"; "required": false; "isSignal": true; }; "showRequiredMarker": { "alias": "showRequiredMarker"; "required": false; "isSignal": true; }; "optionalText": { "alias": "optionalText"; "required": false; "isSignal": true; }; "maxLength": { "alias": "maxLength"; "required": false; "isSignal": true; }; }, {}, ["control", "labelTemplate"], ["*"], true, never>;
|
|
2898
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FormItem, "tls-form-item", never, { "label": { "alias": "label"; "required": false; "isSignal": true; }; "labelPosition": { "alias": "labelPosition"; "required": false; "isSignal": true; }; "spread": { "alias": "spread"; "required": false; "isSignal": true; }; "reserveErrorSpace": { "alias": "reserveErrorSpace"; "required": false; "isSignal": true; }; "reserveLabelSpace": { "alias": "reserveLabelSpace"; "required": false; "isSignal": true; }; "displayErrors": { "alias": "displayErrors"; "required": false; "isSignal": true; }; "showRequiredMarker": { "alias": "showRequiredMarker"; "required": false; "isSignal": true; }; "optionalText": { "alias": "optionalText"; "required": false; "isSignal": true; }; "maxLength": { "alias": "maxLength"; "required": false; "isSignal": true; }; "hint": { "alias": "hint"; "required": false; "isSignal": true; }; }, {}, ["control", "labelTemplate"], ["*"], true, never>;
|
|
2540
2899
|
}
|
|
2541
2900
|
|
|
2542
2901
|
declare const FORM_ITEM_CONFIG: InjectionToken<FormItemConfig>;
|
|
@@ -2835,11 +3194,20 @@ declare class ColorPicker extends ValueFormControl<string> {
|
|
|
2835
3194
|
/** The toggled format while it stays allowed; otherwise the first allowed one. */
|
|
2836
3195
|
protected readonly activeFormat: Signal<colorFormat>;
|
|
2837
3196
|
protected readonly readoutText: Signal<string>;
|
|
3197
|
+
/**
|
|
3198
|
+
* Readonly keeps the thumb focusable — the keydown handler blocks edits —
|
|
3199
|
+
* so its value stays reachable and announcable; only disabled removes it
|
|
3200
|
+
* from the tab order.
|
|
3201
|
+
*/
|
|
2838
3202
|
protected readonly tabindex: Signal<number>;
|
|
2839
3203
|
constructor();
|
|
2840
3204
|
protected onSvPointerDown(event: PointerEvent): void;
|
|
2841
3205
|
protected onSvPointerMove(event: PointerEvent): void;
|
|
2842
3206
|
protected onSvPointerUp(event: PointerEvent): void;
|
|
3207
|
+
/**
|
|
3208
|
+
* Pointer capture is already released once the browser cancels the pointer, so
|
|
3209
|
+
* this only resets drag state (calling `releasePointerCapture` here can throw).
|
|
3210
|
+
*/
|
|
2843
3211
|
protected onSvPointerCancel(): void;
|
|
2844
3212
|
protected onSvKeydown(event: KeyboardEvent): void;
|
|
2845
3213
|
protected onHueChange(hue: number): void;
|
|
@@ -3014,6 +3382,13 @@ declare class ColorSwatchPicker<T = unknown, V = string> extends ValueFormContro
|
|
|
3014
3382
|
protected onSelectionChange(values: V[]): void;
|
|
3015
3383
|
/** The color the option's swatch paints. */
|
|
3016
3384
|
protected color(option: Option<V>): string;
|
|
3385
|
+
/**
|
|
3386
|
+
* An option is the current value when it is that value, or when both are
|
|
3387
|
+
* colors that only differ in notation — a picker offering `#FFF` still shows
|
|
3388
|
+
* the choice when the value it was handed back reads `#ffffff`. Anything the
|
|
3389
|
+
* color parser cannot read (a theme token, an id, an enum member) is compared
|
|
3390
|
+
* as given, which is the only meaningful test for it.
|
|
3391
|
+
*/
|
|
3017
3392
|
private _matches;
|
|
3018
3393
|
static ɵfac: i0.ɵɵFactoryDeclaration<ColorSwatchPicker<any, any>, never>;
|
|
3019
3394
|
static ɵcmp: i0.ɵɵComponentDeclaration<ColorSwatchPicker<any, any>, "tls-color-swatch-picker", never, { "value": { "alias": "value"; "required": false; "isSignal": true; }; "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; }; "optionColor": { "alias": "optionColor"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; }, { "value": "valueChange"; }, never, never, true, never>;
|
|
@@ -3054,22 +3429,38 @@ declare class DateTimePicker extends ValueFormControl<Date | null> {
|
|
|
3054
3429
|
readonly minDate: InputSignal<Date | null>;
|
|
3055
3430
|
/** Latest selectable day, inclusive; the calendar disables later days. */
|
|
3056
3431
|
readonly maxDate: InputSignal<Date | null>;
|
|
3432
|
+
/**
|
|
3433
|
+
* The period the panel shows. Browsing moves it; a new value, and every opening of
|
|
3434
|
+
* the popover, bring it back to the home date — the panel always opens on what the
|
|
3435
|
+
* field holds, never on wherever an earlier visit left it.
|
|
3436
|
+
*/
|
|
3057
3437
|
protected readonly viewDate: WritableSignal<Date>;
|
|
3438
|
+
/** The drill-down level shown; each opening starts again at the mode's own level. */
|
|
3058
3439
|
protected readonly activeView: WritableSignal<ActiveView>;
|
|
3059
3440
|
protected readonly hostClasses: Signal<string[]>;
|
|
3060
3441
|
protected readonly triggerLabel: Signal<string>;
|
|
3061
|
-
constructor();
|
|
3062
3442
|
/**
|
|
3063
3443
|
* Focus lands on the trigger and the picker opens with it: a date is chosen in the
|
|
3064
3444
|
* calendar, so handing the control over without showing the calendar would stop one
|
|
3065
3445
|
* step short of what was asked for.
|
|
3066
3446
|
*/
|
|
3067
3447
|
activate(): void;
|
|
3448
|
+
/** Opens on the home date, or closes; browsing from an earlier visit never carries over. */
|
|
3449
|
+
protected onTriggerClick(event: MouseEvent): void;
|
|
3068
3450
|
protected onViewDateChange(date: Date): void;
|
|
3069
3451
|
protected onDaySelect(date: Date): void;
|
|
3070
3452
|
protected onMonthSelect(date: Date): void;
|
|
3071
3453
|
protected onYearSelect(date: Date): void;
|
|
3072
3454
|
protected onTimeChange(date: Date): void;
|
|
3455
|
+
/** Returns the panel to the home date at the mode's own level. */
|
|
3456
|
+
private _resetView;
|
|
3457
|
+
/**
|
|
3458
|
+
* The date the panel opens on: the selected one, or else today moved into the
|
|
3459
|
+
* selectable range, so an empty picker never opens on a page of disabled days.
|
|
3460
|
+
* Read fresh on every call rather than cached, so a page left open past midnight
|
|
3461
|
+
* still opens on the new day.
|
|
3462
|
+
*/
|
|
3463
|
+
private _homeDate;
|
|
3073
3464
|
static ɵfac: i0.ɵɵFactoryDeclaration<DateTimePicker, never>;
|
|
3074
3465
|
static ɵcmp: i0.ɵɵComponentDeclaration<DateTimePicker, "tls-date-time-picker", never, { "value": { "alias": "value"; "required": false; "isSignal": true; }; "mode": { "alias": "mode"; "required": false; "isSignal": true; }; "inline": { "alias": "inline"; "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; }; "yearsPerPage": { "alias": "yearsPerPage"; "required": false; "isSignal": true; }; "weekStartsOn": { "alias": "weekStartsOn"; "required": false; "isSignal": true; }; "weekDays": { "alias": "weekDays"; "required": false; "isSignal": true; }; "minDate": { "alias": "minDate"; "required": false; "isSignal": true; }; "maxDate": { "alias": "maxDate"; "required": false; "isSignal": true; }; }, { "value": "valueChange"; }, never, never, true, never>;
|
|
3075
3466
|
}
|
|
@@ -3207,6 +3598,10 @@ declare class FileDropTargetDirective {
|
|
|
3207
3598
|
private _dragDepth;
|
|
3208
3599
|
protected onDragEnter(): void;
|
|
3209
3600
|
protected onDragOver(event: DragEvent): void;
|
|
3601
|
+
/**
|
|
3602
|
+
* `dragleave` also fires when the pointer crosses onto a child of the host;
|
|
3603
|
+
* only a leave that balances every enter means the drag actually left.
|
|
3604
|
+
*/
|
|
3210
3605
|
protected onDragLeave(): void;
|
|
3211
3606
|
protected onDrop(event: DragEvent): void;
|
|
3212
3607
|
static ɵfac: i0.ɵɵFactoryDeclaration<FileDropTargetDirective, never>;
|
|
@@ -3245,7 +3640,13 @@ declare class FileInput extends ValueFormControl<File[]> {
|
|
|
3245
3640
|
protected openFilePicker(): void;
|
|
3246
3641
|
protected onFilesSelected(event: Event): void;
|
|
3247
3642
|
protected onDropZoneKeydown(event: KeyboardEvent): void;
|
|
3643
|
+
/**
|
|
3644
|
+
* Arrow function so it keeps `this` when passed through a custom file template context.
|
|
3645
|
+
*/
|
|
3248
3646
|
protected readonly removeFile: (fileIndex: number) => void;
|
|
3647
|
+
/**
|
|
3648
|
+
* Adds what the picker or a drop hands over, keeping only what is accepted.
|
|
3649
|
+
*/
|
|
3249
3650
|
protected addFiles(incoming: File[]): void;
|
|
3250
3651
|
private _formatAcceptRule;
|
|
3251
3652
|
static ɵfac: i0.ɵɵFactoryDeclaration<FileInput, never>;
|
|
@@ -3299,10 +3700,16 @@ declare class Input extends ValueFormControl<string> {
|
|
|
3299
3700
|
* at the limit and a paste is cut to it. Unset, the field takes any length.
|
|
3300
3701
|
*/
|
|
3301
3702
|
readonly maxLength: InputSignal<number | undefined>;
|
|
3703
|
+
/**
|
|
3704
|
+
* Autofill hint forwarded to the native input's `autocomplete` attribute (`email`, `username`,
|
|
3705
|
+
* `current-password`, `new-password`, …), so browsers and password managers know what the field
|
|
3706
|
+
* holds. Unset, the attribute is omitted and the browser guesses.
|
|
3707
|
+
*/
|
|
3708
|
+
readonly autocomplete: InputSignal<AutoFill | undefined>;
|
|
3302
3709
|
protected readonly classes: Signal<string[]>;
|
|
3303
3710
|
protected onInput(event: Event): void;
|
|
3304
3711
|
static ɵfac: i0.ɵɵFactoryDeclaration<Input, never>;
|
|
3305
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<Input, "tls-input", never, { "type": { "alias": "type"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "fluid": { "alias": "fluid"; "required": false; "isSignal": true; }; "autosize": { "alias": "autosize"; "required": false; "isSignal": true; }; "maxLength": { "alias": "maxLength"; "required": false; "isSignal": true; }; }, { "value": "valueChange"; }, never, never, true, never>;
|
|
3712
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<Input, "tls-input", never, { "type": { "alias": "type"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "fluid": { "alias": "fluid"; "required": false; "isSignal": true; }; "autosize": { "alias": "autosize"; "required": false; "isSignal": true; }; "maxLength": { "alias": "maxLength"; "required": false; "isSignal": true; }; "autocomplete": { "alias": "autocomplete"; "required": false; "isSignal": true; }; }, { "value": "valueChange"; }, never, never, true, never>;
|
|
3306
3713
|
}
|
|
3307
3714
|
|
|
3308
3715
|
interface InputConfig {
|
|
@@ -3381,6 +3788,11 @@ interface MaskResult {
|
|
|
3381
3788
|
*/
|
|
3382
3789
|
declare function applyMask(pattern: string, rawText: string, caretPosition: number): MaskResult;
|
|
3383
3790
|
|
|
3791
|
+
/**
|
|
3792
|
+
* Token characters recognised inside a mask pattern; every other character is a
|
|
3793
|
+
* literal rendered verbatim. Each token maps to the RegExp a raw character must
|
|
3794
|
+
* satisfy to fill that slot.
|
|
3795
|
+
*/
|
|
3384
3796
|
declare const MASK_TOKENS: Readonly<Record<string, RegExp>>;
|
|
3385
3797
|
|
|
3386
3798
|
/**
|
|
@@ -3433,6 +3845,12 @@ declare class Password extends ValueFormControl<string> {
|
|
|
3433
3845
|
readonly placeholder: InputSignal<string>;
|
|
3434
3846
|
readonly size: InputSignal<controlSize>;
|
|
3435
3847
|
readonly fluid: InputSignalWithTransform<boolean, unknown>;
|
|
3848
|
+
/**
|
|
3849
|
+
* Autofill hint forwarded to the native input's `autocomplete` attribute (`email`, `username`,
|
|
3850
|
+
* `current-password`, `new-password`, …), so browsers and password managers know what the field
|
|
3851
|
+
* holds. Unset, the attribute is omitted and the browser guesses.
|
|
3852
|
+
*/
|
|
3853
|
+
readonly autocomplete: InputSignal<AutoFill | undefined>;
|
|
3436
3854
|
protected readonly startIconTemplate: i0.Signal<TemplateRef<unknown> | undefined>;
|
|
3437
3855
|
protected readonly showIconTemplate: i0.Signal<TemplateRef<unknown> | undefined>;
|
|
3438
3856
|
protected readonly hideIconTemplate: i0.Signal<TemplateRef<unknown> | undefined>;
|
|
@@ -3443,7 +3861,7 @@ declare class Password extends ValueFormControl<string> {
|
|
|
3443
3861
|
protected onInput(event: Event): void;
|
|
3444
3862
|
protected toggle(): void;
|
|
3445
3863
|
static ɵfac: i0.ɵɵFactoryDeclaration<Password, never>;
|
|
3446
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<Password, "tls-password", never, { "value": { "alias": "value"; "required": false; "isSignal": true; }; "visible": { "alias": "visible"; "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; }; }, { "value": "valueChange"; "visible": "visibleChange"; }, ["startIconTemplate", "showIconTemplate", "hideIconTemplate"], never, true, never>;
|
|
3864
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<Password, "tls-password", never, { "value": { "alias": "value"; "required": false; "isSignal": true; }; "visible": { "alias": "visible"; "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; }; "autocomplete": { "alias": "autocomplete"; "required": false; "isSignal": true; }; }, { "value": "valueChange"; "visible": "visibleChange"; }, ["startIconTemplate", "showIconTemplate", "hideIconTemplate"], never, true, never>;
|
|
3447
3865
|
}
|
|
3448
3866
|
|
|
3449
3867
|
interface PasswordConfig {
|
|
@@ -3869,6 +4287,7 @@ declare class Textarea extends ValueFormControl<string> {
|
|
|
3869
4287
|
readonly rows: InputSignalWithTransform<number, unknown>;
|
|
3870
4288
|
readonly resize: InputSignal<textareaResize>;
|
|
3871
4289
|
readonly autosize: InputSignalWithTransform<boolean, unknown>;
|
|
4290
|
+
/** Upper bound, in rows, on the autosized height. `0` grows without a cap. */
|
|
3872
4291
|
readonly maxRows: InputSignalWithTransform<number, unknown>;
|
|
3873
4292
|
/**
|
|
3874
4293
|
* The most characters the field accepts, enforced by the browser: typing stops
|
|
@@ -3939,6 +4358,11 @@ declare class ToggleButton extends CheckboxFormControl {
|
|
|
3939
4358
|
/** `aria-pressed` value; omitted entirely when `checkedLabel` makes the name carry the state. */
|
|
3940
4359
|
protected readonly ariaPressed: Signal<boolean | null>;
|
|
3941
4360
|
protected readonly hostClasses: Signal<string[]>;
|
|
4361
|
+
/**
|
|
4362
|
+
* The host is the button itself — it carries the role and the tab stop — so
|
|
4363
|
+
* focus lands there rather than on anything it renders.
|
|
4364
|
+
*/
|
|
4365
|
+
protected focusTarget(): HTMLElement;
|
|
3942
4366
|
protected toggle(): void;
|
|
3943
4367
|
protected onKeyboardToggle(event: Event): void;
|
|
3944
4368
|
static ɵfac: i0.ɵɵFactoryDeclaration<ToggleButton, never>;
|
|
@@ -4038,10 +4462,19 @@ declare class ImageCompare {
|
|
|
4038
4462
|
protected readonly clampedPosition: Signal<number>;
|
|
4039
4463
|
protected readonly valueNow: Signal<number>;
|
|
4040
4464
|
protected readonly hostClasses: Signal<string[]>;
|
|
4465
|
+
/**
|
|
4466
|
+
* Clip the leading (before) layer to a band running from the layout-start edge
|
|
4467
|
+
* to the divider. `clip-path` is physical, so resolve the inset per axis — and
|
|
4468
|
+
* for RTL — explicitly, since logical properties cannot express it.
|
|
4469
|
+
*/
|
|
4041
4470
|
protected readonly clipPath: Signal<string>;
|
|
4042
4471
|
protected onPointerDown(event: PointerEvent): void;
|
|
4043
4472
|
protected onPointerMove(event: PointerEvent): void;
|
|
4044
4473
|
protected onPointerUp(event: PointerEvent): void;
|
|
4474
|
+
/**
|
|
4475
|
+
* Pointer capture is already released once the browser cancels the pointer, so
|
|
4476
|
+
* this only resets drag state (calling `releasePointerCapture` here can throw).
|
|
4477
|
+
*/
|
|
4045
4478
|
protected onPointerCancel(): void;
|
|
4046
4479
|
protected onHandleKeydown(event: KeyboardEvent): void;
|
|
4047
4480
|
private _isRtl;
|
|
@@ -4186,6 +4619,10 @@ declare class ImagePreview {
|
|
|
4186
4619
|
protected readonly transform: Signal<string>;
|
|
4187
4620
|
protected readonly counterText: Signal<string>;
|
|
4188
4621
|
protected readonly captionId: Signal<string | null>;
|
|
4622
|
+
/**
|
|
4623
|
+
* The chevrons point at the physical direction travelled, which mirrors along
|
|
4624
|
+
* with the layout: in RTL the previous image sits to the right of the current one.
|
|
4625
|
+
*/
|
|
4189
4626
|
protected readonly previousIcon: Signal<systemIcon>;
|
|
4190
4627
|
protected readonly nextIcon: Signal<systemIcon>;
|
|
4191
4628
|
protected readonly hostClasses: Signal<string[]>;
|
|
@@ -4203,12 +4640,23 @@ declare class ImagePreview {
|
|
|
4203
4640
|
protected onImageLoad(): void;
|
|
4204
4641
|
protected onImageError(): void;
|
|
4205
4642
|
protected onSwipe(event: SwipeEvent): void;
|
|
4643
|
+
/**
|
|
4644
|
+
* A click that lands on the stage itself — the scrim around the image and the
|
|
4645
|
+
* controls — dismisses the viewer, the full-screen equivalent of a backdrop
|
|
4646
|
+
* click. Bound on the host rather than the stage because the scrim is not a
|
|
4647
|
+
* control: it takes no focus and offers no keyboard path of its own, Escape
|
|
4648
|
+
* being the keyboard equivalent of the gesture.
|
|
4649
|
+
*/
|
|
4206
4650
|
protected onSurfaceClick(event: MouseEvent): void;
|
|
4207
4651
|
protected onWheel(event: WheelEvent): void;
|
|
4208
4652
|
protected onDoubleClick(event: MouseEvent): void;
|
|
4209
4653
|
protected onPointerDown(event: PointerEvent): void;
|
|
4210
4654
|
protected onPointerMove(event: PointerEvent): void;
|
|
4211
4655
|
protected onPointerUp(event: PointerEvent): void;
|
|
4656
|
+
/**
|
|
4657
|
+
* The browser has already released the capture by the time a pointer is
|
|
4658
|
+
* cancelled, so this only drops the tracking state (releasing it here can throw).
|
|
4659
|
+
*/
|
|
4212
4660
|
protected onPointerCancel(event: PointerEvent): void;
|
|
4213
4661
|
protected onKeydown(event: KeyboardEvent): void;
|
|
4214
4662
|
/**
|
|
@@ -4217,10 +4665,26 @@ declare class ImagePreview {
|
|
|
4217
4665
|
* Runs once the current image has settled, leaving it the bandwidth first.
|
|
4218
4666
|
*/
|
|
4219
4667
|
private _preloadNeighbours;
|
|
4668
|
+
/**
|
|
4669
|
+
* An image that renders nothing occupies no box, so no point lies over it.
|
|
4670
|
+
*/
|
|
4220
4671
|
private _isOverImage;
|
|
4672
|
+
/**
|
|
4673
|
+
* A press that travels past the slop is a gesture; the click it ends with is
|
|
4674
|
+
* then a by-product of the gesture rather than a click on what sits under it.
|
|
4675
|
+
*/
|
|
4221
4676
|
private _trackGesture;
|
|
4677
|
+
/**
|
|
4678
|
+
* The fitted size is where the viewer opens and what a reset returns to, kept
|
|
4679
|
+
* inside the configured bounds so a consumer that never zooms out below the fit
|
|
4680
|
+
* (or caps zoom under it) still gets a level it allows.
|
|
4681
|
+
*/
|
|
4222
4682
|
private _fitZoom;
|
|
4223
4683
|
private _isRtl;
|
|
4684
|
+
/**
|
|
4685
|
+
* `deltaY` is reported in the unit named by `deltaMode`, so convert the two
|
|
4686
|
+
* non-pixel modes to pixels before they drive the zoom exponent.
|
|
4687
|
+
*/
|
|
4224
4688
|
private _wheelDeltaInPixels;
|
|
4225
4689
|
private _clampZoom;
|
|
4226
4690
|
private _zoomToCentre;
|
|
@@ -4294,6 +4758,10 @@ declare class ImagePreviewDirective implements ImagePreviewGroupItem, OnDestroy
|
|
|
4294
4758
|
/** Caption displayed beneath the image in the viewer. */
|
|
4295
4759
|
readonly caption: InputSignal<string | undefined>;
|
|
4296
4760
|
private readonly _nativelyInteractive;
|
|
4761
|
+
/**
|
|
4762
|
+
* A host without native button semantics is given them, so the trigger is
|
|
4763
|
+
* announced as a control and reachable by keyboard like any other.
|
|
4764
|
+
*/
|
|
4297
4765
|
protected readonly buttonRole: string | null;
|
|
4298
4766
|
protected readonly tabIndex: string | null;
|
|
4299
4767
|
get element(): HTMLElement;
|
|
@@ -4303,6 +4771,10 @@ declare class ImagePreviewDirective implements ImagePreviewGroupItem, OnDestroy
|
|
|
4303
4771
|
/** Opens the preview, or the whole group when the trigger sits in one. */
|
|
4304
4772
|
open(): ImagePreviewRef | null;
|
|
4305
4773
|
protected onClick(event: MouseEvent): void;
|
|
4774
|
+
/**
|
|
4775
|
+
* A host given button semantics must also act on the keys a button acts on;
|
|
4776
|
+
* a natively interactive host already dispatches its own click.
|
|
4777
|
+
*/
|
|
4306
4778
|
protected onKeydown(event: KeyboardEvent): void;
|
|
4307
4779
|
/**
|
|
4308
4780
|
* The image the host element itself stands for: an `<img>`'s own source —
|
|
@@ -4354,6 +4826,10 @@ interface ImagePreviewOpenConfig extends Partial<Omit<ImagePreviewConfig, 'label
|
|
|
4354
4826
|
declare class ImagePreviewService {
|
|
4355
4827
|
private readonly _dialog;
|
|
4356
4828
|
private readonly _config;
|
|
4829
|
+
/**
|
|
4830
|
+
* Open previews, tracked so `closeAll` can play each exit animation and so it
|
|
4831
|
+
* closes previews only (the CDK `Dialog` is shared with other surfaces).
|
|
4832
|
+
*/
|
|
4357
4833
|
private readonly _openPreviews;
|
|
4358
4834
|
open(config: ImagePreviewOpenConfig): ImagePreviewRef;
|
|
4359
4835
|
closeAll(): void;
|
|
@@ -4680,6 +5156,9 @@ declare class SheetMotion {
|
|
|
4680
5156
|
/** Bound to the surface's `--dragging` / `--settling` classes. */
|
|
4681
5157
|
readonly state: i0.Signal<sheetMotionState>;
|
|
4682
5158
|
private _surface;
|
|
5159
|
+
/**
|
|
5160
|
+
* Incremented by begin and rest; a settle belongs to the gesture that started it.
|
|
5161
|
+
*/
|
|
4683
5162
|
private _gesture;
|
|
4684
5163
|
constructor(_options: SheetMotionOptions);
|
|
4685
5164
|
/** Travel in px of the gesture in progress, from rest to fully committed; 0 outside a gesture. */
|
|
@@ -4709,6 +5188,10 @@ declare class SheetMotion {
|
|
|
4709
5188
|
moveTo(surface: SheetMotionSurface, target: number, done: () => void): void;
|
|
4710
5189
|
/** Lets go of the surface; the transform is the stylesheet's again. */
|
|
4711
5190
|
rest(): void;
|
|
5191
|
+
/**
|
|
5192
|
+
* Only the backdrop's progress is clamped to the extent; the offset itself
|
|
5193
|
+
* is written unclamped.
|
|
5194
|
+
*/
|
|
4712
5195
|
private _write;
|
|
4713
5196
|
}
|
|
4714
5197
|
|
|
@@ -4794,6 +5277,10 @@ declare class Menu {
|
|
|
4794
5277
|
private static _counter;
|
|
4795
5278
|
private readonly _config;
|
|
4796
5279
|
private readonly _overlay;
|
|
5280
|
+
/**
|
|
5281
|
+
* Optional: only apps that call `provideViewport()` register it, and without
|
|
5282
|
+
* it the `sheetBelow` behaviour simply stays off.
|
|
5283
|
+
*/
|
|
4797
5284
|
private readonly _viewportService;
|
|
4798
5285
|
private readonly _injector;
|
|
4799
5286
|
private readonly _renderer;
|
|
@@ -4811,10 +5298,40 @@ declare class Menu {
|
|
|
4811
5298
|
readonly offset: InputSignal<Point>;
|
|
4812
5299
|
readonly ariaLabel: InputSignal<string | undefined>;
|
|
4813
5300
|
readonly inline: InputSignalWithTransform<boolean, unknown>;
|
|
5301
|
+
/**
|
|
5302
|
+
* Extra class(es) placed on the overlay pane, so one menu can carry its own
|
|
5303
|
+
* treatment where the shared one does not fit. They reach the pane however
|
|
5304
|
+
* the menu opens — anchored, at a point, or as a sheet; an inline menu has no
|
|
5305
|
+
* pane, so it has nowhere to put them.
|
|
5306
|
+
*
|
|
5307
|
+
* The pane sits outside every component's template and carries no style
|
|
5308
|
+
* encapsulation attribute, so a consumer's scoped rules cannot otherwise reach
|
|
5309
|
+
* it. A class named here is the handle they get. The panel declares its own
|
|
5310
|
+
* `--tls-menu-*` properties, which beat anything inherited from the pane, so
|
|
5311
|
+
* a rule that retunes one has to name the panel too: `.<class> .tls-menu`.
|
|
5312
|
+
*/
|
|
5313
|
+
readonly panelClass: InputSignal<string | string[] | undefined>;
|
|
4814
5314
|
private readonly _positions;
|
|
5315
|
+
/**
|
|
5316
|
+
* A `label` item opens a section that runs until the next label or divider;
|
|
5317
|
+
* its items render inside a `role="group"` container named after the label.
|
|
5318
|
+
*/
|
|
4815
5319
|
protected readonly blocks: i0.Signal<MenuRenderBlock[]>;
|
|
5320
|
+
/**
|
|
5321
|
+
* An inline menu is always "open" (rendered in place); otherwise reflect the overlay.
|
|
5322
|
+
*/
|
|
4816
5323
|
readonly isOpen: i0.Signal<boolean>;
|
|
5324
|
+
/**
|
|
5325
|
+
* Whether the current open presents as a bottom sheet. Captured per open —
|
|
5326
|
+
* not derived live — so a viewport resize mid-open cannot restyle a pane the
|
|
5327
|
+
* overlay has already placed the other way.
|
|
5328
|
+
*/
|
|
4817
5329
|
protected readonly sheet: i0.WritableSignal<boolean>;
|
|
5330
|
+
/**
|
|
5331
|
+
* The sheet's dismissal drag: the finger's hold on the pane, its travel out
|
|
5332
|
+
* past the bottom edge and the settle after release. The scrim thins as the
|
|
5333
|
+
* sheet leaves.
|
|
5334
|
+
*/
|
|
4818
5335
|
protected readonly sheetMotion: SheetMotion;
|
|
4819
5336
|
private _sheetClosing;
|
|
4820
5337
|
constructor();
|
|
@@ -4832,15 +5349,32 @@ declare class Menu {
|
|
|
4832
5349
|
/** Content template for the item: its keyed slot first, the shared `#itemTemplate` otherwise. */
|
|
4833
5350
|
protected itemContentTemplate(item: MenuActionItem): TemplateRef<unknown> | undefined;
|
|
4834
5351
|
protected onSheetPanStart(pane: HTMLElement): void;
|
|
5352
|
+
/**
|
|
5353
|
+
* Fired outside the Angular zone (see `PanDirective.panMove`), so it writes
|
|
5354
|
+
* to the DOM directly and never touches a signal. The sheet does not
|
|
5355
|
+
* overshoot open, so upward travel is clamped away.
|
|
5356
|
+
*/
|
|
4835
5357
|
protected onSheetPanMove(event: PanEvent): void;
|
|
4836
5358
|
protected onSheetPanEnd(event: PanEvent): void;
|
|
4837
5359
|
protected onSheetPanCancel(): void;
|
|
4838
5360
|
/** Whether the viewport sits at or below the configured sheet breakpoint. */
|
|
4839
5361
|
private _prefersSheet;
|
|
5362
|
+
/**
|
|
5363
|
+
* Resets the per-open presentation state; the pane itself is stamped fresh
|
|
5364
|
+
* from the template on every open, so only the component-held state carries
|
|
5365
|
+
* over.
|
|
5366
|
+
*/
|
|
4840
5367
|
private _prepareOpen;
|
|
5368
|
+
/**
|
|
5369
|
+
* Continues the drag out past the bottom edge and closes on arrival. A
|
|
5370
|
+
* dismissal that began as a drag must not route through the leave keyframe:
|
|
5371
|
+
* that starts from the fully open position, so the pane would snap back for
|
|
5372
|
+
* a frame before leaving — the stylesheet stands the keyframe down while
|
|
5373
|
+
* the drag state classes are on.
|
|
5374
|
+
*/
|
|
4841
5375
|
private _sheetDragClose;
|
|
4842
5376
|
static ɵfac: i0.ɵɵFactoryDeclaration<Menu, never>;
|
|
4843
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<Menu, "tls-menu", never, { "items": { "alias": "items"; "required": false; "isSignal": true; }; "position": { "alias": "position"; "required": false; "isSignal": true; }; "offset": { "alias": "offset"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; "inline": { "alias": "inline"; "required": false; "isSignal": true; }; }, {}, ["_customItems", "itemTemplate", "labelTemplate", "dividerTemplate", "iconTemplate"], never, true, never>;
|
|
5377
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<Menu, "tls-menu", never, { "items": { "alias": "items"; "required": false; "isSignal": true; }; "position": { "alias": "position"; "required": false; "isSignal": true; }; "offset": { "alias": "offset"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; "inline": { "alias": "inline"; "required": false; "isSignal": true; }; "panelClass": { "alias": "panelClass"; "required": false; "isSignal": true; }; }, {}, ["_customItems", "itemTemplate", "labelTemplate", "dividerTemplate", "iconTemplate"], never, true, never>;
|
|
4844
5378
|
}
|
|
4845
5379
|
|
|
4846
5380
|
interface MenuConfig {
|
|
@@ -4890,15 +5424,41 @@ interface OdometerToken {
|
|
|
4890
5424
|
/** Literal character for a static symbol, or `null` when the slot is a digit. */
|
|
4891
5425
|
symbol: string | null;
|
|
4892
5426
|
}
|
|
5427
|
+
/** A rendered slot paired with how long its roll lasts. */
|
|
5428
|
+
interface OdometerSlot {
|
|
5429
|
+
/** The slot itself. */
|
|
5430
|
+
token: OdometerToken;
|
|
5431
|
+
/** Duration of the slot's roll, in milliseconds; a symbol never rolls. */
|
|
5432
|
+
duration: number;
|
|
5433
|
+
}
|
|
5434
|
+
/**
|
|
5435
|
+
* Which way a digit column turns on its way to a new digit: `up` counts upward
|
|
5436
|
+
* through the wheel (4 → 5 → 6, 9 → 0), `down` counts downward (6 → 5 → 4,
|
|
5437
|
+
* 0 → 9), and `shortest` takes whichever arc is shorter.
|
|
5438
|
+
*/
|
|
5439
|
+
type odometerDirection = 'shortest' | 'up' | 'down';
|
|
4893
5440
|
|
|
4894
5441
|
/**
|
|
4895
5442
|
* Animated number whose digits roll to the new value, like a mechanical
|
|
4896
5443
|
* odometer. Each digit column rolls through the values between the old and the
|
|
4897
|
-
* new one by the shortest path, so counting up or down reads
|
|
5444
|
+
* new one — by the shortest path by default, so counting up or down reads
|
|
5445
|
+
* naturally, or always one way with `direction`.
|
|
5446
|
+
*
|
|
5447
|
+
* Shows either a number (`value`, formatted by the inputs below) or text
|
|
5448
|
+
* written out by the caller (`text`), whose digits roll while every other
|
|
5449
|
+
* character stays put — a clock, a date, a formatted amount. `text` wins when
|
|
5450
|
+
* both are given.
|
|
4898
5451
|
*
|
|
4899
5452
|
* The value scales with the surrounding `font-size`. The roll is a functional
|
|
4900
5453
|
* cue on the `essential` motion tier, so it is replaced by an instant swap when
|
|
4901
|
-
* the user has reduced motion.
|
|
5454
|
+
* the user has reduced motion. `animated` turns it off per change, for a value
|
|
5455
|
+
* that moves on its own and should roll only when someone moves it.
|
|
5456
|
+
*
|
|
5457
|
+
* `revolutions`, `stagger` and `rollIn` turn the roll into a spin, like a slot
|
|
5458
|
+
* machine's reels: extra full turns, columns that come to rest in turn, and a
|
|
5459
|
+
* first value that spins in rather than appearing. Extra turns and rolling in
|
|
5460
|
+
* are expressive motion, so they play only at the `full` motion level; below
|
|
5461
|
+
* it the value still rolls, or appears, as it otherwise would.
|
|
4902
5462
|
*
|
|
4903
5463
|
* @example
|
|
4904
5464
|
* <!-- a live score -->
|
|
@@ -4907,15 +5467,54 @@ interface OdometerToken {
|
|
|
4907
5467
|
* @example
|
|
4908
5468
|
* <!-- fixed-width counter with two decimals -->
|
|
4909
5469
|
* <tls-odometer [value]="balance()" [minIntegerDigits]="4" [fractionDigits]="2" />
|
|
5470
|
+
*
|
|
5471
|
+
* @example
|
|
5472
|
+
* <!-- a countdown that ticks in place and rolls only when adjusted -->
|
|
5473
|
+
* <tls-odometer [text]="clock()" [animated]="adjusted()" />
|
|
5474
|
+
*
|
|
5475
|
+
* @example
|
|
5476
|
+
* <!-- reels that spin in and stop one after another -->
|
|
5477
|
+
* <tls-odometer text="777" rollIn direction="down" [revolutions]="2" [stagger]="400" />
|
|
4910
5478
|
*/
|
|
4911
5479
|
declare class Odometer {
|
|
4912
5480
|
private readonly _config;
|
|
4913
5481
|
/** The number to display. Changes roll the affected digit columns. */
|
|
4914
|
-
readonly value: InputSignal<number>;
|
|
4915
|
-
/**
|
|
5482
|
+
readonly value: InputSignal<number | null>;
|
|
5483
|
+
/**
|
|
5484
|
+
* Text to display as written, in place of `value`. Its digits roll; every
|
|
5485
|
+
* other character is a fixed symbol. The number formatting inputs do not
|
|
5486
|
+
* apply to it.
|
|
5487
|
+
*/
|
|
5488
|
+
readonly text: InputSignal<string | null>;
|
|
5489
|
+
/**
|
|
5490
|
+
* Whether a change rolls. Read as each new value arrives, so turning it off
|
|
5491
|
+
* swaps the next values in place without cutting short a roll under way.
|
|
5492
|
+
*/
|
|
5493
|
+
readonly animated: InputSignalWithTransform<boolean, unknown>;
|
|
5494
|
+
/**
|
|
5495
|
+
* Whether a column's first digit rolls in from `0` instead of appearing in
|
|
5496
|
+
* place. Plays only at the `full` motion level.
|
|
5497
|
+
*/
|
|
5498
|
+
readonly rollIn: InputSignalWithTransform<boolean, unknown>;
|
|
5499
|
+
/**
|
|
5500
|
+
* Duration of a digit's roll, in milliseconds, whatever distance it covers —
|
|
5501
|
+
* give a roll with `revolutions` the longer time a spin needs.
|
|
5502
|
+
*/
|
|
4916
5503
|
readonly duration: InputSignal<number>;
|
|
4917
5504
|
/** Delay before a digit roll starts, in milliseconds. */
|
|
4918
5505
|
readonly delay: InputSignal<number>;
|
|
5506
|
+
/**
|
|
5507
|
+
* Milliseconds added to each successive digit column's roll, left to right,
|
|
5508
|
+
* so columns that start together come to rest in turn.
|
|
5509
|
+
*/
|
|
5510
|
+
readonly stagger: InputSignal<number>;
|
|
5511
|
+
/**
|
|
5512
|
+
* Full turns of the wheel a roll makes before it lands. Applies to every
|
|
5513
|
+
* column that rolls, and plays only at the `full` motion level.
|
|
5514
|
+
*/
|
|
5515
|
+
readonly revolutions: InputSignal<number>;
|
|
5516
|
+
/** Which way a digit column turns on its way to a new digit. */
|
|
5517
|
+
readonly direction: InputSignal<odometerDirection>;
|
|
4919
5518
|
/** Minimum number of integer digits, left-padded with zeros (`007`). */
|
|
4920
5519
|
readonly minIntegerDigits: InputSignal<number>;
|
|
4921
5520
|
/** Number of fraction digits to display. `0` hides the decimal part. */
|
|
@@ -4925,9 +5524,17 @@ declare class Odometer {
|
|
|
4925
5524
|
/** Overrides the text announced to screen readers (defaults to the formatted value). */
|
|
4926
5525
|
readonly ariaLabel: InputSignal<string | undefined>;
|
|
4927
5526
|
protected readonly tokens: Signal<OdometerToken[]>;
|
|
5527
|
+
/** The tokens with each roll's duration, lengthened by `stagger` per digit column. */
|
|
5528
|
+
protected readonly slots: Signal<OdometerSlot[]>;
|
|
4928
5529
|
protected readonly formattedValue: Signal<string>;
|
|
5530
|
+
/**
|
|
5531
|
+
* Keyed by position from the end, as a number's columns are by place value,
|
|
5532
|
+
* so `9:59` turning into `10:00` keeps its right-hand columns rolling in
|
|
5533
|
+
* place instead of every slot being rebuilt.
|
|
5534
|
+
*/
|
|
5535
|
+
private _textTokens;
|
|
4929
5536
|
static ɵfac: i0.ɵɵFactoryDeclaration<Odometer, never>;
|
|
4930
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<Odometer, "tls-odometer", never, { "value": { "alias": "value"; "required": true; "isSignal": true; }; "duration": { "alias": "duration"; "required": false; "isSignal": true; }; "delay": { "alias": "delay"; "required": false; "isSignal": true; }; "minIntegerDigits": { "alias": "minIntegerDigits"; "required": false; "isSignal": true; }; "fractionDigits": { "alias": "fractionDigits"; "required": false; "isSignal": true; }; "decimalSeparator": { "alias": "decimalSeparator"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
5537
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<Odometer, "tls-odometer", never, { "value": { "alias": "value"; "required": false; "isSignal": true; }; "text": { "alias": "text"; "required": false; "isSignal": true; }; "animated": { "alias": "animated"; "required": false; "isSignal": true; }; "rollIn": { "alias": "rollIn"; "required": false; "isSignal": true; }; "duration": { "alias": "duration"; "required": false; "isSignal": true; }; "delay": { "alias": "delay"; "required": false; "isSignal": true; }; "stagger": { "alias": "stagger"; "required": false; "isSignal": true; }; "revolutions": { "alias": "revolutions"; "required": false; "isSignal": true; }; "direction": { "alias": "direction"; "required": false; "isSignal": true; }; "minIntegerDigits": { "alias": "minIntegerDigits"; "required": false; "isSignal": true; }; "fractionDigits": { "alias": "fractionDigits"; "required": false; "isSignal": true; }; "decimalSeparator": { "alias": "decimalSeparator"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
4931
5538
|
}
|
|
4932
5539
|
|
|
4933
5540
|
interface OdometerConfig {
|
|
@@ -4941,6 +5548,12 @@ interface OdometerConfig {
|
|
|
4941
5548
|
fractionDigits: number;
|
|
4942
5549
|
/** Character rendered between the integer and fraction parts. */
|
|
4943
5550
|
decimalSeparator: string;
|
|
5551
|
+
/** Full turns of the wheel a roll makes before it lands, at the `full` motion level. */
|
|
5552
|
+
revolutions: number;
|
|
5553
|
+
/** Which way a digit column turns on its way to a new digit. */
|
|
5554
|
+
direction: odometerDirection;
|
|
5555
|
+
/** Milliseconds added to each successive digit column's roll, left to right. */
|
|
5556
|
+
stagger: number;
|
|
4944
5557
|
}
|
|
4945
5558
|
declare const DEFAULT_ODOMETER_CONFIG: OdometerConfig;
|
|
4946
5559
|
|
|
@@ -5025,6 +5638,10 @@ declare const PAGINATION_QUERY_SYNC_CONFIG: InjectionToken<PaginationQuerySyncCo
|
|
|
5025
5638
|
declare class PaginationQuerySyncDirective extends QuerySyncDirective implements OnInit {
|
|
5026
5639
|
private readonly _pagination;
|
|
5027
5640
|
private readonly _config;
|
|
5641
|
+
/**
|
|
5642
|
+
* The selector doubles as the input, so a valueless `tlsPaginationQuerySync` binds `''`.
|
|
5643
|
+
* Coerce an empty value back to the configured default param key.
|
|
5644
|
+
*/
|
|
5028
5645
|
readonly tlsPaginationQuerySync: i0.InputSignalWithTransform<string, string>;
|
|
5029
5646
|
/** Last page mirrored to the URL; `null` until the initial page settles. */
|
|
5030
5647
|
private _lastSynced;
|
|
@@ -5043,6 +5660,17 @@ declare class Popover {
|
|
|
5043
5660
|
readonly isOpen: i0.Signal<boolean>;
|
|
5044
5661
|
readonly position: i0.InputSignal<overlayPosition>;
|
|
5045
5662
|
readonly offset: i0.InputSignal<Point>;
|
|
5663
|
+
/** Minimum gap in px kept between the panel and the viewport's edges. */
|
|
5664
|
+
readonly viewportMargin: i0.InputSignal<number>;
|
|
5665
|
+
/**
|
|
5666
|
+
* Keep the panel within the viewport, inside the viewport margin, however tall
|
|
5667
|
+
* its content: it is capped at the viewport's height and shrinks to the room
|
|
5668
|
+
* beside its trigger, sliding along its side where that room runs short.
|
|
5669
|
+
* Without it a panel too tall to fit is pushed on screen at full height and
|
|
5670
|
+
* runs off the viewport. The content that may outgrow the panel has to scroll
|
|
5671
|
+
* within it.
|
|
5672
|
+
*/
|
|
5673
|
+
readonly shrinkToFit: i0.InputSignalWithTransform<boolean, unknown>;
|
|
5046
5674
|
readonly ariaLabel: i0.InputSignal<string | undefined>;
|
|
5047
5675
|
/**
|
|
5048
5676
|
* Extra class(es) placed on the overlay pane, so one popover can carry its own
|
|
@@ -5060,12 +5688,17 @@ declare class Popover {
|
|
|
5060
5688
|
close(): void;
|
|
5061
5689
|
toggle(trigger: MouseEvent | HTMLElement): void;
|
|
5062
5690
|
static ɵfac: i0.ɵɵFactoryDeclaration<Popover, never>;
|
|
5063
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<Popover, "tls-popover", never, { "position": { "alias": "position"; "required": false; "isSignal": true; }; "offset": { "alias": "offset"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; "panelClass": { "alias": "panelClass"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
5691
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<Popover, "tls-popover", never, { "position": { "alias": "position"; "required": false; "isSignal": true; }; "offset": { "alias": "offset"; "required": false; "isSignal": true; }; "viewportMargin": { "alias": "viewportMargin"; "required": false; "isSignal": true; }; "shrinkToFit": { "alias": "shrinkToFit"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; "panelClass": { "alias": "panelClass"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
5064
5692
|
}
|
|
5065
5693
|
|
|
5066
5694
|
interface PopoverConfig {
|
|
5067
5695
|
position: overlayPosition;
|
|
5068
5696
|
offset: Point;
|
|
5697
|
+
/**
|
|
5698
|
+
* Minimum gap in px kept between the panel and the viewport's edges when the
|
|
5699
|
+
* panel has to be pushed or shrunk to stay on screen.
|
|
5700
|
+
*/
|
|
5701
|
+
viewportMargin: number;
|
|
5069
5702
|
}
|
|
5070
5703
|
declare const DEFAULT_POPOVER_CONFIG: PopoverConfig;
|
|
5071
5704
|
|
|
@@ -5257,6 +5890,22 @@ declare class Sheet implements OnDestroy {
|
|
|
5257
5890
|
readonly detentLabels: InputSignal<Record<string, string>>;
|
|
5258
5891
|
/** Whether the pill along the top edge that advertises the drag is drawn. */
|
|
5259
5892
|
readonly grabber: InputSignalWithTransform<boolean, unknown>;
|
|
5893
|
+
/**
|
|
5894
|
+
* Extra class(es) placed on the overlay pane, so one sheet can carry its own
|
|
5895
|
+
* treatment where the shared one does not fit. The pane lives as long as the
|
|
5896
|
+
* sheet, so a change swaps them on it in place.
|
|
5897
|
+
*
|
|
5898
|
+
* The pane sits outside every component's template and carries no style
|
|
5899
|
+
* encapsulation attribute, so a consumer's scoped rules cannot otherwise reach
|
|
5900
|
+
* it. A class named here is the handle they get. The sheet declares its own
|
|
5901
|
+
* `--tls-sheet-*` properties, which beat anything inherited from the pane, so
|
|
5902
|
+
* a rule that retunes one has to name the sheet too: `.<class> .tls-sheet`.
|
|
5903
|
+
*/
|
|
5904
|
+
readonly panelClass: InputSignal<string | string[] | undefined>;
|
|
5905
|
+
/**
|
|
5906
|
+
* Numbers the instances, so each sheet's ids are unique in the document;
|
|
5907
|
+
* declared first because `id` reads it.
|
|
5908
|
+
*/
|
|
5260
5909
|
private static _counter;
|
|
5261
5910
|
readonly id: string;
|
|
5262
5911
|
protected readonly bodyId: string;
|
|
@@ -5266,21 +5915,47 @@ declare class Sheet implements OnDestroy {
|
|
|
5266
5915
|
private readonly _backdrop;
|
|
5267
5916
|
private readonly _panel;
|
|
5268
5917
|
private readonly _header;
|
|
5918
|
+
/**
|
|
5919
|
+
* The scroll container: its `scrollTop` decides whether a pan at the top
|
|
5920
|
+
* detent is the sheet's or the body's. The content inside it is what is measured.
|
|
5921
|
+
*/
|
|
5269
5922
|
private readonly _body;
|
|
5270
5923
|
private readonly _content;
|
|
5271
5924
|
private readonly _probe;
|
|
5925
|
+
/** Height in px of each detent, in `detents` order; empty until measured. */
|
|
5272
5926
|
private readonly _heights;
|
|
5927
|
+
/** Annotated because its own callback reads it back for the travel. */
|
|
5273
5928
|
private readonly _motion;
|
|
5274
5929
|
protected readonly motionState: i0.Signal<sheetMotionState>;
|
|
5275
5930
|
private _overlayRef;
|
|
5276
|
-
|
|
5931
|
+
/**
|
|
5932
|
+
* The detent the sheet is at or moving to, so a remeasure mid-settle
|
|
5933
|
+
* re-targets the settle rather than snapping back to where it started.
|
|
5934
|
+
*/
|
|
5935
|
+
private readonly _targetIndex;
|
|
5936
|
+
/** The detent a drag began at, for the release decision. */
|
|
5277
5937
|
private _dragStartIndex;
|
|
5938
|
+
/**
|
|
5939
|
+
* A pan the body's own scrolling owns; its moves and end are not the sheet's.
|
|
5940
|
+
*/
|
|
5278
5941
|
private _declined;
|
|
5279
5942
|
private _focusTrap;
|
|
5943
|
+
/** The classes `panelClass` last put on the pane, for a change to take off again. */
|
|
5944
|
+
private _panelClasses;
|
|
5945
|
+
/** Page-level elements made inert while modal, to be released as found. */
|
|
5280
5946
|
private _inerted;
|
|
5947
|
+
/**
|
|
5948
|
+
* What had focus in the page before the sheet went modal, for a destroy
|
|
5949
|
+
* that removes the header focus would otherwise return to.
|
|
5950
|
+
*/
|
|
5281
5951
|
private _focusBeforeModal;
|
|
5282
5952
|
protected readonly currentIndex: i0.Signal<number>;
|
|
5283
5953
|
protected readonly isTop: i0.Signal<boolean>;
|
|
5954
|
+
/**
|
|
5955
|
+
* At the first detent or settling towards it: from the moment a collapse
|
|
5956
|
+
* begins, not once it lands, so what reacts to it moves with the panel.
|
|
5957
|
+
*/
|
|
5958
|
+
protected readonly isBoundForLip: i0.Signal<boolean>;
|
|
5284
5959
|
protected readonly isExpanded: i0.Signal<boolean>;
|
|
5285
5960
|
protected readonly isModal: i0.Signal<boolean>;
|
|
5286
5961
|
protected readonly description: i0.Signal<string>;
|
|
@@ -5297,32 +5972,109 @@ declare class Sheet implements OnDestroy {
|
|
|
5297
5972
|
* changes size; public for a page whose detents depend on anything else.
|
|
5298
5973
|
*/
|
|
5299
5974
|
remeasure(): void;
|
|
5975
|
+
/**
|
|
5976
|
+
* The header steps down from a modal or the largest detent — where there is
|
|
5977
|
+
* nothing above to grow into — and up from any other.
|
|
5978
|
+
*/
|
|
5300
5979
|
protected onHeaderClick(): void;
|
|
5980
|
+
/** The arrows would otherwise scroll the page behind the sheet. */
|
|
5301
5981
|
protected onArrowUp(event: Event): void;
|
|
5302
5982
|
protected onArrowDown(event: Event): void;
|
|
5303
5983
|
protected onPanStart(event: PanEvent): void;
|
|
5984
|
+
/**
|
|
5985
|
+
* Fired outside the Angular zone (see `PanDirective.panMove`), so it writes
|
|
5986
|
+
* to the DOM through the engine and writes no signal. The start height is
|
|
5987
|
+
* read live, so a remeasure mid-drag applies at once.
|
|
5988
|
+
*/
|
|
5304
5989
|
protected onPanMove(event: PanEvent): void;
|
|
5305
5990
|
protected onPanEnd(event: PanEvent): void;
|
|
5306
5991
|
protected onPanCancel(): void;
|
|
5992
|
+
/**
|
|
5993
|
+
* Heard at the document, so Escape works wherever focus sits while modal —
|
|
5994
|
+
* the backdrop and the panel's own surface take no focus. An Escape a
|
|
5995
|
+
* control already consumed, or one typed in another overlay (a drawer
|
|
5996
|
+
* stacked above the sheet), keeps the sheet where it is.
|
|
5997
|
+
*/
|
|
5307
5998
|
protected onEscape(event: Event): void;
|
|
5308
5999
|
protected onBackdropClick(): void;
|
|
6000
|
+
/**
|
|
6001
|
+
* Moves the panel into a full-viewport pane at the end of body. The pane
|
|
6002
|
+
* passes pointers through; only the panel and the backdrop take them.
|
|
6003
|
+
*/
|
|
5309
6004
|
private _attach;
|
|
6005
|
+
/**
|
|
6006
|
+
* Puts the named classes on the pane in place of the ones named before. The
|
|
6007
|
+
* pane's own class is laid back on with them, so naming it and then dropping
|
|
6008
|
+
* it cannot strip it from the pane.
|
|
6009
|
+
*/
|
|
6010
|
+
private _applyPanelClass;
|
|
5310
6011
|
private _measure;
|
|
6012
|
+
/** Displacement below the largest detent that puts the panel at `index`. */
|
|
5311
6013
|
private _offsetOf;
|
|
5312
6014
|
private _surface;
|
|
6015
|
+
/**
|
|
6016
|
+
* Puts the panel at `index` at once, with no motion: after measuring, the
|
|
6017
|
+
* sheet is already where it rests.
|
|
6018
|
+
*/
|
|
5313
6019
|
private _place;
|
|
6020
|
+
/**
|
|
6021
|
+
* Animates the panel to `index` from wherever it is, by a settle from rest.
|
|
6022
|
+
*/
|
|
5314
6023
|
private _settleTo;
|
|
6024
|
+
/**
|
|
6025
|
+
* Whether a pan is the sheet's to move, or the body's to scroll. Only the
|
|
6026
|
+
* top detent scrolls the body; there a downward pan that starts inside the
|
|
6027
|
+
* body is the sheet's only when the body is already at its top. Decided
|
|
6028
|
+
* once, at the start — a hand-off mid-gesture is where jank lives.
|
|
6029
|
+
*/
|
|
5315
6030
|
private _claims;
|
|
6031
|
+
/**
|
|
6032
|
+
* Offset for a height the finger asks for. Above the largest detent the
|
|
6033
|
+
* panel holds (a lifted panel would show a gap beneath it); below the
|
|
6034
|
+
* smallest it follows a third of the overshoot, capped, so the end of the
|
|
6035
|
+
* travel reads as a stretch rather than a wall.
|
|
6036
|
+
*/
|
|
5316
6037
|
private _offsetFor;
|
|
6038
|
+
/** Ends a drag at `index`: the settle continues from the finger's offset. */
|
|
5317
6039
|
private _settleFromDrag;
|
|
6040
|
+
/**
|
|
6041
|
+
* A settle that finishes after destroy writes nothing to a destroyed model.
|
|
6042
|
+
*/
|
|
5318
6043
|
private _arrive;
|
|
6044
|
+
/**
|
|
6045
|
+
* Opacity of the scrim at `offset` below the largest detent: 0 up to the
|
|
6046
|
+
* detent below `modalFrom`, rising across the gap into it, 1 from there on.
|
|
6047
|
+
* It takes the offset rather than a share of the travel because at rest the
|
|
6048
|
+
* engine holds no surface and knows no travel.
|
|
6049
|
+
*/
|
|
5319
6050
|
private _backdropOpacityAt;
|
|
6051
|
+
/**
|
|
6052
|
+
* The highest detent that is not modal, or the lowest when `modalFrom` is it.
|
|
6053
|
+
*/
|
|
5320
6054
|
private _collapseBelowModal;
|
|
6055
|
+
/**
|
|
6056
|
+
* While modal the rest of the page is inert and focus stays in the panel,
|
|
6057
|
+
* landing on the header button — the one control that explains the state
|
|
6058
|
+
* and undoes it — unless a pointer made the change (see
|
|
6059
|
+
* `_focusHeaderUnlessPointer`). Leaving modal releases both. When the sheet stays, focus
|
|
6060
|
+
* goes back to the header only if it has nowhere better to be — nothing
|
|
6061
|
+
* focused, the body, or still inside the panel; focus already elsewhere (another
|
|
6062
|
+
* overlay, the page) is left where it is. When the sheet is going, focus
|
|
6063
|
+
* returns to what the page had focused.
|
|
6064
|
+
* Elements already inert are someone else's, so they are neither taken nor
|
|
6065
|
+
* released.
|
|
6066
|
+
*/
|
|
5321
6067
|
private _applyModality;
|
|
6068
|
+
/**
|
|
6069
|
+
* Keyboard users, and changes made before any interaction or by code, get
|
|
6070
|
+
* the header focused. After a pointer interaction focus stays put: with the
|
|
6071
|
+
* page inert a pointer user's focus rests on `body`, and the first Tab lands
|
|
6072
|
+
* on the header anyway, so moving focus would only paint a ring nobody asked for.
|
|
6073
|
+
*/
|
|
5322
6074
|
private _focusHeaderUnlessPointer;
|
|
5323
6075
|
ngOnDestroy(): void;
|
|
5324
6076
|
static ɵfac: i0.ɵɵFactoryDeclaration<Sheet, never>;
|
|
5325
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<Sheet, "tls-sheet", ["tlsSheet"], { "detents": { "alias": "detents"; "required": true; "isSignal": true; }; "detent": { "alias": "detent"; "required": false; "isSignal": true; }; "modalFrom": { "alias": "modalFrom"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": true; "isSignal": true; }; "detentLabels": { "alias": "detentLabels"; "required": false; "isSignal": true; }; "grabber": { "alias": "grabber"; "required": false; "isSignal": true; }; }, { "detent": "detentChange"; }, ["headerTemplate"], ["*"], true, never>;
|
|
6077
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<Sheet, "tls-sheet", ["tlsSheet"], { "detents": { "alias": "detents"; "required": true; "isSignal": true; }; "detent": { "alias": "detent"; "required": false; "isSignal": true; }; "modalFrom": { "alias": "modalFrom"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": true; "isSignal": true; }; "detentLabels": { "alias": "detentLabels"; "required": false; "isSignal": true; }; "grabber": { "alias": "grabber"; "required": false; "isSignal": true; }; "panelClass": { "alias": "panelClass"; "required": false; "isSignal": true; }; }, { "detent": "detentChange"; }, ["headerTemplate"], ["*"], true, never>;
|
|
5326
6078
|
}
|
|
5327
6079
|
|
|
5328
6080
|
declare class Skeleton {
|
|
@@ -5399,11 +6151,17 @@ declare class Splitter {
|
|
|
5399
6151
|
/** Accessible name for the group of panels and their separators. */
|
|
5400
6152
|
readonly ariaLabel: InputSignal<string | undefined>;
|
|
5401
6153
|
readonly ariaLabelledby: InputSignal<string | undefined>;
|
|
6154
|
+
/**
|
|
6155
|
+
* `descendants: false` scopes the query to this splitter's own panels; without
|
|
6156
|
+
* it a nested `tls-splitter`'s panels would be counted here too.
|
|
6157
|
+
*/
|
|
5402
6158
|
protected readonly panels: Signal<readonly SplitterPanel[]>;
|
|
5403
6159
|
private readonly _activeSeam;
|
|
6160
|
+
/** Transient drag bookkeeping, captured on pointer down. */
|
|
5404
6161
|
private _dragContainerSize;
|
|
5405
6162
|
private _dragStartCoordinate;
|
|
5406
6163
|
private _dragStartSize;
|
|
6164
|
+
/** Restore sizes for collapsed panels, keyed by the panel that owns them. */
|
|
5407
6165
|
private readonly _collapsedSizes;
|
|
5408
6166
|
private readonly _collapsedFlags;
|
|
5409
6167
|
protected readonly isHorizontal: Signal<boolean>;
|
|
@@ -5414,14 +6172,35 @@ declare class Splitter {
|
|
|
5414
6172
|
protected onGutterPointerDown(seamIndex: number, event: PointerEvent): void;
|
|
5415
6173
|
protected onGutterPointerMove(seamIndex: number, event: PointerEvent): void;
|
|
5416
6174
|
protected onGutterPointerUp(seamIndex: number, event: PointerEvent): void;
|
|
6175
|
+
/**
|
|
6176
|
+
* Pointer capture is already released once the browser cancels the pointer, so
|
|
6177
|
+
* this only resets drag state (calling `releasePointerCapture` here can throw).
|
|
6178
|
+
*/
|
|
5417
6179
|
protected onGutterPointerCancel(seamIndex: number): void;
|
|
5418
6180
|
protected onGutterKeydown(seamIndex: number, event: KeyboardEvent): void;
|
|
5419
6181
|
private _isRtl;
|
|
5420
6182
|
private _lowerBound;
|
|
5421
6183
|
private _upperBound;
|
|
6184
|
+
/**
|
|
6185
|
+
* Sets the leading panel to `desiredSize`, clamped so both panels honour their
|
|
6186
|
+
* min/max, and gives the remainder of the pair to the trailing panel. A
|
|
6187
|
+
* `collapsible` panel dragged past its `min` snaps shut instead of clamping.
|
|
6188
|
+
*/
|
|
5422
6189
|
private _applySeamSize;
|
|
6190
|
+
/**
|
|
6191
|
+
* Collapses `panel` to zero, handing its space to `neighbour`. Expanding again
|
|
6192
|
+
* restores the panel to its `min`.
|
|
6193
|
+
*/
|
|
5423
6194
|
private _collapse;
|
|
6195
|
+
/**
|
|
6196
|
+
* Expands a collapsed `panel` back to its restore size, taking the space from
|
|
6197
|
+
* `neighbour`. Bounded by whatever the neighbour can actually give up.
|
|
6198
|
+
*/
|
|
5424
6199
|
private _expand;
|
|
6200
|
+
/**
|
|
6201
|
+
* Updates a panel's `collapsed` model from an interactive resize. Pre-syncing
|
|
6202
|
+
* the flag keeps `_syncCollapsedPanels` from re-running its own size handling.
|
|
6203
|
+
*/
|
|
5425
6204
|
private _setCollapsedState;
|
|
5426
6205
|
private _initializeSizes;
|
|
5427
6206
|
private _syncCollapsedPanels;
|
|
@@ -5532,7 +6311,10 @@ declare const STEPPER_CONFIG: InjectionToken<StepperConfig>;
|
|
|
5532
6311
|
* releasing would commit is exposed twice for the content to react to: the
|
|
5533
6312
|
* `tls-swipe-actions__panel--armed` class on the revealed panel (for CSS
|
|
5534
6313
|
* choreography — an icon pop, a label reveal) and the `armedChanged` output
|
|
5535
|
-
* (for behaviour — a haptic tick).
|
|
6314
|
+
* (for behaviour — a haptic tick). The host carries
|
|
6315
|
+
* `tls-swipe-actions--dragging` for as long as a gesture holds the row, for
|
|
6316
|
+
* whatever around the row has to give way while it is pulled aside — a line
|
|
6317
|
+
* drawn through the row that would otherwise break where it leaves. Actions
|
|
5536
6318
|
* committed by swipe must never be the only path to the behaviour — the
|
|
5537
6319
|
* gesture is invisible and unavailable to keyboards and assistive tech, so a
|
|
5538
6320
|
* visible control (a button, a menu item) has to offer the same actions.
|
|
@@ -5570,7 +6352,16 @@ declare class SwipeActions {
|
|
|
5570
6352
|
*/
|
|
5571
6353
|
readonly armedChanged: OutputEmitterRef<boolean>;
|
|
5572
6354
|
protected readonly dragging: WritableSignal<boolean>;
|
|
6355
|
+
/**
|
|
6356
|
+
* Travel already spent crossing the pan slop when the gesture locked. Deltas
|
|
6357
|
+
* are rebased against it so the reveal grows from zero at the lock point
|
|
6358
|
+
* instead of jumping by the slop the moment the first move lands.
|
|
6359
|
+
*/
|
|
5573
6360
|
private _lockDelta;
|
|
6361
|
+
/**
|
|
6362
|
+
* Whether the current reveal has passed the commit threshold. Written from
|
|
6363
|
+
* the move stream, so the DOM class rides along directly (see _applyOffset).
|
|
6364
|
+
*/
|
|
5574
6365
|
private _armed;
|
|
5575
6366
|
protected readonly panEnabled: Signal<boolean>;
|
|
5576
6367
|
protected onPanStart(event: PanEvent): void;
|
|
@@ -5652,6 +6443,11 @@ type tabsHeaderAlign = 'stretch' | 'start' | 'center' | 'end';
|
|
|
5652
6443
|
type tabsItemsAlign = 'start' | 'center' | 'end' | 'stretch';
|
|
5653
6444
|
type tabValue = string;
|
|
5654
6445
|
|
|
6446
|
+
/**
|
|
6447
|
+
* A declarative content holder: the host element itself is never rendered. `tls-tabs`
|
|
6448
|
+
* reads the captured content/header templates and renders them inside its own
|
|
6449
|
+
* `ngTabPanel`/`ngTabContent` structure, which enables lazy panel rendering.
|
|
6450
|
+
*/
|
|
5655
6451
|
declare class Tab {
|
|
5656
6452
|
readonly value: InputSignal<tabValue>;
|
|
5657
6453
|
readonly label: InputSignal<string>;
|
|
@@ -5674,7 +6470,14 @@ declare class Tabs {
|
|
|
5674
6470
|
readonly ariaLabel: InputSignal<string | undefined>;
|
|
5675
6471
|
readonly ariaLabelledby: InputSignal<string | undefined>;
|
|
5676
6472
|
protected tabs: Signal<readonly Tab[]>;
|
|
6473
|
+
/** Each tab's header control, in the order of the projected tabs. */
|
|
6474
|
+
private readonly _tabControls;
|
|
5677
6475
|
protected hostClasses: Signal<string[]>;
|
|
6476
|
+
/**
|
|
6477
|
+
* The header strip uses the shared tab-header block (also rendered by
|
|
6478
|
+
* `tls-tab-nav`), so its variant/orientation/alignment modifiers live on the
|
|
6479
|
+
* strip element itself rather than on the tabs container.
|
|
6480
|
+
*/
|
|
5678
6481
|
protected headerClasses: Signal<string[]>;
|
|
5679
6482
|
constructor();
|
|
5680
6483
|
/**
|
|
@@ -5685,6 +6488,15 @@ declare class Tabs {
|
|
|
5685
6488
|
* they have.
|
|
5686
6489
|
*/
|
|
5687
6490
|
findTabValue(text: string): tabValue | undefined;
|
|
6491
|
+
/**
|
|
6492
|
+
* Moves keyboard focus to the header control of the tab holding `value`.
|
|
6493
|
+
* Meant for a control inside a panel that switches to another tab: the
|
|
6494
|
+
* switch hides the panel and, with it, the element that had focus, which
|
|
6495
|
+
* would otherwise fall back to the document. Takes the value rather than
|
|
6496
|
+
* reading the selection, so a caller can focus the tab it has just selected
|
|
6497
|
+
* before the selection reaches this component.
|
|
6498
|
+
*/
|
|
6499
|
+
focusTab(value: tabValue): void;
|
|
5688
6500
|
static ɵfac: i0.ɵɵFactoryDeclaration<Tabs, never>;
|
|
5689
6501
|
static ɵcmp: i0.ɵɵComponentDeclaration<Tabs, "tls-tabs", never, { "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "orientation": { "alias": "orientation"; "required": false; "isSignal": true; }; "headerPosition": { "alias": "headerPosition"; "required": false; "isSignal": true; }; "headerAlign": { "alias": "headerAlign"; "required": false; "isSignal": true; }; "itemsAlign": { "alias": "itemsAlign"; "required": false; "isSignal": true; }; "selected": { "alias": "selected"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; "ariaLabelledby": { "alias": "ariaLabelledby"; "required": false; "isSignal": true; }; }, { "selected": "selectedChange"; }, ["tabs"], never, true, [{ directive: typeof i1$1.Tabs; inputs: {}; outputs: {}; }]>;
|
|
5690
6502
|
}
|
|
@@ -5716,6 +6528,10 @@ declare const TABS_QUERY_SYNC_CONFIG: InjectionToken<TabsQuerySyncConfig>;
|
|
|
5716
6528
|
declare class TabsQuerySyncDirective extends QuerySyncDirective {
|
|
5717
6529
|
private readonly _tabs;
|
|
5718
6530
|
private readonly _config;
|
|
6531
|
+
/**
|
|
6532
|
+
* The selector doubles as the input, so a valueless `tlsTabsQuerySync` binds `''`.
|
|
6533
|
+
* Coerce an empty value back to the configured default param key.
|
|
6534
|
+
*/
|
|
5719
6535
|
readonly tlsTabsQuerySync: i0.InputSignalWithTransform<string, string>;
|
|
5720
6536
|
/** Param value captured once at startup, pending until a matching tab resolves. */
|
|
5721
6537
|
private _pendingRestore;
|
|
@@ -5859,6 +6675,13 @@ declare class Table<TRow = TableData> {
|
|
|
5859
6675
|
readonly ariaLabel: InputSignal<string | undefined>;
|
|
5860
6676
|
readonly ariaLabelledby: InputSignal<string | undefined>;
|
|
5861
6677
|
protected readonly tableColumns: Signal<readonly TableColumn[]>;
|
|
6678
|
+
/**
|
|
6679
|
+
* Merges columnDefinitions input and tls-table-column content children into a single list.
|
|
6680
|
+
* Input drives order; content children override matching keys and append unmatched columns at the end.
|
|
6681
|
+
* Map keyed by content column key → O(1) lookup when applying overrides to each input column.
|
|
6682
|
+
* Set of input keys → O(1) membership check when finding content columns absent from input (extras).
|
|
6683
|
+
* extras: content columns with no matching input entry, appended after the merged input columns.
|
|
6684
|
+
*/
|
|
5862
6685
|
protected readonly effectiveColumnDefinitions: Signal<TableColumnDefinition[]>;
|
|
5863
6686
|
protected readonly columns: Signal<string[]>;
|
|
5864
6687
|
protected readonly resolvedTrackBy: Signal<TrackByFunction<TRow>>;
|
|
@@ -5944,8 +6767,15 @@ declare class Toast {
|
|
|
5944
6767
|
readonly actionTriggered: i0.OutputEmitterRef<void>;
|
|
5945
6768
|
protected readonly hostClasses: i0.Signal<string[]>;
|
|
5946
6769
|
protected readonly icon: i0.Signal<systemIcon>;
|
|
6770
|
+
/**
|
|
6771
|
+
* The countdown bar only makes sense for a toast that actually auto-dismisses.
|
|
6772
|
+
*/
|
|
5947
6773
|
protected readonly progressVisible: i0.Signal<boolean>;
|
|
6774
|
+
/**
|
|
6775
|
+
* CSS animation duration for the countdown bar, matching the auto-dismiss delay.
|
|
6776
|
+
*/
|
|
5948
6777
|
protected readonly progressDuration: i0.Signal<string>;
|
|
6778
|
+
/** Urgent severities announce assertively; the rest announce politely. */
|
|
5949
6779
|
protected readonly role: i0.Signal<"alert" | "status">;
|
|
5950
6780
|
protected onAction(): void;
|
|
5951
6781
|
protected onClose(): void;
|
|
@@ -6021,6 +6851,9 @@ declare class ToastService {
|
|
|
6021
6851
|
resume(): void;
|
|
6022
6852
|
private _startTimer;
|
|
6023
6853
|
private _clearTimer;
|
|
6854
|
+
/**
|
|
6855
|
+
* Drops timers whose toast was trimmed by the `max` cap without an explicit dismiss.
|
|
6856
|
+
*/
|
|
6024
6857
|
private _pruneOrphanTimers;
|
|
6025
6858
|
private _ensureOutlet;
|
|
6026
6859
|
static ɵfac: i0.ɵɵFactoryDeclaration<ToastService, never>;
|
|
@@ -6193,8 +7026,8 @@ declare abstract class TooltipTrigger implements TooltipOwner, OnDestroy {
|
|
|
6193
7026
|
private _describedById;
|
|
6194
7027
|
/** Element that description was put on, which is not always the anchor. */
|
|
6195
7028
|
private _describedElement;
|
|
6196
|
-
/** Teardown of the
|
|
6197
|
-
private
|
|
7029
|
+
/** Teardown of the listeners that only run while a tooltip is visible. */
|
|
7030
|
+
private _visibleListeners;
|
|
6198
7031
|
protected readonly _positions: Signal<ConnectedPosition[]>;
|
|
6199
7032
|
constructor();
|
|
6200
7033
|
/** Anchor of the visible tooltip, for a subclass deciding whether an event concerns it. */
|
|
@@ -6207,6 +7040,10 @@ declare abstract class TooltipTrigger implements TooltipOwner, OnDestroy {
|
|
|
6207
7040
|
protected _hide(source: tooltipSource): void;
|
|
6208
7041
|
/** Drops every reason at once — a dismissal, rather than the end of one interaction. */
|
|
6209
7042
|
protected _hideAll(): void;
|
|
7043
|
+
/**
|
|
7044
|
+
* Timestamp of the latest pointer interaction (tap or click), for telling a
|
|
7045
|
+
* pointer-granted focus apart from a keyboard-granted one.
|
|
7046
|
+
*/
|
|
6210
7047
|
private _lastPointerAt;
|
|
6211
7048
|
/** Records that a pointer interaction just happened; `_followsPointer` reads it. */
|
|
6212
7049
|
protected _notePointer(): void;
|
|
@@ -6233,8 +7070,9 @@ declare abstract class TooltipTrigger implements TooltipOwner, OnDestroy {
|
|
|
6233
7070
|
private _undescribe;
|
|
6234
7071
|
private _latestRequest;
|
|
6235
7072
|
/**
|
|
6236
|
-
* Binds the
|
|
6237
|
-
* triggers carries no document listeners for the tooltips it is not showing
|
|
7073
|
+
* Binds the listeners that belong to a visible tooltip and nothing else, so a page full of
|
|
7074
|
+
* triggers carries no document listeners for the tooltips it is not showing, and a pointer
|
|
7075
|
+
* moving over a trigger schedules no change detection while its tooltip is down.
|
|
6238
7076
|
*/
|
|
6239
7077
|
private _listenWhileVisible;
|
|
6240
7078
|
private _unlisten;
|
|
@@ -6270,7 +7108,6 @@ declare class TooltipDelegateDirective extends TooltipTrigger {
|
|
|
6270
7108
|
private readonly _selector;
|
|
6271
7109
|
protected onPointerOver(event: PointerEvent): void;
|
|
6272
7110
|
protected onPointerDown(event: PointerEvent): void;
|
|
6273
|
-
protected onPointerMove(event: PointerEvent): void;
|
|
6274
7111
|
protected onPointerOut(event: PointerEvent): void;
|
|
6275
7112
|
protected onFocusIn(event: FocusEvent): void;
|
|
6276
7113
|
protected onFocusOut(event: FocusEvent): void;
|
|
@@ -6317,7 +7154,6 @@ declare class TooltipDirective extends TooltipTrigger {
|
|
|
6317
7154
|
constructor();
|
|
6318
7155
|
protected onPointerEnter(event: PointerEvent): void;
|
|
6319
7156
|
protected onPointerDown(event: PointerEvent): void;
|
|
6320
|
-
protected onPointerMove(event: PointerEvent): void;
|
|
6321
7157
|
protected onPointerLeave(event: PointerEvent): void;
|
|
6322
7158
|
protected onFocusIn(event: FocusEvent): void;
|
|
6323
7159
|
protected onFocusOut(event: FocusEvent): void;
|
|
@@ -6660,6 +7496,13 @@ declare abstract class AbstractSelect<T, V, ValueType> extends ValueFormControl<
|
|
|
6660
7496
|
readonly optionLabel: InputSignal<keyof T | undefined>;
|
|
6661
7497
|
readonly optionValue: InputSignal<keyof T | undefined>;
|
|
6662
7498
|
readonly optionDisabled: InputSignal<keyof T | undefined>;
|
|
7499
|
+
/**
|
|
7500
|
+
* Key of the option property naming the group it is listed under. The panel lists each group
|
|
7501
|
+
* under its own heading, as a `role="group"` named by that heading, in the order the groups
|
|
7502
|
+
* first appear; options naming no group are listed bare. A virtualized panel keeps the grouped
|
|
7503
|
+
* order but draws no headings, as its rows all share one fixed height.
|
|
7504
|
+
*/
|
|
7505
|
+
readonly optionGroup: InputSignal<keyof T | undefined>;
|
|
6663
7506
|
readonly tabindex: InputSignal<string | number>;
|
|
6664
7507
|
abstract readonly placeholder: InputSignal<string>;
|
|
6665
7508
|
abstract readonly size: InputSignal<controlSize>;
|
|
@@ -6672,11 +7515,17 @@ declare abstract class AbstractSelect<T, V, ValueType> extends ValueFormControl<
|
|
|
6672
7515
|
protected readonly isOpen: Signal<boolean>;
|
|
6673
7516
|
protected readonly normalizedOptions: Signal<Option<V>[]>;
|
|
6674
7517
|
/**
|
|
6675
|
-
* Options actually shown in the panel and traversed by keyboard navigation
|
|
6676
|
-
*
|
|
6677
|
-
*
|
|
7518
|
+
* Options actually shown in the panel and traversed by keyboard navigation, in the order they
|
|
7519
|
+
* are listed — each group's options gathered together. Defaults to the full normalized list; a
|
|
7520
|
+
* filtering control (an editable combobox) narrows it via {@link filterVisibleOptions}.
|
|
7521
|
+
* `activeIndex` always indexes into this list, never the raw one.
|
|
6678
7522
|
*/
|
|
6679
7523
|
protected readonly visibleOptions: Signal<Option<V>[]>;
|
|
7524
|
+
/**
|
|
7525
|
+
* The visible options split into the groups the panel lists them under. A group the filter has
|
|
7526
|
+
* emptied is not listed at all, so no heading ever stands over nothing.
|
|
7527
|
+
*/
|
|
7528
|
+
protected readonly optionGroups: Signal<OptionGroup<V>[]>;
|
|
6680
7529
|
/**
|
|
6681
7530
|
* Index of the option keyboard navigation rests on, within `visibleOptions`; −1
|
|
6682
7531
|
* means none. When the visible list changes under it (the options swapped while the
|
|
@@ -6737,12 +7586,14 @@ declare abstract class AbstractSelect<T, V, ValueType> extends ValueFormControl<
|
|
|
6737
7586
|
protected onOptionHover(event: PointerEvent, index: number, disabled?: boolean): void;
|
|
6738
7587
|
protected onKeydown(event: KeyboardEvent): void;
|
|
6739
7588
|
protected optionId(index: number): string;
|
|
7589
|
+
/** Id of the heading that names the group at `groupIndex`. */
|
|
7590
|
+
protected groupLabelId(groupIndex: number): string;
|
|
6740
7591
|
/** Context handed to the consumer's option template for the option at `index`. */
|
|
6741
7592
|
protected optionContext(option: Option<V>, index: number): selectTemplateContext<T, V>;
|
|
6742
7593
|
protected moveActive(direction: 1 | -1): void;
|
|
6743
7594
|
private moveActiveToEdge;
|
|
6744
7595
|
static ɵfac: i0.ɵɵFactoryDeclaration<AbstractSelect<any, any, any>, never>;
|
|
6745
|
-
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>;
|
|
7596
|
+
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; }; "optionGroup": { "alias": "optionGroup"; "required": false; "isSignal": true; }; "tabindex": { "alias": "tabindex"; "required": false; "isSignal": true; }; }, {}, ["optionTemplate"], never, true, never>;
|
|
6746
7597
|
}
|
|
6747
7598
|
|
|
6748
7599
|
declare abstract class QuerySyncDirective {
|
|
@@ -6757,4 +7608,4 @@ declare abstract class QuerySyncDirective {
|
|
|
6757
7608
|
declare const provideThalassicUIConfig: (config?: tlsUiConfigProvider) => EnvironmentProviders;
|
|
6758
7609
|
|
|
6759
7610
|
export { ACCORDION_CONFIG, ACTIVITY_HEATMAP_CONFIG, ALERT_CONFIG, ALPHA_MAX, AUTOCOMPLETE_CONFIG, Accordion, AccordionItem, ActivityHeatmap, Alert, AlertIcon, Autocomplete, BADGE_CONFIG, BREADCRUMBS_CONFIG, BUTTON_CONFIG, Badge, Breadcrumbs, Button, ButtonDirective, CALENDAR_CONFIG, CAROUSEL_CONFIG, CHECKBOX_CONFIG, CHIP_CONFIG, CHIP_CONTROL_CONFIG, CHIP_GROUP_CONFIG, CHIP_INPUT_CONFIG, COLOR_INPUT_CONFIG, COLOR_PICKER_CONFIG, COLOR_PICKER_DEFAULT_VALUE, COLOR_RANGE_CONFIG, COLOR_SWATCH_PICKER_CONFIG, CONFIRM_CONFIG, Calendar, CalendarAgendaView, CalendarEventItem, CalendarMonthView, CalendarTimeGrid, Carousel, CarouselSlide, Checkbox, CheckboxFormControl, Chip, ChipControl, ChipGroup, ChipInput, ColorInput, ColorPicker, ColorRange, ColorSwatch, ColorSwatchPicker, Confirm, ConfirmPanel, ConfirmService, ContextMenuDirective, DATE_TIME_PICKER_CONFIG, DEFAULT_ACCORDION_CONFIG, DEFAULT_ACTIVITY_HEATMAP_CONFIG, DEFAULT_ALERT_CONFIG, DEFAULT_AUTOCOMPLETE_CONFIG, DEFAULT_BADGE_CONFIG, DEFAULT_BREADCRUMBS_CONFIG, DEFAULT_BUTTON_CONFIG, DEFAULT_CALENDAR_CONFIG, DEFAULT_CAROUSEL_CONFIG, DEFAULT_CHECKBOX_CONFIG, DEFAULT_CHIP_CONFIG, DEFAULT_CHIP_CONTROL_CONFIG, DEFAULT_CHIP_GROUP_CONFIG, DEFAULT_CHIP_INPUT_CONFIG, DEFAULT_COLOR_INPUT_CONFIG, DEFAULT_COLOR_PICKER_CONFIG, DEFAULT_COLOR_RANGE_CONFIG, DEFAULT_COLOR_SWATCH_PICKER_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_IMAGE_PREVIEW_CONFIG, DEFAULT_INFINITE_SCROLL_CONFIG, DEFAULT_INPUT_CONFIG, DEFAULT_INPUT_NUMBER_CONFIG, DEFAULT_KBD_CONFIG, DEFAULT_LOADER_CONFIG, DEFAULT_MARK_CONFIG, DEFAULT_MENU_CONFIG, DEFAULT_MULTI_SELECT_CONFIG, DEFAULT_ODOMETER_CONFIG, DEFAULT_PAGINATION_CONFIG, DEFAULT_PAGINATION_QUERY_SYNC_CONFIG, DEFAULT_PASSWORD_CONFIG, DEFAULT_PIN_INPUT_CONFIG, DEFAULT_POPOVER_CONFIG, DEFAULT_PROGRESS_CONFIG, DEFAULT_RADIO_BUTTON_CONFIG, DEFAULT_RATING_CONFIG, DEFAULT_RIPPLE_CONFIG, DEFAULT_SELECT_CONFIG, DEFAULT_SKELETON_CONFIG, DEFAULT_SLIDER_CONFIG, DEFAULT_SPLITTER_CONFIG, DEFAULT_STEPPER_CONFIG, DEFAULT_STEPPER_LABELS, DEFAULT_STEP_CONFIG, DEFAULT_SWIPE_ACTIONS_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, DRAWER_OPENING, DRAWER_PANEL_CONFIG, DateTimePicker, Dialog, DialogBody, DialogFooter, DialogHeader, DialogRef, DialogService, DialogTitleDirective, Divider, Drawer, DrawerRef, DrawerService, DrawerSharedDirective, DrawerTriggerDirective, FILE_INPUT_CONFIG, FORMAT_CYCLE, FORM_CONTROL, FORM_CONTROL_CONFIG, FORM_CONTROL_GROUP_CONFIG, FORM_ITEM_CONFIG, FabMenu, FileDropTargetDirective, FileInput, FormControl, FormControlAddon, FormControlGroup, FormItem, HIGHLIGHT_CONFIG, HUE_MAX, Highlight, ICON_CONFIG, ICON_REGISTRY, IMAGE_COMPARE_CONFIG, IMAGE_PREVIEW_CONFIG, INFINITE_SCROLL_CONFIG, INPUT_CONFIG, INPUT_NUMBER_CONFIG, Icon, IconRegistry, IconService, ImageCompare, ImagePreview, ImagePreviewDirective, ImagePreviewGroupDirective, ImagePreviewRef, ImagePreviewService, InfiniteScroll, Input, InputDirective, InputNumber, KBD_CONFIG, Kbd, LOADER_CONFIG, Loader, MARK_CONFIG, MASK_TOKENS, MENU_CONFIG, MULTI_SELECT_CONFIG, Mark, MaskDirective, Menu, MenuItemComponent, MenuTriggerDirective, MultiSelect, ODOMETER_CONFIG, Odometer, PAGINATION_CONFIG, PAGINATION_QUERY_SYNC_CONFIG, PASSWORD_CONFIG, PIN_INPUT_CONFIG, POPOVER_CONFIG, PRESS_SCALE_PROPERTY, PROGRESS_CONFIG, Pagination, PaginationQuerySyncDirective, Password, PickerField, PinInput, Popover, Progress, RADIO_BUTTON_CONFIG, RATING_CONFIG, RIPPLE_ACTIVE_CLASS, RIPPLE_CONFIG, RIPPLE_DIAMETER_PROPERTY, RIPPLE_MOVE_SLOP_PX, RIPPLE_X_PROPERTY, RIPPLE_Y_PROPERTY, RadioButton, Rating, RippleDirective, SELECT_CONFIG, SKELETON_CONFIG, SLIDER_CONFIG, SPLITTER_CONFIG, STEPPER_CONFIG, SV_KEYBOARD_STEP, SV_KEYBOARD_STEP_LARGE, SWIPE_ACTIONS_CONFIG, SWITCH_CONFIG, Select, Sheet, SheetHeaderDirective, Skeleton, Slider, Splitter, SplitterPanel, Step, Stepper, SwipeActions, Switch, TABLE_CONFIG, TABS_CONFIG, TABS_QUERY_SYNC_CONFIG, TAB_NAV_CONFIG, TEXTAREA_CONFIG, TOAST_CONFIG, TOGGLE_BUTTON_CONFIG, TOGGLE_GROUP_CONFIG, TOOLTIP_CONFIG, TOUCH_HANDOVER_WINDOW_MS, Tab, TabLinkDirective, TabNavDirective, Table, TableColumn, Tabs, TabsQuerySyncDirective, Textarea, Toast, ToastService, ToggleButton, ToggleGroup, TooltipDelegateDirective, TooltipDirective, TooltipTrigger, VIRTUAL_SCROLL_CONFIG, ValueFormControl, VirtualScroll, acceptsFile, aggregateActivityEntries, applyMask, buildActivityMonthSegments, buildActivityThresholds, canonicalHex, contrastForeground, formatHsl, formatRgb, hslToHsv, hsvToHsl, hsvToRgb, isTypeRejected, normalizeAccept, parseColor, provideThalassicIcons, provideThalassicUIConfig, relativeLuminance, resolveActivityLevel, rgbToHsv, rgbaToHex, toImagePreviewImage };
|
|
6760
|
-
export type { AccordionConfig, ActivityHeatmapConfig, ActivityHeatmapDay, ActivityHeatmapEntry, ActivityHeatmapLabels, ActivityHeatmapMonth, ActivityHeatmapRow, ActivityHeatmapTotal, AlertConfig, AutocompleteConfig, BadgeConfig, BreadcrumbItem, BreadcrumbItemContext, BreadcrumbsConfig, ButtonConfig, CalendarConfig, CalendarDayContext, CalendarEvent, CalendarEventContext, CalendarLabels, CalendarRange, CarouselConfig, CarouselLabels, CheckboxConfig, ChipConfig, ChipContext, ChipControlConfig, ChipGroupConfig, ChipInputConfig, ColorInputConfig, ColorInputLabels, ColorPickerConfig, ColorPickerLabels, ColorRangeConfig, ColorRangeLabels, ColorSwatchPickerConfig, ColorSwatchPickerLabels, ConfirmConfig, ConfirmOptions, DateTimePickerConfig, DialogConfig, DialogOpenConfig, DividerConfig, DrawerConfig, DrawerOffset, DrawerOpenConfig, DrawerOpening, DrawerPanelConfig, DrawerSharedPair, DrawerSlideTiming, EyeDropperConstructor, FabMenuItemDefinition, FileInputConfig, FileInputDropZoneContext, FileInputFileContext, FormControlConfig, FormControlGroupConfig, FormItemConfig, FormItemLabelContext, HighlightConfig, HighlightSegment, Hsla, Hsva, IconConfig, ImageCompareConfig, ImagePreviewConfig, ImagePreviewData, ImagePreviewGroupItem, ImagePreviewImage, ImagePreviewLabels, ImagePreviewOpenConfig, ImagePreviewSource, InfiniteScrollConfig, InfiniteScrollLabels, InputConfig, InputNumberConfig, KbdConfig, LoaderConfig, MarkConfig, MaskResult, MenuActionItem, MenuConfig, MenuCustomItem, MenuDivider, MenuItemDefinition, MenuLabel, MenuRenderBlock, MenuRenderEntry, MenuRenderGroup, MenuRenderSingle, MultiSelectConfig, OdometerConfig, OdometerToken, OverlayArrowPosition, PaginationConfig, PaginationLabels, PaginationQuerySyncConfig, PasswordConfig, PinInputConfig, PopoverConfig, ProgressConfig, RadioButtonConfig, RatingConfig, RatingLabels, RatingStarContext, Rgba, RippleConfig, SelectConfig, SheetDetent, SheetHeaderTemplate, SheetMeasures, SkeletonConfig, SliderConfig, SplitterConfig, StepConfig, StepperConfig, StepperLabels, StepperSelectEvent, SwipeActionsConfig, SwitchConfig, TabNavConfig, TableColumnDefinition, TableConfig, TableData, TableTrackBy, TabsConfig, TabsQuerySyncConfig, TextareaConfig, ToastConfig, ToastOptions, ToastRef, ToastState, ToggleButtonConfig, ToggleGroupConfig, TooltipConfig, TooltipOwner, TooltipRequest, TrackBy, VirtualScrollConfig, VirtualScrollContext, acceptInput, accordionHeadingLevel, accordionVariant, alertColor, autocompleteFilterMode, badgeColor, badgePosition, badgeVariant, breadcrumbsSize, buttonColor, buttonType, buttonVariant, calendarCompact, calendarView, chipColor, chipSize, chipTemplateContext, chipVariant, color, colorFormat, colorRangeChannel, colorRangeSize, confirmActionsAlign, confirmButton, confirmSize, controlSize, dateTimePickerMode, dialogFooterAlign, dialogSize, dividerContentPosition, dividerOrientation, dividerVariant, drawerGrabber, drawerOpenPhase, drawerSide, drawerSize, errorTrigger, fileDragState, fileInputVariant, hexCase, iconRegistry, iconRenderer, imageCompareOrientation, infiniteScrollState, inputVariant, labelPosition, loaderSize, menuItemRole, menuItemType, menuPosition, orientation, overlayArrowAlignment, overlayArrowSide, overlayPosition, paginationItem, pinInputType, pointerType, progressActiveSegment, progressColor, radius, radiusValue, ratingColor, resolvedConfirmButton, sheetDetentSize, sheetFocusRestoreTarget, size, sliderColor, splitterOrientation, stepperColor, stepperLabelPosition, stepperOrientation, stepperValue, switchColor, systemIcon, tabValue, tableColumnAlignment, tableColumnCollapse, tabsHeaderAlign, tabsHeaderPosition, tabsItemsAlign, tabsOrientation, tabsVariant, textareaResize, tlsUiConfigProvider, toastAction, toastColor, toastPosition, toastSeverity, toastStacking, toggleButtonColor, toggleButtonVariant, toggleGroupVariant, tooltipColor, tooltipOrigin, tooltipPosition, tooltipSource };
|
|
7611
|
+
export type { AccordionConfig, ActivityHeatmapConfig, ActivityHeatmapDay, ActivityHeatmapEntry, ActivityHeatmapLabels, ActivityHeatmapMonth, ActivityHeatmapRow, ActivityHeatmapTotal, AlertConfig, AutocompleteConfig, BadgeConfig, BreadcrumbItem, BreadcrumbItemContext, BreadcrumbsConfig, ButtonConfig, CalendarConfig, CalendarDayContext, CalendarEvent, CalendarEventContext, CalendarLabels, CalendarRange, CarouselConfig, CarouselLabels, CheckboxConfig, ChipConfig, ChipContext, ChipControlConfig, ChipGroupConfig, ChipInputConfig, ColorInputConfig, ColorInputLabels, ColorPickerConfig, ColorPickerLabels, ColorRangeConfig, ColorRangeLabels, ColorSwatchPickerConfig, ColorSwatchPickerLabels, ConfirmConfig, ConfirmOptions, DateTimePickerConfig, DialogConfig, DialogOpenConfig, DividerConfig, DrawerConfig, DrawerOffset, DrawerOpenConfig, DrawerOpening, DrawerPanelConfig, DrawerSharedPair, DrawerSlideTiming, EyeDropperConstructor, FabMenuItemDefinition, FileInputConfig, FileInputDropZoneContext, FileInputFileContext, FormControlConfig, FormControlGroupConfig, FormItemConfig, FormItemLabelContext, HighlightConfig, HighlightSegment, Hsla, Hsva, IconConfig, ImageCompareConfig, ImagePreviewConfig, ImagePreviewData, ImagePreviewGroupItem, ImagePreviewImage, ImagePreviewLabels, ImagePreviewOpenConfig, ImagePreviewSource, InfiniteScrollConfig, InfiniteScrollLabels, InputConfig, InputNumberConfig, KbdConfig, LoaderConfig, MarkConfig, MaskResult, MenuActionItem, MenuConfig, MenuCustomItem, MenuDivider, MenuItemDefinition, MenuLabel, MenuRenderBlock, MenuRenderEntry, MenuRenderGroup, MenuRenderSingle, MultiSelectConfig, OdometerConfig, OdometerSlot, OdometerToken, OverlayArrowPosition, PaginationConfig, PaginationLabels, PaginationQuerySyncConfig, PasswordConfig, PinInputConfig, PopoverConfig, ProgressConfig, RadioButtonConfig, RatingConfig, RatingLabels, RatingStarContext, Rgba, RippleConfig, SelectConfig, SheetDetent, SheetHeaderTemplate, SheetMeasures, SkeletonConfig, SliderConfig, SplitterConfig, StepConfig, StepperConfig, StepperLabels, StepperSelectEvent, SwipeActionsConfig, SwitchConfig, TabNavConfig, TableColumnDefinition, TableConfig, TableData, TableTrackBy, TabsConfig, TabsQuerySyncConfig, TextareaConfig, ToastConfig, ToastOptions, ToastRef, ToastState, ToggleButtonConfig, ToggleGroupConfig, TooltipConfig, TooltipOwner, TooltipRequest, TrackBy, VirtualScrollConfig, VirtualScrollContext, acceptInput, accordionHeadingLevel, accordionVariant, alertColor, autocompleteFilterMode, badgeColor, badgePosition, badgeVariant, breadcrumbsSize, buttonColor, buttonType, buttonVariant, calendarCompact, calendarView, chipColor, chipSize, chipTemplateContext, chipVariant, color, colorFormat, colorRangeChannel, colorRangeSize, confirmActionsAlign, confirmButton, confirmSize, controlSize, dateTimePickerMode, dialogFooterAlign, dialogSize, dividerContentPosition, dividerOrientation, dividerVariant, drawerGrabber, drawerOpenPhase, drawerSide, drawerSize, errorTrigger, fileDragState, fileInputVariant, hexCase, iconRegistry, iconRenderer, imageCompareOrientation, infiniteScrollState, inputVariant, labelPosition, loaderSize, menuItemRole, menuItemType, menuPosition, odometerDirection, orientation, overlayArrowAlignment, overlayArrowSide, overlayPosition, paginationItem, pinInputType, pointerType, progressActiveSegment, progressColor, radius, radiusValue, ratingColor, resolvedConfirmButton, sheetDetentSize, sheetFocusRestoreTarget, size, sliderColor, splitterOrientation, stepperColor, stepperLabelPosition, stepperOrientation, stepperValue, switchColor, systemIcon, tabValue, tableColumnAlignment, tableColumnCollapse, tabsHeaderAlign, tabsHeaderPosition, tabsItemsAlign, tabsOrientation, tabsVariant, textareaResize, tlsUiConfigProvider, toastAction, toastColor, toastPosition, toastSeverity, toastStacking, toggleButtonColor, toggleButtonVariant, toggleGroupVariant, tooltipColor, tooltipOrigin, tooltipPosition, tooltipSource };
|