react-native-stallion 2.5.0-alpha.2 → 2.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (251) hide show
  1. package/android/src/main/java/com/stallion/networkmanager/StallionApiConstants.java +4 -0
  2. package/android/src/main/java/com/stallion/networkmanager/StallionApiManager.java +2 -0
  3. package/android/src/main/java/com/stallion/networkmanager/StallionFileDownloader.java +8 -2
  4. package/android/src/main/java/com/stallion/networkmanager/StallionPatchHandler.java +4 -1
  5. package/android/src/main/java/com/stallion/networkmanager/StallionStageManager.java +7 -2
  6. package/android/src/main/java/com/stallion/networkmanager/StallionSyncHandler.java +14 -9
  7. package/android/src/main/java/com/stallion/storage/StallionConfig.java +2 -10
  8. package/android/src/main/java/com/stallion/utils/StallionSlotManager.java +1 -0
  9. package/ios/main/StallionConfig.m +2 -6
  10. package/ios/main/StallionConstants.swift +4 -0
  11. package/ios/main/StallionFileDownloader.swift +7 -3
  12. package/ios/main/StallionPatchHandler.swift +4 -1
  13. package/ios/main/StallionSlotManager.m +5 -4
  14. package/ios/main/StallionStageManager.swift +10 -4
  15. package/ios/main/StallionSyncHandler.swift +9 -2
  16. package/package.json +2 -2
  17. package/src/index.js +2 -0
  18. package/src/index.js.map +1 -1
  19. package/src/main/components/StallionDevMenu.js +69 -0
  20. package/src/main/components/StallionDevMenu.js.map +1 -0
  21. package/src/main/components/common/BackButton/index.js +19 -42
  22. package/src/main/components/common/BackButton/index.js.map +1 -1
  23. package/src/main/components/common/Chevron/index.js +64 -0
  24. package/src/main/components/common/Chevron/index.js.map +1 -0
  25. package/src/main/components/common/CrossButton/index.js +18 -11
  26. package/src/main/components/common/CrossButton/index.js.map +1 -1
  27. package/src/main/components/common/Header/index.js +3 -15
  28. package/src/main/components/common/Header/index.js.map +1 -1
  29. package/src/main/components/common/Header/styles.js +0 -22
  30. package/src/main/components/common/Header/styles.js.map +1 -1
  31. package/src/main/components/modules/devMenu/components/ActionButton.js +45 -0
  32. package/src/main/components/modules/devMenu/components/ActionButton.js.map +1 -0
  33. package/src/main/components/modules/devMenu/components/AppHeader.js +17 -0
  34. package/src/main/components/modules/devMenu/components/AppHeader.js.map +1 -0
  35. package/src/main/components/modules/devMenu/components/BucketRow.js +34 -0
  36. package/src/main/components/modules/devMenu/components/BucketRow.js.map +1 -0
  37. package/src/main/components/modules/devMenu/components/BundleHistoryCard.js +92 -0
  38. package/src/main/components/modules/devMenu/components/BundleHistoryCard.js.map +1 -0
  39. package/src/main/components/modules/devMenu/components/Chip.js +16 -0
  40. package/src/main/components/modules/devMenu/components/Chip.js.map +1 -0
  41. package/src/main/components/modules/devMenu/components/DetailHeader.js +32 -0
  42. package/src/main/components/modules/devMenu/components/DetailHeader.js.map +1 -0
  43. package/src/main/components/modules/devMenu/components/DeviceCard.js +31 -0
  44. package/src/main/components/modules/devMenu/components/DeviceCard.js.map +1 -0
  45. package/src/main/components/modules/devMenu/components/ErrorBanner.js +17 -0
  46. package/src/main/components/modules/devMenu/components/ErrorBanner.js.map +1 -0
  47. package/src/main/components/modules/devMenu/components/ModeToggle.js +54 -0
  48. package/src/main/components/modules/devMenu/components/ModeToggle.js.map +1 -0
  49. package/src/main/components/modules/devMenu/components/ProdBundleCard.js +47 -0
  50. package/src/main/components/modules/devMenu/components/ProdBundleCard.js.map +1 -0
  51. package/src/main/components/modules/devMenu/components/ReleaseNote.js +44 -0
  52. package/src/main/components/modules/devMenu/components/ReleaseNote.js.map +1 -0
  53. package/src/main/components/modules/devMenu/components/SectionLabel.js +13 -0
  54. package/src/main/components/modules/devMenu/components/SectionLabel.js.map +1 -0
  55. package/src/main/components/modules/devMenu/components/StateCard.js +30 -0
  56. package/src/main/components/modules/devMenu/components/StateCard.js.map +1 -0
  57. package/src/main/components/modules/devMenu/components/Wordmark.js +35 -0
  58. package/src/main/components/modules/devMenu/components/Wordmark.js.map +1 -0
  59. package/src/main/components/modules/devMenu/components/styles/index.js +403 -0
  60. package/src/main/components/modules/devMenu/components/styles/index.js.map +1 -0
  61. package/src/main/components/modules/devMenu/index.js +47 -0
  62. package/src/main/components/modules/devMenu/index.js.map +1 -0
  63. package/src/main/components/modules/devMenu/screens/BundleHistory.js +142 -0
  64. package/src/main/components/modules/devMenu/screens/BundleHistory.js.map +1 -0
  65. package/src/main/components/modules/devMenu/screens/Production.js +65 -0
  66. package/src/main/components/modules/devMenu/screens/Production.js.map +1 -0
  67. package/src/main/components/modules/devMenu/screens/TestingBuckets.js +81 -0
  68. package/src/main/components/modules/devMenu/screens/TestingBuckets.js.map +1 -0
  69. package/src/main/components/modules/devMenu/styles.js +50 -0
  70. package/src/main/components/modules/devMenu/styles.js.map +1 -0
  71. package/src/main/components/modules/modal/StallionModal.js +15 -51
  72. package/src/main/components/modules/modal/StallionModal.js.map +1 -1
  73. package/src/main/components/modules/modal/hooks/useStallionModal.js +21 -19
  74. package/src/main/components/modules/modal/hooks/useStallionModal.js.map +1 -1
  75. package/src/main/constants/appConstants.js +56 -53
  76. package/src/main/constants/appConstants.js.map +1 -1
  77. package/src/main/constants/colors.js +1 -10
  78. package/src/main/constants/colors.js.map +1 -1
  79. package/src/main/constants/designTokens.js +80 -0
  80. package/src/main/constants/designTokens.js.map +1 -0
  81. package/src/main/index.js +3 -1
  82. package/src/main/index.js.map +1 -1
  83. package/src/main/state/useStallionEvents.js.map +1 -1
  84. package/src/main/utils/useStallionConfig.js +14 -0
  85. package/src/main/utils/useStallionConfig.js.map +1 -0
  86. package/src/types/bundle.types.js +7 -0
  87. package/src/types/bundle.types.js.map +1 -1
  88. package/types/index.d.ts +2 -0
  89. package/types/index.d.ts.map +1 -1
  90. package/types/main/components/StallionDevMenu.d.ts +5 -0
  91. package/types/main/components/StallionDevMenu.d.ts.map +1 -0
  92. package/types/main/components/common/BackButton/index.d.ts +4 -3
  93. package/types/main/components/common/BackButton/index.d.ts.map +1 -1
  94. package/types/main/components/common/Chevron/index.d.ts +11 -0
  95. package/types/main/components/common/Chevron/index.d.ts.map +1 -0
  96. package/types/main/components/common/CrossButton/index.d.ts +4 -3
  97. package/types/main/components/common/CrossButton/index.d.ts.map +1 -1
  98. package/types/main/components/common/Header/index.d.ts +0 -2
  99. package/types/main/components/common/Header/index.d.ts.map +1 -1
  100. package/types/main/components/common/Header/styles.d.ts +0 -21
  101. package/types/main/components/common/Header/styles.d.ts.map +1 -1
  102. package/types/main/components/modules/devMenu/components/ActionButton.d.ts +19 -0
  103. package/types/main/components/modules/devMenu/components/ActionButton.d.ts.map +1 -0
  104. package/types/main/components/modules/devMenu/components/AppHeader.d.ts +7 -0
  105. package/types/main/components/modules/devMenu/components/AppHeader.d.ts.map +1 -0
  106. package/types/main/components/modules/devMenu/components/BucketRow.d.ts +11 -0
  107. package/types/main/components/modules/devMenu/components/BucketRow.d.ts.map +1 -0
  108. package/types/main/components/modules/devMenu/components/BundleHistoryCard.d.ts +22 -0
  109. package/types/main/components/modules/devMenu/components/BundleHistoryCard.d.ts.map +1 -0
  110. package/types/main/components/modules/devMenu/components/Chip.d.ts +9 -0
  111. package/types/main/components/modules/devMenu/components/Chip.d.ts.map +1 -0
  112. package/types/main/components/modules/devMenu/components/DetailHeader.d.ts +10 -0
  113. package/types/main/components/modules/devMenu/components/DetailHeader.d.ts.map +1 -0
  114. package/types/main/components/modules/devMenu/components/DeviceCard.d.ts +8 -0
  115. package/types/main/components/modules/devMenu/components/DeviceCard.d.ts.map +1 -0
  116. package/types/main/components/modules/devMenu/components/ErrorBanner.d.ts +6 -0
  117. package/types/main/components/modules/devMenu/components/ErrorBanner.d.ts.map +1 -0
  118. package/types/main/components/modules/devMenu/components/ModeToggle.d.ts +8 -0
  119. package/types/main/components/modules/devMenu/components/ModeToggle.d.ts.map +1 -0
  120. package/types/main/components/modules/devMenu/components/ProdBundleCard.d.ts +13 -0
  121. package/types/main/components/modules/devMenu/components/ProdBundleCard.d.ts.map +1 -0
  122. package/types/main/components/modules/devMenu/components/ReleaseNote.d.ts +11 -0
  123. package/types/main/components/modules/devMenu/components/ReleaseNote.d.ts.map +1 -0
  124. package/types/main/components/modules/devMenu/components/SectionLabel.d.ts +6 -0
  125. package/types/main/components/modules/devMenu/components/SectionLabel.d.ts.map +1 -0
  126. package/types/main/components/modules/devMenu/components/StateCard.d.ts +9 -0
  127. package/types/main/components/modules/devMenu/components/StateCard.d.ts.map +1 -0
  128. package/types/main/components/modules/{listing/index.d.ts → devMenu/components/Wordmark.d.ts} +1 -1
  129. package/types/main/components/modules/devMenu/components/Wordmark.d.ts.map +1 -0
  130. package/types/main/components/modules/devMenu/components/styles/index.d.ts +353 -0
  131. package/types/main/components/modules/devMenu/components/styles/index.d.ts.map +1 -0
  132. package/types/main/components/modules/devMenu/index.d.ts +14 -0
  133. package/types/main/components/modules/devMenu/index.d.ts.map +1 -0
  134. package/types/main/components/modules/devMenu/screens/BundleHistory.d.ts +4 -0
  135. package/types/main/components/modules/devMenu/screens/BundleHistory.d.ts.map +1 -0
  136. package/types/main/components/modules/devMenu/screens/Production.d.ts +4 -0
  137. package/types/main/components/modules/devMenu/screens/Production.d.ts.map +1 -0
  138. package/types/main/components/modules/devMenu/screens/TestingBuckets.d.ts +4 -0
  139. package/types/main/components/modules/devMenu/screens/TestingBuckets.d.ts.map +1 -0
  140. package/types/main/components/modules/devMenu/styles.d.ts +46 -0
  141. package/types/main/components/modules/devMenu/styles.d.ts.map +1 -0
  142. package/types/main/components/modules/modal/StallionModal.d.ts.map +1 -1
  143. package/types/main/components/modules/modal/hooks/useStallionModal.d.ts +5 -6
  144. package/types/main/components/modules/modal/hooks/useStallionModal.d.ts.map +1 -1
  145. package/types/main/constants/appConstants.d.ts +46 -48
  146. package/types/main/constants/appConstants.d.ts.map +1 -1
  147. package/types/main/constants/colors.d.ts +0 -9
  148. package/types/main/constants/colors.d.ts.map +1 -1
  149. package/types/main/constants/designTokens.d.ts +73 -0
  150. package/types/main/constants/designTokens.d.ts.map +1 -0
  151. package/types/main/index.d.ts +1 -0
  152. package/types/main/index.d.ts.map +1 -1
  153. package/types/main/state/useStallionEvents.d.ts +2 -0
  154. package/types/main/state/useStallionEvents.d.ts.map +1 -1
  155. package/types/main/utils/useStallionConfig.d.ts +5 -0
  156. package/types/main/utils/useStallionConfig.d.ts.map +1 -0
  157. package/types/types/bundle.types.d.ts +7 -0
  158. package/types/types/bundle.types.d.ts.map +1 -1
  159. package/types/types/utils.types.d.ts +3 -0
  160. package/types/types/utils.types.d.ts.map +1 -1
  161. package/src/main/components/common/ErrorView/index.js +0 -24
  162. package/src/main/components/common/ErrorView/index.js.map +0 -1
  163. package/src/main/components/common/ErrorView/styles.js +0 -30
  164. package/src/main/components/common/ErrorView/styles.js.map +0 -1
  165. package/src/main/components/common/Footer/index.js +0 -50
  166. package/src/main/components/common/Footer/index.js.map +0 -1
  167. package/src/main/components/common/Footer/styles.js +0 -91
  168. package/src/main/components/common/Footer/styles.js.map +0 -1
  169. package/src/main/components/common/FooterLoader/index.js +0 -11
  170. package/src/main/components/common/FooterLoader/index.js.map +0 -1
  171. package/src/main/components/common/FooterLoader/styles.js +0 -12
  172. package/src/main/components/common/FooterLoader/styles.js.map +0 -1
  173. package/src/main/components/common/OverlayLoader/index.js +0 -26
  174. package/src/main/components/common/OverlayLoader/index.js.map +0 -1
  175. package/src/main/components/common/OverlayLoader/styles.js +0 -33
  176. package/src/main/components/common/OverlayLoader/styles.js.map +0 -1
  177. package/src/main/components/modules/listing/components/BucketCard.js +0 -33
  178. package/src/main/components/modules/listing/components/BucketCard.js.map +0 -1
  179. package/src/main/components/modules/listing/components/BucketCardInfoSection.js +0 -56
  180. package/src/main/components/modules/listing/components/BucketCardInfoSection.js.map +0 -1
  181. package/src/main/components/modules/listing/components/BundleCard.js +0 -42
  182. package/src/main/components/modules/listing/components/BundleCard.js.map +0 -1
  183. package/src/main/components/modules/listing/components/BundleCardInfoSection.js +0 -82
  184. package/src/main/components/modules/listing/components/BundleCardInfoSection.js.map +0 -1
  185. package/src/main/components/modules/listing/components/CardDescriptionContent.js +0 -36
  186. package/src/main/components/modules/listing/components/CardDescriptionContent.js.map +0 -1
  187. package/src/main/components/modules/listing/components/ConfigView.js +0 -29
  188. package/src/main/components/modules/listing/components/ConfigView.js.map +0 -1
  189. package/src/main/components/modules/listing/components/MetaCard.js +0 -39
  190. package/src/main/components/modules/listing/components/MetaCard.js.map +0 -1
  191. package/src/main/components/modules/listing/components/SlotView.js +0 -80
  192. package/src/main/components/modules/listing/components/SlotView.js.map +0 -1
  193. package/src/main/components/modules/listing/components/styles/index.js +0 -121
  194. package/src/main/components/modules/listing/components/styles/index.js.map +0 -1
  195. package/src/main/components/modules/listing/hooks/useListing.js +0 -84
  196. package/src/main/components/modules/listing/hooks/useListing.js.map +0 -1
  197. package/src/main/components/modules/listing/index.js +0 -75
  198. package/src/main/components/modules/listing/index.js.map +0 -1
  199. package/src/main/components/modules/listing/styles.js +0 -24
  200. package/src/main/components/modules/listing/styles.js.map +0 -1
  201. package/src/main/components/modules/prod/index.js +0 -3
  202. package/src/main/components/modules/prod/index.js.map +0 -1
  203. package/src/main/components/modules/prod/prod.js +0 -30
  204. package/src/main/components/modules/prod/prod.js.map +0 -1
  205. package/src/main/components/modules/prod/styles/index.js +0 -29
  206. package/src/main/components/modules/prod/styles/index.js.map +0 -1
  207. package/types/main/components/common/ErrorView/index.d.ts +0 -8
  208. package/types/main/components/common/ErrorView/index.d.ts.map +0 -1
  209. package/types/main/components/common/ErrorView/styles.d.ts +0 -27
  210. package/types/main/components/common/ErrorView/styles.d.ts.map +0 -1
  211. package/types/main/components/common/Footer/index.d.ts +0 -10
  212. package/types/main/components/common/Footer/index.d.ts.map +0 -1
  213. package/types/main/components/common/Footer/styles.d.ts +0 -88
  214. package/types/main/components/common/Footer/styles.d.ts.map +0 -1
  215. package/types/main/components/common/FooterLoader/index.d.ts +0 -4
  216. package/types/main/components/common/FooterLoader/index.d.ts.map +0 -1
  217. package/types/main/components/common/FooterLoader/styles.d.ts +0 -10
  218. package/types/main/components/common/FooterLoader/styles.d.ts.map +0 -1
  219. package/types/main/components/common/OverlayLoader/index.d.ts +0 -7
  220. package/types/main/components/common/OverlayLoader/index.d.ts.map +0 -1
  221. package/types/main/components/common/OverlayLoader/styles.d.ts +0 -30
  222. package/types/main/components/common/OverlayLoader/styles.d.ts.map +0 -1
  223. package/types/main/components/modules/listing/components/BucketCard.d.ts +0 -13
  224. package/types/main/components/modules/listing/components/BucketCard.d.ts.map +0 -1
  225. package/types/main/components/modules/listing/components/BucketCardInfoSection.d.ts +0 -11
  226. package/types/main/components/modules/listing/components/BucketCardInfoSection.d.ts.map +0 -1
  227. package/types/main/components/modules/listing/components/BundleCard.d.ts +0 -15
  228. package/types/main/components/modules/listing/components/BundleCard.d.ts.map +0 -1
  229. package/types/main/components/modules/listing/components/BundleCardInfoSection.d.ts +0 -15
  230. package/types/main/components/modules/listing/components/BundleCardInfoSection.d.ts.map +0 -1
  231. package/types/main/components/modules/listing/components/CardDescriptionContent.d.ts +0 -8
  232. package/types/main/components/modules/listing/components/CardDescriptionContent.d.ts.map +0 -1
  233. package/types/main/components/modules/listing/components/ConfigView.d.ts +0 -8
  234. package/types/main/components/modules/listing/components/ConfigView.d.ts.map +0 -1
  235. package/types/main/components/modules/listing/components/MetaCard.d.ts +0 -8
  236. package/types/main/components/modules/listing/components/MetaCard.d.ts.map +0 -1
  237. package/types/main/components/modules/listing/components/SlotView.d.ts +0 -5
  238. package/types/main/components/modules/listing/components/SlotView.d.ts.map +0 -1
  239. package/types/main/components/modules/listing/components/styles/index.d.ts +0 -118
  240. package/types/main/components/modules/listing/components/styles/index.d.ts.map +0 -1
  241. package/types/main/components/modules/listing/hooks/useListing.d.ts +0 -15
  242. package/types/main/components/modules/listing/hooks/useListing.d.ts.map +0 -1
  243. package/types/main/components/modules/listing/index.d.ts.map +0 -1
  244. package/types/main/components/modules/listing/styles.d.ts +0 -21
  245. package/types/main/components/modules/listing/styles.d.ts.map +0 -1
  246. package/types/main/components/modules/prod/index.d.ts +0 -3
  247. package/types/main/components/modules/prod/index.d.ts.map +0 -1
  248. package/types/main/components/modules/prod/prod.d.ts +0 -4
  249. package/types/main/components/modules/prod/prod.d.ts.map +0 -1
  250. package/types/main/components/modules/prod/styles/index.d.ts +0 -25
  251. package/types/main/components/modules/prod/styles/index.d.ts.map +0 -1
@@ -1,26 +0,0 @@
1
- import React, { memo } from 'react';
2
- import { View, Text, ActivityIndicator } from 'react-native';
3
- import { COLORS } from '../../../constants/colors';
4
- import { DOWNLOADING_TEXT } from '../../../constants/appConstants';
5
- import styles from './styles';
6
- const OverlayLoader = _ref => {
7
- let {
8
- currentDownloadFraction
9
- } = _ref;
10
- return /*#__PURE__*/React.createElement(View, {
11
- style: styles.loaderContainer
12
- }, currentDownloadFraction > 0 ? /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(Text, {
13
- style: styles.downloadingText
14
- }, DOWNLOADING_TEXT), /*#__PURE__*/React.createElement(View, {
15
- style: styles.progressOuter
16
- }, /*#__PURE__*/React.createElement(View, {
17
- style: [styles.progressInner, {
18
- width: `${currentDownloadFraction * 100}%`
19
- }]
20
- }))) : /*#__PURE__*/React.createElement(ActivityIndicator, {
21
- color: COLORS.indigo,
22
- size: 'large'
23
- }));
24
- };
25
- export default /*#__PURE__*/memo(OverlayLoader);
26
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["React","memo","View","Text","ActivityIndicator","COLORS","DOWNLOADING_TEXT","styles","OverlayLoader","_ref","currentDownloadFraction","createElement","style","loaderContainer","Fragment","downloadingText","progressOuter","progressInner","width","color","indigo","size"],"sourceRoot":"../../../../../../src","sources":["main/components/common/OverlayLoader/index.tsx"],"mappings":"AAAA,OAAOA,KAAK,IAAIC,IAAI,QAAQ,OAAO;AACnC,SAASC,IAAI,EAAEC,IAAI,EAAEC,iBAAiB,QAAQ,cAAc;AAE5D,SAASC,MAAM,QAAQ,2BAA2B;AAClD,SAASC,gBAAgB,QAAQ,iCAAiC;AAElE,OAAOC,MAAM,MAAM,UAAU;AAM7B,MAAMC,aAAuC,GAAGC,IAAA,IAE1C;EAAA,IAF2C;IAC/CC;EACF,CAAC,GAAAD,IAAA;EACC,oBACET,KAAA,CAAAW,aAAA,CAACT,IAAI;IAACU,KAAK,EAAEL,MAAM,CAACM;EAAgB,GACjCH,uBAAuB,GAAG,CAAC,gBAC1BV,KAAA,CAAAW,aAAA,CAAAX,KAAA,CAAAc,QAAA,qBACEd,KAAA,CAAAW,aAAA,CAACR,IAAI;IAACS,KAAK,EAAEL,MAAM,CAACQ;EAAgB,GAAET,gBAAuB,CAAC,eAC9DN,KAAA,CAAAW,aAAA,CAACT,IAAI;IAACU,KAAK,EAAEL,MAAM,CAACS;EAAc,gBAChChB,KAAA,CAAAW,aAAA,CAACT,IAAI;IACHU,KAAK,EAAE,CACLL,MAAM,CAACU,aAAa,EACpB;MACEC,KAAK,EAAG,GAAER,uBAAuB,GAAG,GAAI;IAC1C,CAAC;EACD,CACH,CACG,CACN,CAAC,gBAEHV,KAAA,CAAAW,aAAA,CAACP,iBAAiB;IAACe,KAAK,EAAEd,MAAM,CAACe,MAAO;IAACC,IAAI,EAAE;EAAQ,CAAE,CAEvD,CAAC;AAEX,CAAC;AAED,4BAAepB,IAAI,CAACO,aAAa,CAAC"}
@@ -1,33 +0,0 @@
1
- import { StyleSheet } from 'react-native';
2
- import { STD_MARGIN } from '../../../constants/appConstants';
3
- import { COLORS } from '../../../constants/colors';
4
- const styles = StyleSheet.create({
5
- loaderContainer: {
6
- position: 'absolute',
7
- height: '100%',
8
- width: '100%',
9
- backgroundColor: COLORS.black5,
10
- justifyContent: 'center',
11
- alignItems: 'center'
12
- },
13
- progressOuter: {
14
- width: '80%',
15
- height: STD_MARGIN,
16
- borderRadius: STD_MARGIN / 2,
17
- backgroundColor: COLORS.black5,
18
- justifyContent: 'flex-start',
19
- flexDirection: 'row',
20
- margin: STD_MARGIN
21
- },
22
- progressInner: {
23
- height: STD_MARGIN,
24
- borderRadius: STD_MARGIN / 2,
25
- backgroundColor: COLORS.indigo
26
- },
27
- downloadingText: {
28
- color: COLORS.white,
29
- fontSize: STD_MARGIN * 2
30
- }
31
- });
32
- export default styles;
33
- //# sourceMappingURL=styles.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["StyleSheet","STD_MARGIN","COLORS","styles","create","loaderContainer","position","height","width","backgroundColor","black5","justifyContent","alignItems","progressOuter","borderRadius","flexDirection","margin","progressInner","indigo","downloadingText","color","white","fontSize"],"sourceRoot":"../../../../../../src","sources":["main/components/common/OverlayLoader/styles.ts"],"mappings":"AAAA,SAASA,UAAU,QAAQ,cAAc;AAEzC,SAASC,UAAU,QAAQ,iCAAiC;AAC5D,SAASC,MAAM,QAAQ,2BAA2B;AAElD,MAAMC,MAAM,GAAGH,UAAU,CAACI,MAAM,CAAC;EAC/BC,eAAe,EAAE;IACfC,QAAQ,EAAE,UAAU;IACpBC,MAAM,EAAE,MAAM;IACdC,KAAK,EAAE,MAAM;IACbC,eAAe,EAAEP,MAAM,CAACQ,MAAM;IAC9BC,cAAc,EAAE,QAAQ;IACxBC,UAAU,EAAE;EACd,CAAC;EACDC,aAAa,EAAE;IACbL,KAAK,EAAE,KAAK;IACZD,MAAM,EAAEN,UAAU;IAClBa,YAAY,EAAEb,UAAU,GAAG,CAAC;IAC5BQ,eAAe,EAAEP,MAAM,CAACQ,MAAM;IAC9BC,cAAc,EAAE,YAAY;IAC5BI,aAAa,EAAE,KAAK;IACpBC,MAAM,EAAEf;EACV,CAAC;EACDgB,aAAa,EAAE;IACbV,MAAM,EAAEN,UAAU;IAClBa,YAAY,EAAEb,UAAU,GAAG,CAAC;IAC5BQ,eAAe,EAAEP,MAAM,CAACgB;EAC1B,CAAC;EACDC,eAAe,EAAE;IACfC,KAAK,EAAElB,MAAM,CAACmB,KAAK;IACnBC,QAAQ,EAAErB,UAAU,GAAG;EACzB;AACF,CAAC,CAAC;AAEF,eAAeE,MAAM"}
@@ -1,33 +0,0 @@
1
- import React, { memo, useContext, useMemo } from 'react';
2
- import { View, TouchableOpacity } from 'react-native';
3
- import { GlobalContext } from '../../../../state';
4
- import BucketCardInfoSection from './BucketCardInfoSection';
5
- import styles from './styles';
6
- import { SWITCH_STATES } from '../../../../../types/meta.types';
7
- const BucketCard = _ref => {
8
- let {
9
- name,
10
- updatedAt,
11
- bundleCount,
12
- handlePress
13
- } = _ref;
14
- const {
15
- metaState
16
- } = useContext(GlobalContext);
17
- const isApplied = useMemo(() => false, []);
18
- return /*#__PURE__*/React.createElement(TouchableOpacity, {
19
- style: styles.cardContainer,
20
- onPress: handlePress,
21
- activeOpacity: 0.5
22
- }, /*#__PURE__*/React.createElement(View, {
23
- style: styles.infoSection
24
- }, /*#__PURE__*/React.createElement(BucketCardInfoSection, {
25
- name: name,
26
- updatedAt: updatedAt,
27
- bundleCount: bundleCount === null || bundleCount === void 0 ? void 0 : bundleCount.toString(),
28
- isApplied: isApplied,
29
- switchState: (metaState === null || metaState === void 0 ? void 0 : metaState.switchState) === SWITCH_STATES.STAGE
30
- })));
31
- };
32
- export default /*#__PURE__*/memo(BucketCard);
33
- //# sourceMappingURL=BucketCard.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["React","memo","useContext","useMemo","View","TouchableOpacity","GlobalContext","BucketCardInfoSection","styles","SWITCH_STATES","BucketCard","_ref","name","updatedAt","bundleCount","handlePress","metaState","isApplied","createElement","style","cardContainer","onPress","activeOpacity","infoSection","toString","switchState","STAGE"],"sourceRoot":"../../../../../../../src","sources":["main/components/modules/listing/components/BucketCard.tsx"],"mappings":"AAAA,OAAOA,KAAK,IAAIC,IAAI,EAAEC,UAAU,EAAEC,OAAO,QAAQ,OAAO;AACxD,SAASC,IAAI,EAAEC,gBAAgB,QAAQ,cAAc;AAErD,SAASC,aAAa,QAAQ,mBAAmB;AACjD,OAAOC,qBAAqB,MAAM,yBAAyB;AAG3D,OAAOC,MAAM,MAAM,UAAU;AAC7B,SAASC,aAAa,QAAQ,iCAAiC;AAW/D,MAAMC,UAAiC,GAAGC,IAAA,IAKpC;EAAA,IALqC;IACzCC,IAAI;IACJC,SAAS;IACTC,WAAW;IACXC;EACF,CAAC,GAAAJ,IAAA;EACC,MAAM;IAAEK;EAAU,CAAC,GAAGd,UAAU,CAACI,aAAa,CAAC;EAC/C,MAAMW,SAAS,GAAGd,OAAO,CAAU,MAAM,KAAK,EAAE,EAAE,CAAC;EACnD,oBACEH,KAAA,CAAAkB,aAAA,CAACb,gBAAgB;IACfc,KAAK,EAAEX,MAAM,CAACY,aAAc;IAC5BC,OAAO,EAAEN,WAAY;IACrBO,aAAa,EAAE;EAAI,gBAEnBtB,KAAA,CAAAkB,aAAA,CAACd,IAAI;IAACe,KAAK,EAAEX,MAAM,CAACe;EAAY,gBAC9BvB,KAAA,CAAAkB,aAAA,CAACX,qBAAqB;IACpBK,IAAI,EAAEA,IAAK;IACXC,SAAS,EAAEA,SAAU;IACrBC,WAAW,EAAEA,WAAW,aAAXA,WAAW,uBAAXA,WAAW,CAAEU,QAAQ,CAAC,CAAE;IACrCP,SAAS,EAAEA,SAAU;IACrBQ,WAAW,EAAE,CAAAT,SAAS,aAATA,SAAS,uBAATA,SAAS,CAAES,WAAW,MAAKhB,aAAa,CAACiB;EAAM,CAC7D,CACG,CACU,CAAC;AAEvB,CAAC;AAED,4BAAezB,IAAI,CAACS,UAAU,CAAC"}
@@ -1,56 +0,0 @@
1
- import React, { useMemo } from 'react';
2
- import { Text, View } from 'react-native';
3
- import CardDescriptionContent from './CardDescriptionContent';
4
- import { parseDateTime } from '../../../../utils/dateUtil';
5
- import { COLORS } from '../../../../constants/colors';
6
- import { BUCKET_CARD_TEXTS, NOT_APPLICABLE_TEXT, VERSION_PREFIX } from '../../../../constants/appConstants';
7
- import styles from './styles';
8
- const BucketCardInfoSection = _ref => {
9
- let {
10
- name,
11
- updatedAt,
12
- bundleCount,
13
- isApplied,
14
- switchState
15
- } = _ref;
16
- const renderStateText = useMemo(() => {
17
- if (isApplied && !switchState) return {
18
- text: BUCKET_CARD_TEXTS.DOWNLOADED,
19
- color: COLORS.orange
20
- };
21
- if (isApplied && switchState) return {
22
- text: BUCKET_CARD_TEXTS.APPLIED,
23
- color: COLORS.green
24
- };
25
- return null;
26
- }, [isApplied, switchState]);
27
- const updatedAtText = useMemo(() => {
28
- return parseDateTime(updatedAt);
29
- }, [updatedAt]);
30
- return /*#__PURE__*/React.createElement(View, {
31
- style: styles.container
32
- }, /*#__PURE__*/React.createElement(View, {
33
- style: styles.rowContainer
34
- }, /*#__PURE__*/React.createElement(Text, {
35
- style: [styles.titleText, styles.bold]
36
- }, name), /*#__PURE__*/React.createElement(Text, {
37
- style: [styles.appliedText, {
38
- color: renderStateText === null || renderStateText === void 0 ? void 0 : renderStateText.color
39
- }]
40
- }, renderStateText === null || renderStateText === void 0 ? void 0 : renderStateText.text)), /*#__PURE__*/React.createElement(View, {
41
- style: styles.divider
42
- }), /*#__PURE__*/React.createElement(View, {
43
- style: styles.rowContainer
44
- }, /*#__PURE__*/React.createElement(CardDescriptionContent, {
45
- title: BUCKET_CARD_TEXTS.VERSION,
46
- subtitle: bundleCount && +bundleCount ? `${VERSION_PREFIX}${bundleCount}` : NOT_APPLICABLE_TEXT
47
- }), /*#__PURE__*/React.createElement(CardDescriptionContent, {
48
- title: BUCKET_CARD_TEXTS.BUNDLES,
49
- subtitle: bundleCount && +bundleCount ? bundleCount : 0
50
- }), /*#__PURE__*/React.createElement(CardDescriptionContent, {
51
- title: BUCKET_CARD_TEXTS.UPDATED,
52
- subtitle: updatedAtText
53
- })));
54
- };
55
- export default BucketCardInfoSection;
56
- //# sourceMappingURL=BucketCardInfoSection.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["React","useMemo","Text","View","CardDescriptionContent","parseDateTime","COLORS","BUCKET_CARD_TEXTS","NOT_APPLICABLE_TEXT","VERSION_PREFIX","styles","BucketCardInfoSection","_ref","name","updatedAt","bundleCount","isApplied","switchState","renderStateText","text","DOWNLOADED","color","orange","APPLIED","green","updatedAtText","createElement","style","container","rowContainer","titleText","bold","appliedText","divider","title","VERSION","subtitle","BUNDLES","UPDATED"],"sourceRoot":"../../../../../../../src","sources":["main/components/modules/listing/components/BucketCardInfoSection.tsx"],"mappings":"AAAA,OAAOA,KAAK,IAAIC,OAAO,QAAQ,OAAO;AACtC,SAASC,IAAI,EAAEC,IAAI,QAAQ,cAAc;AAEzC,OAAOC,sBAAsB,MAAM,0BAA0B;AAC7D,SAASC,aAAa,QAAQ,4BAA4B;AAE1D,SAASC,MAAM,QAAQ,8BAA8B;AACrD,SACEC,iBAAiB,EACjBC,mBAAmB,EACnBC,cAAc,QACT,oCAAoC;AAE3C,OAAOC,MAAM,MAAM,UAAU;AAU7B,MAAMC,qBAAuD,GAAGC,IAAA,IAM1D;EAAA,IAN2D;IAC/DC,IAAI;IACJC,SAAS;IACTC,WAAW;IACXC,SAAS;IACTC;EACF,CAAC,GAAAL,IAAA;EACC,MAAMM,eAAe,GAAGjB,OAAO,CAAC,MAAM;IACpC,IAAIe,SAAS,IAAI,CAACC,WAAW,EAC3B,OAAO;MAAEE,IAAI,EAAEZ,iBAAiB,CAACa,UAAU;MAAEC,KAAK,EAAEf,MAAM,CAACgB;IAAO,CAAC;IAErE,IAAIN,SAAS,IAAIC,WAAW,EAC1B,OAAO;MAAEE,IAAI,EAAEZ,iBAAiB,CAACgB,OAAO;MAAEF,KAAK,EAAEf,MAAM,CAACkB;IAAM,CAAC;IAEjE,OAAO,IAAI;EACb,CAAC,EAAE,CAACR,SAAS,EAAEC,WAAW,CAAC,CAAC;EAE5B,MAAMQ,aAAa,GAAGxB,OAAO,CAAC,MAAM;IAClC,OAAOI,aAAa,CAACS,SAAS,CAAC;EACjC,CAAC,EAAE,CAACA,SAAS,CAAC,CAAC;EAEf,oBACEd,KAAA,CAAA0B,aAAA,CAACvB,IAAI;IAACwB,KAAK,EAAEjB,MAAM,CAACkB;EAAU,gBAC5B5B,KAAA,CAAA0B,aAAA,CAACvB,IAAI;IAACwB,KAAK,EAAEjB,MAAM,CAACmB;EAAa,gBAC/B7B,KAAA,CAAA0B,aAAA,CAACxB,IAAI;IAACyB,KAAK,EAAE,CAACjB,MAAM,CAACoB,SAAS,EAAEpB,MAAM,CAACqB,IAAI;EAAE,GAAElB,IAAW,CAAC,eAC3Db,KAAA,CAAA0B,aAAA,CAACxB,IAAI;IAACyB,KAAK,EAAE,CAACjB,MAAM,CAACsB,WAAW,EAAE;MAAEX,KAAK,EAAEH,eAAe,aAAfA,eAAe,uBAAfA,eAAe,CAAEG;IAAM,CAAC;EAAE,GAClEH,eAAe,aAAfA,eAAe,uBAAfA,eAAe,CAAEC,IACd,CACF,CAAC,eACPnB,KAAA,CAAA0B,aAAA,CAACvB,IAAI;IAACwB,KAAK,EAAEjB,MAAM,CAACuB;EAAQ,CAAE,CAAC,eAC/BjC,KAAA,CAAA0B,aAAA,CAACvB,IAAI;IAACwB,KAAK,EAAEjB,MAAM,CAACmB;EAAa,gBAC/B7B,KAAA,CAAA0B,aAAA,CAACtB,sBAAsB;IACrB8B,KAAK,EAAE3B,iBAAiB,CAAC4B,OAAQ;IACjCC,QAAQ,EACNrB,WAAW,IAAI,CAACA,WAAW,GACtB,GAAEN,cAAe,GAAEM,WAAY,EAAC,GACjCP;EACL,CACF,CAAC,eACFR,KAAA,CAAA0B,aAAA,CAACtB,sBAAsB;IACrB8B,KAAK,EAAE3B,iBAAiB,CAAC8B,OAAQ;IACjCD,QAAQ,EAAErB,WAAW,IAAI,CAACA,WAAW,GAAGA,WAAW,GAAG;EAAE,CACzD,CAAC,eACFf,KAAA,CAAA0B,aAAA,CAACtB,sBAAsB;IACrB8B,KAAK,EAAE3B,iBAAiB,CAAC+B,OAAQ;IACjCF,QAAQ,EAAEX;EAAc,CACzB,CACG,CACF,CAAC;AAEX,CAAC;AAED,eAAed,qBAAqB"}
@@ -1,42 +0,0 @@
1
- import React, { useContext, useMemo, memo } from 'react';
2
- import { View } from 'react-native';
3
- import BundleCardInfoSection from './BundleCardInfoSection';
4
- import styles from './styles';
5
- import { GlobalContext } from '../../../../state';
6
- const BundleCard = _ref => {
7
- let {
8
- id,
9
- version,
10
- name,
11
- description,
12
- updatedAt,
13
- author,
14
- downloadUrl
15
- } = _ref;
16
- const {
17
- metaState
18
- } = useContext(GlobalContext);
19
- const isApplied = useMemo(() => {
20
- return metaState.stageSlot.newHash === id;
21
- }, [metaState.stageSlot.newHash, id]);
22
- const isDownloaded = useMemo(() => {
23
- return metaState.stageSlot.tempHash === id;
24
- }, [metaState.stageSlot.tempHash, id]);
25
- return /*#__PURE__*/React.createElement(View, {
26
- style: styles.cardContainer
27
- }, /*#__PURE__*/React.createElement(View, {
28
- style: styles.infoSection
29
- }, /*#__PURE__*/React.createElement(BundleCardInfoSection, {
30
- name: name,
31
- id: id,
32
- version: version,
33
- description: description,
34
- author: author,
35
- updatedAt: updatedAt,
36
- isApplied: isApplied,
37
- isDownloaded: isDownloaded,
38
- downloadUrl: downloadUrl
39
- })));
40
- };
41
- export default /*#__PURE__*/memo(BundleCard);
42
- //# sourceMappingURL=BundleCard.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["React","useContext","useMemo","memo","View","BundleCardInfoSection","styles","GlobalContext","BundleCard","_ref","id","version","name","description","updatedAt","author","downloadUrl","metaState","isApplied","stageSlot","newHash","isDownloaded","tempHash","createElement","style","cardContainer","infoSection"],"sourceRoot":"../../../../../../../src","sources":["main/components/modules/listing/components/BundleCard.tsx"],"mappings":"AAAA,OAAOA,KAAK,IAAIC,UAAU,EAAEC,OAAO,EAAEC,IAAI,QAAQ,OAAO;AACxD,SAASC,IAAI,QAAQ,cAAc;AAEnC,OAAOC,qBAAqB,MAAM,yBAAyB;AAE3D,OAAOC,MAAM,MAAM,UAAU;AAE7B,SAASC,aAAa,QAAQ,mBAAmB;AAajD,MAAMC,UAAiC,GAAGC,IAAA,IAQpC;EAAA,IARqC;IACzCC,EAAE;IACFC,OAAO;IACPC,IAAI;IACJC,WAAW;IACXC,SAAS;IACTC,MAAM;IACNC;EACF,CAAC,GAAAP,IAAA;EACC,MAAM;IAAEQ;EAAU,CAAC,GAAGhB,UAAU,CAACM,aAAa,CAAC;EAC/C,MAAMW,SAAS,GAAGhB,OAAO,CAAU,MAAM;IACvC,OAAOe,SAAS,CAACE,SAAS,CAACC,OAAO,KAAKV,EAAE;EAC3C,CAAC,EAAE,CAACO,SAAS,CAACE,SAAS,CAACC,OAAO,EAAEV,EAAE,CAAC,CAAC;EACrC,MAAMW,YAAY,GAAGnB,OAAO,CAAU,MAAM;IAC1C,OAAOe,SAAS,CAACE,SAAS,CAACG,QAAQ,KAAKZ,EAAE;EAC5C,CAAC,EAAE,CAACO,SAAS,CAACE,SAAS,CAACG,QAAQ,EAAEZ,EAAE,CAAC,CAAC;EACtC,oBACEV,KAAA,CAAAuB,aAAA,CAACnB,IAAI;IAACoB,KAAK,EAAElB,MAAM,CAACmB;EAAc,gBAChCzB,KAAA,CAAAuB,aAAA,CAACnB,IAAI;IAACoB,KAAK,EAAElB,MAAM,CAACoB;EAAY,gBAC9B1B,KAAA,CAAAuB,aAAA,CAAClB,qBAAqB;IACpBO,IAAI,EAAEA,IAAK;IACXF,EAAE,EAAEA,EAAG;IACPC,OAAO,EAAEA,OAAQ;IACjBE,WAAW,EAAEA,WAAY;IACzBE,MAAM,EAAEA,MAAO;IACfD,SAAS,EAAEA,SAAU;IACrBI,SAAS,EAAEA,SAAU;IACrBG,YAAY,EAAEA,YAAa;IAC3BL,WAAW,EAAEA;EAAY,CAC1B,CACG,CACF,CAAC;AAEX,CAAC;AAED,4BAAeb,IAAI,CAACK,UAAU,CAAC"}
@@ -1,82 +0,0 @@
1
- import React, { useCallback, useContext, useMemo, memo } from 'react';
2
- import { Text, TouchableOpacity, View } from 'react-native';
3
- import { GlobalContext } from '../../../../state';
4
- import CardDescriptionContent from './CardDescriptionContent';
5
- import { parseDateTime } from '../../../../utils/dateUtil';
6
- import { APPLIED_TEXT, BUCKET_CARD_TEXTS, BUNDLE_APPLIED_TEXT, BUNDLE_CARD_AUTHOR, BUNDLE_CARD_RELEASE_NOTE, DOWNLOADED_TEXT, DOWNLOAD_BUTTON_TEXT, NO_RELEASE_NOTE_TEXT, SWITCH_STATE_KEYS } from '../../../../constants/appConstants';
7
- import { COLORS } from '../../../../constants/colors';
8
- import styles from './styles';
9
- const BundleCardInfoSection = _ref => {
10
- let {
11
- id,
12
- version,
13
- description,
14
- updatedAt,
15
- author,
16
- isApplied,
17
- isDownloaded,
18
- downloadUrl
19
- } = _ref;
20
- const {
21
- bundleState: {
22
- selectedBucketId
23
- },
24
- actions: {
25
- downloadBundle
26
- }
27
- } = useContext(GlobalContext);
28
- const stateColor = useMemo(() => {
29
- if (isApplied) return COLORS.indigo;
30
- if (isDownloaded) return COLORS.green;
31
- return COLORS.white;
32
- }, [isApplied, isDownloaded]);
33
- const updatedAtText = useMemo(() => {
34
- return parseDateTime(updatedAt);
35
- }, [updatedAt]);
36
- const handleDownloadPress = useCallback(() => {
37
- if (!isApplied && selectedBucketId && version) {
38
- downloadBundle(downloadUrl, id);
39
- }
40
- }, [isApplied, selectedBucketId, version, downloadBundle, downloadUrl, id]);
41
- return /*#__PURE__*/React.createElement(View, {
42
- style: styles.container
43
- }, /*#__PURE__*/React.createElement(View, {
44
- style: styles.rowContainer
45
- }, /*#__PURE__*/React.createElement(Text, {
46
- style: [styles.titleText, styles.bold]
47
- }, "v", version), /*#__PURE__*/React.createElement(TouchableOpacity, {
48
- onPress: handleDownloadPress,
49
- disabled: isApplied || isDownloaded,
50
- style: [styles.downloadButton, {
51
- backgroundColor: isApplied || isDownloaded ? 'transparent' : COLORS.black
52
- }]
53
- }, /*#__PURE__*/React.createElement(Text, {
54
- style: [styles.appliedText, {
55
- color: stateColor
56
- }]
57
- }, isApplied ? APPLIED_TEXT : isDownloaded ? DOWNLOADED_TEXT : DOWNLOAD_BUTTON_TEXT))), description ? /*#__PURE__*/React.createElement(View, {
58
- style: styles.descContainer
59
- }, /*#__PURE__*/React.createElement(Text, {
60
- style: styles.releaseNoteText
61
- }, BUNDLE_CARD_RELEASE_NOTE), /*#__PURE__*/React.createElement(Text, {
62
- numberOfLines: 2,
63
- style: styles.releaseNoteDescriptionText
64
- }, description)) : /*#__PURE__*/React.createElement(Text, {
65
- style: styles.releaseNoteText
66
- }, NO_RELEASE_NOTE_TEXT), /*#__PURE__*/React.createElement(View, {
67
- style: styles.divider
68
- }), /*#__PURE__*/React.createElement(View, {
69
- style: styles.rowContainer
70
- }, /*#__PURE__*/React.createElement(CardDescriptionContent, {
71
- title: BUNDLE_CARD_AUTHOR,
72
- subtitle: author ?? ''
73
- }), /*#__PURE__*/React.createElement(CardDescriptionContent, {
74
- title: BUNDLE_APPLIED_TEXT,
75
- subtitle: isApplied ? SWITCH_STATE_KEYS.Enabled : SWITCH_STATE_KEYS.Disabled
76
- }), /*#__PURE__*/React.createElement(CardDescriptionContent, {
77
- title: BUCKET_CARD_TEXTS.UPDATED,
78
- subtitle: updatedAtText
79
- })));
80
- };
81
- export default /*#__PURE__*/memo(BundleCardInfoSection);
82
- //# sourceMappingURL=BundleCardInfoSection.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["React","useCallback","useContext","useMemo","memo","Text","TouchableOpacity","View","GlobalContext","CardDescriptionContent","parseDateTime","APPLIED_TEXT","BUCKET_CARD_TEXTS","BUNDLE_APPLIED_TEXT","BUNDLE_CARD_AUTHOR","BUNDLE_CARD_RELEASE_NOTE","DOWNLOADED_TEXT","DOWNLOAD_BUTTON_TEXT","NO_RELEASE_NOTE_TEXT","SWITCH_STATE_KEYS","COLORS","styles","BundleCardInfoSection","_ref","id","version","description","updatedAt","author","isApplied","isDownloaded","downloadUrl","bundleState","selectedBucketId","actions","downloadBundle","stateColor","indigo","green","white","updatedAtText","handleDownloadPress","createElement","style","container","rowContainer","titleText","bold","onPress","disabled","downloadButton","backgroundColor","black","appliedText","color","descContainer","releaseNoteText","numberOfLines","releaseNoteDescriptionText","divider","title","subtitle","Enabled","Disabled","UPDATED"],"sourceRoot":"../../../../../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+B,CAAC,eACtEf,KAAA,CAAA0C,aAAA,CAACrC,IAAI;IAACoD,aAAa,EAAE,CAAE;IAACd,KAAK,EAAEtB,MAAM,CAACqC;EAA2B,GAC9DhC,WACG,CACF,CAAC,gBAEP1B,KAAA,CAAA0C,aAAA,CAACrC,IAAI;IAACsC,KAAK,EAAEtB,MAAM,CAACmC;EAAgB,GAAEtC,oBAA2B,CAClE,eACDlB,KAAA,CAAA0C,aAAA,CAACnC,IAAI;IAACoC,KAAK,EAAEtB,MAAM,CAACsC;EAAQ,CAAE,CAAC,eAC/B3D,KAAA,CAAA0C,aAAA,CAACnC,IAAI;IAACoC,KAAK,EAAEtB,MAAM,CAACwB;EAAa,gBAC/B7C,KAAA,CAAA0C,aAAA,CAACjC,sBAAsB;IACrBmD,KAAK,EAAE9C,kBAAmB;IAC1B+C,QAAQ,EAAEjC,MAAM,IAAI;EAAG,CACxB,CAAC,eACF5B,KAAA,CAAA0C,aAAA,CAACjC,sBAAsB;IACrBmD,KAAK,EAAE/C,mBAAoB;IAC3BgD,QAAQ,EACNhC,SAAS,GAAGV,iBAAiB,CAAC2C,OAAO,GAAG3C,iBAAiB,CAAC4C;EAC3D,CACF,CAAC,eACF/D,KAAA,CAAA0C,aAAA,CAACjC,sBAAsB;IACrBmD,KAAK,EAAEhD,iBAAiB,CAACoD,OAAQ;IACjCH,QAAQ,EAAErB;EAAc,CACzB,CACG,CACF,CAAC;AAEX,CAAC;AAED,4BAAepC,IAAI,CAACkB,qBAAqB,CAAC"}
@@ -1,36 +0,0 @@
1
- import { StyleSheet, Text, View } from 'react-native';
2
- import React from 'react';
3
- import { COLORS } from '../../../../constants/colors';
4
- import { STD_MARGIN } from '../../../../constants/appConstants';
5
- const CardDescriptionContent = _ref => {
6
- let {
7
- title,
8
- subtitle
9
- } = _ref;
10
- return /*#__PURE__*/React.createElement(View, {
11
- style: styles.centerContainer
12
- }, /*#__PURE__*/React.createElement(Text, {
13
- style: styles.title
14
- }, title), /*#__PURE__*/React.createElement(Text, {
15
- style: styles.subtitle
16
- }, subtitle));
17
- };
18
- const styles = StyleSheet.create({
19
- centerContainer: {
20
- justifyContent: 'center',
21
- alignItems: 'center'
22
- },
23
- title: {
24
- fontSize: STD_MARGIN * 1.3,
25
- fontWeight: '500',
26
- color: COLORS.black7
27
- },
28
- subtitle: {
29
- fontSize: STD_MARGIN * 1.1,
30
- fontWeight: '600',
31
- marginTop: 5,
32
- color: COLORS.black
33
- }
34
- });
35
- export default CardDescriptionContent;
36
- //# sourceMappingURL=CardDescriptionContent.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["StyleSheet","Text","View","React","COLORS","STD_MARGIN","CardDescriptionContent","_ref","title","subtitle","createElement","style","styles","centerContainer","create","justifyContent","alignItems","fontSize","fontWeight","color","black7","marginTop","black"],"sourceRoot":"../../../../../../../src","sources":["main/components/modules/listing/components/CardDescriptionContent.tsx"],"mappings":"AAAA,SAASA,UAAU,EAAEC,IAAI,EAAEC,IAAI,QAAQ,cAAc;AACrD,OAAOC,KAAK,MAAM,OAAO;AACzB,SAASC,MAAM,QAAQ,8BAA8B;AACrD,SAASC,UAAU,QAAQ,oCAAoC;AAM/D,MAAMC,sBAAyD,GAAGC,IAAA,IAG5D;EAAA,IAH6D;IACjEC,KAAK;IACLC;EACF,CAAC,GAAAF,IAAA;EACC,oBACEJ,KAAA,CAAAO,aAAA,CAACR,IAAI;IAACS,KAAK,EAAEC,MAAM,CAACC;EAAgB,gBAClCV,KAAA,CAAAO,aAAA,CAACT,IAAI;IAACU,KAAK,EAAEC,MAAM,CAACJ;EAAM,GAAEA,KAAY,CAAC,eACzCL,KAAA,CAAAO,aAAA,CAACT,IAAI;IAACU,KAAK,EAAEC,MAAM,CAACH;EAAS,GAAEA,QAAe,CAC1C,CAAC;AAEX,CAAC;AAED,MAAMG,MAAM,GAAGZ,UAAU,CAACc,MAAM,CAAC;EAC/BD,eAAe,EAAE;IAAEE,cAAc,EAAE,QAAQ;IAAEC,UAAU,EAAE;EAAS,CAAC;EACnER,KAAK,EAAE;IACLS,QAAQ,EAAEZ,UAAU,GAAG,GAAG;IAC1Ba,UAAU,EAAE,KAAK;IACjBC,KAAK,EAAEf,MAAM,CAACgB;EAChB,CAAC;EACDX,QAAQ,EAAE;IACRQ,QAAQ,EAAEZ,UAAU,GAAG,GAAG;IAC1Ba,UAAU,EAAE,KAAK;IACjBG,SAAS,EAAE,CAAC;IACZF,KAAK,EAAEf,MAAM,CAACkB;EAChB;AACF,CAAC,CAAC;AAEF,eAAehB,sBAAsB"}
@@ -1,29 +0,0 @@
1
- import React from 'react';
2
- import { Text, View } from 'react-native';
3
- import styles from './styles';
4
- const ConfigView = _ref => {
5
- let {
6
- config
7
- } = _ref;
8
- return /*#__PURE__*/React.createElement(View, {
9
- style: [styles.metaConainer]
10
- }, /*#__PURE__*/React.createElement(View, {
11
- style: [styles.configCardContainer]
12
- }, /*#__PURE__*/React.createElement(Text, {
13
- style: [styles.titleText, styles.bold]
14
- }, "App Version :"), /*#__PURE__*/React.createElement(View, {
15
- style: [styles.colContainer, styles.flex]
16
- }, /*#__PURE__*/React.createElement(Text, {
17
- style: [styles.subTitleText]
18
- }, config.appVersion))), /*#__PURE__*/React.createElement(View, {
19
- style: styles.configCardContainer
20
- }, /*#__PURE__*/React.createElement(Text, {
21
- style: [styles.titleText, styles.bold]
22
- }, "UID :"), /*#__PURE__*/React.createElement(View, {
23
- style: [styles.colContainer, styles.flex]
24
- }, /*#__PURE__*/React.createElement(Text, {
25
- style: [styles.subTitleText]
26
- }, config.uid))));
27
- };
28
- export default ConfigView;
29
- //# sourceMappingURL=ConfigView.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["React","Text","View","styles","ConfigView","_ref","config","createElement","style","metaConainer","configCardContainer","titleText","bold","colContainer","flex","subTitleText","appVersion","uid"],"sourceRoot":"../../../../../../../src","sources":["main/components/modules/listing/components/ConfigView.tsx"],"mappings":"AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,IAAI,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 'react';
2
- import { Text, View } from 'react-native';
3
- import CardDescriptionContent from './CardDescriptionContent';
4
- import { parseDateTime } from '../../../../utils/dateUtil';
5
- import styles from './styles';
6
- import { getDigitalStorageSize } from '../../../../utils/getSize';
7
- const MetaCard = _ref => {
8
- var _meta$sha256Checksum;
9
- let {
10
- meta
11
- } = _ref;
12
- const updatedAtText = useMemo(() => {
13
- return parseDateTime(meta.updatedAt);
14
- }, [meta.updatedAt]);
15
- return /*#__PURE__*/React.createElement(View, {
16
- style: styles.metaConainer
17
- }, /*#__PURE__*/React.createElement(View, {
18
- style: styles.colContainer
19
- }, /*#__PURE__*/React.createElement(Text, {
20
- style: [styles.titleText, styles.bold]
21
- }, `v${meta.version}`), /*#__PURE__*/React.createElement(Text, {
22
- style: [styles.subText]
23
- }, meta.releaseNote)), /*#__PURE__*/React.createElement(View, {
24
- style: styles.divider
25
- }), /*#__PURE__*/React.createElement(View, {
26
- style: styles.rowContainer
27
- }, /*#__PURE__*/React.createElement(CardDescriptionContent, {
28
- title: 'ID',
29
- subtitle: (_meta$sha256Checksum = meta.sha256Checksum) === null || _meta$sha256Checksum === void 0 ? void 0 : _meta$sha256Checksum.substring(0, 12)
30
- }), /*#__PURE__*/React.createElement(CardDescriptionContent, {
31
- title: 'Updated At',
32
- subtitle: updatedAtText
33
- }), /*#__PURE__*/React.createElement(CardDescriptionContent, {
34
- title: 'Size',
35
- subtitle: getDigitalStorageSize(meta.size || 0)
36
- })));
37
- };
38
- export default MetaCard;
39
- //# sourceMappingURL=MetaCard.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["React","useMemo","Text","View","CardDescriptionContent","parseDateTime","styles","getDigitalStorageSize","MetaCard","_ref","_meta$sha256Checksum","meta","updatedAtText","updatedAt","createElement","style","metaConainer","colContainer","titleText","bold","version","subText","releaseNote","divider","rowContainer","title","subtitle","sha256Checksum","substring","size"],"sourceRoot":"../../../../../../../src","sources":["main/components/modules/listing/components/MetaCard.tsx"],"mappings":"AAAA,OAAO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,uBAAnBA,oBAAA,CAAqBkB,SAAS,CAAC,CAAC,EAAE,EAAE;EAAE,CACjD,CAAC,eACF5B,KAAA,CAAAc,aAAA,CAACV,sBAAsB;IAACqB,KAAK,EAAE,YAAa;IAACC,QAAQ,EAAEd;EAAc,CAAE,CAAC,eACxEZ,KAAA,CAAAc,aAAA,CAACV,sBAAsB;IACrBqB,KAAK,EAAE,MAAO;IACdC,QAAQ,EAAEnB,qBAAqB,CAACI,IAAI,CAACkB,IAAI,IAAI,CAAC;EAAE,CACjD,CACG,CACF,CAAC;AAEX,CAAC;AAED,eAAerB,QAAQ"}
@@ -1,80 +0,0 @@
1
- import { StyleSheet, View } from 'react-native';
2
- import React from 'react';
3
- import { SLOT_STATES } from '../../../../../types/meta.types';
4
- import { NATIVE_CONSTANTS, STD_MARGIN } from '../../../../constants/appConstants';
5
- import { COLORS } from '../../../../constants/colors';
6
- function getSlotColor(slot) {
7
- switch (slot) {
8
- case NATIVE_CONSTANTS.DEFAULT_FOLDER_SLOT:
9
- return '#9CA3AF';
10
- case NATIVE_CONSTANTS.STABLE_FOLDER_SLOT:
11
- return '#F59E0B';
12
- case NATIVE_CONSTANTS.NEW_FOLDER_SLOT:
13
- return COLORS.indigo;
14
- case NATIVE_CONSTANTS.TEMP_FOLDER_SLOT:
15
- return COLORS.green;
16
- }
17
- }
18
- const StallionSlot = _ref => {
19
- let {
20
- slot,
21
- isActive
22
- } = _ref;
23
- return /*#__PURE__*/React.createElement(View, {
24
- style: [styles.slotItem, {
25
- backgroundColor: getSlotColor(slot),
26
- borderWidth: isActive ? 1 : 0
27
- }]
28
- });
29
- };
30
- const SlotView = props => {
31
- const {
32
- currentSlot,
33
- tempHash,
34
- stableHash,
35
- newHash
36
- } = props;
37
- const activeSlot = currentSlot;
38
- return /*#__PURE__*/React.createElement(View, {
39
- style: [styles.parentContainer, styles.rowContainer]
40
- }, /*#__PURE__*/React.createElement(StallionSlot, {
41
- slot: NATIVE_CONSTANTS.DEFAULT_FOLDER_SLOT,
42
- hash: '',
43
- isActive: activeSlot === SLOT_STATES.DEFAULT
44
- }), stableHash ? /*#__PURE__*/React.createElement(StallionSlot, {
45
- slot: NATIVE_CONSTANTS.STABLE_FOLDER_SLOT,
46
- hash: stableHash || '',
47
- isActive: activeSlot === SLOT_STATES.STABLE
48
- }) : null, newHash ? /*#__PURE__*/React.createElement(StallionSlot, {
49
- slot: NATIVE_CONSTANTS.NEW_FOLDER_SLOT,
50
- hash: newHash || '',
51
- isActive: activeSlot === SLOT_STATES.NEW
52
- }) : null, tempHash ? /*#__PURE__*/React.createElement(StallionSlot, {
53
- slot: NATIVE_CONSTANTS.TEMP_FOLDER_SLOT,
54
- hash: tempHash || '',
55
- isActive: false
56
- }) : null);
57
- };
58
- const styles = StyleSheet.create({
59
- parentContainer: {
60
- justifyContent: 'flex-start',
61
- alignItems: 'center',
62
- flexDirection: 'row',
63
- width: '100%',
64
- paddingRight: STD_MARGIN,
65
- paddingVertical: STD_MARGIN,
66
- backgroundColor: COLORS.white
67
- },
68
- rowContainer: {
69
- flexDirection: 'row'
70
- },
71
- slotItem: {
72
- flex: 1,
73
- width: '100%',
74
- height: STD_MARGIN,
75
- marginLeft: STD_MARGIN,
76
- borderRadius: STD_MARGIN / 2
77
- }
78
- });
79
- export default SlotView;
80
- //# sourceMappingURL=SlotView.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["StyleSheet","View","React","SLOT_STATES","NATIVE_CONSTANTS","STD_MARGIN","COLORS","getSlotColor","slot","DEFAULT_FOLDER_SLOT","STABLE_FOLDER_SLOT","NEW_FOLDER_SLOT","indigo","TEMP_FOLDER_SLOT","green","StallionSlot","_ref","isActive","createElement","style","styles","slotItem","backgroundColor","borderWidth","SlotView","props","currentSlot","tempHash","stableHash","newHash","activeSlot","parentContainer","rowContainer","hash","DEFAULT","STABLE","NEW","create","justifyContent","alignItems","flexDirection","width","paddingRight","paddingVertical","white","flex","height","marginLeft","borderRadius"],"sourceRoot":"../../../../../../../src","sources":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C7B;AACF,CAAC,CAAC;AAEF,eAAemB,QAAQ"}
@@ -1,121 +0,0 @@
1
- import { StyleSheet } from 'react-native';
2
- import { HEADER_SLAB_HEIGHT, STD_MARGIN } from '../../../../../constants/appConstants';
3
- import { COLORS } from '../../../../../constants/colors';
4
- const styles = StyleSheet.create({
5
- cardContainer: {
6
- margin: STD_MARGIN,
7
- marginBottom: STD_MARGIN * 1.5,
8
- backgroundColor: COLORS.white,
9
- borderRadius: STD_MARGIN,
10
- shadowColor: COLORS.black,
11
- shadowOffset: {
12
- height: 2,
13
- width: 0
14
- },
15
- shadowOpacity: 0.08,
16
- elevation: 3,
17
- shadowRadius: 6,
18
- borderWidth: 0.5,
19
- borderColor: COLORS.black2
20
- },
21
- infoSection: {
22
- width: '100%'
23
- },
24
- actionSection: {
25
- flex: 1,
26
- alignItems: 'center'
27
- },
28
- justifyCenter: {
29
- justifyContent: 'center'
30
- },
31
- rowFlex: {
32
- flexDirection: 'row'
33
- },
34
- rowContainer: {
35
- flexDirection: 'row',
36
- justifyContent: 'space-between',
37
- alignItems: 'center',
38
- padding: STD_MARGIN
39
- },
40
- colContainer: {
41
- flexDirection: 'column'
42
- },
43
- downloadButton: {
44
- backgroundColor: COLORS.black,
45
- padding: STD_MARGIN,
46
- borderRadius: STD_MARGIN
47
- },
48
- configCardContainer: {
49
- flex: 1,
50
- flexDirection: 'row',
51
- justifyContent: 'flex-start',
52
- alignItems: 'center',
53
- paddingHorizontal: STD_MARGIN,
54
- marginVertical: STD_MARGIN / 2
55
- },
56
- appliedText: {
57
- color: COLORS.green,
58
- fontWeight: 'bold',
59
- fontSize: 14
60
- },
61
- container: {},
62
- metaConainer: {
63
- backgroundColor: COLORS.white,
64
- margin: STD_MARGIN,
65
- borderRadius: STD_MARGIN,
66
- padding: STD_MARGIN
67
- },
68
- divider: {
69
- borderBottomWidth: 0.5,
70
- borderColor: COLORS.black2,
71
- marginVertical: STD_MARGIN,
72
- marginHorizontal: STD_MARGIN
73
- },
74
- subText: {
75
- fontSize: HEADER_SLAB_HEIGHT / 3,
76
- marginVertical: STD_MARGIN / 2,
77
- color: COLORS.text_major
78
- },
79
- titleText: {
80
- flex: 1,
81
- fontSize: HEADER_SLAB_HEIGHT / 2.5,
82
- color: COLORS.black
83
- },
84
- subTitleText: {
85
- textAlign: 'right',
86
- fontSize: HEADER_SLAB_HEIGHT / 3,
87
- color: COLORS.black7
88
- },
89
- bold: {
90
- fontWeight: 'bold'
91
- },
92
- releaseNoteText: {
93
- fontSize: 14,
94
- fontWeight: 'bold',
95
- color: COLORS.black7
96
- },
97
- releaseNoteDescriptionText: {
98
- fontSize: 14,
99
- width: '70%',
100
- color: COLORS.black,
101
- marginLeft: STD_MARGIN / 2
102
- },
103
- descContainer: {
104
- flexDirection: 'row',
105
- alignItems: 'flex-start',
106
- padding: STD_MARGIN,
107
- marginHorizontal: STD_MARGIN,
108
- marginBottom: STD_MARGIN / 2,
109
- backgroundColor: COLORS.black1,
110
- borderRadius: STD_MARGIN / 2
111
- },
112
- rightBorder: {
113
- borderRightWidth: 1,
114
- borderColor: COLORS.black2
115
- },
116
- flex: {
117
- flex: 1
118
- }
119
- });
120
- export default styles;
121
- //# sourceMappingURL=index.js.map