@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
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
// The `<refresh-control>` tag's prop surface. The tag is matched by `RefreshControlElement`
|
|
2
|
+
// (`../elements`) and carries the controlled-spinner handshake as an engine behavior
|
|
3
|
+
// (`registerRefreshControlBehavior` — mirror what native last reported, command it back when the
|
|
4
|
+
// app's `refreshing` disagrees, RefreshControl.js:145-166), so the wrapper that ran that in Angular
|
|
5
|
+
// was deleted 2026-09-11.
|
|
6
|
+
//
|
|
7
|
+
// WHERE it goes is the ScrollView's decision, not this tag's: write it as an ordinary FIRST CHILD
|
|
8
|
+
// on both platforms and the scroll-view behavior re-parents it — iOS a sibling before the content
|
|
9
|
+
// container, Android the `AndroidSwipeRefreshLayout` WRAPPING the scroll view.
|
|
10
|
+
//
|
|
11
|
+
// The type stays for a component forwarding a bag, and because `IAngularRefreshControlProps` is
|
|
12
|
+
// public API.
|
|
13
|
+
export {};
|
|
14
|
+
//# sourceMappingURL=refresh-control-props.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"refresh-control-props.js","sourceRoot":"","sources":["../../../src/components/refresh-control-props.ts"],"names":[],"mappings":"AAAA,4FAA4F;AAC5F,qFAAqF;AACrF,iGAAiG;AACjG,oGAAoG;AACpG,0BAA0B;AAC1B,EAAE;AACF,kGAAkG;AAClG,kGAAkG;AAClG,+EAA+E;AAC/E,EAAE;AACF,gGAAgG;AAChG,cAAc"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { IAccessibilityProps, IAriaProps } from '@symbiote-native/components';
|
|
2
|
+
import type { IStyleProp, ISymbioteEvent, IViewStyle } from '@symbiote-native/engine';
|
|
3
|
+
export interface IAngularSafeAreaViewProps extends IAccessibilityProps, IAriaProps {
|
|
4
|
+
style?: IStyleProp<IViewStyle>;
|
|
5
|
+
id?: string;
|
|
6
|
+
onLayout?: (event: ISymbioteEvent) => void;
|
|
7
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
// The `<safe-area-view>` tag's prop surface. The tag is matched by `SafeAreaViewElement`
|
|
2
|
+
// (`../elements`) and commits a single `SafeAreaView` native view whose host insets its children to
|
|
3
|
+
// the safe area; there is no JS-side translation to do, so the wrapper that used to fold
|
|
4
|
+
// aria/role and forward a host bag was deleted 2026-09-10 — the engine's own aria fold and the
|
|
5
|
+
// renderer's `id` -> `nativeID` alias cover both, on every path.
|
|
6
|
+
//
|
|
7
|
+
// The type stays for a component forwarding a bag, and because `IAngularSafeAreaViewProps` is
|
|
8
|
+
// public API. Mirrors React's ISafeAreaViewProps minus children, which Angular takes via
|
|
9
|
+
// `<ng-content>`.
|
|
10
|
+
export {};
|
|
11
|
+
//# sourceMappingURL=safe-area-view-props.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"safe-area-view-props.js","sourceRoot":"","sources":["../../../src/components/safe-area-view-props.ts"],"names":[],"mappings":"AAAA,yFAAyF;AACzF,oGAAoG;AACpG,yFAAyF;AACzF,+FAA+F;AAC/F,iEAAiE;AACjE,EAAE;AACF,8FAA8F;AAC9F,yFAAyF;AACzF,kBAAkB"}
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
import type { IAccessibilityProps, IAriaProps } from '@symbiote-native/components';
|
|
2
|
+
import type { IStyleProp, ISymbioteEvent, IViewStyle } from '@symbiote-native/engine';
|
|
3
|
+
export type { IScrollViewHandle } from '@symbiote-native/components';
|
|
4
|
+
type IScrollHandler = (event: ISymbioteEvent) => void;
|
|
5
|
+
type IContentSizeHandler = (width: number, height: number) => void;
|
|
6
|
+
export interface IAngularScrollViewProps extends IAccessibilityProps, IAriaProps {
|
|
7
|
+
style?: IStyleProp<IViewStyle>;
|
|
8
|
+
contentContainerStyle?: IStyleProp<IViewStyle> | string;
|
|
9
|
+
scrollEnabled?: boolean;
|
|
10
|
+
showsVerticalScrollIndicator?: boolean;
|
|
11
|
+
showsHorizontalScrollIndicator?: boolean;
|
|
12
|
+
pagingEnabled?: boolean;
|
|
13
|
+
bounces?: boolean;
|
|
14
|
+
decelerationRate?: 'normal' | 'fast' | number;
|
|
15
|
+
scrollEventThrottle?: number;
|
|
16
|
+
contentInset?: {
|
|
17
|
+
top?: number;
|
|
18
|
+
left?: number;
|
|
19
|
+
bottom?: number;
|
|
20
|
+
right?: number;
|
|
21
|
+
};
|
|
22
|
+
contentOffset?: {
|
|
23
|
+
x: number;
|
|
24
|
+
y: number;
|
|
25
|
+
};
|
|
26
|
+
removeClippedSubviews?: boolean;
|
|
27
|
+
snapToInterval?: number;
|
|
28
|
+
snapToOffsets?: number[];
|
|
29
|
+
snapToAlignment?: 'start' | 'center' | 'end';
|
|
30
|
+
snapToStart?: boolean;
|
|
31
|
+
snapToEnd?: boolean;
|
|
32
|
+
disableIntervalMomentum?: boolean;
|
|
33
|
+
stickyHeaderIndices?: number[];
|
|
34
|
+
invertStickyHeaders?: boolean;
|
|
35
|
+
keyboardDismissMode?: 'none' | 'on-drag' | 'interactive';
|
|
36
|
+
keyboardShouldPersistTaps?: boolean | 'always' | 'never' | 'handled';
|
|
37
|
+
maintainVisibleContentPosition?: {
|
|
38
|
+
minIndexForVisible: number;
|
|
39
|
+
autoscrollToTopThreshold?: number;
|
|
40
|
+
};
|
|
41
|
+
alwaysBounceHorizontal?: boolean;
|
|
42
|
+
alwaysBounceVertical?: boolean;
|
|
43
|
+
centerContent?: boolean;
|
|
44
|
+
scrollIndicatorInsets?: {
|
|
45
|
+
top?: number;
|
|
46
|
+
left?: number;
|
|
47
|
+
bottom?: number;
|
|
48
|
+
right?: number;
|
|
49
|
+
};
|
|
50
|
+
indicatorStyle?: 'default' | 'black' | 'white';
|
|
51
|
+
directionalLockEnabled?: boolean;
|
|
52
|
+
automaticallyAdjustKeyboardInsets?: boolean;
|
|
53
|
+
contentInsetAdjustmentBehavior?: 'automatic' | 'scrollableAxes' | 'never' | 'always';
|
|
54
|
+
minimumZoomScale?: number;
|
|
55
|
+
maximumZoomScale?: number;
|
|
56
|
+
zoomScale?: number;
|
|
57
|
+
bouncesZoom?: boolean;
|
|
58
|
+
pinchGestureEnabled?: boolean;
|
|
59
|
+
nestedScrollEnabled?: boolean;
|
|
60
|
+
overScrollMode?: 'auto' | 'always' | 'never';
|
|
61
|
+
fadingEdgeLength?: number;
|
|
62
|
+
persistentScrollbar?: boolean;
|
|
63
|
+
endFillColor?: string;
|
|
64
|
+
onLayout?: IScrollHandler;
|
|
65
|
+
onScroll?: IScrollHandler;
|
|
66
|
+
onScrollBeginDrag?: IScrollHandler;
|
|
67
|
+
onScrollEndDrag?: IScrollHandler;
|
|
68
|
+
onMomentumScrollBegin?: IScrollHandler;
|
|
69
|
+
onMomentumScrollEnd?: IScrollHandler;
|
|
70
|
+
onScrollToTop?: IScrollHandler;
|
|
71
|
+
onContentSizeChange?: IContentSizeHandler;
|
|
72
|
+
onAccessibilityAction?: (event: ISymbioteEvent) => void;
|
|
73
|
+
onAccessibilityTap?: (event: ISymbioteEvent) => void;
|
|
74
|
+
onMagicTap?: (event: ISymbioteEvent) => void;
|
|
75
|
+
onAccessibilityEscape?: (event: ISymbioteEvent) => void;
|
|
76
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
// The `<scroll-view>` / `<horizontal-scroll-view>` tag's prop surface — the axis is the TAG you
|
|
2
|
+
// write, not a `horizontal` binding, because Android resolves a different native class per axis.
|
|
3
|
+
//
|
|
4
|
+
// The wrapper was deleted 2026-09-11 and nothing replaced it in the adapter: the ENGINE owns the
|
|
5
|
+
// whole shape now (`core/components/src/behaviors/scroll-view/`). `buildStructure` builds the
|
|
6
|
+
// content node the children go under, `slotProps` routes `contentContainerStyle` onto it as its
|
|
7
|
+
// `style`, `payloadFold` composes the two base styles, and the sticky machinery pins by DOCUMENT
|
|
8
|
+
// ORDER through the `<sticky-header>` tag — so the Angular projection bridge that used to wrap
|
|
9
|
+
// projected children by index is gone with it, along with its renderer hooks.
|
|
10
|
+
//
|
|
11
|
+
// A `<refresh-control>` is an ordinary FIRST CHILD on both platforms; the behavior re-parents it
|
|
12
|
+
// per platform (iOS a sibling before the content, Android the swipe layout WRAPPING the scroll
|
|
13
|
+
// view), which is why the adapter no longer has an `.ios`/`.android` split here.
|
|
14
|
+
//
|
|
15
|
+
// The imperative surface comes from `buildScrollViewHandle` (`@symbiote-native/components`) over
|
|
16
|
+
// the node a template ref hands back.
|
|
17
|
+
export {};
|
|
18
|
+
//# sourceMappingURL=scroll-view-props.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"scroll-view-props.js","sourceRoot":"","sources":["../../../src/components/scroll-view-props.ts"],"names":[],"mappings":"AAAA,gGAAgG;AAChG,iGAAiG;AACjG,EAAE;AACF,iGAAiG;AACjG,8FAA8F;AAC9F,gGAAgG;AAChG,iGAAiG;AACjG,+FAA+F;AAC/F,8EAA8E;AAC9E,EAAE;AACF,iGAAiG;AACjG,+FAA+F;AAC/F,iFAAiF;AACjF,EAAE;AACF,iGAAiG;AACjG,sCAAsC"}
|
|
@@ -3,6 +3,7 @@ import type { IAccessibilityProps, IAccessibilityStateValue, IAriaProps, IScroll
|
|
|
3
3
|
import { type IStyleProp, type ISymbioteEvent, type ISymbioteNode, type IViewStyle } from '@symbiote-native/engine';
|
|
4
4
|
import { VListEmptyDirective, VListFooterDirective, VListHeaderDirective, VListSeparatorDirective, type IVListSeparatorContext } from '../virtualized-list';
|
|
5
5
|
import { VSectionFooterDirective, VSectionHeaderDirective, VSectionItemDirective, VSectionSeparatorDirective, type IVirtualizedSectionListProps } from '../virtualized-section-list';
|
|
6
|
+
import { type IGatedAccessibilityEvent } from '../../gate-demand';
|
|
6
7
|
import * as i0 from "@angular/core";
|
|
7
8
|
import * as i1 from "../../primitives/shared";
|
|
8
9
|
export type { ISection } from '@symbiote-native/components';
|
|
@@ -78,6 +79,8 @@ export declare class SectionList<ItemT = unknown> implements ISectionListInputs<
|
|
|
78
79
|
readonly accessibilityTap: EventEmitter<ISymbioteEvent>;
|
|
79
80
|
readonly magicTap: EventEmitter<ISymbioteEvent>;
|
|
80
81
|
readonly accessibilityEscape: EventEmitter<ISymbioteEvent>;
|
|
82
|
+
private readonly gateDemandAbove;
|
|
83
|
+
wantsGate(name: IGatedAccessibilityEvent): boolean;
|
|
81
84
|
role?: IAriaProps['role'];
|
|
82
85
|
ariaLabel?: string;
|
|
83
86
|
ariaLabelledBy?: string;
|
|
@@ -28,6 +28,7 @@ import { VListEmptyDirective, VListFooterDirective, VListHeaderDirective, VListS
|
|
|
28
28
|
import { VListOutletDirective } from '../virtualized-list/directives';
|
|
29
29
|
import { stableAnchorStyle, SymbioteStyleInputDirective, } from '../../primitives';
|
|
30
30
|
import { VSectionFooterDirective, VSectionHeaderDirective, VSectionItemDirective, VSectionSeparatorDirective, VirtualizedSectionList, } from '../virtualized-section-list';
|
|
31
|
+
import { gateWanted, injectGateDemandAbove, provideGateDemand, } from '../../gate-demand';
|
|
31
32
|
import * as i0 from "@angular/core";
|
|
32
33
|
import * as i1 from "../../primitives/shared";
|
|
33
34
|
// Angular cannot preserve VListSeparatorDirective<ItemT>'s type parameter across this re-stamp
|
|
@@ -114,6 +115,13 @@ export class SectionList {
|
|
|
114
115
|
accessibilityTap = new EventEmitter();
|
|
115
116
|
magicTap = new EventEmitter();
|
|
116
117
|
accessibilityEscape = new EventEmitter();
|
|
118
|
+
// This wrapper binds the four gated accessibility events on the component it renders, which
|
|
119
|
+
// Angular forces to be unconditional and which would light that component's gates on every
|
|
120
|
+
// instance. It answers for them instead — see `gate-demand.ts`.
|
|
121
|
+
gateDemandAbove = injectGateDemandAbove();
|
|
122
|
+
wantsGate(name) {
|
|
123
|
+
return gateWanted(this.gateDemandAbove, name, this[name]);
|
|
124
|
+
}
|
|
117
125
|
role;
|
|
118
126
|
ariaLabel;
|
|
119
127
|
ariaLabelledBy;
|
|
@@ -333,13 +341,14 @@ export class SectionList {
|
|
|
333
341
|
</ng-template>
|
|
334
342
|
}
|
|
335
343
|
</VirtualizedSectionList>
|
|
336
|
-
`, isInline: true, dependencies: [{ kind: "component", type: VirtualizedSectionList, selector: "VirtualizedSectionList", inputs: ["sections", "keyExtractor", "getItemLayout", "stickySectionHeadersEnabled", "extraData", "onEndReachedThreshold", "onStartReachedThreshold", "refreshing", "progressViewOffset", "refreshRequested", "initialNumToRender", "initialScrollIndex", "maxToRenderPerBatch", "updateCellsBatchingPeriod", "windowSize", "inverted", "maintainVisibleContentPosition", "onScroll", "onScrollBeginDrag", "onScrollEndDrag", "onMomentumScrollBegin", "onMomentumScrollEnd", "scrollEventThrottle", "keyboardShouldPersistTaps", "keyboardDismissMode", "style", "contentContainerStyle", "testID", "nativeID", "accessible", "accessibilityLabel", "accessibilityHint", "accessibilityRole", "accessibilityState", "accessibilityValue", "accessibilityActions", "accessibilityLabelledBy", "importantForAccessibility", "accessibilityLiveRegion", "screenReaderFocusable", "accessibilityViewIsModal", "accessibilityElementsHidden", "accessibilityIgnoresInvertColors", "accessibilityLanguage", "accessibilityRespondsToUserInteraction", "accessibilityShowsLargeContentViewer", "accessibilityLargeContentTitle", "role", "ariaLabel", "ariaLabelledBy", "ariaLive", "ariaHidden", "ariaBusy", "ariaChecked", "ariaDisabled", "ariaExpanded", "ariaSelected", "ariaModal", "ariaValueMax", "ariaValueMin", "ariaValueNow", "ariaValueText"], outputs: ["endReached", "startReached", "refresh", "accessibilityAction", "accessibilityTap", "magicTap", "accessibilityEscape"] }, { kind: "directive", type: VSectionItemDirective, selector: "[vSectionItem]" }, { kind: "directive", type: VSectionHeaderDirective, selector: "[vSectionHeader]" }, { kind: "directive", type: VSectionFooterDirective, selector: "[vSectionFooter]" }, { kind: "directive", type: VSectionSeparatorDirective, selector: "[vSectionSeparator]" }, { kind: "directive", type: VListHeaderDirective, selector: "[vListHeader]" }, { kind: "directive", type: VListFooterDirective, selector: "[vListFooter]" }, { kind: "directive", type: VListEmptyDirective, selector: "[vListEmpty]" }, { kind: "directive", type: VListSeparatorDirective, selector: "[vListSeparator]" }, { kind: "directive", type: VListOutletDirective, selector: "[vListOutlet]", inputs: ["vListOutlet", "vListOutletContext"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
344
|
+
`, isInline: true, dependencies: [{ kind: "component", type: VirtualizedSectionList, selector: "VirtualizedSectionList", inputs: ["sections", "keyExtractor", "getItemLayout", "stickySectionHeadersEnabled", "extraData", "onEndReachedThreshold", "onStartReachedThreshold", "refreshing", "progressViewOffset", "refreshRequested", "initialNumToRender", "initialScrollIndex", "maxToRenderPerBatch", "updateCellsBatchingPeriod", "windowSize", "inverted", "maintainVisibleContentPosition", "onScroll", "onScrollBeginDrag", "onScrollEndDrag", "onMomentumScrollBegin", "onMomentumScrollEnd", "scrollEventThrottle", "keyboardShouldPersistTaps", "keyboardDismissMode", "style", "contentContainerStyle", "testID", "nativeID", "accessible", "accessibilityLabel", "accessibilityHint", "accessibilityRole", "accessibilityState", "accessibilityValue", "accessibilityActions", "accessibilityLabelledBy", "importantForAccessibility", "accessibilityLiveRegion", "screenReaderFocusable", "accessibilityViewIsModal", "accessibilityElementsHidden", "accessibilityIgnoresInvertColors", "accessibilityLanguage", "accessibilityRespondsToUserInteraction", "accessibilityShowsLargeContentViewer", "accessibilityLargeContentTitle", "role", "ariaLabel", "ariaLabelledBy", "ariaLive", "ariaHidden", "ariaBusy", "ariaChecked", "ariaDisabled", "ariaExpanded", "ariaSelected", "ariaModal", "ariaValueMax", "ariaValueMin", "ariaValueNow", "ariaValueText"], outputs: ["endReached", "startReached", "refresh", "accessibilityAction", "accessibilityTap", "magicTap", "accessibilityEscape"] }, { kind: "directive", type: VSectionItemDirective, selector: "[vSectionItem]" }, { kind: "directive", type: VSectionHeaderDirective, selector: "[vSectionHeader]" }, { kind: "directive", type: VSectionFooterDirective, selector: "[vSectionFooter]" }, { kind: "directive", type: VSectionSeparatorDirective, selector: "[vSectionSeparator]" }, { kind: "directive", type: VListHeaderDirective, selector: "[vListHeader]" }, { kind: "directive", type: VListFooterDirective, selector: "[vListFooter]" }, { kind: "directive", type: VListEmptyDirective, selector: "[vListEmpty]" }, { kind: "directive", type: VListSeparatorDirective, selector: "[vListSeparator]" }, { kind: "directive", type: VListOutletDirective, selector: "[vListOutlet]", inputs: ["vListOutlet", "vListOutletContext"] }], viewProviders: [provideGateDemand(() => SectionList)], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
337
345
|
}
|
|
338
346
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: SectionList, decorators: [{
|
|
339
347
|
type: Component,
|
|
340
348
|
args: [{
|
|
341
349
|
selector: 'SectionList',
|
|
342
350
|
standalone: true,
|
|
351
|
+
viewProviders: [provideGateDemand(() => SectionList)],
|
|
343
352
|
hostDirectives: [
|
|
344
353
|
{ directive: SymbioteStyleInputDirective, inputs: ['style'] },
|
|
345
354
|
],
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/section-list/index.ts"],"names":[],"mappings":"AAAA,8FAA8F;AAC9F,4FAA4F;AAC5F,iGAAiG;AACjG,+FAA+F;AAC/F,kDAAkD;AAClD,EAAE;AACF,kGAAkG;AAClG,2FAA2F;AAC3F,oGAAoG;AACpG,iGAAiG;AACjG,0FAA0F;AAC1F,kFAAkF;AAClF,kGAAkG;AAClG,EAAE;AACF,6FAA6F;AAC7F,mFAAmF;AACnF,iGAAiG;AACjG,+FAA+F;AAC/F,wFAAwF;AACxF,iGAAiG;AACjG,yFAAyF;AACzF,gGAAgG;AAChG,mGAAmG;AACnG,wEAAwE;AAExE,OAAO,EACL,uBAAuB,EACvB,SAAS,EACT,YAAY,EACZ,UAAU,EACV,YAAY,EACZ,KAAK,EACL,MAAM,EACN,SAAS,EACT,MAAM,GACP,MAAM,eAAe,CAAC;AASvB,OAAO,EAKN,MAAM,yBAAyB,CAAC;AACjC,OAAO,EACL,mBAAmB,EACnB,oBAAoB,EACpB,oBAAoB,EACpB,uBAAuB,GAExB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,oBAAoB,EAAE,MAAM,gCAAgC,CAAC;AACtE,OAAO,EACL,iBAAiB,EACjB,2BAA2B,GAC5B,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EACL,uBAAuB,EACvB,uBAAuB,EACvB,qBAAqB,EACrB,0BAA0B,EAC1B,sBAAsB,GAEvB,MAAM,6BAA6B,CAAC;;;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/section-list/index.ts"],"names":[],"mappings":"AAAA,8FAA8F;AAC9F,4FAA4F;AAC5F,iGAAiG;AACjG,+FAA+F;AAC/F,kDAAkD;AAClD,EAAE;AACF,kGAAkG;AAClG,2FAA2F;AAC3F,oGAAoG;AACpG,iGAAiG;AACjG,0FAA0F;AAC1F,kFAAkF;AAClF,kGAAkG;AAClG,EAAE;AACF,6FAA6F;AAC7F,mFAAmF;AACnF,iGAAiG;AACjG,+FAA+F;AAC/F,wFAAwF;AACxF,iGAAiG;AACjG,yFAAyF;AACzF,gGAAgG;AAChG,mGAAmG;AACnG,wEAAwE;AAExE,OAAO,EACL,uBAAuB,EACvB,SAAS,EACT,YAAY,EACZ,UAAU,EACV,YAAY,EACZ,KAAK,EACL,MAAM,EACN,SAAS,EACT,MAAM,GACP,MAAM,eAAe,CAAC;AASvB,OAAO,EAKN,MAAM,yBAAyB,CAAC;AACjC,OAAO,EACL,mBAAmB,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AK;;sBACL,KAAK;;sBACL,KAAK;;sBACL,KAAK;;sBACL,KAAK;;sBACL,KAAK;;sBACL,KAAK;;sBACL,KAAK;;sBACL,MAAM;;sBACN,MAAM;;sBACN,MAAM;;sBACN,MAAM;;sBAWN,KAAK;;sBACL,KAAK;;sBACL,KAAK;;sBACL,KAAK;;sBACL,KAAK;;sBACL,KAAK;;sBACL,KAAK;;sBACL,KAAK;;sBACL,KAAK;;sBACL,KAAK;;sBACL,KAAK;;sBACL,KAAK;;sBACL,KAAK;;sBACL,KAAK;;sBACL,KAAK;;sBAIL,YAAY;uBAAC,qBAAqB;;sBAElC,YAAY;uBAAC,uBAAuB;;sBAEpC,YAAY;uBAAC,uBAAuB;;sBAEpC,YAAY;uBAAC,0BAA0B;;sBAEvC,YAAY;uBAAC,oBAAoB;;sBACjC,YAAY;uBAAC,oBAAoB;;sBACjC,YAAY;uBAAC,mBAAmB;;sBAChC,YAAY;uBAAC,uBAAuB;;sBAKpC,SAAS;uBAAC,sBAAsB"}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import type { IAccessibilityProps, IAriaProps, IEnterKeyHint, IInputMode, ISubmitBehavior, ITextInputEventHandler, ITextInputSelection } from '@symbiote-native/components';
|
|
2
|
+
import type { IStyleProp, ITextStyle } from '@symbiote-native/engine';
|
|
3
|
+
export interface IAngularTextInputProps extends IAccessibilityProps, IAriaProps {
|
|
4
|
+
value?: string;
|
|
5
|
+
defaultValue?: string;
|
|
6
|
+
placeholder?: string;
|
|
7
|
+
placeholderTextColor?: string;
|
|
8
|
+
editable?: boolean;
|
|
9
|
+
keyboardType?: string;
|
|
10
|
+
secureTextEntry?: boolean;
|
|
11
|
+
maxLength?: number;
|
|
12
|
+
multiline?: boolean;
|
|
13
|
+
selection?: ITextInputSelection;
|
|
14
|
+
autoCapitalize?: 'none' | 'sentences' | 'words' | 'characters';
|
|
15
|
+
autoCorrect?: boolean;
|
|
16
|
+
autoComplete?: string;
|
|
17
|
+
textContentType?: string;
|
|
18
|
+
autoFocus?: boolean;
|
|
19
|
+
showSoftInputOnFocus?: boolean;
|
|
20
|
+
returnKeyType?: string;
|
|
21
|
+
selectTextOnFocus?: boolean;
|
|
22
|
+
scrollEnabled?: boolean;
|
|
23
|
+
numberOfLines?: number;
|
|
24
|
+
textAlign?: 'left' | 'center' | 'right';
|
|
25
|
+
blurOnSubmit?: boolean;
|
|
26
|
+
inputMode?: IInputMode;
|
|
27
|
+
enterKeyHint?: IEnterKeyHint;
|
|
28
|
+
readOnly?: boolean;
|
|
29
|
+
submitBehavior?: ISubmitBehavior;
|
|
30
|
+
cursorColor?: string;
|
|
31
|
+
selectionColor?: string;
|
|
32
|
+
selectionHandleColor?: string;
|
|
33
|
+
underlineColorAndroid?: string;
|
|
34
|
+
inputAccessoryViewID?: string;
|
|
35
|
+
style?: IStyleProp<ITextStyle>;
|
|
36
|
+
onValueChange?: (text: string) => void;
|
|
37
|
+
onChange?: ITextInputEventHandler;
|
|
38
|
+
onFocus?: ITextInputEventHandler;
|
|
39
|
+
onBlur?: ITextInputEventHandler;
|
|
40
|
+
onEndEditing?: ITextInputEventHandler;
|
|
41
|
+
onSubmitEditing?: ITextInputEventHandler;
|
|
42
|
+
onKeyPress?: ITextInputEventHandler;
|
|
43
|
+
onSelectionChange?: ITextInputEventHandler;
|
|
44
|
+
onContentSizeChange?: ITextInputEventHandler;
|
|
45
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
// The `<text-input>` / `<text-input-multiline>` tag's prop surface. The tags are matched by
|
|
2
|
+
// `TextInputElement` / `MultilineTextInputElement` (`../elements`) and carry the controlled-input
|
|
3
|
+
// machine as an engine behavior (`registerTextInputBehavior`), so the wrapper that used to run the
|
|
4
|
+
// handshake, the imperative handle and the autoFocus command in Angular was deleted 2026-09-11.
|
|
5
|
+
//
|
|
6
|
+
// Which of the two intrinsics a `<text-input multiline>` commits is the ENGINE's decision
|
|
7
|
+
// (`intrinsicWhen` on the spec entry), not a template branch — the wrapper's `@if`/`@else` over two
|
|
8
|
+
// hand-picked hosts is what that replaces.
|
|
9
|
+
//
|
|
10
|
+
// The imperative surface (`focus` / `blur` / `clear` / `isFocused` / `setSelection`) comes from the
|
|
11
|
+
// engine node itself, reached through a template ref, the same way every other adapter reaches it.
|
|
12
|
+
// `[(ngModel)]` / `formControl*` is `TextInputValueAccessor` (`../elements`), which is where the
|
|
13
|
+
// wrapper's `NG_VALUE_ACCESSOR` went.
|
|
14
|
+
//
|
|
15
|
+
// The type stays for a component forwarding a bag, and because `IAngularTextInputProps` is public
|
|
16
|
+
// API.
|
|
17
|
+
export {};
|
|
18
|
+
//# sourceMappingURL=text-input-props.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"text-input-props.js","sourceRoot":"","sources":["../../../src/components/text-input-props.ts"],"names":[],"mappings":"AAAA,4FAA4F;AAC5F,kGAAkG;AAClG,mGAAmG;AACnG,gGAAgG;AAChG,EAAE;AACF,0FAA0F;AAC1F,oGAAoG;AACpG,2CAA2C;AAC3C,EAAE;AACF,oGAAoG;AACpG,mGAAmG;AACnG,iGAAiG;AACjG,sCAAsC;AACtC,EAAE;AACF,kGAAkG;AAClG,OAAO"}
|
package/build/angular/components/touchable-native-feedback/touchable-native-feedback-props.d.ts
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { INativeFeedbackBackground } from '@symbiote-native/components';
|
|
2
|
+
import type { IAngularPressableInputs } from '../pressable-props';
|
|
3
|
+
export type IAngularTouchableNativeFeedbackProps = Omit<IAngularPressableInputs, 'style'> & {
|
|
4
|
+
background?: INativeFeedbackBackground;
|
|
5
|
+
useForeground?: boolean;
|
|
6
|
+
};
|
package/build/angular/components/touchable-native-feedback/touchable-native-feedback-props.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"touchable-native-feedback-props.js","sourceRoot":"","sources":["../../../../src/components/touchable-native-feedback/touchable-native-feedback-props.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { IPressTimingProps } from '@symbiote-native/components';
|
|
2
|
+
import type { IStyleProp, IViewStyle } from '@symbiote-native/engine';
|
|
3
|
+
import type { IAngularPressableInputs } from './pressable-props';
|
|
4
|
+
type IAngularTouchableBaseProps = Omit<IAngularPressableInputs, 'style'> & IPressTimingProps & {
|
|
5
|
+
style?: IStyleProp<IViewStyle>;
|
|
6
|
+
};
|
|
7
|
+
export type IAngularTouchableOpacityProps = IAngularTouchableBaseProps & {
|
|
8
|
+
activeOpacity?: number;
|
|
9
|
+
};
|
|
10
|
+
export type IAngularTouchableHighlightProps = IAngularTouchableBaseProps & {
|
|
11
|
+
activeOpacity?: number;
|
|
12
|
+
underlayColor?: string;
|
|
13
|
+
};
|
|
14
|
+
export {};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
// The prop surfaces of `<touchable-opacity>` and `<touchable-highlight>`, for Angular.
|
|
2
|
+
//
|
|
3
|
+
// No components left to type — the elements ARE the tags, matched by `TouchableOpacityElement` and
|
|
4
|
+
// `TouchableHighlightElement` (`../elements`), and both machines run on the engine node
|
|
5
|
+
// (`registerTouchableOpacityBehavior` / `registerTouchableHighlightBehavior`): the opacity fade is
|
|
6
|
+
// an engine-side style layer over the responder, and the underlay swap is the same `activeStyle`
|
|
7
|
+
// channel a `:active` rule uses. The wrappers that ran those in Angular were deleted 2026-09-11.
|
|
8
|
+
//
|
|
9
|
+
// Declared per-adapter over the Angular Pressable INPUT surface, since children arrive through
|
|
10
|
+
// content projection rather than as a field — the split
|
|
11
|
+
// <prop_types_split_agnostic_vs_per_adapter> describes. Mirrors React/Vue's ITouchableBaseProps.
|
|
12
|
+
export {};
|
|
13
|
+
//# sourceMappingURL=touchable-props.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"touchable-props.js","sourceRoot":"","sources":["../../../src/components/touchable-props.ts"],"names":[],"mappings":"AAAA,uFAAuF;AACvF,EAAE;AACF,mGAAmG;AACnG,wFAAwF;AACxF,mGAAmG;AACnG,iGAAiG;AACjG,iGAAiG;AACjG,EAAE;AACF,+FAA+F;AAC/F,wDAAwD;AACxD,iGAAiG"}
|
package/build/angular/components/touchable-without-feedback/touchable-without-feedback-props.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"touchable-without-feedback-props.js","sourceRoot":"","sources":["../../../../src/components/touchable-without-feedback/touchable-without-feedback-props.ts"],"names":[],"mappings":""}
|
|
@@ -2,6 +2,7 @@ import { EventEmitter, type AfterViewChecked, type DoCheck, type OnChanges, type
|
|
|
2
2
|
import { type IAccessibilityProps, type IAccessibilityStateValue, type IAriaProps, type IScrollViewHandle, type IViewabilityConfig, type IViewabilityConfigCallbackPair, type IViewableItemsChangedInfo, type IVirtualizedListHandle } from '@symbiote-native/components';
|
|
3
3
|
import { type IStyleProp, type ISymbioteEvent, type ISymbioteNode, type IViewStyle } from '@symbiote-native/engine';
|
|
4
4
|
import { VListEmptyDirective, VListFooterDirective, VListHeaderDirective, VListItemDirective, VListSeparatorDirective, type IVListItemContext, type IVListSeparatorContext } from './directives';
|
|
5
|
+
import { type IGatedAccessibilityEvent } from '../../gate-demand';
|
|
5
6
|
import * as i0 from "@angular/core";
|
|
6
7
|
import * as i1 from "../../primitives/shared";
|
|
7
8
|
export type { ICellLayout, ISeparators, ISeparatorProps, IViewToken, IViewableItemsChangedInfo, IViewabilityConfig, IViewabilityConfigCallbackPair, IVirtualizedListHandle, } from '@symbiote-native/components';
|
|
@@ -86,6 +87,8 @@ export declare class VirtualizedList<ItemT = unknown> implements IVirtualizedLis
|
|
|
86
87
|
readonly accessibilityTap: EventEmitter<ISymbioteEvent>;
|
|
87
88
|
readonly magicTap: EventEmitter<ISymbioteEvent>;
|
|
88
89
|
readonly accessibilityEscape: EventEmitter<ISymbioteEvent>;
|
|
90
|
+
private readonly gateDemandAbove;
|
|
91
|
+
wantsGate(name: IGatedAccessibilityEvent): boolean;
|
|
89
92
|
data: unknown;
|
|
90
93
|
getItem: (data: unknown, index: number) => ItemT;
|
|
91
94
|
getItemCount: (data: unknown) => number;
|
|
@@ -165,7 +168,9 @@ export declare class VirtualizedList<ItemT = unknown> implements IVirtualizedLis
|
|
|
165
168
|
footerDir?: VListFooterDirective;
|
|
166
169
|
emptyDir?: VListEmptyDirective;
|
|
167
170
|
separatorDir?: VListSeparatorDirective<ItemT>;
|
|
168
|
-
private
|
|
171
|
+
private scrollHostRef?;
|
|
172
|
+
private get scrollNode();
|
|
173
|
+
private readonly scrollHandle;
|
|
169
174
|
itemCount: number;
|
|
170
175
|
windowCells: IWindowCell<ItemT>[];
|
|
171
176
|
forcedStickyCell: IWindowCell<ItemT> | null;
|
|
@@ -200,6 +205,8 @@ export declare class VirtualizedList<ItemT = unknown> implements IVirtualizedLis
|
|
|
200
205
|
private readonly inputsRevision;
|
|
201
206
|
readonly foldedAccessibility: import("@angular/core").Signal<IAccessibilityProps & IAriaProps & Record<string, unknown>>;
|
|
202
207
|
get shouldRenderRefreshControl(): boolean;
|
|
208
|
+
scrollViewBag(): Record<string, unknown>;
|
|
209
|
+
refreshControlBag(): Record<string, unknown>;
|
|
203
210
|
get isHorizontal(): boolean;
|
|
204
211
|
private get isInverted();
|
|
205
212
|
private get windowSizeValue();
|