react-native-stallion 1.1.2 → 2.0.0-alpha.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (296) hide show
  1. package/android/src/main/java/com/stallion/Stallion.java +153 -9
  2. package/android/src/main/java/com/stallion/StallionModule.java +128 -167
  3. package/android/src/main/java/com/stallion/events/StallionEventConstants.java +22 -0
  4. package/android/src/main/java/com/stallion/events/StallionEventManager.java +160 -0
  5. package/android/src/main/java/com/stallion/networkmanager/StallionApiConstants.java +28 -0
  6. package/android/src/main/java/com/stallion/networkmanager/StallionApiManager.java +96 -0
  7. package/android/src/main/java/com/stallion/networkmanager/StallionDownloadCallback.java +7 -0
  8. package/android/src/main/java/com/stallion/networkmanager/StallionFileDownloader.java +224 -0
  9. package/android/src/main/java/com/stallion/networkmanager/StallionStageManager.java +77 -0
  10. package/android/src/main/java/com/stallion/networkmanager/StallionSyncHandler.java +183 -0
  11. package/android/src/main/java/com/stallion/storage/StallionConfig.java +120 -0
  12. package/android/src/main/java/com/stallion/storage/StallionConfigConstants.java +24 -0
  13. package/android/src/main/java/com/stallion/storage/StallionMeta.java +206 -0
  14. package/android/src/main/java/com/stallion/storage/StallionMetaConstants.java +30 -0
  15. package/android/src/main/java/com/stallion/storage/StallionStateManager.java +110 -0
  16. package/android/src/main/java/com/stallion/{StallionDefaultErrorActivity.java → utils/StallionErrorActivity.java} +11 -10
  17. package/android/src/main/java/com/stallion/utils/StallionExceptionHandler.java +102 -0
  18. package/android/src/main/java/com/stallion/utils/StallionFileManager.java +205 -0
  19. package/android/src/main/java/com/stallion/utils/StallionSlotManager.java +110 -0
  20. package/ios/main/Stallion-Bridging-Header.h +6 -1
  21. package/ios/main/Stallion.m +28 -9
  22. package/ios/main/Stallion.swift +132 -50
  23. package/ios/main/StallionConfig.h +24 -0
  24. package/ios/main/StallionConfig.m +62 -0
  25. package/ios/main/StallionConfigConstants.h +32 -0
  26. package/ios/main/StallionConfigConstants.m +32 -0
  27. package/ios/main/StallionConstants.swift +53 -10
  28. package/ios/main/StallionEventHandler.h +23 -0
  29. package/ios/main/StallionEventHandler.m +138 -0
  30. package/ios/main/StallionExceptionHandler.h +18 -0
  31. package/ios/main/StallionExceptionHandler.m +94 -0
  32. package/ios/main/StallionFileDownloader.swift +147 -0
  33. package/ios/main/StallionFileManager.h +20 -0
  34. package/ios/main/StallionFileManager.m +126 -0
  35. package/ios/main/StallionMeta.h +29 -0
  36. package/ios/main/StallionMeta.m +98 -0
  37. package/ios/main/StallionMetaConstants.h +28 -0
  38. package/ios/main/StallionMetaConstants.m +42 -0
  39. package/ios/main/StallionModule.m +137 -20
  40. package/ios/main/StallionObjConstants.h +47 -0
  41. package/ios/main/StallionObjConstants.m +128 -0
  42. package/ios/main/StallionSlotManager.h +21 -0
  43. package/ios/main/StallionSlotManager.m +114 -0
  44. package/ios/main/StallionStageManager.swift +84 -0
  45. package/ios/main/StallionStateManager.h +31 -0
  46. package/ios/main/StallionStateManager.m +87 -0
  47. package/ios/main/StallionSyncHandler.swift +212 -0
  48. package/package.json +6 -2
  49. package/src/index.js +5 -15
  50. package/src/index.js.map +1 -1
  51. package/src/main/components/common/ButtonFullWidth/styles.js +2 -2
  52. package/src/main/components/common/ButtonFullWidth/styles.js.map +1 -1
  53. package/src/main/components/common/Footer/index.js +24 -31
  54. package/src/main/components/common/Footer/index.js.map +1 -1
  55. package/src/main/components/common/Footer/styles.js +34 -33
  56. package/src/main/components/common/Footer/styles.js.map +1 -1
  57. package/src/main/components/common/Header/index.js +14 -17
  58. package/src/main/components/common/Header/index.js.map +1 -1
  59. package/src/main/components/common/Header/styles.js +10 -5
  60. package/src/main/components/common/Header/styles.js.map +1 -1
  61. package/src/main/components/common/Spinner/index.js +3 -1
  62. package/src/main/components/common/Spinner/index.js.map +1 -1
  63. package/src/main/components/modules/listing/components/BucketCard.js +3 -3
  64. package/src/main/components/modules/listing/components/BucketCard.js.map +1 -1
  65. package/src/main/components/modules/listing/components/BundleCard.js +9 -5
  66. package/src/main/components/modules/listing/components/BundleCard.js.map +1 -1
  67. package/src/main/components/modules/listing/components/BundleCardInfoSection.js +21 -12
  68. package/src/main/components/modules/listing/components/BundleCardInfoSection.js.map +1 -1
  69. package/src/main/components/modules/listing/components/CardDescriptionContent.js +3 -2
  70. package/src/main/components/modules/listing/components/CardDescriptionContent.js.map +1 -1
  71. package/src/main/components/modules/listing/components/ConfigView.js +19 -0
  72. package/src/main/components/modules/listing/components/ConfigView.js.map +1 -0
  73. package/src/main/components/modules/listing/components/MetaCard.js +38 -0
  74. package/src/main/components/modules/listing/components/MetaCard.js.map +1 -0
  75. package/src/main/components/modules/listing/components/SlotView.js +84 -0
  76. package/src/main/components/modules/listing/components/SlotView.js.map +1 -0
  77. package/src/main/components/modules/listing/components/styles/index.js +31 -10
  78. package/src/main/components/modules/listing/components/styles/index.js.map +1 -1
  79. package/src/main/components/modules/listing/hooks/useListing.js +5 -4
  80. package/src/main/components/modules/listing/hooks/useListing.js.map +1 -1
  81. package/src/main/components/modules/listing/index.js +12 -4
  82. package/src/main/components/modules/listing/index.js.map +1 -1
  83. package/src/main/components/modules/login/index.js +42 -38
  84. package/src/main/components/modules/login/index.js.map +1 -1
  85. package/src/main/components/modules/login/styles/index.js +21 -7
  86. package/src/main/components/modules/login/styles/index.js.map +1 -1
  87. package/src/main/components/modules/modal/StallionModal.js +28 -31
  88. package/src/main/components/modules/modal/StallionModal.js.map +1 -1
  89. package/src/main/components/modules/modal/hooks/useStallionModal.js +16 -52
  90. package/src/main/components/modules/modal/hooks/useStallionModal.js.map +1 -1
  91. package/src/main/components/modules/prod/index.js +3 -0
  92. package/src/main/components/modules/prod/index.js.map +1 -0
  93. package/src/main/components/modules/prod/prod.js +35 -0
  94. package/src/main/components/modules/prod/prod.js.map +1 -0
  95. package/src/main/components/modules/prod/styles/index.js +23 -0
  96. package/src/main/components/modules/prod/styles/index.js.map +1 -0
  97. package/src/main/constants/apiConstants.js +4 -2
  98. package/src/main/constants/apiConstants.js.map +1 -1
  99. package/src/main/constants/appConstants.js +43 -7
  100. package/src/main/constants/appConstants.js.map +1 -1
  101. package/src/main/constants/colors.js +8 -6
  102. package/src/main/constants/colors.js.map +1 -1
  103. package/src/main/state/actionCreators/useBucketActions.js +10 -13
  104. package/src/main/state/actionCreators/useBucketActions.js.map +1 -1
  105. package/src/main/state/actionCreators/useBundleActions.js +14 -17
  106. package/src/main/state/actionCreators/useBundleActions.js.map +1 -1
  107. package/src/main/state/actionCreators/useConfigActions.js +20 -0
  108. package/src/main/state/actionCreators/useConfigActions.js.map +1 -0
  109. package/src/main/state/actionCreators/useDownloadActions.js +20 -42
  110. package/src/main/state/actionCreators/useDownloadActions.js.map +1 -1
  111. package/src/main/state/actionCreators/useMetaActions.js +6 -5
  112. package/src/main/state/actionCreators/useMetaActions.js.map +1 -1
  113. package/src/main/state/actionCreators/useUpdateMetaActions.js +77 -0
  114. package/src/main/state/actionCreators/useUpdateMetaActions.js.map +1 -0
  115. package/src/main/state/actionCreators/useUserActions.js +25 -85
  116. package/src/main/state/actionCreators/useUserActions.js.map +1 -1
  117. package/src/main/state/actions/configActions.js +8 -0
  118. package/src/main/state/actions/configActions.js.map +1 -0
  119. package/src/main/state/actions/userActions.js +3 -15
  120. package/src/main/state/actions/userActions.js.map +1 -1
  121. package/src/main/state/index.js +30 -13
  122. package/src/main/state/index.js.map +1 -1
  123. package/src/main/state/reducers/configReducer.js +19 -0
  124. package/src/main/state/reducers/configReducer.js.map +1 -0
  125. package/src/main/state/reducers/updateMetaReducer.js +36 -0
  126. package/src/main/state/reducers/updateMetaReducer.js.map +1 -0
  127. package/src/main/state/reducers/userReducer.js +3 -37
  128. package/src/main/state/reducers/userReducer.js.map +1 -1
  129. package/src/main/state/useStallionEvents.js +102 -0
  130. package/src/main/state/useStallionEvents.js.map +1 -0
  131. package/src/main/utils/ErrorBoundary.js +19 -16
  132. package/src/main/utils/ErrorBoundary.js.map +1 -1
  133. package/src/main/utils/StallionEventEmitter.js +20 -0
  134. package/src/main/utils/StallionEventEmitter.js.map +1 -0
  135. package/src/main/utils/StallionNativeUtils.js +35 -0
  136. package/src/main/utils/StallionNativeUtils.js.map +1 -0
  137. package/src/main/utils/debounce.js +16 -0
  138. package/src/main/utils/debounce.js.map +1 -0
  139. package/src/main/utils/useApiClient.js +28 -0
  140. package/src/main/utils/useApiClient.js.map +1 -0
  141. package/src/main/utils/useStallionModal.js +4 -3
  142. package/src/main/utils/useStallionModal.js.map +1 -1
  143. package/src/main/utils/useStallionUpdate.js +14 -0
  144. package/src/main/utils/useStallionUpdate.js.map +1 -0
  145. package/src/main/utils/withStallion.js +1 -4
  146. package/src/main/utils/withStallion.js.map +1 -1
  147. package/src/types/config.types.js +5 -0
  148. package/src/types/config.types.js.map +1 -0
  149. package/src/types/meta.types.js +11 -0
  150. package/src/types/meta.types.js.map +1 -1
  151. package/src/types/updateMeta.types.js +7 -0
  152. package/src/types/updateMeta.types.js.map +1 -0
  153. package/src/types/user.types.js +1 -2
  154. package/src/types/user.types.js.map +1 -1
  155. package/types/index.d.ts +3 -0
  156. package/types/index.d.ts.map +1 -1
  157. package/types/main/components/common/Footer/index.d.ts +1 -4
  158. package/types/main/components/common/Footer/index.d.ts.map +1 -1
  159. package/types/main/components/common/Footer/styles.d.ts +30 -29
  160. package/types/main/components/common/Footer/styles.d.ts.map +1 -1
  161. package/types/main/components/common/Header/index.d.ts +0 -2
  162. package/types/main/components/common/Header/index.d.ts.map +1 -1
  163. package/types/main/components/common/Header/styles.d.ts +6 -1
  164. package/types/main/components/common/Header/styles.d.ts.map +1 -1
  165. package/types/main/components/common/Spinner/index.d.ts.map +1 -1
  166. package/types/main/components/modules/listing/components/BucketCard.d.ts.map +1 -1
  167. package/types/main/components/modules/listing/components/BundleCard.d.ts.map +1 -1
  168. package/types/main/components/modules/listing/components/BundleCardInfoSection.d.ts +2 -0
  169. package/types/main/components/modules/listing/components/BundleCardInfoSection.d.ts.map +1 -1
  170. package/types/main/components/modules/listing/components/CardDescriptionContent.d.ts.map +1 -1
  171. package/types/main/components/modules/listing/components/ConfigView.d.ts +8 -0
  172. package/types/main/components/modules/listing/components/ConfigView.d.ts.map +1 -0
  173. package/types/main/components/modules/listing/components/MetaCard.d.ts +8 -0
  174. package/types/main/components/modules/listing/components/MetaCard.d.ts.map +1 -0
  175. package/types/main/components/modules/listing/components/SlotView.d.ts +5 -0
  176. package/types/main/components/modules/listing/components/SlotView.d.ts.map +1 -0
  177. package/types/main/components/modules/listing/components/styles/index.d.ts +26 -5
  178. package/types/main/components/modules/listing/components/styles/index.d.ts.map +1 -1
  179. package/types/main/components/modules/listing/hooks/useListing.d.ts +2 -0
  180. package/types/main/components/modules/listing/hooks/useListing.d.ts.map +1 -1
  181. package/types/main/components/modules/listing/index.d.ts.map +1 -1
  182. package/types/main/components/modules/login/index.d.ts.map +1 -1
  183. package/types/main/components/modules/login/styles/index.d.ts +17 -3
  184. package/types/main/components/modules/login/styles/index.d.ts.map +1 -1
  185. package/types/main/components/modules/modal/StallionModal.d.ts.map +1 -1
  186. package/types/main/components/modules/modal/hooks/useStallionModal.d.ts +2 -11
  187. package/types/main/components/modules/modal/hooks/useStallionModal.d.ts.map +1 -1
  188. package/types/main/components/modules/prod/index.d.ts +3 -0
  189. package/types/main/components/modules/prod/index.d.ts.map +1 -0
  190. package/types/main/components/modules/prod/prod.d.ts +4 -0
  191. package/types/main/components/modules/prod/prod.d.ts.map +1 -0
  192. package/types/main/components/modules/prod/styles/index.d.ts +19 -0
  193. package/types/main/components/modules/prod/styles/index.d.ts.map +1 -0
  194. package/types/main/constants/apiConstants.d.ts +5 -3
  195. package/types/main/constants/apiConstants.d.ts.map +1 -1
  196. package/types/main/constants/appConstants.d.ts +40 -7
  197. package/types/main/constants/appConstants.d.ts.map +1 -1
  198. package/types/main/constants/colors.d.ts +2 -0
  199. package/types/main/constants/colors.d.ts.map +1 -1
  200. package/types/main/index.d.ts +1 -1
  201. package/types/main/state/actionCreators/useBucketActions.d.ts +2 -1
  202. package/types/main/state/actionCreators/useBucketActions.d.ts.map +1 -1
  203. package/types/main/state/actionCreators/useBundleActions.d.ts +2 -1
  204. package/types/main/state/actionCreators/useBundleActions.d.ts.map +1 -1
  205. package/types/main/state/actionCreators/useConfigActions.d.ts +7 -0
  206. package/types/main/state/actionCreators/useConfigActions.d.ts.map +1 -0
  207. package/types/main/state/actionCreators/useDownloadActions.d.ts +5 -2
  208. package/types/main/state/actionCreators/useDownloadActions.d.ts.map +1 -1
  209. package/types/main/state/actionCreators/useMetaActions.d.ts +1 -1
  210. package/types/main/state/actionCreators/useMetaActions.d.ts.map +1 -1
  211. package/types/main/state/actionCreators/useUpdateMetaActions.d.ts +8 -0
  212. package/types/main/state/actionCreators/useUpdateMetaActions.d.ts.map +1 -0
  213. package/types/main/state/actionCreators/useUserActions.d.ts +5 -7
  214. package/types/main/state/actionCreators/useUserActions.d.ts.map +1 -1
  215. package/types/main/state/actions/configActions.d.ts +3 -0
  216. package/types/main/state/actions/configActions.d.ts.map +1 -0
  217. package/types/main/state/actions/userActions.d.ts +2 -4
  218. package/types/main/state/actions/userActions.d.ts.map +1 -1
  219. package/types/main/state/index.d.ts.map +1 -1
  220. package/types/main/state/reducers/configReducer.d.ts +4 -0
  221. package/types/main/state/reducers/configReducer.d.ts.map +1 -0
  222. package/types/main/state/reducers/updateMetaReducer.d.ts +10 -0
  223. package/types/main/state/reducers/updateMetaReducer.d.ts.map +1 -0
  224. package/types/main/state/reducers/userReducer.d.ts.map +1 -1
  225. package/types/main/state/useStallionEvents.d.ts +12 -0
  226. package/types/main/state/useStallionEvents.d.ts.map +1 -0
  227. package/types/main/utils/ErrorBoundary.d.ts +1 -1
  228. package/types/main/utils/ErrorBoundary.d.ts.map +1 -1
  229. package/types/main/utils/StallionEventEmitter.d.ts +11 -0
  230. package/types/main/utils/StallionEventEmitter.d.ts.map +1 -0
  231. package/types/main/utils/StallionNativeUtils.d.ts +11 -0
  232. package/types/main/utils/StallionNativeUtils.d.ts.map +1 -0
  233. package/types/main/utils/debounce.d.ts +3 -0
  234. package/types/main/utils/debounce.d.ts.map +1 -0
  235. package/types/main/utils/useApiClient.d.ts +8 -0
  236. package/types/main/utils/useApiClient.d.ts.map +1 -0
  237. package/types/main/utils/useStallionUpdate.d.ts +3 -0
  238. package/types/main/utils/useStallionUpdate.d.ts.map +1 -0
  239. package/types/main/utils/withStallion.d.ts +1 -2
  240. package/types/main/utils/withStallion.d.ts.map +1 -1
  241. package/types/types/config.types.d.ts +16 -0
  242. package/types/types/config.types.d.ts.map +1 -0
  243. package/types/types/globalProvider.types.d.ts +10 -10
  244. package/types/types/globalProvider.types.d.ts.map +1 -1
  245. package/types/types/meta.types.d.ts +18 -3
  246. package/types/types/meta.types.d.ts.map +1 -1
  247. package/types/types/updateMeta.types.d.ts +37 -0
  248. package/types/types/updateMeta.types.d.ts.map +1 -0
  249. package/types/types/user.types.d.ts +5 -20
  250. package/types/types/user.types.d.ts.map +1 -1
  251. package/types/types/utils.types.d.ts +15 -11
  252. package/types/types/utils.types.d.ts.map +1 -1
  253. package/android/src/main/java/com/stallion/StallionConstants.java +0 -37
  254. package/android/src/main/java/com/stallion/StallionErrorBoundary.java +0 -49
  255. package/android/src/main/java/com/stallion/StallionStorage.java +0 -54
  256. package/android/src/main/java/com/stallion/StallionZip.java +0 -127
  257. package/ios/main/StallionDownloader.swift +0 -124
  258. package/ios/main/StallionErrorBoundary.h +0 -17
  259. package/ios/main/StallionErrorBoundary.m +0 -62
  260. package/ios/main/StallionUtil.swift +0 -29
  261. package/src/main/components/common/ProfileOverlay/index.js +0 -39
  262. package/src/main/components/common/ProfileOverlay/index.js.map +0 -1
  263. package/src/main/components/common/ProfileOverlay/styles.js +0 -39
  264. package/src/main/components/common/ProfileOverlay/styles.js.map +0 -1
  265. package/src/main/components/modules/login/components/Email.js +0 -41
  266. package/src/main/components/modules/login/components/Email.js.map +0 -1
  267. package/src/main/components/modules/login/components/Otp.js +0 -45
  268. package/src/main/components/modules/login/components/Otp.js.map +0 -1
  269. package/src/main/components/modules/login/components/styles/index.js +0 -28
  270. package/src/main/components/modules/login/components/styles/index.js.map +0 -1
  271. package/src/main/components/modules/login/hooks/useLoginFlow.js +0 -60
  272. package/src/main/components/modules/login/hooks/useLoginFlow.js.map +0 -1
  273. package/src/main/utils/SharedDataManager.js +0 -34
  274. package/src/main/utils/SharedDataManager.js.map +0 -1
  275. package/src/main/utils/StallionNaitveUtils.js +0 -7
  276. package/src/main/utils/StallionNaitveUtils.js.map +0 -1
  277. package/src/main/utils/apiUtils.js +0 -16
  278. package/src/main/utils/apiUtils.js.map +0 -1
  279. package/types/main/components/common/ProfileOverlay/index.d.ts +0 -10
  280. package/types/main/components/common/ProfileOverlay/index.d.ts.map +0 -1
  281. package/types/main/components/common/ProfileOverlay/styles.d.ts +0 -36
  282. package/types/main/components/common/ProfileOverlay/styles.d.ts.map +0 -1
  283. package/types/main/components/modules/login/components/Email.d.ts +0 -13
  284. package/types/main/components/modules/login/components/Email.d.ts.map +0 -1
  285. package/types/main/components/modules/login/components/Otp.d.ts +0 -12
  286. package/types/main/components/modules/login/components/Otp.d.ts.map +0 -1
  287. package/types/main/components/modules/login/components/styles/index.d.ts +0 -25
  288. package/types/main/components/modules/login/components/styles/index.d.ts.map +0 -1
  289. package/types/main/components/modules/login/hooks/useLoginFlow.d.ts +0 -18
  290. package/types/main/components/modules/login/hooks/useLoginFlow.d.ts.map +0 -1
  291. package/types/main/utils/SharedDataManager.d.ts +0 -18
  292. package/types/main/utils/SharedDataManager.d.ts.map +0 -1
  293. package/types/main/utils/StallionNaitveUtils.d.ts +0 -7
  294. package/types/main/utils/StallionNaitveUtils.d.ts.map +0 -1
  295. package/types/main/utils/apiUtils.d.ts +0 -7
  296. package/types/main/utils/apiUtils.d.ts.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"names":["React","Component","View","StyleSheet","Text","ScrollView","SafeAreaView","Header","ButtonFullWidth","getStallionMeta","toggleStallionSwitchNative","STALLION_EB_BTN_TXT","STALLION_EB_INFO","STD_MARGIN","COLORS","ErrorBoundary","constructor","props","state","errorText","continueCrash","bind","componentDidCatch","error","stallionMeta","switchState","_error$cause","errorString","name","message","cause","toString","stack","join","console","setState","Error","render","createElement","style","styles","ebContainer","ebContentContainer","ebInfoTextContainer","ebInfoText","buttonText","onPress","ebScrollContainer","contentContainerStyle","ebScrollContentContainer","ebErrorText","children","create","flex","flexDirection","justifyContent","alignItems","paddingHorizontal","width","marginVertical","flexGrow","textAlign","backgroundColor","black7","color","white"],"sourceRoot":"../../../../src","sources":["main/utils/ErrorBoundary.tsx"],"mappings":"AAAA,OAAOA,KAAK,IAAIC,SAAS,QAAQ,OAAO;AACxC,SAASC,IAAI,EAAEC,UAAU,EAAEC,IAAI,EAAEC,UAAU,EAAEC,YAAY,QAAQ,cAAc;AAE/E,OAAOC,MAAM,MAAM,6BAA6B;AAChD,OAAOC,eAAe,MAAM,sCAAsC;AAElE,SACEC,eAAe,EACfC,0BAA0B,QACrB,uBAAuB;AAC9B,SACEC,mBAAmB,EACnBC,gBAAgB,EAChBC,UAAU,QACL,2BAA2B;AAClC,SAASC,MAAM,QAAQ,qBAAqB;AAO5C,MAAMC,aAAa,SAASd,SAAS,CAGnC;EACAe,WAAWA,CAACC,KAA0B,EAAE;IACtC,KAAK,CAACA,KAAK,CAAC;IACZ,IAAI,CAACC,KAAK,GAAG;MACXC,SAAS,EAAE;IACb,CAAC;IACD,IAAI,CAACC,aAAa,GAAG,IAAI,CAACA,aAAa,CAACC,IAAI,CAAC,IAAI,CAAC;EACpD;EACAC,iBAAiBA,CAACC,KAAY,EAAQ;IACpCd,eAAe,CAAEe,YAAY,IAAK;MAChC,IAAIA,YAAY,aAAZA,YAAY,eAAZA,YAAY,CAAEC,WAAW,EAAE;QAAA,IAAAC,YAAA;QAC7BhB,0BAA0B,CAAC,KAAK,CAAC;QACjC,MAAMiB,WAAmB,GAAG,CAC1BJ,KAAK,CAACK,IAAI,EACVL,KAAK,CAACM,OAAO,GAAAH,YAAA,GACbH,KAAK,CAACO,KAAK,cAAAJ,YAAA,uBAAXA,YAAA,CAAaK,QAAQ,CAAC,CAAC,EACvBR,KAAK,CAACS,KAAK,CACZ,CAACC,IAAI,CAAC,GAAG,CAAC;QACXC,OAAO,CAACX,KAAK,CACX,gCAAgC,EAChCA,KAAK,EACL,mCACF,CAAC;QACD,IAAI,CAACY,QAAQ,CAAC;UACZhB,SAAS,EAAEQ;QACb,CAAC,CAAC;MACJ,CAAC,MAAM;QACL,MAAMJ,KAAK;MACb;IACF,CAAC,CAAC;EACJ;EACAH,aAAaA,CAAA,EAAG;IACd,MAAM,IAAIgB,KAAK,CAAC,IAAI,CAAClB,KAAK,CAACC,SAAS,IAAI,EAAE,CAAC;EAC7C;EACAkB,MAAMA,CAAA,EAAG;IACP,IAAI,IAAI,CAACnB,KAAK,CAACC,SAAS,EAAE;MACxB,oBACEnB,KAAA,CAAAsC,aAAA,CAAChC,YAAY;QAACiC,KAAK,EAAEC,MAAM,CAACC;MAAY,gBACtCzC,KAAA,CAAAsC,aAAA,CAAC/B,MAAM,MAAE,CAAC,eACVP,KAAA,CAAAsC,aAAA,CAACpC,IAAI;QAACqC,KAAK,EAAEC,MAAM,CAACE;MAAmB,gBACrC1C,KAAA,CAAAsC,aAAA,CAACpC,IAAI;QAACqC,KAAK,EAAEC,MAAM,CAACG;MAAoB,gBACtC3C,KAAA,CAAAsC,aAAA,CAAClC,IAAI;QAACmC,KAAK,EAAEC,MAAM,CAACI;MAAW,GAAEhC,gBAAuB,CAAC,eACzDZ,KAAA,CAAAsC,aAAA,CAAC9B,eAAe;QACdqC,UAAU,EAAElC,mBAAoB;QAChCmC,OAAO,EAAE,IAAI,CAAC1B;MAAc,CAC7B,CACG,CAAC,eACPpB,KAAA,CAAAsC,aAAA,CAACjC,UAAU;QACTkC,KAAK,EAAEC,MAAM,CAACO,iBAAkB;QAChCC,qBAAqB,EAAER,MAAM,CAACS;MAAyB,gBAEvDjD,KAAA,CAAAsC,aAAA,CAAClC,IAAI;QAACmC,KAAK,EAAEC,MAAM,CAACU;MAAY,GAAE,IAAI,CAAChC,KAAK,CAACC,SAAgB,CACnD,CACR,CACM,CAAC;IAEnB;IACA,OAAO,IAAI,CAACF,KAAK,CAACkC,QAAQ;EAC5B;AACF;AAEA,eAAepC,aAAa;AAE5B,MAAMyB,MAAM,GAAGrC,UAAU,CAACiD,MAAM,CAAC;EAC/BX,WAAW,EAAE;IACXY,IAAI,EAAE,CAAC;IACPC,aAAa,EAAE,QAAQ;IACvBC,cAAc,EAAE,YAAY;IAC5BC,UAAU,EAAE;EACd,CAAC;EACDd,kBAAkB,EAAE;IAClBW,IAAI,EAAE,CAAC;IACPI,iBAAiB,EAAE5C,UAAU;IAC7B6C,KAAK,EAAE;EACT,CAAC;EACDf,mBAAmB,EAAE;IACnBa,UAAU,EAAE,QAAQ;IACpBD,cAAc,EAAE,QAAQ;IACxBI,cAAc,EAAE9C;EAClB,CAAC;EACDoC,wBAAwB,EAAE;IACxBW,QAAQ,EAAE;EACZ,CAAC;EACDhB,UAAU,EAAE;IACViB,SAAS,EAAE,QAAQ;IACnBF,cAAc,EAAE9C;EAClB,CAAC;EACDkC,iBAAiB,EAAE;IACjBM,IAAI,EAAE,CAAC;IACPS,eAAe,EAAEhD,MAAM,CAACiD;EAC1B,CAAC;EACDb,WAAW,EAAE;IACXc,KAAK,EAAElD,MAAM,CAACmD;EAChB;AACF,CAAC,CAAC"}
1
+ {"version":3,"names":["React","Component","View","StyleSheet","Text","ScrollView","SafeAreaView","Header","ButtonFullWidth","getStallionMetaNative","HEADER_TITLE","STALLION_EB_BTN_TXT","STALLION_EB_INFO","STD_MARGIN","COLORS","SWITCH_STATES","ErrorBoundary","constructor","props","state","errorText","continueCrash","bind","componentDidCatch","error","_error$cause","errorString","name","message","cause","toString","stack","join","console","meta","switchState","STAGE","setState","requestAnimationFrame","Error","render","createElement","style","styles","ebContainer","title","ebContentContainer","ebInfoTextContainer","ebInfoText","buttonText","onPress","ebScrollContainer","contentContainerStyle","ebScrollContentContainer","ebErrorText","children","create","flex","flexDirection","justifyContent","alignItems","paddingHorizontal","width","marginVertical","flexGrow","textAlign","backgroundColor","black7","color","white"],"sourceRoot":"../../../../src","sources":["main/utils/ErrorBoundary.tsx"],"mappings":"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"}
@@ -0,0 +1,20 @@
1
+ class EventEmitter {
2
+ events = [];
3
+
4
+ // Method to add event listener
5
+ addEventListener(listener) {
6
+ this.events.push(listener);
7
+ }
8
+
9
+ // Method to remove event listener
10
+ removeEventListener(listenerToRemove) {
11
+ this.events = this.events.filter(listener => listener !== listenerToRemove);
12
+ }
13
+
14
+ // Method to emit an event
15
+ emit(data) {
16
+ this.events.forEach(listener => listener(data));
17
+ }
18
+ }
19
+ export const stallionEventEmitter = new EventEmitter();
20
+ //# sourceMappingURL=StallionEventEmitter.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["EventEmitter","events","addEventListener","listener","push","removeEventListener","listenerToRemove","filter","emit","data","forEach","stallionEventEmitter"],"sourceRoot":"../../../../src","sources":["main/utils/StallionEventEmitter.ts"],"mappings":"AAIA,MAAMA,YAAY,CAAC;EACTC,MAAM,GAAoB,EAAE;;EAEpC;EACAC,gBAAgBA,CAACC,QAAuB,EAAQ;IAC9C,IAAI,CAACF,MAAM,CAACG,IAAI,CAACD,QAAQ,CAAC;EAC5B;;EAEA;EACAE,mBAAmBA,CAACC,gBAA+B,EAAQ;IACzD,IAAI,CAACL,MAAM,GAAG,IAAI,CAACA,MAAM,CAACM,MAAM,CAC7BJ,QAAQ,IAAKA,QAAQ,KAAKG,gBAC7B,CAAC;EACH;;EAEA;EACAE,IAAIA,CAACC,IAA+B,EAAQ;IAC1C,IAAI,CAACR,MAAM,CAACS,OAAO,CAAEP,QAAQ,IAAKA,QAAQ,CAACM,IAAI,CAAC,CAAC;EACnD;AACF;AAEA,OAAO,MAAME,oBAAoB,GAAG,IAAIX,YAAY,CAAC,CAAC"}
@@ -0,0 +1,35 @@
1
+ import StallionNativeModule from '../../StallionNativeModule';
2
+ export const setSdkTokenNative = StallionNativeModule === null || StallionNativeModule === void 0 ? void 0 : StallionNativeModule.updateSdkToken;
3
+ export const getStallionMetaNative = () => {
4
+ return new Promise((resolve, reject) => {
5
+ StallionNativeModule === null || StallionNativeModule === void 0 ? void 0 : StallionNativeModule.getStallionMeta().then(metaString => {
6
+ try {
7
+ resolve(JSON.parse(metaString));
8
+ } catch (_) {
9
+ reject('invalid meta string');
10
+ }
11
+ }).catch(() => {
12
+ reject('failed to fetch meta string');
13
+ });
14
+ });
15
+ };
16
+ export const getStallionConfigNative = () => {
17
+ return new Promise((resolve, reject) => {
18
+ StallionNativeModule === null || StallionNativeModule === void 0 ? void 0 : StallionNativeModule.getStallionConfig().then(configString => {
19
+ try {
20
+ resolve(JSON.parse(configString));
21
+ } catch (_) {
22
+ reject('invalid config string');
23
+ }
24
+ }).catch(() => {
25
+ reject('failed to fetch config string');
26
+ });
27
+ });
28
+ };
29
+ export const toggleStallionSwitchNative = StallionNativeModule === null || StallionNativeModule === void 0 ? void 0 : StallionNativeModule.toggleStallionSwitch;
30
+ export const downloadBundleNative = StallionNativeModule === null || StallionNativeModule === void 0 ? void 0 : StallionNativeModule.downloadStageBundle;
31
+ export const onLaunchNative = StallionNativeModule === null || StallionNativeModule === void 0 ? void 0 : StallionNativeModule.onLaunch;
32
+ export const sync = StallionNativeModule === null || StallionNativeModule === void 0 ? void 0 : StallionNativeModule.sync;
33
+ export const popEventsNative = StallionNativeModule === null || StallionNativeModule === void 0 ? void 0 : StallionNativeModule.popEvents;
34
+ export const acknowledgeEventsNative = StallionNativeModule === null || StallionNativeModule === void 0 ? void 0 : StallionNativeModule.acknowledgeEvents;
35
+ //# sourceMappingURL=StallionNativeUtils.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["StallionNativeModule","setSdkTokenNative","updateSdkToken","getStallionMetaNative","Promise","resolve","reject","getStallionMeta","then","metaString","JSON","parse","_","catch","getStallionConfigNative","getStallionConfig","configString","toggleStallionSwitchNative","toggleStallionSwitch","downloadBundleNative","downloadStageBundle","onLaunchNative","onLaunch","sync","popEventsNative","popEvents","acknowledgeEventsNative","acknowledgeEvents"],"sourceRoot":"../../../../src","sources":["main/utils/StallionNativeUtils.ts"],"mappings":"AAAA,OAAOA,oBAAoB,MAAM,4BAA4B;AAW7D,OAAO,MAAMC,iBAAqC,GAChDD,oBAAoB,aAApBA,oBAAoB,uBAApBA,oBAAoB,CAAEE,cAAc;AAEtC,OAAO,MAAMC,qBAA6C,GAAGA,CAAA,KAAM;EACjE,OAAO,IAAIC,OAAO,CAAC,CAACC,OAAO,EAAEC,MAAM,KAAK;IACtCN,oBAAoB,aAApBA,oBAAoB,uBAApBA,oBAAoB,CAAEO,eAAe,CAAC,CAAC,CACpCC,IAAI,CAAEC,UAAkB,IAAK;MAC5B,IAAI;QACFJ,OAAO,CAACK,IAAI,CAACC,KAAK,CAACF,UAAU,CAAC,CAAC;MACjC,CAAC,CAAC,OAAOG,CAAC,EAAE;QACVN,MAAM,CAAC,qBAAqB,CAAC;MAC/B;IACF,CAAC,CAAC,CACDO,KAAK,CAAC,MAAM;MACXP,MAAM,CAAC,6BAA6B,CAAC;IACvC,CAAC,CAAC;EACN,CAAC,CAAC;AACJ,CAAC;AAED,OAAO,MAAMQ,uBAAiD,GAAGA,CAAA,KAAM;EACrE,OAAO,IAAIV,OAAO,CAAC,CAACC,OAAO,EAAEC,MAAM,KAAK;IACtCN,oBAAoB,aAApBA,oBAAoB,uBAApBA,oBAAoB,CAAEe,iBAAiB,CAAC,CAAC,CACtCP,IAAI,CAAEQ,YAAoB,IAAK;MAC9B,IAAI;QACFX,OAAO,CAACK,IAAI,CAACC,KAAK,CAACK,YAAY,CAAC,CAAC;MACnC,CAAC,CAAC,OAAOJ,CAAC,EAAE;QACVN,MAAM,CAAC,uBAAuB,CAAC;MACjC;IACF,CAAC,CAAC,CACDO,KAAK,CAAC,MAAM;MACXP,MAAM,CAAC,+BAA+B,CAAC;IACzC,CAAC,CAAC;EACN,CAAC,CAAC;AACJ,CAAC;AAED,OAAO,MAAMW,0BAAuD,GAClEjB,oBAAoB,aAApBA,oBAAoB,uBAApBA,oBAAoB,CAAEkB,oBAAoB;AAE5C,OAAO,MAAMC,oBAA2C,GACtDnB,oBAAoB,aAApBA,oBAAoB,uBAApBA,oBAAoB,CAAEoB,mBAAmB;AAE3C,OAAO,MAAMC,cAAqC,GAChDrB,oBAAoB,aAApBA,oBAAoB,uBAApBA,oBAAoB,CAAEsB,QAAQ;AAEhC,OAAO,MAAMC,IAAgB,GAAGvB,oBAAoB,aAApBA,oBAAoB,uBAApBA,oBAAoB,CAAEuB,IAAI;AAE1D,OAAO,MAAMC,eAAsC,GACjDxB,oBAAoB,aAApBA,oBAAoB,uBAApBA,oBAAoB,CAAEyB,SAAS;AAEjC,OAAO,MAAMC,uBAA8D,GACzE1B,oBAAoB,aAApBA,oBAAoB,uBAApBA,oBAAoB,CAAE2B,iBAAiB"}
@@ -0,0 +1,16 @@
1
+ function debounce(func, delay) {
2
+ let timeoutId = null;
3
+ return function () {
4
+ for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
5
+ args[_key] = arguments[_key];
6
+ }
7
+ if (timeoutId) {
8
+ clearTimeout(timeoutId);
9
+ }
10
+ timeoutId = setTimeout(() => {
11
+ func(...args);
12
+ }, delay);
13
+ };
14
+ }
15
+ export default debounce;
16
+ //# sourceMappingURL=debounce.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["debounce","func","delay","timeoutId","_len","arguments","length","args","Array","_key","clearTimeout","setTimeout"],"sourceRoot":"../../../../src","sources":["main/utils/debounce.ts"],"mappings":"AAAA,SAASA,QAAQA,CACfC,IAAO,EACPC,KAAa,EACqB;EAClC,IAAIC,SAA+C,GAAG,IAAI;EAE1D,OAAO,YAA4B;IAAA,SAAAC,IAAA,GAAAC,SAAA,CAAAC,MAAA,EAAxBC,IAAI,OAAAC,KAAA,CAAAJ,IAAA,GAAAK,IAAA,MAAAA,IAAA,GAAAL,IAAA,EAAAK,IAAA;MAAJF,IAAI,CAAAE,IAAA,IAAAJ,SAAA,CAAAI,IAAA;IAAA;IACb,IAAIN,SAAS,EAAE;MACbO,YAAY,CAACP,SAAS,CAAC;IACzB;IAEAA,SAAS,GAAGQ,UAAU,CAAC,MAAM;MAC3BV,IAAI,CAAC,GAAGM,IAAI,CAAC;IACf,CAAC,EAAEL,KAAK,CAAC;EACX,CAAC;AACH;AAEA,eAAeF,QAAQ"}
@@ -0,0 +1,28 @@
1
+ import { useCallback } from 'react';
2
+ import { API_BASE_URL } from '../constants/apiConstants';
3
+ export const useApiClient = (configState, authHandler) => {
4
+ const getData = useCallback((apiPath, apiBody) => {
5
+ const dataRequest = fetch(API_BASE_URL + apiPath, {
6
+ method: 'POST',
7
+ body: JSON.stringify(apiBody),
8
+ headers: {
9
+ 'Accept': 'application/json',
10
+ 'Content-Type': 'application/json',
11
+ 'x-app-token': configState.appToken || '',
12
+ 'x-sdk-pin-access-token': configState.sdkToken || ''
13
+ }
14
+ });
15
+ if (authHandler) {
16
+ return dataRequest.then(res => {
17
+ if (res.status === 401) {
18
+ authHandler(true);
19
+ }
20
+ return res.json();
21
+ });
22
+ } else return dataRequest.then(res => res.json());
23
+ }, [configState, authHandler]);
24
+ return {
25
+ getData
26
+ };
27
+ };
28
+ //# sourceMappingURL=useApiClient.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["useCallback","API_BASE_URL","useApiClient","configState","authHandler","getData","apiPath","apiBody","dataRequest","fetch","method","body","JSON","stringify","headers","appToken","sdkToken","then","res","status","json"],"sourceRoot":"../../../../src","sources":["main/utils/useApiClient.ts"],"mappings":"AAAA,SAASA,WAAW,QAAQ,OAAO;AACnC,SAASC,YAAY,QAAmB,2BAA2B;AAKnE,OAAO,MAAMC,YAAY,GAAGA,CAC1BC,WAAgC,EAChCC,WAA0B,KACvB;EACH,MAAMC,OAAO,GAAGL,WAAW,CACzB,CAACM,OAAkB,EAAEC,OAAe,KAAmB;IACrD,MAAMC,WAAW,GAAGC,KAAK,CAACR,YAAY,GAAGK,OAAO,EAAE;MAChDI,MAAM,EAAE,MAAM;MACdC,IAAI,EAAEC,IAAI,CAACC,SAAS,CAACN,OAAO,CAAC;MAC7BO,OAAO,EAAE;QACP,QAAQ,EAAE,kBAAkB;QAC5B,cAAc,EAAE,kBAAkB;QAClC,aAAa,EAAEX,WAAW,CAACY,QAAQ,IAAI,EAAE;QACzC,wBAAwB,EAAEZ,WAAW,CAACa,QAAQ,IAAI;MACpD;IACF,CAAC,CAAC;IACF,IAAIZ,WAAW,EAAE;MACf,OAAOI,WAAW,CAACS,IAAI,CAAEC,GAAG,IAAK;QAC/B,IAAIA,GAAG,CAACC,MAAM,KAAK,GAAG,EAAE;UACtBf,WAAW,CAAC,IAAI,CAAC;QACnB;QACA,OAAOc,GAAG,CAACE,IAAI,CAAC,CAAC;MACnB,CAAC,CAAC;IACJ,CAAC,MAAM,OAAOZ,WAAW,CAACS,IAAI,CAAEC,GAAG,IAAKA,GAAG,CAACE,IAAI,CAAC,CAAC,CAAC;EACrD,CAAC,EACD,CAACjB,WAAW,EAAEC,WAAW,CAC3B,CAAC;EACD,OAAO;IACLC;EACF,CAAC;AACH,CAAC"}
@@ -3,13 +3,14 @@ import { GlobalContext } from '../../main/state';
3
3
  const useStallionModal = () => {
4
4
  const {
5
5
  actions: {
6
- setIsModalVisible
6
+ setIsModalVisible,
7
+ refreshMeta
7
8
  }
8
9
  } = useContext(GlobalContext);
9
10
  const showModal = useCallback(() => {
10
11
  setIsModalVisible(true);
11
- // eslint-disable-next-line react-hooks/exhaustive-deps
12
- }, []);
12
+ refreshMeta();
13
+ }, [setIsModalVisible, refreshMeta]);
13
14
  return {
14
15
  showModal
15
16
  };
@@ -1 +1 @@
1
- {"version":3,"names":["useContext","useCallback","GlobalContext","useStallionModal","actions","setIsModalVisible","showModal"],"sourceRoot":"../../../../src","sources":["main/utils/useStallionModal.ts"],"mappings":"AAAA,SAASA,UAAU,EAAEC,WAAW,QAAQ,OAAO;AAE/C,SAASC,aAAa,QAAQ,kBAAkB;AAGhD,MAAMC,gBAAgB,GAAGA,CAAA,KAAyB;EAChD,MAAM;IACJC,OAAO,EAAE;MAAEC;IAAkB;EAC/B,CAAC,GAAGL,UAAU,CAACE,aAAa,CAAC;EAC7B,MAAMI,SAAS,GAAGL,WAAW,CAAC,MAAM;IAClCI,iBAAiB,CAAC,IAAI,CAAC;IACvB;EACF,CAAC,EAAE,EAAE,CAAC;EACN,OAAO;IACLC;EACF,CAAC;AACH,CAAC;AAED,eAAeH,gBAAgB"}
1
+ {"version":3,"names":["useContext","useCallback","GlobalContext","useStallionModal","actions","setIsModalVisible","refreshMeta","showModal"],"sourceRoot":"../../../../src","sources":["main/utils/useStallionModal.ts"],"mappings":"AAAA,SAASA,UAAU,EAAEC,WAAW,QAAQ,OAAO;AAE/C,SAASC,aAAa,QAAQ,kBAAkB;AAGhD,MAAMC,gBAAgB,GAAGA,CAAA,KAAyB;EAChD,MAAM;IACJC,OAAO,EAAE;MAAEC,iBAAiB;MAAEC;IAAY;EAC5C,CAAC,GAAGN,UAAU,CAACE,aAAa,CAAC;EAC7B,MAAMK,SAAS,GAAGN,WAAW,CAAC,MAAM;IAClCI,iBAAiB,CAAC,IAAI,CAAC;IACvBC,WAAW,CAAC,CAAC;EACf,CAAC,EAAE,CAACD,iBAAiB,EAAEC,WAAW,CAAC,CAAC;EACpC,OAAO;IACLC;EACF,CAAC;AACH,CAAC;AAED,eAAeJ,gBAAgB"}
@@ -0,0 +1,14 @@
1
+ import { useContext } from 'react';
2
+ import { GlobalContext } from '../state';
3
+ export const useStallionUpdate = () => {
4
+ var _updateMetaState$newB;
5
+ const {
6
+ updateMetaState
7
+ } = useContext(GlobalContext);
8
+ return {
9
+ isRestartRequired: updateMetaState !== null && updateMetaState !== void 0 && (_updateMetaState$newB = updateMetaState.newBundle) !== null && _updateMetaState$newB !== void 0 && _updateMetaState$newB.id ? true : false,
10
+ currentlyRunningBundle: updateMetaState === null || updateMetaState === void 0 ? void 0 : updateMetaState.currentlyRunningBundle,
11
+ newReleaseBundle: updateMetaState === null || updateMetaState === void 0 ? void 0 : updateMetaState.newBundle
12
+ };
13
+ };
14
+ //# sourceMappingURL=useStallionUpdate.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["useContext","GlobalContext","useStallionUpdate","_updateMetaState$newB","updateMetaState","isRestartRequired","newBundle","id","currentlyRunningBundle","newReleaseBundle"],"sourceRoot":"../../../../src","sources":["main/utils/useStallionUpdate.ts"],"mappings":"AAAA,SAASA,UAAU,QAAQ,OAAO;AAElC,SAASC,aAAa,QAAQ,UAAU;AAGxC,OAAO,MAAMC,iBAAiB,GAAGA,CAAA,KAA0B;EAAA,IAAAC,qBAAA;EACzD,MAAM;IAAEC;EAAgB,CAAC,GAAGJ,UAAU,CAACC,aAAa,CAAC;EACrD,OAAO;IACLI,iBAAiB,EAAED,eAAe,aAAfA,eAAe,gBAAAD,qBAAA,GAAfC,eAAe,CAAEE,SAAS,cAAAH,qBAAA,eAA1BA,qBAAA,CAA4BI,EAAE,GAAG,IAAI,GAAG,KAAK;IAChEC,sBAAsB,EAAEJ,eAAe,aAAfA,eAAe,uBAAfA,eAAe,CAAEI,sBAAsB;IAC/DC,gBAAgB,EAAEL,eAAe,aAAfA,eAAe,uBAAfA,eAAe,CAAEE;EACrC,CAAC;AACH,CAAC"}
@@ -1,11 +1,8 @@
1
1
  import React from 'react';
2
2
  import GlobalProvider from '../state';
3
3
  import ErrorBoundary from './ErrorBoundary';
4
- import SharedDataManager from './SharedDataManager';
5
4
  import StallionModal from '../components/modules/modal/StallionModal';
6
- const withStallion = (BaseComponent, initPrams) => {
7
- var _SharedDataManager$ge;
8
- (_SharedDataManager$ge = SharedDataManager.getInstance()) === null || _SharedDataManager$ge === void 0 ? void 0 : _SharedDataManager$ge.setInitProjectId((initPrams === null || initPrams === void 0 ? void 0 : initPrams.projectId) || '');
5
+ const withStallion = BaseComponent => {
9
6
  const StallionProvider = _ref => {
10
7
  let {
11
8
  children,
@@ -1 +1 @@
1
- {"version":3,"names":["React","GlobalProvider","ErrorBoundary","SharedDataManager","StallionModal","withStallion","BaseComponent","initPrams","_SharedDataManager$ge","getInstance","setInitProjectId","projectId","StallionProvider","_ref","children","props","createElement"],"sourceRoot":"../../../../src","sources":["main/utils/withStallion.tsx"],"mappings":"AAAA,OAAOA,KAAK,MAAyB,OAAO;AAE5C,OAAOC,cAAc,MAAM,UAAU;AACrC,OAAOC,aAAa,MAAM,iBAAiB;AAC3C,OAAOC,iBAAiB,MAAM,qBAAqB;AAEnD,OAAOC,aAAa,MAAM,2CAA2C;AAIrE,MAAMC,YAAY,GAAGA,CACnBC,aAA+B,EAC/BC,SAA+B,KAC5B;EAAA,IAAAC,qBAAA;EACH,CAAAA,qBAAA,GAAAL,iBAAiB,CAACM,WAAW,CAAC,CAAC,cAAAD,qBAAA,uBAA/BA,qBAAA,CAAiCE,gBAAgB,CAAC,CAAAH,SAAS,aAATA,SAAS,uBAATA,SAAS,CAAEI,SAAS,KAAI,EAAE,CAAC;EAC7E,MAAMC,gBAA6B,GAAGC,IAAA,IAA4B;IAAA,IAA3B;MAAEC,QAAQ;MAAE,GAAGC;IAAM,CAAC,GAAAF,IAAA;IAC3D,oBACEb,KAAA,CAAAgB,aAAA,CAACd,aAAa,qBACZF,KAAA,CAAAgB,aAAA,CAACf,cAAc,qBACbD,KAAA,CAAAgB,aAAA,CAACV,aAAa,EAAMS,KAAK,EAASD,QAAwB,CAAC,eAC3Dd,KAAA,CAAAgB,aAAA,CAACZ,aAAa,MAAE,CACF,CACH,CAAC;EAEpB,CAAC;EACD,OAAOQ,gBAAgB;AACzB,CAAC;AAED,eAAeP,YAAY"}
1
+ {"version":3,"names":["React","GlobalProvider","ErrorBoundary","StallionModal","withStallion","BaseComponent","StallionProvider","_ref","children","props","createElement"],"sourceRoot":"../../../../src","sources":["main/utils/withStallion.tsx"],"mappings":"AAAA,OAAOA,KAAK,MAAyB,OAAO;AAE5C,OAAOC,cAAc,MAAM,UAAU;AACrC,OAAOC,aAAa,MAAM,iBAAiB;AAE3C,OAAOC,aAAa,MAAM,2CAA2C;AAErE,MAAMC,YAAY,GAAQC,aAA+B,IAAK;EAC5D,MAAMC,gBAA6B,GAAGC,IAAA,IAA4B;IAAA,IAA3B;MAAEC,QAAQ;MAAE,GAAGC;IAAM,CAAC,GAAAF,IAAA;IAC3D,oBACEP,KAAA,CAAAU,aAAA,CAACR,aAAa,qBACZF,KAAA,CAAAU,aAAA,CAACT,cAAc,qBACbD,KAAA,CAAAU,aAAA,CAACL,aAAa,EAAMI,KAAK,EAASD,QAAwB,CAAC,eAC3DR,KAAA,CAAAU,aAAA,CAACP,aAAa,MAAE,CACF,CACH,CAAC;EAEpB,CAAC;EACD,OAAOG,gBAAgB;AACzB,CAAC;AAED,eAAeF,YAAY"}
@@ -0,0 +1,5 @@
1
+ export let ConfigActionKind = /*#__PURE__*/function (ConfigActionKind) {
2
+ ConfigActionKind["SET_CONFIG"] = "SET_CONFIG";
3
+ return ConfigActionKind;
4
+ }({});
5
+ //# sourceMappingURL=config.types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["ConfigActionKind"],"sourceRoot":"../../../src","sources":["types/config.types.ts"],"mappings":"AAQA,WAAYA,gBAAgB,0BAAhBA,gBAAgB;EAAhBA,gBAAgB;EAAA,OAAhBA,gBAAgB;AAAA"}
@@ -1,3 +1,14 @@
1
+ export let SWITCH_STATES = /*#__PURE__*/function (SWITCH_STATES) {
2
+ SWITCH_STATES["PROD"] = "PROD";
3
+ SWITCH_STATES["STAGE"] = "STAGE";
4
+ return SWITCH_STATES;
5
+ }({});
6
+ export let SLOT_STATES = /*#__PURE__*/function (SLOT_STATES) {
7
+ SLOT_STATES["STABLE"] = "STABLE_SLOT";
8
+ SLOT_STATES["NEW"] = "NEW_SLOT";
9
+ SLOT_STATES["DEFAULT"] = "DEFAULT_SLOT";
10
+ return SLOT_STATES;
11
+ }({});
1
12
  export let MetaActionKind = /*#__PURE__*/function (MetaActionKind) {
2
13
  MetaActionKind["SET_META"] = "SET_META";
3
14
  MetaActionKind["GET_META"] = "GET_META";
@@ -1 +1 @@
1
- {"version":3,"names":["MetaActionKind"],"sourceRoot":"../../../src","sources":["types/meta.types.ts"],"mappings":"AAMA,WAAYA,cAAc,0BAAdA,cAAc;EAAdA,cAAc;EAAdA,cAAc;EAAA,OAAdA,cAAc;AAAA"}
1
+ {"version":3,"names":["SWITCH_STATES","SLOT_STATES","MetaActionKind"],"sourceRoot":"../../../src","sources":["types/meta.types.ts"],"mappings":"AAAA,WAAYA,aAAa,0BAAbA,aAAa;EAAbA,aAAa;EAAbA,aAAa;EAAA,OAAbA,aAAa;AAAA;AAKzB,WAAYC,WAAW,0BAAXA,WAAW;EAAXA,WAAW;EAAXA,WAAW;EAAXA,WAAW;EAAA,OAAXA,WAAW;AAAA;AAmBvB,WAAYC,cAAc,0BAAdA,cAAc;EAAdA,cAAc;EAAdA,cAAc;EAAA,OAAdA,cAAc;AAAA"}
@@ -0,0 +1,7 @@
1
+ export let UpdateMetaActionKind = /*#__PURE__*/function (UpdateMetaActionKind) {
2
+ UpdateMetaActionKind["SET_CURRENTLY_RUNNING_META"] = "SET_CURRENTLY_RUNNING_META";
3
+ UpdateMetaActionKind["SET_NEW_BUNDLE_META"] = "SET_NEW_BUNDLE_META";
4
+ UpdateMetaActionKind["SET_INIT_PROD_SLOT"] = "SET_INIT_PROD_SLOT";
5
+ return UpdateMetaActionKind;
6
+ }({});
7
+ //# sourceMappingURL=updateMeta.types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["UpdateMetaActionKind"],"sourceRoot":"../../../src","sources":["types/updateMeta.types.ts"],"mappings":"AAmBA,WAAYA,oBAAoB,0BAApBA,oBAAoB;EAApBA,oBAAoB;EAApBA,oBAAoB;EAApBA,oBAAoB;EAAA,OAApBA,oBAAoB;AAAA"}
@@ -2,8 +2,7 @@ export let UserActionKind = /*#__PURE__*/function (UserActionKind) {
2
2
  UserActionKind["SET_USER_LOADING"] = "SET_USER_LOADING";
3
3
  UserActionKind["SET_USER_DATA"] = "SET_USER_DATA";
4
4
  UserActionKind["SET_USER_ERROR"] = "SET_USER_ERROR";
5
- UserActionKind["SET_TEMP_OTP"] = "SET_TEMP_OTP";
6
- UserActionKind["SET_LOGIN_REQUIRED"] = "SET_LOGIN_REQUIRED";
5
+ UserActionKind["SET_SDK_TOKEN"] = "SET_SDK_TOKEN";
7
6
  return UserActionKind;
8
7
  }({});
9
8
  //# sourceMappingURL=user.types.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["UserActionKind"],"sourceRoot":"../../../src","sources":["types/user.types.ts"],"mappings":"AAaA,WAAYA,cAAc,0BAAdA,cAAc;EAAdA,cAAc;EAAdA,cAAc;EAAdA,cAAc;EAAdA,cAAc;EAAdA,cAAc;EAAA,OAAdA,cAAc;AAAA"}
1
+ {"version":3,"names":["UserActionKind"],"sourceRoot":"../../../src","sources":["types/user.types.ts"],"mappings":"AAMA,WAAYA,cAAc,0BAAdA,cAAc;EAAdA,cAAc;EAAdA,cAAc;EAAdA,cAAc;EAAdA,cAAc;EAAA,OAAdA,cAAc;AAAA"}
package/types/index.d.ts CHANGED
@@ -1,4 +1,7 @@
1
1
  import { IUseStallionModal, IWithStallion } from './types/utils.types';
2
2
  export declare let withStallion: IWithStallion;
3
3
  export declare let useStallionModal: () => IUseStallionModal;
4
+ export { sync } from './main/utils/StallionNativeUtils';
5
+ export { useStallionUpdate } from './main/utils/useStallionUpdate';
6
+ export declare const addEventListener: (listener: (data?: import("./main/state/useStallionEvents").IStallionNativeEventData | undefined) => void) => void;
4
7
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.tsx"],"names":[],"mappings":"AAaA,OAAO,EAEL,iBAAiB,EACjB,aAAa,EACd,MAAM,qBAAqB,CAAC;AAK7B,eAAO,IAAI,YAAY,EAAE,aAAa,CAAC;AACvC,eAAO,IAAI,gBAAgB,EAAE,MAAM,iBAAiB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.tsx"],"names":[],"mappings":"AAYA,OAAO,EAAE,iBAAiB,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AAGvE,eAAO,IAAI,YAAY,EAAE,aAAa,CAAC;AACvC,eAAO,IAAI,gBAAgB,EAAE,MAAM,iBAAiB,CAAC;AAWrD,OAAO,EAAE,IAAI,EAAE,MAAM,kCAAkC,CAAC;AACxD,OAAO,EAAE,iBAAiB,EAAE,MAAM,gCAAgC,CAAC;AACnE,eAAO,MAAM,gBAAgB,oHACqC,CAAC"}
@@ -2,11 +2,8 @@ import React from 'react';
2
2
  interface IFooter {
3
3
  switchIsOn?: boolean;
4
4
  onSwitchToggle?: (newSwitchStatus: boolean) => void;
5
- activeBundle?: {
6
- bucketName: string;
7
- version: string;
8
- };
9
5
  errorMessage?: string | null;
6
+ isRestartRequired?: boolean;
10
7
  }
11
8
  declare const _default: React.NamedExoticComponent<IFooter>;
12
9
  export default _default;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/main/components/common/Footer/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA4B,MAAM,OAAO,CAAC;AAajD,UAAU,OAAO;IACf,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,cAAc,CAAC,EAAE,CAAC,eAAe,EAAE,OAAO,KAAK,IAAI,CAAC;IACpD,YAAY,CAAC,EAAE;QACb,UAAU,EAAE,MAAM,CAAC;QACnB,OAAO,EAAE,MAAM,CAAC;KACjB,CAAC;IACF,YAAY,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CAC9B;;AA6DD,wBAA4B"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/main/components/common/Footer/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA4B,MAAM,OAAO,CAAC;AAUjD,UAAU,OAAO;IACf,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,cAAc,CAAC,EAAE,CAAC,eAAe,EAAE,OAAO,KAAK,IAAI,CAAC;IACpD,YAAY,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B,iBAAiB,CAAC,EAAE,OAAO,CAAC;CAC7B;;AAgED,wBAA4B"}
@@ -22,54 +22,55 @@ declare const styles: {
22
22
  alignItems: "center";
23
23
  justifyContent: "center";
24
24
  };
25
- errTxt: {
25
+ restartInfoSection: {
26
+ height: number;
27
+ backgroundColor: string;
28
+ alignItems: "center";
29
+ justifyContent: "center";
30
+ };
31
+ ribbonMessage: {
26
32
  fontSize: number;
27
33
  color: string;
28
34
  marginHorizontal: number;
35
+ fontWeight: "bold";
29
36
  };
30
37
  footerContainer: {
31
38
  paddingHorizontal: number;
32
39
  paddingVertical: number;
33
40
  flexDirection: "row";
34
- justifyContent: "space-between";
41
+ justifyContent: "center";
35
42
  alignItems: "center";
36
43
  backgroundColor: string;
37
44
  };
38
- infoTitle: {
39
- fontSize: number;
40
- color: string;
41
- };
42
- infoSubTitle: {
43
- fontSize: number;
44
- marginTop: number;
45
- color: string;
46
- };
47
- alignCenter: {
45
+ switchContainer: {
46
+ borderWidth: number;
47
+ borderColor: string;
48
+ padding: number;
49
+ flexDirection: "row";
50
+ justifyContent: "center";
48
51
  alignItems: "center";
52
+ borderRadius: number;
49
53
  };
50
- dividerSection: {
51
- flex: number;
52
- justifyContent: "flex-start";
53
- };
54
- dividerSection2: {
54
+ tabContainer: {
55
55
  flex: number;
56
- justifyContent: "flex-start";
57
- };
58
- bold: {
59
- fontWeight: "bold";
56
+ flexDirection: "column";
57
+ justifyContent: "center";
58
+ alignContent: "center";
59
+ padding: number;
60
+ borderRadius: number;
60
61
  };
61
- noDownloadText: {
62
- alignSelf: "center";
63
- color: string;
62
+ tabSelected: {
63
+ backgroundColor: string;
64
64
  };
65
- greenColor: {
65
+ titleSelected: {
66
+ fontSize: number;
66
67
  color: string;
67
68
  };
68
- redColor: {
69
+ titleBasic: {
70
+ textAlign: "center";
71
+ fontSize: number;
69
72
  color: string;
70
- };
71
- switchButton: {
72
- marginTop: number;
73
+ fontWeight: "bold";
73
74
  };
74
75
  };
75
76
  export default styles;
@@ -1 +1 @@
1
- {"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../../../src/main/components/common/Footer/styles.ts"],"names":[],"mappings":"AAKA,QAAA,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAsEV,CAAC;AAEH,eAAe,MAAM,CAAC"}
1
+ {"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../../../src/main/components/common/Footer/styles.ts"],"names":[],"mappings":"AAKA,QAAA,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAuEV,CAAC;AAEH,eAAe,MAAM,CAAC"}
@@ -1,10 +1,8 @@
1
1
  import React from 'react';
2
2
  interface IHeader {
3
- userName?: string | null;
4
3
  title?: string | null;
5
4
  onBackPress?: (() => void) | null;
6
5
  onClosePress?: () => void;
7
- onProfilePress?: () => void;
8
6
  }
9
7
  declare const _default: React.NamedExoticComponent<IHeader>;
10
8
  export default _default;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/main/components/common/Header/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAsC,MAAM,OAAO,CAAC;AAW3D,UAAU,OAAO;IACf,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB,WAAW,CAAC,EAAE,CAAC,MAAM,IAAI,CAAC,GAAG,IAAI,CAAC;IAClC,YAAY,CAAC,EAAE,MAAM,IAAI,CAAC;IAC1B,cAAc,CAAC,EAAE,MAAM,IAAI,CAAC;CAC7B;;AA8DD,wBAA4B"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/main/components/common/Header/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAsC,MAAM,OAAO,CAAC;AAW3D,UAAU,OAAO;IACf,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB,WAAW,CAAC,EAAE,CAAC,MAAM,IAAI,CAAC,GAAG,IAAI,CAAC;IAClC,YAAY,CAAC,EAAE,MAAM,IAAI,CAAC;CAC3B;;AAqDD,wBAA4B"}
@@ -20,7 +20,6 @@ declare const styles: {
20
20
  flex: number;
21
21
  justifyContent: "center";
22
22
  alignItems: "flex-end";
23
- padding: number;
24
23
  };
25
24
  headerProfileButton: {
26
25
  height: number;
@@ -29,6 +28,7 @@ declare const styles: {
29
28
  justifyContent: "center";
30
29
  alignItems: "center";
31
30
  backgroundColor: string;
31
+ marginLeft: number;
32
32
  };
33
33
  headerCenterSection: {
34
34
  flex: number;
@@ -40,9 +40,14 @@ declare const styles: {
40
40
  color: string;
41
41
  fontWeight: "bold";
42
42
  };
43
+ actionButtonClickable: {
44
+ padding: number;
45
+ };
43
46
  actionButtonText: {
44
47
  fontSize: number;
45
48
  color: string;
49
+ fontWeight: "bold";
50
+ textDecorationLine: "underline";
46
51
  };
47
52
  alignStart: {
48
53
  alignItems: "flex-start";
@@ -1 +1 @@
1
- {"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../../../src/main/components/common/Header/styles.ts"],"names":[],"mappings":"AAOA,QAAA,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAsDV,CAAC;AAEH,eAAe,MAAM,CAAC"}
1
+ {"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../../../src/main/components/common/Header/styles.ts"],"names":[],"mappings":"AAUA,QAAA,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA2DV,CAAC;AAEH,eAAe,MAAM,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/main/components/common/Spinner/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAe,MAAM,OAAO,CAAC;;AAOpC,wBAA6B"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/main/components/common/Spinner/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAe,MAAM,OAAO,CAAC;;AAQpC,wBAA6B"}
@@ -1 +1 @@
1
- {"version":3,"file":"BucketCard.d.ts","sourceRoot":"","sources":["../../../../../../../src/main/components/modules/listing/components/BucketCard.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAoC,MAAM,OAAO,CAAC;AAMzD,OAAO,EAAE,UAAU,EAAE,MAAM,oCAAoC,CAAC;AAGhE,MAAM,WAAW,WAAW;IAC1B,IAAI,EAAE,UAAU,CAAC,MAAM,CAAC;IACxB,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,EAAE,MAAM,CAAC;IAClB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,WAAW,CAAC,EAAE,MAAM,IAAI,CAAC;CAC1B;;AAiCD,wBAAgC"}
1
+ {"version":3,"file":"BucketCard.d.ts","sourceRoot":"","sources":["../../../../../../../src/main/components/modules/listing/components/BucketCard.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAoC,MAAM,OAAO,CAAC;AAMzD,OAAO,EAAE,UAAU,EAAE,MAAM,oCAAoC,CAAC;AAIhE,MAAM,WAAW,WAAW;IAC1B,IAAI,EAAE,UAAU,CAAC,MAAM,CAAC;IACxB,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,EAAE,MAAM,CAAC;IAClB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,WAAW,CAAC,EAAE,MAAM,IAAI,CAAC;CAC1B;;AA6BD,wBAAgC"}
@@ -1 +1 @@
1
- {"version":3,"file":"BundleCard.d.ts","sourceRoot":"","sources":["../../../../../../../src/main/components/modules/listing/components/BundleCard.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAoC,MAAM,OAAO,CAAC;AAOzD,OAAO,EAAE,UAAU,EAAE,MAAM,oCAAoC,CAAC;AAEhE,MAAM,WAAW,WAAW;IAC1B,IAAI,EAAE,UAAU,CAAC,MAAM,CAAC;IACxB,OAAO,EAAE,MAAM,CAAC;IAChB,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;IACpB,SAAS,EAAE,MAAM,CAAC;IAClB,MAAM,EAAE,MAAM,CAAC;IACf,WAAW,EAAE,MAAM,CAAC;CACrB;;AAyCD,wBAAgC"}
1
+ {"version":3,"file":"BundleCard.d.ts","sourceRoot":"","sources":["../../../../../../../src/main/components/modules/listing/components/BundleCard.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAoC,MAAM,OAAO,CAAC;AAMzD,OAAO,EAAE,UAAU,EAAE,MAAM,oCAAoC,CAAC;AAGhE,MAAM,WAAW,WAAW;IAC1B,IAAI,EAAE,UAAU,CAAC,MAAM,CAAC;IACxB,OAAO,EAAE,MAAM,CAAC;IAChB,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;IACpB,SAAS,EAAE,MAAM,CAAC;IAClB,MAAM,EAAE,MAAM,CAAC;IACf,WAAW,EAAE,MAAM,CAAC;CACrB;;AAqCD,wBAAgC"}
@@ -1,10 +1,12 @@
1
1
  import React from 'react';
2
2
  interface IBundleCardInfoSection {
3
+ id: string;
3
4
  name: string;
4
5
  updatedAt: string;
5
6
  description?: string;
6
7
  version?: number;
7
8
  author?: string;
9
+ isDownloaded?: boolean;
8
10
  isApplied?: boolean;
9
11
  downloadUrl: string;
10
12
  }
@@ -1 +1 @@
1
- {"version":3,"file":"BundleCardInfoSection.d.ts","sourceRoot":"","sources":["../../../../../../../src/main/components/modules/listing/components/BundleCardInfoSection.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAiD,MAAM,OAAO,CAAC;AAsBtE,UAAU,sBAAsB;IAC9B,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,EAAE,MAAM,CAAC;IAClB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,WAAW,EAAE,MAAM,CAAC;CACrB;;AA0ED,wBAA2C"}
1
+ {"version":3,"file":"BundleCardInfoSection.d.ts","sourceRoot":"","sources":["../../../../../../../src/main/components/modules/listing/components/BundleCardInfoSection.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAiD,MAAM,OAAO,CAAC;AAuBtE,UAAU,sBAAsB;IAC9B,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,EAAE,MAAM,CAAC;IAClB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,WAAW,EAAE,MAAM,CAAC;CACrB;;AAwFD,wBAA2C"}
@@ -1 +1 @@
1
- {"version":3,"file":"CardDescriptionContent.d.ts","sourceRoot":"","sources":["../../../../../../../src/main/components/modules/listing/components/CardDescriptionContent.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,UAAU,uBAAuB;IAC/B,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,MAAM,GAAG,MAAM,CAAC;CAC3B;AACD,QAAA,MAAM,sBAAsB,EAAE,KAAK,CAAC,EAAE,CAAC,uBAAuB,CAU7D,CAAC;AAaF,eAAe,sBAAsB,CAAC"}
1
+ {"version":3,"file":"CardDescriptionContent.d.ts","sourceRoot":"","sources":["../../../../../../../src/main/components/modules/listing/components/CardDescriptionContent.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,UAAU,uBAAuB;IAC/B,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,MAAM,GAAG,MAAM,CAAC;CAC3B;AACD,QAAA,MAAM,sBAAsB,EAAE,KAAK,CAAC,EAAE,CAAC,uBAAuB,CAU7D,CAAC;AAiBF,eAAe,sBAAsB,CAAC"}
@@ -0,0 +1,8 @@
1
+ import React from 'react';
2
+ import { IStallionConfigJson } from '../../../../../types/config.types';
3
+ interface IConfigView {
4
+ config: IStallionConfigJson;
5
+ }
6
+ declare const ConfigView: React.FC<IConfigView>;
7
+ export default ConfigView;
8
+ //# sourceMappingURL=ConfigView.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ConfigView.d.ts","sourceRoot":"","sources":["../../../../../../../src/main/components/modules/listing/components/ConfigView.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,OAAO,EAAE,mBAAmB,EAAE,MAAM,mCAAmC,CAAC;AAExE,UAAU,WAAW;IACnB,MAAM,EAAE,mBAAmB,CAAC;CAC7B;AAED,QAAA,MAAM,UAAU,EAAE,KAAK,CAAC,EAAE,CAAC,WAAW,CAWrC,CAAC;AAEF,eAAe,UAAU,CAAC"}
@@ -0,0 +1,8 @@
1
+ import React from 'react';
2
+ import { IUpdateMeta } from '../../../../../types/updateMeta.types';
3
+ interface IMetaCard {
4
+ meta: IUpdateMeta;
5
+ }
6
+ declare const MetaCard: React.FC<IMetaCard>;
7
+ export default MetaCard;
8
+ //# sourceMappingURL=MetaCard.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"MetaCard.d.ts","sourceRoot":"","sources":["../../../../../../../src/main/components/modules/listing/components/MetaCard.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AAOvC,OAAO,EAAE,WAAW,EAAE,MAAM,uCAAuC,CAAC;AAEpE,UAAU,SAAS;IACjB,IAAI,EAAE,WAAW,CAAC;CACnB;AAED,QAAA,MAAM,QAAQ,EAAE,KAAK,CAAC,EAAE,CAAC,SAAS,CAqBjC,CAAC;AAEF,eAAe,QAAQ,CAAC"}
@@ -0,0 +1,5 @@
1
+ import React from 'react';
2
+ import { IStallionSlotData } from '../../../../../types/meta.types';
3
+ declare const SlotView: React.FC<IStallionSlotData>;
4
+ export default SlotView;
5
+ //# sourceMappingURL=SlotView.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SlotView.d.ts","sourceRoot":"","sources":["../../../../../../../src/main/components/modules/listing/components/SlotView.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EACL,iBAAiB,EAElB,MAAM,iCAAiC,CAAC;AAkDzC,QAAA,MAAM,QAAQ,EAAE,KAAK,CAAC,EAAE,CAAC,iBAAiB,CAiCzC,CAAC;AA2BF,eAAe,QAAQ,CAAC"}
@@ -11,6 +11,8 @@ declare const styles: {
11
11
  shadowOpacity: number;
12
12
  elevation: number;
13
13
  shadowRadius: number;
14
+ borderWidth: number;
15
+ borderColor: string;
14
16
  };
15
17
  infoSection: {
16
18
  width: string;
@@ -23,23 +25,36 @@ declare const styles: {
23
25
  flexDirection: "row";
24
26
  justifyContent: "space-between";
25
27
  alignItems: "center";
28
+ padding: number;
29
+ };
30
+ colContainer: {
31
+ flexDirection: "column";
32
+ };
33
+ downloadButton: {
34
+ backgroundColor: string;
35
+ padding: number;
36
+ borderRadius: number;
26
37
  };
27
38
  appliedText: {
28
39
  color: string;
29
40
  fontWeight: "bold";
30
41
  fontSize: number;
31
42
  };
32
- container: {
43
+ container: {};
44
+ metaConainer: {
45
+ backgroundColor: string;
33
46
  margin: number;
47
+ borderRadius: number;
48
+ padding: number;
34
49
  };
35
50
  divider: {
36
51
  borderBottomWidth: number;
37
52
  opacity: number;
38
- marginVertical: number;
53
+ marginBottom: number;
39
54
  };
40
55
  subText: {
41
56
  fontSize: number;
42
- marginBottom: number;
57
+ marginVertical: number;
43
58
  color: string;
44
59
  };
45
60
  titleText: {
@@ -52,13 +67,19 @@ declare const styles: {
52
67
  releaseNoteText: {
53
68
  fontSize: number;
54
69
  fontWeight: "500";
55
- marginTop: number;
56
70
  color: string;
57
71
  };
58
72
  releaseNoteDescriptionText: {
59
73
  fontSize: number;
60
- marginTop: number;
74
+ width: string;
61
75
  color: string;
76
+ marginLeft: number;
77
+ };
78
+ descContainer: {
79
+ flexDirection: "row";
80
+ alignItems: "center";
81
+ padding: number;
82
+ backgroundColor: string;
62
83
  };
63
84
  };
64
85
  export default styles;