@amazon-devices/react-navigation__react-native-tab-view 7.0.9000000000 → 8.0.9000000000-rn-83

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.
Files changed (127) hide show
  1. package/README.md +2 -646
  2. package/SystemBundles/adbcd18d13758315355457809fdb5587894f9f3c2c9838769a5a47bf860685c8.bundle +8564 -0
  3. package/SystemBundles/adbcd18d13758315355457809fdb5587894f9f3c2c9838769a5a47bf860685c8.map +3217 -0
  4. package/SystemModules/amzn__react-navigation__react-native-tab-view-8.modules.txt +12 -0
  5. package/SystemModules/amzn__react-navigation__react-native-tab-view-8.private.modules.txt +63 -0
  6. package/SystemModules/keplerscript-system-bundle-config.json +4 -4
  7. package/kepler-compatibility.json +2 -2
  8. package/lib/module/Pager.android.js +3 -1
  9. package/lib/module/Pager.android.js.map +1 -1
  10. package/lib/module/Pager.ios.js +3 -1
  11. package/lib/module/Pager.ios.js.map +1 -1
  12. package/lib/module/Pager.js +3 -1
  13. package/lib/module/Pager.js.map +1 -1
  14. package/lib/module/PagerViewAdapter.js +29 -22
  15. package/lib/module/PagerViewAdapter.js.map +1 -1
  16. package/lib/module/PanResponderAdapter.js +46 -32
  17. package/lib/module/PanResponderAdapter.js.map +1 -1
  18. package/lib/module/PlatformPressable.js +38 -12
  19. package/lib/module/PlatformPressable.js.map +1 -1
  20. package/lib/module/SceneMap.js +7 -4
  21. package/lib/module/SceneMap.js.map +1 -1
  22. package/lib/module/SceneView.js +16 -14
  23. package/lib/module/SceneView.js.map +1 -1
  24. package/lib/module/TabBar.js +232 -156
  25. package/lib/module/TabBar.js.map +1 -1
  26. package/lib/module/TabBarIndicator.js +47 -26
  27. package/lib/module/TabBarIndicator.js.map +1 -1
  28. package/lib/module/TabBarItem.js +106 -107
  29. package/lib/module/TabBarItem.js.map +1 -1
  30. package/lib/module/TabBarItemLabel.js +33 -0
  31. package/lib/module/TabBarItemLabel.js.map +1 -0
  32. package/lib/module/TabView.js +91 -63
  33. package/lib/module/TabView.js.map +1 -1
  34. package/lib/module/index.js +7 -5
  35. package/lib/module/index.js.map +1 -1
  36. package/lib/module/package.json +1 -0
  37. package/lib/module/types.js +2 -0
  38. package/lib/module/types.js.map +1 -1
  39. package/lib/module/useAnimatedValue.js +4 -2
  40. package/lib/module/useAnimatedValue.js.map +1 -1
  41. package/lib/typescript/package.json +1 -0
  42. package/lib/typescript/src/Pager.android.d.ts +1 -1
  43. package/lib/typescript/src/Pager.android.d.ts.map +1 -1
  44. package/lib/typescript/src/Pager.d.ts +1 -1
  45. package/lib/typescript/src/Pager.d.ts.map +1 -1
  46. package/lib/typescript/src/Pager.ios.d.ts +1 -1
  47. package/lib/typescript/src/Pager.ios.d.ts.map +1 -1
  48. package/lib/typescript/src/PagerViewAdapter.d.ts +4 -1
  49. package/lib/typescript/src/PagerViewAdapter.d.ts.map +1 -1
  50. package/lib/typescript/src/PanResponderAdapter.d.ts +4 -1
  51. package/lib/typescript/src/PanResponderAdapter.d.ts.map +1 -1
  52. package/lib/typescript/src/PlatformPressable.d.ts +6 -8
  53. package/lib/typescript/src/PlatformPressable.d.ts.map +1 -1
  54. package/lib/typescript/src/SceneMap.d.ts +2 -2
  55. package/lib/typescript/src/SceneMap.d.ts.map +1 -1
  56. package/lib/typescript/src/SceneView.d.ts +2 -2
  57. package/lib/typescript/src/SceneView.d.ts.map +1 -1
  58. package/lib/typescript/src/TabBar.d.ts +7 -19
  59. package/lib/typescript/src/TabBar.d.ts.map +1 -1
  60. package/lib/typescript/src/TabBarIndicator.d.ts +8 -6
  61. package/lib/typescript/src/TabBarIndicator.d.ts.map +1 -1
  62. package/lib/typescript/src/TabBarItem.d.ts +4 -22
  63. package/lib/typescript/src/TabBarItem.d.ts.map +1 -1
  64. package/lib/typescript/src/TabBarItemLabel.d.ts +11 -0
  65. package/lib/typescript/src/TabBarItemLabel.d.ts.map +1 -0
  66. package/lib/typescript/src/TabView.d.ts +14 -8
  67. package/lib/typescript/src/TabView.d.ts.map +1 -1
  68. package/lib/typescript/src/index.d.ts +6 -6
  69. package/lib/typescript/src/index.d.ts.map +1 -1
  70. package/lib/typescript/src/types.d.ts +29 -1
  71. package/lib/typescript/src/types.d.ts.map +1 -1
  72. package/lib/typescript/src/useAnimatedValue.d.ts +1 -1
  73. package/lib/typescript/src/useAnimatedValue.d.ts.map +1 -1
  74. package/oss-attribution/attribution.txt +0 -0
  75. package/oss-attribution/licenseInfos.json +1 -0
  76. package/package.json +93 -1
  77. package/src/Pager.android.tsx +1 -1
  78. package/src/Pager.ios.tsx +1 -1
  79. package/src/Pager.tsx +1 -1
  80. package/src/PagerViewAdapter.tsx +26 -21
  81. package/src/PanResponderAdapter.tsx +32 -28
  82. package/src/PlatformPressable.tsx +59 -10
  83. package/src/SceneMap.tsx +3 -3
  84. package/src/SceneView.tsx +6 -7
  85. package/src/TabBar.tsx +282 -193
  86. package/src/TabBarIndicator.tsx +65 -28
  87. package/src/TabBarItem.tsx +119 -130
  88. package/src/TabBarItemLabel.tsx +42 -0
  89. package/src/TabView.tsx +59 -16
  90. package/src/index.tsx +11 -6
  91. package/src/types.tsx +29 -1
  92. package/src/useAnimatedValue.tsx +2 -2
  93. package/SystemBundles/df77923df6c02233e2967296227684cd416c9a363cc8fc6fd81f573829bc74e9.bundle +0 -13783
  94. package/SystemBundles/df77923df6c02233e2967296227684cd416c9a363cc8fc6fd81f573829bc74e9.map +0 -4787
  95. package/SystemModules/amzn__react-navigation__react-native-tab-view-7.modules.txt +0 -41
  96. package/SystemModules/amzn__react-navigation__react-native-tab-view-7.private.modules.txt +0 -96
  97. package/THIRD_PARTY_NOTICES.txt +0 -24
  98. package/lib/commonjs/Pager.android.js +0 -14
  99. package/lib/commonjs/Pager.android.js.map +0 -1
  100. package/lib/commonjs/Pager.ios.js +0 -14
  101. package/lib/commonjs/Pager.ios.js.map +0 -1
  102. package/lib/commonjs/Pager.js +0 -14
  103. package/lib/commonjs/Pager.js.map +0 -1
  104. package/lib/commonjs/PagerViewAdapter.js +0 -132
  105. package/lib/commonjs/PagerViewAdapter.js.map +0 -1
  106. package/lib/commonjs/PanResponderAdapter.js +0 -204
  107. package/lib/commonjs/PanResponderAdapter.js.map +0 -1
  108. package/lib/commonjs/PlatformPressable.js +0 -43
  109. package/lib/commonjs/PlatformPressable.js.map +0 -1
  110. package/lib/commonjs/SceneMap.js +0 -29
  111. package/lib/commonjs/SceneMap.js.map +0 -1
  112. package/lib/commonjs/SceneView.js +0 -78
  113. package/lib/commonjs/SceneView.js.map +0 -1
  114. package/lib/commonjs/TabBar.js +0 -405
  115. package/lib/commonjs/TabBar.js.map +0 -1
  116. package/lib/commonjs/TabBarIndicator.js +0 -110
  117. package/lib/commonjs/TabBarIndicator.js.map +0 -1
  118. package/lib/commonjs/TabBarItem.js +0 -227
  119. package/lib/commonjs/TabBarItem.js.map +0 -1
  120. package/lib/commonjs/TabView.js +0 -122
  121. package/lib/commonjs/TabView.js.map +0 -1
  122. package/lib/commonjs/index.js +0 -42
  123. package/lib/commonjs/index.js.map +0 -1
  124. package/lib/commonjs/types.js +0 -6
  125. package/lib/commonjs/types.js.map +0 -1
  126. package/lib/commonjs/useAnimatedValue.js +0 -18
  127. package/lib/commonjs/useAnimatedValue.js.map +0 -1
@@ -1,41 +0,0 @@
1
- node_modules/@amzn/react-navigation__react-native-tab-view_7/lib/commonjs/Pager.js:db6902699724e6f62567
2
- node_modules/@amzn/react-navigation__react-native-tab-view_7/lib/commonjs/PanResponderAdapter.js:1b639256382b6a2a08cc
3
- node_modules/@amzn/react-navigation__react-native-tab-view_7/lib/commonjs/useAnimatedValue.js:daf1813918444f47dfe9
4
- node_modules/@amzn/react-navigation__react-native-tab-view_7/lib/commonjs/PagerViewAdapter.js:f9c082ecaaf2c5f603d9
5
- node_modules/@amzn/react-navigation__react-native-tab-view_7/lib/commonjs/PlatformPressable.js:0db49a757418b374508d
6
- node_modules/@amzn/react-navigation__react-native-tab-view_7/lib/commonjs/SceneMap.js:4a77db3764613ffda777
7
- node_modules/@amzn/react-navigation__react-native-tab-view_7/lib/commonjs/SceneView.js:a8c0c301a9d8f39c447d
8
- node_modules/@amzn/react-navigation__react-native-tab-view_7/lib/commonjs/TabBar.js:58d7e612b9e00bdfbae6
9
- node_modules/@amzn/react-navigation__react-native-tab-view_7/lib/commonjs/TabBarIndicator.js:5bf71bdf735d053b33aa
10
- node_modules/@amzn/react-navigation__react-native-tab-view_7/lib/commonjs/TabBarItem.js:ff49b9a2c73fb7e1d6c2
11
- node_modules/@amzn/react-navigation__react-native-tab-view_7/lib/commonjs/TabView.js:cadd5c1a82c73dd84aae
12
- node_modules/@amzn/react-navigation__react-native-tab-view_7/lib/commonjs/index.js:a1a23647fa32587b3199
13
- node_modules/@amzn/react-navigation__react-native-tab-view_7/lib/commonjs/types.js:42fd24bbffd8985587fd
14
- node_modules/@amzn/react-navigation__react-native-tab-view_7/lib/module/Pager.js:e13dfa86583eafd9c87b
15
- node_modules/@amzn/react-navigation__react-native-tab-view_7/lib/module/PanResponderAdapter.js:68b187179620e0652668
16
- node_modules/@amzn/react-navigation__react-native-tab-view_7/lib/module/useAnimatedValue.js:b0e77334911132799eb5
17
- node_modules/@amzn/react-navigation__react-native-tab-view_7/lib/module/PagerViewAdapter.js:1642458658ae54a8678e
18
- node_modules/@amzn/react-navigation__react-native-tab-view_7/lib/module/PlatformPressable.js:7385c341d0b1fba98ffb
19
- node_modules/@amzn/react-navigation__react-native-tab-view_7/lib/module/SceneMap.js:677cad769bb80ce89421
20
- node_modules/@amzn/react-navigation__react-native-tab-view_7/lib/module/SceneView.js:337f2013a1aa5ce3c195
21
- node_modules/@amzn/react-navigation__react-native-tab-view_7/lib/module/TabBar.js:0711016b4d92b479586b
22
- node_modules/@amzn/react-navigation__react-native-tab-view_7/lib/module/TabBarIndicator.js:02d2cf13030341c31d34
23
- node_modules/@amzn/react-navigation__react-native-tab-view_7/lib/module/TabBarItem.js:1a7cd1262be0d9407034
24
- node_modules/@amzn/react-navigation__react-native-tab-view_7/lib/module/TabView.js:a476deb3727c7a32fd7d
25
- node_modules/@amzn/react-navigation__react-native-tab-view_7/lib/module/index.js:0044de6ea98cee8f3a87
26
- node_modules/@amzn/react-navigation__react-native-tab-view_7/lib/module/types.js:5052ee8479978e09e39d
27
- node_modules/@amzn/react-navigation__react-native-tab-view_7/src/Pager.android.tsx:2878eba90eb9c70a9f11
28
- node_modules/@amzn/react-navigation__react-native-tab-view_7/src/PagerViewAdapter.tsx:ed28b0c28d3d94cd1d69
29
- node_modules/@amzn/react-navigation__react-native-tab-view_7/src/useAnimatedValue.tsx:16a3e404dee0d7ceb2a7
30
- node_modules/@amzn/react-navigation__react-native-tab-view_7/src/Pager.ios.tsx:1b0915a602900fbfc771
31
- node_modules/@amzn/react-navigation__react-native-tab-view_7/src/Pager.tsx:3bb524a1ade7b76a4923
32
- node_modules/@amzn/react-navigation__react-native-tab-view_7/src/PanResponderAdapter.tsx:2b25d2faf8f04a627fe2
33
- node_modules/@amzn/react-navigation__react-native-tab-view_7/src/PlatformPressable.tsx:1ca04c7233ed75682772
34
- node_modules/@amzn/react-navigation__react-native-tab-view_7/src/SceneMap.tsx:9eb89d4413bbedb1f1ef
35
- node_modules/@amzn/react-navigation__react-native-tab-view_7/src/SceneView.tsx:66d436e69f4fdc007b59
36
- node_modules/@amzn/react-navigation__react-native-tab-view_7/src/TabBar.tsx:f3fef987945c403bdffc
37
- node_modules/@amzn/react-navigation__react-native-tab-view_7/src/TabBarIndicator.tsx:736f95b72609f17c7010
38
- node_modules/@amzn/react-navigation__react-native-tab-view_7/src/TabBarItem.tsx:cb125545eec6217eed71
39
- node_modules/@amzn/react-navigation__react-native-tab-view_7/src/TabView.tsx:133abd8be023c5486438
40
- node_modules/@amzn/react-navigation__react-native-tab-view_7/src/index.tsx:cbed716db7cee6efc472
41
- node_modules/@amzn/react-navigation__react-native-tab-view_7/src/types.tsx:8c2e375611e3e7708c7f
@@ -1,96 +0,0 @@
1
- node_modules/@react-native/js-polyfills_0.83.0/console.js:2d15cb9b42170067dfb8
2
- node_modules/@react-native/js-polyfills_0.83.0/error-guard.js:f1e83584808fa19b4c7a
3
- node_modules/@babel/runtime_7.28.4/helpers/interopRequireDefault.js:277a84013d7e1a1ace05
4
- node_modules/@babel/runtime_7.28.4/helpers/toConsumableArray.js:838d7a057beeb5db50df
5
- node_modules/@babel/runtime_7.28.4/helpers/arrayWithoutHoles.js:a425fd4fe3cf47759e99
6
- node_modules/@babel/runtime_7.28.4/helpers/arrayLikeToArray.js:378be3062418cfac9327
7
- node_modules/@babel/runtime_7.28.4/helpers/iterableToArray.js:67d028b72bb61755baea
8
- node_modules/@babel/runtime_7.28.4/helpers/unsupportedIterableToArray.js:e7044bb724c5bd68e2cc
9
- node_modules/@babel/runtime_7.28.4/helpers/nonIterableSpread.js:b4810fa44dd496b7d9f5
10
- node_modules/@babel/runtime_7.28.4/helpers/classCallCheck.js:cb664999166f9660a878
11
- node_modules/@babel/runtime_7.28.4/helpers/createClass.js:68819e29ebee24bb0e88
12
- node_modules/@babel/runtime_7.28.4/helpers/toPropertyKey.js:cbba112244d360ffda7a
13
- node_modules/@babel/runtime_7.28.4/helpers/toPrimitive.js:ad82d340d0b5dc5f0801
14
- node_modules/@babel/runtime_7.28.4/helpers/typeof.js:e08c69ed06cf526909e3
15
- node_modules/invariant_2.2.4/browser.js:fd099686726b2dfb6f66
16
- node_modules/@babel/runtime_7.28.4/helpers/slicedToArray.js:d73b3a84588342abd1b6
17
- node_modules/@babel/runtime_7.28.4/helpers/arrayWithHoles.js:c18fba4833d885627fc3
18
- node_modules/@babel/runtime_7.28.4/helpers/iterableToArrayLimit.js:db861c9134e305a92464
19
- node_modules/@babel/runtime_7.28.4/helpers/nonIterableRest.js:d2c95b166a5bd41ca703
20
- node_modules/nullthrows_1.1.1/nullthrows.js:afd4874b36ccd4e13961
21
- node_modules/@babel/runtime_7.28.4/helpers/possibleConstructorReturn.js:aab42168bb4cb23540ec
22
- node_modules/@babel/runtime_7.28.4/helpers/assertThisInitialized.js:0716ce96f45f287fb302
23
- node_modules/@babel/runtime_7.28.4/helpers/getPrototypeOf.js:ba9efe5c53f1d07f5c9d
24
- node_modules/@babel/runtime_7.28.4/helpers/inherits.js:9822a58ca7726d551fe0
25
- node_modules/@babel/runtime_7.28.4/helpers/setPrototypeOf.js:79c731bcf4b10abe8e4d
26
- node_modules/@babel/runtime_7.28.4/helpers/readOnlyError.js:9a3a31f49f0e1fee57b0
27
- node_modules/@babel/runtime_7.28.4/helpers/wrapNativeSuper.js:66be7ef871ad04671969
28
- node_modules/@babel/runtime_7.28.4/helpers/isNativeFunction.js:9cf198b81404c8b483b0
29
- node_modules/@babel/runtime_7.28.4/helpers/construct.js:20524c8783215c6329fe
30
- node_modules/@babel/runtime_7.28.4/helpers/isNativeReflectConstruct.js:df21df9938c0adbd59f1
31
- node_modules/stacktrace-parser_0.1.11/dist/stack-trace-parser.cjs.js:aa725aa4c0b37e1add33
32
- node_modules/promise_8.3.0/setimmediate/finally.js:15bc4ccb25fc2d0c4428
33
- node_modules/promise_8.3.0/setimmediate/core.js:890f60fa94d3f6854a19
34
- node_modules/promise_8.3.0/setimmediate/es6-extensions.js:a7846fdeffeb1ebf6241
35
- node_modules/regenerator-runtime_0.13.11/runtime.js:af823d9710c534173a4d
36
- node_modules/@babel/runtime_7.28.4/helpers/get.js:55062adb34159de0ea92
37
- node_modules/@babel/runtime_7.28.4/helpers/superPropBase.js:d53f05ad44723a08f608
38
- node_modules/event-target-shim_5.0.1/dist/event-target-shim.js:2bd3f165b1ed6b916de7
39
- node_modules/base64-js_1.5.1/index.js:71af70f51435e3e1b37b
40
- node_modules/whatwg-fetch_3.6.20/dist/fetch.umd.js:ca4b0363146267ef3e77
41
- node_modules/@babel/runtime_7.28.4/helpers/objectWithoutProperties.js:a2c8e692f78bae5b8b98
42
- node_modules/@babel/runtime_7.28.4/helpers/objectWithoutPropertiesLoose.js:5927789db7c756c318ed
43
- node_modules/abort-controller_3.0.0/dist/abort-controller.js:ea8fcbd647aab1cfcdaa
44
- node_modules/@react-native/normalize-colors_0.72.0/index.js:bab9017c6ff43bb4a95b
45
- node_modules/@babel/runtime_7.28.4/helpers/defineProperty.js:4926d0dbc109dc5bb6c9
46
- node_modules/@react-native/assets-registry_0.72.0/registry.js:05d58bec2a6d939f08d8
47
- node_modules/@react-native/assets-registry_0.72.0/path-support.js:914260cfb55fe13c431c
48
- node_modules/scheduler_0.24.0-canary-efb381bbf-20230505/index.native.js:d57407eff7026d491c8a
49
- node_modules/scheduler_0.24.0-canary-efb381bbf-20230505/cjs/scheduler.native.production.min.js:9daefd1335ff675770cb
50
- node_modules/deprecated-react-native-prop-types_4.1.0/index.js:4b5aec8d0b1af0b13fc9
51
- node_modules/deprecated-react-native-prop-types_4.1.0/DeprecatedColorPropType.js:0ff2848f3ff6f1a02356
52
- node_modules/deprecated-react-native-prop-types_4.1.0/DeprecatedEdgeInsetsPropType.js:e113bc2a6b8133e753f1
53
- node_modules/prop-types_15.8.1/index.js:385f56cce85bf58dda18
54
- node_modules/prop-types_15.8.1/factoryWithThrowingShims.js:211f6d600f40629e26d0
55
- node_modules/prop-types_15.8.1/lib/ReactPropTypesSecret.js:3ac224506c12c2b4339c
56
- node_modules/deprecated-react-native-prop-types_4.1.0/DeprecatedImagePropType.js:9f1779357aba412bb49f
57
- node_modules/deprecated-react-native-prop-types_4.1.0/DeprecatedViewPropTypes.js:6a37ec0494ff683c49f2
58
- node_modules/deprecated-react-native-prop-types_4.1.0/DeprecatedViewAccessibility.js:dc269c006cd52aa8a392
59
- node_modules/deprecated-react-native-prop-types_4.1.0/DeprecatedStyleSheetPropType.js:ecd8893ff4b33ee73955
60
- node_modules/deprecated-react-native-prop-types_4.1.0/deprecatedCreateStrictShapeTypeChecker.js:2c266ae4211321471d0d
61
- node_modules/deprecated-react-native-prop-types_4.1.0/DeprecatedViewStylePropTypes.js:b0bd5168a69d8a903511
62
- node_modules/deprecated-react-native-prop-types_4.1.0/DeprecatedLayoutPropTypes.js:fdc284a1196df7b8b1c7
63
- node_modules/deprecated-react-native-prop-types_4.1.0/DeprecatedShadowPropTypesIOS.js:c694fefe532e4748da9d
64
- node_modules/deprecated-react-native-prop-types_4.1.0/DeprecatedTransformPropTypes.js:1dd7395967b3c81dc0f2
65
- node_modules/deprecated-react-native-prop-types_4.1.0/DeprecatedImageSourcePropType.js:00fed86b64880bf848bf
66
- node_modules/deprecated-react-native-prop-types_4.1.0/DeprecatedImageStylePropTypes.js:0b77c2d463c8dbef3508
67
- node_modules/deprecated-react-native-prop-types_4.1.0/DeprecatedPointPropType.js:792d53fa12840d39c921
68
- node_modules/deprecated-react-native-prop-types_4.1.0/DeprecatedTextInputPropTypes.js:a287f54379336e9f732c
69
- node_modules/deprecated-react-native-prop-types_4.1.0/DeprecatedTextPropTypes.js:14b8482f38362fa2f8cd
70
- node_modules/deprecated-react-native-prop-types_4.1.0/DeprecatedTextStylePropTypes.js:41bd16fe8e2d1af40264
71
- node_modules/memoize-one_5.2.1/dist/memoize-one.cjs.js:d381691ed29bec5a2050
72
- node_modules/@react-native/virtualized-lists_0.72.8/index.js:27b237d1799650306cb9
73
- node_modules/@react-native/virtualized-lists_0.72.8/Lists/VirtualizeUtils.js:a26dbe2a3afa21c3cf22
74
- node_modules/@react-native/virtualized-lists_0.72.8/Lists/VirtualizedList.js:c4b46015e44050527820
75
- node_modules/@react-native/virtualized-lists_0.72.8/Interaction/Batchinator.js:1953ac0cbf7ac32b33d6
76
- node_modules/@react-native/virtualized-lists_0.72.8/Utilities/clamp.js:a30729068ebd0dea58f8
77
- node_modules/@react-native/virtualized-lists_0.72.8/Utilities/infoLog.js:4fd7218f700134f011e9
78
- node_modules/@react-native/virtualized-lists_0.72.8/Lists/ChildListCollection.js:718d6cdfb3fb081a232d
79
- node_modules/@react-native/virtualized-lists_0.72.8/Lists/FillRateHelper.js:3e01a5bc929e85870fe5
80
- node_modules/@react-native/virtualized-lists_0.72.8/Lists/StateSafePureComponent.js:04ffc79d4da370644bce
81
- node_modules/@react-native/virtualized-lists_0.72.8/Lists/ViewabilityHelper.js:8bafab90a37cab64b100
82
- node_modules/@react-native/virtualized-lists_0.72.8/Lists/VirtualizedListCellRenderer.js:ce5f423367f40f3628a8
83
- node_modules/@react-native/virtualized-lists_0.72.8/Lists/VirtualizedListContext.js:e6b1ef1f5b720d640981
84
- node_modules/@react-native/virtualized-lists_0.72.8/Lists/CellRenderMask.js:de5ab026f9499640d730
85
- node_modules/@react-native/virtualized-lists_0.72.8/Lists/VirtualizedSectionList.js:d2355175ff6609a3def1
86
- node_modules/@babel/runtime_7.28.4/helpers/asyncToGenerator.js:77f56f33f638c3751138
87
- node_modules/use-sync-external-store_1.6.0/shim/index.native.js:962cceb83a0665e556b0
88
- node_modules/use-sync-external-store_1.6.0/cjs/use-sync-external-store-shim.native.production.js:882f173eeacafe179433
89
- node_modules/@babel/runtime_7.28.4/helpers/classPrivateFieldLooseKey.js:cb8ece4f72f02a959885
90
- node_modules/@babel/runtime_7.28.4/helpers/classPrivateFieldLooseBase.js:39eb90fd8fb300b049c2
91
- node_modules/react-native-pager-view_7.0.2/src/index.tsx:511026e65104b16a3e63
92
- node_modules/react-native-pager-view_7.0.2/src/usePagerView.ts:6840ebe2431baee847e7
93
- node_modules/react-native-pager-view_7.0.2/src/PagerView.tsx:a28ac6a813729a4cd5ab
94
- node_modules/react-native-pager-view_7.0.2/src/PagerViewNativeComponent.ts:3a734a0afb95e6f595fa
95
- node_modules/react-native-pager-view_7.0.2/src/utils.tsx:18c2652e5d16cbf09aa6
96
- node_modules/use-latest-callback_0.1.6/lib/index.js:6e9cf0716929115a1392
@@ -1,24 +0,0 @@
1
- License from LICENSE:
2
- ========================================
3
-
4
- MIT License
5
-
6
- Copyright (c) 2017 React Native Community
7
-
8
- Permission is hereby granted, free of charge, to any person obtaining a copy
9
- of this software and associated documentation files (the "Software"), to deal
10
- in the Software without restriction, including without limitation the rights
11
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
12
- copies of the Software, and to permit persons to whom the Software is
13
- furnished to do so, subject to the following conditions:
14
-
15
- The above copyright notice and this permission notice shall be included in all
16
- copies or substantial portions of the Software.
17
-
18
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
19
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
20
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
21
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
22
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
23
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
24
- SOFTWARE.
@@ -1,14 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- Object.defineProperty(exports, "default", {
7
- enumerable: true,
8
- get: function () {
9
- return _PagerViewAdapter.default;
10
- }
11
- });
12
- var _PagerViewAdapter = _interopRequireDefault(require("./PagerViewAdapter"));
13
- function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
14
- //# sourceMappingURL=Pager.android.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["_PagerViewAdapter","_interopRequireDefault","require","e","__esModule","default"],"sourceRoot":"../../src","sources":["Pager.android.tsx"],"mappings":";;;;;;;;;;;AAAA,IAAAA,iBAAA,GAAAC,sBAAA,CAAAC,OAAA;AAA6C,SAAAD,uBAAAE,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA","ignoreList":[]}
@@ -1,14 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- Object.defineProperty(exports, "default", {
7
- enumerable: true,
8
- get: function () {
9
- return _PagerViewAdapter.default;
10
- }
11
- });
12
- var _PagerViewAdapter = _interopRequireDefault(require("./PagerViewAdapter"));
13
- function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
14
- //# sourceMappingURL=Pager.ios.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["_PagerViewAdapter","_interopRequireDefault","require","e","__esModule","default"],"sourceRoot":"../../src","sources":["Pager.ios.tsx"],"mappings":";;;;;;;;;;;AAAA,IAAAA,iBAAA,GAAAC,sBAAA,CAAAC,OAAA;AAA6C,SAAAD,uBAAAE,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA","ignoreList":[]}
@@ -1,14 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- Object.defineProperty(exports, "default", {
7
- enumerable: true,
8
- get: function () {
9
- return _PanResponderAdapter.default;
10
- }
11
- });
12
- var _PanResponderAdapter = _interopRequireDefault(require("./PanResponderAdapter"));
13
- function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
14
- //# sourceMappingURL=Pager.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["_PanResponderAdapter","_interopRequireDefault","require","e","__esModule","default"],"sourceRoot":"../../src","sources":["Pager.tsx"],"mappings":";;;;;;;;;;;AAAA,IAAAA,oBAAA,GAAAC,sBAAA,CAAAC,OAAA;AAAgD,SAAAD,uBAAAE,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA","ignoreList":[]}
@@ -1,132 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.default = PagerViewAdapter;
7
- var React = _interopRequireWildcard(require("react"));
8
- var _reactNative = require("react-native");
9
- var _reactNativePagerView = _interopRequireDefault(require("react-native-pager-view"));
10
- var _useAnimatedValue = _interopRequireDefault(require("./useAnimatedValue"));
11
- function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
12
- function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
13
- function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
14
- function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
15
- const AnimatedViewPager = _reactNative.Animated.createAnimatedComponent(_reactNativePagerView.default);
16
- function PagerViewAdapter({
17
- keyboardDismissMode = 'auto',
18
- swipeEnabled = true,
19
- navigationState,
20
- onIndexChange,
21
- onSwipeStart,
22
- onSwipeEnd,
23
- children,
24
- style,
25
- animationEnabled,
26
- ...rest
27
- }) {
28
- const {
29
- index
30
- } = navigationState;
31
- const listenersRef = React.useRef([]);
32
- const pagerRef = React.useRef(null);
33
- const indexRef = React.useRef(index);
34
- const navigationStateRef = React.useRef(navigationState);
35
- const position = (0, _useAnimatedValue.default)(index);
36
- const offset = (0, _useAnimatedValue.default)(0);
37
- React.useEffect(() => {
38
- navigationStateRef.current = navigationState;
39
- });
40
- const jumpTo = React.useCallback(key => {
41
- const index = navigationStateRef.current.routes.findIndex(route => route.key === key);
42
- if (animationEnabled) {
43
- var _pagerRef$current;
44
- (_pagerRef$current = pagerRef.current) === null || _pagerRef$current === void 0 || _pagerRef$current.setPage(index);
45
- } else {
46
- var _pagerRef$current2;
47
- (_pagerRef$current2 = pagerRef.current) === null || _pagerRef$current2 === void 0 || _pagerRef$current2.setPageWithoutAnimation(index);
48
- position.setValue(index);
49
- }
50
- }, [animationEnabled, position]);
51
- React.useEffect(() => {
52
- if (keyboardDismissMode === 'auto') {
53
- _reactNative.Keyboard.dismiss();
54
- }
55
- if (indexRef.current !== index) {
56
- if (animationEnabled) {
57
- var _pagerRef$current3;
58
- (_pagerRef$current3 = pagerRef.current) === null || _pagerRef$current3 === void 0 || _pagerRef$current3.setPage(index);
59
- } else {
60
- var _pagerRef$current4;
61
- (_pagerRef$current4 = pagerRef.current) === null || _pagerRef$current4 === void 0 || _pagerRef$current4.setPageWithoutAnimation(index);
62
- position.setValue(index);
63
- }
64
- }
65
- }, [keyboardDismissMode, index, animationEnabled, position]);
66
- const onPageScrollStateChanged = state => {
67
- const {
68
- pageScrollState
69
- } = state.nativeEvent;
70
- switch (pageScrollState) {
71
- case 'idle':
72
- onSwipeEnd === null || onSwipeEnd === void 0 || onSwipeEnd();
73
- return;
74
- case 'dragging':
75
- {
76
- const subscription = offset.addListener(({
77
- value
78
- }) => {
79
- const next = index + (value > 0 ? Math.ceil(value) : Math.floor(value));
80
- if (next !== index) {
81
- listenersRef.current.forEach(listener => listener(next));
82
- }
83
- offset.removeListener(subscription);
84
- });
85
- onSwipeStart === null || onSwipeStart === void 0 || onSwipeStart();
86
- return;
87
- }
88
- }
89
- };
90
- const addEnterListener = React.useCallback(listener => {
91
- listenersRef.current.push(listener);
92
- return () => {
93
- const index = listenersRef.current.indexOf(listener);
94
- if (index > -1) {
95
- listenersRef.current.splice(index, 1);
96
- }
97
- };
98
- }, []);
99
- const memoizedPosition = React.useMemo(() => _reactNative.Animated.add(position, offset), [offset, position]);
100
- return children({
101
- position: memoizedPosition,
102
- addEnterListener,
103
- jumpTo,
104
- render: children => /*#__PURE__*/React.createElement(AnimatedViewPager, _extends({}, rest, {
105
- ref: pagerRef,
106
- style: [styles.container, style],
107
- initialPage: index,
108
- keyboardDismissMode: keyboardDismissMode === 'auto' ? 'on-drag' : keyboardDismissMode,
109
- onPageScroll: _reactNative.Animated.event([{
110
- nativeEvent: {
111
- position: position,
112
- offset: offset
113
- }
114
- }], {
115
- useNativeDriver: true
116
- }),
117
- onPageSelected: e => {
118
- const index = e.nativeEvent.position;
119
- indexRef.current = index;
120
- onIndexChange(index);
121
- },
122
- onPageScrollStateChanged: onPageScrollStateChanged,
123
- scrollEnabled: swipeEnabled
124
- }), children)
125
- });
126
- }
127
- const styles = _reactNative.StyleSheet.create({
128
- container: {
129
- flex: 1
130
- }
131
- });
132
- //# sourceMappingURL=PagerViewAdapter.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["React","_interopRequireWildcard","require","_reactNative","_reactNativePagerView","_interopRequireDefault","_useAnimatedValue","e","__esModule","default","_getRequireWildcardCache","WeakMap","r","t","has","get","n","__proto__","a","Object","defineProperty","getOwnPropertyDescriptor","u","hasOwnProperty","call","i","set","_extends","assign","bind","arguments","length","apply","AnimatedViewPager","Animated","createAnimatedComponent","ViewPager","PagerViewAdapter","keyboardDismissMode","swipeEnabled","navigationState","onIndexChange","onSwipeStart","onSwipeEnd","children","style","animationEnabled","rest","index","listenersRef","useRef","pagerRef","indexRef","navigationStateRef","position","useAnimatedValue","offset","useEffect","current","jumpTo","useCallback","key","routes","findIndex","route","_pagerRef$current","setPage","_pagerRef$current2","setPageWithoutAnimation","setValue","Keyboard","dismiss","_pagerRef$current3","_pagerRef$current4","onPageScrollStateChanged","state","pageScrollState","nativeEvent","subscription","addListener","value","next","Math","ceil","floor","forEach","listener","removeListener","addEnterListener","push","indexOf","splice","memoizedPosition","useMemo","add","render","createElement","ref","styles","container","initialPage","onPageScroll","event","useNativeDriver","onPageSelected","scrollEnabled","StyleSheet","create","flex"],"sourceRoot":"../../src","sources":["PagerViewAdapter.tsx"],"mappings":";;;;;;AAAA,IAAAA,KAAA,GAAAC,uBAAA,CAAAC,OAAA;AAC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,gBAAgB,GAAG5F,KAAK,CAAC6F,OAAO,CACpC,MAAM3D,qBAAQ,CAAC4D,GAAG,CAACxC,QAAQ,EAAEE,MAAM,CAAC,EACpC,CAACA,MAAM,EAAEF,QAAQ,CACnB,CAAC;EAED,OAAOV,QAAQ,CAAC;IACdU,QAAQ,EAAEsC,gBAAgB;IAC1BJ,gBAAgB;IAChB7B,MAAM;IACNoC,MAAM,EAAGnD,QAAQ,iBACf5C,KAAA,CAAAgG,aAAA,CAAC/D,iBAAiB,EAAAN,QAAA,KACZoB,IAAI;MACRkD,GAAG,EAAE9C,QAAS;MACdN,KAAK,EAAE,CAACqD,MAAM,CAACC,SAAS,EAAEtD,KAAK,CAAE;MACjCuD,WAAW,EAAEpD,KAAM;MACnBV,mBAAmB,EACjBA,mBAAmB,KAAK,MAAM,GAAG,SAAS,GAAGA,mBAC9C;MACD+D,YAAY,EAAEnE,qBAAQ,CAACoE,KAAK,CAC1B,CACE;QACEzB,WAAW,EAAE;UACXvB,QAAQ,EAAEA,QAAQ;UAClBE,MAAM,EAAEA;QACV;MACF,CAAC,CACF,EACD;QAAE+C,eAAe,EAAE;MAAK,CAC1B,CAAE;MACFC,cAAc,EAAGjG,CAAC,IAAK;QACrB,MAAMyC,KAAK,GAAGzC,CAAC,CAACsE,WAAW,CAACvB,QAAQ;QACpCF,QAAQ,CAACM,OAAO,GAAGV,KAAK;QACxBP,aAAa,CAACO,KAAK,CAAC;MACtB,CAAE;MACF0B,wBAAwB,EAAEA,wBAAyB;MACnD+B,aAAa,EAAElE;IAAa,IAE3BK,QACgB;EAEvB,CAAC,CAAC;AACJ;AAEA,MAAMsD,MAAM,GAAGQ,uBAAU,CAACC,MAAM,CAAC;EAC/BR,SAAS,EAAE;IACTS,IAAI,EAAE;EACR;AACF,CAAC,CAAC","ignoreList":[]}
@@ -1,204 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.default = PanResponderAdapter;
7
- var React = _interopRequireWildcard(require("react"));
8
- var _reactNative = require("react-native");
9
- var _useAnimatedValue = _interopRequireDefault(require("./useAnimatedValue"));
10
- function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
11
- function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
12
- function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
13
- function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
14
- const DEAD_ZONE = 12;
15
- const DefaultTransitionSpec = {
16
- timing: _reactNative.Animated.spring,
17
- stiffness: 1000,
18
- damping: 500,
19
- mass: 3,
20
- overshootClamping: true
21
- };
22
- function PanResponderAdapter({
23
- layout,
24
- keyboardDismissMode = 'auto',
25
- swipeEnabled = true,
26
- navigationState,
27
- onIndexChange,
28
- onSwipeStart,
29
- onSwipeEnd,
30
- children,
31
- style,
32
- animationEnabled = false
33
- }) {
34
- const {
35
- routes,
36
- index
37
- } = navigationState;
38
- const panX = (0, _useAnimatedValue.default)(0);
39
- const listenersRef = React.useRef([]);
40
- const navigationStateRef = React.useRef(navigationState);
41
- const layoutRef = React.useRef(layout);
42
- const onIndexChangeRef = React.useRef(onIndexChange);
43
- const currentIndexRef = React.useRef(index);
44
- const pendingIndexRef = React.useRef();
45
- const swipeVelocityThreshold = 0.15;
46
- const swipeDistanceThreshold = layout.width / 1.75;
47
- const jumpToIndex = React.useCallback((index, animate = animationEnabled) => {
48
- const offset = -index * layoutRef.current.width;
49
- const {
50
- timing,
51
- ...transitionConfig
52
- } = DefaultTransitionSpec;
53
- if (animate) {
54
- _reactNative.Animated.parallel([timing(panX, {
55
- ...transitionConfig,
56
- toValue: offset,
57
- useNativeDriver: false
58
- })]).start(({
59
- finished
60
- }) => {
61
- if (finished) {
62
- onIndexChangeRef.current(index);
63
- pendingIndexRef.current = undefined;
64
- }
65
- });
66
- pendingIndexRef.current = index;
67
- } else {
68
- panX.setValue(offset);
69
- onIndexChangeRef.current(index);
70
- pendingIndexRef.current = undefined;
71
- }
72
- }, [animationEnabled, panX]);
73
- React.useEffect(() => {
74
- navigationStateRef.current = navigationState;
75
- layoutRef.current = layout;
76
- onIndexChangeRef.current = onIndexChange;
77
- });
78
- React.useEffect(() => {
79
- const offset = -navigationStateRef.current.index * layout.width;
80
- panX.setValue(offset);
81
- }, [layout.width, panX]);
82
- React.useEffect(() => {
83
- if (keyboardDismissMode === 'auto') {
84
- _reactNative.Keyboard.dismiss();
85
- }
86
- if (layout.width && currentIndexRef.current !== index) {
87
- currentIndexRef.current = index;
88
- jumpToIndex(index);
89
- }
90
- }, [jumpToIndex, keyboardDismissMode, layout.width, index]);
91
- const isMovingHorizontally = (_, gestureState) => {
92
- return Math.abs(gestureState.dx) > Math.abs(gestureState.dy * 2) && Math.abs(gestureState.vx) > Math.abs(gestureState.vy * 2);
93
- };
94
- const canMoveScreen = (event, gestureState) => {
95
- if (swipeEnabled === false) {
96
- return false;
97
- }
98
- const diffX = _reactNative.I18nManager.isRTL ? -gestureState.dx : gestureState.dx;
99
- return isMovingHorizontally(event, gestureState) && (diffX >= DEAD_ZONE && currentIndexRef.current > 0 || diffX <= -DEAD_ZONE && currentIndexRef.current < routes.length - 1);
100
- };
101
- const startGesture = () => {
102
- onSwipeStart === null || onSwipeStart === void 0 || onSwipeStart();
103
- if (keyboardDismissMode === 'on-drag') {
104
- _reactNative.Keyboard.dismiss();
105
- }
106
- panX.stopAnimation();
107
- // @ts-expect-error: _value is private, but docs use it as well
108
- panX.setOffset(panX._value);
109
- };
110
- const respondToGesture = (_, gestureState) => {
111
- const diffX = _reactNative.I18nManager.isRTL ? -gestureState.dx : gestureState.dx;
112
- if (
113
- // swiping left
114
- diffX > 0 && index <= 0 ||
115
- // swiping right
116
- diffX < 0 && index >= routes.length - 1) {
117
- return;
118
- }
119
- if (layout.width) {
120
- // @ts-expect-error: _offset is private, but docs use it as well
121
- const position = (panX._offset + diffX) / -layout.width;
122
- const next = position > index ? Math.ceil(position) : Math.floor(position);
123
- if (next !== index) {
124
- listenersRef.current.forEach(listener => listener(next));
125
- }
126
- }
127
- panX.setValue(diffX);
128
- };
129
- const finishGesture = (_, gestureState) => {
130
- panX.flattenOffset();
131
- onSwipeEnd === null || onSwipeEnd === void 0 || onSwipeEnd();
132
- const currentIndex = typeof pendingIndexRef.current === 'number' ? pendingIndexRef.current : currentIndexRef.current;
133
- let nextIndex = currentIndex;
134
- if (Math.abs(gestureState.dx) > Math.abs(gestureState.dy) && Math.abs(gestureState.vx) > Math.abs(gestureState.vy) && (Math.abs(gestureState.dx) > swipeDistanceThreshold || Math.abs(gestureState.vx) > swipeVelocityThreshold)) {
135
- nextIndex = Math.round(Math.min(Math.max(0, _reactNative.I18nManager.isRTL ? currentIndex + gestureState.dx / Math.abs(gestureState.dx) : currentIndex - gestureState.dx / Math.abs(gestureState.dx)), routes.length - 1));
136
- currentIndexRef.current = nextIndex;
137
- }
138
- if (!isFinite(nextIndex)) {
139
- nextIndex = currentIndex;
140
- }
141
- jumpToIndex(nextIndex, true);
142
- };
143
-
144
- // TODO: use the listeners
145
- const addEnterListener = React.useCallback(listener => {
146
- listenersRef.current.push(listener);
147
- return () => {
148
- const index = listenersRef.current.indexOf(listener);
149
- if (index > -1) {
150
- listenersRef.current.splice(index, 1);
151
- }
152
- };
153
- }, []);
154
- const jumpTo = React.useCallback(key => {
155
- const index = navigationStateRef.current.routes.findIndex(route => route.key === key);
156
- jumpToIndex(index);
157
- }, [jumpToIndex]);
158
- const panResponder = _reactNative.PanResponder.create({
159
- onMoveShouldSetPanResponder: canMoveScreen,
160
- onMoveShouldSetPanResponderCapture: canMoveScreen,
161
- onPanResponderGrant: startGesture,
162
- onPanResponderMove: respondToGesture,
163
- onPanResponderTerminate: finishGesture,
164
- onPanResponderRelease: finishGesture,
165
- onPanResponderTerminationRequest: () => true
166
- });
167
- const maxTranslate = layout.width * (routes.length - 1);
168
- const translateX = _reactNative.Animated.multiply(panX.interpolate({
169
- inputRange: [-maxTranslate, 0],
170
- outputRange: [-maxTranslate, 0],
171
- extrapolate: 'clamp'
172
- }), _reactNative.I18nManager.isRTL ? -1 : 1);
173
- const position = React.useMemo(() => layout.width ? _reactNative.Animated.divide(panX, -layout.width) : null, [layout.width, panX]);
174
- return children({
175
- position: position ?? new _reactNative.Animated.Value(index),
176
- addEnterListener,
177
- jumpTo,
178
- render: children => /*#__PURE__*/React.createElement(_reactNative.Animated.View, _extends({
179
- style: [styles.sheet, layout.width ? {
180
- width: routes.length * layout.width,
181
- transform: [{
182
- translateX
183
- }]
184
- } : null, style]
185
- }, panResponder.panHandlers), React.Children.map(children, (child, i) => {
186
- const route = routes[i];
187
- const focused = i === index;
188
- return /*#__PURE__*/React.createElement(_reactNative.View, {
189
- key: route.key,
190
- style: layout.width ? {
191
- width: layout.width
192
- } : focused ? _reactNative.StyleSheet.absoluteFill : null
193
- }, focused || layout.width ? child : null);
194
- }))
195
- });
196
- }
197
- const styles = _reactNative.StyleSheet.create({
198
- sheet: {
199
- flex: 1,
200
- flexDirection: 'row',
201
- alignItems: 'stretch'
202
- }
203
- });
204
- //# sourceMappingURL=PanResponderAdapter.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["React","_interopRequireWildcard","require","_reactNative","_useAnimatedValue","_interopRequireDefault","e","__esModule","default","_getRequireWildcardCache","WeakMap","r","t","has","get","n","__proto__","a","Object","defineProperty","getOwnPropertyDescriptor","u","hasOwnProperty","call","i","set","_extends","assign","bind","arguments","length","apply","DEAD_ZONE","DefaultTransitionSpec","timing","Animated","spring","stiffness","damping","mass","overshootClamping","PanResponderAdapter","layout","keyboardDismissMode","swipeEnabled","navigationState","onIndexChange","onSwipeStart","onSwipeEnd","children","style","animationEnabled","routes","index","panX","useAnimatedValue","listenersRef","useRef","navigationStateRef","layoutRef","onIndexChangeRef","currentIndexRef","pendingIndexRef","swipeVelocityThreshold","swipeDistanceThreshold","width","jumpToIndex","useCallback","animate","offset","current","transitionConfig","parallel","toValue","useNativeDriver","start","finished","undefined","setValue","useEffect","Keyboard","dismiss","isMovingHorizontally","_","gestureState","Math","abs","dx","dy","vx","vy","canMoveScreen","event","diffX","I18nManager","isRTL","startGesture","stopAnimation","setOffset","_value","respondToGesture","position","_offset","next","ceil","floor","forEach","listener","finishGesture","flattenOffset","currentIndex","nextIndex","round","min","max","isFinite","addEnterListener","push","indexOf","splice","jumpTo","key","findIndex","route","panResponder","PanResponder","create","onMoveShouldSetPanResponder","onMoveShouldSetPanResponderCapture","onPanResponderGrant","onPanResponderMove","onPanResponderTerminate","onPanResponderRelease","onPanResponderTerminationRequest","maxTranslate","translateX","multiply","interpolate","inputRange","outputRange","extrapolate","useMemo","divide","Value","render","createElement","View","styles","sheet","transform","panHandlers","Children","map","child","focused","StyleSheet","absoluteFill","flex","flexDirection","alignItems"],"sourceRoot":"../../src","sources":["PanResponderAdapter.tsx"],"mappings":";;;;;;AAAA,IAAAA,KAAA,GAAAC,uBAAA,CAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AAmBA,IAAAE,iBAAA,GAAAC,sBAAA,CAAAH,OAAA;AAAkD,SAAAG,uBAAAC,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAAA,SAAAG,yBAAAH,CAAA,6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