@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
|
@@ -9,19 +9,19 @@ import * as i0 from "@angular/core";
|
|
|
9
9
|
export { anchorHostStyle, anchorStyleProp, stableAnchorStyle, SymbioteHostPropsDirective, SymbioteStyleInputDirective, } from './shared';
|
|
10
10
|
export class ViewHost extends SymbiotePrimitiveHost {
|
|
11
11
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: ViewHost, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
12
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.0.8", type: ViewHost, isStandalone: true, selector: "
|
|
12
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.0.8", type: ViewHost, isStandalone: true, selector: "view", usesInheritance: true, ngImport: i0, template: '<ng-content></ng-content>', isInline: true });
|
|
13
13
|
}
|
|
14
14
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: ViewHost, decorators: [{
|
|
15
15
|
type: Component,
|
|
16
16
|
args: [{
|
|
17
|
-
selector: '
|
|
17
|
+
selector: 'view',
|
|
18
18
|
standalone: true,
|
|
19
19
|
template: '<ng-content></ng-content>',
|
|
20
20
|
}]
|
|
21
21
|
}] });
|
|
22
22
|
/**
|
|
23
23
|
* Text carries the two defaults RN's Text.js applies unconditionally (`ellipsizeMode ?? 'tail'`,
|
|
24
|
-
* `allowFontScaling !== false`, Text.js:
|
|
24
|
+
* `allowFontScaling !== false`, Text.js:289 and :291). Without them native falls back to `clip` and a
|
|
25
25
|
* clamped Text cuts mid-word with no ellipsis — device-observed on the other adapters 2026-08-19.
|
|
26
26
|
*
|
|
27
27
|
* They are declared as real `@Input()`s, unlike the pass-through props the base's comment
|
|
@@ -52,12 +52,12 @@ export class TextHost extends SymbiotePrimitiveHost {
|
|
|
52
52
|
this.setHostProp('allowFontScaling', resolved.allowFontScaling);
|
|
53
53
|
}
|
|
54
54
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: TextHost, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
55
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.0.8", type: TextHost, isStandalone: true, selector: "
|
|
55
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.0.8", type: TextHost, isStandalone: true, selector: "text", inputs: { ellipsizeMode: "ellipsizeMode", allowFontScaling: "allowFontScaling" }, usesInheritance: true, usesOnChanges: true, ngImport: i0, template: '<ng-content></ng-content>', isInline: true });
|
|
56
56
|
}
|
|
57
57
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: TextHost, decorators: [{
|
|
58
58
|
type: Component,
|
|
59
59
|
args: [{
|
|
60
|
-
selector: '
|
|
60
|
+
selector: 'text',
|
|
61
61
|
standalone: true,
|
|
62
62
|
template: '<ng-content></ng-content>',
|
|
63
63
|
}]
|
|
@@ -68,156 +68,202 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImpor
|
|
|
68
68
|
}] } });
|
|
69
69
|
export class ImageHost extends SymbiotePrimitiveHost {
|
|
70
70
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: ImageHost, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
71
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.0.8", type: ImageHost, isStandalone: true, selector: "
|
|
71
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.0.8", type: ImageHost, isStandalone: true, selector: "image", usesInheritance: true, ngImport: i0, template: '<ng-content></ng-content>', isInline: true });
|
|
72
72
|
}
|
|
73
73
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: ImageHost, decorators: [{
|
|
74
74
|
type: Component,
|
|
75
75
|
args: [{
|
|
76
|
-
selector: '
|
|
76
|
+
selector: 'image',
|
|
77
77
|
standalone: true,
|
|
78
78
|
template: '<ng-content></ng-content>',
|
|
79
79
|
}]
|
|
80
80
|
}] });
|
|
81
81
|
export class ScrollViewHost extends SymbiotePrimitiveHost {
|
|
82
82
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: ScrollViewHost, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
83
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.0.8", type: ScrollViewHost, isStandalone: true, selector: "
|
|
83
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.0.8", type: ScrollViewHost, isStandalone: true, selector: "scroll-view", usesInheritance: true, ngImport: i0, template: '<ng-content></ng-content>', isInline: true });
|
|
84
84
|
}
|
|
85
85
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: ScrollViewHost, decorators: [{
|
|
86
86
|
type: Component,
|
|
87
87
|
args: [{
|
|
88
|
-
selector: '
|
|
88
|
+
selector: 'scroll-view',
|
|
89
89
|
standalone: true,
|
|
90
90
|
template: '<ng-content></ng-content>',
|
|
91
91
|
}]
|
|
92
92
|
}] });
|
|
93
93
|
export class ScrollContentView extends SymbiotePrimitiveHost {
|
|
94
94
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: ScrollContentView, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
95
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.0.8", type: ScrollContentView, isStandalone: true, selector: "
|
|
95
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.0.8", type: ScrollContentView, isStandalone: true, selector: "scroll-content", usesInheritance: true, ngImport: i0, template: '<ng-content></ng-content>', isInline: true });
|
|
96
96
|
}
|
|
97
97
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: ScrollContentView, decorators: [{
|
|
98
98
|
type: Component,
|
|
99
99
|
args: [{
|
|
100
|
-
selector: '
|
|
100
|
+
selector: 'scroll-content',
|
|
101
101
|
standalone: true,
|
|
102
102
|
template: '<ng-content></ng-content>',
|
|
103
103
|
}]
|
|
104
104
|
}] });
|
|
105
105
|
export class HorizontalScrollView extends SymbiotePrimitiveHost {
|
|
106
106
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: HorizontalScrollView, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
107
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.0.8", type: HorizontalScrollView, isStandalone: true, selector: "
|
|
107
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.0.8", type: HorizontalScrollView, isStandalone: true, selector: "horizontal-scroll-view", usesInheritance: true, ngImport: i0, template: '<ng-content></ng-content>', isInline: true });
|
|
108
108
|
}
|
|
109
109
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: HorizontalScrollView, decorators: [{
|
|
110
110
|
type: Component,
|
|
111
111
|
args: [{
|
|
112
|
-
selector: '
|
|
112
|
+
selector: 'horizontal-scroll-view',
|
|
113
113
|
standalone: true,
|
|
114
114
|
template: '<ng-content></ng-content>',
|
|
115
115
|
}]
|
|
116
116
|
}] });
|
|
117
117
|
export class HorizontalScrollContentView extends SymbiotePrimitiveHost {
|
|
118
118
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: HorizontalScrollContentView, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
119
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.0.8", type: HorizontalScrollContentView, isStandalone: true, selector: "
|
|
119
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.0.8", type: HorizontalScrollContentView, isStandalone: true, selector: "horizontal-scroll-content", usesInheritance: true, ngImport: i0, template: '<ng-content></ng-content>', isInline: true });
|
|
120
120
|
}
|
|
121
121
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: HorizontalScrollContentView, decorators: [{
|
|
122
122
|
type: Component,
|
|
123
123
|
args: [{
|
|
124
|
-
selector: '
|
|
124
|
+
selector: 'horizontal-scroll-content',
|
|
125
125
|
standalone: true,
|
|
126
126
|
template: '<ng-content></ng-content>',
|
|
127
127
|
}]
|
|
128
128
|
}] });
|
|
129
|
+
// The pair the LOWERED path commits — declared so the tag alphabet stays complete, though no
|
|
130
|
+
// Angular template renders them: this adapter has no lowering transform. The `-managed` pair below
|
|
131
|
+
// is what its own TextInput renders.
|
|
129
132
|
export class TextInputHost extends SymbiotePrimitiveHost {
|
|
130
133
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: TextInputHost, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
131
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.0.8", type: TextInputHost, isStandalone: true, selector: "
|
|
134
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.0.8", type: TextInputHost, isStandalone: true, selector: "text-input", usesInheritance: true, ngImport: i0, template: '<ng-content></ng-content>', isInline: true });
|
|
132
135
|
}
|
|
133
136
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: TextInputHost, decorators: [{
|
|
134
137
|
type: Component,
|
|
135
138
|
args: [{
|
|
136
|
-
selector: '
|
|
139
|
+
selector: 'text-input',
|
|
137
140
|
standalone: true,
|
|
138
141
|
template: '<ng-content></ng-content>',
|
|
139
142
|
}]
|
|
140
143
|
}] });
|
|
141
144
|
export class MultilineTextInputHost extends SymbiotePrimitiveHost {
|
|
142
145
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: MultilineTextInputHost, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
143
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.0.8", type: MultilineTextInputHost, isStandalone: true, selector: "
|
|
146
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.0.8", type: MultilineTextInputHost, isStandalone: true, selector: "text-input-multiline", usesInheritance: true, ngImport: i0, template: '<ng-content></ng-content>', isInline: true });
|
|
144
147
|
}
|
|
145
148
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: MultilineTextInputHost, decorators: [{
|
|
146
149
|
type: Component,
|
|
147
150
|
args: [{
|
|
148
|
-
selector: '
|
|
151
|
+
selector: 'text-input-multiline',
|
|
152
|
+
standalone: true,
|
|
153
|
+
template: '<ng-content></ng-content>',
|
|
154
|
+
}]
|
|
155
|
+
}] });
|
|
156
|
+
export class ManagedTextInputHost extends SymbiotePrimitiveHost {
|
|
157
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: ManagedTextInputHost, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
158
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.0.8", type: ManagedTextInputHost, isStandalone: true, selector: "text-input-managed", usesInheritance: true, ngImport: i0, template: '<ng-content></ng-content>', isInline: true });
|
|
159
|
+
}
|
|
160
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: ManagedTextInputHost, decorators: [{
|
|
161
|
+
type: Component,
|
|
162
|
+
args: [{
|
|
163
|
+
selector: 'text-input-managed',
|
|
164
|
+
standalone: true,
|
|
165
|
+
template: '<ng-content></ng-content>',
|
|
166
|
+
}]
|
|
167
|
+
}] });
|
|
168
|
+
export class ManagedMultilineTextInputHost extends SymbiotePrimitiveHost {
|
|
169
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: ManagedMultilineTextInputHost, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
170
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.0.8", type: ManagedMultilineTextInputHost, isStandalone: true, selector: "text-input-multiline-managed", usesInheritance: true, ngImport: i0, template: '<ng-content></ng-content>', isInline: true });
|
|
171
|
+
}
|
|
172
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: ManagedMultilineTextInputHost, decorators: [{
|
|
173
|
+
type: Component,
|
|
174
|
+
args: [{
|
|
175
|
+
selector: 'text-input-multiline-managed',
|
|
149
176
|
standalone: true,
|
|
150
177
|
template: '<ng-content></ng-content>',
|
|
151
178
|
}]
|
|
152
179
|
}] });
|
|
153
180
|
export class SwitchHost extends SymbiotePrimitiveHost {
|
|
154
181
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: SwitchHost, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
155
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.0.8", type: SwitchHost, isStandalone: true, selector: "
|
|
182
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.0.8", type: SwitchHost, isStandalone: true, selector: "switch", usesInheritance: true, ngImport: i0, template: '<ng-content></ng-content>', isInline: true });
|
|
156
183
|
}
|
|
157
184
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: SwitchHost, decorators: [{
|
|
158
185
|
type: Component,
|
|
159
186
|
args: [{
|
|
160
|
-
selector: '
|
|
187
|
+
selector: 'switch',
|
|
188
|
+
standalone: true,
|
|
189
|
+
template: '<ng-content></ng-content>',
|
|
190
|
+
}]
|
|
191
|
+
}] });
|
|
192
|
+
// The component path's spelling — same native Switch/AndroidSwitch, a tag the engine's Switch
|
|
193
|
+
// behavior does not carry. See `component-names/shared.ts` for why the wrapper may not share the
|
|
194
|
+
// lowered tag; mirrors `ManagedTextInputHost` above.
|
|
195
|
+
export class ManagedSwitchHost extends SymbiotePrimitiveHost {
|
|
196
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: ManagedSwitchHost, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
197
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.0.8", type: ManagedSwitchHost, isStandalone: true, selector: "switch-managed", usesInheritance: true, ngImport: i0, template: '<ng-content></ng-content>', isInline: true });
|
|
198
|
+
}
|
|
199
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: ManagedSwitchHost, decorators: [{
|
|
200
|
+
type: Component,
|
|
201
|
+
args: [{
|
|
202
|
+
selector: 'switch-managed',
|
|
161
203
|
standalone: true,
|
|
162
204
|
template: '<ng-content></ng-content>',
|
|
163
205
|
}]
|
|
164
206
|
}] });
|
|
207
|
+
// The centering RCTView RN wraps the spinner in (ActivityIndicator.js:112), not the spinner —
|
|
208
|
+
// which is what this tag resolved to until 2026-09-09. The native view moved to
|
|
209
|
+
// `activity-indicator-spinner`, built by the engine's ActivityIndicator behavior, so nothing writes
|
|
210
|
+
// it in a template and it needs no host here.
|
|
165
211
|
export class ActivityIndicatorHost extends SymbiotePrimitiveHost {
|
|
166
212
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: ActivityIndicatorHost, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
167
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.0.8", type: ActivityIndicatorHost, isStandalone: true, selector: "
|
|
213
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.0.8", type: ActivityIndicatorHost, isStandalone: true, selector: "activity-indicator", usesInheritance: true, ngImport: i0, template: '<ng-content></ng-content>', isInline: true });
|
|
168
214
|
}
|
|
169
215
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: ActivityIndicatorHost, decorators: [{
|
|
170
216
|
type: Component,
|
|
171
217
|
args: [{
|
|
172
|
-
selector: '
|
|
218
|
+
selector: 'activity-indicator',
|
|
173
219
|
standalone: true,
|
|
174
220
|
template: '<ng-content></ng-content>',
|
|
175
221
|
}]
|
|
176
222
|
}] });
|
|
177
223
|
export class SafeAreaViewHost extends SymbiotePrimitiveHost {
|
|
178
224
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: SafeAreaViewHost, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
179
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.0.8", type: SafeAreaViewHost, isStandalone: true, selector: "
|
|
225
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.0.8", type: SafeAreaViewHost, isStandalone: true, selector: "safe-area-view", usesInheritance: true, ngImport: i0, template: '<ng-content></ng-content>', isInline: true });
|
|
180
226
|
}
|
|
181
227
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: SafeAreaViewHost, decorators: [{
|
|
182
228
|
type: Component,
|
|
183
229
|
args: [{
|
|
184
|
-
selector: '
|
|
230
|
+
selector: 'safe-area-view',
|
|
185
231
|
standalone: true,
|
|
186
232
|
template: '<ng-content></ng-content>',
|
|
187
233
|
}]
|
|
188
234
|
}] });
|
|
189
235
|
export class ModalHost extends SymbiotePrimitiveHost {
|
|
190
236
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: ModalHost, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
191
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.0.8", type: ModalHost, isStandalone: true, selector: "
|
|
237
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.0.8", type: ModalHost, isStandalone: true, selector: "modal", usesInheritance: true, ngImport: i0, template: '<ng-content></ng-content>', isInline: true });
|
|
192
238
|
}
|
|
193
239
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: ModalHost, decorators: [{
|
|
194
240
|
type: Component,
|
|
195
241
|
args: [{
|
|
196
|
-
selector: '
|
|
242
|
+
selector: 'modal',
|
|
197
243
|
standalone: true,
|
|
198
244
|
template: '<ng-content></ng-content>',
|
|
199
245
|
}]
|
|
200
246
|
}] });
|
|
201
247
|
export class RefreshControlHost extends SymbiotePrimitiveHost {
|
|
202
248
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: RefreshControlHost, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
203
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.0.8", type: RefreshControlHost, isStandalone: true, selector: "
|
|
249
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.0.8", type: RefreshControlHost, isStandalone: true, selector: "refresh-control", usesInheritance: true, ngImport: i0, template: '<ng-content></ng-content>', isInline: true });
|
|
204
250
|
}
|
|
205
251
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: RefreshControlHost, decorators: [{
|
|
206
252
|
type: Component,
|
|
207
253
|
args: [{
|
|
208
|
-
selector: '
|
|
254
|
+
selector: 'refresh-control',
|
|
209
255
|
standalone: true,
|
|
210
256
|
template: '<ng-content></ng-content>',
|
|
211
257
|
}]
|
|
212
258
|
}] });
|
|
213
259
|
export class InputAccessoryViewHost extends SymbiotePrimitiveHost {
|
|
214
260
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: InputAccessoryViewHost, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
215
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.0.8", type: InputAccessoryViewHost, isStandalone: true, selector: "
|
|
261
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.0.8", type: InputAccessoryViewHost, isStandalone: true, selector: "input-accessory-view", usesInheritance: true, ngImport: i0, template: '<ng-content></ng-content>', isInline: true });
|
|
216
262
|
}
|
|
217
263
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: InputAccessoryViewHost, decorators: [{
|
|
218
264
|
type: Component,
|
|
219
265
|
args: [{
|
|
220
|
-
selector: '
|
|
266
|
+
selector: 'input-accessory-view',
|
|
221
267
|
standalone: true,
|
|
222
268
|
template: '<ng-content></ng-content>',
|
|
223
269
|
}]
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/primitives/index.ts"],"names":[],"mappings":"AAAA,wFAAwF;AACxF,kFAAkF;AAClF,uFAAuF;AACvF,4FAA4F;AAE5F,OAAO,EACL,SAAS,EACT,KAAK,GAGN,MAAM,eAAe,CAAC;AACvB,OAAO,EACL,gBAAgB,GAEjB,MAAM,6BAA6B,CAAC;AACrC,OAAO,EAAE,qBAAqB,EAAE,MAAM,UAAU,CAAC;;AAEjD,OAAO,EACL,eAAe,EACf,eAAe,EACf,iBAAiB,EACjB,0BAA0B,EAC1B,2BAA2B,GAC5B,MAAM,UAAU,CAAC;AAOlB,MAAM,OAAO,QAAS,SAAQ,qBAAqB;uGAAtC,QAAQ;2FAAR,QAAQ,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/primitives/index.ts"],"names":[],"mappings":"AAAA,wFAAwF;AACxF,kFAAkF;AAClF,uFAAuF;AACvF,4FAA4F;AAE5F,OAAO,EACL,SAAS,EACT,KAAK,GAGN,MAAM,eAAe,CAAC;AACvB,OAAO,EACL,gBAAgB,GAEjB,MAAM,6BAA6B,CAAC;AACrC,OAAO,EAAE,qBAAqB,EAAE,MAAM,UAAU,CAAC;;AAEjD,OAAO,EACL,eAAe,EACf,eAAe,EACf,iBAAiB,EACjB,0BAA0B,EAC1B,2BAA2B,GAC5B,MAAM,UAAU,CAAC;AAOlB,MAAM,OAAO,QAAS,SAAQ,qBAAqB;uGAAtC,QAAQ;2FAAR,QAAQ,uFAFT,2BAA2B;;2FAE1B,QAAQ;kBALpB,SAAS;mBAAC;oBACT,QAAQ,EAAE,MAAM;oBAChB,UAAU,EAAE,IAAI;oBAChB,QAAQ,EAAE,2BAA2B;iBACtC;;AAGD;;;;;;;;;GASG;AAMH,MAAM,OAAO,QAAS,SAAQ,qBAAqB;IACxC,aAAa,CAAkB;IAC/B,gBAAgB,CAAW;IAE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AC;oBACT,QAAQ,EAAE,gBAAgB;oBAC1B,UAAU,EAAE,IAAI;oBAChB,QAAQ,EAAE,2BAA2B;iBACtC;;AAQD,MAAM,OAAO,SAAU,SAAQ,qBAAqB;uGAAvC,SAAS;2FAAT,SAAS,wFAFV,2BAA2B;;2FAE1B,SAAS;kBALrB,SAAS;mBAAC;oBACT,QAAQ,EAAE,OAAO;oBACjB,UAAU,EAAE,IAAI;oBAChB,QAAQ,EAAE,2BAA2B;iBACtC;;AAQD,MAAM,OAAO,kBAAmB,SAAQ,qBAAqB;uGAAhD,kBAAkB;2FAAlB,kBAAkB,kGAFnB,2BAA2B;;2FAE1B,kBAAkB;kBAL9B,SAAS;mBAAC;oBACT,QAAQ,EAAE,iBAAiB;oBAC3B,UAAU,EAAE,IAAI;oBAChB,QAAQ,EAAE,2BAA2B;iBACtC;;AAQD,MAAM,OAAO,sBAAuB,SAAQ,qBAAqB;uGAApD,sBAAsB;2FAAtB,sBAAsB,uGAFvB,2BAA2B;;2FAE1B,sBAAsB;kBALlC,SAAS;mBAAC;oBACT,QAAQ,EAAE,sBAAsB;oBAChC,UAAU,EAAE,IAAI;oBAChB,QAAQ,EAAE,2BAA2B;iBACtC"}
|
|
@@ -80,7 +80,7 @@ export declare class SymbioteStyleInputDirective implements DoCheck, OnChanges {
|
|
|
80
80
|
static ɵdir: i0.ɵɵDirectiveDeclaration<SymbioteStyleInputDirective, "[symbioteStyleInput]", never, { "style": { "alias": "style"; "required": false; }; }, {}, never, never, true, never>;
|
|
81
81
|
}
|
|
82
82
|
/**
|
|
83
|
-
* Base for all Angular primitive host components (`
|
|
83
|
+
* Base for all Angular primitive host components (`view`, `text`, ...).
|
|
84
84
|
* RN's `StyleProp` can be an object, an array, nested arrays, falsy entries, and Animated
|
|
85
85
|
* values. Angular's raw `[style]` binding on a custom element routes through the CSS style
|
|
86
86
|
* engine (`setStyle` per key), which crashes on numeric array keys. By declaring `style` as
|
|
@@ -124,11 +124,10 @@ export declare class SymbioteHostPropsDirective {
|
|
|
124
124
|
private readonly renderer;
|
|
125
125
|
private readonly elementRef;
|
|
126
126
|
private readonly cdr;
|
|
127
|
-
private readonly
|
|
127
|
+
private readonly wrapCallback;
|
|
128
128
|
private pushed;
|
|
129
129
|
get node(): unknown;
|
|
130
130
|
set symbioteHostProps(props: Record<string, unknown>);
|
|
131
|
-
private wrapCallback;
|
|
132
131
|
static ɵfac: i0.ɵɵFactoryDeclaration<SymbioteHostPropsDirective, never>;
|
|
133
132
|
static ɵdir: i0.ɵɵDirectiveDeclaration<SymbioteHostPropsDirective, "[symbioteHostProps]", ["symbioteHost"], { "symbioteHostProps": { "alias": "symbioteHostProps"; "required": false; }; }, {}, never, never, true, never>;
|
|
134
133
|
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { ChangeDetectorRef, Directive, ElementRef, inject, Input, Renderer2, } from '@angular/core';
|
|
2
2
|
import { countAngular } from '../diagnostics';
|
|
3
|
+
import { createCallbackWrapper } from '../change-detection-flush';
|
|
3
4
|
import { flattenStyle, isSymbioteNode, } from '@symbiote-native/engine';
|
|
4
5
|
import * as i0 from "@angular/core";
|
|
5
6
|
/**
|
|
@@ -77,16 +78,6 @@ export function stableAnchorStyle(elementRef, explicitStyle, previous) {
|
|
|
77
78
|
? previous
|
|
78
79
|
: next;
|
|
79
80
|
}
|
|
80
|
-
const ON_PREFIX = /^on[A-Z]/;
|
|
81
|
-
// The one `onX` that fires per FRAME rather than per gesture, and with sticky headers RN pins
|
|
82
|
-
// `scrollEventThrottle` to 1 (ScrollView.js), so 60 times a second. Since markForCheck walks
|
|
83
|
-
// RefreshView|Dirty to the ROOT, wrapping it cost one full ancestor-screen template execution per
|
|
84
|
-
// frame - the canary's ~37fps scroll (components/virtualized-list/scroll-cost.test.ts).
|
|
85
|
-
//
|
|
86
|
-
// Nothing lost its refresh: VirtualizedList marks itself when the window moves, sticky rides the
|
|
87
|
-
// native driver, and a caller's own handler is typically an Animated.event touching no Angular
|
|
88
|
-
// state. Drag/momentum begin/end stay wrapped - once per gesture is not a hot path.
|
|
89
|
-
const PER_FRAME_CALLBACK = 'onScroll';
|
|
90
81
|
/**
|
|
91
82
|
* Restores the OnPush dirty-marking Angular skips for a `[style]` binding that a directive
|
|
92
83
|
* declares as an input. Attach it to any component declaring a `style` input:
|
|
@@ -161,7 +152,7 @@ function isAnchorStyleUnchanged(previous, next) {
|
|
|
161
152
|
return (isRecord(previous) && isRecord(next) && shallowStyleEqual(previous, next));
|
|
162
153
|
}
|
|
163
154
|
/**
|
|
164
|
-
* Base for all Angular primitive host components (`
|
|
155
|
+
* Base for all Angular primitive host components (`view`, `text`, ...).
|
|
165
156
|
* RN's `StyleProp` can be an object, an array, nested arrays, falsy entries, and Animated
|
|
166
157
|
* values. Angular's raw `[style]` binding on a custom element routes through the CSS style
|
|
167
158
|
* engine (`setStyle` per key), which crashes on numeric array keys. By declaring `style` as
|
|
@@ -226,17 +217,12 @@ export class SymbioteHostPropsDirective {
|
|
|
226
217
|
// The directive lives in its HOST component's template, so its injected ChangeDetectorRef IS
|
|
227
218
|
// that component's own view detector — the one thing that can refresh it (see wrapCallback).
|
|
228
219
|
cdr = inject(ChangeDetectorRef);
|
|
229
|
-
//
|
|
230
|
-
//
|
|
231
|
-
//
|
|
232
|
-
//
|
|
233
|
-
//
|
|
234
|
-
|
|
235
|
-
//
|
|
236
|
-
// Reference stability is the point, not just the allocation: a fresh function on every push
|
|
237
|
-
// defeats every downstream identity check on the bag, so nothing upstream could ever conclude
|
|
238
|
-
// "this bag is unchanged" while a callback prop was in it.
|
|
239
|
-
wrappers = new WeakMap();
|
|
220
|
+
// A flat-bag `onX` callback (responder negotiation, onLongPress, …) is invoked by the engine's
|
|
221
|
+
// event dispatch — a plain JS call, entirely outside Angular — so nothing dirties the view that
|
|
222
|
+
// binds its result: the "pan does nothing" bug. Shared with the TAG path's `SymbioteElement`,
|
|
223
|
+
// which has the identical deficit; the mechanism, the `onScroll` exemption and why the wrapper
|
|
224
|
+
// is cached per original handler live in `createCallbackWrapper`.
|
|
225
|
+
wrapCallback = createCallbackWrapper(this.cdr, this.elementRef.nativeElement);
|
|
240
226
|
// Values pushed by the previous bag, so a push writes only what actually moved. Copied rather
|
|
241
227
|
// than aliased: a component is free to hand back the same object with mutated fields.
|
|
242
228
|
pushed = {};
|
|
@@ -272,37 +258,6 @@ export class SymbioteHostPropsDirective {
|
|
|
272
258
|
}
|
|
273
259
|
this.pushed = next;
|
|
274
260
|
}
|
|
275
|
-
// A flat-bag `onX` callback (responder negotiation, onLongPress, …) is invoked by the engine's
|
|
276
|
-
// event dispatch — a plain JS call, entirely outside Angular. In Angular 20 a component compiles
|
|
277
|
-
// as a SignalView (not CheckAlways), so a plain (non-signal) state mutation inside such a callback
|
|
278
|
-
// does NOT dirty the view's reactive consumer, and the scheduler's root detectChanges() will NOT
|
|
279
|
-
// descend into it (a Global pass only refreshes CheckAlways / Dirty / RefreshView views) — the
|
|
280
|
-
// "pan does nothing" bug on a nested component. `markForCheck()` flags THIS component's view AND
|
|
281
|
-
// all its ancestors with RefreshView (which survives the descent) and notifies the CD scheduler,
|
|
282
|
-
// so the next root tick repaints the mutation. It targets the directive's injecting view
|
|
283
|
-
// (`_cdRefInjectingView`, i.e. the host component), unlike `detectChanges()` which acts on a
|
|
284
|
-
// resolved `_lView` that is NOT the host component here. The Angular twin of what React/Vue get
|
|
285
|
-
// for free (setState / proxy reactivity).
|
|
286
|
-
wrapCallback(key, value) {
|
|
287
|
-
if (!ON_PREFIX.test(key) || typeof value !== 'function')
|
|
288
|
-
return value;
|
|
289
|
-
if (key === PER_FRAME_CALLBACK)
|
|
290
|
-
return value;
|
|
291
|
-
const cached = this.wrappers.get(value);
|
|
292
|
-
if (cached !== undefined)
|
|
293
|
-
return cached;
|
|
294
|
-
// Reflect.apply rather than calling a cast-to-signature local: `typeof value === 'function'`
|
|
295
|
-
// narrows to `Function`, which has no call signature TypeScript will accept, and this repo
|
|
296
|
-
// does not use `as` to paper over that. `undefined` as the receiver preserves the previous
|
|
297
|
-
// unbound call.
|
|
298
|
-
const wrapper = (...args) => {
|
|
299
|
-
const result = Reflect.apply(value, undefined, args);
|
|
300
|
-
this.cdr.markForCheck();
|
|
301
|
-
return result;
|
|
302
|
-
};
|
|
303
|
-
this.wrappers.set(value, wrapper);
|
|
304
|
-
return wrapper;
|
|
305
|
-
}
|
|
306
261
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: SymbioteHostPropsDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
307
262
|
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.0.8", type: SymbioteHostPropsDirective, isStandalone: true, selector: "[symbioteHostProps]", inputs: { symbioteHostProps: "symbioteHostProps" }, exportAs: ["symbioteHost"], ngImport: i0 });
|
|
308
263
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"shared.js","sourceRoot":"","sources":["../../../src/primitives/shared.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,iBAAiB,EACjB,SAAS,EAET,UAAU,EACV,MAAM,EACN,KAAK,EAEL,SAAS,GAEV,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,OAAO,EACL,YAAY,EACZ,cAAc,GAGf,MAAM,yBAAyB,CAAC;;AAEjC;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,MAAM,UAAU,eAAe,CAAC,UAA+B;IAC7D,MAAM,IAAI,GAAG,UAAU,CAAC,aAAa,CAAC;IACtC,OAAO,cAAc,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC,CAAC,SAAS,CAAC;AAC7D,CAAC;AAED,+FAA+F;AAC/F,+FAA+F;AAC/F,wFAAwF;AACxF,8FAA8F;AAC9F,wFAAwF;AACxF,yFAAyF;AACzF,wFAAwF;AACxF,SAAS,YAA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I,KAAK,KAAK,SAAS;gBAAE,IAAI,CAAC,GAAG,CAAC,GAAG,KAAK,CAAC;YAC3C,IAAI,MAAM,CAAC,EAAE,CAAC,MAAM,CAAC,GAAG,CAAC,EAAE,KAAK,CAAC;gBAAE,SAAS;YAC5C,IAAI,CAAC,QAAQ,CAAC,WAAW,CACvB,IAAI,CAAC,UAAU,CAAC,aAAa,EAC7B,GAAG,EACH,IAAI,CAAC,YAAY,CAAC,GAAG,EAAE,KAAK,CAAC,CAC9B,CAAC;QACJ,CAAC;QACD,8FAA8F;QAC9F,6FAA6F;QAC7F,2FAA2F;QAC3F,+CAA+C;QAC/C,KAAK,MAAM,GAAG,IAAI,MAAM,CAAC,IAAI,CAAC,MAAM,CAAC,EAAE,CAAC;YACtC,IAAI,GAAG,IAAI,KAAK;gBAAE,SAAS;YAC3B,IAAI,CAAC,QAAQ,CAAC,WAAW,CAAC,IAAI,CAAC,UAAU,CAAC,aAAa,EAAE,GAAG,EAAE,SAAS,CAAC,CAAC;QAC3E,CAAC;QACD,IAAI,CAAC,MAAM,GAAG,IAAI,CAAC;IACrB,CAAC;uGArDU,0BAA0B;2FAA1B,0BAA0B;;2FAA1B,0BAA0B;kBANtC,SAAS;mBAAC;oBACT,QAAQ,EAAE,qBAAqB;oBAC/B,UAAU,EAAE,IAAI;oBAChB,QAAQ,EAAE,cAAc;oBACxB,MAAM,EAAE,CAAC,mBAAmB,CAAC;iBAC9B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import '@symbiote-native/components/register';
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
// Side-effect ONLY. Exports nothing, and must never be re-exported from the barrel.
|
|
2
|
+
//
|
|
3
|
+
// The fourteen calls live once, in `@symbiote-native/components/register` — they were identical in
|
|
4
|
+
// all five adapters, and each copy carried a migration ledger justifying a call against a wrapper
|
|
5
|
+
// that no longer exists. What is per-adapter is only the SPELLING of the import below: every
|
|
6
|
+
// `*-tag.test.*` here reaches the registry through `import './register';`, and this adapter's own
|
|
7
|
+
// barrel guard pins that line.
|
|
8
|
+
//
|
|
9
|
+
// WHY A SIDE-EFFECT SUBPATH AND NOT A BARREL EXPORT. Metro turns on `inlineRequires` for PRODUCTION
|
|
10
|
+
// only: it moves a `require` down to the first place its binding is used as a VALUE, and
|
|
11
|
+
// `export { X } from './x'` compiles to a lazy getter. A registration reached that way never
|
|
12
|
+
// evaluates in a Release build — invisible to tsc, to vitest, and to grepping the bundle. A bare
|
|
13
|
+
// `import` placed NEXT TO a re-export of the same specifier does not help either: Babel merges the
|
|
14
|
+
// two into one dependency and the merged dependency stays lazy.
|
|
15
|
+
import '@symbiote-native/components/register';
|
|
16
|
+
//# sourceMappingURL=register.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"register.js","sourceRoot":"","sources":["../../src/register.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,EAAE;AACF,mGAAmG;AACnG,kGAAkG;AAClG,6FAA6F;AAC7F,kGAAkG;AAClG,+BAA+B;AAC/B,EAAE;AACF,oGAAoG;AACpG,yFAAyF;AACzF,6FAA6F;AAC7F,iGAAiG;AACjG,mGAAmG;AACnG,gEAAgE;AAChE,OAAO,sCAAsC,CAAC"}
|
|
@@ -29,7 +29,7 @@ function asAngularHost(hostNode) {
|
|
|
29
29
|
});
|
|
30
30
|
return hostNode;
|
|
31
31
|
}
|
|
32
|
-
// A bare `
|
|
32
|
+
// A bare `view` node, created directly through the engine (bypassing Angular's own
|
|
33
33
|
// createElement, which only resolves KNOWN symbiote primitives, never an arbitrary component's
|
|
34
34
|
// selector — see SymbioteRenderer.createElement). Used as the AppRegistry root's host when a
|
|
35
35
|
// wrapperComponentProvider is set: Angular has no hostElement-less bootstrap for our renderer
|
|
@@ -37,7 +37,9 @@ function asAngularHost(hostNode) {
|
|
|
37
37
|
// that isn't one of our primitives), so the root needs an explicit host too, one we then hand
|
|
38
38
|
// to the wrapper as projectable content.
|
|
39
39
|
function createDetachedViewHost() {
|
|
40
|
-
|
|
40
|
+
// 'view', not 'View': the public name is not a Fabric view name, and until
|
|
41
|
+
// makeDescriptorFor learned to reject one it fell through to a view literally named `View`.
|
|
42
|
+
const descriptor = descriptorFor('view');
|
|
41
43
|
return toPublicInstance(createEngineElement(descriptor.component, descriptor.isText));
|
|
42
44
|
}
|
|
43
45
|
// Angular's whole unhandled-error funnel: INTERNAL_APPLICATION_ERROR_HANDLER resolves this token
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/render/index.ts"],"names":[],"mappings":"AAAA,qFAAqF;AACrF,yFAAyF;AACzF,2FAA2F;AAC3F,oFAAoF;AACpF,8EAA8E;AAC9E,8BAA8B;AAE9B,OAAO,EACL,aAAa,IAAI,mBAAmB,EACpC,aAAa,EACb,WAAW,EACX,IAAI,EACJ,mBAAmB,EACnB,gBAAgB,GAIjB,MAAM,yBAAyB,CAAC;AACjC,OAAO,EAAE,aAAa,EAAE,MAAM,6BAA6B,CAAC;AAC5D,OAAO,EACL,cAAc,EACd,eAAe,EACf,yBAAyB,EACzB,QAAQ,EACR,YAAY,EACZ,gBAAgB,EAChB,eAAe,IAAI,cAAc,EACjC,uCAAuC,IAAI,sCAAsC,GAIlF,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,uBAAuB,EAAE,MAAM,aAAa,CAAC;AACtD,OAAO,EAAE,kBAAkB,EAAE,uBAAuB,EAAE,MAAM,aAAa,CAAC;AAE1E,0FAA0F;AAC1F,4FAA4F;AAC5F,6FAA6F;AAC7F,qFAAqF;AACrF,6FAA6F;AAC7F,0FAA0F;AAC1F,2CAA2C;AAC3C,SAAS,kBAAkB;IACzB,OAAO,IAAsC,CAAC;AAChD,CAAC;AACD,SAAS,aAAa,CAAC,QAAyC;IAC9D,yFAAyF;IACzF,uFAAuF;IACvF,wCAAwC;IACxC,MAAM,CAAC,cAAc,CAAC,QAAQ,EAAE,SAAS,EAAE;QACzC,YAAY,EAAE,IAAI;QA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