@thalassic/ui 22.10.0 → 22.12.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/fesm2022/thalassic-ui.mjs +242 -26
- package/fesm2022/thalassic-ui.mjs.map +1 -1
- package/package.json +1 -1
- package/types/thalassic-ui.d.ts +157 -60
|
@@ -2,9 +2,9 @@ import * as i0 from '@angular/core';
|
|
|
2
2
|
import { InjectionToken, inject, model, input, signal, computed, booleanAttribute, Directive, ViewContainerRef, DestroyRef, viewChild, Component, Injectable, makeEnvironmentProviders, contentChild, forwardRef, output, effect, ElementRef, afterNextRender, linkedSignal, numberAttribute, Renderer2, viewChildren, contentChildren, isDevMode, untracked, TemplateRef, provideEnvironmentInitializer, PLATFORM_ID, DOCUMENT } from '@angular/core';
|
|
3
3
|
import { Overlay } from '@angular/cdk/overlay';
|
|
4
4
|
import { TemplatePortal, ComponentPortal, CdkPortalOutlet } from '@angular/cdk/portal';
|
|
5
|
-
import { takeUntilDestroyed, rxResource, toObservable } from '@angular/core/rxjs-interop';
|
|
5
|
+
import { takeUntilDestroyed, rxResource, toSignal, toObservable } from '@angular/core/rxjs-interop';
|
|
6
6
|
import { filter, throwError, map, shareReplay, of, Subscription, takeUntil } from 'rxjs';
|
|
7
|
-
import { Router, ActivatedRoute, RouterLink, NavigationStart } from '@angular/router';
|
|
7
|
+
import { Router, ActivatedRoute, RouterLink, NavigationStart, RouterLinkActive } from '@angular/router';
|
|
8
8
|
import { NgComponentOutlet, NgTemplateOutlet, LocationStrategy, isPlatformBrowser } from '@angular/common';
|
|
9
9
|
import { HttpClient } from '@angular/common/http';
|
|
10
10
|
import { DomSanitizer } from '@angular/platform-browser';
|
|
@@ -17,7 +17,7 @@ import { Directionality } from '@angular/cdk/bidi';
|
|
|
17
17
|
import { CdkTextareaAutosize } from '@angular/cdk/text-field';
|
|
18
18
|
import { Menu as Menu$1, MenuItem } from '@angular/aria/menu';
|
|
19
19
|
import * as i1 from '@angular/aria/tabs';
|
|
20
|
-
import { TabPanel, TabList, Tab as Tab$1, Tabs as Tabs$1 } from '@angular/aria/tabs';
|
|
20
|
+
import { TabPanel, TabList, Tab as Tab$1, Tabs as Tabs$1, TabContent } from '@angular/aria/tabs';
|
|
21
21
|
import { CdkTable, CdkHeaderCell, CdkCell, CdkCellDef, CdkHeaderCellDef, CdkColumnDef, CdkHeaderRow, CdkHeaderRowDef, CdkRow, CdkRowDef } from '@angular/cdk/table';
|
|
22
22
|
import { deepMerge } from '@thalassic/core';
|
|
23
23
|
|
|
@@ -1442,6 +1442,9 @@ const buildOverlayPositions = (position, offset) => {
|
|
|
1442
1442
|
}));
|
|
1443
1443
|
};
|
|
1444
1444
|
|
|
1445
|
+
/** Escapes RegExp metacharacters so the string matches literally inside a pattern. */
|
|
1446
|
+
const escapeRegularExpression = (value) => value.replace(/[.*+?^${}()|[\]\\]/g, '\\$&');
|
|
1447
|
+
|
|
1445
1448
|
/** Reorders Sunday-first weekday labels so the one for `weekStartsOn` comes first. */
|
|
1446
1449
|
const rotateWeekDays = (weekDays, weekStartsOn) => [
|
|
1447
1450
|
...weekDays.slice(weekStartsOn),
|
|
@@ -5151,6 +5154,99 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.5", ngImpor
|
|
|
5151
5154
|
}, providers: [{ provide: FORM_CONTROL, useExisting: forwardRef(() => ToggleButton) }], template: "@if (stackedLabels()) {\n <span class=\"tls-toggle-button__labels\">\n <span\n class=\"tls-toggle-button__label\"\n [class.tls-toggle-button__label--hidden]=\"checked()\"\n >{{ label() }}</span>\n <span\n class=\"tls-toggle-button__label\"\n [class.tls-toggle-button__label--hidden]=\"!checked()\"\n >{{ checkedLabel() }}</span>\n </span>\n} @else if (displayedLabel()) {\n {{ displayedLabel() }}\n} @else {\n <ng-content></ng-content>\n}\n" }]
|
|
5152
5155
|
}], propDecorators: { checked: [{ type: i0.Input, args: [{ isSignal: true, alias: "checked", required: false }] }, { type: i0.Output, args: ["checkedChange"] }], label: [{ type: i0.Input, args: [{ isSignal: true, alias: "label", required: false }] }], checkedLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "checkedLabel", required: false }] }], staticWidth: [{ type: i0.Input, args: [{ isSignal: true, alias: "staticWidth", required: false }] }], icon: [{ type: i0.Input, args: [{ isSignal: true, alias: "icon", required: false }] }], color: [{ type: i0.Input, args: [{ isSignal: true, alias: "color", required: false }] }], size: [{ type: i0.Input, args: [{ isSignal: true, alias: "size", required: false }] }], variant: [{ type: i0.Input, args: [{ isSignal: true, alias: "variant", required: false }] }], checkedColor: [{ type: i0.Input, args: [{ isSignal: true, alias: "checkedColor", required: false }] }], checkedVariant: [{ type: i0.Input, args: [{ isSignal: true, alias: "checkedVariant", required: false }] }], fluid: [{ type: i0.Input, args: [{ isSignal: true, alias: "fluid", required: false }] }], tabindex: [{ type: i0.Input, args: [{ isSignal: true, alias: "tabindex", required: false }] }] } });
|
|
5153
5156
|
|
|
5157
|
+
const DEFAULT_MARK_CONFIG = {
|
|
5158
|
+
color: 'warning',
|
|
5159
|
+
};
|
|
5160
|
+
|
|
5161
|
+
const MARK_CONFIG = new InjectionToken('MARK_CONFIG', {
|
|
5162
|
+
factory: () => DEFAULT_MARK_CONFIG,
|
|
5163
|
+
});
|
|
5164
|
+
|
|
5165
|
+
class Mark {
|
|
5166
|
+
// Injections
|
|
5167
|
+
_config = inject(MARK_CONFIG);
|
|
5168
|
+
// Inputs
|
|
5169
|
+
color = input(this._config.color, /* @ts-ignore */
|
|
5170
|
+
...(ngDevMode ? [{ debugName: "color" }] : /* istanbul ignore next */ []));
|
|
5171
|
+
// Computed
|
|
5172
|
+
hostClasses = computed(() => {
|
|
5173
|
+
const className = 'tls-mark';
|
|
5174
|
+
return [className, `${className}--${this.color()}`];
|
|
5175
|
+
}, /* @ts-ignore */
|
|
5176
|
+
...(ngDevMode ? [{ debugName: "hostClasses" }] : /* istanbul ignore next */ []));
|
|
5177
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: Mark, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
5178
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "22.0.5", type: Mark, isStandalone: true, selector: "mark[tlsMark]", inputs: { color: { classPropertyName: "color", publicName: "color", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "class": "hostClasses()" } }, ngImport: i0 });
|
|
5179
|
+
}
|
|
5180
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: Mark, decorators: [{
|
|
5181
|
+
type: Directive,
|
|
5182
|
+
args: [{
|
|
5183
|
+
selector: 'mark[tlsMark]',
|
|
5184
|
+
host: {
|
|
5185
|
+
'[class]': 'hostClasses()',
|
|
5186
|
+
},
|
|
5187
|
+
}]
|
|
5188
|
+
}], propDecorators: { color: [{ type: i0.Input, args: [{ isSignal: true, alias: "color", required: false }] }] } });
|
|
5189
|
+
|
|
5190
|
+
const DEFAULT_HIGHLIGHT_CONFIG = {
|
|
5191
|
+
color: 'warning',
|
|
5192
|
+
caseSensitive: false,
|
|
5193
|
+
};
|
|
5194
|
+
|
|
5195
|
+
const HIGHLIGHT_CONFIG = new InjectionToken('HIGHLIGHT_CONFIG', {
|
|
5196
|
+
factory: () => DEFAULT_HIGHLIGHT_CONFIG,
|
|
5197
|
+
});
|
|
5198
|
+
|
|
5199
|
+
class Highlight {
|
|
5200
|
+
// Injections
|
|
5201
|
+
_config = inject(HIGHLIGHT_CONFIG);
|
|
5202
|
+
// Inputs
|
|
5203
|
+
text = input.required(/* @ts-ignore */
|
|
5204
|
+
...(ngDevMode ? [{ debugName: "text" }] : /* istanbul ignore next */ []));
|
|
5205
|
+
query = input(undefined, /* @ts-ignore */
|
|
5206
|
+
...(ngDevMode ? [{ debugName: "query" }] : /* istanbul ignore next */ []));
|
|
5207
|
+
color = input(this._config.color, /* @ts-ignore */
|
|
5208
|
+
...(ngDevMode ? [{ debugName: "color" }] : /* istanbul ignore next */ []));
|
|
5209
|
+
caseSensitive = input(this._config.caseSensitive, { ...(ngDevMode ? { debugName: "caseSensitive" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
|
|
5210
|
+
// Computed
|
|
5211
|
+
_queries = computed(() => {
|
|
5212
|
+
const query = this.query();
|
|
5213
|
+
if (query === undefined)
|
|
5214
|
+
return [];
|
|
5215
|
+
const queries = Array.isArray(query) ? query : [query];
|
|
5216
|
+
// Longest term first, so an overlapping shorter term cannot shadow a longer
|
|
5217
|
+
// match in the regex alternation (e.g. 'ab' wins over 'a').
|
|
5218
|
+
return queries.filter(item => item.length > 0).sort((left, right) => right.length - left.length);
|
|
5219
|
+
}, /* @ts-ignore */
|
|
5220
|
+
...(ngDevMode ? [{ debugName: "_queries" }] : /* istanbul ignore next */ []));
|
|
5221
|
+
segments = computed(() => {
|
|
5222
|
+
const text = this.text();
|
|
5223
|
+
const queries = this._queries();
|
|
5224
|
+
if (text.length === 0 || queries.length === 0)
|
|
5225
|
+
return [{ text, matched: false }];
|
|
5226
|
+
const flags = this.caseSensitive() ? 'g' : 'gi';
|
|
5227
|
+
const pattern = new RegExp(queries.map(escapeRegularExpression).join('|'), flags);
|
|
5228
|
+
const segments = [];
|
|
5229
|
+
let lastIndex = 0;
|
|
5230
|
+
for (const match of text.matchAll(pattern)) {
|
|
5231
|
+
if (match.index > lastIndex) {
|
|
5232
|
+
segments.push({ text: text.slice(lastIndex, match.index), matched: false });
|
|
5233
|
+
}
|
|
5234
|
+
segments.push({ text: match[0], matched: true });
|
|
5235
|
+
lastIndex = match.index + match[0].length;
|
|
5236
|
+
}
|
|
5237
|
+
if (lastIndex < text.length)
|
|
5238
|
+
segments.push({ text: text.slice(lastIndex), matched: false });
|
|
5239
|
+
return segments;
|
|
5240
|
+
}, /* @ts-ignore */
|
|
5241
|
+
...(ngDevMode ? [{ debugName: "segments" }] : /* istanbul ignore next */ []));
|
|
5242
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: Highlight, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
5243
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.5", type: Highlight, isStandalone: true, selector: "tls-highlight", inputs: { text: { classPropertyName: "text", publicName: "text", isSignal: true, isRequired: true, transformFunction: null }, query: { classPropertyName: "query", publicName: "query", isSignal: true, isRequired: false, transformFunction: null }, color: { classPropertyName: "color", publicName: "color", isSignal: true, isRequired: false, transformFunction: null }, caseSensitive: { classPropertyName: "caseSensitive", publicName: "caseSensitive", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: "<!-- Every segment is wrapped in an element (mark or span) so Angular's whitespace\ncollapsing cannot inject spaces between adjacent segments of a split word. -->\n@for (segment of segments(); track $index) {\n @if (segment.matched) {\n <mark tlsMark [color]=\"color()\">{{ segment.text }}</mark>\n } @else {\n <span>{{ segment.text }}</span>\n }\n}\n", dependencies: [{ kind: "directive", type: Mark, selector: "mark[tlsMark]", inputs: ["color"] }] });
|
|
5244
|
+
}
|
|
5245
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: Highlight, decorators: [{
|
|
5246
|
+
type: Component,
|
|
5247
|
+
args: [{ selector: 'tls-highlight', imports: [Mark], template: "<!-- Every segment is wrapped in an element (mark or span) so Angular's whitespace\ncollapsing cannot inject spaces between adjacent segments of a split word. -->\n@for (segment of segments(); track $index) {\n @if (segment.matched) {\n <mark tlsMark [color]=\"color()\">{{ segment.text }}</mark>\n } @else {\n <span>{{ segment.text }}</span>\n }\n}\n" }]
|
|
5248
|
+
}], propDecorators: { text: [{ type: i0.Input, args: [{ isSignal: true, alias: "text", required: true }] }], query: [{ type: i0.Input, args: [{ isSignal: true, alias: "query", required: false }] }], color: [{ type: i0.Input, args: [{ isSignal: true, alias: "color", required: false }] }], caseSensitive: [{ type: i0.Input, args: [{ isSignal: true, alias: "caseSensitive", required: false }] }] } });
|
|
5249
|
+
|
|
5154
5250
|
const DEFAULT_IMAGE_COMPARE_CONFIG = {
|
|
5155
5251
|
orientation: 'horizontal',
|
|
5156
5252
|
position: 50,
|
|
@@ -6448,6 +6544,113 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.5", ngImpor
|
|
|
6448
6544
|
}, template: "<ul\n class=\"tls-stepper-header\"\n ngTabList\n [orientation]=\"orientation()\"\n [wrap]=\"false\"\n [softDisabled]=\"false\"\n [selectedTab]=\"active()\"\n (selectedTabChange)=\"onSelectedTabChange($event)\"\n [attr.aria-label]=\"ariaLabel() ?? null\"\n [attr.aria-labelledby]=\"ariaLabelledby() ?? null\"\n>\n @for (step of steps(); track step.value(); let index = $index; let last = $last) {\n <li role=\"presentation\"\n class=\"tls-stepper-header__item\"\n [class]=\"`tls-stepper-header--${step.color()}`\"\n [class.tls-stepper-header__item--active]=\"ariaTab.selected()\"\n [class.tls-stepper-header__item--disabled]=\"step.disabled()\"\n [class.tls-stepper-header__item--unreachable]=\"linear() && index > activeIndex() + 1\"\n [class.tls-stepper-header__item--completed]=\"activeIndex() > index || completed()\">\n <button\n #ariaTab=\"ngTab\"\n ngTab\n class=\"tls-stepper-header-button\"\n type=\"button\"\n [value]=\"step.value()\"\n [disabled]=\"step.disabled() || (linear() && index > activeIndex() + 1)\"\n >\n <span class=\"tls-stepper-header-button__index\">\n @let isCompleted = activeIndex() > index || completed();\n @if (isCompleted && step.completedIconTemplateRef()) {\n <ng-container [ngTemplateOutlet]=\"step.completedIconTemplateRef() ?? null\"\n [ngTemplateOutletContext]=\"{ $implicit: index }\"></ng-container>\n } @else if (isCompleted && completedIconTemplateRef()) {\n <ng-container [ngTemplateOutlet]=\"completedIconTemplateRef() ?? null\"\n [ngTemplateOutletContext]=\"{ $implicit: index }\"></ng-container>\n } @else if (step.iconTemplateRef()) {\n <ng-container [ngTemplateOutlet]=\"step.iconTemplateRef() ?? null\"\n [ngTemplateOutletContext]=\"{ $implicit: index }\"></ng-container>\n } @else {\n {{ index + 1 }}\n }\n </span>\n\n <span class=\"tls-stepper-header-button__text\">\n @if (step.label()) {\n <span class=\"tls-stepper-header-button__label\">{{ step.label() }}</span>\n }\n @if (step.description()) {\n <span class=\"tls-stepper-header-button__description\">{{ step.description() }}</span>\n }\n </span>\n </button>\n @if (!last) {\n <div class=\"tls-stepper-header__divider\"></div>\n }\n </li>\n }\n</ul>\n<div class=\"tls-stepper-content\">\n <ng-content></ng-content>\n @if (completed() && completedTemplateRef()) {\n <div class=\"tls-stepper-content__template\">\n <ng-container [ngTemplateOutlet]=\"completedTemplateRef()\"></ng-container>\n </div>\n }\n</div>\n" }]
|
|
6449
6545
|
}], propDecorators: { steps: [{ type: i0.ContentChildren, args: [i0.forwardRef(() => Step), { isSignal: true }] }], completedTemplateRef: [{ type: i0.ContentChild, args: ['completedTemplate', { isSignal: true }] }], completedIconTemplateRef: [{ type: i0.ContentChild, args: ['stepCompletedIcon', { isSignal: true }] }], active: [{ type: i0.Input, args: [{ isSignal: true, alias: "active", required: true }] }, { type: i0.Output, args: ["activeChange"] }], orientation: [{ type: i0.Input, args: [{ isSignal: true, alias: "orientation", required: false }] }], completed: [{ type: i0.Input, args: [{ isSignal: true, alias: "completed", required: false }] }], linear: [{ type: i0.Input, args: [{ isSignal: true, alias: "linear", required: false }] }], ariaLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "ariaLabel", required: false }] }], ariaLabelledby: [{ type: i0.Input, args: [{ isSignal: true, alias: "ariaLabelledby", required: false }] }], stepSelect: [{ type: i0.Output, args: ["stepSelect"] }] } });
|
|
6450
6546
|
|
|
6547
|
+
const DEFAULT_TAB_NAV_CONFIG = {
|
|
6548
|
+
variant: 'flat',
|
|
6549
|
+
orientation: 'horizontal',
|
|
6550
|
+
};
|
|
6551
|
+
|
|
6552
|
+
const TAB_NAV_CONFIG = new InjectionToken('TAB_NAV_CONFIG', {
|
|
6553
|
+
factory: () => DEFAULT_TAB_NAV_CONFIG,
|
|
6554
|
+
});
|
|
6555
|
+
|
|
6556
|
+
/**
|
|
6557
|
+
* Tab-styled navigation strip: a `<nav>` of router links that shares the
|
|
6558
|
+
* tab-header visuals of `tls-tabs` while keeping link semantics.
|
|
6559
|
+
*
|
|
6560
|
+
* Unlike `tls-tabs`, this is deliberately not a `tablist` — links that
|
|
6561
|
+
* navigate to routes have no tabpanels, so per the WAI-ARIA guidance they
|
|
6562
|
+
* stay a navigation landmark with `aria-current="page"` on the active link
|
|
6563
|
+
* (set by `tlsTabLink`). Sitting on the consumer's own `<nav>`, the landmark
|
|
6564
|
+
* role and `aria-label` apply natively and need no forwarding.
|
|
6565
|
+
*
|
|
6566
|
+
* ```html
|
|
6567
|
+
* <nav tlsTabNav aria-label="Settings">
|
|
6568
|
+
* <a tlsTabLink routerLink="profile" routerLinkActive>Profile</a>
|
|
6569
|
+
* <a tlsTabLink routerLink="security" routerLinkActive>Security</a>
|
|
6570
|
+
* </nav>
|
|
6571
|
+
* ```
|
|
6572
|
+
*/
|
|
6573
|
+
class TabNavDirective {
|
|
6574
|
+
// Injections
|
|
6575
|
+
_config = inject(TAB_NAV_CONFIG);
|
|
6576
|
+
// Inputs
|
|
6577
|
+
variant = input(this._config.variant, /* @ts-ignore */
|
|
6578
|
+
...(ngDevMode ? [{ debugName: "variant" }] : /* istanbul ignore next */ []));
|
|
6579
|
+
orientation = input(this._config.orientation, /* @ts-ignore */
|
|
6580
|
+
...(ngDevMode ? [{ debugName: "orientation" }] : /* istanbul ignore next */ []));
|
|
6581
|
+
// Computed
|
|
6582
|
+
hostClasses = computed(() => {
|
|
6583
|
+
const className = 'tls-tab-header';
|
|
6584
|
+
const array = ['tls-tab-nav', className];
|
|
6585
|
+
array.push(`${className}--${this.variant()}`);
|
|
6586
|
+
array.push(`${className}--${this.orientation()}`);
|
|
6587
|
+
return array;
|
|
6588
|
+
}, /* @ts-ignore */
|
|
6589
|
+
...(ngDevMode ? [{ debugName: "hostClasses" }] : /* istanbul ignore next */ []));
|
|
6590
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: TabNavDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
6591
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "22.0.5", type: TabNavDirective, isStandalone: true, selector: "nav[tlsTabNav]", inputs: { variant: { classPropertyName: "variant", publicName: "variant", isSignal: true, isRequired: false, transformFunction: null }, orientation: { classPropertyName: "orientation", publicName: "orientation", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "class": "hostClasses()" } }, ngImport: i0 });
|
|
6592
|
+
}
|
|
6593
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: TabNavDirective, decorators: [{
|
|
6594
|
+
type: Directive,
|
|
6595
|
+
args: [{
|
|
6596
|
+
selector: 'nav[tlsTabNav]',
|
|
6597
|
+
host: {
|
|
6598
|
+
'[class]': 'hostClasses()',
|
|
6599
|
+
},
|
|
6600
|
+
}]
|
|
6601
|
+
}], propDecorators: { variant: [{ type: i0.Input, args: [{ isSignal: true, alias: "variant", required: false }] }], orientation: [{ type: i0.Input, args: [{ isSignal: true, alias: "orientation", required: false }] }] } });
|
|
6602
|
+
|
|
6603
|
+
/**
|
|
6604
|
+
* One link inside a `nav[tlsTabNav]` strip. The anchor plays both tab-header
|
|
6605
|
+
* roles at once (item and control), so it carries both element classes.
|
|
6606
|
+
*
|
|
6607
|
+
* Active state comes from `RouterLinkActive` when the directive sits on the
|
|
6608
|
+
* same anchor (`routerLinkActive` attribute alongside `routerLink`), with the
|
|
6609
|
+
* `active` input as an explicit override for non-router links. The active
|
|
6610
|
+
* link is exposed to assistive technology via `aria-current="page"`.
|
|
6611
|
+
*/
|
|
6612
|
+
class TabLinkDirective {
|
|
6613
|
+
// Injections
|
|
6614
|
+
_routerLinkActive = inject(RouterLinkActive, {
|
|
6615
|
+
optional: true,
|
|
6616
|
+
self: true,
|
|
6617
|
+
});
|
|
6618
|
+
// Inputs
|
|
6619
|
+
active = input(false, { ...(ngDevMode ? { debugName: "active" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
|
|
6620
|
+
disabled = input(false, { ...(ngDevMode ? { debugName: "disabled" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
|
|
6621
|
+
// State
|
|
6622
|
+
_routerLinkIsActive = this._routerLinkActive
|
|
6623
|
+
? toSignal(this._routerLinkActive.isActiveChange, {
|
|
6624
|
+
initialValue: this._routerLinkActive.isActive,
|
|
6625
|
+
})
|
|
6626
|
+
: signal(false);
|
|
6627
|
+
// Computed
|
|
6628
|
+
isActive = computed(() => this.active() || this._routerLinkIsActive(), /* @ts-ignore */
|
|
6629
|
+
...(ngDevMode ? [{ debugName: "isActive" }] : /* istanbul ignore next */ []));
|
|
6630
|
+
// Protected methods
|
|
6631
|
+
handleClick(event) {
|
|
6632
|
+
if (this.disabled())
|
|
6633
|
+
event.preventDefault();
|
|
6634
|
+
}
|
|
6635
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: TabLinkDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
6636
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "22.0.5", type: TabLinkDirective, isStandalone: true, selector: "a[tlsTabLink]", inputs: { active: { classPropertyName: "active", publicName: "active", isSignal: true, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null } }, host: { listeners: { "click": "handleClick($event)" }, properties: { "class.tls-tab-header__item--active": "isActive()", "class.tls-tab-header__item--disabled": "disabled()", "attr.aria-current": "isActive() ? 'page' : null", "attr.aria-disabled": "disabled() ? 'true' : null", "attr.tabindex": "disabled() ? -1 : null" }, classAttribute: "tls-tab-header__item tls-tab-header__item-control" }, ngImport: i0 });
|
|
6637
|
+
}
|
|
6638
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: TabLinkDirective, decorators: [{
|
|
6639
|
+
type: Directive,
|
|
6640
|
+
args: [{
|
|
6641
|
+
selector: 'a[tlsTabLink]',
|
|
6642
|
+
host: {
|
|
6643
|
+
class: 'tls-tab-header__item tls-tab-header__item-control',
|
|
6644
|
+
'[class.tls-tab-header__item--active]': 'isActive()',
|
|
6645
|
+
'[class.tls-tab-header__item--disabled]': 'disabled()',
|
|
6646
|
+
'[attr.aria-current]': "isActive() ? 'page' : null",
|
|
6647
|
+
'[attr.aria-disabled]': "disabled() ? 'true' : null",
|
|
6648
|
+
'[attr.tabindex]': 'disabled() ? -1 : null',
|
|
6649
|
+
'(click)': 'handleClick($event)',
|
|
6650
|
+
},
|
|
6651
|
+
}]
|
|
6652
|
+
}], propDecorators: { active: [{ type: i0.Input, args: [{ isSignal: true, alias: "active", required: false }] }], disabled: [{ type: i0.Input, args: [{ isSignal: true, alias: "disabled", required: false }] }] } });
|
|
6653
|
+
|
|
6451
6654
|
class TableColumn {
|
|
6452
6655
|
key = input.required(/* @ts-ignore */
|
|
6453
6656
|
...(ngDevMode ? [{ debugName: "key" }] : /* istanbul ignore next */ []));
|
|
@@ -6593,34 +6796,27 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.5", ngImpor
|
|
|
6593
6796
|
], host: {}, template: "<table\n cdk-table\n [class]=\"classes()\"\n [dataSource]=\"dataSource\"\n [trackBy]=\"resolvedTrackBy()\"\n [attr.aria-label]=\"ariaLabel() ?? null\"\n [attr.aria-labelledby]=\"ariaLabelledby() ?? null\"\n>\n @for (column of effectiveColumnDefinitions(); track column.key) {\n <ng-container [cdkColumnDef]=\"column.key\">\n <!-- Header cell -->\n <th cdk-header-cell *cdkHeaderCellDef class=\"tls-table__header-cell\" [style.width]=\"column.width + 'px'\">\n {{ column.header }}\n </th>\n\n <!-- Row cell -->\n <td\n cdk-cell\n *cdkCellDef=\"let data; let index = index; let count = count; let first = first; let last = last; let even = even; let odd = odd\"\n class=\"tls-table__cell\"\n [style.text-align]=\"column.alignment\"\n >\n @if (column.template) {\n <ng-container\n [ngTemplateOutlet]=\"column.template\"\n [ngTemplateOutletContext]=\"{\n $implicit: data[column.key],\n data: data,\n index: index,\n count: count,\n first: first,\n last: last,\n even: even,\n odd: odd\n }\"\n />\n } @else {\n {{ data[column.key] }}\n }\n </td>\n </ng-container>\n }\n\n <tr cdk-header-row *cdkHeaderRowDef=\"columns()\" class=\"tls-table__header-row\"></tr>\n\n <tr *cdkRowDef=\"let row; columns: columns()\" cdk-row class=\"tls-table__row\"></tr>\n</table>\n", styles: [":host{display:block}\n"] }]
|
|
6594
6797
|
}], propDecorators: { data: [{ type: i0.Input, args: [{ isSignal: true, alias: "data", required: true }] }], columnDefinitions: [{ type: i0.Input, args: [{ isSignal: true, alias: "columnDefinitions", required: false }] }], hideHeader: [{ type: i0.Input, args: [{ isSignal: true, alias: "hideHeader", required: false }] }], striped: [{ type: i0.Input, args: [{ isSignal: true, alias: "striped", required: false }] }], trackBy: [{ type: i0.Input, args: [{ isSignal: true, alias: "trackBy", required: false }] }], ariaLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "ariaLabel", required: false }] }], ariaLabelledby: [{ type: i0.Input, args: [{ isSignal: true, alias: "ariaLabelledby", required: false }] }], tableColumns: [{ type: i0.ContentChildren, args: [i0.forwardRef(() => TableColumn), { isSignal: true }] }] } });
|
|
6595
6798
|
|
|
6799
|
+
// A declarative content holder: the host element itself is never rendered. `tls-tabs`
|
|
6800
|
+
// reads the captured content/header templates and renders them inside its own
|
|
6801
|
+
// `ngTabPanel`/`ngTabContent` structure, which enables lazy panel rendering.
|
|
6596
6802
|
class Tab {
|
|
6597
|
-
_tabPanel = inject(TabPanel);
|
|
6598
|
-
headerTemplateRef = contentChild('tabHeader', /* @ts-ignore */
|
|
6599
|
-
...(ngDevMode ? [{ debugName: "headerTemplateRef" }] : /* istanbul ignore next */ []));
|
|
6600
6803
|
// Inputs
|
|
6601
|
-
value =
|
|
6804
|
+
value = input.required(/* @ts-ignore */
|
|
6805
|
+
...(ngDevMode ? [{ debugName: "value" }] : /* istanbul ignore next */ []));
|
|
6602
6806
|
label = input.required(/* @ts-ignore */
|
|
6603
6807
|
...(ngDevMode ? [{ debugName: "label" }] : /* istanbul ignore next */ []));
|
|
6604
6808
|
disabled = input(false, { ...(ngDevMode ? { debugName: "disabled" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
|
|
6605
|
-
|
|
6606
|
-
|
|
6607
|
-
|
|
6608
|
-
|
|
6609
|
-
array.push(`${className}--active`);
|
|
6610
|
-
if (this.disabled())
|
|
6611
|
-
array.push(`${className}--disabled`);
|
|
6612
|
-
return array;
|
|
6613
|
-
}, /* @ts-ignore */
|
|
6614
|
-
...(ngDevMode ? [{ debugName: "hostClasses" }] : /* istanbul ignore next */ []));
|
|
6809
|
+
// State
|
|
6810
|
+
headerTemplateRef = contentChild('tabHeader', /* @ts-ignore */
|
|
6811
|
+
...(ngDevMode ? [{ debugName: "headerTemplateRef" }] : /* istanbul ignore next */ []));
|
|
6812
|
+
contentTemplateRef = viewChild.required('tabContent');
|
|
6615
6813
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: Tab, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
6616
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "22.0.5", type: Tab, isStandalone: true, selector: "tls-tab", inputs: {
|
|
6814
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "22.0.5", type: Tab, isStandalone: true, selector: "tls-tab", inputs: { value: { classPropertyName: "value", publicName: "value", isSignal: true, isRequired: true, transformFunction: null }, label: { classPropertyName: "label", publicName: "label", isSignal: true, isRequired: true, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null } }, queries: [{ propertyName: "headerTemplateRef", first: true, predicate: ["tabHeader"], descendants: true, isSignal: true }], viewQueries: [{ propertyName: "contentTemplateRef", first: true, predicate: ["tabContent"], descendants: true, isSignal: true }], ngImport: i0, template: "<ng-template #tabContent>\n <ng-content></ng-content>\n</ng-template>\n" });
|
|
6617
6815
|
}
|
|
6618
6816
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: Tab, decorators: [{
|
|
6619
6817
|
type: Component,
|
|
6620
|
-
args: [{ selector: 'tls-tab',
|
|
6621
|
-
|
|
6622
|
-
}, template: "<ng-content></ng-content>\n" }]
|
|
6623
|
-
}], propDecorators: { headerTemplateRef: [{ type: i0.ContentChild, args: ['tabHeader', { isSignal: true }] }], label: [{ type: i0.Input, args: [{ isSignal: true, alias: "label", required: true }] }], disabled: [{ type: i0.Input, args: [{ isSignal: true, alias: "disabled", required: false }] }] } });
|
|
6818
|
+
args: [{ selector: 'tls-tab', template: "<ng-template #tabContent>\n <ng-content></ng-content>\n</ng-template>\n" }]
|
|
6819
|
+
}], propDecorators: { value: [{ type: i0.Input, args: [{ isSignal: true, alias: "value", required: true }] }], label: [{ type: i0.Input, args: [{ isSignal: true, alias: "label", required: true }] }], disabled: [{ type: i0.Input, args: [{ isSignal: true, alias: "disabled", required: false }] }], headerTemplateRef: [{ type: i0.ContentChild, args: ['tabHeader', { isSignal: true }] }], contentTemplateRef: [{ type: i0.ViewChild, args: ['tabContent', { isSignal: true }] }] } });
|
|
6624
6820
|
|
|
6625
6821
|
const DEFAULT_TABS_CONFIG = {
|
|
6626
6822
|
variant: 'flat',
|
|
@@ -6658,6 +6854,17 @@ class Tabs {
|
|
|
6658
6854
|
return array;
|
|
6659
6855
|
}, /* @ts-ignore */
|
|
6660
6856
|
...(ngDevMode ? [{ debugName: "hostClasses" }] : /* istanbul ignore next */ []));
|
|
6857
|
+
// The header strip uses the shared tab-header block (also rendered by
|
|
6858
|
+
// `tls-tab-nav`), so its variant/orientation modifiers live on the strip
|
|
6859
|
+
// element itself rather than on the tabs container.
|
|
6860
|
+
headerClasses = computed(() => {
|
|
6861
|
+
const className = 'tls-tab-header';
|
|
6862
|
+
const array = [className];
|
|
6863
|
+
array.push(`${className}--${this.variant()}`);
|
|
6864
|
+
array.push(`${className}--${this.orientation()}`);
|
|
6865
|
+
return array;
|
|
6866
|
+
}, /* @ts-ignore */
|
|
6867
|
+
...(ngDevMode ? [{ debugName: "headerClasses" }] : /* istanbul ignore next */ []));
|
|
6661
6868
|
constructor() {
|
|
6662
6869
|
effect(() => {
|
|
6663
6870
|
if (this.selected() !== undefined)
|
|
@@ -6668,13 +6875,13 @@ class Tabs {
|
|
|
6668
6875
|
});
|
|
6669
6876
|
}
|
|
6670
6877
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: Tabs, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
6671
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.5", type: Tabs, isStandalone: true, selector: "tls-tabs", inputs: { variant: { classPropertyName: "variant", publicName: "variant", isSignal: true, isRequired: false, transformFunction: null }, orientation: { classPropertyName: "orientation", publicName: "orientation", isSignal: true, isRequired: false, transformFunction: null }, headerPosition: { classPropertyName: "headerPosition", publicName: "headerPosition", isSignal: true, isRequired: false, transformFunction: null }, selected: { classPropertyName: "selected", publicName: "selected", isSignal: true, isRequired: false, transformFunction: null }, ariaLabel: { classPropertyName: "ariaLabel", publicName: "ariaLabel", isSignal: true, isRequired: false, transformFunction: null }, ariaLabelledby: { classPropertyName: "ariaLabelledby", publicName: "ariaLabelledby", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { selected: "selectedChange" }, host: { properties: { "class": "hostClasses()" } }, queries: [{ propertyName: "tabs", predicate: Tab, isSignal: true }], hostDirectives: [{ directive: i1.Tabs }], ngImport: i0, template: "<ul\n class=\"
|
|
6878
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.5", type: Tabs, isStandalone: true, selector: "tls-tabs", inputs: { variant: { classPropertyName: "variant", publicName: "variant", isSignal: true, isRequired: false, transformFunction: null }, orientation: { classPropertyName: "orientation", publicName: "orientation", isSignal: true, isRequired: false, transformFunction: null }, headerPosition: { classPropertyName: "headerPosition", publicName: "headerPosition", isSignal: true, isRequired: false, transformFunction: null }, selected: { classPropertyName: "selected", publicName: "selected", isSignal: true, isRequired: false, transformFunction: null }, ariaLabel: { classPropertyName: "ariaLabel", publicName: "ariaLabel", isSignal: true, isRequired: false, transformFunction: null }, ariaLabelledby: { classPropertyName: "ariaLabelledby", publicName: "ariaLabelledby", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { selected: "selectedChange" }, host: { properties: { "class": "hostClasses()" } }, queries: [{ propertyName: "tabs", predicate: Tab, isSignal: true }], hostDirectives: [{ directive: i1.Tabs }], ngImport: i0, template: "<ul\n ngTabList\n [class]=\"headerClasses()\"\n [orientation]=\"orientation()\"\n [softDisabled]=\"false\"\n [(selectedTab)]=\"selected\"\n [attr.aria-label]=\"ariaLabel() ?? null\"\n [attr.aria-labelledby]=\"ariaLabelledby() ?? null\"\n>\n @for (tab of tabs(); track tab) {\n <li\n role=\"presentation\"\n class=\"tls-tab-header__item\"\n [class.tls-tab-header__item--active]=\"ariaTab.selected()\"\n [class.tls-tab-header__item--disabled]=\"tab.disabled()\"\n >\n <button\n #ariaTab=\"ngTab\"\n ngTab\n class=\"tls-tab-header__item-control\"\n type=\"button\"\n [value]=\"tab.value()\"\n [disabled]=\"tab.disabled()\"\n [attr.aria-label]=\"tab.headerTemplateRef() ? tab.label() : null\"\n >\n @if (tab.headerTemplateRef(); as headerTemplateRef) {\n <ng-container [ngTemplateOutlet]=\"headerTemplateRef\"></ng-container>\n } @else {\n {{ tab.label() }}\n }\n </button>\n </li>\n }\n</ul>\n<div class=\"tls-tabs-content\">\n @for (tab of tabs(); track tab) {\n <div ngTabPanel class=\"tls-tab\" [value]=\"tab.value()\" [preserveContent]=\"true\">\n <ng-template ngTabContent>\n <ng-container [ngTemplateOutlet]=\"tab.contentTemplateRef()\"></ng-container>\n </ng-template>\n </div>\n }\n</div>\n", dependencies: [{ kind: "directive", type: TabList, selector: "[ngTabList]", inputs: ["orientation", "wrap", "softDisabled", "focusMode", "selectionMode", "selectedTab", "disabled"], outputs: ["selectedTabChange"], exportAs: ["ngTabList"] }, { kind: "directive", type: Tab$1, selector: "[ngTab]", inputs: ["id", "disabled", "value"], exportAs: ["ngTab"] }, { kind: "directive", type: TabPanel, selector: "[ngTabPanel]", inputs: ["id", "value"], exportAs: ["ngTabPanel"] }, { kind: "directive", type: TabContent, selector: "ng-template[ngTabContent]", exportAs: ["ngTabContent"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }] });
|
|
6672
6879
|
}
|
|
6673
6880
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: Tabs, decorators: [{
|
|
6674
6881
|
type: Component,
|
|
6675
|
-
args: [{ selector: 'tls-tabs', imports: [TabList, Tab$1, NgTemplateOutlet], hostDirectives: [Tabs$1], host: {
|
|
6882
|
+
args: [{ selector: 'tls-tabs', imports: [TabList, Tab$1, TabPanel, TabContent, NgTemplateOutlet], hostDirectives: [Tabs$1], host: {
|
|
6676
6883
|
'[class]': 'hostClasses()',
|
|
6677
|
-
}, template: "<ul\n class=\"
|
|
6884
|
+
}, template: "<ul\n ngTabList\n [class]=\"headerClasses()\"\n [orientation]=\"orientation()\"\n [softDisabled]=\"false\"\n [(selectedTab)]=\"selected\"\n [attr.aria-label]=\"ariaLabel() ?? null\"\n [attr.aria-labelledby]=\"ariaLabelledby() ?? null\"\n>\n @for (tab of tabs(); track tab) {\n <li\n role=\"presentation\"\n class=\"tls-tab-header__item\"\n [class.tls-tab-header__item--active]=\"ariaTab.selected()\"\n [class.tls-tab-header__item--disabled]=\"tab.disabled()\"\n >\n <button\n #ariaTab=\"ngTab\"\n ngTab\n class=\"tls-tab-header__item-control\"\n type=\"button\"\n [value]=\"tab.value()\"\n [disabled]=\"tab.disabled()\"\n [attr.aria-label]=\"tab.headerTemplateRef() ? tab.label() : null\"\n >\n @if (tab.headerTemplateRef(); as headerTemplateRef) {\n <ng-container [ngTemplateOutlet]=\"headerTemplateRef\"></ng-container>\n } @else {\n {{ tab.label() }}\n }\n </button>\n </li>\n }\n</ul>\n<div class=\"tls-tabs-content\">\n @for (tab of tabs(); track tab) {\n <div ngTabPanel class=\"tls-tab\" [value]=\"tab.value()\" [preserveContent]=\"true\">\n <ng-template ngTabContent>\n <ng-container [ngTemplateOutlet]=\"tab.contentTemplateRef()\"></ng-container>\n </ng-template>\n </div>\n }\n</div>\n" }]
|
|
6678
6885
|
}], ctorParameters: () => [], propDecorators: { tabs: [{ type: i0.ContentChildren, args: [i0.forwardRef(() => Tab), { isSignal: true }] }], variant: [{ type: i0.Input, args: [{ isSignal: true, alias: "variant", required: false }] }], orientation: [{ type: i0.Input, args: [{ isSignal: true, alias: "orientation", required: false }] }], headerPosition: [{ type: i0.Input, args: [{ isSignal: true, alias: "headerPosition", required: false }] }], selected: [{ type: i0.Input, args: [{ isSignal: true, alias: "selected", required: false }] }, { type: i0.Output, args: ["selectedChange"] }], ariaLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "ariaLabel", required: false }] }], ariaLabelledby: [{ type: i0.Input, args: [{ isSignal: true, alias: "ariaLabelledby", required: false }] }] } });
|
|
6679
6886
|
|
|
6680
6887
|
const DEFAULT_TABS_QUERY_SYNC_CONFIG = {
|
|
@@ -7457,6 +7664,10 @@ const provideThalassicUIConfig = (config) => {
|
|
|
7457
7664
|
provide: FORM_ITEM_CONFIG,
|
|
7458
7665
|
useValue: deepMerge(DEFAULT_FORM_ITEM_CONFIG, config.components.formItem),
|
|
7459
7666
|
},
|
|
7667
|
+
{
|
|
7668
|
+
provide: HIGHLIGHT_CONFIG,
|
|
7669
|
+
useValue: deepMerge(DEFAULT_HIGHLIGHT_CONFIG, config.components.highlight),
|
|
7670
|
+
},
|
|
7460
7671
|
{ provide: ICON_CONFIG, useValue: deepMerge(DEFAULT_ICON_CONFIG, config.components.icon) },
|
|
7461
7672
|
{
|
|
7462
7673
|
provide: IMAGE_COMPARE_CONFIG,
|
|
@@ -7467,6 +7678,7 @@ const provideThalassicUIConfig = (config) => {
|
|
|
7467
7678
|
provide: LOADER_CONFIG,
|
|
7468
7679
|
useValue: deepMerge(DEFAULT_LOADER_CONFIG, config.components.loader),
|
|
7469
7680
|
},
|
|
7681
|
+
{ provide: MARK_CONFIG, useValue: deepMerge(DEFAULT_MARK_CONFIG, config.components.mark) },
|
|
7470
7682
|
{ provide: MENU_CONFIG, useValue: deepMerge(DEFAULT_MENU_CONFIG, config.components.menu) },
|
|
7471
7683
|
{
|
|
7472
7684
|
provide: MULTI_SELECT_CONFIG,
|
|
@@ -7517,6 +7729,10 @@ const provideThalassicUIConfig = (config) => {
|
|
|
7517
7729
|
useValue: deepMerge(DEFAULT_SWITCH_CONFIG, config.components.switch),
|
|
7518
7730
|
},
|
|
7519
7731
|
{ provide: TABLE_CONFIG, useValue: deepMerge(DEFAULT_TABLE_CONFIG, config.components.table) },
|
|
7732
|
+
{
|
|
7733
|
+
provide: TAB_NAV_CONFIG,
|
|
7734
|
+
useValue: deepMerge(DEFAULT_TAB_NAV_CONFIG, config.components.tabNav),
|
|
7735
|
+
},
|
|
7520
7736
|
{ provide: TABS_CONFIG, useValue: deepMerge(DEFAULT_TABS_CONFIG, tabs) },
|
|
7521
7737
|
{
|
|
7522
7738
|
provide: TABS_QUERY_SYNC_CONFIG,
|
|
@@ -7547,5 +7763,5 @@ const provideThalassicUIConfig = (config) => {
|
|
|
7547
7763
|
* Generated bundle index. Do not edit.
|
|
7548
7764
|
*/
|
|
7549
7765
|
|
|
7550
|
-
export { ALERT_CONFIG, AUTOCOMPLETE_CONFIG, Alert, Autocomplete, BADGE_CONFIG, BREADCRUMBS_CONFIG, BUTTON_CONFIG, Badge, Breadcrumbs, Button, ButtonDirective, CALENDAR_CONFIG, CHECKBOX_CONFIG, CHIP_CONFIG, CHIP_CONTROL_CONFIG, CHIP_GROUP_CONFIG, CHIP_INPUT_CONFIG, CONFIRM_CONFIG, Calendar, CalendarAgendaView, CalendarEventItem, CalendarMonthView, CalendarTimeGrid, Checkbox, CheckboxFormControl, Chip, ChipControl, ChipGroup, ChipInput, Confirm, ConfirmPanel, ConfirmService, ContextMenuDirective, DATE_TIME_PICKER_CONFIG, DEFAULT_ALERT_CONFIG, DEFAULT_AUTOCOMPLETE_CONFIG, DEFAULT_BADGE_CONFIG, DEFAULT_BREADCRUMBS_CONFIG, DEFAULT_BUTTON_CONFIG, DEFAULT_CALENDAR_CONFIG, DEFAULT_CHECKBOX_CONFIG, DEFAULT_CHIP_CONFIG, DEFAULT_CHIP_CONTROL_CONFIG, DEFAULT_CHIP_GROUP_CONFIG, DEFAULT_CHIP_INPUT_CONFIG, DEFAULT_CONFIRM_CONFIG, DEFAULT_DATE_TIME_PICKER_CONFIG, DEFAULT_DIALOG_CONFIG, DEFAULT_DIVIDER_CONFIG, DEFAULT_DRAWER_CONFIG, DEFAULT_FILE_INPUT_CONFIG, DEFAULT_FORM_CONTROL_CONFIG, DEFAULT_FORM_CONTROL_GROUP_CONFIG, DEFAULT_FORM_ITEM_CONFIG, DEFAULT_ICONS, DEFAULT_ICON_CONFIG, DEFAULT_IMAGE_COMPARE_CONFIG, DEFAULT_INPUT_CONFIG, DEFAULT_INPUT_NUMBER_CONFIG, DEFAULT_KBD_CONFIG, DEFAULT_LOADER_CONFIG, DEFAULT_MENU_CONFIG, DEFAULT_MULTI_SELECT_CONFIG, DEFAULT_ODOMETER_CONFIG, DEFAULT_PAGINATION_CONFIG, DEFAULT_PAGINATION_QUERY_SYNC_CONFIG, DEFAULT_PASSWORD_CONFIG, DEFAULT_PIN_INPUT_CONFIG, DEFAULT_POPOVER_CONFIG, DEFAULT_RADIO_BUTTON_CONFIG, DEFAULT_SELECT_CONFIG, DEFAULT_SKELETON_CONFIG, DEFAULT_SPLITTER_CONFIG, DEFAULT_STEPPER_CONFIG, DEFAULT_STEP_CONFIG, DEFAULT_SWITCH_CONFIG, DEFAULT_TABLE_CONFIG, DEFAULT_TABS_CONFIG, DEFAULT_TABS_QUERY_SYNC_CONFIG, DEFAULT_TEXTAREA_CONFIG, DEFAULT_TOAST_CONFIG, DEFAULT_TOGGLE_BUTTON_CONFIG, DEFAULT_TOGGLE_GROUP_CONFIG, DEFAULT_TOOLTIP_CONFIG, DIALOG_CONFIG, DIVIDER_CONFIG, DRAWER_CONFIG, DateTimePicker, Dialog, DialogService, Divider, Drawer, DrawerRef, DrawerService, FILE_INPUT_CONFIG, FORM_CONTROL_CONFIG, FORM_CONTROL_GROUP_CONFIG, FORM_ITEM_CONFIG, FileInput, FormControl, FormControlAddon, FormControlGroup, FormItem, ICON_CONFIG, ICON_REGISTRY, IMAGE_COMPARE_CONFIG, INPUT_CONFIG, INPUT_NUMBER_CONFIG, Icon, IconRegistry, IconService, ImageCompare, Input, InputDirective, InputNumber, KBD_CONFIG, Kbd, LOADER_CONFIG, Loader, MASK_TOKENS, MENU_CONFIG, MULTI_SELECT_CONFIG, MaskDirective, Menu, MenuItemComponent, MenuTriggerDirective, MultiSelect, ODOMETER_CONFIG, Odometer, PAGINATION_CONFIG, PAGINATION_QUERY_SYNC_CONFIG, PASSWORD_CONFIG, PIN_INPUT_CONFIG, POPOVER_CONFIG, Pagination, PaginationQuerySyncDirective, Password, PinInput, Popover, RADIO_BUTTON_CONFIG, RadioButton, SELECT_CONFIG, SKELETON_CONFIG, SPLITTER_CONFIG, STEPPER_CONFIG, SWITCH_CONFIG, Select, Skeleton, Splitter, SplitterPanel, Step, Stepper, Switch, TABLE_CONFIG, TABS_CONFIG, TABS_QUERY_SYNC_CONFIG, TEXTAREA_CONFIG, TOAST_CONFIG, TOGGLE_BUTTON_CONFIG, TOGGLE_GROUP_CONFIG, TOOLTIP_CONFIG, Tab, Table, TableColumn, Tabs, TabsQuerySyncDirective, Textarea, Toast, ToastOutlet, ToastService, ToggleButton, ToggleGroup, TooltipDirective, ValueFormControl, applyMask, provideThalassicIcons, provideThalassicUIConfig };
|
|
7766
|
+
export { ALERT_CONFIG, AUTOCOMPLETE_CONFIG, Alert, Autocomplete, BADGE_CONFIG, BREADCRUMBS_CONFIG, BUTTON_CONFIG, Badge, Breadcrumbs, Button, ButtonDirective, CALENDAR_CONFIG, CHECKBOX_CONFIG, CHIP_CONFIG, CHIP_CONTROL_CONFIG, CHIP_GROUP_CONFIG, CHIP_INPUT_CONFIG, CONFIRM_CONFIG, Calendar, CalendarAgendaView, CalendarEventItem, CalendarMonthView, CalendarTimeGrid, Checkbox, CheckboxFormControl, Chip, ChipControl, ChipGroup, ChipInput, Confirm, ConfirmPanel, ConfirmService, ContextMenuDirective, DATE_TIME_PICKER_CONFIG, DEFAULT_ALERT_CONFIG, DEFAULT_AUTOCOMPLETE_CONFIG, DEFAULT_BADGE_CONFIG, DEFAULT_BREADCRUMBS_CONFIG, DEFAULT_BUTTON_CONFIG, DEFAULT_CALENDAR_CONFIG, DEFAULT_CHECKBOX_CONFIG, DEFAULT_CHIP_CONFIG, DEFAULT_CHIP_CONTROL_CONFIG, DEFAULT_CHIP_GROUP_CONFIG, DEFAULT_CHIP_INPUT_CONFIG, DEFAULT_CONFIRM_CONFIG, DEFAULT_DATE_TIME_PICKER_CONFIG, DEFAULT_DIALOG_CONFIG, DEFAULT_DIVIDER_CONFIG, DEFAULT_DRAWER_CONFIG, DEFAULT_FILE_INPUT_CONFIG, DEFAULT_FORM_CONTROL_CONFIG, DEFAULT_FORM_CONTROL_GROUP_CONFIG, DEFAULT_FORM_ITEM_CONFIG, DEFAULT_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, DIALOG_CONFIG, DIVIDER_CONFIG, DRAWER_CONFIG, DateTimePicker, Dialog, DialogService, Divider, Drawer, DrawerRef, DrawerService, FILE_INPUT_CONFIG, FORM_CONTROL_CONFIG, FORM_CONTROL_GROUP_CONFIG, FORM_ITEM_CONFIG, FileInput, FormControl, FormControlAddon, FormControlGroup, FormItem, 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, TooltipDirective, ValueFormControl, applyMask, provideThalassicIcons, provideThalassicUIConfig };
|
|
7551
7767
|
//# sourceMappingURL=thalassic-ui.mjs.map
|