be-components 6.6.0 → 6.6.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (86) hide show
  1. package/lib/commonjs/Engage/components/CompetitionCard.js +54 -1
  2. package/lib/commonjs/Engage/components/CompetitionCard.js.map +1 -1
  3. package/lib/commonjs/Group/api/index.js +203 -0
  4. package/lib/commonjs/Group/api/index.js.map +1 -0
  5. package/lib/commonjs/Group/components/GroupCTAButton.js +85 -0
  6. package/lib/commonjs/Group/components/GroupCTAButton.js.map +1 -0
  7. package/lib/commonjs/Group/components/GroupPlayerActionForm.js +166 -0
  8. package/lib/commonjs/Group/components/GroupPlayerActionForm.js.map +1 -0
  9. package/lib/commonjs/Group/components/ManageGroupForm.js +476 -0
  10. package/lib/commonjs/Group/components/ManageGroupForm.js.map +1 -0
  11. package/lib/commonjs/Group/index.js +671 -0
  12. package/lib/commonjs/Group/index.js.map +1 -0
  13. package/lib/commonjs/Wallet/index.js +8 -1
  14. package/lib/commonjs/Wallet/index.js.map +1 -1
  15. package/lib/commonjs/index.js +7 -0
  16. package/lib/commonjs/index.js.map +1 -1
  17. package/lib/module/Engage/components/CompetitionCard.js +54 -1
  18. package/lib/module/Engage/components/CompetitionCard.js.map +1 -1
  19. package/lib/module/Group/api/index.js +197 -0
  20. package/lib/module/Group/api/index.js.map +1 -0
  21. package/lib/module/Group/components/GroupCTAButton.js +78 -0
  22. package/lib/module/Group/components/GroupCTAButton.js.map +1 -0
  23. package/lib/module/Group/components/GroupPlayerActionForm.js +159 -0
  24. package/lib/module/Group/components/GroupPlayerActionForm.js.map +1 -0
  25. package/lib/module/Group/components/ManageGroupForm.js +469 -0
  26. package/lib/module/Group/components/ManageGroupForm.js.map +1 -0
  27. package/lib/module/Group/index.js +663 -0
  28. package/lib/module/Group/index.js.map +1 -0
  29. package/lib/module/Wallet/index.js +8 -1
  30. package/lib/module/Wallet/index.js.map +1 -1
  31. package/lib/module/index.js +2 -1
  32. package/lib/module/index.js.map +1 -1
  33. package/lib/typescript/lib/commonjs/Engage/components/CompetitionCard.d.ts +4 -1
  34. package/lib/typescript/lib/commonjs/Engage/components/CompetitionCard.d.ts.map +1 -1
  35. package/lib/typescript/lib/commonjs/Group/api/index.d.ts +38 -0
  36. package/lib/typescript/lib/commonjs/Group/api/index.d.ts.map +1 -0
  37. package/lib/typescript/lib/commonjs/Group/components/GroupCTAButton.d.ts +10 -0
  38. package/lib/typescript/lib/commonjs/Group/components/GroupCTAButton.d.ts.map +1 -0
  39. package/lib/typescript/lib/commonjs/Group/components/GroupPlayerActionForm.d.ts +9 -0
  40. package/lib/typescript/lib/commonjs/Group/components/GroupPlayerActionForm.d.ts.map +1 -0
  41. package/lib/typescript/lib/commonjs/Group/components/ManageGroupForm.d.ts +10 -0
  42. package/lib/typescript/lib/commonjs/Group/components/ManageGroupForm.d.ts.map +1 -0
  43. package/lib/typescript/lib/commonjs/Group/index.d.ts +12 -0
  44. package/lib/typescript/lib/commonjs/Group/index.d.ts.map +1 -0
  45. package/lib/typescript/lib/commonjs/Wallet/index.d.ts.map +1 -1
  46. package/lib/typescript/lib/commonjs/index.d.ts +1 -0
  47. package/lib/typescript/lib/commonjs/index.d.ts.map +1 -1
  48. package/lib/typescript/lib/module/Engage/components/CompetitionCard.d.ts +4 -1
  49. package/lib/typescript/lib/module/Engage/components/CompetitionCard.d.ts.map +1 -1
  50. package/lib/typescript/lib/module/Group/api/index.d.ts +37 -0
  51. package/lib/typescript/lib/module/Group/api/index.d.ts.map +1 -0
  52. package/lib/typescript/lib/module/Group/components/GroupCTAButton.d.ts +10 -0
  53. package/lib/typescript/lib/module/Group/components/GroupCTAButton.d.ts.map +1 -0
  54. package/lib/typescript/lib/module/Group/components/GroupPlayerActionForm.d.ts +9 -0
  55. package/lib/typescript/lib/module/Group/components/GroupPlayerActionForm.d.ts.map +1 -0
  56. package/lib/typescript/lib/module/Group/components/ManageGroupForm.d.ts +10 -0
  57. package/lib/typescript/lib/module/Group/components/ManageGroupForm.d.ts.map +1 -0
  58. package/lib/typescript/lib/module/Group/index.d.ts +12 -0
  59. package/lib/typescript/lib/module/Group/index.d.ts.map +1 -0
  60. package/lib/typescript/lib/module/Wallet/index.d.ts.map +1 -1
  61. package/lib/typescript/lib/module/index.d.ts +2 -1
  62. package/lib/typescript/lib/module/index.d.ts.map +1 -1
  63. package/lib/typescript/src/Engage/components/CompetitionCard.d.ts +5 -2
  64. package/lib/typescript/src/Engage/components/CompetitionCard.d.ts.map +1 -1
  65. package/lib/typescript/src/Group/api/index.d.ts +47 -0
  66. package/lib/typescript/src/Group/api/index.d.ts.map +1 -0
  67. package/lib/typescript/src/Group/components/GroupCTAButton.d.ts +13 -0
  68. package/lib/typescript/src/Group/components/GroupCTAButton.d.ts.map +1 -0
  69. package/lib/typescript/src/Group/components/GroupPlayerActionForm.d.ts +12 -0
  70. package/lib/typescript/src/Group/components/GroupPlayerActionForm.d.ts.map +1 -0
  71. package/lib/typescript/src/Group/components/ManageGroupForm.d.ts +12 -0
  72. package/lib/typescript/src/Group/components/ManageGroupForm.d.ts.map +1 -0
  73. package/lib/typescript/src/Group/index.d.ts +14 -0
  74. package/lib/typescript/src/Group/index.d.ts.map +1 -0
  75. package/lib/typescript/src/Wallet/index.d.ts.map +1 -1
  76. package/lib/typescript/src/index.d.ts +2 -1
  77. package/lib/typescript/src/index.d.ts.map +1 -1
  78. package/package.json +1 -1
  79. package/src/Engage/components/CompetitionCard.tsx +29 -2
  80. package/src/Group/api/index.ts +176 -0
  81. package/src/Group/components/GroupCTAButton.tsx +57 -0
  82. package/src/Group/components/GroupPlayerActionForm.tsx +137 -0
  83. package/src/Group/components/ManageGroupForm.tsx +239 -0
  84. package/src/Group/index.tsx +497 -0
  85. package/src/Wallet/index.tsx +6 -1
  86. package/src/index.tsx +2 -0
@@ -0,0 +1,78 @@
1
+ import React from 'react';
2
+ import moment from "moment-mini";
3
+ import { useEffect } from "react";
4
+ import { useColors } from "../../constants/useColors";
5
+ import { Button, Text, View } from "../../Components/Themed";
6
+ import { Icons } from '../../Components';
7
+ import { Image } from 'react-native';
8
+ const GroupCTAButton = ({
9
+ group,
10
+ players,
11
+ message_length,
12
+ group_messages,
13
+ onSelectChat
14
+ }) => {
15
+ const Colors = useColors();
16
+ useEffect(() => {
17
+ if (!group) {
18
+ return;
19
+ }
20
+ //setUpCta();
21
+ }, [group.group_id]);
22
+ let last_message = group_messages.sort((a, b) => moment(b.create_datetime).unix() - moment(a.create_datetime).unix())[0];
23
+ let cta_message = group.name;
24
+ if (last_message?.message) {
25
+ cta_message = `${last_message.message.slice(0, message_length ?? 15)}...`;
26
+ }
27
+ const last_player = players.find(p => p.player_id == last_message?.player_id);
28
+ return /*#__PURE__*/React.createElement(View, {
29
+ transparent: true
30
+ }, /*#__PURE__*/React.createElement(Button, {
31
+ transparent: true,
32
+ style: {
33
+ flexDirection: 'row',
34
+ alignItems: 'center',
35
+ padding: 2
36
+ },
37
+ onPress: () => onSelectChat(group)
38
+ }, last_player ? /*#__PURE__*/React.createElement(Image, {
39
+ source: {
40
+ uri: last_player.profile_pic
41
+ },
42
+ style: {
43
+ height: 30,
44
+ width: 30,
45
+ borderRadius: 100
46
+ },
47
+ resizeMode: "contain"
48
+ }) : /*#__PURE__*/React.createElement(React.Fragment, null), /*#__PURE__*/React.createElement(View, {
49
+ transparent: true,
50
+ style: {
51
+ flex: 1,
52
+ marginLeft: 10,
53
+ marginRight: 10
54
+ }
55
+ }, /*#__PURE__*/React.createElement(Text, {
56
+ theme: "h2"
57
+ }, cta_message), last_player ? /*#__PURE__*/React.createElement(Text, {
58
+ theme: "description",
59
+ style: {
60
+ marginTop: 3
61
+ }
62
+ }, "@", last_player.username) : /*#__PURE__*/React.createElement(React.Fragment, null)), /*#__PURE__*/React.createElement(View, {
63
+ float: true,
64
+ style: {
65
+ padding: 10,
66
+ flexDirection: 'row',
67
+ alignItems: 'center'
68
+ }
69
+ }, /*#__PURE__*/React.createElement(Icons.ChatIcon, {
70
+ size: 16,
71
+ color: Colors.text.h1
72
+ }), /*#__PURE__*/React.createElement(Text, {
73
+ theme: "h2",
74
+ size: 12
75
+ }, " Chat"))));
76
+ };
77
+ export default GroupCTAButton;
78
+ //# sourceMappingURL=GroupCTAButton.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["React","moment","useEffect","useColors","Button","Text","View","Icons","Image","GroupCTAButton","group","players","message_length","group_messages","onSelectChat","Colors","group_id","last_message","sort","a","b","create_datetime","unix","cta_message","name","message","slice","last_player","find","p","player_id","createElement","transparent","style","flexDirection","alignItems","padding","onPress","source","uri","profile_pic","height","width","borderRadius","resizeMode","Fragment","flex","marginLeft","marginRight","theme","marginTop","username","float","ChatIcon","size","color","text","h1"],"sourceRoot":"../../../../src","sources":["Group/components/GroupCTAButton.tsx"],"mappings":"AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,OAAOC,MAAM,MAAM,aAAa;AAChC,SAASC,SAAS,QAAQ,OAAO;AAEjC,SAASC,SAAS,QAAQ,2BAA2B;AACrD,SAASC,MAAM,EAAEC,IAAI,EAAEC,IAAI,QAAQ,yBAAyB;AAC5D,SAASC,KAAK,QAAQ,kBAAkB;AACxC,SAASC,KAAK,QAAQ,cAAc;AAWpC,MAAMC,cAAc,GAAGA,CAAC;EAAEC,KAAK;EAAEC,OAAO;EAAEC,cAAc;EAAEC,cAAc;EAAEC;AAAiC,CAAC,KAAK;EAC7G,MAAMC,MAAM,GAAGZ,SAAS,CAAC,CAAC;EAE1BD,SAAS,CAAC,MAAO;IACb,IAAG,CAACQ,KAAK,EAAC;MAAE;IAAO;IACnB;EACJ,CAAC,EAAC,CAACA,KAAK,CAACM,QAAQ,CAAC,CAAC;EAGnB,IAAIC,YAAY,GAAGJ,cAAc,CAACK,IAAI,CAAC,CAACC,CAAC,EAACC,CAAC,KAAKnB,MAAM,CAACmB,CAAC,CAACC,eAAe,CAAC,CAACC,IAAI,CAAC,CAAC,GAAGrB,MAAM,CAACkB,CAAC,CAACE,eAA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B,CAAC,EACpCI,WAAW,gBACZ3B,KAAA,CAAA+B,aAAA,CAAC1B,IAAI;IAAC4C,KAAK,EAAC,aAAa;IAAChB,KAAK,EAAE;MAAEiB,SAAS,EAAC;IAAE;EAAE,GAAC,GAAC,EAACvB,WAAW,CAACwB,QAAe,CAAC,gBAC/EnD,KAAA,CAAA+B,aAAA,CAAA/B,KAAA,CAAA6C,QAAA,MAAI,CACH,CAAC,eACN7C,KAAA,CAAA+B,aAAA,CAACzB,IAAI;IAAC8C,KAAK;IAACnB,KAAK,EAAE;MAAEG,OAAO,EAAC,EAAE;MAAEF,aAAa,EAAC,KAAK;MAAEC,UAAU,EAAC;IAAS;EAAE,gBACzEnC,KAAA,CAAA+B,aAAA,CAACxB,KAAK,CAAC8C,QAAQ;IAACC,IAAI,EAAE,EAAG;IAACC,KAAK,EAAExC,MAAM,CAACyC,IAAI,CAACC;EAAG,CAAC,CAAC,eAClDzD,KAAA,CAAA+B,aAAA,CAAC1B,IAAI;IAAC4C,KAAK,EAAC,IAAI;IAACK,IAAI,EAAE;EAAG,GAAC,OAAW,CACpC,CACF,CACN,CAAC;AAGf,CAAC;AACD,eAAe7C,cAAc","ignoreList":[]}
@@ -0,0 +1,159 @@
1
+ import React, { useState } from 'react';
2
+ import { Button, Text, View } from "../../Components/Themed";
3
+ import { GroupApi } from '../api';
4
+ const GroupPlayerActionForm = ({
5
+ group,
6
+ group_player,
7
+ onResponse,
8
+ onClose
9
+ }) => {
10
+ const [action_loading, setActionLoading] = useState(false);
11
+ const handleAccept = async () => {
12
+ if (!group_player) {
13
+ return;
14
+ }
15
+ setActionLoading(true);
16
+ const new_gp = await GroupApi.acceptInvite(group_player.group_player_id);
17
+ if (!new_gp) {
18
+ alert('Unable to process');
19
+ } else {
20
+ onResponse(new_gp);
21
+ }
22
+ setActionLoading(false);
23
+ };
24
+ const handleDecline = async () => {
25
+ if (!group_player) {
26
+ return;
27
+ }
28
+ setActionLoading(true);
29
+ const new_gp = await GroupApi.declineInvite(group_player.group_player_id);
30
+ if (!new_gp) {
31
+ alert('Unable to process');
32
+ } else {
33
+ onResponse(new_gp);
34
+ }
35
+ setActionLoading(false);
36
+ };
37
+ const handleJoin = async () => {
38
+ setActionLoading(true);
39
+ const new_gp = await GroupApi.join(group.group_id);
40
+ if (!new_gp) {
41
+ alert('Unable to process');
42
+ } else {
43
+ onResponse(new_gp);
44
+ }
45
+ setActionLoading(false);
46
+ };
47
+ const handleLeave = async () => {
48
+ if (!group_player) {
49
+ return;
50
+ }
51
+ setActionLoading(true);
52
+ const new_gp = await GroupApi.leave(group_player.group_player_id);
53
+ if (!new_gp) {
54
+ alert('Unable to process');
55
+ } else {
56
+ onResponse(new_gp);
57
+ }
58
+ setActionLoading(false);
59
+ };
60
+ return /*#__PURE__*/React.createElement(View, {
61
+ float: true
62
+ }, /*#__PURE__*/React.createElement(View, {
63
+ type: "header",
64
+ style: {
65
+ flexDirection: 'row',
66
+ alignItems: 'center',
67
+ padding: 10,
68
+ borderTopRightRadius: 8,
69
+ borderTopLeftRadius: 8
70
+ }
71
+ }, /*#__PURE__*/React.createElement(View, {
72
+ transparent: true,
73
+ style: {
74
+ flex: 1
75
+ }
76
+ }, /*#__PURE__*/React.createElement(Text, {
77
+ theme: "h1"
78
+ }, group.name), /*#__PURE__*/React.createElement(Text, {
79
+ theme: "description",
80
+ style: {
81
+ marginTop: 3
82
+ }
83
+ }, group.description)), /*#__PURE__*/React.createElement(Button, {
84
+ title: "X",
85
+ float: true,
86
+ style: {
87
+ padding: 10
88
+ },
89
+ onPress: () => onClose()
90
+ })), /*#__PURE__*/React.createElement(View, {
91
+ type: "body",
92
+ style: {
93
+ padding: 10
94
+ }
95
+ }, group_player ? /*#__PURE__*/React.createElement(View, null, group_player.status == 'invited' ? /*#__PURE__*/React.createElement(Text, {
96
+ theme: "h1"
97
+ }, "YOU HAVE BEEN INVITED") : /*#__PURE__*/React.createElement(React.Fragment, null), group_player.status == 'active' ? /*#__PURE__*/React.createElement(Text, {
98
+ theme: "h1"
99
+ }, "YOU ARE A MEMBER OF THIS GROUP") : /*#__PURE__*/React.createElement(React.Fragment, null), group_player.status == 'inactive' ? /*#__PURE__*/React.createElement(Text, {
100
+ theme: "h1"
101
+ }, "JOIN THIS GROUP NOW") : /*#__PURE__*/React.createElement(React.Fragment, null)) : /*#__PURE__*/React.createElement(View, null, /*#__PURE__*/React.createElement(Text, {
102
+ theme: "h1"
103
+ }, "JOIN THIS GROUP NOW"))), /*#__PURE__*/React.createElement(View, {
104
+ type: "footer",
105
+ style: {
106
+ flexDirection: 'row',
107
+ alignItems: 'center',
108
+ padding: 5,
109
+ borderBottomRightRadius: 8,
110
+ borderBottomLeftRadius: 8
111
+ }
112
+ }, group_player?.status == 'invited' ? /*#__PURE__*/React.createElement(Button, {
113
+ title: "DECLINE",
114
+ type: "error",
115
+ loading: action_loading,
116
+ style: {
117
+ flex: 1,
118
+ opacity: action_loading ? 0.5 : 1,
119
+ margin: 5
120
+ },
121
+ disabled: action_loading,
122
+ onPress: () => handleDecline()
123
+ }) : /*#__PURE__*/React.createElement(React.Fragment, null), group_player?.status == 'invited' ? /*#__PURE__*/React.createElement(Button, {
124
+ title: "ACCEPT",
125
+ type: "success",
126
+ loading: action_loading,
127
+ style: {
128
+ flex: 1,
129
+ opacity: action_loading ? 0.5 : 1,
130
+ margin: 5
131
+ },
132
+ disabled: action_loading,
133
+ onPress: () => handleAccept()
134
+ }) : /*#__PURE__*/React.createElement(React.Fragment, null), group_player?.status == 'active' ? /*#__PURE__*/React.createElement(Button, {
135
+ title: "LEAVE GROUP",
136
+ type: "error",
137
+ loading: action_loading,
138
+ style: {
139
+ flex: 1,
140
+ opacity: action_loading ? 0.5 : 1,
141
+ margin: 5
142
+ },
143
+ disabled: action_loading,
144
+ onPress: () => handleLeave()
145
+ }) : /*#__PURE__*/React.createElement(React.Fragment, null), !group_player || group_player.status == 'inactive' ? /*#__PURE__*/React.createElement(Button, {
146
+ title: "JOIN GROUP",
147
+ type: "success",
148
+ loading: action_loading,
149
+ style: {
150
+ flex: 1,
151
+ opacity: action_loading ? 0.5 : 1,
152
+ margin: 5
153
+ },
154
+ disabled: action_loading,
155
+ onPress: () => handleJoin()
156
+ }) : /*#__PURE__*/React.createElement(React.Fragment, null)));
157
+ };
158
+ export default GroupPlayerActionForm;
159
+ //# sourceMappingURL=GroupPlayerActionForm.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["React","useState","Button","Text","View","GroupApi","GroupPlayerActionForm","group","group_player","onResponse","onClose","action_loading","setActionLoading","handleAccept","new_gp","acceptInvite","group_player_id","alert","handleDecline","declineInvite","handleJoin","join","group_id","handleLeave","leave","createElement","float","type","style","flexDirection","alignItems","padding","borderTopRightRadius","borderTopLeftRadius","transparent","flex","theme","name","marginTop","description","title","onPress","status","Fragment","borderBottomRightRadius","borderBottomLeftRadius","loading","opacity","margin","disabled"],"sourceRoot":"../../../../src","sources":["Group/components/GroupPlayerActionForm.tsx"],"mappings":"AAAA,OAAOA,KAAK,IAAIC,QAAQ,QAAQ,OAAO;AACvC,SAASC,MAAM,EAAEC,IAAI,EAAEC,IAAI,QAAQ,yBAAyB;AAE5D,SAASC,QAAQ,QAAQ,QAAQ;AASjC,MAAMC,qBAAqB,GAAGA,CAAC;EAAEC,KAAK;EAAEC,YAAY;EAAEC,UAAU;EAAEC;AAAmC,CAAC,KAAK;EACvG,MAAM,CAAEC,cAAc,EAAEC,gBAAgB,CAAE,GAAGX,QAAQ,CAAC,KAAK,CAAC;EAE5D,MAAMY,YAAY,GAAG,MAAAA,CAAA,KAAW;IAC5B,IAAG,CAACL,YAAY,EAAC;MAAE;IAAO;IAC1BI,gBAAgB,CAAC,IAAI,CAAC;IACtB,MAAME,MAAM,GAAG,MAAMT,QAAQ,CAACU,YAAY,CAACP,YAAY,CAACQ,eAAe,CAAC;IACxE,IAAG,CAACF,MAAM,EAAC;MAAEG,KAAK,CAAC,mBAAmB,CAAC;IAAC,CAAC,MACpC;MACDR,UAAU,CAACK,MAA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