@thalassic/ui 22.18.1 → 22.19.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 +478 -22
- package/fesm2022/thalassic-ui.mjs.map +1 -1
- package/package.json +1 -1
- package/types/thalassic-ui.d.ts +232 -9
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { InjectionToken, inject, model, input, signal, computed, booleanAttribute, Directive, PLATFORM_ID, DestroyRef, numberAttribute, output, viewChild, contentChild, Component, ViewContainerRef, DOCUMENT, afterRenderEffect, linkedSignal, Injectable, Renderer2, ElementRef, makeEnvironmentProviders, TemplateRef, forwardRef, effect, afterNextRender, viewChildren, contentChildren, isDevMode,
|
|
2
|
+
import { InjectionToken, inject, model, input, signal, computed, booleanAttribute, Directive, PLATFORM_ID, DestroyRef, numberAttribute, output, viewChild, contentChild, Component, ViewContainerRef, DOCUMENT, afterRenderEffect, linkedSignal, Injectable, Renderer2, ElementRef, makeEnvironmentProviders, TemplateRef, forwardRef, effect, afterNextRender, Injector, RendererStyleFlags2, viewChildren, untracked, contentChildren, isDevMode, provideEnvironmentInitializer } from '@angular/core';
|
|
3
3
|
import { CdkVirtualScrollViewport, CdkFixedSizeVirtualScroll, CdkVirtualForOf } from '@angular/cdk/scrolling';
|
|
4
4
|
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';
|
|
5
5
|
import { isPlatformBrowser, NgTemplateOutlet, NgComponentOutlet, LocationStrategy } from '@angular/common';
|
|
@@ -15,11 +15,12 @@ import { ConfigurableFocusTrapFactory } from '@angular/cdk/a11y';
|
|
|
15
15
|
import { filter as filter$1 } from 'rxjs/operators';
|
|
16
16
|
import { CdkDialogContainer, DialogRef as DialogRef$1, Dialog as Dialog$1 } from '@angular/cdk/dialog';
|
|
17
17
|
import { Directionality } from '@angular/cdk/bidi';
|
|
18
|
+
import * as i1 from '@thalassic/core';
|
|
19
|
+
import { PanDirective, SWIPE_DEFAULT_MIN_VELOCITY, PAN_CONFIG, DEFAULT_PAN_CONFIG, deepMerge } from '@thalassic/core';
|
|
18
20
|
import { Menu as Menu$1, MenuItem } from '@angular/aria/menu';
|
|
19
|
-
import * as i1 from '@angular/aria/tabs';
|
|
21
|
+
import * as i1$1 from '@angular/aria/tabs';
|
|
20
22
|
import { TabPanel, TabList, Tab as Tab$1, Tabs as Tabs$1, TabContent } from '@angular/aria/tabs';
|
|
21
23
|
import { CdkTable, CdkHeaderCell, CdkCell, CdkCellDef, CdkHeaderCellDef, CdkColumnDef, CdkHeaderRow, CdkHeaderRowDef, CdkRow, CdkRowDef } from '@angular/cdk/table';
|
|
22
|
-
import { deepMerge } from '@thalassic/core';
|
|
23
24
|
|
|
24
25
|
const DEFAULT_ACCESSIBILITY_CONFIG = {
|
|
25
26
|
expandTouchTargets: true,
|
|
@@ -786,9 +787,12 @@ function afterLeaveAnimation(element, onDone) {
|
|
|
786
787
|
const timeoutId = window.setTimeout(finalize, LEAVE_ANIMATION_FALLBACK_MS);
|
|
787
788
|
// The `--leave` class applies on the next change detection; on the following
|
|
788
789
|
// frame, finalize at once if no animation is running. When motion is enabled
|
|
789
|
-
// the computed `animationName`
|
|
790
|
+
// the computed `animationName` names the keyframes, so this cannot finalize
|
|
791
|
+
// early. An engine that resolves no animation reports either `none` or an
|
|
792
|
+
// empty string, and both mean the same thing here.
|
|
790
793
|
requestAnimationFrame(() => {
|
|
791
|
-
|
|
794
|
+
const animationName = getComputedStyle(element).animationName;
|
|
795
|
+
if (animationName === 'none' || animationName === '')
|
|
792
796
|
finalize();
|
|
793
797
|
});
|
|
794
798
|
}
|
|
@@ -4485,12 +4489,21 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.5", ngImpor
|
|
|
4485
4489
|
|
|
4486
4490
|
// Named size tokens, used to tell a preset apart from a custom CSS-length string.
|
|
4487
4491
|
const DRAWER_NAMED_SIZES = ['sm', 'md', 'lg', 'full', 'auto'];
|
|
4492
|
+
// Fraction of the panel's extent a drag must cover for the release to dismiss
|
|
4493
|
+
// rather than snap back. A flick commits regardless of distance, so this only
|
|
4494
|
+
// governs slow drags, where releasing past the panel's midpoint would feel late.
|
|
4495
|
+
const DRAWER_DISMISS_RATIO = 0.4;
|
|
4496
|
+
// Pointer types allowed to drag the panel. Dragging a panel shut is a touch
|
|
4497
|
+
// idiom; on a mouse the drag would instead fight text selection through the
|
|
4498
|
+
// gesture's slop, and the close button and Escape already serve that pointer.
|
|
4499
|
+
const DRAWER_DRAG_POINTER_TYPES = ['touch', 'pen'];
|
|
4488
4500
|
|
|
4489
4501
|
const DEFAULT_DRAWER_CONFIG = {
|
|
4490
4502
|
side: 'end',
|
|
4491
4503
|
size: 'md',
|
|
4492
4504
|
closeable: true,
|
|
4493
4505
|
backdropClose: true,
|
|
4506
|
+
escapeClose: true,
|
|
4494
4507
|
rounded: false,
|
|
4495
4508
|
grabber: false,
|
|
4496
4509
|
closeLabel: 'Close drawer',
|
|
@@ -4504,10 +4517,20 @@ class Drawer extends CdkDialogContainer {
|
|
|
4504
4517
|
// Injections
|
|
4505
4518
|
_tlsConfig = inject(DRAWER_CONFIG);
|
|
4506
4519
|
_dialogRef = inject(DialogRef$1);
|
|
4520
|
+
_directionality = inject(Directionality);
|
|
4521
|
+
// Named apart from the base container's own renderer and injector, which are
|
|
4522
|
+
// private to it. Both exist solely to serve the drag gesture.
|
|
4523
|
+
_dragRenderer = inject(Renderer2);
|
|
4524
|
+
_dragInjector = inject(Injector);
|
|
4507
4525
|
// State
|
|
4508
4526
|
_state = signal('enter', /* @ts-ignore */
|
|
4509
4527
|
...(ngDevMode ? [{ debugName: "_state" }] : /* istanbul ignore next */ []));
|
|
4528
|
+
_dragState = signal('idle', /* @ts-ignore */
|
|
4529
|
+
...(ngDevMode ? [{ debugName: "_dragState" }] : /* istanbul ignore next */ []));
|
|
4510
4530
|
_closing = false;
|
|
4531
|
+
// Panel extent along the drag axis, sampled once per gesture: the panel may be
|
|
4532
|
+
// sized by content or by a custom length, so only the rendered box is authoritative.
|
|
4533
|
+
_dragExtent = 0;
|
|
4511
4534
|
// Computed
|
|
4512
4535
|
hostClasses = computed(() => {
|
|
4513
4536
|
const classes = [
|
|
@@ -4518,9 +4541,32 @@ class Drawer extends CdkDialogContainer {
|
|
|
4518
4541
|
];
|
|
4519
4542
|
if (this._tlsConfig.rounded)
|
|
4520
4543
|
classes.push('tls-drawer--rounded');
|
|
4544
|
+
if (this._tlsConfig.grabber)
|
|
4545
|
+
classes.push('tls-drawer--grabber');
|
|
4546
|
+
const dragState = this._dragState();
|
|
4547
|
+
if (dragState !== 'idle')
|
|
4548
|
+
classes.push(`tls-drawer--${dragState}`);
|
|
4521
4549
|
return classes;
|
|
4522
4550
|
}, /* @ts-ignore */
|
|
4523
4551
|
...(ngDevMode ? [{ debugName: "hostClasses" }] : /* istanbul ignore next */ []));
|
|
4552
|
+
constructor() {
|
|
4553
|
+
super();
|
|
4554
|
+
// Subscribed rather than bound through host listeners: `$event` on a host
|
|
4555
|
+
// listener for a host directive's output is typed as a bare `Event`, so the
|
|
4556
|
+
// payload would have to be cast back. `panMove` stays outside the Angular
|
|
4557
|
+
// zone through a direct subscription, which is the point of it.
|
|
4558
|
+
const pan = inject(PanDirective);
|
|
4559
|
+
const subscriptions = [
|
|
4560
|
+
pan.panStart.subscribe(() => this._onPanStart()),
|
|
4561
|
+
pan.panMove.subscribe(event => this._onPanMove(event)),
|
|
4562
|
+
pan.panEnd.subscribe(event => this._onPanEnd(event)),
|
|
4563
|
+
pan.panCancel.subscribe(() => this._onPanCancel()),
|
|
4564
|
+
];
|
|
4565
|
+
inject(DestroyRef).onDestroy(() => {
|
|
4566
|
+
for (const subscription of subscriptions)
|
|
4567
|
+
subscription.unsubscribe();
|
|
4568
|
+
});
|
|
4569
|
+
}
|
|
4524
4570
|
// Accessors
|
|
4525
4571
|
get config() {
|
|
4526
4572
|
return this._tlsConfig;
|
|
@@ -4546,6 +4592,154 @@ class Drawer extends CdkDialogContainer {
|
|
|
4546
4592
|
this.animatedClose();
|
|
4547
4593
|
}
|
|
4548
4594
|
// Private methods
|
|
4595
|
+
_onPanStart() {
|
|
4596
|
+
if (this._closing)
|
|
4597
|
+
return;
|
|
4598
|
+
const rect = this._elementRef.nativeElement.getBoundingClientRect();
|
|
4599
|
+
this._dragExtent = this._isInlineSide() ? rect.width : rect.height;
|
|
4600
|
+
this._dragState.set('dragging');
|
|
4601
|
+
// The backdrop tracks the finger for the drag's duration, so its own
|
|
4602
|
+
// transition — which exists to animate the settle — must not lag it.
|
|
4603
|
+
this._setBackdropTransition('none');
|
|
4604
|
+
}
|
|
4605
|
+
// Fired outside the Angular zone (see `PanDirective.panMove`), so it writes to
|
|
4606
|
+
// the DOM directly and never touches a signal.
|
|
4607
|
+
_onPanMove(event) {
|
|
4608
|
+
if (this._closing)
|
|
4609
|
+
return;
|
|
4610
|
+
this._applyDrag(this._dismissTravel(event));
|
|
4611
|
+
}
|
|
4612
|
+
_onPanEnd(event) {
|
|
4613
|
+
if (this._closing)
|
|
4614
|
+
return;
|
|
4615
|
+
// Either condition commits: a short flick is as clear an intent to dismiss as
|
|
4616
|
+
// a slow drag past the ratio, and requiring both would strand each on its own.
|
|
4617
|
+
const travelled = this._dragExtent > 0 && this._dismissTravel(event) / this._dragExtent >= DRAWER_DISMISS_RATIO;
|
|
4618
|
+
const flicked = this._dismissVelocity(event) >= SWIPE_DEFAULT_MIN_VELOCITY;
|
|
4619
|
+
if (travelled || flicked) {
|
|
4620
|
+
this._dragClose();
|
|
4621
|
+
return;
|
|
4622
|
+
}
|
|
4623
|
+
this._settleBack();
|
|
4624
|
+
}
|
|
4625
|
+
_onPanCancel() {
|
|
4626
|
+
if (this._closing)
|
|
4627
|
+
return;
|
|
4628
|
+
this._settleBack();
|
|
4629
|
+
}
|
|
4630
|
+
// Travel toward the panel's pinned edge in px. Negative while the finger moves
|
|
4631
|
+
// the other way, which the caller clamps away — the panel does not overshoot open.
|
|
4632
|
+
_dismissTravel(event) {
|
|
4633
|
+
switch (this._tlsConfig.side) {
|
|
4634
|
+
case 'top':
|
|
4635
|
+
return -event.deltaY;
|
|
4636
|
+
case 'bottom':
|
|
4637
|
+
return event.deltaY;
|
|
4638
|
+
case 'start':
|
|
4639
|
+
return -this._toLogical(event.deltaX);
|
|
4640
|
+
case 'end':
|
|
4641
|
+
return this._toLogical(event.deltaX);
|
|
4642
|
+
}
|
|
4643
|
+
}
|
|
4644
|
+
// Release velocity toward the pinned edge in px/ms. Signed independently of
|
|
4645
|
+
// `_dismissTravel`: a drag that reverses into a flick must read as the flick.
|
|
4646
|
+
_dismissVelocity(event) {
|
|
4647
|
+
switch (this._tlsConfig.side) {
|
|
4648
|
+
case 'top':
|
|
4649
|
+
return -event.velocityY;
|
|
4650
|
+
case 'bottom':
|
|
4651
|
+
return event.velocityY;
|
|
4652
|
+
case 'start':
|
|
4653
|
+
return -this._toLogical(event.velocityX);
|
|
4654
|
+
case 'end':
|
|
4655
|
+
return this._toLogical(event.velocityX);
|
|
4656
|
+
}
|
|
4657
|
+
}
|
|
4658
|
+
// Horizontal quantities arrive physical; the inline sides are logical, so the
|
|
4659
|
+
// sign flips in RTL.
|
|
4660
|
+
_toLogical(physicalX) {
|
|
4661
|
+
return this._directionality.value === 'rtl' ? -physicalX : physicalX;
|
|
4662
|
+
}
|
|
4663
|
+
_isInlineSide() {
|
|
4664
|
+
const side = this._tlsConfig.side;
|
|
4665
|
+
return side === 'start' || side === 'end';
|
|
4666
|
+
}
|
|
4667
|
+
_applyDrag(travel) {
|
|
4668
|
+
const offset = Math.max(0, travel);
|
|
4669
|
+
this._dragRenderer.setStyle(this._elementRef.nativeElement, '--tls-drawer-drag', `${offset}px`, RendererStyleFlags2.DashCase);
|
|
4670
|
+
const backdrop = this._dialogRef.overlayRef.backdropElement;
|
|
4671
|
+
if (backdrop === null)
|
|
4672
|
+
return;
|
|
4673
|
+
const progress = this._dragExtent > 0 ? Math.min(1, offset / this._dragExtent) : 0;
|
|
4674
|
+
this._dragRenderer.setStyle(backdrop, 'opacity', `${1 - progress}`);
|
|
4675
|
+
}
|
|
4676
|
+
_setBackdropTransition(value) {
|
|
4677
|
+
const backdrop = this._dialogRef.overlayRef.backdropElement;
|
|
4678
|
+
if (backdrop === null)
|
|
4679
|
+
return;
|
|
4680
|
+
if (value === null) {
|
|
4681
|
+
this._dragRenderer.removeStyle(backdrop, 'transition');
|
|
4682
|
+
return;
|
|
4683
|
+
}
|
|
4684
|
+
this._dragRenderer.setStyle(backdrop, 'transition', value);
|
|
4685
|
+
}
|
|
4686
|
+
// Returns the panel to rest after a drag that did not commit.
|
|
4687
|
+
_settleBack() {
|
|
4688
|
+
this._settle(0, () => this._dragState.set('idle'));
|
|
4689
|
+
}
|
|
4690
|
+
// Continues the drag out to the pinned edge and disposes on arrival. A dismissal
|
|
4691
|
+
// that began as a drag cannot route through `animatedClose`: the slide-out
|
|
4692
|
+
// keyframe starts from `transform: none`, so the panel would snap back to fully
|
|
4693
|
+
// open for a frame before leaving.
|
|
4694
|
+
_dragClose() {
|
|
4695
|
+
this._closing = true;
|
|
4696
|
+
this._settle(this._dragExtent, () => this._dialogRef.close());
|
|
4697
|
+
}
|
|
4698
|
+
_settle(target, onDone) {
|
|
4699
|
+
this._dragState.set('settling');
|
|
4700
|
+
this._setBackdropTransition(null);
|
|
4701
|
+
// The settle transition lives on the `--settling` class, so the target value
|
|
4702
|
+
// must not be written until change detection has put that class on the host —
|
|
4703
|
+
// set in the same frame, the property would jump instead of animating.
|
|
4704
|
+
afterNextRender(() => {
|
|
4705
|
+
this._applyDrag(target);
|
|
4706
|
+
this._afterSettle(onDone);
|
|
4707
|
+
}, { injector: this._dragInjector });
|
|
4708
|
+
}
|
|
4709
|
+
// Runs `onDone` once the settle transition finishes, or at once when no
|
|
4710
|
+
// transition is emitted (the `none` motion level), so a drawer dismissed by
|
|
4711
|
+
// drag still closes when the user has asked for no motion.
|
|
4712
|
+
_afterSettle(onDone) {
|
|
4713
|
+
const host = this._elementRef.nativeElement;
|
|
4714
|
+
// `transitionDuration` is a comma-separated list, and is absent entirely
|
|
4715
|
+
// where the engine reports no transition at all, so the test is whether any
|
|
4716
|
+
// entry actually lasts — not equality against a single `0s`.
|
|
4717
|
+
const runs = getComputedStyle(host)
|
|
4718
|
+
.transitionDuration.split(',')
|
|
4719
|
+
.some(duration => parseFloat(duration) > 0);
|
|
4720
|
+
if (!runs) {
|
|
4721
|
+
onDone();
|
|
4722
|
+
return;
|
|
4723
|
+
}
|
|
4724
|
+
let settled = false;
|
|
4725
|
+
const finalize = () => {
|
|
4726
|
+
if (settled)
|
|
4727
|
+
return;
|
|
4728
|
+
settled = true;
|
|
4729
|
+
window.clearTimeout(timeoutId);
|
|
4730
|
+
host.removeEventListener('transitionend', onTransitionEnd);
|
|
4731
|
+
onDone();
|
|
4732
|
+
};
|
|
4733
|
+
// Only the panel's own transform settles it; ignore `transitionend` bubbling
|
|
4734
|
+
// up from animated content inside it.
|
|
4735
|
+
const onTransitionEnd = (event) => {
|
|
4736
|
+
if (event.target === host && event.propertyName === 'transform')
|
|
4737
|
+
finalize();
|
|
4738
|
+
};
|
|
4739
|
+
host.addEventListener('transitionend', onTransitionEnd);
|
|
4740
|
+
// Safety net if `transitionend` never arrives (e.g. the panel is torn down early).
|
|
4741
|
+
const timeoutId = window.setTimeout(finalize, LEAVE_ANIMATION_FALLBACK_MS);
|
|
4742
|
+
}
|
|
4549
4743
|
_sizeClass() {
|
|
4550
4744
|
const size = this._tlsConfig.size;
|
|
4551
4745
|
return this._isNamedSize(size) ? size : 'custom';
|
|
@@ -4553,16 +4747,16 @@ class Drawer extends CdkDialogContainer {
|
|
|
4553
4747
|
_isNamedSize(size) {
|
|
4554
4748
|
return DRAWER_NAMED_SIZES.includes(size);
|
|
4555
4749
|
}
|
|
4556
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: Drawer, deps:
|
|
4557
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.5", type: Drawer, isStandalone: true, selector: "tls-drawer", host: { properties: { "class": "hostClasses()", "style.--tls-drawer-size": "customSize" } }, usesInheritance: true, ngImport: i0, template: "@if (config.grabber) {\n <div class=\"tls-drawer__grabber\" aria-hidden=\"true\"></div>\n}\n<ng-template cdkPortalOutlet />\n@if (config.closeable) {\n <button class=\"tls-drawer__close\" type=\"button\" [attr.aria-label]=\"config.closeLabel\" (click)=\"close()\">\n <tls-icon name=\"close\" aria-hidden=\"true\" />\n </button>\n}\n", dependencies: [{ kind: "directive", type: CdkPortalOutlet, selector: "[cdkPortalOutlet]", inputs: ["cdkPortalOutlet"], outputs: ["attached"], exportAs: ["cdkPortalOutlet"] }, { kind: "component", type: Icon, selector: "tls-icon", inputs: ["name", "iconSrc", "alt", "allowedSources"] }] });
|
|
4750
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: Drawer, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
4751
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.5", type: Drawer, isStandalone: true, selector: "tls-drawer", host: { properties: { "class": "hostClasses()", "style.--tls-drawer-size": "customSize" } }, usesInheritance: true, hostDirectives: [{ directive: i1.PanDirective }], ngImport: i0, template: "@if (config.grabber) {\n <div class=\"tls-drawer__grabber\" aria-hidden=\"true\"></div>\n}\n<ng-template cdkPortalOutlet />\n@if (config.closeable) {\n <button class=\"tls-drawer__close\" type=\"button\" [attr.aria-label]=\"config.closeLabel\" (click)=\"close()\">\n <tls-icon name=\"close\" aria-hidden=\"true\" />\n </button>\n}\n", dependencies: [{ kind: "directive", type: CdkPortalOutlet, selector: "[cdkPortalOutlet]", inputs: ["cdkPortalOutlet"], outputs: ["attached"], exportAs: ["cdkPortalOutlet"] }, { kind: "component", type: Icon, selector: "tls-icon", inputs: ["name", "iconSrc", "alt", "allowedSources"] }] });
|
|
4558
4752
|
}
|
|
4559
4753
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: Drawer, decorators: [{
|
|
4560
4754
|
type: Component,
|
|
4561
|
-
args: [{ selector: 'tls-drawer', imports: [CdkPortalOutlet, Icon], host: {
|
|
4755
|
+
args: [{ selector: 'tls-drawer', imports: [CdkPortalOutlet, Icon], hostDirectives: [PanDirective], host: {
|
|
4562
4756
|
'[class]': 'hostClasses()',
|
|
4563
4757
|
'[style.--tls-drawer-size]': 'customSize',
|
|
4564
4758
|
}, template: "@if (config.grabber) {\n <div class=\"tls-drawer__grabber\" aria-hidden=\"true\"></div>\n}\n<ng-template cdkPortalOutlet />\n@if (config.closeable) {\n <button class=\"tls-drawer__close\" type=\"button\" [attr.aria-label]=\"config.closeLabel\" (click)=\"close()\">\n <tls-icon name=\"close\" aria-hidden=\"true\" />\n </button>\n}\n" }]
|
|
4565
|
-
}] });
|
|
4759
|
+
}], ctorParameters: () => [] });
|
|
4566
4760
|
|
|
4567
4761
|
/**
|
|
4568
4762
|
* Handle to an open drawer. Provided to the drawer's content component (inject it
|
|
@@ -4602,6 +4796,7 @@ class DrawerService {
|
|
|
4602
4796
|
size: config?.size ?? this._config.size,
|
|
4603
4797
|
closeable: config?.closeable ?? this._config.closeable,
|
|
4604
4798
|
backdropClose: config?.backdropClose ?? this._config.backdropClose,
|
|
4799
|
+
escapeClose: config?.escapeClose ?? this._config.escapeClose,
|
|
4605
4800
|
rounded: config?.rounded ?? this._config.rounded,
|
|
4606
4801
|
grabber: config?.grabber ?? this._config.grabber,
|
|
4607
4802
|
closeLabel: config?.closeLabel ?? this._config.closeLabel,
|
|
@@ -4610,7 +4805,10 @@ class DrawerService {
|
|
|
4610
4805
|
const dialogRef = this._dialog.open(component, {
|
|
4611
4806
|
container: {
|
|
4612
4807
|
type: Drawer,
|
|
4613
|
-
providers: () => [
|
|
4808
|
+
providers: () => [
|
|
4809
|
+
{ provide: DRAWER_CONFIG, useValue: resolvedConfig },
|
|
4810
|
+
{ provide: PAN_CONFIG, useValue: this._buildPanConfig(resolvedConfig) },
|
|
4811
|
+
],
|
|
4614
4812
|
},
|
|
4615
4813
|
// Built against the content injector so the drawer's content can `inject(DrawerRef)`
|
|
4616
4814
|
// to close itself. The same instance is returned to the caller below.
|
|
@@ -4644,6 +4842,22 @@ class DrawerService {
|
|
|
4644
4842
|
drawerRef.close();
|
|
4645
4843
|
}
|
|
4646
4844
|
// Private
|
|
4845
|
+
// The drag gesture lives on the drawer container, whose inputs cannot be bound
|
|
4846
|
+
// because the CDK instantiates it rather than a template, so its configuration
|
|
4847
|
+
// is handed down through the injector instead.
|
|
4848
|
+
_buildPanConfig(config) {
|
|
4849
|
+
return {
|
|
4850
|
+
...DEFAULT_PAN_CONFIG,
|
|
4851
|
+
// The grabber is the affordance for the gesture, so the pill and the drag
|
|
4852
|
+
// are one decision — a visible grabber is always draggable, and a panel
|
|
4853
|
+
// without one carries no gesture at all.
|
|
4854
|
+
enabled: config.grabber,
|
|
4855
|
+
// Locked to the panel's own axis so the browser keeps the cross axis and
|
|
4856
|
+
// content inside the drawer still scrolls natively.
|
|
4857
|
+
axis: config.side === 'top' || config.side === 'bottom' ? 'y' : 'x',
|
|
4858
|
+
pointerTypes: DRAWER_DRAG_POINTER_TYPES,
|
|
4859
|
+
};
|
|
4860
|
+
}
|
|
4647
4861
|
_buildPositionStrategy(side) {
|
|
4648
4862
|
const position = this._overlay.position().global();
|
|
4649
4863
|
const isRtl = this._directionality.value === 'rtl';
|
|
@@ -4661,14 +4875,16 @@ class DrawerService {
|
|
|
4661
4875
|
}
|
|
4662
4876
|
}
|
|
4663
4877
|
_wireDismissal(dialogRef, drawerRef, config) {
|
|
4664
|
-
|
|
4665
|
-
|
|
4666
|
-
|
|
4667
|
-
.pipe(takeUntil(dialogRef.closed))
|
|
4668
|
-
|
|
4669
|
-
|
|
4670
|
-
|
|
4671
|
-
|
|
4878
|
+
// Gated separately: a drawer that ignores backdrop clicks must still be
|
|
4879
|
+
// dismissable from the keyboard unless the caller opts out of that too.
|
|
4880
|
+
if (config.backdropClose) {
|
|
4881
|
+
dialogRef.backdropClick.pipe(takeUntil(dialogRef.closed)).subscribe(() => drawerRef.close());
|
|
4882
|
+
}
|
|
4883
|
+
if (config.escapeClose) {
|
|
4884
|
+
dialogRef.keydownEvents
|
|
4885
|
+
.pipe(takeUntil(dialogRef.closed), filter(event => event.key === 'Escape'))
|
|
4886
|
+
.subscribe(() => drawerRef.close());
|
|
4887
|
+
}
|
|
4672
4888
|
}
|
|
4673
4889
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: DrawerService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4674
4890
|
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: DrawerService, providedIn: 'root' });
|
|
@@ -7695,6 +7911,240 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.5", ngImpor
|
|
|
7695
7911
|
}, template: "<div class=\"tls-image-compare__layer tls-image-compare__after\">\n <ng-content select=\"[after]\"></ng-content>\n</div>\n\n<div class=\"tls-image-compare__layer tls-image-compare__before\" [style.clip-path]=\"clipPath()\">\n <ng-content select=\"[before]\"></ng-content>\n</div>\n\n<div\n #handle\n class=\"tls-image-compare__handle\"\n role=\"slider\"\n tabindex=\"0\"\n [attr.aria-orientation]=\"orientation()\"\n [attr.aria-valuenow]=\"valueNow()\"\n [attr.aria-valuemin]=\"0\"\n [attr.aria-valuemax]=\"100\"\n [attr.aria-label]=\"ariaLabel() ?? null\"\n [attr.aria-labelledby]=\"ariaLabelledby() ?? null\"\n [style.inset-inline-start.%]=\"isHorizontal() ? clampedPosition() : null\"\n [style.inset-block-start.%]=\"isHorizontal() ? null : clampedPosition()\"\n (keydown)=\"onHandleKeydown($event)\"\n>\n <span class=\"tls-image-compare__grip\" aria-hidden=\"true\"></span>\n</div>\n" }]
|
|
7696
7912
|
}], propDecorators: { orientation: [{ type: i0.Input, args: [{ isSignal: true, alias: "orientation", required: false }] }], keyboardStep: [{ type: i0.Input, args: [{ isSignal: true, alias: "keyboardStep", required: false }] }], position: [{ type: i0.Input, args: [{ isSignal: true, alias: "position", required: false }] }, { type: i0.Output, args: ["positionChange"] }], ariaLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "ariaLabel", required: false }] }], ariaLabelledby: [{ type: i0.Input, args: [{ isSignal: true, alias: "ariaLabelledby", required: false }] }], _handle: [{ type: i0.ViewChild, args: ['handle', { isSignal: true }] }] } });
|
|
7697
7913
|
|
|
7914
|
+
const DEFAULT_INFINITE_SCROLL_CONFIG = {
|
|
7915
|
+
rootMargin: 200,
|
|
7916
|
+
autoLoadLimit: 3,
|
|
7917
|
+
labels: {
|
|
7918
|
+
loading: 'Loading more items',
|
|
7919
|
+
complete: 'No more items',
|
|
7920
|
+
loadMore: 'Load more',
|
|
7921
|
+
},
|
|
7922
|
+
};
|
|
7923
|
+
|
|
7924
|
+
const INFINITE_SCROLL_CONFIG = new InjectionToken('INFINITE_SCROLL_CONFIG', { factory: () => DEFAULT_INFINITE_SCROLL_CONFIG });
|
|
7925
|
+
|
|
7926
|
+
/**
|
|
7927
|
+
* End-of-collection trigger that asks for the next page as the reader approaches it. The
|
|
7928
|
+
* host is the sentinel: it is placed immediately after the collection and watched with an
|
|
7929
|
+
* `IntersectionObserver`, so `loadMore` fires once it comes within `rootMargin` of the
|
|
7930
|
+
* scroll edge. It renders the loading, end-of-collection and manual-trigger states of that
|
|
7931
|
+
* cycle, and nothing else — the collection above it stays entirely the consumer's.
|
|
7932
|
+
*
|
|
7933
|
+
* ```html
|
|
7934
|
+
* @for (article of articles(); track article.id) {
|
|
7935
|
+
* <article>…</article>
|
|
7936
|
+
* }
|
|
7937
|
+
*
|
|
7938
|
+
* <tls-infinite-scroll
|
|
7939
|
+
* [loading]="loading()"
|
|
7940
|
+
* [complete]="loadedEverything()"
|
|
7941
|
+
* (loadMore)="loadNextPage()"
|
|
7942
|
+
* />
|
|
7943
|
+
* ```
|
|
7944
|
+
*
|
|
7945
|
+
* The component owns no data, so `loading` is how it learns what became of a request:
|
|
7946
|
+
* raising it suspends the watch, and lowering it re-checks the sentinel and asks for one
|
|
7947
|
+
* more page while the collection is still too short to fill the container. Until `loading`
|
|
7948
|
+
* moves, the request already made stands, and the sentinel sitting in view cannot turn into
|
|
7949
|
+
* a second one — so a consumer that never raises `loading` at all gets exactly one request
|
|
7950
|
+
* each time the sentinel is scrolled into view.
|
|
7951
|
+
*
|
|
7952
|
+
* Content that grows without end leaves anything below it unreachable, so the automatic
|
|
7953
|
+
* loads are rationed: after `autoLoadLimit` of them in a row the component stops watching
|
|
7954
|
+
* and renders a button, and the allowance is renewed each time that button is used. The
|
|
7955
|
+
* three states each accept replacement content —
|
|
7956
|
+
* `[tlsInfiniteScrollLoading]`, `[tlsInfiniteScrollComplete]`, `[tlsInfiniteScrollTrigger]`
|
|
7957
|
+
* — projected in place of the loader, the end notice and the button:
|
|
7958
|
+
*
|
|
7959
|
+
* ```html
|
|
7960
|
+
* <tls-infinite-scroll [loading]="loading()" (loadMore)="loadNextPage()">
|
|
7961
|
+
* <tls-skeleton tlsInfiniteScrollLoading height="64px" />
|
|
7962
|
+
* </tls-infinite-scroll>
|
|
7963
|
+
* ```
|
|
7964
|
+
*
|
|
7965
|
+
* Visibility is clipped by every scrolling ancestor, so a collection inside a panel triggers
|
|
7966
|
+
* without configuration — but the head start does not come for free with it: `rootMargin`
|
|
7967
|
+
* expands the root's box and nothing else, and the root is the viewport until one is named.
|
|
7968
|
+
* Left unset inside a panel, the next page is therefore requested only as the sentinel
|
|
7969
|
+
* reaches the panel's edge; pass that panel as `root` to get the margin back.
|
|
7970
|
+
*
|
|
7971
|
+
* The end notice is announced from `labels.complete`, whatever stands in the slot, so
|
|
7972
|
+
* replacement content belongs with a label that says the same thing.
|
|
7973
|
+
*/
|
|
7974
|
+
class InfiniteScroll {
|
|
7975
|
+
// Injections
|
|
7976
|
+
_config = inject(INFINITE_SCROLL_CONFIG);
|
|
7977
|
+
_elementRef = inject(ElementRef);
|
|
7978
|
+
_isBrowser = isPlatformBrowser(inject(PLATFORM_ID));
|
|
7979
|
+
// Inputs
|
|
7980
|
+
/**
|
|
7981
|
+
* Whether a page is in flight. While it is raised nothing is watched and nothing is
|
|
7982
|
+
* emitted; lowering it re-measures the sentinel and requests the next page when the
|
|
7983
|
+
* collection still has not reached past the scroll edge.
|
|
7984
|
+
*/
|
|
7985
|
+
loading = input(false, { ...(ngDevMode ? { debugName: "loading" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
|
|
7986
|
+
/** Whether the collection is exhausted. Ends the cycle and renders the end notice. */
|
|
7987
|
+
complete = input(false, { ...(ngDevMode ? { debugName: "complete" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
|
|
7988
|
+
/**
|
|
7989
|
+
* Suspends the whole trigger without ending it: nothing is watched, nothing is rendered,
|
|
7990
|
+
* and the automatic allowance is kept for when it is lifted.
|
|
7991
|
+
*/
|
|
7992
|
+
disabled = input(false, { ...(ngDevMode ? { debugName: "disabled" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
|
|
7993
|
+
/**
|
|
7994
|
+
* Renders the button from the start instead of loading on approach. The scroll position
|
|
7995
|
+
* then never triggers a request, which is what a collection whose items are expensive to
|
|
7996
|
+
* render — or one a reader is likely to scroll past — should do.
|
|
7997
|
+
*/
|
|
7998
|
+
manual = input(false, { ...(ngDevMode ? { debugName: "manual" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
|
|
7999
|
+
/** Distance ahead of the scroll edge at which a load starts, in pixels. */
|
|
8000
|
+
rootMargin = input(this._config.rootMargin, { ...(ngDevMode ? { debugName: "rootMargin" } : /* istanbul ignore next */ {}), transform: numberAttribute });
|
|
8001
|
+
/** Consecutive automatic loads before the button takes over; `0` removes the limit. */
|
|
8002
|
+
autoLoadLimit = input(this._config.autoLoadLimit, { ...(ngDevMode ? { debugName: "autoLoadLimit" } : /* istanbul ignore next */ {}), transform: numberAttribute });
|
|
8003
|
+
/**
|
|
8004
|
+
* Element the sentinel's visibility is measured against. Left unset that is the viewport,
|
|
8005
|
+
* clipped by whatever scrolling ancestors lie in between — enough to trigger inside a
|
|
8006
|
+
* panel, but `rootMargin` then expands the viewport's box rather than the panel's, which
|
|
8007
|
+
* costs the head start. Name the scrolling container to measure the margin against it.
|
|
8008
|
+
*/
|
|
8009
|
+
root = input(null, /* @ts-ignore */
|
|
8010
|
+
...(ngDevMode ? [{ debugName: "root" }] : /* istanbul ignore next */ []));
|
|
8011
|
+
// Outputs
|
|
8012
|
+
/**
|
|
8013
|
+
* Request for one more page. One request stands at a time: nothing follows it until
|
|
8014
|
+
* `loading` moves or the sentinel leaves view, whether it came from the scroll position
|
|
8015
|
+
* or from the button.
|
|
8016
|
+
*/
|
|
8017
|
+
loadMore = output();
|
|
8018
|
+
// State
|
|
8019
|
+
labels = this._config.labels;
|
|
8020
|
+
/** Automatic loads since the last time the button was used. */
|
|
8021
|
+
_automaticLoads = signal(0, /* @ts-ignore */
|
|
8022
|
+
...(ngDevMode ? [{ debugName: "_automaticLoads" }] : /* istanbul ignore next */ []));
|
|
8023
|
+
/**
|
|
8024
|
+
* Whether a request has gone out that nothing has accounted for yet. The sentinel keeps
|
|
8025
|
+
* reporting itself visible after a page is asked for — an observer started while it is in
|
|
8026
|
+
* view says so immediately — so without this a single request would be repeated for as
|
|
8027
|
+
* long as it takes the collection to grow past the scroll edge. Any change to `loading`
|
|
8028
|
+
* settles the outstanding request: raising it is the consumer taking the request on,
|
|
8029
|
+
* lowering it means the page has landed.
|
|
8030
|
+
*/
|
|
8031
|
+
_pending = linkedSignal({ ...(ngDevMode ? { debugName: "_pending" } : /* istanbul ignore next */ {}), source: this.loading,
|
|
8032
|
+
computation: () => false });
|
|
8033
|
+
// Computed
|
|
8034
|
+
state = computed(() => {
|
|
8035
|
+
// Suspension outranks every other state: a trigger told to stand down neither watches
|
|
8036
|
+
// nor reports, whatever the collection is doing meanwhile.
|
|
8037
|
+
if (this.disabled())
|
|
8038
|
+
return 'disabled';
|
|
8039
|
+
if (this.complete())
|
|
8040
|
+
return 'complete';
|
|
8041
|
+
if (this.loading())
|
|
8042
|
+
return 'loading';
|
|
8043
|
+
const limit = this.autoLoadLimit();
|
|
8044
|
+
if (this.manual() || (limit > 0 && this._automaticLoads() >= limit))
|
|
8045
|
+
return 'manual';
|
|
8046
|
+
return 'idle';
|
|
8047
|
+
}, /* @ts-ignore */
|
|
8048
|
+
...(ngDevMode ? [{ debugName: "state" }] : /* istanbul ignore next */ []));
|
|
8049
|
+
/** Text of the live region: empty in every state that has nothing to report. */
|
|
8050
|
+
announcement = computed(() => {
|
|
8051
|
+
const state = this.state();
|
|
8052
|
+
if (state === 'loading')
|
|
8053
|
+
return this.labels.loading;
|
|
8054
|
+
if (state === 'complete')
|
|
8055
|
+
return this.labels.complete;
|
|
8056
|
+
return '';
|
|
8057
|
+
}, /* @ts-ignore */
|
|
8058
|
+
...(ngDevMode ? [{ debugName: "announcement" }] : /* istanbul ignore next */ []));
|
|
8059
|
+
hostClasses = computed(() => [
|
|
8060
|
+
'tls-infinite-scroll',
|
|
8061
|
+
`tls-infinite-scroll--${this.state()}`,
|
|
8062
|
+
], /* @ts-ignore */
|
|
8063
|
+
...(ngDevMode ? [{ debugName: "hostClasses" }] : /* istanbul ignore next */ []));
|
|
8064
|
+
/**
|
|
8065
|
+
* Whether the sentinel is under observation. Observation outlives the point at which the
|
|
8066
|
+
* component stops asking for pages: a request that the consumer never reports on is
|
|
8067
|
+
* settled by the sentinel leaving view, which only an observer still in place can see.
|
|
8068
|
+
*/
|
|
8069
|
+
_observing = computed(() => this.state() === 'idle', /* @ts-ignore */
|
|
8070
|
+
...(ngDevMode ? [{ debugName: "_observing" }] : /* istanbul ignore next */ []));
|
|
8071
|
+
/** Whether a report of the sentinel in view should turn into a request. */
|
|
8072
|
+
_requesting = computed(() => this._observing() && !this._pending(), /* @ts-ignore */
|
|
8073
|
+
...(ngDevMode ? [{ debugName: "_requesting" }] : /* istanbul ignore next */ []));
|
|
8074
|
+
/**
|
|
8075
|
+
* Margin as the observer takes it. A margin that does not resolve to a length is rejected
|
|
8076
|
+
* by the observer's constructor, so an unusable input falls back to the configured one
|
|
8077
|
+
* rather than leaving the collection with no trigger at all.
|
|
8078
|
+
*/
|
|
8079
|
+
_resolvedRootMargin = computed(() => {
|
|
8080
|
+
const margin = this.rootMargin();
|
|
8081
|
+
return `${Number.isFinite(margin) ? margin : this._config.rootMargin}px`;
|
|
8082
|
+
}, /* @ts-ignore */
|
|
8083
|
+
...(ngDevMode ? [{ debugName: "_resolvedRootMargin" }] : /* istanbul ignore next */ []));
|
|
8084
|
+
constructor() {
|
|
8085
|
+
effect(onCleanup => {
|
|
8086
|
+
if (!this._isBrowser)
|
|
8087
|
+
return;
|
|
8088
|
+
if (!this._observing())
|
|
8089
|
+
return;
|
|
8090
|
+
const observer = new IntersectionObserver(entries => {
|
|
8091
|
+
if (entries[entries.length - 1].isIntersecting) {
|
|
8092
|
+
this._loadAutomatically();
|
|
8093
|
+
return;
|
|
8094
|
+
}
|
|
8095
|
+
// The sentinel out of view is the end of whatever was asked for while it was in
|
|
8096
|
+
// view: the collection now reaches past the scroll edge, however it got there.
|
|
8097
|
+
this._pending.set(false);
|
|
8098
|
+
}, { root: this.root(), rootMargin: this._resolvedRootMargin() });
|
|
8099
|
+
// An observer reports the sentinel's current visibility as soon as it starts, so
|
|
8100
|
+
// re-arming after a page has arrived is what continues a collection too short to
|
|
8101
|
+
// reach past the scroll edge — no separate catch-up pass is needed.
|
|
8102
|
+
observer.observe(this._elementRef.nativeElement);
|
|
8103
|
+
onCleanup(() => observer.disconnect());
|
|
8104
|
+
});
|
|
8105
|
+
}
|
|
8106
|
+
// Public methods
|
|
8107
|
+
/**
|
|
8108
|
+
* Requests the next page as the button does, renewing the automatic allowance. Ignored
|
|
8109
|
+
* while a page is in flight, once the collection is exhausted and while suspended.
|
|
8110
|
+
*/
|
|
8111
|
+
load() {
|
|
8112
|
+
const state = this.state();
|
|
8113
|
+
if (state !== 'idle' && state !== 'manual')
|
|
8114
|
+
return;
|
|
8115
|
+
this._automaticLoads.set(0);
|
|
8116
|
+
this._emit();
|
|
8117
|
+
}
|
|
8118
|
+
/**
|
|
8119
|
+
* Renews the automatic allowance. A collection that is replaced rather than extended — a
|
|
8120
|
+
* new query, a changed filter — starts its own run of automatic loads, which this
|
|
8121
|
+
* restores. It emits nothing itself, but it does put the sentinel back under observation,
|
|
8122
|
+
* so a page is requested straight away when the shorter collection leaves it in view.
|
|
8123
|
+
*/
|
|
8124
|
+
reset() {
|
|
8125
|
+
this._automaticLoads.set(0);
|
|
8126
|
+
}
|
|
8127
|
+
// Private methods
|
|
8128
|
+
_loadAutomatically() {
|
|
8129
|
+
if (!untracked(this._requesting))
|
|
8130
|
+
return;
|
|
8131
|
+
this._automaticLoads.update(count => count + 1);
|
|
8132
|
+
this._emit();
|
|
8133
|
+
}
|
|
8134
|
+
_emit() {
|
|
8135
|
+
this._pending.set(true);
|
|
8136
|
+
this.loadMore.emit();
|
|
8137
|
+
}
|
|
8138
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: InfiniteScroll, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
8139
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.5", type: InfiniteScroll, isStandalone: true, selector: "tls-infinite-scroll", inputs: { loading: { classPropertyName: "loading", publicName: "loading", isSignal: true, isRequired: false, transformFunction: null }, complete: { classPropertyName: "complete", publicName: "complete", isSignal: true, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null }, manual: { classPropertyName: "manual", publicName: "manual", isSignal: true, isRequired: false, transformFunction: null }, rootMargin: { classPropertyName: "rootMargin", publicName: "rootMargin", isSignal: true, isRequired: false, transformFunction: null }, autoLoadLimit: { classPropertyName: "autoLoadLimit", publicName: "autoLoadLimit", isSignal: true, isRequired: false, transformFunction: null }, root: { classPropertyName: "root", publicName: "root", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { loadMore: "loadMore" }, host: { properties: { "class": "hostClasses()" } }, ngImport: i0, template: "<!--\n A live region is only announced reliably when it is already in the DOM before its text\n changes, so the region is permanent and the states write into it. The visual side of\n those states is hidden from assistive technology to keep the notice from being read twice.\n-->\n<div class=\"announcement\" role=\"status\">{{ announcement() }}</div>\n\n@switch (state()) {\n @case ('loading') {\n <div class=\"state\" aria-hidden=\"true\">\n <ng-content select=\"[tlsInfiniteScrollLoading]\">\n <tls-loader size=\"sm\" />\n </ng-content>\n </div>\n }\n @case ('complete') {\n <div class=\"state\" aria-hidden=\"true\">\n <ng-content select=\"[tlsInfiniteScrollComplete]\">\n <span class=\"notice\">{{ labels.complete }}</span>\n </ng-content>\n </div>\n }\n @case ('manual') {\n <div class=\"state\">\n <ng-content select=\"[tlsInfiniteScrollTrigger]\">\n <tls-button variant=\"tonal\" [label]=\"labels.loadMore\" (click)=\"load()\" />\n </ng-content>\n </div>\n }\n}\n", styles: [".tls-container{container:tls-container/inline-size;height:100%;width:100%}.tls-container__content{height:100%;max-width:1536px;margin:0 auto}@container tls-container (max-width: 1536px){.tls-container__content{max-width:1280px}}@container tls-container (max-width: 1280px){.tls-container__content{max-width:1024px}}@container tls-container (max-width: 1024px){.tls-container__content{max-width:768px}}@container tls-container (max-width: 768px){.tls-container__content{max-width:640px}}@container tls-container (max-width: 640px){.tls-container__content{padding:0 16px}}.tls-container-media{height:100%;width:100%;max-width:1536px;margin:0 auto}@media(max-width:1536px){.tls-container-media{max-width:1280px}}@media(max-width:1280px){.tls-container-media{max-width:1024px}}@media(max-width:1024px){.tls-container-media{max-width:768px}}@media(max-width:768px){.tls-container-media{max-width:640px}}@media(max-width:640px){.tls-container-media{padding:0 16px;width:auto}}.--cursor-help{cursor:help}.--cursor-pointer{cursor:pointer}.--hidden{display:none}.--f-style-normal{font-style:normal}.--f-style-italic{font-style:italic}.--f-weight-thin{font-weight:100}.--f-weight-extralight{font-weight:200}.--f-weight-light{font-weight:var(--font-weight-light)}.--f-weight-normal{font-weight:var(--font-weight-regular)}.--f-weight-medium{font-weight:var(--font-weight-medium)}.--f-weight-semibold{font-weight:var(--font-weight-semibold)}.--f-weight-bold{font-weight:var(--font-weight-bold)}.--f-weight-extrabold{font-weight:800}.--f-weight-black{font-weight:900}.--row{display:flex;flex-direction:row}.--row-reverse{display:flex;flex-direction:row-reverse}.--column{display:flex;flex-direction:column}.--column-reverse{display:flex;flex-direction:column-reverse}.--flex-wrap{flex-wrap:wrap}.--flex-nowrap{flex-wrap:nowrap}.--justify-start{justify-content:flex-start}.--justify-end{justify-content:flex-end}.--justify-center{justify-content:center}.--justify-between{justify-content:space-between}.--justify-around{justify-content:space-around}.--justify-evenly{justify-content:space-evenly}.--items-start{align-items:flex-start}.--items-end{align-items:flex-end}.--items-center{align-items:center}.--items-baseline{align-items:baseline}.--items-stretch{align-items:stretch}.--gap-1{gap:var(--spacing-1)}.--gap-2{gap:var(--spacing-2)}.--gap-3{gap:var(--spacing-3)}.--gap-4{gap:var(--spacing-4)}.--gap-5{gap:var(--spacing-5)}.--gap-6{gap:var(--spacing-6)}.--gap-7{gap:var(--spacing-7)}.--gap-8{gap:var(--spacing-8)}.--gap-9{gap:var(--spacing-9)}.--gap-10{gap:var(--spacing-10)}.--gap-11{gap:var(--spacing-11)}.--gap-12{gap:var(--spacing-12)}.--gap-13{gap:var(--spacing-13)}.--gap-14{gap:var(--spacing-14)}.--gap-15{gap:var(--spacing-15)}.--gap-16{gap:var(--spacing-16)}.--gap-17{gap:var(--spacing-17)}.--gap-18{gap:var(--spacing-18)}.--gap-19{gap:var(--spacing-19)}.--gap-20{gap:var(--spacing-20)}.--text-ellipsis{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.text-display-lg{font-size:var(--font-display-large-size);font-weight:var(--font-display-large-weight);line-height:var(--font-display-large-line-height);letter-spacing:var(--font-display-large-letter-spacing)}.text-display-md{font-size:var(--font-display-medium-size);font-weight:var(--font-display-medium-weight);line-height:var(--font-display-medium-line-height);letter-spacing:var(--font-display-medium-letter-spacing)}.text-display-sm{font-size:var(--font-display-small-size);font-weight:var(--font-display-small-weight);line-height:var(--font-display-small-line-height);letter-spacing:var(--font-display-small-letter-spacing)}h1,.text-headline-lg{font-size:var(--font-headline-large-size);font-weight:var(--font-headline-large-weight);line-height:var(--font-headline-large-line-height);letter-spacing:var(--font-headline-large-letter-spacing)}h2,.text-headline-md{font-size:var(--font-headline-medium-size);font-weight:var(--font-headline-medium-weight);line-height:var(--font-headline-medium-line-height);letter-spacing:var(--font-headline-medium-letter-spacing)}h3,.text-headline-sm{font-size:var(--font-headline-small-size);font-weight:var(--font-headline-small-weight);line-height:var(--font-headline-small-line-height);letter-spacing:var(--font-headline-small-letter-spacing)}h4,.text-title-lg{font-size:var(--font-title-large-size);font-weight:var(--font-title-large-weight);line-height:var(--font-title-large-line-height);letter-spacing:var(--font-title-large-letter-spacing)}h5,.text-title-md{font-size:var(--font-title-medium-size);font-weight:var(--font-title-medium-weight);line-height:var(--font-title-medium-line-height);letter-spacing:var(--font-title-medium-letter-spacing)}h6,.text-title-sm{font-size:var(--font-title-small-size);font-weight:var(--font-title-small-weight);line-height:var(--font-title-small-line-height);letter-spacing:var(--font-title-small-letter-spacing)}p,.text-body-lg{font-size:var(--font-body-large-size);font-weight:var(--font-body-large-weight);line-height:var(--font-body-large-line-height);letter-spacing:var(--font-body-large-letter-spacing)}.text-body-md{font-size:var(--font-body-medium-size);font-weight:var(--font-body-medium-weight);line-height:var(--font-body-medium-line-height);letter-spacing:var(--font-body-medium-letter-spacing)}small,.text-body-sm{font-size:var(--font-body-small-size);font-weight:var(--font-body-small-weight);line-height:var(--font-body-small-line-height);letter-spacing:var(--font-body-small-letter-spacing)}.text-label-lg{font-size:var(--font-label-large-size);font-weight:var(--font-label-large-weight);line-height:var(--font-label-large-line-height);letter-spacing:var(--font-label-large-letter-spacing)}.text-label-md{font-size:var(--font-label-medium-size);font-weight:var(--font-label-medium-weight);line-height:var(--font-label-medium-line-height);letter-spacing:var(--font-label-medium-letter-spacing)}.text-label-sm{font-size:var(--font-label-small-size);font-weight:var(--font-label-small-weight);line-height:var(--font-label-small-line-height);letter-spacing:var(--font-label-small-letter-spacing)}body{margin:0}ul,ol{margin:0;padding:0;list-style:none}h1,h2,h3,h4,h5,h6,p,blockquote{margin:0}button{padding:0;text-align:inherit;border:none;background-color:transparent;cursor:pointer}input,textarea{padding:0;border:0}table{border-spacing:0}hr{margin:0;border:none}a{text-decoration:none}:root{box-sizing:border-box;-webkit-text-size-adjust:100%;text-size-adjust:100%;color-scheme:light;font-family:var(--font-family-base),sans-serif;color:var(--color-on-surface);background-color:var(--color-surface)}:root.tls-dark{color-scheme:dark}*,*:before,*:after{box-sizing:inherit}button{font-family:inherit;color:inherit}img,svg{width:100%;height:100%}:host{min-height:1px;display:block}:host .announcement{position:absolute;width:1px;height:1px;margin:-1px;padding:0;border:0;white-space:nowrap;overflow:hidden;clip-path:inset(50%)}:host .state{padding-block:var(--spacing-4);display:flex;align-items:center;justify-content:center}:host .notice{font-size:var(--font-body-small-size);line-height:var(--font-body-small-line-height);letter-spacing:var(--font-body-small-letter-spacing);color:var(--color-on-surface-variant)}\n"], dependencies: [{ kind: "component", type: Button, selector: "tls-button", inputs: ["label", "ariaLabel", "ariaLabelledby", "type", "href", "tabindex"] }, { kind: "component", type: Loader, selector: "tls-loader", inputs: ["size", "width", "widthRatio", "ariaLabel"] }] });
|
|
8140
|
+
}
|
|
8141
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: InfiniteScroll, decorators: [{
|
|
8142
|
+
type: Component,
|
|
8143
|
+
args: [{ selector: 'tls-infinite-scroll', imports: [Button, Loader], host: {
|
|
8144
|
+
'[class]': 'hostClasses()',
|
|
8145
|
+
}, template: "<!--\n A live region is only announced reliably when it is already in the DOM before its text\n changes, so the region is permanent and the states write into it. The visual side of\n those states is hidden from assistive technology to keep the notice from being read twice.\n-->\n<div class=\"announcement\" role=\"status\">{{ announcement() }}</div>\n\n@switch (state()) {\n @case ('loading') {\n <div class=\"state\" aria-hidden=\"true\">\n <ng-content select=\"[tlsInfiniteScrollLoading]\">\n <tls-loader size=\"sm\" />\n </ng-content>\n </div>\n }\n @case ('complete') {\n <div class=\"state\" aria-hidden=\"true\">\n <ng-content select=\"[tlsInfiniteScrollComplete]\">\n <span class=\"notice\">{{ labels.complete }}</span>\n </ng-content>\n </div>\n }\n @case ('manual') {\n <div class=\"state\">\n <ng-content select=\"[tlsInfiniteScrollTrigger]\">\n <tls-button variant=\"tonal\" [label]=\"labels.loadMore\" (click)=\"load()\" />\n </ng-content>\n </div>\n }\n}\n", styles: [".tls-container{container:tls-container/inline-size;height:100%;width:100%}.tls-container__content{height:100%;max-width:1536px;margin:0 auto}@container tls-container (max-width: 1536px){.tls-container__content{max-width:1280px}}@container tls-container (max-width: 1280px){.tls-container__content{max-width:1024px}}@container tls-container (max-width: 1024px){.tls-container__content{max-width:768px}}@container tls-container (max-width: 768px){.tls-container__content{max-width:640px}}@container tls-container (max-width: 640px){.tls-container__content{padding:0 16px}}.tls-container-media{height:100%;width:100%;max-width:1536px;margin:0 auto}@media(max-width:1536px){.tls-container-media{max-width:1280px}}@media(max-width:1280px){.tls-container-media{max-width:1024px}}@media(max-width:1024px){.tls-container-media{max-width:768px}}@media(max-width:768px){.tls-container-media{max-width:640px}}@media(max-width:640px){.tls-container-media{padding:0 16px;width:auto}}.--cursor-help{cursor:help}.--cursor-pointer{cursor:pointer}.--hidden{display:none}.--f-style-normal{font-style:normal}.--f-style-italic{font-style:italic}.--f-weight-thin{font-weight:100}.--f-weight-extralight{font-weight:200}.--f-weight-light{font-weight:var(--font-weight-light)}.--f-weight-normal{font-weight:var(--font-weight-regular)}.--f-weight-medium{font-weight:var(--font-weight-medium)}.--f-weight-semibold{font-weight:var(--font-weight-semibold)}.--f-weight-bold{font-weight:var(--font-weight-bold)}.--f-weight-extrabold{font-weight:800}.--f-weight-black{font-weight:900}.--row{display:flex;flex-direction:row}.--row-reverse{display:flex;flex-direction:row-reverse}.--column{display:flex;flex-direction:column}.--column-reverse{display:flex;flex-direction:column-reverse}.--flex-wrap{flex-wrap:wrap}.--flex-nowrap{flex-wrap:nowrap}.--justify-start{justify-content:flex-start}.--justify-end{justify-content:flex-end}.--justify-center{justify-content:center}.--justify-between{justify-content:space-between}.--justify-around{justify-content:space-around}.--justify-evenly{justify-content:space-evenly}.--items-start{align-items:flex-start}.--items-end{align-items:flex-end}.--items-center{align-items:center}.--items-baseline{align-items:baseline}.--items-stretch{align-items:stretch}.--gap-1{gap:var(--spacing-1)}.--gap-2{gap:var(--spacing-2)}.--gap-3{gap:var(--spacing-3)}.--gap-4{gap:var(--spacing-4)}.--gap-5{gap:var(--spacing-5)}.--gap-6{gap:var(--spacing-6)}.--gap-7{gap:var(--spacing-7)}.--gap-8{gap:var(--spacing-8)}.--gap-9{gap:var(--spacing-9)}.--gap-10{gap:var(--spacing-10)}.--gap-11{gap:var(--spacing-11)}.--gap-12{gap:var(--spacing-12)}.--gap-13{gap:var(--spacing-13)}.--gap-14{gap:var(--spacing-14)}.--gap-15{gap:var(--spacing-15)}.--gap-16{gap:var(--spacing-16)}.--gap-17{gap:var(--spacing-17)}.--gap-18{gap:var(--spacing-18)}.--gap-19{gap:var(--spacing-19)}.--gap-20{gap:var(--spacing-20)}.--text-ellipsis{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.text-display-lg{font-size:var(--font-display-large-size);font-weight:var(--font-display-large-weight);line-height:var(--font-display-large-line-height);letter-spacing:var(--font-display-large-letter-spacing)}.text-display-md{font-size:var(--font-display-medium-size);font-weight:var(--font-display-medium-weight);line-height:var(--font-display-medium-line-height);letter-spacing:var(--font-display-medium-letter-spacing)}.text-display-sm{font-size:var(--font-display-small-size);font-weight:var(--font-display-small-weight);line-height:var(--font-display-small-line-height);letter-spacing:var(--font-display-small-letter-spacing)}h1,.text-headline-lg{font-size:var(--font-headline-large-size);font-weight:var(--font-headline-large-weight);line-height:var(--font-headline-large-line-height);letter-spacing:var(--font-headline-large-letter-spacing)}h2,.text-headline-md{font-size:var(--font-headline-medium-size);font-weight:var(--font-headline-medium-weight);line-height:var(--font-headline-medium-line-height);letter-spacing:var(--font-headline-medium-letter-spacing)}h3,.text-headline-sm{font-size:var(--font-headline-small-size);font-weight:var(--font-headline-small-weight);line-height:var(--font-headline-small-line-height);letter-spacing:var(--font-headline-small-letter-spacing)}h4,.text-title-lg{font-size:var(--font-title-large-size);font-weight:var(--font-title-large-weight);line-height:var(--font-title-large-line-height);letter-spacing:var(--font-title-large-letter-spacing)}h5,.text-title-md{font-size:var(--font-title-medium-size);font-weight:var(--font-title-medium-weight);line-height:var(--font-title-medium-line-height);letter-spacing:var(--font-title-medium-letter-spacing)}h6,.text-title-sm{font-size:var(--font-title-small-size);font-weight:var(--font-title-small-weight);line-height:var(--font-title-small-line-height);letter-spacing:var(--font-title-small-letter-spacing)}p,.text-body-lg{font-size:var(--font-body-large-size);font-weight:var(--font-body-large-weight);line-height:var(--font-body-large-line-height);letter-spacing:var(--font-body-large-letter-spacing)}.text-body-md{font-size:var(--font-body-medium-size);font-weight:var(--font-body-medium-weight);line-height:var(--font-body-medium-line-height);letter-spacing:var(--font-body-medium-letter-spacing)}small,.text-body-sm{font-size:var(--font-body-small-size);font-weight:var(--font-body-small-weight);line-height:var(--font-body-small-line-height);letter-spacing:var(--font-body-small-letter-spacing)}.text-label-lg{font-size:var(--font-label-large-size);font-weight:var(--font-label-large-weight);line-height:var(--font-label-large-line-height);letter-spacing:var(--font-label-large-letter-spacing)}.text-label-md{font-size:var(--font-label-medium-size);font-weight:var(--font-label-medium-weight);line-height:var(--font-label-medium-line-height);letter-spacing:var(--font-label-medium-letter-spacing)}.text-label-sm{font-size:var(--font-label-small-size);font-weight:var(--font-label-small-weight);line-height:var(--font-label-small-line-height);letter-spacing:var(--font-label-small-letter-spacing)}body{margin:0}ul,ol{margin:0;padding:0;list-style:none}h1,h2,h3,h4,h5,h6,p,blockquote{margin:0}button{padding:0;text-align:inherit;border:none;background-color:transparent;cursor:pointer}input,textarea{padding:0;border:0}table{border-spacing:0}hr{margin:0;border:none}a{text-decoration:none}:root{box-sizing:border-box;-webkit-text-size-adjust:100%;text-size-adjust:100%;color-scheme:light;font-family:var(--font-family-base),sans-serif;color:var(--color-on-surface);background-color:var(--color-surface)}:root.tls-dark{color-scheme:dark}*,*:before,*:after{box-sizing:inherit}button{font-family:inherit;color:inherit}img,svg{width:100%;height:100%}:host{min-height:1px;display:block}:host .announcement{position:absolute;width:1px;height:1px;margin:-1px;padding:0;border:0;white-space:nowrap;overflow:hidden;clip-path:inset(50%)}:host .state{padding-block:var(--spacing-4);display:flex;align-items:center;justify-content:center}:host .notice{font-size:var(--font-body-small-size);line-height:var(--font-body-small-line-height);letter-spacing:var(--font-body-small-letter-spacing);color:var(--color-on-surface-variant)}\n"] }]
|
|
8146
|
+
}], ctorParameters: () => [], propDecorators: { loading: [{ type: i0.Input, args: [{ isSignal: true, alias: "loading", required: false }] }], complete: [{ type: i0.Input, args: [{ isSignal: true, alias: "complete", required: false }] }], disabled: [{ type: i0.Input, args: [{ isSignal: true, alias: "disabled", required: false }] }], manual: [{ type: i0.Input, args: [{ isSignal: true, alias: "manual", required: false }] }], rootMargin: [{ type: i0.Input, args: [{ isSignal: true, alias: "rootMargin", required: false }] }], autoLoadLimit: [{ type: i0.Input, args: [{ isSignal: true, alias: "autoLoadLimit", required: false }] }], root: [{ type: i0.Input, args: [{ isSignal: true, alias: "root", required: false }] }], loadMore: [{ type: i0.Output, args: ["loadMore"] }] } });
|
|
8147
|
+
|
|
7698
8148
|
const DEFAULT_KBD_CONFIG = {
|
|
7699
8149
|
size: 'md',
|
|
7700
8150
|
};
|
|
@@ -9001,7 +9451,7 @@ class Step {
|
|
|
9001
9451
|
}, /* @ts-ignore */
|
|
9002
9452
|
...(ngDevMode ? [{ debugName: "hostClasses" }] : /* istanbul ignore next */ []));
|
|
9003
9453
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: Step, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
9004
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "22.0.5", type: Step, isStandalone: true, selector: "tls-step", inputs: { label: { classPropertyName: "label", publicName: "label", isSignal: true, isRequired: false, transformFunction: null }, description: { classPropertyName: "description", publicName: "description", isSignal: true, isRequired: false, transformFunction: null }, color: { classPropertyName: "color", publicName: "color", isSignal: true, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null }, invalid: { classPropertyName: "invalid", publicName: "invalid", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "class": "hostClasses()" } }, queries: [{ propertyName: "iconTemplateRef", first: true, predicate: ["stepIcon"], descendants: true, isSignal: true }, { propertyName: "completedIconTemplateRef", first: true, predicate: ["stepCompletedIcon"], descendants: true, isSignal: true }], hostDirectives: [{ directive: i1.TabPanel, inputs: ["value", "value"] }], ngImport: i0, template: "<ng-content></ng-content>\n" });
|
|
9454
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "22.0.5", type: Step, isStandalone: true, selector: "tls-step", inputs: { label: { classPropertyName: "label", publicName: "label", isSignal: true, isRequired: false, transformFunction: null }, description: { classPropertyName: "description", publicName: "description", isSignal: true, isRequired: false, transformFunction: null }, color: { classPropertyName: "color", publicName: "color", isSignal: true, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null }, invalid: { classPropertyName: "invalid", publicName: "invalid", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "class": "hostClasses()" } }, queries: [{ propertyName: "iconTemplateRef", first: true, predicate: ["stepIcon"], descendants: true, isSignal: true }, { propertyName: "completedIconTemplateRef", first: true, predicate: ["stepCompletedIcon"], descendants: true, isSignal: true }], hostDirectives: [{ directive: i1$1.TabPanel, inputs: ["value", "value"] }], ngImport: i0, template: "<ng-content></ng-content>\n" });
|
|
9005
9455
|
}
|
|
9006
9456
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: Step, decorators: [{
|
|
9007
9457
|
type: Component,
|
|
@@ -9057,7 +9507,7 @@ class Stepper {
|
|
|
9057
9507
|
this.stepSelect.emit({ index, value });
|
|
9058
9508
|
}
|
|
9059
9509
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: Stepper, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
9060
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.5", type: Stepper, isStandalone: true, selector: "tls-stepper", inputs: { active: { classPropertyName: "active", publicName: "active", isSignal: true, isRequired: true, transformFunction: null }, orientation: { classPropertyName: "orientation", publicName: "orientation", isSignal: true, isRequired: false, transformFunction: null }, labelPosition: { classPropertyName: "labelPosition", publicName: "labelPosition", isSignal: true, isRequired: false, transformFunction: null }, completed: { classPropertyName: "completed", publicName: "completed", isSignal: true, isRequired: false, transformFunction: null }, linear: { classPropertyName: "linear", publicName: "linear", 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: { active: "activeChange", stepSelect: "stepSelect" }, host: { properties: { "class": "hostClasses()" } }, queries: [{ propertyName: "steps", predicate: Step, isSignal: true }, { propertyName: "completedTemplateRef", first: true, predicate: ["completedTemplate"], descendants: true, isSignal: true }, { propertyName: "completedIconTemplateRef", first: true, predicate: ["stepCompletedIcon"], descendants: true, isSignal: true }], hostDirectives: [{ directive: i1.Tabs }], ngImport: i0, 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 @let isCompleted = activeIndex() > index || completed();\n <li role=\"presentation\"\n class=\"tls-stepper-header__item\"\n [class]=\"`tls-stepper-header__item--${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--invalid]=\"step.invalid()\"\n [class.tls-stepper-header__item--completed]=\"isCompleted\">\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 @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\n @if (step.invalid()) {\n <span class=\"tls-stepper-header-button__state\">{{ labels.invalid }}</span>\n } @else if (isCompleted) {\n <span class=\"tls-stepper-header-button__state\">{{ labels.completed }}</span>\n }\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", dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { 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"] }] });
|
|
9510
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.5", type: Stepper, isStandalone: true, selector: "tls-stepper", inputs: { active: { classPropertyName: "active", publicName: "active", isSignal: true, isRequired: true, transformFunction: null }, orientation: { classPropertyName: "orientation", publicName: "orientation", isSignal: true, isRequired: false, transformFunction: null }, labelPosition: { classPropertyName: "labelPosition", publicName: "labelPosition", isSignal: true, isRequired: false, transformFunction: null }, completed: { classPropertyName: "completed", publicName: "completed", isSignal: true, isRequired: false, transformFunction: null }, linear: { classPropertyName: "linear", publicName: "linear", 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: { active: "activeChange", stepSelect: "stepSelect" }, host: { properties: { "class": "hostClasses()" } }, queries: [{ propertyName: "steps", predicate: Step, isSignal: true }, { propertyName: "completedTemplateRef", first: true, predicate: ["completedTemplate"], descendants: true, isSignal: true }, { propertyName: "completedIconTemplateRef", first: true, predicate: ["stepCompletedIcon"], descendants: true, isSignal: true }], hostDirectives: [{ directive: i1$1.Tabs }], ngImport: i0, 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 @let isCompleted = activeIndex() > index || completed();\n <li role=\"presentation\"\n class=\"tls-stepper-header__item\"\n [class]=\"`tls-stepper-header__item--${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--invalid]=\"step.invalid()\"\n [class.tls-stepper-header__item--completed]=\"isCompleted\">\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 @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\n @if (step.invalid()) {\n <span class=\"tls-stepper-header-button__state\">{{ labels.invalid }}</span>\n } @else if (isCompleted) {\n <span class=\"tls-stepper-header-button__state\">{{ labels.completed }}</span>\n }\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", dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { 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"] }] });
|
|
9061
9511
|
}
|
|
9062
9512
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: Stepper, decorators: [{
|
|
9063
9513
|
type: Component,
|
|
@@ -9483,7 +9933,7 @@ class Tabs {
|
|
|
9483
9933
|
return match.value();
|
|
9484
9934
|
}
|
|
9485
9935
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: Tabs, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
9486
|
-
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 }, headerAlign: { classPropertyName: "headerAlign", publicName: "headerAlign", isSignal: true, isRequired: false, transformFunction: null }, itemsAlign: { classPropertyName: "itemsAlign", publicName: "itemsAlign", 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"] }] });
|
|
9936
|
+
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 }, headerAlign: { classPropertyName: "headerAlign", publicName: "headerAlign", isSignal: true, isRequired: false, transformFunction: null }, itemsAlign: { classPropertyName: "itemsAlign", publicName: "itemsAlign", 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$1.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"] }] });
|
|
9487
9937
|
}
|
|
9488
9938
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: Tabs, decorators: [{
|
|
9489
9939
|
type: Component,
|
|
@@ -10119,6 +10569,12 @@ const provideThalassicUIConfig = (config = {}) => {
|
|
|
10119
10569
|
provide: IMAGE_COMPARE_CONFIG,
|
|
10120
10570
|
useValue: deepMerge(DEFAULT_IMAGE_COMPARE_CONFIG, components.imageCompare),
|
|
10121
10571
|
},
|
|
10572
|
+
{
|
|
10573
|
+
provide: INFINITE_SCROLL_CONFIG,
|
|
10574
|
+
// `labels` is a deep-partial override; deepMerge merges it recursively, but its
|
|
10575
|
+
// `Partial<T>` signature only models a shallow partial, so cast to it.
|
|
10576
|
+
useValue: deepMerge(DEFAULT_INFINITE_SCROLL_CONFIG, components.infiniteScroll),
|
|
10577
|
+
},
|
|
10122
10578
|
{ provide: INPUT_CONFIG, useValue: deepMerge(DEFAULT_INPUT_CONFIG, components.input) },
|
|
10123
10579
|
{
|
|
10124
10580
|
provide: LOADER_CONFIG,
|
|
@@ -10232,5 +10688,5 @@ const provideThalassicUIConfig = (config = {}) => {
|
|
|
10232
10688
|
* Generated bundle index. Do not edit.
|
|
10233
10689
|
*/
|
|
10234
10690
|
|
|
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 };
|
|
10691
|
+
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_INFINITE_SCROLL_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, INFINITE_SCROLL_CONFIG, INPUT_CONFIG, INPUT_NUMBER_CONFIG, Icon, IconRegistry, IconService, ImageCompare, InfiniteScroll, 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 };
|
|
10236
10692
|
//# sourceMappingURL=thalassic-ui.mjs.map
|