@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,214 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
4
|
-
value: true
|
5
|
-
});
|
6
|
-
exports.default = void 0;
|
7
|
-
var _react = _interopRequireDefault(require("react"));
|
8
|
-
var _reactNative = require("react-native");
|
9
|
-
var _auto_scroller = _interopRequireDefault(require("./auto_scroller.js"));
|
10
|
-
var _numeral = _interopRequireDefault(require("numeral"));
|
11
|
-
var _reactI18next = require("react-i18next");
|
12
|
-
var _jsxRuntime = require("react/jsx-runtime");
|
13
|
-
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
14
|
-
const {
|
15
|
-
width
|
16
|
-
} = _reactNative.Dimensions.get('window');
|
17
|
-
const PremiumOption4 = ({
|
18
|
-
data,
|
19
|
-
onCampaignPress,
|
20
|
-
premiumColor
|
21
|
-
}) => {
|
22
|
-
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_auto_scroller.default, {
|
23
|
-
totalPages: data.length,
|
24
|
-
premiumColor: premiumColor,
|
25
|
-
content: page => /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
|
26
|
-
children: data[page] && /*#__PURE__*/(0, _jsxRuntime.jsx)(OfferBanner, {
|
27
|
-
details: data[page],
|
28
|
-
index: page,
|
29
|
-
premiumColor: premiumColor,
|
30
|
-
onCampaignPress: onCampaignPress
|
31
|
-
})
|
32
|
-
}, page)
|
33
|
-
});
|
34
|
-
};
|
35
|
-
const OfferBanner = ({
|
36
|
-
details,
|
37
|
-
index,
|
38
|
-
onCampaignPress,
|
39
|
-
premiumColor
|
40
|
-
}) => {
|
41
|
-
const {
|
42
|
-
t
|
43
|
-
} = (0, _reactI18next.useTranslation)();
|
44
|
-
return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
|
45
|
-
style: styles.outerContainer,
|
46
|
-
children: [/*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
|
47
|
-
style: styles.bannerContainer,
|
48
|
-
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Image, {
|
49
|
-
style: styles.bannerImage,
|
50
|
-
source: {
|
51
|
-
uri: details.fileUrl
|
52
|
-
},
|
53
|
-
resizeMode: "cover"
|
54
|
-
}), /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
|
55
|
-
style: styles.starContainer,
|
56
|
-
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Image, {
|
57
|
-
source: require('../../../../assets/images/premium_star.png'),
|
58
|
-
style: [styles.starIcon, {
|
59
|
-
tintColor: premiumColor || '#1C90DF'
|
60
|
-
}]
|
61
|
-
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
62
|
-
style: styles.index,
|
63
|
-
numberOfLines: 1,
|
64
|
-
ellipsizeMode: "tail",
|
65
|
-
children: index + 1
|
66
|
-
})]
|
67
|
-
})]
|
68
|
-
}), /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
|
69
|
-
style: styles.titleContainer,
|
70
|
-
children: [/*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
|
71
|
-
style: {
|
72
|
-
flexDirection: 'row',
|
73
|
-
flex: 8,
|
74
|
-
width: '70%'
|
75
|
-
},
|
76
|
-
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Image, {
|
77
|
-
style: styles.gameIcon,
|
78
|
-
source: {
|
79
|
-
uri: details.thumbnail
|
80
|
-
},
|
81
|
-
resizeMode: "cover"
|
82
|
-
}), /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
|
83
|
-
style: {
|
84
|
-
marginLeft: 10
|
85
|
-
},
|
86
|
-
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
87
|
-
style: styles.titleText,
|
88
|
-
children: details.title
|
89
|
-
}), /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
|
90
|
-
style: styles.rewardDetails,
|
91
|
-
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Image, {
|
92
|
-
source: {
|
93
|
-
uri: details.currency.adUnitCurrencyIcon
|
94
|
-
},
|
95
|
-
resizeMode: "contain",
|
96
|
-
style: styles.coinIcon
|
97
|
-
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
98
|
-
style: styles.points,
|
99
|
-
children: (0, _numeral.default)(details.points).format("0.00a").toUpperCase()
|
100
|
-
}), /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.Text, {
|
101
|
-
style: styles.points,
|
102
|
-
children: ['', details.currency.adUnitCurrencyName]
|
103
|
-
}), /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.Text, {
|
104
|
-
style: styles.rewards,
|
105
|
-
children: [' ', details.rewards, " ", t('dashboard.rewards', {
|
106
|
-
count: details.rewards
|
107
|
-
})]
|
108
|
-
})]
|
109
|
-
})]
|
110
|
-
})]
|
111
|
-
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.TouchableOpacity, {
|
112
|
-
onPress: () => onCampaignPress && onCampaignPress(details.campaignId),
|
113
|
-
style: [styles.playButton, {
|
114
|
-
backgroundColor: premiumColor || '#1C90DF'
|
115
|
-
}],
|
116
|
-
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
117
|
-
style: styles.playButtonText,
|
118
|
-
children: t('dashboard.play_button')
|
119
|
-
})
|
120
|
-
})]
|
121
|
-
})]
|
122
|
-
});
|
123
|
-
};
|
124
|
-
const styles = _reactNative.StyleSheet.create({
|
125
|
-
outerContainer: {},
|
126
|
-
bannerContainer: {
|
127
|
-
width: width,
|
128
|
-
height: 190
|
129
|
-
},
|
130
|
-
bannerImage: {
|
131
|
-
flex: 1,
|
132
|
-
borderRadius: 8
|
133
|
-
},
|
134
|
-
starContainer: {
|
135
|
-
position: 'absolute',
|
136
|
-
top: 10,
|
137
|
-
left: 10,
|
138
|
-
backgroundColor: 'rgba(0,0,0,0)'
|
139
|
-
},
|
140
|
-
starIcon: {
|
141
|
-
width: 30,
|
142
|
-
height: 30
|
143
|
-
},
|
144
|
-
index: {
|
145
|
-
position: 'absolute',
|
146
|
-
top: 0,
|
147
|
-
left: 0,
|
148
|
-
right: 0,
|
149
|
-
bottom: 0,
|
150
|
-
textAlign: 'center',
|
151
|
-
textAlignVertical: 'center',
|
152
|
-
color: 'white',
|
153
|
-
fontSize: 14,
|
154
|
-
fontWeight: 'bold'
|
155
|
-
},
|
156
|
-
titleContainer: {
|
157
|
-
flex: 1,
|
158
|
-
width: '91.5%',
|
159
|
-
flexDirection: 'row',
|
160
|
-
justifyContent: 'space-between',
|
161
|
-
alignItems: 'center',
|
162
|
-
padding: 8,
|
163
|
-
backgroundColor: 'rgba(0,0,0,0.5)',
|
164
|
-
position: 'absolute',
|
165
|
-
bottom: 0,
|
166
|
-
left: 0,
|
167
|
-
right: 0
|
168
|
-
},
|
169
|
-
titleText: {
|
170
|
-
color: 'white',
|
171
|
-
fontSize: 14,
|
172
|
-
fontWeight: 'bold',
|
173
|
-
marginBottom: 4
|
174
|
-
},
|
175
|
-
gameIcon: {
|
176
|
-
width: 35,
|
177
|
-
height: 35,
|
178
|
-
borderRadius: 8
|
179
|
-
},
|
180
|
-
coinIcon: {
|
181
|
-
width: 16,
|
182
|
-
height: 16
|
183
|
-
},
|
184
|
-
points: {
|
185
|
-
fontSize: 12,
|
186
|
-
marginLeft: 4,
|
187
|
-
fontWeight: 'bold',
|
188
|
-
color: 'white'
|
189
|
-
},
|
190
|
-
rewardDetails: {
|
191
|
-
flexDirection: 'row',
|
192
|
-
alignItems: 'center'
|
193
|
-
},
|
194
|
-
rewards: {
|
195
|
-
fontSize: 10,
|
196
|
-
fontStyle: 'italic',
|
197
|
-
color: 'lightgray'
|
198
|
-
},
|
199
|
-
playButton: {
|
200
|
-
paddingHorizontal: 12,
|
201
|
-
paddingVertical: 2,
|
202
|
-
height: 31,
|
203
|
-
borderRadius: 8,
|
204
|
-
alignItems: 'center',
|
205
|
-
justifyContent: 'center'
|
206
|
-
},
|
207
|
-
playButtonText: {
|
208
|
-
fontSize: 16,
|
209
|
-
fontWeight: 'bold',
|
210
|
-
color: 'white'
|
211
|
-
}
|
212
|
-
});
|
213
|
-
var _default = exports.default = PremiumOption4;
|
214
|
-
//# sourceMappingURL=premium_option_4.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"names":["_react","_interopRequireDefault","require","_reactNative","_auto_scroller","_numeral","_reactI18next","_jsxRuntime","e","__esModule","default","width","Dimensions","get","PremiumOption4","data","onCampaignPress","premiumColor","jsx","totalPages","length","content","page","View","children","OfferBanner","details","index","t","useTranslation","jsxs","style","styles","outerContainer","bannerContainer","Image","bannerImage","source","uri","fileUrl","resizeMode","starContainer","starIcon","tintColor","Text","numberOfLines","ellipsizeMode","titleContainer","flexDirection","flex","gameIcon","thumbnail","marginLeft","titleText","title","rewardDetails","currency","adUnitCurrencyIcon","coinIcon","points","numeral","format","toUpperCase","adUnitCurrencyName","rewards","count","TouchableOpacity","onPress","campaignId","playButton","backgroundColor","playButtonText","StyleSheet","create","height","borderRadius","position","top","left","right","bottom","textAlign","textAlignVertical","color","fontSize","fontWeight","justifyContent","alignItems","padding","marginBottom","fontStyle","paddingHorizontal","paddingVertical","_default","exports"],"sourceRo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M,SAAS,EAAE,QAAQ;IACnBP,KAAK,EAAE;EACT,CAAC;EACDd,UAAU,EAAE;IACVsB,iBAAiB,EAAE,EAAE;IACrBC,eAAe,EAAE,CAAC;IAClBlB,MAAM,EAAE,EAAE;IACVC,YAAY,EAAE,CAAC;IACfY,UAAU,EAAE,QAAQ;IACpBD,cAAc,EAAE;EAClB,CAAC;EACDf,cAAc,EAAE;IACda,QAAQ,EAAE,EAAE;IACZC,UAAU,EAAE,MAAM;IAClBF,KAAK,EAAE;EACT;AACF,CAAC,CAAC;AAAC,IAAAU,QAAA,GAAAC,OAAA,CAAApF,OAAA,GAEYI,cAAc","ignoreList":[]}
|
@@ -1,54 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
|
3
|
-
import React, { useEffect, useRef } from 'react';
|
4
|
-
import { Animated, View, StyleSheet, Dimensions } from 'react-native';
|
5
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
6
|
-
const MarqueeText = ({
|
7
|
-
text,
|
8
|
-
speed = 15,
|
9
|
-
repeat = 100,
|
10
|
-
style
|
11
|
-
}) => {
|
12
|
-
const translateX = useRef(new Animated.Value(0)).current;
|
13
|
-
useEffect(() => {
|
14
|
-
const textWidth = text.length * 4;
|
15
|
-
const screenWidth = Dimensions.get('window').width;
|
16
|
-
const animation = Animated.loop(Animated.sequence([Animated.timing(translateX, {
|
17
|
-
toValue: -textWidth,
|
18
|
-
duration: (textWidth + screenWidth) * speed,
|
19
|
-
useNativeDriver: true
|
20
|
-
}), Animated.timing(translateX, {
|
21
|
-
toValue: screenWidth,
|
22
|
-
duration: 0,
|
23
|
-
useNativeDriver: true
|
24
|
-
})]), {
|
25
|
-
iterations: repeat
|
26
|
-
});
|
27
|
-
animation.start();
|
28
|
-
return () => animation.stop();
|
29
|
-
}, [text, speed, repeat, translateX]);
|
30
|
-
return /*#__PURE__*/_jsx(View, {
|
31
|
-
style: styles.container,
|
32
|
-
children: /*#__PURE__*/_jsx(Animated.Text, {
|
33
|
-
numberOfLines: 1,
|
34
|
-
style: [styles.text, style, {
|
35
|
-
transform: [{
|
36
|
-
translateX
|
37
|
-
}]
|
38
|
-
}],
|
39
|
-
children: text
|
40
|
-
})
|
41
|
-
});
|
42
|
-
};
|
43
|
-
const styles = StyleSheet.create({
|
44
|
-
container: {
|
45
|
-
overflow: 'hidden',
|
46
|
-
width: '100%'
|
47
|
-
},
|
48
|
-
text: {
|
49
|
-
fontSize: 16,
|
50
|
-
fontWeight: 'bold'
|
51
|
-
}
|
52
|
-
});
|
53
|
-
export default MarqueeText;
|
54
|
-
//# sourceMappingURL=marquee.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"names":["React","useEffect","useRef","Animated","View","StyleSheet","Dimensions","jsx","_jsx","MarqueeText","text","speed","repeat","style","translateX","Value","current","textWidth","length","screenWidth","get","width","animation","loop","sequence","timing","toValue","duration","useNativeDriver","iterations","start","stop","styles","container","children","Text","numberOfLines","transform","create","overflow","fontSize","fontWeight"],"sourceRoot":"../../../../src","sources":["acmo/core/marquee.tsx"],"mappings":";;AAAA,OAAOA,KAAK,IAAIC,SAAS,EAAEC,MAAM,QAAQ,OAAO;AAChD,SAASC,QAAQ,EAAEC,IAAI,EAAEC,UAAU,EAAEC,UAAU,QAAwB,cAAc;AAAC,SAAAC,GAAA,IAAAC,IAAA;AAStF,MAAMC,WAAuC,GAAGA,CAAC;EAAEC,IAAI;EAAEC,KAAK,GAAG,EAAE;EAAEC,MAAM,GAAG,GAAG;EAAEC;AAAM,CAAC,KAAK;EAC7F,MAAMC,UAAU,GAAGZ,MAAM,CAAC,IAAIC,QAAQ,CAACY,KAAK,CAAC,CAAC,CAAC,CAAC,CAACC,OAAO;EAExDf,SAAS,CAAC,MAAM;IACd,MAAMgB,SAAS,GAAGP,IAAI,CAACQ,MAAM,GAAG,CAAC;IACjC,MAAMC,WAAW,GAAGb,UAAU,CAACc,GAAG,CAAC,QAAQ,CAAC,CAACC,KAAK;IAElD,MAAMC,SAAS,GAAGnB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"use strict";
|
2
|
-
|
3
|
-
import React, { useRef, useState, useEffect } from 'react';
|
4
|
-
import { View, ScrollView, StyleSheet, Dimensions } from 'react-native';
|
5
|
-
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
6
|
-
const {
|
7
|
-
width
|
8
|
-
} = Dimensions.get('window');
|
9
|
-
const AutoScrollPagerWithIndicators = ({
|
10
|
-
totalPages,
|
11
|
-
delayInMillis = 5000,
|
12
|
-
premiumColor,
|
13
|
-
content
|
14
|
-
}) => {
|
15
|
-
const [currentPage, setCurrentPage] = useState(0);
|
16
|
-
const scrollViewRef = useRef(null);
|
17
|
-
useEffect(() => {
|
18
|
-
const intervalId = setInterval(() => {
|
19
|
-
const nextBanner = (currentPage + 1) % totalPages;
|
20
|
-
setCurrentPage(nextBanner);
|
21
|
-
scrollViewRef.current?.scrollTo({
|
22
|
-
x: nextBanner * width,
|
23
|
-
animated: true
|
24
|
-
});
|
25
|
-
}, delayInMillis);
|
26
|
-
return () => clearInterval(intervalId);
|
27
|
-
}, [currentPage, totalPages, delayInMillis]);
|
28
|
-
useEffect(() => {
|
29
|
-
scrollViewRef.current?.scrollTo({
|
30
|
-
x: currentPage * width,
|
31
|
-
animated: false
|
32
|
-
});
|
33
|
-
}, [currentPage]);
|
34
|
-
const renderIndicators = () => {
|
35
|
-
const indicators = [];
|
36
|
-
for (let i = 0; i < totalPages; i++) {
|
37
|
-
indicators.push(/*#__PURE__*/_jsx(View, {
|
38
|
-
style: [styles.indicator, {
|
39
|
-
backgroundColor: currentPage === i ? premiumColor || '#1C90DF' : 'lightgray'
|
40
|
-
}]
|
41
|
-
}, i));
|
42
|
-
}
|
43
|
-
return /*#__PURE__*/_jsx(View, {
|
44
|
-
style: styles.indicatorContainer,
|
45
|
-
children: indicators
|
46
|
-
});
|
47
|
-
};
|
48
|
-
return /*#__PURE__*/_jsxs(View, {
|
49
|
-
style: styles.container,
|
50
|
-
children: [/*#__PURE__*/_jsx(ScrollView, {
|
51
|
-
ref: scrollViewRef,
|
52
|
-
horizontal: true,
|
53
|
-
pagingEnabled: true,
|
54
|
-
showsHorizontalScrollIndicator: true,
|
55
|
-
scrollEnabled: false,
|
56
|
-
contentContainerStyle: {
|
57
|
-
width: totalPages * width
|
58
|
-
},
|
59
|
-
children: Array.from({
|
60
|
-
length: totalPages
|
61
|
-
}, (_, i) => content(i))
|
62
|
-
}), renderIndicators()]
|
63
|
-
});
|
64
|
-
};
|
65
|
-
const styles = StyleSheet.create({
|
66
|
-
container: {
|
67
|
-
alignItems: 'center'
|
68
|
-
},
|
69
|
-
indicatorContainer: {
|
70
|
-
flexDirection: 'row',
|
71
|
-
marginTop: 10
|
72
|
-
},
|
73
|
-
indicator: {
|
74
|
-
width: 8,
|
75
|
-
height: 8,
|
76
|
-
borderRadius: 4,
|
77
|
-
marginHorizontal: 2
|
78
|
-
}
|
79
|
-
});
|
80
|
-
export default AutoScrollPagerWithIndicators;
|
81
|
-
//# sourceMappingURL=auto_scroller.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"names":["React","useRef","useState","useEffect","View","ScrollView","StyleSheet","Dimensions","jsx","_jsx","jsxs","_jsxs","width","get","AutoScrollPagerWithIndicators","totalPages","delayInMillis","premiumColor","content","currentPage","setCurrentPage","scrollViewRef","intervalId","setInterval","nextBanner","current","scrollTo","x","animated","clearInterval","renderIndicators","indicators","i","push","style","styles","indicator","backgroundColor","indicatorContainer","children","container","ref","horizontal","pagingEnabled","showsHorizontalScrollIndicator","scrollEnabled","contentContainerStyle","Array","from","length","_","create","alignItems","flexDirection","marginTop","height","borderRadius","marginHorizontal"],"sourceRoot":"../../../../../../src","sources":["acmo/modules/dashboard/components/auto_scroller.tsx"],"mappings":";;AAAA,OAAOA,KAAK,IAAIC,MAAM,EAAEC,QAAQ,EAAEC,SAAS,QAAQ,OAAO;AAC1D,SAASC,IAAI,EAAEC,UAAU,EAAEC,UAAU,EAAEC,UAAU,QAAQ,cAAc;AAAC,SAAAC,GAAA,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LC,MAAM,CAACC,SAAS,EAChB;UAAEC,eAAe,EAAElB,WAAW,KAAKa,CAAC,GAAIf,YAAY,IAAG,SAAS,GAAI;QAAY,CAAC;MACjF,GAJGe,CAKN,CACH,CAAC;IACH;IACA,oBAAOvB,IAAA,CAACL,IAAI;MAAC8B,KAAK,EAAEC,MAAM,CAACG,kBAAmB;MAAAC,QAAA,EAAER;IAAU,CAAO,CAAC;EACpE,CAAC;EAED,oBACEpB,KAAA,CAACP,IAAI;IAAC8B,KAAK,EAAEC,MAAM,CAACK,SAAU;IAAAD,QAAA,gBAC5B9B,IAAA,CAACJ,UAAU;MACToC,GAAG,EAAEpB,aAAc;MACnBqB,UAAU;MACVC,aAAa;MACbC,8BAA8B,EAAE,IAAK;MACrCC,aAAa,EAAE,KAAM;MACrBC,qBAAqB,EAAE;QAAElC,KAAK,EAAEG,UAAU,GAAGH;MAAM,CAAE;MAAA2B,QAAA,EAEpDQ,KAAK,CAACC,IAAI,CAAC;QAAEC,MAAM,EAAElC;MAAW,CAAC,EAAE,CAACmC,CAAC,EAAElB,CAAC,KAAKd,OAAO,CAACc,CAAC,CAAC;IAAC,CAC/C,CAAC,EACZF,gBAAgB,CAAC,CAAC;EAAA,CACf,CAAC;AAEX,CAAC;AAED,MAAMK,MAAM,GAAG7B,UAAU,CAAC6C,MAAM,CAAC;EAC/BX,SAAS,EAAE;IACTY,UAAU,EAAE;EACd,CAAC;EACDd,kBAAkB,EAAE;IAClBe,aAAa,EAAE,KAAK;IACpBC,SAAS,EAAE;EACb,CAAC;EACDlB,SAAS,EAAE;IACTxB,KAAK,EAAE,CAAC;IACR2C,MAAM,EAAE,CAAC;IACTC,YAAY,EAAE,CAAC;IACfC,gBAAgB,EAAE;EACpB;AACF,CAAC,CAAC;AAEF,eAAe3C,6BAA6B","ignoreList":[]}
|
@@ -1,43 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
|
3
|
-
import React from 'react';
|
4
|
-
import { TouchableOpacity, Text, StyleSheet } from 'react-native';
|
5
|
-
import { useTranslation } from 'react-i18next';
|
6
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
7
|
-
const MyGamesButton = ({
|
8
|
-
premiumColor,
|
9
|
-
onPress
|
10
|
-
}) => {
|
11
|
-
const {
|
12
|
-
t
|
13
|
-
} = useTranslation();
|
14
|
-
return /*#__PURE__*/_jsx(TouchableOpacity, {
|
15
|
-
style: [styles.button, {
|
16
|
-
backgroundColor: premiumColor || '#1C90DF'
|
17
|
-
}],
|
18
|
-
onPress: () => onPress && onPress('campaigns-activated'),
|
19
|
-
children: /*#__PURE__*/_jsx(Text, {
|
20
|
-
style: styles.buttonText,
|
21
|
-
children: t('dashboard.my_games')
|
22
|
-
})
|
23
|
-
});
|
24
|
-
};
|
25
|
-
const styles = StyleSheet.create({
|
26
|
-
button: {
|
27
|
-
borderRadius: 8,
|
28
|
-
paddingHorizontal: 16,
|
29
|
-
paddingVertical: 8,
|
30
|
-
height: 40,
|
31
|
-
justifyContent: 'center',
|
32
|
-
alignItems: 'center',
|
33
|
-
marginHorizontal: 16,
|
34
|
-
marginBottom: 16
|
35
|
-
},
|
36
|
-
buttonText: {
|
37
|
-
color: 'white',
|
38
|
-
fontSize: 16,
|
39
|
-
fontWeight: 'bold'
|
40
|
-
}
|
41
|
-
});
|
42
|
-
export default MyGamesButton;
|
43
|
-
//# sourceMappingURL=my_games_button.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"names":["React","TouchableOpacity","Text","StyleSheet","useTranslation","jsx","_jsx","MyGamesButton","premiumColor","onPress","t","style","styles","button","backgroundColor","children","buttonText","create","borderRadius","paddingHorizontal","paddingVertical","height","justifyContent","alignItems","marginHorizontal","marginBottom","color","fontSize","fontWeight"],"sourceRoot":"../../../../../../src","sources":["acmo/modules/dashboard/components/my_games_button.tsx"],"mappings":";;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,gBAAgB,EAAEC,IAAI,EAAEC,UAAU,QAAQ,cAAc;AACjE,SAASC,cAAc,QAAQ,eAAe;AAAC,SAAAC,GAAA,IAAAC,IAAA;AAO/C,MAAMC,aAA2C,GAAGA,CAAC;EAAEC,YAAY;EAAGC;AAAO,CAAC,KAAK;EACjF,MAAM;IAAEC;EAAE,CAAC,GAAGN,cAAc,CAAC,CAAC;EAC9B,oBACEE,IAAA,CAACL,gBAAgB;IACfU,KAAK,EAAE,CAACC,MAAM,CAACC,MAAM,EAAE;MAAEC,eAAe,EAAEN,YAAY,IAAI;IAAU,CAAC,CAAE;IACvEC,OAAO,EAAEA,CAAA,KAAMA,OAAO,IAAIA,OAAO,CAAC,qBAAqB,CAAE;IAAAM,QAAA,eAEzDT,IAAA,CAACJ,IAAI;MAACS,KAAK,EAAEC,MAAM,CAACI,UAAW;MAAAD,QAAA,EAAEL,CAAC,CAAC,oBAAoB;IAAC,CAAO;EAAC,CAChD,CAAC;AAEvB,CAAC;AAED,MAAME,MAAM,GAAGT,UAAU,CAACc,MAAM,CAAC;EAC/BJ,MAAM,EAAE;IACNK,YAAY,EAAE,CAAC;IACfC,iBAAiB,EAAE,EAAE;IACrBC,eAAe,EAAE,CAAC;IAClBC,MAAM,EAAE,EAAE;IACVC,cAAc,EAAE,QAAQ;IACxBC,UAAU,EAAE,QAAQ;IACpBC,gBAAgB,EAAE,EAAE;IACpBC,YAAY,EAAE;EAChB,CAAC;EACDT,UAAU,EAAE;IACVU,KAAK,EAAE,OAAO;IACdC,QAAQ,EAAE,EAAE;IACZC,UAAU,EAAE;EACd;AACF,CAAC,CAAC;AAEF,eAAerB,aAAa","ignoreList":[]}
|
@@ -1,153 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
|
3
|
-
import React from 'react';
|
4
|
-
import { Dimensions, Image, StyleSheet, Text, TouchableOpacity, View } from "react-native";
|
5
|
-
import numeral from 'numeral';
|
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 {
|
10
|
-
width
|
11
|
-
} = Dimensions.get('window');
|
12
|
-
const OfferInfoSection = ({
|
13
|
-
details,
|
14
|
-
premiumColor,
|
15
|
-
style,
|
16
|
-
onButtonPress
|
17
|
-
}) => {
|
18
|
-
const {
|
19
|
-
t
|
20
|
-
} = useTranslation();
|
21
|
-
return /*#__PURE__*/_jsx(View, {
|
22
|
-
style: [styles.infoContainer, style, {
|
23
|
-
backgroundColor: premiumColor || '#1C90DF'
|
24
|
-
}],
|
25
|
-
children: /*#__PURE__*/_jsxs(View, {
|
26
|
-
style: styles.infoRow,
|
27
|
-
children: [/*#__PURE__*/_jsxs(View, {
|
28
|
-
style: styles.leftInfo,
|
29
|
-
children: [/*#__PURE__*/_jsx(Image, {
|
30
|
-
style: styles.gameIcon,
|
31
|
-
source: {
|
32
|
-
uri: details.thumbnail
|
33
|
-
},
|
34
|
-
resizeMode: "cover"
|
35
|
-
}), /*#__PURE__*/_jsxs(View, {
|
36
|
-
style: styles.gameDetails,
|
37
|
-
children: [details.title.length > 20 ? /*#__PURE__*/_jsx(View, {
|
38
|
-
style: {
|
39
|
-
overflow: 'hidden'
|
40
|
-
},
|
41
|
-
children: /*#__PURE__*/_jsx(TextTicker, {
|
42
|
-
style: styles.gameTitle,
|
43
|
-
duration: 3000,
|
44
|
-
loop: true,
|
45
|
-
bounce: true,
|
46
|
-
repeatSpacer: 50,
|
47
|
-
marqueeDelay: 1000,
|
48
|
-
children: details.title
|
49
|
-
})
|
50
|
-
}) : /*#__PURE__*/_jsx(Text, {
|
51
|
-
style: styles.gameTitle,
|
52
|
-
numberOfLines: 1,
|
53
|
-
ellipsizeMode: "tail",
|
54
|
-
children: details.title
|
55
|
-
}), /*#__PURE__*/_jsxs(View, {
|
56
|
-
style: styles.rewardDetails,
|
57
|
-
children: [/*#__PURE__*/_jsx(Image, {
|
58
|
-
source: {
|
59
|
-
uri: details.currency.adUnitCurrencyIcon
|
60
|
-
},
|
61
|
-
resizeMode: "contain",
|
62
|
-
style: styles.coinIcon
|
63
|
-
}), /*#__PURE__*/_jsx(Text, {
|
64
|
-
style: styles.points,
|
65
|
-
children: numeral(details.points).format("0.00a").toUpperCase()
|
66
|
-
}), /*#__PURE__*/_jsxs(Text, {
|
67
|
-
style: styles.points,
|
68
|
-
children: ['', details.currency.adUnitCurrencyName]
|
69
|
-
}), /*#__PURE__*/_jsxs(Text, {
|
70
|
-
style: styles.rewards,
|
71
|
-
children: [' ', details.rewards, " ", t('dashboard.rewards', {
|
72
|
-
count: details.rewards
|
73
|
-
})]
|
74
|
-
})]
|
75
|
-
})]
|
76
|
-
})]
|
77
|
-
}), /*#__PURE__*/_jsx(TouchableOpacity, {
|
78
|
-
onPress: onButtonPress,
|
79
|
-
style: styles.playButton,
|
80
|
-
children: /*#__PURE__*/_jsx(Text, {
|
81
|
-
style: [styles.playButtonText, {
|
82
|
-
color: premiumColor || '#1C90DF'
|
83
|
-
}],
|
84
|
-
children: t('dashboard.play_button')
|
85
|
-
})
|
86
|
-
})]
|
87
|
-
})
|
88
|
-
});
|
89
|
-
};
|
90
|
-
const styles = StyleSheet.create({
|
91
|
-
infoContainer: {
|
92
|
-
width: width,
|
93
|
-
paddingVertical: 8,
|
94
|
-
paddingHorizontal: 16
|
95
|
-
},
|
96
|
-
infoRow: {
|
97
|
-
flexDirection: 'row',
|
98
|
-
justifyContent: 'space-between',
|
99
|
-
alignItems: 'center',
|
100
|
-
width: '90%'
|
101
|
-
},
|
102
|
-
leftInfo: {
|
103
|
-
flexDirection: 'row',
|
104
|
-
alignItems: 'center',
|
105
|
-
width: '68%'
|
106
|
-
},
|
107
|
-
gameIcon: {
|
108
|
-
width: 50,
|
109
|
-
height: 50,
|
110
|
-
borderRadius: 8
|
111
|
-
},
|
112
|
-
gameDetails: {
|
113
|
-
marginLeft: 10
|
114
|
-
},
|
115
|
-
gameTitle: {
|
116
|
-
color: 'white',
|
117
|
-
fontSize: 14,
|
118
|
-
marginBottom: 4
|
119
|
-
},
|
120
|
-
rewardDetails: {
|
121
|
-
flexDirection: 'row',
|
122
|
-
marginTop: 4
|
123
|
-
},
|
124
|
-
coinIcon: {
|
125
|
-
width: 18,
|
126
|
-
height: 18
|
127
|
-
},
|
128
|
-
points: {
|
129
|
-
color: 'white',
|
130
|
-
fontSize: 12,
|
131
|
-
marginLeft: 4
|
132
|
-
},
|
133
|
-
rewards: {
|
134
|
-
color: 'lightgrey',
|
135
|
-
fontSize: 11,
|
136
|
-
fontStyle: 'italic'
|
137
|
-
},
|
138
|
-
playButton: {
|
139
|
-
paddingHorizontal: 12,
|
140
|
-
paddingVertical: 2,
|
141
|
-
height: 30,
|
142
|
-
borderRadius: 8,
|
143
|
-
backgroundColor: 'white',
|
144
|
-
alignItems: 'center',
|
145
|
-
justifyContent: 'center'
|
146
|
-
},
|
147
|
-
playButtonText: {
|
148
|
-
fontSize: 14,
|
149
|
-
fontWeight: 'bold'
|
150
|
-
}
|
151
|
-
});
|
152
|
-
export default OfferInfoSection;
|
153
|
-
//# sourceMappingURL=offer_info_section.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"names":["React","Dimensions","Image","StyleSheet","Text","TouchableOpacity","View","numeral","TextTicker","useTranslation","jsx","_jsx","jsxs","_jsxs","width","get","OfferInfoSection","details","premiumColor","style","onButtonPress","t","styles","infoContainer","backgroundColor","children","infoRow","leftInfo","gameIcon","source","uri","thumbnail","resizeMode","gameDetails","title","length","overflow","gameTitle","duration","loop","bounce","repeatSpacer","marqueeDelay","numberOfLines","ellipsizeMode","rewardDetails","currency","adUnitCurrencyIcon","coinIcon","points","format","toUpperCase","adUnitCurrencyName","rewards","count","onPress","playButton","playButtonText","color","create","paddingVertical","paddingHorizontal","flexDirection","justifyContent","alignItems","height","borderRadius","marginLeft","fontSize","marginBottom","marginTop","fontStyle","fontWeight"],"sourceRoot":"../../../../../../src","sources":["acmo/modules/dashboard/components/offer_info_section.tsx"],"mappings":";;AAAA,OAAOA,KAAK,MAAM,O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