@react-native-ohos/flash-list 1.6.4-rc.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +7 -0
- package/README.OpenSource +11 -0
- package/README.md +9 -0
- package/dist/AnimatedFlashList.d.ts +6 -0
- package/dist/AnimatedFlashList.d.ts.map +1 -0
- package/dist/AnimatedFlashList.js +8 -0
- package/dist/AnimatedFlashList.js.map +1 -0
- package/dist/FlashList.d.ts +126 -0
- package/dist/FlashList.d.ts.map +1 -0
- package/dist/FlashList.js +524 -0
- package/dist/FlashList.js.map +1 -0
- package/dist/FlashListProps.d.ts +256 -0
- package/dist/FlashListProps.d.ts.map +1 -0
- package/dist/FlashListProps.js +9 -0
- package/dist/FlashListProps.js.map +1 -0
- package/dist/GridLayoutProviderWithProps.d.ts +42 -0
- package/dist/GridLayoutProviderWithProps.d.ts.map +1 -0
- package/dist/GridLayoutProviderWithProps.js +115 -0
- package/dist/GridLayoutProviderWithProps.js.map +1 -0
- package/dist/MasonryFlashList.d.ts +51 -0
- package/dist/MasonryFlashList.d.ts.map +1 -0
- package/dist/MasonryFlashList.js +252 -0
- package/dist/MasonryFlashList.js.map +1 -0
- package/dist/PureComponentWrapper.d.ts +22 -0
- package/dist/PureComponentWrapper.d.ts.map +1 -0
- package/dist/PureComponentWrapper.js +37 -0
- package/dist/PureComponentWrapper.js.map +1 -0
- package/dist/__tests__/AverageWindow.test.d.ts +2 -0
- package/dist/__tests__/AverageWindow.test.d.ts.map +1 -0
- package/dist/__tests__/AverageWindow.test.js +69 -0
- package/dist/__tests__/AverageWindow.test.js.map +1 -0
- package/dist/__tests__/ContentContainerUtils.test.d.ts +2 -0
- package/dist/__tests__/ContentContainerUtils.test.d.ts.map +1 -0
- package/dist/__tests__/ContentContainerUtils.test.js +85 -0
- package/dist/__tests__/ContentContainerUtils.test.js.map +1 -0
- package/dist/__tests__/FlashList.test.d.ts +2 -0
- package/dist/__tests__/FlashList.test.d.ts.map +1 -0
- package/dist/__tests__/FlashList.test.js +792 -0
- package/dist/__tests__/FlashList.test.js.map +1 -0
- package/dist/__tests__/GridLayoutProviderWithProps.test.d.ts +2 -0
- package/dist/__tests__/GridLayoutProviderWithProps.test.d.ts.map +1 -0
- package/dist/__tests__/GridLayoutProviderWithProps.test.js +143 -0
- package/dist/__tests__/GridLayoutProviderWithProps.test.js.map +1 -0
- package/dist/__tests__/MasonryFlashList.test.d.ts +2 -0
- package/dist/__tests__/MasonryFlashList.test.d.ts.map +1 -0
- package/dist/__tests__/MasonryFlashList.test.js +254 -0
- package/dist/__tests__/MasonryFlashList.test.js.map +1 -0
- package/dist/__tests__/PlatformHelper.web.test.d.ts +2 -0
- package/dist/__tests__/PlatformHelper.web.test.d.ts.map +1 -0
- package/dist/__tests__/PlatformHelper.web.test.js +33 -0
- package/dist/__tests__/PlatformHelper.web.test.js.map +1 -0
- package/dist/__tests__/ViewabilityHelper.test.d.ts +2 -0
- package/dist/__tests__/ViewabilityHelper.test.d.ts.map +1 -0
- package/dist/__tests__/ViewabilityHelper.test.js +187 -0
- package/dist/__tests__/ViewabilityHelper.test.js.map +1 -0
- package/dist/__tests__/helpers/mountFlashList.d.ts +19 -0
- package/dist/__tests__/helpers/mountFlashList.d.ts.map +1 -0
- package/dist/__tests__/helpers/mountFlashList.js +44 -0
- package/dist/__tests__/helpers/mountFlashList.js.map +1 -0
- package/dist/__tests__/helpers/mountMasonryFlashList.d.ts +18 -0
- package/dist/__tests__/helpers/mountMasonryFlashList.d.ts.map +1 -0
- package/dist/__tests__/helpers/mountMasonryFlashList.js +49 -0
- package/dist/__tests__/helpers/mountMasonryFlashList.js.map +1 -0
- package/dist/__tests__/useBlankAreaTracker.test.d.ts +2 -0
- package/dist/__tests__/useBlankAreaTracker.test.d.ts.map +1 -0
- package/dist/__tests__/useBlankAreaTracker.test.js +177 -0
- package/dist/__tests__/useBlankAreaTracker.test.js.map +1 -0
- package/dist/benchmark/AutoScrollHelper.d.ts +18 -0
- package/dist/benchmark/AutoScrollHelper.d.ts.map +1 -0
- package/dist/benchmark/AutoScrollHelper.js +68 -0
- package/dist/benchmark/AutoScrollHelper.js.map +1 -0
- package/dist/benchmark/JSFPSMonitor.d.ts +23 -0
- package/dist/benchmark/JSFPSMonitor.d.ts.map +1 -0
- package/dist/benchmark/JSFPSMonitor.js +65 -0
- package/dist/benchmark/JSFPSMonitor.js.map +1 -0
- package/dist/benchmark/roundToDecimalPlaces.d.ts +2 -0
- package/dist/benchmark/roundToDecimalPlaces.d.ts.map +1 -0
- package/dist/benchmark/roundToDecimalPlaces.js +9 -0
- package/dist/benchmark/roundToDecimalPlaces.js.map +1 -0
- package/dist/benchmark/useBenchmark.d.ts +35 -0
- package/dist/benchmark/useBenchmark.d.ts.map +1 -0
- package/dist/benchmark/useBenchmark.js +167 -0
- package/dist/benchmark/useBenchmark.js.map +1 -0
- package/dist/benchmark/useBlankAreaTracker.d.ts +34 -0
- package/dist/benchmark/useBlankAreaTracker.d.ts.map +1 -0
- package/dist/benchmark/useBlankAreaTracker.js +67 -0
- package/dist/benchmark/useBlankAreaTracker.js.map +1 -0
- package/dist/benchmark/useDataMultiplier.d.ts +9 -0
- package/dist/benchmark/useDataMultiplier.d.ts.map +1 -0
- package/dist/benchmark/useDataMultiplier.js +25 -0
- package/dist/benchmark/useDataMultiplier.js.map +1 -0
- package/dist/benchmark/useFlatListBenchmark.d.ts +13 -0
- package/dist/benchmark/useFlatListBenchmark.d.ts.map +1 -0
- package/dist/benchmark/useFlatListBenchmark.js +100 -0
- package/dist/benchmark/useFlatListBenchmark.js.map +1 -0
- package/dist/errors/CustomError.d.ts +8 -0
- package/dist/errors/CustomError.d.ts.map +1 -0
- package/dist/errors/CustomError.js +14 -0
- package/dist/errors/CustomError.js.map +1 -0
- package/dist/errors/ExceptionList.d.ts +24 -0
- package/dist/errors/ExceptionList.d.ts.map +1 -0
- package/dist/errors/ExceptionList.js +26 -0
- package/dist/errors/ExceptionList.js.map +1 -0
- package/dist/errors/Warnings.d.ts +9 -0
- package/dist/errors/Warnings.d.ts.map +1 -0
- package/dist/errors/Warnings.js +13 -0
- package/dist/errors/Warnings.js.map +1 -0
- package/dist/fabric/AutoLayoutNativeComponent.d.ts +19 -0
- package/dist/fabric/AutoLayoutNativeComponent.d.ts.map +1 -0
- package/dist/fabric/AutoLayoutNativeComponent.js +29 -0
- package/dist/fabric/AutoLayoutNativeComponent.js.map +1 -0
- package/dist/fabric/CellContainerNativeComponent.d.ts +8 -0
- package/dist/fabric/CellContainerNativeComponent.d.ts.map +1 -0
- package/dist/fabric/CellContainerNativeComponent.js +29 -0
- package/dist/fabric/CellContainerNativeComponent.js.map +1 -0
- package/dist/index.d.ts +14 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +32 -0
- package/dist/index.js.map +1 -0
- package/dist/native/auto-layout/AutoLayoutView.d.ts +22 -0
- package/dist/native/auto-layout/AutoLayoutView.d.ts.map +1 -0
- package/dist/native/auto-layout/AutoLayoutView.js +48 -0
- package/dist/native/auto-layout/AutoLayoutView.js.map +1 -0
- package/dist/native/auto-layout/AutoLayoutViewNativeComponent.android.d.ts +4 -0
- package/dist/native/auto-layout/AutoLayoutViewNativeComponent.android.d.ts.map +1 -0
- package/dist/native/auto-layout/AutoLayoutViewNativeComponent.android.js +6 -0
- package/dist/native/auto-layout/AutoLayoutViewNativeComponent.android.js.map +1 -0
- package/dist/native/auto-layout/AutoLayoutViewNativeComponent.d.ts +5 -0
- package/dist/native/auto-layout/AutoLayoutViewNativeComponent.d.ts.map +1 -0
- package/dist/native/auto-layout/AutoLayoutViewNativeComponent.harmony.d.ts +4 -0
- package/dist/native/auto-layout/AutoLayoutViewNativeComponent.harmony.d.ts.map +1 -0
- package/dist/native/auto-layout/AutoLayoutViewNativeComponent.harmony.js +29 -0
- package/dist/native/auto-layout/AutoLayoutViewNativeComponent.harmony.js.map +1 -0
- package/dist/native/auto-layout/AutoLayoutViewNativeComponent.ios.d.ts +4 -0
- package/dist/native/auto-layout/AutoLayoutViewNativeComponent.ios.d.ts.map +1 -0
- package/dist/native/auto-layout/AutoLayoutViewNativeComponent.ios.js +6 -0
- package/dist/native/auto-layout/AutoLayoutViewNativeComponent.ios.js.map +1 -0
- package/dist/native/auto-layout/AutoLayoutViewNativeComponent.js +6 -0
- package/dist/native/auto-layout/AutoLayoutViewNativeComponent.js.map +1 -0
- package/dist/native/auto-layout/AutoLayoutViewNativeComponentProps.d.ts +16 -0
- package/dist/native/auto-layout/AutoLayoutViewNativeComponentProps.d.ts.map +1 -0
- package/dist/native/auto-layout/AutoLayoutViewNativeComponentProps.js +3 -0
- package/dist/native/auto-layout/AutoLayoutViewNativeComponentProps.js.map +1 -0
- package/dist/native/cell-container/CellContainer.android.d.ts +6 -0
- package/dist/native/cell-container/CellContainer.android.d.ts.map +1 -0
- package/dist/native/cell-container/CellContainer.android.js +9 -0
- package/dist/native/cell-container/CellContainer.android.js.map +1 -0
- package/dist/native/cell-container/CellContainer.d.ts +8 -0
- package/dist/native/cell-container/CellContainer.d.ts.map +1 -0
- package/dist/native/cell-container/CellContainer.harmony.d.ts +6 -0
- package/dist/native/cell-container/CellContainer.harmony.d.ts.map +1 -0
- package/dist/native/cell-container/CellContainer.harmony.js +32 -0
- package/dist/native/cell-container/CellContainer.harmony.js.map +1 -0
- package/dist/native/cell-container/CellContainer.ios.d.ts +6 -0
- package/dist/native/cell-container/CellContainer.ios.d.ts.map +1 -0
- package/dist/native/cell-container/CellContainer.ios.js +9 -0
- package/dist/native/cell-container/CellContainer.ios.js.map +1 -0
- package/dist/native/cell-container/CellContainer.js +11 -0
- package/dist/native/cell-container/CellContainer.js.map +1 -0
- package/dist/native/cell-container/CellContainer.web.d.ts +7 -0
- package/dist/native/cell-container/CellContainer.web.d.ts.map +1 -0
- package/dist/native/cell-container/CellContainer.web.js +13 -0
- package/dist/native/cell-container/CellContainer.web.js.map +1 -0
- package/dist/native/config/PlatformHelper.android.d.ts +26 -0
- package/dist/native/config/PlatformHelper.android.d.ts.map +1 -0
- package/dist/native/config/PlatformHelper.android.js +23 -0
- package/dist/native/config/PlatformHelper.android.js.map +1 -0
- package/dist/native/config/PlatformHelper.d.ts +26 -0
- package/dist/native/config/PlatformHelper.d.ts.map +1 -0
- package/dist/native/config/PlatformHelper.harmony.d.ts +26 -0
- package/dist/native/config/PlatformHelper.harmony.d.ts.map +1 -0
- package/dist/native/config/PlatformHelper.harmony.js +22 -0
- package/dist/native/config/PlatformHelper.harmony.js.map +1 -0
- package/dist/native/config/PlatformHelper.ios.d.ts +26 -0
- package/dist/native/config/PlatformHelper.ios.d.ts.map +1 -0
- package/dist/native/config/PlatformHelper.ios.js +22 -0
- package/dist/native/config/PlatformHelper.ios.js.map +1 -0
- package/dist/native/config/PlatformHelper.js +23 -0
- package/dist/native/config/PlatformHelper.js.map +1 -0
- package/dist/native/config/PlatformHelper.web.d.ts +27 -0
- package/dist/native/config/PlatformHelper.web.d.ts.map +1 -0
- package/dist/native/config/PlatformHelper.web.js +25 -0
- package/dist/native/config/PlatformHelper.web.js.map +1 -0
- package/dist/tsconfig.tsbuildinfo +1 -0
- package/dist/utils/AverageWindow.d.ts +21 -0
- package/dist/utils/AverageWindow.d.ts.map +1 -0
- package/dist/utils/AverageWindow.js +49 -0
- package/dist/utils/AverageWindow.js.map +1 -0
- package/dist/utils/ContentContainerUtils.d.ts +27 -0
- package/dist/utils/ContentContainerUtils.d.ts.map +1 -0
- package/dist/utils/ContentContainerUtils.js +48 -0
- package/dist/utils/ContentContainerUtils.js.map +1 -0
- package/dist/viewability/ViewToken.d.ts +8 -0
- package/dist/viewability/ViewToken.d.ts.map +1 -0
- package/dist/viewability/ViewToken.js +3 -0
- package/dist/viewability/ViewToken.js.map +1 -0
- package/dist/viewability/ViewabilityHelper.d.ts +25 -0
- package/dist/viewability/ViewabilityHelper.d.ts.map +1 -0
- package/dist/viewability/ViewabilityHelper.js +104 -0
- package/dist/viewability/ViewabilityHelper.js.map +1 -0
- package/dist/viewability/ViewabilityManager.d.ts +24 -0
- package/dist/viewability/ViewabilityManager.d.ts.map +1 -0
- package/dist/viewability/ViewabilityManager.js +94 -0
- package/dist/viewability/ViewabilityManager.js.map +1 -0
- package/harmony/flash_list/BuildProfile.ets +5 -0
- package/harmony/flash_list/LICENSE +7 -0
- package/harmony/flash_list/build-profile.json5 +8 -0
- package/harmony/flash_list/hvigorfile.ts +1 -0
- package/harmony/flash_list/index.ets +29 -0
- package/harmony/flash_list/obfuscation-rules.txt +18 -0
- package/harmony/flash_list/oh-package-lock.json5 +17 -0
- package/harmony/flash_list/oh-package.json5 +13 -0
- package/harmony/flash_list/src/main/cpp/AutoLayoutNode.cpp +63 -0
- package/harmony/flash_list/src/main/cpp/AutoLayoutNode.h +57 -0
- package/harmony/flash_list/src/main/cpp/AutoLayoutShadow.cpp +140 -0
- package/harmony/flash_list/src/main/cpp/AutoLayoutShadow.h +66 -0
- package/harmony/flash_list/src/main/cpp/AutoLayoutViewComponentInstance.cpp +208 -0
- package/harmony/flash_list/src/main/cpp/AutoLayoutViewComponentInstance.h +78 -0
- package/harmony/flash_list/src/main/cpp/AutoLayoutViewEventEmitRequestHandler.h +53 -0
- package/harmony/flash_list/src/main/cpp/AutoLayoutViewJSIBinder.h +50 -0
- package/harmony/flash_list/src/main/cpp/CMakeLists.txt +7 -0
- package/harmony/flash_list/src/main/cpp/CellContainerComponentInstance.cpp +80 -0
- package/harmony/flash_list/src/main/cpp/CellContainerComponentInstance.h +67 -0
- package/harmony/flash_list/src/main/cpp/CellContainerJSIBinder.h +39 -0
- package/harmony/flash_list/src/main/cpp/ComponentDescriptors.h +40 -0
- package/harmony/flash_list/src/main/cpp/EventEmitters.cpp +40 -0
- package/harmony/flash_list/src/main/cpp/EventEmitters.h +48 -0
- package/harmony/flash_list/src/main/cpp/FlashListPackage.h +78 -0
- package/harmony/flash_list/src/main/cpp/FlashListStackNode.cpp +89 -0
- package/harmony/flash_list/src/main/cpp/FlashListStackNode.h +59 -0
- package/harmony/flash_list/src/main/cpp/Props.cpp +52 -0
- package/harmony/flash_list/src/main/cpp/Props.h +64 -0
- package/harmony/flash_list/src/main/cpp/ShadowNodes.cpp +34 -0
- package/harmony/flash_list/src/main/cpp/ShadowNodes.h +48 -0
- package/harmony/flash_list/src/main/ets/Logger.ets +64 -0
- package/harmony/flash_list/src/main/ets/RNAutoLayoutShadow.ets +154 -0
- package/harmony/flash_list/src/main/ets/RNAutoLayoutView.ets +252 -0
- package/harmony/flash_list/src/main/ets/RNCellContainer.ets +113 -0
- package/harmony/flash_list/src/main/module.json5 +7 -0
- package/harmony/flash_list/src/main/resources/base/element/color.json +8 -0
- package/harmony/flash_list/src/main/resources/base/element/string.json +16 -0
- package/harmony/flash_list/src/main/resources/base/media/icon.png +0 -0
- package/harmony/flash_list/src/main/resources/base/profile/main_pages.json +5 -0
- package/harmony/flash_list/src/main/resources/en_US/element/string.json +16 -0
- package/harmony/flash_list/src/main/resources/zh_CN/element/string.json +16 -0
- package/harmony/flash_list.har +0 -0
- package/jestSetup.js +16 -0
- package/package.json +88 -0
- package/src/AnimatedFlashList.ts +11 -0
- package/src/FlashList.tsx +870 -0
- package/src/FlashListProps.ts +335 -0
- package/src/GridLayoutProviderWithProps.ts +180 -0
- package/src/MasonryFlashList.tsx +476 -0
- package/src/PureComponentWrapper.tsx +42 -0
- package/src/__tests__/AverageWindow.test.ts +80 -0
- package/src/__tests__/ContentContainerUtils.test.ts +130 -0
- package/src/__tests__/FlashList.test.tsx +886 -0
- package/src/__tests__/GridLayoutProviderWithProps.test.ts +179 -0
- package/src/__tests__/MasonryFlashList.test.ts +292 -0
- package/src/__tests__/PlatformHelper.web.test.ts +45 -0
- package/src/__tests__/ViewabilityHelper.test.ts +283 -0
- package/src/__tests__/helpers/mountFlashList.tsx +62 -0
- package/src/__tests__/helpers/mountMasonryFlashList.tsx +70 -0
- package/src/__tests__/useBlankAreaTracker.test.tsx +204 -0
- package/src/benchmark/AutoScrollHelper.ts +70 -0
- package/src/benchmark/JSFPSMonitor.ts +74 -0
- package/src/benchmark/roundToDecimalPlaces.ts +4 -0
- package/src/benchmark/useBenchmark.ts +240 -0
- package/src/benchmark/useBlankAreaTracker.ts +117 -0
- package/src/benchmark/useDataMultiplier.ts +19 -0
- package/src/benchmark/useFlatListBenchmark.ts +107 -0
- package/src/errors/CustomError.ts +10 -0
- package/src/errors/ExceptionList.ts +28 -0
- package/src/errors/Warnings.ts +15 -0
- package/src/fabric/AutoLayoutNativeComponent.ts +51 -0
- package/src/fabric/CellContainerNativeComponent.ts +34 -0
- package/src/index.ts +43 -0
- package/src/native/auto-layout/AutoLayoutView.tsx +73 -0
- package/src/native/auto-layout/AutoLayoutViewNativeComponent.android.ts +7 -0
- package/src/native/auto-layout/AutoLayoutViewNativeComponent.harmony.ts +30 -0
- package/src/native/auto-layout/AutoLayoutViewNativeComponent.ios.ts +7 -0
- package/src/native/auto-layout/AutoLayoutViewNativeComponent.ts +7 -0
- package/src/native/auto-layout/AutoLayoutViewNativeComponentProps.ts +17 -0
- package/src/native/cell-container/CellContainer.android.ts +7 -0
- package/src/native/cell-container/CellContainer.harmony.ts +30 -0
- package/src/native/cell-container/CellContainer.ios.ts +6 -0
- package/src/native/cell-container/CellContainer.tsx +14 -0
- package/src/native/cell-container/CellContainer.web.tsx +9 -0
- package/src/native/config/PlatformHelper.android.ts +29 -0
- package/src/native/config/PlatformHelper.harmony.ts +51 -0
- package/src/native/config/PlatformHelper.ios.ts +28 -0
- package/src/native/config/PlatformHelper.ts +29 -0
- package/src/native/config/PlatformHelper.web.ts +34 -0
- package/src/utils/AverageWindow.ts +49 -0
- package/src/utils/ContentContainerUtils.ts +92 -0
- package/src/viewability/ViewToken.ts +7 -0
- package/src/viewability/ViewabilityHelper.ts +162 -0
- package/src/viewability/ViewabilityManager.ts +134 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AutoLayoutViewNativeComponentProps.js","sourceRoot":"","sources":["../../../src/native/auto-layout/AutoLayoutViewNativeComponentProps.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CellContainer.android.d.ts","sourceRoot":"","sources":["../../../src/native/cell-container/CellContainer.android.ts"],"names":[],"mappings":"AAEA;;GAEG;AACH,QAAA,MAAM,aAAa,+CAA0C,CAAC;AAC9D,eAAe,aAAa,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
var react_native_1 = require("react-native");
|
|
4
|
+
/**
|
|
5
|
+
* Behaves as a regular `View` with an extra `index` prop that is saved in the native layer.
|
|
6
|
+
*/
|
|
7
|
+
var CellContainer = (0, react_native_1.requireNativeComponent)("CellContainer");
|
|
8
|
+
exports.default = CellContainer;
|
|
9
|
+
//# sourceMappingURL=CellContainer.android.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CellContainer.android.js","sourceRoot":"","sources":["../../../src/native/cell-container/CellContainer.android.ts"],"names":[],"mappings":";;AAAA,6CAAsD;AAEtD;;GAEG;AACH,IAAM,aAAa,GAAG,IAAA,qCAAsB,EAAC,eAAe,CAAC,CAAC;AAC9D,kBAAe,aAAa,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { ViewProps } from "react-native";
|
|
3
|
+
export interface CellContainerProps extends ViewProps {
|
|
4
|
+
index: number;
|
|
5
|
+
}
|
|
6
|
+
declare const CellContainer: React.ForwardRefExoticComponent<CellContainerProps & React.RefAttributes<unknown>>;
|
|
7
|
+
export default CellContainer;
|
|
8
|
+
//# sourceMappingURL=CellContainer.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CellContainer.d.ts","sourceRoot":"","sources":["../../../src/native/cell-container/CellContainer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAQ,SAAS,EAAE,MAAM,cAAc,CAAC;AAE/C,MAAM,WAAW,kBAAmB,SAAQ,SAAS;IACnD,KAAK,EAAE,MAAM,CAAC;CACf;AAED,QAAA,MAAM,aAAa,oFAIlB,CAAC;AAEF,eAAe,aAAa,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CellContainer.harmony.d.ts","sourceRoot":"","sources":["../../../src/native/cell-container/CellContainer.harmony.ts"],"names":[],"mappings":"AAyBA;;GAEG;AACH,QAAA,MAAM,aAAa,+CAA0C,CAAC;AAC9D,eAAe,aAAa,CAAC"}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
/*
|
|
4
|
+
* MIT License
|
|
5
|
+
*
|
|
6
|
+
* Copyright (C) 2023 Huawei Device Co., Ltd.
|
|
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.
|
|
25
|
+
*/
|
|
26
|
+
var react_native_1 = require("react-native");
|
|
27
|
+
/**
|
|
28
|
+
* Behaves as a regular `View` with an extra `index` prop that is saved in the native layer.
|
|
29
|
+
*/
|
|
30
|
+
var CellContainer = (0, react_native_1.requireNativeComponent)("CellContainer");
|
|
31
|
+
exports.default = CellContainer;
|
|
32
|
+
//# sourceMappingURL=CellContainer.harmony.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CellContainer.harmony.js","sourceRoot":"","sources":["../../../src/native/cell-container/CellContainer.harmony.ts"],"names":[],"mappings":";;AAAA;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,6CAAsD;AAEtD;;GAEG;AACH,IAAM,aAAa,GAAG,IAAA,qCAAsB,EAAC,eAAe,CAAC,CAAC;AAC9D,kBAAe,aAAa,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CellContainer.ios.d.ts","sourceRoot":"","sources":["../../../src/native/cell-container/CellContainer.ios.ts"],"names":[],"mappings":"AAAA,OAAO,aAAa,MAAM,2CAA2C,CAAC;AAEtE;;GAEG;AACH,eAAe,aAAa,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
var tslib_1 = require("tslib");
|
|
4
|
+
var CellContainerNativeComponent_1 = tslib_1.__importDefault(require("../../fabric/CellContainerNativeComponent"));
|
|
5
|
+
/**
|
|
6
|
+
* Behaves as a regular `View` with an extra `index` prop that is saved in the native layer.
|
|
7
|
+
*/
|
|
8
|
+
exports.default = CellContainerNativeComponent_1.default;
|
|
9
|
+
//# sourceMappingURL=CellContainer.ios.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CellContainer.ios.js","sourceRoot":"","sources":["../../../src/native/cell-container/CellContainer.ios.ts"],"names":[],"mappings":";;;AAAA,mHAAsE;AAEtE;;GAEG;AACH,kBAAe,sCAAa,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
var tslib_1 = require("tslib");
|
|
4
|
+
var react_1 = tslib_1.__importDefault(require("react"));
|
|
5
|
+
var react_native_1 = require("react-native");
|
|
6
|
+
var CellContainer = react_1.default.forwardRef(function (props, ref) {
|
|
7
|
+
return react_1.default.createElement(react_native_1.View, tslib_1.__assign({ ref: ref }, props));
|
|
8
|
+
});
|
|
9
|
+
CellContainer.displayName = "CellContainer";
|
|
10
|
+
exports.default = CellContainer;
|
|
11
|
+
//# sourceMappingURL=CellContainer.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CellContainer.js","sourceRoot":"","sources":["../../../src/native/cell-container/CellContainer.tsx"],"names":[],"mappings":";;;AAAA,wDAA0B;AAC1B,6CAA+C;AAM/C,IAAM,aAAa,GAAG,eAAK,CAAC,UAAU,CACpC,UAAC,KAAyB,EAAE,GAAQ;IAClC,OAAO,8BAAC,mBAAI,qBAAC,GAAG,EAAE,GAAG,IAAM,KAAK,EAAI,CAAC;AACvC,CAAC,CACF,CAAC;AACF,aAAa,CAAC,WAAW,GAAG,eAAe,CAAC;AAC5C,kBAAe,aAAa,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
/**
|
|
3
|
+
* On web we use a view instead of cell container till we build native web implementations
|
|
4
|
+
*/
|
|
5
|
+
declare const CellContainer: React.ForwardRefExoticComponent<Omit<any, "ref"> & React.RefAttributes<unknown>>;
|
|
6
|
+
export default CellContainer;
|
|
7
|
+
//# sourceMappingURL=CellContainer.web.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CellContainer.web.d.ts","sourceRoot":"","sources":["../../../src/native/cell-container/CellContainer.web.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B;;GAEG;AACH,QAAA,MAAM,aAAa,kFAEjB,CAAC;AAEH,eAAe,aAAa,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
var tslib_1 = require("tslib");
|
|
4
|
+
var react_1 = tslib_1.__importDefault(require("react"));
|
|
5
|
+
/**
|
|
6
|
+
* On web we use a view instead of cell container till we build native web implementations
|
|
7
|
+
*/
|
|
8
|
+
var CellContainer = react_1.default.forwardRef(function (props, ref) {
|
|
9
|
+
return react_1.default.createElement("div", tslib_1.__assign({ ref: ref }, props));
|
|
10
|
+
});
|
|
11
|
+
CellContainer.displayName = "CellContainer";
|
|
12
|
+
exports.default = CellContainer;
|
|
13
|
+
//# sourceMappingURL=CellContainer.web.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CellContainer.web.js","sourceRoot":"","sources":["../../../src/native/cell-container/CellContainer.web.tsx"],"names":[],"mappings":";;;AAAA,wDAA0B;AAC1B;;GAEG;AACH,IAAM,aAAa,GAAG,eAAK,CAAC,UAAU,CAAC,UAAC,KAAU,EAAE,GAAG;IACrD,OAAO,wDAAK,GAAG,EAAE,GAAG,IAAM,KAAK,EAAI,CAAC;AACtC,CAAC,CAAC,CAAC;AACH,aAAa,CAAC,WAAW,GAAG,eAAe,CAAC;AAC5C,kBAAe,aAAa,CAAC"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { BaseItemAnimator } from "recyclerlistview";
|
|
2
|
+
declare const PlatformConfig: {
|
|
3
|
+
defaultDrawDistance: number;
|
|
4
|
+
invertedTransformStyle: {
|
|
5
|
+
transform: {
|
|
6
|
+
rotate: string;
|
|
7
|
+
}[];
|
|
8
|
+
};
|
|
9
|
+
invertedTransformStyleHorizontal: {
|
|
10
|
+
transform: {
|
|
11
|
+
rotate: string;
|
|
12
|
+
}[];
|
|
13
|
+
};
|
|
14
|
+
};
|
|
15
|
+
declare const getCellContainerPlatformStyles: (inverted: boolean, parentProps: {
|
|
16
|
+
x: number;
|
|
17
|
+
y: number;
|
|
18
|
+
isHorizontal?: boolean;
|
|
19
|
+
}) => {
|
|
20
|
+
transform: string;
|
|
21
|
+
WebkitTransform: string;
|
|
22
|
+
} | undefined;
|
|
23
|
+
declare const getItemAnimator: () => BaseItemAnimator | undefined;
|
|
24
|
+
declare const getFooterContainer: () => React.ComponentClass | undefined;
|
|
25
|
+
export { PlatformConfig, getCellContainerPlatformStyles, getItemAnimator, getFooterContainer, };
|
|
26
|
+
//# sourceMappingURL=PlatformHelper.android.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PlatformHelper.android.d.ts","sourceRoot":"","sources":["../../../src/native/config/PlatformHelper.android.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,kBAAkB,CAAC;AAEpD,QAAA,MAAM,cAAc;;;;;;;;;;;;CAKnB,CAAC;AACF,QAAA,MAAM,8BAA8B,aACxB,OAAO,eACJ;IAAE,CAAC,EAAE,MAAM,CAAC;IAAC,CAAC,EAAE,MAAM,CAAC;IAAC,YAAY,CAAC,EAAE,OAAO,CAAA;CAAE,KAC5D;IAAE,SAAS,EAAE,MAAM,CAAC;IAAC,eAAe,EAAE,MAAM,CAAA;CAAE,GAAG,SAEnD,CAAC;AAEF,QAAA,MAAM,eAAe,QAAO,gBAAgB,GAAG,SAE9C,CAAC;AAEF,QAAA,MAAM,kBAAkB,QAAO,MAAM,cAAc,GAAG,SAErD,CAAC;AAEF,OAAO,EACL,cAAc,EACd,8BAA8B,EAC9B,eAAe,EACf,kBAAkB,GACnB,CAAC"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.getFooterContainer = exports.getItemAnimator = exports.getCellContainerPlatformStyles = exports.PlatformConfig = void 0;
|
|
4
|
+
var PlatformConfig = {
|
|
5
|
+
defaultDrawDistance: 250,
|
|
6
|
+
// Using rotate instead of scaleY on Android to avoid performance issues. Issue: https://github.com/Shopify/flash-list/issues/751
|
|
7
|
+
invertedTransformStyle: { transform: [{ rotate: "180deg" }] },
|
|
8
|
+
invertedTransformStyleHorizontal: { transform: [{ rotate: "180deg" }] },
|
|
9
|
+
};
|
|
10
|
+
exports.PlatformConfig = PlatformConfig;
|
|
11
|
+
var getCellContainerPlatformStyles = function (inverted, parentProps) {
|
|
12
|
+
return undefined;
|
|
13
|
+
};
|
|
14
|
+
exports.getCellContainerPlatformStyles = getCellContainerPlatformStyles;
|
|
15
|
+
var getItemAnimator = function () {
|
|
16
|
+
return undefined;
|
|
17
|
+
};
|
|
18
|
+
exports.getItemAnimator = getItemAnimator;
|
|
19
|
+
var getFooterContainer = function () {
|
|
20
|
+
return undefined;
|
|
21
|
+
};
|
|
22
|
+
exports.getFooterContainer = getFooterContainer;
|
|
23
|
+
//# sourceMappingURL=PlatformHelper.android.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PlatformHelper.android.js","sourceRoot":"","sources":["../../../src/native/config/PlatformHelper.android.ts"],"names":[],"mappings":";;;AAEA,IAAM,cAAc,GAAG;IACrB,mBAAmB,EAAE,GAAG;IACxB,iIAAiI;IACjI,sBAAsB,EAAE,EAAE,SAAS,EAAE,CAAC,EAAE,MAAM,EAAE,QAAQ,EAAE,CAAC,EAAE;IAC7D,gCAAgC,EAAE,EAAE,SAAS,EAAE,CAAC,EAAE,MAAM,EAAE,QAAQ,EAAE,CAAC,EAAE;CACxE,CAAC;AAiBA,wCAAc;AAhBhB,IAAM,8BAA8B,GAAG,UACrC,QAAiB,EACjB,WAA6D;IAE7D,OAAO,SAAS,CAAC;AACnB,CAAC,CAAC;AAYA,wEAA8B;AAVhC,IAAM,eAAe,GAAG;IACtB,OAAO,SAAS,CAAC;AACnB,CAAC,CAAC;AASA,0CAAe;AAPjB,IAAM,kBAAkB,GAAG;IACzB,OAAO,SAAS,CAAC;AACnB,CAAC,CAAC;AAMA,gDAAkB"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { BaseItemAnimator } from "recyclerlistview";
|
|
2
|
+
declare const PlatformConfig: {
|
|
3
|
+
defaultDrawDistance: number;
|
|
4
|
+
invertedTransformStyle: {
|
|
5
|
+
transform: {
|
|
6
|
+
scaleY: number;
|
|
7
|
+
}[];
|
|
8
|
+
};
|
|
9
|
+
invertedTransformStyleHorizontal: {
|
|
10
|
+
transform: {
|
|
11
|
+
scaleX: number;
|
|
12
|
+
}[];
|
|
13
|
+
};
|
|
14
|
+
};
|
|
15
|
+
declare const getCellContainerPlatformStyles: (inverted: boolean, parentProps: {
|
|
16
|
+
x: number;
|
|
17
|
+
y: number;
|
|
18
|
+
isHorizontal?: boolean;
|
|
19
|
+
}) => {
|
|
20
|
+
transform: string;
|
|
21
|
+
WebkitTransform: string;
|
|
22
|
+
} | undefined;
|
|
23
|
+
declare const getItemAnimator: () => BaseItemAnimator | undefined;
|
|
24
|
+
declare const getFooterContainer: () => React.ComponentClass | undefined;
|
|
25
|
+
export { PlatformConfig, getCellContainerPlatformStyles, getItemAnimator, getFooterContainer, };
|
|
26
|
+
//# sourceMappingURL=PlatformHelper.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PlatformHelper.d.ts","sourceRoot":"","sources":["../../../src/native/config/PlatformHelper.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,kBAAkB,CAAC;AAGpD,QAAA,MAAM,cAAc;;;;;;;;;;;;CAInB,CAAC;AACF,QAAA,MAAM,8BAA8B,aACxB,OAAO,eACJ;IAAE,CAAC,EAAE,MAAM,CAAC;IAAC,CAAC,EAAE,MAAM,CAAC;IAAC,YAAY,CAAC,EAAE,OAAO,CAAA;CAAE,KAC5D;IAAE,SAAS,EAAE,MAAM,CAAC;IAAC,eAAe,EAAE,MAAM,CAAA;CAAE,GAAG,SAEnD,CAAC;AAEF,QAAA,MAAM,eAAe,QAAO,gBAAgB,GAAG,SAE9C,CAAC;AAEF,QAAA,MAAM,kBAAkB,QAAO,MAAM,cAAc,GAAG,SAErD,CAAC;AAEF,OAAO,EACL,cAAc,EACd,8BAA8B,EAC9B,eAAe,EACf,kBAAkB,GACnB,CAAC"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { BaseItemAnimator } from "recyclerlistview";
|
|
2
|
+
declare const PlatformConfig: {
|
|
3
|
+
defaultDrawDistance: number;
|
|
4
|
+
invertedTransformStyle: {
|
|
5
|
+
transform: {
|
|
6
|
+
scaleY: number;
|
|
7
|
+
}[];
|
|
8
|
+
};
|
|
9
|
+
invertedTransformStyleHorizontal: {
|
|
10
|
+
transform: {
|
|
11
|
+
scaleX: number;
|
|
12
|
+
}[];
|
|
13
|
+
};
|
|
14
|
+
};
|
|
15
|
+
declare const getCellContainerPlatformStyles: (inverted: boolean, parentProps: {
|
|
16
|
+
x: number;
|
|
17
|
+
y: number;
|
|
18
|
+
isHorizontal?: boolean;
|
|
19
|
+
}) => {
|
|
20
|
+
transform: string;
|
|
21
|
+
WebkitTransform: string;
|
|
22
|
+
} | undefined;
|
|
23
|
+
declare const getItemAnimator: () => BaseItemAnimator | undefined;
|
|
24
|
+
declare const getFooterContainer: () => React.ComponentClass | undefined;
|
|
25
|
+
export { PlatformConfig, getCellContainerPlatformStyles, getItemAnimator, getFooterContainer, };
|
|
26
|
+
//# sourceMappingURL=PlatformHelper.harmony.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PlatformHelper.harmony.d.ts","sourceRoot":"","sources":["../../../src/native/config/PlatformHelper.harmony.ts"],"names":[],"mappings":"AAuBA,OAAO,EAAE,gBAAgB,EAAE,MAAM,kBAAkB,CAAC;AAEpD,QAAA,MAAM,cAAc;;;;;;;;;;;;CAInB,CAAC;AACF,QAAA,MAAM,8BAA8B,aACxB,OAAO,eACJ;IAAE,CAAC,EAAE,MAAM,CAAC;IAAC,CAAC,EAAE,MAAM,CAAC;IAAC,YAAY,CAAC,EAAE,OAAO,CAAA;CAAE,KAC5D;IAAE,SAAS,EAAE,MAAM,CAAC;IAAC,eAAe,EAAE,MAAM,CAAA;CAAE,GAAG,SAEnD,CAAC;AAEF,QAAA,MAAM,eAAe,QAAO,gBAAgB,GAAG,SAE9C,CAAC;AAEF,QAAA,MAAM,kBAAkB,QAAO,MAAM,cAAc,GAAG,SAErD,CAAC;AAEF,OAAO,EACL,cAAc,EACd,8BAA8B,EAC9B,eAAe,EACf,kBAAkB,GACnB,CAAC"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.getFooterContainer = exports.getItemAnimator = exports.getCellContainerPlatformStyles = exports.PlatformConfig = void 0;
|
|
4
|
+
var PlatformConfig = {
|
|
5
|
+
defaultDrawDistance: 250,
|
|
6
|
+
invertedTransformStyle: { transform: [{ scaleY: -1 }] },
|
|
7
|
+
invertedTransformStyleHorizontal: { transform: [{ scaleX: -1 }] },
|
|
8
|
+
};
|
|
9
|
+
exports.PlatformConfig = PlatformConfig;
|
|
10
|
+
var getCellContainerPlatformStyles = function (inverted, parentProps) {
|
|
11
|
+
return undefined;
|
|
12
|
+
};
|
|
13
|
+
exports.getCellContainerPlatformStyles = getCellContainerPlatformStyles;
|
|
14
|
+
var getItemAnimator = function () {
|
|
15
|
+
return undefined;
|
|
16
|
+
};
|
|
17
|
+
exports.getItemAnimator = getItemAnimator;
|
|
18
|
+
var getFooterContainer = function () {
|
|
19
|
+
return undefined;
|
|
20
|
+
};
|
|
21
|
+
exports.getFooterContainer = getFooterContainer;
|
|
22
|
+
//# sourceMappingURL=PlatformHelper.harmony.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PlatformHelper.harmony.js","sourceRoot":"","sources":["../../../src/native/config/PlatformHelper.harmony.ts"],"names":[],"mappings":";;;AAyBA,IAAM,cAAc,GAAG;IACrB,mBAAmB,EAAE,GAAG;IACxB,sBAAsB,EAAE,EAAE,SAAS,EAAE,CAAC,EAAE,MAAM,EAAE,CAAC,CAAC,EAAE,CAAC,EAAE;IACvD,gCAAgC,EAAE,EAAE,SAAS,EAAE,CAAC,EAAE,MAAM,EAAE,CAAC,CAAC,EAAE,CAAC,EAAE;CAClE,CAAC;AAiBA,wCAAc;AAhBhB,IAAM,8BAA8B,GAAG,UACrC,QAAiB,EACjB,WAA6D;IAE7D,OAAO,SAAS,CAAC;AACnB,CAAC,CAAC;AAYA,wEAA8B;AAVhC,IAAM,eAAe,GAAG;IACtB,OAAO,SAAS,CAAC;AACnB,CAAC,CAAC;AASA,0CAAe;AAPjB,IAAM,kBAAkB,GAAG;IACzB,OAAO,SAAS,CAAC;AACnB,CAAC,CAAC;AAMA,gDAAkB"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { BaseItemAnimator } from "recyclerlistview";
|
|
2
|
+
declare const PlatformConfig: {
|
|
3
|
+
defaultDrawDistance: number;
|
|
4
|
+
invertedTransformStyle: {
|
|
5
|
+
transform: {
|
|
6
|
+
scaleY: number;
|
|
7
|
+
}[];
|
|
8
|
+
};
|
|
9
|
+
invertedTransformStyleHorizontal: {
|
|
10
|
+
transform: {
|
|
11
|
+
scaleX: number;
|
|
12
|
+
}[];
|
|
13
|
+
};
|
|
14
|
+
};
|
|
15
|
+
declare const getCellContainerPlatformStyles: (inverted: boolean, parentProps: {
|
|
16
|
+
x: number;
|
|
17
|
+
y: number;
|
|
18
|
+
isHorizontal?: boolean;
|
|
19
|
+
}) => {
|
|
20
|
+
transform: string;
|
|
21
|
+
WebkitTransform: string;
|
|
22
|
+
} | undefined;
|
|
23
|
+
declare const getItemAnimator: () => BaseItemAnimator | undefined;
|
|
24
|
+
declare const getFooterContainer: () => React.ComponentClass | undefined;
|
|
25
|
+
export { PlatformConfig, getCellContainerPlatformStyles, getItemAnimator, getFooterContainer, };
|
|
26
|
+
//# sourceMappingURL=PlatformHelper.ios.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PlatformHelper.ios.d.ts","sourceRoot":"","sources":["../../../src/native/config/PlatformHelper.ios.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,kBAAkB,CAAC;AAEpD,QAAA,MAAM,cAAc;;;;;;;;;;;;CAInB,CAAC;AACF,QAAA,MAAM,8BAA8B,aACxB,OAAO,eACJ;IAAE,CAAC,EAAE,MAAM,CAAC;IAAC,CAAC,EAAE,MAAM,CAAC;IAAC,YAAY,CAAC,EAAE,OAAO,CAAA;CAAE,KAC5D;IAAE,SAAS,EAAE,MAAM,CAAC;IAAC,eAAe,EAAE,MAAM,CAAA;CAAE,GAAG,SAEnD,CAAC;AAEF,QAAA,MAAM,eAAe,QAAO,gBAAgB,GAAG,SAE9C,CAAC;AAEF,QAAA,MAAM,kBAAkB,QAAO,MAAM,cAAc,GAAG,SAErD,CAAC;AAEF,OAAO,EACL,cAAc,EACd,8BAA8B,EAC9B,eAAe,EACf,kBAAkB,GACnB,CAAC"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.getFooterContainer = exports.getItemAnimator = exports.getCellContainerPlatformStyles = exports.PlatformConfig = void 0;
|
|
4
|
+
var PlatformConfig = {
|
|
5
|
+
defaultDrawDistance: 250,
|
|
6
|
+
invertedTransformStyle: { transform: [{ scaleY: -1 }] },
|
|
7
|
+
invertedTransformStyleHorizontal: { transform: [{ scaleX: -1 }] },
|
|
8
|
+
};
|
|
9
|
+
exports.PlatformConfig = PlatformConfig;
|
|
10
|
+
var getCellContainerPlatformStyles = function (inverted, parentProps) {
|
|
11
|
+
return undefined;
|
|
12
|
+
};
|
|
13
|
+
exports.getCellContainerPlatformStyles = getCellContainerPlatformStyles;
|
|
14
|
+
var getItemAnimator = function () {
|
|
15
|
+
return undefined;
|
|
16
|
+
};
|
|
17
|
+
exports.getItemAnimator = getItemAnimator;
|
|
18
|
+
var getFooterContainer = function () {
|
|
19
|
+
return undefined;
|
|
20
|
+
};
|
|
21
|
+
exports.getFooterContainer = getFooterContainer;
|
|
22
|
+
//# sourceMappingURL=PlatformHelper.ios.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PlatformHelper.ios.js","sourceRoot":"","sources":["../../../src/native/config/PlatformHelper.ios.ts"],"names":[],"mappings":";;;AAEA,IAAM,cAAc,GAAG;IACrB,mBAAmB,EAAE,GAAG;IACxB,sBAAsB,EAAE,EAAE,SAAS,EAAE,CAAC,EAAE,MAAM,EAAE,CAAC,CAAC,EAAE,CAAC,EAAE;IACvD,gCAAgC,EAAE,EAAE,SAAS,EAAE,CAAC,EAAE,MAAM,EAAE,CAAC,CAAC,EAAE,CAAC,EAAE;CAClE,CAAC;AAiBA,wCAAc;AAhBhB,IAAM,8BAA8B,GAAG,UACrC,QAAiB,EACjB,WAA6D;IAE7D,OAAO,SAAS,CAAC;AACnB,CAAC,CAAC;AAYA,wEAA8B;AAVhC,IAAM,eAAe,GAAG;IACtB,OAAO,SAAS,CAAC;AACnB,CAAC,CAAC;AASA,0CAAe;AAPjB,IAAM,kBAAkB,GAAG;IACzB,OAAO,SAAS,CAAC;AACnB,CAAC,CAAC;AAMA,gDAAkB"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.getFooterContainer = exports.getItemAnimator = exports.getCellContainerPlatformStyles = exports.PlatformConfig = void 0;
|
|
4
|
+
var DefaultJSItemAnimator_1 = require("recyclerlistview/dist/reactnative/platform/reactnative/itemanimators/defaultjsanimator/DefaultJSItemAnimator");
|
|
5
|
+
var PlatformConfig = {
|
|
6
|
+
defaultDrawDistance: 250,
|
|
7
|
+
invertedTransformStyle: { transform: [{ scaleY: -1 }] },
|
|
8
|
+
invertedTransformStyleHorizontal: { transform: [{ scaleX: -1 }] },
|
|
9
|
+
};
|
|
10
|
+
exports.PlatformConfig = PlatformConfig;
|
|
11
|
+
var getCellContainerPlatformStyles = function (inverted, parentProps) {
|
|
12
|
+
return undefined;
|
|
13
|
+
};
|
|
14
|
+
exports.getCellContainerPlatformStyles = getCellContainerPlatformStyles;
|
|
15
|
+
var getItemAnimator = function () {
|
|
16
|
+
return new DefaultJSItemAnimator_1.DefaultJSItemAnimator();
|
|
17
|
+
};
|
|
18
|
+
exports.getItemAnimator = getItemAnimator;
|
|
19
|
+
var getFooterContainer = function () {
|
|
20
|
+
return undefined;
|
|
21
|
+
};
|
|
22
|
+
exports.getFooterContainer = getFooterContainer;
|
|
23
|
+
//# sourceMappingURL=PlatformHelper.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PlatformHelper.js","sourceRoot":"","sources":["../../../src/native/config/PlatformHelper.ts"],"names":[],"mappings":";;;AACA,sJAAqJ;AAErJ,IAAM,cAAc,GAAG;IACrB,mBAAmB,EAAE,GAAG;IACxB,sBAAsB,EAAE,EAAE,SAAS,EAAE,CAAC,EAAE,MAAM,EAAE,CAAC,CAAC,EAAE,CAAC,EAAE;IACvD,gCAAgC,EAAE,EAAE,SAAS,EAAE,CAAC,EAAE,MAAM,EAAE,CAAC,CAAC,EAAE,CAAC,EAAE;CAClE,CAAC;AAiBA,wCAAc;AAhBhB,IAAM,8BAA8B,GAAG,UACrC,QAAiB,EACjB,WAA6D;IAE7D,OAAO,SAAS,CAAC;AACnB,CAAC,CAAC;AAYA,wEAA8B;AAVhC,IAAM,eAAe,GAAG;IACtB,OAAO,IAAI,6CAAqB,EAAE,CAAC;AACrC,CAAC,CAAC;AASA,0CAAe;AAPjB,IAAM,kBAAkB,GAAG;IACzB,OAAO,SAAS,CAAC;AACnB,CAAC,CAAC;AAMA,gDAAkB"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { BaseItemAnimator } from "recyclerlistview";
|
|
3
|
+
declare const PlatformConfig: {
|
|
4
|
+
defaultDrawDistance: number;
|
|
5
|
+
invertedTransformStyle: {
|
|
6
|
+
transform: {
|
|
7
|
+
scaleY: number;
|
|
8
|
+
}[];
|
|
9
|
+
};
|
|
10
|
+
invertedTransformStyleHorizontal: {
|
|
11
|
+
transform: {
|
|
12
|
+
scaleX: number;
|
|
13
|
+
}[];
|
|
14
|
+
};
|
|
15
|
+
};
|
|
16
|
+
declare const getCellContainerPlatformStyles: (inverted: boolean, parentProps: {
|
|
17
|
+
x: number;
|
|
18
|
+
y: number;
|
|
19
|
+
isHorizontal?: boolean;
|
|
20
|
+
}) => {
|
|
21
|
+
transform: string;
|
|
22
|
+
WebkitTransform: string;
|
|
23
|
+
} | undefined;
|
|
24
|
+
declare const getItemAnimator: () => BaseItemAnimator | undefined;
|
|
25
|
+
declare const getFooterContainer: () => React.ComponentClass | undefined;
|
|
26
|
+
export { PlatformConfig, getCellContainerPlatformStyles, getItemAnimator, getFooterContainer, };
|
|
27
|
+
//# sourceMappingURL=PlatformHelper.web.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PlatformHelper.web.d.ts","sourceRoot":"","sources":["../../../src/native/config/PlatformHelper.web.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,gBAAgB,EAAE,MAAM,kBAAkB,CAAC;AAGpD,QAAA,MAAM,cAAc;;;;;;;;;;;;CAInB,CAAC;AACF,QAAA,MAAM,8BAA8B,aACxB,OAAO,eACJ;IAAE,CAAC,EAAE,MAAM,CAAC;IAAC,CAAC,EAAE,MAAM,CAAC;IAAC,YAAY,CAAC,EAAE,OAAO,CAAA;CAAE,KAC5D;IAAE,SAAS,EAAE,MAAM,CAAC;IAAC,eAAe,EAAE,MAAM,CAAA;CAAE,GAAG,SAKnD,CAAC;AAEF,QAAA,MAAM,eAAe,QAAO,gBAAgB,GAAG,SAE9C,CAAC;AAEF,QAAA,MAAM,kBAAkB,QAAO,MAAM,cAAc,GAAG,SAErD,CAAC;AAEF,OAAO,EACL,cAAc,EACd,8BAA8B,EAC9B,eAAe,EACf,kBAAkB,GACnB,CAAC"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.getFooterContainer = exports.getItemAnimator = exports.getCellContainerPlatformStyles = exports.PlatformConfig = void 0;
|
|
4
|
+
var react_native_1 = require("react-native");
|
|
5
|
+
var DefaultJSItemAnimator_1 = require("recyclerlistview/dist/reactnative/platform/reactnative/itemanimators/defaultjsanimator/DefaultJSItemAnimator");
|
|
6
|
+
var PlatformConfig = {
|
|
7
|
+
defaultDrawDistance: 2000,
|
|
8
|
+
invertedTransformStyle: { transform: [{ scaleY: -1 }] },
|
|
9
|
+
invertedTransformStyleHorizontal: { transform: [{ scaleX: -1 }] },
|
|
10
|
+
};
|
|
11
|
+
exports.PlatformConfig = PlatformConfig;
|
|
12
|
+
var getCellContainerPlatformStyles = function (inverted, parentProps) {
|
|
13
|
+
var transformValue = "translate(".concat(parentProps.x, "px,").concat(parentProps.y, "px)").concat(inverted ? " ".concat(parentProps.isHorizontal ? "scaleX" : "scaleY", "(-1)") : "");
|
|
14
|
+
return { transform: transformValue, WebkitTransform: transformValue };
|
|
15
|
+
};
|
|
16
|
+
exports.getCellContainerPlatformStyles = getCellContainerPlatformStyles;
|
|
17
|
+
var getItemAnimator = function () {
|
|
18
|
+
return new DefaultJSItemAnimator_1.DefaultJSItemAnimator();
|
|
19
|
+
};
|
|
20
|
+
exports.getItemAnimator = getItemAnimator;
|
|
21
|
+
var getFooterContainer = function () {
|
|
22
|
+
return react_native_1.View;
|
|
23
|
+
};
|
|
24
|
+
exports.getFooterContainer = getFooterContainer;
|
|
25
|
+
//# sourceMappingURL=PlatformHelper.web.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PlatformHelper.web.js","sourceRoot":"","sources":["../../../src/native/config/PlatformHelper.web.ts"],"names":[],"mappings":";;;AACA,6CAAoC;AAEpC,sJAAqJ;AAErJ,IAAM,cAAc,GAAG;IACrB,mBAAmB,EAAE,IAAI;IACzB,sBAAsB,EAAE,EAAE,SAAS,EAAE,CAAC,EAAE,MAAM,EAAE,CAAC,CAAC,EAAE,CAAC,EAAE;IACvD,gCAAgC,EAAE,EAAE,SAAS,EAAE,CAAC,EAAE,MAAM,EAAE,CAAC,CAAC,EAAE,CAAC,EAAE;CAClE,CAAC;AAoBA,wCAAc;AAnBhB,IAAM,8BAA8B,GAAG,UACrC,QAAiB,EACjB,WAA6D;IAE7D,IAAM,cAAc,GAAG,oBAAa,WAAW,CAAC,CAAC,gBAAM,WAAW,CAAC,CAAC,gBAClE,QAAQ,CAAC,CAAC,CAAC,WAAI,WAAW,CAAC,YAAY,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,QAAQ,SAAM,CAAC,CAAC,CAAC,EAAE,CACxE,CAAC;IACH,OAAO,EAAE,SAAS,EAAE,cAAc,EAAE,eAAe,EAAE,cAAc,EAAE,CAAC;AACxE,CAAC,CAAC;AAYA,wEAA8B;AAVhC,IAAM,eAAe,GAAG;IACtB,OAAO,IAAI,6CAAqB,EAAE,CAAC;AACrC,CAAC,CAAC;AASA,0CAAe;AAPjB,IAAM,kBAAkB,GAAG;IACzB,OAAO,mBAAI,CAAC;AACd,CAAC,CAAC;AAMA,gDAAkB"}
|