@symbiote-native/angular 0.8.0 → 2.0.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/README.md +13 -10
- package/babel-register-composed.cjs +58 -18
- package/bin/symbiote-angular-dev.cjs +16 -4
- package/build/angular/anchor-host-registry.js +1 -15
- package/build/angular/anchor-host-registry.js.map +1 -1
- package/build/angular/change-detection-flush.d.ts +31 -0
- package/build/angular/change-detection-flush.js +110 -0
- package/build/angular/change-detection-flush.js.map +1 -0
- package/build/angular/components/activity-indicator-props.d.ts +2 -0
- package/build/angular/components/activity-indicator-props.js +2 -0
- package/build/angular/components/activity-indicator-props.js.map +1 -0
- package/build/angular/components/button-props.d.ts +2 -0
- package/build/angular/components/button-props.js +2 -0
- package/build/angular/components/button-props.js.map +1 -0
- package/build/angular/components/flat-list/index.d.ts +2 -1
- package/build/angular/components/flat-list/index.js +22 -10
- package/build/angular/components/flat-list/index.js.map +1 -1
- package/build/angular/components/image-background-props.d.ts +6 -0
- package/build/angular/components/image-background-props.js +2 -0
- package/build/angular/components/image-background-props.js.map +1 -0
- package/build/angular/components/{image/shared.d.ts → image-shared.d.ts} +4 -4
- package/build/angular/components/{image/shared.js → image-shared.js} +39 -28
- package/build/angular/components/image-shared.js.map +1 -0
- package/build/angular/components/input-accessory-view-props.d.ts +7 -0
- package/build/angular/components/input-accessory-view-props.js +9 -0
- package/build/angular/components/input-accessory-view-props.js.map +1 -0
- package/build/angular/components/keyboard-avoiding-view/index.d.ts +2 -1
- package/build/angular/components/keyboard-avoiding-view/index.js +28 -27
- package/build/angular/components/keyboard-avoiding-view/index.js.map +1 -1
- package/build/angular/components/modal/index.d.ts +2 -0
- package/build/angular/components/modal/index.js +33 -20
- package/build/angular/components/modal/index.js.map +1 -1
- package/build/angular/components/pressable-props.d.ts +32 -0
- package/build/angular/components/pressable-props.js +11 -0
- package/build/angular/components/pressable-props.js.map +1 -0
- package/build/angular/components/refresh-control-props.d.ts +16 -0
- package/build/angular/components/refresh-control-props.js +14 -0
- package/build/angular/components/refresh-control-props.js.map +1 -0
- package/build/angular/components/safe-area-view-props.d.ts +7 -0
- package/build/angular/components/safe-area-view-props.js +11 -0
- package/build/angular/components/safe-area-view-props.js.map +1 -0
- package/build/angular/components/scroll-view-props.d.ts +76 -0
- package/build/angular/components/scroll-view-props.js +18 -0
- package/build/angular/components/scroll-view-props.js.map +1 -0
- package/build/angular/components/section-list/index.d.ts +3 -0
- package/build/angular/components/section-list/index.js +10 -1
- package/build/angular/components/section-list/index.js.map +1 -1
- package/build/angular/components/text-input-props.d.ts +45 -0
- package/build/angular/components/text-input-props.js +18 -0
- package/build/angular/components/text-input-props.js.map +1 -0
- package/build/angular/components/touchable-native-feedback/touchable-native-feedback-props.d.ts +6 -0
- package/build/angular/components/touchable-native-feedback/touchable-native-feedback-props.js +2 -0
- package/build/angular/components/touchable-native-feedback/touchable-native-feedback-props.js.map +1 -0
- package/build/angular/components/touchable-props.d.ts +14 -0
- package/build/angular/components/touchable-props.js +13 -0
- package/build/angular/components/touchable-props.js.map +1 -0
- package/build/angular/components/touchable-without-feedback/touchable-without-feedback-props.d.ts +3 -0
- package/build/angular/components/touchable-without-feedback/touchable-without-feedback-props.js +2 -0
- package/build/angular/components/touchable-without-feedback/touchable-without-feedback-props.js.map +1 -0
- package/build/angular/components/virtualized-list/index.d.ts +8 -1
- package/build/angular/components/virtualized-list/index.js +373 -278
- package/build/angular/components/virtualized-list/index.js.map +1 -1
- package/build/angular/components/virtualized-section-list/index.d.ts +3 -0
- package/build/angular/components/virtualized-section-list/index.js +10 -1
- package/build/angular/components/virtualized-section-list/index.js.map +1 -1
- package/build/angular/components.d.ts +21 -27
- package/build/angular/components.js +13 -15
- package/build/angular/components.js.map +1 -1
- package/build/angular/create-portal/index.d.ts +11 -2
- package/build/angular/create-portal/index.js +37 -11
- package/build/angular/create-portal/index.js.map +1 -1
- package/build/angular/create-tunnel/index.js +1 -1
- package/build/angular/element-props.d.ts +53 -0
- package/build/angular/element-props.js +2 -0
- package/build/angular/element-props.js.map +1 -0
- package/build/angular/elements.d.ts +528 -0
- package/build/angular/elements.js +1444 -0
- package/build/angular/elements.js.map +1 -0
- package/build/angular/gate-demand.d.ts +37 -0
- package/build/angular/gate-demand.js +84 -0
- package/build/angular/gate-demand.js.map +1 -0
- package/build/angular/host-instance/index.js +1 -1
- package/build/angular/index.d.ts +5 -2
- package/build/angular/index.js +16 -1
- package/build/angular/index.js.map +1 -1
- package/build/angular/modules/animated/create-animated-component.d.ts +6 -6
- package/build/angular/modules/animated/create-animated-component.js +73 -81
- package/build/angular/modules/animated/create-animated-component.js.map +1 -1
- package/build/angular/modules/animated/index.js +1 -1
- package/build/angular/modules/animated/index.js.map +1 -1
- package/build/angular/modules/image/index.d.ts +3 -0
- package/build/angular/modules/image/index.js +16 -0
- package/build/angular/modules/image/index.js.map +1 -0
- package/build/angular/primitives/index.d.ts +28 -16
- package/build/angular/primitives/index.js +77 -31
- package/build/angular/primitives/index.js.map +1 -1
- package/build/angular/primitives/shared.d.ts +2 -3
- package/build/angular/primitives/shared.js +8 -53
- package/build/angular/primitives/shared.js.map +1 -1
- package/build/angular/register.d.ts +1 -0
- package/build/angular/register.js +16 -0
- package/build/angular/register.js.map +1 -0
- package/build/angular/render/index.js +4 -2
- package/build/angular/render/index.js.map +1 -1
- package/build/angular/renderer/index.js +207 -60
- package/build/angular/renderer/index.js.map +1 -1
- package/build/angular/renderer/value-change.d.ts +2 -0
- package/build/angular/renderer/value-change.js +9 -0
- package/build/angular/renderer/value-change.js.map +1 -0
- package/metro-config.cjs +23 -5
- package/metro-css-parser.cjs +2 -1
- package/package.json +17 -7
- package/src/anchor-host-registry.ts +1 -15
- package/src/change-detection-flush.ts +120 -0
- package/src/components/activity-indicator-props.ts +21 -0
- package/src/components/button-props.ts +26 -0
- package/src/components/flat-list/index.ts +12 -4
- package/src/components/image-background-props.ts +24 -0
- package/src/components/{image/shared.ts → image-shared.ts} +57 -26
- package/src/components/input-accessory-view-props.ts +21 -0
- package/src/components/keyboard-avoiding-view/index.ts +27 -16
- package/src/components/modal/index.ts +32 -11
- package/src/components/pressable-props.ts +73 -0
- package/src/components/refresh-control-props.ts +43 -0
- package/src/components/safe-area-view-props.ts +28 -0
- package/src/components/scroll-view-props.ts +109 -0
- package/src/components/section-list/index.ts +18 -0
- package/src/components/text-input-props.ts +72 -0
- package/src/components/touchable-native-feedback/touchable-native-feedback-props.ts +23 -0
- package/src/components/touchable-props.ts +30 -0
- package/src/components/touchable-without-feedback/touchable-without-feedback-props.ts +21 -0
- package/src/components/virtualized-list/index.ts +254 -153
- package/src/components/virtualized-section-list/index.ts +18 -0
- package/src/components.ts +86 -35
- package/src/create-portal/index.ts +39 -9
- package/src/create-tunnel/index.ts +1 -1
- package/src/diagnostics.ts +1 -1
- package/src/element-props.ts +90 -0
- package/src/elements.ts +919 -0
- package/src/gate-demand.ts +109 -0
- package/src/host-instance/index.ts +1 -1
- package/src/index.ts +54 -15
- package/src/modules/animated/create-animated-component.ts +73 -59
- package/src/modules/animated/index.ts +1 -1
- package/src/modules/image/index.ts +18 -0
- package/src/primitives/index.ts +47 -16
- package/src/primitives/shared.ts +11 -44
- package/src/register.ts +15 -0
- package/src/render/index.ts +4 -2
- package/src/renderer/index.ts +239 -80
- package/src/renderer/value-change.ts +8 -0
- package/build/angular/components/activity-indicator/index.android.d.ts +0 -13
- package/build/angular/components/activity-indicator/index.android.js +0 -29
- package/build/angular/components/activity-indicator/index.android.js.map +0 -1
- package/build/angular/components/activity-indicator/index.d.ts +0 -1
- package/build/angular/components/activity-indicator/index.ios.d.ts +0 -9
- package/build/angular/components/activity-indicator/index.ios.js +0 -26
- package/build/angular/components/activity-indicator/index.ios.js.map +0 -1
- package/build/angular/components/activity-indicator/index.js +0 -4
- package/build/angular/components/activity-indicator/index.js.map +0 -1
- package/build/angular/components/activity-indicator/shared.d.ts +0 -67
- package/build/angular/components/activity-indicator/shared.js +0 -260
- package/build/angular/components/activity-indicator/shared.js.map +0 -1
- package/build/angular/components/button.d.ts +0 -65
- package/build/angular/components/button.js +0 -351
- package/build/angular/components/button.js.map +0 -1
- package/build/angular/components/image/index.android.d.ts +0 -15
- package/build/angular/components/image/index.android.js +0 -91
- package/build/angular/components/image/index.android.js.map +0 -1
- package/build/angular/components/image/index.d.ts +0 -1
- package/build/angular/components/image/index.ios.d.ts +0 -15
- package/build/angular/components/image/index.ios.js +0 -91
- package/build/angular/components/image/index.ios.js.map +0 -1
- package/build/angular/components/image/index.js +0 -3
- package/build/angular/components/image/index.js.map +0 -1
- package/build/angular/components/image/shared.js.map +0 -1
- package/build/angular/components/image-background.d.ts +0 -82
- package/build/angular/components/image-background.js +0 -434
- package/build/angular/components/image-background.js.map +0 -1
- package/build/angular/components/input-accessory-view/index.d.ts +0 -65
- package/build/angular/components/input-accessory-view/index.js +0 -290
- package/build/angular/components/input-accessory-view/index.js.map +0 -1
- package/build/angular/components/pressable/index.d.ts +0 -129
- package/build/angular/components/pressable/index.js +0 -473
- package/build/angular/components/pressable/index.js.map +0 -1
- package/build/angular/components/refresh-control/index.d.ts +0 -90
- package/build/angular/components/refresh-control/index.js +0 -380
- package/build/angular/components/refresh-control/index.js.map +0 -1
- package/build/angular/components/safe-area-view/index.d.ts +0 -62
- package/build/angular/components/safe-area-view/index.js +0 -287
- package/build/angular/components/safe-area-view/index.js.map +0 -1
- package/build/angular/components/scroll-view/index.android.d.ts +0 -20
- package/build/angular/components/scroll-view/index.android.js +0 -262
- package/build/angular/components/scroll-view/index.android.js.map +0 -1
- package/build/angular/components/scroll-view/index.d.ts +0 -3
- package/build/angular/components/scroll-view/index.ios.d.ts +0 -8
- package/build/angular/components/scroll-view/index.ios.js +0 -92
- package/build/angular/components/scroll-view/index.ios.js.map +0 -1
- package/build/angular/components/scroll-view/index.js +0 -6
- package/build/angular/components/scroll-view/index.js.map +0 -1
- package/build/angular/components/scroll-view/projection.d.ts +0 -67
- package/build/angular/components/scroll-view/projection.js +0 -560
- package/build/angular/components/scroll-view/projection.js.map +0 -1
- package/build/angular/components/scroll-view/shared.d.ts +0 -239
- package/build/angular/components/scroll-view/shared.js +0 -832
- package/build/angular/components/scroll-view/shared.js.map +0 -1
- package/build/angular/components/scroll-view/sticky-header.d.ts +0 -40
- package/build/angular/components/scroll-view/sticky-header.js +0 -224
- package/build/angular/components/scroll-view/sticky-header.js.map +0 -1
- package/build/angular/components/switch/index.android.d.ts +0 -24
- package/build/angular/components/switch/index.android.js +0 -112
- package/build/angular/components/switch/index.android.js.map +0 -1
- package/build/angular/components/switch/index.d.ts +0 -1
- package/build/angular/components/switch/index.ios.d.ts +0 -23
- package/build/angular/components/switch/index.ios.js +0 -111
- package/build/angular/components/switch/index.ios.js.map +0 -1
- package/build/angular/components/switch/index.js +0 -4
- package/build/angular/components/switch/index.js.map +0 -1
- package/build/angular/components/switch/shared.d.ts +0 -49
- package/build/angular/components/switch/shared.js +0 -191
- package/build/angular/components/switch/shared.js.map +0 -1
- package/build/angular/components/text-input.d.ts +0 -161
- package/build/angular/components/text-input.js +0 -659
- package/build/angular/components/text-input.js.map +0 -1
- package/build/angular/components/touchable/index.d.ts +0 -276
- package/build/angular/components/touchable/index.js +0 -1422
- package/build/angular/components/touchable/index.js.map +0 -1
- package/build/angular/components/touchable-native-feedback/index.d.ts +0 -86
- package/build/angular/components/touchable-native-feedback/index.js +0 -407
- package/build/angular/components/touchable-native-feedback/index.js.map +0 -1
- package/src/components/activity-indicator/index.android.ts +0 -23
- package/src/components/activity-indicator/index.ios.ts +0 -21
- package/src/components/activity-indicator/index.ts +0 -4
- package/src/components/activity-indicator/shared.ts +0 -225
- package/src/components/button.ts +0 -220
- package/src/components/image/index.android.ts +0 -99
- package/src/components/image/index.ios.ts +0 -99
- package/src/components/image/index.ts +0 -3
- package/src/components/image-background.ts +0 -290
- package/src/components/input-accessory-view/index.ts +0 -240
- package/src/components/pressable/index.ts +0 -462
- package/src/components/refresh-control/index.ts +0 -340
- package/src/components/safe-area-view/index.ts +0 -231
- package/src/components/scroll-view/index.android.ts +0 -205
- package/src/components/scroll-view/index.ios.ts +0 -81
- package/src/components/scroll-view/index.ts +0 -7
- package/src/components/scroll-view/projection.ts +0 -713
- package/src/components/scroll-view/shared.ts +0 -1066
- package/src/components/scroll-view/sticky-header.ts +0 -267
- package/src/components/switch/index.android.ts +0 -113
- package/src/components/switch/index.ios.ts +0 -112
- package/src/components/switch/index.ts +0 -4
- package/src/components/switch/shared.ts +0 -284
- package/src/components/text-input.ts +0 -613
- package/src/components/touchable/index.ts +0 -913
- package/src/components/touchable-native-feedback/index.ts +0 -317
|
@@ -15,15 +15,19 @@
|
|
|
15
15
|
// -> setNativeProps(node), same as the other adapters.
|
|
16
16
|
import { ChangeDetectionStrategy, Component, CUSTOM_ELEMENTS_SCHEMA, Directive, ElementRef, inject, signal, ViewChild, } from '@angular/core';
|
|
17
17
|
import { isNativeAnimatedAvailable, isSymbioteNode, reduceProps, readPassthroughStyle, resolveHostNode, } from '@symbiote-native/engine';
|
|
18
|
-
import {
|
|
19
|
-
import {
|
|
20
|
-
import { anchorHostStyle, ImageHost, ScrollViewHost, SymbioteHostPropsDirective, SymbioteStyleInputDirective, TextHost, ViewHost, } from '../../primitives';
|
|
18
|
+
import { Text, View } from '../../components';
|
|
19
|
+
import { anchorHostStyle, ImageHost, SymbioteHostPropsDirective, SymbioteStyleInputDirective, TextHost, ViewHost, } from '../../primitives';
|
|
21
20
|
import { FlatList } from '../../components/flat-list';
|
|
22
|
-
import { IMAGE_INPUTS, IMAGE_OUTPUTS, ImageBase, resolveImageProps, } from '../../components/image
|
|
21
|
+
import { IMAGE_INPUTS, IMAGE_OUTPUTS, ImageBase, isImageEventCallback, resolveImageProps, } from '../../components/image-shared';
|
|
23
22
|
import { SectionList } from '../../components/section-list';
|
|
24
23
|
import { AnimatedLeafBinder } from './animated-leaf-binder';
|
|
25
24
|
import * as i0 from "@angular/core";
|
|
26
25
|
import * as i1 from "../../primitives/shared";
|
|
26
|
+
// The intrinsic `createAnimatedComponent` accepts in place of the deleted `Image` component.
|
|
27
|
+
const IMAGE_TAG = 'image';
|
|
28
|
+
// Same move for the deleted `ScrollView` component — the vertical axis's own tag stands in for
|
|
29
|
+
// the class identity the generic dispatcher used to compare against.
|
|
30
|
+
const SCROLL_VIEW_TAG = 'scroll-view';
|
|
27
31
|
// RN's prop carrying explicit (already-rasterized) values that override the animated prop in
|
|
28
32
|
// the COMMITTED props (sticky-header passthrough). Named once so the directive input and the
|
|
29
33
|
// reconcile agree.
|
|
@@ -33,7 +37,17 @@ const PASSTHROUGH_PROP = 'passthroughAnimatedPropExplicitValues';
|
|
|
33
37
|
// escape hatch for any OTHER prop that may hold an AnimatedNode or an Animated.event handler,
|
|
34
38
|
// plus static host props to forward (the React/Vue `rest`). Each concrete @Component re-lists
|
|
35
39
|
// these (Angular's inputs-on-base convention, mirroring Switch/Image).
|
|
36
|
-
|
|
40
|
+
// `testID` is listed alongside them rather than left to `animatedProps`, which is the documented
|
|
41
|
+
// escape hatch for everything else. Every other component in this adapter takes it as an ordinary
|
|
42
|
+
// input, and React's `createAnimatedComponent` spreads `...props`, so `<AnimatedView testID="x">`
|
|
43
|
+
// is what an app writes — it compiled (a static attribute on a component tag is never checked),
|
|
44
|
+
// landed on the non-painting anchor host and committed nowhere.
|
|
45
|
+
export const ANIMATED_INPUTS = [
|
|
46
|
+
'style',
|
|
47
|
+
'testID',
|
|
48
|
+
'animatedProps',
|
|
49
|
+
PASSTHROUGH_PROP,
|
|
50
|
+
];
|
|
37
51
|
export const ANIMATED_IMAGE_INPUTS = [
|
|
38
52
|
...IMAGE_INPUTS,
|
|
39
53
|
'animatedProps',
|
|
@@ -46,6 +60,7 @@ export const ANIMATED_IMAGE_INPUTS = [
|
|
|
46
60
|
// declares lifecycle hooks — without it ngtsc rejects the inherited hooks (NG2007).
|
|
47
61
|
export class AnimatedComponentBase {
|
|
48
62
|
style;
|
|
63
|
+
testID;
|
|
49
64
|
animatedProps;
|
|
50
65
|
passthroughAnimatedPropExplicitValues;
|
|
51
66
|
// This component's OWN host — every Animated* wrapper is a non-painting ANCHOR
|
|
@@ -125,9 +140,11 @@ export class AnimatedComponentBase {
|
|
|
125
140
|
// never disagree.
|
|
126
141
|
mergedProps() {
|
|
127
142
|
const base = this.animatedProps ?? {};
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
143
|
+
const merged = this.style === undefined ? { ...base } : { ...base, style: this.style };
|
|
144
|
+
// Only when set, so an unset input cannot clear a `testID` the app put in `animatedProps`.
|
|
145
|
+
if (this.testID !== undefined)
|
|
146
|
+
merged.testID = this.testID;
|
|
147
|
+
return merged;
|
|
131
148
|
}
|
|
132
149
|
// The committed host node held by IDENTITY. resolveHostNode unwraps an imperative scroll
|
|
133
150
|
// handle to the underlying SymbioteNode (View / Text already hand back the node directly);
|
|
@@ -147,11 +164,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImpor
|
|
|
147
164
|
}] } });
|
|
148
165
|
export class AnimatedView extends AnimatedComponentBase {
|
|
149
166
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: AnimatedView, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
150
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.0.8", type: AnimatedView, isStandalone: true, selector: "AnimatedView, symbiote-animated-view", inputs: { style: "style", animatedProps: "animatedProps", passthroughAnimatedPropExplicitValues: "passthroughAnimatedPropExplicitValues" }, usesInheritance: true, hostDirectives: [{ directive: i1.SymbioteStyleInputDirective, inputs: ["style", "style"] }], ngImport: i0, template: `
|
|
151
|
-
<
|
|
167
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.0.8", type: AnimatedView, isStandalone: true, selector: "AnimatedView, symbiote-animated-view", inputs: { style: "style", testID: "testID", animatedProps: "animatedProps", passthroughAnimatedPropExplicitValues: "passthroughAnimatedPropExplicitValues" }, usesInheritance: true, hostDirectives: [{ directive: i1.SymbioteStyleInputDirective, inputs: ["style", "style"] }], ngImport: i0, template: `
|
|
168
|
+
<view [symbioteHostProps]="reducedProps">
|
|
152
169
|
<ng-content></ng-content>
|
|
153
|
-
</
|
|
154
|
-
`, isInline: true, dependencies: [{ kind: "directive", type: SymbioteHostPropsDirective, selector: "[symbioteHostProps]", inputs: ["symbioteHostProps"], exportAs: ["symbioteHost"] }, { kind: "component", type: ViewHost, selector: "
|
|
170
|
+
</view>
|
|
171
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: SymbioteHostPropsDirective, selector: "[symbioteHostProps]", inputs: ["symbioteHostProps"], exportAs: ["symbioteHost"] }, { kind: "component", type: ViewHost, selector: "view" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
155
172
|
}
|
|
156
173
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: AnimatedView, decorators: [{
|
|
157
174
|
type: Component,
|
|
@@ -165,20 +182,20 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImpor
|
|
|
165
182
|
imports: [SymbioteHostPropsDirective, ViewHost],
|
|
166
183
|
inputs: ANIMATED_INPUTS,
|
|
167
184
|
template: `
|
|
168
|
-
<
|
|
185
|
+
<view [symbioteHostProps]="reducedProps">
|
|
169
186
|
<ng-content></ng-content>
|
|
170
|
-
</
|
|
187
|
+
</view>
|
|
171
188
|
`,
|
|
172
189
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
173
190
|
}]
|
|
174
191
|
}] });
|
|
175
192
|
export class AnimatedText extends AnimatedComponentBase {
|
|
176
193
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: AnimatedText, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
177
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.0.8", type: AnimatedText, isStandalone: true, selector: "AnimatedText, symbiote-animated-text", inputs: { style: "style", animatedProps: "animatedProps", passthroughAnimatedPropExplicitValues: "passthroughAnimatedPropExplicitValues" }, usesInheritance: true, hostDirectives: [{ directive: i1.SymbioteStyleInputDirective, inputs: ["style", "style"] }], ngImport: i0, template: `
|
|
178
|
-
<
|
|
194
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.0.8", type: AnimatedText, isStandalone: true, selector: "AnimatedText, symbiote-animated-text", inputs: { style: "style", testID: "testID", animatedProps: "animatedProps", passthroughAnimatedPropExplicitValues: "passthroughAnimatedPropExplicitValues" }, usesInheritance: true, hostDirectives: [{ directive: i1.SymbioteStyleInputDirective, inputs: ["style", "style"] }], ngImport: i0, template: `
|
|
195
|
+
<text [symbioteHostProps]="reducedProps">
|
|
179
196
|
<ng-content></ng-content>
|
|
180
|
-
</
|
|
181
|
-
`, isInline: true, dependencies: [{ kind: "directive", type: SymbioteHostPropsDirective, selector: "[symbioteHostProps]", inputs: ["symbioteHostProps"], exportAs: ["symbioteHost"] }, { kind: "component", type: TextHost, selector: "
|
|
197
|
+
</text>
|
|
198
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: SymbioteHostPropsDirective, selector: "[symbioteHostProps]", inputs: ["symbioteHostProps"], exportAs: ["symbioteHost"] }, { kind: "component", type: TextHost, selector: "text", inputs: ["ellipsizeMode", "allowFontScaling"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
182
199
|
}
|
|
183
200
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: AnimatedText, decorators: [{
|
|
184
201
|
type: Component,
|
|
@@ -192,9 +209,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImpor
|
|
|
192
209
|
imports: [SymbioteHostPropsDirective, TextHost],
|
|
193
210
|
inputs: ANIMATED_INPUTS,
|
|
194
211
|
template: `
|
|
195
|
-
<
|
|
212
|
+
<text [symbioteHostProps]="reducedProps">
|
|
196
213
|
<ng-content></ng-content>
|
|
197
|
-
</
|
|
214
|
+
</text>
|
|
198
215
|
`,
|
|
199
216
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
200
217
|
}]
|
|
@@ -211,6 +228,10 @@ export class AnimatedImage extends ImageBase {
|
|
|
211
228
|
// gets the leaf-lifecycle via composition instead of duplicating it.
|
|
212
229
|
leafBinder = new AnimatedLeafBinder(() => this.hostNode(), this.constructor.name);
|
|
213
230
|
viewReady = false;
|
|
231
|
+
gateInto(props, name, key) {
|
|
232
|
+
const carried = props[key];
|
|
233
|
+
props[key] = this.gatedAccessibilityHandler(name, isImageEventCallback(carried) ? carried : undefined);
|
|
234
|
+
}
|
|
214
235
|
get animatedImageProps() {
|
|
215
236
|
const reduced = reduceProps(this.mergedProps());
|
|
216
237
|
const passthroughStyle = readPassthroughStyle(this.passthroughAnimatedPropExplicitValues);
|
|
@@ -222,6 +243,15 @@ export class AnimatedImage extends ImageBase {
|
|
|
222
243
|
}
|
|
223
244
|
const resolved = resolveImageProps(reduced);
|
|
224
245
|
resolved['style'] = [anchorHostStyle(this.elementRef), resolved['style']];
|
|
246
|
+
// The four gated accessibility events, which used to be template bindings on the host tag and
|
|
247
|
+
// therefore lit their Fabric flags on every AnimatedImage in the app
|
|
248
|
+
// (`.claude/rules/fabric-boolean-event-gates.md`). Routed through the base's gate instead, so
|
|
249
|
+
// both channels still reach the app — the `onX` callback carried in the animated prop bag, and
|
|
250
|
+
// the `@Output()` an app may bind on <AnimatedImage> (IMAGE_OUTPUTS declares all four).
|
|
251
|
+
this.gateInto(resolved, 'accessibilityAction', 'onAccessibilityAction');
|
|
252
|
+
this.gateInto(resolved, 'accessibilityTap', 'onAccessibilityTap');
|
|
253
|
+
this.gateInto(resolved, 'magicTap', 'onMagicTap');
|
|
254
|
+
this.gateInto(resolved, 'accessibilityEscape', 'onAccessibilityEscape');
|
|
225
255
|
return resolved;
|
|
226
256
|
}
|
|
227
257
|
// The anchor's class-derived style, polled rather than read live inside `reducedProps`.
|
|
@@ -275,12 +305,8 @@ export class AnimatedImage extends ImageBase {
|
|
|
275
305
|
}
|
|
276
306
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: AnimatedImage, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
277
307
|
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.0.8", type: AnimatedImage, isStandalone: true, selector: "AnimatedImage, symbiote-animated-image", inputs: { source: "source", defaultSource: "defaultSource", loadingIndicatorSource: "loadingIndicatorSource", style: "style", resizeMode: "resizeMode", resizeMethod: "resizeMethod", tintColor: "tintColor", blurRadius: "blurRadius", capInsets: "capInsets", fadeDuration: "fadeDuration", progressiveRenderingEnabled: "progressiveRenderingEnabled", src: "src", srcSet: "srcSet", alt: "alt", width: "width", height: "height", crossOrigin: "crossOrigin", referrerPolicy: "referrerPolicy", 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"], onAccessibilityAction: "onAccessibilityAction", onAccessibilityTap: "onAccessibilityTap", onMagicTap: "onMagicTap", onAccessibilityEscape: "onAccessibilityEscape", onLoadStart: "onLoadStart", onLoad: "onLoad", onLoadEnd: "onLoadEnd", onError: "onError", onProgress: "onProgress", onPartialLoad: "onPartialLoad", animatedProps: "animatedProps", passthroughAnimatedPropExplicitValues: "passthroughAnimatedPropExplicitValues" }, outputs: { accessibilityAction: "accessibilityAction", accessibilityTap: "accessibilityTap", magicTap: "magicTap", accessibilityEscape: "accessibilityEscape", loadStart: "loadStart", load: "load", loadEnd: "loadEnd", error: "error", progress: "progress", partialLoad: "partialLoad" }, viewQueries: [{ propertyName: "hostDirective", first: true, predicate: SymbioteHostPropsDirective, descendants: true }], usesInheritance: true, usesOnChanges: true, hostDirectives: [{ directive: i1.SymbioteStyleInputDirective, inputs: ["style", "style"] }], ngImport: i0, template: `
|
|
278
|
-
<
|
|
308
|
+
<image
|
|
279
309
|
[symbioteHostProps]="animatedImageProps"
|
|
280
|
-
(accessibilityAction)="handleAccessibilityAction($event)"
|
|
281
|
-
(accessibilityTap)="handleAccessibilityTap($event)"
|
|
282
|
-
(magicTap)="handleMagicTap($event)"
|
|
283
|
-
(accessibilityEscape)="handleAccessibilityEscape($event)"
|
|
284
310
|
(loadStart)="handleLoadStart($event)"
|
|
285
311
|
(load)="handleLoad($event)"
|
|
286
312
|
(loadEnd)="handleLoadEnd($event)"
|
|
@@ -289,8 +315,8 @@ export class AnimatedImage extends ImageBase {
|
|
|
289
315
|
(partialLoad)="handlePartialLoad($event)"
|
|
290
316
|
>
|
|
291
317
|
<ng-content></ng-content>
|
|
292
|
-
</
|
|
293
|
-
`, isInline: true, dependencies: [{ kind: "directive", type: SymbioteHostPropsDirective, selector: "[symbioteHostProps]", inputs: ["symbioteHostProps"], exportAs: ["symbioteHost"] }, { kind: "component", type: ImageHost, selector: "
|
|
318
|
+
</image>
|
|
319
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: SymbioteHostPropsDirective, selector: "[symbioteHostProps]", inputs: ["symbioteHostProps"], exportAs: ["symbioteHost"] }, { kind: "component", type: ImageHost, selector: "image" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
294
320
|
}
|
|
295
321
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: AnimatedImage, decorators: [{
|
|
296
322
|
type: Component,
|
|
@@ -305,12 +331,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImpor
|
|
|
305
331
|
inputs: ANIMATED_IMAGE_INPUTS,
|
|
306
332
|
outputs: IMAGE_OUTPUTS,
|
|
307
333
|
template: `
|
|
308
|
-
<
|
|
334
|
+
<image
|
|
309
335
|
[symbioteHostProps]="animatedImageProps"
|
|
310
|
-
(accessibilityAction)="handleAccessibilityAction($event)"
|
|
311
|
-
(accessibilityTap)="handleAccessibilityTap($event)"
|
|
312
|
-
(magicTap)="handleMagicTap($event)"
|
|
313
|
-
(accessibilityEscape)="handleAccessibilityEscape($event)"
|
|
314
336
|
(loadStart)="handleLoadStart($event)"
|
|
315
337
|
(load)="handleLoad($event)"
|
|
316
338
|
(loadEnd)="handleLoadEnd($event)"
|
|
@@ -319,7 +341,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImpor
|
|
|
319
341
|
(partialLoad)="handlePartialLoad($event)"
|
|
320
342
|
>
|
|
321
343
|
<ng-content></ng-content>
|
|
322
|
-
</
|
|
344
|
+
</image>
|
|
323
345
|
`,
|
|
324
346
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
325
347
|
}]
|
|
@@ -328,44 +350,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImpor
|
|
|
328
350
|
args: [SymbioteHostPropsDirective]
|
|
329
351
|
}] } });
|
|
330
352
|
export class AnimatedScrollView extends AnimatedComponentBase {
|
|
331
|
-
// RN defaults nested scrolling ON (ScrollView.js `nestedScrollEnabled ?? true`) — Android
|
|
332
|
-
// needs it explicit or a nested ScrollView never receives touch (swallowed by the outer one;
|
|
333
|
-
// iOS doesn't gate on this). The real ScrollView component already defaults this
|
|
334
|
-
// (scroll-view/shared.ts), but AnimatedScrollView talks to the raw primitive directly and
|
|
335
|
-
// must apply it too.
|
|
336
|
-
//
|
|
337
|
-
// scrollViewBaseStyle (overflow: 'scroll' + the per-axis flexDirection) is the other thing the
|
|
338
|
-
// real ScrollView applies that this bespoke template used to skip — without it, iOS Fabric
|
|
339
|
-
// never clips content to the scroll view's frame (invisible on Android, whose native ViewGroup
|
|
340
|
-
// clips regardless of style). This wrapper has no `horizontal` input and its template is
|
|
341
|
-
// hardcoded to the vertical intrinsics, so selectScrollIntrinsics is always called with
|
|
342
|
-
// isHorizontal=false here, matching what the template can actually render.
|
|
343
|
-
get reducedProps() {
|
|
344
|
-
const reduced = super.reducedProps;
|
|
345
|
-
const { scrollViewBaseStyle } = selectScrollIntrinsics(false, undefined);
|
|
346
|
-
const withScrollBase = {
|
|
347
|
-
...reduced,
|
|
348
|
-
style: [scrollViewBaseStyle, reduced.style],
|
|
349
|
-
};
|
|
350
|
-
return withScrollBase.nestedScrollEnabled === undefined
|
|
351
|
-
? { ...withScrollBase, nestedScrollEnabled: true }
|
|
352
|
-
: withScrollBase;
|
|
353
|
-
}
|
|
354
|
-
// The content (inner) view's props: contentStyle from the same intrinsics selection, plus
|
|
355
|
-
// `collapsable: false` (the Android multi-child fix this file's tests already cover) — mirrors
|
|
356
|
-
// the real ScrollView's own `contentProps` getter (scroll-view/shared.ts).
|
|
357
|
-
get contentProps() {
|
|
358
|
-
const { contentStyle } = selectScrollIntrinsics(false, undefined);
|
|
359
|
-
return { style: contentStyle, collapsable: false };
|
|
360
|
-
}
|
|
361
353
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: AnimatedScrollView, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
362
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.0.8", type: AnimatedScrollView, isStandalone: true, selector: "AnimatedScrollView, symbiote-animated-scroll-view", inputs: { style: "style", animatedProps: "animatedProps", passthroughAnimatedPropExplicitValues: "passthroughAnimatedPropExplicitValues" }, usesInheritance: true, hostDirectives: [{ directive: i1.SymbioteStyleInputDirective, inputs: ["style", "style"] }], ngImport: i0, template: `
|
|
363
|
-
<
|
|
364
|
-
<
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
</symbiote-scroll-view>
|
|
368
|
-
`, isInline: true, dependencies: [{ kind: "directive", type: SymbioteHostPropsDirective, selector: "[symbioteHostProps]", inputs: ["symbioteHostProps"], exportAs: ["symbioteHost"] }, { kind: "component", type: ScrollViewHost, selector: "symbiote-scroll-view" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
354
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.0.8", type: AnimatedScrollView, isStandalone: true, selector: "AnimatedScrollView, symbiote-animated-scroll-view", inputs: { style: "style", testID: "testID", animatedProps: "animatedProps", passthroughAnimatedPropExplicitValues: "passthroughAnimatedPropExplicitValues" }, usesInheritance: true, hostDirectives: [{ directive: i1.SymbioteStyleInputDirective, inputs: ["style", "style"] }], ngImport: i0, template: `
|
|
355
|
+
<scroll-view [symbioteHostProps]="reducedProps">
|
|
356
|
+
<ng-content></ng-content>
|
|
357
|
+
</scroll-view>
|
|
358
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: SymbioteHostPropsDirective, selector: "[symbioteHostProps]", inputs: ["symbioteHostProps"], exportAs: ["symbioteHost"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
369
359
|
}
|
|
370
360
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: AnimatedScrollView, decorators: [{
|
|
371
361
|
type: Component,
|
|
@@ -376,14 +366,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImpor
|
|
|
376
366
|
{ directive: SymbioteStyleInputDirective, inputs: ['style'] },
|
|
377
367
|
],
|
|
378
368
|
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
379
|
-
imports: [SymbioteHostPropsDirective
|
|
369
|
+
imports: [SymbioteHostPropsDirective],
|
|
380
370
|
inputs: ANIMATED_INPUTS,
|
|
381
371
|
template: `
|
|
382
|
-
<
|
|
383
|
-
<
|
|
384
|
-
|
|
385
|
-
</symbiote-scroll-content>
|
|
386
|
-
</symbiote-scroll-view>
|
|
372
|
+
<scroll-view [symbioteHostProps]="reducedProps">
|
|
373
|
+
<ng-content></ng-content>
|
|
374
|
+
</scroll-view>
|
|
387
375
|
`,
|
|
388
376
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
389
377
|
}]
|
|
@@ -403,13 +391,17 @@ export function createAnimatedComponent(base) {
|
|
|
403
391
|
return AnimatedView;
|
|
404
392
|
if (base === Text)
|
|
405
393
|
return AnimatedText;
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
394
|
+
// The TAG, not a component identity: `ScrollView`/`Image` are gone as classes now
|
|
395
|
+
// (`components/scroll-view-props.ts`, `modules/image`), so there is no class to compare
|
|
396
|
+
// against — the same move React made (`createAnimatedComponent('image')`). A tag string is also
|
|
397
|
+
// what portable app code can pass on every adapter.
|
|
398
|
+
if (base === SCROLL_VIEW_TAG)
|
|
409
399
|
return AnimatedScrollView;
|
|
400
|
+
if (base === IMAGE_TAG)
|
|
401
|
+
return AnimatedImage;
|
|
410
402
|
throw new Error('createAnimatedComponent: Angular cannot synthesize a component at runtime (no JIT compiler ' +
|
|
411
403
|
'under AOT/Metro). Author an explicit standalone @Component extending AnimatedComponentBase ' +
|
|
412
|
-
|
|
413
|
-
'AnimatedView / AnimatedText /
|
|
404
|
+
"instead. The built-in primitives View / Text and the tags 'scroll-view' / 'image' map to " +
|
|
405
|
+
'AnimatedView / AnimatedText / AnimatedScrollView / AnimatedImage.');
|
|
414
406
|
}
|
|
415
407
|
//# sourceMappingURL=create-animated-component.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-animated-component.js","sourceRoot":"","sources":["../../../../src/modules/animated/create-animated-component.ts"],"names":[],"mappings":"AAAA,qFAAqF;AACrF,8FAA8F;AAC9F,6FAA6F;AAC7F,uFAAuF;AACvF,yFAAyF;AACzF,gGAAgG;AAChG,0FAA0F;AAC1F,4FAA4F;AAC5F,6FAA6F;AAC7F,EAAE;AACF,sFAAsF;AACtF,mFAAmF;AACnF,4FAA4F;AAC5F,+FAA+F;AAC/F,uDAAuD;AAEvD,OAAO,EACL,uBAAuB,EACvB,SAAS,EACT,sBAAsB,EACtB,SAAS,EACT,UAAU,EACV,MAAM,EACN,MAAM,EACN,SAAS,GAMV,MAAM,eAAe,CAAC;AACvB,OAAO,EACL,yBAAyB,EACzB,cAAc,EACd,WAAW,EACX,oBAAoB,EACpB,eAAe,GAEhB,MAAM,yBAAyB,CAAC;AACjC,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"create-animated-component.js","sourceRoot":"","sources":["../../../../src/modules/animated/create-animated-component.ts"],"names":[],"mappings":"AAAA,qFAAqF;AACrF,8FAA8F;AAC9F,6FAA6F;AAC7F,uFAAuF;AACvF,yFAAyF;AACzF,gGAAgG;AAChG,0FAA0F;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ACvC,IAAI,IAAI,KAAK,IAAI;QAAE,OAAO,YAAY,CAAC;IACvC,kFAAkF;IAClF,wFAAwF;IACxF,gGAAgG;IAChG,oDAAoD;IACpD,IAAI,IAAI,KAAK,eAAe;QAAE,OAAO,kBAAkB,CAAC;IACxD,IAAI,IAAI,KAAK,SAAS;QAAE,OAAO,aAAa,CAAC;IAC7C,MAAM,IAAI,KAAK,CACb,6FAA6F;QAC3F,6FAA6F;QAC7F,2FAA2F;QAC3F,mEAAmE,CACtE,CAAC;AACJ,CAAC"}
|
|
@@ -11,7 +11,7 @@ export { AnimatedComponentBase, AnimatedFlatList, AnimatedImage, AnimatedScrollV
|
|
|
11
11
|
// getter only exists to defer a RUNTIME createAnimatedComponent(ScrollView) past module init so
|
|
12
12
|
// it cannot read ScrollView inside its own TDZ during an import cycle. AnimatedScrollView here is
|
|
13
13
|
// a statically-declared component that never reads the ScrollView class at init (it targets the
|
|
14
|
-
// `
|
|
14
|
+
// `scroll-view` host by string), so there is no cycle to defer.
|
|
15
15
|
//
|
|
16
16
|
// FlatList / SectionList are exposed as explicit AOT-safe list entries now that the Angular list
|
|
17
17
|
// components exist. Angular still cannot synthesize arbitrary animated wrappers at runtime; custom
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/modules/animated/index.ts"],"names":[],"mappings":"AAAA,qGAAqG;AACrG,6FAA6F;AAC7F,6FAA6F;AAC7F,oGAAoG;AACpG,iFAAiF;AACjF,gGAAgG;AAEhG,OAAO,EACL,aAAa,EACb,eAAe,EACf,aAAa,EACb,YAAY,EACZ,MAAM,EACN,QAAQ,EACR,MAAM,EACN,MAAM,EACN,KAAK,EACL,QAAQ,EACR,QAAQ,EACR,OAAO,EACP,IAAI,EACJ,KAAK,EACL,GAAG,EACH,QAAQ,EACR,QAAQ,EACR,MAAM,EACN,MAAM,EACN,SAAS,EACT,KAAK,EACL,SAAS,EACT,WAAW,GACZ,MAAM,yBAAyB,CAAC;AACjC,OAAO,EACL,gBAAgB,EAChB,aAAa,EACb,kBAAkB,EAClB,mBAAmB,EACnB,YAAY,EACZ,YAAY,EACZ,uBAAuB,GACxB,MAAM,6BAA6B,CAAC;AAErC,OAAO,EACL,qBAAqB,EACrB,gBAAgB,EAChB,aAAa,EACb,kBAAkB,EAClB,mBAAmB,EACnB,YAAY,EACZ,YAAY,EACZ,uBAAuB,GACxB,MAAM,6BAA6B,CAAC;AAErC,6FAA6F;AAC7F,gGAAgG;AAChG,kGAAkG;AAClG,gGAAgG;AAChG,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/modules/animated/index.ts"],"names":[],"mappings":"AAAA,qGAAqG;AACrG,6FAA6F;AAC7F,6FAA6F;AAC7F,oGAAoG;AACpG,iFAAiF;AACjF,gGAAgG;AAEhG,OAAO,EACL,aAAa,EACb,eAAe,EACf,aAAa,EACb,YAAY,EACZ,MAAM,EACN,QAAQ,EACR,MAAM,EACN,MAAM,EACN,KAAK,EACL,QAAQ,EACR,QAAQ,EACR,OAAO,EACP,IAAI,EACJ,KAAK,EACL,GAAG,EACH,QAAQ,EACR,QAAQ,EACR,MAAM,EACN,MAAM,EACN,SAAS,EACT,KAAK,EACL,SAAS,EACT,WAAW,GACZ,MAAM,yBAAyB,CAAC;AACjC,OAAO,EACL,gBAAgB,EAChB,aAAa,EACb,kBAAkB,EAClB,mBAAmB,EACnB,YAAY,EACZ,YAAY,EACZ,uBAAuB,GACxB,MAAM,6BAA6B,CAAC;AAErC,OAAO,EACL,qBAAqB,EACrB,gBAAgB,EAChB,aAAa,EACb,kBAAkB,EAClB,mBAAmB,EACnB,YAAY,EACZ,YAAY,EACZ,uBAAuB,GACxB,MAAM,6BAA6B,CAAC;AAErC,6FAA6F;AAC7F,gGAAgG;AAChG,kGAAkG;AAClG,gGAAgG;AAChG,gEAAgE;AAChE,EAAE;AACF,iGAAiG;AACjG,mGAAmG;AACnG,wFAAwF;AAExF,mFAAmF;AACnF,MAAM,WAAW,GAAG;IAClB,KAAK,EAAE,aAAa;IACpB,OAAO,EAAE,eAAe;IACxB,KAAK,EAAE,aAAa;IACpB,MAAM;IACN,MAAM;IACN,MAAM;IACN,KAAK;IACL,QAAQ;IACR,QAAQ;IACR,OAAO;IACP,IAAI;IACJ,KAAK;IACL,GAAG;IACH,QAAQ;IACR,QAAQ;IACR,MAAM;IACN,MAAM;IACN,SAAS;IACT,KAAK;IACL,SAAS;IACT,WAAW;CACZ,CAAC;AAEF,6FAA6F;AAC7F,+FAA+F;AAC/F,gGAAgG;AAChG,8FAA8F;AAC9F,2CAA2C;AAC3C,MAAM,OAAO,GAAG,QAAQ,CAAC,mBAAmB,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,CAAC,WAAW,CAAC;AAE1E,MAAM,CAAC,MAAM,QAAQ,GAAG;IACtB,IAAI,EAAE,YAAY;IAClB,IAAI,EAAE,YAAY;IAClB,KAAK,EAAE,aAAa;IACpB,UAAU,EAAE,kBAAkB;IAC9B,QAAQ,EAAE,gBAAgB;IAC1B,WAAW,EAAE,mBAAmB;IAChC,uBAAuB;IACvB,GAAG,OAAO;CACX,CAAC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
// RN's Image STATICS — `getSize`, `getSizeWithHeaders`, `prefetch`, `abortPrefetch`, `queryCache`,
|
|
2
|
+
// `resolveAssetSource`.
|
|
3
|
+
//
|
|
4
|
+
// IN `modules/`, NOT `components/`. The primitive is the `<image>` tag matched by `ImageElement`,
|
|
5
|
+
// and its fold runs in the engine (`behaviors/image.ts`); what is left under the name `Image` is an
|
|
6
|
+
// imperative API with no view, which is what this bucket is for
|
|
7
|
+
// (<adapter_src_follows_framework_idioms>). Sitting in `components/` was what made a statics object
|
|
8
|
+
// read as a component.
|
|
9
|
+
//
|
|
10
|
+
// A NAMESPACE OBJECT rather than six bare functions, deliberately: `Alert`, `Share`, `Linking` and
|
|
11
|
+
// `AppState` all take that shape, and an app porting from RN writes `Image.getSize(...)` verbatim.
|
|
12
|
+
//
|
|
13
|
+
// Shared verbatim via `imageStatics`, the same source every other adapter's Image uses.
|
|
14
|
+
import { imageStatics } from '@symbiote-native/components';
|
|
15
|
+
export const Image = imageStatics;
|
|
16
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/modules/image/index.ts"],"names":[],"mappings":"AAAA,mGAAmG;AACnG,wBAAwB;AACxB,EAAE;AACF,kGAAkG;AAClG,oGAAoG;AACpG,gEAAgE;AAChE,oGAAoG;AACpG,uBAAuB;AACvB,EAAE;AACF,mGAAmG;AACnG,mGAAmG;AACnG,EAAE;AACF,wFAAwF;AACxF,OAAO,EAAE,YAAY,EAAsB,MAAM,6BAA6B,CAAC;AAI/E,MAAM,CAAC,MAAM,KAAK,GAAkB,YAAY,CAAC"}
|
|
@@ -5,11 +5,11 @@ import * as i0 from "@angular/core";
|
|
|
5
5
|
export { anchorHostStyle, anchorStyleProp, stableAnchorStyle, SymbioteHostPropsDirective, SymbioteStyleInputDirective, } from './shared';
|
|
6
6
|
export declare class ViewHost extends SymbiotePrimitiveHost {
|
|
7
7
|
static ɵfac: i0.ɵɵFactoryDeclaration<ViewHost, never>;
|
|
8
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ViewHost, "
|
|
8
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ViewHost, "view", never, {}, {}, never, ["*"], true, never>;
|
|
9
9
|
}
|
|
10
10
|
/**
|
|
11
11
|
* Text carries the two defaults RN's Text.js applies unconditionally (`ellipsizeMode ?? 'tail'`,
|
|
12
|
-
* `allowFontScaling !== false`, Text.js:
|
|
12
|
+
* `allowFontScaling !== false`, Text.js:289 and :291). Without them native falls back to `clip` and a
|
|
13
13
|
* clamped Text cuts mid-word with no ellipsis — device-observed on the other adapters 2026-08-19.
|
|
14
14
|
*
|
|
15
15
|
* They are declared as real `@Input()`s, unlike the pass-through props the base's comment
|
|
@@ -24,57 +24,69 @@ export declare class TextHost extends SymbiotePrimitiveHost implements OnInit {
|
|
|
24
24
|
ngOnChanges(changes: SimpleChanges): void;
|
|
25
25
|
private applyTextDefaults;
|
|
26
26
|
static ɵfac: i0.ɵɵFactoryDeclaration<TextHost, never>;
|
|
27
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TextHost, "
|
|
27
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TextHost, "text", never, { "ellipsizeMode": { "alias": "ellipsizeMode"; "required": false; }; "allowFontScaling": { "alias": "allowFontScaling"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
28
28
|
}
|
|
29
29
|
export declare class ImageHost extends SymbiotePrimitiveHost {
|
|
30
30
|
static ɵfac: i0.ɵɵFactoryDeclaration<ImageHost, never>;
|
|
31
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ImageHost, "
|
|
31
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ImageHost, "image", never, {}, {}, never, ["*"], true, never>;
|
|
32
32
|
}
|
|
33
33
|
export declare class ScrollViewHost extends SymbiotePrimitiveHost {
|
|
34
34
|
static ɵfac: i0.ɵɵFactoryDeclaration<ScrollViewHost, never>;
|
|
35
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ScrollViewHost, "
|
|
35
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ScrollViewHost, "scroll-view", never, {}, {}, never, ["*"], true, never>;
|
|
36
36
|
}
|
|
37
37
|
export declare class ScrollContentView extends SymbiotePrimitiveHost {
|
|
38
38
|
static ɵfac: i0.ɵɵFactoryDeclaration<ScrollContentView, never>;
|
|
39
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ScrollContentView, "
|
|
39
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ScrollContentView, "scroll-content", never, {}, {}, never, ["*"], true, never>;
|
|
40
40
|
}
|
|
41
41
|
export declare class HorizontalScrollView extends SymbiotePrimitiveHost {
|
|
42
42
|
static ɵfac: i0.ɵɵFactoryDeclaration<HorizontalScrollView, never>;
|
|
43
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<HorizontalScrollView, "
|
|
43
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<HorizontalScrollView, "horizontal-scroll-view", never, {}, {}, never, ["*"], true, never>;
|
|
44
44
|
}
|
|
45
45
|
export declare class HorizontalScrollContentView extends SymbiotePrimitiveHost {
|
|
46
46
|
static ɵfac: i0.ɵɵFactoryDeclaration<HorizontalScrollContentView, never>;
|
|
47
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<HorizontalScrollContentView, "
|
|
47
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<HorizontalScrollContentView, "horizontal-scroll-content", never, {}, {}, never, ["*"], true, never>;
|
|
48
48
|
}
|
|
49
49
|
export declare class TextInputHost extends SymbiotePrimitiveHost {
|
|
50
50
|
static ɵfac: i0.ɵɵFactoryDeclaration<TextInputHost, never>;
|
|
51
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TextInputHost, "
|
|
51
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TextInputHost, "text-input", never, {}, {}, never, ["*"], true, never>;
|
|
52
52
|
}
|
|
53
53
|
export declare class MultilineTextInputHost extends SymbiotePrimitiveHost {
|
|
54
54
|
static ɵfac: i0.ɵɵFactoryDeclaration<MultilineTextInputHost, never>;
|
|
55
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MultilineTextInputHost, "
|
|
55
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MultilineTextInputHost, "text-input-multiline", never, {}, {}, never, ["*"], true, never>;
|
|
56
|
+
}
|
|
57
|
+
export declare class ManagedTextInputHost extends SymbiotePrimitiveHost {
|
|
58
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ManagedTextInputHost, never>;
|
|
59
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ManagedTextInputHost, "text-input-managed", never, {}, {}, never, ["*"], true, never>;
|
|
60
|
+
}
|
|
61
|
+
export declare class ManagedMultilineTextInputHost extends SymbiotePrimitiveHost {
|
|
62
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ManagedMultilineTextInputHost, never>;
|
|
63
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ManagedMultilineTextInputHost, "text-input-multiline-managed", never, {}, {}, never, ["*"], true, never>;
|
|
56
64
|
}
|
|
57
65
|
export declare class SwitchHost extends SymbiotePrimitiveHost {
|
|
58
66
|
static ɵfac: i0.ɵɵFactoryDeclaration<SwitchHost, never>;
|
|
59
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SwitchHost, "
|
|
67
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SwitchHost, "switch", never, {}, {}, never, ["*"], true, never>;
|
|
68
|
+
}
|
|
69
|
+
export declare class ManagedSwitchHost extends SymbiotePrimitiveHost {
|
|
70
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ManagedSwitchHost, never>;
|
|
71
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ManagedSwitchHost, "switch-managed", never, {}, {}, never, ["*"], true, never>;
|
|
60
72
|
}
|
|
61
73
|
export declare class ActivityIndicatorHost extends SymbiotePrimitiveHost {
|
|
62
74
|
static ɵfac: i0.ɵɵFactoryDeclaration<ActivityIndicatorHost, never>;
|
|
63
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ActivityIndicatorHost, "
|
|
75
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ActivityIndicatorHost, "activity-indicator", never, {}, {}, never, ["*"], true, never>;
|
|
64
76
|
}
|
|
65
77
|
export declare class SafeAreaViewHost extends SymbiotePrimitiveHost {
|
|
66
78
|
static ɵfac: i0.ɵɵFactoryDeclaration<SafeAreaViewHost, never>;
|
|
67
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SafeAreaViewHost, "
|
|
79
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SafeAreaViewHost, "safe-area-view", never, {}, {}, never, ["*"], true, never>;
|
|
68
80
|
}
|
|
69
81
|
export declare class ModalHost extends SymbiotePrimitiveHost {
|
|
70
82
|
static ɵfac: i0.ɵɵFactoryDeclaration<ModalHost, never>;
|
|
71
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ModalHost, "
|
|
83
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ModalHost, "modal", never, {}, {}, never, ["*"], true, never>;
|
|
72
84
|
}
|
|
73
85
|
export declare class RefreshControlHost extends SymbiotePrimitiveHost {
|
|
74
86
|
static ɵfac: i0.ɵɵFactoryDeclaration<RefreshControlHost, never>;
|
|
75
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<RefreshControlHost, "
|
|
87
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<RefreshControlHost, "refresh-control", never, {}, {}, never, ["*"], true, never>;
|
|
76
88
|
}
|
|
77
89
|
export declare class InputAccessoryViewHost extends SymbiotePrimitiveHost {
|
|
78
90
|
static ɵfac: i0.ɵɵFactoryDeclaration<InputAccessoryViewHost, never>;
|
|
79
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<InputAccessoryViewHost, "
|
|
91
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<InputAccessoryViewHost, "input-accessory-view", never, {}, {}, never, ["*"], true, never>;
|
|
80
92
|
}
|