@multiplayer-app/session-recorder-react-native 1.0.1-beta.1 → 1.0.1-beta.10
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 +1 -2
- package/README.md +216 -155
- package/SessionRecorderNative.podspec +35 -14
- package/android/build.gradle +50 -54
- package/android/src/main/AndroidManifest.xml +2 -0
- package/android/src/main/java/com/sessionrecordernative/SessionRecorderNativeConfig.kt +52 -0
- package/android/src/main/java/com/sessionrecordernative/SessionRecorderNativeModule.kt +861 -0
- package/android/src/main/java/com/sessionrecordernative/SessionRecorderNativePackage.kt +33 -0
- package/android/src/main/java/com/sessionrecordernative/SessionRecorderNativeSpec.kt +79 -0
- package/android/src/main/java/com/sessionrecordernative/model/TargetInfo.kt +9 -0
- package/android/src/main/java/com/sessionrecordernative/util/ViewUtils.kt +72 -0
- package/ios/GestureTargetFinder.swift +50 -0
- package/ios/SessionRecorderNative-Bridging-Header.h +2 -0
- package/ios/{GestureRecorderNative.m → SessionRecorderNative.mm} +17 -6
- package/ios/SessionRecorderNative.swift +256 -4
- package/lib/module/SessionRecorderNativeSpec.js +5 -0
- package/lib/module/SessionRecorderNativeSpec.js.map +1 -0
- package/lib/module/components/ScreenRecorderView/ScreenRecorderView.js +23 -0
- package/lib/module/components/ScreenRecorderView/ScreenRecorderView.js.map +1 -0
- package/lib/module/components/ScreenRecorderView/index.js +4 -0
- package/lib/module/components/ScreenRecorderView/index.js.map +1 -0
- package/lib/module/components/SessionRecorderWidget/ErrorBanner.js +64 -0
- package/lib/module/components/SessionRecorderWidget/ErrorBanner.js.map +1 -0
- package/lib/module/components/SessionRecorderWidget/FinalPopover.js +74 -0
- package/lib/module/components/SessionRecorderWidget/FinalPopover.js.map +1 -0
- package/lib/module/components/SessionRecorderWidget/FloatingButton.js +191 -0
- package/lib/module/components/SessionRecorderWidget/FloatingButton.js.map +1 -0
- package/lib/module/components/SessionRecorderWidget/InitialPopover.js +138 -0
- package/lib/module/components/SessionRecorderWidget/InitialPopover.js.map +1 -0
- package/lib/module/components/SessionRecorderWidget/ModalContainer.js +177 -0
- package/lib/module/components/SessionRecorderWidget/ModalContainer.js.map +1 -0
- package/lib/module/components/SessionRecorderWidget/ModalHeader.js +27 -0
- package/lib/module/components/SessionRecorderWidget/ModalHeader.js.map +1 -0
- package/lib/module/components/SessionRecorderWidget/SessionRecorderWidget.js +133 -0
- package/lib/module/components/SessionRecorderWidget/SessionRecorderWidget.js.map +1 -0
- package/lib/module/components/SessionRecorderWidget/icons.js +93 -0
- package/lib/module/components/SessionRecorderWidget/icons.js.map +1 -0
- package/lib/module/components/SessionRecorderWidget/index.js +5 -0
- package/lib/module/components/SessionRecorderWidget/index.js.map +1 -0
- package/lib/module/components/SessionRecorderWidget/styles.js +173 -0
- package/lib/module/components/SessionRecorderWidget/styles.js.map +1 -0
- package/lib/module/components/index.js +5 -0
- package/lib/module/components/index.js.map +1 -0
- package/lib/module/config/constants.js +42 -0
- package/lib/module/config/constants.js.map +1 -0
- package/lib/module/config/defaults.js +81 -0
- package/lib/module/config/defaults.js.map +1 -0
- package/lib/module/config/index.js +9 -0
- package/lib/module/config/index.js.map +1 -0
- package/lib/module/config/masking.js +35 -0
- package/lib/module/config/masking.js.map +1 -0
- package/lib/module/config/session-recorder.js +44 -0
- package/lib/module/config/session-recorder.js.map +1 -0
- package/lib/module/config/validators.js +28 -0
- package/lib/module/config/validators.js.map +1 -0
- package/lib/module/config/widget.js +35 -0
- package/lib/module/config/widget.js.map +1 -0
- package/lib/module/context/SessionRecorderContext.js +93 -0
- package/lib/module/context/SessionRecorderContext.js.map +1 -0
- package/lib/module/context/SessionRecorderStore.js +12 -0
- package/lib/module/context/SessionRecorderStore.js.map +1 -0
- package/lib/module/context/useSessionRecorderStore.js +20 -0
- package/lib/module/context/useSessionRecorderStore.js.map +1 -0
- package/lib/module/context/useStoreSelector.js +27 -0
- package/lib/module/context/useStoreSelector.js.map +1 -0
- package/lib/module/index.js +16 -0
- package/lib/module/index.js.map +1 -0
- package/lib/module/native/SessionRecorderNative.js +79 -0
- package/lib/module/native/SessionRecorderNative.js.map +1 -0
- package/lib/module/native/index.js +4 -0
- package/lib/module/native/index.js.map +1 -0
- package/lib/module/otel/helpers.js +218 -0
- package/lib/module/otel/helpers.js.map +1 -0
- package/lib/module/otel/index.js +95 -0
- package/lib/module/otel/index.js.map +1 -0
- package/lib/module/otel/instrumentations/index.js +102 -0
- package/lib/module/otel/instrumentations/index.js.map +1 -0
- package/lib/module/package.json +1 -0
- package/lib/module/patch/index.js +4 -0
- package/lib/module/patch/index.js.map +1 -0
- package/lib/module/patch/xhr.js +116 -0
- package/lib/module/patch/xhr.js.map +1 -0
- package/lib/module/recorder/eventExporter.js +130 -0
- package/lib/module/recorder/eventExporter.js.map +1 -0
- package/lib/module/recorder/gestureRecorder.js +641 -0
- package/lib/module/recorder/gestureRecorder.js.map +1 -0
- package/lib/module/recorder/index.js +168 -0
- package/lib/module/recorder/index.js.map +1 -0
- package/lib/module/recorder/navigationTracker.js +228 -0
- package/lib/module/recorder/navigationTracker.js.map +1 -0
- package/lib/module/recorder/screenRecorder.js +495 -0
- package/lib/module/recorder/screenRecorder.js.map +1 -0
- package/lib/module/services/api.service.js +149 -0
- package/lib/module/services/api.service.js.map +1 -0
- package/lib/module/services/network.service.js +178 -0
- package/lib/module/services/network.service.js.map +1 -0
- package/lib/module/services/screenMaskingService.js +107 -0
- package/lib/module/services/screenMaskingService.js.map +1 -0
- package/lib/module/services/storage.service.js +179 -0
- package/lib/module/services/storage.service.js.map +1 -0
- package/lib/module/session-recorder.js +541 -0
- package/lib/module/session-recorder.js.map +1 -0
- package/lib/module/types/configs.js +4 -0
- package/lib/module/types/configs.js.map +1 -0
- package/lib/module/types/expo-constants.d.js +2 -0
- package/lib/module/types/expo-constants.d.js.map +1 -0
- package/lib/module/types/index.js +11 -0
- package/lib/module/types/index.js.map +1 -0
- package/lib/module/types/session-recorder.js +68 -0
- package/lib/module/types/session-recorder.js.map +1 -0
- package/lib/module/types/session.js +9 -0
- package/lib/module/types/session.js.map +1 -0
- package/lib/module/utils/app-metadata.js +28 -0
- package/lib/module/utils/app-metadata.js.map +1 -0
- package/lib/module/utils/constants.optional.expo.js +6 -0
- package/lib/module/utils/constants.optional.expo.js.map +1 -0
- package/lib/module/utils/constants.optional.js +8 -0
- package/lib/module/utils/constants.optional.js.map +1 -0
- package/lib/module/utils/createStore.js +27 -0
- package/lib/module/utils/createStore.js.map +1 -0
- package/lib/module/utils/index.js +11 -0
- package/lib/module/utils/index.js.map +1 -0
- package/lib/module/utils/logger.js +185 -0
- package/lib/module/utils/logger.js.map +1 -0
- package/lib/module/utils/platform.js +340 -0
- package/lib/module/utils/platform.js.map +1 -0
- package/lib/module/utils/request-utils.js +58 -0
- package/lib/module/utils/request-utils.js.map +1 -0
- package/lib/module/utils/rrweb-events.js +276 -0
- package/lib/module/utils/rrweb-events.js.map +1 -0
- package/lib/module/utils/session.js +21 -0
- package/lib/module/utils/session.js.map +1 -0
- package/lib/module/utils/shallowEqual.js +17 -0
- package/lib/module/utils/shallowEqual.js.map +1 -0
- package/lib/module/utils/time.js +17 -0
- package/lib/module/utils/time.js.map +1 -0
- package/lib/module/utils/type-utils.js +69 -0
- package/lib/module/utils/type-utils.js.map +1 -0
- package/lib/module/version.js +4 -0
- package/lib/module/version.js.map +1 -0
- package/lib/typescript/package.json +1 -0
- package/{dist/native/SessionRecorderNative.d.ts → lib/typescript/src/SessionRecorderNativeSpec.d.ts} +23 -15
- package/lib/typescript/src/SessionRecorderNativeSpec.d.ts.map +1 -0
- package/lib/typescript/src/components/ScreenRecorderView/ScreenRecorderView.d.ts +6 -0
- package/lib/typescript/src/components/ScreenRecorderView/ScreenRecorderView.d.ts.map +1 -0
- package/lib/typescript/src/components/ScreenRecorderView/index.d.ts +2 -0
- package/lib/typescript/src/components/ScreenRecorderView/index.d.ts.map +1 -0
- package/{dist → lib/typescript/src}/components/SessionRecorderWidget/ErrorBanner.d.ts +1 -0
- package/lib/typescript/src/components/SessionRecorderWidget/ErrorBanner.d.ts.map +1 -0
- package/{dist → lib/typescript/src}/components/SessionRecorderWidget/FinalPopover.d.ts +2 -1
- package/lib/typescript/src/components/SessionRecorderWidget/FinalPopover.d.ts.map +1 -0
- package/{dist → lib/typescript/src}/components/SessionRecorderWidget/FloatingButton.d.ts +1 -0
- package/lib/typescript/src/components/SessionRecorderWidget/FloatingButton.d.ts.map +1 -0
- package/{dist → lib/typescript/src}/components/SessionRecorderWidget/InitialPopover.d.ts +2 -1
- package/lib/typescript/src/components/SessionRecorderWidget/InitialPopover.d.ts.map +1 -0
- package/{dist → lib/typescript/src}/components/SessionRecorderWidget/ModalContainer.d.ts +1 -0
- package/lib/typescript/src/components/SessionRecorderWidget/ModalContainer.d.ts.map +1 -0
- package/{dist → lib/typescript/src}/components/SessionRecorderWidget/ModalHeader.d.ts +1 -0
- package/lib/typescript/src/components/SessionRecorderWidget/ModalHeader.d.ts.map +1 -0
- package/{dist → lib/typescript/src}/components/SessionRecorderWidget/SessionRecorderWidget.d.ts +1 -0
- package/lib/typescript/src/components/SessionRecorderWidget/SessionRecorderWidget.d.ts.map +1 -0
- package/{dist → lib/typescript/src}/components/SessionRecorderWidget/icons.d.ts +1 -0
- package/lib/typescript/src/components/SessionRecorderWidget/icons.d.ts.map +1 -0
- package/lib/typescript/src/components/SessionRecorderWidget/index.d.ts +3 -0
- package/lib/typescript/src/components/SessionRecorderWidget/index.d.ts.map +1 -0
- package/{dist → lib/typescript/src}/components/SessionRecorderWidget/styles.d.ts +4 -3
- package/lib/typescript/src/components/SessionRecorderWidget/styles.d.ts.map +1 -0
- package/lib/typescript/src/components/index.d.ts +3 -0
- package/lib/typescript/src/components/index.d.ts.map +1 -0
- package/{dist → lib/typescript/src}/config/constants.d.ts +1 -0
- package/lib/typescript/src/config/constants.d.ts.map +1 -0
- package/{dist → lib/typescript/src}/config/defaults.d.ts +2 -1
- package/lib/typescript/src/config/defaults.d.ts.map +1 -0
- package/{dist → lib/typescript/src}/config/index.d.ts +1 -0
- package/lib/typescript/src/config/index.d.ts.map +1 -0
- package/lib/typescript/src/config/masking.d.ts +3 -0
- package/lib/typescript/src/config/masking.d.ts.map +1 -0
- package/lib/typescript/src/config/session-recorder.d.ts +3 -0
- package/lib/typescript/src/config/session-recorder.d.ts.map +1 -0
- package/{dist → lib/typescript/src}/config/validators.d.ts +1 -0
- package/lib/typescript/src/config/validators.d.ts.map +1 -0
- package/{dist → lib/typescript/src}/config/widget.d.ts +2 -1
- package/lib/typescript/src/config/widget.d.ts.map +1 -0
- package/{dist → lib/typescript/src}/context/SessionRecorderContext.d.ts +3 -2
- package/lib/typescript/src/context/SessionRecorderContext.d.ts.map +1 -0
- package/{dist → lib/typescript/src}/context/SessionRecorderStore.d.ts +2 -1
- package/lib/typescript/src/context/SessionRecorderStore.d.ts.map +1 -0
- package/{dist → lib/typescript/src}/context/useSessionRecorderStore.d.ts +4 -3
- package/lib/typescript/src/context/useSessionRecorderStore.d.ts.map +1 -0
- package/{dist → lib/typescript/src}/context/useStoreSelector.d.ts +2 -1
- package/lib/typescript/src/context/useStoreSelector.d.ts.map +1 -0
- package/{dist → lib/typescript/src}/index.d.ts +2 -0
- package/lib/typescript/src/index.d.ts.map +1 -0
- package/lib/typescript/src/native/SessionRecorderNative.d.ts +27 -0
- package/lib/typescript/src/native/SessionRecorderNative.d.ts.map +1 -0
- package/lib/typescript/src/native/index.d.ts +2 -0
- package/lib/typescript/src/native/index.d.ts.map +1 -0
- package/{dist → lib/typescript/src}/otel/helpers.d.ts +3 -2
- package/lib/typescript/src/otel/helpers.d.ts.map +1 -0
- package/{dist → lib/typescript/src}/otel/index.d.ts +2 -2
- package/lib/typescript/src/otel/index.d.ts.map +1 -0
- package/{dist → lib/typescript/src}/otel/instrumentations/index.d.ts +2 -1
- package/lib/typescript/src/otel/instrumentations/index.d.ts.map +1 -0
- package/lib/typescript/src/patch/index.d.ts +2 -0
- package/lib/typescript/src/patch/index.d.ts.map +1 -0
- package/{dist → lib/typescript/src}/patch/xhr.d.ts +1 -0
- package/lib/typescript/src/patch/xhr.d.ts.map +1 -0
- package/{dist → lib/typescript/src}/recorder/eventExporter.d.ts +2 -1
- package/lib/typescript/src/recorder/eventExporter.d.ts.map +1 -0
- package/{dist → lib/typescript/src}/recorder/gestureRecorder.d.ts +3 -2
- package/lib/typescript/src/recorder/gestureRecorder.d.ts.map +1 -0
- package/{dist → lib/typescript/src}/recorder/index.d.ts +3 -2
- package/lib/typescript/src/recorder/index.d.ts.map +1 -0
- package/{dist → lib/typescript/src}/recorder/navigationTracker.d.ts +2 -1
- package/lib/typescript/src/recorder/navigationTracker.d.ts.map +1 -0
- package/{dist → lib/typescript/src}/recorder/screenRecorder.d.ts +4 -4
- package/lib/typescript/src/recorder/screenRecorder.d.ts.map +1 -0
- package/{dist → lib/typescript/src}/services/api.service.d.ts +2 -1
- package/lib/typescript/src/services/api.service.d.ts.map +1 -0
- package/{dist → lib/typescript/src}/services/network.service.d.ts +1 -0
- package/lib/typescript/src/services/network.service.d.ts.map +1 -0
- package/{dist → lib/typescript/src}/services/screenMaskingService.d.ts +2 -1
- package/lib/typescript/src/services/screenMaskingService.d.ts.map +1 -0
- package/{dist → lib/typescript/src}/services/storage.service.d.ts +2 -1
- package/lib/typescript/src/services/storage.service.d.ts.map +1 -0
- package/{dist → lib/typescript/src}/session-recorder.d.ts +3 -2
- package/lib/typescript/src/session-recorder.d.ts.map +1 -0
- package/{dist → lib/typescript/src}/types/configs.d.ts +3 -2
- package/lib/typescript/src/types/configs.d.ts.map +1 -0
- package/{dist → lib/typescript/src}/types/index.d.ts +1 -0
- package/lib/typescript/src/types/index.d.ts.map +1 -0
- package/{dist → lib/typescript/src}/types/session-recorder.d.ts +7 -6
- package/lib/typescript/src/types/session-recorder.d.ts.map +1 -0
- package/{dist → lib/typescript/src}/types/session.d.ts +1 -0
- package/lib/typescript/src/types/session.d.ts.map +1 -0
- package/{dist → lib/typescript/src}/utils/app-metadata.d.ts +1 -0
- package/lib/typescript/src/utils/app-metadata.d.ts.map +1 -0
- package/{dist → lib/typescript/src}/utils/constants.optional.d.ts +1 -0
- package/lib/typescript/src/utils/constants.optional.d.ts.map +1 -0
- package/{dist → lib/typescript/src}/utils/constants.optional.expo.d.ts +1 -0
- package/lib/typescript/src/utils/constants.optional.expo.d.ts.map +1 -0
- package/{dist → lib/typescript/src}/utils/createStore.d.ts +1 -0
- package/lib/typescript/src/utils/createStore.d.ts.map +1 -0
- package/lib/typescript/src/utils/index.d.ts +8 -0
- package/lib/typescript/src/utils/index.d.ts.map +1 -0
- package/{dist → lib/typescript/src}/utils/logger.d.ts +2 -1
- package/lib/typescript/src/utils/logger.d.ts.map +1 -0
- package/{dist → lib/typescript/src}/utils/platform.d.ts +2 -1
- package/lib/typescript/src/utils/platform.d.ts.map +1 -0
- package/{dist → lib/typescript/src}/utils/request-utils.d.ts +1 -0
- package/lib/typescript/src/utils/request-utils.d.ts.map +1 -0
- package/{dist → lib/typescript/src}/utils/rrweb-events.d.ts +2 -1
- package/lib/typescript/src/utils/rrweb-events.d.ts.map +1 -0
- package/{dist → lib/typescript/src}/utils/session.d.ts +1 -0
- package/lib/typescript/src/utils/session.d.ts.map +1 -0
- package/{dist → lib/typescript/src}/utils/shallowEqual.d.ts +1 -0
- package/lib/typescript/src/utils/shallowEqual.d.ts.map +1 -0
- package/{dist → lib/typescript/src}/utils/time.d.ts +1 -0
- package/lib/typescript/src/utils/time.d.ts.map +1 -0
- package/{dist → lib/typescript/src}/utils/type-utils.d.ts +1 -0
- package/lib/typescript/src/utils/type-utils.d.ts.map +1 -0
- package/lib/typescript/src/version.d.ts +2 -0
- package/lib/typescript/src/version.d.ts.map +1 -0
- package/package.json +154 -37
- package/react-native.config.js +14 -0
- package/src/SessionRecorderNativeSpec.ts +52 -0
- package/src/components/ScreenRecorderView/ScreenRecorderView.tsx +20 -0
- package/src/components/ScreenRecorderView/index.ts +1 -0
- package/src/components/SessionRecorderWidget/ErrorBanner.tsx +58 -0
- package/src/components/SessionRecorderWidget/FinalPopover.tsx +96 -0
- package/src/components/SessionRecorderWidget/FloatingButton.tsx +176 -0
- package/src/components/SessionRecorderWidget/InitialPopover.tsx +167 -0
- package/src/components/SessionRecorderWidget/ModalContainer.tsx +189 -0
- package/src/components/SessionRecorderWidget/ModalHeader.tsx +26 -0
- package/src/components/SessionRecorderWidget/SessionRecorderWidget.tsx +150 -0
- package/src/components/SessionRecorderWidget/icons.tsx +80 -0
- package/src/components/SessionRecorderWidget/index.ts +3 -0
- package/src/components/SessionRecorderWidget/styles.ts +168 -0
- package/src/config/constants.ts +67 -0
- package/src/config/defaults.ts +105 -0
- package/src/config/index.ts +6 -0
- package/src/config/masking.ts +60 -0
- package/src/config/session-recorder.ts +87 -0
- package/src/config/validators.ts +54 -0
- package/src/config/widget.ts +47 -0
- package/src/context/SessionRecorderContext.tsx +138 -0
- package/src/context/SessionRecorderStore.ts +22 -0
- package/src/context/useSessionRecorderStore.ts +34 -0
- package/src/context/useStoreSelector.ts +36 -0
- package/src/index.ts +13 -0
- package/src/native/SessionRecorderNative.ts +120 -0
- package/src/native/index.ts +5 -0
- package/src/otel/helpers.ts +290 -0
- package/src/otel/index.ts +132 -0
- package/src/otel/instrumentations/index.ts +118 -0
- package/src/patch/xhr.ts +148 -0
- package/src/recorder/eventExporter.ts +150 -0
- package/src/recorder/gestureRecorder.ts +828 -0
- package/src/recorder/index.ts +203 -0
- package/src/recorder/navigationTracker.ts +268 -0
- package/src/recorder/screenRecorder.ts +600 -0
- package/src/services/api.service.ts +216 -0
- package/src/services/network.service.ts +191 -0
- package/src/services/screenMaskingService.ts +153 -0
- package/src/services/storage.service.ts +248 -0
- package/src/session-recorder.ts +647 -0
- package/src/types/configs.ts +118 -0
- package/src/types/expo-constants.d.ts +7 -0
- package/src/types/index.ts +27 -0
- package/src/types/session-recorder.ts +381 -0
- package/src/types/session.ts +65 -0
- package/src/utils/app-metadata.ts +31 -0
- package/src/utils/constants.optional.expo.ts +5 -0
- package/src/utils/constants.optional.ts +18 -0
- package/src/utils/createStore.ts +32 -0
- package/{dist/utils/index.d.ts → src/utils/index.ts} +1 -0
- package/src/utils/logger.ts +245 -0
- package/src/utils/platform.ts +401 -0
- package/src/utils/request-utils.ts +61 -0
- package/src/utils/rrweb-events.ts +329 -0
- package/src/utils/session.ts +22 -0
- package/src/utils/shallowEqual.ts +20 -0
- package/src/utils/time.ts +20 -0
- package/src/utils/type-utils.ts +75 -0
- package/src/version.ts +1 -0
- package/copy-react-native-dist.sh +0 -56
- package/dist/components/ScreenRecorderView/ScreenRecorderView.d.ts +0 -5
- package/dist/components/ScreenRecorderView/ScreenRecorderView.js +0 -1
- package/dist/components/ScreenRecorderView/ScreenRecorderView.js.map +0 -1
- package/dist/components/ScreenRecorderView/index.d.ts +0 -1
- package/dist/components/ScreenRecorderView/index.js +0 -1
- package/dist/components/ScreenRecorderView/index.js.map +0 -1
- package/dist/components/SessionRecorderWidget/ErrorBanner.js +0 -1
- package/dist/components/SessionRecorderWidget/ErrorBanner.js.map +0 -1
- package/dist/components/SessionRecorderWidget/FinalPopover.js +0 -1
- package/dist/components/SessionRecorderWidget/FinalPopover.js.map +0 -1
- package/dist/components/SessionRecorderWidget/FloatingButton.js +0 -1
- package/dist/components/SessionRecorderWidget/FloatingButton.js.map +0 -1
- package/dist/components/SessionRecorderWidget/InitialPopover.js +0 -1
- package/dist/components/SessionRecorderWidget/InitialPopover.js.map +0 -1
- package/dist/components/SessionRecorderWidget/ModalContainer.js +0 -1
- package/dist/components/SessionRecorderWidget/ModalContainer.js.map +0 -1
- package/dist/components/SessionRecorderWidget/ModalHeader.js +0 -1
- package/dist/components/SessionRecorderWidget/ModalHeader.js.map +0 -1
- package/dist/components/SessionRecorderWidget/SessionRecorderWidget.js +0 -1
- package/dist/components/SessionRecorderWidget/SessionRecorderWidget.js.map +0 -1
- package/dist/components/SessionRecorderWidget/icons.js +0 -1
- package/dist/components/SessionRecorderWidget/icons.js.map +0 -1
- package/dist/components/SessionRecorderWidget/index.d.ts +0 -2
- package/dist/components/SessionRecorderWidget/index.js +0 -1
- package/dist/components/SessionRecorderWidget/index.js.map +0 -1
- package/dist/components/SessionRecorderWidget/styles.js +0 -1
- package/dist/components/SessionRecorderWidget/styles.js.map +0 -1
- package/dist/components/index.js +0 -1
- package/dist/components/index.js.map +0 -1
- package/dist/config/constants.js +0 -1
- package/dist/config/constants.js.map +0 -1
- package/dist/config/defaults.js +0 -1
- package/dist/config/defaults.js.map +0 -1
- package/dist/config/index.js +0 -1
- package/dist/config/index.js.map +0 -1
- package/dist/config/masking.d.ts +0 -2
- package/dist/config/masking.js +0 -1
- package/dist/config/masking.js.map +0 -1
- package/dist/config/session-recorder.d.ts +0 -2
- package/dist/config/session-recorder.js +0 -1
- package/dist/config/session-recorder.js.map +0 -1
- package/dist/config/validators.js +0 -1
- package/dist/config/validators.js.map +0 -1
- package/dist/config/widget.js +0 -1
- package/dist/config/widget.js.map +0 -1
- package/dist/context/SessionRecorderContext.js +0 -1
- package/dist/context/SessionRecorderContext.js.map +0 -1
- package/dist/context/SessionRecorderStore.js +0 -1
- package/dist/context/SessionRecorderStore.js.map +0 -1
- package/dist/context/useSessionRecorderStore.js +0 -1
- package/dist/context/useSessionRecorderStore.js.map +0 -1
- package/dist/context/useStoreSelector.js +0 -1
- package/dist/context/useStoreSelector.js.map +0 -1
- package/dist/index.js +0 -1
- package/dist/index.js.map +0 -1
- package/dist/native/GestureRecorderNative.d.ts +0 -57
- package/dist/native/GestureRecorderNative.js +0 -1
- package/dist/native/GestureRecorderNative.js.map +0 -1
- package/dist/native/GestureRecorderNativeTurboSpec.d.ts +0 -31
- package/dist/native/GestureRecorderNativeTurboSpec.js +0 -1
- package/dist/native/GestureRecorderNativeTurboSpec.js.map +0 -1
- package/dist/native/SessionRecorderNative.js +0 -1
- package/dist/native/SessionRecorderNative.js.map +0 -1
- package/dist/native/SessionRecorderNativeTurboSpec.d.ts +0 -17
- package/dist/native/SessionRecorderNativeTurboSpec.js +0 -1
- package/dist/native/SessionRecorderNativeTurboSpec.js.map +0 -1
- package/dist/native/index.d.ts +0 -2
- package/dist/native/index.js +0 -1
- package/dist/native/index.js.map +0 -1
- package/dist/otel/helpers.js +0 -1
- package/dist/otel/helpers.js.map +0 -1
- package/dist/otel/index.js +0 -1
- package/dist/otel/index.js.map +0 -1
- package/dist/otel/instrumentations/index.js +0 -1
- package/dist/otel/instrumentations/index.js.map +0 -1
- package/dist/patch/index.js +0 -1
- package/dist/patch/index.js.map +0 -1
- package/dist/patch/xhr.js +0 -1
- package/dist/patch/xhr.js.map +0 -1
- package/dist/recorder/eventExporter.js +0 -1
- package/dist/recorder/eventExporter.js.map +0 -1
- package/dist/recorder/gestureRecorder.js +0 -1
- package/dist/recorder/gestureRecorder.js.map +0 -1
- package/dist/recorder/index.js +0 -1
- package/dist/recorder/index.js.map +0 -1
- package/dist/recorder/navigationTracker.js +0 -1
- package/dist/recorder/navigationTracker.js.map +0 -1
- package/dist/recorder/screenRecorder.js +0 -1
- package/dist/recorder/screenRecorder.js.map +0 -1
- package/dist/services/api.service.js +0 -1
- package/dist/services/api.service.js.map +0 -1
- package/dist/services/network.service.js +0 -1
- package/dist/services/network.service.js.map +0 -1
- package/dist/services/screenMaskingService.js +0 -1
- package/dist/services/screenMaskingService.js.map +0 -1
- package/dist/services/storage.service.js +0 -1
- package/dist/services/storage.service.js.map +0 -1
- package/dist/session-recorder.js +0 -1
- package/dist/session-recorder.js.map +0 -1
- package/dist/types/configs.js +0 -1
- package/dist/types/configs.js.map +0 -1
- package/dist/types/index.js +0 -1
- package/dist/types/index.js.map +0 -1
- package/dist/types/session-recorder.js +0 -1
- package/dist/types/session-recorder.js.map +0 -1
- package/dist/types/session.js +0 -1
- package/dist/types/session.js.map +0 -1
- package/dist/utils/app-metadata.js +0 -1
- package/dist/utils/app-metadata.js.map +0 -1
- package/dist/utils/constants.optional.expo.js +0 -1
- package/dist/utils/constants.optional.expo.js.map +0 -1
- package/dist/utils/constants.optional.js +0 -1
- package/dist/utils/constants.optional.js.map +0 -1
- package/dist/utils/createStore.js +0 -1
- package/dist/utils/createStore.js.map +0 -1
- package/dist/utils/index.js +0 -1
- package/dist/utils/index.js.map +0 -1
- package/dist/utils/logger.js +0 -1
- package/dist/utils/logger.js.map +0 -1
- package/dist/utils/platform.js +0 -1
- package/dist/utils/platform.js.map +0 -1
- package/dist/utils/request-utils.js +0 -1
- package/dist/utils/request-utils.js.map +0 -1
- package/dist/utils/rrweb-events.js +0 -1
- package/dist/utils/rrweb-events.js.map +0 -1
- package/dist/utils/session.js +0 -1
- package/dist/utils/session.js.map +0 -1
- package/dist/utils/shallowEqual.js +0 -1
- package/dist/utils/shallowEqual.js.map +0 -1
- package/dist/utils/time.js +0 -1
- package/dist/utils/time.js.map +0 -1
- package/dist/utils/type-utils.js +0 -1
- package/dist/utils/type-utils.js.map +0 -1
- package/dist/version.d.ts +0 -1
- package/dist/version.js +0 -1
- package/dist/version.js.map +0 -1
- package/docs/AUTO_METADATA_DETECTION.md +0 -108
- package/ios/GestureRecorderNative.swift +0 -316
- package/ios/SessionRecorderNative.m +0 -17
- package/ios/SessionRecorderNative.podspec +0 -26
- package/turbo.json +0 -41
- /package/{dist/components/index.d.ts → src/components/index.ts} +0 -0
- /package/{dist/patch/index.d.ts → src/patch/index.ts} +0 -0
|
@@ -0,0 +1,177 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
import React, { useEffect, useRef, useState } from 'react';
|
|
4
|
+
import { Animated, Pressable, StyleSheet, Dimensions, Modal, PanResponder, Platform } from 'react-native';
|
|
5
|
+
import { SafeAreaProvider, SafeAreaView } from 'react-native-safe-area-context';
|
|
6
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
7
|
+
const {
|
|
8
|
+
height: SCREEN_HEIGHT
|
|
9
|
+
} = Dimensions.get('window');
|
|
10
|
+
const MODAL_HEIGHT = SCREEN_HEIGHT * 0.7;
|
|
11
|
+
const ModalContainer = ({
|
|
12
|
+
isVisible,
|
|
13
|
+
onClose,
|
|
14
|
+
children
|
|
15
|
+
}) => {
|
|
16
|
+
const fadeAnim = useRef(new Animated.Value(0)).current;
|
|
17
|
+
const translateY = useRef(new Animated.Value(0)).current;
|
|
18
|
+
const [visible, setVisible] = useState(isVisible);
|
|
19
|
+
const SWIPE_THRESHOLD = 100; // Distance to trigger close
|
|
20
|
+
|
|
21
|
+
const animateClose = () => {
|
|
22
|
+
Animated.parallel([Animated.timing(fadeAnim, {
|
|
23
|
+
toValue: 0,
|
|
24
|
+
duration: 250,
|
|
25
|
+
useNativeDriver: true
|
|
26
|
+
}), Animated.timing(translateY, {
|
|
27
|
+
toValue: MODAL_HEIGHT,
|
|
28
|
+
duration: 250,
|
|
29
|
+
useNativeDriver: true
|
|
30
|
+
})]).start(() => {
|
|
31
|
+
setVisible(false);
|
|
32
|
+
onClose();
|
|
33
|
+
});
|
|
34
|
+
};
|
|
35
|
+
useEffect(() => {
|
|
36
|
+
if (isVisible) {
|
|
37
|
+
setVisible(true);
|
|
38
|
+
// Start from bottom and animate to position
|
|
39
|
+
translateY.setValue(MODAL_HEIGHT);
|
|
40
|
+
Animated.parallel([Animated.timing(fadeAnim, {
|
|
41
|
+
toValue: 1,
|
|
42
|
+
duration: 300,
|
|
43
|
+
useNativeDriver: true
|
|
44
|
+
}), Animated.timing(translateY, {
|
|
45
|
+
toValue: 0,
|
|
46
|
+
duration: 300,
|
|
47
|
+
useNativeDriver: true
|
|
48
|
+
})]).start();
|
|
49
|
+
} else if (visible) {
|
|
50
|
+
// If external isVisible turned false, animate close then hide
|
|
51
|
+
Animated.parallel([Animated.timing(fadeAnim, {
|
|
52
|
+
toValue: 0,
|
|
53
|
+
duration: 250,
|
|
54
|
+
useNativeDriver: true
|
|
55
|
+
}), Animated.timing(translateY, {
|
|
56
|
+
toValue: MODAL_HEIGHT,
|
|
57
|
+
duration: 250,
|
|
58
|
+
useNativeDriver: true
|
|
59
|
+
})]).start(() => {
|
|
60
|
+
setVisible(false);
|
|
61
|
+
});
|
|
62
|
+
}
|
|
63
|
+
}, [isVisible, fadeAnim, translateY, visible]);
|
|
64
|
+
|
|
65
|
+
// PanResponder for swipe-to-dismiss functionality
|
|
66
|
+
const panResponder = useRef(PanResponder.create({
|
|
67
|
+
onStartShouldSetPanResponder: () => true,
|
|
68
|
+
onMoveShouldSetPanResponder: (_, gestureState) => {
|
|
69
|
+
// Only respond to downward swipes
|
|
70
|
+
return gestureState.dy > 10;
|
|
71
|
+
},
|
|
72
|
+
onPanResponderGrant: () => {
|
|
73
|
+
// Reset any ongoing animations
|
|
74
|
+
translateY.stopAnimation();
|
|
75
|
+
},
|
|
76
|
+
onPanResponderMove: (_, gestureState) => {
|
|
77
|
+
// Only allow downward movement
|
|
78
|
+
if (gestureState.dy > 0) {
|
|
79
|
+
translateY.setValue(gestureState.dy);
|
|
80
|
+
}
|
|
81
|
+
},
|
|
82
|
+
onPanResponderRelease: (_, gestureState) => {
|
|
83
|
+
const {
|
|
84
|
+
dy,
|
|
85
|
+
vy
|
|
86
|
+
} = gestureState;
|
|
87
|
+
|
|
88
|
+
// If swiped down with sufficient distance or velocity, close modal
|
|
89
|
+
if (dy > SWIPE_THRESHOLD || vy > 500) {
|
|
90
|
+
animateClose();
|
|
91
|
+
} else {
|
|
92
|
+
// Snap back to original position
|
|
93
|
+
Animated.spring(translateY, {
|
|
94
|
+
toValue: 0,
|
|
95
|
+
useNativeDriver: true,
|
|
96
|
+
tension: 100,
|
|
97
|
+
friction: 8
|
|
98
|
+
}).start();
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
})).current;
|
|
102
|
+
return /*#__PURE__*/_jsx(Modal, {
|
|
103
|
+
visible: visible,
|
|
104
|
+
transparent: true,
|
|
105
|
+
animationType: "none",
|
|
106
|
+
onRequestClose: onClose,
|
|
107
|
+
children: /*#__PURE__*/_jsx(SafeAreaProvider, {
|
|
108
|
+
children: /*#__PURE__*/_jsxs(Animated.View, {
|
|
109
|
+
style: {
|
|
110
|
+
...styles.backdrop,
|
|
111
|
+
opacity: fadeAnim
|
|
112
|
+
},
|
|
113
|
+
children: [/*#__PURE__*/_jsx(Pressable, {
|
|
114
|
+
style: styles.backdropPressable,
|
|
115
|
+
onPress: animateClose
|
|
116
|
+
}), /*#__PURE__*/_jsx(Animated.View, {
|
|
117
|
+
style: [styles.modal, {
|
|
118
|
+
transform: [{
|
|
119
|
+
translateY
|
|
120
|
+
}]
|
|
121
|
+
}],
|
|
122
|
+
...panResponder.panHandlers,
|
|
123
|
+
children: /*#__PURE__*/_jsx(SafeAreaView, {
|
|
124
|
+
style: styles.safeArea,
|
|
125
|
+
edges: ['bottom'],
|
|
126
|
+
children: children
|
|
127
|
+
})
|
|
128
|
+
})]
|
|
129
|
+
})
|
|
130
|
+
})
|
|
131
|
+
});
|
|
132
|
+
};
|
|
133
|
+
const styles = StyleSheet.create({
|
|
134
|
+
backdrop: {
|
|
135
|
+
position: 'absolute',
|
|
136
|
+
top: 0,
|
|
137
|
+
left: 0,
|
|
138
|
+
right: 0,
|
|
139
|
+
bottom: 0,
|
|
140
|
+
backgroundColor: 'rgba(0, 0, 0, 0.5)'
|
|
141
|
+
},
|
|
142
|
+
backdropPressable: {
|
|
143
|
+
flex: 1
|
|
144
|
+
},
|
|
145
|
+
safeArea: {
|
|
146
|
+
flex: 1,
|
|
147
|
+
backgroundColor: 'white',
|
|
148
|
+
borderTopLeftRadius: 20,
|
|
149
|
+
borderTopRightRadius: 20
|
|
150
|
+
},
|
|
151
|
+
modal: {
|
|
152
|
+
position: 'absolute',
|
|
153
|
+
bottom: 0,
|
|
154
|
+
left: 0,
|
|
155
|
+
right: 0,
|
|
156
|
+
maxHeight: MODAL_HEIGHT,
|
|
157
|
+
backgroundColor: 'white',
|
|
158
|
+
borderTopLeftRadius: 20,
|
|
159
|
+
borderTopRightRadius: 20,
|
|
160
|
+
...Platform.select({
|
|
161
|
+
ios: {
|
|
162
|
+
shadowColor: '#000',
|
|
163
|
+
shadowOffset: {
|
|
164
|
+
width: 0,
|
|
165
|
+
height: -2
|
|
166
|
+
},
|
|
167
|
+
shadowOpacity: 0.1,
|
|
168
|
+
shadowRadius: 8
|
|
169
|
+
},
|
|
170
|
+
android: {
|
|
171
|
+
elevation: 8
|
|
172
|
+
}
|
|
173
|
+
})
|
|
174
|
+
}
|
|
175
|
+
});
|
|
176
|
+
export default ModalContainer;
|
|
177
|
+
//# sourceMappingURL=ModalContainer.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["React","useEffect","useRef","useState","Animated","Pressable","StyleSheet","Dimensions","Modal","PanResponder","Platform","SafeAreaProvider","SafeAreaView","jsx","_jsx","jsxs","_jsxs","height","SCREEN_HEIGHT","get","MODAL_HEIGHT","ModalContainer","isVisible","onClose","children","fadeAnim","Value","current","translateY","visible","setVisible","SWIPE_THRESHOLD","animateClose","parallel","timing","toValue","duration","useNativeDriver","start","setValue","panResponder","create","onStartShouldSetPanResponder","onMoveShouldSetPanResponder","_","gestureState","dy","onPanResponderGrant","stopAnimation","onPanResponderMove","onPanResponderRelease","vy","spring","tension","friction","transparent","animationType","onRequestClose","View","style","styles","backdrop","opacity","backdropPressable","onPress","modal","transform","panHandlers","safeArea","edges","position","top","left","right","bottom","backgroundColor","flex","borderTopLeftRadius","borderTopRightRadius","maxHeight","select","ios","shadowColor","shadowOffset","width","shadowOpacity","shadowRadius","android","elevation"],"sourceRoot":"../../../../src","sources":["components/SessionRecorderWidget/ModalContainer.tsx"],"mappings":";;AAAA,OAAOA,KAAK,IAAIC,SAAS,EAAEC,MAAM,EAAEC,QAAQ,QAAQ,OAAO;AAC1D,SACEC,QAAQ,EACRC,SAAS,EACTC,UAAU,EACVC,UAAU,EACVC,KAAK,EACLC,YAAY,EACZC,QAAQ,QACH,cAAc;AACrB,SAASC,gBAAgB,EAAEC,YAAY,QAAQ,gCAAgC;AAAC,SAAAC,GAAA,IAAAC,IAAA,EAAAC,IAAA,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,KAAK,EAAE,CAAC,QAAQ,CAAE;YAAA7C,QAAA,EACrDA;UAAQ,CACG;QAAC,CACF,CAAC;MAAA,CACH;IAAC,CACA;EAAC,CACd,CAAC;AAEZ,CAAC;AAED,MAAMoC,MAAM,GAAGtD,UAAU,CAACmC,MAAM,CAAC;EAC/BoB,QAAQ,EAAE;IACRS,QAAQ,EAAE,UAAU;IACpBC,GAAG,EAAE,CAAC;IACNC,IAAI,EAAE,CAAC;IACPC,KAAK,EAAE,CAAC;IACRC,MAAM,EAAE,CAAC;IACTC,eAAe,EAAE;EACnB,CAAC;EACDZ,iBAAiB,EAAE;IACjBa,IAAI,EAAE;EACR,CAAC;EACDR,QAAQ,EAAE;IACRQ,IAAI,EAAE,CAAC;IACPD,eAAe,EAAE,OAAO;IACxBE,mBAAmB,EAAE,EAAE;IACvBC,oBAAoB,EAAE;EACxB,CAAC;EACDb,KAAK,EAAE;IACLK,QAAQ,EAAE,UAAU;IACpBI,MAAM,EAAE,CAAC;IACTF,IAAI,EAAE,CAAC;IACPC,KAAK,EAAE,CAAC;IACRM,SAAS,EAAE3D,YAAY;IACvBuD,eAAe,EAAE,OAAO;IACxBE,mBAAmB,EAAE,EAAE;IACvBC,oBAAoB,EAAE,EAAE;IACxB,GAAGpE,QAAQ,CAACsE,MAAM,CAAC;MACjBC,GAAG,EAAE;QACHC,WAAW,EAAE,MAAM;QACnBC,YAAY,EAAE;UAAEC,KAAK,EAAE,CAAC;UAAEnE,MAAM,EAAE,CAAC;QAAE,CAAC;QACtCoE,aAAa,EAAE,GAAG;QAClBC,YAAY,EAAE;MAChB,CAAC;MACDC,OAAO,EAAE;QACPC,SAAS,EAAE;MACb;IACF,CAAC;EACH;AACF,CAAC,CAAC;AAEF,eAAenE,cAAc","ignoreList":[]}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
import React from 'react';
|
|
4
|
+
import { View, Pressable, Linking } from 'react-native';
|
|
5
|
+
import { sharedStyles } from "./styles.js";
|
|
6
|
+
import { LogoIcon } from "./icons.js";
|
|
7
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
8
|
+
const ModalHeader = ({
|
|
9
|
+
children
|
|
10
|
+
}) => {
|
|
11
|
+
return /*#__PURE__*/_jsxs(View, {
|
|
12
|
+
style: sharedStyles.popoverHeader,
|
|
13
|
+
children: [/*#__PURE__*/_jsx(View, {
|
|
14
|
+
style: sharedStyles.modalHandle
|
|
15
|
+
}), /*#__PURE__*/_jsxs(View, {
|
|
16
|
+
style: sharedStyles.popoverHeaderContent,
|
|
17
|
+
children: [/*#__PURE__*/_jsx(Pressable, {
|
|
18
|
+
onPress: () => Linking.openURL('https://www.multiplayer.app'),
|
|
19
|
+
children: /*#__PURE__*/_jsx(LogoIcon, {
|
|
20
|
+
size: 42
|
|
21
|
+
})
|
|
22
|
+
}), children]
|
|
23
|
+
})]
|
|
24
|
+
});
|
|
25
|
+
};
|
|
26
|
+
export default ModalHeader;
|
|
27
|
+
//# sourceMappingURL=ModalHeader.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["React","View","Pressable","Linking","sharedStyles","LogoIcon","jsx","_jsx","jsxs","_jsxs","ModalHeader","children","style","popoverHeader","modalHandle","popoverHeaderContent","onPress","openURL","size"],"sourceRoot":"../../../../src","sources":["components/SessionRecorderWidget/ModalHeader.tsx"],"mappings":";;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,IAAI,EAAEC,SAAS,EAAEC,OAAO,QAAQ,cAAc;AACvD,SAASC,YAAY,QAAQ,aAAU;AACvC,SAASC,QAAQ,QAAQ,YAAS;AAAC,SAAAC,GAAA,IAAAC,IAAA,EAAAC,IAAA,IAAAC,KAAA;AAMnC,MAAMC,WAAuC,GAAGA,CAAC;EAAEC;AAAS,CAAC,KAAK;EAChE,oBACEF,KAAA,CAACR,IAAI;IAACW,KAAK,EAAER,YAAY,CAACS,aAAc;IAAAF,QAAA,gBACtCJ,IAAA,CAACN,IAAI;MAACW,KAAK,EAAER,YAAY,CAACU;IAAY,CAAE,CAAC,eACzCL,KAAA,CAACR,IAAI;MAACW,KAAK,EAAER,YAAY,CAACW,oBAAqB;MAAAJ,QAAA,gBAC7CJ,IAAA,CAACL,SAAS;QACRc,OAAO,EAAEA,CAAA,KAAMb,OAAO,CAACc,OAAO,CAAC,6BAA6B,CAAE;QAAAN,QAAA,eAE9DJ,IAAA,CAACF,QAAQ;UAACa,IAAI,EAAE;QAAG,CAAE;MAAC,CACb,CAAC,EACXP,QAAQ;IAAA,CACL,CAAC;EAAA,CACH,CAAC;AAEX,CAAC;AAED,eAAeD,WAAW","ignoreList":[]}
|
|
@@ -0,0 +1,133 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
import React, { useState, useCallback, memo } from 'react';
|
|
4
|
+
import { View, StyleSheet } from 'react-native';
|
|
5
|
+
import { SessionState } from "../../types/index.js";
|
|
6
|
+
import { SessionType } from '@multiplayer-app/session-recorder-common';
|
|
7
|
+
import { useSessionRecorder } from "../../context/SessionRecorderContext.js";
|
|
8
|
+
import FinalPopover from "./FinalPopover.js";
|
|
9
|
+
import ModalContainer from "./ModalContainer.js";
|
|
10
|
+
import InitialPopover from "./InitialPopover.js";
|
|
11
|
+
import FloatingButton from "./FloatingButton.js";
|
|
12
|
+
import ErrorBanner from "./ErrorBanner.js";
|
|
13
|
+
import { logger } from "../../utils/index.js";
|
|
14
|
+
import { useSessionRecorderStore } from "../../context/useSessionRecorderStore.js";
|
|
15
|
+
import { sessionRecorderStore } from "../../context/SessionRecorderStore.js";
|
|
16
|
+
import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
|
|
17
|
+
const SessionRecorderWidget = /*#__PURE__*/memo(() => {
|
|
18
|
+
const {
|
|
19
|
+
instance,
|
|
20
|
+
openWidgetModal,
|
|
21
|
+
closeWidgetModal
|
|
22
|
+
} = useSessionRecorder();
|
|
23
|
+
const isOnline = useSessionRecorderStore(s => s.isOnline);
|
|
24
|
+
const sessionType = useSessionRecorderStore(s => s.sessionType);
|
|
25
|
+
const isModalVisible = useSessionRecorderStore(s => s.isWidgetModalVisible);
|
|
26
|
+
const sessionState = useSessionRecorderStore(s => s.sessionState);
|
|
27
|
+
const error = useSessionRecorderStore(s => s.error);
|
|
28
|
+
const [isSubmitting, setIsSubmitting] = useState(false);
|
|
29
|
+
|
|
30
|
+
// Get configuration from instance
|
|
31
|
+
const {
|
|
32
|
+
widget,
|
|
33
|
+
showContinuousRecording
|
|
34
|
+
} = instance.config;
|
|
35
|
+
const dismissError = useCallback(() => {
|
|
36
|
+
sessionRecorderStore.setState({
|
|
37
|
+
error: null
|
|
38
|
+
});
|
|
39
|
+
}, []);
|
|
40
|
+
const handleError = useCallback((error, message) => {
|
|
41
|
+
const errorMessage = error instanceof Error ? error.message : message;
|
|
42
|
+
logger.error('SessionRecorderWidget', message, error);
|
|
43
|
+
sessionRecorderStore.setState({
|
|
44
|
+
error: errorMessage
|
|
45
|
+
});
|
|
46
|
+
}, []);
|
|
47
|
+
const onStartRecording = useCallback(async sessionType => {
|
|
48
|
+
if (!isOnline) {
|
|
49
|
+
handleError(new Error('Cannot start recording while offline'), 'Cannot start recording while offline');
|
|
50
|
+
return;
|
|
51
|
+
}
|
|
52
|
+
try {
|
|
53
|
+
await instance.start(sessionType);
|
|
54
|
+
closeWidgetModal();
|
|
55
|
+
} catch (error) {
|
|
56
|
+
handleError(error, 'Failed to start recording');
|
|
57
|
+
}
|
|
58
|
+
}, [isOnline, handleError]);
|
|
59
|
+
const onStopRecording = useCallback(async comment => {
|
|
60
|
+
try {
|
|
61
|
+
setIsSubmitting(true);
|
|
62
|
+
await instance.stop(comment);
|
|
63
|
+
closeWidgetModal();
|
|
64
|
+
} catch (error) {
|
|
65
|
+
handleError(error, 'Failed to stop recording');
|
|
66
|
+
} finally {
|
|
67
|
+
setIsSubmitting(false);
|
|
68
|
+
}
|
|
69
|
+
}, [handleError]);
|
|
70
|
+
const onCancelSession = useCallback(async () => {
|
|
71
|
+
try {
|
|
72
|
+
await instance.cancel();
|
|
73
|
+
closeWidgetModal();
|
|
74
|
+
} catch (error) {
|
|
75
|
+
handleError(error, 'Failed to cancel session');
|
|
76
|
+
}
|
|
77
|
+
}, [handleError]);
|
|
78
|
+
const onSaveContinuousSession = useCallback(async () => {
|
|
79
|
+
try {
|
|
80
|
+
await instance.save();
|
|
81
|
+
} catch (error) {
|
|
82
|
+
handleError(error, 'Failed to save continuous session');
|
|
83
|
+
}
|
|
84
|
+
}, [handleError]);
|
|
85
|
+
const isStarted = sessionState === SessionState.started || sessionState === SessionState.paused;
|
|
86
|
+
const isContinuous = sessionType === SessionType.CONTINUOUS;
|
|
87
|
+
return /*#__PURE__*/_jsxs(_Fragment, {
|
|
88
|
+
children: [widget.button?.visible && /*#__PURE__*/_jsx(View, {
|
|
89
|
+
pointerEvents: "box-none",
|
|
90
|
+
style: styles.overlayContainer,
|
|
91
|
+
children: /*#__PURE__*/_jsx(FloatingButton, {
|
|
92
|
+
sessionState: sessionState,
|
|
93
|
+
onPress: openWidgetModal
|
|
94
|
+
})
|
|
95
|
+
}), /*#__PURE__*/_jsx(ModalContainer, {
|
|
96
|
+
isVisible: isModalVisible,
|
|
97
|
+
onClose: closeWidgetModal,
|
|
98
|
+
children: isStarted && !isContinuous ? /*#__PURE__*/_jsx(FinalPopover, {
|
|
99
|
+
isOnline: isOnline,
|
|
100
|
+
isSubmitting: isSubmitting,
|
|
101
|
+
textOverrides: widget.textOverrides,
|
|
102
|
+
onClose: closeWidgetModal,
|
|
103
|
+
onStopRecording: onStopRecording,
|
|
104
|
+
onCancelSession: onCancelSession,
|
|
105
|
+
children: error && /*#__PURE__*/_jsx(ErrorBanner, {
|
|
106
|
+
error: error,
|
|
107
|
+
onDismiss: dismissError
|
|
108
|
+
})
|
|
109
|
+
}) : /*#__PURE__*/_jsx(InitialPopover, {
|
|
110
|
+
isOnline: isOnline,
|
|
111
|
+
isSubmitting: isSubmitting,
|
|
112
|
+
textOverrides: widget.textOverrides,
|
|
113
|
+
isContinuous: isStarted && isContinuous,
|
|
114
|
+
showContinuousRecording: showContinuousRecording,
|
|
115
|
+
onClose: closeWidgetModal,
|
|
116
|
+
onStopRecording: onStopRecording,
|
|
117
|
+
onStartRecording: onStartRecording,
|
|
118
|
+
onSaveContinuousSession: onSaveContinuousSession,
|
|
119
|
+
children: error && /*#__PURE__*/_jsx(ErrorBanner, {
|
|
120
|
+
error: error,
|
|
121
|
+
onDismiss: dismissError
|
|
122
|
+
})
|
|
123
|
+
})
|
|
124
|
+
})]
|
|
125
|
+
});
|
|
126
|
+
});
|
|
127
|
+
export default SessionRecorderWidget;
|
|
128
|
+
const styles = StyleSheet.create({
|
|
129
|
+
overlayContainer: {
|
|
130
|
+
...StyleSheet.absoluteFillObject
|
|
131
|
+
}
|
|
132
|
+
});
|
|
133
|
+
//# sourceMappingURL=SessionRecorderWidget.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["React","useState","useCallback","memo","View","StyleSheet","SessionState","SessionType","useSessionRecorder","FinalPopover","ModalContainer","InitialPopover","FloatingButton","ErrorBanner","logger","useSessionRecorderStore","sessionRecorderStore","jsx","_jsx","Fragment","_Fragment","jsxs","_jsxs","SessionRecorderWidget","instance","openWidgetModal","closeWidgetModal","isOnline","s","sessionType","isModalVisible","isWidgetModalVisible","sessionState","error","isSubmitting","setIsSubmitting","widget","showContinuousRecording","config","dismissError","setState","handleError","message","errorMessage","Error","onStartRecording","start","onStopRecording","comment","stop","onCancelSession","cancel","onSaveContinuousSession","save","isStarted","started","paused","isContinuous","CONTINUOUS","children","button","visible","pointerEvents","style","styles","overlayContainer","onPress","isVisible","onClose","textOverrides","onDismiss","create","absoluteFillObject"],"sourceRoot":"../../../../src","sources":["components/SessionRecorderWidget/SessionRecorderWidget.tsx"],"mappings":";;AAAA,OAAOA,KAAK,IAAIC,QAAQ,EAAEC,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Aa,EAAEjC,MAAM,CAACiC,aAAc;QACpCD,OAAO,EAAE1C,gBAAiB;QAC1BqB,eAAe,EAAEA,eAAgB;QACjCG,eAAe,EAAEA,eAAgB;QAAAS,QAAA,EAEhC1B,KAAK,iBAAIf,IAAA,CAACL,WAAW;UAACoB,KAAK,EAAEA,KAAM;UAACqC,SAAS,EAAE/B;QAAa,CAAE;MAAC,CACpD,CAAC,gBAEfrB,IAAA,CAACP,cAAc;QACbgB,QAAQ,EAAEA,QAAS;QACnBO,YAAY,EAAEA,YAAa;QAC3BmC,aAAa,EAAEjC,MAAM,CAACiC,aAAc;QACpCZ,YAAY,EAAEH,SAAS,IAAIG,YAAa;QACxCpB,uBAAuB,EAAEA,uBAAwB;QACjD+B,OAAO,EAAE1C,gBAAiB;QAC1BqB,eAAe,EAAEA,eAAgB;QACjCF,gBAAgB,EAAEA,gBAAiB;QACnCO,uBAAuB,EAAEA,uBAAwB;QAAAO,QAAA,EAEhD1B,KAAK,iBAAIf,IAAA,CAACL,WAAW;UAACoB,KAAK,EAAEA,KAAM;UAACqC,SAAS,EAAE/B;QAAa,CAAE;MAAC,CAClD;IACjB,CACa,CAAC;EAAA,CACjB,CAAC;AAEP,CAAC,CAAC;AAEF,eAAehB,qBAAqB;AAEpC,MAAMyC,MAAM,GAAG3D,UAAU,CAACkE,MAAM,CAAC;EAC/BN,gBAAgB,EAAE;IAChB,GAAG5D,UAAU,CAACmE;EAChB;AACF,CAAC,CAAC","ignoreList":[]}
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
import React from 'react';
|
|
4
|
+
import Svg, { Path, Circle } from 'react-native-svg';
|
|
5
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
6
|
+
export const RecordIcon = ({
|
|
7
|
+
size = 19,
|
|
8
|
+
color = 'white'
|
|
9
|
+
}) => /*#__PURE__*/_jsx(Svg, {
|
|
10
|
+
width: size,
|
|
11
|
+
height: size,
|
|
12
|
+
viewBox: "0 0 19 19",
|
|
13
|
+
fill: "none",
|
|
14
|
+
children: /*#__PURE__*/_jsx(Path, {
|
|
15
|
+
fillRule: "evenodd",
|
|
16
|
+
clipRule: "evenodd",
|
|
17
|
+
d: "M6.68926 5.30356C6.56568 5.38721 6.39976 5.37561 6.29459 5.26937L3.58782 2.53477C3.46424 2.40992 3.47196 2.20492 3.60862 2.09483C5.2319 0.786982 7.28494 0 9.51866 0C11.7535 0 13.8066 0.787042 15.4308 2.09586C15.5674 2.20596 15.5752 2.41091 15.4516 2.53577L12.7468 5.26931C12.6416 5.37558 12.4757 5.38719 12.3521 5.30353C11.5393 4.75345 10.571 4.42281 9.52066 4.42281C8.47036 4.42281 7.50203 4.75346 6.68926 5.30356ZM16.4926 3.4303C16.6163 3.30527 16.8197 3.31303 16.9288 3.45121C18.2224 5.08933 19.0001 7.15932 19.0001 9.4116C19.0001 11.6671 18.2204 13.7392 16.9238 15.3785C16.8147 15.5165 16.6114 15.5242 16.4877 15.3992L13.7872 12.6701C13.682 12.5638 13.6708 12.3962 13.7538 12.2716C14.3006 11.451 14.6291 10.4727 14.6291 9.4116C14.6291 8.35454 14.3016 7.37925 13.756 6.56083C13.6728 6.43616 13.6841 6.26857 13.7893 6.16224L16.4926 3.4303ZM5.21676 12.6712C5.322 12.5649 5.3333 12.3974 5.2502 12.2727C4.70331 11.4522 4.374 10.4737 4.374 9.41184C4.374 8.35469 4.70232 7.37949 5.24808 6.56106C5.33123 6.43637 5.31996 6.26872 5.2147 6.16241L2.50855 3.4293C2.38482 3.30434 2.18146 3.31213 2.07236 3.45028C0.77864 5.08841 0 7.15845 0 9.41184C0 11.6684 0.78066 13.7406 2.07831 15.3799C2.18749 15.5178 2.39066 15.5255 2.51429 15.4006L5.21676 12.6712ZM12.3323 13.707C12.4559 13.6231 12.6221 13.6346 12.7273 13.741L15.4277 16.4691C15.5513 16.594 15.5435 16.7991 15.4068 16.9091C13.7837 18.215 11.7327 19 9.49998 19C7.2693 19 5.21837 18.2159 3.59619 16.9102C3.45943 16.8001 3.45169 16.595 3.57533 16.4702L6.27769 13.7409C6.38296 13.6346 6.54906 13.6231 6.67267 13.707C7.48459 14.2577 8.45278 14.5883 9.50198 14.5883C10.5522 14.5883 11.5204 14.2578 12.3323 13.707Z",
|
|
18
|
+
fill: color
|
|
19
|
+
})
|
|
20
|
+
});
|
|
21
|
+
export const CapturingIcon = ({
|
|
22
|
+
size = 24,
|
|
23
|
+
color = 'white'
|
|
24
|
+
}) => /*#__PURE__*/_jsxs(Svg, {
|
|
25
|
+
width: size,
|
|
26
|
+
height: size,
|
|
27
|
+
viewBox: "0 0 24 24",
|
|
28
|
+
fill: "none",
|
|
29
|
+
children: [/*#__PURE__*/_jsx(Circle, {
|
|
30
|
+
cx: "12",
|
|
31
|
+
cy: "12",
|
|
32
|
+
r: "4",
|
|
33
|
+
fill: color
|
|
34
|
+
}), /*#__PURE__*/_jsx(Circle, {
|
|
35
|
+
cx: "12",
|
|
36
|
+
cy: "12",
|
|
37
|
+
r: "7.5",
|
|
38
|
+
stroke: color,
|
|
39
|
+
strokeWidth: "1"
|
|
40
|
+
}), /*#__PURE__*/_jsx(Circle, {
|
|
41
|
+
cx: "12",
|
|
42
|
+
cy: "12",
|
|
43
|
+
r: "11.5",
|
|
44
|
+
stroke: color,
|
|
45
|
+
strokeWidth: "1",
|
|
46
|
+
opacity: "0.2"
|
|
47
|
+
})]
|
|
48
|
+
});
|
|
49
|
+
export const PausedIcon = ({
|
|
50
|
+
size = 24,
|
|
51
|
+
color = 'white'
|
|
52
|
+
}) => /*#__PURE__*/_jsx(Svg, {
|
|
53
|
+
width: size,
|
|
54
|
+
height: size,
|
|
55
|
+
viewBox: "0 0 24 24",
|
|
56
|
+
fill: "none",
|
|
57
|
+
children: /*#__PURE__*/_jsx(Path, {
|
|
58
|
+
d: "M8 5V19M16 5V19",
|
|
59
|
+
stroke: color,
|
|
60
|
+
strokeWidth: "2",
|
|
61
|
+
strokeLinecap: "round",
|
|
62
|
+
strokeLinejoin: "round"
|
|
63
|
+
})
|
|
64
|
+
});
|
|
65
|
+
export const CheckmarkIcon = ({
|
|
66
|
+
size = 24,
|
|
67
|
+
color = 'white'
|
|
68
|
+
}) => /*#__PURE__*/_jsx(Svg, {
|
|
69
|
+
width: size,
|
|
70
|
+
height: size,
|
|
71
|
+
viewBox: "0 0 24 24",
|
|
72
|
+
fill: "none",
|
|
73
|
+
children: /*#__PURE__*/_jsx(Path, {
|
|
74
|
+
fillRule: "evenodd",
|
|
75
|
+
clipRule: "evenodd",
|
|
76
|
+
d: "M20.0481 6.35147C20.5168 6.8201 20.5168 7.5799 20.0481 8.04853L10.4481 17.6485C9.97951 18.1172 9.21971 18.1172 8.75108 17.6485L3.95108 12.8485C3.48245 12.3799 3.48245 11.6201 3.95108 11.1515C4.41971 10.6828 5.17951 10.6828 5.64814 11.1515L9.59961 15.1029L18.3511 6.35147C18.8197 5.88284 19.5795 5.88284 20.0481 6.35147Z",
|
|
77
|
+
fill: color
|
|
78
|
+
})
|
|
79
|
+
});
|
|
80
|
+
export const LogoIcon = ({
|
|
81
|
+
size = 30,
|
|
82
|
+
color = '#473CFB'
|
|
83
|
+
}) => /*#__PURE__*/_jsx(Svg, {
|
|
84
|
+
width: size,
|
|
85
|
+
height: size * 0.8,
|
|
86
|
+
viewBox: "0 0 30 24",
|
|
87
|
+
fill: "none",
|
|
88
|
+
children: /*#__PURE__*/_jsx(Path, {
|
|
89
|
+
d: "M28.8324 8.83643L23.5495 6.85854L21.4856 6.08553L23.6001 0.4375L15 3.65769L6.39963 0.4375L8.51441 6.08585L6.45046 6.85885L1.16757 8.83674L0.625 9.03974L9.10095 12.0981C10.0891 12.4548 10.9201 13.1265 11.4758 13.9952C11.6632 14.2883 11.8194 14.6036 11.9398 14.9369L15 23.4076L18.0602 14.9369C18.1806 14.6036 18.3368 14.288 18.5242 13.9952C19.0802 13.1265 19.9112 12.4545 20.8991 12.0981L29.375 9.03974L28.8324 8.83674V8.83643ZM19.779 10.6434C18.2872 11.1816 17.1126 12.3563 16.5744 13.848L15.014 18.173L11.5182 8.83643L10.7776 6.85854L10.2456 5.43757L9.57367 3.64272L12.3068 4.66612L18.1631 6.85885L20.8233 7.85481L23.4457 8.83674L24.104 9.08308L19.779 10.6438V10.6434Z",
|
|
90
|
+
fill: color
|
|
91
|
+
})
|
|
92
|
+
});
|
|
93
|
+
//# sourceMappingURL=icons.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["React","Svg","Path","Circle","jsx","_jsx","jsxs","_jsxs","RecordIcon","size","color","width","height","viewBox","fill","children","fillRule","clipRule","d","CapturingIcon","cx","cy","r","stroke","strokeWidth","opacity","PausedIcon","strokeLinecap","strokeLinejoin","CheckmarkIcon","LogoIcon"],"sourceRoot":"../../../../src","sources":["components/SessionRecorderWidget/icons.tsx"],"mappings":";;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,OAAOC,GAAG,IAAIC,IAAI,EAAEC,MAAM,QAAQ,kBAAkB;AAAC,SAAAC,GAAA,IAAAC,IAAA,EAAAC,IAAA,IAAAC,KAAA;AAOrD,OAAO,MAAMC,UAA+B,GAAGA,CAAC;EAC9CC,IAAI,GAAG,EAAE;EACTC,KAAK,GAAG;AACV,CAAC,kBACCL,IAAA,CAACJ,GAAG;EAACU,KAAK,EAAEF,IAAK;EAACG,MAAM,EAAEH,IAAK;EAACI,OAAO,EAAC,WAAW;EAACC,IAAI,EAAC,MAAM;EAAAC,QAAA,eAC7DV,IAAA,CAACH,IAAI;IACHc,QAAQ,EAAC,SAAS;IAClBC,QAAQ,EAAC,SAAS;IAClBC,CAAC,EAAC,wnDAAwnD;IAC1nDJ,IAAI,EAAEJ;EAAM,CACb;AAAC,CACC,CACN;AAED,OAAO,MAAMS,aAAkC,GAAGA,CAAC;EACjDV,IAAI,GAAG,EAAE;EACTC,KAAK,GAAG;AACV,CAAC,kBACCH,KAAA,CAACN,GAAG;EAACU,KAAK,EAAEF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AA,eAC7DV,IAAA,CAACH,IAAI;IACHc,QAAQ,EAAC,SAAS;IAClBC,QAAQ,EAAC,SAAS;IAClBC,CAAC,EAAC,iUAAiU;IACnUJ,IAAI,EAAEJ;EAAM,CACb;AAAC,CACC,CACN;AAED,OAAO,MAAMoB,QAA6B,GAAGA,CAAC;EAC5CrB,IAAI,GAAG,EAAE;EACTC,KAAK,GAAG;AACV,CAAC,kBACCL,IAAA,CAACJ,GAAG;EAACU,KAAK,EAAEF,IAAK;EAACG,MAAM,EAAEH,IAAI,GAAG,GAAI;EAACI,OAAO,EAAC,WAAW;EAACC,IAAI,EAAC,MAAM;EAAAC,QAAA,eACnEV,IAAA,CAACH,IAAI;IACHgB,CAAC,EAAC,8pBAA8pB;IAChqBJ,IAAI,EAAEJ;EAAM,CACb;AAAC,CACC,CACN","ignoreList":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["SessionRecorderWidget"],"sourceRoot":"../../../../src","sources":["components/SessionRecorderWidget/index.ts"],"mappings":";;AAAA,OAAOA,qBAAqB,MAAM,4BAAyB;AAE3D,eAAeA,qBAAqB","ignoreList":[]}
|
|
@@ -0,0 +1,173 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
import { StyleSheet } from 'react-native';
|
|
4
|
+
export const sharedStyles = StyleSheet.create({
|
|
5
|
+
// Popover styles
|
|
6
|
+
popoverContent: {
|
|
7
|
+
flex: 1,
|
|
8
|
+
paddingHorizontal: 0
|
|
9
|
+
},
|
|
10
|
+
popoverHeader: {
|
|
11
|
+
flexDirection: 'column',
|
|
12
|
+
paddingBottom: 8,
|
|
13
|
+
paddingHorizontal: 16,
|
|
14
|
+
borderTopLeftRadius: 20,
|
|
15
|
+
borderTopRightRadius: 20,
|
|
16
|
+
backgroundColor: '#f4f9ff',
|
|
17
|
+
shadowColor: '#f4f9ff',
|
|
18
|
+
shadowOffset: {
|
|
19
|
+
width: 0,
|
|
20
|
+
height: 5
|
|
21
|
+
},
|
|
22
|
+
shadowOpacity: 1,
|
|
23
|
+
shadowRadius: 5,
|
|
24
|
+
elevation: 10
|
|
25
|
+
},
|
|
26
|
+
modalHandle: {
|
|
27
|
+
marginTop: 8,
|
|
28
|
+
marginBottom: 16,
|
|
29
|
+
width: 40,
|
|
30
|
+
height: 4,
|
|
31
|
+
backgroundColor: '#D1D5DB',
|
|
32
|
+
borderRadius: 2,
|
|
33
|
+
alignSelf: 'center'
|
|
34
|
+
},
|
|
35
|
+
popoverHeaderContent: {
|
|
36
|
+
flexDirection: 'row',
|
|
37
|
+
justifyContent: 'space-between',
|
|
38
|
+
alignItems: 'flex-start'
|
|
39
|
+
},
|
|
40
|
+
cancelButton: {
|
|
41
|
+
paddingHorizontal: 12,
|
|
42
|
+
paddingVertical: 6,
|
|
43
|
+
borderRadius: 6,
|
|
44
|
+
borderWidth: 1,
|
|
45
|
+
borderColor: '#e1e8f1',
|
|
46
|
+
backgroundColor: '#fff',
|
|
47
|
+
shadowColor: '#000',
|
|
48
|
+
shadowOffset: {
|
|
49
|
+
width: 0,
|
|
50
|
+
height: 2
|
|
51
|
+
},
|
|
52
|
+
shadowOpacity: 0.06,
|
|
53
|
+
shadowRadius: 3,
|
|
54
|
+
elevation: 3
|
|
55
|
+
},
|
|
56
|
+
cancelButtonText: {
|
|
57
|
+
color: '#374151',
|
|
58
|
+
fontSize: 14,
|
|
59
|
+
fontWeight: '500'
|
|
60
|
+
},
|
|
61
|
+
popoverBody: {
|
|
62
|
+
flex: 1,
|
|
63
|
+
padding: 16,
|
|
64
|
+
paddingTop: 24
|
|
65
|
+
},
|
|
66
|
+
title: {
|
|
67
|
+
fontSize: 18,
|
|
68
|
+
fontWeight: '600',
|
|
69
|
+
color: '#2d3748',
|
|
70
|
+
marginBottom: 12
|
|
71
|
+
},
|
|
72
|
+
description: {
|
|
73
|
+
fontSize: 14,
|
|
74
|
+
color: '#718096',
|
|
75
|
+
marginBottom: 16
|
|
76
|
+
},
|
|
77
|
+
popoverFooter: {
|
|
78
|
+
marginTop: 'auto',
|
|
79
|
+
paddingTop: 16
|
|
80
|
+
},
|
|
81
|
+
actionButton: {
|
|
82
|
+
paddingVertical: 16,
|
|
83
|
+
paddingHorizontal: 24,
|
|
84
|
+
borderRadius: 12,
|
|
85
|
+
alignItems: 'center'
|
|
86
|
+
},
|
|
87
|
+
actionButtonText: {
|
|
88
|
+
color: 'white',
|
|
89
|
+
fontSize: 16,
|
|
90
|
+
fontWeight: '500'
|
|
91
|
+
},
|
|
92
|
+
// Continuous recording styles
|
|
93
|
+
continuousRecordingSection: {
|
|
94
|
+
flexDirection: 'row',
|
|
95
|
+
justifyContent: 'space-between',
|
|
96
|
+
alignItems: 'center',
|
|
97
|
+
marginBottom: 20,
|
|
98
|
+
paddingVertical: 12,
|
|
99
|
+
paddingHorizontal: 16,
|
|
100
|
+
borderWidth: 1,
|
|
101
|
+
borderColor: '#e1e8f1',
|
|
102
|
+
backgroundColor: '#fff',
|
|
103
|
+
borderRadius: 12,
|
|
104
|
+
shadowColor: '#000',
|
|
105
|
+
shadowOffset: {
|
|
106
|
+
width: 0,
|
|
107
|
+
height: 2
|
|
108
|
+
},
|
|
109
|
+
shadowOpacity: 0.06,
|
|
110
|
+
shadowRadius: 3,
|
|
111
|
+
elevation: 3
|
|
112
|
+
},
|
|
113
|
+
continuousRecordingLabel: {
|
|
114
|
+
fontSize: 16,
|
|
115
|
+
fontWeight: '500',
|
|
116
|
+
color: '#374151'
|
|
117
|
+
},
|
|
118
|
+
continuousOverlay: {
|
|
119
|
+
borderRadius: 12,
|
|
120
|
+
borderWidth: 1,
|
|
121
|
+
borderColor: '#e1e8f1',
|
|
122
|
+
backgroundColor: '#fff',
|
|
123
|
+
padding: 12,
|
|
124
|
+
shadowColor: '#000',
|
|
125
|
+
shadowOffset: {
|
|
126
|
+
width: 0,
|
|
127
|
+
height: 2
|
|
128
|
+
},
|
|
129
|
+
shadowOpacity: 0.06,
|
|
130
|
+
shadowRadius: 3,
|
|
131
|
+
elevation: 3,
|
|
132
|
+
flexDirection: 'column',
|
|
133
|
+
gap: 8
|
|
134
|
+
},
|
|
135
|
+
continuousOverlayHeader: {
|
|
136
|
+
flexDirection: 'row',
|
|
137
|
+
alignItems: 'center',
|
|
138
|
+
gap: 8
|
|
139
|
+
},
|
|
140
|
+
continuousOverlayTitle: {
|
|
141
|
+
fontSize: 14,
|
|
142
|
+
fontWeight: '500',
|
|
143
|
+
color: '#2d3748'
|
|
144
|
+
},
|
|
145
|
+
continuousOverlayDescription: {
|
|
146
|
+
fontSize: 14,
|
|
147
|
+
color: '#718096',
|
|
148
|
+
lineHeight: 20
|
|
149
|
+
},
|
|
150
|
+
// Comment input styles
|
|
151
|
+
commentInput: {
|
|
152
|
+
borderWidth: 1,
|
|
153
|
+
borderColor: '#D1D5DB',
|
|
154
|
+
borderRadius: 8,
|
|
155
|
+
padding: 12,
|
|
156
|
+
fontSize: 16,
|
|
157
|
+
color: '#374151',
|
|
158
|
+
backgroundColor: '#F9FAFB',
|
|
159
|
+
marginBottom: 24,
|
|
160
|
+
minHeight: 80
|
|
161
|
+
},
|
|
162
|
+
// Button color variants
|
|
163
|
+
startButton: {
|
|
164
|
+
backgroundColor: '#473cfb'
|
|
165
|
+
},
|
|
166
|
+
stopButton: {
|
|
167
|
+
backgroundColor: '#473cfb'
|
|
168
|
+
},
|
|
169
|
+
saveButton: {
|
|
170
|
+
backgroundColor: '#473cfb'
|
|
171
|
+
}
|
|
172
|
+
});
|
|
173
|
+
//# sourceMappingURL=styles.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["StyleSheet","sharedStyles","create","popoverContent","flex","paddingHorizontal","popoverHeader","flexDirection","paddingBottom","borderTopLeftRadius","borderTopRightRadius","backgroundColor","shadowColor","shadowOffset","width","height","shadowOpacity","shadowRadius","elevation","modalHandle","marginTop","marginBottom","borderRadius","alignSelf","popoverHeaderContent","justifyContent","alignItems","cancelButton","paddingVertical","borderWidth","borderColor","cancelButtonText","color","fontSize","fontWeight","popoverBody","padding","paddingTop","title","description","popoverFooter","actionButton","actionButtonText","continuousRecordingSection","continuousRecordingLabel","continuousOverlay","gap","continuousOverlayHeader","continuousOverlayTitle","continuousOverlayDescription","lineHeight","commentInput","minHeight","startButton","stopButton","saveButton"],"sourceRoot":"../../../../src","sources":["components/SessionRecorderWidget/styles.ts"],"mappings":";;AAAA,SAASA,UAAU,QAAQ,cAAc;AAEzC,OAAO,MAAMC,YAAY,GAAGD,UAAU,CAACE,MAAM,CAAC;EAC5C;EACAC,cAAc,EAAE;IACdC,IAAI,EAAE,CAAC;IACPC,iBAAiB,EAAE;EACrB,CAAC;EACDC,aAAa,EAAE;IACbC,aAAa,EAAE,QAAQ;IACvBC,aAAa,EAAE,CAAC;IAChBH,iBAAiB,EAAE,EAAE;IACrBI,mBAAmB,EAAE,EAAE;IACvBC,oBAAoB,EAAE,EAAE;IACxBC,eAAe,EAAE,SAAS;IAC1BC,WAAW,EAAE,SAAS;IACtBC,YAAY,EAAE;MAAEC,KAAK,EAAE,CAAC;MAAEC,MAAM,EAAE;IAAE,CAAC;IACrCC,aAAa,EAAE,CAAC;IAChBC,YAAY,EAAE,CAAC;IACfC,SAAS,EAAE;EACb,CAAC;EACDC,WAAW,EAAE;IACXC,SAAS,EAAE,CAAC;IACZC,YAAY,EAAE,EAAE;IAChBP,KAAK,EAAE,EAAE;IACTC,MAAM,EAAE,CAAC;IACTJ,eAAe,EAAE,SAAS;IAC1BW,YAAY,EAAE,CAAC;IACfC,SAAS,EAAE;EACb,CAAC;EACDC,oBAAoB,EAAE;IACpBjB,aAAa,EAAE,KAAK;IACpBkB,cAAc,EAAE,eAAe;IAC/BC,UAAU,EAAE;EACd,CAAC;EAEDC,YAAY,EAAE;IACZtB,iBAAiB,EAAE,EAAE;IACrBuB,eAAe,EAAE,CAAC;IAClBN,YAAY,EAAE,CAAC;IACfO,WAAW,EAAE,CAAC;IACdC,WAAW,EAAE,SAAS;IACtBnB,eAAe,EAA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ACX1C,eAAe,EAAE;EACnB,CAAC;EACD2C,UAAU,EAAE;IACV3C,eAAe,EAAE;EACnB,CAAC;EACD4C,UAAU,EAAE;IACV5C,eAAe,EAAE;EACnB;AACF,CAAC,CAAC","ignoreList":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":[],"sourceRoot":"../../../src","sources":["components/index.ts"],"mappings":";;AAAA,cAAc,+BAAsB;AACpC,cAAc,kCAAyB","ignoreList":[]}
|