@symbiote-native/angular 1.0.0 → 2.0.1
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 +41 -19
- package/bin/symbiote-angular-dev.cjs +16 -4
- package/build/angular/anchor-host-registry.js +1 -17
- 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} +1 -1
- package/build/angular/components/{image/shared.js → image-shared.js} +7 -2
- 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.js +11 -17
- package/build/angular/components/keyboard-avoiding-view/index.js.map +1 -1
- package/build/angular/components/modal/index.d.ts +1 -0
- package/build/angular/components/modal/index.js +19 -12
- 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/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 +5 -1
- package/build/angular/components/virtualized-list/index.js +366 -280
- package/build/angular/components/virtualized-list/index.js.map +1 -1
- package/build/angular/components.d.ts +20 -26
- package/build/angular/components.js +12 -14
- package/build/angular/components.js.map +1 -1
- package/build/angular/create-portal/index.d.ts +2 -2
- package/build/angular/create-portal/index.js +5 -5
- 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/host-instance/index.js +1 -1
- package/build/angular/index.d.ts +4 -2
- package/build/angular/index.js +15 -1
- package/build/angular/index.js.map +1 -1
- package/build/angular/modules/animated/create-animated-component.d.ts +5 -6
- package/build/angular/modules/animated/create-animated-component.js +60 -73
- 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 +18 -18
- package/build/angular/primitives/index.js +40 -36
- 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 -1
- package/build/angular/register.js +12 -31
- package/build/angular/register.js.map +1 -1
- package/build/angular/render/index.js +3 -3
- package/build/angular/render/index.js.map +1 -1
- package/build/angular/renderer/index.js +113 -67
- 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 +54 -20
- package/metro-css-parser.cjs +2 -1
- package/package.json +5 -14
- package/src/anchor-host-registry.ts +1 -17
- 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} +6 -1
- package/src/components/input-accessory-view-props.ts +21 -0
- package/src/components/keyboard-avoiding-view/index.ts +6 -9
- package/src/components/modal/index.ts +15 -7
- 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/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 +239 -156
- package/src/components.ts +84 -35
- package/src/create-portal/index.ts +5 -5
- 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/host-instance/index.ts +1 -1
- package/src/index.ts +52 -15
- package/src/modules/animated/create-animated-component.ts +50 -55
- package/src/modules/animated/index.ts +1 -1
- package/src/modules/image/index.ts +18 -0
- package/src/primitives/index.ts +22 -18
- package/src/primitives/shared.ts +11 -44
- package/src/register.ts +12 -40
- package/src/render/index.ts +3 -3
- package/src/renderer/index.ts +122 -73
- package/src/renderer/value-change.ts +8 -0
- package/babel-lower-host-primitives.cjs +0 -636
- 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 -68
- package/build/angular/components/button.js +0 -360
- 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 -83
- 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 -83
- 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 -85
- package/build/angular/components/image-background.js +0 -443
- package/build/angular/components/image-background.js.map +0 -1
- package/build/angular/components/input-accessory-view/index.d.ts +0 -66
- package/build/angular/components/input-accessory-view/index.js +0 -287
- package/build/angular/components/input-accessory-view/index.js.map +0 -1
- package/build/angular/components/pressable/index.d.ts +0 -134
- package/build/angular/components/pressable/index.js +0 -514
- package/build/angular/components/pressable/index.js.map +0 -1
- package/build/angular/components/refresh-control/index.d.ts +0 -91
- package/build/angular/components/refresh-control/index.js +0 -382
- package/build/angular/components/refresh-control/index.js.map +0 -1
- package/build/angular/components/safe-area-view/index.d.ts +0 -64
- 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 -241
- package/build/angular/components/scroll-view/shared.js +0 -848
- 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 -167
- package/build/angular/components/text-input.js +0 -684
- package/build/angular/components/text-input.js.map +0 -1
- package/build/angular/components/touchable/index.d.ts +0 -283
- package/build/angular/components/touchable/index.js +0 -1453
- package/build/angular/components/touchable/index.js.map +0 -1
- package/build/angular/components/touchable-native-feedback/index.d.ts +0 -87
- package/build/angular/components/touchable-native-feedback/index.js +0 -409
- package/build/angular/components/touchable-native-feedback/index.js.map +0 -1
- package/build/angular/state-style.d.ts +0 -9
- package/build/angular/state-style.js +0 -39
- package/build/angular/state-style.js.map +0 -1
- package/metro-transformer.cjs +0 -69
- 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 -237
- package/src/components/image/index.android.ts +0 -95
- package/src/components/image/index.ios.ts +0 -95
- package/src/components/image/index.ts +0 -3
- package/src/components/image-background.ts +0 -308
- package/src/components/input-accessory-view/index.ts +0 -246
- package/src/components/pressable/index.ts +0 -522
- package/src/components/refresh-control/index.ts +0 -349
- package/src/components/safe-area-view/index.ts +0 -247
- 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 -1093
- 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 -669
- package/src/components/touchable/index.ts +0 -956
- package/src/components/touchable-native-feedback/index.ts +0 -327
- package/src/state-style.ts +0 -39
|
@@ -5,7 +5,7 @@ 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'`,
|
|
@@ -24,69 +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
56
|
}
|
|
57
57
|
export declare class ManagedTextInputHost extends SymbiotePrimitiveHost {
|
|
58
58
|
static ɵfac: i0.ɵɵFactoryDeclaration<ManagedTextInputHost, never>;
|
|
59
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ManagedTextInputHost, "
|
|
59
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ManagedTextInputHost, "text-input-managed", never, {}, {}, never, ["*"], true, never>;
|
|
60
60
|
}
|
|
61
61
|
export declare class ManagedMultilineTextInputHost extends SymbiotePrimitiveHost {
|
|
62
62
|
static ɵfac: i0.ɵɵFactoryDeclaration<ManagedMultilineTextInputHost, never>;
|
|
63
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ManagedMultilineTextInputHost, "
|
|
63
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ManagedMultilineTextInputHost, "text-input-multiline-managed", never, {}, {}, never, ["*"], true, never>;
|
|
64
64
|
}
|
|
65
65
|
export declare class SwitchHost extends SymbiotePrimitiveHost {
|
|
66
66
|
static ɵfac: i0.ɵɵFactoryDeclaration<SwitchHost, never>;
|
|
67
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SwitchHost, "
|
|
67
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SwitchHost, "switch", never, {}, {}, never, ["*"], true, never>;
|
|
68
68
|
}
|
|
69
69
|
export declare class ManagedSwitchHost extends SymbiotePrimitiveHost {
|
|
70
70
|
static ɵfac: i0.ɵɵFactoryDeclaration<ManagedSwitchHost, never>;
|
|
71
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ManagedSwitchHost, "
|
|
71
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ManagedSwitchHost, "switch-managed", never, {}, {}, never, ["*"], true, never>;
|
|
72
72
|
}
|
|
73
73
|
export declare class ActivityIndicatorHost extends SymbiotePrimitiveHost {
|
|
74
74
|
static ɵfac: i0.ɵɵFactoryDeclaration<ActivityIndicatorHost, never>;
|
|
75
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ActivityIndicatorHost, "
|
|
75
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ActivityIndicatorHost, "activity-indicator", never, {}, {}, never, ["*"], true, never>;
|
|
76
76
|
}
|
|
77
77
|
export declare class SafeAreaViewHost extends SymbiotePrimitiveHost {
|
|
78
78
|
static ɵfac: i0.ɵɵFactoryDeclaration<SafeAreaViewHost, never>;
|
|
79
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SafeAreaViewHost, "
|
|
79
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SafeAreaViewHost, "safe-area-view", never, {}, {}, never, ["*"], true, never>;
|
|
80
80
|
}
|
|
81
81
|
export declare class ModalHost extends SymbiotePrimitiveHost {
|
|
82
82
|
static ɵfac: i0.ɵɵFactoryDeclaration<ModalHost, never>;
|
|
83
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ModalHost, "
|
|
83
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ModalHost, "modal", never, {}, {}, never, ["*"], true, never>;
|
|
84
84
|
}
|
|
85
85
|
export declare class RefreshControlHost extends SymbiotePrimitiveHost {
|
|
86
86
|
static ɵfac: i0.ɵɵFactoryDeclaration<RefreshControlHost, never>;
|
|
87
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<RefreshControlHost, "
|
|
87
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<RefreshControlHost, "refresh-control", never, {}, {}, never, ["*"], true, never>;
|
|
88
88
|
}
|
|
89
89
|
export declare class InputAccessoryViewHost extends SymbiotePrimitiveHost {
|
|
90
90
|
static ɵfac: i0.ɵɵFactoryDeclaration<InputAccessoryViewHost, never>;
|
|
91
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<InputAccessoryViewHost, "
|
|
91
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<InputAccessoryViewHost, "input-accessory-view", never, {}, {}, never, ["*"], true, never>;
|
|
92
92
|
}
|
|
@@ -9,12 +9,12 @@ 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
|
}]
|
|
@@ -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,60 +68,60 @@ 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
|
}]
|
|
@@ -131,60 +131,60 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImpor
|
|
|
131
131
|
// is what its own TextInput renders.
|
|
132
132
|
export class TextInputHost extends SymbiotePrimitiveHost {
|
|
133
133
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: TextInputHost, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
134
|
-
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 });
|
|
135
135
|
}
|
|
136
136
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: TextInputHost, decorators: [{
|
|
137
137
|
type: Component,
|
|
138
138
|
args: [{
|
|
139
|
-
selector: '
|
|
139
|
+
selector: 'text-input',
|
|
140
140
|
standalone: true,
|
|
141
141
|
template: '<ng-content></ng-content>',
|
|
142
142
|
}]
|
|
143
143
|
}] });
|
|
144
144
|
export class MultilineTextInputHost extends SymbiotePrimitiveHost {
|
|
145
145
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: MultilineTextInputHost, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
146
|
-
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 });
|
|
147
147
|
}
|
|
148
148
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: MultilineTextInputHost, decorators: [{
|
|
149
149
|
type: Component,
|
|
150
150
|
args: [{
|
|
151
|
-
selector: '
|
|
151
|
+
selector: 'text-input-multiline',
|
|
152
152
|
standalone: true,
|
|
153
153
|
template: '<ng-content></ng-content>',
|
|
154
154
|
}]
|
|
155
155
|
}] });
|
|
156
156
|
export class ManagedTextInputHost extends SymbiotePrimitiveHost {
|
|
157
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: "
|
|
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
159
|
}
|
|
160
160
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: ManagedTextInputHost, decorators: [{
|
|
161
161
|
type: Component,
|
|
162
162
|
args: [{
|
|
163
|
-
selector: '
|
|
163
|
+
selector: 'text-input-managed',
|
|
164
164
|
standalone: true,
|
|
165
165
|
template: '<ng-content></ng-content>',
|
|
166
166
|
}]
|
|
167
167
|
}] });
|
|
168
168
|
export class ManagedMultilineTextInputHost extends SymbiotePrimitiveHost {
|
|
169
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: "
|
|
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
171
|
}
|
|
172
172
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: ManagedMultilineTextInputHost, decorators: [{
|
|
173
173
|
type: Component,
|
|
174
174
|
args: [{
|
|
175
|
-
selector: '
|
|
175
|
+
selector: 'text-input-multiline-managed',
|
|
176
176
|
standalone: true,
|
|
177
177
|
template: '<ng-content></ng-content>',
|
|
178
178
|
}]
|
|
179
179
|
}] });
|
|
180
180
|
export class SwitchHost extends SymbiotePrimitiveHost {
|
|
181
181
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: SwitchHost, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
182
|
-
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 });
|
|
183
183
|
}
|
|
184
184
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: SwitchHost, decorators: [{
|
|
185
185
|
type: Component,
|
|
186
186
|
args: [{
|
|
187
|
-
selector: '
|
|
187
|
+
selector: 'switch',
|
|
188
188
|
standalone: true,
|
|
189
189
|
template: '<ng-content></ng-content>',
|
|
190
190
|
}]
|
|
@@ -194,72 +194,76 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImpor
|
|
|
194
194
|
// lowered tag; mirrors `ManagedTextInputHost` above.
|
|
195
195
|
export class ManagedSwitchHost extends SymbiotePrimitiveHost {
|
|
196
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: "
|
|
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
198
|
}
|
|
199
199
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: ManagedSwitchHost, decorators: [{
|
|
200
200
|
type: Component,
|
|
201
201
|
args: [{
|
|
202
|
-
selector: '
|
|
202
|
+
selector: 'switch-managed',
|
|
203
203
|
standalone: true,
|
|
204
204
|
template: '<ng-content></ng-content>',
|
|
205
205
|
}]
|
|
206
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.
|
|
207
211
|
export class ActivityIndicatorHost extends SymbiotePrimitiveHost {
|
|
208
212
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: ActivityIndicatorHost, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
209
|
-
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 });
|
|
210
214
|
}
|
|
211
215
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: ActivityIndicatorHost, decorators: [{
|
|
212
216
|
type: Component,
|
|
213
217
|
args: [{
|
|
214
|
-
selector: '
|
|
218
|
+
selector: 'activity-indicator',
|
|
215
219
|
standalone: true,
|
|
216
220
|
template: '<ng-content></ng-content>',
|
|
217
221
|
}]
|
|
218
222
|
}] });
|
|
219
223
|
export class SafeAreaViewHost extends SymbiotePrimitiveHost {
|
|
220
224
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: SafeAreaViewHost, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
221
|
-
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 });
|
|
222
226
|
}
|
|
223
227
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: SafeAreaViewHost, decorators: [{
|
|
224
228
|
type: Component,
|
|
225
229
|
args: [{
|
|
226
|
-
selector: '
|
|
230
|
+
selector: 'safe-area-view',
|
|
227
231
|
standalone: true,
|
|
228
232
|
template: '<ng-content></ng-content>',
|
|
229
233
|
}]
|
|
230
234
|
}] });
|
|
231
235
|
export class ModalHost extends SymbiotePrimitiveHost {
|
|
232
236
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: ModalHost, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
233
|
-
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 });
|
|
234
238
|
}
|
|
235
239
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: ModalHost, decorators: [{
|
|
236
240
|
type: Component,
|
|
237
241
|
args: [{
|
|
238
|
-
selector: '
|
|
242
|
+
selector: 'modal',
|
|
239
243
|
standalone: true,
|
|
240
244
|
template: '<ng-content></ng-content>',
|
|
241
245
|
}]
|
|
242
246
|
}] });
|
|
243
247
|
export class RefreshControlHost extends SymbiotePrimitiveHost {
|
|
244
248
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: RefreshControlHost, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
245
|
-
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 });
|
|
246
250
|
}
|
|
247
251
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: RefreshControlHost, decorators: [{
|
|
248
252
|
type: Component,
|
|
249
253
|
args: [{
|
|
250
|
-
selector: '
|
|
254
|
+
selector: 'refresh-control',
|
|
251
255
|
standalone: true,
|
|
252
256
|
template: '<ng-content></ng-content>',
|
|
253
257
|
}]
|
|
254
258
|
}] });
|
|
255
259
|
export class InputAccessoryViewHost extends SymbiotePrimitiveHost {
|
|
256
260
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: InputAccessoryViewHost, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
257
|
-
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 });
|
|
258
262
|
}
|
|
259
263
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: InputAccessoryViewHost, decorators: [{
|
|
260
264
|
type: Component,
|
|
261
265
|
args: [{
|
|
262
|
-
selector: '
|
|
266
|
+
selector: 'input-accessory-view',
|
|
263
267
|
standalone: true,
|
|
264
268
|
template: '<ng-content></ng-content>',
|
|
265
269
|
}]
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/primitives/index.ts"],"names":[],"mappings":"AAAA,wFAA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AAqB;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,YAAY,CAAI,KAAc;IACrC,OAAO,CACL,KAAK,KAAK,SAAS;QACnB,KAAK,KAAK,IAAI;QACd,KAAK,KAAK,KAAK;QACf,KAAK,KAAK,EAAE;QACZ,OAA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C,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"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
import '@symbiote-native/components/register';
|
|
@@ -1,35 +1,16 @@
|
|
|
1
1
|
// Side-effect ONLY. Exports nothing, and must never be re-exported from the barrel.
|
|
2
2
|
//
|
|
3
|
-
//
|
|
4
|
-
//
|
|
5
|
-
//
|
|
6
|
-
//
|
|
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.
|
|
7
8
|
//
|
|
8
|
-
//
|
|
9
|
-
//
|
|
10
|
-
//
|
|
11
|
-
// in Release
|
|
12
|
-
//
|
|
13
|
-
//
|
|
14
|
-
|
|
15
|
-
// survives both traps, matching `adapters/{vue,svelte,solid}/src/register.ts` and
|
|
16
|
-
// `packages/slider/src/{react,vue,svelte,angular}/index.ts`.
|
|
17
|
-
import { registerImageBehavior, registerInputAccessoryViewBehavior, registerPressableBehavior, registerSwitchBehavior, registerTextInputBehavior, } from '@symbiote-native/components';
|
|
18
|
-
registerPressableBehavior();
|
|
19
|
-
// Only the LOWERED tags carry this — the wrapper renders `symbiote-text-input-managed` /
|
|
20
|
-
// `symbiote-text-input-multiline-managed` and keeps running its own lifecycle. One owner per node;
|
|
21
|
-
// see `component-names/shared.ts`.
|
|
22
|
-
registerTextInputBehavior();
|
|
23
|
-
// Same reason as TextInput: the wrapper renders `symbiote-switch-managed` and runs its own
|
|
24
|
-
// lastNativeReport/snap-back lifecycle, so the engine's copy attaches only to the bare tag.
|
|
25
|
-
registerSwitchBehavior();
|
|
26
|
-
// Image owns no runtime — its behavior is a prop FOLD and nothing else, and it is registered on the
|
|
27
|
-
// same `symbiote-image` the wrapper already emits rather than on a `-managed` twin. That is safe
|
|
28
|
-
// only because the mapping is idempotent, which `core/components/src/behaviors/image.test.ts`
|
|
29
|
-
// asserts rather than assumes; a wrapper-built node simply folds a second time and nothing moves.
|
|
30
|
-
registerImageBehavior();
|
|
31
|
-
// Fold-only, and it shares the wrapper's tag for the same reason Image does: the mapping has no
|
|
32
|
-
// aliasing at all, so a wrapper-built node folding a second time moves nothing.
|
|
33
|
-
// `core/components/src/behaviors/input-accessory-view.test.ts` asserts that rather than assuming it.
|
|
34
|
-
registerInputAccessoryViewBehavior();
|
|
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';
|
|
35
16
|
//# sourceMappingURL=register.js.map
|