@thalassic/ui 22.8.0 → 22.10.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 +918 -334
- package/fesm2022/thalassic-ui.mjs.map +1 -1
- package/package.json +1 -1
- package/types/thalassic-ui.d.ts +361 -107
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 { ModelSignal, InputSignal, WritableSignal, Signal, InputSignalWithTransform, InjectionToken, TemplateRef,
|
|
2
|
+
import { ModelSignal, InputSignal, WritableSignal, Signal, InputSignalWithTransform, InjectionToken, TemplateRef, Type, EnvironmentProviders, OutputEmitterRef, ElementRef, OnInit, TrackByFunction, OnDestroy } from '@angular/core';
|
|
3
3
|
import { FormUiControl, WithOptionalFieldTree, ValidationError, FormValueControl, FormCheckboxControl, ReadonlyFieldTree } from '@angular/forms/signals';
|
|
4
4
|
import { Day } from 'date-fns';
|
|
5
5
|
import { Point } from '@thalassic/core';
|
|
@@ -13,6 +13,15 @@ import { Router, ActivatedRoute } from '@angular/router';
|
|
|
13
13
|
import * as i1 from '@angular/aria/tabs';
|
|
14
14
|
import { DataSource } from '@angular/cdk/table';
|
|
15
15
|
|
|
16
|
+
interface AccessibilityConfig {
|
|
17
|
+
/**
|
|
18
|
+
* Expands interactive controls to the accessible minimum tap target (44px) on touch
|
|
19
|
+
* devices, without changing their visual size or disturbing layout. Enabled by default;
|
|
20
|
+
* disable for dense, desktop-only layouts where a pointer is guaranteed.
|
|
21
|
+
*/
|
|
22
|
+
expandTouchTargets: boolean;
|
|
23
|
+
}
|
|
24
|
+
|
|
16
25
|
declare abstract class FormControl<TValue = unknown> implements FormUiControl<TValue> {
|
|
17
26
|
private readonly _formControlConfig;
|
|
18
27
|
readonly touched: ModelSignal<boolean>;
|
|
@@ -289,13 +298,14 @@ declare class Badge {
|
|
|
289
298
|
readonly showZero: InputSignalWithTransform<boolean, unknown>;
|
|
290
299
|
readonly hidden: InputSignalWithTransform<boolean, unknown>;
|
|
291
300
|
readonly inset: InputSignalWithTransform<boolean, unknown>;
|
|
301
|
+
readonly bordered: InputSignalWithTransform<boolean, unknown>;
|
|
292
302
|
readonly ariaLabel: InputSignal<string | undefined>;
|
|
293
303
|
protected readonly visible: i0.Signal<boolean>;
|
|
294
304
|
protected readonly displayValue: i0.Signal<string>;
|
|
295
305
|
protected readonly decorative: i0.Signal<boolean>;
|
|
296
306
|
protected readonly hostClasses: i0.Signal<string[]>;
|
|
297
307
|
static ɵfac: i0.ɵɵFactoryDeclaration<Badge, never>;
|
|
298
|
-
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; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
308
|
+
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>;
|
|
299
309
|
}
|
|
300
310
|
|
|
301
311
|
interface BadgeConfig {
|
|
@@ -309,6 +319,133 @@ declare const DEFAULT_BADGE_CONFIG: BadgeConfig;
|
|
|
309
319
|
|
|
310
320
|
declare const BADGE_CONFIG: InjectionToken<BadgeConfig>;
|
|
311
321
|
|
|
322
|
+
/**
|
|
323
|
+
* Semantic names for the icons the library renders internally (checkbox tick,
|
|
324
|
+
* select chevron, dialog close, toast status glyphs, …). Consumers swap any of
|
|
325
|
+
* them for their own kit via `provideThalassicIcons`, so this list is the icon
|
|
326
|
+
* contract between the library and the app.
|
|
327
|
+
*/
|
|
328
|
+
type systemIcon = 'check' | 'indeterminate' | 'chevron-up' | 'chevron-down' | 'chevron-left' | 'chevron-right' | 'chevrons-left' | 'chevrons-right' | 'close' | 'success' | 'warning' | 'error' | 'info';
|
|
329
|
+
|
|
330
|
+
declare class Icon {
|
|
331
|
+
private readonly _iconService;
|
|
332
|
+
private readonly _iconRegistry;
|
|
333
|
+
private readonly _config;
|
|
334
|
+
/** A semantic icon from the registry — overridable via `provideThalassicIcons`. */
|
|
335
|
+
name: i0.InputSignal<systemIcon | undefined>;
|
|
336
|
+
/** A URL to an SVG or image for arbitrary content icons. Ignored when `name` is set. */
|
|
337
|
+
iconSrc: i0.InputSignal<string | undefined>;
|
|
338
|
+
alt: i0.InputSignal<string>;
|
|
339
|
+
allowedSources: i0.InputSignal<string[]>;
|
|
340
|
+
private readonly _renderer;
|
|
341
|
+
protected readonly registryComponent: Signal<Type<unknown> | null>;
|
|
342
|
+
protected readonly registrySvg: Signal<SafeHtml | null>;
|
|
343
|
+
protected readonly isSvgSrc: Signal<boolean>;
|
|
344
|
+
private readonly _svgContentResource;
|
|
345
|
+
get svgContent(): Signal<SafeHtml>;
|
|
346
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<Icon, never>;
|
|
347
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<Icon, "tls-icon", never, { "name": { "alias": "name"; "required": false; "isSignal": true; }; "iconSrc": { "alias": "iconSrc"; "required": false; "isSignal": true; }; "alt": { "alias": "alt"; "required": false; "isSignal": true; }; "allowedSources": { "alias": "allowedSources"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
348
|
+
}
|
|
349
|
+
|
|
350
|
+
interface IconConfig {
|
|
351
|
+
allowedSources: string[];
|
|
352
|
+
}
|
|
353
|
+
declare const DEFAULT_ICON_CONFIG: IconConfig;
|
|
354
|
+
|
|
355
|
+
declare const ICON_CONFIG: InjectionToken<IconConfig>;
|
|
356
|
+
|
|
357
|
+
declare class IconService {
|
|
358
|
+
private readonly _http;
|
|
359
|
+
private readonly _sanitizer;
|
|
360
|
+
private readonly _cache;
|
|
361
|
+
getSvgContent(url: string, allowedSources: string[]): Observable<SafeHtml>;
|
|
362
|
+
sanitizeSvg(svg: string): SafeHtml;
|
|
363
|
+
private _isUrlAllowed;
|
|
364
|
+
private _sanitizeSvg;
|
|
365
|
+
private _makeSafe;
|
|
366
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<IconService, never>;
|
|
367
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<IconService>;
|
|
368
|
+
}
|
|
369
|
+
|
|
370
|
+
/**
|
|
371
|
+
* A registry entry for a {@link systemIcon}. Either raw SVG markup (sanitized
|
|
372
|
+
* before it is rendered) or a component class that renders the icon itself —
|
|
373
|
+
* the escape hatch for plugging in a third-party icon kit
|
|
374
|
+
*/
|
|
375
|
+
type iconRenderer = string | Type<unknown>;
|
|
376
|
+
|
|
377
|
+
/**
|
|
378
|
+
* A partial override map: any subset of {@link systemIcon} names mapped to a
|
|
379
|
+
* {@link iconRenderer}. Names left unset fall back to the library defaults.
|
|
380
|
+
*/
|
|
381
|
+
type iconRegistry = Partial<Record<systemIcon, iconRenderer>>;
|
|
382
|
+
|
|
383
|
+
/**
|
|
384
|
+
* Consumer-supplied overrides for the built-in {@link systemIcon} set, merged
|
|
385
|
+
* over {@link DEFAULT_ICONS} by {@link IconRegistry}. Provide it with
|
|
386
|
+
* `provideThalassicIcons`.
|
|
387
|
+
*/
|
|
388
|
+
declare const ICON_REGISTRY: InjectionToken<Partial<Record<_thalassic_ui.systemIcon, _thalassic_ui.iconRenderer>>>;
|
|
389
|
+
|
|
390
|
+
/**
|
|
391
|
+
* Resolves a {@link systemIcon} name to its {@link iconRenderer}, applying any
|
|
392
|
+
* consumer overrides from {@link ICON_REGISTRY} over {@link DEFAULT_ICONS}.
|
|
393
|
+
*/
|
|
394
|
+
declare class IconRegistry {
|
|
395
|
+
private readonly _overrides;
|
|
396
|
+
private readonly _icons;
|
|
397
|
+
resolve(name: systemIcon): iconRenderer;
|
|
398
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<IconRegistry, never>;
|
|
399
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<IconRegistry>;
|
|
400
|
+
}
|
|
401
|
+
|
|
402
|
+
/**
|
|
403
|
+
* Built-in SVG for every {@link systemIcon}. A coherent 24×24 stroked set drawn
|
|
404
|
+
* with `currentColor`, no intrinsic width/height so each icon scales to its
|
|
405
|
+
* host box. Consumers override individual entries via `provideThalassicIcons`.
|
|
406
|
+
*/
|
|
407
|
+
declare const DEFAULT_ICONS: Record<systemIcon, string>;
|
|
408
|
+
|
|
409
|
+
/**
|
|
410
|
+
* Override any of the library's built-in {@link systemIcon}s with your own kit.
|
|
411
|
+
* Each entry is raw SVG markup or a component class; names left unset keep the
|
|
412
|
+
* library defaults. Register once in the application config:
|
|
413
|
+
*
|
|
414
|
+
* ```ts
|
|
415
|
+
* provideThalassicIcons({
|
|
416
|
+
* close: '<svg>…</svg>',
|
|
417
|
+
* 'chevron-down': MyChevronComponent,
|
|
418
|
+
* })
|
|
419
|
+
* ```
|
|
420
|
+
*/
|
|
421
|
+
declare function provideThalassicIcons(icons: iconRegistry): EnvironmentProviders;
|
|
422
|
+
|
|
423
|
+
interface BreadcrumbItem {
|
|
424
|
+
label: string;
|
|
425
|
+
/** Router link for the item. An item without a link renders as plain text. */
|
|
426
|
+
link?: string | unknown[];
|
|
427
|
+
/** Icon source rendered before the label (see tls-icon's iconSrc). */
|
|
428
|
+
icon?: string;
|
|
429
|
+
}
|
|
430
|
+
|
|
431
|
+
declare class Breadcrumbs {
|
|
432
|
+
private readonly _config;
|
|
433
|
+
readonly items: i0.InputSignal<BreadcrumbItem[]>;
|
|
434
|
+
readonly separatorIcon: i0.InputSignal<systemIcon>;
|
|
435
|
+
/** Accessible name for the breadcrumb navigation landmark. */
|
|
436
|
+
readonly ariaLabel: i0.InputSignal<string>;
|
|
437
|
+
readonly ariaLabelledby: i0.InputSignal<string | undefined>;
|
|
438
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<Breadcrumbs, never>;
|
|
439
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<Breadcrumbs, "tls-breadcrumbs", never, { "items": { "alias": "items"; "required": false; "isSignal": true; }; "separatorIcon": { "alias": "separatorIcon"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; "ariaLabelledby": { "alias": "ariaLabelledby"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
440
|
+
}
|
|
441
|
+
|
|
442
|
+
interface BreadcrumbsConfig {
|
|
443
|
+
separatorIcon: systemIcon;
|
|
444
|
+
}
|
|
445
|
+
declare const DEFAULT_BREADCRUMBS_CONFIG: BreadcrumbsConfig;
|
|
446
|
+
|
|
447
|
+
declare const BREADCRUMBS_CONFIG: InjectionToken<BreadcrumbsConfig>;
|
|
448
|
+
|
|
312
449
|
declare abstract class ButtonBase {
|
|
313
450
|
protected _config: _thalassic_ui.ButtonConfig;
|
|
314
451
|
protected APPLY_HOST_CLASSES: boolean;
|
|
@@ -1028,6 +1165,54 @@ declare class FormItem {
|
|
|
1028
1165
|
|
|
1029
1166
|
declare const FORM_ITEM_CONFIG: InjectionToken<FormItemConfig>;
|
|
1030
1167
|
|
|
1168
|
+
type autocompleteFilterMode = 'contains' | 'startsWith';
|
|
1169
|
+
|
|
1170
|
+
declare class Autocomplete<T, V = unknown> extends AbstractSelect<T, V, V | null> {
|
|
1171
|
+
private static _nextUniqueId;
|
|
1172
|
+
private readonly _config;
|
|
1173
|
+
readonly supportsLabelFor = true;
|
|
1174
|
+
protected readonly uniqueId: string;
|
|
1175
|
+
protected readonly hostClassBase = "tls-autocomplete";
|
|
1176
|
+
protected readonly panelClass = "tls-autocomplete-panel";
|
|
1177
|
+
readonly value: ModelSignal<V | null>;
|
|
1178
|
+
readonly placeholder: InputSignal<string>;
|
|
1179
|
+
readonly size: InputSignal<controlSize>;
|
|
1180
|
+
readonly fluid: InputSignalWithTransform<boolean, unknown>;
|
|
1181
|
+
readonly clearable: InputSignalWithTransform<boolean, unknown>;
|
|
1182
|
+
readonly filterMode: InputSignal<autocompleteFilterMode>;
|
|
1183
|
+
readonly emptyMessage: InputSignal<string>;
|
|
1184
|
+
protected readonly hasValue: Signal<boolean>;
|
|
1185
|
+
protected readonly selectedLabel: Signal<string>;
|
|
1186
|
+
/**
|
|
1187
|
+
* The text shown in the field: the committed selection's label by default, overwritten with a
|
|
1188
|
+
* free-text query as the user types. Re-derives from the label whenever the committed value
|
|
1189
|
+
* changes (a selection, a clear, or an external model update), so the field always reflects it.
|
|
1190
|
+
*/
|
|
1191
|
+
protected readonly query: WritableSignal<string>;
|
|
1192
|
+
protected select(option: Option<V>): void;
|
|
1193
|
+
protected onInput(event: Event): void;
|
|
1194
|
+
protected onKeydown(event: KeyboardEvent): void;
|
|
1195
|
+
protected filterVisibleOptions(options: Option<V>[]): Option<V>[];
|
|
1196
|
+
protected onClosed(): void;
|
|
1197
|
+
protected clear(): void;
|
|
1198
|
+
protected getInitialActiveIndex(): number;
|
|
1199
|
+
protected commitActiveOption(option: Option<V>): void;
|
|
1200
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<Autocomplete<any, any>, never>;
|
|
1201
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<Autocomplete<any, any>, "tls-autocomplete", never, { "value": { "alias": "value"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "fluid": { "alias": "fluid"; "required": false; "isSignal": true; }; "clearable": { "alias": "clearable"; "required": false; "isSignal": true; }; "filterMode": { "alias": "filterMode"; "required": false; "isSignal": true; }; "emptyMessage": { "alias": "emptyMessage"; "required": false; "isSignal": true; }; }, { "value": "valueChange"; }, never, never, true, never>;
|
|
1202
|
+
}
|
|
1203
|
+
|
|
1204
|
+
interface AutocompleteConfig {
|
|
1205
|
+
size: controlSize;
|
|
1206
|
+
placeholder: string;
|
|
1207
|
+
fluid: boolean;
|
|
1208
|
+
clearable: boolean;
|
|
1209
|
+
filterMode: autocompleteFilterMode;
|
|
1210
|
+
emptyMessage: string;
|
|
1211
|
+
}
|
|
1212
|
+
declare const DEFAULT_AUTOCOMPLETE_CONFIG: AutocompleteConfig;
|
|
1213
|
+
|
|
1214
|
+
declare const AUTOCOMPLETE_CONFIG: InjectionToken<AutocompleteConfig>;
|
|
1215
|
+
|
|
1031
1216
|
interface CheckboxConfig {
|
|
1032
1217
|
}
|
|
1033
1218
|
declare const DEFAULT_CHECKBOX_CONFIG: CheckboxConfig;
|
|
@@ -1274,6 +1459,68 @@ declare const DEFAULT_INPUT_NUMBER_CONFIG: InputNumberConfig;
|
|
|
1274
1459
|
|
|
1275
1460
|
declare const INPUT_NUMBER_CONFIG: InjectionToken<InputNumberConfig>;
|
|
1276
1461
|
|
|
1462
|
+
interface MaskResult {
|
|
1463
|
+
maskedValue: string;
|
|
1464
|
+
unmaskedValue: string;
|
|
1465
|
+
caret: number;
|
|
1466
|
+
}
|
|
1467
|
+
/**
|
|
1468
|
+
* Formats `rawText` against a token `pattern` (`0` digit, `A` letter, `*`
|
|
1469
|
+
* alphanumeric; every other character is a literal) and computes where the caret
|
|
1470
|
+
* should land. `rawText` may itself already contain literals (the previously
|
|
1471
|
+
* masked value plus the latest keystroke) — literals are absorbed and any
|
|
1472
|
+
* character that does not satisfy the current slot's token is skipped.
|
|
1473
|
+
*
|
|
1474
|
+
* A separator is inserted only once the value character that follows it arrives,
|
|
1475
|
+
* so an in-progress value never shows a dangling separator. The caret is derived
|
|
1476
|
+
* by formatting only the portion of `rawText` before `caretPosition`.
|
|
1477
|
+
*/
|
|
1478
|
+
declare function applyMask(pattern: string, rawText: string, caretPosition: number): MaskResult;
|
|
1479
|
+
|
|
1480
|
+
declare const MASK_TOKENS: Readonly<Record<string, RegExp>>;
|
|
1481
|
+
|
|
1482
|
+
/**
|
|
1483
|
+
* Formats a native `<input>` as the user types against a token pattern
|
|
1484
|
+
* (`0` digit, `A` letter, `*` alphanumeric; any other character is a literal).
|
|
1485
|
+
*
|
|
1486
|
+
* Works both directly on a native `<input>` and on the `tls-input` component: it
|
|
1487
|
+
* operates purely at the DOM level, resolving the native control (the host, or
|
|
1488
|
+
* the `<input>` nested inside it) and re-dispatching a native `input` event so
|
|
1489
|
+
* the host's own value handling captures the masked string. Programmatic
|
|
1490
|
+
* `element.value = …` writes (a form `setValue`, a direct DOM assignment) are
|
|
1491
|
+
* intercepted and masked as well, and the value is reformatted whenever the
|
|
1492
|
+
* pattern changes at runtime. The field value therefore holds the masked text;
|
|
1493
|
+
* the separator-free value is exposed via the `unmasked` signal (through
|
|
1494
|
+
* `exportAs: 'tlsMask'`) and the `unmaskedChange` output.
|
|
1495
|
+
*
|
|
1496
|
+
* Deleting a separator is a no-op (the reformat re-inserts it); delete a value
|
|
1497
|
+
* character instead.
|
|
1498
|
+
*/
|
|
1499
|
+
declare class MaskDirective {
|
|
1500
|
+
private readonly _elementRef;
|
|
1501
|
+
private readonly _renderer;
|
|
1502
|
+
private readonly _destroyRef;
|
|
1503
|
+
readonly pattern: InputSignal<string>;
|
|
1504
|
+
readonly unmaskedChange: OutputEmitterRef<string>;
|
|
1505
|
+
private readonly _masked;
|
|
1506
|
+
private readonly _unmasked;
|
|
1507
|
+
readonly masked: Signal<string>;
|
|
1508
|
+
readonly unmasked: Signal<string>;
|
|
1509
|
+
private _input;
|
|
1510
|
+
private _isFormatting;
|
|
1511
|
+
constructor();
|
|
1512
|
+
private _format;
|
|
1513
|
+
/**
|
|
1514
|
+
* Programmatic `element.value = …` writes fire no `input` event, so masking
|
|
1515
|
+
* would otherwise be bypassed. Redefining the instance's `value` property
|
|
1516
|
+
* routes every write through the formatter; the instance override is removed
|
|
1517
|
+
* on destroy, falling back to the prototype accessor.
|
|
1518
|
+
*/
|
|
1519
|
+
private _interceptValueWrites;
|
|
1520
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MaskDirective, never>;
|
|
1521
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<MaskDirective, "[tlsMask]", ["tlsMask"], { "pattern": { "alias": "tlsMask"; "required": false; "isSignal": true; }; }, { "unmaskedChange": "unmaskedChange"; }, never, never, true, never>;
|
|
1522
|
+
}
|
|
1523
|
+
|
|
1277
1524
|
declare class Password extends ValueFormControl<string> {
|
|
1278
1525
|
private _config;
|
|
1279
1526
|
readonly supportsLabelFor = true;
|
|
@@ -1282,13 +1529,14 @@ declare class Password extends ValueFormControl<string> {
|
|
|
1282
1529
|
readonly placeholder: InputSignal<string>;
|
|
1283
1530
|
readonly size: InputSignal<controlSize>;
|
|
1284
1531
|
readonly fluid: InputSignalWithTransform<boolean, unknown>;
|
|
1532
|
+
protected readonly startIconTemplate: i0.Signal<TemplateRef<unknown> | undefined>;
|
|
1285
1533
|
protected readonly showIconTemplate: i0.Signal<TemplateRef<unknown> | undefined>;
|
|
1286
1534
|
protected readonly hideIconTemplate: i0.Signal<TemplateRef<unknown> | undefined>;
|
|
1287
1535
|
protected type: i0.Signal<"text" | "password">;
|
|
1288
1536
|
protected onInput(event: Event): void;
|
|
1289
1537
|
protected toggle(): void;
|
|
1290
1538
|
static ɵfac: i0.ɵɵFactoryDeclaration<Password, never>;
|
|
1291
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<Password, "tls-password", never, { "value": { "alias": "value"; "required": false; "isSignal": true; }; "visible": { "alias": "visible"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "fluid": { "alias": "fluid"; "required": false; "isSignal": true; }; }, { "value": "valueChange"; "visible": "visibleChange"; }, ["showIconTemplate", "hideIconTemplate"], never, true, never>;
|
|
1539
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<Password, "tls-password", never, { "value": { "alias": "value"; "required": false; "isSignal": true; }; "visible": { "alias": "visible"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "fluid": { "alias": "fluid"; "required": false; "isSignal": true; }; }, { "value": "valueChange"; "visible": "visibleChange"; }, ["startIconTemplate", "showIconTemplate", "hideIconTemplate"], never, true, never>;
|
|
1292
1540
|
}
|
|
1293
1541
|
|
|
1294
1542
|
interface PasswordConfig {
|
|
@@ -1479,6 +1727,82 @@ declare class Textarea extends ValueFormControl<string> {
|
|
|
1479
1727
|
|
|
1480
1728
|
declare const TEXTAREA_CONFIG: InjectionToken<TextareaConfig>;
|
|
1481
1729
|
|
|
1730
|
+
type toggleButtonColor = color;
|
|
1731
|
+
type toggleButtonVariant = 'filled' | 'tonal' | 'outlined' | 'text';
|
|
1732
|
+
|
|
1733
|
+
/**
|
|
1734
|
+
* A standalone two-state button following the WAI-ARIA toggle-button pattern
|
|
1735
|
+
* (`role="button"` + `aria-pressed`). The host element is the control itself.
|
|
1736
|
+
* For a set of mutually related options use `tls-toggle-group` instead.
|
|
1737
|
+
*
|
|
1738
|
+
* `color`/`variant` style the resting (unpressed) state. The pressed state
|
|
1739
|
+
* defaults to the filled treatment of the base hue and can be restyled
|
|
1740
|
+
* independently via `checkedColor`/`checkedVariant`, mirroring `tlsChipControl`.
|
|
1741
|
+
*/
|
|
1742
|
+
declare class ToggleButton extends CheckboxFormControl {
|
|
1743
|
+
private readonly _config;
|
|
1744
|
+
protected CLASS_NAME: string;
|
|
1745
|
+
/** Whether the button is in the pressed (on) state. */
|
|
1746
|
+
readonly checked: ModelSignal<boolean>;
|
|
1747
|
+
/** The text label displayed inside the button. Takes priority over projected content. */
|
|
1748
|
+
readonly label: InputSignal<string | undefined>;
|
|
1749
|
+
/**
|
|
1750
|
+
* Label displayed instead of `label` while pressed (e.g. "Mute" / "Muted").
|
|
1751
|
+
* Providing it also switches the announcement strategy: the state is conveyed
|
|
1752
|
+
* by the changing accessible name alone and `aria-pressed` is omitted, per the
|
|
1753
|
+
* WAI-ARIA toggle-button pattern (a name that changes with state must not be
|
|
1754
|
+
* combined with `aria-pressed`, or screen readers announce both).
|
|
1755
|
+
*/
|
|
1756
|
+
readonly checkedLabel: InputSignal<string | undefined>;
|
|
1757
|
+
/**
|
|
1758
|
+
* Keeps the button's width constant across states by reserving space for the
|
|
1759
|
+
* wider of `label` / `checkedLabel`, so toggling never shifts the surrounding
|
|
1760
|
+
* layout. Applies only when both labels are provided.
|
|
1761
|
+
*/
|
|
1762
|
+
readonly staticWidth: InputSignalWithTransform<boolean, unknown>;
|
|
1763
|
+
/**
|
|
1764
|
+
* Marks the content as icon-only: the button becomes square with centered
|
|
1765
|
+
* content. Provide an accessible name via `ariaLabel`/`ariaLabelledby`, since
|
|
1766
|
+
* there is no visible text for screen readers to announce.
|
|
1767
|
+
*/
|
|
1768
|
+
readonly icon: InputSignalWithTransform<boolean, unknown>;
|
|
1769
|
+
readonly color: InputSignal<toggleButtonColor>;
|
|
1770
|
+
readonly size: InputSignal<controlSize>;
|
|
1771
|
+
readonly variant: InputSignal<toggleButtonVariant>;
|
|
1772
|
+
/** Hue of the pressed state; `undefined` keeps the base `color`. */
|
|
1773
|
+
readonly checkedColor: InputSignal<toggleButtonColor | undefined>;
|
|
1774
|
+
/** Treatment of the pressed state; `undefined` uses the filled treatment. */
|
|
1775
|
+
readonly checkedVariant: InputSignal<toggleButtonVariant | undefined>;
|
|
1776
|
+
/** Whether the button stretches to fill its container's width. */
|
|
1777
|
+
readonly fluid: InputSignalWithTransform<boolean, unknown>;
|
|
1778
|
+
readonly tabindex: InputSignal<string | number>;
|
|
1779
|
+
/** Label for the current state: `checkedLabel` while pressed (when provided), `label` otherwise. */
|
|
1780
|
+
protected readonly displayedLabel: Signal<string | undefined>;
|
|
1781
|
+
/** Whether both state labels render stacked in one cell, sizing the button to the wider one. */
|
|
1782
|
+
protected readonly stackedLabels: Signal<boolean>;
|
|
1783
|
+
/** `aria-pressed` value; omitted entirely when `checkedLabel` makes the name carry the state. */
|
|
1784
|
+
protected readonly ariaPressed: Signal<boolean | null>;
|
|
1785
|
+
protected readonly hostClasses: Signal<string[]>;
|
|
1786
|
+
protected toggle(): void;
|
|
1787
|
+
protected onKeyboardToggle(event: Event): void;
|
|
1788
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ToggleButton, never>;
|
|
1789
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ToggleButton, "tls-toggle-button", never, { "checked": { "alias": "checked"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; "checkedLabel": { "alias": "checkedLabel"; "required": false; "isSignal": true; }; "staticWidth": { "alias": "staticWidth"; "required": false; "isSignal": true; }; "icon": { "alias": "icon"; "required": false; "isSignal": true; }; "color": { "alias": "color"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "checkedColor": { "alias": "checkedColor"; "required": false; "isSignal": true; }; "checkedVariant": { "alias": "checkedVariant"; "required": false; "isSignal": true; }; "fluid": { "alias": "fluid"; "required": false; "isSignal": true; }; "tabindex": { "alias": "tabindex"; "required": false; "isSignal": true; }; }, { "checked": "checkedChange"; }, never, ["*"], true, never>;
|
|
1790
|
+
}
|
|
1791
|
+
|
|
1792
|
+
interface ToggleButtonConfig {
|
|
1793
|
+
color: toggleButtonColor;
|
|
1794
|
+
variant: toggleButtonVariant;
|
|
1795
|
+
size: controlSize;
|
|
1796
|
+
fluid: boolean;
|
|
1797
|
+
/** Hue of the pressed state; `undefined` keeps the base `color`. */
|
|
1798
|
+
checkedColor: toggleButtonColor | undefined;
|
|
1799
|
+
/** Treatment of the pressed state; `undefined` uses the filled treatment. */
|
|
1800
|
+
checkedVariant: toggleButtonVariant | undefined;
|
|
1801
|
+
}
|
|
1802
|
+
declare const DEFAULT_TOGGLE_BUTTON_CONFIG: ToggleButtonConfig;
|
|
1803
|
+
|
|
1804
|
+
declare const TOGGLE_BUTTON_CONFIG: InjectionToken<ToggleButtonConfig>;
|
|
1805
|
+
|
|
1482
1806
|
type toggleGroupVariant = 'filled' | 'tonal';
|
|
1483
1807
|
|
|
1484
1808
|
declare class ToggleGroup<T, V = unknown> extends SelectionGroup<T, V> {
|
|
@@ -1511,107 +1835,6 @@ declare const DEFAULT_TOGGLE_GROUP_CONFIG: ToggleGroupConfig;
|
|
|
1511
1835
|
|
|
1512
1836
|
declare const TOGGLE_GROUP_CONFIG: InjectionToken<ToggleGroupConfig>;
|
|
1513
1837
|
|
|
1514
|
-
/**
|
|
1515
|
-
* Semantic names for the icons the library renders internally (checkbox tick,
|
|
1516
|
-
* select chevron, dialog close, toast status glyphs, …). Consumers swap any of
|
|
1517
|
-
* them for their own kit via `provideThalassicIcons`, so this list is the icon
|
|
1518
|
-
* contract between the library and the app.
|
|
1519
|
-
*/
|
|
1520
|
-
type systemIcon = 'check' | 'indeterminate' | 'chevron-up' | 'chevron-down' | 'chevron-left' | 'chevron-right' | 'chevrons-left' | 'chevrons-right' | 'close' | 'success' | 'warning' | 'error' | 'info';
|
|
1521
|
-
|
|
1522
|
-
declare class Icon {
|
|
1523
|
-
private readonly _iconService;
|
|
1524
|
-
private readonly _iconRegistry;
|
|
1525
|
-
private readonly _config;
|
|
1526
|
-
/** A semantic icon from the registry — overridable via `provideThalassicIcons`. */
|
|
1527
|
-
name: i0.InputSignal<systemIcon | undefined>;
|
|
1528
|
-
/** A URL to an SVG or image for arbitrary content icons. Ignored when `name` is set. */
|
|
1529
|
-
iconSrc: i0.InputSignal<string | undefined>;
|
|
1530
|
-
alt: i0.InputSignal<string>;
|
|
1531
|
-
allowedSources: i0.InputSignal<string[]>;
|
|
1532
|
-
private readonly _renderer;
|
|
1533
|
-
protected readonly registryComponent: Signal<Type<unknown> | null>;
|
|
1534
|
-
protected readonly registrySvg: Signal<SafeHtml | null>;
|
|
1535
|
-
protected readonly isSvgSrc: Signal<boolean>;
|
|
1536
|
-
private readonly _svgContentResource;
|
|
1537
|
-
get svgContent(): Signal<SafeHtml>;
|
|
1538
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<Icon, never>;
|
|
1539
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<Icon, "tls-icon", never, { "name": { "alias": "name"; "required": false; "isSignal": true; }; "iconSrc": { "alias": "iconSrc"; "required": false; "isSignal": true; }; "alt": { "alias": "alt"; "required": false; "isSignal": true; }; "allowedSources": { "alias": "allowedSources"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
1540
|
-
}
|
|
1541
|
-
|
|
1542
|
-
interface IconConfig {
|
|
1543
|
-
allowedSources: string[];
|
|
1544
|
-
}
|
|
1545
|
-
declare const DEFAULT_ICON_CONFIG: IconConfig;
|
|
1546
|
-
|
|
1547
|
-
declare const ICON_CONFIG: InjectionToken<IconConfig>;
|
|
1548
|
-
|
|
1549
|
-
declare class IconService {
|
|
1550
|
-
private readonly _http;
|
|
1551
|
-
private readonly _sanitizer;
|
|
1552
|
-
private readonly _cache;
|
|
1553
|
-
getSvgContent(url: string, allowedSources: string[]): Observable<SafeHtml>;
|
|
1554
|
-
sanitizeSvg(svg: string): SafeHtml;
|
|
1555
|
-
private _isUrlAllowed;
|
|
1556
|
-
private _sanitizeSvg;
|
|
1557
|
-
private _makeSafe;
|
|
1558
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<IconService, never>;
|
|
1559
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<IconService>;
|
|
1560
|
-
}
|
|
1561
|
-
|
|
1562
|
-
/**
|
|
1563
|
-
* A registry entry for a {@link systemIcon}. Either raw SVG markup (sanitized
|
|
1564
|
-
* before it is rendered) or a component class that renders the icon itself —
|
|
1565
|
-
* the escape hatch for plugging in a third-party icon kit
|
|
1566
|
-
*/
|
|
1567
|
-
type iconRenderer = string | Type<unknown>;
|
|
1568
|
-
|
|
1569
|
-
/**
|
|
1570
|
-
* A partial override map: any subset of {@link systemIcon} names mapped to a
|
|
1571
|
-
* {@link iconRenderer}. Names left unset fall back to the library defaults.
|
|
1572
|
-
*/
|
|
1573
|
-
type iconRegistry = Partial<Record<systemIcon, iconRenderer>>;
|
|
1574
|
-
|
|
1575
|
-
/**
|
|
1576
|
-
* Consumer-supplied overrides for the built-in {@link systemIcon} set, merged
|
|
1577
|
-
* over {@link DEFAULT_ICONS} by {@link IconRegistry}. Provide it with
|
|
1578
|
-
* `provideThalassicIcons`.
|
|
1579
|
-
*/
|
|
1580
|
-
declare const ICON_REGISTRY: InjectionToken<Partial<Record<_thalassic_ui.systemIcon, _thalassic_ui.iconRenderer>>>;
|
|
1581
|
-
|
|
1582
|
-
/**
|
|
1583
|
-
* Resolves a {@link systemIcon} name to its {@link iconRenderer}, applying any
|
|
1584
|
-
* consumer overrides from {@link ICON_REGISTRY} over {@link DEFAULT_ICONS}.
|
|
1585
|
-
*/
|
|
1586
|
-
declare class IconRegistry {
|
|
1587
|
-
private readonly _overrides;
|
|
1588
|
-
private readonly _icons;
|
|
1589
|
-
resolve(name: systemIcon): iconRenderer;
|
|
1590
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<IconRegistry, never>;
|
|
1591
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<IconRegistry>;
|
|
1592
|
-
}
|
|
1593
|
-
|
|
1594
|
-
/**
|
|
1595
|
-
* Built-in SVG for every {@link systemIcon}. A coherent 24×24 stroked set drawn
|
|
1596
|
-
* with `currentColor`, no intrinsic width/height so each icon scales to its
|
|
1597
|
-
* host box. Consumers override individual entries via `provideThalassicIcons`.
|
|
1598
|
-
*/
|
|
1599
|
-
declare const DEFAULT_ICONS: Record<systemIcon, string>;
|
|
1600
|
-
|
|
1601
|
-
/**
|
|
1602
|
-
* Override any of the library's built-in {@link systemIcon}s with your own kit.
|
|
1603
|
-
* Each entry is raw SVG markup or a component class; names left unset keep the
|
|
1604
|
-
* library defaults. Register once in the application config:
|
|
1605
|
-
*
|
|
1606
|
-
* ```ts
|
|
1607
|
-
* provideThalassicIcons({
|
|
1608
|
-
* close: '<svg>…</svg>',
|
|
1609
|
-
* 'chevron-down': MyChevronComponent,
|
|
1610
|
-
* })
|
|
1611
|
-
* ```
|
|
1612
|
-
*/
|
|
1613
|
-
declare function provideThalassicIcons(icons: iconRegistry): EnvironmentProviders;
|
|
1614
|
-
|
|
1615
1838
|
type imageCompareOrientation = orientation;
|
|
1616
1839
|
|
|
1617
1840
|
declare class ImageCompare {
|
|
@@ -1658,6 +1881,21 @@ declare const DEFAULT_IMAGE_COMPARE_CONFIG: ImageCompareConfig;
|
|
|
1658
1881
|
|
|
1659
1882
|
declare const IMAGE_COMPARE_CONFIG: InjectionToken<ImageCompareConfig>;
|
|
1660
1883
|
|
|
1884
|
+
declare class Kbd {
|
|
1885
|
+
private readonly _config;
|
|
1886
|
+
readonly size: InputSignal<controlSize>;
|
|
1887
|
+
protected readonly hostClasses: i0.Signal<string[]>;
|
|
1888
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<Kbd, never>;
|
|
1889
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<Kbd, "kbd[tlsKbd]", never, { "size": { "alias": "size"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
1890
|
+
}
|
|
1891
|
+
|
|
1892
|
+
interface KbdConfig {
|
|
1893
|
+
size: controlSize;
|
|
1894
|
+
}
|
|
1895
|
+
declare const DEFAULT_KBD_CONFIG: KbdConfig;
|
|
1896
|
+
|
|
1897
|
+
declare const KBD_CONFIG: InjectionToken<KbdConfig>;
|
|
1898
|
+
|
|
1661
1899
|
type loaderSize = size | number;
|
|
1662
1900
|
|
|
1663
1901
|
/**
|
|
@@ -2475,10 +2713,13 @@ declare const DEFAULT_TOOLTIP_CONFIG: TooltipConfig;
|
|
|
2475
2713
|
declare const TOOLTIP_CONFIG: InjectionToken<TooltipConfig>;
|
|
2476
2714
|
|
|
2477
2715
|
interface tlsUiConfigProvider {
|
|
2716
|
+
/** Cross-cutting accessibility policy applied across every component (not tied to a single one). */
|
|
2717
|
+
accessibility?: Partial<AccessibilityConfig>;
|
|
2478
2718
|
/** Cross-cutting defaults inherited by every form control (not tied to a single component). */
|
|
2479
2719
|
formControl?: Partial<FormControlConfig>;
|
|
2480
2720
|
components: {
|
|
2481
2721
|
alert?: Partial<AlertConfig>;
|
|
2722
|
+
autocomplete?: Partial<AutocompleteConfig>;
|
|
2482
2723
|
button?: Partial<ButtonConfig>;
|
|
2483
2724
|
calendar?: Partial<CalendarConfig>;
|
|
2484
2725
|
checkbox?: Partial<CheckboxConfig>;
|
|
@@ -2547,6 +2788,12 @@ declare abstract class AbstractSelect<T, V, ValueType> extends ValueFormControl<
|
|
|
2547
2788
|
protected readonly isOpen: Signal<boolean>;
|
|
2548
2789
|
protected readonly activeIndex: WritableSignal<number>;
|
|
2549
2790
|
protected readonly normalizedOptions: Signal<Option<V>[]>;
|
|
2791
|
+
/**
|
|
2792
|
+
* Options actually shown in the panel and traversed by keyboard navigation. Defaults to the full
|
|
2793
|
+
* normalized list; a filtering control (an editable combobox) narrows it via
|
|
2794
|
+
* {@link filterVisibleOptions}. `activeIndex` always indexes into this list, never the raw one.
|
|
2795
|
+
*/
|
|
2796
|
+
protected readonly visibleOptions: Signal<Option<V>[]>;
|
|
2550
2797
|
protected readonly activeDescendantId: Signal<string | null>;
|
|
2551
2798
|
protected readonly hostClasses: Signal<string[]>;
|
|
2552
2799
|
protected get listboxId(): string;
|
|
@@ -2560,13 +2807,20 @@ declare abstract class AbstractSelect<T, V, ValueType> extends ValueFormControl<
|
|
|
2560
2807
|
protected abstract commitActiveOption(option: Option<V>): void;
|
|
2561
2808
|
/** Reset the control to its empty value. */
|
|
2562
2809
|
protected abstract clear(): void;
|
|
2810
|
+
/**
|
|
2811
|
+
* Narrows the option list shown in the panel. The listbox controls show every option; an editable
|
|
2812
|
+
* combobox overrides this to filter by the typed query.
|
|
2813
|
+
*/
|
|
2814
|
+
protected filterVisibleOptions(options: Option<V>[]): Option<V>[];
|
|
2815
|
+
/** Hook invoked after the panel has closed, once the trigger has regained focus. */
|
|
2816
|
+
protected onClosed(): void;
|
|
2563
2817
|
protected open(): void;
|
|
2564
2818
|
protected close(): void;
|
|
2565
2819
|
protected toggle(): void;
|
|
2566
2820
|
protected onOptionHover(index: number, disabled?: boolean): void;
|
|
2567
2821
|
protected onKeydown(event: KeyboardEvent): void;
|
|
2568
2822
|
protected optionId(index: number): string;
|
|
2569
|
-
|
|
2823
|
+
protected moveActive(direction: 1 | -1): void;
|
|
2570
2824
|
private moveActiveToEdge;
|
|
2571
2825
|
static ɵfac: i0.ɵɵFactoryDeclaration<AbstractSelect<any, any, any>, never>;
|
|
2572
2826
|
static ɵdir: i0.ɵɵDirectiveDeclaration<AbstractSelect<any, any, any>, never, never, { "options": { "alias": "options"; "required": false; "isSignal": true; }; "optionLabel": { "alias": "optionLabel"; "required": false; "isSignal": true; }; "optionValue": { "alias": "optionValue"; "required": false; "isSignal": true; }; "optionDisabled": { "alias": "optionDisabled"; "required": false; "isSignal": true; }; "tabindex": { "alias": "tabindex"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
@@ -2583,5 +2837,5 @@ declare abstract class QuerySyncDirective {
|
|
|
2583
2837
|
|
|
2584
2838
|
declare const provideThalassicUIConfig: (config: tlsUiConfigProvider) => EnvironmentProviders;
|
|
2585
2839
|
|
|
2586
|
-
export { ALERT_CONFIG, Alert, BADGE_CONFIG, BUTTON_CONFIG, Badge, Button, ButtonDirective, CALENDAR_CONFIG, CHECKBOX_CONFIG, CHIP_CONFIG, CHIP_CONTROL_CONFIG, CHIP_GROUP_CONFIG, CHIP_INPUT_CONFIG, CONFIRM_CONFIG, Calendar, CalendarAgendaView, CalendarEventItem, CalendarMonthView, CalendarTimeGrid, Checkbox, CheckboxFormControl, Chip, ChipControl, ChipGroup, ChipInput, Confirm, ConfirmPanel, ConfirmService, ContextMenuDirective, DATE_TIME_PICKER_CONFIG, DEFAULT_ALERT_CONFIG, DEFAULT_BADGE_CONFIG, DEFAULT_BUTTON_CONFIG, DEFAULT_CALENDAR_CONFIG, DEFAULT_CHECKBOX_CONFIG, DEFAULT_CHIP_CONFIG, DEFAULT_CHIP_CONTROL_CONFIG, DEFAULT_CHIP_GROUP_CONFIG, DEFAULT_CHIP_INPUT_CONFIG, DEFAULT_CONFIRM_CONFIG, DEFAULT_DATE_TIME_PICKER_CONFIG, DEFAULT_DIALOG_CONFIG, DEFAULT_DIVIDER_CONFIG, DEFAULT_DRAWER_CONFIG, DEFAULT_FILE_INPUT_CONFIG, DEFAULT_FORM_CONTROL_CONFIG, DEFAULT_FORM_CONTROL_GROUP_CONFIG, DEFAULT_FORM_ITEM_CONFIG, DEFAULT_ICONS, DEFAULT_ICON_CONFIG, DEFAULT_IMAGE_COMPARE_CONFIG, DEFAULT_INPUT_CONFIG, DEFAULT_INPUT_NUMBER_CONFIG, DEFAULT_LOADER_CONFIG, DEFAULT_MENU_CONFIG, DEFAULT_MULTI_SELECT_CONFIG, DEFAULT_ODOMETER_CONFIG, DEFAULT_PAGINATION_CONFIG, DEFAULT_PAGINATION_QUERY_SYNC_CONFIG, DEFAULT_PASSWORD_CONFIG, DEFAULT_PIN_INPUT_CONFIG, DEFAULT_POPOVER_CONFIG, DEFAULT_RADIO_BUTTON_CONFIG, DEFAULT_SELECT_CONFIG, DEFAULT_SKELETON_CONFIG, DEFAULT_SPLITTER_CONFIG, DEFAULT_STEPPER_CONFIG, DEFAULT_STEP_CONFIG, DEFAULT_SWITCH_CONFIG, DEFAULT_TABLE_CONFIG, DEFAULT_TABS_CONFIG, DEFAULT_TABS_QUERY_SYNC_CONFIG, DEFAULT_TEXTAREA_CONFIG, DEFAULT_TOAST_CONFIG, DEFAULT_TOGGLE_GROUP_CONFIG, DEFAULT_TOOLTIP_CONFIG, DIALOG_CONFIG, DIVIDER_CONFIG, DRAWER_CONFIG, DateTimePicker, Dialog, DialogService, Divider, Drawer, DrawerRef, DrawerService, FILE_INPUT_CONFIG, FORM_CONTROL_CONFIG, FORM_CONTROL_GROUP_CONFIG, FORM_ITEM_CONFIG, FileInput, FormControl, FormControlAddon, FormControlGroup, FormItem, ICON_CONFIG, ICON_REGISTRY, IMAGE_COMPARE_CONFIG, INPUT_CONFIG, INPUT_NUMBER_CONFIG, Icon, IconRegistry, IconService, ImageCompare, Input, InputDirective, InputNumber, LOADER_CONFIG, Loader, MENU_CONFIG, MULTI_SELECT_CONFIG, Menu, MenuItemComponent, MenuTriggerDirective, MultiSelect, ODOMETER_CONFIG, Odometer, PAGINATION_CONFIG, PAGINATION_QUERY_SYNC_CONFIG, PASSWORD_CONFIG, PIN_INPUT_CONFIG, POPOVER_CONFIG, Pagination, PaginationQuerySyncDirective, Password, PinInput, Popover, RADIO_BUTTON_CONFIG, RadioButton, SELECT_CONFIG, SKELETON_CONFIG, SPLITTER_CONFIG, STEPPER_CONFIG, SWITCH_CONFIG, Select, Skeleton, Splitter, SplitterPanel, Step, Stepper, Switch, TABLE_CONFIG, TABS_CONFIG, TABS_QUERY_SYNC_CONFIG, TEXTAREA_CONFIG, TOAST_CONFIG, TOGGLE_GROUP_CONFIG, TOOLTIP_CONFIG, Tab, Table, TableColumn, Tabs, TabsQuerySyncDirective, Textarea, Toast, ToastOutlet, ToastService, ToggleGroup, TooltipDirective, ValueFormControl, provideThalassicIcons, provideThalassicUIConfig };
|
|
2587
|
-
export type { AlertConfig, BadgeConfig, ButtonConfig, CalendarConfig, CalendarEvent, CalendarEventContext, CalendarRange, CheckboxConfig, ChipConfig, ChipContext, ChipControlConfig, ChipGroupConfig, ChipInputConfig, ConfirmConfig, ConfirmOptions, DateTimePickerConfig, DialogConfig, DialogOpenConfig, DividerConfig, DrawerConfig, DrawerOpenConfig, FileInputConfig, FileInputDropZoneContext, FileInputFileContext, FormControlConfig, FormControlGroupConfig, FormItemConfig, IconConfig, ImageCompareConfig, InputConfig, InputNumberConfig, LoaderConfig, MenuActionItem, MenuConfig, MenuCustomItem, MenuDivider, MenuItemDefinition, MenuLabel, MultiSelectConfig, OdometerConfig, OdometerToken, PaginationConfig, PaginationQuerySyncConfig, PasswordConfig, PinInputConfig, PopoverConfig, RadioButtonConfig, SelectConfig, SkeletonConfig, SplitterConfig, StepConfig, StepperConfig, StepperSelectEvent, SwitchConfig, TableColumnDefinition, TableConfig, TableData, TableTrackBy, TabsConfig, TabsQuerySyncConfig, TextareaConfig, ToastConfig, ToastOptions, ToastRef, ToastState, ToggleGroupConfig, TooltipConfig, acceptInput, alertColor, badgeColor, badgePosition, badgeVariant, buttonColor, buttonType, buttonVariant, calendarView, chipColor, chipTemplateContext, chipVariant, color, confirmActionsAlign, confirmButton, controlSize, dateTimePickerMode, dialogSize, dividerContentPosition, dividerOrientation, dividerVariant, drawerSide, drawerSize, errorTrigger, fileInputDragState, fileInputVariant, iconRegistry, iconRenderer, imageCompareOrientation, labelPosition, loaderSize, menuItemType, menuPosition, orientation, overlayPosition, paginationItem, pinInputType, resolvedConfirmButton, size, splitterOrientation, stepperColor, stepperOrientation, stepperValue, switchColor, systemIcon, tabValue, tableColumnAlignment, tabsHeaderPosition, tabsOrientation, tabsVariant, textareaResize, tlsUiConfigProvider, toastAction, toastColor, toastPosition, toastSeverity, toastStacking, toggleGroupVariant, tooltipColor, tooltipOrigin, tooltipPosition };
|
|
2840
|
+
export { ALERT_CONFIG, AUTOCOMPLETE_CONFIG, Alert, Autocomplete, BADGE_CONFIG, BREADCRUMBS_CONFIG, BUTTON_CONFIG, Badge, Breadcrumbs, Button, ButtonDirective, CALENDAR_CONFIG, CHECKBOX_CONFIG, CHIP_CONFIG, CHIP_CONTROL_CONFIG, CHIP_GROUP_CONFIG, CHIP_INPUT_CONFIG, CONFIRM_CONFIG, Calendar, CalendarAgendaView, CalendarEventItem, CalendarMonthView, CalendarTimeGrid, Checkbox, CheckboxFormControl, Chip, ChipControl, ChipGroup, ChipInput, Confirm, ConfirmPanel, ConfirmService, ContextMenuDirective, DATE_TIME_PICKER_CONFIG, DEFAULT_ALERT_CONFIG, DEFAULT_AUTOCOMPLETE_CONFIG, DEFAULT_BADGE_CONFIG, DEFAULT_BREADCRUMBS_CONFIG, DEFAULT_BUTTON_CONFIG, DEFAULT_CALENDAR_CONFIG, DEFAULT_CHECKBOX_CONFIG, DEFAULT_CHIP_CONFIG, DEFAULT_CHIP_CONTROL_CONFIG, DEFAULT_CHIP_GROUP_CONFIG, DEFAULT_CHIP_INPUT_CONFIG, DEFAULT_CONFIRM_CONFIG, DEFAULT_DATE_TIME_PICKER_CONFIG, DEFAULT_DIALOG_CONFIG, DEFAULT_DIVIDER_CONFIG, DEFAULT_DRAWER_CONFIG, DEFAULT_FILE_INPUT_CONFIG, DEFAULT_FORM_CONTROL_CONFIG, DEFAULT_FORM_CONTROL_GROUP_CONFIG, DEFAULT_FORM_ITEM_CONFIG, DEFAULT_ICONS, DEFAULT_ICON_CONFIG, DEFAULT_IMAGE_COMPARE_CONFIG, DEFAULT_INPUT_CONFIG, DEFAULT_INPUT_NUMBER_CONFIG, DEFAULT_KBD_CONFIG, DEFAULT_LOADER_CONFIG, DEFAULT_MENU_CONFIG, DEFAULT_MULTI_SELECT_CONFIG, DEFAULT_ODOMETER_CONFIG, DEFAULT_PAGINATION_CONFIG, DEFAULT_PAGINATION_QUERY_SYNC_CONFIG, DEFAULT_PASSWORD_CONFIG, DEFAULT_PIN_INPUT_CONFIG, DEFAULT_POPOVER_CONFIG, DEFAULT_RADIO_BUTTON_CONFIG, DEFAULT_SELECT_CONFIG, DEFAULT_SKELETON_CONFIG, DEFAULT_SPLITTER_CONFIG, DEFAULT_STEPPER_CONFIG, DEFAULT_STEP_CONFIG, DEFAULT_SWITCH_CONFIG, DEFAULT_TABLE_CONFIG, DEFAULT_TABS_CONFIG, DEFAULT_TABS_QUERY_SYNC_CONFIG, DEFAULT_TEXTAREA_CONFIG, DEFAULT_TOAST_CONFIG, DEFAULT_TOGGLE_BUTTON_CONFIG, DEFAULT_TOGGLE_GROUP_CONFIG, DEFAULT_TOOLTIP_CONFIG, DIALOG_CONFIG, DIVIDER_CONFIG, DRAWER_CONFIG, DateTimePicker, Dialog, DialogService, Divider, Drawer, DrawerRef, DrawerService, FILE_INPUT_CONFIG, FORM_CONTROL_CONFIG, FORM_CONTROL_GROUP_CONFIG, FORM_ITEM_CONFIG, FileInput, FormControl, FormControlAddon, FormControlGroup, FormItem, ICON_CONFIG, ICON_REGISTRY, IMAGE_COMPARE_CONFIG, INPUT_CONFIG, INPUT_NUMBER_CONFIG, Icon, IconRegistry, IconService, ImageCompare, Input, InputDirective, InputNumber, KBD_CONFIG, Kbd, LOADER_CONFIG, Loader, MASK_TOKENS, MENU_CONFIG, MULTI_SELECT_CONFIG, MaskDirective, Menu, MenuItemComponent, MenuTriggerDirective, MultiSelect, ODOMETER_CONFIG, Odometer, PAGINATION_CONFIG, PAGINATION_QUERY_SYNC_CONFIG, PASSWORD_CONFIG, PIN_INPUT_CONFIG, POPOVER_CONFIG, Pagination, PaginationQuerySyncDirective, Password, PinInput, Popover, RADIO_BUTTON_CONFIG, RadioButton, SELECT_CONFIG, SKELETON_CONFIG, SPLITTER_CONFIG, STEPPER_CONFIG, SWITCH_CONFIG, Select, Skeleton, Splitter, SplitterPanel, Step, Stepper, Switch, TABLE_CONFIG, TABS_CONFIG, TABS_QUERY_SYNC_CONFIG, TEXTAREA_CONFIG, TOAST_CONFIG, TOGGLE_BUTTON_CONFIG, TOGGLE_GROUP_CONFIG, TOOLTIP_CONFIG, Tab, Table, TableColumn, Tabs, TabsQuerySyncDirective, Textarea, Toast, ToastOutlet, ToastService, ToggleButton, ToggleGroup, TooltipDirective, ValueFormControl, applyMask, provideThalassicIcons, provideThalassicUIConfig };
|
|
2841
|
+
export type { AlertConfig, AutocompleteConfig, BadgeConfig, BreadcrumbItem, BreadcrumbsConfig, ButtonConfig, CalendarConfig, CalendarEvent, CalendarEventContext, CalendarRange, CheckboxConfig, ChipConfig, ChipContext, ChipControlConfig, ChipGroupConfig, ChipInputConfig, ConfirmConfig, ConfirmOptions, DateTimePickerConfig, DialogConfig, DialogOpenConfig, DividerConfig, DrawerConfig, DrawerOpenConfig, FileInputConfig, FileInputDropZoneContext, FileInputFileContext, FormControlConfig, FormControlGroupConfig, FormItemConfig, IconConfig, ImageCompareConfig, InputConfig, InputNumberConfig, KbdConfig, LoaderConfig, MaskResult, MenuActionItem, MenuConfig, MenuCustomItem, MenuDivider, MenuItemDefinition, MenuLabel, MultiSelectConfig, OdometerConfig, OdometerToken, PaginationConfig, PaginationQuerySyncConfig, PasswordConfig, PinInputConfig, PopoverConfig, RadioButtonConfig, SelectConfig, SkeletonConfig, SplitterConfig, StepConfig, StepperConfig, StepperSelectEvent, SwitchConfig, TableColumnDefinition, TableConfig, TableData, TableTrackBy, TabsConfig, TabsQuerySyncConfig, TextareaConfig, ToastConfig, ToastOptions, ToastRef, ToastState, ToggleButtonConfig, ToggleGroupConfig, TooltipConfig, acceptInput, alertColor, autocompleteFilterMode, badgeColor, badgePosition, badgeVariant, buttonColor, buttonType, buttonVariant, calendarView, chipColor, chipTemplateContext, chipVariant, color, confirmActionsAlign, confirmButton, controlSize, dateTimePickerMode, dialogSize, dividerContentPosition, dividerOrientation, dividerVariant, drawerSide, drawerSize, errorTrigger, fileInputDragState, fileInputVariant, iconRegistry, iconRenderer, imageCompareOrientation, labelPosition, loaderSize, menuItemType, menuPosition, orientation, overlayPosition, paginationItem, pinInputType, resolvedConfirmButton, size, splitterOrientation, stepperColor, stepperOrientation, stepperValue, switchColor, systemIcon, tabValue, tableColumnAlignment, tabsHeaderPosition, tabsOrientation, tabsVariant, textareaResize, tlsUiConfigProvider, toastAction, toastColor, toastPosition, toastSeverity, toastStacking, toggleButtonColor, toggleButtonVariant, toggleGroupVariant, tooltipColor, tooltipOrigin, tooltipPosition };
|