@ethlete/components 1.0.0-next.89 → 1.0.0-next.91
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/CHANGELOG.md +61 -0
- package/design/notification.ts +1 -1
- package/design/sdk/components/accent-on-light/accent-on-light.ts +1 -0
- package/design/sdk/components/action-sheet/action-sheet.ts +25 -1
- package/design/sdk/components/anchored-dialog/anchored-dialog.css +2 -5
- package/design/sdk/components/anchored-dialog/anchored-dialog.ts +13 -8
- package/design/sdk/components/badge/badge.css +18 -0
- package/design/sdk/components/badge/badge.ts +27 -3
- package/design/sdk/components/banner/banner.ts +32 -1
- package/design/sdk/components/bracket/bracket.ts +1 -0
- package/design/sdk/components/breadcrumb/breadcrumb.ts +1 -1
- package/design/sdk/components/button/button.ts +1 -0
- package/design/sdk/components/calendar/calendar.ts +31 -4
- package/design/sdk/components/card/card.ts +41 -1
- package/design/sdk/components/carousel/carousel.ts +35 -6
- package/design/sdk/components/chart/chart.ts +8 -2
- package/design/sdk/components/checkbox/checkbox.ts +11 -2
- package/design/sdk/components/chip/chip.ts +2 -9
- package/design/sdk/components/copy-button/copy-button.ts +4 -1
- package/design/sdk/components/dialog/dialog.ts +58 -1
- package/design/sdk/components/empty-state/empty-state.ts +1 -0
- package/design/sdk/components/floating-action/floating-action.ts +1 -0
- package/design/sdk/components/form-field/form-field.ts +9 -16
- package/design/sdk/components/grid/grid.ts +4 -1
- package/design/sdk/components/input/input.css +5 -5
- package/design/sdk/components/input/input.ts +1 -1
- package/design/sdk/components/loader/loader.ts +0 -1
- package/design/sdk/components/match/match.ts +1 -0
- package/design/sdk/components/menu/menu.ts +1 -0
- package/design/sdk/components/notification/notification.ts +1 -0
- package/design/sdk/components/otp-input/otp-input.css +1 -1
- package/design/sdk/components/otp-input/otp-input.ts +1 -1
- package/design/sdk/components/pagination/pagination.ts +1 -1
- package/design/sdk/components/progress-steps/progress-steps.ts +1 -0
- package/design/sdk/components/query-error/query-error.ts +4 -1
- package/design/sdk/components/radio-group/radio-group.ts +1 -0
- package/design/sdk/components/scheduler/scheduler.ts +22 -7
- package/design/sdk/components/scrollable/scrollable.ts +30 -9
- package/design/sdk/components/scrollbar/scrollbar.css +1 -1
- package/design/sdk/components/scrollbar/scrollbar.ts +16 -3
- package/design/sdk/components/select/select.ts +9 -0
- package/design/sdk/components/select/shared/select-part.ts +4 -12
- package/design/sdk/components/select-panel/select-panel.ts +1 -0
- package/design/sdk/components/standings/standings.ts +4 -1
- package/design/sdk/components/stream/stream.ts +13 -4
- package/design/sdk/components/switch/switch.ts +13 -4
- package/design/sdk/components/table/table.ts +94 -12
- package/design/sdk/components/tabs/tabs.ts +1 -1
- package/design/sdk/components/textarea/textarea.css +5 -5
- package/design/sdk/components/textarea/textarea.ts +27 -3
- package/design/sdk/components/toolbar/toolbar.ts +1 -0
- package/design/sdk/components/tree/tree.ts +8 -1
- package/design/sdk/foundations/colors/colors.css +2 -2
- package/design/sdk/foundations/elevation/elevation.ts +1 -0
- package/design/sdk/ready.json +309 -87
- package/design/sdk/rule-baseline.json +48 -0
- package/design/table.ts +11 -4
- package/design/tooltip.ts +7 -1
- package/fesm2022/ethlete-components.mjs +843 -177
- package/fesm2022/ethlete-components.mjs.map +1 -1
- package/generators/icons/generator.js +35 -1
- package/package.json +1 -1
- package/src/lib/accordion/accordion.component.css +26 -5
- package/src/lib/bracket/bracket.component.css +4 -1
- package/src/lib/forms/checkbox/checkbox.component.css +8 -3
- package/src/lib/forms/choice-field/choice-field-card-styles.component.css +7 -0
- package/src/lib/forms/choice-field/choice-field.component.css +4 -2
- package/src/lib/forms/dropzone/dropzone-crop.component.css +21 -0
- package/src/lib/forms/form-field/form-field-text-shell-styles.component.css +11 -8
- package/src/lib/forms/otp-input/otp-input.component.css +11 -2
- package/src/lib/forms/select/select-option-styles.component.css +1 -0
- package/src/lib/forms/selection-card-styles.component.css +15 -3
- package/src/lib/forms/selection-list/checkbox-group/checkbox-group-select-all.component.css +7 -2
- package/src/lib/forms/selection-list/checkbox-group/checkbox-option.component.css +9 -2
- package/src/lib/forms/selection-list/radio-group/radio.component.css +9 -2
- package/src/lib/forms/selection-list/segmented-button-group/segmented-button-group.component.css +47 -3
- package/src/lib/forms/selection-list/segmented-button-group/segmented-button.component.css +8 -2
- package/src/lib/match/match-card.component.css +8 -2
- package/src/lib/match/match-participant.component.css +21 -1
- package/src/lib/progress-steps/progress-step.component.css +51 -7
- package/src/lib/standings/standings.component.css +40 -7
- package/src/lib/stream/consent/stream-consent.component.css +1 -0
- package/src/lib/stream/error/stream-player-error.component.css +1 -0
- package/src/lib/stream/stream-overlay-card-styles.component.css +9 -3
- package/src/lib/table/table.component.css +1 -0
- package/types/ethlete-components.d.ts +195 -16
- package/design/sdk/components/switch/switch.css +0 -37
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import { ApplicationRef, CSP_NONCE, Component, DOCUMENT, DestroyRef, Directive, ElementRef, EnvironmentInjector, ErrorHandler, HostAttributeToken, InjectionToken, Injector, NgZone, PLATFORM_ID, Renderer2, TemplateRef, ViewContainerRef, ViewEncapsulation, afterEveryRender, afterNextRender, afterRenderEffect, assertInInjectionContext, booleanAttribute, computed, contentChild, contentChildren, createComponent, createEnvironmentInjector, effect, inject, input, inputBinding, isDevMode, isSignal, linkedSignal, model, numberAttribute, output, outputBinding, provideEnvironmentInitializer, reflectComponentType, runInInjectionContext, signal, untracked, viewChild, viewChildren } from "@angular/core";
|
|
3
1
|
import * as i1$1 from "@ethlete/core";
|
|
4
2
|
import { ANIMATED_LIFECYCLE_TOKEN, AnimatableDirective, AnimatedIfDirective, AnimatedLifecycleDirective, AutoSurfaceDirective, BREAKPOINT_ORDER, COLOR_PROVIDER, ColorInteractiveContainerDirective, ColorInteractiveDirective, ColorInteractiveExcludeDirective, ColorInteractiveHasFocusDirective, DEFAULT_OVERLAY_LAYER, DragHandleDirective, MARKDOWN_VERBATIM_ATTR, ProvideColorDirective, ProvideSurfaceDirective, ResizeHandlesComponent, RuntimeError, SURFACE_PROVIDER, ScrollObserverDirective, ScrollObserverEndDirective, ScrollObserverStartDirective, SurfaceInteractiveDirective, anchoredOverlayPosition, animationDebugLog, applyHeadTitleBinding, applyHostListener, applyHostListeners, applyInitialFocus, applyLinkBinding, applyStructuredDataBinding, canUseSessionMemory, clamp, copyToClipboard, createCanAnimateSignal, createComponentId, createCssSurfaceName, createDocumentElementSignal, createFlipAnimation, createFlipAnimationGroup, createSessionMemory, createSwipeTracker, createUnsavedChangesTracker, defineLabels, defineProvider, defineRootProvider, defineStaticRootProvider, dragGestureFrom, elementCanScroll, enableAnchoredOverlayPositionExtras, equal, focusElement, forceReflow, fromNextFrame, getElementScrollCoordinates, getFocusableElements, getScrollContainerTarget, getScrollItemTarget, getScrollSnapTarget, hasAnchoredOverlayPositionExtras, htmlToMarkdown, inferMimeType, injectAnimatedBlockSize, injectAnimatedListItems, injectBoundaryElement, injectBreakpointObserver, injectColorPalette, injectColorThemes, injectCurrentBreakpoint, injectDefaultSurfaceTheme, injectFileDownload, injectFocusVisibleTracker, injectHasTouchInput, injectHostElement, injectIsDocumentVisible, injectLocale, injectObserveBreakpoint, injectObserveMediaQuery, injectOverlayRuntime, injectParentSurface, injectPrefersReducedMotion, injectQueryParam, injectRenderer, injectRootSurfaceTheme, injectRoute, injectRouterEvent, injectSemanticColorTheme, injectStyleManager, injectSurfaceColorPalette, injectSurfaceContextTracker, injectSurfaceThemes, injectSurfaceThemesPrefix, injectSurfaceType, injectTemplateRef, injectUrl, injectViewportSize, isElement, isFocusable, isHTMLElement, isOnHigherOverlayLayer, isSafeLinkUrl, isSafeUrl, markdownToHtml, matchesReducedMotion, mountEasingTokens, mountVisuallyHidden, nextFrame, numberBreakpointTransform, optionalBooleanAttribute, provideBoundaryElement, provideBreakpointInstance, provideDragHandleDefaults, provideUnsavedChangesConfirm, randomId, resolveAppRootColorProvider, resolveOverlayLayer, resolveSurfaceByElevation, setInputSignal, signalClasses, signalDeferredLoading, signalElementChildren, signalElementDimensions, signalElementIntersection, signalElementMutations, signalElementScrollState, signalHostAttributes, signalHostClasses, signalHostElementDimensions, signalHostElementIntersection, signalHostElementMutations, signalHostElementScrollState, signalHostStyles, signalStyles, syncSignal, toInjectFn, toProvideFn, toToken, typedBreakpointTransform, useCursorDragScroll } from "@ethlete/core";
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
import { ApplicationRef, CSP_NONCE, Component, DOCUMENT, DestroyRef, Directive, ElementRef, EnvironmentInjector, ErrorHandler, HostAttributeToken, InjectionToken, Injector, NgZone, PLATFORM_ID, Renderer2, TemplateRef, ViewContainerRef, ViewEncapsulation, afterEveryRender, afterNextRender, afterRenderEffect, assertInInjectionContext, booleanAttribute, computed, contentChild, contentChildren, createComponent, createEnvironmentInjector, effect, inject, input, inputBinding, isDevMode, isSignal, linkedSignal, model, numberAttribute, output, outputBinding, provideEnvironmentInitializer, reflectComponentType, runInInjectionContext, signal, untracked, viewChild, viewChildren } from "@angular/core";
|
|
5
5
|
import { DOCUMENT as DOCUMENT$1, Location, NgComponentOutlet, NgTemplateOutlet, isPlatformBrowser, isPlatformServer } from "@angular/common";
|
|
6
6
|
import { DomSanitizer } from "@angular/platform-browser";
|
|
7
7
|
import { createPagedQueryStack, createQueryErrorResponse, executeUntilSettled$, extractQuery, isLegacyQuery, isQueryStateFailure, isQueryStateLoading, isQueryStateSuccess, parseHttpErrorCodeToMessageDe, parseHttpErrorCodeToMessageEn, parseHttpErrorCodeToTitleDe, parseHttpErrorCodeToTitleEn, queryComputed, queryErrorMessages, queryStateSignal, withArgs } from "@ethlete/query";
|
|
8
8
|
import { BRACKET_DATA_LAYOUT, BRACKET_DATA_LAYOUT as BRACKET_DATA_LAYOUT$1, BRACKET_ERROR_CODES, BRACKET_FINAL_ALIGNMENT, BRACKET_ROUND_MIRROR_TYPE, BRACKET_SECTION_KEY, BRACKET_SECTION_KEY as BRACKET_SECTION_KEY$1, BRACKET_SWISS_GROUP_COLOR_TYPE, BracketMap, BracketRuntimeError, BracketRuntimeError as BracketRuntimeError$1, COMMON_BRACKET_ROUND_TYPE, COMMON_BRACKET_ROUND_TYPE as COMMON_BRACKET_ROUND_TYPE$1, DOUBLE_ELIMINATION_BRACKET_ROUND_TYPE, DOUBLE_ELIMINATION_BRACKET_ROUND_TYPE as DOUBLE_ELIMINATION_BRACKET_ROUND_TYPE$1, GROUP_BRACKET_ROUND_TYPE, SINGLE_ELIMINATION_BRACKET_ROUND_TYPE, SINGLE_ELIMINATION_BRACKET_ROUND_TYPE as SINGLE_ELIMINATION_BRACKET_ROUND_TYPE$1, SWISS_BRACKET_ROUND_TYPE, SWISS_BRACKET_ROUND_TYPE as SWISS_BRACKET_ROUND_TYPE$1, TOURNAMENT_MODE, TOURNAMENT_MODE as TOURNAMENT_MODE$1, bracketSlot, createBracket, createBracket as createBracket$1, createDoubleEliminationGrid, createPlaceholderBracketSource, createPlaceholderBracketSource as createPlaceholderBracketSource$1, createSingleEliminationGrid, createSwissGrid, doubleEliminationRoundSection, drawMan, drawSwissMan, generateBracketRoundSwissGroupMaps, isBracketSlotPredictable, migrateBracketPicks, resolveBracketLayout as resolveBracketLayout$1, resolveBracketSlot, standingPickStartOrder, standingRankSides, swapStandingRank, validateBracketSource, ɵcreateStackedDoubleEliminationGrid } from "@ethlete/bracket";
|
|
9
9
|
import { addDays, addHours, addMonths, addYears, differenceInCalendarDays, eachDayOfInterval, endOfDay, endOfMonth, endOfWeek, endOfYear, format, getDate, getDaysInMonth, getWeek, isAfter, isBefore, isSameDay, isSameMonth, isSameYear, isValid, lastDayOfMonth, parse, setDate, setHours, setMilliseconds, setMinutes, setMonth, setSeconds, setYear, startOfDay, startOfMonth, startOfWeek, startOfYear, subDays, subMonths, subWeeks } from "date-fns";
|
|
10
|
-
import { EMPTY, EmptyError, Observable, Subject, Subscription, animationFrameScheduler, asapScheduler, catchError, combineLatest, concat, debounceTime, defaultIfEmpty, defer, delay, distinctUntilChanged, exhaustMap, expand, filter, finalize, firstValueFrom, from, fromEvent, ignoreElements, interval, isObservable, map, merge, mergeMap, observeOn, of, scan, share, shareReplay, skip, startWith, switchMap, take, takeUntil, takeWhile, tap, throwError, timer, toArray } from "rxjs";
|
|
10
|
+
import { EMPTY, EmptyError, Observable, Subject, Subscription, animationFrameScheduler, asapScheduler, catchError, combineLatest, concat, debounceTime, defaultIfEmpty, defer, delay, distinctUntilChanged, exhaustMap, expand, filter, finalize, firstValueFrom, forkJoin, from, fromEvent, ignoreElements, interval, isObservable, map, merge, mergeMap, observeOn, of, scan, share, shareReplay, skip, startWith, switchMap, take, takeUntil, takeWhile, tap, throwError, timer, toArray } from "rxjs";
|
|
11
11
|
import { outputFromObservable, outputToObservable, rxResource, takeUntilDestroyed, toObservable, toSignal } from "@angular/core/rxjs-interop";
|
|
12
12
|
import * as i1 from "@angular/router";
|
|
13
13
|
import { ActivatedRoute, NavigationCancel, NavigationEnd, NavigationError, NavigationSkipped, NavigationStart, ROUTES, Router, RouterLink, RouterLinkActive } from "@angular/router";
|
|
@@ -16,6 +16,9 @@ import { TZDate, tz } from "@date-fns/tz";
|
|
|
16
16
|
import { enUS } from "date-fns/locale/en-US";
|
|
17
17
|
import { tap as tap$1 } from "rxjs/operators";
|
|
18
18
|
import { HttpEventType } from "@angular/common/http";
|
|
19
|
+
const ACCORDION_CONFIG_DEF = /* @__PURE__ */ defineStaticRootProvider({}, { name: "AccordionConfig" });
|
|
20
|
+
const provideAccordionConfig = /* @__PURE__ */ toProvideFn(ACCORDION_CONFIG_DEF);
|
|
21
|
+
const injectAccordionConfig = /* @__PURE__ */ toInjectFn(ACCORDION_CONFIG_DEF);
|
|
19
22
|
const ACCORDION_ERROR_CODES = {
|
|
20
23
|
PART_OUTSIDE_ACCORDION: 3600,
|
|
21
24
|
MISSING_TRIGGER: 3601,
|
|
@@ -659,10 +662,12 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
659
662
|
});
|
|
660
663
|
var AccordionGroupComponent = class AccordionGroupComponent {
|
|
661
664
|
constructor() {
|
|
662
|
-
this.
|
|
665
|
+
this.config = injectAccordionConfig();
|
|
666
|
+
this.lastDivider = input(void 0, {
|
|
663
667
|
...ngDevMode ? { debugName: "lastDivider" } : /* istanbul ignore next */ {},
|
|
664
|
-
transform: booleanAttribute
|
|
668
|
+
transform: (v) => v === void 0 ? void 0 : booleanAttribute(v)
|
|
665
669
|
});
|
|
670
|
+
this.lastDividerResolved = computed(() => this.lastDivider() ?? this.config.lastDivider ?? false, ...ngDevMode ? [{ debugName: "lastDividerResolved" }] : /* istanbul ignore next */ []);
|
|
666
671
|
}
|
|
667
672
|
static {
|
|
668
673
|
this.ɵfac = i0.ɵɵngDeclareFactory({
|
|
@@ -689,7 +694,7 @@ var AccordionGroupComponent = class AccordionGroupComponent {
|
|
|
689
694
|
transformFunction: null
|
|
690
695
|
} },
|
|
691
696
|
host: {
|
|
692
|
-
properties: { "attr.data-last-divider": "
|
|
697
|
+
properties: { "attr.data-last-divider": "lastDividerResolved() || null" },
|
|
693
698
|
classAttribute: "et-accordion-group"
|
|
694
699
|
},
|
|
695
700
|
hostDirectives: [{
|
|
@@ -732,7 +737,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
732
737
|
}],
|
|
733
738
|
host: {
|
|
734
739
|
class: "et-accordion-group",
|
|
735
|
-
"[attr.data-last-divider]": "
|
|
740
|
+
"[attr.data-last-divider]": "lastDividerResolved() || null"
|
|
736
741
|
},
|
|
737
742
|
styles: ["@layer components.sdk{.et-accordion-group{display:block}.et-accordion-group:where(:not([data-last-divider]))>.et-accordion:last-child{border-block-end:0}}\n"]
|
|
738
743
|
}]
|
|
@@ -1905,7 +1910,7 @@ var AccordionComponent = class AccordionComponent {
|
|
|
1905
1910
|
}],
|
|
1906
1911
|
ngImport: i0,
|
|
1907
1912
|
template: "<div [attr.aria-level]=\"headingLevel()\" class=\"et-accordion-heading\" role=\"heading\">\n <button class=\"et-accordion-trigger\" etAccordionTrigger type=\"button\">\n <span class=\"et-accordion-label\">\n @if (accordion.labelTemplate(); as labelTemplate) {\n <ng-container [ngTemplateOutlet]=\"labelTemplate.templateRef\" />\n } @else {\n {{ label() }}\n }\n </span>\n\n @if (accordion.hintTemplate(); as hintTemplate) {\n &ngsp;<span class=\"et-accordion-hint\">\n <ng-container [ngTemplateOutlet]=\"hintTemplate.templateRef\" />\n </span>\n }\n\n <i class=\"et-accordion-chevron\" etIcon=\"et-chevron\"></i>\n </button>\n</div>\n\n<div class=\"et-accordion-panel\" etAccordionPanel>\n <div class=\"et-accordion-panel-clip\">\n <div class=\"et-accordion-panel-body\">\n <ng-content />\n\n @if (accordion.contentTemplate(); as contentTemplate) {\n @if (accordion.hasBeenOpened()) {\n <ng-container [ngTemplateOutlet]=\"contentTemplate.templateRef\" />\n }\n }\n </div>\n </div>\n</div>\n",
|
|
1908
|
-
styles: ["@layer components.sdk{@property --et-accordion-padding-block{syntax: \"<length>\"; inherits: true; initial-value: 14px;}@property --et-accordion-padding-inline{syntax: \"<length>\"; inherits: true; initial-value: 12px;}@property --et-accordion-title-font-weight{syntax: \"<number>\"; inherits: true; initial-value: 500;}@property --et-accordion-hint-font-weight{syntax: \"<number>\"; inherits: true; initial-value: 400;}@property --et-accordion-gap{syntax: \"<length>\"; inherits: true; initial-value: 12px;}@property --et-accordion-chevron-size{syntax: \"<length>\"; inherits: true; initial-value: 14px;}@property --et-accordion-radius{syntax: \"<length>\"; inherits: true; initial-value: 8px;}@property --et-accordion-duration{syntax: \"<time>\"; inherits: true; initial-value: .24s;}@property --et-accordion-color-duration{syntax: \"<time>\"; inherits: true; initial-value: .12s;}.et-accordion{--_et-accordion-border-color: var(--et-surface-border-solid, rgb(128 128 128 / .25));display:block;color:var(--et-surface-color-solid, CanvasText);border-block-end:1px solid var(--_et-accordion-border-color)}@media(hover:hover){.et-accordion:has(.et-accordion-trigger:hover:not([aria-disabled=true])){--_et-accordion-border-color: color-mix( in srgb, var(--et-surface-interaction-solid, gray) 35%, var(--et-surface-border-solid, rgb(128 128 128 / .25)) )}}.et-accordion-heading{--_et-accordion-header-padding-block: var(--et-accordion-header-padding-block, var(--et-accordion-padding-block));--_et-accordion-tint-inset: min(4px, var(--_et-accordion-header-padding-block));display:block;padding-block:var(--_et-accordion-tint-inset)}.et-accordion-trigger{--_et-accordion-secondary-color: var(--et-surface-color-muted-solid, GrayText);display:flex;align-items:center;gap:var(--et-accordion-gap);inline-size:100
|
|
1913
|
+
styles: ["@layer components.sdk{@property --et-accordion-padding-block{syntax: \"<length>\"; inherits: true; initial-value: 14px;}@property --et-accordion-padding-inline{syntax: \"<length>\"; inherits: true; initial-value: 12px;}@property --et-accordion-title-font-weight{syntax: \"<number>\"; inherits: true; initial-value: 500;}@property --et-accordion-hint-font-weight{syntax: \"<number>\"; inherits: true; initial-value: 400;}@property --et-accordion-gap{syntax: \"<length>\"; inherits: true; initial-value: 12px;}@property --et-accordion-chevron-size{syntax: \"<length>\"; inherits: true; initial-value: 14px;}@property --et-accordion-radius{syntax: \"<length>\"; inherits: true; initial-value: 8px;}@property --et-accordion-duration{syntax: \"<time>\"; inherits: true; initial-value: .24s;}@property --et-accordion-color-duration{syntax: \"<time>\"; inherits: true; initial-value: .12s;}.et-accordion{--_et-accordion-border-color: var(--et-surface-border-solid, rgb(128 128 128 / .25));display:block;color:var(--et-surface-color-solid, CanvasText);border-block-end:1px solid var(--_et-accordion-border-color)}@media(hover:hover){.et-accordion:has(.et-accordion-trigger:hover:not([aria-disabled=true])){--_et-accordion-border-color: color-mix( in srgb, var(--et-surface-interaction-solid, gray) 35%, var(--et-surface-border-solid, rgb(128 128 128 / .25)) )}}.et-accordion-heading{--_et-accordion-header-padding-block: var(--et-accordion-header-padding-block, var(--et-accordion-padding-block));--_et-accordion-tint-inset: var( --et-accordion-header-tint-inset, min(4px, var(--_et-accordion-header-padding-block)) );display:block;padding-block:var(--_et-accordion-tint-inset)}.et-accordion-trigger{--_et-accordion-secondary-color: var(--et-surface-color-muted-solid, GrayText);display:flex;align-items:center;gap:var(--et-accordion-gap);inline-size:calc(100% + 2 * var(--et-accordion-header-outset-inline, 0px));margin-inline:calc(-1 * var(--et-accordion-header-outset-inline, 0px));padding:calc(var(--_et-accordion-header-padding-block) - var(--_et-accordion-tint-inset)) var(--et-accordion-header-padding-inline, var(--et-accordion-padding-inline));padding-inline-end:var( --et-accordion-header-padding-inline-end, var(--et-accordion-header-padding-inline, var(--et-accordion-padding-inline)) );border:0;border-radius:var(--et-accordion-radius);background:transparent;color:inherit;font:inherit;font-size:var(--et-accordion-title-font-size, 1em);font-weight:var(--et-accordion-title-font-weight);text-align:start;cursor:pointer}@media(hover:hover){.et-accordion-trigger:hover{background:var( --et-accordion-header-hover-background, color-mix(in srgb, var(--et-surface-interaction-solid, gray) 7%, transparent) )}.et-accordion-trigger:hover:not([aria-disabled=true]){--_et-accordion-secondary-color: var(--et-surface-color-solid, CanvasText)}.et-accordion-trigger:hover:not([aria-disabled=true]) .et-accordion-label{text-decoration:var(--et-accordion-header-hover-text-decoration, none)}}.et-accordion-trigger:active{background:var( --et-accordion-header-active-background, color-mix(in srgb, var(--et-surface-interaction-solid, gray) 14%, transparent) )}.et-accordion-trigger:focus-visible{outline:2px solid light-dark(var(--et-theme-color-ink-solid, currentColor),var(--et-theme-color-primary-solid, currentColor));outline-offset:-2px}.et-accordion-trigger:where([aria-disabled=true]){color:var(--et-surface-color-muted-solid, GrayText);cursor:default}.et-accordion-trigger:where([aria-disabled=true]):hover,.et-accordion-trigger:where([aria-disabled=true]):active{background:transparent}.et-accordion-trigger .et-accordion-label{flex:1;min-inline-size:0}.et-accordion-trigger .et-accordion-hint{flex:none;color:var(--_et-accordion-secondary-color);font-weight:var(--et-accordion-hint-font-weight)}.et-accordion-trigger .et-accordion-chevron{flex:none;inline-size:var(--et-accordion-chevron-size);block-size:var(--et-accordion-chevron-size);color:var(--et-accordion-chevron-color, var(--_et-accordion-secondary-color));stroke:currentColor;stroke-width:var(--et-accordion-chevron-stroke-width, 0);rotate:180deg}.et-accordion-trigger[aria-expanded=true] .et-accordion-chevron{rotate:0deg}.et-accordion-panel{display:grid;grid-template-rows:0fr;visibility:hidden}.et-accordion-panel:where([data-open]){grid-template-rows:1fr;visibility:visible}.et-accordion:where([data-can-animate]){transition:border-color var(--et-accordion-color-duration) ease}.et-accordion:where([data-can-animate])>.et-accordion-heading>.et-accordion-trigger{transition:background-color var(--et-accordion-color-duration) ease}.et-accordion:where([data-can-animate])>.et-accordion-heading>.et-accordion-trigger .et-accordion-hint,.et-accordion:where([data-can-animate])>.et-accordion-heading>.et-accordion-trigger .et-accordion-chevron{transition:color var(--et-accordion-color-duration) ease}@media(prefers-reduced-motion:no-preference){.et-accordion:where([data-can-animate])>.et-accordion-panel{transition:grid-template-rows var(--et-accordion-duration) cubic-bezier(.25,0,.1,1),visibility 0s linear var(--et-accordion-duration)}.et-accordion:where([data-can-animate])>.et-accordion-panel:where([data-open]){transition:grid-template-rows var(--et-accordion-duration) cubic-bezier(.25,0,.1,1),visibility 0s linear 0s}.et-accordion:where([data-can-animate])>.et-accordion-heading>.et-accordion-trigger>.et-accordion-chevron{transition:rotate var(--et-accordion-duration) cubic-bezier(.25,0,.1,1),color var(--et-accordion-color-duration) ease}}.et-accordion-panel-clip{min-block-size:0;overflow:hidden}.et-accordion-panel-body{padding-block-start:var(--et-accordion-panel-padding-block-start, 0px);padding-block-end:var(--et-accordion-padding-block);padding-inline:var(--et-accordion-padding-inline)}}\n"],
|
|
1909
1914
|
dependencies: [
|
|
1910
1915
|
{
|
|
1911
1916
|
kind: "directive",
|
|
@@ -1973,7 +1978,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
1973
1978
|
}],
|
|
1974
1979
|
host: { class: "et-accordion" },
|
|
1975
1980
|
template: "<div [attr.aria-level]=\"headingLevel()\" class=\"et-accordion-heading\" role=\"heading\">\n <button class=\"et-accordion-trigger\" etAccordionTrigger type=\"button\">\n <span class=\"et-accordion-label\">\n @if (accordion.labelTemplate(); as labelTemplate) {\n <ng-container [ngTemplateOutlet]=\"labelTemplate.templateRef\" />\n } @else {\n {{ label() }}\n }\n </span>\n\n @if (accordion.hintTemplate(); as hintTemplate) {\n &ngsp;<span class=\"et-accordion-hint\">\n <ng-container [ngTemplateOutlet]=\"hintTemplate.templateRef\" />\n </span>\n }\n\n <i class=\"et-accordion-chevron\" etIcon=\"et-chevron\"></i>\n </button>\n</div>\n\n<div class=\"et-accordion-panel\" etAccordionPanel>\n <div class=\"et-accordion-panel-clip\">\n <div class=\"et-accordion-panel-body\">\n <ng-content />\n\n @if (accordion.contentTemplate(); as contentTemplate) {\n @if (accordion.hasBeenOpened()) {\n <ng-container [ngTemplateOutlet]=\"contentTemplate.templateRef\" />\n }\n }\n </div>\n </div>\n</div>\n",
|
|
1976
|
-
styles: ["@layer components.sdk{@property --et-accordion-padding-block{syntax: \"<length>\"; inherits: true; initial-value: 14px;}@property --et-accordion-padding-inline{syntax: \"<length>\"; inherits: true; initial-value: 12px;}@property --et-accordion-title-font-weight{syntax: \"<number>\"; inherits: true; initial-value: 500;}@property --et-accordion-hint-font-weight{syntax: \"<number>\"; inherits: true; initial-value: 400;}@property --et-accordion-gap{syntax: \"<length>\"; inherits: true; initial-value: 12px;}@property --et-accordion-chevron-size{syntax: \"<length>\"; inherits: true; initial-value: 14px;}@property --et-accordion-radius{syntax: \"<length>\"; inherits: true; initial-value: 8px;}@property --et-accordion-duration{syntax: \"<time>\"; inherits: true; initial-value: .24s;}@property --et-accordion-color-duration{syntax: \"<time>\"; inherits: true; initial-value: .12s;}.et-accordion{--_et-accordion-border-color: var(--et-surface-border-solid, rgb(128 128 128 / .25));display:block;color:var(--et-surface-color-solid, CanvasText);border-block-end:1px solid var(--_et-accordion-border-color)}@media(hover:hover){.et-accordion:has(.et-accordion-trigger:hover:not([aria-disabled=true])){--_et-accordion-border-color: color-mix( in srgb, var(--et-surface-interaction-solid, gray) 35%, var(--et-surface-border-solid, rgb(128 128 128 / .25)) )}}.et-accordion-heading{--_et-accordion-header-padding-block: var(--et-accordion-header-padding-block, var(--et-accordion-padding-block));--_et-accordion-tint-inset: min(4px, var(--_et-accordion-header-padding-block));display:block;padding-block:var(--_et-accordion-tint-inset)}.et-accordion-trigger{--_et-accordion-secondary-color: var(--et-surface-color-muted-solid, GrayText);display:flex;align-items:center;gap:var(--et-accordion-gap);inline-size:100
|
|
1981
|
+
styles: ["@layer components.sdk{@property --et-accordion-padding-block{syntax: \"<length>\"; inherits: true; initial-value: 14px;}@property --et-accordion-padding-inline{syntax: \"<length>\"; inherits: true; initial-value: 12px;}@property --et-accordion-title-font-weight{syntax: \"<number>\"; inherits: true; initial-value: 500;}@property --et-accordion-hint-font-weight{syntax: \"<number>\"; inherits: true; initial-value: 400;}@property --et-accordion-gap{syntax: \"<length>\"; inherits: true; initial-value: 12px;}@property --et-accordion-chevron-size{syntax: \"<length>\"; inherits: true; initial-value: 14px;}@property --et-accordion-radius{syntax: \"<length>\"; inherits: true; initial-value: 8px;}@property --et-accordion-duration{syntax: \"<time>\"; inherits: true; initial-value: .24s;}@property --et-accordion-color-duration{syntax: \"<time>\"; inherits: true; initial-value: .12s;}.et-accordion{--_et-accordion-border-color: var(--et-surface-border-solid, rgb(128 128 128 / .25));display:block;color:var(--et-surface-color-solid, CanvasText);border-block-end:1px solid var(--_et-accordion-border-color)}@media(hover:hover){.et-accordion:has(.et-accordion-trigger:hover:not([aria-disabled=true])){--_et-accordion-border-color: color-mix( in srgb, var(--et-surface-interaction-solid, gray) 35%, var(--et-surface-border-solid, rgb(128 128 128 / .25)) )}}.et-accordion-heading{--_et-accordion-header-padding-block: var(--et-accordion-header-padding-block, var(--et-accordion-padding-block));--_et-accordion-tint-inset: var( --et-accordion-header-tint-inset, min(4px, var(--_et-accordion-header-padding-block)) );display:block;padding-block:var(--_et-accordion-tint-inset)}.et-accordion-trigger{--_et-accordion-secondary-color: var(--et-surface-color-muted-solid, GrayText);display:flex;align-items:center;gap:var(--et-accordion-gap);inline-size:calc(100% + 2 * var(--et-accordion-header-outset-inline, 0px));margin-inline:calc(-1 * var(--et-accordion-header-outset-inline, 0px));padding:calc(var(--_et-accordion-header-padding-block) - var(--_et-accordion-tint-inset)) var(--et-accordion-header-padding-inline, var(--et-accordion-padding-inline));padding-inline-end:var( --et-accordion-header-padding-inline-end, var(--et-accordion-header-padding-inline, var(--et-accordion-padding-inline)) );border:0;border-radius:var(--et-accordion-radius);background:transparent;color:inherit;font:inherit;font-size:var(--et-accordion-title-font-size, 1em);font-weight:var(--et-accordion-title-font-weight);text-align:start;cursor:pointer}@media(hover:hover){.et-accordion-trigger:hover{background:var( --et-accordion-header-hover-background, color-mix(in srgb, var(--et-surface-interaction-solid, gray) 7%, transparent) )}.et-accordion-trigger:hover:not([aria-disabled=true]){--_et-accordion-secondary-color: var(--et-surface-color-solid, CanvasText)}.et-accordion-trigger:hover:not([aria-disabled=true]) .et-accordion-label{text-decoration:var(--et-accordion-header-hover-text-decoration, none)}}.et-accordion-trigger:active{background:var( --et-accordion-header-active-background, color-mix(in srgb, var(--et-surface-interaction-solid, gray) 14%, transparent) )}.et-accordion-trigger:focus-visible{outline:2px solid light-dark(var(--et-theme-color-ink-solid, currentColor),var(--et-theme-color-primary-solid, currentColor));outline-offset:-2px}.et-accordion-trigger:where([aria-disabled=true]){color:var(--et-surface-color-muted-solid, GrayText);cursor:default}.et-accordion-trigger:where([aria-disabled=true]):hover,.et-accordion-trigger:where([aria-disabled=true]):active{background:transparent}.et-accordion-trigger .et-accordion-label{flex:1;min-inline-size:0}.et-accordion-trigger .et-accordion-hint{flex:none;color:var(--_et-accordion-secondary-color);font-weight:var(--et-accordion-hint-font-weight)}.et-accordion-trigger .et-accordion-chevron{flex:none;inline-size:var(--et-accordion-chevron-size);block-size:var(--et-accordion-chevron-size);color:var(--et-accordion-chevron-color, var(--_et-accordion-secondary-color));stroke:currentColor;stroke-width:var(--et-accordion-chevron-stroke-width, 0);rotate:180deg}.et-accordion-trigger[aria-expanded=true] .et-accordion-chevron{rotate:0deg}.et-accordion-panel{display:grid;grid-template-rows:0fr;visibility:hidden}.et-accordion-panel:where([data-open]){grid-template-rows:1fr;visibility:visible}.et-accordion:where([data-can-animate]){transition:border-color var(--et-accordion-color-duration) ease}.et-accordion:where([data-can-animate])>.et-accordion-heading>.et-accordion-trigger{transition:background-color var(--et-accordion-color-duration) ease}.et-accordion:where([data-can-animate])>.et-accordion-heading>.et-accordion-trigger .et-accordion-hint,.et-accordion:where([data-can-animate])>.et-accordion-heading>.et-accordion-trigger .et-accordion-chevron{transition:color var(--et-accordion-color-duration) ease}@media(prefers-reduced-motion:no-preference){.et-accordion:where([data-can-animate])>.et-accordion-panel{transition:grid-template-rows var(--et-accordion-duration) cubic-bezier(.25,0,.1,1),visibility 0s linear var(--et-accordion-duration)}.et-accordion:where([data-can-animate])>.et-accordion-panel:where([data-open]){transition:grid-template-rows var(--et-accordion-duration) cubic-bezier(.25,0,.1,1),visibility 0s linear 0s}.et-accordion:where([data-can-animate])>.et-accordion-heading>.et-accordion-trigger>.et-accordion-chevron{transition:rotate var(--et-accordion-duration) cubic-bezier(.25,0,.1,1),color var(--et-accordion-color-duration) ease}}.et-accordion-panel-clip{min-block-size:0;overflow:hidden}.et-accordion-panel-body{padding-block-start:var(--et-accordion-panel-padding-block-start, 0px);padding-block-end:var(--et-accordion-padding-block);padding-inline:var(--et-accordion-padding-inline)}}\n"]
|
|
1977
1982
|
}]
|
|
1978
1983
|
}],
|
|
1979
1984
|
propDecorators: {
|
|
@@ -4066,10 +4071,11 @@ var IconButtonComponent = class IconButtonComponent {
|
|
|
4066
4071
|
this.hostElement = injectHostElement();
|
|
4067
4072
|
this.variant = input(BUTTON_VARIANTS.TRANSPARENT, ...ngDevMode ? [{ debugName: "variant" }] : /* istanbul ignore next */ []);
|
|
4068
4073
|
this.size = input(BUTTON_SIZES.MD, ...ngDevMode ? [{ debugName: "size" }] : /* istanbul ignore next */ []);
|
|
4074
|
+
this.pressedVariant = input(void 0, ...ngDevMode ? [{ debugName: "pressedVariant" }] : /* istanbul ignore next */ []);
|
|
4069
4075
|
this.iconSlot = viewChild.required("iconSlot", ...ngDevMode ? [{ debugName: "iconSlot" }] : /* istanbul ignore next */ []);
|
|
4070
4076
|
this.canAnimate = createCanAnimateSignal();
|
|
4071
4077
|
this.spinnerConfig = computed(() => BUTTON_SPINNER_CONFIG[this.size()], ...ngDevMode ? [{ debugName: "spinnerConfig" }] : /* istanbul ignore next */ []);
|
|
4072
|
-
this.
|
|
4078
|
+
this.activePressedVariant = computed(() => this.buttonDir.pressed() ? this.pressedVariant() ?? PRESSED_VARIANT_MAP$1[this.variant()] : null, ...ngDevMode ? [{ debugName: "activePressedVariant" }] : /* istanbul ignore next */ []);
|
|
4073
4079
|
if (ngDevMode) afterNextRender(() => warnUnmarkedIconButtonContent(this.hostElement, this.iconSlot().nativeElement));
|
|
4074
4080
|
}
|
|
4075
4081
|
static {
|
|
@@ -4103,13 +4109,20 @@ var IconButtonComponent = class IconButtonComponent {
|
|
|
4103
4109
|
isSignal: true,
|
|
4104
4110
|
isRequired: false,
|
|
4105
4111
|
transformFunction: null
|
|
4112
|
+
},
|
|
4113
|
+
pressedVariant: {
|
|
4114
|
+
classPropertyName: "pressedVariant",
|
|
4115
|
+
publicName: "pressedVariant",
|
|
4116
|
+
isSignal: true,
|
|
4117
|
+
isRequired: false,
|
|
4118
|
+
transformFunction: null
|
|
4106
4119
|
}
|
|
4107
4120
|
},
|
|
4108
4121
|
host: {
|
|
4109
4122
|
properties: {
|
|
4110
4123
|
"attr.data-variant": "variant()",
|
|
4111
4124
|
"attr.data-size": "size()",
|
|
4112
|
-
"attr.data-pressed-variant": "
|
|
4125
|
+
"attr.data-pressed-variant": "activePressedVariant()",
|
|
4113
4126
|
"attr.data-can-animate": "canAnimate.state() || null"
|
|
4114
4127
|
},
|
|
4115
4128
|
classAttribute: "et-icon-button"
|
|
@@ -4241,7 +4254,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
4241
4254
|
class: "et-icon-button",
|
|
4242
4255
|
"[attr.data-variant]": "variant()",
|
|
4243
4256
|
"[attr.data-size]": "size()",
|
|
4244
|
-
"[attr.data-pressed-variant]": "
|
|
4257
|
+
"[attr.data-pressed-variant]": "activePressedVariant()",
|
|
4245
4258
|
"[attr.data-can-animate]": "canAnimate.state() || null"
|
|
4246
4259
|
},
|
|
4247
4260
|
styles: ["@layer components.sdk{@property --et-icon-button-size{syntax: \"<length>\"; inherits: true; initial-value: 39px;}@property --et-icon-button-icon-size{syntax: \"<length>\"; inherits: true; initial-value: 20px;}.et-icon-button{--_et-icon-button-size: var(--et-icon-button-size);--_et-icon-button-icon-size: var(--et-icon-button-icon-size);--_et-icon-button-border-radius: var(--et-icon-button-border-radius, 9999px);display:inline-flex;position:relative;align-items:center;justify-content:center;width:var(--_et-icon-button-size);height:var(--_et-icon-button-size);background:var( --_et-button-state-background, var(--_et-icon-button-background, rgb(var(--et-theme-color-primary-rgb) / var(--et-theme-color-primary-opacity))) );color:var(--et-theme-color-ink-solid);border:none;border-radius:var(--_et-icon-button-border-radius);padding:0;font-size:var(--et-button-font-size);letter-spacing:var(--et-button-letter-spacing, revert-layer);text-transform:var(--et-button-text-transform, revert-layer);cursor:var(--et-button-cursor);appearance:none;box-sizing:border-box;-webkit-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent;overflow:hidden;flex-shrink:0}.et-icon-button[data-can-animate]{transition:background .12s ease,color .12s ease,box-shadow .12s ease,outline-color .12s ease,opacity .12s ease}.et-icon-button:where([data-size=xs]){--et-icon-button-size: 2.4rem;--et-icon-button-icon-size: 1.4rem}.et-icon-button:where([data-size=sm]){--et-icon-button-size: 3.1rem;--et-icon-button-icon-size: 1.8rem}.et-icon-button:where([data-size=md]){--et-icon-button-size: 3.9rem;--et-icon-button-icon-size: 2rem}.et-icon-button:where([data-size=lg]){--et-icon-button-size: 4.6rem;--et-icon-button-icon-size: 2.4rem}.et-icon-button:where([data-size=xl]){--et-icon-button-size: 5.7rem;--et-icon-button-icon-size: 2.8rem}.et-icon-button:where([disabled]),.et-icon-button:where([aria-disabled=true]:not([data-loading=true])){opacity:var(--et-button-opacity-disabled);cursor:not-allowed;pointer-events:none}.et-icon-button:where([data-variant=filled]):not([data-pressed=true]),.et-icon-button[data-pressed=true]:where([data-pressed-variant=filled]){--et-theme-color-primary-opacity: 1;--et-button-shadow: inset 0 0 0 1px light-dark(var(--et-theme-color-ink-solid), transparent);color:var(--et-theme-color-on-primary);box-shadow:var(--et-button-shadow, none)}@media(hover:hover){:is(.et-icon-button:where([data-variant=filled]):not([data-pressed=true]),.et-icon-button[data-pressed=true]:where([data-pressed-variant=filled])):not([disabled],[aria-disabled=true]):hover{--et-theme-color-primary-opacity: 1;--et-theme-color-primary-rgb: var( --et-button-filled-hover-rgb, var( --et-color-primary-active, var(--et-color-primary-focus, var(--et-color-primary-hover, var(--et-color-primary))) ) )}}:is(.et-icon-button:where([data-variant=filled]):not([data-pressed=true]),.et-icon-button[data-pressed=true]:where([data-pressed-variant=filled])):focus-visible{--et-theme-color-primary-opacity: calc(1 - var(--et-button-variant-opacity-focus-delta))}:is(.et-icon-button:where([data-variant=filled]):not([data-pressed=true]),.et-icon-button[data-pressed=true]:where([data-pressed-variant=filled])):not([disabled],[aria-disabled=true]):active{--_et-icon-button-background: color-mix( in srgb, var(--et-theme-color-primary-solid) 96%, var(--et-theme-color-on-primary-solid) )}.et-icon-button:where([data-variant=outline]){border:var(--et-button-border-width, .1rem) solid var(--_et-button-state-border-color, var(--et-button-outline-border-color, var(--et-theme-color-ink-solid)))}.et-icon-button[data-pressed=true]:where([data-pressed-variant=filled]){border:none}.et-icon-button .et-icon-button-icon{display:flex;align-items:center;justify-content:center;width:100%;height:100%;transition:opacity .12s ease}.et-icon-button .et-icon-button-icon :is(.et-icon,[etIcon]){width:var(--_et-icon-button-icon-size);height:var(--_et-icon-button-icon-size)}.et-icon-button .et-icon-button-icon [etIcon]:not(.et-icon){font-size:var(--_et-icon-button-icon-size)}.et-icon-button[data-loading=true] .et-icon-button-icon{opacity:0}.et-icon-button[data-loading=true] .et-button-loader{opacity:1}}\n"]
|
|
@@ -4265,6 +4278,14 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
4265
4278
|
required: false
|
|
4266
4279
|
}]
|
|
4267
4280
|
}],
|
|
4281
|
+
pressedVariant: [{
|
|
4282
|
+
type: i0.Input,
|
|
4283
|
+
args: [{
|
|
4284
|
+
isSignal: true,
|
|
4285
|
+
alias: "pressedVariant",
|
|
4286
|
+
required: false
|
|
4287
|
+
}]
|
|
4288
|
+
}],
|
|
4268
4289
|
iconSlot: [{
|
|
4269
4290
|
type: i0.ViewChild,
|
|
4270
4291
|
args: ["iconSlot", { isSignal: true }]
|
|
@@ -4399,7 +4420,11 @@ var BannerComponent = class BannerComponent {
|
|
|
4399
4420
|
kind: "component",
|
|
4400
4421
|
type: IconButtonComponent,
|
|
4401
4422
|
selector: "[et-icon-button]",
|
|
4402
|
-
inputs: [
|
|
4423
|
+
inputs: [
|
|
4424
|
+
"variant",
|
|
4425
|
+
"size",
|
|
4426
|
+
"pressedVariant"
|
|
4427
|
+
]
|
|
4403
4428
|
}, {
|
|
4404
4429
|
kind: "directive",
|
|
4405
4430
|
type: IconDirective,
|
|
@@ -6267,7 +6292,7 @@ var MatchParticipantComponent = class MatchParticipantComponent {
|
|
|
6267
6292
|
}
|
|
6268
6293
|
`,
|
|
6269
6294
|
isInline: true,
|
|
6270
|
-
styles: ["@layer components.sdk{@property --et-match-participant-emblem-size{syntax: \"<length>\"; inherits: true; initial-value: 28px;}@property --et-match-participant-gap{syntax: \"<length>\"; inherits: true; initial-value: 10px;}@property --et-match-participant-font-size{syntax: \"<length>\"; inherits: true; initial-value: 14px;}@property --et-match-participant-flag-size{syntax: \"<length>\"; inherits: true; initial-value: 16px;}.et-match-participant{display:flex;align-items:center;gap:var(--et-match-participant-gap);min-inline-size:0;color:var(--et-surface-color-solid, currentColor);text-decoration:none}.et-match-participant:where([data-interactive]){cursor:pointer;background:none;border:0;padding:0;font:inherit;text-align:start}.et-match-participant:where([data-interactive]):hover .et-match-participant-name{text-decoration:underline}.et-match-participant-emblem{display:var(--_et-match-participant-emblem-display, grid);place-items:center;flex:none;inline-size:var(--et-match-participant-emblem-size);block-size:var(--et-match-participant-emblem-size);overflow:hidden;border-radius:
|
|
6295
|
+
styles: ["@layer components.sdk{@property --et-match-participant-emblem-size{syntax: \"<length>\"; inherits: true; initial-value: 28px;}@property --et-match-participant-emblem-radius{syntax: \"<length-percentage>\"; inherits: true; initial-value: 50%;}@property --et-match-participant-emblem-border-width{syntax: \"<length>\"; inherits: true; initial-value: 0px;}@property --et-match-participant-gap{syntax: \"<length>\"; inherits: true; initial-value: 10px;}@property --et-match-participant-font-size{syntax: \"<length>\"; inherits: true; initial-value: 14px;}@property --et-match-participant-flag-size{syntax: \"<length>\"; inherits: true; initial-value: 16px;}.et-match-participant{display:flex;align-items:center;gap:var(--et-match-participant-gap);min-inline-size:0;color:var(--et-surface-color-solid, currentColor);text-decoration:none}.et-match-participant:where([data-interactive]){cursor:pointer;background:none;border:0;padding:0;font:inherit;text-align:start}.et-match-participant:where([data-interactive]):hover .et-match-participant-name{text-decoration:underline}.et-match-participant-emblem{display:var(--_et-match-participant-emblem-display, grid);place-items:center;flex:none;inline-size:var(--et-match-participant-emblem-size);block-size:var(--et-match-participant-emblem-size);overflow:hidden;box-sizing:border-box;border:var(--et-match-participant-emblem-border-width) solid var(--et-match-participant-emblem-border-color, var(--et-surface-border-solid, currentColor));border-radius:var(--et-match-participant-emblem-radius);background:color-mix(in srgb,var(--et-surface-interaction-solid, gray) 10%,transparent)}.et-match-participant:where([data-tbd]) .et-match-participant-emblem{border-width:var(--et-match-participant-tbd-emblem-border-width, var(--et-match-participant-emblem-border-width));border-style:var(--et-match-participant-tbd-emblem-border-style, solid)}.et-match-participant-picture,.et-match-participant-bone{inline-size:100%;block-size:100%;min-inline-size:0;min-block-size:0}.et-match-participant-emblem-mark{color:var(--et-surface-color-muted-solid, currentColor);font-size:calc(var(--et-match-participant-emblem-size) * .45);font-weight:600;line-height:1;font-variant-numeric:tabular-nums}.et-match-participant-emblem-mark:before{content:attr(data-mark)}.et-match-participant-names{display:flex;flex-direction:column;min-inline-size:0}.et-match-participant-name{min-inline-size:0;overflow:hidden;font-size:var(--et-match-participant-font-size);line-height:1.3;text-overflow:ellipsis;white-space:nowrap}.et-match-participant-subtitle{min-inline-size:0;overflow:hidden;font-size:max(10px,calc(var(--et-match-participant-font-size) - 4px));line-height:1.3;color:var(--et-surface-color-muted-solid, currentColor);text-overflow:ellipsis;white-space:nowrap}.et-match-participant-country{display:flex;align-items:center;gap:4px;min-inline-size:0;font-size:max(10px,calc(var(--et-match-participant-font-size) - 3px));line-height:1.3;color:var(--et-surface-color-muted-solid, currentColor)}.et-match-participant-flag{flex:none;inline-size:var(--et-match-participant-flag-size);block-size:calc(var(--et-match-participant-flag-size) * .75);overflow:hidden;border-radius:2px}.et-match-participant-country-name{min-inline-size:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.et-match-participant-name--tbd{color:var(--et-surface-color-muted-solid, currentColor)}.et-match-participant-name-bone{inline-size:96px}.et-match-participant-seed{flex:none;padding-inline:5px;font-size:11px;line-height:16px;font-variant-numeric:tabular-nums;color:var(--et-surface-color-muted-solid, currentColor);background:color-mix(in srgb,var(--et-surface-interaction-solid, gray) 12%,transparent);border-radius:4px}.et-match-participant:where([data-compact]){--et-match-participant-emblem-size: 20px;--et-match-participant-gap: 8px;--et-match-participant-font-size: 13px}}\n"],
|
|
6271
6296
|
dependencies: [
|
|
6272
6297
|
{
|
|
6273
6298
|
kind: "component",
|
|
@@ -6380,7 +6405,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
6380
6405
|
"[attr.data-interactive]": "isInteractive() ? \"\" : null",
|
|
6381
6406
|
"[attr.aria-label]": "isInteractive() ? displayName() : null"
|
|
6382
6407
|
},
|
|
6383
|
-
styles: ["@layer components.sdk{@property --et-match-participant-emblem-size{syntax: \"<length>\"; inherits: true; initial-value: 28px;}@property --et-match-participant-gap{syntax: \"<length>\"; inherits: true; initial-value: 10px;}@property --et-match-participant-font-size{syntax: \"<length>\"; inherits: true; initial-value: 14px;}@property --et-match-participant-flag-size{syntax: \"<length>\"; inherits: true; initial-value: 16px;}.et-match-participant{display:flex;align-items:center;gap:var(--et-match-participant-gap);min-inline-size:0;color:var(--et-surface-color-solid, currentColor);text-decoration:none}.et-match-participant:where([data-interactive]){cursor:pointer;background:none;border:0;padding:0;font:inherit;text-align:start}.et-match-participant:where([data-interactive]):hover .et-match-participant-name{text-decoration:underline}.et-match-participant-emblem{display:var(--_et-match-participant-emblem-display, grid);place-items:center;flex:none;inline-size:var(--et-match-participant-emblem-size);block-size:var(--et-match-participant-emblem-size);overflow:hidden;border-radius:
|
|
6408
|
+
styles: ["@layer components.sdk{@property --et-match-participant-emblem-size{syntax: \"<length>\"; inherits: true; initial-value: 28px;}@property --et-match-participant-emblem-radius{syntax: \"<length-percentage>\"; inherits: true; initial-value: 50%;}@property --et-match-participant-emblem-border-width{syntax: \"<length>\"; inherits: true; initial-value: 0px;}@property --et-match-participant-gap{syntax: \"<length>\"; inherits: true; initial-value: 10px;}@property --et-match-participant-font-size{syntax: \"<length>\"; inherits: true; initial-value: 14px;}@property --et-match-participant-flag-size{syntax: \"<length>\"; inherits: true; initial-value: 16px;}.et-match-participant{display:flex;align-items:center;gap:var(--et-match-participant-gap);min-inline-size:0;color:var(--et-surface-color-solid, currentColor);text-decoration:none}.et-match-participant:where([data-interactive]){cursor:pointer;background:none;border:0;padding:0;font:inherit;text-align:start}.et-match-participant:where([data-interactive]):hover .et-match-participant-name{text-decoration:underline}.et-match-participant-emblem{display:var(--_et-match-participant-emblem-display, grid);place-items:center;flex:none;inline-size:var(--et-match-participant-emblem-size);block-size:var(--et-match-participant-emblem-size);overflow:hidden;box-sizing:border-box;border:var(--et-match-participant-emblem-border-width) solid var(--et-match-participant-emblem-border-color, var(--et-surface-border-solid, currentColor));border-radius:var(--et-match-participant-emblem-radius);background:color-mix(in srgb,var(--et-surface-interaction-solid, gray) 10%,transparent)}.et-match-participant:where([data-tbd]) .et-match-participant-emblem{border-width:var(--et-match-participant-tbd-emblem-border-width, var(--et-match-participant-emblem-border-width));border-style:var(--et-match-participant-tbd-emblem-border-style, solid)}.et-match-participant-picture,.et-match-participant-bone{inline-size:100%;block-size:100%;min-inline-size:0;min-block-size:0}.et-match-participant-emblem-mark{color:var(--et-surface-color-muted-solid, currentColor);font-size:calc(var(--et-match-participant-emblem-size) * .45);font-weight:600;line-height:1;font-variant-numeric:tabular-nums}.et-match-participant-emblem-mark:before{content:attr(data-mark)}.et-match-participant-names{display:flex;flex-direction:column;min-inline-size:0}.et-match-participant-name{min-inline-size:0;overflow:hidden;font-size:var(--et-match-participant-font-size);line-height:1.3;text-overflow:ellipsis;white-space:nowrap}.et-match-participant-subtitle{min-inline-size:0;overflow:hidden;font-size:max(10px,calc(var(--et-match-participant-font-size) - 4px));line-height:1.3;color:var(--et-surface-color-muted-solid, currentColor);text-overflow:ellipsis;white-space:nowrap}.et-match-participant-country{display:flex;align-items:center;gap:4px;min-inline-size:0;font-size:max(10px,calc(var(--et-match-participant-font-size) - 3px));line-height:1.3;color:var(--et-surface-color-muted-solid, currentColor)}.et-match-participant-flag{flex:none;inline-size:var(--et-match-participant-flag-size);block-size:calc(var(--et-match-participant-flag-size) * .75);overflow:hidden;border-radius:2px}.et-match-participant-country-name{min-inline-size:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.et-match-participant-name--tbd{color:var(--et-surface-color-muted-solid, currentColor)}.et-match-participant-name-bone{inline-size:96px}.et-match-participant-seed{flex:none;padding-inline:5px;font-size:11px;line-height:16px;font-variant-numeric:tabular-nums;color:var(--et-surface-color-muted-solid, currentColor);background:color-mix(in srgb,var(--et-surface-interaction-solid, gray) 12%,transparent);border-radius:4px}.et-match-participant:where([data-compact]){--et-match-participant-emblem-size: 20px;--et-match-participant-gap: 8px;--et-match-participant-font-size: 13px}}\n"]
|
|
6384
6409
|
}]
|
|
6385
6410
|
}],
|
|
6386
6411
|
ctorParameters: () => [],
|
|
@@ -6654,7 +6679,7 @@ var MatchCardComponent = class MatchCardComponent {
|
|
|
6654
6679
|
}, { directive: FocusRingDirective }],
|
|
6655
6680
|
ngImport: i0,
|
|
6656
6681
|
template: "<!-- Everything mode-dependent lives on this element rather than the host: a container query can only\n style descendants of its container, and the host is the container. -->\n<div class=\"et-match-card-content\">\n @if (card.loading()) {\n <div class=\"et-match-card-skeleton et-skeleton--animated\">\n <div class=\"et-match-card-sides\">\n <div class=\"et-match-card-side\" data-side=\"home\">\n <et-match-participant [labels]=\"card.labels()\" class=\"et-match-card-participant\" loading />\n </div>\n <span class=\"et-match-card-versus\" aria-hidden=\"true\">{{ card.resolvedLabels().versus }}</span>\n <div class=\"et-match-card-side\" data-side=\"away\">\n <et-match-participant [labels]=\"card.labels()\" class=\"et-match-card-participant\" loading />\n </div>\n </div>\n </div>\n } @else {\n @if (\n card.label() || card.badgeLabels().length || card.isLive() || card.isCancelled() || card.formattedStartTime()\n ) {\n <div class=\"et-match-card-meta\" etMatchCardMeta>\n @if (card.label(); as label) {\n <span class=\"et-match-card-label\">{{ label }}</span>\n }\n\n @if (card.badgeLabels().length) {\n <span class=\"et-match-card-badges\">\n <ng-content select=\"[etMatchCardBadge]\" />\n </span>\n }\n\n @if (card.isLive()) {\n <span [etProvideColor]=\"liveColorTheme()\" class=\"et-match-card-live\">\n <span class=\"et-match-card-live-dot\"></span>\n {{ card.resolvedLabels().live }}\n </span>\n } @else {\n @if (card.isCancelled()) {\n <span class=\"et-match-card-cancelled\">{{ card.resolvedLabels().cancelled }}</span>\n }\n\n @if (card.formattedStartTime(); as startTime) {\n <span class=\"et-match-card-time\">{{ startTime }}</span>\n }\n }\n </div>\n }\n\n <div class=\"et-match-card-sides\">\n <!-- `data-participant-id` names which side is whose, for anything around the card that reasons about\n a participant rather than a match — the bracket's journey highlight is the first such thing. -->\n <div [attr.data-participant-id]=\"card.match().home?.id ?? null\" class=\"et-match-card-side\" data-side=\"home\">\n <et-match-participant\n [participant]=\"card.match().home\"\n [compact]=\"card.showsShortNames()\"\n [showSeed]=\"card.showSeeds()\"\n [labels]=\"card.labels()\"\n class=\"et-match-card-participant\"\n />\n\n <!-- One of the two, never both: a competition reports a score, table points, or a win — see\n `resultKind`. Both are hidden from assistive tech, which gets the phrased result from the live\n region below instead. -->\n @if (card.drawsScore()) {\n <et-match-score\n [value]=\"card.match().homeScore + ''\"\n [animate]=\"card.animatesScoreChanges()\"\n [subject]=\"card.match().id\"\n class=\"et-match-card-score\"\n aria-hidden=\"true\"\n />\n } @else if (card.homeOutcome(); as outcome) {\n <span class=\"et-match-card-outcome\" aria-hidden=\"true\">{{ outcome }}</span>\n }\n </div>\n\n <!-- Only laid out in the wide arrangement, where the two sides' results meet and need something\n between them: the score separator, or \"vs\" when there is no result yet. -->\n <span class=\"et-match-card-versus\" aria-hidden=\"true\">{{ card.separatorText() }}</span>\n\n <div [attr.data-participant-id]=\"card.match().away?.id ?? null\" class=\"et-match-card-side\" data-side=\"away\">\n <et-match-participant\n [participant]=\"card.match().away\"\n [compact]=\"card.showsShortNames()\"\n [showSeed]=\"card.showSeeds()\"\n [labels]=\"card.labels()\"\n class=\"et-match-card-participant\"\n />\n\n @if (card.drawsScore()) {\n <et-match-score\n [value]=\"card.match().awayScore + ''\"\n [animate]=\"card.animatesScoreChanges()\"\n [subject]=\"card.match().id\"\n class=\"et-match-card-score\"\n aria-hidden=\"true\"\n />\n } @else if (card.awayOutcome(); as outcome) {\n <span class=\"et-match-card-outcome\" aria-hidden=\"true\">{{ outcome }}</span>\n }\n </div>\n </div>\n\n @if (card.gameScores(); as gameScores) {\n <ol class=\"et-match-card-games\" etMatchCardGameScores>\n @for (gameScore of gameScores; track $index) {\n <li\n [attr.aria-label]=\"card.resolvedLabels().gameScore($index + 1, card.gameScoreText(gameScore))\"\n class=\"et-match-card-game\"\n >\n {{ card.gameScoreText(gameScore) }}\n </li>\n }\n </ol>\n }\n }\n\n <!-- Always in the DOM, even while empty: a live region has to exist before the value lands in it, or\n the first score of a match that just kicked off is announced by nobody. It carries the phrased\n result rather than the drawn pair, since 'W' beside 'L' is nothing to listen to. -->\n <span class=\"et-visually-hidden et-match-card-announcement\" etMatchCardScore>{{ card.result() }}</span>\n</div>\n",
|
|
6657
|
-
styles: ["@layer components.sdk{@property --et-match-card-border-radius{syntax: \"<length>\"; inherits: false; initial-value: 10px;}@property --et-match-card-min-inline-size{syntax: \"<length>\"; inherits: false; initial-value: 180px;}@property --et-match-card-compact-padding{syntax: \"<length>+\"; inherits: true; initial-value: 10px;}@property --et-match-card-expanded-padding{syntax: \"<length>+\"; inherits: true; initial-value: 16px;}@property --et-match-card-compact-gap{syntax: \"<length>\"; inherits: true; initial-value: 6px;}@property --et-match-card-expanded-gap{syntax: \"<length>\"; inherits: true; initial-value: 12px;}@property --et-match-card-compact-emblem-size{syntax: \"<length>\"; inherits: true; initial-value: 20px;}@property --et-match-card-expanded-emblem-size{syntax: \"<length>\"; inherits: true; initial-value: 36px;}@property --et-match-card-compact-name-font-size{syntax: \"<length>\"; inherits: true; initial-value: 13px;}@property --et-match-card-expanded-name-font-size{syntax: \"<length>\"; inherits: true; initial-value: 15px;}@property --et-match-card-compact-score-font-size{syntax: \"<length>\"; inherits: true; initial-value: 14px;}@property --et-match-card-expanded-score-font-size{syntax: \"<length>\"; inherits: true; initial-value: 20px;}@property --et-match-card-minimal-padding{syntax: \"<length>+\"; inherits: true; initial-value: 6px;}@property --et-match-card-minimal-gap{syntax: \"<length>\"; inherits: true; initial-value: 3px;}@property --et-match-card-minimal-name-font-size{syntax: \"<length>\"; inherits: true; initial-value: 11px;}@property --et-match-card-minimal-score-font-size{syntax: \"<length>\"; inherits: true; initial-value: 12px;}@property --et-match-card-meta-font-size{syntax: \"<length>\"; inherits: true; initial-value: 11px;}@property --et-match-card-versus-font-size{syntax: \"<length>\"; inherits: true; initial-value: 11px;}@property --et-match-card-games-font-size{syntax: \"<length>\"; inherits: true; initial-value: 11px;}@property --et-match-card-name-font-weight{syntax: \"<number>\"; inherits: true; initial-value: 400;}@property --et-match-card-winner-name-font-weight{syntax: \"<number>\"; inherits: true; initial-value: 600;}@property --et-match-card-score-font-weight{syntax: \"<number>\"; inherits: true; initial-value: 600;}@property --et-match-card-outcome-font-weight{syntax: \"<number>\"; inherits: true; initial-value: 700;}@property --et-match-card-status-font-weight{syntax: \"<number>\"; inherits: true; initial-value: 600;}.et-match-card{container-type:inline-size;container-name:et-match-card;display:block;box-sizing:border-box;min-inline-size:var(--et-match-card-min-inline-size);border-radius:var(--et-match-card-border-radius);color:var(--et-surface-color-solid, currentColor);text-decoration:none}.et-match-card-content{--_et-match-card-padding: var(--et-match-card-compact-padding);--_et-match-card-gap: var(--et-match-card-compact-gap);--_et-match-card-emblem-size: var(--et-match-card-compact-emblem-size);--_et-match-card-name-font-size: var(--et-match-card-compact-name-font-size);--_et-match-card-score-font-size: var(--et-match-card-compact-score-font-size);--_et-match-card-games-display: none;--_et-match-card-meta-display: none;--_et-match-card-time-display: none;display:grid;align-content:center;gap:var(--_et-match-card-gap);box-sizing:border-box;padding:var(--_et-match-card-padding);background:var(--et-surface-background-solid, transparent);border:1px solid var(--et-surface-border-solid, rgb(255 255 255 / .1));font-family:var(--et-match-card-font-family, inherit);border-radius:inherit}@container et-match-card (max-inline-size: 149px){.et-match-card:where([data-size=auto]) .et-match-card-content,.et-match-card:where([data-size=compact]) .et-match-card-content{--_et-match-card-padding: var(--et-match-card-minimal-padding);--_et-match-card-gap: var(--et-match-card-minimal-gap);--_et-match-card-name-font-size: var(--et-match-card-minimal-name-font-size);--_et-match-card-score-font-size: var(--et-match-card-minimal-score-font-size);--_et-match-participant-emblem-display: none}}@container et-match-card (min-inline-size: 320px){.et-match-card:where([data-size=auto]) .et-match-card-content{--_et-match-card-padding: var(--et-match-card-expanded-padding);--_et-match-card-gap: var(--et-match-card-expanded-gap);--_et-match-card-emblem-size: var(--et-match-card-expanded-emblem-size);--_et-match-card-name-font-size: var(--et-match-card-expanded-name-font-size);--_et-match-card-score-font-size: var(--et-match-card-expanded-score-font-size);--_et-match-card-games-display: flex;--_et-match-card-subtitle-display: block;--_et-match-card-label-display: block;--_et-match-card-meta-display: flex;--_et-match-card-time-display: block}}@container et-match-card (min-inline-size: 560px){.et-match-card:where([data-size=auto]) .et-match-card-content{--_et-match-card-sides-columns: 1fr auto 1fr;--_et-match-card-sides-gap: 12px;--_et-match-card-away-flow: row-reverse;--_et-match-card-home-participant-flow: row-reverse;--_et-match-card-home-text-align: end;--_et-match-card-versus-display: block;--_et-match-card-side-marker-size: 0px}}.et-match-card:where([data-size=expanded]) .et-match-card-content,.et-match-card:where([data-size=wide]) .et-match-card-content{--_et-match-card-padding: var(--et-match-card-expanded-padding);--_et-match-card-gap: var(--et-match-card-expanded-gap);--_et-match-card-emblem-size: var(--et-match-card-expanded-emblem-size);--_et-match-card-name-font-size: var(--et-match-card-expanded-name-font-size);--_et-match-card-score-font-size: var(--et-match-card-expanded-score-font-size);--_et-match-card-games-display: flex;--_et-match-card-subtitle-display: block;--_et-match-card-label-display: block;--_et-match-card-meta-display: flex;--_et-match-card-time-display: block}.et-match-card:where([data-status=live],[data-status=cancelled]) .et-match-card-content{--_et-match-card-meta-display: flex}.et-match-card:where([data-hide-names]) .et-match-participant-names{display:none}.et-match-card:where([data-size=wide]) .et-match-card-content{--_et-match-card-sides-columns: 1fr auto 1fr;--_et-match-card-sides-gap: 12px;--_et-match-card-away-flow: row-reverse;--_et-match-card-home-participant-flow: row-reverse;--_et-match-card-home-text-align: end;--_et-match-card-versus-display: block;--_et-match-card-side-marker-size: 0px}.et-match-card-meta{display:var(--_et-match-card-meta-display, flex);align-items:center;justify-content:space-between;gap:8px;min-inline-size:0;font-size:var(--et-match-card-meta-font-size);line-height:1.4;color:var(--et-surface-color-muted-solid, currentColor)}.et-match-card-label{display:var(--_et-match-card-label-display, none);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.et-match-card-badges{display:flex;flex:none;align-items:center;gap:4px;margin-inline-start:auto}.et-match-card-time{display:var(--_et-match-card-time-display, block);flex:none;font-variant-numeric:tabular-nums}.et-match-card-live{display:inline-flex;flex:none;align-items:center;gap:5px;padding-inline:6px;font-weight:var(--et-match-card-status-font-weight);letter-spacing:.04em;text-transform:uppercase;color:var(--et-theme-color-ink-solid, currentColor);background:color-mix(in srgb,var(--et-theme-color-primary-solid, currentColor) 14%,transparent);border-radius:4px}.et-match-card-cancelled{flex:none;margin-inline-start:auto;padding-inline:6px;font-weight:var(--et-match-card-status-font-weight);letter-spacing:.04em;text-transform:uppercase;background:color-mix(in srgb,var(--et-surface-interaction-solid, gray) 12%,transparent);border-radius:4px}.et-match-card-badges~.et-match-card-cancelled{margin-inline-start:0}.et-match-card-live-dot{flex:none;inline-size:6px;block-size:6px;background:light-dark(var(--et-theme-color-ink-solid),var(--et-theme-color-primary-solid));border-radius:50%;animation:et-match-card-live-pulse 2s ease-in-out infinite}@keyframes et-match-card-live-pulse{50%{opacity:.35}}@media(prefers-reduced-motion:reduce){.et-match-card-live-dot{animation:none}}.et-match-card-sides{display:grid;grid-template-columns:var(--_et-match-card-sides-columns, 1fr);align-items:center;gap:var(--_et-match-card-sides-gap, 4px);min-inline-size:0}.et-match-card-side{--_et-match-card-side-color: var(--et-surface-color-solid, currentColor);display:flex;align-items:center;gap:8px;min-inline-size:0}.et-match-card-side:where([data-side=away]){flex-direction:var(--_et-match-card-away-flow, row)}.et-match-card-side:where([data-side=home]){text-align:var(--_et-match-card-home-text-align, start)}.et-match-card-side:where([data-side=home]) .et-match-card-participant{flex-direction:var(--_et-match-card-home-participant-flow, row)}.et-match-card-side:before{display:var(--_et-match-card-side-marker-display, none);flex:none;align-self:stretch;inline-size:var(--_et-match-card-side-marker-size, 2px);background:var(--_et-match-card-side-marker-color, transparent);border-radius:1px;content:\"\"}.et-match-card-versus{display:var(--_et-match-card-versus-display, none);flex:none;padding-inline:4px;font-size:var(--et-match-card-versus-font-size);font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--et-surface-color-muted-solid, currentColor)}.et-match-card-outcome{flex:none;min-inline-size:1.2em;font-family:var(--et-match-card-score-font-family, inherit);font-size:var(--_et-match-card-score-font-size);font-weight:var(--et-match-card-outcome-font-weight);line-height:1.2;color:var(--_et-match-card-side-color);text-align:center}.et-match-card-content .et-match-card-participant{--et-match-participant-emblem-size: var(--_et-match-card-emblem-size);--et-match-participant-font-size: var(--_et-match-card-name-font-size);flex:1;min-inline-size:0;color:var(--_et-match-card-side-color)}.et-match-card-content .et-match-participant-subtitle,.et-match-card-content .et-match-participant-country{display:var(--_et-match-card-subtitle-display, none)}.et-match-card-content .et-match-participant-name{font-weight:var(--et-match-card-name-font-weight)}.et-match-card-score{flex:none;font-family:var(--et-match-card-score-font-family, inherit);font-size:var(--_et-match-card-score-font-size);font-weight:var(--et-match-card-score-font-weight);font-variant-numeric:tabular-nums;line-height:1.2;color:var(--_et-match-card-side-color)}.et-match-card:where([data-winner]) .et-match-card-side{--_et-match-card-side-color: var(--et-surface-color-muted-solid, currentColor);--_et-match-card-side-marker-display: block}.et-match-card:where([data-winner=home]) .et-match-card-side:where([data-side=home]),.et-match-card:where([data-winner=away]) .et-match-card-side:where([data-side=away]){--_et-match-card-side-color: var(--et-surface-color-solid, currentColor);--_et-match-card-side-marker-color: light-dark( var(--et-theme-color-ink-solid), var(--et-theme-color-primary-solid) );--_et-match-card-side-marker-display: block}:is(.et-match-card:where([data-winner=home]) .et-match-card-side:where([data-side=home]),.et-match-card:where([data-winner=away]) .et-match-card-side:where([data-side=away])) .et-match-participant-name{font-weight:var(--et-match-card-winner-name-font-weight)}.et-match-card:where([data-status=cancelled]) .et-match-card-side{--_et-match-card-side-color: var(--et-surface-color-muted-solid, currentColor);--_et-match-card-side-marker-display: none}.et-match-card:where([data-status=cancelled]) .et-match-participant-emblem{opacity:.6}.et-match-card-content .et-match-card-skeleton{display:grid;gap:var(--_et-match-card-gap)}.et-match-card-games{display:var(--_et-match-card-games-display);flex-wrap:wrap;gap:4px;margin:0;padding:0;font-size:var(--et-match-card-games-font-size);color:var(--et-surface-color-muted-solid, currentColor);list-style:none}.et-match-card-game{flex:none;padding-inline:5px;font-variant-numeric:tabular-nums;line-height:18px;background:color-mix(in srgb,var(--et-surface-interaction-solid, gray) 10%,transparent);border-radius:4px}.et-match-card:where([data-interactive]){cursor:pointer}.et-match-card:where([data-interactive]):hover .et-match-card-content{background:color-mix(in srgb,var(--et-surface-interaction-solid, gray) 6%,var(--et-surface-background-solid, transparent));border-color:color-mix(in srgb,var(--et-surface-interaction-solid, gray) 24%,var(--et-surface-border-solid, transparent))}}\n"],
|
|
6682
|
+
styles: ["@layer components.sdk{@property --et-match-card-border-radius{syntax: \"<length>\"; inherits: false; initial-value: 10px;}@property --et-match-card-min-inline-size{syntax: \"<length>\"; inherits: false; initial-value: 180px;}@property --et-match-card-compact-padding{syntax: \"<length>+\"; inherits: true; initial-value: 10px;}@property --et-match-card-expanded-padding{syntax: \"<length>+\"; inherits: true; initial-value: 16px;}@property --et-match-card-compact-gap{syntax: \"<length>\"; inherits: true; initial-value: 6px;}@property --et-match-card-expanded-gap{syntax: \"<length>\"; inherits: true; initial-value: 12px;}@property --et-match-card-compact-emblem-size{syntax: \"<length>\"; inherits: true; initial-value: 20px;}@property --et-match-card-expanded-emblem-size{syntax: \"<length>\"; inherits: true; initial-value: 36px;}@property --et-match-card-compact-name-font-size{syntax: \"<length>\"; inherits: true; initial-value: 13px;}@property --et-match-card-expanded-name-font-size{syntax: \"<length>\"; inherits: true; initial-value: 15px;}@property --et-match-card-compact-score-font-size{syntax: \"<length>\"; inherits: true; initial-value: 14px;}@property --et-match-card-expanded-score-font-size{syntax: \"<length>\"; inherits: true; initial-value: 20px;}@property --et-match-card-minimal-padding{syntax: \"<length>+\"; inherits: true; initial-value: 6px;}@property --et-match-card-minimal-gap{syntax: \"<length>\"; inherits: true; initial-value: 3px;}@property --et-match-card-minimal-name-font-size{syntax: \"<length>\"; inherits: true; initial-value: 11px;}@property --et-match-card-minimal-score-font-size{syntax: \"<length>\"; inherits: true; initial-value: 12px;}@property --et-match-card-meta-font-size{syntax: \"<length>\"; inherits: true; initial-value: 11px;}@property --et-match-card-versus-font-size{syntax: \"<length>\"; inherits: true; initial-value: 11px;}@property --et-match-card-games-font-size{syntax: \"<length>\"; inherits: true; initial-value: 11px;}@property --et-match-card-name-font-weight{syntax: \"<number>\"; inherits: true; initial-value: 400;}@property --et-match-card-winner-name-font-weight{syntax: \"<number>\"; inherits: true; initial-value: 600;}@property --et-match-card-score-font-weight{syntax: \"<number>\"; inherits: true; initial-value: 600;}@property --et-match-card-outcome-font-weight{syntax: \"<number>\"; inherits: true; initial-value: 700;}@property --et-match-card-status-font-weight{syntax: \"<number>\"; inherits: true; initial-value: 600;}.et-match-card{container-type:inline-size;container-name:et-match-card;display:block;box-sizing:border-box;min-inline-size:var(--et-match-card-min-inline-size);border-radius:var(--et-match-card-border-radius);color:var(--et-surface-color-solid, currentColor);text-decoration:none}.et-match-card-content{--_et-match-card-padding: var(--et-match-card-compact-padding);--_et-match-card-gap: var(--et-match-card-compact-gap);--_et-match-card-emblem-size: var(--et-match-card-compact-emblem-size);--_et-match-card-name-font-size: var(--et-match-card-compact-name-font-size);--_et-match-card-score-font-size: var(--et-match-card-compact-score-font-size);--_et-match-card-games-display: none;--_et-match-card-meta-display: none;--_et-match-card-time-display: none;display:grid;align-content:center;gap:var(--_et-match-card-gap);box-sizing:border-box;padding:var(--_et-match-card-padding);background:var(--et-surface-background-solid, transparent);border:1px solid var(--et-surface-border-solid, rgb(255 255 255 / .1));font-family:var(--et-match-card-font-family, inherit);border-radius:inherit}@container et-match-card (max-inline-size: 149px){.et-match-card:where([data-size=auto]) .et-match-card-content,.et-match-card:where([data-size=compact]) .et-match-card-content{--_et-match-card-padding: var(--et-match-card-minimal-padding);--_et-match-card-gap: var(--et-match-card-minimal-gap);--_et-match-card-name-font-size: var(--et-match-card-minimal-name-font-size);--_et-match-card-score-font-size: var(--et-match-card-minimal-score-font-size);--_et-match-participant-emblem-display: none}}@container et-match-card (min-inline-size: 320px){.et-match-card:where([data-size=auto]) .et-match-card-content{--_et-match-card-padding: var(--et-match-card-expanded-padding);--_et-match-card-gap: var(--et-match-card-expanded-gap);--_et-match-card-emblem-size: var(--et-match-card-expanded-emblem-size);--_et-match-card-name-font-size: var(--et-match-card-expanded-name-font-size);--_et-match-card-score-font-size: var(--et-match-card-expanded-score-font-size);--_et-match-card-games-display: flex;--_et-match-card-subtitle-display: block;--_et-match-card-country-display: flex;--_et-match-card-label-display: block;--_et-match-card-meta-display: flex;--_et-match-card-time-display: block}}@container et-match-card (min-inline-size: 560px){.et-match-card:where([data-size=auto]) .et-match-card-content{--_et-match-card-sides-columns: 1fr auto 1fr;--_et-match-card-sides-gap: 12px;--_et-match-card-away-flow: row-reverse;--_et-match-card-home-participant-flow: row-reverse;--_et-match-card-home-text-align: end;--_et-match-card-versus-display: block;--_et-match-card-side-marker-size: 0px}}.et-match-card:where([data-size=expanded]) .et-match-card-content,.et-match-card:where([data-size=wide]) .et-match-card-content{--_et-match-card-padding: var(--et-match-card-expanded-padding);--_et-match-card-gap: var(--et-match-card-expanded-gap);--_et-match-card-emblem-size: var(--et-match-card-expanded-emblem-size);--_et-match-card-name-font-size: var(--et-match-card-expanded-name-font-size);--_et-match-card-score-font-size: var(--et-match-card-expanded-score-font-size);--_et-match-card-games-display: flex;--_et-match-card-subtitle-display: block;--_et-match-card-country-display: flex;--_et-match-card-label-display: block;--_et-match-card-meta-display: flex;--_et-match-card-time-display: block}.et-match-card:where([data-status=live],[data-status=cancelled]) .et-match-card-content{--_et-match-card-meta-display: flex}.et-match-card:where([data-hide-names]) .et-match-participant-names{display:none}.et-match-card:where([data-size=wide]) .et-match-card-content{--_et-match-card-sides-columns: 1fr auto 1fr;--_et-match-card-sides-gap: 12px;--_et-match-card-away-flow: row-reverse;--_et-match-card-home-participant-flow: row-reverse;--_et-match-card-home-text-align: end;--_et-match-card-versus-display: block;--_et-match-card-side-marker-size: 0px}.et-match-card-meta{display:var(--_et-match-card-meta-display, flex);align-items:center;justify-content:space-between;gap:8px;min-inline-size:0;font-size:var(--et-match-card-meta-font-size);line-height:1.4;color:var(--et-surface-color-muted-solid, currentColor)}.et-match-card-label{display:var(--_et-match-card-label-display, none);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.et-match-card-badges{display:flex;flex:none;align-items:center;gap:4px;margin-inline-start:auto}.et-match-card-time{display:var(--_et-match-card-time-display, block);flex:none;font-variant-numeric:tabular-nums}.et-match-card-live{display:inline-flex;flex:none;align-items:center;gap:5px;padding-inline:6px;font-weight:var(--et-match-card-status-font-weight);letter-spacing:.04em;text-transform:uppercase;color:var(--et-theme-color-ink-solid, currentColor);background:color-mix(in srgb,var(--et-theme-color-primary-solid, currentColor) 14%,transparent);border-radius:4px}.et-match-card-cancelled{flex:none;margin-inline-start:auto;padding-inline:6px;font-weight:var(--et-match-card-status-font-weight);letter-spacing:.04em;text-transform:uppercase;background:color-mix(in srgb,var(--et-surface-interaction-solid, gray) 12%,transparent);border-radius:4px}.et-match-card-badges~.et-match-card-cancelled{margin-inline-start:0}.et-match-card-live-dot{flex:none;inline-size:6px;block-size:6px;background:light-dark(var(--et-theme-color-ink-solid),var(--et-theme-color-primary-solid));border-radius:50%;animation:et-match-card-live-pulse 2s ease-in-out infinite}@keyframes et-match-card-live-pulse{50%{opacity:.35}}@media(prefers-reduced-motion:reduce){.et-match-card-live-dot{animation:none}}.et-match-card-sides{display:grid;grid-template-columns:var(--_et-match-card-sides-columns, 1fr);align-items:center;gap:var(--_et-match-card-sides-gap, 4px);min-inline-size:0}.et-match-card-side{--_et-match-card-side-color: var(--et-surface-color-solid, currentColor);display:flex;align-items:center;gap:8px;min-inline-size:0;text-align:start}.et-match-card-side:where([data-side=away]){flex-direction:var(--_et-match-card-away-flow, row)}.et-match-card-side:where([data-side=home]){text-align:var(--_et-match-card-home-text-align, start)}.et-match-card-side:where([data-side=home]) .et-match-card-participant{flex-direction:var(--_et-match-card-home-participant-flow, row)}.et-match-card-side:before{display:var(--_et-match-card-side-marker-display, none);flex:none;align-self:stretch;inline-size:var(--_et-match-card-side-marker-size, 2px);background:var(--_et-match-card-side-marker-color, transparent);border-radius:1px;content:\"\"}.et-match-card-versus{display:var(--_et-match-card-versus-display, none);flex:none;padding-inline:4px;font-size:var(--et-match-card-versus-font-size);font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--et-surface-color-muted-solid, currentColor)}.et-match-card-outcome{flex:none;min-inline-size:1.2em;font-family:var(--et-match-card-score-font-family, inherit);font-size:var(--_et-match-card-score-font-size);font-weight:var(--et-match-card-outcome-font-weight);line-height:1.2;color:var(--_et-match-card-side-color);text-align:center}.et-match-card-content .et-match-card-participant{--et-match-participant-emblem-size: var(--_et-match-card-emblem-size);--et-match-participant-font-size: var(--_et-match-card-name-font-size);flex:1;min-inline-size:0;color:var(--_et-match-card-side-color)}.et-match-card-content .et-match-participant-subtitle{display:var(--_et-match-card-subtitle-display, none)}.et-match-card-content .et-match-participant-country{display:var(--_et-match-card-country-display, none)}.et-match-card-content .et-match-participant-name{font-weight:var(--et-match-card-name-font-weight)}.et-match-card-score{flex:none;font-family:var(--et-match-card-score-font-family, inherit);font-size:var(--_et-match-card-score-font-size);font-weight:var(--et-match-card-score-font-weight);font-variant-numeric:tabular-nums;line-height:1.2;color:var(--_et-match-card-side-color)}.et-match-card:where([data-winner]) .et-match-card-side{--_et-match-card-side-color: var(--et-surface-color-muted-solid, currentColor);--_et-match-card-side-marker-display: block}.et-match-card:where([data-winner=home]) .et-match-card-side:where([data-side=home]),.et-match-card:where([data-winner=away]) .et-match-card-side:where([data-side=away]){--_et-match-card-side-color: var(--et-surface-color-solid, currentColor);--_et-match-card-side-marker-color: light-dark( var(--et-theme-color-ink-solid), var(--et-theme-color-primary-solid) );--_et-match-card-side-marker-display: block}:is(.et-match-card:where([data-winner=home]) .et-match-card-side:where([data-side=home]),.et-match-card:where([data-winner=away]) .et-match-card-side:where([data-side=away])) .et-match-participant-name{font-weight:var(--et-match-card-winner-name-font-weight)}.et-match-card:where([data-status=cancelled]) .et-match-card-side{--_et-match-card-side-color: var(--et-surface-color-muted-solid, currentColor);--_et-match-card-side-marker-display: none}.et-match-card:where([data-status=cancelled]) .et-match-participant-emblem{opacity:.6}.et-match-card-content .et-match-card-skeleton{display:grid;gap:var(--_et-match-card-gap)}.et-match-card-games{display:var(--_et-match-card-games-display);flex-wrap:wrap;gap:4px;margin:0;padding:0;font-size:var(--et-match-card-games-font-size);color:var(--et-surface-color-muted-solid, currentColor);list-style:none}.et-match-card-game{flex:none;padding-inline:5px;font-variant-numeric:tabular-nums;line-height:18px;background:color-mix(in srgb,var(--et-surface-interaction-solid, gray) 10%,transparent);border-radius:4px}.et-match-card:where([data-interactive]){cursor:pointer}.et-match-card:where([data-interactive]):hover .et-match-card-content{background:color-mix(in srgb,var(--et-surface-interaction-solid, gray) 6%,var(--et-surface-background-solid, transparent));border-color:color-mix(in srgb,var(--et-surface-interaction-solid, gray) 24%,var(--et-surface-border-solid, transparent))}}\n"],
|
|
6658
6683
|
dependencies: [
|
|
6659
6684
|
{
|
|
6660
6685
|
kind: "component",
|
|
@@ -6743,7 +6768,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
6743
6768
|
}, FocusRingDirective],
|
|
6744
6769
|
host: { class: "et-match-card" },
|
|
6745
6770
|
template: "<!-- Everything mode-dependent lives on this element rather than the host: a container query can only\n style descendants of its container, and the host is the container. -->\n<div class=\"et-match-card-content\">\n @if (card.loading()) {\n <div class=\"et-match-card-skeleton et-skeleton--animated\">\n <div class=\"et-match-card-sides\">\n <div class=\"et-match-card-side\" data-side=\"home\">\n <et-match-participant [labels]=\"card.labels()\" class=\"et-match-card-participant\" loading />\n </div>\n <span class=\"et-match-card-versus\" aria-hidden=\"true\">{{ card.resolvedLabels().versus }}</span>\n <div class=\"et-match-card-side\" data-side=\"away\">\n <et-match-participant [labels]=\"card.labels()\" class=\"et-match-card-participant\" loading />\n </div>\n </div>\n </div>\n } @else {\n @if (\n card.label() || card.badgeLabels().length || card.isLive() || card.isCancelled() || card.formattedStartTime()\n ) {\n <div class=\"et-match-card-meta\" etMatchCardMeta>\n @if (card.label(); as label) {\n <span class=\"et-match-card-label\">{{ label }}</span>\n }\n\n @if (card.badgeLabels().length) {\n <span class=\"et-match-card-badges\">\n <ng-content select=\"[etMatchCardBadge]\" />\n </span>\n }\n\n @if (card.isLive()) {\n <span [etProvideColor]=\"liveColorTheme()\" class=\"et-match-card-live\">\n <span class=\"et-match-card-live-dot\"></span>\n {{ card.resolvedLabels().live }}\n </span>\n } @else {\n @if (card.isCancelled()) {\n <span class=\"et-match-card-cancelled\">{{ card.resolvedLabels().cancelled }}</span>\n }\n\n @if (card.formattedStartTime(); as startTime) {\n <span class=\"et-match-card-time\">{{ startTime }}</span>\n }\n }\n </div>\n }\n\n <div class=\"et-match-card-sides\">\n <!-- `data-participant-id` names which side is whose, for anything around the card that reasons about\n a participant rather than a match — the bracket's journey highlight is the first such thing. -->\n <div [attr.data-participant-id]=\"card.match().home?.id ?? null\" class=\"et-match-card-side\" data-side=\"home\">\n <et-match-participant\n [participant]=\"card.match().home\"\n [compact]=\"card.showsShortNames()\"\n [showSeed]=\"card.showSeeds()\"\n [labels]=\"card.labels()\"\n class=\"et-match-card-participant\"\n />\n\n <!-- One of the two, never both: a competition reports a score, table points, or a win — see\n `resultKind`. Both are hidden from assistive tech, which gets the phrased result from the live\n region below instead. -->\n @if (card.drawsScore()) {\n <et-match-score\n [value]=\"card.match().homeScore + ''\"\n [animate]=\"card.animatesScoreChanges()\"\n [subject]=\"card.match().id\"\n class=\"et-match-card-score\"\n aria-hidden=\"true\"\n />\n } @else if (card.homeOutcome(); as outcome) {\n <span class=\"et-match-card-outcome\" aria-hidden=\"true\">{{ outcome }}</span>\n }\n </div>\n\n <!-- Only laid out in the wide arrangement, where the two sides' results meet and need something\n between them: the score separator, or \"vs\" when there is no result yet. -->\n <span class=\"et-match-card-versus\" aria-hidden=\"true\">{{ card.separatorText() }}</span>\n\n <div [attr.data-participant-id]=\"card.match().away?.id ?? null\" class=\"et-match-card-side\" data-side=\"away\">\n <et-match-participant\n [participant]=\"card.match().away\"\n [compact]=\"card.showsShortNames()\"\n [showSeed]=\"card.showSeeds()\"\n [labels]=\"card.labels()\"\n class=\"et-match-card-participant\"\n />\n\n @if (card.drawsScore()) {\n <et-match-score\n [value]=\"card.match().awayScore + ''\"\n [animate]=\"card.animatesScoreChanges()\"\n [subject]=\"card.match().id\"\n class=\"et-match-card-score\"\n aria-hidden=\"true\"\n />\n } @else if (card.awayOutcome(); as outcome) {\n <span class=\"et-match-card-outcome\" aria-hidden=\"true\">{{ outcome }}</span>\n }\n </div>\n </div>\n\n @if (card.gameScores(); as gameScores) {\n <ol class=\"et-match-card-games\" etMatchCardGameScores>\n @for (gameScore of gameScores; track $index) {\n <li\n [attr.aria-label]=\"card.resolvedLabels().gameScore($index + 1, card.gameScoreText(gameScore))\"\n class=\"et-match-card-game\"\n >\n {{ card.gameScoreText(gameScore) }}\n </li>\n }\n </ol>\n }\n }\n\n <!-- Always in the DOM, even while empty: a live region has to exist before the value lands in it, or\n the first score of a match that just kicked off is announced by nobody. It carries the phrased\n result rather than the drawn pair, since 'W' beside 'L' is nothing to listen to. -->\n <span class=\"et-visually-hidden et-match-card-announcement\" etMatchCardScore>{{ card.result() }}</span>\n</div>\n",
|
|
6746
|
-
styles: ["@layer components.sdk{@property --et-match-card-border-radius{syntax: \"<length>\"; inherits: false; initial-value: 10px;}@property --et-match-card-min-inline-size{syntax: \"<length>\"; inherits: false; initial-value: 180px;}@property --et-match-card-compact-padding{syntax: \"<length>+\"; inherits: true; initial-value: 10px;}@property --et-match-card-expanded-padding{syntax: \"<length>+\"; inherits: true; initial-value: 16px;}@property --et-match-card-compact-gap{syntax: \"<length>\"; inherits: true; initial-value: 6px;}@property --et-match-card-expanded-gap{syntax: \"<length>\"; inherits: true; initial-value: 12px;}@property --et-match-card-compact-emblem-size{syntax: \"<length>\"; inherits: true; initial-value: 20px;}@property --et-match-card-expanded-emblem-size{syntax: \"<length>\"; inherits: true; initial-value: 36px;}@property --et-match-card-compact-name-font-size{syntax: \"<length>\"; inherits: true; initial-value: 13px;}@property --et-match-card-expanded-name-font-size{syntax: \"<length>\"; inherits: true; initial-value: 15px;}@property --et-match-card-compact-score-font-size{syntax: \"<length>\"; inherits: true; initial-value: 14px;}@property --et-match-card-expanded-score-font-size{syntax: \"<length>\"; inherits: true; initial-value: 20px;}@property --et-match-card-minimal-padding{syntax: \"<length>+\"; inherits: true; initial-value: 6px;}@property --et-match-card-minimal-gap{syntax: \"<length>\"; inherits: true; initial-value: 3px;}@property --et-match-card-minimal-name-font-size{syntax: \"<length>\"; inherits: true; initial-value: 11px;}@property --et-match-card-minimal-score-font-size{syntax: \"<length>\"; inherits: true; initial-value: 12px;}@property --et-match-card-meta-font-size{syntax: \"<length>\"; inherits: true; initial-value: 11px;}@property --et-match-card-versus-font-size{syntax: \"<length>\"; inherits: true; initial-value: 11px;}@property --et-match-card-games-font-size{syntax: \"<length>\"; inherits: true; initial-value: 11px;}@property --et-match-card-name-font-weight{syntax: \"<number>\"; inherits: true; initial-value: 400;}@property --et-match-card-winner-name-font-weight{syntax: \"<number>\"; inherits: true; initial-value: 600;}@property --et-match-card-score-font-weight{syntax: \"<number>\"; inherits: true; initial-value: 600;}@property --et-match-card-outcome-font-weight{syntax: \"<number>\"; inherits: true; initial-value: 700;}@property --et-match-card-status-font-weight{syntax: \"<number>\"; inherits: true; initial-value: 600;}.et-match-card{container-type:inline-size;container-name:et-match-card;display:block;box-sizing:border-box;min-inline-size:var(--et-match-card-min-inline-size);border-radius:var(--et-match-card-border-radius);color:var(--et-surface-color-solid, currentColor);text-decoration:none}.et-match-card-content{--_et-match-card-padding: var(--et-match-card-compact-padding);--_et-match-card-gap: var(--et-match-card-compact-gap);--_et-match-card-emblem-size: var(--et-match-card-compact-emblem-size);--_et-match-card-name-font-size: var(--et-match-card-compact-name-font-size);--_et-match-card-score-font-size: var(--et-match-card-compact-score-font-size);--_et-match-card-games-display: none;--_et-match-card-meta-display: none;--_et-match-card-time-display: none;display:grid;align-content:center;gap:var(--_et-match-card-gap);box-sizing:border-box;padding:var(--_et-match-card-padding);background:var(--et-surface-background-solid, transparent);border:1px solid var(--et-surface-border-solid, rgb(255 255 255 / .1));font-family:var(--et-match-card-font-family, inherit);border-radius:inherit}@container et-match-card (max-inline-size: 149px){.et-match-card:where([data-size=auto]) .et-match-card-content,.et-match-card:where([data-size=compact]) .et-match-card-content{--_et-match-card-padding: var(--et-match-card-minimal-padding);--_et-match-card-gap: var(--et-match-card-minimal-gap);--_et-match-card-name-font-size: var(--et-match-card-minimal-name-font-size);--_et-match-card-score-font-size: var(--et-match-card-minimal-score-font-size);--_et-match-participant-emblem-display: none}}@container et-match-card (min-inline-size: 320px){.et-match-card:where([data-size=auto]) .et-match-card-content{--_et-match-card-padding: var(--et-match-card-expanded-padding);--_et-match-card-gap: var(--et-match-card-expanded-gap);--_et-match-card-emblem-size: var(--et-match-card-expanded-emblem-size);--_et-match-card-name-font-size: var(--et-match-card-expanded-name-font-size);--_et-match-card-score-font-size: var(--et-match-card-expanded-score-font-size);--_et-match-card-games-display: flex;--_et-match-card-subtitle-display: block;--_et-match-card-label-display: block;--_et-match-card-meta-display: flex;--_et-match-card-time-display: block}}@container et-match-card (min-inline-size: 560px){.et-match-card:where([data-size=auto]) .et-match-card-content{--_et-match-card-sides-columns: 1fr auto 1fr;--_et-match-card-sides-gap: 12px;--_et-match-card-away-flow: row-reverse;--_et-match-card-home-participant-flow: row-reverse;--_et-match-card-home-text-align: end;--_et-match-card-versus-display: block;--_et-match-card-side-marker-size: 0px}}.et-match-card:where([data-size=expanded]) .et-match-card-content,.et-match-card:where([data-size=wide]) .et-match-card-content{--_et-match-card-padding: var(--et-match-card-expanded-padding);--_et-match-card-gap: var(--et-match-card-expanded-gap);--_et-match-card-emblem-size: var(--et-match-card-expanded-emblem-size);--_et-match-card-name-font-size: var(--et-match-card-expanded-name-font-size);--_et-match-card-score-font-size: var(--et-match-card-expanded-score-font-size);--_et-match-card-games-display: flex;--_et-match-card-subtitle-display: block;--_et-match-card-label-display: block;--_et-match-card-meta-display: flex;--_et-match-card-time-display: block}.et-match-card:where([data-status=live],[data-status=cancelled]) .et-match-card-content{--_et-match-card-meta-display: flex}.et-match-card:where([data-hide-names]) .et-match-participant-names{display:none}.et-match-card:where([data-size=wide]) .et-match-card-content{--_et-match-card-sides-columns: 1fr auto 1fr;--_et-match-card-sides-gap: 12px;--_et-match-card-away-flow: row-reverse;--_et-match-card-home-participant-flow: row-reverse;--_et-match-card-home-text-align: end;--_et-match-card-versus-display: block;--_et-match-card-side-marker-size: 0px}.et-match-card-meta{display:var(--_et-match-card-meta-display, flex);align-items:center;justify-content:space-between;gap:8px;min-inline-size:0;font-size:var(--et-match-card-meta-font-size);line-height:1.4;color:var(--et-surface-color-muted-solid, currentColor)}.et-match-card-label{display:var(--_et-match-card-label-display, none);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.et-match-card-badges{display:flex;flex:none;align-items:center;gap:4px;margin-inline-start:auto}.et-match-card-time{display:var(--_et-match-card-time-display, block);flex:none;font-variant-numeric:tabular-nums}.et-match-card-live{display:inline-flex;flex:none;align-items:center;gap:5px;padding-inline:6px;font-weight:var(--et-match-card-status-font-weight);letter-spacing:.04em;text-transform:uppercase;color:var(--et-theme-color-ink-solid, currentColor);background:color-mix(in srgb,var(--et-theme-color-primary-solid, currentColor) 14%,transparent);border-radius:4px}.et-match-card-cancelled{flex:none;margin-inline-start:auto;padding-inline:6px;font-weight:var(--et-match-card-status-font-weight);letter-spacing:.04em;text-transform:uppercase;background:color-mix(in srgb,var(--et-surface-interaction-solid, gray) 12%,transparent);border-radius:4px}.et-match-card-badges~.et-match-card-cancelled{margin-inline-start:0}.et-match-card-live-dot{flex:none;inline-size:6px;block-size:6px;background:light-dark(var(--et-theme-color-ink-solid),var(--et-theme-color-primary-solid));border-radius:50%;animation:et-match-card-live-pulse 2s ease-in-out infinite}@keyframes et-match-card-live-pulse{50%{opacity:.35}}@media(prefers-reduced-motion:reduce){.et-match-card-live-dot{animation:none}}.et-match-card-sides{display:grid;grid-template-columns:var(--_et-match-card-sides-columns, 1fr);align-items:center;gap:var(--_et-match-card-sides-gap, 4px);min-inline-size:0}.et-match-card-side{--_et-match-card-side-color: var(--et-surface-color-solid, currentColor);display:flex;align-items:center;gap:8px;min-inline-size:0}.et-match-card-side:where([data-side=away]){flex-direction:var(--_et-match-card-away-flow, row)}.et-match-card-side:where([data-side=home]){text-align:var(--_et-match-card-home-text-align, start)}.et-match-card-side:where([data-side=home]) .et-match-card-participant{flex-direction:var(--_et-match-card-home-participant-flow, row)}.et-match-card-side:before{display:var(--_et-match-card-side-marker-display, none);flex:none;align-self:stretch;inline-size:var(--_et-match-card-side-marker-size, 2px);background:var(--_et-match-card-side-marker-color, transparent);border-radius:1px;content:\"\"}.et-match-card-versus{display:var(--_et-match-card-versus-display, none);flex:none;padding-inline:4px;font-size:var(--et-match-card-versus-font-size);font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--et-surface-color-muted-solid, currentColor)}.et-match-card-outcome{flex:none;min-inline-size:1.2em;font-family:var(--et-match-card-score-font-family, inherit);font-size:var(--_et-match-card-score-font-size);font-weight:var(--et-match-card-outcome-font-weight);line-height:1.2;color:var(--_et-match-card-side-color);text-align:center}.et-match-card-content .et-match-card-participant{--et-match-participant-emblem-size: var(--_et-match-card-emblem-size);--et-match-participant-font-size: var(--_et-match-card-name-font-size);flex:1;min-inline-size:0;color:var(--_et-match-card-side-color)}.et-match-card-content .et-match-participant-subtitle,.et-match-card-content .et-match-participant-country{display:var(--_et-match-card-subtitle-display, none)}.et-match-card-content .et-match-participant-name{font-weight:var(--et-match-card-name-font-weight)}.et-match-card-score{flex:none;font-family:var(--et-match-card-score-font-family, inherit);font-size:var(--_et-match-card-score-font-size);font-weight:var(--et-match-card-score-font-weight);font-variant-numeric:tabular-nums;line-height:1.2;color:var(--_et-match-card-side-color)}.et-match-card:where([data-winner]) .et-match-card-side{--_et-match-card-side-color: var(--et-surface-color-muted-solid, currentColor);--_et-match-card-side-marker-display: block}.et-match-card:where([data-winner=home]) .et-match-card-side:where([data-side=home]),.et-match-card:where([data-winner=away]) .et-match-card-side:where([data-side=away]){--_et-match-card-side-color: var(--et-surface-color-solid, currentColor);--_et-match-card-side-marker-color: light-dark( var(--et-theme-color-ink-solid), var(--et-theme-color-primary-solid) );--_et-match-card-side-marker-display: block}:is(.et-match-card:where([data-winner=home]) .et-match-card-side:where([data-side=home]),.et-match-card:where([data-winner=away]) .et-match-card-side:where([data-side=away])) .et-match-participant-name{font-weight:var(--et-match-card-winner-name-font-weight)}.et-match-card:where([data-status=cancelled]) .et-match-card-side{--_et-match-card-side-color: var(--et-surface-color-muted-solid, currentColor);--_et-match-card-side-marker-display: none}.et-match-card:where([data-status=cancelled]) .et-match-participant-emblem{opacity:.6}.et-match-card-content .et-match-card-skeleton{display:grid;gap:var(--_et-match-card-gap)}.et-match-card-games{display:var(--_et-match-card-games-display);flex-wrap:wrap;gap:4px;margin:0;padding:0;font-size:var(--et-match-card-games-font-size);color:var(--et-surface-color-muted-solid, currentColor);list-style:none}.et-match-card-game{flex:none;padding-inline:5px;font-variant-numeric:tabular-nums;line-height:18px;background:color-mix(in srgb,var(--et-surface-interaction-solid, gray) 10%,transparent);border-radius:4px}.et-match-card:where([data-interactive]){cursor:pointer}.et-match-card:where([data-interactive]):hover .et-match-card-content{background:color-mix(in srgb,var(--et-surface-interaction-solid, gray) 6%,var(--et-surface-background-solid, transparent));border-color:color-mix(in srgb,var(--et-surface-interaction-solid, gray) 24%,var(--et-surface-border-solid, transparent))}}\n"]
|
|
6771
|
+
styles: ["@layer components.sdk{@property --et-match-card-border-radius{syntax: \"<length>\"; inherits: false; initial-value: 10px;}@property --et-match-card-min-inline-size{syntax: \"<length>\"; inherits: false; initial-value: 180px;}@property --et-match-card-compact-padding{syntax: \"<length>+\"; inherits: true; initial-value: 10px;}@property --et-match-card-expanded-padding{syntax: \"<length>+\"; inherits: true; initial-value: 16px;}@property --et-match-card-compact-gap{syntax: \"<length>\"; inherits: true; initial-value: 6px;}@property --et-match-card-expanded-gap{syntax: \"<length>\"; inherits: true; initial-value: 12px;}@property --et-match-card-compact-emblem-size{syntax: \"<length>\"; inherits: true; initial-value: 20px;}@property --et-match-card-expanded-emblem-size{syntax: \"<length>\"; inherits: true; initial-value: 36px;}@property --et-match-card-compact-name-font-size{syntax: \"<length>\"; inherits: true; initial-value: 13px;}@property --et-match-card-expanded-name-font-size{syntax: \"<length>\"; inherits: true; initial-value: 15px;}@property --et-match-card-compact-score-font-size{syntax: \"<length>\"; inherits: true; initial-value: 14px;}@property --et-match-card-expanded-score-font-size{syntax: \"<length>\"; inherits: true; initial-value: 20px;}@property --et-match-card-minimal-padding{syntax: \"<length>+\"; inherits: true; initial-value: 6px;}@property --et-match-card-minimal-gap{syntax: \"<length>\"; inherits: true; initial-value: 3px;}@property --et-match-card-minimal-name-font-size{syntax: \"<length>\"; inherits: true; initial-value: 11px;}@property --et-match-card-minimal-score-font-size{syntax: \"<length>\"; inherits: true; initial-value: 12px;}@property --et-match-card-meta-font-size{syntax: \"<length>\"; inherits: true; initial-value: 11px;}@property --et-match-card-versus-font-size{syntax: \"<length>\"; inherits: true; initial-value: 11px;}@property --et-match-card-games-font-size{syntax: \"<length>\"; inherits: true; initial-value: 11px;}@property --et-match-card-name-font-weight{syntax: \"<number>\"; inherits: true; initial-value: 400;}@property --et-match-card-winner-name-font-weight{syntax: \"<number>\"; inherits: true; initial-value: 600;}@property --et-match-card-score-font-weight{syntax: \"<number>\"; inherits: true; initial-value: 600;}@property --et-match-card-outcome-font-weight{syntax: \"<number>\"; inherits: true; initial-value: 700;}@property --et-match-card-status-font-weight{syntax: \"<number>\"; inherits: true; initial-value: 600;}.et-match-card{container-type:inline-size;container-name:et-match-card;display:block;box-sizing:border-box;min-inline-size:var(--et-match-card-min-inline-size);border-radius:var(--et-match-card-border-radius);color:var(--et-surface-color-solid, currentColor);text-decoration:none}.et-match-card-content{--_et-match-card-padding: var(--et-match-card-compact-padding);--_et-match-card-gap: var(--et-match-card-compact-gap);--_et-match-card-emblem-size: var(--et-match-card-compact-emblem-size);--_et-match-card-name-font-size: var(--et-match-card-compact-name-font-size);--_et-match-card-score-font-size: var(--et-match-card-compact-score-font-size);--_et-match-card-games-display: none;--_et-match-card-meta-display: none;--_et-match-card-time-display: none;display:grid;align-content:center;gap:var(--_et-match-card-gap);box-sizing:border-box;padding:var(--_et-match-card-padding);background:var(--et-surface-background-solid, transparent);border:1px solid var(--et-surface-border-solid, rgb(255 255 255 / .1));font-family:var(--et-match-card-font-family, inherit);border-radius:inherit}@container et-match-card (max-inline-size: 149px){.et-match-card:where([data-size=auto]) .et-match-card-content,.et-match-card:where([data-size=compact]) .et-match-card-content{--_et-match-card-padding: var(--et-match-card-minimal-padding);--_et-match-card-gap: var(--et-match-card-minimal-gap);--_et-match-card-name-font-size: var(--et-match-card-minimal-name-font-size);--_et-match-card-score-font-size: var(--et-match-card-minimal-score-font-size);--_et-match-participant-emblem-display: none}}@container et-match-card (min-inline-size: 320px){.et-match-card:where([data-size=auto]) .et-match-card-content{--_et-match-card-padding: var(--et-match-card-expanded-padding);--_et-match-card-gap: var(--et-match-card-expanded-gap);--_et-match-card-emblem-size: var(--et-match-card-expanded-emblem-size);--_et-match-card-name-font-size: var(--et-match-card-expanded-name-font-size);--_et-match-card-score-font-size: var(--et-match-card-expanded-score-font-size);--_et-match-card-games-display: flex;--_et-match-card-subtitle-display: block;--_et-match-card-country-display: flex;--_et-match-card-label-display: block;--_et-match-card-meta-display: flex;--_et-match-card-time-display: block}}@container et-match-card (min-inline-size: 560px){.et-match-card:where([data-size=auto]) .et-match-card-content{--_et-match-card-sides-columns: 1fr auto 1fr;--_et-match-card-sides-gap: 12px;--_et-match-card-away-flow: row-reverse;--_et-match-card-home-participant-flow: row-reverse;--_et-match-card-home-text-align: end;--_et-match-card-versus-display: block;--_et-match-card-side-marker-size: 0px}}.et-match-card:where([data-size=expanded]) .et-match-card-content,.et-match-card:where([data-size=wide]) .et-match-card-content{--_et-match-card-padding: var(--et-match-card-expanded-padding);--_et-match-card-gap: var(--et-match-card-expanded-gap);--_et-match-card-emblem-size: var(--et-match-card-expanded-emblem-size);--_et-match-card-name-font-size: var(--et-match-card-expanded-name-font-size);--_et-match-card-score-font-size: var(--et-match-card-expanded-score-font-size);--_et-match-card-games-display: flex;--_et-match-card-subtitle-display: block;--_et-match-card-country-display: flex;--_et-match-card-label-display: block;--_et-match-card-meta-display: flex;--_et-match-card-time-display: block}.et-match-card:where([data-status=live],[data-status=cancelled]) .et-match-card-content{--_et-match-card-meta-display: flex}.et-match-card:where([data-hide-names]) .et-match-participant-names{display:none}.et-match-card:where([data-size=wide]) .et-match-card-content{--_et-match-card-sides-columns: 1fr auto 1fr;--_et-match-card-sides-gap: 12px;--_et-match-card-away-flow: row-reverse;--_et-match-card-home-participant-flow: row-reverse;--_et-match-card-home-text-align: end;--_et-match-card-versus-display: block;--_et-match-card-side-marker-size: 0px}.et-match-card-meta{display:var(--_et-match-card-meta-display, flex);align-items:center;justify-content:space-between;gap:8px;min-inline-size:0;font-size:var(--et-match-card-meta-font-size);line-height:1.4;color:var(--et-surface-color-muted-solid, currentColor)}.et-match-card-label{display:var(--_et-match-card-label-display, none);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.et-match-card-badges{display:flex;flex:none;align-items:center;gap:4px;margin-inline-start:auto}.et-match-card-time{display:var(--_et-match-card-time-display, block);flex:none;font-variant-numeric:tabular-nums}.et-match-card-live{display:inline-flex;flex:none;align-items:center;gap:5px;padding-inline:6px;font-weight:var(--et-match-card-status-font-weight);letter-spacing:.04em;text-transform:uppercase;color:var(--et-theme-color-ink-solid, currentColor);background:color-mix(in srgb,var(--et-theme-color-primary-solid, currentColor) 14%,transparent);border-radius:4px}.et-match-card-cancelled{flex:none;margin-inline-start:auto;padding-inline:6px;font-weight:var(--et-match-card-status-font-weight);letter-spacing:.04em;text-transform:uppercase;background:color-mix(in srgb,var(--et-surface-interaction-solid, gray) 12%,transparent);border-radius:4px}.et-match-card-badges~.et-match-card-cancelled{margin-inline-start:0}.et-match-card-live-dot{flex:none;inline-size:6px;block-size:6px;background:light-dark(var(--et-theme-color-ink-solid),var(--et-theme-color-primary-solid));border-radius:50%;animation:et-match-card-live-pulse 2s ease-in-out infinite}@keyframes et-match-card-live-pulse{50%{opacity:.35}}@media(prefers-reduced-motion:reduce){.et-match-card-live-dot{animation:none}}.et-match-card-sides{display:grid;grid-template-columns:var(--_et-match-card-sides-columns, 1fr);align-items:center;gap:var(--_et-match-card-sides-gap, 4px);min-inline-size:0}.et-match-card-side{--_et-match-card-side-color: var(--et-surface-color-solid, currentColor);display:flex;align-items:center;gap:8px;min-inline-size:0;text-align:start}.et-match-card-side:where([data-side=away]){flex-direction:var(--_et-match-card-away-flow, row)}.et-match-card-side:where([data-side=home]){text-align:var(--_et-match-card-home-text-align, start)}.et-match-card-side:where([data-side=home]) .et-match-card-participant{flex-direction:var(--_et-match-card-home-participant-flow, row)}.et-match-card-side:before{display:var(--_et-match-card-side-marker-display, none);flex:none;align-self:stretch;inline-size:var(--_et-match-card-side-marker-size, 2px);background:var(--_et-match-card-side-marker-color, transparent);border-radius:1px;content:\"\"}.et-match-card-versus{display:var(--_et-match-card-versus-display, none);flex:none;padding-inline:4px;font-size:var(--et-match-card-versus-font-size);font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--et-surface-color-muted-solid, currentColor)}.et-match-card-outcome{flex:none;min-inline-size:1.2em;font-family:var(--et-match-card-score-font-family, inherit);font-size:var(--_et-match-card-score-font-size);font-weight:var(--et-match-card-outcome-font-weight);line-height:1.2;color:var(--_et-match-card-side-color);text-align:center}.et-match-card-content .et-match-card-participant{--et-match-participant-emblem-size: var(--_et-match-card-emblem-size);--et-match-participant-font-size: var(--_et-match-card-name-font-size);flex:1;min-inline-size:0;color:var(--_et-match-card-side-color)}.et-match-card-content .et-match-participant-subtitle{display:var(--_et-match-card-subtitle-display, none)}.et-match-card-content .et-match-participant-country{display:var(--_et-match-card-country-display, none)}.et-match-card-content .et-match-participant-name{font-weight:var(--et-match-card-name-font-weight)}.et-match-card-score{flex:none;font-family:var(--et-match-card-score-font-family, inherit);font-size:var(--_et-match-card-score-font-size);font-weight:var(--et-match-card-score-font-weight);font-variant-numeric:tabular-nums;line-height:1.2;color:var(--_et-match-card-side-color)}.et-match-card:where([data-winner]) .et-match-card-side{--_et-match-card-side-color: var(--et-surface-color-muted-solid, currentColor);--_et-match-card-side-marker-display: block}.et-match-card:where([data-winner=home]) .et-match-card-side:where([data-side=home]),.et-match-card:where([data-winner=away]) .et-match-card-side:where([data-side=away]){--_et-match-card-side-color: var(--et-surface-color-solid, currentColor);--_et-match-card-side-marker-color: light-dark( var(--et-theme-color-ink-solid), var(--et-theme-color-primary-solid) );--_et-match-card-side-marker-display: block}:is(.et-match-card:where([data-winner=home]) .et-match-card-side:where([data-side=home]),.et-match-card:where([data-winner=away]) .et-match-card-side:where([data-side=away])) .et-match-participant-name{font-weight:var(--et-match-card-winner-name-font-weight)}.et-match-card:where([data-status=cancelled]) .et-match-card-side{--_et-match-card-side-color: var(--et-surface-color-muted-solid, currentColor);--_et-match-card-side-marker-display: none}.et-match-card:where([data-status=cancelled]) .et-match-participant-emblem{opacity:.6}.et-match-card-content .et-match-card-skeleton{display:grid;gap:var(--_et-match-card-gap)}.et-match-card-games{display:var(--_et-match-card-games-display);flex-wrap:wrap;gap:4px;margin:0;padding:0;font-size:var(--et-match-card-games-font-size);color:var(--et-surface-color-muted-solid, currentColor);list-style:none}.et-match-card-game{flex:none;padding-inline:5px;font-variant-numeric:tabular-nums;line-height:18px;background:color-mix(in srgb,var(--et-surface-interaction-solid, gray) 10%,transparent);border-radius:4px}.et-match-card:where([data-interactive]){cursor:pointer}.et-match-card:where([data-interactive]):hover .et-match-card-content{background:color-mix(in srgb,var(--et-surface-interaction-solid, gray) 6%,var(--et-surface-background-solid, transparent));border-color:color-mix(in srgb,var(--et-surface-interaction-solid, gray) 24%,var(--et-surface-border-solid, transparent))}}\n"]
|
|
6747
6772
|
}]
|
|
6748
6773
|
}],
|
|
6749
6774
|
ctorParameters: () => [],
|
|
@@ -7065,9 +7090,10 @@ var ButtonComponent = class ButtonComponent {
|
|
|
7065
7090
|
...ngDevMode ? { debugName: "stretchContents" } : /* istanbul ignore next */ {},
|
|
7066
7091
|
transform: booleanAttribute
|
|
7067
7092
|
});
|
|
7093
|
+
this.pressedVariant = input(void 0, ...ngDevMode ? [{ debugName: "pressedVariant" }] : /* istanbul ignore next */ []);
|
|
7068
7094
|
this.canAnimate = createCanAnimateSignal();
|
|
7069
7095
|
this.spinnerConfig = computed(() => BUTTON_SPINNER_CONFIG[this.size()], ...ngDevMode ? [{ debugName: "spinnerConfig" }] : /* istanbul ignore next */ []);
|
|
7070
|
-
this.
|
|
7096
|
+
this.activePressedVariant = computed(() => this.buttonDir.pressed() ? this.pressedVariant() ?? PRESSED_VARIANT_MAP[this.variant()] : null, ...ngDevMode ? [{ debugName: "activePressedVariant" }] : /* istanbul ignore next */ []);
|
|
7071
7097
|
}
|
|
7072
7098
|
static {
|
|
7073
7099
|
this.ɵfac = i0.ɵɵngDeclareFactory({
|
|
@@ -7114,6 +7140,13 @@ var ButtonComponent = class ButtonComponent {
|
|
|
7114
7140
|
isSignal: true,
|
|
7115
7141
|
isRequired: false,
|
|
7116
7142
|
transformFunction: null
|
|
7143
|
+
},
|
|
7144
|
+
pressedVariant: {
|
|
7145
|
+
classPropertyName: "pressedVariant",
|
|
7146
|
+
publicName: "pressedVariant",
|
|
7147
|
+
isSignal: true,
|
|
7148
|
+
isRequired: false,
|
|
7149
|
+
transformFunction: null
|
|
7117
7150
|
}
|
|
7118
7151
|
},
|
|
7119
7152
|
host: {
|
|
@@ -7122,7 +7155,7 @@ var ButtonComponent = class ButtonComponent {
|
|
|
7122
7155
|
"attr.data-variant": "variant()",
|
|
7123
7156
|
"attr.data-size": "size()",
|
|
7124
7157
|
"attr.data-stretch-contents": "stretchContents() || null",
|
|
7125
|
-
"attr.data-pressed-variant": "
|
|
7158
|
+
"attr.data-pressed-variant": "activePressedVariant()",
|
|
7126
7159
|
"attr.data-can-animate": "canAnimate.state() || null"
|
|
7127
7160
|
},
|
|
7128
7161
|
classAttribute: "et-button"
|
|
@@ -7288,7 +7321,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
7288
7321
|
"[attr.data-variant]": "variant()",
|
|
7289
7322
|
"[attr.data-size]": "size()",
|
|
7290
7323
|
"[attr.data-stretch-contents]": "stretchContents() || null",
|
|
7291
|
-
"[attr.data-pressed-variant]": "
|
|
7324
|
+
"[attr.data-pressed-variant]": "activePressedVariant()",
|
|
7292
7325
|
"[attr.data-can-animate]": "canAnimate.state() || null"
|
|
7293
7326
|
},
|
|
7294
7327
|
styles: ["@layer components.sdk{.et-button{--_et-button-background: rgb(var(--et-theme-color-primary-rgb) / var(--et-theme-color-primary-opacity));--_et-button-color: var(--et-theme-color-on-primary);--_et-button-border-color: transparent;--_et-button-gap: var(--et-button-gap);--_et-button-padding: var(--et-button-padding);--_et-button-border-radius: var(--et-button-border-radius);--_et-button-shadow: var(--et-button-shadow, 0 0 #0000);display:inline-flex;position:relative;align-items:baseline;justify-content:center;gap:var(--et-button-gap);--_et-button-cap-middle: .5cap;background:var(--_et-button-state-background, var(--_et-button-background));color:var(--_et-button-color);border-radius:var(--_et-button-border-radius);padding:var(--_et-button-padding);font-size:var(--et-button-font-size);font-weight:var(--et-button-font-weight);letter-spacing:var(--et-button-letter-spacing, revert-layer);text-transform:var(--et-button-text-transform, revert-layer);border:var(--et-button-border-width, .1rem) solid var(--_et-button-state-border-color, var(--_et-button-border-color));box-shadow:var(--_et-button-shadow);cursor:var(--et-button-cursor);text-decoration:none;appearance:none;box-sizing:border-box;-webkit-user-select:none;user-select:none;touch-action:manipulation;-webkit-tap-highlight-color:transparent;line-height:var(--et-button-line-height);white-space:nowrap}.et-button[data-can-animate]{transition:background .12s ease,color .12s ease,border-color .12s ease,box-shadow .12s ease,outline-color .12s ease,opacity .12s ease}.et-button:where([data-size=xs]){--et-button-padding: .2rem .8rem;--et-button-font-size: 1.2rem;--et-button-border-radius: .3rem;--et-button-gap: .4rem}.et-button:where([data-size=sm]){--et-button-padding: .4rem 1.2rem;--et-button-font-size: 1.4rem;--et-button-border-radius: .4rem;--et-button-gap: .5rem}.et-button:where([data-size=md]){--et-button-padding: .8rem 1.6rem;--et-button-font-size: 1.4rem;--et-button-border-radius: .4rem;--et-button-gap: .6rem}.et-button:where([data-size=lg]){--et-button-padding: 1rem 2rem;--et-button-font-size: 1.6rem;--et-button-border-radius: .6rem;--et-button-gap: .7rem}.et-button:where([data-size=xl]){--et-button-padding: 1.4rem 2.8rem;--et-button-font-size: 1.8rem;--et-button-border-radius: .8rem;--et-button-gap: .8rem}.et-button:where([disabled]),.et-button:where([aria-disabled=true]){cursor:not-allowed;pointer-events:none}.et-button:where([disabled],[aria-disabled=true]:not([data-loading=true])):where([data-variant=outline]),.et-button:where([disabled],[aria-disabled=true]:not([data-loading=true])):where([data-variant=tonal]),.et-button:where([disabled],[aria-disabled=true]:not([data-loading=true])):where([data-variant=transparent]),.et-button:where([disabled],[aria-disabled=true]:not([data-loading=true]))[data-pressed=true]{opacity:var(--et-button-opacity-disabled)}.et-button:where([data-variant=outline]){--_et-button-background: rgb(var(--et-theme-color-primary-rgb) / var(--et-theme-color-primary-opacity));--_et-button-color: var(--et-theme-color-ink-solid);--_et-button-border-color: var(--et-button-outline-border-color, var(--et-theme-color-ink-solid))}.et-button[data-pressed=true]:where([data-pressed-variant=outline]){--et-theme-color-primary-opacity: 0;--_et-button-background: rgb(var(--et-theme-color-primary-rgb) / var(--et-theme-color-primary-opacity));--_et-button-color: var(--et-theme-color-ink-solid);--_et-button-border-color: var(--et-button-outline-border-color, var(--et-theme-color-ink-solid))}@media(hover:hover){.et-button[data-pressed=true]:where([data-pressed-variant=outline]):not([disabled],[aria-disabled=true]):hover{--et-theme-color-primary-opacity: var(--et-button-variant-opacity-hover-delta)}}.et-button[data-pressed=true]:where([data-pressed-variant=outline]):focus-visible{--et-theme-color-primary-opacity: var(--et-button-variant-opacity-focus-delta)}.et-button[data-pressed=true]:where([data-pressed-variant=outline]):not([disabled],[aria-disabled=true]):active{--et-theme-color-primary-opacity: var(--et-button-variant-opacity-active-delta)}.et-button[data-pressed=true]:where([data-pressed-variant=outline])[data-loading=true]:not([disabled],[aria-disabled=true]){--_et-button-color: var(--et-theme-color-primary-solid);--_et-button-border-color: var(--et-theme-color-primary-solid)}.et-button:where([data-variant=tonal]),.et-button[data-pressed=true]:where([data-pressed-variant=tonal]){--_et-button-background: rgb(var(--et-theme-color-primary-rgb) / var(--et-theme-color-primary-opacity));--_et-button-color: var(--et-theme-color-ink-solid);--_et-button-border-color: transparent}.et-button:where([data-variant=transparent]){--_et-button-background: rgb(var(--et-theme-color-primary-rgb) / var(--et-theme-color-primary-opacity));--_et-button-color: var(--et-theme-color-ink-solid);--_et-button-border-color: transparent}@media(hover:hover){.et-button:where([data-variant=filled]):not([disabled],[aria-disabled=true]):hover{--et-theme-color-primary-rgb: var( --et-button-filled-hover-rgb, var( --et-color-primary-active, var(--et-color-primary-focus, var(--et-color-primary-hover, var(--et-color-primary))) ) )}}.et-button:where([data-variant=filled]):not([disabled],[aria-disabled=true]):active{--_et-button-background: color-mix( in srgb, var(--et-theme-color-primary-solid) 96%, var(--et-theme-color-on-primary-solid) )}.et-button[data-pressed=true]:where([data-pressed-variant=filled]){--et-theme-color-primary-opacity: 1;--_et-button-background: rgb(var(--et-theme-color-primary-rgb) / var(--et-theme-color-primary-opacity));--_et-button-color: var(--et-theme-color-on-primary);--_et-button-border-color: transparent}@media(hover:hover){.et-button[data-pressed=true]:where([data-pressed-variant=filled]):not([disabled],[aria-disabled=true]):hover{--et-theme-color-primary-opacity: 1}}.et-button[data-pressed=true]:where([data-pressed-variant=filled]):focus-visible{--et-theme-color-primary-opacity: 1}.et-button[data-pressed=true]:where([data-pressed-variant=filled]):not([disabled],[aria-disabled=true]):active{--et-theme-color-primary-opacity: 1}.et-button .et-button-icon{display:flex;align-items:center;justify-content:center;flex-shrink:0;font-size:var(--et-button-icon-size, 1em);transition:opacity .12s ease;translate:0 calc(.5em - var(--_et-button-cap-middle));margin-block-start:calc(var(--_et-button-cap-middle) - .5em)}.et-button .et-button-icon:empty{display:none}.et-button .et-button-icon .et-icon{width:1em;height:1em}.et-button:has(>.et-button-contents:empty){align-items:center}.et-button:has(>.et-button-contents:empty) .et-button-icon{translate:none;margin-block-start:0}.et-button .et-button-contents{display:inline-flex;align-items:center;gap:var(--_et-button-gap);min-width:0;transition:opacity .12s ease}.et-button:where([data-stretch-contents]) .et-button-contents{flex:1}.et-button[data-loading=true] .et-button-icon,.et-button[data-loading=true] .et-button-contents{opacity:0}.et-button[data-loading=true] .et-button-loader{opacity:1}}\n"]
|
|
@@ -7326,6 +7359,14 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
7326
7359
|
alias: "stretchContents",
|
|
7327
7360
|
required: false
|
|
7328
7361
|
}]
|
|
7362
|
+
}],
|
|
7363
|
+
pressedVariant: [{
|
|
7364
|
+
type: i0.Input,
|
|
7365
|
+
args: [{
|
|
7366
|
+
isSignal: true,
|
|
7367
|
+
alias: "pressedVariant",
|
|
7368
|
+
required: false
|
|
7369
|
+
}]
|
|
7329
7370
|
}]
|
|
7330
7371
|
}
|
|
7331
7372
|
});
|
|
@@ -7403,7 +7444,8 @@ var BracketParticipantsComponent = class BracketParticipantsComponent {
|
|
|
7403
7444
|
"variant",
|
|
7404
7445
|
"size",
|
|
7405
7446
|
"iconAlignment",
|
|
7406
|
-
"stretchContents"
|
|
7447
|
+
"stretchContents",
|
|
7448
|
+
"pressedVariant"
|
|
7407
7449
|
]
|
|
7408
7450
|
}],
|
|
7409
7451
|
encapsulation: i0.ViewEncapsulation.None
|
|
@@ -8952,7 +8994,7 @@ var BracketComponent = class BracketComponent {
|
|
|
8952
8994
|
}],
|
|
8953
8995
|
ngImport: i0,
|
|
8954
8996
|
template: "@if (bracketGrid(); as grid) {\n <section\n [style.width.px]=\"grid.raw.grid.dimensions.width\"\n [style.height.px]=\"grid.raw.grid.dimensions.height\"\n [style.transform]=\"'translateX(' + -focusRoundOffset() + 'px)'\"\n class=\"et-bracket et-bracket--{{ bracketData().mode }}\"\n >\n @let drawn = drawing();\n\n <svg class=\"et-bracket-svg\" xmlns=\"http://www.w3.org/2000/svg\" aria-hidden=\"true\">\n @if (drawn.gradients.length) {\n <defs>\n @for (gradient of drawn.gradients; track gradient.id) {\n <linearGradient\n [attr.id]=\"gradient.id\"\n [attr.x1]=\"gradient.fromX\"\n [attr.x2]=\"gradient.toX\"\n gradientUnits=\"userSpaceOnUse\"\n y1=\"0\"\n y2=\"0\"\n >\n @for (stop of gradient.stops; track $index) {\n <stop [attr.offset]=\"stop.offset\" [attr.stop-color]=\"stop.color\" />\n }\n </linearGradient>\n }\n </defs>\n }\n\n @for (rect of drawn.rects; track rect.id) {\n <rect\n [attr.x]=\"rect.x\"\n [attr.y]=\"rect.y\"\n [attr.width]=\"rect.width\"\n [attr.height]=\"rect.height\"\n [attr.rx]=\"rect.radius\"\n [attr.stroke]=\"rect.stroke\"\n [attr.stroke-width]=\"rect.strokeWidth\"\n [attr.class]=\"rect.cssClass\"\n fill=\"none\"\n />\n }\n\n <!-- Both: the attribute is what draws the line, and the CSS `d` property is the only one a\n transition can animate. A browser without it keeps the attribute and skips the animation. -->\n @for (edge of drawn.edges; track edge.id) {\n <path\n [attr.d]=\"edge.d\"\n [style.d]=\"edge.cssPath\"\n [attr.stroke]=\"edge.stroke\"\n [attr.stroke-width]=\"edge.strokeWidth\"\n [attr.stroke-dasharray]=\"edge.dashArray\"\n [attr.stroke-dashoffset]=\"edge.dashOffset\"\n [attr.class]=\"edge.cssClass\"\n fill=\"none\"\n />\n }\n </svg>\n\n @for (section of sectionTitles(); track section.key) {\n <div\n [attr.data-section]=\"section.key\"\n [style.width.px]=\"section.titleDimensions.width\"\n [style.height.px]=\"section.titleDimensions.height\"\n [style.left.px]=\"section.titleDimensions.left\"\n [style.top.px]=\"section.titleDimensions.top\"\n class=\"et-bracket-section-title\"\n >\n <div class=\"et-bracket-section-title-sticky\">\n <ng-container *ngComponentOutlet=\"resolvedSectionTitleComponent(); inputs: { bracketSection: section }\" />\n </div>\n </div>\n }\n\n @for (round of grid.columns; track $index) {\n <ul\n [style.width.px]=\"round.dimensions.width\"\n [style.height.px]=\"round.dimensions.height\"\n [style.transform]=\"'translate(' + round.dimensions.left + 'px, ' + round.dimensions.top + 'px)'\"\n class=\"et-bracket-round\"\n >\n @for (element of round.elements; track $index) {\n @let inputs =\n element.type === 'header'\n ? { bracketRound: element.round, bracketRoundSwissGroup: element.roundSwissGroup }\n : element.type === 'continue'\n ? { bracketMatches: element.matches }\n : matchCardInputs().get(element.match.id);\n\n @let highlightClass = element.type === 'match' ? element.classes : '';\n\n @let matchId = element.type === 'match' ? element.match.id : null;\n\n @let inlineOffset = element.dimensions.left - round.dimensions.left;\n @let blockOffset = element.dimensions.top - round.dimensions.top;\n\n <li\n [attr.data-match-id]=\"matchId\"\n [attr.data-align]=\"element.type === 'header' ? settings().alignRoundHeaders : null\"\n [style.width.px]=\"element.dimensions.width\"\n [style.height.px]=\"element.dimensions.height\"\n [style.transform]=\"'translate(' + inlineOffset + 'px, ' + blockOffset + 'px)'\"\n class=\"et-bracket-element et-bracket-element--{{ element.type }} {{ highlightClass }}\"\n >\n <ng-container *ngComponentOutlet=\"componentFor(element); inputs: inputs\" />\n </li>\n }\n </ul>\n }\n </section>\n}\n",
|
|
8955
|
-
styles: ["@layer components.sdk{.et-bracket{position:relative;transition:transform var(--et-bracket-move-duration, .2s) var(--et-bracket-move-easing, ease)}.et-bracket-round{position:absolute;inset-block-start:0;inset-inline-start:0;list-style:none;margin:0;padding:0;transition:transform var(--et-bracket-move-duration, .2s) var(--et-bracket-move-easing, ease)}.et-bracket-element{position:absolute;inset-block-start:0;inset-inline-start:0;list-style:none;margin:0;padding:0;transition:transform var(--et-bracket-move-duration, .2s) var(--et-bracket-move-easing, ease),opacity .2s}.et-bracket-section-title{position:absolute;transition:left var(--et-bracket-move-duration, .2s) var(--et-bracket-move-easing, ease),top var(--et-bracket-move-duration, .2s) var(--et-bracket-move-easing, ease)}.et-bracket-section-title-sticky{position:sticky;inset-inline-start:0;inline-size:max-content;max-inline-size:100%;block-size:100%}.et-bracket-element--header:where([data-align=center]){display:flex;justify-content:center;text-align:center}.et-bracket-svg{inline-size:100%;block-size:100%;position:absolute}.et-bracket-svg path{color:var(--et-bracket-line-color, var(--et-surface-border-solid, rgb(255 255 255 / .1)));transition:d var(--et-bracket-move-duration, .2s) var(--et-bracket-move-easing, ease),opacity .2s}@media(prefers-reduced-motion:reduce){.et-bracket,.et-bracket-round,.et-bracket-section-title,.et-bracket-element,.et-bracket-svg path{transition:none}}.et-bracket-host--journey-hover path,.et-bracket-host--journey-hover .et-bracket-element--match{opacity:.5}.et-bracket-host--journey-hover .et-bracket-journey-active{opacity:1!important}.et-bracket-host--journey-hover .et-bracket-journey-eliminated{opacity:.55;text-decoration:line-through;text-decoration-thickness:1px}.et-bracket-host--journey-hover .et-bracket-journey-endpoint{outline:1px dashed var(--et-bracket-line-color, var(--et-surface-border-solid, rgb(255 255 255 / .1)));outline-offset:2px;border-radius:var(--et-match-card-border-radius, 10px)}.et-bracket-host--journey-focused path,.et-bracket-host--journey-focused .et-bracket-element--match{opacity:.25}}\n"],
|
|
8997
|
+
styles: ["@layer components.sdk{.et-bracket{position:relative;transition:transform var(--et-bracket-move-duration, .2s) var(--et-bracket-move-easing, ease)}.et-bracket-round{position:absolute;inset-block-start:0;inset-inline-start:0;list-style:none;margin:0;padding:0;transition:transform var(--et-bracket-move-duration, .2s) var(--et-bracket-move-easing, ease)}.et-bracket-element{position:absolute;inset-block-start:0;inset-inline-start:0;list-style:none;margin:0;padding:0;transition:transform var(--et-bracket-move-duration, .2s) var(--et-bracket-move-easing, ease),opacity .2s}.et-bracket-section-title{position:absolute;transition:left var(--et-bracket-move-duration, .2s) var(--et-bracket-move-easing, ease),top var(--et-bracket-move-duration, .2s) var(--et-bracket-move-easing, ease)}.et-bracket-section-title-sticky{position:sticky;inset-inline-start:0;inline-size:max-content;max-inline-size:100%;block-size:100%}.et-bracket-element--header:where([data-align=center]){display:flex;justify-content:center;text-align:center}.et-bracket-svg{inline-size:100%;block-size:100%;position:absolute}.et-bracket-svg path{color:var(--et-bracket-line-color, var(--et-surface-border-solid, rgb(255 255 255 / .1)));transition:d var(--et-bracket-move-duration, .2s) var(--et-bracket-move-easing, ease),opacity .2s}@media(prefers-reduced-motion:reduce){.et-bracket,.et-bracket-round,.et-bracket-section-title,.et-bracket-element,.et-bracket-svg path{transition:none}}.et-bracket-host--journey-hover path,.et-bracket-host--journey-hover .et-bracket-element--match{opacity:.5}.et-bracket-host--journey-hover .et-bracket-journey-active{opacity:1!important}.et-bracket-host--journey-hover .et-bracket-journey-eliminated{opacity:.55;text-decoration:line-through;text-decoration-thickness:1px}.et-bracket-host--journey-hover .et-bracket-journey-endpoint{outline:var( --et-bracket-journey-endpoint-outline, 1px dashed var(--et-bracket-line-color, var(--et-surface-border-solid, rgb(255 255 255 / .1))) );outline-offset:2px;border-radius:var(--et-match-card-border-radius, 10px)}.et-bracket-host--journey-focused path,.et-bracket-host--journey-focused .et-bracket-element--match{opacity:.25}}\n"],
|
|
8956
8998
|
dependencies: [{
|
|
8957
8999
|
kind: "directive",
|
|
8958
9000
|
type: NgComponentOutlet,
|
|
@@ -8988,7 +9030,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
8988
9030
|
}],
|
|
8989
9031
|
host: { class: "et-bracket-host" },
|
|
8990
9032
|
template: "@if (bracketGrid(); as grid) {\n <section\n [style.width.px]=\"grid.raw.grid.dimensions.width\"\n [style.height.px]=\"grid.raw.grid.dimensions.height\"\n [style.transform]=\"'translateX(' + -focusRoundOffset() + 'px)'\"\n class=\"et-bracket et-bracket--{{ bracketData().mode }}\"\n >\n @let drawn = drawing();\n\n <svg class=\"et-bracket-svg\" xmlns=\"http://www.w3.org/2000/svg\" aria-hidden=\"true\">\n @if (drawn.gradients.length) {\n <defs>\n @for (gradient of drawn.gradients; track gradient.id) {\n <linearGradient\n [attr.id]=\"gradient.id\"\n [attr.x1]=\"gradient.fromX\"\n [attr.x2]=\"gradient.toX\"\n gradientUnits=\"userSpaceOnUse\"\n y1=\"0\"\n y2=\"0\"\n >\n @for (stop of gradient.stops; track $index) {\n <stop [attr.offset]=\"stop.offset\" [attr.stop-color]=\"stop.color\" />\n }\n </linearGradient>\n }\n </defs>\n }\n\n @for (rect of drawn.rects; track rect.id) {\n <rect\n [attr.x]=\"rect.x\"\n [attr.y]=\"rect.y\"\n [attr.width]=\"rect.width\"\n [attr.height]=\"rect.height\"\n [attr.rx]=\"rect.radius\"\n [attr.stroke]=\"rect.stroke\"\n [attr.stroke-width]=\"rect.strokeWidth\"\n [attr.class]=\"rect.cssClass\"\n fill=\"none\"\n />\n }\n\n <!-- Both: the attribute is what draws the line, and the CSS `d` property is the only one a\n transition can animate. A browser without it keeps the attribute and skips the animation. -->\n @for (edge of drawn.edges; track edge.id) {\n <path\n [attr.d]=\"edge.d\"\n [style.d]=\"edge.cssPath\"\n [attr.stroke]=\"edge.stroke\"\n [attr.stroke-width]=\"edge.strokeWidth\"\n [attr.stroke-dasharray]=\"edge.dashArray\"\n [attr.stroke-dashoffset]=\"edge.dashOffset\"\n [attr.class]=\"edge.cssClass\"\n fill=\"none\"\n />\n }\n </svg>\n\n @for (section of sectionTitles(); track section.key) {\n <div\n [attr.data-section]=\"section.key\"\n [style.width.px]=\"section.titleDimensions.width\"\n [style.height.px]=\"section.titleDimensions.height\"\n [style.left.px]=\"section.titleDimensions.left\"\n [style.top.px]=\"section.titleDimensions.top\"\n class=\"et-bracket-section-title\"\n >\n <div class=\"et-bracket-section-title-sticky\">\n <ng-container *ngComponentOutlet=\"resolvedSectionTitleComponent(); inputs: { bracketSection: section }\" />\n </div>\n </div>\n }\n\n @for (round of grid.columns; track $index) {\n <ul\n [style.width.px]=\"round.dimensions.width\"\n [style.height.px]=\"round.dimensions.height\"\n [style.transform]=\"'translate(' + round.dimensions.left + 'px, ' + round.dimensions.top + 'px)'\"\n class=\"et-bracket-round\"\n >\n @for (element of round.elements; track $index) {\n @let inputs =\n element.type === 'header'\n ? { bracketRound: element.round, bracketRoundSwissGroup: element.roundSwissGroup }\n : element.type === 'continue'\n ? { bracketMatches: element.matches }\n : matchCardInputs().get(element.match.id);\n\n @let highlightClass = element.type === 'match' ? element.classes : '';\n\n @let matchId = element.type === 'match' ? element.match.id : null;\n\n @let inlineOffset = element.dimensions.left - round.dimensions.left;\n @let blockOffset = element.dimensions.top - round.dimensions.top;\n\n <li\n [attr.data-match-id]=\"matchId\"\n [attr.data-align]=\"element.type === 'header' ? settings().alignRoundHeaders : null\"\n [style.width.px]=\"element.dimensions.width\"\n [style.height.px]=\"element.dimensions.height\"\n [style.transform]=\"'translate(' + inlineOffset + 'px, ' + blockOffset + 'px)'\"\n class=\"et-bracket-element et-bracket-element--{{ element.type }} {{ highlightClass }}\"\n >\n <ng-container *ngComponentOutlet=\"componentFor(element); inputs: inputs\" />\n </li>\n }\n </ul>\n }\n </section>\n}\n",
|
|
8991
|
-
styles: ["@layer components.sdk{.et-bracket{position:relative;transition:transform var(--et-bracket-move-duration, .2s) var(--et-bracket-move-easing, ease)}.et-bracket-round{position:absolute;inset-block-start:0;inset-inline-start:0;list-style:none;margin:0;padding:0;transition:transform var(--et-bracket-move-duration, .2s) var(--et-bracket-move-easing, ease)}.et-bracket-element{position:absolute;inset-block-start:0;inset-inline-start:0;list-style:none;margin:0;padding:0;transition:transform var(--et-bracket-move-duration, .2s) var(--et-bracket-move-easing, ease),opacity .2s}.et-bracket-section-title{position:absolute;transition:left var(--et-bracket-move-duration, .2s) var(--et-bracket-move-easing, ease),top var(--et-bracket-move-duration, .2s) var(--et-bracket-move-easing, ease)}.et-bracket-section-title-sticky{position:sticky;inset-inline-start:0;inline-size:max-content;max-inline-size:100%;block-size:100%}.et-bracket-element--header:where([data-align=center]){display:flex;justify-content:center;text-align:center}.et-bracket-svg{inline-size:100%;block-size:100%;position:absolute}.et-bracket-svg path{color:var(--et-bracket-line-color, var(--et-surface-border-solid, rgb(255 255 255 / .1)));transition:d var(--et-bracket-move-duration, .2s) var(--et-bracket-move-easing, ease),opacity .2s}@media(prefers-reduced-motion:reduce){.et-bracket,.et-bracket-round,.et-bracket-section-title,.et-bracket-element,.et-bracket-svg path{transition:none}}.et-bracket-host--journey-hover path,.et-bracket-host--journey-hover .et-bracket-element--match{opacity:.5}.et-bracket-host--journey-hover .et-bracket-journey-active{opacity:1!important}.et-bracket-host--journey-hover .et-bracket-journey-eliminated{opacity:.55;text-decoration:line-through;text-decoration-thickness:1px}.et-bracket-host--journey-hover .et-bracket-journey-endpoint{outline:1px dashed var(--et-bracket-line-color, var(--et-surface-border-solid, rgb(255 255 255 / .1)));outline-offset:2px;border-radius:var(--et-match-card-border-radius, 10px)}.et-bracket-host--journey-focused path,.et-bracket-host--journey-focused .et-bracket-element--match{opacity:.25}}\n"]
|
|
9033
|
+
styles: ["@layer components.sdk{.et-bracket{position:relative;transition:transform var(--et-bracket-move-duration, .2s) var(--et-bracket-move-easing, ease)}.et-bracket-round{position:absolute;inset-block-start:0;inset-inline-start:0;list-style:none;margin:0;padding:0;transition:transform var(--et-bracket-move-duration, .2s) var(--et-bracket-move-easing, ease)}.et-bracket-element{position:absolute;inset-block-start:0;inset-inline-start:0;list-style:none;margin:0;padding:0;transition:transform var(--et-bracket-move-duration, .2s) var(--et-bracket-move-easing, ease),opacity .2s}.et-bracket-section-title{position:absolute;transition:left var(--et-bracket-move-duration, .2s) var(--et-bracket-move-easing, ease),top var(--et-bracket-move-duration, .2s) var(--et-bracket-move-easing, ease)}.et-bracket-section-title-sticky{position:sticky;inset-inline-start:0;inline-size:max-content;max-inline-size:100%;block-size:100%}.et-bracket-element--header:where([data-align=center]){display:flex;justify-content:center;text-align:center}.et-bracket-svg{inline-size:100%;block-size:100%;position:absolute}.et-bracket-svg path{color:var(--et-bracket-line-color, var(--et-surface-border-solid, rgb(255 255 255 / .1)));transition:d var(--et-bracket-move-duration, .2s) var(--et-bracket-move-easing, ease),opacity .2s}@media(prefers-reduced-motion:reduce){.et-bracket,.et-bracket-round,.et-bracket-section-title,.et-bracket-element,.et-bracket-svg path{transition:none}}.et-bracket-host--journey-hover path,.et-bracket-host--journey-hover .et-bracket-element--match{opacity:.5}.et-bracket-host--journey-hover .et-bracket-journey-active{opacity:1!important}.et-bracket-host--journey-hover .et-bracket-journey-eliminated{opacity:.55;text-decoration:line-through;text-decoration-thickness:1px}.et-bracket-host--journey-hover .et-bracket-journey-endpoint{outline:var( --et-bracket-journey-endpoint-outline, 1px dashed var(--et-bracket-line-color, var(--et-surface-border-solid, rgb(255 255 255 / .1))) );outline-offset:2px;border-radius:var(--et-match-card-border-radius, 10px)}.et-bracket-host--journey-focused path,.et-bracket-host--journey-focused .et-bracket-element--match{opacity:.25}}\n"]
|
|
8992
9034
|
}]
|
|
8993
9035
|
}],
|
|
8994
9036
|
ctorParameters: () => [],
|
|
@@ -13819,7 +13861,8 @@ var AlertDialogComponent = class AlertDialogComponent {
|
|
|
13819
13861
|
"variant",
|
|
13820
13862
|
"size",
|
|
13821
13863
|
"iconAlignment",
|
|
13822
|
-
"stretchContents"
|
|
13864
|
+
"stretchContents",
|
|
13865
|
+
"pressedVariant"
|
|
13823
13866
|
]
|
|
13824
13867
|
},
|
|
13825
13868
|
{
|
|
@@ -14219,6 +14262,11 @@ const ANCHORED_DIALOG_STRATEGY_DEF = /* @__PURE__ */ defineRootProvider(() => {
|
|
|
14219
14262
|
const overlayRect = containerEl.getBoundingClientRect();
|
|
14220
14263
|
renderer.setStyle(containerEl, { transformOrigin: `${origin.x - overlayRect.left}px ${origin.y - overlayRect.top}px` });
|
|
14221
14264
|
};
|
|
14265
|
+
const scaleOriginOf = (origin) => {
|
|
14266
|
+
const position = origin instanceof Element ? cfg.positionStrategy?.(origin) : void 0;
|
|
14267
|
+
const arrowAnchor = position?.kind === "anchored" ? position.arrowAnchor : null;
|
|
14268
|
+
return getOriginCoordinatesAndDimensions(arrowAnchor ?? origin);
|
|
14269
|
+
};
|
|
14222
14270
|
return {
|
|
14223
14271
|
id: randomId(),
|
|
14224
14272
|
config: cfg,
|
|
@@ -14227,7 +14275,7 @@ const ANCHORED_DIALOG_STRATEGY_DEF = /* @__PURE__ */ defineRootProvider(() => {
|
|
|
14227
14275
|
context.lifecycle.enter();
|
|
14228
14276
|
return;
|
|
14229
14277
|
}
|
|
14230
|
-
const originData =
|
|
14278
|
+
const originData = scaleOriginOf(context.origin);
|
|
14231
14279
|
if (!originData) {
|
|
14232
14280
|
context.lifecycle.enter();
|
|
14233
14281
|
return;
|
|
@@ -14246,7 +14294,7 @@ const ANCHORED_DIALOG_STRATEGY_DEF = /* @__PURE__ */ defineRootProvider(() => {
|
|
|
14246
14294
|
context.lifecycle.leave();
|
|
14247
14295
|
return;
|
|
14248
14296
|
}
|
|
14249
|
-
const originData =
|
|
14297
|
+
const originData = scaleOriginOf(context.origin);
|
|
14250
14298
|
if (!originData) {
|
|
14251
14299
|
context.lifecycle.leave();
|
|
14252
14300
|
return;
|
|
@@ -20373,7 +20421,11 @@ var BreadcrumbOverflowComponent = class BreadcrumbOverflowComponent {
|
|
|
20373
20421
|
kind: "component",
|
|
20374
20422
|
type: IconButtonComponent,
|
|
20375
20423
|
selector: "[et-icon-button]",
|
|
20376
|
-
inputs: [
|
|
20424
|
+
inputs: [
|
|
20425
|
+
"variant",
|
|
20426
|
+
"size",
|
|
20427
|
+
"pressedVariant"
|
|
20428
|
+
]
|
|
20377
20429
|
},
|
|
20378
20430
|
{
|
|
20379
20431
|
kind: "directive",
|
|
@@ -22617,7 +22669,11 @@ var CalendarComponent = class CalendarComponent {
|
|
|
22617
22669
|
kind: "component",
|
|
22618
22670
|
type: IconButtonComponent,
|
|
22619
22671
|
selector: "[et-icon-button]",
|
|
22620
|
-
inputs: [
|
|
22672
|
+
inputs: [
|
|
22673
|
+
"variant",
|
|
22674
|
+
"size",
|
|
22675
|
+
"pressedVariant"
|
|
22676
|
+
]
|
|
22621
22677
|
},
|
|
22622
22678
|
{
|
|
22623
22679
|
kind: "directive",
|
|
@@ -23460,7 +23516,11 @@ var ScrollableButtonsComponent = class ScrollableButtonsComponent {
|
|
|
23460
23516
|
kind: "component",
|
|
23461
23517
|
type: IconButtonComponent,
|
|
23462
23518
|
selector: "[et-icon-button]",
|
|
23463
|
-
inputs: [
|
|
23519
|
+
inputs: [
|
|
23520
|
+
"variant",
|
|
23521
|
+
"size",
|
|
23522
|
+
"pressedVariant"
|
|
23523
|
+
]
|
|
23464
23524
|
}],
|
|
23465
23525
|
encapsulation: i0.ViewEncapsulation.None
|
|
23466
23526
|
});
|
|
@@ -26305,7 +26365,11 @@ var CarouselComponent = class CarouselComponent {
|
|
|
26305
26365
|
kind: "component",
|
|
26306
26366
|
type: IconButtonComponent,
|
|
26307
26367
|
selector: "[et-icon-button]",
|
|
26308
|
-
inputs: [
|
|
26368
|
+
inputs: [
|
|
26369
|
+
"variant",
|
|
26370
|
+
"size",
|
|
26371
|
+
"pressedVariant"
|
|
26372
|
+
]
|
|
26309
26373
|
},
|
|
26310
26374
|
{
|
|
26311
26375
|
kind: "directive",
|
|
@@ -36072,6 +36136,7 @@ const createAnchoredPanelController = (options) => {
|
|
|
36072
36136
|
const destroyRef = inject(DestroyRef);
|
|
36073
36137
|
const overlayRef = options.overlayRef;
|
|
36074
36138
|
let interactionListenersCleanup = null;
|
|
36139
|
+
let documentKeydownSubscription = null;
|
|
36075
36140
|
let closedByOutsidePointer = false;
|
|
36076
36141
|
let closedByFocusLeave = false;
|
|
36077
36142
|
let closedFromBottomSheet = false;
|
|
@@ -36080,6 +36145,14 @@ const createAnchoredPanelController = (options) => {
|
|
|
36080
36145
|
interactionListenersCleanup?.();
|
|
36081
36146
|
interactionListenersCleanup = null;
|
|
36082
36147
|
};
|
|
36148
|
+
const syncDocumentKeydownListener = (active) => {
|
|
36149
|
+
if (!active || !options.onDocumentKeydown) {
|
|
36150
|
+
documentKeydownSubscription?.unsubscribe();
|
|
36151
|
+
documentKeydownSubscription = null;
|
|
36152
|
+
return;
|
|
36153
|
+
}
|
|
36154
|
+
documentKeydownSubscription ??= fromEvent(documentRef, "keydown").subscribe(options.onDocumentKeydown);
|
|
36155
|
+
};
|
|
36083
36156
|
const isOutsideThePanel = (target) => {
|
|
36084
36157
|
const pane = overlayRef()?.elements?.paneElement;
|
|
36085
36158
|
if (pane && isTargetInsideOverlayTree({
|
|
@@ -36131,7 +36204,6 @@ const createAnchoredPanelController = (options) => {
|
|
|
36131
36204
|
requestClose();
|
|
36132
36205
|
};
|
|
36133
36206
|
const subscriptions = [fromEvent(documentRef, "pointerdown", { capture: true }).subscribe(onPointerDown), fromEvent(documentRef, "focusin", { capture: true }).subscribe(onFocusIn)];
|
|
36134
|
-
if (options.onDocumentKeydown) subscriptions.push(fromEvent(documentRef, "keydown").subscribe(options.onDocumentKeydown));
|
|
36135
36207
|
const pane = overlayRef()?.elements?.paneElement;
|
|
36136
36208
|
if (pane) subscriptions.push(fromEvent(pane, "keydown").pipe(filter((event) => isTabPastThePaneEdge(event, pane) && !moveFocusBesideTheAnchor(event, pane)), delay(0), tap(() => {
|
|
36137
36209
|
closedByFocusLeave = true;
|
|
@@ -36164,6 +36236,7 @@ const createAnchoredPanelController = (options) => {
|
|
|
36164
36236
|
currentRef.beforeClosed().pipe(take(1), tap(() => {
|
|
36165
36237
|
if (overlayRef() !== currentRef || destroyed) return;
|
|
36166
36238
|
detachInteractionListeners();
|
|
36239
|
+
syncDocumentKeydownListener(false);
|
|
36167
36240
|
closedFromBottomSheet = currentRef.elements?.paneElement?.classList.contains("et-overlay--bottom-sheet") ?? false;
|
|
36168
36241
|
options.onBeforeClosed?.();
|
|
36169
36242
|
if (options.open()) options.open.set(false);
|
|
@@ -36186,6 +36259,7 @@ const createAnchoredPanelController = (options) => {
|
|
|
36186
36259
|
const canOpen = options.canOpen();
|
|
36187
36260
|
const shouldBeOpen = options.open();
|
|
36188
36261
|
const currentRef = overlayRef();
|
|
36262
|
+
untracked(() => syncDocumentKeydownListener(canOpen && shouldBeOpen));
|
|
36189
36263
|
if (!canOpen) {
|
|
36190
36264
|
if (currentRef) untracked(() => currentRef.close());
|
|
36191
36265
|
if (shouldBeOpen) untracked(() => options.open.set(false));
|
|
@@ -36200,6 +36274,7 @@ const createAnchoredPanelController = (options) => {
|
|
|
36200
36274
|
destroyRef.onDestroy(() => {
|
|
36201
36275
|
destroyed = true;
|
|
36202
36276
|
detachInteractionListeners();
|
|
36277
|
+
syncDocumentKeydownListener(false);
|
|
36203
36278
|
overlayRef()?.close();
|
|
36204
36279
|
});
|
|
36205
36280
|
return {
|
|
@@ -36399,7 +36474,7 @@ var FormFieldTextShellStylesComponent = class FormFieldTextShellStylesComponent
|
|
|
36399
36474
|
ngImport: i0,
|
|
36400
36475
|
template: "",
|
|
36401
36476
|
isInline: true,
|
|
36402
|
-
styles: ["@layer components.sdk{et-form-field:where([data-size=sm]){--et-form-field-gap: 4px;--_et-form-field-control-border-radius: 4px;--et-form-field-control-padding-block: 4px;--et-form-field-control-padding-inline: 10px;--et-form-field-control-affix-gap: 6px;--et-form-field-control-font-size: 12px;--et-form-field-control-min-height: var(--et-form-field-control-min-height-sm, 32px);--et-form-field-label-font-size: 12px;--_et-form-field-float-inside-label-inset: 1px}et-form-field:where([data-size=md],:not([data-size])){--et-form-field-gap: 5px;--_et-form-field-control-border-radius: 5px;--et-form-field-control-padding-block: 6px;--et-form-field-control-padding-inline: 12px;--et-form-field-control-affix-gap: 8px;--et-form-field-control-font-size: 14px;--et-form-field-control-min-height: var(--et-form-field-control-min-height-md, 50px);--et-form-field-label-font-size: 13px}et-form-field:where([data-size=lg]){--et-form-field-gap: 6px;--_et-form-field-control-border-radius: 6px;--et-form-field-control-padding-block: 8px;--et-form-field-control-padding-inline: 14px;--et-form-field-control-affix-gap: 10px;--et-form-field-control-font-size: 16px;--et-form-field-control-min-height: var(--et-form-field-control-min-height-lg, 58px);--et-form-field-label-font-size: 14px}et-form-field[data-fill=filled],et-form-field[data-fill=sunken]{--_et-form-field-control-background: var( --et-surface-background-solid, var(--et-surface-base-solid, transparent) )}et-form-field[data-text-shell]{--_et-form-field-frame-border: var( --et-form-field-control-border-color, var(--et-surface-interaction-solid, currentColor) );--_et-form-field-frame-border-hover: var( --et-form-field-control-border-color-hover, color-mix( in srgb, var(--et-surface-interaction-solid, currentColor) 75%, var(--et-surface-color-solid, currentColor) ) );--_et-form-field-frame-focus: var( --et-form-field-control-border-color-focus, var(--et-theme-color-primary-solid, currentColor) );--_et-form-field-frame-focus-readonly: var( --et-form-field-control-border-color-focus, var(--et-surface-color-solid, currentColor) );--_et-form-field-label-color: var(--et-surface-color-muted-solid, currentColor);--_et-form-field-label-color-active: var(--et-surface-color-solid, currentColor)}et-form-field[data-text-shell][data-error]{--_et-form-field-frame-border: var(--et-theme-color-primary-solid);--_et-form-field-frame-border-hover: light-dark( rgb(var(--et-color-primary-hover, var(--et-color-primary))), rgb( var( --et-color-primary-ink-active, var( --et-color-primary-ink-focus, var( --et-color-primary-ink-hover, var( --et-color-primary-ink, var( --et-color-primary-active, var(--et-color-primary-focus, var(--et-color-primary-hover, var(--et-color-primary))) ) ) ) ) ) ) );--_et-form-field-frame-focus: var(--et-theme-color-ink-solid);--_et-form-field-frame-focus-readonly: var(--et-theme-color-ink-solid);--_et-form-field-label-color: var(--et-theme-color-ink-solid);--_et-form-field-label-color-active: var(--et-theme-color-ink-solid)}et-form-field[data-text-shell]:not(:has(>.et-form-field-shell>.et-form-field-control-frame>.et-form-field-prefix svg)){--_et-form-field-prefix-gap: 4px}et-form-field[data-text-shell] .et-form-field-control-frame{border-color:var(--_et-form-field-frame-border)}et-form-field[data-text-shell] .et-form-field-control-slot{color:var(--et-form-field-value-color)}et-form-field[data-text-shell] .et-form-field-prefix{margin-inline-end:calc(var(--_et-form-field-prefix-gap, var(--et-form-field-control-affix-gap)) - var(--et-form-field-control-affix-gap))}et-form-field[data-text-shell] .et-form-field-affix{color:var(--_et-form-field-label-color)}et-form-field[data-text-shell][data-label-mode=static][data-has-label]:not(:has(et-label[hidden])) .et-form-field-shell{padding-block-start:calc(var(--et-form-field-label-font-size) * 1.2 + var(--et-form-field-gap))}et-form-field[data-text-shell][data-label-mode=static] .et-form-field-control-area{position:static}et-form-field[data-text-shell][data-label-mode=static] .et-form-field-label-area{position:absolute;inset-block-start:0;inset-inline-start:calc(var(--_et-form-field-supporting-inset) - var(--et-form-field-control-border-width));transform:translateY(calc(-100% - var(--et-form-field-gap) - var(--et-form-field-control-border-width)))}et-form-field[data-text-shell][data-label-mode=static][data-appearance=underline][data-fill=transparent] .et-form-field-label-area{inset-inline-start:0}et-form-field[data-text-shell][data-label-mode=inline] .et-form-field-control-frame{align-items:stretch}et-form-field[data-text-shell][data-label-mode=inline] .et-form-field-control-area{position:static;gap:var(--et-form-field-control-affix-gap);align-items:stretch}et-form-field[data-text-shell][data-label-mode=inline] .et-form-field-control-slot{display:flex;align-items:center}et-form-field[data-text-shell][data-label-mode=inline] .et-form-field-label-area--inline{position:static;flex-shrink:0;transform:none;white-space:nowrap;pointer-events:auto;font-size:var(--et-form-field-control-font-size);line-height:var(--et-form-field-control-line-height);display:flex;align-items:center;margin-block:calc(var(--et-form-field-control-padding-block) * -1)}et-form-field[data-text-shell][data-label-mode=inline][data-appearance=underline] .et-form-field-label-area--inline:after{content:\":\"}et-form-field[data-text-shell][data-label-mode=inline][data-appearance=box] .et-form-field-label-area--inline{padding-inline-end:var(--et-form-field-control-padding-inline);margin-inline-end:calc(var(--et-form-field-control-padding-inline) - var(--et-form-field-control-affix-gap));border-inline-end:var(--et-form-field-control-border-width) solid var(--et-surface-border-solid, currentColor)}:is(et-form-field[data-text-shell][data-label-mode=floating-inside],et-form-field[data-text-shell][data-label-mode=floating-outside]) .et-form-field-control-slot :is(input,textarea)::placeholder,:is(et-form-field[data-text-shell][data-label-mode=floating-inside],et-form-field[data-text-shell][data-label-mode=floating-outside]) :is(.et-select-value,.et-cascader-value)[data-placeholder]{transition:color .15s ease}:is(et-form-field[data-text-shell][data-label-mode=floating-inside],et-form-field[data-text-shell][data-label-mode=floating-outside]):not([data-label-floated]) .et-form-field-control-slot :is(input,textarea)::placeholder,:is(et-form-field[data-text-shell][data-label-mode=floating-inside],et-form-field[data-text-shell][data-label-mode=floating-outside]):not([data-label-floated]) :is(.et-select-value,.et-cascader-value)[data-placeholder]{color:transparent}et-form-field[data-text-shell][data-label-mode=floating-outside] .et-form-field-control-area{align-self:stretch;display:flex;align-items:center}et-form-field[data-text-shell][data-label-mode=floating-outside] .et-form-field-label-area--floating{inset-inline-start:0}et-form-field[data-text-shell][data-label-mode=floating-outside][data-has-label]:not(:has(et-label[hidden])) .et-form-field-shell{padding-block-start:calc(var(--et-form-field-label-font-size) * 1.2 + var(--et-form-field-gap))}et-form-field[data-text-shell][data-label-mode=floating-outside][data-label-floated] .et-form-field-label-area--floating{inset-block-start:0;inset-inline-start:calc(var(--_et-form-field-prefix-offset, 0px) * -1);transform:translateY(calc(-100% - var(--et-form-field-gap) - var(--et-form-field-control-border-width) - var(--et-form-field-control-padding-block)))}et-form-field[data-text-shell][data-label-mode=floating-inside]{--_et-form-field-float-inside-extra-padding: calc( var(--et-form-field-label-font-size) * var(--_et-form-field-floating-label-scale) + 2px )}et-form-field[data-text-shell][data-label-mode=floating-inside] .et-form-field-control-area{align-self:stretch;display:flex;align-items:center;padding-block-start:var(--_et-form-field-float-inside-extra-padding)}et-form-field[data-text-shell][data-label-mode=floating-inside] .et-form-field-label-area--floating{inset-inline-start:0}et-form-field[data-text-shell][data-label-mode=floating-inside][data-label-floated] .et-form-field-label-area--floating{inset-block-start:var(--_et-form-field-float-inside-label-inset, 4px);transform:scale(var(--_et-form-field-floating-label-scale))}et-form-field[data-text-shell][data-label-mode=floating-inside] .et-form-field-control-slot{font-size:calc(var(--et-form-field-control-font-size) * .96)}et-form-field[data-text-shell] .et-form-field-label-area{color:var(--_et-form-field-label-color);max-inline-size:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}@media(hover:hover){et-form-field[data-text-shell]:where(:not([data-readonly]):not([data-disabled]):not(:has(.et-color-interactive-exclude:hover))):where(:has(.et-form-field-control-frame:hover),:has(.et-form-field-label-area:hover)) .et-form-field-control-frame{border-color:var(--_et-form-field-frame-border-hover)}et-form-field[data-text-shell]:where(:not([data-readonly]):not([data-disabled]):not(:has(.et-color-interactive-exclude:hover))):where(:has(.et-form-field-control-frame:hover),:has(.et-form-field-label-area:hover)) .et-form-field-control-slot{color:var(--et-form-field-value-color-active, var(--et-form-field-value-color))}et-form-field[data-text-shell]:where(:not([data-readonly]):not([data-disabled]):not(:has(.et-color-interactive-exclude:hover))):where(:has(.et-form-field-control-frame:hover),:has(.et-form-field-label-area:hover)) .et-form-field-label-area,et-form-field[data-text-shell]:where(:not([data-readonly]):not([data-disabled]):not(:has(.et-color-interactive-exclude:hover))):where(:has(.et-form-field-control-frame:hover),:has(.et-form-field-label-area:hover)) .et-form-field-affix{color:var(--_et-form-field-label-color-active);opacity:1}}et-form-field[data-text-shell]:where(:has(:focus-visible)) .et-form-field-control-frame,et-form-field[data-text-shell]:where([data-expanded]:not([data-readonly])) .et-form-field-control-frame,et-form-field[data-text-shell]:where([data-focused]) .et-form-field-control-frame{border-color:var(--_et-form-field-frame-focus)}et-form-field[data-text-shell][data-readonly]:where([data-focused],:has(:focus-visible)) .et-form-field-control-frame{border-color:var(--_et-form-field-frame-focus-readonly);box-shadow:inset 0 0 0 var(--et-form-field-control-focus-ring-width, var(--et-form-field-control-border-width)) var(--_et-form-field-frame-focus-readonly)}et-form-field[data-text-shell]:where(:has(:focus-visible):not([data-readonly])) .et-form-field-control-slot,et-form-field[data-text-shell]:where([data-expanded]:not([data-readonly])) .et-form-field-control-slot,et-form-field[data-text-shell]:where([data-focused]:not([data-readonly])) .et-form-field-control-slot{color:var(--et-form-field-value-color-active, var(--et-form-field-value-color))}et-form-field[data-text-shell]:where(:has(:focus-visible):not([data-readonly])) .et-form-field-label-area,et-form-field[data-text-shell]:where(:has(:focus-visible):not([data-readonly])) .et-form-field-affix,et-form-field[data-text-shell]:where([data-expanded]:not([data-readonly])) .et-form-field-label-area,et-form-field[data-text-shell]:where([data-expanded]:not([data-readonly])) .et-form-field-affix,et-form-field[data-text-shell]:where([data-focused]:not([data-readonly])) .et-form-field-label-area,et-form-field[data-text-shell]:where([data-focused]:not([data-readonly])) .et-form-field-affix{color:var(--_et-form-field-label-color-active);opacity:1}et-form-field[data-text-shell][data-readonly] .et-form-field-shell,et-form-field[data-text-shell][data-readonly] .et-form-field-control-frame{cursor:default}et-form-field[data-text-shell][data-readonly]:where(:not([data-error]):not([data-focused]):not(:has(:focus-visible))) .et-form-field-control-frame{border-color:var( --et-form-field-control-border-color-readonly, var(--et-surface-border-solid, color-mix(in srgb, var(--_et-form-field-frame-border) 50%, transparent)) )}et-form-field[data-text-shell][data-readonly]:where(:not([data-appearance=underline])) .et-form-field-control-frame{background:color-mix(in srgb,var(--et-surface-interaction-solid, currentColor) 6%,var(--_et-form-field-control-background))}et-form-field[data-text-shell][data-readonly] .et-form-field-label-area,et-form-field[data-text-shell][data-readonly] .et-form-field-control,et-form-field[data-text-shell][data-readonly] input,et-form-field[data-text-shell][data-readonly] textarea,et-form-field[data-text-shell][data-readonly] [contenteditable]{cursor:default}et-form-field[data-text-shell][data-disabled] .et-form-field-shell{cursor:not-allowed}et-form-field[data-text-shell][data-disabled] .et-form-field-control-frame{opacity:var(--et-form-field-control-disabled-opacity);pointer-events:none;box-shadow:none}et-form-field[data-text-shell][data-disabled] .et-form-field-label-area{cursor:not-allowed}et-form-field[data-text-shell][data-appearance=underline]{--et-form-field-control-min-height: calc( var(--et-form-field-control-font-size) * var(--et-form-field-control-line-height) + var(--et-form-field-control-padding-block) * 2 )}et-form-field[data-text-shell][data-appearance=underline] .et-form-field-control-frame{border-top:none;border-inline:none;border-radius:0;box-shadow:none}et-form-field[data-text-shell][data-appearance=underline][data-fill=transparent] .et-form-field-control-frame{padding-inline:0}et-form-field[data-text-shell][data-appearance=underline][data-fill=transparent] .et-form-field-errors,et-form-field[data-text-shell][data-appearance=underline][data-fill=transparent] .et-form-field-hint{padding-inline-start:0}}\n"],
|
|
36477
|
+
styles: ["@layer components.sdk{et-form-field:where([data-size=sm]){--et-form-field-gap: 4px;--_et-form-field-control-border-radius: 4px;--et-form-field-control-padding-block: 4px;--et-form-field-control-padding-inline: 10px;--et-form-field-control-affix-gap: 6px;--et-form-field-control-font-size: 12px;--et-form-field-control-min-height: var(--et-form-field-control-min-height-sm, 32px);--et-form-field-label-font-size: 12px;--_et-form-field-float-inside-label-inset: 1px}et-form-field:where([data-size=md],:not([data-size])){--et-form-field-gap: 5px;--_et-form-field-control-border-radius: 5px;--et-form-field-control-padding-block: 6px;--et-form-field-control-padding-inline: 12px;--et-form-field-control-affix-gap: 8px;--et-form-field-control-font-size: 14px;--et-form-field-control-min-height: var(--et-form-field-control-min-height-md, 50px);--et-form-field-label-font-size: 13px}et-form-field:where([data-size=lg]){--et-form-field-gap: 6px;--_et-form-field-control-border-radius: 6px;--et-form-field-control-padding-block: 8px;--et-form-field-control-padding-inline: 14px;--et-form-field-control-affix-gap: 10px;--et-form-field-control-font-size: 16px;--et-form-field-control-min-height: var(--et-form-field-control-min-height-lg, 58px);--et-form-field-label-font-size: 14px}et-form-field[data-fill=filled],et-form-field[data-fill=sunken]{--_et-form-field-control-background: var( --et-surface-background-solid, var(--et-surface-base-solid, transparent) )}et-form-field[data-text-shell]{--_et-form-field-frame-border: var( --et-form-field-control-border-color, color-mix( in oklab, var(--et-surface-color-solid, currentColor) 43%, var(--et-surface-background-solid, transparent) ) );--_et-form-field-frame-border-hover: var( --et-form-field-control-border-color-hover, var(--_et-form-field-label-color-active) );--_et-form-field-frame-focus: var( --et-form-field-control-border-color-focus, var(--et-theme-color-primary-solid, currentColor) );--_et-form-field-frame-focus-readonly: var( --et-form-field-control-border-color-focus, var(--et-surface-color-solid, currentColor) );--_et-form-field-label-color: var(--et-form-field-label-color, var(--et-surface-color-muted-solid, currentColor));--_et-form-field-label-color-active: var( --et-form-field-label-color-active, var(--et-surface-color-solid, currentColor) )}et-form-field[data-text-shell][data-error]{--_et-form-field-frame-border: var(--et-theme-color-primary-solid);--_et-form-field-frame-border-hover: light-dark( rgb(var(--et-color-primary-hover, var(--et-color-primary))), rgb( var( --et-color-primary-ink-active, var( --et-color-primary-ink-focus, var( --et-color-primary-ink-hover, var( --et-color-primary-ink, var( --et-color-primary-active, var(--et-color-primary-focus, var(--et-color-primary-hover, var(--et-color-primary))) ) ) ) ) ) ) );--_et-form-field-frame-focus: var(--et-theme-color-ink-solid);--_et-form-field-frame-focus-readonly: var(--et-theme-color-ink-solid);--_et-form-field-label-color: var(--et-theme-color-ink-solid);--_et-form-field-label-color-active: var(--et-theme-color-ink-solid)}et-form-field[data-text-shell]:not(:has(>.et-form-field-shell>.et-form-field-control-frame>.et-form-field-prefix svg)){--_et-form-field-prefix-gap: 4px}et-form-field[data-text-shell] .et-form-field-control-frame{border-color:var(--_et-form-field-frame-border)}et-form-field[data-text-shell] .et-form-field-control-slot{color:var(--et-form-field-value-color)}et-form-field[data-text-shell] .et-form-field-prefix{margin-inline-end:calc(var(--_et-form-field-prefix-gap, var(--et-form-field-control-affix-gap)) - var(--et-form-field-control-affix-gap))}et-form-field[data-text-shell] .et-form-field-affix{color:var(--_et-form-field-label-color)}et-form-field[data-text-shell][data-label-mode=static][data-has-label]:not(:has(et-label[hidden])) .et-form-field-shell{padding-block-start:calc(var(--et-form-field-label-font-size) * 1.2 + var(--et-form-field-gap))}et-form-field[data-text-shell][data-label-mode=static] .et-form-field-control-area{position:static}et-form-field[data-text-shell][data-label-mode=static] .et-form-field-label-area{position:absolute;inset-block-start:0;inset-inline-start:calc(var(--_et-form-field-supporting-inset) - var(--et-form-field-control-border-width));transform:translateY(calc(-100% - var(--et-form-field-gap) - var(--et-form-field-control-border-width)))}et-form-field[data-text-shell][data-label-mode=static][data-appearance=underline][data-fill=transparent] .et-form-field-label-area{inset-inline-start:0}et-form-field[data-text-shell][data-label-mode=inline] .et-form-field-control-frame{align-items:stretch}et-form-field[data-text-shell][data-label-mode=inline] .et-form-field-control-area{position:static;gap:var(--et-form-field-control-affix-gap);align-items:stretch}et-form-field[data-text-shell][data-label-mode=inline] .et-form-field-control-slot{display:flex;align-items:center}et-form-field[data-text-shell][data-label-mode=inline] .et-form-field-label-area--inline{position:static;flex-shrink:0;transform:none;white-space:nowrap;pointer-events:auto;font-size:var(--et-form-field-control-font-size);line-height:var(--et-form-field-control-line-height);display:flex;align-items:center;margin-block:calc(var(--et-form-field-control-padding-block) * -1)}et-form-field[data-text-shell][data-label-mode=inline][data-appearance=underline] .et-form-field-label-area--inline:after{content:\":\"}et-form-field[data-text-shell][data-label-mode=inline][data-appearance=box] .et-form-field-label-area--inline{padding-inline-end:var(--et-form-field-control-padding-inline);margin-inline-end:calc(var(--et-form-field-control-padding-inline) - var(--et-form-field-control-affix-gap));border-inline-end:var(--et-form-field-control-border-width) solid var(--et-surface-border-solid, currentColor)}:is(et-form-field[data-text-shell][data-label-mode=floating-inside],et-form-field[data-text-shell][data-label-mode=floating-outside]) .et-form-field-control-slot :is(input,textarea)::placeholder,:is(et-form-field[data-text-shell][data-label-mode=floating-inside],et-form-field[data-text-shell][data-label-mode=floating-outside]) :is(.et-select-value,.et-cascader-value)[data-placeholder]{transition:color .15s ease}:is(et-form-field[data-text-shell][data-label-mode=floating-inside],et-form-field[data-text-shell][data-label-mode=floating-outside]):not([data-label-floated]) .et-form-field-control-slot :is(input,textarea)::placeholder,:is(et-form-field[data-text-shell][data-label-mode=floating-inside],et-form-field[data-text-shell][data-label-mode=floating-outside]):not([data-label-floated]) :is(.et-select-value,.et-cascader-value)[data-placeholder]{color:transparent}et-form-field[data-text-shell][data-label-mode=floating-outside] .et-form-field-control-area{align-self:stretch;display:flex;align-items:center}et-form-field[data-text-shell][data-label-mode=floating-outside] .et-form-field-label-area--floating{inset-inline-start:0}et-form-field[data-text-shell][data-label-mode=floating-outside][data-has-label]:not(:has(et-label[hidden])) .et-form-field-shell{padding-block-start:calc(var(--et-form-field-label-font-size) * 1.2 + var(--et-form-field-gap))}et-form-field[data-text-shell][data-label-mode=floating-outside][data-label-floated] .et-form-field-label-area--floating{inset-block-start:0;inset-inline-start:calc(var(--_et-form-field-prefix-offset, 0px) * -1);transform:translateY(calc(-100% - var(--et-form-field-gap) - var(--et-form-field-control-border-width) - var(--et-form-field-control-padding-block)))}et-form-field[data-text-shell][data-label-mode=floating-inside]{--_et-form-field-float-inside-extra-padding: calc( var(--et-form-field-label-font-size) * var(--_et-form-field-floating-label-scale) + 2px )}et-form-field[data-text-shell][data-label-mode=floating-inside] .et-form-field-control-area{align-self:stretch;display:flex;align-items:center;padding-block-start:var(--_et-form-field-float-inside-extra-padding)}et-form-field[data-text-shell][data-label-mode=floating-inside] .et-form-field-label-area--floating{inset-inline-start:0}et-form-field[data-text-shell][data-label-mode=floating-inside][data-label-floated] .et-form-field-label-area--floating{inset-block-start:var(--_et-form-field-float-inside-label-inset, 4px);transform:scale(var(--_et-form-field-floating-label-scale))}et-form-field[data-text-shell][data-label-mode=floating-inside] .et-form-field-control-slot{font-size:calc(var(--et-form-field-control-font-size) * .96)}et-form-field[data-text-shell] .et-form-field-label-area{color:var(--_et-form-field-label-color);max-inline-size:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}@media(hover:hover){et-form-field[data-text-shell]:where(:not([data-readonly]):not([data-disabled]):not(:has(.et-color-interactive-exclude:hover))):where(:has(.et-form-field-control-frame:hover),:has(.et-form-field-label-area:hover)) .et-form-field-control-frame{border-color:var(--_et-form-field-frame-border-hover)}et-form-field[data-text-shell]:where(:not([data-readonly]):not([data-disabled]):not(:has(.et-color-interactive-exclude:hover))):where(:has(.et-form-field-control-frame:hover),:has(.et-form-field-label-area:hover)) .et-form-field-control-slot{color:var(--et-form-field-value-color-active, var(--et-form-field-value-color))}et-form-field[data-text-shell]:where(:not([data-readonly]):not([data-disabled]):not(:has(.et-color-interactive-exclude:hover))):where(:has(.et-form-field-control-frame:hover),:has(.et-form-field-label-area:hover)) .et-form-field-label-area,et-form-field[data-text-shell]:where(:not([data-readonly]):not([data-disabled]):not(:has(.et-color-interactive-exclude:hover))):where(:has(.et-form-field-control-frame:hover),:has(.et-form-field-label-area:hover)) .et-form-field-affix{color:var(--_et-form-field-label-color-active);opacity:1}}et-form-field[data-text-shell]:where(:has(:focus-visible)) .et-form-field-control-frame,et-form-field[data-text-shell]:where([data-expanded]:not([data-readonly])) .et-form-field-control-frame,et-form-field[data-text-shell]:where([data-focused]) .et-form-field-control-frame{border-color:var(--_et-form-field-frame-focus)}et-form-field[data-text-shell][data-readonly]:where([data-focused],:has(:focus-visible)) .et-form-field-control-frame{border-color:var(--_et-form-field-frame-focus-readonly);box-shadow:inset 0 0 0 var(--et-form-field-control-focus-ring-width, var(--et-form-field-control-border-width)) var(--_et-form-field-frame-focus-readonly)}et-form-field[data-text-shell]:where(:has(:focus-visible):not([data-readonly])) .et-form-field-control-slot,et-form-field[data-text-shell]:where([data-expanded]:not([data-readonly])) .et-form-field-control-slot,et-form-field[data-text-shell]:where([data-focused]:not([data-readonly])) .et-form-field-control-slot{color:var(--et-form-field-value-color-active, var(--et-form-field-value-color))}et-form-field[data-text-shell]:where(:has(:focus-visible):not([data-readonly])) .et-form-field-label-area,et-form-field[data-text-shell]:where(:has(:focus-visible):not([data-readonly])) .et-form-field-affix,et-form-field[data-text-shell]:where([data-expanded]:not([data-readonly])) .et-form-field-label-area,et-form-field[data-text-shell]:where([data-expanded]:not([data-readonly])) .et-form-field-affix,et-form-field[data-text-shell]:where([data-focused]:not([data-readonly])) .et-form-field-label-area,et-form-field[data-text-shell]:where([data-focused]:not([data-readonly])) .et-form-field-affix{color:var(--_et-form-field-label-color-active);opacity:1}et-form-field[data-text-shell][data-readonly] .et-form-field-shell,et-form-field[data-text-shell][data-readonly] .et-form-field-control-frame{cursor:default}et-form-field[data-text-shell][data-readonly]:where(:not([data-error]):not([data-focused]):not(:has(:focus-visible))) .et-form-field-control-frame{border-color:var( --et-form-field-control-border-color-readonly, var(--et-surface-border-solid, color-mix(in srgb, var(--_et-form-field-frame-border) 50%, transparent)) )}et-form-field[data-text-shell][data-readonly]:where(:not([data-appearance=underline])) .et-form-field-control-frame{background:color-mix(in srgb,var(--et-surface-interaction-solid, currentColor) 6%,var(--_et-form-field-control-background))}et-form-field[data-text-shell][data-readonly] .et-form-field-label-area,et-form-field[data-text-shell][data-readonly] .et-form-field-control,et-form-field[data-text-shell][data-readonly] input,et-form-field[data-text-shell][data-readonly] textarea,et-form-field[data-text-shell][data-readonly] [contenteditable]{cursor:default}et-form-field[data-text-shell][data-disabled] .et-form-field-shell{cursor:not-allowed}et-form-field[data-text-shell][data-disabled] .et-form-field-control-frame{opacity:var(--et-form-field-control-disabled-opacity);pointer-events:none;box-shadow:none}et-form-field[data-text-shell][data-disabled] .et-form-field-label-area{cursor:not-allowed}et-form-field[data-text-shell][data-appearance=underline]{--et-form-field-control-min-height: calc( var(--et-form-field-control-font-size) * var(--et-form-field-control-line-height) + var(--et-form-field-control-padding-block) * 2 )}et-form-field[data-text-shell][data-appearance=underline] .et-form-field-control-frame{border-top:none;border-inline:none;border-radius:0;box-shadow:none}et-form-field[data-text-shell][data-appearance=underline][data-fill=transparent] .et-form-field-control-frame{padding-inline:0}et-form-field[data-text-shell][data-appearance=underline][data-fill=transparent] .et-form-field-errors,et-form-field[data-text-shell][data-appearance=underline][data-fill=transparent] .et-form-field-hint{padding-inline-start:0}}\n"],
|
|
36403
36478
|
encapsulation: i0.ViewEncapsulation.None
|
|
36404
36479
|
});
|
|
36405
36480
|
}
|
|
@@ -36415,7 +36490,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
36415
36490
|
selector: "et-form-field-text-shell-styles",
|
|
36416
36491
|
template: "",
|
|
36417
36492
|
encapsulation: ViewEncapsulation.None,
|
|
36418
|
-
styles: ["@layer components.sdk{et-form-field:where([data-size=sm]){--et-form-field-gap: 4px;--_et-form-field-control-border-radius: 4px;--et-form-field-control-padding-block: 4px;--et-form-field-control-padding-inline: 10px;--et-form-field-control-affix-gap: 6px;--et-form-field-control-font-size: 12px;--et-form-field-control-min-height: var(--et-form-field-control-min-height-sm, 32px);--et-form-field-label-font-size: 12px;--_et-form-field-float-inside-label-inset: 1px}et-form-field:where([data-size=md],:not([data-size])){--et-form-field-gap: 5px;--_et-form-field-control-border-radius: 5px;--et-form-field-control-padding-block: 6px;--et-form-field-control-padding-inline: 12px;--et-form-field-control-affix-gap: 8px;--et-form-field-control-font-size: 14px;--et-form-field-control-min-height: var(--et-form-field-control-min-height-md, 50px);--et-form-field-label-font-size: 13px}et-form-field:where([data-size=lg]){--et-form-field-gap: 6px;--_et-form-field-control-border-radius: 6px;--et-form-field-control-padding-block: 8px;--et-form-field-control-padding-inline: 14px;--et-form-field-control-affix-gap: 10px;--et-form-field-control-font-size: 16px;--et-form-field-control-min-height: var(--et-form-field-control-min-height-lg, 58px);--et-form-field-label-font-size: 14px}et-form-field[data-fill=filled],et-form-field[data-fill=sunken]{--_et-form-field-control-background: var( --et-surface-background-solid, var(--et-surface-base-solid, transparent) )}et-form-field[data-text-shell]{--_et-form-field-frame-border: var( --et-form-field-control-border-color, var(--et-surface-interaction-solid, currentColor) );--_et-form-field-frame-border-hover: var( --et-form-field-control-border-color-hover, color-mix( in srgb, var(--et-surface-interaction-solid, currentColor) 75%, var(--et-surface-color-solid, currentColor) ) );--_et-form-field-frame-focus: var( --et-form-field-control-border-color-focus, var(--et-theme-color-primary-solid, currentColor) );--_et-form-field-frame-focus-readonly: var( --et-form-field-control-border-color-focus, var(--et-surface-color-solid, currentColor) );--_et-form-field-label-color: var(--et-surface-color-muted-solid, currentColor);--_et-form-field-label-color-active: var(--et-surface-color-solid, currentColor)}et-form-field[data-text-shell][data-error]{--_et-form-field-frame-border: var(--et-theme-color-primary-solid);--_et-form-field-frame-border-hover: light-dark( rgb(var(--et-color-primary-hover, var(--et-color-primary))), rgb( var( --et-color-primary-ink-active, var( --et-color-primary-ink-focus, var( --et-color-primary-ink-hover, var( --et-color-primary-ink, var( --et-color-primary-active, var(--et-color-primary-focus, var(--et-color-primary-hover, var(--et-color-primary))) ) ) ) ) ) ) );--_et-form-field-frame-focus: var(--et-theme-color-ink-solid);--_et-form-field-frame-focus-readonly: var(--et-theme-color-ink-solid);--_et-form-field-label-color: var(--et-theme-color-ink-solid);--_et-form-field-label-color-active: var(--et-theme-color-ink-solid)}et-form-field[data-text-shell]:not(:has(>.et-form-field-shell>.et-form-field-control-frame>.et-form-field-prefix svg)){--_et-form-field-prefix-gap: 4px}et-form-field[data-text-shell] .et-form-field-control-frame{border-color:var(--_et-form-field-frame-border)}et-form-field[data-text-shell] .et-form-field-control-slot{color:var(--et-form-field-value-color)}et-form-field[data-text-shell] .et-form-field-prefix{margin-inline-end:calc(var(--_et-form-field-prefix-gap, var(--et-form-field-control-affix-gap)) - var(--et-form-field-control-affix-gap))}et-form-field[data-text-shell] .et-form-field-affix{color:var(--_et-form-field-label-color)}et-form-field[data-text-shell][data-label-mode=static][data-has-label]:not(:has(et-label[hidden])) .et-form-field-shell{padding-block-start:calc(var(--et-form-field-label-font-size) * 1.2 + var(--et-form-field-gap))}et-form-field[data-text-shell][data-label-mode=static] .et-form-field-control-area{position:static}et-form-field[data-text-shell][data-label-mode=static] .et-form-field-label-area{position:absolute;inset-block-start:0;inset-inline-start:calc(var(--_et-form-field-supporting-inset) - var(--et-form-field-control-border-width));transform:translateY(calc(-100% - var(--et-form-field-gap) - var(--et-form-field-control-border-width)))}et-form-field[data-text-shell][data-label-mode=static][data-appearance=underline][data-fill=transparent] .et-form-field-label-area{inset-inline-start:0}et-form-field[data-text-shell][data-label-mode=inline] .et-form-field-control-frame{align-items:stretch}et-form-field[data-text-shell][data-label-mode=inline] .et-form-field-control-area{position:static;gap:var(--et-form-field-control-affix-gap);align-items:stretch}et-form-field[data-text-shell][data-label-mode=inline] .et-form-field-control-slot{display:flex;align-items:center}et-form-field[data-text-shell][data-label-mode=inline] .et-form-field-label-area--inline{position:static;flex-shrink:0;transform:none;white-space:nowrap;pointer-events:auto;font-size:var(--et-form-field-control-font-size);line-height:var(--et-form-field-control-line-height);display:flex;align-items:center;margin-block:calc(var(--et-form-field-control-padding-block) * -1)}et-form-field[data-text-shell][data-label-mode=inline][data-appearance=underline] .et-form-field-label-area--inline:after{content:\":\"}et-form-field[data-text-shell][data-label-mode=inline][data-appearance=box] .et-form-field-label-area--inline{padding-inline-end:var(--et-form-field-control-padding-inline);margin-inline-end:calc(var(--et-form-field-control-padding-inline) - var(--et-form-field-control-affix-gap));border-inline-end:var(--et-form-field-control-border-width) solid var(--et-surface-border-solid, currentColor)}:is(et-form-field[data-text-shell][data-label-mode=floating-inside],et-form-field[data-text-shell][data-label-mode=floating-outside]) .et-form-field-control-slot :is(input,textarea)::placeholder,:is(et-form-field[data-text-shell][data-label-mode=floating-inside],et-form-field[data-text-shell][data-label-mode=floating-outside]) :is(.et-select-value,.et-cascader-value)[data-placeholder]{transition:color .15s ease}:is(et-form-field[data-text-shell][data-label-mode=floating-inside],et-form-field[data-text-shell][data-label-mode=floating-outside]):not([data-label-floated]) .et-form-field-control-slot :is(input,textarea)::placeholder,:is(et-form-field[data-text-shell][data-label-mode=floating-inside],et-form-field[data-text-shell][data-label-mode=floating-outside]):not([data-label-floated]) :is(.et-select-value,.et-cascader-value)[data-placeholder]{color:transparent}et-form-field[data-text-shell][data-label-mode=floating-outside] .et-form-field-control-area{align-self:stretch;display:flex;align-items:center}et-form-field[data-text-shell][data-label-mode=floating-outside] .et-form-field-label-area--floating{inset-inline-start:0}et-form-field[data-text-shell][data-label-mode=floating-outside][data-has-label]:not(:has(et-label[hidden])) .et-form-field-shell{padding-block-start:calc(var(--et-form-field-label-font-size) * 1.2 + var(--et-form-field-gap))}et-form-field[data-text-shell][data-label-mode=floating-outside][data-label-floated] .et-form-field-label-area--floating{inset-block-start:0;inset-inline-start:calc(var(--_et-form-field-prefix-offset, 0px) * -1);transform:translateY(calc(-100% - var(--et-form-field-gap) - var(--et-form-field-control-border-width) - var(--et-form-field-control-padding-block)))}et-form-field[data-text-shell][data-label-mode=floating-inside]{--_et-form-field-float-inside-extra-padding: calc( var(--et-form-field-label-font-size) * var(--_et-form-field-floating-label-scale) + 2px )}et-form-field[data-text-shell][data-label-mode=floating-inside] .et-form-field-control-area{align-self:stretch;display:flex;align-items:center;padding-block-start:var(--_et-form-field-float-inside-extra-padding)}et-form-field[data-text-shell][data-label-mode=floating-inside] .et-form-field-label-area--floating{inset-inline-start:0}et-form-field[data-text-shell][data-label-mode=floating-inside][data-label-floated] .et-form-field-label-area--floating{inset-block-start:var(--_et-form-field-float-inside-label-inset, 4px);transform:scale(var(--_et-form-field-floating-label-scale))}et-form-field[data-text-shell][data-label-mode=floating-inside] .et-form-field-control-slot{font-size:calc(var(--et-form-field-control-font-size) * .96)}et-form-field[data-text-shell] .et-form-field-label-area{color:var(--_et-form-field-label-color);max-inline-size:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}@media(hover:hover){et-form-field[data-text-shell]:where(:not([data-readonly]):not([data-disabled]):not(:has(.et-color-interactive-exclude:hover))):where(:has(.et-form-field-control-frame:hover),:has(.et-form-field-label-area:hover)) .et-form-field-control-frame{border-color:var(--_et-form-field-frame-border-hover)}et-form-field[data-text-shell]:where(:not([data-readonly]):not([data-disabled]):not(:has(.et-color-interactive-exclude:hover))):where(:has(.et-form-field-control-frame:hover),:has(.et-form-field-label-area:hover)) .et-form-field-control-slot{color:var(--et-form-field-value-color-active, var(--et-form-field-value-color))}et-form-field[data-text-shell]:where(:not([data-readonly]):not([data-disabled]):not(:has(.et-color-interactive-exclude:hover))):where(:has(.et-form-field-control-frame:hover),:has(.et-form-field-label-area:hover)) .et-form-field-label-area,et-form-field[data-text-shell]:where(:not([data-readonly]):not([data-disabled]):not(:has(.et-color-interactive-exclude:hover))):where(:has(.et-form-field-control-frame:hover),:has(.et-form-field-label-area:hover)) .et-form-field-affix{color:var(--_et-form-field-label-color-active);opacity:1}}et-form-field[data-text-shell]:where(:has(:focus-visible)) .et-form-field-control-frame,et-form-field[data-text-shell]:where([data-expanded]:not([data-readonly])) .et-form-field-control-frame,et-form-field[data-text-shell]:where([data-focused]) .et-form-field-control-frame{border-color:var(--_et-form-field-frame-focus)}et-form-field[data-text-shell][data-readonly]:where([data-focused],:has(:focus-visible)) .et-form-field-control-frame{border-color:var(--_et-form-field-frame-focus-readonly);box-shadow:inset 0 0 0 var(--et-form-field-control-focus-ring-width, var(--et-form-field-control-border-width)) var(--_et-form-field-frame-focus-readonly)}et-form-field[data-text-shell]:where(:has(:focus-visible):not([data-readonly])) .et-form-field-control-slot,et-form-field[data-text-shell]:where([data-expanded]:not([data-readonly])) .et-form-field-control-slot,et-form-field[data-text-shell]:where([data-focused]:not([data-readonly])) .et-form-field-control-slot{color:var(--et-form-field-value-color-active, var(--et-form-field-value-color))}et-form-field[data-text-shell]:where(:has(:focus-visible):not([data-readonly])) .et-form-field-label-area,et-form-field[data-text-shell]:where(:has(:focus-visible):not([data-readonly])) .et-form-field-affix,et-form-field[data-text-shell]:where([data-expanded]:not([data-readonly])) .et-form-field-label-area,et-form-field[data-text-shell]:where([data-expanded]:not([data-readonly])) .et-form-field-affix,et-form-field[data-text-shell]:where([data-focused]:not([data-readonly])) .et-form-field-label-area,et-form-field[data-text-shell]:where([data-focused]:not([data-readonly])) .et-form-field-affix{color:var(--_et-form-field-label-color-active);opacity:1}et-form-field[data-text-shell][data-readonly] .et-form-field-shell,et-form-field[data-text-shell][data-readonly] .et-form-field-control-frame{cursor:default}et-form-field[data-text-shell][data-readonly]:where(:not([data-error]):not([data-focused]):not(:has(:focus-visible))) .et-form-field-control-frame{border-color:var( --et-form-field-control-border-color-readonly, var(--et-surface-border-solid, color-mix(in srgb, var(--_et-form-field-frame-border) 50%, transparent)) )}et-form-field[data-text-shell][data-readonly]:where(:not([data-appearance=underline])) .et-form-field-control-frame{background:color-mix(in srgb,var(--et-surface-interaction-solid, currentColor) 6%,var(--_et-form-field-control-background))}et-form-field[data-text-shell][data-readonly] .et-form-field-label-area,et-form-field[data-text-shell][data-readonly] .et-form-field-control,et-form-field[data-text-shell][data-readonly] input,et-form-field[data-text-shell][data-readonly] textarea,et-form-field[data-text-shell][data-readonly] [contenteditable]{cursor:default}et-form-field[data-text-shell][data-disabled] .et-form-field-shell{cursor:not-allowed}et-form-field[data-text-shell][data-disabled] .et-form-field-control-frame{opacity:var(--et-form-field-control-disabled-opacity);pointer-events:none;box-shadow:none}et-form-field[data-text-shell][data-disabled] .et-form-field-label-area{cursor:not-allowed}et-form-field[data-text-shell][data-appearance=underline]{--et-form-field-control-min-height: calc( var(--et-form-field-control-font-size) * var(--et-form-field-control-line-height) + var(--et-form-field-control-padding-block) * 2 )}et-form-field[data-text-shell][data-appearance=underline] .et-form-field-control-frame{border-top:none;border-inline:none;border-radius:0;box-shadow:none}et-form-field[data-text-shell][data-appearance=underline][data-fill=transparent] .et-form-field-control-frame{padding-inline:0}et-form-field[data-text-shell][data-appearance=underline][data-fill=transparent] .et-form-field-errors,et-form-field[data-text-shell][data-appearance=underline][data-fill=transparent] .et-form-field-hint{padding-inline-start:0}}\n"]
|
|
36493
|
+
styles: ["@layer components.sdk{et-form-field:where([data-size=sm]){--et-form-field-gap: 4px;--_et-form-field-control-border-radius: 4px;--et-form-field-control-padding-block: 4px;--et-form-field-control-padding-inline: 10px;--et-form-field-control-affix-gap: 6px;--et-form-field-control-font-size: 12px;--et-form-field-control-min-height: var(--et-form-field-control-min-height-sm, 32px);--et-form-field-label-font-size: 12px;--_et-form-field-float-inside-label-inset: 1px}et-form-field:where([data-size=md],:not([data-size])){--et-form-field-gap: 5px;--_et-form-field-control-border-radius: 5px;--et-form-field-control-padding-block: 6px;--et-form-field-control-padding-inline: 12px;--et-form-field-control-affix-gap: 8px;--et-form-field-control-font-size: 14px;--et-form-field-control-min-height: var(--et-form-field-control-min-height-md, 50px);--et-form-field-label-font-size: 13px}et-form-field:where([data-size=lg]){--et-form-field-gap: 6px;--_et-form-field-control-border-radius: 6px;--et-form-field-control-padding-block: 8px;--et-form-field-control-padding-inline: 14px;--et-form-field-control-affix-gap: 10px;--et-form-field-control-font-size: 16px;--et-form-field-control-min-height: var(--et-form-field-control-min-height-lg, 58px);--et-form-field-label-font-size: 14px}et-form-field[data-fill=filled],et-form-field[data-fill=sunken]{--_et-form-field-control-background: var( --et-surface-background-solid, var(--et-surface-base-solid, transparent) )}et-form-field[data-text-shell]{--_et-form-field-frame-border: var( --et-form-field-control-border-color, color-mix( in oklab, var(--et-surface-color-solid, currentColor) 43%, var(--et-surface-background-solid, transparent) ) );--_et-form-field-frame-border-hover: var( --et-form-field-control-border-color-hover, var(--_et-form-field-label-color-active) );--_et-form-field-frame-focus: var( --et-form-field-control-border-color-focus, var(--et-theme-color-primary-solid, currentColor) );--_et-form-field-frame-focus-readonly: var( --et-form-field-control-border-color-focus, var(--et-surface-color-solid, currentColor) );--_et-form-field-label-color: var(--et-form-field-label-color, var(--et-surface-color-muted-solid, currentColor));--_et-form-field-label-color-active: var( --et-form-field-label-color-active, var(--et-surface-color-solid, currentColor) )}et-form-field[data-text-shell][data-error]{--_et-form-field-frame-border: var(--et-theme-color-primary-solid);--_et-form-field-frame-border-hover: light-dark( rgb(var(--et-color-primary-hover, var(--et-color-primary))), rgb( var( --et-color-primary-ink-active, var( --et-color-primary-ink-focus, var( --et-color-primary-ink-hover, var( --et-color-primary-ink, var( --et-color-primary-active, var(--et-color-primary-focus, var(--et-color-primary-hover, var(--et-color-primary))) ) ) ) ) ) ) );--_et-form-field-frame-focus: var(--et-theme-color-ink-solid);--_et-form-field-frame-focus-readonly: var(--et-theme-color-ink-solid);--_et-form-field-label-color: var(--et-theme-color-ink-solid);--_et-form-field-label-color-active: var(--et-theme-color-ink-solid)}et-form-field[data-text-shell]:not(:has(>.et-form-field-shell>.et-form-field-control-frame>.et-form-field-prefix svg)){--_et-form-field-prefix-gap: 4px}et-form-field[data-text-shell] .et-form-field-control-frame{border-color:var(--_et-form-field-frame-border)}et-form-field[data-text-shell] .et-form-field-control-slot{color:var(--et-form-field-value-color)}et-form-field[data-text-shell] .et-form-field-prefix{margin-inline-end:calc(var(--_et-form-field-prefix-gap, var(--et-form-field-control-affix-gap)) - var(--et-form-field-control-affix-gap))}et-form-field[data-text-shell] .et-form-field-affix{color:var(--_et-form-field-label-color)}et-form-field[data-text-shell][data-label-mode=static][data-has-label]:not(:has(et-label[hidden])) .et-form-field-shell{padding-block-start:calc(var(--et-form-field-label-font-size) * 1.2 + var(--et-form-field-gap))}et-form-field[data-text-shell][data-label-mode=static] .et-form-field-control-area{position:static}et-form-field[data-text-shell][data-label-mode=static] .et-form-field-label-area{position:absolute;inset-block-start:0;inset-inline-start:calc(var(--_et-form-field-supporting-inset) - var(--et-form-field-control-border-width));transform:translateY(calc(-100% - var(--et-form-field-gap) - var(--et-form-field-control-border-width)))}et-form-field[data-text-shell][data-label-mode=static][data-appearance=underline][data-fill=transparent] .et-form-field-label-area{inset-inline-start:0}et-form-field[data-text-shell][data-label-mode=inline] .et-form-field-control-frame{align-items:stretch}et-form-field[data-text-shell][data-label-mode=inline] .et-form-field-control-area{position:static;gap:var(--et-form-field-control-affix-gap);align-items:stretch}et-form-field[data-text-shell][data-label-mode=inline] .et-form-field-control-slot{display:flex;align-items:center}et-form-field[data-text-shell][data-label-mode=inline] .et-form-field-label-area--inline{position:static;flex-shrink:0;transform:none;white-space:nowrap;pointer-events:auto;font-size:var(--et-form-field-control-font-size);line-height:var(--et-form-field-control-line-height);display:flex;align-items:center;margin-block:calc(var(--et-form-field-control-padding-block) * -1)}et-form-field[data-text-shell][data-label-mode=inline][data-appearance=underline] .et-form-field-label-area--inline:after{content:\":\"}et-form-field[data-text-shell][data-label-mode=inline][data-appearance=box] .et-form-field-label-area--inline{padding-inline-end:var(--et-form-field-control-padding-inline);margin-inline-end:calc(var(--et-form-field-control-padding-inline) - var(--et-form-field-control-affix-gap));border-inline-end:var(--et-form-field-control-border-width) solid var(--et-surface-border-solid, currentColor)}:is(et-form-field[data-text-shell][data-label-mode=floating-inside],et-form-field[data-text-shell][data-label-mode=floating-outside]) .et-form-field-control-slot :is(input,textarea)::placeholder,:is(et-form-field[data-text-shell][data-label-mode=floating-inside],et-form-field[data-text-shell][data-label-mode=floating-outside]) :is(.et-select-value,.et-cascader-value)[data-placeholder]{transition:color .15s ease}:is(et-form-field[data-text-shell][data-label-mode=floating-inside],et-form-field[data-text-shell][data-label-mode=floating-outside]):not([data-label-floated]) .et-form-field-control-slot :is(input,textarea)::placeholder,:is(et-form-field[data-text-shell][data-label-mode=floating-inside],et-form-field[data-text-shell][data-label-mode=floating-outside]):not([data-label-floated]) :is(.et-select-value,.et-cascader-value)[data-placeholder]{color:transparent}et-form-field[data-text-shell][data-label-mode=floating-outside] .et-form-field-control-area{align-self:stretch;display:flex;align-items:center}et-form-field[data-text-shell][data-label-mode=floating-outside] .et-form-field-label-area--floating{inset-inline-start:0}et-form-field[data-text-shell][data-label-mode=floating-outside][data-has-label]:not(:has(et-label[hidden])) .et-form-field-shell{padding-block-start:calc(var(--et-form-field-label-font-size) * 1.2 + var(--et-form-field-gap))}et-form-field[data-text-shell][data-label-mode=floating-outside][data-label-floated] .et-form-field-label-area--floating{inset-block-start:0;inset-inline-start:calc(var(--_et-form-field-prefix-offset, 0px) * -1);transform:translateY(calc(-100% - var(--et-form-field-gap) - var(--et-form-field-control-border-width) - var(--et-form-field-control-padding-block)))}et-form-field[data-text-shell][data-label-mode=floating-inside]{--_et-form-field-float-inside-extra-padding: calc( var(--et-form-field-label-font-size) * var(--_et-form-field-floating-label-scale) + 2px )}et-form-field[data-text-shell][data-label-mode=floating-inside] .et-form-field-control-area{align-self:stretch;display:flex;align-items:center;padding-block-start:var(--_et-form-field-float-inside-extra-padding)}et-form-field[data-text-shell][data-label-mode=floating-inside] .et-form-field-label-area--floating{inset-inline-start:0}et-form-field[data-text-shell][data-label-mode=floating-inside][data-label-floated] .et-form-field-label-area--floating{inset-block-start:var(--_et-form-field-float-inside-label-inset, 4px);transform:scale(var(--_et-form-field-floating-label-scale))}et-form-field[data-text-shell][data-label-mode=floating-inside] .et-form-field-control-slot{font-size:calc(var(--et-form-field-control-font-size) * .96)}et-form-field[data-text-shell] .et-form-field-label-area{color:var(--_et-form-field-label-color);max-inline-size:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}@media(hover:hover){et-form-field[data-text-shell]:where(:not([data-readonly]):not([data-disabled]):not(:has(.et-color-interactive-exclude:hover))):where(:has(.et-form-field-control-frame:hover),:has(.et-form-field-label-area:hover)) .et-form-field-control-frame{border-color:var(--_et-form-field-frame-border-hover)}et-form-field[data-text-shell]:where(:not([data-readonly]):not([data-disabled]):not(:has(.et-color-interactive-exclude:hover))):where(:has(.et-form-field-control-frame:hover),:has(.et-form-field-label-area:hover)) .et-form-field-control-slot{color:var(--et-form-field-value-color-active, var(--et-form-field-value-color))}et-form-field[data-text-shell]:where(:not([data-readonly]):not([data-disabled]):not(:has(.et-color-interactive-exclude:hover))):where(:has(.et-form-field-control-frame:hover),:has(.et-form-field-label-area:hover)) .et-form-field-label-area,et-form-field[data-text-shell]:where(:not([data-readonly]):not([data-disabled]):not(:has(.et-color-interactive-exclude:hover))):where(:has(.et-form-field-control-frame:hover),:has(.et-form-field-label-area:hover)) .et-form-field-affix{color:var(--_et-form-field-label-color-active);opacity:1}}et-form-field[data-text-shell]:where(:has(:focus-visible)) .et-form-field-control-frame,et-form-field[data-text-shell]:where([data-expanded]:not([data-readonly])) .et-form-field-control-frame,et-form-field[data-text-shell]:where([data-focused]) .et-form-field-control-frame{border-color:var(--_et-form-field-frame-focus)}et-form-field[data-text-shell][data-readonly]:where([data-focused],:has(:focus-visible)) .et-form-field-control-frame{border-color:var(--_et-form-field-frame-focus-readonly);box-shadow:inset 0 0 0 var(--et-form-field-control-focus-ring-width, var(--et-form-field-control-border-width)) var(--_et-form-field-frame-focus-readonly)}et-form-field[data-text-shell]:where(:has(:focus-visible):not([data-readonly])) .et-form-field-control-slot,et-form-field[data-text-shell]:where([data-expanded]:not([data-readonly])) .et-form-field-control-slot,et-form-field[data-text-shell]:where([data-focused]:not([data-readonly])) .et-form-field-control-slot{color:var(--et-form-field-value-color-active, var(--et-form-field-value-color))}et-form-field[data-text-shell]:where(:has(:focus-visible):not([data-readonly])) .et-form-field-label-area,et-form-field[data-text-shell]:where(:has(:focus-visible):not([data-readonly])) .et-form-field-affix,et-form-field[data-text-shell]:where([data-expanded]:not([data-readonly])) .et-form-field-label-area,et-form-field[data-text-shell]:where([data-expanded]:not([data-readonly])) .et-form-field-affix,et-form-field[data-text-shell]:where([data-focused]:not([data-readonly])) .et-form-field-label-area,et-form-field[data-text-shell]:where([data-focused]:not([data-readonly])) .et-form-field-affix{color:var(--_et-form-field-label-color-active);opacity:1}et-form-field[data-text-shell][data-readonly] .et-form-field-shell,et-form-field[data-text-shell][data-readonly] .et-form-field-control-frame{cursor:default}et-form-field[data-text-shell][data-readonly]:where(:not([data-error]):not([data-focused]):not(:has(:focus-visible))) .et-form-field-control-frame{border-color:var( --et-form-field-control-border-color-readonly, var(--et-surface-border-solid, color-mix(in srgb, var(--_et-form-field-frame-border) 50%, transparent)) )}et-form-field[data-text-shell][data-readonly]:where(:not([data-appearance=underline])) .et-form-field-control-frame{background:color-mix(in srgb,var(--et-surface-interaction-solid, currentColor) 6%,var(--_et-form-field-control-background))}et-form-field[data-text-shell][data-readonly] .et-form-field-label-area,et-form-field[data-text-shell][data-readonly] .et-form-field-control,et-form-field[data-text-shell][data-readonly] input,et-form-field[data-text-shell][data-readonly] textarea,et-form-field[data-text-shell][data-readonly] [contenteditable]{cursor:default}et-form-field[data-text-shell][data-disabled] .et-form-field-shell{cursor:not-allowed}et-form-field[data-text-shell][data-disabled] .et-form-field-control-frame{opacity:var(--et-form-field-control-disabled-opacity);pointer-events:none;box-shadow:none}et-form-field[data-text-shell][data-disabled] .et-form-field-label-area{cursor:not-allowed}et-form-field[data-text-shell][data-appearance=underline]{--et-form-field-control-min-height: calc( var(--et-form-field-control-font-size) * var(--et-form-field-control-line-height) + var(--et-form-field-control-padding-block) * 2 )}et-form-field[data-text-shell][data-appearance=underline] .et-form-field-control-frame{border-top:none;border-inline:none;border-radius:0;box-shadow:none}et-form-field[data-text-shell][data-appearance=underline][data-fill=transparent] .et-form-field-control-frame{padding-inline:0}et-form-field[data-text-shell][data-appearance=underline][data-fill=transparent] .et-form-field-errors,et-form-field[data-text-shell][data-appearance=underline][data-fill=transparent] .et-form-field-hint{padding-inline-start:0}}\n"]
|
|
36419
36494
|
}]
|
|
36420
36495
|
}]
|
|
36421
36496
|
});
|
|
@@ -39950,7 +40025,7 @@ var CheckboxComponent = class CheckboxComponent {
|
|
|
39950
40025
|
],
|
|
39951
40026
|
ngImport: i0,
|
|
39952
40027
|
template: "<div class=\"et-checkbox-box\">\n <svg\n #checkmark\n [style.color]=\"frozenCheckmarkColor()\"\n class=\"et-checkbox-checkmark\"\n viewBox=\"0 0 16 16\"\n aria-hidden=\"true\"\n >\n <polyline\n class=\"et-checkbox-checkmark-path\"\n points=\"3.5 8 6.5 11 12.5 5\"\n fill=\"none\"\n stroke=\"currentColor\"\n stroke-width=\"2\"\n stroke-linecap=\"round\"\n stroke-linejoin=\"round\"\n />\n </svg>\n <svg\n #indeterminate\n [style.color]=\"frozenIndeterminateColor()\"\n class=\"et-checkbox-indeterminate\"\n viewBox=\"0 0 16 16\"\n aria-hidden=\"true\"\n >\n <line\n class=\"et-checkbox-indeterminate-path\"\n x1=\"4\"\n y1=\"8\"\n x2=\"12\"\n y2=\"8\"\n fill=\"none\"\n stroke=\"currentColor\"\n stroke-width=\"2\"\n stroke-linecap=\"round\"\n />\n </svg>\n</div>\n",
|
|
39953
|
-
styles: ["@layer components.sdk{@property --et-checkbox-size{syntax: \"<length>\"; inherits: true; initial-value: 20px;}@property --et-checkbox-border-radius{syntax: \"<length>\"; inherits: true; initial-value: 4px;}@property --et-checkbox-border-width{syntax: \"<length>\"; inherits: true; initial-value: 2px;}@property --et-checkbox-transition-duration{syntax: \"<time>\"; inherits: true; initial-value: .15s;}@property --et-checkbox-opacity-disabled{syntax: \"<number>\"; inherits: true; initial-value: .5;}et-checkbox{display:inline-flex;align-items:center;cursor:pointer;border-radius:var(--et-checkbox-border-radius)}et-checkbox[data-readonly]{cursor:default}et-checkbox[aria-disabled=true]{opacity:var(--et-checkbox-opacity-disabled);pointer-events:none;cursor:default}et-checkbox .et-checkbox-box{box-sizing:border-box;position:relative;display:grid;place-items:center;width:var(--et-checkbox-size);height:var(--et-checkbox-size);border:var(--et-checkbox-border-width) solid var(--et-surface-
|
|
40028
|
+
styles: ["@layer components.sdk{@property --et-checkbox-size{syntax: \"<length>\"; inherits: true; initial-value: 20px;}@property --et-checkbox-border-radius{syntax: \"<length>\"; inherits: true; initial-value: 4px;}@property --et-checkbox-border-width{syntax: \"<length>\"; inherits: true; initial-value: 2px;}@property --et-checkbox-transition-duration{syntax: \"<time>\"; inherits: true; initial-value: .15s;}@property --et-checkbox-opacity-disabled{syntax: \"<number>\"; inherits: true; initial-value: .5;}et-checkbox{display:inline-flex;align-items:center;cursor:pointer;border-radius:var(--et-checkbox-border-radius)}et-checkbox[data-readonly]{cursor:default}et-checkbox[aria-disabled=true]{opacity:var(--et-checkbox-opacity-disabled);pointer-events:none;cursor:default}et-checkbox .et-checkbox-box{box-sizing:border-box;position:relative;display:grid;place-items:center;width:var(--et-checkbox-size);height:var(--et-checkbox-size);border:var(--et-checkbox-border-width) solid color-mix(in oklab,var(--et-surface-color-solid, currentColor) 43%,var(--et-surface-background-solid, transparent));border-radius:var(--et-checkbox-border-radius)}@media(hover:hover){et-checkbox:hover:not([aria-disabled=true]):not([data-readonly]):not([aria-checked=true]):not([aria-checked=mixed]) .et-checkbox-box,:where(et-choice-field:has(.et-choice-field-label-area:hover)) et-checkbox:not([aria-disabled=true]):not([data-readonly]):not([aria-checked=true]):not([aria-checked=mixed]) .et-checkbox-box{border-color:var(--et-surface-color-solid, currentColor)}}:where(et-choice-field[data-error]) et-checkbox:not([aria-disabled=true]) .et-checkbox-box{border-color:var(--et-theme-color-primary-solid)}@media(hover:hover){:where(et-choice-field[data-error]) et-checkbox:hover:not([aria-disabled=true]):not([data-readonly]):not([aria-checked=true]):not([aria-checked=mixed]) .et-checkbox-box,:where(et-choice-field[data-error]:has(.et-choice-field-label-area:hover)) et-checkbox:not([aria-disabled=true]):not([data-readonly]):not([aria-checked=true]):not([aria-checked=mixed]) .et-checkbox-box{border-color:light-dark(rgb(var(--et-color-primary-hover, var(--et-color-primary))),rgb(var( --et-color-primary-ink-active, var( --et-color-primary-ink-focus, var( --et-color-primary-ink-hover, var( --et-color-primary-ink, var( --et-color-primary-active, var(--et-color-primary-focus, var(--et-color-primary-hover, var(--et-color-primary))) ) ) ) ) )))}}et-checkbox:focus-visible:not([aria-checked=true]):not([aria-checked=mixed]){--_et-focus-ring-color: var(--et-surface-color-solid, currentColor)}et-checkbox:focus-visible:not([aria-checked=true]):not([aria-checked=mixed]) .et-checkbox-box{border-color:var(--et-surface-color-solid, currentColor)}et-checkbox:focus-visible:is([aria-checked=true],[aria-checked=mixed]) .et-checkbox-box{border-color:var(--et-theme-color-primary-solid)}et-choice-field[data-error] et-checkbox:focus-visible:not([aria-checked=true]):not([aria-checked=mixed]){--_et-focus-ring-color: light-dark( var(--et-theme-color-ink-solid, currentColor), var(--et-theme-color-primary-solid, currentColor) )}et-choice-field[data-error] et-checkbox:focus-visible:not([aria-checked=true]):not([aria-checked=mixed]) .et-checkbox-box{border-color:var(--et-theme-color-primary-solid)}:where(et-choice-field[data-variant=card]) et-checkbox:focus-visible:not([aria-checked=true]):not([aria-checked=mixed]) .et-checkbox-box{border-color:var(--et-theme-color-primary-solid)}et-checkbox:active:not([aria-disabled=true]):not([data-readonly]):not([aria-checked=true]):not([aria-checked=mixed]) .et-checkbox-box,et-checkbox.et-focus-ring--active:not([aria-disabled=true]):not([data-readonly]):not([aria-checked=true]):not([aria-checked=mixed]) .et-checkbox-box,:where(et-choice-field:has(.et-choice-field-label-area:active)) et-checkbox:not([aria-disabled=true]):not([data-readonly]):not([aria-checked=true]):not([aria-checked=mixed]) .et-checkbox-box{border-color:var(--et-surface-color-solid, currentColor);transform:scale(.95)}et-checkbox:active:not([aria-disabled=true]):not([data-readonly]):is([aria-checked=true],[aria-checked=mixed]) .et-checkbox-box,et-checkbox.et-focus-ring--active:not([aria-disabled=true]):not([data-readonly]):is([aria-checked=true],[aria-checked=mixed]) .et-checkbox-box,:where(et-choice-field:has(.et-choice-field-label-area:active)) et-checkbox:not([aria-disabled=true]):not([data-readonly]):is([aria-checked=true],[aria-checked=mixed]) .et-checkbox-box{transform:scale(.95)}et-checkbox .et-checkbox-checkmark{position:absolute;inset:0;width:100%;height:100%;color:var(--et-theme-color-on-primary-solid, white);opacity:0}et-checkbox .et-checkbox-checkmark-path{stroke-dasharray:18;stroke-dashoffset:18}et-checkbox .et-checkbox-indeterminate{position:absolute;inset:0;width:100%;height:100%;color:var(--et-theme-color-on-primary-solid, white);opacity:0}et-checkbox .et-checkbox-indeterminate-path{stroke-dasharray:8;stroke-dashoffset:8}et-checkbox[aria-checked=true] .et-checkbox-box{background-color:var(--et-theme-color-primary-solid, currentColor);border-color:var(--et-theme-color-primary-solid, currentColor)}et-checkbox[aria-checked=true] .et-checkbox-checkmark{opacity:1}et-checkbox[aria-checked=true] .et-checkbox-checkmark-path{stroke-dashoffset:0}et-checkbox[aria-checked=mixed] .et-checkbox-box{background-color:var(--et-theme-color-primary-solid, currentColor);border-color:var(--et-theme-color-primary-solid, currentColor)}et-checkbox[aria-checked=mixed] .et-checkbox-indeterminate{opacity:1}et-checkbox[aria-checked=mixed] .et-checkbox-indeterminate-path{stroke-dashoffset:0}et-checkbox[data-can-animate]{transition:opacity var(--et-checkbox-transition-duration) ease,outline-color var(--et-checkbox-transition-duration) ease}et-checkbox[data-can-animate] .et-checkbox-box{transition:background-color var(--et-checkbox-transition-duration) ease,border-color var(--et-checkbox-transition-duration) ease,transform var(--et-checkbox-transition-duration) ease}et-checkbox[data-can-animate] .et-checkbox-checkmark{transition:opacity 0s calc(var(--et-checkbox-transition-duration) * 1.5)}et-checkbox[data-can-animate] .et-checkbox-checkmark-path{transition:stroke-dashoffset calc(var(--et-checkbox-transition-duration) * 1.5) ease}et-checkbox[data-can-animate] .et-checkbox-indeterminate{transition:opacity 0s calc(var(--et-checkbox-transition-duration) * 1.5)}et-checkbox[data-can-animate] .et-checkbox-indeterminate-path{transition:stroke-dashoffset calc(var(--et-checkbox-transition-duration) * 1.5) ease}et-checkbox[data-can-animate][aria-checked=true] .et-checkbox-checkmark{transition:opacity 0s 0s}et-checkbox[data-can-animate][aria-checked=mixed] .et-checkbox-indeterminate{transition:opacity 0s 0s}}\n"],
|
|
39954
40029
|
encapsulation: i0.ViewEncapsulation.None
|
|
39955
40030
|
});
|
|
39956
40031
|
}
|
|
@@ -39996,7 +40071,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
39996
40071
|
"[attr.data-can-animate]": "canAnimate.state() || null"
|
|
39997
40072
|
},
|
|
39998
40073
|
template: "<div class=\"et-checkbox-box\">\n <svg\n #checkmark\n [style.color]=\"frozenCheckmarkColor()\"\n class=\"et-checkbox-checkmark\"\n viewBox=\"0 0 16 16\"\n aria-hidden=\"true\"\n >\n <polyline\n class=\"et-checkbox-checkmark-path\"\n points=\"3.5 8 6.5 11 12.5 5\"\n fill=\"none\"\n stroke=\"currentColor\"\n stroke-width=\"2\"\n stroke-linecap=\"round\"\n stroke-linejoin=\"round\"\n />\n </svg>\n <svg\n #indeterminate\n [style.color]=\"frozenIndeterminateColor()\"\n class=\"et-checkbox-indeterminate\"\n viewBox=\"0 0 16 16\"\n aria-hidden=\"true\"\n >\n <line\n class=\"et-checkbox-indeterminate-path\"\n x1=\"4\"\n y1=\"8\"\n x2=\"12\"\n y2=\"8\"\n fill=\"none\"\n stroke=\"currentColor\"\n stroke-width=\"2\"\n stroke-linecap=\"round\"\n />\n </svg>\n</div>\n",
|
|
39999
|
-
styles: ["@layer components.sdk{@property --et-checkbox-size{syntax: \"<length>\"; inherits: true; initial-value: 20px;}@property --et-checkbox-border-radius{syntax: \"<length>\"; inherits: true; initial-value: 4px;}@property --et-checkbox-border-width{syntax: \"<length>\"; inherits: true; initial-value: 2px;}@property --et-checkbox-transition-duration{syntax: \"<time>\"; inherits: true; initial-value: .15s;}@property --et-checkbox-opacity-disabled{syntax: \"<number>\"; inherits: true; initial-value: .5;}et-checkbox{display:inline-flex;align-items:center;cursor:pointer;border-radius:var(--et-checkbox-border-radius)}et-checkbox[data-readonly]{cursor:default}et-checkbox[aria-disabled=true]{opacity:var(--et-checkbox-opacity-disabled);pointer-events:none;cursor:default}et-checkbox .et-checkbox-box{box-sizing:border-box;position:relative;display:grid;place-items:center;width:var(--et-checkbox-size);height:var(--et-checkbox-size);border:var(--et-checkbox-border-width) solid var(--et-surface-
|
|
40074
|
+
styles: ["@layer components.sdk{@property --et-checkbox-size{syntax: \"<length>\"; inherits: true; initial-value: 20px;}@property --et-checkbox-border-radius{syntax: \"<length>\"; inherits: true; initial-value: 4px;}@property --et-checkbox-border-width{syntax: \"<length>\"; inherits: true; initial-value: 2px;}@property --et-checkbox-transition-duration{syntax: \"<time>\"; inherits: true; initial-value: .15s;}@property --et-checkbox-opacity-disabled{syntax: \"<number>\"; inherits: true; initial-value: .5;}et-checkbox{display:inline-flex;align-items:center;cursor:pointer;border-radius:var(--et-checkbox-border-radius)}et-checkbox[data-readonly]{cursor:default}et-checkbox[aria-disabled=true]{opacity:var(--et-checkbox-opacity-disabled);pointer-events:none;cursor:default}et-checkbox .et-checkbox-box{box-sizing:border-box;position:relative;display:grid;place-items:center;width:var(--et-checkbox-size);height:var(--et-checkbox-size);border:var(--et-checkbox-border-width) solid color-mix(in oklab,var(--et-surface-color-solid, currentColor) 43%,var(--et-surface-background-solid, transparent));border-radius:var(--et-checkbox-border-radius)}@media(hover:hover){et-checkbox:hover:not([aria-disabled=true]):not([data-readonly]):not([aria-checked=true]):not([aria-checked=mixed]) .et-checkbox-box,:where(et-choice-field:has(.et-choice-field-label-area:hover)) et-checkbox:not([aria-disabled=true]):not([data-readonly]):not([aria-checked=true]):not([aria-checked=mixed]) .et-checkbox-box{border-color:var(--et-surface-color-solid, currentColor)}}:where(et-choice-field[data-error]) et-checkbox:not([aria-disabled=true]) .et-checkbox-box{border-color:var(--et-theme-color-primary-solid)}@media(hover:hover){:where(et-choice-field[data-error]) et-checkbox:hover:not([aria-disabled=true]):not([data-readonly]):not([aria-checked=true]):not([aria-checked=mixed]) .et-checkbox-box,:where(et-choice-field[data-error]:has(.et-choice-field-label-area:hover)) et-checkbox:not([aria-disabled=true]):not([data-readonly]):not([aria-checked=true]):not([aria-checked=mixed]) .et-checkbox-box{border-color:light-dark(rgb(var(--et-color-primary-hover, var(--et-color-primary))),rgb(var( --et-color-primary-ink-active, var( --et-color-primary-ink-focus, var( --et-color-primary-ink-hover, var( --et-color-primary-ink, var( --et-color-primary-active, var(--et-color-primary-focus, var(--et-color-primary-hover, var(--et-color-primary))) ) ) ) ) )))}}et-checkbox:focus-visible:not([aria-checked=true]):not([aria-checked=mixed]){--_et-focus-ring-color: var(--et-surface-color-solid, currentColor)}et-checkbox:focus-visible:not([aria-checked=true]):not([aria-checked=mixed]) .et-checkbox-box{border-color:var(--et-surface-color-solid, currentColor)}et-checkbox:focus-visible:is([aria-checked=true],[aria-checked=mixed]) .et-checkbox-box{border-color:var(--et-theme-color-primary-solid)}et-choice-field[data-error] et-checkbox:focus-visible:not([aria-checked=true]):not([aria-checked=mixed]){--_et-focus-ring-color: light-dark( var(--et-theme-color-ink-solid, currentColor), var(--et-theme-color-primary-solid, currentColor) )}et-choice-field[data-error] et-checkbox:focus-visible:not([aria-checked=true]):not([aria-checked=mixed]) .et-checkbox-box{border-color:var(--et-theme-color-primary-solid)}:where(et-choice-field[data-variant=card]) et-checkbox:focus-visible:not([aria-checked=true]):not([aria-checked=mixed]) .et-checkbox-box{border-color:var(--et-theme-color-primary-solid)}et-checkbox:active:not([aria-disabled=true]):not([data-readonly]):not([aria-checked=true]):not([aria-checked=mixed]) .et-checkbox-box,et-checkbox.et-focus-ring--active:not([aria-disabled=true]):not([data-readonly]):not([aria-checked=true]):not([aria-checked=mixed]) .et-checkbox-box,:where(et-choice-field:has(.et-choice-field-label-area:active)) et-checkbox:not([aria-disabled=true]):not([data-readonly]):not([aria-checked=true]):not([aria-checked=mixed]) .et-checkbox-box{border-color:var(--et-surface-color-solid, currentColor);transform:scale(.95)}et-checkbox:active:not([aria-disabled=true]):not([data-readonly]):is([aria-checked=true],[aria-checked=mixed]) .et-checkbox-box,et-checkbox.et-focus-ring--active:not([aria-disabled=true]):not([data-readonly]):is([aria-checked=true],[aria-checked=mixed]) .et-checkbox-box,:where(et-choice-field:has(.et-choice-field-label-area:active)) et-checkbox:not([aria-disabled=true]):not([data-readonly]):is([aria-checked=true],[aria-checked=mixed]) .et-checkbox-box{transform:scale(.95)}et-checkbox .et-checkbox-checkmark{position:absolute;inset:0;width:100%;height:100%;color:var(--et-theme-color-on-primary-solid, white);opacity:0}et-checkbox .et-checkbox-checkmark-path{stroke-dasharray:18;stroke-dashoffset:18}et-checkbox .et-checkbox-indeterminate{position:absolute;inset:0;width:100%;height:100%;color:var(--et-theme-color-on-primary-solid, white);opacity:0}et-checkbox .et-checkbox-indeterminate-path{stroke-dasharray:8;stroke-dashoffset:8}et-checkbox[aria-checked=true] .et-checkbox-box{background-color:var(--et-theme-color-primary-solid, currentColor);border-color:var(--et-theme-color-primary-solid, currentColor)}et-checkbox[aria-checked=true] .et-checkbox-checkmark{opacity:1}et-checkbox[aria-checked=true] .et-checkbox-checkmark-path{stroke-dashoffset:0}et-checkbox[aria-checked=mixed] .et-checkbox-box{background-color:var(--et-theme-color-primary-solid, currentColor);border-color:var(--et-theme-color-primary-solid, currentColor)}et-checkbox[aria-checked=mixed] .et-checkbox-indeterminate{opacity:1}et-checkbox[aria-checked=mixed] .et-checkbox-indeterminate-path{stroke-dashoffset:0}et-checkbox[data-can-animate]{transition:opacity var(--et-checkbox-transition-duration) ease,outline-color var(--et-checkbox-transition-duration) ease}et-checkbox[data-can-animate] .et-checkbox-box{transition:background-color var(--et-checkbox-transition-duration) ease,border-color var(--et-checkbox-transition-duration) ease,transform var(--et-checkbox-transition-duration) ease}et-checkbox[data-can-animate] .et-checkbox-checkmark{transition:opacity 0s calc(var(--et-checkbox-transition-duration) * 1.5)}et-checkbox[data-can-animate] .et-checkbox-checkmark-path{transition:stroke-dashoffset calc(var(--et-checkbox-transition-duration) * 1.5) ease}et-checkbox[data-can-animate] .et-checkbox-indeterminate{transition:opacity 0s calc(var(--et-checkbox-transition-duration) * 1.5)}et-checkbox[data-can-animate] .et-checkbox-indeterminate-path{transition:stroke-dashoffset calc(var(--et-checkbox-transition-duration) * 1.5) ease}et-checkbox[data-can-animate][aria-checked=true] .et-checkbox-checkmark{transition:opacity 0s 0s}et-checkbox[data-can-animate][aria-checked=mixed] .et-checkbox-indeterminate{transition:opacity 0s 0s}}\n"]
|
|
40000
40075
|
}]
|
|
40001
40076
|
}],
|
|
40002
40077
|
ctorParameters: () => [],
|
|
@@ -40033,7 +40108,7 @@ var ChoiceFieldCardStylesComponent = class ChoiceFieldCardStylesComponent {
|
|
|
40033
40108
|
ngImport: i0,
|
|
40034
40109
|
template: "",
|
|
40035
40110
|
isInline: true,
|
|
40036
|
-
styles: ["@layer components.sdk{et-choice-field:where([data-variant=card]){width:auto;--et-checkbox-opacity-disabled: 1;--et-switch-opacity-disabled: 1}et-choice-field:where([data-variant=card]) .et-choice-field-control{position:relative}et-choice-field:where([data-variant=card]) .et-choice-field-control:where(:has([aria-disabled=true])){cursor:not-allowed;opacity:var(--et-selection-card-disabled-opacity)}et-choice-field:where([data-variant=card]) .et-choice-field-control-slot>*:after{content:\"\";position:absolute;inset:calc(-1 * var(--et-selection-card-border-width));border-radius:var(--et-selection-card-border-radius)}et-choice-field:where([data-variant=card]) :is(.et-selection-card-content,[etSelectionCardTrailing]) :is(a,button,input,select,textarea,[tabindex]),et-choice-field:where([data-variant=card]) [etSelectionCardTrailing]:is(a,button,input,select,textarea,[tabindex]){position:relative;z-index:1}et-choice-field:where([data-variant=card]) .et-choice-field-control-slot>:focus-visible{outline-color:transparent}et-choice-field:where([data-variant=card]) .et-choice-field-label-area{color:var(--et-surface-color-muted-solid, currentColor)}et-choice-field:where([data-variant=card]):where(:has(:is([aria-checked=true],[aria-checked=mixed]))) .et-choice-field-label-area{color:var(--et-surface-color-solid, currentColor)}et-choice-field:where([data-variant=card])[data-can-animate] .et-choice-field-control{transition:border-color var(--et-selection-card-transition-duration) ease,background-color var(--et-selection-card-transition-duration) ease,opacity var(--et-selection-card-transition-duration) ease}}\n"],
|
|
40111
|
+
styles: ["@layer components.sdk{et-choice-field:where([data-variant=card]){width:auto;--et-checkbox-opacity-disabled: 1;--et-switch-opacity-disabled: 1}et-choice-field:where([data-variant=card]) .et-choice-field-control{position:relative}et-choice-field:where([data-variant=card]) .et-choice-field-control:where(:has([aria-disabled=true])){cursor:not-allowed;opacity:var(--et-selection-card-disabled-opacity)}et-choice-field:where([data-variant=card]) .et-choice-field-control-slot>*:after{content:\"\";position:absolute;inset:calc(-1 * var(--et-selection-card-border-width));border-radius:var(--et-selection-card-border-radius)}et-choice-field:where([data-variant=card]) :is(.et-selection-card-content,[etSelectionCardTrailing]) :is(a,button,input,select,textarea,[tabindex]),et-choice-field:where([data-variant=card]) [etSelectionCardTrailing]:is(a,button,input,select,textarea,[tabindex]){position:relative;z-index:1}et-choice-field:where([data-variant=card]) .et-choice-field-control-slot>:focus-visible{outline-color:transparent}et-choice-field:where([data-variant=card]) .et-choice-field-label-area{color:var(--et-surface-color-muted-solid, currentColor)}et-choice-field:where([data-variant=card]):where(:has(:is([aria-checked=true],[aria-checked=mixed]))) .et-choice-field-label-area{color:var(--et-surface-color-solid, currentColor)}@media(hover:hover){et-choice-field:where([data-variant=card]):where(:has(.et-choice-field-control:hover)):where(:not(:has([aria-disabled=true],[data-readonly]))) .et-choice-field-label-area{color:var(--et-surface-color-solid, currentColor)}}et-choice-field:where([data-variant=card])[data-can-animate] .et-choice-field-control{transition:border-color var(--et-selection-card-transition-duration) ease,background-color var(--et-selection-card-transition-duration) ease,opacity var(--et-selection-card-transition-duration) ease}}\n"],
|
|
40037
40112
|
encapsulation: i0.ViewEncapsulation.None
|
|
40038
40113
|
});
|
|
40039
40114
|
}
|
|
@@ -40049,7 +40124,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
40049
40124
|
selector: "et-choice-field-card-styles",
|
|
40050
40125
|
template: "",
|
|
40051
40126
|
encapsulation: ViewEncapsulation.None,
|
|
40052
|
-
styles: ["@layer components.sdk{et-choice-field:where([data-variant=card]){width:auto;--et-checkbox-opacity-disabled: 1;--et-switch-opacity-disabled: 1}et-choice-field:where([data-variant=card]) .et-choice-field-control{position:relative}et-choice-field:where([data-variant=card]) .et-choice-field-control:where(:has([aria-disabled=true])){cursor:not-allowed;opacity:var(--et-selection-card-disabled-opacity)}et-choice-field:where([data-variant=card]) .et-choice-field-control-slot>*:after{content:\"\";position:absolute;inset:calc(-1 * var(--et-selection-card-border-width));border-radius:var(--et-selection-card-border-radius)}et-choice-field:where([data-variant=card]) :is(.et-selection-card-content,[etSelectionCardTrailing]) :is(a,button,input,select,textarea,[tabindex]),et-choice-field:where([data-variant=card]) [etSelectionCardTrailing]:is(a,button,input,select,textarea,[tabindex]){position:relative;z-index:1}et-choice-field:where([data-variant=card]) .et-choice-field-control-slot>:focus-visible{outline-color:transparent}et-choice-field:where([data-variant=card]) .et-choice-field-label-area{color:var(--et-surface-color-muted-solid, currentColor)}et-choice-field:where([data-variant=card]):where(:has(:is([aria-checked=true],[aria-checked=mixed]))) .et-choice-field-label-area{color:var(--et-surface-color-solid, currentColor)}et-choice-field:where([data-variant=card])[data-can-animate] .et-choice-field-control{transition:border-color var(--et-selection-card-transition-duration) ease,background-color var(--et-selection-card-transition-duration) ease,opacity var(--et-selection-card-transition-duration) ease}}\n"]
|
|
40127
|
+
styles: ["@layer components.sdk{et-choice-field:where([data-variant=card]){width:auto;--et-checkbox-opacity-disabled: 1;--et-switch-opacity-disabled: 1}et-choice-field:where([data-variant=card]) .et-choice-field-control{position:relative}et-choice-field:where([data-variant=card]) .et-choice-field-control:where(:has([aria-disabled=true])){cursor:not-allowed;opacity:var(--et-selection-card-disabled-opacity)}et-choice-field:where([data-variant=card]) .et-choice-field-control-slot>*:after{content:\"\";position:absolute;inset:calc(-1 * var(--et-selection-card-border-width));border-radius:var(--et-selection-card-border-radius)}et-choice-field:where([data-variant=card]) :is(.et-selection-card-content,[etSelectionCardTrailing]) :is(a,button,input,select,textarea,[tabindex]),et-choice-field:where([data-variant=card]) [etSelectionCardTrailing]:is(a,button,input,select,textarea,[tabindex]){position:relative;z-index:1}et-choice-field:where([data-variant=card]) .et-choice-field-control-slot>:focus-visible{outline-color:transparent}et-choice-field:where([data-variant=card]) .et-choice-field-label-area{color:var(--et-surface-color-muted-solid, currentColor)}et-choice-field:where([data-variant=card]):where(:has(:is([aria-checked=true],[aria-checked=mixed]))) .et-choice-field-label-area{color:var(--et-surface-color-solid, currentColor)}@media(hover:hover){et-choice-field:where([data-variant=card]):where(:has(.et-choice-field-control:hover)):where(:not(:has([aria-disabled=true],[data-readonly]))) .et-choice-field-label-area{color:var(--et-surface-color-solid, currentColor)}}et-choice-field:where([data-variant=card])[data-can-animate] .et-choice-field-control{transition:border-color var(--et-selection-card-transition-duration) ease,background-color var(--et-selection-card-transition-duration) ease,opacity var(--et-selection-card-transition-duration) ease}}\n"]
|
|
40053
40128
|
}]
|
|
40054
40129
|
}]
|
|
40055
40130
|
});
|
|
@@ -40074,7 +40149,7 @@ var SelectionCardStylesComponent = class SelectionCardStylesComponent {
|
|
|
40074
40149
|
ngImport: i0,
|
|
40075
40150
|
template: "",
|
|
40076
40151
|
isInline: true,
|
|
40077
|
-
styles: ["@layer components.sdk{@property --et-selection-card-padding{syntax: \"*\"; inherits: true; initial-value: 16px;}@property --et-selection-card-border-radius{syntax: \"<length>\"; inherits: true; initial-value: 10px;}@property --et-selection-card-border-width{syntax: \"<length>\"; inherits: true; initial-value: 1px;}@property --et-selection-card-icon-size{syntax: \"<length>\"; inherits: true; initial-value: 20px;}@property --et-selection-card-transition-duration{syntax: \"<time>\"; inherits: true; initial-value: .15s;}@property --et-selection-card-disabled-opacity{syntax: \"<number>\"; inherits: true; initial-value: .5;}.et-selection-card{justify-content:space-between;align-items:center;padding:var(--et-selection-card-padding);border-radius:var(--et-selection-card-border-radius);background-color:var(--et-surface-background-solid, transparent);border:var(--et-selection-card-border-width) solid var(--et-surface-
|
|
40152
|
+
styles: ["@layer components.sdk{@property --et-selection-card-padding{syntax: \"*\"; inherits: true; initial-value: 16px;}@property --et-selection-card-border-radius{syntax: \"<length>\"; inherits: true; initial-value: 10px;}@property --et-selection-card-border-width{syntax: \"<length>\"; inherits: true; initial-value: 1px;}@property --et-selection-card-icon-size{syntax: \"<length>\"; inherits: true; initial-value: 20px;}@property --et-selection-card-transition-duration{syntax: \"<time>\"; inherits: true; initial-value: .15s;}@property --et-selection-card-disabled-opacity{syntax: \"<number>\"; inherits: true; initial-value: .5;}.et-selection-card{justify-content:space-between;align-items:center;padding:var(--et-selection-card-padding);border-radius:var(--et-selection-card-border-radius);background-color:var(--et-surface-background-solid, transparent);border:var(--et-selection-card-border-width) solid color-mix(in oklab,var(--et-surface-color-solid, currentColor) 43%,var(--et-surface-background-solid, transparent))}@media(hover:hover){.et-selection-card:where(:hover:not([aria-disabled=true],[data-readonly]):not(:has([aria-disabled=true],[data-readonly]))){border-color:var(--et-surface-color-solid, currentColor)}}.et-selection-card:where(:active:not([aria-disabled=true],[data-readonly]):not(:has([aria-disabled=true],[data-readonly]))){border-color:var(--et-surface-color-solid, currentColor)}.et-selection-card:where([aria-checked=true],:has(:is([aria-checked=true],[aria-checked=mixed]))){border-color:var(--et-theme-color-primary-solid, currentColor)}.et-selection-card:where(:focus-visible,:has(:focus-visible)){border-color:var(--et-theme-color-primary-solid, currentColor);outline:2px solid light-dark(var(--et-theme-color-ink-solid, currentColor),var(--et-theme-color-primary-solid, currentColor));outline-offset:2px}.et-selection-card .et-selection-card-content{flex:1;min-inline-size:0}.et-selection-card .et-selection-card-control{order:1}.et-selection-card [etSelectionCardLeading],.et-selection-card [etSelectionCardTrailing]{flex-shrink:0}.et-selection-card>.et-icon{inline-size:var(--et-selection-card-icon-size);block-size:var(--et-selection-card-icon-size)}.et-selection-card .et-selection-card-label{font-weight:500;color:var(--et-surface-color-muted-solid, currentColor)}.et-selection-card:where([aria-checked=true],:has(:is([aria-checked=true],[aria-checked=mixed]))) .et-selection-card-label{color:var(--et-surface-color-solid, currentColor)}@media(hover:hover){.et-selection-card:where(:hover:not([aria-disabled=true],[data-readonly]):not(:has([aria-disabled=true],[data-readonly]))) .et-selection-card-label{color:var(--et-surface-color-solid, currentColor)}}.et-selection-card:active:not([aria-disabled=true]):not([data-readonly]) .et-selection-card-control{transform:none}.et-selection-card:focus-visible .et-selection-card-control{outline:none}.et-selection-card:where([data-control-position=start]) .et-selection-card-control,:where([data-control-position=start]) .et-selection-card .et-selection-card-control{order:0}.et-selection-card:where([data-can-animate]),:where([data-can-animate]) .et-selection-card{transition:border-color var(--et-selection-card-transition-duration) ease,background-color var(--et-selection-card-transition-duration) ease}:is(.et-selection-card:where([data-can-animate]),:where([data-can-animate]) .et-selection-card) .et-selection-card-label{transition:color var(--et-selection-card-transition-duration) ease}@media(prefers-reduced-motion:reduce){.et-selection-card{--et-selection-card-transition-duration: 1ms}}}\n"],
|
|
40078
40153
|
encapsulation: i0.ViewEncapsulation.None
|
|
40079
40154
|
});
|
|
40080
40155
|
}
|
|
@@ -40090,7 +40165,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
40090
40165
|
selector: "et-selection-card-styles",
|
|
40091
40166
|
template: "",
|
|
40092
40167
|
encapsulation: ViewEncapsulation.None,
|
|
40093
|
-
styles: ["@layer components.sdk{@property --et-selection-card-padding{syntax: \"*\"; inherits: true; initial-value: 16px;}@property --et-selection-card-border-radius{syntax: \"<length>\"; inherits: true; initial-value: 10px;}@property --et-selection-card-border-width{syntax: \"<length>\"; inherits: true; initial-value: 1px;}@property --et-selection-card-icon-size{syntax: \"<length>\"; inherits: true; initial-value: 20px;}@property --et-selection-card-transition-duration{syntax: \"<time>\"; inherits: true; initial-value: .15s;}@property --et-selection-card-disabled-opacity{syntax: \"<number>\"; inherits: true; initial-value: .5;}.et-selection-card{justify-content:space-between;align-items:center;padding:var(--et-selection-card-padding);border-radius:var(--et-selection-card-border-radius);background-color:var(--et-surface-background-solid, transparent);border:var(--et-selection-card-border-width) solid var(--et-surface-
|
|
40168
|
+
styles: ["@layer components.sdk{@property --et-selection-card-padding{syntax: \"*\"; inherits: true; initial-value: 16px;}@property --et-selection-card-border-radius{syntax: \"<length>\"; inherits: true; initial-value: 10px;}@property --et-selection-card-border-width{syntax: \"<length>\"; inherits: true; initial-value: 1px;}@property --et-selection-card-icon-size{syntax: \"<length>\"; inherits: true; initial-value: 20px;}@property --et-selection-card-transition-duration{syntax: \"<time>\"; inherits: true; initial-value: .15s;}@property --et-selection-card-disabled-opacity{syntax: \"<number>\"; inherits: true; initial-value: .5;}.et-selection-card{justify-content:space-between;align-items:center;padding:var(--et-selection-card-padding);border-radius:var(--et-selection-card-border-radius);background-color:var(--et-surface-background-solid, transparent);border:var(--et-selection-card-border-width) solid color-mix(in oklab,var(--et-surface-color-solid, currentColor) 43%,var(--et-surface-background-solid, transparent))}@media(hover:hover){.et-selection-card:where(:hover:not([aria-disabled=true],[data-readonly]):not(:has([aria-disabled=true],[data-readonly]))){border-color:var(--et-surface-color-solid, currentColor)}}.et-selection-card:where(:active:not([aria-disabled=true],[data-readonly]):not(:has([aria-disabled=true],[data-readonly]))){border-color:var(--et-surface-color-solid, currentColor)}.et-selection-card:where([aria-checked=true],:has(:is([aria-checked=true],[aria-checked=mixed]))){border-color:var(--et-theme-color-primary-solid, currentColor)}.et-selection-card:where(:focus-visible,:has(:focus-visible)){border-color:var(--et-theme-color-primary-solid, currentColor);outline:2px solid light-dark(var(--et-theme-color-ink-solid, currentColor),var(--et-theme-color-primary-solid, currentColor));outline-offset:2px}.et-selection-card .et-selection-card-content{flex:1;min-inline-size:0}.et-selection-card .et-selection-card-control{order:1}.et-selection-card [etSelectionCardLeading],.et-selection-card [etSelectionCardTrailing]{flex-shrink:0}.et-selection-card>.et-icon{inline-size:var(--et-selection-card-icon-size);block-size:var(--et-selection-card-icon-size)}.et-selection-card .et-selection-card-label{font-weight:500;color:var(--et-surface-color-muted-solid, currentColor)}.et-selection-card:where([aria-checked=true],:has(:is([aria-checked=true],[aria-checked=mixed]))) .et-selection-card-label{color:var(--et-surface-color-solid, currentColor)}@media(hover:hover){.et-selection-card:where(:hover:not([aria-disabled=true],[data-readonly]):not(:has([aria-disabled=true],[data-readonly]))) .et-selection-card-label{color:var(--et-surface-color-solid, currentColor)}}.et-selection-card:active:not([aria-disabled=true]):not([data-readonly]) .et-selection-card-control{transform:none}.et-selection-card:focus-visible .et-selection-card-control{outline:none}.et-selection-card:where([data-control-position=start]) .et-selection-card-control,:where([data-control-position=start]) .et-selection-card .et-selection-card-control{order:0}.et-selection-card:where([data-can-animate]),:where([data-can-animate]) .et-selection-card{transition:border-color var(--et-selection-card-transition-duration) ease,background-color var(--et-selection-card-transition-duration) ease}:is(.et-selection-card:where([data-can-animate]),:where([data-can-animate]) .et-selection-card) .et-selection-card-label{transition:color var(--et-selection-card-transition-duration) ease}@media(prefers-reduced-motion:reduce){.et-selection-card{--et-selection-card-transition-duration: 1ms}}}\n"]
|
|
40094
40169
|
}]
|
|
40095
40170
|
}]
|
|
40096
40171
|
});
|
|
@@ -40680,7 +40755,7 @@ var ChoiceFieldComponent = class ChoiceFieldComponent {
|
|
|
40680
40755
|
}],
|
|
40681
40756
|
ngImport: i0,
|
|
40682
40757
|
template: "<div\n [class.et-selection-card]=\"variant() === 'card'\"\n class=\"et-choice-field-control\"\n etColorInteractive\n etColorInteractiveContainer\n>\n <div class=\"et-choice-field-control-slot et-selection-card-control\">\n <ng-content />\n </div>\n\n <ng-content select=\"[etSelectionCardLeading]\" />\n\n <div class=\"et-choice-field-label-area et-selection-card-content\">\n <ng-content select=\"et-label\" />\n <ng-content select=\"et-description\" />\n </div>\n\n <ng-content select=\"[etSelectionCardTrailing]\" />\n</div>\n\n@if (support.shouldRenderSupport()) {\n <et-form-support etColorInteractiveExclude><ng-content select=\"et-hint\" /></et-form-support>\n}\n",
|
|
40683
|
-
styles: ["@layer components.sdk{@property --et-choice-field-gap{syntax: \"<length>\"; inherits: true; initial-value: 8px;}@property --et-choice-field-support-duration{syntax: \"<time>\"; inherits: true; initial-value: .18s;}@property --et-choice-field-label-font-size{syntax: \"<length>\"; inherits: true; initial-value: 14px;}@property --et-choice-field-error-font-size{syntax: \"<length>\"; inherits: true; initial-value: 12px;}@property --et-choice-field-warning-font-size{syntax: \"<length>\"; inherits: true; initial-value: 12px;}@property --et-choice-field-hint-font-size{syntax: \"<length>\"; inherits: true; initial-value: 12px;}et-choice-field{display:flex;flex-direction:column;width:fit-content;gap:4px;color:var(--et-surface-color-solid, currentColor);--et-form-support-duration: var(--et-choice-field-support-duration);--et-form-support-error-font-size: var(--et-choice-field-error-font-size);--et-form-support-warning-font-size: var(--et-choice-field-warning-font-size);--et-form-support-hint-font-size: var(--et-choice-field-hint-font-size)}et-choice-field .et-choice-field-control{display:flex;align-items:center;gap:var(--et-choice-field-gap)}et-choice-field:where(:has([aria-disabled=true])) .et-choice-field-control{cursor:not-allowed}et-choice-field:where(:has([data-readonly])) .et-choice-field-control{cursor:default}et-choice-field .et-choice-field-control-slot{flex:0 0 auto}et-choice-field:where([data-size=sm]){--et-choice-field-label-font-size: 12px}et-choice-field:where([data-size=sm]) et-checkbox{--et-checkbox-size: 16px}et-choice-field:where([data-size=sm]) et-switch{--et-switch-track-width: 34px;--et-switch-track-height: 19px;--et-switch-thumb-size: 13px}et-choice-field:where([data-size=lg]){--et-choice-field-label-font-size: 16px}et-choice-field:where([data-size=lg]) et-checkbox{--et-checkbox-size: 24px}et-choice-field:where([data-size=lg]) et-switch{--et-switch-track-width: 46px;--et-switch-track-height: 25px;--et-switch-thumb-size: 19px}et-choice-field .et-choice-field-label-area{display:flex;align-items:baseline;font-size:var(--et-choice-field-label-font-size);font-weight:500;line-height:1.2;letter-spacing
|
|
40758
|
+
styles: ["@layer components.sdk{@property --et-choice-field-gap{syntax: \"<length>\"; inherits: true; initial-value: 8px;}@property --et-choice-field-support-duration{syntax: \"<time>\"; inherits: true; initial-value: .18s;}@property --et-choice-field-label-font-size{syntax: \"<length>\"; inherits: true; initial-value: 14px;}@property --et-choice-field-error-font-size{syntax: \"<length>\"; inherits: true; initial-value: 12px;}@property --et-choice-field-warning-font-size{syntax: \"<length>\"; inherits: true; initial-value: 12px;}@property --et-choice-field-hint-font-size{syntax: \"<length>\"; inherits: true; initial-value: 12px;}et-choice-field{display:flex;flex-direction:column;width:fit-content;gap:4px;color:var(--et-surface-color-solid, currentColor);--et-form-support-duration: var(--et-choice-field-support-duration);--et-form-support-error-font-size: var(--et-choice-field-error-font-size);--et-form-support-warning-font-size: var(--et-choice-field-warning-font-size);--et-form-support-hint-font-size: var(--et-choice-field-hint-font-size)}et-choice-field .et-choice-field-control{display:flex;align-items:center;gap:var(--et-choice-field-gap)}et-choice-field:where(:has([aria-disabled=true])) .et-choice-field-control{cursor:not-allowed}et-choice-field:where(:has([data-readonly])) .et-choice-field-control{cursor:default}et-choice-field .et-choice-field-control-slot{display:flex;flex:0 0 auto;align-items:center}et-choice-field:where([data-size=sm]){--et-choice-field-label-font-size: 12px}et-choice-field:where([data-size=sm]) et-checkbox{--et-checkbox-size: 16px}et-choice-field:where([data-size=sm]) et-switch{--et-switch-track-width: 34px;--et-switch-track-height: 19px;--et-switch-thumb-size: 13px}et-choice-field:where([data-size=lg]){--et-choice-field-label-font-size: 16px}et-choice-field:where([data-size=lg]) et-checkbox{--et-checkbox-size: 24px}et-choice-field:where([data-size=lg]) et-switch{--et-switch-track-width: 46px;--et-switch-track-height: 25px;--et-switch-thumb-size: 19px}et-choice-field .et-choice-field-label-area{display:flex;align-items:baseline;font-size:var(--et-choice-field-label-font-size);font-weight:var(--et-choice-field-label-font-weight, 500);line-height:1.2;letter-spacing:var(--et-choice-field-label-letter-spacing, -.01em);color:var(--et-surface-color-muted-solid, currentColor);cursor:pointer;-webkit-user-select:none;user-select:none;min-inline-size:0;flex:1;overflow:hidden;transition:color .15s ease,opacity .15s ease}et-choice-field .et-choice-field-label-area et-label{display:inline;min-inline-size:0}et-choice-field .et-choice-field-label-area:where(:has(et-description)){flex-direction:column;align-items:flex-start;gap:2px}et-choice-field .et-choice-field-label-area et-description{font-weight:400;letter-spacing:normal}@media(hover:hover){et-choice-field:where(:has(.et-choice-field-control:hover)):where(:not(:has([data-readonly]))) .et-choice-field-label-area{color:var(--et-surface-color-solid, currentColor)}}et-choice-field:where(:has(.et-choice-field-control:active)):where(:not(:has([data-readonly]))) .et-choice-field-label-area{color:var(--et-surface-color-solid, currentColor)}et-choice-field:where(:has([data-readonly])) .et-choice-field-label-area{cursor:default}et-choice-field:where(:has(:focus-visible)) .et-choice-field-label-area{color:var(--et-surface-color-solid, currentColor)}et-choice-field:has([aria-disabled=true]) .et-choice-field-label-area,et-choice-field:has(:disabled) .et-choice-field-label-area{cursor:not-allowed;color:var(--et-surface-interaction-disabled-solid, currentColor);pointer-events:none}et-choice-field:has([aria-disabled=true]) .et-form-support-hint,et-choice-field:has(:disabled) .et-form-support-hint{color:var(--et-surface-interaction-disabled-solid, currentColor)}et-choice-field .et-form-support{-webkit-user-select:none;user-select:none}et-choice-field .et-form-support-errors,et-choice-field .et-form-support-warnings,et-choice-field .et-form-support-hint{padding-block-start:0;padding-inline-start:calc(var(--et-choice-field-gap) + var(--et-checkbox-size, 20px))}et-choice-field:where([data-label-position=start]) .et-choice-field-label-area{order:-1}et-choice-field:where([data-label-position=start]) .et-form-support-errors,et-choice-field:where([data-label-position=start]) .et-form-support-warnings,et-choice-field:where([data-label-position=start]) .et-form-support-hint{padding-inline-start:0}et-choice-field:where([data-layout=subgrid]){display:grid;grid-template-columns:subgrid;grid-column:span 2;align-items:center;column-gap:normal;width:auto}et-choice-field:where([data-layout=subgrid]) .et-choice-field-control{display:contents}et-choice-field:where([data-layout=subgrid]) .et-form-support{grid-column:2 / -1}et-choice-field:where([data-layout=subgrid]):where([data-label-position=start]) .et-form-support{grid-column:1 / -1}et-choice-field:where([data-layout=subgrid]) .et-form-support-errors,et-choice-field:where([data-layout=subgrid]) .et-form-support-warnings,et-choice-field:where([data-layout=subgrid]) .et-form-support-hint{padding-inline-start:0}et-choice-field:where([data-variant=card]) .et-form-support-errors,et-choice-field:where([data-variant=card]) .et-form-support-warnings,et-choice-field:where([data-variant=card]) .et-form-support-hint{padding-inline-start:0}}\n"],
|
|
40684
40759
|
dependencies: [
|
|
40685
40760
|
{
|
|
40686
40761
|
kind: "directive",
|
|
@@ -40741,7 +40816,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
40741
40816
|
"[attr.data-warning]": "support.displaysWarning() || null"
|
|
40742
40817
|
},
|
|
40743
40818
|
template: "<div\n [class.et-selection-card]=\"variant() === 'card'\"\n class=\"et-choice-field-control\"\n etColorInteractive\n etColorInteractiveContainer\n>\n <div class=\"et-choice-field-control-slot et-selection-card-control\">\n <ng-content />\n </div>\n\n <ng-content select=\"[etSelectionCardLeading]\" />\n\n <div class=\"et-choice-field-label-area et-selection-card-content\">\n <ng-content select=\"et-label\" />\n <ng-content select=\"et-description\" />\n </div>\n\n <ng-content select=\"[etSelectionCardTrailing]\" />\n</div>\n\n@if (support.shouldRenderSupport()) {\n <et-form-support etColorInteractiveExclude><ng-content select=\"et-hint\" /></et-form-support>\n}\n",
|
|
40744
|
-
styles: ["@layer components.sdk{@property --et-choice-field-gap{syntax: \"<length>\"; inherits: true; initial-value: 8px;}@property --et-choice-field-support-duration{syntax: \"<time>\"; inherits: true; initial-value: .18s;}@property --et-choice-field-label-font-size{syntax: \"<length>\"; inherits: true; initial-value: 14px;}@property --et-choice-field-error-font-size{syntax: \"<length>\"; inherits: true; initial-value: 12px;}@property --et-choice-field-warning-font-size{syntax: \"<length>\"; inherits: true; initial-value: 12px;}@property --et-choice-field-hint-font-size{syntax: \"<length>\"; inherits: true; initial-value: 12px;}et-choice-field{display:flex;flex-direction:column;width:fit-content;gap:4px;color:var(--et-surface-color-solid, currentColor);--et-form-support-duration: var(--et-choice-field-support-duration);--et-form-support-error-font-size: var(--et-choice-field-error-font-size);--et-form-support-warning-font-size: var(--et-choice-field-warning-font-size);--et-form-support-hint-font-size: var(--et-choice-field-hint-font-size)}et-choice-field .et-choice-field-control{display:flex;align-items:center;gap:var(--et-choice-field-gap)}et-choice-field:where(:has([aria-disabled=true])) .et-choice-field-control{cursor:not-allowed}et-choice-field:where(:has([data-readonly])) .et-choice-field-control{cursor:default}et-choice-field .et-choice-field-control-slot{flex:0 0 auto}et-choice-field:where([data-size=sm]){--et-choice-field-label-font-size: 12px}et-choice-field:where([data-size=sm]) et-checkbox{--et-checkbox-size: 16px}et-choice-field:where([data-size=sm]) et-switch{--et-switch-track-width: 34px;--et-switch-track-height: 19px;--et-switch-thumb-size: 13px}et-choice-field:where([data-size=lg]){--et-choice-field-label-font-size: 16px}et-choice-field:where([data-size=lg]) et-checkbox{--et-checkbox-size: 24px}et-choice-field:where([data-size=lg]) et-switch{--et-switch-track-width: 46px;--et-switch-track-height: 25px;--et-switch-thumb-size: 19px}et-choice-field .et-choice-field-label-area{display:flex;align-items:baseline;font-size:var(--et-choice-field-label-font-size);font-weight:500;line-height:1.2;letter-spacing
|
|
40819
|
+
styles: ["@layer components.sdk{@property --et-choice-field-gap{syntax: \"<length>\"; inherits: true; initial-value: 8px;}@property --et-choice-field-support-duration{syntax: \"<time>\"; inherits: true; initial-value: .18s;}@property --et-choice-field-label-font-size{syntax: \"<length>\"; inherits: true; initial-value: 14px;}@property --et-choice-field-error-font-size{syntax: \"<length>\"; inherits: true; initial-value: 12px;}@property --et-choice-field-warning-font-size{syntax: \"<length>\"; inherits: true; initial-value: 12px;}@property --et-choice-field-hint-font-size{syntax: \"<length>\"; inherits: true; initial-value: 12px;}et-choice-field{display:flex;flex-direction:column;width:fit-content;gap:4px;color:var(--et-surface-color-solid, currentColor);--et-form-support-duration: var(--et-choice-field-support-duration);--et-form-support-error-font-size: var(--et-choice-field-error-font-size);--et-form-support-warning-font-size: var(--et-choice-field-warning-font-size);--et-form-support-hint-font-size: var(--et-choice-field-hint-font-size)}et-choice-field .et-choice-field-control{display:flex;align-items:center;gap:var(--et-choice-field-gap)}et-choice-field:where(:has([aria-disabled=true])) .et-choice-field-control{cursor:not-allowed}et-choice-field:where(:has([data-readonly])) .et-choice-field-control{cursor:default}et-choice-field .et-choice-field-control-slot{display:flex;flex:0 0 auto;align-items:center}et-choice-field:where([data-size=sm]){--et-choice-field-label-font-size: 12px}et-choice-field:where([data-size=sm]) et-checkbox{--et-checkbox-size: 16px}et-choice-field:where([data-size=sm]) et-switch{--et-switch-track-width: 34px;--et-switch-track-height: 19px;--et-switch-thumb-size: 13px}et-choice-field:where([data-size=lg]){--et-choice-field-label-font-size: 16px}et-choice-field:where([data-size=lg]) et-checkbox{--et-checkbox-size: 24px}et-choice-field:where([data-size=lg]) et-switch{--et-switch-track-width: 46px;--et-switch-track-height: 25px;--et-switch-thumb-size: 19px}et-choice-field .et-choice-field-label-area{display:flex;align-items:baseline;font-size:var(--et-choice-field-label-font-size);font-weight:var(--et-choice-field-label-font-weight, 500);line-height:1.2;letter-spacing:var(--et-choice-field-label-letter-spacing, -.01em);color:var(--et-surface-color-muted-solid, currentColor);cursor:pointer;-webkit-user-select:none;user-select:none;min-inline-size:0;flex:1;overflow:hidden;transition:color .15s ease,opacity .15s ease}et-choice-field .et-choice-field-label-area et-label{display:inline;min-inline-size:0}et-choice-field .et-choice-field-label-area:where(:has(et-description)){flex-direction:column;align-items:flex-start;gap:2px}et-choice-field .et-choice-field-label-area et-description{font-weight:400;letter-spacing:normal}@media(hover:hover){et-choice-field:where(:has(.et-choice-field-control:hover)):where(:not(:has([data-readonly]))) .et-choice-field-label-area{color:var(--et-surface-color-solid, currentColor)}}et-choice-field:where(:has(.et-choice-field-control:active)):where(:not(:has([data-readonly]))) .et-choice-field-label-area{color:var(--et-surface-color-solid, currentColor)}et-choice-field:where(:has([data-readonly])) .et-choice-field-label-area{cursor:default}et-choice-field:where(:has(:focus-visible)) .et-choice-field-label-area{color:var(--et-surface-color-solid, currentColor)}et-choice-field:has([aria-disabled=true]) .et-choice-field-label-area,et-choice-field:has(:disabled) .et-choice-field-label-area{cursor:not-allowed;color:var(--et-surface-interaction-disabled-solid, currentColor);pointer-events:none}et-choice-field:has([aria-disabled=true]) .et-form-support-hint,et-choice-field:has(:disabled) .et-form-support-hint{color:var(--et-surface-interaction-disabled-solid, currentColor)}et-choice-field .et-form-support{-webkit-user-select:none;user-select:none}et-choice-field .et-form-support-errors,et-choice-field .et-form-support-warnings,et-choice-field .et-form-support-hint{padding-block-start:0;padding-inline-start:calc(var(--et-choice-field-gap) + var(--et-checkbox-size, 20px))}et-choice-field:where([data-label-position=start]) .et-choice-field-label-area{order:-1}et-choice-field:where([data-label-position=start]) .et-form-support-errors,et-choice-field:where([data-label-position=start]) .et-form-support-warnings,et-choice-field:where([data-label-position=start]) .et-form-support-hint{padding-inline-start:0}et-choice-field:where([data-layout=subgrid]){display:grid;grid-template-columns:subgrid;grid-column:span 2;align-items:center;column-gap:normal;width:auto}et-choice-field:where([data-layout=subgrid]) .et-choice-field-control{display:contents}et-choice-field:where([data-layout=subgrid]) .et-form-support{grid-column:2 / -1}et-choice-field:where([data-layout=subgrid]):where([data-label-position=start]) .et-form-support{grid-column:1 / -1}et-choice-field:where([data-layout=subgrid]) .et-form-support-errors,et-choice-field:where([data-layout=subgrid]) .et-form-support-warnings,et-choice-field:where([data-layout=subgrid]) .et-form-support-hint{padding-inline-start:0}et-choice-field:where([data-variant=card]) .et-form-support-errors,et-choice-field:where([data-variant=card]) .et-form-support-warnings,et-choice-field:where([data-variant=card]) .et-form-support-hint{padding-inline-start:0}}\n"]
|
|
40745
40820
|
}]
|
|
40746
40821
|
}],
|
|
40747
40822
|
ctorParameters: () => [],
|
|
@@ -46311,7 +46386,8 @@ var DateRangePresetsComponent = class DateRangePresetsComponent {
|
|
|
46311
46386
|
"variant",
|
|
46312
46387
|
"size",
|
|
46313
46388
|
"iconAlignment",
|
|
46314
|
-
"stretchContents"
|
|
46389
|
+
"stretchContents",
|
|
46390
|
+
"pressedVariant"
|
|
46315
46391
|
]
|
|
46316
46392
|
}],
|
|
46317
46393
|
encapsulation: i0.ViewEncapsulation.None
|
|
@@ -49912,6 +49988,10 @@ const SEGMENTED_BUTTON_GROUP_VARIANTS = {
|
|
|
49912
49988
|
PILL: "pill",
|
|
49913
49989
|
TABS: "tabs"
|
|
49914
49990
|
};
|
|
49991
|
+
const SEGMENTED_BUTTON_GROUP_OVERFLOWS = {
|
|
49992
|
+
TRUNCATE: "truncate",
|
|
49993
|
+
SCROLL: "scroll"
|
|
49994
|
+
};
|
|
49915
49995
|
var SegmentedButtonGroupComponent = class SegmentedButtonGroupComponent {
|
|
49916
49996
|
constructor() {
|
|
49917
49997
|
this.list = inject(SelectionListDirective);
|
|
@@ -49922,6 +50002,9 @@ var SegmentedButtonGroupComponent = class SegmentedButtonGroupComponent {
|
|
|
49922
50002
|
...ngDevMode ? { debugName: "stretch" } : /* istanbul ignore next */ {},
|
|
49923
50003
|
transform: booleanAttribute
|
|
49924
50004
|
});
|
|
50005
|
+
this.overflow = input(SEGMENTED_BUTTON_GROUP_OVERFLOWS.SCROLL, ...ngDevMode ? [{ debugName: "overflow" }] : /* istanbul ignore next */ []);
|
|
50006
|
+
this.scrollable = viewChild(ScrollableDirective, ...ngDevMode ? [{ debugName: "scrollable" }] : /* istanbul ignore next */ []);
|
|
50007
|
+
this.isScrollOverflow = computed(() => this.overflow() === SEGMENTED_BUTTON_GROUP_OVERFLOWS.SCROLL, ...ngDevMode ? [{ debugName: "isScrollOverflow" }] : /* istanbul ignore next */ []);
|
|
49925
50008
|
this.isTabsVariant = computed(() => this.variant() === SEGMENTED_BUTTON_GROUP_VARIANTS.TABS, ...ngDevMode ? [{ debugName: "isTabsVariant" }] : /* istanbul ignore next */ []);
|
|
49926
50009
|
this.lastActiveBackgroundElement = signal(null, ...ngDevMode ? [{ debugName: "lastActiveBackgroundElement" }] : /* istanbul ignore next */ []);
|
|
49927
50010
|
this.canAnimate = createCanAnimateSignal();
|
|
@@ -49929,6 +50012,15 @@ var SegmentedButtonGroupComponent = class SegmentedButtonGroupComponent {
|
|
|
49929
50012
|
effect(() => {
|
|
49930
50013
|
if (this.isTabsVariant()) styleManager.mount(TabScaleStylesComponent);
|
|
49931
50014
|
});
|
|
50015
|
+
effect(() => {
|
|
50016
|
+
const scrollable = this.scrollable();
|
|
50017
|
+
const selected = this.lastActiveBackgroundElement()?.parentElement;
|
|
50018
|
+
if (!scrollable || !selected || !scrollable.getScrollContainerRef()()) return;
|
|
50019
|
+
scrollable.scrollToElement({
|
|
50020
|
+
element: selected,
|
|
50021
|
+
origin: "center"
|
|
50022
|
+
});
|
|
50023
|
+
});
|
|
49932
50024
|
}
|
|
49933
50025
|
focus(options) {
|
|
49934
50026
|
this.list.focus(options);
|
|
@@ -49971,6 +50063,13 @@ var SegmentedButtonGroupComponent = class SegmentedButtonGroupComponent {
|
|
|
49971
50063
|
isSignal: true,
|
|
49972
50064
|
isRequired: false,
|
|
49973
50065
|
transformFunction: null
|
|
50066
|
+
},
|
|
50067
|
+
overflow: {
|
|
50068
|
+
classPropertyName: "overflow",
|
|
50069
|
+
publicName: "overflow",
|
|
50070
|
+
isSignal: true,
|
|
50071
|
+
isRequired: false,
|
|
50072
|
+
transformFunction: null
|
|
49974
50073
|
}
|
|
49975
50074
|
},
|
|
49976
50075
|
host: {
|
|
@@ -49978,6 +50077,7 @@ var SegmentedButtonGroupComponent = class SegmentedButtonGroupComponent {
|
|
|
49978
50077
|
"class.et-tab-scale": "isTabsVariant()",
|
|
49979
50078
|
"attr.data-size": "size()",
|
|
49980
50079
|
"attr.data-variant": "variant()",
|
|
50080
|
+
"attr.data-overflow": "overflow()",
|
|
49981
50081
|
"attr.data-stretch": "stretch() || null",
|
|
49982
50082
|
"attr.data-can-animate": "canAnimate.state() || null",
|
|
49983
50083
|
"attr.data-error": "support.displaysError() || null",
|
|
@@ -49988,6 +50088,13 @@ var SegmentedButtonGroupComponent = class SegmentedButtonGroupComponent {
|
|
|
49988
50088
|
classAttribute: "et-segmented-button-group"
|
|
49989
50089
|
},
|
|
49990
50090
|
providers: [provideFormSupport()],
|
|
50091
|
+
viewQueries: [{
|
|
50092
|
+
propertyName: "scrollable",
|
|
50093
|
+
first: true,
|
|
50094
|
+
predicate: ScrollableDirective,
|
|
50095
|
+
descendants: true,
|
|
50096
|
+
isSignal: true
|
|
50097
|
+
}],
|
|
49991
50098
|
hostDirectives: [
|
|
49992
50099
|
{ directive: FormFieldDirective },
|
|
49993
50100
|
{
|
|
@@ -50041,13 +50148,39 @@ var SegmentedButtonGroupComponent = class SegmentedButtonGroupComponent {
|
|
|
50041
50148
|
}
|
|
50042
50149
|
],
|
|
50043
50150
|
ngImport: i0,
|
|
50044
|
-
template: "<ng-content select=\"et-label\" />\n<ng-content select=\".et-segmented-button-group-label\" />\n\n<div class=\"et-segmented-button-group-buttons\">\n
|
|
50045
|
-
styles: ["@layer components.sdk{@property --et-segmented-button-group-support-duration{syntax: \"<time>\"; inherits: true; initial-value: .18s;}@property --et-segmented-button-group-error-font-size{syntax: \"<length>\"; inherits: true; initial-value: 12px;}@property --et-segmented-button-group-warning-font-size{syntax: \"<length>\"; inherits: true; initial-value: 12px;}@property --et-segmented-button-group-hint-font-size{syntax: \"<length>\"; inherits: true; initial-value: 12px;}@property --et-segmented-button-group-gap{syntax: \"<length>\"; inherits: true; initial-value: 10px;}@property --et-segmented-button-group-label-font-size{syntax: \"<length>\"; inherits: true; initial-value: 13px;}@property --et-segmented-button-group-track-padding{syntax: \"<length>\"; inherits: true; initial-value: 3px;}@property --et-segmented-button-group-track-radius{syntax: \"<length>\"; inherits: true; initial-value: 10px;}@property --et-segmented-button-group-segment-min-width{syntax: \"<length>\"; inherits: true; initial-value: 0px;}et-segmented-button-group{display:flex;flex-direction:column;gap:var(--et-segmented-button-group-gap);color:var(--et-surface-color-solid, currentColor);--et-form-support-duration: var(--et-segmented-button-group-support-duration);--et-form-support-error-font-size: var(--et-segmented-button-group-error-font-size);--et-form-support-warning-font-size: var(--et-segmented-button-group-warning-font-size);--et-form-support-hint-font-size: var(--et-segmented-button-group-hint-font-size)}et-segmented-button-group[data-disabled]{cursor:not-allowed}et-segmented-button-group[data-disabled] .et-form-support{cursor:auto}et-segmented-button-group[data-readonly]{cursor:default}et-segmented-button-group>et-label,et-segmented-button-group .et-segmented-button-group-label{font-size:var(--et-segmented-button-group-label-font-size);font-weight:500;line-height:1.2;letter-spacing:-.01em;color:var(--et-surface-color-muted-solid, currentColor);-webkit-user-select:none;user-select:none}et-segmented-button-group:where([data-size=sm]){--et-segmented-button-group-label-font-size: 12px;--et-segmented-button-group-gap: 8px}et-segmented-button-group:where([data-size=sm]) et-segmented-button{--et-segmented-button-padding-x: 10px;--et-segmented-button-padding-y: 4px;--et-segmented-button-font-size: 12px}et-segmented-button-group:where([data-size=lg]){--et-segmented-button-group-label-font-size: 14px;--et-segmented-button-group-gap: 12px}et-segmented-button-group:where([data-size=lg]) et-segmented-button{--et-segmented-button-padding-x: 18px;--et-segmented-button-padding-y: 8px;--et-segmented-button-font-size: 16px}et-segmented-button-group .et-segmented-button-group-buttons{display:inline-grid;grid-auto-flow:column;grid-auto-columns:minmax(0,max-content);align-self:flex-start;min-width:0;max-width:100%;gap:2px;padding:var(--et-segmented-button-group-track-padding);border-radius:var(--et-segmented-button-group-track-radius);background-color:color-mix(in srgb,var(--et-surface-interaction-solid, currentColor) 8%,transparent)}et-segmented-button-group:where([data-stretch]) .et-segmented-button-group-buttons{display:grid;grid-auto-columns:minmax(var(--et-segmented-button-group-segment-min-width),1fr);align-self:stretch}et-segmented-button-group:where([data-stretch]) et-segmented-button{min-width:var(--et-segmented-button-group-segment-min-width)}et-segmented-button-group[data-error] .et-segmented-button-group-buttons{box-shadow:inset 0 0 0 1px var(--et-theme-color-primary-solid)}et-segmented-button-group:where([data-variant=tabs]) .et-segmented-button-group-buttons{gap:0;padding:0;border-radius:0;background-color:transparent;box-shadow:inset 0 calc(var(--et-tab-underline-size) * -1) 0 0 color-mix(in srgb,var(--et-surface-border-solid, currentColor) calc(var(--et-tab-baseline-opacity) * 100%),transparent)}et-segmented-button-group:where([data-variant=tabs])[data-error] .et-segmented-button-group-buttons{box-shadow:inset 0 calc(var(--et-tab-underline-size) * -1) 0 0 var(--et-theme-color-primary-solid)}et-segmented-button-group:where([data-variant=tabs]) et-segmented-button{--et-segmented-button-padding-x: var(--et-tab-padding-inline);--et-segmented-button-padding-y: var(--et-tab-padding-block);--et-segmented-button-tab-underline-size: var(--et-tab-underline-size);--et-segmented-button-tab-underline-radius: var(--et-tab-underline-radius);--et-segmented-button-font-size: var(--et-tab-font-size)}et-segmented-button-group[data-mixed] .et-segmented-button-group-buttons{outline:1px dashed var(--et-theme-color-primary-solid, currentColor);outline-offset:-1px}}\n"],
|
|
50046
|
-
dependencies: [
|
|
50047
|
-
|
|
50048
|
-
|
|
50049
|
-
|
|
50050
|
-
|
|
50151
|
+
template: "<ng-content select=\"et-label\" />\n<ng-content select=\".et-segmented-button-group-label\" />\n\n<ng-template #buttons>\n <div class=\"et-segmented-button-group-buttons\">\n <ng-content />\n </div>\n</ng-template>\n\n@if (isScrollOverflow()) {\n <et-scrollable\n class=\"et-segmented-button-group-scrollable\"\n renderMasks=\"false\"\n role=\"presentation\"\n scrollMode=\"element\"\n scrollOrigin=\"center\"\n scrollableRole=\"presentation\"\n >\n <ng-container *ngTemplateOutlet=\"buttons\" />\n </et-scrollable>\n} @else {\n <ng-container *ngTemplateOutlet=\"buttons\" />\n}\n\n@if (support.shouldRenderSupport()) {\n <et-form-support><ng-content select=\"et-hint\" /></et-form-support>\n}\n",
|
|
50152
|
+
styles: ["@layer components.sdk{@property --et-segmented-button-group-support-duration{syntax: \"<time>\"; inherits: true; initial-value: .18s;}@property --et-segmented-button-group-error-font-size{syntax: \"<length>\"; inherits: true; initial-value: 12px;}@property --et-segmented-button-group-warning-font-size{syntax: \"<length>\"; inherits: true; initial-value: 12px;}@property --et-segmented-button-group-hint-font-size{syntax: \"<length>\"; inherits: true; initial-value: 12px;}@property --et-segmented-button-group-gap{syntax: \"<length>\"; inherits: true; initial-value: 10px;}@property --et-segmented-button-group-label-font-size{syntax: \"<length>\"; inherits: true; initial-value: 13px;}@property --et-segmented-button-group-track-padding{syntax: \"<length>\"; inherits: true; initial-value: 3px;}@property --et-segmented-button-group-track-radius{syntax: \"<length>\"; inherits: true; initial-value: 10px;}@property --et-segmented-button-group-segment-min-width{syntax: \"<length>\"; inherits: true; initial-value: 0px;}:where(.et-scrollable[item-size=auto]:is([direction=horizontal],:not([direction]))>.et-scrollable-wrapper>.et-scrollable-container>et-segmented-button-group){inline-size:max-content}et-segmented-button-group{display:flex;flex-direction:column;gap:var(--et-segmented-button-group-gap);color:var(--et-surface-color-solid, currentColor);--et-form-support-duration: var(--et-segmented-button-group-support-duration);--et-form-support-error-font-size: var(--et-segmented-button-group-error-font-size);--et-form-support-warning-font-size: var(--et-segmented-button-group-warning-font-size);--et-form-support-hint-font-size: var(--et-segmented-button-group-hint-font-size)}et-segmented-button-group[data-disabled]{cursor:not-allowed}et-segmented-button-group[data-disabled] .et-form-support{cursor:auto}et-segmented-button-group[data-readonly]{cursor:default}et-segmented-button-group>et-label,et-segmented-button-group .et-segmented-button-group-label{font-size:var(--et-segmented-button-group-label-font-size);font-weight:500;line-height:1.2;letter-spacing:-.01em;color:var(--et-surface-color-muted-solid, currentColor);-webkit-user-select:none;user-select:none}et-segmented-button-group:where([data-size=sm]){--et-segmented-button-group-label-font-size: 12px;--et-segmented-button-group-gap: 8px}et-segmented-button-group:where([data-size=sm]) et-segmented-button{--et-segmented-button-padding-x: 10px;--et-segmented-button-padding-y: 4px;--et-segmented-button-font-size: 12px}et-segmented-button-group:where([data-size=lg]){--et-segmented-button-group-label-font-size: 14px;--et-segmented-button-group-gap: 12px}et-segmented-button-group:where([data-size=lg]) et-segmented-button{--et-segmented-button-padding-x: 18px;--et-segmented-button-padding-y: 8px;--et-segmented-button-font-size: 16px}et-segmented-button-group .et-segmented-button-group-buttons{display:inline-grid;grid-auto-flow:var(--et-segmented-button-group-columns, column);grid-auto-columns:minmax(0,max-content);grid-template-columns:repeat(var(--et-segmented-button-group-columns),minmax(0,max-content));align-self:flex-start;min-width:0;max-width:100%;gap:2px;padding:var(--et-segmented-button-group-track-padding);border-radius:var(--et-segmented-button-group-track-radius);background-color:var( --et-segmented-button-group-track-background, color-mix(in srgb, var(--et-surface-interaction-solid, currentColor) 8%, transparent) )}et-segmented-button-group:where([data-stretch]) .et-segmented-button-group-buttons{display:grid;grid-auto-columns:minmax(var(--et-segmented-button-group-segment-min-width),var(--et-segmented-button-group-stretch-track, 1fr));grid-template-columns:repeat(var(--et-segmented-button-group-columns),minmax(var(--et-segmented-button-group-segment-min-width),var(--et-segmented-button-group-stretch-track, 1fr)));align-self:stretch}et-segmented-button-group:where([data-stretch]) et-segmented-button{min-width:var(--et-segmented-button-group-segment-min-width)}et-segmented-button-group:where([data-overflow=scroll]) .et-segmented-button-group-scrollable{align-self:stretch;min-width:0;max-width:100%}et-segmented-button-group:where([data-overflow=scroll]:not([data-stretch])) .et-segmented-button-group-scrollable{align-self:flex-start}et-segmented-button-group:where([data-overflow=scroll]) .et-segmented-button-group-buttons{flex:1 0 auto;max-width:none;grid-auto-columns:max-content;grid-template-columns:none;grid-auto-flow:column}et-segmented-button-group:where([data-overflow=scroll][data-stretch]) .et-segmented-button-group-buttons{grid-auto-columns:minmax(max-content,var(--et-segmented-button-group-stretch-track, 1fr))}et-segmented-button-group[data-error] .et-segmented-button-group-buttons{box-shadow:inset 0 0 0 1px var(--et-theme-color-primary-solid)}et-segmented-button-group:where([data-variant=tabs]) .et-segmented-button-group-buttons{gap:0;padding:0;border-radius:0;background-color:transparent;box-shadow:inset 0 calc(var(--et-tab-underline-size) * -1) 0 0 color-mix(in srgb,var(--et-surface-border-solid, currentColor) calc(var(--et-tab-baseline-opacity) * 100%),transparent)}et-segmented-button-group:where([data-variant=tabs])[data-error] .et-segmented-button-group-buttons{box-shadow:inset 0 calc(var(--et-tab-underline-size) * -1) 0 0 var(--et-theme-color-primary-solid)}et-segmented-button-group:where([data-variant=tabs]) et-segmented-button{--et-segmented-button-padding-x: var(--et-tab-padding-inline);--et-segmented-button-padding-y: var(--et-tab-padding-block);--et-segmented-button-tab-underline-size: var(--et-tab-underline-size);--et-segmented-button-tab-underline-radius: var(--et-tab-underline-radius);--et-segmented-button-font-size: var(--et-tab-font-size)}et-segmented-button-group[data-mixed] .et-segmented-button-group-buttons{outline:1px dashed var(--et-theme-color-primary-solid, currentColor);outline-offset:-1px}}\n"],
|
|
50153
|
+
dependencies: [
|
|
50154
|
+
{
|
|
50155
|
+
kind: "component",
|
|
50156
|
+
type: FormSupportComponent,
|
|
50157
|
+
selector: "et-form-support"
|
|
50158
|
+
},
|
|
50159
|
+
{
|
|
50160
|
+
kind: "component",
|
|
50161
|
+
type: ScrollableComponent,
|
|
50162
|
+
selector: "et-scrollable",
|
|
50163
|
+
inputs: [
|
|
50164
|
+
"renderMasks",
|
|
50165
|
+
"maskVariant",
|
|
50166
|
+
"showLoadingTemplate",
|
|
50167
|
+
"loadingTemplatePosition",
|
|
50168
|
+
"scrollableRole",
|
|
50169
|
+
"scrollableClass"
|
|
50170
|
+
],
|
|
50171
|
+
outputs: ["intersectionChange", "scrollStateChange"]
|
|
50172
|
+
},
|
|
50173
|
+
{
|
|
50174
|
+
kind: "directive",
|
|
50175
|
+
type: NgTemplateOutlet,
|
|
50176
|
+
selector: "[ngTemplateOutlet]",
|
|
50177
|
+
inputs: [
|
|
50178
|
+
"ngTemplateOutletContext",
|
|
50179
|
+
"ngTemplateOutlet",
|
|
50180
|
+
"ngTemplateOutletInjector"
|
|
50181
|
+
]
|
|
50182
|
+
}
|
|
50183
|
+
],
|
|
50051
50184
|
encapsulation: i0.ViewEncapsulation.None
|
|
50052
50185
|
});
|
|
50053
50186
|
}
|
|
@@ -50062,7 +50195,11 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
50062
50195
|
args: [{
|
|
50063
50196
|
selector: "et-segmented-button-group",
|
|
50064
50197
|
encapsulation: ViewEncapsulation.None,
|
|
50065
|
-
imports: [
|
|
50198
|
+
imports: [
|
|
50199
|
+
FormSupportComponent,
|
|
50200
|
+
SCROLLABLE_IMPORTS,
|
|
50201
|
+
NgTemplateOutlet
|
|
50202
|
+
],
|
|
50066
50203
|
providers: [provideFormSupport()],
|
|
50067
50204
|
hostDirectives: [
|
|
50068
50205
|
FormFieldDirective,
|
|
@@ -50100,6 +50237,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
50100
50237
|
"[class.et-tab-scale]": "isTabsVariant()",
|
|
50101
50238
|
"[attr.data-size]": "size()",
|
|
50102
50239
|
"[attr.data-variant]": "variant()",
|
|
50240
|
+
"[attr.data-overflow]": "overflow()",
|
|
50103
50241
|
"[attr.data-stretch]": "stretch() || null",
|
|
50104
50242
|
"[attr.data-can-animate]": "canAnimate.state() || null",
|
|
50105
50243
|
"[attr.data-error]": "support.displaysError() || null",
|
|
@@ -50107,8 +50245,8 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
50107
50245
|
"[style.display]": "list.hidden() ? \"none\" : null",
|
|
50108
50246
|
"[attr.aria-busy]": "list.pending() ? \"true\" : null"
|
|
50109
50247
|
},
|
|
50110
|
-
template: "<ng-content select=\"et-label\" />\n<ng-content select=\".et-segmented-button-group-label\" />\n\n<div class=\"et-segmented-button-group-buttons\">\n
|
|
50111
|
-
styles: ["@layer components.sdk{@property --et-segmented-button-group-support-duration{syntax: \"<time>\"; inherits: true; initial-value: .18s;}@property --et-segmented-button-group-error-font-size{syntax: \"<length>\"; inherits: true; initial-value: 12px;}@property --et-segmented-button-group-warning-font-size{syntax: \"<length>\"; inherits: true; initial-value: 12px;}@property --et-segmented-button-group-hint-font-size{syntax: \"<length>\"; inherits: true; initial-value: 12px;}@property --et-segmented-button-group-gap{syntax: \"<length>\"; inherits: true; initial-value: 10px;}@property --et-segmented-button-group-label-font-size{syntax: \"<length>\"; inherits: true; initial-value: 13px;}@property --et-segmented-button-group-track-padding{syntax: \"<length>\"; inherits: true; initial-value: 3px;}@property --et-segmented-button-group-track-radius{syntax: \"<length>\"; inherits: true; initial-value: 10px;}@property --et-segmented-button-group-segment-min-width{syntax: \"<length>\"; inherits: true; initial-value: 0px;}et-segmented-button-group{display:flex;flex-direction:column;gap:var(--et-segmented-button-group-gap);color:var(--et-surface-color-solid, currentColor);--et-form-support-duration: var(--et-segmented-button-group-support-duration);--et-form-support-error-font-size: var(--et-segmented-button-group-error-font-size);--et-form-support-warning-font-size: var(--et-segmented-button-group-warning-font-size);--et-form-support-hint-font-size: var(--et-segmented-button-group-hint-font-size)}et-segmented-button-group[data-disabled]{cursor:not-allowed}et-segmented-button-group[data-disabled] .et-form-support{cursor:auto}et-segmented-button-group[data-readonly]{cursor:default}et-segmented-button-group>et-label,et-segmented-button-group .et-segmented-button-group-label{font-size:var(--et-segmented-button-group-label-font-size);font-weight:500;line-height:1.2;letter-spacing:-.01em;color:var(--et-surface-color-muted-solid, currentColor);-webkit-user-select:none;user-select:none}et-segmented-button-group:where([data-size=sm]){--et-segmented-button-group-label-font-size: 12px;--et-segmented-button-group-gap: 8px}et-segmented-button-group:where([data-size=sm]) et-segmented-button{--et-segmented-button-padding-x: 10px;--et-segmented-button-padding-y: 4px;--et-segmented-button-font-size: 12px}et-segmented-button-group:where([data-size=lg]){--et-segmented-button-group-label-font-size: 14px;--et-segmented-button-group-gap: 12px}et-segmented-button-group:where([data-size=lg]) et-segmented-button{--et-segmented-button-padding-x: 18px;--et-segmented-button-padding-y: 8px;--et-segmented-button-font-size: 16px}et-segmented-button-group .et-segmented-button-group-buttons{display:inline-grid;grid-auto-flow:column;grid-auto-columns:minmax(0,max-content);align-self:flex-start;min-width:0;max-width:100%;gap:2px;padding:var(--et-segmented-button-group-track-padding);border-radius:var(--et-segmented-button-group-track-radius);background-color:color-mix(in srgb,var(--et-surface-interaction-solid, currentColor) 8%,transparent)}et-segmented-button-group:where([data-stretch]) .et-segmented-button-group-buttons{display:grid;grid-auto-columns:minmax(var(--et-segmented-button-group-segment-min-width),1fr);align-self:stretch}et-segmented-button-group:where([data-stretch]) et-segmented-button{min-width:var(--et-segmented-button-group-segment-min-width)}et-segmented-button-group[data-error] .et-segmented-button-group-buttons{box-shadow:inset 0 0 0 1px var(--et-theme-color-primary-solid)}et-segmented-button-group:where([data-variant=tabs]) .et-segmented-button-group-buttons{gap:0;padding:0;border-radius:0;background-color:transparent;box-shadow:inset 0 calc(var(--et-tab-underline-size) * -1) 0 0 color-mix(in srgb,var(--et-surface-border-solid, currentColor) calc(var(--et-tab-baseline-opacity) * 100%),transparent)}et-segmented-button-group:where([data-variant=tabs])[data-error] .et-segmented-button-group-buttons{box-shadow:inset 0 calc(var(--et-tab-underline-size) * -1) 0 0 var(--et-theme-color-primary-solid)}et-segmented-button-group:where([data-variant=tabs]) et-segmented-button{--et-segmented-button-padding-x: var(--et-tab-padding-inline);--et-segmented-button-padding-y: var(--et-tab-padding-block);--et-segmented-button-tab-underline-size: var(--et-tab-underline-size);--et-segmented-button-tab-underline-radius: var(--et-tab-underline-radius);--et-segmented-button-font-size: var(--et-tab-font-size)}et-segmented-button-group[data-mixed] .et-segmented-button-group-buttons{outline:1px dashed var(--et-theme-color-primary-solid, currentColor);outline-offset:-1px}}\n"]
|
|
50248
|
+
template: "<ng-content select=\"et-label\" />\n<ng-content select=\".et-segmented-button-group-label\" />\n\n<ng-template #buttons>\n <div class=\"et-segmented-button-group-buttons\">\n <ng-content />\n </div>\n</ng-template>\n\n@if (isScrollOverflow()) {\n <et-scrollable\n class=\"et-segmented-button-group-scrollable\"\n renderMasks=\"false\"\n role=\"presentation\"\n scrollMode=\"element\"\n scrollOrigin=\"center\"\n scrollableRole=\"presentation\"\n >\n <ng-container *ngTemplateOutlet=\"buttons\" />\n </et-scrollable>\n} @else {\n <ng-container *ngTemplateOutlet=\"buttons\" />\n}\n\n@if (support.shouldRenderSupport()) {\n <et-form-support><ng-content select=\"et-hint\" /></et-form-support>\n}\n",
|
|
50249
|
+
styles: ["@layer components.sdk{@property --et-segmented-button-group-support-duration{syntax: \"<time>\"; inherits: true; initial-value: .18s;}@property --et-segmented-button-group-error-font-size{syntax: \"<length>\"; inherits: true; initial-value: 12px;}@property --et-segmented-button-group-warning-font-size{syntax: \"<length>\"; inherits: true; initial-value: 12px;}@property --et-segmented-button-group-hint-font-size{syntax: \"<length>\"; inherits: true; initial-value: 12px;}@property --et-segmented-button-group-gap{syntax: \"<length>\"; inherits: true; initial-value: 10px;}@property --et-segmented-button-group-label-font-size{syntax: \"<length>\"; inherits: true; initial-value: 13px;}@property --et-segmented-button-group-track-padding{syntax: \"<length>\"; inherits: true; initial-value: 3px;}@property --et-segmented-button-group-track-radius{syntax: \"<length>\"; inherits: true; initial-value: 10px;}@property --et-segmented-button-group-segment-min-width{syntax: \"<length>\"; inherits: true; initial-value: 0px;}:where(.et-scrollable[item-size=auto]:is([direction=horizontal],:not([direction]))>.et-scrollable-wrapper>.et-scrollable-container>et-segmented-button-group){inline-size:max-content}et-segmented-button-group{display:flex;flex-direction:column;gap:var(--et-segmented-button-group-gap);color:var(--et-surface-color-solid, currentColor);--et-form-support-duration: var(--et-segmented-button-group-support-duration);--et-form-support-error-font-size: var(--et-segmented-button-group-error-font-size);--et-form-support-warning-font-size: var(--et-segmented-button-group-warning-font-size);--et-form-support-hint-font-size: var(--et-segmented-button-group-hint-font-size)}et-segmented-button-group[data-disabled]{cursor:not-allowed}et-segmented-button-group[data-disabled] .et-form-support{cursor:auto}et-segmented-button-group[data-readonly]{cursor:default}et-segmented-button-group>et-label,et-segmented-button-group .et-segmented-button-group-label{font-size:var(--et-segmented-button-group-label-font-size);font-weight:500;line-height:1.2;letter-spacing:-.01em;color:var(--et-surface-color-muted-solid, currentColor);-webkit-user-select:none;user-select:none}et-segmented-button-group:where([data-size=sm]){--et-segmented-button-group-label-font-size: 12px;--et-segmented-button-group-gap: 8px}et-segmented-button-group:where([data-size=sm]) et-segmented-button{--et-segmented-button-padding-x: 10px;--et-segmented-button-padding-y: 4px;--et-segmented-button-font-size: 12px}et-segmented-button-group:where([data-size=lg]){--et-segmented-button-group-label-font-size: 14px;--et-segmented-button-group-gap: 12px}et-segmented-button-group:where([data-size=lg]) et-segmented-button{--et-segmented-button-padding-x: 18px;--et-segmented-button-padding-y: 8px;--et-segmented-button-font-size: 16px}et-segmented-button-group .et-segmented-button-group-buttons{display:inline-grid;grid-auto-flow:var(--et-segmented-button-group-columns, column);grid-auto-columns:minmax(0,max-content);grid-template-columns:repeat(var(--et-segmented-button-group-columns),minmax(0,max-content));align-self:flex-start;min-width:0;max-width:100%;gap:2px;padding:var(--et-segmented-button-group-track-padding);border-radius:var(--et-segmented-button-group-track-radius);background-color:var( --et-segmented-button-group-track-background, color-mix(in srgb, var(--et-surface-interaction-solid, currentColor) 8%, transparent) )}et-segmented-button-group:where([data-stretch]) .et-segmented-button-group-buttons{display:grid;grid-auto-columns:minmax(var(--et-segmented-button-group-segment-min-width),var(--et-segmented-button-group-stretch-track, 1fr));grid-template-columns:repeat(var(--et-segmented-button-group-columns),minmax(var(--et-segmented-button-group-segment-min-width),var(--et-segmented-button-group-stretch-track, 1fr)));align-self:stretch}et-segmented-button-group:where([data-stretch]) et-segmented-button{min-width:var(--et-segmented-button-group-segment-min-width)}et-segmented-button-group:where([data-overflow=scroll]) .et-segmented-button-group-scrollable{align-self:stretch;min-width:0;max-width:100%}et-segmented-button-group:where([data-overflow=scroll]:not([data-stretch])) .et-segmented-button-group-scrollable{align-self:flex-start}et-segmented-button-group:where([data-overflow=scroll]) .et-segmented-button-group-buttons{flex:1 0 auto;max-width:none;grid-auto-columns:max-content;grid-template-columns:none;grid-auto-flow:column}et-segmented-button-group:where([data-overflow=scroll][data-stretch]) .et-segmented-button-group-buttons{grid-auto-columns:minmax(max-content,var(--et-segmented-button-group-stretch-track, 1fr))}et-segmented-button-group[data-error] .et-segmented-button-group-buttons{box-shadow:inset 0 0 0 1px var(--et-theme-color-primary-solid)}et-segmented-button-group:where([data-variant=tabs]) .et-segmented-button-group-buttons{gap:0;padding:0;border-radius:0;background-color:transparent;box-shadow:inset 0 calc(var(--et-tab-underline-size) * -1) 0 0 color-mix(in srgb,var(--et-surface-border-solid, currentColor) calc(var(--et-tab-baseline-opacity) * 100%),transparent)}et-segmented-button-group:where([data-variant=tabs])[data-error] .et-segmented-button-group-buttons{box-shadow:inset 0 calc(var(--et-tab-underline-size) * -1) 0 0 var(--et-theme-color-primary-solid)}et-segmented-button-group:where([data-variant=tabs]) et-segmented-button{--et-segmented-button-padding-x: var(--et-tab-padding-inline);--et-segmented-button-padding-y: var(--et-tab-padding-block);--et-segmented-button-tab-underline-size: var(--et-tab-underline-size);--et-segmented-button-tab-underline-radius: var(--et-tab-underline-radius);--et-segmented-button-font-size: var(--et-tab-font-size)}et-segmented-button-group[data-mixed] .et-segmented-button-group-buttons{outline:1px dashed var(--et-theme-color-primary-solid, currentColor);outline-offset:-1px}}\n"]
|
|
50112
50250
|
}]
|
|
50113
50251
|
}],
|
|
50114
50252
|
ctorParameters: () => [],
|
|
@@ -50136,6 +50274,18 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
50136
50274
|
alias: "stretch",
|
|
50137
50275
|
required: false
|
|
50138
50276
|
}]
|
|
50277
|
+
}],
|
|
50278
|
+
overflow: [{
|
|
50279
|
+
type: i0.Input,
|
|
50280
|
+
args: [{
|
|
50281
|
+
isSignal: true,
|
|
50282
|
+
alias: "overflow",
|
|
50283
|
+
required: false
|
|
50284
|
+
}]
|
|
50285
|
+
}],
|
|
50286
|
+
scrollable: [{
|
|
50287
|
+
type: i0.ViewChild,
|
|
50288
|
+
args: [i0.forwardRef(() => ScrollableDirective), { isSignal: true }]
|
|
50139
50289
|
}]
|
|
50140
50290
|
}
|
|
50141
50291
|
});
|
|
@@ -50221,7 +50371,7 @@ var SegmentedButtonComponent = class SegmentedButtonComponent {
|
|
|
50221
50371
|
</span>
|
|
50222
50372
|
`,
|
|
50223
50373
|
isInline: true,
|
|
50224
|
-
styles: ["@layer components.sdk{@property --et-segmented-button-padding-x{syntax: \"<length>\"; inherits: true; initial-value: 14px;}@property --et-segmented-button-padding-y{syntax: \"<length>\"; inherits: true; initial-value: 6px;}@property --et-segmented-button-tab-underline-size{syntax: \"<length>\"; inherits: true; initial-value: 2px;}@property --et-segmented-button-tab-underline-radius{syntax: \"<length>\"; inherits: true; initial-value: 1px;}@property --et-segmented-button-border-radius{syntax: \"<length>\"; inherits: true; initial-value: 7px;}@property --et-segmented-button-transition-duration{syntax: \"<time>\"; inherits: true; initial-value: .15s;}@property --et-segmented-button-font-size{syntax: \"<length>\"; inherits: true; initial-value: 14px;}@property --et-segmented-button-height{syntax: \"<length> | auto\"; inherits: true; initial-value: auto;}@property --et-segmented-button-gap{syntax: \"<length>\"; inherits: true; initial-value: 0px;}@property --et-segmented-button-opacity-disabled{syntax: \"<number>\"; inherits: true; initial-value: .5;}et-segmented-button{position:relative;isolation:isolate;display:inline-flex;align-items:center;justify-content:center;min-width:0;gap:var(--et-segmented-button-gap);block-size:var(--et-segmented-button-height);padding:var(--et-segmented-button-padding-y) var(--et-segmented-button-padding-x);border-radius:var(--et-segmented-button-border-radius);cursor:pointer;outline:none;background:transparent;color:var(--et-surface-color-muted-solid, currentColor);font-size:var(--et-segmented-button-font-size);font-weight:
|
|
50374
|
+
styles: ["@layer components.sdk{@property --et-segmented-button-padding-x{syntax: \"<length>\"; inherits: true; initial-value: 14px;}@property --et-segmented-button-padding-y{syntax: \"<length>\"; inherits: true; initial-value: 6px;}@property --et-segmented-button-tab-underline-size{syntax: \"<length>\"; inherits: true; initial-value: 2px;}@property --et-segmented-button-tab-underline-radius{syntax: \"<length>\"; inherits: true; initial-value: 1px;}@property --et-segmented-button-border-radius{syntax: \"<length>\"; inherits: true; initial-value: 7px;}@property --et-segmented-button-transition-duration{syntax: \"<time>\"; inherits: true; initial-value: .15s;}@property --et-segmented-button-font-size{syntax: \"<length>\"; inherits: true; initial-value: 14px;}@property --et-segmented-button-height{syntax: \"<length> | auto\"; inherits: true; initial-value: auto;}@property --et-segmented-button-font-weight{syntax: \"<number>\"; inherits: true; initial-value: 500;}@property --et-segmented-button-gap{syntax: \"<length>\"; inherits: true; initial-value: 0px;}@property --et-segmented-button-opacity-disabled{syntax: \"<number>\"; inherits: true; initial-value: .5;}et-segmented-button{position:relative;isolation:isolate;display:inline-flex;align-items:center;justify-content:center;min-width:0;gap:var(--et-segmented-button-gap);block-size:var(--et-segmented-button-height);padding:var(--et-segmented-button-padding-y) var(--et-segmented-button-padding-x);border-radius:var(--et-segmented-button-border-radius);cursor:pointer;outline:none;background:transparent;color:var(--et-segmented-button-inactive-color, var(--et-surface-color-muted-solid, currentColor));font-size:var(--et-segmented-button-font-size);font-weight:var(--et-segmented-button-font-weight);line-height:1.4;white-space:nowrap;-webkit-user-select:none;user-select:none}et-segmented-button[data-readonly]{cursor:default}et-segmented-button .et-segmented-button-label{display:block;min-width:0;overflow:hidden;text-overflow:ellipsis}et-segmented-button .et-segmented-button-label>:where(:not(:last-child)){margin-inline-end:var(--et-segmented-button-gap)}et-segmented-button .et-segmented-button-label>:where(*){vertical-align:middle}et-segmented-button .et-segmented-button-bg{position:absolute;inset:0;z-index:-1;border-radius:var(--et-segmented-button-border-radius);background-color:var(--et-theme-color-primary-solid, currentColor);opacity:0}et-segmented-button[aria-disabled=true]{opacity:var(--et-segmented-button-opacity-disabled);pointer-events:none;cursor:default}@media(hover:hover){et-segmented-button:hover:not([aria-disabled=true]):not([data-readonly]):not([aria-checked=true]){color:var(--et-surface-color-solid, currentColor);background-color:var( --et-segmented-button-hover-fill, color-mix(in srgb, var(--et-surface-interaction-solid, currentColor) 10%, transparent) )}}et-segmented-button:focus-visible{outline:2px solid light-dark(var(--et-theme-color-ink-solid, currentColor),var(--et-theme-color-primary-solid, currentColor));outline-offset:var(--et-segmented-button-focus-ring-offset, 1px)}et-segmented-button:active:not([aria-disabled=true]):not([data-readonly]){transform:scale(var(--et-segmented-button-press-scale, .97))}et-segmented-button[aria-checked=true]{color:var(--et-theme-color-on-primary-solid, white)}et-segmented-button[aria-checked=true] .et-segmented-button-bg{opacity:1}et-segmented-button[data-can-animate]{transition:color var(--et-segmented-button-transition-duration) ease,transform var(--et-segmented-button-transition-duration) ease}@media(prefers-reduced-motion:reduce){et-segmented-button{--et-segmented-button-transition-duration: 1ms}}:where(et-segmented-button-group[data-variant=tabs]) et-segmented-button{--et-segmented-button-hover-fill: transparent;--et-segmented-button-press-scale: 1;--et-segmented-button-focus-ring-offset: 2px;border-radius:.5rem;color:var(--et-surface-interaction-solid, currentColor);font-weight:inherit;line-height:inherit}:where(et-segmented-button-group[data-variant=tabs]) et-segmented-button .et-segmented-button-bg{inset:auto 0 0;block-size:var(--et-segmented-button-tab-underline-size);border-radius:var(--et-segmented-button-tab-underline-radius);background-color:var(--et-theme-color-ink-solid, currentColor)}:where(et-segmented-button-group[data-variant=tabs]) et-segmented-button[aria-checked=true]{color:var(--et-surface-color-solid, currentColor)}@media(hover:hover){:where(et-segmented-button-group[data-variant=tabs]) et-segmented-button[aria-checked=true]:hover:not([aria-disabled=true]):not([data-readonly]){background-color:rgb(var(--et-theme-color-primary-rgb, 0 0 0) / .08)}}:where(et-segmented-button-group[data-variant=tabs]) et-segmented-button[aria-checked=true]:focus-visible{background-color:rgb(var(--et-theme-color-primary-rgb, 0 0 0) / .12)}:where(et-segmented-button-group[data-variant=tabs]) et-segmented-button[aria-checked=true]:active:not([aria-disabled=true]):not([data-readonly]){background-color:rgb(var(--et-theme-color-primary-rgb, 0 0 0) / .16)}}\n"],
|
|
50225
50375
|
encapsulation: i0.ViewEncapsulation.None
|
|
50226
50376
|
});
|
|
50227
50377
|
}
|
|
@@ -50255,7 +50405,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
50255
50405
|
class: "et-segmented-button",
|
|
50256
50406
|
"[attr.data-can-animate]": "canAnimate.state() || null"
|
|
50257
50407
|
},
|
|
50258
|
-
styles: ["@layer components.sdk{@property --et-segmented-button-padding-x{syntax: \"<length>\"; inherits: true; initial-value: 14px;}@property --et-segmented-button-padding-y{syntax: \"<length>\"; inherits: true; initial-value: 6px;}@property --et-segmented-button-tab-underline-size{syntax: \"<length>\"; inherits: true; initial-value: 2px;}@property --et-segmented-button-tab-underline-radius{syntax: \"<length>\"; inherits: true; initial-value: 1px;}@property --et-segmented-button-border-radius{syntax: \"<length>\"; inherits: true; initial-value: 7px;}@property --et-segmented-button-transition-duration{syntax: \"<time>\"; inherits: true; initial-value: .15s;}@property --et-segmented-button-font-size{syntax: \"<length>\"; inherits: true; initial-value: 14px;}@property --et-segmented-button-height{syntax: \"<length> | auto\"; inherits: true; initial-value: auto;}@property --et-segmented-button-gap{syntax: \"<length>\"; inherits: true; initial-value: 0px;}@property --et-segmented-button-opacity-disabled{syntax: \"<number>\"; inherits: true; initial-value: .5;}et-segmented-button{position:relative;isolation:isolate;display:inline-flex;align-items:center;justify-content:center;min-width:0;gap:var(--et-segmented-button-gap);block-size:var(--et-segmented-button-height);padding:var(--et-segmented-button-padding-y) var(--et-segmented-button-padding-x);border-radius:var(--et-segmented-button-border-radius);cursor:pointer;outline:none;background:transparent;color:var(--et-surface-color-muted-solid, currentColor);font-size:var(--et-segmented-button-font-size);font-weight:
|
|
50408
|
+
styles: ["@layer components.sdk{@property --et-segmented-button-padding-x{syntax: \"<length>\"; inherits: true; initial-value: 14px;}@property --et-segmented-button-padding-y{syntax: \"<length>\"; inherits: true; initial-value: 6px;}@property --et-segmented-button-tab-underline-size{syntax: \"<length>\"; inherits: true; initial-value: 2px;}@property --et-segmented-button-tab-underline-radius{syntax: \"<length>\"; inherits: true; initial-value: 1px;}@property --et-segmented-button-border-radius{syntax: \"<length>\"; inherits: true; initial-value: 7px;}@property --et-segmented-button-transition-duration{syntax: \"<time>\"; inherits: true; initial-value: .15s;}@property --et-segmented-button-font-size{syntax: \"<length>\"; inherits: true; initial-value: 14px;}@property --et-segmented-button-height{syntax: \"<length> | auto\"; inherits: true; initial-value: auto;}@property --et-segmented-button-font-weight{syntax: \"<number>\"; inherits: true; initial-value: 500;}@property --et-segmented-button-gap{syntax: \"<length>\"; inherits: true; initial-value: 0px;}@property --et-segmented-button-opacity-disabled{syntax: \"<number>\"; inherits: true; initial-value: .5;}et-segmented-button{position:relative;isolation:isolate;display:inline-flex;align-items:center;justify-content:center;min-width:0;gap:var(--et-segmented-button-gap);block-size:var(--et-segmented-button-height);padding:var(--et-segmented-button-padding-y) var(--et-segmented-button-padding-x);border-radius:var(--et-segmented-button-border-radius);cursor:pointer;outline:none;background:transparent;color:var(--et-segmented-button-inactive-color, var(--et-surface-color-muted-solid, currentColor));font-size:var(--et-segmented-button-font-size);font-weight:var(--et-segmented-button-font-weight);line-height:1.4;white-space:nowrap;-webkit-user-select:none;user-select:none}et-segmented-button[data-readonly]{cursor:default}et-segmented-button .et-segmented-button-label{display:block;min-width:0;overflow:hidden;text-overflow:ellipsis}et-segmented-button .et-segmented-button-label>:where(:not(:last-child)){margin-inline-end:var(--et-segmented-button-gap)}et-segmented-button .et-segmented-button-label>:where(*){vertical-align:middle}et-segmented-button .et-segmented-button-bg{position:absolute;inset:0;z-index:-1;border-radius:var(--et-segmented-button-border-radius);background-color:var(--et-theme-color-primary-solid, currentColor);opacity:0}et-segmented-button[aria-disabled=true]{opacity:var(--et-segmented-button-opacity-disabled);pointer-events:none;cursor:default}@media(hover:hover){et-segmented-button:hover:not([aria-disabled=true]):not([data-readonly]):not([aria-checked=true]){color:var(--et-surface-color-solid, currentColor);background-color:var( --et-segmented-button-hover-fill, color-mix(in srgb, var(--et-surface-interaction-solid, currentColor) 10%, transparent) )}}et-segmented-button:focus-visible{outline:2px solid light-dark(var(--et-theme-color-ink-solid, currentColor),var(--et-theme-color-primary-solid, currentColor));outline-offset:var(--et-segmented-button-focus-ring-offset, 1px)}et-segmented-button:active:not([aria-disabled=true]):not([data-readonly]){transform:scale(var(--et-segmented-button-press-scale, .97))}et-segmented-button[aria-checked=true]{color:var(--et-theme-color-on-primary-solid, white)}et-segmented-button[aria-checked=true] .et-segmented-button-bg{opacity:1}et-segmented-button[data-can-animate]{transition:color var(--et-segmented-button-transition-duration) ease,transform var(--et-segmented-button-transition-duration) ease}@media(prefers-reduced-motion:reduce){et-segmented-button{--et-segmented-button-transition-duration: 1ms}}:where(et-segmented-button-group[data-variant=tabs]) et-segmented-button{--et-segmented-button-hover-fill: transparent;--et-segmented-button-press-scale: 1;--et-segmented-button-focus-ring-offset: 2px;border-radius:.5rem;color:var(--et-surface-interaction-solid, currentColor);font-weight:inherit;line-height:inherit}:where(et-segmented-button-group[data-variant=tabs]) et-segmented-button .et-segmented-button-bg{inset:auto 0 0;block-size:var(--et-segmented-button-tab-underline-size);border-radius:var(--et-segmented-button-tab-underline-radius);background-color:var(--et-theme-color-ink-solid, currentColor)}:where(et-segmented-button-group[data-variant=tabs]) et-segmented-button[aria-checked=true]{color:var(--et-surface-color-solid, currentColor)}@media(hover:hover){:where(et-segmented-button-group[data-variant=tabs]) et-segmented-button[aria-checked=true]:hover:not([aria-disabled=true]):not([data-readonly]){background-color:rgb(var(--et-theme-color-primary-rgb, 0 0 0) / .08)}}:where(et-segmented-button-group[data-variant=tabs]) et-segmented-button[aria-checked=true]:focus-visible{background-color:rgb(var(--et-theme-color-primary-rgb, 0 0 0) / .12)}:where(et-segmented-button-group[data-variant=tabs]) et-segmented-button[aria-checked=true]:active:not([aria-disabled=true]):not([data-readonly]){background-color:rgb(var(--et-theme-color-primary-rgb, 0 0 0) / .16)}}\n"]
|
|
50259
50409
|
}]
|
|
50260
50410
|
}],
|
|
50261
50411
|
ctorParameters: () => [],
|
|
@@ -51274,7 +51424,8 @@ var DateTimeInputComponent = class DateTimeInputComponent {
|
|
|
51274
51424
|
inputs: [
|
|
51275
51425
|
"size",
|
|
51276
51426
|
"variant",
|
|
51277
|
-
"stretch"
|
|
51427
|
+
"stretch",
|
|
51428
|
+
"overflow"
|
|
51278
51429
|
]
|
|
51279
51430
|
},
|
|
51280
51431
|
{
|
|
@@ -52260,7 +52411,8 @@ var DateTimeRangeInputComponent = class DateTimeRangeInputComponent {
|
|
|
52260
52411
|
inputs: [
|
|
52261
52412
|
"size",
|
|
52262
52413
|
"variant",
|
|
52263
|
-
"stretch"
|
|
52414
|
+
"stretch",
|
|
52415
|
+
"overflow"
|
|
52264
52416
|
]
|
|
52265
52417
|
},
|
|
52266
52418
|
{
|
|
@@ -54728,6 +54880,12 @@ const formatFileSize = (bytes) => {
|
|
|
54728
54880
|
}
|
|
54729
54881
|
return `${roundedSize()} ${FILE_SIZE_UNITS[unitIndex]}`;
|
|
54730
54882
|
};
|
|
54883
|
+
const minImageSizeHint = ({ width, height }, words) => {
|
|
54884
|
+
if (width !== void 0 && height !== void 0) return ` (${words.min} ${width} × ${height} px)`;
|
|
54885
|
+
if (width !== void 0) return ` (${words.min} ${width} px ${words.wide})`;
|
|
54886
|
+
if (height !== void 0) return ` (${words.min} ${height} px ${words.high})`;
|
|
54887
|
+
return "";
|
|
54888
|
+
};
|
|
54731
54889
|
const DEFAULT_DROPZONE_LABELS = {
|
|
54732
54890
|
prompt: "Drag & drop or click to browse",
|
|
54733
54891
|
empty: "No files",
|
|
@@ -54740,6 +54898,14 @@ const DEFAULT_DROPZONE_LABELS = {
|
|
|
54740
54898
|
unsupportedFileType: (fileName) => `"${fileName}" has an unsupported file type.`,
|
|
54741
54899
|
fileTooLarge: (fileName, maxFileSize) => `"${fileName}" is too large${maxFileSize !== void 0 ? ` (max ${formatFileSize(maxFileSize)})` : ""}.`,
|
|
54742
54900
|
fileTooSmall: (fileName, minFileSize) => `"${fileName}" is too small${minFileSize !== void 0 ? ` (min ${formatFileSize(minFileSize)})` : ""}.`,
|
|
54901
|
+
imageTooSmall: (fileName, { width, height }) => `"${fileName}" is too small${minImageSizeHint({
|
|
54902
|
+
width,
|
|
54903
|
+
height
|
|
54904
|
+
}, {
|
|
54905
|
+
min: "min",
|
|
54906
|
+
wide: "wide",
|
|
54907
|
+
high: "high"
|
|
54908
|
+
})}.`,
|
|
54743
54909
|
tooManyFiles: (fileName) => `"${fileName}" was not added (only one file is allowed).`,
|
|
54744
54910
|
uploading: (count) => count === 1 ? "Uploading 1 file" : `Uploading ${count} files`,
|
|
54745
54911
|
cropArea: "Crop area. Arrow keys move it, Shift and arrow keys resize it.",
|
|
@@ -54758,6 +54924,14 @@ const GERMAN_DROPZONE_LABELS = {
|
|
|
54758
54924
|
unsupportedFileType: (fileName) => `"${fileName}" hat einen nicht unterstützten Dateityp.`,
|
|
54759
54925
|
fileTooLarge: (fileName, maxFileSize) => `"${fileName}" ist zu groß${maxFileSize !== void 0 ? ` (max. ${formatFileSize(maxFileSize)})` : ""}.`,
|
|
54760
54926
|
fileTooSmall: (fileName, minFileSize) => `"${fileName}" ist zu klein${minFileSize !== void 0 ? ` (min. ${formatFileSize(minFileSize)})` : ""}.`,
|
|
54927
|
+
imageTooSmall: (fileName, { width, height }) => `"${fileName}" ist zu klein${minImageSizeHint({
|
|
54928
|
+
width,
|
|
54929
|
+
height
|
|
54930
|
+
}, {
|
|
54931
|
+
min: "min.",
|
|
54932
|
+
wide: "breit",
|
|
54933
|
+
high: "hoch"
|
|
54934
|
+
})}.`,
|
|
54761
54935
|
tooManyFiles: (fileName) => `"${fileName}" wurde nicht hinzugefügt (nur eine Datei erlaubt).`,
|
|
54762
54936
|
uploading: (count) => count === 1 ? "1 Datei wird hochgeladen" : `${count} Dateien werden hochgeladen`,
|
|
54763
54937
|
cropArea: "Zuschnitt. Pfeiltasten verschieben ihn, Umschalt und Pfeiltasten ändern die Größe.",
|
|
@@ -54776,6 +54950,10 @@ const DROPZONE_ERROR_CODES = {
|
|
|
54776
54950
|
CROP_EXPORT_FAILED: 2403,
|
|
54777
54951
|
MISSING_CROP_STEP: 2404
|
|
54778
54952
|
};
|
|
54953
|
+
const DROPZONE_CROP_SHAPES = {
|
|
54954
|
+
RECT: "rect",
|
|
54955
|
+
ROUND: "round"
|
|
54956
|
+
};
|
|
54779
54957
|
const ENCODABLE_TYPES = [
|
|
54780
54958
|
"image/png",
|
|
54781
54959
|
"image/jpeg",
|
|
@@ -54784,6 +54962,12 @@ const ENCODABLE_TYPES = [
|
|
|
54784
54962
|
const clamp$2 = (value, [min, max]) => Math.min(Math.max(value, min), max);
|
|
54785
54963
|
const isDropzoneCroppableFile = (file) => file.type.startsWith("image/") && file.type !== "image/svg+xml";
|
|
54786
54964
|
const createInitialCropRect = (image, aspectRatio) => {
|
|
54965
|
+
if (aspectRatio === void 0) return {
|
|
54966
|
+
x: 0,
|
|
54967
|
+
y: 0,
|
|
54968
|
+
width: image.width,
|
|
54969
|
+
height: image.height
|
|
54970
|
+
};
|
|
54787
54971
|
const width = Math.min(image.width, image.height * aspectRatio);
|
|
54788
54972
|
const height = width / aspectRatio;
|
|
54789
54973
|
return {
|
|
@@ -54814,6 +54998,43 @@ const resizeCropRect = (options) => {
|
|
|
54814
54998
|
height
|
|
54815
54999
|
};
|
|
54816
55000
|
};
|
|
55001
|
+
const resizeFreeCropRect = (options) => {
|
|
55002
|
+
const { rect, corner, delta, image, minSize = 16 } = options;
|
|
55003
|
+
const west = corner === "nw" || corner === "sw";
|
|
55004
|
+
const north = corner === "nw" || corner === "ne";
|
|
55005
|
+
const anchorX = west ? rect.x + rect.width : rect.x;
|
|
55006
|
+
const anchorY = north ? rect.y + rect.height : rect.y;
|
|
55007
|
+
const maxWidth = west ? anchorX : image.width - anchorX;
|
|
55008
|
+
const maxHeight = north ? anchorY : image.height - anchorY;
|
|
55009
|
+
const width = clamp$2(rect.width + (west ? -delta.x : delta.x), [Math.min(minSize, maxWidth), maxWidth]);
|
|
55010
|
+
const height = clamp$2(rect.height + (north ? -delta.y : delta.y), [Math.min(minSize, maxHeight), maxHeight]);
|
|
55011
|
+
return {
|
|
55012
|
+
x: west ? anchorX - width : anchorX,
|
|
55013
|
+
y: north ? anchorY - height : anchorY,
|
|
55014
|
+
width,
|
|
55015
|
+
height
|
|
55016
|
+
};
|
|
55017
|
+
};
|
|
55018
|
+
const dragCropCorner = ({ rect, corner, dx, dy, aspectRatio, image }) => aspectRatio === void 0 ? resizeFreeCropRect({
|
|
55019
|
+
rect,
|
|
55020
|
+
corner,
|
|
55021
|
+
delta: {
|
|
55022
|
+
x: dx,
|
|
55023
|
+
y: dy
|
|
55024
|
+
},
|
|
55025
|
+
image
|
|
55026
|
+
}) : resizeCropRect({
|
|
55027
|
+
rect,
|
|
55028
|
+
corner,
|
|
55029
|
+
delta: cornerDragDelta({
|
|
55030
|
+
corner,
|
|
55031
|
+
dx,
|
|
55032
|
+
dy,
|
|
55033
|
+
aspectRatio
|
|
55034
|
+
}),
|
|
55035
|
+
aspectRatio,
|
|
55036
|
+
image
|
|
55037
|
+
});
|
|
54817
55038
|
const cornerDragDelta = ({ corner, dx, dy, aspectRatio }) => {
|
|
54818
55039
|
const sx = corner === "nw" || corner === "sw" ? -1 : 1;
|
|
54819
55040
|
const sy = corner === "nw" || corner === "ne" ? -1 : 1;
|
|
@@ -54830,7 +55051,15 @@ const cropRectForKey = (options) => {
|
|
|
54830
55051
|
}[key];
|
|
54831
55052
|
if (!direction) return null;
|
|
54832
55053
|
const [x, y] = direction;
|
|
54833
|
-
if (shiftKey) return
|
|
55054
|
+
if (shiftKey) return aspectRatio === void 0 ? resizeFreeCropRect({
|
|
55055
|
+
rect,
|
|
55056
|
+
corner: "se",
|
|
55057
|
+
delta: {
|
|
55058
|
+
x: x * step,
|
|
55059
|
+
y: y * step
|
|
55060
|
+
},
|
|
55061
|
+
image
|
|
55062
|
+
}) : resizeCropRect({
|
|
54834
55063
|
rect,
|
|
54835
55064
|
corner: "se",
|
|
54836
55065
|
delta: (x + y) * step,
|
|
@@ -54921,6 +55150,7 @@ var DropzoneCropDirective = class DropzoneCropDirective {
|
|
|
54921
55150
|
};
|
|
54922
55151
|
}, ...ngDevMode ? [{ debugName: "rectPercent" }] : /* istanbul ignore next */ []);
|
|
54923
55152
|
this.ready = computed(() => this.rect() !== null, ...ngDevMode ? [{ debugName: "ready" }] : /* istanbul ignore next */ []);
|
|
55153
|
+
this.shape = computed(() => this.config().shape ?? DROPZONE_CROP_SHAPES.RECT, ...ngDevMode ? [{ debugName: "shape" }] : /* istanbul ignore next */ []);
|
|
54924
55154
|
this.rectVars = computed(() => {
|
|
54925
55155
|
const rect = this.rectPercent();
|
|
54926
55156
|
if (!rect) return null;
|
|
@@ -54991,17 +55221,12 @@ var DropzoneCropDirective = class DropzoneCropDirective {
|
|
|
54991
55221
|
const scale = size.width / (this.hostElement.getBoundingClientRect().width || size.width);
|
|
54992
55222
|
const dx = (event.clientX - state.startX) * scale;
|
|
54993
55223
|
const dy = (event.clientY - state.startY) * scale;
|
|
54994
|
-
|
|
54995
|
-
this.rect.set(state.corner ? resizeCropRect({
|
|
55224
|
+
this.rect.set(state.corner ? dragCropCorner({
|
|
54996
55225
|
rect: state.startRect,
|
|
54997
55226
|
corner: state.corner,
|
|
54998
|
-
|
|
54999
|
-
|
|
55000
|
-
|
|
55001
|
-
dy,
|
|
55002
|
-
aspectRatio
|
|
55003
|
-
}),
|
|
55004
|
-
aspectRatio,
|
|
55227
|
+
dx,
|
|
55228
|
+
dy,
|
|
55229
|
+
aspectRatio: this.config().aspectRatio,
|
|
55005
55230
|
image: size
|
|
55006
55231
|
}) : moveCropRect({
|
|
55007
55232
|
rect: state.startRect,
|
|
@@ -55070,7 +55295,10 @@ var DropzoneCropDirective = class DropzoneCropDirective {
|
|
|
55070
55295
|
"pointercancel": "endDrag($event)",
|
|
55071
55296
|
"keydown": "handleKeydown($event)"
|
|
55072
55297
|
},
|
|
55073
|
-
properties: {
|
|
55298
|
+
properties: {
|
|
55299
|
+
"style": "rectVars()",
|
|
55300
|
+
"attr.data-shape": "shape()"
|
|
55301
|
+
}
|
|
55074
55302
|
},
|
|
55075
55303
|
exportAs: ["etDropzoneCrop"],
|
|
55076
55304
|
ngImport: i0
|
|
@@ -55092,7 +55320,8 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
55092
55320
|
"(pointerup)": "endDrag($event)",
|
|
55093
55321
|
"(pointercancel)": "endDrag($event)",
|
|
55094
55322
|
"(keydown)": "handleKeydown($event)",
|
|
55095
|
-
"[style]": "rectVars()"
|
|
55323
|
+
"[style]": "rectVars()",
|
|
55324
|
+
"[attr.data-shape]": "shape()"
|
|
55096
55325
|
}
|
|
55097
55326
|
}]
|
|
55098
55327
|
}],
|
|
@@ -55238,7 +55467,15 @@ var DropzoneCropComponent = class DropzoneCropComponent {
|
|
|
55238
55467
|
this.disabled = input(false, ...ngDevMode ? [{ debugName: "disabled" }] : /* istanbul ignore next */ []);
|
|
55239
55468
|
this.cropConfirm = output();
|
|
55240
55469
|
this.cropCancel = output();
|
|
55470
|
+
this.crop = viewChild.required(DropzoneCropDirective, ...ngDevMode ? [{ debugName: "crop" }] : /* istanbul ignore next */ []);
|
|
55471
|
+
this.cropRect = viewChild.required(DropzoneCropRectDirective, {
|
|
55472
|
+
...ngDevMode ? { debugName: "cropRect" } : /* istanbul ignore next */ {},
|
|
55473
|
+
read: ElementRef
|
|
55474
|
+
});
|
|
55241
55475
|
this.exporting = signal(false, ...ngDevMode ? [{ debugName: "exporting" }] : /* istanbul ignore next */ []);
|
|
55476
|
+
afterRenderEffect(() => {
|
|
55477
|
+
if (this.crop().ready()) this.cropRect().nativeElement.focus();
|
|
55478
|
+
});
|
|
55242
55479
|
}
|
|
55243
55480
|
confirmCrop(crop) {
|
|
55244
55481
|
if (this.exporting()) return;
|
|
@@ -55311,9 +55548,23 @@ var DropzoneCropComponent = class DropzoneCropComponent {
|
|
|
55311
55548
|
cropCancel: "cropCancel"
|
|
55312
55549
|
},
|
|
55313
55550
|
host: { classAttribute: "et-dropzone-crop" },
|
|
55551
|
+
viewQueries: [{
|
|
55552
|
+
propertyName: "crop",
|
|
55553
|
+
first: true,
|
|
55554
|
+
predicate: DropzoneCropDirective,
|
|
55555
|
+
descendants: true,
|
|
55556
|
+
isSignal: true
|
|
55557
|
+
}, {
|
|
55558
|
+
propertyName: "cropRect",
|
|
55559
|
+
first: true,
|
|
55560
|
+
predicate: DropzoneCropRectDirective,
|
|
55561
|
+
descendants: true,
|
|
55562
|
+
read: ElementRef,
|
|
55563
|
+
isSignal: true
|
|
55564
|
+
}],
|
|
55314
55565
|
ngImport: i0,
|
|
55315
55566
|
template: "<div class=\"et-dropzone-crop-viewport\">\n <div #crop=\"etDropzoneCrop\" [file]=\"file()\" [config]=\"config()\" class=\"et-dropzone-crop-stage\" etDropzoneCrop>\n @if (crop.imageSrc(); as src) {\n <img [src]=\"src\" class=\"et-dropzone-crop-image\" alt=\"\" draggable=\"false\" />\n }\n @if (crop.ready()) {\n <div class=\"et-dropzone-crop-shade\"></div>\n }\n <div\n [attr.aria-label]=\"areaLabel() || null\"\n class=\"et-dropzone-crop-rect\"\n role=\"group\"\n etDropzoneCropRect\n etFocusRing\n >\n <span class=\"et-dropzone-crop-handle\" etDropzoneCropHandle=\"nw\"></span>\n <span class=\"et-dropzone-crop-handle\" etDropzoneCropHandle=\"ne\"></span>\n <span class=\"et-dropzone-crop-handle\" etDropzoneCropHandle=\"sw\"></span>\n <span class=\"et-dropzone-crop-handle\" etDropzoneCropHandle=\"se\"></span>\n </div>\n </div>\n</div>\n\n<div class=\"et-dropzone-crop-actions\">\n <button\n [disabled]=\"disabled()\"\n (click)=\"cropCancel.emit()\"\n class=\"et-dropzone-crop-cancel\"\n type=\"button\"\n et-button\n variant=\"outline\"\n >\n {{ cancelLabel() }}\n </button>\n <button\n [disabled]=\"disabled() || !crop.ready() || exporting()\"\n (click)=\"confirmCrop(crop)\"\n class=\"et-dropzone-crop-confirm\"\n type=\"button\"\n et-button\n >\n {{ confirmLabel() }}\n </button>\n</div>\n",
|
|
55316
|
-
styles: ["@layer components.sdk{@property --et-dropzone-crop-max-height{syntax: \"<length>\"; inherits: true; initial-value: 320px;}@property --et-dropzone-crop-handle-size{syntax: \"<length>\"; inherits: true; initial-value: 14px;}.et-dropzone-crop{display:flex;flex-direction:column;gap:var(--et-dropzone-gap, 10px);padding:var(--et-dropzone-gap, 10px);border:var(--et-dropzone-border-width, 2px) solid var(--et-surface-border-solid, currentColor);border-radius:var(--et-dropzone-border-radius, 12px);background-color:var(--et-surface-background-solid, transparent);color:var(--et-surface-color-solid, inherit)}.et-dropzone-crop-viewport{display:flex;justify-content:center}.et-dropzone-crop-stage{position:relative;display:inline-block;touch-action:none;-webkit-user-select:none;user-select:none}.et-dropzone-crop-image{display:block;max-inline-size:100%;max-block-size:var(--et-dropzone-crop-max-height);pointer-events:none}.et-dropzone-crop-shade{position:absolute;inset:0;background-color:color-mix(in srgb,var(--et-surface-background-solid, transparent) 65%,transparent);clip-path:polygon(evenodd,0 0,100% 0,100% 100%,0 100%,0 0,var(--_et-dropzone-crop-left) var(--_et-dropzone-crop-top),var(--_et-dropzone-crop-right) var(--_et-dropzone-crop-top),var(--_et-dropzone-crop-right) var(--_et-dropzone-crop-bottom),var(--_et-dropzone-crop-left) var(--_et-dropzone-crop-bottom),var(--_et-dropzone-crop-left) var(--_et-dropzone-crop-top));pointer-events:none}.et-dropzone-crop-rect{position:absolute;inset:var(--_et-dropzone-crop-top) calc(100% - var(--_et-dropzone-crop-right)) calc(100% - var(--_et-dropzone-crop-bottom)) var(--_et-dropzone-crop-left);box-sizing:border-box;border:2px solid var(--et-theme-color-primary-solid, currentColor);cursor:move;outline:none}.et-dropzone-crop-handle{position:absolute;inline-size:var(--et-dropzone-crop-handle-size);block-size:var(--et-dropzone-crop-handle-size);border:2px solid var(--et-surface-background-solid, transparent);border-radius:50%;background-color:var(--et-theme-color-primary-solid, currentColor);translate:-50% -50%}.et-dropzone-crop-handle[data-corner=nw]{top:0;left:0;cursor:nwse-resize}.et-dropzone-crop-handle[data-corner=ne]{top:0;left:100%;cursor:nesw-resize}.et-dropzone-crop-handle[data-corner=sw]{top:100%;left:0;cursor:nesw-resize}.et-dropzone-crop-handle[data-corner=se]{top:100%;left:100%;cursor:nwse-resize}.et-dropzone-crop-actions{display:flex;justify-content:flex-end;gap:var(--et-dropzone-gap, 10px)}.et-dropzone-crop-step{display:contents}}\n"],
|
|
55567
|
+
styles: ["@layer components.sdk{@property --et-dropzone-crop-max-height{syntax: \"<length>\"; inherits: true; initial-value: 320px;}@property --et-dropzone-crop-handle-size{syntax: \"<length>\"; inherits: true; initial-value: 14px;}.et-dropzone-crop{display:flex;flex-direction:column;gap:var(--et-dropzone-gap, 10px);padding:var(--et-dropzone-gap, 10px);border:var(--et-dropzone-border-width, 2px) solid var(--et-surface-border-solid, currentColor);border-radius:var(--et-dropzone-border-radius, 12px);background-color:var(--et-surface-background-solid, transparent);color:var(--et-surface-color-solid, inherit)}.et-dropzone-crop-viewport{display:flex;justify-content:center}.et-dropzone-crop-stage{position:relative;display:inline-block;touch-action:none;-webkit-user-select:none;user-select:none}.et-dropzone-crop-image{display:block;max-inline-size:100%;max-block-size:var(--et-dropzone-crop-max-height);pointer-events:none}.et-dropzone-crop-shade{position:absolute;inset:0;background-color:color-mix(in srgb,var(--et-surface-background-solid, transparent) 65%,transparent);clip-path:polygon(evenodd,0 0,100% 0,100% 100%,0 100%,0 0,var(--_et-dropzone-crop-left) var(--_et-dropzone-crop-top),var(--_et-dropzone-crop-right) var(--_et-dropzone-crop-top),var(--_et-dropzone-crop-right) var(--_et-dropzone-crop-bottom),var(--_et-dropzone-crop-left) var(--_et-dropzone-crop-bottom),var(--_et-dropzone-crop-left) var(--_et-dropzone-crop-top));pointer-events:none}.et-dropzone-crop-stage[data-shape=round] .et-dropzone-crop-shade{overflow:hidden;background-color:transparent;clip-path:none}.et-dropzone-crop-stage[data-shape=round] .et-dropzone-crop-shade:before{content:\"\";position:absolute;inset:var(--_et-dropzone-crop-top) calc(100% - var(--_et-dropzone-crop-right)) calc(100% - var(--_et-dropzone-crop-bottom)) var(--_et-dropzone-crop-left);border-radius:50%;box-shadow:0 0 0 100vmax color-mix(in srgb,var(--et-surface-background-solid, transparent) 65%,transparent)}.et-dropzone-crop-stage[data-shape=round] .et-dropzone-crop-rect{border-radius:50%}.et-dropzone-crop-rect{position:absolute;inset:var(--_et-dropzone-crop-top) calc(100% - var(--_et-dropzone-crop-right)) calc(100% - var(--_et-dropzone-crop-bottom)) var(--_et-dropzone-crop-left);box-sizing:border-box;border:2px solid var(--et-theme-color-primary-solid, currentColor);cursor:move;outline:none}.et-dropzone-crop-handle{position:absolute;inline-size:var(--et-dropzone-crop-handle-size);block-size:var(--et-dropzone-crop-handle-size);border:2px solid var(--et-surface-background-solid, transparent);border-radius:50%;background-color:var(--et-theme-color-primary-solid, currentColor);translate:-50% -50%}.et-dropzone-crop-handle[data-corner=nw]{top:0;left:0;cursor:nwse-resize}.et-dropzone-crop-handle[data-corner=ne]{top:0;left:100%;cursor:nesw-resize}.et-dropzone-crop-handle[data-corner=sw]{top:100%;left:0;cursor:nesw-resize}.et-dropzone-crop-handle[data-corner=se]{top:100%;left:100%;cursor:nwse-resize}.et-dropzone-crop-actions{display:flex;justify-content:flex-end;gap:var(--et-dropzone-gap, 10px)}.et-dropzone-crop-step{display:contents}}\n"],
|
|
55317
55568
|
dependencies: [
|
|
55318
55569
|
{
|
|
55319
55570
|
kind: "component",
|
|
@@ -55323,7 +55574,8 @@ var DropzoneCropComponent = class DropzoneCropComponent {
|
|
|
55323
55574
|
"variant",
|
|
55324
55575
|
"size",
|
|
55325
55576
|
"iconAlignment",
|
|
55326
|
-
"stretchContents"
|
|
55577
|
+
"stretchContents",
|
|
55578
|
+
"pressedVariant"
|
|
55327
55579
|
]
|
|
55328
55580
|
},
|
|
55329
55581
|
{
|
|
@@ -55374,9 +55626,10 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
55374
55626
|
],
|
|
55375
55627
|
host: { class: "et-dropzone-crop" },
|
|
55376
55628
|
template: "<div class=\"et-dropzone-crop-viewport\">\n <div #crop=\"etDropzoneCrop\" [file]=\"file()\" [config]=\"config()\" class=\"et-dropzone-crop-stage\" etDropzoneCrop>\n @if (crop.imageSrc(); as src) {\n <img [src]=\"src\" class=\"et-dropzone-crop-image\" alt=\"\" draggable=\"false\" />\n }\n @if (crop.ready()) {\n <div class=\"et-dropzone-crop-shade\"></div>\n }\n <div\n [attr.aria-label]=\"areaLabel() || null\"\n class=\"et-dropzone-crop-rect\"\n role=\"group\"\n etDropzoneCropRect\n etFocusRing\n >\n <span class=\"et-dropzone-crop-handle\" etDropzoneCropHandle=\"nw\"></span>\n <span class=\"et-dropzone-crop-handle\" etDropzoneCropHandle=\"ne\"></span>\n <span class=\"et-dropzone-crop-handle\" etDropzoneCropHandle=\"sw\"></span>\n <span class=\"et-dropzone-crop-handle\" etDropzoneCropHandle=\"se\"></span>\n </div>\n </div>\n</div>\n\n<div class=\"et-dropzone-crop-actions\">\n <button\n [disabled]=\"disabled()\"\n (click)=\"cropCancel.emit()\"\n class=\"et-dropzone-crop-cancel\"\n type=\"button\"\n et-button\n variant=\"outline\"\n >\n {{ cancelLabel() }}\n </button>\n <button\n [disabled]=\"disabled() || !crop.ready() || exporting()\"\n (click)=\"confirmCrop(crop)\"\n class=\"et-dropzone-crop-confirm\"\n type=\"button\"\n et-button\n >\n {{ confirmLabel() }}\n </button>\n</div>\n",
|
|
55377
|
-
styles: ["@layer components.sdk{@property --et-dropzone-crop-max-height{syntax: \"<length>\"; inherits: true; initial-value: 320px;}@property --et-dropzone-crop-handle-size{syntax: \"<length>\"; inherits: true; initial-value: 14px;}.et-dropzone-crop{display:flex;flex-direction:column;gap:var(--et-dropzone-gap, 10px);padding:var(--et-dropzone-gap, 10px);border:var(--et-dropzone-border-width, 2px) solid var(--et-surface-border-solid, currentColor);border-radius:var(--et-dropzone-border-radius, 12px);background-color:var(--et-surface-background-solid, transparent);color:var(--et-surface-color-solid, inherit)}.et-dropzone-crop-viewport{display:flex;justify-content:center}.et-dropzone-crop-stage{position:relative;display:inline-block;touch-action:none;-webkit-user-select:none;user-select:none}.et-dropzone-crop-image{display:block;max-inline-size:100%;max-block-size:var(--et-dropzone-crop-max-height);pointer-events:none}.et-dropzone-crop-shade{position:absolute;inset:0;background-color:color-mix(in srgb,var(--et-surface-background-solid, transparent) 65%,transparent);clip-path:polygon(evenodd,0 0,100% 0,100% 100%,0 100%,0 0,var(--_et-dropzone-crop-left) var(--_et-dropzone-crop-top),var(--_et-dropzone-crop-right) var(--_et-dropzone-crop-top),var(--_et-dropzone-crop-right) var(--_et-dropzone-crop-bottom),var(--_et-dropzone-crop-left) var(--_et-dropzone-crop-bottom),var(--_et-dropzone-crop-left) var(--_et-dropzone-crop-top));pointer-events:none}.et-dropzone-crop-rect{position:absolute;inset:var(--_et-dropzone-crop-top) calc(100% - var(--_et-dropzone-crop-right)) calc(100% - var(--_et-dropzone-crop-bottom)) var(--_et-dropzone-crop-left);box-sizing:border-box;border:2px solid var(--et-theme-color-primary-solid, currentColor);cursor:move;outline:none}.et-dropzone-crop-handle{position:absolute;inline-size:var(--et-dropzone-crop-handle-size);block-size:var(--et-dropzone-crop-handle-size);border:2px solid var(--et-surface-background-solid, transparent);border-radius:50%;background-color:var(--et-theme-color-primary-solid, currentColor);translate:-50% -50%}.et-dropzone-crop-handle[data-corner=nw]{top:0;left:0;cursor:nwse-resize}.et-dropzone-crop-handle[data-corner=ne]{top:0;left:100%;cursor:nesw-resize}.et-dropzone-crop-handle[data-corner=sw]{top:100%;left:0;cursor:nesw-resize}.et-dropzone-crop-handle[data-corner=se]{top:100%;left:100%;cursor:nwse-resize}.et-dropzone-crop-actions{display:flex;justify-content:flex-end;gap:var(--et-dropzone-gap, 10px)}.et-dropzone-crop-step{display:contents}}\n"]
|
|
55629
|
+
styles: ["@layer components.sdk{@property --et-dropzone-crop-max-height{syntax: \"<length>\"; inherits: true; initial-value: 320px;}@property --et-dropzone-crop-handle-size{syntax: \"<length>\"; inherits: true; initial-value: 14px;}.et-dropzone-crop{display:flex;flex-direction:column;gap:var(--et-dropzone-gap, 10px);padding:var(--et-dropzone-gap, 10px);border:var(--et-dropzone-border-width, 2px) solid var(--et-surface-border-solid, currentColor);border-radius:var(--et-dropzone-border-radius, 12px);background-color:var(--et-surface-background-solid, transparent);color:var(--et-surface-color-solid, inherit)}.et-dropzone-crop-viewport{display:flex;justify-content:center}.et-dropzone-crop-stage{position:relative;display:inline-block;touch-action:none;-webkit-user-select:none;user-select:none}.et-dropzone-crop-image{display:block;max-inline-size:100%;max-block-size:var(--et-dropzone-crop-max-height);pointer-events:none}.et-dropzone-crop-shade{position:absolute;inset:0;background-color:color-mix(in srgb,var(--et-surface-background-solid, transparent) 65%,transparent);clip-path:polygon(evenodd,0 0,100% 0,100% 100%,0 100%,0 0,var(--_et-dropzone-crop-left) var(--_et-dropzone-crop-top),var(--_et-dropzone-crop-right) var(--_et-dropzone-crop-top),var(--_et-dropzone-crop-right) var(--_et-dropzone-crop-bottom),var(--_et-dropzone-crop-left) var(--_et-dropzone-crop-bottom),var(--_et-dropzone-crop-left) var(--_et-dropzone-crop-top));pointer-events:none}.et-dropzone-crop-stage[data-shape=round] .et-dropzone-crop-shade{overflow:hidden;background-color:transparent;clip-path:none}.et-dropzone-crop-stage[data-shape=round] .et-dropzone-crop-shade:before{content:\"\";position:absolute;inset:var(--_et-dropzone-crop-top) calc(100% - var(--_et-dropzone-crop-right)) calc(100% - var(--_et-dropzone-crop-bottom)) var(--_et-dropzone-crop-left);border-radius:50%;box-shadow:0 0 0 100vmax color-mix(in srgb,var(--et-surface-background-solid, transparent) 65%,transparent)}.et-dropzone-crop-stage[data-shape=round] .et-dropzone-crop-rect{border-radius:50%}.et-dropzone-crop-rect{position:absolute;inset:var(--_et-dropzone-crop-top) calc(100% - var(--_et-dropzone-crop-right)) calc(100% - var(--_et-dropzone-crop-bottom)) var(--_et-dropzone-crop-left);box-sizing:border-box;border:2px solid var(--et-theme-color-primary-solid, currentColor);cursor:move;outline:none}.et-dropzone-crop-handle{position:absolute;inline-size:var(--et-dropzone-crop-handle-size);block-size:var(--et-dropzone-crop-handle-size);border:2px solid var(--et-surface-background-solid, transparent);border-radius:50%;background-color:var(--et-theme-color-primary-solid, currentColor);translate:-50% -50%}.et-dropzone-crop-handle[data-corner=nw]{top:0;left:0;cursor:nwse-resize}.et-dropzone-crop-handle[data-corner=ne]{top:0;left:100%;cursor:nesw-resize}.et-dropzone-crop-handle[data-corner=sw]{top:100%;left:0;cursor:nesw-resize}.et-dropzone-crop-handle[data-corner=se]{top:100%;left:100%;cursor:nwse-resize}.et-dropzone-crop-actions{display:flex;justify-content:flex-end;gap:var(--et-dropzone-gap, 10px)}.et-dropzone-crop-step{display:contents}}\n"]
|
|
55378
55630
|
}]
|
|
55379
55631
|
}],
|
|
55632
|
+
ctorParameters: () => [],
|
|
55380
55633
|
propDecorators: {
|
|
55381
55634
|
file: [{
|
|
55382
55635
|
type: i0.Input,
|
|
@@ -55433,6 +55686,17 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
55433
55686
|
cropCancel: [{
|
|
55434
55687
|
type: i0.Output,
|
|
55435
55688
|
args: ["cropCancel"]
|
|
55689
|
+
}],
|
|
55690
|
+
crop: [{
|
|
55691
|
+
type: i0.ViewChild,
|
|
55692
|
+
args: [i0.forwardRef(() => DropzoneCropDirective), { isSignal: true }]
|
|
55693
|
+
}],
|
|
55694
|
+
cropRect: [{
|
|
55695
|
+
type: i0.ViewChild,
|
|
55696
|
+
args: [i0.forwardRef(() => DropzoneCropRectDirective), {
|
|
55697
|
+
read: ElementRef,
|
|
55698
|
+
isSignal: true
|
|
55699
|
+
}]
|
|
55436
55700
|
}]
|
|
55437
55701
|
}
|
|
55438
55702
|
});
|
|
@@ -55560,7 +55824,11 @@ var DropzoneItemComponent = class DropzoneItemComponent {
|
|
|
55560
55824
|
kind: "component",
|
|
55561
55825
|
type: IconButtonComponent,
|
|
55562
55826
|
selector: "[et-icon-button]",
|
|
55563
|
-
inputs: [
|
|
55827
|
+
inputs: [
|
|
55828
|
+
"variant",
|
|
55829
|
+
"size",
|
|
55830
|
+
"pressedVariant"
|
|
55831
|
+
]
|
|
55564
55832
|
},
|
|
55565
55833
|
{
|
|
55566
55834
|
kind: "directive",
|
|
@@ -55818,11 +56086,44 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
55818
56086
|
}]
|
|
55819
56087
|
}]
|
|
55820
56088
|
});
|
|
56089
|
+
const readWithImageElement = (file) => new Observable((subscriber) => {
|
|
56090
|
+
const url = URL.createObjectURL(file);
|
|
56091
|
+
const image = new Image();
|
|
56092
|
+
image.onload = () => {
|
|
56093
|
+
subscriber.next({
|
|
56094
|
+
width: image.naturalWidth,
|
|
56095
|
+
height: image.naturalHeight
|
|
56096
|
+
});
|
|
56097
|
+
subscriber.complete();
|
|
56098
|
+
};
|
|
56099
|
+
image.onerror = () => {
|
|
56100
|
+
subscriber.next(null);
|
|
56101
|
+
subscriber.complete();
|
|
56102
|
+
};
|
|
56103
|
+
image.src = url;
|
|
56104
|
+
return () => {
|
|
56105
|
+
image.onload = null;
|
|
56106
|
+
image.onerror = null;
|
|
56107
|
+
URL.revokeObjectURL(url);
|
|
56108
|
+
};
|
|
56109
|
+
});
|
|
56110
|
+
const readDropzoneImageSize = (file) => {
|
|
56111
|
+
if (typeof createImageBitmap !== "function") return readWithImageElement(file);
|
|
56112
|
+
return defer(() => createImageBitmap(file)).pipe(map((bitmap) => {
|
|
56113
|
+
const size = {
|
|
56114
|
+
width: bitmap.width,
|
|
56115
|
+
height: bitmap.height
|
|
56116
|
+
};
|
|
56117
|
+
bitmap.close();
|
|
56118
|
+
return size;
|
|
56119
|
+
}), catchError(() => of(null)));
|
|
56120
|
+
};
|
|
55821
56121
|
const DROPZONE_FILE_REJECTION_REASONS = {
|
|
55822
56122
|
ACCEPT: "accept",
|
|
55823
56123
|
MAX_FILE_SIZE: "maxFileSize",
|
|
55824
56124
|
MIN_FILE_SIZE: "minFileSize",
|
|
55825
|
-
MAX_FILES: "maxFiles"
|
|
56125
|
+
MAX_FILES: "maxFiles",
|
|
56126
|
+
IMAGE_TOO_SMALL: "imageTooSmall"
|
|
55826
56127
|
};
|
|
55827
56128
|
const DROPZONE_FILES_ERROR_KIND = "dropzoneFiles";
|
|
55828
56129
|
const DROPZONE_FILE_CONSTRAINTS = /* @__PURE__ */ createManagedMetadataKey((_state, data) => ({
|
|
@@ -55838,6 +56139,10 @@ const rejectionMessage = (rejection, context) => {
|
|
|
55838
56139
|
case DROPZONE_FILE_REJECTION_REASONS.ACCEPT: return labels.unsupportedFileType(name);
|
|
55839
56140
|
case DROPZONE_FILE_REJECTION_REASONS.MAX_FILE_SIZE: return labels.fileTooLarge(name, constraints?.maxFileSize);
|
|
55840
56141
|
case DROPZONE_FILE_REJECTION_REASONS.MIN_FILE_SIZE: return labels.fileTooSmall(name, constraints?.minFileSize);
|
|
56142
|
+
case DROPZONE_FILE_REJECTION_REASONS.IMAGE_TOO_SMALL: return labels.imageTooSmall(name, {
|
|
56143
|
+
width: constraints?.minImageWidth,
|
|
56144
|
+
height: constraints?.minImageHeight
|
|
56145
|
+
});
|
|
55841
56146
|
default: return labels.tooManyFiles(name);
|
|
55842
56147
|
}
|
|
55843
56148
|
};
|
|
@@ -55911,6 +56216,14 @@ var DropzoneDirective = class DropzoneDirective extends FieldStateControlDirecti
|
|
|
55911
56216
|
...ngDevMode ? { debugName: "minFileSize" } : /* istanbul ignore next */ {},
|
|
55912
56217
|
transform: optionalNumberAttribute$1
|
|
55913
56218
|
});
|
|
56219
|
+
this.minImageWidth = input(void 0, {
|
|
56220
|
+
...ngDevMode ? { debugName: "minImageWidth" } : /* istanbul ignore next */ {},
|
|
56221
|
+
transform: optionalNumberAttribute$1
|
|
56222
|
+
});
|
|
56223
|
+
this.minImageHeight = input(void 0, {
|
|
56224
|
+
...ngDevMode ? { debugName: "minImageHeight" } : /* istanbul ignore next */ {},
|
|
56225
|
+
transform: optionalNumberAttribute$1
|
|
56226
|
+
});
|
|
55914
56227
|
this.multiple = input(false, {
|
|
55915
56228
|
...ngDevMode ? { debugName: "multiple" } : /* istanbul ignore next */ {},
|
|
55916
56229
|
transform: booleanAttribute
|
|
@@ -55931,6 +56244,7 @@ var DropzoneDirective = class DropzoneDirective extends FieldStateControlDirecti
|
|
|
55931
56244
|
this.entryWatchers = /* @__PURE__ */ new Map();
|
|
55932
56245
|
this.lastSyncedValue = null;
|
|
55933
56246
|
this.hasSyncedValue = false;
|
|
56247
|
+
this.imageMeasurement = null;
|
|
55934
56248
|
this.interactive = computed(() => !this.disabled() && !this.readonly(), ...ngDevMode ? [{ debugName: "interactive" }] : /* istanbul ignore next */ []);
|
|
55935
56249
|
this.entries = this.internalEntries.asReadonly();
|
|
55936
56250
|
this.pendingCrops = this.internalPendingCrops.asReadonly();
|
|
@@ -55944,7 +56258,9 @@ var DropzoneDirective = class DropzoneDirective extends FieldStateControlDirecti
|
|
|
55944
56258
|
return {
|
|
55945
56259
|
accept: schema?.accept ?? this.accept(),
|
|
55946
56260
|
maxFileSize: schema?.maxFileSize ?? this.maxFileSize(),
|
|
55947
|
-
minFileSize: schema?.minFileSize ?? this.minFileSize()
|
|
56261
|
+
minFileSize: schema?.minFileSize ?? this.minFileSize(),
|
|
56262
|
+
minImageWidth: schema?.minImageWidth ?? this.minImageWidth(),
|
|
56263
|
+
minImageHeight: schema?.minImageHeight ?? this.minImageHeight()
|
|
55948
56264
|
};
|
|
55949
56265
|
}, ...ngDevMode ? [{ debugName: "fileConstraints" }] : /* istanbul ignore next */ []);
|
|
55950
56266
|
this.resolvedAccept = computed(() => this.fileConstraints().accept, ...ngDevMode ? [{ debugName: "resolvedAccept" }] : /* istanbul ignore next */ []);
|
|
@@ -55958,6 +56274,7 @@ var DropzoneDirective = class DropzoneDirective extends FieldStateControlDirecti
|
|
|
55958
56274
|
this.focusTarget = signal(null, ...ngDevMode ? [{ debugName: "focusTarget" }] : /* istanbul ignore next */ []);
|
|
55959
56275
|
this.formField?.registerControl(this);
|
|
55960
56276
|
this.destroyRef.onDestroy(() => {
|
|
56277
|
+
this.imageMeasurement?.unsubscribe();
|
|
55961
56278
|
this.formField?.unregisterControl(this);
|
|
55962
56279
|
for (const entry of this.internalEntries()) this.disposeEntry(entry);
|
|
55963
56280
|
});
|
|
@@ -55990,8 +56307,10 @@ var DropzoneDirective = class DropzoneDirective extends FieldStateControlDirecti
|
|
|
55990
56307
|
this.touched.set(true);
|
|
55991
56308
|
const rejections = [];
|
|
55992
56309
|
const accepted = [];
|
|
55993
|
-
const { accept, maxFileSize, minFileSize } = this.fileConstraints();
|
|
56310
|
+
const { accept, maxFileSize, minFileSize, minImageWidth, minImageHeight } = this.fileConstraints();
|
|
55994
56311
|
const multiple = this.multiple();
|
|
56312
|
+
this.imageMeasurement?.unsubscribe();
|
|
56313
|
+
this.imageMeasurement = null;
|
|
55995
56314
|
const candidates = multiple ? list : list.slice(0, 1);
|
|
55996
56315
|
for (const file of list.slice(candidates.length)) rejections.push({
|
|
55997
56316
|
file,
|
|
@@ -56010,18 +56329,22 @@ var DropzoneDirective = class DropzoneDirective extends FieldStateControlDirecti
|
|
|
56010
56329
|
reason: DROPZONE_FILE_REJECTION_REASONS.MIN_FILE_SIZE
|
|
56011
56330
|
});
|
|
56012
56331
|
else accepted.push(file);
|
|
56013
|
-
|
|
56014
|
-
if (
|
|
56015
|
-
|
|
56016
|
-
|
|
56017
|
-
if (toCrop.length || !multiple && direct.length) {
|
|
56018
|
-
const pending = toCrop.map((file) => ({
|
|
56019
|
-
id: randomId(),
|
|
56020
|
-
file
|
|
56021
|
-
}));
|
|
56022
|
-
this.internalPendingCrops.update((list) => multiple ? [...list, ...pending] : pending);
|
|
56332
|
+
const toMeasure = minImageWidth !== void 0 || minImageHeight !== void 0 ? accepted.filter(isDropzoneCroppableFile) : [];
|
|
56333
|
+
if (!toMeasure.length) {
|
|
56334
|
+
this.finishSelection(accepted, rejections);
|
|
56335
|
+
return;
|
|
56023
56336
|
}
|
|
56024
|
-
this.
|
|
56337
|
+
this.imageMeasurement = forkJoin(toMeasure.map(readDropzoneImageSize)).pipe(tap((sizes) => {
|
|
56338
|
+
if (!this.interactive()) return;
|
|
56339
|
+
const tooSmall = toMeasure.filter((_file, index) => {
|
|
56340
|
+
const size = sizes[index];
|
|
56341
|
+
return !!size && (minImageWidth !== void 0 && size.width < minImageWidth || minImageHeight !== void 0 && size.height < minImageHeight);
|
|
56342
|
+
});
|
|
56343
|
+
this.finishSelection(accepted.filter((file) => !tooSmall.includes(file)), [...rejections, ...tooSmall.map((file) => ({
|
|
56344
|
+
file,
|
|
56345
|
+
reason: DROPZONE_FILE_REJECTION_REASONS.IMAGE_TOO_SMALL
|
|
56346
|
+
}))]);
|
|
56347
|
+
})).subscribe();
|
|
56025
56348
|
}
|
|
56026
56349
|
confirmCrop(id, file) {
|
|
56027
56350
|
if (!this.interactive() || !this.internalPendingCrops().some((item) => item.id === id)) return;
|
|
@@ -56065,6 +56388,8 @@ var DropzoneDirective = class DropzoneDirective extends FieldStateControlDirecti
|
|
|
56065
56388
|
}
|
|
56066
56389
|
clear() {
|
|
56067
56390
|
if (!this.interactive()) return;
|
|
56391
|
+
this.imageMeasurement?.unsubscribe();
|
|
56392
|
+
this.imageMeasurement = null;
|
|
56068
56393
|
this.internalPendingCrops.set([]);
|
|
56069
56394
|
if (!this.internalEntries().length) return;
|
|
56070
56395
|
for (const entry of this.internalEntries()) this.disposeEntry(entry);
|
|
@@ -56099,6 +56424,21 @@ var DropzoneDirective = class DropzoneDirective extends FieldStateControlDirecti
|
|
|
56099
56424
|
const files = event.dataTransfer?.files;
|
|
56100
56425
|
if (files?.length) this.selectFiles(files);
|
|
56101
56426
|
}
|
|
56427
|
+
finishSelection(accepted, rejections) {
|
|
56428
|
+
const multiple = this.multiple();
|
|
56429
|
+
this.setRejections(rejections);
|
|
56430
|
+
if (rejections.length) this.filesReject.emit(rejections);
|
|
56431
|
+
const toCrop = this.crop() ? accepted.filter(isDropzoneCroppableFile) : [];
|
|
56432
|
+
const direct = accepted.filter((file) => !toCrop.includes(file));
|
|
56433
|
+
if (toCrop.length || !multiple && direct.length) {
|
|
56434
|
+
const pending = toCrop.map((file) => ({
|
|
56435
|
+
id: randomId(),
|
|
56436
|
+
file
|
|
56437
|
+
}));
|
|
56438
|
+
this.internalPendingCrops.update((list) => multiple ? [...list, ...pending] : pending);
|
|
56439
|
+
}
|
|
56440
|
+
this.addFiles(direct);
|
|
56441
|
+
}
|
|
56102
56442
|
addFiles(files) {
|
|
56103
56443
|
if (!files.length) return;
|
|
56104
56444
|
const multiple = this.multiple();
|
|
@@ -56321,6 +56661,20 @@ var DropzoneDirective = class DropzoneDirective extends FieldStateControlDirecti
|
|
|
56321
56661
|
isRequired: false,
|
|
56322
56662
|
transformFunction: null
|
|
56323
56663
|
},
|
|
56664
|
+
minImageWidth: {
|
|
56665
|
+
classPropertyName: "minImageWidth",
|
|
56666
|
+
publicName: "minImageWidth",
|
|
56667
|
+
isSignal: true,
|
|
56668
|
+
isRequired: false,
|
|
56669
|
+
transformFunction: null
|
|
56670
|
+
},
|
|
56671
|
+
minImageHeight: {
|
|
56672
|
+
classPropertyName: "minImageHeight",
|
|
56673
|
+
publicName: "minImageHeight",
|
|
56674
|
+
isSignal: true,
|
|
56675
|
+
isRequired: false,
|
|
56676
|
+
transformFunction: null
|
|
56677
|
+
},
|
|
56324
56678
|
multiple: {
|
|
56325
56679
|
classPropertyName: "multiple",
|
|
56326
56680
|
publicName: "multiple",
|
|
@@ -56498,6 +56852,22 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
56498
56852
|
required: false
|
|
56499
56853
|
}]
|
|
56500
56854
|
}],
|
|
56855
|
+
minImageWidth: [{
|
|
56856
|
+
type: i0.Input,
|
|
56857
|
+
args: [{
|
|
56858
|
+
isSignal: true,
|
|
56859
|
+
alias: "minImageWidth",
|
|
56860
|
+
required: false
|
|
56861
|
+
}]
|
|
56862
|
+
}],
|
|
56863
|
+
minImageHeight: [{
|
|
56864
|
+
type: i0.Input,
|
|
56865
|
+
args: [{
|
|
56866
|
+
isSignal: true,
|
|
56867
|
+
alias: "minImageHeight",
|
|
56868
|
+
required: false
|
|
56869
|
+
}]
|
|
56870
|
+
}],
|
|
56501
56871
|
multiple: [{
|
|
56502
56872
|
type: i0.Input,
|
|
56503
56873
|
args: [{
|
|
@@ -56583,6 +56953,7 @@ var DropzoneComponent = class DropzoneComponent {
|
|
|
56583
56953
|
this.singleEntry = computed(() => this.dropzoneDir.multiple() ? null : this.dropzoneDir.entries()[0] ?? null, ...ngDevMode ? [{ debugName: "singleEntry" }] : /* istanbul ignore next */ []);
|
|
56584
56954
|
this.singleEntryUploadedAt = computed(() => this.formatUploadedAt(this.singleEntry()?.uploadedAt() ?? null), ...ngDevMode ? [{ debugName: "singleEntryUploadedAt" }] : /* istanbul ignore next */ []);
|
|
56585
56955
|
this.pendingCrop = computed(() => this.dropzoneDir.pendingCrops()[0] ?? null, ...ngDevMode ? [{ debugName: "pendingCrop" }] : /* istanbul ignore next */ []);
|
|
56956
|
+
this.cropOpen = computed(() => !!this.cropStep && !!this.pendingCrop(), ...ngDevMode ? [{ debugName: "cropOpen" }] : /* istanbul ignore next */ []);
|
|
56586
56957
|
this.readonlyList = computed(() => this.dropzoneDir.readonly() && this.dropzoneDir.multiple() && this.dropzoneDir.entries().length > 0, ...ngDevMode ? [{ debugName: "readonlyList" }] : /* istanbul ignore next */ []);
|
|
56587
56958
|
this.liveStatusMessage = computed(() => {
|
|
56588
56959
|
const uploading = this.dropzoneDir.entries().filter((entry) => entry.status() === DROPZONE_ENTRY_STATUSES.UPLOADING).length;
|
|
@@ -56615,6 +56986,16 @@ var DropzoneComponent = class DropzoneComponent {
|
|
|
56615
56986
|
effect(() => {
|
|
56616
56987
|
if (this.layout() === DROPZONE_LAYOUTS.ROW) styleManager.mount(DropzoneRowStylesComponent);
|
|
56617
56988
|
});
|
|
56989
|
+
let wasCropOpen = false;
|
|
56990
|
+
effect(() => {
|
|
56991
|
+
if (this.cropOpen()) {
|
|
56992
|
+
wasCropOpen = true;
|
|
56993
|
+
return;
|
|
56994
|
+
}
|
|
56995
|
+
if (!wasCropOpen) return;
|
|
56996
|
+
wasCropOpen = false;
|
|
56997
|
+
afterNextRender(() => this.restoreFocusAfterCrop(), { injector: this.injector });
|
|
56998
|
+
});
|
|
56618
56999
|
effect(() => {
|
|
56619
57000
|
const target = this.readonlyList() ? this.fileList() : this.browseButton();
|
|
56620
57001
|
this.dropzoneDir.focusTarget.set(target?.nativeElement ?? null);
|
|
@@ -56676,6 +57057,10 @@ var DropzoneComponent = class DropzoneComponent {
|
|
|
56676
57057
|
focus(options) {
|
|
56677
57058
|
this.dropzoneDir.focus(options);
|
|
56678
57059
|
}
|
|
57060
|
+
restoreFocusAfterCrop() {
|
|
57061
|
+
const active = this.hostElement.ownerDocument.activeElement;
|
|
57062
|
+
if (!active || active === this.hostElement.ownerDocument.body || this.hostElement.contains(active)) this.dropzoneDir.focus();
|
|
57063
|
+
}
|
|
56679
57064
|
defaultUploadErrorMessage(entry) {
|
|
56680
57065
|
return this.resolvedLabels().uploadFailedMessage({
|
|
56681
57066
|
fileName: entry.name(),
|
|
@@ -56809,6 +57194,10 @@ var DropzoneComponent = class DropzoneComponent {
|
|
|
56809
57194
|
"maxFileSize",
|
|
56810
57195
|
"minFileSize",
|
|
56811
57196
|
"minFileSize",
|
|
57197
|
+
"minImageWidth",
|
|
57198
|
+
"minImageWidth",
|
|
57199
|
+
"minImageHeight",
|
|
57200
|
+
"minImageHeight",
|
|
56812
57201
|
"crop",
|
|
56813
57202
|
"crop",
|
|
56814
57203
|
"aria-label",
|
|
@@ -56837,7 +57226,7 @@ var DropzoneComponent = class DropzoneComponent {
|
|
|
56837
57226
|
}
|
|
56838
57227
|
],
|
|
56839
57228
|
ngImport: i0,
|
|
56840
|
-
template: "<ng-content select=\"et-label\" />\n\n<input\n #fileInput\n [accept]=\"dropzoneDir.resolvedAccept() || null\"\n [multiple]=\"dropzoneDir.multiple()\"\n [disabled]=\"!dropzoneDir.interactive()\"\n (change)=\"uploadPickedFiles($event)\"\n (cancel)=\"resetFilePickerState()\"\n class=\"et-dropzone-native-input\"\n type=\"file\"\n tabindex=\"-1\"\n aria-hidden=\"true\"\n/>\n\n<div [attr.data-has-preview]=\"singleEntry() ? true : null\" class=\"et-dropzone-area\">\n
|
|
57229
|
+
template: "<ng-content select=\"et-label\" />\n\n<input\n #fileInput\n [accept]=\"dropzoneDir.resolvedAccept() || null\"\n [multiple]=\"dropzoneDir.multiple()\"\n [disabled]=\"!dropzoneDir.interactive()\"\n (change)=\"uploadPickedFiles($event)\"\n (cancel)=\"resetFilePickerState()\"\n class=\"et-dropzone-native-input\"\n type=\"file\"\n tabindex=\"-1\"\n aria-hidden=\"true\"\n/>\n\n@if (cropOpen()) {\n <ng-container *ngComponentOutlet=\"cropStep\" />\n} @else {\n <div [attr.data-has-preview]=\"singleEntry() ? true : null\" class=\"et-dropzone-area\">\n <button\n #browseButton\n [disabled]=\"dropzoneDir.disabled()\"\n [attr.aria-disabled]=\"dropzoneDir.readonly() || null\"\n [attr.tabindex]=\"singleEntry() && !dropzoneDir.readonly() ? '-1' : null\"\n [attr.aria-invalid]=\"dropzoneDir.shouldDisplayError() || null\"\n [attr.aria-describedby]=\"dropzoneDir.describedBy() || null\"\n [attr.aria-label]=\"dropzoneDir.ariaLabel() || null\"\n [attr.aria-labelledby]=\"dropzoneDir.labelId() || null\"\n (click)=\"openFilePicker()\"\n (focus)=\"resetFilePickerState()\"\n (blur)=\"markTriggerTouched()\"\n class=\"et-dropzone-trigger\"\n type=\"button\"\n etFocusRing\n >\n <span class=\"et-dropzone-prompt\">\n <ng-content>\n <i class=\"et-dropzone-prompt-icon\" etIcon=\"et-upload\"></i>\n <span class=\"et-dropzone-prompt-text\">{{ resolvedLabels().prompt }}</span>\n </ng-content>\n </span>\n\n @if (dropzoneDir.readonly()) {\n <span class=\"et-dropzone-empty\">\n <i class=\"et-dropzone-prompt-icon\" etIcon=\"et-file\"></i>\n <span class=\"et-dropzone-prompt-text\">{{ resolvedLabels().empty }}</span>\n </span>\n }\n </button>\n\n @if (singleEntry(); as entry) {\n @if (layout() === 'row') {\n <et-dropzone-item\n #entryEl\n [entry]=\"entry\"\n [listItem]=\"false\"\n [readonly]=\"dropzoneDir.readonly()\"\n [interactive]=\"dropzoneDir.interactive()\"\n [retryLabel]=\"resolvedLabels().retry\"\n [removeLabel]=\"resolvedLabels().remove\"\n [replaceLabel]=\"resolvedLabels().replaceFile\"\n [errorMessage]=\"entry.errorMessage() ?? resolvedLabels().entryUploadFailed\"\n (retry)=\"dropzoneDir.retryEntry(entry.id)\"\n (replace)=\"openFilePicker()\"\n (remove)=\"removeEntryAnimated(entry, entryEl.elementRef.nativeElement)\"\n />\n } @else {\n <div #entryEl [attr.data-status]=\"entry.status()\" class=\"et-dropzone-preview\">\n @if (entry.previewUrl(); as previewUrl) {\n <img [src]=\"previewUrl\" class=\"et-dropzone-preview-image\" alt=\"\" />\n } @else {\n <i class=\"et-dropzone-file-icon\" etIcon=\"et-file\"></i>\n }\n\n <div class=\"et-dropzone-preview-info\">\n <span class=\"et-dropzone-entry-name\">{{ entry.name() }}</span>\n\n @if (entry.size() || singleEntryUploadedAt()) {\n <span class=\"et-dropzone-entry-meta\">\n @if (entry.size(); as size) {\n <span class=\"et-dropzone-entry-size\">{{ FORMAT_FILE_SIZE(size) }}</span>\n }\n @if (singleEntryUploadedAt(); as uploadedAt) {\n <time [attr.datetime]=\"uploadedAt.iso\" class=\"et-dropzone-entry-date\">{{ uploadedAt.label }}</time>\n }\n </span>\n }\n\n @if (entry.status() === 'error') {\n <span class=\"et-dropzone-entry-error\" aria-hidden=\"true\">{{\n entry.errorMessage() ?? resolvedLabels().entryUploadFailed\n }}</span>\n }\n\n @if (entry.source.type === 'file') {\n <div [attr.data-active]=\"entry.status() === 'uploading' || null\" class=\"et-dropzone-entry-progress\">\n <div class=\"et-dropzone-entry-progress-inner\">\n <et-progress-bar [value]=\"entry.progress()\" />\n </div>\n </div>\n }\n </div>\n\n @if (!dropzoneDir.readonly()) {\n <div class=\"et-dropzone-preview-actions\">\n @if (entry.status() === 'error') {\n <button\n [disabled]=\"!dropzoneDir.interactive()\"\n [attr.aria-label]=\"resolvedLabels().retry + ' ' + entry.name()\"\n (click)=\"dropzoneDir.retryEntry(entry.id)\"\n class=\"et-dropzone-retry-button\"\n type=\"button\"\n et-icon-button\n variant=\"filled\"\n size=\"sm\"\n >\n <i etIcon=\"et-rotate-right\"></i>\n </button>\n } @else {\n <button\n [disabled]=\"!dropzoneDir.interactive()\"\n [attr.aria-label]=\"resolvedLabels().replaceFile\"\n (click)=\"openFilePicker()\"\n class=\"et-dropzone-replace-button\"\n type=\"button\"\n et-icon-button\n variant=\"filled\"\n size=\"sm\"\n >\n <i etIcon=\"et-rotate-right\"></i>\n </button>\n }\n <button\n [disabled]=\"!dropzoneDir.interactive()\"\n [attr.aria-label]=\"resolvedLabels().remove + ' ' + entry.name()\"\n (click)=\"removeEntryAnimated(entry, entryEl)\"\n class=\"et-dropzone-remove-button\"\n type=\"button\"\n et-icon-button\n variant=\"filled\"\n size=\"sm\"\n >\n <i etIcon=\"et-times\"></i>\n </button>\n </div>\n }\n </div>\n }\n }\n </div>\n}\n\n@if (dropzoneDir.multiple() && dropzoneDir.entries().length) {\n <ul\n #fileList\n [attr.tabindex]=\"readonlyList() ? '0' : null\"\n [attr.aria-describedby]=\"readonlyList() ? dropzoneDir.describedBy() || null : null\"\n [attr.aria-label]=\"readonlyList() ? dropzoneDir.ariaLabel() || null : null\"\n [attr.aria-labelledby]=\"readonlyList() ? dropzoneDir.labelId() || null : null\"\n [focusRingDisabled]=\"!readonlyList()\"\n class=\"et-dropzone-list\"\n role=\"list\"\n etFocusRing\n >\n @for (entry of dropzoneDir.entries(); track entry.id) {\n <et-dropzone-item\n #entryEl\n [entry]=\"entry\"\n [readonly]=\"dropzoneDir.readonly()\"\n [interactive]=\"dropzoneDir.interactive()\"\n [retryLabel]=\"resolvedLabels().retry\"\n [removeLabel]=\"resolvedLabels().remove\"\n [errorMessage]=\"entry.errorMessage() ?? resolvedLabels().entryUploadFailed\"\n (retry)=\"dropzoneDir.retryEntry(entry.id)\"\n (remove)=\"removeEntryAnimated(entry, entryEl.elementRef.nativeElement)\"\n />\n }\n </ul>\n}\n\n<div class=\"et-visually-hidden et-dropzone-live-status\" role=\"status\" aria-live=\"polite\">{{ liveStatusMessage() }}</div>\n\n@if (internalErrorMessages().length) {\n <div [etProvideColor]=\"support.errorColorTheme()\" class=\"et-dropzone-internal-errors\" role=\"alert\">\n @for (message of internalErrorMessages(); track $index) {\n <span class=\"et-dropzone-internal-error\">{{ message }}</span>\n }\n </div>\n}\n\n@if (support.shouldRenderSupport()) {\n <et-form-support><ng-content select=\"et-hint\" /></et-form-support>\n}\n",
|
|
56841
57230
|
styles: ["@layer components.sdk{@property --et-dropzone-min-height{syntax: \"<length>\"; inherits: true; initial-value: 160px;}@property --et-dropzone-readonly-min-height{syntax: \"<length>\"; inherits: true; initial-value: 96px;}@property --et-dropzone-border-radius{syntax: \"<length>\"; inherits: true; initial-value: 12px;}@property --et-dropzone-border-width{syntax: \"<length>\"; inherits: true; initial-value: 2px;}@property --et-dropzone-gap{syntax: \"<length>\"; inherits: true; initial-value: 10px;}@property --et-dropzone-thumbnail-size{syntax: \"<length>\"; inherits: true; initial-value: 48px;}@property --et-dropzone-transition-duration{syntax: \"<time>\"; inherits: true; initial-value: .15s;}@property --et-dropzone-opacity-disabled{syntax: \"<number>\"; inherits: true; initial-value: .5;}@property --et-dropzone-label-font-size{syntax: \"<length>\"; inherits: true; initial-value: 13px;}@property --et-dropzone-support-duration{syntax: \"<time>\"; inherits: true; initial-value: .18s;}@property --et-dropzone-error-font-size{syntax: \"<length>\"; inherits: true; initial-value: 12px;}@property --et-dropzone-warning-font-size{syntax: \"<length>\"; inherits: true; initial-value: 12px;}@property --et-dropzone-hint-font-size{syntax: \"<length>\"; inherits: true; initial-value: 12px;}et-dropzone{display:flex;flex-direction:column;gap:var(--et-dropzone-gap);color:var(--et-surface-color-solid, currentColor);--et-form-support-duration: var(--et-dropzone-support-duration);--et-form-support-error-font-size: var(--et-dropzone-error-font-size);--et-form-support-warning-font-size: var(--et-dropzone-warning-font-size);--et-form-support-hint-font-size: var(--et-dropzone-hint-font-size)}et-dropzone .et-form-support{margin-block-start:calc(4px - var(--et-dropzone-gap))}et-dropzone>et-label{font-size:var(--et-dropzone-label-font-size);font-weight:500;line-height:1.2;letter-spacing:-.01em;color:var(--et-surface-color-muted-solid, currentColor);-webkit-user-select:none;user-select:none}et-dropzone .et-dropzone-native-input{position:absolute;inline-size:1px;block-size:1px;opacity:0;pointer-events:none}et-dropzone .et-dropzone-area{position:relative;display:grid}et-dropzone .et-dropzone-trigger{grid-area:1 / 1;display:grid;place-items:center;min-block-size:var(--et-dropzone-min-height);padding:16px;border:var(--et-dropzone-border-width) dashed var(--et-surface-border-solid, currentColor);border-radius:var(--et-dropzone-border-radius);background-color:transparent;color:var(--et-surface-color-muted-solid, currentColor);font:inherit;cursor:pointer;transition:border-color var(--et-dropzone-transition-duration) ease,background-color var(--et-dropzone-transition-duration) ease}@media(hover:hover){et-dropzone .et-dropzone-trigger:hover:not(:disabled,[aria-disabled=true]){border-color:var(--et-surface-interaction-hover-solid, currentColor);background-color:color-mix(in srgb,var(--et-surface-interaction-solid, currentColor) 6%,transparent)}}et-dropzone .et-dropzone-trigger:disabled{cursor:not-allowed}et-dropzone .et-dropzone-prompt{display:flex;flex-direction:column;align-items:center;gap:8px}et-dropzone .et-dropzone-prompt-icon{display:block;inline-size:28px;block-size:28px}et-dropzone .et-dropzone-prompt-text{font-size:13px;line-height:1.4}et-dropzone .et-dropzone-area[data-has-preview] .et-dropzone-prompt{visibility:hidden}et-dropzone .et-dropzone-file-icon{display:block;inline-size:40px;block-size:40px;color:var(--et-surface-color-muted-solid, currentColor)}et-dropzone .et-dropzone-entry-name{overflow:hidden;font-size:13px;line-height:1.4;text-overflow:ellipsis;white-space:nowrap}et-dropzone .et-dropzone-entry-size{font-size:12px;color:var(--et-surface-color-muted-solid, currentColor)}et-dropzone .et-dropzone-internal-errors{display:flex;flex-direction:column;gap:2px;margin-block-start:calc(4px - var(--et-dropzone-gap));font-size:var(--et-dropzone-error-font-size);color:var(--et-theme-color-ink-solid, currentColor)}et-dropzone .et-dropzone-entry-progress{display:grid;grid-template-rows:0fr;opacity:0;transition:grid-template-rows var(--et-dropzone-transition-duration) ease,opacity var(--et-dropzone-transition-duration) ease}et-dropzone .et-dropzone-entry-progress[data-active]{grid-template-rows:1fr;opacity:1}et-dropzone .et-dropzone-entry-progress .et-dropzone-entry-progress-inner{min-block-size:0;overflow:hidden}et-dropzone .et-dropzone-entry-progress .et-dropzone-entry-progress-inner et-progress-bar{margin-block:4px 2px}et-dropzone[data-can-animate] .et-dropzone-item,et-dropzone[data-can-animate] .et-dropzone-preview{transition:opacity var(--et-dropzone-transition-duration) ease,scale var(--et-dropzone-transition-duration) ease}@starting-style{et-dropzone[data-can-animate] .et-dropzone-item,et-dropzone[data-can-animate] .et-dropzone-preview{opacity:0;scale:.97}}et-dropzone[data-can-animate] .et-dropzone-internal-errors{transition:opacity var(--et-dropzone-support-duration) ease}@starting-style{et-dropzone[data-can-animate] .et-dropzone-internal-errors{opacity:0}}@media(prefers-reduced-motion:reduce){et-dropzone{--et-dropzone-support-duration: 1ms;--et-dropzone-transition-duration: 1ms}}et-dropzone[data-drag-over] .et-dropzone-trigger{border-color:var(--et-theme-color-primary-solid, currentColor);background-color:color-mix(in srgb,var(--et-theme-color-primary-solid, currentColor) 8%,transparent)}et-dropzone[data-error] .et-dropzone-trigger{border-color:var(--et-theme-color-primary-solid, currentColor)}@media(hover:hover){et-dropzone[data-error] .et-dropzone-trigger:hover:not(:disabled,[aria-disabled=true]){border-color:light-dark(rgb(var(--et-color-primary-hover, var(--et-color-primary))),rgb(var( --et-color-primary-ink-active, var( --et-color-primary-ink-focus, var( --et-color-primary-ink-hover, var( --et-color-primary-ink, var( --et-color-primary-active, var(--et-color-primary-focus, var(--et-color-primary-hover, var(--et-color-primary))) ) ) ) ) )))}}et-dropzone[data-disabled] .et-dropzone-area,et-dropzone[data-disabled] .et-dropzone-list{opacity:var(--et-dropzone-opacity-disabled)}}\n"],
|
|
56842
57231
|
dependencies: [
|
|
56843
57232
|
{
|
|
@@ -56889,7 +57278,11 @@ var DropzoneComponent = class DropzoneComponent {
|
|
|
56889
57278
|
kind: "component",
|
|
56890
57279
|
type: IconButtonComponent,
|
|
56891
57280
|
selector: "[et-icon-button]",
|
|
56892
|
-
inputs: [
|
|
57281
|
+
inputs: [
|
|
57282
|
+
"variant",
|
|
57283
|
+
"size",
|
|
57284
|
+
"pressedVariant"
|
|
57285
|
+
]
|
|
56893
57286
|
},
|
|
56894
57287
|
{
|
|
56895
57288
|
kind: "directive",
|
|
@@ -56958,6 +57351,8 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
56958
57351
|
"accept",
|
|
56959
57352
|
"maxFileSize",
|
|
56960
57353
|
"minFileSize",
|
|
57354
|
+
"minImageWidth",
|
|
57355
|
+
"minImageHeight",
|
|
56961
57356
|
"crop",
|
|
56962
57357
|
...ACCESSIBLE_NAME_INPUTS,
|
|
56963
57358
|
...FIELD_STATE_INPUTS
|
|
@@ -56983,7 +57378,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
56983
57378
|
"[attr.data-layout]": "layout()",
|
|
56984
57379
|
"[attr.data-can-animate]": "canAnimate.state() || null"
|
|
56985
57380
|
},
|
|
56986
|
-
template: "<ng-content select=\"et-label\" />\n\n<input\n #fileInput\n [accept]=\"dropzoneDir.resolvedAccept() || null\"\n [multiple]=\"dropzoneDir.multiple()\"\n [disabled]=\"!dropzoneDir.interactive()\"\n (change)=\"uploadPickedFiles($event)\"\n (cancel)=\"resetFilePickerState()\"\n class=\"et-dropzone-native-input\"\n type=\"file\"\n tabindex=\"-1\"\n aria-hidden=\"true\"\n/>\n\n<div [attr.data-has-preview]=\"singleEntry() ? true : null\" class=\"et-dropzone-area\">\n
|
|
57381
|
+
template: "<ng-content select=\"et-label\" />\n\n<input\n #fileInput\n [accept]=\"dropzoneDir.resolvedAccept() || null\"\n [multiple]=\"dropzoneDir.multiple()\"\n [disabled]=\"!dropzoneDir.interactive()\"\n (change)=\"uploadPickedFiles($event)\"\n (cancel)=\"resetFilePickerState()\"\n class=\"et-dropzone-native-input\"\n type=\"file\"\n tabindex=\"-1\"\n aria-hidden=\"true\"\n/>\n\n@if (cropOpen()) {\n <ng-container *ngComponentOutlet=\"cropStep\" />\n} @else {\n <div [attr.data-has-preview]=\"singleEntry() ? true : null\" class=\"et-dropzone-area\">\n <button\n #browseButton\n [disabled]=\"dropzoneDir.disabled()\"\n [attr.aria-disabled]=\"dropzoneDir.readonly() || null\"\n [attr.tabindex]=\"singleEntry() && !dropzoneDir.readonly() ? '-1' : null\"\n [attr.aria-invalid]=\"dropzoneDir.shouldDisplayError() || null\"\n [attr.aria-describedby]=\"dropzoneDir.describedBy() || null\"\n [attr.aria-label]=\"dropzoneDir.ariaLabel() || null\"\n [attr.aria-labelledby]=\"dropzoneDir.labelId() || null\"\n (click)=\"openFilePicker()\"\n (focus)=\"resetFilePickerState()\"\n (blur)=\"markTriggerTouched()\"\n class=\"et-dropzone-trigger\"\n type=\"button\"\n etFocusRing\n >\n <span class=\"et-dropzone-prompt\">\n <ng-content>\n <i class=\"et-dropzone-prompt-icon\" etIcon=\"et-upload\"></i>\n <span class=\"et-dropzone-prompt-text\">{{ resolvedLabels().prompt }}</span>\n </ng-content>\n </span>\n\n @if (dropzoneDir.readonly()) {\n <span class=\"et-dropzone-empty\">\n <i class=\"et-dropzone-prompt-icon\" etIcon=\"et-file\"></i>\n <span class=\"et-dropzone-prompt-text\">{{ resolvedLabels().empty }}</span>\n </span>\n }\n </button>\n\n @if (singleEntry(); as entry) {\n @if (layout() === 'row') {\n <et-dropzone-item\n #entryEl\n [entry]=\"entry\"\n [listItem]=\"false\"\n [readonly]=\"dropzoneDir.readonly()\"\n [interactive]=\"dropzoneDir.interactive()\"\n [retryLabel]=\"resolvedLabels().retry\"\n [removeLabel]=\"resolvedLabels().remove\"\n [replaceLabel]=\"resolvedLabels().replaceFile\"\n [errorMessage]=\"entry.errorMessage() ?? resolvedLabels().entryUploadFailed\"\n (retry)=\"dropzoneDir.retryEntry(entry.id)\"\n (replace)=\"openFilePicker()\"\n (remove)=\"removeEntryAnimated(entry, entryEl.elementRef.nativeElement)\"\n />\n } @else {\n <div #entryEl [attr.data-status]=\"entry.status()\" class=\"et-dropzone-preview\">\n @if (entry.previewUrl(); as previewUrl) {\n <img [src]=\"previewUrl\" class=\"et-dropzone-preview-image\" alt=\"\" />\n } @else {\n <i class=\"et-dropzone-file-icon\" etIcon=\"et-file\"></i>\n }\n\n <div class=\"et-dropzone-preview-info\">\n <span class=\"et-dropzone-entry-name\">{{ entry.name() }}</span>\n\n @if (entry.size() || singleEntryUploadedAt()) {\n <span class=\"et-dropzone-entry-meta\">\n @if (entry.size(); as size) {\n <span class=\"et-dropzone-entry-size\">{{ FORMAT_FILE_SIZE(size) }}</span>\n }\n @if (singleEntryUploadedAt(); as uploadedAt) {\n <time [attr.datetime]=\"uploadedAt.iso\" class=\"et-dropzone-entry-date\">{{ uploadedAt.label }}</time>\n }\n </span>\n }\n\n @if (entry.status() === 'error') {\n <span class=\"et-dropzone-entry-error\" aria-hidden=\"true\">{{\n entry.errorMessage() ?? resolvedLabels().entryUploadFailed\n }}</span>\n }\n\n @if (entry.source.type === 'file') {\n <div [attr.data-active]=\"entry.status() === 'uploading' || null\" class=\"et-dropzone-entry-progress\">\n <div class=\"et-dropzone-entry-progress-inner\">\n <et-progress-bar [value]=\"entry.progress()\" />\n </div>\n </div>\n }\n </div>\n\n @if (!dropzoneDir.readonly()) {\n <div class=\"et-dropzone-preview-actions\">\n @if (entry.status() === 'error') {\n <button\n [disabled]=\"!dropzoneDir.interactive()\"\n [attr.aria-label]=\"resolvedLabels().retry + ' ' + entry.name()\"\n (click)=\"dropzoneDir.retryEntry(entry.id)\"\n class=\"et-dropzone-retry-button\"\n type=\"button\"\n et-icon-button\n variant=\"filled\"\n size=\"sm\"\n >\n <i etIcon=\"et-rotate-right\"></i>\n </button>\n } @else {\n <button\n [disabled]=\"!dropzoneDir.interactive()\"\n [attr.aria-label]=\"resolvedLabels().replaceFile\"\n (click)=\"openFilePicker()\"\n class=\"et-dropzone-replace-button\"\n type=\"button\"\n et-icon-button\n variant=\"filled\"\n size=\"sm\"\n >\n <i etIcon=\"et-rotate-right\"></i>\n </button>\n }\n <button\n [disabled]=\"!dropzoneDir.interactive()\"\n [attr.aria-label]=\"resolvedLabels().remove + ' ' + entry.name()\"\n (click)=\"removeEntryAnimated(entry, entryEl)\"\n class=\"et-dropzone-remove-button\"\n type=\"button\"\n et-icon-button\n variant=\"filled\"\n size=\"sm\"\n >\n <i etIcon=\"et-times\"></i>\n </button>\n </div>\n }\n </div>\n }\n }\n </div>\n}\n\n@if (dropzoneDir.multiple() && dropzoneDir.entries().length) {\n <ul\n #fileList\n [attr.tabindex]=\"readonlyList() ? '0' : null\"\n [attr.aria-describedby]=\"readonlyList() ? dropzoneDir.describedBy() || null : null\"\n [attr.aria-label]=\"readonlyList() ? dropzoneDir.ariaLabel() || null : null\"\n [attr.aria-labelledby]=\"readonlyList() ? dropzoneDir.labelId() || null : null\"\n [focusRingDisabled]=\"!readonlyList()\"\n class=\"et-dropzone-list\"\n role=\"list\"\n etFocusRing\n >\n @for (entry of dropzoneDir.entries(); track entry.id) {\n <et-dropzone-item\n #entryEl\n [entry]=\"entry\"\n [readonly]=\"dropzoneDir.readonly()\"\n [interactive]=\"dropzoneDir.interactive()\"\n [retryLabel]=\"resolvedLabels().retry\"\n [removeLabel]=\"resolvedLabels().remove\"\n [errorMessage]=\"entry.errorMessage() ?? resolvedLabels().entryUploadFailed\"\n (retry)=\"dropzoneDir.retryEntry(entry.id)\"\n (remove)=\"removeEntryAnimated(entry, entryEl.elementRef.nativeElement)\"\n />\n }\n </ul>\n}\n\n<div class=\"et-visually-hidden et-dropzone-live-status\" role=\"status\" aria-live=\"polite\">{{ liveStatusMessage() }}</div>\n\n@if (internalErrorMessages().length) {\n <div [etProvideColor]=\"support.errorColorTheme()\" class=\"et-dropzone-internal-errors\" role=\"alert\">\n @for (message of internalErrorMessages(); track $index) {\n <span class=\"et-dropzone-internal-error\">{{ message }}</span>\n }\n </div>\n}\n\n@if (support.shouldRenderSupport()) {\n <et-form-support><ng-content select=\"et-hint\" /></et-form-support>\n}\n",
|
|
56987
57382
|
styles: ["@layer components.sdk{@property --et-dropzone-min-height{syntax: \"<length>\"; inherits: true; initial-value: 160px;}@property --et-dropzone-readonly-min-height{syntax: \"<length>\"; inherits: true; initial-value: 96px;}@property --et-dropzone-border-radius{syntax: \"<length>\"; inherits: true; initial-value: 12px;}@property --et-dropzone-border-width{syntax: \"<length>\"; inherits: true; initial-value: 2px;}@property --et-dropzone-gap{syntax: \"<length>\"; inherits: true; initial-value: 10px;}@property --et-dropzone-thumbnail-size{syntax: \"<length>\"; inherits: true; initial-value: 48px;}@property --et-dropzone-transition-duration{syntax: \"<time>\"; inherits: true; initial-value: .15s;}@property --et-dropzone-opacity-disabled{syntax: \"<number>\"; inherits: true; initial-value: .5;}@property --et-dropzone-label-font-size{syntax: \"<length>\"; inherits: true; initial-value: 13px;}@property --et-dropzone-support-duration{syntax: \"<time>\"; inherits: true; initial-value: .18s;}@property --et-dropzone-error-font-size{syntax: \"<length>\"; inherits: true; initial-value: 12px;}@property --et-dropzone-warning-font-size{syntax: \"<length>\"; inherits: true; initial-value: 12px;}@property --et-dropzone-hint-font-size{syntax: \"<length>\"; inherits: true; initial-value: 12px;}et-dropzone{display:flex;flex-direction:column;gap:var(--et-dropzone-gap);color:var(--et-surface-color-solid, currentColor);--et-form-support-duration: var(--et-dropzone-support-duration);--et-form-support-error-font-size: var(--et-dropzone-error-font-size);--et-form-support-warning-font-size: var(--et-dropzone-warning-font-size);--et-form-support-hint-font-size: var(--et-dropzone-hint-font-size)}et-dropzone .et-form-support{margin-block-start:calc(4px - var(--et-dropzone-gap))}et-dropzone>et-label{font-size:var(--et-dropzone-label-font-size);font-weight:500;line-height:1.2;letter-spacing:-.01em;color:var(--et-surface-color-muted-solid, currentColor);-webkit-user-select:none;user-select:none}et-dropzone .et-dropzone-native-input{position:absolute;inline-size:1px;block-size:1px;opacity:0;pointer-events:none}et-dropzone .et-dropzone-area{position:relative;display:grid}et-dropzone .et-dropzone-trigger{grid-area:1 / 1;display:grid;place-items:center;min-block-size:var(--et-dropzone-min-height);padding:16px;border:var(--et-dropzone-border-width) dashed var(--et-surface-border-solid, currentColor);border-radius:var(--et-dropzone-border-radius);background-color:transparent;color:var(--et-surface-color-muted-solid, currentColor);font:inherit;cursor:pointer;transition:border-color var(--et-dropzone-transition-duration) ease,background-color var(--et-dropzone-transition-duration) ease}@media(hover:hover){et-dropzone .et-dropzone-trigger:hover:not(:disabled,[aria-disabled=true]){border-color:var(--et-surface-interaction-hover-solid, currentColor);background-color:color-mix(in srgb,var(--et-surface-interaction-solid, currentColor) 6%,transparent)}}et-dropzone .et-dropzone-trigger:disabled{cursor:not-allowed}et-dropzone .et-dropzone-prompt{display:flex;flex-direction:column;align-items:center;gap:8px}et-dropzone .et-dropzone-prompt-icon{display:block;inline-size:28px;block-size:28px}et-dropzone .et-dropzone-prompt-text{font-size:13px;line-height:1.4}et-dropzone .et-dropzone-area[data-has-preview] .et-dropzone-prompt{visibility:hidden}et-dropzone .et-dropzone-file-icon{display:block;inline-size:40px;block-size:40px;color:var(--et-surface-color-muted-solid, currentColor)}et-dropzone .et-dropzone-entry-name{overflow:hidden;font-size:13px;line-height:1.4;text-overflow:ellipsis;white-space:nowrap}et-dropzone .et-dropzone-entry-size{font-size:12px;color:var(--et-surface-color-muted-solid, currentColor)}et-dropzone .et-dropzone-internal-errors{display:flex;flex-direction:column;gap:2px;margin-block-start:calc(4px - var(--et-dropzone-gap));font-size:var(--et-dropzone-error-font-size);color:var(--et-theme-color-ink-solid, currentColor)}et-dropzone .et-dropzone-entry-progress{display:grid;grid-template-rows:0fr;opacity:0;transition:grid-template-rows var(--et-dropzone-transition-duration) ease,opacity var(--et-dropzone-transition-duration) ease}et-dropzone .et-dropzone-entry-progress[data-active]{grid-template-rows:1fr;opacity:1}et-dropzone .et-dropzone-entry-progress .et-dropzone-entry-progress-inner{min-block-size:0;overflow:hidden}et-dropzone .et-dropzone-entry-progress .et-dropzone-entry-progress-inner et-progress-bar{margin-block:4px 2px}et-dropzone[data-can-animate] .et-dropzone-item,et-dropzone[data-can-animate] .et-dropzone-preview{transition:opacity var(--et-dropzone-transition-duration) ease,scale var(--et-dropzone-transition-duration) ease}@starting-style{et-dropzone[data-can-animate] .et-dropzone-item,et-dropzone[data-can-animate] .et-dropzone-preview{opacity:0;scale:.97}}et-dropzone[data-can-animate] .et-dropzone-internal-errors{transition:opacity var(--et-dropzone-support-duration) ease}@starting-style{et-dropzone[data-can-animate] .et-dropzone-internal-errors{opacity:0}}@media(prefers-reduced-motion:reduce){et-dropzone{--et-dropzone-support-duration: 1ms;--et-dropzone-transition-duration: 1ms}}et-dropzone[data-drag-over] .et-dropzone-trigger{border-color:var(--et-theme-color-primary-solid, currentColor);background-color:color-mix(in srgb,var(--et-theme-color-primary-solid, currentColor) 8%,transparent)}et-dropzone[data-error] .et-dropzone-trigger{border-color:var(--et-theme-color-primary-solid, currentColor)}@media(hover:hover){et-dropzone[data-error] .et-dropzone-trigger:hover:not(:disabled,[aria-disabled=true]){border-color:light-dark(rgb(var(--et-color-primary-hover, var(--et-color-primary))),rgb(var( --et-color-primary-ink-active, var( --et-color-primary-ink-focus, var( --et-color-primary-ink-hover, var( --et-color-primary-ink, var( --et-color-primary-active, var(--et-color-primary-focus, var(--et-color-primary-hover, var(--et-color-primary))) ) ) ) ) )))}}et-dropzone[data-disabled] .et-dropzone-area,et-dropzone[data-disabled] .et-dropzone-list{opacity:var(--et-dropzone-opacity-disabled)}}\n"]
|
|
56988
57383
|
}]
|
|
56989
57384
|
}],
|
|
@@ -58224,7 +58619,7 @@ var PasswordInputComponent = class PasswordInputComponent {
|
|
|
58224
58619
|
]
|
|
58225
58620
|
}, { directive: i1$1.ColorInteractiveDirective }],
|
|
58226
58621
|
ngImport: i0,
|
|
58227
|
-
template: "<input\n #nativeInput\n [type]=\"passwordDir.inputType()\"\n [value]=\"passwordDir.displayValue()\"\n [disabled]=\"passwordDir.disabled()\"\n [readOnly]=\"passwordDir.readonly()\"\n [required]=\"passwordDir.required()\"\n [placeholder]=\"passwordDir.effectivePlaceholder()\"\n [attr.autocomplete]=\"passwordDir.autocomplete() || null\"\n [attr.name]=\"passwordDir.name() || null\"\n [attr.aria-invalid]=\"passwordDir.shouldDisplayError() || null\"\n [attr.aria-describedby]=\"passwordDir.describedBy() || null\"\n [attr.aria-label]=\"passwordDir.ariaLabel() || null\"\n [attr.aria-labelledby]=\"passwordDir.labelId() || null\"\n (keydown)=\"passwordDir.syncCapsLock($event)\"\n (keyup)=\"passwordDir.syncCapsLock($event)\"\n (mousedown)=\"passwordDir.syncCapsLock($event)\"\n (focus)=\"passwordDir.focused.set(true)\"\n (blur)=\"handleBlur($event)\"\n class=\"et-password-input-native\"\n/>\n\n@if (showCapsLockWarning()) {\n <span class=\"et-password-input-caps-warning\" role=\"status\">\n <i
|
|
58622
|
+
template: "<input\n #nativeInput\n [type]=\"passwordDir.inputType()\"\n [value]=\"passwordDir.displayValue()\"\n [disabled]=\"passwordDir.disabled()\"\n [readOnly]=\"passwordDir.readonly()\"\n [required]=\"passwordDir.required()\"\n [placeholder]=\"passwordDir.effectivePlaceholder()\"\n [attr.autocomplete]=\"passwordDir.autocomplete() || null\"\n [attr.name]=\"passwordDir.name() || null\"\n [attr.aria-invalid]=\"passwordDir.shouldDisplayError() || null\"\n [attr.aria-describedby]=\"passwordDir.describedBy() || null\"\n [attr.aria-label]=\"passwordDir.ariaLabel() || null\"\n [attr.aria-labelledby]=\"passwordDir.labelId() || null\"\n (keydown)=\"passwordDir.syncCapsLock($event)\"\n (keyup)=\"passwordDir.syncCapsLock($event)\"\n (mousedown)=\"passwordDir.syncCapsLock($event)\"\n (focus)=\"passwordDir.focused.set(true)\"\n (blur)=\"handleBlur($event)\"\n class=\"et-password-input-native\"\n/>\n\n@if (showCapsLockWarning()) {\n <span class=\"et-password-input-caps-warning\" role=\"status\">\n <i aria-hidden=\"true\" etIcon=\"et-triangle-exclamation\"></i>\n <span class=\"et-visually-hidden et-password-input-caps-warning-text\">{{ resolvedCapsLockLabel() }}</span>\n </span>\n}\n\n<ng-template etControlSuffix>\n @if (revealable()) {\n <button\n [attr.aria-label]=\"passwordDir.revealed() ? resolvedHideLabel() : resolvedRevealLabel()\"\n [attr.aria-pressed]=\"passwordDir.revealed()\"\n [disabled]=\"passwordDir.disabled()\"\n (click)=\"passwordDir.toggleRevealed(); $event.stopPropagation()\"\n class=\"et-password-input-reveal\"\n type=\"button\"\n >\n <i [etIcon]=\"passwordDir.revealed() ? 'et-eye-slash' : 'et-eye'\" aria-hidden=\"true\"></i>\n </button>\n }\n</ng-template>\n",
|
|
58228
58623
|
styles: ["@layer components.sdk{@property --et-password-input-reveal-size{syntax: \"<length>\"; inherits: true; initial-value: 16px;}et-password-input{display:flex;align-items:center;gap:8px;flex:1;min-inline-size:0;color:inherit}et-password-input .et-password-input-native{display:block;flex:1;inline-size:100%;border:none;outline:none;background:transparent;font:inherit;color:inherit;caret-color:var(--et-theme-color-primary-solid, currentColor);padding:0;min-width:0}et-password-input .et-password-input-native:not(:focus){overflow:hidden;text-overflow:ellipsis}et-password-input .et-password-input-native::placeholder{color:color-mix(in srgb,currentColor 60%,transparent)}et-password-input[data-mixed] .et-password-input-native::placeholder{font-style:italic;color:color-mix(in srgb,currentColor 72%,transparent)}et-password-input .et-password-input-caps-warning{display:flex;align-items:center;flex:none;inline-size:var(--et-password-input-reveal-size);block-size:var(--et-password-input-reveal-size);color:var(--et-surface-color-muted-solid, currentColor)}et-password-input .et-password-input-caps-warning .et-icon{inline-size:100%;block-size:100%}.et-password-input-reveal{display:flex;align-items:center;justify-content:center;flex:none;inline-size:calc(var(--et-password-input-reveal-size) + 8px);block-size:calc(var(--et-password-input-reveal-size) + 8px);padding:0;border:none;border-radius:4px;background:transparent;color:var(--et-surface-color-muted-solid, currentColor);cursor:pointer;outline:none}.et-password-input-reveal .et-icon{inline-size:var(--et-password-input-reveal-size);block-size:var(--et-password-input-reveal-size)}@media(hover:hover){.et-password-input-reveal:hover{background:color-mix(in srgb,var(--et-surface-interaction-solid, currentColor) 12%,transparent);color:var(--et-surface-color-solid, currentColor)}}.et-password-input-reveal:focus-visible{outline:2px solid light-dark(var(--et-theme-color-ink-solid, currentColor),var(--et-theme-color-primary-solid, currentColor));outline-offset:1px}.et-password-input-reveal:active{background:color-mix(in srgb,var(--et-surface-interaction-solid, currentColor) 20%,transparent)}.et-password-input-reveal:disabled{cursor:not-allowed;background:transparent;color:inherit}}\n"],
|
|
58229
58624
|
dependencies: [{
|
|
58230
58625
|
kind: "directive",
|
|
@@ -58278,7 +58673,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
58278
58673
|
class: "et-password-input",
|
|
58279
58674
|
"(click)": "passwordDir.activate()"
|
|
58280
58675
|
},
|
|
58281
|
-
template: "<input\n #nativeInput\n [type]=\"passwordDir.inputType()\"\n [value]=\"passwordDir.displayValue()\"\n [disabled]=\"passwordDir.disabled()\"\n [readOnly]=\"passwordDir.readonly()\"\n [required]=\"passwordDir.required()\"\n [placeholder]=\"passwordDir.effectivePlaceholder()\"\n [attr.autocomplete]=\"passwordDir.autocomplete() || null\"\n [attr.name]=\"passwordDir.name() || null\"\n [attr.aria-invalid]=\"passwordDir.shouldDisplayError() || null\"\n [attr.aria-describedby]=\"passwordDir.describedBy() || null\"\n [attr.aria-label]=\"passwordDir.ariaLabel() || null\"\n [attr.aria-labelledby]=\"passwordDir.labelId() || null\"\n (keydown)=\"passwordDir.syncCapsLock($event)\"\n (keyup)=\"passwordDir.syncCapsLock($event)\"\n (mousedown)=\"passwordDir.syncCapsLock($event)\"\n (focus)=\"passwordDir.focused.set(true)\"\n (blur)=\"handleBlur($event)\"\n class=\"et-password-input-native\"\n/>\n\n@if (showCapsLockWarning()) {\n <span class=\"et-password-input-caps-warning\" role=\"status\">\n <i
|
|
58676
|
+
template: "<input\n #nativeInput\n [type]=\"passwordDir.inputType()\"\n [value]=\"passwordDir.displayValue()\"\n [disabled]=\"passwordDir.disabled()\"\n [readOnly]=\"passwordDir.readonly()\"\n [required]=\"passwordDir.required()\"\n [placeholder]=\"passwordDir.effectivePlaceholder()\"\n [attr.autocomplete]=\"passwordDir.autocomplete() || null\"\n [attr.name]=\"passwordDir.name() || null\"\n [attr.aria-invalid]=\"passwordDir.shouldDisplayError() || null\"\n [attr.aria-describedby]=\"passwordDir.describedBy() || null\"\n [attr.aria-label]=\"passwordDir.ariaLabel() || null\"\n [attr.aria-labelledby]=\"passwordDir.labelId() || null\"\n (keydown)=\"passwordDir.syncCapsLock($event)\"\n (keyup)=\"passwordDir.syncCapsLock($event)\"\n (mousedown)=\"passwordDir.syncCapsLock($event)\"\n (focus)=\"passwordDir.focused.set(true)\"\n (blur)=\"handleBlur($event)\"\n class=\"et-password-input-native\"\n/>\n\n@if (showCapsLockWarning()) {\n <span class=\"et-password-input-caps-warning\" role=\"status\">\n <i aria-hidden=\"true\" etIcon=\"et-triangle-exclamation\"></i>\n <span class=\"et-visually-hidden et-password-input-caps-warning-text\">{{ resolvedCapsLockLabel() }}</span>\n </span>\n}\n\n<ng-template etControlSuffix>\n @if (revealable()) {\n <button\n [attr.aria-label]=\"passwordDir.revealed() ? resolvedHideLabel() : resolvedRevealLabel()\"\n [attr.aria-pressed]=\"passwordDir.revealed()\"\n [disabled]=\"passwordDir.disabled()\"\n (click)=\"passwordDir.toggleRevealed(); $event.stopPropagation()\"\n class=\"et-password-input-reveal\"\n type=\"button\"\n >\n <i [etIcon]=\"passwordDir.revealed() ? 'et-eye-slash' : 'et-eye'\" aria-hidden=\"true\"></i>\n </button>\n }\n</ng-template>\n",
|
|
58282
58677
|
styles: ["@layer components.sdk{@property --et-password-input-reveal-size{syntax: \"<length>\"; inherits: true; initial-value: 16px;}et-password-input{display:flex;align-items:center;gap:8px;flex:1;min-inline-size:0;color:inherit}et-password-input .et-password-input-native{display:block;flex:1;inline-size:100%;border:none;outline:none;background:transparent;font:inherit;color:inherit;caret-color:var(--et-theme-color-primary-solid, currentColor);padding:0;min-width:0}et-password-input .et-password-input-native:not(:focus){overflow:hidden;text-overflow:ellipsis}et-password-input .et-password-input-native::placeholder{color:color-mix(in srgb,currentColor 60%,transparent)}et-password-input[data-mixed] .et-password-input-native::placeholder{font-style:italic;color:color-mix(in srgb,currentColor 72%,transparent)}et-password-input .et-password-input-caps-warning{display:flex;align-items:center;flex:none;inline-size:var(--et-password-input-reveal-size);block-size:var(--et-password-input-reveal-size);color:var(--et-surface-color-muted-solid, currentColor)}et-password-input .et-password-input-caps-warning .et-icon{inline-size:100%;block-size:100%}.et-password-input-reveal{display:flex;align-items:center;justify-content:center;flex:none;inline-size:calc(var(--et-password-input-reveal-size) + 8px);block-size:calc(var(--et-password-input-reveal-size) + 8px);padding:0;border:none;border-radius:4px;background:transparent;color:var(--et-surface-color-muted-solid, currentColor);cursor:pointer;outline:none}.et-password-input-reveal .et-icon{inline-size:var(--et-password-input-reveal-size);block-size:var(--et-password-input-reveal-size)}@media(hover:hover){.et-password-input-reveal:hover{background:color-mix(in srgb,var(--et-surface-interaction-solid, currentColor) 12%,transparent);color:var(--et-surface-color-solid, currentColor)}}.et-password-input-reveal:focus-visible{outline:2px solid light-dark(var(--et-theme-color-ink-solid, currentColor),var(--et-theme-color-primary-solid, currentColor));outline-offset:1px}.et-password-input-reveal:active{background:color-mix(in srgb,var(--et-surface-interaction-solid, currentColor) 20%,transparent)}.et-password-input-reveal:disabled{cursor:not-allowed;background:transparent;color:inherit}}\n"]
|
|
58283
58678
|
}]
|
|
58284
58679
|
}],
|
|
@@ -59014,7 +59409,11 @@ var RichTextEditorFloatingToolbarComponent = class RichTextEditorFloatingToolbar
|
|
|
59014
59409
|
kind: "component",
|
|
59015
59410
|
type: IconButtonComponent,
|
|
59016
59411
|
selector: "[et-icon-button]",
|
|
59017
|
-
inputs: [
|
|
59412
|
+
inputs: [
|
|
59413
|
+
"variant",
|
|
59414
|
+
"size",
|
|
59415
|
+
"pressedVariant"
|
|
59416
|
+
]
|
|
59018
59417
|
},
|
|
59019
59418
|
{
|
|
59020
59419
|
kind: "directive",
|
|
@@ -61815,14 +62214,19 @@ var RichTextEditorLinkEditorComponent = class RichTextEditorLinkEditorComponent
|
|
|
61815
62214
|
"variant",
|
|
61816
62215
|
"size",
|
|
61817
62216
|
"iconAlignment",
|
|
61818
|
-
"stretchContents"
|
|
62217
|
+
"stretchContents",
|
|
62218
|
+
"pressedVariant"
|
|
61819
62219
|
]
|
|
61820
62220
|
},
|
|
61821
62221
|
{
|
|
61822
62222
|
kind: "component",
|
|
61823
62223
|
type: IconButtonComponent,
|
|
61824
62224
|
selector: "[et-icon-button]",
|
|
61825
|
-
inputs: [
|
|
62225
|
+
inputs: [
|
|
62226
|
+
"variant",
|
|
62227
|
+
"size",
|
|
62228
|
+
"pressedVariant"
|
|
62229
|
+
]
|
|
61826
62230
|
},
|
|
61827
62231
|
{
|
|
61828
62232
|
kind: "component",
|
|
@@ -62895,14 +63299,19 @@ var RichTextEditorImageEditorComponent = class RichTextEditorImageEditorComponen
|
|
|
62895
63299
|
"variant",
|
|
62896
63300
|
"size",
|
|
62897
63301
|
"iconAlignment",
|
|
62898
|
-
"stretchContents"
|
|
63302
|
+
"stretchContents",
|
|
63303
|
+
"pressedVariant"
|
|
62899
63304
|
]
|
|
62900
63305
|
},
|
|
62901
63306
|
{
|
|
62902
63307
|
kind: "component",
|
|
62903
63308
|
type: IconButtonComponent,
|
|
62904
63309
|
selector: "[et-icon-button]",
|
|
62905
|
-
inputs: [
|
|
63310
|
+
inputs: [
|
|
63311
|
+
"variant",
|
|
63312
|
+
"size",
|
|
63313
|
+
"pressedVariant"
|
|
63314
|
+
]
|
|
62906
63315
|
},
|
|
62907
63316
|
{
|
|
62908
63317
|
kind: "component",
|
|
@@ -63111,7 +63520,8 @@ var RichTextEditorTokenPaletteComponent = class RichTextEditorTokenPaletteCompon
|
|
|
63111
63520
|
"variant",
|
|
63112
63521
|
"size",
|
|
63113
63522
|
"iconAlignment",
|
|
63114
|
-
"stretchContents"
|
|
63523
|
+
"stretchContents",
|
|
63524
|
+
"pressedVariant"
|
|
63115
63525
|
]
|
|
63116
63526
|
}],
|
|
63117
63527
|
encapsulation: i0.ViewEncapsulation.None
|
|
@@ -66742,7 +67152,11 @@ var RichTextEditorAlignToolComponent = class RichTextEditorAlignToolComponent {
|
|
|
66742
67152
|
kind: "component",
|
|
66743
67153
|
type: IconButtonComponent,
|
|
66744
67154
|
selector: "[et-icon-button]",
|
|
66745
|
-
inputs: [
|
|
67155
|
+
inputs: [
|
|
67156
|
+
"variant",
|
|
67157
|
+
"size",
|
|
67158
|
+
"pressedVariant"
|
|
67159
|
+
]
|
|
66746
67160
|
},
|
|
66747
67161
|
{
|
|
66748
67162
|
kind: "directive",
|
|
@@ -67495,7 +67909,11 @@ var RichTextEditorHeadingToolComponent = class RichTextEditorHeadingToolComponen
|
|
|
67495
67909
|
kind: "component",
|
|
67496
67910
|
type: IconButtonComponent,
|
|
67497
67911
|
selector: "[et-icon-button]",
|
|
67498
|
-
inputs: [
|
|
67912
|
+
inputs: [
|
|
67913
|
+
"variant",
|
|
67914
|
+
"size",
|
|
67915
|
+
"pressedVariant"
|
|
67916
|
+
]
|
|
67499
67917
|
},
|
|
67500
67918
|
{
|
|
67501
67919
|
kind: "directive",
|
|
@@ -67934,7 +68352,11 @@ var RichTextEditorImageToolComponent = class RichTextEditorImageToolComponent {
|
|
|
67934
68352
|
kind: "component",
|
|
67935
68353
|
type: IconButtonComponent,
|
|
67936
68354
|
selector: "[et-icon-button]",
|
|
67937
|
-
inputs: [
|
|
68355
|
+
inputs: [
|
|
68356
|
+
"variant",
|
|
68357
|
+
"size",
|
|
68358
|
+
"pressedVariant"
|
|
68359
|
+
]
|
|
67938
68360
|
}, {
|
|
67939
68361
|
kind: "directive",
|
|
67940
68362
|
type: IconDirective,
|
|
@@ -68955,7 +69377,11 @@ var RichTextEditorTableToolComponent = class RichTextEditorTableToolComponent {
|
|
|
68955
69377
|
kind: "component",
|
|
68956
69378
|
type: IconButtonComponent,
|
|
68957
69379
|
selector: "[et-icon-button]",
|
|
68958
|
-
inputs: [
|
|
69380
|
+
inputs: [
|
|
69381
|
+
"variant",
|
|
69382
|
+
"size",
|
|
69383
|
+
"pressedVariant"
|
|
69384
|
+
]
|
|
68959
69385
|
},
|
|
68960
69386
|
{
|
|
68961
69387
|
kind: "directive",
|
|
@@ -69504,7 +69930,11 @@ var RichTextEditorComponent = class RichTextEditorComponent {
|
|
|
69504
69930
|
kind: "component",
|
|
69505
69931
|
type: IconButtonComponent,
|
|
69506
69932
|
selector: "[et-icon-button]",
|
|
69507
|
-
inputs: [
|
|
69933
|
+
inputs: [
|
|
69934
|
+
"variant",
|
|
69935
|
+
"size",
|
|
69936
|
+
"pressedVariant"
|
|
69937
|
+
]
|
|
69508
69938
|
},
|
|
69509
69939
|
{
|
|
69510
69940
|
kind: "component",
|
|
@@ -70617,7 +71047,7 @@ var OtpInputComponent = class OtpInputComponent {
|
|
|
70617
71047
|
],
|
|
70618
71048
|
ngImport: i0,
|
|
70619
71049
|
template: "<ng-content />\n\n<div class=\"et-otp-input-field\">\n <div class=\"et-otp-input-segments\" aria-hidden=\"true\">\n @for (index of segmentIndexes(); track index) {\n <div\n [attr.data-caret]=\"(otp.showsCaret() && otp.caretIndex() === index) || null\"\n [attr.data-filled]=\"otp.segmentChars()[index] !== null || null\"\n class=\"et-otp-input-segment\"\n >\n @if (otp.segmentChars()[index]; as char) {\n <span class=\"et-otp-input-segment-char\">{{ char }}</span>\n } @else if (otp.showsCaret() && otp.caretIndex() === index) {\n <span class=\"et-otp-input-caret\"></span>\n }\n </div>\n }\n </div>\n\n <!-- one real input stretched invisibly over the segments: reliable SMS autofill\n (autocomplete=\"one-time-code\") and native paste for free -->\n <input\n #nativeInput\n [attr.aria-describedby]=\"otp.describedBy() || null\"\n [attr.aria-invalid]=\"otp.shouldDisplayError() || null\"\n [attr.aria-label]=\"otp.ariaLabel() || null\"\n [attr.aria-labelledby]=\"otp.labelId() || null\"\n [attr.inputmode]=\"otp.inputMode()\"\n [attr.name]=\"otp.name() || null\"\n [disabled]=\"otp.disabled()\"\n [readOnly]=\"otp.readonly()\"\n [required]=\"otp.required()\"\n [value]=\"otp.value()\"\n [type]=\"otp.nativeType()\"\n (blur)=\"otp.handleNativeBlur()\"\n (focus)=\"otp.handleNativeFocus()\"\n class=\"et-otp-input-native\"\n autocapitalize=\"off\"\n autocomplete=\"one-time-code\"\n spellcheck=\"false\"\n />\n</div>\n\n@if (support.shouldRenderSupport()) {\n <et-form-support><ng-content select=\"et-hint\" /></et-form-support>\n}\n",
|
|
70620
|
-
styles: ["@layer components.sdk{@keyframes et-otp-input-caret-blink{0%{opacity:1}to{opacity:0}}@property --et-otp-input-segment-size{syntax: \"<length>\"; inherits: true; initial-value: 44px;}@property --et-otp-input-segment-gap{syntax: \"<length>\"; inherits: true; initial-value: 8px;}@property --et-otp-input-segment-radius{syntax: \"<length>\"; inherits: true; initial-value: 8px;}@property --et-otp-input-label-font-size{syntax: \"<length>\"; inherits: true; initial-value: 13px;}@property --et-otp-input-support-duration{syntax: \"<time>\"; inherits: true; initial-value: .18s;}@property --et-otp-input-error-font-size{syntax: \"<length>\"; inherits: true; initial-value: 12px;}@property --et-otp-input-warning-font-size{syntax: \"<length>\"; inherits: true; initial-value: 12px;}@property --et-otp-input-hint-font-size{syntax: \"<length>\"; inherits: true; initial-value: 12px;}et-otp-input{display:inline-flex;flex-direction:column;gap:6px;max-inline-size:100%;min-inline-size:0;color:var(--et-surface-color-solid, currentColor);--et-form-support-duration: var(--et-otp-input-support-duration);--et-form-support-error-font-size: var(--et-otp-input-error-font-size);--et-form-support-warning-font-size: var(--et-otp-input-warning-font-size);--et-form-support-hint-font-size: var(--et-otp-input-hint-font-size)}et-otp-input>et-label{font-size:var(--et-otp-input-label-font-size);font-weight:500;line-height:1.2;letter-spacing:-.01em;color:var(--et-surface-color-muted-solid, currentColor);-webkit-user-select:none;user-select:none}et-otp-input>et-label .et-label-required-marker{color:light-dark(var(--et-theme-color-ink-solid),var(--et-theme-color-primary-solid))}et-otp-input .et-otp-input-field{position:relative;inline-size:fit-content;max-inline-size:100%}et-otp-input .et-otp-input-segments{display:flex;gap:var(--et-otp-input-segment-gap)}et-otp-input .et-otp-input-segment{box-sizing:border-box;display:flex;align-items:center;justify-content:center;inline-size:var(--et-otp-input-segment-size);min-inline-size:0;aspect-ratio:1;border:1px solid var(--et-surface-
|
|
71050
|
+
styles: ["@layer components.sdk{@keyframes et-otp-input-caret-blink{0%{opacity:1}to{opacity:0}}@property --et-otp-input-segment-size{syntax: \"<length>\"; inherits: true; initial-value: 44px;}@property --et-otp-input-segment-gap{syntax: \"<length>\"; inherits: true; initial-value: 8px;}@property --et-otp-input-segment-radius{syntax: \"<length>\"; inherits: true; initial-value: 8px;}@property --et-otp-input-label-font-size{syntax: \"<length>\"; inherits: true; initial-value: 13px;}@property --et-otp-input-support-duration{syntax: \"<time>\"; inherits: true; initial-value: .18s;}@property --et-otp-input-error-font-size{syntax: \"<length>\"; inherits: true; initial-value: 12px;}@property --et-otp-input-warning-font-size{syntax: \"<length>\"; inherits: true; initial-value: 12px;}@property --et-otp-input-hint-font-size{syntax: \"<length>\"; inherits: true; initial-value: 12px;}et-otp-input{display:inline-flex;flex-direction:column;gap:6px;max-inline-size:100%;min-inline-size:0;color:var(--et-surface-color-solid, currentColor);--et-form-support-duration: var(--et-otp-input-support-duration);--et-form-support-error-font-size: var(--et-otp-input-error-font-size);--et-form-support-warning-font-size: var(--et-otp-input-warning-font-size);--et-form-support-hint-font-size: var(--et-otp-input-hint-font-size)}et-otp-input>et-label{font-size:var(--et-otp-input-label-font-size);font-weight:500;line-height:1.2;letter-spacing:-.01em;color:var(--et-surface-color-muted-solid, currentColor);-webkit-user-select:none;user-select:none}et-otp-input>et-label .et-label-required-marker{color:light-dark(var(--et-theme-color-ink-solid),var(--et-theme-color-primary-solid))}et-otp-input .et-otp-input-field{position:relative;inline-size:fit-content;max-inline-size:100%}et-otp-input .et-otp-input-segments{display:flex;gap:var(--et-otp-input-segment-gap)}et-otp-input .et-otp-input-segment{box-sizing:border-box;display:flex;align-items:center;justify-content:center;inline-size:var(--et-otp-input-segment-size);min-inline-size:0;aspect-ratio:1;border:1px solid color-mix(in oklab,var(--et-surface-color-solid, currentColor) 43%,var(--et-surface-background-solid, transparent));border-radius:var(--et-otp-input-segment-radius);font-size:calc(var(--et-otp-input-segment-size) * .45);font-variant-numeric:tabular-nums;-webkit-user-select:none;user-select:none}et-otp-input .et-otp-input-segment[data-caret]{border-color:var(--et-theme-color-ink-solid, currentColor);outline:1px solid var(--et-theme-color-ink-solid, currentColor);outline-offset:-1px}et-otp-input .et-otp-input-segment .et-otp-input-segment-char{display:block}et-otp-input .et-otp-input-segment .et-otp-input-caret{inline-size:2px;block-size:1.1em;border-radius:1px;background:var(--et-theme-color-ink-solid, currentColor);animation:et-otp-input-caret-blink 1.1s steps(2,jump-none) infinite}et-otp-input .et-otp-input-native{position:absolute;inset:0;inline-size:100%;block-size:100%;border:none;outline:none;padding:0;margin:0;background:transparent;color:transparent;caret-color:transparent;font-size:max(1em,16px)}et-otp-input .et-otp-input-native::selection{background:transparent}et-otp-input .et-otp-input-native:read-only{cursor:default}et-otp-input .et-otp-input-native:disabled{cursor:not-allowed}et-otp-input[data-error] .et-otp-input-segment{border-color:var(--et-theme-color-primary-solid, currentColor)}@media(hover:hover){et-otp-input:not(:has(.et-otp-input-native:read-only)):hover .et-otp-input-segment:not([data-caret]){border-color:var(--et-surface-color-solid, currentColor)}et-otp-input:not([data-error]):not(:has(.et-otp-input-native:read-only)):hover>et-label{color:var(--et-surface-color-solid, currentColor)}et-otp-input[data-error]:not(:has(.et-otp-input-native:read-only)):hover .et-otp-input-segment:not([data-caret]){border-color:var(--et-theme-color-ink-solid)}}et-otp-input:has(.et-otp-input-native:disabled){opacity:.4}et-otp-input:has(.et-otp-input-native:disabled) .et-otp-input-segment{-webkit-user-select:none;user-select:none}et-otp-input[data-can-animate] .et-otp-input-segment{transition:border-color .12s ease,outline-color .12s ease}et-otp-input[data-can-animate] .et-otp-input-segment-char{transition:transform .14s cubic-bezier(.2,1.4,.4,1),opacity .1s ease}@starting-style{et-otp-input[data-can-animate] .et-otp-input-segment-char{transform:scale(.4);opacity:0}}@media(prefers-reduced-motion:reduce){et-otp-input .et-otp-input-caret{animation:none}}}\n"],
|
|
70621
71051
|
dependencies: [{
|
|
70622
71052
|
kind: "component",
|
|
70623
71053
|
type: FormSupportComponent,
|
|
@@ -70679,7 +71109,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
70679
71109
|
"(click)": "otp.activate()"
|
|
70680
71110
|
},
|
|
70681
71111
|
template: "<ng-content />\n\n<div class=\"et-otp-input-field\">\n <div class=\"et-otp-input-segments\" aria-hidden=\"true\">\n @for (index of segmentIndexes(); track index) {\n <div\n [attr.data-caret]=\"(otp.showsCaret() && otp.caretIndex() === index) || null\"\n [attr.data-filled]=\"otp.segmentChars()[index] !== null || null\"\n class=\"et-otp-input-segment\"\n >\n @if (otp.segmentChars()[index]; as char) {\n <span class=\"et-otp-input-segment-char\">{{ char }}</span>\n } @else if (otp.showsCaret() && otp.caretIndex() === index) {\n <span class=\"et-otp-input-caret\"></span>\n }\n </div>\n }\n </div>\n\n <!-- one real input stretched invisibly over the segments: reliable SMS autofill\n (autocomplete=\"one-time-code\") and native paste for free -->\n <input\n #nativeInput\n [attr.aria-describedby]=\"otp.describedBy() || null\"\n [attr.aria-invalid]=\"otp.shouldDisplayError() || null\"\n [attr.aria-label]=\"otp.ariaLabel() || null\"\n [attr.aria-labelledby]=\"otp.labelId() || null\"\n [attr.inputmode]=\"otp.inputMode()\"\n [attr.name]=\"otp.name() || null\"\n [disabled]=\"otp.disabled()\"\n [readOnly]=\"otp.readonly()\"\n [required]=\"otp.required()\"\n [value]=\"otp.value()\"\n [type]=\"otp.nativeType()\"\n (blur)=\"otp.handleNativeBlur()\"\n (focus)=\"otp.handleNativeFocus()\"\n class=\"et-otp-input-native\"\n autocapitalize=\"off\"\n autocomplete=\"one-time-code\"\n spellcheck=\"false\"\n />\n</div>\n\n@if (support.shouldRenderSupport()) {\n <et-form-support><ng-content select=\"et-hint\" /></et-form-support>\n}\n",
|
|
70682
|
-
styles: ["@layer components.sdk{@keyframes et-otp-input-caret-blink{0%{opacity:1}to{opacity:0}}@property --et-otp-input-segment-size{syntax: \"<length>\"; inherits: true; initial-value: 44px;}@property --et-otp-input-segment-gap{syntax: \"<length>\"; inherits: true; initial-value: 8px;}@property --et-otp-input-segment-radius{syntax: \"<length>\"; inherits: true; initial-value: 8px;}@property --et-otp-input-label-font-size{syntax: \"<length>\"; inherits: true; initial-value: 13px;}@property --et-otp-input-support-duration{syntax: \"<time>\"; inherits: true; initial-value: .18s;}@property --et-otp-input-error-font-size{syntax: \"<length>\"; inherits: true; initial-value: 12px;}@property --et-otp-input-warning-font-size{syntax: \"<length>\"; inherits: true; initial-value: 12px;}@property --et-otp-input-hint-font-size{syntax: \"<length>\"; inherits: true; initial-value: 12px;}et-otp-input{display:inline-flex;flex-direction:column;gap:6px;max-inline-size:100%;min-inline-size:0;color:var(--et-surface-color-solid, currentColor);--et-form-support-duration: var(--et-otp-input-support-duration);--et-form-support-error-font-size: var(--et-otp-input-error-font-size);--et-form-support-warning-font-size: var(--et-otp-input-warning-font-size);--et-form-support-hint-font-size: var(--et-otp-input-hint-font-size)}et-otp-input>et-label{font-size:var(--et-otp-input-label-font-size);font-weight:500;line-height:1.2;letter-spacing:-.01em;color:var(--et-surface-color-muted-solid, currentColor);-webkit-user-select:none;user-select:none}et-otp-input>et-label .et-label-required-marker{color:light-dark(var(--et-theme-color-ink-solid),var(--et-theme-color-primary-solid))}et-otp-input .et-otp-input-field{position:relative;inline-size:fit-content;max-inline-size:100%}et-otp-input .et-otp-input-segments{display:flex;gap:var(--et-otp-input-segment-gap)}et-otp-input .et-otp-input-segment{box-sizing:border-box;display:flex;align-items:center;justify-content:center;inline-size:var(--et-otp-input-segment-size);min-inline-size:0;aspect-ratio:1;border:1px solid var(--et-surface-
|
|
71112
|
+
styles: ["@layer components.sdk{@keyframes et-otp-input-caret-blink{0%{opacity:1}to{opacity:0}}@property --et-otp-input-segment-size{syntax: \"<length>\"; inherits: true; initial-value: 44px;}@property --et-otp-input-segment-gap{syntax: \"<length>\"; inherits: true; initial-value: 8px;}@property --et-otp-input-segment-radius{syntax: \"<length>\"; inherits: true; initial-value: 8px;}@property --et-otp-input-label-font-size{syntax: \"<length>\"; inherits: true; initial-value: 13px;}@property --et-otp-input-support-duration{syntax: \"<time>\"; inherits: true; initial-value: .18s;}@property --et-otp-input-error-font-size{syntax: \"<length>\"; inherits: true; initial-value: 12px;}@property --et-otp-input-warning-font-size{syntax: \"<length>\"; inherits: true; initial-value: 12px;}@property --et-otp-input-hint-font-size{syntax: \"<length>\"; inherits: true; initial-value: 12px;}et-otp-input{display:inline-flex;flex-direction:column;gap:6px;max-inline-size:100%;min-inline-size:0;color:var(--et-surface-color-solid, currentColor);--et-form-support-duration: var(--et-otp-input-support-duration);--et-form-support-error-font-size: var(--et-otp-input-error-font-size);--et-form-support-warning-font-size: var(--et-otp-input-warning-font-size);--et-form-support-hint-font-size: var(--et-otp-input-hint-font-size)}et-otp-input>et-label{font-size:var(--et-otp-input-label-font-size);font-weight:500;line-height:1.2;letter-spacing:-.01em;color:var(--et-surface-color-muted-solid, currentColor);-webkit-user-select:none;user-select:none}et-otp-input>et-label .et-label-required-marker{color:light-dark(var(--et-theme-color-ink-solid),var(--et-theme-color-primary-solid))}et-otp-input .et-otp-input-field{position:relative;inline-size:fit-content;max-inline-size:100%}et-otp-input .et-otp-input-segments{display:flex;gap:var(--et-otp-input-segment-gap)}et-otp-input .et-otp-input-segment{box-sizing:border-box;display:flex;align-items:center;justify-content:center;inline-size:var(--et-otp-input-segment-size);min-inline-size:0;aspect-ratio:1;border:1px solid color-mix(in oklab,var(--et-surface-color-solid, currentColor) 43%,var(--et-surface-background-solid, transparent));border-radius:var(--et-otp-input-segment-radius);font-size:calc(var(--et-otp-input-segment-size) * .45);font-variant-numeric:tabular-nums;-webkit-user-select:none;user-select:none}et-otp-input .et-otp-input-segment[data-caret]{border-color:var(--et-theme-color-ink-solid, currentColor);outline:1px solid var(--et-theme-color-ink-solid, currentColor);outline-offset:-1px}et-otp-input .et-otp-input-segment .et-otp-input-segment-char{display:block}et-otp-input .et-otp-input-segment .et-otp-input-caret{inline-size:2px;block-size:1.1em;border-radius:1px;background:var(--et-theme-color-ink-solid, currentColor);animation:et-otp-input-caret-blink 1.1s steps(2,jump-none) infinite}et-otp-input .et-otp-input-native{position:absolute;inset:0;inline-size:100%;block-size:100%;border:none;outline:none;padding:0;margin:0;background:transparent;color:transparent;caret-color:transparent;font-size:max(1em,16px)}et-otp-input .et-otp-input-native::selection{background:transparent}et-otp-input .et-otp-input-native:read-only{cursor:default}et-otp-input .et-otp-input-native:disabled{cursor:not-allowed}et-otp-input[data-error] .et-otp-input-segment{border-color:var(--et-theme-color-primary-solid, currentColor)}@media(hover:hover){et-otp-input:not(:has(.et-otp-input-native:read-only)):hover .et-otp-input-segment:not([data-caret]){border-color:var(--et-surface-color-solid, currentColor)}et-otp-input:not([data-error]):not(:has(.et-otp-input-native:read-only)):hover>et-label{color:var(--et-surface-color-solid, currentColor)}et-otp-input[data-error]:not(:has(.et-otp-input-native:read-only)):hover .et-otp-input-segment:not([data-caret]){border-color:var(--et-theme-color-ink-solid)}}et-otp-input:has(.et-otp-input-native:disabled){opacity:.4}et-otp-input:has(.et-otp-input-native:disabled) .et-otp-input-segment{-webkit-user-select:none;user-select:none}et-otp-input[data-can-animate] .et-otp-input-segment{transition:border-color .12s ease,outline-color .12s ease}et-otp-input[data-can-animate] .et-otp-input-segment-char{transition:transform .14s cubic-bezier(.2,1.4,.4,1),opacity .1s ease}@starting-style{et-otp-input[data-can-animate] .et-otp-input-segment-char{transform:scale(.4);opacity:0}}@media(prefers-reduced-motion:reduce){et-otp-input .et-otp-input-caret{animation:none}}}\n"]
|
|
70683
71113
|
}]
|
|
70684
71114
|
}],
|
|
70685
71115
|
ctorParameters: () => [],
|
|
@@ -72555,6 +72985,7 @@ var SelectDirective = class SelectDirective extends FieldStateControlDirective {
|
|
|
72555
72985
|
const sortedProjected = sortByDomOrder(projectedItems, (item) => item.element());
|
|
72556
72986
|
return dataItems.length ? [...dataItems, ...sortedProjected] : sortedProjected;
|
|
72557
72987
|
}, ...ngDevMode ? [{ debugName: "sortedItems" }] : /* istanbul ignore next */ []);
|
|
72988
|
+
this.selectsNullOption = computed(() => !this.multiple() && !this.mixed() && !this.pickOnly() && this.value() === null && this.sortedItems().some((item) => item.value() === null), ...ngDevMode ? [{ debugName: "selectsNullOption" }] : /* istanbul ignore next */ []);
|
|
72558
72989
|
this.query = computed(() => this.registeredSearch()?.query() ?? "", ...ngDevMode ? [{ debugName: "query" }] : /* istanbul ignore next */ []);
|
|
72559
72990
|
this.normalizedQuery = computed(() => this.query().trim().toLowerCase(), ...ngDevMode ? [{ debugName: "normalizedQuery" }] : /* istanbul ignore next */ []);
|
|
72560
72991
|
this.loadingMore = linkedSignal({
|
|
@@ -72636,7 +73067,7 @@ var SelectDirective = class SelectDirective extends FieldStateControlDirective {
|
|
|
72636
73067
|
this.labelCache = signal(/* @__PURE__ */ new Map(), ...ngDevMode ? [{ debugName: "labelCache" }] : /* istanbul ignore next */ []);
|
|
72637
73068
|
this.selectedEntries = computed(() => {
|
|
72638
73069
|
if (this.mixed()) return [];
|
|
72639
|
-
const values = this.effectiveValues();
|
|
73070
|
+
const values = this.selectsNullOption() ? [null] : this.effectiveValues();
|
|
72640
73071
|
const items = this.sortedItems();
|
|
72641
73072
|
const cache = this.labelCache();
|
|
72642
73073
|
const valuesMatch = this.valuesMatch();
|
|
@@ -73551,7 +73982,9 @@ var SelectDirective = class SelectDirective extends FieldStateControlDirective {
|
|
|
73551
73982
|
},
|
|
73552
73983
|
host: { properties: {
|
|
73553
73984
|
"attr.data-select-open": "open() || null",
|
|
73554
|
-
"attr.data-mixed": "mixed() || null"
|
|
73985
|
+
"attr.data-mixed": "mixed() || null",
|
|
73986
|
+
"attr.aria-label": "null",
|
|
73987
|
+
"attr.aria-labelledby": "null"
|
|
73555
73988
|
} },
|
|
73556
73989
|
exportAs: ["etSelect"],
|
|
73557
73990
|
usesInheritance: true,
|
|
@@ -73571,7 +74004,9 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
73571
74004
|
exportAs: "etSelect",
|
|
73572
74005
|
host: {
|
|
73573
74006
|
"[attr.data-select-open]": "open() || null",
|
|
73574
|
-
"[attr.data-mixed]": "mixed() || null"
|
|
74007
|
+
"[attr.data-mixed]": "mixed() || null",
|
|
74008
|
+
"[attr.aria-label]": "null",
|
|
74009
|
+
"[attr.aria-labelledby]": "null"
|
|
73575
74010
|
}
|
|
73576
74011
|
}]
|
|
73577
74012
|
}],
|
|
@@ -75375,7 +75810,7 @@ var SelectOptionStylesComponent = class SelectOptionStylesComponent {
|
|
|
75375
75810
|
ngImport: i0,
|
|
75376
75811
|
template: "",
|
|
75377
75812
|
isInline: true,
|
|
75378
|
-
styles: ["@layer components.sdk{@property --et-select-option-height{syntax: \"<length>\"; inherits: true; initial-value: 36px;}@property --et-select-option-padding-inline{syntax: \"<length>\"; inherits: true; initial-value: 10px;}@property --et-select-option-gap{syntax: \"<length>\"; inherits: true; initial-value: 8px;}@property --et-select-option-border-radius{syntax: \"<length>\"; inherits: true; initial-value: 6px;}@property --et-select-option-font-size{syntax: \"<length>\"; inherits: true; initial-value: 14px;}@property --et-select-option-check-size{syntax: \"<length>\"; inherits: true; initial-value: 16px;}@property --et-select-option-divider-width{syntax: \"<length>\"; inherits: true; initial-value: 0px;}.et-select-option{display:flex;align-items:center;gap:var(--et-select-option-gap);min-block-size:var(--et-select-option-height);padding-inline:var(--et-select-option-padding-inline);border-radius:var(--et-select-option-border-radius);font-size:var(--et-select-option-font-size);cursor:pointer;-webkit-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent;content-visibility:auto;contain-intrinsic-block-size:auto 0;transition:background .12s ease,color .12s ease,opacity .12s ease}.et-select-option[data-filtered]{display:none}.et-select-option+.et-select-option{border-block-start:var(--et-select-option-divider-width) solid var(--et-select-option-divider-color, var(--et-surface-border-solid, currentColor))}.et-select-option:where([data-selected]){--_et-select-option-color-rest: var(--et-select-option-color-selected);color:var(--_et-select-option-color-rest)}.et-select-option:where([data-active][data-active-source=keyboard]){outline:2px solid var(--et-select-option-outline-color-active, var(--et-theme-color-ink-solid, currentColor));outline-offset:-2px;background:var(--et-select-option-background-active, transparent);color:var(--et-select-option-color-active, var(--_et-select-option-color-rest))}@media(hover:hover){.et-select-option:where([data-active]:hover){background:var( --et-select-option-background-hover, color-mix(in srgb, var(--et-surface-interaction-solid, rgb(255 255 255)) 12%, transparent) );color:var(--et-select-option-color-hover, var(--_et-select-option-color-rest))}}.et-select-option:active{background:color-mix(in srgb,var(--et-surface-interaction-solid, rgb(255 255 255)) 20%,transparent)}.et-select-option:where([aria-disabled=true]){opacity:.4;cursor:not-allowed}.et-select-option:where([aria-disabled=true]):active{background:transparent}.et-select-option .et-select-option-check{display:flex;align-items:center;justify-content:center;flex:none;inline-size:var(--et-select-option-check-size);block-size:var(--et-select-option-check-size);order:var(--et-select-option-check-order);color:var(--et-select-option-check-color, var(--et-theme-color-ink-solid, currentColor));opacity:0;transition:opacity .12s ease}.et-select-option .et-select-option-check .et-icon{inline-size:100%;block-size:100%}.et-select-option:where([data-selected]) .et-select-option-check{opacity:1}:where(.et-animation-leave-from,.et-animation-leave-active) .et-select-option .et-select-option-check{transition-delay:.1s}.et-select-option .et-select-option-label{flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-inline-size:0}.et-select-option.et-select-create-option{color:var(--et-theme-color-ink-solid, currentColor)}.et-select-option.et-select-create-option .et-select-option-check{display:none}.et-select-option.et-select-create-option .et-select-option-label{display:flex;align-items:center;gap:var(--et-select-option-gap)}.et-select-option.et-select-create-option .et-select-create-option-icon{flex:none;inline-size:var(--et-select-option-check-size);block-size:var(--et-select-option-check-size)}}\n"],
|
|
75813
|
+
styles: ["@layer components.sdk{@property --et-select-option-height{syntax: \"<length>\"; inherits: true; initial-value: 36px;}@property --et-select-option-padding-inline{syntax: \"<length>\"; inherits: true; initial-value: 10px;}@property --et-select-option-gap{syntax: \"<length>\"; inherits: true; initial-value: 8px;}@property --et-select-option-border-radius{syntax: \"<length>\"; inherits: true; initial-value: 6px;}@property --et-select-option-font-size{syntax: \"<length>\"; inherits: true; initial-value: 14px;}@property --et-select-option-check-size{syntax: \"<length>\"; inherits: true; initial-value: 16px;}@property --et-select-option-divider-width{syntax: \"<length>\"; inherits: true; initial-value: 0px;}.et-select-option{display:flex;align-items:center;gap:var(--et-select-option-gap);min-block-size:var(--et-select-option-height);padding-inline:var(--et-select-option-padding-inline);border-radius:var(--et-select-option-border-radius);font-size:var(--et-select-option-font-size);letter-spacing:var(--et-select-option-letter-spacing);cursor:pointer;-webkit-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent;content-visibility:auto;contain-intrinsic-block-size:auto 0;transition:background .12s ease,color .12s ease,opacity .12s ease}.et-select-option[data-filtered]{display:none}.et-select-option+.et-select-option{border-block-start:var(--et-select-option-divider-width) solid var(--et-select-option-divider-color, var(--et-surface-border-solid, currentColor))}.et-select-option:where([data-selected]){--_et-select-option-color-rest: var(--et-select-option-color-selected);color:var(--_et-select-option-color-rest)}.et-select-option:where([data-active][data-active-source=keyboard]){outline:2px solid var(--et-select-option-outline-color-active, var(--et-theme-color-ink-solid, currentColor));outline-offset:-2px;background:var(--et-select-option-background-active, transparent);color:var(--et-select-option-color-active, var(--_et-select-option-color-rest))}@media(hover:hover){.et-select-option:where([data-active]:hover){background:var( --et-select-option-background-hover, color-mix(in srgb, var(--et-surface-interaction-solid, rgb(255 255 255)) 12%, transparent) );color:var(--et-select-option-color-hover, var(--_et-select-option-color-rest))}}.et-select-option:active{background:color-mix(in srgb,var(--et-surface-interaction-solid, rgb(255 255 255)) 20%,transparent)}.et-select-option:where([aria-disabled=true]){opacity:.4;cursor:not-allowed}.et-select-option:where([aria-disabled=true]):active{background:transparent}.et-select-option .et-select-option-check{display:flex;align-items:center;justify-content:center;flex:none;inline-size:var(--et-select-option-check-size);block-size:var(--et-select-option-check-size);order:var(--et-select-option-check-order);color:var(--et-select-option-check-color, var(--et-theme-color-ink-solid, currentColor));opacity:0;transition:opacity .12s ease}.et-select-option .et-select-option-check .et-icon{inline-size:100%;block-size:100%}.et-select-option:where([data-selected]) .et-select-option-check{opacity:1}:where(.et-animation-leave-from,.et-animation-leave-active) .et-select-option .et-select-option-check{transition-delay:.1s}.et-select-option .et-select-option-label{flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-inline-size:0}.et-select-option.et-select-create-option{color:var(--et-theme-color-ink-solid, currentColor)}.et-select-option.et-select-create-option .et-select-option-check{display:none}.et-select-option.et-select-create-option .et-select-option-label{display:flex;align-items:center;gap:var(--et-select-option-gap)}.et-select-option.et-select-create-option .et-select-create-option-icon{flex:none;inline-size:var(--et-select-option-check-size);block-size:var(--et-select-option-check-size)}}\n"],
|
|
75379
75814
|
encapsulation: i0.ViewEncapsulation.None
|
|
75380
75815
|
});
|
|
75381
75816
|
}
|
|
@@ -75391,7 +75826,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
75391
75826
|
selector: "et-select-option-styles",
|
|
75392
75827
|
template: "",
|
|
75393
75828
|
encapsulation: ViewEncapsulation.None,
|
|
75394
|
-
styles: ["@layer components.sdk{@property --et-select-option-height{syntax: \"<length>\"; inherits: true; initial-value: 36px;}@property --et-select-option-padding-inline{syntax: \"<length>\"; inherits: true; initial-value: 10px;}@property --et-select-option-gap{syntax: \"<length>\"; inherits: true; initial-value: 8px;}@property --et-select-option-border-radius{syntax: \"<length>\"; inherits: true; initial-value: 6px;}@property --et-select-option-font-size{syntax: \"<length>\"; inherits: true; initial-value: 14px;}@property --et-select-option-check-size{syntax: \"<length>\"; inherits: true; initial-value: 16px;}@property --et-select-option-divider-width{syntax: \"<length>\"; inherits: true; initial-value: 0px;}.et-select-option{display:flex;align-items:center;gap:var(--et-select-option-gap);min-block-size:var(--et-select-option-height);padding-inline:var(--et-select-option-padding-inline);border-radius:var(--et-select-option-border-radius);font-size:var(--et-select-option-font-size);cursor:pointer;-webkit-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent;content-visibility:auto;contain-intrinsic-block-size:auto 0;transition:background .12s ease,color .12s ease,opacity .12s ease}.et-select-option[data-filtered]{display:none}.et-select-option+.et-select-option{border-block-start:var(--et-select-option-divider-width) solid var(--et-select-option-divider-color, var(--et-surface-border-solid, currentColor))}.et-select-option:where([data-selected]){--_et-select-option-color-rest: var(--et-select-option-color-selected);color:var(--_et-select-option-color-rest)}.et-select-option:where([data-active][data-active-source=keyboard]){outline:2px solid var(--et-select-option-outline-color-active, var(--et-theme-color-ink-solid, currentColor));outline-offset:-2px;background:var(--et-select-option-background-active, transparent);color:var(--et-select-option-color-active, var(--_et-select-option-color-rest))}@media(hover:hover){.et-select-option:where([data-active]:hover){background:var( --et-select-option-background-hover, color-mix(in srgb, var(--et-surface-interaction-solid, rgb(255 255 255)) 12%, transparent) );color:var(--et-select-option-color-hover, var(--_et-select-option-color-rest))}}.et-select-option:active{background:color-mix(in srgb,var(--et-surface-interaction-solid, rgb(255 255 255)) 20%,transparent)}.et-select-option:where([aria-disabled=true]){opacity:.4;cursor:not-allowed}.et-select-option:where([aria-disabled=true]):active{background:transparent}.et-select-option .et-select-option-check{display:flex;align-items:center;justify-content:center;flex:none;inline-size:var(--et-select-option-check-size);block-size:var(--et-select-option-check-size);order:var(--et-select-option-check-order);color:var(--et-select-option-check-color, var(--et-theme-color-ink-solid, currentColor));opacity:0;transition:opacity .12s ease}.et-select-option .et-select-option-check .et-icon{inline-size:100%;block-size:100%}.et-select-option:where([data-selected]) .et-select-option-check{opacity:1}:where(.et-animation-leave-from,.et-animation-leave-active) .et-select-option .et-select-option-check{transition-delay:.1s}.et-select-option .et-select-option-label{flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-inline-size:0}.et-select-option.et-select-create-option{color:var(--et-theme-color-ink-solid, currentColor)}.et-select-option.et-select-create-option .et-select-option-check{display:none}.et-select-option.et-select-create-option .et-select-option-label{display:flex;align-items:center;gap:var(--et-select-option-gap)}.et-select-option.et-select-create-option .et-select-create-option-icon{flex:none;inline-size:var(--et-select-option-check-size);block-size:var(--et-select-option-check-size)}}\n"]
|
|
75829
|
+
styles: ["@layer components.sdk{@property --et-select-option-height{syntax: \"<length>\"; inherits: true; initial-value: 36px;}@property --et-select-option-padding-inline{syntax: \"<length>\"; inherits: true; initial-value: 10px;}@property --et-select-option-gap{syntax: \"<length>\"; inherits: true; initial-value: 8px;}@property --et-select-option-border-radius{syntax: \"<length>\"; inherits: true; initial-value: 6px;}@property --et-select-option-font-size{syntax: \"<length>\"; inherits: true; initial-value: 14px;}@property --et-select-option-check-size{syntax: \"<length>\"; inherits: true; initial-value: 16px;}@property --et-select-option-divider-width{syntax: \"<length>\"; inherits: true; initial-value: 0px;}.et-select-option{display:flex;align-items:center;gap:var(--et-select-option-gap);min-block-size:var(--et-select-option-height);padding-inline:var(--et-select-option-padding-inline);border-radius:var(--et-select-option-border-radius);font-size:var(--et-select-option-font-size);letter-spacing:var(--et-select-option-letter-spacing);cursor:pointer;-webkit-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent;content-visibility:auto;contain-intrinsic-block-size:auto 0;transition:background .12s ease,color .12s ease,opacity .12s ease}.et-select-option[data-filtered]{display:none}.et-select-option+.et-select-option{border-block-start:var(--et-select-option-divider-width) solid var(--et-select-option-divider-color, var(--et-surface-border-solid, currentColor))}.et-select-option:where([data-selected]){--_et-select-option-color-rest: var(--et-select-option-color-selected);color:var(--_et-select-option-color-rest)}.et-select-option:where([data-active][data-active-source=keyboard]){outline:2px solid var(--et-select-option-outline-color-active, var(--et-theme-color-ink-solid, currentColor));outline-offset:-2px;background:var(--et-select-option-background-active, transparent);color:var(--et-select-option-color-active, var(--_et-select-option-color-rest))}@media(hover:hover){.et-select-option:where([data-active]:hover){background:var( --et-select-option-background-hover, color-mix(in srgb, var(--et-surface-interaction-solid, rgb(255 255 255)) 12%, transparent) );color:var(--et-select-option-color-hover, var(--_et-select-option-color-rest))}}.et-select-option:active{background:color-mix(in srgb,var(--et-surface-interaction-solid, rgb(255 255 255)) 20%,transparent)}.et-select-option:where([aria-disabled=true]){opacity:.4;cursor:not-allowed}.et-select-option:where([aria-disabled=true]):active{background:transparent}.et-select-option .et-select-option-check{display:flex;align-items:center;justify-content:center;flex:none;inline-size:var(--et-select-option-check-size);block-size:var(--et-select-option-check-size);order:var(--et-select-option-check-order);color:var(--et-select-option-check-color, var(--et-theme-color-ink-solid, currentColor));opacity:0;transition:opacity .12s ease}.et-select-option .et-select-option-check .et-icon{inline-size:100%;block-size:100%}.et-select-option:where([data-selected]) .et-select-option-check{opacity:1}:where(.et-animation-leave-from,.et-animation-leave-active) .et-select-option .et-select-option-check{transition-delay:.1s}.et-select-option .et-select-option-label{flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-inline-size:0}.et-select-option.et-select-create-option{color:var(--et-theme-color-ink-solid, currentColor)}.et-select-option.et-select-create-option .et-select-option-check{display:none}.et-select-option.et-select-create-option .et-select-option-label{display:flex;align-items:center;gap:var(--et-select-option-gap)}.et-select-option.et-select-create-option .et-select-create-option-icon{flex:none;inline-size:var(--et-select-option-check-size);block-size:var(--et-select-option-check-size)}}\n"]
|
|
75395
75830
|
}]
|
|
75396
75831
|
}]
|
|
75397
75832
|
});
|
|
@@ -77786,7 +78221,7 @@ var CheckboxGroupSelectAllComponent = class CheckboxGroupSelectAllComponent {
|
|
|
77786
78221
|
<span class="et-checkbox-group-select-all-label">{{ resolvedLabel() }}</span>
|
|
77787
78222
|
`,
|
|
77788
78223
|
isInline: true,
|
|
77789
|
-
styles: ["@layer components.sdk{.et-checkbox-group-select-all{display:flex;align-items:center;gap:var(--et-checkbox-option-gap, 10px);cursor:pointer;-webkit-user-select:none;user-select:none;outline:none}.et-checkbox-group-select-all-box{box-sizing:border-box;display:grid;place-items:center;inline-size:var(--et-checkbox-option-size, 20px);block-size:var(--et-checkbox-option-size, 20px);border:var(--et-checkbox-option-border-width, 2px) solid var(--et-surface-
|
|
78224
|
+
styles: ["@layer components.sdk{.et-checkbox-group-select-all{display:flex;align-items:center;gap:var(--et-checkbox-option-gap, 10px);cursor:pointer;-webkit-user-select:none;user-select:none;outline:none}.et-checkbox-group-select-all-box{box-sizing:border-box;display:grid;place-items:center;inline-size:var(--et-checkbox-option-size, 20px);block-size:var(--et-checkbox-option-size, 20px);border:var(--et-checkbox-option-border-width, 2px) solid color-mix(in oklab,var(--et-surface-color-solid, currentColor) 43%,var(--et-surface-background-solid, transparent));border-radius:var(--et-checkbox-option-border-radius, 4px);transition:border-color var(--et-checkbox-option-transition-duration, .15s) ease,background-color var(--et-checkbox-option-transition-duration, .15s) ease,transform var(--et-checkbox-option-transition-duration, .15s) ease}.et-checkbox-group-select-all-box>*{grid-area:1 / 1;opacity:0;color:var(--et-theme-color-on-primary-solid, white);transition:opacity var(--et-checkbox-option-transition-duration, .15s) ease}.et-checkbox-group-select-all-check{inline-size:12px;block-size:10px}.et-checkbox-group-select-all-dash{inline-size:10px;block-size:2px;border-radius:1px;background-color:var(--et-theme-color-on-primary-solid, white)}.et-checkbox-group-select-all-label{font-size:14px;line-height:20px;color:var(--et-surface-color-solid, currentColor)}.et-checkbox-group-select-all:where([aria-checked=true],[aria-checked=mixed]) .et-checkbox-group-select-all-box{border-color:var(--et-theme-color-primary-solid, currentColor);background-color:var(--et-theme-color-primary-solid, currentColor)}.et-checkbox-group-select-all:where([aria-checked=true]) .et-checkbox-group-select-all-check,.et-checkbox-group-select-all:where([aria-checked=mixed]) .et-checkbox-group-select-all-dash{opacity:1}@media(hover:hover){.et-checkbox-group-select-all:hover:not([aria-checked=true]):not([aria-checked=mixed]):not([aria-disabled=true]):not([aria-readonly=true]) .et-checkbox-group-select-all-box{border-color:var(--et-surface-color-solid, currentColor);background-color:color-mix(in srgb,var(--et-surface-interaction-solid, currentColor) 8%,transparent)}}.et-checkbox-group-select-all:focus-visible .et-checkbox-group-select-all-box{outline:2px solid light-dark(var(--et-theme-color-ink-solid, currentColor),var(--et-theme-color-primary-solid, currentColor));outline-offset:2px}.et-checkbox-group-select-all:active:not([aria-disabled=true]):not([aria-readonly=true]) .et-checkbox-group-select-all-box{transform:scale(.92)}.et-checkbox-group-select-all:where([aria-disabled=true]){opacity:var(--et-checkbox-option-opacity-disabled, .5);pointer-events:none;cursor:default}.et-checkbox-group-select-all:where([aria-readonly=true]){cursor:default}}\n"],
|
|
77790
78225
|
encapsulation: i0.ViewEncapsulation.None
|
|
77791
78226
|
});
|
|
77792
78227
|
}
|
|
@@ -77818,7 +78253,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
77818
78253
|
encapsulation: ViewEncapsulation.None,
|
|
77819
78254
|
hostDirectives: [SelectionListControlDirective, ColorInteractiveDirective],
|
|
77820
78255
|
host: { class: "et-checkbox-group-select-all" },
|
|
77821
|
-
styles: ["@layer components.sdk{.et-checkbox-group-select-all{display:flex;align-items:center;gap:var(--et-checkbox-option-gap, 10px);cursor:pointer;-webkit-user-select:none;user-select:none;outline:none}.et-checkbox-group-select-all-box{box-sizing:border-box;display:grid;place-items:center;inline-size:var(--et-checkbox-option-size, 20px);block-size:var(--et-checkbox-option-size, 20px);border:var(--et-checkbox-option-border-width, 2px) solid var(--et-surface-
|
|
78256
|
+
styles: ["@layer components.sdk{.et-checkbox-group-select-all{display:flex;align-items:center;gap:var(--et-checkbox-option-gap, 10px);cursor:pointer;-webkit-user-select:none;user-select:none;outline:none}.et-checkbox-group-select-all-box{box-sizing:border-box;display:grid;place-items:center;inline-size:var(--et-checkbox-option-size, 20px);block-size:var(--et-checkbox-option-size, 20px);border:var(--et-checkbox-option-border-width, 2px) solid color-mix(in oklab,var(--et-surface-color-solid, currentColor) 43%,var(--et-surface-background-solid, transparent));border-radius:var(--et-checkbox-option-border-radius, 4px);transition:border-color var(--et-checkbox-option-transition-duration, .15s) ease,background-color var(--et-checkbox-option-transition-duration, .15s) ease,transform var(--et-checkbox-option-transition-duration, .15s) ease}.et-checkbox-group-select-all-box>*{grid-area:1 / 1;opacity:0;color:var(--et-theme-color-on-primary-solid, white);transition:opacity var(--et-checkbox-option-transition-duration, .15s) ease}.et-checkbox-group-select-all-check{inline-size:12px;block-size:10px}.et-checkbox-group-select-all-dash{inline-size:10px;block-size:2px;border-radius:1px;background-color:var(--et-theme-color-on-primary-solid, white)}.et-checkbox-group-select-all-label{font-size:14px;line-height:20px;color:var(--et-surface-color-solid, currentColor)}.et-checkbox-group-select-all:where([aria-checked=true],[aria-checked=mixed]) .et-checkbox-group-select-all-box{border-color:var(--et-theme-color-primary-solid, currentColor);background-color:var(--et-theme-color-primary-solid, currentColor)}.et-checkbox-group-select-all:where([aria-checked=true]) .et-checkbox-group-select-all-check,.et-checkbox-group-select-all:where([aria-checked=mixed]) .et-checkbox-group-select-all-dash{opacity:1}@media(hover:hover){.et-checkbox-group-select-all:hover:not([aria-checked=true]):not([aria-checked=mixed]):not([aria-disabled=true]):not([aria-readonly=true]) .et-checkbox-group-select-all-box{border-color:var(--et-surface-color-solid, currentColor);background-color:color-mix(in srgb,var(--et-surface-interaction-solid, currentColor) 8%,transparent)}}.et-checkbox-group-select-all:focus-visible .et-checkbox-group-select-all-box{outline:2px solid light-dark(var(--et-theme-color-ink-solid, currentColor),var(--et-theme-color-primary-solid, currentColor));outline-offset:2px}.et-checkbox-group-select-all:active:not([aria-disabled=true]):not([aria-readonly=true]) .et-checkbox-group-select-all-box{transform:scale(.92)}.et-checkbox-group-select-all:where([aria-disabled=true]){opacity:var(--et-checkbox-option-opacity-disabled, .5);pointer-events:none;cursor:default}.et-checkbox-group-select-all:where([aria-readonly=true]){cursor:default}}\n"]
|
|
77822
78257
|
}]
|
|
77823
78258
|
}],
|
|
77824
78259
|
propDecorators: { label: [{
|
|
@@ -78109,7 +78544,7 @@ var CheckboxOptionComponent = class CheckboxOptionComponent {
|
|
|
78109
78544
|
}, { directive: i1$1.ColorInteractiveDirective }],
|
|
78110
78545
|
ngImport: i0,
|
|
78111
78546
|
template: "<div class=\"et-checkbox-option-box et-selection-card-control\">\n <svg class=\"et-checkbox-option-check\" viewBox=\"0 0 12 10\" fill=\"none\">\n <path\n d=\"M1 5L4.5 8.5L11 1.5\"\n stroke=\"currentColor\"\n stroke-width=\"2\"\n stroke-linecap=\"round\"\n stroke-linejoin=\"round\"\n />\n </svg>\n</div>\n<ng-content select=\"[etSelectionCardLeading]\" />\n<div class=\"et-checkbox-option-content et-selection-card-content\">\n <span [attr.id]=\"optionDirective.labelId\" class=\"et-checkbox-option-label et-selection-card-label\">\n <ng-content />\n </span>\n <ng-content select=\"et-description\" />\n</div>\n<ng-content select=\"[etSelectionCardTrailing]\" />\n",
|
|
78112
|
-
styles: ["@layer components.sdk{@property --et-checkbox-option-size{syntax: \"<length>\"; inherits: true; initial-value: 20px;}@property --et-checkbox-option-border-width{syntax: \"<length>\"; inherits: true; initial-value: 2px;}@property --et-checkbox-option-border-radius{syntax: \"<length>\"; inherits: true; initial-value: 4px;}@property --et-checkbox-option-transition-duration{syntax: \"<time>\"; inherits: true; initial-value: .15s;}@property --et-checkbox-option-opacity-disabled{syntax: \"<number>\"; inherits: true; initial-value: .5;}@property --et-checkbox-option-gap{syntax: \"<length>\"; inherits: true; initial-value: 10px;}et-checkbox-option{display:flex;align-items:flex-start;gap:var(--et-checkbox-option-gap);cursor:pointer;outline:none;-webkit-user-select:none;user-select:none}et-checkbox-option[data-readonly]{cursor:default}et-checkbox-option .et-checkbox-option-box{box-sizing:border-box;flex-shrink:0;inline-size:var(--et-checkbox-option-size);block-size:var(--et-checkbox-option-size);border-radius:var(--et-checkbox-option-border-radius);border:var(--et-checkbox-option-border-width) solid var(--_et-control-border, var(--et-surface-
|
|
78547
|
+
styles: ["@layer components.sdk{@property --et-checkbox-option-size{syntax: \"<length>\"; inherits: true; initial-value: 20px;}@property --et-checkbox-option-border-width{syntax: \"<length>\"; inherits: true; initial-value: 2px;}@property --et-checkbox-option-border-radius{syntax: \"<length>\"; inherits: true; initial-value: 4px;}@property --et-checkbox-option-transition-duration{syntax: \"<time>\"; inherits: true; initial-value: .15s;}@property --et-checkbox-option-opacity-disabled{syntax: \"<number>\"; inherits: true; initial-value: .5;}@property --et-checkbox-option-gap{syntax: \"<length>\"; inherits: true; initial-value: 10px;}et-checkbox-option{display:flex;align-items:flex-start;gap:var(--et-checkbox-option-gap);cursor:pointer;outline:none;-webkit-user-select:none;user-select:none}et-checkbox-option[data-readonly]{cursor:default}et-checkbox-option .et-checkbox-option-box{box-sizing:border-box;flex-shrink:0;inline-size:var(--et-checkbox-option-size);block-size:var(--et-checkbox-option-size);border-radius:var(--et-checkbox-option-border-radius);border:var(--et-checkbox-option-border-width) solid var( --_et-control-border, color-mix( in oklab, var(--et-surface-color-solid, currentColor) 43%, var(--et-surface-background-solid, transparent) ) );background-color:transparent;display:grid;place-items:center}et-checkbox-option .et-checkbox-option-check{inline-size:12px;block-size:10px;opacity:0;color:var(--et-theme-color-on-primary-solid, white)}et-checkbox-option .et-checkbox-option-check path{stroke-dasharray:15;stroke-dashoffset:15}et-checkbox-option .et-checkbox-option-content{display:flex;flex-direction:column;gap:2px;min-inline-size:0}et-checkbox-option .et-checkbox-option-label{font-size:14px;line-height:20px;color:var(--et-surface-color-solid, currentColor)}@media(hover:hover){et-checkbox-option:hover:not([aria-disabled=true]):not([data-readonly]):not([aria-checked=true]) .et-checkbox-option-box{border-color:var(--_et-control-border, var(--et-surface-color-solid, currentColor));background-color:color-mix(in srgb,var(--et-surface-interaction-solid, currentColor) 8%,transparent)}}et-checkbox-option:focus-visible .et-checkbox-option-box{border-color:var(--et-theme-color-primary-solid);outline:2px solid light-dark(var(--et-theme-color-ink-solid, currentColor),var(--et-theme-color-primary-solid, currentColor));outline-offset:2px}et-checkbox-option:active:not([aria-disabled=true]):not([data-readonly]) .et-checkbox-option-box{transform:scale(.92)}et-checkbox-option[aria-disabled=true]{opacity:var(--et-checkbox-option-opacity-disabled);pointer-events:none;cursor:default}et-checkbox-option[aria-disabled=true] .et-checkbox-option-label{color:var(--et-surface-interaction-disabled-solid, currentColor)}et-checkbox-option[aria-checked=true] .et-checkbox-option-box{background-color:var(--et-theme-color-primary-solid, currentColor);border-color:var(--et-theme-color-primary-solid, currentColor)}et-checkbox-option[aria-checked=true] .et-checkbox-option-box .et-checkbox-option-check{opacity:1}et-checkbox-option[aria-checked=true] .et-checkbox-option-box .et-checkbox-option-check path{stroke-dashoffset:0}et-checkbox-option[data-can-animate] .et-checkbox-option-box{transition:border-color var(--et-checkbox-option-transition-duration) ease,background-color var(--et-checkbox-option-transition-duration) ease,transform var(--et-checkbox-option-transition-duration) ease}et-checkbox-option[data-can-animate] .et-checkbox-option-check{transition:opacity 0s calc(var(--et-checkbox-option-transition-duration) * 1.5)}et-checkbox-option[data-can-animate] .et-checkbox-option-check path{transition:stroke-dashoffset calc(var(--et-checkbox-option-transition-duration) * 1.5) ease}et-checkbox-option[data-can-animate][aria-checked=true] .et-checkbox-option-check{transition:opacity 0s 0s}@media(prefers-reduced-motion:reduce){et-checkbox-option{--et-checkbox-option-transition-duration: 1ms}}}\n"],
|
|
78113
78548
|
encapsulation: i0.ViewEncapsulation.None
|
|
78114
78549
|
});
|
|
78115
78550
|
}
|
|
@@ -78141,7 +78576,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
78141
78576
|
"[attr.data-can-animate]": "canAnimate.state() || null"
|
|
78142
78577
|
},
|
|
78143
78578
|
template: "<div class=\"et-checkbox-option-box et-selection-card-control\">\n <svg class=\"et-checkbox-option-check\" viewBox=\"0 0 12 10\" fill=\"none\">\n <path\n d=\"M1 5L4.5 8.5L11 1.5\"\n stroke=\"currentColor\"\n stroke-width=\"2\"\n stroke-linecap=\"round\"\n stroke-linejoin=\"round\"\n />\n </svg>\n</div>\n<ng-content select=\"[etSelectionCardLeading]\" />\n<div class=\"et-checkbox-option-content et-selection-card-content\">\n <span [attr.id]=\"optionDirective.labelId\" class=\"et-checkbox-option-label et-selection-card-label\">\n <ng-content />\n </span>\n <ng-content select=\"et-description\" />\n</div>\n<ng-content select=\"[etSelectionCardTrailing]\" />\n",
|
|
78144
|
-
styles: ["@layer components.sdk{@property --et-checkbox-option-size{syntax: \"<length>\"; inherits: true; initial-value: 20px;}@property --et-checkbox-option-border-width{syntax: \"<length>\"; inherits: true; initial-value: 2px;}@property --et-checkbox-option-border-radius{syntax: \"<length>\"; inherits: true; initial-value: 4px;}@property --et-checkbox-option-transition-duration{syntax: \"<time>\"; inherits: true; initial-value: .15s;}@property --et-checkbox-option-opacity-disabled{syntax: \"<number>\"; inherits: true; initial-value: .5;}@property --et-checkbox-option-gap{syntax: \"<length>\"; inherits: true; initial-value: 10px;}et-checkbox-option{display:flex;align-items:flex-start;gap:var(--et-checkbox-option-gap);cursor:pointer;outline:none;-webkit-user-select:none;user-select:none}et-checkbox-option[data-readonly]{cursor:default}et-checkbox-option .et-checkbox-option-box{box-sizing:border-box;flex-shrink:0;inline-size:var(--et-checkbox-option-size);block-size:var(--et-checkbox-option-size);border-radius:var(--et-checkbox-option-border-radius);border:var(--et-checkbox-option-border-width) solid var(--_et-control-border, var(--et-surface-
|
|
78579
|
+
styles: ["@layer components.sdk{@property --et-checkbox-option-size{syntax: \"<length>\"; inherits: true; initial-value: 20px;}@property --et-checkbox-option-border-width{syntax: \"<length>\"; inherits: true; initial-value: 2px;}@property --et-checkbox-option-border-radius{syntax: \"<length>\"; inherits: true; initial-value: 4px;}@property --et-checkbox-option-transition-duration{syntax: \"<time>\"; inherits: true; initial-value: .15s;}@property --et-checkbox-option-opacity-disabled{syntax: \"<number>\"; inherits: true; initial-value: .5;}@property --et-checkbox-option-gap{syntax: \"<length>\"; inherits: true; initial-value: 10px;}et-checkbox-option{display:flex;align-items:flex-start;gap:var(--et-checkbox-option-gap);cursor:pointer;outline:none;-webkit-user-select:none;user-select:none}et-checkbox-option[data-readonly]{cursor:default}et-checkbox-option .et-checkbox-option-box{box-sizing:border-box;flex-shrink:0;inline-size:var(--et-checkbox-option-size);block-size:var(--et-checkbox-option-size);border-radius:var(--et-checkbox-option-border-radius);border:var(--et-checkbox-option-border-width) solid var( --_et-control-border, color-mix( in oklab, var(--et-surface-color-solid, currentColor) 43%, var(--et-surface-background-solid, transparent) ) );background-color:transparent;display:grid;place-items:center}et-checkbox-option .et-checkbox-option-check{inline-size:12px;block-size:10px;opacity:0;color:var(--et-theme-color-on-primary-solid, white)}et-checkbox-option .et-checkbox-option-check path{stroke-dasharray:15;stroke-dashoffset:15}et-checkbox-option .et-checkbox-option-content{display:flex;flex-direction:column;gap:2px;min-inline-size:0}et-checkbox-option .et-checkbox-option-label{font-size:14px;line-height:20px;color:var(--et-surface-color-solid, currentColor)}@media(hover:hover){et-checkbox-option:hover:not([aria-disabled=true]):not([data-readonly]):not([aria-checked=true]) .et-checkbox-option-box{border-color:var(--_et-control-border, var(--et-surface-color-solid, currentColor));background-color:color-mix(in srgb,var(--et-surface-interaction-solid, currentColor) 8%,transparent)}}et-checkbox-option:focus-visible .et-checkbox-option-box{border-color:var(--et-theme-color-primary-solid);outline:2px solid light-dark(var(--et-theme-color-ink-solid, currentColor),var(--et-theme-color-primary-solid, currentColor));outline-offset:2px}et-checkbox-option:active:not([aria-disabled=true]):not([data-readonly]) .et-checkbox-option-box{transform:scale(.92)}et-checkbox-option[aria-disabled=true]{opacity:var(--et-checkbox-option-opacity-disabled);pointer-events:none;cursor:default}et-checkbox-option[aria-disabled=true] .et-checkbox-option-label{color:var(--et-surface-interaction-disabled-solid, currentColor)}et-checkbox-option[aria-checked=true] .et-checkbox-option-box{background-color:var(--et-theme-color-primary-solid, currentColor);border-color:var(--et-theme-color-primary-solid, currentColor)}et-checkbox-option[aria-checked=true] .et-checkbox-option-box .et-checkbox-option-check{opacity:1}et-checkbox-option[aria-checked=true] .et-checkbox-option-box .et-checkbox-option-check path{stroke-dashoffset:0}et-checkbox-option[data-can-animate] .et-checkbox-option-box{transition:border-color var(--et-checkbox-option-transition-duration) ease,background-color var(--et-checkbox-option-transition-duration) ease,transform var(--et-checkbox-option-transition-duration) ease}et-checkbox-option[data-can-animate] .et-checkbox-option-check{transition:opacity 0s calc(var(--et-checkbox-option-transition-duration) * 1.5)}et-checkbox-option[data-can-animate] .et-checkbox-option-check path{transition:stroke-dashoffset calc(var(--et-checkbox-option-transition-duration) * 1.5) ease}et-checkbox-option[data-can-animate][aria-checked=true] .et-checkbox-option-check{transition:opacity 0s 0s}@media(prefers-reduced-motion:reduce){et-checkbox-option{--et-checkbox-option-transition-duration: 1ms}}}\n"]
|
|
78145
78580
|
}]
|
|
78146
78581
|
}],
|
|
78147
78582
|
ctorParameters: () => [],
|
|
@@ -78437,7 +78872,7 @@ var RadioComponent = class RadioComponent {
|
|
|
78437
78872
|
}, { directive: i1$1.ColorInteractiveDirective }],
|
|
78438
78873
|
ngImport: i0,
|
|
78439
78874
|
template: "<div class=\"et-radio-circle et-selection-card-control\"></div>\n<ng-content select=\"[etSelectionCardLeading]\" />\n<div class=\"et-radio-content et-selection-card-content\">\n <span [attr.id]=\"optionDirective.labelId\" class=\"et-radio-label et-selection-card-label\">\n <ng-content />\n </span>\n <ng-content select=\"et-description\" />\n</div>\n<ng-content select=\"[etSelectionCardTrailing]\" />\n",
|
|
78440
|
-
styles: ["@layer components.sdk{@property --et-radio-size{syntax: \"<length>\"; inherits: true; initial-value: 20px;}@property --et-radio-dot-size{syntax: \"<length>\"; inherits: true; initial-value: 10px;}@property --et-radio-border-width{syntax: \"<length>\"; inherits: true; initial-value: 2px;}@property --et-radio-transition-duration{syntax: \"<time>\"; inherits: true; initial-value: .15s;}@property --et-radio-opacity-disabled{syntax: \"<number>\"; inherits: true; initial-value: .5;}@property --et-radio-gap{syntax: \"<length>\"; inherits: true; initial-value: 10px;}et-radio{display:flex;align-items:flex-start;gap:var(--et-radio-gap);cursor:pointer;outline:none;-webkit-user-select:none;user-select:none}et-radio[data-readonly]{cursor:default}et-radio .et-radio-circle{box-sizing:border-box;flex-shrink:0;inline-size:var(--et-radio-size);block-size:var(--et-radio-size);border-radius:50%;border:var(--et-radio-border-width) solid var(--_et-control-border, var(--et-surface-
|
|
78875
|
+
styles: ["@layer components.sdk{@property --et-radio-size{syntax: \"<length>\"; inherits: true; initial-value: 20px;}@property --et-radio-dot-size{syntax: \"<length>\"; inherits: true; initial-value: 10px;}@property --et-radio-border-width{syntax: \"<length>\"; inherits: true; initial-value: 2px;}@property --et-radio-transition-duration{syntax: \"<time>\"; inherits: true; initial-value: .15s;}@property --et-radio-opacity-disabled{syntax: \"<number>\"; inherits: true; initial-value: .5;}@property --et-radio-gap{syntax: \"<length>\"; inherits: true; initial-value: 10px;}et-radio{display:flex;align-items:flex-start;gap:var(--et-radio-gap);cursor:pointer;outline:none;-webkit-user-select:none;user-select:none}et-radio[data-readonly]{cursor:default}et-radio .et-radio-circle{box-sizing:border-box;flex-shrink:0;inline-size:var(--et-radio-size);block-size:var(--et-radio-size);border-radius:50%;border:var(--et-radio-border-width) solid var( --_et-control-border, color-mix( in oklab, var(--et-surface-color-solid, currentColor) 43%, var(--et-surface-background-solid, transparent) ) );background-color:transparent;display:grid;place-items:center}et-radio .et-radio-circle:after{content:\"\";inline-size:var(--et-radio-dot-size);block-size:var(--et-radio-dot-size);border-radius:50%;background-color:var(--et-theme-color-primary-solid, currentColor);transform:scale(0)}et-radio .et-radio-content{display:flex;flex-direction:column;gap:2px;min-inline-size:0}et-radio .et-radio-label{font-size:14px;line-height:20px;color:var(--et-surface-color-solid, currentColor)}@media(hover:hover){et-radio:hover:not([aria-disabled=true]):not([data-readonly]):not([aria-checked=true]) .et-radio-circle{border-color:var(--_et-control-border, var(--et-surface-color-solid, currentColor));background-color:color-mix(in srgb,var(--et-surface-interaction-solid, currentColor) 8%,transparent)}}et-radio:focus-visible .et-radio-circle{border-color:var(--et-theme-color-primary-solid);outline:2px solid light-dark(var(--et-theme-color-ink-solid, currentColor),var(--et-theme-color-primary-solid, currentColor));outline-offset:2px}et-radio:active:not([aria-disabled=true]):not([data-readonly]) .et-radio-circle{transform:scale(.92)}et-radio[aria-disabled=true]{opacity:var(--et-radio-opacity-disabled);pointer-events:none;cursor:default}et-radio[aria-disabled=true] .et-radio-label{color:var(--et-surface-interaction-disabled-solid, currentColor)}et-radio[aria-checked=true] .et-radio-circle{border-color:var(--et-theme-color-primary-solid, currentColor);background-color:transparent}et-radio[aria-checked=true] .et-radio-circle:after{transform:scale(1)}et-radio[data-can-animate] .et-radio-circle{transition:border-color var(--et-radio-transition-duration) ease,background-color var(--et-radio-transition-duration) ease,transform var(--et-radio-transition-duration) ease}et-radio[data-can-animate] .et-radio-circle:after{transition:transform var(--et-radio-transition-duration) ease}@media(prefers-reduced-motion:reduce){et-radio{--et-radio-transition-duration: 1ms}}}\n"],
|
|
78441
78876
|
encapsulation: i0.ViewEncapsulation.None
|
|
78442
78877
|
});
|
|
78443
78878
|
}
|
|
@@ -78469,7 +78904,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
78469
78904
|
"[attr.data-can-animate]": "canAnimate.state() || null"
|
|
78470
78905
|
},
|
|
78471
78906
|
template: "<div class=\"et-radio-circle et-selection-card-control\"></div>\n<ng-content select=\"[etSelectionCardLeading]\" />\n<div class=\"et-radio-content et-selection-card-content\">\n <span [attr.id]=\"optionDirective.labelId\" class=\"et-radio-label et-selection-card-label\">\n <ng-content />\n </span>\n <ng-content select=\"et-description\" />\n</div>\n<ng-content select=\"[etSelectionCardTrailing]\" />\n",
|
|
78472
|
-
styles: ["@layer components.sdk{@property --et-radio-size{syntax: \"<length>\"; inherits: true; initial-value: 20px;}@property --et-radio-dot-size{syntax: \"<length>\"; inherits: true; initial-value: 10px;}@property --et-radio-border-width{syntax: \"<length>\"; inherits: true; initial-value: 2px;}@property --et-radio-transition-duration{syntax: \"<time>\"; inherits: true; initial-value: .15s;}@property --et-radio-opacity-disabled{syntax: \"<number>\"; inherits: true; initial-value: .5;}@property --et-radio-gap{syntax: \"<length>\"; inherits: true; initial-value: 10px;}et-radio{display:flex;align-items:flex-start;gap:var(--et-radio-gap);cursor:pointer;outline:none;-webkit-user-select:none;user-select:none}et-radio[data-readonly]{cursor:default}et-radio .et-radio-circle{box-sizing:border-box;flex-shrink:0;inline-size:var(--et-radio-size);block-size:var(--et-radio-size);border-radius:50%;border:var(--et-radio-border-width) solid var(--_et-control-border, var(--et-surface-
|
|
78907
|
+
styles: ["@layer components.sdk{@property --et-radio-size{syntax: \"<length>\"; inherits: true; initial-value: 20px;}@property --et-radio-dot-size{syntax: \"<length>\"; inherits: true; initial-value: 10px;}@property --et-radio-border-width{syntax: \"<length>\"; inherits: true; initial-value: 2px;}@property --et-radio-transition-duration{syntax: \"<time>\"; inherits: true; initial-value: .15s;}@property --et-radio-opacity-disabled{syntax: \"<number>\"; inherits: true; initial-value: .5;}@property --et-radio-gap{syntax: \"<length>\"; inherits: true; initial-value: 10px;}et-radio{display:flex;align-items:flex-start;gap:var(--et-radio-gap);cursor:pointer;outline:none;-webkit-user-select:none;user-select:none}et-radio[data-readonly]{cursor:default}et-radio .et-radio-circle{box-sizing:border-box;flex-shrink:0;inline-size:var(--et-radio-size);block-size:var(--et-radio-size);border-radius:50%;border:var(--et-radio-border-width) solid var( --_et-control-border, color-mix( in oklab, var(--et-surface-color-solid, currentColor) 43%, var(--et-surface-background-solid, transparent) ) );background-color:transparent;display:grid;place-items:center}et-radio .et-radio-circle:after{content:\"\";inline-size:var(--et-radio-dot-size);block-size:var(--et-radio-dot-size);border-radius:50%;background-color:var(--et-theme-color-primary-solid, currentColor);transform:scale(0)}et-radio .et-radio-content{display:flex;flex-direction:column;gap:2px;min-inline-size:0}et-radio .et-radio-label{font-size:14px;line-height:20px;color:var(--et-surface-color-solid, currentColor)}@media(hover:hover){et-radio:hover:not([aria-disabled=true]):not([data-readonly]):not([aria-checked=true]) .et-radio-circle{border-color:var(--_et-control-border, var(--et-surface-color-solid, currentColor));background-color:color-mix(in srgb,var(--et-surface-interaction-solid, currentColor) 8%,transparent)}}et-radio:focus-visible .et-radio-circle{border-color:var(--et-theme-color-primary-solid);outline:2px solid light-dark(var(--et-theme-color-ink-solid, currentColor),var(--et-theme-color-primary-solid, currentColor));outline-offset:2px}et-radio:active:not([aria-disabled=true]):not([data-readonly]) .et-radio-circle{transform:scale(.92)}et-radio[aria-disabled=true]{opacity:var(--et-radio-opacity-disabled);pointer-events:none;cursor:default}et-radio[aria-disabled=true] .et-radio-label{color:var(--et-surface-interaction-disabled-solid, currentColor)}et-radio[aria-checked=true] .et-radio-circle{border-color:var(--et-theme-color-primary-solid, currentColor);background-color:transparent}et-radio[aria-checked=true] .et-radio-circle:after{transform:scale(1)}et-radio[data-can-animate] .et-radio-circle{transition:border-color var(--et-radio-transition-duration) ease,background-color var(--et-radio-transition-duration) ease,transform var(--et-radio-transition-duration) ease}et-radio[data-can-animate] .et-radio-circle:after{transition:transform var(--et-radio-transition-duration) ease}@media(prefers-reduced-motion:reduce){et-radio{--et-radio-transition-duration: 1ms}}}\n"]
|
|
78473
78908
|
}]
|
|
78474
78909
|
}],
|
|
78475
78910
|
ctorParameters: () => [],
|
|
@@ -80407,6 +80842,7 @@ var SwitchDirective = class SwitchDirective extends FieldStateControlDirective {
|
|
|
80407
80842
|
this.formField = inject(FORM_FIELD_TOKEN, { optional: true });
|
|
80408
80843
|
this.destroyRef = inject(DestroyRef);
|
|
80409
80844
|
this.el = inject(ElementRef);
|
|
80845
|
+
this.renderer = inject(Renderer2);
|
|
80410
80846
|
this.checked = model(false, ...ngDevMode ? [{ debugName: "checked" }] : /* istanbul ignore next */ []);
|
|
80411
80847
|
this.indeterminate = model(false, ...ngDevMode ? [{ debugName: "indeterminate" }] : /* istanbul ignore next */ []);
|
|
80412
80848
|
this.touched = model(false, ...ngDevMode ? [{ debugName: "touched" }] : /* istanbul ignore next */ []);
|
|
@@ -80429,11 +80865,15 @@ var SwitchDirective = class SwitchDirective extends FieldStateControlDirective {
|
|
|
80429
80865
|
});
|
|
80430
80866
|
this.name = input("", ...ngDevMode ? [{ debugName: "name" }] : /* istanbul ignore next */ []);
|
|
80431
80867
|
this.touch = outputFromObservable(controlTouches(this.touched));
|
|
80868
|
+
this.nativeLabelId = signal(null, ...ngDevMode ? [{ debugName: "nativeLabelId" }] : /* istanbul ignore next */ []);
|
|
80432
80869
|
this.shouldDisplayError = computed(() => this.touched() && this.invalid(), ...ngDevMode ? [{ debugName: "shouldDisplayError" }] : /* istanbul ignore next */ []);
|
|
80433
80870
|
this.describedBy = signal(null, ...ngDevMode ? [{ debugName: "describedBy" }] : /* istanbul ignore next */ []);
|
|
80434
80871
|
this.controlType = signal(FORM_FIELD_CONTROL_TYPES.SWITCH, ...ngDevMode ? [{ debugName: "controlType" }] : /* istanbul ignore next */ []);
|
|
80435
80872
|
this.formField?.registerControl(this);
|
|
80436
80873
|
this.destroyRef.onDestroy(() => this.formField?.unregisterControl(this));
|
|
80874
|
+
afterNextRender(() => this.connectNativeLabel());
|
|
80875
|
+
this.syncOwnedAttribute("aria-label", () => this.ariaLabel() || null);
|
|
80876
|
+
this.syncOwnedAttribute("aria-labelledby", () => this.labelId() || (this.ariaLabel() ? null : this.nativeLabelId()));
|
|
80437
80877
|
}
|
|
80438
80878
|
handleSpaceKeydown(event) {
|
|
80439
80879
|
event.preventDefault();
|
|
@@ -80457,6 +80897,34 @@ var SwitchDirective = class SwitchDirective extends FieldStateControlDirective {
|
|
|
80457
80897
|
if (this.disabled()) return;
|
|
80458
80898
|
this.el.nativeElement.focus(options);
|
|
80459
80899
|
}
|
|
80900
|
+
syncOwnedAttribute(name, value) {
|
|
80901
|
+
let owned = false;
|
|
80902
|
+
afterRenderEffect({ write: () => {
|
|
80903
|
+
const next = value();
|
|
80904
|
+
const host = this.el.nativeElement;
|
|
80905
|
+
if (next) {
|
|
80906
|
+
this.renderer.setAttribute(host, name, next);
|
|
80907
|
+
owned = true;
|
|
80908
|
+
} else if (owned) {
|
|
80909
|
+
this.renderer.removeAttribute(host, name);
|
|
80910
|
+
owned = false;
|
|
80911
|
+
}
|
|
80912
|
+
} });
|
|
80913
|
+
}
|
|
80914
|
+
connectNativeLabel() {
|
|
80915
|
+
const host = this.el.nativeElement;
|
|
80916
|
+
const wrapping = host.closest("label");
|
|
80917
|
+
const linked = host.id ? Array.from(host.ownerDocument.getElementsByTagName("label")).find((l) => l.htmlFor === host.id) : null;
|
|
80918
|
+
const label = wrapping ?? linked;
|
|
80919
|
+
if (!label || label.control) return;
|
|
80920
|
+
if (!label.id) this.renderer.setAttribute(label, "id", createComponentId("et-switch-native-label"));
|
|
80921
|
+
this.nativeLabelId.set(label.id);
|
|
80922
|
+
const unlisten = this.renderer.listen(label, "click", (event) => {
|
|
80923
|
+
if (host.contains(event.target)) return;
|
|
80924
|
+
this.activate();
|
|
80925
|
+
});
|
|
80926
|
+
this.destroyRef.onDestroy(unlisten);
|
|
80927
|
+
}
|
|
80460
80928
|
static {
|
|
80461
80929
|
this.ɵfac = i0.ɵɵngDeclareFactory({
|
|
80462
80930
|
minVersion: "12.0.0",
|
|
@@ -80561,8 +81029,6 @@ var SwitchDirective = class SwitchDirective extends FieldStateControlDirective {
|
|
|
80561
81029
|
"attr.data-readonly": "readonly() || null",
|
|
80562
81030
|
"attr.aria-required": "required() || null",
|
|
80563
81031
|
"attr.aria-describedby": "describedBy() || null",
|
|
80564
|
-
"attr.aria-label": "ariaLabel() || null",
|
|
80565
|
-
"attr.aria-labelledby": "labelId() || null",
|
|
80566
81032
|
"attr.tabindex": "disabled() ? -1 : 0"
|
|
80567
81033
|
}
|
|
80568
81034
|
},
|
|
@@ -80590,8 +81056,6 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
80590
81056
|
"[attr.data-readonly]": "readonly() || null",
|
|
80591
81057
|
"[attr.aria-required]": "required() || null",
|
|
80592
81058
|
"[attr.aria-describedby]": "describedBy() || null",
|
|
80593
|
-
"[attr.aria-label]": "ariaLabel() || null",
|
|
80594
|
-
"[attr.aria-labelledby]": "labelId() || null",
|
|
80595
81059
|
"[attr.tabindex]": "disabled() ? -1 : 0",
|
|
80596
81060
|
"(click)": "toggle()",
|
|
80597
81061
|
"(keydown.space)": "handleSpaceKeydown($event)",
|
|
@@ -84399,7 +84863,11 @@ var GridItemDefaultActionsComponent = class GridItemDefaultActionsComponent {
|
|
|
84399
84863
|
kind: "component",
|
|
84400
84864
|
type: IconButtonComponent,
|
|
84401
84865
|
selector: "[et-icon-button]",
|
|
84402
|
-
inputs: [
|
|
84866
|
+
inputs: [
|
|
84867
|
+
"variant",
|
|
84868
|
+
"size",
|
|
84869
|
+
"pressedVariant"
|
|
84870
|
+
]
|
|
84403
84871
|
},
|
|
84404
84872
|
{
|
|
84405
84873
|
kind: "directive",
|
|
@@ -86509,7 +86977,11 @@ var NotificationComponent = class NotificationComponent {
|
|
|
86509
86977
|
kind: "component",
|
|
86510
86978
|
type: IconButtonComponent,
|
|
86511
86979
|
selector: "[et-icon-button]",
|
|
86512
|
-
inputs: [
|
|
86980
|
+
inputs: [
|
|
86981
|
+
"variant",
|
|
86982
|
+
"size",
|
|
86983
|
+
"pressedVariant"
|
|
86984
|
+
]
|
|
86513
86985
|
},
|
|
86514
86986
|
{
|
|
86515
86987
|
kind: "component",
|
|
@@ -87785,7 +88257,8 @@ var PaginationComponent = class PaginationComponent {
|
|
|
87785
88257
|
"variant",
|
|
87786
88258
|
"size",
|
|
87787
88259
|
"iconAlignment",
|
|
87788
|
-
"stretchContents"
|
|
88260
|
+
"stretchContents",
|
|
88261
|
+
"pressedVariant"
|
|
87789
88262
|
]
|
|
87790
88263
|
},
|
|
87791
88264
|
{
|
|
@@ -88428,7 +88901,7 @@ var ProgressStepComponent = class ProgressStepComponent {
|
|
|
88428
88901
|
],
|
|
88429
88902
|
ngImport: i0,
|
|
88430
88903
|
template: "<span class=\"et-progress-step-marker\">\n <ng-content select=\"[etProgressStepMarker]\">\n @if (visuals.icon(); as icon) {\n <i [etIcon]=\"icon\"></i>\n } @else {\n <span class=\"et-progress-step-marker-number\"></span>\n }\n </ng-content>\n</span>\n\n<span class=\"et-progress-step-text\">\n <span class=\"et-progress-step-label\"><ng-content /></span>\n\n @if (visuals.label(); as label) {\n <span class=\"et-visually-hidden et-progress-step-state\">{{ label }}</span>\n }\n\n <ng-content select=\"[etProgressStepDescription]\" />\n <ng-content select=\"[etProgressStepContent]\" />\n</span>\n",
|
|
88431
|
-
styles: ["@layer components.sdk{@property --et-progress-step-marker-size{syntax: \"<length>\"; inherits: true; initial-value: 24px;}@property --et-progress-step-marker-ring-width{syntax: \"<length>\"; inherits: true; initial-value: 2px;}@property --et-progress-step-label-font-size{syntax: \"<length>\"; inherits: true; initial-value: 14px;}@property --et-progress-step-description-font-size{syntax: \"<length>\"; inherits: true; initial-value: 12px;}.et-progress-step{position:relative;display:flex;flex:1;flex-direction:column;align-items:center;gap:8px;min-inline-size:0;counter-increment:et-progress-step}.et-progress-step:not(:last-child):after{content:\"\";position:absolute;inset-block-start:calc(var(--et-progress-step-marker-size) / 2
|
|
88904
|
+
styles: ["@layer components.sdk{@property --et-progress-step-marker-size{syntax: \"<length>\"; inherits: true; initial-value: 24px;}@property --et-progress-step-marker-ring-width{syntax: \"<length>\"; inherits: true; initial-value: 2px;}@property --et-progress-step-connector-width{syntax: \"<length>\"; inherits: true; initial-value: 2px;}@property --et-progress-step-current-dot-size{syntax: \"<length>\"; inherits: true; initial-value: 0px;}@property --et-progress-step-label-font-size{syntax: \"<length>\"; inherits: true; initial-value: 14px;}@property --et-progress-step-description-font-size{syntax: \"<length>\"; inherits: true; initial-value: 12px;}.et-progress-step{position:relative;display:flex;flex:1;flex-direction:column;align-items:center;gap:8px;min-inline-size:0;counter-increment:et-progress-step}.et-progress-step:not(:last-child):after{content:\"\";position:absolute;inset-block-start:calc((var(--et-progress-step-marker-size) - var(--et-progress-step-connector-width)) / 2);inset-inline-start:50%;inline-size:calc(100% + var(--et-progress-steps-gap, 8px));block-size:var(--et-progress-step-connector-width);background:var(--et-progress-step-connector-color, var(--et-surface-border-solid, currentColor));transition:background-color .2s ease}.et-progress-step:is([data-state=complete],[data-state=success],[data-state=warning],[data-state=error],[data-state=skipped]):not(:last-child):after{background:var(--et-progress-step-connector-complete-color, var(--et-theme-color-ink-solid))}.et-progress-step .et-progress-step-marker{position:relative;z-index:1;display:flex;align-items:center;justify-content:center;inline-size:var(--et-progress-step-marker-size);block-size:var(--et-progress-step-marker-size);flex-shrink:0;border-radius:50%;border:var(--et-progress-step-marker-ring-width) solid var(--et-progress-step-marker-ring-color, var(--et-surface-border-solid, currentColor));background:var(--et-surface-background-solid, Canvas);color:var(--et-surface-color-muted-solid, currentColor);font-size:calc(var(--et-progress-step-marker-size) * .5);line-height:1;transition:border-color .2s ease,background-color .2s ease,color .2s ease}.et-progress-step .et-progress-step-marker .et-icon{inline-size:1em;block-size:1em}.et-progress-step[data-state=current] .et-progress-step-marker{border-color:var(--et-progress-step-marker-ring-color, var(--et-theme-color-ink-solid));background:var(--et-progress-step-current-marker-background, var(--et-surface-background-solid, Canvas));color:var(--et-theme-color-ink-solid, currentColor)}.et-progress-step[data-state=current] .et-progress-step-marker:after{content:\"\";position:absolute;inline-size:var(--et-progress-step-current-dot-size);block-size:var(--et-progress-step-current-dot-size);border-radius:50%;background:var(--et-progress-step-current-dot-color, var(--et-theme-color-ink-solid, currentColor))}.et-progress-step[data-state=current] .et-progress-step-marker .et-progress-step-marker-number:before{content:var(--et-progress-step-current-marker-content, counter(et-progress-step))}.et-progress-step:is([data-state=complete],[data-state=success],[data-state=warning],[data-state=error]) .et-progress-step-marker{border-color:var(--et-progress-step-marker-ring-color, var(--et-theme-color-ink-solid));background:var(--et-theme-color-primary-solid, currentColor);color:var(--et-theme-color-on-primary-solid, white)}.et-progress-step[data-state=skipped] .et-progress-step-marker{border-style:dashed}.et-progress-step .et-progress-step-marker-number:before{content:counter(et-progress-step)}.et-progress-step[data-state=upcoming] .et-progress-step-marker{background:var(--et-progress-step-upcoming-marker-background, var(--et-surface-background-solid, Canvas))}.et-progress-step[data-state=upcoming] .et-progress-step-marker-number:before{content:var(--et-progress-step-upcoming-marker-content, counter(et-progress-step))}.et-progress-step .et-progress-step-text{display:flex;flex-direction:column;gap:2px;min-inline-size:0;font-size:var(--et-progress-step-label-font-size);text-align:center;overflow-wrap:anywhere}.et-progress-step .et-progress-step-label{color:var(--et-surface-color-muted-solid, currentColor);transition:color .2s ease}.et-progress-step [etProgressStepDescription]{margin:0;font-size:var(--et-progress-step-description-font-size);line-height:var(--et-progress-step-description-line-height, inherit);color:var(--et-surface-color-muted-solid, currentColor)}.et-progress-step [etProgressStepContent]{margin-block-start:4px}.et-progress-step[data-state=upcoming] .et-progress-step-label{font-weight:var(--et-progress-step-upcoming-label-font-weight, inherit)}.et-progress-step[data-state=current] .et-progress-step-label{color:var(--et-surface-color-solid, currentColor);font-weight:600}.et-progress-step[data-state=complete] .et-progress-step-label{font-weight:var(--et-progress-step-complete-label-font-weight, inherit)}.et-progress-step:is([data-state=success],[data-state=warning],[data-state=error]) .et-progress-step-label{color:var(--et-theme-color-ink-solid, currentColor);font-weight:var(--et-progress-step-complete-label-font-weight, 600)}.et-progress-steps:where([data-align=start]) .et-progress-step{align-items:flex-start}.et-progress-steps:where([data-align=start]) .et-progress-step:not(:last-child):after{inset-inline-start:calc(var(--et-progress-step-marker-size) / 2)}.et-progress-steps:where([data-align=start]) .et-progress-step .et-progress-step-text{text-align:start}.et-progress-steps[data-orientation=vertical] .et-progress-step{flex:none;flex-direction:row;align-items:flex-start}.et-progress-steps[data-orientation=vertical] .et-progress-step:not(:last-child):after{inset-block-start:var(--et-progress-step-marker-size);inset-inline-start:calc((var(--et-progress-step-marker-size) - var(--et-progress-step-connector-width)) / 2);inline-size:var(--et-progress-step-connector-width);block-size:calc(100% - var(--et-progress-step-marker-size) + var(--et-progress-steps-gap, 8px))}.et-progress-steps[data-orientation=vertical] .et-progress-step .et-progress-step-text{text-align:start;padding-block-start:calc((var(--et-progress-step-marker-size) - 1lh) / 2)}.et-progress-step:is(a,button){cursor:pointer;text-decoration:none;color:inherit;font:inherit;background:none;border:none;padding:0;appearance:none;-webkit-tap-highlight-color:transparent}@media(hover:hover){.et-progress-step:is(a,button):hover .et-progress-step-marker{border-color:var(--et-theme-color-ink-solid)}.et-progress-step:is(a,button):hover .et-progress-step-label{color:var(--et-surface-color-solid, currentColor)}}.et-progress-step:is(a,button):is([disabled],[aria-disabled=true]){cursor:not-allowed;pointer-events:none}}\n"],
|
|
88432
88905
|
dependencies: [{
|
|
88433
88906
|
kind: "directive",
|
|
88434
88907
|
type: IconDirective,
|
|
@@ -88467,7 +88940,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
88467
88940
|
],
|
|
88468
88941
|
host: { class: "et-progress-step" },
|
|
88469
88942
|
template: "<span class=\"et-progress-step-marker\">\n <ng-content select=\"[etProgressStepMarker]\">\n @if (visuals.icon(); as icon) {\n <i [etIcon]=\"icon\"></i>\n } @else {\n <span class=\"et-progress-step-marker-number\"></span>\n }\n </ng-content>\n</span>\n\n<span class=\"et-progress-step-text\">\n <span class=\"et-progress-step-label\"><ng-content /></span>\n\n @if (visuals.label(); as label) {\n <span class=\"et-visually-hidden et-progress-step-state\">{{ label }}</span>\n }\n\n <ng-content select=\"[etProgressStepDescription]\" />\n <ng-content select=\"[etProgressStepContent]\" />\n</span>\n",
|
|
88470
|
-
styles: ["@layer components.sdk{@property --et-progress-step-marker-size{syntax: \"<length>\"; inherits: true; initial-value: 24px;}@property --et-progress-step-marker-ring-width{syntax: \"<length>\"; inherits: true; initial-value: 2px;}@property --et-progress-step-label-font-size{syntax: \"<length>\"; inherits: true; initial-value: 14px;}@property --et-progress-step-description-font-size{syntax: \"<length>\"; inherits: true; initial-value: 12px;}.et-progress-step{position:relative;display:flex;flex:1;flex-direction:column;align-items:center;gap:8px;min-inline-size:0;counter-increment:et-progress-step}.et-progress-step:not(:last-child):after{content:\"\";position:absolute;inset-block-start:calc(var(--et-progress-step-marker-size) / 2
|
|
88943
|
+
styles: ["@layer components.sdk{@property --et-progress-step-marker-size{syntax: \"<length>\"; inherits: true; initial-value: 24px;}@property --et-progress-step-marker-ring-width{syntax: \"<length>\"; inherits: true; initial-value: 2px;}@property --et-progress-step-connector-width{syntax: \"<length>\"; inherits: true; initial-value: 2px;}@property --et-progress-step-current-dot-size{syntax: \"<length>\"; inherits: true; initial-value: 0px;}@property --et-progress-step-label-font-size{syntax: \"<length>\"; inherits: true; initial-value: 14px;}@property --et-progress-step-description-font-size{syntax: \"<length>\"; inherits: true; initial-value: 12px;}.et-progress-step{position:relative;display:flex;flex:1;flex-direction:column;align-items:center;gap:8px;min-inline-size:0;counter-increment:et-progress-step}.et-progress-step:not(:last-child):after{content:\"\";position:absolute;inset-block-start:calc((var(--et-progress-step-marker-size) - var(--et-progress-step-connector-width)) / 2);inset-inline-start:50%;inline-size:calc(100% + var(--et-progress-steps-gap, 8px));block-size:var(--et-progress-step-connector-width);background:var(--et-progress-step-connector-color, var(--et-surface-border-solid, currentColor));transition:background-color .2s ease}.et-progress-step:is([data-state=complete],[data-state=success],[data-state=warning],[data-state=error],[data-state=skipped]):not(:last-child):after{background:var(--et-progress-step-connector-complete-color, var(--et-theme-color-ink-solid))}.et-progress-step .et-progress-step-marker{position:relative;z-index:1;display:flex;align-items:center;justify-content:center;inline-size:var(--et-progress-step-marker-size);block-size:var(--et-progress-step-marker-size);flex-shrink:0;border-radius:50%;border:var(--et-progress-step-marker-ring-width) solid var(--et-progress-step-marker-ring-color, var(--et-surface-border-solid, currentColor));background:var(--et-surface-background-solid, Canvas);color:var(--et-surface-color-muted-solid, currentColor);font-size:calc(var(--et-progress-step-marker-size) * .5);line-height:1;transition:border-color .2s ease,background-color .2s ease,color .2s ease}.et-progress-step .et-progress-step-marker .et-icon{inline-size:1em;block-size:1em}.et-progress-step[data-state=current] .et-progress-step-marker{border-color:var(--et-progress-step-marker-ring-color, var(--et-theme-color-ink-solid));background:var(--et-progress-step-current-marker-background, var(--et-surface-background-solid, Canvas));color:var(--et-theme-color-ink-solid, currentColor)}.et-progress-step[data-state=current] .et-progress-step-marker:after{content:\"\";position:absolute;inline-size:var(--et-progress-step-current-dot-size);block-size:var(--et-progress-step-current-dot-size);border-radius:50%;background:var(--et-progress-step-current-dot-color, var(--et-theme-color-ink-solid, currentColor))}.et-progress-step[data-state=current] .et-progress-step-marker .et-progress-step-marker-number:before{content:var(--et-progress-step-current-marker-content, counter(et-progress-step))}.et-progress-step:is([data-state=complete],[data-state=success],[data-state=warning],[data-state=error]) .et-progress-step-marker{border-color:var(--et-progress-step-marker-ring-color, var(--et-theme-color-ink-solid));background:var(--et-theme-color-primary-solid, currentColor);color:var(--et-theme-color-on-primary-solid, white)}.et-progress-step[data-state=skipped] .et-progress-step-marker{border-style:dashed}.et-progress-step .et-progress-step-marker-number:before{content:counter(et-progress-step)}.et-progress-step[data-state=upcoming] .et-progress-step-marker{background:var(--et-progress-step-upcoming-marker-background, var(--et-surface-background-solid, Canvas))}.et-progress-step[data-state=upcoming] .et-progress-step-marker-number:before{content:var(--et-progress-step-upcoming-marker-content, counter(et-progress-step))}.et-progress-step .et-progress-step-text{display:flex;flex-direction:column;gap:2px;min-inline-size:0;font-size:var(--et-progress-step-label-font-size);text-align:center;overflow-wrap:anywhere}.et-progress-step .et-progress-step-label{color:var(--et-surface-color-muted-solid, currentColor);transition:color .2s ease}.et-progress-step [etProgressStepDescription]{margin:0;font-size:var(--et-progress-step-description-font-size);line-height:var(--et-progress-step-description-line-height, inherit);color:var(--et-surface-color-muted-solid, currentColor)}.et-progress-step [etProgressStepContent]{margin-block-start:4px}.et-progress-step[data-state=upcoming] .et-progress-step-label{font-weight:var(--et-progress-step-upcoming-label-font-weight, inherit)}.et-progress-step[data-state=current] .et-progress-step-label{color:var(--et-surface-color-solid, currentColor);font-weight:600}.et-progress-step[data-state=complete] .et-progress-step-label{font-weight:var(--et-progress-step-complete-label-font-weight, inherit)}.et-progress-step:is([data-state=success],[data-state=warning],[data-state=error]) .et-progress-step-label{color:var(--et-theme-color-ink-solid, currentColor);font-weight:var(--et-progress-step-complete-label-font-weight, 600)}.et-progress-steps:where([data-align=start]) .et-progress-step{align-items:flex-start}.et-progress-steps:where([data-align=start]) .et-progress-step:not(:last-child):after{inset-inline-start:calc(var(--et-progress-step-marker-size) / 2)}.et-progress-steps:where([data-align=start]) .et-progress-step .et-progress-step-text{text-align:start}.et-progress-steps[data-orientation=vertical] .et-progress-step{flex:none;flex-direction:row;align-items:flex-start}.et-progress-steps[data-orientation=vertical] .et-progress-step:not(:last-child):after{inset-block-start:var(--et-progress-step-marker-size);inset-inline-start:calc((var(--et-progress-step-marker-size) - var(--et-progress-step-connector-width)) / 2);inline-size:var(--et-progress-step-connector-width);block-size:calc(100% - var(--et-progress-step-marker-size) + var(--et-progress-steps-gap, 8px))}.et-progress-steps[data-orientation=vertical] .et-progress-step .et-progress-step-text{text-align:start;padding-block-start:calc((var(--et-progress-step-marker-size) - 1lh) / 2)}.et-progress-step:is(a,button){cursor:pointer;text-decoration:none;color:inherit;font:inherit;background:none;border:none;padding:0;appearance:none;-webkit-tap-highlight-color:transparent}@media(hover:hover){.et-progress-step:is(a,button):hover .et-progress-step-marker{border-color:var(--et-theme-color-ink-solid)}.et-progress-step:is(a,button):hover .et-progress-step-label{color:var(--et-surface-color-solid, currentColor)}}.et-progress-step:is(a,button):is([disabled],[aria-disabled=true]){cursor:not-allowed;pointer-events:none}}\n"]
|
|
88471
88944
|
}]
|
|
88472
88945
|
}],
|
|
88473
88946
|
ctorParameters: () => []
|
|
@@ -88920,7 +89393,8 @@ var QueryErrorComponent = class QueryErrorComponent {
|
|
|
88920
89393
|
"variant",
|
|
88921
89394
|
"size",
|
|
88922
89395
|
"iconAlignment",
|
|
88923
|
-
"stretchContents"
|
|
89396
|
+
"stretchContents",
|
|
89397
|
+
"pressedVariant"
|
|
88924
89398
|
]
|
|
88925
89399
|
},
|
|
88926
89400
|
{
|
|
@@ -91708,7 +92182,11 @@ var SchedulerEditSurfaceActionsComponent = class SchedulerEditSurfaceActionsComp
|
|
|
91708
92182
|
kind: "component",
|
|
91709
92183
|
type: IconButtonComponent,
|
|
91710
92184
|
selector: "[et-icon-button]",
|
|
91711
|
-
inputs: [
|
|
92185
|
+
inputs: [
|
|
92186
|
+
"variant",
|
|
92187
|
+
"size",
|
|
92188
|
+
"pressedVariant"
|
|
92189
|
+
]
|
|
91712
92190
|
},
|
|
91713
92191
|
{
|
|
91714
92192
|
kind: "directive",
|
|
@@ -92075,7 +92553,8 @@ var SchedulerEditSurfaceFooterComponent = class SchedulerEditSurfaceFooterCompon
|
|
|
92075
92553
|
"variant",
|
|
92076
92554
|
"size",
|
|
92077
92555
|
"iconAlignment",
|
|
92078
|
-
"stretchContents"
|
|
92556
|
+
"stretchContents",
|
|
92557
|
+
"pressedVariant"
|
|
92079
92558
|
]
|
|
92080
92559
|
}, {
|
|
92081
92560
|
kind: "directive",
|
|
@@ -94142,7 +94621,8 @@ var SchedulerComponent = class SchedulerComponent {
|
|
|
94142
94621
|
"variant",
|
|
94143
94622
|
"size",
|
|
94144
94623
|
"iconAlignment",
|
|
94145
|
-
"stretchContents"
|
|
94624
|
+
"stretchContents",
|
|
94625
|
+
"pressedVariant"
|
|
94146
94626
|
]
|
|
94147
94627
|
},
|
|
94148
94628
|
{
|
|
@@ -94160,7 +94640,11 @@ var SchedulerComponent = class SchedulerComponent {
|
|
|
94160
94640
|
kind: "component",
|
|
94161
94641
|
type: IconButtonComponent,
|
|
94162
94642
|
selector: "[et-icon-button]",
|
|
94163
|
-
inputs: [
|
|
94643
|
+
inputs: [
|
|
94644
|
+
"variant",
|
|
94645
|
+
"size",
|
|
94646
|
+
"pressedVariant"
|
|
94647
|
+
]
|
|
94164
94648
|
},
|
|
94165
94649
|
{
|
|
94166
94650
|
kind: "directive",
|
|
@@ -94188,7 +94672,8 @@ var SchedulerComponent = class SchedulerComponent {
|
|
|
94188
94672
|
inputs: [
|
|
94189
94673
|
"size",
|
|
94190
94674
|
"variant",
|
|
94191
|
-
"stretch"
|
|
94675
|
+
"stretch",
|
|
94676
|
+
"overflow"
|
|
94192
94677
|
]
|
|
94193
94678
|
},
|
|
94194
94679
|
{
|
|
@@ -94406,6 +94891,7 @@ const DEFAULT_STANDINGS_LABELS = {
|
|
|
94406
94891
|
formFull: "Recent form, oldest first",
|
|
94407
94892
|
formResult: (result) => result === "win" ? "Win" : result === "loss" ? "Loss" : "Draw",
|
|
94408
94893
|
formResultShort: (result) => result === "win" ? "W" : result === "loss" ? "L" : "D",
|
|
94894
|
+
formEntry: (result, label) => `${result}: ${label}`,
|
|
94409
94895
|
legend: "What the highlighted positions mean",
|
|
94410
94896
|
highlightedRow: "Your team",
|
|
94411
94897
|
rowDetailColumn: "Details",
|
|
@@ -94438,6 +94924,7 @@ const GERMAN_STANDINGS_LABELS = {
|
|
|
94438
94924
|
formFull: "Letzte Spiele, ältestes zuerst",
|
|
94439
94925
|
formResult: (result) => result === "win" ? "Sieg" : result === "loss" ? "Niederlage" : "Unentschieden",
|
|
94440
94926
|
formResultShort: (result) => result === "win" ? "S" : result === "loss" ? "N" : "U",
|
|
94927
|
+
formEntry: (result, label) => `${result}: ${label}`,
|
|
94441
94928
|
legend: "Bedeutung der hervorgehobenen Plätze",
|
|
94442
94929
|
highlightedRow: "Eigenes Team",
|
|
94443
94930
|
rowDetailColumn: "Details",
|
|
@@ -94474,7 +94961,10 @@ var StandingsDirective = class StandingsDirective {
|
|
|
94474
94961
|
this.labels = input(null, ...ngDevMode ? [{ debugName: "labels" }] : /* istanbul ignore next */ []);
|
|
94475
94962
|
this.expandedRows = model([], ...ngDevMode ? [{ debugName: "expandedRows" }] : /* istanbul ignore next */ []);
|
|
94476
94963
|
this.expandMode = input("multiple", ...ngDevMode ? [{ debugName: "expandMode" }] : /* istanbul ignore next */ []);
|
|
94964
|
+
this.extraColumns = input([], ...ngDevMode ? [{ debugName: "extraColumns" }] : /* istanbul ignore next */ []);
|
|
94965
|
+
this.participantLink = input(null, ...ngDevMode ? [{ debugName: "participantLink" }] : /* istanbul ignore next */ []);
|
|
94477
94966
|
this.registeredRowDetailTemplate = signal(null, ...ngDevMode ? [{ debugName: "registeredRowDetailTemplate" }] : /* istanbul ignore next */ []);
|
|
94967
|
+
this.registeredFormTooltipTemplate = signal(null, ...ngDevMode ? [{ debugName: "registeredFormTooltipTemplate" }] : /* istanbul ignore next */ []);
|
|
94478
94968
|
this.isExpandable = computed(() => !!this.registeredRowDetailTemplate(), ...ngDevMode ? [{ debugName: "isExpandable" }] : /* istanbul ignore next */ []);
|
|
94479
94969
|
this.DETAIL_ID_PREFIX = `et-standings-${uniqueId++}-detail-`;
|
|
94480
94970
|
this.resolvedLabels = computed(() => ({
|
|
@@ -94485,19 +94975,30 @@ var StandingsDirective = class StandingsDirective {
|
|
|
94485
94975
|
const zones = this.zones();
|
|
94486
94976
|
const highlightedRowId = this.highlightedRowId();
|
|
94487
94977
|
const expandedRows = this.isExpandable() ? this.expandedRows() : [];
|
|
94488
|
-
|
|
94489
|
-
|
|
94490
|
-
|
|
94491
|
-
|
|
94492
|
-
|
|
94493
|
-
|
|
94494
|
-
|
|
94978
|
+
const participantLink = this.participantLink();
|
|
94979
|
+
return this.rows().map((row) => {
|
|
94980
|
+
const link = participantLink && row.participant ? participantLink(row) : null;
|
|
94981
|
+
return {
|
|
94982
|
+
row,
|
|
94983
|
+
zone: zones.find((zone) => row.position >= zone.from && row.position <= zone.to) ?? null,
|
|
94984
|
+
isHighlighted: !!highlightedRowId && row.id === highlightedRowId,
|
|
94985
|
+
isExpanded: expandedRows.includes(row.id),
|
|
94986
|
+
detailId: this.DETAIL_ID_PREFIX + row.id,
|
|
94987
|
+
formEntries: row.form?.map((entry) => typeof entry === "string" ? { result: entry } : entry) ?? null,
|
|
94988
|
+
participantHref: typeof link === "string" ? link : null,
|
|
94989
|
+
participantCommands: Array.isArray(link) ? link : null
|
|
94990
|
+
};
|
|
94991
|
+
});
|
|
94495
94992
|
}, ...ngDevMode ? [{ debugName: "renderRows" }] : /* istanbul ignore next */ []);
|
|
94496
94993
|
this.legendZones = computed(() => this.showLegend() ? this.zones() : [], ...ngDevMode ? [{ debugName: "legendZones" }] : /* istanbul ignore next */ []);
|
|
94497
94994
|
this.hasForm = computed(() => this.rows().some((row) => !!row.form?.length), ...ngDevMode ? [{ debugName: "hasForm" }] : /* istanbul ignore next */ []);
|
|
94498
94995
|
this.hasDifference = computed(() => this.rows().some((row) => row.difference !== null), ...ngDevMode ? [{ debugName: "hasDifference" }] : /* istanbul ignore next */ []);
|
|
94499
94996
|
if (ngDevMode) effect(() => this.assertZonesDoNotOverlap(this.zones()));
|
|
94500
94997
|
}
|
|
94998
|
+
zoneStrength(zone) {
|
|
94999
|
+
const strength = zone?.strength;
|
|
95000
|
+
return typeof strength === "number" && Number.isFinite(strength) ? Math.min(1, Math.max(0, strength)) : null;
|
|
95001
|
+
}
|
|
94501
95002
|
isRowExpanded(rowId) {
|
|
94502
95003
|
return this.isExpandable() && this.expandedRows().includes(rowId);
|
|
94503
95004
|
}
|
|
@@ -94579,6 +95080,20 @@ var StandingsDirective = class StandingsDirective {
|
|
|
94579
95080
|
isSignal: true,
|
|
94580
95081
|
isRequired: false,
|
|
94581
95082
|
transformFunction: null
|
|
95083
|
+
},
|
|
95084
|
+
extraColumns: {
|
|
95085
|
+
classPropertyName: "extraColumns",
|
|
95086
|
+
publicName: "extraColumns",
|
|
95087
|
+
isSignal: true,
|
|
95088
|
+
isRequired: false,
|
|
95089
|
+
transformFunction: null
|
|
95090
|
+
},
|
|
95091
|
+
participantLink: {
|
|
95092
|
+
classPropertyName: "participantLink",
|
|
95093
|
+
publicName: "participantLink",
|
|
95094
|
+
isSignal: true,
|
|
95095
|
+
isRequired: false,
|
|
95096
|
+
transformFunction: null
|
|
94582
95097
|
}
|
|
94583
95098
|
},
|
|
94584
95099
|
outputs: { expandedRows: "expandedRowsChange" },
|
|
@@ -94661,9 +95176,74 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
94661
95176
|
alias: "expandMode",
|
|
94662
95177
|
required: false
|
|
94663
95178
|
}]
|
|
95179
|
+
}],
|
|
95180
|
+
extraColumns: [{
|
|
95181
|
+
type: i0.Input,
|
|
95182
|
+
args: [{
|
|
95183
|
+
isSignal: true,
|
|
95184
|
+
alias: "extraColumns",
|
|
95185
|
+
required: false
|
|
95186
|
+
}]
|
|
95187
|
+
}],
|
|
95188
|
+
participantLink: [{
|
|
95189
|
+
type: i0.Input,
|
|
95190
|
+
args: [{
|
|
95191
|
+
isSignal: true,
|
|
95192
|
+
alias: "participantLink",
|
|
95193
|
+
required: false
|
|
95194
|
+
}]
|
|
94664
95195
|
}]
|
|
94665
95196
|
}
|
|
94666
95197
|
});
|
|
95198
|
+
var StandingsFormTooltipDirective = class StandingsFormTooltipDirective {
|
|
95199
|
+
static ngTemplateContextGuard(_directive, _context) {
|
|
95200
|
+
return true;
|
|
95201
|
+
}
|
|
95202
|
+
constructor() {
|
|
95203
|
+
this.standings = inject(StandingsDirective, { optional: true });
|
|
95204
|
+
this.destroyRef = inject(DestroyRef);
|
|
95205
|
+
this.templateRef = inject(TemplateRef);
|
|
95206
|
+
this.standings?.registeredFormTooltipTemplate.set(this);
|
|
95207
|
+
this.destroyRef.onDestroy(() => {
|
|
95208
|
+
if (this.standings?.registeredFormTooltipTemplate() === this) this.standings.registeredFormTooltipTemplate.set(null);
|
|
95209
|
+
});
|
|
95210
|
+
}
|
|
95211
|
+
static {
|
|
95212
|
+
this.ɵfac = i0.ɵɵngDeclareFactory({
|
|
95213
|
+
minVersion: "12.0.0",
|
|
95214
|
+
version: "22.2.3",
|
|
95215
|
+
ngImport: i0,
|
|
95216
|
+
type: StandingsFormTooltipDirective,
|
|
95217
|
+
deps: [],
|
|
95218
|
+
target: i0.ɵɵFactoryTarget.Directive
|
|
95219
|
+
});
|
|
95220
|
+
}
|
|
95221
|
+
static {
|
|
95222
|
+
this.ɵdir = i0.ɵɵngDeclareDirective({
|
|
95223
|
+
minVersion: "14.0.0",
|
|
95224
|
+
version: "22.2.3",
|
|
95225
|
+
type: StandingsFormTooltipDirective,
|
|
95226
|
+
isStandalone: true,
|
|
95227
|
+
selector: "ng-template[etStandingsFormTooltip]",
|
|
95228
|
+
exportAs: ["etStandingsFormTooltip"],
|
|
95229
|
+
ngImport: i0
|
|
95230
|
+
});
|
|
95231
|
+
}
|
|
95232
|
+
};
|
|
95233
|
+
i0.ɵɵngDeclareClassMetadata({
|
|
95234
|
+
minVersion: "12.0.0",
|
|
95235
|
+
version: "22.2.3",
|
|
95236
|
+
ngImport: i0,
|
|
95237
|
+
type: StandingsFormTooltipDirective,
|
|
95238
|
+
decorators: [{
|
|
95239
|
+
type: Directive,
|
|
95240
|
+
args: [{
|
|
95241
|
+
selector: "ng-template[etStandingsFormTooltip]",
|
|
95242
|
+
exportAs: "etStandingsFormTooltip"
|
|
95243
|
+
}]
|
|
95244
|
+
}],
|
|
95245
|
+
ctorParameters: () => []
|
|
95246
|
+
});
|
|
94667
95247
|
var StandingsPickDirective = class StandingsPickDirective {
|
|
94668
95248
|
constructor() {
|
|
94669
95249
|
this.injectedLabels = injectStandingsLabels();
|
|
@@ -95323,12 +95903,13 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
95323
95903
|
}]
|
|
95324
95904
|
}
|
|
95325
95905
|
});
|
|
95906
|
+
const TOOLTIP_IMPORTS = [TooltipDirective, TooltipComponent];
|
|
95326
95907
|
var StandingsComponent = class StandingsComponent {
|
|
95327
95908
|
constructor() {
|
|
95328
95909
|
this.standings = inject(StandingsDirective);
|
|
95329
95910
|
this.matchLabels = injectMatchLabels();
|
|
95330
95911
|
this.labels = computed(() => this.standings.resolvedLabels(), ...ngDevMode ? [{ debugName: "labels" }] : /* istanbul ignore next */ []);
|
|
95331
|
-
this.columnCount = computed(() => 8 + Number(this.standings.hasDifference()) + Number(this.standings.hasForm()), ...ngDevMode ? [{ debugName: "columnCount" }] : /* istanbul ignore next */ []);
|
|
95912
|
+
this.columnCount = computed(() => 8 + Number(this.standings.hasDifference()) + Number(this.standings.hasForm()) + this.standings.extraColumns().length, ...ngDevMode ? [{ debugName: "columnCount" }] : /* istanbul ignore next */ []);
|
|
95332
95913
|
mountVisuallyHidden();
|
|
95333
95914
|
}
|
|
95334
95915
|
participantName(row) {
|
|
@@ -95380,13 +95961,17 @@ var StandingsComponent = class StandingsComponent {
|
|
|
95380
95961
|
"expandedRows",
|
|
95381
95962
|
"expandedRows",
|
|
95382
95963
|
"expandMode",
|
|
95383
|
-
"expandMode"
|
|
95964
|
+
"expandMode",
|
|
95965
|
+
"extraColumns",
|
|
95966
|
+
"extraColumns",
|
|
95967
|
+
"participantLink",
|
|
95968
|
+
"participantLink"
|
|
95384
95969
|
],
|
|
95385
95970
|
outputs: ["expandedRowsChange", "expandedRowsChange"]
|
|
95386
95971
|
}],
|
|
95387
95972
|
ngImport: i0,
|
|
95388
|
-
template: "<!-- Everything density-dependent lives on this element rather than the host: a container query can only\n style descendants of its container, and the host is the container. -->\n<div class=\"et-standings-content\">\n <table class=\"et-standings-table\">\n <caption class=\"et-visually-hidden et-standings-caption\">\n {{\n standings.resolvedLabels().caption\n }}\n </caption>\n\n <thead>\n <tr class=\"et-standings-head-row\">\n <th [attr.abbr]=\"labels().positionFull\" class=\"et-standings-cell\" data-column=\"position\" scope=\"col\">\n {{ labels().position }}\n </th>\n <th class=\"et-standings-cell\" data-column=\"participant\" scope=\"col\">{{ labels().participant }}</th>\n <th [attr.abbr]=\"labels().playedFull\" class=\"et-standings-cell\" data-column=\"detail\" scope=\"col\">\n {{ labels().played }}\n </th>\n <th [attr.abbr]=\"labels().winsFull\" class=\"et-standings-cell\" data-column=\"detail\" scope=\"col\">\n {{ labels().wins }}\n </th>\n <th [attr.abbr]=\"labels().tiesFull\" class=\"et-standings-cell\" data-column=\"detail\" scope=\"col\">\n {{ labels().ties }}\n </th>\n <th [attr.abbr]=\"labels().lossesFull\" class=\"et-standings-cell\" data-column=\"detail\" scope=\"col\">\n {{ labels().losses }}\n </th>\n @if (standings.hasDifference()) {\n <th [attr.abbr]=\"labels().differenceFull\" class=\"et-standings-cell\" data-column=\"detail\" scope=\"col\">\n {{ labels().difference }}\n </th>\n }\n <th [attr.abbr]=\"labels().pointsFull\" class=\"et-standings-cell\" data-column=\"points\" scope=\"col\">\n {{ labels().points }}\n </th>\n @if (standings.hasForm()) {\n <th [attr.abbr]=\"labels().formFull\" class=\"et-standings-cell\" data-column=\"form\" scope=\"col\">\n {{ labels().form }}\n </th>\n }\n @if (standings.isExpandable()) {\n <th class=\"et-standings-cell\" data-column=\"expand\" scope=\"col\">\n <span class=\"et-visually-hidden\">{{ labels().rowDetailColumn }}</span>\n </th>\n }\n </tr>\n </thead>\n\n @if (standings.registeredRowDetailTemplate(); as detail) {\n @for (renderRow of standings.renderRows(); track renderRow.row.id) {\n <tbody class=\"et-standings-row-group\">\n <ng-container [ngTemplateOutlet]=\"teamRow\" [ngTemplateOutletContext]=\"{ $implicit: renderRow }\" />\n </tbody>\n\n @if (renderRow.isExpanded) {\n <tbody\n [id]=\"renderRow.detailId\"\n [etProvideColor]=\"renderRow.zone?.color ?? null\"\n [attr.data-zone]=\"renderRow.zone ? '' : null\"\n class=\"et-standings-detail\"\n animate.enter=\"et-standings-detail--enter\"\n animate.leave=\"et-standings-detail--leave\"\n >\n <ng-container\n [ngTemplateOutlet]=\"detail.templateRef\"\n [ngTemplateOutletContext]=\"{ $implicit: renderRow.row, renderRow, columnCount: columnCount() }\"\n />\n </tbody>\n }\n }\n } @else {\n <tbody>\n @for (renderRow of standings.renderRows(); track renderRow.row.id) {\n <ng-container [ngTemplateOutlet]=\"teamRow\" [ngTemplateOutletContext]=\"{ $implicit: renderRow }\" />\n }\n </tbody>\n }\n </table>\n\n @if (standings.legendZones(); as zones) {\n @if (zones.length) {\n <ul [attr.aria-label]=\"labels().legend\" class=\"et-standings-legend\">\n @for (zone of zones; track zone.from) {\n <li class=\"et-standings-legend-item\">\n <span
|
|
95389
|
-
styles: ["@layer components.sdk{@property --et-standings-row-height{syntax: \"<length>\"; inherits: true; initial-value: 44px;}@property --et-standings-cell-padding-inline{syntax: \"<length>\"; inherits: true; initial-value: 8px;}@property --et-standings-zone-bar-width{syntax: \"<length>\"; inherits: true; initial-value: 3px;}@property --et-standings-font-size{syntax: \"<length>\"; inherits: true; initial-value: 13px;}@property --et-standings-expand-toggle-size{syntax: \"<length>\"; inherits: true; initial-value: 28px;}@property --et-standings-expand-chevron-size{syntax: \"<length>\"; inherits: true; initial-value: 16px;}@property --et-standings-expand-duration{syntax: \"<time>\"; inherits: true; initial-value: .18s;}.et-standings{container-type:inline-size;container-name:et-standings;display:block;box-sizing:border-box;color:var(--et-surface-color-solid, currentColor)}.et-standings-content{--_et-standings-detail-display: none;--_et-standings-form-display: none}@container et-standings (min-inline-size: 560px){.et-standings-content{--_et-standings-detail-display: table-cell}}@container et-standings (min-inline-size: 720px){.et-standings-content{--_et-standings-form-display: table-cell}}.et-standings-table{inline-size:100%;font-size:var(--et-standings-font-size);border-collapse:collapse;text-align:start}.et-standings-cell{padding-block:0;padding-inline:var(--et-standings-cell-padding-inline);font-weight:inherit;text-align:end;vertical-align:middle;white-space:nowrap}.et-standings-cell:where([data-column=position]){inline-size:1px;padding-inline-start:calc(var(--et-standings-cell-padding-inline) + var(--et-standings-zone-bar-width));color:var(--et-surface-color-muted-solid, currentColor);font-variant-numeric:tabular-nums;text-align:start}.et-standings-cell:where([data-column=participant]){inline-size:100%;min-inline-size:0;text-align:start}.et-standings-cell:where([data-column=detail]){display:var(--_et-standings-detail-display);font-variant-numeric:tabular-nums}.et-standings-cell:where([data-column=form]){display:var(--_et-standings-form-display)}.et-standings-cell:where([data-column=points]){font-weight:600;font-variant-numeric:tabular-nums}.et-standings-cell:where([data-column=expand]){inline-size:1px;padding-inline:0 calc(var(--et-standings-cell-padding-inline) / 2)}.et-standings-head-row .et-standings-cell{block-size:var(--et-standings-row-height);color:var(--et-surface-color-muted-solid, currentColor);font-size:11px;text-transform:uppercase;letter-spacing:.04em;border-block-end:1px solid var(--et-surface-border-solid, rgb(255 255 255 / .1))}.et-standings-row .et-standings-cell{block-size:var(--et-standings-row-height);border-block-end:1px solid color-mix(in srgb,var(--et-surface-border-solid, gray) 60%,transparent)}.et-standings-row:where([data-zone]){background:color-mix(in srgb,var(--et-theme-color-primary-solid, transparent) 7
|
|
95973
|
+
template: "<!-- Everything density-dependent lives on this element rather than the host: a container query can only\n style descendants of its container, and the host is the container. -->\n<div class=\"et-standings-content\">\n <table class=\"et-standings-table\">\n <caption class=\"et-visually-hidden et-standings-caption\">\n {{\n standings.resolvedLabels().caption\n }}\n </caption>\n\n <thead>\n <tr class=\"et-standings-head-row\">\n <th [attr.abbr]=\"labels().positionFull\" class=\"et-standings-cell\" data-column=\"position\" scope=\"col\">\n {{ labels().position }}\n </th>\n <th class=\"et-standings-cell\" data-column=\"participant\" scope=\"col\">{{ labels().participant }}</th>\n <th [attr.abbr]=\"labels().playedFull\" class=\"et-standings-cell\" data-column=\"detail\" scope=\"col\">\n {{ labels().played }}\n </th>\n <th [attr.abbr]=\"labels().winsFull\" class=\"et-standings-cell\" data-column=\"detail\" scope=\"col\">\n {{ labels().wins }}\n </th>\n <th [attr.abbr]=\"labels().tiesFull\" class=\"et-standings-cell\" data-column=\"detail\" scope=\"col\">\n {{ labels().ties }}\n </th>\n <th [attr.abbr]=\"labels().lossesFull\" class=\"et-standings-cell\" data-column=\"detail\" scope=\"col\">\n {{ labels().losses }}\n </th>\n @if (standings.hasDifference()) {\n <th [attr.abbr]=\"labels().differenceFull\" class=\"et-standings-cell\" data-column=\"detail\" scope=\"col\">\n {{ labels().difference }}\n </th>\n }\n @for (column of standings.extraColumns(); track column.key) {\n <th\n [attr.abbr]=\"column.labelFull ?? null\"\n [attr.data-extra-column]=\"column.key\"\n class=\"et-standings-cell\"\n data-column=\"detail\"\n scope=\"col\"\n >\n {{ column.label }}\n </th>\n }\n <th [attr.abbr]=\"labels().pointsFull\" class=\"et-standings-cell\" data-column=\"points\" scope=\"col\">\n {{ labels().points }}\n </th>\n @if (standings.hasForm()) {\n <th [attr.abbr]=\"labels().formFull\" class=\"et-standings-cell\" data-column=\"form\" scope=\"col\">\n {{ labels().form }}\n </th>\n }\n @if (standings.isExpandable()) {\n <th class=\"et-standings-cell\" data-column=\"expand\" scope=\"col\">\n <span class=\"et-visually-hidden\">{{ labels().rowDetailColumn }}</span>\n </th>\n }\n </tr>\n </thead>\n\n @if (standings.registeredRowDetailTemplate(); as detail) {\n @for (renderRow of standings.renderRows(); track renderRow.row.id) {\n <tbody class=\"et-standings-row-group\">\n <ng-container [ngTemplateOutlet]=\"teamRow\" [ngTemplateOutletContext]=\"{ $implicit: renderRow }\" />\n </tbody>\n\n @if (renderRow.isExpanded) {\n <tbody\n [id]=\"renderRow.detailId\"\n [etProvideColor]=\"renderRow.zone?.color ?? null\"\n [attr.data-zone]=\"renderRow.zone ? '' : null\"\n [style.--et-standings-zone-strength]=\"standings.zoneStrength(renderRow.zone)\"\n class=\"et-standings-detail\"\n animate.enter=\"et-standings-detail--enter\"\n animate.leave=\"et-standings-detail--leave\"\n >\n <ng-container\n [ngTemplateOutlet]=\"detail.templateRef\"\n [ngTemplateOutletContext]=\"{ $implicit: renderRow.row, renderRow, columnCount: columnCount() }\"\n />\n </tbody>\n }\n }\n } @else {\n <tbody>\n @for (renderRow of standings.renderRows(); track renderRow.row.id) {\n <ng-container [ngTemplateOutlet]=\"teamRow\" [ngTemplateOutletContext]=\"{ $implicit: renderRow }\" />\n }\n </tbody>\n }\n </table>\n\n @if (standings.legendZones(); as zones) {\n @if (zones.length) {\n <ul [attr.aria-label]=\"labels().legend\" class=\"et-standings-legend\">\n @for (zone of zones; track zone.from) {\n <li class=\"et-standings-legend-item\">\n <span\n [etProvideColor]=\"zone.color\"\n [style.--et-standings-zone-strength]=\"standings.zoneStrength(zone)\"\n class=\"et-standings-legend-swatch\"\n aria-hidden=\"true\"\n ></span>\n {{ zone.label }}\n </li>\n }\n </ul>\n }\n }\n</div>\n\n<ng-template #teamRow let-renderRow>\n <tr\n [etProvideColor]=\"renderRow.zone?.color ?? null\"\n [attr.data-zone]=\"renderRow.zone ? '' : null\"\n [style.--et-standings-zone-strength]=\"standings.zoneStrength(renderRow.zone)\"\n [attr.data-highlighted]=\"renderRow.isHighlighted ? '' : null\"\n [attr.aria-current]=\"renderRow.isHighlighted ? 'true' : null\"\n class=\"et-standings-row\"\n >\n <!-- A row header, not a cell: the position is what identifies the row to a screen reader. -->\n <th class=\"et-standings-cell\" data-column=\"position\" scope=\"row\">\n {{ renderRow.row.position }}\n @if (renderRow.zone; as zone) {\n <!-- The band's meaning in text, so the banding isn't colour-only. -->\n <span class=\"et-visually-hidden et-standings-zone-note\"> {{ zone.label }}</span>\n }\n @if (renderRow.isHighlighted) {\n <span class=\"et-visually-hidden et-standings-zone-note\"> {{ labels().highlightedRow }}</span>\n }\n </th>\n\n <td class=\"et-standings-cell\" data-column=\"participant\">\n @if (renderRow.participantCommands; as commands) {\n <a\n [participant]=\"renderRow.row.participant\"\n [routerLink]=\"commands\"\n class=\"et-standings-participant\"\n et-match-participant\n ></a>\n } @else if (renderRow.participantHref; as href) {\n <a\n [participant]=\"renderRow.row.participant\"\n [href]=\"href\"\n class=\"et-standings-participant\"\n et-match-participant\n ></a>\n } @else {\n <et-match-participant [participant]=\"renderRow.row.participant\" class=\"et-standings-participant\" />\n }\n </td>\n\n <td class=\"et-standings-cell\" data-column=\"detail\">{{ renderRow.row.played }}</td>\n <td class=\"et-standings-cell\" data-column=\"detail\">{{ renderRow.row.wins }}</td>\n <td class=\"et-standings-cell\" data-column=\"detail\">{{ renderRow.row.ties }}</td>\n <td class=\"et-standings-cell\" data-column=\"detail\">{{ renderRow.row.losses }}</td>\n\n @if (standings.hasDifference()) {\n <td class=\"et-standings-cell\" data-column=\"detail\">{{ differenceText(renderRow.row.difference) }}</td>\n }\n\n @for (column of standings.extraColumns(); track column.key) {\n <td [attr.data-extra-column]=\"column.key\" class=\"et-standings-cell\" data-column=\"detail\">\n {{ renderRow.row.extraStats?.[column.key] ?? '' }}\n </td>\n }\n\n <td class=\"et-standings-cell\" data-column=\"points\">{{ renderRow.row.points }}</td>\n\n @if (standings.hasForm()) {\n <td class=\"et-standings-cell\" data-column=\"form\">\n @if (renderRow.formEntries; as form) {\n <span class=\"et-standings-form\">\n @for (entry of form; track $index) {\n @if (entry.label; as entryLabel) {\n <span\n [attr.data-result]=\"entry.result\"\n [attr.aria-label]=\"labels().formEntry(labels().formResult(entry.result), entryLabel)\"\n [etTooltip]=\"standings.registeredFormTooltipTemplate() ? customTooltip : entryLabel\"\n [etTooltipAriaDescription]=\"standings.registeredFormTooltipTemplate() ? entryLabel : null\"\n class=\"et-standings-form-result\"\n role=\"img\"\n >{{ labels().formResultShort(entry.result) }}</span\n >\n <ng-template #customTooltip>\n <ng-container\n *ngTemplateOutlet=\"\n standings.registeredFormTooltipTemplate()?.templateRef ?? null;\n context: { $implicit: entry, row: renderRow.row }\n \"\n />\n </ng-template>\n } @else {\n <span [attr.data-result]=\"entry.result\" class=\"et-standings-form-result\" aria-hidden=\"true\">{{\n labels().formResultShort(entry.result)\n }}</span>\n <span class=\"et-visually-hidden et-standings-form-note\"> {{ labels().formResult(entry.result) }}</span>\n }\n }\n </span>\n }\n </td>\n }\n\n @if (standings.isExpandable()) {\n <td class=\"et-standings-cell\" data-column=\"expand\">\n <button\n [attr.aria-expanded]=\"renderRow.isExpanded\"\n [attr.aria-controls]=\"renderRow.detailId\"\n [attr.aria-label]=\"labels().rowDetailToggle(participantName(renderRow.row))\"\n (click)=\"toggleRow($event, renderRow.row.id)\"\n class=\"et-standings-expand-toggle\"\n type=\"button\"\n >\n <i class=\"et-standings-expand-chevron\" etIcon=\"et-chevron\" aria-hidden=\"true\"></i>\n </button>\n </td>\n }\n </tr>\n</ng-template>\n",
|
|
95974
|
+
styles: ["@layer components.sdk{@property --et-standings-row-height{syntax: \"<length>\"; inherits: true; initial-value: 44px;}@property --et-standings-cell-padding-inline{syntax: \"<length>\"; inherits: true; initial-value: 8px;}@property --et-standings-zone-bar-width{syntax: \"<length>\"; inherits: true; initial-value: 3px;}@property --et-standings-font-size{syntax: \"<length>\"; inherits: true; initial-value: 13px;}@property --et-standings-expand-toggle-size{syntax: \"<length>\"; inherits: true; initial-value: 28px;}@property --et-standings-expand-chevron-size{syntax: \"<length>\"; inherits: true; initial-value: 16px;}@property --et-standings-expand-duration{syntax: \"<time>\"; inherits: true; initial-value: .18s;}.et-standings{container-type:inline-size;container-name:et-standings;display:block;box-sizing:border-box;color:var(--et-surface-color-solid, currentColor)}.et-standings-content{--_et-standings-detail-display: none;--_et-standings-form-display: none}@container et-standings (min-inline-size: 560px){.et-standings-content{--_et-standings-detail-display: table-cell}}@container et-standings (min-inline-size: 720px){.et-standings-content{--_et-standings-form-display: table-cell}}.et-standings-table{inline-size:100%;font-size:var(--et-standings-font-size);border-collapse:collapse;text-align:start}.et-standings-cell{padding-block:0;padding-inline:var(--et-standings-cell-padding-inline);font-weight:inherit;text-align:end;vertical-align:middle;white-space:nowrap}.et-standings-cell:where([data-column=position]){inline-size:1px;padding-inline-start:calc(var(--et-standings-cell-padding-inline) + var(--et-standings-zone-bar-width));color:var(--et-surface-color-muted-solid, currentColor);font-variant-numeric:tabular-nums;text-align:start}.et-standings-cell:where([data-column=participant]){inline-size:100%;min-inline-size:0;text-align:start}.et-standings-cell:where([data-column=detail]){display:var(--_et-standings-detail-display);font-variant-numeric:tabular-nums}.et-standings-cell:where([data-column=form]){display:var(--_et-standings-form-display)}.et-standings-cell:where([data-column=points]){font-weight:600;font-variant-numeric:tabular-nums}.et-standings-cell:where([data-column=expand]){inline-size:1px;padding-inline:0 calc(var(--et-standings-cell-padding-inline) / 2)}.et-standings-head-row .et-standings-cell{block-size:var(--et-standings-row-height);color:var(--et-surface-color-muted-solid, currentColor);font-size:11px;text-transform:uppercase;letter-spacing:.04em;border-block-end:1px solid var(--et-surface-border-solid, rgb(255 255 255 / .1))}.et-standings-row .et-standings-cell{block-size:var(--et-standings-row-height);border-block-end:1px solid color-mix(in srgb,var(--et-surface-border-solid, gray) 60%,transparent)}.et-standings-row:where([data-zone]){background:color-mix(in srgb,var(--et-theme-color-primary-solid, transparent) calc(7% * var(--et-standings-zone-strength, 1)),transparent)}.et-standings-row:where([data-zone]) .et-standings-cell:where([data-column=position]){box-shadow:inset var(--et-standings-zone-bar-width) 0 0 color-mix(in srgb,light-dark(var(--et-theme-color-ink-solid),var(--et-theme-color-primary-solid)) calc(100% * var(--et-standings-zone-strength, 1)),transparent)}.et-standings-row:where([data-zone]) .et-standings-cell:where([data-column=position]):dir(rtl){box-shadow:inset calc(var(--et-standings-zone-bar-width) * -1) 0 0 color-mix(in srgb,light-dark(var(--et-theme-color-ink-solid),var(--et-theme-color-primary-solid)) calc(100% * var(--et-standings-zone-strength, 1)),transparent)}.et-standings-detail:where([data-zone]){background:color-mix(in srgb,var(--et-theme-color-primary-solid, transparent) calc(7% * var(--et-standings-zone-strength, 1)),transparent)}.et-standings-detail:where([data-zone])>tr>:first-child{box-shadow:inset var(--et-standings-zone-bar-width) 0 0 color-mix(in srgb,light-dark(var(--et-theme-color-ink-solid),var(--et-theme-color-primary-solid)) calc(100% * var(--et-standings-zone-strength, 1)),transparent)}.et-standings-detail:where([data-zone])>tr>:first-child:dir(rtl){box-shadow:inset calc(var(--et-standings-zone-bar-width) * -1) 0 0 color-mix(in srgb,light-dark(var(--et-theme-color-ink-solid),var(--et-theme-color-primary-solid)) calc(100% * var(--et-standings-zone-strength, 1)),transparent)}.et-standings-detail.et-standings-detail--enter{animation:et-standings-detail-in var(--et-standings-expand-duration) ease-out}.et-standings-detail.et-standings-detail--leave{animation:et-standings-detail-out var(--et-standings-expand-duration) ease-in forwards}@media(prefers-reduced-motion:reduce){.et-standings-detail.et-standings-detail--enter,.et-standings-detail.et-standings-detail--leave{animation:none}}@keyframes et-standings-detail-in{0%{opacity:0;translate:0 -6px}}@keyframes et-standings-detail-out{to{opacity:0;translate:0 -6px}}.et-standings-expand-toggle{display:inline-grid;place-items:center;inline-size:var(--et-standings-expand-toggle-size);block-size:var(--et-standings-expand-toggle-size);padding:0;border:0;border-radius:6px;background:transparent;color:var(--et-surface-color-muted-solid, currentColor);cursor:pointer;vertical-align:middle}@media(hover:hover){.et-standings-expand-toggle:hover{background:color-mix(in srgb,var(--et-surface-interaction-solid, gray) 10%,transparent);color:var(--et-surface-color-solid, currentColor)}}.et-standings-expand-toggle:active{background:color-mix(in srgb,var(--et-surface-interaction-solid, gray) 18%,transparent)}.et-standings-expand-toggle:focus-visible{outline:2px solid light-dark(var(--et-theme-color-ink-solid, currentColor),var(--et-theme-color-primary-solid, currentColor));outline-offset:-2px}.et-standings-expand-toggle .et-standings-expand-chevron{inline-size:var(--et-standings-expand-chevron-size);block-size:var(--et-standings-expand-chevron-size);rotate:180deg}.et-standings-expand-toggle[aria-expanded=true] .et-standings-expand-chevron{rotate:0deg}@media(prefers-reduced-motion:no-preference){.et-standings-expand-toggle{transition:background-color var(--et-standings-expand-duration) ease,color var(--et-standings-expand-duration) ease}.et-standings-expand-toggle .et-standings-expand-chevron{transition:rotate var(--et-standings-expand-duration) ease}}.et-standings-row:where([data-highlighted]){background:color-mix(in srgb,var(--et-surface-interaction-solid, gray) 12%,transparent)}.et-standings-row:where([data-highlighted]) .et-standings-cell{font-weight:600}.et-standings-row:where([data-highlighted]) .et-standings-cell:where([data-column=position]){color:var(--et-surface-color-solid, currentColor)}.et-standings-content .et-standings-participant{--et-match-participant-emblem-size: 24px;--et-match-participant-gap: 8px;--et-match-participant-font-size: var(--et-standings-font-size);min-inline-size:0}.et-standings-form{display:flex;gap:3px}.et-standings-form-result{display:inline-grid;place-items:center;inline-size:16px;block-size:16px;border-radius:3px;font-size:10px;font-weight:700;line-height:1}.et-standings-form-result:where([data-result=win]){color:var(--et-surface-background-solid, white);background:var(--et-surface-color-solid, currentColor)}.et-standings-form-result:where([data-result=tie]){background:color-mix(in srgb,var(--et-surface-color-solid, gray) 25%,transparent)}.et-standings-form-result:where([data-result=loss]){background:color-mix(in srgb,var(--et-surface-interaction-solid, gray) 25%,transparent)}.et-standings-legend{display:flex;flex-wrap:wrap;gap:4px 16px;margin:0;padding:10px var(--et-standings-cell-padding-inline) 0;font-size:11px;color:var(--et-surface-color-muted-solid, currentColor);list-style:none}.et-standings-legend-item{display:flex;align-items:center;gap:6px}.et-standings-legend-swatch{flex:none;inline-size:10px;block-size:3px;background:color-mix(in srgb,light-dark(var(--et-theme-color-ink-solid),var(--et-theme-color-primary-solid)) calc(100% * var(--et-standings-zone-strength, 1)),transparent);border-radius:2px}}\n"],
|
|
95390
95975
|
dependencies: [
|
|
95391
95976
|
{
|
|
95392
95977
|
kind: "component",
|
|
@@ -95427,6 +96012,43 @@ var StandingsComponent = class StandingsComponent {
|
|
|
95427
96012
|
"allowHardcodedColor",
|
|
95428
96013
|
"label"
|
|
95429
96014
|
]
|
|
96015
|
+
},
|
|
96016
|
+
{
|
|
96017
|
+
kind: "directive",
|
|
96018
|
+
type: RouterLink,
|
|
96019
|
+
selector: "[routerLink]",
|
|
96020
|
+
inputs: [
|
|
96021
|
+
"target",
|
|
96022
|
+
"queryParams",
|
|
96023
|
+
"fragment",
|
|
96024
|
+
"queryParamsHandling",
|
|
96025
|
+
"state",
|
|
96026
|
+
"info",
|
|
96027
|
+
"relativeTo",
|
|
96028
|
+
"preserveFragment",
|
|
96029
|
+
"skipLocationChange",
|
|
96030
|
+
"replaceUrl",
|
|
96031
|
+
"browserUrl",
|
|
96032
|
+
"routerLink"
|
|
96033
|
+
]
|
|
96034
|
+
},
|
|
96035
|
+
{
|
|
96036
|
+
kind: "directive",
|
|
96037
|
+
type: TooltipDirective,
|
|
96038
|
+
selector: "[etTooltip]",
|
|
96039
|
+
inputs: [
|
|
96040
|
+
"etTooltip",
|
|
96041
|
+
"etTooltipAriaDescription",
|
|
96042
|
+
"anchor",
|
|
96043
|
+
"placement",
|
|
96044
|
+
"fallbackPlacements",
|
|
96045
|
+
"offset",
|
|
96046
|
+
"arrowPadding",
|
|
96047
|
+
"viewportPadding",
|
|
96048
|
+
"showDelay",
|
|
96049
|
+
"etTooltipDisabled"
|
|
96050
|
+
],
|
|
96051
|
+
exportAs: ["etTooltip"]
|
|
95430
96052
|
}
|
|
95431
96053
|
],
|
|
95432
96054
|
encapsulation: i0.ViewEncapsulation.None
|
|
@@ -95447,7 +96069,9 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
95447
96069
|
MATCH_PARTICIPANT_IMPORTS,
|
|
95448
96070
|
ProvideColorDirective,
|
|
95449
96071
|
NgTemplateOutlet,
|
|
95450
|
-
IconDirective
|
|
96072
|
+
IconDirective,
|
|
96073
|
+
RouterLink,
|
|
96074
|
+
TOOLTIP_IMPORTS
|
|
95451
96075
|
],
|
|
95452
96076
|
providers: [provideIcons(CHEVRON_ICON)],
|
|
95453
96077
|
hostDirectives: [{
|
|
@@ -95459,13 +96083,15 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
95459
96083
|
"showLegend",
|
|
95460
96084
|
"labels",
|
|
95461
96085
|
"expandedRows",
|
|
95462
|
-
"expandMode"
|
|
96086
|
+
"expandMode",
|
|
96087
|
+
"extraColumns",
|
|
96088
|
+
"participantLink"
|
|
95463
96089
|
],
|
|
95464
96090
|
outputs: ["expandedRowsChange"]
|
|
95465
96091
|
}],
|
|
95466
96092
|
host: { class: "et-standings" },
|
|
95467
|
-
template: "<!-- Everything density-dependent lives on this element rather than the host: a container query can only\n style descendants of its container, and the host is the container. -->\n<div class=\"et-standings-content\">\n <table class=\"et-standings-table\">\n <caption class=\"et-visually-hidden et-standings-caption\">\n {{\n standings.resolvedLabels().caption\n }}\n </caption>\n\n <thead>\n <tr class=\"et-standings-head-row\">\n <th [attr.abbr]=\"labels().positionFull\" class=\"et-standings-cell\" data-column=\"position\" scope=\"col\">\n {{ labels().position }}\n </th>\n <th class=\"et-standings-cell\" data-column=\"participant\" scope=\"col\">{{ labels().participant }}</th>\n <th [attr.abbr]=\"labels().playedFull\" class=\"et-standings-cell\" data-column=\"detail\" scope=\"col\">\n {{ labels().played }}\n </th>\n <th [attr.abbr]=\"labels().winsFull\" class=\"et-standings-cell\" data-column=\"detail\" scope=\"col\">\n {{ labels().wins }}\n </th>\n <th [attr.abbr]=\"labels().tiesFull\" class=\"et-standings-cell\" data-column=\"detail\" scope=\"col\">\n {{ labels().ties }}\n </th>\n <th [attr.abbr]=\"labels().lossesFull\" class=\"et-standings-cell\" data-column=\"detail\" scope=\"col\">\n {{ labels().losses }}\n </th>\n @if (standings.hasDifference()) {\n <th [attr.abbr]=\"labels().differenceFull\" class=\"et-standings-cell\" data-column=\"detail\" scope=\"col\">\n {{ labels().difference }}\n </th>\n }\n <th [attr.abbr]=\"labels().pointsFull\" class=\"et-standings-cell\" data-column=\"points\" scope=\"col\">\n {{ labels().points }}\n </th>\n @if (standings.hasForm()) {\n <th [attr.abbr]=\"labels().formFull\" class=\"et-standings-cell\" data-column=\"form\" scope=\"col\">\n {{ labels().form }}\n </th>\n }\n @if (standings.isExpandable()) {\n <th class=\"et-standings-cell\" data-column=\"expand\" scope=\"col\">\n <span class=\"et-visually-hidden\">{{ labels().rowDetailColumn }}</span>\n </th>\n }\n </tr>\n </thead>\n\n @if (standings.registeredRowDetailTemplate(); as detail) {\n @for (renderRow of standings.renderRows(); track renderRow.row.id) {\n <tbody class=\"et-standings-row-group\">\n <ng-container [ngTemplateOutlet]=\"teamRow\" [ngTemplateOutletContext]=\"{ $implicit: renderRow }\" />\n </tbody>\n\n @if (renderRow.isExpanded) {\n <tbody\n [id]=\"renderRow.detailId\"\n [etProvideColor]=\"renderRow.zone?.color ?? null\"\n [attr.data-zone]=\"renderRow.zone ? '' : null\"\n class=\"et-standings-detail\"\n animate.enter=\"et-standings-detail--enter\"\n animate.leave=\"et-standings-detail--leave\"\n >\n <ng-container\n [ngTemplateOutlet]=\"detail.templateRef\"\n [ngTemplateOutletContext]=\"{ $implicit: renderRow.row, renderRow, columnCount: columnCount() }\"\n />\n </tbody>\n }\n }\n } @else {\n <tbody>\n @for (renderRow of standings.renderRows(); track renderRow.row.id) {\n <ng-container [ngTemplateOutlet]=\"teamRow\" [ngTemplateOutletContext]=\"{ $implicit: renderRow }\" />\n }\n </tbody>\n }\n </table>\n\n @if (standings.legendZones(); as zones) {\n @if (zones.length) {\n <ul [attr.aria-label]=\"labels().legend\" class=\"et-standings-legend\">\n @for (zone of zones; track zone.from) {\n <li class=\"et-standings-legend-item\">\n <span
|
|
95468
|
-
styles: ["@layer components.sdk{@property --et-standings-row-height{syntax: \"<length>\"; inherits: true; initial-value: 44px;}@property --et-standings-cell-padding-inline{syntax: \"<length>\"; inherits: true; initial-value: 8px;}@property --et-standings-zone-bar-width{syntax: \"<length>\"; inherits: true; initial-value: 3px;}@property --et-standings-font-size{syntax: \"<length>\"; inherits: true; initial-value: 13px;}@property --et-standings-expand-toggle-size{syntax: \"<length>\"; inherits: true; initial-value: 28px;}@property --et-standings-expand-chevron-size{syntax: \"<length>\"; inherits: true; initial-value: 16px;}@property --et-standings-expand-duration{syntax: \"<time>\"; inherits: true; initial-value: .18s;}.et-standings{container-type:inline-size;container-name:et-standings;display:block;box-sizing:border-box;color:var(--et-surface-color-solid, currentColor)}.et-standings-content{--_et-standings-detail-display: none;--_et-standings-form-display: none}@container et-standings (min-inline-size: 560px){.et-standings-content{--_et-standings-detail-display: table-cell}}@container et-standings (min-inline-size: 720px){.et-standings-content{--_et-standings-form-display: table-cell}}.et-standings-table{inline-size:100%;font-size:var(--et-standings-font-size);border-collapse:collapse;text-align:start}.et-standings-cell{padding-block:0;padding-inline:var(--et-standings-cell-padding-inline);font-weight:inherit;text-align:end;vertical-align:middle;white-space:nowrap}.et-standings-cell:where([data-column=position]){inline-size:1px;padding-inline-start:calc(var(--et-standings-cell-padding-inline) + var(--et-standings-zone-bar-width));color:var(--et-surface-color-muted-solid, currentColor);font-variant-numeric:tabular-nums;text-align:start}.et-standings-cell:where([data-column=participant]){inline-size:100%;min-inline-size:0;text-align:start}.et-standings-cell:where([data-column=detail]){display:var(--_et-standings-detail-display);font-variant-numeric:tabular-nums}.et-standings-cell:where([data-column=form]){display:var(--_et-standings-form-display)}.et-standings-cell:where([data-column=points]){font-weight:600;font-variant-numeric:tabular-nums}.et-standings-cell:where([data-column=expand]){inline-size:1px;padding-inline:0 calc(var(--et-standings-cell-padding-inline) / 2)}.et-standings-head-row .et-standings-cell{block-size:var(--et-standings-row-height);color:var(--et-surface-color-muted-solid, currentColor);font-size:11px;text-transform:uppercase;letter-spacing:.04em;border-block-end:1px solid var(--et-surface-border-solid, rgb(255 255 255 / .1))}.et-standings-row .et-standings-cell{block-size:var(--et-standings-row-height);border-block-end:1px solid color-mix(in srgb,var(--et-surface-border-solid, gray) 60%,transparent)}.et-standings-row:where([data-zone]){background:color-mix(in srgb,var(--et-theme-color-primary-solid, transparent) 7
|
|
96093
|
+
template: "<!-- Everything density-dependent lives on this element rather than the host: a container query can only\n style descendants of its container, and the host is the container. -->\n<div class=\"et-standings-content\">\n <table class=\"et-standings-table\">\n <caption class=\"et-visually-hidden et-standings-caption\">\n {{\n standings.resolvedLabels().caption\n }}\n </caption>\n\n <thead>\n <tr class=\"et-standings-head-row\">\n <th [attr.abbr]=\"labels().positionFull\" class=\"et-standings-cell\" data-column=\"position\" scope=\"col\">\n {{ labels().position }}\n </th>\n <th class=\"et-standings-cell\" data-column=\"participant\" scope=\"col\">{{ labels().participant }}</th>\n <th [attr.abbr]=\"labels().playedFull\" class=\"et-standings-cell\" data-column=\"detail\" scope=\"col\">\n {{ labels().played }}\n </th>\n <th [attr.abbr]=\"labels().winsFull\" class=\"et-standings-cell\" data-column=\"detail\" scope=\"col\">\n {{ labels().wins }}\n </th>\n <th [attr.abbr]=\"labels().tiesFull\" class=\"et-standings-cell\" data-column=\"detail\" scope=\"col\">\n {{ labels().ties }}\n </th>\n <th [attr.abbr]=\"labels().lossesFull\" class=\"et-standings-cell\" data-column=\"detail\" scope=\"col\">\n {{ labels().losses }}\n </th>\n @if (standings.hasDifference()) {\n <th [attr.abbr]=\"labels().differenceFull\" class=\"et-standings-cell\" data-column=\"detail\" scope=\"col\">\n {{ labels().difference }}\n </th>\n }\n @for (column of standings.extraColumns(); track column.key) {\n <th\n [attr.abbr]=\"column.labelFull ?? null\"\n [attr.data-extra-column]=\"column.key\"\n class=\"et-standings-cell\"\n data-column=\"detail\"\n scope=\"col\"\n >\n {{ column.label }}\n </th>\n }\n <th [attr.abbr]=\"labels().pointsFull\" class=\"et-standings-cell\" data-column=\"points\" scope=\"col\">\n {{ labels().points }}\n </th>\n @if (standings.hasForm()) {\n <th [attr.abbr]=\"labels().formFull\" class=\"et-standings-cell\" data-column=\"form\" scope=\"col\">\n {{ labels().form }}\n </th>\n }\n @if (standings.isExpandable()) {\n <th class=\"et-standings-cell\" data-column=\"expand\" scope=\"col\">\n <span class=\"et-visually-hidden\">{{ labels().rowDetailColumn }}</span>\n </th>\n }\n </tr>\n </thead>\n\n @if (standings.registeredRowDetailTemplate(); as detail) {\n @for (renderRow of standings.renderRows(); track renderRow.row.id) {\n <tbody class=\"et-standings-row-group\">\n <ng-container [ngTemplateOutlet]=\"teamRow\" [ngTemplateOutletContext]=\"{ $implicit: renderRow }\" />\n </tbody>\n\n @if (renderRow.isExpanded) {\n <tbody\n [id]=\"renderRow.detailId\"\n [etProvideColor]=\"renderRow.zone?.color ?? null\"\n [attr.data-zone]=\"renderRow.zone ? '' : null\"\n [style.--et-standings-zone-strength]=\"standings.zoneStrength(renderRow.zone)\"\n class=\"et-standings-detail\"\n animate.enter=\"et-standings-detail--enter\"\n animate.leave=\"et-standings-detail--leave\"\n >\n <ng-container\n [ngTemplateOutlet]=\"detail.templateRef\"\n [ngTemplateOutletContext]=\"{ $implicit: renderRow.row, renderRow, columnCount: columnCount() }\"\n />\n </tbody>\n }\n }\n } @else {\n <tbody>\n @for (renderRow of standings.renderRows(); track renderRow.row.id) {\n <ng-container [ngTemplateOutlet]=\"teamRow\" [ngTemplateOutletContext]=\"{ $implicit: renderRow }\" />\n }\n </tbody>\n }\n </table>\n\n @if (standings.legendZones(); as zones) {\n @if (zones.length) {\n <ul [attr.aria-label]=\"labels().legend\" class=\"et-standings-legend\">\n @for (zone of zones; track zone.from) {\n <li class=\"et-standings-legend-item\">\n <span\n [etProvideColor]=\"zone.color\"\n [style.--et-standings-zone-strength]=\"standings.zoneStrength(zone)\"\n class=\"et-standings-legend-swatch\"\n aria-hidden=\"true\"\n ></span>\n {{ zone.label }}\n </li>\n }\n </ul>\n }\n }\n</div>\n\n<ng-template #teamRow let-renderRow>\n <tr\n [etProvideColor]=\"renderRow.zone?.color ?? null\"\n [attr.data-zone]=\"renderRow.zone ? '' : null\"\n [style.--et-standings-zone-strength]=\"standings.zoneStrength(renderRow.zone)\"\n [attr.data-highlighted]=\"renderRow.isHighlighted ? '' : null\"\n [attr.aria-current]=\"renderRow.isHighlighted ? 'true' : null\"\n class=\"et-standings-row\"\n >\n <!-- A row header, not a cell: the position is what identifies the row to a screen reader. -->\n <th class=\"et-standings-cell\" data-column=\"position\" scope=\"row\">\n {{ renderRow.row.position }}\n @if (renderRow.zone; as zone) {\n <!-- The band's meaning in text, so the banding isn't colour-only. -->\n <span class=\"et-visually-hidden et-standings-zone-note\"> {{ zone.label }}</span>\n }\n @if (renderRow.isHighlighted) {\n <span class=\"et-visually-hidden et-standings-zone-note\"> {{ labels().highlightedRow }}</span>\n }\n </th>\n\n <td class=\"et-standings-cell\" data-column=\"participant\">\n @if (renderRow.participantCommands; as commands) {\n <a\n [participant]=\"renderRow.row.participant\"\n [routerLink]=\"commands\"\n class=\"et-standings-participant\"\n et-match-participant\n ></a>\n } @else if (renderRow.participantHref; as href) {\n <a\n [participant]=\"renderRow.row.participant\"\n [href]=\"href\"\n class=\"et-standings-participant\"\n et-match-participant\n ></a>\n } @else {\n <et-match-participant [participant]=\"renderRow.row.participant\" class=\"et-standings-participant\" />\n }\n </td>\n\n <td class=\"et-standings-cell\" data-column=\"detail\">{{ renderRow.row.played }}</td>\n <td class=\"et-standings-cell\" data-column=\"detail\">{{ renderRow.row.wins }}</td>\n <td class=\"et-standings-cell\" data-column=\"detail\">{{ renderRow.row.ties }}</td>\n <td class=\"et-standings-cell\" data-column=\"detail\">{{ renderRow.row.losses }}</td>\n\n @if (standings.hasDifference()) {\n <td class=\"et-standings-cell\" data-column=\"detail\">{{ differenceText(renderRow.row.difference) }}</td>\n }\n\n @for (column of standings.extraColumns(); track column.key) {\n <td [attr.data-extra-column]=\"column.key\" class=\"et-standings-cell\" data-column=\"detail\">\n {{ renderRow.row.extraStats?.[column.key] ?? '' }}\n </td>\n }\n\n <td class=\"et-standings-cell\" data-column=\"points\">{{ renderRow.row.points }}</td>\n\n @if (standings.hasForm()) {\n <td class=\"et-standings-cell\" data-column=\"form\">\n @if (renderRow.formEntries; as form) {\n <span class=\"et-standings-form\">\n @for (entry of form; track $index) {\n @if (entry.label; as entryLabel) {\n <span\n [attr.data-result]=\"entry.result\"\n [attr.aria-label]=\"labels().formEntry(labels().formResult(entry.result), entryLabel)\"\n [etTooltip]=\"standings.registeredFormTooltipTemplate() ? customTooltip : entryLabel\"\n [etTooltipAriaDescription]=\"standings.registeredFormTooltipTemplate() ? entryLabel : null\"\n class=\"et-standings-form-result\"\n role=\"img\"\n >{{ labels().formResultShort(entry.result) }}</span\n >\n <ng-template #customTooltip>\n <ng-container\n *ngTemplateOutlet=\"\n standings.registeredFormTooltipTemplate()?.templateRef ?? null;\n context: { $implicit: entry, row: renderRow.row }\n \"\n />\n </ng-template>\n } @else {\n <span [attr.data-result]=\"entry.result\" class=\"et-standings-form-result\" aria-hidden=\"true\">{{\n labels().formResultShort(entry.result)\n }}</span>\n <span class=\"et-visually-hidden et-standings-form-note\"> {{ labels().formResult(entry.result) }}</span>\n }\n }\n </span>\n }\n </td>\n }\n\n @if (standings.isExpandable()) {\n <td class=\"et-standings-cell\" data-column=\"expand\">\n <button\n [attr.aria-expanded]=\"renderRow.isExpanded\"\n [attr.aria-controls]=\"renderRow.detailId\"\n [attr.aria-label]=\"labels().rowDetailToggle(participantName(renderRow.row))\"\n (click)=\"toggleRow($event, renderRow.row.id)\"\n class=\"et-standings-expand-toggle\"\n type=\"button\"\n >\n <i class=\"et-standings-expand-chevron\" etIcon=\"et-chevron\" aria-hidden=\"true\"></i>\n </button>\n </td>\n }\n </tr>\n</ng-template>\n",
|
|
96094
|
+
styles: ["@layer components.sdk{@property --et-standings-row-height{syntax: \"<length>\"; inherits: true; initial-value: 44px;}@property --et-standings-cell-padding-inline{syntax: \"<length>\"; inherits: true; initial-value: 8px;}@property --et-standings-zone-bar-width{syntax: \"<length>\"; inherits: true; initial-value: 3px;}@property --et-standings-font-size{syntax: \"<length>\"; inherits: true; initial-value: 13px;}@property --et-standings-expand-toggle-size{syntax: \"<length>\"; inherits: true; initial-value: 28px;}@property --et-standings-expand-chevron-size{syntax: \"<length>\"; inherits: true; initial-value: 16px;}@property --et-standings-expand-duration{syntax: \"<time>\"; inherits: true; initial-value: .18s;}.et-standings{container-type:inline-size;container-name:et-standings;display:block;box-sizing:border-box;color:var(--et-surface-color-solid, currentColor)}.et-standings-content{--_et-standings-detail-display: none;--_et-standings-form-display: none}@container et-standings (min-inline-size: 560px){.et-standings-content{--_et-standings-detail-display: table-cell}}@container et-standings (min-inline-size: 720px){.et-standings-content{--_et-standings-form-display: table-cell}}.et-standings-table{inline-size:100%;font-size:var(--et-standings-font-size);border-collapse:collapse;text-align:start}.et-standings-cell{padding-block:0;padding-inline:var(--et-standings-cell-padding-inline);font-weight:inherit;text-align:end;vertical-align:middle;white-space:nowrap}.et-standings-cell:where([data-column=position]){inline-size:1px;padding-inline-start:calc(var(--et-standings-cell-padding-inline) + var(--et-standings-zone-bar-width));color:var(--et-surface-color-muted-solid, currentColor);font-variant-numeric:tabular-nums;text-align:start}.et-standings-cell:where([data-column=participant]){inline-size:100%;min-inline-size:0;text-align:start}.et-standings-cell:where([data-column=detail]){display:var(--_et-standings-detail-display);font-variant-numeric:tabular-nums}.et-standings-cell:where([data-column=form]){display:var(--_et-standings-form-display)}.et-standings-cell:where([data-column=points]){font-weight:600;font-variant-numeric:tabular-nums}.et-standings-cell:where([data-column=expand]){inline-size:1px;padding-inline:0 calc(var(--et-standings-cell-padding-inline) / 2)}.et-standings-head-row .et-standings-cell{block-size:var(--et-standings-row-height);color:var(--et-surface-color-muted-solid, currentColor);font-size:11px;text-transform:uppercase;letter-spacing:.04em;border-block-end:1px solid var(--et-surface-border-solid, rgb(255 255 255 / .1))}.et-standings-row .et-standings-cell{block-size:var(--et-standings-row-height);border-block-end:1px solid color-mix(in srgb,var(--et-surface-border-solid, gray) 60%,transparent)}.et-standings-row:where([data-zone]){background:color-mix(in srgb,var(--et-theme-color-primary-solid, transparent) calc(7% * var(--et-standings-zone-strength, 1)),transparent)}.et-standings-row:where([data-zone]) .et-standings-cell:where([data-column=position]){box-shadow:inset var(--et-standings-zone-bar-width) 0 0 color-mix(in srgb,light-dark(var(--et-theme-color-ink-solid),var(--et-theme-color-primary-solid)) calc(100% * var(--et-standings-zone-strength, 1)),transparent)}.et-standings-row:where([data-zone]) .et-standings-cell:where([data-column=position]):dir(rtl){box-shadow:inset calc(var(--et-standings-zone-bar-width) * -1) 0 0 color-mix(in srgb,light-dark(var(--et-theme-color-ink-solid),var(--et-theme-color-primary-solid)) calc(100% * var(--et-standings-zone-strength, 1)),transparent)}.et-standings-detail:where([data-zone]){background:color-mix(in srgb,var(--et-theme-color-primary-solid, transparent) calc(7% * var(--et-standings-zone-strength, 1)),transparent)}.et-standings-detail:where([data-zone])>tr>:first-child{box-shadow:inset var(--et-standings-zone-bar-width) 0 0 color-mix(in srgb,light-dark(var(--et-theme-color-ink-solid),var(--et-theme-color-primary-solid)) calc(100% * var(--et-standings-zone-strength, 1)),transparent)}.et-standings-detail:where([data-zone])>tr>:first-child:dir(rtl){box-shadow:inset calc(var(--et-standings-zone-bar-width) * -1) 0 0 color-mix(in srgb,light-dark(var(--et-theme-color-ink-solid),var(--et-theme-color-primary-solid)) calc(100% * var(--et-standings-zone-strength, 1)),transparent)}.et-standings-detail.et-standings-detail--enter{animation:et-standings-detail-in var(--et-standings-expand-duration) ease-out}.et-standings-detail.et-standings-detail--leave{animation:et-standings-detail-out var(--et-standings-expand-duration) ease-in forwards}@media(prefers-reduced-motion:reduce){.et-standings-detail.et-standings-detail--enter,.et-standings-detail.et-standings-detail--leave{animation:none}}@keyframes et-standings-detail-in{0%{opacity:0;translate:0 -6px}}@keyframes et-standings-detail-out{to{opacity:0;translate:0 -6px}}.et-standings-expand-toggle{display:inline-grid;place-items:center;inline-size:var(--et-standings-expand-toggle-size);block-size:var(--et-standings-expand-toggle-size);padding:0;border:0;border-radius:6px;background:transparent;color:var(--et-surface-color-muted-solid, currentColor);cursor:pointer;vertical-align:middle}@media(hover:hover){.et-standings-expand-toggle:hover{background:color-mix(in srgb,var(--et-surface-interaction-solid, gray) 10%,transparent);color:var(--et-surface-color-solid, currentColor)}}.et-standings-expand-toggle:active{background:color-mix(in srgb,var(--et-surface-interaction-solid, gray) 18%,transparent)}.et-standings-expand-toggle:focus-visible{outline:2px solid light-dark(var(--et-theme-color-ink-solid, currentColor),var(--et-theme-color-primary-solid, currentColor));outline-offset:-2px}.et-standings-expand-toggle .et-standings-expand-chevron{inline-size:var(--et-standings-expand-chevron-size);block-size:var(--et-standings-expand-chevron-size);rotate:180deg}.et-standings-expand-toggle[aria-expanded=true] .et-standings-expand-chevron{rotate:0deg}@media(prefers-reduced-motion:no-preference){.et-standings-expand-toggle{transition:background-color var(--et-standings-expand-duration) ease,color var(--et-standings-expand-duration) ease}.et-standings-expand-toggle .et-standings-expand-chevron{transition:rotate var(--et-standings-expand-duration) ease}}.et-standings-row:where([data-highlighted]){background:color-mix(in srgb,var(--et-surface-interaction-solid, gray) 12%,transparent)}.et-standings-row:where([data-highlighted]) .et-standings-cell{font-weight:600}.et-standings-row:where([data-highlighted]) .et-standings-cell:where([data-column=position]){color:var(--et-surface-color-solid, currentColor)}.et-standings-content .et-standings-participant{--et-match-participant-emblem-size: 24px;--et-match-participant-gap: 8px;--et-match-participant-font-size: var(--et-standings-font-size);min-inline-size:0}.et-standings-form{display:flex;gap:3px}.et-standings-form-result{display:inline-grid;place-items:center;inline-size:16px;block-size:16px;border-radius:3px;font-size:10px;font-weight:700;line-height:1}.et-standings-form-result:where([data-result=win]){color:var(--et-surface-background-solid, white);background:var(--et-surface-color-solid, currentColor)}.et-standings-form-result:where([data-result=tie]){background:color-mix(in srgb,var(--et-surface-color-solid, gray) 25%,transparent)}.et-standings-form-result:where([data-result=loss]){background:color-mix(in srgb,var(--et-surface-interaction-solid, gray) 25%,transparent)}.et-standings-legend{display:flex;flex-wrap:wrap;gap:4px 16px;margin:0;padding:10px var(--et-standings-cell-padding-inline) 0;font-size:11px;color:var(--et-surface-color-muted-solid, currentColor);list-style:none}.et-standings-legend-item{display:flex;align-items:center;gap:6px}.et-standings-legend-swatch{flex:none;inline-size:10px;block-size:3px;background:color-mix(in srgb,light-dark(var(--et-theme-color-ink-solid),var(--et-theme-color-primary-solid)) calc(100% * var(--et-standings-zone-strength, 1)),transparent);border-radius:2px}}\n"]
|
|
95469
96095
|
}]
|
|
95470
96096
|
}],
|
|
95471
96097
|
ctorParameters: () => []
|
|
@@ -95473,6 +96099,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
95473
96099
|
const STANDINGS_IMPORTS = [
|
|
95474
96100
|
StandingsComponent,
|
|
95475
96101
|
StandingsDirective,
|
|
96102
|
+
StandingsFormTooltipDirective,
|
|
95476
96103
|
StandingsRowDetailDirective
|
|
95477
96104
|
];
|
|
95478
96105
|
const STANDINGS_PICK_IMPORTS = [
|
|
@@ -96112,7 +96739,7 @@ var StreamOverlayCardStylesComponent = class StreamOverlayCardStylesComponent {
|
|
|
96112
96739
|
ngImport: i0,
|
|
96113
96740
|
template: "",
|
|
96114
96741
|
isInline: true,
|
|
96115
|
-
styles: ["@layer components.sdk{.et-stream-consent-card,.et-stream-player-error-card,.et-pip-slot-placeholder-card{box-sizing:border-box;display:flex;flex-direction:column;align-items:center;justify-content:safe center;gap:var(--et-stream-overlay-card-gap, 12px);inline-size:100%;block-size:100%;padding:var(--et-stream-overlay-card-padding, 16px);overflow:auto;border-radius:var(--et-stream-overlay-card-border-radius, 0px);text-align:center;background:var(--et-surface-background-solid, inherit);container-type:size}.et-stream-consent-card>*,.et-stream-player-error-card>*,.et-pip-slot-placeholder-card>*{flex:none;max-inline-size:36rem}@container (max-height: 200px){.et-stream-consent-icon,.et-stream-player-error-icon,.et-pip-slot-placeholder-icon{display:none}}.et-stream-consent-icon,.et-stream-player-error-icon,.et-pip-slot-placeholder-icon{width:var(--et-stream-overlay-card-icon-size, 36px);height:var(--et-stream-overlay-card-icon-size, 36px);color:var(--et-surface-color-subtle-solid, currentColor)}.et-stream-consent-heading,.et-stream-player-error-heading{margin:0;font-size:var(--et-stream-overlay-card-heading-size, 16px);font-weight:var(--et-stream-overlay-card-heading-weight, 600);line-height:var(--et-stream-overlay-card-heading-line-height, 122%);letter-spacing:var(--et-stream-overlay-card-heading-letter-spacing, .2px);color:var(--et-surface-color-solid, currentColor)}.et-stream-consent-description,.et-stream-player-error-description,.et-pip-slot-placeholder-message{margin:0;font-size:var(--et-stream-overlay-card-description-size, 14px);font-weight:var(--et-stream-overlay-card-description-weight, 400);line-height:var(--et-stream-overlay-card-description-line-height, 150%);color:var(--et-surface-color-muted-solid, currentColor)}}\n"],
|
|
96742
|
+
styles: ["@layer components.sdk{.et-stream-consent-card,.et-stream-player-error-card,.et-pip-slot-placeholder-card{box-sizing:border-box;display:flex;flex-direction:column;align-items:center;justify-content:safe center;gap:var(--et-stream-overlay-card-gap, 12px);inline-size:100%;block-size:100%;padding:var(--et-stream-overlay-card-padding, 16px);overflow:auto;border-radius:var(--et-stream-overlay-card-border-radius, 0px);text-align:center;background:var(--et-surface-background-solid, inherit);container-type:size}.et-stream-consent-card>*,.et-stream-player-error-card>*,.et-pip-slot-placeholder-card>*{flex:none;max-inline-size:36rem}@container (max-height: 200px){.et-stream-consent-card,.et-stream-player-error-card{padding:calc(var(--et-stream-overlay-card-padding, 16px) / 2);gap:calc(var(--et-stream-overlay-card-gap, 12px) / 2)}.et-stream-consent-card>.et-stream-consent-icon,.et-stream-player-error-card>.et-stream-player-error-icon,.et-pip-slot-placeholder-card>.et-pip-slot-placeholder-icon{display:none}}.et-stream-consent-icon,.et-stream-player-error-icon,.et-pip-slot-placeholder-icon{width:var(--et-stream-overlay-card-icon-size, 36px);height:var(--et-stream-overlay-card-icon-size, 36px);color:var(--et-surface-color-subtle-solid, currentColor)}.et-stream-consent-heading,.et-stream-player-error-heading{margin:0;font-size:var(--et-stream-overlay-card-heading-size, 16px);font-weight:var(--et-stream-overlay-card-heading-weight, 600);line-height:var(--et-stream-overlay-card-heading-line-height, 122%);letter-spacing:var(--et-stream-overlay-card-heading-letter-spacing, .2px);color:var(--et-surface-color-solid, currentColor)}.et-stream-consent-description,.et-stream-player-error-description,.et-pip-slot-placeholder-message{margin:0;font-size:var(--et-stream-overlay-card-description-size, 14px);font-weight:var(--et-stream-overlay-card-description-weight, 400);line-height:var(--et-stream-overlay-card-description-line-height, 150%);color:var(--et-surface-color-muted-solid, currentColor)}}\n"],
|
|
96116
96743
|
encapsulation: i0.ViewEncapsulation.None
|
|
96117
96744
|
});
|
|
96118
96745
|
}
|
|
@@ -96128,7 +96755,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
96128
96755
|
selector: "et-stream-overlay-card-styles",
|
|
96129
96756
|
template: "",
|
|
96130
96757
|
encapsulation: ViewEncapsulation.None,
|
|
96131
|
-
styles: ["@layer components.sdk{.et-stream-consent-card,.et-stream-player-error-card,.et-pip-slot-placeholder-card{box-sizing:border-box;display:flex;flex-direction:column;align-items:center;justify-content:safe center;gap:var(--et-stream-overlay-card-gap, 12px);inline-size:100%;block-size:100%;padding:var(--et-stream-overlay-card-padding, 16px);overflow:auto;border-radius:var(--et-stream-overlay-card-border-radius, 0px);text-align:center;background:var(--et-surface-background-solid, inherit);container-type:size}.et-stream-consent-card>*,.et-stream-player-error-card>*,.et-pip-slot-placeholder-card>*{flex:none;max-inline-size:36rem}@container (max-height: 200px){.et-stream-consent-icon,.et-stream-player-error-icon,.et-pip-slot-placeholder-icon{display:none}}.et-stream-consent-icon,.et-stream-player-error-icon,.et-pip-slot-placeholder-icon{width:var(--et-stream-overlay-card-icon-size, 36px);height:var(--et-stream-overlay-card-icon-size, 36px);color:var(--et-surface-color-subtle-solid, currentColor)}.et-stream-consent-heading,.et-stream-player-error-heading{margin:0;font-size:var(--et-stream-overlay-card-heading-size, 16px);font-weight:var(--et-stream-overlay-card-heading-weight, 600);line-height:var(--et-stream-overlay-card-heading-line-height, 122%);letter-spacing:var(--et-stream-overlay-card-heading-letter-spacing, .2px);color:var(--et-surface-color-solid, currentColor)}.et-stream-consent-description,.et-stream-player-error-description,.et-pip-slot-placeholder-message{margin:0;font-size:var(--et-stream-overlay-card-description-size, 14px);font-weight:var(--et-stream-overlay-card-description-weight, 400);line-height:var(--et-stream-overlay-card-description-line-height, 150%);color:var(--et-surface-color-muted-solid, currentColor)}}\n"]
|
|
96758
|
+
styles: ["@layer components.sdk{.et-stream-consent-card,.et-stream-player-error-card,.et-pip-slot-placeholder-card{box-sizing:border-box;display:flex;flex-direction:column;align-items:center;justify-content:safe center;gap:var(--et-stream-overlay-card-gap, 12px);inline-size:100%;block-size:100%;padding:var(--et-stream-overlay-card-padding, 16px);overflow:auto;border-radius:var(--et-stream-overlay-card-border-radius, 0px);text-align:center;background:var(--et-surface-background-solid, inherit);container-type:size}.et-stream-consent-card>*,.et-stream-player-error-card>*,.et-pip-slot-placeholder-card>*{flex:none;max-inline-size:36rem}@container (max-height: 200px){.et-stream-consent-card,.et-stream-player-error-card{padding:calc(var(--et-stream-overlay-card-padding, 16px) / 2);gap:calc(var(--et-stream-overlay-card-gap, 12px) / 2)}.et-stream-consent-card>.et-stream-consent-icon,.et-stream-player-error-card>.et-stream-player-error-icon,.et-pip-slot-placeholder-card>.et-pip-slot-placeholder-icon{display:none}}.et-stream-consent-icon,.et-stream-player-error-icon,.et-pip-slot-placeholder-icon{width:var(--et-stream-overlay-card-icon-size, 36px);height:var(--et-stream-overlay-card-icon-size, 36px);color:var(--et-surface-color-subtle-solid, currentColor)}.et-stream-consent-heading,.et-stream-player-error-heading{margin:0;font-size:var(--et-stream-overlay-card-heading-size, 16px);font-weight:var(--et-stream-overlay-card-heading-weight, 600);line-height:var(--et-stream-overlay-card-heading-line-height, 122%);letter-spacing:var(--et-stream-overlay-card-heading-letter-spacing, .2px);color:var(--et-surface-color-solid, currentColor)}.et-stream-consent-description,.et-stream-player-error-description,.et-pip-slot-placeholder-message{margin:0;font-size:var(--et-stream-overlay-card-description-size, 14px);font-weight:var(--et-stream-overlay-card-description-weight, 400);line-height:var(--et-stream-overlay-card-description-line-height, 150%);color:var(--et-surface-color-muted-solid, currentColor)}}\n"]
|
|
96132
96759
|
}]
|
|
96133
96760
|
}]
|
|
96134
96761
|
});
|
|
@@ -96181,7 +96808,7 @@ var StreamConsentComponent = class StreamConsentComponent {
|
|
|
96181
96808
|
</div>
|
|
96182
96809
|
`,
|
|
96183
96810
|
isInline: true,
|
|
96184
|
-
styles: ["@layer components.sdk{@property --et-stream-consent-padding{syntax: \"<length>\"; inherits: true; initial-value: 16px;}@property --et-stream-consent-gap{syntax: \"<length>\"; inherits: true; initial-value: 12px;}@property --et-stream-consent-icon-size{syntax: \"<length>\"; inherits: true; initial-value: 36px;}@property --et-stream-consent-border-radius{syntax: \"<length>\"; inherits: true; initial-value: 0px;}@property --et-stream-consent-heading-size{syntax: \"<length>\"; inherits: true; initial-value: 16px;}@property --et-stream-consent-heading-weight{syntax: \"<number>\"; inherits: true; initial-value: 600;}@property --et-stream-consent-heading-line-height{syntax: \"<percentage>\"; inherits: true; initial-value: 122%;}@property --et-stream-consent-heading-letter-spacing{syntax: \"<length>\"; inherits: true; initial-value: .2px;}@property --et-stream-consent-description-size{syntax: \"<length>\"; inherits: true; initial-value: 14px;}@property --et-stream-consent-description-weight{syntax: \"<number>\"; inherits: true; initial-value: 400;}@property --et-stream-consent-description-line-height{syntax: \"<percentage>\"; inherits: true; initial-value: 150%;}.et-stream-consent{display:flex;align-items:center;justify-content:center;width:100%;height:100%;background:var(--et-surface-background-solid, inherit);color:var(--et-surface-color-solid, inherit)}.et-stream-consent-card{--et-stream-overlay-card-padding: var(--et-stream-consent-padding);--et-stream-overlay-card-gap: var(--et-stream-consent-gap);--et-stream-overlay-card-icon-size: var(--et-stream-consent-icon-size);--et-stream-overlay-card-border-radius: var(--et-stream-consent-border-radius);--et-stream-overlay-card-heading-size: var(--et-stream-consent-heading-size);--et-stream-overlay-card-heading-weight: var(--et-stream-consent-heading-weight);--et-stream-overlay-card-heading-line-height: var(--et-stream-consent-heading-line-height);--et-stream-overlay-card-heading-letter-spacing: var(--et-stream-consent-heading-letter-spacing);--et-stream-overlay-card-description-size: var(--et-stream-consent-description-size);--et-stream-overlay-card-description-weight: var(--et-stream-consent-description-weight);--et-stream-overlay-card-description-line-height: var(--et-stream-consent-description-line-height)}.et-stream-consent-icon{margin-block-end:.4rem}.et-stream-consent-description{margin-block-end:.8rem}}\n"],
|
|
96811
|
+
styles: ["@layer components.sdk{@property --et-stream-consent-padding{syntax: \"<length>\"; inherits: true; initial-value: 16px;}@property --et-stream-consent-gap{syntax: \"<length>\"; inherits: true; initial-value: 12px;}@property --et-stream-consent-icon-size{syntax: \"<length>\"; inherits: true; initial-value: 36px;}@property --et-stream-consent-border-radius{syntax: \"<length>\"; inherits: true; initial-value: 0px;}@property --et-stream-consent-heading-size{syntax: \"<length>\"; inherits: true; initial-value: 16px;}@property --et-stream-consent-heading-weight{syntax: \"<number>\"; inherits: true; initial-value: 600;}@property --et-stream-consent-heading-line-height{syntax: \"<percentage>\"; inherits: true; initial-value: 122%;}@property --et-stream-consent-heading-letter-spacing{syntax: \"<length>\"; inherits: true; initial-value: .2px;}@property --et-stream-consent-description-size{syntax: \"<length>\"; inherits: true; initial-value: 14px;}@property --et-stream-consent-description-weight{syntax: \"<number>\"; inherits: true; initial-value: 400;}@property --et-stream-consent-description-line-height{syntax: \"<percentage>\"; inherits: true; initial-value: 150%;}.et-stream-consent{display:flex;align-items:center;justify-content:center;width:100%;height:100%;background:var(--et-surface-background-solid, inherit);color:var(--et-surface-color-solid, inherit);container-type:size}.et-stream-consent-card{--et-stream-overlay-card-padding: var(--et-stream-consent-padding);--et-stream-overlay-card-gap: var(--et-stream-consent-gap);--et-stream-overlay-card-icon-size: var(--et-stream-consent-icon-size);--et-stream-overlay-card-border-radius: var(--et-stream-consent-border-radius);--et-stream-overlay-card-heading-size: var(--et-stream-consent-heading-size);--et-stream-overlay-card-heading-weight: var(--et-stream-consent-heading-weight);--et-stream-overlay-card-heading-line-height: var(--et-stream-consent-heading-line-height);--et-stream-overlay-card-heading-letter-spacing: var(--et-stream-consent-heading-letter-spacing);--et-stream-overlay-card-description-size: var(--et-stream-consent-description-size);--et-stream-overlay-card-description-weight: var(--et-stream-consent-description-weight);--et-stream-overlay-card-description-line-height: var(--et-stream-consent-description-line-height)}.et-stream-consent-icon{margin-block-end:.4rem}.et-stream-consent-description{margin-block-end:.8rem}}\n"],
|
|
96185
96812
|
dependencies: [
|
|
96186
96813
|
{
|
|
96187
96814
|
kind: "directive",
|
|
@@ -96196,7 +96823,8 @@ var StreamConsentComponent = class StreamConsentComponent {
|
|
|
96196
96823
|
"variant",
|
|
96197
96824
|
"size",
|
|
96198
96825
|
"iconAlignment",
|
|
96199
|
-
"stretchContents"
|
|
96826
|
+
"stretchContents",
|
|
96827
|
+
"pressedVariant"
|
|
96200
96828
|
]
|
|
96201
96829
|
},
|
|
96202
96830
|
{
|
|
@@ -96247,7 +96875,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
96247
96875
|
role: "group",
|
|
96248
96876
|
"[attr.aria-labelledby]": "HEADING_ID"
|
|
96249
96877
|
},
|
|
96250
|
-
styles: ["@layer components.sdk{@property --et-stream-consent-padding{syntax: \"<length>\"; inherits: true; initial-value: 16px;}@property --et-stream-consent-gap{syntax: \"<length>\"; inherits: true; initial-value: 12px;}@property --et-stream-consent-icon-size{syntax: \"<length>\"; inherits: true; initial-value: 36px;}@property --et-stream-consent-border-radius{syntax: \"<length>\"; inherits: true; initial-value: 0px;}@property --et-stream-consent-heading-size{syntax: \"<length>\"; inherits: true; initial-value: 16px;}@property --et-stream-consent-heading-weight{syntax: \"<number>\"; inherits: true; initial-value: 600;}@property --et-stream-consent-heading-line-height{syntax: \"<percentage>\"; inherits: true; initial-value: 122%;}@property --et-stream-consent-heading-letter-spacing{syntax: \"<length>\"; inherits: true; initial-value: .2px;}@property --et-stream-consent-description-size{syntax: \"<length>\"; inherits: true; initial-value: 14px;}@property --et-stream-consent-description-weight{syntax: \"<number>\"; inherits: true; initial-value: 400;}@property --et-stream-consent-description-line-height{syntax: \"<percentage>\"; inherits: true; initial-value: 150%;}.et-stream-consent{display:flex;align-items:center;justify-content:center;width:100%;height:100%;background:var(--et-surface-background-solid, inherit);color:var(--et-surface-color-solid, inherit)}.et-stream-consent-card{--et-stream-overlay-card-padding: var(--et-stream-consent-padding);--et-stream-overlay-card-gap: var(--et-stream-consent-gap);--et-stream-overlay-card-icon-size: var(--et-stream-consent-icon-size);--et-stream-overlay-card-border-radius: var(--et-stream-consent-border-radius);--et-stream-overlay-card-heading-size: var(--et-stream-consent-heading-size);--et-stream-overlay-card-heading-weight: var(--et-stream-consent-heading-weight);--et-stream-overlay-card-heading-line-height: var(--et-stream-consent-heading-line-height);--et-stream-overlay-card-heading-letter-spacing: var(--et-stream-consent-heading-letter-spacing);--et-stream-overlay-card-description-size: var(--et-stream-consent-description-size);--et-stream-overlay-card-description-weight: var(--et-stream-consent-description-weight);--et-stream-overlay-card-description-line-height: var(--et-stream-consent-description-line-height)}.et-stream-consent-icon{margin-block-end:.4rem}.et-stream-consent-description{margin-block-end:.8rem}}\n"]
|
|
96878
|
+
styles: ["@layer components.sdk{@property --et-stream-consent-padding{syntax: \"<length>\"; inherits: true; initial-value: 16px;}@property --et-stream-consent-gap{syntax: \"<length>\"; inherits: true; initial-value: 12px;}@property --et-stream-consent-icon-size{syntax: \"<length>\"; inherits: true; initial-value: 36px;}@property --et-stream-consent-border-radius{syntax: \"<length>\"; inherits: true; initial-value: 0px;}@property --et-stream-consent-heading-size{syntax: \"<length>\"; inherits: true; initial-value: 16px;}@property --et-stream-consent-heading-weight{syntax: \"<number>\"; inherits: true; initial-value: 600;}@property --et-stream-consent-heading-line-height{syntax: \"<percentage>\"; inherits: true; initial-value: 122%;}@property --et-stream-consent-heading-letter-spacing{syntax: \"<length>\"; inherits: true; initial-value: .2px;}@property --et-stream-consent-description-size{syntax: \"<length>\"; inherits: true; initial-value: 14px;}@property --et-stream-consent-description-weight{syntax: \"<number>\"; inherits: true; initial-value: 400;}@property --et-stream-consent-description-line-height{syntax: \"<percentage>\"; inherits: true; initial-value: 150%;}.et-stream-consent{display:flex;align-items:center;justify-content:center;width:100%;height:100%;background:var(--et-surface-background-solid, inherit);color:var(--et-surface-color-solid, inherit);container-type:size}.et-stream-consent-card{--et-stream-overlay-card-padding: var(--et-stream-consent-padding);--et-stream-overlay-card-gap: var(--et-stream-consent-gap);--et-stream-overlay-card-icon-size: var(--et-stream-consent-icon-size);--et-stream-overlay-card-border-radius: var(--et-stream-consent-border-radius);--et-stream-overlay-card-heading-size: var(--et-stream-consent-heading-size);--et-stream-overlay-card-heading-weight: var(--et-stream-consent-heading-weight);--et-stream-overlay-card-heading-line-height: var(--et-stream-consent-heading-line-height);--et-stream-overlay-card-heading-letter-spacing: var(--et-stream-consent-heading-letter-spacing);--et-stream-overlay-card-description-size: var(--et-stream-consent-description-size);--et-stream-overlay-card-description-weight: var(--et-stream-consent-description-weight);--et-stream-overlay-card-description-line-height: var(--et-stream-consent-description-line-height)}.et-stream-consent-icon{margin-block-end:.4rem}.et-stream-consent-description{margin-block-end:.8rem}}\n"]
|
|
96251
96879
|
}]
|
|
96252
96880
|
}],
|
|
96253
96881
|
ctorParameters: () => []
|
|
@@ -96351,7 +96979,7 @@ var StreamPlayerErrorComponent = class StreamPlayerErrorComponent {
|
|
|
96351
96979
|
</div>
|
|
96352
96980
|
`,
|
|
96353
96981
|
isInline: true,
|
|
96354
|
-
styles: ["@layer components.sdk{@property --et-stream-player-error-gap{syntax: \"<length>\"; inherits: true; initial-value: 12px;}@property --et-stream-player-error-padding{syntax: \"<length>\"; inherits: true; initial-value: 16px;}@property --et-stream-player-error-icon-size{syntax: \"<length>\"; inherits: true; initial-value: 36px;}@property --et-stream-player-error-border-radius{syntax: \"<length>\"; inherits: true; initial-value: 0px;}@property --et-stream-player-error-heading-size{syntax: \"<length>\"; inherits: true; initial-value: 16px;}@property --et-stream-player-error-heading-weight{syntax: \"<number>\"; inherits: true; initial-value: 600;}@property --et-stream-player-error-heading-line-height{syntax: \"<percentage>\"; inherits: true; initial-value: 122%;}@property --et-stream-player-error-heading-letter-spacing{syntax: \"<length>\"; inherits: true; initial-value: .2px;}@property --et-stream-player-error-description-size{syntax: \"<length>\"; inherits: true; initial-value: 14px;}@property --et-stream-player-error-description-weight{syntax: \"<number>\"; inherits: true; initial-value: 400;}@property --et-stream-player-error-description-line-height{syntax: \"<percentage>\"; inherits: true; initial-value: 150%;}.et-stream-player-error{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;background:var(--et-surface-background-solid, inherit);color:var(--et-surface-color-solid, inherit);z-index:1}.et-stream-player-error-card{--et-stream-overlay-card-padding: var(--et-stream-player-error-padding);--et-stream-overlay-card-gap: var(--et-stream-player-error-gap);--et-stream-overlay-card-icon-size: var(--et-stream-player-error-icon-size);--et-stream-overlay-card-border-radius: var(--et-stream-player-error-border-radius);--et-stream-overlay-card-heading-size: var(--et-stream-player-error-heading-size);--et-stream-overlay-card-heading-weight: var(--et-stream-player-error-heading-weight);--et-stream-overlay-card-heading-line-height: var(--et-stream-player-error-heading-line-height);--et-stream-overlay-card-heading-letter-spacing: var(--et-stream-player-error-heading-letter-spacing);--et-stream-overlay-card-description-size: var(--et-stream-player-error-description-size);--et-stream-overlay-card-description-weight: var(--et-stream-player-error-description-weight);--et-stream-overlay-card-description-line-height: var(--et-stream-player-error-description-line-height)}.et-stream-player-error-icon{margin-block-end:.4rem}.et-stream-player-error-description{margin-block-end:.8rem}}\n"],
|
|
96982
|
+
styles: ["@layer components.sdk{@property --et-stream-player-error-gap{syntax: \"<length>\"; inherits: true; initial-value: 12px;}@property --et-stream-player-error-padding{syntax: \"<length>\"; inherits: true; initial-value: 16px;}@property --et-stream-player-error-icon-size{syntax: \"<length>\"; inherits: true; initial-value: 36px;}@property --et-stream-player-error-border-radius{syntax: \"<length>\"; inherits: true; initial-value: 0px;}@property --et-stream-player-error-heading-size{syntax: \"<length>\"; inherits: true; initial-value: 16px;}@property --et-stream-player-error-heading-weight{syntax: \"<number>\"; inherits: true; initial-value: 600;}@property --et-stream-player-error-heading-line-height{syntax: \"<percentage>\"; inherits: true; initial-value: 122%;}@property --et-stream-player-error-heading-letter-spacing{syntax: \"<length>\"; inherits: true; initial-value: .2px;}@property --et-stream-player-error-description-size{syntax: \"<length>\"; inherits: true; initial-value: 14px;}@property --et-stream-player-error-description-weight{syntax: \"<number>\"; inherits: true; initial-value: 400;}@property --et-stream-player-error-description-line-height{syntax: \"<percentage>\"; inherits: true; initial-value: 150%;}.et-stream-player-error{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;background:var(--et-surface-background-solid, inherit);color:var(--et-surface-color-solid, inherit);z-index:1;container-type:size}.et-stream-player-error-card{--et-stream-overlay-card-padding: var(--et-stream-player-error-padding);--et-stream-overlay-card-gap: var(--et-stream-player-error-gap);--et-stream-overlay-card-icon-size: var(--et-stream-player-error-icon-size);--et-stream-overlay-card-border-radius: var(--et-stream-player-error-border-radius);--et-stream-overlay-card-heading-size: var(--et-stream-player-error-heading-size);--et-stream-overlay-card-heading-weight: var(--et-stream-player-error-heading-weight);--et-stream-overlay-card-heading-line-height: var(--et-stream-player-error-heading-line-height);--et-stream-overlay-card-heading-letter-spacing: var(--et-stream-player-error-heading-letter-spacing);--et-stream-overlay-card-description-size: var(--et-stream-player-error-description-size);--et-stream-overlay-card-description-weight: var(--et-stream-player-error-description-weight);--et-stream-overlay-card-description-line-height: var(--et-stream-player-error-description-line-height)}.et-stream-player-error-icon{margin-block-end:.4rem}.et-stream-player-error-description{margin-block-end:.8rem}}\n"],
|
|
96355
96983
|
dependencies: [{
|
|
96356
96984
|
kind: "component",
|
|
96357
96985
|
type: ButtonComponent,
|
|
@@ -96360,7 +96988,8 @@ var StreamPlayerErrorComponent = class StreamPlayerErrorComponent {
|
|
|
96360
96988
|
"variant",
|
|
96361
96989
|
"size",
|
|
96362
96990
|
"iconAlignment",
|
|
96363
|
-
"stretchContents"
|
|
96991
|
+
"stretchContents",
|
|
96992
|
+
"pressedVariant"
|
|
96364
96993
|
]
|
|
96365
96994
|
}, {
|
|
96366
96995
|
kind: "directive",
|
|
@@ -96404,7 +97033,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
96404
97033
|
class: "et-stream-player-error",
|
|
96405
97034
|
role: "alert"
|
|
96406
97035
|
},
|
|
96407
|
-
styles: ["@layer components.sdk{@property --et-stream-player-error-gap{syntax: \"<length>\"; inherits: true; initial-value: 12px;}@property --et-stream-player-error-padding{syntax: \"<length>\"; inherits: true; initial-value: 16px;}@property --et-stream-player-error-icon-size{syntax: \"<length>\"; inherits: true; initial-value: 36px;}@property --et-stream-player-error-border-radius{syntax: \"<length>\"; inherits: true; initial-value: 0px;}@property --et-stream-player-error-heading-size{syntax: \"<length>\"; inherits: true; initial-value: 16px;}@property --et-stream-player-error-heading-weight{syntax: \"<number>\"; inherits: true; initial-value: 600;}@property --et-stream-player-error-heading-line-height{syntax: \"<percentage>\"; inherits: true; initial-value: 122%;}@property --et-stream-player-error-heading-letter-spacing{syntax: \"<length>\"; inherits: true; initial-value: .2px;}@property --et-stream-player-error-description-size{syntax: \"<length>\"; inherits: true; initial-value: 14px;}@property --et-stream-player-error-description-weight{syntax: \"<number>\"; inherits: true; initial-value: 400;}@property --et-stream-player-error-description-line-height{syntax: \"<percentage>\"; inherits: true; initial-value: 150%;}.et-stream-player-error{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;background:var(--et-surface-background-solid, inherit);color:var(--et-surface-color-solid, inherit);z-index:1}.et-stream-player-error-card{--et-stream-overlay-card-padding: var(--et-stream-player-error-padding);--et-stream-overlay-card-gap: var(--et-stream-player-error-gap);--et-stream-overlay-card-icon-size: var(--et-stream-player-error-icon-size);--et-stream-overlay-card-border-radius: var(--et-stream-player-error-border-radius);--et-stream-overlay-card-heading-size: var(--et-stream-player-error-heading-size);--et-stream-overlay-card-heading-weight: var(--et-stream-player-error-heading-weight);--et-stream-overlay-card-heading-line-height: var(--et-stream-player-error-heading-line-height);--et-stream-overlay-card-heading-letter-spacing: var(--et-stream-player-error-heading-letter-spacing);--et-stream-overlay-card-description-size: var(--et-stream-player-error-description-size);--et-stream-overlay-card-description-weight: var(--et-stream-player-error-description-weight);--et-stream-overlay-card-description-line-height: var(--et-stream-player-error-description-line-height)}.et-stream-player-error-icon{margin-block-end:.4rem}.et-stream-player-error-description{margin-block-end:.8rem}}\n"]
|
|
97036
|
+
styles: ["@layer components.sdk{@property --et-stream-player-error-gap{syntax: \"<length>\"; inherits: true; initial-value: 12px;}@property --et-stream-player-error-padding{syntax: \"<length>\"; inherits: true; initial-value: 16px;}@property --et-stream-player-error-icon-size{syntax: \"<length>\"; inherits: true; initial-value: 36px;}@property --et-stream-player-error-border-radius{syntax: \"<length>\"; inherits: true; initial-value: 0px;}@property --et-stream-player-error-heading-size{syntax: \"<length>\"; inherits: true; initial-value: 16px;}@property --et-stream-player-error-heading-weight{syntax: \"<number>\"; inherits: true; initial-value: 600;}@property --et-stream-player-error-heading-line-height{syntax: \"<percentage>\"; inherits: true; initial-value: 122%;}@property --et-stream-player-error-heading-letter-spacing{syntax: \"<length>\"; inherits: true; initial-value: .2px;}@property --et-stream-player-error-description-size{syntax: \"<length>\"; inherits: true; initial-value: 14px;}@property --et-stream-player-error-description-weight{syntax: \"<number>\"; inherits: true; initial-value: 400;}@property --et-stream-player-error-description-line-height{syntax: \"<percentage>\"; inherits: true; initial-value: 150%;}.et-stream-player-error{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;background:var(--et-surface-background-solid, inherit);color:var(--et-surface-color-solid, inherit);z-index:1;container-type:size}.et-stream-player-error-card{--et-stream-overlay-card-padding: var(--et-stream-player-error-padding);--et-stream-overlay-card-gap: var(--et-stream-player-error-gap);--et-stream-overlay-card-icon-size: var(--et-stream-player-error-icon-size);--et-stream-overlay-card-border-radius: var(--et-stream-player-error-border-radius);--et-stream-overlay-card-heading-size: var(--et-stream-player-error-heading-size);--et-stream-overlay-card-heading-weight: var(--et-stream-player-error-heading-weight);--et-stream-overlay-card-heading-line-height: var(--et-stream-player-error-heading-line-height);--et-stream-overlay-card-heading-letter-spacing: var(--et-stream-player-error-heading-letter-spacing);--et-stream-overlay-card-description-size: var(--et-stream-player-error-description-size);--et-stream-overlay-card-description-weight: var(--et-stream-player-error-description-weight);--et-stream-overlay-card-description-line-height: var(--et-stream-player-error-description-line-height)}.et-stream-player-error-icon{margin-block-end:.4rem}.et-stream-player-error-description{margin-block-end:.8rem}}\n"]
|
|
96408
97037
|
}]
|
|
96409
97038
|
}],
|
|
96410
97039
|
ctorParameters: () => []
|
|
@@ -98543,10 +99172,7 @@ var PipGridToggleDirective = class PipGridToggleDirective {
|
|
|
98543
99172
|
host: {
|
|
98544
99173
|
attributes: { "type": "button" },
|
|
98545
99174
|
listeners: { "click": "toggle($event)" },
|
|
98546
|
-
properties: {
|
|
98547
|
-
"attr.aria-label": "chrome?.state?.gridToggleLabel()",
|
|
98548
|
-
"attr.title": "chrome?.state?.gridToggleLabel()"
|
|
98549
|
-
},
|
|
99175
|
+
properties: { "attr.aria-label": "chrome?.state?.gridToggleLabel()" },
|
|
98550
99176
|
classAttribute: "et-stream-pip-chrome__view-btn"
|
|
98551
99177
|
},
|
|
98552
99178
|
ngImport: i0
|
|
@@ -98566,7 +99192,6 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
98566
99192
|
class: "et-stream-pip-chrome__view-btn",
|
|
98567
99193
|
type: "button",
|
|
98568
99194
|
"[attr.aria-label]": "chrome?.state?.gridToggleLabel()",
|
|
98569
|
-
"[attr.title]": "chrome?.state?.gridToggleLabel()",
|
|
98570
99195
|
"(click)": "toggle($event)"
|
|
98571
99196
|
}
|
|
98572
99197
|
}]
|
|
@@ -99171,7 +99796,8 @@ var PipSlotPlaceholderComponent = class PipSlotPlaceholderComponent {
|
|
|
99171
99796
|
"variant",
|
|
99172
99797
|
"size",
|
|
99173
99798
|
"iconAlignment",
|
|
99174
|
-
"stretchContents"
|
|
99799
|
+
"stretchContents",
|
|
99800
|
+
"pressedVariant"
|
|
99175
99801
|
]
|
|
99176
99802
|
},
|
|
99177
99803
|
{
|
|
@@ -105922,8 +106548,8 @@ var TableComponent = class TableComponent {
|
|
|
105922
106548
|
}
|
|
105923
106549
|
],
|
|
105924
106550
|
ngImport: i0,
|
|
105925
|
-
template: "<!-- Every binding below reads a field off a render model (see the `…Vm` types in the component):\n methods belong in event bindings, not in bindings the framework re-evaluates each pass. -->\n<ng-template #headerContent>\n <!-- Rows a feature renders above the column headers (etTableGroupHeaders' spanning group row). Each\n is display: contents and lays its own cells into these tracks — see registerHeaderRow. -->\n @for (headerRow of headerRows(); track $index) {\n <ng-container *ngComponentOutlet=\"headerRow.component; injector: headerRow.injector\" />\n }\n\n <div [attr.aria-rowindex]=\"ariaRowCount() === null ? null : headerRowCount()\" class=\"et-table-header-row\" role=\"row\">\n <!-- Leading utility columns (selection from a feature, the expander when expansion is on). The\n table owns the cell chrome; the feature only supplies what goes inside. -->\n @for (lead of leadCells(); track lead.key) {\n <div\n #leadHeaderCell\n [class]=\"lead.cellClass\"\n [class.et-table-sticky-start]=\"lead.sticky\"\n [style.inset-inline-start.px]=\"pageStickyHeader() ? null : lead.offset\"\n class=\"et-table-header-cell\"\n role=\"columnheader\"\n >\n @if (lead.lead.headerComponent; as headerComponent) {\n <ng-container *ngComponentOutlet=\"headerComponent; injector: lead.lead.injector\" />\n }\n </div>\n }\n @for (cell of headerCellVms(); track cell.key) {\n <div\n #headerCell\n [attr.data-align]=\"cell.align\"\n [attr.data-col-key]=\"cell.key\"\n [attr.data-disabled]=\"cell.disabled || null\"\n [attr.aria-sort]=\"cell.ariaSort\"\n [class.et-table-sticky-start]=\"cell.stickyStart\"\n [class.et-table-sticky-end]=\"cell.stickyEnd\"\n [style.inset-inline-start.px]=\"pageStickyHeader() ? null : cell.offsetStart\"\n [style.inset-inline-end.px]=\"pageStickyHeader() ? null : cell.offsetEnd\"\n class=\"et-table-header-cell\"\n role=\"columnheader\"\n >\n <!-- Sorting is the whole header's job, not a control's: the label plus everything around it is\n one button, and the only sort affordance is the direction arrow, which appears once the\n column is actually sorted. Adornments sit outside it so their own clicks don't sort. -->\n @if (cell.sortable) {\n <button\n [attr.aria-label]=\"cell.sortLabel\"\n [attr.aria-description]=\"cell.priorityLabel\"\n [disabled]=\"cell.disabled\"\n (click)=\"activateSortHeader(cell.key, $event)\"\n (keydown.shift.enter)=\"activateSortHeader(cell.key, $event)\"\n class=\"et-table-header-label et-table-header-label--sortable\"\n type=\"button\"\n >\n <span class=\"et-table-header-label-box\">\n @if (cell.template; as headerTemplate) {\n <ng-container *ngTemplateOutlet=\"headerTemplate; context: { $implicit: cell.column.header }\" />\n } @else {\n <span class=\"et-table-cell-text\">{{ cell.column.header }}</span>\n }\n @if (cell.direction; as direction) {\n <!-- Flipping direction keeps this element mounted, so the arrow turns over rather than\n swapping; only appearing and disappearing are the fade, and only for a sort the user\n just asked for (see sortIndicatorEnter). -->\n <i\n [attr.data-direction]=\"direction\"\n [animate.enter]=\"sortIndicatorEnter()\"\n [animate.leave]=\"sortIndicatorLeave()\"\n class=\"et-table-sort-indicator\"\n etIcon=\"et-arrow-up\"\n ></i>\n }\n @if (cell.priority; as priority) {\n <span class=\"et-table-sort-priority\" aria-hidden=\"true\">{{ priority }}</span>\n }\n </span>\n </button>\n } @else {\n <span class=\"et-table-header-label\">\n <span class=\"et-table-header-label-box\">\n @if (cell.template; as headerTemplate) {\n <ng-container *ngTemplateOutlet=\"headerTemplate; context: { $implicit: cell.column.header }\" />\n } @else {\n <span class=\"et-table-cell-text\">{{ cell.column.header }}</span>\n }\n </span>\n </span>\n }\n\n <!-- UI from opt-in features (filter menu, …), each registered rather than referenced — see\n registerHeaderAdornment. Renders nothing when no feature is imported.\n\n Dropped once the column is covered by a pinned one: an adornment's menu is a portal, so it\n would go on floating over the pinned column, anchored to a cell nobody can see. Unmounting\n the trigger is what closes it. -->\n @if (!cell.obscured && headerAdornments().length) {\n <div class=\"et-table-header-adornments\">\n @for (adornment of headerAdornments(); track $index) {\n <ng-container\n *ngComponentOutlet=\"adornment.component; inputs: { column: cell.column }; injector: adornment.injector\"\n />\n }\n </div>\n }\n </div>\n }\n <!-- Filler cell for the trailing slack track (see hasFiller): carries the header band to the\n panel's edge when every column is a rigid width. -->\n @if (hasFiller()) {\n <div class=\"et-table-header-cell et-table-filler-cell\" role=\"presentation\" aria-hidden=\"true\"></div>\n }\n <!-- Trailing utility columns (a selection column moved to this edge). Same chrome as the leading\n ones, pinned to the trailing edge instead - see TableLeadColumn.side. -->\n @for (trail of trailCells(); track trail.key) {\n <div\n #trailHeaderCell\n [class]=\"trail.cellClass\"\n [class.et-table-sticky-end]=\"trail.sticky\"\n [style.inset-inline-end.px]=\"pageStickyHeader() ? null : trail.offset\"\n class=\"et-table-header-cell\"\n role=\"columnheader\"\n >\n @if (trail.lead.headerComponent; as headerComponent) {\n <ng-container *ngComponentOutlet=\"headerComponent; injector: trail.lead.injector\" />\n }\n </div>\n }\n </div>\n</ng-template>\n\n<ng-template #bodyContent>\n <!-- Refetching over rows that are already on screen: a 2px indeterminate bar right under the header,\n so the data stays readable and in place. Drawn here rather than with `et-progress-bar` — the base\n table takes no component dependencies, and this is 2px of chrome, not a control. -->\n @if (showBusyBar()) {\n <!-- Faded in and out: a refetch is often over in a few hundred ms, and a bar that pops in and\n vanishes reads as a flicker rather than as work happening. -->\n <div\n class=\"et-table-busy-bar\"\n animate.enter=\"et-table-busy-bar--enter\"\n animate.leave=\"et-table-busy-bar--leave\"\n role=\"presentation\"\n aria-hidden=\"true\"\n ></div>\n }\n\n @if (spacers(); as spacer) {\n <div [style.block-size.px]=\"spacer.start\" class=\"et-table-spacer\" role=\"presentation\" aria-hidden=\"true\"></div>\n }\n\n @if (hasError()) {\n <!-- The error state stands in for the whole body: rows are either trustworthy or absent. -->\n <div class=\"et-table-message-row\" role=\"row\">\n <div [attr.role]=\"cellRole()\" class=\"et-table-error-cell\" aria-live=\"polite\">\n @if (showErrorMessage()) {\n @if (errorTemplate(); as template) {\n <ng-container *ngTemplateOutlet=\"template; context: { $implicit: resolvedError() }\" />\n } @else {\n <ng-content select=\"[etTableError]\">\n <i [etProvideColor]=\"errorColorTheme()\" class=\"et-table-error-icon\" etIcon=\"et-triangle-exclamation\"></i>\n <span>{{ resolvedLabels().error }}</span>\n </ng-content>\n }\n }\n </div>\n </div>\n } @else if (showPlaceholderRows()) {\n <!-- First load with nothing to show yet. What a loading body looks like belongs to a feature\n (etTableSkeleton draws placeholder rows in these tracks); with none the body stays blank rather\n than showing a misleading empty state — the host's `aria-busy` is the announcement. -->\n @if (bodyPlaceholder(); as placeholder) {\n <ng-container *ngComponentOutlet=\"placeholder.component; injector: placeholder.injector\" />\n }\n } @else {\n @for (rowVm of bodyRows(); track rowVm.key) {\n <!-- A linked row is not a tab stop of its own: its anchor is the one stop, and the one link. -->\n <div\n [class]=\"rowVm.classes\"\n [class.et-table-row--stripe]=\"rowVm.stripe\"\n [class.et-table-row--last]=\"rowVm.last\"\n [class.et-table-row--interactive]=\"rowInteractive()\"\n [class.et-table-row--box]=\"rowBox()\"\n [class.et-table-row--card]=\"cardRows()\"\n [class.et-table-row--link]=\"rowVm.href !== null\"\n [etTableCardSurface]=\"cardRows()\"\n [attr.tabindex]=\"rowInteractive() && !cellNavigation() && rowVm.href === null ? 0 : null\"\n [attr.aria-rowindex]=\"rowVm.ariaRowIndex\"\n (click)=\"activateRow(rowVm.row, $event)\"\n (keydown.enter)=\"activateRow(rowVm.row, $event)\"\n (keydown.space)=\"activateRow(rowVm.row, $event)\"\n class=\"et-table-row\"\n role=\"row\"\n >\n @for (lead of rowVm.leads; track lead.key) {\n <div\n #gridCell\n [class]=\"lead.cellClass\"\n [attr.tabindex]=\"cellNavigation() ? -1 : null\"\n [class.et-table-sticky-start]=\"lead.sticky\"\n [style.inset-inline-start.px]=\"lead.offset\"\n [attr.role]=\"cellRole()\"\n class=\"et-table-cell\"\n >\n <ng-container\n *ngComponentOutlet=\"lead.lead.bodyComponent; inputs: { row: rowVm.row }; injector: lead.lead.injector\"\n />\n </div>\n }\n @for (cell of rowVm.cells; track cell.key) {\n <div\n #bodyCell\n #gridCell\n [attr.data-align]=\"cell.align\"\n [attr.data-col-key]=\"cell.key\"\n [attr.tabindex]=\"cellNavigation() ? -1 : null\"\n [attr.data-state]=\"cell.state\"\n [attr.id]=\"cell.labelId\"\n [class.et-table-cell--interactive]=\"cell.interactive\"\n [class.et-table-cell--editing]=\"cell.edit\"\n [class.et-skeleton--animated]=\"cell.state === 'loading'\"\n [class.et-table-sticky-start]=\"cell.stickyStart\"\n [class.et-table-sticky-end]=\"cell.stickyEnd\"\n [style.inset-inline-start.px]=\"cell.offsetStart\"\n [style.inset-inline-end.px]=\"cell.offsetEnd\"\n [attr.role]=\"cellRole()\"\n class=\"et-table-cell\"\n >\n @if (cell.edit; as edit) {\n <!-- The one cell in edit mode: the column's etTableCellEdit template, rendered with the\n editing feature's own context (the draft field). See registerCellEditing. -->\n <ng-container *ngTemplateOutlet=\"edit.template; context: edit.context\" />\n } @else if (cell.state === 'loading' && cellPlaceholder(); as placeholder) {\n <!-- A cell that is loading on its own (an inline edit saving) shows a feature's placeholder\n instead of its value; the row around it stays readable. Without one the value stays put\n and `data-state` carries the cue — see registerCellPlaceholder. -->\n <ng-container *ngComponentOutlet=\"placeholder.component; injector: placeholder.injector\" />\n } @else {\n @if (cell.state === 'error') {\n @if (cellErrorMark(); as mark) {\n <!-- A feature (etTableCellErrorTooltip) draws the mark instead, so the overlay runtime\n only ships when a table actually wants a tooltip. -->\n <ng-container\n *ngComponentOutlet=\"mark.component; inputs: { message: cell.message }; injector: mark.injector\"\n />\n } @else {\n <!-- Color-scoped here rather than on the cell: the mark is the only part that must read\n as an error, and a provider per errored cell is cheap where one per cell would not\n be. The message rides along as `title`, which costs nothing. -->\n <i\n [etProvideColor]=\"errorColorTheme()\"\n [attr.title]=\"cell.message\"\n [label]=\"cell.message\"\n class=\"et-table-cell-error-icon\"\n etIcon=\"et-triangle-exclamation\"\n ></i>\n }\n }\n @if (cell.template; as bodyTemplate) {\n <ng-container *ngTemplateOutlet=\"bodyTemplate; context: cell.context\" />\n } @else {\n <span class=\"et-table-cell-text\">{{ cell.value }}</span>\n }\n }\n </div>\n }\n @if (hasFiller()) {\n <div class=\"et-table-cell et-table-filler-cell\" role=\"presentation\" aria-hidden=\"true\"></div>\n }\n @for (trail of rowVm.trails; track trail.key) {\n <div\n #gridCell\n [class]=\"trail.cellClass\"\n [attr.tabindex]=\"cellNavigation() ? -1 : null\"\n [class.et-table-sticky-end]=\"trail.sticky\"\n [style.inset-inline-end.px]=\"trail.offset\"\n [attr.role]=\"cellRole()\"\n class=\"et-table-cell\"\n >\n <ng-container\n *ngComponentOutlet=\"trail.lead.bodyComponent; inputs: { row: rowVm.row }; injector: trail.lead.injector\"\n />\n </div>\n }\n\n @if (rowVm.href !== null) {\n <!-- The row's link: one real anchor, stretched over the row box (see rowBox) rather than\n wrapping any content, so the cells stay exactly as a table without links renders them.\n It carries no text of its own and is named by the identity cell instead - `aria-labelledby`\n resolves to that cell's content, which is the row's identity.\n\n A child of the row, not of a cell: a cell that is pinned is `position: sticky` and would\n therefore be the anchor's containing block, shrinking the row's hit area to that one\n column. The row box is the containing block that spans every cell. -->\n <a\n #rowLinkAnchor\n [attr.href]=\"rowVm.href\"\n [attr.title]=\"rowVm.title\"\n [attr.aria-labelledby]=\"rowVm.linkLabelId\"\n (click)=\"activateRowLink(rowVm.link, $event)\"\n class=\"et-table-row-link\"\n ></a>\n }\n\n @if (cardRows()) {\n <div class=\"et-table-card-corners\" role=\"presentation\" aria-hidden=\"true\"></div>\n }\n </div>\n\n <!-- The detail row of an expanded row, from etTableRowExpansion — the whole row, its chrome and\n its animation belong to the feature, so a table that never expands carries none of them. -->\n @if (rowVm.detail; as detail) {\n <ng-container *ngComponentOutlet=\"detail.component; inputs: { row: rowVm.row }; injector: detail.injector\" />\n }\n } @empty {\n <div class=\"et-table-message-row\" role=\"row\">\n <div [attr.role]=\"cellRole()\" class=\"et-table-empty-cell\">\n @if (emptyTemplate(); as template) {\n <ng-container *ngTemplateOutlet=\"template; context: { $implicit: rows() }\" />\n } @else {\n <ng-content select=\"[etTableEmpty]\">{{ resolvedLabels().empty }}</ng-content>\n }\n </div>\n </div>\n }\n }\n\n @if (spacers(); as spacer) {\n <div [style.block-size.px]=\"spacer.end\" class=\"et-table-spacer\" role=\"presentation\" aria-hidden=\"true\"></div>\n }\n\n <!-- Edge gradients marking rows scrolled out of view horizontally, on the edges no pinned column\n already marks (see visibleScrollFades). The layer is absolutely positioned over the whole grid —\n the full scroll extent, not just the viewport — which is what lets the two fades inside it hold\n their place with `position: sticky` for the entire scroll range. -->\n <div class=\"et-table-scroll-fades\" role=\"presentation\" aria-hidden=\"true\">\n <div\n [style.inset-inline-start.px]=\"fadeInset().start\"\n [class.et-table-scroll-fade--visible]=\"visibleScrollFades().start\"\n class=\"et-table-scroll-fade et-table-scroll-fade--start\"\n ></div>\n <div\n [style.inset-inline-end.px]=\"fadeInset().end\"\n [class.et-table-scroll-fade--visible]=\"visibleScrollFades().end\"\n class=\"et-table-scroll-fade et-table-scroll-fade--end\"\n ></div>\n </div>\n\n @if (hasFooter()) {\n <div [attr.aria-rowindex]=\"ariaRowCount()\" class=\"et-table-footer-row\" role=\"row\">\n @for (lead of leadCells(); track lead.key) {\n <div\n [class]=\"lead.cellClass\"\n [class.et-table-sticky-start]=\"lead.sticky\"\n [style.inset-inline-start.px]=\"lead.offset\"\n [attr.role]=\"cellRole()\"\n class=\"et-table-footer-cell\"\n aria-hidden=\"true\"\n ></div>\n }\n @for (cell of footerCells(); track cell.key) {\n <div\n [attr.data-align]=\"cell.align\"\n [class.et-table-sticky-start]=\"cell.stickyStart\"\n [class.et-table-sticky-end]=\"cell.stickyEnd\"\n [style.inset-inline-start.px]=\"cell.offsetStart\"\n [style.inset-inline-end.px]=\"cell.offsetEnd\"\n [attr.role]=\"cellRole()\"\n class=\"et-table-footer-cell\"\n >\n @if (cell.template; as footerTemplate) {\n <ng-container *ngTemplateOutlet=\"footerTemplate; context: { $implicit: rows() }\" />\n }\n </div>\n }\n @if (hasFiller()) {\n <div class=\"et-table-footer-cell et-table-filler-cell\" role=\"presentation\" aria-hidden=\"true\"></div>\n }\n @for (trail of trailCells(); track trail.key) {\n <div\n [class]=\"trail.cellClass\"\n [class.et-table-sticky-end]=\"trail.sticky\"\n [style.inset-inline-end.px]=\"trail.offset\"\n [attr.role]=\"cellRole()\"\n class=\"et-table-footer-cell\"\n aria-hidden=\"true\"\n ></div>\n }\n </div>\n }\n</ng-template>\n\n@if (pageStickyHeader()) {\n <div class=\"et-table-header-strip\" role=\"presentation\">\n <div\n #headerGrid\n [style.grid-template-columns]=\"pageHeaderColumns()\"\n class=\"et-table et-table-header\"\n role=\"rowgroup\"\n >\n <ng-container *ngTemplateOutlet=\"headerContent\" />\n </div>\n </div>\n <div #scroller (scroll)=\"syncScrollState()\" class=\"et-table-scroller\" role=\"presentation\">\n <div #grid [style.grid-template-columns]=\"templateColumns()\" class=\"et-table\" role=\"rowgroup\">\n <ng-container *ngTemplateOutlet=\"bodyContent\" />\n </div>\n </div>\n} @else {\n <div\n #grid\n [style.grid-template-columns]=\"templateColumns()\"\n [attr.role]=\"tableRole()\"\n [attr.aria-rowcount]=\"ariaRowCount()\"\n class=\"et-table\"\n >\n <ng-container *ngTemplateOutlet=\"headerContent\" />\n <ng-container *ngTemplateOutlet=\"bodyContent\" />\n </div>\n}\n\n<!-- Full-width footer slot (paginator, page-size, etc.), pinned to the bottom of the scroll viewport.\n Rendered only when the consumer projects `[etTableFooter]`, so the chrome never shows empty. -->\n@if (footerSlot()) {\n <div class=\"et-table-footer\">\n <ng-content select=\"[etTableFooter]\" />\n </div>\n}\n\n<!-- Floating UI from opt-in features (the reorder drag ghost / drop indicator), stamped here so a\n feature can draw without having a view — or an element — of its own. -->\n@for (layer of layers(); track $index) {\n <ng-container *ngComponentOutlet=\"layer.component; injector: layer.injector\" />\n}\n",
|
|
105926
|
-
styles: ["@layer components.sdk{@property --et-table-cell-padding-block{syntax: \"<length>\"; inherits: true; initial-value: 10px;}@property --et-table-cell-padding-inline{syntax: \"<length>\"; inherits: true; initial-value: 12px;}@property --et-table-opacity-disabled{syntax: \"<number>\"; inherits: true; initial-value: .4;}:where(.et-table-host){display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:1fr auto;overflow:auto;scrollbar-width:thin;scrollbar-color:color-mix(in srgb,var(--et-surface-interaction-solid, gray) 35%,transparent) transparent;--_et-table-band: color-mix( in srgb, var(--et-surface-interaction-solid, gray) 7%, var(--et-surface-background-solid, Canvas) );--_et-table-header-bg: var(--et-table-header-background-color, var(--et-surface-background-solid, Canvas));--_et-table-header-border: var( --et-table-header-border-color, var(--et-surface-border-solid, rgb(128 128 128 / .3)) );--_et-table-row-divider: transparent;--_et-table-header-adornment-size: 2.4rem;--_et-table-row-surface: var(--et-surface-background-solid, Canvas);--_et-table-stripe-bg: transparent;--_et-table-stripe-solid: var(--_et-table-row-surface);--_et-table-hover-tint: color-mix(in srgb, var(--et-surface-interaction-solid, gray) 8%, transparent);--_et-table-hover-tint-solid: color-mix( in srgb, var(--et-surface-interaction-solid, gray) 8%, var(--_et-table-row-surface) );--_et-table-row-hover: var(--_et-table-hover-tint);--_et-table-row-hover-solid: var(--_et-table-hover-tint-solid);--_et-table-pressed-tint: color-mix(in srgb, var(--et-surface-interaction-solid, gray) 16%, transparent);--_et-table-pressed-tint-solid: color-mix( in srgb, var(--et-surface-interaction-solid, gray) 16%, var(--_et-table-row-surface) );--_et-table-row-pressed: var(--_et-table-pressed-tint);--_et-table-row-pressed-solid: var(--_et-table-pressed-tint-solid);--_et-table-inert-row-hover: var(--_et-table-hover-tint);--_et-table-inert-row-hover-solid: var(--_et-table-hover-tint-solid);--_et-table-row-gap-block: 0px;--_et-table-row-paint: transparent;--_et-table-row-corner: 0px;--_et-table-header-gap-block: 0px;--_et-table-cell-rule: 0;--_et-table-sticky-clip: none;--_et-table-busy-margin-block-start: 0px;--_et-table-busy-margin-block-end: -2px;--_et-table-detail-rule: 1px solid var(--et-surface-border-solid, rgb(128 128 128 / .15));--_et-table-card-outside: var(--et-surface-background-solid, Canvas);--_et-table-pin-shadow: var( --et-table-pin-shadow-color, color-mix(in srgb, var(--et-surface-interaction-solid, black) 30%, transparent) );--_et-table-pin-shadow-inline: var(--et-table-pin-shadow-color-inline, var(--_et-table-pin-shadow));--_et-table-pin-shadow-block: var(--et-table-pin-shadow-color-block, var(--_et-table-pin-shadow));--_et-table-edge-none: 0 0 transparent;--_et-table-edge-start: var(--_et-table-edge-none);--_et-table-edge-end: var(--_et-table-edge-none);--_et-table-edge-block-start: var(--_et-table-edge-none);--_et-table-edge-block-end: var(--_et-table-edge-none)}.et-table-host--scrolled-inline-start{--_et-table-edge-start: 8px 0 10px -6px var(--_et-table-pin-shadow-inline)}.et-table-host--scrolled-inline-end{--_et-table-edge-end: -8px 0 10px -6px var(--_et-table-pin-shadow-inline)}.et-table-host--scrolled-block-start{--_et-table-edge-block-start: 0 8px 10px -6px var(--_et-table-pin-shadow-block)}.et-table-host--scrolled-block-end{--_et-table-edge-block-end: 0 -8px 10px -6px var(--_et-table-pin-shadow-block)}.et-table-host:where([data-density=sm]){--et-table-cell-padding-block: 6px;--et-table-cell-padding-inline: 10px}.et-table-host:where([data-density=md]){--et-table-cell-padding-block: 10px;--et-table-cell-padding-inline: 12px}.et-table-host:where([data-density=lg]){--et-table-cell-padding-block: 15px;--et-table-cell-padding-inline: 16px}.et-table-host:where([data-appearance=enclosed],[data-appearance=zebra],[data-appearance=grid]){border:1px solid var(--et-surface-border-solid, rgb(128 128 128 / .3));border-radius:var(--et-table-radius, 10px)}.et-table-host:where([data-appearance=enclosed]){--_et-table-header-bg: var(--et-table-header-background-color, var(--_et-table-band));--_et-table-row-divider: var(--et-surface-border-solid, rgb(128 128 128 / .15));box-shadow:0 1px 2px rgb(var(--et-shadow-color-rgb, 0 0 0) / .04),0 6px 16px rgb(var(--et-shadow-color-rgb, 0 0 0) / .06)}.et-table-host:where([data-appearance=divided]){--_et-table-row-divider: var(--et-surface-border-solid, rgb(128 128 128 / .15))}.et-table-host:where([data-appearance=zebra]){--_et-table-header-bg: var(--et-table-header-background-color, var(--_et-table-band));--_et-table-stripe-bg: color-mix(in srgb, var(--et-surface-interaction-solid, gray) 4%, transparent);--_et-table-stripe-solid: color-mix( in srgb, var(--et-surface-interaction-solid, gray) 4%, var(--_et-table-row-surface) )}.et-table-host:where([data-appearance=grid]){--_et-table-cell-rule: 1px solid var(--et-surface-border-solid, rgb(128 128 128 / .15));--_et-table-header-bg: var(--et-table-header-background-color, var(--_et-table-band));--_et-table-row-divider: var(--et-surface-border-solid, rgb(128 128 128 / .15))}.et-table-host:where([data-appearance=bare]){--_et-table-header-border: var(--et-table-header-border-color, transparent)}.et-table-host:where([data-appearance=cards]){--_et-table-row-gap-block: var(--et-table-row-gap, 8px);--_et-table-row-corner: var(--et-table-row-radius, 10px);--_et-table-header-gap-block: var(--et-table-row-gap, 8px);--_et-table-sticky-clip: inset(0 -24px);--_et-table-busy-margin-block-start: calc((var(--et-table-row-gap, 8px) + 2px) / -2);--_et-table-busy-margin-block-end: calc((var(--et-table-row-gap, 8px) - 2px) / 2);--_et-table-detail-rule: 0;--_et-table-inert-row-hover: transparent;--_et-table-header-bg: var(--et-table-header-background-color, var(--et-surface-background-solid, Canvas));--_et-table-row-divider: transparent}.et-table{display:grid;position:relative;align-content:start;inline-size:min-content;min-inline-size:100%;background:var(--et-surface-background-solid, Canvas);color:var(--et-surface-color-solid, CanvasText);font-size:14px;line-height:1.4}.et-table-header-cell.et-table-filler-cell,.et-table-cell.et-table-filler-cell,.et-table-footer-cell.et-table-filler-cell,.et-table-group-cell.et-table-filler-cell{padding-inline:0}.et-table-header-row,.et-table-row{display:contents}.et-table-header-cell,.et-table-cell{display:flex;align-items:center;min-inline-size:0;overflow:hidden;padding:var(--et-table-cell-padding-block) var(--et-table-cell-padding-inline)}.et-table-cell-text{min-inline-size:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.et-table-header-cell{position:sticky;inset-block-start:max(0px,calc(var(--_et-table-group-h, 0px) - 1px));gap:4px;z-index:1;font-size:var(--et-table-header-font-size);font-weight:var(--et-table-header-font-weight, 600);line-height:var(--et-table-header-line-height);letter-spacing:var(--et-table-header-letter-spacing);text-transform:var(--et-table-header-text-transform);min-block-size:var(--et-table-header-row-min-height, auto);color:var(--et-table-header-color, var(--et-surface-color-muted-solid, CanvasText));background:var(--_et-table-header-bg);border-block-end:1px solid var(--_et-table-header-border)}.et-table-header-adornments{display:flex;align-items:center;flex:none}.et-table-header-cell .et-table-filter-trigger,.et-table-header-cell .et-table-column-menu-trigger{--_et-icon-button-size: var(--_et-table-header-adornment-size);--_et-icon-button-icon-size: 1.6rem;min-width:24px;min-height:24px}.et-table-host--header-adornments .et-table-header-cell{min-block-size:max(calc(max(var(--_et-table-header-adornment-size),24px) + 2 * var(--et-table-cell-padding-block) + 1px),var(--et-table-header-row-min-height, 0px))}et-table.et-table-host--header-hidden :is(.et-table-header-strip,.et-table-header-cell,.et-table-group-cell){position:absolute;inline-size:1px;min-inline-size:0;block-size:1px;min-block-size:0;margin:-1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}.et-table-cell{min-block-size:var(--et-table-row-min-block-size, auto);border-block-end:1px solid var(--_et-table-row-divider)}.et-table-header-cell{box-shadow:var(--_et-table-edge-block-start)}.et-table-footer,.et-table-footer-cell{box-shadow:var(--_et-table-edge-block-end)}.et-table-row--last:not(:has(+.et-table-detail-row)) .et-table-cell{border-block-end:0}.et-table-row--stripe .et-table-cell{background:var(--_et-table-stripe-bg)}.et-table-header-cell,.et-table-cell{border-inline-end:var(--_et-table-cell-rule)}.et-table-header-row .et-table-header-cell:last-child,.et-table-row .et-table-cell:nth-last-child(1 of.et-table-cell){border-inline-end:0}.et-table-footer-row{display:contents}.et-table-footer-cell{display:flex;align-items:center;min-inline-size:0;overflow:hidden;padding:var(--et-table-cell-padding-block) var(--et-table-cell-padding-inline);position:sticky;inset-block-end:0;z-index:1;font-weight:600;background:var(--_et-table-header-bg);border-block-start:1px solid var(--et-surface-border-solid, rgb(128 128 128 / .3))}.et-table-footer-cell:where([data-align=center]){justify-content:center;text-align:center}.et-table-footer-cell:where([data-align=end]){justify-content:flex-end;text-align:end}.et-table-scroll-fades{position:absolute;inset:0;display:flex;justify-content:space-between;z-index:3;pointer-events:none}.et-table-scroll-fade{position:sticky;flex:none;inline-size:var(--et-table-scroll-fade-size, 28px);opacity:0;transition:opacity .15s ease;--_et-table-scroll-fade-color: var( --et-table-scroll-fade-color, color-mix(in srgb, var(--et-surface-interaction-solid, black) 22%, transparent) )}.et-table-scroll-fade--visible{opacity:1}.et-table-scroll-fade--start{background:linear-gradient(to right,var(--_et-table-scroll-fade-color),transparent)}.et-table-scroll-fade--end{background:linear-gradient(to left,var(--_et-table-scroll-fade-color),transparent)}@media(prefers-reduced-motion:reduce){.et-table-scroll-fade{transition:none}}.et-table-footer{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px;position:sticky;inset-block-end:0;inset-inline-start:0;z-index:4;padding:var(--et-table-cell-padding-block) var(--et-table-cell-padding-inline);background:var(--_et-table-header-bg);border-block-start:1px solid var(--et-surface-border-solid, rgb(128 128 128 / .3))}.et-table-footer-label{margin:0;font-size:14px;color:var(--et-surface-color-muted-solid, CanvasText)}@media(pointer:coarse){.et-table-footer{gap:8px;padding:8px var(--et-table-cell-padding-inline)}}.et-table-header-cell:where([data-align=center]),.et-table-cell:where([data-align=center]){justify-content:center;text-align:center}.et-table-header-cell:where([data-align=end]),.et-table-cell:where([data-align=end]){justify-content:flex-end;text-align:end}.et-table-row--interactive .et-table-cell{cursor:pointer}@media(hover:hover){.et-table-row:hover .et-table-cell{background:var(--et-table-row-hover-background, var(--_et-table-row-hover))}}.et-table-row:where(.et-table-row--interactive,.et-table-row--link):active .et-table-cell{background:var(--_et-table-row-pressed)}.et-table-expander:focus-visible,.et-table-cell:focus-visible,.et-table-header-label:focus-visible .et-table-header-label-box{outline:2px solid light-dark(var(--et-theme-color-ink-solid, currentColor),var(--et-theme-color-primary-solid, currentColor));outline-offset:-2px}.et-table-header-label:focus-visible{outline:none}.et-table-header-label{border-radius:4px}.et-table-header-label{display:flex;align-items:center;flex:1;min-inline-size:0;margin:0;padding:0;font:inherit;color:inherit;text-align:inherit;background:none;border:none}.et-table-header-label-box{display:flex;align-items:center;gap:4px;min-inline-size:0;padding:4px;margin:-4px;border-radius:4px}.et-table-header-label:where(.et-table-header-label--sortable){cursor:pointer}.et-table-header-label--sortable .et-table-header-label-box{background-color:var(--_et-table-header-label-tint, transparent);transition:background-color .12s var(--ease-out-5, ease)}@media(hover:hover){.et-table-header-label--sortable:hover:not(:disabled){--_et-table-header-label-tint: var(--_et-table-hover-tint)}}.et-table-header-label--sortable:active:not(:disabled){--_et-table-header-label-tint: var(--_et-table-pressed-tint)}.et-table-header-cell:where([data-disabled]) .et-table-header-label{opacity:var(--et-table-opacity-disabled)}.et-table-header-label:where(.et-table-header-label--sortable:disabled){cursor:not-allowed}.et-table-header-cell:where([data-align=center]) .et-table-header-label{justify-content:center}.et-table-header-cell:where([data-align=end]) .et-table-header-label{justify-content:flex-end}.et-table-sort-indicator{flex:none;inline-size:1.15em;block-size:1.15em;transform:translateY(-.045em);color:light-dark(var(--et-theme-color-ink-solid),var(--et-theme-color-primary-solid));transition:transform .2s var(--ease-out-5, ease)}.et-table-sort-indicator:where([data-direction=desc]){transform:translateY(-.045em) rotate(180deg)}.et-table-sort-indicator.et-table-sort-indicator--enter{animation:et-table-sort-in .15s ease}.et-table-sort-indicator.et-table-sort-indicator--leave{animation:et-table-sort-in .12s ease reverse forwards}@keyframes et-table-sort-in{0%{opacity:0}to{opacity:1}}@media(prefers-reduced-motion:reduce){.et-table-sort-indicator{transition:none}.et-table-sort-indicator.et-table-sort-indicator--enter,.et-table-sort-indicator.et-table-sort-indicator--leave{animation:none}}.et-table-message-row{display:contents}.et-table-empty-cell,.et-table-error-cell{grid-column:1 / -1;position:sticky;inset-inline-start:0;inline-size:var(--_et-table-viewport-inline-size, 100%);padding:32px var(--et-table-cell-padding-inline);color:var(--et-surface-color-muted-solid, CanvasText);text-align:center}.et-table-empty-cell{display:grid;place-content:center;justify-items:center}.et-table-error-cell{display:flex;flex-wrap:wrap;align-items:center;align-content:center;justify-content:center;gap:8px}.et-table-error-icon{flex:none;inline-size:16px;block-size:16px;color:var(--et-theme-color-ink-solid, currentColor)}.et-table-cell:where([data-state=error]){gap:6px}.et-table-cell-error-icon{flex:none;inline-size:14px;block-size:14px;color:var(--et-theme-color-ink-solid, currentColor)}.et-table-cell:where([data-state=loading]){display:flex}.et-table-busy-bar{grid-column:1 / -1;block-size:2px;margin-block-start:var(--_et-table-busy-margin-block-start);margin-block-end:var(--_et-table-busy-margin-block-end);overflow:hidden;background:color-mix(in srgb,var(--et-surface-interaction-solid, gray) 10%,transparent)}.et-table-busy-bar.et-table-busy-bar--enter{animation:et-table-busy-fade .15s ease}.et-table-busy-bar.et-table-busy-bar--leave{animation:et-table-busy-fade .25s ease reverse forwards}@keyframes et-table-busy-fade{0%{opacity:0}to{opacity:1}}.et-table-busy-bar:after{content:\"\";display:block;inline-size:40%;block-size:100%;border-radius:999px;background:light-dark(var(--et-theme-color-ink-solid),var(--et-theme-color-primary-solid));animation:et-table-busy-sweep 1.1s ease-in-out infinite}@keyframes et-table-busy-sweep{0%{transform:translate(-100%)}to{transform:translate(250%)}}@media(prefers-reduced-motion:reduce){.et-table-busy-bar:after{inline-size:100%;animation:none}.et-table-busy-bar.et-table-busy-bar--enter,.et-table-busy-bar.et-table-busy-bar--leave{animation:none}}.et-table-host et-checkbox:where([aria-checked=true],[aria-checked=mixed]) .et-checkbox-box{outline:1px solid var(--et-theme-color-ink-solid);outline-offset:-1px}}\n"],
|
|
106551
|
+
template: "<!-- Every binding below reads a field off a render model (see the `…Vm` types in the component):\n methods belong in event bindings, not in bindings the framework re-evaluates each pass. -->\n<ng-template #headerContent>\n <!-- Rows a feature renders above the column headers (etTableGroupHeaders' spanning group row). Each\n is display: contents and lays its own cells into these tracks — see registerHeaderRow. -->\n @for (headerRow of headerRows(); track $index) {\n <ng-container *ngComponentOutlet=\"headerRow.component; injector: headerRow.injector\" />\n }\n\n <div [attr.aria-rowindex]=\"ariaRowCount() === null ? null : headerRowCount()\" class=\"et-table-header-row\" role=\"row\">\n <!-- Leading utility columns (selection from a feature, the expander when expansion is on). The\n table owns the cell chrome; the feature only supplies what goes inside. -->\n @for (lead of leadCells(); track lead.key) {\n <div\n #leadHeaderCell\n [class]=\"lead.cellClass\"\n [class.et-table-sticky-start]=\"lead.sticky\"\n [style.inset-inline-start.px]=\"pageStickyHeader() ? null : lead.offset\"\n class=\"et-table-header-cell\"\n role=\"columnheader\"\n >\n @if (lead.lead.headerComponent; as headerComponent) {\n <ng-container *ngComponentOutlet=\"headerComponent; injector: lead.lead.injector\" />\n }\n </div>\n }\n @for (cell of headerCellVms(); track cell.key) {\n <div\n #headerCell\n [attr.data-align]=\"cell.align\"\n [attr.data-col-key]=\"cell.key\"\n [attr.data-disabled]=\"cell.disabled || null\"\n [attr.aria-sort]=\"cell.ariaSort\"\n [class.et-table-sticky-start]=\"cell.stickyStart\"\n [class.et-table-sticky-end]=\"cell.stickyEnd\"\n [style.inset-inline-start.px]=\"pageStickyHeader() ? null : cell.offsetStart\"\n [style.inset-inline-end.px]=\"pageStickyHeader() ? null : cell.offsetEnd\"\n class=\"et-table-header-cell\"\n role=\"columnheader\"\n >\n <!-- Sorting is the whole header's job, not a control's: the label plus everything around it is\n one button, and the only sort affordance is the direction arrow, which appears once the\n column is actually sorted. Adornments sit outside it so their own clicks don't sort. -->\n @if (cell.sortable) {\n <button\n [attr.aria-label]=\"cell.sortLabel\"\n [attr.aria-description]=\"cell.priorityLabel\"\n [disabled]=\"cell.disabled\"\n (click)=\"activateSortHeader(cell.key, $event)\"\n (keydown.shift.enter)=\"activateSortHeader(cell.key, $event)\"\n class=\"et-table-header-label et-table-header-label--sortable\"\n type=\"button\"\n >\n <span class=\"et-table-header-label-box\">\n @if (cell.template; as headerTemplate) {\n <ng-container *ngTemplateOutlet=\"headerTemplate; context: { $implicit: cell.column.header }\" />\n } @else {\n <span class=\"et-table-cell-text\">{{ cell.column.header }}</span>\n }\n @if (cell.direction; as direction) {\n <!-- Flipping direction keeps this element mounted, so the arrow turns over rather than\n swapping; only appearing and disappearing are the fade, and only for a sort the user\n just asked for (see sortIndicatorEnter). -->\n <i\n [attr.data-direction]=\"direction\"\n [animate.enter]=\"sortIndicatorEnter()\"\n [animate.leave]=\"sortIndicatorLeave()\"\n class=\"et-table-sort-indicator\"\n etIcon=\"et-arrow-up\"\n ></i>\n }\n @if (cell.priority; as priority) {\n <span class=\"et-table-sort-priority\" aria-hidden=\"true\">{{ priority }}</span>\n }\n </span>\n </button>\n } @else {\n <span class=\"et-table-header-label\">\n <span class=\"et-table-header-label-box\">\n @if (cell.template; as headerTemplate) {\n <ng-container *ngTemplateOutlet=\"headerTemplate; context: { $implicit: cell.column.header }\" />\n } @else {\n <span class=\"et-table-cell-text\">{{ cell.column.header }}</span>\n }\n </span>\n </span>\n }\n\n <!-- UI from opt-in features (filter menu, …), each registered rather than referenced — see\n registerHeaderAdornment. Renders nothing when no feature is imported.\n\n Dropped once the column is covered by a pinned one: an adornment's menu is a portal, so it\n would go on floating over the pinned column, anchored to a cell nobody can see. Unmounting\n the trigger is what closes it. -->\n @if (!cell.obscured && headerAdornments().length) {\n <div class=\"et-table-header-adornments\">\n @for (adornment of headerAdornments(); track $index) {\n <ng-container\n *ngComponentOutlet=\"adornment.component; inputs: { column: cell.column }; injector: adornment.injector\"\n />\n }\n </div>\n }\n </div>\n }\n <!-- Filler cell for the trailing slack track (see hasFiller): carries the header band to the\n panel's edge when every column is a rigid width. -->\n @if (hasFiller()) {\n <div class=\"et-table-header-cell et-table-filler-cell\" role=\"presentation\" aria-hidden=\"true\"></div>\n }\n <!-- Trailing utility columns (a selection column moved to this edge). Same chrome as the leading\n ones, pinned to the trailing edge instead - see TableLeadColumn.side. -->\n @for (trail of trailCells(); track trail.key) {\n <div\n #trailHeaderCell\n [class]=\"trail.cellClass\"\n [class.et-table-sticky-end]=\"trail.sticky\"\n [style.inset-inline-end.px]=\"pageStickyHeader() ? null : trail.offset\"\n class=\"et-table-header-cell\"\n role=\"columnheader\"\n >\n @if (trail.lead.headerComponent; as headerComponent) {\n <ng-container *ngComponentOutlet=\"headerComponent; injector: trail.lead.injector\" />\n }\n </div>\n }\n </div>\n</ng-template>\n\n<ng-template #bodyContent>\n <!-- Refetching over rows that are already on screen: a 2px indeterminate bar right under the header,\n so the data stays readable and in place. Drawn here rather than with `et-progress-bar` — the base\n table takes no component dependencies, and this is 2px of chrome, not a control. -->\n @if (showBusyBar()) {\n <!-- Faded in and out: a refetch is often over in a few hundred ms, and a bar that pops in and\n vanishes reads as a flicker rather than as work happening. -->\n <div\n class=\"et-table-busy-bar\"\n animate.enter=\"et-table-busy-bar--enter\"\n animate.leave=\"et-table-busy-bar--leave\"\n role=\"presentation\"\n aria-hidden=\"true\"\n ></div>\n }\n\n @if (spacers(); as spacer) {\n <div [style.block-size.px]=\"spacer.start\" class=\"et-table-spacer\" role=\"presentation\" aria-hidden=\"true\"></div>\n }\n\n @if (hasError()) {\n <!-- The error state stands in for the whole body: rows are either trustworthy or absent. -->\n <div class=\"et-table-message-row\" role=\"row\">\n <div [attr.role]=\"cellRole()\" class=\"et-table-error-cell\" aria-live=\"polite\">\n @if (showErrorMessage()) {\n @if (errorTemplate(); as template) {\n <ng-container *ngTemplateOutlet=\"template; context: { $implicit: resolvedError() }\" />\n } @else {\n <ng-content select=\"[etTableError]\">\n <i [etProvideColor]=\"errorColorTheme()\" class=\"et-table-error-icon\" etIcon=\"et-triangle-exclamation\"></i>\n <span>{{ resolvedLabels().error }}</span>\n </ng-content>\n }\n }\n </div>\n </div>\n } @else if (showPlaceholderRows()) {\n <!-- First load with nothing to show yet. What a loading body looks like belongs to a feature\n (etTableSkeleton draws placeholder rows in these tracks); with none the body stays blank rather\n than showing a misleading empty state — the host's `aria-busy` is the announcement. -->\n @if (bodyPlaceholder(); as placeholder) {\n <ng-container *ngComponentOutlet=\"placeholder.component; injector: placeholder.injector\" />\n }\n } @else {\n @for (rowVm of bodyRows(); track rowVm.key) {\n <!-- A linked row is not a tab stop of its own: its anchor is the one stop, and the one link. -->\n <div\n [class]=\"rowVm.classes\"\n [class.et-table-row--stripe]=\"rowVm.stripe\"\n [class.et-table-row--last]=\"rowVm.last\"\n [class.et-table-row--interactive]=\"rowInteractive()\"\n [class.et-table-row--box]=\"rowBox()\"\n [class.et-table-row--card]=\"cardRows()\"\n [class.et-table-row--link]=\"rowVm.href !== null\"\n [etTableCardSurface]=\"cardRows()\"\n [attr.tabindex]=\"rowInteractive() && !cellNavigation() && rowVm.href === null ? 0 : null\"\n [attr.aria-rowindex]=\"rowVm.ariaRowIndex\"\n (click)=\"activateRow(rowVm.row, $event)\"\n (keydown.enter)=\"activateRow(rowVm.row, $event)\"\n (keydown.space)=\"activateRow(rowVm.row, $event)\"\n class=\"et-table-row\"\n role=\"row\"\n >\n @for (lead of rowVm.leads; track lead.key) {\n <div\n #gridCell\n [class]=\"lead.cellClass\"\n [attr.tabindex]=\"cellNavigation() ? -1 : null\"\n [class.et-table-sticky-start]=\"lead.sticky\"\n [style.inset-inline-start.px]=\"lead.offset\"\n [attr.role]=\"cellRole()\"\n class=\"et-table-cell\"\n >\n <ng-container\n *ngComponentOutlet=\"lead.lead.bodyComponent; inputs: { row: rowVm.row }; injector: lead.lead.injector\"\n />\n </div>\n }\n @for (cell of rowVm.cells; track cell.key) {\n <div\n #bodyCell\n #gridCell\n [attr.data-align]=\"cell.align\"\n [attr.data-col-key]=\"cell.key\"\n [attr.tabindex]=\"cellNavigation() ? -1 : null\"\n [attr.data-state]=\"cell.state\"\n [attr.id]=\"cell.labelId\"\n [class.et-table-cell--interactive]=\"cell.interactive\"\n [class.et-table-cell--editing]=\"cell.edit\"\n [class.et-skeleton--animated]=\"cell.state === 'loading'\"\n [class.et-table-sticky-start]=\"cell.stickyStart\"\n [class.et-table-sticky-end]=\"cell.stickyEnd\"\n [style.inset-inline-start.px]=\"cell.offsetStart\"\n [style.inset-inline-end.px]=\"cell.offsetEnd\"\n [attr.role]=\"cellRole()\"\n class=\"et-table-cell\"\n >\n @if (cell.edit; as edit) {\n <!-- The one cell in edit mode: the column's etTableCellEdit template, rendered with the\n editing feature's own context (the draft field). See registerCellEditing. -->\n <ng-container *ngTemplateOutlet=\"edit.template; context: edit.context\" />\n } @else if (cell.state === 'loading' && cellPlaceholder(); as placeholder) {\n <!-- A cell that is loading on its own (an inline edit saving) shows a feature's placeholder\n instead of its value; the row around it stays readable. Without one the value stays put\n and `data-state` carries the cue — see registerCellPlaceholder. -->\n <ng-container *ngComponentOutlet=\"placeholder.component; injector: placeholder.injector\" />\n } @else {\n @if (cell.state === 'error') {\n @if (cellErrorMark(); as mark) {\n <!-- A feature (etTableCellErrorTooltip) draws the mark instead, so the overlay runtime\n only ships when a table actually wants a tooltip. -->\n <ng-container\n *ngComponentOutlet=\"mark.component; inputs: { message: cell.message }; injector: mark.injector\"\n />\n } @else {\n <!-- Color-scoped here rather than on the cell: the mark is the only part that must read\n as an error, and a provider per errored cell is cheap where one per cell would not\n be. -->\n <i\n [etProvideColor]=\"errorColorTheme()\"\n [label]=\"cell.message\"\n class=\"et-table-cell-error-icon\"\n etIcon=\"et-triangle-exclamation\"\n ></i>\n }\n }\n @if (cell.template; as bodyTemplate) {\n <ng-container *ngTemplateOutlet=\"bodyTemplate; context: cell.context\" />\n } @else {\n <span class=\"et-table-cell-text\">{{ cell.value }}</span>\n }\n }\n </div>\n }\n @if (hasFiller()) {\n <div class=\"et-table-cell et-table-filler-cell\" role=\"presentation\" aria-hidden=\"true\"></div>\n }\n @for (trail of rowVm.trails; track trail.key) {\n <div\n #gridCell\n [class]=\"trail.cellClass\"\n [attr.tabindex]=\"cellNavigation() ? -1 : null\"\n [class.et-table-sticky-end]=\"trail.sticky\"\n [style.inset-inline-end.px]=\"trail.offset\"\n [attr.role]=\"cellRole()\"\n class=\"et-table-cell\"\n >\n <ng-container\n *ngComponentOutlet=\"trail.lead.bodyComponent; inputs: { row: rowVm.row }; injector: trail.lead.injector\"\n />\n </div>\n }\n\n @if (rowVm.href !== null) {\n <!-- The row's link: one real anchor, stretched over the row box (see rowBox) rather than\n wrapping any content, so the cells stay exactly as a table without links renders them.\n It carries no text of its own and is named by the identity cell instead - `aria-labelledby`\n resolves to that cell's content, which is the row's identity.\n\n A child of the row, not of a cell: a cell that is pinned is `position: sticky` and would\n therefore be the anchor's containing block, shrinking the row's hit area to that one\n column. The row box is the containing block that spans every cell. -->\n <a\n #rowLinkAnchor\n [attr.href]=\"rowVm.href\"\n [attr.title]=\"rowVm.title\"\n [attr.aria-labelledby]=\"rowVm.linkLabelId\"\n (click)=\"activateRowLink(rowVm.link, $event)\"\n class=\"et-table-row-link\"\n ></a>\n }\n\n @if (cardRows()) {\n <div class=\"et-table-card-corners\" role=\"presentation\" aria-hidden=\"true\"></div>\n }\n </div>\n\n <!-- The detail row of an expanded row, from etTableRowExpansion — the whole row, its chrome and\n its animation belong to the feature, so a table that never expands carries none of them. -->\n @if (rowVm.detail; as detail) {\n <ng-container *ngComponentOutlet=\"detail.component; inputs: { row: rowVm.row }; injector: detail.injector\" />\n }\n } @empty {\n <div class=\"et-table-message-row\" role=\"row\">\n <div [attr.role]=\"cellRole()\" class=\"et-table-empty-cell\">\n @if (emptyTemplate(); as template) {\n <ng-container *ngTemplateOutlet=\"template; context: { $implicit: rows() }\" />\n } @else {\n <ng-content select=\"[etTableEmpty]\">{{ resolvedLabels().empty }}</ng-content>\n }\n </div>\n </div>\n }\n }\n\n @if (spacers(); as spacer) {\n <div [style.block-size.px]=\"spacer.end\" class=\"et-table-spacer\" role=\"presentation\" aria-hidden=\"true\"></div>\n }\n\n <!-- Edge gradients marking rows scrolled out of view horizontally, on the edges no pinned column\n already marks (see visibleScrollFades). The layer is absolutely positioned over the whole grid —\n the full scroll extent, not just the viewport — which is what lets the two fades inside it hold\n their place with `position: sticky` for the entire scroll range. -->\n <div class=\"et-table-scroll-fades\" role=\"presentation\" aria-hidden=\"true\">\n <div\n [style.inset-inline-start.px]=\"fadeInset().start\"\n [class.et-table-scroll-fade--visible]=\"visibleScrollFades().start\"\n class=\"et-table-scroll-fade et-table-scroll-fade--start\"\n ></div>\n <div\n [style.inset-inline-end.px]=\"fadeInset().end\"\n [class.et-table-scroll-fade--visible]=\"visibleScrollFades().end\"\n class=\"et-table-scroll-fade et-table-scroll-fade--end\"\n ></div>\n </div>\n\n @if (hasFooter()) {\n <div [attr.aria-rowindex]=\"ariaRowCount()\" class=\"et-table-footer-row\" role=\"row\">\n @for (lead of leadCells(); track lead.key) {\n <div\n [class]=\"lead.cellClass\"\n [class.et-table-sticky-start]=\"lead.sticky\"\n [style.inset-inline-start.px]=\"lead.offset\"\n [attr.role]=\"cellRole()\"\n class=\"et-table-footer-cell\"\n aria-hidden=\"true\"\n ></div>\n }\n @for (cell of footerCells(); track cell.key) {\n <div\n [attr.data-align]=\"cell.align\"\n [class.et-table-sticky-start]=\"cell.stickyStart\"\n [class.et-table-sticky-end]=\"cell.stickyEnd\"\n [style.inset-inline-start.px]=\"cell.offsetStart\"\n [style.inset-inline-end.px]=\"cell.offsetEnd\"\n [attr.role]=\"cellRole()\"\n class=\"et-table-footer-cell\"\n >\n @if (cell.template; as footerTemplate) {\n <ng-container *ngTemplateOutlet=\"footerTemplate; context: { $implicit: rows() }\" />\n }\n </div>\n }\n @if (hasFiller()) {\n <div class=\"et-table-footer-cell et-table-filler-cell\" role=\"presentation\" aria-hidden=\"true\"></div>\n }\n @for (trail of trailCells(); track trail.key) {\n <div\n [class]=\"trail.cellClass\"\n [class.et-table-sticky-end]=\"trail.sticky\"\n [style.inset-inline-end.px]=\"trail.offset\"\n [attr.role]=\"cellRole()\"\n class=\"et-table-footer-cell\"\n aria-hidden=\"true\"\n ></div>\n }\n </div>\n }\n</ng-template>\n\n@if (pageStickyHeader()) {\n <div class=\"et-table-header-strip\" role=\"presentation\">\n <div\n #headerGrid\n [style.grid-template-columns]=\"pageHeaderColumns()\"\n class=\"et-table et-table-header\"\n role=\"rowgroup\"\n >\n <ng-container *ngTemplateOutlet=\"headerContent\" />\n </div>\n </div>\n <div #scroller (scroll)=\"syncScrollState()\" class=\"et-table-scroller\" role=\"presentation\">\n <div #grid [style.grid-template-columns]=\"templateColumns()\" class=\"et-table\" role=\"rowgroup\">\n <ng-container *ngTemplateOutlet=\"bodyContent\" />\n </div>\n </div>\n} @else {\n <div\n #grid\n [style.grid-template-columns]=\"templateColumns()\"\n [attr.role]=\"tableRole()\"\n [attr.aria-rowcount]=\"ariaRowCount()\"\n class=\"et-table\"\n >\n <ng-container *ngTemplateOutlet=\"headerContent\" />\n <ng-container *ngTemplateOutlet=\"bodyContent\" />\n </div>\n}\n\n<!-- Full-width footer slot (paginator, page-size, etc.), pinned to the bottom of the scroll viewport.\n Rendered only when the consumer projects `[etTableFooter]`, so the chrome never shows empty. -->\n@if (footerSlot()) {\n <div class=\"et-table-footer\">\n <ng-content select=\"[etTableFooter]\" />\n </div>\n}\n\n<!-- Floating UI from opt-in features (the reorder drag ghost / drop indicator), stamped here so a\n feature can draw without having a view — or an element — of its own. -->\n@for (layer of layers(); track $index) {\n <ng-container *ngComponentOutlet=\"layer.component; injector: layer.injector\" />\n}\n",
|
|
106552
|
+
styles: ["@layer components.sdk{@property --et-table-cell-padding-block{syntax: \"<length>\"; inherits: true; initial-value: 10px;}@property --et-table-cell-padding-inline{syntax: \"<length>\"; inherits: true; initial-value: 12px;}@property --et-table-opacity-disabled{syntax: \"<number>\"; inherits: true; initial-value: .4;}:where(.et-table-host){display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:1fr auto;overflow:auto;scrollbar-width:thin;scrollbar-color:color-mix(in srgb,var(--et-surface-interaction-solid, gray) 35%,transparent) transparent;--_et-table-band: color-mix( in srgb, var(--et-surface-interaction-solid, gray) 7%, var(--et-surface-background-solid, Canvas) );--_et-table-header-bg: var(--et-table-header-background-color, var(--et-surface-background-solid, Canvas));--_et-table-header-border: var( --et-table-header-border-color, var(--et-surface-border-solid, rgb(128 128 128 / .3)) );--_et-table-row-divider: transparent;--_et-table-header-adornment-size: 2.4rem;--_et-table-row-surface: var(--et-surface-background-solid, Canvas);--_et-table-stripe-bg: transparent;--_et-table-stripe-solid: var(--_et-table-row-surface);--_et-table-hover-tint: color-mix(in srgb, var(--et-surface-interaction-solid, gray) 8%, transparent);--_et-table-hover-tint-solid: color-mix( in srgb, var(--et-surface-interaction-solid, gray) 8%, var(--_et-table-row-surface) );--_et-table-row-hover: var(--_et-table-hover-tint);--_et-table-row-hover-solid: var(--_et-table-hover-tint-solid);--_et-table-pressed-tint: color-mix(in srgb, var(--et-surface-interaction-solid, gray) 16%, transparent);--_et-table-pressed-tint-solid: color-mix( in srgb, var(--et-surface-interaction-solid, gray) 16%, var(--_et-table-row-surface) );--_et-table-row-pressed: var(--_et-table-pressed-tint);--_et-table-row-pressed-solid: var(--_et-table-pressed-tint-solid);--_et-table-inert-row-hover: var(--_et-table-hover-tint);--_et-table-inert-row-hover-solid: var(--_et-table-hover-tint-solid);--_et-table-row-gap-block: 0px;--_et-table-row-paint: transparent;--_et-table-row-corner: 0px;--_et-table-header-gap-block: 0px;--_et-table-cell-rule: 0;--_et-table-sticky-clip: none;--_et-table-busy-margin-block-start: 0px;--_et-table-busy-margin-block-end: -2px;--_et-table-detail-rule: 1px solid var(--et-surface-border-solid, rgb(128 128 128 / .15));--_et-table-card-outside: var(--et-surface-background-solid, Canvas);--_et-table-pin-shadow: var( --et-table-pin-shadow-color, color-mix(in srgb, var(--et-surface-interaction-solid, black) 30%, transparent) );--_et-table-pin-shadow-inline: var(--et-table-pin-shadow-color-inline, var(--_et-table-pin-shadow));--_et-table-pin-shadow-block: var(--et-table-pin-shadow-color-block, var(--_et-table-pin-shadow));--_et-table-edge-none: 0 0 transparent;--_et-table-edge-start: var(--_et-table-edge-none);--_et-table-edge-end: var(--_et-table-edge-none);--_et-table-edge-block-start: var(--_et-table-edge-none);--_et-table-edge-block-end: var(--_et-table-edge-none)}.et-table-host--scrolled-inline-start{--_et-table-edge-start: 8px 0 10px -6px var(--_et-table-pin-shadow-inline)}.et-table-host--scrolled-inline-end{--_et-table-edge-end: -8px 0 10px -6px var(--_et-table-pin-shadow-inline)}.et-table-host--scrolled-block-start{--_et-table-edge-block-start: 0 8px 10px -6px var(--_et-table-pin-shadow-block)}.et-table-host--scrolled-block-end{--_et-table-edge-block-end: 0 -8px 10px -6px var(--_et-table-pin-shadow-block)}.et-table-host:where([data-density=sm]){--et-table-cell-padding-block: 6px;--et-table-cell-padding-inline: 10px}.et-table-host:where([data-density=md]){--et-table-cell-padding-block: 10px;--et-table-cell-padding-inline: 12px}.et-table-host:where([data-density=lg]){--et-table-cell-padding-block: 15px;--et-table-cell-padding-inline: 16px}.et-table-host:where([data-appearance=enclosed],[data-appearance=zebra],[data-appearance=grid]){border:1px solid var(--et-surface-border-solid, rgb(128 128 128 / .3));border-radius:var(--et-table-radius, 10px)}.et-table-host:where([data-appearance=enclosed]){--_et-table-header-bg: var(--et-table-header-background-color, var(--_et-table-band));--_et-table-row-divider: var(--et-surface-border-solid, rgb(128 128 128 / .15));box-shadow:0 1px 2px rgb(var(--et-shadow-color-rgb, 0 0 0) / .04),0 6px 16px rgb(var(--et-shadow-color-rgb, 0 0 0) / .06)}.et-table-host:where([data-appearance=divided]){--_et-table-row-divider: var(--et-surface-border-solid, rgb(128 128 128 / .15))}.et-table-host:where([data-appearance=zebra]){--_et-table-header-bg: var(--et-table-header-background-color, var(--_et-table-band));--_et-table-stripe-bg: color-mix(in srgb, var(--et-surface-interaction-solid, gray) 4%, transparent);--_et-table-stripe-solid: color-mix( in srgb, var(--et-surface-interaction-solid, gray) 4%, var(--_et-table-row-surface) )}.et-table-host:where([data-appearance=grid]){--_et-table-cell-rule: 1px solid var(--et-surface-border-solid, rgb(128 128 128 / .15));--_et-table-header-bg: var(--et-table-header-background-color, var(--_et-table-band));--_et-table-row-divider: var(--et-surface-border-solid, rgb(128 128 128 / .15))}.et-table-host:where([data-appearance=bare]){--_et-table-header-border: var(--et-table-header-border-color, transparent)}.et-table-host:where([data-appearance=cards]){--_et-table-row-gap-block: var(--et-table-row-gap, 8px);--_et-table-row-corner: var(--et-table-row-radius, 10px);--_et-table-header-gap-block: var(--et-table-row-gap, 8px);--_et-table-sticky-clip: inset(0 -24px);--_et-table-busy-margin-block-start: calc((var(--et-table-row-gap, 8px) + 2px) / -2);--_et-table-busy-margin-block-end: calc((var(--et-table-row-gap, 8px) - 2px) / 2);--_et-table-detail-rule: 0;--_et-table-inert-row-hover: transparent;--_et-table-header-bg: var(--et-table-header-background-color, var(--et-surface-background-solid, Canvas));--_et-table-row-divider: transparent}.et-table{display:grid;position:relative;align-content:start;inline-size:min-content;min-inline-size:100%;background:var(--et-surface-background-solid, Canvas);color:var(--et-surface-color-solid, CanvasText);font-size:14px;line-height:1.4}.et-table-header-cell.et-table-filler-cell,.et-table-cell.et-table-filler-cell,.et-table-footer-cell.et-table-filler-cell,.et-table-group-cell.et-table-filler-cell{padding-inline:0}.et-table-header-row,.et-table-row{display:contents}.et-table-header-cell,.et-table-cell{display:flex;align-items:center;min-inline-size:0;overflow:hidden;padding:var(--et-table-cell-padding-block) var(--et-table-cell-padding-inline)}.et-table-cell-text{min-inline-size:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.et-table-header-cell{position:sticky;inset-block-start:max(0px,calc(var(--_et-table-group-h, 0px) - 1px));gap:4px;z-index:1;font-size:var(--et-table-header-font-size);font-weight:var(--et-table-header-font-weight, 600);line-height:var(--et-table-header-line-height);letter-spacing:var(--et-table-header-letter-spacing);text-transform:var(--et-table-header-text-transform);min-block-size:var(--et-table-header-row-min-height, auto);color:var(--et-table-header-color, var(--et-surface-color-muted-solid, CanvasText));background:var(--_et-table-header-bg);border-block-end:1px solid var(--_et-table-header-border)}.et-table-header-adornments{display:flex;align-items:center;flex:none}.et-table-header-cell .et-table-filter-trigger,.et-table-header-cell .et-table-column-menu-trigger{--_et-icon-button-size: var(--_et-table-header-adornment-size);--_et-icon-button-icon-size: 1.6rem;min-width:24px;min-height:24px}.et-table-host--header-adornments .et-table-header-cell{min-block-size:max(calc(max(var(--_et-table-header-adornment-size),24px) + 2 * var(--et-table-cell-padding-block) + 1px),var(--et-table-header-row-min-height, 0px))}et-table.et-table-host--header-hidden :is(.et-table-header-strip,.et-table-header-cell,.et-table-group-cell){position:absolute;inline-size:1px;min-inline-size:0;block-size:1px;min-block-size:0;margin:-1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}.et-table-cell{min-block-size:var(--et-table-row-min-block-size, auto);border-block-end:1px solid var(--_et-table-row-divider)}.et-table-header-cell{box-shadow:var(--_et-table-edge-block-start)}.et-table-footer,.et-table-footer-cell{box-shadow:var(--_et-table-edge-block-end)}.et-table-row--last:not(:has(+.et-table-detail-row)) .et-table-cell{border-block-end:0}.et-table-row--stripe .et-table-cell{background:var(--_et-table-stripe-bg)}.et-table-header-cell,.et-table-cell{border-inline-end:var(--_et-table-cell-rule)}.et-table-header-row .et-table-header-cell:last-child,.et-table-row .et-table-cell:nth-last-child(1 of.et-table-cell){border-inline-end:0}.et-table-footer-row{display:contents}.et-table-footer-cell{display:flex;align-items:center;min-inline-size:0;overflow:hidden;padding:var(--et-table-cell-padding-block) var(--et-table-cell-padding-inline);position:sticky;inset-block-end:0;z-index:1;font-weight:600;background:var(--_et-table-header-bg);border-block-start:1px solid var(--et-surface-border-solid, rgb(128 128 128 / .3))}.et-table-footer-cell:where([data-align=center]){justify-content:center;text-align:center}.et-table-footer-cell:where([data-align=end]){justify-content:flex-end;text-align:end}.et-table-scroll-fades{position:absolute;inset:0;display:flex;justify-content:space-between;z-index:3;pointer-events:none}.et-table-scroll-fade{position:sticky;flex:none;inline-size:var(--et-table-scroll-fade-size, 28px);opacity:0;transition:opacity .15s ease;--_et-table-scroll-fade-color: var( --et-table-scroll-fade-color, color-mix(in srgb, var(--et-surface-interaction-solid, black) 22%, transparent) )}.et-table-scroll-fade--visible{opacity:1}.et-table-scroll-fade--start{background:linear-gradient(to right,var(--_et-table-scroll-fade-color),transparent)}.et-table-scroll-fade--end{background:linear-gradient(to left,var(--_et-table-scroll-fade-color),transparent)}@media(prefers-reduced-motion:reduce){.et-table-scroll-fade{transition:none}}.et-table-footer{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px;position:sticky;inset-block-end:0;inset-inline-start:0;z-index:4;padding:var(--et-table-cell-padding-block) var(--et-table-cell-padding-inline);background:var(--_et-table-header-bg);border-block-start:1px solid var(--et-surface-border-solid, rgb(128 128 128 / .3))}.et-table-footer-label{margin:0;font-size:14px;color:var(--et-surface-color-muted-solid, CanvasText)}@media(pointer:coarse){.et-table-footer{gap:8px;padding:8px var(--et-table-cell-padding-inline)}}.et-table-header-cell:where([data-align=center]),.et-table-cell:where([data-align=center]){justify-content:center;text-align:center}.et-table-header-cell:where([data-align=end]),.et-table-cell:where([data-align=end]){justify-content:flex-end;text-align:end}.et-table-row--interactive .et-table-cell{cursor:pointer}@media(hover:hover){.et-table-row:hover .et-table-cell{background:var(--et-table-row-hover-background, var(--_et-table-row-hover))}}.et-table-row:where(.et-table-row--interactive,.et-table-row--link):active .et-table-cell{background:var(--_et-table-row-pressed)}.et-table-expander:focus-visible,.et-table-cell:focus-visible,.et-table-header-label:focus-visible .et-table-header-label-box{outline:2px solid light-dark(var(--et-theme-color-ink-solid, currentColor),var(--et-theme-color-primary-solid, currentColor));outline-offset:-2px}.et-table-header-label:focus-visible{outline:none}.et-table-header-label{border-radius:4px}.et-table-header-label{display:flex;align-items:center;flex:1;min-inline-size:0;margin:0;padding:0;font:inherit;color:inherit;text-align:inherit;background:none;border:none}.et-table-header-label-box{display:flex;align-items:center;gap:4px;min-inline-size:0;padding:4px;margin:-4px;border-radius:4px}.et-table-header-label:where(.et-table-header-label--sortable){cursor:pointer}.et-table-header-label--sortable .et-table-header-label-box{background-color:var(--_et-table-header-label-tint, transparent);transition:background-color .12s var(--ease-out-5, ease)}@media(hover:hover){.et-table-header-label--sortable:hover:not(:disabled){--_et-table-header-label-tint: var(--_et-table-hover-tint)}}.et-table-header-label--sortable:active:not(:disabled){--_et-table-header-label-tint: var(--_et-table-pressed-tint)}.et-table-header-cell:where([data-disabled]) .et-table-header-label{opacity:var(--et-table-opacity-disabled)}.et-table-header-label:where(.et-table-header-label--sortable:disabled){cursor:not-allowed}.et-table-header-cell:where([data-align=center]) .et-table-header-label{justify-content:center}.et-table-header-cell:where([data-align=end]) .et-table-header-label{justify-content:flex-end}.et-table-sort-indicator{flex:none;inline-size:1.15em;block-size:1.15em;transform:translateY(-.045em);color:light-dark(var(--et-theme-color-ink-solid),var(--et-theme-color-primary-solid));transition:transform .2s var(--ease-out-5, ease)}.et-table-sort-indicator:where([data-direction=desc]){transform:translateY(-.045em) rotate(180deg)}.et-table-sort-indicator.et-table-sort-indicator--enter{animation:et-table-sort-in .15s ease}.et-table-sort-indicator.et-table-sort-indicator--leave{animation:et-table-sort-in .12s ease reverse forwards}@keyframes et-table-sort-in{0%{opacity:0}to{opacity:1}}@media(prefers-reduced-motion:reduce){.et-table-sort-indicator{transition:none}.et-table-sort-indicator.et-table-sort-indicator--enter,.et-table-sort-indicator.et-table-sort-indicator--leave{animation:none}}.et-table-message-row{display:contents}.et-table-empty-cell,.et-table-error-cell{grid-column:1 / -1;position:sticky;inset-inline-start:0;box-sizing:border-box;inline-size:var(--_et-table-viewport-inline-size, 100%);padding:32px var(--et-table-cell-padding-inline);color:var(--et-surface-color-muted-solid, CanvasText);text-align:center}.et-table-empty-cell{display:grid;place-content:center;justify-items:center}.et-table-error-cell{display:flex;flex-wrap:wrap;align-items:center;align-content:center;justify-content:center;gap:8px}.et-table-error-icon{flex:none;inline-size:16px;block-size:16px;color:var(--et-theme-color-ink-solid, currentColor)}.et-table-cell:where([data-state=error]){gap:6px}.et-table-cell-error-icon{flex:none;inline-size:14px;block-size:14px;color:var(--et-theme-color-ink-solid, currentColor)}.et-table-cell:where([data-state=loading]){display:flex}.et-table-busy-bar{grid-column:1 / -1;block-size:2px;margin-block-start:var(--_et-table-busy-margin-block-start);margin-block-end:var(--_et-table-busy-margin-block-end);overflow:hidden;background:color-mix(in srgb,var(--et-surface-interaction-solid, gray) 10%,transparent)}.et-table-busy-bar.et-table-busy-bar--enter{animation:et-table-busy-fade .15s ease}.et-table-busy-bar.et-table-busy-bar--leave{animation:et-table-busy-fade .25s ease reverse forwards}@keyframes et-table-busy-fade{0%{opacity:0}to{opacity:1}}.et-table-busy-bar:after{content:\"\";display:block;inline-size:40%;block-size:100%;border-radius:999px;background:light-dark(var(--et-theme-color-ink-solid),var(--et-theme-color-primary-solid));animation:et-table-busy-sweep 1.1s ease-in-out infinite}@keyframes et-table-busy-sweep{0%{transform:translate(-100%)}to{transform:translate(250%)}}@media(prefers-reduced-motion:reduce){.et-table-busy-bar:after{inline-size:100%;animation:none}.et-table-busy-bar.et-table-busy-bar--enter,.et-table-busy-bar.et-table-busy-bar--leave{animation:none}}.et-table-host et-checkbox:where([aria-checked=true],[aria-checked=mixed]) .et-checkbox-box{outline:1px solid var(--et-theme-color-ink-solid);outline-offset:-1px}}\n"],
|
|
105927
106553
|
dependencies: [
|
|
105928
106554
|
{
|
|
105929
106555
|
kind: "directive",
|
|
@@ -106014,8 +106640,8 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
106014
106640
|
"[style.--_et-table-viewport-inline-size.px]": "viewportInlineSize()",
|
|
106015
106641
|
"(scroll)": "syncScrollState()"
|
|
106016
106642
|
},
|
|
106017
|
-
template: "<!-- Every binding below reads a field off a render model (see the `…Vm` types in the component):\n methods belong in event bindings, not in bindings the framework re-evaluates each pass. -->\n<ng-template #headerContent>\n <!-- Rows a feature renders above the column headers (etTableGroupHeaders' spanning group row). Each\n is display: contents and lays its own cells into these tracks — see registerHeaderRow. -->\n @for (headerRow of headerRows(); track $index) {\n <ng-container *ngComponentOutlet=\"headerRow.component; injector: headerRow.injector\" />\n }\n\n <div [attr.aria-rowindex]=\"ariaRowCount() === null ? null : headerRowCount()\" class=\"et-table-header-row\" role=\"row\">\n <!-- Leading utility columns (selection from a feature, the expander when expansion is on). The\n table owns the cell chrome; the feature only supplies what goes inside. -->\n @for (lead of leadCells(); track lead.key) {\n <div\n #leadHeaderCell\n [class]=\"lead.cellClass\"\n [class.et-table-sticky-start]=\"lead.sticky\"\n [style.inset-inline-start.px]=\"pageStickyHeader() ? null : lead.offset\"\n class=\"et-table-header-cell\"\n role=\"columnheader\"\n >\n @if (lead.lead.headerComponent; as headerComponent) {\n <ng-container *ngComponentOutlet=\"headerComponent; injector: lead.lead.injector\" />\n }\n </div>\n }\n @for (cell of headerCellVms(); track cell.key) {\n <div\n #headerCell\n [attr.data-align]=\"cell.align\"\n [attr.data-col-key]=\"cell.key\"\n [attr.data-disabled]=\"cell.disabled || null\"\n [attr.aria-sort]=\"cell.ariaSort\"\n [class.et-table-sticky-start]=\"cell.stickyStart\"\n [class.et-table-sticky-end]=\"cell.stickyEnd\"\n [style.inset-inline-start.px]=\"pageStickyHeader() ? null : cell.offsetStart\"\n [style.inset-inline-end.px]=\"pageStickyHeader() ? null : cell.offsetEnd\"\n class=\"et-table-header-cell\"\n role=\"columnheader\"\n >\n <!-- Sorting is the whole header's job, not a control's: the label plus everything around it is\n one button, and the only sort affordance is the direction arrow, which appears once the\n column is actually sorted. Adornments sit outside it so their own clicks don't sort. -->\n @if (cell.sortable) {\n <button\n [attr.aria-label]=\"cell.sortLabel\"\n [attr.aria-description]=\"cell.priorityLabel\"\n [disabled]=\"cell.disabled\"\n (click)=\"activateSortHeader(cell.key, $event)\"\n (keydown.shift.enter)=\"activateSortHeader(cell.key, $event)\"\n class=\"et-table-header-label et-table-header-label--sortable\"\n type=\"button\"\n >\n <span class=\"et-table-header-label-box\">\n @if (cell.template; as headerTemplate) {\n <ng-container *ngTemplateOutlet=\"headerTemplate; context: { $implicit: cell.column.header }\" />\n } @else {\n <span class=\"et-table-cell-text\">{{ cell.column.header }}</span>\n }\n @if (cell.direction; as direction) {\n <!-- Flipping direction keeps this element mounted, so the arrow turns over rather than\n swapping; only appearing and disappearing are the fade, and only for a sort the user\n just asked for (see sortIndicatorEnter). -->\n <i\n [attr.data-direction]=\"direction\"\n [animate.enter]=\"sortIndicatorEnter()\"\n [animate.leave]=\"sortIndicatorLeave()\"\n class=\"et-table-sort-indicator\"\n etIcon=\"et-arrow-up\"\n ></i>\n }\n @if (cell.priority; as priority) {\n <span class=\"et-table-sort-priority\" aria-hidden=\"true\">{{ priority }}</span>\n }\n </span>\n </button>\n } @else {\n <span class=\"et-table-header-label\">\n <span class=\"et-table-header-label-box\">\n @if (cell.template; as headerTemplate) {\n <ng-container *ngTemplateOutlet=\"headerTemplate; context: { $implicit: cell.column.header }\" />\n } @else {\n <span class=\"et-table-cell-text\">{{ cell.column.header }}</span>\n }\n </span>\n </span>\n }\n\n <!-- UI from opt-in features (filter menu, …), each registered rather than referenced — see\n registerHeaderAdornment. Renders nothing when no feature is imported.\n\n Dropped once the column is covered by a pinned one: an adornment's menu is a portal, so it\n would go on floating over the pinned column, anchored to a cell nobody can see. Unmounting\n the trigger is what closes it. -->\n @if (!cell.obscured && headerAdornments().length) {\n <div class=\"et-table-header-adornments\">\n @for (adornment of headerAdornments(); track $index) {\n <ng-container\n *ngComponentOutlet=\"adornment.component; inputs: { column: cell.column }; injector: adornment.injector\"\n />\n }\n </div>\n }\n </div>\n }\n <!-- Filler cell for the trailing slack track (see hasFiller): carries the header band to the\n panel's edge when every column is a rigid width. -->\n @if (hasFiller()) {\n <div class=\"et-table-header-cell et-table-filler-cell\" role=\"presentation\" aria-hidden=\"true\"></div>\n }\n <!-- Trailing utility columns (a selection column moved to this edge). Same chrome as the leading\n ones, pinned to the trailing edge instead - see TableLeadColumn.side. -->\n @for (trail of trailCells(); track trail.key) {\n <div\n #trailHeaderCell\n [class]=\"trail.cellClass\"\n [class.et-table-sticky-end]=\"trail.sticky\"\n [style.inset-inline-end.px]=\"pageStickyHeader() ? null : trail.offset\"\n class=\"et-table-header-cell\"\n role=\"columnheader\"\n >\n @if (trail.lead.headerComponent; as headerComponent) {\n <ng-container *ngComponentOutlet=\"headerComponent; injector: trail.lead.injector\" />\n }\n </div>\n }\n </div>\n</ng-template>\n\n<ng-template #bodyContent>\n <!-- Refetching over rows that are already on screen: a 2px indeterminate bar right under the header,\n so the data stays readable and in place. Drawn here rather than with `et-progress-bar` — the base\n table takes no component dependencies, and this is 2px of chrome, not a control. -->\n @if (showBusyBar()) {\n <!-- Faded in and out: a refetch is often over in a few hundred ms, and a bar that pops in and\n vanishes reads as a flicker rather than as work happening. -->\n <div\n class=\"et-table-busy-bar\"\n animate.enter=\"et-table-busy-bar--enter\"\n animate.leave=\"et-table-busy-bar--leave\"\n role=\"presentation\"\n aria-hidden=\"true\"\n ></div>\n }\n\n @if (spacers(); as spacer) {\n <div [style.block-size.px]=\"spacer.start\" class=\"et-table-spacer\" role=\"presentation\" aria-hidden=\"true\"></div>\n }\n\n @if (hasError()) {\n <!-- The error state stands in for the whole body: rows are either trustworthy or absent. -->\n <div class=\"et-table-message-row\" role=\"row\">\n <div [attr.role]=\"cellRole()\" class=\"et-table-error-cell\" aria-live=\"polite\">\n @if (showErrorMessage()) {\n @if (errorTemplate(); as template) {\n <ng-container *ngTemplateOutlet=\"template; context: { $implicit: resolvedError() }\" />\n } @else {\n <ng-content select=\"[etTableError]\">\n <i [etProvideColor]=\"errorColorTheme()\" class=\"et-table-error-icon\" etIcon=\"et-triangle-exclamation\"></i>\n <span>{{ resolvedLabels().error }}</span>\n </ng-content>\n }\n }\n </div>\n </div>\n } @else if (showPlaceholderRows()) {\n <!-- First load with nothing to show yet. What a loading body looks like belongs to a feature\n (etTableSkeleton draws placeholder rows in these tracks); with none the body stays blank rather\n than showing a misleading empty state — the host's `aria-busy` is the announcement. -->\n @if (bodyPlaceholder(); as placeholder) {\n <ng-container *ngComponentOutlet=\"placeholder.component; injector: placeholder.injector\" />\n }\n } @else {\n @for (rowVm of bodyRows(); track rowVm.key) {\n <!-- A linked row is not a tab stop of its own: its anchor is the one stop, and the one link. -->\n <div\n [class]=\"rowVm.classes\"\n [class.et-table-row--stripe]=\"rowVm.stripe\"\n [class.et-table-row--last]=\"rowVm.last\"\n [class.et-table-row--interactive]=\"rowInteractive()\"\n [class.et-table-row--box]=\"rowBox()\"\n [class.et-table-row--card]=\"cardRows()\"\n [class.et-table-row--link]=\"rowVm.href !== null\"\n [etTableCardSurface]=\"cardRows()\"\n [attr.tabindex]=\"rowInteractive() && !cellNavigation() && rowVm.href === null ? 0 : null\"\n [attr.aria-rowindex]=\"rowVm.ariaRowIndex\"\n (click)=\"activateRow(rowVm.row, $event)\"\n (keydown.enter)=\"activateRow(rowVm.row, $event)\"\n (keydown.space)=\"activateRow(rowVm.row, $event)\"\n class=\"et-table-row\"\n role=\"row\"\n >\n @for (lead of rowVm.leads; track lead.key) {\n <div\n #gridCell\n [class]=\"lead.cellClass\"\n [attr.tabindex]=\"cellNavigation() ? -1 : null\"\n [class.et-table-sticky-start]=\"lead.sticky\"\n [style.inset-inline-start.px]=\"lead.offset\"\n [attr.role]=\"cellRole()\"\n class=\"et-table-cell\"\n >\n <ng-container\n *ngComponentOutlet=\"lead.lead.bodyComponent; inputs: { row: rowVm.row }; injector: lead.lead.injector\"\n />\n </div>\n }\n @for (cell of rowVm.cells; track cell.key) {\n <div\n #bodyCell\n #gridCell\n [attr.data-align]=\"cell.align\"\n [attr.data-col-key]=\"cell.key\"\n [attr.tabindex]=\"cellNavigation() ? -1 : null\"\n [attr.data-state]=\"cell.state\"\n [attr.id]=\"cell.labelId\"\n [class.et-table-cell--interactive]=\"cell.interactive\"\n [class.et-table-cell--editing]=\"cell.edit\"\n [class.et-skeleton--animated]=\"cell.state === 'loading'\"\n [class.et-table-sticky-start]=\"cell.stickyStart\"\n [class.et-table-sticky-end]=\"cell.stickyEnd\"\n [style.inset-inline-start.px]=\"cell.offsetStart\"\n [style.inset-inline-end.px]=\"cell.offsetEnd\"\n [attr.role]=\"cellRole()\"\n class=\"et-table-cell\"\n >\n @if (cell.edit; as edit) {\n <!-- The one cell in edit mode: the column's etTableCellEdit template, rendered with the\n editing feature's own context (the draft field). See registerCellEditing. -->\n <ng-container *ngTemplateOutlet=\"edit.template; context: edit.context\" />\n } @else if (cell.state === 'loading' && cellPlaceholder(); as placeholder) {\n <!-- A cell that is loading on its own (an inline edit saving) shows a feature's placeholder\n instead of its value; the row around it stays readable. Without one the value stays put\n and `data-state` carries the cue — see registerCellPlaceholder. -->\n <ng-container *ngComponentOutlet=\"placeholder.component; injector: placeholder.injector\" />\n } @else {\n @if (cell.state === 'error') {\n @if (cellErrorMark(); as mark) {\n <!-- A feature (etTableCellErrorTooltip) draws the mark instead, so the overlay runtime\n only ships when a table actually wants a tooltip. -->\n <ng-container\n *ngComponentOutlet=\"mark.component; inputs: { message: cell.message }; injector: mark.injector\"\n />\n } @else {\n <!-- Color-scoped here rather than on the cell: the mark is the only part that must read\n as an error, and a provider per errored cell is cheap where one per cell would not\n be. The message rides along as `title`, which costs nothing. -->\n <i\n [etProvideColor]=\"errorColorTheme()\"\n [attr.title]=\"cell.message\"\n [label]=\"cell.message\"\n class=\"et-table-cell-error-icon\"\n etIcon=\"et-triangle-exclamation\"\n ></i>\n }\n }\n @if (cell.template; as bodyTemplate) {\n <ng-container *ngTemplateOutlet=\"bodyTemplate; context: cell.context\" />\n } @else {\n <span class=\"et-table-cell-text\">{{ cell.value }}</span>\n }\n }\n </div>\n }\n @if (hasFiller()) {\n <div class=\"et-table-cell et-table-filler-cell\" role=\"presentation\" aria-hidden=\"true\"></div>\n }\n @for (trail of rowVm.trails; track trail.key) {\n <div\n #gridCell\n [class]=\"trail.cellClass\"\n [attr.tabindex]=\"cellNavigation() ? -1 : null\"\n [class.et-table-sticky-end]=\"trail.sticky\"\n [style.inset-inline-end.px]=\"trail.offset\"\n [attr.role]=\"cellRole()\"\n class=\"et-table-cell\"\n >\n <ng-container\n *ngComponentOutlet=\"trail.lead.bodyComponent; inputs: { row: rowVm.row }; injector: trail.lead.injector\"\n />\n </div>\n }\n\n @if (rowVm.href !== null) {\n <!-- The row's link: one real anchor, stretched over the row box (see rowBox) rather than\n wrapping any content, so the cells stay exactly as a table without links renders them.\n It carries no text of its own and is named by the identity cell instead - `aria-labelledby`\n resolves to that cell's content, which is the row's identity.\n\n A child of the row, not of a cell: a cell that is pinned is `position: sticky` and would\n therefore be the anchor's containing block, shrinking the row's hit area to that one\n column. The row box is the containing block that spans every cell. -->\n <a\n #rowLinkAnchor\n [attr.href]=\"rowVm.href\"\n [attr.title]=\"rowVm.title\"\n [attr.aria-labelledby]=\"rowVm.linkLabelId\"\n (click)=\"activateRowLink(rowVm.link, $event)\"\n class=\"et-table-row-link\"\n ></a>\n }\n\n @if (cardRows()) {\n <div class=\"et-table-card-corners\" role=\"presentation\" aria-hidden=\"true\"></div>\n }\n </div>\n\n <!-- The detail row of an expanded row, from etTableRowExpansion — the whole row, its chrome and\n its animation belong to the feature, so a table that never expands carries none of them. -->\n @if (rowVm.detail; as detail) {\n <ng-container *ngComponentOutlet=\"detail.component; inputs: { row: rowVm.row }; injector: detail.injector\" />\n }\n } @empty {\n <div class=\"et-table-message-row\" role=\"row\">\n <div [attr.role]=\"cellRole()\" class=\"et-table-empty-cell\">\n @if (emptyTemplate(); as template) {\n <ng-container *ngTemplateOutlet=\"template; context: { $implicit: rows() }\" />\n } @else {\n <ng-content select=\"[etTableEmpty]\">{{ resolvedLabels().empty }}</ng-content>\n }\n </div>\n </div>\n }\n }\n\n @if (spacers(); as spacer) {\n <div [style.block-size.px]=\"spacer.end\" class=\"et-table-spacer\" role=\"presentation\" aria-hidden=\"true\"></div>\n }\n\n <!-- Edge gradients marking rows scrolled out of view horizontally, on the edges no pinned column\n already marks (see visibleScrollFades). The layer is absolutely positioned over the whole grid —\n the full scroll extent, not just the viewport — which is what lets the two fades inside it hold\n their place with `position: sticky` for the entire scroll range. -->\n <div class=\"et-table-scroll-fades\" role=\"presentation\" aria-hidden=\"true\">\n <div\n [style.inset-inline-start.px]=\"fadeInset().start\"\n [class.et-table-scroll-fade--visible]=\"visibleScrollFades().start\"\n class=\"et-table-scroll-fade et-table-scroll-fade--start\"\n ></div>\n <div\n [style.inset-inline-end.px]=\"fadeInset().end\"\n [class.et-table-scroll-fade--visible]=\"visibleScrollFades().end\"\n class=\"et-table-scroll-fade et-table-scroll-fade--end\"\n ></div>\n </div>\n\n @if (hasFooter()) {\n <div [attr.aria-rowindex]=\"ariaRowCount()\" class=\"et-table-footer-row\" role=\"row\">\n @for (lead of leadCells(); track lead.key) {\n <div\n [class]=\"lead.cellClass\"\n [class.et-table-sticky-start]=\"lead.sticky\"\n [style.inset-inline-start.px]=\"lead.offset\"\n [attr.role]=\"cellRole()\"\n class=\"et-table-footer-cell\"\n aria-hidden=\"true\"\n ></div>\n }\n @for (cell of footerCells(); track cell.key) {\n <div\n [attr.data-align]=\"cell.align\"\n [class.et-table-sticky-start]=\"cell.stickyStart\"\n [class.et-table-sticky-end]=\"cell.stickyEnd\"\n [style.inset-inline-start.px]=\"cell.offsetStart\"\n [style.inset-inline-end.px]=\"cell.offsetEnd\"\n [attr.role]=\"cellRole()\"\n class=\"et-table-footer-cell\"\n >\n @if (cell.template; as footerTemplate) {\n <ng-container *ngTemplateOutlet=\"footerTemplate; context: { $implicit: rows() }\" />\n }\n </div>\n }\n @if (hasFiller()) {\n <div class=\"et-table-footer-cell et-table-filler-cell\" role=\"presentation\" aria-hidden=\"true\"></div>\n }\n @for (trail of trailCells(); track trail.key) {\n <div\n [class]=\"trail.cellClass\"\n [class.et-table-sticky-end]=\"trail.sticky\"\n [style.inset-inline-end.px]=\"trail.offset\"\n [attr.role]=\"cellRole()\"\n class=\"et-table-footer-cell\"\n aria-hidden=\"true\"\n ></div>\n }\n </div>\n }\n</ng-template>\n\n@if (pageStickyHeader()) {\n <div class=\"et-table-header-strip\" role=\"presentation\">\n <div\n #headerGrid\n [style.grid-template-columns]=\"pageHeaderColumns()\"\n class=\"et-table et-table-header\"\n role=\"rowgroup\"\n >\n <ng-container *ngTemplateOutlet=\"headerContent\" />\n </div>\n </div>\n <div #scroller (scroll)=\"syncScrollState()\" class=\"et-table-scroller\" role=\"presentation\">\n <div #grid [style.grid-template-columns]=\"templateColumns()\" class=\"et-table\" role=\"rowgroup\">\n <ng-container *ngTemplateOutlet=\"bodyContent\" />\n </div>\n </div>\n} @else {\n <div\n #grid\n [style.grid-template-columns]=\"templateColumns()\"\n [attr.role]=\"tableRole()\"\n [attr.aria-rowcount]=\"ariaRowCount()\"\n class=\"et-table\"\n >\n <ng-container *ngTemplateOutlet=\"headerContent\" />\n <ng-container *ngTemplateOutlet=\"bodyContent\" />\n </div>\n}\n\n<!-- Full-width footer slot (paginator, page-size, etc.), pinned to the bottom of the scroll viewport.\n Rendered only when the consumer projects `[etTableFooter]`, so the chrome never shows empty. -->\n@if (footerSlot()) {\n <div class=\"et-table-footer\">\n <ng-content select=\"[etTableFooter]\" />\n </div>\n}\n\n<!-- Floating UI from opt-in features (the reorder drag ghost / drop indicator), stamped here so a\n feature can draw without having a view — or an element — of its own. -->\n@for (layer of layers(); track $index) {\n <ng-container *ngComponentOutlet=\"layer.component; injector: layer.injector\" />\n}\n",
|
|
106018
|
-
styles: ["@layer components.sdk{@property --et-table-cell-padding-block{syntax: \"<length>\"; inherits: true; initial-value: 10px;}@property --et-table-cell-padding-inline{syntax: \"<length>\"; inherits: true; initial-value: 12px;}@property --et-table-opacity-disabled{syntax: \"<number>\"; inherits: true; initial-value: .4;}:where(.et-table-host){display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:1fr auto;overflow:auto;scrollbar-width:thin;scrollbar-color:color-mix(in srgb,var(--et-surface-interaction-solid, gray) 35%,transparent) transparent;--_et-table-band: color-mix( in srgb, var(--et-surface-interaction-solid, gray) 7%, var(--et-surface-background-solid, Canvas) );--_et-table-header-bg: var(--et-table-header-background-color, var(--et-surface-background-solid, Canvas));--_et-table-header-border: var( --et-table-header-border-color, var(--et-surface-border-solid, rgb(128 128 128 / .3)) );--_et-table-row-divider: transparent;--_et-table-header-adornment-size: 2.4rem;--_et-table-row-surface: var(--et-surface-background-solid, Canvas);--_et-table-stripe-bg: transparent;--_et-table-stripe-solid: var(--_et-table-row-surface);--_et-table-hover-tint: color-mix(in srgb, var(--et-surface-interaction-solid, gray) 8%, transparent);--_et-table-hover-tint-solid: color-mix( in srgb, var(--et-surface-interaction-solid, gray) 8%, var(--_et-table-row-surface) );--_et-table-row-hover: var(--_et-table-hover-tint);--_et-table-row-hover-solid: var(--_et-table-hover-tint-solid);--_et-table-pressed-tint: color-mix(in srgb, var(--et-surface-interaction-solid, gray) 16%, transparent);--_et-table-pressed-tint-solid: color-mix( in srgb, var(--et-surface-interaction-solid, gray) 16%, var(--_et-table-row-surface) );--_et-table-row-pressed: var(--_et-table-pressed-tint);--_et-table-row-pressed-solid: var(--_et-table-pressed-tint-solid);--_et-table-inert-row-hover: var(--_et-table-hover-tint);--_et-table-inert-row-hover-solid: var(--_et-table-hover-tint-solid);--_et-table-row-gap-block: 0px;--_et-table-row-paint: transparent;--_et-table-row-corner: 0px;--_et-table-header-gap-block: 0px;--_et-table-cell-rule: 0;--_et-table-sticky-clip: none;--_et-table-busy-margin-block-start: 0px;--_et-table-busy-margin-block-end: -2px;--_et-table-detail-rule: 1px solid var(--et-surface-border-solid, rgb(128 128 128 / .15));--_et-table-card-outside: var(--et-surface-background-solid, Canvas);--_et-table-pin-shadow: var( --et-table-pin-shadow-color, color-mix(in srgb, var(--et-surface-interaction-solid, black) 30%, transparent) );--_et-table-pin-shadow-inline: var(--et-table-pin-shadow-color-inline, var(--_et-table-pin-shadow));--_et-table-pin-shadow-block: var(--et-table-pin-shadow-color-block, var(--_et-table-pin-shadow));--_et-table-edge-none: 0 0 transparent;--_et-table-edge-start: var(--_et-table-edge-none);--_et-table-edge-end: var(--_et-table-edge-none);--_et-table-edge-block-start: var(--_et-table-edge-none);--_et-table-edge-block-end: var(--_et-table-edge-none)}.et-table-host--scrolled-inline-start{--_et-table-edge-start: 8px 0 10px -6px var(--_et-table-pin-shadow-inline)}.et-table-host--scrolled-inline-end{--_et-table-edge-end: -8px 0 10px -6px var(--_et-table-pin-shadow-inline)}.et-table-host--scrolled-block-start{--_et-table-edge-block-start: 0 8px 10px -6px var(--_et-table-pin-shadow-block)}.et-table-host--scrolled-block-end{--_et-table-edge-block-end: 0 -8px 10px -6px var(--_et-table-pin-shadow-block)}.et-table-host:where([data-density=sm]){--et-table-cell-padding-block: 6px;--et-table-cell-padding-inline: 10px}.et-table-host:where([data-density=md]){--et-table-cell-padding-block: 10px;--et-table-cell-padding-inline: 12px}.et-table-host:where([data-density=lg]){--et-table-cell-padding-block: 15px;--et-table-cell-padding-inline: 16px}.et-table-host:where([data-appearance=enclosed],[data-appearance=zebra],[data-appearance=grid]){border:1px solid var(--et-surface-border-solid, rgb(128 128 128 / .3));border-radius:var(--et-table-radius, 10px)}.et-table-host:where([data-appearance=enclosed]){--_et-table-header-bg: var(--et-table-header-background-color, var(--_et-table-band));--_et-table-row-divider: var(--et-surface-border-solid, rgb(128 128 128 / .15));box-shadow:0 1px 2px rgb(var(--et-shadow-color-rgb, 0 0 0) / .04),0 6px 16px rgb(var(--et-shadow-color-rgb, 0 0 0) / .06)}.et-table-host:where([data-appearance=divided]){--_et-table-row-divider: var(--et-surface-border-solid, rgb(128 128 128 / .15))}.et-table-host:where([data-appearance=zebra]){--_et-table-header-bg: var(--et-table-header-background-color, var(--_et-table-band));--_et-table-stripe-bg: color-mix(in srgb, var(--et-surface-interaction-solid, gray) 4%, transparent);--_et-table-stripe-solid: color-mix( in srgb, var(--et-surface-interaction-solid, gray) 4%, var(--_et-table-row-surface) )}.et-table-host:where([data-appearance=grid]){--_et-table-cell-rule: 1px solid var(--et-surface-border-solid, rgb(128 128 128 / .15));--_et-table-header-bg: var(--et-table-header-background-color, var(--_et-table-band));--_et-table-row-divider: var(--et-surface-border-solid, rgb(128 128 128 / .15))}.et-table-host:where([data-appearance=bare]){--_et-table-header-border: var(--et-table-header-border-color, transparent)}.et-table-host:where([data-appearance=cards]){--_et-table-row-gap-block: var(--et-table-row-gap, 8px);--_et-table-row-corner: var(--et-table-row-radius, 10px);--_et-table-header-gap-block: var(--et-table-row-gap, 8px);--_et-table-sticky-clip: inset(0 -24px);--_et-table-busy-margin-block-start: calc((var(--et-table-row-gap, 8px) + 2px) / -2);--_et-table-busy-margin-block-end: calc((var(--et-table-row-gap, 8px) - 2px) / 2);--_et-table-detail-rule: 0;--_et-table-inert-row-hover: transparent;--_et-table-header-bg: var(--et-table-header-background-color, var(--et-surface-background-solid, Canvas));--_et-table-row-divider: transparent}.et-table{display:grid;position:relative;align-content:start;inline-size:min-content;min-inline-size:100%;background:var(--et-surface-background-solid, Canvas);color:var(--et-surface-color-solid, CanvasText);font-size:14px;line-height:1.4}.et-table-header-cell.et-table-filler-cell,.et-table-cell.et-table-filler-cell,.et-table-footer-cell.et-table-filler-cell,.et-table-group-cell.et-table-filler-cell{padding-inline:0}.et-table-header-row,.et-table-row{display:contents}.et-table-header-cell,.et-table-cell{display:flex;align-items:center;min-inline-size:0;overflow:hidden;padding:var(--et-table-cell-padding-block) var(--et-table-cell-padding-inline)}.et-table-cell-text{min-inline-size:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.et-table-header-cell{position:sticky;inset-block-start:max(0px,calc(var(--_et-table-group-h, 0px) - 1px));gap:4px;z-index:1;font-size:var(--et-table-header-font-size);font-weight:var(--et-table-header-font-weight, 600);line-height:var(--et-table-header-line-height);letter-spacing:var(--et-table-header-letter-spacing);text-transform:var(--et-table-header-text-transform);min-block-size:var(--et-table-header-row-min-height, auto);color:var(--et-table-header-color, var(--et-surface-color-muted-solid, CanvasText));background:var(--_et-table-header-bg);border-block-end:1px solid var(--_et-table-header-border)}.et-table-header-adornments{display:flex;align-items:center;flex:none}.et-table-header-cell .et-table-filter-trigger,.et-table-header-cell .et-table-column-menu-trigger{--_et-icon-button-size: var(--_et-table-header-adornment-size);--_et-icon-button-icon-size: 1.6rem;min-width:24px;min-height:24px}.et-table-host--header-adornments .et-table-header-cell{min-block-size:max(calc(max(var(--_et-table-header-adornment-size),24px) + 2 * var(--et-table-cell-padding-block) + 1px),var(--et-table-header-row-min-height, 0px))}et-table.et-table-host--header-hidden :is(.et-table-header-strip,.et-table-header-cell,.et-table-group-cell){position:absolute;inline-size:1px;min-inline-size:0;block-size:1px;min-block-size:0;margin:-1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}.et-table-cell{min-block-size:var(--et-table-row-min-block-size, auto);border-block-end:1px solid var(--_et-table-row-divider)}.et-table-header-cell{box-shadow:var(--_et-table-edge-block-start)}.et-table-footer,.et-table-footer-cell{box-shadow:var(--_et-table-edge-block-end)}.et-table-row--last:not(:has(+.et-table-detail-row)) .et-table-cell{border-block-end:0}.et-table-row--stripe .et-table-cell{background:var(--_et-table-stripe-bg)}.et-table-header-cell,.et-table-cell{border-inline-end:var(--_et-table-cell-rule)}.et-table-header-row .et-table-header-cell:last-child,.et-table-row .et-table-cell:nth-last-child(1 of.et-table-cell){border-inline-end:0}.et-table-footer-row{display:contents}.et-table-footer-cell{display:flex;align-items:center;min-inline-size:0;overflow:hidden;padding:var(--et-table-cell-padding-block) var(--et-table-cell-padding-inline);position:sticky;inset-block-end:0;z-index:1;font-weight:600;background:var(--_et-table-header-bg);border-block-start:1px solid var(--et-surface-border-solid, rgb(128 128 128 / .3))}.et-table-footer-cell:where([data-align=center]){justify-content:center;text-align:center}.et-table-footer-cell:where([data-align=end]){justify-content:flex-end;text-align:end}.et-table-scroll-fades{position:absolute;inset:0;display:flex;justify-content:space-between;z-index:3;pointer-events:none}.et-table-scroll-fade{position:sticky;flex:none;inline-size:var(--et-table-scroll-fade-size, 28px);opacity:0;transition:opacity .15s ease;--_et-table-scroll-fade-color: var( --et-table-scroll-fade-color, color-mix(in srgb, var(--et-surface-interaction-solid, black) 22%, transparent) )}.et-table-scroll-fade--visible{opacity:1}.et-table-scroll-fade--start{background:linear-gradient(to right,var(--_et-table-scroll-fade-color),transparent)}.et-table-scroll-fade--end{background:linear-gradient(to left,var(--_et-table-scroll-fade-color),transparent)}@media(prefers-reduced-motion:reduce){.et-table-scroll-fade{transition:none}}.et-table-footer{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px;position:sticky;inset-block-end:0;inset-inline-start:0;z-index:4;padding:var(--et-table-cell-padding-block) var(--et-table-cell-padding-inline);background:var(--_et-table-header-bg);border-block-start:1px solid var(--et-surface-border-solid, rgb(128 128 128 / .3))}.et-table-footer-label{margin:0;font-size:14px;color:var(--et-surface-color-muted-solid, CanvasText)}@media(pointer:coarse){.et-table-footer{gap:8px;padding:8px var(--et-table-cell-padding-inline)}}.et-table-header-cell:where([data-align=center]),.et-table-cell:where([data-align=center]){justify-content:center;text-align:center}.et-table-header-cell:where([data-align=end]),.et-table-cell:where([data-align=end]){justify-content:flex-end;text-align:end}.et-table-row--interactive .et-table-cell{cursor:pointer}@media(hover:hover){.et-table-row:hover .et-table-cell{background:var(--et-table-row-hover-background, var(--_et-table-row-hover))}}.et-table-row:where(.et-table-row--interactive,.et-table-row--link):active .et-table-cell{background:var(--_et-table-row-pressed)}.et-table-expander:focus-visible,.et-table-cell:focus-visible,.et-table-header-label:focus-visible .et-table-header-label-box{outline:2px solid light-dark(var(--et-theme-color-ink-solid, currentColor),var(--et-theme-color-primary-solid, currentColor));outline-offset:-2px}.et-table-header-label:focus-visible{outline:none}.et-table-header-label{border-radius:4px}.et-table-header-label{display:flex;align-items:center;flex:1;min-inline-size:0;margin:0;padding:0;font:inherit;color:inherit;text-align:inherit;background:none;border:none}.et-table-header-label-box{display:flex;align-items:center;gap:4px;min-inline-size:0;padding:4px;margin:-4px;border-radius:4px}.et-table-header-label:where(.et-table-header-label--sortable){cursor:pointer}.et-table-header-label--sortable .et-table-header-label-box{background-color:var(--_et-table-header-label-tint, transparent);transition:background-color .12s var(--ease-out-5, ease)}@media(hover:hover){.et-table-header-label--sortable:hover:not(:disabled){--_et-table-header-label-tint: var(--_et-table-hover-tint)}}.et-table-header-label--sortable:active:not(:disabled){--_et-table-header-label-tint: var(--_et-table-pressed-tint)}.et-table-header-cell:where([data-disabled]) .et-table-header-label{opacity:var(--et-table-opacity-disabled)}.et-table-header-label:where(.et-table-header-label--sortable:disabled){cursor:not-allowed}.et-table-header-cell:where([data-align=center]) .et-table-header-label{justify-content:center}.et-table-header-cell:where([data-align=end]) .et-table-header-label{justify-content:flex-end}.et-table-sort-indicator{flex:none;inline-size:1.15em;block-size:1.15em;transform:translateY(-.045em);color:light-dark(var(--et-theme-color-ink-solid),var(--et-theme-color-primary-solid));transition:transform .2s var(--ease-out-5, ease)}.et-table-sort-indicator:where([data-direction=desc]){transform:translateY(-.045em) rotate(180deg)}.et-table-sort-indicator.et-table-sort-indicator--enter{animation:et-table-sort-in .15s ease}.et-table-sort-indicator.et-table-sort-indicator--leave{animation:et-table-sort-in .12s ease reverse forwards}@keyframes et-table-sort-in{0%{opacity:0}to{opacity:1}}@media(prefers-reduced-motion:reduce){.et-table-sort-indicator{transition:none}.et-table-sort-indicator.et-table-sort-indicator--enter,.et-table-sort-indicator.et-table-sort-indicator--leave{animation:none}}.et-table-message-row{display:contents}.et-table-empty-cell,.et-table-error-cell{grid-column:1 / -1;position:sticky;inset-inline-start:0;inline-size:var(--_et-table-viewport-inline-size, 100%);padding:32px var(--et-table-cell-padding-inline);color:var(--et-surface-color-muted-solid, CanvasText);text-align:center}.et-table-empty-cell{display:grid;place-content:center;justify-items:center}.et-table-error-cell{display:flex;flex-wrap:wrap;align-items:center;align-content:center;justify-content:center;gap:8px}.et-table-error-icon{flex:none;inline-size:16px;block-size:16px;color:var(--et-theme-color-ink-solid, currentColor)}.et-table-cell:where([data-state=error]){gap:6px}.et-table-cell-error-icon{flex:none;inline-size:14px;block-size:14px;color:var(--et-theme-color-ink-solid, currentColor)}.et-table-cell:where([data-state=loading]){display:flex}.et-table-busy-bar{grid-column:1 / -1;block-size:2px;margin-block-start:var(--_et-table-busy-margin-block-start);margin-block-end:var(--_et-table-busy-margin-block-end);overflow:hidden;background:color-mix(in srgb,var(--et-surface-interaction-solid, gray) 10%,transparent)}.et-table-busy-bar.et-table-busy-bar--enter{animation:et-table-busy-fade .15s ease}.et-table-busy-bar.et-table-busy-bar--leave{animation:et-table-busy-fade .25s ease reverse forwards}@keyframes et-table-busy-fade{0%{opacity:0}to{opacity:1}}.et-table-busy-bar:after{content:\"\";display:block;inline-size:40%;block-size:100%;border-radius:999px;background:light-dark(var(--et-theme-color-ink-solid),var(--et-theme-color-primary-solid));animation:et-table-busy-sweep 1.1s ease-in-out infinite}@keyframes et-table-busy-sweep{0%{transform:translate(-100%)}to{transform:translate(250%)}}@media(prefers-reduced-motion:reduce){.et-table-busy-bar:after{inline-size:100%;animation:none}.et-table-busy-bar.et-table-busy-bar--enter,.et-table-busy-bar.et-table-busy-bar--leave{animation:none}}.et-table-host et-checkbox:where([aria-checked=true],[aria-checked=mixed]) .et-checkbox-box{outline:1px solid var(--et-theme-color-ink-solid);outline-offset:-1px}}\n"]
|
|
106643
|
+
template: "<!-- Every binding below reads a field off a render model (see the `…Vm` types in the component):\n methods belong in event bindings, not in bindings the framework re-evaluates each pass. -->\n<ng-template #headerContent>\n <!-- Rows a feature renders above the column headers (etTableGroupHeaders' spanning group row). Each\n is display: contents and lays its own cells into these tracks — see registerHeaderRow. -->\n @for (headerRow of headerRows(); track $index) {\n <ng-container *ngComponentOutlet=\"headerRow.component; injector: headerRow.injector\" />\n }\n\n <div [attr.aria-rowindex]=\"ariaRowCount() === null ? null : headerRowCount()\" class=\"et-table-header-row\" role=\"row\">\n <!-- Leading utility columns (selection from a feature, the expander when expansion is on). The\n table owns the cell chrome; the feature only supplies what goes inside. -->\n @for (lead of leadCells(); track lead.key) {\n <div\n #leadHeaderCell\n [class]=\"lead.cellClass\"\n [class.et-table-sticky-start]=\"lead.sticky\"\n [style.inset-inline-start.px]=\"pageStickyHeader() ? null : lead.offset\"\n class=\"et-table-header-cell\"\n role=\"columnheader\"\n >\n @if (lead.lead.headerComponent; as headerComponent) {\n <ng-container *ngComponentOutlet=\"headerComponent; injector: lead.lead.injector\" />\n }\n </div>\n }\n @for (cell of headerCellVms(); track cell.key) {\n <div\n #headerCell\n [attr.data-align]=\"cell.align\"\n [attr.data-col-key]=\"cell.key\"\n [attr.data-disabled]=\"cell.disabled || null\"\n [attr.aria-sort]=\"cell.ariaSort\"\n [class.et-table-sticky-start]=\"cell.stickyStart\"\n [class.et-table-sticky-end]=\"cell.stickyEnd\"\n [style.inset-inline-start.px]=\"pageStickyHeader() ? null : cell.offsetStart\"\n [style.inset-inline-end.px]=\"pageStickyHeader() ? null : cell.offsetEnd\"\n class=\"et-table-header-cell\"\n role=\"columnheader\"\n >\n <!-- Sorting is the whole header's job, not a control's: the label plus everything around it is\n one button, and the only sort affordance is the direction arrow, which appears once the\n column is actually sorted. Adornments sit outside it so their own clicks don't sort. -->\n @if (cell.sortable) {\n <button\n [attr.aria-label]=\"cell.sortLabel\"\n [attr.aria-description]=\"cell.priorityLabel\"\n [disabled]=\"cell.disabled\"\n (click)=\"activateSortHeader(cell.key, $event)\"\n (keydown.shift.enter)=\"activateSortHeader(cell.key, $event)\"\n class=\"et-table-header-label et-table-header-label--sortable\"\n type=\"button\"\n >\n <span class=\"et-table-header-label-box\">\n @if (cell.template; as headerTemplate) {\n <ng-container *ngTemplateOutlet=\"headerTemplate; context: { $implicit: cell.column.header }\" />\n } @else {\n <span class=\"et-table-cell-text\">{{ cell.column.header }}</span>\n }\n @if (cell.direction; as direction) {\n <!-- Flipping direction keeps this element mounted, so the arrow turns over rather than\n swapping; only appearing and disappearing are the fade, and only for a sort the user\n just asked for (see sortIndicatorEnter). -->\n <i\n [attr.data-direction]=\"direction\"\n [animate.enter]=\"sortIndicatorEnter()\"\n [animate.leave]=\"sortIndicatorLeave()\"\n class=\"et-table-sort-indicator\"\n etIcon=\"et-arrow-up\"\n ></i>\n }\n @if (cell.priority; as priority) {\n <span class=\"et-table-sort-priority\" aria-hidden=\"true\">{{ priority }}</span>\n }\n </span>\n </button>\n } @else {\n <span class=\"et-table-header-label\">\n <span class=\"et-table-header-label-box\">\n @if (cell.template; as headerTemplate) {\n <ng-container *ngTemplateOutlet=\"headerTemplate; context: { $implicit: cell.column.header }\" />\n } @else {\n <span class=\"et-table-cell-text\">{{ cell.column.header }}</span>\n }\n </span>\n </span>\n }\n\n <!-- UI from opt-in features (filter menu, …), each registered rather than referenced — see\n registerHeaderAdornment. Renders nothing when no feature is imported.\n\n Dropped once the column is covered by a pinned one: an adornment's menu is a portal, so it\n would go on floating over the pinned column, anchored to a cell nobody can see. Unmounting\n the trigger is what closes it. -->\n @if (!cell.obscured && headerAdornments().length) {\n <div class=\"et-table-header-adornments\">\n @for (adornment of headerAdornments(); track $index) {\n <ng-container\n *ngComponentOutlet=\"adornment.component; inputs: { column: cell.column }; injector: adornment.injector\"\n />\n }\n </div>\n }\n </div>\n }\n <!-- Filler cell for the trailing slack track (see hasFiller): carries the header band to the\n panel's edge when every column is a rigid width. -->\n @if (hasFiller()) {\n <div class=\"et-table-header-cell et-table-filler-cell\" role=\"presentation\" aria-hidden=\"true\"></div>\n }\n <!-- Trailing utility columns (a selection column moved to this edge). Same chrome as the leading\n ones, pinned to the trailing edge instead - see TableLeadColumn.side. -->\n @for (trail of trailCells(); track trail.key) {\n <div\n #trailHeaderCell\n [class]=\"trail.cellClass\"\n [class.et-table-sticky-end]=\"trail.sticky\"\n [style.inset-inline-end.px]=\"pageStickyHeader() ? null : trail.offset\"\n class=\"et-table-header-cell\"\n role=\"columnheader\"\n >\n @if (trail.lead.headerComponent; as headerComponent) {\n <ng-container *ngComponentOutlet=\"headerComponent; injector: trail.lead.injector\" />\n }\n </div>\n }\n </div>\n</ng-template>\n\n<ng-template #bodyContent>\n <!-- Refetching over rows that are already on screen: a 2px indeterminate bar right under the header,\n so the data stays readable and in place. Drawn here rather than with `et-progress-bar` — the base\n table takes no component dependencies, and this is 2px of chrome, not a control. -->\n @if (showBusyBar()) {\n <!-- Faded in and out: a refetch is often over in a few hundred ms, and a bar that pops in and\n vanishes reads as a flicker rather than as work happening. -->\n <div\n class=\"et-table-busy-bar\"\n animate.enter=\"et-table-busy-bar--enter\"\n animate.leave=\"et-table-busy-bar--leave\"\n role=\"presentation\"\n aria-hidden=\"true\"\n ></div>\n }\n\n @if (spacers(); as spacer) {\n <div [style.block-size.px]=\"spacer.start\" class=\"et-table-spacer\" role=\"presentation\" aria-hidden=\"true\"></div>\n }\n\n @if (hasError()) {\n <!-- The error state stands in for the whole body: rows are either trustworthy or absent. -->\n <div class=\"et-table-message-row\" role=\"row\">\n <div [attr.role]=\"cellRole()\" class=\"et-table-error-cell\" aria-live=\"polite\">\n @if (showErrorMessage()) {\n @if (errorTemplate(); as template) {\n <ng-container *ngTemplateOutlet=\"template; context: { $implicit: resolvedError() }\" />\n } @else {\n <ng-content select=\"[etTableError]\">\n <i [etProvideColor]=\"errorColorTheme()\" class=\"et-table-error-icon\" etIcon=\"et-triangle-exclamation\"></i>\n <span>{{ resolvedLabels().error }}</span>\n </ng-content>\n }\n }\n </div>\n </div>\n } @else if (showPlaceholderRows()) {\n <!-- First load with nothing to show yet. What a loading body looks like belongs to a feature\n (etTableSkeleton draws placeholder rows in these tracks); with none the body stays blank rather\n than showing a misleading empty state — the host's `aria-busy` is the announcement. -->\n @if (bodyPlaceholder(); as placeholder) {\n <ng-container *ngComponentOutlet=\"placeholder.component; injector: placeholder.injector\" />\n }\n } @else {\n @for (rowVm of bodyRows(); track rowVm.key) {\n <!-- A linked row is not a tab stop of its own: its anchor is the one stop, and the one link. -->\n <div\n [class]=\"rowVm.classes\"\n [class.et-table-row--stripe]=\"rowVm.stripe\"\n [class.et-table-row--last]=\"rowVm.last\"\n [class.et-table-row--interactive]=\"rowInteractive()\"\n [class.et-table-row--box]=\"rowBox()\"\n [class.et-table-row--card]=\"cardRows()\"\n [class.et-table-row--link]=\"rowVm.href !== null\"\n [etTableCardSurface]=\"cardRows()\"\n [attr.tabindex]=\"rowInteractive() && !cellNavigation() && rowVm.href === null ? 0 : null\"\n [attr.aria-rowindex]=\"rowVm.ariaRowIndex\"\n (click)=\"activateRow(rowVm.row, $event)\"\n (keydown.enter)=\"activateRow(rowVm.row, $event)\"\n (keydown.space)=\"activateRow(rowVm.row, $event)\"\n class=\"et-table-row\"\n role=\"row\"\n >\n @for (lead of rowVm.leads; track lead.key) {\n <div\n #gridCell\n [class]=\"lead.cellClass\"\n [attr.tabindex]=\"cellNavigation() ? -1 : null\"\n [class.et-table-sticky-start]=\"lead.sticky\"\n [style.inset-inline-start.px]=\"lead.offset\"\n [attr.role]=\"cellRole()\"\n class=\"et-table-cell\"\n >\n <ng-container\n *ngComponentOutlet=\"lead.lead.bodyComponent; inputs: { row: rowVm.row }; injector: lead.lead.injector\"\n />\n </div>\n }\n @for (cell of rowVm.cells; track cell.key) {\n <div\n #bodyCell\n #gridCell\n [attr.data-align]=\"cell.align\"\n [attr.data-col-key]=\"cell.key\"\n [attr.tabindex]=\"cellNavigation() ? -1 : null\"\n [attr.data-state]=\"cell.state\"\n [attr.id]=\"cell.labelId\"\n [class.et-table-cell--interactive]=\"cell.interactive\"\n [class.et-table-cell--editing]=\"cell.edit\"\n [class.et-skeleton--animated]=\"cell.state === 'loading'\"\n [class.et-table-sticky-start]=\"cell.stickyStart\"\n [class.et-table-sticky-end]=\"cell.stickyEnd\"\n [style.inset-inline-start.px]=\"cell.offsetStart\"\n [style.inset-inline-end.px]=\"cell.offsetEnd\"\n [attr.role]=\"cellRole()\"\n class=\"et-table-cell\"\n >\n @if (cell.edit; as edit) {\n <!-- The one cell in edit mode: the column's etTableCellEdit template, rendered with the\n editing feature's own context (the draft field). See registerCellEditing. -->\n <ng-container *ngTemplateOutlet=\"edit.template; context: edit.context\" />\n } @else if (cell.state === 'loading' && cellPlaceholder(); as placeholder) {\n <!-- A cell that is loading on its own (an inline edit saving) shows a feature's placeholder\n instead of its value; the row around it stays readable. Without one the value stays put\n and `data-state` carries the cue — see registerCellPlaceholder. -->\n <ng-container *ngComponentOutlet=\"placeholder.component; injector: placeholder.injector\" />\n } @else {\n @if (cell.state === 'error') {\n @if (cellErrorMark(); as mark) {\n <!-- A feature (etTableCellErrorTooltip) draws the mark instead, so the overlay runtime\n only ships when a table actually wants a tooltip. -->\n <ng-container\n *ngComponentOutlet=\"mark.component; inputs: { message: cell.message }; injector: mark.injector\"\n />\n } @else {\n <!-- Color-scoped here rather than on the cell: the mark is the only part that must read\n as an error, and a provider per errored cell is cheap where one per cell would not\n be. -->\n <i\n [etProvideColor]=\"errorColorTheme()\"\n [label]=\"cell.message\"\n class=\"et-table-cell-error-icon\"\n etIcon=\"et-triangle-exclamation\"\n ></i>\n }\n }\n @if (cell.template; as bodyTemplate) {\n <ng-container *ngTemplateOutlet=\"bodyTemplate; context: cell.context\" />\n } @else {\n <span class=\"et-table-cell-text\">{{ cell.value }}</span>\n }\n }\n </div>\n }\n @if (hasFiller()) {\n <div class=\"et-table-cell et-table-filler-cell\" role=\"presentation\" aria-hidden=\"true\"></div>\n }\n @for (trail of rowVm.trails; track trail.key) {\n <div\n #gridCell\n [class]=\"trail.cellClass\"\n [attr.tabindex]=\"cellNavigation() ? -1 : null\"\n [class.et-table-sticky-end]=\"trail.sticky\"\n [style.inset-inline-end.px]=\"trail.offset\"\n [attr.role]=\"cellRole()\"\n class=\"et-table-cell\"\n >\n <ng-container\n *ngComponentOutlet=\"trail.lead.bodyComponent; inputs: { row: rowVm.row }; injector: trail.lead.injector\"\n />\n </div>\n }\n\n @if (rowVm.href !== null) {\n <!-- The row's link: one real anchor, stretched over the row box (see rowBox) rather than\n wrapping any content, so the cells stay exactly as a table without links renders them.\n It carries no text of its own and is named by the identity cell instead - `aria-labelledby`\n resolves to that cell's content, which is the row's identity.\n\n A child of the row, not of a cell: a cell that is pinned is `position: sticky` and would\n therefore be the anchor's containing block, shrinking the row's hit area to that one\n column. The row box is the containing block that spans every cell. -->\n <a\n #rowLinkAnchor\n [attr.href]=\"rowVm.href\"\n [attr.title]=\"rowVm.title\"\n [attr.aria-labelledby]=\"rowVm.linkLabelId\"\n (click)=\"activateRowLink(rowVm.link, $event)\"\n class=\"et-table-row-link\"\n ></a>\n }\n\n @if (cardRows()) {\n <div class=\"et-table-card-corners\" role=\"presentation\" aria-hidden=\"true\"></div>\n }\n </div>\n\n <!-- The detail row of an expanded row, from etTableRowExpansion — the whole row, its chrome and\n its animation belong to the feature, so a table that never expands carries none of them. -->\n @if (rowVm.detail; as detail) {\n <ng-container *ngComponentOutlet=\"detail.component; inputs: { row: rowVm.row }; injector: detail.injector\" />\n }\n } @empty {\n <div class=\"et-table-message-row\" role=\"row\">\n <div [attr.role]=\"cellRole()\" class=\"et-table-empty-cell\">\n @if (emptyTemplate(); as template) {\n <ng-container *ngTemplateOutlet=\"template; context: { $implicit: rows() }\" />\n } @else {\n <ng-content select=\"[etTableEmpty]\">{{ resolvedLabels().empty }}</ng-content>\n }\n </div>\n </div>\n }\n }\n\n @if (spacers(); as spacer) {\n <div [style.block-size.px]=\"spacer.end\" class=\"et-table-spacer\" role=\"presentation\" aria-hidden=\"true\"></div>\n }\n\n <!-- Edge gradients marking rows scrolled out of view horizontally, on the edges no pinned column\n already marks (see visibleScrollFades). The layer is absolutely positioned over the whole grid —\n the full scroll extent, not just the viewport — which is what lets the two fades inside it hold\n their place with `position: sticky` for the entire scroll range. -->\n <div class=\"et-table-scroll-fades\" role=\"presentation\" aria-hidden=\"true\">\n <div\n [style.inset-inline-start.px]=\"fadeInset().start\"\n [class.et-table-scroll-fade--visible]=\"visibleScrollFades().start\"\n class=\"et-table-scroll-fade et-table-scroll-fade--start\"\n ></div>\n <div\n [style.inset-inline-end.px]=\"fadeInset().end\"\n [class.et-table-scroll-fade--visible]=\"visibleScrollFades().end\"\n class=\"et-table-scroll-fade et-table-scroll-fade--end\"\n ></div>\n </div>\n\n @if (hasFooter()) {\n <div [attr.aria-rowindex]=\"ariaRowCount()\" class=\"et-table-footer-row\" role=\"row\">\n @for (lead of leadCells(); track lead.key) {\n <div\n [class]=\"lead.cellClass\"\n [class.et-table-sticky-start]=\"lead.sticky\"\n [style.inset-inline-start.px]=\"lead.offset\"\n [attr.role]=\"cellRole()\"\n class=\"et-table-footer-cell\"\n aria-hidden=\"true\"\n ></div>\n }\n @for (cell of footerCells(); track cell.key) {\n <div\n [attr.data-align]=\"cell.align\"\n [class.et-table-sticky-start]=\"cell.stickyStart\"\n [class.et-table-sticky-end]=\"cell.stickyEnd\"\n [style.inset-inline-start.px]=\"cell.offsetStart\"\n [style.inset-inline-end.px]=\"cell.offsetEnd\"\n [attr.role]=\"cellRole()\"\n class=\"et-table-footer-cell\"\n >\n @if (cell.template; as footerTemplate) {\n <ng-container *ngTemplateOutlet=\"footerTemplate; context: { $implicit: rows() }\" />\n }\n </div>\n }\n @if (hasFiller()) {\n <div class=\"et-table-footer-cell et-table-filler-cell\" role=\"presentation\" aria-hidden=\"true\"></div>\n }\n @for (trail of trailCells(); track trail.key) {\n <div\n [class]=\"trail.cellClass\"\n [class.et-table-sticky-end]=\"trail.sticky\"\n [style.inset-inline-end.px]=\"trail.offset\"\n [attr.role]=\"cellRole()\"\n class=\"et-table-footer-cell\"\n aria-hidden=\"true\"\n ></div>\n }\n </div>\n }\n</ng-template>\n\n@if (pageStickyHeader()) {\n <div class=\"et-table-header-strip\" role=\"presentation\">\n <div\n #headerGrid\n [style.grid-template-columns]=\"pageHeaderColumns()\"\n class=\"et-table et-table-header\"\n role=\"rowgroup\"\n >\n <ng-container *ngTemplateOutlet=\"headerContent\" />\n </div>\n </div>\n <div #scroller (scroll)=\"syncScrollState()\" class=\"et-table-scroller\" role=\"presentation\">\n <div #grid [style.grid-template-columns]=\"templateColumns()\" class=\"et-table\" role=\"rowgroup\">\n <ng-container *ngTemplateOutlet=\"bodyContent\" />\n </div>\n </div>\n} @else {\n <div\n #grid\n [style.grid-template-columns]=\"templateColumns()\"\n [attr.role]=\"tableRole()\"\n [attr.aria-rowcount]=\"ariaRowCount()\"\n class=\"et-table\"\n >\n <ng-container *ngTemplateOutlet=\"headerContent\" />\n <ng-container *ngTemplateOutlet=\"bodyContent\" />\n </div>\n}\n\n<!-- Full-width footer slot (paginator, page-size, etc.), pinned to the bottom of the scroll viewport.\n Rendered only when the consumer projects `[etTableFooter]`, so the chrome never shows empty. -->\n@if (footerSlot()) {\n <div class=\"et-table-footer\">\n <ng-content select=\"[etTableFooter]\" />\n </div>\n}\n\n<!-- Floating UI from opt-in features (the reorder drag ghost / drop indicator), stamped here so a\n feature can draw without having a view — or an element — of its own. -->\n@for (layer of layers(); track $index) {\n <ng-container *ngComponentOutlet=\"layer.component; injector: layer.injector\" />\n}\n",
|
|
106644
|
+
styles: ["@layer components.sdk{@property --et-table-cell-padding-block{syntax: \"<length>\"; inherits: true; initial-value: 10px;}@property --et-table-cell-padding-inline{syntax: \"<length>\"; inherits: true; initial-value: 12px;}@property --et-table-opacity-disabled{syntax: \"<number>\"; inherits: true; initial-value: .4;}:where(.et-table-host){display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:1fr auto;overflow:auto;scrollbar-width:thin;scrollbar-color:color-mix(in srgb,var(--et-surface-interaction-solid, gray) 35%,transparent) transparent;--_et-table-band: color-mix( in srgb, var(--et-surface-interaction-solid, gray) 7%, var(--et-surface-background-solid, Canvas) );--_et-table-header-bg: var(--et-table-header-background-color, var(--et-surface-background-solid, Canvas));--_et-table-header-border: var( --et-table-header-border-color, var(--et-surface-border-solid, rgb(128 128 128 / .3)) );--_et-table-row-divider: transparent;--_et-table-header-adornment-size: 2.4rem;--_et-table-row-surface: var(--et-surface-background-solid, Canvas);--_et-table-stripe-bg: transparent;--_et-table-stripe-solid: var(--_et-table-row-surface);--_et-table-hover-tint: color-mix(in srgb, var(--et-surface-interaction-solid, gray) 8%, transparent);--_et-table-hover-tint-solid: color-mix( in srgb, var(--et-surface-interaction-solid, gray) 8%, var(--_et-table-row-surface) );--_et-table-row-hover: var(--_et-table-hover-tint);--_et-table-row-hover-solid: var(--_et-table-hover-tint-solid);--_et-table-pressed-tint: color-mix(in srgb, var(--et-surface-interaction-solid, gray) 16%, transparent);--_et-table-pressed-tint-solid: color-mix( in srgb, var(--et-surface-interaction-solid, gray) 16%, var(--_et-table-row-surface) );--_et-table-row-pressed: var(--_et-table-pressed-tint);--_et-table-row-pressed-solid: var(--_et-table-pressed-tint-solid);--_et-table-inert-row-hover: var(--_et-table-hover-tint);--_et-table-inert-row-hover-solid: var(--_et-table-hover-tint-solid);--_et-table-row-gap-block: 0px;--_et-table-row-paint: transparent;--_et-table-row-corner: 0px;--_et-table-header-gap-block: 0px;--_et-table-cell-rule: 0;--_et-table-sticky-clip: none;--_et-table-busy-margin-block-start: 0px;--_et-table-busy-margin-block-end: -2px;--_et-table-detail-rule: 1px solid var(--et-surface-border-solid, rgb(128 128 128 / .15));--_et-table-card-outside: var(--et-surface-background-solid, Canvas);--_et-table-pin-shadow: var( --et-table-pin-shadow-color, color-mix(in srgb, var(--et-surface-interaction-solid, black) 30%, transparent) );--_et-table-pin-shadow-inline: var(--et-table-pin-shadow-color-inline, var(--_et-table-pin-shadow));--_et-table-pin-shadow-block: var(--et-table-pin-shadow-color-block, var(--_et-table-pin-shadow));--_et-table-edge-none: 0 0 transparent;--_et-table-edge-start: var(--_et-table-edge-none);--_et-table-edge-end: var(--_et-table-edge-none);--_et-table-edge-block-start: var(--_et-table-edge-none);--_et-table-edge-block-end: var(--_et-table-edge-none)}.et-table-host--scrolled-inline-start{--_et-table-edge-start: 8px 0 10px -6px var(--_et-table-pin-shadow-inline)}.et-table-host--scrolled-inline-end{--_et-table-edge-end: -8px 0 10px -6px var(--_et-table-pin-shadow-inline)}.et-table-host--scrolled-block-start{--_et-table-edge-block-start: 0 8px 10px -6px var(--_et-table-pin-shadow-block)}.et-table-host--scrolled-block-end{--_et-table-edge-block-end: 0 -8px 10px -6px var(--_et-table-pin-shadow-block)}.et-table-host:where([data-density=sm]){--et-table-cell-padding-block: 6px;--et-table-cell-padding-inline: 10px}.et-table-host:where([data-density=md]){--et-table-cell-padding-block: 10px;--et-table-cell-padding-inline: 12px}.et-table-host:where([data-density=lg]){--et-table-cell-padding-block: 15px;--et-table-cell-padding-inline: 16px}.et-table-host:where([data-appearance=enclosed],[data-appearance=zebra],[data-appearance=grid]){border:1px solid var(--et-surface-border-solid, rgb(128 128 128 / .3));border-radius:var(--et-table-radius, 10px)}.et-table-host:where([data-appearance=enclosed]){--_et-table-header-bg: var(--et-table-header-background-color, var(--_et-table-band));--_et-table-row-divider: var(--et-surface-border-solid, rgb(128 128 128 / .15));box-shadow:0 1px 2px rgb(var(--et-shadow-color-rgb, 0 0 0) / .04),0 6px 16px rgb(var(--et-shadow-color-rgb, 0 0 0) / .06)}.et-table-host:where([data-appearance=divided]){--_et-table-row-divider: var(--et-surface-border-solid, rgb(128 128 128 / .15))}.et-table-host:where([data-appearance=zebra]){--_et-table-header-bg: var(--et-table-header-background-color, var(--_et-table-band));--_et-table-stripe-bg: color-mix(in srgb, var(--et-surface-interaction-solid, gray) 4%, transparent);--_et-table-stripe-solid: color-mix( in srgb, var(--et-surface-interaction-solid, gray) 4%, var(--_et-table-row-surface) )}.et-table-host:where([data-appearance=grid]){--_et-table-cell-rule: 1px solid var(--et-surface-border-solid, rgb(128 128 128 / .15));--_et-table-header-bg: var(--et-table-header-background-color, var(--_et-table-band));--_et-table-row-divider: var(--et-surface-border-solid, rgb(128 128 128 / .15))}.et-table-host:where([data-appearance=bare]){--_et-table-header-border: var(--et-table-header-border-color, transparent)}.et-table-host:where([data-appearance=cards]){--_et-table-row-gap-block: var(--et-table-row-gap, 8px);--_et-table-row-corner: var(--et-table-row-radius, 10px);--_et-table-header-gap-block: var(--et-table-row-gap, 8px);--_et-table-sticky-clip: inset(0 -24px);--_et-table-busy-margin-block-start: calc((var(--et-table-row-gap, 8px) + 2px) / -2);--_et-table-busy-margin-block-end: calc((var(--et-table-row-gap, 8px) - 2px) / 2);--_et-table-detail-rule: 0;--_et-table-inert-row-hover: transparent;--_et-table-header-bg: var(--et-table-header-background-color, var(--et-surface-background-solid, Canvas));--_et-table-row-divider: transparent}.et-table{display:grid;position:relative;align-content:start;inline-size:min-content;min-inline-size:100%;background:var(--et-surface-background-solid, Canvas);color:var(--et-surface-color-solid, CanvasText);font-size:14px;line-height:1.4}.et-table-header-cell.et-table-filler-cell,.et-table-cell.et-table-filler-cell,.et-table-footer-cell.et-table-filler-cell,.et-table-group-cell.et-table-filler-cell{padding-inline:0}.et-table-header-row,.et-table-row{display:contents}.et-table-header-cell,.et-table-cell{display:flex;align-items:center;min-inline-size:0;overflow:hidden;padding:var(--et-table-cell-padding-block) var(--et-table-cell-padding-inline)}.et-table-cell-text{min-inline-size:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.et-table-header-cell{position:sticky;inset-block-start:max(0px,calc(var(--_et-table-group-h, 0px) - 1px));gap:4px;z-index:1;font-size:var(--et-table-header-font-size);font-weight:var(--et-table-header-font-weight, 600);line-height:var(--et-table-header-line-height);letter-spacing:var(--et-table-header-letter-spacing);text-transform:var(--et-table-header-text-transform);min-block-size:var(--et-table-header-row-min-height, auto);color:var(--et-table-header-color, var(--et-surface-color-muted-solid, CanvasText));background:var(--_et-table-header-bg);border-block-end:1px solid var(--_et-table-header-border)}.et-table-header-adornments{display:flex;align-items:center;flex:none}.et-table-header-cell .et-table-filter-trigger,.et-table-header-cell .et-table-column-menu-trigger{--_et-icon-button-size: var(--_et-table-header-adornment-size);--_et-icon-button-icon-size: 1.6rem;min-width:24px;min-height:24px}.et-table-host--header-adornments .et-table-header-cell{min-block-size:max(calc(max(var(--_et-table-header-adornment-size),24px) + 2 * var(--et-table-cell-padding-block) + 1px),var(--et-table-header-row-min-height, 0px))}et-table.et-table-host--header-hidden :is(.et-table-header-strip,.et-table-header-cell,.et-table-group-cell){position:absolute;inline-size:1px;min-inline-size:0;block-size:1px;min-block-size:0;margin:-1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}.et-table-cell{min-block-size:var(--et-table-row-min-block-size, auto);border-block-end:1px solid var(--_et-table-row-divider)}.et-table-header-cell{box-shadow:var(--_et-table-edge-block-start)}.et-table-footer,.et-table-footer-cell{box-shadow:var(--_et-table-edge-block-end)}.et-table-row--last:not(:has(+.et-table-detail-row)) .et-table-cell{border-block-end:0}.et-table-row--stripe .et-table-cell{background:var(--_et-table-stripe-bg)}.et-table-header-cell,.et-table-cell{border-inline-end:var(--_et-table-cell-rule)}.et-table-header-row .et-table-header-cell:last-child,.et-table-row .et-table-cell:nth-last-child(1 of.et-table-cell){border-inline-end:0}.et-table-footer-row{display:contents}.et-table-footer-cell{display:flex;align-items:center;min-inline-size:0;overflow:hidden;padding:var(--et-table-cell-padding-block) var(--et-table-cell-padding-inline);position:sticky;inset-block-end:0;z-index:1;font-weight:600;background:var(--_et-table-header-bg);border-block-start:1px solid var(--et-surface-border-solid, rgb(128 128 128 / .3))}.et-table-footer-cell:where([data-align=center]){justify-content:center;text-align:center}.et-table-footer-cell:where([data-align=end]){justify-content:flex-end;text-align:end}.et-table-scroll-fades{position:absolute;inset:0;display:flex;justify-content:space-between;z-index:3;pointer-events:none}.et-table-scroll-fade{position:sticky;flex:none;inline-size:var(--et-table-scroll-fade-size, 28px);opacity:0;transition:opacity .15s ease;--_et-table-scroll-fade-color: var( --et-table-scroll-fade-color, color-mix(in srgb, var(--et-surface-interaction-solid, black) 22%, transparent) )}.et-table-scroll-fade--visible{opacity:1}.et-table-scroll-fade--start{background:linear-gradient(to right,var(--_et-table-scroll-fade-color),transparent)}.et-table-scroll-fade--end{background:linear-gradient(to left,var(--_et-table-scroll-fade-color),transparent)}@media(prefers-reduced-motion:reduce){.et-table-scroll-fade{transition:none}}.et-table-footer{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px;position:sticky;inset-block-end:0;inset-inline-start:0;z-index:4;padding:var(--et-table-cell-padding-block) var(--et-table-cell-padding-inline);background:var(--_et-table-header-bg);border-block-start:1px solid var(--et-surface-border-solid, rgb(128 128 128 / .3))}.et-table-footer-label{margin:0;font-size:14px;color:var(--et-surface-color-muted-solid, CanvasText)}@media(pointer:coarse){.et-table-footer{gap:8px;padding:8px var(--et-table-cell-padding-inline)}}.et-table-header-cell:where([data-align=center]),.et-table-cell:where([data-align=center]){justify-content:center;text-align:center}.et-table-header-cell:where([data-align=end]),.et-table-cell:where([data-align=end]){justify-content:flex-end;text-align:end}.et-table-row--interactive .et-table-cell{cursor:pointer}@media(hover:hover){.et-table-row:hover .et-table-cell{background:var(--et-table-row-hover-background, var(--_et-table-row-hover))}}.et-table-row:where(.et-table-row--interactive,.et-table-row--link):active .et-table-cell{background:var(--_et-table-row-pressed)}.et-table-expander:focus-visible,.et-table-cell:focus-visible,.et-table-header-label:focus-visible .et-table-header-label-box{outline:2px solid light-dark(var(--et-theme-color-ink-solid, currentColor),var(--et-theme-color-primary-solid, currentColor));outline-offset:-2px}.et-table-header-label:focus-visible{outline:none}.et-table-header-label{border-radius:4px}.et-table-header-label{display:flex;align-items:center;flex:1;min-inline-size:0;margin:0;padding:0;font:inherit;color:inherit;text-align:inherit;background:none;border:none}.et-table-header-label-box{display:flex;align-items:center;gap:4px;min-inline-size:0;padding:4px;margin:-4px;border-radius:4px}.et-table-header-label:where(.et-table-header-label--sortable){cursor:pointer}.et-table-header-label--sortable .et-table-header-label-box{background-color:var(--_et-table-header-label-tint, transparent);transition:background-color .12s var(--ease-out-5, ease)}@media(hover:hover){.et-table-header-label--sortable:hover:not(:disabled){--_et-table-header-label-tint: var(--_et-table-hover-tint)}}.et-table-header-label--sortable:active:not(:disabled){--_et-table-header-label-tint: var(--_et-table-pressed-tint)}.et-table-header-cell:where([data-disabled]) .et-table-header-label{opacity:var(--et-table-opacity-disabled)}.et-table-header-label:where(.et-table-header-label--sortable:disabled){cursor:not-allowed}.et-table-header-cell:where([data-align=center]) .et-table-header-label{justify-content:center}.et-table-header-cell:where([data-align=end]) .et-table-header-label{justify-content:flex-end}.et-table-sort-indicator{flex:none;inline-size:1.15em;block-size:1.15em;transform:translateY(-.045em);color:light-dark(var(--et-theme-color-ink-solid),var(--et-theme-color-primary-solid));transition:transform .2s var(--ease-out-5, ease)}.et-table-sort-indicator:where([data-direction=desc]){transform:translateY(-.045em) rotate(180deg)}.et-table-sort-indicator.et-table-sort-indicator--enter{animation:et-table-sort-in .15s ease}.et-table-sort-indicator.et-table-sort-indicator--leave{animation:et-table-sort-in .12s ease reverse forwards}@keyframes et-table-sort-in{0%{opacity:0}to{opacity:1}}@media(prefers-reduced-motion:reduce){.et-table-sort-indicator{transition:none}.et-table-sort-indicator.et-table-sort-indicator--enter,.et-table-sort-indicator.et-table-sort-indicator--leave{animation:none}}.et-table-message-row{display:contents}.et-table-empty-cell,.et-table-error-cell{grid-column:1 / -1;position:sticky;inset-inline-start:0;box-sizing:border-box;inline-size:var(--_et-table-viewport-inline-size, 100%);padding:32px var(--et-table-cell-padding-inline);color:var(--et-surface-color-muted-solid, CanvasText);text-align:center}.et-table-empty-cell{display:grid;place-content:center;justify-items:center}.et-table-error-cell{display:flex;flex-wrap:wrap;align-items:center;align-content:center;justify-content:center;gap:8px}.et-table-error-icon{flex:none;inline-size:16px;block-size:16px;color:var(--et-theme-color-ink-solid, currentColor)}.et-table-cell:where([data-state=error]){gap:6px}.et-table-cell-error-icon{flex:none;inline-size:14px;block-size:14px;color:var(--et-theme-color-ink-solid, currentColor)}.et-table-cell:where([data-state=loading]){display:flex}.et-table-busy-bar{grid-column:1 / -1;block-size:2px;margin-block-start:var(--_et-table-busy-margin-block-start);margin-block-end:var(--_et-table-busy-margin-block-end);overflow:hidden;background:color-mix(in srgb,var(--et-surface-interaction-solid, gray) 10%,transparent)}.et-table-busy-bar.et-table-busy-bar--enter{animation:et-table-busy-fade .15s ease}.et-table-busy-bar.et-table-busy-bar--leave{animation:et-table-busy-fade .25s ease reverse forwards}@keyframes et-table-busy-fade{0%{opacity:0}to{opacity:1}}.et-table-busy-bar:after{content:\"\";display:block;inline-size:40%;block-size:100%;border-radius:999px;background:light-dark(var(--et-theme-color-ink-solid),var(--et-theme-color-primary-solid));animation:et-table-busy-sweep 1.1s ease-in-out infinite}@keyframes et-table-busy-sweep{0%{transform:translate(-100%)}to{transform:translate(250%)}}@media(prefers-reduced-motion:reduce){.et-table-busy-bar:after{inline-size:100%;animation:none}.et-table-busy-bar.et-table-busy-bar--enter,.et-table-busy-bar.et-table-busy-bar--leave{animation:none}}.et-table-host et-checkbox:where([aria-checked=true],[aria-checked=mixed]) .et-checkbox-box{outline:1px solid var(--et-theme-color-ink-solid);outline-offset:-1px}}\n"]
|
|
106019
106645
|
}]
|
|
106020
106646
|
}],
|
|
106021
106647
|
ctorParameters: () => [],
|
|
@@ -107005,7 +107631,8 @@ var TableColumnChooserComponent = class TableColumnChooserComponent {
|
|
|
107005
107631
|
"variant",
|
|
107006
107632
|
"size",
|
|
107007
107633
|
"iconAlignment",
|
|
107008
|
-
"stretchContents"
|
|
107634
|
+
"stretchContents",
|
|
107635
|
+
"pressedVariant"
|
|
107009
107636
|
]
|
|
107010
107637
|
},
|
|
107011
107638
|
{
|
|
@@ -107166,7 +107793,11 @@ var TableColumnMenuTriggerComponent = class TableColumnMenuTriggerComponent {
|
|
|
107166
107793
|
kind: "component",
|
|
107167
107794
|
type: IconButtonComponent,
|
|
107168
107795
|
selector: "[et-icon-button]",
|
|
107169
|
-
inputs: [
|
|
107796
|
+
inputs: [
|
|
107797
|
+
"variant",
|
|
107798
|
+
"size",
|
|
107799
|
+
"pressedVariant"
|
|
107800
|
+
]
|
|
107170
107801
|
},
|
|
107171
107802
|
{
|
|
107172
107803
|
kind: "directive",
|
|
@@ -108121,7 +108752,11 @@ var TableFilterTriggerComponent = class TableFilterTriggerComponent {
|
|
|
108121
108752
|
kind: "component",
|
|
108122
108753
|
type: IconButtonComponent,
|
|
108123
108754
|
selector: "[et-icon-button]",
|
|
108124
|
-
inputs: [
|
|
108755
|
+
inputs: [
|
|
108756
|
+
"variant",
|
|
108757
|
+
"size",
|
|
108758
|
+
"pressedVariant"
|
|
108759
|
+
]
|
|
108125
108760
|
},
|
|
108126
108761
|
{
|
|
108127
108762
|
kind: "directive",
|
|
@@ -111456,9 +112091,20 @@ var NavTabLinkDirective = class NavTabLinkDirective {
|
|
|
111456
112091
|
this.tabBar = inject(TabBarDirective, { optional: true });
|
|
111457
112092
|
this.destroyRef = inject(DestroyRef);
|
|
111458
112093
|
this.hostElement = injectHostElement();
|
|
112094
|
+
this.elementRef = inject(ElementRef);
|
|
111459
112095
|
this.trigger = inject(TabBarTriggerDirective);
|
|
111460
112096
|
this.routerLinkIsActive = signal(this.routerLinkActive?.isActive ?? false, ...ngDevMode ? [{ debugName: "routerLinkIsActive" }] : /* istanbul ignore next */ []);
|
|
111461
112097
|
this.isActive = computed(() => this.overlayRouterLink?.isActive() ?? this.routerLinkIsActive(), ...ngDevMode ? [{ debugName: "isActive" }] : /* istanbul ignore next */ []);
|
|
112098
|
+
effect((onCleanup) => {
|
|
112099
|
+
const scrollable = this.navTabs?.scrollable();
|
|
112100
|
+
if (!scrollable) return;
|
|
112101
|
+
const ref = {
|
|
112102
|
+
elementRef: this.elementRef,
|
|
112103
|
+
isActiveChildEnabled: this.isActive
|
|
112104
|
+
};
|
|
112105
|
+
scrollable.registerActiveChild(ref);
|
|
112106
|
+
onCleanup(() => scrollable.unregisterActiveChild(ref));
|
|
112107
|
+
});
|
|
111462
112108
|
this.trigger.deferSelection.set(true);
|
|
111463
112109
|
this.routerLinkActive?.isActiveChange.pipe(tap((active) => {
|
|
111464
112110
|
this.routerLinkIsActive.set(active);
|
|
@@ -111591,6 +112237,8 @@ var NavTabsDirective = class NavTabsDirective {
|
|
|
111591
112237
|
this.registry = injectNavTabsRegistry();
|
|
111592
112238
|
this.tabBar = inject(TabBarDirective, { self: true });
|
|
111593
112239
|
this.destroyRef = inject(DestroyRef);
|
|
112240
|
+
this.scrollableSource = signal(null, ...ngDevMode ? [{ debugName: "scrollableSource" }] : /* istanbul ignore next */ []);
|
|
112241
|
+
this.scrollable = computed(() => this.scrollableSource()?.() ?? null, ...ngDevMode ? [{ debugName: "scrollable" }] : /* istanbul ignore next */ []);
|
|
111594
112242
|
this.navigationVersion = computed(() => {
|
|
111595
112243
|
const event = this.routerEvent();
|
|
111596
112244
|
if (event instanceof NavigationEnd) return event.id;
|
|
@@ -111601,6 +112249,9 @@ var NavTabsDirective = class NavTabsDirective {
|
|
|
111601
112249
|
this.registry.unregister(this.tabBar);
|
|
111602
112250
|
});
|
|
111603
112251
|
}
|
|
112252
|
+
connectScrollable(source) {
|
|
112253
|
+
this.scrollableSource.set(source);
|
|
112254
|
+
}
|
|
111604
112255
|
static {
|
|
111605
112256
|
this.ɵfac = i0.ɵɵngDeclareFactory({
|
|
111606
112257
|
minVersion: "12.0.0",
|
|
@@ -111936,7 +112587,10 @@ const TAB_SIZES = {
|
|
|
111936
112587
|
var NavTabsComponent = class NavTabsComponent {
|
|
111937
112588
|
constructor() {
|
|
111938
112589
|
this.tabBar = inject(TabBarDirective);
|
|
112590
|
+
this.navTabs = inject(NavTabsDirective);
|
|
111939
112591
|
this.size = input(TAB_SIZES.MD, ...ngDevMode ? [{ debugName: "size" }] : /* istanbul ignore next */ []);
|
|
112592
|
+
this.scrollable = viewChild(ScrollableDirective, ...ngDevMode ? [{ debugName: "scrollable" }] : /* istanbul ignore next */ []);
|
|
112593
|
+
this.navTabs.connectScrollable(this.scrollable);
|
|
111940
112594
|
mountTabScaleStyles();
|
|
111941
112595
|
mountTabBarStyles();
|
|
111942
112596
|
}
|
|
@@ -111952,7 +112606,7 @@ var NavTabsComponent = class NavTabsComponent {
|
|
|
111952
112606
|
}
|
|
111953
112607
|
static {
|
|
111954
112608
|
this.ɵcmp = i0.ɵɵngDeclareComponent({
|
|
111955
|
-
minVersion: "17.
|
|
112609
|
+
minVersion: "17.2.0",
|
|
111956
112610
|
version: "22.2.3",
|
|
111957
112611
|
type: NavTabsComponent,
|
|
111958
112612
|
isStandalone: true,
|
|
@@ -111975,6 +112629,13 @@ var NavTabsComponent = class NavTabsComponent {
|
|
|
111975
112629
|
},
|
|
111976
112630
|
classAttribute: "et-nav-tabs et-tab-scale"
|
|
111977
112631
|
},
|
|
112632
|
+
viewQueries: [{
|
|
112633
|
+
propertyName: "scrollable",
|
|
112634
|
+
first: true,
|
|
112635
|
+
predicate: ScrollableDirective,
|
|
112636
|
+
descendants: true,
|
|
112637
|
+
isSignal: true
|
|
112638
|
+
}],
|
|
111978
112639
|
hostDirectives: [
|
|
111979
112640
|
{
|
|
111980
112641
|
directive: i1$1.ProvideSurfaceDirective,
|
|
@@ -112104,14 +112765,20 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
112104
112765
|
}]
|
|
112105
112766
|
}],
|
|
112106
112767
|
ctorParameters: () => [],
|
|
112107
|
-
propDecorators: {
|
|
112108
|
-
|
|
112109
|
-
|
|
112110
|
-
|
|
112111
|
-
|
|
112112
|
-
|
|
112768
|
+
propDecorators: {
|
|
112769
|
+
size: [{
|
|
112770
|
+
type: i0.Input,
|
|
112771
|
+
args: [{
|
|
112772
|
+
isSignal: true,
|
|
112773
|
+
alias: "size",
|
|
112774
|
+
required: false
|
|
112775
|
+
}]
|
|
112776
|
+
}],
|
|
112777
|
+
scrollable: [{
|
|
112778
|
+
type: i0.ViewChild,
|
|
112779
|
+
args: [i0.forwardRef(() => ScrollableDirective), { isSignal: true }]
|
|
112113
112780
|
}]
|
|
112114
|
-
}
|
|
112781
|
+
}
|
|
112115
112782
|
});
|
|
112116
112783
|
var OverlayNavTabLinkComponent = class OverlayNavTabLinkComponent {
|
|
112117
112784
|
constructor() {
|
|
@@ -113370,7 +114037,6 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
113370
114037
|
}]
|
|
113371
114038
|
});
|
|
113372
114039
|
const TIMELINE_IMPORTS = [TimelineComponent, TimelineItemComponent];
|
|
113373
|
-
const TOOLTIP_IMPORTS = [TooltipDirective, TooltipComponent];
|
|
113374
114040
|
const TREE_ERROR_CODES = {
|
|
113375
114041
|
MISSING_DATA_SOURCE: 4600,
|
|
113376
114042
|
PART_OUTSIDE_TREE: 4601,
|
|
@@ -114461,7 +115127,7 @@ const provideUnsavedChangesAlertDialog = () => provideUnsavedChangesConfirm(() =
|
|
|
114461
115127
|
});
|
|
114462
115128
|
};
|
|
114463
115129
|
});
|
|
114464
|
-
const COMPONENTS_VERSION = "1.0.0-next.
|
|
114465
|
-
export { ACCESSIBLE_NAME_INPUTS, ACCORDION_ERROR_CODES, ACCORDION_GROUP_TOKEN, ACCORDION_IMPORTS, ACCORDION_TOKEN, ALERT_DIALOG_LABELS, ALIGN_CENTER_ICON, ALIGN_JUSTIFY_ICON, ALIGN_LEFT_ICON, ALIGN_RIGHT_ICON, ARROWS_LEFT_RIGHT_ICON, ARROW_OUT_UP_RIGHT_ICON, ARROW_RIGHT_ICON, ARROW_UP_ICON, AVATAR_IMPORTS, AVATAR_LABELS, AVATAR_SHAPES, AVATAR_SIZES, AccessibleNameControlDirective, AccordionComponent, AccordionContentDirective, AccordionDirective, AccordionGroupComponent, AccordionGroupDirective, AccordionHintDirective, AccordionLabelDirective, AccordionPanelDirective, AccordionTriggerDirective, AvatarComponent, AvatarGroupComponent, BADGE_ICON_ALIGNMENTS, BADGE_IMPORTS, BADGE_SIZES, BADGE_VARIANTS, BANNER_IMPORTS, BANNER_LABELS, BANNER_TYPES, BOLD_ICON, BRACKET_CARD_CONTEXT, BRACKET_DATA_LAYOUT, BRACKET_DEFAULTS, BRACKET_DEFAULT_CARDS, BRACKET_DENSITY, BRACKET_DENSITY_PRESETS, BRACKET_ERROR_CODES, BRACKET_FINAL_ALIGNMENT, BRACKET_IMPORTS, BRACKET_LABELS, BRACKET_PARTICIPANTS_IMPORTS, BRACKET_PICK_CARD_IMPORTS, BRACKET_PICK_CARD_NOTE_TONE, BRACKET_ROUNDS_LIST_IMPORTS, BRACKET_ROUND_HEADER_ALIGN, BRACKET_ROUND_MIRROR_TYPE, BRACKET_SECTION_KEY, BRACKET_SKELETON_IMPORTS, BRACKET_SWISS_GROUP_COLOR_TYPE, BREADCRUMB_COLLAPSE_IMPORTS, BREADCRUMB_COLLAPSE_TOKEN, BREADCRUMB_ERROR_CODES, BREADCRUMB_IMPORTS, BREADCRUMB_LABELS, BREADCRUMB_SEGMENT_TOKEN, BREADCRUMB_SEO_IMPORTS, BREADCRUMB_TOKEN, BUTTON_ICON_ALIGNMENTS, BUTTON_IMPORTS, BUTTON_SIZES, BUTTON_SPINNER_CONFIG, BUTTON_TYPES, BUTTON_VARIANTS, BadgeComponent, BannerComponent, BarChartComponent, BarChartDirective, BarChartPlotDirective, BracketComponent, BracketDefaultContinueComponent, BracketDefaultFinalMatchComponent, BracketDefaultMatchComponent, BracketDefaultRoundHeaderComponent, BracketDefaultSectionTitleComponent, BracketMap, BracketParticipantsComponent, BracketPickCardComponent, BracketRoundsListComponent, BracketRuntimeError, BracketSkeletonComponent, BracketSkeletonContinueComponent, BracketSkeletonFinalMatchComponent, BracketSkeletonMatchComponent, BracketSkeletonRoundHeaderComponent, BrandLoaderComponent, BreadcrumbCollapseDirective, BreadcrumbComponent, BreadcrumbDirective, BreadcrumbItemDirective, BreadcrumbItemTemplateDirective, BreadcrumbOutletComponent, BreadcrumbOverflowComponent, BreadcrumbSegmentDirective, BreadcrumbSeoDirective, BreadcrumbSeparatorDirective, ButtonColorDirective, ButtonComponent, ButtonDirective, ButtonStylesDirective, CALENDAR_ERROR_CODES, CALENDAR_ICON, CALENDAR_IMPORTS, CALENDAR_LABELS, CARD_IMPORTS, CARD_VARIANTS, CAROUSEL_AUTOPLAY_TOKEN, CAROUSEL_ERROR_CODES, CAROUSEL_IMPORTS, CAROUSEL_LABELS, CAROUSEL_SLIDE_ALIGNMENTS, CAROUSEL_TOKEN, CAROUSEL_TRANSITIONS, CAROUSEL_TRANSITION_DRIVERS, CASCADER_ERROR_CODES, CASCADER_IMPORTS, CASCADER_LABELS, CASCADER_SELECTABLE_LEVELS, CHART_ERROR_CODES, CHART_IMPORTS, CHART_LABELS, CHART_PLOT_HOST, CHECKBOX_GROUP_IMPORTS, CHECKBOX_IMPORTS, CHECKBOX_OPTION_VARIANTS, CHECK_ICON, CHEVRON_ICON, CHIP_ERROR_CODES, CHIP_IMPORTS, CHIP_LABELS, CHIP_REMOVE_FOCUS_FALLBACK, CHIP_REMOVE_TAB_STOP, CHOICE_FIELD_IMPORTS, CHOICE_FIELD_LABEL_POSITIONS, CHOICE_FIELD_LAYOUTS, CHOICE_FIELD_VARIANTS, CIRCLE_CHECK_ICON, CIRCLE_INFO_ICON, CLIPBOARD_CHECK_ICON, CLOCK_ICON, CODE_BLOCK_ICON, CODE_ICON, COLLAPSE_IMPORTS, COLOR_INPUT_ERROR_CODES, COLOR_INPUT_IMPORTS, COLOR_INPUT_LABELS, COLOR_INPUT_TOKEN, COLOR_NOTATIONS, COLOR_NOTATION_ORDER, COMMAND_PALETTE_ERROR_CODES, COMMAND_PALETTE_IMPORTS, COMMAND_PALETTE_LABELS, COMMAND_PALETTE_OVERLAY, COMMAND_PALETTE_REGISTRY, COMMAND_PALETTE_TOKEN, COMMON_BRACKET_ROUND_TYPE, COMPONENTS_VERSION, COPY_BUTTON_IMPORTS, COPY_BUTTON_LABELS, CalendarCellDirective, CalendarComponent, CalendarDirective, CalendarGridDirective, CalendarHeaderDirective, CardComponent, CarouselAutoplayDirective, CarouselComponent, CarouselDirective, CarouselItemDirective, CarouselNextDirective, CarouselPlayToggleDirective, CarouselPreviousDirective, CarouselSlideDirective, CascaderColumnDirective, CascaderComponent, CascaderDirective, CascaderNodeDirective, CascaderPanelComponent, CascaderSearchDirective, CascaderSearchOptionDirective, CascaderSurfaceDirective, CascaderTriggerDirective, ChartPlotDirective, CheckboxComponent, CheckboxDirective, CheckboxGroupComponent, CheckboxGroupSelectAllComponent, CheckboxOptionComponent, ChipComponent, ChipDirective, ChipRemoveDirective, ChoiceFieldComponent, CollapseComponent, CollapseDirective, ColorInputComponent, ColorInputDirective, ColorPickerAreaDirective, ColorPickerChannelDirective, ColorPickerPanelComponent, ColorPickerSurfaceDirective, ColorPickerTriggerDirective, CommandPaletteComponent, CommandPaletteDirective, CommandPaletteItemComponent, CommandPaletteSearchDirective, CommandPaletteShortcutDirective, ControlSuffixDirective, CopyButtonDirective, CounterComponent, DAILYMOTION_PLAYER_TOKEN, DATE_FORMAT, DATE_INPUT_ERROR_CODES, DATE_INPUT_IMPORTS, DATE_LOCALE, DATE_PICKER_HOST, DATE_RANGE_INPUT_ERROR_CODES, DATE_RANGE_INPUT_IMPORTS, DATE_TIME_FORMAT, DATE_TIME_INPUT_ERROR_CODES, DATE_TIME_INPUT_IMPORTS, DATE_TIME_LABELS, DATE_TIME_RANGE_INPUT_ERROR_CODES, DATE_TIME_RANGE_INPUT_IMPORTS, DEFAULT_ALERT_DIALOG_LABELS, DEFAULT_AVATAR_LABELS, DEFAULT_BANNER_LABELS, DEFAULT_BRACKET_LABELS, DEFAULT_BREADCRUMB_LABELS, DEFAULT_BREAKPOINTS, DEFAULT_CALENDAR_LABELS, DEFAULT_CALENDAR_RANGE_STRATEGY, DEFAULT_CAROUSEL_LABELS, DEFAULT_CASCADER_LABELS, DEFAULT_CHART_LABELS, DEFAULT_CHIP_LABELS, DEFAULT_COLOR_INPUT_LABELS, DEFAULT_COMMAND_PALETTE_LABELS, DEFAULT_COPY_BUTTON_LABELS, DEFAULT_DATE_TIME_LABELS, DEFAULT_DROPZONE_LABELS, DEFAULT_DROPZONE_MAX_PREVIEW_FILE_SIZE, DEFAULT_FILTER_OVERLAY_LABELS, DEFAULT_FORM_FIELD_DEFAULTS, DEFAULT_FORM_FIELD_LABELS, DEFAULT_GRID_LABELS, DEFAULT_ICON_VARIANT, DEFAULT_INPUT_LABELS, DEFAULT_KBD_LABELS, DEFAULT_LOADER_LABELS, DEFAULT_MATCH_CARD_START_TIME_FORMAT, DEFAULT_MATCH_LABELS, DEFAULT_NOTIFICATION_LABELS, DEFAULT_NOTIFICATION_MANAGER_CONFIG, DEFAULT_NOTIFICATION_STATUS_ICONS, DEFAULT_PAGINATION_LABELS, DEFAULT_PHONE_INPUT_LABELS, DEFAULT_PROGRESS_STEP_LABELS, DEFAULT_QUERY_ERROR_LABELS, DEFAULT_RICH_TEXT_EDITOR_LABELS, DEFAULT_RICH_TEXT_EDITOR_TOOLS, DEFAULT_SCHEDULER_LABELS, DEFAULT_SELECT_ICONS, DEFAULT_SELECT_LABELS, DEFAULT_SLIDER_LABELS, DEFAULT_STANDINGS_LABELS, DEFAULT_STAT_TILE_LABELS, DEFAULT_STREAM_LABELS, DEFAULT_STREAM_PLAYER_STATE, DEFAULT_TABLE_LABELS, DEFAULT_TIME_PICKER_LABELS, DEFAULT_TREE_LABELS, DEFAULT_UNSAVED_CHANGES_LABELS, DESCRIPTION_IMPORTS, DESCRIPTION_LIST_IMPORTS, DESCRIPTION_LIST_VARIANTS, DIVIDER_IMPORTS, DOUBLE_ELIMINATION_BRACKET_ROUND_TYPE, DROPZONE_CROP_IMPORTS, DROPZONE_ENTRY_STATUSES, DROPZONE_ERROR_CODES, DROPZONE_FILES_ERROR_KIND, DROPZONE_FILE_CONSTRAINTS, DROPZONE_FILE_REJECTION_REASONS, DROPZONE_IMPORTS, DROPZONE_LABELS, DROPZONE_LAYOUTS, DURATION_INPUT_ERROR_CODES, DURATION_INPUT_IMPORTS, DailymotionPlayerComponent, DailymotionPlayerDirective, DailymotionPlayerParamsDirective, DailymotionPlayerSlotComponent, DateInputComponent, DateInputDirective, DateInputFieldDirective, DatePickerPanelComponent, DatePickerSurfaceDirective, DatePickerTriggerDirective, DateRangeInputComponent, DateRangeInputDirective, DateRangeInputFieldDirective, DateTimeInputComponent, DateTimeInputDirective, DateTimeInputFieldDirective, DateTimeRangeInputComponent, DateTimeRangeInputDirective, DateTimeRangeInputFieldDirective, DescriptionComponent, DescriptionListComponent, DividerComponent, DropzoneComponent, DropzoneCropComponent, DropzoneCropDirective, DropzoneCropHandleDirective, DropzoneCropRectDirective, DropzoneCropStepComponent, DropzoneCropStepDirective, DropzoneDirective, DurationInputComponent, DurationInputDirective, DurationInputFieldDirective, ELLIPSIS_ICON, ELLIPSIS_VERTICAL_ICON, EMPTY_STATE_IMPORTS, ET_BUILT_IN_ICON_NAMES, EYEDROPPER_ICON, EYE_ICON, EYE_SLASH_ICON, EmptyStateComponent, FACEBOOK_PLAYER_TOKEN, FIELD_WARNINGS, FIELD_WARNING_KIND, FILE_ICON, FILTER_ICON, FILTER_OVERLAY_ERROR_CODES, FILTER_OVERLAY_IMPORTS, FILTER_OVERLAY_LABELS, FILTER_OVERLAY_TOKEN, FLOATING_ACTION_ERROR_CODES, FLOATING_ACTION_IMPORTS, FLOATING_ACTION_STATES, FLOATING_ACTION_TOKEN, FLOPPY_DISK_ICON, FOCUS_FRAME_ICON, FORM_ERROR_MESSAGE_RESOLVER, FORM_FIELD_APPEARANCES, FORM_FIELD_CONTROL_TYPES, FORM_FIELD_ERROR_CODES, FORM_FIELD_FILLS, FORM_FIELD_IMPORTS, FORM_FIELD_LABELS, FORM_FIELD_LABEL_MODES, FORM_FIELD_LABEL_POSITIONS, FORM_FIELD_SIZES, FORM_FIELD_TOKEN, FORM_IMPORTS, FORM_WARNING_MESSAGE_RESOLVER, FabComponent, FacebookPlayerComponent, FacebookPlayerDirective, FacebookPlayerParamsDirective, FacebookPlayerSlotComponent, FilterOverlayResetDirective, FilterOverlaySubmitDirective, FloatingActionAnchorDirective, FloatingActionDirective, FloatingActionScopeDirective, FloatingActionTopDirective, FloatingActionTriggerDirective, FocusRingDirective, FormDirective, FormErrorComponent, FormFieldBarrierDirective, FormFieldComponent, FormFieldDirective, FormWarningComponent, GERMAN_ALERT_DIALOG_LABELS, GERMAN_AVATAR_LABELS, GERMAN_BANNER_LABELS, GERMAN_BRACKET_LABELS, GERMAN_BREADCRUMB_LABELS, GERMAN_CALENDAR_LABELS, GERMAN_CAROUSEL_LABELS, GERMAN_CASCADER_LABELS, GERMAN_CHART_LABELS, GERMAN_CHIP_LABELS, GERMAN_COLOR_INPUT_LABELS, GERMAN_COMMAND_PALETTE_LABELS, GERMAN_COPY_BUTTON_LABELS, GERMAN_DATE_TIME_LABELS, GERMAN_DROPZONE_LABELS, GERMAN_FILTER_OVERLAY_LABELS, GERMAN_FORM_FIELD_LABELS, GERMAN_GRID_LABELS, GERMAN_INPUT_LABELS, GERMAN_KBD_LABELS, GERMAN_LOADER_LABELS, GERMAN_MATCH_LABELS, GERMAN_NOTIFICATION_LABELS, GERMAN_PAGINATION_LABELS, GERMAN_PHONE_INPUT_LABELS, GERMAN_PROGRESS_STEP_LABELS, GERMAN_QUERY_ERROR_LABELS, GERMAN_RICH_TEXT_EDITOR_LABELS, GERMAN_SCHEDULER_LABELS, GERMAN_SELECT_LABELS, GERMAN_SLIDER_LABELS, GERMAN_STANDINGS_LABELS, GERMAN_STAT_TILE_LABELS, GERMAN_STREAM_LABELS, GERMAN_TABLE_LABELS, GERMAN_TIME_PICKER_LABELS, GERMAN_TREE_LABELS, GERMAN_UNSAVED_CHANGES_LABELS, GRID_2X2_ICON, GRID_DEBUG_IMPORTS, GRID_ERROR_CODES, GRID_IMPORTS, GRID_LABELS, GRID_TOKEN, GROUP_BRACKET_ROUND_TYPE, GridComponent, GridDebugComponent, GridDirective, GridDragDirective, GridItemComponent, GridItemDefaultActionsComponent, GridItemDirective, GridItemToolbarComponent, GridResizeDirective, HEADING_1_ICON, HEADING_2_ICON, HEADING_3_ICON, HintComponent, ICONS_TOKEN, ICON_DIRECTIVE_TOKEN, ICON_ERROR_CODES, ICON_IMPORTS, ICON_OVERRIDES_TOKEN, IMAGE_ICON, INHERIT_COLOR, INITIAL_SUPPORT_PRESENTATION_STATE, INPUT_CLEAR_IMPORTS, INPUT_IMPORTS, INPUT_LABELS, INPUT_MASK_HOST, INPUT_TEXT_ALIGNMENTS, INPUT_TYPES, INTERACTIVE_TAGS, ITALIC_ICON, IconButtonComponent, IconDirective, InputClearDirective, InputComponent, InputDirective, InputMaskDirective, InputPrefixDirective, InputSuffixDirective, KBD_IMPORTS, KBD_LABELS, KBD_PLATFORM, KICK_PLAYER_TOKEN, KbdComponent, KickPlayerComponent, KickPlayerDirective, KickPlayerParamsDirective, KickPlayerSlotComponent, LINE_CHART_ERROR_CODES, LINK_ICON, LIST_BULLETED_ICON, LIST_NUMBERED_ICON, LOADER_IMPORTS, LOADER_LABELS, LOCATION_ICON, LOCK_ICON, LabelDirective, LineChartComponent, LineChartDirective, LineChartSliceDirective, MASKED_INPUT_ERROR_CODES, MASKED_INPUT_IMPORTS, MASK_VALUE_MODES, MASONRY_ERROR_CODES, MASONRY_IMPORTS, MASONRY_TOKEN, MATCH_CARD_IMPORTS, MATCH_CARD_SIZES, MATCH_CARD_TOKEN, MATCH_ERROR_CODES, MATCH_LABELS, MATCH_PARTICIPANT_IMPORTS, MENU_CONFIG_TOKEN, MENU_ERROR_CODES, MENU_IMPORTS, MENU_ITEM_VARIANTS, MENU_SEARCH_IMPORTS, MENU_SELECTION_GROUP_MULTIPLE, MENU_SELECTION_GROUP_TOKEN, MENU_SELECTION_ITEM_KIND, MINUS_ICON, MULTI_LANGUAGE_RICH_TEXT_EDITOR_ERROR_CODES, MULTI_LANGUAGE_RICH_TEXT_EDITOR_IMPORTS, MasonryDirective, MasonryItemDirective, MatchCardBadgeDirective, MatchCardComponent, MatchCardDirective, MatchCardGameScoresDirective, MatchCardMetaDirective, MatchCardScoreDirective, MatchParticipantComponent, MatchScoreComponent, MenuCheckboxGroupComponent, MenuCheckboxItemComponent, MenuComponent, MenuContextTriggerDirective, MenuDirective, MenuGroupLabelComponent, MenuItemComponent, MenuItemDirective, MenuItemShortcutComponent, MenuItemSubmenuIconComponent, MenuPanelDirective, MenuRadioGroupComponent, MenuRadioItemComponent, MenuSearchDirective, MenuSelectionGroupDirective, MenuSelectionItemDirective, MenuSeparatorComponent, MenuSurfaceDirective, MenuTriggerDirective, MultiLanguageRichTextEditorComponent, MultiLanguageRichTextEditorDirective, MultiLanguageRichTextEditorLanguageToolComponent, NAV_TABS_TOKEN, NAV_TAB_IMPORTS, NOTIFICATION_ACTION_SLOTS, NOTIFICATION_ERROR_CODES, NOTIFICATION_IMPORTS, NOTIFICATION_LABELS, NOTIFICATION_STACK_CONTEXT_TOKEN, NOTIFICATION_STACK_OVERLAY_LAYER, NOTIFICATION_STATUS, NO_STREAM_PLAYER_CAPABILITIES, NUMBER_INPUT_IMPORTS, NavTabLinkComponent, NavTabLinkDirective, NavTabLinkStylesComponent, NavTabsComponent, NavTabsDirective, NavTabsOutletComponent, NavTabsOutletDirective, NotificationActionDirective, NotificationComponent, NotificationDirective, NotificationDismissDirective, NotificationItemDirective, NotificationStackDirective, NotificationSwipeToDismissDirective, NumberInputComponent, NumberInputDirective, OTP_INPUT_IMPORTS, OVERLAY_BACK_OR_CLOSE_TOKEN, OVERLAY_BODY_TOKEN, OVERLAY_CONFIG_CLASS_KEYS, OVERLAY_CONTENT_IMPORTS, OVERLAY_ERROR_CODES, OVERLAY_FOOTER_TOKEN, OVERLAY_HAS_BACKDROP, OVERLAY_HEADER_TEMPLATE_TOKEN, OVERLAY_HEADER_TOKEN, OVERLAY_IMPORTS, OVERLAY_MAIN_TOKEN, OVERLAY_NAV_TAB_IMPORTS, OVERLAY_QUERY_PARAM_INPUT_NAME, OVERLAY_REF, OVERLAY_ROUTER_CONFIG_TOKEN, OVERLAY_ROUTER_LINK_TOKEN, OVERLAY_ROUTER_OUTLET_DISABLED_TEMPLATE_TOKEN, OVERLAY_ROUTER_OUTLET_TOKEN, OVERLAY_ROUTER_TOKEN, OVERLAY_SHARED_ROUTE_TEMPLATE_TOKEN, OtpInputComponent, OtpInputDirective, OverlayAnchorDirective, OverlayBackOrCloseDirective, OverlayBodyComponent, OverlayCloseDirective, OverlayContainerComponent, OverlayDirective, OverlayFooterDirective, OverlayHeaderDirective, OverlayHeaderTemplateDirective, OverlayMainDirective, OverlayNavTabLinkComponent, OverlayOriginCloneComponent, OverlayRouteHeaderTemplateOutletComponent, OverlayRouterLinkDirective, OverlayRouterOutletComponent, OverlayRouterOutletDisabledTemplateDirective, OverlaySharedRouteTemplateDirective, OverlaySharedRouteTemplateOutletComponent, OverlaySidebarComponent, OverlaySidebarPageComponent, OverlaySurfaceDirective, OverlayTitleDirective, OverlayTriggerDirective, PAGE_SIZE_SELECT_IMPORTS, PAGINATION_IMPORTS, PAGINATION_LABELS, PAGINATION_SIZES, PARAGRAPH_ICON, PASSWORD_INPUT_IMPORTS, PAUSE_ICON, PENCIL_ICON, PHONE_COUNTRIES, PHONE_INPUT_ERROR_CODES, PHONE_INPUT_IMPORTS, PHONE_INPUT_LABELS, PICTURE_IMPORTS, PICTURE_STATES, PIE_CHART_ERROR_CODES, PIP_CHROME_REF_TOKEN, PIP_ENTRY_TOKEN, PIP_WINDOW_ASPECT_RATIO_TOKEN, PLAY_ICON, PLUS_ICON, PROGRESS_STEPS_ALIGNS, PROGRESS_STEPS_IMPORTS, PROGRESS_STEPS_ORIENTATIONS, PROGRESS_STEP_LABELS, PROGRESS_STEP_STATES, PageSizeSelectComponent, PagedQueryTriggerDirective, PaginationComponent, PaginationDirective, PaginationSeoDirective, PasswordInputComponent, PasswordInputDirective, PhoneInputComponent, PhoneInputDirective, PhoneInputFieldDirective, PhoneInputFlagDirective, PictureComponent, PictureErrorDirective, PicturePlaceholderDirective, PieChartComponent, PieChartDirective, PipBackDirective, PipBringBackDirective, PipCellDirective, PipCloseDirective, PipCollapseOverlayDirective, PipGridToggleDirective, PipPlayerComponent, PipSlotPlaceholderComponent, PipStageDirective, PipTitleBarDirective, PipTitleBarTemplateDirective, PipWindowComponent, PipWindowParamsDirective, ProgressBarComponent, ProgressStepComponent, ProgressStepDirective, ProgressStepRouterActiveDirective, ProgressStepsComponent, ProgressStepsDirective, QUERY_ERROR_ERROR_CODES, QUERY_ERROR_IMPORTS, QUERY_ERROR_LABELS, QUERY_ERROR_TOKEN, QUOTE_ICON, QueryButtonDirective, QueryErrorActionsDirective, QueryErrorComponent, QueryErrorDirective, QueryErrorTitleDirective, QueryParamOverlayLinkDirective, RADIO_GROUP_IMPORTS, RADIO_VARIANTS, RATING_ERROR_CODES, RATING_IMPORTS, REDO_ICON, RICH_TEXT_EDITOR_FLOATING_TOOLBAR, RICH_TEXT_EDITOR_HEADING_OPTIONS, RICH_TEXT_EDITOR_IMPORTS, RICH_TEXT_EDITOR_INLINE_TOOLS, RICH_TEXT_EDITOR_LABELS, RICH_TEXT_EDITOR_LANGUAGE_TOOL, RICH_TEXT_EDITOR_LINK_EDITOR, RICH_TEXT_EDITOR_TOKEN_CODEC, RICH_TEXT_EDITOR_TOKEN_PALETTE_IMPORTS, RICH_TEXT_EDITOR_TOOL, RICH_TEXT_EDITOR_TOOLS, RICH_TEXT_EDITOR_TOOL_BUTTONS, RICH_TEXT_EDITOR_TRIGGERS_IMPORTS, ROTATE_RIGHT_ICON, RadioComponent, RadioGroupComponent, RangeSliderComponent, RangeSliderDirective, RatingComponent, RatingDirective, RatingIconDirective, RichTextEditorAlignToolComponent, RichTextEditorComponent, RichTextEditorDirective, RichTextEditorFloatingToolbarComponent, RichTextEditorFloatingToolbarDirective, RichTextEditorHeadingToolComponent, RichTextEditorImageEditorComponent, RichTextEditorImageToolComponent, RichTextEditorLinkEditorComponent, RichTextEditorLinkEditorDirective, RichTextEditorTableToolComponent, RichTextEditorTokenPaletteComponent, RichTextEditorTokenPopupComponent, RichTextEditorTriggersDirective, RichTextViewerComponent, SANKEY_CHART_ERROR_CODES, SCHEDULER_EDIT_SURFACE_IMPORTS, SCHEDULER_ERROR_CODES, SCHEDULER_FEATURE_HOST, SCHEDULER_IMPORTS, SCHEDULER_LABELS, SCROLLABLE_DARKEN_IMPORTS, SCROLLABLE_DRAG_IMPORTS, SCROLLABLE_ERROR_CODES, SCROLLABLE_IMPORTS, SCROLLABLE_NAVIGATION_IMPORTS, SCROLLBAR_ERROR_CODES, SCROLLBAR_IMPORTS, SEGMENTED_BUTTON_GROUP_VARIANTS, SEGMENTED_BUTTON_IMPORTS, SELECTION_CARD_CONTROL_POSITIONS, SELECTION_LIST_ERROR_CODES, SELECTION_LIST_IMPORTS, SELECTION_LIST_MULTIPLE, SELECTION_LIST_TOKEN, SELECT_ERROR_CODES, SELECT_FILTER_MODES, SELECT_IMPORTS, SELECT_LABELS, SIDEBAR_OVERLAY_CONFIG, SIDEBAR_OVERLAY_TOKEN, SINGLE_ELIMINATION_BRACKET_ROUND_TYPE, SKELETON_IMPORTS, SLIDER_ERROR_CODES, SLIDER_IMPORTS, SLIDER_LABELS, SLIDER_MARK_VALUE_ATTRIBUTE, SLIDER_TOKEN, SOOP_PLAYER_TOKEN, SPLIT_BUTTON_ERROR_CODES, STANDINGS_ERROR_CODES, STANDINGS_IMPORTS, STANDINGS_LABELS, STANDINGS_PICK_IMPORTS, STAR_ICON, STAT_TILE_IMPORTS, STAT_TILE_LABELS, STREAM_ALL_IMPORTS, STREAM_CONSENT_TOKEN, STREAM_DAILYMOTION_IMPORTS, STREAM_DEFAULT_COMPONENTS, STREAM_ERROR_CODES, STREAM_FACEBOOK_IMPORTS, STREAM_IMPORTS, STREAM_KICK_IMPORTS, STREAM_LABELS, STREAM_PIP_IMPORTS, STREAM_PLAYER_COMPONENT_TOKEN, STREAM_PLAYER_ERROR_CONTEXT_TOKEN, STREAM_PLAYER_ERROR_TOKEN, STREAM_PLAYER_PARAMS_TOKEN, STREAM_PLAYER_SLOT_TOKEN, STREAM_PLAYER_TOKEN, STREAM_SLOT_PLAYER_ID_TOKEN, STREAM_SOOP_IMPORTS, STREAM_TIKTOK_IMPORTS, STREAM_TWITCH_IMPORTS, STREAM_USER_CONSENT_PROVIDER_TOKEN, STREAM_VIMEO_IMPORTS, STREAM_YOUTUBE_IMPORTS, STRIKETHROUGH_ICON, SUPPORT_CONTENT_STATE, SUPPORT_TRANSITION_DIRECTION, SWISS_BRACKET_ROUND_TYPE, SWITCH_IMPORTS, SankeyChartComponent, SankeyChartDirective, SankeyChartMarkDirective, SchedulerActionAddAppointmentDirective, SchedulerAgendaDirective, SchedulerAgendaViewComponent, SchedulerAppointmentDragDirective, SchedulerBadgeChainCountComponent, SchedulerBadgeChainCountDirective, SchedulerBadgeColorDotComponent, SchedulerBadgeColorDotDirective, SchedulerBadgeLocationComponent, SchedulerBadgeLocationDirective, SchedulerBadgeTimeRangeComponent, SchedulerBadgeTimeRangeDirective, SchedulerBadgeTitleComponent, SchedulerBadgeTitleDirective, SchedulerComponent, SchedulerDirective, SchedulerEditAddSubAppointmentItemComponent, SchedulerEditColorComponent, SchedulerEditDeleteItemComponent, SchedulerEditDescriptionComponent, SchedulerEditLocationComponent, SchedulerEditSurfaceActionsComponent, SchedulerEditSurfaceBreadcrumbComponent, SchedulerEditSurfaceChildrenComponent, SchedulerEditSurfaceComponent, SchedulerEditSurfaceDirective, SchedulerEditSurfaceFieldsComponent, SchedulerEditSurfaceFooterComponent, SchedulerEditSurfaceHeaderComponent, SchedulerEditTimeRangeComponent, SchedulerEditTitleComponent, SchedulerMonthDirective, SchedulerMonthViewComponent, SchedulerSwipeNavigationDirective, SchedulerTimeGridDirective, SchedulerTimeGridViewComponent, ScrollableActiveChildDirective, ScrollableButtonsComponent, ScrollableButtonsDirective, ScrollableComponent, ScrollableDarkenDirective, ScrollableDirective, ScrollableDragDirective, ScrollableIgnoreChildDirective, ScrollableLoadingTemplateDirective, ScrollableMasksComponent, ScrollableNavigationComponent, ScrollableNavigationDirective, ScrollableSnapDirective, ScrollbarComponent, ScrollbarDirective, ScrollbarThumbDirective, SegmentedButtonComponent, SegmentedButtonGroupComponent, SelectAllOptionComponent, SelectAllOptionDirective, SelectComponent, SelectDirective, SelectEmptyDirective, SelectErrorDirective, SelectListboxDirective, SelectLoadingDirective, SelectOptionComponent, SelectOptionDirective, SelectOptionGroupComponent, SelectOptionGroupDirective, SelectOptionTemplateDirective, SelectOptionsDirective, SelectPanelComponent, SelectSearchDirective, SelectSurfaceDirective, SelectTriggerDirective, SelectValueDirective, SelectViewportDirective, SelectVirtualOptionComponent, SelectVirtualOptionDirective, SelectionListControlDirective, SelectionListDirective, SelectionOptionDirective, SkeletonComponent, SkeletonItemComponent, SkeletonTextComponent, SliderComponent, SliderDirective, SliderThumbDirective, SliderThumbLabelDirective, SliderTrackDirective, SoopPlayerComponent, SoopPlayerDirective, SoopPlayerParamsDirective, SoopPlayerSlotComponent, SpinnerComponent, SplitButtonActionDirective, SplitButtonComponent, SplitButtonDirective, SplitButtonTriggerDirective, StandingsComponent, StandingsDirective, StandingsPickComponent, StandingsPickDirective, StandingsPickMarkDirective, StandingsRowDetailDirective, StatTileComponent, StatTileSparklineComponent, StreamConsentAcceptDirective, StreamConsentComponent, StreamConsentDirective, StreamPipChromeComponent, StreamPlayerErrorComponent, StreamPlayerErrorDirective, StreamPlayerLoadingComponent, StreamPlayerSlotDirective, SwitchComponent, SwitchDirective, TABLE_CELL_ERROR_TOOLTIP_IMPORTS, TABLE_COLUMN_CHOOSER_IMPORTS, TABLE_COLUMN_MENU_IMPORTS, TABLE_CSV_EXPORT_IMPORTS, TABLE_DRAG_SCROLL_IMPORTS, TABLE_ERROR_CODES, TABLE_FEATURE_HOST, TABLE_FILTER_IMPORTS, TABLE_GROUP_HEADERS_IMPORTS, TABLE_ICON, TABLE_IMPORTS, TABLE_INLINE_EDIT_IMPORTS, TABLE_KEYBOARD_NAV_IMPORTS, TABLE_LABELS, TABLE_PAGE_STICKY_HEADER_IMPORTS, TABLE_REORDER_IMPORTS, TABLE_RESIZE_IMPORTS, TABLE_ROW_EXPANSION_IMPORTS, TABLE_ROW_ROUTER_LINK_IMPORTS, TABLE_SELECTION_IMPORTS, TABLE_SKELETON_IMPORTS, TABLE_STATE_PERSISTENCE_IMPORTS, TABLE_STICKY_COLUMNS_IMPORTS, TABLE_VIRTUAL_SCROLL_IMPORTS, TAB_BAR_ALIGNS, TAB_BAR_FITS, TAB_BAR_ORIENTATIONS, TAB_BAR_TOKEN, TAB_BAR_TRIGGER_TOKEN, TAB_BAR_VARIANTS, TAB_ERROR_CODES, TAB_GROUP_TOKEN, TAB_IMPORTS, TAB_PANEL_TOKEN, TAB_SIZES, TAG_INPUT_ERROR_CODES, TAG_INPUT_IMPORTS, TEXTAREA_IMPORTS, TEXTAREA_RESIZE_MODES, TEXT_ALIGNS, TEXT_FIELD_CONTROL_INPUTS, THUMBTACK_ICON, TIKTOK_PLAYER_TOKEN, TIMELINE_IMPORTS, TIMES_ICON, TIME_FORMAT, TIME_INPUT_ERROR_CODES, TIME_INPUT_IMPORTS, TIME_PICKER_ERROR_CODES, TIME_PICKER_IMPORTS, TIME_PICKER_LABELS, TIME_RANGE_INPUT_ERROR_CODES, TIME_RANGE_INPUT_IMPORTS, TOGGLETIP_ERROR_CODES, TOGGLETIP_IMPORTS, TOOLBAR_IMPORTS, TOOLBAR_ORIENTATIONS, TOOLTIP_ERROR_CODES, TOOLTIP_IMPORTS, TOURNAMENT_MODE, TRASH_ICON, TREE_ERROR_CODES, TREE_IMPORTS, TREE_LABELS, TREE_LEVEL_STATUSES, TREE_MARKERS, TREE_SELECTION_MODES, TRIANGLE_EXCLAMATION_ICON, TROPHY_ICON, TWITCH_PLAYER_TOKEN, TabBarDirective, TabBarTriggerDirective, TabBarUnderlineDirective, TabComponent, TabGroupComponent, TabGroupDirective, TabLabelDirective, TabPanelDirective, TabTriggerDirective, TableCardSurfaceDirective, TableCellDirective, TableCellEditDirective, TableCellErrorMarkComponent, TableCellErrorTooltipDirective, TableCellSkeletonDirective, TableColumnChooserComponent, TableColumnMenuDirective, TableColumnMenuTriggerComponent, TableComponent, TableCsvExportDirective, TableDetailStylesComponent, TableDragScrollDirective, TableDragScrollStylesComponent, TableExpanderCellComponent, TableFilterOptionDirective, TableFilterTriggerComponent, TableFiltersDirective, TableFooterCellDirective, TableFooterDirective, TableGroupHeaderRowComponent, TableGroupHeadersDirective, TableHeaderCellDirective, TableInlineEditDirective, TableInlineEditStylesComponent, TableKeyboardNavDirective, TablePageStickyHeaderDirective, TablePageStickyHeaderStylesComponent, TableReorderDirective, TableReorderOverlayComponent, TableResizeDirective, TableResizeGripComponent, TableRowBoxStylesComponent, TableRowDetailComponent, TableRowExpansionDirective, TableRowRouterLinkDirective, TableSelectAllCellComponent, TableSelectCellComponent, TableSelectionDirective, TableSkeletonDirective, TableSkeletonRowsComponent, TableStatePersistenceDirective, TableStickyColumnsDirective, TableStickyColumnsStylesComponent, TableVirtualScrollDirective, TableVirtualScrollStylesComponent, TagInputComponent, TagInputDirective, TagInputFieldDirective, TextButtonComponent, TextFieldControlDirective, TextareaComponent, TextareaDirective, TikTokPlayerComponent, TikTokPlayerDirective, TikTokPlayerParamsDirective, TikTokPlayerSlotComponent, TimeInputComponent, TimeInputDirective, TimeInputFieldDirective, TimePickerComponent, TimePickerDirective, TimePickerRingDirective, TimePickerRingHandleDirective, TimeRangeInputComponent, TimeRangeInputDirective, TimeRangeInputFieldDirective, TimelineComponent, TimelineDirective, TimelineItemComponent, TimelineItemDirective, ToggletipCloseDirective, ToggletipComponent, ToggletipDirective, ToggletipTriggerDirective, ToolbarComponent, ToolbarDirective, TooltipComponent, TooltipDirective, TreeComponent, TreeDirective, TreeMarkerComponent, TreeNodeDefDirective, TreeNodeDirective, TwitchPlayerComponent, TwitchPlayerDirective, TwitchPlayerParamsDirective, TwitchPlayerSlotComponent, UNDERLINE_ICON, UNDO_ICON, UNSAVED_CHANGES_LABELS, UPLOAD_ICON, VIMEO_PLAYER_TOKEN, VimeoPlayerComponent, VimeoPlayerDirective, VimeoPlayerParamsDirective, VimeoPlayerSlotComponent, WCAG_CONTRAST_RATIOS, WINDOW_CONTROL_BUTTON_KINDS, WINDOW_CONTROL_BUTTON_SHAPES, WINDOW_CONTROL_BUTTON_SIZES, WindowControlButtonComponent, YOUTUBE_PLAYER_TOKEN, YoutubePlayerComponent, YoutubePlayerDirective, YoutubePlayerParamsDirective, YoutubePlayerSlotComponent, alertDialogLabelsForLocale, anchoredDialogOverlayStrategy, anchoredOverlayStrategy, avatarLabelsForLocale, bannerLabelsForLocale, bottomSheetOverlayStrategy, bracketFitsWidth, bracketLabelsForLocale, bracketNaturalWidth, bracketSectionLabel, bracketSlot, breadcrumbLabelsForLocale, buildAnchoredRuntimePositionStrategy, calendarLabelsForLocale, canHaveChildren, canonicalKbdKey, carouselLabelsForLocale, cascaderFromQuery, cascaderLabelsForLocale, centeredOverlayStrategy, chartLabelsForLocale, chipLabelsForLocale, clearLeavingSupportStateOnExit, colorContrast, colorInputLabelsForLocale, commandPaletteLabelsForLocale, copyButtonLabelsForLocale, countDescendants, createAlertDialogOpener, createAnchoredPanelController, createBracket, createCardMask, createCommandPaletteOpener, createCurrencyMask, createDefaultDropzoneArgs, createDropzoneUpload, createExistingDropzoneEntry, createFileDropzoneEntry, createFixedLengthRangeStrategy, createGridAdapter, createIbanMask, createNormalizedBracketMatch, createNotificationPromiseFn, createNotificationRef, createOverlayOpener, createOverlaySingleSlot, createOverlayStrategyController, createOverlayUnsavedChangesGuard, createPipChromeAnimations, createPipChromeState, createPlaceholderBracketSource, createRichTextEditorTrigger, createRichTextEditorTriggerWithQuery, createSchedulerRegistry, createStreamConfig, createStreamPlayerSlot, createTableRowsSource, createTableRowsState, createTableStateStorage, createV2DropzoneUpload, createWeekRangeStrategy, dateBounds, dateRangeBounds, dateRangeOrder, dateTimeBounds, dateTimeLabelsForLocale, dateTimeRangeBounds, dateTimeRangeOrder, defaultCompareWith, defaultDropzoneRejectionMessage, defaultSankeyChartLinkKeyHint, defineOverlay, defineQueryParamOverlay, describeBracketSlot, deserializeGridLayout, deserializeTableState, detectKbdPlatform, dialogOverlayStrategy, disposeDropzoneEntry, doubleEliminationBracketLayout, dropzoneFiles, dropzoneLabelsForLocale, enableDragToDismiss, extractFirstImageUrl, filterOverlayLabelsForLocale, filterOverlayPreviewFromQuery, filterRows, filterValues, findNextRelevantHtmlElement, focusFirstInvalidField, formErrorContext, formFieldLabelsForLocale, formatFileSize, fromGridPosition, fullScreenDialogOverlayStrategy, generateBracketDataForEthlete, generateRoundTypeFromEthleteRoundType, generateTournamentModeFromEthleteRounds, getClosestOverlay, getColorContrastRatio, getOriginCoordinatesAndDimensions, gridLabelsForLocale, hexColor, hitsInteractiveElement, iconRegistryKey, injectAlertDialogLabels, injectAnchoredDialogStrategy, injectAnchoredDialogStrategyDefaults, injectAvatarLabels, injectBannerLabels, injectBottomSheetStrategy, injectBottomSheetStrategyDefaults, injectBracketConfig, injectBracketLabels, injectBreadcrumbLabels, injectBreadcrumbManager, injectCalendarLabels, injectCarouselLabels, injectCascaderLabels, injectChartLabels, injectChipLabels, injectColorInputLabels, injectCommandPalette, injectCommandPaletteLabels, injectCommandPaletteRegistry, injectCopyButtonLabels, injectDateFormat, injectDateLocale, injectDateLocaleSignal, injectDateTimeFormat, injectDateTimeLabels, injectDateTimeZone, injectDialogStrategy, injectDialogStrategyDefaults, injectDropzoneLabels, injectFilterOverlay, injectFilterOverlayLabels, injectFormFieldDefaults, injectFormFieldLabels, injectFormSupport, injectFullscreenDialogStrategy, injectFullscreenDialogStrategyDefaults, injectGridConfig, injectGridLabels, injectInputLabels, injectKbdLabels, injectLeftSheetStrategy, injectLeftSheetStrategyDefaults, injectLoaderLabels, injectMatchLabels, injectMenuConfig, injectNotificationLabels, injectNotificationManager, injectNotificationManagerConfig, injectOverlayManager, injectOverlayRouter, injectOverlayScrollBlocker, injectOverlaySurfaceContext, injectPaginationLabels, injectPhoneInputLabels, injectPictureConfig, injectPipChromeManager, injectPipManager, injectPipSlotPlaceholderConfig, injectProgressStepLabels, injectQueryErrorLabels, injectRichTextEditorLabels, injectRichTextEditorTools, injectRightSheetStrategy, injectRightSheetStrategyDefaults, injectSchedulerEditSurface, injectSchedulerEditSurfaceOpener, injectSchedulerFeatureHost, injectSchedulerLabels, injectSelectIcons, injectSelectLabels, injectSidebarOverlay, injectSliderLabels, injectStandingsLabels, injectStatTileLabels, injectStreamConfig, injectStreamConsentConfig, injectStreamLabels, injectStreamManager, injectStreamPlayerErrorConfig, injectStreamPlayerLoadingConfig, injectStreamPlayerSlot, injectStreamScriptLoader, injectStreamUserConsentProvider, injectTableCsvExport, injectTableFeatureHost, injectTableLabels, injectTimeFormat, injectTimePickerLabels, injectTopSheetStrategy, injectTopSheetStrategyDefaults, injectTreeLabels, injectUnsavedChangesLabels, inputLabelsForLocale, isBracketSlotPredictable, isFileAccepted, isHtmlElement, isInteractiveElement, isPointerEvent, isRestorableTableState, isTargetInsideOverlayTree, isTouchEvent, kbdKeyLabel, kbdKeyName, kbdLabelsForLocale, lastDaysPreset, lastMonthPreset, lastWeekPreset, leftSheetOverlayStrategy, legacyQueryErrorSource, loaderLabelsForLocale, mapGridLayout, matchCountryByDialCode, matchLabelsForLocale, matchParticipantDisplayName, matchedDialPrefix, matchesKbdChord, mergeOverlayBreakpointConfigs, mergeOverlayConfigs, mergeTableCsvExportOptions, migrateBracketPicks, mirroredDoubleEliminationBracketLayout, mirroredSingleEliminationBracketLayout, missingStreamSourceError, mountNavTabLinkStyles, nextDaysPreset, normalizeEthleteBracketMatch, normalizeEthleteGroupRanking, normalizeEthleteMatch, normalizeEthleteMatchStatus, normalizeEthleteMedia, normalizeEthleteParticipant, normalizeEthletePlacement, normalizePictureSizes, normalizePictureSource, notificationLabelsForLocale, numberInputStepMultiplierFrom, overlayResult, paginate, paginationLabelsForLocale, parseKbdKeys, phoneCountryFlag, phoneCountryName, phoneInputLabelsForLocale, progressStepLabelsForLocale, provideAlertDialogLabels, provideAnchoredDialogStrategy, provideAnchoredDialogStrategyDefaults, provideAvatarLabels, provideBannerLabels, provideBottomSheetStrategy, provideBottomSheetStrategyDefaults, provideBracketConfig, provideBracketLabels, provideBreadcrumbLabels, provideBreadcrumbManager, provideCalendarLabels, provideCarouselLabels, provideCascaderLabels, provideChartLabels, provideChipLabels, provideColorInputLabels, provideCommandPaletteLabels, provideCommandPaletteRegistry, provideCopyButtonLabels, provideDateFormat, provideDateLocale, provideDateTimeFormat, provideDateTimeLabels, provideDateTimeZone, provideDialogStrategy, provideDialogStrategyDefaults, provideDropzoneLabels, provideFilterOverlay, provideFilterOverlayLabels, provideFormErrorMessageResolver, provideFormErrorMessages, provideFormFieldDefaults, provideFormFieldLabels, provideFormSupport, provideFormWarningMessageResolver, provideFullscreenDialogStrategy, provideFullscreenDialogStrategyDefaults, provideGridConfig, provideGridLabels, provideIconOverrides, provideIcons, provideInputLabels, provideKbdLabels, provideLeftSheetStrategy, provideLeftSheetStrategyDefaults, provideLoaderLabels, provideMatchLabels, provideMenuConfig, provideNotificationLabels, provideNotificationManager, provideNotificationManagerConfig, provideNotificationManagerInstance, provideOverlay, provideOverlayManager, provideOverlayRouter, provideOverlayRouterConfig, provideOverlayRouterService, provideOverlayScrollBlocker, providePaginationLabels, providePhoneInputLabels, providePictureConfig, providePipChromeManager, providePipManager, providePipSlotPlaceholderConfig, provideProgressStepLabels, provideQueryErrorLabels, provideRichTextEditorAlignmentTool, provideRichTextEditorAutoformat, provideRichTextEditorBlockquoteTool, provideRichTextEditorCodeBlockTool, provideRichTextEditorDefaultTools, provideRichTextEditorFloatingToolbar, provideRichTextEditorHeadingTool, provideRichTextEditorImageTool, provideRichTextEditorLabels, provideRichTextEditorLanguageTool, provideRichTextEditorLinkEditor, provideRichTextEditorLinkTool, provideRichTextEditorTableTool, provideRichTextEditorTokenRendering, provideRichTextEditorTool, provideRichTextEditorTools, provideRightSheetStrategy, provideRightSheetStrategyDefaults, provideSchedulerEditSurface, provideSchedulerLabels, provideSelectIcons, provideSelectLabels, provideSidebarOverlay, provideSidebarOverlayConfig, provideSidebarOverlayService, provideSliderLabels, provideStandingsLabels, provideStatTileLabels, provideStreamConfig, provideStreamConsentConfig, provideStreamLabels, provideStreamManager, provideStreamPip, provideStreamPlayerErrorConfig, provideStreamPlayerLoadingConfig, provideTableLabels, provideTimeFormat, provideTimePickerLabels, provideTopSheetStrategy, provideTopSheetStrategyDefaults, provideTreeLabels, provideUnsavedChangesAlertDialog, provideUnsavedChangesLabels, queryButtonSourceFromV2Query, queryErrorLabelsForLocale, queryErrorResponseFromLegacyError, quickFilterRows, reconcileColumnOrder, reconcileColumnWidths, reconcileHiddenColumns, reduceSupportPresentation, registerCommands, registerSingleton, rejectionMessage, requiredLanguages, resolveBracketLayout, resolveBracketLayoutSettings, resolveBracketSlot, resolveClosestOverlay, resolveFilterOverlaySubmitButton, resolveNormalizedMatchSideState, resolveNotificationStatusIcon, resolveOverlayHasBackdrop, resolveTableCsvRows, rgbColor, richTextEditorLabelsForLocale, richTextEditorToolLabel, rightSheetOverlayStrategy, schedulerFeatureConfig, schedulerLabelsForLocale, selectLabelsForLocale, selectOptionsFromQuery, selectOptionsFromV2Query, serializeGridLayout, serializeTableState, singleEliminationBracketLayout, sliderLabelsForLocale, sortRows, standingRankSides, standingsLabelsForLocale, startOfCalendarUnit, statTileLabelsForLocale, streamLabelsForLocale, stripTrunkZero, supportPresentationIncludesState, swapStandingRank, swissBracketLayout, tableCsvRowsFromPages, tableFeatureConfig, tableLabelsForLocale, tableRowsFromQuery, tableRowsFromV2Query, tableToCsv, thisMonthPreset, thisWeekPreset, thisYearPreset, timeBounds, timePickerLabelsForLocale, timeRangeBounds, timeRangeOrder, toFieldWarnings, toGridPosition, toNotificationContent, toPictureDimension, todayPreset, topSheetOverlayStrategy, transformingBottomSheetToDialogOverlayStrategy, transformingFullScreenDialogToDialogOverlayStrategy, transformingFullScreenDialogToRightSheetOverlayStrategy, treeLabelsForLocale, unsavedChangesLabelsForLocale, validateBracketSource, warn, wireFormSupport, withPictureBaseUrl, yesterdayPreset };
|
|
115130
|
+
const COMPONENTS_VERSION = "1.0.0-next.91";
|
|
115131
|
+
export { ACCESSIBLE_NAME_INPUTS, ACCORDION_ERROR_CODES, ACCORDION_GROUP_TOKEN, ACCORDION_IMPORTS, ACCORDION_TOKEN, ALERT_DIALOG_LABELS, ALIGN_CENTER_ICON, ALIGN_JUSTIFY_ICON, ALIGN_LEFT_ICON, ALIGN_RIGHT_ICON, ARROWS_LEFT_RIGHT_ICON, ARROW_OUT_UP_RIGHT_ICON, ARROW_RIGHT_ICON, ARROW_UP_ICON, AVATAR_IMPORTS, AVATAR_LABELS, AVATAR_SHAPES, AVATAR_SIZES, AccessibleNameControlDirective, AccordionComponent, AccordionContentDirective, AccordionDirective, AccordionGroupComponent, AccordionGroupDirective, AccordionHintDirective, AccordionLabelDirective, AccordionPanelDirective, AccordionTriggerDirective, AvatarComponent, AvatarGroupComponent, BADGE_ICON_ALIGNMENTS, BADGE_IMPORTS, BADGE_SIZES, BADGE_VARIANTS, BANNER_IMPORTS, BANNER_LABELS, BANNER_TYPES, BOLD_ICON, BRACKET_CARD_CONTEXT, BRACKET_DATA_LAYOUT, BRACKET_DEFAULTS, BRACKET_DEFAULT_CARDS, BRACKET_DENSITY, BRACKET_DENSITY_PRESETS, BRACKET_ERROR_CODES, BRACKET_FINAL_ALIGNMENT, BRACKET_IMPORTS, BRACKET_LABELS, BRACKET_PARTICIPANTS_IMPORTS, BRACKET_PICK_CARD_IMPORTS, BRACKET_PICK_CARD_NOTE_TONE, BRACKET_ROUNDS_LIST_IMPORTS, BRACKET_ROUND_HEADER_ALIGN, BRACKET_ROUND_MIRROR_TYPE, BRACKET_SECTION_KEY, BRACKET_SKELETON_IMPORTS, BRACKET_SWISS_GROUP_COLOR_TYPE, BREADCRUMB_COLLAPSE_IMPORTS, BREADCRUMB_COLLAPSE_TOKEN, BREADCRUMB_ERROR_CODES, BREADCRUMB_IMPORTS, BREADCRUMB_LABELS, BREADCRUMB_SEGMENT_TOKEN, BREADCRUMB_SEO_IMPORTS, BREADCRUMB_TOKEN, BUTTON_ICON_ALIGNMENTS, BUTTON_IMPORTS, BUTTON_SIZES, BUTTON_SPINNER_CONFIG, BUTTON_TYPES, BUTTON_VARIANTS, BadgeComponent, BannerComponent, BarChartComponent, BarChartDirective, BarChartPlotDirective, BracketComponent, BracketDefaultContinueComponent, BracketDefaultFinalMatchComponent, BracketDefaultMatchComponent, BracketDefaultRoundHeaderComponent, BracketDefaultSectionTitleComponent, BracketMap, BracketParticipantsComponent, BracketPickCardComponent, BracketRoundsListComponent, BracketRuntimeError, BracketSkeletonComponent, BracketSkeletonContinueComponent, BracketSkeletonFinalMatchComponent, BracketSkeletonMatchComponent, BracketSkeletonRoundHeaderComponent, BrandLoaderComponent, BreadcrumbCollapseDirective, BreadcrumbComponent, BreadcrumbDirective, BreadcrumbItemDirective, BreadcrumbItemTemplateDirective, BreadcrumbOutletComponent, BreadcrumbOverflowComponent, BreadcrumbSegmentDirective, BreadcrumbSeoDirective, BreadcrumbSeparatorDirective, ButtonColorDirective, ButtonComponent, ButtonDirective, ButtonStylesDirective, CALENDAR_ERROR_CODES, CALENDAR_ICON, CALENDAR_IMPORTS, CALENDAR_LABELS, CARD_IMPORTS, CARD_VARIANTS, CAROUSEL_AUTOPLAY_TOKEN, CAROUSEL_ERROR_CODES, CAROUSEL_IMPORTS, CAROUSEL_LABELS, CAROUSEL_SLIDE_ALIGNMENTS, CAROUSEL_TOKEN, CAROUSEL_TRANSITIONS, CAROUSEL_TRANSITION_DRIVERS, CASCADER_ERROR_CODES, CASCADER_IMPORTS, CASCADER_LABELS, CASCADER_SELECTABLE_LEVELS, CHART_ERROR_CODES, CHART_IMPORTS, CHART_LABELS, CHART_PLOT_HOST, CHECKBOX_GROUP_IMPORTS, CHECKBOX_IMPORTS, CHECKBOX_OPTION_VARIANTS, CHECK_ICON, CHEVRON_ICON, CHIP_ERROR_CODES, CHIP_IMPORTS, CHIP_LABELS, CHIP_REMOVE_FOCUS_FALLBACK, CHIP_REMOVE_TAB_STOP, CHOICE_FIELD_IMPORTS, CHOICE_FIELD_LABEL_POSITIONS, CHOICE_FIELD_LAYOUTS, CHOICE_FIELD_VARIANTS, CIRCLE_CHECK_ICON, CIRCLE_INFO_ICON, CLIPBOARD_CHECK_ICON, CLOCK_ICON, CODE_BLOCK_ICON, CODE_ICON, COLLAPSE_IMPORTS, COLOR_INPUT_ERROR_CODES, COLOR_INPUT_IMPORTS, COLOR_INPUT_LABELS, COLOR_INPUT_TOKEN, COLOR_NOTATIONS, COLOR_NOTATION_ORDER, COMMAND_PALETTE_ERROR_CODES, COMMAND_PALETTE_IMPORTS, COMMAND_PALETTE_LABELS, COMMAND_PALETTE_OVERLAY, COMMAND_PALETTE_REGISTRY, COMMAND_PALETTE_TOKEN, COMMON_BRACKET_ROUND_TYPE, COMPONENTS_VERSION, COPY_BUTTON_IMPORTS, COPY_BUTTON_LABELS, CalendarCellDirective, CalendarComponent, CalendarDirective, CalendarGridDirective, CalendarHeaderDirective, CardComponent, CarouselAutoplayDirective, CarouselComponent, CarouselDirective, CarouselItemDirective, CarouselNextDirective, CarouselPlayToggleDirective, CarouselPreviousDirective, CarouselSlideDirective, CascaderColumnDirective, CascaderComponent, CascaderDirective, CascaderNodeDirective, CascaderPanelComponent, CascaderSearchDirective, CascaderSearchOptionDirective, CascaderSurfaceDirective, CascaderTriggerDirective, ChartPlotDirective, CheckboxComponent, CheckboxDirective, CheckboxGroupComponent, CheckboxGroupSelectAllComponent, CheckboxOptionComponent, ChipComponent, ChipDirective, ChipRemoveDirective, ChoiceFieldComponent, CollapseComponent, CollapseDirective, ColorInputComponent, ColorInputDirective, ColorPickerAreaDirective, ColorPickerChannelDirective, ColorPickerPanelComponent, ColorPickerSurfaceDirective, ColorPickerTriggerDirective, CommandPaletteComponent, CommandPaletteDirective, CommandPaletteItemComponent, CommandPaletteSearchDirective, CommandPaletteShortcutDirective, ControlSuffixDirective, CopyButtonDirective, CounterComponent, DAILYMOTION_PLAYER_TOKEN, DATE_FORMAT, DATE_INPUT_ERROR_CODES, DATE_INPUT_IMPORTS, DATE_LOCALE, DATE_PICKER_HOST, DATE_RANGE_INPUT_ERROR_CODES, DATE_RANGE_INPUT_IMPORTS, DATE_TIME_FORMAT, DATE_TIME_INPUT_ERROR_CODES, DATE_TIME_INPUT_IMPORTS, DATE_TIME_LABELS, DATE_TIME_RANGE_INPUT_ERROR_CODES, DATE_TIME_RANGE_INPUT_IMPORTS, DEFAULT_ALERT_DIALOG_LABELS, DEFAULT_AVATAR_LABELS, DEFAULT_BANNER_LABELS, DEFAULT_BRACKET_LABELS, DEFAULT_BREADCRUMB_LABELS, DEFAULT_BREAKPOINTS, DEFAULT_CALENDAR_LABELS, DEFAULT_CALENDAR_RANGE_STRATEGY, DEFAULT_CAROUSEL_LABELS, DEFAULT_CASCADER_LABELS, DEFAULT_CHART_LABELS, DEFAULT_CHIP_LABELS, DEFAULT_COLOR_INPUT_LABELS, DEFAULT_COMMAND_PALETTE_LABELS, DEFAULT_COPY_BUTTON_LABELS, DEFAULT_DATE_TIME_LABELS, DEFAULT_DROPZONE_LABELS, DEFAULT_DROPZONE_MAX_PREVIEW_FILE_SIZE, DEFAULT_FILTER_OVERLAY_LABELS, DEFAULT_FORM_FIELD_DEFAULTS, DEFAULT_FORM_FIELD_LABELS, DEFAULT_GRID_LABELS, DEFAULT_ICON_VARIANT, DEFAULT_INPUT_LABELS, DEFAULT_KBD_LABELS, DEFAULT_LOADER_LABELS, DEFAULT_MATCH_CARD_START_TIME_FORMAT, DEFAULT_MATCH_LABELS, DEFAULT_NOTIFICATION_LABELS, DEFAULT_NOTIFICATION_MANAGER_CONFIG, DEFAULT_NOTIFICATION_STATUS_ICONS, DEFAULT_PAGINATION_LABELS, DEFAULT_PHONE_INPUT_LABELS, DEFAULT_PROGRESS_STEP_LABELS, DEFAULT_QUERY_ERROR_LABELS, DEFAULT_RICH_TEXT_EDITOR_LABELS, DEFAULT_RICH_TEXT_EDITOR_TOOLS, DEFAULT_SCHEDULER_LABELS, DEFAULT_SELECT_ICONS, DEFAULT_SELECT_LABELS, DEFAULT_SLIDER_LABELS, DEFAULT_STANDINGS_LABELS, DEFAULT_STAT_TILE_LABELS, DEFAULT_STREAM_LABELS, DEFAULT_STREAM_PLAYER_STATE, DEFAULT_TABLE_LABELS, DEFAULT_TIME_PICKER_LABELS, DEFAULT_TREE_LABELS, DEFAULT_UNSAVED_CHANGES_LABELS, DESCRIPTION_IMPORTS, DESCRIPTION_LIST_IMPORTS, DESCRIPTION_LIST_VARIANTS, DIVIDER_IMPORTS, DOUBLE_ELIMINATION_BRACKET_ROUND_TYPE, DROPZONE_CROP_IMPORTS, DROPZONE_CROP_SHAPES, DROPZONE_ENTRY_STATUSES, DROPZONE_ERROR_CODES, DROPZONE_FILES_ERROR_KIND, DROPZONE_FILE_CONSTRAINTS, DROPZONE_FILE_REJECTION_REASONS, DROPZONE_IMPORTS, DROPZONE_LABELS, DROPZONE_LAYOUTS, DURATION_INPUT_ERROR_CODES, DURATION_INPUT_IMPORTS, DailymotionPlayerComponent, DailymotionPlayerDirective, DailymotionPlayerParamsDirective, DailymotionPlayerSlotComponent, DateInputComponent, DateInputDirective, DateInputFieldDirective, DatePickerPanelComponent, DatePickerSurfaceDirective, DatePickerTriggerDirective, DateRangeInputComponent, DateRangeInputDirective, DateRangeInputFieldDirective, DateTimeInputComponent, DateTimeInputDirective, DateTimeInputFieldDirective, DateTimeRangeInputComponent, DateTimeRangeInputDirective, DateTimeRangeInputFieldDirective, DescriptionComponent, DescriptionListComponent, DividerComponent, DropzoneComponent, DropzoneCropComponent, DropzoneCropDirective, DropzoneCropHandleDirective, DropzoneCropRectDirective, DropzoneCropStepComponent, DropzoneCropStepDirective, DropzoneDirective, DurationInputComponent, DurationInputDirective, DurationInputFieldDirective, ELLIPSIS_ICON, ELLIPSIS_VERTICAL_ICON, EMPTY_STATE_IMPORTS, ET_BUILT_IN_ICON_NAMES, EYEDROPPER_ICON, EYE_ICON, EYE_SLASH_ICON, EmptyStateComponent, FACEBOOK_PLAYER_TOKEN, FIELD_WARNINGS, FIELD_WARNING_KIND, FILE_ICON, FILTER_ICON, FILTER_OVERLAY_ERROR_CODES, FILTER_OVERLAY_IMPORTS, FILTER_OVERLAY_LABELS, FILTER_OVERLAY_TOKEN, FLOATING_ACTION_ERROR_CODES, FLOATING_ACTION_IMPORTS, FLOATING_ACTION_STATES, FLOATING_ACTION_TOKEN, FLOPPY_DISK_ICON, FOCUS_FRAME_ICON, FORM_ERROR_MESSAGE_RESOLVER, FORM_FIELD_APPEARANCES, FORM_FIELD_CONTROL_TYPES, FORM_FIELD_ERROR_CODES, FORM_FIELD_FILLS, FORM_FIELD_IMPORTS, FORM_FIELD_LABELS, FORM_FIELD_LABEL_MODES, FORM_FIELD_LABEL_POSITIONS, FORM_FIELD_SIZES, FORM_FIELD_TOKEN, FORM_IMPORTS, FORM_WARNING_MESSAGE_RESOLVER, FabComponent, FacebookPlayerComponent, FacebookPlayerDirective, FacebookPlayerParamsDirective, FacebookPlayerSlotComponent, FilterOverlayResetDirective, FilterOverlaySubmitDirective, FloatingActionAnchorDirective, FloatingActionDirective, FloatingActionScopeDirective, FloatingActionTopDirective, FloatingActionTriggerDirective, FocusRingDirective, FormDirective, FormErrorComponent, FormFieldBarrierDirective, FormFieldComponent, FormFieldDirective, FormWarningComponent, GERMAN_ALERT_DIALOG_LABELS, GERMAN_AVATAR_LABELS, GERMAN_BANNER_LABELS, GERMAN_BRACKET_LABELS, GERMAN_BREADCRUMB_LABELS, GERMAN_CALENDAR_LABELS, GERMAN_CAROUSEL_LABELS, GERMAN_CASCADER_LABELS, GERMAN_CHART_LABELS, GERMAN_CHIP_LABELS, GERMAN_COLOR_INPUT_LABELS, GERMAN_COMMAND_PALETTE_LABELS, GERMAN_COPY_BUTTON_LABELS, GERMAN_DATE_TIME_LABELS, GERMAN_DROPZONE_LABELS, GERMAN_FILTER_OVERLAY_LABELS, GERMAN_FORM_FIELD_LABELS, GERMAN_GRID_LABELS, GERMAN_INPUT_LABELS, GERMAN_KBD_LABELS, GERMAN_LOADER_LABELS, GERMAN_MATCH_LABELS, GERMAN_NOTIFICATION_LABELS, GERMAN_PAGINATION_LABELS, GERMAN_PHONE_INPUT_LABELS, GERMAN_PROGRESS_STEP_LABELS, GERMAN_QUERY_ERROR_LABELS, GERMAN_RICH_TEXT_EDITOR_LABELS, GERMAN_SCHEDULER_LABELS, GERMAN_SELECT_LABELS, GERMAN_SLIDER_LABELS, GERMAN_STANDINGS_LABELS, GERMAN_STAT_TILE_LABELS, GERMAN_STREAM_LABELS, GERMAN_TABLE_LABELS, GERMAN_TIME_PICKER_LABELS, GERMAN_TREE_LABELS, GERMAN_UNSAVED_CHANGES_LABELS, GRID_2X2_ICON, GRID_DEBUG_IMPORTS, GRID_ERROR_CODES, GRID_IMPORTS, GRID_LABELS, GRID_TOKEN, GROUP_BRACKET_ROUND_TYPE, GridComponent, GridDebugComponent, GridDirective, GridDragDirective, GridItemComponent, GridItemDefaultActionsComponent, GridItemDirective, GridItemToolbarComponent, GridResizeDirective, HEADING_1_ICON, HEADING_2_ICON, HEADING_3_ICON, HintComponent, ICONS_TOKEN, ICON_DIRECTIVE_TOKEN, ICON_ERROR_CODES, ICON_IMPORTS, ICON_OVERRIDES_TOKEN, IMAGE_ICON, INHERIT_COLOR, INITIAL_SUPPORT_PRESENTATION_STATE, INPUT_CLEAR_IMPORTS, INPUT_IMPORTS, INPUT_LABELS, INPUT_MASK_HOST, INPUT_TEXT_ALIGNMENTS, INPUT_TYPES, INTERACTIVE_TAGS, ITALIC_ICON, IconButtonComponent, IconDirective, InputClearDirective, InputComponent, InputDirective, InputMaskDirective, InputPrefixDirective, InputSuffixDirective, KBD_IMPORTS, KBD_LABELS, KBD_PLATFORM, KICK_PLAYER_TOKEN, KbdComponent, KickPlayerComponent, KickPlayerDirective, KickPlayerParamsDirective, KickPlayerSlotComponent, LINE_CHART_ERROR_CODES, LINK_ICON, LIST_BULLETED_ICON, LIST_NUMBERED_ICON, LOADER_IMPORTS, LOADER_LABELS, LOCATION_ICON, LOCK_ICON, LabelDirective, LineChartComponent, LineChartDirective, LineChartSliceDirective, MASKED_INPUT_ERROR_CODES, MASKED_INPUT_IMPORTS, MASK_VALUE_MODES, MASONRY_ERROR_CODES, MASONRY_IMPORTS, MASONRY_TOKEN, MATCH_CARD_IMPORTS, MATCH_CARD_SIZES, MATCH_CARD_TOKEN, MATCH_ERROR_CODES, MATCH_LABELS, MATCH_PARTICIPANT_IMPORTS, MENU_CONFIG_TOKEN, MENU_ERROR_CODES, MENU_IMPORTS, MENU_ITEM_VARIANTS, MENU_SEARCH_IMPORTS, MENU_SELECTION_GROUP_MULTIPLE, MENU_SELECTION_GROUP_TOKEN, MENU_SELECTION_ITEM_KIND, MINUS_ICON, MULTI_LANGUAGE_RICH_TEXT_EDITOR_ERROR_CODES, MULTI_LANGUAGE_RICH_TEXT_EDITOR_IMPORTS, MasonryDirective, MasonryItemDirective, MatchCardBadgeDirective, MatchCardComponent, MatchCardDirective, MatchCardGameScoresDirective, MatchCardMetaDirective, MatchCardScoreDirective, MatchParticipantComponent, MatchScoreComponent, MenuCheckboxGroupComponent, MenuCheckboxItemComponent, MenuComponent, MenuContextTriggerDirective, MenuDirective, MenuGroupLabelComponent, MenuItemComponent, MenuItemDirective, MenuItemShortcutComponent, MenuItemSubmenuIconComponent, MenuPanelDirective, MenuRadioGroupComponent, MenuRadioItemComponent, MenuSearchDirective, MenuSelectionGroupDirective, MenuSelectionItemDirective, MenuSeparatorComponent, MenuSurfaceDirective, MenuTriggerDirective, MultiLanguageRichTextEditorComponent, MultiLanguageRichTextEditorDirective, MultiLanguageRichTextEditorLanguageToolComponent, NAV_TABS_TOKEN, NAV_TAB_IMPORTS, NOTIFICATION_ACTION_SLOTS, NOTIFICATION_ERROR_CODES, NOTIFICATION_IMPORTS, NOTIFICATION_LABELS, NOTIFICATION_STACK_CONTEXT_TOKEN, NOTIFICATION_STACK_OVERLAY_LAYER, NOTIFICATION_STATUS, NO_STREAM_PLAYER_CAPABILITIES, NUMBER_INPUT_IMPORTS, NavTabLinkComponent, NavTabLinkDirective, NavTabLinkStylesComponent, NavTabsComponent, NavTabsDirective, NavTabsOutletComponent, NavTabsOutletDirective, NotificationActionDirective, NotificationComponent, NotificationDirective, NotificationDismissDirective, NotificationItemDirective, NotificationStackDirective, NotificationSwipeToDismissDirective, NumberInputComponent, NumberInputDirective, OTP_INPUT_IMPORTS, OVERLAY_BACK_OR_CLOSE_TOKEN, OVERLAY_BODY_TOKEN, OVERLAY_CONFIG_CLASS_KEYS, OVERLAY_CONTENT_IMPORTS, OVERLAY_ERROR_CODES, OVERLAY_FOOTER_TOKEN, OVERLAY_HAS_BACKDROP, OVERLAY_HEADER_TEMPLATE_TOKEN, OVERLAY_HEADER_TOKEN, OVERLAY_IMPORTS, OVERLAY_MAIN_TOKEN, OVERLAY_NAV_TAB_IMPORTS, OVERLAY_QUERY_PARAM_INPUT_NAME, OVERLAY_REF, OVERLAY_ROUTER_CONFIG_TOKEN, OVERLAY_ROUTER_LINK_TOKEN, OVERLAY_ROUTER_OUTLET_DISABLED_TEMPLATE_TOKEN, OVERLAY_ROUTER_OUTLET_TOKEN, OVERLAY_ROUTER_TOKEN, OVERLAY_SHARED_ROUTE_TEMPLATE_TOKEN, OtpInputComponent, OtpInputDirective, OverlayAnchorDirective, OverlayBackOrCloseDirective, OverlayBodyComponent, OverlayCloseDirective, OverlayContainerComponent, OverlayDirective, OverlayFooterDirective, OverlayHeaderDirective, OverlayHeaderTemplateDirective, OverlayMainDirective, OverlayNavTabLinkComponent, OverlayOriginCloneComponent, OverlayRouteHeaderTemplateOutletComponent, OverlayRouterLinkDirective, OverlayRouterOutletComponent, OverlayRouterOutletDisabledTemplateDirective, OverlaySharedRouteTemplateDirective, OverlaySharedRouteTemplateOutletComponent, OverlaySidebarComponent, OverlaySidebarPageComponent, OverlaySurfaceDirective, OverlayTitleDirective, OverlayTriggerDirective, PAGE_SIZE_SELECT_IMPORTS, PAGINATION_IMPORTS, PAGINATION_LABELS, PAGINATION_SIZES, PARAGRAPH_ICON, PASSWORD_INPUT_IMPORTS, PAUSE_ICON, PENCIL_ICON, PHONE_COUNTRIES, PHONE_INPUT_ERROR_CODES, PHONE_INPUT_IMPORTS, PHONE_INPUT_LABELS, PICTURE_IMPORTS, PICTURE_STATES, PIE_CHART_ERROR_CODES, PIP_CHROME_REF_TOKEN, PIP_ENTRY_TOKEN, PIP_WINDOW_ASPECT_RATIO_TOKEN, PLAY_ICON, PLUS_ICON, PROGRESS_STEPS_ALIGNS, PROGRESS_STEPS_IMPORTS, PROGRESS_STEPS_ORIENTATIONS, PROGRESS_STEP_LABELS, PROGRESS_STEP_STATES, PageSizeSelectComponent, PagedQueryTriggerDirective, PaginationComponent, PaginationDirective, PaginationSeoDirective, PasswordInputComponent, PasswordInputDirective, PhoneInputComponent, PhoneInputDirective, PhoneInputFieldDirective, PhoneInputFlagDirective, PictureComponent, PictureErrorDirective, PicturePlaceholderDirective, PieChartComponent, PieChartDirective, PipBackDirective, PipBringBackDirective, PipCellDirective, PipCloseDirective, PipCollapseOverlayDirective, PipGridToggleDirective, PipPlayerComponent, PipSlotPlaceholderComponent, PipStageDirective, PipTitleBarDirective, PipTitleBarTemplateDirective, PipWindowComponent, PipWindowParamsDirective, ProgressBarComponent, ProgressStepComponent, ProgressStepDirective, ProgressStepRouterActiveDirective, ProgressStepsComponent, ProgressStepsDirective, QUERY_ERROR_ERROR_CODES, QUERY_ERROR_IMPORTS, QUERY_ERROR_LABELS, QUERY_ERROR_TOKEN, QUOTE_ICON, QueryButtonDirective, QueryErrorActionsDirective, QueryErrorComponent, QueryErrorDirective, QueryErrorTitleDirective, QueryParamOverlayLinkDirective, RADIO_GROUP_IMPORTS, RADIO_VARIANTS, RATING_ERROR_CODES, RATING_IMPORTS, REDO_ICON, RICH_TEXT_EDITOR_FLOATING_TOOLBAR, RICH_TEXT_EDITOR_HEADING_OPTIONS, RICH_TEXT_EDITOR_IMPORTS, RICH_TEXT_EDITOR_INLINE_TOOLS, RICH_TEXT_EDITOR_LABELS, RICH_TEXT_EDITOR_LANGUAGE_TOOL, RICH_TEXT_EDITOR_LINK_EDITOR, RICH_TEXT_EDITOR_TOKEN_CODEC, RICH_TEXT_EDITOR_TOKEN_PALETTE_IMPORTS, RICH_TEXT_EDITOR_TOOL, RICH_TEXT_EDITOR_TOOLS, RICH_TEXT_EDITOR_TOOL_BUTTONS, RICH_TEXT_EDITOR_TRIGGERS_IMPORTS, ROTATE_RIGHT_ICON, RadioComponent, RadioGroupComponent, RangeSliderComponent, RangeSliderDirective, RatingComponent, RatingDirective, RatingIconDirective, RichTextEditorAlignToolComponent, RichTextEditorComponent, RichTextEditorDirective, RichTextEditorFloatingToolbarComponent, RichTextEditorFloatingToolbarDirective, RichTextEditorHeadingToolComponent, RichTextEditorImageEditorComponent, RichTextEditorImageToolComponent, RichTextEditorLinkEditorComponent, RichTextEditorLinkEditorDirective, RichTextEditorTableToolComponent, RichTextEditorTokenPaletteComponent, RichTextEditorTokenPopupComponent, RichTextEditorTriggersDirective, RichTextViewerComponent, SANKEY_CHART_ERROR_CODES, SCHEDULER_EDIT_SURFACE_IMPORTS, SCHEDULER_ERROR_CODES, SCHEDULER_FEATURE_HOST, SCHEDULER_IMPORTS, SCHEDULER_LABELS, SCROLLABLE_DARKEN_IMPORTS, SCROLLABLE_DRAG_IMPORTS, SCROLLABLE_ERROR_CODES, SCROLLABLE_IMPORTS, SCROLLABLE_NAVIGATION_IMPORTS, SCROLLBAR_ERROR_CODES, SCROLLBAR_IMPORTS, SEGMENTED_BUTTON_GROUP_OVERFLOWS, SEGMENTED_BUTTON_GROUP_VARIANTS, SEGMENTED_BUTTON_IMPORTS, SELECTION_CARD_CONTROL_POSITIONS, SELECTION_LIST_ERROR_CODES, SELECTION_LIST_IMPORTS, SELECTION_LIST_MULTIPLE, SELECTION_LIST_TOKEN, SELECT_ERROR_CODES, SELECT_FILTER_MODES, SELECT_IMPORTS, SELECT_LABELS, SIDEBAR_OVERLAY_CONFIG, SIDEBAR_OVERLAY_TOKEN, SINGLE_ELIMINATION_BRACKET_ROUND_TYPE, SKELETON_IMPORTS, SLIDER_ERROR_CODES, SLIDER_IMPORTS, SLIDER_LABELS, SLIDER_MARK_VALUE_ATTRIBUTE, SLIDER_TOKEN, SOOP_PLAYER_TOKEN, SPLIT_BUTTON_ERROR_CODES, STANDINGS_ERROR_CODES, STANDINGS_IMPORTS, STANDINGS_LABELS, STANDINGS_PICK_IMPORTS, STAR_ICON, STAT_TILE_IMPORTS, STAT_TILE_LABELS, STREAM_ALL_IMPORTS, STREAM_CONSENT_TOKEN, STREAM_DAILYMOTION_IMPORTS, STREAM_DEFAULT_COMPONENTS, STREAM_ERROR_CODES, STREAM_FACEBOOK_IMPORTS, STREAM_IMPORTS, STREAM_KICK_IMPORTS, STREAM_LABELS, STREAM_PIP_IMPORTS, STREAM_PLAYER_COMPONENT_TOKEN, STREAM_PLAYER_ERROR_CONTEXT_TOKEN, STREAM_PLAYER_ERROR_TOKEN, STREAM_PLAYER_PARAMS_TOKEN, STREAM_PLAYER_SLOT_TOKEN, STREAM_PLAYER_TOKEN, STREAM_SLOT_PLAYER_ID_TOKEN, STREAM_SOOP_IMPORTS, STREAM_TIKTOK_IMPORTS, STREAM_TWITCH_IMPORTS, STREAM_USER_CONSENT_PROVIDER_TOKEN, STREAM_VIMEO_IMPORTS, STREAM_YOUTUBE_IMPORTS, STRIKETHROUGH_ICON, SUPPORT_CONTENT_STATE, SUPPORT_TRANSITION_DIRECTION, SWISS_BRACKET_ROUND_TYPE, SWITCH_IMPORTS, SankeyChartComponent, SankeyChartDirective, SankeyChartMarkDirective, SchedulerActionAddAppointmentDirective, SchedulerAgendaDirective, SchedulerAgendaViewComponent, SchedulerAppointmentDragDirective, SchedulerBadgeChainCountComponent, SchedulerBadgeChainCountDirective, SchedulerBadgeColorDotComponent, SchedulerBadgeColorDotDirective, SchedulerBadgeLocationComponent, SchedulerBadgeLocationDirective, SchedulerBadgeTimeRangeComponent, SchedulerBadgeTimeRangeDirective, SchedulerBadgeTitleComponent, SchedulerBadgeTitleDirective, SchedulerComponent, SchedulerDirective, SchedulerEditAddSubAppointmentItemComponent, SchedulerEditColorComponent, SchedulerEditDeleteItemComponent, SchedulerEditDescriptionComponent, SchedulerEditLocationComponent, SchedulerEditSurfaceActionsComponent, SchedulerEditSurfaceBreadcrumbComponent, SchedulerEditSurfaceChildrenComponent, SchedulerEditSurfaceComponent, SchedulerEditSurfaceDirective, SchedulerEditSurfaceFieldsComponent, SchedulerEditSurfaceFooterComponent, SchedulerEditSurfaceHeaderComponent, SchedulerEditTimeRangeComponent, SchedulerEditTitleComponent, SchedulerMonthDirective, SchedulerMonthViewComponent, SchedulerSwipeNavigationDirective, SchedulerTimeGridDirective, SchedulerTimeGridViewComponent, ScrollableActiveChildDirective, ScrollableButtonsComponent, ScrollableButtonsDirective, ScrollableComponent, ScrollableDarkenDirective, ScrollableDirective, ScrollableDragDirective, ScrollableIgnoreChildDirective, ScrollableLoadingTemplateDirective, ScrollableMasksComponent, ScrollableNavigationComponent, ScrollableNavigationDirective, ScrollableSnapDirective, ScrollbarComponent, ScrollbarDirective, ScrollbarThumbDirective, SegmentedButtonComponent, SegmentedButtonGroupComponent, SelectAllOptionComponent, SelectAllOptionDirective, SelectComponent, SelectDirective, SelectEmptyDirective, SelectErrorDirective, SelectListboxDirective, SelectLoadingDirective, SelectOptionComponent, SelectOptionDirective, SelectOptionGroupComponent, SelectOptionGroupDirective, SelectOptionTemplateDirective, SelectOptionsDirective, SelectPanelComponent, SelectSearchDirective, SelectSurfaceDirective, SelectTriggerDirective, SelectValueDirective, SelectViewportDirective, SelectVirtualOptionComponent, SelectVirtualOptionDirective, SelectionListControlDirective, SelectionListDirective, SelectionOptionDirective, SkeletonComponent, SkeletonItemComponent, SkeletonTextComponent, SliderComponent, SliderDirective, SliderThumbDirective, SliderThumbLabelDirective, SliderTrackDirective, SoopPlayerComponent, SoopPlayerDirective, SoopPlayerParamsDirective, SoopPlayerSlotComponent, SpinnerComponent, SplitButtonActionDirective, SplitButtonComponent, SplitButtonDirective, SplitButtonTriggerDirective, StandingsComponent, StandingsDirective, StandingsFormTooltipDirective, StandingsPickComponent, StandingsPickDirective, StandingsPickMarkDirective, StandingsRowDetailDirective, StatTileComponent, StatTileSparklineComponent, StreamConsentAcceptDirective, StreamConsentComponent, StreamConsentDirective, StreamPipChromeComponent, StreamPlayerErrorComponent, StreamPlayerErrorDirective, StreamPlayerLoadingComponent, StreamPlayerSlotDirective, SwitchComponent, SwitchDirective, TABLE_CELL_ERROR_TOOLTIP_IMPORTS, TABLE_COLUMN_CHOOSER_IMPORTS, TABLE_COLUMN_MENU_IMPORTS, TABLE_CSV_EXPORT_IMPORTS, TABLE_DRAG_SCROLL_IMPORTS, TABLE_ERROR_CODES, TABLE_FEATURE_HOST, TABLE_FILTER_IMPORTS, TABLE_GROUP_HEADERS_IMPORTS, TABLE_ICON, TABLE_IMPORTS, TABLE_INLINE_EDIT_IMPORTS, TABLE_KEYBOARD_NAV_IMPORTS, TABLE_LABELS, TABLE_PAGE_STICKY_HEADER_IMPORTS, TABLE_REORDER_IMPORTS, TABLE_RESIZE_IMPORTS, TABLE_ROW_EXPANSION_IMPORTS, TABLE_ROW_ROUTER_LINK_IMPORTS, TABLE_SELECTION_IMPORTS, TABLE_SKELETON_IMPORTS, TABLE_STATE_PERSISTENCE_IMPORTS, TABLE_STICKY_COLUMNS_IMPORTS, TABLE_VIRTUAL_SCROLL_IMPORTS, TAB_BAR_ALIGNS, TAB_BAR_FITS, TAB_BAR_ORIENTATIONS, TAB_BAR_TOKEN, TAB_BAR_TRIGGER_TOKEN, TAB_BAR_VARIANTS, TAB_ERROR_CODES, TAB_GROUP_TOKEN, TAB_IMPORTS, TAB_PANEL_TOKEN, TAB_SIZES, TAG_INPUT_ERROR_CODES, TAG_INPUT_IMPORTS, TEXTAREA_IMPORTS, TEXTAREA_RESIZE_MODES, TEXT_ALIGNS, TEXT_FIELD_CONTROL_INPUTS, THUMBTACK_ICON, TIKTOK_PLAYER_TOKEN, TIMELINE_IMPORTS, TIMES_ICON, TIME_FORMAT, TIME_INPUT_ERROR_CODES, TIME_INPUT_IMPORTS, TIME_PICKER_ERROR_CODES, TIME_PICKER_IMPORTS, TIME_PICKER_LABELS, TIME_RANGE_INPUT_ERROR_CODES, TIME_RANGE_INPUT_IMPORTS, TOGGLETIP_ERROR_CODES, TOGGLETIP_IMPORTS, TOOLBAR_IMPORTS, TOOLBAR_ORIENTATIONS, TOOLTIP_ERROR_CODES, TOOLTIP_IMPORTS, TOURNAMENT_MODE, TRASH_ICON, TREE_ERROR_CODES, TREE_IMPORTS, TREE_LABELS, TREE_LEVEL_STATUSES, TREE_MARKERS, TREE_SELECTION_MODES, TRIANGLE_EXCLAMATION_ICON, TROPHY_ICON, TWITCH_PLAYER_TOKEN, TabBarDirective, TabBarTriggerDirective, TabBarUnderlineDirective, TabComponent, TabGroupComponent, TabGroupDirective, TabLabelDirective, TabPanelDirective, TabTriggerDirective, TableCardSurfaceDirective, TableCellDirective, TableCellEditDirective, TableCellErrorMarkComponent, TableCellErrorTooltipDirective, TableCellSkeletonDirective, TableColumnChooserComponent, TableColumnMenuDirective, TableColumnMenuTriggerComponent, TableComponent, TableCsvExportDirective, TableDetailStylesComponent, TableDragScrollDirective, TableDragScrollStylesComponent, TableExpanderCellComponent, TableFilterOptionDirective, TableFilterTriggerComponent, TableFiltersDirective, TableFooterCellDirective, TableFooterDirective, TableGroupHeaderRowComponent, TableGroupHeadersDirective, TableHeaderCellDirective, TableInlineEditDirective, TableInlineEditStylesComponent, TableKeyboardNavDirective, TablePageStickyHeaderDirective, TablePageStickyHeaderStylesComponent, TableReorderDirective, TableReorderOverlayComponent, TableResizeDirective, TableResizeGripComponent, TableRowBoxStylesComponent, TableRowDetailComponent, TableRowExpansionDirective, TableRowRouterLinkDirective, TableSelectAllCellComponent, TableSelectCellComponent, TableSelectionDirective, TableSkeletonDirective, TableSkeletonRowsComponent, TableStatePersistenceDirective, TableStickyColumnsDirective, TableStickyColumnsStylesComponent, TableVirtualScrollDirective, TableVirtualScrollStylesComponent, TagInputComponent, TagInputDirective, TagInputFieldDirective, TextButtonComponent, TextFieldControlDirective, TextareaComponent, TextareaDirective, TikTokPlayerComponent, TikTokPlayerDirective, TikTokPlayerParamsDirective, TikTokPlayerSlotComponent, TimeInputComponent, TimeInputDirective, TimeInputFieldDirective, TimePickerComponent, TimePickerDirective, TimePickerRingDirective, TimePickerRingHandleDirective, TimeRangeInputComponent, TimeRangeInputDirective, TimeRangeInputFieldDirective, TimelineComponent, TimelineDirective, TimelineItemComponent, TimelineItemDirective, ToggletipCloseDirective, ToggletipComponent, ToggletipDirective, ToggletipTriggerDirective, ToolbarComponent, ToolbarDirective, TooltipComponent, TooltipDirective, TreeComponent, TreeDirective, TreeMarkerComponent, TreeNodeDefDirective, TreeNodeDirective, TwitchPlayerComponent, TwitchPlayerDirective, TwitchPlayerParamsDirective, TwitchPlayerSlotComponent, UNDERLINE_ICON, UNDO_ICON, UNSAVED_CHANGES_LABELS, UPLOAD_ICON, VIMEO_PLAYER_TOKEN, VimeoPlayerComponent, VimeoPlayerDirective, VimeoPlayerParamsDirective, VimeoPlayerSlotComponent, WCAG_CONTRAST_RATIOS, WINDOW_CONTROL_BUTTON_KINDS, WINDOW_CONTROL_BUTTON_SHAPES, WINDOW_CONTROL_BUTTON_SIZES, WindowControlButtonComponent, YOUTUBE_PLAYER_TOKEN, YoutubePlayerComponent, YoutubePlayerDirective, YoutubePlayerParamsDirective, YoutubePlayerSlotComponent, alertDialogLabelsForLocale, anchoredDialogOverlayStrategy, anchoredOverlayStrategy, avatarLabelsForLocale, bannerLabelsForLocale, bottomSheetOverlayStrategy, bracketFitsWidth, bracketLabelsForLocale, bracketNaturalWidth, bracketSectionLabel, bracketSlot, breadcrumbLabelsForLocale, buildAnchoredRuntimePositionStrategy, calendarLabelsForLocale, canHaveChildren, canonicalKbdKey, carouselLabelsForLocale, cascaderFromQuery, cascaderLabelsForLocale, centeredOverlayStrategy, chartLabelsForLocale, chipLabelsForLocale, clearLeavingSupportStateOnExit, colorContrast, colorInputLabelsForLocale, commandPaletteLabelsForLocale, copyButtonLabelsForLocale, countDescendants, createAlertDialogOpener, createAnchoredPanelController, createBracket, createCardMask, createCommandPaletteOpener, createCurrencyMask, createDefaultDropzoneArgs, createDropzoneUpload, createExistingDropzoneEntry, createFileDropzoneEntry, createFixedLengthRangeStrategy, createGridAdapter, createIbanMask, createNormalizedBracketMatch, createNotificationPromiseFn, createNotificationRef, createOverlayOpener, createOverlaySingleSlot, createOverlayStrategyController, createOverlayUnsavedChangesGuard, createPipChromeAnimations, createPipChromeState, createPlaceholderBracketSource, createRichTextEditorTrigger, createRichTextEditorTriggerWithQuery, createSchedulerRegistry, createStreamConfig, createStreamPlayerSlot, createTableRowsSource, createTableRowsState, createTableStateStorage, createV2DropzoneUpload, createWeekRangeStrategy, dateBounds, dateRangeBounds, dateRangeOrder, dateTimeBounds, dateTimeLabelsForLocale, dateTimeRangeBounds, dateTimeRangeOrder, defaultCompareWith, defaultDropzoneRejectionMessage, defaultSankeyChartLinkKeyHint, defineOverlay, defineQueryParamOverlay, describeBracketSlot, deserializeGridLayout, deserializeTableState, detectKbdPlatform, dialogOverlayStrategy, disposeDropzoneEntry, doubleEliminationBracketLayout, dropzoneFiles, dropzoneLabelsForLocale, enableDragToDismiss, extractFirstImageUrl, filterOverlayLabelsForLocale, filterOverlayPreviewFromQuery, filterRows, filterValues, findNextRelevantHtmlElement, focusFirstInvalidField, formErrorContext, formFieldLabelsForLocale, formatFileSize, fromGridPosition, fullScreenDialogOverlayStrategy, generateBracketDataForEthlete, generateRoundTypeFromEthleteRoundType, generateTournamentModeFromEthleteRounds, getClosestOverlay, getColorContrastRatio, getOriginCoordinatesAndDimensions, gridLabelsForLocale, hexColor, hitsInteractiveElement, iconRegistryKey, injectAccordionConfig, injectAlertDialogLabels, injectAnchoredDialogStrategy, injectAnchoredDialogStrategyDefaults, injectAvatarLabels, injectBannerLabels, injectBottomSheetStrategy, injectBottomSheetStrategyDefaults, injectBracketConfig, injectBracketLabels, injectBreadcrumbLabels, injectBreadcrumbManager, injectCalendarLabels, injectCarouselLabels, injectCascaderLabels, injectChartLabels, injectChipLabels, injectColorInputLabels, injectCommandPalette, injectCommandPaletteLabels, injectCommandPaletteRegistry, injectCopyButtonLabels, injectDateFormat, injectDateLocale, injectDateLocaleSignal, injectDateTimeFormat, injectDateTimeLabels, injectDateTimeZone, injectDialogStrategy, injectDialogStrategyDefaults, injectDropzoneLabels, injectFilterOverlay, injectFilterOverlayLabels, injectFormFieldDefaults, injectFormFieldLabels, injectFormSupport, injectFullscreenDialogStrategy, injectFullscreenDialogStrategyDefaults, injectGridConfig, injectGridLabels, injectInputLabels, injectKbdLabels, injectLeftSheetStrategy, injectLeftSheetStrategyDefaults, injectLoaderLabels, injectMatchLabels, injectMenuConfig, injectNotificationLabels, injectNotificationManager, injectNotificationManagerConfig, injectOverlayManager, injectOverlayRouter, injectOverlayScrollBlocker, injectOverlaySurfaceContext, injectPaginationLabels, injectPhoneInputLabels, injectPictureConfig, injectPipChromeManager, injectPipManager, injectPipSlotPlaceholderConfig, injectProgressStepLabels, injectQueryErrorLabels, injectRichTextEditorLabels, injectRichTextEditorTools, injectRightSheetStrategy, injectRightSheetStrategyDefaults, injectSchedulerEditSurface, injectSchedulerEditSurfaceOpener, injectSchedulerFeatureHost, injectSchedulerLabels, injectSelectIcons, injectSelectLabels, injectSidebarOverlay, injectSliderLabels, injectStandingsLabels, injectStatTileLabels, injectStreamConfig, injectStreamConsentConfig, injectStreamLabels, injectStreamManager, injectStreamPlayerErrorConfig, injectStreamPlayerLoadingConfig, injectStreamPlayerSlot, injectStreamScriptLoader, injectStreamUserConsentProvider, injectTableCsvExport, injectTableFeatureHost, injectTableLabels, injectTimeFormat, injectTimePickerLabels, injectTopSheetStrategy, injectTopSheetStrategyDefaults, injectTreeLabels, injectUnsavedChangesLabels, inputLabelsForLocale, isBracketSlotPredictable, isFileAccepted, isHtmlElement, isInteractiveElement, isPointerEvent, isRestorableTableState, isTargetInsideOverlayTree, isTouchEvent, kbdKeyLabel, kbdKeyName, kbdLabelsForLocale, lastDaysPreset, lastMonthPreset, lastWeekPreset, leftSheetOverlayStrategy, legacyQueryErrorSource, loaderLabelsForLocale, mapGridLayout, matchCountryByDialCode, matchLabelsForLocale, matchParticipantDisplayName, matchedDialPrefix, matchesKbdChord, mergeOverlayBreakpointConfigs, mergeOverlayConfigs, mergeTableCsvExportOptions, migrateBracketPicks, mirroredDoubleEliminationBracketLayout, mirroredSingleEliminationBracketLayout, missingStreamSourceError, mountNavTabLinkStyles, nextDaysPreset, normalizeEthleteBracketMatch, normalizeEthleteGroupRanking, normalizeEthleteMatch, normalizeEthleteMatchStatus, normalizeEthleteMedia, normalizeEthleteParticipant, normalizeEthletePlacement, normalizePictureSizes, normalizePictureSource, notificationLabelsForLocale, numberInputStepMultiplierFrom, overlayResult, paginate, paginationLabelsForLocale, parseKbdKeys, phoneCountryFlag, phoneCountryName, phoneInputLabelsForLocale, progressStepLabelsForLocale, provideAccordionConfig, provideAlertDialogLabels, provideAnchoredDialogStrategy, provideAnchoredDialogStrategyDefaults, provideAvatarLabels, provideBannerLabels, provideBottomSheetStrategy, provideBottomSheetStrategyDefaults, provideBracketConfig, provideBracketLabels, provideBreadcrumbLabels, provideBreadcrumbManager, provideCalendarLabels, provideCarouselLabels, provideCascaderLabels, provideChartLabels, provideChipLabels, provideColorInputLabels, provideCommandPaletteLabels, provideCommandPaletteRegistry, provideCopyButtonLabels, provideDateFormat, provideDateLocale, provideDateTimeFormat, provideDateTimeLabels, provideDateTimeZone, provideDialogStrategy, provideDialogStrategyDefaults, provideDropzoneLabels, provideFilterOverlay, provideFilterOverlayLabels, provideFormErrorMessageResolver, provideFormErrorMessages, provideFormFieldDefaults, provideFormFieldLabels, provideFormSupport, provideFormWarningMessageResolver, provideFullscreenDialogStrategy, provideFullscreenDialogStrategyDefaults, provideGridConfig, provideGridLabels, provideIconOverrides, provideIcons, provideInputLabels, provideKbdLabels, provideLeftSheetStrategy, provideLeftSheetStrategyDefaults, provideLoaderLabels, provideMatchLabels, provideMenuConfig, provideNotificationLabels, provideNotificationManager, provideNotificationManagerConfig, provideNotificationManagerInstance, provideOverlay, provideOverlayManager, provideOverlayRouter, provideOverlayRouterConfig, provideOverlayRouterService, provideOverlayScrollBlocker, providePaginationLabels, providePhoneInputLabels, providePictureConfig, providePipChromeManager, providePipManager, providePipSlotPlaceholderConfig, provideProgressStepLabels, provideQueryErrorLabels, provideRichTextEditorAlignmentTool, provideRichTextEditorAutoformat, provideRichTextEditorBlockquoteTool, provideRichTextEditorCodeBlockTool, provideRichTextEditorDefaultTools, provideRichTextEditorFloatingToolbar, provideRichTextEditorHeadingTool, provideRichTextEditorImageTool, provideRichTextEditorLabels, provideRichTextEditorLanguageTool, provideRichTextEditorLinkEditor, provideRichTextEditorLinkTool, provideRichTextEditorTableTool, provideRichTextEditorTokenRendering, provideRichTextEditorTool, provideRichTextEditorTools, provideRightSheetStrategy, provideRightSheetStrategyDefaults, provideSchedulerEditSurface, provideSchedulerLabels, provideSelectIcons, provideSelectLabels, provideSidebarOverlay, provideSidebarOverlayConfig, provideSidebarOverlayService, provideSliderLabels, provideStandingsLabels, provideStatTileLabels, provideStreamConfig, provideStreamConsentConfig, provideStreamLabels, provideStreamManager, provideStreamPip, provideStreamPlayerErrorConfig, provideStreamPlayerLoadingConfig, provideTableLabels, provideTimeFormat, provideTimePickerLabels, provideTopSheetStrategy, provideTopSheetStrategyDefaults, provideTreeLabels, provideUnsavedChangesAlertDialog, provideUnsavedChangesLabels, queryButtonSourceFromV2Query, queryErrorLabelsForLocale, queryErrorResponseFromLegacyError, quickFilterRows, reconcileColumnOrder, reconcileColumnWidths, reconcileHiddenColumns, reduceSupportPresentation, registerCommands, registerSingleton, rejectionMessage, requiredLanguages, resolveBracketLayout, resolveBracketLayoutSettings, resolveBracketSlot, resolveClosestOverlay, resolveFilterOverlaySubmitButton, resolveNormalizedMatchSideState, resolveNotificationStatusIcon, resolveOverlayHasBackdrop, resolveTableCsvRows, rgbColor, richTextEditorLabelsForLocale, richTextEditorToolLabel, rightSheetOverlayStrategy, schedulerFeatureConfig, schedulerLabelsForLocale, selectLabelsForLocale, selectOptionsFromQuery, selectOptionsFromV2Query, serializeGridLayout, serializeTableState, singleEliminationBracketLayout, sliderLabelsForLocale, sortRows, standingRankSides, standingsLabelsForLocale, startOfCalendarUnit, statTileLabelsForLocale, streamLabelsForLocale, stripTrunkZero, supportPresentationIncludesState, swapStandingRank, swissBracketLayout, tableCsvRowsFromPages, tableFeatureConfig, tableLabelsForLocale, tableRowsFromQuery, tableRowsFromV2Query, tableToCsv, thisMonthPreset, thisWeekPreset, thisYearPreset, timeBounds, timePickerLabelsForLocale, timeRangeBounds, timeRangeOrder, toFieldWarnings, toGridPosition, toNotificationContent, toPictureDimension, todayPreset, topSheetOverlayStrategy, transformingBottomSheetToDialogOverlayStrategy, transformingFullScreenDialogToDialogOverlayStrategy, transformingFullScreenDialogToRightSheetOverlayStrategy, treeLabelsForLocale, unsavedChangesLabelsForLocale, validateBracketSource, warn, wireFormSupport, withPictureBaseUrl, yesterdayPreset };
|
|
114466
115132
|
|
|
114467
115133
|
//# sourceMappingURL=ethlete-components.mjs.map
|