@thalassic/ui 22.15.2 → 22.15.3
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 +191 -22
- package/fesm2022/thalassic-ui.mjs.map +1 -1
- package/package.json +1 -1
- package/types/thalassic-ui.d.ts +68 -2
|
@@ -6,7 +6,7 @@ import { takeUntilDestroyed, rxResource, toSignal, toObservable } from '@angular
|
|
|
6
6
|
import { filter, throwError, map, shareReplay, of, Subscription, takeUntil } from 'rxjs';
|
|
7
7
|
import { Router, ActivatedRoute, RouterLink, NavigationStart, RouterLinkActive } from '@angular/router';
|
|
8
8
|
import { Grid, GridRow, GridCell } from '@angular/aria/grid';
|
|
9
|
-
import { startOfWeek, startOfMonth, endOfWeek, endOfMonth, addDays, eachDayOfInterval, startOfDay, isSameMonth, format, isSameDay, subMonths, isBefore, isAfter, differenceInCalendarDays, addHours, differenceInMinutes, isSameWeek, addMonths, addWeeks, isToday, setMonth, subYears, addYears, getYear, getMonth, getHours, getMinutes,
|
|
9
|
+
import { startOfWeek, startOfMonth, endOfWeek, endOfMonth, addDays, eachDayOfInterval, startOfDay, isSameMonth, format, isSameDay, subMonths, isBefore, isAfter, differenceInCalendarDays, addHours, differenceInMinutes, isSameWeek, addMonths, addWeeks, isToday, setMonth, subYears, addYears, getYear, getMonth, getHours, getMinutes, setMinutes, setHours, setYear } from 'date-fns';
|
|
10
10
|
import { isPlatformBrowser, NgTemplateOutlet, NgComponentOutlet, LocationStrategy } from '@angular/common';
|
|
11
11
|
import { HttpClient } from '@angular/common/http';
|
|
12
12
|
import { DomSanitizer } from '@angular/platform-browser';
|
|
@@ -685,6 +685,24 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.5", ngImpor
|
|
|
685
685
|
|
|
686
686
|
// Form control base classes
|
|
687
687
|
|
|
688
|
+
/** Matches a quoted literal in a `date-fns` format pattern, e.g. the `'h'` in `"HH 'h' mm"`. */
|
|
689
|
+
const QUOTED_LITERAL = /'[^']*'/g;
|
|
690
|
+
/** Day-period tokens (`a`, `b`, `B`) — their presence marks a pattern as 12-hour. */
|
|
691
|
+
const DAY_PERIOD_TOKEN = /[abB]/;
|
|
692
|
+
/**
|
|
693
|
+
* Whether times render on a 12-hour clock. A `'locale'` cycle probes the configured
|
|
694
|
+
* `date-fns` locale's short time pattern for a day-period token; with no locale
|
|
695
|
+
* configured `date-fns` formats as `en-US`, which is 12-hour.
|
|
696
|
+
*/
|
|
697
|
+
const isHour12 = (config) => {
|
|
698
|
+
if (config.hourCycle !== 'locale')
|
|
699
|
+
return config.hourCycle === 12;
|
|
700
|
+
const locale = config.dateFns;
|
|
701
|
+
if (!locale)
|
|
702
|
+
return true;
|
|
703
|
+
return DAY_PERIOD_TOKEN.test(locale.formatLong.time({ width: 'short' }).replace(QUOTED_LITERAL, ''));
|
|
704
|
+
};
|
|
705
|
+
|
|
688
706
|
/**
|
|
689
707
|
* `date-fns` format options carrying the configured locale, or `undefined` when none is set
|
|
690
708
|
* (so `date-fns` falls back to its built-in `en-US`). Returning `undefined` rather than
|
|
@@ -692,7 +710,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.5", ngImpor
|
|
|
692
710
|
*/
|
|
693
711
|
const localeFormatOptions = (config) => config.dateFns ? { locale: config.dateFns } : undefined;
|
|
694
712
|
|
|
695
|
-
const DEFAULT_LOCALE_CONFIG = {};
|
|
713
|
+
const DEFAULT_LOCALE_CONFIG = { hourCycle: 'locale' };
|
|
696
714
|
|
|
697
715
|
const LOCALE_CONFIG = new InjectionToken('LOCALE_CONFIG', {
|
|
698
716
|
factory: () => DEFAULT_LOCALE_CONFIG,
|
|
@@ -1471,7 +1489,7 @@ const DAYS_PER_WEEK$1 = 7;
|
|
|
1471
1489
|
/** Lowest meaningful step count: an empty step plus a single activity step. */
|
|
1472
1490
|
const MIN_LEVELS = 2;
|
|
1473
1491
|
/** `date-fns` format token for a month heading above the week columns, e.g. "Jul". */
|
|
1474
|
-
const MONTH_LABEL_FORMAT = 'MMM';
|
|
1492
|
+
const MONTH_LABEL_FORMAT$1 = 'MMM';
|
|
1475
1493
|
/** `date-fns` format token for a day's accessible name, e.g. "July 20th, 2026". */
|
|
1476
1494
|
const DAY_LABEL_FORMAT = 'PPP';
|
|
1477
1495
|
/**
|
|
@@ -1713,7 +1731,7 @@ class ActivityHeatmap {
|
|
|
1713
1731
|
return [];
|
|
1714
1732
|
// The first row holds one day per week column, and each is that week's first day.
|
|
1715
1733
|
const weekStarts = rows[0].days.map(day => day.date);
|
|
1716
|
-
return buildActivityMonthSegments(weekStarts, date => format(date, MONTH_LABEL_FORMAT, this._dateOptions));
|
|
1734
|
+
return buildActivityMonthSegments(weekStarts, date => format(date, MONTH_LABEL_FORMAT$1, this._dateOptions));
|
|
1717
1735
|
}, /* @ts-ignore */
|
|
1718
1736
|
...(ngDevMode ? [{ debugName: "months" }] : /* istanbul ignore next */ []));
|
|
1719
1737
|
/** Every intensity step, low to high, for the legend's sample swatches. */
|
|
@@ -2473,8 +2491,14 @@ const MIN_EVENT_HEIGHT = 24;
|
|
|
2473
2491
|
const PX_PER_MINUTE = HOUR_HEIGHT / 60;
|
|
2474
2492
|
/** `date-fns` format token for a time-grid column heading, e.g. "Mon 20". */
|
|
2475
2493
|
const TIME_GRID_HEADING_FORMAT = 'EEE d';
|
|
2476
|
-
/** `date-fns` format token for
|
|
2477
|
-
const
|
|
2494
|
+
/** `date-fns` format token for a 12-hour gutter label, e.g. "9 AM". */
|
|
2495
|
+
const HOUR_LABEL_FORMAT_12 = 'h a';
|
|
2496
|
+
/** `date-fns` format token for a 24-hour gutter label, e.g. "09:00". */
|
|
2497
|
+
const HOUR_LABEL_FORMAT_24 = 'HH:mm';
|
|
2498
|
+
/** `date-fns` format token for a 12-hour event start time, e.g. "9:30 AM". */
|
|
2499
|
+
const EVENT_TIME_FORMAT_12 = 'h:mm a';
|
|
2500
|
+
/** `date-fns` format token for a 24-hour event start time, e.g. "09:30". */
|
|
2501
|
+
const EVENT_TIME_FORMAT_24 = 'HH:mm';
|
|
2478
2502
|
/** `date-fns` format token for an agenda day's weekday, e.g. "Wednesday". */
|
|
2479
2503
|
const AGENDA_WEEKDAY_FORMAT = 'EEEE';
|
|
2480
2504
|
/** `date-fns` format token for an agenda day's date, e.g. "Jul 22". */
|
|
@@ -2505,6 +2529,9 @@ class CalendarEventItem {
|
|
|
2505
2529
|
activate = output();
|
|
2506
2530
|
// State
|
|
2507
2531
|
_dateOptions = localeFormatOptions(this._locale);
|
|
2532
|
+
_timeFormat = isHour12(this._locale)
|
|
2533
|
+
? EVENT_TIME_FORMAT_12
|
|
2534
|
+
: EVENT_TIME_FORMAT_24;
|
|
2508
2535
|
// Computed
|
|
2509
2536
|
classes = computed(() => {
|
|
2510
2537
|
const classes = ['tls-calendar-event__button'];
|
|
@@ -2524,7 +2551,7 @@ class CalendarEventItem {
|
|
|
2524
2551
|
const event = this.event();
|
|
2525
2552
|
const view = this.view();
|
|
2526
2553
|
if (TIME_AWARE_VIEWS.includes(view) && event.allDay !== true) {
|
|
2527
|
-
return `${format(event.start,
|
|
2554
|
+
return `${format(event.start, this._timeFormat, this._dateOptions)} ${event.title}`;
|
|
2528
2555
|
}
|
|
2529
2556
|
return event.title;
|
|
2530
2557
|
}, /* @ts-ignore */
|
|
@@ -2875,6 +2902,9 @@ class CalendarTimeGrid {
|
|
|
2875
2902
|
hourHeight = HOUR_HEIGHT;
|
|
2876
2903
|
allDayLabel = this._config.labels.allDay;
|
|
2877
2904
|
_dateOptions = localeFormatOptions(this._locale);
|
|
2905
|
+
_hourLabelFormat = isHour12(this._locale)
|
|
2906
|
+
? HOUR_LABEL_FORMAT_12
|
|
2907
|
+
: HOUR_LABEL_FORMAT_24;
|
|
2878
2908
|
/** Ticking current time, so the now line and today highlight track the clock. */
|
|
2879
2909
|
_now = createNowSignal(NOW_REFRESH_INTERVAL_MS);
|
|
2880
2910
|
// Computed
|
|
@@ -2908,7 +2938,13 @@ class CalendarTimeGrid {
|
|
|
2908
2938
|
height: Math.max(MIN_EVENT_HEIGHT, differenceInMinutes(end, start) * PX_PER_MINUTE),
|
|
2909
2939
|
};
|
|
2910
2940
|
});
|
|
2911
|
-
return {
|
|
2941
|
+
return {
|
|
2942
|
+
date: day,
|
|
2943
|
+
isToday: isSameDay(day, now),
|
|
2944
|
+
heading: format(day, TIME_GRID_HEADING_FORMAT, this._dateOptions),
|
|
2945
|
+
allDayEvents,
|
|
2946
|
+
timedEvents,
|
|
2947
|
+
};
|
|
2912
2948
|
});
|
|
2913
2949
|
}, /* @ts-ignore */
|
|
2914
2950
|
...(ngDevMode ? [{ debugName: "columns" }] : /* istanbul ignore next */ []));
|
|
@@ -2927,7 +2963,7 @@ class CalendarTimeGrid {
|
|
|
2927
2963
|
...(ngDevMode ? [{ debugName: "nowOffset" }] : /* istanbul ignore next */ []));
|
|
2928
2964
|
// Protected methods
|
|
2929
2965
|
hourLabel(hour) {
|
|
2930
|
-
return format(addHours(startOfDay(new Date()), hour),
|
|
2966
|
+
return format(addHours(startOfDay(new Date()), hour), this._hourLabelFormat, this._dateOptions);
|
|
2931
2967
|
}
|
|
2932
2968
|
laneOffset(layout) {
|
|
2933
2969
|
return (layout.lane * 100) / layout.laneCount;
|
|
@@ -3681,6 +3717,7 @@ const DEFAULT_DIALOG_CONFIG = {
|
|
|
3681
3717
|
closeable: true,
|
|
3682
3718
|
backdropClose: true,
|
|
3683
3719
|
closeLabel: 'Close dialog',
|
|
3720
|
+
footerAlign: 'end',
|
|
3684
3721
|
};
|
|
3685
3722
|
|
|
3686
3723
|
const DIALOG_CONFIG = new InjectionToken('DIALOG_CONFIG', {
|
|
@@ -3698,11 +3735,100 @@ class Dialog extends CdkDialogContainer {
|
|
|
3698
3735
|
this._dialogRef.close();
|
|
3699
3736
|
}
|
|
3700
3737
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: Dialog, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
3701
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.5", type: Dialog, isStandalone: true, selector: "tls-dialog", host: { properties: { "class": "hostClasses" } }, usesInheritance: true, ngImport: i0, template: "<ng-template cdkPortalOutlet />\n@if (config.closeable) {\n <button
|
|
3738
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.5", type: Dialog, isStandalone: true, selector: "tls-dialog", host: { properties: { "class": "hostClasses" } }, usesInheritance: true, ngImport: i0, template: "<ng-template cdkPortalOutlet />\n@if (config.closeable) {\n <tls-button\n class=\"tls-dialog__close\"\n icon\n variant=\"text\"\n size=\"sm\"\n [ariaLabel]=\"config.closeLabel\"\n (click)=\"close()\"\n >\n <tls-icon name=\"close\" aria-hidden=\"true\" />\n </tls-button>\n}\n", dependencies: [{ kind: "directive", type: CdkPortalOutlet, selector: "[cdkPortalOutlet]", inputs: ["cdkPortalOutlet"], outputs: ["attached"], exportAs: ["cdkPortalOutlet"] }, { kind: "component", type: Button, selector: "tls-button", inputs: ["label", "ariaLabel", "ariaLabelledby", "type", "href", "tabindex"] }, { kind: "component", type: Icon, selector: "tls-icon", inputs: ["name", "iconSrc", "alt", "allowedSources"] }] });
|
|
3702
3739
|
}
|
|
3703
3740
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: Dialog, decorators: [{
|
|
3704
3741
|
type: Component,
|
|
3705
|
-
args: [{ selector: 'tls-dialog', imports: [CdkPortalOutlet, Icon], host: { '[class]': 'hostClasses' }, template: "<ng-template cdkPortalOutlet />\n@if (config.closeable) {\n <button
|
|
3742
|
+
args: [{ selector: 'tls-dialog', imports: [CdkPortalOutlet, Button, Icon], host: { '[class]': 'hostClasses' }, template: "<ng-template cdkPortalOutlet />\n@if (config.closeable) {\n <tls-button\n class=\"tls-dialog__close\"\n icon\n variant=\"text\"\n size=\"sm\"\n [ariaLabel]=\"config.closeLabel\"\n (click)=\"close()\"\n >\n <tls-icon name=\"close\" aria-hidden=\"true\" />\n </tls-button>\n}\n" }]
|
|
3743
|
+
}] });
|
|
3744
|
+
|
|
3745
|
+
/**
|
|
3746
|
+
* Top region of a dialog, holding its title and any supporting text. Keeps its
|
|
3747
|
+
* padding out of the scrolling body so the title stays put while the content
|
|
3748
|
+
* scrolls under it.
|
|
3749
|
+
*/
|
|
3750
|
+
class DialogHeader {
|
|
3751
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: DialogHeader, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
3752
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.0.5", type: DialogHeader, isStandalone: true, selector: "tls-dialog-header", host: { classAttribute: "tls-dialog__header" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true });
|
|
3753
|
+
}
|
|
3754
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: DialogHeader, decorators: [{
|
|
3755
|
+
type: Component,
|
|
3756
|
+
args: [{
|
|
3757
|
+
selector: 'tls-dialog-header',
|
|
3758
|
+
imports: [],
|
|
3759
|
+
template: '<ng-content></ng-content>',
|
|
3760
|
+
host: {
|
|
3761
|
+
class: 'tls-dialog__header',
|
|
3762
|
+
},
|
|
3763
|
+
}]
|
|
3764
|
+
}] });
|
|
3765
|
+
|
|
3766
|
+
/**
|
|
3767
|
+
* Scrolling content region of a dialog. Takes the space left between the header
|
|
3768
|
+
* and footer and scrolls internally, so a tall dialog keeps its title and
|
|
3769
|
+
* actions visible instead of growing past the viewport.
|
|
3770
|
+
*/
|
|
3771
|
+
class DialogBody {
|
|
3772
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: DialogBody, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
3773
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.0.5", type: DialogBody, isStandalone: true, selector: "tls-dialog-body", host: { classAttribute: "tls-dialog__body" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true });
|
|
3774
|
+
}
|
|
3775
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: DialogBody, decorators: [{
|
|
3776
|
+
type: Component,
|
|
3777
|
+
args: [{
|
|
3778
|
+
selector: 'tls-dialog-body',
|
|
3779
|
+
imports: [],
|
|
3780
|
+
template: '<ng-content></ng-content>',
|
|
3781
|
+
host: {
|
|
3782
|
+
class: 'tls-dialog__body',
|
|
3783
|
+
},
|
|
3784
|
+
}]
|
|
3785
|
+
}] });
|
|
3786
|
+
|
|
3787
|
+
/**
|
|
3788
|
+
* Action region of a dialog, pinned below the scrolling body. Actions sit at
|
|
3789
|
+
* the end edge by default; `space-between` is the shape to reach for when a
|
|
3790
|
+
* destructive action belongs apart from the confirm/cancel pair.
|
|
3791
|
+
*/
|
|
3792
|
+
class DialogFooter {
|
|
3793
|
+
// Injections
|
|
3794
|
+
_config = inject(DIALOG_CONFIG);
|
|
3795
|
+
// Inputs
|
|
3796
|
+
align = input(this._config.footerAlign, /* @ts-ignore */
|
|
3797
|
+
...(ngDevMode ? [{ debugName: "align" }] : /* istanbul ignore next */ []));
|
|
3798
|
+
// Computed
|
|
3799
|
+
hostClasses = computed(() => [
|
|
3800
|
+
'tls-dialog__footer',
|
|
3801
|
+
`tls-dialog__footer--${this.align()}`,
|
|
3802
|
+
], /* @ts-ignore */
|
|
3803
|
+
...(ngDevMode ? [{ debugName: "hostClasses" }] : /* istanbul ignore next */ []));
|
|
3804
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: DialogFooter, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
3805
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "22.0.5", type: DialogFooter, isStandalone: true, selector: "tls-dialog-footer", inputs: { align: { classPropertyName: "align", publicName: "align", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "class": "hostClasses()" } }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true });
|
|
3806
|
+
}
|
|
3807
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: DialogFooter, decorators: [{
|
|
3808
|
+
type: Component,
|
|
3809
|
+
args: [{
|
|
3810
|
+
selector: 'tls-dialog-footer',
|
|
3811
|
+
imports: [],
|
|
3812
|
+
template: '<ng-content></ng-content>',
|
|
3813
|
+
host: { '[class]': 'hostClasses()' },
|
|
3814
|
+
}]
|
|
3815
|
+
}], propDecorators: { align: [{ type: i0.Input, args: [{ isSignal: true, alias: "align", required: false }] }] } });
|
|
3816
|
+
|
|
3817
|
+
/**
|
|
3818
|
+
* Marks the heading that titles a dialog, styling it to the dialog type scale.
|
|
3819
|
+
*/
|
|
3820
|
+
class DialogTitleDirective {
|
|
3821
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: DialogTitleDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
3822
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.0.5", type: DialogTitleDirective, isStandalone: true, selector: "[tlsDialogTitle]", host: { classAttribute: "tls-dialog__title" }, ngImport: i0 });
|
|
3823
|
+
}
|
|
3824
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: DialogTitleDirective, decorators: [{
|
|
3825
|
+
type: Directive,
|
|
3826
|
+
args: [{
|
|
3827
|
+
selector: '[tlsDialogTitle]',
|
|
3828
|
+
host: {
|
|
3829
|
+
class: 'tls-dialog__title',
|
|
3830
|
+
},
|
|
3831
|
+
}]
|
|
3706
3832
|
}] });
|
|
3707
3833
|
|
|
3708
3834
|
class DialogService {
|
|
@@ -3714,6 +3840,7 @@ class DialogService {
|
|
|
3714
3840
|
closeable: config?.closeable ?? this._config.closeable,
|
|
3715
3841
|
backdropClose: config?.backdropClose ?? this._config.backdropClose,
|
|
3716
3842
|
closeLabel: config?.closeLabel ?? this._config.closeLabel,
|
|
3843
|
+
footerAlign: config?.footerAlign ?? this._config.footerAlign,
|
|
3717
3844
|
};
|
|
3718
3845
|
return this._dialog.open(component, {
|
|
3719
3846
|
container: {
|
|
@@ -4674,6 +4801,21 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.5", ngImpor
|
|
|
4674
4801
|
args: [{ selector: 'tls-date-picker-calendar', imports: [Icon], host: { class: 'tls-date-picker-calendar' }, template: "<div class=\"tls-date-picker-calendar__header\">\n <button type=\"button\" class=\"tls-date-picker-calendar__nav\" (click)=\"prevMonth()\">\n <tls-icon name=\"chevron-left\" aria-hidden=\"true\" />\n </button>\n <button type=\"button\" class=\"tls-date-picker-calendar__header-button\" (click)=\"navigateUp.emit()\">\n {{ headerLabel() }}\n </button>\n <button type=\"button\" class=\"tls-date-picker-calendar__nav\" (click)=\"nextMonth()\">\n <tls-icon name=\"chevron-right\" aria-hidden=\"true\" />\n </button>\n</div>\n\n<div class=\"tls-date-picker-calendar__grid\">\n @for (day of displayedWeekDays(); track day) {\n <span class=\"tls-date-picker-calendar__weekday\">{{ day }}</span>\n }\n @for (day of days(); track day.getTime()) {\n <button\n type=\"button\"\n class=\"tls-date-picker-calendar__day\"\n [class.tls-date-picker-calendar__day--outside]=\"!isInCurrentMonth(day)\"\n [class.tls-date-picker-calendar__day--today]=\"isTodayDay(day)\"\n [class.tls-date-picker-calendar__day--selected]=\"isSelectedDay(day)\"\n (click)=\"daySelect.emit(day)\"\n >\n {{ getDayLabel(day) }}\n </button>\n }\n</div>\n" }]
|
|
4675
4802
|
}], propDecorators: { viewDate: [{ type: i0.Input, args: [{ isSignal: true, alias: "viewDate", required: true }] }], selectedDate: [{ type: i0.Input, args: [{ isSignal: true, alias: "selectedDate", required: true }] }], weekStartsOn: [{ type: i0.Input, args: [{ isSignal: true, alias: "weekStartsOn", required: true }] }], weekDays: [{ type: i0.Input, args: [{ isSignal: true, alias: "weekDays", required: true }] }], daySelect: [{ type: i0.Output, args: ["daySelect"] }], viewDateChange: [{ type: i0.Output, args: ["viewDateChange"] }], navigateUp: [{ type: i0.Output, args: ["navigateUp"] }] } });
|
|
4676
4803
|
|
|
4804
|
+
/** `date-fns` format token for the trigger label in `calendar` mode, e.g. "Jul 20, 2026". */
|
|
4805
|
+
const DATE_LABEL_FORMAT = 'MMM d, yyyy';
|
|
4806
|
+
/** `date-fns` format token for the trigger label in `month-picker` mode, e.g. "July 2026". */
|
|
4807
|
+
const MONTH_LABEL_FORMAT = 'MMMM yyyy';
|
|
4808
|
+
/** `date-fns` format token for the trigger label in `year-picker` mode, e.g. "2026". */
|
|
4809
|
+
const YEAR_LABEL_FORMAT = 'yyyy';
|
|
4810
|
+
/** `date-fns` format token for a 12-hour time, e.g. "9:30 AM". */
|
|
4811
|
+
const TIME_LABEL_FORMAT_12 = 'h:mm a';
|
|
4812
|
+
/** `date-fns` format token for a 24-hour time, e.g. "09:30". */
|
|
4813
|
+
const TIME_LABEL_FORMAT_24 = 'HH:mm';
|
|
4814
|
+
/** `date-fns` format token for the day-period segment of the time picker, e.g. "AM". */
|
|
4815
|
+
const DAY_PERIOD_FORMAT = 'a';
|
|
4816
|
+
/** Hours in a half-day, the wrap point of the 12-hour clock. */
|
|
4817
|
+
const HOURS_PER_HALF_DAY = 12;
|
|
4818
|
+
|
|
4677
4819
|
const DEFAULT_DATE_TIME_PICKER_CONFIG = {
|
|
4678
4820
|
mode: 'calendar',
|
|
4679
4821
|
inline: false,
|
|
@@ -4735,11 +4877,17 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.5", ngImpor
|
|
|
4735
4877
|
}], propDecorators: { viewDate: [{ type: i0.Input, args: [{ isSignal: true, alias: "viewDate", required: true }] }], selectedDate: [{ type: i0.Input, args: [{ isSignal: true, alias: "selectedDate", required: true }] }], monthSelect: [{ type: i0.Output, args: ["monthSelect"] }], viewDateChange: [{ type: i0.Output, args: ["viewDateChange"] }], navigateUp: [{ type: i0.Output, args: ["navigateUp"] }] } });
|
|
4736
4878
|
|
|
4737
4879
|
class TimePicker {
|
|
4880
|
+
// Injections
|
|
4881
|
+
_locale = inject(LOCALE_CONFIG);
|
|
4738
4882
|
// Inputs
|
|
4739
4883
|
value = input.required(/* @ts-ignore */
|
|
4740
4884
|
...(ngDevMode ? [{ debugName: "value" }] : /* istanbul ignore next */ []));
|
|
4741
4885
|
// Outputs
|
|
4742
4886
|
timeChange = output();
|
|
4887
|
+
// State
|
|
4888
|
+
_dateOptions = localeFormatOptions(this._locale);
|
|
4889
|
+
/** Whether the hour column runs 1–12 alongside a day-period toggle. */
|
|
4890
|
+
hour12 = isHour12(this._locale);
|
|
4743
4891
|
// Computed
|
|
4744
4892
|
hours = computed(() => {
|
|
4745
4893
|
const date = this.value();
|
|
@@ -4751,20 +4899,30 @@ class TimePicker {
|
|
|
4751
4899
|
return date ? getMinutes(date) : 0;
|
|
4752
4900
|
}, /* @ts-ignore */
|
|
4753
4901
|
...(ngDevMode ? [{ debugName: "minutes" }] : /* istanbul ignore next */ []));
|
|
4754
|
-
hoursLabel = computed(() =>
|
|
4902
|
+
hoursLabel = computed(() => {
|
|
4903
|
+
const hours = this.hours();
|
|
4904
|
+
if (!this.hour12)
|
|
4905
|
+
return String(hours).padStart(2, '0');
|
|
4906
|
+
// Midnight and noon read as 12, the rest as their remainder past the half-day.
|
|
4907
|
+
const displayHours = hours % HOURS_PER_HALF_DAY;
|
|
4908
|
+
return String(displayHours === 0 ? HOURS_PER_HALF_DAY : displayHours).padStart(2, '0');
|
|
4909
|
+
}, /* @ts-ignore */
|
|
4755
4910
|
...(ngDevMode ? [{ debugName: "hoursLabel" }] : /* istanbul ignore next */ []));
|
|
4756
4911
|
minutesLabel = computed(() => String(this.minutes()).padStart(2, '0'), /* @ts-ignore */
|
|
4757
4912
|
...(ngDevMode ? [{ debugName: "minutesLabel" }] : /* istanbul ignore next */ []));
|
|
4913
|
+
/** Localized day-period label ("AM"/"PM"), rendered only on a 12-hour clock. */
|
|
4914
|
+
dayPeriodLabel = computed(() => format(this._withHours(this.hours()), DAY_PERIOD_FORMAT, this._dateOptions), /* @ts-ignore */
|
|
4915
|
+
...(ngDevMode ? [{ debugName: "dayPeriodLabel" }] : /* istanbul ignore next */ []));
|
|
4758
4916
|
// Private accessors
|
|
4759
4917
|
get _baseDate() {
|
|
4760
4918
|
return this.value() ?? startOfDay(new Date());
|
|
4761
4919
|
}
|
|
4762
4920
|
// Protected methods
|
|
4763
4921
|
incrementHours() {
|
|
4764
|
-
this.timeChange.emit(
|
|
4922
|
+
this.timeChange.emit(this._withHours((this.hours() + 1) % 24));
|
|
4765
4923
|
}
|
|
4766
4924
|
decrementHours() {
|
|
4767
|
-
this.timeChange.emit(
|
|
4925
|
+
this.timeChange.emit(this._withHours((this.hours() + 23) % 24));
|
|
4768
4926
|
}
|
|
4769
4927
|
incrementMinutes() {
|
|
4770
4928
|
this.timeChange.emit(setMinutes(this._baseDate, (this.minutes() + 1) % 60));
|
|
@@ -4772,12 +4930,20 @@ class TimePicker {
|
|
|
4772
4930
|
decrementMinutes() {
|
|
4773
4931
|
this.timeChange.emit(setMinutes(this._baseDate, (this.minutes() + 59) % 60));
|
|
4774
4932
|
}
|
|
4933
|
+
/** Flips between the morning and afternoon half of the day, keeping the hour on the dial. */
|
|
4934
|
+
toggleDayPeriod() {
|
|
4935
|
+
this.timeChange.emit(this._withHours((this.hours() + HOURS_PER_HALF_DAY) % 24));
|
|
4936
|
+
}
|
|
4937
|
+
// Private methods
|
|
4938
|
+
_withHours(hours) {
|
|
4939
|
+
return setHours(this._baseDate, hours);
|
|
4940
|
+
}
|
|
4775
4941
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: TimePicker, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
4776
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.
|
|
4942
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.5", type: TimePicker, isStandalone: true, selector: "tls-time-picker", inputs: { value: { classPropertyName: "value", publicName: "value", isSignal: true, isRequired: true, transformFunction: null } }, outputs: { timeChange: "timeChange" }, host: { classAttribute: "tls-time-picker" }, ngImport: i0, template: "<div class=\"tls-time-picker__column\">\n <button type=\"button\" class=\"tls-time-picker__arrow\" (click)=\"incrementHours()\">\n <tls-icon name=\"chevron-up\" aria-hidden=\"true\" />\n </button>\n <span class=\"tls-time-picker__value\">{{ hoursLabel() }}</span>\n <button type=\"button\" class=\"tls-time-picker__arrow\" (click)=\"decrementHours()\">\n <tls-icon name=\"chevron-down\" aria-hidden=\"true\" />\n </button>\n</div>\n\n<span class=\"tls-time-picker__separator\">:</span>\n\n<div class=\"tls-time-picker__column\">\n <button type=\"button\" class=\"tls-time-picker__arrow\" (click)=\"incrementMinutes()\">\n <tls-icon name=\"chevron-up\" aria-hidden=\"true\" />\n </button>\n <span class=\"tls-time-picker__value\">{{ minutesLabel() }}</span>\n <button type=\"button\" class=\"tls-time-picker__arrow\" (click)=\"decrementMinutes()\">\n <tls-icon name=\"chevron-down\" aria-hidden=\"true\" />\n </button>\n</div>\n\n@if (hour12) {\n <button type=\"button\" class=\"tls-time-picker__day-period\" (click)=\"toggleDayPeriod()\">\n {{ dayPeriodLabel() }}\n </button>\n}\n", dependencies: [{ kind: "component", type: Icon, selector: "tls-icon", inputs: ["name", "iconSrc", "alt", "allowedSources"] }] });
|
|
4777
4943
|
}
|
|
4778
4944
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: TimePicker, decorators: [{
|
|
4779
4945
|
type: Component,
|
|
4780
|
-
args: [{ selector: 'tls-time-picker', imports: [Icon], host: { class: 'tls-time-picker' }, template: "<div class=\"tls-time-picker__column\">\n <button type=\"button\" class=\"tls-time-picker__arrow\" (click)=\"incrementHours()\">\n <tls-icon name=\"chevron-up\" aria-hidden=\"true\" />\n </button>\n <span class=\"tls-time-picker__value\">{{ hoursLabel() }}</span>\n <button type=\"button\" class=\"tls-time-picker__arrow\" (click)=\"decrementHours()\">\n <tls-icon name=\"chevron-down\" aria-hidden=\"true\" />\n </button>\n</div>\n\n<span class=\"tls-time-picker__separator\">:</span>\n\n<div class=\"tls-time-picker__column\">\n <button type=\"button\" class=\"tls-time-picker__arrow\" (click)=\"incrementMinutes()\">\n <tls-icon name=\"chevron-up\" aria-hidden=\"true\" />\n </button>\n <span class=\"tls-time-picker__value\">{{ minutesLabel() }}</span>\n <button type=\"button\" class=\"tls-time-picker__arrow\" (click)=\"decrementMinutes()\">\n <tls-icon name=\"chevron-down\" aria-hidden=\"true\" />\n </button>\n</div>\n" }]
|
|
4946
|
+
args: [{ selector: 'tls-time-picker', imports: [Icon], host: { class: 'tls-time-picker' }, template: "<div class=\"tls-time-picker__column\">\n <button type=\"button\" class=\"tls-time-picker__arrow\" (click)=\"incrementHours()\">\n <tls-icon name=\"chevron-up\" aria-hidden=\"true\" />\n </button>\n <span class=\"tls-time-picker__value\">{{ hoursLabel() }}</span>\n <button type=\"button\" class=\"tls-time-picker__arrow\" (click)=\"decrementHours()\">\n <tls-icon name=\"chevron-down\" aria-hidden=\"true\" />\n </button>\n</div>\n\n<span class=\"tls-time-picker__separator\">:</span>\n\n<div class=\"tls-time-picker__column\">\n <button type=\"button\" class=\"tls-time-picker__arrow\" (click)=\"incrementMinutes()\">\n <tls-icon name=\"chevron-up\" aria-hidden=\"true\" />\n </button>\n <span class=\"tls-time-picker__value\">{{ minutesLabel() }}</span>\n <button type=\"button\" class=\"tls-time-picker__arrow\" (click)=\"decrementMinutes()\">\n <tls-icon name=\"chevron-down\" aria-hidden=\"true\" />\n </button>\n</div>\n\n@if (hour12) {\n <button type=\"button\" class=\"tls-time-picker__day-period\" (click)=\"toggleDayPeriod()\">\n {{ dayPeriodLabel() }}\n </button>\n}\n" }]
|
|
4781
4947
|
}], propDecorators: { value: [{ type: i0.Input, args: [{ isSignal: true, alias: "value", required: true }] }], timeChange: [{ type: i0.Output, args: ["timeChange"] }] } });
|
|
4782
4948
|
|
|
4783
4949
|
class YearPicker {
|
|
@@ -4834,6 +5000,9 @@ class DateTimePicker extends ValueFormControl {
|
|
|
4834
5000
|
config = inject(DATE_TIME_PICKER_CONFIG);
|
|
4835
5001
|
_locale = inject(LOCALE_CONFIG);
|
|
4836
5002
|
_dateOptions = localeFormatOptions(this._locale);
|
|
5003
|
+
_timeFormat = isHour12(this._locale)
|
|
5004
|
+
? TIME_LABEL_FORMAT_12
|
|
5005
|
+
: TIME_LABEL_FORMAT_24;
|
|
4837
5006
|
// View children
|
|
4838
5007
|
popoverComponent = viewChild('popoverRef', /* @ts-ignore */
|
|
4839
5008
|
...(ngDevMode ? [{ debugName: "popoverComponent" }] : /* istanbul ignore next */ []));
|
|
@@ -4877,14 +5046,14 @@ class DateTimePicker extends ValueFormControl {
|
|
|
4877
5046
|
return this.placeholder();
|
|
4878
5047
|
const mode = this.mode();
|
|
4879
5048
|
if (mode === 'calendar')
|
|
4880
|
-
return format(value,
|
|
5049
|
+
return format(value, DATE_LABEL_FORMAT, this._dateOptions);
|
|
4881
5050
|
if (mode === 'month-picker')
|
|
4882
|
-
return format(value,
|
|
5051
|
+
return format(value, MONTH_LABEL_FORMAT, this._dateOptions);
|
|
4883
5052
|
if (mode === 'year-picker')
|
|
4884
|
-
return format(value,
|
|
5053
|
+
return format(value, YEAR_LABEL_FORMAT, this._dateOptions);
|
|
4885
5054
|
if (mode === 'time-picker')
|
|
4886
|
-
return format(value,
|
|
4887
|
-
return format(value,
|
|
5055
|
+
return format(value, this._timeFormat, this._dateOptions);
|
|
5056
|
+
return format(value, `${DATE_LABEL_FORMAT} ${this._timeFormat}`, this._dateOptions);
|
|
4888
5057
|
}, /* @ts-ignore */
|
|
4889
5058
|
...(ngDevMode ? [{ debugName: "triggerLabel" }] : /* istanbul ignore next */ []));
|
|
4890
5059
|
constructor() {
|
|
@@ -8849,5 +9018,5 @@ const provideThalassicUIConfig = (config = {}) => {
|
|
|
8849
9018
|
* Generated bundle index. Do not edit.
|
|
8850
9019
|
*/
|
|
8851
9020
|
|
|
8852
|
-
export { ACTIVITY_HEATMAP_CONFIG, ALERT_CONFIG, AUTOCOMPLETE_CONFIG, ActivityHeatmap, 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_ACTIVITY_HEATMAP_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_HIGHLIGHT_CONFIG, DEFAULT_ICONS, DEFAULT_ICON_CONFIG, DEFAULT_IMAGE_COMPARE_CONFIG, DEFAULT_INPUT_CONFIG, DEFAULT_INPUT_NUMBER_CONFIG, DEFAULT_KBD_CONFIG, DEFAULT_LOADER_CONFIG, DEFAULT_MARK_CONFIG, DEFAULT_MENU_CONFIG, DEFAULT_MULTI_SELECT_CONFIG, DEFAULT_ODOMETER_CONFIG, DEFAULT_PAGINATION_CONFIG, DEFAULT_PAGINATION_QUERY_SYNC_CONFIG, DEFAULT_PASSWORD_CONFIG, DEFAULT_PIN_INPUT_CONFIG, DEFAULT_POPOVER_CONFIG, DEFAULT_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_TAB_NAV_CONFIG, DEFAULT_TEXTAREA_CONFIG, DEFAULT_TOAST_CONFIG, DEFAULT_TOGGLE_BUTTON_CONFIG, DEFAULT_TOGGLE_GROUP_CONFIG, DEFAULT_TOOLTIP_CONFIG, DEFAULT_TOOLTIP_CONTENT_ATTRIBUTE, DIALOG_CONFIG, DIVIDER_CONFIG, DRAWER_CONFIG, DateTimePicker, Dialog, DialogService, Divider, Drawer, DrawerRef, DrawerService, FILE_INPUT_CONFIG, FORM_CONTROL, FORM_CONTROL_CONFIG, FORM_CONTROL_GROUP_CONFIG, FORM_ITEM_CONFIG, FileInput, FormControl, FormControlAddon, FormControlGroup, FormItem, HIGHLIGHT_CONFIG, Highlight, 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, MARK_CONFIG, MASK_TOKENS, MENU_CONFIG, MULTI_SELECT_CONFIG, Mark, MaskDirective, Menu, MenuItemComponent, MenuTriggerDirective, MultiSelect, ODOMETER_CONFIG, Odometer, PAGINATION_CONFIG, PAGINATION_QUERY_SYNC_CONFIG, PASSWORD_CONFIG, PIN_INPUT_CONFIG, POPOVER_CONFIG, 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, TAB_NAV_CONFIG, TEXTAREA_CONFIG, TOAST_CONFIG, TOGGLE_BUTTON_CONFIG, TOGGLE_GROUP_CONFIG, TOOLTIP_CONFIG, Tab, TabLinkDirective, TabNavDirective, Table, TableColumn, Tabs, TabsQuerySyncDirective, Textarea, Toast, ToastOutlet, ToastService, ToggleButton, ToggleGroup, TooltipDelegateDirective, TooltipDirective, TooltipTrigger, ValueFormControl, aggregateActivityEntries, applyMask, buildActivityMonthSegments, buildActivityThresholds, provideThalassicIcons, provideThalassicUIConfig, resolveActivityLevel };
|
|
9021
|
+
export { ACTIVITY_HEATMAP_CONFIG, ALERT_CONFIG, AUTOCOMPLETE_CONFIG, ActivityHeatmap, 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_ACTIVITY_HEATMAP_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_HIGHLIGHT_CONFIG, DEFAULT_ICONS, DEFAULT_ICON_CONFIG, DEFAULT_IMAGE_COMPARE_CONFIG, DEFAULT_INPUT_CONFIG, DEFAULT_INPUT_NUMBER_CONFIG, DEFAULT_KBD_CONFIG, DEFAULT_LOADER_CONFIG, DEFAULT_MARK_CONFIG, DEFAULT_MENU_CONFIG, DEFAULT_MULTI_SELECT_CONFIG, DEFAULT_ODOMETER_CONFIG, DEFAULT_PAGINATION_CONFIG, DEFAULT_PAGINATION_QUERY_SYNC_CONFIG, DEFAULT_PASSWORD_CONFIG, DEFAULT_PIN_INPUT_CONFIG, DEFAULT_POPOVER_CONFIG, DEFAULT_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_TAB_NAV_CONFIG, DEFAULT_TEXTAREA_CONFIG, DEFAULT_TOAST_CONFIG, DEFAULT_TOGGLE_BUTTON_CONFIG, DEFAULT_TOGGLE_GROUP_CONFIG, DEFAULT_TOOLTIP_CONFIG, DEFAULT_TOOLTIP_CONTENT_ATTRIBUTE, DIALOG_CONFIG, DIVIDER_CONFIG, DRAWER_CONFIG, DateTimePicker, Dialog, DialogBody, DialogFooter, DialogHeader, DialogService, DialogTitleDirective, Divider, Drawer, DrawerRef, DrawerService, FILE_INPUT_CONFIG, FORM_CONTROL, FORM_CONTROL_CONFIG, FORM_CONTROL_GROUP_CONFIG, FORM_ITEM_CONFIG, FileInput, FormControl, FormControlAddon, FormControlGroup, FormItem, HIGHLIGHT_CONFIG, Highlight, 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, MARK_CONFIG, MASK_TOKENS, MENU_CONFIG, MULTI_SELECT_CONFIG, Mark, MaskDirective, Menu, MenuItemComponent, MenuTriggerDirective, MultiSelect, ODOMETER_CONFIG, Odometer, PAGINATION_CONFIG, PAGINATION_QUERY_SYNC_CONFIG, PASSWORD_CONFIG, PIN_INPUT_CONFIG, POPOVER_CONFIG, 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, TAB_NAV_CONFIG, TEXTAREA_CONFIG, TOAST_CONFIG, TOGGLE_BUTTON_CONFIG, TOGGLE_GROUP_CONFIG, TOOLTIP_CONFIG, Tab, TabLinkDirective, TabNavDirective, Table, TableColumn, Tabs, TabsQuerySyncDirective, Textarea, Toast, ToastOutlet, ToastService, ToggleButton, ToggleGroup, TooltipDelegateDirective, TooltipDirective, TooltipTrigger, ValueFormControl, aggregateActivityEntries, applyMask, buildActivityMonthSegments, buildActivityThresholds, provideThalassicIcons, provideThalassicUIConfig, resolveActivityLevel };
|
|
8853
9022
|
//# sourceMappingURL=thalassic-ui.mjs.map
|