@ethlete/core 5.0.0-next.16 → 5.0.0-next.17
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 +6 -0
- package/fesm2022/ethlete-core.mjs +280 -188
- package/fesm2022/ethlete-core.mjs.map +1 -1
- package/package.json +11 -11
|
@@ -104,15 +104,15 @@ class AnimatableDirective {
|
|
|
104
104
|
this.activeAnimationCount = clampedVal;
|
|
105
105
|
this.hostActiveAnimationCount$.next(clampedVal);
|
|
106
106
|
}
|
|
107
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
108
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
107
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: AnimatableDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
108
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.0.5", type: AnimatableDirective, isStandalone: true, selector: "[etAnimatable]", providers: [
|
|
109
109
|
{
|
|
110
110
|
provide: ANIMATABLE_TOKEN,
|
|
111
111
|
useExisting: AnimatableDirective,
|
|
112
112
|
},
|
|
113
113
|
], exportAs: ["etAnimatable"], ngImport: i0 }); }
|
|
114
114
|
}
|
|
115
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
115
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: AnimatableDirective, decorators: [{
|
|
116
116
|
type: Directive,
|
|
117
117
|
args: [{
|
|
118
118
|
selector: '[etAnimatable]',
|
|
@@ -650,7 +650,8 @@ const signalAnimatedNumber = (source, options = {}) => {
|
|
|
650
650
|
const easing = options.easing ?? easeOut;
|
|
651
651
|
const round = options.round ?? ((v) => Math.round(v));
|
|
652
652
|
const initialValue = options.initialValue ?? 0;
|
|
653
|
-
const animatedValue = signal(initialValue,
|
|
653
|
+
const animatedValue = signal(initialValue, /* @ts-ignore */
|
|
654
|
+
...(ngDevMode ? [{ debugName: "animatedValue" }] : /* istanbul ignore next */ []));
|
|
654
655
|
let rafId = null;
|
|
655
656
|
let currentAnimatedValue = initialValue;
|
|
656
657
|
const cancelAnimation = () => {
|
|
@@ -928,12 +929,14 @@ const firstElementSignal = (el) => computed(() => {
|
|
|
928
929
|
});
|
|
929
930
|
|
|
930
931
|
const signalIsRendered = () => {
|
|
931
|
-
const isRendered = signal(false,
|
|
932
|
+
const isRendered = signal(false, /* @ts-ignore */
|
|
933
|
+
...(ngDevMode ? [{ debugName: "isRendered" }] : /* istanbul ignore next */ []));
|
|
932
934
|
afterNextRender(() => isRendered.set(true));
|
|
933
935
|
return isRendered.asReadonly();
|
|
934
936
|
};
|
|
935
937
|
const createIsRenderedSignal = () => {
|
|
936
|
-
const value = signal(false,
|
|
938
|
+
const value = signal(false, /* @ts-ignore */
|
|
939
|
+
...(ngDevMode ? [{ debugName: "value" }] : /* istanbul ignore next */ []));
|
|
937
940
|
nextFrame(() => {
|
|
938
941
|
if (!value()) {
|
|
939
942
|
console.error('Render signal was not set to true. This can cause unexpected behavior. Make sure to .bind() the render signal at the end of the constructor.');
|
|
@@ -945,7 +948,8 @@ const createIsRenderedSignal = () => {
|
|
|
945
948
|
};
|
|
946
949
|
};
|
|
947
950
|
const createCanAnimateSignal = () => {
|
|
948
|
-
const value = signal(false,
|
|
951
|
+
const value = signal(false, /* @ts-ignore */
|
|
952
|
+
...(ngDevMode ? [{ debugName: "value" }] : /* istanbul ignore next */ []));
|
|
949
953
|
nextFrame(() => {
|
|
950
954
|
value.set(true);
|
|
951
955
|
});
|
|
@@ -989,7 +993,8 @@ const signalElementDimensions = (el) => {
|
|
|
989
993
|
const zone = inject(NgZone);
|
|
990
994
|
const isRendered = signalIsRendered();
|
|
991
995
|
const initialValue = () => createElementDimensions(firstEl().currentElement);
|
|
992
|
-
const elementDimensionsSignal = signal(initialValue(),
|
|
996
|
+
const elementDimensionsSignal = signal(initialValue(), /* @ts-ignore */
|
|
997
|
+
...(ngDevMode ? [{ debugName: "elementDimensionsSignal" }] : /* istanbul ignore next */ []));
|
|
993
998
|
const observer = new ResizeObserver((e) => {
|
|
994
999
|
if (!isRendered())
|
|
995
1000
|
return;
|
|
@@ -1034,7 +1039,8 @@ const injectViewportSize = () => {
|
|
|
1034
1039
|
const win = document.defaultView;
|
|
1035
1040
|
return { width: win?.innerWidth ?? 0, height: win?.innerHeight ?? 0 };
|
|
1036
1041
|
};
|
|
1037
|
-
const size = signal(getSize(),
|
|
1042
|
+
const size = signal(getSize(), /* @ts-ignore */
|
|
1043
|
+
...(ngDevMode ? [{ debugName: "size" }] : /* istanbul ignore next */ []));
|
|
1038
1044
|
const onResize = () => zone.run(() => size.set(getSize()));
|
|
1039
1045
|
const vv = document.defaultView?.visualViewport;
|
|
1040
1046
|
if (vv) {
|
|
@@ -1077,7 +1083,8 @@ const syncSignal = (from, to, options) => {
|
|
|
1077
1083
|
untracked(() => {
|
|
1078
1084
|
to.set(formVal);
|
|
1079
1085
|
});
|
|
1080
|
-
},
|
|
1086
|
+
}, /* @ts-ignore */
|
|
1087
|
+
...(ngDevMode ? [{ debugName: "ref" }] : /* istanbul ignore next */ []));
|
|
1081
1088
|
return ref;
|
|
1082
1089
|
};
|
|
1083
1090
|
const maybeSignalValue = (value) => {
|
|
@@ -1091,14 +1098,16 @@ const maybeSignalValue = (value) => {
|
|
|
1091
1098
|
* All subsequent changes inside the computation will be ignored.
|
|
1092
1099
|
*/
|
|
1093
1100
|
const computedTillTruthy = (source) => {
|
|
1094
|
-
const value = signal(null,
|
|
1101
|
+
const value = signal(null, /* @ts-ignore */
|
|
1102
|
+
...(ngDevMode ? [{ debugName: "value" }] : /* istanbul ignore next */ []));
|
|
1095
1103
|
const ref = effect(() => {
|
|
1096
1104
|
const val = source();
|
|
1097
1105
|
if (val) {
|
|
1098
1106
|
value.set(val);
|
|
1099
1107
|
ref.destroy();
|
|
1100
1108
|
}
|
|
1101
|
-
},
|
|
1109
|
+
}, /* @ts-ignore */
|
|
1110
|
+
...(ngDevMode ? [{ debugName: "ref" }] : /* istanbul ignore next */ []));
|
|
1102
1111
|
return value.asReadonly();
|
|
1103
1112
|
};
|
|
1104
1113
|
/**
|
|
@@ -1106,14 +1115,16 @@ const computedTillTruthy = (source) => {
|
|
|
1106
1115
|
* All subsequent changes inside the computation will be ignored.
|
|
1107
1116
|
*/
|
|
1108
1117
|
const computedTillFalsy = (source) => {
|
|
1109
|
-
const value = signal(null,
|
|
1118
|
+
const value = signal(null, /* @ts-ignore */
|
|
1119
|
+
...(ngDevMode ? [{ debugName: "value" }] : /* istanbul ignore next */ []));
|
|
1110
1120
|
const ref = effect(() => {
|
|
1111
1121
|
const val = source();
|
|
1112
1122
|
if (!val) {
|
|
1113
1123
|
value.set(val);
|
|
1114
1124
|
ref.destroy();
|
|
1115
1125
|
}
|
|
1116
|
-
},
|
|
1126
|
+
}, /* @ts-ignore */
|
|
1127
|
+
...(ngDevMode ? [{ debugName: "ref" }] : /* istanbul ignore next */ []));
|
|
1117
1128
|
return value.asReadonly();
|
|
1118
1129
|
};
|
|
1119
1130
|
/**
|
|
@@ -1121,7 +1132,8 @@ const computedTillFalsy = (source) => {
|
|
|
1121
1132
|
* During that time, the signal will be set to `null`.
|
|
1122
1133
|
*/
|
|
1123
1134
|
const deferredSignal = (valueFn) => {
|
|
1124
|
-
const valueSignal = signal(null,
|
|
1135
|
+
const valueSignal = signal(null, /* @ts-ignore */
|
|
1136
|
+
...(ngDevMode ? [{ debugName: "valueSignal" }] : /* istanbul ignore next */ []));
|
|
1125
1137
|
afterNextRender(() => {
|
|
1126
1138
|
valueSignal.set(valueFn());
|
|
1127
1139
|
});
|
|
@@ -1260,7 +1272,8 @@ const resolveFromMap = (map, bp, defaultValue) => {
|
|
|
1260
1272
|
const breakpointTransformBase = (coerce) => {
|
|
1261
1273
|
const currentBp = injectCurrentBreakpoint();
|
|
1262
1274
|
const injector = inject(Injector);
|
|
1263
|
-
const raw = signal(undefined,
|
|
1275
|
+
const raw = signal(undefined, /* @ts-ignore */
|
|
1276
|
+
...(ngDevMode ? [{ debugName: "raw" }] : /* istanbul ignore next */ []));
|
|
1264
1277
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
1265
1278
|
let capturedDefault = undefined;
|
|
1266
1279
|
let initialized = false;
|
|
@@ -1397,7 +1410,8 @@ const signalElementMutations = (el, options) => {
|
|
|
1397
1410
|
const firstEl = firstElementSignal(elements);
|
|
1398
1411
|
const zone = inject(NgZone);
|
|
1399
1412
|
const isRendered = signalIsRendered();
|
|
1400
|
-
const elementMutationsSignal = signal(null,
|
|
1413
|
+
const elementMutationsSignal = signal(null, /* @ts-ignore */
|
|
1414
|
+
...(ngDevMode ? [{ debugName: "elementMutationsSignal" }] : /* istanbul ignore next */ []));
|
|
1401
1415
|
const observer = new MutationObserver((e) => {
|
|
1402
1416
|
if (!isRendered())
|
|
1403
1417
|
return;
|
|
@@ -1898,8 +1912,10 @@ const signalElementIntersection = (el, options) => {
|
|
|
1898
1912
|
const zone = inject(NgZone);
|
|
1899
1913
|
const isRendered = signalIsRendered();
|
|
1900
1914
|
const isEnabled = options?.enabled ?? signal(true);
|
|
1901
|
-
const elementIntersectionSignal = signal([],
|
|
1902
|
-
|
|
1915
|
+
const elementIntersectionSignal = signal([], /* @ts-ignore */
|
|
1916
|
+
...(ngDevMode ? [{ debugName: "elementIntersectionSignal" }] : /* istanbul ignore next */ []));
|
|
1917
|
+
const observer = signal(null, /* @ts-ignore */
|
|
1918
|
+
...(ngDevMode ? [{ debugName: "observer" }] : /* istanbul ignore next */ []));
|
|
1903
1919
|
const currentlyObservedElements = new Set();
|
|
1904
1920
|
const updateIntersections = (entries) => {
|
|
1905
1921
|
let currentValues = [...elementIntersectionSignal()];
|
|
@@ -2015,7 +2031,8 @@ const signalElementLastScrollDirection = (el) => {
|
|
|
2015
2031
|
const elements = buildElementSignal(el);
|
|
2016
2032
|
const element = firstElementSignal(elements);
|
|
2017
2033
|
const destroyRef = inject(DestroyRef);
|
|
2018
|
-
const lastScrollDirection = signal(null,
|
|
2034
|
+
const lastScrollDirection = signal(null, /* @ts-ignore */
|
|
2035
|
+
...(ngDevMode ? [{ debugName: "lastScrollDirection" }] : /* istanbul ignore next */ []));
|
|
2019
2036
|
let lastScrollTop = 0;
|
|
2020
2037
|
let lastScrollLeft = 0;
|
|
2021
2038
|
toObservable(element)
|
|
@@ -2076,7 +2093,8 @@ const signalElementScrollState = (el, options) => {
|
|
|
2076
2093
|
element.scrollTop = scrollPosition.top;
|
|
2077
2094
|
ref.destroy();
|
|
2078
2095
|
}
|
|
2079
|
-
},
|
|
2096
|
+
}, /* @ts-ignore */
|
|
2097
|
+
...(ngDevMode ? [{ debugName: "ref" }] : /* istanbul ignore next */ []));
|
|
2080
2098
|
}
|
|
2081
2099
|
const notScrollable = (dimensions) => ({
|
|
2082
2100
|
canScroll: false,
|
|
@@ -2173,11 +2191,16 @@ const useCursorDragScroll = (el, options) => {
|
|
|
2173
2191
|
const { enabled = signal(true), allowedDirection = 'both' } = options ?? {};
|
|
2174
2192
|
const scrollState = signalElementScrollState(elements);
|
|
2175
2193
|
const renderer = injectRenderer();
|
|
2176
|
-
const isDragging = signal(false,
|
|
2177
|
-
|
|
2178
|
-
const
|
|
2179
|
-
|
|
2180
|
-
const
|
|
2194
|
+
const isDragging = signal(false, /* @ts-ignore */
|
|
2195
|
+
...(ngDevMode ? [{ debugName: "isDragging" }] : /* istanbul ignore next */ []));
|
|
2196
|
+
const isInitDragging = signal(false, /* @ts-ignore */
|
|
2197
|
+
...(ngDevMode ? [{ debugName: "isInitDragging" }] : /* istanbul ignore next */ []));
|
|
2198
|
+
const initialDragPosition = signal({ x: 0, y: 0 }, /* @ts-ignore */
|
|
2199
|
+
...(ngDevMode ? [{ debugName: "initialDragPosition" }] : /* istanbul ignore next */ []));
|
|
2200
|
+
const initialScrollPosition = signal({ x: 0, y: 0 }, /* @ts-ignore */
|
|
2201
|
+
...(ngDevMode ? [{ debugName: "initialScrollPosition" }] : /* istanbul ignore next */ []));
|
|
2202
|
+
const dragAmount = signal({ x: 0, y: 0 }, /* @ts-ignore */
|
|
2203
|
+
...(ngDevMode ? [{ debugName: "dragAmount" }] : /* istanbul ignore next */ []));
|
|
2181
2204
|
const document = inject(DOCUMENT);
|
|
2182
2205
|
const canScroll = computed(() => {
|
|
2183
2206
|
const currentScrollState = scrollState();
|
|
@@ -2190,7 +2213,8 @@ const useCursorDragScroll = (el, options) => {
|
|
|
2190
2213
|
case 'vertical':
|
|
2191
2214
|
return currentScrollState.canScrollVertically;
|
|
2192
2215
|
}
|
|
2193
|
-
},
|
|
2216
|
+
}, /* @ts-ignore */
|
|
2217
|
+
...(ngDevMode ? [{ debugName: "canScroll" }] : /* istanbul ignore next */ []));
|
|
2194
2218
|
// Cleanup if the element the cursor drag scroll is bound to gets changed
|
|
2195
2219
|
effect(() => {
|
|
2196
2220
|
const { previousElement } = element();
|
|
@@ -2427,31 +2451,36 @@ const injectRouterState = memoizeSignal(() => {
|
|
|
2427
2451
|
/** Inject a signal containing the current route fragment (the part after the # inside the url if present) */
|
|
2428
2452
|
const injectFragment = (config) => {
|
|
2429
2453
|
const routerState = injectRouterState();
|
|
2430
|
-
const fragment = computed(() => routerState().fragment,
|
|
2454
|
+
const fragment = computed(() => routerState().fragment, /* @ts-ignore */
|
|
2455
|
+
...(ngDevMode ? [{ debugName: "fragment" }] : /* istanbul ignore next */ []));
|
|
2431
2456
|
return transformOrReturn(fragment, config);
|
|
2432
2457
|
};
|
|
2433
2458
|
/** Inject all currently available query parameters as a signal */
|
|
2434
2459
|
const injectQueryParams = () => {
|
|
2435
2460
|
const routerState = injectRouterState();
|
|
2436
|
-
const queryParams = computed(() => routerState().queryParams,
|
|
2461
|
+
const queryParams = computed(() => routerState().queryParams, /* @ts-ignore */
|
|
2462
|
+
...(ngDevMode ? [{ debugName: "queryParams" }] : /* istanbul ignore next */ []));
|
|
2437
2463
|
return queryParams;
|
|
2438
2464
|
};
|
|
2439
2465
|
/** Inject all currently available route data as a signal */
|
|
2440
2466
|
const injectRouteData = () => {
|
|
2441
2467
|
const routerState = injectRouterState();
|
|
2442
|
-
const data = computed(() => routerState().data,
|
|
2468
|
+
const data = computed(() => routerState().data, /* @ts-ignore */
|
|
2469
|
+
...(ngDevMode ? [{ debugName: "data" }] : /* istanbul ignore next */ []));
|
|
2443
2470
|
return data;
|
|
2444
2471
|
};
|
|
2445
2472
|
/** Inject the current route title as a signal */
|
|
2446
2473
|
const injectRouteTitle = (config) => {
|
|
2447
2474
|
const routerState = injectRouterState();
|
|
2448
|
-
const title = computed(() => routerState().title,
|
|
2475
|
+
const title = computed(() => routerState().title, /* @ts-ignore */
|
|
2476
|
+
...(ngDevMode ? [{ debugName: "title" }] : /* istanbul ignore next */ []));
|
|
2449
2477
|
return transformOrReturn(title, config);
|
|
2450
2478
|
};
|
|
2451
2479
|
/** Inject all currently available path parameters as a signal */
|
|
2452
2480
|
const injectPathParams = () => {
|
|
2453
2481
|
const routerState = injectRouterState();
|
|
2454
|
-
const pathParams = computed(() => routerState().pathParams,
|
|
2482
|
+
const pathParams = computed(() => routerState().pathParams, /* @ts-ignore */
|
|
2483
|
+
...(ngDevMode ? [{ debugName: "pathParams" }] : /* istanbul ignore next */ []));
|
|
2455
2484
|
return pathParams;
|
|
2456
2485
|
};
|
|
2457
2486
|
const getQueryParamFromUrl = (key) => {
|
|
@@ -3015,7 +3044,8 @@ const createSwipeTracker = (startEvent) => {
|
|
|
3015
3044
|
|
|
3016
3045
|
const [, injectAngularRootElement] = createRootProvider(() => {
|
|
3017
3046
|
const appRef = inject(ApplicationRef);
|
|
3018
|
-
const rootElement = signal(null,
|
|
3047
|
+
const rootElement = signal(null, /* @ts-ignore */
|
|
3048
|
+
...(ngDevMode ? [{ debugName: "rootElement" }] : /* istanbul ignore next */ []));
|
|
3019
3049
|
const poll = () => {
|
|
3020
3050
|
const appComponents = appRef.components;
|
|
3021
3051
|
if (appComponents.length > 0) {
|
|
@@ -3032,8 +3062,10 @@ const [, injectAngularRootElement] = createRootProvider(() => {
|
|
|
3032
3062
|
const [provideBoundaryElement, injectBoundaryElement, BOUNDARY_ELEMENT_TOKEN] = createProvider(() => {
|
|
3033
3063
|
const hostElement = inject(ElementRef, { optional: true });
|
|
3034
3064
|
const document = inject(DOCUMENT);
|
|
3035
|
-
const override = signal(null,
|
|
3036
|
-
|
|
3065
|
+
const override = signal(null, /* @ts-ignore */
|
|
3066
|
+
...(ngDevMode ? [{ debugName: "override" }] : /* istanbul ignore next */ []));
|
|
3067
|
+
const value = computed(() => override() ?? hostElement?.nativeElement ?? document.documentElement, /* @ts-ignore */
|
|
3068
|
+
...(ngDevMode ? [{ debugName: "value" }] : /* istanbul ignore next */ []));
|
|
3037
3069
|
return {
|
|
3038
3070
|
value,
|
|
3039
3071
|
override,
|
|
@@ -3043,7 +3075,8 @@ const [provideBoundaryElement, injectBoundaryElement, BOUNDARY_ELEMENT_TOKEN] =
|
|
|
3043
3075
|
const [provideFocusVisibleTracker, injectFocusVisibleTracker, FOCUS_VISIBLE_TRACKER_TOKEN] = createRootProvider(() => {
|
|
3044
3076
|
const document = inject(DOCUMENT);
|
|
3045
3077
|
const destroyRef = inject(DestroyRef);
|
|
3046
|
-
const isFocusVisible = signal(false,
|
|
3078
|
+
const isFocusVisible = signal(false, /* @ts-ignore */
|
|
3079
|
+
...(ngDevMode ? [{ debugName: "isFocusVisible" }] : /* istanbul ignore next */ []));
|
|
3047
3080
|
let hadKeyboardEvent = false;
|
|
3048
3081
|
const onKeyDown = (e) => {
|
|
3049
3082
|
if (e.key === 'Tab' || e.key === 'Shift' || e.key === 'Meta' || e.key === 'Alt' || e.key === 'Control') {
|
|
@@ -3083,7 +3116,8 @@ const [provideFocusVisibleTracker, injectFocusVisibleTracker, FOCUS_VISIBLE_TRAC
|
|
|
3083
3116
|
}, { name: 'Focus Visible Tracker' });
|
|
3084
3117
|
|
|
3085
3118
|
const [provideLocale, injectLocale] = createRootProvider(() => {
|
|
3086
|
-
const currentLocale = signal('en',
|
|
3119
|
+
const currentLocale = signal('en', /* @ts-ignore */
|
|
3120
|
+
...(ngDevMode ? [{ debugName: "currentLocale" }] : /* istanbul ignore next */ []));
|
|
3087
3121
|
return {
|
|
3088
3122
|
currentLocale,
|
|
3089
3123
|
};
|
|
@@ -3389,7 +3423,8 @@ class AnimatedLifecycleDirective {
|
|
|
3389
3423
|
this.currentFrameId = 0;
|
|
3390
3424
|
this.state$ = new BehaviorSubject('init');
|
|
3391
3425
|
this.stateChange = outputFromObservable(this.state$);
|
|
3392
|
-
this.skipNextEnter = model(false,
|
|
3426
|
+
this.skipNextEnter = model(false, /* @ts-ignore */
|
|
3427
|
+
...(ngDevMode ? [{ debugName: "skipNextEnter" }] : /* istanbul ignore next */ []));
|
|
3393
3428
|
this.state$
|
|
3394
3429
|
.pipe(tap((state) => {
|
|
3395
3430
|
if (state !== 'init') {
|
|
@@ -3640,15 +3675,15 @@ class AnimatedLifecycleDirective {
|
|
|
3640
3675
|
animationDebugLog(scope, message);
|
|
3641
3676
|
}
|
|
3642
3677
|
}
|
|
3643
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3644
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "
|
|
3678
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: AnimatedLifecycleDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
3679
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "22.0.5", type: AnimatedLifecycleDirective, isStandalone: true, selector: "[etAnimatedLifecycle]", inputs: { skipNextEnter: { classPropertyName: "skipNextEnter", publicName: "skipNextEnter", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { stateChange: "stateChange", skipNextEnter: "skipNextEnterChange" }, host: { classAttribute: "et-force-invisible" }, providers: [
|
|
3645
3680
|
{
|
|
3646
3681
|
provide: ANIMATED_LIFECYCLE_TOKEN,
|
|
3647
3682
|
useExisting: AnimatedLifecycleDirective,
|
|
3648
3683
|
},
|
|
3649
3684
|
], exportAs: ["etAnimatedLifecycle"], hostDirectives: [{ directive: AnimatableDirective }], ngImport: i0 }); }
|
|
3650
3685
|
}
|
|
3651
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3686
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: AnimatedLifecycleDirective, decorators: [{
|
|
3652
3687
|
type: Directive,
|
|
3653
3688
|
args: [{
|
|
3654
3689
|
selector: '[etAnimatedLifecycle]',
|
|
@@ -3695,15 +3730,15 @@ class AnimatedIfDirective {
|
|
|
3695
3730
|
}), takeUntilDestroyed())
|
|
3696
3731
|
.subscribe();
|
|
3697
3732
|
}
|
|
3698
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3699
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "
|
|
3733
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: AnimatedIfDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
3734
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "22.0.5", type: AnimatedIfDirective, isStandalone: true, selector: "[etAnimatedIf]", inputs: { ifValue: { classPropertyName: "ifValue", publicName: "etAnimatedIf", isSignal: true, isRequired: false, transformFunction: null } }, providers: [
|
|
3700
3735
|
{
|
|
3701
3736
|
provide: ANIMATED_IF_TOKEN,
|
|
3702
3737
|
useExisting: AnimatedIfDirective,
|
|
3703
3738
|
},
|
|
3704
3739
|
], ngImport: i0 }); }
|
|
3705
3740
|
}
|
|
3706
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3741
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: AnimatedIfDirective, decorators: [{
|
|
3707
3742
|
type: Directive,
|
|
3708
3743
|
args: [{
|
|
3709
3744
|
selector: '[etAnimatedIf]',
|
|
@@ -3727,16 +3762,22 @@ class AnimatedOverlayDirective {
|
|
|
3727
3762
|
this.destroyRef = inject(DestroyRef);
|
|
3728
3763
|
this.floatingElCleanupFn = null;
|
|
3729
3764
|
this.unmountSubscription = null;
|
|
3730
|
-
this.placement = input('bottom',
|
|
3731
|
-
|
|
3732
|
-
this.
|
|
3733
|
-
|
|
3734
|
-
this.
|
|
3765
|
+
this.placement = input('bottom', /* @ts-ignore */
|
|
3766
|
+
...(ngDevMode ? [{ debugName: "placement" }] : /* istanbul ignore next */ []));
|
|
3767
|
+
this.fallbackPlacements = input(/* @ts-ignore */
|
|
3768
|
+
...(ngDevMode ? [undefined, { debugName: "fallbackPlacements" }] : /* istanbul ignore next */ []));
|
|
3769
|
+
this.offset = input(null, /* @ts-ignore */
|
|
3770
|
+
...(ngDevMode ? [{ debugName: "offset" }] : /* istanbul ignore next */ []));
|
|
3771
|
+
this.arrowPadding = input(4, /* @ts-ignore */
|
|
3772
|
+
...(ngDevMode ? [{ debugName: "arrowPadding" }] : /* istanbul ignore next */ []));
|
|
3773
|
+
this.viewportPadding = input(8, /* @ts-ignore */
|
|
3774
|
+
...(ngDevMode ? [{ debugName: "viewportPadding" }] : /* istanbul ignore next */ []));
|
|
3735
3775
|
this.autoResize = input(false, { ...(ngDevMode ? { debugName: "autoResize" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
|
|
3736
3776
|
this.shift = input(true, { ...(ngDevMode ? { debugName: "shift" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
|
|
3737
3777
|
this.autoHide = input(false, { ...(ngDevMode ? { debugName: "autoHide" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
|
|
3738
3778
|
this.autoCloseIfReferenceHidden = input(false, { ...(ngDevMode ? { debugName: "autoCloseIfReferenceHidden" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
|
|
3739
|
-
this.referenceElement = input(this.elementRef.nativeElement,
|
|
3779
|
+
this.referenceElement = input(this.elementRef.nativeElement, /* @ts-ignore */
|
|
3780
|
+
...(ngDevMode ? [{ debugName: "referenceElement" }] : /* istanbul ignore next */ []));
|
|
3740
3781
|
this.mirrorWidth = input(false, { ...(ngDevMode ? { debugName: "mirrorWidth" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
|
|
3741
3782
|
this.portal = null;
|
|
3742
3783
|
this.overlayRef = null;
|
|
@@ -3745,14 +3786,22 @@ class AnimatedOverlayDirective {
|
|
|
3745
3786
|
this.afterOpened$ = new Subject();
|
|
3746
3787
|
this.beforeClosed$ = new Subject();
|
|
3747
3788
|
this.afterClosed$ = new Subject();
|
|
3748
|
-
this.state = signal('init',
|
|
3749
|
-
|
|
3750
|
-
this.
|
|
3751
|
-
|
|
3752
|
-
this.
|
|
3753
|
-
|
|
3754
|
-
this.
|
|
3755
|
-
|
|
3789
|
+
this.state = signal('init', /* @ts-ignore */
|
|
3790
|
+
...(ngDevMode ? [{ debugName: "state" }] : /* istanbul ignore next */ []));
|
|
3791
|
+
this.isMounted = computed(() => this.state() === 'mounted', /* @ts-ignore */
|
|
3792
|
+
...(ngDevMode ? [{ debugName: "isMounted" }] : /* istanbul ignore next */ []));
|
|
3793
|
+
this.isMounting = computed(() => this.state() === 'mounting', /* @ts-ignore */
|
|
3794
|
+
...(ngDevMode ? [{ debugName: "isMounting" }] : /* istanbul ignore next */ []));
|
|
3795
|
+
this.isUnmounted = computed(() => this.state() === 'unmounted', /* @ts-ignore */
|
|
3796
|
+
...(ngDevMode ? [{ debugName: "isUnmounted" }] : /* istanbul ignore next */ []));
|
|
3797
|
+
this.isUnmounting = computed(() => this.state() === 'unmounting', /* @ts-ignore */
|
|
3798
|
+
...(ngDevMode ? [{ debugName: "isUnmounting" }] : /* istanbul ignore next */ []));
|
|
3799
|
+
this.canMount = computed(() => !this.isMounted() && !this.isMounting(), /* @ts-ignore */
|
|
3800
|
+
...(ngDevMode ? [{ debugName: "canMount" }] : /* istanbul ignore next */ []));
|
|
3801
|
+
this.canUnmount = computed(() => (this.isMounted() || this.isMounting()) && !this.isUnmounting(), /* @ts-ignore */
|
|
3802
|
+
...(ngDevMode ? [{ debugName: "canUnmount" }] : /* istanbul ignore next */ []));
|
|
3803
|
+
this.isHidden = signal(false, /* @ts-ignore */
|
|
3804
|
+
...(ngDevMode ? [{ debugName: "isHidden" }] : /* istanbul ignore next */ []));
|
|
3756
3805
|
this.isMounted$ = toObservable(this.isMounted);
|
|
3757
3806
|
this.isMounting$ = toObservable(this.isMounting);
|
|
3758
3807
|
this.isUnmounted$ = toObservable(this.isUnmounted);
|
|
@@ -4003,10 +4052,10 @@ class AnimatedOverlayDirective {
|
|
|
4003
4052
|
this.state.set('unmounted');
|
|
4004
4053
|
this.afterClosed$.next();
|
|
4005
4054
|
}
|
|
4006
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4007
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "
|
|
4055
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: AnimatedOverlayDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
4056
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "22.0.5", type: AnimatedOverlayDirective, isStandalone: true, selector: "[etAnimatedOverlay]", inputs: { placement: { classPropertyName: "placement", publicName: "placement", isSignal: true, isRequired: false, transformFunction: null }, fallbackPlacements: { classPropertyName: "fallbackPlacements", publicName: "fallbackPlacements", isSignal: true, isRequired: false, transformFunction: null }, offset: { classPropertyName: "offset", publicName: "offset", isSignal: true, isRequired: false, transformFunction: null }, arrowPadding: { classPropertyName: "arrowPadding", publicName: "arrowPadding", isSignal: true, isRequired: false, transformFunction: null }, viewportPadding: { classPropertyName: "viewportPadding", publicName: "viewportPadding", isSignal: true, isRequired: false, transformFunction: null }, autoResize: { classPropertyName: "autoResize", publicName: "autoResize", isSignal: true, isRequired: false, transformFunction: null }, shift: { classPropertyName: "shift", publicName: "shift", isSignal: true, isRequired: false, transformFunction: null }, autoHide: { classPropertyName: "autoHide", publicName: "autoHide", isSignal: true, isRequired: false, transformFunction: null }, autoCloseIfReferenceHidden: { classPropertyName: "autoCloseIfReferenceHidden", publicName: "autoCloseIfReferenceHidden", isSignal: true, isRequired: false, transformFunction: null }, referenceElement: { classPropertyName: "referenceElement", publicName: "referenceElement", isSignal: true, isRequired: false, transformFunction: null }, mirrorWidth: { classPropertyName: "mirrorWidth", publicName: "mirrorWidth", isSignal: true, isRequired: false, transformFunction: null } }, host: { classAttribute: "et-animated-overlay" }, exportAs: ["etAnimatedOverlay"], ngImport: i0 }); }
|
|
4008
4057
|
}
|
|
4009
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4058
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: AnimatedOverlayDirective, decorators: [{
|
|
4010
4059
|
type: Directive,
|
|
4011
4060
|
args: [{
|
|
4012
4061
|
selector: '[etAnimatedOverlay]',
|
|
@@ -4129,10 +4178,10 @@ class ClickOutsideDirective {
|
|
|
4129
4178
|
}), takeUntilDestroyed())
|
|
4130
4179
|
.subscribe();
|
|
4131
4180
|
}
|
|
4132
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4133
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
4181
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: ClickOutsideDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
4182
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.0.5", type: ClickOutsideDirective, isStandalone: true, selector: "[etClickOutside]", outputs: { didClickOutside: "etClickOutside" }, ngImport: i0 }); }
|
|
4134
4183
|
}
|
|
4135
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4184
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: ClickOutsideDirective, decorators: [{
|
|
4136
4185
|
type: Directive,
|
|
4137
4186
|
args: [{
|
|
4138
4187
|
selector: '[etClickOutside]',
|
|
@@ -4169,10 +4218,10 @@ class RepeatDirective {
|
|
|
4169
4218
|
// Otherwise it has no consumers and won't run.
|
|
4170
4219
|
effect(() => this.views());
|
|
4171
4220
|
}
|
|
4172
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4173
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "
|
|
4221
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: RepeatDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
4222
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "22.0.5", type: RepeatDirective, isStandalone: true, selector: "[etRepeat]", inputs: { repeatCount: { classPropertyName: "repeatCount", publicName: "etRepeat", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 }); }
|
|
4174
4223
|
}
|
|
4175
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4224
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: RepeatDirective, decorators: [{
|
|
4176
4225
|
type: Directive,
|
|
4177
4226
|
args: [{
|
|
4178
4227
|
selector: '[etRepeat]',
|
|
@@ -4182,15 +4231,19 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.13", ngImpo
|
|
|
4182
4231
|
class ScrollObserverDirective {
|
|
4183
4232
|
constructor() {
|
|
4184
4233
|
this.elementRef = inject(ElementRef);
|
|
4185
|
-
this.enabled = model(true,
|
|
4234
|
+
this.enabled = model(true, /* @ts-ignore */
|
|
4235
|
+
...(ngDevMode ? [{ debugName: "enabled" }] : /* istanbul ignore next */ []));
|
|
4186
4236
|
this.enabledValue = computed(() => {
|
|
4187
4237
|
const enabled = this.enabled();
|
|
4188
4238
|
if (isSignal(enabled))
|
|
4189
4239
|
return enabled();
|
|
4190
4240
|
return enabled;
|
|
4191
|
-
},
|
|
4192
|
-
|
|
4193
|
-
this.
|
|
4241
|
+
}, /* @ts-ignore */
|
|
4242
|
+
...(ngDevMode ? [{ debugName: "enabledValue" }] : /* istanbul ignore next */ []));
|
|
4243
|
+
this._startEl = signal(null, /* @ts-ignore */
|
|
4244
|
+
...(ngDevMode ? [{ debugName: "_startEl" }] : /* istanbul ignore next */ []));
|
|
4245
|
+
this._endEl = signal(null, /* @ts-ignore */
|
|
4246
|
+
...(ngDevMode ? [{ debugName: "_endEl" }] : /* istanbul ignore next */ []));
|
|
4194
4247
|
this._startIntersection = signalElementIntersection(this._startEl, {
|
|
4195
4248
|
root: this.elementRef,
|
|
4196
4249
|
enabled: this.enabledValue,
|
|
@@ -4199,8 +4252,10 @@ class ScrollObserverDirective {
|
|
|
4199
4252
|
root: this.elementRef,
|
|
4200
4253
|
enabled: this.enabledValue,
|
|
4201
4254
|
});
|
|
4202
|
-
this.isAtStart = computed(() => this._startIntersection()[0]?.isIntersecting ?? false,
|
|
4203
|
-
|
|
4255
|
+
this.isAtStart = computed(() => this._startIntersection()[0]?.isIntersecting ?? false, /* @ts-ignore */
|
|
4256
|
+
...(ngDevMode ? [{ debugName: "isAtStart" }] : /* istanbul ignore next */ []));
|
|
4257
|
+
this.isAtEnd = computed(() => this._endIntersection()[0]?.isIntersecting ?? false, /* @ts-ignore */
|
|
4258
|
+
...(ngDevMode ? [{ debugName: "isAtEnd" }] : /* istanbul ignore next */ []));
|
|
4204
4259
|
}
|
|
4205
4260
|
_registerStart(el) {
|
|
4206
4261
|
this._startEl.set(el);
|
|
@@ -4208,10 +4263,10 @@ class ScrollObserverDirective {
|
|
|
4208
4263
|
_registerEnd(el) {
|
|
4209
4264
|
this._endEl.set(el);
|
|
4210
4265
|
}
|
|
4211
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4212
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "
|
|
4266
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: ScrollObserverDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
4267
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "22.0.5", type: ScrollObserverDirective, isStandalone: true, selector: "[etScrollObserver]", inputs: { enabled: { classPropertyName: "enabled", publicName: "enabled", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { enabled: "enabledChange" }, exportAs: ["etScrollObserver"], ngImport: i0 }); }
|
|
4213
4268
|
}
|
|
4214
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4269
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: ScrollObserverDirective, decorators: [{
|
|
4215
4270
|
type: Directive,
|
|
4216
4271
|
args: [{
|
|
4217
4272
|
selector: '[etScrollObserver]',
|
|
@@ -4225,10 +4280,10 @@ class ScrollObserverEndDirective {
|
|
|
4225
4280
|
this.host = inject(ScrollObserverDirective);
|
|
4226
4281
|
this.host._registerEnd(this.elementRef);
|
|
4227
4282
|
}
|
|
4228
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4229
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
4283
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: ScrollObserverEndDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
4284
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.0.5", type: ScrollObserverEndDirective, isStandalone: true, selector: "[etScrollObserverEnd]", ngImport: i0 }); }
|
|
4230
4285
|
}
|
|
4231
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4286
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: ScrollObserverEndDirective, decorators: [{
|
|
4232
4287
|
type: Directive,
|
|
4233
4288
|
args: [{
|
|
4234
4289
|
selector: '[etScrollObserverEnd]',
|
|
@@ -4241,10 +4296,10 @@ class ScrollObserverStartDirective {
|
|
|
4241
4296
|
this.host = inject(ScrollObserverDirective);
|
|
4242
4297
|
this.host._registerStart(this.elementRef);
|
|
4243
4298
|
}
|
|
4244
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4245
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
4299
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: ScrollObserverStartDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
4300
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.0.5", type: ScrollObserverStartDirective, isStandalone: true, selector: "[etScrollObserverStart]", ngImport: i0 }); }
|
|
4246
4301
|
}
|
|
4247
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4302
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: ScrollObserverStartDirective, decorators: [{
|
|
4248
4303
|
type: Directive,
|
|
4249
4304
|
args: [{
|
|
4250
4305
|
selector: '[etScrollObserverStart]',
|
|
@@ -4279,7 +4334,8 @@ const setupDragObservable = (startEvent, el, commitThreshold) => {
|
|
|
4279
4334
|
class DragHandleDirective {
|
|
4280
4335
|
constructor() {
|
|
4281
4336
|
this.el = inject(ElementRef);
|
|
4282
|
-
this.commitThreshold = input(8,
|
|
4337
|
+
this.commitThreshold = input(8, /* @ts-ignore */
|
|
4338
|
+
...(ngDevMode ? [{ debugName: "commitThreshold" }] : /* istanbul ignore next */ []));
|
|
4283
4339
|
this.disabled = input(false, { ...(ngDevMode ? { debugName: "disabled" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
|
|
4284
4340
|
this.gestureStart$ = new Subject();
|
|
4285
4341
|
this.gesture$ = this.gestureStart$.pipe(exhaustMap((event) => setupDragObservable(event, this.el.nativeElement, this.commitThreshold())), takeUntilDestroyed(), share());
|
|
@@ -4296,10 +4352,10 @@ class DragHandleDirective {
|
|
|
4296
4352
|
event.stopPropagation();
|
|
4297
4353
|
this.gestureStart$.next(event);
|
|
4298
4354
|
}
|
|
4299
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4300
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "
|
|
4355
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: DragHandleDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
4356
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "22.0.5", type: DragHandleDirective, isStandalone: true, selector: "[etDragHandle]", inputs: { commitThreshold: { classPropertyName: "commitThreshold", publicName: "commitThreshold", isSignal: true, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { dragTapped: "dragTapped", dragStarted: "dragStarted", dragMoved: "dragMoved", dragEnded: "dragEnded" }, ngImport: i0 }); }
|
|
4301
4357
|
}
|
|
4302
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4358
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: DragHandleDirective, decorators: [{
|
|
4303
4359
|
type: Directive,
|
|
4304
4360
|
args: [{
|
|
4305
4361
|
selector: '[etDragHandle]',
|
|
@@ -4564,8 +4620,10 @@ const setupPositioning = (config, hostElement, paneElement, overlayRef, renderer
|
|
|
4564
4620
|
};
|
|
4565
4621
|
|
|
4566
4622
|
const createOverlayRuntimeRef = (id, config, elements, requestClose) => {
|
|
4567
|
-
const _state = signal('mounting',
|
|
4568
|
-
|
|
4623
|
+
const _state = signal('mounting', /* @ts-ignore */
|
|
4624
|
+
...(ngDevMode ? [{ debugName: "_state" }] : /* istanbul ignore next */ []));
|
|
4625
|
+
const _componentInstance = signal(null, /* @ts-ignore */
|
|
4626
|
+
...(ngDevMode ? [{ debugName: "_componentInstance" }] : /* istanbul ignore next */ []));
|
|
4569
4627
|
let positionUpdater = null;
|
|
4570
4628
|
const beforeOpenedSubject = new Subject();
|
|
4571
4629
|
const afterOpenedSubject = new Subject();
|
|
@@ -4645,8 +4703,10 @@ const [provideOverlayRuntime, injectOverlayRuntime] = createRootProvider(() => {
|
|
|
4645
4703
|
const document = inject(DOCUMENT);
|
|
4646
4704
|
const environmentInjector = inject(EnvironmentInjector);
|
|
4647
4705
|
const renderer = injectRenderer();
|
|
4648
|
-
const openEntriesState = signal([],
|
|
4649
|
-
|
|
4706
|
+
const openEntriesState = signal([], /* @ts-ignore */
|
|
4707
|
+
...(ngDevMode ? [{ debugName: "openEntriesState" }] : /* istanbul ignore next */ []));
|
|
4708
|
+
const openEntries = computed(() => openEntriesState(), /* @ts-ignore */
|
|
4709
|
+
...(ngDevMode ? [{ debugName: "openEntries" }] : /* istanbul ignore next */ []));
|
|
4650
4710
|
let rootElement = null;
|
|
4651
4711
|
// Synchronous teardown for each currently-mounted overlay, run when the runtime's injector is
|
|
4652
4712
|
// destroyed (app teardown). Registered on mount, removed once the overlay is destroyed normally.
|
|
@@ -4904,10 +4964,10 @@ class NormalizeGameResultTypePipe {
|
|
|
4904
4964
|
constructor() {
|
|
4905
4965
|
this.transform = normalizeGameResultType;
|
|
4906
4966
|
}
|
|
4907
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4908
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "
|
|
4967
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: NormalizeGameResultTypePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
4968
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "22.0.5", ngImport: i0, type: NormalizeGameResultTypePipe, isStandalone: true, name: "etNormalizeGameResultType" }); }
|
|
4909
4969
|
}
|
|
4910
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4970
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: NormalizeGameResultTypePipe, decorators: [{
|
|
4911
4971
|
type: Pipe,
|
|
4912
4972
|
args: [{ name: 'etNormalizeGameResultType' }]
|
|
4913
4973
|
}] });
|
|
@@ -4949,10 +5009,10 @@ class NormalizeMatchStatePipe {
|
|
|
4949
5009
|
constructor() {
|
|
4950
5010
|
this.transform = normalizeMatchState;
|
|
4951
5011
|
}
|
|
4952
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4953
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "
|
|
5012
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: NormalizeMatchStatePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
5013
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "22.0.5", ngImport: i0, type: NormalizeMatchStatePipe, isStandalone: true, name: "etNormalizeMatchState" }); }
|
|
4954
5014
|
}
|
|
4955
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5015
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: NormalizeMatchStatePipe, decorators: [{
|
|
4956
5016
|
type: Pipe,
|
|
4957
5017
|
args: [{ name: 'etNormalizeMatchState' }]
|
|
4958
5018
|
}] });
|
|
@@ -4979,10 +5039,10 @@ class NormalizeMatchParticipantsPipe {
|
|
|
4979
5039
|
constructor() {
|
|
4980
5040
|
this.transform = normalizeMatchParticipants;
|
|
4981
5041
|
}
|
|
4982
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4983
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "
|
|
5042
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: NormalizeMatchParticipantsPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
5043
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "22.0.5", ngImport: i0, type: NormalizeMatchParticipantsPipe, isStandalone: true, name: "etNormalizeMatchParticipants" }); }
|
|
4984
5044
|
}
|
|
4985
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5045
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: NormalizeMatchParticipantsPipe, decorators: [{
|
|
4986
5046
|
type: Pipe,
|
|
4987
5047
|
args: [{ name: 'etNormalizeMatchParticipants' }]
|
|
4988
5048
|
}] });
|
|
@@ -5036,10 +5096,10 @@ class NormalizeMatchScorePipe {
|
|
|
5036
5096
|
constructor() {
|
|
5037
5097
|
this.transform = normalizeMatchScore;
|
|
5038
5098
|
}
|
|
5039
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5040
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "
|
|
5099
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: NormalizeMatchScorePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
5100
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "22.0.5", ngImport: i0, type: NormalizeMatchScorePipe, isStandalone: true, name: "etNormalizeMatchScore" }); }
|
|
5041
5101
|
}
|
|
5042
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5102
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: NormalizeMatchScorePipe, decorators: [{
|
|
5043
5103
|
type: Pipe,
|
|
5044
5104
|
args: [{ name: 'etNormalizeMatchScore' }]
|
|
5045
5105
|
}] });
|
|
@@ -5172,10 +5232,10 @@ class NormalizeMatchTypePipe {
|
|
|
5172
5232
|
constructor() {
|
|
5173
5233
|
this.transform = normalizeMatchType;
|
|
5174
5234
|
}
|
|
5175
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5176
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "
|
|
5235
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: NormalizeMatchTypePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
5236
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "22.0.5", ngImport: i0, type: NormalizeMatchTypePipe, isStandalone: true, name: "etNormalizeMatchType" }); }
|
|
5177
5237
|
}
|
|
5178
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5238
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: NormalizeMatchTypePipe, decorators: [{
|
|
5179
5239
|
type: Pipe,
|
|
5180
5240
|
args: [{ name: 'etNormalizeMatchType' }]
|
|
5181
5241
|
}] });
|
|
@@ -5223,10 +5283,10 @@ class HtmlToMarkdownPipe {
|
|
|
5223
5283
|
constructor() {
|
|
5224
5284
|
this.transform = htmlToMarkdown;
|
|
5225
5285
|
}
|
|
5226
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5227
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "
|
|
5286
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: HtmlToMarkdownPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
5287
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "22.0.5", ngImport: i0, type: HtmlToMarkdownPipe, isStandalone: true, name: "htmlToMarkdown" }); }
|
|
5228
5288
|
}
|
|
5229
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5289
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: HtmlToMarkdownPipe, decorators: [{
|
|
5230
5290
|
type: Pipe,
|
|
5231
5291
|
args: [{ name: 'htmlToMarkdown' }]
|
|
5232
5292
|
}] });
|
|
@@ -5235,10 +5295,10 @@ class InferMimeTypePipe {
|
|
|
5235
5295
|
constructor() {
|
|
5236
5296
|
this.transform = inferMimeType;
|
|
5237
5297
|
}
|
|
5238
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5239
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "
|
|
5298
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: InferMimeTypePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
5299
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "22.0.5", ngImport: i0, type: InferMimeTypePipe, isStandalone: true, name: "inferMimeType" }); }
|
|
5240
5300
|
}
|
|
5241
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5301
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: InferMimeTypePipe, decorators: [{
|
|
5242
5302
|
type: Pipe,
|
|
5243
5303
|
args: [{
|
|
5244
5304
|
name: 'inferMimeType',
|
|
@@ -5448,10 +5508,10 @@ class MarkdownToHtmlPipe {
|
|
|
5448
5508
|
constructor() {
|
|
5449
5509
|
this.transform = markdownToHtml;
|
|
5450
5510
|
}
|
|
5451
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5452
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "
|
|
5511
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: MarkdownToHtmlPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
5512
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "22.0.5", ngImport: i0, type: MarkdownToHtmlPipe, isStandalone: true, name: "markdownToHtml" }); }
|
|
5453
5513
|
}
|
|
5454
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5514
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: MarkdownToHtmlPipe, decorators: [{
|
|
5455
5515
|
type: Pipe,
|
|
5456
5516
|
args: [{ name: 'markdownToHtml' }]
|
|
5457
5517
|
}] });
|
|
@@ -5460,10 +5520,10 @@ class ToArrayPipe {
|
|
|
5460
5520
|
constructor() {
|
|
5461
5521
|
this.transform = toArray;
|
|
5462
5522
|
}
|
|
5463
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5464
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "
|
|
5523
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: ToArrayPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
5524
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "22.0.5", ngImport: i0, type: ToArrayPipe, isStandalone: true, name: "toArray" }); }
|
|
5465
5525
|
}
|
|
5466
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5526
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: ToArrayPipe, decorators: [{
|
|
5467
5527
|
type: Pipe,
|
|
5468
5528
|
args: [{ name: 'toArray' }]
|
|
5469
5529
|
}] });
|
|
@@ -5495,14 +5555,19 @@ const createElementDictionary = () => {
|
|
|
5495
5555
|
const firstElement = computed(() => {
|
|
5496
5556
|
const id = dictionary.ids()[0];
|
|
5497
5557
|
return id ? (dictionary.elements()[id] ?? null) : null;
|
|
5498
|
-
},
|
|
5558
|
+
}, /* @ts-ignore */
|
|
5559
|
+
...(ngDevMode ? [{ debugName: "firstElement" }] : /* istanbul ignore next */ []));
|
|
5499
5560
|
const firstId = computed(() => {
|
|
5500
5561
|
const id = dictionary.ids()[0];
|
|
5501
5562
|
return id ?? null;
|
|
5502
|
-
},
|
|
5503
|
-
|
|
5504
|
-
const
|
|
5505
|
-
|
|
5563
|
+
}, /* @ts-ignore */
|
|
5564
|
+
...(ngDevMode ? [{ debugName: "firstId" }] : /* istanbul ignore next */ []));
|
|
5565
|
+
const ids = computed(() => dictionary.ids(), /* @ts-ignore */
|
|
5566
|
+
...(ngDevMode ? [{ debugName: "ids" }] : /* istanbul ignore next */ []));
|
|
5567
|
+
const elements = computed(() => ids().map((id) => dictionary.elements()[id]), /* @ts-ignore */
|
|
5568
|
+
...(ngDevMode ? [{ debugName: "elements" }] : /* istanbul ignore next */ []));
|
|
5569
|
+
const isEmpty = computed(() => dictionary.ids().length === 0, /* @ts-ignore */
|
|
5570
|
+
...(ngDevMode ? [{ debugName: "isEmpty" }] : /* istanbul ignore next */ []));
|
|
5506
5571
|
const has = (id) => {
|
|
5507
5572
|
return dictionary.ids().includes(id);
|
|
5508
5573
|
};
|
|
@@ -5586,7 +5651,8 @@ const unbindProps = (config) => {
|
|
|
5586
5651
|
const createProps = (props) => {
|
|
5587
5652
|
const { bindId = false, single = true, classes: classBindings, attributes: attributeBindings, styles: styleBindings, staticAttributes: staticAttributeBindings = null, staticClasses: staticClassBindings = null, staticStyles: staticStyleBindings = null, listeners, name, } = props;
|
|
5588
5653
|
const dictionary = createElementDictionary();
|
|
5589
|
-
const attached = computed(() => !dictionary.isEmpty(),
|
|
5654
|
+
const attached = computed(() => !dictionary.isEmpty(), /* @ts-ignore */
|
|
5655
|
+
...(ngDevMode ? [{ debugName: "attached" }] : /* istanbul ignore next */ []));
|
|
5590
5656
|
const attachedElements = {
|
|
5591
5657
|
first: dictionary.firstElement,
|
|
5592
5658
|
firstId: dictionary.firstId,
|
|
@@ -5689,10 +5755,10 @@ class PropsDirective {
|
|
|
5689
5755
|
});
|
|
5690
5756
|
});
|
|
5691
5757
|
}
|
|
5692
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5693
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "
|
|
5758
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: PropsDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
5759
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "22.0.5", type: PropsDirective, isStandalone: true, selector: "[etProps]", inputs: { props: { classPropertyName: "props", publicName: "etProps", isSignal: true, isRequired: true, transformFunction: null } }, ngImport: i0 }); }
|
|
5694
5760
|
}
|
|
5695
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5761
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: PropsDirective, decorators: [{
|
|
5696
5762
|
type: Directive,
|
|
5697
5763
|
args: [{
|
|
5698
5764
|
selector: '[etProps]',
|
|
@@ -5758,7 +5824,8 @@ const setupResizeObservable = (startEvent, edge) => {
|
|
|
5758
5824
|
};
|
|
5759
5825
|
class ResizeHandlesComponent {
|
|
5760
5826
|
constructor() {
|
|
5761
|
-
this.edges = input(['n', 's', 'e', 'w', 'ne', 'nw', 'se', 'sw'],
|
|
5827
|
+
this.edges = input(['n', 's', 'e', 'w', 'ne', 'nw', 'se', 'sw'], /* @ts-ignore */
|
|
5828
|
+
...(ngDevMode ? [{ debugName: "edges" }] : /* istanbul ignore next */ []));
|
|
5762
5829
|
this.disabled = input(false, { ...(ngDevMode ? { debugName: "disabled" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
|
|
5763
5830
|
this.gestureStart$ = new Subject();
|
|
5764
5831
|
this.gesture$ = this.gestureStart$.pipe(exhaustMap(({ event, edge }) => setupResizeObservable(event, edge)), takeUntilDestroyed(), share());
|
|
@@ -5781,8 +5848,8 @@ class ResizeHandlesComponent {
|
|
|
5781
5848
|
event.stopPropagation();
|
|
5782
5849
|
this.gestureStart$.next({ event, edge });
|
|
5783
5850
|
}
|
|
5784
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5785
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
5851
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: ResizeHandlesComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
5852
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.5", type: ResizeHandlesComponent, isStandalone: true, selector: "et-resize-handles", inputs: { edges: { classPropertyName: "edges", publicName: "edges", isSignal: true, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { resizeStarted: "resizeStarted", resizeMoved: "resizeMoved", resizeEnded: "resizeEnded" }, host: { properties: { "attr.inert": "disabled() ? \"\" : null", "attr.data-active-edge": "activeEdge()" }, classAttribute: "et-resize-handles" }, ngImport: i0, template: `
|
|
5786
5853
|
@for (edge of edges(); track edge) {
|
|
5787
5854
|
<div
|
|
5788
5855
|
[style.cursor]="edgeCursors[edge]"
|
|
@@ -5792,7 +5859,7 @@ class ResizeHandlesComponent {
|
|
|
5792
5859
|
}
|
|
5793
5860
|
`, isInline: true, styles: ["@property --et-resize-handles-z-index{syntax: \"<integer>\"; inherits: true; initial-value: 10;}@property --et-resize-handles-edge-size{syntax: \"<length>\"; inherits: true; initial-value: 6px;}@property --et-resize-handles-corner-size{syntax: \"<length>\"; inherits: true; initial-value: 12px;}@property --et-resize-handles-edge-inset{syntax: \"<length>\"; inherits: true; initial-value: 8px;}@property --et-resize-handles-side-top{syntax: \"<length>\"; inherits: true; initial-value: 0px;}@property --et-resize-handles-side-bottom{syntax: \"<length>\"; inherits: true; initial-value: 8px;}@property --et-resize-handles-touch-edge-size{syntax: \"<length>\"; inherits: true; initial-value: 20px;}@property --et-resize-handles-touch-corner-size{syntax: \"<length>\"; inherits: true; initial-value: 28px;}et-resize-handles{position:absolute;inset:0;pointer-events:none}.et-resize-handle{position:absolute;z-index:var(--et-resize-handles-z-index);touch-action:none;pointer-events:auto}.et-resize-handle--n{left:var(--et-resize-handles-edge-inset);right:var(--et-resize-handles-edge-inset);height:var(--et-resize-handles-edge-size);top:0}.et-resize-handle--s{left:var(--et-resize-handles-edge-inset);right:var(--et-resize-handles-edge-inset);height:var(--et-resize-handles-edge-size);bottom:0}.et-resize-handle--e,.et-resize-handle--w{top:var(--et-resize-handles-side-top);bottom:var(--et-resize-handles-side-bottom);width:var(--et-resize-handles-edge-size)}.et-resize-handle--e{right:0}.et-resize-handle--w{left:0}.et-resize-handle--ne,.et-resize-handle--nw{top:0;width:var(--et-resize-handles-corner-size);height:var(--et-resize-handles-corner-size)}.et-resize-handle--ne{right:0}.et-resize-handle--nw{left:0}.et-resize-handle--se,.et-resize-handle--sw{bottom:0;width:var(--et-resize-handles-corner-size);height:var(--et-resize-handles-corner-size)}.et-resize-handle--se{right:0}.et-resize-handle--sw{left:0}@media(hover:none){.et-resize-handle--n,.et-resize-handle--s{height:var(--et-resize-handles-touch-edge-size)}.et-resize-handle--e,.et-resize-handle--w{width:var(--et-resize-handles-touch-edge-size)}.et-resize-handle--ne,.et-resize-handle--nw,.et-resize-handle--se,.et-resize-handle--sw{width:var(--et-resize-handles-touch-corner-size);height:var(--et-resize-handles-touch-corner-size)}}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
5794
5861
|
}
|
|
5795
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5862
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: ResizeHandlesComponent, decorators: [{
|
|
5796
5863
|
type: Component,
|
|
5797
5864
|
args: [{ selector: 'et-resize-handles', template: `
|
|
5798
5865
|
@for (edge of edges(); track edge) {
|
|
@@ -5842,7 +5909,8 @@ const createPropertyBinding = (configBuilder, applyConfigFn) => {
|
|
|
5842
5909
|
const createArrayPropertyBinding = (configBuilder, applyConfigFn) => {
|
|
5843
5910
|
return (binding) => {
|
|
5844
5911
|
const valuesSignal = isSignal(binding) ? binding : signal(binding);
|
|
5845
|
-
const valuesList = computed(() => untracked(() => valuesSignal()) ?? [],
|
|
5912
|
+
const valuesList = computed(() => untracked(() => valuesSignal()) ?? [], /* @ts-ignore */
|
|
5913
|
+
...(ngDevMode ? [{ debugName: "valuesList" }] : /* istanbul ignore next */ []));
|
|
5846
5914
|
valuesList().forEach((value, index) => {
|
|
5847
5915
|
applyConfigFn(computed(() => configBuilder(value, index)));
|
|
5848
5916
|
});
|
|
@@ -5887,7 +5955,8 @@ const [provideLinkStoreConfig, injectLinkStoreConfig] = createStaticRootProvider
|
|
|
5887
5955
|
const [provideLinkStore, injectLinkStore] = createRootProvider(() => {
|
|
5888
5956
|
const document = inject(DOCUMENT$1);
|
|
5889
5957
|
const config = injectLinkStoreConfig();
|
|
5890
|
-
const linksByKey = signal(new Map(),
|
|
5958
|
+
const linksByKey = signal(new Map(), /* @ts-ignore */
|
|
5959
|
+
...(ngDevMode ? [{ debugName: "linksByKey" }] : /* istanbul ignore next */ []));
|
|
5891
5960
|
let priorityCounter = 0;
|
|
5892
5961
|
const getLinkKey = (linkConfig) => {
|
|
5893
5962
|
const isMultiInstance = config.multiInstanceRels.has(linkConfig.rel) || linkConfig.allowMultiple;
|
|
@@ -6049,7 +6118,8 @@ const [provideTitleConfig, injectTitleConfig] = createStaticRootProvider({
|
|
|
6049
6118
|
}, { name: 'Title Config' });
|
|
6050
6119
|
const [provideTitleStore, injectTitleStore] = createRootProvider(() => {
|
|
6051
6120
|
const config = injectTitleConfig();
|
|
6052
|
-
const titleParts = signal(new Map(),
|
|
6121
|
+
const titleParts = signal(new Map(), /* @ts-ignore */
|
|
6122
|
+
...(ngDevMode ? [{ debugName: "titleParts" }] : /* istanbul ignore next */ []));
|
|
6053
6123
|
const { currentLocale } = injectLocale();
|
|
6054
6124
|
const titleService = inject(Title);
|
|
6055
6125
|
const isRouterInitialized = injectIsRouterInitialized();
|
|
@@ -6077,7 +6147,8 @@ const [provideTitleStore, injectTitleStore] = createRootProvider(() => {
|
|
|
6077
6147
|
finalTextParts.push(config.transformer(config.suffixPart.text, currentLocale()));
|
|
6078
6148
|
}
|
|
6079
6149
|
return finalTextParts.join(` ${config.divider} `);
|
|
6080
|
-
},
|
|
6150
|
+
}, /* @ts-ignore */
|
|
6151
|
+
...(ngDevMode ? [{ debugName: "title" }] : /* istanbul ignore next */ []));
|
|
6081
6152
|
const addPart = (id, part) => {
|
|
6082
6153
|
titleParts.update((parts) => new Map(parts).set(id, part));
|
|
6083
6154
|
};
|
|
@@ -6177,7 +6248,8 @@ const [provideMetaStore, injectMetaStore] = createRootProvider(() => {
|
|
|
6177
6248
|
const metaService = inject(Meta);
|
|
6178
6249
|
const config = injectMetaConfig();
|
|
6179
6250
|
const { currentLocale } = injectLocale();
|
|
6180
|
-
const metaTagsBySelector = signal(new Map(),
|
|
6251
|
+
const metaTagsBySelector = signal(new Map(), /* @ts-ignore */
|
|
6252
|
+
...(ngDevMode ? [{ debugName: "metaTagsBySelector" }] : /* istanbul ignore next */ []));
|
|
6181
6253
|
let priorityCounter = 0;
|
|
6182
6254
|
const getSelector = (config) => {
|
|
6183
6255
|
if (config.name)
|
|
@@ -6604,10 +6676,10 @@ class SeoDirective {
|
|
|
6604
6676
|
}
|
|
6605
6677
|
}
|
|
6606
6678
|
}
|
|
6607
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
6608
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
6679
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: SeoDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
6680
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.0.5", type: SeoDirective, isStandalone: true, providers: [{ provide: SEO_DIRECTIVE_TOKEN, useExisting: SeoDirective }], ngImport: i0 }); }
|
|
6609
6681
|
}
|
|
6610
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
6682
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: SeoDirective, decorators: [{
|
|
6611
6683
|
type: Directive,
|
|
6612
6684
|
args: [{
|
|
6613
6685
|
providers: [{ provide: SEO_DIRECTIVE_TOKEN, useExisting: SeoDirective }],
|
|
@@ -6621,7 +6693,8 @@ const [provideStructuredDataStore, injectStructuredDataStore] = createRootProvid
|
|
|
6621
6693
|
const document = inject(DOCUMENT$1);
|
|
6622
6694
|
const renderer = injectRenderer();
|
|
6623
6695
|
const config = injectStructuredDataConfig();
|
|
6624
|
-
const scripts = signal(new Map(),
|
|
6696
|
+
const scripts = signal(new Map(), /* @ts-ignore */
|
|
6697
|
+
...(ngDevMode ? [{ debugName: "scripts" }] : /* istanbul ignore next */ []));
|
|
6625
6698
|
const getTargetElement = () => {
|
|
6626
6699
|
return config.placement === 'head' ? document.head : document.body;
|
|
6627
6700
|
};
|
|
@@ -6662,7 +6735,8 @@ const applyStructuredDataBinding = (binding) => {
|
|
|
6662
6735
|
class StructuredDataComponent {
|
|
6663
6736
|
constructor() {
|
|
6664
6737
|
this.sanitizer = inject(DomSanitizer);
|
|
6665
|
-
this.data = input(null,
|
|
6738
|
+
this.data = input(null, /* @ts-ignore */
|
|
6739
|
+
...(ngDevMode ? [{ debugName: "data" }] : /* istanbul ignore next */ []));
|
|
6666
6740
|
this.jsonLD = computed(() => {
|
|
6667
6741
|
const data = this.data();
|
|
6668
6742
|
if (!data) {
|
|
@@ -6671,12 +6745,13 @@ class StructuredDataComponent {
|
|
|
6671
6745
|
const json = data ? JSON.stringify(data, null, 2).replace(/<\/script>/g, '<\\/script>') : '';
|
|
6672
6746
|
const html = `<script type="application/ld+json">${json}</script>`;
|
|
6673
6747
|
return this.sanitizer.bypassSecurityTrustHtml(html);
|
|
6674
|
-
},
|
|
6748
|
+
}, /* @ts-ignore */
|
|
6749
|
+
...(ngDevMode ? [{ debugName: "jsonLD" }] : /* istanbul ignore next */ []));
|
|
6675
6750
|
}
|
|
6676
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
6677
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "
|
|
6751
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: StructuredDataComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
6752
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "22.0.5", type: StructuredDataComponent, isStandalone: true, selector: "et-structured-data", inputs: { data: { classPropertyName: "data", publicName: "data", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "innerHTML": "jsonLD()" }, styleAttribute: "display: none" }, ngImport: i0, template: '', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
6678
6753
|
}
|
|
6679
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
6754
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: StructuredDataComponent, decorators: [{
|
|
6680
6755
|
type: Component,
|
|
6681
6756
|
args: [{
|
|
6682
6757
|
selector: 'et-structured-data',
|
|
@@ -6691,10 +6766,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.13", ngImpo
|
|
|
6691
6766
|
}], propDecorators: { data: [{ type: i0.Input, args: [{ isSignal: true, alias: "data", required: false }] }] } });
|
|
6692
6767
|
|
|
6693
6768
|
class ColorInteractiveStylesComponent {
|
|
6694
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
6695
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
6769
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: ColorInteractiveStylesComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
6770
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.0.5", type: ColorInteractiveStylesComponent, isStandalone: true, selector: "et-color-interactive-styles", ngImport: i0, template: '', isInline: true, styles: [":where(.et-color-interactive){--et-theme-color-primary-rgb: var(--et-color-primary);--et-theme-color-primary-solid: rgb(var(--et-theme-color-primary-rgb));--et-theme-color-on-primary-rgb: var(--et-color-on-primary);--et-theme-color-on-primary-solid: rgb(var(--et-theme-color-on-primary-rgb));--et-theme-color-ink-rgb: var(--et-color-primary-ink, var(--et-color-primary));--et-theme-color-ink-solid: rgb(var(--et-theme-color-ink-rgb))}:where(.et-color-interactive:hover:not(:has(.et-color-interactive-exclude:hover))),:where(.et-color-interactive-container:hover) :where(.et-color-interactive){--et-theme-color-primary-rgb: var(--et-color-primary-hover, var(--et-color-primary));--et-theme-color-primary-solid: rgb(var(--et-theme-color-primary-rgb));--et-theme-color-on-primary-rgb: var(--et-color-on-primary-hover, var(--et-color-on-primary));--et-theme-color-on-primary-solid: rgb(var(--et-theme-color-on-primary-rgb));--et-theme-color-ink-rgb: var( --et-color-primary-ink-hover, var(--et-color-primary-ink, var(--et-color-primary-hover, var(--et-color-primary))) );--et-theme-color-ink-solid: rgb(var(--et-theme-color-ink-rgb))}:where(.et-color-interactive:focus-visible){--et-theme-color-primary-rgb: var(--et-color-primary-focus, var(--et-color-primary-hover, var(--et-color-primary)));--et-theme-color-primary-solid: rgb(var(--et-theme-color-primary-rgb));--et-theme-color-on-primary-rgb: var( --et-color-on-primary-focus, var(--et-color-on-primary-hover, var(--et-color-on-primary)) );--et-theme-color-on-primary-solid: rgb(var(--et-theme-color-on-primary-rgb));--et-theme-color-ink-rgb: var( --et-color-primary-ink-focus, var( --et-color-primary-ink-hover, var(--et-color-primary-ink, var(--et-color-primary-focus, var(--et-color-primary-hover, var(--et-color-primary)))) ) );--et-theme-color-ink-solid: rgb(var(--et-theme-color-ink-rgb))}:where(.et-color-interactive:active:not(:has(.et-color-interactive-exclude:hover))),:where(.et-color-interactive-container:active) :where(.et-color-interactive){--et-theme-color-primary-rgb: var( --et-color-primary-active, var(--et-color-primary-focus, var(--et-color-primary-hover, var(--et-color-primary))) );--et-theme-color-primary-solid: rgb(var(--et-theme-color-primary-rgb));--et-theme-color-on-primary-rgb: var( --et-color-on-primary-active, var(--et-color-on-primary-focus, var(--et-color-on-primary-hover, var(--et-color-on-primary))) );--et-theme-color-on-primary-solid: rgb(var(--et-theme-color-on-primary-rgb));--et-theme-color-ink-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-theme-color-ink-solid: rgb(var(--et-theme-color-ink-rgb))}:where(.et-color-interactive--has-focus:has(:focus-visible)){--et-theme-color-primary-rgb: var(--et-color-primary-focus, var(--et-color-primary-hover, var(--et-color-primary)));--et-theme-color-primary-solid: rgb(var(--et-theme-color-primary-rgb));--et-theme-color-on-primary-rgb: var( --et-color-on-primary-focus, var(--et-color-on-primary-hover, var(--et-color-on-primary)) );--et-theme-color-on-primary-solid: rgb(var(--et-theme-color-on-primary-rgb));--et-theme-color-ink-rgb: var( --et-color-primary-ink-focus, var( --et-color-primary-ink-hover, var(--et-color-primary-ink, var(--et-color-primary-focus, var(--et-color-primary-hover, var(--et-color-primary)))) ) );--et-theme-color-ink-solid: rgb(var(--et-theme-color-ink-rgb))}:where(.et-color-interactive[disabled]),:where(.et-color-interactive[aria-disabled=true]){--et-theme-color-primary-rgb: var( --et-color-primary-disabled, var( --et-color-primary-active, var(--et-color-primary-focus, var(--et-color-primary-hover, var(--et-color-primary))) ) );--et-theme-color-primary-solid: rgb(var(--et-theme-color-primary-rgb));--et-theme-color-on-primary-rgb: var( --et-color-on-primary-disabled, var( --et-color-on-primary-active, var(--et-color-on-primary-focus, var(--et-color-on-primary-hover, var(--et-color-on-primary))) ) );--et-theme-color-on-primary-solid: rgb(var(--et-theme-color-on-primary-rgb));--et-theme-color-ink-rgb: var( --et-color-primary-ink-disabled, 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-disabled, var( --et-color-primary-active, var(--et-color-primary-focus, var(--et-color-primary-hover, var(--et-color-primary))) ) ) ) ) ) ) );--et-theme-color-ink-solid: rgb(var(--et-theme-color-ink-rgb))}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
6696
6771
|
}
|
|
6697
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
6772
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: ColorInteractiveStylesComponent, decorators: [{
|
|
6698
6773
|
type: Component,
|
|
6699
6774
|
args: [{ selector: 'et-color-interactive-styles', template: '', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, styles: [":where(.et-color-interactive){--et-theme-color-primary-rgb: var(--et-color-primary);--et-theme-color-primary-solid: rgb(var(--et-theme-color-primary-rgb));--et-theme-color-on-primary-rgb: var(--et-color-on-primary);--et-theme-color-on-primary-solid: rgb(var(--et-theme-color-on-primary-rgb));--et-theme-color-ink-rgb: var(--et-color-primary-ink, var(--et-color-primary));--et-theme-color-ink-solid: rgb(var(--et-theme-color-ink-rgb))}:where(.et-color-interactive:hover:not(:has(.et-color-interactive-exclude:hover))),:where(.et-color-interactive-container:hover) :where(.et-color-interactive){--et-theme-color-primary-rgb: var(--et-color-primary-hover, var(--et-color-primary));--et-theme-color-primary-solid: rgb(var(--et-theme-color-primary-rgb));--et-theme-color-on-primary-rgb: var(--et-color-on-primary-hover, var(--et-color-on-primary));--et-theme-color-on-primary-solid: rgb(var(--et-theme-color-on-primary-rgb));--et-theme-color-ink-rgb: var( --et-color-primary-ink-hover, var(--et-color-primary-ink, var(--et-color-primary-hover, var(--et-color-primary))) );--et-theme-color-ink-solid: rgb(var(--et-theme-color-ink-rgb))}:where(.et-color-interactive:focus-visible){--et-theme-color-primary-rgb: var(--et-color-primary-focus, var(--et-color-primary-hover, var(--et-color-primary)));--et-theme-color-primary-solid: rgb(var(--et-theme-color-primary-rgb));--et-theme-color-on-primary-rgb: var( --et-color-on-primary-focus, var(--et-color-on-primary-hover, var(--et-color-on-primary)) );--et-theme-color-on-primary-solid: rgb(var(--et-theme-color-on-primary-rgb));--et-theme-color-ink-rgb: var( --et-color-primary-ink-focus, var( --et-color-primary-ink-hover, var(--et-color-primary-ink, var(--et-color-primary-focus, var(--et-color-primary-hover, var(--et-color-primary)))) ) );--et-theme-color-ink-solid: rgb(var(--et-theme-color-ink-rgb))}:where(.et-color-interactive:active:not(:has(.et-color-interactive-exclude:hover))),:where(.et-color-interactive-container:active) :where(.et-color-interactive){--et-theme-color-primary-rgb: var( --et-color-primary-active, var(--et-color-primary-focus, var(--et-color-primary-hover, var(--et-color-primary))) );--et-theme-color-primary-solid: rgb(var(--et-theme-color-primary-rgb));--et-theme-color-on-primary-rgb: var( --et-color-on-primary-active, var(--et-color-on-primary-focus, var(--et-color-on-primary-hover, var(--et-color-on-primary))) );--et-theme-color-on-primary-solid: rgb(var(--et-theme-color-on-primary-rgb));--et-theme-color-ink-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-theme-color-ink-solid: rgb(var(--et-theme-color-ink-rgb))}:where(.et-color-interactive--has-focus:has(:focus-visible)){--et-theme-color-primary-rgb: var(--et-color-primary-focus, var(--et-color-primary-hover, var(--et-color-primary)));--et-theme-color-primary-solid: rgb(var(--et-theme-color-primary-rgb));--et-theme-color-on-primary-rgb: var( --et-color-on-primary-focus, var(--et-color-on-primary-hover, var(--et-color-on-primary)) );--et-theme-color-on-primary-solid: rgb(var(--et-theme-color-on-primary-rgb));--et-theme-color-ink-rgb: var( --et-color-primary-ink-focus, var( --et-color-primary-ink-hover, var(--et-color-primary-ink, var(--et-color-primary-focus, var(--et-color-primary-hover, var(--et-color-primary)))) ) );--et-theme-color-ink-solid: rgb(var(--et-theme-color-ink-rgb))}:where(.et-color-interactive[disabled]),:where(.et-color-interactive[aria-disabled=true]){--et-theme-color-primary-rgb: var( --et-color-primary-disabled, var( --et-color-primary-active, var(--et-color-primary-focus, var(--et-color-primary-hover, var(--et-color-primary))) ) );--et-theme-color-primary-solid: rgb(var(--et-theme-color-primary-rgb));--et-theme-color-on-primary-rgb: var( --et-color-on-primary-disabled, var( --et-color-on-primary-active, var(--et-color-on-primary-focus, var(--et-color-on-primary-hover, var(--et-color-on-primary))) ) );--et-theme-color-on-primary-solid: rgb(var(--et-theme-color-on-primary-rgb));--et-theme-color-ink-rgb: var( --et-color-primary-ink-disabled, 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-disabled, var( --et-color-primary-active, var(--et-color-primary-focus, var(--et-color-primary-hover, var(--et-color-primary))) ) ) ) ) ) ) );--et-theme-color-ink-solid: rgb(var(--et-theme-color-ink-rgb))}\n"] }]
|
|
6700
6775
|
}] });
|
|
@@ -6715,10 +6790,10 @@ class ColorInteractiveContainerDirective {
|
|
|
6715
6790
|
this.styleManager = injectStyleManager();
|
|
6716
6791
|
this.styleManager.mount(ColorInteractiveStylesComponent);
|
|
6717
6792
|
}
|
|
6718
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
6719
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
6793
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: ColorInteractiveContainerDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
6794
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.0.5", type: ColorInteractiveContainerDirective, isStandalone: true, selector: "[etColorInteractiveContainer]", host: { classAttribute: "et-color-interactive-container" }, ngImport: i0 }); }
|
|
6720
6795
|
}
|
|
6721
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
6796
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: ColorInteractiveContainerDirective, decorators: [{
|
|
6722
6797
|
type: Directive,
|
|
6723
6798
|
args: [{
|
|
6724
6799
|
selector: '[etColorInteractiveContainer]',
|
|
@@ -6741,10 +6816,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.13", ngImpo
|
|
|
6741
6816
|
* used to have (see its own comment).
|
|
6742
6817
|
*/
|
|
6743
6818
|
class ColorInteractiveExcludeDirective {
|
|
6744
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
6745
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
6819
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: ColorInteractiveExcludeDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
6820
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.0.5", type: ColorInteractiveExcludeDirective, isStandalone: true, selector: "[etColorInteractiveExclude]", host: { classAttribute: "et-color-interactive-exclude" }, ngImport: i0 }); }
|
|
6746
6821
|
}
|
|
6747
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
6822
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: ColorInteractiveExcludeDirective, decorators: [{
|
|
6748
6823
|
type: Directive,
|
|
6749
6824
|
args: [{
|
|
6750
6825
|
selector: '[etColorInteractiveExclude]',
|
|
@@ -6774,10 +6849,10 @@ class ColorInteractiveHasFocusDirective {
|
|
|
6774
6849
|
this.styleManager = injectStyleManager();
|
|
6775
6850
|
this.styleManager.mount(ColorInteractiveStylesComponent);
|
|
6776
6851
|
}
|
|
6777
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
6778
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
6852
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: ColorInteractiveHasFocusDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
6853
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.0.5", type: ColorInteractiveHasFocusDirective, isStandalone: true, selector: "[etColorInteractiveHasFocus]", host: { classAttribute: "et-color-interactive--has-focus" }, ngImport: i0 }); }
|
|
6779
6854
|
}
|
|
6780
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
6855
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: ColorInteractiveHasFocusDirective, decorators: [{
|
|
6781
6856
|
type: Directive,
|
|
6782
6857
|
args: [{
|
|
6783
6858
|
selector: '[etColorInteractiveHasFocus]',
|
|
@@ -6805,10 +6880,10 @@ class ColorInteractiveDirective {
|
|
|
6805
6880
|
this.styleManager = injectStyleManager();
|
|
6806
6881
|
this.styleManager.mount(ColorInteractiveStylesComponent);
|
|
6807
6882
|
}
|
|
6808
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
6809
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
6883
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: ColorInteractiveDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
6884
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.0.5", type: ColorInteractiveDirective, isStandalone: true, selector: "[etColorInteractive]", host: { classAttribute: "et-color-interactive" }, ngImport: i0 }); }
|
|
6810
6885
|
}
|
|
6811
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
6886
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: ColorInteractiveDirective, decorators: [{
|
|
6812
6887
|
type: Directive,
|
|
6813
6888
|
args: [{
|
|
6814
6889
|
selector: '[etColorInteractive]',
|
|
@@ -7046,7 +7121,8 @@ class ProvideColorDirective {
|
|
|
7046
7121
|
this.prefix = injectColorThemesPrefix({ optional: true });
|
|
7047
7122
|
this.injector = inject(Injector);
|
|
7048
7123
|
this.currentProviderSync = null;
|
|
7049
|
-
this.forcedColor = signal(FORCED_COLOR_UNSET,
|
|
7124
|
+
this.forcedColor = signal(FORCED_COLOR_UNSET, /* @ts-ignore */
|
|
7125
|
+
...(ngDevMode ? [{ debugName: "forcedColor" }] : /* istanbul ignore next */ []));
|
|
7050
7126
|
this.color = input(undefined, { ...(ngDevMode ? { debugName: "color" } : /* istanbul ignore next */ {}), alias: 'etProvideColor' });
|
|
7051
7127
|
this.effectiveColor = computed(() => {
|
|
7052
7128
|
const forcedColor = this.forcedColor();
|
|
@@ -7054,7 +7130,8 @@ class ProvideColorDirective {
|
|
|
7054
7130
|
return forcedColor;
|
|
7055
7131
|
}
|
|
7056
7132
|
return this.color();
|
|
7057
|
-
},
|
|
7133
|
+
}, /* @ts-ignore */
|
|
7134
|
+
...(ngDevMode ? [{ debugName: "effectiveColor" }] : /* istanbul ignore next */ []));
|
|
7058
7135
|
this.colorName = computed(() => {
|
|
7059
7136
|
const raw = this.effectiveColor();
|
|
7060
7137
|
const value = typeof raw === 'object' && raw !== null ? raw.name : raw;
|
|
@@ -7064,14 +7141,16 @@ class ProvideColorDirective {
|
|
|
7064
7141
|
console.error(`Theme ${value} does not exist. Please make sure to add it to provideColorThemesWithTailwind4()`);
|
|
7065
7142
|
}
|
|
7066
7143
|
return createCssColorThemeName(value);
|
|
7067
|
-
},
|
|
7144
|
+
}, /* @ts-ignore */
|
|
7145
|
+
...(ngDevMode ? [{ debugName: "colorName" }] : /* istanbul ignore next */ []));
|
|
7068
7146
|
this.themeClass = computed(() => {
|
|
7069
7147
|
const prefix = this.prefix || 'et';
|
|
7070
7148
|
if (this.colorName()) {
|
|
7071
7149
|
return `${prefix}-color--${this.colorName()}`;
|
|
7072
7150
|
}
|
|
7073
7151
|
return `${prefix}-color--inherited`;
|
|
7074
|
-
},
|
|
7152
|
+
}, /* @ts-ignore */
|
|
7153
|
+
...(ngDevMode ? [{ debugName: "themeClass" }] : /* istanbul ignore next */ []));
|
|
7075
7154
|
}
|
|
7076
7155
|
syncWithProvider(provider) {
|
|
7077
7156
|
this.currentProviderSync?.destroy();
|
|
@@ -7085,7 +7164,8 @@ class ProvideColorDirective {
|
|
|
7085
7164
|
}
|
|
7086
7165
|
this.forceColor(provideColor);
|
|
7087
7166
|
});
|
|
7088
|
-
},
|
|
7167
|
+
}, /* @ts-ignore */
|
|
7168
|
+
...(ngDevMode ? [{ debugName: "currentProviderSync" }] : /* istanbul ignore next */ []));
|
|
7089
7169
|
});
|
|
7090
7170
|
}
|
|
7091
7171
|
stopSyncWithProvider() {
|
|
@@ -7107,10 +7187,10 @@ class ProvideColorDirective {
|
|
|
7107
7187
|
}
|
|
7108
7188
|
this.forcedColor.set(FORCED_COLOR_UNSET);
|
|
7109
7189
|
}
|
|
7110
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
7111
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "
|
|
7190
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: ProvideColorDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
7191
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "22.0.5", type: ProvideColorDirective, isStandalone: true, selector: "[etProvideColor]", inputs: { color: { classPropertyName: "color", publicName: "etProvideColor", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "class": "themeClass()" } }, providers: [{ provide: COLOR_PROVIDER, useExisting: ProvideColorDirective }], ngImport: i0 }); }
|
|
7112
7192
|
}
|
|
7113
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
7193
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: ProvideColorDirective, decorators: [{
|
|
7114
7194
|
type: Directive,
|
|
7115
7195
|
args: [{
|
|
7116
7196
|
selector: '[etProvideColor]',
|
|
@@ -7146,7 +7226,8 @@ class ProvideSurfaceDirective {
|
|
|
7146
7226
|
this.prefix = injectSurfaceThemesPrefix({ optional: true });
|
|
7147
7227
|
this.injector = inject(Injector);
|
|
7148
7228
|
this.currentProviderSync = null;
|
|
7149
|
-
this.forcedSurface = signal(FORCED_SURFACE_UNSET,
|
|
7229
|
+
this.forcedSurface = signal(FORCED_SURFACE_UNSET, /* @ts-ignore */
|
|
7230
|
+
...(ngDevMode ? [{ debugName: "forcedSurface" }] : /* istanbul ignore next */ []));
|
|
7150
7231
|
this.surface = input(undefined, { ...(ngDevMode ? { debugName: "surface" } : /* istanbul ignore next */ {}), alias: 'etProvideSurface' });
|
|
7151
7232
|
this.effectiveSurface = computed(() => {
|
|
7152
7233
|
const forcedSurface = this.forcedSurface();
|
|
@@ -7154,7 +7235,8 @@ class ProvideSurfaceDirective {
|
|
|
7154
7235
|
return forcedSurface;
|
|
7155
7236
|
}
|
|
7156
7237
|
return this.surface();
|
|
7157
|
-
},
|
|
7238
|
+
}, /* @ts-ignore */
|
|
7239
|
+
...(ngDevMode ? [{ debugName: "effectiveSurface" }] : /* istanbul ignore next */ []));
|
|
7158
7240
|
this.resolvedTheme = computed(() => {
|
|
7159
7241
|
const value = this.effectiveSurface();
|
|
7160
7242
|
if (!this.themes || !value)
|
|
@@ -7164,22 +7246,27 @@ class ProvideSurfaceDirective {
|
|
|
7164
7246
|
console.error(`Surface theme ${value} does not exist. Please make sure to add it to provideSurfaceThemesWithTailwind4()`);
|
|
7165
7247
|
}
|
|
7166
7248
|
return theme;
|
|
7167
|
-
},
|
|
7168
|
-
|
|
7169
|
-
this.
|
|
7249
|
+
}, /* @ts-ignore */
|
|
7250
|
+
...(ngDevMode ? [{ debugName: "resolvedTheme" }] : /* istanbul ignore next */ []));
|
|
7251
|
+
this.elevation = computed(() => this.resolvedTheme()?.elevation ?? 0, /* @ts-ignore */
|
|
7252
|
+
...(ngDevMode ? [{ debugName: "elevation" }] : /* istanbul ignore next */ []));
|
|
7253
|
+
this.surfaceType = computed(() => this.resolvedTheme()?.type ?? null, /* @ts-ignore */
|
|
7254
|
+
...(ngDevMode ? [{ debugName: "surfaceType" }] : /* istanbul ignore next */ []));
|
|
7170
7255
|
this.surfaceName = computed(() => {
|
|
7171
7256
|
const value = this.effectiveSurface();
|
|
7172
7257
|
if (!this.themes || !value)
|
|
7173
7258
|
return;
|
|
7174
7259
|
return createCssSurfaceName(value);
|
|
7175
|
-
},
|
|
7260
|
+
}, /* @ts-ignore */
|
|
7261
|
+
...(ngDevMode ? [{ debugName: "surfaceName" }] : /* istanbul ignore next */ []));
|
|
7176
7262
|
this.surfaceClass = computed(() => {
|
|
7177
7263
|
const prefix = this.prefix || 'et';
|
|
7178
7264
|
if (this.surfaceName()) {
|
|
7179
7265
|
return `${prefix}-surface--${this.surfaceName()}`;
|
|
7180
7266
|
}
|
|
7181
7267
|
return `${prefix}-surface--inherited`;
|
|
7182
|
-
},
|
|
7268
|
+
}, /* @ts-ignore */
|
|
7269
|
+
...(ngDevMode ? [{ debugName: "surfaceClass" }] : /* istanbul ignore next */ []));
|
|
7183
7270
|
}
|
|
7184
7271
|
syncWithProvider(provider) {
|
|
7185
7272
|
this.currentProviderSync?.destroy();
|
|
@@ -7193,7 +7280,8 @@ class ProvideSurfaceDirective {
|
|
|
7193
7280
|
}
|
|
7194
7281
|
this.forceSurface(provideSurface);
|
|
7195
7282
|
});
|
|
7196
|
-
},
|
|
7283
|
+
}, /* @ts-ignore */
|
|
7284
|
+
...(ngDevMode ? [{ debugName: "currentProviderSync" }] : /* istanbul ignore next */ []));
|
|
7197
7285
|
});
|
|
7198
7286
|
}
|
|
7199
7287
|
stopSyncWithProvider() {
|
|
@@ -7215,10 +7303,10 @@ class ProvideSurfaceDirective {
|
|
|
7215
7303
|
}
|
|
7216
7304
|
this.forcedSurface.set(FORCED_SURFACE_UNSET);
|
|
7217
7305
|
}
|
|
7218
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
7219
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "
|
|
7306
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: ProvideSurfaceDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
7307
|
+
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 }); }
|
|
7220
7308
|
}
|
|
7221
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
7309
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: ProvideSurfaceDirective, decorators: [{
|
|
7222
7310
|
type: Directive,
|
|
7223
7311
|
args: [{
|
|
7224
7312
|
selector: '[etProvideSurface]',
|
|
@@ -7231,13 +7319,17 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.13", ngImpo
|
|
|
7231
7319
|
|
|
7232
7320
|
let uniqueId = 0;
|
|
7233
7321
|
const [provideSurfaceContextTracker, injectSurfaceContextTracker] = createRootProvider(() => {
|
|
7234
|
-
const entries = signal([],
|
|
7322
|
+
const entries = signal([], /* @ts-ignore */
|
|
7323
|
+
...(ngDevMode ? [{ debugName: "entries" }] : /* istanbul ignore next */ []));
|
|
7235
7324
|
const topEntry = computed(() => {
|
|
7236
7325
|
const stack = entries();
|
|
7237
7326
|
return stack.length > 0 ? (stack[stack.length - 1] ?? null) : null;
|
|
7238
|
-
},
|
|
7239
|
-
|
|
7240
|
-
const
|
|
7327
|
+
}, /* @ts-ignore */
|
|
7328
|
+
...(ngDevMode ? [{ debugName: "topEntry" }] : /* istanbul ignore next */ []));
|
|
7329
|
+
const topType = computed(() => topEntry()?.type ?? null, /* @ts-ignore */
|
|
7330
|
+
...(ngDevMode ? [{ debugName: "topType" }] : /* istanbul ignore next */ []));
|
|
7331
|
+
const topElevation = computed(() => topEntry()?.elevation ?? 0, /* @ts-ignore */
|
|
7332
|
+
...(ngDevMode ? [{ debugName: "topElevation" }] : /* istanbul ignore next */ []));
|
|
7241
7333
|
const register = (type, elevation) => {
|
|
7242
7334
|
const id = `surface-ctx-${uniqueId++}`;
|
|
7243
7335
|
const entry = { id, type, elevation };
|
|
@@ -7250,10 +7342,10 @@ const [provideSurfaceContextTracker, injectSurfaceContextTracker] = createRootPr
|
|
|
7250
7342
|
}, { name: 'SurfaceContextTracker' });
|
|
7251
7343
|
|
|
7252
7344
|
class SurfaceInteractiveStylesComponent {
|
|
7253
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
7254
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
7345
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: SurfaceInteractiveStylesComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
7346
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.0.5", type: SurfaceInteractiveStylesComponent, isStandalone: true, selector: "et-surface-interactive-styles", ngImport: i0, template: '', isInline: true, styles: [":where(.et-surface-interactive){--et-surface-interaction-rgb: var(--et-surface-interaction);--et-surface-interaction-solid: rgb(var(--et-surface-interaction-rgb))}:where(.et-surface-interactive:hover){--et-surface-interaction-rgb: var(--et-surface-interaction-hover, var(--et-surface-interaction));--et-surface-interaction-solid: rgb(var(--et-surface-interaction-rgb))}:where(.et-surface-interactive:focus-visible){--et-surface-interaction-rgb: var( --et-surface-interaction-focus, var(--et-surface-interaction-hover, var(--et-surface-interaction)) );--et-surface-interaction-solid: rgb(var(--et-surface-interaction-rgb))}:where(.et-surface-interactive:active){--et-surface-interaction-rgb: var( --et-surface-interaction-active, var(--et-surface-interaction-focus, var(--et-surface-interaction-hover, var(--et-surface-interaction))) );--et-surface-interaction-solid: rgb(var(--et-surface-interaction-rgb))}:where(.et-surface-interactive[disabled]),:where(.et-surface-interactive[aria-disabled=true]){--et-surface-interaction-rgb: var( --et-surface-interaction-disabled, var( --et-surface-interaction-active, var(--et-surface-interaction-focus, var(--et-surface-interaction-hover, var(--et-surface-interaction))) ) );--et-surface-interaction-solid: rgb(var(--et-surface-interaction-rgb))}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
7255
7347
|
}
|
|
7256
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
7348
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: SurfaceInteractiveStylesComponent, decorators: [{
|
|
7257
7349
|
type: Component,
|
|
7258
7350
|
args: [{ selector: 'et-surface-interactive-styles', template: '', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, styles: [":where(.et-surface-interactive){--et-surface-interaction-rgb: var(--et-surface-interaction);--et-surface-interaction-solid: rgb(var(--et-surface-interaction-rgb))}:where(.et-surface-interactive:hover){--et-surface-interaction-rgb: var(--et-surface-interaction-hover, var(--et-surface-interaction));--et-surface-interaction-solid: rgb(var(--et-surface-interaction-rgb))}:where(.et-surface-interactive:focus-visible){--et-surface-interaction-rgb: var( --et-surface-interaction-focus, var(--et-surface-interaction-hover, var(--et-surface-interaction)) );--et-surface-interaction-solid: rgb(var(--et-surface-interaction-rgb))}:where(.et-surface-interactive:active){--et-surface-interaction-rgb: var( --et-surface-interaction-active, var(--et-surface-interaction-focus, var(--et-surface-interaction-hover, var(--et-surface-interaction))) );--et-surface-interaction-solid: rgb(var(--et-surface-interaction-rgb))}:where(.et-surface-interactive[disabled]),:where(.et-surface-interactive[aria-disabled=true]){--et-surface-interaction-rgb: var( --et-surface-interaction-disabled, var( --et-surface-interaction-active, var(--et-surface-interaction-focus, var(--et-surface-interaction-hover, var(--et-surface-interaction))) ) );--et-surface-interaction-solid: rgb(var(--et-surface-interaction-rgb))}\n"] }]
|
|
7259
7351
|
}] });
|
|
@@ -7274,10 +7366,10 @@ class SurfaceInteractiveDirective {
|
|
|
7274
7366
|
this.styleManager = injectStyleManager();
|
|
7275
7367
|
this.styleManager.mount(SurfaceInteractiveStylesComponent);
|
|
7276
7368
|
}
|
|
7277
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
7278
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
7369
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: SurfaceInteractiveDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
7370
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.0.5", type: SurfaceInteractiveDirective, isStandalone: true, selector: "[etSurfaceInteractive]", host: { classAttribute: "et-surface-interactive" }, ngImport: i0 }); }
|
|
7279
7371
|
}
|
|
7280
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
7372
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: SurfaceInteractiveDirective, decorators: [{
|
|
7281
7373
|
type: Directive,
|
|
7282
7374
|
args: [{
|
|
7283
7375
|
selector: '[etSurfaceInteractive]',
|