@thalassic/ui 22.24.0 → 22.26.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/fesm2022/thalassic-ui.mjs +406 -76
- package/fesm2022/thalassic-ui.mjs.map +1 -1
- package/package.json +1 -1
- package/types/thalassic-ui.d.ts +217 -34
package/package.json
CHANGED
package/types/thalassic-ui.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { TemplateRef, ElementRef, ModelSignal, InputSignal, WritableSignal, Signal, InputSignalWithTransform, InjectionToken, TrackByFunction, OutputEmitterRef, Type, EnvironmentProviders, OnDestroy, Renderer2, Injector, OnInit, ComponentRef } from '@angular/core';
|
|
2
|
+
import { TemplateRef, ElementRef, ModelSignal, InputSignal, WritableSignal, Signal, InputSignalWithTransform, InjectionToken, TrackByFunction, OutputEmitterRef, Type, EnvironmentProviders, Provider, OnDestroy, Renderer2, Injector, OnInit, 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';
|
|
@@ -18,10 +18,19 @@ import { CdkVirtualForOfContext, ExtendedScrollToOptions } from '@angular/cdk/sc
|
|
|
18
18
|
interface AccessibilityConfig {
|
|
19
19
|
/**
|
|
20
20
|
* Expands interactive controls to the accessible minimum tap target (44px) on touch
|
|
21
|
-
* devices, without changing their visual size or disturbing layout.
|
|
22
|
-
*
|
|
21
|
+
* devices, without changing their visual size or disturbing layout. Disabled by
|
|
22
|
+
* default: the overflowing hit areas of tightly packed controls overlap and take each
|
|
23
|
+
* other's edge taps, so enabling it presumes a layout spaced for them.
|
|
23
24
|
*/
|
|
24
25
|
expandTouchTargets: boolean;
|
|
26
|
+
/**
|
|
27
|
+
* Renders controls one step taller on a device whose primary pointer is coarse
|
|
28
|
+
* (sm 36px, md 44px, lg 52px instead of 28 / 36 / 44), so a finger gets a visibly
|
|
29
|
+
* larger control rather than only a larger invisible hit area. Applies to every
|
|
30
|
+
* control on the shared height scale, so a field and a button of one size still
|
|
31
|
+
* line up. Disabled by default: it changes layout, which a consumer opts into.
|
|
32
|
+
*/
|
|
33
|
+
enlargeTouchControls: boolean;
|
|
25
34
|
}
|
|
26
35
|
|
|
27
36
|
/**
|
|
@@ -203,6 +212,11 @@ declare abstract class FormControl<TValue = unknown> implements FormUiControl<TV
|
|
|
203
212
|
readonly formItemInputId: WritableSignal<string | null>;
|
|
204
213
|
/** Whether this control has a single native labelable element that a `<label for>` can target. */
|
|
205
214
|
readonly supportsLabelFor: boolean;
|
|
215
|
+
/**
|
|
216
|
+
* Whether every state of the control is itself an answer — on or off, chosen or not — so it can
|
|
217
|
+
* never be left unanswered, and an enclosing form item marks it neither optional nor otherwise.
|
|
218
|
+
*/
|
|
219
|
+
readonly alwaysAnswered: boolean;
|
|
206
220
|
/** Combined `aria-describedby` value (consumer description + form-item hint and error), or null when empty. */
|
|
207
221
|
protected readonly describedBy: Signal<string | null>;
|
|
208
222
|
/** Combined `aria-labelledby` value (consumer label id + form-item label), or null when empty. */
|
|
@@ -289,6 +303,8 @@ declare abstract class ValueFormControl<T> extends FormControl<T> implements For
|
|
|
289
303
|
|
|
290
304
|
declare abstract class CheckboxFormControl extends FormControl<boolean> implements FormCheckboxControl {
|
|
291
305
|
abstract readonly checked: ModelSignal<boolean>;
|
|
306
|
+
/** Unchecked is as much an answer as checked, so the control is never left unanswered. */
|
|
307
|
+
readonly alwaysAnswered = true;
|
|
292
308
|
protected controlClasses: i0.Signal<string[]>;
|
|
293
309
|
static ɵfac: i0.ɵɵFactoryDeclaration<CheckboxFormControl, never>;
|
|
294
310
|
static ɵdir: i0.ɵɵDirectiveDeclaration<CheckboxFormControl, never, never, {}, {}, never, never, true, never>;
|
|
@@ -896,13 +912,20 @@ declare class Badge {
|
|
|
896
912
|
readonly hidden: InputSignalWithTransform<boolean, unknown>;
|
|
897
913
|
readonly inset: InputSignalWithTransform<boolean, unknown>;
|
|
898
914
|
readonly bordered: InputSignalWithTransform<boolean, unknown>;
|
|
915
|
+
/**
|
|
916
|
+
* Sets the indicator in the flow of the content instead of over a corner of
|
|
917
|
+
* it — a standalone count, such as one at the end of a list row or beside a
|
|
918
|
+
* label, where there is no element for it to decorate. `position` and
|
|
919
|
+
* `inset` have nothing to place it against then and are ignored.
|
|
920
|
+
*/
|
|
921
|
+
readonly inline: InputSignalWithTransform<boolean, unknown>;
|
|
899
922
|
readonly ariaLabel: InputSignal<string | undefined>;
|
|
900
923
|
protected readonly visible: i0.Signal<boolean>;
|
|
901
924
|
protected readonly displayValue: i0.Signal<string>;
|
|
902
925
|
protected readonly decorative: i0.Signal<boolean>;
|
|
903
926
|
protected readonly hostClasses: i0.Signal<string[]>;
|
|
904
927
|
static ɵfac: i0.ɵɵFactoryDeclaration<Badge, never>;
|
|
905
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<Badge, "tls-badge", never, { "value": { "alias": "value"; "required": false; "isSignal": true; }; "max": { "alias": "max"; "required": false; "isSignal": true; }; "color": { "alias": "color"; "required": false; "isSignal": true; }; "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "position": { "alias": "position"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "dot": { "alias": "dot"; "required": false; "isSignal": true; }; "showZero": { "alias": "showZero"; "required": false; "isSignal": true; }; "hidden": { "alias": "hidden"; "required": false; "isSignal": true; }; "inset": { "alias": "inset"; "required": false; "isSignal": true; }; "bordered": { "alias": "bordered"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
928
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<Badge, "tls-badge", never, { "value": { "alias": "value"; "required": false; "isSignal": true; }; "max": { "alias": "max"; "required": false; "isSignal": true; }; "color": { "alias": "color"; "required": false; "isSignal": true; }; "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "position": { "alias": "position"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "dot": { "alias": "dot"; "required": false; "isSignal": true; }; "showZero": { "alias": "showZero"; "required": false; "isSignal": true; }; "hidden": { "alias": "hidden"; "required": false; "isSignal": true; }; "inset": { "alias": "inset"; "required": false; "isSignal": true; }; "bordered": { "alias": "bordered"; "required": false; "isSignal": true; }; "inline": { "alias": "inline"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
906
929
|
}
|
|
907
930
|
|
|
908
931
|
interface BadgeConfig {
|
|
@@ -1030,7 +1053,12 @@ declare abstract class ButtonBase {
|
|
|
1030
1053
|
readonly color: InputSignal<buttonColor>;
|
|
1031
1054
|
readonly variant: InputSignal<buttonVariant>;
|
|
1032
1055
|
readonly size: InputSignal<controlSize>;
|
|
1033
|
-
|
|
1056
|
+
/**
|
|
1057
|
+
* Rounds the button's ends fully: a pill for a labelled button, a circle for an icon-only
|
|
1058
|
+
* one. Left unset, an icon-only button takes the configured `iconRounded` and any other
|
|
1059
|
+
* keeps its corners; an explicit `[rounded]="false"` keeps them on an icon-only button too.
|
|
1060
|
+
*/
|
|
1061
|
+
readonly rounded: InputSignalWithTransform<boolean | undefined, unknown>;
|
|
1034
1062
|
/** Whether the button stretches to fill its container's width. */
|
|
1035
1063
|
readonly fluid: InputSignalWithTransform<boolean, unknown>;
|
|
1036
1064
|
/**
|
|
@@ -1045,6 +1073,8 @@ declare abstract class ButtonBase {
|
|
|
1045
1073
|
/** Whether the button refuses activation, for either reason. */
|
|
1046
1074
|
readonly unavailable: i0.Signal<boolean>;
|
|
1047
1075
|
protected ariaDisabled: i0.Signal<"true" | null>;
|
|
1076
|
+
/** The shape in force: the input where written, otherwise the configured default. */
|
|
1077
|
+
protected readonly isRounded: i0.Signal<boolean>;
|
|
1048
1078
|
protected classes: i0.Signal<string[]>;
|
|
1049
1079
|
static ɵfac: i0.ɵɵFactoryDeclaration<ButtonBase, never>;
|
|
1050
1080
|
static ɵdir: i0.ɵɵDirectiveDeclaration<ButtonBase, never, never, { "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "inactive": { "alias": "inactive"; "required": false; "isSignal": true; }; "icon": { "alias": "icon"; "required": false; "isSignal": true; }; "fab": { "alias": "fab"; "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; }; "fluid": { "alias": "fluid"; "required": false; "isSignal": true; }; "stretch": { "alias": "stretch"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
@@ -1120,6 +1150,11 @@ interface ButtonConfig {
|
|
|
1120
1150
|
size: controlSize;
|
|
1121
1151
|
type: buttonType;
|
|
1122
1152
|
fluid: boolean;
|
|
1153
|
+
/**
|
|
1154
|
+
* Draws an icon-only button as a circle wherever its own `rounded` input is left unset,
|
|
1155
|
+
* the shape platform icon buttons take. A labelled button keeps its corners either way.
|
|
1156
|
+
*/
|
|
1157
|
+
iconRounded: boolean;
|
|
1123
1158
|
}
|
|
1124
1159
|
declare const DEFAULT_BUTTON_CONFIG: ButtonConfig;
|
|
1125
1160
|
|
|
@@ -1966,8 +2001,13 @@ type confirmButton = {
|
|
|
1966
2001
|
fluid?: boolean;
|
|
1967
2002
|
disabled?: boolean;
|
|
1968
2003
|
};
|
|
1969
|
-
/**
|
|
1970
|
-
|
|
2004
|
+
/**
|
|
2005
|
+
* A {@link confirmButton} with every appearance field resolved to a concrete value, except
|
|
2006
|
+
* `rounded`: left unset, it lets the button apply its own shape default.
|
|
2007
|
+
*/
|
|
2008
|
+
type resolvedConfirmButton = Required<Omit<confirmButton, 'rounded'>> & {
|
|
2009
|
+
rounded: boolean | undefined;
|
|
2010
|
+
};
|
|
1971
2011
|
/**
|
|
1972
2012
|
* Width step of a confirm dialog, mapped onto its max-width. `md` is the
|
|
1973
2013
|
* default, so the scale opens in both directions rather than only upward. It
|
|
@@ -2051,8 +2091,8 @@ declare class ConfirmPanel {
|
|
|
2051
2091
|
readonly id: string;
|
|
2052
2092
|
readonly titleId: string;
|
|
2053
2093
|
readonly messageId: string;
|
|
2054
|
-
protected readonly resolvedConfirm: i0.Signal<
|
|
2055
|
-
protected readonly resolvedCancel: i0.Signal<
|
|
2094
|
+
protected readonly resolvedConfirm: i0.Signal<resolvedConfirmButton>;
|
|
2095
|
+
protected readonly resolvedCancel: i0.Signal<resolvedConfirmButton>;
|
|
2056
2096
|
protected readonly sizeClass: i0.Signal<string>;
|
|
2057
2097
|
protected readonly actionsClasses: i0.Signal<string[]>;
|
|
2058
2098
|
constructor();
|
|
@@ -2169,6 +2209,8 @@ declare const DEFAULT_DIALOG_CONFIG: DialogConfig;
|
|
|
2169
2209
|
declare class Dialog extends CdkDialogContainer {
|
|
2170
2210
|
private readonly _tlsConfig;
|
|
2171
2211
|
private readonly _dialogRef;
|
|
2212
|
+
/** Named apart from the CDK container's own `_renderer`, which is private to it. */
|
|
2213
|
+
private readonly _renderer2;
|
|
2172
2214
|
private readonly _state;
|
|
2173
2215
|
private _closing;
|
|
2174
2216
|
protected readonly hostClasses: i0.Signal<string[]>;
|
|
@@ -2891,8 +2933,12 @@ interface FormItemConfig {
|
|
|
2891
2933
|
displayErrors: boolean;
|
|
2892
2934
|
/** Whether required fields are marked with a `*`. */
|
|
2893
2935
|
showRequiredMarker: boolean;
|
|
2894
|
-
/**
|
|
2895
|
-
|
|
2936
|
+
/**
|
|
2937
|
+
* Text beside the label of a question that may be skipped (e.g. `(optional)`): a control bound to
|
|
2938
|
+
* a form field that is not required and is not a toggle. Not shown when omitted or `undefined`,
|
|
2939
|
+
* which a scoped override sets to drop the marker from part of the app.
|
|
2940
|
+
*/
|
|
2941
|
+
optionalText?: string | undefined;
|
|
2896
2942
|
errorMessages: ErrorMessageMap;
|
|
2897
2943
|
/** Fallback for an error kind absent from `errorMessages` that carries no `message` of its own. */
|
|
2898
2944
|
unknownErrorMessage: ErrorMessageFn;
|
|
@@ -2916,6 +2962,12 @@ declare class FormItem {
|
|
|
2916
2962
|
private static _counter;
|
|
2917
2963
|
private _config;
|
|
2918
2964
|
protected control: Signal<FormControl | undefined>;
|
|
2965
|
+
/**
|
|
2966
|
+
* The signal-forms bindings among the projected content. A group can seat bound and unbound
|
|
2967
|
+
* controls side by side, so these are matched to the control by element rather than taken as
|
|
2968
|
+
* the control's own.
|
|
2969
|
+
*/
|
|
2970
|
+
private readonly _formFields;
|
|
2919
2971
|
/**
|
|
2920
2972
|
* Content of the label, rendered inside the item's own `<label>` element so the `for` /
|
|
2921
2973
|
* `aria-labelledby` wiring is kept. Replaces the label text and the required / optional markers.
|
|
@@ -2944,6 +2996,7 @@ declare class FormItem {
|
|
|
2944
2996
|
reserveLabelSpace: i0.InputSignal<boolean>;
|
|
2945
2997
|
displayErrors: i0.InputSignal<boolean>;
|
|
2946
2998
|
showRequiredMarker: i0.InputSignal<boolean>;
|
|
2999
|
+
/** Text beside the label of a question that may be skipped; see `FormItemConfig.optionalText`. */
|
|
2947
3000
|
optionalText: i0.InputSignal<string | undefined>;
|
|
2948
3001
|
/**
|
|
2949
3002
|
* Character budget of the control's value. When set, a `current/max` counter is rendered on the
|
|
@@ -2961,6 +3014,10 @@ declare class FormItem {
|
|
|
2961
3014
|
/** Whether the footer renders the hint, which yields to a displayed error. */
|
|
2962
3015
|
protected showHint: Signal<boolean>;
|
|
2963
3016
|
protected showRequired: Signal<boolean>;
|
|
3017
|
+
/**
|
|
3018
|
+
* Whether the label carries the optional marker: only for a control that edits a form's field,
|
|
3019
|
+
* can be left unanswered, and is not required — a setting or a toggle has nothing to skip.
|
|
3020
|
+
*/
|
|
2964
3021
|
protected showOptional: Signal<boolean>;
|
|
2965
3022
|
/** Whether a label is rendered, from either the `label` input or a custom label template. */
|
|
2966
3023
|
protected hasLabel: Signal<boolean>;
|
|
@@ -2979,9 +3036,23 @@ declare class FormItem {
|
|
|
2979
3036
|
constructor();
|
|
2980
3037
|
private _getErrorMessages;
|
|
2981
3038
|
static ɵfac: i0.ɵɵFactoryDeclaration<FormItem, never>;
|
|
2982
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FormItem, "tls-form-item", never, { "label": { "alias": "label"; "required": false; "isSignal": true; }; "labelPosition": { "alias": "labelPosition"; "required": false; "isSignal": true; }; "spread": { "alias": "spread"; "required": false; "isSignal": true; }; "reserveErrorSpace": { "alias": "reserveErrorSpace"; "required": false; "isSignal": true; }; "reserveLabelSpace": { "alias": "reserveLabelSpace"; "required": false; "isSignal": true; }; "displayErrors": { "alias": "displayErrors"; "required": false; "isSignal": true; }; "showRequiredMarker": { "alias": "showRequiredMarker"; "required": false; "isSignal": true; }; "optionalText": { "alias": "optionalText"; "required": false; "isSignal": true; }; "maxLength": { "alias": "maxLength"; "required": false; "isSignal": true; }; "hint": { "alias": "hint"; "required": false; "isSignal": true; }; }, {}, ["control", "labelTemplate"], ["*"], true, never>;
|
|
3039
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FormItem, "tls-form-item", never, { "label": { "alias": "label"; "required": false; "isSignal": true; }; "labelPosition": { "alias": "labelPosition"; "required": false; "isSignal": true; }; "spread": { "alias": "spread"; "required": false; "isSignal": true; }; "reserveErrorSpace": { "alias": "reserveErrorSpace"; "required": false; "isSignal": true; }; "reserveLabelSpace": { "alias": "reserveLabelSpace"; "required": false; "isSignal": true; }; "displayErrors": { "alias": "displayErrors"; "required": false; "isSignal": true; }; "showRequiredMarker": { "alias": "showRequiredMarker"; "required": false; "isSignal": true; }; "optionalText": { "alias": "optionalText"; "required": false; "isSignal": true; }; "maxLength": { "alias": "maxLength"; "required": false; "isSignal": true; }; "hint": { "alias": "hint"; "required": false; "isSignal": true; }; }, {}, ["control", "_formFields", "labelTemplate"], ["*"], true, never>;
|
|
2983
3040
|
}
|
|
2984
3041
|
|
|
3042
|
+
/**
|
|
3043
|
+
* Overrides the form item config for one part of the view tree: listed in a component's or a
|
|
3044
|
+
* directive's `providers`, it applies to every `tls-form-item` beneath it, on top of whatever
|
|
3045
|
+
* the surrounding scope configures — the app-wide `provideThalassicUIConfig`, or an enclosing
|
|
3046
|
+
* override. Keys set to `undefined` are cleared, so `{ optionalText: undefined }` drops the
|
|
3047
|
+
* optional marker from a form whose every field may be skipped.
|
|
3048
|
+
*
|
|
3049
|
+
* @example
|
|
3050
|
+
* // App-wide: formItem: { optionalText: '(optional)', reserveErrorSpace: false }
|
|
3051
|
+
* @Component({ providers: [provideFormItemConfig({ optionalText: undefined })] })
|
|
3052
|
+
* // Inside: no optional marker, and still no reserved error space.
|
|
3053
|
+
*/
|
|
3054
|
+
declare const provideFormItemConfig: (config: Partial<FormItemConfig>) => Provider;
|
|
3055
|
+
|
|
2985
3056
|
declare const FORM_ITEM_CONFIG: InjectionToken<FormItemConfig>;
|
|
2986
3057
|
|
|
2987
3058
|
/**
|
|
@@ -3391,6 +3462,8 @@ declare class ColorRange extends ValueFormControl<number> {
|
|
|
3391
3462
|
private readonly _config;
|
|
3392
3463
|
protected readonly CLASS_NAME = "tls-color-range";
|
|
3393
3464
|
readonly supportsLabelFor = true;
|
|
3465
|
+
/** A colour range always rests on some value along its scale, so the control is never left unanswered. */
|
|
3466
|
+
readonly alwaysAnswered = true;
|
|
3394
3467
|
readonly value: ModelSignal<number>;
|
|
3395
3468
|
readonly channel: InputSignal<colorRangeChannel>;
|
|
3396
3469
|
/** Reference color the alpha track fades up to; ignored by the hue channel. */
|
|
@@ -3832,8 +3905,26 @@ declare class InputDirective {
|
|
|
3832
3905
|
|
|
3833
3906
|
declare const INPUT_CONFIG: InjectionToken<InputConfig>;
|
|
3834
3907
|
|
|
3908
|
+
/** The virtual keyboards a number field can ask for (the HTML `inputmode` values that type digits). */
|
|
3909
|
+
type numberInputMode = 'numeric' | 'decimal' | 'text';
|
|
3910
|
+
|
|
3911
|
+
/**
|
|
3912
|
+
* A field for a number, typed as text the field reads itself — the model React
|
|
3913
|
+
* Aria's and Base UI's number fields follow — rather than a native
|
|
3914
|
+
* `type="number"`, which reads the decimal separator by its own rules: WebKit
|
|
3915
|
+
* drops a typed comma, turning `62,5` into `625`, and Chromium rejects it,
|
|
3916
|
+
* while the decimal keypad of a device set to a comma region offers nothing
|
|
3917
|
+
* else. Here either separator reads as the decimal point, the value is shown
|
|
3918
|
+
* in the page's locale, and the virtual keyboard is the one the number needs.
|
|
3919
|
+
*
|
|
3920
|
+
* The step sets the precision: a whole step takes whole numbers, a fractional
|
|
3921
|
+
* one decimals. A minimum below zero, or none, admits a sign. ArrowUp and
|
|
3922
|
+
* ArrowDown move the value by a step, as a native number field's do; a typed
|
|
3923
|
+
* value is clamped into `[min, max]` once committed.
|
|
3924
|
+
*/
|
|
3835
3925
|
declare class InputNumber extends ValueFormControl<number | null> {
|
|
3836
|
-
private _config;
|
|
3926
|
+
private readonly _config;
|
|
3927
|
+
private readonly _localeId;
|
|
3837
3928
|
readonly supportsLabelFor = true;
|
|
3838
3929
|
readonly value: ModelSignal<number | null>;
|
|
3839
3930
|
readonly placeholder: InputSignal<string>;
|
|
@@ -3843,17 +3934,67 @@ declare class InputNumber extends ValueFormControl<number | null> {
|
|
|
3843
3934
|
readonly min: InputSignal<number | undefined>;
|
|
3844
3935
|
readonly max: InputSignal<number | undefined>;
|
|
3845
3936
|
readonly step: InputSignalWithTransform<number, unknown>;
|
|
3846
|
-
|
|
3937
|
+
/**
|
|
3938
|
+
* The virtual keyboard to ask for. Left unset, it follows what the field
|
|
3939
|
+
* accepts: `decimal` for a fractional step, `numeric` for a whole one, and
|
|
3940
|
+
* `text` for a minimum below zero, since iOS's number keypads have no minus
|
|
3941
|
+
* key. A field with no minimum gets a number keypad all the same: most never
|
|
3942
|
+
* take a negative, and a form library that owns the bounds may not hand them
|
|
3943
|
+
* to the control — a field that does take negatives says so with its minimum.
|
|
3944
|
+
*/
|
|
3945
|
+
readonly inputMode: InputSignal<numberInputMode | undefined>;
|
|
3946
|
+
/**
|
|
3947
|
+
* The field's text. Follows the value whenever the value changes to one the
|
|
3948
|
+
* text does not already say, so a number still being typed — `62,` on its
|
|
3949
|
+
* way to `62,5` — is kept as typed instead of being rewritten as `62`.
|
|
3950
|
+
*/
|
|
3951
|
+
protected readonly text: WritableSignal<string>;
|
|
3847
3952
|
protected readonly classes: Signal<string[]>;
|
|
3953
|
+
protected readonly effectiveInputMode: Signal<numberInputMode>;
|
|
3954
|
+
/** What may be typed, from the bounds and the step. */
|
|
3955
|
+
private readonly _rules;
|
|
3956
|
+
/**
|
|
3957
|
+
* Writes a value in the page's locale, in the form the field reads back:
|
|
3958
|
+
* ungrouped, so a comma can only be the decimal point, and in Latin digits,
|
|
3959
|
+
* which are the only ones typing accepts — a locale that writes its own
|
|
3960
|
+
* (`ar-EG`, `fa`, `bn`) would otherwise show a figure no edit could follow.
|
|
3961
|
+
*/
|
|
3962
|
+
private readonly _formatter;
|
|
3963
|
+
/**
|
|
3964
|
+
* Refuses an insertion that would leave the text no number could become, so
|
|
3965
|
+
* a stray letter or a second separator never appears at all. A deletion
|
|
3966
|
+
* always leaves a part of a valid number, which is still valid.
|
|
3967
|
+
*/
|
|
3968
|
+
protected onBeforeInput(event: InputEvent): void;
|
|
3969
|
+
/**
|
|
3970
|
+
* Takes the text as the new value. Text that reached the field past
|
|
3971
|
+
* `beforeinput` — an IME composition, which cannot be refused before it
|
|
3972
|
+
* lands — and is no number is put back to what the field held.
|
|
3973
|
+
*/
|
|
3848
3974
|
protected onInput(event: Event): void;
|
|
3849
3975
|
/**
|
|
3850
3976
|
* Clamps a typed value into `[min, max]` once editing is committed (`change`
|
|
3851
|
-
* fires on blur/Enter)
|
|
3852
|
-
*
|
|
3977
|
+
* fires on blur/Enter) and rewrites the text in the field's own form, so
|
|
3978
|
+
* `62,` reads `62`. Clamping only here keeps mid-typing values ("1" on the
|
|
3979
|
+
* way to "10") intact.
|
|
3980
|
+
*/
|
|
3981
|
+
protected onChange(): void;
|
|
3982
|
+
/** ArrowUp and ArrowDown step the value, as they do in a native number field. */
|
|
3983
|
+
protected onKeydown(event: KeyboardEvent): void;
|
|
3984
|
+
/**
|
|
3985
|
+
* Moves the value by one step in `direction`, rounded to the precision of the
|
|
3986
|
+
* step and the value so repeated steps never collect float error
|
|
3987
|
+
* (`0.1 + 0.2`). An empty field starts from the minimum, or zero.
|
|
3853
3988
|
*/
|
|
3854
|
-
|
|
3989
|
+
private _stepBy;
|
|
3990
|
+
/** Sets a value the field produced itself, and shows it in the field's own form. */
|
|
3991
|
+
private _commit;
|
|
3992
|
+
/** Keeps `value` within `[min, max]`, where either is set. */
|
|
3993
|
+
private _clamp;
|
|
3994
|
+
/** The text the field shows for `value`: empty for none. */
|
|
3995
|
+
private _format;
|
|
3855
3996
|
static ɵfac: i0.ɵɵFactoryDeclaration<InputNumber, never>;
|
|
3856
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<InputNumber, "tls-input-number", never, { "value": { "alias": "value"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "fluid": { "alias": "fluid"; "required": false; "isSignal": true; }; "min": { "alias": "min"; "required": false; "isSignal": true; }; "max": { "alias": "max"; "required": false; "isSignal": true; }; "step": { "alias": "step"; "required": false; "isSignal": true; }; "
|
|
3997
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<InputNumber, "tls-input-number", never, { "value": { "alias": "value"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "fluid": { "alias": "fluid"; "required": false; "isSignal": true; }; "min": { "alias": "min"; "required": false; "isSignal": true; }; "max": { "alias": "max"; "required": false; "isSignal": true; }; "step": { "alias": "step"; "required": false; "isSignal": true; }; "inputMode": { "alias": "inputMode"; "required": false; "isSignal": true; }; }, { "value": "valueChange"; }, never, never, true, never>;
|
|
3857
3998
|
}
|
|
3858
3999
|
|
|
3859
4000
|
interface InputNumberConfig {
|
|
@@ -3862,7 +4003,6 @@ interface InputNumberConfig {
|
|
|
3862
4003
|
placeholder: string;
|
|
3863
4004
|
fluid: boolean;
|
|
3864
4005
|
step: number;
|
|
3865
|
-
hideArrows: boolean;
|
|
3866
4006
|
}
|
|
3867
4007
|
declare const DEFAULT_INPUT_NUMBER_CONFIG: InputNumberConfig;
|
|
3868
4008
|
|
|
@@ -4056,6 +4196,11 @@ declare class RadioButton extends ValueFormControl<unknown> {
|
|
|
4056
4196
|
private _config;
|
|
4057
4197
|
protected CLASS_NAME: string;
|
|
4058
4198
|
readonly supportsLabelFor = true;
|
|
4199
|
+
/**
|
|
4200
|
+
* A radio button is one option of a question rather than the question, so its own label never
|
|
4201
|
+
* says whether the question may be skipped; that belongs to the label of the group.
|
|
4202
|
+
*/
|
|
4203
|
+
readonly alwaysAnswered = true;
|
|
4059
4204
|
readonly radioValue: InputSignal<unknown>;
|
|
4060
4205
|
readonly value: ModelSignal<unknown>;
|
|
4061
4206
|
readonly tabindex: InputSignal<string | number>;
|
|
@@ -4294,6 +4439,8 @@ declare class Slider extends ValueFormControl<number> {
|
|
|
4294
4439
|
private readonly _config;
|
|
4295
4440
|
protected CLASS_NAME: string;
|
|
4296
4441
|
readonly supportsLabelFor = true;
|
|
4442
|
+
/** A slider always rests on some value within its range, so the control is never left unanswered. */
|
|
4443
|
+
readonly alwaysAnswered = true;
|
|
4297
4444
|
readonly value: ModelSignal<number>;
|
|
4298
4445
|
readonly min: InputSignalWithTransform<number, unknown>;
|
|
4299
4446
|
readonly max: InputSignalWithTransform<number, unknown>;
|
|
@@ -4950,6 +5097,10 @@ interface InfiniteScrollLabels {
|
|
|
4950
5097
|
complete: string;
|
|
4951
5098
|
/** Label of the button that loads the next page. */
|
|
4952
5099
|
loadMore: string;
|
|
5100
|
+
/** Rendered and announced when a page fails to arrive. */
|
|
5101
|
+
failed: string;
|
|
5102
|
+
/** Label of the button that asks again for a page that failed to arrive. */
|
|
5103
|
+
retry: string;
|
|
4953
5104
|
}
|
|
4954
5105
|
interface InfiniteScrollConfig {
|
|
4955
5106
|
/**
|
|
@@ -4976,12 +5127,14 @@ declare const DEFAULT_INFINITE_SCROLL_CONFIG: InfiniteScrollConfig;
|
|
|
4976
5127
|
* - `loading` — a page is in flight and the watch is suspended;
|
|
4977
5128
|
* - `manual` — the automatic allowance is spent (or never granted), so the next page waits
|
|
4978
5129
|
* on the button;
|
|
5130
|
+
* - `failed` — the last page asked for failed to arrive, so the failure notice and a button
|
|
5131
|
+
* to try again are rendered and nothing is watched;
|
|
4979
5132
|
* - `complete` — the collection is exhausted after paging, so the end notice is rendered;
|
|
4980
5133
|
* - `settled` — the collection was exhausted before a page was ever requested; an end the
|
|
4981
5134
|
* reader never had to find gets no notice, so nothing is rendered;
|
|
4982
5135
|
* - `disabled` — suspended altogether: nothing watched, nothing rendered, the allowance kept.
|
|
4983
5136
|
*/
|
|
4984
|
-
type infiniteScrollState = 'idle' | 'loading' | 'manual' | 'complete' | 'settled' | 'disabled';
|
|
5137
|
+
type infiniteScrollState = 'idle' | 'loading' | 'manual' | 'failed' | 'complete' | 'settled' | 'disabled';
|
|
4985
5138
|
|
|
4986
5139
|
/**
|
|
4987
5140
|
* End-of-collection trigger that asks for the next page as the reader approaches it. The
|
|
@@ -5011,10 +5164,12 @@ type infiniteScrollState = 'idle' | 'loading' | 'manual' | 'complete' | 'settled
|
|
|
5011
5164
|
*
|
|
5012
5165
|
* Content that grows without end leaves anything below it unreachable, so the automatic
|
|
5013
5166
|
* loads are rationed: after `autoLoadLimit` of them in a row the component stops watching
|
|
5014
|
-
* and renders a button, and the allowance is renewed each time that button is used.
|
|
5015
|
-
*
|
|
5016
|
-
*
|
|
5017
|
-
* —
|
|
5167
|
+
* and renders a button, and the allowance is renewed each time that button is used. A page
|
|
5168
|
+
* that fails to arrive is reported through `failed`, which renders a notice and a button to
|
|
5169
|
+
* try again in place of loading on approach. The four states each accept replacement
|
|
5170
|
+
* content — `[tlsInfiniteScrollLoading]`, `[tlsInfiniteScrollComplete]`,
|
|
5171
|
+
* `[tlsInfiniteScrollTrigger]`, `[tlsInfiniteScrollFailed]` — projected in place of the
|
|
5172
|
+
* loader, the end notice, the button and the failure notice with its button:
|
|
5018
5173
|
*
|
|
5019
5174
|
* ```html
|
|
5020
5175
|
* <tls-infinite-scroll [loading]="loading()" (loadMore)="loadNextPage()">
|
|
@@ -5028,8 +5183,9 @@ type infiniteScrollState = 'idle' | 'loading' | 'manual' | 'complete' | 'settled
|
|
|
5028
5183
|
* Left unset inside a panel, the next page is therefore requested only as the sentinel
|
|
5029
5184
|
* reaches the panel's edge; pass that panel as `root` to get the margin back.
|
|
5030
5185
|
*
|
|
5031
|
-
* The end
|
|
5032
|
-
* replacement content belongs with a label that says the
|
|
5186
|
+
* The end and failure notices are announced from `labels.complete` and `labels.failed`,
|
|
5187
|
+
* whatever stands in their slots, so replacement content belongs with a label that says the
|
|
5188
|
+
* same thing.
|
|
5033
5189
|
*/
|
|
5034
5190
|
declare class InfiniteScroll {
|
|
5035
5191
|
private readonly _config;
|
|
@@ -5049,6 +5205,13 @@ declare class InfiniteScroll {
|
|
|
5049
5205
|
* everything ends silently.
|
|
5050
5206
|
*/
|
|
5051
5207
|
readonly complete: InputSignalWithTransform<boolean, unknown>;
|
|
5208
|
+
/**
|
|
5209
|
+
* Whether the last page asked for failed to arrive. Stops loading on approach — retrying a
|
|
5210
|
+
* failure every time the sentinel comes into view would hammer whatever is failing — and
|
|
5211
|
+
* renders the failure notice with a button that asks for the page again. Lowering it, as
|
|
5212
|
+
* the next attempt starts, resumes the cycle.
|
|
5213
|
+
*/
|
|
5214
|
+
readonly failed: InputSignalWithTransform<boolean, unknown>;
|
|
5052
5215
|
/**
|
|
5053
5216
|
* Suspends the whole trigger without ending it: nothing is watched, nothing is rendered,
|
|
5054
5217
|
* and the automatic allowance is kept for when it is lifted.
|
|
@@ -5115,8 +5278,9 @@ declare class InfiniteScroll {
|
|
|
5115
5278
|
private readonly _resolvedRootMargin;
|
|
5116
5279
|
constructor();
|
|
5117
5280
|
/**
|
|
5118
|
-
* Requests the next page as the button does, renewing the automatic allowance
|
|
5119
|
-
* while a page is in flight, once the collection is
|
|
5281
|
+
* Requests the next page as the button does, renewing the automatic allowance — after a
|
|
5282
|
+
* failure, the page that failed. Ignored while a page is in flight, once the collection is
|
|
5283
|
+
* exhausted and while suspended.
|
|
5120
5284
|
*/
|
|
5121
5285
|
load(): void;
|
|
5122
5286
|
/**
|
|
@@ -5131,7 +5295,7 @@ declare class InfiniteScroll {
|
|
|
5131
5295
|
private _loadAutomatically;
|
|
5132
5296
|
private _emit;
|
|
5133
5297
|
static ɵfac: i0.ɵɵFactoryDeclaration<InfiniteScroll, never>;
|
|
5134
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<InfiniteScroll, "tls-infinite-scroll", never, { "loading": { "alias": "loading"; "required": false; "isSignal": true; }; "complete": { "alias": "complete"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "manual": { "alias": "manual"; "required": false; "isSignal": true; }; "rootMargin": { "alias": "rootMargin"; "required": false; "isSignal": true; }; "autoLoadLimit": { "alias": "autoLoadLimit"; "required": false; "isSignal": true; }; "root": { "alias": "root"; "required": false; "isSignal": true; }; }, { "loadMore": "loadMore"; }, never, ["[tlsInfiniteScrollLoading]", "[tlsInfiniteScrollComplete]", "[tlsInfiniteScrollTrigger]"], true, never>;
|
|
5298
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<InfiniteScroll, "tls-infinite-scroll", never, { "loading": { "alias": "loading"; "required": false; "isSignal": true; }; "complete": { "alias": "complete"; "required": false; "isSignal": true; }; "failed": { "alias": "failed"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "manual": { "alias": "manual"; "required": false; "isSignal": true; }; "rootMargin": { "alias": "rootMargin"; "required": false; "isSignal": true; }; "autoLoadLimit": { "alias": "autoLoadLimit"; "required": false; "isSignal": true; }; "root": { "alias": "root"; "required": false; "isSignal": true; }; }, { "loadMore": "loadMore"; }, never, ["[tlsInfiniteScrollLoading]", "[tlsInfiniteScrollComplete]", "[tlsInfiniteScrollFailed]", "[tlsInfiniteScrollTrigger]"], true, never>;
|
|
5135
5299
|
}
|
|
5136
5300
|
|
|
5137
5301
|
declare const INFINITE_SCROLL_CONFIG: InjectionToken<InfiniteScrollConfig>;
|
|
@@ -6458,6 +6622,7 @@ declare const STEPPER_CONFIG: InjectionToken<StepperConfig>;
|
|
|
6458
6622
|
declare class SwipeActions {
|
|
6459
6623
|
private readonly _config;
|
|
6460
6624
|
private readonly _directionality;
|
|
6625
|
+
private readonly _hapticFeedback;
|
|
6461
6626
|
private readonly contentElement;
|
|
6462
6627
|
private readonly startPanel;
|
|
6463
6628
|
private readonly endPanel;
|
|
@@ -6521,8 +6686,10 @@ declare class SwipeActions {
|
|
|
6521
6686
|
private _applyOffset;
|
|
6522
6687
|
/**
|
|
6523
6688
|
* Tracks whether releasing at this reveal would commit, mirroring the answer
|
|
6524
|
-
* onto the panels as a class and onto `armedChanged
|
|
6525
|
-
*
|
|
6689
|
+
* onto the panels as a class and onto `armedChanged`, and marking the moment
|
|
6690
|
+
* it arms with a light haptic tap, as a native list's full swipe does. The
|
|
6691
|
+
* writes bypass bindings: this runs on the move stream, outside the Angular
|
|
6692
|
+
* zone.
|
|
6526
6693
|
*/
|
|
6527
6694
|
private _updateArmed;
|
|
6528
6695
|
static ɵfac: i0.ɵɵFactoryDeclaration<SwipeActions, never>;
|
|
@@ -6553,7 +6720,13 @@ declare const DEFAULT_SWIPE_ACTIONS_CONFIG: SwipeActionsConfig;
|
|
|
6553
6720
|
|
|
6554
6721
|
declare const SWIPE_ACTIONS_CONFIG: InjectionToken<SwipeActionsConfig>;
|
|
6555
6722
|
|
|
6556
|
-
|
|
6723
|
+
/**
|
|
6724
|
+
* Visual treatment of the tab strip. `flat` and `outlined` mark the active tab
|
|
6725
|
+
* with an edge line; `segmented` sets inset pills in a padded track; `grouped`
|
|
6726
|
+
* is an inset-grouped list — one rounded surface of full-bleed rows whose fill,
|
|
6727
|
+
* hover and ink reach the surface's edges, the outer rows taking its corners.
|
|
6728
|
+
*/
|
|
6729
|
+
type tabsVariant = 'flat' | 'outlined' | 'segmented' | 'grouped';
|
|
6557
6730
|
type tabsOrientation = orientation;
|
|
6558
6731
|
type tabsHeaderPosition = 'start' | 'end';
|
|
6559
6732
|
/**
|
|
@@ -7138,6 +7311,7 @@ declare abstract class TooltipTrigger implements TooltipOwner, OnDestroy {
|
|
|
7138
7311
|
protected readonly _tooltipService: TooltipService;
|
|
7139
7312
|
protected readonly _renderer: Renderer2;
|
|
7140
7313
|
protected readonly _config: _thalassic_ui.TooltipConfig;
|
|
7314
|
+
private readonly _inputModalityDetector;
|
|
7141
7315
|
readonly tooltipDisabled: InputSignal<boolean>;
|
|
7142
7316
|
readonly tooltipOrigin: InputSignal<tooltipOrigin>;
|
|
7143
7317
|
readonly tooltipPositions: InputSignal<ConnectedPosition[] | undefined>;
|
|
@@ -7181,6 +7355,15 @@ declare abstract class TooltipTrigger implements TooltipOwner, OnDestroy {
|
|
|
7181
7355
|
protected _notePointer(): void;
|
|
7182
7356
|
/** Whether a focus arriving now was handed over by a pointer rather than a keyboard. */
|
|
7183
7357
|
protected _followsPointer(): boolean;
|
|
7358
|
+
/**
|
|
7359
|
+
* Whether a focus arriving now came from the keyboard — the one reader the
|
|
7360
|
+
* focus trigger serves. Focus handed over by a press on the control is not it:
|
|
7361
|
+
* a tap's tooltip was already told not to claim the activation, and a click's
|
|
7362
|
+
* would outlive the hover that click just retired. Neither is focus a script
|
|
7363
|
+
* moves while a pointer is in use, such as a closing dialog returning it to its
|
|
7364
|
+
* opener after a tap on the backdrop: the latest input says which it was.
|
|
7365
|
+
*/
|
|
7366
|
+
protected _isKeyboardFocus(): boolean;
|
|
7184
7367
|
/** Whether the element is, or wraps, a control a tap activates. */
|
|
7185
7368
|
protected _isInteractive(element: HTMLElement): boolean;
|
|
7186
7369
|
/** Whether a tap is what is currently holding the tooltip on `anchor`, which another tap ends. */
|
|
@@ -7745,5 +7928,5 @@ declare abstract class QuerySyncDirective {
|
|
|
7745
7928
|
|
|
7746
7929
|
declare const provideThalassicUIConfig: (config?: tlsUiConfigProvider) => EnvironmentProviders;
|
|
7747
7930
|
|
|
7748
|
-
export { ACCORDION_CONFIG, ACTIVITY_HEATMAP_CONFIG, ALERT_CONFIG, ALPHA_MAX, AUTOCOMPLETE_CONFIG, Accordion, AccordionItem, ActivityHeatmap, Alert, AlertIcon, Autocomplete, BADGE_CONFIG, BREADCRUMBS_CONFIG, BUTTON_CONFIG, Badge, Breadcrumbs, Button, ButtonDirective, CALENDAR_CONFIG, CAROUSEL_CONFIG, CHECKBOX_CONFIG, CHIP_CONFIG, CHIP_CONTROL_CONFIG, CHIP_GROUP_CONFIG, CHIP_INPUT_CONFIG, COLOR_INPUT_CONFIG, COLOR_PICKER_CONFIG, COLOR_PICKER_DEFAULT_VALUE, COLOR_RANGE_CONFIG, COLOR_SWATCH_PICKER_CONFIG, CONFIRM_CONFIG, Calendar, CalendarAgendaView, CalendarEventItem, CalendarMonthView, CalendarTimeGrid, Carousel, CarouselSlide, Checkbox, CheckboxFormControl, Chip, ChipControl, ChipGroup, ChipInput, ColorInput, ColorPicker, ColorRange, ColorSwatch, ColorSwatchPicker, Confirm, ConfirmPanel, ConfirmService, ContextMenuDirective, DATE_TIME_PICKER_CONFIG, DEFAULT_ACCORDION_CONFIG, DEFAULT_ACTIVITY_HEATMAP_CONFIG, DEFAULT_ALERT_CONFIG, DEFAULT_AUTOCOMPLETE_CONFIG, DEFAULT_BADGE_CONFIG, DEFAULT_BREADCRUMBS_CONFIG, DEFAULT_BUTTON_CONFIG, DEFAULT_CALENDAR_CONFIG, DEFAULT_CAROUSEL_CONFIG, DEFAULT_CHECKBOX_CONFIG, DEFAULT_CHIP_CONFIG, DEFAULT_CHIP_CONTROL_CONFIG, DEFAULT_CHIP_GROUP_CONFIG, DEFAULT_CHIP_INPUT_CONFIG, DEFAULT_COLOR_INPUT_CONFIG, DEFAULT_COLOR_PICKER_CONFIG, DEFAULT_COLOR_RANGE_CONFIG, DEFAULT_COLOR_SWATCH_PICKER_CONFIG, DEFAULT_CONFIRM_CONFIG, DEFAULT_DATE_TIME_PICKER_CONFIG, DEFAULT_DIALOG_CONFIG, DEFAULT_DIVIDER_CONFIG, DEFAULT_DRAWER_CONFIG, DEFAULT_FILE_INPUT_CONFIG, DEFAULT_FORM_CONTROL_CONFIG, DEFAULT_FORM_CONTROL_GROUP_CONFIG, DEFAULT_FORM_ITEM_CONFIG, DEFAULT_HIGHLIGHT_CONFIG, DEFAULT_ICONS, DEFAULT_ICON_CONFIG, DEFAULT_IMAGE_COMPARE_CONFIG, DEFAULT_IMAGE_PREVIEW_CONFIG, DEFAULT_INFINITE_SCROLL_CONFIG, DEFAULT_INPUT_CONFIG, DEFAULT_INPUT_NUMBER_CONFIG, DEFAULT_KBD_CONFIG, DEFAULT_LOADER_CONFIG, DEFAULT_MARK_CONFIG, DEFAULT_MENU_CONFIG, DEFAULT_MULTI_SELECT_CONFIG, DEFAULT_ODOMETER_CONFIG, DEFAULT_PAGINATION_CONFIG, DEFAULT_PAGINATION_QUERY_SYNC_CONFIG, DEFAULT_PASSWORD_CONFIG, DEFAULT_PIN_INPUT_CONFIG, DEFAULT_POPOVER_CONFIG, DEFAULT_PROGRESS_CONFIG, DEFAULT_RADIO_BUTTON_CONFIG, DEFAULT_RATING_CONFIG, DEFAULT_RIPPLE_CONFIG, DEFAULT_SELECT_CONFIG, DEFAULT_SKELETON_CONFIG, DEFAULT_SLIDER_CONFIG, DEFAULT_SPLITTER_CONFIG, DEFAULT_STEPPER_CONFIG, DEFAULT_STEPPER_LABELS, DEFAULT_STEP_CONFIG, DEFAULT_SWIPE_ACTIONS_CONFIG, DEFAULT_SWITCH_CONFIG, DEFAULT_TABLE_CONFIG, DEFAULT_TABS_CONFIG, DEFAULT_TABS_QUERY_SYNC_CONFIG, DEFAULT_TAB_NAV_CONFIG, DEFAULT_TEXTAREA_CONFIG, DEFAULT_TOAST_CONFIG, DEFAULT_TOGGLE_BUTTON_CONFIG, DEFAULT_TOGGLE_GROUP_CONFIG, DEFAULT_TOOLTIP_CONFIG, DEFAULT_TOOLTIP_CONTENT_ATTRIBUTE, DEFAULT_VIRTUAL_SCROLL_CONFIG, DIALOG_CONFIG, DIVIDER_CONFIG, DRAWER_CONFIG, DRAWER_OPENING, DRAWER_PANEL_CONFIG, DateTimePicker, Dialog, DialogBody, DialogFooter, DialogHeader, DialogRef, DialogService, DialogTitleDirective, Divider, Drawer, DrawerRef, DrawerService, DrawerSharedDirective, DrawerTriggerDirective, FILE_INPUT_CONFIG, FORMAT_CYCLE, FORM_CONTROL, FORM_CONTROL_CONFIG, FORM_CONTROL_GROUP_CONFIG, FORM_ITEM_CONFIG, FabMenu, FileDropTargetDirective, FileInput, FormControl, FormControlAddon, FormControlGroup, FormItem, HIGHLIGHT_CONFIG, HUE_MAX, Highlight, ICON_CONFIG, ICON_REGISTRY, IMAGE_COMPARE_CONFIG, IMAGE_PREVIEW_CONFIG, INFINITE_SCROLL_CONFIG, INPUT_CONFIG, INPUT_NUMBER_CONFIG, Icon, IconRegistry, IconService, ImageCompare, ImagePreview, ImagePreviewDirective, ImagePreviewGroupDirective, ImagePreviewRef, ImagePreviewService, InfiniteScroll, Input, InputDirective, InputNumber, KBD_CONFIG, Kbd, LOADER_CONFIG, Loader, MARK_CONFIG, MASK_TOKENS, MENU_CONFIG, MULTI_SELECT_CONFIG, Mark, MaskDirective, Menu, MenuItemComponent, MenuTriggerDirective, MultiSelect, ODOMETER_CONFIG, Odometer, PAGINATION_CONFIG, PAGINATION_QUERY_SYNC_CONFIG, PASSWORD_CONFIG, PIN_INPUT_CONFIG, POPOVER_CONFIG, 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_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, SPLITTER_CONFIG, STEPPER_CONFIG, SV_KEYBOARD_STEP, SV_KEYBOARD_STEP_LARGE, SWIPE_ACTIONS_CONFIG, SWITCH_CONFIG, Select, Sheet, SheetHeaderDirective, Skeleton, Slider, Splitter, SplitterPanel, Step, Stepper, SwipeActions, Switch, TABLE_CONFIG, TABS_CONFIG, TABS_QUERY_SYNC_CONFIG, TAB_NAV_CONFIG, TEXTAREA_CONFIG, TOAST_CONFIG, TOGGLE_BUTTON_CONFIG, TOGGLE_GROUP_CONFIG, TOOLTIP_CONFIG, TOUCH_HANDOVER_WINDOW_MS, Tab, TabLinkDirective, TabNavDirective, Table, TableColumn, Tabs, TabsQuerySyncDirective, Textarea, Toast, ToastService, ToggleButton, ToggleGroup, TooltipDelegateDirective, TooltipDirective, TooltipTrigger, VIRTUAL_SCROLL_CONFIG, ValueFormControl, VirtualScroll, acceptsFile, aggregateActivityEntries, applyMask, buildActivityMonthSegments, buildActivityThresholds, canonicalHex, contrastForeground, formatHsl, formatRgb, hslToHsv, hsvToHsl, hsvToRgb, isTypeRejected, normalizeAccept, parseColor, provideThalassicIcons, provideThalassicUIConfig, relativeLuminance, resolveActivityLevel, rgbToHsv, rgbaToHex, toImagePreviewImage };
|
|
7749
|
-
export type { AccordionConfig, ActivityHeatmapConfig, ActivityHeatmapDay, ActivityHeatmapEntry, ActivityHeatmapLabels, ActivityHeatmapMonth, ActivityHeatmapRow, ActivityHeatmapTotal, AlertConfig, AutocompleteConfig, BadgeConfig, BreadcrumbItem, BreadcrumbItemContext, BreadcrumbsConfig, ButtonConfig, CalendarConfig, CalendarDayContext, CalendarEvent, CalendarEventContext, CalendarLabels, CalendarRange, CarouselConfig, CarouselLabels, CheckboxConfig, ChipConfig, ChipContext, ChipControlConfig, ChipGroupConfig, ChipInputConfig, ColorInputConfig, ColorInputLabels, ColorPickerConfig, ColorPickerLabels, ColorRangeConfig, ColorRangeLabels, ColorSwatchPickerConfig, ColorSwatchPickerLabels, ConfirmConfig, ConfirmOptions, DateTimePickerConfig, DialogConfig, DialogOpenConfig, DividerConfig, DrawerConfig, DrawerOffset, DrawerOpenConfig, DrawerOpening, DrawerPanelConfig, DrawerSharedPair, DrawerSlideTiming, EyeDropperConstructor, FabMenuItemDefinition, FileInputConfig, FileInputDropZoneContext, FileInputFileContext, FormControlConfig, FormControlGroupConfig, FormItemConfig, FormItemLabelContext, HighlightConfig, HighlightSegment, Hsla, Hsva, IconConfig, ImageCompareConfig, ImagePreviewConfig, ImagePreviewData, ImagePreviewGroupItem, ImagePreviewImage, ImagePreviewLabels, ImagePreviewOpenConfig, ImagePreviewSource, InfiniteScrollConfig, InfiniteScrollLabels, InputConfig, InputNumberConfig, KbdConfig, LoaderConfig, MarkConfig, MaskResult, MenuActionItem, MenuConfig, MenuCustomItem, MenuDivider, MenuItemDefinition, MenuLabel, MenuRenderBlock, MenuRenderEntry, MenuRenderGroup, MenuRenderSingle, MultiSelectConfig, OdometerConfig, OdometerSlot, OdometerToken, OverlayArrowPosition, PaginationConfig, PaginationLabels, PaginationQuerySyncConfig, PasswordConfig, PinInputConfig, PopoverConfig, ProgressConfig, RadioButtonConfig, RatingConfig, RatingLabels, RatingStarContext, Rgba, RippleConfig, SelectConfig, SheetDetent, SheetHeaderTemplate, SheetMeasures, SkeletonConfig, SliderConfig, SplitterConfig, StepConfig, StepperConfig, StepperLabels, StepperSelectEvent, SwipeActionsConfig, SwitchConfig, TabNavConfig, TableColumnDefinition, TableConfig, TableData, TableTrackBy, TabsConfig, TabsQuerySyncConfig, TextareaConfig, ToastConfig, ToastOptions, ToastRef, ToastState, ToggleButtonConfig, ToggleGroupConfig, TooltipConfig, TooltipOwner, TooltipRequest, TrackBy, VirtualScrollConfig, VirtualScrollContext, acceptInput, accordionHeadingLevel, accordionVariant, alertColor, autocompleteFilterMode, badgeColor, badgePosition, badgeVariant, breadcrumbsSize, buttonColor, buttonType, buttonVariant, calendarCompact, calendarView, chipColor, chipSize, chipTemplateContext, chipVariant, color, colorFormat, colorRangeChannel, colorRangeSize, confirmActionsAlign, confirmButton, confirmSize, controlSize, dateTimePickerMode, dialogFooterAlign, dialogSize, dividerContentPosition, dividerOrientation, dividerVariant, drawerGrabber, drawerOpenPhase, drawerSide, drawerSize, errorTrigger, fileDragState, fileInputVariant, hexCase, iconRegistry, iconRenderer, imageCompareOrientation, infiniteScrollState, inputVariant, labelPosition, loaderSize, menuItemRole, menuItemType, menuPosition, odometerDirection, orientation, overlayArrowAlignment, overlayArrowSide, overlayPosition, paginationItem, pinInputType, pointerType, progressActiveSegment, progressColor, radius, radiusValue, ratingColor, resolvedConfirmButton, sheetDetentSize, sheetFocusRestoreTarget, size, sliderColor, splitterOrientation, stepperColor, stepperLabelPosition, stepperOrientation, stepperValue, switchColor, systemIcon, tabValue, tableColumnAlignment, tableColumnCollapse, tabsHeaderAlign, tabsHeaderPosition, tabsItemsAlign, tabsOrientation, tabsVariant, textareaResize, tlsUiConfigProvider, toastAction, toastColor, toastPosition, toastSeverity, toastStacking, toggleButtonColor, toggleButtonVariant, toggleGroupVariant, tooltipColor, tooltipOrigin, tooltipPosition, tooltipSource };
|
|
7931
|
+
export { ACCORDION_CONFIG, ACTIVITY_HEATMAP_CONFIG, ALERT_CONFIG, ALPHA_MAX, AUTOCOMPLETE_CONFIG, Accordion, AccordionItem, ActivityHeatmap, Alert, AlertIcon, Autocomplete, BADGE_CONFIG, BREADCRUMBS_CONFIG, BUTTON_CONFIG, Badge, Breadcrumbs, Button, ButtonDirective, CALENDAR_CONFIG, CAROUSEL_CONFIG, CHECKBOX_CONFIG, CHIP_CONFIG, CHIP_CONTROL_CONFIG, CHIP_GROUP_CONFIG, CHIP_INPUT_CONFIG, COLOR_INPUT_CONFIG, COLOR_PICKER_CONFIG, COLOR_PICKER_DEFAULT_VALUE, COLOR_RANGE_CONFIG, COLOR_SWATCH_PICKER_CONFIG, CONFIRM_CONFIG, Calendar, CalendarAgendaView, CalendarEventItem, CalendarMonthView, CalendarTimeGrid, Carousel, CarouselSlide, Checkbox, CheckboxFormControl, Chip, ChipControl, ChipGroup, ChipInput, ColorInput, ColorPicker, ColorRange, ColorSwatch, ColorSwatchPicker, Confirm, ConfirmPanel, ConfirmService, ContextMenuDirective, DATE_TIME_PICKER_CONFIG, DEFAULT_ACCORDION_CONFIG, DEFAULT_ACTIVITY_HEATMAP_CONFIG, DEFAULT_ALERT_CONFIG, DEFAULT_AUTOCOMPLETE_CONFIG, DEFAULT_BADGE_CONFIG, DEFAULT_BREADCRUMBS_CONFIG, DEFAULT_BUTTON_CONFIG, DEFAULT_CALENDAR_CONFIG, DEFAULT_CAROUSEL_CONFIG, DEFAULT_CHECKBOX_CONFIG, DEFAULT_CHIP_CONFIG, DEFAULT_CHIP_CONTROL_CONFIG, DEFAULT_CHIP_GROUP_CONFIG, DEFAULT_CHIP_INPUT_CONFIG, DEFAULT_COLOR_INPUT_CONFIG, DEFAULT_COLOR_PICKER_CONFIG, DEFAULT_COLOR_RANGE_CONFIG, DEFAULT_COLOR_SWATCH_PICKER_CONFIG, DEFAULT_CONFIRM_CONFIG, DEFAULT_DATE_TIME_PICKER_CONFIG, DEFAULT_DIALOG_CONFIG, DEFAULT_DIVIDER_CONFIG, DEFAULT_DRAWER_CONFIG, DEFAULT_FILE_INPUT_CONFIG, DEFAULT_FORM_CONTROL_CONFIG, DEFAULT_FORM_CONTROL_GROUP_CONFIG, DEFAULT_FORM_ITEM_CONFIG, DEFAULT_HIGHLIGHT_CONFIG, DEFAULT_ICONS, DEFAULT_ICON_CONFIG, DEFAULT_IMAGE_COMPARE_CONFIG, DEFAULT_IMAGE_PREVIEW_CONFIG, DEFAULT_INFINITE_SCROLL_CONFIG, DEFAULT_INPUT_CONFIG, DEFAULT_INPUT_NUMBER_CONFIG, DEFAULT_KBD_CONFIG, DEFAULT_LOADER_CONFIG, DEFAULT_MARK_CONFIG, DEFAULT_MENU_CONFIG, DEFAULT_MULTI_SELECT_CONFIG, DEFAULT_ODOMETER_CONFIG, DEFAULT_PAGINATION_CONFIG, DEFAULT_PAGINATION_QUERY_SYNC_CONFIG, DEFAULT_PASSWORD_CONFIG, DEFAULT_PIN_INPUT_CONFIG, DEFAULT_POPOVER_CONFIG, DEFAULT_PROGRESS_CONFIG, DEFAULT_RADIO_BUTTON_CONFIG, DEFAULT_RATING_CONFIG, DEFAULT_RIPPLE_CONFIG, DEFAULT_SELECT_CONFIG, DEFAULT_SKELETON_CONFIG, DEFAULT_SLIDER_CONFIG, DEFAULT_SPLITTER_CONFIG, DEFAULT_STEPPER_CONFIG, DEFAULT_STEPPER_LABELS, DEFAULT_STEP_CONFIG, DEFAULT_SWIPE_ACTIONS_CONFIG, DEFAULT_SWITCH_CONFIG, DEFAULT_TABLE_CONFIG, DEFAULT_TABS_CONFIG, DEFAULT_TABS_QUERY_SYNC_CONFIG, DEFAULT_TAB_NAV_CONFIG, DEFAULT_TEXTAREA_CONFIG, DEFAULT_TOAST_CONFIG, DEFAULT_TOGGLE_BUTTON_CONFIG, DEFAULT_TOGGLE_GROUP_CONFIG, DEFAULT_TOOLTIP_CONFIG, DEFAULT_TOOLTIP_CONTENT_ATTRIBUTE, DEFAULT_VIRTUAL_SCROLL_CONFIG, DIALOG_CONFIG, DIVIDER_CONFIG, DRAWER_CONFIG, DRAWER_OPENING, DRAWER_PANEL_CONFIG, DateTimePicker, Dialog, DialogBody, DialogFooter, DialogHeader, DialogRef, DialogService, DialogTitleDirective, Divider, Drawer, DrawerRef, DrawerService, DrawerSharedDirective, DrawerTriggerDirective, FILE_INPUT_CONFIG, FORMAT_CYCLE, FORM_CONTROL, FORM_CONTROL_CONFIG, FORM_CONTROL_GROUP_CONFIG, FORM_ITEM_CONFIG, FabMenu, FileDropTargetDirective, FileInput, FormControl, FormControlAddon, FormControlGroup, FormItem, HIGHLIGHT_CONFIG, HUE_MAX, Highlight, ICON_CONFIG, ICON_REGISTRY, IMAGE_COMPARE_CONFIG, IMAGE_PREVIEW_CONFIG, INFINITE_SCROLL_CONFIG, INPUT_CONFIG, INPUT_NUMBER_CONFIG, Icon, IconRegistry, IconService, ImageCompare, ImagePreview, ImagePreviewDirective, ImagePreviewGroupDirective, ImagePreviewRef, ImagePreviewService, InfiniteScroll, Input, InputDirective, InputNumber, KBD_CONFIG, Kbd, LOADER_CONFIG, Loader, MARK_CONFIG, MASK_TOKENS, MENU_CONFIG, MULTI_SELECT_CONFIG, Mark, MaskDirective, Menu, MenuItemComponent, MenuTriggerDirective, MultiSelect, ODOMETER_CONFIG, Odometer, PAGINATION_CONFIG, PAGINATION_QUERY_SYNC_CONFIG, PASSWORD_CONFIG, PIN_INPUT_CONFIG, POPOVER_CONFIG, 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_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, SPLITTER_CONFIG, STEPPER_CONFIG, SV_KEYBOARD_STEP, SV_KEYBOARD_STEP_LARGE, SWIPE_ACTIONS_CONFIG, SWITCH_CONFIG, Select, Sheet, SheetHeaderDirective, Skeleton, Slider, Splitter, SplitterPanel, Step, Stepper, SwipeActions, Switch, TABLE_CONFIG, TABS_CONFIG, TABS_QUERY_SYNC_CONFIG, TAB_NAV_CONFIG, TEXTAREA_CONFIG, TOAST_CONFIG, TOGGLE_BUTTON_CONFIG, TOGGLE_GROUP_CONFIG, TOOLTIP_CONFIG, TOUCH_HANDOVER_WINDOW_MS, Tab, TabLinkDirective, TabNavDirective, Table, TableColumn, Tabs, TabsQuerySyncDirective, Textarea, Toast, ToastService, ToggleButton, ToggleGroup, TooltipDelegateDirective, TooltipDirective, TooltipTrigger, VIRTUAL_SCROLL_CONFIG, ValueFormControl, VirtualScroll, acceptsFile, aggregateActivityEntries, applyMask, buildActivityMonthSegments, buildActivityThresholds, canonicalHex, contrastForeground, formatHsl, formatRgb, hslToHsv, hsvToHsl, hsvToRgb, isTypeRejected, normalizeAccept, parseColor, provideFormItemConfig, provideThalassicIcons, provideThalassicUIConfig, relativeLuminance, resolveActivityLevel, rgbToHsv, rgbaToHex, toImagePreviewImage };
|
|
7932
|
+
export type { AccordionConfig, ActivityHeatmapConfig, ActivityHeatmapDay, ActivityHeatmapEntry, ActivityHeatmapLabels, ActivityHeatmapMonth, ActivityHeatmapRow, ActivityHeatmapTotal, AlertConfig, AutocompleteConfig, BadgeConfig, BreadcrumbItem, BreadcrumbItemContext, BreadcrumbsConfig, ButtonConfig, CalendarConfig, CalendarDayContext, CalendarEvent, CalendarEventContext, CalendarLabels, CalendarRange, CarouselConfig, CarouselLabels, CheckboxConfig, ChipConfig, ChipContext, ChipControlConfig, ChipGroupConfig, ChipInputConfig, ColorInputConfig, ColorInputLabels, ColorPickerConfig, ColorPickerLabels, ColorRangeConfig, ColorRangeLabels, ColorSwatchPickerConfig, ColorSwatchPickerLabels, ConfirmConfig, ConfirmOptions, DateTimePickerConfig, DialogConfig, DialogOpenConfig, DividerConfig, DrawerConfig, DrawerOffset, DrawerOpenConfig, DrawerOpening, DrawerPanelConfig, DrawerSharedPair, DrawerSlideTiming, EyeDropperConstructor, FabMenuItemDefinition, FileInputConfig, FileInputDropZoneContext, FileInputFileContext, FormControlConfig, FormControlGroupConfig, FormItemConfig, FormItemLabelContext, HighlightConfig, HighlightSegment, Hsla, Hsva, IconConfig, ImageCompareConfig, ImagePreviewConfig, ImagePreviewData, ImagePreviewGroupItem, ImagePreviewImage, ImagePreviewLabels, ImagePreviewOpenConfig, ImagePreviewSource, InfiniteScrollConfig, InfiniteScrollLabels, InputConfig, InputNumberConfig, KbdConfig, LoaderConfig, MarkConfig, MaskResult, MenuActionItem, MenuConfig, MenuCustomItem, MenuDivider, MenuItemDefinition, MenuLabel, MenuRenderBlock, MenuRenderEntry, MenuRenderGroup, MenuRenderSingle, MultiSelectConfig, OdometerConfig, OdometerSlot, OdometerToken, OverlayArrowPosition, PaginationConfig, PaginationLabels, PaginationQuerySyncConfig, PasswordConfig, PinInputConfig, PopoverConfig, ProgressConfig, RadioButtonConfig, RatingConfig, RatingLabels, RatingStarContext, Rgba, RippleConfig, SelectConfig, SheetDetent, SheetHeaderTemplate, SheetMeasures, SkeletonConfig, SliderConfig, SplitterConfig, StepConfig, StepperConfig, StepperLabels, StepperSelectEvent, SwipeActionsConfig, SwitchConfig, TabNavConfig, TableColumnDefinition, TableConfig, TableData, TableTrackBy, TabsConfig, TabsQuerySyncConfig, TextareaConfig, ToastConfig, ToastOptions, ToastRef, ToastState, ToggleButtonConfig, ToggleGroupConfig, TooltipConfig, TooltipOwner, TooltipRequest, TrackBy, VirtualScrollConfig, VirtualScrollContext, acceptInput, accordionHeadingLevel, accordionVariant, alertColor, autocompleteFilterMode, badgeColor, badgePosition, badgeVariant, breadcrumbsSize, buttonColor, buttonType, buttonVariant, calendarCompact, calendarView, chipColor, chipSize, chipTemplateContext, chipVariant, color, colorFormat, colorRangeChannel, colorRangeSize, confirmActionsAlign, confirmButton, confirmSize, controlSize, dateTimePickerMode, dialogFooterAlign, dialogSize, dividerContentPosition, dividerOrientation, dividerVariant, drawerGrabber, drawerOpenPhase, drawerSide, drawerSize, errorTrigger, fileDragState, fileInputVariant, hexCase, iconRegistry, iconRenderer, imageCompareOrientation, infiniteScrollState, inputVariant, labelPosition, loaderSize, menuItemRole, menuItemType, menuPosition, 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 };
|