@ethlete/core 5.0.0-next.21 → 5.0.0-next.22

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 CHANGED
@@ -1,5 +1,19 @@
1
1
  # @ethlete/core
2
2
 
3
+ ## 5.0.0-next.22
4
+
5
+ ### Minor Changes
6
+
7
+ - [`ea1eb65`](https://github.com/ethlete-io/ethdk/commit/ea1eb656b4f1144602830a3cd27a521ca50a9d06) Thanks [@TomTomB](https://github.com/TomTomB)! - Theming: add `AutoSurfaceDirective` (`etAutoSurface`), which resolves the surface
8
+ theme one elevation above its parent (or an explicitly provided) surface context
9
+ and applies it through a host `ProvideSurfaceDirective`. Meant to be used as a
10
+ host directive on components that render inside a detached overlay pane, where
11
+ surface context can't cascade through the DOM.
12
+
13
+ Tooltip and toggletip now use `AutoSurfaceDirective` as a host directive instead
14
+ of duplicating the auto-surface resolution logic. No change to their rendered
15
+ surface.
16
+
3
17
  ## 5.0.0-next.21
4
18
 
5
19
  ### Minor Changes
@@ -6942,6 +6942,161 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.5", ngImpor
6942
6942
  }]
6943
6943
  }], ctorParameters: () => [] });
6944
6944
 
6945
+ const SURFACE_TYPE = {
6946
+ LIGHT: 'light',
6947
+ DARK: 'dark',
6948
+ };
6949
+ const createCssSurfaceName = (name) => name.replace(/([A-Z])/g, (g) => `-${g[0].toLowerCase()}`);
6950
+ const resolveSurfaceByElevation = (themes, type, elevation) => themes.find((t) => t.type === type && t.elevation === elevation) ?? null;
6951
+ const [ɵProvideSurfaceThemes, injectSurfaceThemes] = createStaticProvider(undefined, {
6952
+ name: 'Surface Themes',
6953
+ });
6954
+ const [ɵProvideSurfaceThemesPrefix, injectSurfaceThemesPrefix] = createStaticProvider('et', {
6955
+ name: 'Surface Themes Prefix',
6956
+ });
6957
+ const provideSurfaceThemesWithTailwind4 = (themes, prefix = 'et') => [
6958
+ ɵProvideSurfaceThemes(themes),
6959
+ ɵProvideSurfaceThemesPrefix(prefix),
6960
+ ];
6961
+
6962
+ const SURFACE_PROVIDER = new InjectionToken('SurfaceProvider');
6963
+ const FORCED_SURFACE_UNSET = Symbol('FORCED_SURFACE_UNSET');
6964
+ class ProvideSurfaceDirective {
6965
+ constructor() {
6966
+ this.themes = injectSurfaceThemes({ optional: true });
6967
+ this.prefix = injectSurfaceThemesPrefix({ optional: true });
6968
+ this.injector = inject(Injector);
6969
+ this.currentProviderSync = null;
6970
+ this.forcedSurface = signal(FORCED_SURFACE_UNSET, /* @ts-ignore */
6971
+ ...(ngDevMode ? [{ debugName: "forcedSurface" }] : /* istanbul ignore next */ []));
6972
+ this.surface = input(undefined, { ...(ngDevMode ? { debugName: "surface" } : /* istanbul ignore next */ {}), alias: 'etProvideSurface' });
6973
+ this.effectiveSurface = computed(() => {
6974
+ const forcedSurface = this.forcedSurface();
6975
+ if (forcedSurface !== FORCED_SURFACE_UNSET) {
6976
+ return forcedSurface;
6977
+ }
6978
+ return this.surface();
6979
+ }, /* @ts-ignore */
6980
+ ...(ngDevMode ? [{ debugName: "effectiveSurface" }] : /* istanbul ignore next */ []));
6981
+ this.resolvedTheme = computed(() => {
6982
+ const value = this.effectiveSurface();
6983
+ if (!this.themes || !value)
6984
+ return null;
6985
+ const theme = this.themes.find((t) => t.name === value) ?? null;
6986
+ if (isDevMode() && !theme && value !== null) {
6987
+ console.error(`Surface theme ${value} does not exist. Please make sure to add it to provideSurfaceThemesWithTailwind4()`);
6988
+ }
6989
+ return theme;
6990
+ }, /* @ts-ignore */
6991
+ ...(ngDevMode ? [{ debugName: "resolvedTheme" }] : /* istanbul ignore next */ []));
6992
+ this.elevation = computed(() => this.resolvedTheme()?.elevation ?? 0, /* @ts-ignore */
6993
+ ...(ngDevMode ? [{ debugName: "elevation" }] : /* istanbul ignore next */ []));
6994
+ this.surfaceType = computed(() => this.resolvedTheme()?.type ?? null, /* @ts-ignore */
6995
+ ...(ngDevMode ? [{ debugName: "surfaceType" }] : /* istanbul ignore next */ []));
6996
+ this.surfaceName = computed(() => {
6997
+ const value = this.effectiveSurface();
6998
+ if (!this.themes || !value)
6999
+ return;
7000
+ return createCssSurfaceName(value);
7001
+ }, /* @ts-ignore */
7002
+ ...(ngDevMode ? [{ debugName: "surfaceName" }] : /* istanbul ignore next */ []));
7003
+ this.surfaceClass = computed(() => {
7004
+ const prefix = this.prefix || 'et';
7005
+ if (this.surfaceName()) {
7006
+ return `${prefix}-surface--${this.surfaceName()}`;
7007
+ }
7008
+ return `${prefix}-surface--inherited`;
7009
+ }, /* @ts-ignore */
7010
+ ...(ngDevMode ? [{ debugName: "surfaceClass" }] : /* istanbul ignore next */ []));
7011
+ }
7012
+ syncWithProvider(provider) {
7013
+ this.currentProviderSync?.destroy();
7014
+ runInInjectionContext(this.injector, () => {
7015
+ this.currentProviderSync = effect(() => {
7016
+ const provideSurface = provider.effectiveSurface();
7017
+ untracked(() => {
7018
+ if (provideSurface === undefined) {
7019
+ this.clearForcedSurface();
7020
+ return;
7021
+ }
7022
+ this.forceSurface(provideSurface);
7023
+ });
7024
+ }, /* @ts-ignore */
7025
+ ...(ngDevMode ? [{ debugName: "currentProviderSync" }] : /* istanbul ignore next */ []));
7026
+ });
7027
+ }
7028
+ stopSyncWithProvider() {
7029
+ const hadProviderSync = !!this.currentProviderSync;
7030
+ this.currentProviderSync?.destroy();
7031
+ this.currentProviderSync = null;
7032
+ if (hadProviderSync) {
7033
+ this.clearForcedSurface();
7034
+ }
7035
+ }
7036
+ /** @internal */
7037
+ forceSurface(surface) {
7038
+ this.forcedSurface.set(surface);
7039
+ }
7040
+ /** @internal */
7041
+ clearForcedSurface() {
7042
+ if (this.forcedSurface() === FORCED_SURFACE_UNSET) {
7043
+ return;
7044
+ }
7045
+ this.forcedSurface.set(FORCED_SURFACE_UNSET);
7046
+ }
7047
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: ProvideSurfaceDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
7048
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "22.0.5", type: ProvideSurfaceDirective, isStandalone: true, selector: "[etProvideSurface]", inputs: { surface: { classPropertyName: "surface", publicName: "etProvideSurface", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "class": "surfaceClass()" } }, providers: [{ provide: SURFACE_PROVIDER, useExisting: ProvideSurfaceDirective }], ngImport: i0 }); }
7049
+ }
7050
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: ProvideSurfaceDirective, decorators: [{
7051
+ type: Directive,
7052
+ args: [{
7053
+ selector: '[etProvideSurface]',
7054
+ providers: [{ provide: SURFACE_PROVIDER, useExisting: ProvideSurfaceDirective }],
7055
+ host: {
7056
+ '[class]': 'surfaceClass()',
7057
+ },
7058
+ }]
7059
+ }], propDecorators: { surface: [{ type: i0.Input, args: [{ isSignal: true, alias: "etProvideSurface", required: false }] }] } });
7060
+
7061
+ class AutoSurfaceDirective {
7062
+ constructor() {
7063
+ this.ownSurfaceProvider = inject(ProvideSurfaceDirective);
7064
+ this.contextSurfaceProvider = inject(SURFACE_PROVIDER, { optional: true, skipSelf: true });
7065
+ this.surfaceThemes = injectSurfaceThemes({ optional: true });
7066
+ /**
7067
+ * Explicit surface provider to resolve the surface relative to. Falls back to the
7068
+ * surface provider from the surrounding (trigger) context when not set.
7069
+ */
7070
+ this.surfaceProvider = input(null, /* @ts-ignore */
7071
+ ...(ngDevMode ? [{ debugName: "surfaceProvider" }] : /* istanbul ignore next */ []));
7072
+ this.resolvedSurface = computed(() => {
7073
+ const themes = this.surfaceThemes;
7074
+ const parentSurfaceProvider = this.surfaceProvider() ?? this.contextSurfaceProvider ?? null;
7075
+ if (!themes || !parentSurfaceProvider) {
7076
+ return null;
7077
+ }
7078
+ return (resolveSurfaceByElevation(themes, parentSurfaceProvider.surfaceType() ?? 'dark', parentSurfaceProvider.elevation() + 1)?.name ?? null);
7079
+ }, /* @ts-ignore */
7080
+ ...(ngDevMode ? [{ debugName: "resolvedSurface" }] : /* istanbul ignore next */ []));
7081
+ effect(() => {
7082
+ const surface = this.resolvedSurface();
7083
+ untracked(() => {
7084
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
7085
+ setInputSignal(this.ownSurfaceProvider.surface, surface);
7086
+ });
7087
+ });
7088
+ }
7089
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: AutoSurfaceDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
7090
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "22.0.5", type: AutoSurfaceDirective, isStandalone: true, selector: "[etAutoSurface]", inputs: { surfaceProvider: { classPropertyName: "surfaceProvider", publicName: "surfaceProvider", isSignal: true, isRequired: false, transformFunction: null } }, hostDirectives: [{ directive: ProvideSurfaceDirective }], ngImport: i0 }); }
7091
+ }
7092
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: AutoSurfaceDirective, decorators: [{
7093
+ type: Directive,
7094
+ args: [{
7095
+ selector: '[etAutoSurface]',
7096
+ hostDirectives: [ProvideSurfaceDirective],
7097
+ }]
7098
+ }], ctorParameters: () => [], propDecorators: { surfaceProvider: [{ type: i0.Input, args: [{ isSignal: true, alias: "surfaceProvider", required: false }] }] } });
7099
+
6945
7100
  const createCssColorThemeName = (name) => name.replace(/([A-Z])/g, (g) => `-${g[0].toLowerCase()}`);
6946
7101
  const [ɵProvideColorThemes, injectColorThemes] = createStaticProvider(undefined, {
6947
7102
  name: 'Color Themes',
@@ -7250,122 +7405,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.5", ngImpor
7250
7405
  }]
7251
7406
  }], propDecorators: { color: [{ type: i0.Input, args: [{ isSignal: true, alias: "etProvideColor", required: false }] }] } });
7252
7407
 
7253
- const SURFACE_TYPE = {
7254
- LIGHT: 'light',
7255
- DARK: 'dark',
7256
- };
7257
- const createCssSurfaceName = (name) => name.replace(/([A-Z])/g, (g) => `-${g[0].toLowerCase()}`);
7258
- const resolveSurfaceByElevation = (themes, type, elevation) => themes.find((t) => t.type === type && t.elevation === elevation) ?? null;
7259
- const [ɵProvideSurfaceThemes, injectSurfaceThemes] = createStaticProvider(undefined, {
7260
- name: 'Surface Themes',
7261
- });
7262
- const [ɵProvideSurfaceThemesPrefix, injectSurfaceThemesPrefix] = createStaticProvider('et', {
7263
- name: 'Surface Themes Prefix',
7264
- });
7265
- const provideSurfaceThemesWithTailwind4 = (themes, prefix = 'et') => [
7266
- ɵProvideSurfaceThemes(themes),
7267
- ɵProvideSurfaceThemesPrefix(prefix),
7268
- ];
7269
-
7270
- const SURFACE_PROVIDER = new InjectionToken('SurfaceProvider');
7271
- const FORCED_SURFACE_UNSET = Symbol('FORCED_SURFACE_UNSET');
7272
- class ProvideSurfaceDirective {
7273
- constructor() {
7274
- this.themes = injectSurfaceThemes({ optional: true });
7275
- this.prefix = injectSurfaceThemesPrefix({ optional: true });
7276
- this.injector = inject(Injector);
7277
- this.currentProviderSync = null;
7278
- this.forcedSurface = signal(FORCED_SURFACE_UNSET, /* @ts-ignore */
7279
- ...(ngDevMode ? [{ debugName: "forcedSurface" }] : /* istanbul ignore next */ []));
7280
- this.surface = input(undefined, { ...(ngDevMode ? { debugName: "surface" } : /* istanbul ignore next */ {}), alias: 'etProvideSurface' });
7281
- this.effectiveSurface = computed(() => {
7282
- const forcedSurface = this.forcedSurface();
7283
- if (forcedSurface !== FORCED_SURFACE_UNSET) {
7284
- return forcedSurface;
7285
- }
7286
- return this.surface();
7287
- }, /* @ts-ignore */
7288
- ...(ngDevMode ? [{ debugName: "effectiveSurface" }] : /* istanbul ignore next */ []));
7289
- this.resolvedTheme = computed(() => {
7290
- const value = this.effectiveSurface();
7291
- if (!this.themes || !value)
7292
- return null;
7293
- const theme = this.themes.find((t) => t.name === value) ?? null;
7294
- if (isDevMode() && !theme && value !== null) {
7295
- console.error(`Surface theme ${value} does not exist. Please make sure to add it to provideSurfaceThemesWithTailwind4()`);
7296
- }
7297
- return theme;
7298
- }, /* @ts-ignore */
7299
- ...(ngDevMode ? [{ debugName: "resolvedTheme" }] : /* istanbul ignore next */ []));
7300
- this.elevation = computed(() => this.resolvedTheme()?.elevation ?? 0, /* @ts-ignore */
7301
- ...(ngDevMode ? [{ debugName: "elevation" }] : /* istanbul ignore next */ []));
7302
- this.surfaceType = computed(() => this.resolvedTheme()?.type ?? null, /* @ts-ignore */
7303
- ...(ngDevMode ? [{ debugName: "surfaceType" }] : /* istanbul ignore next */ []));
7304
- this.surfaceName = computed(() => {
7305
- const value = this.effectiveSurface();
7306
- if (!this.themes || !value)
7307
- return;
7308
- return createCssSurfaceName(value);
7309
- }, /* @ts-ignore */
7310
- ...(ngDevMode ? [{ debugName: "surfaceName" }] : /* istanbul ignore next */ []));
7311
- this.surfaceClass = computed(() => {
7312
- const prefix = this.prefix || 'et';
7313
- if (this.surfaceName()) {
7314
- return `${prefix}-surface--${this.surfaceName()}`;
7315
- }
7316
- return `${prefix}-surface--inherited`;
7317
- }, /* @ts-ignore */
7318
- ...(ngDevMode ? [{ debugName: "surfaceClass" }] : /* istanbul ignore next */ []));
7319
- }
7320
- syncWithProvider(provider) {
7321
- this.currentProviderSync?.destroy();
7322
- runInInjectionContext(this.injector, () => {
7323
- this.currentProviderSync = effect(() => {
7324
- const provideSurface = provider.effectiveSurface();
7325
- untracked(() => {
7326
- if (provideSurface === undefined) {
7327
- this.clearForcedSurface();
7328
- return;
7329
- }
7330
- this.forceSurface(provideSurface);
7331
- });
7332
- }, /* @ts-ignore */
7333
- ...(ngDevMode ? [{ debugName: "currentProviderSync" }] : /* istanbul ignore next */ []));
7334
- });
7335
- }
7336
- stopSyncWithProvider() {
7337
- const hadProviderSync = !!this.currentProviderSync;
7338
- this.currentProviderSync?.destroy();
7339
- this.currentProviderSync = null;
7340
- if (hadProviderSync) {
7341
- this.clearForcedSurface();
7342
- }
7343
- }
7344
- /** @internal */
7345
- forceSurface(surface) {
7346
- this.forcedSurface.set(surface);
7347
- }
7348
- /** @internal */
7349
- clearForcedSurface() {
7350
- if (this.forcedSurface() === FORCED_SURFACE_UNSET) {
7351
- return;
7352
- }
7353
- this.forcedSurface.set(FORCED_SURFACE_UNSET);
7354
- }
7355
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: ProvideSurfaceDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
7356
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "22.0.5", type: ProvideSurfaceDirective, isStandalone: true, selector: "[etProvideSurface]", inputs: { surface: { classPropertyName: "surface", publicName: "etProvideSurface", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "class": "surfaceClass()" } }, providers: [{ provide: SURFACE_PROVIDER, useExisting: ProvideSurfaceDirective }], ngImport: i0 }); }
7357
- }
7358
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: ProvideSurfaceDirective, decorators: [{
7359
- type: Directive,
7360
- args: [{
7361
- selector: '[etProvideSurface]',
7362
- providers: [{ provide: SURFACE_PROVIDER, useExisting: ProvideSurfaceDirective }],
7363
- host: {
7364
- '[class]': 'surfaceClass()',
7365
- },
7366
- }]
7367
- }], propDecorators: { surface: [{ type: i0.Input, args: [{ isSignal: true, alias: "etProvideSurface", required: false }] }] } });
7368
-
7369
7408
  let uniqueId = 0;
7370
7409
  const [provideSurfaceContextTracker, injectSurfaceContextTracker] = createRootProvider(() => {
7371
7410
  const entries = signal([], /* @ts-ignore */
@@ -7432,5 +7471,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.5", ngImpor
7432
7471
  * Generated bundle index. Do not edit.
7433
7472
  */
7434
7473
 
7435
- export { ANIMATABLE_TOKEN, ANIMATED_IF_TOKEN, ANIMATED_LIFECYCLE_TOKEN, ANIMATION_DEBUG_STORAGE_KEY, AT_LEAST_ONE_REQUIRED, AnimatableDirective, AnimatedIfDirective, AnimatedLifecycleDirective, AnimatedOverlayDirective, BOUNDARY_ELEMENT_TOKEN, BREAKPOINT_INSTANCE_TOKEN, BREAKPOINT_ORDER, COLOR_PROVIDER, ClickOutsideDirective, ColorInteractiveContainerDirective, ColorInteractiveDirective, ColorInteractiveExcludeDirective, ColorInteractiveHasFocusDirective, DEFAULT_MULTI_INSTANCE_RELS, DEFAULT_MULTI_INSTANCE_TAGS, DEFAULT_VIEWPORT_CONFIG, DISABLE_LOGGER_PARAM, DragHandleDirective, ET_DISABLE_SCROLL_TOP, ET_DISABLE_SCROLL_TOP_AS_RETURN_ROUTE, ET_DISABLE_SCROLL_TOP_ON_PATH_PARAM_CHANGE, ET_PROPERTY_REMOVED, FOCUSABLE_SELECTOR, FOCUS_VISIBLE_TRACKER_TOKEN, HtmlToMarkdownPipe, IS_ARRAY_NOT_EMPTY, IS_EMAIL, InferMimeTypePipe, IsArrayNotEmpty, IsEmail, jsonLd as JsonLD, KeyPressManager, MUST_MATCH, MarkdownToHtmlPipe, MustMatch, NormalizeGameResultTypePipe, NormalizeMatchParticipantsPipe, NormalizeMatchScorePipe, NormalizeMatchStatePipe, NormalizeMatchTypePipe, PropsDirective, ProvideColorDirective, ProvideSurfaceDirective, RUNTIME_ERROR_NO_DATA, RepeatDirective, ResizeHandlesComponent, RuntimeError, SEO_DIRECTIVE_TOKEN, SURFACE_PROVIDER, SURFACE_TYPE, ScrollObserverDirective, ScrollObserverEndDirective, ScrollObserverStartDirective, SeoDirective, StructuredDataComponent, SurfaceInteractiveDirective, ToArrayPipe, TypedQueryList, ValidateAtLeastOneRequired, Validators, animationDebugLog, applyAlternateBinding, applyAlternateLanguagesBindings, applyArticleBindings, applyAuthorBinding, applyCanonicalBinding, applyCenteredPosition, applyDescriptionBinding, applyGlobalPosition, applyHeadBinding, applyHeadTitleBinding, applyHostListener, applyHostListeners, applyInitialFocus, applyKeywordsBinding, applyLinkBinding, applyMetaBinding, applyNextBinding, applyOgBinding, applyOpenGraphBindings, applyPrevBinding, applyResourceHintsBindings, applyRobotsBinding, applySocialMediaBindings, applyStructuredDataBinding, applyTwitterCardBindings, areScrollStatesEqual, bindProps, boolBreakpointTransform, booleanBreakpointAttribute, boundingClientRectToElementRect, breakpointTransformBase, buildElementSignal, buildSignalEffects, canUseSessionMemory, clamp, clone, cloneFormGroup, computedTillFalsy, computedTillTruthy, controlValueSignal, controlValueSignalWithPrevious, createAnchoredPositionCleanup, createArrayPropertyBinding, createAutoSessionMemoryKey, createBulkPropertyBinding, createCanAnimateSignal, createComponentId, createCssColorThemeName, createCssSurfaceName, createDependencyStash, createDestroy, createDocumentElementSignal, createElementDictionary, createElementDimensions, createEmptyElementSignal, createFlipAnimation, createFlipAnimationGroup, createHostProps, createIsRenderedSignal, createLogger, createOverlayRuntimeRef, createPropHandlers, createPropertyBinding, createProps, createProvider, createRootProvider, createRootThemeCss, createRoute, createRouterState, createRxHostListener, createSessionMemory, createSetup, createStaticProvider, createStaticRootProvider, createSwatchCss, createSwipeTracker, createTailwindColorThemes, createTailwindCssVar, createTailwindRgbVar, createThemeStyle, createUserConsentProvider, deferredSignal, deleteCookie, easeElastic, easeIn, easeInOut, easeLinear, easeOut, easeOutBack, easeOutBackStrong, elementCanScroll, equal, firstElementSignal, focusElement, forceReflow, formatRuntimeError, fromNextFrame, getCookie, getDomain, getElementScrollCoordinates, getFocusableElements, getFormGroupValue, getGroupMatchPoints, getGroupMatchScore, getHeadingElement, getKnockoutMatchScore, getMatchScoreSubLine, getObjectProperty, getScrollContainerTarget, getScrollItemTarget, getScrollSnapTarget, hasCookie, htmlToMarkdown, inferMimeType, injectAngularRootElement, injectBoundaryElement, injectBreakpointInput, injectBreakpointIsMatched, injectBreakpointObserver, injectCanHover, injectColorThemes, injectColorThemesPrefix, injectCurrentBreakpoint, injectDeviceInputType, injectDisplayOrientation, injectErrorTheme, injectFocusVisibleTracker, injectFragment, injectHasPrecisionInput, injectHasTouchInput, injectHostElement, injectIs2Xl, injectIsLandscape, injectIsLg, injectIsMd, injectIsPortrait, injectIsRouterInitialized, injectIsSm, injectIsXl, injectIsXs, injectLinkStore, injectLinkStoreConfig, injectLocale, injectMediaQueryIsMatched, injectMetaConfig, injectMetaStore, injectObserveBreakpoint, injectObserveMediaQuery, injectOverlayRuntime, injectPathParam, injectPathParamChanges, injectPathParams, injectPrefersReducedMotion, injectQueryParam, injectQueryParamChanges, injectQueryParams, injectRenderer, injectRoute, injectRouteData, injectRouteDataItem, injectRouteTitle, injectRouterEvent, injectRouterState, injectScrollbarDimensions, injectStructuredDataConfig, injectStructuredDataStore, injectStyleManager, injectSuccessTheme, injectSurfaceContextTracker, injectSurfaceThemes, injectSurfaceThemesPrefix, injectTemplateRef, injectTitleConfig, injectTitleStore, injectUrl, injectViewportConfig, injectViewportDimensions, injectViewportSize, injectWarningTheme, isAnimationDebugEnabled, isArray, isElementSignal, isElementVisible, isFocusable, isGroupMatch, isHTMLElement, isKnockoutMatch, isObject, markdownToHtml, maybeSignalValue, memoizeSignal, nextFrame, normalizeGameResultType, normalizeMatchParticipant, normalizeMatchParticipants, normalizeMatchScore, normalizeMatchState, normalizeMatchType, numberBreakpointAttribute, numberBreakpointTransform, previousSignalValue, provideBoundaryElement, provideBreakpointInstance, provideBreakpointObserver, provideColorThemes, provideColorThemesWithTailwind4, provideFocusVisibleTracker, provideLinkStore, provideLinkStoreConfig, provideLocale, provideMetaConfig, provideMetaStore, provideOverlayRuntime, provideRenderer, provideStructuredDataConfig, provideStructuredDataStore, provideStyleManager, provideSurfaceContextTracker, provideSurfaceThemesWithTailwind4, provideTitleConfig, provideTitleStore, provideViewportConfig, resetPositioningStyles, resolveSurfaceByElevation, round, routerDisableScrollTop, scrollToElement, setBackdropStyles, setBaseElementStyles, setCookie, setInputSignal, setupFocusTrap, setupPositioning, setupScrollRestoration, signalAnimatedNumber, signalAttributes, signalClasses, signalElementChildren, signalElementDimensions, signalElementIntersection, signalElementLastScrollDirection, signalElementMutations, signalElementScrollState, signalHostAttributes, signalHostClasses, signalHostElementDimensions, signalHostElementIntersection, signalHostElementLastScrollDirection, signalHostElementMutations, signalHostElementScrollState, signalHostStyles, signalIsRendered, signalStyles, switchQueryListChanges, syncSignal, templateComputed, toArray, toArrayTrackByFn, toStringBinding, transformOrReturn, typedBreakpointTransform, unbindProps, useCursorDragScroll, writeScrollbarSizeToCssVariables, writeViewportSizeToCssVariables, ɵProvideColorThemes, ɵProvideColorThemesPrefix, ɵProvideSurfaceThemes, ɵProvideSurfaceThemesPrefix };
7474
+ export { ANIMATABLE_TOKEN, ANIMATED_IF_TOKEN, ANIMATED_LIFECYCLE_TOKEN, ANIMATION_DEBUG_STORAGE_KEY, AT_LEAST_ONE_REQUIRED, AnimatableDirective, AnimatedIfDirective, AnimatedLifecycleDirective, AnimatedOverlayDirective, AutoSurfaceDirective, BOUNDARY_ELEMENT_TOKEN, BREAKPOINT_INSTANCE_TOKEN, BREAKPOINT_ORDER, COLOR_PROVIDER, ClickOutsideDirective, ColorInteractiveContainerDirective, ColorInteractiveDirective, ColorInteractiveExcludeDirective, ColorInteractiveHasFocusDirective, DEFAULT_MULTI_INSTANCE_RELS, DEFAULT_MULTI_INSTANCE_TAGS, DEFAULT_VIEWPORT_CONFIG, DISABLE_LOGGER_PARAM, DragHandleDirective, ET_DISABLE_SCROLL_TOP, ET_DISABLE_SCROLL_TOP_AS_RETURN_ROUTE, ET_DISABLE_SCROLL_TOP_ON_PATH_PARAM_CHANGE, ET_PROPERTY_REMOVED, FOCUSABLE_SELECTOR, FOCUS_VISIBLE_TRACKER_TOKEN, HtmlToMarkdownPipe, IS_ARRAY_NOT_EMPTY, IS_EMAIL, InferMimeTypePipe, IsArrayNotEmpty, IsEmail, jsonLd as JsonLD, KeyPressManager, MUST_MATCH, MarkdownToHtmlPipe, MustMatch, NormalizeGameResultTypePipe, NormalizeMatchParticipantsPipe, NormalizeMatchScorePipe, NormalizeMatchStatePipe, NormalizeMatchTypePipe, PropsDirective, ProvideColorDirective, ProvideSurfaceDirective, RUNTIME_ERROR_NO_DATA, RepeatDirective, ResizeHandlesComponent, RuntimeError, SEO_DIRECTIVE_TOKEN, SURFACE_PROVIDER, SURFACE_TYPE, ScrollObserverDirective, ScrollObserverEndDirective, ScrollObserverStartDirective, SeoDirective, StructuredDataComponent, SurfaceInteractiveDirective, ToArrayPipe, TypedQueryList, ValidateAtLeastOneRequired, Validators, animationDebugLog, applyAlternateBinding, applyAlternateLanguagesBindings, applyArticleBindings, applyAuthorBinding, applyCanonicalBinding, applyCenteredPosition, applyDescriptionBinding, applyGlobalPosition, applyHeadBinding, applyHeadTitleBinding, applyHostListener, applyHostListeners, applyInitialFocus, applyKeywordsBinding, applyLinkBinding, applyMetaBinding, applyNextBinding, applyOgBinding, applyOpenGraphBindings, applyPrevBinding, applyResourceHintsBindings, applyRobotsBinding, applySocialMediaBindings, applyStructuredDataBinding, applyTwitterCardBindings, areScrollStatesEqual, bindProps, boolBreakpointTransform, booleanBreakpointAttribute, boundingClientRectToElementRect, breakpointTransformBase, buildElementSignal, buildSignalEffects, canUseSessionMemory, clamp, clone, cloneFormGroup, computedTillFalsy, computedTillTruthy, controlValueSignal, controlValueSignalWithPrevious, createAnchoredPositionCleanup, createArrayPropertyBinding, createAutoSessionMemoryKey, createBulkPropertyBinding, createCanAnimateSignal, createComponentId, createCssColorThemeName, createCssSurfaceName, createDependencyStash, createDestroy, createDocumentElementSignal, createElementDictionary, createElementDimensions, createEmptyElementSignal, createFlipAnimation, createFlipAnimationGroup, createHostProps, createIsRenderedSignal, createLogger, createOverlayRuntimeRef, createPropHandlers, createPropertyBinding, createProps, createProvider, createRootProvider, createRootThemeCss, createRoute, createRouterState, createRxHostListener, createSessionMemory, createSetup, createStaticProvider, createStaticRootProvider, createSwatchCss, createSwipeTracker, createTailwindColorThemes, createTailwindCssVar, createTailwindRgbVar, createThemeStyle, createUserConsentProvider, deferredSignal, deleteCookie, easeElastic, easeIn, easeInOut, easeLinear, easeOut, easeOutBack, easeOutBackStrong, elementCanScroll, equal, firstElementSignal, focusElement, forceReflow, formatRuntimeError, fromNextFrame, getCookie, getDomain, getElementScrollCoordinates, getFocusableElements, getFormGroupValue, getGroupMatchPoints, getGroupMatchScore, getHeadingElement, getKnockoutMatchScore, getMatchScoreSubLine, getObjectProperty, getScrollContainerTarget, getScrollItemTarget, getScrollSnapTarget, hasCookie, htmlToMarkdown, inferMimeType, injectAngularRootElement, injectBoundaryElement, injectBreakpointInput, injectBreakpointIsMatched, injectBreakpointObserver, injectCanHover, injectColorThemes, injectColorThemesPrefix, injectCurrentBreakpoint, injectDeviceInputType, injectDisplayOrientation, injectErrorTheme, injectFocusVisibleTracker, injectFragment, injectHasPrecisionInput, injectHasTouchInput, injectHostElement, injectIs2Xl, injectIsLandscape, injectIsLg, injectIsMd, injectIsPortrait, injectIsRouterInitialized, injectIsSm, injectIsXl, injectIsXs, injectLinkStore, injectLinkStoreConfig, injectLocale, injectMediaQueryIsMatched, injectMetaConfig, injectMetaStore, injectObserveBreakpoint, injectObserveMediaQuery, injectOverlayRuntime, injectPathParam, injectPathParamChanges, injectPathParams, injectPrefersReducedMotion, injectQueryParam, injectQueryParamChanges, injectQueryParams, injectRenderer, injectRoute, injectRouteData, injectRouteDataItem, injectRouteTitle, injectRouterEvent, injectRouterState, injectScrollbarDimensions, injectStructuredDataConfig, injectStructuredDataStore, injectStyleManager, injectSuccessTheme, injectSurfaceContextTracker, injectSurfaceThemes, injectSurfaceThemesPrefix, injectTemplateRef, injectTitleConfig, injectTitleStore, injectUrl, injectViewportConfig, injectViewportDimensions, injectViewportSize, injectWarningTheme, isAnimationDebugEnabled, isArray, isElementSignal, isElementVisible, isFocusable, isGroupMatch, isHTMLElement, isKnockoutMatch, isObject, markdownToHtml, maybeSignalValue, memoizeSignal, nextFrame, normalizeGameResultType, normalizeMatchParticipant, normalizeMatchParticipants, normalizeMatchScore, normalizeMatchState, normalizeMatchType, numberBreakpointAttribute, numberBreakpointTransform, previousSignalValue, provideBoundaryElement, provideBreakpointInstance, provideBreakpointObserver, provideColorThemes, provideColorThemesWithTailwind4, provideFocusVisibleTracker, provideLinkStore, provideLinkStoreConfig, provideLocale, provideMetaConfig, provideMetaStore, provideOverlayRuntime, provideRenderer, provideStructuredDataConfig, provideStructuredDataStore, provideStyleManager, provideSurfaceContextTracker, provideSurfaceThemesWithTailwind4, provideTitleConfig, provideTitleStore, provideViewportConfig, resetPositioningStyles, resolveSurfaceByElevation, round, routerDisableScrollTop, scrollToElement, setBackdropStyles, setBaseElementStyles, setCookie, setInputSignal, setupFocusTrap, setupPositioning, setupScrollRestoration, signalAnimatedNumber, signalAttributes, signalClasses, signalElementChildren, signalElementDimensions, signalElementIntersection, signalElementLastScrollDirection, signalElementMutations, signalElementScrollState, signalHostAttributes, signalHostClasses, signalHostElementDimensions, signalHostElementIntersection, signalHostElementLastScrollDirection, signalHostElementMutations, signalHostElementScrollState, signalHostStyles, signalIsRendered, signalStyles, switchQueryListChanges, syncSignal, templateComputed, toArray, toArrayTrackByFn, toStringBinding, transformOrReturn, typedBreakpointTransform, unbindProps, useCursorDragScroll, writeScrollbarSizeToCssVariables, writeViewportSizeToCssVariables, ɵProvideColorThemes, ɵProvideColorThemesPrefix, ɵProvideSurfaceThemes, ɵProvideSurfaceThemesPrefix };
7436
7475
  //# sourceMappingURL=ethlete-core.mjs.map