@thalassic/ui 22.27.0 → 22.28.1
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/types/thalassic-ui.d.ts
CHANGED
|
@@ -1,19 +1,20 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { TemplateRef, ElementRef, ModelSignal, InputSignal, WritableSignal, Signal, InputSignalWithTransform, OutputEmitterRef, InjectionToken, TrackByFunction, Type, EnvironmentProviders,
|
|
2
|
+
import { TemplateRef, ElementRef, ModelSignal, InputSignal, WritableSignal, Signal, InputSignalWithTransform, OutputEmitterRef, InjectionToken, Renderer2, Injector, TrackByFunction, Type, EnvironmentProviders, OnInit, OnDestroy, Provider, ComponentRef } from '@angular/core';
|
|
3
3
|
import { FormUiControl, WithOptionalFieldTree, ValidationError, FormValueControl, FormCheckboxControl, ReadonlyFieldTree } from '@angular/forms/signals';
|
|
4
4
|
import { FlexibleConnectedPositionStrategyOrigin, ConnectedPosition } from '@angular/cdk/overlay';
|
|
5
5
|
import { Day, Locale } from 'date-fns';
|
|
6
6
|
import * as i1 from '@thalassic/core';
|
|
7
|
-
import {
|
|
7
|
+
import { PanEvent, Point, breakpoint, SwipeEvent } from '@thalassic/core';
|
|
8
8
|
import * as _thalassic_ui from '@thalassic/ui';
|
|
9
|
-
import { CdkDialogContainer, DialogRef as DialogRef$1, DialogRole } from '@angular/cdk/dialog';
|
|
9
|
+
import { CdkDialogContainer, DialogRef as DialogRef$1, DialogRole, AutoFocusTarget } from '@angular/cdk/dialog';
|
|
10
10
|
import { Observable } from 'rxjs';
|
|
11
|
+
import * as i1$1 from '@angular/cdk/scrolling';
|
|
12
|
+
import { CdkVirtualForOfContext, ExtendedScrollToOptions } from '@angular/cdk/scrolling';
|
|
11
13
|
import { ComponentType } from '@angular/cdk/portal';
|
|
12
14
|
import { SafeHtml } from '@angular/platform-browser';
|
|
13
15
|
import { Router, ActivatedRoute } from '@angular/router';
|
|
14
|
-
import * as i1$
|
|
16
|
+
import * as i1$2 from '@angular/aria/tabs';
|
|
15
17
|
import { DataSource } from '@angular/cdk/table';
|
|
16
|
-
import { CdkVirtualForOfContext, ExtendedScrollToOptions } from '@angular/cdk/scrolling';
|
|
17
18
|
|
|
18
19
|
interface AccessibilityConfig {
|
|
19
20
|
/**
|
|
@@ -39,6 +40,8 @@ interface AccessibilityConfig {
|
|
|
39
40
|
* focus already belongs to whatever was pressed.
|
|
40
41
|
*/
|
|
41
42
|
type overlayCloseCause = 'outside-pointer' | 'backdrop' | 'escape' | 'requested';
|
|
43
|
+
/** How an overlay's pane is placed; see {@link ConnectedOverlayConfig.presentation}. */
|
|
44
|
+
type overlayPresentation = 'connected' | 'sheet';
|
|
42
45
|
interface ConnectedOverlayConfig {
|
|
43
46
|
/** Template projected into the overlay. */
|
|
44
47
|
content: TemplateRef<unknown>;
|
|
@@ -53,7 +56,7 @@ interface ConnectedOverlayConfig {
|
|
|
53
56
|
* scroll is blocked, and the backdrop defaults to the shared modal scrim so
|
|
54
57
|
* the sheet reads as the modal surface it is.
|
|
55
58
|
*/
|
|
56
|
-
presentation?:
|
|
59
|
+
presentation?: overlayPresentation;
|
|
57
60
|
/** Forwarded to the position strategy. Defaults to the CDK default (true). */
|
|
58
61
|
flexibleDimensions?: boolean;
|
|
59
62
|
/** Forwarded to the position strategy. Defaults to the CDK default (true). */
|
|
@@ -84,11 +87,12 @@ interface ConnectedOverlayConfig {
|
|
|
84
87
|
/** Close on an outside pointer event. Defaults to `true` when no backdrop is rendered. */
|
|
85
88
|
closeOnOutsidePointer?: boolean;
|
|
86
89
|
/**
|
|
87
|
-
*
|
|
90
|
+
* Elements outside the pane whose presses count as inside it, so they never dismiss the
|
|
88
91
|
* overlay: the field that opened it handles its own presses, and a trigger that toggles the
|
|
89
|
-
* overlay
|
|
92
|
+
* overlay — or a label that hands its click to that trigger — is not first closed by the
|
|
93
|
+
* press and then reopened by the trigger's own handler.
|
|
90
94
|
*/
|
|
91
|
-
|
|
95
|
+
insideElements?: readonly Element[];
|
|
92
96
|
/**
|
|
93
97
|
* Ignore the first outside `auxclick` after opening. Set when the overlay is
|
|
94
98
|
* opened by a right-click gesture (a context menu): that same gesture ends
|
|
@@ -134,6 +138,12 @@ declare class OverlayManager {
|
|
|
134
138
|
private readonly _destroyRef;
|
|
135
139
|
private _overlayRef;
|
|
136
140
|
private _config;
|
|
141
|
+
/**
|
|
142
|
+
* How the kept overlay was created to present. Its scroll strategy, backdrop
|
|
143
|
+
* and dismissal are fixed at creation, so a reused overlay serves only opens
|
|
144
|
+
* that present the same way.
|
|
145
|
+
*/
|
|
146
|
+
private _presentation;
|
|
137
147
|
private readonly _isOpen;
|
|
138
148
|
/**
|
|
139
149
|
* Armed by `ignoreTrailingAuxClick` on open: swallow the first outside
|
|
@@ -403,6 +413,203 @@ declare abstract class SelectionGroup<T, V = unknown> extends ValueFormControl<V
|
|
|
403
413
|
static ɵdir: i0.ɵɵDirectiveDeclaration<SelectionGroup<any, any>, never, 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; }; }, { "value": "valueChange"; }, never, never, true, never>;
|
|
404
414
|
}
|
|
405
415
|
|
|
416
|
+
/**
|
|
417
|
+
* Where a dragged surface's transform comes from. `idle` leaves it to the
|
|
418
|
+
* stylesheet's enter/leave keyframes; `dragging` hands it to the finger;
|
|
419
|
+
* `settling` animates it to where the release sent it.
|
|
420
|
+
*/
|
|
421
|
+
type dragMotionState = 'idle' | 'dragging' | 'settling';
|
|
422
|
+
/** What a `DragMotion` is fixed to for its lifetime. */
|
|
423
|
+
interface DragMotionOptions {
|
|
424
|
+
/** The custom property the stylesheet turns into the surface's translate. */
|
|
425
|
+
property: string;
|
|
426
|
+
/**
|
|
427
|
+
* Opacity of the scrim at a drag progress: `1 - progress` for a surface that
|
|
428
|
+
* dims as it leaves, `progress` for one that dims as it grows. Left out by a
|
|
429
|
+
* surface that never has a scrim.
|
|
430
|
+
*/
|
|
431
|
+
backdropOpacity?: (progress: number) => number;
|
|
432
|
+
renderer: Renderer2;
|
|
433
|
+
injector: Injector;
|
|
434
|
+
}
|
|
435
|
+
/** A settle's timing, for a CSS transition to play. */
|
|
436
|
+
interface SettleCurve {
|
|
437
|
+
/** Length of the settle in ms; 0 when there is nowhere to travel. */
|
|
438
|
+
duration: number;
|
|
439
|
+
/** A `linear()` easing tracing the travel, or `linear` when there is none. */
|
|
440
|
+
easing: string;
|
|
441
|
+
}
|
|
442
|
+
/**
|
|
443
|
+
* The elements one gesture moves, given per gesture: a surface stamped fresh on
|
|
444
|
+
* every open cannot be fixed at construction.
|
|
445
|
+
*/
|
|
446
|
+
interface DragMotionSurface {
|
|
447
|
+
panel: HTMLElement;
|
|
448
|
+
backdrop: HTMLElement | null;
|
|
449
|
+
/**
|
|
450
|
+
* Travel in px from rest to fully committed, which a scrim's progress and a
|
|
451
|
+
* commit rule are measured against. Left out by a surface that has neither —
|
|
452
|
+
* one with no scrim that decides its own release, such as a paged grid.
|
|
453
|
+
*/
|
|
454
|
+
extent?: number;
|
|
455
|
+
}
|
|
456
|
+
|
|
457
|
+
/**
|
|
458
|
+
* Moves a dragged surface along one axis: writes its displacement to the
|
|
459
|
+
* custom property the stylesheet turns into a translate, keeps a scrim's
|
|
460
|
+
* opacity in step with the drag, and settles the surface to where a release
|
|
461
|
+
* sent it through the stylesheet's transition.
|
|
462
|
+
*
|
|
463
|
+
* The engine knows nothing of what the offsets mean — where rest is, what
|
|
464
|
+
* range is legal, which release commits — and no pan events; the owning
|
|
465
|
+
* component maps its gesture onto `begin`, `follow` and `settle`.
|
|
466
|
+
*/
|
|
467
|
+
declare class DragMotion {
|
|
468
|
+
private readonly _options;
|
|
469
|
+
private readonly _state;
|
|
470
|
+
/** Bound to the surface's `--dragging` / `--settling` classes. */
|
|
471
|
+
readonly state: i0.Signal<dragMotionState>;
|
|
472
|
+
private _surface;
|
|
473
|
+
/**
|
|
474
|
+
* Incremented by begin and rest; a settle belongs to the gesture that started it.
|
|
475
|
+
*/
|
|
476
|
+
private _gesture;
|
|
477
|
+
constructor(_options: DragMotionOptions);
|
|
478
|
+
/** Travel in px of the gesture in progress, from rest to fully committed; 0 outside a gesture. */
|
|
479
|
+
get extent(): number;
|
|
480
|
+
/** Takes hold of the surface for one gesture. */
|
|
481
|
+
begin(surface: DragMotionSurface): void;
|
|
482
|
+
/**
|
|
483
|
+
* Moves the surface to `offset` px. The offset is written as given: what
|
|
484
|
+
* range is legal is the caller's rule.
|
|
485
|
+
*/
|
|
486
|
+
follow(offset: number): void;
|
|
487
|
+
/**
|
|
488
|
+
* Animates the surface to `target` px through the stylesheet's settle
|
|
489
|
+
* transition, then calls `done`. The state stays `settling` until `rest` is
|
|
490
|
+
* called: a settle that ends in a dispose keeps its class on until the
|
|
491
|
+
* overlay is gone, so the keyframe the class stands down cannot replay.
|
|
492
|
+
*
|
|
493
|
+
* `velocity` is the surface's speed at the start, in px/ms along the offset
|
|
494
|
+
* (positive as the offset grows) — a released finger's. The settle's timing
|
|
495
|
+
* goes onto the surface and its scrim as `--tls-settle-duration` and
|
|
496
|
+
* `--tls-settle-easing` (see `settleCurve`), for a settle transition to
|
|
497
|
+
* read, so the stylesheet keeps the motion's gating while the curve carries
|
|
498
|
+
* the hand's momentum on.
|
|
499
|
+
*
|
|
500
|
+
* A `begin` or `rest` that arrives before the settle finishes supersedes it:
|
|
501
|
+
* a superseded settle neither moves the surface nor reports `done`.
|
|
502
|
+
*/
|
|
503
|
+
settle(target: number, done: () => void, velocity?: number): void;
|
|
504
|
+
/**
|
|
505
|
+
* A settle from rest with no drag: takes hold of `surface` and settles it to
|
|
506
|
+
* `target` in one step, for a change asked by a click, a key or code rather
|
|
507
|
+
* than a finger. Supersedes a running settle the way a `begin` does.
|
|
508
|
+
*/
|
|
509
|
+
moveTo(surface: DragMotionSurface, target: number, done: () => void): void;
|
|
510
|
+
/**
|
|
511
|
+
* Lets go of the surface; the transform is the stylesheet's again. The
|
|
512
|
+
* settle's timing comes off with it, so a transition that outlives the
|
|
513
|
+
* gesture — a scrim's fade on close — keeps the stylesheet's own pace rather
|
|
514
|
+
* than the curve of the last settle.
|
|
515
|
+
*/
|
|
516
|
+
rest(): void;
|
|
517
|
+
/**
|
|
518
|
+
* Writes the timing of a settle to `target` onto the surface and its scrim.
|
|
519
|
+
* The travel starts from the offset last written inline, which is where a
|
|
520
|
+
* released drag left the surface; a settle that supersedes another starts
|
|
521
|
+
* from the other's target, and the browser's own retargeting of the running
|
|
522
|
+
* transition covers the difference.
|
|
523
|
+
*/
|
|
524
|
+
private _writeCurve;
|
|
525
|
+
/**
|
|
526
|
+
* Only the backdrop's progress is clamped to the extent; the offset itself
|
|
527
|
+
* is written unclamped.
|
|
528
|
+
*/
|
|
529
|
+
private _write;
|
|
530
|
+
}
|
|
531
|
+
|
|
532
|
+
/**
|
|
533
|
+
* The travel of a critically damped spring over `distance` px, launched at
|
|
534
|
+
* `velocity` px/ms, as a duration and a `linear()` easing for a CSS transition
|
|
535
|
+
* to play. Both are signed along one axis, so a velocity that shares the
|
|
536
|
+
* distance's sign heads for the target.
|
|
537
|
+
*
|
|
538
|
+
* Launched with the finger's speed, the surface leaves the release at the pace
|
|
539
|
+
* it was moving and eases into the target, instead of starting every settle at
|
|
540
|
+
* one fixed curve's speed whatever the hand was doing. The launch is capped at
|
|
541
|
+
* the spring's own angular frequency, the fastest a critically damped spring
|
|
542
|
+
* can start without passing its target — a surface that overshot its largest
|
|
543
|
+
* detent would lift off the edge it is pinned to. A launch away from the target
|
|
544
|
+
* carries on that way briefly before the spring turns it round, as momentum
|
|
545
|
+
* does on the platforms.
|
|
546
|
+
*
|
|
547
|
+
* @example
|
|
548
|
+
* settleCurve(0.2, 0); // { duration: 0, easing: 'linear' } — already there
|
|
549
|
+
* settleCurve(300, 0); // { duration: 450, easing: 'linear(0, 0.0405, 0.1323, …, 1)' } — from rest, gathers speed
|
|
550
|
+
* settleCurve(300, 1.5); // { duration: 433, easing: 'linear(0, 0.0989, 0.2174, …, 1)' } — launch capped at the frequency
|
|
551
|
+
* settleCurve(40, -0.4); // { duration: 350, easing: 'linear(0, -0.0767, -0.0402, …, 1)' } — carries on away, then turns
|
|
552
|
+
*/
|
|
553
|
+
declare function settleCurve(distance: number, velocity: number): SettleCurve;
|
|
554
|
+
|
|
555
|
+
/** What a `SheetDragDismissal` is fixed to for its lifetime. */
|
|
556
|
+
interface SheetDragDismissalOptions {
|
|
557
|
+
/** The custom property the stylesheet turns into the pane's translate. */
|
|
558
|
+
property: string;
|
|
559
|
+
/** The open overlay's scrim, which thins as the pane is dragged out; `null` without one. */
|
|
560
|
+
backdrop: () => HTMLElement | null;
|
|
561
|
+
/** Closes the overlay once a released drag has carried the pane out. */
|
|
562
|
+
close: () => void;
|
|
563
|
+
renderer: Renderer2;
|
|
564
|
+
injector: Injector;
|
|
565
|
+
}
|
|
566
|
+
|
|
567
|
+
/**
|
|
568
|
+
* Drags an overlay shown as a bottom sheet shut: the finger carries the pane
|
|
569
|
+
* toward the bottom edge, and a release either sends it out and closes the
|
|
570
|
+
* overlay or settles it back open. The sheet does not overshoot open, so travel
|
|
571
|
+
* upward is clamped away.
|
|
572
|
+
*
|
|
573
|
+
* The owning component forwards its pane's pan events to the `on*` methods and
|
|
574
|
+
* calls `reset` on every open; the pane binds `motion.state()` to its
|
|
575
|
+
* `--dragging` / `--settling` classes, under which the stylesheet turns the
|
|
576
|
+
* property named in the options into a translate.
|
|
577
|
+
*/
|
|
578
|
+
declare class SheetDragDismissal {
|
|
579
|
+
private readonly _options;
|
|
580
|
+
/** The pane's motion, whose state the stylesheet's drag and settle classes follow. */
|
|
581
|
+
readonly motion: DragMotion;
|
|
582
|
+
/** Set once a release commits to closing, so a late pan event cannot catch the leaving pane. */
|
|
583
|
+
private _closing;
|
|
584
|
+
/**
|
|
585
|
+
* How far below its rest the pane was drawn when the drag began: 0 from
|
|
586
|
+
* rest, the settle's position when caught mid-flight.
|
|
587
|
+
*/
|
|
588
|
+
private _lead;
|
|
589
|
+
constructor(_options: SheetDragDismissalOptions);
|
|
590
|
+
/** Readies a fresh open: the pane is stamped anew each time, so only this state carries over. */
|
|
591
|
+
reset(): void;
|
|
592
|
+
onPanStart(pane: HTMLElement, event: PanEvent): void;
|
|
593
|
+
/**
|
|
594
|
+
* Fired outside the Angular zone (see `PanDirective.panMove`), so it writes
|
|
595
|
+
* to the DOM directly and never touches a signal.
|
|
596
|
+
*/
|
|
597
|
+
onPanMove(event: PanEvent): void;
|
|
598
|
+
onPanEnd(event: PanEvent): void;
|
|
599
|
+
onPanCancel(): void;
|
|
600
|
+
/** Travel toward the bottom edge in px: where the drag picked the pane up, plus the finger's travel since. */
|
|
601
|
+
private _travel;
|
|
602
|
+
/**
|
|
603
|
+
* Continues the drag out to `target` px — past the bottom edge, or further
|
|
604
|
+
* where the finger already went — at the finger's `velocity`, and closes on
|
|
605
|
+
* arrival. A dismissal that began as a drag must not route through the
|
|
606
|
+
* leave keyframe: that starts from the fully open position, so the pane
|
|
607
|
+
* would snap back for a frame before leaving — the stylesheet stands the
|
|
608
|
+
* keyframe down while the drag state classes are on.
|
|
609
|
+
*/
|
|
610
|
+
private _close;
|
|
611
|
+
}
|
|
612
|
+
|
|
406
613
|
/**
|
|
407
614
|
* Context exposed to a consumer-provided option template of a listbox control
|
|
408
615
|
* (`tls-select`, `tls-multi-select`, `tls-autocomplete`).
|
|
@@ -621,9 +828,17 @@ declare class ActivityHeatmap {
|
|
|
621
828
|
* derived from the busiest day, so the scale always spans the data.
|
|
622
829
|
*/
|
|
623
830
|
readonly thresholds: InputSignal<number[] | undefined>;
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
831
|
+
/**
|
|
832
|
+
* First day of the week (`date-fns` convention: 0 = Sunday) for this instance alone. Unset, it
|
|
833
|
+
* follows the component config's `weekStartsOn`, then the app-wide `WEEK_STARTS_ON`.
|
|
834
|
+
*/
|
|
835
|
+
readonly weekStartsOn: InputSignal<Day | undefined>;
|
|
836
|
+
/**
|
|
837
|
+
* Short weekday labels, Sunday-first, for this instance alone; rotated to honour
|
|
838
|
+
* `weekStartsOn`. Unset, they follow the component config's `weekDays`, then the configured
|
|
839
|
+
* `date-fns` locale.
|
|
840
|
+
*/
|
|
841
|
+
readonly weekDays: InputSignal<string[] | undefined>;
|
|
627
842
|
/** Every nth weekday row carries a label; 1 labels all seven, 2 labels every other row. */
|
|
628
843
|
readonly weekdayLabelInterval: InputSignalWithTransform<number, unknown>;
|
|
629
844
|
readonly color: InputSignal<color>;
|
|
@@ -642,6 +857,10 @@ declare class ActivityHeatmap {
|
|
|
642
857
|
private readonly _dateOptions;
|
|
643
858
|
/** Today, so the today marker moves across midnight and the grid rebuilds only then. */
|
|
644
859
|
private readonly _today;
|
|
860
|
+
/** The first day of the week this instance lays its days out from. */
|
|
861
|
+
protected readonly resolvedWeekStartsOn: Signal<Day>;
|
|
862
|
+
/** The weekday names this instance heads its days with, Sunday first. */
|
|
863
|
+
protected readonly resolvedWeekDays: Signal<string[]>;
|
|
645
864
|
/** Steps actually rendered; a heatmap needs an empty step plus at least one active one. */
|
|
646
865
|
protected readonly resolvedLevels: Signal<number>;
|
|
647
866
|
protected readonly gridLabel: Signal<string | undefined>;
|
|
@@ -685,10 +904,17 @@ interface ActivityHeatmapLabels {
|
|
|
685
904
|
interface ActivityHeatmapConfig {
|
|
686
905
|
/** Intensity steps including the empty one, so `levels - 1` shades carry activity. */
|
|
687
906
|
levels: number;
|
|
688
|
-
/**
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
|
|
907
|
+
/**
|
|
908
|
+
* First day of the week (`date-fns` convention: 0 = Sunday) for every heatmap, over the
|
|
909
|
+
* app-wide `WEEK_STARTS_ON`; becomes the grid's first row. Unset, heatmaps follow that
|
|
910
|
+
* global value.
|
|
911
|
+
*/
|
|
912
|
+
weekStartsOn?: Day;
|
|
913
|
+
/**
|
|
914
|
+
* Short weekday labels, Sunday-first, for every heatmap; rotated to honour `weekStartsOn`.
|
|
915
|
+
* Unset, they are the configured `date-fns` locale's own.
|
|
916
|
+
*/
|
|
917
|
+
weekDays?: string[];
|
|
692
918
|
/** Length of the default range in months, used when no `startDate` is given. */
|
|
693
919
|
rangeMonths: number;
|
|
694
920
|
/** Every nth weekday row carries a label, so dense grids stay legible; 1 labels every row. */
|
|
@@ -1198,11 +1424,18 @@ declare const DEFAULT_BUTTON_CONFIG: ButtonConfig;
|
|
|
1198
1424
|
declare const BUTTON_CONFIG: InjectionToken<ButtonConfig>;
|
|
1199
1425
|
|
|
1200
1426
|
type calendarView = 'month' | 'week' | 'day' | 'agenda';
|
|
1427
|
+
/** One period of paging: `1` forward to the next, `-1` back to the previous. */
|
|
1428
|
+
type calendarPageStep = -1 | 1;
|
|
1201
1429
|
/**
|
|
1202
1430
|
* Density of the calendar's layout. `'auto'` resolves from the calendar's own rendered width, so
|
|
1203
1431
|
* a calendar in a narrow column is dense even on a wide screen; a boolean pins it either way.
|
|
1204
1432
|
*/
|
|
1205
1433
|
type calendarCompact = boolean | 'auto';
|
|
1434
|
+
/**
|
|
1435
|
+
* Shape of the mark an event leaves on a day in the dense month layout. Shapes let a consumer
|
|
1436
|
+
* tell kinds of event apart without leaning on colour alone.
|
|
1437
|
+
*/
|
|
1438
|
+
type calendarMarker = 'dot' | 'ring' | 'triangle' | 'dash';
|
|
1206
1439
|
/**
|
|
1207
1440
|
* Week rows a month grid shows beyond the month's own, counted for each edge of the grid on
|
|
1208
1441
|
* its own.
|
|
@@ -1222,6 +1455,8 @@ interface CalendarEvent {
|
|
|
1222
1455
|
allDay?: boolean;
|
|
1223
1456
|
/** Tints the default event chip with a wash of a semantic color token, inked in the same hue. */
|
|
1224
1457
|
color?: color;
|
|
1458
|
+
/** Shape of the event's mark in the dense month layout; a filled dot when omitted. */
|
|
1459
|
+
marker?: calendarMarker;
|
|
1225
1460
|
/** Consumer payload, surfaced in the template context and selection outputs. */
|
|
1226
1461
|
data?: unknown;
|
|
1227
1462
|
}
|
|
@@ -1235,6 +1470,27 @@ interface CalendarEventContext {
|
|
|
1235
1470
|
$implicit: CalendarEvent;
|
|
1236
1471
|
view: calendarView;
|
|
1237
1472
|
}
|
|
1473
|
+
/**
|
|
1474
|
+
* Context handed to a consumer's header template, which replaces the calendar's own header: the
|
|
1475
|
+
* period on screen and the navigation the default header offers, with the states that govern it,
|
|
1476
|
+
* so a header of any design pages the calendar exactly as the built-in one does.
|
|
1477
|
+
*/
|
|
1478
|
+
interface CalendarHeaderContext {
|
|
1479
|
+
/** The period on screen, formatted for the active locale ("November 2026"). */
|
|
1480
|
+
$implicit: string;
|
|
1481
|
+
/** The view on screen, which sets how far the paging steps: a month, a week or a day. */
|
|
1482
|
+
view: calendarView;
|
|
1483
|
+
/** Whether an earlier period holds a day that can be picked; false at the one holding `minDate`. */
|
|
1484
|
+
canGoPrevious: boolean;
|
|
1485
|
+
/** Whether the period on screen already includes today, so going to today would change nothing. */
|
|
1486
|
+
isViewingToday: boolean;
|
|
1487
|
+
/** Moves to the previous period, never before the one holding `minDate`. */
|
|
1488
|
+
previous: () => void;
|
|
1489
|
+
/** Moves to the next period. */
|
|
1490
|
+
next: () => void;
|
|
1491
|
+
/** Brings today's period into view. */
|
|
1492
|
+
today: () => void;
|
|
1493
|
+
}
|
|
1238
1494
|
/**
|
|
1239
1495
|
* Context object exposed to a consumer-provided month day-cell template slot. The slot replaces
|
|
1240
1496
|
* what the cell renders — its number, event dots and "+N more" — while the cell element itself
|
|
@@ -1242,14 +1498,20 @@ interface CalendarEventContext {
|
|
|
1242
1498
|
*/
|
|
1243
1499
|
interface CalendarDayContext {
|
|
1244
1500
|
$implicit: Date;
|
|
1501
|
+
/** Whether the day can be picked: within `minDate` and let through by `dateFilter`. */
|
|
1502
|
+
isDisabled: boolean;
|
|
1245
1503
|
/** Day of the month, formatted for the active locale. */
|
|
1246
1504
|
dayNumber: string;
|
|
1247
1505
|
/** Whether the day belongs to the month on screen rather than the padding around it. */
|
|
1248
1506
|
inCurrentMonth: boolean;
|
|
1249
1507
|
isToday: boolean;
|
|
1508
|
+
/** Whether the day is the calendar's selected date. */
|
|
1509
|
+
isSelected: boolean;
|
|
1250
1510
|
/** Every event covering the day, in start order. */
|
|
1251
1511
|
events: CalendarEvent[];
|
|
1252
1512
|
}
|
|
1513
|
+
/** Whether a day can be picked; a day it turns away is drawn and announced as unavailable. */
|
|
1514
|
+
type CalendarDateFilter = (date: Date) => boolean;
|
|
1253
1515
|
|
|
1254
1516
|
/** User-facing strings rendered by the calendar and its views, overridable for localization. */
|
|
1255
1517
|
interface CalendarLabels {
|
|
@@ -1278,10 +1540,16 @@ interface CalendarConfig {
|
|
|
1278
1540
|
view: calendarView;
|
|
1279
1541
|
/** Views the switcher offers, in the order they appear; a single entry hides the switcher. */
|
|
1280
1542
|
views: calendarView[];
|
|
1281
|
-
/**
|
|
1282
|
-
|
|
1283
|
-
|
|
1284
|
-
|
|
1543
|
+
/**
|
|
1544
|
+
* First day of the week (`date-fns` convention: 0 = Sunday) for every calendar, over the
|
|
1545
|
+
* app-wide `WEEK_STARTS_ON`. Unset, calendars follow that global value.
|
|
1546
|
+
*/
|
|
1547
|
+
weekStartsOn?: Day;
|
|
1548
|
+
/**
|
|
1549
|
+
* Short weekday labels, Sunday-first, for every calendar; rotated to honour `weekStartsOn`.
|
|
1550
|
+
* Unset, they are the configured `date-fns` locale's own.
|
|
1551
|
+
*/
|
|
1552
|
+
weekDays?: string[];
|
|
1285
1553
|
/** First hour rendered by the week/day time-grid. */
|
|
1286
1554
|
hourStart: number;
|
|
1287
1555
|
/** Last hour rendered by the week/day time-grid. */
|
|
@@ -1299,8 +1567,16 @@ declare class Calendar {
|
|
|
1299
1567
|
private readonly _config;
|
|
1300
1568
|
private readonly _locale;
|
|
1301
1569
|
readonly events: InputSignal<CalendarEvent[]>;
|
|
1302
|
-
|
|
1303
|
-
|
|
1570
|
+
/**
|
|
1571
|
+
* First day of the week (`date-fns` convention: 0 = Sunday) for this instance alone. Unset, it
|
|
1572
|
+
* follows the component config's `weekStartsOn`, then the app-wide `WEEK_STARTS_ON`.
|
|
1573
|
+
*/
|
|
1574
|
+
readonly weekStartsOn: InputSignal<Day | undefined>;
|
|
1575
|
+
/**
|
|
1576
|
+
* Weekday names, Sunday first, for this instance alone. Unset, they follow the component
|
|
1577
|
+
* config's `weekDays`, then the configured `date-fns` locale.
|
|
1578
|
+
*/
|
|
1579
|
+
readonly weekDays: InputSignal<string[] | undefined>;
|
|
1304
1580
|
readonly hourStart: InputSignal<number>;
|
|
1305
1581
|
readonly hourEnd: InputSignal<number>;
|
|
1306
1582
|
readonly showAllDayRow: InputSignal<boolean>;
|
|
@@ -1330,8 +1606,16 @@ declare class Calendar {
|
|
|
1330
1606
|
*/
|
|
1331
1607
|
readonly squareCells: InputSignal<boolean>;
|
|
1332
1608
|
/**
|
|
1333
|
-
* Whether
|
|
1334
|
-
*
|
|
1609
|
+
* Whether the month grid fills the height its host is given rather than growing to its
|
|
1610
|
+
* events: the weeks share that height, and each day shows as many event bars as fit,
|
|
1611
|
+
* counting the rest in its "+N more" — never more than `maxEventsPerDay`. Needs a host
|
|
1612
|
+
* with a definite height; without one the rows settle at their smallest.
|
|
1613
|
+
*/
|
|
1614
|
+
readonly fitHeight: InputSignal<boolean>;
|
|
1615
|
+
/**
|
|
1616
|
+
* Whether a vertical touch drag over the month grid pages the calendar: the grid follows the
|
|
1617
|
+
* finger, with the next month waiting below and the previous one above, and settles on
|
|
1618
|
+
* whichever the release commits to. Off by default: the gesture claims vertical pans from the
|
|
1335
1619
|
* browser, so it belongs only on a grid that is not itself inside something it must scroll.
|
|
1336
1620
|
*/
|
|
1337
1621
|
readonly swipeNavigation: InputSignal<boolean>;
|
|
@@ -1346,6 +1630,24 @@ declare class Calendar {
|
|
|
1346
1630
|
readonly peekWeeks: InputSignalWithTransform<CalendarPeekWeeks, number | CalendarPeekWeeks>;
|
|
1347
1631
|
/** Accessible name forwarded to the active view's grid. */
|
|
1348
1632
|
readonly ariaLabel: InputSignal<string | undefined>;
|
|
1633
|
+
/**
|
|
1634
|
+
* The selected day, drawn and exposed as selected in the month grid. While null — the default —
|
|
1635
|
+
* nothing is selected and the grid exposes no selection at all. Picking a day only emits
|
|
1636
|
+
* `dateSelect`; the consumer decides whether that moves the selection.
|
|
1637
|
+
*/
|
|
1638
|
+
readonly selectedDate: InputSignal<Date | null>;
|
|
1639
|
+
/**
|
|
1640
|
+
* Replaces the spoken summary of a day's markers in the dense month layout ("3 events") with the
|
|
1641
|
+
* consumer's own sentence for that day's events, so the marks can say what they mean.
|
|
1642
|
+
*/
|
|
1643
|
+
readonly markersLabel: InputSignal<((events: CalendarEvent[]) => string) | undefined>;
|
|
1644
|
+
/**
|
|
1645
|
+
* The earliest day that can be picked. The month grid disables every day before it, and the
|
|
1646
|
+
* previous control stops at the period that holds it, since nothing earlier can be picked.
|
|
1647
|
+
*/
|
|
1648
|
+
readonly minDate: InputSignal<Date | null>;
|
|
1649
|
+
/** Whether a day can be picked; the month grid disables a day it turns away. */
|
|
1650
|
+
readonly dateFilter: InputSignal<CalendarDateFilter | null>;
|
|
1349
1651
|
readonly eventSelect: OutputEmitterRef<CalendarEvent>;
|
|
1350
1652
|
readonly dateSelect: OutputEmitterRef<Date>;
|
|
1351
1653
|
/** Fires whenever the visible span changes, so consumers can lazy-load that window's events. */
|
|
@@ -1354,12 +1656,20 @@ declare class Calendar {
|
|
|
1354
1656
|
/** Anchor date driving the visible range; navigation shifts it by the view's unit. */
|
|
1355
1657
|
readonly activeDate: ModelSignal<Date>;
|
|
1356
1658
|
protected readonly labels: CalendarLabels;
|
|
1357
|
-
protected readonly swipePointerTypes: string[];
|
|
1358
1659
|
protected readonly eventTemplate: Signal<TemplateRef<CalendarEventContext> | undefined>;
|
|
1359
1660
|
protected readonly dayTemplate: Signal<TemplateRef<CalendarDayContext> | undefined>;
|
|
1360
|
-
|
|
1661
|
+
/**
|
|
1662
|
+
* Replaces the built-in header with the consumer's own, handed the period and the navigation
|
|
1663
|
+
* through {@link CalendarHeaderContext}. Shown while `showHeader` is on; the switches for the
|
|
1664
|
+
* built-in header's parts do not apply to it.
|
|
1665
|
+
*/
|
|
1666
|
+
protected readonly headerTemplate: Signal<TemplateRef<CalendarHeaderContext> | undefined>;
|
|
1361
1667
|
/** Today, so the "Today" affordance stays correct across midnight. */
|
|
1362
1668
|
private readonly _today;
|
|
1669
|
+
/** The first day of the week this instance lays its days out from. */
|
|
1670
|
+
protected readonly resolvedWeekStartsOn: Signal<Day>;
|
|
1671
|
+
/** The weekday names this instance heads its days with, Sunday first. */
|
|
1672
|
+
protected readonly resolvedWeekDays: Signal<string[]>;
|
|
1363
1673
|
protected readonly hostClasses: Signal<string[]>;
|
|
1364
1674
|
protected readonly viewOptions: Signal<{
|
|
1365
1675
|
label: string;
|
|
@@ -1369,27 +1679,31 @@ declare class Calendar {
|
|
|
1369
1679
|
protected readonly showsViewSwitcher: Signal<boolean>;
|
|
1370
1680
|
/** Suppresses the header wrapper once every part it would hold is hidden. */
|
|
1371
1681
|
protected readonly showsHeader: Signal<boolean>;
|
|
1682
|
+
/** Whether an earlier period holds a day that can be picked; false at the one holding `minDate`. */
|
|
1683
|
+
protected readonly canGoPrevious: Signal<boolean>;
|
|
1372
1684
|
/** Whether the active period already includes today, so "Today" would be a no-op. */
|
|
1373
1685
|
protected readonly isViewingToday: Signal<boolean>;
|
|
1374
1686
|
protected readonly title: Signal<string>;
|
|
1687
|
+
/** What a consumer's header template is handed; rebuilt as the period or its limits change. */
|
|
1688
|
+
protected readonly headerContext: Signal<CalendarHeaderContext>;
|
|
1375
1689
|
protected readonly visibleRange: Signal<CalendarRange>;
|
|
1376
1690
|
/** Day columns fed to the time-grid: a full week for `week`, a single day for `day`. */
|
|
1377
1691
|
protected readonly timeGridDays: Signal<Date[]>;
|
|
1378
1692
|
constructor();
|
|
1379
1693
|
/** Moves to the next period in the current view's unit. */
|
|
1380
1694
|
next(): void;
|
|
1381
|
-
/** Moves to the previous period in the current view's unit
|
|
1695
|
+
/** Moves to the previous period in the current view's unit, never before the one holding `minDate`. */
|
|
1382
1696
|
previous(): void;
|
|
1383
1697
|
/** Snaps the anchor date back to today. */
|
|
1384
1698
|
today(): void;
|
|
1385
1699
|
protected onViewChange(views: calendarView[]): void;
|
|
1386
|
-
/**
|
|
1387
|
-
protected
|
|
1700
|
+
/** A paging drag over the month grid committed to the neighbouring month. */
|
|
1701
|
+
protected onPage(step: calendarPageStep): void;
|
|
1388
1702
|
private _step;
|
|
1389
1703
|
private _weekBounds;
|
|
1390
1704
|
private _weekTitle;
|
|
1391
1705
|
static ɵfac: i0.ɵɵFactoryDeclaration<Calendar, never>;
|
|
1392
|
-
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>;
|
|
1706
|
+
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; }; "fitHeight": { "alias": "fitHeight"; "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; }; "selectedDate": { "alias": "selectedDate"; "required": false; "isSignal": true; }; "markersLabel": { "alias": "markersLabel"; "required": false; "isSignal": true; }; "minDate": { "alias": "minDate"; "required": false; "isSignal": true; }; "dateFilter": { "alias": "dateFilter"; "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", "headerTemplate"], never, true, never>;
|
|
1393
1707
|
}
|
|
1394
1708
|
|
|
1395
1709
|
/** A day that has events, precomputed for the agenda list. */
|
|
@@ -1415,7 +1729,6 @@ declare class CalendarAgendaView {
|
|
|
1415
1729
|
readonly dateSelect: OutputEmitterRef<Date>;
|
|
1416
1730
|
readonly eventSelect: OutputEmitterRef<CalendarEvent>;
|
|
1417
1731
|
protected readonly noEventsLabel: string;
|
|
1418
|
-
private readonly _dateOptions;
|
|
1419
1732
|
/** Today, so the today marker moves across midnight and the list rebuilds only then. */
|
|
1420
1733
|
private readonly _today;
|
|
1421
1734
|
protected readonly days: Signal<AgendaDay[]>;
|
|
@@ -1465,10 +1778,15 @@ interface MonthDay {
|
|
|
1465
1778
|
dayNumber: string;
|
|
1466
1779
|
inCurrentMonth: boolean;
|
|
1467
1780
|
isToday: boolean;
|
|
1781
|
+
isSelected: boolean;
|
|
1782
|
+
/** Outside `minDate` or turned away by `dateFilter`: drawn and announced, never picked. */
|
|
1783
|
+
isDisabled: boolean;
|
|
1468
1784
|
hiddenCount: number;
|
|
1469
1785
|
/** How many events cover the day in total, however the layout chooses to present them. */
|
|
1470
1786
|
eventCount: number;
|
|
1471
1787
|
markers: MonthDayMarker[];
|
|
1788
|
+
/** What the day's markers say to assistive technology, the only textual form they have. */
|
|
1789
|
+
markersLabel: string;
|
|
1472
1790
|
/** Built with the cell so a template slot is not handed a fresh object on every check. */
|
|
1473
1791
|
context: CalendarDayContext;
|
|
1474
1792
|
}
|
|
@@ -1490,6 +1808,9 @@ declare class CalendarMonthView {
|
|
|
1490
1808
|
private readonly _config;
|
|
1491
1809
|
private readonly _changeDetectorRef;
|
|
1492
1810
|
private readonly _injector;
|
|
1811
|
+
private readonly _destroyRef;
|
|
1812
|
+
private readonly _renderer;
|
|
1813
|
+
private readonly _pan;
|
|
1493
1814
|
readonly activeDate: InputSignal<Date>;
|
|
1494
1815
|
readonly events: InputSignal<CalendarEvent[]>;
|
|
1495
1816
|
readonly weekStartsOn: InputSignal<Day>;
|
|
@@ -1497,6 +1818,8 @@ declare class CalendarMonthView {
|
|
|
1497
1818
|
readonly maxEventsPerDay: InputSignal<number>;
|
|
1498
1819
|
/** Whether day cells are held to a 1:1 ratio instead of sizing to the events they hold. */
|
|
1499
1820
|
readonly squareCells: InputSignal<boolean>;
|
|
1821
|
+
/** Whether the grid fills the height it is given, showing per day only the bars that fit. */
|
|
1822
|
+
readonly fitHeight: InputSignal<boolean>;
|
|
1500
1823
|
/**
|
|
1501
1824
|
* Week rows rendered beyond the month's own window, counted for each edge of the grid,
|
|
1502
1825
|
* fading out toward that edge.
|
|
@@ -1507,43 +1830,138 @@ declare class CalendarMonthView {
|
|
|
1507
1830
|
readonly dayTemplate: InputSignal<TemplateRef<CalendarDayContext> | undefined>;
|
|
1508
1831
|
/** Accessible name for the grid, announced when focus enters it. */
|
|
1509
1832
|
readonly label: InputSignal<string | undefined>;
|
|
1833
|
+
/** The selected day, drawn and exposed as selected; none while null. */
|
|
1834
|
+
readonly selectedDate: InputSignal<Date | null>;
|
|
1835
|
+
/** Replaces the dense layout's spoken event count for a day with the consumer's own sentence. */
|
|
1836
|
+
readonly markersLabel: InputSignal<((events: CalendarEvent[]) => string) | undefined>;
|
|
1837
|
+
/** The earliest day that can be picked; every day before it is disabled. */
|
|
1838
|
+
readonly minDate: InputSignal<Date | null>;
|
|
1839
|
+
/** Whether a day can be picked; a day it turns away is disabled. */
|
|
1840
|
+
readonly dateFilter: InputSignal<CalendarDateFilter | null>;
|
|
1841
|
+
/**
|
|
1842
|
+
* Whether a month before the active one can be paged to. While it cannot, a paging drag
|
|
1843
|
+
* toward it only stretches under the finger and goes back on release.
|
|
1844
|
+
*/
|
|
1845
|
+
readonly canPageBack: InputSignal<boolean>;
|
|
1510
1846
|
readonly dateSelect: OutputEmitterRef<Date>;
|
|
1511
1847
|
readonly eventSelect: OutputEmitterRef<CalendarEvent>;
|
|
1848
|
+
/**
|
|
1849
|
+
* Asks to page one month forward (`1`) or back (`-1`) once a paging drag is let go past the
|
|
1850
|
+
* point of committing. The grid is already gliding to that month, and lands on it once
|
|
1851
|
+
* `activeDate` follows.
|
|
1852
|
+
*/
|
|
1853
|
+
readonly page: OutputEmitterRef<calendarPageStep>;
|
|
1854
|
+
/**
|
|
1855
|
+
* Moves the widened grid under a paging drag or a navigation scroll, and settles it on the
|
|
1856
|
+
* spring a release or a navigation sends it on. The grid has no scrim, so nothing dims with it.
|
|
1857
|
+
*/
|
|
1858
|
+
protected readonly motion: DragMotion;
|
|
1512
1859
|
private readonly _dateOptions;
|
|
1513
1860
|
/** Today, so the today highlight moves across midnight and the grid rebuilds only then. */
|
|
1514
1861
|
private readonly _today;
|
|
1515
|
-
/** Widened week window a navigation scroll renders
|
|
1516
|
-
private readonly
|
|
1862
|
+
/** Widened week window a navigation scroll or a paging drag renders; unset while the grid rests. */
|
|
1863
|
+
private readonly _widenedWindow;
|
|
1517
1864
|
private readonly _grid;
|
|
1518
|
-
/**
|
|
1519
|
-
private
|
|
1865
|
+
/** Each week's lane overlay; its height is the room a week's rows leave for bars. */
|
|
1866
|
+
private readonly _bars;
|
|
1867
|
+
/**
|
|
1868
|
+
* The lanes a week row has room for, measured while the grid fits its height; null until
|
|
1869
|
+
* measured, and whenever the bars are not laid out (the dense layout hides them).
|
|
1870
|
+
*/
|
|
1871
|
+
private readonly _fittingLanes;
|
|
1872
|
+
/** The paging drag in progress; null while no finger holds the grid. */
|
|
1873
|
+
private _drag;
|
|
1874
|
+
/**
|
|
1875
|
+
* Month a committed paging drag is gliding to, so its arrival as `activeDate` is recognised
|
|
1876
|
+
* as the glide's own destination rather than scrolled to a second time.
|
|
1877
|
+
*/
|
|
1878
|
+
private _pageTarget;
|
|
1520
1879
|
/** Anchor the grid last rendered for, naming the window a navigation scrolls away from. */
|
|
1521
1880
|
private _renderedDate;
|
|
1522
1881
|
/** The week rows the grid holds at rest: the month's window plus its peek weeks. */
|
|
1523
1882
|
protected readonly gridWindow: Signal<MonthWindow>;
|
|
1883
|
+
/** Bars a day shows before counting the rest as "+N more". */
|
|
1884
|
+
protected readonly lanes: Signal<number>;
|
|
1524
1885
|
protected readonly weekdayHeaders: Signal<string[]>;
|
|
1525
1886
|
protected readonly weeks: Signal<MonthWeek[]>;
|
|
1526
1887
|
constructor();
|
|
1527
1888
|
/** Localized "+N more" label for a day cell with `count` hidden events. */
|
|
1528
1889
|
protected moreLabel(count: number): string;
|
|
1529
|
-
/**
|
|
1530
|
-
protected
|
|
1531
|
-
/** Space would scroll the page; consume it and
|
|
1532
|
-
protected onDaySpace(event: Event,
|
|
1890
|
+
/** Picks a day by pointer or Enter; a disabled day stays focusable but picks nothing. */
|
|
1891
|
+
protected onDayPick(day: MonthDay): void;
|
|
1892
|
+
/** Space would scroll the page; consume it and pick the focused day instead. */
|
|
1893
|
+
protected onDaySpace(event: Event, day: MonthDay): void;
|
|
1533
1894
|
/**
|
|
1534
1895
|
* Slides the grid from `from`'s window to `to`'s: the union of both windows renders at once,
|
|
1535
|
-
* pinned to the resting row height, and
|
|
1536
|
-
*
|
|
1537
|
-
*
|
|
1538
|
-
*
|
|
1539
|
-
* Style writes go to the element directly: the jump to the outgoing offset must paint with
|
|
1540
|
-
* the widened render, and the cleanup must paint with the collapsed one — frame boundaries a
|
|
1541
|
-
* template binding cannot express.
|
|
1896
|
+
* pinned to the resting row height, and the grid settles from the outgoing offset to the
|
|
1897
|
+
* incoming one. Rows the windows share keep their DOM identity, so their cells cross-fade
|
|
1898
|
+
* out of the outside dimming in place rather than being rebuilt.
|
|
1542
1899
|
*/
|
|
1543
1900
|
private _scrollBetween;
|
|
1901
|
+
/**
|
|
1902
|
+
* Takes the grid under the finger: the neighbouring months render either side of the active
|
|
1903
|
+
* one, so the drag reveals whichever it heads toward. A grid still settling or scrolling is
|
|
1904
|
+
* caught where it is drawn rather than snapped to its destination first.
|
|
1905
|
+
*/
|
|
1906
|
+
private _onDragStart;
|
|
1907
|
+
/**
|
|
1908
|
+
* Fired at pointer rate outside the Angular zone (see {@link PanDirective}), so the grid is
|
|
1909
|
+
* moved by a direct style write rather than through a binding.
|
|
1910
|
+
*/
|
|
1911
|
+
private _onDragMove;
|
|
1912
|
+
/**
|
|
1913
|
+
* Lets the grid go: a release past the commit point, or a flick, settles on the month it was
|
|
1914
|
+
* heading for and asks to page there; anything else settles back to rest. Either way the
|
|
1915
|
+
* settle carries on at the pace the grid was moving.
|
|
1916
|
+
*/
|
|
1917
|
+
private _onDragEnd;
|
|
1918
|
+
/** The platform took the pointer back mid-drag; the grid settles back to rest. */
|
|
1919
|
+
private _onDragCancel;
|
|
1920
|
+
/**
|
|
1921
|
+
* How far from rest the drag carries the grid, in px: the finger's travel since the gesture
|
|
1922
|
+
* locked, added to where the grid stood when taken. Toward a month that cannot be paged to
|
|
1923
|
+
* it only stretches, and it never travels past the neighbouring month's grid, beyond which
|
|
1924
|
+
* the drag renders nothing.
|
|
1925
|
+
*/
|
|
1926
|
+
private _dragOffset;
|
|
1927
|
+
/** The grid's translate for a drag at `deltaY`: the drag's offset from the resting row. */
|
|
1928
|
+
private _dragTranslate;
|
|
1929
|
+
/**
|
|
1930
|
+
* The grid's own speed in px/ms while the finger moves at `velocity`, which the settle
|
|
1931
|
+
* launches from: as fast as the finger where the grid follows it, damped where the drag only
|
|
1932
|
+
* stretches, and still where the drag holds it at the end of its window.
|
|
1933
|
+
*/
|
|
1934
|
+
private _gridVelocity;
|
|
1935
|
+
/** One resting week row's height in px, or null where nothing is laid out to measure. */
|
|
1936
|
+
private _measureRowHeight;
|
|
1937
|
+
/**
|
|
1938
|
+
* Renders `window` in place of the resting grid with its rows pinned to `rowHeight`. The
|
|
1939
|
+
* viewport wraps the resting grid, so its own height (grid plus its border) is held while
|
|
1940
|
+
* the widened grid overflows it. Written to the elements directly, so they apply in the same
|
|
1941
|
+
* task as the widened render rather than a render pass later.
|
|
1942
|
+
*/
|
|
1943
|
+
private _widen;
|
|
1944
|
+
/** The grid as the motion moves it: no scrim, and a release paging decides for itself. */
|
|
1945
|
+
private _surface;
|
|
1946
|
+
/**
|
|
1947
|
+
* Settles the widened grid at rest at once, reporting where it was drawn so a drag can take
|
|
1948
|
+
* it from there; null when the grid was already at rest.
|
|
1949
|
+
*/
|
|
1950
|
+
private _catchMotion;
|
|
1951
|
+
/**
|
|
1952
|
+
* Collapses to the resting render and lets go of the grid within one task, so the resting
|
|
1953
|
+
* rows and the untranslated grid paint together, pixel-identical to the motion's last frame.
|
|
1954
|
+
* Letting go supersedes a settle still running, which then never reports.
|
|
1955
|
+
*/
|
|
1956
|
+
private _collapse;
|
|
1957
|
+
/**
|
|
1958
|
+
* Reads how many lanes a week row has room for from its bar overlay, which spans exactly
|
|
1959
|
+
* the row's room for bars: below the day number, above the "+N more" line.
|
|
1960
|
+
*/
|
|
1961
|
+
private _measureLanes;
|
|
1544
1962
|
private _markerClasses;
|
|
1545
1963
|
static ɵfac: i0.ɵɵFactoryDeclaration<CalendarMonthView, never>;
|
|
1546
|
-
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,
|
|
1964
|
+
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; }; "fitHeight": { "alias": "fitHeight"; "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; }; "selectedDate": { "alias": "selectedDate"; "required": false; "isSignal": true; }; "markersLabel": { "alias": "markersLabel"; "required": false; "isSignal": true; }; "minDate": { "alias": "minDate"; "required": false; "isSignal": true; }; "dateFilter": { "alias": "dateFilter"; "required": false; "isSignal": true; }; "canPageBack": { "alias": "canPageBack"; "required": false; "isSignal": true; }; }, { "dateSelect": "dateSelect"; "eventSelect": "eventSelect"; "page": "page"; }, never, never, true, [{ directive: typeof i1.PanDirective; inputs: { "tlsPan": "paging"; }; outputs: {}; }]>;
|
|
1547
1965
|
}
|
|
1548
1966
|
|
|
1549
1967
|
/** A timed event with its absolute placement inside a day column. */
|
|
@@ -1833,12 +2251,25 @@ declare class Chip {
|
|
|
1833
2251
|
readonly rounded: i0.InputSignalWithTransform<boolean, unknown>;
|
|
1834
2252
|
readonly icon: i0.InputSignalWithTransform<boolean, unknown>;
|
|
1835
2253
|
readonly fluid: i0.InputSignalWithTransform<boolean, unknown>;
|
|
2254
|
+
/**
|
|
2255
|
+
* Ends the chip with a button that removes it, for a chip standing for
|
|
2256
|
+
* something the reader can take away: an applied filter, an entered value.
|
|
2257
|
+
* The chip only asks — `remove` reports the press, and the consumer drops it.
|
|
2258
|
+
*/
|
|
2259
|
+
readonly removable: i0.InputSignalWithTransform<boolean, unknown>;
|
|
2260
|
+
/**
|
|
2261
|
+
* The remove button's accessible name, naming what goes ("Remove chest"), as
|
|
2262
|
+
* the button shows only an icon. Required with `removable`.
|
|
2263
|
+
*/
|
|
2264
|
+
readonly removeLabel: InputSignal<string | undefined>;
|
|
2265
|
+
/** Reports a press of the remove button. */
|
|
2266
|
+
readonly remove: OutputEmitterRef<void>;
|
|
1836
2267
|
readonly context: i0.WritableSignal<ChipContext>;
|
|
1837
2268
|
protected readonly startIconTemplate: i0.Signal<TemplateRef<chipTemplateContext> | undefined>;
|
|
1838
2269
|
protected readonly endIconTemplate: i0.Signal<TemplateRef<chipTemplateContext> | undefined>;
|
|
1839
2270
|
protected classes: i0.Signal<string[]>;
|
|
1840
2271
|
static ɵfac: i0.ɵɵFactoryDeclaration<Chip, never>;
|
|
1841
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<Chip, "tls-chip", never, { "label": { "alias": "label"; "required": false; "isSignal": true; }; "color": { "alias": "color"; "required": false; "isSignal": true; }; "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "rounded": { "alias": "rounded"; "required": false; "isSignal": true; }; "icon": { "alias": "icon"; "required": false; "isSignal": true; }; "fluid": { "alias": "fluid"; "required": false; "isSignal": true; }; }, {}, ["startIconTemplate", "endIconTemplate"], ["*"], true, never>;
|
|
2272
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<Chip, "tls-chip", never, { "label": { "alias": "label"; "required": false; "isSignal": true; }; "color": { "alias": "color"; "required": false; "isSignal": true; }; "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "rounded": { "alias": "rounded"; "required": false; "isSignal": true; }; "icon": { "alias": "icon"; "required": false; "isSignal": true; }; "fluid": { "alias": "fluid"; "required": false; "isSignal": true; }; "removable": { "alias": "removable"; "required": false; "isSignal": true; }; "removeLabel": { "alias": "removeLabel"; "required": false; "isSignal": true; }; }, { "remove": "remove"; }, ["startIconTemplate", "endIconTemplate"], ["*"], true, never>;
|
|
1842
2273
|
}
|
|
1843
2274
|
|
|
1844
2275
|
declare class ChipControl extends CheckboxFormControl {
|
|
@@ -2171,10 +2602,14 @@ declare class DialogHeader {
|
|
|
2171
2602
|
* Scrolling content region of a dialog. Takes the space left between the header
|
|
2172
2603
|
* and footer and scrolls internally, so a tall dialog keeps its title and
|
|
2173
2604
|
* actions visible instead of growing past the viewport.
|
|
2605
|
+
*
|
|
2606
|
+
* Registers as a CDK scroll container: a scroll event does not bubble, so a
|
|
2607
|
+
* panel anchored to a field inside the body would otherwise never hear the body
|
|
2608
|
+
* scroll and would stay where it opened while its field moves away.
|
|
2174
2609
|
*/
|
|
2175
2610
|
declare class DialogBody {
|
|
2176
2611
|
static ɵfac: i0.ɵɵFactoryDeclaration<DialogBody, never>;
|
|
2177
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DialogBody, "tls-dialog-body", never, {}, {}, never, ["*"], true,
|
|
2612
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DialogBody, "tls-dialog-body", never, {}, {}, never, ["*"], true, [{ directive: typeof i1$1.CdkScrollable; inputs: {}; outputs: {}; }]>;
|
|
2178
2613
|
}
|
|
2179
2614
|
|
|
2180
2615
|
/**
|
|
@@ -2191,11 +2626,23 @@ declare class DialogFooter {
|
|
|
2191
2626
|
}
|
|
2192
2627
|
|
|
2193
2628
|
/**
|
|
2194
|
-
* Marks the heading that titles a dialog,
|
|
2629
|
+
* Marks the heading that titles a dialog, or a drawer laid out with the
|
|
2630
|
+
* dialog's parts: it takes the dialog type scale, and it names the surface it
|
|
2631
|
+
* sits in, which points `aria-labelledby` at it, so the surface is announced by
|
|
2632
|
+
* its title without the opener naming it again. A name the opener passed
|
|
2633
|
+
* outranks it.
|
|
2195
2634
|
*/
|
|
2196
|
-
declare class DialogTitleDirective {
|
|
2635
|
+
declare class DialogTitleDirective implements OnInit, OnDestroy {
|
|
2636
|
+
/** Sets each title's default id apart from every other's. */
|
|
2637
|
+
private static _counter;
|
|
2638
|
+
/** The dialog or drawer the title sits in; none when it is rendered outside one. */
|
|
2639
|
+
private readonly _container;
|
|
2640
|
+
/** The heading's id, which names the surface; one is generated when none is given. */
|
|
2641
|
+
readonly id: i0.InputSignal<string>;
|
|
2642
|
+
ngOnInit(): void;
|
|
2643
|
+
ngOnDestroy(): void;
|
|
2197
2644
|
static ɵfac: i0.ɵɵFactoryDeclaration<DialogTitleDirective, never>;
|
|
2198
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<DialogTitleDirective, "[tlsDialogTitle]", never, {}, {}, never, never, true, never>;
|
|
2645
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DialogTitleDirective, "[tlsDialogTitle]", never, { "id": { "alias": "id"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
2199
2646
|
}
|
|
2200
2647
|
|
|
2201
2648
|
interface DialogOpenConfig<D = unknown> {
|
|
@@ -2318,6 +2765,10 @@ interface DrawerConfig {
|
|
|
2318
2765
|
* panel that ignores backdrop clicks still owes keyboard users a way out.
|
|
2319
2766
|
*/
|
|
2320
2767
|
escapeClose: boolean;
|
|
2768
|
+
/**
|
|
2769
|
+
* Rounds a side drawer's inner edge. A top or bottom drawer is a sheet and
|
|
2770
|
+
* always rounds its inner corners, whatever this says.
|
|
2771
|
+
*/
|
|
2321
2772
|
rounded: boolean;
|
|
2322
2773
|
/**
|
|
2323
2774
|
* Renders a grabber pill on the edge facing the viewport and makes the panel
|
|
@@ -2575,6 +3026,14 @@ interface DrawerOpenConfig<D = unknown> {
|
|
|
2575
3026
|
* focus" would be the page itself.
|
|
2576
3027
|
*/
|
|
2577
3028
|
restoreFocus?: HTMLElement | boolean;
|
|
3029
|
+
/**
|
|
3030
|
+
* Where focus goes as the drawer opens: its first tabbable element (the
|
|
3031
|
+
* default), its first heading, the panel itself, or the element a selector
|
|
3032
|
+
* names. Start on the heading where the first tabbable element is an action
|
|
3033
|
+
* that discards something, such as one that clears what the drawer holds, so
|
|
3034
|
+
* opening the drawer never leaves that action one keypress away.
|
|
3035
|
+
*/
|
|
3036
|
+
autoFocus?: AutoFocusTarget | string;
|
|
2578
3037
|
/**
|
|
2579
3038
|
* Opens the drawer under a drag instead of by itself: it stays where it
|
|
2580
3039
|
* starts until the caller feeds the drag through `DrawerRef.followOpenDrag`
|
|
@@ -2806,6 +3265,13 @@ declare class FormControlGroup {
|
|
|
2806
3265
|
private readonly _projectedControls;
|
|
2807
3266
|
readonly size: InputSignal<controlSize>;
|
|
2808
3267
|
readonly fluid: InputSignalWithTransform<boolean, unknown>;
|
|
3268
|
+
/**
|
|
3269
|
+
* Floats the field over content that scrolls beneath it — a search bar held at the top
|
|
3270
|
+
* of a list. Its own translucent wash then sits on a frosted layer of the surface, so
|
|
3271
|
+
* what passes under it reads as blurred colour rather than as text colliding with the
|
|
3272
|
+
* value, and it casts a small shadow to stand off what it floats over.
|
|
3273
|
+
*/
|
|
3274
|
+
readonly floating: InputSignalWithTransform<boolean, unknown>;
|
|
2809
3275
|
protected readonly hostClasses: Signal<string[]>;
|
|
2810
3276
|
/**
|
|
2811
3277
|
* Hands over a control the field wraps, opening its panel if it has one. A field may
|
|
@@ -2839,7 +3305,7 @@ declare class FormControlGroup {
|
|
|
2839
3305
|
*/
|
|
2840
3306
|
private _nearestControl;
|
|
2841
3307
|
static ɵfac: i0.ɵɵFactoryDeclaration<FormControlGroup, never>;
|
|
2842
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FormControlGroup, "tls-form-control-group", never, { "size": { "alias": "size"; "required": false; "isSignal": true; }; "fluid": { "alias": "fluid"; "required": false; "isSignal": true; }; }, {}, ["_projectedControls"], ["*"], true, never>;
|
|
3308
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FormControlGroup, "tls-form-control-group", never, { "size": { "alias": "size"; "required": false; "isSignal": true; }; "fluid": { "alias": "fluid"; "required": false; "isSignal": true; }; "floating": { "alias": "floating"; "required": false; "isSignal": true; }; }, {}, ["_projectedControls"], ["*"], true, never>;
|
|
2843
3309
|
}
|
|
2844
3310
|
|
|
2845
3311
|
interface FormControlGroupConfig {
|
|
@@ -2853,8 +3319,8 @@ declare const FORM_CONTROL_GROUP_CONFIG: InjectionToken<FormControlGroupConfig>;
|
|
|
2853
3319
|
/**
|
|
2854
3320
|
* Marks content a form item draws at the far end of its label's row — an action that concerns
|
|
2855
3321
|
* the field, such as a "Forgot password?" link beside a password's label. It sits beside the
|
|
2856
|
-
*
|
|
2857
|
-
* and a press on it never reaches the control. It follows the control in the document, so focus
|
|
3322
|
+
* label element rather than inside it, so it takes no part in the name the label gives a control
|
|
3323
|
+
* or a group, and a press on it never reaches the control. It follows the control in the document, so focus
|
|
2858
3324
|
* reaches the field before the action beside its label. Meant for a label placed above its
|
|
2859
3325
|
* control.
|
|
2860
3326
|
*/
|
|
@@ -2885,7 +3351,13 @@ interface FormItemConfig {
|
|
|
2885
3351
|
declare const DEFAULT_FORM_ITEM_CONFIG: FormItemConfig;
|
|
2886
3352
|
|
|
2887
3353
|
type labelPosition = 'top' | 'start' | 'end';
|
|
2888
|
-
/**
|
|
3354
|
+
/**
|
|
3355
|
+
* The role a form item takes when its label names a group of controls rather than one:
|
|
3356
|
+
* `group` for a set of fields answering one question, `radiogroup` for the options of a
|
|
3357
|
+
* single choice — the one of the two that can state an answer is required.
|
|
3358
|
+
*/
|
|
3359
|
+
type formItemGroup = 'group' | 'radiogroup';
|
|
3360
|
+
/** Context handed to a custom label template, rendered inside the form item's own label element. */
|
|
2889
3361
|
interface FormItemLabelContext {
|
|
2890
3362
|
/** Label text of the item, `undefined` when only a template supplies the label. */
|
|
2891
3363
|
$implicit: string | undefined;
|
|
@@ -2902,7 +3374,13 @@ declare class FormItem {
|
|
|
2902
3374
|
private readonly _isFormSkeleton;
|
|
2903
3375
|
private static _counter;
|
|
2904
3376
|
private _config;
|
|
2905
|
-
|
|
3377
|
+
/**
|
|
3378
|
+
* The first control among the projected content. An item labelling a group adopts none of
|
|
3379
|
+
* them: each control inside a group is labelled by its own item.
|
|
3380
|
+
*/
|
|
3381
|
+
private readonly _projectedControl;
|
|
3382
|
+
/** The one control the item labels, describes and validates; none for a group. */
|
|
3383
|
+
protected readonly control: Signal<FormControl<unknown> | undefined>;
|
|
2906
3384
|
/**
|
|
2907
3385
|
* The signal-forms bindings among the projected content. A group can seat bound and unbound
|
|
2908
3386
|
* controls side by side, so these are matched to the control by element rather than taken as
|
|
@@ -2910,7 +3388,7 @@ declare class FormItem {
|
|
|
2910
3388
|
*/
|
|
2911
3389
|
private readonly _formFields;
|
|
2912
3390
|
/**
|
|
2913
|
-
* Content of the label, rendered inside the item's own
|
|
3391
|
+
* Content of the label, rendered inside the item's own label element so the `for` /
|
|
2914
3392
|
* `aria-labelledby` wiring is kept. Replaces the label text and the required / optional markers.
|
|
2915
3393
|
*/
|
|
2916
3394
|
protected readonly labelTemplate: Signal<TemplateRef<FormItemLabelContext> | undefined>;
|
|
@@ -2925,6 +3403,21 @@ declare class FormItem {
|
|
|
2925
3403
|
/** Stable id for the error element, linked to the control via `aria-describedby`. */
|
|
2926
3404
|
protected readonly errorId: string;
|
|
2927
3405
|
label: i0.InputSignal<string | undefined>;
|
|
3406
|
+
/**
|
|
3407
|
+
* Names a group of controls instead of a single one — a set of options, or several fields
|
|
3408
|
+
* answering one question. The label is drawn exactly as a field's, above the controls, and the
|
|
3409
|
+
* item takes the group's role (`group`, or `radiogroup` for the options of one choice) with
|
|
3410
|
+
* the label as its name. The controls inside keep their own items, which label each one; the
|
|
3411
|
+
* group adopts none of them, so its markers come from `required` rather than from a control.
|
|
3412
|
+
*/
|
|
3413
|
+
group: i0.InputSignalWithTransform<formItemGroup | null, boolean | "" | formItemGroup | null | undefined>;
|
|
3414
|
+
/**
|
|
3415
|
+
* Whether a group must be answered: `true` draws the required marker where markers are shown,
|
|
3416
|
+
* and states it to assistive technology on a `radiogroup`; `false` draws the optional text; unset
|
|
3417
|
+
* draws neither. An item around a single control reads this from the control instead, and
|
|
3418
|
+
* ignores it.
|
|
3419
|
+
*/
|
|
3420
|
+
required: i0.InputSignal<boolean | undefined>;
|
|
2928
3421
|
/**
|
|
2929
3422
|
* Placement of the label relative to the control. `top` stacks the label above the control;
|
|
2930
3423
|
* `start` / `end` place it inline before / after the control (typical for a checkbox or switch).
|
|
@@ -2973,7 +3466,8 @@ declare class FormItem {
|
|
|
2973
3466
|
protected showRequired: Signal<boolean>;
|
|
2974
3467
|
/**
|
|
2975
3468
|
* Whether the label carries the optional marker: only for a control that edits a form's field,
|
|
2976
|
-
* can be left unanswered, and is not required — a setting or a toggle has nothing to skip.
|
|
3469
|
+
* can be left unanswered, and is not required — a setting or a toggle has nothing to skip. A
|
|
3470
|
+
* group carries it when `required` says it may be left unanswered.
|
|
2977
3471
|
*/
|
|
2978
3472
|
protected showOptional: Signal<boolean>;
|
|
2979
3473
|
/** Whether the footer holds its line open for an error that has not appeared. */
|
|
@@ -3002,7 +3496,7 @@ declare class FormItem {
|
|
|
3002
3496
|
private _isFormField;
|
|
3003
3497
|
private _getErrorMessages;
|
|
3004
3498
|
static ɵfac: i0.ɵɵFactoryDeclaration<FormItem, never>;
|
|
3005
|
-
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; }; "skeleton": { "alias": "skeleton"; "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; }; }, {}, ["
|
|
3499
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FormItem, "tls-form-item", never, { "label": { "alias": "label"; "required": false; "isSignal": true; }; "group": { "alias": "group"; "required": false; "isSignal": true; }; "required": { "alias": "required"; "required": false; "isSignal": true; }; "labelPosition": { "alias": "labelPosition"; "required": false; "isSignal": true; }; "spread": { "alias": "spread"; "required": false; "isSignal": true; }; "skeleton": { "alias": "skeleton"; "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; }; }, {}, ["_projectedControl", "_formFields", "labelTemplate", "labelAction"], ["*", "[tlsFormItemLabelAction]"], true, never>;
|
|
3006
3500
|
}
|
|
3007
3501
|
|
|
3008
3502
|
/**
|
|
@@ -3122,7 +3616,7 @@ declare class Autocomplete<T, V = unknown> extends AbstractSelect<T, V, V | null
|
|
|
3122
3616
|
protected onInput(event: Event): void;
|
|
3123
3617
|
protected onKeydown(event: KeyboardEvent): void;
|
|
3124
3618
|
protected filterVisibleOptions(options: Option<V>[]): Option<V>[];
|
|
3125
|
-
protected
|
|
3619
|
+
protected hostModifierClasses(): string[];
|
|
3126
3620
|
protected onClosed(): void;
|
|
3127
3621
|
protected clear(): void;
|
|
3128
3622
|
protected getInitialActiveIndex(): number;
|
|
@@ -3574,8 +4068,16 @@ declare class DateTimePicker extends ValueFormControl<Date | null> {
|
|
|
3574
4068
|
readonly size: InputSignal<controlSize>;
|
|
3575
4069
|
readonly fluid: InputSignalWithTransform<boolean, unknown>;
|
|
3576
4070
|
readonly yearsPerPage: InputSignal<number>;
|
|
3577
|
-
|
|
3578
|
-
|
|
4071
|
+
/**
|
|
4072
|
+
* First day of the week (`date-fns` convention: 0 = Sunday) for this instance alone. Unset, it
|
|
4073
|
+
* follows the component config's `weekStartsOn`, then the app-wide `WEEK_STARTS_ON`.
|
|
4074
|
+
*/
|
|
4075
|
+
readonly weekStartsOn: InputSignal<Day | undefined>;
|
|
4076
|
+
/**
|
|
4077
|
+
* Weekday names, Sunday first, for this instance alone. Unset, they follow the component
|
|
4078
|
+
* config's `weekDays`, then the configured `date-fns` locale.
|
|
4079
|
+
*/
|
|
4080
|
+
readonly weekDays: InputSignal<string[] | undefined>;
|
|
3579
4081
|
/** Earliest selectable day, inclusive; the calendar disables earlier days. */
|
|
3580
4082
|
readonly minDate: InputSignal<Date | null>;
|
|
3581
4083
|
/** Latest selectable day, inclusive; the calendar disables later days. */
|
|
@@ -3588,6 +4090,10 @@ declare class DateTimePicker extends ValueFormControl<Date | null> {
|
|
|
3588
4090
|
protected readonly viewDate: WritableSignal<Date>;
|
|
3589
4091
|
/** The drill-down level shown; each opening starts again at the mode's own level. */
|
|
3590
4092
|
protected readonly activeView: WritableSignal<ActiveView>;
|
|
4093
|
+
/** The first day of the week this instance lays its days out from. */
|
|
4094
|
+
protected readonly resolvedWeekStartsOn: Signal<Day>;
|
|
4095
|
+
/** The weekday names this instance heads its days with, Sunday first. */
|
|
4096
|
+
protected readonly resolvedWeekDays: Signal<string[]>;
|
|
3591
4097
|
protected readonly hostClasses: Signal<string[]>;
|
|
3592
4098
|
protected readonly triggerLabel: Signal<string>;
|
|
3593
4099
|
/**
|
|
@@ -3631,8 +4137,16 @@ interface DateTimePickerConfig {
|
|
|
3631
4137
|
placeholder: string;
|
|
3632
4138
|
size: controlSize;
|
|
3633
4139
|
yearsPerPage: number;
|
|
3634
|
-
|
|
3635
|
-
|
|
4140
|
+
/**
|
|
4141
|
+
* First day of the week (`date-fns` convention: 0 = Sunday) for every date-time picker, over
|
|
4142
|
+
* the app-wide `WEEK_STARTS_ON`. Unset, pickers follow that global value.
|
|
4143
|
+
*/
|
|
4144
|
+
weekStartsOn?: Day;
|
|
4145
|
+
/**
|
|
4146
|
+
* Short weekday labels, Sunday-first, for every date-time picker. Unset, they are the
|
|
4147
|
+
* configured `date-fns` locale's own.
|
|
4148
|
+
*/
|
|
4149
|
+
weekDays?: string[];
|
|
3636
4150
|
}
|
|
3637
4151
|
declare const DEFAULT_DATE_TIME_PICKER_CONFIG: DateTimePickerConfig;
|
|
3638
4152
|
|
|
@@ -3677,6 +4191,21 @@ declare const DEFAULT_CHIP_GROUP_CONFIG: ChipGroupConfig;
|
|
|
3677
4191
|
|
|
3678
4192
|
declare const CHIP_GROUP_CONFIG: InjectionToken<ChipGroupConfig>;
|
|
3679
4193
|
|
|
4194
|
+
/** Accessible names for the chip input's controls, overridable for localization. */
|
|
4195
|
+
interface ChipInputLabels {
|
|
4196
|
+
/** Accessible name for a chip's remove button, from the value the chip holds. */
|
|
4197
|
+
remove: (value: string) => string;
|
|
4198
|
+
}
|
|
4199
|
+
interface ChipInputConfig {
|
|
4200
|
+
size: controlSize;
|
|
4201
|
+
placeholder: string;
|
|
4202
|
+
fluid: boolean;
|
|
4203
|
+
separator: string[];
|
|
4204
|
+
/** Accessible names for the controls, overridable for localization. */
|
|
4205
|
+
labels: ChipInputLabels;
|
|
4206
|
+
}
|
|
4207
|
+
declare const DEFAULT_CHIP_INPUT_CONFIG: ChipInputConfig;
|
|
4208
|
+
|
|
3680
4209
|
declare class ChipInput extends ValueFormControl<string[]> {
|
|
3681
4210
|
private readonly _config;
|
|
3682
4211
|
readonly value: ModelSignal<string[]>;
|
|
@@ -3684,6 +4213,7 @@ declare class ChipInput extends ValueFormControl<string[]> {
|
|
|
3684
4213
|
readonly size: InputSignal<controlSize>;
|
|
3685
4214
|
readonly fluid: InputSignalWithTransform<boolean, unknown>;
|
|
3686
4215
|
readonly separator: InputSignal<string[]>;
|
|
4216
|
+
protected readonly labels: ChipInputLabels;
|
|
3687
4217
|
protected readonly inputValue: i0.WritableSignal<string>;
|
|
3688
4218
|
protected readonly classes: Signal<string[]>;
|
|
3689
4219
|
protected onInput(event: Event): void;
|
|
@@ -3694,14 +4224,6 @@ declare class ChipInput extends ValueFormControl<string[]> {
|
|
|
3694
4224
|
static ɵcmp: i0.ɵɵComponentDeclaration<ChipInput, "tls-chip-input", never, { "value": { "alias": "value"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "fluid": { "alias": "fluid"; "required": false; "isSignal": true; }; "separator": { "alias": "separator"; "required": false; "isSignal": true; }; }, { "value": "valueChange"; }, never, never, true, never>;
|
|
3695
4225
|
}
|
|
3696
4226
|
|
|
3697
|
-
interface ChipInputConfig {
|
|
3698
|
-
size: controlSize;
|
|
3699
|
-
placeholder: string;
|
|
3700
|
-
fluid: boolean;
|
|
3701
|
-
separator: string[];
|
|
3702
|
-
}
|
|
3703
|
-
declare const DEFAULT_CHIP_INPUT_CONFIG: ChipInputConfig;
|
|
3704
|
-
|
|
3705
4227
|
declare const CHIP_INPUT_CONFIG: InjectionToken<ChipInputConfig>;
|
|
3706
4228
|
|
|
3707
4229
|
/** The `accept` rule set, as the attribute string or the parts of one. */
|
|
@@ -4144,9 +4666,27 @@ declare class PickerField {
|
|
|
4144
4666
|
readonly disabled: i0.InputSignalWithTransform<boolean, unknown>;
|
|
4145
4667
|
/** Accessible name for the trigger, for a value face that is not self-describing. */
|
|
4146
4668
|
readonly ariaLabel: InputSignal<string | undefined>;
|
|
4669
|
+
/**
|
|
4670
|
+
* The id put on the trigger, so a `<label for>` names it as it names a native control. A
|
|
4671
|
+
* form control built on the field forwards its own resolved id here.
|
|
4672
|
+
*/
|
|
4673
|
+
readonly inputId: InputSignal<string | null>;
|
|
4674
|
+
/** Ids of the elements naming the trigger, forwarded as a form control forwards its label. */
|
|
4675
|
+
readonly ariaLabelledby: InputSignal<string | null>;
|
|
4676
|
+
/** Ids of the elements describing the trigger: a hint, an error. */
|
|
4677
|
+
readonly ariaDescribedby: InputSignal<string | null>;
|
|
4678
|
+
/** Whether the value is refused: the field takes its error ring and the trigger reports it. */
|
|
4679
|
+
readonly invalid: i0.InputSignalWithTransform<boolean, unknown>;
|
|
4680
|
+
/** The button that takes focus and opens the consumer's panel. */
|
|
4681
|
+
private readonly _trigger;
|
|
4147
4682
|
protected readonly hostClasses: i0.Signal<string[]>;
|
|
4683
|
+
/**
|
|
4684
|
+
* Moves focus to the trigger, as a form control's `focus` does: the host is
|
|
4685
|
+
* only a frame. For a consumer handing focus back once its panel has gone.
|
|
4686
|
+
*/
|
|
4687
|
+
focus(): void;
|
|
4148
4688
|
static ɵfac: i0.ɵɵFactoryDeclaration<PickerField, never>;
|
|
4149
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<PickerField, "tls-picker-field", never, { "open": { "alias": "open"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "fluid": { "alias": "fluid"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
4689
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PickerField, "tls-picker-field", never, { "open": { "alias": "open"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "fluid": { "alias": "fluid"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; "inputId": { "alias": "inputId"; "required": false; "isSignal": true; }; "ariaLabelledby": { "alias": "ariaLabelledby"; "required": false; "isSignal": true; }; "ariaDescribedby": { "alias": "ariaDescribedby"; "required": false; "isSignal": true; }; "invalid": { "alias": "invalid"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
4150
4690
|
}
|
|
4151
4691
|
|
|
4152
4692
|
type pinInputType = 'numeric' | 'alphanumeric' | RegExp;
|
|
@@ -4363,17 +4903,26 @@ declare class MultiSelect<T, V = unknown> extends AbstractSelect<T, V, V[]> {
|
|
|
4363
4903
|
readonly clearLabel: InputSignal<string>;
|
|
4364
4904
|
readonly virtualScroll: InputSignalWithTransform<boolean, unknown>;
|
|
4365
4905
|
readonly virtualScrollItemSize: InputSignalWithTransform<number, unknown>;
|
|
4906
|
+
/**
|
|
4907
|
+
* Opens the list as a bottom sheet on a small screen — at or below the configured
|
|
4908
|
+
* `sheetBelow` breakpoint, and never where the config names none. For a list too long to
|
|
4909
|
+
* read comfortably in a panel beside the field on a phone; a short list stays beside it.
|
|
4910
|
+
*/
|
|
4911
|
+
readonly sheet: InputSignalWithTransform<boolean, unknown>;
|
|
4912
|
+
/** Label of the button that closes the list when it is shown as a sheet. */
|
|
4913
|
+
readonly doneLabel: InputSignal<string>;
|
|
4366
4914
|
protected readonly hasValue: Signal<boolean>;
|
|
4367
4915
|
protected readonly selectedValues: Signal<Set<V>>;
|
|
4368
4916
|
protected readonly triggerLabel: Signal<string>;
|
|
4369
4917
|
protected isSelected(option: Option<V>): boolean;
|
|
4370
4918
|
protected isOptionSelected(option: Option<V>): boolean;
|
|
4371
4919
|
protected toggleOption(option: Option<V>): void;
|
|
4920
|
+
protected sheetBreakpoint(): breakpoint | null;
|
|
4372
4921
|
protected clear(): void;
|
|
4373
4922
|
protected getInitialActiveIndex(): number;
|
|
4374
4923
|
protected commitActiveOption(option: Option<V>): void;
|
|
4375
4924
|
static ɵfac: i0.ɵɵFactoryDeclaration<MultiSelect<any, any>, never>;
|
|
4376
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MultiSelect<any, any>, "tls-multi-select", never, { "value": { "alias": "value"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "fluid": { "alias": "fluid"; "required": false; "isSignal": true; }; "clearable": { "alias": "clearable"; "required": false; "isSignal": true; }; "maxLabels": { "alias": "maxLabels"; "required": false; "isSignal": true; }; "clearLabel": { "alias": "clearLabel"; "required": false; "isSignal": true; }; "virtualScroll": { "alias": "virtualScroll"; "required": false; "isSignal": true; }; "virtualScrollItemSize": { "alias": "virtualScrollItemSize"; "required": false; "isSignal": true; }; }, { "value": "valueChange"; }, never, never, true, never>;
|
|
4925
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MultiSelect<any, any>, "tls-multi-select", never, { "value": { "alias": "value"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "fluid": { "alias": "fluid"; "required": false; "isSignal": true; }; "clearable": { "alias": "clearable"; "required": false; "isSignal": true; }; "maxLabels": { "alias": "maxLabels"; "required": false; "isSignal": true; }; "clearLabel": { "alias": "clearLabel"; "required": false; "isSignal": true; }; "virtualScroll": { "alias": "virtualScroll"; "required": false; "isSignal": true; }; "virtualScrollItemSize": { "alias": "virtualScrollItemSize"; "required": false; "isSignal": true; }; "sheet": { "alias": "sheet"; "required": false; "isSignal": true; }; "doneLabel": { "alias": "doneLabel"; "required": false; "isSignal": true; }; }, { "value": "valueChange"; }, never, never, true, never>;
|
|
4377
4926
|
}
|
|
4378
4927
|
|
|
4379
4928
|
interface MultiSelectConfig {
|
|
@@ -4390,6 +4939,19 @@ interface MultiSelectConfig {
|
|
|
4390
4939
|
virtualScroll: boolean;
|
|
4391
4940
|
/** Fixed height of an option row, in pixels, when the panel is virtualized. */
|
|
4392
4941
|
virtualScrollItemSize: number;
|
|
4942
|
+
/**
|
|
4943
|
+
* Opens the list as a bottom sheet on a small screen — at or below `sheetBelow` — for a list
|
|
4944
|
+
* too long to read comfortably in a panel beside the field on a phone. Off by default: a short
|
|
4945
|
+
* list reads well beside its field at any width.
|
|
4946
|
+
*/
|
|
4947
|
+
sheet: boolean;
|
|
4948
|
+
/**
|
|
4949
|
+
* Breakpoint at or below which a control with `sheet` set opens its list as a bottom sheet;
|
|
4950
|
+
* `null` keeps every list beside its field.
|
|
4951
|
+
*/
|
|
4952
|
+
sheetBelow: breakpoint | null;
|
|
4953
|
+
/** Label of the button that closes the list when it is shown as a sheet, overridable for localization. */
|
|
4954
|
+
doneLabel: string;
|
|
4393
4955
|
}
|
|
4394
4956
|
declare const DEFAULT_MULTI_SELECT_CONFIG: MultiSelectConfig;
|
|
4395
4957
|
|
|
@@ -4406,24 +4968,39 @@ declare class Select<T, V = unknown> extends AbstractSelect<T, V, V | null> {
|
|
|
4406
4968
|
readonly value: ModelSignal<V | null>;
|
|
4407
4969
|
readonly placeholder: InputSignal<string>;
|
|
4408
4970
|
readonly size: InputSignal<controlSize>;
|
|
4971
|
+
/**
|
|
4972
|
+
* How the field presents itself at rest, as a text field's does: `plain` draws no fill until
|
|
4973
|
+
* it is hovered or focused and takes its type from the text around it, so a choice can sit
|
|
4974
|
+
* among plain fields and read as part of the line.
|
|
4975
|
+
*/
|
|
4976
|
+
readonly variant: InputSignal<inputVariant>;
|
|
4409
4977
|
readonly fluid: InputSignalWithTransform<boolean, unknown>;
|
|
4410
4978
|
readonly clearable: InputSignalWithTransform<boolean, unknown>;
|
|
4411
4979
|
readonly clearLabel: InputSignal<string>;
|
|
4412
4980
|
readonly virtualScroll: InputSignalWithTransform<boolean, unknown>;
|
|
4413
4981
|
readonly virtualScrollItemSize: InputSignalWithTransform<number, unknown>;
|
|
4982
|
+
/**
|
|
4983
|
+
* Opens the list as a bottom sheet on a small screen — at or below the configured
|
|
4984
|
+
* `sheetBelow` breakpoint, and never where the config names none. For a list too long to
|
|
4985
|
+
* read comfortably in a panel beside the field on a phone; a short list stays beside it.
|
|
4986
|
+
*/
|
|
4987
|
+
readonly sheet: InputSignalWithTransform<boolean, unknown>;
|
|
4414
4988
|
protected readonly hasValue: Signal<boolean>;
|
|
4415
4989
|
protected readonly selectedLabel: Signal<string>;
|
|
4416
4990
|
protected select(option: Option<V>): void;
|
|
4417
4991
|
protected isOptionSelected(option: Option<V>): boolean;
|
|
4992
|
+
protected hostModifierClasses(): string[];
|
|
4993
|
+
protected sheetBreakpoint(): breakpoint | null;
|
|
4418
4994
|
protected clear(): void;
|
|
4419
4995
|
protected getInitialActiveIndex(): number;
|
|
4420
4996
|
protected commitActiveOption(option: Option<V>): void;
|
|
4421
4997
|
static ɵfac: i0.ɵɵFactoryDeclaration<Select<any, any>, never>;
|
|
4422
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<Select<any, any>, "tls-select", never, { "value": { "alias": "value"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "fluid": { "alias": "fluid"; "required": false; "isSignal": true; }; "clearable": { "alias": "clearable"; "required": false; "isSignal": true; }; "clearLabel": { "alias": "clearLabel"; "required": false; "isSignal": true; }; "virtualScroll": { "alias": "virtualScroll"; "required": false; "isSignal": true; }; "virtualScrollItemSize": { "alias": "virtualScrollItemSize"; "required": false; "isSignal": true; }; }, { "value": "valueChange"; }, never, never, true, never>;
|
|
4998
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<Select<any, any>, "tls-select", never, { "value": { "alias": "value"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "fluid": { "alias": "fluid"; "required": false; "isSignal": true; }; "clearable": { "alias": "clearable"; "required": false; "isSignal": true; }; "clearLabel": { "alias": "clearLabel"; "required": false; "isSignal": true; }; "virtualScroll": { "alias": "virtualScroll"; "required": false; "isSignal": true; }; "virtualScrollItemSize": { "alias": "virtualScrollItemSize"; "required": false; "isSignal": true; }; "sheet": { "alias": "sheet"; "required": false; "isSignal": true; }; }, { "value": "valueChange"; }, never, never, true, never>;
|
|
4423
4999
|
}
|
|
4424
5000
|
|
|
4425
5001
|
interface SelectConfig {
|
|
4426
5002
|
size: controlSize;
|
|
5003
|
+
variant: inputVariant;
|
|
4427
5004
|
placeholder: string;
|
|
4428
5005
|
fluid: boolean;
|
|
4429
5006
|
clearable: boolean;
|
|
@@ -4433,6 +5010,17 @@ interface SelectConfig {
|
|
|
4433
5010
|
virtualScroll: boolean;
|
|
4434
5011
|
/** Fixed height of an option row, in pixels, when the panel is virtualized. */
|
|
4435
5012
|
virtualScrollItemSize: number;
|
|
5013
|
+
/**
|
|
5014
|
+
* Opens the list as a bottom sheet on a small screen — at or below `sheetBelow` — for a list
|
|
5015
|
+
* too long to read comfortably in a panel beside the field on a phone. Off by default: a short
|
|
5016
|
+
* list reads well beside its field at any width.
|
|
5017
|
+
*/
|
|
5018
|
+
sheet: boolean;
|
|
5019
|
+
/**
|
|
5020
|
+
* Breakpoint at or below which a control with `sheet` set opens its list as a bottom sheet;
|
|
5021
|
+
* `null` keeps every list beside its field.
|
|
5022
|
+
*/
|
|
5023
|
+
sheetBelow: breakpoint | null;
|
|
4436
5024
|
}
|
|
4437
5025
|
declare const DEFAULT_SELECT_CONFIG: SelectConfig;
|
|
4438
5026
|
|
|
@@ -4638,8 +5226,11 @@ declare const TOGGLE_BUTTON_CONFIG: InjectionToken<ToggleButtonConfig>;
|
|
|
4638
5226
|
* strip and fill the chosen ones with the group's color, solid or as a wash.
|
|
4639
5227
|
* `segmented` sets them apart on a track and lifts the chosen one off it as a
|
|
4640
5228
|
* pill, the look of a segmented tab strip; it reads none of the group's color.
|
|
5229
|
+
* `list` draws them as the rows of an inset-grouped list, with a line between
|
|
5230
|
+
* rows and a check at the end of the chosen one — a page of choices, opened
|
|
5231
|
+
* from a list of settings; meant for a vertical group, and neutral too.
|
|
4641
5232
|
*/
|
|
4642
|
-
type toggleGroupVariant = 'filled' | 'tonal' | 'segmented';
|
|
5233
|
+
type toggleGroupVariant = 'filled' | 'tonal' | 'segmented' | 'list';
|
|
4643
5234
|
|
|
4644
5235
|
declare class ToggleGroup<T, V = unknown> extends SelectionGroup<T, V> {
|
|
4645
5236
|
private readonly _config;
|
|
@@ -4655,6 +5246,11 @@ declare class ToggleGroup<T, V = unknown> extends SelectionGroup<T, V> {
|
|
|
4655
5246
|
*/
|
|
4656
5247
|
readonly variant: InputSignal<toggleGroupVariant>;
|
|
4657
5248
|
readonly orientation: InputSignal<orientation>;
|
|
5249
|
+
/**
|
|
5250
|
+
* Rounds the group's ends fully, into a pill. A segmented group's chosen pill
|
|
5251
|
+
* follows, since it is always drawn concentric with the track.
|
|
5252
|
+
*/
|
|
5253
|
+
readonly rounded: InputSignalWithTransform<boolean, unknown>;
|
|
4658
5254
|
/** Whether the group stretches to fill its container's width with equal-width options. */
|
|
4659
5255
|
readonly fluid: InputSignalWithTransform<boolean, unknown>;
|
|
4660
5256
|
protected readonly optionTemplate: Signal<TemplateRef<selectionGroupTemplateContext<T, V>> | undefined>;
|
|
@@ -4668,7 +5264,7 @@ declare class ToggleGroup<T, V = unknown> extends SelectionGroup<T, V> {
|
|
|
4668
5264
|
protected readonly classes: Signal<string[]>;
|
|
4669
5265
|
constructor();
|
|
4670
5266
|
static ɵfac: i0.ɵɵFactoryDeclaration<ToggleGroup<any, any>, never>;
|
|
4671
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ToggleGroup<any, any>, "tls-toggle-group", never, { "multiple": { "alias": "multiple"; "required": false; "isSignal": true; }; "unselectable": { "alias": "unselectable"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "color": { "alias": "color"; "required": false; "isSignal": true; }; "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "orientation": { "alias": "orientation"; "required": false; "isSignal": true; }; "fluid": { "alias": "fluid"; "required": false; "isSignal": true; }; }, {}, ["optionTemplate"], never, true, never>;
|
|
5267
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ToggleGroup<any, any>, "tls-toggle-group", never, { "multiple": { "alias": "multiple"; "required": false; "isSignal": true; }; "unselectable": { "alias": "unselectable"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "color": { "alias": "color"; "required": false; "isSignal": true; }; "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "orientation": { "alias": "orientation"; "required": false; "isSignal": true; }; "rounded": { "alias": "rounded"; "required": false; "isSignal": true; }; "fluid": { "alias": "fluid"; "required": false; "isSignal": true; }; }, {}, ["optionTemplate"], never, true, never>;
|
|
4672
5268
|
}
|
|
4673
5269
|
|
|
4674
5270
|
interface ToggleGroupConfig {
|
|
@@ -4678,6 +5274,8 @@ interface ToggleGroupConfig {
|
|
|
4678
5274
|
orientation: orientation;
|
|
4679
5275
|
multiple: boolean;
|
|
4680
5276
|
unselectable: boolean;
|
|
5277
|
+
/** Rounds the group's ends fully, into a pill, wherever its own `rounded` input is left unset. */
|
|
5278
|
+
rounded: boolean;
|
|
4681
5279
|
fluid: boolean;
|
|
4682
5280
|
}
|
|
4683
5281
|
declare const DEFAULT_TOGGLE_GROUP_CONFIG: ToggleGroupConfig;
|
|
@@ -5397,110 +5995,6 @@ declare const DEFAULT_MARK_CONFIG: MarkConfig;
|
|
|
5397
5995
|
|
|
5398
5996
|
declare const MARK_CONFIG: InjectionToken<MarkConfig>;
|
|
5399
5997
|
|
|
5400
|
-
/**
|
|
5401
|
-
* Where a dragged surface's transform comes from. `idle` leaves it to the
|
|
5402
|
-
* stylesheet's enter/leave keyframes; `dragging` hands it to the finger;
|
|
5403
|
-
* `settling` animates it to where the release sent it.
|
|
5404
|
-
*/
|
|
5405
|
-
type sheetMotionState = 'idle' | 'dragging' | 'settling';
|
|
5406
|
-
/** What a `SheetMotion` is fixed to for its lifetime. */
|
|
5407
|
-
interface SheetMotionOptions {
|
|
5408
|
-
/** The custom property the stylesheet turns into the surface's translate. */
|
|
5409
|
-
property: string;
|
|
5410
|
-
/**
|
|
5411
|
-
* Opacity of the scrim at a drag progress: `1 - progress` for a surface that
|
|
5412
|
-
* dims as it leaves, `progress` for one that dims as it grows.
|
|
5413
|
-
*/
|
|
5414
|
-
backdropOpacity: (progress: number) => number;
|
|
5415
|
-
renderer: Renderer2;
|
|
5416
|
-
injector: Injector;
|
|
5417
|
-
}
|
|
5418
|
-
/**
|
|
5419
|
-
* The elements one gesture moves, given per gesture: a surface stamped fresh on
|
|
5420
|
-
* every open cannot be fixed at construction.
|
|
5421
|
-
*/
|
|
5422
|
-
interface SheetMotionSurface {
|
|
5423
|
-
panel: HTMLElement;
|
|
5424
|
-
backdrop: HTMLElement | null;
|
|
5425
|
-
/** Travel in px from rest to fully committed. */
|
|
5426
|
-
extent: number;
|
|
5427
|
-
}
|
|
5428
|
-
|
|
5429
|
-
/**
|
|
5430
|
-
* Moves a dragged surface along one axis: writes its displacement to the
|
|
5431
|
-
* custom property the stylesheet turns into a translate, keeps a scrim's
|
|
5432
|
-
* opacity in step with the drag, and settles the surface to where a release
|
|
5433
|
-
* sent it through the stylesheet's transition.
|
|
5434
|
-
*
|
|
5435
|
-
* The engine knows nothing of what the offsets mean — where rest is, what
|
|
5436
|
-
* range is legal, which release commits — and no pan events; the owning
|
|
5437
|
-
* component maps its gesture onto `begin`, `follow` and `settle`.
|
|
5438
|
-
*/
|
|
5439
|
-
declare class SheetMotion {
|
|
5440
|
-
private readonly _options;
|
|
5441
|
-
private readonly _state;
|
|
5442
|
-
/** Bound to the surface's `--dragging` / `--settling` classes. */
|
|
5443
|
-
readonly state: i0.Signal<sheetMotionState>;
|
|
5444
|
-
private _surface;
|
|
5445
|
-
/**
|
|
5446
|
-
* Incremented by begin and rest; a settle belongs to the gesture that started it.
|
|
5447
|
-
*/
|
|
5448
|
-
private _gesture;
|
|
5449
|
-
constructor(_options: SheetMotionOptions);
|
|
5450
|
-
/** Travel in px of the gesture in progress, from rest to fully committed; 0 outside a gesture. */
|
|
5451
|
-
get extent(): number;
|
|
5452
|
-
/** Takes hold of the surface for one gesture. */
|
|
5453
|
-
begin(surface: SheetMotionSurface): void;
|
|
5454
|
-
/**
|
|
5455
|
-
* Moves the surface to `offset` px. The offset is written as given: what
|
|
5456
|
-
* range is legal is the caller's rule.
|
|
5457
|
-
*/
|
|
5458
|
-
follow(offset: number): void;
|
|
5459
|
-
/**
|
|
5460
|
-
* Animates the surface to `target` px through the stylesheet's settle
|
|
5461
|
-
* transition, then calls `done`. The state stays `settling` until `rest` is
|
|
5462
|
-
* called: a settle that ends in a dispose keeps its class on until the
|
|
5463
|
-
* overlay is gone, so the keyframe the class stands down cannot replay.
|
|
5464
|
-
*
|
|
5465
|
-
* `velocity` is the surface's speed at the start, in px/ms along the offset
|
|
5466
|
-
* (positive as the offset grows) — a released finger's. The settle's timing
|
|
5467
|
-
* goes onto the surface and its scrim as `--tls-settle-duration` and
|
|
5468
|
-
* `--tls-settle-easing` (see `settleCurve`), for a settle transition to
|
|
5469
|
-
* read, so the stylesheet keeps the motion's gating while the curve carries
|
|
5470
|
-
* the hand's momentum on.
|
|
5471
|
-
*
|
|
5472
|
-
* A `begin` or `rest` that arrives before the settle finishes supersedes it:
|
|
5473
|
-
* a superseded settle neither moves the surface nor reports `done`.
|
|
5474
|
-
*/
|
|
5475
|
-
settle(target: number, done: () => void, velocity?: number): void;
|
|
5476
|
-
/**
|
|
5477
|
-
* A settle from rest with no drag: takes hold of `surface` and settles it to
|
|
5478
|
-
* `target` in one step, for a change asked by a click, a key or code rather
|
|
5479
|
-
* than a finger. Supersedes a running settle the way a `begin` does.
|
|
5480
|
-
*/
|
|
5481
|
-
moveTo(surface: SheetMotionSurface, target: number, done: () => void): void;
|
|
5482
|
-
/**
|
|
5483
|
-
* Lets go of the surface; the transform is the stylesheet's again. The
|
|
5484
|
-
* settle's timing comes off with it, so a transition that outlives the
|
|
5485
|
-
* gesture — a scrim's fade on close — keeps the stylesheet's own pace rather
|
|
5486
|
-
* than the curve of the last settle.
|
|
5487
|
-
*/
|
|
5488
|
-
rest(): void;
|
|
5489
|
-
/**
|
|
5490
|
-
* Writes the timing of a settle to `target` onto the surface and its scrim.
|
|
5491
|
-
* The travel starts from the offset last written inline, which is where a
|
|
5492
|
-
* released drag left the surface; a settle that supersedes another starts
|
|
5493
|
-
* from the other's target, and the browser's own retargeting of the running
|
|
5494
|
-
* transition covers the difference.
|
|
5495
|
-
*/
|
|
5496
|
-
private _writeCurve;
|
|
5497
|
-
/**
|
|
5498
|
-
* Only the backdrop's progress is clamped to the extent; the offset itself
|
|
5499
|
-
* is written unclamped.
|
|
5500
|
-
*/
|
|
5501
|
-
private _write;
|
|
5502
|
-
}
|
|
5503
|
-
|
|
5504
5998
|
declare class MenuItemComponent {
|
|
5505
5999
|
readonly key: i0.InputSignal<string>;
|
|
5506
6000
|
readonly templateRef: i0.Signal<TemplateRef<unknown>>;
|
|
@@ -5640,16 +6134,9 @@ declare class Menu {
|
|
|
5640
6134
|
protected readonly sheet: i0.WritableSignal<boolean>;
|
|
5641
6135
|
/**
|
|
5642
6136
|
* The sheet's dismissal drag: the finger's hold on the pane, its travel out
|
|
5643
|
-
* past the bottom edge and the settle after release.
|
|
5644
|
-
* sheet leaves.
|
|
5645
|
-
*/
|
|
5646
|
-
protected readonly sheetMotion: SheetMotion;
|
|
5647
|
-
private _sheetClosing;
|
|
5648
|
-
/**
|
|
5649
|
-
* How far below its rest the pane was drawn when the drag began: 0 from
|
|
5650
|
-
* rest, the settle's position when caught mid-flight.
|
|
6137
|
+
* past the bottom edge and the settle after release.
|
|
5651
6138
|
*/
|
|
5652
|
-
|
|
6139
|
+
protected readonly sheetDismissal: SheetDragDismissal;
|
|
5653
6140
|
constructor();
|
|
5654
6141
|
open(trigger: MouseEvent | HTMLElement): void;
|
|
5655
6142
|
openAtPoint(x: number, y: number): void;
|
|
@@ -5675,22 +6162,8 @@ declare class Menu {
|
|
|
5675
6162
|
protected itemDescriptionId(index: number): string;
|
|
5676
6163
|
/** Content template for the item: its keyed slot first, the shared `#itemTemplate` otherwise. */
|
|
5677
6164
|
protected itemContentTemplate(item: MenuActionItem): TemplateRef<unknown> | undefined;
|
|
5678
|
-
protected onSheetPanStart(pane: HTMLElement, event: PanEvent): void;
|
|
5679
|
-
/**
|
|
5680
|
-
* Fired outside the Angular zone (see `PanDirective.panMove`), so it writes
|
|
5681
|
-
* to the DOM directly and never touches a signal. The sheet does not
|
|
5682
|
-
* overshoot open, so upward travel is clamped away.
|
|
5683
|
-
*/
|
|
5684
|
-
protected onSheetPanMove(event: PanEvent): void;
|
|
5685
|
-
protected onSheetPanEnd(event: PanEvent): void;
|
|
5686
|
-
protected onSheetPanCancel(): void;
|
|
5687
6165
|
/** Whether the viewport sits at or below the configured sheet breakpoint. */
|
|
5688
6166
|
private _prefersSheet;
|
|
5689
|
-
/**
|
|
5690
|
-
* Resets the per-open presentation state; the pane itself is stamped fresh
|
|
5691
|
-
* from the template on every open, so only the component-held state carries
|
|
5692
|
-
* over.
|
|
5693
|
-
*/
|
|
5694
6167
|
/**
|
|
5695
6168
|
* Moves focus into the menu once its panel is drawn, as the menu-button pattern has it: to the
|
|
5696
6169
|
* checked item of a choice, so the current answer is where the person starts, otherwise to the
|
|
@@ -5705,21 +6178,12 @@ declare class Menu {
|
|
|
5705
6178
|
* opened — which keeps it.
|
|
5706
6179
|
*/
|
|
5707
6180
|
private _returnFocus;
|
|
5708
|
-
private _prepareOpen;
|
|
5709
|
-
/**
|
|
5710
|
-
* Travel toward the bottom edge in px: where the drag picked the pane up,
|
|
5711
|
-
* plus the finger's travel since.
|
|
5712
|
-
*/
|
|
5713
|
-
private _sheetTravel;
|
|
5714
6181
|
/**
|
|
5715
|
-
*
|
|
5716
|
-
*
|
|
5717
|
-
*
|
|
5718
|
-
* leave keyframe: that starts from the fully open position, so the pane
|
|
5719
|
-
* would snap back for a frame before leaving — the stylesheet stands the
|
|
5720
|
-
* keyframe down while the drag state classes are on.
|
|
6182
|
+
* Resets the per-open presentation state; the pane itself is stamped fresh
|
|
6183
|
+
* from the template on every open, so only the component-held state carries
|
|
6184
|
+
* over.
|
|
5721
6185
|
*/
|
|
5722
|
-
private
|
|
6186
|
+
private _prepareOpen;
|
|
5723
6187
|
static ɵfac: i0.ɵɵFactoryDeclaration<Menu, never>;
|
|
5724
6188
|
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>;
|
|
5725
6189
|
}
|
|
@@ -6037,6 +6501,13 @@ declare class Popover {
|
|
|
6037
6501
|
private static _counter;
|
|
6038
6502
|
private readonly _config;
|
|
6039
6503
|
private readonly _overlay;
|
|
6504
|
+
private readonly _focusTrapFactory;
|
|
6505
|
+
private readonly _document;
|
|
6506
|
+
private readonly _injector;
|
|
6507
|
+
/** What held focus when the panel opened, handed focus back as it closes. */
|
|
6508
|
+
private _returnFocusTo;
|
|
6509
|
+
/** Keeps Tab within the panel while it holds focus. */
|
|
6510
|
+
private _focusTrap;
|
|
6040
6511
|
private readonly _templateRef;
|
|
6041
6512
|
readonly id: string;
|
|
6042
6513
|
readonly isOpen: i0.Signal<boolean>;
|
|
@@ -6076,6 +6547,11 @@ declare class Popover {
|
|
|
6076
6547
|
* Leave focus where it is when the panel is pressed, for a panel that is only pointed at
|
|
6077
6548
|
* while its owner keeps focus: picking from it then never blurs the field it belongs to.
|
|
6078
6549
|
* Leave it off for a panel holding a text field, which a press has to be able to focus.
|
|
6550
|
+
*
|
|
6551
|
+
* Such a panel also leaves focus with its owner as it opens. Any other panel takes focus
|
|
6552
|
+
* itself, on its first control, and holds Tab while it is open: it is drawn at the end of
|
|
6553
|
+
* the page, so focus left behind could never reach it, and focus tabbing on past it would
|
|
6554
|
+
* fall off the page.
|
|
6079
6555
|
*/
|
|
6080
6556
|
readonly keepFocusOnPress: i0.InputSignalWithTransform<boolean, unknown>;
|
|
6081
6557
|
/** Emits after the panel closes, with what closed it. */
|
|
@@ -6084,6 +6560,18 @@ declare class Popover {
|
|
|
6084
6560
|
open(trigger: MouseEvent | HTMLElement): void;
|
|
6085
6561
|
close(): void;
|
|
6086
6562
|
toggle(trigger: MouseEvent | HTMLElement): void;
|
|
6563
|
+
/**
|
|
6564
|
+
* Moves focus into the panel once it is drawn — to the control marked `cdkFocusInitial`,
|
|
6565
|
+
* or else the first one — and holds Tab within it. A panel with nothing to focus takes
|
|
6566
|
+
* focus itself, so focus never stays behind on a page the panel covers.
|
|
6567
|
+
*/
|
|
6568
|
+
private _takeFocusOnceShown;
|
|
6569
|
+
/**
|
|
6570
|
+
* Hands focus back to where it was when the panel opened: after Escape, or the owner
|
|
6571
|
+
* closing it. Not after a press outside, where focus already belongs to whatever was
|
|
6572
|
+
* pressed; nor once focus has left the panel for somewhere else, which keeps it.
|
|
6573
|
+
*/
|
|
6574
|
+
private _returnFocus;
|
|
6087
6575
|
static ɵfac: i0.ɵɵFactoryDeclaration<Popover, never>;
|
|
6088
6576
|
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; }; "backdrop": { "alias": "backdrop"; "required": false; "isSignal": true; }; "keepFocusOnPress": { "alias": "keepFocusOnPress"; "required": false; "isSignal": true; }; }, { "closed": "closed"; }, never, ["*"], true, never>;
|
|
6089
6577
|
}
|
|
@@ -6631,7 +7119,7 @@ declare class Sheet implements OnDestroy {
|
|
|
6631
7119
|
private readonly _heights;
|
|
6632
7120
|
/** Annotated because its own callback reads it back for the travel. */
|
|
6633
7121
|
private readonly _motion;
|
|
6634
|
-
protected readonly motionState: i0.Signal<
|
|
7122
|
+
protected readonly motionState: i0.Signal<dragMotionState>;
|
|
6635
7123
|
private _overlayRef;
|
|
6636
7124
|
/**
|
|
6637
7125
|
* The detent the sheet is at or moving to, so a remeasure mid-settle
|
|
@@ -6809,6 +7297,68 @@ declare class Sheet implements OnDestroy {
|
|
|
6809
7297
|
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>;
|
|
6810
7298
|
}
|
|
6811
7299
|
|
|
7300
|
+
/**
|
|
7301
|
+
* Draws a skeleton in an image's own box while its picture is on its way, and
|
|
7302
|
+
* clears it once the picture is decoded and ready to paint, so an image coming
|
|
7303
|
+
* in over the network reads as content still to come rather than as an empty
|
|
7304
|
+
* hole. An image the browser already holds is ready at once and never shows the
|
|
7305
|
+
* placeholder.
|
|
7306
|
+
*
|
|
7307
|
+
* ```html
|
|
7308
|
+
* <img tlsImageSkeleton src="beach.jpg" alt="Beach" width="320" height="200" />
|
|
7309
|
+
* ```
|
|
7310
|
+
*
|
|
7311
|
+
* The placeholder is the image's own background, as the framework's optimized
|
|
7312
|
+
* image draws its blurred placeholder, so it takes the image's size, shape and
|
|
7313
|
+
* radius with no element of its own. The image therefore needs a size before
|
|
7314
|
+
* its picture arrives — width and height attributes, or a size given by its
|
|
7315
|
+
* layout; a box that waits for the picture to size it has nothing to draw on.
|
|
7316
|
+
*
|
|
7317
|
+
* A picture that fails to load clears the placeholder too and leaves the
|
|
7318
|
+
* browser's own broken-image rendering; listen to the image's native `error`
|
|
7319
|
+
* event to show a fallback in its place. A new source shows the placeholder
|
|
7320
|
+
* again until that picture is ready.
|
|
7321
|
+
*
|
|
7322
|
+
* The fill and its sweep follow the skeleton's: the same colours, the sweep
|
|
7323
|
+
* only at the `full` motion level, and no sweep where the skeleton config turns
|
|
7324
|
+
* `animate` off.
|
|
7325
|
+
*/
|
|
7326
|
+
declare class ImageSkeletonDirective {
|
|
7327
|
+
private readonly _elementRef;
|
|
7328
|
+
private readonly _destroyRef;
|
|
7329
|
+
private readonly _config;
|
|
7330
|
+
/**
|
|
7331
|
+
* Whether the picture is still on its way. True until the first render
|
|
7332
|
+
* reads the image, so a page rendered ahead of the browser (on a server)
|
|
7333
|
+
* shows the placeholder rather than a blank box.
|
|
7334
|
+
*/
|
|
7335
|
+
protected readonly loading: i0.WritableSignal<boolean>;
|
|
7336
|
+
/** Whether the placeholder sweeps, read once from the skeleton config. */
|
|
7337
|
+
protected readonly animate: boolean;
|
|
7338
|
+
/**
|
|
7339
|
+
* Counts the sources the image has been given, so a picture decoded after
|
|
7340
|
+
* the source changed again does not clear the placeholder of its successor.
|
|
7341
|
+
*/
|
|
7342
|
+
private _sourceGeneration;
|
|
7343
|
+
constructor();
|
|
7344
|
+
/**
|
|
7345
|
+
* Waits for the picture to be decoded before clearing the placeholder: an
|
|
7346
|
+
* image decoded off the main thread can fire `load` a frame before it paints,
|
|
7347
|
+
* and clearing on `load` would show a blank box for that frame.
|
|
7348
|
+
*/
|
|
7349
|
+
protected onLoad(): void;
|
|
7350
|
+
protected onError(): void;
|
|
7351
|
+
/**
|
|
7352
|
+
* Shows the placeholder again whenever the image is given a source it does
|
|
7353
|
+
* not yet hold. A source can be set by any binding — a plain `src`, a
|
|
7354
|
+
* `srcset`, or a directive that writes them — so the attributes themselves
|
|
7355
|
+
* are watched rather than an input of this directive's.
|
|
7356
|
+
*/
|
|
7357
|
+
private _observeSource;
|
|
7358
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ImageSkeletonDirective, never>;
|
|
7359
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ImageSkeletonDirective, "img[tlsImageSkeleton]", never, {}, {}, never, never, true, never>;
|
|
7360
|
+
}
|
|
7361
|
+
|
|
6812
7362
|
/**
|
|
6813
7363
|
* A placeholder drawn where content is still on its way. By default it is a
|
|
6814
7364
|
* box of the given size; as `text` it is one line of the text it stands in
|
|
@@ -6823,6 +7373,11 @@ declare class Skeleton {
|
|
|
6823
7373
|
readonly radius: InputSignal<radiusValue>;
|
|
6824
7374
|
readonly duration: InputSignal<number>;
|
|
6825
7375
|
readonly rounded: InputSignalWithTransform<boolean, unknown>;
|
|
7376
|
+
/**
|
|
7377
|
+
* Whether the fill sweeps while it waits. The sweep is decorative, so it plays
|
|
7378
|
+
* only at the `full` motion level; below it the fill holds still whatever this
|
|
7379
|
+
* is set to.
|
|
7380
|
+
*/
|
|
6826
7381
|
readonly animate: InputSignalWithTransform<boolean, unknown>;
|
|
6827
7382
|
/**
|
|
6828
7383
|
* Whether there is still something to wait for. Turned off, the skeleton
|
|
@@ -7012,7 +7567,7 @@ declare class Step {
|
|
|
7012
7567
|
readonly invalid: InputSignalWithTransform<boolean, unknown>;
|
|
7013
7568
|
protected hostClasses: Signal<string[]>;
|
|
7014
7569
|
static ɵfac: i0.ɵɵFactoryDeclaration<Step, never>;
|
|
7015
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<Step, "tls-step", never, { "label": { "alias": "label"; "required": false; "isSignal": true; }; "description": { "alias": "description"; "required": false; "isSignal": true; }; "color": { "alias": "color"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "invalid": { "alias": "invalid"; "required": false; "isSignal": true; }; }, {}, ["iconTemplateRef", "completedIconTemplateRef"], ["*"], true, [{ directive: typeof i1$
|
|
7570
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<Step, "tls-step", never, { "label": { "alias": "label"; "required": false; "isSignal": true; }; "description": { "alias": "description"; "required": false; "isSignal": true; }; "color": { "alias": "color"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "invalid": { "alias": "invalid"; "required": false; "isSignal": true; }; }, {}, ["iconTemplateRef", "completedIconTemplateRef"], ["*"], true, [{ directive: typeof i1$2.TabPanel; inputs: { "value": "value"; }; outputs: {}; }]>;
|
|
7016
7571
|
}
|
|
7017
7572
|
|
|
7018
7573
|
interface StepperConfig {
|
|
@@ -7054,7 +7609,7 @@ declare class Stepper {
|
|
|
7054
7609
|
protected activeIndex: Signal<number>;
|
|
7055
7610
|
protected onSelectedTabChange(value: stepperValue | undefined): void;
|
|
7056
7611
|
static ɵfac: i0.ɵɵFactoryDeclaration<Stepper, never>;
|
|
7057
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<Stepper, "tls-stepper", never, { "active": { "alias": "active"; "required": true; "isSignal": true; }; "orientation": { "alias": "orientation"; "required": false; "isSignal": true; }; "labelPosition": { "alias": "labelPosition"; "required": false; "isSignal": true; }; "completed": { "alias": "completed"; "required": false; "isSignal": true; }; "linear": { "alias": "linear"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; "ariaLabelledby": { "alias": "ariaLabelledby"; "required": false; "isSignal": true; }; }, { "active": "activeChange"; "stepSelect": "stepSelect"; }, ["steps", "completedTemplateRef", "completedIconTemplateRef"], ["*"], true, [{ directive: typeof i1$
|
|
7612
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<Stepper, "tls-stepper", never, { "active": { "alias": "active"; "required": true; "isSignal": true; }; "orientation": { "alias": "orientation"; "required": false; "isSignal": true; }; "labelPosition": { "alias": "labelPosition"; "required": false; "isSignal": true; }; "completed": { "alias": "completed"; "required": false; "isSignal": true; }; "linear": { "alias": "linear"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; "ariaLabelledby": { "alias": "ariaLabelledby"; "required": false; "isSignal": true; }; }, { "active": "activeChange"; "stepSelect": "stepSelect"; }, ["steps", "completedTemplateRef", "completedIconTemplateRef"], ["*"], true, [{ directive: typeof i1$2.Tabs; inputs: {}; outputs: {}; }]>;
|
|
7058
7613
|
}
|
|
7059
7614
|
|
|
7060
7615
|
declare const STEPPER_CONFIG: InjectionToken<StepperConfig>;
|
|
@@ -7276,7 +7831,7 @@ declare class Tabs {
|
|
|
7276
7831
|
*/
|
|
7277
7832
|
focusTab(value: tabValue): void;
|
|
7278
7833
|
static ɵfac: i0.ɵɵFactoryDeclaration<Tabs, never>;
|
|
7279
|
-
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$
|
|
7834
|
+
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$2.Tabs; inputs: {}; outputs: {}; }]>;
|
|
7280
7835
|
}
|
|
7281
7836
|
|
|
7282
7837
|
interface TabsConfig {
|
|
@@ -7586,7 +8141,11 @@ interface ToastOptions {
|
|
|
7586
8141
|
message: string;
|
|
7587
8142
|
title?: string;
|
|
7588
8143
|
color?: toastColor;
|
|
7589
|
-
/**
|
|
8144
|
+
/**
|
|
8145
|
+
* Auto-dismiss delay in ms; `0` keeps it open until dismissed. Falls back to
|
|
8146
|
+
* the config's `actionDuration` when the toast carries an action, else to its
|
|
8147
|
+
* `duration`.
|
|
8148
|
+
*/
|
|
7590
8149
|
duration?: number;
|
|
7591
8150
|
/** Whether to render a close button. Falls back to the config. */
|
|
7592
8151
|
closable?: boolean;
|
|
@@ -7647,6 +8206,8 @@ declare class ToastService {
|
|
|
7647
8206
|
pause(): void;
|
|
7648
8207
|
/** Resumes every paused auto-dismiss timer from its remaining time. */
|
|
7649
8208
|
resume(): void;
|
|
8209
|
+
/** The configured delay for a toast that names none of its own. */
|
|
8210
|
+
private _defaultDuration;
|
|
7650
8211
|
private _startTimer;
|
|
7651
8212
|
private _clearTimer;
|
|
7652
8213
|
/**
|
|
@@ -7661,10 +8222,29 @@ declare class ToastService {
|
|
|
7661
8222
|
interface ToastConfig {
|
|
7662
8223
|
/** Corner of the viewport toasts are anchored to. */
|
|
7663
8224
|
position: toastPosition;
|
|
8225
|
+
/**
|
|
8226
|
+
* Corner the stack moves to at or below {@link compactBelow}. A narrow viewport
|
|
8227
|
+
* often keeps different chrome at its edges than a wide one, so the corner that
|
|
8228
|
+
* suits a desktop can sit under a phone's notch or out of thumb reach. `null`
|
|
8229
|
+
* keeps {@link position} at every width.
|
|
8230
|
+
*/
|
|
8231
|
+
compactPosition: toastPosition | null;
|
|
8232
|
+
/**
|
|
8233
|
+
* Breakpoint at or below which {@link compactPosition} applies. `null` keeps
|
|
8234
|
+
* {@link position} at every width. Takes effect only when the app provides the
|
|
8235
|
+
* viewport (`provideViewport()`).
|
|
8236
|
+
*/
|
|
8237
|
+
compactBelow: breakpoint | null;
|
|
7664
8238
|
/** Layout of multiple toasts: a hover-to-expand pile, or an always-open list. */
|
|
7665
8239
|
stacking: toastStacking;
|
|
7666
8240
|
/** Auto-dismiss delay in milliseconds. `0` keeps the toast until dismissed explicitly. */
|
|
7667
8241
|
duration: number;
|
|
8242
|
+
/**
|
|
8243
|
+
* Auto-dismiss delay in milliseconds for a toast that carries an action, which
|
|
8244
|
+
* needs time to be read and then reached; `0` keeps it until dismissed. `null`
|
|
8245
|
+
* gives it {@link duration} like any other toast.
|
|
8246
|
+
*/
|
|
8247
|
+
actionDuration: number | null;
|
|
7668
8248
|
/** Maximum number of toasts kept at once; showing more dismisses the oldest. */
|
|
7669
8249
|
max: number;
|
|
7670
8250
|
/** Default color when a toast does not specify one. */
|
|
@@ -8141,6 +8721,37 @@ declare const DEFAULT_VIRTUAL_SCROLL_CONFIG: VirtualScrollConfig;
|
|
|
8141
8721
|
|
|
8142
8722
|
declare const VIRTUAL_SCROLL_CONFIG: InjectionToken<VirtualScrollConfig>;
|
|
8143
8723
|
|
|
8724
|
+
/**
|
|
8725
|
+
* Formats the parts of a date named in `options` — a CLDR skeleton — in the order and form
|
|
8726
|
+
* `locale` writes them, which a fixed `date-fns` pattern cannot do: `{ month: 'short', day:
|
|
8727
|
+
* 'numeric' }` reads `Nov 21` in English, `21 нояб.` in Russian.
|
|
8728
|
+
*/
|
|
8729
|
+
declare const formatSkeleton: (date: Date, options: Intl.DateTimeFormatOptions, locale: Locale | undefined) => string;
|
|
8730
|
+
/**
|
|
8731
|
+
* Formats a span of dates as `locale` writes one, naming once what both ends share: a week
|
|
8732
|
+
* reads `Nov 16 – 22, 2026` in English and `16–22 нояб. 2026 г.` in Russian, and one that
|
|
8733
|
+
* crosses a month names both months.
|
|
8734
|
+
*/
|
|
8735
|
+
declare const formatSkeletonRange: (start: Date, end: Date, options: Intl.DateTimeFormatOptions, locale: Locale | undefined) => string;
|
|
8736
|
+
|
|
8737
|
+
/**
|
|
8738
|
+
* Capitalizes the first letter of `text` with `locale`'s own capitals — the Unicode CLDR
|
|
8739
|
+
* `titlecase-firstword` transform. CLDR has month and weekday names stand alone (a calendar's
|
|
8740
|
+
* title, its column headers, a list of months) title-cased on the first word while the same
|
|
8741
|
+
* names inside a date stay lowercase: Russian `ноябрь` heads a calendar as `Ноябрь`. English
|
|
8742
|
+
* names are capitalized already, so English reads as it formats. Without a locale, `date-fns`
|
|
8743
|
+
* formats in English and the default capitals apply.
|
|
8744
|
+
*/
|
|
8745
|
+
declare const titlecaseFirstWord: (text: string, locale: Locale | undefined) => string;
|
|
8746
|
+
/**
|
|
8747
|
+
* Formats a date shown on its own rather than inside a sentence or next to a day number — a
|
|
8748
|
+
* month title, a weekday header — in `locale`, capitalized as CLDR has such text stand alone.
|
|
8749
|
+
* Patterns name months with the stand-alone tokens (`LLLL`, `LLL`) and weekdays with
|
|
8750
|
+
* `cccc`/`ccc`, since languages that decline them use a different form on their own: Russian
|
|
8751
|
+
* heads a month `Ноябрь 2026`, where the date reads `21 ноября`.
|
|
8752
|
+
*/
|
|
8753
|
+
declare const formatStandalone: (date: Date, pattern: string, locale: Locale | undefined) => string;
|
|
8754
|
+
|
|
8144
8755
|
/**
|
|
8145
8756
|
* Clock convention used when formatting times. `'locale'` follows the configured
|
|
8146
8757
|
* `date-fns` locale's own short-time pattern.
|
|
@@ -8163,6 +8774,28 @@ interface LocaleConfig {
|
|
|
8163
8774
|
hourCycle: hourCycle;
|
|
8164
8775
|
}
|
|
8165
8776
|
|
|
8777
|
+
/**
|
|
8778
|
+
* Sets the app-wide first day of the week. The factory runs in an injection context, so it
|
|
8779
|
+
* can hand over a signal owned by one of the app's own services — a person's synced setting —
|
|
8780
|
+
* and every calendar, date-time picker and activity heatmap follows it as it changes.
|
|
8781
|
+
*
|
|
8782
|
+
* @example
|
|
8783
|
+
* provideWeekStartsOn(() => inject(WeekStartService).dayNumber);
|
|
8784
|
+
*/
|
|
8785
|
+
declare const provideWeekStartsOn: (factory: () => Signal<Day>) => EnvironmentProviders;
|
|
8786
|
+
|
|
8787
|
+
/**
|
|
8788
|
+
* The first day of the week (`date-fns` convention: 0 = Sunday) for every component that
|
|
8789
|
+
* lays days out in weeks — the calendar, the date-time picker and the activity heatmap. A
|
|
8790
|
+
* signal, so an app can hand over a value that changes while it runs (a person's own
|
|
8791
|
+
* setting) through `provideWeekStartsOn`.
|
|
8792
|
+
*
|
|
8793
|
+
* It is the least specific of the sources a component consults; each component resolves,
|
|
8794
|
+
* most specific first: its `weekStartsOn` input, its component config's `weekStartsOn`, this
|
|
8795
|
+
* token, and — this token's own default — the configured `date-fns` locale's first day.
|
|
8796
|
+
*/
|
|
8797
|
+
declare const WEEK_STARTS_ON: InjectionToken<Signal<Day>>;
|
|
8798
|
+
|
|
8166
8799
|
interface tlsUiConfigProvider {
|
|
8167
8800
|
/** Cross-cutting accessibility policy applied across every component (not tied to a single one). */
|
|
8168
8801
|
accessibility?: Partial<AccessibilityConfig>;
|
|
@@ -8271,6 +8904,14 @@ interface tlsUiConfigProvider {
|
|
|
8271
8904
|
declare abstract class AbstractSelect<T, V, ValueType> extends ValueFormControl<ValueType> {
|
|
8272
8905
|
protected readonly overlay: OverlayManager;
|
|
8273
8906
|
private readonly _document;
|
|
8907
|
+
private readonly _injector;
|
|
8908
|
+
private readonly _renderer;
|
|
8909
|
+
private readonly _inputModalityDetector;
|
|
8910
|
+
/**
|
|
8911
|
+
* Optional: only apps that call `provideViewport()` register it, and without it every list
|
|
8912
|
+
* opens beside its field.
|
|
8913
|
+
*/
|
|
8914
|
+
private readonly _viewportService;
|
|
8274
8915
|
private readonly triggerElement;
|
|
8275
8916
|
private readonly panelTemplate;
|
|
8276
8917
|
private readonly virtualScrollRef;
|
|
@@ -8285,6 +8926,11 @@ declare abstract class AbstractSelect<T, V, ValueType> extends ValueFormControl<
|
|
|
8285
8926
|
* describe a viewport that no longer exists once options arrive.
|
|
8286
8927
|
*/
|
|
8287
8928
|
private _viewportWasCollapsed;
|
|
8929
|
+
/**
|
|
8930
|
+
* The option the list opened on — the current choice, or the first that can be chosen —
|
|
8931
|
+
* which the first render of an open panel brings into view even while no option is active.
|
|
8932
|
+
*/
|
|
8933
|
+
private _openingIndex;
|
|
8288
8934
|
/**
|
|
8289
8935
|
* Keeps the active option visible inside the scrolling panel. Focus stays on the
|
|
8290
8936
|
* trigger and only `aria-activedescendant` moves, so the browser never scrolls the
|
|
@@ -8323,6 +8969,16 @@ declare abstract class AbstractSelect<T, V, ValueType> extends ValueFormControl<
|
|
|
8323
8969
|
/** Fixed height of an option row, in pixels, when the panel is virtualized. */
|
|
8324
8970
|
abstract readonly virtualScrollItemSize: InputSignalWithTransform<number, unknown>;
|
|
8325
8971
|
protected readonly isOpen: Signal<boolean>;
|
|
8972
|
+
/**
|
|
8973
|
+
* Whether the list on screen is shown as a bottom sheet. Captured per open — not derived
|
|
8974
|
+
* live — so a viewport resize mid-open cannot restyle a pane the overlay has already placed
|
|
8975
|
+
* the other way.
|
|
8976
|
+
*/
|
|
8977
|
+
protected readonly presentsAsSheet: WritableSignal<boolean>;
|
|
8978
|
+
/** The drag that carries the list shut while it is shown as a sheet. */
|
|
8979
|
+
protected readonly sheetDismissal: SheetDragDismissal;
|
|
8980
|
+
/** Pointers that may drag a sheet shut: a finger or a pen, never a mouse. */
|
|
8981
|
+
protected readonly sheetDragPointerTypes: readonly string[];
|
|
8326
8982
|
protected readonly normalizedOptions: Signal<Option<V>[]>;
|
|
8327
8983
|
/**
|
|
8328
8984
|
* Options actually shown in the panel and traversed by keyboard navigation, in the order they
|
|
@@ -8377,15 +9033,20 @@ declare abstract class AbstractSelect<T, V, ValueType> extends ValueFormControl<
|
|
|
8377
9033
|
/** Reset the control to its empty value. */
|
|
8378
9034
|
protected abstract clear(): void;
|
|
8379
9035
|
/**
|
|
8380
|
-
* Host modifiers
|
|
8381
|
-
* within the host-class computation, so signals a control reads here stay reactive.
|
|
9036
|
+
* Host modifiers only one control has — a state or a variant — listed alongside the shared ones.
|
|
9037
|
+
* Read from within the host-class computation, so signals a control reads here stay reactive.
|
|
8382
9038
|
*/
|
|
8383
|
-
protected
|
|
9039
|
+
protected hostModifierClasses(): string[];
|
|
8384
9040
|
/**
|
|
8385
9041
|
* Narrows the option list shown in the panel. The listbox controls show every option; an editable
|
|
8386
9042
|
* combobox overrides this to filter by the typed query.
|
|
8387
9043
|
*/
|
|
8388
9044
|
protected filterVisibleOptions(options: Option<V>[]): Option<V>[];
|
|
9045
|
+
/**
|
|
9046
|
+
* Breakpoint at or below which the list opens as a bottom sheet; `null` keeps it beside the
|
|
9047
|
+
* field at every width. A control offering the sheet overrides this.
|
|
9048
|
+
*/
|
|
9049
|
+
protected sheetBreakpoint(): breakpoint | null;
|
|
8389
9050
|
/** Hook invoked after the panel has closed, once the trigger has regained focus. */
|
|
8390
9051
|
protected onClosed(): void;
|
|
8391
9052
|
/**
|
|
@@ -8407,6 +9068,13 @@ declare abstract class AbstractSelect<T, V, ValueType> extends ValueFormControl<
|
|
|
8407
9068
|
/** Context handed to the consumer's option template for the option at `index`. */
|
|
8408
9069
|
protected optionContext(option: Option<V>, index: number): selectTemplateContext<T, V>;
|
|
8409
9070
|
protected moveActive(direction: 1 | -1): void;
|
|
9071
|
+
/**
|
|
9072
|
+
* Whether this open shows the list as a sheet: the control offers one and the viewport is at
|
|
9073
|
+
* or below its breakpoint.
|
|
9074
|
+
*/
|
|
9075
|
+
private _prefersSheet;
|
|
9076
|
+
/** How the list is placed when it opens beside the field rather than as a sheet. */
|
|
9077
|
+
private _besideFieldPlacement;
|
|
8410
9078
|
private moveActiveToEdge;
|
|
8411
9079
|
static ɵfac: i0.ɵɵFactoryDeclaration<AbstractSelect<any, any, any>, never>;
|
|
8412
9080
|
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>;
|
|
@@ -8423,5 +9091,5 @@ declare abstract class QuerySyncDirective {
|
|
|
8423
9091
|
|
|
8424
9092
|
declare const provideThalassicUIConfig: (config?: tlsUiConfigProvider) => EnvironmentProviders;
|
|
8425
9093
|
|
|
8426
|
-
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_SLIDING_INDICATOR_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, FormItemLabelAction, FormSkeleton, 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, POSITIONED_VALUES, 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_MINIMUM_HOLD_MS, RIPPLE_MOVE_SLOP_PX, RIPPLE_RELEASED_CLASS, RIPPLE_TOUCH_DELAY_MS, RIPPLE_X_PROPERTY, RIPPLE_Y_PROPERTY, RadioButton, Rating, RippleDirective, SELECT_CONFIG, SKELETON_CONFIG, SLIDER_CONFIG, SLIDING_INDICATOR_ATTRIBUTE, SLIDING_INDICATOR_BOX_PROPERTIES, SLIDING_INDICATOR_CONFIG, SLIDING_INDICATOR_HEIGHT_PROPERTY, SLIDING_INDICATOR_PLACED, SLIDING_INDICATOR_TRAVELLING, SLIDING_INDICATOR_WIDTH_PROPERTY, SLIDING_INDICATOR_X_PROPERTY, SLIDING_INDICATOR_Y_PROPERTY, SLIDING_TABS_VARIANTS, 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, injectFormSkeleton, isTypeRejected, normalizeAccept, parseColor, provideFormItemConfig, provideThalassicIcons, provideThalassicUIConfig, relativeLuminance, resolveActivityLevel, rgbToHsv, rgbaToHex, slidingIndicator, toImagePreviewImage };
|
|
8427
|
-
export type { AccordionConfig, ActivityHeatmapConfig, ActivityHeatmapDay, ActivityHeatmapEntry, ActivityHeatmapLabels, ActivityHeatmapMonth, ActivityHeatmapRow, ActivityHeatmapTotal, AlertConfig, AutocompleteConfig, BadgeConfig, BreadcrumbItem, BreadcrumbItemContext, BreadcrumbsConfig, ButtonConfig, CalendarConfig, CalendarDayContext, CalendarEvent, CalendarEventContext, CalendarLabels, CalendarPeekWeeks, 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, FileInputTriggerContext, 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, SlidingIndicatorBox, SlidingIndicatorConfig, SlidingIndicatorMeasurement, SlidingIndicatorOptions, 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, numberInputMode, 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 };
|
|
9094
|
+
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_SLIDING_INDICATOR_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, FormItemLabelAction, FormSkeleton, 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, ImageSkeletonDirective, 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, POSITIONED_VALUES, 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_MINIMUM_HOLD_MS, RIPPLE_MOVE_SLOP_PX, RIPPLE_RELEASED_CLASS, RIPPLE_TOUCH_DELAY_MS, RIPPLE_X_PROPERTY, RIPPLE_Y_PROPERTY, RadioButton, Rating, RippleDirective, SELECT_CONFIG, SKELETON_CONFIG, SLIDER_CONFIG, SLIDING_INDICATOR_ATTRIBUTE, SLIDING_INDICATOR_BOX_PROPERTIES, SLIDING_INDICATOR_CONFIG, SLIDING_INDICATOR_HEIGHT_PROPERTY, SLIDING_INDICATOR_PLACED, SLIDING_INDICATOR_TRAVELLING, SLIDING_INDICATOR_WIDTH_PROPERTY, SLIDING_INDICATOR_X_PROPERTY, SLIDING_INDICATOR_Y_PROPERTY, SLIDING_TABS_VARIANTS, 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, WEEK_STARTS_ON, acceptsFile, aggregateActivityEntries, applyMask, buildActivityMonthSegments, buildActivityThresholds, canonicalHex, contrastForeground, formatHsl, formatRgb, formatSkeleton, formatSkeletonRange, formatStandalone, hslToHsv, hsvToHsl, hsvToRgb, injectFormSkeleton, isTypeRejected, normalizeAccept, parseColor, provideFormItemConfig, provideThalassicIcons, provideThalassicUIConfig, provideWeekStartsOn, relativeLuminance, resolveActivityLevel, rgbToHsv, rgbaToHex, settleCurve, slidingIndicator, titlecaseFirstWord, toImagePreviewImage };
|
|
9095
|
+
export type { AccordionConfig, ActivityHeatmapConfig, ActivityHeatmapDay, ActivityHeatmapEntry, ActivityHeatmapLabels, ActivityHeatmapMonth, ActivityHeatmapRow, ActivityHeatmapTotal, AlertConfig, AutocompleteConfig, BadgeConfig, BreadcrumbItem, BreadcrumbItemContext, BreadcrumbsConfig, ButtonConfig, CalendarConfig, CalendarDateFilter, CalendarDayContext, CalendarEvent, CalendarEventContext, CalendarHeaderContext, CalendarLabels, CalendarPeekWeeks, CalendarRange, CarouselConfig, CarouselLabels, CheckboxConfig, ChipConfig, ChipContext, ChipControlConfig, ChipGroupConfig, ChipInputConfig, ChipInputLabels, 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, FileInputTriggerContext, 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, SettleCurve, SheetDetent, SheetHeaderTemplate, SheetMeasures, SkeletonConfig, SliderConfig, SlidingIndicatorBox, SlidingIndicatorConfig, SlidingIndicatorMeasurement, SlidingIndicatorOptions, 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, calendarMarker, calendarPageStep, 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, formItemGroup, hexCase, iconRegistry, iconRenderer, imageCompareOrientation, infiniteScrollState, inputVariant, labelPosition, loaderSize, menuItemRole, menuItemType, menuPosition, numberInputMode, 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 };
|