@zezosoft/zezo-ott-react-native-ui-kit 1.1.9 → 1.2.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.
Files changed (47) hide show
  1. package/lib/module/components/Auth/One/OTP/OTP.js +12 -4
  2. package/lib/module/components/Auth/One/OTP/OTP.js.map +1 -1
  3. package/lib/module/components/Auth/One/SplashScreen/SplashScreen.js +4 -4
  4. package/lib/module/components/Auth/One/SplashScreen/SplashScreen.js.map +1 -1
  5. package/lib/module/components/Auth/Two/OTP/OTP.js +12 -4
  6. package/lib/module/components/Auth/Two/OTP/OTP.js.map +1 -1
  7. package/lib/module/components/Auth/Two/index.js +0 -4
  8. package/lib/module/components/Auth/Two/index.js.map +1 -1
  9. package/lib/module/components/BottomSheet/BottomSheet.js +0 -1
  10. package/lib/module/components/BottomSheet/BottomSheet.js.map +1 -1
  11. package/lib/module/components/Content/Card/components/CardPoster.js +3 -4
  12. package/lib/module/components/Content/Card/components/CardPoster.js.map +1 -1
  13. package/lib/module/components/Search/components/SearchCard.js +22 -6
  14. package/lib/module/components/Search/components/SearchCard.js.map +1 -1
  15. package/lib/typescript/src/components/Auth/One/OTP/OTP.d.ts.map +1 -1
  16. package/lib/typescript/src/components/Auth/One/index.d.ts.map +1 -1
  17. package/lib/typescript/src/components/Auth/Two/OTP/OTP.d.ts.map +1 -1
  18. package/lib/typescript/src/components/Auth/Two/index.d.ts +0 -24
  19. package/lib/typescript/src/components/Auth/Two/index.d.ts.map +1 -1
  20. package/lib/typescript/src/components/Auth/index.d.ts +0 -24
  21. package/lib/typescript/src/components/Auth/index.d.ts.map +1 -1
  22. package/lib/typescript/src/components/BottomSheet/BottomSheet.d.ts.map +1 -1
  23. package/package.json +1 -1
  24. package/lib/module/components/Auth/Two/QrLogin/QrLogin.js +0 -479
  25. package/lib/module/components/Auth/Two/QrLogin/QrLogin.js.map +0 -1
  26. package/lib/module/components/Auth/Two/QrLogin/components/QrViewArea.js +0 -295
  27. package/lib/module/components/Auth/Two/QrLogin/components/QrViewArea.js.map +0 -1
  28. package/lib/module/components/Auth/Two/SplashScreen/SplashScreen.js +0 -141
  29. package/lib/module/components/Auth/Two/SplashScreen/SplashScreen.js.map +0 -1
  30. package/lib/module/components/Auth/Two/SplashScreen/components/SplashImage/SplashImage.js +0 -74
  31. package/lib/module/components/Auth/Two/SplashScreen/components/SplashImage/SplashImage.js.map +0 -1
  32. package/lib/module/components/Auth/Two/SplashScreen/components/SplashLottie/SplashLottie.js +0 -63
  33. package/lib/module/components/Auth/Two/SplashScreen/components/SplashLottie/SplashLottie.js.map +0 -1
  34. package/lib/module/components/Auth/Two/SplashScreen/components/SplashVideo/SplashVideo.js +0 -157
  35. package/lib/module/components/Auth/Two/SplashScreen/components/SplashVideo/SplashVideo.js.map +0 -1
  36. package/lib/typescript/src/components/Auth/Two/QrLogin/QrLogin.d.ts +0 -19
  37. package/lib/typescript/src/components/Auth/Two/QrLogin/QrLogin.d.ts.map +0 -1
  38. package/lib/typescript/src/components/Auth/Two/QrLogin/components/QrViewArea.d.ts +0 -14
  39. package/lib/typescript/src/components/Auth/Two/QrLogin/components/QrViewArea.d.ts.map +0 -1
  40. package/lib/typescript/src/components/Auth/Two/SplashScreen/SplashScreen.d.ts +0 -35
  41. package/lib/typescript/src/components/Auth/Two/SplashScreen/SplashScreen.d.ts.map +0 -1
  42. package/lib/typescript/src/components/Auth/Two/SplashScreen/components/SplashImage/SplashImage.d.ts +0 -12
  43. package/lib/typescript/src/components/Auth/Two/SplashScreen/components/SplashImage/SplashImage.d.ts.map +0 -1
  44. package/lib/typescript/src/components/Auth/Two/SplashScreen/components/SplashLottie/SplashLottie.d.ts +0 -17
  45. package/lib/typescript/src/components/Auth/Two/SplashScreen/components/SplashLottie/SplashLottie.d.ts.map +0 -1
  46. package/lib/typescript/src/components/Auth/Two/SplashScreen/components/SplashVideo/SplashVideo.d.ts +0 -20
  47. package/lib/typescript/src/components/Auth/Two/SplashScreen/components/SplashVideo/SplashVideo.d.ts.map +0 -1
@@ -1,157 +0,0 @@
1
- "use strict";
2
-
3
- /**
4
- * @author Naresh Dhamu
5
- * @lastModified Sat 25 Oct 2025
6
- */
7
-
8
- import React, { useMemo, useCallback, useRef, useEffect } from 'react';
9
- import { StyleSheet, Animated, useWindowDimensions } from 'react-native';
10
- import Video from 'react-native-video';
11
- import Display from "../../../../../../utils/Display.js";
12
- import { View } from "../../../../../View/index.js";
13
- import { jsx as _jsx } from "react/jsx-runtime";
14
- const SplashVideo = ({
15
- fullscreen = true,
16
- width,
17
- height,
18
- source,
19
- resizeMode = 'cover',
20
- onEnd,
21
- onLoadStart,
22
- onLoaded,
23
- onError
24
- }) => {
25
- const fadeAnim = useRef(new Animated.Value(0)).current;
26
- const {
27
- width: windowWidth,
28
- height: windowHeight
29
- } = useWindowDimensions();
30
-
31
- /** 🎨 Compute video dimensions – fullscreen uses 100% for all devices; otherwise use window dimensions */
32
- const videoStyle = useMemo(() => {
33
- if (fullscreen) {
34
- return {
35
- width: '100%',
36
- height: '100%'
37
- };
38
- }
39
- const w = width ?? windowWidth ?? Display.fullWidth;
40
- const h = height ?? windowHeight ?? Display.fullHeight;
41
- return {
42
- width: w,
43
- height: h
44
- };
45
- }, [fullscreen, width, height, windowWidth, windowHeight]);
46
-
47
- /** 🎨 Fullscreen wrapper fills container so video covers entire screen on any device */
48
- const wrapperStyle = useMemo(() => fullscreen ? [StyleSheet.absoluteFillObject, {
49
- opacity: fadeAnim
50
- }] : [videoStyle, {
51
- opacity: fadeAnim,
52
- position: 'absolute'
53
- }], [fullscreen, videoStyle, fadeAnim]);
54
-
55
- /** 🌀 Fade-in animation */
56
- const animateIn = useCallback(() => {
57
- Animated.timing(fadeAnim, {
58
- toValue: 1,
59
- duration: 400,
60
- useNativeDriver: true
61
- }).start();
62
- }, [fadeAnim]);
63
-
64
- /** 📦 Resolve video URI */
65
- const resolveUri = useCallback(src => {
66
- if (!src) return '';
67
- if (/^(https?|file):\/\//.test(src)) return src;
68
- return `file://${src}`;
69
- }, []);
70
-
71
- /** 🔄 Video lifecycle handlers */
72
- const handleLoadStart = useCallback(() => {
73
- fadeAnim.setValue(0);
74
- onLoadStart?.();
75
- }, [fadeAnim, onLoadStart]);
76
- const handleLoad = useCallback(data => {
77
- animateIn();
78
- onLoaded?.(data);
79
- }, [animateIn, onLoaded]);
80
- const handleError = useCallback(err => {
81
- const errorMsg = err?.error?.message || err?.message || JSON.stringify(err) || 'Unknown video error';
82
- onError?.(errorMsg);
83
- }, [onError]);
84
-
85
- /** 🧹 Cleanup animation */
86
- useEffect(() => {
87
- return () => fadeAnim.stopAnimation();
88
- }, [fadeAnim]);
89
-
90
- // Memoize resolved URI
91
- const resolvedUri = useMemo(() => resolveUri(source), [source, resolveUri]);
92
-
93
- // Memoize video source
94
- const videoSource = useMemo(() => ({
95
- uri: resolvedUri
96
- }), [resolvedUri]);
97
-
98
- // Memoize controls styles
99
- const controlsStyles = useMemo(() => ({
100
- hideForward: true,
101
- hideDuration: true,
102
- hideFullscreen: true,
103
- hidePlayPause: true,
104
- hideNavigationBarOnFullScreenMode: true,
105
- hideNotificationBarOnFullScreenMode: true,
106
- hideNext: true,
107
- hidePosition: true,
108
- hidePrevious: true,
109
- hideRewind: true,
110
- hideSeekBar: true,
111
- hideSettingButton: true
112
- }), []);
113
-
114
- /** 🧱 Render */
115
- if (!source || !resolvedUri) {
116
- return null;
117
- }
118
- return /*#__PURE__*/_jsx(View, {
119
- style: styles.container,
120
- children: /*#__PURE__*/_jsx(Animated.View, {
121
- style: wrapperStyle,
122
- children: /*#__PURE__*/_jsx(Video, {
123
- source: videoSource,
124
- style: styles.video,
125
- resizeMode: resizeMode,
126
- paused: false,
127
- onLoadStart: handleLoadStart,
128
- onLoad: handleLoad,
129
- onError: handleError,
130
- onEnd: onEnd,
131
- controlsStyles: controlsStyles,
132
- ignoreSilentSwitch: "obey",
133
- playInBackground: false,
134
- playWhenInactive: false,
135
- allowsExternalPlayback: false,
136
- automaticallyWaitsToMinimizeStalling: true,
137
- controls: false,
138
- repeat: false
139
- })
140
- })
141
- });
142
- };
143
- const styles = StyleSheet.create({
144
- container: {
145
- flex: 1,
146
- width: '100%',
147
- height: '100%',
148
- position: 'relative',
149
- alignSelf: 'stretch'
150
- },
151
- video: {
152
- width: '100%',
153
- height: '100%'
154
- }
155
- });
156
- export default /*#__PURE__*/React.memo(SplashVideo);
157
- //# sourceMappingURL=SplashVideo.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["React","useMemo","useCallback","useRef","useEffect","StyleSheet","Animated","useWindowDimensions","Video","Display","View","jsx","_jsx","SplashVideo","fullscreen","width","height","source","resizeMode","onEnd","onLoadStart","onLoaded","onError","fadeAnim","Value","current","windowWidth","windowHeight","videoStyle","w","fullWidth","h","fullHeight","wrapperStyle","absoluteFillObject","opacity","position","animateIn","timing","toValue","duration","useNativeDriver","start","resolveUri","src","test","handleLoadStart","setValue","handleLoad","data","handleError","err","errorMsg","error","message","JSON","stringify","stopAnimation","resolvedUri","videoSource","uri","controlsStyles","hideForward","hideDuration","hideFullscreen","hidePlayPause","hideNavigationBarOnFullScreenMode","hideNotificationBarOnFullScreenMode","hideNext","hidePosition","hidePrevious","hideRewind","hideSeekBar","hideSettingButton","style","styles","container","children","video","paused","onLoad","ignoreSilentSwitch","playInBackground","playWhenInactive","allowsExternalPlayback","automaticallyWaitsToMinimizeStalling","controls","repeat","create","flex","alignSelf","memo"],"sourceRoot":"../../../../../../../../src","sources":["components/Auth/Two/SplashScreen/components/SplashVideo/SplashVideo.tsx"],"mappings":";;AAAA;AACA;AACA;AACA;;AAEA,OAAOA,KAAK,IAAIC,OAAO,EAAEC,WAAW,EAAEC,MAAM,EAAEC,SAAS,QAAQ,OAAO;AACtE,SAASC,UAAU,EAAEC,QAAQ,EAAEC,mBAAmB,QAAQ,cAAc;AACxE,OAAOC,KAAK,MAGL,oBAAoB;AAC3B,OAAOC,OAAO,MAAM,oCAAiC;AACrD,SAASC,IAAI,QAAQ,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AAE,KAAM;QACxBC,sBAAsB,EAAE,KAAM;QAC9BC,oCAAoC;QACpCC,QAAQ,EAAE,KAAM;QAChBC,MAAM,EAAE;MAAM,CACf;IAAC,CACW;EAAC,CACZ,CAAC;AAEX,CAAC;AAED,MAAMZ,MAAM,GAAGtE,UAAU,CAACmF,MAAM,CAAC;EAC/BZ,SAAS,EAAE;IACTa,IAAI,EAAE,CAAC;IACP1E,KAAK,EAAE,MAAM;IACbC,MAAM,EAAE,MAAM;IACdoB,QAAQ,EAAE,UAAU;IACpBsD,SAAS,EAAE;EACb,CAAC;EACDZ,KAAK,EAAE;IACL/D,KAAK,EAAE,MAAM;IACbC,MAAM,EAAE;EACV;AACF,CAAC,CAAC;AAEF,4BAAehB,KAAK,CAAC2F,IAAI,CAAC9E,WAAW,CAAC","ignoreList":[]}
@@ -1,19 +0,0 @@
1
- /**
2
- * @author Ashok Desai
3
- * @lastModified oct 02 Oct 2025 at 10:30 AM
4
- */
5
- import React from 'react';
6
- import type { ThemeOverride } from '../../../../theme/themes';
7
- export type QrLoginProps = {
8
- title?: string;
9
- description?: string;
10
- scanButtonText?: string;
11
- onBackPress?: () => void;
12
- onScanSuccess?: (value: string) => void;
13
- onScanError?: (error: string) => void;
14
- allowMultipleScans?: boolean;
15
- theme?: ThemeOverride;
16
- };
17
- export declare const QrLogin: React.FC<QrLoginProps>;
18
- export default QrLogin;
19
- //# sourceMappingURL=QrLogin.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"QrLogin.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/Auth/Two/QrLogin/QrLogin.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AACH,OAAO,KAMN,MAAM,OAAO,CAAC;AAef,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,0BAA0B,CAAC;AA+B9D,MAAM,MAAM,YAAY,GAAG;IACzB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,WAAW,CAAC,EAAE,MAAM,IAAI,CAAC;IACzB,aAAa,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACxC,WAAW,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACtC,kBAAkB,CAAC,EAAE,OAAO,CAAC;IAC7B,KAAK,CAAC,EAAE,aAAa,CAAC;CACvB,CAAC;AAwOF,eAAO,MAAM,OAAO,EAAE,KAAK,CAAC,EAAE,CAAC,YAAY,CAgP1C,CAAC;AAgEF,eAAe,OAAO,CAAC"}
@@ -1,14 +0,0 @@
1
- /**
2
- * @author Ashok Desai
3
- * @lastModified oct 02 Oct 2025 at 10:30 AM
4
- */
5
- import React from 'react';
6
- import type { ThemeOverride } from '../../../../../theme/themes';
7
- type QrViewAreaProps = {
8
- scanBoxWidth?: number;
9
- headerHeight?: number;
10
- theme?: ThemeOverride;
11
- };
12
- declare const QrViewArea: React.FC<QrViewAreaProps>;
13
- export default QrViewArea;
14
- //# sourceMappingURL=QrViewArea.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"QrViewArea.d.ts","sourceRoot":"","sources":["../../../../../../../../src/components/Auth/Two/QrLogin/components/QrViewArea.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AACH,OAAO,KAAkD,MAAM,OAAO,CAAC;AAWvE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,6BAA6B,CAAC;AAmBjE,KAAK,eAAe,GAAG;IACrB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,KAAK,CAAC,EAAE,aAAa,CAAC;CACvB,CAAC;AA+MF,QAAA,MAAM,UAAU,EAAE,KAAK,CAAC,EAAE,CAAC,eAAe,CA6HzC,CAAC;AAoDF,eAAe,UAAU,CAAC"}
@@ -1,35 +0,0 @@
1
- /**
2
- * @author Naresh Dhamu
3
- * @lastModified Fri 17 Oct 2025 at 09:51 PM
4
- */
5
- import React from 'react';
6
- import { type ViewStyle } from 'react-native';
7
- import type { ThemeOverride } from '../../../../theme/themes';
8
- type SplashType = 'image' | 'video' | 'lottie-animation';
9
- type SplashScreenConfig = {
10
- source: string;
11
- type?: SplashType;
12
- width: number;
13
- height: number;
14
- isStatic?: boolean;
15
- screenTime?: number;
16
- fullscreen?: boolean;
17
- resizeMode?: 'contain' | 'cover' | 'stretch' | 'repeat' | 'center';
18
- backgroundColor?: string;
19
- };
20
- type SplashScreenProps = {
21
- logoUrl: string;
22
- splashScreenConfig: SplashScreenConfig;
23
- innerContainerStyle?: ViewStyle;
24
- onRedirect: () => void;
25
- theme?: ThemeOverride;
26
- backgroundImage?: {
27
- source?: string | null;
28
- onImageError?: (error: Error) => void;
29
- gradientSplitBackground?: number;
30
- resizeMode?: 'cover' | 'contain' | 'stretch' | 'repeat';
31
- };
32
- };
33
- export declare const SplashScreen: React.FC<SplashScreenProps>;
34
- export {};
35
- //# sourceMappingURL=SplashScreen.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"SplashScreen.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/Auth/Two/SplashScreen/SplashScreen.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAA0C,MAAM,OAAO,CAAC;AAC/D,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAK9C,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,0BAA0B,CAAC;AAO9D,KAAK,UAAU,GAAG,OAAO,GAAG,OAAO,GAAG,kBAAkB,CAAC;AAEzD,KAAK,kBAAkB,GAAG;IACxB,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,CAAC,EAAE,UAAU,CAAC;IAClB,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,UAAU,CAAC,EAAE,SAAS,GAAG,OAAO,GAAG,SAAS,GAAG,QAAQ,GAAG,QAAQ,CAAC;IACnE,eAAe,CAAC,EAAE,MAAM,CAAC;CAC1B,CAAC;AAEF,KAAK,iBAAiB,GAAG;IACvB,OAAO,EAAE,MAAM,CAAC;IAChB,kBAAkB,EAAE,kBAAkB,CAAC;IACvC,mBAAmB,CAAC,EAAE,SAAS,CAAC;IAChC,UAAU,EAAE,MAAM,IAAI,CAAC;IACvB,KAAK,CAAC,EAAE,aAAa,CAAC;IACtB,eAAe,CAAC,EAAE;QAChB,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;QACvB,YAAY,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,KAAK,IAAI,CAAC;QACtC,uBAAuB,CAAC,EAAE,MAAM,CAAC;QACjC,UAAU,CAAC,EAAE,OAAO,GAAG,SAAS,GAAG,SAAS,GAAG,QAAQ,CAAC;KACzD,CAAC;CACH,CAAC;AASF,eAAO,MAAM,YAAY,EAAE,KAAK,CAAC,EAAE,CAAC,iBAAiB,CA6LpD,CAAC"}
@@ -1,12 +0,0 @@
1
- import React from 'react';
2
- type SplashImageProps = {
3
- source: string;
4
- width: number;
5
- height: number;
6
- fullscreen: boolean;
7
- resizeMode?: 'cover' | 'contain' | 'stretch' | 'center';
8
- backgroundColor?: string;
9
- };
10
- declare const _default: React.NamedExoticComponent<SplashImageProps>;
11
- export default _default;
12
- //# sourceMappingURL=SplashImage.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"SplashImage.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/components/Auth/Two/SplashScreen/components/SplashImage/SplashImage.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAoD,MAAM,OAAO,CAAC;AAKzE,KAAK,gBAAgB,GAAG;IACtB,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;IACf,UAAU,EAAE,OAAO,CAAC;IACpB,UAAU,CAAC,EAAE,OAAO,GAAG,SAAS,GAAG,SAAS,GAAG,QAAQ,CAAC;IACxD,eAAe,CAAC,EAAE,MAAM,CAAC;CAC1B,CAAC;;AA+EF,wBAAuC"}
@@ -1,17 +0,0 @@
1
- /**
2
- * @author Naresh Dhamu
3
- * @lastModified Thu 12 Jun 2025 at 09:22 AM
4
- */
5
- import React from 'react';
6
- type ResizeMode = 'cover' | 'contain' | 'center';
7
- interface IProps {
8
- source: string;
9
- width: number;
10
- height: number;
11
- fullscreen: boolean;
12
- resizeMode?: ResizeMode;
13
- onAnimationFinish?: () => void;
14
- }
15
- declare const _default: React.NamedExoticComponent<IProps>;
16
- export default _default;
17
- //# sourceMappingURL=SplashLottie.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"SplashLottie.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/components/Auth/Two/SplashScreen/components/SplashLottie/SplashLottie.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AACH,OAAO,KAA+B,MAAM,OAAO,CAAC;AAKpD,KAAK,UAAU,GAAG,OAAO,GAAG,SAAS,GAAG,QAAQ,CAAC;AAEjD,UAAU,MAAM;IACd,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;IACf,UAAU,EAAE,OAAO,CAAC;IACpB,UAAU,CAAC,EAAE,UAAU,CAAC;IACxB,iBAAiB,CAAC,EAAE,MAAM,IAAI,CAAC;CAChC;;AA0DD,wBAAwC"}
@@ -1,20 +0,0 @@
1
- /**
2
- * @author Naresh Dhamu
3
- * @lastModified Sat 25 Oct 2025
4
- */
5
- import React from 'react';
6
- import { type OnLoadData } from 'react-native-video';
7
- interface IProps {
8
- width?: number;
9
- height?: number;
10
- source: string;
11
- fullscreen?: boolean;
12
- resizeMode?: 'cover' | 'contain' | 'stretch' | 'none';
13
- onEnd?: () => void;
14
- onLoadStart?: () => void;
15
- onLoaded?: (data: OnLoadData) => void;
16
- onError?: (error: string) => void;
17
- }
18
- declare const _default: React.NamedExoticComponent<IProps>;
19
- export default _default;
20
- //# sourceMappingURL=SplashVideo.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"SplashVideo.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/components/Auth/Two/SplashScreen/components/SplashVideo/SplashVideo.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAkD,MAAM,OAAO,CAAC;AAEvE,OAAc,EACZ,KAAK,UAAU,EAEhB,MAAM,oBAAoB,CAAC;AAI5B,UAAU,MAAM;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,MAAM,EAAE,MAAM,CAAC;IACf,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,UAAU,CAAC,EAAE,OAAO,GAAG,SAAS,GAAG,SAAS,GAAG,MAAM,CAAC;IACtD,KAAK,CAAC,EAAE,MAAM,IAAI,CAAC;IACnB,WAAW,CAAC,EAAE,MAAM,IAAI,CAAC;IACzB,QAAQ,CAAC,EAAE,CAAC,IAAI,EAAE,UAAU,KAAK,IAAI,CAAC;IACtC,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;CACnC;;AAyJD,wBAAuC"}