@symbiote-native/angular 0.6.2 → 0.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/symbiote-angular-dev.cjs +20 -19
- package/build/angular/anchor-host-registry.js +2 -2
- package/build/angular/anchor-host-registry.js.map +1 -1
- package/build/angular/components/activity-indicator/index.android.d.ts +2 -1
- package/build/angular/components/activity-indicator/index.android.js +6 -3
- package/build/angular/components/activity-indicator/index.android.js.map +1 -1
- package/build/angular/components/activity-indicator/index.ios.d.ts +2 -1
- package/build/angular/components/activity-indicator/index.ios.js +6 -3
- package/build/angular/components/activity-indicator/index.ios.js.map +1 -1
- package/build/angular/components/activity-indicator/shared.js +3 -3
- package/build/angular/components/button.d.ts +4 -2
- package/build/angular/components/button.js +28 -17
- package/build/angular/components/button.js.map +1 -1
- package/build/angular/components/flat-list/index.d.ts +5 -3
- package/build/angular/components/flat-list/index.js +35 -38
- package/build/angular/components/flat-list/index.js.map +1 -1
- package/build/angular/components/image/index.android.d.ts +8 -3
- package/build/angular/components/image/index.android.js +39 -9
- package/build/angular/components/image/index.android.js.map +1 -1
- package/build/angular/components/image/index.ios.d.ts +8 -3
- package/build/angular/components/image/index.ios.js +39 -9
- package/build/angular/components/image/index.ios.js.map +1 -1
- package/build/angular/components/image/shared.d.ts +4 -1
- package/build/angular/components/image/shared.js +33 -2
- package/build/angular/components/image/shared.js.map +1 -1
- package/build/angular/components/image-background.d.ts +2 -1
- package/build/angular/components/image-background.js +6 -4
- package/build/angular/components/image-background.js.map +1 -1
- package/build/angular/components/input-accessory-view/index.d.ts +9 -4
- package/build/angular/components/input-accessory-view/index.js +43 -9
- package/build/angular/components/input-accessory-view/index.js.map +1 -1
- package/build/angular/components/keyboard-avoiding-view/index.d.ts +2 -1
- package/build/angular/components/keyboard-avoiding-view/index.js +6 -4
- package/build/angular/components/keyboard-avoiding-view/index.js.map +1 -1
- package/build/angular/components/modal/index.d.ts +11 -8
- package/build/angular/components/modal/index.js +45 -28
- package/build/angular/components/modal/index.js.map +1 -1
- package/build/angular/components/pressable/index.d.ts +11 -5
- package/build/angular/components/pressable/index.js +61 -12
- package/build/angular/components/pressable/index.js.map +1 -1
- package/build/angular/components/refresh-control/index.d.ts +8 -4
- package/build/angular/components/refresh-control/index.js +52 -16
- package/build/angular/components/refresh-control/index.js.map +1 -1
- package/build/angular/components/safe-area-view/index.d.ts +9 -4
- package/build/angular/components/safe-area-view/index.js +46 -9
- package/build/angular/components/safe-area-view/index.js.map +1 -1
- package/build/angular/components/scroll-view/index.android.d.ts +2 -3
- package/build/angular/components/scroll-view/index.android.js +49 -52
- package/build/angular/components/scroll-view/index.android.js.map +1 -1
- package/build/angular/components/scroll-view/index.ios.d.ts +2 -3
- package/build/angular/components/scroll-view/index.ios.js +15 -17
- package/build/angular/components/scroll-view/index.ios.js.map +1 -1
- package/build/angular/components/scroll-view/projection.d.ts +3 -0
- package/build/angular/components/scroll-view/projection.js +68 -7
- package/build/angular/components/scroll-view/projection.js.map +1 -1
- package/build/angular/components/scroll-view/shared.d.ts +14 -5
- package/build/angular/components/scroll-view/shared.js +198 -69
- package/build/angular/components/scroll-view/shared.js.map +1 -1
- package/build/angular/components/scroll-view/sticky-header.js +14 -19
- package/build/angular/components/scroll-view/sticky-header.js.map +1 -1
- package/build/angular/components/section-list/index.d.ts +2 -1
- package/build/angular/components/section-list/index.js +31 -39
- package/build/angular/components/section-list/index.js.map +1 -1
- package/build/angular/components/switch/index.android.d.ts +7 -3
- package/build/angular/components/switch/index.android.js +38 -10
- package/build/angular/components/switch/index.android.js.map +1 -1
- package/build/angular/components/switch/index.ios.d.ts +7 -3
- package/build/angular/components/switch/index.ios.js +38 -10
- package/build/angular/components/switch/index.ios.js.map +1 -1
- package/build/angular/components/switch/shared.d.ts +12 -3
- package/build/angular/components/switch/shared.js +66 -5
- package/build/angular/components/switch/shared.js.map +1 -1
- package/build/angular/components/text-input.d.ts +10 -2
- package/build/angular/components/text-input.js +46 -6
- package/build/angular/components/text-input.js.map +1 -1
- package/build/angular/components/touchable/index.d.ts +17 -8
- package/build/angular/components/touchable/index.js +78 -19
- package/build/angular/components/touchable/index.js.map +1 -1
- package/build/angular/components/touchable-native-feedback/index.d.ts +6 -3
- package/build/angular/components/touchable-native-feedback/index.js +61 -25
- package/build/angular/components/touchable-native-feedback/index.js.map +1 -1
- package/build/angular/components/virtualized-list/directives.js +18 -18
- package/build/angular/components/virtualized-list/index.d.ts +12 -4
- package/build/angular/components/virtualized-list/index.js +163 -68
- package/build/angular/components/virtualized-list/index.js.map +1 -1
- package/build/angular/components/virtualized-section-list/directives.js +12 -12
- package/build/angular/components/virtualized-section-list/index.d.ts +2 -1
- package/build/angular/components/virtualized-section-list/index.js +6 -4
- package/build/angular/components/virtualized-section-list/index.js.map +1 -1
- package/build/angular/components.d.ts +1 -1
- package/build/angular/components.js +5 -0
- package/build/angular/components.js.map +1 -1
- package/build/angular/create-portal/index.js +29 -35
- package/build/angular/create-portal/index.js.map +1 -1
- package/build/angular/create-tunnel/index.js +19 -22
- package/build/angular/create-tunnel/index.js.map +1 -1
- package/build/angular/descriptor-to-angular/index.js +3 -3
- package/build/angular/index.d.ts +4 -2
- package/build/angular/index.js +2 -2
- package/build/angular/index.js.map +1 -1
- package/build/angular/modules/animated/animated-leaf-binder.d.ts +1 -7
- package/build/angular/modules/animated/animated-leaf-binder.js +22 -72
- package/build/angular/modules/animated/animated-leaf-binder.js.map +1 -1
- package/build/angular/modules/animated/create-animated-component.d.ts +11 -6
- package/build/angular/modules/animated/create-animated-component.js +83 -50
- package/build/angular/modules/animated/create-animated-component.js.map +1 -1
- package/build/angular/modules/app-registry/index.js.map +1 -1
- package/build/angular/modules/status-bar/index.js +3 -3
- package/build/angular/primitives/index.d.ts +1 -1
- package/build/angular/primitives/index.js +46 -46
- package/build/angular/primitives/index.js.map +1 -1
- package/build/angular/primitives/shared.d.ts +39 -1
- package/build/angular/primitives/shared.js +110 -9
- package/build/angular/primitives/shared.js.map +1 -1
- package/build/angular/render/index.js +23 -35
- package/build/angular/render/index.js.map +1 -1
- package/build/angular/services/color-scheme.service.js +3 -3
- package/build/angular/services/window-dimensions.service.js +3 -3
- package/package.json +9 -7
- package/src/anchor-host-registry.ts +2 -2
- package/src/components/activity-indicator/index.android.ts +2 -0
- package/src/components/activity-indicator/index.ios.ts +2 -0
- package/src/components/button.ts +28 -14
- package/src/components/flat-list/index.ts +34 -36
- package/src/components/image/index.android.ts +50 -6
- package/src/components/image/index.ios.ts +50 -6
- package/src/components/image/shared.ts +34 -2
- package/src/components/image-background.ts +2 -1
- package/src/components/input-accessory-view/index.ts +42 -4
- package/src/components/keyboard-avoiding-view/index.ts +7 -1
- package/src/components/modal/index.ts +51 -26
- package/src/components/pressable/index.ts +67 -8
- package/src/components/refresh-control/index.ts +54 -12
- package/src/components/safe-area-view/index.ts +50 -5
- package/src/components/scroll-view/index.android.ts +34 -41
- package/src/components/scroll-view/index.ios.ts +10 -21
- package/src/components/scroll-view/projection.ts +79 -7
- package/src/components/scroll-view/shared.ts +223 -68
- package/src/components/scroll-view/sticky-header.ts +11 -16
- package/src/components/section-list/index.ts +27 -36
- package/src/components/switch/index.android.ts +48 -7
- package/src/components/switch/index.ios.ts +48 -7
- package/src/components/switch/shared.ts +79 -3
- package/src/components/text-input.ts +52 -2
- package/src/components/touchable/index.ts +76 -16
- package/src/components/touchable-native-feedback/index.ts +62 -21
- package/src/components/virtualized-list/index.ts +137 -44
- package/src/components/virtualized-section-list/index.ts +2 -1
- package/src/components.ts +5 -0
- package/src/create-portal/index.ts +23 -29
- package/src/create-tunnel/index.ts +13 -16
- package/src/index.ts +30 -1
- package/src/modules/animated/animated-leaf-binder.ts +28 -77
- package/src/modules/animated/create-animated-component.ts +75 -36
- package/src/modules/app-registry/index.ts +6 -8
- package/src/primitives/index.ts +1 -0
- package/src/primitives/shared.ts +102 -3
- package/src/render/index.ts +23 -35
- package/build/angular/modules/animated/animated-leaf-binder/index.d.ts +0 -14
- package/build/angular/modules/animated/animated-leaf-binder/index.js +0 -91
- package/build/angular/modules/animated/animated-leaf-binder/index.js.map +0 -1
- package/src/modules/animated/animated-leaf-binder/index.ts +0 -101
|
@@ -21,13 +21,14 @@
|
|
|
21
21
|
// forwards the Angular Pressable surface verbatim; parity is against that surface, exactly as
|
|
22
22
|
// React's Touchable parity is against
|
|
23
23
|
// the React Pressable surface.
|
|
24
|
-
import { CUSTOM_ELEMENTS_SCHEMA, ChangeDetectionStrategy, Component, ElementRef, EventEmitter, inject, Input, Output, } from '@angular/core';
|
|
24
|
+
import { CUSTOM_ELEMENTS_SCHEMA, ChangeDetectionStrategy, Component, computed, ElementRef, EventEmitter, inject, Input, Output, signal, } from '@angular/core';
|
|
25
25
|
import { createTouchableFeedbackHandlers, createTouchableFeedbackRuntime, highlightPressedStyle, DEFAULT_ACTIVE_OPACITY, DEFAULT_HIGHLIGHT_CHILD_OPACITY, DEFAULT_MIN_PRESS_DURATION_MS, DEFAULT_UNDERLAY_COLOR, OPACITY_ACTIVE_DURATION_MS, OPACITY_INACTIVE_DURATION_MS, RESTING_OPACITY, } from '@symbiote-native/components';
|
|
26
26
|
import {} from '@symbiote-native/engine';
|
|
27
|
-
import { anchorHostStyle, anchorStyleProp } from '../../primitives';
|
|
27
|
+
import { anchorHostStyle, anchorStyleProp, SymbioteStyleInputDirective } from '../../primitives';
|
|
28
28
|
import { Pressable } from '../pressable';
|
|
29
29
|
import { Animated, AnimatedView } from '../../modules/animated';
|
|
30
30
|
import * as i0 from "@angular/core";
|
|
31
|
+
import * as i1 from "../../primitives/shared";
|
|
31
32
|
// The real setTimeout the shared feedback machine schedules its deferred activation/deactivation on
|
|
32
33
|
// (core/components has no timer globals). Returns a canceller so an early release flushes the timer.
|
|
33
34
|
function scheduleTimeout(callback, ms) {
|
|
@@ -118,7 +119,20 @@ export class TouchableOpacity {
|
|
|
118
119
|
// the commit layer flattens). `unknown` because the array mixes a plain style with an
|
|
119
120
|
// AnimatedNode, exactly the bag AnimatedView's `style` input accepts.
|
|
120
121
|
get animatedStyle() {
|
|
121
|
-
return [
|
|
122
|
+
return [this.anchorStyle(), this.style, { opacity: this.opacity }];
|
|
123
|
+
}
|
|
124
|
+
// The anchor's class-derived style is written by the renderer's addClass/removeClass at the USE
|
|
125
|
+
// SITE - it never appears in SimpleChanges, and nothing about it dirties THIS component's view.
|
|
126
|
+
// A `class=` present at creation therefore worked, while one toggled later did not: the parent
|
|
127
|
+
// refreshed, the class landed on the anchor, and this component's own view was never refreshed,
|
|
128
|
+
// so whatever merged the anchor style in was never re-evaluated. Polling it into a signal from
|
|
129
|
+
// ngDoCheck fixes both halves: ngDoCheck runs during the PARENT's refresh even when this view is
|
|
130
|
+
// skipped, and the signal write is what then marks this view for refresh. `signal.set`'s own
|
|
131
|
+
// Object.is makes an unchanged poll a no-op, so there is no loop.
|
|
132
|
+
anchorStyle = signal(undefined, /* @ts-ignore */
|
|
133
|
+
...(ngDevMode ? [{ debugName: "anchorStyle" }] : /* istanbul ignore next */ []));
|
|
134
|
+
ngDoCheck() {
|
|
135
|
+
this.anchorStyle.set(anchorHostStyle(this.elementRef));
|
|
122
136
|
}
|
|
123
137
|
setOpacityTo(toValue, duration) {
|
|
124
138
|
Animated.timing(this.opacity, {
|
|
@@ -157,8 +171,8 @@ export class TouchableOpacity {
|
|
|
157
171
|
handlePressOut = (event) => {
|
|
158
172
|
this.feedbackHandlers().handlePressOut(event);
|
|
159
173
|
};
|
|
160
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.
|
|
161
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.0.
|
|
174
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: TouchableOpacity, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
175
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.0.8", type: TouchableOpacity, isStandalone: true, selector: "TouchableOpacity", inputs: { activeOpacity: "activeOpacity", delayPressIn: "delayPressIn", delayPressOut: "delayPressOut", minPressDuration: "minPressDuration", style: "style", delayLongPress: "delayLongPress", delayHoverIn: "delayHoverIn", delayHoverOut: "delayHoverOut", disabled: "disabled", cancelable: "cancelable", hitSlop: "hitSlop", pressRetentionOffset: "pressRetentionOffset", unstable_pressDelay: "unstable_pressDelay", android_ripple: "android_ripple", android_disableSound: "android_disableSound", testID: "testID", nativeID: "nativeID", hasTVPreferredFocus: "hasTVPreferredFocus", nextFocusDown: "nextFocusDown", nextFocusForward: "nextFocusForward", nextFocusLeft: "nextFocusLeft", nextFocusRight: "nextFocusRight", nextFocusUp: "nextFocusUp", accessible: "accessible", accessibilityLabel: "accessibilityLabel", accessibilityHint: "accessibilityHint", accessibilityRole: "accessibilityRole", accessibilityState: "accessibilityState", accessibilityValue: "accessibilityValue", accessibilityActions: "accessibilityActions", accessibilityLabelledBy: "accessibilityLabelledBy", importantForAccessibility: "importantForAccessibility", accessibilityLiveRegion: "accessibilityLiveRegion", screenReaderFocusable: "screenReaderFocusable", accessibilityViewIsModal: "accessibilityViewIsModal", accessibilityElementsHidden: "accessibilityElementsHidden", accessibilityIgnoresInvertColors: "accessibilityIgnoresInvertColors", accessibilityLanguage: "accessibilityLanguage", accessibilityRespondsToUserInteraction: "accessibilityRespondsToUserInteraction", accessibilityShowsLargeContentViewer: "accessibilityShowsLargeContentViewer", accessibilityLargeContentTitle: "accessibilityLargeContentTitle", ariaLabel: "ariaLabel", ariaBusy: "ariaBusy", ariaChecked: "ariaChecked", ariaDisabled: "ariaDisabled", ariaExpanded: "ariaExpanded", ariaHidden: "ariaHidden", ariaLabelledBy: "ariaLabelledBy", ariaLive: "ariaLive", ariaSelected: "ariaSelected", ariaModal: "ariaModal", ariaValueMax: "ariaValueMax", ariaValueMin: "ariaValueMin", ariaValueNow: "ariaValueNow", ariaValueText: "ariaValueText", id: "id", role: "role" }, outputs: { press: "press", pressIn: "pressIn", pressOut: "pressOut", pressMove: "pressMove", longPress: "longPress", hoverIn: "hoverIn", hoverOut: "hoverOut", accessibilityAction: "accessibilityAction", accessibilityTap: "accessibilityTap", magicTap: "magicTap", accessibilityEscape: "accessibilityEscape" }, hostDirectives: [{ directive: i1.SymbioteStyleInputDirective, inputs: ["style", "style"] }], ngImport: i0, template: `
|
|
162
176
|
<Pressable
|
|
163
177
|
(press)="press.emit($event)"
|
|
164
178
|
(pressIn)="handlePressIn($event)"
|
|
@@ -230,11 +244,12 @@ export class TouchableOpacity {
|
|
|
230
244
|
</Pressable>
|
|
231
245
|
`, isInline: true, dependencies: [{ kind: "component", type: Pressable, selector: "Pressable, symbiote-pressable", inputs: ["delayLongPress", "disabled", "cancelable", "hitSlop", "pressRetentionOffset", "unstable_pressDelay", "android_ripple", "android_disableSound", "delayHoverIn", "delayHoverOut", "testID", "nativeID", "hasTVPreferredFocus", "nextFocusDown", "nextFocusForward", "nextFocusLeft", "nextFocusRight", "nextFocusUp", "style", "accessible", "accessibilityLabel", "accessibilityHint", "accessibilityRole", "accessibilityState", "accessibilityValue", "accessibilityActions", "accessibilityLabelledBy", "importantForAccessibility", "accessibilityLiveRegion", "screenReaderFocusable", "accessibilityViewIsModal", "accessibilityElementsHidden", "accessibilityIgnoresInvertColors", "accessibilityLanguage", "accessibilityRespondsToUserInteraction", "accessibilityShowsLargeContentViewer", "accessibilityLargeContentTitle", "ariaLabel", "ariaBusy", "ariaChecked", "ariaDisabled", "ariaExpanded", "ariaHidden", "ariaLabelledBy", "ariaLive", "ariaSelected", "ariaModal", "ariaValueMax", "ariaValueMin", "ariaValueNow", "ariaValueText", "id", "role"], outputs: ["press", "pressIn", "pressOut", "pressMove", "longPress", "hoverIn", "hoverOut", "accessibilityAction", "accessibilityTap", "magicTap", "accessibilityEscape"] }, { kind: "component", type: AnimatedView, selector: "AnimatedView, symbiote-animated-view", inputs: ["style", "animatedProps", "passthroughAnimatedPropExplicitValues"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
232
246
|
}
|
|
233
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.
|
|
247
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: TouchableOpacity, decorators: [{
|
|
234
248
|
type: Component,
|
|
235
249
|
args: [{
|
|
236
250
|
selector: 'TouchableOpacity',
|
|
237
251
|
standalone: true,
|
|
252
|
+
hostDirectives: [{ directive: SymbioteStyleInputDirective, inputs: ['style'] }],
|
|
238
253
|
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
239
254
|
imports: [Pressable, AnimatedView],
|
|
240
255
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
@@ -526,14 +541,43 @@ export class TouchableHighlight {
|
|
|
526
541
|
// [style] still beats the ambient class. When pressed, paint the underlay color + lower the
|
|
527
542
|
// child opacity (RN drives this with setState, not Animated, so we mirror that faithfully
|
|
528
543
|
// through Pressable's pressed flag, no tween) — the overlay always goes last so it wins.
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
544
|
+
// A computed that RETURNS A NEW ARROW when its dependencies move, not one stable arrow forever.
|
|
545
|
+
// The stable-arrow form was silently frozen: Pressable's `style` @Input never reported a change,
|
|
546
|
+
// so Pressable's view never refreshed and never re-invoked the arrow - a class or [style]
|
|
547
|
+
// toggled after mount never reached the committed view. Reading the anchor signal from inside
|
|
548
|
+
// the arrow body instead would have worked by accident, by registering THIS component's signal
|
|
549
|
+
// on Pressable's consumer; returning a new reference keeps the dependency where it belongs, in
|
|
550
|
+
// an ordinary input change.
|
|
551
|
+
pressedStyle = computed(() => {
|
|
552
|
+
this.inputsRevision();
|
|
553
|
+
const base = [this.anchorStyle(), this.style];
|
|
554
|
+
const underlayColor = this.underlayColor ?? DEFAULT_UNDERLAY_COLOR;
|
|
555
|
+
const childOpacity = this.activeOpacity ?? DEFAULT_HIGHLIGHT_CHILD_OPACITY;
|
|
556
|
+
return (state) => highlightPressedStyle(state.pressed, base, underlayColor, childOpacity);
|
|
557
|
+
}, /* @ts-ignore */
|
|
558
|
+
...(ngDevMode ? [{ debugName: "pressedStyle" }] : /* istanbul ignore next */ []));
|
|
559
|
+
// `style`, `underlayColor` and `activeOpacity` are read untracked inside that computed, so the
|
|
560
|
+
// bump is what tells it they moved. See the ngDoCheck note below for the anchor half, which
|
|
561
|
+
// ngOnChanges cannot cover.
|
|
562
|
+
inputsRevision = signal(0, /* @ts-ignore */
|
|
563
|
+
...(ngDevMode ? [{ debugName: "inputsRevision" }] : /* istanbul ignore next */ []));
|
|
564
|
+
anchorStyle = signal(undefined, /* @ts-ignore */
|
|
565
|
+
...(ngDevMode ? [{ debugName: "anchorStyle" }] : /* istanbul ignore next */ []));
|
|
566
|
+
ngOnChanges() {
|
|
567
|
+
this.inputsRevision.update(revision => revision + 1);
|
|
568
|
+
}
|
|
569
|
+
// The anchor's class-derived style is written by the renderer's addClass/removeClass at the USE
|
|
570
|
+
// SITE - it never appears in SimpleChanges, and nothing about it dirties THIS component's view.
|
|
571
|
+
// ngDoCheck runs during the PARENT's refresh even when this view is skipped, and the signal
|
|
572
|
+
// write is what then marks this view for refresh. `signal.set`'s own Object.is makes an
|
|
573
|
+
// unchanged poll a no-op, so there is no loop.
|
|
574
|
+
ngDoCheck() {
|
|
575
|
+
this.anchorStyle.set(anchorStyleProp(this.elementRef));
|
|
576
|
+
}
|
|
577
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: TouchableHighlight, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
578
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.0.8", type: TouchableHighlight, isStandalone: true, selector: "TouchableHighlight", inputs: { activeOpacity: "activeOpacity", underlayColor: "underlayColor", delayPressIn: "delayPressIn", delayPressOut: "delayPressOut", minPressDuration: "minPressDuration", style: "style", delayLongPress: "delayLongPress", delayHoverIn: "delayHoverIn", delayHoverOut: "delayHoverOut", disabled: "disabled", cancelable: "cancelable", hitSlop: "hitSlop", pressRetentionOffset: "pressRetentionOffset", unstable_pressDelay: "unstable_pressDelay", android_ripple: "android_ripple", android_disableSound: "android_disableSound", testID: "testID", nativeID: "nativeID", hasTVPreferredFocus: "hasTVPreferredFocus", nextFocusDown: "nextFocusDown", nextFocusForward: "nextFocusForward", nextFocusLeft: "nextFocusLeft", nextFocusRight: "nextFocusRight", nextFocusUp: "nextFocusUp", accessible: "accessible", accessibilityLabel: "accessibilityLabel", accessibilityHint: "accessibilityHint", accessibilityRole: "accessibilityRole", accessibilityState: "accessibilityState", accessibilityValue: "accessibilityValue", accessibilityActions: "accessibilityActions", accessibilityLabelledBy: "accessibilityLabelledBy", importantForAccessibility: "importantForAccessibility", accessibilityLiveRegion: "accessibilityLiveRegion", screenReaderFocusable: "screenReaderFocusable", accessibilityViewIsModal: "accessibilityViewIsModal", accessibilityElementsHidden: "accessibilityElementsHidden", accessibilityIgnoresInvertColors: "accessibilityIgnoresInvertColors", accessibilityLanguage: "accessibilityLanguage", accessibilityRespondsToUserInteraction: "accessibilityRespondsToUserInteraction", accessibilityShowsLargeContentViewer: "accessibilityShowsLargeContentViewer", accessibilityLargeContentTitle: "accessibilityLargeContentTitle", ariaLabel: "ariaLabel", ariaBusy: "ariaBusy", ariaChecked: "ariaChecked", ariaDisabled: "ariaDisabled", ariaExpanded: "ariaExpanded", ariaHidden: "ariaHidden", ariaLabelledBy: "ariaLabelledBy", ariaLive: "ariaLive", ariaSelected: "ariaSelected", ariaModal: "ariaModal", ariaValueMax: "ariaValueMax", ariaValueMin: "ariaValueMin", ariaValueNow: "ariaValueNow", ariaValueText: "ariaValueText", id: "id", role: "role" }, outputs: { press: "press", pressIn: "pressIn", pressOut: "pressOut", pressMove: "pressMove", longPress: "longPress", hoverIn: "hoverIn", hoverOut: "hoverOut", accessibilityAction: "accessibilityAction", accessibilityTap: "accessibilityTap", magicTap: "magicTap", accessibilityEscape: "accessibilityEscape" }, usesOnChanges: true, hostDirectives: [{ directive: i1.SymbioteStyleInputDirective, inputs: ["style", "style"] }], ngImport: i0, template: `
|
|
535
579
|
<Pressable
|
|
536
|
-
[style]="pressedStyle"
|
|
580
|
+
[style]="pressedStyle()"
|
|
537
581
|
(press)="press.emit($event)"
|
|
538
582
|
(pressIn)="pressIn.emit($event)"
|
|
539
583
|
(pressOut)="pressOut.emit($event)"
|
|
@@ -602,16 +646,17 @@ export class TouchableHighlight {
|
|
|
602
646
|
</Pressable>
|
|
603
647
|
`, isInline: true, dependencies: [{ kind: "component", type: Pressable, selector: "Pressable, symbiote-pressable", inputs: ["delayLongPress", "disabled", "cancelable", "hitSlop", "pressRetentionOffset", "unstable_pressDelay", "android_ripple", "android_disableSound", "delayHoverIn", "delayHoverOut", "testID", "nativeID", "hasTVPreferredFocus", "nextFocusDown", "nextFocusForward", "nextFocusLeft", "nextFocusRight", "nextFocusUp", "style", "accessible", "accessibilityLabel", "accessibilityHint", "accessibilityRole", "accessibilityState", "accessibilityValue", "accessibilityActions", "accessibilityLabelledBy", "importantForAccessibility", "accessibilityLiveRegion", "screenReaderFocusable", "accessibilityViewIsModal", "accessibilityElementsHidden", "accessibilityIgnoresInvertColors", "accessibilityLanguage", "accessibilityRespondsToUserInteraction", "accessibilityShowsLargeContentViewer", "accessibilityLargeContentTitle", "ariaLabel", "ariaBusy", "ariaChecked", "ariaDisabled", "ariaExpanded", "ariaHidden", "ariaLabelledBy", "ariaLive", "ariaSelected", "ariaModal", "ariaValueMax", "ariaValueMin", "ariaValueNow", "ariaValueText", "id", "role"], outputs: ["press", "pressIn", "pressOut", "pressMove", "longPress", "hoverIn", "hoverOut", "accessibilityAction", "accessibilityTap", "magicTap", "accessibilityEscape"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
604
648
|
}
|
|
605
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.
|
|
649
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: TouchableHighlight, decorators: [{
|
|
606
650
|
type: Component,
|
|
607
651
|
args: [{
|
|
608
652
|
selector: 'TouchableHighlight',
|
|
609
653
|
standalone: true,
|
|
654
|
+
hostDirectives: [{ directive: SymbioteStyleInputDirective, inputs: ['style'] }],
|
|
610
655
|
imports: [Pressable],
|
|
611
656
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
612
657
|
template: `
|
|
613
658
|
<Pressable
|
|
614
|
-
[style]="pressedStyle"
|
|
659
|
+
[style]="pressedStyle()"
|
|
615
660
|
(press)="press.emit($event)"
|
|
616
661
|
(pressIn)="pressIn.emit($event)"
|
|
617
662
|
(pressOut)="pressOut.emit($event)"
|
|
@@ -896,10 +941,23 @@ export class TouchableWithoutFeedback {
|
|
|
896
941
|
// The anchor's class-derived style goes first, then the explicit style, so an explicit [style]
|
|
897
942
|
// still beats the ambient class.
|
|
898
943
|
get mergedStyle() {
|
|
899
|
-
return [
|
|
944
|
+
return [this.anchorStyle(), this.style];
|
|
945
|
+
}
|
|
946
|
+
// The anchor's class-derived style is written by the renderer's addClass/removeClass at the USE
|
|
947
|
+
// SITE - it never appears in SimpleChanges, and nothing about it dirties THIS component's view.
|
|
948
|
+
// A `class=` present at creation therefore worked, while one toggled later did not: the parent
|
|
949
|
+
// refreshed, the class landed on the anchor, and this component's own view was never refreshed,
|
|
950
|
+
// so whatever merged the anchor style in was never re-evaluated. Polling it into a signal from
|
|
951
|
+
// ngDoCheck fixes both halves: ngDoCheck runs during the PARENT's refresh even when this view is
|
|
952
|
+
// skipped, and the signal write is what then marks this view for refresh. `signal.set`'s own
|
|
953
|
+
// Object.is makes an unchanged poll a no-op, so there is no loop.
|
|
954
|
+
anchorStyle = signal(undefined, /* @ts-ignore */
|
|
955
|
+
...(ngDevMode ? [{ debugName: "anchorStyle" }] : /* istanbul ignore next */ []));
|
|
956
|
+
ngDoCheck() {
|
|
957
|
+
this.anchorStyle.set(anchorStyleProp(this.elementRef));
|
|
900
958
|
}
|
|
901
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.
|
|
902
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.0.
|
|
959
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: TouchableWithoutFeedback, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
960
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.0.8", type: TouchableWithoutFeedback, isStandalone: true, selector: "TouchableWithoutFeedback", inputs: { delayPressIn: "delayPressIn", delayPressOut: "delayPressOut", minPressDuration: "minPressDuration", style: "style", delayLongPress: "delayLongPress", delayHoverIn: "delayHoverIn", delayHoverOut: "delayHoverOut", disabled: "disabled", cancelable: "cancelable", hitSlop: "hitSlop", pressRetentionOffset: "pressRetentionOffset", unstable_pressDelay: "unstable_pressDelay", android_ripple: "android_ripple", android_disableSound: "android_disableSound", testID: "testID", nativeID: "nativeID", hasTVPreferredFocus: "hasTVPreferredFocus", nextFocusDown: "nextFocusDown", nextFocusForward: "nextFocusForward", nextFocusLeft: "nextFocusLeft", nextFocusRight: "nextFocusRight", nextFocusUp: "nextFocusUp", accessible: "accessible", accessibilityLabel: "accessibilityLabel", accessibilityHint: "accessibilityHint", accessibilityRole: "accessibilityRole", accessibilityState: "accessibilityState", accessibilityValue: "accessibilityValue", accessibilityActions: "accessibilityActions", accessibilityLabelledBy: "accessibilityLabelledBy", importantForAccessibility: "importantForAccessibility", accessibilityLiveRegion: "accessibilityLiveRegion", screenReaderFocusable: "screenReaderFocusable", accessibilityViewIsModal: "accessibilityViewIsModal", accessibilityElementsHidden: "accessibilityElementsHidden", accessibilityIgnoresInvertColors: "accessibilityIgnoresInvertColors", accessibilityLanguage: "accessibilityLanguage", accessibilityRespondsToUserInteraction: "accessibilityRespondsToUserInteraction", accessibilityShowsLargeContentViewer: "accessibilityShowsLargeContentViewer", accessibilityLargeContentTitle: "accessibilityLargeContentTitle", ariaLabel: "ariaLabel", ariaBusy: "ariaBusy", ariaChecked: "ariaChecked", ariaDisabled: "ariaDisabled", ariaExpanded: "ariaExpanded", ariaHidden: "ariaHidden", ariaLabelledBy: "ariaLabelledBy", ariaLive: "ariaLive", ariaSelected: "ariaSelected", ariaModal: "ariaModal", ariaValueMax: "ariaValueMax", ariaValueMin: "ariaValueMin", ariaValueNow: "ariaValueNow", ariaValueText: "ariaValueText", id: "id", role: "role" }, outputs: { press: "press", pressIn: "pressIn", pressOut: "pressOut", pressMove: "pressMove", longPress: "longPress", hoverIn: "hoverIn", hoverOut: "hoverOut", accessibilityAction: "accessibilityAction", accessibilityTap: "accessibilityTap", magicTap: "magicTap", accessibilityEscape: "accessibilityEscape" }, hostDirectives: [{ directive: i1.SymbioteStyleInputDirective, inputs: ["style", "style"] }], ngImport: i0, template: `
|
|
903
961
|
<Pressable
|
|
904
962
|
[style]="mergedStyle"
|
|
905
963
|
(press)="press.emit($event)"
|
|
@@ -970,11 +1028,12 @@ export class TouchableWithoutFeedback {
|
|
|
970
1028
|
</Pressable>
|
|
971
1029
|
`, isInline: true, dependencies: [{ kind: "component", type: Pressable, selector: "Pressable, symbiote-pressable", inputs: ["delayLongPress", "disabled", "cancelable", "hitSlop", "pressRetentionOffset", "unstable_pressDelay", "android_ripple", "android_disableSound", "delayHoverIn", "delayHoverOut", "testID", "nativeID", "hasTVPreferredFocus", "nextFocusDown", "nextFocusForward", "nextFocusLeft", "nextFocusRight", "nextFocusUp", "style", "accessible", "accessibilityLabel", "accessibilityHint", "accessibilityRole", "accessibilityState", "accessibilityValue", "accessibilityActions", "accessibilityLabelledBy", "importantForAccessibility", "accessibilityLiveRegion", "screenReaderFocusable", "accessibilityViewIsModal", "accessibilityElementsHidden", "accessibilityIgnoresInvertColors", "accessibilityLanguage", "accessibilityRespondsToUserInteraction", "accessibilityShowsLargeContentViewer", "accessibilityLargeContentTitle", "ariaLabel", "ariaBusy", "ariaChecked", "ariaDisabled", "ariaExpanded", "ariaHidden", "ariaLabelledBy", "ariaLive", "ariaSelected", "ariaModal", "ariaValueMax", "ariaValueMin", "ariaValueNow", "ariaValueText", "id", "role"], outputs: ["press", "pressIn", "pressOut", "pressMove", "longPress", "hoverIn", "hoverOut", "accessibilityAction", "accessibilityTap", "magicTap", "accessibilityEscape"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
972
1030
|
}
|
|
973
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.
|
|
1031
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: TouchableWithoutFeedback, decorators: [{
|
|
974
1032
|
type: Component,
|
|
975
1033
|
args: [{
|
|
976
1034
|
selector: 'TouchableWithoutFeedback',
|
|
977
1035
|
standalone: true,
|
|
1036
|
+
hostDirectives: [{ directive: SymbioteStyleInputDirective, inputs: ['style'] }],
|
|
978
1037
|
imports: [Pressable],
|
|
979
1038
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
980
1039
|
template: `
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/touchable/index.ts"],"names":[],"mappings":"AAAA,+FAA+F;AAC/F,6FAA6F;AAC7F,0GAA0G;AAC1G,0BAA0B;AAC1B,oGAAoG;AACpG,oGAAoG;AACpG,4FAA4F;AAC5F,4DAA4D;AAC5D,iGAAiG;AACjG,iGAAiG;AACjG,mGAAmG;AACnG,EAAE;AACF,mGAAmG;AACnG,mGAAmG;AACnG,+FAA+F;AAC/F,2EAA2E;AAC3E,kGAAkG;AAClG,qGAAqG;AACrG,iGAAiG;AACjG,yFAAyF;AACzF,8FAA8F;AAC9F,sCAAsC;AACtC,+BAA+B;AAE/B,OAAO,EACL,sBAAs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
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/touchable/index.ts"],"names":[],"mappings":"AAAA,+FAA+F;AAC/F,6FAA6F;AAC7F,0GAA0G;AAC1G,0BAA0B;AAC1B,oGAAoG;AACpG,oGAAoG;AACpG,4FAA4F;AAC5F,4DAA4D;AAC5D,iGAAiG;AACjG,iGAAiG;AACjG,mGAAmG;AACnG,EAAE;AACF,mGAAmG;AACnG,mGAAmG;AACnG,+FAA+F;AAC/F,2EAA2E;AAC3E,kGAAkG;AAClG,qGAAqG;AACrG,iGAAiG;AACjG,yFAAyF;AACzF,8FAA8F;AAC9F,sCAAsC;AACtC,+BAA+B;AAE/B,OAAO,EACL,sBAAsB,EACtB,uBAAuB,EACvB,SAAS,EACT,QAAQ,EAER,UAAU,EACV,YAAY,EACZ,MAAM,EACN,KAAK,EAEL,MAAM,EACN,MAAM,GACP,MAAM,eAAe,CAAC;AACvB,OAAO,EACL,+BAA+B,EAC/B,8BAA8B,EAC9B,qBAAqB,EACrB,sBAAsB,EACtB,+BAA+B,EAC/B,6BAA6B,EAC7B,sBAAsB,EACtB,0BAA0B,EAC1B,4BAA4B,EAC5B,eAAe,GAShB,MAAM,6BAA6B,CAAC;AACrC,OAAO,EAAyD,MAAM,yBAAyB,CAAC;AAChG,OAAO,EAAE,eAAe,EAAE,eAAe,EAAE,2BAA2B,EAAE,MAAM,kBAAkB,CAAC;AACjG,OAAO,EAAE,SAAS,EAAgC,MAAM,cAAc,CAAC;AACvE,OAAO,EAAE,QAAQ,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAC;;;AAuBhE,oGAAoG;AACpG,qGAAqG;AACrG,SAAS,eAAe,CAAC,QAAoB,EAAE,EAAU;IACvD,MAAM,EAAE,GAAG,UAAU,CAAC,QAAQ,EAAE,EAAE,CAAC,CAAC;IACpC,OAAO,GAAG,EAAE,CAAC,YAAY,CAAC,EAAE,CAAC,CAAC;AAChC,CAAC;AAiFD,MAAM,OAAO,gBAA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,MAAM;;sBACN,MAAM;;sBACN,MAAM;;sBACN,MAAM;;sBACN,KAAK;;sBACL,KAAK;;sBACL,KAAK;;sBACL,KAAK;;sBACL,KAAK;;sBACL,KAAK;;sBACL,KAAK;;sBACL,KAAK;;sBACL,KAAK;;sBACL,KAAK;;sBACL,KAAK;;sBACL,KAAK;;sBACL,KAAK;;sBACL,KAAK;;sBACL,KAAK;;sBACL,KAAK;;sBACL,KAAK;;sBACL,KAAK;;sBACL,KAAK;;sBACL,KAAK;;sBACL,KAAK;;sBACL,KAAK;;sBACL,KAAK;;sBACL,KAAK;;sBACL,KAAK;;sBACL,KAAK;;sBACL,KAAK;;sBACL,KAAK;;sBACL,KAAK;;sBACL,KAAK;;sBACL,KAAK;;sBACL,KAAK;;sBACL,KAAK;;sBACL,KAAK;;sBACL,KAAK;;sBACL,KAAK;;sBACL,KAAK;;sBACL,KAAK;;sBACL,KAAK;;sBACL,KAAK;;sBACL,KAAK;;sBACL,KAAK;;sBACL,KAAK;;sBACL,KAAK;;sBACL,KAAK;;sBACL,KAAK;;sBACL,KAAK;;sBACL,KAAK;;sBACL,KAAK;;sBACL,KAAK;;sBACL,KAAK;;sBACL,KAAK;;sBACL,KAAK;;sBACL,KAAK;;sBACL,KAAK;;sBACL,KAAK"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { EventEmitter, type OnChanges } from '@angular/core';
|
|
1
|
+
import { EventEmitter, type DoCheck, type OnChanges } from '@angular/core';
|
|
2
2
|
import { canUseNativeForeground, rippleBackground, selectableBackground, selectableBackgroundBorderless, type IAccessibilityProps, type IAccessibilityStateValue, type IAriaProps, type INativeFeedbackBackground, type IPressableAndroidRippleConfig, type IRectOffset } from '@symbiote-native/components';
|
|
3
3
|
import { type ISymbioteEvent } from '@symbiote-native/engine';
|
|
4
4
|
import { type IAngularPressableInputs } from '../pressable';
|
|
@@ -8,7 +8,7 @@ export type IAngularTouchableNativeFeedbackProps = Omit<IAngularPressableInputs,
|
|
|
8
8
|
background?: INativeFeedbackBackground;
|
|
9
9
|
useForeground?: boolean;
|
|
10
10
|
};
|
|
11
|
-
export declare class TouchableNativeFeedback implements IAngularTouchableNativeFeedbackProps, OnChanges {
|
|
11
|
+
export declare class TouchableNativeFeedback implements IAngularTouchableNativeFeedbackProps, OnChanges, DoCheck {
|
|
12
12
|
static readonly SelectableBackground: typeof selectableBackground;
|
|
13
13
|
static readonly SelectableBackgroundBorderless: typeof selectableBackgroundBorderless;
|
|
14
14
|
static readonly Ripple: typeof rippleBackground;
|
|
@@ -72,10 +72,13 @@ export declare class TouchableNativeFeedback implements IAngularTouchableNativeF
|
|
|
72
72
|
ariaValueNow?: number;
|
|
73
73
|
ariaValueText?: string;
|
|
74
74
|
private readonly elementRef;
|
|
75
|
+
private readonly inputsRevision;
|
|
76
|
+
private readonly anchorStyle;
|
|
77
|
+
ngDoCheck(): void;
|
|
75
78
|
ngOnChanges(): void;
|
|
76
79
|
private get resolvedBackground();
|
|
77
80
|
get feedback(): Record<string, INativeFeedbackBackground>;
|
|
78
|
-
|
|
81
|
+
readonly hostProps: import("@angular/core").Signal<Record<string, unknown>>;
|
|
79
82
|
emit(emitter: EventEmitter<ISymbioteEvent>, event: unknown): void;
|
|
80
83
|
get folded(): Partial<IAngularTouchableNativeFeedbackProps>;
|
|
81
84
|
static ɵfac: i0.ɵɵFactoryDeclaration<TouchableNativeFeedback, never>;
|
|
@@ -1,23 +1,20 @@
|
|
|
1
1
|
// TouchableNativeFeedback: the Angular lifecycle half. Android's ripple / state-drawable
|
|
2
|
-
// touchable, built on Pressable like the rest of the family
|
|
3
|
-
//
|
|
4
|
-
//
|
|
5
|
-
//
|
|
6
|
-
//
|
|
7
|
-
//
|
|
8
|
-
//
|
|
9
|
-
//
|
|
10
|
-
// platforms), so this stays a flat single file, mirroring React/Vue.
|
|
2
|
+
// touchable, built on Pressable like the rest of the family. RN realizes its feedback by cloning
|
|
3
|
+
// the child into an RCTView carrying native ripple props; we instead nest the child under a
|
|
4
|
+
// feedback <symbiote-view> that carries those props (nativeBackgroundAndroid /
|
|
5
|
+
// nativeForegroundAndroid), inside a <Pressable> that owns the press wiring. The native props are
|
|
6
|
+
// read by Android's ReactViewManager; on iOS they are inert, so the child still renders with
|
|
7
|
+
// working press wiring. The static factories + background mapping are shared in
|
|
8
|
+
// @symbiote-native/components and reused verbatim. One Fabric path both platforms, so this stays
|
|
9
|
+
// a flat single file, mirroring React/Vue.
|
|
11
10
|
//
|
|
12
11
|
// This component's own press/hover events are real @Output() EventEmitters too, matching
|
|
13
|
-
// Pressable (which it wraps) — `(press)="press.emit($event)"`, never `[onPress]="onPress"`.
|
|
14
|
-
//
|
|
15
|
-
//
|
|
16
|
-
//
|
|
17
|
-
//
|
|
18
|
-
|
|
19
|
-
// Pressable does for its own host.
|
|
20
|
-
import { CUSTOM_ELEMENTS_SCHEMA, ChangeDetectionStrategy, Component, ElementRef, EventEmitter, inject, Input, Output, } from '@angular/core';
|
|
12
|
+
// Pressable (which it wraps) — `(press)="press.emit($event)"`, never `[onPress]="onPress"`. The
|
|
13
|
+
// a11y identity bag + the four a11y events live on the feedback view — the one host intrinsic here
|
|
14
|
+
// — folded through the shared resolveAccessibilityProps and routed through emit() on the (event)
|
|
15
|
+
// channel (Angular blocks [onX] property bindings on host elements). disabled folds into the a11y
|
|
16
|
+
// state via resolveDisabledAccessibilityState, exactly as Pressable does for its own host.
|
|
17
|
+
import { CUSTOM_ELEMENTS_SCHEMA, ChangeDetectionStrategy, Component, ElementRef, EventEmitter, computed, inject, Input, Output, signal, } from '@angular/core';
|
|
21
18
|
import { backgroundProps, canUseNativeForeground, resolveAccessibilityProps, resolveDisabledAccessibilityState, rippleBackground, selectableBackground, selectableBackgroundBorderless, } from '@symbiote-native/components';
|
|
22
19
|
import { dlog, isSymbioteEvent } from '@symbiote-native/engine';
|
|
23
20
|
import { anchorHostStyle, SymbioteHostPropsDirective, ViewHost } from '../../primitives';
|
|
@@ -94,7 +91,36 @@ export class TouchableNativeFeedback {
|
|
|
94
91
|
// TouchableNativeFeedback takes none either — style/class always came from the child), so the
|
|
95
92
|
// anchor's class-derived style is the ONLY style source for hostProps.style below.
|
|
96
93
|
elementRef = inject(ElementRef);
|
|
94
|
+
// Bridges the non-reactive @Input fields above into the reactive graph, so the computed() bag
|
|
95
|
+
// below can memoize a value derived from them. Signal inputs would make this unnecessary, but
|
|
96
|
+
// `input()` is visible only to the AOT compiler and this package's unit suite runs on JIT - see
|
|
97
|
+
// the `angular-adapter-change-detection` skill, §6. Mirrors ScrollView's identical bridge
|
|
98
|
+
// (components/scroll-view/shared.ts), including its constraint: ONLY safe for a bag whose every
|
|
99
|
+
// dependency is an @Input or carries its own signal, never for plain internal mutable state.
|
|
100
|
+
inputsRevision = signal(0, /* @ts-ignore */
|
|
101
|
+
...(ngDevMode ? [{ debugName: "inputsRevision" }] : /* istanbul ignore next */ []));
|
|
102
|
+
// The anchor's class-derived style is hostProps' one dependency that is NOT an @Input:
|
|
103
|
+
// `class="..."`/`[class.x]`/`[ngClass]` at the use site resolves through the renderer's
|
|
104
|
+
// addClass/removeClass onto the anchor node (anchorHostStyle's doc comment), so it never appears
|
|
105
|
+
// in SimpleChanges and ngOnChanges cannot cover it. The engine's commitClassStyle allocates a
|
|
106
|
+
// fresh [classStyle, explicitStyle] array on exactly the passes where a class token actually
|
|
107
|
+
// moved, so signal.set's own Object.is check makes an unchanged poll a no-op that dirties nothing.
|
|
108
|
+
anchorStyle = signal(undefined, /* @ts-ignore */
|
|
109
|
+
...(ngDevMode ? [{ debugName: "anchorStyle" }] : /* istanbul ignore next */ []));
|
|
110
|
+
// ngDoCheck is the only hook that observes the anchor AFTER the parent wrote it. Angular flushes
|
|
111
|
+
// a node's pre-order hooks at the next `advance` PAST it (hooks.ts callHooks runs "until that
|
|
112
|
+
// node index exclusive") or in refreshView's post-template flush - both strictly after the
|
|
113
|
+
// parent's classProp on this element, and strictly before this component's own view refreshes.
|
|
114
|
+
// Angular also nulls the active consumer around lifecycle hooks (render3/hooks.ts), so this
|
|
115
|
+
// write registers no dependency on the caller's view and cannot throw NG0600.
|
|
116
|
+
ngDoCheck() {
|
|
117
|
+
this.anchorStyle.set(anchorHostStyle(this.elementRef));
|
|
118
|
+
}
|
|
97
119
|
ngOnChanges() {
|
|
120
|
+
// Tells the computed bag below that an @Input moved - plain class fields are not reactive on
|
|
121
|
+
// their own. Must stay in ngOnChanges: that is the single moment Angular has finished writing
|
|
122
|
+
// every changed input for this pass.
|
|
123
|
+
this.inputsRevision.update(revision => revision + 1);
|
|
98
124
|
dlog(`TouchableNativeFeedback render ${this.resolvedBackground.type} useForeground ${this.useForeground === true}`);
|
|
99
125
|
}
|
|
100
126
|
// RN defaults a missing background to SelectableBackground() so the touchable always shows
|
|
@@ -109,17 +135,27 @@ export class TouchableNativeFeedback {
|
|
|
109
135
|
}
|
|
110
136
|
// Assembles the SAME resolved values the template used to bind one-by-one into a single
|
|
111
137
|
// flat bag for `[symbioteHostProps]` (Renderer2.setProperty per key) — see primitives/shared.ts.
|
|
112
|
-
|
|
138
|
+
//
|
|
139
|
+
// MEASURED 2026-08-16: as a getter this rebuilt the bag on every refresh of this view, and a
|
|
140
|
+
// press dirties this very view (SymbioteHostPropsDirective wraps each flat-bag onX with
|
|
141
|
+
// markForCheck), so `[symbioteHostProps]`'s reference check failed every time and re-pushed
|
|
142
|
+
// every key through Renderer2.setProperty -> routeProp for an identical bag. Memoized, an
|
|
143
|
+
// unchanged bag costs one reference compare. Every dependency below is either an @Input (covered
|
|
144
|
+
// by inputsRevision) or the anchor style (covered by its own signal) - nothing here reads plain
|
|
145
|
+
// internal mutable state, which is what makes memoizing this one safe.
|
|
146
|
+
hostProps = computed(() => {
|
|
147
|
+
this.inputsRevision();
|
|
113
148
|
return {
|
|
114
149
|
nativeBackgroundAndroid: this.feedback['nativeBackgroundAndroid'],
|
|
115
150
|
nativeForegroundAndroid: this.feedback['nativeForegroundAndroid'],
|
|
116
|
-
style:
|
|
151
|
+
style: this.anchorStyle(),
|
|
117
152
|
testID: this.testID,
|
|
118
153
|
nativeID: this.nativeID,
|
|
119
154
|
accessible: this.accessible,
|
|
120
155
|
...this.folded,
|
|
121
156
|
};
|
|
122
|
-
}
|
|
157
|
+
}, /* @ts-ignore */
|
|
158
|
+
...(ngDevMode ? [{ debugName: "hostProps" }] : /* istanbul ignore next */ []));
|
|
123
159
|
// Forward an engine event to the matching @Output(), narrowing the template's untyped $event.
|
|
124
160
|
emit(emitter, event) {
|
|
125
161
|
if (isSymbioteEvent(event))
|
|
@@ -164,8 +200,8 @@ export class TouchableNativeFeedback {
|
|
|
164
200
|
'aria-valuetext': this.ariaValueText,
|
|
165
201
|
});
|
|
166
202
|
}
|
|
167
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.
|
|
168
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.0.
|
|
203
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: TouchableNativeFeedback, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
204
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.0.8", type: TouchableNativeFeedback, isStandalone: true, selector: "TouchableNativeFeedback", inputs: { background: "background", useForeground: "useForeground", delayLongPress: "delayLongPress", delayHoverIn: "delayHoverIn", delayHoverOut: "delayHoverOut", disabled: "disabled", cancelable: "cancelable", hitSlop: "hitSlop", pressRetentionOffset: "pressRetentionOffset", unstable_pressDelay: "unstable_pressDelay", android_ripple: "android_ripple", android_disableSound: "android_disableSound", testID: "testID", nativeID: "nativeID", accessible: "accessible", accessibilityLabel: "accessibilityLabel", accessibilityHint: "accessibilityHint", accessibilityRole: "accessibilityRole", accessibilityState: "accessibilityState", accessibilityValue: "accessibilityValue", accessibilityActions: "accessibilityActions", accessibilityLabelledBy: "accessibilityLabelledBy", importantForAccessibility: "importantForAccessibility", accessibilityLiveRegion: "accessibilityLiveRegion", screenReaderFocusable: "screenReaderFocusable", accessibilityViewIsModal: "accessibilityViewIsModal", accessibilityElementsHidden: "accessibilityElementsHidden", accessibilityIgnoresInvertColors: "accessibilityIgnoresInvertColors", accessibilityLanguage: "accessibilityLanguage", accessibilityRespondsToUserInteraction: "accessibilityRespondsToUserInteraction", accessibilityShowsLargeContentViewer: "accessibilityShowsLargeContentViewer", accessibilityLargeContentTitle: "accessibilityLargeContentTitle", role: "role", ariaLabel: ["aria-label", "ariaLabel"], ariaLabelledBy: ["aria-labelledby", "ariaLabelledBy"], ariaLive: ["aria-live", "ariaLive"], ariaHidden: ["aria-hidden", "ariaHidden"], ariaBusy: ["aria-busy", "ariaBusy"], ariaChecked: ["aria-checked", "ariaChecked"], ariaDisabled: ["aria-disabled", "ariaDisabled"], ariaExpanded: ["aria-expanded", "ariaExpanded"], ariaSelected: ["aria-selected", "ariaSelected"], ariaModal: ["aria-modal", "ariaModal"], ariaValueMax: ["aria-valuemax", "ariaValueMax"], ariaValueMin: ["aria-valuemin", "ariaValueMin"], ariaValueNow: ["aria-valuenow", "ariaValueNow"], ariaValueText: ["aria-valuetext", "ariaValueText"] }, outputs: { press: "press", pressIn: "pressIn", pressOut: "pressOut", pressMove: "pressMove", longPress: "longPress", hoverIn: "hoverIn", hoverOut: "hoverOut", accessibilityAction: "accessibilityAction", accessibilityTap: "accessibilityTap", magicTap: "magicTap", accessibilityEscape: "accessibilityEscape" }, usesOnChanges: true, ngImport: i0, template: `
|
|
169
205
|
<Pressable
|
|
170
206
|
(press)="press.emit($event)"
|
|
171
207
|
(pressIn)="pressIn.emit($event)"
|
|
@@ -186,7 +222,7 @@ export class TouchableNativeFeedback {
|
|
|
186
222
|
[android_disableSound]="android_disableSound"
|
|
187
223
|
>
|
|
188
224
|
<symbiote-view
|
|
189
|
-
[symbioteHostProps]="hostProps"
|
|
225
|
+
[symbioteHostProps]="hostProps()"
|
|
190
226
|
(accessibilityAction)="emit(accessibilityAction, $event)"
|
|
191
227
|
(accessibilityTap)="emit(accessibilityTap, $event)"
|
|
192
228
|
(magicTap)="emit(magicTap, $event)"
|
|
@@ -197,7 +233,7 @@ export class TouchableNativeFeedback {
|
|
|
197
233
|
</Pressable>
|
|
198
234
|
`, isInline: true, dependencies: [{ kind: "component", type: Pressable, selector: "Pressable, symbiote-pressable", inputs: ["delayLongPress", "disabled", "cancelable", "hitSlop", "pressRetentionOffset", "unstable_pressDelay", "android_ripple", "android_disableSound", "delayHoverIn", "delayHoverOut", "testID", "nativeID", "hasTVPreferredFocus", "nextFocusDown", "nextFocusForward", "nextFocusLeft", "nextFocusRight", "nextFocusUp", "style", "accessible", "accessibilityLabel", "accessibilityHint", "accessibilityRole", "accessibilityState", "accessibilityValue", "accessibilityActions", "accessibilityLabelledBy", "importantForAccessibility", "accessibilityLiveRegion", "screenReaderFocusable", "accessibilityViewIsModal", "accessibilityElementsHidden", "accessibilityIgnoresInvertColors", "accessibilityLanguage", "accessibilityRespondsToUserInteraction", "accessibilityShowsLargeContentViewer", "accessibilityLargeContentTitle", "ariaLabel", "ariaBusy", "ariaChecked", "ariaDisabled", "ariaExpanded", "ariaHidden", "ariaLabelledBy", "ariaLive", "ariaSelected", "ariaModal", "ariaValueMax", "ariaValueMin", "ariaValueNow", "ariaValueText", "id", "role"], outputs: ["press", "pressIn", "pressOut", "pressMove", "longPress", "hoverIn", "hoverOut", "accessibilityAction", "accessibilityTap", "magicTap", "accessibilityEscape"] }, { kind: "component", type: ViewHost, selector: "symbiote-view, View" }, { kind: "directive", type: SymbioteHostPropsDirective, selector: "[symbioteHostProps]", inputs: ["symbioteHostProps"], exportAs: ["symbioteHost"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
199
235
|
}
|
|
200
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.
|
|
236
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: TouchableNativeFeedback, decorators: [{
|
|
201
237
|
type: Component,
|
|
202
238
|
args: [{
|
|
203
239
|
selector: 'TouchableNativeFeedback',
|
|
@@ -226,7 +262,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.5", ngImpor
|
|
|
226
262
|
[android_disableSound]="android_disableSound"
|
|
227
263
|
>
|
|
228
264
|
<symbiote-view
|
|
229
|
-
[symbioteHostProps]="hostProps"
|
|
265
|
+
[symbioteHostProps]="hostProps()"
|
|
230
266
|
(accessibilityAction)="emit(accessibilityAction, $event)"
|
|
231
267
|
(accessibilityTap)="emit(accessibilityTap, $event)"
|
|
232
268
|
(magicTap)="emit(magicTap, $event)"
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/touchable-native-feedback/index.ts"],"names":[],"mappings":"AAAA,yFAAyF;AACzF,+
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/touchable-native-feedback/index.ts"],"names":[],"mappings":"AAAA,yFAAyF;AACzF,iGAAiG;AACjG,4FAA4F;AAC5F,+EAA+E;AAC/E,kGAAkG;AAClG,6FAA6F;AAC7F,gFAAgF;AAChF,iGAAiG;AACjG,2CAA2C;AAC3C,EAAE;AACF,yFAAyF;AACzF,gGAAgG;AAChG,mGAAmG;AACnG,iGAAiG;AACjG,kGAAkG;AAClG,2FAA2F;AAE3F,OAAO,EACL,sBAAsB,EACtB,uBAAuB,EACvB,SAAS,EACT,UAAU,EACV,YAAY,EACZ,QAAQ,EACR,MAAM,EACN,KAAK,EACL,MAAM,EACN,MAAM,GAGP,MAAM,eAAe,CAAC;AACvB,OAAO,EACL,eAAe,EACf,sBAAsB,EACtB,yBAAyB,EACzB,iCAAiC,EACjC,gBAAgB,EAChB,oBAAoB,EACpB,8BAA8B,GAO/B,MAAM,6BAA6B,CAAC;AACrC,OAAO,EAAE,IAAI,EAAE,eAAe,EAAuB,MAAM,yBAAyB,CAAC;AACrF,OAAO,EAAE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,KAAK;uBAAC,iBAAiB;;sBACvB,KAAK;uBAAC,WAAW;;sBACjB,KAAK;uBAAC,aAAa;;sBACnB,KAAK;uBAAC,WAAW;;sBACjB,KAAK;uBAAC,cAAc;;sBACpB,KAAK;uBAAC,eAAe;;sBACrB,KAAK;uBAAC,eAAe;;sBACrB,KAAK;uBAAC,eAAe;;sBACrB,KAAK;uBAAC,YAAY;;sBAClB,KAAK;uBAAC,eAAe;;sBACrB,KAAK;uBAAC,eAAe;;sBACrB,KAAK;uBAAC,eAAe;;sBACrB,KAAK;uBAAC,gBAAgB"}
|
|
@@ -37,30 +37,30 @@ export class VListItemDirective {
|
|
|
37
37
|
static ngTemplateContextGuard(_dir, _ctx) {
|
|
38
38
|
return true;
|
|
39
39
|
}
|
|
40
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.
|
|
41
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.0.
|
|
40
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: VListItemDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
41
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.0.8", type: VListItemDirective, isStandalone: true, selector: "[vListItem]", ngImport: i0 });
|
|
42
42
|
}
|
|
43
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.
|
|
43
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: VListItemDirective, decorators: [{
|
|
44
44
|
type: Directive,
|
|
45
45
|
args: [{ selector: '[vListItem]', standalone: true }]
|
|
46
46
|
}] });
|
|
47
47
|
// `<ng-template vListHeader>` — rendered once above the cells (RN ListHeaderComponent).
|
|
48
48
|
export class VListHeaderDirective {
|
|
49
49
|
templateRef = inject(TemplateRef);
|
|
50
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.
|
|
51
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.0.
|
|
50
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: VListHeaderDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
51
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.0.8", type: VListHeaderDirective, isStandalone: true, selector: "[vListHeader]", ngImport: i0 });
|
|
52
52
|
}
|
|
53
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.
|
|
53
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: VListHeaderDirective, decorators: [{
|
|
54
54
|
type: Directive,
|
|
55
55
|
args: [{ selector: '[vListHeader]', standalone: true }]
|
|
56
56
|
}] });
|
|
57
57
|
// `<ng-template vListFooter>` — rendered once below the cells (RN ListFooterComponent).
|
|
58
58
|
export class VListFooterDirective {
|
|
59
59
|
templateRef = inject(TemplateRef);
|
|
60
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.
|
|
61
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.0.
|
|
60
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: VListFooterDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
61
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.0.8", type: VListFooterDirective, isStandalone: true, selector: "[vListFooter]", ngImport: i0 });
|
|
62
62
|
}
|
|
63
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.
|
|
63
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: VListFooterDirective, decorators: [{
|
|
64
64
|
type: Directive,
|
|
65
65
|
args: [{ selector: '[vListFooter]', standalone: true }]
|
|
66
66
|
}] });
|
|
@@ -68,10 +68,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.5", ngImpor
|
|
|
68
68
|
// (RN ListEmptyComponent).
|
|
69
69
|
export class VListEmptyDirective {
|
|
70
70
|
templateRef = inject(TemplateRef);
|
|
71
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.
|
|
72
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.0.
|
|
71
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: VListEmptyDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
72
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.0.8", type: VListEmptyDirective, isStandalone: true, selector: "[vListEmpty]", ngImport: i0 });
|
|
73
73
|
}
|
|
74
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.
|
|
74
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: VListEmptyDirective, decorators: [{
|
|
75
75
|
type: Directive,
|
|
76
76
|
args: [{ selector: '[vListEmpty]', standalone: true }]
|
|
77
77
|
}] });
|
|
@@ -82,10 +82,10 @@ export class VListSeparatorDirective {
|
|
|
82
82
|
static ngTemplateContextGuard(_dir, _ctx) {
|
|
83
83
|
return true;
|
|
84
84
|
}
|
|
85
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.
|
|
86
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.0.
|
|
85
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: VListSeparatorDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
86
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.0.8", type: VListSeparatorDirective, isStandalone: true, selector: "[vListSeparator]", ngImport: i0 });
|
|
87
87
|
}
|
|
88
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.
|
|
88
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: VListSeparatorDirective, decorators: [{
|
|
89
89
|
type: Directive,
|
|
90
90
|
args: [{ selector: '[vListSeparator]', standalone: true }]
|
|
91
91
|
}] });
|
|
@@ -128,10 +128,10 @@ export class VListOutletDirective {
|
|
|
128
128
|
return;
|
|
129
129
|
copyContextFields(viewContext, nextContext);
|
|
130
130
|
}
|
|
131
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.
|
|
132
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.0.
|
|
131
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: VListOutletDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
132
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.0.8", type: VListOutletDirective, isStandalone: true, selector: "[vListOutlet]", inputs: { templateRef: ["vListOutlet", "templateRef"], context: ["vListOutletContext", "context"] }, usesOnChanges: true, ngImport: i0 });
|
|
133
133
|
}
|
|
134
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.
|
|
134
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: VListOutletDirective, decorators: [{
|
|
135
135
|
type: Directive,
|
|
136
136
|
args: [{ selector: '[vListOutlet]', standalone: true }]
|
|
137
137
|
}], propDecorators: { templateRef: [{
|