@hanzogui/sheet 7.0.0 → 7.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +40 -19
- package/dist/cjs/GestureDetectorWrapper.cjs +54 -0
- package/dist/cjs/GestureDetectorWrapper.native.js +58 -0
- package/dist/cjs/GestureDetectorWrapper.native.js.map +1 -0
- package/dist/cjs/GestureSheetContext.cjs +54 -0
- package/dist/cjs/GestureSheetContext.native.js +58 -0
- package/dist/cjs/GestureSheetContext.native.js.map +1 -0
- package/dist/cjs/Sheet.cjs +119 -0
- package/dist/cjs/Sheet.native.js +122 -0
- package/dist/cjs/Sheet.native.js.map +1 -0
- package/dist/cjs/SheetContext.cjs +34 -0
- package/dist/cjs/SheetContext.native.js +37 -0
- package/dist/cjs/SheetContext.native.js.map +1 -0
- package/dist/cjs/SheetController.cjs +73 -0
- package/dist/cjs/SheetController.native.js +79 -0
- package/dist/cjs/SheetController.native.js.map +1 -0
- package/dist/cjs/SheetImplementationCustom.cjs +589 -0
- package/dist/cjs/SheetImplementationCustom.native.js +615 -0
- package/dist/cjs/SheetImplementationCustom.native.js.map +1 -0
- package/dist/cjs/SheetScrollView.cjs +216 -0
- package/dist/cjs/SheetScrollView.native.js +223 -0
- package/dist/cjs/SheetScrollView.native.js.map +1 -0
- package/dist/cjs/constants.cjs +34 -0
- package/dist/cjs/constants.native.js +37 -0
- package/dist/cjs/constants.native.js.map +1 -0
- package/dist/cjs/contexts.cjs +44 -0
- package/dist/cjs/contexts.native.js +47 -0
- package/dist/cjs/contexts.native.js.map +1 -0
- package/dist/cjs/controller.cjs +31 -0
- package/dist/cjs/controller.native.js +34 -0
- package/dist/cjs/controller.native.js.map +1 -0
- package/dist/cjs/createSheet.cjs +190 -0
- package/dist/cjs/createSheet.native.js +200 -0
- package/dist/cjs/createSheet.native.js.map +1 -0
- package/dist/cjs/gestureState.cjs +41 -0
- package/dist/cjs/gestureState.native.js +44 -0
- package/dist/cjs/gestureState.native.js.map +1 -0
- package/dist/cjs/helpers.cjs +35 -0
- package/dist/cjs/helpers.native.js +39 -0
- package/dist/cjs/helpers.native.js.map +1 -0
- package/dist/cjs/index.cjs +30 -0
- package/dist/cjs/index.native.js +33 -0
- package/dist/cjs/index.native.js.map +1 -0
- package/dist/cjs/nativeSheet.cjs +96 -0
- package/dist/cjs/nativeSheet.native.js +106 -0
- package/dist/cjs/nativeSheet.native.js.map +1 -0
- package/dist/cjs/setupGestureHandler.cjs +52 -0
- package/dist/cjs/setupGestureHandler.native.js +55 -0
- package/dist/cjs/setupGestureHandler.native.js.map +1 -0
- package/dist/cjs/types.cjs +18 -0
- package/dist/cjs/types.native.js +21 -0
- package/dist/cjs/types.native.js.map +1 -0
- package/dist/cjs/useGestureHandlerPan.cjs +206 -0
- package/dist/cjs/useGestureHandlerPan.native.js +213 -0
- package/dist/cjs/useGestureHandlerPan.native.js.map +1 -0
- package/dist/cjs/useKeyboardControllerSheet.cjs +40 -0
- package/dist/cjs/useKeyboardControllerSheet.native.js +132 -0
- package/dist/cjs/useKeyboardControllerSheet.native.js.map +1 -0
- package/dist/cjs/useSheet.cjs +29 -0
- package/dist/cjs/useSheet.native.js +34 -0
- package/dist/cjs/useSheet.native.js.map +1 -0
- package/dist/cjs/useSheetController.cjs +52 -0
- package/dist/cjs/useSheetController.native.js +55 -0
- package/dist/cjs/useSheetController.native.js.map +1 -0
- package/dist/cjs/useSheetOffscreenSize.cjs +63 -0
- package/dist/cjs/useSheetOffscreenSize.native.js +70 -0
- package/dist/cjs/useSheetOffscreenSize.native.js.map +1 -0
- package/dist/cjs/useSheetOpenState.cjs +52 -0
- package/dist/cjs/useSheetOpenState.native.js +58 -0
- package/dist/cjs/useSheetOpenState.native.js.map +1 -0
- package/dist/cjs/useSheetProviderProps.cjs +181 -0
- package/dist/cjs/useSheetProviderProps.native.js +196 -0
- package/dist/cjs/useSheetProviderProps.native.js.map +1 -0
- package/dist/cjs/useSheetScrollViewGestures.cjs +166 -0
- package/dist/cjs/useSheetScrollViewGestures.native.js +159 -0
- package/dist/cjs/useSheetScrollViewGestures.native.js.map +1 -0
- package/dist/esm/GestureDetectorWrapper.mjs +29 -0
- package/dist/esm/GestureDetectorWrapper.mjs.map +1 -0
- package/dist/esm/GestureDetectorWrapper.native.js +30 -0
- package/dist/esm/GestureDetectorWrapper.native.js.map +1 -0
- package/dist/esm/GestureSheetContext.mjs +28 -0
- package/dist/esm/GestureSheetContext.mjs.map +1 -0
- package/dist/esm/GestureSheetContext.native.js +29 -0
- package/dist/esm/GestureSheetContext.native.js.map +1 -0
- package/dist/esm/Sheet.mjs +89 -0
- package/dist/esm/Sheet.mjs.map +1 -0
- package/dist/esm/Sheet.native.js +89 -0
- package/dist/esm/Sheet.native.js.map +1 -0
- package/dist/esm/SheetContext.mjs +6 -0
- package/dist/esm/SheetContext.mjs.map +1 -0
- package/dist/esm/SheetContext.native.js +6 -0
- package/dist/esm/SheetContext.native.js.map +1 -0
- package/dist/esm/SheetController.mjs +37 -0
- package/dist/esm/SheetController.mjs.map +1 -0
- package/dist/esm/SheetController.native.js +40 -0
- package/dist/esm/SheetController.native.js.map +1 -0
- package/dist/esm/SheetImplementationCustom.mjs +552 -0
- package/dist/esm/SheetImplementationCustom.mjs.map +1 -0
- package/dist/esm/SheetImplementationCustom.native.js +572 -0
- package/dist/esm/SheetImplementationCustom.native.js.map +1 -0
- package/dist/esm/SheetScrollView.mjs +180 -0
- package/dist/esm/SheetScrollView.mjs.map +1 -0
- package/dist/esm/SheetScrollView.native.js +184 -0
- package/dist/esm/SheetScrollView.native.js.map +1 -0
- package/dist/esm/constants.mjs +6 -0
- package/dist/esm/constants.mjs.map +1 -0
- package/dist/esm/constants.native.js +6 -0
- package/dist/esm/constants.native.js.map +1 -0
- package/dist/esm/contexts.mjs +7 -0
- package/dist/esm/contexts.mjs.map +1 -0
- package/dist/esm/contexts.native.js +7 -0
- package/dist/esm/contexts.native.js.map +1 -0
- package/dist/esm/controller.mjs +4 -0
- package/dist/esm/controller.mjs.map +1 -0
- package/dist/esm/controller.native.js +4 -0
- package/dist/esm/controller.native.js.map +1 -0
- package/dist/esm/createSheet.mjs +165 -0
- package/dist/esm/createSheet.mjs.map +1 -0
- package/dist/esm/createSheet.native.js +172 -0
- package/dist/esm/createSheet.native.js.map +1 -0
- package/dist/esm/gestureState.mjs +13 -0
- package/dist/esm/gestureState.mjs.map +1 -0
- package/dist/esm/gestureState.native.js +13 -0
- package/dist/esm/gestureState.native.js.map +1 -0
- package/dist/esm/helpers.mjs +10 -0
- package/dist/esm/helpers.mjs.map +1 -0
- package/dist/esm/helpers.native.js +11 -0
- package/dist/esm/helpers.native.js.map +1 -0
- package/dist/esm/index.js +12 -0
- package/dist/esm/index.js.map +1 -0
- package/dist/esm/index.mjs +12 -0
- package/dist/esm/index.mjs.map +1 -0
- package/dist/esm/index.native.js +12 -0
- package/dist/esm/index.native.js.map +1 -0
- package/dist/esm/nativeSheet.mjs +70 -0
- package/dist/esm/nativeSheet.mjs.map +1 -0
- package/dist/esm/nativeSheet.native.js +77 -0
- package/dist/esm/nativeSheet.native.js.map +1 -0
- package/dist/esm/setupGestureHandler.mjs +26 -0
- package/dist/esm/setupGestureHandler.mjs.map +1 -0
- package/dist/esm/setupGestureHandler.native.js +26 -0
- package/dist/esm/setupGestureHandler.native.js.map +1 -0
- package/dist/esm/types.mjs +2 -0
- package/dist/esm/types.mjs.map +1 -0
- package/dist/esm/types.native.js +2 -0
- package/dist/esm/types.native.js.map +1 -0
- package/dist/esm/useGestureHandlerPan.mjs +181 -0
- package/dist/esm/useGestureHandlerPan.mjs.map +1 -0
- package/dist/esm/useGestureHandlerPan.native.js +185 -0
- package/dist/esm/useGestureHandlerPan.native.js.map +1 -0
- package/dist/esm/useKeyboardControllerSheet.mjs +15 -0
- package/dist/esm/useKeyboardControllerSheet.mjs.map +1 -0
- package/dist/esm/useKeyboardControllerSheet.native.js +104 -0
- package/dist/esm/useKeyboardControllerSheet.native.js.map +1 -0
- package/dist/esm/useSheet.mjs +4 -0
- package/dist/esm/useSheet.mjs.map +1 -0
- package/dist/esm/useSheet.native.js +6 -0
- package/dist/esm/useSheet.native.js.map +1 -0
- package/dist/esm/useSheetController.mjs +15 -0
- package/dist/esm/useSheetController.mjs.map +1 -0
- package/dist/esm/useSheetController.native.js +15 -0
- package/dist/esm/useSheetController.native.js.map +1 -0
- package/dist/esm/useSheetOffscreenSize.mjs +38 -0
- package/dist/esm/useSheetOffscreenSize.mjs.map +1 -0
- package/dist/esm/useSheetOffscreenSize.native.js +42 -0
- package/dist/esm/useSheetOffscreenSize.native.js.map +1 -0
- package/dist/esm/useSheetOpenState.mjs +27 -0
- package/dist/esm/useSheetOpenState.mjs.map +1 -0
- package/dist/esm/useSheetOpenState.native.js +30 -0
- package/dist/esm/useSheetOpenState.native.js.map +1 -0
- package/dist/esm/useSheetProviderProps.mjs +145 -0
- package/dist/esm/useSheetProviderProps.mjs.map +1 -0
- package/dist/esm/useSheetProviderProps.native.js +157 -0
- package/dist/esm/useSheetProviderProps.native.js.map +1 -0
- package/dist/esm/useSheetScrollViewGestures.mjs +141 -0
- package/dist/esm/useSheetScrollViewGestures.mjs.map +1 -0
- package/dist/esm/useSheetScrollViewGestures.native.js +131 -0
- package/dist/esm/useSheetScrollViewGestures.native.js.map +1 -0
- package/dist/jsx/GestureDetectorWrapper.mjs +29 -0
- package/dist/jsx/GestureDetectorWrapper.mjs.map +1 -0
- package/dist/jsx/GestureDetectorWrapper.native.js +58 -0
- package/dist/jsx/GestureDetectorWrapper.native.js.map +1 -0
- package/dist/jsx/GestureSheetContext.mjs +28 -0
- package/dist/jsx/GestureSheetContext.mjs.map +1 -0
- package/dist/jsx/GestureSheetContext.native.js +58 -0
- package/dist/jsx/GestureSheetContext.native.js.map +1 -0
- package/dist/jsx/Sheet.mjs +89 -0
- package/dist/jsx/Sheet.mjs.map +1 -0
- package/dist/jsx/Sheet.native.js +122 -0
- package/dist/jsx/Sheet.native.js.map +1 -0
- package/dist/jsx/SheetContext.mjs +6 -0
- package/dist/jsx/SheetContext.mjs.map +1 -0
- package/dist/jsx/SheetContext.native.js +37 -0
- package/dist/jsx/SheetContext.native.js.map +1 -0
- package/dist/jsx/SheetController.mjs +37 -0
- package/dist/jsx/SheetController.mjs.map +1 -0
- package/dist/jsx/SheetController.native.js +79 -0
- package/dist/jsx/SheetController.native.js.map +1 -0
- package/dist/jsx/SheetImplementationCustom.mjs +552 -0
- package/dist/jsx/SheetImplementationCustom.mjs.map +1 -0
- package/dist/jsx/SheetImplementationCustom.native.js +615 -0
- package/dist/jsx/SheetImplementationCustom.native.js.map +1 -0
- package/dist/jsx/SheetScrollView.mjs +180 -0
- package/dist/jsx/SheetScrollView.mjs.map +1 -0
- package/dist/jsx/SheetScrollView.native.js +223 -0
- package/dist/jsx/SheetScrollView.native.js.map +1 -0
- package/dist/jsx/constants.mjs +6 -0
- package/dist/jsx/constants.mjs.map +1 -0
- package/dist/jsx/constants.native.js +37 -0
- package/dist/jsx/constants.native.js.map +1 -0
- package/dist/jsx/contexts.mjs +7 -0
- package/dist/jsx/contexts.mjs.map +1 -0
- package/dist/jsx/contexts.native.js +47 -0
- package/dist/jsx/contexts.native.js.map +1 -0
- package/dist/jsx/controller.mjs +4 -0
- package/dist/jsx/controller.mjs.map +1 -0
- package/dist/jsx/controller.native.js +34 -0
- package/dist/jsx/controller.native.js.map +1 -0
- package/dist/jsx/createSheet.mjs +165 -0
- package/dist/jsx/createSheet.mjs.map +1 -0
- package/dist/jsx/createSheet.native.js +200 -0
- package/dist/jsx/createSheet.native.js.map +1 -0
- package/dist/jsx/gestureState.mjs +13 -0
- package/dist/jsx/gestureState.mjs.map +1 -0
- package/dist/jsx/gestureState.native.js +44 -0
- package/dist/jsx/gestureState.native.js.map +1 -0
- package/dist/jsx/helpers.mjs +10 -0
- package/dist/jsx/helpers.mjs.map +1 -0
- package/dist/jsx/helpers.native.js +39 -0
- package/dist/jsx/helpers.native.js.map +1 -0
- package/dist/jsx/index.js +12 -0
- package/dist/jsx/index.js.map +1 -0
- package/dist/jsx/index.mjs +12 -0
- package/dist/jsx/index.mjs.map +1 -0
- package/dist/jsx/index.native.js +33 -0
- package/dist/jsx/index.native.js.map +1 -0
- package/dist/jsx/nativeSheet.mjs +70 -0
- package/dist/jsx/nativeSheet.mjs.map +1 -0
- package/dist/jsx/nativeSheet.native.js +106 -0
- package/dist/jsx/nativeSheet.native.js.map +1 -0
- package/dist/jsx/setupGestureHandler.mjs +26 -0
- package/dist/jsx/setupGestureHandler.mjs.map +1 -0
- package/dist/jsx/setupGestureHandler.native.js +55 -0
- package/dist/jsx/setupGestureHandler.native.js.map +1 -0
- package/dist/jsx/types.mjs +2 -0
- package/dist/jsx/types.mjs.map +1 -0
- package/dist/jsx/types.native.js +21 -0
- package/dist/jsx/types.native.js.map +1 -0
- package/dist/jsx/useGestureHandlerPan.mjs +181 -0
- package/dist/jsx/useGestureHandlerPan.mjs.map +1 -0
- package/dist/jsx/useGestureHandlerPan.native.js +213 -0
- package/dist/jsx/useGestureHandlerPan.native.js.map +1 -0
- package/dist/jsx/useKeyboardControllerSheet.mjs +15 -0
- package/dist/jsx/useKeyboardControllerSheet.mjs.map +1 -0
- package/dist/jsx/useKeyboardControllerSheet.native.js +132 -0
- package/dist/jsx/useKeyboardControllerSheet.native.js.map +1 -0
- package/dist/jsx/useSheet.mjs +4 -0
- package/dist/jsx/useSheet.mjs.map +1 -0
- package/dist/jsx/useSheet.native.js +34 -0
- package/dist/jsx/useSheet.native.js.map +1 -0
- package/dist/jsx/useSheetController.mjs +15 -0
- package/dist/jsx/useSheetController.mjs.map +1 -0
- package/dist/jsx/useSheetController.native.js +55 -0
- package/dist/jsx/useSheetController.native.js.map +1 -0
- package/dist/jsx/useSheetOffscreenSize.mjs +38 -0
- package/dist/jsx/useSheetOffscreenSize.mjs.map +1 -0
- package/dist/jsx/useSheetOffscreenSize.native.js +70 -0
- package/dist/jsx/useSheetOffscreenSize.native.js.map +1 -0
- package/dist/jsx/useSheetOpenState.mjs +27 -0
- package/dist/jsx/useSheetOpenState.mjs.map +1 -0
- package/dist/jsx/useSheetOpenState.native.js +58 -0
- package/dist/jsx/useSheetOpenState.native.js.map +1 -0
- package/dist/jsx/useSheetProviderProps.mjs +145 -0
- package/dist/jsx/useSheetProviderProps.mjs.map +1 -0
- package/dist/jsx/useSheetProviderProps.native.js +196 -0
- package/dist/jsx/useSheetProviderProps.native.js.map +1 -0
- package/dist/jsx/useSheetScrollViewGestures.mjs +141 -0
- package/dist/jsx/useSheetScrollViewGestures.mjs.map +1 -0
- package/dist/jsx/useSheetScrollViewGestures.native.js +159 -0
- package/dist/jsx/useSheetScrollViewGestures.native.js.map +1 -0
- package/package.json +36 -26
- package/src/Sheet.tsx +3 -3
- package/src/SheetImplementationCustom.tsx +5 -5
- package/src/createSheet.tsx +9 -9
- package/src/setupGestureHandler.ts +2 -2
- package/src/useSheetProviderProps.tsx +4 -4
- package/types/GestureDetectorWrapper.d.ts +1 -1
- package/types/GestureDetectorWrapper.d.ts.map +1 -0
- package/types/GestureSheetContext.d.ts +1 -1
- package/types/GestureSheetContext.d.ts.map +1 -0
- package/types/Sheet.d.ts +15 -15
- package/types/Sheet.d.ts.map +1 -0
- package/types/SheetContext.d.ts +4 -4
- package/types/SheetContext.d.ts.map +1 -0
- package/types/SheetController.d.ts +2 -1
- package/types/SheetController.d.ts.map +1 -0
- package/types/SheetImplementationCustom.d.ts.map +1 -0
- package/types/SheetScrollView.d.ts +1 -1
- package/types/SheetScrollView.d.ts.map +1 -0
- package/types/constants.d.ts.map +1 -0
- package/types/contexts.d.ts.map +1 -0
- package/types/controller.d.ts.map +1 -0
- package/types/createSheet.d.ts +11 -11
- package/types/createSheet.d.ts.map +1 -0
- package/types/gestureState.d.ts.map +1 -0
- package/types/helpers.d.ts.map +1 -0
- package/types/index.d.ts.map +1 -0
- package/types/nativeSheet.d.ts.map +1 -0
- package/types/setupGestureHandler.d.ts.map +1 -0
- package/types/types.d.ts.map +1 -0
- package/types/useGestureHandlerPan.d.ts.map +1 -0
- package/types/useKeyboardControllerSheet.d.ts.map +1 -0
- package/types/useKeyboardControllerSheet.native.d.ts.map +1 -0
- package/types/useSheet.d.ts.map +1 -0
- package/types/useSheetController.d.ts.map +1 -0
- package/types/useSheetOffscreenSize.d.ts.map +1 -0
- package/types/useSheetOpenState.d.ts.map +1 -0
- package/types/useSheetProviderProps.d.ts +3 -3
- package/types/useSheetProviderProps.d.ts.map +1 -0
- package/types/useSheetScrollViewGestures.d.ts.map +1 -0
- package/types/useSheetScrollViewGestures.native.d.ts.map +1 -0
- package/controller/index.cjs +0 -2
- package/controller/index.d.ts +0 -5
- package/controller/index.js +0 -2
- package/controller/index.native.cjs +0 -2
- package/controller/index.native.js +0 -2
- package/next.md +0 -78
- package/setup-gesture-handler/index.cjs +0 -2
- package/setup-gesture-handler/index.js +0 -2
- package/setup-gesture-handler/index.native.cjs +0 -2
- package/setup-gesture-handler/index.native.js +0 -2
- package/tsconfig.json +0 -56
|
@@ -0,0 +1,216 @@
|
|
|
1
|
+
var __create = Object.create;
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __getProtoOf = Object.getPrototypeOf;
|
|
6
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
7
|
+
var __export = (target, all) => {
|
|
8
|
+
for (var name in all) __defProp(target, name, {
|
|
9
|
+
get: all[name],
|
|
10
|
+
enumerable: true
|
|
11
|
+
});
|
|
12
|
+
};
|
|
13
|
+
var __copyProps = (to, from, except, desc) => {
|
|
14
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
15
|
+
for (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
|
|
16
|
+
get: () => from[key],
|
|
17
|
+
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
18
|
+
});
|
|
19
|
+
}
|
|
20
|
+
return to;
|
|
21
|
+
};
|
|
22
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
23
|
+
// If the importer is in node compatibility mode or this is not an ESM
|
|
24
|
+
// file that has been converted to a CommonJS file using a Babel-
|
|
25
|
+
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
26
|
+
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
27
|
+
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", {
|
|
28
|
+
value: mod,
|
|
29
|
+
enumerable: true
|
|
30
|
+
}) : target, mod));
|
|
31
|
+
var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
|
|
32
|
+
value: true
|
|
33
|
+
}), mod);
|
|
34
|
+
var SheetScrollView_exports = {};
|
|
35
|
+
__export(SheetScrollView_exports, {
|
|
36
|
+
SheetScrollView: () => SheetScrollView
|
|
37
|
+
});
|
|
38
|
+
module.exports = __toCommonJS(SheetScrollView_exports);
|
|
39
|
+
var import_compose_refs = require("@hanzogui/compose-refs");
|
|
40
|
+
var import_core = require("@hanzogui/core");
|
|
41
|
+
var import_scroll_view = require("@hanzogui/scroll-view");
|
|
42
|
+
var import_use_controllable_state = require("@hanzogui/use-controllable-state");
|
|
43
|
+
var import_react = __toESM(require("react"), 1);
|
|
44
|
+
var import_GestureSheetContext = require("./GestureSheetContext.cjs");
|
|
45
|
+
var import_gestureState = require("./gestureState.cjs");
|
|
46
|
+
var import_SheetContext = require("./SheetContext.cjs");
|
|
47
|
+
var import_useSheetScrollViewGestures = require("./useSheetScrollViewGestures.cjs");
|
|
48
|
+
var import_jsx_runtime = require("react/jsx-runtime");
|
|
49
|
+
const SHEET_SCROLL_VIEW_NAME = "SheetScrollView";
|
|
50
|
+
const SheetScrollView = import_react.default.forwardRef(({
|
|
51
|
+
__scopeSheet,
|
|
52
|
+
children,
|
|
53
|
+
onScroll,
|
|
54
|
+
scrollEnabled: scrollEnabledProp,
|
|
55
|
+
...props
|
|
56
|
+
}, ref) => {
|
|
57
|
+
const context = (0, import_SheetContext.useSheetContext)(SHEET_SCROLL_VIEW_NAME, __scopeSheet);
|
|
58
|
+
const gestureContext = (0, import_GestureSheetContext.useGestureSheetContext)();
|
|
59
|
+
const {
|
|
60
|
+
scrollBridge,
|
|
61
|
+
setHasScrollView
|
|
62
|
+
} = context;
|
|
63
|
+
const [scrollEnabled] = (0, import_use_controllable_state.useControllableState)({
|
|
64
|
+
prop: scrollEnabledProp,
|
|
65
|
+
defaultProp: true
|
|
66
|
+
});
|
|
67
|
+
const scrollRef = import_react.default.useRef(null);
|
|
68
|
+
const panGestureRef = gestureContext?.panGestureRef;
|
|
69
|
+
const {
|
|
70
|
+
ScrollView: RNGHScrollView
|
|
71
|
+
} = (0, import_gestureState.getGestureHandlerState)();
|
|
72
|
+
const useRNGHScrollView = (0, import_gestureState.isGestureHandlerEnabled)() && RNGHScrollView && panGestureRef;
|
|
73
|
+
const currentScrollOffset = (0, import_react.useRef)(0);
|
|
74
|
+
const lockedScrollY = (0, import_react.useRef)(0);
|
|
75
|
+
const setScrollEnabled = (next, lockTo) => {
|
|
76
|
+
if (!next) {
|
|
77
|
+
const lockY = lockTo ?? currentScrollOffset.current;
|
|
78
|
+
lockedScrollY.current = lockY;
|
|
79
|
+
scrollBridge.scrollLockY = lockY;
|
|
80
|
+
scrollRef.current?.scrollTo?.({
|
|
81
|
+
x: 0,
|
|
82
|
+
y: lockY,
|
|
83
|
+
animated: false
|
|
84
|
+
});
|
|
85
|
+
} else {
|
|
86
|
+
lockedScrollY.current = currentScrollOffset.current;
|
|
87
|
+
scrollBridge.scrollLockY = void 0;
|
|
88
|
+
}
|
|
89
|
+
};
|
|
90
|
+
const forceScrollTo = y => {
|
|
91
|
+
scrollRef.current?.scrollTo?.({
|
|
92
|
+
x: 0,
|
|
93
|
+
y,
|
|
94
|
+
animated: false
|
|
95
|
+
});
|
|
96
|
+
};
|
|
97
|
+
(0, import_react.useEffect)(() => {
|
|
98
|
+
setHasScrollView(true);
|
|
99
|
+
if ((0, import_gestureState.isGestureHandlerEnabled)()) {
|
|
100
|
+
scrollBridge.setScrollEnabled = setScrollEnabled;
|
|
101
|
+
scrollBridge.forceScrollTo = forceScrollTo;
|
|
102
|
+
}
|
|
103
|
+
return () => {
|
|
104
|
+
setHasScrollView(false);
|
|
105
|
+
scrollBridge.setScrollEnabled = void 0;
|
|
106
|
+
scrollBridge.forceScrollTo = void 0;
|
|
107
|
+
};
|
|
108
|
+
}, []);
|
|
109
|
+
const [hasScrollableContent, setHasScrollableContent] = (0, import_react.useState)(true);
|
|
110
|
+
const parentHeight = (0, import_react.useRef)(0);
|
|
111
|
+
const contentHeight = (0, import_react.useRef)(0);
|
|
112
|
+
const updateScrollable = () => {
|
|
113
|
+
if (parentHeight.current && contentHeight.current) {
|
|
114
|
+
setHasScrollableContent(contentHeight.current > parentHeight.current);
|
|
115
|
+
}
|
|
116
|
+
};
|
|
117
|
+
(0, import_react.useEffect)(() => {
|
|
118
|
+
scrollBridge.hasScrollableContent = hasScrollableContent;
|
|
119
|
+
}, [hasScrollableContent]);
|
|
120
|
+
const gestureProps = (0, import_useSheetScrollViewGestures.useSheetScrollViewGestures)({
|
|
121
|
+
scrollRef,
|
|
122
|
+
scrollBridge,
|
|
123
|
+
hasScrollableContent,
|
|
124
|
+
scrollEnabled,
|
|
125
|
+
setScrollEnabled
|
|
126
|
+
});
|
|
127
|
+
const contentWrapper = /* @__PURE__ */(0, import_jsx_runtime.jsx)(import_core.View, {
|
|
128
|
+
onLayout: e => {
|
|
129
|
+
const height = Math.floor(e.nativeEvent.layout.height);
|
|
130
|
+
if (height !== contentHeight.current) {
|
|
131
|
+
contentHeight.current = height;
|
|
132
|
+
updateScrollable();
|
|
133
|
+
}
|
|
134
|
+
},
|
|
135
|
+
children
|
|
136
|
+
});
|
|
137
|
+
if (useRNGHScrollView && RNGHScrollView && panGestureRef) {
|
|
138
|
+
const RNGHComponent = RNGHScrollView;
|
|
139
|
+
return /* @__PURE__ */(0, import_jsx_runtime.jsx)(RNGHComponent, {
|
|
140
|
+
ref: (0, import_compose_refs.composeRefs)(scrollRef, ref),
|
|
141
|
+
style: {
|
|
142
|
+
flex: 1
|
|
143
|
+
},
|
|
144
|
+
scrollEventThrottle: 1,
|
|
145
|
+
scrollEnabled,
|
|
146
|
+
simultaneousHandlers: [panGestureRef],
|
|
147
|
+
onLayout: e => {
|
|
148
|
+
parentHeight.current = Math.ceil(e.nativeEvent.layout.height);
|
|
149
|
+
updateScrollable();
|
|
150
|
+
},
|
|
151
|
+
onScroll: e => {
|
|
152
|
+
const {
|
|
153
|
+
y
|
|
154
|
+
} = e.nativeEvent.contentOffset;
|
|
155
|
+
currentScrollOffset.current = y;
|
|
156
|
+
if (scrollBridge.scrollLockY !== void 0) {
|
|
157
|
+
if (y !== scrollBridge.scrollLockY) {
|
|
158
|
+
scrollRef.current?.scrollTo?.({
|
|
159
|
+
x: 0,
|
|
160
|
+
y: scrollBridge.scrollLockY,
|
|
161
|
+
animated: false
|
|
162
|
+
});
|
|
163
|
+
}
|
|
164
|
+
scrollBridge.y = scrollBridge.scrollLockY;
|
|
165
|
+
onScroll?.({
|
|
166
|
+
...e,
|
|
167
|
+
nativeEvent: {
|
|
168
|
+
...e.nativeEvent,
|
|
169
|
+
contentOffset: {
|
|
170
|
+
...e.nativeEvent.contentOffset,
|
|
171
|
+
y: scrollBridge.scrollLockY
|
|
172
|
+
}
|
|
173
|
+
}
|
|
174
|
+
});
|
|
175
|
+
return;
|
|
176
|
+
}
|
|
177
|
+
scrollBridge.y = y;
|
|
178
|
+
if (y > 0) scrollBridge.scrollStartY = -1;
|
|
179
|
+
onScroll?.(e);
|
|
180
|
+
},
|
|
181
|
+
contentContainerStyle: {
|
|
182
|
+
minHeight: "100%"
|
|
183
|
+
},
|
|
184
|
+
bounces: false,
|
|
185
|
+
keyboardShouldPersistTaps: "always",
|
|
186
|
+
keyboardDismissMode: "none",
|
|
187
|
+
...props,
|
|
188
|
+
children: contentWrapper
|
|
189
|
+
});
|
|
190
|
+
}
|
|
191
|
+
return /* @__PURE__ */(0, import_jsx_runtime.jsx)(import_scroll_view.ScrollView, {
|
|
192
|
+
onLayout: e => {
|
|
193
|
+
parentHeight.current = Math.ceil(e.nativeEvent.layout.height);
|
|
194
|
+
updateScrollable();
|
|
195
|
+
},
|
|
196
|
+
ref: (0, import_compose_refs.composeRefs)(scrollRef, ref),
|
|
197
|
+
flex: 1,
|
|
198
|
+
scrollEventThrottle: 1,
|
|
199
|
+
className: "_ovs-contain",
|
|
200
|
+
scrollEnabled,
|
|
201
|
+
onScroll: e => {
|
|
202
|
+
const {
|
|
203
|
+
y
|
|
204
|
+
} = e.nativeEvent.contentOffset;
|
|
205
|
+
scrollBridge.y = y;
|
|
206
|
+
if (y > 0) scrollBridge.scrollStartY = -1;
|
|
207
|
+
onScroll?.(e);
|
|
208
|
+
},
|
|
209
|
+
contentContainerStyle: {
|
|
210
|
+
minHeight: "100%"
|
|
211
|
+
},
|
|
212
|
+
...gestureProps,
|
|
213
|
+
...props,
|
|
214
|
+
children: contentWrapper
|
|
215
|
+
});
|
|
216
|
+
});
|
|
@@ -0,0 +1,223 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var __create = Object.create;
|
|
4
|
+
var __defProp = Object.defineProperty;
|
|
5
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
6
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
7
|
+
var __getProtoOf = Object.getPrototypeOf;
|
|
8
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
9
|
+
var __export = (target, all) => {
|
|
10
|
+
for (var name in all) __defProp(target, name, {
|
|
11
|
+
get: all[name],
|
|
12
|
+
enumerable: true
|
|
13
|
+
});
|
|
14
|
+
};
|
|
15
|
+
var __copyProps = (to, from, except, desc) => {
|
|
16
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
17
|
+
for (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
|
|
18
|
+
get: () => from[key],
|
|
19
|
+
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
20
|
+
});
|
|
21
|
+
}
|
|
22
|
+
return to;
|
|
23
|
+
};
|
|
24
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
25
|
+
// If the importer is in node compatibility mode or this is not an ESM
|
|
26
|
+
// file that has been converted to a CommonJS file using a Babel-
|
|
27
|
+
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
28
|
+
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
29
|
+
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", {
|
|
30
|
+
value: mod,
|
|
31
|
+
enumerable: true
|
|
32
|
+
}) : target, mod));
|
|
33
|
+
var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
|
|
34
|
+
value: true
|
|
35
|
+
}), mod);
|
|
36
|
+
var SheetScrollView_exports = {};
|
|
37
|
+
__export(SheetScrollView_exports, {
|
|
38
|
+
SheetScrollView: () => SheetScrollView
|
|
39
|
+
});
|
|
40
|
+
module.exports = __toCommonJS(SheetScrollView_exports);
|
|
41
|
+
var import_jsx_runtime = require("react/jsx-runtime");
|
|
42
|
+
var import_compose_refs = require("@hanzogui/compose-refs");
|
|
43
|
+
var import_core = require("@hanzogui/core");
|
|
44
|
+
var import_scroll_view = require("@hanzogui/scroll-view");
|
|
45
|
+
var import_use_controllable_state = require("@hanzogui/use-controllable-state");
|
|
46
|
+
var import_react = __toESM(require("react"), 1);
|
|
47
|
+
var import_GestureSheetContext = require("./GestureSheetContext.native.js");
|
|
48
|
+
var import_gestureState = require("./gestureState.native.js");
|
|
49
|
+
var import_SheetContext = require("./SheetContext.native.js");
|
|
50
|
+
var import_useSheetScrollViewGestures = require("./useSheetScrollViewGestures.native.js");
|
|
51
|
+
var SHEET_SCROLL_VIEW_NAME = "SheetScrollView";
|
|
52
|
+
var SheetScrollView = /* @__PURE__ */import_react.default.forwardRef(function (param, ref) {
|
|
53
|
+
var {
|
|
54
|
+
__scopeSheet,
|
|
55
|
+
children,
|
|
56
|
+
onScroll,
|
|
57
|
+
scrollEnabled: scrollEnabledProp,
|
|
58
|
+
...props
|
|
59
|
+
} = param;
|
|
60
|
+
var context = (0, import_SheetContext.useSheetContext)(SHEET_SCROLL_VIEW_NAME, __scopeSheet);
|
|
61
|
+
var gestureContext = (0, import_GestureSheetContext.useGestureSheetContext)();
|
|
62
|
+
var {
|
|
63
|
+
scrollBridge,
|
|
64
|
+
setHasScrollView
|
|
65
|
+
} = context;
|
|
66
|
+
var [scrollEnabled] = (0, import_use_controllable_state.useControllableState)({
|
|
67
|
+
prop: scrollEnabledProp,
|
|
68
|
+
defaultProp: true
|
|
69
|
+
});
|
|
70
|
+
var scrollRef = import_react.default.useRef(null);
|
|
71
|
+
var panGestureRef = gestureContext === null || gestureContext === void 0 ? void 0 : gestureContext.panGestureRef;
|
|
72
|
+
var {
|
|
73
|
+
ScrollView: RNGHScrollView
|
|
74
|
+
} = (0, import_gestureState.getGestureHandlerState)();
|
|
75
|
+
var useRNGHScrollView = (0, import_gestureState.isGestureHandlerEnabled)() && RNGHScrollView && panGestureRef;
|
|
76
|
+
var currentScrollOffset = (0, import_react.useRef)(0);
|
|
77
|
+
var lockedScrollY = (0, import_react.useRef)(0);
|
|
78
|
+
var setScrollEnabled = function (next, lockTo) {
|
|
79
|
+
if (!next) {
|
|
80
|
+
var _scrollRef_current_scrollTo, _scrollRef_current;
|
|
81
|
+
var lockY = lockTo !== null && lockTo !== void 0 ? lockTo : currentScrollOffset.current;
|
|
82
|
+
lockedScrollY.current = lockY;
|
|
83
|
+
scrollBridge.scrollLockY = lockY;
|
|
84
|
+
(_scrollRef_current = scrollRef.current) === null || _scrollRef_current === void 0 ? void 0 : (_scrollRef_current_scrollTo = _scrollRef_current.scrollTo) === null || _scrollRef_current_scrollTo === void 0 ? void 0 : _scrollRef_current_scrollTo.call(_scrollRef_current, {
|
|
85
|
+
x: 0,
|
|
86
|
+
y: lockY,
|
|
87
|
+
animated: false
|
|
88
|
+
});
|
|
89
|
+
} else {
|
|
90
|
+
lockedScrollY.current = currentScrollOffset.current;
|
|
91
|
+
scrollBridge.scrollLockY = void 0;
|
|
92
|
+
}
|
|
93
|
+
};
|
|
94
|
+
var forceScrollTo = function (y) {
|
|
95
|
+
var _scrollRef_current_scrollTo, _scrollRef_current;
|
|
96
|
+
(_scrollRef_current = scrollRef.current) === null || _scrollRef_current === void 0 ? void 0 : (_scrollRef_current_scrollTo = _scrollRef_current.scrollTo) === null || _scrollRef_current_scrollTo === void 0 ? void 0 : _scrollRef_current_scrollTo.call(_scrollRef_current, {
|
|
97
|
+
x: 0,
|
|
98
|
+
y,
|
|
99
|
+
animated: false
|
|
100
|
+
});
|
|
101
|
+
};
|
|
102
|
+
(0, import_react.useEffect)(function () {
|
|
103
|
+
setHasScrollView(true);
|
|
104
|
+
if ((0, import_gestureState.isGestureHandlerEnabled)()) {
|
|
105
|
+
scrollBridge.setScrollEnabled = setScrollEnabled;
|
|
106
|
+
scrollBridge.forceScrollTo = forceScrollTo;
|
|
107
|
+
}
|
|
108
|
+
return function () {
|
|
109
|
+
setHasScrollView(false);
|
|
110
|
+
scrollBridge.setScrollEnabled = void 0;
|
|
111
|
+
scrollBridge.forceScrollTo = void 0;
|
|
112
|
+
};
|
|
113
|
+
}, []);
|
|
114
|
+
var [hasScrollableContent, setHasScrollableContent] = (0, import_react.useState)(true);
|
|
115
|
+
var parentHeight = (0, import_react.useRef)(0);
|
|
116
|
+
var contentHeight = (0, import_react.useRef)(0);
|
|
117
|
+
var updateScrollable = function () {
|
|
118
|
+
if (parentHeight.current && contentHeight.current) {
|
|
119
|
+
setHasScrollableContent(contentHeight.current > parentHeight.current);
|
|
120
|
+
}
|
|
121
|
+
};
|
|
122
|
+
(0, import_react.useEffect)(function () {
|
|
123
|
+
scrollBridge.hasScrollableContent = hasScrollableContent;
|
|
124
|
+
}, [hasScrollableContent]);
|
|
125
|
+
var gestureProps = (0, import_useSheetScrollViewGestures.useSheetScrollViewGestures)({
|
|
126
|
+
scrollRef,
|
|
127
|
+
scrollBridge,
|
|
128
|
+
hasScrollableContent,
|
|
129
|
+
scrollEnabled,
|
|
130
|
+
setScrollEnabled
|
|
131
|
+
});
|
|
132
|
+
var contentWrapper = /* @__PURE__ */(0, import_jsx_runtime.jsx)(import_core.View, {
|
|
133
|
+
onLayout: function (e) {
|
|
134
|
+
var height = Math.floor(e.nativeEvent.layout.height);
|
|
135
|
+
if (height !== contentHeight.current) {
|
|
136
|
+
contentHeight.current = height;
|
|
137
|
+
updateScrollable();
|
|
138
|
+
}
|
|
139
|
+
},
|
|
140
|
+
children
|
|
141
|
+
});
|
|
142
|
+
if (useRNGHScrollView && RNGHScrollView && panGestureRef) {
|
|
143
|
+
var RNGHComponent = RNGHScrollView;
|
|
144
|
+
return /* @__PURE__ */(0, import_jsx_runtime.jsx)(RNGHComponent, {
|
|
145
|
+
ref: (0, import_compose_refs.composeRefs)(scrollRef, ref),
|
|
146
|
+
style: {
|
|
147
|
+
flex: 1
|
|
148
|
+
},
|
|
149
|
+
scrollEventThrottle: 1,
|
|
150
|
+
scrollEnabled,
|
|
151
|
+
simultaneousHandlers: [panGestureRef],
|
|
152
|
+
onLayout: function (e) {
|
|
153
|
+
parentHeight.current = Math.ceil(e.nativeEvent.layout.height);
|
|
154
|
+
updateScrollable();
|
|
155
|
+
},
|
|
156
|
+
onScroll: function (e) {
|
|
157
|
+
var {
|
|
158
|
+
y
|
|
159
|
+
} = e.nativeEvent.contentOffset;
|
|
160
|
+
currentScrollOffset.current = y;
|
|
161
|
+
if (scrollBridge.scrollLockY !== void 0) {
|
|
162
|
+
if (y !== scrollBridge.scrollLockY) {
|
|
163
|
+
var _scrollRef_current_scrollTo, _scrollRef_current;
|
|
164
|
+
(_scrollRef_current = scrollRef.current) === null || _scrollRef_current === void 0 ? void 0 : (_scrollRef_current_scrollTo = _scrollRef_current.scrollTo) === null || _scrollRef_current_scrollTo === void 0 ? void 0 : _scrollRef_current_scrollTo.call(_scrollRef_current, {
|
|
165
|
+
x: 0,
|
|
166
|
+
y: scrollBridge.scrollLockY,
|
|
167
|
+
animated: false
|
|
168
|
+
});
|
|
169
|
+
}
|
|
170
|
+
scrollBridge.y = scrollBridge.scrollLockY;
|
|
171
|
+
onScroll === null || onScroll === void 0 ? void 0 : onScroll({
|
|
172
|
+
...e,
|
|
173
|
+
nativeEvent: {
|
|
174
|
+
...e.nativeEvent,
|
|
175
|
+
contentOffset: {
|
|
176
|
+
...e.nativeEvent.contentOffset,
|
|
177
|
+
y: scrollBridge.scrollLockY
|
|
178
|
+
}
|
|
179
|
+
}
|
|
180
|
+
});
|
|
181
|
+
return;
|
|
182
|
+
}
|
|
183
|
+
scrollBridge.y = y;
|
|
184
|
+
if (y > 0) scrollBridge.scrollStartY = -1;
|
|
185
|
+
onScroll === null || onScroll === void 0 ? void 0 : onScroll(e);
|
|
186
|
+
},
|
|
187
|
+
contentContainerStyle: {
|
|
188
|
+
minHeight: "100%"
|
|
189
|
+
},
|
|
190
|
+
bounces: false,
|
|
191
|
+
keyboardShouldPersistTaps: "always",
|
|
192
|
+
keyboardDismissMode: "none",
|
|
193
|
+
...props,
|
|
194
|
+
children: contentWrapper
|
|
195
|
+
});
|
|
196
|
+
}
|
|
197
|
+
return /* @__PURE__ */(0, import_jsx_runtime.jsx)(import_scroll_view.ScrollView, {
|
|
198
|
+
onLayout: function (e) {
|
|
199
|
+
parentHeight.current = Math.ceil(e.nativeEvent.layout.height);
|
|
200
|
+
updateScrollable();
|
|
201
|
+
},
|
|
202
|
+
ref: (0, import_compose_refs.composeRefs)(scrollRef, ref),
|
|
203
|
+
flex: 1,
|
|
204
|
+
scrollEventThrottle: 1,
|
|
205
|
+
className: "_ovs-contain",
|
|
206
|
+
scrollEnabled,
|
|
207
|
+
onScroll: function (e) {
|
|
208
|
+
var {
|
|
209
|
+
y
|
|
210
|
+
} = e.nativeEvent.contentOffset;
|
|
211
|
+
scrollBridge.y = y;
|
|
212
|
+
if (y > 0) scrollBridge.scrollStartY = -1;
|
|
213
|
+
onScroll === null || onScroll === void 0 ? void 0 : onScroll(e);
|
|
214
|
+
},
|
|
215
|
+
contentContainerStyle: {
|
|
216
|
+
minHeight: "100%"
|
|
217
|
+
},
|
|
218
|
+
...gestureProps,
|
|
219
|
+
...props,
|
|
220
|
+
children: contentWrapper
|
|
221
|
+
});
|
|
222
|
+
});
|
|
223
|
+
//# sourceMappingURL=SheetScrollView.native.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["__toCommonJS","mod","__copyProps","__defProp","value","SheetScrollView_exports","__export","SheetScrollView","module","exports","import_jsx_runtime","require","import_compose_refs","import_core","import_scroll_view","import_use_controllable_state","import_react","__toESM","import_GestureSheetContext","import_gestureState","import_SheetContext","import_useSheetScrollViewGestures","SHEET_SCROLL_VIEW_NAME","default","forwardRef","param","ref","__scopeSheet","children","onScroll","scrollEnabled","scrollEnabledProp","props","context","useSheetContext","gestureContext","useGestureSheetContext","scrollBridge","setHasScrollView","useControllableState","prop","defaultProp","scrollRef","useRef","panGestureRef","ScrollView","RNGHScrollView","getGestureHandlerState","useRNGHScrollView","isGestureHandlerEnabled","currentScrollOffset","lockedScrollY","setScrollEnabled","next","lockTo","_scrollRef_current_scrollTo","_scrollRef_current","lockY","current","scrollLockY","scrollTo","call","x","y","animated","forceScrollTo","useEffect","hasScrollableContent","setHasScrollableContent","useState","parentHeight","contentHeight","updateScrollable","gestureProps","useSheetScrollViewGestures","contentWrapper","jsx","View","onLayout","e","height","Math","floor","nativeEvent","layout","RNGHComponent","composeRefs","style","flex","scrollEventThrottle","simultaneousHandlers","ceil","contentOffset","scrollStartY","contentContainerStyle","minHeight","bounces","keyboardShouldPersistTaps","keyboardDismissMode","className"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B,CAAA,EAAA1B,YAAO,CAAAsB;cACX;YACF;UACA;UACA;QAAS;QACiBtB,YAC1B,CAAA0B,CAAA,GAAAA,CAAA;QAAoB,IACnBA,CAAG,MAAA1B,YAAA,CAAAwD,YAAA;QAAAhE,QAEH,aAAAA,QAAA,uBAAAA,QAAA,CAAAkD,CAAA;MAAA;MACHe,qBAAA;QAEJC,SAAA;MAGA;MACGC,OAAA;MAAAC,yBAAA;MAAAC,mBACkB;MACf,GAAAlE,KAAA;MACAJ,QAAA,EAAA+C;IAAiB;EACnB;EACsC,OACtC,eAAM,IAAAjE,kBAAA,CAAAkE,GAAA,EAAA9D,kBAAA,CAAA+B,UAAA;IAAAiC,QACN,WAAAA,CAAAC,CAAA;MAAqBT,YACrB,CAAUZ,OAAA,GAAAuB,IAAA,CAAAU,IAAA,CAAAZ,CAAA,CAAAI,WAAA,CAAAC,MAAA,CAAAJ,MAAA;MAAAR,gBACV;IAAA;IAEE9C,GAAA,MAAAd,mBAAgB,CAAA0E,WAAY,EAAA5C,SAAA,EAAAhB,GAAA;IAC5B8D,IAAA;IACAC,mBAAW;IACXU,SAAA,gBAAY;IAAArE,aACd;IAAAD,QACA,WAAAA,CAAAkD,CAAA;MAA2C,IAC1C;QAAGhB;MAAA,IAAAgB,CAAA,CAAAI,WAAA,CAAAS,aAAA;MAAAvD,YACA,CAAA0B,CAAA,GAAAA,CAAA;MAAA,IAEHA,CAAA,MAAA1B,YAAA,CAAAwD,YAAA;MAAAhE,QAAA,aAAAA,QAAA,uBAAAA,QAAA,CAAAkD,CAAA;IACH;IAEJe,qBAAA;MACFC,SAAA","ignoreList":[]}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
var __defProp = Object.defineProperty;
|
|
2
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
|
+
var __export = (target, all) => {
|
|
6
|
+
for (var name in all) __defProp(target, name, {
|
|
7
|
+
get: all[name],
|
|
8
|
+
enumerable: true
|
|
9
|
+
});
|
|
10
|
+
};
|
|
11
|
+
var __copyProps = (to, from, except, desc) => {
|
|
12
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
13
|
+
for (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
|
|
14
|
+
get: () => from[key],
|
|
15
|
+
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
16
|
+
});
|
|
17
|
+
}
|
|
18
|
+
return to;
|
|
19
|
+
};
|
|
20
|
+
var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
|
|
21
|
+
value: true
|
|
22
|
+
}), mod);
|
|
23
|
+
var constants_exports = {};
|
|
24
|
+
__export(constants_exports, {
|
|
25
|
+
SHEET_HANDLE_NAME: () => SHEET_HANDLE_NAME,
|
|
26
|
+
SHEET_NAME: () => SHEET_NAME,
|
|
27
|
+
SHEET_OVERLAY_NAME: () => SHEET_OVERLAY_NAME,
|
|
28
|
+
constants: () => constants
|
|
29
|
+
});
|
|
30
|
+
module.exports = __toCommonJS(constants_exports);
|
|
31
|
+
const constants = {};
|
|
32
|
+
const SHEET_NAME = "Sheet";
|
|
33
|
+
const SHEET_HANDLE_NAME = "SheetHandle";
|
|
34
|
+
const SHEET_OVERLAY_NAME = "SheetOverlay";
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var __defProp = Object.defineProperty;
|
|
4
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
5
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
7
|
+
var __export = (target, all) => {
|
|
8
|
+
for (var name in all) __defProp(target, name, {
|
|
9
|
+
get: all[name],
|
|
10
|
+
enumerable: true
|
|
11
|
+
});
|
|
12
|
+
};
|
|
13
|
+
var __copyProps = (to, from, except, desc) => {
|
|
14
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
15
|
+
for (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
|
|
16
|
+
get: () => from[key],
|
|
17
|
+
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
18
|
+
});
|
|
19
|
+
}
|
|
20
|
+
return to;
|
|
21
|
+
};
|
|
22
|
+
var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
|
|
23
|
+
value: true
|
|
24
|
+
}), mod);
|
|
25
|
+
var constants_exports = {};
|
|
26
|
+
__export(constants_exports, {
|
|
27
|
+
SHEET_HANDLE_NAME: () => SHEET_HANDLE_NAME,
|
|
28
|
+
SHEET_NAME: () => SHEET_NAME,
|
|
29
|
+
SHEET_OVERLAY_NAME: () => SHEET_OVERLAY_NAME,
|
|
30
|
+
constants: () => constants
|
|
31
|
+
});
|
|
32
|
+
module.exports = __toCommonJS(constants_exports);
|
|
33
|
+
var constants = {};
|
|
34
|
+
var SHEET_NAME = "Sheet";
|
|
35
|
+
var SHEET_HANDLE_NAME = "SheetHandle";
|
|
36
|
+
var SHEET_OVERLAY_NAME = "SheetOverlay";
|
|
37
|
+
//# sourceMappingURL=constants.native.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["__toCommonJS","mod","__copyProps","__defProp","value","constants_exports","__export","SHEET_HANDLE_NAME","SHEET_NAME","SHEET_OVERLAY_NAME","constants","module","exports"],"sources":["../../src/constants.tsx"],"sourcesContent":[null],"mappings":";;;;;;;;;;;;;;;;;;;;;AAAA,IAAAA,YAAA,GAAAC,GAAA,IAAAC,WAAA,CAAAC,SAAA;EAAAC,KAAA;AAAA,IAAAH,GAAA;AAAA,IAAAI,iBAAA;AAAAC,QAAA,CAAAD,iBAAA;EAAAE,iBAAA,EAAAA,CAAA,KAAAA,iBAAA;EAAAC,UAAA,EAAAA,CAAA,KAAAA,UAAA;EAAAC,kBAAA,EAAAA,CAAA,KAAAA,kBAAA;EAAAC,SAAA,EAAAA,CAAA,KAAAA;AAAA;AAAOC,MAAM,CAAAC,OAAA,GAAAZ,YAAa,CAAAK,iBAAA;AAEnB,IAAAK,SAAM;AACN,IAAAF,UAAM;AACN,IAAAD,iBAAM,gBAAqB","ignoreList":[]}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
var __create = Object.create;
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __getProtoOf = Object.getPrototypeOf;
|
|
6
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
7
|
+
var __export = (target, all) => {
|
|
8
|
+
for (var name in all) __defProp(target, name, {
|
|
9
|
+
get: all[name],
|
|
10
|
+
enumerable: true
|
|
11
|
+
});
|
|
12
|
+
};
|
|
13
|
+
var __copyProps = (to, from, except, desc) => {
|
|
14
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
15
|
+
for (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
|
|
16
|
+
get: () => from[key],
|
|
17
|
+
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
18
|
+
});
|
|
19
|
+
}
|
|
20
|
+
return to;
|
|
21
|
+
};
|
|
22
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
23
|
+
// If the importer is in node compatibility mode or this is not an ESM
|
|
24
|
+
// file that has been converted to a CommonJS file using a Babel-
|
|
25
|
+
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
26
|
+
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
27
|
+
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", {
|
|
28
|
+
value: mod,
|
|
29
|
+
enumerable: true
|
|
30
|
+
}) : target, mod));
|
|
31
|
+
var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
|
|
32
|
+
value: true
|
|
33
|
+
}), mod);
|
|
34
|
+
var contexts_exports = {};
|
|
35
|
+
__export(contexts_exports, {
|
|
36
|
+
ParentSheetContext: () => ParentSheetContext,
|
|
37
|
+
SheetInsideSheetContext: () => SheetInsideSheetContext
|
|
38
|
+
});
|
|
39
|
+
module.exports = __toCommonJS(contexts_exports);
|
|
40
|
+
var import_react = __toESM(require("react"), 1);
|
|
41
|
+
const ParentSheetContext = import_react.default.createContext({
|
|
42
|
+
zIndex: 1e5
|
|
43
|
+
});
|
|
44
|
+
const SheetInsideSheetContext = import_react.default.createContext(null);
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var __create = Object.create;
|
|
4
|
+
var __defProp = Object.defineProperty;
|
|
5
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
6
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
7
|
+
var __getProtoOf = Object.getPrototypeOf;
|
|
8
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
9
|
+
var __export = (target, all) => {
|
|
10
|
+
for (var name in all) __defProp(target, name, {
|
|
11
|
+
get: all[name],
|
|
12
|
+
enumerable: true
|
|
13
|
+
});
|
|
14
|
+
};
|
|
15
|
+
var __copyProps = (to, from, except, desc) => {
|
|
16
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
17
|
+
for (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
|
|
18
|
+
get: () => from[key],
|
|
19
|
+
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
20
|
+
});
|
|
21
|
+
}
|
|
22
|
+
return to;
|
|
23
|
+
};
|
|
24
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
25
|
+
// If the importer is in node compatibility mode or this is not an ESM
|
|
26
|
+
// file that has been converted to a CommonJS file using a Babel-
|
|
27
|
+
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
28
|
+
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
29
|
+
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", {
|
|
30
|
+
value: mod,
|
|
31
|
+
enumerable: true
|
|
32
|
+
}) : target, mod));
|
|
33
|
+
var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
|
|
34
|
+
value: true
|
|
35
|
+
}), mod);
|
|
36
|
+
var contexts_exports = {};
|
|
37
|
+
__export(contexts_exports, {
|
|
38
|
+
ParentSheetContext: () => ParentSheetContext,
|
|
39
|
+
SheetInsideSheetContext: () => SheetInsideSheetContext
|
|
40
|
+
});
|
|
41
|
+
module.exports = __toCommonJS(contexts_exports);
|
|
42
|
+
var import_react = __toESM(require("react"), 1);
|
|
43
|
+
var ParentSheetContext = import_react.default.createContext({
|
|
44
|
+
zIndex: 1e5
|
|
45
|
+
});
|
|
46
|
+
var SheetInsideSheetContext = import_react.default.createContext(null);
|
|
47
|
+
//# sourceMappingURL=contexts.native.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["__toCommonJS","mod","__copyProps","__defProp","value","contexts_exports","__export","ParentSheetContext","SheetInsideSheetContext","module","exports","import_react","__toESM","require","default","createContext","zIndex"],"sources":["../../src/contexts.ts"],"sourcesContent":[null],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,IAAAA,YAAA,GAAAC,GAAA,IAAAC,WAAA,CAAAC,SAAA;EAAAC,KAAA;AAAA,IAAAH,GAAA;AAAA,IAAAI,gBAAA;AAAAC,QAAA,CAAAD,gBAAA;EAAAE,kBAAA,EAAAA,CAAA,KAAAA,kBAAA;EAAAC,uBAAA,EAAAA,CAAA,KAAAA;AAAA;AAAAC,MAAA,CAAAC,OAAA,GAAAV,YAAkB,CAAAK,gBAAA;AAEX,IAAAM,YAAM,GAAAC,OAAA,CAAqBC,OAAA;AAAoB,IACpDN,kBAAQ,GAAAI,YAAA,CAAAG,OAAA,CAAAC,aAAA;EACTC,MAAA;AAEM","ignoreList":[]}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
var __defProp = Object.defineProperty;
|
|
2
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
|
+
var __export = (target, all) => {
|
|
6
|
+
for (var name in all) __defProp(target, name, {
|
|
7
|
+
get: all[name],
|
|
8
|
+
enumerable: true
|
|
9
|
+
});
|
|
10
|
+
};
|
|
11
|
+
var __copyProps = (to, from, except, desc) => {
|
|
12
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
13
|
+
for (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
|
|
14
|
+
get: () => from[key],
|
|
15
|
+
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
16
|
+
});
|
|
17
|
+
}
|
|
18
|
+
return to;
|
|
19
|
+
};
|
|
20
|
+
var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
|
|
21
|
+
value: true
|
|
22
|
+
}), mod);
|
|
23
|
+
var controller_exports = {};
|
|
24
|
+
__export(controller_exports, {
|
|
25
|
+
SheetController: () => import_SheetController.SheetController,
|
|
26
|
+
SheetControllerContext: () => import_useSheetController.SheetControllerContext,
|
|
27
|
+
useSheetController: () => import_useSheetController.useSheetController
|
|
28
|
+
});
|
|
29
|
+
module.exports = __toCommonJS(controller_exports);
|
|
30
|
+
var import_SheetController = require("./SheetController.cjs");
|
|
31
|
+
var import_useSheetController = require("./useSheetController.cjs");
|