@zezosoft/zezo-ott-react-native-ui-kit 0.1.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 (202) hide show
  1. package/LICENSE +20 -0
  2. package/README.md +32 -0
  3. package/lib/module/assets/animations/135037-payment-processing-error.json +1 -0
  4. package/lib/module/assets/animations/7227-vui-animation.json +1 -0
  5. package/lib/module/assets/animations/succesfull-payment.json +1 -0
  6. package/lib/module/assets/animations/voice-icon.json +1 -0
  7. package/lib/module/assets/img/back.png +0 -0
  8. package/lib/module/assets/img/bottom-panel.png +0 -0
  9. package/lib/module/assets/img/camera.png +0 -0
  10. package/lib/module/assets/img/camera2.png +0 -0
  11. package/lib/module/assets/img/h.svg +4 -0
  12. package/lib/module/assets/img/home.png +0 -0
  13. package/lib/module/assets/img/lock.png +0 -0
  14. package/lib/module/assets/img/play.png +0 -0
  15. package/lib/module/assets/img/profile.png +0 -0
  16. package/lib/module/assets/img/qr-code.png +0 -0
  17. package/lib/module/assets/img/shadow.png +0 -0
  18. package/lib/module/assets/img/shadow2.png +0 -0
  19. package/lib/module/assets/img/user.png +0 -0
  20. package/lib/module/assets/svg/content-error.svg +28 -0
  21. package/lib/module/assets/svg/download.svg +3 -0
  22. package/lib/module/assets/svg/favorites.svg +3 -0
  23. package/lib/module/assets/svg/home.svg +5 -0
  24. package/lib/module/assets/svg/menu-bar.svg +4 -0
  25. package/lib/module/assets/svg/my-space.svg +14 -0
  26. package/lib/module/assets/svg/play-icon-with-bg.svg +5 -0
  27. package/lib/module/assets/svg/search.svg +5 -0
  28. package/lib/module/assets/svg/server-error.svg +139 -0
  29. package/lib/module/components/Button/Button.js +22 -0
  30. package/lib/module/components/Button/Button.js.map +1 -0
  31. package/lib/module/components/Button/styles.js +23 -0
  32. package/lib/module/components/Button/styles.js.map +1 -0
  33. package/lib/module/components/Headers/One.js +101 -0
  34. package/lib/module/components/Headers/One.js.map +1 -0
  35. package/lib/module/components/Headers/Three.js +62 -0
  36. package/lib/module/components/Headers/Three.js.map +1 -0
  37. package/lib/module/components/Headers/Two.js +77 -0
  38. package/lib/module/components/Headers/Two.js.map +1 -0
  39. package/lib/module/components/Headers/index.js +17 -0
  40. package/lib/module/components/Headers/index.js.map +1 -0
  41. package/lib/module/components/Icons/AlertIcon.js +33 -0
  42. package/lib/module/components/Icons/AlertIcon.js.map +1 -0
  43. package/lib/module/components/Icons/DeviceIcon.js +25 -0
  44. package/lib/module/components/Icons/DeviceIcon.js.map +1 -0
  45. package/lib/module/components/Icons/DoneIcon/DoneIcon.js +23 -0
  46. package/lib/module/components/Icons/DoneIcon/DoneIcon.js.map +1 -0
  47. package/lib/module/components/Icons/ForgotPasswordMessageIcon.js +65 -0
  48. package/lib/module/components/Icons/ForgotPasswordMessageIcon.js.map +1 -0
  49. package/lib/module/components/Icons/ForgotPasswordMessageIconTwo.js +56 -0
  50. package/lib/module/components/Icons/ForgotPasswordMessageIconTwo.js.map +1 -0
  51. package/lib/module/components/Icons/NewIndex.js +24 -0
  52. package/lib/module/components/Icons/NewIndex.js.map +1 -0
  53. package/lib/module/components/Icons/ResendOTP.js +21 -0
  54. package/lib/module/components/Icons/ResendOTP.js.map +1 -0
  55. package/lib/module/components/Loader/Loader.js +35 -0
  56. package/lib/module/components/Loader/Loader.js.map +1 -0
  57. package/lib/module/components/Logo/Logo.js +41 -0
  58. package/lib/module/components/Logo/Logo.js.map +1 -0
  59. package/lib/module/components/Section/Card/Sliders/Styles/One.js +123 -0
  60. package/lib/module/components/Section/Card/Sliders/Styles/One.js.map +1 -0
  61. package/lib/module/components/Section/Card/Sliders/index.js +14 -0
  62. package/lib/module/components/Section/Card/Sliders/index.js.map +1 -0
  63. package/lib/module/components/Section/Card/Styles/One.js +92 -0
  64. package/lib/module/components/Section/Card/Styles/One.js.map +1 -0
  65. package/lib/module/components/Section/Card/index.js +14 -0
  66. package/lib/module/components/Section/Card/index.js.map +1 -0
  67. package/lib/module/components/Section/SectionType.js +98 -0
  68. package/lib/module/components/Section/SectionType.js.map +1 -0
  69. package/lib/module/components/Section/Sections.js +72 -0
  70. package/lib/module/components/Section/Sections.js.map +1 -0
  71. package/lib/module/components/index.js +13 -0
  72. package/lib/module/components/index.js.map +1 -0
  73. package/lib/module/index.js +9 -0
  74. package/lib/module/index.js.map +1 -0
  75. package/lib/module/package.json +1 -0
  76. package/lib/module/sample.test.js +8 -0
  77. package/lib/module/sample.test.js.map +1 -0
  78. package/lib/module/theme/themes.js +118 -0
  79. package/lib/module/theme/themes.js.map +1 -0
  80. package/lib/module/theme/useAppTheme.js +14 -0
  81. package/lib/module/theme/useAppTheme.js.map +1 -0
  82. package/lib/module/types/content.types.js +2 -0
  83. package/lib/module/types/content.types.js.map +1 -0
  84. package/lib/module/types/index.js +5 -0
  85. package/lib/module/types/index.js.map +1 -0
  86. package/lib/module/types/sections.types.js +4 -0
  87. package/lib/module/types/sections.types.js.map +1 -0
  88. package/lib/typescript/package.json +1 -0
  89. package/lib/typescript/src/components/Button/Button.d.ts +9 -0
  90. package/lib/typescript/src/components/Button/Button.d.ts.map +1 -0
  91. package/lib/typescript/src/components/Button/styles.d.ts +20 -0
  92. package/lib/typescript/src/components/Button/styles.d.ts.map +1 -0
  93. package/lib/typescript/src/components/Headers/One.d.ts +25 -0
  94. package/lib/typescript/src/components/Headers/One.d.ts.map +1 -0
  95. package/lib/typescript/src/components/Headers/Three.d.ts +14 -0
  96. package/lib/typescript/src/components/Headers/Three.d.ts.map +1 -0
  97. package/lib/typescript/src/components/Headers/Two.d.ts +19 -0
  98. package/lib/typescript/src/components/Headers/Two.d.ts.map +1 -0
  99. package/lib/typescript/src/components/Headers/index.d.ts +11 -0
  100. package/lib/typescript/src/components/Headers/index.d.ts.map +1 -0
  101. package/lib/typescript/src/components/Icons/AlertIcon.d.ts +7 -0
  102. package/lib/typescript/src/components/Icons/AlertIcon.d.ts.map +1 -0
  103. package/lib/typescript/src/components/Icons/DeviceIcon.d.ts +7 -0
  104. package/lib/typescript/src/components/Icons/DeviceIcon.d.ts.map +1 -0
  105. package/lib/typescript/src/components/Icons/DoneIcon/DoneIcon.d.ts +6 -0
  106. package/lib/typescript/src/components/Icons/DoneIcon/DoneIcon.d.ts.map +1 -0
  107. package/lib/typescript/src/components/Icons/ForgotPasswordMessageIcon.d.ts +3 -0
  108. package/lib/typescript/src/components/Icons/ForgotPasswordMessageIcon.d.ts.map +1 -0
  109. package/lib/typescript/src/components/Icons/ForgotPasswordMessageIconTwo.d.ts +3 -0
  110. package/lib/typescript/src/components/Icons/ForgotPasswordMessageIconTwo.d.ts.map +1 -0
  111. package/lib/typescript/src/components/Icons/NewIndex.d.ts +13 -0
  112. package/lib/typescript/src/components/Icons/NewIndex.d.ts.map +1 -0
  113. package/lib/typescript/src/components/Icons/ResendOTP.d.ts +7 -0
  114. package/lib/typescript/src/components/Icons/ResendOTP.d.ts.map +1 -0
  115. package/lib/typescript/src/components/Loader/Loader.d.ts +11 -0
  116. package/lib/typescript/src/components/Loader/Loader.d.ts.map +1 -0
  117. package/lib/typescript/src/components/Logo/Logo.d.ts +19 -0
  118. package/lib/typescript/src/components/Logo/Logo.d.ts.map +1 -0
  119. package/lib/typescript/src/components/Section/Card/Sliders/Styles/One.d.ts +18 -0
  120. package/lib/typescript/src/components/Section/Card/Sliders/Styles/One.d.ts.map +1 -0
  121. package/lib/typescript/src/components/Section/Card/Sliders/index.d.ts +7 -0
  122. package/lib/typescript/src/components/Section/Card/Sliders/index.d.ts.map +1 -0
  123. package/lib/typescript/src/components/Section/Card/Styles/One.d.ts +19 -0
  124. package/lib/typescript/src/components/Section/Card/Styles/One.d.ts.map +1 -0
  125. package/lib/typescript/src/components/Section/Card/index.d.ts +7 -0
  126. package/lib/typescript/src/components/Section/Card/index.d.ts.map +1 -0
  127. package/lib/typescript/src/components/Section/SectionType.d.ts +26 -0
  128. package/lib/typescript/src/components/Section/SectionType.d.ts.map +1 -0
  129. package/lib/typescript/src/components/Section/Sections.d.ts +27 -0
  130. package/lib/typescript/src/components/Section/Sections.d.ts.map +1 -0
  131. package/lib/typescript/src/components/index.d.ts +10 -0
  132. package/lib/typescript/src/components/index.d.ts.map +1 -0
  133. package/lib/typescript/src/index.d.ts +7 -0
  134. package/lib/typescript/src/index.d.ts.map +1 -0
  135. package/lib/typescript/src/sample.test.d.ts +1 -0
  136. package/lib/typescript/src/sample.test.d.ts.map +1 -0
  137. package/lib/typescript/src/theme/themes.d.ts +57 -0
  138. package/lib/typescript/src/theme/themes.d.ts.map +1 -0
  139. package/lib/typescript/src/theme/useAppTheme.d.ts +46 -0
  140. package/lib/typescript/src/theme/useAppTheme.d.ts.map +1 -0
  141. package/lib/typescript/src/types/content.types.d.ts +154 -0
  142. package/lib/typescript/src/types/content.types.d.ts.map +1 -0
  143. package/lib/typescript/src/types/index.d.ts +3 -0
  144. package/lib/typescript/src/types/index.d.ts.map +1 -0
  145. package/lib/typescript/src/types/sections.types.d.ts +41 -0
  146. package/lib/typescript/src/types/sections.types.d.ts.map +1 -0
  147. package/package.json +168 -0
  148. package/src/assets/animations/135037-payment-processing-error.json +1 -0
  149. package/src/assets/animations/7227-vui-animation.json +1 -0
  150. package/src/assets/animations/succesfull-payment.json +1 -0
  151. package/src/assets/animations/voice-icon.json +1 -0
  152. package/src/assets/img/back.png +0 -0
  153. package/src/assets/img/bottom-panel.png +0 -0
  154. package/src/assets/img/camera.png +0 -0
  155. package/src/assets/img/camera2.png +0 -0
  156. package/src/assets/img/h.svg +4 -0
  157. package/src/assets/img/home.png +0 -0
  158. package/src/assets/img/lock.png +0 -0
  159. package/src/assets/img/play.png +0 -0
  160. package/src/assets/img/profile.png +0 -0
  161. package/src/assets/img/qr-code.png +0 -0
  162. package/src/assets/img/shadow.png +0 -0
  163. package/src/assets/img/shadow2.png +0 -0
  164. package/src/assets/img/user.png +0 -0
  165. package/src/assets/svg/content-error.svg +28 -0
  166. package/src/assets/svg/download.svg +3 -0
  167. package/src/assets/svg/favorites.svg +3 -0
  168. package/src/assets/svg/home.svg +5 -0
  169. package/src/assets/svg/menu-bar.svg +4 -0
  170. package/src/assets/svg/my-space.svg +14 -0
  171. package/src/assets/svg/play-icon-with-bg.svg +5 -0
  172. package/src/assets/svg/search.svg +5 -0
  173. package/src/assets/svg/server-error.svg +139 -0
  174. package/src/components/Button/Button.tsx +32 -0
  175. package/src/components/Button/styles.ts +21 -0
  176. package/src/components/Headers/One.tsx +100 -0
  177. package/src/components/Headers/Three.tsx +63 -0
  178. package/src/components/Headers/Two.tsx +75 -0
  179. package/src/components/Headers/index.ts +16 -0
  180. package/src/components/Icons/AlertIcon.tsx +29 -0
  181. package/src/components/Icons/DeviceIcon.tsx +24 -0
  182. package/src/components/Icons/DoneIcon/DoneIcon.tsx +17 -0
  183. package/src/components/Icons/ForgotPasswordMessageIcon.tsx +55 -0
  184. package/src/components/Icons/ForgotPasswordMessageIconTwo.tsx +46 -0
  185. package/src/components/Icons/NewIndex.ts +23 -0
  186. package/src/components/Icons/ResendOTP.tsx +23 -0
  187. package/src/components/Loader/Loader.tsx +33 -0
  188. package/src/components/Logo/Logo.tsx +60 -0
  189. package/src/components/Section/Card/Sliders/Styles/One.tsx +147 -0
  190. package/src/components/Section/Card/Sliders/index.ts +13 -0
  191. package/src/components/Section/Card/Styles/One.tsx +112 -0
  192. package/src/components/Section/Card/index.ts +13 -0
  193. package/src/components/Section/SectionType.tsx +127 -0
  194. package/src/components/Section/Sections.tsx +120 -0
  195. package/src/components/index.ts +10 -0
  196. package/src/index.ts +6 -0
  197. package/src/sample.test.ts +5 -0
  198. package/src/theme/themes.ts +198 -0
  199. package/src/theme/useAppTheme.ts +13 -0
  200. package/src/types/content.types.ts +167 -0
  201. package/src/types/index.ts +2 -0
  202. package/src/types/sections.types.ts +56 -0
@@ -0,0 +1,11 @@
1
+ /**
2
+ * @author Naresh Dhamu
3
+ * @lastModified Sun 08 Jun 2025 at 03:30 PM
4
+ */
5
+ import React from 'react';
6
+ interface LoaderProps {
7
+ color?: string;
8
+ }
9
+ export declare const Loader: React.FC<LoaderProps>;
10
+ export {};
11
+ //# sourceMappingURL=Loader.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Loader.d.ts","sourceRoot":"","sources":["../../../../../src/components/Loader/Loader.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AACH,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,UAAU,WAAW;IACnB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,eAAO,MAAM,MAAM,EAAE,KAAK,CAAC,EAAE,CAAC,WAAW,CAMxC,CAAC"}
@@ -0,0 +1,19 @@
1
+ /**
2
+ * @author Naresh Dhamu
3
+ * @lastModified Sun 08 Jun 2025 at 03:23 PM
4
+ */
5
+ import React from 'react';
6
+ import { type StyleProp, type ImageStyle, type ViewStyle } from 'react-native';
7
+ interface ILogoProps {
8
+ width?: number;
9
+ height?: number;
10
+ resizeMode?: 'contain' | 'cover' | 'stretch';
11
+ logoUri: string;
12
+ imageStyle?: StyleProp<ImageStyle>;
13
+ containerStyle?: StyleProp<ViewStyle>;
14
+ aspectRatio?: number;
15
+ fallbackUri?: string;
16
+ }
17
+ export declare const Logo: React.FC<ILogoProps>;
18
+ export {};
19
+ //# sourceMappingURL=Logo.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Logo.d.ts","sourceRoot":"","sources":["../../../../../src/components/Logo/Logo.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AACH,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAGL,KAAK,SAAS,EACd,KAAK,UAAU,EACf,KAAK,SAAS,EACf,MAAM,cAAc,CAAC;AAGtB,UAAU,UAAU;IAClB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,UAAU,CAAC,EAAE,SAAS,GAAG,OAAO,GAAG,SAAS,CAAC;IAC7C,OAAO,EAAE,MAAM,CAAC;IAChB,UAAU,CAAC,EAAE,SAAS,CAAC,UAAU,CAAC,CAAC;IACnC,cAAc,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IACtC,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,eAAO,MAAM,IAAI,EAAE,KAAK,CAAC,EAAE,CAAC,UAAU,CAkCrC,CAAC"}
@@ -0,0 +1,18 @@
1
+ /**
2
+ * @author Naresh Dhamu
3
+ * @lastModified Mon 09 Jun 2025 at 03:12 PM
4
+ */
5
+ import React from 'react';
6
+ import { IContentData, IGetSectionMeta } from '../../../../../types';
7
+ import { AppTheme } from '../../../../../theme/themes';
8
+ export interface IProps {
9
+ theme?: AppTheme;
10
+ data: {
11
+ data: IContentData[];
12
+ meta: IGetSectionMeta;
13
+ };
14
+ index: number;
15
+ }
16
+ declare const _default: React.NamedExoticComponent<IProps>;
17
+ export default _default;
18
+ //# sourceMappingURL=One.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"One.d.ts","sourceRoot":"","sources":["../../../../../../../../src/components/Section/Card/Sliders/Styles/One.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AACH,OAAO,KAAkC,MAAM,OAAO,CAAC;AAYvD,OAAO,EAAE,YAAY,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AAErE,OAAO,EAAE,QAAQ,EAAE,MAAM,6BAA6B,CAAC;AAEvD,MAAM,WAAW,MAAM;IACrB,KAAK,CAAC,EAAE,QAAQ,CAAC;IACjB,IAAI,EAAE;QACJ,IAAI,EAAE,YAAY,EAAE,CAAC;QACrB,IAAI,EAAE,eAAe,CAAC;KACvB,CAAC;IACF,KAAK,EAAE,MAAM,CAAC;CACf;;AA0FD,wBAA+B"}
@@ -0,0 +1,7 @@
1
+ declare const Sliders: {
2
+ Styles: {
3
+ One: import("react").NamedExoticComponent<import("./Styles/One").IProps>;
4
+ };
5
+ };
6
+ export default Sliders;
7
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/Section/Card/Sliders/index.ts"],"names":[],"mappings":"AAMA,QAAA,MAAM,OAAO;;;;CAIZ,CAAC;AAEF,eAAe,OAAO,CAAC"}
@@ -0,0 +1,19 @@
1
+ /**
2
+ * @author Pukhraj Dhamu
3
+ * @LastModified Sat 21 Sep 2024 at 03:26 PM
4
+ */
5
+ import React from 'react';
6
+ import { IContentData } from '../../../../types';
7
+ import { AppTheme } from '../../../../theme/themes';
8
+ export interface IProps {
9
+ theme: AppTheme;
10
+ data?: IContentData[];
11
+ isLoading?: boolean;
12
+ title: string;
13
+ onEndReached?: () => void;
14
+ section_id: string;
15
+ showNavigateToMore?: boolean;
16
+ }
17
+ declare const _default: React.NamedExoticComponent<IProps>;
18
+ export default _default;
19
+ //# sourceMappingURL=One.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"One.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/Section/Card/Styles/One.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AAGH,OAAO,KAAe,MAAM,OAAO,CAAC;AAQpC,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AACjD,OAAO,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAEpD,MAAM,WAAW,MAAM;IACrB,KAAK,EAAE,QAAQ,CAAC;IAChB,IAAI,CAAC,EAAE,YAAY,EAAE,CAAC;IACtB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,KAAK,EAAE,MAAM,CAAC;IACd,YAAY,CAAC,EAAE,MAAM,IAAI,CAAC;IAC1B,UAAU,EAAE,MAAM,CAAC;IACnB,kBAAkB,CAAC,EAAE,OAAO,CAAC;CAC9B;;AA0DD,wBAA+B"}
@@ -0,0 +1,7 @@
1
+ declare const Cards: {
2
+ Styles: {
3
+ One: import("react").NamedExoticComponent<import("./Styles/One").IProps>;
4
+ };
5
+ };
6
+ export default Cards;
7
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Section/Card/index.ts"],"names":[],"mappings":"AAMA,QAAA,MAAM,KAAK;;;;CAIV,CAAC;AAEF,eAAe,KAAK,CAAC"}
@@ -0,0 +1,26 @@
1
+ /**
2
+ * @author Pukhraj Dhamu
3
+ * @lastModified Sat 21 Sep 2024 at 07:51 PM
4
+ */
5
+ import React from 'react';
6
+ import { IContentData, IGetSectionData, IGetSectionMeta } from '../../types';
7
+ import { AppTheme } from '../../theme/themes';
8
+ export interface ICustomComponentsForSections {
9
+ type: string;
10
+ component: React.ReactElement;
11
+ }
12
+ export interface IProps {
13
+ type: IGetSectionData['type'];
14
+ data: {
15
+ data: IContentData[];
16
+ meta: IGetSectionMeta;
17
+ };
18
+ name: string;
19
+ customComponents?: ICustomComponentsForSections[];
20
+ theme?: AppTheme;
21
+ index: number;
22
+ section_id: string;
23
+ }
24
+ declare const SectionType: React.FC<IProps>;
25
+ export default SectionType;
26
+ //# sourceMappingURL=SectionType.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SectionType.d.ts","sourceRoot":"","sources":["../../../../../src/components/Section/SectionType.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AACH,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,EAAE,YAAY,EAAE,eAAe,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAC7E,OAAO,EAAE,QAAQ,EAAE,MAAM,oBAAoB,CAAC;AAE9C,MAAM,WAAW,4BAA4B;IAC3C,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,EAAE,KAAK,CAAC,YAAY,CAAC;CAC/B;AACD,MAAM,WAAW,MAAM;IACrB,IAAI,EAAE,eAAe,CAAC,MAAM,CAAC,CAAC;IAC9B,IAAI,EAAE;QACJ,IAAI,EAAE,YAAY,EAAE,CAAC;QACrB,IAAI,EAAE,eAAe,CAAC;KACvB,CAAC;IACF,IAAI,EAAE,MAAM,CAAC;IACb,gBAAgB,CAAC,EAAE,4BAA4B,EAAE,CAAC;IAClD,KAAK,CAAC,EAAE,QAAQ,CAAC;IACjB,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,EAAE,MAAM,CAAC;CACpB;AA6CD,QAAA,MAAM,WAAW,EAAE,KAAK,CAAC,EAAE,CAAC,MAAM,CAsDjC,CAAC;AAEF,eAAe,WAAW,CAAC"}
@@ -0,0 +1,27 @@
1
+ /**
2
+ * @author Naresh Dhamu
3
+ * @lastModified Sun 08 Jun 2025 at 03:50 PM
4
+ */
5
+ import React from 'react';
6
+ import { type NativeScrollEvent, type NativeSyntheticEvent, type StyleProp, type ViewStyle } from 'react-native';
7
+ import { type AnimatedStyle, type SharedValue } from 'react-native-reanimated';
8
+ import type { IGetSectionData } from '../../types';
9
+ import { AppTheme } from '../../theme/themes';
10
+ export interface ICustomComponentsForSections {
11
+ type: string;
12
+ component: React.ReactElement;
13
+ }
14
+ export interface ISectionsProps {
15
+ category?: string;
16
+ customComponents?: ICustomComponentsForSections[];
17
+ LoaderComponent?: React.ReactNode;
18
+ ErrorComponent?: React.ReactNode;
19
+ InfiniteScrollLoaderComponent?: React.ReactNode;
20
+ onScroll?: ((event: NativeSyntheticEvent<NativeScrollEvent>) => void) | SharedValue<((event: NativeSyntheticEvent<NativeScrollEvent>) => void) | undefined>;
21
+ contentContainerStyle?: StyleProp<ViewStyle> | AnimatedStyle<StyleProp<ViewStyle>>;
22
+ data?: IGetSectionData[];
23
+ onEndReached?: () => void;
24
+ theme?: AppTheme;
25
+ }
26
+ export declare const Sections: React.FC<ISectionsProps>;
27
+ //# sourceMappingURL=Sections.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Sections.d.ts","sourceRoot":"","sources":["../../../../../src/components/Section/Sections.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAkB,MAAM,OAAO,CAAC;AACvC,OAAO,EAGL,KAAK,iBAAiB,EACtB,KAAK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from './Button/Button';
6
+ export * from './Loader/Loader';
7
+ export * from './Headers';
8
+ export * from './Section/Sections';
9
+ export * from './Logo/Logo';
10
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,cAAc,iBAAiB,CAAC;AAChC,cAAc,iBAAiB,CAAC;AAChC,cAAc,WAAW,CAAC;AAC1B,cAAc,oBAAoB,CAAC;AACnC,cAAc,aAAa,CAAC"}
@@ -0,0 +1,7 @@
1
+ /**
2
+ * @author Naresh Dhamu
3
+ * @lastModified Sun 08 Jun 2025 at 03:23 PM
4
+ */
5
+ export * from './components';
6
+ export * from './types';
7
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,cAAc,cAAc,CAAC;AAC7B,cAAc,SAAS,CAAC"}
@@ -0,0 +1 @@
1
+ //# sourceMappingURL=sample.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sample.test.d.ts","sourceRoot":"","sources":["../../../src/sample.test.ts"],"names":[],"mappings":""}
@@ -0,0 +1,57 @@
1
+ /**
2
+ * @author Naresh Dhamu
3
+ * @lastModified Mon 09 Jun 2025 at 04:45 PM
4
+ */
5
+ import type { MD3ElevationColors, ThemeProp } from 'react-native-paper/lib/typescript/types';
6
+ type BaseColors = {
7
+ primary: string;
8
+ primaryContainer: string;
9
+ secondary: string;
10
+ secondaryContainer: string;
11
+ tertiary: string;
12
+ tertiaryContainer: string;
13
+ surface: string;
14
+ surfaceVariant: string;
15
+ surfaceDisabled: string;
16
+ background: string;
17
+ error: string;
18
+ errorContainer: string;
19
+ onPrimary: string;
20
+ onPrimaryContainer: string;
21
+ onSecondary: string;
22
+ onSecondaryContainer: string;
23
+ onTertiary: string;
24
+ onTertiaryContainer: string;
25
+ onSurface: string;
26
+ onSurfaceVariant: string;
27
+ onSurfaceDisabled: string;
28
+ onError: string;
29
+ onErrorContainer: string;
30
+ onBackground: string;
31
+ outline: string;
32
+ outlineVariant: string;
33
+ inverseSurface: string;
34
+ inverseOnSurface: string;
35
+ inversePrimary: string;
36
+ shadow: string;
37
+ scrim: string;
38
+ backdrop: string;
39
+ elevation: MD3ElevationColors;
40
+ CustomPrimary: string;
41
+ CustomSecondary: string;
42
+ CustomText: string;
43
+ CustomWhiteColor: string;
44
+ CustomBlackColor: string;
45
+ CustomTransparentColor: string;
46
+ };
47
+ export interface ITheme extends Pick<ThemeProp, 'version' | 'dark' | 'mode' | 'animation' | 'fonts' | 'isV3' | 'roundness'> {
48
+ colors: BaseColors;
49
+ }
50
+ export type AppTheme = Omit<ITheme, 'colors'> & {
51
+ dark?: boolean;
52
+ colors?: Partial<BaseColors>;
53
+ };
54
+ export declare const LightTheme: ITheme;
55
+ export declare const DarkTheme: ITheme;
56
+ export {};
57
+ //# sourceMappingURL=themes.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"themes.d.ts","sourceRoot":"","sources":["../../../../src/theme/themes.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAGH,OAAO,KAAK,EACV,kBAAkB,EAClB,SAAS,EACV,MAAM,yCAAyC,CAAC;AAEjD,KAAK,UAAU,GAAG;IAChB,OAAO,EAAE,MAAM,CAAC;IAChB,gBAAgB,EAAE,MAAM,CAAC;IACzB,SAAS,EAAE,MAAM,CAAC;IAClB,kBAAkB,EAAE,MAAM,CAAC;IAC3B,QAAQ,EAAE,MAAM,CAAC;IACjB,iBAAiB,EAAE,MAAM,CAAC;IAC1B,OAAO,EAAE,MAAM,CAAC;IAChB,cAAc,EAAE,MAAM,CAAC;IACvB,eAAe,EAAE,MAAM,CAAC;IACxB,UAAU,EAAE,MAAM,CAAC;IACnB,KAAK,EAAE,MAAM,CAAC;IACd,cAAc,EAAE,MAAM,CAAC;IACvB,S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DxB,CAAC;AAEF,eAAO,MAAM,SAAS,EAAE,MA+DvB,CAAC"}
@@ -0,0 +1,46 @@
1
+ import type { AppTheme } from './themes';
2
+ export declare function useAppTheme(externalTheme?: AppTheme): {
3
+ colors: {
4
+ primary: string;
5
+ primaryContainer: string;
6
+ secondary: string;
7
+ secondaryContainer: string;
8
+ tertiary: string;
9
+ tertiaryContainer: string;
10
+ surface: string;
11
+ surfaceVariant: string;
12
+ surfaceDisabled: string;
13
+ background: string;
14
+ error: string;
15
+ errorContainer: string;
16
+ onPrimary: string;
17
+ onPrimaryContainer: string;
18
+ onSecondary: string;
19
+ onSecondaryContainer: string;
20
+ onTertiary: string;
21
+ onTertiaryContainer: string;
22
+ onSurface: string;
23
+ onSurfaceVariant: string;
24
+ onSurfaceDisabled: string;
25
+ onError: string;
26
+ onErrorContainer: string;
27
+ onBackground: string;
28
+ outline: string;
29
+ outlineVariant: string;
30
+ inverseSurface: string;
31
+ inverseOnSurface: string;
32
+ inversePrimary: string;
33
+ shadow: string;
34
+ scrim: string;
35
+ backdrop: string;
36
+ elevation: import("react-native-paper/lib/typescript/types").MD3ElevationColors;
37
+ CustomPrimary: string;
38
+ CustomSecondary: string;
39
+ CustomText: string;
40
+ CustomWhiteColor: string;
41
+ CustomBlackColor: string;
42
+ CustomTransparentColor: string;
43
+ };
44
+ isDarkMode: import("@callstack/react-theme-provider").$DeepPartial<boolean>;
45
+ };
46
+ //# sourceMappingURL=useAppTheme.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useAppTheme.d.ts","sourceRoot":"","sources":["../../../../src/theme/useAppTheme.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,UAAU,CAAC;AAGzC,wBAAgB,WAAW,CAAC,aAAa,CAAC,EAAE,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAQnD"}
@@ -0,0 +1,154 @@
1
+ export interface IContentlanguage {
2
+ _id: string;
3
+ name: string;
4
+ }
5
+ export interface IContentCast {
6
+ _id: string;
7
+ name: string;
8
+ avatar: string | null;
9
+ castType: string;
10
+ }
11
+ export interface ISubtitles {
12
+ title?: string;
13
+ language?: string;
14
+ type: 'application/x-subrip' | 'application/ttml+xml' | 'text/vtt';
15
+ url: string;
16
+ }
17
+ export interface IContentEpisodes {
18
+ _id: string;
19
+ name: string;
20
+ description: string;
21
+ duration: number;
22
+ source_link: string;
23
+ trailer_source_link: string;
24
+ source_type: 'HLS' | 'MP4';
25
+ content_offering_type: 'FREE' | 'PREMIUM';
26
+ subtitles: ISubtitles[];
27
+ thumbnail: string;
28
+ createdAt: string;
29
+ updatedAt: string;
30
+ number: number;
31
+ skipIntroTimestamp?: {
32
+ start: number;
33
+ end: number;
34
+ } | null;
35
+ nextEpisodeTimestamp?: number | null;
36
+ }
37
+ export interface IContentSeasons {
38
+ _id: string;
39
+ name: string;
40
+ contant_id: string;
41
+ order: number;
42
+ season_number?: number;
43
+ episodes: IContentEpisodes[] | null;
44
+ status: boolean;
45
+ created_by: string;
46
+ createdAt: string;
47
+ updatedAt: string;
48
+ }
49
+ export interface IContentCategory {
50
+ _id: string;
51
+ name: string;
52
+ }
53
+ export interface IContentGenres {
54
+ _id: string;
55
+ name: string;
56
+ }
57
+ export interface IContentPagination {
58
+ length: number;
59
+ limit: number;
60
+ page: number;
61
+ total: number;
62
+ }
63
+ export interface IContentMeta {
64
+ pagination: IContentPagination;
65
+ report: any | null;
66
+ }
67
+ export interface IContentImages {
68
+ width: number;
69
+ height: number;
70
+ sizes?: {
71
+ small: string;
72
+ medium: string;
73
+ large: string;
74
+ original: string;
75
+ };
76
+ }
77
+ export interface IContentData {
78
+ _id: string;
79
+ name: string;
80
+ slug: string;
81
+ u_age: string;
82
+ description: string;
83
+ duration: string;
84
+ rating: number;
85
+ source_link: string | null;
86
+ source_type: 'HLS' | 'MP4' | 'LIVE_STREAM_HLS';
87
+ trailer_source_link: string | null;
88
+ trailer_source_type: 'HLS' | 'MP4';
89
+ language: IContentlanguage[] | null;
90
+ cast: IContentCast[] | null;
91
+ poster: string;
92
+ thumbnail: string;
93
+ views: number;
94
+ tags: string[];
95
+ job_id: string | null;
96
+ seasons: IContentSeasons[] | null;
97
+ status: 'PUBLIC' | 'PRIVATE' | 'PENDING' | 'REJECTED';
98
+ trash: boolean;
99
+ type: 'series' | 'movie' | 'live_stream';
100
+ content_offering_type: 'FREE' | 'PREMIUM' | 'BUY_OR_RENT';
101
+ updated_by: string;
102
+ created_by: Date;
103
+ createdAt: Date;
104
+ updatedAt: string;
105
+ category: IContentCategory[] | null;
106
+ genres: IContentGenres[] | null;
107
+ subtitles: ISubtitles[];
108
+ is_buy_or_rent?: 'BUY' | 'RENT';
109
+ rent_duration?: number | null;
110
+ price?: number | null;
111
+ title_image?: string;
112
+ content_duration?: string;
113
+ images?: IContentImages[];
114
+ buy_or_rent_status: {
115
+ _id?: string;
116
+ status?: 'valid' | 'expired';
117
+ }[];
118
+ }
119
+ export interface IContent {
120
+ data: IContentData[];
121
+ meta: IContentMeta;
122
+ }
123
+ export interface IRentOrBuyContentData {
124
+ _id: string;
125
+ content_id: IContentData;
126
+ user_id: string;
127
+ status: 'valid' | 'expired';
128
+ valid_upto: string;
129
+ createdAt: string;
130
+ updatedAt: string;
131
+ }
132
+ export interface IRentOrBuyContent {
133
+ data: IRentOrBuyContentData[];
134
+ meta: IContentMeta;
135
+ }
136
+ export interface IGetIsRentOrBuyContentByIDData {
137
+ message: string;
138
+ data: {
139
+ _id: string;
140
+ content_id: {
141
+ _id: string;
142
+ name: string;
143
+ is_buy_or_rent?: 'BUY' | 'RENT';
144
+ rent_duration: number;
145
+ price: number;
146
+ };
147
+ user_id: string;
148
+ status: 'valid' | 'expired';
149
+ valid_upto: string;
150
+ createdAt: string;
151
+ updatedAt: string;
152
+ };
153
+ }
154
+ //# sourceMappingURL=content.types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"content.types.d.ts","sourceRoot":"","sources":["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9B,EAAE,CAAC;CACL;AAED,MAAM,WAAW,QAAQ;IACvB,IAAI,EAAE,YAAY,EAAE,CAAC;IACrB,IAAI,EAAE,YAAY,CAAC;CACpB;AAED,MAAM,WAAW,qBAAqB;IACpC,GAAG,EAAE,MAAM,CAAC;IACZ,UAAU,EAAE,YAAY,CAAC;IACzB,OAAO,EAAE,MAAM,CAAC;IAChB,MAAM,EAAE,OAAO,GAAG,SAAS,CAAC;IAC5B,UAAU,EAAE,MAAM,CAAC;IACnB,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;CACnB;AAED,MAAM,WAAW,iBAAiB;IAChC,IAAI,EAAE,qBAAqB,EAAE,CAAC;IAC9B,IAAI,EAAE,YAAY,CAAC;CACpB;AAED,MAAM,WAAW,8BAA8B;IAC7C,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,EAAE;QACJ,GAAG,EAAE,MAAM,CAAC;QACZ,UAAU,EAAE;YACV,GAAG,EAAE,MAAM,CAAC;YACZ,IAAI,EAAE,MAAM,CAAC;YACb,cAAc,CAAC,EAAE,KAAK,GAAG,MAAM,CAAC;YAChC,aAAa,EAAE,MAAM,CAAC;YACtB,KAAK,EAAE,MAAM,CAAC;SACf,CAAC;QACF,OAAO,EAAE,MAAM,CAAC;QAChB,MAAM,EAAE,OAAO,GAAG,SAAS,CAAC;QAC5B,UAAU,EAAE,MAAM,CAAC;QACnB,SAAS,EAAE,MAAM,CAAC;QAClB,SAAS,EAAE,MAAM,CAAC;KACnB,CAAC;CACH"}
@@ -0,0 +1,3 @@
1
+ export * from './content.types';
2
+ export * from './sections.types';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/types/index.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAC;AAChC,cAAc,kBAAkB,CAAC"}
@@ -0,0 +1,41 @@
1
+ import { IContentData } from './content.types';
2
+ export type ISectionType = 'normal' | 'card_style_2' | 'card_style_3' | 'card_style_4' | 'card_style_5' | 'card_style_6' | 'card_rotate_in_out' | 'slider' | 'slider_style_2' | 'card_series_featured_style_1' | 'continue_watching' | 'new_releases';
3
+ export interface IGetSectionMeta {
4
+ pagination: {
5
+ page: number;
6
+ limit: number;
7
+ length: number;
8
+ total: number;
9
+ hasNextPage: boolean;
10
+ nextPage: number | null;
11
+ };
12
+ }
13
+ export interface IGetSectionData {
14
+ _id: string;
15
+ name: string;
16
+ label: string;
17
+ order: number;
18
+ type: ISectionType;
19
+ content_ids: string[];
20
+ category: {
21
+ _id: string;
22
+ name: string;
23
+ slug: string;
24
+ };
25
+ genre?: string;
26
+ content: {
27
+ data: IContentData[];
28
+ meta: IGetSectionMeta;
29
+ };
30
+ status: boolean;
31
+ createdAt: Date;
32
+ updatedAt: Date;
33
+ }
34
+ export interface IGetSectionResponse {
35
+ success: boolean;
36
+ message: string;
37
+ data: IGetSectionData[];
38
+ meta: IGetSectionMeta;
39
+ cache: boolean;
40
+ }
41
+ //# sourceMappingURL=sections.types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sections.types.d.ts","sourceRoot":"","sources":["../../../../src/types/sections.types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAE/C,MAAM,MAAM,YAAY,GACpB,QAAQ,GACR,cAAc,GACd,cAAc,GACd,cAAc,GACd,cAAc,GACd,cAAc,GACd,oBAAoB,GACpB,QAAQ,GACR,gBAAgB,GAChB,8BAA8B,GAC9B,mBAAmB,GACnB,cAAc,CAAC;AAEnB,MAAM,WAAW,eAAe;IAC9B,UAAU,EAAE;QACV,IAAI,EAAE,MAAM,CAAC;QACb,KAAK,EAAE,MAAM,CAAC;QACd,MAAM,EAAE,MAAM,CAAC;QACf,KAAK,EAAE,MAAM,CAAC;QACd,WAAW,EAAE,OAAO,CAAC;QACrB,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;KAC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