@thalassic/ui 0.18.0 → 22.0.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/package.json CHANGED
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@thalassic/ui",
3
- "version": "0.18.0",
3
+ "version": "22.0.0",
4
4
  "license": "MIT",
5
5
  "peerDependencies": {
6
- "@angular/cdk": "^21.0.0",
7
- "@angular/common": "^21.0.0",
8
- "@angular/core": "^21.0.0",
6
+ "@angular/cdk": "^22.0.0",
7
+ "@angular/common": "^22.0.0",
8
+ "@angular/core": "^22.0.0",
9
9
  "chart.js": "^4.0.0"
10
10
  },
11
11
  "peerDependenciesMeta": {
@@ -36,6 +36,7 @@
36
36
  "default": "./fesm2022/thalassic-ui-charts.mjs"
37
37
  }
38
38
  },
39
+ "type": "module",
39
40
  "dependencies": {
40
41
  "tslib": "^2.3.0"
41
42
  }
@@ -1,8 +1,7 @@
1
- import * as node_modules_chart_js_dist_types_utils from 'node_modules/chart.js/dist/types/utils';
2
- import * as i0 from '@angular/core';
3
- import { InputSignalWithTransform, OnDestroy, Signal, ElementRef, InjectionToken, EnvironmentProviders } from '@angular/core';
4
1
  import * as chart_js from 'chart.js';
5
2
  import { ChartType, ChartDatasetCustomTypesPerDataset, ChartDataset, ChartOptions } from 'chart.js';
3
+ import * as i0 from '@angular/core';
4
+ import { InputSignalWithTransform, OnDestroy, Signal, ElementRef, InputSignal, InjectionToken, EnvironmentProviders } from '@angular/core';
6
5
 
7
6
  declare abstract class ChartElement<T extends ChartType = ChartType> {
8
7
  abstract readonly type: T;
@@ -18,8 +17,8 @@ declare class Chart implements OnDestroy {
18
17
  protected canvasRef: Signal<ElementRef<HTMLCanvasElement> | undefined>;
19
18
  protected chartElements: Signal<readonly ChartElement<keyof chart_js.ChartTypeRegistry>[]>;
20
19
  private _chart;
21
- labels: i0.InputSignal<unknown[]>;
22
- options: i0.InputSignal<node_modules_chart_js_dist_types_utils._DeepPartialObject<chart_js.CoreChartOptions<keyof chart_js.ChartTypeRegistry> & chart_js.ElementChartOptions<keyof chart_js.ChartTypeRegistry> & chart_js.PluginChartOptions<keyof chart_js.ChartTypeRegistry> & chart_js.DatasetChartOptions<keyof chart_js.ChartTypeRegistry> & chart_js.ScaleChartOptions<keyof chart_js.ChartTypeRegistry>> | undefined>;
20
+ labels: InputSignal<unknown[]>;
21
+ options: InputSignal<ChartOptions | undefined>;
23
22
  private _options;
24
23
  private _datasets;
25
24
  protected hostClasses: Signal<string[]>;
@@ -1,6 +1,6 @@
1
1
  import * as i0 from '@angular/core';
2
2
  import { ModelSignal, InputSignal, WritableSignal, Signal, InputSignalWithTransform, TemplateRef, InjectionToken, ElementRef, OnInit, OutputEmitterRef, TrackByFunction, OnDestroy, EnvironmentProviders } from '@angular/core';
3
- import { FormUiControl, WithOptionalFieldTree, ValidationError, FormValueControl, FormCheckboxControl, FieldTree } from '@angular/forms/signals';
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';
6
6
  import { FlexibleConnectedPositionStrategyOrigin, ConnectedPosition } from '@angular/cdk/overlay';
@@ -12,7 +12,7 @@ import { SafeHtml } from '@angular/platform-browser';
12
12
  import { Router, ActivatedRoute } from '@angular/router';
13
13
  import { DataSource } from '@angular/cdk/table';
14
14
 
15
- declare abstract class FormControl implements FormUiControl {
15
+ declare abstract class FormControl<TValue = unknown> implements FormUiControl<TValue> {
16
16
  readonly touched: ModelSignal<boolean>;
17
17
  readonly name: InputSignal<string>;
18
18
  /**
@@ -67,17 +67,17 @@ declare abstract class FormControl implements FormUiControl {
67
67
  protected notInteractive: Signal<boolean>;
68
68
  protected controlClasses: Signal<string[]>;
69
69
  protected baseControlClasses(): string[];
70
- static ɵfac: i0.ɵɵFactoryDeclaration<FormControl, never>;
71
- static ɵdir: i0.ɵɵDirectiveDeclaration<FormControl, never, never, { "touched": { "alias": "touched"; "required": false; "isSignal": true; }; "name": { "alias": "name"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; "ariaLabelledby": { "alias": "ariaLabelledby"; "required": false; "isSignal": true; }; "ariaDescribedby": { "alias": "ariaDescribedby"; "required": false; "isSignal": true; }; "inputId": { "alias": "inputId"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "readonly": { "alias": "readonly"; "required": false; "isSignal": true; }; "hidden": { "alias": "hidden"; "required": false; "isSignal": true; }; "invalid": { "alias": "invalid"; "required": false; "isSignal": true; }; "pending": { "alias": "pending"; "required": false; "isSignal": true; }; "dirty": { "alias": "dirty"; "required": false; "isSignal": true; }; "errors": { "alias": "errors"; "required": false; "isSignal": true; }; "required": { "alias": "required"; "required": false; "isSignal": true; }; }, { "touched": "touchedChange"; }, never, never, true, never>;
70
+ static ɵfac: i0.ɵɵFactoryDeclaration<FormControl<any>, never>;
71
+ static ɵdir: i0.ɵɵDirectiveDeclaration<FormControl<any>, never, never, { "touched": { "alias": "touched"; "required": false; "isSignal": true; }; "name": { "alias": "name"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; "ariaLabelledby": { "alias": "ariaLabelledby"; "required": false; "isSignal": true; }; "ariaDescribedby": { "alias": "ariaDescribedby"; "required": false; "isSignal": true; }; "inputId": { "alias": "inputId"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "readonly": { "alias": "readonly"; "required": false; "isSignal": true; }; "hidden": { "alias": "hidden"; "required": false; "isSignal": true; }; "invalid": { "alias": "invalid"; "required": false; "isSignal": true; }; "pending": { "alias": "pending"; "required": false; "isSignal": true; }; "dirty": { "alias": "dirty"; "required": false; "isSignal": true; }; "errors": { "alias": "errors"; "required": false; "isSignal": true; }; "required": { "alias": "required"; "required": false; "isSignal": true; }; }, { "touched": "touchedChange"; }, never, never, true, never>;
72
72
  }
73
73
 
74
- declare abstract class ValueFormControl<T> extends FormControl implements FormValueControl<T> {
74
+ declare abstract class ValueFormControl<T> extends FormControl<T> implements FormValueControl<T> {
75
75
  abstract readonly value: ModelSignal<T>;
76
76
  static ɵfac: i0.ɵɵFactoryDeclaration<ValueFormControl<any>, never>;
77
77
  static ɵdir: i0.ɵɵDirectiveDeclaration<ValueFormControl<any>, never, never, {}, {}, never, never, true, never>;
78
78
  }
79
79
 
80
- declare abstract class CheckboxFormControl extends FormControl implements FormCheckboxControl {
80
+ declare abstract class CheckboxFormControl extends FormControl<boolean> implements FormCheckboxControl {
81
81
  abstract readonly checked: ModelSignal<boolean>;
82
82
  protected controlClasses: i0.Signal<string[]>;
83
83
  static ɵfac: i0.ɵɵFactoryDeclaration<CheckboxFormControl, never>;
@@ -389,6 +389,149 @@ declare const DEFAULT_CHIP_CONTROL_CONFIG: ChipControlConfig;
389
389
 
390
390
  declare const CHIP_CONTROL_CONFIG: InjectionToken<ChipControlConfig>;
391
391
 
392
+ /**
393
+ * Appearance of one of the confirm dialog's action buttons. Mirrors the
394
+ * `tls-button` inputs; every field but `label` is optional and falls back to
395
+ * the confirm config default, then to the button's own default. The action is
396
+ * fixed (resolve or reject the confirmation), so no click handler is exposed —
397
+ * only presentation is configurable.
398
+ */
399
+ type confirmButton = {
400
+ label: string;
401
+ color?: buttonColor;
402
+ variant?: buttonVariant;
403
+ size?: controlSize;
404
+ icon?: boolean;
405
+ rounded?: boolean;
406
+ fluid?: boolean;
407
+ disabled?: boolean;
408
+ };
409
+ /** A {@link confirmButton} with every appearance field resolved to a concrete value. */
410
+ type resolvedConfirmButton = Required<confirmButton>;
411
+ /**
412
+ * Horizontal alignment of the cancel / confirm action buttons within the dialog,
413
+ * mapped onto `justify-content` (direction-aware: `start`/`end` follow the
414
+ * layout direction).
415
+ */
416
+ type confirmActionsAlign = 'start' | 'center' | 'end' | 'space-between';
417
+
418
+ /**
419
+ * Declarative confirm dialog anchored to a trigger. Sits in the template
420
+ * alongside its trigger and is driven imperatively via {@link open} /
421
+ * {@link toggle}; resolves through the `confirmed` / `cancelled` outputs.
422
+ * Dismissing via backdrop or Escape counts as `cancelled`. For promise-based
423
+ * flows in TypeScript, use `ConfirmService` instead.
424
+ */
425
+ declare class Confirm {
426
+ private readonly _config;
427
+ private readonly _overlay;
428
+ private readonly _templateRef;
429
+ readonly title: i0.InputSignal<string | undefined>;
430
+ readonly message: i0.InputSignal<string>;
431
+ readonly confirm: i0.InputSignal<confirmButton | undefined>;
432
+ readonly cancel: i0.InputSignal<confirmButton | undefined>;
433
+ readonly actionsAlign: i0.InputSignal<confirmActionsAlign>;
434
+ readonly ariaLabel: i0.InputSignal<string | undefined>;
435
+ readonly position: i0.InputSignal<overlayPosition>;
436
+ readonly offset: i0.InputSignal<Point>;
437
+ readonly confirmed: i0.OutputEmitterRef<void>;
438
+ readonly cancelled: i0.OutputEmitterRef<void>;
439
+ readonly isOpen: i0.Signal<boolean>;
440
+ private _resolved;
441
+ private _previouslyFocused;
442
+ private readonly _positions;
443
+ open(trigger: MouseEvent | HTMLElement): void;
444
+ close(): void;
445
+ toggle(trigger: MouseEvent | HTMLElement): void;
446
+ protected onConfirm(): void;
447
+ protected onCancel(): void;
448
+ private _onClose;
449
+ static ɵfac: i0.ɵɵFactoryDeclaration<Confirm, never>;
450
+ static ɵcmp: i0.ɵɵComponentDeclaration<Confirm, "tls-confirm", never, { "title": { "alias": "title"; "required": false; "isSignal": true; }; "message": { "alias": "message"; "required": true; "isSignal": true; }; "confirm": { "alias": "confirm"; "required": false; "isSignal": true; }; "cancel": { "alias": "cancel"; "required": false; "isSignal": true; }; "actionsAlign": { "alias": "actionsAlign"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; "position": { "alias": "position"; "required": false; "isSignal": true; }; "offset": { "alias": "offset"; "required": false; "isSignal": true; }; }, { "confirmed": "confirmed"; "cancelled": "cancelled"; }, never, never, true, never>;
451
+ }
452
+
453
+ /**
454
+ * Presentational contents of a confirm dialog: an optional title, a message,
455
+ * and cancel / confirm action buttons. Shared by the declarative `tls-confirm`
456
+ * component and the imperative `ConfirmService`; it renders the UI and emits
457
+ * `confirmed` / `cancelled`, but owns no overlay lifecycle.
458
+ */
459
+ declare class ConfirmPanel {
460
+ private static _counter;
461
+ private readonly _elementRef;
462
+ private readonly _config;
463
+ private readonly _buttonConfig;
464
+ readonly title: i0.InputSignal<string | undefined>;
465
+ readonly message: i0.InputSignal<string>;
466
+ readonly confirm: i0.InputSignal<confirmButton | undefined>;
467
+ readonly cancel: i0.InputSignal<confirmButton | undefined>;
468
+ readonly ariaLabel: i0.InputSignal<string | undefined>;
469
+ /** Whether the panel is a focus-trapped modal (`aria-modal="true"`) rather than an anchored popover. */
470
+ readonly modal: i0.InputSignal<boolean>;
471
+ readonly actionsAlign: i0.InputSignal<confirmActionsAlign>;
472
+ readonly confirmed: i0.OutputEmitterRef<void>;
473
+ readonly cancelled: i0.OutputEmitterRef<void>;
474
+ readonly id: string;
475
+ readonly titleId: string;
476
+ readonly messageId: string;
477
+ protected readonly resolvedConfirm: i0.Signal<Required<confirmButton>>;
478
+ protected readonly resolvedCancel: i0.Signal<Required<confirmButton>>;
479
+ protected readonly actionsClasses: i0.Signal<string[]>;
480
+ constructor();
481
+ private _resolve;
482
+ private _focusConfirm;
483
+ static ɵfac: i0.ɵɵFactoryDeclaration<ConfirmPanel, never>;
484
+ static ɵcmp: i0.ɵɵComponentDeclaration<ConfirmPanel, "tls-confirm-panel", never, { "title": { "alias": "title"; "required": false; "isSignal": true; }; "message": { "alias": "message"; "required": true; "isSignal": true; }; "confirm": { "alias": "confirm"; "required": false; "isSignal": true; }; "cancel": { "alias": "cancel"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; "modal": { "alias": "modal"; "required": false; "isSignal": true; }; "actionsAlign": { "alias": "actionsAlign"; "required": false; "isSignal": true; }; }, { "confirmed": "confirmed"; "cancelled": "cancelled"; }, never, never, true, never>;
485
+ }
486
+
487
+ interface ConfirmOptions {
488
+ /**
489
+ * Element (or the originating event) the dialog is anchored to. Present opens
490
+ * an anchored popover next to the trigger; omitting it opens a centered,
491
+ * focus-trapped modal instead.
492
+ */
493
+ trigger?: HTMLElement | MouseEvent;
494
+ message: string;
495
+ title?: string;
496
+ confirm?: confirmButton;
497
+ cancel?: confirmButton;
498
+ actionsAlign?: confirmActionsAlign;
499
+ position?: overlayPosition;
500
+ offset?: Point;
501
+ ariaLabel?: string;
502
+ }
503
+ /**
504
+ * Imperative confirm dialog for `await`-style flows: opens a dialog and resolves
505
+ * `true` on confirm, `false` on cancel / backdrop / Escape. Anchors to the
506
+ * `trigger` when given, otherwise opens as a centered modal. For a template-driven
507
+ * anchored equivalent, use the `tls-confirm` component.
508
+ */
509
+ declare class ConfirmService {
510
+ private readonly _overlay;
511
+ private readonly _focusTrapFactory;
512
+ private readonly _router;
513
+ private readonly _config;
514
+ confirm(options: ConfirmOptions): Promise<boolean>;
515
+ private _createAnchoredOverlay;
516
+ private _createModalOverlay;
517
+ private _applyOptions;
518
+ private _wire;
519
+ private _dismiss;
520
+ static ɵfac: i0.ɵɵFactoryDeclaration<ConfirmService, never>;
521
+ static ɵprov: i0.ɵɵInjectableDeclaration<ConfirmService>;
522
+ }
523
+
524
+ interface ConfirmConfig {
525
+ position: overlayPosition;
526
+ offset: Point;
527
+ confirmButton: confirmButton;
528
+ cancelButton: confirmButton;
529
+ actionsAlign: confirmActionsAlign;
530
+ }
531
+ declare const DEFAULT_CONFIRM_CONFIG: ConfirmConfig;
532
+
533
+ declare const CONFIRM_CONFIG: InjectionToken<ConfirmConfig>;
534
+
392
535
  type dialogSize = 'sm' | 'md' | 'lg' | 'xl' | 'wide' | 'full';
393
536
 
394
537
  interface DialogConfig {
@@ -549,7 +692,7 @@ declare const DEFAULT_FORM_CONTROL_GROUP_CONFIG: FormControlGroupConfig;
549
692
 
550
693
  declare const FORM_CONTROL_GROUP_CONFIG: InjectionToken<FormControlGroupConfig>;
551
694
 
552
- type ErrorMessageFn = (fieldTree?: FieldTree<unknown>) => string;
695
+ type ErrorMessageFn = (fieldTree?: ReadonlyFieldTree<unknown>) => string;
553
696
  type ErrorMessageMap = Record<string, ErrorMessageFn>;
554
697
 
555
698
  interface FormItemConfig {
@@ -1013,11 +1156,13 @@ interface TextareaConfig {
1013
1156
  fluid: boolean;
1014
1157
  rows: number;
1015
1158
  resize: textareaResize;
1159
+ autosize: boolean;
1160
+ maxRows: number;
1016
1161
  }
1017
1162
  declare const DEFAULT_TEXTAREA_CONFIG: TextareaConfig;
1018
1163
 
1019
1164
  declare class Textarea extends ValueFormControl<string> {
1020
- private _config;
1165
+ private readonly _config;
1021
1166
  readonly supportsLabelFor = true;
1022
1167
  readonly value: ModelSignal<string>;
1023
1168
  readonly placeholder: InputSignal<string>;
@@ -1025,10 +1170,13 @@ declare class Textarea extends ValueFormControl<string> {
1025
1170
  readonly fluid: InputSignalWithTransform<boolean, unknown>;
1026
1171
  readonly rows: InputSignalWithTransform<number, unknown>;
1027
1172
  readonly resize: InputSignal<textareaResize>;
1173
+ readonly autosize: InputSignalWithTransform<boolean, unknown>;
1174
+ readonly maxRows: InputSignalWithTransform<number, unknown>;
1028
1175
  protected readonly classes: Signal<string[]>;
1176
+ protected readonly effectiveResize: Signal<textareaResize>;
1029
1177
  protected onInput(event: Event): void;
1030
1178
  static ɵfac: i0.ɵɵFactoryDeclaration<Textarea, never>;
1031
- static ɵcmp: i0.ɵɵComponentDeclaration<Textarea, "tls-textarea", 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; }; "rows": { "alias": "rows"; "required": false; "isSignal": true; }; "resize": { "alias": "resize"; "required": false; "isSignal": true; }; }, { "value": "valueChange"; }, never, never, true, never>;
1179
+ static ɵcmp: i0.ɵɵComponentDeclaration<Textarea, "tls-textarea", 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; }; "rows": { "alias": "rows"; "required": false; "isSignal": true; }; "resize": { "alias": "resize"; "required": false; "isSignal": true; }; "autosize": { "alias": "autosize"; "required": false; "isSignal": true; }; "maxRows": { "alias": "maxRows"; "required": false; "isSignal": true; }; }, { "value": "valueChange"; }, never, never, true, never>;
1032
1180
  }
1033
1181
 
1034
1182
  declare const TEXTAREA_CONFIG: InjectionToken<TextareaConfig>;
@@ -1211,6 +1359,73 @@ declare class ContextMenuDirective {
1211
1359
  static ɵdir: i0.ɵɵDirectiveDeclaration<ContextMenuDirective, "[tlsContextMenu]", never, { "menu": { "alias": "tlsContextMenu"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
1212
1360
  }
1213
1361
 
1362
+ /**
1363
+ * One rendered slot of an odometer: either a rolling digit column or a static
1364
+ * symbol (sign, decimal separator).
1365
+ */
1366
+ interface OdometerToken {
1367
+ /**
1368
+ * Stable identity tied to the slot's place value, so a column keeps its
1369
+ * element (and its roll animation) as the number grows or shrinks.
1370
+ */
1371
+ key: string;
1372
+ /** Digit `0-9` for a rolling column, or `null` when the slot is a symbol. */
1373
+ digit: number | null;
1374
+ /** Literal character for a static symbol, or `null` when the slot is a digit. */
1375
+ symbol: string | null;
1376
+ }
1377
+
1378
+ /**
1379
+ * Animated number whose digits roll to the new value, like a mechanical
1380
+ * odometer. Each digit column rolls through the values between the old and the
1381
+ * new one by the shortest path, so counting up or down reads naturally.
1382
+ *
1383
+ * The value scales with the surrounding `font-size`. The roll is a functional
1384
+ * cue on the `essential` motion tier, so it is replaced by an instant swap when
1385
+ * the user has reduced motion.
1386
+ *
1387
+ * @example
1388
+ * <!-- a live score -->
1389
+ * <tls-odometer [value]="score()" />
1390
+ *
1391
+ * @example
1392
+ * <!-- fixed-width counter with two decimals -->
1393
+ * <tls-odometer [value]="balance()" [minIntegerDigits]="4" [fractionDigits]="2" />
1394
+ */
1395
+ declare class Odometer {
1396
+ private readonly _config;
1397
+ /** The number to display. Changes roll the affected digit columns. */
1398
+ readonly value: InputSignal<number>;
1399
+ /** Duration of a single-digit roll, in milliseconds. */
1400
+ readonly duration: InputSignal<number>;
1401
+ /** Minimum number of integer digits, left-padded with zeros (`007`). */
1402
+ readonly minIntegerDigits: InputSignal<number>;
1403
+ /** Number of fraction digits to display. `0` hides the decimal part. */
1404
+ readonly fractionDigits: InputSignal<number>;
1405
+ /** Character rendered between the integer and fraction parts. */
1406
+ readonly decimalSeparator: InputSignal<string>;
1407
+ /** Overrides the text announced to screen readers (defaults to the formatted value). */
1408
+ readonly ariaLabel: InputSignal<string | undefined>;
1409
+ protected readonly tokens: Signal<OdometerToken[]>;
1410
+ protected readonly formattedValue: Signal<string>;
1411
+ static ɵfac: i0.ɵɵFactoryDeclaration<Odometer, never>;
1412
+ static ɵcmp: i0.ɵɵComponentDeclaration<Odometer, "tls-odometer", never, { "value": { "alias": "value"; "required": true; "isSignal": true; }; "duration": { "alias": "duration"; "required": false; "isSignal": true; }; "minIntegerDigits": { "alias": "minIntegerDigits"; "required": false; "isSignal": true; }; "fractionDigits": { "alias": "fractionDigits"; "required": false; "isSignal": true; }; "decimalSeparator": { "alias": "decimalSeparator"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
1413
+ }
1414
+
1415
+ interface OdometerConfig {
1416
+ /** Duration of a single digit roll, in milliseconds. */
1417
+ duration: number;
1418
+ /** Minimum number of integer digits, left-padded with zeros (`007`). */
1419
+ minIntegerDigits: number;
1420
+ /** Number of fraction digits to display. `0` hides the decimal part. */
1421
+ fractionDigits: number;
1422
+ /** Character rendered between the integer and fraction parts. */
1423
+ decimalSeparator: string;
1424
+ }
1425
+ declare const DEFAULT_ODOMETER_CONFIG: OdometerConfig;
1426
+
1427
+ declare const ODOMETER_CONFIG: InjectionToken<OdometerConfig>;
1428
+
1214
1429
  type paginationItem = number | 'gap';
1215
1430
 
1216
1431
  declare class Pagination {
@@ -1641,5 +1856,5 @@ declare abstract class QuerySyncDirective {
1641
1856
 
1642
1857
  declare const provideThalassicUIConfig: (config: tlsUiConfigProvider) => EnvironmentProviders;
1643
1858
 
1644
- export { ALERT_CONFIG, Alert, BUTTON_CONFIG, Button, ButtonDirective, CHECKBOX_CONFIG, CHIP_CONFIG, CHIP_CONTROL_CONFIG, CHIP_GROUP_CONFIG, CHIP_INPUT_CONFIG, Checkbox, CheckboxFormControl, Chip, ChipControl, ChipGroup, ChipInput, ContextMenuDirective, DATE_TIME_PICKER_CONFIG, DEFAULT_ALERT_CONFIG, DEFAULT_BUTTON_CONFIG, DEFAULT_CHECKBOX_CONFIG, DEFAULT_CHIP_CONFIG, DEFAULT_CHIP_CONTROL_CONFIG, DEFAULT_CHIP_GROUP_CONFIG, DEFAULT_CHIP_INPUT_CONFIG, DEFAULT_DATE_TIME_PICKER_CONFIG, DEFAULT_DIALOG_CONFIG, DEFAULT_DIVIDER_CONFIG, DEFAULT_DRAWER_CONFIG, DEFAULT_FILE_UPLOADER_CONFIG, DEFAULT_FORM_CONTROL_GROUP_CONFIG, DEFAULT_FORM_ITEM_CONFIG, DEFAULT_ICON_CONFIG, DEFAULT_INPUT_CONFIG, DEFAULT_INPUT_NUMBER_CONFIG, DEFAULT_LOADER_CONFIG, DEFAULT_MENU_CONFIG, DEFAULT_MULTI_SELECT_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_STEPPER_CONFIG, DEFAULT_STEP_CONFIG, DEFAULT_SWITCH_CONFIG, DEFAULT_TABLE_CONFIG, DEFAULT_TABS_CONFIG, DEFAULT_TABS_QUERY_SYNC_CONFIG, DEFAULT_TEXTAREA_CONFIG, DEFAULT_TOGGLE_GROUP_CONFIG, DEFAULT_TOOLTIP_CONFIG, DIALOG_CONFIG, DIVIDER_CONFIG, DRAWER_CONFIG, DateTimePicker, Dialog, DialogService, Divider, Drawer, DrawerRef, DrawerService, FILE_UPLOADER_CONFIG, FORM_CONTROL_GROUP_CONFIG, FORM_ITEM_CONFIG, FileUploader, FormControl, FormControlAddon, FormControlGroup, FormItem, ICON_CONFIG, INPUT_CONFIG, INPUT_NUMBER_CONFIG, Icon, Input, InputDirective, InputNumber, LOADER_CONFIG, Loader, MENU_CONFIG, MULTI_SELECT_CONFIG, Menu, MenuItemComponent, MenuTriggerDirective, MultiSelect, 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, STEPPER_CONFIG, SWITCH_CONFIG, Select, Skeleton, Step, Stepper, Switch, TABLE_CONFIG, TABS_CONFIG, TABS_QUERY_SYNC_CONFIG, TEXTAREA_CONFIG, TOGGLE_GROUP_CONFIG, TOOLTIP_CONFIG, Tab, Table, TableColumn, Tabs, TabsQuerySyncDirective, Textarea, ToggleGroup, TooltipDirective, ValueFormControl, provideThalassicUIConfig };
1645
- export type { AlertConfig, ButtonConfig, CheckboxConfig, ChipConfig, ChipContext, ChipControlConfig, ChipGroupConfig, ChipInputConfig, DateTimePickerConfig, DialogConfig, DialogOpenConfig, DividerConfig, DrawerConfig, DrawerOpenConfig, FileUploaderConfig, FileUploaderDropZoneContext, FileUploaderFileContext, FormControlGroupConfig, FormItemConfig, IconConfig, InputConfig, InputNumberConfig, LoaderConfig, MenuActionItem, MenuConfig, MenuCustomItem, MenuDivider, MenuItemDefinition, MenuLabel, MultiSelectConfig, PaginationConfig, PaginationQuerySyncConfig, PasswordConfig, PinInputConfig, PopoverConfig, RadioButtonConfig, SelectConfig, SkeletonConfig, StepConfig, StepperConfig, StepperSelectEvent, SwitchConfig, TableColumnDefinition, TableConfig, TableData, TableTrackBy, TabsConfig, TabsQuerySyncConfig, TextareaConfig, ToggleGroupConfig, TooltipConfig, acceptInput, chipColor, chipTemplateContext, chipVariant, color, controlSize, dateTimePickerMode, dialogSize, dividerContentPosition, dividerOrientation, dividerVariant, drawerSide, drawerSize, fileUploaderDragState, menuItemType, menuPosition, orientation, overlayPosition, paginationItem, pinInputType, size, stepperColor, stepperOrientation, stepperValue, tableColumnAlignment, textareaResize, tlsUiConfigProvider, tooltipColor, tooltipOrigin, tooltipPosition };
1859
+ export { ALERT_CONFIG, Alert, BUTTON_CONFIG, Button, ButtonDirective, CHECKBOX_CONFIG, CHIP_CONFIG, CHIP_CONTROL_CONFIG, CHIP_GROUP_CONFIG, CHIP_INPUT_CONFIG, CONFIRM_CONFIG, Checkbox, CheckboxFormControl, Chip, ChipControl, ChipGroup, ChipInput, Confirm, ConfirmPanel, ConfirmService, ContextMenuDirective, DATE_TIME_PICKER_CONFIG, DEFAULT_ALERT_CONFIG, DEFAULT_BUTTON_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_UPLOADER_CONFIG, DEFAULT_FORM_CONTROL_GROUP_CONFIG, DEFAULT_FORM_ITEM_CONFIG, DEFAULT_ICON_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_STEPPER_CONFIG, DEFAULT_STEP_CONFIG, DEFAULT_SWITCH_CONFIG, DEFAULT_TABLE_CONFIG, DEFAULT_TABS_CONFIG, DEFAULT_TABS_QUERY_SYNC_CONFIG, DEFAULT_TEXTAREA_CONFIG, DEFAULT_TOGGLE_GROUP_CONFIG, DEFAULT_TOOLTIP_CONFIG, DIALOG_CONFIG, DIVIDER_CONFIG, DRAWER_CONFIG, DateTimePicker, Dialog, DialogService, Divider, Drawer, DrawerRef, DrawerService, FILE_UPLOADER_CONFIG, FORM_CONTROL_GROUP_CONFIG, FORM_ITEM_CONFIG, FileUploader, FormControl, FormControlAddon, FormControlGroup, FormItem, ICON_CONFIG, INPUT_CONFIG, INPUT_NUMBER_CONFIG, Icon, 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, STEPPER_CONFIG, SWITCH_CONFIG, Select, Skeleton, Step, Stepper, Switch, TABLE_CONFIG, TABS_CONFIG, TABS_QUERY_SYNC_CONFIG, TEXTAREA_CONFIG, TOGGLE_GROUP_CONFIG, TOOLTIP_CONFIG, Tab, Table, TableColumn, Tabs, TabsQuerySyncDirective, Textarea, ToggleGroup, TooltipDirective, ValueFormControl, provideThalassicUIConfig };
1860
+ export type { AlertConfig, ButtonConfig, CheckboxConfig, ChipConfig, ChipContext, ChipControlConfig, ChipGroupConfig, ChipInputConfig, ConfirmConfig, ConfirmOptions, DateTimePickerConfig, DialogConfig, DialogOpenConfig, DividerConfig, DrawerConfig, DrawerOpenConfig, FileUploaderConfig, FileUploaderDropZoneContext, FileUploaderFileContext, FormControlGroupConfig, FormItemConfig, IconConfig, InputConfig, InputNumberConfig, LoaderConfig, MenuActionItem, MenuConfig, MenuCustomItem, MenuDivider, MenuItemDefinition, MenuLabel, MultiSelectConfig, OdometerConfig, PaginationConfig, PaginationQuerySyncConfig, PasswordConfig, PinInputConfig, PopoverConfig, RadioButtonConfig, SelectConfig, SkeletonConfig, StepConfig, StepperConfig, StepperSelectEvent, SwitchConfig, TableColumnDefinition, TableConfig, TableData, TableTrackBy, TabsConfig, TabsQuerySyncConfig, TextareaConfig, ToggleGroupConfig, TooltipConfig, acceptInput, chipColor, chipTemplateContext, chipVariant, color, confirmActionsAlign, confirmButton, controlSize, dateTimePickerMode, dialogSize, dividerContentPosition, dividerOrientation, dividerVariant, drawerSide, drawerSize, fileUploaderDragState, menuItemType, menuPosition, orientation, overlayPosition, paginationItem, pinInputType, resolvedConfirmButton, size, stepperColor, stepperOrientation, stepperValue, tableColumnAlignment, textareaResize, tlsUiConfigProvider, tooltipColor, tooltipOrigin, tooltipPosition };