koylu-vampir-design 1.0.24 → 1.0.26
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/dist/Alerts/AlertButtons.d.ts.map +1 -1
- package/dist/Alerts/AlertButtons.js +16 -11
- package/dist/Buttons/GameButton.js +1 -1
- package/dist/Buttons/GiftFrame.d.ts +1 -0
- package/dist/Buttons/GiftFrame.d.ts.map +1 -1
- package/dist/Buttons/GiftFrame.js +4 -3
- package/dist/Buttons/MenuButton.d.ts.map +1 -1
- package/dist/Buttons/MenuButton.js +15 -15
- package/dist/Buttons/ProfileScoreButton.d.ts.map +1 -1
- package/dist/Buttons/ProfileScoreButton.js +8 -4
- package/dist/GameParts/GiftPackBar.d.ts.map +1 -1
- package/dist/GameParts/GiftPackBar.js +13 -13
- package/dist/GameParts/TreasureInfo.d.ts.map +1 -1
- package/dist/GameParts/TreasureInfo.js +9 -9
- package/dist/Markets/MarketInfo.d.ts +4 -0
- package/dist/Markets/MarketInfo.d.ts.map +1 -1
- package/dist/Markets/MarketInfo.js +18 -14
- package/dist/Menus/MenuOptions.d.ts +1 -0
- package/dist/Menus/MenuOptions.d.ts.map +1 -1
- package/dist/Menus/MenuOptions.js +28 -18
- package/dist/Menus/MenuUserItem.d.ts +2 -0
- package/dist/Menus/MenuUserItem.d.ts.map +1 -1
- package/dist/Menus/MenuUserItem.js +12 -4
- package/dist/Messages/MessageList.d.ts +1 -0
- package/dist/Messages/MessageList.d.ts.map +1 -1
- package/dist/Messages/MessageList.js +98 -42
- package/dist/Navbars/UserBar.d.ts +1 -0
- package/dist/Navbars/UserBar.d.ts.map +1 -1
- package/dist/Navbars/UserBar.js +16 -12
- package/dist/Players/PlayerPreview.d.ts.map +1 -1
- package/dist/Players/PlayerPreview.js +30 -33
- package/dist/Roles/RoleInfoBox.d.ts +1 -0
- package/dist/Roles/RoleInfoBox.d.ts.map +1 -1
- package/dist/Roles/RoleInfoBox.js +20 -12
- package/dist/Screens/ScreenBase.d.ts +2 -0
- package/dist/Screens/ScreenBase.d.ts.map +1 -1
- package/dist/Screens/ScreenBase.js +18 -10
- package/dist/Screens/ScreenHeader.d.ts +2 -0
- package/dist/Screens/ScreenHeader.d.ts.map +1 -1
- package/dist/Screens/ScreenHeader.js +14 -11
- package/dist/Screens/SplitScreen.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AlertButtons.d.ts","sourceRoot":"","sources":["../../src/Alerts/AlertButtons.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,aAAK,KAAK,GAAG;IACX,OAAO,CAAC,EAAE,GAAG,CAAC;IACd,OAAO,CAAC,EAAE,GAAG,CAAC;CACf,CAAC;AAEF,eAAO,MAAM,YAAY,EAAE,KAAK,CAAC,EAAE,CAAC,KAAK,
|
|
1
|
+
{"version":3,"file":"AlertButtons.d.ts","sourceRoot":"","sources":["../../src/Alerts/AlertButtons.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,aAAK,KAAK,GAAG;IACX,OAAO,CAAC,EAAE,GAAG,CAAC;IACd,OAAO,CAAC,EAAE,GAAG,CAAC;CACf,CAAC;AAEF,eAAO,MAAM,YAAY,EAAE,KAAK,CAAC,EAAE,CAAC,KAAK,CAkCxC,CAAC"}
|
|
@@ -14,19 +14,23 @@ const AlertButtons = ({ options, payload }) => {
|
|
|
14
14
|
options.onAccept(payload);
|
|
15
15
|
};
|
|
16
16
|
return (react_1.default.createElement(react_native_1.View, { style: styles.buttons },
|
|
17
|
-
react_1.default.createElement(__1.MenuButton, { style: styles.button, size: "medium", type: options.cancelType || "outline", onPress: options.onClose ? options.onClose : () => closeAlert() }, options.cancelText
|
|
17
|
+
react_1.default.createElement(__1.MenuButton, { style: styles.button, size: "medium", type: options.cancelType || "outline", onPress: options.onClose ? options.onClose : () => closeAlert() }, options.cancelText
|
|
18
|
+
? options.cancelText
|
|
19
|
+
: options.onAccept
|
|
20
|
+
? "VAZGEÇ"
|
|
21
|
+
: "KAPAT"),
|
|
18
22
|
!!options.onAccept && (react_1.default.createElement(__1.MenuButton, { style: styles.button, size: "medium", type: options.acceptType || "success", onPress: onAcceptPress }, options.acceptText || "UYGULA"))));
|
|
19
23
|
};
|
|
20
24
|
exports.AlertButtons = AlertButtons;
|
|
21
25
|
const styles = react_native_1.StyleSheet.create({
|
|
22
26
|
base: {
|
|
23
|
-
marginTop: "auto"
|
|
27
|
+
marginTop: "auto",
|
|
24
28
|
},
|
|
25
29
|
background: {
|
|
26
30
|
position: "relative",
|
|
27
31
|
padding: 32,
|
|
28
32
|
borderTopLeftRadius: 32,
|
|
29
|
-
borderTopRightRadius: 32
|
|
33
|
+
borderTopRightRadius: 32,
|
|
30
34
|
},
|
|
31
35
|
message: {
|
|
32
36
|
alignItems: "center",
|
|
@@ -34,11 +38,11 @@ const styles = react_native_1.StyleSheet.create({
|
|
|
34
38
|
width: "100%",
|
|
35
39
|
padding: 0,
|
|
36
40
|
minHeight: 100,
|
|
37
|
-
marginBottom: 20
|
|
41
|
+
marginBottom: 20,
|
|
38
42
|
},
|
|
39
43
|
messageText: {
|
|
40
44
|
textAlign: "center",
|
|
41
|
-
width: "100%"
|
|
45
|
+
width: "100%",
|
|
42
46
|
},
|
|
43
47
|
buttons: {
|
|
44
48
|
borderColor: "#77777733",
|
|
@@ -46,11 +50,12 @@ const styles = react_native_1.StyleSheet.create({
|
|
|
46
50
|
paddingTop: 20,
|
|
47
51
|
flexDirection: "row",
|
|
48
52
|
alignItems: "center",
|
|
49
|
-
justifyContent: "space-evenly"
|
|
53
|
+
justifyContent: "space-evenly",
|
|
50
54
|
},
|
|
51
55
|
button: {
|
|
52
56
|
marginBottom: 0,
|
|
53
|
-
minWidth: 120
|
|
57
|
+
minWidth: 120,
|
|
58
|
+
elevation: 0,
|
|
54
59
|
},
|
|
55
60
|
title: {
|
|
56
61
|
position: "absolute",
|
|
@@ -68,17 +73,17 @@ const styles = react_native_1.StyleSheet.create({
|
|
|
68
73
|
shadowColor: "#000000",
|
|
69
74
|
shadowOffset: {
|
|
70
75
|
width: 2,
|
|
71
|
-
height: 5
|
|
76
|
+
height: 5,
|
|
72
77
|
},
|
|
73
78
|
shadowOpacity: 0.25,
|
|
74
79
|
shadowRadius: 0,
|
|
75
|
-
elevation:
|
|
80
|
+
elevation: 0,
|
|
76
81
|
},
|
|
77
82
|
titleText: {
|
|
78
83
|
color: "#ffffff",
|
|
79
84
|
fontWeight: "bold",
|
|
80
85
|
fontFamily: "Righteous-Regular",
|
|
81
86
|
fontSize: 14,
|
|
82
|
-
lineHeight: 20
|
|
83
|
-
}
|
|
87
|
+
lineHeight: 20,
|
|
88
|
+
},
|
|
84
89
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GiftFrame.d.ts","sourceRoot":"","sources":["../../src/Buttons/GiftFrame.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EACL,qBAAqB,EAKtB,MAAM,cAAc,CAAC;AAKtB,aAAK,KAAK,GAAG;IACX,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,OAAO,EAAE,CAAC,KAAK,CAAC,EAAE,qBAAqB,KAAK,IAAI,CAAC;IACjD,IAAI,EAAE,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"GiftFrame.d.ts","sourceRoot":"","sources":["../../src/Buttons/GiftFrame.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EACL,qBAAqB,EAKtB,MAAM,cAAc,CAAC;AAKtB,aAAK,KAAK,GAAG;IACX,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,OAAO,EAAE,CAAC,KAAK,CAAC,EAAE,qBAAqB,KAAK,IAAI,CAAC;IACjD,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,CAAC,EAAE,MAAM,CAAC;CACf,CAAC;AAEF,eAAO,MAAM,SAAS,EAAE,KAAK,CAAC,EAAE,CAAC,KAAK,CAkCrC,CAAC"}
|
|
@@ -8,19 +8,20 @@ const react_1 = __importDefault(require("react"));
|
|
|
8
8
|
const react_native_1 = require("react-native");
|
|
9
9
|
const Views_1 = require("../Views");
|
|
10
10
|
const Utils_1 = require("../Utils");
|
|
11
|
-
const GiftFrame = ({ selected, onPress, gift }) => {
|
|
11
|
+
const GiftFrame = ({ selected, onPress, gift, size = 70, }) => {
|
|
12
12
|
const renderIcon = () => {
|
|
13
13
|
if (!gift.indexOf("a-")) {
|
|
14
14
|
console.log("SRC", Utils_1.Assets.getSource("gift", gift));
|
|
15
|
-
return (react_1.default.createElement(react_native_1.Image, { source: Utils_1.Assets.getSource("gift", gift, "small"), accessibilityLabel: gift.replace("a-", ""), style: styles.giftImage }));
|
|
15
|
+
return (react_1.default.createElement(react_native_1.Image, { source: Utils_1.Assets.getSource("gift", gift, "small"), accessibilityLabel: gift.replace("a-", ""), style: [styles.giftImage, { width: size - 15, height: size - 15 }] }));
|
|
16
16
|
}
|
|
17
17
|
return react_1.default.createElement(react_native_1.Text, { style: styles.giftText }, gift);
|
|
18
18
|
};
|
|
19
19
|
return (react_1.default.createElement(Views_1.TouchableView, { out: selected, onPress: onPress, style: [
|
|
20
20
|
styles.giftFrameWrapper,
|
|
21
|
+
{ width: size, height: size },
|
|
21
22
|
selected ? styles.giftFrameWrapperSelected : {},
|
|
22
23
|
] },
|
|
23
|
-
react_1.default.createElement(react_native_1.View, { style: styles.giftFrame }, renderIcon())));
|
|
24
|
+
react_1.default.createElement(react_native_1.View, { style: [styles.giftFrame, { width: size - 10, height: size - 10 }] }, renderIcon())));
|
|
24
25
|
};
|
|
25
26
|
exports.GiftFrame = GiftFrame;
|
|
26
27
|
const styles = react_native_1.StyleSheet.create({
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MenuButton.d.ts","sourceRoot":"","sources":["../../src/Buttons/MenuButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,
|
|
1
|
+
{"version":3,"file":"MenuButton.d.ts","sourceRoot":"","sources":["../../src/Buttons/MenuButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAEL,qBAAqB,EACrB,SAAS,EAGV,MAAM,cAAc,CAAC;AAKtB,oBAAY,eAAe,GAAG;IAC5B,KAAK,CAAC,EAAE,SAAS,CAAC,GAAG,CAAC,CAAC;IACvB,WAAW,CAAC,EAAE,SAAS,CAAC,GAAG,CAAC,CAAC;IAC7B,SAAS,CAAC,EAAE,SAAS,CAAC,GAAG,CAAC,CAAC;IAC3B,SAAS,CAAC,EAAE,SAAS,CAAC,GAAG,CAAC,CAAC;IAC3B,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,CAAC,KAAK,CAAC,EAAE,qBAAqB,KAAK,IAAI,CAAC;IACjD,WAAW,CAAC,EAAE,CAAC,KAAK,CAAC,EAAE,qBAAqB,KAAK,IAAI,CAAC;IACtD,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,GAAG,CAAC,EAAE,OAAO,CAAC;IACd,cAAc,CAAC,EAAE,KAAK,CAAC,SAAS,GAAG,KAAK,CAAC,EAAE,GAAG,GAAG,CAAC,OAAO,GAAG,MAAM,GAAG,MAAM,CAAC;CAC7E,CAAC;AAEF,eAAO,MAAM,UAAU,EAAE,KAAK,CAAC,EAAE,CAAC,eAAe,CAsGhD,CAAC"}
|
|
@@ -9,7 +9,7 @@ const react_native_1 = require("react-native");
|
|
|
9
9
|
const Views_1 = require("../Views");
|
|
10
10
|
const Icon_1 = require("../Utils/Icon");
|
|
11
11
|
const Themes_1 = require("../Themes");
|
|
12
|
-
const MenuButton = ({ children, style = {}, size, iconStyle, onPress, onLongPress, textStyle, iconFamily, type, buttonStyle, selected, icon, disabled, out = true, rightComponent }) => {
|
|
12
|
+
const MenuButton = ({ children, style = {}, size, iconStyle, onPress, onLongPress, textStyle, iconFamily, type, buttonStyle, selected, icon, disabled, out = true, rightComponent, }) => {
|
|
13
13
|
const buttonStyles = [styles.button];
|
|
14
14
|
const textStyles = [styles.text];
|
|
15
15
|
const iconStyles = [styles.icon];
|
|
@@ -69,7 +69,7 @@ const MenuButton = ({ children, style = {}, size, iconStyle, onPress, onLongPres
|
|
|
69
69
|
}
|
|
70
70
|
return (react_1.default.createElement(Views_1.TouchableView, { out: out, style: [...buttonStyles, style, disabled && styles.disabled], wrapperStyle: {
|
|
71
71
|
marginLeft: style.marginLeft,
|
|
72
|
-
marginRight: style.marginRight
|
|
72
|
+
marginRight: style.marginRight,
|
|
73
73
|
}, disabled: disabled, onPress: onPress, onLongPress: onLongPress },
|
|
74
74
|
icon && (react_1.default.createElement(Icon_1.Icon, { name: icon, color: "#ffffff", font: iconFamily || "IconIon", size: 16, style: [...iconStyles, iconStyle] })),
|
|
75
75
|
react_1.default.createElement(react_native_1.Text, { style: [...textStyles, textStyle] }, children),
|
|
@@ -95,61 +95,61 @@ const styles = react_native_1.StyleSheet.create({
|
|
|
95
95
|
shadowColor: "#000000",
|
|
96
96
|
shadowOffset: {
|
|
97
97
|
width: 4,
|
|
98
|
-
height: 6
|
|
98
|
+
height: 6,
|
|
99
99
|
},
|
|
100
100
|
shadowOpacity: 0.25,
|
|
101
101
|
shadowRadius: 5,
|
|
102
|
-
elevation: 5
|
|
102
|
+
elevation: 5,
|
|
103
103
|
},
|
|
104
104
|
lightBlue: {
|
|
105
105
|
backgroundColor: "#4BC3F6",
|
|
106
106
|
width: "auto",
|
|
107
|
-
height: 44
|
|
107
|
+
height: 44,
|
|
108
108
|
},
|
|
109
109
|
disabled: {
|
|
110
110
|
backgroundColor: "#aaaaaa",
|
|
111
111
|
borderColor: "#cccccc",
|
|
112
112
|
shadowOpacity: 0,
|
|
113
113
|
shadowRadius: 0,
|
|
114
|
-
elevation: 0
|
|
114
|
+
elevation: 0,
|
|
115
115
|
},
|
|
116
116
|
icon: {
|
|
117
117
|
width: 18,
|
|
118
118
|
height: 18,
|
|
119
119
|
marginRight: 6,
|
|
120
|
-
marginLeft: 0
|
|
120
|
+
marginLeft: 0,
|
|
121
121
|
},
|
|
122
122
|
text: {
|
|
123
123
|
color: "white",
|
|
124
124
|
textAlign: "center",
|
|
125
125
|
fontFamily: "Righteous-Regular",
|
|
126
126
|
fontSize: 14,
|
|
127
|
-
fontWeight: "bold"
|
|
127
|
+
fontWeight: "bold",
|
|
128
128
|
},
|
|
129
129
|
lightBlueText: {
|
|
130
130
|
fontSize: 13,
|
|
131
|
-
color: "#ffffff"
|
|
131
|
+
color: "#ffffff",
|
|
132
132
|
},
|
|
133
133
|
outline: {
|
|
134
134
|
backgroundColor: "#88888833",
|
|
135
135
|
borderColor: "#ee7461",
|
|
136
136
|
borderWidth: 3,
|
|
137
|
-
shadowOpacity: 0
|
|
137
|
+
shadowOpacity: 0,
|
|
138
138
|
},
|
|
139
139
|
outlineText: {
|
|
140
|
-
color: "#ee7461"
|
|
140
|
+
color: "#ee7461",
|
|
141
141
|
},
|
|
142
142
|
medium: {
|
|
143
143
|
height: 44,
|
|
144
144
|
width: "auto",
|
|
145
|
-
paddingHorizontal: 25
|
|
145
|
+
paddingHorizontal: 25,
|
|
146
146
|
},
|
|
147
147
|
small: {
|
|
148
148
|
height: 28,
|
|
149
149
|
width: "auto",
|
|
150
|
-
paddingHorizontal: 20
|
|
150
|
+
paddingHorizontal: 20,
|
|
151
151
|
},
|
|
152
152
|
smallText: {
|
|
153
|
-
fontSize: 13
|
|
154
|
-
}
|
|
153
|
+
fontSize: 13,
|
|
154
|
+
},
|
|
155
155
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ProfileScoreButton.d.ts","sourceRoot":"","sources":["../../src/Buttons/ProfileScoreButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,qBAAqB,EAAc,MAAM,cAAc,CAAC;AAIjE,oBAAY,eAAe,GAAG;IAC5B,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,CAAC,KAAK,CAAC,EAAE,qBAAqB,KAAK,IAAI,CAAC;IACjD,WAAW,CAAC,EAAE,CAAC,KAAK,CAAC,EAAE,qBAAqB,KAAK,IAAI,CAAC;IACtD,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB,CAAC;AAEF,eAAO,MAAM,kBAAkB,EAAE,KAAK,CAAC,EAAE,CAAC,eAAe,
|
|
1
|
+
{"version":3,"file":"ProfileScoreButton.d.ts","sourceRoot":"","sources":["../../src/Buttons/ProfileScoreButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,qBAAqB,EAAc,MAAM,cAAc,CAAC;AAIjE,oBAAY,eAAe,GAAG;IAC5B,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,CAAC,KAAK,CAAC,EAAE,qBAAqB,KAAK,IAAI,CAAC;IACjD,WAAW,CAAC,EAAE,CAAC,KAAK,CAAC,EAAE,qBAAqB,KAAK,IAAI,CAAC;IACtD,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB,CAAC;AAEF,eAAO,MAAM,kBAAkB,EAAE,KAAK,CAAC,EAAE,CAAC,eAAe,CAyBxD,CAAC"}
|
|
@@ -24,14 +24,18 @@ const React = __importStar(require("react"));
|
|
|
24
24
|
const react_native_1 = require("react-native");
|
|
25
25
|
const Themes_1 = require("../Themes");
|
|
26
26
|
const MenuButton_1 = require("./MenuButton");
|
|
27
|
-
const ProfileScoreButton = ({ children, onPress, onLongPress, icon, disabled, color }) => {
|
|
27
|
+
const ProfileScoreButton = ({ children, onPress, onLongPress, icon, disabled, color, }) => {
|
|
28
28
|
const colors = Themes_1.useColors();
|
|
29
29
|
return (React.createElement(MenuButton_1.MenuButton, { type: "outline-success", out: false, style: styles.button, textStyle: { color: color || colors.primaryColor }, size: "medium", onPress: onPress, onLongPress: onLongPress, disabled: disabled, icon: icon }, children));
|
|
30
30
|
};
|
|
31
31
|
exports.ProfileScoreButton = ProfileScoreButton;
|
|
32
32
|
const styles = react_native_1.StyleSheet.create({
|
|
33
|
-
button: {
|
|
33
|
+
button: {
|
|
34
|
+
borderWidth: 0,
|
|
35
|
+
paddingHorizontal: 16,
|
|
36
|
+
borderRadius: 16,
|
|
34
37
|
minWidth: 120,
|
|
35
|
-
backgroundColor: "#88888822"
|
|
36
|
-
|
|
38
|
+
backgroundColor: "#88888822",
|
|
39
|
+
elevation: 0,
|
|
40
|
+
},
|
|
37
41
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GiftPackBar.d.ts","sourceRoot":"","sources":["../../src/GameParts/GiftPackBar.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAM1B,aAAK,KAAK,GAAG;IACX,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,EAAE,CAAC,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IAC/C,UAAU,EAAE,CAAC,IAAI,EAAE,GAAG,KAAK,IAAI,CAAC;IAChC,IAAI,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;KAAE,CAAC;IAC7B,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,KAAK,CAAC,EAAE,CAAC,KAAK,
|
|
1
|
+
{"version":3,"file":"GiftPackBar.d.ts","sourceRoot":"","sources":["../../src/GameParts/GiftPackBar.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAM1B,aAAK,KAAK,GAAG;IACX,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,EAAE,CAAC,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IAC/C,UAAU,EAAE,CAAC,IAAI,EAAE,GAAG,KAAK,IAAI,CAAC;IAChC,IAAI,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;KAAE,CAAC;IAC7B,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,KAAK,CAAC,EAAE,CAAC,KAAK,CAsHvC,CAAC"}
|
|
@@ -29,14 +29,14 @@ const GiftPackBar = ({ title, onSelect, onBuyPress, pack, selected, remain, }) =
|
|
|
29
29
|
"Kalan Kullan\u0131m: ",
|
|
30
30
|
remain))),
|
|
31
31
|
(pack.priceType !== "ad" || loaded) && (react_1.default.createElement(Buttons_1.GiftBuyButton, { onPress: () => onBuyPress(pack) }, buttonText || pack.buttonText))))),
|
|
32
|
-
react_1.default.createElement(react_native_1.View, { style: [styles.buttonIcons
|
|
33
|
-
!!customGifts.length && (react_1.default.createElement(react_native_1.View, { style: [
|
|
34
|
-
styles.buttonIcons,
|
|
35
|
-
{ opacity: remain == 0 ? 0.6 : 1, marginBottom: 0 },
|
|
36
|
-
] }, customGifts.map((item, key) => {
|
|
32
|
+
react_1.default.createElement(react_native_1.View, { style: [styles.buttonIcons] },
|
|
33
|
+
!!customGifts.length && (react_1.default.createElement(react_native_1.View, { style: [styles.buttonIcons, { marginBottom: 0 }] }, customGifts.map((item, key) => {
|
|
37
34
|
let giftElement = react_1.default.createElement(react_native_1.Text, null, item);
|
|
38
35
|
if (item.indexOf("a") === 0) {
|
|
39
|
-
giftElement = (react_1.default.createElement(react_native_1.Image, { style:
|
|
36
|
+
giftElement = (react_1.default.createElement(react_native_1.Image, { style: [
|
|
37
|
+
{ width: 16, height: 16 },
|
|
38
|
+
{ opacity: remain == 0 ? 0.7 : 1 },
|
|
39
|
+
], accessibilityLabel: item, source: Utils_1.Assets.getSource("gift", item, "icon") }));
|
|
40
40
|
}
|
|
41
41
|
return (react_1.default.createElement(Views_1.TouchableView, { out: true, key: key, onPress: () => onSelect(item, pack.id), style: [
|
|
42
42
|
styles.button,
|
|
@@ -46,7 +46,10 @@ const GiftPackBar = ({ title, onSelect, onBuyPress, pack, selected, remain, }) =
|
|
|
46
46
|
gifts.map((item, key) => {
|
|
47
47
|
let giftElement = react_1.default.createElement(react_native_1.Text, null, item);
|
|
48
48
|
if (item.indexOf("a") === 0) {
|
|
49
|
-
giftElement = (react_1.default.createElement(react_native_1.Image, { style:
|
|
49
|
+
giftElement = (react_1.default.createElement(react_native_1.Image, { style: [
|
|
50
|
+
{ width: 16, height: 16 },
|
|
51
|
+
{ opacity: remain == 0 ? 0.7 : 1 },
|
|
52
|
+
], accessibilityLabel: item.toString(), source: Utils_1.Assets.getSource("gift", item, "icon") }));
|
|
50
53
|
}
|
|
51
54
|
return (react_1.default.createElement(Views_1.TouchableView, { out: true, key: key, onPress: () => onSelect(item, pack.id), style: [
|
|
52
55
|
styles.button,
|
|
@@ -76,9 +79,6 @@ const styles = react_native_1.StyleSheet.create({
|
|
|
76
79
|
lineHeight: 14,
|
|
77
80
|
fontSize: 12,
|
|
78
81
|
color: "#ffffff",
|
|
79
|
-
textShadowColor: "rgba(0, 0, 0, 0.45)",
|
|
80
|
-
textShadowOffset: { width: 1, height: 1 },
|
|
81
|
-
textShadowRadius: 4,
|
|
82
82
|
fontWeight: "bold",
|
|
83
83
|
},
|
|
84
84
|
sendWrapper: {
|
|
@@ -96,14 +96,14 @@ const styles = react_native_1.StyleSheet.create({
|
|
|
96
96
|
},
|
|
97
97
|
button: {
|
|
98
98
|
padding: height < 700 ? (isMiniDevice ? 4 : 4) : 4,
|
|
99
|
-
backgroundColor: "#
|
|
99
|
+
backgroundColor: "#66aadd",
|
|
100
100
|
margin: 1,
|
|
101
101
|
borderRadius: 4,
|
|
102
102
|
borderWidth: 1,
|
|
103
|
-
borderColor: "#
|
|
103
|
+
borderColor: "#66aadd",
|
|
104
104
|
},
|
|
105
105
|
buttonSelected: {
|
|
106
|
-
backgroundColor: "#
|
|
106
|
+
backgroundColor: "#ffffff",
|
|
107
107
|
borderWidth: 1,
|
|
108
108
|
borderColor: "#F9A01C",
|
|
109
109
|
},
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TreasureInfo.d.ts","sourceRoot":"","sources":["../../src/GameParts/TreasureInfo.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,
|
|
1
|
+
{"version":3,"file":"TreasureInfo.d.ts","sourceRoot":"","sources":["../../src/GameParts/TreasureInfo.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EACL,qBAAqB,EAKtB,MAAM,cAAc,CAAC;AAMtB,aAAK,KAAK,GAAG;IACX,eAAe,EAAE,MAAM,CAAC;IACxB,SAAS,EAAE,MAAM,CAAC;IAClB,YAAY,EAAE,CAAC,KAAK,CAAC,EAAE,qBAAqB,KAAK,IAAI,CAAC;CACvD,CAAC;AACF,eAAO,MAAM,YAAY,EAAE,KAAK,CAAC,EAAE,CAAC,KAAK,CA0BxC,CAAC"}
|
|
@@ -47,11 +47,11 @@ const styles = react_native_1.StyleSheet.create({
|
|
|
47
47
|
shadowColor: "#000000",
|
|
48
48
|
shadowOffset: {
|
|
49
49
|
width: 4,
|
|
50
|
-
height: 6
|
|
50
|
+
height: 6,
|
|
51
51
|
},
|
|
52
|
-
shadowOpacity: .25,
|
|
52
|
+
shadowOpacity: 0.25,
|
|
53
53
|
shadowRadius: 5,
|
|
54
|
-
elevation:
|
|
54
|
+
elevation: 0,
|
|
55
55
|
},
|
|
56
56
|
frame: {
|
|
57
57
|
flex: 1,
|
|
@@ -61,28 +61,28 @@ const styles = react_native_1.StyleSheet.create({
|
|
|
61
61
|
justifyContent: "space-evenly",
|
|
62
62
|
alignItems: "center",
|
|
63
63
|
paddingTop: 30,
|
|
64
|
-
paddingHorizontal: 30
|
|
64
|
+
paddingHorizontal: 30,
|
|
65
65
|
},
|
|
66
66
|
infoText: {
|
|
67
67
|
flex: 1,
|
|
68
68
|
fontSize: 14,
|
|
69
69
|
color: "#ffffff",
|
|
70
|
-
textAlign: "center"
|
|
70
|
+
textAlign: "center",
|
|
71
71
|
},
|
|
72
72
|
boldText: {
|
|
73
73
|
fontWeight: "bold",
|
|
74
|
-
fontSize: 20
|
|
74
|
+
fontSize: 20,
|
|
75
75
|
},
|
|
76
76
|
infoImage: {
|
|
77
77
|
width: 120,
|
|
78
78
|
height: 100,
|
|
79
79
|
resizeMode: "contain",
|
|
80
80
|
marginLeft: -10,
|
|
81
|
-
marginRight: -10
|
|
81
|
+
marginRight: -10,
|
|
82
82
|
},
|
|
83
83
|
info: {
|
|
84
84
|
flexDirection: "row",
|
|
85
85
|
alignItems: "center",
|
|
86
|
-
marginBottom: 20
|
|
87
|
-
}
|
|
86
|
+
marginBottom: 20,
|
|
87
|
+
},
|
|
88
88
|
});
|
|
@@ -3,13 +3,17 @@ import React from "react";
|
|
|
3
3
|
declare type Props = {
|
|
4
4
|
gold: number;
|
|
5
5
|
diamond: number;
|
|
6
|
+
ticket: number;
|
|
6
7
|
gifts: number;
|
|
8
|
+
style: any;
|
|
7
9
|
goldIcon: ImageSourcePropType;
|
|
8
10
|
diamondIcon: ImageSourcePropType;
|
|
11
|
+
ticketIcon: ImageSourcePropType;
|
|
9
12
|
giftIcon: ImageSourcePropType;
|
|
10
13
|
titleText?: string;
|
|
11
14
|
myGoldsText?: string;
|
|
12
15
|
myDiamondsText?: string;
|
|
16
|
+
myTicketsText?: string;
|
|
13
17
|
myGiftsText?: string;
|
|
14
18
|
};
|
|
15
19
|
export declare const MarketInfo: React.FC<Props & ViewProps>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MarketInfo.d.ts","sourceRoot":"","sources":["../../src/Markets/MarketInfo.tsx"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"MarketInfo.d.ts","sourceRoot":"","sources":["../../src/Markets/MarketInfo.tsx"],"names":[],"mappings":"AAAA,OAAO,EAEL,mBAAmB,EAGnB,SAAS,EACV,MAAM,cAAc,CAAC;AACtB,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,aAAK,KAAK,GAAG;IACX,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;IAChB,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,GAAG,CAAC;IACX,QAAQ,EAAE,mBAAmB,CAAC;IAC9B,WAAW,EAAE,mBAAmB,CAAC;IACjC,UAAU,EAAE,mBAAmB,CAAC;IAChC,QAAQ,EAAE,mBAAmB,CAAC;IAC9B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB,CAAC;AACF,eAAO,MAAM,UAAU,EAAE,KAAK,CAAC,EAAE,CAAC,KAAK,GAAG,SAAS,CA8ClD,CAAC"}
|
|
@@ -7,9 +7,9 @@ exports.MarketInfo = void 0;
|
|
|
7
7
|
const react_native_1 = require("react-native");
|
|
8
8
|
const react_1 = __importDefault(require("react"));
|
|
9
9
|
const Typography_1 = require("../Typography");
|
|
10
|
-
const MarketInfo = ({ gold, diamond, gifts, goldIcon, diamondIcon, giftIcon, titleText = "
|
|
11
|
-
return react_1.default.createElement(react_native_1.View, { style: styles.info },
|
|
12
|
-
react_1.default.createElement(Typography_1.Typography, { bold: true, style: styles.title }, titleText),
|
|
10
|
+
const MarketInfo = ({ gold, diamond, gifts, style, ticket, goldIcon, diamondIcon, ticketIcon, giftIcon, titleText, myGoldsText = "Altınlarım:", myDiamondsText = "Elmaslarım:", myTicketsText = "Elmaslarım:", myGiftsText = "Hediyelerim:", }) => {
|
|
11
|
+
return (react_1.default.createElement(react_native_1.View, { style: [styles.info, style] },
|
|
12
|
+
!!titleText && (react_1.default.createElement(Typography_1.Typography, { bold: true, style: styles.title }, titleText)),
|
|
13
13
|
react_1.default.createElement(react_native_1.View, { style: styles.line },
|
|
14
14
|
react_1.default.createElement(Typography_1.Typography, { style: styles.label }, myGoldsText),
|
|
15
15
|
react_1.default.createElement(Typography_1.Typography, { bold: true }, gold),
|
|
@@ -18,37 +18,41 @@ const MarketInfo = ({ gold, diamond, gifts, goldIcon, diamondIcon, giftIcon, tit
|
|
|
18
18
|
react_1.default.createElement(Typography_1.Typography, { style: styles.label }, myDiamondsText),
|
|
19
19
|
react_1.default.createElement(Typography_1.Typography, { bold: true }, diamond),
|
|
20
20
|
react_1.default.createElement(react_native_1.Image, { style: styles.image, source: diamondIcon })),
|
|
21
|
+
react_1.default.createElement(react_native_1.View, { style: styles.line },
|
|
22
|
+
react_1.default.createElement(Typography_1.Typography, { style: styles.label }, myTicketsText),
|
|
23
|
+
react_1.default.createElement(Typography_1.Typography, { bold: true }, ticket),
|
|
24
|
+
react_1.default.createElement(react_native_1.Image, { style: styles.image, source: ticketIcon })),
|
|
21
25
|
react_1.default.createElement(react_native_1.View, { style: styles.line },
|
|
22
26
|
react_1.default.createElement(Typography_1.Typography, { style: styles.label }, myGiftsText),
|
|
23
27
|
react_1.default.createElement(Typography_1.Typography, { bold: true }, gifts),
|
|
24
|
-
react_1.default.createElement(react_native_1.Image, { style: styles.image, source: giftIcon })));
|
|
28
|
+
react_1.default.createElement(react_native_1.Image, { style: styles.image, source: giftIcon }))));
|
|
25
29
|
};
|
|
26
30
|
exports.MarketInfo = MarketInfo;
|
|
27
31
|
const styles = react_native_1.StyleSheet.create({
|
|
28
32
|
info: {
|
|
29
33
|
flex: 1,
|
|
30
|
-
padding: 20
|
|
34
|
+
padding: 20,
|
|
31
35
|
},
|
|
32
36
|
line: {
|
|
33
|
-
paddingVertical:
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
+
paddingVertical: 0,
|
|
38
|
+
borderBottomColor: "#e0e0e022",
|
|
39
|
+
borderBottomWidth: 1,
|
|
40
|
+
paddingHorizontal: 0,
|
|
37
41
|
flexDirection: "row",
|
|
38
42
|
alignItems: "center",
|
|
39
|
-
marginBottom: 10
|
|
43
|
+
marginBottom: 10,
|
|
40
44
|
},
|
|
41
45
|
label: {
|
|
42
|
-
marginRight: "auto"
|
|
46
|
+
marginRight: "auto",
|
|
43
47
|
},
|
|
44
48
|
title: {
|
|
45
49
|
textAlign: "center",
|
|
46
|
-
marginBottom: 20
|
|
50
|
+
marginBottom: 20,
|
|
47
51
|
},
|
|
48
52
|
image: {
|
|
49
53
|
width: 30,
|
|
50
54
|
height: 30,
|
|
51
55
|
marginLeft: 10,
|
|
52
|
-
resizeMode: "contain"
|
|
53
|
-
}
|
|
56
|
+
resizeMode: "contain",
|
|
57
|
+
},
|
|
54
58
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MenuOptions.d.ts","sourceRoot":"","sources":["../../src/Menus/MenuOptions.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAC;AACxC,OAAO,
|
|
1
|
+
{"version":3,"file":"MenuOptions.d.ts","sourceRoot":"","sources":["../../src/Menus/MenuOptions.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAC;AACxC,OAAO,EACL,qBAAqB,EACrB,SAAS,EAIV,MAAM,cAAc,CAAC;AAMtB,aAAK,aAAa,GAAG,MAAM,GAAG,MAAM,GAAG,OAAO,GAAG,IAAI,CAAC;AAEtD,aAAK,UAAU,GAAG;IAChB,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,aAAa,CAAC;CACtB,CAAC;AAEF,aAAK,KAAK,GAAG;IACX,KAAK,CAAC,EAAE,SAAS,CAAC,GAAG,CAAC,CAAC;IACvB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,KAAK,CAAC,EAAE,aAAa,CAAC;IACtB,OAAO,CAAC,EAAE,KAAK,CAAC,UAAU,CAAC,CAAC;IAC5B,OAAO,CAAC,EAAE,CAAC,KAAK,CAAC,EAAE,qBAAqB,KAAK,IAAI,CAAC;IAClD,QAAQ,CAAC,EAAE,CAAC,KAAK,CAAC,EAAE,aAAa,KAAK,IAAI,CAAC;CAC5C,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,KAAK,CAAC,EAAE,CAAC,KAAK,CAmFvC,CAAC"}
|
|
@@ -10,24 +10,34 @@ const Views_1 = require("../Views");
|
|
|
10
10
|
const Typography_1 = require("../Typography");
|
|
11
11
|
const Utils_1 = require("../Utils");
|
|
12
12
|
const Themes_1 = require("../Themes");
|
|
13
|
-
const MenuOptions = ({ children, style, color, onPress, feature, iconName, iconFont = "MaterialIcons", badge, value, options, onChange, }) => {
|
|
13
|
+
const MenuOptions = ({ children, style, color, onPress, feature, iconName, disabled, iconFont = "MaterialIcons", badge, value, options, onChange, }) => {
|
|
14
14
|
const { baseTextColor } = Themes_1.useColors();
|
|
15
15
|
const textColor = color ? color : baseTextColor;
|
|
16
16
|
const setValue = (value) => {
|
|
17
|
+
if (disabled) {
|
|
18
|
+
return;
|
|
19
|
+
}
|
|
17
20
|
onChange && onChange(value);
|
|
18
21
|
};
|
|
19
|
-
return (react_1.default.createElement(react_native_1.View, { style: [
|
|
22
|
+
return (react_1.default.createElement(react_native_1.View, { style: [
|
|
23
|
+
styles.wrapper,
|
|
24
|
+
styles.container,
|
|
25
|
+
feature && styles.border,
|
|
26
|
+
disabled && { opacity: 0.5 },
|
|
27
|
+
style,
|
|
28
|
+
] },
|
|
20
29
|
react_1.default.createElement(Typography_1.Typography, { size: 14, color: textColor, bold: feature, style: [feature && { textDecorationLine: "underline" }] }, children),
|
|
21
|
-
!!badge && react_1.default.createElement(react_native_1.View, { style: styles.badge },
|
|
22
|
-
react_1.default.createElement(react_native_1.Text, { style: styles.badgeText }, badge)),
|
|
30
|
+
!!badge && (react_1.default.createElement(react_native_1.View, { style: styles.badge },
|
|
31
|
+
react_1.default.createElement(react_native_1.Text, { style: styles.badgeText }, badge))),
|
|
23
32
|
react_1.default.createElement(react_native_1.View, { style: styles.flex }),
|
|
24
33
|
!!iconName && (react_1.default.createElement(react_native_1.View, { accessibilityElementsHidden: true },
|
|
25
34
|
react_1.default.createElement(Utils_1.Icon, { name: iconName, color: textColor, font: iconFont, style: styles.icon, size: 18 }))),
|
|
26
|
-
react_1.default.createElement(react_native_1.View, { style: styles.values }, !!options &&
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
react_1.default.createElement(
|
|
30
|
-
|
|
35
|
+
react_1.default.createElement(react_native_1.View, { style: styles.values }, !!options &&
|
|
36
|
+
options.map((item, key) => {
|
|
37
|
+
const isActive = item.value === value;
|
|
38
|
+
return (react_1.default.createElement(Views_1.TouchableView, { onPress: () => setValue(item.value), disabled: disabled, style: [styles.value, isActive && styles.valueActive], accessibilityState: { selected: isActive }, wrapperStyle: styles.valueWrapper, key: key },
|
|
39
|
+
react_1.default.createElement(react_native_1.Text, { style: [styles.valueText, isActive && styles.valueTextActive] }, item.label)));
|
|
40
|
+
}))));
|
|
31
41
|
};
|
|
32
42
|
exports.MenuOptions = MenuOptions;
|
|
33
43
|
const styles = react_native_1.StyleSheet.create({
|
|
@@ -38,7 +48,7 @@ const styles = react_native_1.StyleSheet.create({
|
|
|
38
48
|
container: {
|
|
39
49
|
flexDirection: "row",
|
|
40
50
|
alignItems: "center",
|
|
41
|
-
flexWrap: "wrap"
|
|
51
|
+
flexWrap: "wrap",
|
|
42
52
|
},
|
|
43
53
|
border: {
|
|
44
54
|
flex: 1,
|
|
@@ -48,10 +58,10 @@ const styles = react_native_1.StyleSheet.create({
|
|
|
48
58
|
paddingVertical: 10,
|
|
49
59
|
marginHorizontal: 10,
|
|
50
60
|
borderRadius: 8,
|
|
51
|
-
paddingHorizontal: 10
|
|
61
|
+
paddingHorizontal: 10,
|
|
52
62
|
},
|
|
53
63
|
icon: {
|
|
54
|
-
marginRight: 0
|
|
64
|
+
marginRight: 0,
|
|
55
65
|
},
|
|
56
66
|
flex: {
|
|
57
67
|
flex: 1,
|
|
@@ -64,13 +74,13 @@ const styles = react_native_1.StyleSheet.create({
|
|
|
64
74
|
justifyContent: "center",
|
|
65
75
|
width: 16,
|
|
66
76
|
height: 16,
|
|
67
|
-
borderRadius: 16
|
|
77
|
+
borderRadius: 16,
|
|
68
78
|
},
|
|
69
79
|
badgeText: {
|
|
70
80
|
color: "#ffffff",
|
|
71
81
|
fontSize: 11,
|
|
72
82
|
paddingLeft: 1,
|
|
73
|
-
fontWeight: "bold"
|
|
83
|
+
fontWeight: "bold",
|
|
74
84
|
},
|
|
75
85
|
values: {
|
|
76
86
|
marginLeft: -3,
|
|
@@ -81,7 +91,7 @@ const styles = react_native_1.StyleSheet.create({
|
|
|
81
91
|
valueWrapper: {
|
|
82
92
|
flex: 1,
|
|
83
93
|
alignItems: "stretch",
|
|
84
|
-
justifyContent: "center"
|
|
94
|
+
justifyContent: "center",
|
|
85
95
|
},
|
|
86
96
|
value: {
|
|
87
97
|
backgroundColor: "transparent",
|
|
@@ -100,14 +110,14 @@ const styles = react_native_1.StyleSheet.create({
|
|
|
100
110
|
fontSize: 11,
|
|
101
111
|
paddingLeft: 1,
|
|
102
112
|
fontWeight: "bold",
|
|
103
|
-
textAlign: "center"
|
|
113
|
+
textAlign: "center",
|
|
104
114
|
},
|
|
105
115
|
valueActive: {
|
|
106
116
|
backgroundColor: "#00B3FF",
|
|
107
117
|
borderColor: "#00B3FF",
|
|
108
|
-
borderWidth: 1
|
|
118
|
+
borderWidth: 1,
|
|
109
119
|
},
|
|
110
120
|
valueTextActive: {
|
|
111
121
|
color: "#ffffff",
|
|
112
|
-
}
|
|
122
|
+
},
|
|
113
123
|
});
|
|
@@ -3,10 +3,12 @@ import { ImageSourcePropType, StyleProp } from "react-native";
|
|
|
3
3
|
declare type Props = {
|
|
4
4
|
style?: StyleProp<any>;
|
|
5
5
|
avatarStyle?: StyleProp<any>;
|
|
6
|
+
icon?: string;
|
|
6
7
|
userName: string;
|
|
7
8
|
avatar: ImageSourcePropType;
|
|
8
9
|
color?: string;
|
|
9
10
|
isOnline?: boolean;
|
|
11
|
+
onNamePress?: () => void;
|
|
10
12
|
};
|
|
11
13
|
export declare const MenuUserItemComponent: React.FC<Props>;
|
|
12
14
|
export declare const MenuUserItem: React.FC<Props>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MenuUserItem.d.ts","sourceRoot":"","sources":["../../src/Menus/MenuUserItem.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,
|
|
1
|
+
{"version":3,"file":"MenuUserItem.d.ts","sourceRoot":"","sources":["../../src/Menus/MenuUserItem.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EACL,mBAAmB,EACnB,SAAS,EAIV,MAAM,cAAc,CAAC;AAKtB,aAAK,KAAK,GAAG;IACX,KAAK,CAAC,EAAE,SAAS,CAAC,GAAG,CAAC,CAAC;IACvB,WAAW,CAAC,EAAE,SAAS,CAAC,GAAG,CAAC,CAAC;IAC7B,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,MAAM,CAAC;IACjB,MAAM,EAAE,mBAAmB,CAAC;IAC5B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,WAAW,CAAC,EAAE,MAAM,IAAI,CAAC;CAC1B,CAAC;AAEF,eAAO,MAAM,qBAAqB,EAAE,KAAK,CAAC,EAAE,CAAC,KAAK,CAqDjD,CAAC;AAmCF,eAAO,MAAM,YAAY,EAAE,KAAK,CAAC,EAAE,CAAC,KAAK,CAAqC,CAAC"}
|