@thalassic/ui 0.7.0 → 0.8.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,6 +1,6 @@
1
1
  {
2
2
  "name": "@thalassic/ui",
3
- "version": "0.7.0",
3
+ "version": "0.8.0",
4
4
  "license": "MIT",
5
5
  "peerDependencies": {
6
6
  "@angular/common": "^21.0.0",
@@ -1,13 +1,17 @@
1
1
  import * as i0 from '@angular/core';
2
- import { InputSignal, InputSignalWithTransform, InjectionToken, OnInit, OnDestroy, Signal, ElementRef, ModelSignal, TemplateRef, OutputEmitterRef, EnvironmentProviders } from '@angular/core';
2
+ import { InputSignal, InputSignalWithTransform, InjectionToken, OnInit, OnDestroy, Signal, ElementRef, ModelSignal, WritableSignal, TemplateRef, OutputEmitterRef, TrackByFunction, EnvironmentProviders } from '@angular/core';
3
3
  import * as _thalassic_ui from '@thalassic/ui';
4
4
  import * as node_modules_chart_js_dist_types_utils from 'node_modules/chart.js/dist/types/utils';
5
5
  import * as chart_js from 'chart.js';
6
6
  import { ChartType, ChartDatasetCustomTypesPerDataset, ChartDataset, ChartOptions } from 'chart.js';
7
+ import { CdkDialogContainer, DialogRole, DialogRef } from '@angular/cdk/dialog';
8
+ import { ComponentType } from '@angular/cdk/portal';
7
9
  import { FieldTree, FormUiControl, WithOptionalFieldTree, ValidationError, FormCheckboxControl, FormValueControl } from '@angular/forms/signals';
10
+ import { Day } from 'date-fns';
8
11
  import { SafeHtml } from '@angular/platform-browser';
9
- import { ConnectedPosition } from '@angular/cdk/overlay';
10
12
  import { Point } from '@thalassic/core';
13
+ import { DataSource } from '@angular/cdk/table';
14
+ import { ConnectedPosition } from '@angular/cdk/overlay';
11
15
 
12
16
  type color = 'primary' | 'secondary' | 'tertiary' | 'success' | 'info' | 'warning' | 'danger';
13
17
 
@@ -15,27 +19,34 @@ type controlSize = 'sm' | 'md' | 'lg';
15
19
 
16
20
  type orientation = 'horizontal' | 'vertical';
17
21
 
22
+ type overlayPosition = 'top' | 'top-start' | 'top-end' | 'right' | 'right-start' | 'right-end' | 'bottom' | 'bottom-start' | 'bottom-end' | 'left' | 'left-start' | 'left-end' | 'top-left' | 'top-right' | 'bottom-left' | 'bottom-right';
23
+
18
24
  type size = 'xs' | 'sm' | 'md' | 'lg' | 'xl';
19
25
 
20
26
  interface tlsUiConfigProvider {
21
27
  components: {
22
28
  alert?: Partial<AlertConfig>;
23
29
  button?: Partial<ButtonConfig>;
30
+ dateTimePicker?: Partial<DateTimePickerConfig>;
31
+ dialog?: Partial<DialogConfig>;
24
32
  divider?: Partial<DividerConfig>;
25
33
  input?: Partial<InputConfig>;
26
34
  password?: Partial<PasswordConfig>;
35
+ select?: Partial<SelectConfig>;
27
36
  switch?: Partial<SwitchConfig>;
28
37
  formItem?: Partial<FormItemConfig>;
29
38
  icon?: Partial<IconConfig>;
39
+ pagination?: Partial<PaginationConfig>;
40
+ popover?: Partial<PopoverConfig>;
30
41
  skeleton?: Partial<SkeletonConfig>;
31
42
  stepper?: Partial<StepperConfig>;
43
+ table?: Partial<TableConfig>;
32
44
  tabs?: Partial<TabsConfig>;
33
45
  tooltip?: Partial<TooltipConfig>;
34
46
  };
35
47
  }
36
48
 
37
49
  type buttonType = 'submit' | 'reset' | 'button';
38
- type buttonSize = controlSize;
39
50
  type buttonVariant = 'filled' | 'outlined' | 'text' | 'elevated';
40
51
  type buttonColor = color;
41
52
 
@@ -69,7 +80,7 @@ declare abstract class ButtonBase {
69
80
  readonly icon: InputSignalWithTransform<boolean, unknown>;
70
81
  readonly color: InputSignal<buttonColor>;
71
82
  readonly variant: InputSignal<buttonVariant>;
72
- readonly size: InputSignal<buttonSize>;
83
+ readonly size: InputSignal<controlSize>;
73
84
  readonly rounded: InputSignalWithTransform<boolean, unknown>;
74
85
  /** Whether the button stretches to fill its container's width. */
75
86
  readonly fluid: InputSignalWithTransform<boolean, unknown>;
@@ -100,7 +111,7 @@ declare class ButtonDirective extends ButtonBase {
100
111
  interface ButtonConfig {
101
112
  color: buttonColor;
102
113
  variant: buttonVariant;
103
- size: buttonSize;
114
+ size: controlSize;
104
115
  type: buttonType;
105
116
  fluid: boolean;
106
117
  }
@@ -200,6 +211,46 @@ declare class ScatterChart extends ChartElement<'scatter'> {
200
211
  static ɵcmp: i0.ɵɵComponentDeclaration<ScatterChart, "tls-scatter-chart", never, {}, {}, never, never, true, never>;
201
212
  }
202
213
 
214
+ type dialogSize = 'sm' | 'md' | 'lg' | 'xl' | 'wide' | 'full';
215
+
216
+ interface DialogConfig {
217
+ size: dialogSize;
218
+ closeable: boolean;
219
+ backdropClose: boolean;
220
+ }
221
+ declare const DEFAULT_DIALOG_CONFIG: DialogConfig;
222
+
223
+ declare class Dialog extends CdkDialogContainer {
224
+ private readonly _tlsConfig;
225
+ private readonly _dialogRef;
226
+ protected readonly hostClasses: string[];
227
+ protected get config(): DialogConfig;
228
+ protected close(): void;
229
+ static ɵfac: i0.ɵɵFactoryDeclaration<Dialog, never>;
230
+ static ɵcmp: i0.ɵɵComponentDeclaration<Dialog, "tls-dialog", never, {}, {}, never, never, true, never>;
231
+ }
232
+
233
+ interface DialogOpenConfig<D = unknown> {
234
+ data?: D | null;
235
+ size?: dialogSize;
236
+ closeable?: boolean;
237
+ backdropClose?: boolean;
238
+ role?: DialogRole;
239
+ ariaLabel?: string | null;
240
+ ariaLabelledBy?: string | null;
241
+ ariaDescribedBy?: string | null;
242
+ }
243
+ declare class DialogService {
244
+ private readonly _dialog;
245
+ private readonly _config;
246
+ open<R = unknown, D = unknown, C = unknown>(component: ComponentType<C>, config?: DialogOpenConfig<D>): DialogRef<R, C>;
247
+ closeAll(): void;
248
+ static ɵfac: i0.ɵɵFactoryDeclaration<DialogService, never>;
249
+ static ɵprov: i0.ɵɵInjectableDeclaration<DialogService>;
250
+ }
251
+
252
+ declare const DIALOG_CONFIG: InjectionToken<DialogConfig>;
253
+
203
254
  type dividerOrientation = orientation;
204
255
  type dividerContentPosition = 'start' | 'center' | 'end';
205
256
  type dividerVariant = 'dashed' | 'dotted' | 'solid';
@@ -305,7 +356,47 @@ declare class Checkbox extends CheckboxFormControl {
305
356
  static ɵcmp: i0.ɵɵComponentDeclaration<Checkbox, "tls-checkbox", never, { "indeterminate": { "alias": "indeterminate"; "required": false; "isSignal": true; }; "checked": { "alias": "checked"; "required": false; "isSignal": true; }; "inputId": { "alias": "inputId"; "required": false; "isSignal": true; }; "tabindex": { "alias": "tabindex"; "required": false; "isSignal": true; }; }, { "indeterminate": "indeterminateChange"; "checked": "checkedChange"; }, never, never, true, never>;
306
357
  }
307
358
 
308
- type inputSize = controlSize;
359
+ type dateTimePickerMode = 'calendar' | 'month-picker' | 'year-picker' | 'time-picker' | 'date-time';
360
+
361
+ type ActiveView = 'calendar' | 'month-picker' | 'year-picker' | 'time-picker' | 'date-time';
362
+ declare class DateTimePicker extends ValueFormControl<Date | null> {
363
+ private readonly config;
364
+ private readonly popoverComponent;
365
+ readonly value: ModelSignal<Date | null>;
366
+ readonly mode: InputSignal<dateTimePickerMode>;
367
+ readonly inline: InputSignalWithTransform<boolean, unknown>;
368
+ readonly placeholder: InputSignal<string>;
369
+ readonly size: InputSignal<controlSize>;
370
+ readonly fluid: InputSignalWithTransform<boolean, unknown>;
371
+ readonly yearsPerPage: InputSignal<number>;
372
+ readonly weekStartsOn: InputSignal<Day>;
373
+ readonly weekDays: InputSignal<string[]>;
374
+ protected readonly viewDate: WritableSignal<Date>;
375
+ protected readonly activeView: WritableSignal<ActiveView>;
376
+ protected readonly hostClasses: Signal<string[]>;
377
+ protected readonly triggerLabel: Signal<string>;
378
+ constructor();
379
+ protected onViewDateChange(date: Date): void;
380
+ protected onDaySelect(date: Date): void;
381
+ protected onMonthSelect(date: Date): void;
382
+ protected onYearSelect(date: Date): void;
383
+ protected onTimeChange(date: Date): void;
384
+ static ɵfac: i0.ɵɵFactoryDeclaration<DateTimePicker, never>;
385
+ static ɵcmp: i0.ɵɵComponentDeclaration<DateTimePicker, "tls-date-time-picker", never, { "value": { "alias": "value"; "required": false; "isSignal": true; }; "mode": { "alias": "mode"; "required": false; "isSignal": true; }; "inline": { "alias": "inline"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "fluid": { "alias": "fluid"; "required": false; "isSignal": true; }; "yearsPerPage": { "alias": "yearsPerPage"; "required": false; "isSignal": true; }; "weekStartsOn": { "alias": "weekStartsOn"; "required": false; "isSignal": true; }; "weekDays": { "alias": "weekDays"; "required": false; "isSignal": true; }; }, { "value": "valueChange"; }, never, never, true, never>;
386
+ }
387
+
388
+ interface DateTimePickerConfig {
389
+ mode: dateTimePickerMode;
390
+ inline: boolean;
391
+ placeholder: string;
392
+ size: controlSize;
393
+ yearsPerPage: number;
394
+ weekStartsOn: Day;
395
+ weekDays: string[];
396
+ }
397
+ declare const DEFAULT_DATE_TIME_PICKER_CONFIG: DateTimePickerConfig;
398
+
399
+ declare const DATE_TIME_PICKER_CONFIG: InjectionToken<DateTimePickerConfig>;
309
400
 
310
401
  declare class Input extends ValueFormControl<string> {
311
402
  private _config;
@@ -313,7 +404,7 @@ declare class Input extends ValueFormControl<string> {
313
404
  readonly value: ModelSignal<string>;
314
405
  readonly inputId: InputSignal<string | null>;
315
406
  readonly placeholder: InputSignal<string>;
316
- readonly size: InputSignal<inputSize>;
407
+ readonly size: InputSignal<controlSize>;
317
408
  readonly fluid: InputSignalWithTransform<boolean, unknown>;
318
409
  protected readonly classes: Signal<string[]>;
319
410
  protected onInput(event: Event): void;
@@ -322,7 +413,7 @@ declare class Input extends ValueFormControl<string> {
322
413
  }
323
414
 
324
415
  interface InputConfig {
325
- size: inputSize;
416
+ size: controlSize;
326
417
  type: string;
327
418
  placeholder: string;
328
419
  fluid: boolean;
@@ -331,7 +422,7 @@ declare const DEFAULT_INPUT_CONFIG: InputConfig;
331
422
 
332
423
  declare class InputDirective {
333
424
  private _config;
334
- readonly size: InputSignal<inputSize>;
425
+ readonly size: InputSignal<controlSize>;
335
426
  readonly fluid: InputSignalWithTransform<boolean, unknown>;
336
427
  protected readonly hostClasses: Signal<string[]>;
337
428
  static ɵfac: i0.ɵɵFactoryDeclaration<InputDirective, never>;
@@ -346,7 +437,7 @@ declare class Password extends ValueFormControl<string> {
346
437
  readonly visible: ModelSignal<boolean>;
347
438
  readonly inputId: InputSignal<string | null>;
348
439
  readonly placeholder: InputSignal<string>;
349
- readonly size: InputSignal<inputSize>;
440
+ readonly size: InputSignal<controlSize>;
350
441
  readonly fluid: InputSignalWithTransform<boolean, unknown>;
351
442
  protected readonly hostClasses: Signal<string[]>;
352
443
  protected type: Signal<"text" | "password">;
@@ -357,7 +448,7 @@ declare class Password extends ValueFormControl<string> {
357
448
  }
358
449
 
359
450
  interface PasswordConfig {
360
- size: inputSize;
451
+ size: controlSize;
361
452
  placeholder: string;
362
453
  fluid: boolean;
363
454
  }
@@ -420,6 +511,62 @@ declare class RadioButton extends ValueFormControl<unknown> {
420
511
  static ɵcmp: i0.ɵɵComponentDeclaration<RadioButton, "tls-radio-button", never, { "radioValue": { "alias": "radioValue"; "required": true; "isSignal": true; }; "value": { "alias": "value"; "required": false; "isSignal": true; }; "inputId": { "alias": "inputId"; "required": false; "isSignal": true; }; "tabindex": { "alias": "tabindex"; "required": false; "isSignal": true; }; }, { "value": "valueChange"; }, never, never, true, never>;
421
512
  }
422
513
 
514
+ type selectOptionType<T> = string | number | T;
515
+
516
+ interface NormalizedOption<V = unknown> {
517
+ value: V;
518
+ label: string;
519
+ disabled: boolean;
520
+ }
521
+ declare class Select<T, V = unknown> extends ValueFormControl<V | undefined> implements OnDestroy {
522
+ private readonly _config;
523
+ private readonly _overlay;
524
+ private readonly _viewContainerRef;
525
+ private readonly _destroyRef;
526
+ private readonly _triggerElement;
527
+ private readonly _panelTemplate;
528
+ private _overlayRef;
529
+ private _portal;
530
+ readonly value: ModelSignal<V | undefined>;
531
+ readonly inputId: InputSignal<string | null>;
532
+ readonly options: InputSignal<selectOptionType<T>[]>;
533
+ readonly optionLabel: InputSignal<keyof T | undefined>;
534
+ readonly optionValue: InputSignal<keyof T | undefined>;
535
+ readonly optionDisabled: InputSignal<keyof T | undefined>;
536
+ readonly placeholder: InputSignal<string>;
537
+ readonly size: InputSignal<controlSize>;
538
+ readonly fluid: InputSignalWithTransform<boolean, unknown>;
539
+ readonly tabindex: InputSignal<string | number>;
540
+ readonly clearable: InputSignalWithTransform<boolean, unknown>;
541
+ protected readonly isOpen: WritableSignal<boolean>;
542
+ protected readonly activeIndex: WritableSignal<number>;
543
+ protected readonly normalizedOptions: Signal<NormalizedOption<V>[]>;
544
+ protected readonly hasValue: Signal<boolean>;
545
+ protected readonly selectedLabel: Signal<string>;
546
+ protected readonly hostClasses: Signal<string[]>;
547
+ protected open(): void;
548
+ protected close(): void;
549
+ protected toggle(): void;
550
+ protected select(option: NormalizedOption<V>): void;
551
+ protected clear(): void;
552
+ protected onOptionHover(index: number, disabled?: boolean): void;
553
+ protected onKeydown(event: KeyboardEvent): void;
554
+ private _moveActive;
555
+ ngOnDestroy(): void;
556
+ static ɵfac: i0.ɵɵFactoryDeclaration<Select<any, any>, never>;
557
+ static ɵcmp: i0.ɵɵComponentDeclaration<Select<any, any>, "tls-select", never, { "value": { "alias": "value"; "required": false; "isSignal": true; }; "inputId": { "alias": "inputId"; "required": false; "isSignal": true; }; "options": { "alias": "options"; "required": false; "isSignal": true; }; "optionLabel": { "alias": "optionLabel"; "required": false; "isSignal": true; }; "optionValue": { "alias": "optionValue"; "required": false; "isSignal": true; }; "optionDisabled": { "alias": "optionDisabled"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "fluid": { "alias": "fluid"; "required": false; "isSignal": true; }; "tabindex": { "alias": "tabindex"; "required": false; "isSignal": true; }; "clearable": { "alias": "clearable"; "required": false; "isSignal": true; }; }, { "value": "valueChange"; }, never, never, true, never>;
558
+ }
559
+
560
+ interface SelectConfig {
561
+ size: controlSize;
562
+ placeholder: string;
563
+ fluid: boolean;
564
+ clearable: boolean;
565
+ }
566
+ declare const DEFAULT_SELECT_CONFIG: SelectConfig;
567
+
568
+ declare const SELECT_CONFIG: InjectionToken<SelectConfig>;
569
+
423
570
  type switchColor = color;
424
571
 
425
572
  declare class Switch extends CheckboxFormControl {
@@ -506,6 +653,77 @@ declare const DEFAULT_LOADER_CONFIG: LoaderConfig;
506
653
 
507
654
  declare const LOADER_CONFIG: InjectionToken<LoaderConfig>;
508
655
 
656
+ type paginationItem = number | 'gap';
657
+
658
+ declare class Pagination {
659
+ private readonly _config;
660
+ readonly value: i0.ModelSignal<number>;
661
+ readonly pageSize: i0.InputSignal<number>;
662
+ readonly total: i0.InputSignal<number>;
663
+ readonly size: i0.InputSignal<controlSize>;
664
+ readonly boundaries: i0.InputSignal<number>;
665
+ readonly siblings: i0.InputSignal<number>;
666
+ readonly showFirstButton: i0.InputSignalWithTransform<boolean, unknown>;
667
+ readonly showLastButton: i0.InputSignalWithTransform<boolean, unknown>;
668
+ protected readonly pageCount: i0.Signal<number>;
669
+ protected readonly visiblePages: i0.Signal<paginationItem[]>;
670
+ protected readonly classes: i0.Signal<string[]>;
671
+ protected setPage(page: number): void;
672
+ protected firstPage(): void;
673
+ protected prevPage(): void;
674
+ protected nextPage(): void;
675
+ protected lastPage(): void;
676
+ /** Returns an inclusive array of integers from start to end. Returns [] if end < start. */
677
+ private _range;
678
+ /** Computes the visible page items, inserting 'gap' where ellipsis should appear based on boundaries and siblings. */
679
+ private _buildPages;
680
+ static ɵfac: i0.ɵɵFactoryDeclaration<Pagination, never>;
681
+ static ɵcmp: i0.ɵɵComponentDeclaration<Pagination, "tls-pagination", never, { "value": { "alias": "value"; "required": false; "isSignal": true; }; "pageSize": { "alias": "pageSize"; "required": false; "isSignal": true; }; "total": { "alias": "total"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "boundaries": { "alias": "boundaries"; "required": false; "isSignal": true; }; "siblings": { "alias": "siblings"; "required": false; "isSignal": true; }; "showFirstButton": { "alias": "showFirstButton"; "required": false; "isSignal": true; }; "showLastButton": { "alias": "showLastButton"; "required": false; "isSignal": true; }; }, { "value": "valueChange"; }, never, never, true, never>;
682
+ }
683
+
684
+ interface PaginationConfig {
685
+ size: controlSize;
686
+ pageSize: number;
687
+ boundaries: number;
688
+ siblings: number;
689
+ showFirstButton: boolean;
690
+ showLastButton: boolean;
691
+ }
692
+ declare const DEFAULT_PAGINATION_CONFIG: PaginationConfig;
693
+
694
+ declare const PAGINATION_CONFIG: InjectionToken<PaginationConfig>;
695
+
696
+ declare class Popover implements OnDestroy {
697
+ private static _counter;
698
+ private readonly _overlay;
699
+ private readonly _viewContainerRef;
700
+ private readonly _config;
701
+ private readonly _destroyRef;
702
+ private readonly _templateRef;
703
+ private _overlayRef;
704
+ private readonly _isOpen;
705
+ readonly id: string;
706
+ readonly isOpen: i0.Signal<boolean>;
707
+ readonly position: i0.InputSignal<overlayPosition>;
708
+ readonly offset: i0.InputSignal<Point>;
709
+ readonly ariaLabel: i0.InputSignal<string | undefined>;
710
+ private readonly _positions;
711
+ open(trigger: MouseEvent | HTMLElement): void;
712
+ close(): void;
713
+ toggle(trigger: MouseEvent | HTMLElement): void;
714
+ ngOnDestroy(): void;
715
+ static ɵfac: i0.ɵɵFactoryDeclaration<Popover, never>;
716
+ static ɵcmp: i0.ɵɵComponentDeclaration<Popover, "tls-popover", never, { "position": { "alias": "position"; "required": false; "isSignal": true; }; "offset": { "alias": "offset"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
717
+ }
718
+
719
+ interface PopoverConfig {
720
+ position: overlayPosition;
721
+ offset: Point;
722
+ }
723
+ declare const DEFAULT_POPOVER_CONFIG: PopoverConfig;
724
+
725
+ declare const POPOVER_CONFIG: InjectionToken<PopoverConfig>;
726
+
509
727
  declare class Skeleton {
510
728
  private _config;
511
729
  readonly size: InputSignal<number>;
@@ -600,6 +818,56 @@ declare const DEFAULT_STEPPER_CONFIG: StepperConfig;
600
818
 
601
819
  declare const STEPPER_CONFIG: InjectionToken<StepperConfig>;
602
820
 
821
+ type tableColumnAlignment = 'start' | 'center' | 'end';
822
+ type TableData = Record<string, unknown>;
823
+ type TableTrackBy = string | TrackByFunction<TableData>;
824
+ interface TableColumnDefinition {
825
+ key: string;
826
+ header?: string;
827
+ hidden?: boolean;
828
+ alignment?: tableColumnAlignment;
829
+ width?: number;
830
+ template?: TemplateRef<unknown>;
831
+ }
832
+
833
+ declare class TableColumn {
834
+ readonly key: i0.InputSignal<string>;
835
+ readonly header: i0.InputSignal<string | undefined>;
836
+ readonly hidden: InputSignalWithTransform<boolean, unknown>;
837
+ readonly alignment: i0.InputSignal<tableColumnAlignment | undefined>;
838
+ readonly width: i0.InputSignal<number | undefined>;
839
+ readonly template: i0.Signal<TemplateRef<any> | undefined>;
840
+ static ɵfac: i0.ɵɵFactoryDeclaration<TableColumn, never>;
841
+ static ɵcmp: i0.ɵɵComponentDeclaration<TableColumn, "tls-table-column", never, { "key": { "alias": "key"; "required": true; "isSignal": true; }; "header": { "alias": "header"; "required": false; "isSignal": true; }; "hidden": { "alias": "hidden"; "required": false; "isSignal": true; }; "alignment": { "alias": "alignment"; "required": false; "isSignal": true; }; "width": { "alias": "width"; "required": false; "isSignal": true; }; }, {}, ["template"], never, true, never>;
842
+ }
843
+
844
+ declare class Table {
845
+ private readonly _config;
846
+ readonly data: InputSignal<TableData[]>;
847
+ readonly columnDefinitions: InputSignal<TableColumnDefinition[]>;
848
+ readonly hideHeader: InputSignalWithTransform<boolean, unknown>;
849
+ readonly striped: InputSignalWithTransform<boolean, unknown>;
850
+ readonly trackBy: InputSignal<TableTrackBy | undefined>;
851
+ protected readonly tableColumns: i0.Signal<readonly TableColumn[]>;
852
+ protected readonly effectiveColumnDefinitions: i0.Signal<TableColumnDefinition[]>;
853
+ protected readonly columns: i0.Signal<string[]>;
854
+ protected readonly resolvedTrackBy: i0.Signal<TrackByFunction<TableData>>;
855
+ protected readonly classes: i0.Signal<string[]>;
856
+ protected readonly dataSource: DataSource<TableData>;
857
+ private _mapContentColumns;
858
+ private _mapContentColumn;
859
+ static ɵfac: i0.ɵɵFactoryDeclaration<Table, never>;
860
+ static ɵcmp: i0.ɵɵComponentDeclaration<Table, "tls-table", never, { "data": { "alias": "data"; "required": true; "isSignal": true; }; "columnDefinitions": { "alias": "columnDefinitions"; "required": false; "isSignal": true; }; "hideHeader": { "alias": "hideHeader"; "required": false; "isSignal": true; }; "striped": { "alias": "striped"; "required": false; "isSignal": true; }; "trackBy": { "alias": "trackBy"; "required": false; "isSignal": true; }; }, {}, ["tableColumns"], never, true, never>;
861
+ }
862
+
863
+ interface TableConfig {
864
+ hideHeader: boolean;
865
+ striped: boolean;
866
+ }
867
+ declare const DEFAULT_TABLE_CONFIG: TableConfig;
868
+
869
+ declare const TABLE_CONFIG: InjectionToken<TableConfig>;
870
+
603
871
  type tabsVariant = 'flat' | 'outlined';
604
872
  type tabValue = string | number;
605
873
 
@@ -633,7 +901,7 @@ declare const DEFAULT_TABS_CONFIG: TabsConfig;
633
901
  declare const TABS_CONFIG: InjectionToken<TabsConfig>;
634
902
 
635
903
  type tooltipOrigin = 'cursor' | 'element';
636
- type tooltipPosition = 'top' | 'top-start' | 'top-end' | 'right' | 'right-start' | 'right-end' | 'bottom' | 'bottom-start' | 'bottom-end' | 'left' | 'left-start' | 'left-end' | 'top-left' | 'top-right' | 'bottom-left' | 'bottom-right';
904
+ type tooltipPosition = overlayPosition;
637
905
  type tooltipColor = color;
638
906
 
639
907
  declare class TooltipDirective implements OnDestroy {
@@ -677,5 +945,5 @@ declare const provideThalassicChartConfig: (config: ChartConfig) => EnvironmentP
677
945
 
678
946
  declare const provideThalassicUIConfig: (config: tlsUiConfigProvider) => EnvironmentProviders;
679
947
 
680
- export { ALERT_CONFIG, Alert, BUTTON_CONFIG, BarChart, BubbleChart, Button, ButtonDirective, CHART_CONFIG, CHECKBOX_CONFIG, Chart, Checkbox, DEFAULT_ALERT_CONFIG, DEFAULT_BUTTON_CONFIG, DEFAULT_CHART_CONFIG, DEFAULT_CHECKBOX_CONFIG, DEFAULT_DIVIDER_CONFIG, DEFAULT_FORM_ITEM_CONFIG, DEFAULT_ICON_CONFIG, DEFAULT_INPUT_CONFIG, DEFAULT_LOADER_CONFIG, DEFAULT_PASSWORD_CONFIG, DEFAULT_PIN_INPUT_CONFIG, DEFAULT_RADIO_BUTTON_CONFIG, DEFAULT_SKELETON_CONFIG, DEFAULT_STEPPER_CONFIG, DEFAULT_STEP_CONFIG, DEFAULT_SWITCH_CONFIG, DEFAULT_TABS_CONFIG, DEFAULT_TOOLTIP_CONFIG, DIVIDER_CONFIG, Divider, DoughnutChart, FORM_ITEM_CONFIG, FormItem, ICON_CONFIG, INPUT_CONFIG, Icon, Input, InputDirective, LOADER_CONFIG, LineChart, Loader, PASSWORD_CONFIG, PIN_INPUT_CONFIG, Password, PieChart, PinInput, PolarAreaChart, RADIO_BUTTON_CONFIG, RadarChart, RadioButton, SKELETON_CONFIG, STEPPER_CONFIG, SWITCH_CONFIG, ScatterChart, Skeleton, Step, Stepper, Switch, TABS_CONFIG, TOOLTIP_CONFIG, Tab, Tabs, TooltipDirective, provideThalassicChartConfig, provideThalassicUIConfig };
681
- export type { AlertConfig, ButtonConfig, ChartConfig, CheckboxConfig, DividerConfig, FormItemConfig, IconConfig, InputConfig, LoaderConfig, PasswordConfig, PinInputConfig, RadioButtonConfig, SkeletonConfig, StepConfig, StepperConfig, SwitchConfig, TabsConfig, TooltipConfig, color, controlSize, inputSize, orientation, pinInputType, size, tlsUiConfigProvider, tooltipColor, tooltipOrigin, tooltipPosition };
948
+ export { ALERT_CONFIG, Alert, BUTTON_CONFIG, BarChart, BubbleChart, Button, ButtonDirective, CHART_CONFIG, CHECKBOX_CONFIG, Chart, Checkbox, DATE_TIME_PICKER_CONFIG, DEFAULT_ALERT_CONFIG, DEFAULT_BUTTON_CONFIG, DEFAULT_CHART_CONFIG, DEFAULT_CHECKBOX_CONFIG, DEFAULT_DATE_TIME_PICKER_CONFIG, DEFAULT_DIALOG_CONFIG, DEFAULT_DIVIDER_CONFIG, DEFAULT_FORM_ITEM_CONFIG, DEFAULT_ICON_CONFIG, DEFAULT_INPUT_CONFIG, DEFAULT_LOADER_CONFIG, DEFAULT_PAGINATION_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_TOOLTIP_CONFIG, DIALOG_CONFIG, DIVIDER_CONFIG, DateTimePicker, Dialog, DialogService, Divider, DoughnutChart, FORM_ITEM_CONFIG, FormItem, ICON_CONFIG, INPUT_CONFIG, Icon, Input, InputDirective, LOADER_CONFIG, LineChart, Loader, PAGINATION_CONFIG, PASSWORD_CONFIG, PIN_INPUT_CONFIG, POPOVER_CONFIG, Pagination, Password, PieChart, PinInput, PolarAreaChart, Popover, RADIO_BUTTON_CONFIG, RadarChart, RadioButton, SELECT_CONFIG, SKELETON_CONFIG, STEPPER_CONFIG, SWITCH_CONFIG, ScatterChart, Select, Skeleton, Step, Stepper, Switch, TABLE_CONFIG, TABS_CONFIG, TOOLTIP_CONFIG, Tab, Table, TableColumn, Tabs, TooltipDirective, provideThalassicChartConfig, provideThalassicUIConfig };
949
+ export type { AlertConfig, ButtonConfig, ChartConfig, CheckboxConfig, DateTimePickerConfig, DialogConfig, DialogOpenConfig, DividerConfig, FormItemConfig, IconConfig, InputConfig, LoaderConfig, PaginationConfig, PasswordConfig, PinInputConfig, PopoverConfig, RadioButtonConfig, SelectConfig, SkeletonConfig, StepConfig, StepperConfig, StepperSelectEvent, SwitchConfig, TableColumnDefinition, TableConfig, TableData, TableTrackBy, TabsConfig, TooltipConfig, color, controlSize, dateTimePickerMode, dialogSize, dividerContentPosition, dividerOrientation, dividerVariant, orientation, overlayPosition, paginationItem, pinInputType, selectOptionType, size, stepperColor, stepperOrientation, stepperValue, tableColumnAlignment, tlsUiConfigProvider, tooltipColor, tooltipOrigin, tooltipPosition };