@thalassic/ui 22.18.0 → 22.18.1
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 +209 -152
- package/fesm2022/thalassic-ui.mjs.map +1 -1
- package/package.json +1 -1
- package/types/thalassic-ui.d.ts +90 -65
|
@@ -2127,157 +2127,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.5", ngImpor
|
|
|
2127
2127
|
}, template: "<div class=\"tls-activity-heatmap__viewport\">\n <div class=\"tls-activity-heatmap__chart\" [style.--tls-activity-heatmap-weeks]=\"weekCount()\">\n @if (showMonthLabels()) {\n <!-- Month headings repeat the dates already announced on every cell, so they stay decorative. -->\n <div class=\"tls-activity-heatmap__months\" aria-hidden=\"true\">\n @for (month of months(); track month.column) {\n <span\n class=\"tls-activity-heatmap__month\"\n [style.grid-column]=\"month.column + ' / span ' + month.span\"\n >\n {{ month.label }}\n </span>\n }\n </div>\n }\n\n @if (showWeekdayLabels()) {\n <div class=\"tls-activity-heatmap__weekdays\" aria-hidden=\"true\">\n @for (row of rows(); track $index) {\n <span class=\"tls-activity-heatmap__weekday\">{{ row.label }}</span>\n }\n </div>\n }\n\n <!-- One delegated tooltip serves every cell, so a year of days costs a single directive\n and overlay service instead of one per cell. -->\n <div\n ngGrid\n tlsTooltipDelegate\n class=\"tls-activity-heatmap__grid\"\n rowWrap=\"nowrap\"\n colWrap=\"nowrap\"\n [tooltipDisabled]=\"!showTooltip()\"\n [attr.aria-label]=\"gridLabel() ?? null\"\n [attr.aria-labelledby]=\"ariaLabelledby() ?? null\"\n >\n @for (row of rows(); track $index) {\n <div ngGridRow class=\"tls-activity-heatmap__row\">\n @for (day of row.days; track day.date.getTime()) {\n <!-- Padding days stay navigable so arrow keys never dead-end on the grid's corners;\n they are only unselectable and announce themselves as outside the range. -->\n <!-- eslint-disable-next-line @angular-eslint/template/interactive-supports-focus -- ngGridCell manages role and roving tabindex -->\n <div\n ngGridCell\n class=\"tls-activity-heatmap__day\"\n [class.tls-activity-heatmap__day--outside]=\"!day.inRange\"\n [class.tls-activity-heatmap__day--today]=\"day.isToday\"\n [selectable]=\"day.inRange\"\n [style.--tls-activity-heatmap-intensity]=\"intensity(day.level)\"\n [attr.aria-label]=\"day.label\"\n [attr.data-tooltip]=\"day.inRange ? day.label : null\"\n (click)=\"onDaySelect(day)\"\n (keydown.enter)=\"onDaySelect(day)\"\n (keydown.space)=\"onDaySpace($event, day)\"\n ></div>\n }\n </div>\n }\n </div>\n </div>\n</div>\n\n@if (showLegend()) {\n <div class=\"tls-activity-heatmap__legend\">\n <span class=\"tls-activity-heatmap__legend-label\">{{ legendLess }}</span>\n\n <!-- Sample swatches carry no information the \"less \u2026 more\" captions don't already give. -->\n @for (level of legendLevels(); track level) {\n <span\n class=\"tls-activity-heatmap__legend-swatch\"\n aria-hidden=\"true\"\n [style.--tls-activity-heatmap-intensity]=\"intensity(level)\"\n ></span>\n }\n\n <span class=\"tls-activity-heatmap__legend-label\">{{ legendMore }}</span>\n </div>\n}\n" }]
|
|
2128
2128
|
}], propDecorators: { entries: [{ type: i0.Input, args: [{ isSignal: true, alias: "entries", required: false }] }], startDate: [{ type: i0.Input, args: [{ isSignal: true, alias: "startDate", required: false }] }], endDate: [{ type: i0.Input, args: [{ isSignal: true, alias: "endDate", required: false }] }], levels: [{ type: i0.Input, args: [{ isSignal: true, alias: "levels", required: false }] }], thresholds: [{ type: i0.Input, args: [{ isSignal: true, alias: "thresholds", required: false }] }], weekStartsOn: [{ type: i0.Input, args: [{ isSignal: true, alias: "weekStartsOn", required: false }] }], weekDays: [{ type: i0.Input, args: [{ isSignal: true, alias: "weekDays", required: false }] }], weekdayLabelInterval: [{ type: i0.Input, args: [{ isSignal: true, alias: "weekdayLabelInterval", required: false }] }], color: [{ type: i0.Input, args: [{ isSignal: true, alias: "color", required: false }] }], size: [{ type: i0.Input, args: [{ isSignal: true, alias: "size", required: false }] }], showMonthLabels: [{ type: i0.Input, args: [{ isSignal: true, alias: "showMonthLabels", required: false }] }], showWeekdayLabels: [{ type: i0.Input, args: [{ isSignal: true, alias: "showWeekdayLabels", required: false }] }], showLegend: [{ type: i0.Input, args: [{ isSignal: true, alias: "showLegend", required: false }] }], showTooltip: [{ type: i0.Input, args: [{ isSignal: true, alias: "showTooltip", required: false }] }], ariaLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "ariaLabel", required: false }] }], ariaLabelledby: [{ type: i0.Input, args: [{ isSignal: true, alias: "ariaLabelledby", required: false }] }], daySelect: [{ type: i0.Output, args: ["daySelect"] }] } });
|
|
2129
2129
|
|
|
2130
|
-
const DEFAULT_ALERT_CONFIG = {
|
|
2131
|
-
color: 'primary',
|
|
2132
|
-
label: {
|
|
2133
|
-
primary: '',
|
|
2134
|
-
secondary: '',
|
|
2135
|
-
tertiary: '',
|
|
2136
|
-
success: 'TIP: ',
|
|
2137
|
-
info: 'INFO: ',
|
|
2138
|
-
warning: 'WARNING: ',
|
|
2139
|
-
danger: 'IMPORTANT: ',
|
|
2140
|
-
},
|
|
2141
|
-
hideLabel: false,
|
|
2142
|
-
};
|
|
2143
|
-
|
|
2144
|
-
const ALERT_CONFIG = new InjectionToken('ALERT_CONFIG', {
|
|
2145
|
-
factory: () => DEFAULT_ALERT_CONFIG,
|
|
2146
|
-
});
|
|
2147
|
-
|
|
2148
|
-
class Alert {
|
|
2149
|
-
_config = inject(ALERT_CONFIG);
|
|
2150
|
-
color = input(this._config.color, /* @ts-ignore */
|
|
2151
|
-
...(ngDevMode ? [{ debugName: "color" }] : /* istanbul ignore next */ []));
|
|
2152
|
-
label = input(typeof this._config.label === 'string' ? this._config.label : null, /* @ts-ignore */
|
|
2153
|
-
...(ngDevMode ? [{ debugName: "label" }] : /* istanbul ignore next */ []));
|
|
2154
|
-
hideLabel = input(this._config.hideLabel, { ...(ngDevMode ? { debugName: "hideLabel" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
|
|
2155
|
-
displayLabel = computed(() => {
|
|
2156
|
-
const label = this.label();
|
|
2157
|
-
if (label)
|
|
2158
|
-
return label;
|
|
2159
|
-
if (typeof this._config.label === 'object') {
|
|
2160
|
-
return this._config.label[this.color()];
|
|
2161
|
-
}
|
|
2162
|
-
return '';
|
|
2163
|
-
}, /* @ts-ignore */
|
|
2164
|
-
...(ngDevMode ? [{ debugName: "displayLabel" }] : /* istanbul ignore next */ []));
|
|
2165
|
-
hostClasses = computed(() => {
|
|
2166
|
-
const className = 'tls-alert';
|
|
2167
|
-
const array = [className];
|
|
2168
|
-
array.push(`${className}--${this.color()}`);
|
|
2169
|
-
return array;
|
|
2170
|
-
}, /* @ts-ignore */
|
|
2171
|
-
...(ngDevMode ? [{ debugName: "hostClasses" }] : /* istanbul ignore next */ []));
|
|
2172
|
-
hostRole = computed(() => {
|
|
2173
|
-
const urgent = ['danger', 'warning'];
|
|
2174
|
-
return urgent.includes(this.color()) ? 'alert' : 'note';
|
|
2175
|
-
}, /* @ts-ignore */
|
|
2176
|
-
...(ngDevMode ? [{ debugName: "hostRole" }] : /* istanbul ignore next */ []));
|
|
2177
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: Alert, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
2178
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.5", type: Alert, isStandalone: true, selector: "tls-alert", inputs: { color: { classPropertyName: "color", publicName: "color", isSignal: true, isRequired: false, transformFunction: null }, label: { classPropertyName: "label", publicName: "label", isSignal: true, isRequired: false, transformFunction: null }, hideLabel: { classPropertyName: "hideLabel", publicName: "hideLabel", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "class": "hostClasses()", "attr.role": "hostRole()", "attr.aria-label": "hideLabel() ? displayLabel() : null" } }, ngImport: i0, template: "<div class=\"tls-alert-icon\"></div>\n<div class=\"tls-alert-body\">\n @if (!hideLabel()) {\n <span class=\"tls-alert-body__label\">{{ displayLabel() }}</span>\n }\n <span class=\"tls-alert-body__content\">\n <ng-content></ng-content>\n </span>\n</div>\n" });
|
|
2179
|
-
}
|
|
2180
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: Alert, decorators: [{
|
|
2181
|
-
type: Component,
|
|
2182
|
-
args: [{ selector: 'tls-alert', imports: [], host: {
|
|
2183
|
-
'[class]': 'hostClasses()',
|
|
2184
|
-
'[attr.role]': 'hostRole()',
|
|
2185
|
-
'[attr.aria-label]': 'hideLabel() ? displayLabel() : null',
|
|
2186
|
-
}, template: "<div class=\"tls-alert-icon\"></div>\n<div class=\"tls-alert-body\">\n @if (!hideLabel()) {\n <span class=\"tls-alert-body__label\">{{ displayLabel() }}</span>\n }\n <span class=\"tls-alert-body__content\">\n <ng-content></ng-content>\n </span>\n</div>\n" }]
|
|
2187
|
-
}], propDecorators: { color: [{ type: i0.Input, args: [{ isSignal: true, alias: "color", required: false }] }], label: [{ type: i0.Input, args: [{ isSignal: true, alias: "label", required: false }] }], hideLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "hideLabel", required: false }] }] } });
|
|
2188
|
-
|
|
2189
|
-
const DEFAULT_BADGE_CONFIG = {
|
|
2190
|
-
color: 'primary',
|
|
2191
|
-
variant: 'filled',
|
|
2192
|
-
position: 'top-end',
|
|
2193
|
-
size: 'md',
|
|
2194
|
-
max: 99,
|
|
2195
|
-
};
|
|
2196
|
-
|
|
2197
|
-
const BADGE_CONFIG = new InjectionToken('BADGE_CONFIG', {
|
|
2198
|
-
factory: () => DEFAULT_BADGE_CONFIG,
|
|
2199
|
-
});
|
|
2200
|
-
|
|
2201
|
-
class Badge {
|
|
2202
|
-
// Injections
|
|
2203
|
-
_config = inject(BADGE_CONFIG);
|
|
2204
|
-
// Inputs
|
|
2205
|
-
value = input(/* @ts-ignore */
|
|
2206
|
-
...(ngDevMode ? [undefined, { debugName: "value" }] : /* istanbul ignore next */ []));
|
|
2207
|
-
max = input(this._config.max, /* @ts-ignore */
|
|
2208
|
-
...(ngDevMode ? [{ debugName: "max" }] : /* istanbul ignore next */ []));
|
|
2209
|
-
color = input(this._config.color, /* @ts-ignore */
|
|
2210
|
-
...(ngDevMode ? [{ debugName: "color" }] : /* istanbul ignore next */ []));
|
|
2211
|
-
variant = input(this._config.variant, /* @ts-ignore */
|
|
2212
|
-
...(ngDevMode ? [{ debugName: "variant" }] : /* istanbul ignore next */ []));
|
|
2213
|
-
position = input(this._config.position, /* @ts-ignore */
|
|
2214
|
-
...(ngDevMode ? [{ debugName: "position" }] : /* istanbul ignore next */ []));
|
|
2215
|
-
size = input(this._config.size, /* @ts-ignore */
|
|
2216
|
-
...(ngDevMode ? [{ debugName: "size" }] : /* istanbul ignore next */ []));
|
|
2217
|
-
dot = input(false, { ...(ngDevMode ? { debugName: "dot" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
|
|
2218
|
-
showZero = input(false, { ...(ngDevMode ? { debugName: "showZero" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
|
|
2219
|
-
hidden = input(false, { ...(ngDevMode ? { debugName: "hidden" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
|
|
2220
|
-
inset = input(false, { ...(ngDevMode ? { debugName: "inset" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
|
|
2221
|
-
bordered = input(false, { ...(ngDevMode ? { debugName: "bordered" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
|
|
2222
|
-
ariaLabel = input(undefined, /* @ts-ignore */
|
|
2223
|
-
...(ngDevMode ? [{ debugName: "ariaLabel" }] : /* istanbul ignore next */ []));
|
|
2224
|
-
// Computed
|
|
2225
|
-
visible = computed(() => {
|
|
2226
|
-
if (this.hidden())
|
|
2227
|
-
return false;
|
|
2228
|
-
if (this.dot())
|
|
2229
|
-
return true;
|
|
2230
|
-
const value = this.value();
|
|
2231
|
-
if (value === undefined || value === '')
|
|
2232
|
-
return false;
|
|
2233
|
-
if (typeof value === 'number' && value === 0 && !this.showZero())
|
|
2234
|
-
return false;
|
|
2235
|
-
if (value === '0' && !this.showZero())
|
|
2236
|
-
return false;
|
|
2237
|
-
return true;
|
|
2238
|
-
}, /* @ts-ignore */
|
|
2239
|
-
...(ngDevMode ? [{ debugName: "visible" }] : /* istanbul ignore next */ []));
|
|
2240
|
-
displayValue = computed(() => {
|
|
2241
|
-
if (this.dot())
|
|
2242
|
-
return '';
|
|
2243
|
-
const value = this.value();
|
|
2244
|
-
if (typeof value === 'number' && value > this.max())
|
|
2245
|
-
return `${this.max()}+`;
|
|
2246
|
-
return `${value}`;
|
|
2247
|
-
}, /* @ts-ignore */
|
|
2248
|
-
...(ngDevMode ? [{ debugName: "displayValue" }] : /* istanbul ignore next */ []));
|
|
2249
|
-
decorative = computed(() => {
|
|
2250
|
-
if (this.ariaLabel())
|
|
2251
|
-
return false;
|
|
2252
|
-
return this.dot();
|
|
2253
|
-
}, /* @ts-ignore */
|
|
2254
|
-
...(ngDevMode ? [{ debugName: "decorative" }] : /* istanbul ignore next */ []));
|
|
2255
|
-
hostClasses = computed(() => {
|
|
2256
|
-
const className = 'tls-badge';
|
|
2257
|
-
const array = [className];
|
|
2258
|
-
array.push(`${className}--${this.color()}`);
|
|
2259
|
-
array.push(`${className}--${this.variant()}`);
|
|
2260
|
-
array.push(`${className}--${this.position()}`);
|
|
2261
|
-
array.push(`${className}--${this.size()}`);
|
|
2262
|
-
if (this.dot())
|
|
2263
|
-
array.push(`${className}--dot`);
|
|
2264
|
-
if (this.inset())
|
|
2265
|
-
array.push(`${className}--inset`);
|
|
2266
|
-
if (this.bordered())
|
|
2267
|
-
array.push(`${className}--bordered`);
|
|
2268
|
-
return array;
|
|
2269
|
-
}, /* @ts-ignore */
|
|
2270
|
-
...(ngDevMode ? [{ debugName: "hostClasses" }] : /* istanbul ignore next */ []));
|
|
2271
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: Badge, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
2272
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.5", type: Badge, isStandalone: true, selector: "tls-badge", inputs: { value: { classPropertyName: "value", publicName: "value", isSignal: true, isRequired: false, transformFunction: null }, max: { classPropertyName: "max", publicName: "max", isSignal: true, isRequired: false, transformFunction: null }, color: { classPropertyName: "color", publicName: "color", isSignal: true, isRequired: false, transformFunction: null }, variant: { classPropertyName: "variant", publicName: "variant", isSignal: true, isRequired: false, transformFunction: null }, position: { classPropertyName: "position", publicName: "position", isSignal: true, isRequired: false, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null }, dot: { classPropertyName: "dot", publicName: "dot", isSignal: true, isRequired: false, transformFunction: null }, showZero: { classPropertyName: "showZero", publicName: "showZero", isSignal: true, isRequired: false, transformFunction: null }, hidden: { classPropertyName: "hidden", publicName: "hidden", isSignal: true, isRequired: false, transformFunction: null }, inset: { classPropertyName: "inset", publicName: "inset", isSignal: true, isRequired: false, transformFunction: null }, bordered: { classPropertyName: "bordered", publicName: "bordered", isSignal: true, isRequired: false, transformFunction: null }, ariaLabel: { classPropertyName: "ariaLabel", publicName: "ariaLabel", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "class": "hostClasses()" } }, ngImport: i0, template: "<ng-content />\n\n@if (visible()) {\n <span\n class=\"tls-badge__indicator\"\n role=\"status\"\n [attr.aria-label]=\"ariaLabel() ?? null\"\n [attr.aria-hidden]=\"decorative() ? 'true' : null\"\n animate.enter=\"tls-badge__indicator--enter\"\n animate.leave=\"tls-badge__indicator--leave\"\n >\n @if (!dot()) {\n {{ displayValue() }}\n }\n </span>\n}\n" });
|
|
2273
|
-
}
|
|
2274
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: Badge, decorators: [{
|
|
2275
|
-
type: Component,
|
|
2276
|
-
args: [{ selector: 'tls-badge', imports: [], host: {
|
|
2277
|
-
'[class]': 'hostClasses()',
|
|
2278
|
-
}, template: "<ng-content />\n\n@if (visible()) {\n <span\n class=\"tls-badge__indicator\"\n role=\"status\"\n [attr.aria-label]=\"ariaLabel() ?? null\"\n [attr.aria-hidden]=\"decorative() ? 'true' : null\"\n animate.enter=\"tls-badge__indicator--enter\"\n animate.leave=\"tls-badge__indicator--leave\"\n >\n @if (!dot()) {\n {{ displayValue() }}\n }\n </span>\n}\n" }]
|
|
2279
|
-
}], propDecorators: { value: [{ type: i0.Input, args: [{ isSignal: true, alias: "value", required: false }] }], max: [{ type: i0.Input, args: [{ isSignal: true, alias: "max", required: false }] }], color: [{ type: i0.Input, args: [{ isSignal: true, alias: "color", required: false }] }], variant: [{ type: i0.Input, args: [{ isSignal: true, alias: "variant", required: false }] }], position: [{ type: i0.Input, args: [{ isSignal: true, alias: "position", required: false }] }], size: [{ type: i0.Input, args: [{ isSignal: true, alias: "size", required: false }] }], dot: [{ type: i0.Input, args: [{ isSignal: true, alias: "dot", required: false }] }], showZero: [{ type: i0.Input, args: [{ isSignal: true, alias: "showZero", required: false }] }], hidden: [{ type: i0.Input, args: [{ isSignal: true, alias: "hidden", required: false }] }], inset: [{ type: i0.Input, args: [{ isSignal: true, alias: "inset", required: false }] }], bordered: [{ type: i0.Input, args: [{ isSignal: true, alias: "bordered", required: false }] }], ariaLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "ariaLabel", required: false }] }] } });
|
|
2280
|
-
|
|
2281
2130
|
/**
|
|
2282
2131
|
* Built-in SVG for every {@link systemIcon}. A coherent 24×24 stroked set drawn
|
|
2283
2132
|
* with `currentColor`, no intrinsic width/height so each icon scales to its
|
|
@@ -2542,6 +2391,214 @@ function provideThalassicIcons(icons) {
|
|
|
2542
2391
|
return makeEnvironmentProviders([{ provide: ICON_REGISTRY, useValue: icons }]);
|
|
2543
2392
|
}
|
|
2544
2393
|
|
|
2394
|
+
/**
|
|
2395
|
+
* Marks an element as the alert's leading icon. Projected content wins over the
|
|
2396
|
+
* color-derived built-in glyph, so any visual — an icon, an avatar, a spinner —
|
|
2397
|
+
* can take the icon slot.
|
|
2398
|
+
*/
|
|
2399
|
+
class AlertIcon {
|
|
2400
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: AlertIcon, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
2401
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.0.5", type: AlertIcon, isStandalone: true, selector: "[tlsAlertIcon]", host: { classAttribute: "tls-alert__icon" }, ngImport: i0 });
|
|
2402
|
+
}
|
|
2403
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: AlertIcon, decorators: [{
|
|
2404
|
+
type: Directive,
|
|
2405
|
+
args: [{
|
|
2406
|
+
selector: '[tlsAlertIcon]',
|
|
2407
|
+
host: { class: 'tls-alert__icon' },
|
|
2408
|
+
}]
|
|
2409
|
+
}] });
|
|
2410
|
+
|
|
2411
|
+
const DEFAULT_ALERT_CONFIG = {
|
|
2412
|
+
color: 'primary',
|
|
2413
|
+
label: {
|
|
2414
|
+
primary: '',
|
|
2415
|
+
secondary: '',
|
|
2416
|
+
tertiary: '',
|
|
2417
|
+
success: 'TIP: ',
|
|
2418
|
+
info: 'INFO: ',
|
|
2419
|
+
warning: 'WARNING: ',
|
|
2420
|
+
danger: 'IMPORTANT: ',
|
|
2421
|
+
},
|
|
2422
|
+
hideLabel: false,
|
|
2423
|
+
icon: {
|
|
2424
|
+
primary: 'info',
|
|
2425
|
+
secondary: 'info',
|
|
2426
|
+
tertiary: 'info',
|
|
2427
|
+
success: 'success',
|
|
2428
|
+
info: 'info',
|
|
2429
|
+
warning: 'warning',
|
|
2430
|
+
danger: 'error',
|
|
2431
|
+
},
|
|
2432
|
+
hideIcon: false,
|
|
2433
|
+
};
|
|
2434
|
+
|
|
2435
|
+
const ALERT_CONFIG = new InjectionToken('ALERT_CONFIG', {
|
|
2436
|
+
factory: () => DEFAULT_ALERT_CONFIG,
|
|
2437
|
+
});
|
|
2438
|
+
|
|
2439
|
+
class Alert {
|
|
2440
|
+
// Injections
|
|
2441
|
+
_config = inject(ALERT_CONFIG);
|
|
2442
|
+
// Inputs
|
|
2443
|
+
color = input(this._config.color, /* @ts-ignore */
|
|
2444
|
+
...(ngDevMode ? [{ debugName: "color" }] : /* istanbul ignore next */ []));
|
|
2445
|
+
label = input(typeof this._config.label === 'string' ? this._config.label : null, /* @ts-ignore */
|
|
2446
|
+
...(ngDevMode ? [{ debugName: "label" }] : /* istanbul ignore next */ []));
|
|
2447
|
+
hideLabel = input(this._config.hideLabel, { ...(ngDevMode ? { debugName: "hideLabel" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
|
|
2448
|
+
/** Overrides the color-derived glyph with another icon from the registry. */
|
|
2449
|
+
icon = input(/* @ts-ignore */
|
|
2450
|
+
...(ngDevMode ? [undefined, { debugName: "icon" }] : /* istanbul ignore next */ []));
|
|
2451
|
+
/** Renders an arbitrary SVG or image URL as the icon instead of a registry glyph. */
|
|
2452
|
+
iconSrc = input(/* @ts-ignore */
|
|
2453
|
+
...(ngDevMode ? [undefined, { debugName: "iconSrc" }] : /* istanbul ignore next */ []));
|
|
2454
|
+
hideIcon = input(this._config.hideIcon, { ...(ngDevMode ? { debugName: "hideIcon" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
|
|
2455
|
+
// State
|
|
2456
|
+
/** Consumer-provided visual rendered in place of the built-in icon. */
|
|
2457
|
+
projectedIcon = contentChild(AlertIcon, /* @ts-ignore */
|
|
2458
|
+
...(ngDevMode ? [{ debugName: "projectedIcon" }] : /* istanbul ignore next */ []));
|
|
2459
|
+
// Computed
|
|
2460
|
+
displayLabel = computed(() => {
|
|
2461
|
+
const label = this.label();
|
|
2462
|
+
if (label)
|
|
2463
|
+
return label;
|
|
2464
|
+
if (typeof this._config.label === 'object') {
|
|
2465
|
+
return this._config.label[this.color()];
|
|
2466
|
+
}
|
|
2467
|
+
return '';
|
|
2468
|
+
}, /* @ts-ignore */
|
|
2469
|
+
...(ngDevMode ? [{ debugName: "displayLabel" }] : /* istanbul ignore next */ []));
|
|
2470
|
+
/**
|
|
2471
|
+
* Registry glyph for the current color, or undefined when the icon comes from
|
|
2472
|
+
* `iconSrc` — `tls-icon` ignores a source as soon as a name is present.
|
|
2473
|
+
*/
|
|
2474
|
+
displayIcon = computed(() => {
|
|
2475
|
+
if (this.iconSrc())
|
|
2476
|
+
return undefined;
|
|
2477
|
+
const icon = this.icon();
|
|
2478
|
+
if (icon)
|
|
2479
|
+
return icon;
|
|
2480
|
+
const configIcon = this._config.icon;
|
|
2481
|
+
if (typeof configIcon === 'string')
|
|
2482
|
+
return configIcon;
|
|
2483
|
+
return configIcon[this.color()];
|
|
2484
|
+
}, /* @ts-ignore */
|
|
2485
|
+
...(ngDevMode ? [{ debugName: "displayIcon" }] : /* istanbul ignore next */ []));
|
|
2486
|
+
hostClasses = computed(() => {
|
|
2487
|
+
const className = 'tls-alert';
|
|
2488
|
+
const array = [className];
|
|
2489
|
+
array.push(`${className}--${this.color()}`);
|
|
2490
|
+
return array;
|
|
2491
|
+
}, /* @ts-ignore */
|
|
2492
|
+
...(ngDevMode ? [{ debugName: "hostClasses" }] : /* istanbul ignore next */ []));
|
|
2493
|
+
hostRole = computed(() => {
|
|
2494
|
+
const urgent = ['danger', 'warning'];
|
|
2495
|
+
return urgent.includes(this.color()) ? 'alert' : 'note';
|
|
2496
|
+
}, /* @ts-ignore */
|
|
2497
|
+
...(ngDevMode ? [{ debugName: "hostRole" }] : /* istanbul ignore next */ []));
|
|
2498
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: Alert, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
2499
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.5", type: Alert, isStandalone: true, selector: "tls-alert", inputs: { color: { classPropertyName: "color", publicName: "color", isSignal: true, isRequired: false, transformFunction: null }, label: { classPropertyName: "label", publicName: "label", isSignal: true, isRequired: false, transformFunction: null }, hideLabel: { classPropertyName: "hideLabel", publicName: "hideLabel", isSignal: true, isRequired: false, transformFunction: null }, icon: { classPropertyName: "icon", publicName: "icon", isSignal: true, isRequired: false, transformFunction: null }, iconSrc: { classPropertyName: "iconSrc", publicName: "iconSrc", isSignal: true, isRequired: false, transformFunction: null }, hideIcon: { classPropertyName: "hideIcon", publicName: "hideIcon", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "class": "hostClasses()", "attr.role": "hostRole()", "attr.aria-label": "hideLabel() ? displayLabel() : null" } }, queries: [{ propertyName: "projectedIcon", first: true, predicate: AlertIcon, descendants: true, isSignal: true }], ngImport: i0, template: "@if (!hideIcon()) {\n <ng-content select=\"[tlsAlertIcon]\"></ng-content>\n\n @if (!projectedIcon()) {\n <tls-icon\n class=\"tls-alert__icon\"\n [name]=\"displayIcon()\"\n [iconSrc]=\"iconSrc()\"\n aria-hidden=\"true\"\n />\n }\n}\n\n<div class=\"tls-alert__body\">\n @if (!hideLabel()) {\n <span class=\"tls-alert__label\">{{ displayLabel() }}</span>\n }\n <span class=\"tls-alert__content\">\n <ng-content></ng-content>\n </span>\n</div>\n", dependencies: [{ kind: "component", type: Icon, selector: "tls-icon", inputs: ["name", "iconSrc", "alt", "allowedSources"] }] });
|
|
2500
|
+
}
|
|
2501
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: Alert, decorators: [{
|
|
2502
|
+
type: Component,
|
|
2503
|
+
args: [{ selector: 'tls-alert', imports: [Icon], host: {
|
|
2504
|
+
'[class]': 'hostClasses()',
|
|
2505
|
+
'[attr.role]': 'hostRole()',
|
|
2506
|
+
'[attr.aria-label]': 'hideLabel() ? displayLabel() : null',
|
|
2507
|
+
}, template: "@if (!hideIcon()) {\n <ng-content select=\"[tlsAlertIcon]\"></ng-content>\n\n @if (!projectedIcon()) {\n <tls-icon\n class=\"tls-alert__icon\"\n [name]=\"displayIcon()\"\n [iconSrc]=\"iconSrc()\"\n aria-hidden=\"true\"\n />\n }\n}\n\n<div class=\"tls-alert__body\">\n @if (!hideLabel()) {\n <span class=\"tls-alert__label\">{{ displayLabel() }}</span>\n }\n <span class=\"tls-alert__content\">\n <ng-content></ng-content>\n </span>\n</div>\n" }]
|
|
2508
|
+
}], propDecorators: { color: [{ type: i0.Input, args: [{ isSignal: true, alias: "color", required: false }] }], label: [{ type: i0.Input, args: [{ isSignal: true, alias: "label", required: false }] }], hideLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "hideLabel", required: false }] }], icon: [{ type: i0.Input, args: [{ isSignal: true, alias: "icon", required: false }] }], iconSrc: [{ type: i0.Input, args: [{ isSignal: true, alias: "iconSrc", required: false }] }], hideIcon: [{ type: i0.Input, args: [{ isSignal: true, alias: "hideIcon", required: false }] }], projectedIcon: [{ type: i0.ContentChild, args: [i0.forwardRef(() => AlertIcon), { isSignal: true }] }] } });
|
|
2509
|
+
|
|
2510
|
+
const DEFAULT_BADGE_CONFIG = {
|
|
2511
|
+
color: 'primary',
|
|
2512
|
+
variant: 'filled',
|
|
2513
|
+
position: 'top-end',
|
|
2514
|
+
size: 'md',
|
|
2515
|
+
max: 99,
|
|
2516
|
+
};
|
|
2517
|
+
|
|
2518
|
+
const BADGE_CONFIG = new InjectionToken('BADGE_CONFIG', {
|
|
2519
|
+
factory: () => DEFAULT_BADGE_CONFIG,
|
|
2520
|
+
});
|
|
2521
|
+
|
|
2522
|
+
class Badge {
|
|
2523
|
+
// Injections
|
|
2524
|
+
_config = inject(BADGE_CONFIG);
|
|
2525
|
+
// Inputs
|
|
2526
|
+
value = input(/* @ts-ignore */
|
|
2527
|
+
...(ngDevMode ? [undefined, { debugName: "value" }] : /* istanbul ignore next */ []));
|
|
2528
|
+
max = input(this._config.max, /* @ts-ignore */
|
|
2529
|
+
...(ngDevMode ? [{ debugName: "max" }] : /* istanbul ignore next */ []));
|
|
2530
|
+
color = input(this._config.color, /* @ts-ignore */
|
|
2531
|
+
...(ngDevMode ? [{ debugName: "color" }] : /* istanbul ignore next */ []));
|
|
2532
|
+
variant = input(this._config.variant, /* @ts-ignore */
|
|
2533
|
+
...(ngDevMode ? [{ debugName: "variant" }] : /* istanbul ignore next */ []));
|
|
2534
|
+
position = input(this._config.position, /* @ts-ignore */
|
|
2535
|
+
...(ngDevMode ? [{ debugName: "position" }] : /* istanbul ignore next */ []));
|
|
2536
|
+
size = input(this._config.size, /* @ts-ignore */
|
|
2537
|
+
...(ngDevMode ? [{ debugName: "size" }] : /* istanbul ignore next */ []));
|
|
2538
|
+
dot = input(false, { ...(ngDevMode ? { debugName: "dot" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
|
|
2539
|
+
showZero = input(false, { ...(ngDevMode ? { debugName: "showZero" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
|
|
2540
|
+
hidden = input(false, { ...(ngDevMode ? { debugName: "hidden" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
|
|
2541
|
+
inset = input(false, { ...(ngDevMode ? { debugName: "inset" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
|
|
2542
|
+
bordered = input(false, { ...(ngDevMode ? { debugName: "bordered" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
|
|
2543
|
+
ariaLabel = input(undefined, /* @ts-ignore */
|
|
2544
|
+
...(ngDevMode ? [{ debugName: "ariaLabel" }] : /* istanbul ignore next */ []));
|
|
2545
|
+
// Computed
|
|
2546
|
+
visible = computed(() => {
|
|
2547
|
+
if (this.hidden())
|
|
2548
|
+
return false;
|
|
2549
|
+
if (this.dot())
|
|
2550
|
+
return true;
|
|
2551
|
+
const value = this.value();
|
|
2552
|
+
if (value === undefined || value === '')
|
|
2553
|
+
return false;
|
|
2554
|
+
if (typeof value === 'number' && value === 0 && !this.showZero())
|
|
2555
|
+
return false;
|
|
2556
|
+
if (value === '0' && !this.showZero())
|
|
2557
|
+
return false;
|
|
2558
|
+
return true;
|
|
2559
|
+
}, /* @ts-ignore */
|
|
2560
|
+
...(ngDevMode ? [{ debugName: "visible" }] : /* istanbul ignore next */ []));
|
|
2561
|
+
displayValue = computed(() => {
|
|
2562
|
+
if (this.dot())
|
|
2563
|
+
return '';
|
|
2564
|
+
const value = this.value();
|
|
2565
|
+
if (typeof value === 'number' && value > this.max())
|
|
2566
|
+
return `${this.max()}+`;
|
|
2567
|
+
return `${value}`;
|
|
2568
|
+
}, /* @ts-ignore */
|
|
2569
|
+
...(ngDevMode ? [{ debugName: "displayValue" }] : /* istanbul ignore next */ []));
|
|
2570
|
+
decorative = computed(() => {
|
|
2571
|
+
if (this.ariaLabel())
|
|
2572
|
+
return false;
|
|
2573
|
+
return this.dot();
|
|
2574
|
+
}, /* @ts-ignore */
|
|
2575
|
+
...(ngDevMode ? [{ debugName: "decorative" }] : /* istanbul ignore next */ []));
|
|
2576
|
+
hostClasses = computed(() => {
|
|
2577
|
+
const className = 'tls-badge';
|
|
2578
|
+
const array = [className];
|
|
2579
|
+
array.push(`${className}--${this.color()}`);
|
|
2580
|
+
array.push(`${className}--${this.variant()}`);
|
|
2581
|
+
array.push(`${className}--${this.position()}`);
|
|
2582
|
+
array.push(`${className}--${this.size()}`);
|
|
2583
|
+
if (this.dot())
|
|
2584
|
+
array.push(`${className}--dot`);
|
|
2585
|
+
if (this.inset())
|
|
2586
|
+
array.push(`${className}--inset`);
|
|
2587
|
+
if (this.bordered())
|
|
2588
|
+
array.push(`${className}--bordered`);
|
|
2589
|
+
return array;
|
|
2590
|
+
}, /* @ts-ignore */
|
|
2591
|
+
...(ngDevMode ? [{ debugName: "hostClasses" }] : /* istanbul ignore next */ []));
|
|
2592
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: Badge, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
2593
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.5", type: Badge, isStandalone: true, selector: "tls-badge", inputs: { value: { classPropertyName: "value", publicName: "value", isSignal: true, isRequired: false, transformFunction: null }, max: { classPropertyName: "max", publicName: "max", isSignal: true, isRequired: false, transformFunction: null }, color: { classPropertyName: "color", publicName: "color", isSignal: true, isRequired: false, transformFunction: null }, variant: { classPropertyName: "variant", publicName: "variant", isSignal: true, isRequired: false, transformFunction: null }, position: { classPropertyName: "position", publicName: "position", isSignal: true, isRequired: false, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null }, dot: { classPropertyName: "dot", publicName: "dot", isSignal: true, isRequired: false, transformFunction: null }, showZero: { classPropertyName: "showZero", publicName: "showZero", isSignal: true, isRequired: false, transformFunction: null }, hidden: { classPropertyName: "hidden", publicName: "hidden", isSignal: true, isRequired: false, transformFunction: null }, inset: { classPropertyName: "inset", publicName: "inset", isSignal: true, isRequired: false, transformFunction: null }, bordered: { classPropertyName: "bordered", publicName: "bordered", isSignal: true, isRequired: false, transformFunction: null }, ariaLabel: { classPropertyName: "ariaLabel", publicName: "ariaLabel", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "class": "hostClasses()" } }, ngImport: i0, template: "<ng-content />\n\n@if (visible()) {\n <span\n class=\"tls-badge__indicator\"\n role=\"status\"\n [attr.aria-label]=\"ariaLabel() ?? null\"\n [attr.aria-hidden]=\"decorative() ? 'true' : null\"\n animate.enter=\"tls-badge__indicator--enter\"\n animate.leave=\"tls-badge__indicator--leave\"\n >\n @if (!dot()) {\n {{ displayValue() }}\n }\n </span>\n}\n" });
|
|
2594
|
+
}
|
|
2595
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: Badge, decorators: [{
|
|
2596
|
+
type: Component,
|
|
2597
|
+
args: [{ selector: 'tls-badge', imports: [], host: {
|
|
2598
|
+
'[class]': 'hostClasses()',
|
|
2599
|
+
}, template: "<ng-content />\n\n@if (visible()) {\n <span\n class=\"tls-badge__indicator\"\n role=\"status\"\n [attr.aria-label]=\"ariaLabel() ?? null\"\n [attr.aria-hidden]=\"decorative() ? 'true' : null\"\n animate.enter=\"tls-badge__indicator--enter\"\n animate.leave=\"tls-badge__indicator--leave\"\n >\n @if (!dot()) {\n {{ displayValue() }}\n }\n </span>\n}\n" }]
|
|
2600
|
+
}], propDecorators: { value: [{ type: i0.Input, args: [{ isSignal: true, alias: "value", required: false }] }], max: [{ type: i0.Input, args: [{ isSignal: true, alias: "max", required: false }] }], color: [{ type: i0.Input, args: [{ isSignal: true, alias: "color", required: false }] }], variant: [{ type: i0.Input, args: [{ isSignal: true, alias: "variant", required: false }] }], position: [{ type: i0.Input, args: [{ isSignal: true, alias: "position", required: false }] }], size: [{ type: i0.Input, args: [{ isSignal: true, alias: "size", required: false }] }], dot: [{ type: i0.Input, args: [{ isSignal: true, alias: "dot", required: false }] }], showZero: [{ type: i0.Input, args: [{ isSignal: true, alias: "showZero", required: false }] }], hidden: [{ type: i0.Input, args: [{ isSignal: true, alias: "hidden", required: false }] }], inset: [{ type: i0.Input, args: [{ isSignal: true, alias: "inset", required: false }] }], bordered: [{ type: i0.Input, args: [{ isSignal: true, alias: "bordered", required: false }] }], ariaLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "ariaLabel", required: false }] }] } });
|
|
2601
|
+
|
|
2545
2602
|
const DEFAULT_BREADCRUMBS_CONFIG = {
|
|
2546
2603
|
separatorIcon: 'chevron-right',
|
|
2547
2604
|
};
|
|
@@ -10175,5 +10232,5 @@ const provideThalassicUIConfig = (config = {}) => {
|
|
|
10175
10232
|
* Generated bundle index. Do not edit.
|
|
10176
10233
|
*/
|
|
10177
10234
|
|
|
10178
|
-
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_PROGRESS_CONFIG, DEFAULT_RADIO_BUTTON_CONFIG, DEFAULT_RATING_CONFIG, DEFAULT_SELECT_CONFIG, DEFAULT_SKELETON_CONFIG, DEFAULT_SLIDER_CONFIG, DEFAULT_SPLITTER_CONFIG, DEFAULT_STEPPER_CONFIG, DEFAULT_STEPPER_LABELS, 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, DEFAULT_VIRTUAL_SCROLL_CONFIG, DIALOG_CONFIG, DIVIDER_CONFIG, DRAWER_CONFIG, DateTimePicker, Dialog, DialogBody, DialogFooter, DialogHeader, DialogRef, DialogService, DialogTitleDirective, Divider, Drawer, DrawerRef, DrawerService, FILE_INPUT_CONFIG, FORM_CONTROL, FORM_CONTROL_CONFIG, FORM_CONTROL_GROUP_CONFIG, FORM_ITEM_CONFIG, FileDropTargetDirective, 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, PROGRESS_CONFIG, Pagination, PaginationQuerySyncDirective, Password, PinInput, Popover, Progress, RADIO_BUTTON_CONFIG, RATING_CONFIG, RadioButton, Rating, SELECT_CONFIG, SKELETON_CONFIG, SLIDER_CONFIG, SPLITTER_CONFIG, STEPPER_CONFIG, SWITCH_CONFIG, Select, Skeleton, Slider, 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, VIRTUAL_SCROLL_CONFIG, ValueFormControl, VirtualScroll, acceptsFile, aggregateActivityEntries, applyMask, buildActivityMonthSegments, buildActivityThresholds, isTypeRejected, normalizeAccept, provideThalassicIcons, provideThalassicUIConfig, resolveActivityLevel };
|
|
10235
|
+
export { ACTIVITY_HEATMAP_CONFIG, ALERT_CONFIG, AUTOCOMPLETE_CONFIG, ActivityHeatmap, Alert, AlertIcon, 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_PROGRESS_CONFIG, DEFAULT_RADIO_BUTTON_CONFIG, DEFAULT_RATING_CONFIG, DEFAULT_SELECT_CONFIG, DEFAULT_SKELETON_CONFIG, DEFAULT_SLIDER_CONFIG, DEFAULT_SPLITTER_CONFIG, DEFAULT_STEPPER_CONFIG, DEFAULT_STEPPER_LABELS, 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, DEFAULT_VIRTUAL_SCROLL_CONFIG, DIALOG_CONFIG, DIVIDER_CONFIG, DRAWER_CONFIG, DateTimePicker, Dialog, DialogBody, DialogFooter, DialogHeader, DialogRef, DialogService, DialogTitleDirective, Divider, Drawer, DrawerRef, DrawerService, FILE_INPUT_CONFIG, FORM_CONTROL, FORM_CONTROL_CONFIG, FORM_CONTROL_GROUP_CONFIG, FORM_ITEM_CONFIG, FileDropTargetDirective, 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, PROGRESS_CONFIG, Pagination, PaginationQuerySyncDirective, Password, PinInput, Popover, Progress, RADIO_BUTTON_CONFIG, RATING_CONFIG, RadioButton, Rating, SELECT_CONFIG, SKELETON_CONFIG, SLIDER_CONFIG, SPLITTER_CONFIG, STEPPER_CONFIG, SWITCH_CONFIG, Select, Skeleton, Slider, 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, VIRTUAL_SCROLL_CONFIG, ValueFormControl, VirtualScroll, acceptsFile, aggregateActivityEntries, applyMask, buildActivityMonthSegments, buildActivityThresholds, isTypeRejected, normalizeAccept, provideThalassicIcons, provideThalassicUIConfig, resolveActivityLevel };
|
|
10179
10236
|
//# sourceMappingURL=thalassic-ui.mjs.map
|