@zezosoft/zezo-ott-react-native-ui-kit 1.1.2 → 1.1.3
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/lib/module/components/Auth/QrLogin/QrLogin.js +304 -138
- package/lib/module/components/Auth/QrLogin/QrLogin.js.map +1 -1
- package/lib/module/components/Auth/QrLogin/components/QrViewArea.js +193 -141
- package/lib/module/components/Auth/QrLogin/components/QrViewArea.js.map +1 -1
- package/lib/module/components/Content/Card/Category/Category.js +83 -11
- package/lib/module/components/Content/Card/Category/Category.js.map +1 -1
- package/lib/module/components/Content/Card/NowWatching/NowWatching.js +237 -108
- package/lib/module/components/Content/Card/NowWatching/NowWatching.js.map +1 -1
- package/lib/module/components/Content/Card/Sliders/Styles/One.js +185 -126
- package/lib/module/components/Content/Card/Sliders/Styles/One.js.map +1 -1
- package/lib/module/components/Content/Card/Sliders/Styles/Two.js +139 -92
- package/lib/module/components/Content/Card/Sliders/Styles/Two.js.map +1 -1
- package/lib/module/components/Content/Card/Styles/Five.js +131 -48
- package/lib/module/components/Content/Card/Styles/Five.js.map +1 -1
- package/lib/module/components/Content/Card/Styles/Four.js +126 -59
- package/lib/module/components/Content/Card/Styles/Four.js.map +1 -1
- package/lib/module/components/Content/Card/Styles/One.js +125 -50
- package/lib/module/components/Content/Card/Styles/One.js.map +1 -1
- package/lib/module/components/Content/Card/Styles/RotateInOut.js +138 -53
- package/lib/module/components/Content/Card/Styles/RotateInOut.js.map +1 -1
- package/lib/module/components/Content/Card/Styles/Six.js +207 -115
- package/lib/module/components/Content/Card/Styles/Six.js.map +1 -1
- package/lib/module/components/Content/Card/Styles/Three.js +134 -79
- package/lib/module/components/Content/Card/Styles/Three.js.map +1 -1
- package/lib/module/components/Content/Card/Styles/TopTen.js +186 -171
- package/lib/module/components/Content/Card/Styles/TopTen.js.map +1 -1
- package/lib/module/components/Content/Card/Styles/Two.js +144 -64
- package/lib/module/components/Content/Card/Styles/Two.js.map +1 -1
- package/lib/module/components/Content/Card/components/AdsPoster.js +162 -0
- package/lib/module/components/Content/Card/components/AdsPoster.js.map +1 -0
- package/lib/module/components/Content/Card/components/CardPoster.js +120 -136
- package/lib/module/components/Content/Card/components/CardPoster.js.map +1 -1
- package/lib/module/components/Content/Card/components/index.js +4 -0
- package/lib/module/components/Content/Card/components/index.js.map +1 -0
- package/lib/module/components/Content/Content.js +67 -27
- package/lib/module/components/Content/Content.js.map +1 -1
- package/lib/module/components/Content/Sections.js +32 -11
- package/lib/module/components/Content/Sections.js.map +1 -1
- package/lib/module/constants/dummySections.js +44 -4
- package/lib/module/constants/dummySections.js.map +1 -1
- package/lib/module/hooks/Images/index.js +5 -0
- package/lib/module/hooks/Images/index.js.map +1 -0
- package/lib/module/hooks/Images/useImageLoader.js +168 -0
- package/lib/module/hooks/Images/useImageLoader.js.map +1 -0
- package/lib/module/hooks/Images/useImageValidation.js +36 -0
- package/lib/module/hooks/Images/useImageValidation.js.map +1 -0
- package/lib/module/hooks/index.js +3 -0
- package/lib/module/hooks/index.js.map +1 -1
- package/lib/module/hooks/useAdTracking.js +270 -0
- package/lib/module/hooks/useAdTracking.js.map +1 -0
- package/lib/module/hooks/useCards.js +164 -0
- package/lib/module/hooks/useCards.js.map +1 -0
- package/lib/module/hooks/usePaginatedSection.js +11 -6
- package/lib/module/hooks/usePaginatedSection.js.map +1 -1
- package/lib/typescript/src/components/Auth/QrLogin/QrLogin.d.ts +2 -0
- package/lib/typescript/src/components/Auth/QrLogin/QrLogin.d.ts.map +1 -1
- package/lib/typescript/src/components/Auth/QrLogin/components/QrViewArea.d.ts.map +1 -1
- package/lib/typescript/src/components/Content/Card/Category/Category.d.ts.map +1 -1
- package/lib/typescript/src/components/Content/Card/NowWatching/NowWatching.d.ts.map +1 -1
- package/lib/typescript/src/components/Content/Card/Sliders/Styles/One.d.ts.map +1 -1
- package/lib/typescript/src/components/Content/Card/Sliders/Styles/Two.d.ts.map +1 -1
- package/lib/typescript/src/components/Content/Card/Styles/Five.d.ts +13 -1
- package/lib/typescript/src/components/Content/Card/Styles/Five.d.ts.map +1 -1
- package/lib/typescript/src/components/Content/Card/Styles/Four.d.ts +13 -1
- package/lib/typescript/src/components/Content/Card/Styles/Four.d.ts.map +1 -1
- package/lib/typescript/src/components/Content/Card/Styles/One.d.ts +15 -3
- package/lib/typescript/src/components/Content/Card/Styles/One.d.ts.map +1 -1
- package/lib/typescript/src/components/Content/Card/Styles/RotateInOut.d.ts +13 -1
- package/lib/typescript/src/components/Content/Card/Styles/RotateInOut.d.ts.map +1 -1
- package/lib/typescript/src/components/Content/Card/Styles/Six.d.ts +1 -0
- package/lib/typescript/src/components/Content/Card/Styles/Six.d.ts.map +1 -1
- package/lib/typescript/src/components/Content/Card/Styles/Three.d.ts +13 -5
- package/lib/typescript/src/components/Content/Card/Styles/Three.d.ts.map +1 -1
- package/lib/typescript/src/components/Content/Card/Styles/TopTen.d.ts +1 -0
- package/lib/typescript/src/components/Content/Card/Styles/TopTen.d.ts.map +1 -1
- package/lib/typescript/src/components/Content/Card/Styles/Two.d.ts +13 -1
- package/lib/typescript/src/components/Content/Card/Styles/Two.d.ts.map +1 -1
- package/lib/typescript/src/components/Content/Card/components/AdsPoster.d.ts +26 -0
- package/lib/typescript/src/components/Content/Card/components/AdsPoster.d.ts.map +1 -0
- package/lib/typescript/src/components/Content/Card/components/CardPoster.d.ts +3 -1
- package/lib/typescript/src/components/Content/Card/components/CardPoster.d.ts.map +1 -1
- package/lib/typescript/src/components/Content/Card/components/index.d.ts +2 -0
- package/lib/typescript/src/components/Content/Card/components/index.d.ts.map +1 -0
- package/lib/typescript/src/components/Content/Card/index.d.ts +76 -6
- package/lib/typescript/src/components/Content/Card/index.d.ts.map +1 -1
- package/lib/typescript/src/components/Content/Content.d.ts +4 -3
- package/lib/typescript/src/components/Content/Content.d.ts.map +1 -1
- package/lib/typescript/src/components/Content/Sections.d.ts +20 -6
- package/lib/typescript/src/components/Content/Sections.d.ts.map +1 -1
- package/lib/typescript/src/constants/dummySections.d.ts +5 -0
- package/lib/typescript/src/constants/dummySections.d.ts.map +1 -1
- package/lib/typescript/src/hooks/Images/index.d.ts +3 -0
- package/lib/typescript/src/hooks/Images/index.d.ts.map +1 -0
- package/lib/typescript/src/hooks/Images/useImageLoader.d.ts +36 -0
- package/lib/typescript/src/hooks/Images/useImageLoader.d.ts.map +1 -0
- package/lib/typescript/src/hooks/Images/useImageValidation.d.ts +17 -0
- package/lib/typescript/src/hooks/Images/useImageValidation.d.ts.map +1 -0
- package/lib/typescript/src/hooks/index.d.ts +3 -0
- package/lib/typescript/src/hooks/index.d.ts.map +1 -1
- package/lib/typescript/src/hooks/useAdTracking.d.ts +39 -0
- package/lib/typescript/src/hooks/useAdTracking.d.ts.map +1 -0
- package/lib/typescript/src/hooks/useCards.d.ts +36 -0
- package/lib/typescript/src/hooks/useCards.d.ts.map +1 -0
- package/lib/typescript/src/hooks/usePaginatedSection.d.ts +12 -2
- package/lib/typescript/src/hooks/usePaginatedSection.d.ts.map +1 -1
- package/lib/typescript/src/types/sections/index.d.ts +7 -4
- package/lib/typescript/src/types/sections/index.d.ts.map +1 -1
- package/package.json +6 -3
- package/src/components/Auth/QrLogin/QrLogin.tsx +382 -122
- package/src/components/Auth/QrLogin/components/QrViewArea.tsx +291 -197
- package/src/components/Content/Card/Category/Category.tsx +95 -8
- package/src/components/Content/Card/NowWatching/NowWatching.tsx +281 -136
- package/src/components/Content/Card/Sliders/Styles/One.tsx +244 -148
- package/src/components/Content/Card/Sliders/Styles/Two.tsx +171 -102
- package/src/components/Content/Card/Styles/Five.tsx +161 -62
- package/src/components/Content/Card/Styles/Four.tsx +164 -85
- package/src/components/Content/Card/Styles/One.tsx +161 -71
- package/src/components/Content/Card/Styles/RotateInOut.tsx +157 -60
- package/src/components/Content/Card/Styles/Six.tsx +242 -142
- package/src/components/Content/Card/Styles/Three.tsx +166 -133
- package/src/components/Content/Card/Styles/TopTen.tsx +230 -191
- package/src/components/Content/Card/Styles/Two.tsx +182 -79
- package/src/components/Content/Card/components/AdsPoster.tsx +202 -0
- package/src/components/Content/Card/components/CardPoster.tsx +134 -154
- package/src/components/Content/Card/components/index.ts +1 -0
- package/src/components/Content/Content.tsx +83 -45
- package/src/components/Content/Sections.tsx +51 -10
- package/src/constants/dummySections.ts +48 -1
- package/src/hooks/Images/index.ts +2 -0
- package/src/hooks/Images/useImageLoader.ts +206 -0
- package/src/hooks/Images/useImageValidation.ts +36 -0
- package/src/hooks/index.ts +3 -0
- package/src/hooks/useAdTracking.ts +349 -0
- package/src/hooks/useCards.ts +228 -0
- package/src/hooks/usePaginatedSection.ts +26 -7
- package/src/types/sections/index.ts +7 -4
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Four.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/Content/Card/Styles/Four.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAA6C,MAAM,OAAO,CAAC;AAClE,OAAO,EAML,KAAK,SAAS,EACd,KAAK,SAAS,EACd,KAAK,SAAS,EACd,KAAK,kBAAkB,
|
|
1
|
+
{"version":3,"file":"Four.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/Content/Card/Styles/Four.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAA6C,MAAM,OAAO,CAAC;AAClE,OAAO,EAML,KAAK,SAAS,EACd,KAAK,SAAS,EACd,KAAK,SAAS,EACd,KAAK,kBAAkB,EACxB,MAAM,cAAc,CAAC;AAatB,OAAO,KAAK,EAEV,eAAe,EACf,eAAe,EACf,aAAa,EACd,MAAM,mBAAmB,CAAC;AAC3B,OAAO,KAAK,EAAU,aAAa,EAAE,MAAM,0BAA0B,CAAC;AACtE,OAAO,KAAK,EAAE,YAAY,EAAE,QAAQ,EAAE,MAAM,+BAA+B,CAAC;AAsB5E,KAAK,kBAAkB,GAAG;IACxB,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,EAAE,MAAM,CAAC;IACnB,IAAI,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AAE,MAAM,CAAC;QACb,KAAK,EAAE,MAAM,CAAC;KACf,CAAC;CACH,GAAG,kBAAkB,CAAC;;AA6RvB,wBAAmC"}
|
|
@@ -4,16 +4,16 @@
|
|
|
4
4
|
*/
|
|
5
5
|
import React from 'react';
|
|
6
6
|
import { type StyleProp, type ViewStyle, type TextStyle, type AccessibilityProps } from 'react-native';
|
|
7
|
-
import type { IGetSectionData, ISectionContent, MoreFetchData } from '../../../../types';
|
|
8
7
|
import type { ThemeOverride } from '../../../../theme/themes';
|
|
9
|
-
import type {
|
|
8
|
+
import type { IAdItem, IGetSectionData, ISectionContent, MoreFetchData } from '../../../../types';
|
|
9
|
+
import type { IContentData, IServeAd } from '@zezosoft/zezo-ott-api-client';
|
|
10
10
|
type MovieCardProps = {
|
|
11
11
|
title: string;
|
|
12
12
|
section_id: string;
|
|
13
13
|
type: IGetSectionData['type'];
|
|
14
14
|
data: ISectionContent | null;
|
|
15
15
|
moreFetchData?: MoreFetchData<IContentData>;
|
|
16
|
-
onPressItem?: (item: IContentData) => void;
|
|
16
|
+
onPressItem?: (item: IContentData | IAdItem) => void;
|
|
17
17
|
onPressMore?: (params: {
|
|
18
18
|
section_id: IGetSectionData['_id'];
|
|
19
19
|
name: IGetSectionData['name'];
|
|
@@ -29,9 +29,21 @@ type MovieCardProps = {
|
|
|
29
29
|
skeletonCount?: number;
|
|
30
30
|
containerStyle?: StyleProp<ViewStyle>;
|
|
31
31
|
titleStyle?: StyleProp<TextStyle>;
|
|
32
|
+
paginationSkeletonCount?: number;
|
|
32
33
|
itemStyle?: StyleProp<ViewStyle>;
|
|
33
34
|
isLoading?: boolean;
|
|
34
35
|
theme?: ThemeOverride;
|
|
36
|
+
onDisplayAds?: (ad: IServeAd) => void;
|
|
37
|
+
screenDimensions?: {
|
|
38
|
+
width: number;
|
|
39
|
+
height: number;
|
|
40
|
+
};
|
|
41
|
+
viewportOffsets?: {
|
|
42
|
+
top: number;
|
|
43
|
+
bottom: number;
|
|
44
|
+
left: number;
|
|
45
|
+
right: number;
|
|
46
|
+
};
|
|
35
47
|
} & AccessibilityProps;
|
|
36
48
|
declare const _default: React.NamedExoticComponent<MovieCardProps>;
|
|
37
49
|
export default _default;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"One.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/Content/Card/Styles/One.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAA6C,MAAM,OAAO,CAAC;AAClE,OAAO,EAKL,KAAK,SAAS,EACd,KAAK,SAAS,EACd,KAAK,SAAS,EACd,KAAK,kBAAkB,
|
|
1
|
+
{"version":3,"file":"One.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/Content/Card/Styles/One.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAA6C,MAAM,OAAO,CAAC;AAClE,OAAO,EAKL,KAAK,SAAS,EACd,KAAK,SAAS,EACd,KAAK,SAAS,EACd,KAAK,kBAAkB,EACxB,MAAM,cAAc,CAAC;AAQtB,OAAO,KAAK,EAAU,aAAa,EAAE,MAAM,0BAA0B,CAAC;AAMtE,OAAO,KAAK,EACV,OAAO,EACP,eAAe,EACf,eAAe,EACf,aAAa,EACd,MAAM,mBAAmB,CAAC;AAE3B,OAAO,KAAK,EAAE,YAAY,EAAE,QAAQ,EAAE,MAAM,+BAA+B,CAAC;AAgB5E,KAAK,cAAc,GAAG;IACpB,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,EAAE,MAAM,CAAC;IACnB,IAAI,EAAE,eAAe,CAAC,MAAM,CAAC,CAAC;IAC9B,IAAI,EAAE,eAAe,GAAG,IAAI,CAAC;IAC7B,aAAa,CAAC,EAAE,aAAa,CAAC,YAAY,CAAC,CAAC;IAC5C,WAAW,CAAC,EAAE,CAAC,IAAI,EAAE,YAAY,GAAG,OAAO,KAAK,IAAI,CAAC;IACrD,WAAW,CAAC,EAAE,CAAC,MAAM,EAAE;QACrB,UAAU,EAAE,eAAe,CAAC,KAAK,CAAC,CAAC;QACnC,IAAI,EAAE,eAAe,CAAC,MAAM,CAAC,CAAC;QAC9B,IAAI,EAAE,eAAe,CAAC,MAAM,CAAC,CAAC;KAC/B,KAAK,IAAI,CAAC;IACX,eAAe,CAAC,EAAE,CAAC,MAAM,EAAE;QACzB,IAAI,EAAE,YAAY,CAAC;QACnB,KAAK,EAAE,MAAM,CAAC;KACf,KAAK,KAAK,CAAC,SAAS,CAAC;IACtB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,cAAc,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IACtC,UAAU,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IAClC,uBAAuB,CAAC,EAAE,MAAM,CAAC;IACjC,SAAS,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IACjC,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,KAAK,CAAC,EAAE,aAAa,CAAC;IACtB,YAAY,CAAC,EAAE,CAAC,EAAE,EAAE,QAAQ,KAAK,IAAI,CAAC;IACtC,gBAAgB,CAAC,EAAE;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,MAAM,EAAE,MAAM,CAAA;KAAE,CAAC;IACrD,eAAe,CAAC,EAAE;QAChB,GAAG,EAAE,MAAM,CAAC;QACZ,MAAM,EAAE,MAAM,CAAC;QACf,IAAI,EAAE,MAAM,CAAC;QACb,KAAK,EAAE,MAAM,CAAC;KACf,CAAC;CACH,GAAG,kBAAkB,CAAC;;AA0SvB,wBAA+B"}
|
|
@@ -11,8 +11,9 @@ type Props = {
|
|
|
11
11
|
title: string;
|
|
12
12
|
section_id: string;
|
|
13
13
|
data: ISectionContent | null;
|
|
14
|
-
type: IGetSectionData['type'];
|
|
15
14
|
moreFetchData?: MoreFetchData<IContentData>;
|
|
15
|
+
type: IGetSectionData['type'];
|
|
16
|
+
paginationSkeletonCount?: number;
|
|
16
17
|
onPressItem?: (item: IContentData) => void;
|
|
17
18
|
onPressMore?: (params: {
|
|
18
19
|
section_id: IGetSectionData['_id'];
|
|
@@ -32,6 +33,17 @@ type Props = {
|
|
|
32
33
|
itemStyle?: StyleProp<ViewStyle>;
|
|
33
34
|
isLoading?: boolean;
|
|
34
35
|
theme?: ThemeOverride;
|
|
36
|
+
onDisplayAds?: (ad: any) => void;
|
|
37
|
+
screenDimensions?: {
|
|
38
|
+
width: number;
|
|
39
|
+
height: number;
|
|
40
|
+
};
|
|
41
|
+
viewportOffsets?: {
|
|
42
|
+
top: number;
|
|
43
|
+
bottom: number;
|
|
44
|
+
left: number;
|
|
45
|
+
right: number;
|
|
46
|
+
};
|
|
35
47
|
};
|
|
36
48
|
declare const _default: React.NamedExoticComponent<Props>;
|
|
37
49
|
export default _default;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RotateInOut.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/Content/Card/Styles/RotateInOut.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAA6C,MAAM,OAAO,CAAC;AAClE,OAAO,EAKL,KAAK,SAAS,EACd,KAAK,SAAS,EACd,KAAK,SAAS,EACf,MAAM,cAAc,CAAC;AAatB,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"RotateInOut.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/Content/Card/Styles/RotateInOut.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAA6C,MAAM,OAAO,CAAC;AAClE,OAAO,EAKL,KAAK,SAAS,EACd,KAAK,SAAS,EACd,KAAK,SAAS,EACf,MAAM,cAAc,CAAC;AAatB,OAAO,KAAK,EAEV,eAAe,EACf,eAAe,EACf,aAAa,EACd,MAAM,mBAAmB,CAAC;AAC3B,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,0BAA0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AAK,EAAE,MAAM,CAAC;QAAC,MAAM,EAAE,MAAM,CAAA;KAAE,CAAC;IACrD,eAAe,CAAC,EAAE;QAChB,GAAG,EAAE,MAAM,CAAC;QACZ,MAAM,EAAE,MAAM,CAAC;QACf,IAAI,EAAE,MAAM,CAAC;QACb,KAAK,EAAE,MAAM,CAAC;KACf,CAAC;CACH,CAAC;;AAuSF,wBAAoC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Six.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/Content/Card/Styles/Six.tsx"],"names":[],"mappings":"AAAA;;;IAGI;AAEJ,OAAO,
|
|
1
|
+
{"version":3,"file":"Six.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/Content/Card/Styles/Six.tsx"],"names":[],"mappings":"AAAA;;;IAGI;AAEJ,OAAO,KAA6C,MAAM,OAAO,CAAC;AAClE,OAAO,EAKL,KAAK,SAAS,EACd,KAAK,SAAS,EACd,KAAK,SAAS,EACd,KAAK,kBAAkB,EAGxB,MAAM,cAAc,CAAC;AAStB,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,0BAA0B,CAAC;AAC9D,OAAO,KAAK,EACV,eAAe,EACf,eAAe,EACf,aAAa,EACd,MAAM,mBAAmB,CAAC;AAG3B,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,+BAA+B,CAAC;AAqClE,KAAK,iBAAiB,GAAG;IACvB,KAAK,CAAC,EAAE,aAAa,CAAC;IACtB,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,EAAE,MAAM,CAAC;IACnB,IAAI,EAAE,eAAe,CAAC,MAAM,CAAC,CAAC;IAC9B,IAAI,EAAE,eAAe,GAAG,IAAI,CAAC;IAC7B,aAAa,CAAC,EAAE,aAAa,CAAC,YAAY,CAAC,CAAC;IAC5C,WAAW,CAAC,EAAE,CAAC,IAAI,EAAE,YAAY,KAAK,IAAI,CAAC;IAC3C,WAAW,CAAC,EAAE,CAAC,MAAM,EAAE;QACrB,UAAU,EAAE,eAAe,CAAC,KAAK,CAAC,CAAC;QACnC,IAAI,EAAE,eAAe,CAAC,MAAM,CAAC,CAAC;QAC9B,IAAI,EAAE,eAAe,CAAC,MAAM,CAAC,CAAC;KAC/B,KAAK,IAAI,CAAC;IACX,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,uBAAuB,CAAC,EAAE,MAAM,CAAC;IACjC,cAAc,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IACtC,UAAU,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IAClC,SAAS,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IACjC,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB,GAAG,kBAAkB,CAAC;;AA2SvB,wBAAkC"}
|
|
@@ -6,7 +6,7 @@ import React from 'react';
|
|
|
6
6
|
import { type StyleProp, type ViewStyle, type TextStyle } from 'react-native';
|
|
7
7
|
import type { IGetSectionData, ISectionContent, MoreFetchData } from '../../../../types';
|
|
8
8
|
import type { ThemeOverride } from '../../../../theme/themes';
|
|
9
|
-
import type { IContentData } from '@zezosoft/zezo-ott-api-client';
|
|
9
|
+
import type { IContentData, IServeAd } from '@zezosoft/zezo-ott-api-client';
|
|
10
10
|
type Props = {
|
|
11
11
|
title: string;
|
|
12
12
|
section_id: string;
|
|
@@ -19,19 +19,27 @@ type Props = {
|
|
|
19
19
|
name: IGetSectionData['name'];
|
|
20
20
|
type: IGetSectionData['type'];
|
|
21
21
|
}) => void;
|
|
22
|
-
renderItemImage?: (params: {
|
|
23
|
-
item: IContentData;
|
|
24
|
-
index: number;
|
|
25
|
-
}) => React.ReactNode;
|
|
26
22
|
itemWidth?: number;
|
|
27
23
|
itemHeight?: number;
|
|
28
24
|
borderRadius?: number;
|
|
29
25
|
skeletonCount?: number;
|
|
30
26
|
containerStyle?: StyleProp<ViewStyle>;
|
|
31
27
|
titleStyle?: StyleProp<TextStyle>;
|
|
28
|
+
paginationSkeletonCount?: number;
|
|
32
29
|
itemStyle?: StyleProp<ViewStyle>;
|
|
33
30
|
isLoading?: boolean;
|
|
34
31
|
theme?: ThemeOverride;
|
|
32
|
+
onDisplayAds?: (ad: IServeAd) => void;
|
|
33
|
+
screenDimensions?: {
|
|
34
|
+
width: number;
|
|
35
|
+
height: number;
|
|
36
|
+
};
|
|
37
|
+
viewportOffsets?: {
|
|
38
|
+
top: number;
|
|
39
|
+
bottom: number;
|
|
40
|
+
left: number;
|
|
41
|
+
right: number;
|
|
42
|
+
};
|
|
35
43
|
};
|
|
36
44
|
declare const _default: React.NamedExoticComponent<Props>;
|
|
37
45
|
export default _default;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Three.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/Content/Card/Styles/Three.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAA6C,MAAM,OAAO,CAAC;AAClE,OAAO,EAGL,KAAK,SAAS,EACd,KAAK,SAAS,EACd,KAAK,SAAS,EAGf,MAAM,cAAc,CAAC;
|
|
1
|
+
{"version":3,"file":"Three.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/Content/Card/Styles/Three.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAA6C,MAAM,OAAO,CAAC;AAClE,OAAO,EAGL,KAAK,SAAS,EACd,KAAK,SAAS,EACd,KAAK,SAAS,EAGf,MAAM,cAAc,CAAC;AAetB,OAAO,KAAK,EAEV,eAAe,EACf,eAAe,EACf,aAAa,EACd,MAAM,mBAAmB,CAAC;AAC3B,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,0BAA0B,CAAC;AAC9D,OAAO,KAAK,EAAE,YAAY,EAAE,QAAQ,EAAE,MAAM,+BAA+B,CAAC;AA0C5E,KAAK,KAAK,GAAG;IACX,KAAK,EAAE,MAAM,CAAC;IACd,UAA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
|
|
|
1
|
-
{"version":3,"file":"TopTen.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/Content/Card/Styles/TopTen.tsx"],"names":[],"mappings":"AAAA;;;IAGI;AAEJ,OAAO,KAA6C,MAAM,OAAO,CAAC;AAClE,OAAO,EAKL,KAAK,SAAS,EACd,KAAK,SAAS,EACd,KAAK,SAAS,EACd,KAAK,kBAAkB,
|
|
1
|
+
{"version":3,"file":"TopTen.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/Content/Card/Styles/TopTen.tsx"],"names":[],"mappings":"AAAA;;;IAGI;AAEJ,OAAO,KAA6C,MAAM,OAAO,CAAC;AAClE,OAAO,EAKL,KAAK,SAAS,EACd,KAAK,SAAS,EACd,KAAK,SAAS,EACd,KAAK,kBAAkB,EACxB,MAAM,cAAc,CAAC;AAMtB,OAAO,KAAK,EACV,eAAe,EACf,eAAe,EACf,aAAa,EACd,MAAM,mBAAmB,CAAC;AAC3B,OAAO,KAAK,EAAU,aAAa,EAAE,MAAM,0BAA0B,CAAC;AAItE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,+BAA+B,CAAC;AAuDlE,KAAK,eAAe,GAAG;IACrB,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,EAAE,MAAM,CAAC;IACnB,IAAI,EAAE,eAAe,CAAC,MAAM,CAAC,CAAC;IAC9B,IAAI,EAAE,eAAe,GAAG,IAAI,CAAC;IAC7B,aAAa,CAAC,EAAE,aAAa,CAAC,YAAY,CAAC,CAAC;IAC5C,WAAW,CAAC,EAAE,CAAC,IAAI,EAAE,YAAY,KAAK,IAAI,CAAC;IAC3C,WAAW,CAAC,EAAE,CAAC,MAAM,EAAE;QACrB,UAAU,EAAE,eAAe,CAAC,KAAK,CAAC,CAAC;QACnC,IAAI,EAAE,eAAe,CAAC,MAAM,CAAC,CAAC;QAC9B,IAAI,EAAE,eAAe,CAAC,MAAM,CAAC,CAAC;KAC/B,KAAK,IAAI,CAAC;IACX,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,uBAAuB,CAAC,EAAE,MAAM,CAAC;IACjC,cAAc,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IACtC,UAAU,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IAClC,SAAS,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IACjC,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,KAAK,CAAC,EAAE,aAAa,CAAC;CACvB,GAAG,kBAAkB,CAAC;;AA+SvB,wBAAgC"}
|
|
@@ -6,7 +6,7 @@ import React from 'react';
|
|
|
6
6
|
import { type StyleProp, type TextStyle, type ViewStyle, type AccessibilityProps } from 'react-native';
|
|
7
7
|
import type { IGetSectionData, ISectionContent, MoreFetchData } from '../../../../types';
|
|
8
8
|
import type { ThemeOverride } from '../../../../theme/themes';
|
|
9
|
-
import type { IContentData } from '@zezosoft/zezo-ott-api-client';
|
|
9
|
+
import type { IContentData, IServeAd } from '@zezosoft/zezo-ott-api-client';
|
|
10
10
|
type MovieCardTwoProps = {
|
|
11
11
|
title: string;
|
|
12
12
|
section_id: string;
|
|
@@ -26,11 +26,23 @@ type MovieCardTwoProps = {
|
|
|
26
26
|
itemWidth?: number;
|
|
27
27
|
borderRadius?: number;
|
|
28
28
|
skeletonCount?: number;
|
|
29
|
+
paginationSkeletonCount?: number;
|
|
29
30
|
containerStyle?: StyleProp<ViewStyle>;
|
|
30
31
|
titleStyle?: StyleProp<TextStyle>;
|
|
31
32
|
itemStyle?: StyleProp<ViewStyle>;
|
|
32
33
|
isLoading?: boolean;
|
|
33
34
|
theme?: ThemeOverride;
|
|
35
|
+
onDisplayAds?: (ad: IServeAd) => void;
|
|
36
|
+
screenDimensions?: {
|
|
37
|
+
width: number;
|
|
38
|
+
height: number;
|
|
39
|
+
};
|
|
40
|
+
viewportOffsets?: {
|
|
41
|
+
top: number;
|
|
42
|
+
bottom: number;
|
|
43
|
+
left: number;
|
|
44
|
+
right: number;
|
|
45
|
+
};
|
|
34
46
|
} & AccessibilityProps;
|
|
35
47
|
declare const _default: React.NamedExoticComponent<MovieCardTwoProps>;
|
|
36
48
|
export default _default;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Two.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/Content/Card/Styles/Two.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAA6C,MAAM,OAAO,CAAC;AAClE,OAAO,EAKL,KAAK,SAAS,EACd,KAAK,SAAS,EACd,KAAK,SAAS,EACd,KAAK,kBAAkB,
|
|
1
|
+
{"version":3,"file":"Two.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/Content/Card/Styles/Two.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAA6C,MAAM,OAAO,CAAC;AAClE,OAAO,EAKL,KAAK,SAAS,EACd,KAAK,SAAS,EACd,KAAK,SAAS,EACd,KAAK,kBAAkB,EAExB,MAAM,cAAc,CAAC;AAOtB,OAAO,KAAK,EAEV,eAAe,EACf,eAAe,EACf,aAAa,EACd,MAAM,mBAAmB,CAAC;AAE3B,OAAO,KAAK,EAAU,aAAa,EAAE,MAAM,0BAA0B,CAAC;AAMtE,OAAO,KAAK,EAAE,YAAY,EAAE,QAAQ,EAAE,MAAM,+BAA+B,CAAC;AAoB5E,KAAK,iBAAiB,GAAG;IACvB,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,EAAE,MAAM,CAAC;IACnB,IAAI,EAAE,eAAe,CAAC,MAAM,CAAC,CAAC;IAC9B,IAAI,EAAE,eAAe,GAAG,IAAI,CAAC;IAC7B,aAAa,CAAC,EAAE,aAAa,CAAC,YAAY,CAAC,CAAC;IAC5C,WAAW,CAAC,EAAE,CAAC,IAAI,EAAE,YAAY,KAAK,IAAI,CAAC;IAC3C,WAAW,CAAC,EAAE,CAAC,MAAM,EAAE;QACrB,UAAU,EAAE,eAAe,CAAC,KAAK,CAAC,CAAC;QACnC,IAAI,EAAE,eAAe,CAAC,MAAM,CAAC,CAAC;QAC9B,IAAI,EAAE,eAAe,CAAC,MAAM,CAAC,CAAC;KAC/B,KAAK,IAAI,CAAC;IACX,eAAe,CAAC,EAAE,CAAC,MAAM,EAAE;QACzB,IAAI,EAAE,YAAY,CAAC;QACnB,KAAK,EAAE,MAAM,CAAC;KACf,KAAK,KAAK,CAAC,SAAS,CAAC;IACtB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,uBAAuB,CAAC,EAAE,MAAM,CAAC;IACjC,cAAc,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IACtC,UAAU,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IAClC,SAAS,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IACjC,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,KAAK,CAAC,EAAE,aAAa,CAAC;IACtB,YAAY,CAAC,EAAE,CAAC,EAAE,EAAE,QAAQ,KAAK,IAAI,CAAC;IACtC,gBAAgB,CAAC,EAAE;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,MAAM,EAAE,MAAM,CAAA;KAAE,CAAC;IACrD,eAAe,CAAC,EAAE;QAChB,GAAG,EAAE,MAAM,CAAC;QACZ,MAAM,EAAE,MAAM,CAAC;QACf,IAAI,EAAE,MAAM,CAAC;QACb,KAAK,EAAE,MAAM,CAAC;KACf,CAAC;CACH,GAAG,kBAAkB,CAAC;;AAqUvB,wBAAkC"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { type StyleProp, type ViewStyle } from 'react-native';
|
|
2
|
+
import type { IServeAd } from '@zezosoft/zezo-ott-api-client';
|
|
3
|
+
import type { ITheme } from '../../../../theme';
|
|
4
|
+
type Props = {
|
|
5
|
+
ad: IServeAd;
|
|
6
|
+
theme: ITheme;
|
|
7
|
+
isLoading?: boolean;
|
|
8
|
+
containerStyle?: StyleProp<ViewStyle>;
|
|
9
|
+
imageStyle?: StyleProp<ViewStyle>;
|
|
10
|
+
onPress?: (item: IServeAd) => void;
|
|
11
|
+
borderRadius?: number;
|
|
12
|
+
onDisplayAds?: (ad: IServeAd) => void;
|
|
13
|
+
screenDimensions?: {
|
|
14
|
+
width: number;
|
|
15
|
+
height: number;
|
|
16
|
+
};
|
|
17
|
+
viewportOffsets?: {
|
|
18
|
+
top: number;
|
|
19
|
+
bottom: number;
|
|
20
|
+
left: number;
|
|
21
|
+
right: number;
|
|
22
|
+
};
|
|
23
|
+
};
|
|
24
|
+
export declare const AdsPoster: import("react").MemoExoticComponent<({ ad, theme, isLoading, containerStyle, imageStyle, borderRadius, onPress, onDisplayAds, screenDimensions: propScreenDimensions, viewportOffsets: propViewportOffsets, }: Props) => import("react/jsx-runtime").JSX.Element | null>;
|
|
25
|
+
export {};
|
|
26
|
+
//# sourceMappingURL=AdsPoster.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AdsPoster.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/Content/Card/components/AdsPoster.tsx"],"names":[],"mappings":"AACA,OAAO,EAIL,KAAK,SAAS,EACd,KAAK,SAAS,EACf,MAAM,cAAc,CAAC;AAGtB,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,+BAA+B,CAAC;AAG9D,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,mBAAmB,CAAC;AAGhD,KAAK,KAAK,GAAG;IACX,EAAE,EAAE,QAAQ,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,cAAc,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IACtC,UAAU,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IAClC,OAAO,CAAC,EAAE,CAAC,IAAI,EAAE,QAAQ,KAAK,IAAI,CAAC;IACnC,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,YAAY,CAAC,EAAE,CAAC,EAAE,EAAE,QAAQ,KAAK,IAAI,CAAC;IACtC,gBAAgB,CAAC,EAAE;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,MAAM,EAAE,MAAM,CAAA;KAAE,CAAC;IACrD,eAAe,CAAC,EAAE;QAChB,GAAG,EAAE,MAAM,CAAC;QACZ,MAAM,EAAE,MAAM,CAAC;QACf,IAAI,EAAE,MAAM,CAAC;QACb,KAAK,EAAE,MAAM,CAAC;KACf,CAAC;CACH,CAAC;AA+BF,eAAO,MAAM,SAAS,iNAYjB,KAAK,oDA8FT,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @author Naresh Dhamu
|
|
3
|
-
* @lastModified
|
|
3
|
+
* @lastModified Wed 24 Dec 2025 at 04:01 PM
|
|
4
4
|
*/
|
|
5
5
|
import React from 'react';
|
|
6
6
|
import { type StyleProp, type ViewStyle } from 'react-native';
|
|
@@ -16,6 +16,8 @@ export type CardPosterProps = {
|
|
|
16
16
|
posterWrapperStyle?: StyleProp<ViewStyle>;
|
|
17
17
|
imageStyle?: ImageStyle;
|
|
18
18
|
resizeMode?: ResizeMode;
|
|
19
|
+
showRankNumber?: boolean;
|
|
20
|
+
rankNumber?: number;
|
|
19
21
|
};
|
|
20
22
|
declare const _default: React.NamedExoticComponent<CardPosterProps>;
|
|
21
23
|
export default _default;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CardPoster.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/Content/Card/components/CardPoster.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,
|
|
1
|
+
{"version":3,"file":"CardPoster.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/Content/Card/components/CardPoster.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAkB,MAAM,OAAO,CAAC;AACvC,OAAO,EAAoB,KAAK,SAAS,EAAE,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAChF,OAAkB,EAChB,KAAK,UAAU,EACf,KAAK,UAAU,EAChB,MAAM,yBAAyB,CAAC;AAKjC,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,0BAA0B,CAAC;AAEvD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,+BAA+B,CAAC;AAclE,MAAM,MAAM,eAAe,GAAG;IAC5B,qBAAqB,CAAC,EAAE,YAAY,CAAC,uBAAuB,CAAC,CAAC;IAC9D,SAAS,EAAE,MAAM,CAAC;IAClB,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,kBAAkB,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IAC1C,UAAU,CAAC,EAAE,UAAU,CAAC;IACxB,UAAU,CAAC,EAAE,UAAU,CAAC;IACxB,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB,CAAC;;AA+JF,wBAAsC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/Content/Card/components/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAC"}
|
|
@@ -6,7 +6,7 @@ declare const Cards: {
|
|
|
6
6
|
type: import("../../..").IGetSectionData["type"];
|
|
7
7
|
data: import("../../..").ISectionContent | null;
|
|
8
8
|
moreFetchData?: import("../../..").MoreFetchData<import("@zezosoft/zezo-ott-api-client").IContentData>;
|
|
9
|
-
onPressItem?: (item: import("@zezosoft/zezo-ott-api-client").IContentData) => void;
|
|
9
|
+
onPressItem?: (item: import("@zezosoft/zezo-ott-api-client").IContentData | import("../../..").IAdItem) => void;
|
|
10
10
|
onPressMore?: (params: {
|
|
11
11
|
section_id: import("../../..").IGetSectionData["_id"];
|
|
12
12
|
name: import("../../..").IGetSectionData["name"];
|
|
@@ -22,9 +22,21 @@ declare const Cards: {
|
|
|
22
22
|
skeletonCount?: number;
|
|
23
23
|
containerStyle?: import("react-native").StyleProp<import("react-native").ViewStyle>;
|
|
24
24
|
titleStyle?: import("react-native").StyleProp<import("react-native").TextStyle>;
|
|
25
|
+
paginationSkeletonCount?: number;
|
|
25
26
|
itemStyle?: import("react-native").StyleProp<import("react-native").ViewStyle>;
|
|
26
27
|
isLoading?: boolean;
|
|
27
28
|
theme?: import("../../..").ThemeOverride;
|
|
29
|
+
onDisplayAds?: (ad: import("@zezosoft/zezo-ott-api-client").IServeAd) => void;
|
|
30
|
+
screenDimensions?: {
|
|
31
|
+
width: number;
|
|
32
|
+
height: number;
|
|
33
|
+
};
|
|
34
|
+
viewportOffsets?: {
|
|
35
|
+
top: number;
|
|
36
|
+
bottom: number;
|
|
37
|
+
left: number;
|
|
38
|
+
right: number;
|
|
39
|
+
};
|
|
28
40
|
} & import("react-native").AccessibilityProps>;
|
|
29
41
|
Two: import("react").NamedExoticComponent<{
|
|
30
42
|
title: string;
|
|
@@ -45,11 +57,23 @@ declare const Cards: {
|
|
|
45
57
|
itemWidth?: number;
|
|
46
58
|
borderRadius?: number;
|
|
47
59
|
skeletonCount?: number;
|
|
60
|
+
paginationSkeletonCount?: number;
|
|
48
61
|
containerStyle?: import("react-native").StyleProp<import("react-native").ViewStyle>;
|
|
49
62
|
titleStyle?: import("react-native").StyleProp<import("react-native").TextStyle>;
|
|
50
63
|
itemStyle?: import("react-native").StyleProp<import("react-native").ViewStyle>;
|
|
51
64
|
isLoading?: boolean;
|
|
52
65
|
theme?: import("../../..").ThemeOverride;
|
|
66
|
+
onDisplayAds?: (ad: import("@zezosoft/zezo-ott-api-client").IServeAd) => void;
|
|
67
|
+
screenDimensions?: {
|
|
68
|
+
width: number;
|
|
69
|
+
height: number;
|
|
70
|
+
};
|
|
71
|
+
viewportOffsets?: {
|
|
72
|
+
top: number;
|
|
73
|
+
bottom: number;
|
|
74
|
+
left: number;
|
|
75
|
+
right: number;
|
|
76
|
+
};
|
|
53
77
|
} & import("react-native").AccessibilityProps>;
|
|
54
78
|
Three: import("react").NamedExoticComponent<{
|
|
55
79
|
title: string;
|
|
@@ -63,19 +87,27 @@ declare const Cards: {
|
|
|
63
87
|
name: import("../../..").IGetSectionData["name"];
|
|
64
88
|
type: import("../../..").IGetSectionData["type"];
|
|
65
89
|
}) => void;
|
|
66
|
-
renderItemImage?: (params: {
|
|
67
|
-
item: import("@zezosoft/zezo-ott-api-client").IContentData;
|
|
68
|
-
index: number;
|
|
69
|
-
}) => React.ReactNode;
|
|
70
90
|
itemWidth?: number;
|
|
71
91
|
itemHeight?: number;
|
|
72
92
|
borderRadius?: number;
|
|
73
93
|
skeletonCount?: number;
|
|
74
94
|
containerStyle?: import("react-native").StyleProp<import("react-native").ViewStyle>;
|
|
75
95
|
titleStyle?: import("react-native").StyleProp<import("react-native").TextStyle>;
|
|
96
|
+
paginationSkeletonCount?: number;
|
|
76
97
|
itemStyle?: import("react-native").StyleProp<import("react-native").ViewStyle>;
|
|
77
98
|
isLoading?: boolean;
|
|
78
99
|
theme?: import("../../..").ThemeOverride;
|
|
100
|
+
onDisplayAds?: (ad: import("@zezosoft/zezo-ott-api-client").IServeAd) => void;
|
|
101
|
+
screenDimensions?: {
|
|
102
|
+
width: number;
|
|
103
|
+
height: number;
|
|
104
|
+
};
|
|
105
|
+
viewportOffsets?: {
|
|
106
|
+
top: number;
|
|
107
|
+
bottom: number;
|
|
108
|
+
left: number;
|
|
109
|
+
right: number;
|
|
110
|
+
};
|
|
79
111
|
}>;
|
|
80
112
|
Four: import("react").NamedExoticComponent<{
|
|
81
113
|
title: string;
|
|
@@ -99,9 +131,21 @@ declare const Cards: {
|
|
|
99
131
|
skeletonCount?: number;
|
|
100
132
|
containerStyle?: import("react-native").StyleProp<import("react-native").ViewStyle>;
|
|
101
133
|
titleStyle?: import("react-native").StyleProp<import("react-native").TextStyle>;
|
|
134
|
+
paginationSkeletonCount?: number;
|
|
102
135
|
itemStyle?: import("react-native").StyleProp<import("react-native").ViewStyle>;
|
|
103
136
|
isLoading?: boolean;
|
|
104
137
|
theme?: import("../../..").ThemeOverride;
|
|
138
|
+
onDisplayAds?: (ad: import("@zezosoft/zezo-ott-api-client").IServeAd) => void;
|
|
139
|
+
screenDimensions?: {
|
|
140
|
+
width: number;
|
|
141
|
+
height: number;
|
|
142
|
+
};
|
|
143
|
+
viewportOffsets?: {
|
|
144
|
+
top: number;
|
|
145
|
+
bottom: number;
|
|
146
|
+
left: number;
|
|
147
|
+
right: number;
|
|
148
|
+
};
|
|
105
149
|
} & import("react-native").AccessibilityProps>;
|
|
106
150
|
Five: import("react").NamedExoticComponent<{
|
|
107
151
|
theme?: import("../../..").ThemeOverride;
|
|
@@ -123,10 +167,22 @@ declare const Cards: {
|
|
|
123
167
|
itemWidth?: number;
|
|
124
168
|
borderRadius?: number;
|
|
125
169
|
skeletonCount?: number;
|
|
170
|
+
paginationSkeletonCount?: number;
|
|
126
171
|
containerStyle?: import("react-native").StyleProp<import("react-native").ViewStyle>;
|
|
127
172
|
titleStyle?: import("react-native").StyleProp<import("react-native").TextStyle>;
|
|
128
173
|
itemStyle?: import("react-native").StyleProp<import("react-native").ViewStyle>;
|
|
129
174
|
isLoading?: boolean;
|
|
175
|
+
onDisplayAds?: (ad: import("@zezosoft/zezo-ott-api-client").IServeAd) => void;
|
|
176
|
+
screenDimensions?: {
|
|
177
|
+
width: number;
|
|
178
|
+
height: number;
|
|
179
|
+
};
|
|
180
|
+
viewportOffsets?: {
|
|
181
|
+
top: number;
|
|
182
|
+
bottom: number;
|
|
183
|
+
left: number;
|
|
184
|
+
right: number;
|
|
185
|
+
};
|
|
130
186
|
} & import("react-native").AccessibilityProps>;
|
|
131
187
|
Six: import("react").NamedExoticComponent<{
|
|
132
188
|
theme?: import("../../..").ThemeOverride;
|
|
@@ -144,6 +200,7 @@ declare const Cards: {
|
|
|
144
200
|
itemWidth?: number;
|
|
145
201
|
borderRadius?: number;
|
|
146
202
|
skeletonCount?: number;
|
|
203
|
+
paginationSkeletonCount?: number;
|
|
147
204
|
containerStyle?: import("react-native").StyleProp<import("react-native").ViewStyle>;
|
|
148
205
|
titleStyle?: import("react-native").StyleProp<import("react-native").TextStyle>;
|
|
149
206
|
itemStyle?: import("react-native").StyleProp<import("react-native").ViewStyle>;
|
|
@@ -165,6 +222,7 @@ declare const Cards: {
|
|
|
165
222
|
itemHeight?: number;
|
|
166
223
|
borderRadius?: number;
|
|
167
224
|
skeletonCount?: number;
|
|
225
|
+
paginationSkeletonCount?: number;
|
|
168
226
|
containerStyle?: import("react-native").StyleProp<import("react-native").ViewStyle>;
|
|
169
227
|
titleStyle?: import("react-native").StyleProp<import("react-native").TextStyle>;
|
|
170
228
|
itemStyle?: import("react-native").StyleProp<import("react-native").ViewStyle>;
|
|
@@ -175,8 +233,9 @@ declare const Cards: {
|
|
|
175
233
|
title: string;
|
|
176
234
|
section_id: string;
|
|
177
235
|
data: import("../../..").ISectionContent | null;
|
|
178
|
-
type: import("../../..").IGetSectionData["type"];
|
|
179
236
|
moreFetchData?: import("../../..").MoreFetchData<import("@zezosoft/zezo-ott-api-client").IContentData>;
|
|
237
|
+
type: import("../../..").IGetSectionData["type"];
|
|
238
|
+
paginationSkeletonCount?: number;
|
|
180
239
|
onPressItem?: (item: import("@zezosoft/zezo-ott-api-client").IContentData) => void;
|
|
181
240
|
onPressMore?: (params: {
|
|
182
241
|
section_id: import("../../..").IGetSectionData["_id"];
|
|
@@ -196,6 +255,17 @@ declare const Cards: {
|
|
|
196
255
|
itemStyle?: import("react-native").StyleProp<import("react-native").ViewStyle>;
|
|
197
256
|
isLoading?: boolean;
|
|
198
257
|
theme?: import("../../..").ThemeOverride;
|
|
258
|
+
onDisplayAds?: (ad: any) => void;
|
|
259
|
+
screenDimensions?: {
|
|
260
|
+
width: number;
|
|
261
|
+
height: number;
|
|
262
|
+
};
|
|
263
|
+
viewportOffsets?: {
|
|
264
|
+
top: number;
|
|
265
|
+
bottom: number;
|
|
266
|
+
left: number;
|
|
267
|
+
right: number;
|
|
268
|
+
};
|
|
199
269
|
}>;
|
|
200
270
|
NowWatching: import("react").NamedExoticComponent<{
|
|
201
271
|
section_id: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Content/Card/index.ts"],"names":[],"mappings":"AAcA,QAAA,MAAM,KAAK
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Content/Card/index.ts"],"names":[],"mappings":"AAcA,QAAA,MAAM,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAaV,CAAC;AAEF,eAAe,KAAK,CAAC"}
|
|
@@ -5,12 +5,12 @@
|
|
|
5
5
|
import React from 'react';
|
|
6
6
|
import { type NativeScrollEvent, type NativeSyntheticEvent, type StyleProp, type ViewStyle } from 'react-native';
|
|
7
7
|
import { type AnimatedStyle, type SharedValue } from 'react-native-reanimated';
|
|
8
|
-
import type { IGetSectionData, MoreFetchData } from '../../types';
|
|
8
|
+
import type { IAdItem, IGetSectionData, MoreFetchData } from '../../types';
|
|
9
9
|
import { type ICategory } from './Card/Category/Category';
|
|
10
10
|
import type { IHistoryItem } from './Card/NowWatching/NowWatching';
|
|
11
11
|
import type { ThemeOverride } from '../../theme/themes';
|
|
12
12
|
import { type NoContentFallbackProps } from '../Fallbacks';
|
|
13
|
-
import type { IContentData } from '@zezosoft/zezo-ott-api-client';
|
|
13
|
+
import type { IContentData, IServeAd } from '@zezosoft/zezo-ott-api-client';
|
|
14
14
|
export interface ICustomComponentsForContent {
|
|
15
15
|
type: string;
|
|
16
16
|
component: React.ReactElement;
|
|
@@ -37,7 +37,7 @@ export interface IContentProps {
|
|
|
37
37
|
theme?: ThemeOverride;
|
|
38
38
|
autoSwitchTheme?: boolean;
|
|
39
39
|
events?: {
|
|
40
|
-
onPressItem?: (item: IContentData) => void;
|
|
40
|
+
onPressItem?: (item: IContentData | IAdItem) => void;
|
|
41
41
|
onPressMore?: (params: {
|
|
42
42
|
section_id: IGetSectionData['_id'];
|
|
43
43
|
name: IGetSectionData['name'];
|
|
@@ -45,6 +45,7 @@ export interface IContentProps {
|
|
|
45
45
|
}) => void;
|
|
46
46
|
activeCategory?: ICategory;
|
|
47
47
|
onPressCategory?: (category: ICategory) => void;
|
|
48
|
+
onDisplayAds?: (ad: IServeAd) => void;
|
|
48
49
|
};
|
|
49
50
|
sectionProps?: {
|
|
50
51
|
showPlayBtn?: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Content.d.ts","sourceRoot":"","sources":["../../../../../src/components/Content/Content.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AACH,OAAO,KAA+B,MAAM,OAAO,CAAC;AACpD,OAAO,
|
|
1
|
+
{"version":3,"file":"Content.d.ts","sourceRoot":"","sources":["../../../../../src/components/Content/Content.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AACH,OAAO,KAA+B,MAAM,OAAO,CAAC;AACpD,OAAO,EAKL,KAAK,iBAAiB,EACtB,KAAK,oBAAoB,EACzB,KAAK,SAAS,EACd,KAAK,SAAS,EACf,MAAM,cAAc,CAAC;AAEtB,OAAiB,EACf,KAAK,aAAa,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I,GAAG,KAAK,CAAC,aAAa,CAAC,CAAC;CACzC"}
|
|
@@ -1,20 +1,21 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @author Naresh Dhamu
|
|
3
|
-
* @lastModified Sun 08 Jun 2025
|
|
3
|
+
* @lastModified Sun 08 Jun 2025
|
|
4
4
|
*/
|
|
5
5
|
import React from 'react';
|
|
6
|
-
import type { IGetSectionData, MoreFetchData } from '../../types';
|
|
6
|
+
import type { IGetSectionData, MoreFetchData, IAdItem } from '../../types';
|
|
7
7
|
import type { IHistoryItem } from './Card/NowWatching/NowWatching';
|
|
8
8
|
import type { ICategory } from './Card/Category/Category';
|
|
9
9
|
import type { ThemeOverride } from '../../theme/themes';
|
|
10
10
|
import type { IContentLoading } from './Content';
|
|
11
|
-
import type { IContentData } from '@zezosoft/zezo-ott-api-client';
|
|
11
|
+
import type { IContentData, IServeAd } from '@zezosoft/zezo-ott-api-client';
|
|
12
12
|
export interface ICustomComponentsForSections {
|
|
13
13
|
type: string;
|
|
14
14
|
component: React.ReactElement;
|
|
15
15
|
}
|
|
16
16
|
export interface IProps {
|
|
17
17
|
type: IGetSectionData['type'];
|
|
18
|
+
ads?: IServeAd[];
|
|
18
19
|
data: {
|
|
19
20
|
sectionData: IGetSectionData['content'] | null;
|
|
20
21
|
historyData?: IHistoryItem[];
|
|
@@ -26,13 +27,15 @@ export interface IProps {
|
|
|
26
27
|
index: number;
|
|
27
28
|
section_id: string;
|
|
28
29
|
events?: {
|
|
29
|
-
onPressItem?: (item: IContentData) => void;
|
|
30
|
+
onPressItem?: (item: IContentData | IAdItem) => void;
|
|
30
31
|
onPressMore?: (params: {
|
|
31
|
-
section_id:
|
|
32
|
-
name:
|
|
32
|
+
section_id: string;
|
|
33
|
+
name: string;
|
|
33
34
|
type: IGetSectionData['type'];
|
|
34
35
|
}) => void;
|
|
35
36
|
onPressCategory?: (category: ICategory) => void;
|
|
37
|
+
onAdVisible?: (ad: IServeAd, percent: number) => void;
|
|
38
|
+
onDisplayAds?: (ad: IServeAd) => void;
|
|
36
39
|
};
|
|
37
40
|
sectionProps?: {
|
|
38
41
|
showPlayBtn?: boolean;
|
|
@@ -40,6 +43,17 @@ export interface IProps {
|
|
|
40
43
|
isLoading?: IContentLoading;
|
|
41
44
|
moreFetchData?: MoreFetchData<IContentData>;
|
|
42
45
|
moreFetchDataHistory?: MoreFetchData<IHistoryItem>;
|
|
46
|
+
onDisplayAds?: (ad: IServeAd) => void;
|
|
47
|
+
screenDimensions?: {
|
|
48
|
+
width: number;
|
|
49
|
+
height: number;
|
|
50
|
+
};
|
|
51
|
+
viewportOffsets?: {
|
|
52
|
+
top: number;
|
|
53
|
+
bottom: number;
|
|
54
|
+
left: number;
|
|
55
|
+
right: number;
|
|
56
|
+
};
|
|
43
57
|
}
|
|
44
58
|
declare const _default: React.NamedExoticComponent<IProps>;
|
|
45
59
|
export default _default;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Sections.d.ts","sourceRoot":"","sources":["../../../../../src/components/Content/Sections.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AACH,OAAO,KAAkB,MAAM,OAAO,CAAC;AAGvC,OAAO,KAAK,EAAE,eAAe,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;
|
|
1
|
+
{"version":3,"file":"Sections.d.ts","sourceRoot":"","sources":["../../../../../src/components/Content/Sections.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AACH,OAAO,KAAkB,MAAM,OAAO,CAAC;AAGvC,OAAO,KAAK,EAAE,eAAe,EAAE,aAAa,EAAE,OAAO,EAAE,MAAM,aAAa,CAAC;AAC3E,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,gCAAgC,CAAC;AACnE,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,0BAA0B,CAAC;AAC1D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AACxD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,WAAW,CAAC;AACjD,OAA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AE,eAAe,CAAC;IAC5B,aAAa,CAAC,EAAE,aAAa,CAAC,YAAY,CAAC,CAAC;IAC5C,oBAAoB,CAAC,EAAE,aAAa,CAAC,YAAY,CAAC,CAAC;IACnD,YAAY,CAAC,EAAE,CAAC,EAAE,EAAE,QAAQ,KAAK,IAAI,CAAC;IACtC,gBAAgB,CAAC,EAAE;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,MAAM,EAAE,MAAM,CAAA;KAAE,CAAC;IACrD,eAAe,CAAC,EAAE;QAChB,GAAG,EAAE,MAAM,CAAC;QACZ,MAAM,EAAE,MAAM,CAAC;QACf,IAAI,EAAE,MAAM,CAAC;QACb,KAAK,EAAE,MAAM,CAAC;KACf,CAAC;CACH;;AAuND,wBAAoC"}
|
|
@@ -1,3 +1,8 @@
|
|
|
1
|
+
import type { IContentData } from '@zezosoft/zezo-ott-api-client';
|
|
1
2
|
import type { IGetSectionData } from '../types';
|
|
3
|
+
/**
|
|
4
|
+
* Creates a dummy content data object for skeleton loading states
|
|
5
|
+
*/
|
|
6
|
+
export declare const dummyContentData: (id?: string) => IContentData;
|
|
2
7
|
export declare const dummySections: IGetSectionData[];
|
|
3
8
|
//# sourceMappingURL=dummySections.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dummySections.d.ts","sourceRoot":"","sources":["../../../../src/constants/dummySections.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,UAAU,CAAC;
|
|
1
|
+
{"version":3,"file":"dummySections.d.ts","sourceRoot":"","sources":["../../../../src/constants/dummySections.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,+BAA+B,CAAC;AAClE,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,UAAU,CAAC;AAEhD;;GAEG;AACH,eAAO,MAAM,gBAAgB,GAC3B,KAAI,MAA2B,KAC9B,YAqCF,CAAC;AAsCF,eAAO,MAAM,aAAa,EAAE,eAAe,EAU1C,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/Images/index.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAC;AACjC,cAAc,sBAAsB,CAAC"}
|