@ethlete/core 5.0.0-next.16 → 5.0.0-next.18
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 +12 -0
- package/fesm2022/ethlete-core.mjs +283 -190
- 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) => {
|
|
@@ -2729,9 +2758,10 @@ const htmlToMarkdown = (html) => {
|
|
|
2729
2758
|
md = md.replace(/<pre[^>]*><code[^>]*class="language-([^"]+)"[^>]*>([\s\S]*?)<\/code><\/pre>/gi, (_, lang, code) => `\n\`\`\`${lang}\n${unescapeHtml(code.trim())}\n\`\`\`\n`);
|
|
2730
2759
|
md = md.replace(/<pre[^>]*><code[^>]*>([\s\S]*?)<\/code><\/pre>/gi, (_, code) => `\n\`\`\`\n${unescapeHtml(code.trim())}\n\`\`\`\n`);
|
|
2731
2760
|
md = md.replace(/<pre[^>]*>([\s\S]*?)<\/pre>/gi, (_, code) => `\n\`\`\`\n${unescapeHtml(code.trim())}\n\`\`\`\n`);
|
|
2732
|
-
// Headings
|
|
2761
|
+
// Headings — keep the inner markup so the inline passes below turn any nested
|
|
2762
|
+
// bold/italic/link/code into markdown; leftover tags are stripped at the end.
|
|
2733
2763
|
for (let i = 6; i >= 1; i--) {
|
|
2734
|
-
md = md.replace(new RegExp(`<h${i}[^>]*>([\\s\\S]*?)<\\/h${i}>`, 'gi'), (_, content) => `\n${'#'.repeat(i)} ${
|
|
2764
|
+
md = md.replace(new RegExp(`<h${i}[^>]*>([\\s\\S]*?)<\\/h${i}>`, 'gi'), (_, content) => `\n${'#'.repeat(i)} ${content.trim()}\n`);
|
|
2735
2765
|
}
|
|
2736
2766
|
// Bold + italic (combined before individual)
|
|
2737
2767
|
md = md.replace(/<strong[^>]*><em[^>]*>([\s\S]*?)<\/em><\/strong>/gi, '***$1***');
|
|
@@ -3015,7 +3045,8 @@ const createSwipeTracker = (startEvent) => {
|
|
|
3015
3045
|
|
|
3016
3046
|
const [, injectAngularRootElement] = createRootProvider(() => {
|
|
3017
3047
|
const appRef = inject(ApplicationRef);
|
|
3018
|
-
const rootElement = signal(null,
|
|
3048
|
+
const rootElement = signal(null, /* @ts-ignore */
|
|
3049
|
+
...(ngDevMode ? [{ debugName: "rootElement" }] : /* istanbul ignore next */ []));
|
|
3019
3050
|
const poll = () => {
|
|
3020
3051
|
const appComponents = appRef.components;
|
|
3021
3052
|
if (appComponents.length > 0) {
|
|
@@ -3032,8 +3063,10 @@ const [, injectAngularRootElement] = createRootProvider(() => {
|
|
|
3032
3063
|
const [provideBoundaryElement, injectBoundaryElement, BOUNDARY_ELEMENT_TOKEN] = createProvider(() => {
|
|
3033
3064
|
const hostElement = inject(ElementRef, { optional: true });
|
|
3034
3065
|
const document = inject(DOCUMENT);
|
|
3035
|
-
const override = signal(null,
|
|
3036
|
-
|
|
3066
|
+
const override = signal(null, /* @ts-ignore */
|
|
3067
|
+
...(ngDevMode ? [{ debugName: "override" }] : /* istanbul ignore next */ []));
|
|
3068
|
+
const value = computed(() => override() ?? hostElement?.nativeElement ?? document.documentElement, /* @ts-ignore */
|
|
3069
|
+
...(ngDevMode ? [{ debugName: "value" }] : /* istanbul ignore next */ []));
|
|
3037
3070
|
return {
|
|
3038
3071
|
value,
|
|
3039
3072
|
override,
|
|
@@ -3043,7 +3076,8 @@ const [provideBoundaryElement, injectBoundaryElement, BOUNDARY_ELEMENT_TOKEN] =
|
|
|
3043
3076
|
const [provideFocusVisibleTracker, injectFocusVisibleTracker, FOCUS_VISIBLE_TRACKER_TOKEN] = createRootProvider(() => {
|
|
3044
3077
|
const document = inject(DOCUMENT);
|
|
3045
3078
|
const destroyRef = inject(DestroyRef);
|
|
3046
|
-
const isFocusVisible = signal(false,
|
|
3079
|
+
const isFocusVisible = signal(false, /* @ts-ignore */
|
|
3080
|
+
...(ngDevMode ? [{ debugName: "isFocusVisible" }] : /* istanbul ignore next */ []));
|
|
3047
3081
|
let hadKeyboardEvent = false;
|
|
3048
3082
|
const onKeyDown = (e) => {
|
|
3049
3083
|
if (e.key === 'Tab' || e.key === 'Shift' || e.key === 'Meta' || e.key === 'Alt' || e.key === 'Control') {
|
|
@@ -3083,7 +3117,8 @@ const [provideFocusVisibleTracker, injectFocusVisibleTracker, FOCUS_VISIBLE_TRAC
|
|
|
3083
3117
|
}, { name: 'Focus Visible Tracker' });
|
|
3084
3118
|
|
|
3085
3119
|
const [provideLocale, injectLocale] = createRootProvider(() => {
|
|
3086
|
-
const currentLocale = signal('en',
|
|
3120
|
+
const currentLocale = signal('en', /* @ts-ignore */
|
|
3121
|
+
...(ngDevMode ? [{ debugName: "currentLocale" }] : /* istanbul ignore next */ []));
|
|
3087
3122
|
return {
|
|
3088
3123
|
currentLocale,
|
|
3089
3124
|
};
|
|
@@ -3389,7 +3424,8 @@ class AnimatedLifecycleDirective {
|
|
|
3389
3424
|
this.currentFrameId = 0;
|
|
3390
3425
|
this.state$ = new BehaviorSubject('init');
|
|
3391
3426
|
this.stateChange = outputFromObservable(this.state$);
|
|
3392
|
-
this.skipNextEnter = model(false,
|
|
3427
|
+
this.skipNextEnter = model(false, /* @ts-ignore */
|
|
3428
|
+
...(ngDevMode ? [{ debugName: "skipNextEnter" }] : /* istanbul ignore next */ []));
|
|
3393
3429
|
this.state$
|
|
3394
3430
|
.pipe(tap((state) => {
|
|
3395
3431
|
if (state !== 'init') {
|
|
@@ -3640,15 +3676,15 @@ class AnimatedLifecycleDirective {
|
|
|
3640
3676
|
animationDebugLog(scope, message);
|
|
3641
3677
|
}
|
|
3642
3678
|
}
|
|
3643
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3644
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "
|
|
3679
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: AnimatedLifecycleDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
3680
|
+
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
3681
|
{
|
|
3646
3682
|
provide: ANIMATED_LIFECYCLE_TOKEN,
|
|
3647
3683
|
useExisting: AnimatedLifecycleDirective,
|
|
3648
3684
|
},
|
|
3649
3685
|
], exportAs: ["etAnimatedLifecycle"], hostDirectives: [{ directive: AnimatableDirective }], ngImport: i0 }); }
|
|
3650
3686
|
}
|
|
3651
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3687
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: AnimatedLifecycleDirective, decorators: [{
|
|
3652
3688
|
type: Directive,
|
|
3653
3689
|
args: [{
|
|
3654
3690
|
selector: '[etAnimatedLifecycle]',
|
|
@@ -3695,15 +3731,15 @@ class AnimatedIfDirective {
|
|
|
3695
3731
|
}), takeUntilDestroyed())
|
|
3696
3732
|
.subscribe();
|
|
3697
3733
|
}
|
|
3698
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3699
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "
|
|
3734
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: AnimatedIfDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
3735
|
+
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
3736
|
{
|
|
3701
3737
|
provide: ANIMATED_IF_TOKEN,
|
|
3702
3738
|
useExisting: AnimatedIfDirective,
|
|
3703
3739
|
},
|
|
3704
3740
|
], ngImport: i0 }); }
|
|
3705
3741
|
}
|
|
3706
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3742
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: AnimatedIfDirective, decorators: [{
|
|
3707
3743
|
type: Directive,
|
|
3708
3744
|
args: [{
|
|
3709
3745
|
selector: '[etAnimatedIf]',
|
|
@@ -3727,16 +3763,22 @@ class AnimatedOverlayDirective {
|
|
|
3727
3763
|
this.destroyRef = inject(DestroyRef);
|
|
3728
3764
|
this.floatingElCleanupFn = null;
|
|
3729
3765
|
this.unmountSubscription = null;
|
|
3730
|
-
this.placement = input('bottom',
|
|
3731
|
-
|
|
3732
|
-
this.
|
|
3733
|
-
|
|
3734
|
-
this.
|
|
3766
|
+
this.placement = input('bottom', /* @ts-ignore */
|
|
3767
|
+
...(ngDevMode ? [{ debugName: "placement" }] : /* istanbul ignore next */ []));
|
|
3768
|
+
this.fallbackPlacements = input(/* @ts-ignore */
|
|
3769
|
+
...(ngDevMode ? [undefined, { debugName: "fallbackPlacements" }] : /* istanbul ignore next */ []));
|
|
3770
|
+
this.offset = input(null, /* @ts-ignore */
|
|
3771
|
+
...(ngDevMode ? [{ debugName: "offset" }] : /* istanbul ignore next */ []));
|
|
3772
|
+
this.arrowPadding = input(4, /* @ts-ignore */
|
|
3773
|
+
...(ngDevMode ? [{ debugName: "arrowPadding" }] : /* istanbul ignore next */ []));
|
|
3774
|
+
this.viewportPadding = input(8, /* @ts-ignore */
|
|
3775
|
+
...(ngDevMode ? [{ debugName: "viewportPadding" }] : /* istanbul ignore next */ []));
|
|
3735
3776
|
this.autoResize = input(false, { ...(ngDevMode ? { debugName: "autoResize" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
|
|
3736
3777
|
this.shift = input(true, { ...(ngDevMode ? { debugName: "shift" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
|
|
3737
3778
|
this.autoHide = input(false, { ...(ngDevMode ? { debugName: "autoHide" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
|
|
3738
3779
|
this.autoCloseIfReferenceHidden = input(false, { ...(ngDevMode ? { debugName: "autoCloseIfReferenceHidden" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
|
|
3739
|
-
this.referenceElement = input(this.elementRef.nativeElement,
|
|
3780
|
+
this.referenceElement = input(this.elementRef.nativeElement, /* @ts-ignore */
|
|
3781
|
+
...(ngDevMode ? [{ debugName: "referenceElement" }] : /* istanbul ignore next */ []));
|
|
3740
3782
|
this.mirrorWidth = input(false, { ...(ngDevMode ? { debugName: "mirrorWidth" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
|
|
3741
3783
|
this.portal = null;
|
|
3742
3784
|
this.overlayRef = null;
|
|
@@ -3745,14 +3787,22 @@ class AnimatedOverlayDirective {
|
|
|
3745
3787
|
this.afterOpened$ = new Subject();
|
|
3746
3788
|
this.beforeClosed$ = new Subject();
|
|
3747
3789
|
this.afterClosed$ = new Subject();
|
|
3748
|
-
this.state = signal('init',
|
|
3749
|
-
|
|
3750
|
-
this.
|
|
3751
|
-
|
|
3752
|
-
this.
|
|
3753
|
-
|
|
3754
|
-
this.
|
|
3755
|
-
|
|
3790
|
+
this.state = signal('init', /* @ts-ignore */
|
|
3791
|
+
...(ngDevMode ? [{ debugName: "state" }] : /* istanbul ignore next */ []));
|
|
3792
|
+
this.isMounted = computed(() => this.state() === 'mounted', /* @ts-ignore */
|
|
3793
|
+
...(ngDevMode ? [{ debugName: "isMounted" }] : /* istanbul ignore next */ []));
|
|
3794
|
+
this.isMounting = computed(() => this.state() === 'mounting', /* @ts-ignore */
|
|
3795
|
+
...(ngDevMode ? [{ debugName: "isMounting" }] : /* istanbul ignore next */ []));
|
|
3796
|
+
this.isUnmounted = computed(() => this.state() === 'unmounted', /* @ts-ignore */
|
|
3797
|
+
...(ngDevMode ? [{ debugName: "isUnmounted" }] : /* istanbul ignore next */ []));
|
|
3798
|
+
this.isUnmounting = computed(() => this.state() === 'unmounting', /* @ts-ignore */
|
|
3799
|
+
...(ngDevMode ? [{ debugName: "isUnmounting" }] : /* istanbul ignore next */ []));
|
|
3800
|
+
this.canMount = computed(() => !this.isMounted() && !this.isMounting(), /* @ts-ignore */
|
|
3801
|
+
...(ngDevMode ? [{ debugName: "canMount" }] : /* istanbul ignore next */ []));
|
|
3802
|
+
this.canUnmount = computed(() => (this.isMounted() || this.isMounting()) && !this.isUnmounting(), /* @ts-ignore */
|
|
3803
|
+
...(ngDevMode ? [{ debugName: "canUnmount" }] : /* istanbul ignore next */ []));
|
|
3804
|
+
this.isHidden = signal(false, /* @ts-ignore */
|
|
3805
|
+
...(ngDevMode ? [{ debugName: "isHidden" }] : /* istanbul ignore next */ []));
|
|
3756
3806
|
this.isMounted$ = toObservable(this.isMounted);
|
|
3757
3807
|
this.isMounting$ = toObservable(this.isMounting);
|
|
3758
3808
|
this.isUnmounted$ = toObservable(this.isUnmounted);
|
|
@@ -4003,10 +4053,10 @@ class AnimatedOverlayDirective {
|
|
|
4003
4053
|
this.state.set('unmounted');
|
|
4004
4054
|
this.afterClosed$.next();
|
|
4005
4055
|
}
|
|
4006
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4007
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "
|
|
4056
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: AnimatedOverlayDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
4057
|
+
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
4058
|
}
|
|
4009
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4059
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: AnimatedOverlayDirective, decorators: [{
|
|
4010
4060
|
type: Directive,
|
|
4011
4061
|
args: [{
|
|
4012
4062
|
selector: '[etAnimatedOverlay]',
|
|
@@ -4129,10 +4179,10 @@ class ClickOutsideDirective {
|
|
|
4129
4179
|
}), takeUntilDestroyed())
|
|
4130
4180
|
.subscribe();
|
|
4131
4181
|
}
|
|
4132
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4133
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
4182
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: ClickOutsideDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
4183
|
+
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
4184
|
}
|
|
4135
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4185
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: ClickOutsideDirective, decorators: [{
|
|
4136
4186
|
type: Directive,
|
|
4137
4187
|
args: [{
|
|
4138
4188
|
selector: '[etClickOutside]',
|
|
@@ -4169,10 +4219,10 @@ class RepeatDirective {
|
|
|
4169
4219
|
// Otherwise it has no consumers and won't run.
|
|
4170
4220
|
effect(() => this.views());
|
|
4171
4221
|
}
|
|
4172
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4173
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "
|
|
4222
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: RepeatDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
4223
|
+
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
4224
|
}
|
|
4175
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4225
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: RepeatDirective, decorators: [{
|
|
4176
4226
|
type: Directive,
|
|
4177
4227
|
args: [{
|
|
4178
4228
|
selector: '[etRepeat]',
|
|
@@ -4182,15 +4232,19 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.13", ngImpo
|
|
|
4182
4232
|
class ScrollObserverDirective {
|
|
4183
4233
|
constructor() {
|
|
4184
4234
|
this.elementRef = inject(ElementRef);
|
|
4185
|
-
this.enabled = model(true,
|
|
4235
|
+
this.enabled = model(true, /* @ts-ignore */
|
|
4236
|
+
...(ngDevMode ? [{ debugName: "enabled" }] : /* istanbul ignore next */ []));
|
|
4186
4237
|
this.enabledValue = computed(() => {
|
|
4187
4238
|
const enabled = this.enabled();
|
|
4188
4239
|
if (isSignal(enabled))
|
|
4189
4240
|
return enabled();
|
|
4190
4241
|
return enabled;
|
|
4191
|
-
},
|
|
4192
|
-
|
|
4193
|
-
this.
|
|
4242
|
+
}, /* @ts-ignore */
|
|
4243
|
+
...(ngDevMode ? [{ debugName: "enabledValue" }] : /* istanbul ignore next */ []));
|
|
4244
|
+
this._startEl = signal(null, /* @ts-ignore */
|
|
4245
|
+
...(ngDevMode ? [{ debugName: "_startEl" }] : /* istanbul ignore next */ []));
|
|
4246
|
+
this._endEl = signal(null, /* @ts-ignore */
|
|
4247
|
+
...(ngDevMode ? [{ debugName: "_endEl" }] : /* istanbul ignore next */ []));
|
|
4194
4248
|
this._startIntersection = signalElementIntersection(this._startEl, {
|
|
4195
4249
|
root: this.elementRef,
|
|
4196
4250
|
enabled: this.enabledValue,
|
|
@@ -4199,8 +4253,10 @@ class ScrollObserverDirective {
|
|
|
4199
4253
|
root: this.elementRef,
|
|
4200
4254
|
enabled: this.enabledValue,
|
|
4201
4255
|
});
|
|
4202
|
-
this.isAtStart = computed(() => this._startIntersection()[0]?.isIntersecting ?? false,
|
|
4203
|
-
|
|
4256
|
+
this.isAtStart = computed(() => this._startIntersection()[0]?.isIntersecting ?? false, /* @ts-ignore */
|
|
4257
|
+
...(ngDevMode ? [{ debugName: "isAtStart" }] : /* istanbul ignore next */ []));
|
|
4258
|
+
this.isAtEnd = computed(() => this._endIntersection()[0]?.isIntersecting ?? false, /* @ts-ignore */
|
|
4259
|
+
...(ngDevMode ? [{ debugName: "isAtEnd" }] : /* istanbul ignore next */ []));
|
|
4204
4260
|
}
|
|
4205
4261
|
_registerStart(el) {
|
|
4206
4262
|
this._startEl.set(el);
|
|
@@ -4208,10 +4264,10 @@ class ScrollObserverDirective {
|
|
|
4208
4264
|
_registerEnd(el) {
|
|
4209
4265
|
this._endEl.set(el);
|
|
4210
4266
|
}
|
|
4211
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4212
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "
|
|
4267
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: ScrollObserverDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
4268
|
+
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
4269
|
}
|
|
4214
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4270
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: ScrollObserverDirective, decorators: [{
|
|
4215
4271
|
type: Directive,
|
|
4216
4272
|
args: [{
|
|
4217
4273
|
selector: '[etScrollObserver]',
|
|
@@ -4225,10 +4281,10 @@ class ScrollObserverEndDirective {
|
|
|
4225
4281
|
this.host = inject(ScrollObserverDirective);
|
|
4226
4282
|
this.host._registerEnd(this.elementRef);
|
|
4227
4283
|
}
|
|
4228
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4229
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
4284
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: ScrollObserverEndDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
4285
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.0.5", type: ScrollObserverEndDirective, isStandalone: true, selector: "[etScrollObserverEnd]", ngImport: i0 }); }
|
|
4230
4286
|
}
|
|
4231
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4287
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: ScrollObserverEndDirective, decorators: [{
|
|
4232
4288
|
type: Directive,
|
|
4233
4289
|
args: [{
|
|
4234
4290
|
selector: '[etScrollObserverEnd]',
|
|
@@ -4241,10 +4297,10 @@ class ScrollObserverStartDirective {
|
|
|
4241
4297
|
this.host = inject(ScrollObserverDirective);
|
|
4242
4298
|
this.host._registerStart(this.elementRef);
|
|
4243
4299
|
}
|
|
4244
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4245
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
4300
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: ScrollObserverStartDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
4301
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.0.5", type: ScrollObserverStartDirective, isStandalone: true, selector: "[etScrollObserverStart]", ngImport: i0 }); }
|
|
4246
4302
|
}
|
|
4247
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4303
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: ScrollObserverStartDirective, decorators: [{
|
|
4248
4304
|
type: Directive,
|
|
4249
4305
|
args: [{
|
|
4250
4306
|
selector: '[etScrollObserverStart]',
|
|
@@ -4279,7 +4335,8 @@ const setupDragObservable = (startEvent, el, commitThreshold) => {
|
|
|
4279
4335
|
class DragHandleDirective {
|
|
4280
4336
|
constructor() {
|
|
4281
4337
|
this.el = inject(ElementRef);
|
|
4282
|
-
this.commitThreshold = input(8,
|
|
4338
|
+
this.commitThreshold = input(8, /* @ts-ignore */
|
|
4339
|
+
...(ngDevMode ? [{ debugName: "commitThreshold" }] : /* istanbul ignore next */ []));
|
|
4283
4340
|
this.disabled = input(false, { ...(ngDevMode ? { debugName: "disabled" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
|
|
4284
4341
|
this.gestureStart$ = new Subject();
|
|
4285
4342
|
this.gesture$ = this.gestureStart$.pipe(exhaustMap((event) => setupDragObservable(event, this.el.nativeElement, this.commitThreshold())), takeUntilDestroyed(), share());
|
|
@@ -4296,10 +4353,10 @@ class DragHandleDirective {
|
|
|
4296
4353
|
event.stopPropagation();
|
|
4297
4354
|
this.gestureStart$.next(event);
|
|
4298
4355
|
}
|
|
4299
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4300
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "
|
|
4356
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: DragHandleDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
4357
|
+
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
4358
|
}
|
|
4302
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4359
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: DragHandleDirective, decorators: [{
|
|
4303
4360
|
type: Directive,
|
|
4304
4361
|
args: [{
|
|
4305
4362
|
selector: '[etDragHandle]',
|
|
@@ -4564,8 +4621,10 @@ const setupPositioning = (config, hostElement, paneElement, overlayRef, renderer
|
|
|
4564
4621
|
};
|
|
4565
4622
|
|
|
4566
4623
|
const createOverlayRuntimeRef = (id, config, elements, requestClose) => {
|
|
4567
|
-
const _state = signal('mounting',
|
|
4568
|
-
|
|
4624
|
+
const _state = signal('mounting', /* @ts-ignore */
|
|
4625
|
+
...(ngDevMode ? [{ debugName: "_state" }] : /* istanbul ignore next */ []));
|
|
4626
|
+
const _componentInstance = signal(null, /* @ts-ignore */
|
|
4627
|
+
...(ngDevMode ? [{ debugName: "_componentInstance" }] : /* istanbul ignore next */ []));
|
|
4569
4628
|
let positionUpdater = null;
|
|
4570
4629
|
const beforeOpenedSubject = new Subject();
|
|
4571
4630
|
const afterOpenedSubject = new Subject();
|
|
@@ -4645,8 +4704,10 @@ const [provideOverlayRuntime, injectOverlayRuntime] = createRootProvider(() => {
|
|
|
4645
4704
|
const document = inject(DOCUMENT);
|
|
4646
4705
|
const environmentInjector = inject(EnvironmentInjector);
|
|
4647
4706
|
const renderer = injectRenderer();
|
|
4648
|
-
const openEntriesState = signal([],
|
|
4649
|
-
|
|
4707
|
+
const openEntriesState = signal([], /* @ts-ignore */
|
|
4708
|
+
...(ngDevMode ? [{ debugName: "openEntriesState" }] : /* istanbul ignore next */ []));
|
|
4709
|
+
const openEntries = computed(() => openEntriesState(), /* @ts-ignore */
|
|
4710
|
+
...(ngDevMode ? [{ debugName: "openEntries" }] : /* istanbul ignore next */ []));
|
|
4650
4711
|
let rootElement = null;
|
|
4651
4712
|
// Synchronous teardown for each currently-mounted overlay, run when the runtime's injector is
|
|
4652
4713
|
// destroyed (app teardown). Registered on mount, removed once the overlay is destroyed normally.
|
|
@@ -4904,10 +4965,10 @@ class NormalizeGameResultTypePipe {
|
|
|
4904
4965
|
constructor() {
|
|
4905
4966
|
this.transform = normalizeGameResultType;
|
|
4906
4967
|
}
|
|
4907
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4908
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "
|
|
4968
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: NormalizeGameResultTypePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
4969
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "22.0.5", ngImport: i0, type: NormalizeGameResultTypePipe, isStandalone: true, name: "etNormalizeGameResultType" }); }
|
|
4909
4970
|
}
|
|
4910
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4971
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: NormalizeGameResultTypePipe, decorators: [{
|
|
4911
4972
|
type: Pipe,
|
|
4912
4973
|
args: [{ name: 'etNormalizeGameResultType' }]
|
|
4913
4974
|
}] });
|
|
@@ -4949,10 +5010,10 @@ class NormalizeMatchStatePipe {
|
|
|
4949
5010
|
constructor() {
|
|
4950
5011
|
this.transform = normalizeMatchState;
|
|
4951
5012
|
}
|
|
4952
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4953
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "
|
|
5013
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: NormalizeMatchStatePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
5014
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "22.0.5", ngImport: i0, type: NormalizeMatchStatePipe, isStandalone: true, name: "etNormalizeMatchState" }); }
|
|
4954
5015
|
}
|
|
4955
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5016
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: NormalizeMatchStatePipe, decorators: [{
|
|
4956
5017
|
type: Pipe,
|
|
4957
5018
|
args: [{ name: 'etNormalizeMatchState' }]
|
|
4958
5019
|
}] });
|
|
@@ -4979,10 +5040,10 @@ class NormalizeMatchParticipantsPipe {
|
|
|
4979
5040
|
constructor() {
|
|
4980
5041
|
this.transform = normalizeMatchParticipants;
|
|
4981
5042
|
}
|
|
4982
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4983
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "
|
|
5043
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: NormalizeMatchParticipantsPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
5044
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "22.0.5", ngImport: i0, type: NormalizeMatchParticipantsPipe, isStandalone: true, name: "etNormalizeMatchParticipants" }); }
|
|
4984
5045
|
}
|
|
4985
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5046
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: NormalizeMatchParticipantsPipe, decorators: [{
|
|
4986
5047
|
type: Pipe,
|
|
4987
5048
|
args: [{ name: 'etNormalizeMatchParticipants' }]
|
|
4988
5049
|
}] });
|
|
@@ -5036,10 +5097,10 @@ class NormalizeMatchScorePipe {
|
|
|
5036
5097
|
constructor() {
|
|
5037
5098
|
this.transform = normalizeMatchScore;
|
|
5038
5099
|
}
|
|
5039
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5040
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "
|
|
5100
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: NormalizeMatchScorePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
5101
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "22.0.5", ngImport: i0, type: NormalizeMatchScorePipe, isStandalone: true, name: "etNormalizeMatchScore" }); }
|
|
5041
5102
|
}
|
|
5042
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5103
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: NormalizeMatchScorePipe, decorators: [{
|
|
5043
5104
|
type: Pipe,
|
|
5044
5105
|
args: [{ name: 'etNormalizeMatchScore' }]
|
|
5045
5106
|
}] });
|
|
@@ -5172,10 +5233,10 @@ class NormalizeMatchTypePipe {
|
|
|
5172
5233
|
constructor() {
|
|
5173
5234
|
this.transform = normalizeMatchType;
|
|
5174
5235
|
}
|
|
5175
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5176
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "
|
|
5236
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: NormalizeMatchTypePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
5237
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "22.0.5", ngImport: i0, type: NormalizeMatchTypePipe, isStandalone: true, name: "etNormalizeMatchType" }); }
|
|
5177
5238
|
}
|
|
5178
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5239
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: NormalizeMatchTypePipe, decorators: [{
|
|
5179
5240
|
type: Pipe,
|
|
5180
5241
|
args: [{ name: 'etNormalizeMatchType' }]
|
|
5181
5242
|
}] });
|
|
@@ -5223,10 +5284,10 @@ class HtmlToMarkdownPipe {
|
|
|
5223
5284
|
constructor() {
|
|
5224
5285
|
this.transform = htmlToMarkdown;
|
|
5225
5286
|
}
|
|
5226
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5227
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "
|
|
5287
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: HtmlToMarkdownPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
5288
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "22.0.5", ngImport: i0, type: HtmlToMarkdownPipe, isStandalone: true, name: "htmlToMarkdown" }); }
|
|
5228
5289
|
}
|
|
5229
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5290
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: HtmlToMarkdownPipe, decorators: [{
|
|
5230
5291
|
type: Pipe,
|
|
5231
5292
|
args: [{ name: 'htmlToMarkdown' }]
|
|
5232
5293
|
}] });
|
|
@@ -5235,10 +5296,10 @@ class InferMimeTypePipe {
|
|
|
5235
5296
|
constructor() {
|
|
5236
5297
|
this.transform = inferMimeType;
|
|
5237
5298
|
}
|
|
5238
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5239
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "
|
|
5299
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: InferMimeTypePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
5300
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "22.0.5", ngImport: i0, type: InferMimeTypePipe, isStandalone: true, name: "inferMimeType" }); }
|
|
5240
5301
|
}
|
|
5241
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5302
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: InferMimeTypePipe, decorators: [{
|
|
5242
5303
|
type: Pipe,
|
|
5243
5304
|
args: [{
|
|
5244
5305
|
name: 'inferMimeType',
|
|
@@ -5448,10 +5509,10 @@ class MarkdownToHtmlPipe {
|
|
|
5448
5509
|
constructor() {
|
|
5449
5510
|
this.transform = markdownToHtml;
|
|
5450
5511
|
}
|
|
5451
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5452
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "
|
|
5512
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: MarkdownToHtmlPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
5513
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "22.0.5", ngImport: i0, type: MarkdownToHtmlPipe, isStandalone: true, name: "markdownToHtml" }); }
|
|
5453
5514
|
}
|
|
5454
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5515
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: MarkdownToHtmlPipe, decorators: [{
|
|
5455
5516
|
type: Pipe,
|
|
5456
5517
|
args: [{ name: 'markdownToHtml' }]
|
|
5457
5518
|
}] });
|
|
@@ -5460,10 +5521,10 @@ class ToArrayPipe {
|
|
|
5460
5521
|
constructor() {
|
|
5461
5522
|
this.transform = toArray;
|
|
5462
5523
|
}
|
|
5463
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5464
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "
|
|
5524
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: ToArrayPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
5525
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "22.0.5", ngImport: i0, type: ToArrayPipe, isStandalone: true, name: "toArray" }); }
|
|
5465
5526
|
}
|
|
5466
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5527
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: ToArrayPipe, decorators: [{
|
|
5467
5528
|
type: Pipe,
|
|
5468
5529
|
args: [{ name: 'toArray' }]
|
|
5469
5530
|
}] });
|
|
@@ -5495,14 +5556,19 @@ const createElementDictionary = () => {
|
|
|
5495
5556
|
const firstElement = computed(() => {
|
|
5496
5557
|
const id = dictionary.ids()[0];
|
|
5497
5558
|
return id ? (dictionary.elements()[id] ?? null) : null;
|
|
5498
|
-
},
|
|
5559
|
+
}, /* @ts-ignore */
|
|
5560
|
+
...(ngDevMode ? [{ debugName: "firstElement" }] : /* istanbul ignore next */ []));
|
|
5499
5561
|
const firstId = computed(() => {
|
|
5500
5562
|
const id = dictionary.ids()[0];
|
|
5501
5563
|
return id ?? null;
|
|
5502
|
-
},
|
|
5503
|
-
|
|
5504
|
-
const
|
|
5505
|
-
|
|
5564
|
+
}, /* @ts-ignore */
|
|
5565
|
+
...(ngDevMode ? [{ debugName: "firstId" }] : /* istanbul ignore next */ []));
|
|
5566
|
+
const ids = computed(() => dictionary.ids(), /* @ts-ignore */
|
|
5567
|
+
...(ngDevMode ? [{ debugName: "ids" }] : /* istanbul ignore next */ []));
|
|
5568
|
+
const elements = computed(() => ids().map((id) => dictionary.elements()[id]), /* @ts-ignore */
|
|
5569
|
+
...(ngDevMode ? [{ debugName: "elements" }] : /* istanbul ignore next */ []));
|
|
5570
|
+
const isEmpty = computed(() => dictionary.ids().length === 0, /* @ts-ignore */
|
|
5571
|
+
...(ngDevMode ? [{ debugName: "isEmpty" }] : /* istanbul ignore next */ []));
|
|
5506
5572
|
const has = (id) => {
|
|
5507
5573
|
return dictionary.ids().includes(id);
|
|
5508
5574
|
};
|
|
@@ -5586,7 +5652,8 @@ const unbindProps = (config) => {
|
|
|
5586
5652
|
const createProps = (props) => {
|
|
5587
5653
|
const { bindId = false, single = true, classes: classBindings, attributes: attributeBindings, styles: styleBindings, staticAttributes: staticAttributeBindings = null, staticClasses: staticClassBindings = null, staticStyles: staticStyleBindings = null, listeners, name, } = props;
|
|
5588
5654
|
const dictionary = createElementDictionary();
|
|
5589
|
-
const attached = computed(() => !dictionary.isEmpty(),
|
|
5655
|
+
const attached = computed(() => !dictionary.isEmpty(), /* @ts-ignore */
|
|
5656
|
+
...(ngDevMode ? [{ debugName: "attached" }] : /* istanbul ignore next */ []));
|
|
5590
5657
|
const attachedElements = {
|
|
5591
5658
|
first: dictionary.firstElement,
|
|
5592
5659
|
firstId: dictionary.firstId,
|
|
@@ -5689,10 +5756,10 @@ class PropsDirective {
|
|
|
5689
5756
|
});
|
|
5690
5757
|
});
|
|
5691
5758
|
}
|
|
5692
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5693
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "
|
|
5759
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: PropsDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
5760
|
+
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
5761
|
}
|
|
5695
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5762
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: PropsDirective, decorators: [{
|
|
5696
5763
|
type: Directive,
|
|
5697
5764
|
args: [{
|
|
5698
5765
|
selector: '[etProps]',
|
|
@@ -5758,7 +5825,8 @@ const setupResizeObservable = (startEvent, edge) => {
|
|
|
5758
5825
|
};
|
|
5759
5826
|
class ResizeHandlesComponent {
|
|
5760
5827
|
constructor() {
|
|
5761
|
-
this.edges = input(['n', 's', 'e', 'w', 'ne', 'nw', 'se', 'sw'],
|
|
5828
|
+
this.edges = input(['n', 's', 'e', 'w', 'ne', 'nw', 'se', 'sw'], /* @ts-ignore */
|
|
5829
|
+
...(ngDevMode ? [{ debugName: "edges" }] : /* istanbul ignore next */ []));
|
|
5762
5830
|
this.disabled = input(false, { ...(ngDevMode ? { debugName: "disabled" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
|
|
5763
5831
|
this.gestureStart$ = new Subject();
|
|
5764
5832
|
this.gesture$ = this.gestureStart$.pipe(exhaustMap(({ event, edge }) => setupResizeObservable(event, edge)), takeUntilDestroyed(), share());
|
|
@@ -5781,8 +5849,8 @@ class ResizeHandlesComponent {
|
|
|
5781
5849
|
event.stopPropagation();
|
|
5782
5850
|
this.gestureStart$.next({ event, edge });
|
|
5783
5851
|
}
|
|
5784
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5785
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
5852
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: ResizeHandlesComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
5853
|
+
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
5854
|
@for (edge of edges(); track edge) {
|
|
5787
5855
|
<div
|
|
5788
5856
|
[style.cursor]="edgeCursors[edge]"
|
|
@@ -5792,7 +5860,7 @@ class ResizeHandlesComponent {
|
|
|
5792
5860
|
}
|
|
5793
5861
|
`, 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
5862
|
}
|
|
5795
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5863
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: ResizeHandlesComponent, decorators: [{
|
|
5796
5864
|
type: Component,
|
|
5797
5865
|
args: [{ selector: 'et-resize-handles', template: `
|
|
5798
5866
|
@for (edge of edges(); track edge) {
|
|
@@ -5842,7 +5910,8 @@ const createPropertyBinding = (configBuilder, applyConfigFn) => {
|
|
|
5842
5910
|
const createArrayPropertyBinding = (configBuilder, applyConfigFn) => {
|
|
5843
5911
|
return (binding) => {
|
|
5844
5912
|
const valuesSignal = isSignal(binding) ? binding : signal(binding);
|
|
5845
|
-
const valuesList = computed(() => untracked(() => valuesSignal()) ?? [],
|
|
5913
|
+
const valuesList = computed(() => untracked(() => valuesSignal()) ?? [], /* @ts-ignore */
|
|
5914
|
+
...(ngDevMode ? [{ debugName: "valuesList" }] : /* istanbul ignore next */ []));
|
|
5846
5915
|
valuesList().forEach((value, index) => {
|
|
5847
5916
|
applyConfigFn(computed(() => configBuilder(value, index)));
|
|
5848
5917
|
});
|
|
@@ -5887,7 +5956,8 @@ const [provideLinkStoreConfig, injectLinkStoreConfig] = createStaticRootProvider
|
|
|
5887
5956
|
const [provideLinkStore, injectLinkStore] = createRootProvider(() => {
|
|
5888
5957
|
const document = inject(DOCUMENT$1);
|
|
5889
5958
|
const config = injectLinkStoreConfig();
|
|
5890
|
-
const linksByKey = signal(new Map(),
|
|
5959
|
+
const linksByKey = signal(new Map(), /* @ts-ignore */
|
|
5960
|
+
...(ngDevMode ? [{ debugName: "linksByKey" }] : /* istanbul ignore next */ []));
|
|
5891
5961
|
let priorityCounter = 0;
|
|
5892
5962
|
const getLinkKey = (linkConfig) => {
|
|
5893
5963
|
const isMultiInstance = config.multiInstanceRels.has(linkConfig.rel) || linkConfig.allowMultiple;
|
|
@@ -6049,7 +6119,8 @@ const [provideTitleConfig, injectTitleConfig] = createStaticRootProvider({
|
|
|
6049
6119
|
}, { name: 'Title Config' });
|
|
6050
6120
|
const [provideTitleStore, injectTitleStore] = createRootProvider(() => {
|
|
6051
6121
|
const config = injectTitleConfig();
|
|
6052
|
-
const titleParts = signal(new Map(),
|
|
6122
|
+
const titleParts = signal(new Map(), /* @ts-ignore */
|
|
6123
|
+
...(ngDevMode ? [{ debugName: "titleParts" }] : /* istanbul ignore next */ []));
|
|
6053
6124
|
const { currentLocale } = injectLocale();
|
|
6054
6125
|
const titleService = inject(Title);
|
|
6055
6126
|
const isRouterInitialized = injectIsRouterInitialized();
|
|
@@ -6077,7 +6148,8 @@ const [provideTitleStore, injectTitleStore] = createRootProvider(() => {
|
|
|
6077
6148
|
finalTextParts.push(config.transformer(config.suffixPart.text, currentLocale()));
|
|
6078
6149
|
}
|
|
6079
6150
|
return finalTextParts.join(` ${config.divider} `);
|
|
6080
|
-
},
|
|
6151
|
+
}, /* @ts-ignore */
|
|
6152
|
+
...(ngDevMode ? [{ debugName: "title" }] : /* istanbul ignore next */ []));
|
|
6081
6153
|
const addPart = (id, part) => {
|
|
6082
6154
|
titleParts.update((parts) => new Map(parts).set(id, part));
|
|
6083
6155
|
};
|
|
@@ -6177,7 +6249,8 @@ const [provideMetaStore, injectMetaStore] = createRootProvider(() => {
|
|
|
6177
6249
|
const metaService = inject(Meta);
|
|
6178
6250
|
const config = injectMetaConfig();
|
|
6179
6251
|
const { currentLocale } = injectLocale();
|
|
6180
|
-
const metaTagsBySelector = signal(new Map(),
|
|
6252
|
+
const metaTagsBySelector = signal(new Map(), /* @ts-ignore */
|
|
6253
|
+
...(ngDevMode ? [{ debugName: "metaTagsBySelector" }] : /* istanbul ignore next */ []));
|
|
6181
6254
|
let priorityCounter = 0;
|
|
6182
6255
|
const getSelector = (config) => {
|
|
6183
6256
|
if (config.name)
|
|
@@ -6604,10 +6677,10 @@ class SeoDirective {
|
|
|
6604
6677
|
}
|
|
6605
6678
|
}
|
|
6606
6679
|
}
|
|
6607
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
6608
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
6680
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: SeoDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
6681
|
+
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
6682
|
}
|
|
6610
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
6683
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: SeoDirective, decorators: [{
|
|
6611
6684
|
type: Directive,
|
|
6612
6685
|
args: [{
|
|
6613
6686
|
providers: [{ provide: SEO_DIRECTIVE_TOKEN, useExisting: SeoDirective }],
|
|
@@ -6621,7 +6694,8 @@ const [provideStructuredDataStore, injectStructuredDataStore] = createRootProvid
|
|
|
6621
6694
|
const document = inject(DOCUMENT$1);
|
|
6622
6695
|
const renderer = injectRenderer();
|
|
6623
6696
|
const config = injectStructuredDataConfig();
|
|
6624
|
-
const scripts = signal(new Map(),
|
|
6697
|
+
const scripts = signal(new Map(), /* @ts-ignore */
|
|
6698
|
+
...(ngDevMode ? [{ debugName: "scripts" }] : /* istanbul ignore next */ []));
|
|
6625
6699
|
const getTargetElement = () => {
|
|
6626
6700
|
return config.placement === 'head' ? document.head : document.body;
|
|
6627
6701
|
};
|
|
@@ -6662,7 +6736,8 @@ const applyStructuredDataBinding = (binding) => {
|
|
|
6662
6736
|
class StructuredDataComponent {
|
|
6663
6737
|
constructor() {
|
|
6664
6738
|
this.sanitizer = inject(DomSanitizer);
|
|
6665
|
-
this.data = input(null,
|
|
6739
|
+
this.data = input(null, /* @ts-ignore */
|
|
6740
|
+
...(ngDevMode ? [{ debugName: "data" }] : /* istanbul ignore next */ []));
|
|
6666
6741
|
this.jsonLD = computed(() => {
|
|
6667
6742
|
const data = this.data();
|
|
6668
6743
|
if (!data) {
|
|
@@ -6671,12 +6746,13 @@ class StructuredDataComponent {
|
|
|
6671
6746
|
const json = data ? JSON.stringify(data, null, 2).replace(/<\/script>/g, '<\\/script>') : '';
|
|
6672
6747
|
const html = `<script type="application/ld+json">${json}</script>`;
|
|
6673
6748
|
return this.sanitizer.bypassSecurityTrustHtml(html);
|
|
6674
|
-
},
|
|
6749
|
+
}, /* @ts-ignore */
|
|
6750
|
+
...(ngDevMode ? [{ debugName: "jsonLD" }] : /* istanbul ignore next */ []));
|
|
6675
6751
|
}
|
|
6676
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
6677
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "
|
|
6752
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: StructuredDataComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
6753
|
+
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
6754
|
}
|
|
6679
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
6755
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: StructuredDataComponent, decorators: [{
|
|
6680
6756
|
type: Component,
|
|
6681
6757
|
args: [{
|
|
6682
6758
|
selector: 'et-structured-data',
|
|
@@ -6691,10 +6767,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.13", ngImpo
|
|
|
6691
6767
|
}], propDecorators: { data: [{ type: i0.Input, args: [{ isSignal: true, alias: "data", required: false }] }] } });
|
|
6692
6768
|
|
|
6693
6769
|
class ColorInteractiveStylesComponent {
|
|
6694
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
6695
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
6770
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: ColorInteractiveStylesComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
6771
|
+
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
6772
|
}
|
|
6697
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
6773
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: ColorInteractiveStylesComponent, decorators: [{
|
|
6698
6774
|
type: Component,
|
|
6699
6775
|
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
6776
|
}] });
|
|
@@ -6715,10 +6791,10 @@ class ColorInteractiveContainerDirective {
|
|
|
6715
6791
|
this.styleManager = injectStyleManager();
|
|
6716
6792
|
this.styleManager.mount(ColorInteractiveStylesComponent);
|
|
6717
6793
|
}
|
|
6718
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
6719
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
6794
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: ColorInteractiveContainerDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
6795
|
+
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
6796
|
}
|
|
6721
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
6797
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: ColorInteractiveContainerDirective, decorators: [{
|
|
6722
6798
|
type: Directive,
|
|
6723
6799
|
args: [{
|
|
6724
6800
|
selector: '[etColorInteractiveContainer]',
|
|
@@ -6741,10 +6817,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.13", ngImpo
|
|
|
6741
6817
|
* used to have (see its own comment).
|
|
6742
6818
|
*/
|
|
6743
6819
|
class ColorInteractiveExcludeDirective {
|
|
6744
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
6745
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
6820
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: ColorInteractiveExcludeDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
6821
|
+
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
6822
|
}
|
|
6747
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
6823
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: ColorInteractiveExcludeDirective, decorators: [{
|
|
6748
6824
|
type: Directive,
|
|
6749
6825
|
args: [{
|
|
6750
6826
|
selector: '[etColorInteractiveExclude]',
|
|
@@ -6774,10 +6850,10 @@ class ColorInteractiveHasFocusDirective {
|
|
|
6774
6850
|
this.styleManager = injectStyleManager();
|
|
6775
6851
|
this.styleManager.mount(ColorInteractiveStylesComponent);
|
|
6776
6852
|
}
|
|
6777
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
6778
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
6853
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: ColorInteractiveHasFocusDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
6854
|
+
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
6855
|
}
|
|
6780
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
6856
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: ColorInteractiveHasFocusDirective, decorators: [{
|
|
6781
6857
|
type: Directive,
|
|
6782
6858
|
args: [{
|
|
6783
6859
|
selector: '[etColorInteractiveHasFocus]',
|
|
@@ -6805,10 +6881,10 @@ class ColorInteractiveDirective {
|
|
|
6805
6881
|
this.styleManager = injectStyleManager();
|
|
6806
6882
|
this.styleManager.mount(ColorInteractiveStylesComponent);
|
|
6807
6883
|
}
|
|
6808
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
6809
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
6884
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: ColorInteractiveDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
6885
|
+
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
6886
|
}
|
|
6811
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
6887
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: ColorInteractiveDirective, decorators: [{
|
|
6812
6888
|
type: Directive,
|
|
6813
6889
|
args: [{
|
|
6814
6890
|
selector: '[etColorInteractive]',
|
|
@@ -7046,7 +7122,8 @@ class ProvideColorDirective {
|
|
|
7046
7122
|
this.prefix = injectColorThemesPrefix({ optional: true });
|
|
7047
7123
|
this.injector = inject(Injector);
|
|
7048
7124
|
this.currentProviderSync = null;
|
|
7049
|
-
this.forcedColor = signal(FORCED_COLOR_UNSET,
|
|
7125
|
+
this.forcedColor = signal(FORCED_COLOR_UNSET, /* @ts-ignore */
|
|
7126
|
+
...(ngDevMode ? [{ debugName: "forcedColor" }] : /* istanbul ignore next */ []));
|
|
7050
7127
|
this.color = input(undefined, { ...(ngDevMode ? { debugName: "color" } : /* istanbul ignore next */ {}), alias: 'etProvideColor' });
|
|
7051
7128
|
this.effectiveColor = computed(() => {
|
|
7052
7129
|
const forcedColor = this.forcedColor();
|
|
@@ -7054,7 +7131,8 @@ class ProvideColorDirective {
|
|
|
7054
7131
|
return forcedColor;
|
|
7055
7132
|
}
|
|
7056
7133
|
return this.color();
|
|
7057
|
-
},
|
|
7134
|
+
}, /* @ts-ignore */
|
|
7135
|
+
...(ngDevMode ? [{ debugName: "effectiveColor" }] : /* istanbul ignore next */ []));
|
|
7058
7136
|
this.colorName = computed(() => {
|
|
7059
7137
|
const raw = this.effectiveColor();
|
|
7060
7138
|
const value = typeof raw === 'object' && raw !== null ? raw.name : raw;
|
|
@@ -7064,14 +7142,16 @@ class ProvideColorDirective {
|
|
|
7064
7142
|
console.error(`Theme ${value} does not exist. Please make sure to add it to provideColorThemesWithTailwind4()`);
|
|
7065
7143
|
}
|
|
7066
7144
|
return createCssColorThemeName(value);
|
|
7067
|
-
},
|
|
7145
|
+
}, /* @ts-ignore */
|
|
7146
|
+
...(ngDevMode ? [{ debugName: "colorName" }] : /* istanbul ignore next */ []));
|
|
7068
7147
|
this.themeClass = computed(() => {
|
|
7069
7148
|
const prefix = this.prefix || 'et';
|
|
7070
7149
|
if (this.colorName()) {
|
|
7071
7150
|
return `${prefix}-color--${this.colorName()}`;
|
|
7072
7151
|
}
|
|
7073
7152
|
return `${prefix}-color--inherited`;
|
|
7074
|
-
},
|
|
7153
|
+
}, /* @ts-ignore */
|
|
7154
|
+
...(ngDevMode ? [{ debugName: "themeClass" }] : /* istanbul ignore next */ []));
|
|
7075
7155
|
}
|
|
7076
7156
|
syncWithProvider(provider) {
|
|
7077
7157
|
this.currentProviderSync?.destroy();
|
|
@@ -7085,7 +7165,8 @@ class ProvideColorDirective {
|
|
|
7085
7165
|
}
|
|
7086
7166
|
this.forceColor(provideColor);
|
|
7087
7167
|
});
|
|
7088
|
-
},
|
|
7168
|
+
}, /* @ts-ignore */
|
|
7169
|
+
...(ngDevMode ? [{ debugName: "currentProviderSync" }] : /* istanbul ignore next */ []));
|
|
7089
7170
|
});
|
|
7090
7171
|
}
|
|
7091
7172
|
stopSyncWithProvider() {
|
|
@@ -7107,10 +7188,10 @@ class ProvideColorDirective {
|
|
|
7107
7188
|
}
|
|
7108
7189
|
this.forcedColor.set(FORCED_COLOR_UNSET);
|
|
7109
7190
|
}
|
|
7110
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
7111
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "
|
|
7191
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: ProvideColorDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
7192
|
+
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
7193
|
}
|
|
7113
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
7194
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: ProvideColorDirective, decorators: [{
|
|
7114
7195
|
type: Directive,
|
|
7115
7196
|
args: [{
|
|
7116
7197
|
selector: '[etProvideColor]',
|
|
@@ -7146,7 +7227,8 @@ class ProvideSurfaceDirective {
|
|
|
7146
7227
|
this.prefix = injectSurfaceThemesPrefix({ optional: true });
|
|
7147
7228
|
this.injector = inject(Injector);
|
|
7148
7229
|
this.currentProviderSync = null;
|
|
7149
|
-
this.forcedSurface = signal(FORCED_SURFACE_UNSET,
|
|
7230
|
+
this.forcedSurface = signal(FORCED_SURFACE_UNSET, /* @ts-ignore */
|
|
7231
|
+
...(ngDevMode ? [{ debugName: "forcedSurface" }] : /* istanbul ignore next */ []));
|
|
7150
7232
|
this.surface = input(undefined, { ...(ngDevMode ? { debugName: "surface" } : /* istanbul ignore next */ {}), alias: 'etProvideSurface' });
|
|
7151
7233
|
this.effectiveSurface = computed(() => {
|
|
7152
7234
|
const forcedSurface = this.forcedSurface();
|
|
@@ -7154,7 +7236,8 @@ class ProvideSurfaceDirective {
|
|
|
7154
7236
|
return forcedSurface;
|
|
7155
7237
|
}
|
|
7156
7238
|
return this.surface();
|
|
7157
|
-
},
|
|
7239
|
+
}, /* @ts-ignore */
|
|
7240
|
+
...(ngDevMode ? [{ debugName: "effectiveSurface" }] : /* istanbul ignore next */ []));
|
|
7158
7241
|
this.resolvedTheme = computed(() => {
|
|
7159
7242
|
const value = this.effectiveSurface();
|
|
7160
7243
|
if (!this.themes || !value)
|
|
@@ -7164,22 +7247,27 @@ class ProvideSurfaceDirective {
|
|
|
7164
7247
|
console.error(`Surface theme ${value} does not exist. Please make sure to add it to provideSurfaceThemesWithTailwind4()`);
|
|
7165
7248
|
}
|
|
7166
7249
|
return theme;
|
|
7167
|
-
},
|
|
7168
|
-
|
|
7169
|
-
this.
|
|
7250
|
+
}, /* @ts-ignore */
|
|
7251
|
+
...(ngDevMode ? [{ debugName: "resolvedTheme" }] : /* istanbul ignore next */ []));
|
|
7252
|
+
this.elevation = computed(() => this.resolvedTheme()?.elevation ?? 0, /* @ts-ignore */
|
|
7253
|
+
...(ngDevMode ? [{ debugName: "elevation" }] : /* istanbul ignore next */ []));
|
|
7254
|
+
this.surfaceType = computed(() => this.resolvedTheme()?.type ?? null, /* @ts-ignore */
|
|
7255
|
+
...(ngDevMode ? [{ debugName: "surfaceType" }] : /* istanbul ignore next */ []));
|
|
7170
7256
|
this.surfaceName = computed(() => {
|
|
7171
7257
|
const value = this.effectiveSurface();
|
|
7172
7258
|
if (!this.themes || !value)
|
|
7173
7259
|
return;
|
|
7174
7260
|
return createCssSurfaceName(value);
|
|
7175
|
-
},
|
|
7261
|
+
}, /* @ts-ignore */
|
|
7262
|
+
...(ngDevMode ? [{ debugName: "surfaceName" }] : /* istanbul ignore next */ []));
|
|
7176
7263
|
this.surfaceClass = computed(() => {
|
|
7177
7264
|
const prefix = this.prefix || 'et';
|
|
7178
7265
|
if (this.surfaceName()) {
|
|
7179
7266
|
return `${prefix}-surface--${this.surfaceName()}`;
|
|
7180
7267
|
}
|
|
7181
7268
|
return `${prefix}-surface--inherited`;
|
|
7182
|
-
},
|
|
7269
|
+
}, /* @ts-ignore */
|
|
7270
|
+
...(ngDevMode ? [{ debugName: "surfaceClass" }] : /* istanbul ignore next */ []));
|
|
7183
7271
|
}
|
|
7184
7272
|
syncWithProvider(provider) {
|
|
7185
7273
|
this.currentProviderSync?.destroy();
|
|
@@ -7193,7 +7281,8 @@ class ProvideSurfaceDirective {
|
|
|
7193
7281
|
}
|
|
7194
7282
|
this.forceSurface(provideSurface);
|
|
7195
7283
|
});
|
|
7196
|
-
},
|
|
7284
|
+
}, /* @ts-ignore */
|
|
7285
|
+
...(ngDevMode ? [{ debugName: "currentProviderSync" }] : /* istanbul ignore next */ []));
|
|
7197
7286
|
});
|
|
7198
7287
|
}
|
|
7199
7288
|
stopSyncWithProvider() {
|
|
@@ -7215,10 +7304,10 @@ class ProvideSurfaceDirective {
|
|
|
7215
7304
|
}
|
|
7216
7305
|
this.forcedSurface.set(FORCED_SURFACE_UNSET);
|
|
7217
7306
|
}
|
|
7218
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
7219
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "
|
|
7307
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: ProvideSurfaceDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
7308
|
+
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
7309
|
}
|
|
7221
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
7310
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: ProvideSurfaceDirective, decorators: [{
|
|
7222
7311
|
type: Directive,
|
|
7223
7312
|
args: [{
|
|
7224
7313
|
selector: '[etProvideSurface]',
|
|
@@ -7231,13 +7320,17 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.13", ngImpo
|
|
|
7231
7320
|
|
|
7232
7321
|
let uniqueId = 0;
|
|
7233
7322
|
const [provideSurfaceContextTracker, injectSurfaceContextTracker] = createRootProvider(() => {
|
|
7234
|
-
const entries = signal([],
|
|
7323
|
+
const entries = signal([], /* @ts-ignore */
|
|
7324
|
+
...(ngDevMode ? [{ debugName: "entries" }] : /* istanbul ignore next */ []));
|
|
7235
7325
|
const topEntry = computed(() => {
|
|
7236
7326
|
const stack = entries();
|
|
7237
7327
|
return stack.length > 0 ? (stack[stack.length - 1] ?? null) : null;
|
|
7238
|
-
},
|
|
7239
|
-
|
|
7240
|
-
const
|
|
7328
|
+
}, /* @ts-ignore */
|
|
7329
|
+
...(ngDevMode ? [{ debugName: "topEntry" }] : /* istanbul ignore next */ []));
|
|
7330
|
+
const topType = computed(() => topEntry()?.type ?? null, /* @ts-ignore */
|
|
7331
|
+
...(ngDevMode ? [{ debugName: "topType" }] : /* istanbul ignore next */ []));
|
|
7332
|
+
const topElevation = computed(() => topEntry()?.elevation ?? 0, /* @ts-ignore */
|
|
7333
|
+
...(ngDevMode ? [{ debugName: "topElevation" }] : /* istanbul ignore next */ []));
|
|
7241
7334
|
const register = (type, elevation) => {
|
|
7242
7335
|
const id = `surface-ctx-${uniqueId++}`;
|
|
7243
7336
|
const entry = { id, type, elevation };
|
|
@@ -7250,10 +7343,10 @@ const [provideSurfaceContextTracker, injectSurfaceContextTracker] = createRootPr
|
|
|
7250
7343
|
}, { name: 'SurfaceContextTracker' });
|
|
7251
7344
|
|
|
7252
7345
|
class SurfaceInteractiveStylesComponent {
|
|
7253
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
7254
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
7346
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: SurfaceInteractiveStylesComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
7347
|
+
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
7348
|
}
|
|
7256
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
7349
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: SurfaceInteractiveStylesComponent, decorators: [{
|
|
7257
7350
|
type: Component,
|
|
7258
7351
|
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
7352
|
}] });
|
|
@@ -7274,10 +7367,10 @@ class SurfaceInteractiveDirective {
|
|
|
7274
7367
|
this.styleManager = injectStyleManager();
|
|
7275
7368
|
this.styleManager.mount(SurfaceInteractiveStylesComponent);
|
|
7276
7369
|
}
|
|
7277
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
7278
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
7370
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: SurfaceInteractiveDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
7371
|
+
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
7372
|
}
|
|
7280
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
7373
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: SurfaceInteractiveDirective, decorators: [{
|
|
7281
7374
|
type: Directive,
|
|
7282
7375
|
args: [{
|
|
7283
7376
|
selector: '[etSurfaceInteractive]',
|