@plusscommunities/pluss-core-app 8.0.37 → 8.0.38

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 (212) hide show
  1. package/package.json +1 -1
  2. package/src/components/ConfirmationPopup.js +71 -71
  3. package/src/components/GenericInput.js +1 -3
  4. package/src/components/GenericInputSection.js +1 -1
  5. package/dist/module/actions/FollowerActions.js +0 -34
  6. package/dist/module/actions/FollowerActions.js.map +0 -1
  7. package/dist/module/actions/MediaActions.js +0 -29
  8. package/dist/module/actions/MediaActions.js.map +0 -1
  9. package/dist/module/actions/ResidentActions.js +0 -26
  10. package/dist/module/actions/ResidentActions.js.map +0 -1
  11. package/dist/module/actions/UserActions.js +0 -223
  12. package/dist/module/actions/UserActions.js.map +0 -1
  13. package/dist/module/actions/UserSettingsActions.js +0 -14
  14. package/dist/module/actions/UserSettingsActions.js.map +0 -1
  15. package/dist/module/actions/index.js +0 -6
  16. package/dist/module/actions/index.js.map +0 -1
  17. package/dist/module/actions/types.js +0 -17
  18. package/dist/module/actions/types.js.map +0 -1
  19. package/dist/module/apis/analyticsActions.js +0 -20
  20. package/dist/module/apis/analyticsActions.js.map +0 -1
  21. package/dist/module/apis/contactActions.js +0 -27
  22. package/dist/module/apis/contactActions.js.map +0 -1
  23. package/dist/module/apis/eventActions.js +0 -161
  24. package/dist/module/apis/eventActions.js.map +0 -1
  25. package/dist/module/apis/fileActions.js +0 -93
  26. package/dist/module/apis/fileActions.js.map +0 -1
  27. package/dist/module/apis/followerActions.js +0 -38
  28. package/dist/module/apis/followerActions.js.map +0 -1
  29. package/dist/module/apis/index.js +0 -13
  30. package/dist/module/apis/index.js.map +0 -1
  31. package/dist/module/apis/notificationActions.js +0 -60
  32. package/dist/module/apis/notificationActions.js.map +0 -1
  33. package/dist/module/apis/profileActions.js +0 -14
  34. package/dist/module/apis/profileActions.js.map +0 -1
  35. package/dist/module/apis/reactionActions.js +0 -76
  36. package/dist/module/apis/reactionActions.js.map +0 -1
  37. package/dist/module/apis/settingActions.js +0 -22
  38. package/dist/module/apis/settingActions.js.map +0 -1
  39. package/dist/module/apis/stringActions.js +0 -30
  40. package/dist/module/apis/stringActions.js.map +0 -1
  41. package/dist/module/apis/typeActions.js +0 -15
  42. package/dist/module/apis/typeActions.js.map +0 -1
  43. package/dist/module/apis/userActions.js +0 -104
  44. package/dist/module/apis/userActions.js.map +0 -1
  45. package/dist/module/assets/icons/fontawesome/fa-brands-400.ttf +0 -0
  46. package/dist/module/assets/icons/fontawesome/fa-light-300.ttf +0 -0
  47. package/dist/module/assets/icons/fontawesome/fa-regular-400.ttf +0 -0
  48. package/dist/module/assets/icons/fontawesome/fa-solid-900.ttf +0 -0
  49. package/dist/module/assets/icons/fontawesome/fa-thin-100.ttf +0 -0
  50. package/dist/module/assets/icons/fontawesome/fa7-glyphmap.json +0 -4205
  51. package/dist/module/assets/icons/reactions/heart.png +0 -0
  52. package/dist/module/assets/icons/reactions/party.png +0 -0
  53. package/dist/module/assets/icons/reactions/sad.png +0 -0
  54. package/dist/module/assets/icons/reactions/smile.png +0 -0
  55. package/dist/module/colours.js +0 -165
  56. package/dist/module/colours.js.map +0 -1
  57. package/dist/module/components/AddButton.js +0 -43
  58. package/dist/module/components/AddButton.js.map +0 -1
  59. package/dist/module/components/AddToCalendarButton.js +0 -225
  60. package/dist/module/components/AddToCalendarButton.js.map +0 -1
  61. package/dist/module/components/Attachment.js +0 -55
  62. package/dist/module/components/Attachment.js.map +0 -1
  63. package/dist/module/components/AudienceSelectorLauncher.js +0 -64
  64. package/dist/module/components/AudienceSelectorLauncher.js.map +0 -1
  65. package/dist/module/components/AudienceSelectorPage.js +0 -351
  66. package/dist/module/components/AudienceSelectorPage.js.map +0 -1
  67. package/dist/module/components/AutoOffsetImage.js +0 -184
  68. package/dist/module/components/AutoOffsetImage.js.map +0 -1
  69. package/dist/module/components/BackButton.js +0 -58
  70. package/dist/module/components/BackButton.js.map +0 -1
  71. package/dist/module/components/CalendarPopup.js +0 -126
  72. package/dist/module/components/CalendarPopup.js.map +0 -1
  73. package/dist/module/components/CategoryTabs.js +0 -155
  74. package/dist/module/components/CategoryTabs.js.map +0 -1
  75. package/dist/module/components/CommentReply.js +0 -334
  76. package/dist/module/components/CommentReply.js.map +0 -1
  77. package/dist/module/components/CommentSection.js +0 -832
  78. package/dist/module/components/CommentSection.js.map +0 -1
  79. package/dist/module/components/ConfirmPopup.js +0 -123
  80. package/dist/module/components/ConfirmPopup.js.map +0 -1
  81. package/dist/module/components/ConfirmationPopup.js +0 -72
  82. package/dist/module/components/ConfirmationPopup.js.map +0 -1
  83. package/dist/module/components/DocumentUploader.js +0 -253
  84. package/dist/module/components/DocumentUploader.js.map +0 -1
  85. package/dist/module/components/DropDownItem.js +0 -75
  86. package/dist/module/components/DropDownItem.js.map +0 -1
  87. package/dist/module/components/DropDownMenu.js +0 -41
  88. package/dist/module/components/DropDownMenu.js.map +0 -1
  89. package/dist/module/components/EmptyStateMain.js +0 -51
  90. package/dist/module/components/EmptyStateMain.js.map +0 -1
  91. package/dist/module/components/EmptyStateWidget.js +0 -48
  92. package/dist/module/components/EmptyStateWidget.js.map +0 -1
  93. package/dist/module/components/FontScaleButton.js +0 -37
  94. package/dist/module/components/FontScaleButton.js.map +0 -1
  95. package/dist/module/components/FontScalePopup.js +0 -76
  96. package/dist/module/components/FontScalePopup.js.map +0 -1
  97. package/dist/module/components/Forbidden.js +0 -58
  98. package/dist/module/components/Forbidden.js.map +0 -1
  99. package/dist/module/components/FormCard.js +0 -25
  100. package/dist/module/components/FormCard.js.map +0 -1
  101. package/dist/module/components/FormCardSection.js +0 -214
  102. package/dist/module/components/FormCardSection.js.map +0 -1
  103. package/dist/module/components/FormCardSectionOptionLauncher.js +0 -73
  104. package/dist/module/components/FormCardSectionOptionLauncher.js.map +0 -1
  105. package/dist/module/components/FormattedText.js +0 -133
  106. package/dist/module/components/FormattedText.js.map +0 -1
  107. package/dist/module/components/GenericInput.js +0 -151
  108. package/dist/module/components/GenericInput.js.map +0 -1
  109. package/dist/module/components/GenericInputSection.js +0 -173
  110. package/dist/module/components/GenericInputSection.js.map +0 -1
  111. package/dist/module/components/Header.js +0 -459
  112. package/dist/module/components/Header.js.map +0 -1
  113. package/dist/module/components/Icon.js +0 -109
  114. package/dist/module/components/Icon.js.map +0 -1
  115. package/dist/module/components/ImagePopup.js +0 -400
  116. package/dist/module/components/ImagePopup.js.map +0 -1
  117. package/dist/module/components/ImageUploadProgress.js +0 -69
  118. package/dist/module/components/ImageUploadProgress.js.map +0 -1
  119. package/dist/module/components/ImageUploader.js +0 -831
  120. package/dist/module/components/ImageUploader.js.map +0 -1
  121. package/dist/module/components/InlineButton.js +0 -66
  122. package/dist/module/components/InlineButton.js.map +0 -1
  123. package/dist/module/components/Input.js +0 -156
  124. package/dist/module/components/Input.js.map +0 -1
  125. package/dist/module/components/LoadingCircles.js +0 -219
  126. package/dist/module/components/LoadingCircles.js.map +0 -1
  127. package/dist/module/components/LoadingIndicator.js +0 -86
  128. package/dist/module/components/LoadingIndicator.js.map +0 -1
  129. package/dist/module/components/LoadingStateWidget.js +0 -46
  130. package/dist/module/components/LoadingStateWidget.js.map +0 -1
  131. package/dist/module/components/MediaPlayer.js +0 -407
  132. package/dist/module/components/MediaPlayer.js.map +0 -1
  133. package/dist/module/components/MiddlePopup.js +0 -49
  134. package/dist/module/components/MiddlePopup.js.map +0 -1
  135. package/dist/module/components/PDFPopup.js +0 -296
  136. package/dist/module/components/PDFPopup.js.map +0 -1
  137. package/dist/module/components/PlussChat.js +0 -1078
  138. package/dist/module/components/PlussChat.js.map +0 -1
  139. package/dist/module/components/PlussChatMessage.js +0 -299
  140. package/dist/module/components/PlussChatMessage.js.map +0 -1
  141. package/dist/module/components/PlussChatTime.js +0 -59
  142. package/dist/module/components/PlussChatTime.js.map +0 -1
  143. package/dist/module/components/Popup.js +0 -126
  144. package/dist/module/components/Popup.js.map +0 -1
  145. package/dist/module/components/PopupMenu.js +0 -120
  146. package/dist/module/components/PopupMenu.js.map +0 -1
  147. package/dist/module/components/PositionedImage.js +0 -313
  148. package/dist/module/components/PositionedImage.js.map +0 -1
  149. package/dist/module/components/ProfilePic.js +0 -105
  150. package/dist/module/components/ProfilePic.js.map +0 -1
  151. package/dist/module/components/RadioButton.js +0 -78
  152. package/dist/module/components/RadioButton.js.map +0 -1
  153. package/dist/module/components/Reaction.js +0 -117
  154. package/dist/module/components/Reaction.js.map +0 -1
  155. package/dist/module/components/Reactions.js +0 -71
  156. package/dist/module/components/Reactions.js.map +0 -1
  157. package/dist/module/components/SharingTools.js +0 -189
  158. package/dist/module/components/SharingTools.js.map +0 -1
  159. package/dist/module/components/Spinner.js +0 -22
  160. package/dist/module/components/Spinner.js.map +0 -1
  161. package/dist/module/components/StickyFooter.js +0 -34
  162. package/dist/module/components/StickyFooter.js.map +0 -1
  163. package/dist/module/components/Text.js +0 -57
  164. package/dist/module/components/Text.js.map +0 -1
  165. package/dist/module/components/TickIcon.js +0 -24
  166. package/dist/module/components/TickIcon.js.map +0 -1
  167. package/dist/module/components/Toggle.js +0 -66
  168. package/dist/module/components/Toggle.js.map +0 -1
  169. package/dist/module/components/TouchableSearchBar.js +0 -68
  170. package/dist/module/components/TouchableSearchBar.js.map +0 -1
  171. package/dist/module/components/UserListPopup.js +0 -136
  172. package/dist/module/components/UserListPopup.js.map +0 -1
  173. package/dist/module/components/UserListing.js +0 -268
  174. package/dist/module/components/UserListing.js.map +0 -1
  175. package/dist/module/components/VideoPopup.js +0 -113
  176. package/dist/module/components/VideoPopup.js.map +0 -1
  177. package/dist/module/components/WarningPopup.js +0 -85
  178. package/dist/module/components/WarningPopup.js.map +0 -1
  179. package/dist/module/components/expo-image-picker-multiple/ImageBrowser.js +0 -289
  180. package/dist/module/components/expo-image-picker-multiple/ImageBrowser.js.map +0 -1
  181. package/dist/module/components/expo-image-picker-multiple/ImageTile.js +0 -117
  182. package/dist/module/components/expo-image-picker-multiple/ImageTile.js.map +0 -1
  183. package/dist/module/components/index.js +0 -60
  184. package/dist/module/components/index.js.map +0 -1
  185. package/dist/module/components/react-native-expo-image-cropper/ExpoImageManipulator.js +0 -422
  186. package/dist/module/components/react-native-expo-image-cropper/ExpoImageManipulator.js.map +0 -1
  187. package/dist/module/components/react-native-expo-image-cropper/ImageCropOverlay.js +0 -387
  188. package/dist/module/components/react-native-expo-image-cropper/ImageCropOverlay.js.map +0 -1
  189. package/dist/module/config.js +0 -27
  190. package/dist/module/config.js.map +0 -1
  191. package/dist/module/constants.js +0 -18
  192. package/dist/module/constants.js.map +0 -1
  193. package/dist/module/helper.js +0 -424
  194. package/dist/module/helper.js.map +0 -1
  195. package/dist/module/index.js +0 -13
  196. package/dist/module/index.js.map +0 -1
  197. package/dist/module/js/images/detectFaces.js +0 -31
  198. package/dist/module/js/images/detectFaces.js.map +0 -1
  199. package/dist/module/js/images/findLandmarkRange.js +0 -93
  200. package/dist/module/js/images/findLandmarkRange.js.map +0 -1
  201. package/dist/module/js/images/getScaledOffset.js +0 -81
  202. package/dist/module/js/images/getScaledOffset.js.map +0 -1
  203. package/dist/module/js/site/getSiteLevelFromState.js +0 -29
  204. package/dist/module/js/site/getSiteLevelFromState.js.map +0 -1
  205. package/dist/module/js/site/isTVEnabled.js +0 -10
  206. package/dist/module/js/site/isTVEnabled.js.map +0 -1
  207. package/dist/module/session.js +0 -58
  208. package/dist/module/session.js.map +0 -1
  209. package/dist/module/styles.js +0 -67
  210. package/dist/module/styles.js.map +0 -1
  211. package/dist/module/withNavigationFocus.js +0 -30
  212. package/dist/module/withNavigationFocus.js.map +0 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@plusscommunities/pluss-core-app",
3
- "version": "8.0.37",
3
+ "version": "8.0.38",
4
4
  "description": "Core extension package for Pluss Communities platform",
5
5
  "exports": {
6
6
  ".": {
@@ -3,88 +3,88 @@ import { Text } from "./Text";
3
3
  import { connect } from "react-redux";
4
4
  import { FontAwesome } from "./Icon";
5
5
  import {
6
- COLOUR_GREEN,
7
- TEXT_DARK,
8
- getMainBrandingColourFromState,
6
+ COLOUR_GREEN,
7
+ TEXT_DARK,
8
+ getMainBrandingColourFromState,
9
9
  } from "../colours";
10
10
  import { MiddlePopup } from "./MiddlePopup";
11
11
  import { InlineButton } from "./InlineButton";
12
12
 
13
13
  class ConfirmationPopup extends PureComponent {
14
- render() {
15
- return (
16
- <MiddlePopup
17
- visible={this.props.visible}
18
- onClose={this.props.onClose}
19
- style={[styles.popup, this.props.style]}
20
- >
21
- <FontAwesome style={styles.icon} name="circle-check" />
22
- <Text style={styles.text}>{this.props.confirmText}</Text>
23
- {this.props.onPressAction && (
24
- <InlineButton
25
- onPress={this.props.onPressAction}
26
- color={this.props.colourBrandingMain}
27
- style={[
28
- styles.button,
29
- this.props.largeButtons && styles.largeButton,
30
- ]}
31
- large={this.props.largeButtons}
32
- >
33
- {this.props.repeatText}
34
- </InlineButton>
35
- )}
36
- <InlineButton
37
- onPress={this.props.onClose}
38
- color="#fff"
39
- style={[
40
- styles.button,
41
- styles.closeButton,
42
- this.props.largeButtons && styles.largeButton,
43
- { borderColor: this.props.colourBrandingMain },
44
- ]}
45
- textStyle={{ color: this.props.colourBrandingMain }}
46
- large={this.props.largeButtons}
47
- >
48
- Close
49
- </InlineButton>
50
- </MiddlePopup>
51
- );
52
- }
14
+ render() {
15
+ return (
16
+ <MiddlePopup
17
+ visible={this.props.visible}
18
+ onClose={this.props.onClose}
19
+ style={[styles.popup, this.props.style]}
20
+ >
21
+ <FontAwesome style={styles.icon} name="check-circle" />
22
+ <Text style={styles.text}>{this.props.confirmText}</Text>
23
+ {this.props.onPressAction && (
24
+ <InlineButton
25
+ onPress={this.props.onPressAction}
26
+ color={this.props.colourBrandingMain}
27
+ style={[
28
+ styles.button,
29
+ this.props.largeButtons && styles.largeButton,
30
+ ]}
31
+ large={this.props.largeButtons}
32
+ >
33
+ {this.props.repeatText}
34
+ </InlineButton>
35
+ )}
36
+ <InlineButton
37
+ onPress={this.props.onClose}
38
+ color="#fff"
39
+ style={[
40
+ styles.button,
41
+ styles.closeButton,
42
+ this.props.largeButtons && styles.largeButton,
43
+ { borderColor: this.props.colourBrandingMain },
44
+ ]}
45
+ textStyle={{ color: this.props.colourBrandingMain }}
46
+ large={this.props.largeButtons}
47
+ >
48
+ Close
49
+ </InlineButton>
50
+ </MiddlePopup>
51
+ );
52
+ }
53
53
  }
54
54
 
55
55
  const styles = {
56
- popup: {
57
- width: 280,
58
- paddingVertical: 40,
59
- },
60
- icon: {
61
- fontSize: 52,
62
- color: COLOUR_GREEN,
63
- },
64
- text: {
65
- fontFamily: "sf-bold",
66
- fontSize: 24,
67
- lineHeight: 24,
68
- color: TEXT_DARK,
69
- textAlign: "center",
70
- marginTop: 8,
71
- },
72
- button: {
73
- width: 150,
74
- marginTop: 20,
75
- },
76
- closeButton: {
77
- borderWidth: 1,
78
- },
79
- largeButton: {
80
- width: 250,
81
- },
56
+ popup: {
57
+ width: 280,
58
+ paddingVertical: 40,
59
+ },
60
+ icon: {
61
+ fontSize: 52,
62
+ color: COLOUR_GREEN,
63
+ },
64
+ text: {
65
+ fontFamily: "sf-bold",
66
+ fontSize: 24,
67
+ lineHeight: 24,
68
+ color: TEXT_DARK,
69
+ textAlign: "center",
70
+ marginTop: 8,
71
+ },
72
+ button: {
73
+ width: 150,
74
+ marginTop: 20,
75
+ },
76
+ closeButton: {
77
+ borderWidth: 1,
78
+ },
79
+ largeButton: {
80
+ width: 250,
81
+ },
82
82
  };
83
83
 
84
84
  const mapStateToProps = (state) => {
85
- return {
86
- colourBrandingMain: getMainBrandingColourFromState(state),
87
- };
85
+ return {
86
+ colourBrandingMain: getMainBrandingColourFromState(state),
87
+ };
88
88
  };
89
89
 
90
90
  const confirmationPopup = connect(mapStateToProps, {})(ConfirmationPopup);
@@ -92,9 +92,7 @@ class GenericInput extends Component {
92
92
  style={[
93
93
  styles.searchInputContainer,
94
94
  this.props.squaredCorners && styles.squaredSearchInputContainer,
95
- this.props.autoGrow
96
- ? { paddingVertical: 8, minHeight: 40 }
97
- : { height: 36 },
95
+ { paddingVertical: 8, minHeight: 40 },
98
96
  this.props.containerStyle,
99
97
  ]}
100
98
  >
@@ -194,7 +194,7 @@ const styles = {
194
194
  optionSelector: {
195
195
  marginTop: 8,
196
196
  flex: 1,
197
- height: 36,
197
+ minHeight: 40,
198
198
  backgroundColor: "#ebeff2",
199
199
  alignItems: "center",
200
200
  flexDirection: "row",
@@ -1,34 +0,0 @@
1
- import _ from "lodash";
2
- import { LOAD_FOLLOWERS, ADD_FOLLOWER, REMOVE_FOLLOWER } from "./types";
3
- import { followerActions } from "../apis/followerActions";
4
- export const loadFollowers = followers => {
5
- return {
6
- type: LOAD_FOLLOWERS,
7
- payload: followers
8
- };
9
- };
10
- export const getFollowers = userId => {
11
- return async dispatch => {
12
- followerActions.getFollowing(userId).then(res => {
13
- // console.log('getFollowing', res.data);
14
- if (res.data != null && res.data.Items != null && !_.isEmpty(res.data.Items)) {
15
- dispatch(loadFollowers(res.data.Items));
16
- }
17
- }).catch(error => {
18
- console.log("getFollowing", error);
19
- });
20
- };
21
- };
22
- export const addFollower = user => {
23
- return {
24
- type: ADD_FOLLOWER,
25
- payload: user
26
- };
27
- };
28
- export const removeFollower = userId => {
29
- return {
30
- type: REMOVE_FOLLOWER,
31
- payload: userId
32
- };
33
- };
34
- //# sourceMappingURL=FollowerActions.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["_","LOAD_FOLLOWERS","ADD_FOLLOWER","REMOVE_FOLLOWER","followerActions","loadFollowers","followers","type","payload","getFollowers","userId","dispatch","getFollowing","then","res","data","Items","isEmpty","catch","error","console","log","addFollower","user","removeFollower"],"sources":["FollowerActions.js"],"sourcesContent":["import _ from \"lodash\";\nimport { LOAD_FOLLOWERS, ADD_FOLLOWER, REMOVE_FOLLOWER } from \"./types\";\nimport { followerActions } from \"../apis/followerActions\";\n\nexport const loadFollowers = (followers) => {\n\treturn {\n\t\ttype: LOAD_FOLLOWERS,\n\t\tpayload: followers,\n\t};\n};\n\nexport const getFollowers = (userId) => {\n\treturn async (dispatch) => {\n\t\tfollowerActions\n\t\t\t.getFollowing(userId)\n\t\t\t.then((res) => {\n\t\t\t\t// console.log('getFollowing', res.data);\n\t\t\t\tif (\n\t\t\t\t\tres.data != null &&\n\t\t\t\t\tres.data.Items != null &&\n\t\t\t\t\t!_.isEmpty(res.data.Items)\n\t\t\t\t) {\n\t\t\t\t\tdispatch(loadFollowers(res.data.Items));\n\t\t\t\t}\n\t\t\t})\n\t\t\t.catch((error) => {\n\t\t\t\tconsole.log(\"getFollowing\", error);\n\t\t\t});\n\t};\n};\n\nexport const addFollower = (user) => {\n\treturn {\n\t\ttype: ADD_FOLLOWER,\n\t\tpayload: user,\n\t};\n};\n\nexport const removeFollower = (userId) => {\n\treturn {\n\t\ttype: REMOVE_FOLLOWER,\n\t\tpayload: userId,\n\t};\n};\n"],"mappings":"AAAA,OAAOA,CAAC,MAAM,QAAQ;AACtB,SAASC,cAAc,EAAEC,YAAY,EAAEC,eAAe,QAAQ,SAAS;AACvE,SAASC,eAAe,QAAQ,yBAAyB;AAEzD,OAAO,MAAMC,aAAa,GAAIC,SAAS,IAAK;EAC3C,OAAO;IACNC,IAAI,EAAEN,cAAc;IACpBO,OAAO,EAAEF;EACV,CAAC;AACF,CAAC;AAED,OAAO,MAAMG,YAAY,GAAIC,MAAM,IAAK;EACvC,OAAO,MAAOC,QAAQ,IAAK;IAC1BP,eAAe,CACbQ,YAAY,CAACF,MAAM,CAAC,CACpBG,IAAI,CAAEC,GAAG,IAAK;MACd;MACA,IACCA,GAAG,CAACC,IAAI,IAAI,IAAI,IAChBD,GAAG,CAACC,IAAI,CAACC,KAAK,IAAI,IAAI,IACtB,CAAChB,CAAC,CAACiB,OAAO,CAACH,GAAG,CAACC,IAAI,CAACC,KAAK,CAAC,EACzB;QACDL,QAAQ,CAACN,aAAa,CAACS,GAAG,CAACC,IAAI,CAACC,KAAK,CAAC,CAAC;MACxC;IACD,CAAC,CAAC,CACDE,KAAK,CAAEC,KAAK,IAAK;MACjBC,OAAO,CAACC,GAAG,CAAC,cAAc,EAAEF,KAAK,CAAC;IACnC,CAAC,CAAC;EACJ,CAAC;AACF,CAAC;AAED,OAAO,MAAMG,WAAW,GAAIC,IAAI,IAAK;EACpC,OAAO;IACNhB,IAAI,EAAEL,YAAY;IAClBM,OAAO,EAAEe;EACV,CAAC;AACF,CAAC;AAED,OAAO,MAAMC,cAAc,GAAId,MAAM,IAAK;EACzC,OAAO;IACNH,IAAI,EAAEJ,eAAe;IACrBK,OAAO,EAAEE;EACV,CAAC;AACF,CAAC","ignoreList":[]}
@@ -1,29 +0,0 @@
1
- import { IMAGE_LIBRARY_LOADED, STOCK_IMAGES_LOADED, IMAGE_FOLDER_UPDATED, SAVE_IMAGE_POSITION } from "./types";
2
- export const stockImagesLoaded = images => {
3
- return {
4
- type: STOCK_IMAGES_LOADED,
5
- payload: images
6
- };
7
- };
8
- export const imageLibraryLoaded = library => {
9
- return {
10
- type: IMAGE_LIBRARY_LOADED,
11
- payload: library
12
- };
13
- };
14
- export const imageFolderUpdated = folder => {
15
- return {
16
- type: IMAGE_FOLDER_UPDATED,
17
- payload: folder
18
- };
19
- };
20
- export const saveImagePosition = (uri, positions) => {
21
- return {
22
- type: SAVE_IMAGE_POSITION,
23
- payload: {
24
- uri,
25
- positions
26
- }
27
- };
28
- };
29
- //# sourceMappingURL=MediaActions.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["IMAGE_LIBRARY_LOADED","STOCK_IMAGES_LOADED","IMAGE_FOLDER_UPDATED","SAVE_IMAGE_POSITION","stockImagesLoaded","images","type","payload","imageLibraryLoaded","library","imageFolderUpdated","folder","saveImagePosition","uri","positions"],"sources":["MediaActions.js"],"sourcesContent":["import {\n\tIMAGE_LIBRARY_LOADED,\n\tSTOCK_IMAGES_LOADED,\n\tIMAGE_FOLDER_UPDATED,\n\tSAVE_IMAGE_POSITION,\n} from \"./types\";\n\nexport const stockImagesLoaded = (images) => {\n\treturn {\n\t\ttype: STOCK_IMAGES_LOADED,\n\t\tpayload: images,\n\t};\n};\n\nexport const imageLibraryLoaded = (library) => {\n\treturn {\n\t\ttype: IMAGE_LIBRARY_LOADED,\n\t\tpayload: library,\n\t};\n};\n\nexport const imageFolderUpdated = (folder) => {\n\treturn {\n\t\ttype: IMAGE_FOLDER_UPDATED,\n\t\tpayload: folder,\n\t};\n};\n\nexport const saveImagePosition = (uri, positions) => {\n\treturn {\n\t\ttype: SAVE_IMAGE_POSITION,\n\t\tpayload: { uri, positions },\n\t};\n};\n"],"mappings":"AAAA,SACCA,oBAAoB,EACpBC,mBAAmB,EACnBC,oBAAoB,EACpBC,mBAAmB,QACb,SAAS;AAEhB,OAAO,MAAMC,iBAAiB,GAAIC,MAAM,IAAK;EAC5C,OAAO;IACNC,IAAI,EAAEL,mBAAmB;IACzBM,OAAO,EAAEF;EACV,CAAC;AACF,CAAC;AAED,OAAO,MAAMG,kBAAkB,GAAIC,OAAO,IAAK;EAC9C,OAAO;IACNH,IAAI,EAAEN,oBAAoB;IAC1BO,OAAO,EAAEE;EACV,CAAC;AACF,CAAC;AAED,OAAO,MAAMC,kBAAkB,GAAIC,MAAM,IAAK;EAC7C,OAAO;IACNL,IAAI,EAAEJ,oBAAoB;IAC1BK,OAAO,EAAEI;EACV,CAAC;AACF,CAAC;AAED,OAAO,MAAMC,iBAAiB,GAAGA,CAACC,GAAG,EAAEC,SAAS,KAAK;EACpD,OAAO;IACNR,IAAI,EAAEH,mBAAmB;IACzBI,OAAO,EAAE;MAAEM,GAAG;MAAEC;IAAU;EAC3B,CAAC;AACF,CAAC","ignoreList":[]}
@@ -1,26 +0,0 @@
1
- import { UPDATE_RESIDENTS, LOADED_RESIDENTS, LOADED_LINKED_USERS, LOADED_LINKED_TO_USERS } from "./types";
2
- export const updateResidents = userContact => {
3
- return {
4
- type: UPDATE_RESIDENTS,
5
- payload: userContact
6
- };
7
- };
8
- export const residentsLoaded = list => {
9
- return {
10
- type: LOADED_RESIDENTS,
11
- payload: list
12
- };
13
- };
14
- export const linkedUsersLoaded = linkedUsers => {
15
- return {
16
- type: LOADED_LINKED_USERS,
17
- payload: linkedUsers
18
- };
19
- };
20
- export const linkedToUsersLoaded = linkedToUsers => {
21
- return {
22
- type: LOADED_LINKED_TO_USERS,
23
- payload: linkedToUsers
24
- };
25
- };
26
- //# sourceMappingURL=ResidentActions.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["UPDATE_RESIDENTS","LOADED_RESIDENTS","LOADED_LINKED_USERS","LOADED_LINKED_TO_USERS","updateResidents","userContact","type","payload","residentsLoaded","list","linkedUsersLoaded","linkedUsers","linkedToUsersLoaded","linkedToUsers"],"sources":["ResidentActions.js"],"sourcesContent":["import {\n\tUPDATE_RESIDENTS,\n\tLOADED_RESIDENTS,\n\tLOADED_LINKED_USERS,\n\tLOADED_LINKED_TO_USERS,\n} from \"./types\";\n\nexport const updateResidents = (userContact) => {\n\treturn {\n\t\ttype: UPDATE_RESIDENTS,\n\t\tpayload: userContact,\n\t};\n};\n\nexport const residentsLoaded = (list) => {\n\treturn {\n\t\ttype: LOADED_RESIDENTS,\n\t\tpayload: list,\n\t};\n};\n\nexport const linkedUsersLoaded = (linkedUsers) => {\n\treturn {\n\t\ttype: LOADED_LINKED_USERS,\n\t\tpayload: linkedUsers,\n\t};\n};\n\nexport const linkedToUsersLoaded = (linkedToUsers) => {\n\treturn {\n\t\ttype: LOADED_LINKED_TO_USERS,\n\t\tpayload: linkedToUsers,\n\t};\n};\n"],"mappings":"AAAA,SACCA,gBAAgB,EAChBC,gBAAgB,EAChBC,mBAAmB,EACnBC,sBAAsB,QAChB,SAAS;AAEhB,OAAO,MAAMC,eAAe,GAAIC,WAAW,IAAK;EAC/C,OAAO;IACNC,IAAI,EAAEN,gBAAgB;IACtBO,OAAO,EAAEF;EACV,CAAC;AACF,CAAC;AAED,OAAO,MAAMG,eAAe,GAAIC,IAAI,IAAK;EACxC,OAAO;IACNH,IAAI,EAAEL,gBAAgB;IACtBM,OAAO,EAAEE;EACV,CAAC;AACF,CAAC;AAED,OAAO,MAAMC,iBAAiB,GAAIC,WAAW,IAAK;EACjD,OAAO;IACNL,IAAI,EAAEJ,mBAAmB;IACzBK,OAAO,EAAEI;EACV,CAAC;AACF,CAAC;AAED,OAAO,MAAMC,mBAAmB,GAAIC,aAAa,IAAK;EACrD,OAAO;IACNP,IAAI,EAAEH,sBAAsB;IAC5BI,OAAO,EAAEM;EACV,CAAC;AACF,CAAC","ignoreList":[]}
@@ -1,223 +0,0 @@
1
- // import axios from 'axios';
2
- import {
3
- // SAVE_PROFILE_PIC_SUCCESS,
4
- // SAVE_PROFILE_PIC_FAIL,
5
- // ONBOARDING_UPDATE,
6
- // HOME_ONBOARDING_UPDATE,
7
- // USER_UPDATED,
8
- UPDATE_USER_STATE
9
- // UPDATE_USER_STATE_FAIL,
10
- } from "./types";
11
- // import { baseUrl } from '../config';
12
- // import { userActions } from '../webapi';
13
-
14
- // const ROOT_URL = baseUrl;
15
-
16
- // export const updateProfilePic = uri => {
17
- // return async dispatch => {
18
- // let userID = null;
19
- // let token = null;
20
- // if (userID) {
21
- // dispatch({
22
- // type: SAVE_PROFILE_PIC_SUCCESS,
23
- // payload: { profilePic: uri },
24
- // });
25
- // await axios({
26
- // method: 'post',
27
- // url: `${ROOT_URL}/updateProfilePic`,
28
- // data: {
29
- // uri,
30
- // userID,
31
- // },
32
- // headers: {
33
- // authorization: `Bearer ${token}`,
34
- // },
35
- // })
36
- // .then(() => {
37
- // dispatch({
38
- // type: SAVE_PROFILE_PIC_SUCCESS,
39
- // payload: { profilePic: uri },
40
- // });
41
- // })
42
- // .catch(error => {
43
- // console.log(error.response.data);
44
- // dispatch({ type: SAVE_PROFILE_PIC_FAIL });
45
- // });
46
- // }
47
- // };
48
- // };
49
-
50
- // export const updateUser = (input, callback) => {
51
- // return async dispatch => {
52
- // console.log('update User Action hit');
53
- // dispatch({
54
- // type: USER_UPDATED,
55
- // payload: input,
56
- // });
57
- // };
58
- // };
59
-
60
- export const softUpdateUser = input => {
61
- return {
62
- type: UPDATE_USER_STATE,
63
- payload: input
64
- };
65
- };
66
- export const updateNavRead = input => {
67
- return async dispatch => {
68
- setTimeout(() => {
69
- dispatch({
70
- type: UPDATE_USER_STATE,
71
- payload: {
72
- openedNotifs: input
73
- }
74
- });
75
- }, 500);
76
- };
77
- };
78
-
79
- /*
80
- Update user data without triggering uploadingProfile or uploadingProfilePic
81
- */
82
- // export const silentUpdateUser = (input, immediate) => {
83
- // return async dispatch => {
84
- // if (immediate) {
85
- // dispatch({
86
- // type: UPDATE_USER_STATE,
87
- // payload: input,
88
- // });
89
- // }
90
- // userActions
91
- // .updateProfile(input)
92
- // .then(res => {
93
- // if (res.data.userCreationFail) {
94
- // console.log('user update failed', res.data.message);
95
- // dispatch({
96
- // type: UPDATE_USER_STATE_FAIL,
97
- // payload: res.data.message,
98
- // });
99
- // } else {
100
- // dispatch({
101
- // type: UPDATE_USER_STATE,
102
- // payload: input,
103
- // });
104
- // }
105
- // })
106
- // .catch(err => {
107
- // console.log('user update fail -- Silent Upate', err);
108
- // });
109
- // };
110
- // };
111
-
112
- // export const seenOnboarding = () => {
113
- // return async dispatch => {
114
- // dispatch({ type: ONBOARDING_UPDATE });
115
- // let userID = null;
116
- // let token = null;
117
- // if (userID) {
118
- // await axios({
119
- // method: 'post',
120
- // url: `${ROOT_URL}/updateProfile`,
121
- // data: {
122
- // userID,
123
- // details: {
124
- // onBoardingSeen: true,
125
- // },
126
- // },
127
- // headers: {
128
- // authorization: `Bearer ${token}`,
129
- // },
130
- // })
131
- // .then(() => {})
132
- // .catch(() => {
133
- // console.log('onBoarding update fail');
134
- // });
135
- // }
136
- // };
137
- // };
138
-
139
- /*
140
- Will combine this eventually with above function
141
- */
142
- // export const seenHomeOnboarding = () => {
143
- // return async dispatch => {
144
- // dispatch({ type: HOME_ONBOARDING_UPDATE });
145
- // let userID = null;
146
- // let token = null;
147
- // if (userID) {
148
- // await axios({
149
- // method: 'post',
150
- // url: `${ROOT_URL}/updateProfile`,
151
- // data: {
152
- // userID,
153
- // details: {
154
- // homeOnboardingSeen: true,
155
- // },
156
- // },
157
- // headers: {
158
- // authorization: `Bearer ${token}`,
159
- // },
160
- // })
161
- // .then(() => {})
162
- // .catch(() => {
163
- // console.log('onBoarding update fail');
164
- // });
165
- // }
166
- // };
167
- // };
168
-
169
- /*
170
- Triggered at app startup for saving user current home takeover.
171
- */
172
- // export const updateUserStartupTakeover = async input => {
173
- // let userID = null;
174
- // let token = null;
175
- // if (userID) {
176
- // await axios({
177
- // method: 'post',
178
- // url: `${ROOT_URL}/updateProfile`,
179
- // data: {
180
- // userID,
181
- // details: input,
182
- // },
183
- // headers: {
184
- // authorization: `Bearer ${token}`,
185
- // },
186
- // })
187
- // .then(() => {})
188
- // .catch(() => {
189
- // console.log('startup takeover save fail -- Update User Startup Takeover');
190
- // });
191
- // }
192
- // };
193
-
194
- // export const registerStandaloneUser = takeover => {
195
- // return async dispatch => {
196
- // let userObj = null;
197
- // if (userObj && takeover) {
198
- // await axios({
199
- // method: 'post',
200
- // url: `${ROOT_URL}/registerStandaloneUser`,
201
- // data: {
202
- // userObj,
203
- // takeoverKey: takeover.Key,
204
- // },
205
- // headers: {
206
- // authorization: 'Gweg',
207
- // },
208
- // })
209
- // .then(() => {
210
- // dispatch({
211
- // type: UPDATE_USER_STATE,
212
- // payload: { standaloneRegistered: true },
213
- // });
214
- // })
215
- // .catch(() => {
216
- // console.log('register standalone user -- fail');
217
- // });
218
- // } else {
219
- // console.log('Failed to detect user for takeover registration');
220
- // }
221
- // };
222
- // };
223
- //# sourceMappingURL=UserActions.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["UPDATE_USER_STATE","softUpdateUser","input","type","payload","updateNavRead","dispatch","setTimeout","openedNotifs"],"sources":["UserActions.js"],"sourcesContent":["// import axios from 'axios';\nimport {\n\t// SAVE_PROFILE_PIC_SUCCESS,\n\t// SAVE_PROFILE_PIC_FAIL,\n\t// ONBOARDING_UPDATE,\n\t// HOME_ONBOARDING_UPDATE,\n\t// USER_UPDATED,\n\tUPDATE_USER_STATE,\n\t// UPDATE_USER_STATE_FAIL,\n} from \"./types\";\n// import { baseUrl } from '../config';\n// import { userActions } from '../webapi';\n\n// const ROOT_URL = baseUrl;\n\n// export const updateProfilePic = uri => {\n// return async dispatch => {\n// let userID = null;\n// let token = null;\n// if (userID) {\n// dispatch({\n// type: SAVE_PROFILE_PIC_SUCCESS,\n// payload: { profilePic: uri },\n// });\n// await axios({\n// method: 'post',\n// url: `${ROOT_URL}/updateProfilePic`,\n// data: {\n// uri,\n// userID,\n// },\n// headers: {\n// authorization: `Bearer ${token}`,\n// },\n// })\n// .then(() => {\n// dispatch({\n// type: SAVE_PROFILE_PIC_SUCCESS,\n// payload: { profilePic: uri },\n// });\n// })\n// .catch(error => {\n// console.log(error.response.data);\n// dispatch({ type: SAVE_PROFILE_PIC_FAIL });\n// });\n// }\n// };\n// };\n\n// export const updateUser = (input, callback) => {\n// return async dispatch => {\n// console.log('update User Action hit');\n// dispatch({\n// type: USER_UPDATED,\n// payload: input,\n// });\n// };\n// };\n\nexport const softUpdateUser = (input) => {\n\treturn {\n\t\ttype: UPDATE_USER_STATE,\n\t\tpayload: input,\n\t};\n};\n\nexport const updateNavRead = (input) => {\n\treturn async (dispatch) => {\n\t\tsetTimeout(() => {\n\t\t\tdispatch({\n\t\t\t\ttype: UPDATE_USER_STATE,\n\t\t\t\tpayload: { openedNotifs: input },\n\t\t\t});\n\t\t}, 500);\n\t};\n};\n\n/* \nUpdate user data without triggering uploadingProfile or uploadingProfilePic\n*/\n// export const silentUpdateUser = (input, immediate) => {\n// return async dispatch => {\n// if (immediate) {\n// dispatch({\n// type: UPDATE_USER_STATE,\n// payload: input,\n// });\n// }\n// userActions\n// .updateProfile(input)\n// .then(res => {\n// if (res.data.userCreationFail) {\n// console.log('user update failed', res.data.message);\n// dispatch({\n// type: UPDATE_USER_STATE_FAIL,\n// payload: res.data.message,\n// });\n// } else {\n// dispatch({\n// type: UPDATE_USER_STATE,\n// payload: input,\n// });\n// }\n// })\n// .catch(err => {\n// console.log('user update fail -- Silent Upate', err);\n// });\n// };\n// };\n\n// export const seenOnboarding = () => {\n// return async dispatch => {\n// dispatch({ type: ONBOARDING_UPDATE });\n// let userID = null;\n// let token = null;\n// if (userID) {\n// await axios({\n// method: 'post',\n// url: `${ROOT_URL}/updateProfile`,\n// data: {\n// userID,\n// details: {\n// onBoardingSeen: true,\n// },\n// },\n// headers: {\n// authorization: `Bearer ${token}`,\n// },\n// })\n// .then(() => {})\n// .catch(() => {\n// console.log('onBoarding update fail');\n// });\n// }\n// };\n// };\n\n/* \n Will combine this eventually with above function\n*/\n// export const seenHomeOnboarding = () => {\n// return async dispatch => {\n// dispatch({ type: HOME_ONBOARDING_UPDATE });\n// let userID = null;\n// let token = null;\n// if (userID) {\n// await axios({\n// method: 'post',\n// url: `${ROOT_URL}/updateProfile`,\n// data: {\n// userID,\n// details: {\n// homeOnboardingSeen: true,\n// },\n// },\n// headers: {\n// authorization: `Bearer ${token}`,\n// },\n// })\n// .then(() => {})\n// .catch(() => {\n// console.log('onBoarding update fail');\n// });\n// }\n// };\n// };\n\n/* \nTriggered at app startup for saving user current home takeover. \n*/\n// export const updateUserStartupTakeover = async input => {\n// let userID = null;\n// let token = null;\n// if (userID) {\n// await axios({\n// method: 'post',\n// url: `${ROOT_URL}/updateProfile`,\n// data: {\n// userID,\n// details: input,\n// },\n// headers: {\n// authorization: `Bearer ${token}`,\n// },\n// })\n// .then(() => {})\n// .catch(() => {\n// console.log('startup takeover save fail -- Update User Startup Takeover');\n// });\n// }\n// };\n\n// export const registerStandaloneUser = takeover => {\n// return async dispatch => {\n// let userObj = null;\n// if (userObj && takeover) {\n// await axios({\n// method: 'post',\n// url: `${ROOT_URL}/registerStandaloneUser`,\n// data: {\n// userObj,\n// takeoverKey: takeover.Key,\n// },\n// headers: {\n// authorization: 'Gweg',\n// },\n// })\n// .then(() => {\n// dispatch({\n// type: UPDATE_USER_STATE,\n// payload: { standaloneRegistered: true },\n// });\n// })\n// .catch(() => {\n// console.log('register standalone user -- fail');\n// });\n// } else {\n// console.log('Failed to detect user for takeover registration');\n// }\n// };\n// };\n"],"mappings":"AAAA;AACA;AACC;AACA;AACA;AACA;AACA;AACAA;AACA;AAAA,OACM,SAAS;AAChB;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,OAAO,MAAMC,cAAc,GAAIC,KAAK,IAAK;EACxC,OAAO;IACNC,IAAI,EAAEH,iBAAiB;IACvBI,OAAO,EAAEF;EACV,CAAC;AACF,CAAC;AAED,OAAO,MAAMG,aAAa,GAAIH,KAAK,IAAK;EACvC,OAAO,MAAOI,QAAQ,IAAK;IAC1BC,UAAU,CAAC,MAAM;MAChBD,QAAQ,CAAC;QACRH,IAAI,EAAEH,iBAAiB;QACvBI,OAAO,EAAE;UAAEI,YAAY,EAAEN;QAAM;MAChC,CAAC,CAAC;IACH,CAAC,EAAE,GAAG,CAAC;EACR,CAAC;AACF,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA","ignoreList":[]}
@@ -1,14 +0,0 @@
1
- import { BLOCK_USER, UNBLOCK_USER } from "./types";
2
- export const blockUser = userId => {
3
- return {
4
- type: BLOCK_USER,
5
- payload: userId
6
- };
7
- };
8
- export const unblockUser = userId => {
9
- return {
10
- type: UNBLOCK_USER,
11
- payload: userId
12
- };
13
- };
14
- //# sourceMappingURL=UserSettingsActions.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["BLOCK_USER","UNBLOCK_USER","blockUser","userId","type","payload","unblockUser"],"sources":["UserSettingsActions.js"],"sourcesContent":["import { BLOCK_USER, UNBLOCK_USER } from \"./types\";\n\nexport const blockUser = (userId) => {\n\treturn {\n\t\ttype: BLOCK_USER,\n\t\tpayload: userId,\n\t};\n};\n\nexport const unblockUser = (userId) => {\n\treturn {\n\t\ttype: UNBLOCK_USER,\n\t\tpayload: userId,\n\t};\n};\n"],"mappings":"AAAA,SAASA,UAAU,EAAEC,YAAY,QAAQ,SAAS;AAElD,OAAO,MAAMC,SAAS,GAAIC,MAAM,IAAK;EACpC,OAAO;IACNC,IAAI,EAAEJ,UAAU;IAChBK,OAAO,EAAEF;EACV,CAAC;AACF,CAAC;AAED,OAAO,MAAMG,WAAW,GAAIH,MAAM,IAAK;EACtC,OAAO;IACNC,IAAI,EAAEH,YAAY;IAClBI,OAAO,EAAEF;EACV,CAAC;AACF,CAAC","ignoreList":[]}
@@ -1,6 +0,0 @@
1
- export * from "./MediaActions";
2
- export * from "./FollowerActions";
3
- export * from "./ResidentActions";
4
- export * from "./UserActions";
5
- export * from "./UserSettingsActions";
6
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":[],"sources":["index.js"],"sourcesContent":["export * from \"./MediaActions\";\nexport * from \"./FollowerActions\";\nexport * from \"./ResidentActions\";\nexport * from \"./UserActions\";\nexport * from \"./UserSettingsActions\";\n"],"mappings":"AAAA,cAAc,gBAAgB;AAC9B,cAAc,mBAAmB;AACjC,cAAc,mBAAmB;AACjC,cAAc,eAAe;AAC7B,cAAc,uBAAuB","ignoreList":[]}
@@ -1,17 +0,0 @@
1
- export const LOGOUT = "LOGOUT";
2
- export const CHANGE_ROLE = "CHANGE_ROLE";
3
- export const IMAGE_LIBRARY_LOADED = "IMAGE_LIBRARY_LOADED";
4
- export const STOCK_IMAGES_LOADED = "STOCK_IMAGES_LOADED";
5
- export const IMAGE_FOLDER_UPDATED = "IMAGE_FOLDER_UPDATED";
6
- export const SAVE_IMAGE_POSITION = "SAVE_IMAGE_POSITION";
7
- export const LOAD_FOLLOWERS = "LOAD_FOLLOWERS";
8
- export const ADD_FOLLOWER = "ADD_FOLLOWER";
9
- export const REMOVE_FOLLOWER = "REMOVE_FOLLOWER";
10
- export const UPDATE_RESIDENTS = "UPDATE_RESIDENTS";
11
- export const LOADED_RESIDENTS = "LOADED_RESIDENTS";
12
- export const LOADED_LINKED_USERS = "LOADED_LINKED_USERS";
13
- export const LOADED_LINKED_TO_USERS = "LOADED_LINKED_TO_USERS";
14
- export const UPDATE_USER_STATE = "UPDATE_USER_STATE";
15
- export const BLOCK_USER = "BLOCK_USER";
16
- export const UNBLOCK_USER = "UNBLOCK_USER";
17
- //# sourceMappingURL=types.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["LOGOUT","CHANGE_ROLE","IMAGE_LIBRARY_LOADED","STOCK_IMAGES_LOADED","IMAGE_FOLDER_UPDATED","SAVE_IMAGE_POSITION","LOAD_FOLLOWERS","ADD_FOLLOWER","REMOVE_FOLLOWER","UPDATE_RESIDENTS","LOADED_RESIDENTS","LOADED_LINKED_USERS","LOADED_LINKED_TO_USERS","UPDATE_USER_STATE","BLOCK_USER","UNBLOCK_USER"],"sources":["types.js"],"sourcesContent":["export const LOGOUT = \"LOGOUT\";\nexport const CHANGE_ROLE = \"CHANGE_ROLE\";\nexport const IMAGE_LIBRARY_LOADED = \"IMAGE_LIBRARY_LOADED\";\nexport const STOCK_IMAGES_LOADED = \"STOCK_IMAGES_LOADED\";\nexport const IMAGE_FOLDER_UPDATED = \"IMAGE_FOLDER_UPDATED\";\nexport const SAVE_IMAGE_POSITION = \"SAVE_IMAGE_POSITION\";\nexport const LOAD_FOLLOWERS = \"LOAD_FOLLOWERS\";\nexport const ADD_FOLLOWER = \"ADD_FOLLOWER\";\nexport const REMOVE_FOLLOWER = \"REMOVE_FOLLOWER\";\nexport const UPDATE_RESIDENTS = \"UPDATE_RESIDENTS\";\nexport const LOADED_RESIDENTS = \"LOADED_RESIDENTS\";\nexport const LOADED_LINKED_USERS = \"LOADED_LINKED_USERS\";\nexport const LOADED_LINKED_TO_USERS = \"LOADED_LINKED_TO_USERS\";\nexport const UPDATE_USER_STATE = \"UPDATE_USER_STATE\";\nexport const BLOCK_USER = \"BLOCK_USER\";\nexport const UNBLOCK_USER = \"UNBLOCK_USER\";\n"],"mappings":"AAAA,OAAO,MAAMA,MAAM,GAAG,QAAQ;AAC9B,OAAO,MAAMC,WAAW,GAAG,aAAa;AACxC,OAAO,MAAMC,oBAAoB,GAAG,sBAAsB;AAC1D,OAAO,MAAMC,mBAAmB,GAAG,qBAAqB;AACxD,OAAO,MAAMC,oBAAoB,GAAG,sBAAsB;AAC1D,OAAO,MAAMC,mBAAmB,GAAG,qBAAqB;AACxD,OAAO,MAAMC,cAAc,GAAG,gBAAgB;AAC9C,OAAO,MAAMC,YAAY,GAAG,cAAc;AAC1C,OAAO,MAAMC,eAAe,GAAG,iBAAiB;AAChD,OAAO,MAAMC,gBAAgB,GAAG,kBAAkB;AAClD,OAAO,MAAMC,gBAAgB,GAAG,kBAAkB;AAClD,OAAO,MAAMC,mBAAmB,GAAG,qBAAqB;AACxD,OAAO,MAAMC,sBAAsB,GAAG,wBAAwB;AAC9D,OAAO,MAAMC,iBAAiB,GAAG,mBAAmB;AACpD,OAAO,MAAMC,UAAU,GAAG,YAAY;AACtC,OAAO,MAAMC,YAAY,GAAG,cAAc","ignoreList":[]}
@@ -1,20 +0,0 @@
1
- import { getUrl } from "../helper";
2
- import { authedFunction } from "../session";
3
- export const analyticsActions = {
4
- log: (site, actionType, entityType, entityId, data) => {
5
- return authedFunction({
6
- method: "POST",
7
- url: getUrl("analytics", "log"),
8
- data: {
9
- site,
10
- actionType,
11
- entityType,
12
- entityId,
13
- data
14
- }
15
- }).catch(error => {
16
- console.log("log error", error);
17
- });
18
- }
19
- };
20
- //# sourceMappingURL=analyticsActions.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["getUrl","authedFunction","analyticsActions","log","site","actionType","entityType","entityId","data","method","url","catch","error","console"],"sources":["analyticsActions.js"],"sourcesContent":["import { getUrl } from \"../helper\";\nimport { authedFunction } from \"../session\";\n\nexport const analyticsActions = {\n\tlog: (site, actionType, entityType, entityId, data) => {\n\t\treturn authedFunction({\n\t\t\tmethod: \"POST\",\n\t\t\turl: getUrl(\"analytics\", \"log\"),\n\t\t\tdata: {\n\t\t\t\tsite,\n\t\t\t\tactionType,\n\t\t\t\tentityType,\n\t\t\t\tentityId,\n\t\t\t\tdata,\n\t\t\t},\n\t\t}).catch((error) => {\n\t\t\tconsole.log(\"log error\", error);\n\t\t});\n\t},\n};\n"],"mappings":"AAAA,SAASA,MAAM,QAAQ,WAAW;AAClC,SAASC,cAAc,QAAQ,YAAY;AAE3C,OAAO,MAAMC,gBAAgB,GAAG;EAC/BC,GAAG,EAAEA,CAACC,IAAI,EAAEC,UAAU,EAAEC,UAAU,EAAEC,QAAQ,EAAEC,IAAI,KAAK;IACtD,OAAOP,cAAc,CAAC;MACrBQ,MAAM,EAAE,MAAM;MACdC,GAAG,EAAEV,MAAM,CAAC,WAAW,EAAE,KAAK,CAAC;MAC/BQ,IAAI,EAAE;QACLJ,IAAI;QACJC,UAAU;QACVC,UAAU;QACVC,QAAQ;QACRC;MACD;IACD,CAAC,CAAC,CAACG,KAAK,CAAEC,KAAK,IAAK;MACnBC,OAAO,CAACV,GAAG,CAAC,WAAW,EAAES,KAAK,CAAC;IAChC,CAAC,CAAC;EACH;AACD,CAAC","ignoreList":[]}
@@ -1,27 +0,0 @@
1
- import { getUrl } from "../helper";
2
- import { authedFunction } from "../session";
3
- export const contactActions = {
4
- getSiteResidents: async site => {
5
- return authedFunction({
6
- method: "POST",
7
- url: getUrl("users", "getexp"),
8
- data: {
9
- site
10
- }
11
- });
12
- },
13
- getSingleExpoResidents: async id => {
14
- return authedFunction({
15
- method: "POST",
16
- url: getUrl("users", "getexpsingle"),
17
- data: {
18
- id
19
- }
20
- });
21
- },
22
- syncContacts: async (userKey, contacts) => {
23
- // deprecated
24
- return null;
25
- }
26
- };
27
- //# sourceMappingURL=contactActions.js.map