@tyrads.com/tyrads-sdk 2.0.1 → 3.1.0-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/android/build.gradle +1 -1
- package/android/gradle.properties +1 -1
- package/android/src/main/java/com/tyradssdk/TyradsSdkModule.kt +27 -6
- package/ios/Tyrads/AcmoConfig.swift +3 -3
- package/ios/Tyrads/InitModel.swift +5 -2
- package/ios/Tyrads/Tyrads.swift +117 -186
- package/ios/Tyrads/WebViewController.swift +171 -0
- package/ios/Tyrads/helpers/aes_encryptor.swift +81 -0
- package/ios/Tyrads/helpers/device_details.swift +58 -0
- package/ios/TyradsSdk.mm +10 -2
- package/ios/TyradsSdk.swift +44 -29
- package/lib/commonjs/acmo/core/helpers/launcher.js +20 -0
- package/lib/commonjs/acmo/core/helpers/launcher.js.map +1 -0
- package/lib/commonjs/acmo/modules/dashboard/components/active_offers_button.js +76 -0
- package/lib/commonjs/acmo/modules/dashboard/components/active_offers_button.js.map +1 -0
- package/lib/commonjs/acmo/modules/dashboard/components/custom_card.js +7 -10
- package/lib/commonjs/acmo/modules/dashboard/components/custom_card.js.map +1 -1
- package/lib/commonjs/acmo/modules/dashboard/components/custom_scroller.js +141 -0
- package/lib/commonjs/acmo/modules/dashboard/components/custom_scroller.js.map +1 -0
- package/lib/commonjs/acmo/{core/marquee.js → modules/dashboard/components/custom_shimmer.js} +46 -34
- package/lib/commonjs/acmo/modules/dashboard/components/custom_shimmer.js.map +1 -0
- package/lib/commonjs/acmo/modules/dashboard/components/offer_card.js +264 -0
- package/lib/commonjs/acmo/modules/dashboard/components/offer_card.js.map +1 -0
- package/lib/commonjs/acmo/modules/dashboard/components/offer_list_item.js +197 -0
- package/lib/commonjs/acmo/modules/dashboard/components/offer_list_item.js.map +1 -0
- package/lib/commonjs/acmo/modules/dashboard/components/premium_empty_widget.js +83 -0
- package/lib/commonjs/acmo/modules/dashboard/components/premium_empty_widget.js.map +1 -0
- package/lib/commonjs/acmo/modules/dashboard/components/premium_header.js +12 -10
- package/lib/commonjs/acmo/modules/dashboard/components/premium_header.js.map +1 -1
- package/lib/commonjs/acmo/modules/dashboard/components/premium_loading.js +118 -0
- package/lib/commonjs/acmo/modules/dashboard/components/premium_loading.js.map +1 -0
- package/lib/commonjs/acmo/modules/dashboard/repository.js +108 -32
- package/lib/commonjs/acmo/modules/dashboard/repository.js.map +1 -1
- package/lib/commonjs/acmo/modules/dashboard/top_offers.js +70 -63
- package/lib/commonjs/acmo/modules/dashboard/top_offers.js.map +1 -1
- package/lib/commonjs/assets/images/angle_up.png +0 -0
- package/lib/commonjs/assets/images/diamond.png +0 -0
- package/lib/commonjs/assets/images/info.png +0 -0
- package/lib/commonjs/assets/images/info_icon.png +0 -0
- package/lib/commonjs/assets/images/premium-emptybg.jpeg +0 -0
- package/lib/commonjs/assets/images/rank_1.png +0 -0
- package/lib/commonjs/assets/images/rank_2.png +0 -0
- package/lib/commonjs/assets/images/rank_3.png +0 -0
- package/lib/commonjs/assets/images/rank_4.png +0 -0
- package/lib/commonjs/assets/images/rank_5.png +0 -0
- package/lib/commonjs/index.js +15 -16
- package/lib/commonjs/index.js.map +1 -1
- package/lib/module/acmo/core/helpers/launcher.js +15 -0
- package/lib/module/acmo/core/helpers/launcher.js.map +1 -0
- package/lib/module/acmo/modules/dashboard/components/active_offers_button.js +70 -0
- package/lib/module/acmo/modules/dashboard/components/active_offers_button.js.map +1 -0
- package/lib/module/acmo/modules/dashboard/components/custom_card.js +7 -10
- package/lib/module/acmo/modules/dashboard/components/custom_card.js.map +1 -1
- package/lib/module/acmo/modules/dashboard/components/custom_scroller.js +135 -0
- package/lib/module/acmo/modules/dashboard/components/custom_scroller.js.map +1 -0
- package/lib/module/acmo/modules/dashboard/components/custom_shimmer.js +66 -0
- package/lib/module/acmo/modules/dashboard/components/custom_shimmer.js.map +1 -0
- package/lib/module/acmo/modules/dashboard/components/offer_card.js +257 -0
- package/lib/module/acmo/modules/dashboard/components/offer_card.js.map +1 -0
- package/lib/module/acmo/modules/dashboard/components/offer_list_item.js +191 -0
- package/lib/module/acmo/modules/dashboard/components/offer_list_item.js.map +1 -0
- package/lib/module/acmo/modules/dashboard/components/premium_empty_widget.js +78 -0
- package/lib/module/acmo/modules/dashboard/components/premium_empty_widget.js.map +1 -0
- package/lib/module/acmo/modules/dashboard/components/premium_header.js +12 -10
- package/lib/module/acmo/modules/dashboard/components/premium_header.js.map +1 -1
- package/lib/module/acmo/modules/dashboard/components/premium_loading.js +113 -0
- package/lib/module/acmo/modules/dashboard/components/premium_loading.js.map +1 -0
- package/lib/module/acmo/modules/dashboard/repository.js +105 -30
- package/lib/module/acmo/modules/dashboard/repository.js.map +1 -1
- package/lib/module/acmo/modules/dashboard/top_offers.js +71 -64
- package/lib/module/acmo/modules/dashboard/top_offers.js.map +1 -1
- package/lib/module/assets/images/angle_up.png +0 -0
- package/lib/module/assets/images/diamond.png +0 -0
- package/lib/module/assets/images/info.png +0 -0
- package/lib/module/assets/images/info_icon.png +0 -0
- package/lib/module/assets/images/premium-emptybg.jpeg +0 -0
- package/lib/module/assets/images/rank_1.png +0 -0
- package/lib/module/assets/images/rank_2.png +0 -0
- package/lib/module/assets/images/rank_3.png +0 -0
- package/lib/module/assets/images/rank_4.png +0 -0
- package/lib/module/assets/images/rank_5.png +0 -0
- package/lib/module/index.js +15 -16
- package/lib/module/index.js.map +1 -1
- package/lib/typescript/commonjs/src/acmo/core/helpers/launcher.d.ts +3 -0
- package/lib/typescript/commonjs/src/acmo/core/helpers/launcher.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/acmo/core/storage/storage.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/acmo/modules/dashboard/components/active_offers_button.d.ts +9 -0
- package/lib/typescript/commonjs/src/acmo/modules/dashboard/components/active_offers_button.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/acmo/modules/dashboard/components/custom_card.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/acmo/modules/dashboard/components/custom_scroller.d.ts +17 -0
- package/lib/typescript/commonjs/src/acmo/modules/dashboard/components/custom_scroller.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/acmo/modules/dashboard/components/custom_shimmer.d.ts +11 -0
- package/lib/typescript/commonjs/src/acmo/modules/dashboard/components/custom_shimmer.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/acmo/modules/dashboard/components/offer_card.d.ts +12 -0
- package/lib/typescript/commonjs/src/acmo/modules/dashboard/components/offer_card.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/acmo/modules/dashboard/components/offer_list_item.d.ts +15 -0
- package/lib/typescript/commonjs/src/acmo/modules/dashboard/components/offer_list_item.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/acmo/modules/dashboard/components/premium_empty_widget.d.ts +7 -0
- package/lib/typescript/commonjs/src/acmo/modules/dashboard/components/premium_empty_widget.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/acmo/modules/dashboard/components/premium_loading.d.ts +9 -0
- package/lib/typescript/commonjs/src/acmo/modules/dashboard/components/premium_loading.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/acmo/modules/dashboard/repository.d.ts +2 -1
- package/lib/typescript/commonjs/src/acmo/modules/dashboard/repository.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/acmo/modules/dashboard/top_offers.d.ts +8 -7
- package/lib/typescript/commonjs/src/acmo/modules/dashboard/top_offers.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/index.d.ts +6 -8
- package/lib/typescript/commonjs/src/index.d.ts.map +1 -1
- package/lib/typescript/module/src/acmo/core/helpers/launcher.d.ts +3 -0
- package/lib/typescript/module/src/acmo/core/helpers/launcher.d.ts.map +1 -0
- package/lib/typescript/module/src/acmo/core/storage/storage.d.ts.map +1 -1
- package/lib/typescript/module/src/acmo/modules/dashboard/components/active_offers_button.d.ts +9 -0
- package/lib/typescript/module/src/acmo/modules/dashboard/components/active_offers_button.d.ts.map +1 -0
- package/lib/typescript/module/src/acmo/modules/dashboard/components/custom_card.d.ts.map +1 -1
- package/lib/typescript/module/src/acmo/modules/dashboard/components/custom_scroller.d.ts +17 -0
- package/lib/typescript/module/src/acmo/modules/dashboard/components/custom_scroller.d.ts.map +1 -0
- package/lib/typescript/module/src/acmo/modules/dashboard/components/custom_shimmer.d.ts +11 -0
- package/lib/typescript/module/src/acmo/modules/dashboard/components/custom_shimmer.d.ts.map +1 -0
- package/lib/typescript/module/src/acmo/modules/dashboard/components/offer_card.d.ts +12 -0
- package/lib/typescript/module/src/acmo/modules/dashboard/components/offer_card.d.ts.map +1 -0
- package/lib/typescript/module/src/acmo/modules/dashboard/components/offer_list_item.d.ts +15 -0
- package/lib/typescript/module/src/acmo/modules/dashboard/components/offer_list_item.d.ts.map +1 -0
- package/lib/typescript/module/src/acmo/modules/dashboard/components/premium_empty_widget.d.ts +7 -0
- package/lib/typescript/module/src/acmo/modules/dashboard/components/premium_empty_widget.d.ts.map +1 -0
- package/lib/typescript/module/src/acmo/modules/dashboard/components/premium_loading.d.ts +9 -0
- package/lib/typescript/module/src/acmo/modules/dashboard/components/premium_loading.d.ts.map +1 -0
- package/lib/typescript/module/src/acmo/modules/dashboard/repository.d.ts +2 -1
- package/lib/typescript/module/src/acmo/modules/dashboard/repository.d.ts.map +1 -1
- package/lib/typescript/module/src/acmo/modules/dashboard/top_offers.d.ts +8 -7
- package/lib/typescript/module/src/acmo/modules/dashboard/top_offers.d.ts.map +1 -1
- package/lib/typescript/module/src/index.d.ts +6 -8
- package/lib/typescript/module/src/index.d.ts.map +1 -1
- package/package.json +3 -2
- package/readme.md +8 -8
- package/src/acmo/core/helpers/launcher.ts +14 -0
- package/src/acmo/core/types/types.d.ts +11 -13
- package/src/acmo/modules/dashboard/components/active_offers_button.tsx +61 -0
- package/src/acmo/modules/dashboard/components/custom_card.tsx +5 -8
- package/src/acmo/modules/dashboard/components/custom_scroller.tsx +164 -0
- package/src/acmo/modules/dashboard/components/custom_shimmer.tsx +75 -0
- package/src/acmo/modules/dashboard/components/offer_card.tsx +248 -0
- package/src/acmo/modules/dashboard/components/offer_list_item.tsx +225 -0
- package/src/acmo/modules/dashboard/components/premium_empty_widget.tsx +76 -0
- package/src/acmo/modules/dashboard/components/premium_header.tsx +8 -8
- package/src/acmo/modules/dashboard/components/premium_loading.tsx +78 -0
- package/src/acmo/modules/dashboard/repository.ts +121 -46
- package/src/acmo/modules/dashboard/top_offers.tsx +89 -52
- package/src/assets/images/angle_up.png +0 -0
- package/src/assets/images/diamond.png +0 -0
- package/src/assets/images/info.png +0 -0
- package/src/assets/images/info_icon.png +0 -0
- package/src/assets/images/premium-emptybg.jpeg +0 -0
- package/src/assets/images/rank_1.png +0 -0
- package/src/assets/images/rank_2.png +0 -0
- package/src/assets/images/rank_3.png +0 -0
- package/src/assets/images/rank_4.png +0 -0
- package/src/assets/images/rank_5.png +0 -0
- package/src/index.tsx +19 -23
- package/android/src/main/java/com/tyradssdk/TyradsSdkComposeViewManager.kt +0 -112
- package/lib/commonjs/acmo/core/marquee.js.map +0 -1
- package/lib/commonjs/acmo/modules/dashboard/components/auto_scroller.js +0 -87
- package/lib/commonjs/acmo/modules/dashboard/components/auto_scroller.js.map +0 -1
- package/lib/commonjs/acmo/modules/dashboard/components/my_games_button.js +0 -48
- package/lib/commonjs/acmo/modules/dashboard/components/my_games_button.js.map +0 -1
- package/lib/commonjs/acmo/modules/dashboard/components/offer_info_section.js +0 -158
- package/lib/commonjs/acmo/modules/dashboard/components/offer_info_section.js.map +0 -1
- package/lib/commonjs/acmo/modules/dashboard/components/premium_option_1.js +0 -181
- package/lib/commonjs/acmo/modules/dashboard/components/premium_option_1.js.map +0 -1
- package/lib/commonjs/acmo/modules/dashboard/components/premium_option_2.js +0 -102
- package/lib/commonjs/acmo/modules/dashboard/components/premium_option_2.js.map +0 -1
- package/lib/commonjs/acmo/modules/dashboard/components/premium_option_3.js +0 -41
- package/lib/commonjs/acmo/modules/dashboard/components/premium_option_3.js.map +0 -1
- package/lib/commonjs/acmo/modules/dashboard/components/premium_option_4.js +0 -214
- package/lib/commonjs/acmo/modules/dashboard/components/premium_option_4.js.map +0 -1
- package/lib/module/acmo/core/marquee.js +0 -54
- package/lib/module/acmo/core/marquee.js.map +0 -1
- package/lib/module/acmo/modules/dashboard/components/auto_scroller.js +0 -81
- package/lib/module/acmo/modules/dashboard/components/auto_scroller.js.map +0 -1
- package/lib/module/acmo/modules/dashboard/components/my_games_button.js +0 -43
- package/lib/module/acmo/modules/dashboard/components/my_games_button.js.map +0 -1
- package/lib/module/acmo/modules/dashboard/components/offer_info_section.js +0 -153
- package/lib/module/acmo/modules/dashboard/components/offer_info_section.js.map +0 -1
- package/lib/module/acmo/modules/dashboard/components/premium_option_1.js +0 -176
- package/lib/module/acmo/modules/dashboard/components/premium_option_1.js.map +0 -1
- package/lib/module/acmo/modules/dashboard/components/premium_option_2.js +0 -97
- package/lib/module/acmo/modules/dashboard/components/premium_option_2.js.map +0 -1
- package/lib/module/acmo/modules/dashboard/components/premium_option_3.js +0 -36
- package/lib/module/acmo/modules/dashboard/components/premium_option_3.js.map +0 -1
- package/lib/module/acmo/modules/dashboard/components/premium_option_4.js +0 -209
- package/lib/module/acmo/modules/dashboard/components/premium_option_4.js.map +0 -1
- package/lib/typescript/commonjs/src/acmo/core/marquee.d.ts +0 -11
- package/lib/typescript/commonjs/src/acmo/core/marquee.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/acmo/modules/dashboard/components/auto_scroller.d.ts +0 -10
- package/lib/typescript/commonjs/src/acmo/modules/dashboard/components/auto_scroller.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/acmo/modules/dashboard/components/my_games_button.d.ts +0 -8
- package/lib/typescript/commonjs/src/acmo/modules/dashboard/components/my_games_button.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/acmo/modules/dashboard/components/offer_info_section.d.ts +0 -11
- package/lib/typescript/commonjs/src/acmo/modules/dashboard/components/offer_info_section.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/acmo/modules/dashboard/components/premium_option_1.d.ts +0 -9
- package/lib/typescript/commonjs/src/acmo/modules/dashboard/components/premium_option_1.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/acmo/modules/dashboard/components/premium_option_2.d.ts +0 -9
- package/lib/typescript/commonjs/src/acmo/modules/dashboard/components/premium_option_2.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/acmo/modules/dashboard/components/premium_option_3.d.ts +0 -9
- package/lib/typescript/commonjs/src/acmo/modules/dashboard/components/premium_option_3.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/acmo/modules/dashboard/components/premium_option_4.d.ts +0 -9
- package/lib/typescript/commonjs/src/acmo/modules/dashboard/components/premium_option_4.d.ts.map +0 -1
- package/lib/typescript/module/src/acmo/core/marquee.d.ts +0 -11
- package/lib/typescript/module/src/acmo/core/marquee.d.ts.map +0 -1
- package/lib/typescript/module/src/acmo/modules/dashboard/components/auto_scroller.d.ts +0 -10
- package/lib/typescript/module/src/acmo/modules/dashboard/components/auto_scroller.d.ts.map +0 -1
- package/lib/typescript/module/src/acmo/modules/dashboard/components/my_games_button.d.ts +0 -8
- package/lib/typescript/module/src/acmo/modules/dashboard/components/my_games_button.d.ts.map +0 -1
- package/lib/typescript/module/src/acmo/modules/dashboard/components/offer_info_section.d.ts +0 -11
- package/lib/typescript/module/src/acmo/modules/dashboard/components/offer_info_section.d.ts.map +0 -1
- package/lib/typescript/module/src/acmo/modules/dashboard/components/premium_option_1.d.ts +0 -9
- package/lib/typescript/module/src/acmo/modules/dashboard/components/premium_option_1.d.ts.map +0 -1
- package/lib/typescript/module/src/acmo/modules/dashboard/components/premium_option_2.d.ts +0 -9
- package/lib/typescript/module/src/acmo/modules/dashboard/components/premium_option_2.d.ts.map +0 -1
- package/lib/typescript/module/src/acmo/modules/dashboard/components/premium_option_3.d.ts +0 -9
- package/lib/typescript/module/src/acmo/modules/dashboard/components/premium_option_3.d.ts.map +0 -1
- package/lib/typescript/module/src/acmo/modules/dashboard/components/premium_option_4.d.ts +0 -9
- package/lib/typescript/module/src/acmo/modules/dashboard/components/premium_option_4.d.ts.map +0 -1
- package/src/acmo/core/marquee.tsx +0 -62
- package/src/acmo/modules/dashboard/components/auto_scroller.tsx +0 -85
- package/src/acmo/modules/dashboard/components/my_games_button.tsx +0 -40
- package/src/acmo/modules/dashboard/components/offer_info_section.tsx +0 -139
- package/src/acmo/modules/dashboard/components/premium_option_1.tsx +0 -156
- package/src/acmo/modules/dashboard/components/premium_option_2.tsx +0 -100
- package/src/acmo/modules/dashboard/components/premium_option_3.tsx +0 -42
- package/src/acmo/modules/dashboard/components/premium_option_4.tsx +0 -185
@@ -1,176 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
|
3
|
-
import React from 'react';
|
4
|
-
import numeral from 'numeral';
|
5
|
-
import { View, Text, Image, TouchableOpacity, StyleSheet } from 'react-native';
|
6
|
-
import TextTicker from 'react-native-text-ticker';
|
7
|
-
import { useTranslation } from 'react-i18next';
|
8
|
-
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
9
|
-
const PremiumOption1 = ({
|
10
|
-
data,
|
11
|
-
onCampaignPress,
|
12
|
-
premiumColor
|
13
|
-
}) => {
|
14
|
-
const {
|
15
|
-
t
|
16
|
-
} = useTranslation();
|
17
|
-
console.log("Prmium Color", premiumColor);
|
18
|
-
return /*#__PURE__*/_jsx(View, {
|
19
|
-
children: data.map((item, index) => /*#__PURE__*/_jsxs(TouchableOpacity, {
|
20
|
-
onPress: () => onCampaignPress && onCampaignPress(item.campaignId),
|
21
|
-
style: styles.itemContainer,
|
22
|
-
activeOpacity: 0.75,
|
23
|
-
children: [/*#__PURE__*/_jsxs(View, {
|
24
|
-
style: {
|
25
|
-
flexDirection: 'row',
|
26
|
-
flex: 8,
|
27
|
-
marginRight: 10
|
28
|
-
},
|
29
|
-
children: [/*#__PURE__*/_jsx(Image, {
|
30
|
-
source: {
|
31
|
-
uri: item.thumbnail
|
32
|
-
},
|
33
|
-
style: styles.thumbnail
|
34
|
-
}), /*#__PURE__*/_jsxs(View, {
|
35
|
-
style: styles.infoContainer,
|
36
|
-
children: [/*#__PURE__*/_jsx(View, {
|
37
|
-
style: {
|
38
|
-
width: '100%'
|
39
|
-
},
|
40
|
-
children: item.title.length > 25 ? /*#__PURE__*/_jsx(View, {
|
41
|
-
style: {
|
42
|
-
overflow: 'hidden'
|
43
|
-
},
|
44
|
-
children: /*#__PURE__*/_jsx(TextTicker, {
|
45
|
-
style: styles.titleText,
|
46
|
-
duration: 3000,
|
47
|
-
loop: true,
|
48
|
-
bounce: true,
|
49
|
-
repeatSpacer: 50,
|
50
|
-
marqueeDelay: 1000,
|
51
|
-
children: item.title
|
52
|
-
})
|
53
|
-
}) : /*#__PURE__*/_jsx(Text, {
|
54
|
-
numberOfLines: 1,
|
55
|
-
style: styles.titleText,
|
56
|
-
children: item.title
|
57
|
-
})
|
58
|
-
}), /*#__PURE__*/_jsxs(View, {
|
59
|
-
style: styles.infoRow,
|
60
|
-
children: [/*#__PURE__*/_jsx(View, {
|
61
|
-
style: [styles.rankContainer, {
|
62
|
-
backgroundColor: premiumColor || '#1C90DF'
|
63
|
-
}],
|
64
|
-
children: /*#__PURE__*/_jsx(Text, {
|
65
|
-
numberOfLines: 1,
|
66
|
-
style: styles.rankText,
|
67
|
-
adjustsFontSizeToFit: true,
|
68
|
-
children: t('dashboard.top_ranking', {
|
69
|
-
number: index + 1
|
70
|
-
})
|
71
|
-
})
|
72
|
-
}), /*#__PURE__*/_jsxs(View, {
|
73
|
-
style: styles.rewardDetails,
|
74
|
-
children: [/*#__PURE__*/_jsx(Image, {
|
75
|
-
source: {
|
76
|
-
uri: item.currency.adUnitCurrencyIcon
|
77
|
-
},
|
78
|
-
resizeMode: "contain",
|
79
|
-
style: styles.coinIcon
|
80
|
-
}), /*#__PURE__*/_jsx(Text, {
|
81
|
-
style: styles.points,
|
82
|
-
children: numeral(item.points).format("0.00a").toUpperCase()
|
83
|
-
}), /*#__PURE__*/_jsxs(Text, {
|
84
|
-
style: styles.points,
|
85
|
-
children: ['', item.currency.adUnitCurrencyName]
|
86
|
-
})]
|
87
|
-
})]
|
88
|
-
})]
|
89
|
-
})]
|
90
|
-
}), /*#__PURE__*/_jsx(View, {
|
91
|
-
style: [styles.playButton, {
|
92
|
-
backgroundColor: premiumColor || '#1C90DF'
|
93
|
-
}],
|
94
|
-
children: /*#__PURE__*/_jsx(Text, {
|
95
|
-
style: styles.playButtonText,
|
96
|
-
children: t('dashboard.play_button')
|
97
|
-
})
|
98
|
-
})]
|
99
|
-
}, index))
|
100
|
-
});
|
101
|
-
};
|
102
|
-
const styles = StyleSheet.create({
|
103
|
-
itemContainer: {
|
104
|
-
flexDirection: 'row',
|
105
|
-
flex: 1,
|
106
|
-
width: '100%',
|
107
|
-
justifyContent: 'space-between',
|
108
|
-
alignItems: 'center',
|
109
|
-
paddingHorizontal: 16,
|
110
|
-
paddingVertical: 8
|
111
|
-
},
|
112
|
-
thumbnail: {
|
113
|
-
height: 40,
|
114
|
-
width: 40,
|
115
|
-
borderRadius: 10
|
116
|
-
},
|
117
|
-
infoContainer: {
|
118
|
-
marginLeft: 8
|
119
|
-
},
|
120
|
-
titleText: {
|
121
|
-
fontSize: 14,
|
122
|
-
fontWeight: 'bold'
|
123
|
-
},
|
124
|
-
infoRow: {
|
125
|
-
flexDirection: 'row',
|
126
|
-
alignItems: 'center',
|
127
|
-
alignContent: 'center'
|
128
|
-
},
|
129
|
-
rankContainer: {
|
130
|
-
marginTop: 4,
|
131
|
-
borderRadius: 12,
|
132
|
-
paddingHorizontal: 4,
|
133
|
-
paddingVertical: 2,
|
134
|
-
width: 43,
|
135
|
-
alignItems: 'center'
|
136
|
-
},
|
137
|
-
rankText: {
|
138
|
-
fontSize: 10,
|
139
|
-
color: 'white',
|
140
|
-
fontWeight: 'bold'
|
141
|
-
},
|
142
|
-
rewardDetails: {
|
143
|
-
flexDirection: 'row',
|
144
|
-
alignItems: 'center',
|
145
|
-
marginTop: 4,
|
146
|
-
left: 4
|
147
|
-
},
|
148
|
-
coinIcon: {
|
149
|
-
width: 14,
|
150
|
-
height: 14
|
151
|
-
},
|
152
|
-
points: {
|
153
|
-
fontSize: 13,
|
154
|
-
marginLeft: 4,
|
155
|
-
fontWeight: '500'
|
156
|
-
},
|
157
|
-
rewards: {
|
158
|
-
fontSize: 10,
|
159
|
-
fontStyle: 'italic'
|
160
|
-
},
|
161
|
-
playButton: {
|
162
|
-
paddingHorizontal: 12,
|
163
|
-
paddingVertical: 5,
|
164
|
-
height: 30,
|
165
|
-
borderRadius: 8,
|
166
|
-
alignItems: 'center',
|
167
|
-
justifyContent: 'center'
|
168
|
-
},
|
169
|
-
playButtonText: {
|
170
|
-
fontSize: 14,
|
171
|
-
fontWeight: 'bold',
|
172
|
-
color: 'white'
|
173
|
-
}
|
174
|
-
});
|
175
|
-
export default PremiumOption1;
|
176
|
-
//# sourceMappingURL=premium_option_1.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"names":["React","numeral","View","Text","Image","TouchableOpacity","StyleSheet","TextTicker","useTranslation","jsx","_jsx","jsxs","_jsxs","PremiumOption1","data","onCampaignPress","premiumColor","t","console","log","children","map","item","index","onPress","campaignId","style","styles","itemContainer","activeOpacity","flexDirection","flex","marginRight","source","uri","thumbnail","infoContainer","width","title","length","overflow","titleText","duration","loop","bounce","repeatSpacer","marqueeDelay","numberOfLines","infoRow","rankContainer","backgroundColor","rankText","adjustsFontSizeToFit","number","rewardDetails","currency","adUnitCurrencyIcon","resizeMode","coinIcon","points","format","toUpperCase","adUnitCurrencyName","playButton","playButtonText","create","justifyContent","alignItems","paddingHorizontal","paddingVertical","height","borderRadius","marginLeft","fontSize","fontWeight","alignContent","marginTop","color","left","rewards","fontStyle"],"sourceRoot":"../../../../../../src","sources":["acmo/modules/dashboard/components/premium_option_1.tsx"],"mappings":";;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,OAAOC,OAAO,MAAM,SAAS;AAC7B,SACEC,IAAI,EACJC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K;IACpBqC,UAAU,EAAE,QAAQ;IACpBQ,YAAY,EAAE;EAChB,CAAC;EACD1B,aAAa,EAAE;IACb2B,SAAS,EAAE,CAAC;IACZL,YAAY,EAAE,EAAE;IAChBH,iBAAiB,EAAE,CAAC;IACpBC,eAAe,EAAE,CAAC;IAClBhC,KAAK,EAAE,EAAE;IACT8B,UAAU,EAAE;EACd,CAAC;EACDhB,QAAQ,EAAE;IACRsB,QAAQ,EAAE,EAAE;IACZI,KAAK,EAAE,OAAO;IACdH,UAAU,EAAE;EACd,CAAC;EACDpB,aAAa,EAAE;IACbxB,aAAa,EAAE,KAAK;IACpBqC,UAAU,EAAE,QAAQ;IACpBS,SAAS,EAAE,CAAC;IACZE,IAAI,EAAE;EACR,CAAC;EACDpB,QAAQ,EAAE;IACRrB,KAAK,EAAE,EAAE;IACTiC,MAAM,EAAE;EACV,CAAC;EACDX,MAAM,EAAE;IACNc,QAAQ,EAAE,EAAE;IACZD,UAAU,EAAE,CAAC;IACbE,UAAU,EAAE;EACd,CAAC;EACDK,OAAO,EAAE;IACPN,QAAQ,EAAE,EAAE;IACZO,SAAS,EAAE;EACb,CAAC;EACDjB,UAAU,EAAE;IACVK,iBAAiB,EAAE,EAAE;IACrBC,eAAe,EAAE,CAAC;IAClBC,MAAM,EAAE,EAAE;IACVC,YAAY,EAAE,CAAC;IACfJ,UAAU,EAAE,QAAQ;IACpBD,cAAc,EAAE;EAClB,CAAC;EACDF,cAAc,EAAE;IACdS,QAAQ,EAAE,EAAE;IACZC,UAAU,EAAE,MAAM;IAClBG,KAAK,EAAE;EACT;AACF,CAAC,CAAC;AAEF,eAAehE,cAAc","ignoreList":[]}
|
@@ -1,97 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
|
3
|
-
import React from 'react';
|
4
|
-
import { View, Text, Image, StyleSheet, Dimensions, TouchableOpacity } from 'react-native';
|
5
|
-
import AutoScrollPagerWithIndicators from "./auto_scroller.js";
|
6
|
-
import OfferInfoSection from "./offer_info_section.js";
|
7
|
-
import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
|
8
|
-
const {
|
9
|
-
width
|
10
|
-
} = Dimensions.get('window');
|
11
|
-
const PremiumOption2 = ({
|
12
|
-
data,
|
13
|
-
onCampaignPress,
|
14
|
-
premiumColor
|
15
|
-
}) => {
|
16
|
-
return /*#__PURE__*/_jsx(AutoScrollPagerWithIndicators, {
|
17
|
-
totalPages: data.length,
|
18
|
-
premiumColor: premiumColor,
|
19
|
-
content: page => /*#__PURE__*/_jsx(TouchableOpacity, {
|
20
|
-
onPress: () => onCampaignPress && onCampaignPress(data[page]?.campaignId ?? 0),
|
21
|
-
activeOpacity: 0.8,
|
22
|
-
children: data[page] && /*#__PURE__*/_jsxs(_Fragment, {
|
23
|
-
children: [/*#__PURE__*/_jsx(OfferBanner, {
|
24
|
-
details: data[page],
|
25
|
-
index: page,
|
26
|
-
premiumColor: premiumColor
|
27
|
-
}), /*#__PURE__*/_jsx(OfferInfoSection, {
|
28
|
-
details: data[page],
|
29
|
-
premiumColor: premiumColor,
|
30
|
-
onButtonPress: () => onCampaignPress && onCampaignPress(data[page]?.campaignId ?? 0)
|
31
|
-
})]
|
32
|
-
})
|
33
|
-
}, page)
|
34
|
-
});
|
35
|
-
};
|
36
|
-
const OfferBanner = ({
|
37
|
-
details,
|
38
|
-
index,
|
39
|
-
premiumColor
|
40
|
-
}) => {
|
41
|
-
return /*#__PURE__*/_jsxs(View, {
|
42
|
-
style: styles.bannerContainer,
|
43
|
-
children: [/*#__PURE__*/_jsx(Image, {
|
44
|
-
style: styles.bannerImage,
|
45
|
-
source: {
|
46
|
-
uri: details.fileUrl
|
47
|
-
},
|
48
|
-
resizeMode: "cover"
|
49
|
-
}), /*#__PURE__*/_jsxs(View, {
|
50
|
-
style: styles.starContainer,
|
51
|
-
children: [/*#__PURE__*/_jsx(Image, {
|
52
|
-
source: require('../../../../assets/images/premium_star.png'),
|
53
|
-
style: [styles.starIcon, {
|
54
|
-
tintColor: premiumColor || '#1C90DF'
|
55
|
-
}]
|
56
|
-
}), /*#__PURE__*/_jsx(Text, {
|
57
|
-
style: styles.index,
|
58
|
-
numberOfLines: 1,
|
59
|
-
ellipsizeMode: "tail",
|
60
|
-
children: index + 1
|
61
|
-
})]
|
62
|
-
})]
|
63
|
-
});
|
64
|
-
};
|
65
|
-
const styles = StyleSheet.create({
|
66
|
-
bannerContainer: {
|
67
|
-
width: width,
|
68
|
-
height: 180
|
69
|
-
},
|
70
|
-
bannerImage: {
|
71
|
-
flex: 1
|
72
|
-
},
|
73
|
-
starContainer: {
|
74
|
-
position: 'absolute',
|
75
|
-
top: 10,
|
76
|
-
left: 10,
|
77
|
-
backgroundColor: 'rgba(0,0,0,0)'
|
78
|
-
},
|
79
|
-
starIcon: {
|
80
|
-
width: 30,
|
81
|
-
height: 30
|
82
|
-
},
|
83
|
-
index: {
|
84
|
-
position: 'absolute',
|
85
|
-
top: 0,
|
86
|
-
left: 0,
|
87
|
-
right: 0,
|
88
|
-
bottom: 0,
|
89
|
-
textAlign: 'center',
|
90
|
-
textAlignVertical: 'center',
|
91
|
-
color: 'white',
|
92
|
-
fontSize: 14,
|
93
|
-
fontWeight: 'bold'
|
94
|
-
}
|
95
|
-
});
|
96
|
-
export default PremiumOption2;
|
97
|
-
//# sourceMappingURL=premium_option_2.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"names":["React","View","Text","Image","StyleSheet","Dimensions","TouchableOpacity","AutoScrollPagerWithIndicators","OfferInfoSection","jsx","_jsx","Fragment","_Fragment","jsxs","_jsxs","width","get","PremiumOption2","data","onCampaignPress","premiumColor","totalPages","length","content","page","onPress","campaignId","activeOpacity","children","OfferBanner","details","index","onButtonPress","style","styles","bannerContainer","bannerImage","source","uri","fileUrl","resizeMode","starContainer","require","starIcon","tintColor","numberOfLines","ellipsizeMode","create","height","flex","position","top","left","backgroundColor","right","bottom","textAlign","textAlignVertical","color","fontSize","fontWeight"],"sourceRoot":"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TiC,MAAM,EAAE;EACV,CAAC;EACDjB,KAAK,EAAE;IACLmB,QAAQ,EAAE,UAAU;IACpBC,GAAG,EAAE,CAAC;IACNC,IAAI,EAAE,CAAC;IACPE,KAAK,EAAE,CAAC;IACRC,MAAM,EAAE,CAAC;IACTC,SAAS,EAAE,QAAQ;IACnBC,iBAAiB,EAAE,QAAQ;IAC3BC,KAAK,EAAE,OAAO;IACdC,QAAQ,EAAE,EAAE;IACZC,UAAU,EAAE;EACd;AACF,CAAC,CAAC;AAEF,eAAe3C,cAAc","ignoreList":[]}
|
@@ -1,36 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
|
3
|
-
import React from 'react';
|
4
|
-
import { TouchableOpacity, View } from 'react-native';
|
5
|
-
import AutoScrollPagerWithIndicators from "./auto_scroller.js";
|
6
|
-
import OfferInfoSection from "./offer_info_section.js";
|
7
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
8
|
-
const PremiumOption3 = ({
|
9
|
-
data,
|
10
|
-
onCampaignPress,
|
11
|
-
premiumColor
|
12
|
-
}) => {
|
13
|
-
return /*#__PURE__*/_jsx(AutoScrollPagerWithIndicators, {
|
14
|
-
totalPages: data.length,
|
15
|
-
premiumColor: premiumColor,
|
16
|
-
content: page => /*#__PURE__*/_jsx(TouchableOpacity, {
|
17
|
-
style: {
|
18
|
-
flex: 1
|
19
|
-
},
|
20
|
-
activeOpacity: 0.8,
|
21
|
-
onPress: () => onCampaignPress && onCampaignPress(data[page]?.campaignId ?? 0),
|
22
|
-
children: /*#__PURE__*/_jsx(View, {
|
23
|
-
children: data[page] && /*#__PURE__*/_jsx(OfferInfoSection, {
|
24
|
-
details: data[page],
|
25
|
-
premiumColor: premiumColor,
|
26
|
-
style: {
|
27
|
-
paddingVertical: 23
|
28
|
-
},
|
29
|
-
onButtonPress: () => onCampaignPress && onCampaignPress(data[page]?.campaignId ?? 0)
|
30
|
-
})
|
31
|
-
})
|
32
|
-
}, page)
|
33
|
-
});
|
34
|
-
};
|
35
|
-
export default PremiumOption3;
|
36
|
-
//# sourceMappingURL=premium_option_3.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"names":["React","TouchableOpacity","View","AutoScrollPagerWithIndicators","OfferInfoSection","jsx","_jsx","PremiumOption3","data","onCampaignPress","premiumColor","totalPages","length","content","page","style","flex","activeOpacity","onPress","campaignId","children","details","paddingVertical","onButtonPress"],"sourceRoot":"../../../../../../src","sources":["acmo/modules/dashboard/components/premium_option_3.tsx"],"mappings":";;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,gBAAgB,EAAEC,IAAI,QAAS,cAAc;AACtD,OAAOC,6BAA6B,MAAM,oBAAiB;AAC3D,OAAOC,gBAAgB,MAAM,yBAAsB;AAAC,SAAAC,GAAA,IAAAC,IAAA;AAQpD,MAAMC,cAA6C,GAAGA,CAAC;EAAEC,IAAI;EAAEC,eAAe;EAAEC;AAAa,CAAC,KAAK;EACjG,oBACEJ,IAAA,CAACH,6BAA6B;IAC5BQ,UAAU,EAAEH,IAAI,CAACI,MAAO;IACxBF,YAAY,EAAEA,YAAa;IAC3BG,OAAO,EAAGC,IAAI,iBACZR,IAAA,CAACL,gBAAgB;MAEfc,KAAK,EAAE;QAAEC,IAAI,EAAE;MAAE,CAAE;MACnBC,aAAa,EAAE,GAAI;MACnBC,OAAO,EAAEA,CAAA,KAAMT,eAAe,IAAIA,eAAe,CAACD,IAAI,CAACM,IAAI,CAAC,EAAEK,UAAU,IAAI,CAAC,CAAE;MAAAC,QAAA,eAE/Ed,IAAA,CAACJ,IAAI;QAAAkB,QAAA,EAEDZ,IAAI,CAACM,IAAI,CAAC,iBACRR,IAAA,CAACF,gBAAgB;UACfiB,OAAO,EAAEb,IAAI,CAACM,IAAI,CAAE;UACpBJ,YAAY,EAAEA,YAAa;UAC3BK,KAAK,EAAE;YAAEO,eAAe,EAAE;UAAG,CAAE;UAC/BC,aAAa,EAAEA,CAAA,KAAMd,eAAe,IAAIA,eAAe,CAACD,IAAI,CAACM,IAAI,CAAC,EAAEK,UAAU,IAAI,CAAC;QAAE,CACtF;MACF,CAEC;IAAC,GAhBFL,IAiBW;EAClB,CACH,CAAC;AAEN,CAAC;AAED,eAAeP,cAAc","ignoreList":[]}
|
@@ -1,209 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
|
3
|
-
import React from 'react';
|
4
|
-
import { View, Text, Image, StyleSheet, Dimensions, TouchableOpacity } from 'react-native';
|
5
|
-
import AutoScrollPagerWithIndicators from "./auto_scroller.js";
|
6
|
-
import numeral from 'numeral';
|
7
|
-
import { useTranslation } from 'react-i18next';
|
8
|
-
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
9
|
-
const {
|
10
|
-
width
|
11
|
-
} = Dimensions.get('window');
|
12
|
-
const PremiumOption4 = ({
|
13
|
-
data,
|
14
|
-
onCampaignPress,
|
15
|
-
premiumColor
|
16
|
-
}) => {
|
17
|
-
return /*#__PURE__*/_jsx(AutoScrollPagerWithIndicators, {
|
18
|
-
totalPages: data.length,
|
19
|
-
premiumColor: premiumColor,
|
20
|
-
content: page => /*#__PURE__*/_jsx(View, {
|
21
|
-
children: data[page] && /*#__PURE__*/_jsx(OfferBanner, {
|
22
|
-
details: data[page],
|
23
|
-
index: page,
|
24
|
-
premiumColor: premiumColor,
|
25
|
-
onCampaignPress: onCampaignPress
|
26
|
-
})
|
27
|
-
}, page)
|
28
|
-
});
|
29
|
-
};
|
30
|
-
const OfferBanner = ({
|
31
|
-
details,
|
32
|
-
index,
|
33
|
-
onCampaignPress,
|
34
|
-
premiumColor
|
35
|
-
}) => {
|
36
|
-
const {
|
37
|
-
t
|
38
|
-
} = useTranslation();
|
39
|
-
return /*#__PURE__*/_jsxs(View, {
|
40
|
-
style: styles.outerContainer,
|
41
|
-
children: [/*#__PURE__*/_jsxs(View, {
|
42
|
-
style: styles.bannerContainer,
|
43
|
-
children: [/*#__PURE__*/_jsx(Image, {
|
44
|
-
style: styles.bannerImage,
|
45
|
-
source: {
|
46
|
-
uri: details.fileUrl
|
47
|
-
},
|
48
|
-
resizeMode: "cover"
|
49
|
-
}), /*#__PURE__*/_jsxs(View, {
|
50
|
-
style: styles.starContainer,
|
51
|
-
children: [/*#__PURE__*/_jsx(Image, {
|
52
|
-
source: require('../../../../assets/images/premium_star.png'),
|
53
|
-
style: [styles.starIcon, {
|
54
|
-
tintColor: premiumColor || '#1C90DF'
|
55
|
-
}]
|
56
|
-
}), /*#__PURE__*/_jsx(Text, {
|
57
|
-
style: styles.index,
|
58
|
-
numberOfLines: 1,
|
59
|
-
ellipsizeMode: "tail",
|
60
|
-
children: index + 1
|
61
|
-
})]
|
62
|
-
})]
|
63
|
-
}), /*#__PURE__*/_jsxs(View, {
|
64
|
-
style: styles.titleContainer,
|
65
|
-
children: [/*#__PURE__*/_jsxs(View, {
|
66
|
-
style: {
|
67
|
-
flexDirection: 'row',
|
68
|
-
flex: 8,
|
69
|
-
width: '70%'
|
70
|
-
},
|
71
|
-
children: [/*#__PURE__*/_jsx(Image, {
|
72
|
-
style: styles.gameIcon,
|
73
|
-
source: {
|
74
|
-
uri: details.thumbnail
|
75
|
-
},
|
76
|
-
resizeMode: "cover"
|
77
|
-
}), /*#__PURE__*/_jsxs(View, {
|
78
|
-
style: {
|
79
|
-
marginLeft: 10
|
80
|
-
},
|
81
|
-
children: [/*#__PURE__*/_jsx(Text, {
|
82
|
-
style: styles.titleText,
|
83
|
-
children: details.title
|
84
|
-
}), /*#__PURE__*/_jsxs(View, {
|
85
|
-
style: styles.rewardDetails,
|
86
|
-
children: [/*#__PURE__*/_jsx(Image, {
|
87
|
-
source: {
|
88
|
-
uri: details.currency.adUnitCurrencyIcon
|
89
|
-
},
|
90
|
-
resizeMode: "contain",
|
91
|
-
style: styles.coinIcon
|
92
|
-
}), /*#__PURE__*/_jsx(Text, {
|
93
|
-
style: styles.points,
|
94
|
-
children: numeral(details.points).format("0.00a").toUpperCase()
|
95
|
-
}), /*#__PURE__*/_jsxs(Text, {
|
96
|
-
style: styles.points,
|
97
|
-
children: ['', details.currency.adUnitCurrencyName]
|
98
|
-
}), /*#__PURE__*/_jsxs(Text, {
|
99
|
-
style: styles.rewards,
|
100
|
-
children: [' ', details.rewards, " ", t('dashboard.rewards', {
|
101
|
-
count: details.rewards
|
102
|
-
})]
|
103
|
-
})]
|
104
|
-
})]
|
105
|
-
})]
|
106
|
-
}), /*#__PURE__*/_jsx(TouchableOpacity, {
|
107
|
-
onPress: () => onCampaignPress && onCampaignPress(details.campaignId),
|
108
|
-
style: [styles.playButton, {
|
109
|
-
backgroundColor: premiumColor || '#1C90DF'
|
110
|
-
}],
|
111
|
-
children: /*#__PURE__*/_jsx(Text, {
|
112
|
-
style: styles.playButtonText,
|
113
|
-
children: t('dashboard.play_button')
|
114
|
-
})
|
115
|
-
})]
|
116
|
-
})]
|
117
|
-
});
|
118
|
-
};
|
119
|
-
const styles = StyleSheet.create({
|
120
|
-
outerContainer: {},
|
121
|
-
bannerContainer: {
|
122
|
-
width: width,
|
123
|
-
height: 190
|
124
|
-
},
|
125
|
-
bannerImage: {
|
126
|
-
flex: 1,
|
127
|
-
borderRadius: 8
|
128
|
-
},
|
129
|
-
starContainer: {
|
130
|
-
position: 'absolute',
|
131
|
-
top: 10,
|
132
|
-
left: 10,
|
133
|
-
backgroundColor: 'rgba(0,0,0,0)'
|
134
|
-
},
|
135
|
-
starIcon: {
|
136
|
-
width: 30,
|
137
|
-
height: 30
|
138
|
-
},
|
139
|
-
index: {
|
140
|
-
position: 'absolute',
|
141
|
-
top: 0,
|
142
|
-
left: 0,
|
143
|
-
right: 0,
|
144
|
-
bottom: 0,
|
145
|
-
textAlign: 'center',
|
146
|
-
textAlignVertical: 'center',
|
147
|
-
color: 'white',
|
148
|
-
fontSize: 14,
|
149
|
-
fontWeight: 'bold'
|
150
|
-
},
|
151
|
-
titleContainer: {
|
152
|
-
flex: 1,
|
153
|
-
width: '91.5%',
|
154
|
-
flexDirection: 'row',
|
155
|
-
justifyContent: 'space-between',
|
156
|
-
alignItems: 'center',
|
157
|
-
padding: 8,
|
158
|
-
backgroundColor: 'rgba(0,0,0,0.5)',
|
159
|
-
position: 'absolute',
|
160
|
-
bottom: 0,
|
161
|
-
left: 0,
|
162
|
-
right: 0
|
163
|
-
},
|
164
|
-
titleText: {
|
165
|
-
color: 'white',
|
166
|
-
fontSize: 14,
|
167
|
-
fontWeight: 'bold',
|
168
|
-
marginBottom: 4
|
169
|
-
},
|
170
|
-
gameIcon: {
|
171
|
-
width: 35,
|
172
|
-
height: 35,
|
173
|
-
borderRadius: 8
|
174
|
-
},
|
175
|
-
coinIcon: {
|
176
|
-
width: 16,
|
177
|
-
height: 16
|
178
|
-
},
|
179
|
-
points: {
|
180
|
-
fontSize: 12,
|
181
|
-
marginLeft: 4,
|
182
|
-
fontWeight: 'bold',
|
183
|
-
color: 'white'
|
184
|
-
},
|
185
|
-
rewardDetails: {
|
186
|
-
flexDirection: 'row',
|
187
|
-
alignItems: 'center'
|
188
|
-
},
|
189
|
-
rewards: {
|
190
|
-
fontSize: 10,
|
191
|
-
fontStyle: 'italic',
|
192
|
-
color: 'lightgray'
|
193
|
-
},
|
194
|
-
playButton: {
|
195
|
-
paddingHorizontal: 12,
|
196
|
-
paddingVertical: 2,
|
197
|
-
height: 31,
|
198
|
-
borderRadius: 8,
|
199
|
-
alignItems: 'center',
|
200
|
-
justifyContent: 'center'
|
201
|
-
},
|
202
|
-
playButtonText: {
|
203
|
-
fontSize: 16,
|
204
|
-
fontWeight: 'bold',
|
205
|
-
color: 'white'
|
206
|
-
}
|
207
|
-
});
|
208
|
-
export default PremiumOption4;
|
209
|
-
//# sourceMappingURL=premium_option_4.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"names":["React","View","Text","Image","StyleSheet","Dimensions","TouchableOpacity","AutoScrollPagerWithIndicators","numeral","useTranslation","jsx","_jsx","jsxs","_jsxs","width","get","PremiumOption4","data","onCampaignPress","premiumColor","totalPages","length","content","page","children","OfferBanner","details","index","t","style","styles","outerContainer","bannerContainer","bannerImage","source","uri","fileUrl","resizeMode","starContainer","require","starIcon","tintColor","numberOfLines","ellipsizeMode","titleContainer","flexDirection","flex","gameIcon","thumbnail","marginLeft","titleText","title","rewardDetails","currency","adUnitCurrencyIcon","coinIcon","points","format","toUpperCase","adUnitCurrencyName","rewards","count","onPress","campaignId","playButton","backgroundColor","playButtonText","create","height","borderRadius","position","top","left","right","bottom","textAlign","textAlignVertical","color","fontSize","fontWeight","justifyContent","alignItems","padding","marginBottom","fontStyle","paddingHorizontal","paddingVertical"],"sourceRoot":"../../../../../../src","sources":["acmo/modules/dashboard/components/premium_option_4.tsx"],"mappings":";;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SACEC,IAAI,EACJC,IAAI,EACJC,KAAK,EACLC,UAAU,EACVC,UAAU,EACVC,gBAAgB,QACX,cAAc;AACrB,OAAOC,6BAA6B,MAAM,oBAAiB;AAC3D,OAAOC,OAAO,MAAM,SAAS;AAC7B,SAASC,cAAc,QAAQ,eAAe;AAAC,SAAAC,GAAA,IAAAC,IAAA,EAAAC,IAAA,IAAAC,KAAA;AAE/C,MAAM;EAAEC;AAAM,CAAC,GAAGT,UAAU,CAACU,GAAG,CAAC,QAAQ,CAAC;AAQ1C,MAAMC,cAA6C,GAAGA,CAAC;EAAEC,IAAI;EAAEC,eAAe;EAAEC;AAAa,CAAC,KAAK;EACjG,oBACER,IAAA,CAACJ,6BAA6B;IAC5Ba,UAAU,EAAEH,IAAI,CAACI,MAAO;IACxBF,YAAY,EAAEA,YAAa;IAC3BG,OAAO,EAAGC,IAAI,iBACZZ,IAAA,CAACV,IAAI;MAAAuB,QAAA,EAEDP,IAAI,CAACM,IAAI,CAAC,iBACRZ,IAAA,CAACc,WAAW;QAACC,OAAO,EAAET,IAAI,CAACM,IAAI,CAAE;QAACI,KAAK,EAAEJ,IAAK;QAACJ,YAAY,EAAEA,YAAa;QAAED,eAAe,EAAEA;MAAgB,CAAE;IAChH,GAJ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{ type TextStyle } from 'react-native';
|
3
|
-
interface MarqueeTextProps {
|
4
|
-
text: string;
|
5
|
-
speed?: number;
|
6
|
-
repeat?: number;
|
7
|
-
style?: TextStyle;
|
8
|
-
}
|
9
|
-
declare const MarqueeText: React.FC<MarqueeTextProps>;
|
10
|
-
export default MarqueeText;
|
11
|
-
//# sourceMappingURL=marquee.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"marquee.d.ts","sourceRoot":"","sources":["../../../../../../src/acmo/core/marquee.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA4B,MAAM,OAAO,CAAC;AACjD,OAAO,EAA0C,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAEtF,UAAU,gBAAgB;IACxB,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,KAAK,CAAC,EAAE,SAAS,CAAC;CACnB;AAED,QAAA,MAAM,WAAW,EAAE,KAAK,CAAC,EAAE,CAAC,gBAAgB,CAsC3C,CAAC;AAaF,eAAe,WAAW,CAAC"}
|
@@ -1,10 +0,0 @@
|
|
1
|
-
import React from 'react';
|
2
|
-
interface AutoScrollPagerWithIndicatorsProps {
|
3
|
-
totalPages: number;
|
4
|
-
delayInMillis?: number;
|
5
|
-
premiumColor?: string;
|
6
|
-
content: (index: number) => React.ReactNode;
|
7
|
-
}
|
8
|
-
declare const AutoScrollPagerWithIndicators: React.FC<AutoScrollPagerWithIndicatorsProps>;
|
9
|
-
export default AutoScrollPagerWithIndicators;
|
10
|
-
//# sourceMappingURL=auto_scroller.d.ts.map
|
package/lib/typescript/commonjs/src/acmo/modules/dashboard/components/auto_scroller.d.ts.map
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"auto_scroller.d.ts","sourceRoot":"","sources":["../../../../../../../../src/acmo/modules/dashboard/components/auto_scroller.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAsC,MAAM,OAAO,CAAC;AAK3D,UAAU,kCAAkC;IAC1C,UAAU,EAAE,MAAM,CAAC;IACnB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,OAAO,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,KAAK,CAAC,SAAS,CAAC;CAC7C;AAED,QAAA,MAAM,6BAA6B,EAAE,KAAK,CAAC,EAAE,CAAC,kCAAkC,CAsD/E,CAAC;AAkBF,eAAe,6BAA6B,CAAC"}
|
package/lib/typescript/commonjs/src/acmo/modules/dashboard/components/my_games_button.d.ts.map
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"my_games_button.d.ts","sourceRoot":"","sources":["../../../../../../../../src/acmo/modules/dashboard/components/my_games_button.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,UAAU,kBAAkB;IAC1B,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,OAAO,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;CAClC;AAED,QAAA,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC,kBAAkB,CAU/C,CAAC;AAoBF,eAAe,aAAa,CAAC"}
|
package/lib/typescript/commonjs/src/acmo/modules/dashboard/components/offer_info_section.d.ts
DELETED
@@ -1,11 +0,0 @@
|
|
1
|
-
import React from 'react';
|
2
|
-
import { type ViewStyle } from "react-native";
|
3
|
-
interface OfferInfoSectionProps {
|
4
|
-
details: TransformedCampaign;
|
5
|
-
premiumColor?: string;
|
6
|
-
style?: ViewStyle;
|
7
|
-
onButtonPress: () => void;
|
8
|
-
}
|
9
|
-
declare const OfferInfoSection: React.FC<OfferInfoSectionProps>;
|
10
|
-
export default OfferInfoSection;
|
11
|
-
//# sourceMappingURL=offer_info_section.d.ts.map
|
package/lib/typescript/commonjs/src/acmo/modules/dashboard/components/offer_info_section.d.ts.map
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"offer_info_section.d.ts","sourceRoot":"","sources":["../../../../../../../../src/acmo/modules/dashboard/components/offer_info_section.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAA+D,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAO3G,UAAU,qBAAqB;IAC7B,OAAO,EAAE,mBAAmB,CAAC;IAC7B,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,aAAa,EAAE,MAAM,IAAI,CAAC;CAC3B;AAED,QAAA,MAAM,gBAAgB,EAAE,KAAK,CAAC,EAAE,CAAC,qBAAqB,CA0DrD,CAAC;AAiEF,eAAe,gBAAgB,CAAC"}
|
@@ -1,9 +0,0 @@
|
|
1
|
-
import React from 'react';
|
2
|
-
interface PremiumOption1Props {
|
3
|
-
data: TransformedCampaign[];
|
4
|
-
premiumColor?: string;
|
5
|
-
onCampaignPress?: (campaignId: number) => void;
|
6
|
-
}
|
7
|
-
declare const PremiumOption1: React.FC<PremiumOption1Props>;
|
8
|
-
export default PremiumOption1;
|
9
|
-
//# sourceMappingURL=premium_option_1.d.ts.map
|
package/lib/typescript/commonjs/src/acmo/modules/dashboard/components/premium_option_1.d.ts.map
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"premium_option_1.d.ts","sourceRoot":"","sources":["../../../../../../../../src/acmo/modules/dashboard/components/premium_option_1.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAY1B,UAAU,mBAAmB;IAC3B,IAAI,EAAE,mBAAmB,EAAE,CAAC;IAC5B,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,eAAe,CAAC,EAAE,CAAC,UAAU,EAAE,MAAM,KAAK,IAAI,CAAC;CAChD;AAED,QAAA,MAAM,cAAc,EAAE,KAAK,CAAC,EAAE,CAAC,mBAAmB,CA6DjD,CAAC;AA4EF,eAAe,cAAc,CAAC"}
|
@@ -1,9 +0,0 @@
|
|
1
|
-
import React from 'react';
|
2
|
-
interface PremiumOption2Props {
|
3
|
-
data: TransformedCampaign[];
|
4
|
-
premiumColor?: string;
|
5
|
-
onCampaignPress?: (campaignId: number) => void;
|
6
|
-
}
|
7
|
-
declare const PremiumOption2: React.FC<PremiumOption2Props>;
|
8
|
-
export default PremiumOption2;
|
9
|
-
//# sourceMappingURL=premium_option_2.d.ts.map
|
package/lib/typescript/commonjs/src/acmo/modules/dashboard/components/premium_option_2.d.ts.map
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"premium_option_2.d.ts","sourceRoot":"","sources":["../../../../../../../../src/acmo/modules/dashboard/components/premium_option_2.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAc1B,UAAU,mBAAmB;IAC3B,IAAI,EAAE,mBAAmB,EAAE,CAAC;IAC5B,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,eAAe,CAAC,EAAE,CAAC,UAAU,EAAE,MAAM,KAAK,IAAI,CAAC;CAChD;AAED,QAAA,MAAM,cAAc,EAAE,KAAK,CAAC,EAAE,CAAC,mBAAmB,CAsBjD,CAAC;AAyDF,eAAe,cAAc,CAAC"}
|
@@ -1,9 +0,0 @@
|
|
1
|
-
import React from 'react';
|
2
|
-
interface PremiumOption3Props {
|
3
|
-
data: TransformedCampaign[];
|
4
|
-
premiumColor?: string;
|
5
|
-
onCampaignPress?: (campaignId: number) => void;
|
6
|
-
}
|
7
|
-
declare const PremiumOption3: React.FC<PremiumOption3Props>;
|
8
|
-
export default PremiumOption3;
|
9
|
-
//# sourceMappingURL=premium_option_3.d.ts.map
|