@symbiote-native/angular 0.0.0-canary-20260724081123
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/LICENSE +21 -0
- package/README.md +157 -0
- package/babel-linker.cjs +7 -0
- package/babel-register-composed.cjs +127 -0
- package/bin/symbiote-angular-dev.cjs +93 -0
- package/build/angular/anchor-host-registry.d.ts +2 -0
- package/build/angular/anchor-host-registry.js +84 -0
- package/build/angular/anchor-host-registry.js.map +1 -0
- package/build/angular/bootstrap.d.ts +7 -0
- package/build/angular/bootstrap.js +15 -0
- package/build/angular/bootstrap.js.map +1 -0
- package/build/angular/components/activity-indicator/index.android.d.ts +12 -0
- package/build/angular/components/activity-indicator/index.android.js +21 -0
- package/build/angular/components/activity-indicator/index.android.js.map +1 -0
- package/build/angular/components/activity-indicator/index.d.ts +1 -0
- package/build/angular/components/activity-indicator/index.ios.d.ts +8 -0
- package/build/angular/components/activity-indicator/index.ios.js +21 -0
- package/build/angular/components/activity-indicator/index.ios.js.map +1 -0
- package/build/angular/components/activity-indicator/index.js +4 -0
- package/build/angular/components/activity-indicator/index.js.map +1 -0
- package/build/angular/components/activity-indicator/shared.d.ts +67 -0
- package/build/angular/components/activity-indicator/shared.js +260 -0
- package/build/angular/components/activity-indicator/shared.js.map +1 -0
- package/build/angular/components/button.d.ts +63 -0
- package/build/angular/components/button.js +332 -0
- package/build/angular/components/button.js.map +1 -0
- package/build/angular/components/flat-list/index.d.ts +122 -0
- package/build/angular/components/flat-list/index.js +688 -0
- package/build/angular/components/flat-list/index.js.map +1 -0
- package/build/angular/components/image/index.android.d.ts +10 -0
- package/build/angular/components/image/index.android.js +59 -0
- package/build/angular/components/image/index.android.js.map +1 -0
- package/build/angular/components/image/index.d.ts +1 -0
- package/build/angular/components/image/index.ios.d.ts +10 -0
- package/build/angular/components/image/index.ios.js +59 -0
- package/build/angular/components/image/index.ios.js.map +1 -0
- package/build/angular/components/image/index.js +3 -0
- package/build/angular/components/image/index.js.map +1 -0
- package/build/angular/components/image/shared.d.ts +101 -0
- package/build/angular/components/image/shared.js +406 -0
- package/build/angular/components/image/shared.js.map +1 -0
- package/build/angular/components/image-background.d.ts +81 -0
- package/build/angular/components/image-background.js +418 -0
- package/build/angular/components/image-background.js.map +1 -0
- package/build/angular/components/input-accessory-view/index.d.ts +60 -0
- package/build/angular/components/input-accessory-view/index.js +251 -0
- package/build/angular/components/input-accessory-view/index.js.map +1 -0
- package/build/angular/components/keyboard-avoiding-view/index.d.ts +82 -0
- package/build/angular/components/keyboard-avoiding-view/index.js +358 -0
- package/build/angular/components/keyboard-avoiding-view/index.js.map +1 -0
- package/build/angular/components/modal/index.d.ts +92 -0
- package/build/angular/components/modal/index.js +360 -0
- package/build/angular/components/modal/index.js.map +1 -0
- package/build/angular/components/pressable/index.d.ts +123 -0
- package/build/angular/components/pressable/index.js +420 -0
- package/build/angular/components/pressable/index.js.map +1 -0
- package/build/angular/components/refresh-control/index.d.ts +86 -0
- package/build/angular/components/refresh-control/index.js +342 -0
- package/build/angular/components/refresh-control/index.js.map +1 -0
- package/build/angular/components/safe-area-view/index.d.ts +57 -0
- package/build/angular/components/safe-area-view/index.js +248 -0
- package/build/angular/components/safe-area-view/index.js.map +1 -0
- package/build/angular/components/scroll-view/index.android.d.ts +21 -0
- package/build/angular/components/scroll-view/index.android.js +235 -0
- package/build/angular/components/scroll-view/index.android.js.map +1 -0
- package/build/angular/components/scroll-view/index.d.ts +3 -0
- package/build/angular/components/scroll-view/index.ios.d.ts +9 -0
- package/build/angular/components/scroll-view/index.ios.js +86 -0
- package/build/angular/components/scroll-view/index.ios.js.map +1 -0
- package/build/angular/components/scroll-view/index.js +6 -0
- package/build/angular/components/scroll-view/index.js.map +1 -0
- package/build/angular/components/scroll-view/projection.d.ts +32 -0
- package/build/angular/components/scroll-view/projection.js +334 -0
- package/build/angular/components/scroll-view/projection.js.map +1 -0
- package/build/angular/components/scroll-view/shared.d.ts +230 -0
- package/build/angular/components/scroll-view/shared.js +682 -0
- package/build/angular/components/scroll-view/shared.js.map +1 -0
- package/build/angular/components/scroll-view/sticky-header.d.ts +40 -0
- package/build/angular/components/scroll-view/sticky-header.js +225 -0
- package/build/angular/components/scroll-view/sticky-header.js.map +1 -0
- package/build/angular/components/section-list/index.d.ts +116 -0
- package/build/angular/components/section-list/index.js +641 -0
- package/build/angular/components/section-list/index.js.map +1 -0
- package/build/angular/components/switch/index.android.d.ts +20 -0
- package/build/angular/components/switch/index.android.js +70 -0
- package/build/angular/components/switch/index.android.js.map +1 -0
- package/build/angular/components/switch/index.d.ts +1 -0
- package/build/angular/components/switch/index.ios.d.ts +19 -0
- package/build/angular/components/switch/index.ios.js +69 -0
- package/build/angular/components/switch/index.ios.js.map +1 -0
- package/build/angular/components/switch/index.js +4 -0
- package/build/angular/components/switch/index.js.map +1 -0
- package/build/angular/components/switch/shared.d.ts +40 -0
- package/build/angular/components/switch/shared.js +127 -0
- package/build/angular/components/switch/shared.js.map +1 -0
- package/build/angular/components/text-input.d.ts +153 -0
- package/build/angular/components/text-input.js +599 -0
- package/build/angular/components/text-input.js.map +1 -0
- package/build/angular/components/touchable/index.d.ts +245 -0
- package/build/angular/components/touchable/index.js +1186 -0
- package/build/angular/components/touchable/index.js.map +1 -0
- package/build/angular/components/touchable-native-feedback/index.d.ts +83 -0
- package/build/angular/components/touchable-native-feedback/index.js +371 -0
- package/build/angular/components/touchable-native-feedback/index.js.map +1 -0
- package/build/angular/components/virtualized-list/directives.d.ts +54 -0
- package/build/angular/components/virtualized-list/directives.js +153 -0
- package/build/angular/components/virtualized-list/directives.js.map +1 -0
- package/build/angular/components/virtualized-list/index.d.ts +253 -0
- package/build/angular/components/virtualized-list/index.js +1031 -0
- package/build/angular/components/virtualized-list/index.js.map +1 -0
- package/build/angular/components/virtualized-section-list/directives.d.ts +37 -0
- package/build/angular/components/virtualized-section-list/directives.js +76 -0
- package/build/angular/components/virtualized-section-list/directives.js.map +1 -0
- package/build/angular/components/virtualized-section-list/index.d.ts +178 -0
- package/build/angular/components/virtualized-section-list/index.js +720 -0
- package/build/angular/components/virtualized-section-list/index.js.map +1 -0
- package/build/angular/components.d.ts +39 -0
- package/build/angular/components.js +38 -0
- package/build/angular/components.js.map +1 -0
- package/build/angular/create-portal/index.d.ts +22 -0
- package/build/angular/create-portal/index.js +74 -0
- package/build/angular/create-portal/index.js.map +1 -0
- package/build/angular/create-tunnel/index.d.ts +34 -0
- package/build/angular/create-tunnel/index.js +126 -0
- package/build/angular/create-tunnel/index.js.map +1 -0
- package/build/angular/descriptor-to-angular/index.d.ts +22 -0
- package/build/angular/descriptor-to-angular/index.js +142 -0
- package/build/angular/descriptor-to-angular/index.js.map +1 -0
- package/build/angular/host-instance/index.d.ts +2 -0
- package/build/angular/host-instance/index.js +37 -0
- package/build/angular/host-instance/index.js.map +1 -0
- package/build/angular/index.d.ts +22 -0
- package/build/angular/index.js +46 -0
- package/build/angular/index.js.map +1 -0
- package/build/angular/modules/animated/animated-leaf-binder/index.d.ts +14 -0
- package/build/angular/modules/animated/animated-leaf-binder/index.js +91 -0
- package/build/angular/modules/animated/animated-leaf-binder/index.js.map +1 -0
- package/build/angular/modules/animated/animated-leaf-binder.d.ts +14 -0
- package/build/angular/modules/animated/animated-leaf-binder.js +91 -0
- package/build/angular/modules/animated/animated-leaf-binder.js.map +1 -0
- package/build/angular/modules/animated/create-animated-component.d.ts +59 -0
- package/build/angular/modules/animated/create-animated-component.js +364 -0
- package/build/angular/modules/animated/create-animated-component.js.map +1 -0
- package/build/angular/modules/animated/index.d.ts +51 -0
- package/build/angular/modules/animated/index.js +59 -0
- package/build/angular/modules/animated/index.js.map +1 -0
- package/build/angular/modules/app-registry/index.d.ts +7 -0
- package/build/angular/modules/app-registry/index.js +23 -0
- package/build/angular/modules/app-registry/index.js.map +1 -0
- package/build/angular/modules/status-bar/index.d.ts +20 -0
- package/build/angular/modules/status-bar/index.js +59 -0
- package/build/angular/modules/status-bar/index.js.map +1 -0
- package/build/angular/primitives/index.d.ts +63 -0
- package/build/angular/primitives/index.js +189 -0
- package/build/angular/primitives/index.js.map +1 -0
- package/build/angular/primitives/shared.d.ts +88 -0
- package/build/angular/primitives/shared.js +171 -0
- package/build/angular/primitives/shared.js.map +1 -0
- package/build/angular/render/index.d.ts +11 -0
- package/build/angular/render/index.js +171 -0
- package/build/angular/render/index.js.map +1 -0
- package/build/angular/renderer/index.d.ts +37 -0
- package/build/angular/renderer/index.js +301 -0
- package/build/angular/renderer/index.js.map +1 -0
- package/build/angular/services/color-scheme.service.d.ts +16 -0
- package/build/angular/services/color-scheme.service.js +31 -0
- package/build/angular/services/color-scheme.service.js.map +1 -0
- package/build/angular/services/index.d.ts +2 -0
- package/build/angular/services/index.js +3 -0
- package/build/angular/services/index.js.map +1 -0
- package/build/angular/services/window-dimensions.service.d.ts +16 -0
- package/build/angular/services/window-dimensions.service.js +42 -0
- package/build/angular/services/window-dimensions.service.js.map +1 -0
- package/metro-config.cjs +48 -0
- package/metro-css-parser.cjs +13 -0
- package/package.json +80 -0
- package/src/__tests__/responder-change-detection.test.ts +102 -0
- package/src/__tests__/responder-nested-cd.test.ts +113 -0
- package/src/anchor-host-registry.ts +88 -0
- package/src/angular-gaps.test.ts +142 -0
- package/src/angular-imports.test.ts +100 -0
- package/src/bootstrap.ts +26 -0
- package/src/components/activity-indicator/activity-indicator-class-style.test.ts +44 -0
- package/src/components/activity-indicator/activity-indicator.test.ts +131 -0
- package/src/components/activity-indicator/index.android.ts +16 -0
- package/src/components/activity-indicator/index.ios.ts +17 -0
- package/src/components/activity-indicator/index.ts +4 -0
- package/src/components/activity-indicator/shared.ts +206 -0
- package/src/components/button.ts +193 -0
- package/src/components/flat-list/column-wrapper-style-class.test.ts +116 -0
- package/src/components/flat-list/flat-list-array-style.test.ts +131 -0
- package/src/components/flat-list/flat-list-class-style.test.ts +74 -0
- package/src/components/flat-list/flat-list-scroll-containment.test.ts +107 -0
- package/src/components/flat-list/flat-list.test.ts +99 -0
- package/src/components/flat-list/index.ts +574 -0
- package/src/components/image/image-class-style.test.ts +46 -0
- package/src/components/image/index.android.ts +48 -0
- package/src/components/image/index.ios.ts +48 -0
- package/src/components/image/index.ts +3 -0
- package/src/components/image/shared.ts +479 -0
- package/src/components/image-background-class-style.test.ts +48 -0
- package/src/components/image-background-style-class.test.ts +79 -0
- package/src/components/image-background.ts +270 -0
- package/src/components/input-accessory-view/index.ts +185 -0
- package/src/components/input-accessory-view/input-accessory-view.test.ts +43 -0
- package/src/components/keyboard-avoiding-view/index.ts +303 -0
- package/src/components/keyboard-avoiding-view/keyboard-avoiding-view.test.ts +54 -0
- package/src/components/modal/index.ts +299 -0
- package/src/components/modal/modal.test.ts +43 -0
- package/src/components/pressable/index.ts +373 -0
- package/src/components/pressable/pressable.test.ts +85 -0
- package/src/components/refresh-control/index.ts +284 -0
- package/src/components/refresh-control/refresh-control.test.ts +41 -0
- package/src/components/safe-area-view/index.ts +177 -0
- package/src/components/safe-area-view/safe-area-view.test.ts +43 -0
- package/src/components/scroll-view/android-scroll-view-axis-projection.test.ts +123 -0
- package/src/components/scroll-view/content-container-style-class.test.ts +75 -0
- package/src/components/scroll-view/index.android.ts +190 -0
- package/src/components/scroll-view/index.ios.ts +79 -0
- package/src/components/scroll-view/index.ts +7 -0
- package/src/components/scroll-view/projection.ts +414 -0
- package/src/components/scroll-view/scroll-view-class-style.test.ts +134 -0
- package/src/components/scroll-view/scroll-view-projection.test.ts +194 -0
- package/src/components/scroll-view/shared.ts +844 -0
- package/src/components/scroll-view/sticky-header.ts +255 -0
- package/src/components/section-list/index.ts +445 -0
- package/src/components/switch/android-switch-class.test.ts +42 -0
- package/src/components/switch/index.android.ts +61 -0
- package/src/components/switch/index.ios.ts +60 -0
- package/src/components/switch/index.ts +4 -0
- package/src/components/switch/shared.ts +197 -0
- package/src/components/switch/switch.test.ts +92 -0
- package/src/components/text-input-class-style.test.ts +54 -0
- package/src/components/text-input.ts +531 -0
- package/src/components/touchable/index.ts +629 -0
- package/src/components/touchable/touchable.test.ts +102 -0
- package/src/components/touchable-native-feedback/index.ts +254 -0
- package/src/components/touchable-native-feedback/touchable-native-feedback.test.ts +49 -0
- package/src/components/virtualized-list/directives.ts +168 -0
- package/src/components/virtualized-list/index.ts +992 -0
- package/src/components/virtualized-list/virtualized-list-class-style.test.ts +76 -0
- package/src/components/virtualized-section-list/directives.ts +90 -0
- package/src/components/virtualized-section-list/index.ts +601 -0
- package/src/components/virtualized-section-list/virtualized-section-list-class-style.test.ts +60 -0
- package/src/components.ts +149 -0
- package/src/create-portal/create-portal.test.ts +90 -0
- package/src/create-portal/index.ts +74 -0
- package/src/create-tunnel/create-tunnel.test.ts +120 -0
- package/src/create-tunnel/index.ts +136 -0
- package/src/descriptor-to-angular/descriptor-outlet.test.ts +94 -0
- package/src/descriptor-to-angular/index.ts +190 -0
- package/src/host-instance/host-instance.test.ts +49 -0
- package/src/host-instance/index.ts +36 -0
- package/src/index.ts +261 -0
- package/src/modules/animated/animated-leaf-binder/animated-leaf-binder.test.ts +116 -0
- package/src/modules/animated/animated-leaf-binder/index.ts +101 -0
- package/src/modules/animated/animated-leaf-binder.test.ts +116 -0
- package/src/modules/animated/animated-leaf-binder.ts +101 -0
- package/src/modules/animated/animated-scroll-view.test.ts +102 -0
- package/src/modules/animated/create-animated-component.ts +365 -0
- package/src/modules/animated/index.ts +105 -0
- package/src/modules/app-registry/app-registry.test.ts +106 -0
- package/src/modules/app-registry/index.ts +60 -0
- package/src/modules/status-bar/index.ts +57 -0
- package/src/modules/status-bar/status-bar.test.ts +50 -0
- package/src/primitives/index.ts +119 -0
- package/src/primitives/shared.ts +190 -0
- package/src/render/index.ts +235 -0
- package/src/render/render.test.ts +147 -0
- package/src/renderer/index.ts +347 -0
- package/src/renderer/renderer.test.ts +203 -0
- package/src/services/color-scheme.service.ts +27 -0
- package/src/services/index.ts +2 -0
- package/src/services/services.test.ts +163 -0
- package/src/services/window-dimensions.service.ts +41 -0
- package/tsconfig.angular.base.json +30 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/touchable/index.ts"],"names":[],"mappings":"AAAA,+FAA+F;AAC/F,6FAA6F;AAC7F,0GAA0G;AAC1G,0BAA0B;AAC1B,oGAAoG;AACpG,oGAAoG;AACpG,4FAA4F;AAC5F,4DAA4D;AAC5D,iGAAiG;AACjG,iGAAiG;AACjG,mGAAmG;AACnG,EAAE;AACF,mGAAmG;AACnG,mGAAmG;AACnG,+FAA+F;AAC/F,2EAA2E;AAC3E,kGAAkG;AAClG,qGAAqG;AACrG,iGAAiG;AACjG,yFAAyF;AACzF,8FAA8F;AAC9F,sCAAsC;AACtC,+BAA+B;AAE/B,OAAO,EACL,sBAAsB,EACtB,uBAAuB,EACvB,SAAS,EACT,UAAU,EACV,YAAY,EACZ,MAAM,EACN,KAAK,EACL,MAAM,GACP,MAAM,eAAe,CAAC;AACvB,OAAO,EACL,+BAA+B,EAC/B,8BAA8B,EAC9B,qBAAqB,EACrB,sBAAsB,EACtB,+BAA+B,EAC/B,6BAA6B,EAC7B,sBAAsB,EACtB,0BAA0B,EAC1B,4BAA4B,EAC5B,eAAe,GAShB,MAAM,6BAA6B,CAAC;AACrC,OAAO,EAAyD,MAAM,yBAAyB,CAAC;AAChG,OAAO,EAAE,eAAe,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;AACpE,OAAO,EAAE,SAAS,EAAgC,MAAM,cAAc,CAAC;AACvE,OAAO,EAAE,QAAQ,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAC;;AAuBhE,oGAAoG;AACpG,qGAAqG;AACrG,SAAS,eAAe,CAAC,QAAoB,EAAE,EAAU;IACvD,MAAM,EAAE,GAAG,UAAU,CAAC,QAAQ,EAAE,EAAE,CAAC,CAAC;IACpC,OAAO,GAAG,EAAE,CAAC,YAAY,CAAC,EAAE,CAAC,CAAC;AAChC,CAAC;AAgFD,MAAM,OAAO,gBAAgB;IACR,KAAK,GAAG,IAA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L,KAAK;;sBACL,KAAK;;sBACL,KAAK;;sBACL,KAAK;;sBACL,KAAK;;sBACL,KAAK;;sBACL,KAAK;;sBACL,KAAK;;sBACL,KAAK;;sBACL,KAAK;;sBACL,KAAK;;sBACL,KAAK;;sBACL,KAAK;;sBACL,KAAK;;sBACL,KAAK;;sBACL,KAAK;;sBACL,KAAK;;sBACL,KAAK;;sBACL,KAAK;;sBACL,KAAK;;sBACL,KAAK;;sBACL,KAAK;;sBACL,KAAK;;sBACL,KAAK;;sBACL,KAAK;;sBACL,KAAK;;sBACL,KAAK;;sBACL,KAAK;;sBACL,KAAK;;sBACL,KAAK;;sBACL,KAAK;;sBACL,KAAK;;sBACL,KAAK;;sBACL,KAAK;;sBACL,KAAK"}
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
import { EventEmitter, type OnChanges } from '@angular/core';
|
|
2
|
+
import { canUseNativeForeground, rippleBackground, selectableBackground, selectableBackgroundBorderless, type IAccessibilityProps, type IAccessibilityStateValue, type IAriaProps, type INativeFeedbackBackground, type IPressableAndroidRippleConfig, type IRectOffset } from '@symbiote-native/components';
|
|
3
|
+
import { type ISymbioteEvent } from '@symbiote-native/engine';
|
|
4
|
+
import { type IAngularPressableInputs } from '../pressable';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export type { INativeFeedbackBackground, IThemeAttrBackground, IRippleBackground, } from '@symbiote-native/components';
|
|
7
|
+
export type IAngularTouchableNativeFeedbackProps = Omit<IAngularPressableInputs, 'style'> & {
|
|
8
|
+
background?: INativeFeedbackBackground;
|
|
9
|
+
useForeground?: boolean;
|
|
10
|
+
};
|
|
11
|
+
export declare class TouchableNativeFeedback implements IAngularTouchableNativeFeedbackProps, OnChanges {
|
|
12
|
+
static readonly SelectableBackground: typeof selectableBackground;
|
|
13
|
+
static readonly SelectableBackgroundBorderless: typeof selectableBackgroundBorderless;
|
|
14
|
+
static readonly Ripple: typeof rippleBackground;
|
|
15
|
+
static readonly canUseNativeForeground: typeof canUseNativeForeground;
|
|
16
|
+
readonly press: EventEmitter<ISymbioteEvent>;
|
|
17
|
+
readonly pressIn: EventEmitter<ISymbioteEvent>;
|
|
18
|
+
readonly pressOut: EventEmitter<ISymbioteEvent>;
|
|
19
|
+
readonly pressMove: EventEmitter<ISymbioteEvent>;
|
|
20
|
+
readonly longPress: EventEmitter<ISymbioteEvent>;
|
|
21
|
+
readonly hoverIn: EventEmitter<ISymbioteEvent>;
|
|
22
|
+
readonly hoverOut: EventEmitter<ISymbioteEvent>;
|
|
23
|
+
readonly accessibilityAction: EventEmitter<ISymbioteEvent>;
|
|
24
|
+
readonly accessibilityTap: EventEmitter<ISymbioteEvent>;
|
|
25
|
+
readonly magicTap: EventEmitter<ISymbioteEvent>;
|
|
26
|
+
readonly accessibilityEscape: EventEmitter<ISymbioteEvent>;
|
|
27
|
+
background?: INativeFeedbackBackground;
|
|
28
|
+
useForeground?: boolean;
|
|
29
|
+
delayLongPress?: number;
|
|
30
|
+
delayHoverIn?: number;
|
|
31
|
+
delayHoverOut?: number;
|
|
32
|
+
disabled?: boolean;
|
|
33
|
+
cancelable?: boolean;
|
|
34
|
+
hitSlop?: IRectOffset;
|
|
35
|
+
pressRetentionOffset?: IRectOffset;
|
|
36
|
+
unstable_pressDelay?: number;
|
|
37
|
+
android_ripple?: IPressableAndroidRippleConfig;
|
|
38
|
+
android_disableSound?: boolean;
|
|
39
|
+
testID?: string;
|
|
40
|
+
nativeID?: string;
|
|
41
|
+
accessible?: boolean;
|
|
42
|
+
accessibilityLabel?: string;
|
|
43
|
+
accessibilityHint?: string;
|
|
44
|
+
accessibilityRole?: IAccessibilityProps['accessibilityRole'];
|
|
45
|
+
accessibilityState?: IAccessibilityStateValue;
|
|
46
|
+
accessibilityValue?: IAccessibilityProps['accessibilityValue'];
|
|
47
|
+
accessibilityActions?: IAccessibilityProps['accessibilityActions'];
|
|
48
|
+
accessibilityLabelledBy?: string | string[];
|
|
49
|
+
importantForAccessibility?: IAccessibilityProps['importantForAccessibility'];
|
|
50
|
+
accessibilityLiveRegion?: IAccessibilityProps['accessibilityLiveRegion'];
|
|
51
|
+
screenReaderFocusable?: boolean;
|
|
52
|
+
accessibilityViewIsModal?: boolean;
|
|
53
|
+
accessibilityElementsHidden?: boolean;
|
|
54
|
+
accessibilityIgnoresInvertColors?: boolean;
|
|
55
|
+
accessibilityLanguage?: string;
|
|
56
|
+
accessibilityRespondsToUserInteraction?: boolean;
|
|
57
|
+
accessibilityShowsLargeContentViewer?: boolean;
|
|
58
|
+
accessibilityLargeContentTitle?: string;
|
|
59
|
+
role?: IAriaProps['role'];
|
|
60
|
+
ariaLabel?: string;
|
|
61
|
+
ariaLabelledBy?: string;
|
|
62
|
+
ariaLive?: IAriaProps['aria-live'];
|
|
63
|
+
ariaHidden?: boolean;
|
|
64
|
+
ariaBusy?: boolean;
|
|
65
|
+
ariaChecked?: boolean | 'mixed';
|
|
66
|
+
ariaDisabled?: boolean;
|
|
67
|
+
ariaExpanded?: boolean;
|
|
68
|
+
ariaSelected?: boolean;
|
|
69
|
+
ariaModal?: boolean;
|
|
70
|
+
ariaValueMax?: number;
|
|
71
|
+
ariaValueMin?: number;
|
|
72
|
+
ariaValueNow?: number;
|
|
73
|
+
ariaValueText?: string;
|
|
74
|
+
private readonly elementRef;
|
|
75
|
+
ngOnChanges(): void;
|
|
76
|
+
private get resolvedBackground();
|
|
77
|
+
get feedback(): Record<string, INativeFeedbackBackground>;
|
|
78
|
+
get hostProps(): Record<string, unknown>;
|
|
79
|
+
emit(emitter: EventEmitter<ISymbioteEvent>, event: unknown): void;
|
|
80
|
+
get folded(): Partial<IAngularTouchableNativeFeedbackProps>;
|
|
81
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TouchableNativeFeedback, never>;
|
|
82
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TouchableNativeFeedback, "TouchableNativeFeedback", never, { "background": { "alias": "background"; "required": false; }; "useForeground": { "alias": "useForeground"; "required": false; }; "delayLongPress": { "alias": "delayLongPress"; "required": false; }; "delayHoverIn": { "alias": "delayHoverIn"; "required": false; }; "delayHoverOut": { "alias": "delayHoverOut"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "cancelable": { "alias": "cancelable"; "required": false; }; "hitSlop": { "alias": "hitSlop"; "required": false; }; "pressRetentionOffset": { "alias": "pressRetentionOffset"; "required": false; }; "unstable_pressDelay": { "alias": "unstable_pressDelay"; "required": false; }; "android_ripple": { "alias": "android_ripple"; "required": false; }; "android_disableSound": { "alias": "android_disableSound"; "required": false; }; "testID": { "alias": "testID"; "required": false; }; "nativeID": { "alias": "nativeID"; "required": false; }; "accessible": { "alias": "accessible"; "required": false; }; "accessibilityLabel": { "alias": "accessibilityLabel"; "required": false; }; "accessibilityHint": { "alias": "accessibilityHint"; "required": false; }; "accessibilityRole": { "alias": "accessibilityRole"; "required": false; }; "accessibilityState": { "alias": "accessibilityState"; "required": false; }; "accessibilityValue": { "alias": "accessibilityValue"; "required": false; }; "accessibilityActions": { "alias": "accessibilityActions"; "required": false; }; "accessibilityLabelledBy": { "alias": "accessibilityLabelledBy"; "required": false; }; "importantForAccessibility": { "alias": "importantForAccessibility"; "required": false; }; "accessibilityLiveRegion": { "alias": "accessibilityLiveRegion"; "required": false; }; "screenReaderFocusable": { "alias": "screenReaderFocusable"; "required": false; }; "accessibilityViewIsModal": { "alias": "accessibilityViewIsModal"; "required": false; }; "accessibilityElementsHidden": { "alias": "accessibilityElementsHidden"; "required": false; }; "accessibilityIgnoresInvertColors": { "alias": "accessibilityIgnoresInvertColors"; "required": false; }; "accessibilityLanguage": { "alias": "accessibilityLanguage"; "required": false; }; "accessibilityRespondsToUserInteraction": { "alias": "accessibilityRespondsToUserInteraction"; "required": false; }; "accessibilityShowsLargeContentViewer": { "alias": "accessibilityShowsLargeContentViewer"; "required": false; }; "accessibilityLargeContentTitle": { "alias": "accessibilityLargeContentTitle"; "required": false; }; "role": { "alias": "role"; "required": false; }; "ariaLabel": { "alias": "aria-label"; "required": false; }; "ariaLabelledBy": { "alias": "aria-labelledby"; "required": false; }; "ariaLive": { "alias": "aria-live"; "required": false; }; "ariaHidden": { "alias": "aria-hidden"; "required": false; }; "ariaBusy": { "alias": "aria-busy"; "required": false; }; "ariaChecked": { "alias": "aria-checked"; "required": false; }; "ariaDisabled": { "alias": "aria-disabled"; "required": false; }; "ariaExpanded": { "alias": "aria-expanded"; "required": false; }; "ariaSelected": { "alias": "aria-selected"; "required": false; }; "ariaModal": { "alias": "aria-modal"; "required": false; }; "ariaValueMax": { "alias": "aria-valuemax"; "required": false; }; "ariaValueMin": { "alias": "aria-valuemin"; "required": false; }; "ariaValueNow": { "alias": "aria-valuenow"; "required": false; }; "ariaValueText": { "alias": "aria-valuetext"; "required": false; }; }, { "press": "press"; "pressIn": "pressIn"; "pressOut": "pressOut"; "pressMove": "pressMove"; "longPress": "longPress"; "hoverIn": "hoverIn"; "hoverOut": "hoverOut"; "accessibilityAction": "accessibilityAction"; "accessibilityTap": "accessibilityTap"; "magicTap": "magicTap"; "accessibilityEscape": "accessibilityEscape"; }, never, ["*"], true, never>;
|
|
83
|
+
}
|
|
@@ -0,0 +1,371 @@
|
|
|
1
|
+
// TouchableNativeFeedback: the Angular lifecycle half. Android's ripple / state-drawable
|
|
2
|
+
// touchable, built on Pressable like the rest of the family (the Angular twin of the React/Vue
|
|
3
|
+
// adapter). RN realizes its feedback by cloning the child into an RCTView carrying native ripple
|
|
4
|
+
// props; we instead nest the child under a feedback <symbiote-view> that carries those props
|
|
5
|
+
// (nativeBackgroundAndroid / nativeForegroundAndroid), inside a <Pressable> that owns the press
|
|
6
|
+
// wiring. The native props are read by Android's ReactViewManager; on iOS they are inert props,
|
|
7
|
+
// so the child still renders with working press wiring. The static factories + background mapping
|
|
8
|
+
// are shared in @symbiote-native/components and reused verbatim — Angular only attaches them onto the
|
|
9
|
+
// component class and nests the feedback view. No JS-side platform branch (one Fabric path both
|
|
10
|
+
// platforms), so this stays a flat single file, mirroring React/Vue.
|
|
11
|
+
//
|
|
12
|
+
// This component's own press/hover events are real @Output() EventEmitters too, matching
|
|
13
|
+
// Pressable (which it wraps) — `(press)="press.emit($event)"`, never `[onPress]="onPress"`.
|
|
14
|
+
// Non-event config (delayLongPress, hitSlop, ...) still rides down as plain @Input() bindings. The
|
|
15
|
+
// a11y identity bag + the four a11y events live on the feedback view — the one host intrinsic here —
|
|
16
|
+
// folded through the shared resolveAccessibilityProps and routed through emit() on the (event)
|
|
17
|
+
// channel (Angular blocks [onX] property bindings on host elements; events flow through (event)
|
|
18
|
+
// only). disabled folds into the a11y state via resolveDisabledAccessibilityState, exactly as
|
|
19
|
+
// Pressable does for its own host.
|
|
20
|
+
import { CUSTOM_ELEMENTS_SCHEMA, ChangeDetectionStrategy, Component, ElementRef, EventEmitter, inject, Input, Output, } from '@angular/core';
|
|
21
|
+
import { backgroundProps, canUseNativeForeground, resolveAccessibilityProps, resolveDisabledAccessibilityState, rippleBackground, selectableBackground, selectableBackgroundBorderless, } from '@symbiote-native/components';
|
|
22
|
+
import { dlog, isSymbioteEvent } from '@symbiote-native/engine';
|
|
23
|
+
import { anchorHostStyle, SymbioteHostPropsDirective, ViewHost } from '../../primitives';
|
|
24
|
+
import { Pressable } from '../pressable';
|
|
25
|
+
import * as i0 from "@angular/core";
|
|
26
|
+
export class TouchableNativeFeedback {
|
|
27
|
+
// The static helpers are pure config-dict producers; they live as members on the component class
|
|
28
|
+
// so callers reach them as `TouchableNativeFeedback.Ripple(...)`, exactly like RN.
|
|
29
|
+
static SelectableBackground = selectableBackground;
|
|
30
|
+
static SelectableBackgroundBorderless = selectableBackgroundBorderless;
|
|
31
|
+
static Ripple = rippleBackground;
|
|
32
|
+
static canUseNativeForeground = canUseNativeForeground;
|
|
33
|
+
press = new EventEmitter();
|
|
34
|
+
pressIn = new EventEmitter();
|
|
35
|
+
pressOut = new EventEmitter();
|
|
36
|
+
pressMove = new EventEmitter();
|
|
37
|
+
longPress = new EventEmitter();
|
|
38
|
+
hoverIn = new EventEmitter();
|
|
39
|
+
hoverOut = new EventEmitter();
|
|
40
|
+
accessibilityAction = new EventEmitter();
|
|
41
|
+
accessibilityTap = new EventEmitter();
|
|
42
|
+
magicTap = new EventEmitter();
|
|
43
|
+
accessibilityEscape = new EventEmitter();
|
|
44
|
+
background;
|
|
45
|
+
useForeground;
|
|
46
|
+
delayLongPress;
|
|
47
|
+
delayHoverIn;
|
|
48
|
+
delayHoverOut;
|
|
49
|
+
disabled;
|
|
50
|
+
cancelable;
|
|
51
|
+
hitSlop;
|
|
52
|
+
pressRetentionOffset;
|
|
53
|
+
unstable_pressDelay;
|
|
54
|
+
android_ripple;
|
|
55
|
+
android_disableSound;
|
|
56
|
+
testID;
|
|
57
|
+
nativeID;
|
|
58
|
+
accessible;
|
|
59
|
+
accessibilityLabel;
|
|
60
|
+
accessibilityHint;
|
|
61
|
+
accessibilityRole;
|
|
62
|
+
accessibilityState;
|
|
63
|
+
accessibilityValue;
|
|
64
|
+
accessibilityActions;
|
|
65
|
+
accessibilityLabelledBy;
|
|
66
|
+
importantForAccessibility;
|
|
67
|
+
accessibilityLiveRegion;
|
|
68
|
+
screenReaderFocusable;
|
|
69
|
+
accessibilityViewIsModal;
|
|
70
|
+
accessibilityElementsHidden;
|
|
71
|
+
accessibilityIgnoresInvertColors;
|
|
72
|
+
accessibilityLanguage;
|
|
73
|
+
accessibilityRespondsToUserInteraction;
|
|
74
|
+
accessibilityShowsLargeContentViewer;
|
|
75
|
+
accessibilityLargeContentTitle;
|
|
76
|
+
role;
|
|
77
|
+
ariaLabel;
|
|
78
|
+
ariaLabelledBy;
|
|
79
|
+
ariaLive;
|
|
80
|
+
ariaHidden;
|
|
81
|
+
ariaBusy;
|
|
82
|
+
ariaChecked;
|
|
83
|
+
ariaDisabled;
|
|
84
|
+
ariaExpanded;
|
|
85
|
+
ariaSelected;
|
|
86
|
+
ariaModal;
|
|
87
|
+
ariaValueMax;
|
|
88
|
+
ariaValueMin;
|
|
89
|
+
ariaValueNow;
|
|
90
|
+
ariaValueText;
|
|
91
|
+
// This component's OWN host — the non-painting anchor `class="..."` at the use site resolves
|
|
92
|
+
// onto (see anchorHostStyle's doc comment) — NOT the feedback <symbiote-view> one level down.
|
|
93
|
+
// TouchableNativeFeedback has no explicit `style`/`class`-forwarding @Input() of its own (RN's
|
|
94
|
+
// TouchableNativeFeedback takes none either — style/class always came from the child), so the
|
|
95
|
+
// anchor's class-derived style is the ONLY style source for hostProps.style below.
|
|
96
|
+
elementRef = inject(ElementRef);
|
|
97
|
+
ngOnChanges() {
|
|
98
|
+
dlog(`TouchableNativeFeedback render ${this.resolvedBackground.type} useForeground ${this.useForeground === true}`);
|
|
99
|
+
}
|
|
100
|
+
// RN defaults a missing background to SelectableBackground() so the touchable always shows
|
|
101
|
+
// feedback; mirror that here.
|
|
102
|
+
get resolvedBackground() {
|
|
103
|
+
return this.background ?? selectableBackground();
|
|
104
|
+
}
|
|
105
|
+
// backgroundProps picks the foreground slot only where the platform supports it, else the
|
|
106
|
+
// background slot (canUseNativeForeground) — shared with React/Vue. One side is always undefined.
|
|
107
|
+
get feedback() {
|
|
108
|
+
return backgroundProps(this.resolvedBackground, this.useForeground === true);
|
|
109
|
+
}
|
|
110
|
+
// Assembles the SAME resolved values the template used to bind one-by-one into a single
|
|
111
|
+
// flat bag for `[symbioteHostProps]` (Renderer2.setProperty per key) — see primitives/shared.ts.
|
|
112
|
+
get hostProps() {
|
|
113
|
+
return {
|
|
114
|
+
nativeBackgroundAndroid: this.feedback['nativeBackgroundAndroid'],
|
|
115
|
+
nativeForegroundAndroid: this.feedback['nativeForegroundAndroid'],
|
|
116
|
+
style: anchorHostStyle(this.elementRef),
|
|
117
|
+
testID: this.testID,
|
|
118
|
+
nativeID: this.nativeID,
|
|
119
|
+
accessible: this.accessible,
|
|
120
|
+
...this.folded,
|
|
121
|
+
};
|
|
122
|
+
}
|
|
123
|
+
// Forward an engine event to the matching @Output(), narrowing the template's untyped $event.
|
|
124
|
+
emit(emitter, event) {
|
|
125
|
+
if (isSymbioteEvent(event))
|
|
126
|
+
emitter.emit(event);
|
|
127
|
+
}
|
|
128
|
+
// Fold the web aria-*/role aliases into the canonical accessibility* props once per render, so the
|
|
129
|
+
// host never sees an aria-* key (native ignores them), and merge `disabled` into the a11y state
|
|
130
|
+
// (resolveDisabledAccessibilityState) the same way Pressable does for its own host.
|
|
131
|
+
get folded() {
|
|
132
|
+
return resolveAccessibilityProps({
|
|
133
|
+
accessibilityLabel: this.accessibilityLabel,
|
|
134
|
+
accessibilityHint: this.accessibilityHint,
|
|
135
|
+
accessibilityRole: this.accessibilityRole,
|
|
136
|
+
accessibilityState: resolveDisabledAccessibilityState(this.accessibilityState, this.disabled),
|
|
137
|
+
accessibilityValue: this.accessibilityValue,
|
|
138
|
+
accessibilityActions: this.accessibilityActions,
|
|
139
|
+
accessibilityLabelledBy: this.accessibilityLabelledBy,
|
|
140
|
+
importantForAccessibility: this.importantForAccessibility,
|
|
141
|
+
accessibilityLiveRegion: this.accessibilityLiveRegion,
|
|
142
|
+
screenReaderFocusable: this.screenReaderFocusable,
|
|
143
|
+
accessibilityViewIsModal: this.accessibilityViewIsModal,
|
|
144
|
+
accessibilityElementsHidden: this.accessibilityElementsHidden,
|
|
145
|
+
accessibilityIgnoresInvertColors: this.accessibilityIgnoresInvertColors,
|
|
146
|
+
accessibilityLanguage: this.accessibilityLanguage,
|
|
147
|
+
accessibilityRespondsToUserInteraction: this.accessibilityRespondsToUserInteraction,
|
|
148
|
+
accessibilityShowsLargeContentViewer: this.accessibilityShowsLargeContentViewer,
|
|
149
|
+
accessibilityLargeContentTitle: this.accessibilityLargeContentTitle,
|
|
150
|
+
role: this.role,
|
|
151
|
+
'aria-label': this.ariaLabel,
|
|
152
|
+
'aria-labelledby': this.ariaLabelledBy,
|
|
153
|
+
'aria-live': this.ariaLive,
|
|
154
|
+
'aria-hidden': this.ariaHidden,
|
|
155
|
+
'aria-busy': this.ariaBusy,
|
|
156
|
+
'aria-checked': this.ariaChecked,
|
|
157
|
+
'aria-disabled': this.ariaDisabled,
|
|
158
|
+
'aria-expanded': this.ariaExpanded,
|
|
159
|
+
'aria-selected': this.ariaSelected,
|
|
160
|
+
'aria-modal': this.ariaModal,
|
|
161
|
+
'aria-valuemax': this.ariaValueMax,
|
|
162
|
+
'aria-valuemin': this.ariaValueMin,
|
|
163
|
+
'aria-valuenow': this.ariaValueNow,
|
|
164
|
+
'aria-valuetext': this.ariaValueText,
|
|
165
|
+
});
|
|
166
|
+
}
|
|
167
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: TouchableNativeFeedback, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
168
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.0.5", type: TouchableNativeFeedback, isStandalone: true, selector: "TouchableNativeFeedback", inputs: { background: "background", useForeground: "useForeground", delayLongPress: "delayLongPress", delayHoverIn: "delayHoverIn", delayHoverOut: "delayHoverOut", disabled: "disabled", cancelable: "cancelable", hitSlop: "hitSlop", pressRetentionOffset: "pressRetentionOffset", unstable_pressDelay: "unstable_pressDelay", android_ripple: "android_ripple", android_disableSound: "android_disableSound", testID: "testID", nativeID: "nativeID", accessible: "accessible", accessibilityLabel: "accessibilityLabel", accessibilityHint: "accessibilityHint", accessibilityRole: "accessibilityRole", accessibilityState: "accessibilityState", accessibilityValue: "accessibilityValue", accessibilityActions: "accessibilityActions", accessibilityLabelledBy: "accessibilityLabelledBy", importantForAccessibility: "importantForAccessibility", accessibilityLiveRegion: "accessibilityLiveRegion", screenReaderFocusable: "screenReaderFocusable", accessibilityViewIsModal: "accessibilityViewIsModal", accessibilityElementsHidden: "accessibilityElementsHidden", accessibilityIgnoresInvertColors: "accessibilityIgnoresInvertColors", accessibilityLanguage: "accessibilityLanguage", accessibilityRespondsToUserInteraction: "accessibilityRespondsToUserInteraction", accessibilityShowsLargeContentViewer: "accessibilityShowsLargeContentViewer", accessibilityLargeContentTitle: "accessibilityLargeContentTitle", role: "role", ariaLabel: ["aria-label", "ariaLabel"], ariaLabelledBy: ["aria-labelledby", "ariaLabelledBy"], ariaLive: ["aria-live", "ariaLive"], ariaHidden: ["aria-hidden", "ariaHidden"], ariaBusy: ["aria-busy", "ariaBusy"], ariaChecked: ["aria-checked", "ariaChecked"], ariaDisabled: ["aria-disabled", "ariaDisabled"], ariaExpanded: ["aria-expanded", "ariaExpanded"], ariaSelected: ["aria-selected", "ariaSelected"], ariaModal: ["aria-modal", "ariaModal"], ariaValueMax: ["aria-valuemax", "ariaValueMax"], ariaValueMin: ["aria-valuemin", "ariaValueMin"], ariaValueNow: ["aria-valuenow", "ariaValueNow"], ariaValueText: ["aria-valuetext", "ariaValueText"] }, outputs: { press: "press", pressIn: "pressIn", pressOut: "pressOut", pressMove: "pressMove", longPress: "longPress", hoverIn: "hoverIn", hoverOut: "hoverOut", accessibilityAction: "accessibilityAction", accessibilityTap: "accessibilityTap", magicTap: "magicTap", accessibilityEscape: "accessibilityEscape" }, usesOnChanges: true, ngImport: i0, template: `
|
|
169
|
+
<Pressable
|
|
170
|
+
(press)="press.emit($event)"
|
|
171
|
+
(pressIn)="pressIn.emit($event)"
|
|
172
|
+
(pressOut)="pressOut.emit($event)"
|
|
173
|
+
(pressMove)="pressMove.emit($event)"
|
|
174
|
+
(longPress)="longPress.emit($event)"
|
|
175
|
+
(hoverIn)="hoverIn.emit($event)"
|
|
176
|
+
(hoverOut)="hoverOut.emit($event)"
|
|
177
|
+
[delayLongPress]="delayLongPress"
|
|
178
|
+
[delayHoverIn]="delayHoverIn"
|
|
179
|
+
[delayHoverOut]="delayHoverOut"
|
|
180
|
+
[disabled]="disabled"
|
|
181
|
+
[cancelable]="cancelable"
|
|
182
|
+
[hitSlop]="hitSlop"
|
|
183
|
+
[pressRetentionOffset]="pressRetentionOffset"
|
|
184
|
+
[unstable_pressDelay]="unstable_pressDelay"
|
|
185
|
+
[android_ripple]="android_ripple"
|
|
186
|
+
[android_disableSound]="android_disableSound"
|
|
187
|
+
>
|
|
188
|
+
<symbiote-view
|
|
189
|
+
[symbioteHostProps]="hostProps"
|
|
190
|
+
(accessibilityAction)="emit(accessibilityAction, $event)"
|
|
191
|
+
(accessibilityTap)="emit(accessibilityTap, $event)"
|
|
192
|
+
(magicTap)="emit(magicTap, $event)"
|
|
193
|
+
(accessibilityEscape)="emit(accessibilityEscape, $event)"
|
|
194
|
+
>
|
|
195
|
+
<ng-content></ng-content>
|
|
196
|
+
</symbiote-view>
|
|
197
|
+
</Pressable>
|
|
198
|
+
`, isInline: true, dependencies: [{ kind: "component", type: Pressable, selector: "Pressable, symbiote-pressable", inputs: ["delayLongPress", "disabled", "cancelable", "hitSlop", "pressRetentionOffset", "unstable_pressDelay", "android_ripple", "android_disableSound", "delayHoverIn", "delayHoverOut", "testID", "nativeID", "hasTVPreferredFocus", "nextFocusDown", "nextFocusForward", "nextFocusLeft", "nextFocusRight", "nextFocusUp", "style", "accessible", "accessibilityLabel", "accessibilityHint", "accessibilityRole", "accessibilityState", "accessibilityValue", "accessibilityActions", "accessibilityLabelledBy", "importantForAccessibility", "accessibilityLiveRegion", "screenReaderFocusable", "accessibilityViewIsModal", "accessibilityElementsHidden", "accessibilityIgnoresInvertColors", "accessibilityLanguage", "accessibilityRespondsToUserInteraction", "accessibilityShowsLargeContentViewer", "accessibilityLargeContentTitle", "ariaLabel", "ariaBusy", "ariaChecked", "ariaDisabled", "ariaExpanded", "ariaHidden", "ariaLabelledBy", "ariaLive", "ariaSelected", "ariaModal", "ariaValueMax", "ariaValueMin", "ariaValueNow", "ariaValueText", "id", "role"], outputs: ["press", "pressIn", "pressOut", "pressMove", "longPress", "hoverIn", "hoverOut", "accessibilityAction", "accessibilityTap", "magicTap", "accessibilityEscape"] }, { kind: "component", type: ViewHost, selector: "symbiote-view, View" }, { kind: "directive", type: SymbioteHostPropsDirective, selector: "[symbioteHostProps]", inputs: ["symbioteHostProps"], exportAs: ["symbioteHost"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
199
|
+
}
|
|
200
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: TouchableNativeFeedback, decorators: [{
|
|
201
|
+
type: Component,
|
|
202
|
+
args: [{
|
|
203
|
+
selector: 'TouchableNativeFeedback',
|
|
204
|
+
standalone: true,
|
|
205
|
+
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
206
|
+
imports: [Pressable, ViewHost, SymbioteHostPropsDirective],
|
|
207
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
208
|
+
template: `
|
|
209
|
+
<Pressable
|
|
210
|
+
(press)="press.emit($event)"
|
|
211
|
+
(pressIn)="pressIn.emit($event)"
|
|
212
|
+
(pressOut)="pressOut.emit($event)"
|
|
213
|
+
(pressMove)="pressMove.emit($event)"
|
|
214
|
+
(longPress)="longPress.emit($event)"
|
|
215
|
+
(hoverIn)="hoverIn.emit($event)"
|
|
216
|
+
(hoverOut)="hoverOut.emit($event)"
|
|
217
|
+
[delayLongPress]="delayLongPress"
|
|
218
|
+
[delayHoverIn]="delayHoverIn"
|
|
219
|
+
[delayHoverOut]="delayHoverOut"
|
|
220
|
+
[disabled]="disabled"
|
|
221
|
+
[cancelable]="cancelable"
|
|
222
|
+
[hitSlop]="hitSlop"
|
|
223
|
+
[pressRetentionOffset]="pressRetentionOffset"
|
|
224
|
+
[unstable_pressDelay]="unstable_pressDelay"
|
|
225
|
+
[android_ripple]="android_ripple"
|
|
226
|
+
[android_disableSound]="android_disableSound"
|
|
227
|
+
>
|
|
228
|
+
<symbiote-view
|
|
229
|
+
[symbioteHostProps]="hostProps"
|
|
230
|
+
(accessibilityAction)="emit(accessibilityAction, $event)"
|
|
231
|
+
(accessibilityTap)="emit(accessibilityTap, $event)"
|
|
232
|
+
(magicTap)="emit(magicTap, $event)"
|
|
233
|
+
(accessibilityEscape)="emit(accessibilityEscape, $event)"
|
|
234
|
+
>
|
|
235
|
+
<ng-content></ng-content>
|
|
236
|
+
</symbiote-view>
|
|
237
|
+
</Pressable>
|
|
238
|
+
`,
|
|
239
|
+
}]
|
|
240
|
+
}], propDecorators: { press: [{
|
|
241
|
+
type: Output
|
|
242
|
+
}], pressIn: [{
|
|
243
|
+
type: Output
|
|
244
|
+
}], pressOut: [{
|
|
245
|
+
type: Output
|
|
246
|
+
}], pressMove: [{
|
|
247
|
+
type: Output
|
|
248
|
+
}], longPress: [{
|
|
249
|
+
type: Output
|
|
250
|
+
}], hoverIn: [{
|
|
251
|
+
type: Output
|
|
252
|
+
}], hoverOut: [{
|
|
253
|
+
type: Output
|
|
254
|
+
}], accessibilityAction: [{
|
|
255
|
+
type: Output
|
|
256
|
+
}], accessibilityTap: [{
|
|
257
|
+
type: Output
|
|
258
|
+
}], magicTap: [{
|
|
259
|
+
type: Output
|
|
260
|
+
}], accessibilityEscape: [{
|
|
261
|
+
type: Output
|
|
262
|
+
}], background: [{
|
|
263
|
+
type: Input
|
|
264
|
+
}], useForeground: [{
|
|
265
|
+
type: Input
|
|
266
|
+
}], delayLongPress: [{
|
|
267
|
+
type: Input
|
|
268
|
+
}], delayHoverIn: [{
|
|
269
|
+
type: Input
|
|
270
|
+
}], delayHoverOut: [{
|
|
271
|
+
type: Input
|
|
272
|
+
}], disabled: [{
|
|
273
|
+
type: Input
|
|
274
|
+
}], cancelable: [{
|
|
275
|
+
type: Input
|
|
276
|
+
}], hitSlop: [{
|
|
277
|
+
type: Input
|
|
278
|
+
}], pressRetentionOffset: [{
|
|
279
|
+
type: Input
|
|
280
|
+
}], unstable_pressDelay: [{
|
|
281
|
+
type: Input
|
|
282
|
+
}], android_ripple: [{
|
|
283
|
+
type: Input
|
|
284
|
+
}], android_disableSound: [{
|
|
285
|
+
type: Input
|
|
286
|
+
}], testID: [{
|
|
287
|
+
type: Input
|
|
288
|
+
}], nativeID: [{
|
|
289
|
+
type: Input
|
|
290
|
+
}], accessible: [{
|
|
291
|
+
type: Input
|
|
292
|
+
}], accessibilityLabel: [{
|
|
293
|
+
type: Input
|
|
294
|
+
}], accessibilityHint: [{
|
|
295
|
+
type: Input
|
|
296
|
+
}], accessibilityRole: [{
|
|
297
|
+
type: Input
|
|
298
|
+
}], accessibilityState: [{
|
|
299
|
+
type: Input
|
|
300
|
+
}], accessibilityValue: [{
|
|
301
|
+
type: Input
|
|
302
|
+
}], accessibilityActions: [{
|
|
303
|
+
type: Input
|
|
304
|
+
}], accessibilityLabelledBy: [{
|
|
305
|
+
type: Input
|
|
306
|
+
}], importantForAccessibility: [{
|
|
307
|
+
type: Input
|
|
308
|
+
}], accessibilityLiveRegion: [{
|
|
309
|
+
type: Input
|
|
310
|
+
}], screenReaderFocusable: [{
|
|
311
|
+
type: Input
|
|
312
|
+
}], accessibilityViewIsModal: [{
|
|
313
|
+
type: Input
|
|
314
|
+
}], accessibilityElementsHidden: [{
|
|
315
|
+
type: Input
|
|
316
|
+
}], accessibilityIgnoresInvertColors: [{
|
|
317
|
+
type: Input
|
|
318
|
+
}], accessibilityLanguage: [{
|
|
319
|
+
type: Input
|
|
320
|
+
}], accessibilityRespondsToUserInteraction: [{
|
|
321
|
+
type: Input
|
|
322
|
+
}], accessibilityShowsLargeContentViewer: [{
|
|
323
|
+
type: Input
|
|
324
|
+
}], accessibilityLargeContentTitle: [{
|
|
325
|
+
type: Input
|
|
326
|
+
}], role: [{
|
|
327
|
+
type: Input
|
|
328
|
+
}], ariaLabel: [{
|
|
329
|
+
type: Input,
|
|
330
|
+
args: ['aria-label']
|
|
331
|
+
}], ariaLabelledBy: [{
|
|
332
|
+
type: Input,
|
|
333
|
+
args: ['aria-labelledby']
|
|
334
|
+
}], ariaLive: [{
|
|
335
|
+
type: Input,
|
|
336
|
+
args: ['aria-live']
|
|
337
|
+
}], ariaHidden: [{
|
|
338
|
+
type: Input,
|
|
339
|
+
args: ['aria-hidden']
|
|
340
|
+
}], ariaBusy: [{
|
|
341
|
+
type: Input,
|
|
342
|
+
args: ['aria-busy']
|
|
343
|
+
}], ariaChecked: [{
|
|
344
|
+
type: Input,
|
|
345
|
+
args: ['aria-checked']
|
|
346
|
+
}], ariaDisabled: [{
|
|
347
|
+
type: Input,
|
|
348
|
+
args: ['aria-disabled']
|
|
349
|
+
}], ariaExpanded: [{
|
|
350
|
+
type: Input,
|
|
351
|
+
args: ['aria-expanded']
|
|
352
|
+
}], ariaSelected: [{
|
|
353
|
+
type: Input,
|
|
354
|
+
args: ['aria-selected']
|
|
355
|
+
}], ariaModal: [{
|
|
356
|
+
type: Input,
|
|
357
|
+
args: ['aria-modal']
|
|
358
|
+
}], ariaValueMax: [{
|
|
359
|
+
type: Input,
|
|
360
|
+
args: ['aria-valuemax']
|
|
361
|
+
}], ariaValueMin: [{
|
|
362
|
+
type: Input,
|
|
363
|
+
args: ['aria-valuemin']
|
|
364
|
+
}], ariaValueNow: [{
|
|
365
|
+
type: Input,
|
|
366
|
+
args: ['aria-valuenow']
|
|
367
|
+
}], ariaValueText: [{
|
|
368
|
+
type: Input,
|
|
369
|
+
args: ['aria-valuetext']
|
|
370
|
+
}] } });
|
|
371
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/touchable-native-feedback/index.ts"],"names":[],"mappings":"AAAA,yFAAyF;AACzF,+FAA+F;AAC/F,iGAAiG;AACjG,6FAA6F;AAC7F,gGAAgG;AAChG,gGAAgG;AAChG,kGAAkG;AAClG,sGAAsG;AACtG,gGAAgG;AAChG,qEAAqE;AACrE,EAAE;AACF,yFAAyF;AACzF,4FAA4F;AAC5F,mGAAmG;AACnG,qGAAqG;AACrG,+FAA+F;AAC/F,gGAAgG;AAChG,8FAA8F;AAC9F,mCAAmC;AAEnC,OAAO,EACL,sBAAsB,EACtB,uBAAuB,EACvB,SAAS,EACT,UAAU,EACV,YAAY,EACZ,MAAM,EACN,KAAK,EACL,MAAM,GAEP,MAAM,eAAe,CAAC;AACvB,OAAO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ACF;;sBASE,MAAM;;sBACN,MAAM;;sBACN,MAAM;;sBACN,MAAM;;sBACN,MAAM;;sBACN,MAAM;;sBACN,MAAM;;sBACN,MAAM;;sBACN,MAAM;;sBACN,MAAM;;sBACN,MAAM;;sBACN,KAAK;;sBACL,KAAK;;sBACL,KAAK;;sBACL,KAAK;;sBACL,KAAK;;sBACL,KAAK;;sBACL,KAAK;;sBACL,KAAK;;sBACL,KAAK;;sBACL,KAAK;;sBACL,KAAK;;sBACL,KAAK;;sBACL,KAAK;;sBACL,KAAK;;sBACL,KAAK;;sBACL,KAAK;;sBACL,KAAK;;sBACL,KAAK;;sBACL,KAAK;;sBACL,KAAK;;sBACL,KAAK;;sBACL,KAAK;;sBACL,KAAK;;sBACL,KAAK;;sBACL,KAAK;;sBACL,KAAK;;sBACL,KAAK;;sBACL,KAAK;;sBACL,KAAK;;sBACL,KAAK;;sBACL,KAAK;;sBACL,KAAK;;sBACL,KAAK;;sBACL,KAAK;uBAAC,YAAY;;sBAClB,KAAK;uBAAC,iBAAiB;;sBACvB,KAAK;uBAAC,WAAW;;sBACjB,KAAK;uBAAC,aAAa;;sBACnB,KAAK;uBAAC,WAAW;;sBACjB,KAAK;uBAAC,cAAc;;sBACpB,KAAK;uBAAC,eAAe;;sBACrB,KAAK;uBAAC,eAAe;;sBACrB,KAAK;uBAAC,eAAe;;sBACrB,KAAK;uBAAC,YAAY;;sBAClB,KAAK;uBAAC,eAAe;;sBACrB,KAAK;uBAAC,eAAe;;sBACrB,KAAK;uBAAC,eAAe;;sBACrB,KAAK;uBAAC,gBAAgB"}
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import { TemplateRef, type OnChanges, type OnDestroy, type SimpleChanges } from '@angular/core';
|
|
2
|
+
import type { ISeparators } from '@symbiote-native/components';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export interface IVListItemContext<ItemT> {
|
|
5
|
+
$implicit: ItemT;
|
|
6
|
+
index: number;
|
|
7
|
+
separators: ISeparators;
|
|
8
|
+
}
|
|
9
|
+
export interface IVListSeparatorContext<ItemT> {
|
|
10
|
+
$implicit: boolean;
|
|
11
|
+
highlighted: boolean;
|
|
12
|
+
leadingItem?: ItemT;
|
|
13
|
+
trailingItem?: ItemT;
|
|
14
|
+
[key: string]: unknown;
|
|
15
|
+
}
|
|
16
|
+
export declare class VListItemDirective<ItemT = unknown> {
|
|
17
|
+
readonly templateRef: TemplateRef<IVListItemContext<ItemT>>;
|
|
18
|
+
static ngTemplateContextGuard<T>(_dir: VListItemDirective<T>, _ctx: unknown): _ctx is IVListItemContext<T>;
|
|
19
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<VListItemDirective<any>, never>;
|
|
20
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<VListItemDirective<any>, "[vListItem]", never, {}, {}, never, never, true, never>;
|
|
21
|
+
}
|
|
22
|
+
export declare class VListHeaderDirective {
|
|
23
|
+
readonly templateRef: TemplateRef<any>;
|
|
24
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<VListHeaderDirective, never>;
|
|
25
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<VListHeaderDirective, "[vListHeader]", never, {}, {}, never, never, true, never>;
|
|
26
|
+
}
|
|
27
|
+
export declare class VListFooterDirective {
|
|
28
|
+
readonly templateRef: TemplateRef<any>;
|
|
29
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<VListFooterDirective, never>;
|
|
30
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<VListFooterDirective, "[vListFooter]", never, {}, {}, never, never, true, never>;
|
|
31
|
+
}
|
|
32
|
+
export declare class VListEmptyDirective {
|
|
33
|
+
readonly templateRef: TemplateRef<any>;
|
|
34
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<VListEmptyDirective, never>;
|
|
35
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<VListEmptyDirective, "[vListEmpty]", never, {}, {}, never, never, true, never>;
|
|
36
|
+
}
|
|
37
|
+
export declare class VListSeparatorDirective<ItemT = unknown> {
|
|
38
|
+
readonly templateRef: TemplateRef<IVListSeparatorContext<ItemT>>;
|
|
39
|
+
static ngTemplateContextGuard<T>(_dir: VListSeparatorDirective<T>, _ctx: unknown): _ctx is IVListSeparatorContext<T>;
|
|
40
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<VListSeparatorDirective<any>, never>;
|
|
41
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<VListSeparatorDirective<any>, "[vListSeparator]", never, {}, {}, never, never, true, never>;
|
|
42
|
+
}
|
|
43
|
+
export declare class VListOutletDirective<C = unknown> implements OnChanges, OnDestroy {
|
|
44
|
+
templateRef?: TemplateRef<C>;
|
|
45
|
+
context?: C;
|
|
46
|
+
private viewRef;
|
|
47
|
+
private readonly viewContainer;
|
|
48
|
+
private readonly instanceId;
|
|
49
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
50
|
+
ngOnDestroy(): void;
|
|
51
|
+
private updateContext;
|
|
52
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<VListOutletDirective<any>, never>;
|
|
53
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<VListOutletDirective<any>, "[vListOutlet]", never, { "templateRef": { "alias": "vListOutlet"; "required": false; }; "context": { "alias": "vListOutletContext"; "required": false; }; }, {}, never, never, true, never>;
|
|
54
|
+
}
|