react-native-unit-components 1.10.0 → 1.11.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 (752) hide show
  1. package/android/build.gradle +36 -88
  2. package/android/gradle.properties +2 -2
  3. package/android/src/main/AndroidManifestNew.xml +14 -0
  4. package/android/src/main/java/com/unitreactnativecomponents/UnitAddToWalletButtonViewManager.kt +2 -2
  5. package/android/src/main/java/com/unitreactnativecomponents/UnitReactNativeComponentsEvent.kt +3 -3
  6. package/android/src/main/java/com/unitreactnativecomponents/UnitReactNativeComponentsPackage.kt +1 -1
  7. package/android/src/main/java/com/unitreactnativecomponents/visapresentation/UNGooglePayView.kt +147 -152
  8. package/lib/commonjs/assets/images/index.js.map +1 -1
  9. package/lib/commonjs/components/UNACHCreditComponent/UNACHCreditComponent.js +13 -4
  10. package/lib/commonjs/components/UNACHCreditComponent/UNACHCreditComponent.js.map +1 -1
  11. package/lib/commonjs/components/UNACHCreditComponent/UNACHCreditComponent.utils.js +13 -2
  12. package/lib/commonjs/components/UNACHCreditComponent/UNACHCreditComponent.utils.js.map +1 -1
  13. package/lib/commonjs/components/UNACHCreditComponent/index.js +2 -2
  14. package/lib/commonjs/components/UNACHCreditComponent/index.js.map +1 -1
  15. package/lib/commonjs/components/UNACHDebitComponent/UNACHDebitComponent.js +13 -4
  16. package/lib/commonjs/components/UNACHDebitComponent/UNACHDebitComponent.js.map +1 -1
  17. package/lib/commonjs/components/UNACHDebitComponent/UNACHDebitComponent.utils.js +12 -2
  18. package/lib/commonjs/components/UNACHDebitComponent/UNACHDebitComponent.utils.js.map +1 -1
  19. package/lib/commonjs/components/UNACHDebitComponent/index.js +2 -2
  20. package/lib/commonjs/components/UNACHDebitComponent/index.js.map +1 -1
  21. package/lib/commonjs/components/UNAccountComponent/UNAccountComponent.js +31 -15
  22. package/lib/commonjs/components/UNAccountComponent/UNAccountComponent.js.map +1 -1
  23. package/lib/commonjs/components/UNAccountComponent/UNAccountComponent.utils.js +9 -8
  24. package/lib/commonjs/components/UNAccountComponent/UNAccountComponent.utils.js.map +1 -1
  25. package/lib/commonjs/components/UNAccountComponent/index.js +2 -2
  26. package/lib/commonjs/components/UNAccountComponent/index.js.map +1 -1
  27. package/lib/commonjs/components/UNActivityComponent/UNActivityComponent.js +16 -7
  28. package/lib/commonjs/components/UNActivityComponent/UNActivityComponent.js.map +1 -1
  29. package/lib/commonjs/components/UNActivityComponent/UNActivityComponent.utils.js +4 -2
  30. package/lib/commonjs/components/UNActivityComponent/UNActivityComponent.utils.js.map +1 -1
  31. package/lib/commonjs/components/UNActivityComponent/index.js +8 -2
  32. package/lib/commonjs/components/UNActivityComponent/index.js.map +1 -1
  33. package/lib/commonjs/components/UNBookPaymentComponent/UNBookPaymentComponent.js +13 -4
  34. package/lib/commonjs/components/UNBookPaymentComponent/UNBookPaymentComponent.js.map +1 -1
  35. package/lib/commonjs/components/UNBookPaymentComponent/UNBookPaymentComponent.utils.js +11 -4
  36. package/lib/commonjs/components/UNBookPaymentComponent/UNBookPaymentComponent.utils.js.map +1 -1
  37. package/lib/commonjs/components/UNBookPaymentComponent/index.js +2 -2
  38. package/lib/commonjs/components/UNBookPaymentComponent/index.js.map +1 -1
  39. package/lib/commonjs/components/UNBottomSheetComponent/UNBottomSheetComponent.constants.js +13 -3
  40. package/lib/commonjs/components/UNBottomSheetComponent/UNBottomSheetComponent.constants.js.map +1 -1
  41. package/lib/commonjs/components/UNBottomSheetComponent/UNBottomSheetComponent.js +151 -255
  42. package/lib/commonjs/components/UNBottomSheetComponent/UNBottomSheetComponent.js.map +1 -1
  43. package/lib/commonjs/components/UNBottomSheetComponent/UNBottomSheetComponent.styles.js.map +1 -1
  44. package/lib/commonjs/components/UNBottomSheetComponent/UNBottomSheetComponent.utils.js +13 -16
  45. package/lib/commonjs/components/UNBottomSheetComponent/UNBottomSheetComponent.utils.js.map +1 -1
  46. package/lib/commonjs/components/UNBottomSheetComponent/components/UNBottomSheetNativeComponent/UNBottomSheetNativeComponent.js +50 -0
  47. package/lib/commonjs/components/UNBottomSheetComponent/components/UNBottomSheetNativeComponent/UNBottomSheetNativeComponent.js.map +1 -0
  48. package/lib/commonjs/components/UNBottomSheetComponent/components/UNBottomSheetNativeComponent/index.js +17 -0
  49. package/lib/commonjs/components/UNBottomSheetComponent/components/UNBottomSheetNativeComponent/index.js.map +1 -0
  50. package/lib/commonjs/components/UNBottomSheetComponent/components/UNBottomSheetSlotComponent/UNBottomSheetSlotComponent.js +166 -0
  51. package/lib/commonjs/components/UNBottomSheetComponent/components/UNBottomSheetSlotComponent/UNBottomSheetSlotComponent.js.map +1 -0
  52. package/lib/commonjs/components/UNBottomSheetComponent/components/UNBottomSheetSlotComponent/index.js +17 -0
  53. package/lib/commonjs/components/UNBottomSheetComponent/components/UNBottomSheetSlotComponent/index.js.map +1 -0
  54. package/lib/commonjs/components/UNBottomSheetComponent/components/index.js +15 -4
  55. package/lib/commonjs/components/UNBottomSheetComponent/components/index.js.map +1 -1
  56. package/lib/commonjs/components/UNBottomSheetComponent/index.js.map +1 -1
  57. package/lib/commonjs/components/UNCardComponent/UNCardComponent.js +4 -5
  58. package/lib/commonjs/components/UNCardComponent/UNCardComponent.js.map +1 -1
  59. package/lib/commonjs/components/UNCardComponent/UNCardComponent.utils.js +7 -5
  60. package/lib/commonjs/components/UNCardComponent/UNCardComponent.utils.js.map +1 -1
  61. package/lib/commonjs/components/UNCardComponent/index.js +2 -2
  62. package/lib/commonjs/components/UNCardComponent/index.js.map +1 -1
  63. package/lib/commonjs/components/UNCheckDepositComponent/UNCheckDepositComponent.js +14 -4
  64. package/lib/commonjs/components/UNCheckDepositComponent/UNCheckDepositComponent.js.map +1 -1
  65. package/lib/commonjs/components/UNCheckDepositComponent/UNCheckDepositComponent.utils.js +7 -1
  66. package/lib/commonjs/components/UNCheckDepositComponent/UNCheckDepositComponent.utils.js.map +1 -1
  67. package/lib/commonjs/components/UNCheckDepositComponent/index.js +2 -2
  68. package/lib/commonjs/components/UNCheckDepositComponent/index.js.map +1 -1
  69. package/lib/commonjs/components/UNMultipleCardsComponent/UNMultipleCardsComponent.js +3 -4
  70. package/lib/commonjs/components/UNMultipleCardsComponent/UNMultipleCardsComponent.js.map +1 -1
  71. package/lib/commonjs/components/UNMultipleCardsComponent/UNMultipleCardsComponent.utils.js +1 -0
  72. package/lib/commonjs/components/UNMultipleCardsComponent/UNMultipleCardsComponent.utils.js.map +1 -1
  73. package/lib/commonjs/components/UNMultipleCardsComponent/index.js +2 -2
  74. package/lib/commonjs/components/UNMultipleCardsComponent/index.js.map +1 -1
  75. package/lib/commonjs/components/UNNextRepaymentComponent/UNNextRepaymentComponent.js +61 -0
  76. package/lib/commonjs/components/UNNextRepaymentComponent/UNNextRepaymentComponent.js.map +1 -0
  77. package/lib/commonjs/components/UNNextRepaymentComponent/UNNextRepaymentComponent.utils.js +15 -0
  78. package/lib/commonjs/components/UNNextRepaymentComponent/UNNextRepaymentComponent.utils.js.map +1 -0
  79. package/lib/commonjs/components/UNNextRepaymentComponent/index.js +21 -0
  80. package/lib/commonjs/components/UNNextRepaymentComponent/index.js.map +1 -0
  81. package/lib/commonjs/components/UNProgramDetailsComponent/UNProgramDetailsComponent.js +61 -0
  82. package/lib/commonjs/components/UNProgramDetailsComponent/UNProgramDetailsComponent.js.map +1 -0
  83. package/lib/commonjs/components/UNProgramDetailsComponent/UNProgramDetailsComponent.utils.js +15 -0
  84. package/lib/commonjs/components/UNProgramDetailsComponent/UNProgramDetailsComponent.utils.js.map +1 -0
  85. package/lib/commonjs/components/UNProgramDetailsComponent/index.js +21 -0
  86. package/lib/commonjs/components/UNProgramDetailsComponent/index.js.map +1 -0
  87. package/lib/commonjs/components/index.js +22 -0
  88. package/lib/commonjs/components/index.js.map +1 -1
  89. package/lib/commonjs/custom.d.js.map +1 -1
  90. package/lib/commonjs/flows/UNFlows.js +1 -1
  91. package/lib/commonjs/flows/UNFlows.js.map +1 -1
  92. package/lib/commonjs/flows/card/UNCardFlows.js +26 -26
  93. package/lib/commonjs/flows/card/UNCardFlows.js.map +1 -1
  94. package/lib/commonjs/helpers/BottomSheet/BottomSheet.js +26 -29
  95. package/lib/commonjs/helpers/BottomSheet/BottomSheet.js.map +1 -1
  96. package/lib/commonjs/helpers/BottomSheet/BottomSheet.styles.js +0 -2
  97. package/lib/commonjs/helpers/BottomSheet/BottomSheet.styles.js.map +1 -1
  98. package/lib/commonjs/helpers/pushProvisioningService/helpers.js.map +1 -1
  99. package/lib/commonjs/helpers/pushProvisioningService/hooks/useCardWallet.js +1 -2
  100. package/lib/commonjs/helpers/pushProvisioningService/hooks/useCardWallet.js.map +1 -1
  101. package/lib/commonjs/helpers/pushProvisioningService/hooks/useLaunchInitialize.js.map +1 -1
  102. package/lib/commonjs/helpers/pushProvisioningService/startProvisioning.js +3 -3
  103. package/lib/commonjs/helpers/pushProvisioningService/startProvisioning.js.map +1 -1
  104. package/lib/commonjs/helpers/pushProvisioningService/types.js +3 -4
  105. package/lib/commonjs/helpers/pushProvisioningService/types.js.map +1 -1
  106. package/lib/commonjs/helpers/store/helpers.js.map +1 -1
  107. package/lib/commonjs/hooks/useAppStateListener.js.map +1 -1
  108. package/lib/commonjs/hooks/useListenerToEvent.js +1 -1
  109. package/lib/commonjs/hooks/useListenerToEvent.js.map +1 -1
  110. package/lib/commonjs/index.js.map +1 -1
  111. package/lib/commonjs/messages/nativeMessages/bottomSheetMessage.js +7 -9
  112. package/lib/commonjs/messages/nativeMessages/bottomSheetMessage.js.map +1 -1
  113. package/lib/commonjs/messages/nativeMessages/cardMessage.js +3 -4
  114. package/lib/commonjs/messages/nativeMessages/cardMessage.js.map +1 -1
  115. package/lib/commonjs/messages/nativeMessages/index.js.map +1 -1
  116. package/lib/commonjs/messages/nativeMessages/sdkMessage.js +3 -4
  117. package/lib/commonjs/messages/nativeMessages/sdkMessage.js.map +1 -1
  118. package/lib/commonjs/messages/webMessages/accountMessage.js +3 -4
  119. package/lib/commonjs/messages/webMessages/accountMessage.js.map +1 -1
  120. package/lib/commonjs/messages/webMessages/achCreditMessage.js.map +1 -1
  121. package/lib/commonjs/messages/webMessages/activityMessage.js +3 -4
  122. package/lib/commonjs/messages/webMessages/activityMessage.js.map +1 -1
  123. package/lib/commonjs/messages/webMessages/bookPaymentMessage.js.map +1 -1
  124. package/lib/commonjs/messages/webMessages/cardMessage.js +3 -4
  125. package/lib/commonjs/messages/webMessages/cardMessage.js.map +1 -1
  126. package/lib/commonjs/messages/webMessages/checkMessage.js +3 -4
  127. package/lib/commonjs/messages/webMessages/checkMessage.js.map +1 -1
  128. package/lib/commonjs/messages/webMessages/index.js.map +1 -1
  129. package/lib/commonjs/messages/webMessages/multipleCardsMessage.js +3 -4
  130. package/lib/commonjs/messages/webMessages/multipleCardsMessage.js.map +1 -1
  131. package/lib/commonjs/messages/webMessages/onLoadMessage.js +4 -4
  132. package/lib/commonjs/messages/webMessages/onLoadMessage.js.map +1 -1
  133. package/lib/commonjs/messages/webMessages/pageMessage.js +3 -4
  134. package/lib/commonjs/messages/webMessages/pageMessage.js.map +1 -1
  135. package/lib/commonjs/messages/webMessages/paymentsMessage.js +5 -4
  136. package/lib/commonjs/messages/webMessages/paymentsMessage.js.map +1 -1
  137. package/lib/commonjs/messages/webMessages/unitMessages.js +9 -6
  138. package/lib/commonjs/messages/webMessages/unitMessages.js.map +1 -1
  139. package/lib/commonjs/nativeComponents/UNAddToWallet/UNAddToWalletComponent/UNAddToWalletBottomSheetItem.styles.js.map +1 -0
  140. package/lib/commonjs/nativeComponents/UNAddToWallet/UNAddToWalletComponent/UNAddToWalletComponent.js +79 -0
  141. package/lib/commonjs/nativeComponents/UNAddToWallet/UNAddToWalletComponent/UNAddToWalletComponent.js.map +1 -0
  142. package/lib/commonjs/nativeComponents/UNAddToWallet/UNAddToWalletComponent/UNAddToWalletComponent.utils.js +20 -0
  143. package/lib/commonjs/nativeComponents/UNAddToWallet/UNAddToWalletComponent/UNAddToWalletComponent.utils.js.map +1 -0
  144. package/lib/commonjs/nativeComponents/UNAddToWallet/UNAddToWalletComponent/index.js +14 -0
  145. package/lib/commonjs/nativeComponents/UNAddToWallet/UNAddToWalletComponent/index.js.map +1 -0
  146. package/lib/commonjs/{nativeComponent → nativeComponents/UNAddToWallet}/UnitAddToWalletButton.js +1 -2
  147. package/lib/commonjs/nativeComponents/UNAddToWallet/UnitAddToWalletButton.js.map +1 -0
  148. package/lib/commonjs/networking/common/UNNetworkConstants.js +2 -4
  149. package/lib/commonjs/networking/common/UNNetworkConstants.js.map +1 -1
  150. package/lib/commonjs/networking/requests/UNWalletPayloadRequest.js.map +1 -1
  151. package/lib/commonjs/scripts/html/bodyHtml.js +1 -2
  152. package/lib/commonjs/scripts/html/bodyHtml.js.map +1 -1
  153. package/lib/commonjs/scripts/html/bodyScript.js +46 -32
  154. package/lib/commonjs/scripts/html/bodyScript.js.map +1 -1
  155. package/lib/commonjs/scripts/html/fontFaces.js +2 -3
  156. package/lib/commonjs/scripts/html/fontFaces.js.map +1 -1
  157. package/lib/commonjs/slices/BottomSheetSlice.js +74 -0
  158. package/lib/commonjs/slices/BottomSheetSlice.js.map +1 -0
  159. package/lib/commonjs/slices/ConfigurationSlice.js +1 -2
  160. package/lib/commonjs/slices/ConfigurationSlice.js.map +1 -1
  161. package/lib/commonjs/slices/SharedEventsSlice.js +3 -2
  162. package/lib/commonjs/slices/SharedEventsSlice.js.map +1 -1
  163. package/lib/commonjs/slices/pushProvisioningSlice.js +1 -2
  164. package/lib/commonjs/slices/pushProvisioningSlice.js.map +1 -1
  165. package/lib/commonjs/store/index.js.map +1 -1
  166. package/lib/commonjs/store/store.js +4 -3
  167. package/lib/commonjs/store/store.js.map +1 -1
  168. package/lib/commonjs/styles/fonts.js.map +1 -1
  169. package/lib/commonjs/styles/variables.js +5 -3
  170. package/lib/commonjs/styles/variables.js.map +1 -1
  171. package/lib/commonjs/types/internal/bottomSheet.types.js +22 -7
  172. package/lib/commonjs/types/internal/bottomSheet.types.js.map +1 -1
  173. package/lib/commonjs/types/internal/errorHelpers.js.map +1 -1
  174. package/lib/commonjs/types/internal/webComponent.types.js +8 -8
  175. package/lib/commonjs/types/internal/webComponent.types.js.map +1 -1
  176. package/lib/commonjs/types/shared/account.types.js +19 -16
  177. package/lib/commonjs/types/shared/account.types.js.map +1 -1
  178. package/lib/commonjs/types/shared/achCredit.types.js.map +1 -1
  179. package/lib/commonjs/types/shared/activity.types.js +3 -4
  180. package/lib/commonjs/types/shared/activity.types.js.map +1 -1
  181. package/lib/commonjs/types/shared/authorization.types.js.map +1 -1
  182. package/lib/commonjs/types/shared/bookPayment.types.js.map +1 -1
  183. package/lib/commonjs/types/shared/card.types.js +13 -5
  184. package/lib/commonjs/types/shared/card.types.js.map +1 -1
  185. package/lib/commonjs/types/shared/checkDeposit.types.js +3 -4
  186. package/lib/commonjs/types/shared/checkDeposit.types.js.map +1 -1
  187. package/lib/commonjs/types/shared/error.types.js +3 -4
  188. package/lib/commonjs/types/shared/error.types.js.map +1 -1
  189. package/lib/commonjs/types/shared/fonts.types.js +3 -4
  190. package/lib/commonjs/types/shared/fonts.types.js.map +1 -1
  191. package/lib/commonjs/types/shared/index.js.map +1 -1
  192. package/lib/commonjs/types/shared/multipleCards.types.js +3 -4
  193. package/lib/commonjs/types/shared/multipleCards.types.js.map +1 -1
  194. package/lib/commonjs/types/shared/onLoadResponse.types.js.map +1 -1
  195. package/lib/commonjs/types/shared/payments.types.js +9 -5
  196. package/lib/commonjs/types/shared/payments.types.js.map +1 -1
  197. package/lib/commonjs/types/shared/repayment.types.js +2 -0
  198. package/lib/commonjs/types/shared/repayment.types.js.map +1 -0
  199. package/lib/commonjs/types/shared/transactions.types.js +6 -8
  200. package/lib/commonjs/types/shared/transactions.types.js.map +1 -1
  201. package/lib/commonjs/types/shared/types.js.map +1 -1
  202. package/lib/commonjs/types/shared/versioning.types.js +4 -4
  203. package/lib/commonjs/types/shared/versioning.types.js.map +1 -1
  204. package/lib/commonjs/types/shared/wallet.types.js +9 -12
  205. package/lib/commonjs/types/shared/wallet.types.js.map +1 -1
  206. package/lib/commonjs/unitSdkManager/UnitSdk.api.js.map +1 -1
  207. package/lib/commonjs/unitSdkManager/UnitSdk.constants.js +2 -3
  208. package/lib/commonjs/unitSdkManager/UnitSdk.constants.js.map +1 -1
  209. package/lib/commonjs/unitSdkManager/UnitSdkManager.js +54 -63
  210. package/lib/commonjs/unitSdkManager/UnitSdkManager.js.map +1 -1
  211. package/lib/commonjs/unitSdkManager/UnitSdkManager.utils.internal.js.map +1 -1
  212. package/lib/commonjs/unitSdkManager/unitUiManager/unitUiManager.js +4 -7
  213. package/lib/commonjs/unitSdkManager/unitUiManager/unitUiManager.js.map +1 -1
  214. package/lib/commonjs/utils/AppInfo.js.map +1 -1
  215. package/lib/commonjs/utils/SDKInfo.js.map +1 -1
  216. package/lib/commonjs/utils/webVersioningStrategy.utils.js +7 -0
  217. package/lib/commonjs/utils/webVersioningStrategy.utils.js.map +1 -1
  218. package/lib/commonjs/webComponent/WebComponent.js +10 -4
  219. package/lib/commonjs/webComponent/WebComponent.js.map +1 -1
  220. package/lib/commonjs/webComponent/WebComponent.utils.js +2 -2
  221. package/lib/commonjs/webComponent/WebComponent.utils.js.map +1 -1
  222. package/lib/commonjs/webComponent/html.js +2 -4
  223. package/lib/commonjs/webComponent/html.js.map +1 -1
  224. package/lib/module/assets/images/index.js.map +1 -1
  225. package/lib/module/components/UNACHCreditComponent/UNACHCreditComponent.js +10 -0
  226. package/lib/module/components/UNACHCreditComponent/UNACHCreditComponent.js.map +1 -1
  227. package/lib/module/components/UNACHCreditComponent/UNACHCreditComponent.utils.js +13 -2
  228. package/lib/module/components/UNACHCreditComponent/UNACHCreditComponent.utils.js.map +1 -1
  229. package/lib/module/components/UNACHCreditComponent/index.js.map +1 -1
  230. package/lib/module/components/UNACHDebitComponent/UNACHDebitComponent.js +10 -0
  231. package/lib/module/components/UNACHDebitComponent/UNACHDebitComponent.js.map +1 -1
  232. package/lib/module/components/UNACHDebitComponent/UNACHDebitComponent.utils.js +12 -2
  233. package/lib/module/components/UNACHDebitComponent/UNACHDebitComponent.utils.js.map +1 -1
  234. package/lib/module/components/UNACHDebitComponent/index.js.map +1 -1
  235. package/lib/module/components/UNAccountComponent/UNAccountComponent.js +30 -12
  236. package/lib/module/components/UNAccountComponent/UNAccountComponent.js.map +1 -1
  237. package/lib/module/components/UNAccountComponent/UNAccountComponent.utils.js +10 -8
  238. package/lib/module/components/UNAccountComponent/UNAccountComponent.utils.js.map +1 -1
  239. package/lib/module/components/UNAccountComponent/index.js.map +1 -1
  240. package/lib/module/components/UNActivityComponent/UNActivityComponent.js +17 -7
  241. package/lib/module/components/UNActivityComponent/UNActivityComponent.js.map +1 -1
  242. package/lib/module/components/UNActivityComponent/UNActivityComponent.utils.js +4 -2
  243. package/lib/module/components/UNActivityComponent/UNActivityComponent.utils.js.map +1 -1
  244. package/lib/module/components/UNActivityComponent/index.js +1 -1
  245. package/lib/module/components/UNActivityComponent/index.js.map +1 -1
  246. package/lib/module/components/UNBookPaymentComponent/UNBookPaymentComponent.js +10 -0
  247. package/lib/module/components/UNBookPaymentComponent/UNBookPaymentComponent.js.map +1 -1
  248. package/lib/module/components/UNBookPaymentComponent/UNBookPaymentComponent.utils.js +11 -4
  249. package/lib/module/components/UNBookPaymentComponent/UNBookPaymentComponent.utils.js.map +1 -1
  250. package/lib/module/components/UNBookPaymentComponent/index.js.map +1 -1
  251. package/lib/module/components/UNBottomSheetComponent/UNBottomSheetComponent.constants.js +12 -1
  252. package/lib/module/components/UNBottomSheetComponent/UNBottomSheetComponent.constants.js.map +1 -1
  253. package/lib/module/components/UNBottomSheetComponent/UNBottomSheetComponent.js +147 -250
  254. package/lib/module/components/UNBottomSheetComponent/UNBottomSheetComponent.js.map +1 -1
  255. package/lib/module/components/UNBottomSheetComponent/UNBottomSheetComponent.styles.js.map +1 -1
  256. package/lib/module/components/UNBottomSheetComponent/UNBottomSheetComponent.utils.js +11 -14
  257. package/lib/module/components/UNBottomSheetComponent/UNBottomSheetComponent.utils.js.map +1 -1
  258. package/lib/module/components/UNBottomSheetComponent/components/UNBottomSheetNativeComponent/UNBottomSheetNativeComponent.js +42 -0
  259. package/lib/module/components/UNBottomSheetComponent/components/UNBottomSheetNativeComponent/UNBottomSheetNativeComponent.js.map +1 -0
  260. package/lib/module/components/UNBottomSheetComponent/components/UNBottomSheetNativeComponent/index.js +2 -0
  261. package/lib/module/components/UNBottomSheetComponent/components/UNBottomSheetNativeComponent/index.js.map +1 -0
  262. package/lib/module/components/UNBottomSheetComponent/components/UNBottomSheetSlotComponent/UNBottomSheetSlotComponent.js +158 -0
  263. package/lib/module/components/UNBottomSheetComponent/components/UNBottomSheetSlotComponent/UNBottomSheetSlotComponent.js.map +1 -0
  264. package/lib/module/components/UNBottomSheetComponent/components/UNBottomSheetSlotComponent/index.js +2 -0
  265. package/lib/module/components/UNBottomSheetComponent/components/UNBottomSheetSlotComponent/index.js.map +1 -0
  266. package/lib/module/components/UNBottomSheetComponent/components/index.js +2 -1
  267. package/lib/module/components/UNBottomSheetComponent/components/index.js.map +1 -1
  268. package/lib/module/components/UNBottomSheetComponent/index.js.map +1 -1
  269. package/lib/module/components/UNCardComponent/UNCardComponent.js +1 -1
  270. package/lib/module/components/UNCardComponent/UNCardComponent.js.map +1 -1
  271. package/lib/module/components/UNCardComponent/UNCardComponent.utils.js +7 -5
  272. package/lib/module/components/UNCardComponent/UNCardComponent.utils.js.map +1 -1
  273. package/lib/module/components/UNCardComponent/index.js.map +1 -1
  274. package/lib/module/components/UNCheckDepositComponent/UNCheckDepositComponent.js +11 -0
  275. package/lib/module/components/UNCheckDepositComponent/UNCheckDepositComponent.js.map +1 -1
  276. package/lib/module/components/UNCheckDepositComponent/UNCheckDepositComponent.utils.js +7 -1
  277. package/lib/module/components/UNCheckDepositComponent/UNCheckDepositComponent.utils.js.map +1 -1
  278. package/lib/module/components/UNCheckDepositComponent/index.js.map +1 -1
  279. package/lib/module/components/UNMultipleCardsComponent/UNMultipleCardsComponent.js.map +1 -1
  280. package/lib/module/components/UNMultipleCardsComponent/UNMultipleCardsComponent.utils.js +1 -0
  281. package/lib/module/components/UNMultipleCardsComponent/UNMultipleCardsComponent.utils.js.map +1 -1
  282. package/lib/module/components/UNMultipleCardsComponent/index.js.map +1 -1
  283. package/lib/module/components/UNNextRepaymentComponent/UNNextRepaymentComponent.js +53 -0
  284. package/lib/module/components/UNNextRepaymentComponent/UNNextRepaymentComponent.js.map +1 -0
  285. package/lib/module/components/UNNextRepaymentComponent/UNNextRepaymentComponent.utils.js +8 -0
  286. package/lib/module/components/UNNextRepaymentComponent/UNNextRepaymentComponent.utils.js.map +1 -0
  287. package/lib/module/components/UNNextRepaymentComponent/index.js +2 -0
  288. package/lib/module/components/UNNextRepaymentComponent/index.js.map +1 -0
  289. package/lib/module/components/UNProgramDetailsComponent/UNProgramDetailsComponent.js +53 -0
  290. package/lib/module/components/UNProgramDetailsComponent/UNProgramDetailsComponent.js.map +1 -0
  291. package/lib/module/components/UNProgramDetailsComponent/UNProgramDetailsComponent.utils.js +8 -0
  292. package/lib/module/components/UNProgramDetailsComponent/UNProgramDetailsComponent.utils.js.map +1 -0
  293. package/lib/module/components/UNProgramDetailsComponent/index.js +2 -0
  294. package/lib/module/components/UNProgramDetailsComponent/index.js.map +1 -0
  295. package/lib/module/components/index.js +2 -0
  296. package/lib/module/components/index.js.map +1 -1
  297. package/lib/module/custom.d.js.map +1 -1
  298. package/lib/module/flows/UNFlows.js +1 -1
  299. package/lib/module/flows/UNFlows.js.map +1 -1
  300. package/lib/module/flows/card/UNCardFlows.js +27 -27
  301. package/lib/module/flows/card/UNCardFlows.js.map +1 -1
  302. package/lib/module/helpers/BottomSheet/BottomSheet.js +25 -27
  303. package/lib/module/helpers/BottomSheet/BottomSheet.js.map +1 -1
  304. package/lib/module/helpers/BottomSheet/BottomSheet.styles.js +1 -3
  305. package/lib/module/helpers/BottomSheet/BottomSheet.styles.js.map +1 -1
  306. package/lib/module/helpers/pushProvisioningService/helpers.js.map +1 -1
  307. package/lib/module/helpers/pushProvisioningService/hooks/useCardWallet.js +1 -2
  308. package/lib/module/helpers/pushProvisioningService/hooks/useCardWallet.js.map +1 -1
  309. package/lib/module/helpers/pushProvisioningService/hooks/useLaunchInitialize.js.map +1 -1
  310. package/lib/module/helpers/pushProvisioningService/startProvisioning.js +3 -3
  311. package/lib/module/helpers/pushProvisioningService/startProvisioning.js.map +1 -1
  312. package/lib/module/helpers/pushProvisioningService/types.js +3 -3
  313. package/lib/module/helpers/pushProvisioningService/types.js.map +1 -1
  314. package/lib/module/helpers/store/helpers.js.map +1 -1
  315. package/lib/module/hooks/useAppStateListener.js.map +1 -1
  316. package/lib/module/hooks/useListenerToEvent.js +1 -1
  317. package/lib/module/hooks/useListenerToEvent.js.map +1 -1
  318. package/lib/module/index.js.map +1 -1
  319. package/lib/module/messages/nativeMessages/bottomSheetMessage.js +7 -7
  320. package/lib/module/messages/nativeMessages/bottomSheetMessage.js.map +1 -1
  321. package/lib/module/messages/nativeMessages/cardMessage.js +3 -3
  322. package/lib/module/messages/nativeMessages/cardMessage.js.map +1 -1
  323. package/lib/module/messages/nativeMessages/index.js.map +1 -1
  324. package/lib/module/messages/nativeMessages/sdkMessage.js +3 -3
  325. package/lib/module/messages/nativeMessages/sdkMessage.js.map +1 -1
  326. package/lib/module/messages/webMessages/accountMessage.js +3 -3
  327. package/lib/module/messages/webMessages/accountMessage.js.map +1 -1
  328. package/lib/module/messages/webMessages/achCreditMessage.js.map +1 -1
  329. package/lib/module/messages/webMessages/activityMessage.js +3 -3
  330. package/lib/module/messages/webMessages/activityMessage.js.map +1 -1
  331. package/lib/module/messages/webMessages/bookPaymentMessage.js.map +1 -1
  332. package/lib/module/messages/webMessages/cardMessage.js +3 -3
  333. package/lib/module/messages/webMessages/cardMessage.js.map +1 -1
  334. package/lib/module/messages/webMessages/checkMessage.js +3 -3
  335. package/lib/module/messages/webMessages/checkMessage.js.map +1 -1
  336. package/lib/module/messages/webMessages/index.js.map +1 -1
  337. package/lib/module/messages/webMessages/multipleCardsMessage.js +3 -3
  338. package/lib/module/messages/webMessages/multipleCardsMessage.js.map +1 -1
  339. package/lib/module/messages/webMessages/onLoadMessage.js +4 -3
  340. package/lib/module/messages/webMessages/onLoadMessage.js.map +1 -1
  341. package/lib/module/messages/webMessages/pageMessage.js +3 -3
  342. package/lib/module/messages/webMessages/pageMessage.js.map +1 -1
  343. package/lib/module/messages/webMessages/paymentsMessage.js +5 -3
  344. package/lib/module/messages/webMessages/paymentsMessage.js.map +1 -1
  345. package/lib/module/messages/webMessages/unitMessages.js +8 -4
  346. package/lib/module/messages/webMessages/unitMessages.js.map +1 -1
  347. package/lib/module/nativeComponents/UNAddToWallet/UNAddToWalletComponent/UNAddToWalletBottomSheetItem.styles.js.map +1 -0
  348. package/lib/module/nativeComponents/UNAddToWallet/UNAddToWalletComponent/UNAddToWalletComponent.js +70 -0
  349. package/lib/module/nativeComponents/UNAddToWallet/UNAddToWalletComponent/UNAddToWalletComponent.js.map +1 -0
  350. package/lib/module/nativeComponents/UNAddToWallet/UNAddToWalletComponent/UNAddToWalletComponent.utils.js +12 -0
  351. package/lib/module/nativeComponents/UNAddToWallet/UNAddToWalletComponent/UNAddToWalletComponent.utils.js.map +1 -0
  352. package/lib/module/nativeComponents/UNAddToWallet/UNAddToWalletComponent/index.js +2 -0
  353. package/lib/module/nativeComponents/UNAddToWallet/UNAddToWalletComponent/index.js.map +1 -0
  354. package/lib/module/nativeComponents/UNAddToWallet/UnitAddToWalletButton.js.map +1 -0
  355. package/lib/module/networking/common/UNNetworkConstants.js.map +1 -1
  356. package/lib/module/networking/requests/UNWalletPayloadRequest.js.map +1 -1
  357. package/lib/module/scripts/html/bodyHtml.js.map +1 -1
  358. package/lib/module/scripts/html/bodyScript.js +34 -8
  359. package/lib/module/scripts/html/bodyScript.js.map +1 -1
  360. package/lib/module/scripts/html/fontFaces.js +2 -3
  361. package/lib/module/scripts/html/fontFaces.js.map +1 -1
  362. package/lib/module/slices/BottomSheetSlice.js +59 -0
  363. package/lib/module/slices/BottomSheetSlice.js.map +1 -0
  364. package/lib/module/slices/ConfigurationSlice.js.map +1 -1
  365. package/lib/module/slices/SharedEventsSlice.js +3 -0
  366. package/lib/module/slices/SharedEventsSlice.js.map +1 -1
  367. package/lib/module/slices/pushProvisioningSlice.js.map +1 -1
  368. package/lib/module/store/index.js.map +1 -1
  369. package/lib/module/store/store.js +3 -1
  370. package/lib/module/store/store.js.map +1 -1
  371. package/lib/module/styles/fonts.js.map +1 -1
  372. package/lib/module/styles/variables.js +4 -1
  373. package/lib/module/styles/variables.js.map +1 -1
  374. package/lib/module/types/internal/bottomSheet.types.js +21 -5
  375. package/lib/module/types/internal/bottomSheet.types.js.map +1 -1
  376. package/lib/module/types/internal/errorHelpers.js.map +1 -1
  377. package/lib/module/types/internal/webComponent.types.js +8 -6
  378. package/lib/module/types/internal/webComponent.types.js.map +1 -1
  379. package/lib/module/types/shared/account.types.js +18 -12
  380. package/lib/module/types/shared/account.types.js.map +1 -1
  381. package/lib/module/types/shared/achCredit.types.js.map +1 -1
  382. package/lib/module/types/shared/activity.types.js +3 -3
  383. package/lib/module/types/shared/activity.types.js.map +1 -1
  384. package/lib/module/types/shared/authorization.types.js.map +1 -1
  385. package/lib/module/types/shared/bookPayment.types.js.map +1 -1
  386. package/lib/module/types/shared/card.types.js +12 -3
  387. package/lib/module/types/shared/card.types.js.map +1 -1
  388. package/lib/module/types/shared/checkDeposit.types.js +3 -3
  389. package/lib/module/types/shared/checkDeposit.types.js.map +1 -1
  390. package/lib/module/types/shared/error.types.js +3 -3
  391. package/lib/module/types/shared/error.types.js.map +1 -1
  392. package/lib/module/types/shared/fonts.types.js +3 -3
  393. package/lib/module/types/shared/fonts.types.js.map +1 -1
  394. package/lib/module/types/shared/index.js.map +1 -1
  395. package/lib/module/types/shared/multipleCards.types.js +3 -3
  396. package/lib/module/types/shared/multipleCards.types.js.map +1 -1
  397. package/lib/module/types/shared/onLoadResponse.types.js.map +1 -1
  398. package/lib/module/types/shared/payments.types.js +8 -3
  399. package/lib/module/types/shared/payments.types.js.map +1 -1
  400. package/lib/module/types/shared/repayment.types.js +2 -0
  401. package/lib/module/types/shared/repayment.types.js.map +1 -0
  402. package/lib/module/types/shared/transactions.types.js +6 -6
  403. package/lib/module/types/shared/transactions.types.js.map +1 -1
  404. package/lib/module/types/shared/types.js.map +1 -1
  405. package/lib/module/types/shared/versioning.types.js +4 -3
  406. package/lib/module/types/shared/versioning.types.js.map +1 -1
  407. package/lib/module/types/shared/wallet.types.js +9 -9
  408. package/lib/module/types/shared/wallet.types.js.map +1 -1
  409. package/lib/module/unitSdkManager/UnitSdk.api.js.map +1 -1
  410. package/lib/module/unitSdkManager/UnitSdk.constants.js +1 -1
  411. package/lib/module/unitSdkManager/UnitSdk.constants.js.map +1 -1
  412. package/lib/module/unitSdkManager/UnitSdkManager.js +54 -62
  413. package/lib/module/unitSdkManager/UnitSdkManager.js.map +1 -1
  414. package/lib/module/unitSdkManager/UnitSdkManager.utils.internal.js.map +1 -1
  415. package/lib/module/unitSdkManager/unitUiManager/unitUiManager.js +4 -7
  416. package/lib/module/unitSdkManager/unitUiManager/unitUiManager.js.map +1 -1
  417. package/lib/module/utils/AppInfo.js.map +1 -1
  418. package/lib/module/utils/SDKInfo.js.map +1 -1
  419. package/lib/module/utils/webVersioningStrategy.utils.js +7 -0
  420. package/lib/module/utils/webVersioningStrategy.utils.js.map +1 -1
  421. package/lib/module/webComponent/WebComponent.js +8 -1
  422. package/lib/module/webComponent/WebComponent.js.map +1 -1
  423. package/lib/module/webComponent/WebComponent.utils.js.map +1 -1
  424. package/lib/module/webComponent/html.js.map +1 -1
  425. package/lib/typescript/src/assets/images/index.d.ts +1 -0
  426. package/lib/typescript/src/assets/images/index.d.ts.map +1 -0
  427. package/lib/typescript/src/components/UNACHCreditComponent/UNACHCreditComponent.d.ts +10 -1
  428. package/lib/typescript/src/components/UNACHCreditComponent/UNACHCreditComponent.d.ts.map +1 -0
  429. package/lib/typescript/src/components/UNACHCreditComponent/UNACHCreditComponent.utils.d.ts +1 -0
  430. package/lib/typescript/src/components/UNACHCreditComponent/UNACHCreditComponent.utils.d.ts.map +1 -0
  431. package/lib/typescript/src/components/UNACHCreditComponent/index.d.ts +1 -0
  432. package/lib/typescript/src/components/UNACHCreditComponent/index.d.ts.map +1 -0
  433. package/lib/typescript/src/components/UNACHDebitComponent/UNACHDebitComponent.d.ts +10 -1
  434. package/lib/typescript/src/components/UNACHDebitComponent/UNACHDebitComponent.d.ts.map +1 -0
  435. package/lib/typescript/src/components/UNACHDebitComponent/UNACHDebitComponent.utils.d.ts +1 -0
  436. package/lib/typescript/src/components/UNACHDebitComponent/UNACHDebitComponent.utils.d.ts.map +1 -0
  437. package/lib/typescript/src/components/UNACHDebitComponent/index.d.ts +1 -0
  438. package/lib/typescript/src/components/UNACHDebitComponent/index.d.ts.map +1 -0
  439. package/lib/typescript/src/components/UNAccountComponent/UNAccountComponent.d.ts +6 -0
  440. package/lib/typescript/src/components/UNAccountComponent/UNAccountComponent.d.ts.map +1 -0
  441. package/lib/typescript/src/components/UNAccountComponent/UNAccountComponent.utils.d.ts +2 -1
  442. package/lib/typescript/src/components/UNAccountComponent/UNAccountComponent.utils.d.ts.map +1 -0
  443. package/lib/typescript/src/components/UNAccountComponent/index.d.ts +1 -0
  444. package/lib/typescript/src/components/UNAccountComponent/index.d.ts.map +1 -0
  445. package/lib/typescript/src/components/UNActivityComponent/UNActivityComponent.d.ts +8 -1
  446. package/lib/typescript/src/components/UNActivityComponent/UNActivityComponent.d.ts.map +1 -0
  447. package/lib/typescript/src/components/UNActivityComponent/UNActivityComponent.utils.d.ts +1 -0
  448. package/lib/typescript/src/components/UNActivityComponent/UNActivityComponent.utils.d.ts.map +1 -0
  449. package/lib/typescript/src/components/UNActivityComponent/index.d.ts +2 -1
  450. package/lib/typescript/src/components/UNActivityComponent/index.d.ts.map +1 -0
  451. package/lib/typescript/src/components/UNBookPaymentComponent/UNBookPaymentComponent.d.ts +10 -4
  452. package/lib/typescript/src/components/UNBookPaymentComponent/UNBookPaymentComponent.d.ts.map +1 -0
  453. package/lib/typescript/src/components/UNBookPaymentComponent/UNBookPaymentComponent.utils.d.ts +1 -0
  454. package/lib/typescript/src/components/UNBookPaymentComponent/UNBookPaymentComponent.utils.d.ts.map +1 -0
  455. package/lib/typescript/src/components/UNBookPaymentComponent/index.d.ts +1 -0
  456. package/lib/typescript/src/components/UNBookPaymentComponent/index.d.ts.map +1 -0
  457. package/lib/typescript/src/components/UNBottomSheetComponent/UNBottomSheetComponent.constants.d.ts +8 -1
  458. package/lib/typescript/src/components/UNBottomSheetComponent/UNBottomSheetComponent.constants.d.ts.map +1 -0
  459. package/lib/typescript/src/components/UNBottomSheetComponent/UNBottomSheetComponent.d.ts +2 -6
  460. package/lib/typescript/src/components/UNBottomSheetComponent/UNBottomSheetComponent.d.ts.map +1 -0
  461. package/lib/typescript/src/components/UNBottomSheetComponent/UNBottomSheetComponent.styles.d.ts +1 -0
  462. package/lib/typescript/src/components/UNBottomSheetComponent/UNBottomSheetComponent.styles.d.ts.map +1 -0
  463. package/lib/typescript/src/components/UNBottomSheetComponent/UNBottomSheetComponent.utils.d.ts +2 -1
  464. package/lib/typescript/src/components/UNBottomSheetComponent/UNBottomSheetComponent.utils.d.ts.map +1 -0
  465. package/lib/typescript/src/components/UNBottomSheetComponent/components/UNBottomSheetNativeComponent/UNBottomSheetNativeComponent.d.ts +8 -0
  466. package/lib/typescript/src/components/UNBottomSheetComponent/components/UNBottomSheetNativeComponent/UNBottomSheetNativeComponent.d.ts.map +1 -0
  467. package/lib/typescript/src/components/UNBottomSheetComponent/components/UNBottomSheetNativeComponent/index.d.ts +2 -0
  468. package/lib/typescript/src/components/UNBottomSheetComponent/components/UNBottomSheetNativeComponent/index.d.ts.map +1 -0
  469. package/lib/typescript/src/components/UNBottomSheetComponent/components/UNBottomSheetSlotComponent/UNBottomSheetSlotComponent.d.ts +11 -0
  470. package/lib/typescript/src/components/UNBottomSheetComponent/components/UNBottomSheetSlotComponent/UNBottomSheetSlotComponent.d.ts.map +1 -0
  471. package/lib/typescript/src/components/UNBottomSheetComponent/components/UNBottomSheetSlotComponent/index.d.ts +2 -0
  472. package/lib/typescript/src/components/UNBottomSheetComponent/components/UNBottomSheetSlotComponent/index.d.ts.map +1 -0
  473. package/lib/typescript/src/components/UNBottomSheetComponent/components/index.d.ts +3 -1
  474. package/lib/typescript/src/components/UNBottomSheetComponent/components/index.d.ts.map +1 -0
  475. package/lib/typescript/src/components/UNBottomSheetComponent/index.d.ts +1 -0
  476. package/lib/typescript/src/components/UNBottomSheetComponent/index.d.ts.map +1 -0
  477. package/lib/typescript/src/components/UNCardComponent/UNCardComponent.d.ts +3 -0
  478. package/lib/typescript/src/components/UNCardComponent/UNCardComponent.d.ts.map +1 -0
  479. package/lib/typescript/src/components/UNCardComponent/UNCardComponent.utils.d.ts +1 -0
  480. package/lib/typescript/src/components/UNCardComponent/UNCardComponent.utils.d.ts.map +1 -0
  481. package/lib/typescript/src/components/UNCardComponent/index.d.ts +1 -0
  482. package/lib/typescript/src/components/UNCardComponent/index.d.ts.map +1 -0
  483. package/lib/typescript/src/components/UNCheckDepositComponent/UNCheckDepositComponent.d.ts +7 -1
  484. package/lib/typescript/src/components/UNCheckDepositComponent/UNCheckDepositComponent.d.ts.map +1 -0
  485. package/lib/typescript/src/components/UNCheckDepositComponent/UNCheckDepositComponent.utils.d.ts +1 -0
  486. package/lib/typescript/src/components/UNCheckDepositComponent/UNCheckDepositComponent.utils.d.ts.map +1 -0
  487. package/lib/typescript/src/components/UNCheckDepositComponent/index.d.ts +1 -0
  488. package/lib/typescript/src/components/UNCheckDepositComponent/index.d.ts.map +1 -0
  489. package/lib/typescript/src/components/UNMultipleCardsComponent/UNMultipleCardsComponent.d.ts +3 -0
  490. package/lib/typescript/src/components/UNMultipleCardsComponent/UNMultipleCardsComponent.d.ts.map +1 -0
  491. package/lib/typescript/src/components/UNMultipleCardsComponent/UNMultipleCardsComponent.utils.d.ts +1 -0
  492. package/lib/typescript/src/components/UNMultipleCardsComponent/UNMultipleCardsComponent.utils.d.ts.map +1 -0
  493. package/lib/typescript/src/components/UNMultipleCardsComponent/index.d.ts +1 -0
  494. package/lib/typescript/src/components/UNMultipleCardsComponent/index.d.ts.map +1 -0
  495. package/lib/typescript/src/components/UNNextRepaymentComponent/UNNextRepaymentComponent.d.ts +14 -0
  496. package/lib/typescript/src/components/UNNextRepaymentComponent/UNNextRepaymentComponent.d.ts.map +1 -0
  497. package/lib/typescript/src/components/UNNextRepaymentComponent/UNNextRepaymentComponent.utils.d.ts +3 -0
  498. package/lib/typescript/src/components/UNNextRepaymentComponent/UNNextRepaymentComponent.utils.d.ts.map +1 -0
  499. package/lib/typescript/src/components/UNNextRepaymentComponent/index.d.ts +2 -0
  500. package/lib/typescript/src/components/UNNextRepaymentComponent/index.d.ts.map +1 -0
  501. package/lib/typescript/src/components/UNProgramDetailsComponent/UNProgramDetailsComponent.d.ts +13 -0
  502. package/lib/typescript/src/components/UNProgramDetailsComponent/UNProgramDetailsComponent.d.ts.map +1 -0
  503. package/lib/typescript/src/components/UNProgramDetailsComponent/UNProgramDetailsComponent.utils.d.ts +3 -0
  504. package/lib/typescript/src/components/UNProgramDetailsComponent/UNProgramDetailsComponent.utils.d.ts.map +1 -0
  505. package/lib/typescript/src/components/UNProgramDetailsComponent/index.d.ts +2 -0
  506. package/lib/typescript/src/components/UNProgramDetailsComponent/index.d.ts.map +1 -0
  507. package/lib/typescript/src/components/index.d.ts +3 -0
  508. package/lib/typescript/src/components/index.d.ts.map +1 -0
  509. package/lib/typescript/src/flows/UNFlows.d.ts +1 -0
  510. package/lib/typescript/src/flows/UNFlows.d.ts.map +1 -0
  511. package/lib/typescript/src/flows/card/UNCardFlows.d.ts +1 -0
  512. package/lib/typescript/src/flows/card/UNCardFlows.d.ts.map +1 -0
  513. package/lib/typescript/src/helpers/BottomSheet/BottomSheet.d.ts +5 -3
  514. package/lib/typescript/src/helpers/BottomSheet/BottomSheet.d.ts.map +1 -0
  515. package/lib/typescript/src/helpers/BottomSheet/BottomSheet.styles.d.ts +1 -1
  516. package/lib/typescript/src/helpers/BottomSheet/BottomSheet.styles.d.ts.map +1 -0
  517. package/lib/typescript/src/helpers/pushProvisioningService/helpers.d.ts +1 -0
  518. package/lib/typescript/src/helpers/pushProvisioningService/helpers.d.ts.map +1 -0
  519. package/lib/typescript/src/helpers/pushProvisioningService/hooks/useCardWallet.d.ts +2 -1
  520. package/lib/typescript/src/helpers/pushProvisioningService/hooks/useCardWallet.d.ts.map +1 -0
  521. package/lib/typescript/src/helpers/pushProvisioningService/hooks/useLaunchInitialize.d.ts +1 -0
  522. package/lib/typescript/src/helpers/pushProvisioningService/hooks/useLaunchInitialize.d.ts.map +1 -0
  523. package/lib/typescript/src/helpers/pushProvisioningService/startProvisioning.d.ts +1 -0
  524. package/lib/typescript/src/helpers/pushProvisioningService/startProvisioning.d.ts.map +1 -0
  525. package/lib/typescript/src/helpers/pushProvisioningService/types.d.ts +1 -0
  526. package/lib/typescript/src/helpers/pushProvisioningService/types.d.ts.map +1 -0
  527. package/lib/typescript/src/helpers/store/helpers.d.ts +1 -0
  528. package/lib/typescript/src/helpers/store/helpers.d.ts.map +1 -0
  529. package/lib/typescript/src/hooks/useAppStateListener.d.ts +1 -0
  530. package/lib/typescript/src/hooks/useAppStateListener.d.ts.map +1 -0
  531. package/lib/typescript/src/hooks/useListenerToEvent.d.ts +1 -0
  532. package/lib/typescript/src/hooks/useListenerToEvent.d.ts.map +1 -0
  533. package/lib/typescript/src/index.d.ts +1 -0
  534. package/lib/typescript/src/index.d.ts.map +1 -0
  535. package/lib/typescript/src/messages/nativeMessages/bottomSheetMessage.d.ts +5 -4
  536. package/lib/typescript/src/messages/nativeMessages/bottomSheetMessage.d.ts.map +1 -0
  537. package/lib/typescript/src/messages/nativeMessages/cardMessage.d.ts +1 -0
  538. package/lib/typescript/src/messages/nativeMessages/cardMessage.d.ts.map +1 -0
  539. package/lib/typescript/src/messages/nativeMessages/index.d.ts +1 -0
  540. package/lib/typescript/src/messages/nativeMessages/index.d.ts.map +1 -0
  541. package/lib/typescript/src/messages/nativeMessages/sdkMessage.d.ts +1 -0
  542. package/lib/typescript/src/messages/nativeMessages/sdkMessage.d.ts.map +1 -0
  543. package/lib/typescript/src/messages/webMessages/accountMessage.d.ts +1 -0
  544. package/lib/typescript/src/messages/webMessages/accountMessage.d.ts.map +1 -0
  545. package/lib/typescript/src/messages/webMessages/achCreditMessage.d.ts +1 -0
  546. package/lib/typescript/src/messages/webMessages/achCreditMessage.d.ts.map +1 -0
  547. package/lib/typescript/src/messages/webMessages/activityMessage.d.ts +1 -0
  548. package/lib/typescript/src/messages/webMessages/activityMessage.d.ts.map +1 -0
  549. package/lib/typescript/src/messages/webMessages/bookPaymentMessage.d.ts +1 -0
  550. package/lib/typescript/src/messages/webMessages/bookPaymentMessage.d.ts.map +1 -0
  551. package/lib/typescript/src/messages/webMessages/cardMessage.d.ts +1 -0
  552. package/lib/typescript/src/messages/webMessages/cardMessage.d.ts.map +1 -0
  553. package/lib/typescript/src/messages/webMessages/checkMessage.d.ts +1 -0
  554. package/lib/typescript/src/messages/webMessages/checkMessage.d.ts.map +1 -0
  555. package/lib/typescript/src/messages/webMessages/index.d.ts +1 -0
  556. package/lib/typescript/src/messages/webMessages/index.d.ts.map +1 -0
  557. package/lib/typescript/src/messages/webMessages/multipleCardsMessage.d.ts +1 -0
  558. package/lib/typescript/src/messages/webMessages/multipleCardsMessage.d.ts.map +1 -0
  559. package/lib/typescript/src/messages/webMessages/onLoadMessage.d.ts +5 -3
  560. package/lib/typescript/src/messages/webMessages/onLoadMessage.d.ts.map +1 -0
  561. package/lib/typescript/src/messages/webMessages/pageMessage.d.ts +1 -0
  562. package/lib/typescript/src/messages/webMessages/pageMessage.d.ts.map +1 -0
  563. package/lib/typescript/src/messages/webMessages/paymentsMessage.d.ts +4 -1
  564. package/lib/typescript/src/messages/webMessages/paymentsMessage.d.ts.map +1 -0
  565. package/lib/typescript/src/messages/webMessages/unitMessages.d.ts +11 -5
  566. package/lib/typescript/src/messages/webMessages/unitMessages.d.ts.map +1 -0
  567. package/lib/typescript/src/{components/UNBottomSheetComponent/components/UNAddToWalletBottomSheetItem → nativeComponents/UNAddToWallet/UNAddToWalletComponent}/UNAddToWalletBottomSheetItem.styles.d.ts +1 -0
  568. package/lib/typescript/src/nativeComponents/UNAddToWallet/UNAddToWalletComponent/UNAddToWalletBottomSheetItem.styles.d.ts.map +1 -0
  569. package/lib/typescript/src/nativeComponents/UNAddToWallet/UNAddToWalletComponent/UNAddToWalletComponent.d.ts +8 -0
  570. package/lib/typescript/src/nativeComponents/UNAddToWallet/UNAddToWalletComponent/UNAddToWalletComponent.d.ts.map +1 -0
  571. package/lib/typescript/src/nativeComponents/UNAddToWallet/UNAddToWalletComponent/UNAddToWalletComponent.utils.d.ts +5 -0
  572. package/lib/typescript/src/nativeComponents/UNAddToWallet/UNAddToWalletComponent/UNAddToWalletComponent.utils.d.ts.map +1 -0
  573. package/lib/typescript/src/nativeComponents/UNAddToWallet/UNAddToWalletComponent/index.d.ts +2 -0
  574. package/lib/typescript/src/nativeComponents/UNAddToWallet/UNAddToWalletComponent/index.d.ts.map +1 -0
  575. package/lib/typescript/src/{nativeComponent → nativeComponents/UNAddToWallet}/UnitAddToWalletButton.d.ts +1 -0
  576. package/lib/typescript/src/nativeComponents/UNAddToWallet/UnitAddToWalletButton.d.ts.map +1 -0
  577. package/lib/typescript/src/networking/common/UNNetworkConstants.d.ts +1 -0
  578. package/lib/typescript/src/networking/common/UNNetworkConstants.d.ts.map +1 -0
  579. package/lib/typescript/src/networking/requests/UNWalletPayloadRequest.d.ts +1 -0
  580. package/lib/typescript/src/networking/requests/UNWalletPayloadRequest.d.ts.map +1 -0
  581. package/lib/typescript/src/scripts/html/bodyHtml.d.ts +1 -0
  582. package/lib/typescript/src/scripts/html/bodyHtml.d.ts.map +1 -0
  583. package/lib/typescript/src/scripts/html/bodyScript.d.ts +5 -1
  584. package/lib/typescript/src/scripts/html/bodyScript.d.ts.map +1 -0
  585. package/lib/typescript/src/scripts/html/fontFaces.d.ts +1 -0
  586. package/lib/typescript/src/scripts/html/fontFaces.d.ts.map +1 -0
  587. package/lib/typescript/src/slices/BottomSheetSlice.d.ts +16 -0
  588. package/lib/typescript/src/slices/BottomSheetSlice.d.ts.map +1 -0
  589. package/lib/typescript/src/slices/ConfigurationSlice.d.ts +1 -0
  590. package/lib/typescript/src/slices/ConfigurationSlice.d.ts.map +1 -0
  591. package/lib/typescript/src/slices/SharedEventsSlice.d.ts +7 -10
  592. package/lib/typescript/src/slices/SharedEventsSlice.d.ts.map +1 -0
  593. package/lib/typescript/src/slices/pushProvisioningSlice.d.ts +1 -0
  594. package/lib/typescript/src/slices/pushProvisioningSlice.d.ts.map +1 -0
  595. package/lib/typescript/src/store/index.d.ts +1 -0
  596. package/lib/typescript/src/store/index.d.ts.map +1 -0
  597. package/lib/typescript/src/store/store.d.ts +5 -8
  598. package/lib/typescript/src/store/store.d.ts.map +1 -0
  599. package/lib/typescript/src/styles/fonts.d.ts +1 -0
  600. package/lib/typescript/src/styles/fonts.d.ts.map +1 -0
  601. package/lib/typescript/src/styles/variables.d.ts +4 -0
  602. package/lib/typescript/src/styles/variables.d.ts.map +1 -0
  603. package/lib/typescript/src/types/internal/bottomSheet.types.d.ts +29 -7
  604. package/lib/typescript/src/types/internal/bottomSheet.types.d.ts.map +1 -0
  605. package/lib/typescript/src/types/internal/errorHelpers.d.ts +1 -0
  606. package/lib/typescript/src/types/internal/errorHelpers.d.ts.map +1 -0
  607. package/lib/typescript/src/types/internal/webComponent.types.d.ts +4 -1
  608. package/lib/typescript/src/types/internal/webComponent.types.d.ts.map +1 -0
  609. package/lib/typescript/src/types/shared/account.types.d.ts +6 -0
  610. package/lib/typescript/src/types/shared/account.types.d.ts.map +1 -0
  611. package/lib/typescript/src/types/shared/achCredit.types.d.ts +1 -0
  612. package/lib/typescript/src/types/shared/achCredit.types.d.ts.map +1 -0
  613. package/lib/typescript/src/types/shared/activity.types.d.ts +4 -3
  614. package/lib/typescript/src/types/shared/activity.types.d.ts.map +1 -0
  615. package/lib/typescript/src/types/shared/authorization.types.d.ts +1 -0
  616. package/lib/typescript/src/types/shared/authorization.types.d.ts.map +1 -0
  617. package/lib/typescript/src/types/shared/bookPayment.types.d.ts +1 -0
  618. package/lib/typescript/src/types/shared/bookPayment.types.d.ts.map +1 -0
  619. package/lib/typescript/src/types/shared/card.types.d.ts +9 -0
  620. package/lib/typescript/src/types/shared/card.types.d.ts.map +1 -0
  621. package/lib/typescript/src/types/shared/checkDeposit.types.d.ts +1 -0
  622. package/lib/typescript/src/types/shared/checkDeposit.types.d.ts.map +1 -0
  623. package/lib/typescript/src/types/shared/error.types.d.ts +1 -0
  624. package/lib/typescript/src/types/shared/error.types.d.ts.map +1 -0
  625. package/lib/typescript/src/types/shared/fonts.types.d.ts +1 -0
  626. package/lib/typescript/src/types/shared/fonts.types.d.ts.map +1 -0
  627. package/lib/typescript/src/types/shared/index.d.ts +1 -0
  628. package/lib/typescript/src/types/shared/index.d.ts.map +1 -0
  629. package/lib/typescript/src/types/shared/multipleCards.types.d.ts +2 -1
  630. package/lib/typescript/src/types/shared/multipleCards.types.d.ts.map +1 -0
  631. package/lib/typescript/src/types/shared/onLoadResponse.types.d.ts +1 -0
  632. package/lib/typescript/src/types/shared/onLoadResponse.types.d.ts.map +1 -0
  633. package/lib/typescript/src/types/shared/payments.types.d.ts +5 -0
  634. package/lib/typescript/src/types/shared/payments.types.d.ts.map +1 -0
  635. package/lib/typescript/src/types/shared/repayment.types.d.ts +12 -0
  636. package/lib/typescript/src/types/shared/repayment.types.d.ts.map +1 -0
  637. package/lib/typescript/src/types/shared/transactions.types.d.ts +1 -0
  638. package/lib/typescript/src/types/shared/transactions.types.d.ts.map +1 -0
  639. package/lib/typescript/src/types/shared/types.d.ts +1 -0
  640. package/lib/typescript/src/types/shared/types.d.ts.map +1 -0
  641. package/lib/typescript/src/types/shared/versioning.types.d.ts +6 -1
  642. package/lib/typescript/src/types/shared/versioning.types.d.ts.map +1 -0
  643. package/lib/typescript/src/types/shared/wallet.types.d.ts +1 -0
  644. package/lib/typescript/src/types/shared/wallet.types.d.ts.map +1 -0
  645. package/lib/typescript/src/unitSdkManager/UnitSdk.api.d.ts +1 -0
  646. package/lib/typescript/src/unitSdkManager/UnitSdk.api.d.ts.map +1 -0
  647. package/lib/typescript/src/unitSdkManager/UnitSdk.constants.d.ts +1 -0
  648. package/lib/typescript/src/unitSdkManager/UnitSdk.constants.d.ts.map +1 -0
  649. package/lib/typescript/src/unitSdkManager/UnitSdkManager.d.ts +1 -0
  650. package/lib/typescript/src/unitSdkManager/UnitSdkManager.d.ts.map +1 -0
  651. package/lib/typescript/src/unitSdkManager/UnitSdkManager.utils.internal.d.ts +1 -0
  652. package/lib/typescript/src/unitSdkManager/UnitSdkManager.utils.internal.d.ts.map +1 -0
  653. package/lib/typescript/src/unitSdkManager/unitUiManager/unitUiManager.d.ts +1 -0
  654. package/lib/typescript/src/unitSdkManager/unitUiManager/unitUiManager.d.ts.map +1 -0
  655. package/lib/typescript/src/utils/AppInfo.d.ts +1 -0
  656. package/lib/typescript/src/utils/AppInfo.d.ts.map +1 -0
  657. package/lib/typescript/src/utils/SDKInfo.d.ts +1 -0
  658. package/lib/typescript/src/utils/SDKInfo.d.ts.map +1 -0
  659. package/lib/typescript/src/utils/webVersioningStrategy.utils.d.ts +1 -0
  660. package/lib/typescript/src/utils/webVersioningStrategy.utils.d.ts.map +1 -0
  661. package/lib/typescript/src/webComponent/WebComponent.d.ts +1 -0
  662. package/lib/typescript/src/webComponent/WebComponent.d.ts.map +1 -0
  663. package/lib/typescript/src/webComponent/WebComponent.utils.d.ts +1 -0
  664. package/lib/typescript/src/webComponent/WebComponent.utils.d.ts.map +1 -0
  665. package/lib/typescript/src/webComponent/html.d.ts +1 -0
  666. package/lib/typescript/src/webComponent/html.d.ts.map +1 -0
  667. package/package.json +26 -38
  668. package/react-native-unit-components.podspec +9 -2
  669. package/src/components/UNACHCreditComponent/UNACHCreditComponent.tsx +26 -4
  670. package/src/components/UNACHCreditComponent/UNACHCreditComponent.utils.ts +13 -2
  671. package/src/components/UNACHDebitComponent/UNACHDebitComponent.tsx +26 -4
  672. package/src/components/UNACHDebitComponent/UNACHDebitComponent.utils.ts +12 -2
  673. package/src/components/UNAccountComponent/UNAccountComponent.tsx +40 -14
  674. package/src/components/UNAccountComponent/UNAccountComponent.utils.ts +9 -6
  675. package/src/components/UNActivityComponent/UNActivityComponent.tsx +30 -9
  676. package/src/components/UNActivityComponent/UNActivityComponent.utils.ts +2 -0
  677. package/src/components/UNActivityComponent/index.ts +1 -1
  678. package/src/components/UNBookPaymentComponent/UNBookPaymentComponent.tsx +23 -5
  679. package/src/components/UNBookPaymentComponent/UNBookPaymentComponent.utils.ts +11 -4
  680. package/src/components/UNBottomSheetComponent/UNBottomSheetComponent.constants.ts +20 -1
  681. package/src/components/UNBottomSheetComponent/UNBottomSheetComponent.tsx +174 -281
  682. package/src/components/UNBottomSheetComponent/UNBottomSheetComponent.utils.ts +5 -6
  683. package/src/components/UNBottomSheetComponent/components/UNBottomSheetNativeComponent/UNBottomSheetNativeComponent.tsx +60 -0
  684. package/src/components/UNBottomSheetComponent/components/UNBottomSheetNativeComponent/index.ts +1 -0
  685. package/src/components/UNBottomSheetComponent/components/UNBottomSheetSlotComponent/UNBottomSheetSlotComponent.tsx +181 -0
  686. package/src/components/UNBottomSheetComponent/components/UNBottomSheetSlotComponent/index.ts +1 -0
  687. package/src/components/UNBottomSheetComponent/components/index.ts +2 -1
  688. package/src/components/UNCardComponent/UNCardComponent.tsx +4 -2
  689. package/src/components/UNCardComponent/UNCardComponent.utils.ts +2 -0
  690. package/src/components/UNCheckDepositComponent/UNCheckDepositComponent.tsx +16 -3
  691. package/src/components/UNCheckDepositComponent/UNCheckDepositComponent.utils.ts +8 -2
  692. package/src/components/UNMultipleCardsComponent/UNMultipleCardsComponent.tsx +1 -0
  693. package/src/components/UNMultipleCardsComponent/UNMultipleCardsComponent.utils.ts +1 -0
  694. package/src/components/UNNextRepaymentComponent/UNNextRepaymentComponent.tsx +80 -0
  695. package/src/components/UNNextRepaymentComponent/UNNextRepaymentComponent.utils.ts +10 -0
  696. package/src/components/UNNextRepaymentComponent/index.ts +3 -0
  697. package/src/components/UNProgramDetailsComponent/UNProgramDetailsComponent.tsx +77 -0
  698. package/src/components/UNProgramDetailsComponent/UNProgramDetailsComponent.utils.ts +9 -0
  699. package/src/components/UNProgramDetailsComponent/index.ts +3 -0
  700. package/src/components/index.ts +2 -0
  701. package/src/flows/UNFlows.ts +1 -1
  702. package/src/flows/card/UNCardFlows.ts +16 -17
  703. package/src/helpers/BottomSheet/BottomSheet.styles.ts +7 -8
  704. package/src/helpers/BottomSheet/BottomSheet.tsx +44 -39
  705. package/src/helpers/pushProvisioningService/hooks/useCardWallet.ts +3 -2
  706. package/src/helpers/pushProvisioningService/startProvisioning.ts +3 -5
  707. package/src/helpers/store/helpers.tsx +1 -1
  708. package/src/messages/nativeMessages/bottomSheetMessage.ts +7 -7
  709. package/src/messages/webMessages/onLoadMessage.ts +4 -3
  710. package/src/messages/webMessages/paymentsMessage.ts +3 -1
  711. package/src/messages/webMessages/unitMessages.ts +19 -13
  712. package/src/nativeComponents/UNAddToWallet/UNAddToWalletComponent/UNAddToWalletComponent.tsx +93 -0
  713. package/src/nativeComponents/UNAddToWallet/UNAddToWalletComponent/UNAddToWalletComponent.utils.ts +15 -0
  714. package/src/nativeComponents/UNAddToWallet/UNAddToWalletComponent/index.ts +1 -0
  715. package/src/scripts/html/bodyScript.ts +36 -8
  716. package/src/slices/BottomSheetSlice.ts +72 -0
  717. package/src/slices/SharedEventsSlice.ts +7 -12
  718. package/src/store/store.ts +2 -0
  719. package/src/styles/variables.ts +5 -2
  720. package/src/types/internal/bottomSheet.types.ts +51 -7
  721. package/src/types/internal/webComponent.types.ts +2 -0
  722. package/src/types/shared/account.types.ts +6 -0
  723. package/src/types/shared/activity.types.ts +3 -3
  724. package/src/types/shared/card.types.ts +10 -1
  725. package/src/types/shared/multipleCards.types.ts +1 -1
  726. package/src/types/shared/payments.types.ts +10 -5
  727. package/src/types/shared/repayment.types.ts +12 -0
  728. package/src/types/shared/versioning.types.ts +7 -1
  729. package/src/unitSdkManager/UnitSdk.constants.ts +1 -1
  730. package/src/utils/webVersioningStrategy.utils.ts +7 -0
  731. package/src/webComponent/WebComponent.tsx +21 -9
  732. package/lib/commonjs/components/UNBottomSheetComponent/components/UNAddToWalletBottomSheetItem/UNAddToWalletBottomSheetItem.js +0 -91
  733. package/lib/commonjs/components/UNBottomSheetComponent/components/UNAddToWalletBottomSheetItem/UNAddToWalletBottomSheetItem.js.map +0 -1
  734. package/lib/commonjs/components/UNBottomSheetComponent/components/UNAddToWalletBottomSheetItem/UNAddToWalletBottomSheetItem.styles.js.map +0 -1
  735. package/lib/commonjs/components/UNBottomSheetComponent/components/UNAddToWalletBottomSheetItem/index.js +0 -17
  736. package/lib/commonjs/components/UNBottomSheetComponent/components/UNAddToWalletBottomSheetItem/index.js.map +0 -1
  737. package/lib/commonjs/nativeComponent/UnitAddToWalletButton.js.map +0 -1
  738. package/lib/module/components/UNBottomSheetComponent/components/UNAddToWalletBottomSheetItem/UNAddToWalletBottomSheetItem.js +0 -81
  739. package/lib/module/components/UNBottomSheetComponent/components/UNAddToWalletBottomSheetItem/UNAddToWalletBottomSheetItem.js.map +0 -1
  740. package/lib/module/components/UNBottomSheetComponent/components/UNAddToWalletBottomSheetItem/UNAddToWalletBottomSheetItem.styles.js.map +0 -1
  741. package/lib/module/components/UNBottomSheetComponent/components/UNAddToWalletBottomSheetItem/index.js +0 -2
  742. package/lib/module/components/UNBottomSheetComponent/components/UNAddToWalletBottomSheetItem/index.js.map +0 -1
  743. package/lib/module/nativeComponent/UnitAddToWalletButton.js.map +0 -1
  744. package/lib/typescript/src/components/UNBottomSheetComponent/components/UNAddToWalletBottomSheetItem/UNAddToWalletBottomSheetItem.d.ts +0 -10
  745. package/lib/typescript/src/components/UNBottomSheetComponent/components/UNAddToWalletBottomSheetItem/index.d.ts +0 -1
  746. package/src/components/UNBottomSheetComponent/components/UNAddToWalletBottomSheetItem/UNAddToWalletBottomSheetItem.tsx +0 -109
  747. package/src/components/UNBottomSheetComponent/components/UNAddToWalletBottomSheetItem/index.ts +0 -1
  748. /package/lib/commonjs/{components/UNBottomSheetComponent/components/UNAddToWalletBottomSheetItem → nativeComponents/UNAddToWallet/UNAddToWalletComponent}/UNAddToWalletBottomSheetItem.styles.js +0 -0
  749. /package/lib/module/{components/UNBottomSheetComponent/components/UNAddToWalletBottomSheetItem → nativeComponents/UNAddToWallet/UNAddToWalletComponent}/UNAddToWalletBottomSheetItem.styles.js +0 -0
  750. /package/lib/module/{nativeComponent → nativeComponents/UNAddToWallet}/UnitAddToWalletButton.js +0 -0
  751. /package/src/{components/UNBottomSheetComponent/components/UNAddToWalletBottomSheetItem → nativeComponents/UNAddToWallet/UNAddToWalletComponent}/UNAddToWalletBottomSheetItem.styles.ts +0 -0
  752. /package/src/{nativeComponent → nativeComponents/UNAddToWallet}/UnitAddToWalletButton.tsx +0 -0
@@ -1 +1 @@
1
- {"version":3,"names":["PaymentMessage","CardMessage","PageMessage","UnitMessage","AccountMessage","ActivityMessage","POST_MESSAGE_TO_SDK","POST_PAGE_HEIGHT","PAGE_HEIGHT","LISTENERS","isPageLoaded","PAGE_LOADED","requestRendering","UNIT_REQUEST_RENDERING","requestRefresh","UNIT_REQUEST_REFRESH","onLoad","UNIT_ON_LOAD","requestCloseFlow","UNIT_REQUEST_CLOSE_FLOW","requestOpenLink","UNIT_REQUEST_OPEN_LINK","unitRequestDownload","UNIT_REQUEST_DOWNLOAD","cardActivated","CARD_ACTIVATED","cardStatusChange","CARD_STATUS_CHANGED","unitRequestExternalSdk","UNIT_REQUEST_EXTERNAL_SDK","unitPaymentCreated","PAYMENT_CREATED","unitPlaidTokenCreated","UNIT_PLAID_TOKEN_CREATED","unitAccountChanged","UNIT_ACCOUNT_CHANGED","unitActivityFiltersChanged","UNIT_ACTIVITY_FILTERS_CHANGED","DISPATCH_RENDERING_EVENT","DISPATCH_REQUEST_REFRESH","DISPATCH_ACTIVITY_FILTER_CHANGED_EVENT","DISPATCH_PLAID_RESPONSE","UNIT_PLAID_RESPONSE","DISPATCH_OPEN_ACTIONS_MENU","DISPATCH_REQUEST_CARD_ACTION","DISPATCH_REQUEST_HIDE_SENSITIVE_DATA","DISPATCH_REQUEST_SHOW_SENSITIVE_DATA","DISPATCH_REQUEST_ACCOUNT_ACTION"],"sources":["bodyScript.ts"],"sourcesContent":["import { PaymentMessage } from '../../messages/webMessages/paymentsMessage';\nimport { CardMessage } from '../../messages/webMessages/cardMessage';\nimport { PageMessage } from '../../messages/webMessages/pageMessage';\nimport { UnitMessage } from '../../messages/webMessages/unitMessages';\nimport { AccountMessage } from '../../messages/webMessages/accountMessage';\nimport { ActivityMessage } from '../../messages/webMessages/activityMessage';\n\nexport const POST_MESSAGE_TO_SDK = `\n const postMessageToSDK = (message) => {\n if ('ReactNativeWebView' in window) {\n const messageString = JSON.stringify(message)\n window['ReactNativeWebView'].postMessage(messageString)\n }\n }\n`;\n\nexport const POST_PAGE_HEIGHT = `\n const postHeight = () => {\n setTimeout(() => {\n const height = window.document.documentElement.getBoundingClientRect().height\n postMessageToSDK({ type: \"${PageMessage.PAGE_HEIGHT}\", details: { height } })\n })\n }\n`;\n\nexport const LISTENERS = {\n isPageLoaded: `\n window.addEventListener('DOMContentLoaded', e => {\n postMessageToSDK({ type: \"${PageMessage.PAGE_LOADED}\" })\n });\n `,\n requestRendering: `\n window.addEventListener(\"${UnitMessage.UNIT_REQUEST_RENDERING}\", (e) => {\n postMessageToSDK({ type: \"${UnitMessage.UNIT_REQUEST_RENDERING}\", details: { data: e.detail }})\n });\n `,\n requestRefresh: `\n window.addEventListener(\"${UnitMessage.UNIT_REQUEST_REFRESH}\", (e) => {\n postMessageToSDK({ type: \"${UnitMessage.UNIT_REQUEST_REFRESH}\", details: e.detail })\n });\n `,\n onLoad: `\n window.addEventListener(\"${UnitMessage.UNIT_ON_LOAD}\", (e) => {\n postHeight()\n postMessageToSDK({ type: \"${UnitMessage.UNIT_ON_LOAD}\", details: e.detail })\n });\n `,\n requestCloseFlow: `\n window.addEventListener(\"${UnitMessage.UNIT_REQUEST_CLOSE_FLOW}\", (e) => {\n postMessageToSDK({ type: \"${UnitMessage.UNIT_REQUEST_CLOSE_FLOW}\" })\n });\n `,\n requestOpenLink: `\n window.addEventListener(\"${UnitMessage.UNIT_REQUEST_OPEN_LINK}\", (e) => {\n postMessageToSDK({ type: \"${UnitMessage.UNIT_REQUEST_OPEN_LINK}\", details: e.detail })\n });\n `,\n unitRequestDownload: `\n window.addEventListener(\"${UnitMessage.UNIT_REQUEST_DOWNLOAD}\", (e) => {\n postMessageToSDK({ type: \"${UnitMessage.UNIT_REQUEST_DOWNLOAD}\", details: e.detail })\n });\n `,\n cardActivated: `\n window.addEventListener(\"${CardMessage.CARD_ACTIVATED}\", (e) => {\n const response = e.detail\n response.then((data) => {\n postMessageToSDK({ type: \"${CardMessage.CARD_ACTIVATED}\", details: { card: data.data }})\n }).catch((e) => {\n console.log(e)\n })\n });\n `,\n cardStatusChange: `\n window.addEventListener(\"${CardMessage.CARD_STATUS_CHANGED}\", (e) => {\n const response = e.detail\n response.then((data) => {\n postMessageToSDK({ type: \"${CardMessage.CARD_STATUS_CHANGED}\", details: { card: data.data }})\n }).catch((e) => {\n console.log(e)\n })\n });\n `,\n unitRequestExternalSdk: `\n window.addEventListener(\"${UnitMessage.UNIT_REQUEST_EXTERNAL_SDK}\", (e) => {\n postMessageToSDK({ type: \"${UnitMessage.UNIT_REQUEST_EXTERNAL_SDK}\", details: e.detail })\n });\n `,\n unitPaymentCreated: `\n window.addEventListener(\"${PaymentMessage.PAYMENT_CREATED}\", (e) => {\n const response = e.detail\n response.then((data) => {\n postMessageToSDK({ type: \"${PaymentMessage.PAYMENT_CREATED}\", details: { data: data.data }})\n }).catch((e) => {\n console.log(e)\n })\n });\n `,\n unitPlaidTokenCreated: `\n window.addEventListener(\"${UnitMessage.UNIT_PLAID_TOKEN_CREATED}\", (e) => {\n const response = e.detail\n response.then((data) => {\n postMessageToSDK({ type: \"${UnitMessage.UNIT_PLAID_TOKEN_CREATED}\", details: { linkToken: data.data }})\n }).catch((e) => {\n console.log(e)\n })\n });\n `,\n unitAccountChanged: `\n window.addEventListener(\"${AccountMessage.UNIT_ACCOUNT_CHANGED}\", (e) => {\n const response = e.detail\n response.then((data) => {\n postMessageToSDK({ type: \"${AccountMessage.UNIT_ACCOUNT_CHANGED}\", details: { account: data.data }})\n }).catch((e) => {\n console.log(e)\n })\n });\n `,\n unitActivityFiltersChanged: `\n window.addEventListener(\"${ActivityMessage.UNIT_ACTIVITY_FILTERS_CHANGED}\", (e) => {\n postMessageToSDK({ type: \"${ActivityMessage.UNIT_ACTIVITY_FILTERS_CHANGED}\", details: e.detail })\n });\n `,\n};\n\nexport const DISPATCH_RENDERING_EVENT = `\n const dispatchRenderingEvent = (details) => {\n const event = new CustomEvent(\"${UnitMessage.UNIT_REQUEST_RENDERING}\",{ detail: JSON.parse(details) })\n window.dispatchEvent(event)\n }\n`;\n\nexport const DISPATCH_REQUEST_REFRESH = `\n const dispatchRefreshEvent = (details) => {\n const event = new CustomEvent(\"${UnitMessage.UNIT_REQUEST_REFRESH}\",{ detail: JSON.parse(details) })\n window.dispatchEvent(event)\n }\n`;\n\nexport const DISPATCH_ACTIVITY_FILTER_CHANGED_EVENT = `\n const dispatchActivityFilterChangedEvent = (details) => {\n const event = new CustomEvent(\"${ActivityMessage.UNIT_ACTIVITY_FILTERS_CHANGED}\",{ detail: details });\n window.dispatchEvent(event);\n }\n`;\n\nexport const DISPATCH_PLAID_RESPONSE = `\n const dispatchPlaidEvent = (details) => {\n const event = new CustomEvent(\"${UnitMessage.UNIT_PLAID_RESPONSE}\",{ detail: details })\n window.dispatchEvent(event)\n }\n`;\n\nexport const DISPATCH_OPEN_ACTIONS_MENU = `\n const dispatchOpenActionsMenu = (componentName) => {\n document.querySelector(componentName).dispatchEvent(new CustomEvent(\"unitRequestOpenActionsMenu\"))\n }\n`;\n\nexport const DISPATCH_REQUEST_CARD_ACTION = `\n const dispatchRequestCardAction = (action) => {\n document.querySelector(\"unit-elements-card\").dispatchEvent(new CustomEvent(\"unitRequestCardAction\", {detail: {action: action}}))\n }\n`;\n\nexport const DISPATCH_REQUEST_HIDE_SENSITIVE_DATA = `\n const dispatchRequestHideSensitiveData = (componentName) => {\n document.querySelector(componentName).dispatchEvent(new CustomEvent(\"unitRequestHideSensitiveData\"))\n }\n`;\n\nexport const DISPATCH_REQUEST_SHOW_SENSITIVE_DATA = `\n const dispatchRequestShowSensitiveData = (componentName) => {\n document.querySelector(componentName).dispatchEvent(new CustomEvent(\"unitRequestShowSensitiveData\"))\n }\n`;\n\nexport const DISPATCH_REQUEST_ACCOUNT_ACTION = `\n const dispatchRequestAccountAction = (action) => {\n document.querySelector(\"unit-elements-account\").dispatchEvent(new CustomEvent(\"unitRequestAccountAction\", {detail: {action: action}}))\n }\n`;\n"],"mappings":"AAAA,SAASA,cAAc,QAAQ,4CAA4C;AAC3E,SAASC,WAAW,QAAQ,wCAAwC;AACpE,SAASC,WAAW,QAAQ,wCAAwC;AACpE,SAASC,WAAW,QAAQ,yCAAyC;AACrE,SAASC,cAAc,QAAQ,2CAA2C;AAC1E,SAASC,eAAe,QAAQ,4CAA4C;AAE5E,OAAO,MAAMC,mBAAmB,GAAI;AACpC;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AAED,OAAO,MAAMC,gBAAgB,GAAI;AACjC;AACA;AACA;AACA,kCAAkCL,WAAW,CAACM,WAAY;AAC1D;AACA;AACA,CAAC;AAED,OAAO,MAAMC,SAAS,GAAG;EACvBC,YAAY,EAAG;AACjB;AACA,kCAAkCR,WAAW,CAACS,WAAY;AAC1D;AACA,GAAG;EACDC,gBAAgB,EAAG;AACrB,+BAA+BT,WAAW,CAACU,sBAAuB;AAClE,kCAAkCV,WAAW,CAACU,sBAAuB;AACrE;AACA,GAAG;EACDC,cAAc,EAAG;AACnB,+BAA+BX,WAAW,CAACY,oBAAqB;AAChE,kCAAkCZ,WAAW,CAACY,oBAAqB;AACnE;AACA,GAAG;EACDC,MAAM,EAAG;AACX,+BAA+Bb,WAAW,CAACc,YAAa;AACxD;AACA,kCAAkCd,WAAW,CAACc,YAAa;AAC3D;AACA,GAAG;EACDC,gBAAgB,EAAG;AACrB,+BAA+Bf,WAAW,CAACgB,uBAAwB;AACnE,kCAAkChB,WAAW,CAACgB,uBAAwB;AACtE;AACA,GAAG;EACDC,eAAe,EAAG;AACpB,+BAA+BjB,WAAW,CAACkB,sBAAuB;AAClE,kCAAkClB,WAAW,CAACkB,sBAAuB;AACrE;AACA,GAAG;EACDC,mBAAmB,EAAG;AACxB,+BAA+BnB,WAAW,CAACoB,qBAAsB;AACjE,kCAAkCpB,WAAW,CAACoB,qBAAsB;AACpE;AACA,GAAG;EACDC,aAAa,EAAG;AAClB,+BAA+BvB,WAAW,CAACwB,cAAe;AAC1D;AACA;AACA,sCAAsCxB,WAAW,CAACwB,cAAe;AACjE;AACA;AACA;AACA;AACA,GAAG;EACDC,gBAAgB,EAAG;AACrB,+BAA+BzB,WAAW,CAAC0B,mBAAoB;AAC/D;AACA;AACA,oCAAoC1B,WAAW,CAAC0B,mBAAoB;AACpE;AACA;AACA;AACA;AACA,GAAG;EACDC,sBAAsB,EAAG;AAC3B,6BAA6BzB,WAAW,CAAC0B,yBAA0B;AACnE,gCAAgC1B,WAAW,CAAC0B,yBAA0B;AACtE;AACA,GAAG;EACDC,kBAAkB,EAAG;AACvB,6BAA6B9B,cAAc,CAAC+B,eAAgB;AAC5D;AACA;AACA,oCAAoC/B,cAAc,CAAC+B,eAAgB;AACnE;AACA;AACA;AACA;AACA,GAAG;EACDC,qBAAqB,EAAG;AAC1B,6BAA6B7B,WAAW,CAAC8B,wBAAyB;AAClE;AACA;AACA,kCAAkC9B,WAAW,CAAC8B,wBAAyB;AACvE;AACA;AACA;AACA;AACA,GAAG;EACDC,kBAAkB,EAAG;AACvB,+BAA+B9B,cAAc,CAAC+B,oBAAqB;AACnE;AACA;AACA,oCAAoC/B,cAAc,CAAC+B,oBAAqB;AACxE;AACA;AACA;AACA;AACA,GAAG;EACDC,0BAA0B,EAAG;AAC/B,+BAA+B/B,eAAe,CAACgC,6BAA8B;AAC7E,kCAAkChC,eAAe,CAACgC,6BAA8B;AAChF;AACA;AACA,CAAC;AAED,OAAO,MAAMC,wBAAwB,GAAI;AACzC;AACA,qCAAqCnC,WAAW,CAACU,sBAAuB;AACxE;AACA;AACA,CAAC;AAED,OAAO,MAAM0B,wBAAwB,GAAI;AACzC;AACA,qCAAqCpC,WAAW,CAACY,oBAAqB;AACtE;AACA;AACA,CAAC;AAED,OAAO,MAAMyB,sCAAsC,GAAI;AACvD;AACA,uCAAuCnC,eAAe,CAACgC,6BAA8B;AACrF;AACA;AACA,CAAC;AAED,OAAO,MAAMI,uBAAuB,GAAI;AACxC;AACA,qCAAqCtC,WAAW,CAACuC,mBAAoB;AACrE;AACA;AACA,CAAC;AAED,OAAO,MAAMC,0BAA0B,GAAI;AAC3C;AACA;AACA;AACA,CAAC;AAED,OAAO,MAAMC,4BAA4B,GAAI;AAC7C;AACA;AACA;AACA,CAAC;AAED,OAAO,MAAMC,oCAAoC,GAAI;AACrD;AACA;AACA;AACA,CAAC;AAED,OAAO,MAAMC,oCAAoC,GAAI;AACrD;AACA;AACA;AACA,CAAC;AAED,OAAO,MAAMC,+BAA+B,GAAI;AAChD;AACA;AACA;AACA,CAAC"}
1
+ {"version":3,"names":["PaymentMessage","CardMessage","PageMessage","UnitMessage","AccountMessage","ActivityMessage","POST_MESSAGE_TO_SDK","POST_PAGE_HEIGHT","PAGE_HEIGHT","LISTENERS","isPageLoaded","PAGE_LOADED","requestRendering","UNIT_REQUEST_RENDERING","requestRefresh","UNIT_REQUEST_REFRESH","onLoad","UNIT_ON_LOAD","requestCloseFlow","UNIT_REQUEST_CLOSE_FLOW","requestOpenLink","UNIT_REQUEST_OPEN_LINK","unitRequestDownload","UNIT_REQUEST_DOWNLOAD","cardActivated","CARD_ACTIVATED","cardStatusChange","CARD_STATUS_CHANGED","unitRequestExternalSdk","UNIT_REQUEST_EXTERNAL_SDK","unitRequestLeftToSpendDetails","UNIT_REQUEST_LEFT_TO_SPEND_DETAILS","unitPaymentCreated","PAYMENT_CREATED","unitPaymentInitialStageBackButtonClicked","INITIAL_STAGE_BACK_BUTTON_CLICKED","unitPaymentFinalStageDoneButtonClicked","FINAL_STAGE_DONE_BUTTON_CLICKED","unitPlaidTokenCreated","UNIT_PLAID_TOKEN_CREATED","unitAccountChanged","UNIT_ACCOUNT_CHANGED","unitActivityFiltersChanged","UNIT_ACTIVITY_FILTERS_CHANGED","DISPATCH_RENDERING_EVENT","DISPATCH_REQUEST_REFRESH","DISPATCH_ACTIVITY_FILTER_CHANGED_EVENT","DISPATCH_PLAID_RESPONSE","UNIT_PLAID_RESPONSE","DISPATCH_OPEN_ACTIONS_MENU","DISPATCH_REQUEST_CARD_ACTION","DISPATCH_REQUEST_HIDE_SENSITIVE_DATA","DISPATCH_REQUEST_SHOW_SENSITIVE_DATA","DISPATCH_REQUEST_ACCOUNT_ACTION"],"sourceRoot":"../../../../src","sources":["scripts/html/bodyScript.ts"],"mappings":"AAAA,SAASA,cAAc,QAAQ,4CAA4C;AAC3E,SAASC,WAAW,QAAQ,wCAAwC;AACpE,SAASC,WAAW,QAAQ,wCAAwC;AACpE,SAASC,WAAW,QAAQ,yCAAyC;AACrE,SAASC,cAAc,QAAQ,2CAA2C;AAC1E,SAASC,eAAe,QAAQ,4CAA4C;AAE5E,OAAO,MAAMC,mBAAmB,GAAI;AACpC;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AAED,OAAO,MAAMC,gBAAgB,GAAI;AACjC;AACA;AACA;AACA,kCAAkCL,WAAW,CAACM,WAAY;AAC1D;AACA;AACA,CAAC;AAED,OAAO,MAAMC,SAAS,GAAG;EACvBC,YAAY,EAAG;AACjB;AACA,kCAAkCR,WAAW,CAACS,WAAY;AAC1D;AACA,GAAG;EACDC,gBAAgB,EAAG;AACrB,+BAA+BT,WAAW,CAACU,sBAAuB;AAClE,kCAAkCV,WAAW,CAACU,sBAAuB;AACrE;AACA,GAAG;EACDC,cAAc,EAAG;AACnB,+BAA+BX,WAAW,CAACY,oBAAqB;AAChE;AACA,kCAAkCZ,WAAW,CAACY,oBAAqB;AACnE;AACA,GAAG;EACDC,MAAM,EAAG;AACX,+BAA+Bb,WAAW,CAACc,YAAa;AACxD;AACA,kCAAkCd,WAAW,CAACc,YAAa;AAC3D;AACA,GAAG;EACDC,gBAAgB,EAAG;AACrB,+BAA+Bf,WAAW,CAACgB,uBAAwB;AACnE;AACA;AACA,oCAAoChB,WAAW,CAACgB,uBAAwB;AACxE;AACA;AACA;AACA,GAAG;EACDC,eAAe,EAAG;AACpB,+BAA+BjB,WAAW,CAACkB,sBAAuB;AAClE,kCAAkClB,WAAW,CAACkB,sBAAuB;AACrE;AACA,GAAG;EACDC,mBAAmB,EAAG;AACxB,+BAA+BnB,WAAW,CAACoB,qBAAsB;AACjE,kCAAkCpB,WAAW,CAACoB,qBAAsB;AACpE;AACA,GAAG;EACDC,aAAa,EAAG;AAClB,+BAA+BvB,WAAW,CAACwB,cAAe;AAC1D;AACA;AACA,sCAAsCxB,WAAW,CAACwB,cAAe;AACjE;AACA;AACA;AACA;AACA,GAAG;EACDC,gBAAgB,EAAG;AACrB,+BAA+BzB,WAAW,CAAC0B,mBAAoB;AAC/D;AACA;AACA,oCAAoC1B,WAAW,CAAC0B,mBAAoB;AACpE;AACA;AACA;AACA;AACA,GAAG;EACDC,sBAAsB,EAAG;AAC3B,6BAA6BzB,WAAW,CAAC0B,yBAA0B;AACnE,gCAAgC1B,WAAW,CAAC0B,yBAA0B;AACtE;AACA,GAAG;EAEDC,6BAA6B,EAAG;AAClC,6BAA6B3B,WAAW,CAAC4B,kCAAmC;AAC5E,gCAAgC5B,WAAW,CAAC4B,kCAAmC;AAC/E;AACA,GAAG;EACDC,kBAAkB,EAAG;AACvB,6BAA6BhC,cAAc,CAACiC,eAAgB;AAC5D;AACA;AACA,oCAAoCjC,cAAc,CAACiC,eAAgB;AACnE;AACA;AACA;AACA;AACA,GAAG;EACDC,wCAAwC,EAAG;AAC7C;AACA,gCAAgClC,cAAc,CAACmC,iCAAkC;AACjF;AACA,GAAG;EAEDC,sCAAsC,EAAG;AAC3C;AACA,gCAAgCpC,cAAc,CAACqC,+BAAgC;AAC/E;AACA,GAAG;EACDC,qBAAqB,EAAG;AAC1B,6BAA6BnC,WAAW,CAACoC,wBAAyB;AAClE;AACA;AACA,kCAAkCpC,WAAW,CAACoC,wBAAyB;AACvE;AACA;AACA;AACA;AACA,GAAG;EACDC,kBAAkB,EAAG;AACvB,+BAA+BpC,cAAc,CAACqC,oBAAqB;AACnE;AACA;AACA,oCAAoCrC,cAAc,CAACqC,oBAAqB;AACxE;AACA;AACA;AACA;AACA,GAAG;EACDC,0BAA0B,EAAG;AAC/B,+BAA+BrC,eAAe,CAACsC,6BAA8B;AAC7E,kCAAkCtC,eAAe,CAACsC,6BAA8B;AAChF;AACA;AACA,CAAC;AAED,OAAO,MAAMC,wBAAwB,GAAI;AACzC;AACA,qCAAqCzC,WAAW,CAACU,sBAAuB;AACxE;AACA;AACA,CAAC;AAED,OAAO,MAAMgC,wBAAwB,GAAI;AACzC;AACA;AACA;AACA;AACA,mCAAmC1C,WAAW,CAACY,oBAAqB;AACpE;AACA,mCAAmCZ,WAAW,CAACY,oBAAqB;AACpE;AACA;AACA;AACA,CAAC;AAED,OAAO,MAAM+B,sCAAsC,GAAI;AACvD;AACA;AACA;AACA;AACA,CAAC;AAED,OAAO,MAAMC,uBAAuB,GAAI;AACxC;AACA,qCAAqC5C,WAAW,CAAC6C,mBAAoB;AACrE;AACA;AACA,CAAC;AAED,OAAO,MAAMC,0BAA0B,GAAI;AAC3C;AACA;AACA;AACA,CAAC;AAED,OAAO,MAAMC,4BAA4B,GAAI;AAC7C;AACA;AACA;AACA,CAAC;AAED,OAAO,MAAMC,oCAAoC,GAAI;AACrD;AACA;AACA;AACA,CAAC;AAED,OAAO,MAAMC,oCAAoC,GAAI;AACrD;AACA;AACA;AACA,CAAC;AAED,OAAO,MAAMC,+BAA+B,GAAI;AAChD;AACA;AACA;AACA,CAAC"}
@@ -19,7 +19,7 @@ const getFontFace = (fontFamily, fontWeight, sources) => {
19
19
  const sourcesString = sources.map((source, index) => {
20
20
  const suffix = index === numOfSources - 1 ? ';' : ',';
21
21
  const url = getUrl(source);
22
- const format = source !== null && source !== void 0 && source.format ? `format('${source.format}')` : '';
22
+ const format = source?.format ? `format('${source.format}')` : '';
23
23
  return `${url} ${format}${suffix}`;
24
24
  }).join('\n');
25
25
  return `
@@ -36,8 +36,7 @@ export const getFontFacesString = fonts => {
36
36
 
37
37
  // Iterate over all the fonts and their variants
38
38
  // create font-face for each variant
39
- Object.entries(fonts).forEach(_ref => {
40
- let [familyName, familyFonts] = _ref;
39
+ Object.entries(fonts).forEach(([familyName, familyFonts]) => {
41
40
  familyFonts.forEach(fontData => {
42
41
  fontFaces.push(getFontFace(familyName, fontData.fontWeight, fontData.sources));
43
42
  });
@@ -1 +1 @@
1
- {"version":3,"names":["Platform","getUrl","source","OS","fileName","relativeDirPath","assetDirRelativePath","getFontFace","fontFamily","fontWeight","sources","numOfSources","length","sourcesString","map","index","suffix","url","format","join","valueOf","getFontFacesString","fonts","fontFaces","Object","entries","forEach","_ref","familyName","familyFonts","fontData","push"],"sources":["fontFaces.ts"],"sourcesContent":["import { Platform } from 'react-native';\nimport type { FontWeight, UNFonts, UNFontSource, UNFontData } from '../../types/shared/fonts.types';\n\nconst getUrl = (source: UNFontSource): string => {\n if (Platform.OS == 'ios') {\n return `url('${source.fileName}')`;\n }\n\n // Handle '/' of dir Relative path\n let relativeDirPath = source.assetDirRelativePath;\n if (source.assetDirRelativePath[-1] !== '/') {\n relativeDirPath = `${source.assetDirRelativePath}/`;\n }\n if (source.assetDirRelativePath[0] !== '/') {\n relativeDirPath = `/${source.assetDirRelativePath}`;\n }\n\n return `url('file:///android_asset${relativeDirPath}${source.fileName}')`;\n};\nconst getFontFace = (fontFamily: string, fontWeight: FontWeight, sources: UNFontSource[]): string => {\n const numOfSources = sources.length;\n\n const sourcesString = sources\n .map((source, index) => {\n const suffix = index === numOfSources - 1 ? ';' : ',';\n const url = getUrl(source);\n const format = source?.format ? `format('${source.format}')` : '';\n return `${url} ${format}${suffix}`;\n })\n .join('\\n');\n\n return `\n @font-face {\n font-family: '${fontFamily}';\n src: ${sourcesString}\n font-weight: ${fontWeight.valueOf()};\n }\n `;\n};\n\nexport const getFontFacesString = (fonts?: UNFonts): string => {\n if (!fonts) return '';\n\n const fontFaces: string[] = [];\n\n // Iterate over all the fonts and their variants\n // create font-face for each variant\n Object.entries(fonts).forEach(([familyName, familyFonts]) => {\n familyFonts.forEach((fontData: UNFontData) => {\n fontFaces.push(getFontFace(familyName, fontData.fontWeight, fontData.sources));\n });\n });\n\n // Combine all the font faces into a single string\n return fontFaces.join('\\n');\n};\n"],"mappings":"AAAA,SAASA,QAAQ,QAAQ,cAAc;AAGvC,MAAMC,MAAM,GAAIC,MAAoB,IAAa;EAC/C,IAAIF,QAAQ,CAACG,EAAE,IAAI,KAAK,EAAE;IACxB,OAAQ,QAAOD,MAAM,CAACE,QAAS,IAAG;EACpC;;EAEA;EACA,IAAIC,eAAe,GAAGH,MAAM,CAACI,oBAAoB;EACjD,IAAIJ,MAAM,CAACI,oBAAoB,CAAC,CAAC,CAAC,CAAC,KAAK,GAAG,EAAE;IAC3CD,eAAe,GAAI,GAAEH,MAAM,CAACI,oBAAqB,GAAE;EACrD;EACA,IAAIJ,MAAM,CAACI,oBAAoB,CAAC,CAAC,CAAC,KAAK,GAAG,EAAE;IAC1CD,eAAe,GAAI,IAAGH,MAAM,CAACI,oBAAqB,EAAC;EACrD;EAEA,OAAQ,6BAA4BD,eAAgB,GAAEH,MAAM,CAACE,QAAS,IAAG;AAC3E,CAAC;AACD,MAAMG,WAAW,GAAGA,CAACC,UAAkB,EAAEC,UAAsB,EAAEC,OAAuB,KAAa;EACnG,MAAMC,YAAY,GAAGD,OAAO,CAACE,MAAM;EAEnC,MAAMC,aAAa,GAAGH,OAAO,CAC1BI,GAAG,CAAC,CAACZ,MAAM,EAAEa,KAAK,KAAK;IACtB,MAAMC,MAAM,GAAGD,KAAK,KAAKJ,YAAY,GAAG,CAAC,GAAG,GAAG,GAAG,GAAG;IACrD,MAAMM,GAAG,GAAGhB,MAAM,CAACC,MAAM,CAAC;IAC1B,MAAMgB,MAAM,GAAGhB,MAAM,aAANA,MAAM,eAANA,MAAM,CAAEgB,MAAM,GAAI,WAAUhB,MAAM,CAACgB,MAAO,IAAG,GAAG,EAAE;IACjE,OAAQ,GAAED,GAAI,IAAGC,MAAO,GAAEF,MAAO,EAAC;EACpC,CAAC,CAAC,CACDG,IAAI,CAAC,IAAI,CAAC;EAEb,OAAQ;AACV;AACA,sBAAsBX,UAAW;AACjC,aAAaK,aAAc;AAC3B,qBAAqBJ,UAAU,CAACW,OAAO,EAAG;AAC1C;AACA,GAAG;AACH,CAAC;AAED,OAAO,MAAMC,kBAAkB,GAAIC,KAAe,IAAa;EAC7D,IAAI,CAACA,KAAK,EAAE,OAAO,EAAE;EAErB,MAAMC,SAAmB,GAAG,EAAE;;EAE9B;EACA;EACAC,MAAM,CAACC,OAAO,CAACH,KAAK,CAAC,CAACI,OAAO,CAACC,IAAA,IAA+B;IAAA,IAA9B,CAACC,UAAU,EAAEC,WAAW,CAAC,GAAAF,IAAA;IACtDE,WAAW,CAACH,OAAO,CAAEI,QAAoB,IAAK;MAC5CP,SAAS,CAACQ,IAAI,CAACxB,WAAW,CAACqB,UAAU,EAAEE,QAAQ,CAACrB,UAAU,EAAEqB,QAAQ,CAACpB,OAAO,CAAC,CAAC;IAChF,CAAC,CAAC;EACJ,CAAC,CAAC;;EAEF;EACA,OAAOa,SAAS,CAACJ,IAAI,CAAC,IAAI,CAAC;AAC7B,CAAC"}
1
+ {"version":3,"names":["Platform","getUrl","source","OS","fileName","relativeDirPath","assetDirRelativePath","getFontFace","fontFamily","fontWeight","sources","numOfSources","length","sourcesString","map","index","suffix","url","format","join","valueOf","getFontFacesString","fonts","fontFaces","Object","entries","forEach","familyName","familyFonts","fontData","push"],"sourceRoot":"../../../../src","sources":["scripts/html/fontFaces.ts"],"mappings":"AAAA,SAASA,QAAQ,QAAQ,cAAc;AAGvC,MAAMC,MAAM,GAAIC,MAAoB,IAAa;EAC/C,IAAIF,QAAQ,CAACG,EAAE,IAAI,KAAK,EAAE;IACxB,OAAQ,QAAOD,MAAM,CAACE,QAAS,IAAG;EACpC;;EAEA;EACA,IAAIC,eAAe,GAAGH,MAAM,CAACI,oBAAoB;EACjD,IAAIJ,MAAM,CAACI,oBAAoB,CAAC,CAAC,CAAC,CAAC,KAAK,GAAG,EAAE;IAC3CD,eAAe,GAAI,GAAEH,MAAM,CAACI,oBAAqB,GAAE;EACrD;EACA,IAAIJ,MAAM,CAACI,oBAAoB,CAAC,CAAC,CAAC,KAAK,GAAG,EAAE;IAC1CD,eAAe,GAAI,IAAGH,MAAM,CAACI,oBAAqB,EAAC;EACrD;EAEA,OAAQ,6BAA4BD,eAAgB,GAAEH,MAAM,CAACE,QAAS,IAAG;AAC3E,CAAC;AACD,MAAMG,WAAW,GAAGA,CAACC,UAAkB,EAAEC,UAAsB,EAAEC,OAAuB,KAAa;EACnG,MAAMC,YAAY,GAAGD,OAAO,CAACE,MAAM;EAEnC,MAAMC,aAAa,GAAGH,OAAO,CAC1BI,GAAG,CAAC,CAACZ,MAAM,EAAEa,KAAK,KAAK;IACtB,MAAMC,MAAM,GAAGD,KAAK,KAAKJ,YAAY,GAAG,CAAC,GAAG,GAAG,GAAG,GAAG;IACrD,MAAMM,GAAG,GAAGhB,MAAM,CAACC,MAAM,CAAC;IAC1B,MAAMgB,MAAM,GAAGhB,MAAM,EAAEgB,MAAM,GAAI,WAAUhB,MAAM,CAACgB,MAAO,IAAG,GAAG,EAAE;IACjE,OAAQ,GAAED,GAAI,IAAGC,MAAO,GAAEF,MAAO,EAAC;EACpC,CAAC,CAAC,CACDG,IAAI,CAAC,IAAI,CAAC;EAEb,OAAQ;AACV;AACA,sBAAsBX,UAAW;AACjC,aAAaK,aAAc;AAC3B,qBAAqBJ,UAAU,CAACW,OAAO,CAAC,CAAE;AAC1C;AACA,GAAG;AACH,CAAC;AAED,OAAO,MAAMC,kBAAkB,GAAIC,KAAe,IAAa;EAC7D,IAAI,CAACA,KAAK,EAAE,OAAO,EAAE;EAErB,MAAMC,SAAmB,GAAG,EAAE;;EAE9B;EACA;EACAC,MAAM,CAACC,OAAO,CAACH,KAAK,CAAC,CAACI,OAAO,CAAC,CAAC,CAACC,UAAU,EAAEC,WAAW,CAAC,KAAK;IAC3DA,WAAW,CAACF,OAAO,CAAEG,QAAoB,IAAK;MAC5CN,SAAS,CAACO,IAAI,CAACvB,WAAW,CAACoB,UAAU,EAAEE,QAAQ,CAACpB,UAAU,EAAEoB,QAAQ,CAACnB,OAAO,CAAC,CAAC;IAChF,CAAC,CAAC;EACJ,CAAC,CAAC;;EAEF;EACA,OAAOa,SAAS,CAACJ,IAAI,CAAC,IAAI,CAAC;AAC7B,CAAC"}
@@ -0,0 +1,59 @@
1
+ import { createSlice } from '@reduxjs/toolkit';
2
+ import { BottomSheetNativePlaceType } from '../types/internal/bottomSheet.types';
3
+ const initialState = {
4
+ isBottomSheetActive: false,
5
+ isComponentLoading: false,
6
+ shouldShowBottomSheet: false,
7
+ shouldEnableBottomSheetScroll: true,
8
+ nativePlace: BottomSheetNativePlaceType.overFullScreen,
9
+ componentHeight: 0
10
+ };
11
+ const BottomSheetSlice = createSlice({
12
+ name: 'BottomSheet',
13
+ initialState: initialState,
14
+ reducers: {
15
+ setIsBottomSheetActive(state, action) {
16
+ state.isBottomSheetActive = action.payload;
17
+ },
18
+ setIsComponentLoading(state, action) {
19
+ state.isComponentLoading = action.payload;
20
+ },
21
+ setShouldShowBottomSheet(state, action) {
22
+ state.shouldShowBottomSheet = action.payload;
23
+ },
24
+ setNativePlace(state, action) {
25
+ state.nativePlace = action.payload;
26
+ },
27
+ setComponentHeight(state, action) {
28
+ state.componentHeight = action.payload;
29
+ },
30
+ setShouldEnableBottomSheetScroll(state, action) {
31
+ state.shouldEnableBottomSheetScroll = action.payload;
32
+ },
33
+ setScrollState(state, action) {
34
+ state.scrollState = action.payload;
35
+ },
36
+ resetBottomSheetSlice(state) {
37
+ //resets all besides is active to avoid loops in useEffects invoked by closing the flow
38
+ state.isComponentLoading = initialState.isComponentLoading;
39
+ state.shouldShowBottomSheet = initialState.shouldShowBottomSheet;
40
+ state.nativePlace = initialState.nativePlace;
41
+ state.componentHeight = initialState.componentHeight;
42
+ state.shouldEnableBottomSheetScroll = initialState.shouldEnableBottomSheetScroll;
43
+ state.scrollState = initialState.scrollState;
44
+ }
45
+ }
46
+ });
47
+ export const {
48
+ setIsBottomSheetActive,
49
+ setIsComponentLoading,
50
+ setShouldShowBottomSheet,
51
+ setNativePlace,
52
+ setComponentHeight,
53
+ setShouldEnableBottomSheetScroll,
54
+ setScrollState,
55
+ resetBottomSheetSlice
56
+ } = BottomSheetSlice.actions;
57
+ export const selectConfiguration = state => state.bottomSheet;
58
+ export default BottomSheetSlice.reducer;
59
+ //# sourceMappingURL=BottomSheetSlice.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["createSlice","BottomSheetNativePlaceType","initialState","isBottomSheetActive","isComponentLoading","shouldShowBottomSheet","shouldEnableBottomSheetScroll","nativePlace","overFullScreen","componentHeight","BottomSheetSlice","name","reducers","setIsBottomSheetActive","state","action","payload","setIsComponentLoading","setShouldShowBottomSheet","setNativePlace","setComponentHeight","setShouldEnableBottomSheetScroll","setScrollState","scrollState","resetBottomSheetSlice","actions","selectConfiguration","bottomSheet","reducer"],"sourceRoot":"../../../src","sources":["slices/BottomSheetSlice.ts"],"mappings":"AAAA,SAASA,WAAW,QAAuB,kBAAkB;AAE7D,SAASC,0BAA0B,QAAqB,qCAAqC;AAY7F,MAAMC,YAA8B,GAAG;EACrCC,mBAAmB,EAAE,KAAK;EAC1BC,kBAAkB,EAAE,KAAK;EACzBC,qBAAqB,EAAE,KAAK;EAC5BC,6BAA6B,EAAE,IAAI;EACnCC,WAAW,EAAEN,0BAA0B,CAACO,cAAc;EACtDC,eAAe,EAAE;AACnB,CAAC;AAED,MAAMC,gBAAgB,GAAGV,WAAW,CAAC;EACnCW,IAAI,EAAE,aAAa;EACnBT,YAAY,EAAEA,YAAY;EAC1BU,QAAQ,EAAE;IACRC,sBAAsBA,CAACC,KAAK,EAAEC,MAA8B,EAAE;MAC5DD,KAAK,CAACX,mBAAmB,GAAGY,MAAM,CAACC,OAAO;IAC5C,CAAC;IACDC,qBAAqBA,CAACH,KAAK,EAAEC,MAA8B,EAAE;MAC3DD,KAAK,CAACV,kBAAkB,GAAGW,MAAM,CAACC,OAAO;IAC3C,CAAC;IACDE,wBAAwBA,CAACJ,KAAK,EAAEC,MAA8B,EAAE;MAC9DD,KAAK,CAACT,qBAAqB,GAAGU,MAAM,CAACC,OAAO;IAC9C,CAAC;IAEDG,cAAcA,CAACL,KAAK,EAAEC,MAAiD,EAAE;MACvED,KAAK,CAACP,WAAW,GAAGQ,MAAM,CAACC,OAAO;IACpC,CAAC;IACDI,kBAAkBA,CAACN,KAAK,EAAEC,MAA6B,EAAE;MACvDD,KAAK,CAACL,eAAe,GAAGM,MAAM,CAACC,OAAO;IACxC,CAAC;IACDK,gCAAgCA,CAACP,KAAK,EAAEC,MAA8B,EAAE;MACtED,KAAK,CAACR,6BAA6B,GAAGS,MAAM,CAACC,OAAO;IACtD,CAAC;IAEDM,cAAcA,CAACR,KAAK,EAAEC,MAAkC,EAAE;MACxDD,KAAK,CAACS,WAAW,GAAGR,MAAM,CAACC,OAAO;IACpC,CAAC;IAEDQ,qBAAqBA,CAACV,KAAK,EAAE;MAC3B;MACAA,KAAK,CAACV,kBAAkB,GAAGF,YAAY,CAACE,kBAAkB;MAC1DU,KAAK,CAACT,qBAAqB,GAAGH,YAAY,CAACG,qBAAqB;MAChES,KAAK,CAACP,WAAW,GAAGL,YAAY,CAACK,WAAW;MAC5CO,KAAK,CAACL,eAAe,GAAGP,YAAY,CAACO,eAAe;MACpDK,KAAK,CAACR,6BAA6B,GAAGJ,YAAY,CAACI,6BAA6B;MAChFQ,KAAK,CAACS,WAAW,GAAGrB,YAAY,CAACqB,WAAW;IAC9C;EACF;AAEF,CAAC,CAAC;AAEF,OAAO,MAAM;EACXV,sBAAsB;EAAEI,qBAAqB;EAC7CC,wBAAwB;EAAEC,cAAc;EACxCC,kBAAkB;EAClBC,gCAAgC;EAAEC,cAAc;EAAEE;AACpD,CAAC,GAAGd,gBAAgB,CAACe,OAAO;AAC5B,OAAO,MAAMC,mBAAmB,GAAIZ,KAAgB,IAAKA,KAAK,CAACa,WAAW;AAC1E,eAAejB,gBAAgB,CAACkB,OAAO"}
@@ -1 +1 @@
1
- {"version":3,"names":["createSlice","initialState","ConfigurationSlice","name","reducers","setUnitScript","state","action","unitScript","payload","setTheme","theme","setLanguage","language","actions","selectConfiguration","configuration","reducer"],"sources":["ConfigurationSlice.ts"],"sourcesContent":["import { createSlice, PayloadAction } from '@reduxjs/toolkit';\nimport type { RootState } from '../store';\n\nexport interface ConfigurationState {\n unitScript?: string;\n theme?: string;\n language?: string;\n}\n\nconst initialState: ConfigurationState = {};\n\nconst ConfigurationSlice = createSlice({\n name: 'Configuration',\n initialState: initialState,\n reducers: {\n setUnitScript(state, action: PayloadAction<string | undefined>) {\n state.unitScript = action.payload;\n },\n setTheme(state, action: PayloadAction<string | undefined>) {\n state.theme = action.payload;\n },\n setLanguage(state, action: PayloadAction<string | undefined>) {\n state.language = action.payload;\n },\n },\n\n});\n\nexport const { setUnitScript, setLanguage, setTheme } = ConfigurationSlice.actions;\nexport const selectConfiguration = (state: RootState) => state.configuration;\nexport default ConfigurationSlice.reducer;\n"],"mappings":"AAAA,SAASA,WAAW,QAAuB,kBAAkB;AAS7D,MAAMC,YAAgC,GAAG,CAAC,CAAC;AAE3C,MAAMC,kBAAkB,GAAGF,WAAW,CAAC;EACrCG,IAAI,EAAE,eAAe;EACrBF,YAAY,EAAEA,YAAY;EAC1BG,QAAQ,EAAE;IACRC,aAAaA,CAACC,KAAK,EAAEC,MAAyC,EAAE;MAC9DD,KAAK,CAACE,UAAU,GAAGD,MAAM,CAACE,OAAO;IACnC,CAAC;IACDC,QAAQA,CAACJ,KAAK,EAAEC,MAAyC,EAAE;MACzDD,KAAK,CAACK,KAAK,GAAGJ,MAAM,CAACE,OAAO;IAC9B,CAAC;IACDG,WAAWA,CAACN,KAAK,EAAEC,MAAyC,EAAE;MAC5DD,KAAK,CAACO,QAAQ,GAAGN,MAAM,CAACE,OAAO;IACjC;EACF;AAEF,CAAC,CAAC;AAEF,OAAO,MAAM;EAAEJ,aAAa;EAAEO,WAAW;EAAEF;AAAS,CAAC,GAAGR,kBAAkB,CAACY,OAAO;AAClF,OAAO,MAAMC,mBAAmB,GAAIT,KAAgB,IAAKA,KAAK,CAACU,aAAa;AAC5E,eAAed,kBAAkB,CAACe,OAAO"}
1
+ {"version":3,"names":["createSlice","initialState","ConfigurationSlice","name","reducers","setUnitScript","state","action","unitScript","payload","setTheme","theme","setLanguage","language","actions","selectConfiguration","configuration","reducer"],"sourceRoot":"../../../src","sources":["slices/ConfigurationSlice.ts"],"mappings":"AAAA,SAASA,WAAW,QAAuB,kBAAkB;AAS7D,MAAMC,YAAgC,GAAG,CAAC,CAAC;AAE3C,MAAMC,kBAAkB,GAAGF,WAAW,CAAC;EACrCG,IAAI,EAAE,eAAe;EACrBF,YAAY,EAAEA,YAAY;EAC1BG,QAAQ,EAAE;IACRC,aAAaA,CAACC,KAAK,EAAEC,MAAyC,EAAE;MAC9DD,KAAK,CAACE,UAAU,GAAGD,MAAM,CAACE,OAAO;IACnC,CAAC;IACDC,QAAQA,CAACJ,KAAK,EAAEC,MAAyC,EAAE;MACzDD,KAAK,CAACK,KAAK,GAAGJ,MAAM,CAACE,OAAO;IAC9B,CAAC;IACDG,WAAWA,CAACN,KAAK,EAAEC,MAAyC,EAAE;MAC5DD,KAAK,CAACO,QAAQ,GAAGN,MAAM,CAACE,OAAO;IACjC;EACF;AAEF,CAAC,CAAC;AAEF,OAAO,MAAM;EAAEJ,aAAa;EAAEO,WAAW;EAAEF;AAAS,CAAC,GAAGR,kBAAkB,CAACY,OAAO;AAClF,OAAO,MAAMC,mBAAmB,GAAIT,KAAgB,IAAKA,KAAK,CAACU,aAAa;AAC5E,eAAed,kBAAkB,CAACe,OAAO"}
@@ -1,6 +1,9 @@
1
1
  /* eslint-disable @typescript-eslint/no-explicit-any */
2
2
 
3
3
  import { createSlice } from '@reduxjs/toolkit';
4
+
5
+ //currently left state suffixes to avoid the duplication of the event names
6
+
4
7
  const initialState = {};
5
8
  const SharedEventsSlice = createSlice({
6
9
  name: 'SharedEvents',
@@ -1 +1 @@
1
- {"version":3,"names":["createSlice","initialState","SharedEventsSlice","name","reducers","setEvent","state","action","event","payload","actions","selectSharedEvents","sharedEvents","reducer"],"sources":["SharedEventsSlice.ts"],"sourcesContent":["/* eslint-disable @typescript-eslint/no-explicit-any */\n\nimport { createSlice, PayloadAction } from '@reduxjs/toolkit';\nimport type { RootState } from '../store';\nimport type { SlotRendering, WebComponentRendering } from '../types/internal/bottomSheet.types';\nimport type { UNAccountData, UNCardData } from '../types/shared';\nimport type { ActivityFiltersChangedEvent } from '../messages/webMessages/activityMessage';\nimport type { RequestRefreshEvent } from '../messages/webMessages/unitMessages';\nimport type { BottomSheetNativeMessage } from '../messages/nativeMessages/bottomSheetMessage';\nimport type { CardMessage } from '../messages/webMessages/cardMessage';\nimport type { AccountMessage } from '../messages/webMessages/accountMessage';\nimport type { ActivityMessage } from '../messages/webMessages/activityMessage';\nimport type { UnitMessage } from '../messages/webMessages/unitMessages';\nimport type { MultipleCardsMessage } from '../messages/webMessages/multipleCardsMessage';\n\ntype EmptyObj = Record<PropertyKey, never>;\n\ntype SlotRenderingEventState = {\n key: BottomSheetNativeMessage.START_FLOW,\n data: SlotRendering\n}\ntype MultipleCardsCardClickedEventState = {\n key: MultipleCardsMessage.UNIT_MULTIPLE_CARDS_CARD_CLICKED,\n data: UNCardData\n}\n\ntype CardStatusChangedEventState = {\n key: CardMessage.CARD_STATUS_CHANGED,\n data: UNCardData\n}\n\ntype CardActivatedEventState = {\n key: CardMessage.CARD_ACTIVATED,\n data: UNCardData\n}\n\ntype AccountChangedEventState = {\n key: AccountMessage.UNIT_ACCOUNT_CHANGED,\n data: UNAccountData\n}\n\ntype ActivityFiltersChangedEventState = {\n key: ActivityMessage.UNIT_ACTIVITY_FILTERS_CHANGED\n data: ActivityFiltersChangedEvent\n}\n\ntype RequestCloseFlowEventState = {\n key: UnitMessage.UNIT_REQUEST_CLOSE_FLOW,\n data: EmptyObj\n}\n\ntype WebComponentRenderingEventState = {\n key: BottomSheetNativeMessage.START_FLOW,\n data: WebComponentRendering\n}\n\ntype RequestRefreshEventState = {\n key: UnitMessage.UNIT_REQUEST_REFRESH,\n data: RequestRefreshEvent\n}\n\n//currently left state suffixes to avoid the duplication of the event names\ntype SharedEvent =\n SlotRenderingEventState\n | CardStatusChangedEventState\n | CardActivatedEventState\n | MultipleCardsCardClickedEventState\n | AccountChangedEventState\n | ActivityFiltersChangedEventState\n | RequestCloseFlowEventState\n | WebComponentRenderingEventState\n | RequestRefreshEventState\n\ntype SharedEventsState = {\n event?: SharedEvent\n}\n\nconst initialState: SharedEventsState = {};\n\nconst SharedEventsSlice = createSlice({\n name: 'SharedEvents',\n initialState: initialState,\n reducers: {\n setEvent(state, action: PayloadAction<SharedEvent>) {\n state.event = action.payload;\n },\n },\n\n});\n\nexport const { setEvent } = SharedEventsSlice.actions;\nexport const selectSharedEvents = (state: RootState) => state.sharedEvents;\nexport default SharedEventsSlice.reducer;\n"],"mappings":"AAAA;;AAEA,SAASA,WAAW,QAAuB,kBAAkB;AA2E7D,MAAMC,YAA+B,GAAG,CAAC,CAAC;AAE1C,MAAMC,iBAAiB,GAAGF,WAAW,CAAC;EACpCG,IAAI,EAAE,cAAc;EACpBF,YAAY,EAAEA,YAAY;EAC1BG,QAAQ,EAAE;IACRC,QAAQA,CAACC,KAAK,EAAEC,MAAkC,EAAE;MAClDD,KAAK,CAACE,KAAK,GAAGD,MAAM,CAACE,OAAO;IAC9B;EACF;AAEF,CAAC,CAAC;AAEF,OAAO,MAAM;EAAEJ;AAAS,CAAC,GAAGH,iBAAiB,CAACQ,OAAO;AACrD,OAAO,MAAMC,kBAAkB,GAAIL,KAAgB,IAAKA,KAAK,CAACM,YAAY;AAC1E,eAAeV,iBAAiB,CAACW,OAAO"}
1
+ {"version":3,"names":["createSlice","initialState","SharedEventsSlice","name","reducers","setEvent","state","action","event","payload","actions","selectSharedEvents","sharedEvents","reducer"],"sourceRoot":"../../../src","sources":["slices/SharedEventsSlice.ts"],"mappings":"AAAA;;AAEA,SAASA,WAAW,QAAuB,kBAAkB;;AAuD7D;;AAeA,MAAMC,YAA+B,GAAG,CAAC,CAAC;AAE1C,MAAMC,iBAAiB,GAAGF,WAAW,CAAC;EACpCG,IAAI,EAAE,cAAc;EACpBF,YAAY,EAAEA,YAAY;EAC1BG,QAAQ,EAAE;IACRC,QAAQA,CAACC,KAAK,EAAEC,MAAkC,EAAE;MAClDD,KAAK,CAACE,KAAK,GAAGD,MAAM,CAACE,OAAO;IAC9B;EACF;AAEF,CAAC,CAAC;AAEF,OAAO,MAAM;EAAEJ;AAAS,CAAC,GAAGH,iBAAiB,CAACQ,OAAO;AACrD,OAAO,MAAMC,kBAAkB,GAAIL,KAAgB,IAAKA,KAAK,CAACM,YAAY;AAC1E,eAAeV,iBAAiB,CAACW,OAAO"}
@@ -1 +1 @@
1
- {"version":3,"names":["createSlice","initialState","signedNonce","pushProvisioningSlice","name","reducers","setSignedNonce","state","action","payload","actions","selectWallet","wallet","reducer"],"sources":["pushProvisioningSlice.ts"],"sourcesContent":["import { createSlice, PayloadAction } from '@reduxjs/toolkit';\nimport type { RootState } from '../store';\n\nexport interface PushProvisioningState {\n signedNonce: string | null\n}\n\nconst initialState: PushProvisioningState = {\n signedNonce: null\n};\n\nconst pushProvisioningSlice = createSlice({\n name: 'wallet',\n initialState: initialState,\n reducers: {\n setSignedNonce(state, action: PayloadAction<string | null>) {\n state.signedNonce = action.payload;\n }\n }\n});\n\nexport const { setSignedNonce } = pushProvisioningSlice.actions;\nexport const selectWallet = (state: RootState) => state.wallet;\nexport default pushProvisioningSlice.reducer;\n"],"mappings":"AAAA,SAASA,WAAW,QAAuB,kBAAkB;AAO7D,MAAMC,YAAmC,GAAG;EAC1CC,WAAW,EAAE;AACf,CAAC;AAED,MAAMC,qBAAqB,GAAGH,WAAW,CAAC;EACxCI,IAAI,EAAE,QAAQ;EACdH,YAAY,EAAEA,YAAY;EAC1BI,QAAQ,EAAE;IACRC,cAAcA,CAACC,KAAK,EAAEC,MAAoC,EAAE;MAC1DD,KAAK,CAACL,WAAW,GAAGM,MAAM,CAACC,OAAO;IACpC;EACF;AACF,CAAC,CAAC;AAEF,OAAO,MAAM;EAAEH;AAAe,CAAC,GAAGH,qBAAqB,CAACO,OAAO;AAC/D,OAAO,MAAMC,YAAY,GAAIJ,KAAgB,IAAKA,KAAK,CAACK,MAAM;AAC9D,eAAeT,qBAAqB,CAACU,OAAO"}
1
+ {"version":3,"names":["createSlice","initialState","signedNonce","pushProvisioningSlice","name","reducers","setSignedNonce","state","action","payload","actions","selectWallet","wallet","reducer"],"sourceRoot":"../../../src","sources":["slices/pushProvisioningSlice.ts"],"mappings":"AAAA,SAASA,WAAW,QAAuB,kBAAkB;AAO7D,MAAMC,YAAmC,GAAG;EAC1CC,WAAW,EAAE;AACf,CAAC;AAED,MAAMC,qBAAqB,GAAGH,WAAW,CAAC;EACxCI,IAAI,EAAE,QAAQ;EACdH,YAAY,EAAEA,YAAY;EAC1BI,QAAQ,EAAE;IACRC,cAAcA,CAACC,KAAK,EAAEC,MAAoC,EAAE;MAC1DD,KAAK,CAACL,WAAW,GAAGM,MAAM,CAACC,OAAO;IACpC;EACF;AACF,CAAC,CAAC;AAEF,OAAO,MAAM;EAAEH;AAAe,CAAC,GAAGH,qBAAqB,CAACO,OAAO;AAC/D,OAAO,MAAMC,YAAY,GAAIJ,KAAgB,IAAKA,KAAK,CAACK,MAAM;AAC9D,eAAeT,qBAAqB,CAACU,OAAO"}
@@ -1 +1 @@
1
- {"version":3,"names":[],"sources":["index.ts"],"sourcesContent":["export * from './store';\n"],"mappings":"AAAA,cAAc,SAAS"}
1
+ {"version":3,"names":[],"sourceRoot":"../../../src","sources":["store/index.ts"],"mappings":"AAAA,cAAc,SAAS"}
@@ -2,11 +2,13 @@ import { configureStore } from '@reduxjs/toolkit';
2
2
  import wallet from '../slices/pushProvisioningSlice';
3
3
  import configuration from '../slices/ConfigurationSlice';
4
4
  import sharedEvents from '../slices/SharedEventsSlice';
5
+ import bottomSheet from '../slices/BottomSheetSlice';
5
6
  export const store = configureStore({
6
7
  reducer: {
7
8
  wallet,
8
9
  configuration,
9
- sharedEvents
10
+ sharedEvents,
11
+ bottomSheet
10
12
  }
11
13
  });
12
14
  //# sourceMappingURL=store.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["configureStore","wallet","configuration","sharedEvents","store","reducer"],"sources":["store.ts"],"sourcesContent":["import { configureStore } from '@reduxjs/toolkit';\nimport wallet from '../slices/pushProvisioningSlice';\nimport configuration from '../slices/ConfigurationSlice';\nimport sharedEvents from '../slices/SharedEventsSlice';\n\nexport const store = configureStore({\n reducer: {\n wallet,\n configuration,\n sharedEvents,\n },\n});\n\nexport type RootState = ReturnType<typeof store.getState>;\n"],"mappings":"AAAA,SAASA,cAAc,QAAQ,kBAAkB;AACjD,OAAOC,MAAM,MAAM,iCAAiC;AACpD,OAAOC,aAAa,MAAM,8BAA8B;AACxD,OAAOC,YAAY,MAAM,6BAA6B;AAEtD,OAAO,MAAMC,KAAK,GAAGJ,cAAc,CAAC;EAClCK,OAAO,EAAE;IACPJ,MAAM;IACNC,aAAa;IACbC;EACF;AACF,CAAC,CAAC"}
1
+ {"version":3,"names":["configureStore","wallet","configuration","sharedEvents","bottomSheet","store","reducer"],"sourceRoot":"../../../src","sources":["store/store.ts"],"mappings":"AAAA,SAASA,cAAc,QAAQ,kBAAkB;AACjD,OAAOC,MAAM,MAAM,iCAAiC;AACpD,OAAOC,aAAa,MAAM,8BAA8B;AACxD,OAAOC,YAAY,MAAM,6BAA6B;AACtD,OAAOC,WAAW,MAAM,4BAA4B;AAEpD,OAAO,MAAMC,KAAK,GAAGL,cAAc,CAAC;EAClCM,OAAO,EAAE;IACPL,MAAM;IACNC,aAAa;IACbC,YAAY;IACZC;EACF;AACF,CAAC,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"names":["FontWeight","UnitSDK","getFontWeightName","familyFonts","fontWeight","fontWeightNumber","Number","selectedFontWeight","Regular","valueOf","minDistance","forEach","fontData","currDistance","Math","abs","Thin","ExtraLight","Light","Medium","SemiBold","Bold","ExtraBold","Black","getFontName","fontFamily","fontsInApp","getFonts","Error","fontWeightName"],"sources":["fonts.ts"],"sourcesContent":["import { FontWeight, UNFontData } from '../types/shared';\nimport { UnitSDK } from '../unitSdkManager/UnitSdkManager';\n\nconst getFontWeightName = (familyFonts: UNFontData[], fontWeight?: number | string) => {\n /**\n * Given family variants and the required weight\n * Return the closet font that defined by the client.\n */\n if (!fontWeight || fontWeight === 'normal') return 'Regular';\n\n if (fontWeight === 'bold') return 'Bold';\n\n const fontWeightNumber = Number(fontWeight);\n\n // Select the closet variant\n let selectedFontWeight = FontWeight.Regular.valueOf();\n let minDistance = 1000;\n\n familyFonts.forEach((fontData: UNFontData) => {\n const currDistance = Math.abs(fontData.fontWeight - fontWeightNumber);\n if (currDistance < minDistance) {\n minDistance = currDistance;\n selectedFontWeight = fontData.fontWeight.valueOf();\n }\n });\n\n // FontWeight to String\n switch (selectedFontWeight) {\n case FontWeight.Thin:\n return 'Thin';\n case FontWeight.ExtraLight:\n return 'ExtraLight';\n case FontWeight.Light:\n return 'Light';\n case FontWeight.Regular:\n return 'Regular';\n case FontWeight.Medium:\n return 'Medium';\n case FontWeight.SemiBold:\n return 'SemiBold';\n case FontWeight.Bold:\n return 'Bold';\n case FontWeight.ExtraBold:\n return 'ExtraBold';\n case FontWeight.Black:\n return 'Black';\n default:\n return 'Regular';\n }\n};\n\nexport const getFontName = (fontFamily: string, fontWeight: number | string): string => {\n /*\n * Get the font family name and the font weight name from the THEME object.\n * Then, return a possible font.\n */\n\n const fontsInApp = UnitSDK.getFonts();\n if (!fontsInApp) {\n throw new Error('Fonts are not found in the app');\n }\n\n const familyFonts = fontsInApp[fontFamily];\n if (!familyFonts) {\n throw new Error(`Font family ${fontFamily} not found in the app's fonts`);\n }\n\n const fontWeightName = getFontWeightName(familyFonts, fontWeight);\n return `${fontFamily}-${fontWeightName}`;\n};\n"],"mappings":"AAAA,SAASA,UAAU,QAAoB,iBAAiB;AACxD,SAASC,OAAO,QAAQ,kCAAkC;AAE1D,MAAMC,iBAAiB,GAAGA,CAACC,WAAyB,EAAEC,UAA4B,KAAK;EACrF;AACF;AACA;AACA;EACE,IAAI,CAACA,UAAU,IAAIA,UAAU,KAAK,QAAQ,EAAE,OAAO,SAAS;EAE5D,IAAIA,UAAU,KAAK,MAAM,EAAE,OAAO,MAAM;EAExC,MAAMC,gBAAgB,GAAGC,MAAM,CAACF,UAAU,CAAC;;EAE3C;EACA,IAAIG,kBAAkB,GAAGP,UAAU,CAACQ,OAAO,CAACC,OAAO,EAAE;EACrD,IAAIC,WAAW,GAAG,IAAI;EAEtBP,WAAW,CAACQ,OAAO,CAAEC,QAAoB,IAAK;IAC5C,MAAMC,YAAY,GAAGC,IAAI,CAACC,GAAG,CAACH,QAAQ,CAACR,UAAU,GAAGC,gBAAgB,CAAC;IACrE,IAAIQ,YAAY,GAAGH,WAAW,EAAE;MAC9BA,WAAW,GAAGG,YAAY;MAC1BN,kBAAkB,GAAGK,QAAQ,CAACR,UAAU,CAACK,OAAO,EAAE;IACpD;EACF,CAAC,CAAC;;EAEF;EACA,QAAQF,kBAAkB;IACxB,KAAKP,UAAU,CAACgB,IAAI;MAClB,OAAO,MAAM;IACf,KAAMhB,UAAU,CAACiB,UAAU;MACzB,OAAO,YAAY;IACrB,KAAKjB,UAAU,CAACkB,KAAK;MACnB,OAAO,OAAO;IAChB,KAAKlB,UAAU,CAACQ,OAAO;MACrB,OAAO,SAAS;IAClB,KAAKR,UAAU,CAACmB,MAAM;MACpB,OAAO,QAAQ;IACjB,KAAKnB,UAAU,CAACoB,QAAQ;MACtB,OAAO,UAAU;IACnB,KAAKpB,UAAU,CAACqB,IAAI;MAClB,OAAO,MAAM;IACf,KAAKrB,UAAU,CAACsB,SAAS;MACvB,OAAO,WAAW;IACpB,KAAKtB,UAAU,CAACuB,KAAK;MACnB,OAAO,OAAO;IAChB;MACE,OAAO,SAAS;EAAC;AAEvB,CAAC;AAED,OAAO,MAAMC,WAAW,GAAGA,CAACC,UAAkB,EAAErB,UAA2B,KAAa;EACtF;AACF;AACA;AACA;;EAEE,MAAMsB,UAAU,GAAGzB,OAAO,CAAC0B,QAAQ,EAAE;EACrC,IAAI,CAACD,UAAU,EAAE;IACf,MAAM,IAAIE,KAAK,CAAC,gCAAgC,CAAC;EACnD;EAEA,MAAMzB,WAAW,GAAGuB,UAAU,CAACD,UAAU,CAAC;EAC1C,IAAI,CAACtB,WAAW,EAAE;IAChB,MAAM,IAAIyB,KAAK,CAAE,eAAcH,UAAW,+BAA8B,CAAC;EAC3E;EAEA,MAAMI,cAAc,GAAG3B,iBAAiB,CAACC,WAAW,EAAEC,UAAU,CAAC;EACjE,OAAQ,GAAEqB,UAAW,IAAGI,cAAe,EAAC;AAC1C,CAAC"}
1
+ {"version":3,"names":["FontWeight","UnitSDK","getFontWeightName","familyFonts","fontWeight","fontWeightNumber","Number","selectedFontWeight","Regular","valueOf","minDistance","forEach","fontData","currDistance","Math","abs","Thin","ExtraLight","Light","Medium","SemiBold","Bold","ExtraBold","Black","getFontName","fontFamily","fontsInApp","getFonts","Error","fontWeightName"],"sourceRoot":"../../../src","sources":["styles/fonts.ts"],"mappings":"AAAA,SAASA,UAAU,QAAoB,iBAAiB;AACxD,SAASC,OAAO,QAAQ,kCAAkC;AAE1D,MAAMC,iBAAiB,GAAGA,CAACC,WAAyB,EAAEC,UAA4B,KAAK;EACrF;AACF;AACA;AACA;EACE,IAAI,CAACA,UAAU,IAAIA,UAAU,KAAK,QAAQ,EAAE,OAAO,SAAS;EAE5D,IAAIA,UAAU,KAAK,MAAM,EAAE,OAAO,MAAM;EAExC,MAAMC,gBAAgB,GAAGC,MAAM,CAACF,UAAU,CAAC;;EAE3C;EACA,IAAIG,kBAAkB,GAAGP,UAAU,CAACQ,OAAO,CAACC,OAAO,CAAC,CAAC;EACrD,IAAIC,WAAW,GAAG,IAAI;EAEtBP,WAAW,CAACQ,OAAO,CAAEC,QAAoB,IAAK;IAC5C,MAAMC,YAAY,GAAGC,IAAI,CAACC,GAAG,CAACH,QAAQ,CAACR,UAAU,GAAGC,gBAAgB,CAAC;IACrE,IAAIQ,YAAY,GAAGH,WAAW,EAAE;MAC9BA,WAAW,GAAGG,YAAY;MAC1BN,kBAAkB,GAAGK,QAAQ,CAACR,UAAU,CAACK,OAAO,CAAC,CAAC;IACpD;EACF,CAAC,CAAC;;EAEF;EACA,QAAQF,kBAAkB;IACxB,KAAKP,UAAU,CAACgB,IAAI;MAClB,OAAO,MAAM;IACf,KAAMhB,UAAU,CAACiB,UAAU;MACzB,OAAO,YAAY;IACrB,KAAKjB,UAAU,CAACkB,KAAK;MACnB,OAAO,OAAO;IAChB,KAAKlB,UAAU,CAACQ,OAAO;MACrB,OAAO,SAAS;IAClB,KAAKR,UAAU,CAACmB,MAAM;MACpB,OAAO,QAAQ;IACjB,KAAKnB,UAAU,CAACoB,QAAQ;MACtB,OAAO,UAAU;IACnB,KAAKpB,UAAU,CAACqB,IAAI;MAClB,OAAO,MAAM;IACf,KAAKrB,UAAU,CAACsB,SAAS;MACvB,OAAO,WAAW;IACpB,KAAKtB,UAAU,CAACuB,KAAK;MACnB,OAAO,OAAO;IAChB;MACE,OAAO,SAAS;EACpB;AACF,CAAC;AAED,OAAO,MAAMC,WAAW,GAAGA,CAACC,UAAkB,EAAErB,UAA2B,KAAa;EACtF;AACF;AACA;AACA;;EAEE,MAAMsB,UAAU,GAAGzB,OAAO,CAAC0B,QAAQ,CAAC,CAAC;EACrC,IAAI,CAACD,UAAU,EAAE;IACf,MAAM,IAAIE,KAAK,CAAC,gCAAgC,CAAC;EACnD;EAEA,MAAMzB,WAAW,GAAGuB,UAAU,CAACD,UAAU,CAAC;EAC1C,IAAI,CAACtB,WAAW,EAAE;IAChB,MAAM,IAAIyB,KAAK,CAAE,eAAcH,UAAW,+BAA8B,CAAC;EAC3E;EAEA,MAAMI,cAAc,GAAG3B,iBAAiB,CAACC,WAAW,EAAEC,UAAU,CAAC;EACjE,OAAQ,GAAEqB,UAAW,IAAGI,cAAe,EAAC;AAC1C,CAAC"}
@@ -4,7 +4,10 @@ export const VARIABLES = {
4
4
  BLACK: '#000000',
5
5
  BLUE: '#005fF0',
6
6
  GREY: '#bbbbbb',
7
- SILVER_FLAKE: '#D5DDE0'
7
+ SILVER_FLAKE: '#D5DDE0',
8
+ PINK: '#FF00FF',
9
+ PURPLE: '#800080',
10
+ GREEN: '#008000'
8
11
  }
9
12
  };
10
13
  //# sourceMappingURL=variables.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["VARIABLES","COLORS","WHITE","BLACK","BLUE","GREY","SILVER_FLAKE"],"sources":["variables.ts"],"sourcesContent":["export const VARIABLES = {\n COLORS: {\n WHITE: '#ffffff',\n BLACK: '#000000',\n BLUE: '#005fF0',\n GREY: '#bbbbbb',\n SILVER_FLAKE: '#D5DDE0'\n }\n};\n"],"mappings":"AAAA,OAAO,MAAMA,SAAS,GAAG;EACvBC,MAAM,EAAE;IACNC,KAAK,EAAE,SAAS;IAChBC,KAAK,EAAE,SAAS;IAChBC,IAAI,EAAE,SAAS;IACfC,IAAI,EAAE,SAAS;IACfC,YAAY,EAAE;EAChB;AACF,CAAC"}
1
+ {"version":3,"names":["VARIABLES","COLORS","WHITE","BLACK","BLUE","GREY","SILVER_FLAKE","PINK","PURPLE","GREEN"],"sourceRoot":"../../../src","sources":["styles/variables.ts"],"mappings":"AAAA,OAAO,MAAMA,SAAS,GAAG;EACvBC,MAAM,EAAE;IACNC,KAAK,EAAE,SAAS;IAChBC,KAAK,EAAE,SAAS;IAChBC,IAAI,EAAE,SAAS;IACfC,IAAI,EAAE,SAAS;IACfC,YAAY,EAAE,SAAS;IACvBC,IAAI,EAAE,SAAS;IACfC,MAAM,EAAE,SAAS;IACjBC,KAAK,EAAE;EACT;AACF,CAAC"}
@@ -1,7 +1,23 @@
1
- export let BottomSheetRenderingType;
2
- (function (BottomSheetRenderingType) {
1
+ export let BottomSheetNativePlaceType = /*#__PURE__*/function (BottomSheetNativePlaceType) {
2
+ BottomSheetNativePlaceType["overFullScreen"] = "overFullScreen";
3
+ BottomSheetNativePlaceType["modal"] = "modal";
4
+ BottomSheetNativePlaceType["menu"] = "menu";
5
+ return BottomSheetNativePlaceType;
6
+ }({});
7
+ export let ScrollState = /*#__PURE__*/function (ScrollState) {
8
+ ScrollState["onTop"] = "onTop";
9
+ ScrollState["unScrollable"] = "unScrollable";
10
+ ScrollState["onlyWebView"] = "webViewScroll";
11
+ ScrollState["onlyBottomSheet"] = "onlyBottomSheet";
12
+ return ScrollState;
13
+ }({});
14
+ export let BottomSheetRenderingType = /*#__PURE__*/function (BottomSheetRenderingType) {
3
15
  BottomSheetRenderingType[BottomSheetRenderingType["Slot"] = 0] = "Slot";
4
- BottomSheetRenderingType[BottomSheetRenderingType["WebComponent"] = 1] = "WebComponent";
5
- BottomSheetRenderingType[BottomSheetRenderingType["NativeComponent"] = 2] = "NativeComponent";
6
- })(BottomSheetRenderingType || (BottomSheetRenderingType = {}));
16
+ BottomSheetRenderingType[BottomSheetRenderingType["NativeComponent"] = 1] = "NativeComponent";
17
+ return BottomSheetRenderingType;
18
+ }({});
19
+ export let BottomSheetNativeComponentType = /*#__PURE__*/function (BottomSheetNativeComponentType) {
20
+ BottomSheetNativeComponentType["AddToWalletComponent"] = "UNAddToWalletComponent";
21
+ return BottomSheetNativeComponentType;
22
+ }({});
7
23
  //# sourceMappingURL=bottomSheet.types.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["BottomSheetRenderingType"],"sources":["bottomSheet.types.ts"],"sourcesContent":["import type { RequestRenderingEvent } from '../../messages/webMessages/unitMessages';\nimport type { PresentationMode, WebComponentType } from './webComponent.types';\n\nexport enum BottomSheetRenderingType {\n Slot,\n WebComponent,\n NativeComponent\n}\n\nexport type BottomSheetSlotData = {\n // The data that rendered by the web view\n componentName?: WebComponentType,\n componentResourceId?: string,\n requestRenderingEvent: RequestRenderingEvent\n}\n\nexport type WebComponentData = {\n type: WebComponentType;\n presentationMode?: PresentationMode,\n params?: string;\n theme?: string;\n language?: string;\n windowParams?: string;\n}\n\nexport type NativeComponentData = {\n component: React.ReactNode,\n}\n\nexport interface SlotRendering {\n type: BottomSheetRenderingType.Slot,\n data: BottomSheetSlotData\n}\n\nexport interface WebComponentRendering {\n type: BottomSheetRenderingType.WebComponent,\n data: WebComponentData\n}\n\nexport interface NativeComponentRendering {\n type: BottomSheetRenderingType.NativeComponent,\n data: NativeComponentData\n}\n"],"mappings":"AAGA,WAAYA,wBAAwB;AAInC,WAJWA,wBAAwB;EAAxBA,wBAAwB,CAAxBA,wBAAwB;EAAxBA,wBAAwB,CAAxBA,wBAAwB;EAAxBA,wBAAwB,CAAxBA,wBAAwB;AAAA,GAAxBA,wBAAwB,KAAxBA,wBAAwB"}
1
+ {"version":3,"names":["BottomSheetNativePlaceType","ScrollState","BottomSheetRenderingType","BottomSheetNativeComponentType"],"sourceRoot":"../../../../src","sources":["types/internal/bottomSheet.types.ts"],"mappings":"AAMA,WAAYA,0BAA0B,0BAA1BA,0BAA0B;EAA1BA,0BAA0B;EAA1BA,0BAA0B;EAA1BA,0BAA0B;EAAA,OAA1BA,0BAA0B;AAAA;AAMtC,WAAYC,WAAW,0BAAXA,WAAW;EAAXA,WAAW;EAAXA,WAAW;EAAXA,WAAW;EAAXA,WAAW;EAAA,OAAXA,WAAW;AAAA;AAuBvB,WAAYC,wBAAwB,0BAAxBA,wBAAwB;EAAxBA,wBAAwB,CAAxBA,wBAAwB;EAAxBA,wBAAwB,CAAxBA,wBAAwB;EAAA,OAAxBA,wBAAwB;AAAA;AAKpC,WAAYC,8BAA8B,0BAA9BA,8BAA8B;EAA9BA,8BAA8B;EAAA,OAA9BA,8BAA8B;AAAA"}
@@ -1 +1 @@
1
- {"version":3,"names":["isUNErrorData","obj","isUNErrorDataArray","arr","Array","isArray","every","item","isUNError","error","errors"],"sources":["errorHelpers.ts"],"sourcesContent":["/* eslint-disable @typescript-eslint/no-explicit-any */\n\nimport type { UNErrorData } from '../shared/error.types';\nimport type { UNError } from '../shared';\n\nconst isUNErrorData = (obj: any): obj is UNErrorData => {\n return (\n typeof obj === 'object' &&\n 'title' in obj\n );\n};\n\nexport const isUNErrorDataArray = (arr: any): arr is UNErrorData[] => {\n return (\n Array.isArray(arr) &&\n arr.every((item) => isUNErrorData(item))\n );\n};\n\nexport const isUNError = (error: any): error is UNError => {\n return 'errors' in error && isUNErrorDataArray(error.errors);\n};\n"],"mappings":"AAAA;;AAKA,MAAMA,aAAa,GAAIC,GAAQ,IAAyB;EACtD,OACE,OAAOA,GAAG,KAAK,QAAQ,IACvB,OAAO,IAAIA,GAAG;AAElB,CAAC;AAED,OAAO,MAAMC,kBAAkB,GAAIC,GAAQ,IAA2B;EACpE,OACEC,KAAK,CAACC,OAAO,CAACF,GAAG,CAAC,IAClBA,GAAG,CAACG,KAAK,CAAEC,IAAI,IAAKP,aAAa,CAACO,IAAI,CAAC,CAAC;AAE5C,CAAC;AAED,OAAO,MAAMC,SAAS,GAAIC,KAAU,IAAuB;EACzD,OAAO,QAAQ,IAAIA,KAAK,IAAIP,kBAAkB,CAACO,KAAK,CAACC,MAAM,CAAC;AAC9D,CAAC"}
1
+ {"version":3,"names":["isUNErrorData","obj","isUNErrorDataArray","arr","Array","isArray","every","item","isUNError","error","errors"],"sourceRoot":"../../../../src","sources":["types/internal/errorHelpers.ts"],"mappings":"AAAA;;AAKA,MAAMA,aAAa,GAAIC,GAAQ,IAAyB;EACtD,OACE,OAAOA,GAAG,KAAK,QAAQ,IACvB,OAAO,IAAIA,GAAG;AAElB,CAAC;AAED,OAAO,MAAMC,kBAAkB,GAAIC,GAAQ,IAA2B;EACpE,OACEC,KAAK,CAACC,OAAO,CAACF,GAAG,CAAC,IAClBA,GAAG,CAACG,KAAK,CAAEC,IAAI,IAAKP,aAAa,CAACO,IAAI,CAAC,CAAC;AAE5C,CAAC;AAED,OAAO,MAAMC,SAAS,GAAIC,KAAU,IAAuB;EACzD,OAAO,QAAQ,IAAIA,KAAK,IAAIP,kBAAkB,CAACO,KAAK,CAACC,MAAM,CAAC;AAC9D,CAAC"}
@@ -1,5 +1,4 @@
1
- export let WebComponentType;
2
- (function (WebComponentType) {
1
+ export let WebComponentType = /*#__PURE__*/function (WebComponentType) {
3
2
  WebComponentType["card"] = "unit-elements-card";
4
3
  WebComponentType["multipleCards"] = "unit-elements-multiple-cards";
5
4
  WebComponentType["bookPayment"] = "unit-elements-book-payment";
@@ -10,11 +9,14 @@ export let WebComponentType;
10
9
  WebComponentType["achDebitPayment"] = "unit-elements-ach-debit-payment";
11
10
  WebComponentType["achCreditPayment"] = "unit-elements-ach-credit-payment";
12
11
  WebComponentType["cardAction"] = "unit-elements-card-action";
13
- })(WebComponentType || (WebComponentType = {}));
14
- export let PresentationMode;
15
- (function (PresentationMode) {
12
+ WebComponentType["programDetails"] = "unit-elements-program-details";
13
+ WebComponentType["nextRepayment"] = "unit-elements-next-repayment";
14
+ return WebComponentType;
15
+ }({});
16
+ export let PresentationMode = /*#__PURE__*/function (PresentationMode) {
16
17
  PresentationMode["CoverInjectedHeight"] = "coverInjectedHeight";
17
18
  PresentationMode["Inherit"] = "inherit";
18
19
  PresentationMode["Default"] = "deafult";
19
- })(PresentationMode || (PresentationMode = {}));
20
+ return PresentationMode;
21
+ }({});
20
22
  //# sourceMappingURL=webComponent.types.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["WebComponentType","PresentationMode"],"sources":["webComponent.types.ts"],"sourcesContent":["export enum WebComponentType {\n card = 'unit-elements-card',\n multipleCards = 'unit-elements-multiple-cards',\n bookPayment = 'unit-elements-book-payment',\n activity = 'unit-elements-activity',\n slot = 'unit-elements-sdk-slot',\n account = 'unit-elements-account',\n checkDeposit = 'unit-elements-check-deposit',\n achDebitPayment = 'unit-elements-ach-debit-payment',\n achCreditPayment = 'unit-elements-ach-credit-payment',\n cardAction = 'unit-elements-card-action',\n}\n\nexport enum PresentationMode {\n /*\n CoverInjectedHeight - give id (<webViewId> param) to enable style injection to the root. Then cover the injected height.\n\n Inherit - inherit the parent size by style of 100 view height\n\n Default - return the unit component script\n */\n\n CoverInjectedHeight = 'coverInjectedHeight',\n Inherit = 'inherit',\n Default = 'deafult'\n}\n"],"mappings":"AAAA,WAAYA,gBAAgB;AAW3B,WAXWA,gBAAgB;EAAhBA,gBAAgB;EAAhBA,gBAAgB;EAAhBA,gBAAgB;EAAhBA,gBAAgB;EAAhBA,gBAAgB;EAAhBA,gBAAgB;EAAhBA,gBAAgB;EAAhBA,gBAAgB;EAAhBA,gBAAgB;EAAhBA,gBAAgB;AAAA,GAAhBA,gBAAgB,KAAhBA,gBAAgB;AAa5B,WAAYC,gBAAgB;AAY3B,WAZWA,gBAAgB;EAAhBA,gBAAgB;EAAhBA,gBAAgB;EAAhBA,gBAAgB;AAAA,GAAhBA,gBAAgB,KAAhBA,gBAAgB"}
1
+ {"version":3,"names":["WebComponentType","PresentationMode"],"sourceRoot":"../../../../src","sources":["types/internal/webComponent.types.ts"],"mappings":"AAAA,WAAYA,gBAAgB,0BAAhBA,gBAAgB;EAAhBA,gBAAgB;EAAhBA,gBAAgB;EAAhBA,gBAAgB;EAAhBA,gBAAgB;EAAhBA,gBAAgB;EAAhBA,gBAAgB;EAAhBA,gBAAgB;EAAhBA,gBAAgB;EAAhBA,gBAAgB;EAAhBA,gBAAgB;EAAhBA,gBAAgB;EAAhBA,gBAAgB;EAAA,OAAhBA,gBAAgB;AAAA;AAe5B,WAAYC,gBAAgB,0BAAhBA,gBAAgB;EAAhBA,gBAAgB;EAAhBA,gBAAgB;EAAhBA,gBAAgB;EAAA,OAAhBA,gBAAgB;AAAA"}
@@ -1,16 +1,15 @@
1
- var UNAccountStatus;
2
- (function (UNAccountStatus) {
1
+ var UNAccountStatus = /*#__PURE__*/function (UNAccountStatus) {
3
2
  UNAccountStatus["Open"] = "Open";
4
3
  UNAccountStatus["Closed"] = "Closed";
5
4
  UNAccountStatus["Frozen"] = "Frozen";
6
- })(UNAccountStatus || (UNAccountStatus = {}));
7
- export let UNCloseReason;
8
- (function (UNCloseReason) {
5
+ return UNAccountStatus;
6
+ }(UNAccountStatus || {});
7
+ export let UNCloseReason = /*#__PURE__*/function (UNCloseReason) {
9
8
  UNCloseReason["Fraud"] = "Fraud";
10
9
  UNCloseReason["ByCustomer"] = "ByCustomer";
11
- })(UNCloseReason || (UNCloseReason = {}));
12
- export let UNFraudReason;
13
- (function (UNFraudReason) {
10
+ return UNCloseReason;
11
+ }({});
12
+ export let UNFraudReason = /*#__PURE__*/function (UNFraudReason) {
14
13
  UNFraudReason["ACHActivity"] = "ACHActivity";
15
14
  UNFraudReason["CardActivity"] = "CardActivity";
16
15
  UNFraudReason["CheckActivity"] = "CheckActivity";
@@ -19,11 +18,18 @@ export let UNFraudReason;
19
18
  UNFraudReason["ClientIdentified"] = "ClientIdentified";
20
19
  UNFraudReason["IdentityTheft"] = "IdentityTheft";
21
20
  UNFraudReason["LinkedToFraudulentCustomer"] = "LinkedToFraudulentCustomer";
22
- })(UNFraudReason || (UNFraudReason = {}));
23
- export let UNAccountMenuAction;
24
- (function (UNAccountMenuAction) {
21
+ return UNFraudReason;
22
+ }({});
23
+ export let UNAccountMenuAction = /*#__PURE__*/function (UNAccountMenuAction) {
25
24
  UNAccountMenuAction["OpenAccountDetails"] = "OpenAccountDetails";
26
25
  UNAccountMenuAction["OpenAccountStatements"] = "OpenAccountStatements";
27
26
  UNAccountMenuAction["DownloadBankVerificationLetter"] = "DownloadBankVerificationLetter";
28
- })(UNAccountMenuAction || (UNAccountMenuAction = {}));
27
+ return UNAccountMenuAction;
28
+ }({});
29
+ export let UNAccountMenuItem = /*#__PURE__*/function (UNAccountMenuItem) {
30
+ UNAccountMenuItem["details"] = "details";
31
+ UNAccountMenuItem["statements"] = "statements";
32
+ UNAccountMenuItem["bankVerification"] = "bankVerification";
33
+ return UNAccountMenuItem;
34
+ }({});
29
35
  //# sourceMappingURL=account.types.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["UNAccountStatus","UNCloseReason","UNFraudReason","UNAccountMenuAction"],"sources":["account.types.ts"],"sourcesContent":["import type { UNRelationship, UNTags } from './types';\n\nexport type UNAccountData = UNDepositAccount | UNBatchAccount | UNCreditAccount\n\nexport type UNCounterpartyAccountData = {\n id: string\n attributes: {\n name: string\n tags?: { [key: string]: string }\n }\n}\n\nenum UNAccountStatus {\n Open = 'Open',\n Closed = 'Closed',\n Frozen = 'Frozen',\n}\n\nexport enum UNCloseReason {\n Fraud = 'Fraud',\n ByCustomer = 'ByCustomer',\n}\n\nexport enum UNFraudReason {\n ACHActivity = 'ACHActivity',\n CardActivity = 'CardActivity',\n CheckActivity = 'CheckActivity',\n ApplicationHistory = 'ApplicationHistory',\n AccountActivity = 'AccountActivity',\n ClientIdentified = 'ClientIdentified',\n IdentityTheft = 'IdentityTheft',\n LinkedToFraudulentCustomer = 'LinkedToFraudulentCustomer',\n}\n\nexport type UNDepositAccount = {\n id: string\n type: 'depositAccount'\n attributes: {\n createdAt: string\n updatedAt?: string\n name: string\n depositProduct: string\n routingNumber: string\n accountNumber: string\n maskedAccountNumber?: string\n secondaryAccountNumber?: {\n routingNumber: string\n accountNumber: string\n }\n balance: number\n hold: number\n reserve: number\n available: number\n overdraftLimit?: number\n currency: string\n tags: UNTags\n status: UNAccountStatus\n closeReason?: string\n fraudReason?: UNFraudReason\n closeReasonText?: string\n freezeReason?: string\n isOverdrawnWithinLimit?: boolean\n }\n relationships: {\n customer?: UNRelationship\n customers?: UNRelationship\n org: UNRelationship\n }\n // included?: Individual[]\n}\n\nexport type UNBatchAccount = {\n id: string\n type: 'batchAccount'\n attributes: {\n createdAt: Date\n updatedAt?: Date\n name: string\n depositProduct: string\n routingNumber: string\n accountNumber: string\n maskedAccountNumber?: string\n balance: number\n hold: number\n reserve: number\n available: number\n currency: string\n status: 'Open' | 'Closed'\n closeReason?: string\n fraudReason?: UNFraudReason\n closeReasonText?: string\n freezeReason?: string\n tags?: { [key: string]: string }\n }\n relationships: {\n org: UNRelationship\n }\n}\n\nexport type UNCreditAccount = {\n id: string\n type: 'creditAccount'\n attributes: {\n createdAt: Date\n updatedAt?: Date\n name: string\n creditTerms: string\n balance: number\n hold: number\n reserve: number\n available: number\n creditLimit: number\n currency: string\n tags: { [key: string]: string }\n status: UNAccountStatus\n closeReason?: UNCloseReason\n fraudReason?: UNFraudReason\n closeReasonText?: string\n freezeReason?: string\n }\n relationships: {\n customer: UNRelationship,\n org: UNRelationship\n }\n}\n\nexport enum UNAccountMenuAction {\n OpenAccountDetails = 'OpenAccountDetails',\n OpenAccountStatements = 'OpenAccountStatements',\n DownloadBankVerificationLetter = 'DownloadBankVerificationLetter',\n}\n"],"mappings":"IAYKA,eAAe;AAAA,WAAfA,eAAe;EAAfA,eAAe;EAAfA,eAAe;EAAfA,eAAe;AAAA,GAAfA,eAAe,KAAfA,eAAe;AAMpB,WAAYC,aAAa;AAGxB,WAHWA,aAAa;EAAbA,aAAa;EAAbA,aAAa;AAAA,GAAbA,aAAa,KAAbA,aAAa;AAKzB,WAAYC,aAAa;AASxB,WATWA,aAAa;EAAbA,aAAa;EAAbA,aAAa;EAAbA,aAAa;EAAbA,aAAa;EAAbA,aAAa;EAAbA,aAAa;EAAbA,aAAa;EAAbA,aAAa;AAAA,GAAbA,aAAa,KAAbA,aAAa;AAuGzB,WAAYC,mBAAmB;AAI9B,WAJWA,mBAAmB;EAAnBA,mBAAmB;EAAnBA,mBAAmB;EAAnBA,mBAAmB;AAAA,GAAnBA,mBAAmB,KAAnBA,mBAAmB"}
1
+ {"version":3,"names":["UNAccountStatus","UNCloseReason","UNFraudReason","UNAccountMenuAction","UNAccountMenuItem"],"sourceRoot":"../../../../src","sources":["types/shared/account.types.ts"],"mappings":"IAYKA,eAAe,0BAAfA,eAAe;EAAfA,eAAe;EAAfA,eAAe;EAAfA,eAAe;EAAA,OAAfA,eAAe;AAAA,EAAfA,eAAe;AAMpB,WAAYC,aAAa,0BAAbA,aAAa;EAAbA,aAAa;EAAbA,aAAa;EAAA,OAAbA,aAAa;AAAA;AAKzB,WAAYC,aAAa,0BAAbA,aAAa;EAAbA,aAAa;EAAbA,aAAa;EAAbA,aAAa;EAAbA,aAAa;EAAbA,aAAa;EAAbA,aAAa;EAAbA,aAAa;EAAbA,aAAa;EAAA,OAAbA,aAAa;AAAA;AAuGzB,WAAYC,mBAAmB,0BAAnBA,mBAAmB;EAAnBA,mBAAmB;EAAnBA,mBAAmB;EAAnBA,mBAAmB;EAAA,OAAnBA,mBAAmB;AAAA;AAM/B,WAAYC,iBAAiB,0BAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAA,OAAjBA,iBAAiB;AAAA"}
@@ -1 +1 @@
1
- {"version":3,"names":[],"sources":["achCredit.types.ts"],"sourcesContent":["import type { RESPONSE_KEYS } from '../../messages/webMessages/onLoadMessage';\nimport type { UNAccountData, UNCounterpartyAccountData } from './account.types';\nimport type { UNAchCounterparty, UNCounterpartyVerificationMethod, UNPaymentStatus } from './payments.types';\nimport type { UNTags, UNRelationship } from './types';\n\nexport type UNACHOnLoadData = {\n [RESPONSE_KEYS.account]: UNAccountData,\n [RESPONSE_KEYS.counterpartyAccount]: [UNCounterpartyAccountData]\n}\n\nexport type UNACHData = {\n type: 'achPayment',\n id: string,\n attributes: {\n createdAt: string | Date,\n status: UNPaymentStatus,\n settlementDate?: Date,\n reason: string,\n direction: 'Debit' | 'Credit',\n description: string,\n transactionSummaryOverride?: string,\n amount: string,\n tags: UNTags,\n addenda?: string\n\t\tcounterparty: UNAchCounterparty\n\t\texpectedCompletionDate?: Date\n\t\tcounterpartyVerificationMethod?:keyof typeof UNCounterpartyVerificationMethod\n\t\tsameDay?: boolean\n },\n relationships: {\n account: UNRelationship,\n customer?: UNRelationship,\n customers?: UNRelationship,\n counterpartyAccount: UNRelationship,\n counterpartyCustomer: UNRelationship,\n transaction: UNRelationship,\n recurringPayment: UNRelationship\n }\n}\n"],"mappings":""}
1
+ {"version":3,"names":[],"sourceRoot":"../../../../src","sources":["types/shared/achCredit.types.ts"],"mappings":""}
@@ -1,6 +1,6 @@
1
- export let UNActivityComponentPaginationType;
2
- (function (UNActivityComponentPaginationType) {
1
+ export let UNActivityComponentPaginationType = /*#__PURE__*/function (UNActivityComponentPaginationType) {
3
2
  UNActivityComponentPaginationType["infiniteScroll"] = "infiniteScroll";
4
3
  UNActivityComponentPaginationType["pagination"] = "pagination";
5
- })(UNActivityComponentPaginationType || (UNActivityComponentPaginationType = {}));
4
+ return UNActivityComponentPaginationType;
5
+ }({});
6
6
  //# sourceMappingURL=activity.types.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["UNActivityComponentPaginationType"],"sources":["activity.types.ts"],"sourcesContent":["import type { RESPONSE_KEYS } from '../../messages/webMessages/onLoadMessage';\nimport type { UNAuthorizationData } from './authorization.types';\nimport type { UNTransactionData } from './transactions.types';\n\nexport const enum UNActivityComponentPaginationType {\n infiniteScroll = 'infiniteScroll',\n pagination = 'pagination'\n}\n\nexport type UNActivityOnLoadData = {\n [RESPONSE_KEYS.authorizations]: UNAuthorizationData,\n [RESPONSE_KEYS.transactions]: UNTransactionData,\n}\n"],"mappings":"AAIA,WAAkBA,iCAAiC;AAGlD,WAHiBA,iCAAiC;EAAjCA,iCAAiC;EAAjCA,iCAAiC;AAAA,GAAjCA,iCAAiC,KAAjCA,iCAAiC"}
1
+ {"version":3,"names":["UNActivityComponentPaginationType"],"sourceRoot":"../../../../src","sources":["types/shared/activity.types.ts"],"mappings":"AAIA,WAAYA,iCAAiC,0BAAjCA,iCAAiC;EAAjCA,iCAAiC;EAAjCA,iCAAiC;EAAA,OAAjCA,iCAAiC;AAAA"}
@@ -1 +1 @@
1
- {"version":3,"names":[],"sources":["authorization.types.ts"],"sourcesContent":["export type UNAuthorizationData = {\n type: string,\n id: string,\n attributes: UNAuthorizationDetails\n}\n\nexport type UNAuthorizationDetails = {\n cardNetwork: string,\n createdAt: Date,\n amount: string,\n merchant?: UNAuthorizationMerchant,\n cardLast4Digits: string,\n recurring : boolean,\n summary: string,\n}\n\nexport type UNAuthorizationMerchant = {\n name: string,\n type: string,\n category: string,\n location?: string,\n}\n"],"mappings":""}
1
+ {"version":3,"names":[],"sourceRoot":"../../../../src","sources":["types/shared/authorization.types.ts"],"mappings":""}
@@ -1 +1 @@
1
- {"version":3,"names":[],"sources":["bookPayment.types.ts"],"sourcesContent":["import type { UNPaymentStatus } from './payments.types';\nimport type { UNTags, UNRelationship } from './types';\n\nexport type UNBookPaymentData = {\n type: 'bookPayment',\n id: string,\n attributes: {\n createdAt: string | Date,\n status: UNPaymentStatus,\n reason: string,\n direction: 'Debit' | 'Credit',\n description: string,\n transactionSummaryOverride?: string,\n amount: string,\n tags: UNTags,\n },\n relationships: {\n account: UNRelationship,\n customer?: UNRelationship,\n customers?: UNRelationship,\n counterpartyAccount: UNRelationship,\n counterpartyCustomer: UNRelationship,\n transaction: UNRelationship,\n recurringPayment: UNRelationship\n }\n}\n"],"mappings":""}
1
+ {"version":3,"names":[],"sourceRoot":"../../../../src","sources":["types/shared/bookPayment.types.ts"],"mappings":""}
@@ -1,5 +1,4 @@
1
- export let UNCardMenuAction;
2
- (function (UNCardMenuAction) {
1
+ export let UNCardMenuAction = /*#__PURE__*/function (UNCardMenuAction) {
3
2
  UNCardMenuAction["Freeze"] = "Freeze";
4
3
  UNCardMenuAction["ManagePin"] = "ManagePin";
5
4
  UNCardMenuAction["Replace"] = "Replace";
@@ -10,5 +9,15 @@ export let UNCardMenuAction;
10
9
  UNCardMenuAction["ChangePin"] = "ChangePin";
11
10
  UNCardMenuAction["SetPin"] = "SetPin";
12
11
  UNCardMenuAction["AddToWallet"] = "AddToWallet";
13
- })(UNCardMenuAction || (UNCardMenuAction = {}));
12
+ return UNCardMenuAction;
13
+ }({});
14
+ export let UNCardMenuItem = /*#__PURE__*/function (UNCardMenuItem) {
15
+ UNCardMenuItem["freeze"] = "freeze";
16
+ UNCardMenuItem["addToWallet"] = "addToWallet";
17
+ UNCardMenuItem["managePin"] = "managePin";
18
+ UNCardMenuItem["replace"] = "replace";
19
+ UNCardMenuItem["report"] = "report";
20
+ UNCardMenuItem["close"] = "close";
21
+ return UNCardMenuItem;
22
+ }({});
14
23
  //# sourceMappingURL=card.types.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["UNCardMenuAction"],"sources":["card.types.ts"],"sourcesContent":["import type { UNAddress, UNFullName, UNLimits, UNRelationship, UNTags } from './types';\n\nexport type UNCardData = UNIndividualDebitCard | UNBusinessDebitCard\n\ntype UNCardStatus = 'Active' | 'Inactive' | 'Stolen' | 'Lost' | 'Frozen' | 'ClosedByCustomer' | 'SuspectedFraud'\n\nexport type UNIndividualDebitCard = {\n id: string,\n type: 'individualDebitCard' | 'individualVirtualDebitCard',\n attributes: {\n createdAt: string,\n last4Digits: string,\n expirationDate: string,\n status: UNCardStatus,\n shippingAddress?: UNAddress, /* not exists in virtual card */\n updatedAt?: string,\n design?: string,\n additionalEmbossedText?: string,\n idempotencyKey?: string,\n tags?: UNTags,\n limits?: UNLimits,\n printOnlyBusinessName?: boolean\n },\n relationships: {\n account: UNRelationship,\n customer: UNRelationship\n }\n}\n\nexport type UNBusinessDebitCard = {\n id: string,\n type: 'businessDebitCard' | 'businessVirtualDebitCard',\n attributes: {\n fullName: UNFullName,\n dateOfBirth: string,\n address: UNAddress,\n shippingAddress?: UNAddress,\n phone: string,\n email: string,\n createdAt: string,\n last4Digits: string,\n expirationDate: string,\n status: UNCardStatus,\n updatedAt?: string,\n ssn?: string,\n passport?: string,\n nationality?: string,\n design?: string,\n additionalEmbossedText?: string,\n idempotencyKey?: string,\n tags?: Record<string, string>\n limits?: UNLimits,\n printOnlyBusinessName?: boolean\n },\n relationships: {\n account: UNRelationship,\n customer: UNRelationship\n }\n}\n\nexport enum UNCardMenuAction {\n Freeze = 'Freeze',\n ManagePin = 'ManagePin',\n Replace = 'Replace',\n Report = 'Report',\n Close = 'Close',\n Activate = 'Activate',\n Unfreeze = 'Unfreeze',\n ChangePin = 'ChangePin',\n SetPin = 'SetPin',\n AddToWallet = 'AddToWallet'\n}\n"],"mappings":"AA4DA,WAAYA,gBAAgB;AAW3B,WAXWA,gBAAgB;EAAhBA,gBAAgB;EAAhBA,gBAAgB;EAAhBA,gBAAgB;EAAhBA,gBAAgB;EAAhBA,gBAAgB;EAAhBA,gBAAgB;EAAhBA,gBAAgB;EAAhBA,gBAAgB;EAAhBA,gBAAgB;EAAhBA,gBAAgB;AAAA,GAAhBA,gBAAgB,KAAhBA,gBAAgB"}
1
+ {"version":3,"names":["UNCardMenuAction","UNCardMenuItem"],"sourceRoot":"../../../../src","sources":["types/shared/card.types.ts"],"mappings":"AA4DA,WAAYA,gBAAgB,0BAAhBA,gBAAgB;EAAhBA,gBAAgB;EAAhBA,gBAAgB;EAAhBA,gBAAgB;EAAhBA,gBAAgB;EAAhBA,gBAAgB;EAAhBA,gBAAgB;EAAhBA,gBAAgB;EAAhBA,gBAAgB;EAAhBA,gBAAgB;EAAhBA,gBAAgB;EAAA,OAAhBA,gBAAgB;AAAA;AAa5B,WAAYC,cAAc,0BAAdA,cAAc;EAAdA,cAAc;EAAdA,cAAc;EAAdA,cAAc;EAAdA,cAAc;EAAdA,cAAc;EAAdA,cAAc;EAAA,OAAdA,cAAc;AAAA"}
@@ -1,5 +1,4 @@
1
- export let UNCheckDepositStatus;
2
- (function (UNCheckDepositStatus) {
1
+ export let UNCheckDepositStatus = /*#__PURE__*/function (UNCheckDepositStatus) {
3
2
  UNCheckDepositStatus["AwaitingImages"] = "AwaitingImages";
4
3
  UNCheckDepositStatus["AwaitingFrontImage"] = "AwaitingFrontImage";
5
4
  UNCheckDepositStatus["AwaitingBackImage"] = "AwaitingBackImage";
@@ -11,5 +10,6 @@ export let UNCheckDepositStatus;
11
10
  UNCheckDepositStatus["Sent"] = "Sent";
12
11
  UNCheckDepositStatus["Canceled"] = "Canceled";
13
12
  UNCheckDepositStatus["Returned"] = "Returned";
14
- })(UNCheckDepositStatus || (UNCheckDepositStatus = {}));
13
+ return UNCheckDepositStatus;
14
+ }({});
15
15
  //# sourceMappingURL=checkDeposit.types.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["UNCheckDepositStatus"],"sources":["checkDeposit.types.ts"],"sourcesContent":["import type { UNRelationship } from './types';\n\nexport type UNCheckDepositData = {\n\tid: string\n\ttype: string\n\tattributes: UNCheckDepositAttributes\n\trelationships: UNCheckDepositRelationships\n}\n\nexport type UNCheckDepositAttributes = {\n createdAt: Date\n status: keyof typeof UNCheckDepositStatus\n reason?: string\n description: string\n amount: Cents\n checkNumber?: string\n counterparty: UNCheckCounterparty\n settlementDate?: Date\n tags?: {[key: string]: string}\n}\n\nexport type UNCheckDepositRelationships = {\n account: UNRelationship\n customer?: UNRelationship\n customers?: UNRelationship\n org?: UNRelationship\n transaction?: UNRelationship\n}\n\nexport enum UNCheckDepositStatus {\n\tAwaitingImages = 'AwaitingImages',\n\tAwaitingFrontImage = 'AwaitingFrontImage',\n\tAwaitingBackImage = 'AwaitingBackImage',\n\tPendingReview = 'PendingReview',\n\tAwaitingCustomerConfirmation = 'AwaitingCustomerConfirmation',\n\tPending = 'Pending',\n\tRejected = 'Rejected',\n\tClearing = 'Clearing',\n\tSent = 'Sent',\n\tCanceled = 'Canceled',\n\tReturned = 'Returned',\n}\n\nexport type Cents = number\n\nexport type UNCheckCounterparty = {\n\tname: string\n\taccountNumber: string\n\troutingNumber: string\n}\n"],"mappings":"AA6BA,WAAYA,oBAAoB;AAY/B,WAZWA,oBAAoB;EAApBA,oBAAoB;EAApBA,oBAAoB;EAApBA,oBAAoB;EAApBA,oBAAoB;EAApBA,oBAAoB;EAApBA,oBAAoB;EAApBA,oBAAoB;EAApBA,oBAAoB;EAApBA,oBAAoB;EAApBA,oBAAoB;EAApBA,oBAAoB;AAAA,GAApBA,oBAAoB,KAApBA,oBAAoB"}
1
+ {"version":3,"names":["UNCheckDepositStatus"],"sourceRoot":"../../../../src","sources":["types/shared/checkDeposit.types.ts"],"mappings":"AA6BA,WAAYA,oBAAoB,0BAApBA,oBAAoB;EAApBA,oBAAoB;EAApBA,oBAAoB;EAApBA,oBAAoB;EAApBA,oBAAoB;EAApBA,oBAAoB;EAApBA,oBAAoB;EAApBA,oBAAoB;EAApBA,oBAAoB;EAApBA,oBAAoB;EAApBA,oBAAoB;EAApBA,oBAAoB;EAAA,OAApBA,oBAAoB;AAAA"}
@@ -1,5 +1,4 @@
1
- export let UNErrorCodes;
2
- (function (UNErrorCodes) {
1
+ export let UNErrorCodes = /*#__PURE__*/function (UNErrorCodes) {
3
2
  UNErrorCodes["FEATURE_DISABLED"] = "feature_disabled";
4
3
  UNErrorCodes["INVALID_VALUE"] = "invalid_value";
5
4
  UNErrorCodes["LIMITS_EXCEEDED"] = "limits_exceeded";
@@ -18,5 +17,6 @@ export let UNErrorCodes;
18
17
  UNErrorCodes["ALREADY_EXISTS"] = "already_exists";
19
18
  UNErrorCodes["CUSTOMER_NAME_UNDELIVERABLE"] = "customer_name_undeliverable";
20
19
  UNErrorCodes["CUSTOMER_ADDRESS_UNDELIVERABLE"] = "customer_address_undeliverable";
21
- })(UNErrorCodes || (UNErrorCodes = {}));
20
+ return UNErrorCodes;
21
+ }({});
22
22
  //# sourceMappingURL=error.types.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["UNErrorCodes"],"sources":["error.types.ts"],"sourcesContent":["export type UNError = {\n errors: UNErrorData[]\n}\n\nexport type UNErrorData = {\n status?: string,\n title: string,\n detail?: string,\n details?: string,\n meta?: UNErrorMeta\n code?: UNErrorCodes,\n error?: Error\n}\n\ninterface UNErrorMeta {\n meta: Record<string, string>,\n}\n\nexport enum UNErrorCodes {\n FEATURE_DISABLED = 'feature_disabled',\n INVALID_VALUE = 'invalid_value',\n LIMITS_EXCEEDED = 'limits_exceeded',\n NOT_FOUND = 'not_found',\n ACCOUNT_CUSTOMER_MISMATCH = 'account_customer_mismatch',\n NOT_SUPPORTED_FOR_ACCOUNT_STATUS = 'not_supported_for_account_status',\n NOT_SUPPORTED_FOR_ACCOUNT_TYPE = 'not_supported_for_account_type',\n NOT_SUPPORTED_FOR_CARD = 'not_supported_for_card',\n NOT_SUPPORTED_FOR_CARD_STATUS = 'not_supported_for_card_status',\n NOT_SUPPORTED_FOR_CARD_TYPE = 'not_supported_for_card_type',\n INVALID_NONCE = 'invalid_nonce',\n NOT_SUPPORTED_FOR_PAYMENT_TYPE = 'not_supported_for_payment_type',\n PAYMENT_INVALID = 'payment_invalid',\n UNAUTHORIZED = 'unauthorized',\n FORBIDDEN = 'forbidden',\n ALREADY_EXISTS = 'already_exists',\n CUSTOMER_NAME_UNDELIVERABLE = 'customer_name_undeliverable',\n CUSTOMER_ADDRESS_UNDELIVERABLE = 'customer_address_undeliverable',\n}\n"],"mappings":"AAkBA,WAAYA,YAAY;AAmBvB,WAnBWA,YAAY;EAAZA,YAAY;EAAZA,YAAY;EAAZA,YAAY;EAAZA,YAAY;EAAZA,YAAY;EAAZA,YAAY;EAAZA,YAAY;EAAZA,YAAY;EAAZA,YAAY;EAAZA,YAAY;EAAZA,YAAY;EAAZA,YAAY;EAAZA,YAAY;EAAZA,YAAY;EAAZA,YAAY;EAAZA,YAAY;EAAZA,YAAY;EAAZA,YAAY;AAAA,GAAZA,YAAY,KAAZA,YAAY"}
1
+ {"version":3,"names":["UNErrorCodes"],"sourceRoot":"../../../../src","sources":["types/shared/error.types.ts"],"mappings":"AAkBA,WAAYA,YAAY,0BAAZA,YAAY;EAAZA,YAAY;EAAZA,YAAY;EAAZA,YAAY;EAAZA,YAAY;EAAZA,YAAY;EAAZA,YAAY;EAAZA,YAAY;EAAZA,YAAY;EAAZA,YAAY;EAAZA,YAAY;EAAZA,YAAY;EAAZA,YAAY;EAAZA,YAAY;EAAZA,YAAY;EAAZA,YAAY;EAAZA,YAAY;EAAZA,YAAY;EAAZA,YAAY;EAAA,OAAZA,YAAY;AAAA"}
@@ -1,5 +1,4 @@
1
- export let FontWeight;
2
- (function (FontWeight) {
1
+ export let FontWeight = /*#__PURE__*/function (FontWeight) {
3
2
  FontWeight[FontWeight["Thin"] = 100] = "Thin";
4
3
  FontWeight[FontWeight["ExtraLight"] = 200] = "ExtraLight";
5
4
  FontWeight[FontWeight["Light"] = 300] = "Light";
@@ -9,5 +8,6 @@ export let FontWeight;
9
8
  FontWeight[FontWeight["Bold"] = 700] = "Bold";
10
9
  FontWeight[FontWeight["ExtraBold"] = 800] = "ExtraBold";
11
10
  FontWeight[FontWeight["Black"] = 900] = "Black";
12
- })(FontWeight || (FontWeight = {}));
11
+ return FontWeight;
12
+ }({});
13
13
  //# sourceMappingURL=fonts.types.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["FontWeight"],"sources":["fonts.types.ts"],"sourcesContent":["export type UNFonts = {\n [fontFamily: string]: UNFontData[];\n}\n\nexport type UNFontData = {\n // Using 'field' instead of 'key' to account for potential variants unrelated to font weight.\n fontWeight: FontWeight;\n sources: UNFontSource[];\n}\n\nexport type UNFontSource = {\n // using the fileName for iOS and relative path for Android\n fileName: string;\n assetDirRelativePath: string;\n format?: string;\n}\n\nexport enum FontWeight {\n Thin = 100,\n ExtraLight = 200,\n Light = 300,\n Regular = 400,\n Medium = 500,\n SemiBold = 600,\n Bold = 700,\n ExtraBold = 800,\n Black = 900\n}\n"],"mappings":"AAiBA,WAAYA,UAAU;AAUrB,WAVWA,UAAU;EAAVA,UAAU,CAAVA,UAAU;EAAVA,UAAU,CAAVA,UAAU;EAAVA,UAAU,CAAVA,UAAU;EAAVA,UAAU,CAAVA,UAAU;EAAVA,UAAU,CAAVA,UAAU;EAAVA,UAAU,CAAVA,UAAU;EAAVA,UAAU,CAAVA,UAAU;EAAVA,UAAU,CAAVA,UAAU;EAAVA,UAAU,CAAVA,UAAU;AAAA,GAAVA,UAAU,KAAVA,UAAU"}
1
+ {"version":3,"names":["FontWeight"],"sourceRoot":"../../../../src","sources":["types/shared/fonts.types.ts"],"mappings":"AAiBA,WAAYA,UAAU,0BAAVA,UAAU;EAAVA,UAAU,CAAVA,UAAU;EAAVA,UAAU,CAAVA,UAAU;EAAVA,UAAU,CAAVA,UAAU;EAAVA,UAAU,CAAVA,UAAU;EAAVA,UAAU,CAAVA,UAAU;EAAVA,UAAU,CAAVA,UAAU;EAAVA,UAAU,CAAVA,UAAU;EAAVA,UAAU,CAAVA,UAAU;EAAVA,UAAU,CAAVA,UAAU;EAAA,OAAVA,UAAU;AAAA"}
@@ -1 +1 @@
1
- {"version":3,"names":[],"sources":["index.ts"],"sourcesContent":["export * from './bookPayment.types';\nexport * from './card.types';\nexport * from './onLoadResponse.types';\nexport * from './achCredit.types';\nexport * from './payments.types';\nexport * from './account.types';\nexport * from './checkDeposit.types';\nexport * from './activity.types';\nexport * from './fonts.types';\nexport * from './error.types';\nexport * from './versioning.types';\nexport * from './multipleCards.types';\n"],"mappings":"AAAA,cAAc,qBAAqB;AACnC,cAAc,cAAc;AAC5B,cAAc,wBAAwB;AACtC,cAAc,mBAAmB;AACjC,cAAc,kBAAkB;AAChC,cAAc,iBAAiB;AAC/B,cAAc,sBAAsB;AACpC,cAAc,kBAAkB;AAChC,cAAc,eAAe;AAC7B,cAAc,eAAe;AAC7B,cAAc,oBAAoB;AAClC,cAAc,uBAAuB"}
1
+ {"version":3,"names":[],"sourceRoot":"../../../../src","sources":["types/shared/index.ts"],"mappings":"AAAA,cAAc,qBAAqB;AACnC,cAAc,cAAc;AAC5B,cAAc,wBAAwB;AACtC,cAAc,mBAAmB;AACjC,cAAc,kBAAkB;AAChC,cAAc,iBAAiB;AAC/B,cAAc,sBAAsB;AACpC,cAAc,kBAAkB;AAChC,cAAc,eAAe;AAC7B,cAAc,eAAe;AAC7B,cAAc,oBAAoB;AAClC,cAAc,uBAAuB"}
@@ -1,6 +1,6 @@
1
- export let UNMultipleCardsComponentPaginationType;
2
- (function (UNMultipleCardsComponentPaginationType) {
1
+ export let UNMultipleCardsComponentPaginationType = /*#__PURE__*/function (UNMultipleCardsComponentPaginationType) {
3
2
  UNMultipleCardsComponentPaginationType["infiniteScroll"] = "infiniteScroll";
4
3
  UNMultipleCardsComponentPaginationType["pagination"] = "pagination";
5
- })(UNMultipleCardsComponentPaginationType || (UNMultipleCardsComponentPaginationType = {}));
4
+ return UNMultipleCardsComponentPaginationType;
5
+ }({});
6
6
  //# sourceMappingURL=multipleCards.types.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["UNMultipleCardsComponentPaginationType"],"sources":["multipleCards.types.ts"],"sourcesContent":["import type { UNCardData } from './card.types';\n\nexport const enum UNMultipleCardsComponentPaginationType {\n infiniteScroll = 'infiniteScroll',\n pagination = 'pagination'\n}\n\nexport type UNMultipleCardsOnLoadData = UNCardData[];\n"],"mappings":"AAEA,WAAkBA,sCAAsC;AAGvD,WAHiBA,sCAAsC;EAAtCA,sCAAsC;EAAtCA,sCAAsC;AAAA,GAAtCA,sCAAsC,KAAtCA,sCAAsC"}
1
+ {"version":3,"names":["UNMultipleCardsComponentPaginationType"],"sourceRoot":"../../../../src","sources":["types/shared/multipleCards.types.ts"],"mappings":"AAEA,WAAYA,sCAAsC,0BAAtCA,sCAAsC;EAAtCA,sCAAsC;EAAtCA,sCAAsC;EAAA,OAAtCA,sCAAsC;AAAA"}
@@ -1 +1 @@
1
- {"version":3,"names":[],"sources":["onLoadResponse.types.ts"],"sourcesContent":["import type { UNError } from './error.types';\n\nexport type UNOnLoadResponseData<T> = {\n data: T,\n}\n\nexport type UNOnLoadResponse<T> =\n | UNOnLoadResponseData<T>\n | UNError\n"],"mappings":""}
1
+ {"version":3,"names":[],"sourceRoot":"../../../../src","sources":["types/shared/onLoadResponse.types.ts"],"mappings":""}