react-native-unit-components 1.10.0 → 1.12.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.
- package/android/build.gradle +36 -88
- package/android/gradle.properties +2 -2
- package/android/src/main/AndroidManifestNew.xml +14 -0
- package/android/src/main/java/com/unitreactnativecomponents/UnitAddToWalletButtonViewManager.kt +2 -2
- package/android/src/main/java/com/unitreactnativecomponents/UnitReactNativeComponentsEvent.kt +3 -3
- package/android/src/main/java/com/unitreactnativecomponents/UnitReactNativeComponentsPackage.kt +3 -1
- package/android/src/main/java/com/unitreactnativecomponents/unStoreManager/UNStoreManager.kt +36 -0
- package/android/src/main/java/com/unitreactnativecomponents/visapresentation/UNGooglePayView.kt +147 -152
- package/ios/UNStoreManager/UNStoreManager.swift +28 -0
- package/ios/UNStoreManager/UNStoreManagerExportModule.m +8 -0
- package/lib/commonjs/assets/images/index.js.map +1 -1
- package/lib/commonjs/components/UNACHCreditComponent/UNACHCreditComponent.js +15 -5
- package/lib/commonjs/components/UNACHCreditComponent/UNACHCreditComponent.js.map +1 -1
- package/lib/commonjs/components/UNACHCreditComponent/UNACHCreditComponent.utils.js +13 -2
- package/lib/commonjs/components/UNACHCreditComponent/UNACHCreditComponent.utils.js.map +1 -1
- package/lib/commonjs/components/UNACHCreditComponent/index.js +2 -2
- package/lib/commonjs/components/UNACHCreditComponent/index.js.map +1 -1
- package/lib/commonjs/components/UNACHDebitComponent/UNACHDebitComponent.js +15 -5
- package/lib/commonjs/components/UNACHDebitComponent/UNACHDebitComponent.js.map +1 -1
- package/lib/commonjs/components/UNACHDebitComponent/UNACHDebitComponent.utils.js +12 -2
- package/lib/commonjs/components/UNACHDebitComponent/UNACHDebitComponent.utils.js.map +1 -1
- package/lib/commonjs/components/UNACHDebitComponent/index.js +2 -2
- package/lib/commonjs/components/UNACHDebitComponent/index.js.map +1 -1
- package/lib/commonjs/components/UNAccountComponent/UNAccountComponent.js +31 -15
- package/lib/commonjs/components/UNAccountComponent/UNAccountComponent.js.map +1 -1
- package/lib/commonjs/components/UNAccountComponent/UNAccountComponent.utils.js +9 -8
- package/lib/commonjs/components/UNAccountComponent/UNAccountComponent.utils.js.map +1 -1
- package/lib/commonjs/components/UNAccountComponent/index.js +2 -2
- package/lib/commonjs/components/UNAccountComponent/index.js.map +1 -1
- package/lib/commonjs/components/UNActivityComponent/UNActivityComponent.js +16 -7
- package/lib/commonjs/components/UNActivityComponent/UNActivityComponent.js.map +1 -1
- package/lib/commonjs/components/UNActivityComponent/UNActivityComponent.utils.js +4 -2
- package/lib/commonjs/components/UNActivityComponent/UNActivityComponent.utils.js.map +1 -1
- package/lib/commonjs/components/UNActivityComponent/index.js +8 -2
- package/lib/commonjs/components/UNActivityComponent/index.js.map +1 -1
- package/lib/commonjs/components/UNBookPaymentComponent/UNBookPaymentComponent.js +13 -4
- package/lib/commonjs/components/UNBookPaymentComponent/UNBookPaymentComponent.js.map +1 -1
- package/lib/commonjs/components/UNBookPaymentComponent/UNBookPaymentComponent.utils.js +11 -4
- package/lib/commonjs/components/UNBookPaymentComponent/UNBookPaymentComponent.utils.js.map +1 -1
- package/lib/commonjs/components/UNBookPaymentComponent/index.js +2 -2
- package/lib/commonjs/components/UNBookPaymentComponent/index.js.map +1 -1
- package/lib/commonjs/components/UNBottomSheetComponent/UNBottomSheetComponent.constants.js +13 -3
- package/lib/commonjs/components/UNBottomSheetComponent/UNBottomSheetComponent.constants.js.map +1 -1
- package/lib/commonjs/components/UNBottomSheetComponent/UNBottomSheetComponent.js +141 -260
- package/lib/commonjs/components/UNBottomSheetComponent/UNBottomSheetComponent.js.map +1 -1
- package/lib/commonjs/components/UNBottomSheetComponent/UNBottomSheetComponent.styles.js.map +1 -1
- package/lib/commonjs/components/UNBottomSheetComponent/UNBottomSheetComponent.utils.js +140 -22
- package/lib/commonjs/components/UNBottomSheetComponent/UNBottomSheetComponent.utils.js.map +1 -1
- package/lib/commonjs/components/UNBottomSheetComponent/components/UNBottomSheetNativeComponent/UNBottomSheetNativeComponent.js +93 -0
- package/lib/commonjs/components/UNBottomSheetComponent/components/UNBottomSheetNativeComponent/UNBottomSheetNativeComponent.js.map +1 -0
- package/lib/commonjs/components/UNBottomSheetComponent/components/UNBottomSheetNativeComponent/index.js +17 -0
- package/lib/commonjs/components/UNBottomSheetComponent/components/UNBottomSheetNativeComponent/index.js.map +1 -0
- package/lib/commonjs/components/UNBottomSheetComponent/components/UNBottomSheetSlotComponent/UNBottomSheetSlotComponent.js +185 -0
- package/lib/commonjs/components/UNBottomSheetComponent/components/UNBottomSheetSlotComponent/UNBottomSheetSlotComponent.js.map +1 -0
- package/lib/commonjs/components/UNBottomSheetComponent/components/UNBottomSheetSlotComponent/index.js +17 -0
- package/lib/commonjs/components/UNBottomSheetComponent/components/UNBottomSheetSlotComponent/index.js.map +1 -0
- package/lib/commonjs/components/UNBottomSheetComponent/components/index.js +15 -4
- package/lib/commonjs/components/UNBottomSheetComponent/components/index.js.map +1 -1
- package/lib/commonjs/components/UNBottomSheetComponent/index.js.map +1 -1
- package/lib/commonjs/components/UNCardComponent/UNCardComponent.js +4 -5
- package/lib/commonjs/components/UNCardComponent/UNCardComponent.js.map +1 -1
- package/lib/commonjs/components/UNCardComponent/UNCardComponent.utils.js +7 -5
- package/lib/commonjs/components/UNCardComponent/UNCardComponent.utils.js.map +1 -1
- package/lib/commonjs/components/UNCardComponent/index.js +2 -2
- package/lib/commonjs/components/UNCardComponent/index.js.map +1 -1
- package/lib/commonjs/components/UNCheckDepositComponent/UNCheckDepositComponent.js +14 -4
- package/lib/commonjs/components/UNCheckDepositComponent/UNCheckDepositComponent.js.map +1 -1
- package/lib/commonjs/components/UNCheckDepositComponent/UNCheckDepositComponent.utils.js +7 -1
- package/lib/commonjs/components/UNCheckDepositComponent/UNCheckDepositComponent.utils.js.map +1 -1
- package/lib/commonjs/components/UNCheckDepositComponent/index.js +2 -2
- package/lib/commonjs/components/UNCheckDepositComponent/index.js.map +1 -1
- package/lib/commonjs/components/UNMultipleCardsComponent/UNMultipleCardsComponent.js +3 -4
- package/lib/commonjs/components/UNMultipleCardsComponent/UNMultipleCardsComponent.js.map +1 -1
- package/lib/commonjs/components/UNMultipleCardsComponent/UNMultipleCardsComponent.utils.js +1 -0
- package/lib/commonjs/components/UNMultipleCardsComponent/UNMultipleCardsComponent.utils.js.map +1 -1
- package/lib/commonjs/components/UNMultipleCardsComponent/index.js +2 -2
- package/lib/commonjs/components/UNMultipleCardsComponent/index.js.map +1 -1
- package/lib/commonjs/components/UNNextRepaymentComponent/UNNextRepaymentComponent.js +61 -0
- package/lib/commonjs/components/UNNextRepaymentComponent/UNNextRepaymentComponent.js.map +1 -0
- package/lib/commonjs/components/UNNextRepaymentComponent/UNNextRepaymentComponent.utils.js +15 -0
- package/lib/commonjs/components/UNNextRepaymentComponent/UNNextRepaymentComponent.utils.js.map +1 -0
- package/lib/commonjs/components/UNNextRepaymentComponent/index.js +21 -0
- package/lib/commonjs/components/UNNextRepaymentComponent/index.js.map +1 -0
- package/lib/commonjs/components/UNPayeeManagementComponent/UNPayeeManagementComponent.js +132 -0
- package/lib/commonjs/components/UNPayeeManagementComponent/UNPayeeManagementComponent.js.map +1 -0
- package/lib/commonjs/components/UNPayeeManagementComponent/UNPayeeManagementComponent.utils.js +96 -0
- package/lib/commonjs/components/UNPayeeManagementComponent/UNPayeeManagementComponent.utils.js.map +1 -0
- package/lib/commonjs/components/UNPayeeManagementComponent/index.js +21 -0
- package/lib/commonjs/components/UNPayeeManagementComponent/index.js.map +1 -0
- package/lib/commonjs/components/UNProgramDetailsComponent/UNProgramDetailsComponent.js +61 -0
- package/lib/commonjs/components/UNProgramDetailsComponent/UNProgramDetailsComponent.js.map +1 -0
- package/lib/commonjs/components/UNProgramDetailsComponent/UNProgramDetailsComponent.utils.js +15 -0
- package/lib/commonjs/components/UNProgramDetailsComponent/UNProgramDetailsComponent.utils.js.map +1 -0
- package/lib/commonjs/components/UNProgramDetailsComponent/index.js +21 -0
- package/lib/commonjs/components/UNProgramDetailsComponent/index.js.map +1 -0
- package/lib/commonjs/components/UNWhiteLabelAppComponent/UNWhiteLabelAppComponent.js +104 -0
- package/lib/commonjs/components/UNWhiteLabelAppComponent/UNWhiteLabelAppComponent.js.map +1 -0
- package/lib/commonjs/components/UNWhiteLabelAppComponent/UNWhiteLabelAppComponent.utils.js +37 -0
- package/lib/commonjs/components/UNWhiteLabelAppComponent/UNWhiteLabelAppComponent.utils.js.map +1 -0
- package/lib/commonjs/components/UNWhiteLabelAppComponent/index.js +21 -0
- package/lib/commonjs/components/UNWhiteLabelAppComponent/index.js.map +1 -0
- package/lib/commonjs/components/index.js +44 -0
- package/lib/commonjs/components/index.js.map +1 -1
- package/lib/commonjs/custom.d.js.map +1 -1
- package/lib/commonjs/flows/UNFlows.js +1 -1
- package/lib/commonjs/flows/UNFlows.js.map +1 -1
- package/lib/commonjs/flows/card/UNCardFlows.js +26 -26
- package/lib/commonjs/flows/card/UNCardFlows.js.map +1 -1
- package/lib/commonjs/helpers/BottomSheet/BottomSheet.js +26 -29
- package/lib/commonjs/helpers/BottomSheet/BottomSheet.js.map +1 -1
- package/lib/commonjs/helpers/BottomSheet/BottomSheet.styles.js +0 -2
- package/lib/commonjs/helpers/BottomSheet/BottomSheet.styles.js.map +1 -1
- package/lib/commonjs/helpers/pushProvisioningService/helpers.js.map +1 -1
- package/lib/commonjs/helpers/pushProvisioningService/hooks/useCardWallet.js +1 -2
- package/lib/commonjs/helpers/pushProvisioningService/hooks/useCardWallet.js.map +1 -1
- package/lib/commonjs/helpers/pushProvisioningService/hooks/useLaunchInitialize.js.map +1 -1
- package/lib/commonjs/helpers/pushProvisioningService/startProvisioning.js +3 -3
- package/lib/commonjs/helpers/pushProvisioningService/startProvisioning.js.map +1 -1
- package/lib/commonjs/helpers/pushProvisioningService/types.js +3 -4
- package/lib/commonjs/helpers/pushProvisioningService/types.js.map +1 -1
- package/lib/commonjs/helpers/store/helpers.js.map +1 -1
- package/lib/commonjs/hooks/useAppStateListener.js.map +1 -1
- package/lib/commonjs/hooks/useListenerToEvent.js +1 -1
- package/lib/commonjs/hooks/useListenerToEvent.js.map +1 -1
- package/lib/commonjs/index.js +1 -8
- package/lib/commonjs/index.js.map +1 -1
- package/lib/commonjs/messages/nativeMessages/bottomSheetMessage.js +7 -9
- package/lib/commonjs/messages/nativeMessages/bottomSheetMessage.js.map +1 -1
- package/lib/commonjs/messages/nativeMessages/cardMessage.js +3 -4
- package/lib/commonjs/messages/nativeMessages/cardMessage.js.map +1 -1
- package/lib/commonjs/messages/nativeMessages/index.js.map +1 -1
- package/lib/commonjs/messages/nativeMessages/sdkMessage.js +3 -4
- package/lib/commonjs/messages/nativeMessages/sdkMessage.js.map +1 -1
- package/lib/commonjs/messages/webMessages/accountMessage.js +3 -4
- package/lib/commonjs/messages/webMessages/accountMessage.js.map +1 -1
- package/lib/commonjs/messages/webMessages/achCreditMessage.js.map +1 -1
- package/lib/commonjs/messages/webMessages/activityMessage.js +3 -4
- package/lib/commonjs/messages/webMessages/activityMessage.js.map +1 -1
- package/lib/commonjs/messages/webMessages/bookPaymentMessage.js.map +1 -1
- package/lib/commonjs/messages/webMessages/cardMessage.js +3 -4
- package/lib/commonjs/messages/webMessages/cardMessage.js.map +1 -1
- package/lib/commonjs/messages/webMessages/checkMessage.js +3 -4
- package/lib/commonjs/messages/webMessages/checkMessage.js.map +1 -1
- package/lib/commonjs/messages/webMessages/index.js.map +1 -1
- package/lib/commonjs/messages/webMessages/multipleCardsMessage.js +3 -4
- package/lib/commonjs/messages/webMessages/multipleCardsMessage.js.map +1 -1
- package/lib/commonjs/messages/webMessages/onLoadMessage.js +4 -4
- package/lib/commonjs/messages/webMessages/onLoadMessage.js.map +1 -1
- package/lib/commonjs/messages/webMessages/pageMessage.js +3 -4
- package/lib/commonjs/messages/webMessages/pageMessage.js.map +1 -1
- package/lib/commonjs/messages/webMessages/payeeManagementMessage.js +15 -0
- package/lib/commonjs/messages/webMessages/payeeManagementMessage.js.map +1 -0
- package/lib/commonjs/messages/webMessages/paymentsMessage.js +5 -4
- package/lib/commonjs/messages/webMessages/paymentsMessage.js.map +1 -1
- package/lib/commonjs/messages/webMessages/plaidMessages.js +14 -0
- package/lib/commonjs/messages/webMessages/plaidMessages.js.map +1 -0
- package/lib/commonjs/messages/webMessages/unitMessages.js +12 -8
- package/lib/commonjs/messages/webMessages/unitMessages.js.map +1 -1
- package/lib/commonjs/nativeComponents/UNAddToWallet/UNAddToWalletComponent/UNAddToWalletBottomSheetItem.styles.js.map +1 -0
- package/lib/commonjs/nativeComponents/UNAddToWallet/UNAddToWalletComponent/UNAddToWalletComponent.js +79 -0
- package/lib/commonjs/nativeComponents/UNAddToWallet/UNAddToWalletComponent/UNAddToWalletComponent.js.map +1 -0
- package/lib/commonjs/nativeComponents/UNAddToWallet/UNAddToWalletComponent/UNAddToWalletComponent.utils.js +20 -0
- package/lib/commonjs/nativeComponents/UNAddToWallet/UNAddToWalletComponent/UNAddToWalletComponent.utils.js.map +1 -0
- package/lib/commonjs/nativeComponents/UNAddToWallet/UNAddToWalletComponent/index.js +14 -0
- package/lib/commonjs/nativeComponents/UNAddToWallet/UNAddToWalletComponent/index.js.map +1 -0
- package/lib/commonjs/{nativeComponent → nativeComponents/UNAddToWallet}/UnitAddToWalletButton.js +1 -2
- package/lib/commonjs/nativeComponents/UNAddToWallet/UnitAddToWalletButton.js.map +1 -0
- package/lib/commonjs/nativeModulesHelpers/UNStoreManagerHelper/UNStoreManagerHelper.js +23 -0
- package/lib/commonjs/nativeModulesHelpers/UNStoreManagerHelper/UNStoreManagerHelper.js.map +1 -0
- package/lib/commonjs/networking/common/UNNetworkConstants.js +5 -7
- package/lib/commonjs/networking/common/UNNetworkConstants.js.map +1 -1
- package/lib/commonjs/networking/requests/UNWalletPayloadRequest.js +1 -0
- package/lib/commonjs/networking/requests/UNWalletPayloadRequest.js.map +1 -1
- package/lib/commonjs/scripts/html/bodyHtml.js +2 -3
- package/lib/commonjs/scripts/html/bodyHtml.js.map +1 -1
- package/lib/commonjs/scripts/html/bodyScript.js +155 -35
- package/lib/commonjs/scripts/html/bodyScript.js.map +1 -1
- package/lib/commonjs/scripts/html/fontFaces.js +2 -3
- package/lib/commonjs/scripts/html/fontFaces.js.map +1 -1
- package/lib/commonjs/slices/BottomSheetSlice.js +74 -0
- package/lib/commonjs/slices/BottomSheetSlice.js.map +1 -0
- package/lib/commonjs/slices/ConfigurationSlice.js +1 -2
- package/lib/commonjs/slices/ConfigurationSlice.js.map +1 -1
- package/lib/commonjs/slices/SharedEventsSlice.js +3 -2
- package/lib/commonjs/slices/SharedEventsSlice.js.map +1 -1
- package/lib/commonjs/slices/pushProvisioningSlice.js +1 -2
- package/lib/commonjs/slices/pushProvisioningSlice.js.map +1 -1
- package/lib/commonjs/store/index.js.map +1 -1
- package/lib/commonjs/store/store.js +4 -3
- package/lib/commonjs/store/store.js.map +1 -1
- package/lib/commonjs/styles/fonts.js.map +1 -1
- package/lib/commonjs/styles/variables.js +5 -3
- package/lib/commonjs/styles/variables.js.map +1 -1
- package/lib/commonjs/types/internal/bottomSheet.types.js +27 -7
- package/lib/commonjs/types/internal/bottomSheet.types.js.map +1 -1
- package/lib/commonjs/types/internal/errorHelpers.js.map +1 -1
- package/lib/commonjs/types/internal/unitStore.types.js +13 -0
- package/lib/commonjs/types/internal/unitStore.types.js.map +1 -0
- package/lib/commonjs/types/internal/webComponent.types.js +10 -8
- package/lib/commonjs/types/internal/webComponent.types.js.map +1 -1
- package/lib/commonjs/types/shared/account.types.js +19 -16
- package/lib/commonjs/types/shared/account.types.js.map +1 -1
- package/lib/commonjs/types/shared/achCredit.types.js.map +1 -1
- package/lib/commonjs/types/shared/activity.types.js +3 -4
- package/lib/commonjs/types/shared/activity.types.js.map +1 -1
- package/lib/commonjs/types/shared/authorization.types.js.map +1 -1
- package/lib/commonjs/types/shared/bookPayment.types.js.map +1 -1
- package/lib/commonjs/types/shared/card.types.js +13 -5
- package/lib/commonjs/types/shared/card.types.js.map +1 -1
- package/lib/commonjs/types/shared/checkDeposit.types.js +3 -4
- package/lib/commonjs/types/shared/checkDeposit.types.js.map +1 -1
- package/lib/commonjs/types/shared/env.types.js +12 -0
- package/lib/commonjs/types/shared/env.types.js.map +1 -0
- package/lib/commonjs/types/shared/error.types.js +3 -4
- package/lib/commonjs/types/shared/error.types.js.map +1 -1
- package/lib/commonjs/types/shared/fonts.types.js +3 -4
- package/lib/commonjs/types/shared/fonts.types.js.map +1 -1
- package/lib/commonjs/types/shared/index.js +22 -0
- package/lib/commonjs/types/shared/index.js.map +1 -1
- package/lib/commonjs/types/shared/multipleCards.types.js +3 -4
- package/lib/commonjs/types/shared/multipleCards.types.js.map +1 -1
- package/lib/commonjs/types/shared/onLoadResponse.types.js.map +1 -1
- package/lib/commonjs/types/shared/payeeManagement.types.js +17 -0
- package/lib/commonjs/types/shared/payeeManagement.types.js.map +1 -0
- package/lib/commonjs/types/shared/payments.types.js +26 -5
- package/lib/commonjs/types/shared/payments.types.js.map +1 -1
- package/lib/commonjs/types/shared/repayment.types.js +2 -0
- package/lib/commonjs/types/shared/repayment.types.js.map +1 -0
- package/lib/commonjs/types/shared/transactions.types.js +6 -8
- package/lib/commonjs/types/shared/transactions.types.js.map +1 -1
- package/lib/commonjs/types/shared/types.js.map +1 -1
- package/lib/commonjs/types/shared/versioning.types.js +4 -4
- package/lib/commonjs/types/shared/versioning.types.js.map +1 -1
- package/lib/commonjs/types/shared/wallet.types.js +9 -12
- package/lib/commonjs/types/shared/wallet.types.js.map +1 -1
- package/lib/commonjs/unitSdkManager/UnitSdk.api.js +1 -3
- package/lib/commonjs/unitSdkManager/UnitSdk.api.js.map +1 -1
- package/lib/commonjs/unitSdkManager/UnitSdk.constants.js +2 -3
- package/lib/commonjs/unitSdkManager/UnitSdk.constants.js.map +1 -1
- package/lib/commonjs/unitSdkManager/UnitSdkManager.js +61 -66
- package/lib/commonjs/unitSdkManager/UnitSdkManager.js.map +1 -1
- package/lib/commonjs/unitSdkManager/UnitSdkManager.utils.internal.js +3 -3
- package/lib/commonjs/unitSdkManager/UnitSdkManager.utils.internal.js.map +1 -1
- package/lib/commonjs/unitSdkManager/unitHelpersManager/UnitHelpersManager.js +16 -0
- package/lib/commonjs/unitSdkManager/unitHelpersManager/UnitHelpersManager.js.map +1 -0
- package/lib/commonjs/unitSdkManager/unitUiManager/unitUiManager.js +4 -7
- package/lib/commonjs/unitSdkManager/unitUiManager/unitUiManager.js.map +1 -1
- package/lib/commonjs/utils/AppInfo.js.map +1 -1
- package/lib/commonjs/utils/SDKInfo.js.map +1 -1
- package/lib/commonjs/utils/webVersioningStrategy.utils.js +7 -0
- package/lib/commonjs/utils/webVersioningStrategy.utils.js.map +1 -1
- package/lib/commonjs/utils/windowUnitStore.js +11 -0
- package/lib/commonjs/utils/windowUnitStore.js.map +1 -0
- package/lib/commonjs/webComponent/WebComponent.js +60 -17
- package/lib/commonjs/webComponent/WebComponent.js.map +1 -1
- package/lib/commonjs/webComponent/WebComponent.utils.js +2 -2
- package/lib/commonjs/webComponent/WebComponent.utils.js.map +1 -1
- package/lib/commonjs/webComponent/html.js +13 -4
- package/lib/commonjs/webComponent/html.js.map +1 -1
- package/lib/module/assets/images/index.js.map +1 -1
- package/lib/module/components/UNACHCreditComponent/UNACHCreditComponent.js +12 -1
- package/lib/module/components/UNACHCreditComponent/UNACHCreditComponent.js.map +1 -1
- package/lib/module/components/UNACHCreditComponent/UNACHCreditComponent.utils.js +13 -2
- package/lib/module/components/UNACHCreditComponent/UNACHCreditComponent.utils.js.map +1 -1
- package/lib/module/components/UNACHCreditComponent/index.js.map +1 -1
- package/lib/module/components/UNACHDebitComponent/UNACHDebitComponent.js +12 -1
- package/lib/module/components/UNACHDebitComponent/UNACHDebitComponent.js.map +1 -1
- package/lib/module/components/UNACHDebitComponent/UNACHDebitComponent.utils.js +12 -2
- package/lib/module/components/UNACHDebitComponent/UNACHDebitComponent.utils.js.map +1 -1
- package/lib/module/components/UNACHDebitComponent/index.js.map +1 -1
- package/lib/module/components/UNAccountComponent/UNAccountComponent.js +30 -12
- package/lib/module/components/UNAccountComponent/UNAccountComponent.js.map +1 -1
- package/lib/module/components/UNAccountComponent/UNAccountComponent.utils.js +10 -8
- package/lib/module/components/UNAccountComponent/UNAccountComponent.utils.js.map +1 -1
- package/lib/module/components/UNAccountComponent/index.js.map +1 -1
- package/lib/module/components/UNActivityComponent/UNActivityComponent.js +17 -7
- package/lib/module/components/UNActivityComponent/UNActivityComponent.js.map +1 -1
- package/lib/module/components/UNActivityComponent/UNActivityComponent.utils.js +4 -2
- package/lib/module/components/UNActivityComponent/UNActivityComponent.utils.js.map +1 -1
- package/lib/module/components/UNActivityComponent/index.js +1 -1
- package/lib/module/components/UNActivityComponent/index.js.map +1 -1
- package/lib/module/components/UNBookPaymentComponent/UNBookPaymentComponent.js +10 -0
- package/lib/module/components/UNBookPaymentComponent/UNBookPaymentComponent.js.map +1 -1
- package/lib/module/components/UNBookPaymentComponent/UNBookPaymentComponent.utils.js +11 -4
- package/lib/module/components/UNBookPaymentComponent/UNBookPaymentComponent.utils.js.map +1 -1
- package/lib/module/components/UNBookPaymentComponent/index.js.map +1 -1
- package/lib/module/components/UNBottomSheetComponent/UNBottomSheetComponent.constants.js +12 -1
- package/lib/module/components/UNBottomSheetComponent/UNBottomSheetComponent.constants.js.map +1 -1
- package/lib/module/components/UNBottomSheetComponent/UNBottomSheetComponent.js +136 -254
- package/lib/module/components/UNBottomSheetComponent/UNBottomSheetComponent.js.map +1 -1
- package/lib/module/components/UNBottomSheetComponent/UNBottomSheetComponent.styles.js.map +1 -1
- package/lib/module/components/UNBottomSheetComponent/UNBottomSheetComponent.utils.js +137 -17
- package/lib/module/components/UNBottomSheetComponent/UNBottomSheetComponent.utils.js.map +1 -1
- package/lib/module/components/UNBottomSheetComponent/components/UNBottomSheetNativeComponent/UNBottomSheetNativeComponent.js +84 -0
- package/lib/module/components/UNBottomSheetComponent/components/UNBottomSheetNativeComponent/UNBottomSheetNativeComponent.js.map +1 -0
- package/lib/module/components/UNBottomSheetComponent/components/UNBottomSheetNativeComponent/index.js +2 -0
- package/lib/module/components/UNBottomSheetComponent/components/UNBottomSheetNativeComponent/index.js.map +1 -0
- package/lib/module/components/UNBottomSheetComponent/components/UNBottomSheetSlotComponent/UNBottomSheetSlotComponent.js +177 -0
- package/lib/module/components/UNBottomSheetComponent/components/UNBottomSheetSlotComponent/UNBottomSheetSlotComponent.js.map +1 -0
- package/lib/module/components/UNBottomSheetComponent/components/UNBottomSheetSlotComponent/index.js +2 -0
- package/lib/module/components/UNBottomSheetComponent/components/UNBottomSheetSlotComponent/index.js.map +1 -0
- package/lib/module/components/UNBottomSheetComponent/components/index.js +2 -1
- package/lib/module/components/UNBottomSheetComponent/components/index.js.map +1 -1
- package/lib/module/components/UNBottomSheetComponent/index.js.map +1 -1
- package/lib/module/components/UNCardComponent/UNCardComponent.js +1 -1
- package/lib/module/components/UNCardComponent/UNCardComponent.js.map +1 -1
- package/lib/module/components/UNCardComponent/UNCardComponent.utils.js +7 -5
- package/lib/module/components/UNCardComponent/UNCardComponent.utils.js.map +1 -1
- package/lib/module/components/UNCardComponent/index.js.map +1 -1
- package/lib/module/components/UNCheckDepositComponent/UNCheckDepositComponent.js +11 -0
- package/lib/module/components/UNCheckDepositComponent/UNCheckDepositComponent.js.map +1 -1
- package/lib/module/components/UNCheckDepositComponent/UNCheckDepositComponent.utils.js +7 -1
- package/lib/module/components/UNCheckDepositComponent/UNCheckDepositComponent.utils.js.map +1 -1
- package/lib/module/components/UNCheckDepositComponent/index.js.map +1 -1
- package/lib/module/components/UNMultipleCardsComponent/UNMultipleCardsComponent.js.map +1 -1
- package/lib/module/components/UNMultipleCardsComponent/UNMultipleCardsComponent.utils.js +1 -0
- package/lib/module/components/UNMultipleCardsComponent/UNMultipleCardsComponent.utils.js.map +1 -1
- package/lib/module/components/UNMultipleCardsComponent/index.js.map +1 -1
- package/lib/module/components/UNNextRepaymentComponent/UNNextRepaymentComponent.js +53 -0
- package/lib/module/components/UNNextRepaymentComponent/UNNextRepaymentComponent.js.map +1 -0
- package/lib/module/components/UNNextRepaymentComponent/UNNextRepaymentComponent.utils.js +8 -0
- package/lib/module/components/UNNextRepaymentComponent/UNNextRepaymentComponent.utils.js.map +1 -0
- package/lib/module/components/UNNextRepaymentComponent/index.js +2 -0
- package/lib/module/components/UNNextRepaymentComponent/index.js.map +1 -0
- package/lib/module/components/UNPayeeManagementComponent/UNPayeeManagementComponent.js +124 -0
- package/lib/module/components/UNPayeeManagementComponent/UNPayeeManagementComponent.js.map +1 -0
- package/lib/module/components/UNPayeeManagementComponent/UNPayeeManagementComponent.utils.js +82 -0
- package/lib/module/components/UNPayeeManagementComponent/UNPayeeManagementComponent.utils.js.map +1 -0
- package/lib/module/components/UNPayeeManagementComponent/index.js +2 -0
- package/lib/module/components/UNPayeeManagementComponent/index.js.map +1 -0
- package/lib/module/components/UNProgramDetailsComponent/UNProgramDetailsComponent.js +53 -0
- package/lib/module/components/UNProgramDetailsComponent/UNProgramDetailsComponent.js.map +1 -0
- package/lib/module/components/UNProgramDetailsComponent/UNProgramDetailsComponent.utils.js +8 -0
- package/lib/module/components/UNProgramDetailsComponent/UNProgramDetailsComponent.utils.js.map +1 -0
- package/lib/module/components/UNProgramDetailsComponent/index.js +2 -0
- package/lib/module/components/UNProgramDetailsComponent/index.js.map +1 -0
- package/lib/module/components/UNWhiteLabelAppComponent/UNWhiteLabelAppComponent.js +95 -0
- package/lib/module/components/UNWhiteLabelAppComponent/UNWhiteLabelAppComponent.js.map +1 -0
- package/lib/module/components/UNWhiteLabelAppComponent/UNWhiteLabelAppComponent.utils.js +28 -0
- package/lib/module/components/UNWhiteLabelAppComponent/UNWhiteLabelAppComponent.utils.js.map +1 -0
- package/lib/module/components/UNWhiteLabelAppComponent/index.js +2 -0
- package/lib/module/components/UNWhiteLabelAppComponent/index.js.map +1 -0
- package/lib/module/components/index.js +4 -0
- package/lib/module/components/index.js.map +1 -1
- package/lib/module/custom.d.js.map +1 -1
- package/lib/module/flows/UNFlows.js +1 -1
- package/lib/module/flows/UNFlows.js.map +1 -1
- package/lib/module/flows/card/UNCardFlows.js +27 -27
- package/lib/module/flows/card/UNCardFlows.js.map +1 -1
- package/lib/module/helpers/BottomSheet/BottomSheet.js +25 -27
- package/lib/module/helpers/BottomSheet/BottomSheet.js.map +1 -1
- package/lib/module/helpers/BottomSheet/BottomSheet.styles.js +1 -3
- package/lib/module/helpers/BottomSheet/BottomSheet.styles.js.map +1 -1
- package/lib/module/helpers/pushProvisioningService/helpers.js.map +1 -1
- package/lib/module/helpers/pushProvisioningService/hooks/useCardWallet.js +1 -2
- package/lib/module/helpers/pushProvisioningService/hooks/useCardWallet.js.map +1 -1
- package/lib/module/helpers/pushProvisioningService/hooks/useLaunchInitialize.js.map +1 -1
- package/lib/module/helpers/pushProvisioningService/startProvisioning.js +3 -3
- package/lib/module/helpers/pushProvisioningService/startProvisioning.js.map +1 -1
- package/lib/module/helpers/pushProvisioningService/types.js +3 -3
- package/lib/module/helpers/pushProvisioningService/types.js.map +1 -1
- package/lib/module/helpers/store/helpers.js.map +1 -1
- package/lib/module/hooks/useAppStateListener.js.map +1 -1
- package/lib/module/hooks/useListenerToEvent.js +1 -1
- package/lib/module/hooks/useListenerToEvent.js.map +1 -1
- package/lib/module/index.js +1 -1
- package/lib/module/index.js.map +1 -1
- package/lib/module/messages/nativeMessages/bottomSheetMessage.js +7 -7
- package/lib/module/messages/nativeMessages/bottomSheetMessage.js.map +1 -1
- package/lib/module/messages/nativeMessages/cardMessage.js +3 -3
- package/lib/module/messages/nativeMessages/cardMessage.js.map +1 -1
- package/lib/module/messages/nativeMessages/index.js.map +1 -1
- package/lib/module/messages/nativeMessages/sdkMessage.js +3 -3
- package/lib/module/messages/nativeMessages/sdkMessage.js.map +1 -1
- package/lib/module/messages/webMessages/accountMessage.js +3 -3
- package/lib/module/messages/webMessages/accountMessage.js.map +1 -1
- package/lib/module/messages/webMessages/achCreditMessage.js.map +1 -1
- package/lib/module/messages/webMessages/activityMessage.js +3 -3
- package/lib/module/messages/webMessages/activityMessage.js.map +1 -1
- package/lib/module/messages/webMessages/bookPaymentMessage.js.map +1 -1
- package/lib/module/messages/webMessages/cardMessage.js +3 -3
- package/lib/module/messages/webMessages/cardMessage.js.map +1 -1
- package/lib/module/messages/webMessages/checkMessage.js +3 -3
- package/lib/module/messages/webMessages/checkMessage.js.map +1 -1
- package/lib/module/messages/webMessages/index.js.map +1 -1
- package/lib/module/messages/webMessages/multipleCardsMessage.js +3 -3
- package/lib/module/messages/webMessages/multipleCardsMessage.js.map +1 -1
- package/lib/module/messages/webMessages/onLoadMessage.js +4 -3
- package/lib/module/messages/webMessages/onLoadMessage.js.map +1 -1
- package/lib/module/messages/webMessages/pageMessage.js +3 -3
- package/lib/module/messages/webMessages/pageMessage.js.map +1 -1
- package/lib/module/messages/webMessages/payeeManagementMessage.js +9 -0
- package/lib/module/messages/webMessages/payeeManagementMessage.js.map +1 -0
- package/lib/module/messages/webMessages/paymentsMessage.js +5 -3
- package/lib/module/messages/webMessages/paymentsMessage.js.map +1 -1
- package/lib/module/messages/webMessages/plaidMessages.js +8 -0
- package/lib/module/messages/webMessages/plaidMessages.js.map +1 -0
- package/lib/module/messages/webMessages/unitMessages.js +11 -6
- package/lib/module/messages/webMessages/unitMessages.js.map +1 -1
- package/lib/module/nativeComponents/UNAddToWallet/UNAddToWalletComponent/UNAddToWalletBottomSheetItem.styles.js.map +1 -0
- package/lib/module/nativeComponents/UNAddToWallet/UNAddToWalletComponent/UNAddToWalletComponent.js +70 -0
- package/lib/module/nativeComponents/UNAddToWallet/UNAddToWalletComponent/UNAddToWalletComponent.js.map +1 -0
- package/lib/module/nativeComponents/UNAddToWallet/UNAddToWalletComponent/UNAddToWalletComponent.utils.js +12 -0
- package/lib/module/nativeComponents/UNAddToWallet/UNAddToWalletComponent/UNAddToWalletComponent.utils.js.map +1 -0
- package/lib/module/nativeComponents/UNAddToWallet/UNAddToWalletComponent/index.js +2 -0
- package/lib/module/nativeComponents/UNAddToWallet/UNAddToWalletComponent/index.js.map +1 -0
- package/lib/module/nativeComponents/UNAddToWallet/UnitAddToWalletButton.js.map +1 -0
- package/lib/module/nativeModulesHelpers/UNStoreManagerHelper/UNStoreManagerHelper.js +17 -0
- package/lib/module/nativeModulesHelpers/UNStoreManagerHelper/UNStoreManagerHelper.js.map +1 -0
- package/lib/module/networking/common/UNNetworkConstants.js +1 -1
- package/lib/module/networking/common/UNNetworkConstants.js.map +1 -1
- package/lib/module/networking/requests/UNWalletPayloadRequest.js +1 -0
- package/lib/module/networking/requests/UNWalletPayloadRequest.js.map +1 -1
- package/lib/module/scripts/html/bodyHtml.js +1 -1
- package/lib/module/scripts/html/bodyHtml.js.map +1 -1
- package/lib/module/scripts/html/bodyScript.js +142 -10
- package/lib/module/scripts/html/bodyScript.js.map +1 -1
- package/lib/module/scripts/html/fontFaces.js +2 -3
- package/lib/module/scripts/html/fontFaces.js.map +1 -1
- package/lib/module/slices/BottomSheetSlice.js +59 -0
- package/lib/module/slices/BottomSheetSlice.js.map +1 -0
- package/lib/module/slices/ConfigurationSlice.js.map +1 -1
- package/lib/module/slices/SharedEventsSlice.js +3 -0
- package/lib/module/slices/SharedEventsSlice.js.map +1 -1
- package/lib/module/slices/pushProvisioningSlice.js.map +1 -1
- package/lib/module/store/index.js.map +1 -1
- package/lib/module/store/store.js +3 -1
- package/lib/module/store/store.js.map +1 -1
- package/lib/module/styles/fonts.js.map +1 -1
- package/lib/module/styles/variables.js +4 -1
- package/lib/module/styles/variables.js.map +1 -1
- package/lib/module/types/internal/bottomSheet.types.js +26 -5
- package/lib/module/types/internal/bottomSheet.types.js.map +1 -1
- package/lib/module/types/internal/errorHelpers.js.map +1 -1
- package/lib/module/types/internal/unitStore.types.js +8 -0
- package/lib/module/types/internal/unitStore.types.js.map +1 -0
- package/lib/module/types/internal/webComponent.types.js +10 -6
- package/lib/module/types/internal/webComponent.types.js.map +1 -1
- package/lib/module/types/shared/account.types.js +18 -12
- package/lib/module/types/shared/account.types.js.map +1 -1
- package/lib/module/types/shared/achCredit.types.js.map +1 -1
- package/lib/module/types/shared/activity.types.js +3 -3
- package/lib/module/types/shared/activity.types.js.map +1 -1
- package/lib/module/types/shared/authorization.types.js.map +1 -1
- package/lib/module/types/shared/bookPayment.types.js.map +1 -1
- package/lib/module/types/shared/card.types.js +12 -3
- package/lib/module/types/shared/card.types.js.map +1 -1
- package/lib/module/types/shared/checkDeposit.types.js +3 -3
- package/lib/module/types/shared/checkDeposit.types.js.map +1 -1
- package/lib/module/types/shared/env.types.js +6 -0
- package/lib/module/types/shared/env.types.js.map +1 -0
- package/lib/module/types/shared/error.types.js +3 -3
- package/lib/module/types/shared/error.types.js.map +1 -1
- package/lib/module/types/shared/fonts.types.js +3 -3
- package/lib/module/types/shared/fonts.types.js.map +1 -1
- package/lib/module/types/shared/index.js +2 -0
- package/lib/module/types/shared/index.js.map +1 -1
- package/lib/module/types/shared/multipleCards.types.js +3 -3
- package/lib/module/types/shared/multipleCards.types.js.map +1 -1
- package/lib/module/types/shared/onLoadResponse.types.js.map +1 -1
- package/lib/module/types/shared/payeeManagement.types.js +11 -0
- package/lib/module/types/shared/payeeManagement.types.js.map +1 -0
- package/lib/module/types/shared/payments.types.js +25 -3
- package/lib/module/types/shared/payments.types.js.map +1 -1
- package/lib/module/types/shared/repayment.types.js +2 -0
- package/lib/module/types/shared/repayment.types.js.map +1 -0
- package/lib/module/types/shared/transactions.types.js +6 -6
- package/lib/module/types/shared/transactions.types.js.map +1 -1
- package/lib/module/types/shared/types.js.map +1 -1
- package/lib/module/types/shared/versioning.types.js +4 -3
- package/lib/module/types/shared/versioning.types.js.map +1 -1
- package/lib/module/types/shared/wallet.types.js +9 -9
- package/lib/module/types/shared/wallet.types.js.map +1 -1
- package/lib/module/unitSdkManager/UnitSdk.api.js +2 -4
- package/lib/module/unitSdkManager/UnitSdk.api.js.map +1 -1
- package/lib/module/unitSdkManager/UnitSdk.constants.js +1 -1
- package/lib/module/unitSdkManager/UnitSdk.constants.js.map +1 -1
- package/lib/module/unitSdkManager/UnitSdkManager.js +59 -64
- package/lib/module/unitSdkManager/UnitSdkManager.js.map +1 -1
- package/lib/module/unitSdkManager/UnitSdkManager.utils.internal.js +1 -1
- package/lib/module/unitSdkManager/UnitSdkManager.utils.internal.js.map +1 -1
- package/lib/module/unitSdkManager/unitHelpersManager/UnitHelpersManager.js +9 -0
- package/lib/module/unitSdkManager/unitHelpersManager/UnitHelpersManager.js.map +1 -0
- package/lib/module/unitSdkManager/unitUiManager/unitUiManager.js +4 -7
- package/lib/module/unitSdkManager/unitUiManager/unitUiManager.js.map +1 -1
- package/lib/module/utils/AppInfo.js.map +1 -1
- package/lib/module/utils/SDKInfo.js.map +1 -1
- package/lib/module/utils/webVersioningStrategy.utils.js +7 -0
- package/lib/module/utils/webVersioningStrategy.utils.js.map +1 -1
- package/lib/module/utils/windowUnitStore.js +4 -0
- package/lib/module/utils/windowUnitStore.js.map +1 -0
- package/lib/module/webComponent/WebComponent.js +59 -16
- package/lib/module/webComponent/WebComponent.js.map +1 -1
- package/lib/module/webComponent/WebComponent.utils.js.map +1 -1
- package/lib/module/webComponent/html.js +12 -1
- package/lib/module/webComponent/html.js.map +1 -1
- package/lib/typescript/src/assets/images/index.d.ts +1 -0
- package/lib/typescript/src/assets/images/index.d.ts.map +1 -0
- package/lib/typescript/src/components/UNACHCreditComponent/UNACHCreditComponent.d.ts +10 -1
- package/lib/typescript/src/components/UNACHCreditComponent/UNACHCreditComponent.d.ts.map +1 -0
- package/lib/typescript/src/components/UNACHCreditComponent/UNACHCreditComponent.utils.d.ts +1 -0
- package/lib/typescript/src/components/UNACHCreditComponent/UNACHCreditComponent.utils.d.ts.map +1 -0
- package/lib/typescript/src/components/UNACHCreditComponent/index.d.ts +1 -0
- package/lib/typescript/src/components/UNACHCreditComponent/index.d.ts.map +1 -0
- package/lib/typescript/src/components/UNACHDebitComponent/UNACHDebitComponent.d.ts +10 -1
- package/lib/typescript/src/components/UNACHDebitComponent/UNACHDebitComponent.d.ts.map +1 -0
- package/lib/typescript/src/components/UNACHDebitComponent/UNACHDebitComponent.utils.d.ts +1 -0
- package/lib/typescript/src/components/UNACHDebitComponent/UNACHDebitComponent.utils.d.ts.map +1 -0
- package/lib/typescript/src/components/UNACHDebitComponent/index.d.ts +1 -0
- package/lib/typescript/src/components/UNACHDebitComponent/index.d.ts.map +1 -0
- package/lib/typescript/src/components/UNAccountComponent/UNAccountComponent.d.ts +6 -0
- package/lib/typescript/src/components/UNAccountComponent/UNAccountComponent.d.ts.map +1 -0
- package/lib/typescript/src/components/UNAccountComponent/UNAccountComponent.utils.d.ts +2 -1
- package/lib/typescript/src/components/UNAccountComponent/UNAccountComponent.utils.d.ts.map +1 -0
- package/lib/typescript/src/components/UNAccountComponent/index.d.ts +1 -0
- package/lib/typescript/src/components/UNAccountComponent/index.d.ts.map +1 -0
- package/lib/typescript/src/components/UNActivityComponent/UNActivityComponent.d.ts +8 -1
- package/lib/typescript/src/components/UNActivityComponent/UNActivityComponent.d.ts.map +1 -0
- package/lib/typescript/src/components/UNActivityComponent/UNActivityComponent.utils.d.ts +1 -0
- package/lib/typescript/src/components/UNActivityComponent/UNActivityComponent.utils.d.ts.map +1 -0
- package/lib/typescript/src/components/UNActivityComponent/index.d.ts +2 -1
- package/lib/typescript/src/components/UNActivityComponent/index.d.ts.map +1 -0
- package/lib/typescript/src/components/UNBookPaymentComponent/UNBookPaymentComponent.d.ts +10 -4
- package/lib/typescript/src/components/UNBookPaymentComponent/UNBookPaymentComponent.d.ts.map +1 -0
- package/lib/typescript/src/components/UNBookPaymentComponent/UNBookPaymentComponent.utils.d.ts +1 -0
- package/lib/typescript/src/components/UNBookPaymentComponent/UNBookPaymentComponent.utils.d.ts.map +1 -0
- package/lib/typescript/src/components/UNBookPaymentComponent/index.d.ts +1 -0
- package/lib/typescript/src/components/UNBookPaymentComponent/index.d.ts.map +1 -0
- package/lib/typescript/src/components/UNBottomSheetComponent/UNBottomSheetComponent.constants.d.ts +8 -1
- package/lib/typescript/src/components/UNBottomSheetComponent/UNBottomSheetComponent.constants.d.ts.map +1 -0
- package/lib/typescript/src/components/UNBottomSheetComponent/UNBottomSheetComponent.d.ts +2 -6
- package/lib/typescript/src/components/UNBottomSheetComponent/UNBottomSheetComponent.d.ts.map +1 -0
- package/lib/typescript/src/components/UNBottomSheetComponent/UNBottomSheetComponent.styles.d.ts +1 -0
- package/lib/typescript/src/components/UNBottomSheetComponent/UNBottomSheetComponent.styles.d.ts.map +1 -0
- package/lib/typescript/src/components/UNBottomSheetComponent/UNBottomSheetComponent.utils.d.ts +6 -4
- package/lib/typescript/src/components/UNBottomSheetComponent/UNBottomSheetComponent.utils.d.ts.map +1 -0
- package/lib/typescript/src/components/UNBottomSheetComponent/components/UNBottomSheetNativeComponent/UNBottomSheetNativeComponent.d.ts +8 -0
- package/lib/typescript/src/components/UNBottomSheetComponent/components/UNBottomSheetNativeComponent/UNBottomSheetNativeComponent.d.ts.map +1 -0
- package/lib/typescript/src/components/UNBottomSheetComponent/components/UNBottomSheetNativeComponent/index.d.ts +2 -0
- package/lib/typescript/src/components/UNBottomSheetComponent/components/UNBottomSheetNativeComponent/index.d.ts.map +1 -0
- package/lib/typescript/src/components/UNBottomSheetComponent/components/UNBottomSheetSlotComponent/UNBottomSheetSlotComponent.d.ts +11 -0
- package/lib/typescript/src/components/UNBottomSheetComponent/components/UNBottomSheetSlotComponent/UNBottomSheetSlotComponent.d.ts.map +1 -0
- package/lib/typescript/src/components/UNBottomSheetComponent/components/UNBottomSheetSlotComponent/index.d.ts +2 -0
- package/lib/typescript/src/components/UNBottomSheetComponent/components/UNBottomSheetSlotComponent/index.d.ts.map +1 -0
- package/lib/typescript/src/components/UNBottomSheetComponent/components/index.d.ts +3 -1
- package/lib/typescript/src/components/UNBottomSheetComponent/components/index.d.ts.map +1 -0
- package/lib/typescript/src/components/UNBottomSheetComponent/index.d.ts +1 -0
- package/lib/typescript/src/components/UNBottomSheetComponent/index.d.ts.map +1 -0
- package/lib/typescript/src/components/UNCardComponent/UNCardComponent.d.ts +4 -1
- package/lib/typescript/src/components/UNCardComponent/UNCardComponent.d.ts.map +1 -0
- package/lib/typescript/src/components/UNCardComponent/UNCardComponent.utils.d.ts +1 -0
- package/lib/typescript/src/components/UNCardComponent/UNCardComponent.utils.d.ts.map +1 -0
- package/lib/typescript/src/components/UNCardComponent/index.d.ts +1 -0
- package/lib/typescript/src/components/UNCardComponent/index.d.ts.map +1 -0
- package/lib/typescript/src/components/UNCheckDepositComponent/UNCheckDepositComponent.d.ts +7 -1
- package/lib/typescript/src/components/UNCheckDepositComponent/UNCheckDepositComponent.d.ts.map +1 -0
- package/lib/typescript/src/components/UNCheckDepositComponent/UNCheckDepositComponent.utils.d.ts +1 -0
- package/lib/typescript/src/components/UNCheckDepositComponent/UNCheckDepositComponent.utils.d.ts.map +1 -0
- package/lib/typescript/src/components/UNCheckDepositComponent/index.d.ts +1 -0
- package/lib/typescript/src/components/UNCheckDepositComponent/index.d.ts.map +1 -0
- package/lib/typescript/src/components/UNMultipleCardsComponent/UNMultipleCardsComponent.d.ts +3 -0
- package/lib/typescript/src/components/UNMultipleCardsComponent/UNMultipleCardsComponent.d.ts.map +1 -0
- package/lib/typescript/src/components/UNMultipleCardsComponent/UNMultipleCardsComponent.utils.d.ts +1 -0
- package/lib/typescript/src/components/UNMultipleCardsComponent/UNMultipleCardsComponent.utils.d.ts.map +1 -0
- package/lib/typescript/src/components/UNMultipleCardsComponent/index.d.ts +1 -0
- package/lib/typescript/src/components/UNMultipleCardsComponent/index.d.ts.map +1 -0
- package/lib/typescript/src/components/UNNextRepaymentComponent/UNNextRepaymentComponent.d.ts +14 -0
- package/lib/typescript/src/components/UNNextRepaymentComponent/UNNextRepaymentComponent.d.ts.map +1 -0
- package/lib/typescript/src/components/UNNextRepaymentComponent/UNNextRepaymentComponent.utils.d.ts +3 -0
- package/lib/typescript/src/components/UNNextRepaymentComponent/UNNextRepaymentComponent.utils.d.ts.map +1 -0
- package/lib/typescript/src/components/UNNextRepaymentComponent/index.d.ts +2 -0
- package/lib/typescript/src/components/UNNextRepaymentComponent/index.d.ts.map +1 -0
- package/lib/typescript/src/components/UNPayeeManagementComponent/UNPayeeManagementComponent.d.ts +27 -0
- package/lib/typescript/src/components/UNPayeeManagementComponent/UNPayeeManagementComponent.d.ts.map +1 -0
- package/lib/typescript/src/components/UNPayeeManagementComponent/UNPayeeManagementComponent.utils.d.ts +15 -0
- package/lib/typescript/src/components/UNPayeeManagementComponent/UNPayeeManagementComponent.utils.d.ts.map +1 -0
- package/lib/typescript/src/components/UNPayeeManagementComponent/index.d.ts +2 -0
- package/lib/typescript/src/components/UNPayeeManagementComponent/index.d.ts.map +1 -0
- package/lib/typescript/src/components/UNProgramDetailsComponent/UNProgramDetailsComponent.d.ts +13 -0
- package/lib/typescript/src/components/UNProgramDetailsComponent/UNProgramDetailsComponent.d.ts.map +1 -0
- package/lib/typescript/src/components/UNProgramDetailsComponent/UNProgramDetailsComponent.utils.d.ts +3 -0
- package/lib/typescript/src/components/UNProgramDetailsComponent/UNProgramDetailsComponent.utils.d.ts.map +1 -0
- package/lib/typescript/src/components/UNProgramDetailsComponent/index.d.ts +2 -0
- package/lib/typescript/src/components/UNProgramDetailsComponent/index.d.ts.map +1 -0
- package/lib/typescript/src/components/UNWhiteLabelAppComponent/UNWhiteLabelAppComponent.d.ts +10 -0
- package/lib/typescript/src/components/UNWhiteLabelAppComponent/UNWhiteLabelAppComponent.d.ts.map +1 -0
- package/lib/typescript/src/components/UNWhiteLabelAppComponent/UNWhiteLabelAppComponent.utils.d.ts +7 -0
- package/lib/typescript/src/components/UNWhiteLabelAppComponent/UNWhiteLabelAppComponent.utils.d.ts.map +1 -0
- package/lib/typescript/src/components/UNWhiteLabelAppComponent/index.d.ts +2 -0
- package/lib/typescript/src/components/UNWhiteLabelAppComponent/index.d.ts.map +1 -0
- package/lib/typescript/src/components/index.d.ts +5 -0
- package/lib/typescript/src/components/index.d.ts.map +1 -0
- package/lib/typescript/src/flows/UNFlows.d.ts +1 -0
- package/lib/typescript/src/flows/UNFlows.d.ts.map +1 -0
- package/lib/typescript/src/flows/card/UNCardFlows.d.ts +1 -0
- package/lib/typescript/src/flows/card/UNCardFlows.d.ts.map +1 -0
- package/lib/typescript/src/helpers/BottomSheet/BottomSheet.d.ts +5 -3
- package/lib/typescript/src/helpers/BottomSheet/BottomSheet.d.ts.map +1 -0
- package/lib/typescript/src/helpers/BottomSheet/BottomSheet.styles.d.ts +1 -1
- package/lib/typescript/src/helpers/BottomSheet/BottomSheet.styles.d.ts.map +1 -0
- package/lib/typescript/src/helpers/pushProvisioningService/helpers.d.ts +1 -0
- package/lib/typescript/src/helpers/pushProvisioningService/helpers.d.ts.map +1 -0
- package/lib/typescript/src/helpers/pushProvisioningService/hooks/useCardWallet.d.ts +2 -1
- package/lib/typescript/src/helpers/pushProvisioningService/hooks/useCardWallet.d.ts.map +1 -0
- package/lib/typescript/src/helpers/pushProvisioningService/hooks/useLaunchInitialize.d.ts +1 -0
- package/lib/typescript/src/helpers/pushProvisioningService/hooks/useLaunchInitialize.d.ts.map +1 -0
- package/lib/typescript/src/helpers/pushProvisioningService/startProvisioning.d.ts +1 -0
- package/lib/typescript/src/helpers/pushProvisioningService/startProvisioning.d.ts.map +1 -0
- package/lib/typescript/src/helpers/pushProvisioningService/types.d.ts +1 -0
- package/lib/typescript/src/helpers/pushProvisioningService/types.d.ts.map +1 -0
- package/lib/typescript/src/helpers/store/helpers.d.ts +1 -0
- package/lib/typescript/src/helpers/store/helpers.d.ts.map +1 -0
- package/lib/typescript/src/hooks/useAppStateListener.d.ts +1 -0
- package/lib/typescript/src/hooks/useAppStateListener.d.ts.map +1 -0
- package/lib/typescript/src/hooks/useListenerToEvent.d.ts +1 -0
- package/lib/typescript/src/hooks/useListenerToEvent.d.ts.map +1 -0
- package/lib/typescript/src/index.d.ts +2 -1
- package/lib/typescript/src/index.d.ts.map +1 -0
- package/lib/typescript/src/messages/nativeMessages/bottomSheetMessage.d.ts +5 -4
- package/lib/typescript/src/messages/nativeMessages/bottomSheetMessage.d.ts.map +1 -0
- package/lib/typescript/src/messages/nativeMessages/cardMessage.d.ts +1 -0
- package/lib/typescript/src/messages/nativeMessages/cardMessage.d.ts.map +1 -0
- package/lib/typescript/src/messages/nativeMessages/index.d.ts +1 -0
- package/lib/typescript/src/messages/nativeMessages/index.d.ts.map +1 -0
- package/lib/typescript/src/messages/nativeMessages/sdkMessage.d.ts +1 -0
- package/lib/typescript/src/messages/nativeMessages/sdkMessage.d.ts.map +1 -0
- package/lib/typescript/src/messages/webMessages/accountMessage.d.ts +1 -0
- package/lib/typescript/src/messages/webMessages/accountMessage.d.ts.map +1 -0
- package/lib/typescript/src/messages/webMessages/achCreditMessage.d.ts +1 -0
- package/lib/typescript/src/messages/webMessages/achCreditMessage.d.ts.map +1 -0
- package/lib/typescript/src/messages/webMessages/activityMessage.d.ts +1 -0
- package/lib/typescript/src/messages/webMessages/activityMessage.d.ts.map +1 -0
- package/lib/typescript/src/messages/webMessages/bookPaymentMessage.d.ts +1 -0
- package/lib/typescript/src/messages/webMessages/bookPaymentMessage.d.ts.map +1 -0
- package/lib/typescript/src/messages/webMessages/cardMessage.d.ts +1 -0
- package/lib/typescript/src/messages/webMessages/cardMessage.d.ts.map +1 -0
- package/lib/typescript/src/messages/webMessages/checkMessage.d.ts +1 -0
- package/lib/typescript/src/messages/webMessages/checkMessage.d.ts.map +1 -0
- package/lib/typescript/src/messages/webMessages/index.d.ts +5 -2
- package/lib/typescript/src/messages/webMessages/index.d.ts.map +1 -0
- package/lib/typescript/src/messages/webMessages/multipleCardsMessage.d.ts +1 -0
- package/lib/typescript/src/messages/webMessages/multipleCardsMessage.d.ts.map +1 -0
- package/lib/typescript/src/messages/webMessages/onLoadMessage.d.ts +5 -3
- package/lib/typescript/src/messages/webMessages/onLoadMessage.d.ts.map +1 -0
- package/lib/typescript/src/messages/webMessages/pageMessage.d.ts +1 -0
- package/lib/typescript/src/messages/webMessages/pageMessage.d.ts.map +1 -0
- package/lib/typescript/src/messages/webMessages/payeeManagementMessage.d.ts +19 -0
- package/lib/typescript/src/messages/webMessages/payeeManagementMessage.d.ts.map +1 -0
- package/lib/typescript/src/messages/webMessages/paymentsMessage.d.ts +4 -1
- package/lib/typescript/src/messages/webMessages/paymentsMessage.d.ts.map +1 -0
- package/lib/typescript/src/messages/webMessages/plaidMessages.d.ts +24 -0
- package/lib/typescript/src/messages/webMessages/plaidMessages.d.ts.map +1 -0
- package/lib/typescript/src/messages/webMessages/unitMessages.d.ts +22 -7
- package/lib/typescript/src/messages/webMessages/unitMessages.d.ts.map +1 -0
- package/lib/typescript/src/{components/UNBottomSheetComponent/components/UNAddToWalletBottomSheetItem → nativeComponents/UNAddToWallet/UNAddToWalletComponent}/UNAddToWalletBottomSheetItem.styles.d.ts +1 -0
- package/lib/typescript/src/nativeComponents/UNAddToWallet/UNAddToWalletComponent/UNAddToWalletBottomSheetItem.styles.d.ts.map +1 -0
- package/lib/typescript/src/nativeComponents/UNAddToWallet/UNAddToWalletComponent/UNAddToWalletComponent.d.ts +8 -0
- package/lib/typescript/src/nativeComponents/UNAddToWallet/UNAddToWalletComponent/UNAddToWalletComponent.d.ts.map +1 -0
- package/lib/typescript/src/nativeComponents/UNAddToWallet/UNAddToWalletComponent/UNAddToWalletComponent.utils.d.ts +5 -0
- package/lib/typescript/src/nativeComponents/UNAddToWallet/UNAddToWalletComponent/UNAddToWalletComponent.utils.d.ts.map +1 -0
- package/lib/typescript/src/nativeComponents/UNAddToWallet/UNAddToWalletComponent/index.d.ts +2 -0
- package/lib/typescript/src/nativeComponents/UNAddToWallet/UNAddToWalletComponent/index.d.ts.map +1 -0
- package/lib/typescript/src/{nativeComponent → nativeComponents/UNAddToWallet}/UnitAddToWalletButton.d.ts +1 -0
- package/lib/typescript/src/nativeComponents/UNAddToWallet/UnitAddToWalletButton.d.ts.map +1 -0
- package/lib/typescript/src/nativeModulesHelpers/UNStoreManagerHelper/UNStoreManagerHelper.d.ts +7 -0
- package/lib/typescript/src/nativeModulesHelpers/UNStoreManagerHelper/UNStoreManagerHelper.d.ts.map +1 -0
- package/lib/typescript/src/networking/common/UNNetworkConstants.d.ts +1 -0
- package/lib/typescript/src/networking/common/UNNetworkConstants.d.ts.map +1 -0
- package/lib/typescript/src/networking/requests/UNWalletPayloadRequest.d.ts +2 -1
- package/lib/typescript/src/networking/requests/UNWalletPayloadRequest.d.ts.map +1 -0
- package/lib/typescript/src/scripts/html/bodyHtml.d.ts +1 -0
- package/lib/typescript/src/scripts/html/bodyHtml.d.ts.map +1 -0
- package/lib/typescript/src/scripts/html/bodyScript.d.ts +17 -1
- package/lib/typescript/src/scripts/html/bodyScript.d.ts.map +1 -0
- package/lib/typescript/src/scripts/html/fontFaces.d.ts +1 -0
- package/lib/typescript/src/scripts/html/fontFaces.d.ts.map +1 -0
- package/lib/typescript/src/slices/BottomSheetSlice.d.ts +16 -0
- package/lib/typescript/src/slices/BottomSheetSlice.d.ts.map +1 -0
- package/lib/typescript/src/slices/ConfigurationSlice.d.ts +1 -0
- package/lib/typescript/src/slices/ConfigurationSlice.d.ts.map +1 -0
- package/lib/typescript/src/slices/SharedEventsSlice.d.ts +27 -11
- package/lib/typescript/src/slices/SharedEventsSlice.d.ts.map +1 -0
- package/lib/typescript/src/slices/pushProvisioningSlice.d.ts +1 -0
- package/lib/typescript/src/slices/pushProvisioningSlice.d.ts.map +1 -0
- package/lib/typescript/src/store/index.d.ts +1 -0
- package/lib/typescript/src/store/index.d.ts.map +1 -0
- package/lib/typescript/src/store/store.d.ts +29 -8
- package/lib/typescript/src/store/store.d.ts.map +1 -0
- package/lib/typescript/src/styles/fonts.d.ts +1 -0
- package/lib/typescript/src/styles/fonts.d.ts.map +1 -0
- package/lib/typescript/src/styles/variables.d.ts +4 -0
- package/lib/typescript/src/styles/variables.d.ts.map +1 -0
- package/lib/typescript/src/types/internal/bottomSheet.types.d.ts +51 -16
- package/lib/typescript/src/types/internal/bottomSheet.types.d.ts.map +1 -0
- package/lib/typescript/src/types/internal/errorHelpers.d.ts +1 -0
- package/lib/typescript/src/types/internal/errorHelpers.d.ts.map +1 -0
- package/lib/typescript/src/types/internal/unitStore.types.d.ts +5 -0
- package/lib/typescript/src/types/internal/unitStore.types.d.ts.map +1 -0
- package/lib/typescript/src/types/internal/webComponent.types.d.ts +6 -1
- package/lib/typescript/src/types/internal/webComponent.types.d.ts.map +1 -0
- package/lib/typescript/src/types/shared/account.types.d.ts +6 -0
- package/lib/typescript/src/types/shared/account.types.d.ts.map +1 -0
- package/lib/typescript/src/types/shared/achCredit.types.d.ts +1 -0
- package/lib/typescript/src/types/shared/achCredit.types.d.ts.map +1 -0
- package/lib/typescript/src/types/shared/activity.types.d.ts +4 -3
- package/lib/typescript/src/types/shared/activity.types.d.ts.map +1 -0
- package/lib/typescript/src/types/shared/authorization.types.d.ts +1 -0
- package/lib/typescript/src/types/shared/authorization.types.d.ts.map +1 -0
- package/lib/typescript/src/types/shared/bookPayment.types.d.ts +1 -0
- package/lib/typescript/src/types/shared/bookPayment.types.d.ts.map +1 -0
- package/lib/typescript/src/types/shared/card.types.d.ts +9 -0
- package/lib/typescript/src/types/shared/card.types.d.ts.map +1 -0
- package/lib/typescript/src/types/shared/checkDeposit.types.d.ts +1 -0
- package/lib/typescript/src/types/shared/checkDeposit.types.d.ts.map +1 -0
- package/lib/typescript/src/types/shared/env.types.d.ts +5 -0
- package/lib/typescript/src/types/shared/env.types.d.ts.map +1 -0
- package/lib/typescript/src/types/shared/error.types.d.ts +1 -0
- package/lib/typescript/src/types/shared/error.types.d.ts.map +1 -0
- package/lib/typescript/src/types/shared/fonts.types.d.ts +1 -0
- package/lib/typescript/src/types/shared/fonts.types.d.ts.map +1 -0
- package/lib/typescript/src/types/shared/index.d.ts +3 -0
- package/lib/typescript/src/types/shared/index.d.ts.map +1 -0
- package/lib/typescript/src/types/shared/multipleCards.types.d.ts +2 -1
- package/lib/typescript/src/types/shared/multipleCards.types.d.ts.map +1 -0
- package/lib/typescript/src/types/shared/onLoadResponse.types.d.ts +1 -0
- package/lib/typescript/src/types/shared/onLoadResponse.types.d.ts.map +1 -0
- package/lib/typescript/src/types/shared/payeeManagement.types.d.ts +48 -0
- package/lib/typescript/src/types/shared/payeeManagement.types.d.ts.map +1 -0
- package/lib/typescript/src/types/shared/payments.types.d.ts +22 -3
- package/lib/typescript/src/types/shared/payments.types.d.ts.map +1 -0
- package/lib/typescript/src/types/shared/repayment.types.d.ts +12 -0
- package/lib/typescript/src/types/shared/repayment.types.d.ts.map +1 -0
- package/lib/typescript/src/types/shared/transactions.types.d.ts +1 -0
- package/lib/typescript/src/types/shared/transactions.types.d.ts.map +1 -0
- package/lib/typescript/src/types/shared/types.d.ts +1 -0
- package/lib/typescript/src/types/shared/types.d.ts.map +1 -0
- package/lib/typescript/src/types/shared/versioning.types.d.ts +6 -1
- package/lib/typescript/src/types/shared/versioning.types.d.ts.map +1 -0
- package/lib/typescript/src/types/shared/wallet.types.d.ts +1 -0
- package/lib/typescript/src/types/shared/wallet.types.d.ts.map +1 -0
- package/lib/typescript/src/unitSdkManager/UnitSdk.api.d.ts +1 -0
- package/lib/typescript/src/unitSdkManager/UnitSdk.api.d.ts.map +1 -0
- package/lib/typescript/src/unitSdkManager/UnitSdk.constants.d.ts +1 -0
- package/lib/typescript/src/unitSdkManager/UnitSdk.constants.d.ts.map +1 -0
- package/lib/typescript/src/unitSdkManager/UnitSdkManager.d.ts +6 -5
- package/lib/typescript/src/unitSdkManager/UnitSdkManager.d.ts.map +1 -0
- package/lib/typescript/src/unitSdkManager/UnitSdkManager.utils.internal.d.ts +2 -1
- package/lib/typescript/src/unitSdkManager/UnitSdkManager.utils.internal.d.ts.map +1 -0
- package/lib/typescript/src/unitSdkManager/unitHelpersManager/UnitHelpersManager.d.ts +6 -0
- package/lib/typescript/src/unitSdkManager/unitHelpersManager/UnitHelpersManager.d.ts.map +1 -0
- package/lib/typescript/src/unitSdkManager/unitUiManager/unitUiManager.d.ts +1 -0
- package/lib/typescript/src/unitSdkManager/unitUiManager/unitUiManager.d.ts.map +1 -0
- package/lib/typescript/src/utils/AppInfo.d.ts +1 -0
- package/lib/typescript/src/utils/AppInfo.d.ts.map +1 -0
- package/lib/typescript/src/utils/SDKInfo.d.ts +1 -0
- package/lib/typescript/src/utils/SDKInfo.d.ts.map +1 -0
- package/lib/typescript/src/utils/webVersioningStrategy.utils.d.ts +1 -0
- package/lib/typescript/src/utils/webVersioningStrategy.utils.d.ts.map +1 -0
- package/lib/typescript/src/utils/windowUnitStore.d.ts +3 -0
- package/lib/typescript/src/utils/windowUnitStore.d.ts.map +1 -0
- package/lib/typescript/src/webComponent/WebComponent.d.ts +1 -0
- package/lib/typescript/src/webComponent/WebComponent.d.ts.map +1 -0
- package/lib/typescript/src/webComponent/WebComponent.utils.d.ts +1 -0
- package/lib/typescript/src/webComponent/WebComponent.utils.d.ts.map +1 -0
- package/lib/typescript/src/webComponent/html.d.ts +1 -0
- package/lib/typescript/src/webComponent/html.d.ts.map +1 -0
- package/package.json +26 -38
- package/react-native-unit-components.podspec +9 -2
- package/src/components/UNACHCreditComponent/UNACHCreditComponent.tsx +28 -5
- package/src/components/UNACHCreditComponent/UNACHCreditComponent.utils.ts +13 -2
- package/src/components/UNACHDebitComponent/UNACHDebitComponent.tsx +28 -5
- package/src/components/UNACHDebitComponent/UNACHDebitComponent.utils.ts +12 -2
- package/src/components/UNAccountComponent/UNAccountComponent.tsx +40 -14
- package/src/components/UNAccountComponent/UNAccountComponent.utils.ts +9 -6
- package/src/components/UNActivityComponent/UNActivityComponent.tsx +30 -9
- package/src/components/UNActivityComponent/UNActivityComponent.utils.ts +2 -0
- package/src/components/UNActivityComponent/index.ts +1 -1
- package/src/components/UNBookPaymentComponent/UNBookPaymentComponent.tsx +23 -5
- package/src/components/UNBookPaymentComponent/UNBookPaymentComponent.utils.ts +11 -4
- package/src/components/UNBottomSheetComponent/UNBottomSheetComponent.constants.ts +20 -1
- package/src/components/UNBottomSheetComponent/UNBottomSheetComponent.tsx +161 -281
- package/src/components/UNBottomSheetComponent/UNBottomSheetComponent.utils.ts +155 -12
- package/src/components/UNBottomSheetComponent/components/UNBottomSheetNativeComponent/UNBottomSheetNativeComponent.tsx +120 -0
- package/src/components/UNBottomSheetComponent/components/UNBottomSheetNativeComponent/index.ts +1 -0
- package/src/components/UNBottomSheetComponent/components/UNBottomSheetSlotComponent/UNBottomSheetSlotComponent.tsx +199 -0
- package/src/components/UNBottomSheetComponent/components/UNBottomSheetSlotComponent/index.ts +1 -0
- package/src/components/UNBottomSheetComponent/components/index.ts +2 -1
- package/src/components/UNCardComponent/UNCardComponent.tsx +5 -3
- package/src/components/UNCardComponent/UNCardComponent.utils.ts +2 -0
- package/src/components/UNCheckDepositComponent/UNCheckDepositComponent.tsx +16 -3
- package/src/components/UNCheckDepositComponent/UNCheckDepositComponent.utils.ts +8 -2
- package/src/components/UNMultipleCardsComponent/UNMultipleCardsComponent.tsx +1 -0
- package/src/components/UNMultipleCardsComponent/UNMultipleCardsComponent.utils.ts +1 -0
- package/src/components/UNNextRepaymentComponent/UNNextRepaymentComponent.tsx +80 -0
- package/src/components/UNNextRepaymentComponent/UNNextRepaymentComponent.utils.ts +10 -0
- package/src/components/UNNextRepaymentComponent/index.ts +3 -0
- package/src/components/UNPayeeManagementComponent/UNPayeeManagementComponent.tsx +153 -0
- package/src/components/UNPayeeManagementComponent/UNPayeeManagementComponent.utils.ts +87 -0
- package/src/components/UNPayeeManagementComponent/index.ts +1 -0
- package/src/components/UNProgramDetailsComponent/UNProgramDetailsComponent.tsx +77 -0
- package/src/components/UNProgramDetailsComponent/UNProgramDetailsComponent.utils.ts +9 -0
- package/src/components/UNProgramDetailsComponent/index.ts +3 -0
- package/src/components/UNWhiteLabelAppComponent/UNWhiteLabelAppComponent.tsx +124 -0
- package/src/components/UNWhiteLabelAppComponent/UNWhiteLabelAppComponent.utils.ts +35 -0
- package/src/components/UNWhiteLabelAppComponent/index.ts +1 -0
- package/src/components/index.ts +4 -0
- package/src/flows/UNFlows.ts +1 -1
- package/src/flows/card/UNCardFlows.ts +16 -17
- package/src/helpers/BottomSheet/BottomSheet.styles.ts +7 -8
- package/src/helpers/BottomSheet/BottomSheet.tsx +44 -39
- package/src/helpers/pushProvisioningService/hooks/useCardWallet.ts +3 -2
- package/src/helpers/pushProvisioningService/startProvisioning.ts +3 -5
- package/src/helpers/store/helpers.tsx +1 -1
- package/src/index.tsx +1 -1
- package/src/messages/nativeMessages/bottomSheetMessage.ts +7 -7
- package/src/messages/webMessages/index.ts +6 -0
- package/src/messages/webMessages/onLoadMessage.ts +4 -3
- package/src/messages/webMessages/payeeManagementMessage.ts +26 -0
- package/src/messages/webMessages/paymentsMessage.ts +3 -1
- package/src/messages/webMessages/plaidMessages.ts +29 -0
- package/src/messages/webMessages/unitMessages.ts +32 -15
- package/src/nativeComponents/UNAddToWallet/UNAddToWalletComponent/UNAddToWalletComponent.tsx +93 -0
- package/src/nativeComponents/UNAddToWallet/UNAddToWalletComponent/UNAddToWalletComponent.utils.ts +15 -0
- package/src/nativeComponents/UNAddToWallet/UNAddToWalletComponent/index.ts +1 -0
- package/src/nativeModulesHelpers/UNStoreManagerHelper/UNStoreManagerHelper.ts +19 -0
- package/src/networking/common/UNNetworkConstants.ts +1 -1
- package/src/networking/requests/UNWalletPayloadRequest.ts +2 -1
- package/src/scripts/html/bodyHtml.ts +1 -1
- package/src/scripts/html/bodyScript.ts +148 -10
- package/src/slices/BottomSheetSlice.ts +72 -0
- package/src/slices/ConfigurationSlice.ts +1 -2
- package/src/slices/SharedEventsSlice.ts +35 -13
- package/src/store/store.ts +2 -0
- package/src/styles/variables.ts +5 -2
- package/src/types/internal/bottomSheet.types.ts +80 -17
- package/src/types/internal/unitStore.types.ts +6 -0
- package/src/types/internal/webComponent.types.ts +4 -0
- package/src/types/shared/account.types.ts +6 -0
- package/src/types/shared/activity.types.ts +3 -3
- package/src/types/shared/card.types.ts +10 -1
- package/src/types/shared/env.types.ts +4 -0
- package/src/types/shared/index.ts +2 -0
- package/src/types/shared/multipleCards.types.ts +1 -1
- package/src/types/shared/payeeManagement.types.ts +49 -0
- package/src/types/shared/payments.types.ts +29 -6
- package/src/types/shared/repayment.types.ts +12 -0
- package/src/types/shared/versioning.types.ts +7 -1
- package/src/unitSdkManager/UnitSdk.api.ts +2 -4
- package/src/unitSdkManager/UnitSdk.constants.ts +1 -1
- package/src/unitSdkManager/UnitSdkManager.ts +12 -6
- package/src/unitSdkManager/UnitSdkManager.utils.internal.ts +3 -1
- package/src/unitSdkManager/unitHelpersManager/UnitHelpersManager.ts +11 -0
- package/src/utils/webVersioningStrategy.utils.ts +7 -0
- package/src/utils/windowUnitStore.ts +5 -0
- package/src/webComponent/WebComponent.tsx +66 -17
- package/src/webComponent/html.ts +14 -1
- package/lib/commonjs/components/UNBottomSheetComponent/components/UNAddToWalletBottomSheetItem/UNAddToWalletBottomSheetItem.js +0 -91
- package/lib/commonjs/components/UNBottomSheetComponent/components/UNAddToWalletBottomSheetItem/UNAddToWalletBottomSheetItem.js.map +0 -1
- package/lib/commonjs/components/UNBottomSheetComponent/components/UNAddToWalletBottomSheetItem/UNAddToWalletBottomSheetItem.styles.js.map +0 -1
- package/lib/commonjs/components/UNBottomSheetComponent/components/UNAddToWalletBottomSheetItem/index.js +0 -17
- package/lib/commonjs/components/UNBottomSheetComponent/components/UNAddToWalletBottomSheetItem/index.js.map +0 -1
- package/lib/commonjs/nativeComponent/UnitAddToWalletButton.js.map +0 -1
- package/lib/module/components/UNBottomSheetComponent/components/UNAddToWalletBottomSheetItem/UNAddToWalletBottomSheetItem.js +0 -81
- package/lib/module/components/UNBottomSheetComponent/components/UNAddToWalletBottomSheetItem/UNAddToWalletBottomSheetItem.js.map +0 -1
- package/lib/module/components/UNBottomSheetComponent/components/UNAddToWalletBottomSheetItem/UNAddToWalletBottomSheetItem.styles.js.map +0 -1
- package/lib/module/components/UNBottomSheetComponent/components/UNAddToWalletBottomSheetItem/index.js +0 -2
- package/lib/module/components/UNBottomSheetComponent/components/UNAddToWalletBottomSheetItem/index.js.map +0 -1
- package/lib/module/nativeComponent/UnitAddToWalletButton.js.map +0 -1
- package/lib/typescript/src/components/UNBottomSheetComponent/components/UNAddToWalletBottomSheetItem/UNAddToWalletBottomSheetItem.d.ts +0 -10
- package/lib/typescript/src/components/UNBottomSheetComponent/components/UNAddToWalletBottomSheetItem/index.d.ts +0 -1
- package/src/components/UNBottomSheetComponent/components/UNAddToWalletBottomSheetItem/UNAddToWalletBottomSheetItem.tsx +0 -109
- package/src/components/UNBottomSheetComponent/components/UNAddToWalletBottomSheetItem/index.ts +0 -1
- /package/lib/commonjs/{components/UNBottomSheetComponent/components/UNAddToWalletBottomSheetItem → nativeComponents/UNAddToWallet/UNAddToWalletComponent}/UNAddToWalletBottomSheetItem.styles.js +0 -0
- /package/lib/module/{components/UNBottomSheetComponent/components/UNAddToWalletBottomSheetItem → nativeComponents/UNAddToWallet/UNAddToWalletComponent}/UNAddToWalletBottomSheetItem.styles.js +0 -0
- /package/lib/module/{nativeComponent → nativeComponents/UNAddToWallet}/UnitAddToWalletButton.js +0 -0
- /package/src/{components/UNBottomSheetComponent/components/UNAddToWalletBottomSheetItem → nativeComponents/UNAddToWallet/UNAddToWalletComponent}/UNAddToWalletBottomSheetItem.styles.ts +0 -0
- /package/src/{nativeComponent → nativeComponents/UNAddToWallet}/UnitAddToWalletButton.tsx +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_UNAccountComponent","require","
|
|
1
|
+
{"version":3,"names":["_UNAccountComponent","require","_webComponent","_bodyScript","getAccountParams","props","accountIdParam","accountId","menuItemsParam","menuItems","join","customerToken","hideActionsMenuButton","hideSelectionMenuButton","showLeftToSpend","exports","getAccountScript","DISPATCH_REQUEST_REFRESH","LISTENERS","unitRequestLeftToSpendDetails","injectOpenActionsMenuScript","currentWeb","injectJavaScript","WebComponentType","account","injectRequestAccountActionScript","action","injectRefreshEventIfNeeded","requestRefreshEvent","dependencies","includes","valueOf","JSON","stringify","getAccountActionType","requestRendering","data","nativeComponent","UNAccountAction","List","Menu"],"sourceRoot":"../../../../src","sources":["components/UNAccountComponent/UNAccountComponent.utils.ts"],"mappings":";;;;;;AAAA,IAAAA,mBAAA,GAAAC,OAAA;AAIA,IAAAC,aAAA,GAAAD,OAAA;AACA,IAAAE,WAAA,GAAAF,OAAA;AAGO,MAAMG,gBAAgB,GAAIC,KAA8B,IAAK;EAClE,MAAMC,cAAc,GAAGD,KAAK,CAACE,SAAS,GAAI,eAAcF,KAAK,CAACE,SAAU,GAAE,GAAG,EAAE;EAC/E,MAAMC,cAAc,GAAGH,KAAK,CAACI,SAAS,GAAI,eAAcJ,KAAK,CAACI,SAAS,CAACC,IAAI,CAAC,CAAE,GAAE,GAAG,EAAE;EACtF,OAAQ;AACV,sBAAsBL,KAAK,CAACM,aAAc;AAC1C,MAAML,cAAe;AACrB,gCAAgCD,KAAK,CAACO,qBAAqB,IAAI,KAAM;AACrE,kCAAkCP,KAAK,CAACQ,uBAAuB,IAAI,KAAM;AACzE,0BAA0BR,KAAK,CAACS,eAAe,IAAI,KAAM;AACzD,MAAMN,cAAe;AACrB,GAAG;AACH,CAAC;AAACO,OAAA,CAAAX,gBAAA,GAAAA,gBAAA;AAEK,MAAMY,gBAAgB,GAAGA,CAAA,KAAM;EACpC,OAAQ;AACV,MAAMC,oCAAyB;AAC/B,MAAMC,qBAAS,CAACC,6BAA8B;AAC9C,GAAG;AACH,CAAC;AAACJ,OAAA,CAAAC,gBAAA,GAAAA,gBAAA;AAEK,MAAMI,2BAA2B,GAAIC,UAA0B,IAAK;EACzEA,UAAU,EAAEC,gBAAgB,CAAE,4BAA2BC,8BAAgB,CAACC,OAAQ,IAAG,CAAC;AACxF,CAAC;AAACT,OAAA,CAAAK,2BAAA,GAAAA,2BAAA;AAEK,MAAMK,gCAAgC,GAAGA,CAACJ,UAA0B,EAAEK,MAA2B,KAAK;EAC3GL,UAAU,EAAEC,gBAAgB,CAAE,iCAAgCI,MAAO,IAAG,CAAC;AAC3E,CAAC;AAACX,OAAA,CAAAU,gCAAA,GAAAA,gCAAA;AAEK,MAAME,0BAA0B,GAAGA,CAACN,UAA0B,EAAEO,mBAA+C,KAAK;EACzH,IAAIA,mBAAmB,IAAIA,mBAAmB,CAACC,YAAY,CAACC,QAAQ,CAACP,8BAAgB,CAACC,OAAO,CAACO,OAAO,CAAC,CAAC,CAAC,EAAE;IACxGV,UAAU,EAAEC,gBAAgB,CAAE,yBAAwBU,IAAI,CAACC,SAAS,CAACL,mBAAmB,CAAE,IAAG,CAAC;EAChG;AACF,CAAC;AAACb,OAAA,CAAAY,0BAAA,GAAAA,0BAAA;AAEK,MAAMO,oBAAoB,GAAIC,gBAAuC,IAAK;EAC/E,OAAOA,gBAAgB,CAACC,IAAI,CAACC,eAAe,CAACP,QAAQ,CAACQ,mCAAe,CAACC,IAAI,CAAC,GAAGD,mCAAe,CAACC,IAAI,GAAGD,mCAAe,CAACE,IAAI;AAC3H,CAAC;AAACzB,OAAA,CAAAmB,oBAAA,GAAAA,oBAAA"}
|
|
@@ -22,6 +22,6 @@ Object.defineProperty(exports, "UNAccountRef", {
|
|
|
22
22
|
}
|
|
23
23
|
});
|
|
24
24
|
var _UNAccountComponent = _interopRequireWildcard(require("./UNAccountComponent"));
|
|
25
|
-
function _getRequireWildcardCache(
|
|
26
|
-
function _interopRequireWildcard(
|
|
25
|
+
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
|
|
26
|
+
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
27
27
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_UNAccountComponent","_interopRequireWildcard","require","_getRequireWildcardCache","
|
|
1
|
+
{"version":3,"names":["_UNAccountComponent","_interopRequireWildcard","require","_getRequireWildcardCache","e","WeakMap","r","t","__esModule","default","has","get","n","__proto__","a","Object","defineProperty","getOwnPropertyDescriptor","u","prototype","hasOwnProperty","call","i","set"],"sourceRoot":"../../../../src","sources":["components/UNAccountComponent/index.ts"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;AAAA,IAAAA,mBAAA,GAAAC,uBAAA,CAAAC,OAAA;AAA4G,SAAAC,yBAAAC,CAAA,6BAAAC,OAAA,mBAAAC,CAAA,OAAAD,OAAA,IAAAE,CAAA,OAAAF,OAAA,YAAAF,wBAAA,YAAAA,CAAAC,CAAA,WAAAA,CAAA,GAAAG,CAAA,GAAAD,CAAA,KAAAF,CAAA;AAAA,SAAAH,wBAAAG,CAAA,EAAAE,CAAA,SAAAA,CAAA,IAAAF,CAAA,IAAAA,CAAA,CAAAI,UAAA,SAAAJ,CAAA,eAAAA,CAAA,uBAAAA,CAAA,yBAAAA,CAAA,WAAAK,OAAA,EAAAL,CAAA,QAAAG,CAAA,GAAAJ,wBAAA,CAAAG,CAAA,OAAAC,CAAA,IAAAA,CAAA,CAAAG,GAAA,CAAAN,CAAA,UAAAG,CAAA,CAAAI,GAAA,CAAAP,CAAA,OAAAQ,CAAA,KAAAC,SAAA,UAAAC,CAAA,GAAAC,MAAA,CAAAC,cAAA,IAAAD,MAAA,CAAAE,wBAAA,WAAAC,CAAA,IAAAd,CAAA,oBAAAc,CAAA,IAAAH,MAAA,CAAAI,SAAA,CAAAC,cAAA,CAAAC,IAAA,CAAAjB,CAAA,EAAAc,CAAA,SAAAI,CAAA,GAAAR,CAAA,GAAAC,MAAA,CAAAE,wBAAA,CAAAb,CAAA,EAAAc,CAAA,UAAAI,CAAA,KAAAA,CAAA,CAAAX,GAAA,IAAAW,CAAA,CAAAC,GAAA,IAAAR,MAAA,CAAAC,cAAA,CAAAJ,CAAA,EAAAM,CAAA,EAAAI,CAAA,IAAAV,CAAA,CAAAM,CAAA,IAAAd,CAAA,CAAAc,CAAA,YAAAN,CAAA,CAAAH,OAAA,GAAAL,CAAA,EAAAG,CAAA,IAAAA,CAAA,CAAAgB,GAAA,CAAAnB,CAAA,EAAAQ,CAAA,GAAAA,CAAA"}
|
|
@@ -19,16 +19,26 @@ var _helpers = require("../../helpers/store/helpers");
|
|
|
19
19
|
var _SharedEventsSlice = require("../../slices/SharedEventsSlice");
|
|
20
20
|
var _reactRedux = require("react-redux");
|
|
21
21
|
var _useListenerToEvent = require("../../hooks/useListenerToEvent");
|
|
22
|
-
function _getRequireWildcardCache(
|
|
23
|
-
function _interopRequireWildcard(
|
|
22
|
+
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
|
|
23
|
+
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
24
24
|
const DEFAULT_HEIGHT = _reactNative.Dimensions.get('window').height * 0.5;
|
|
25
|
-
const UNActivityComponent = props
|
|
25
|
+
const UNActivityComponent = /*#__PURE__*/_react.default.forwardRef(function UNActivityComponent(props, activityRef) {
|
|
26
26
|
const dispatch = (0, _reactRedux.useDispatch)();
|
|
27
27
|
const webRef = (0, _react.useRef)(null);
|
|
28
28
|
const [defaultHeight, setDefaultHeight] = (0, _react.useState)();
|
|
29
29
|
const requestRefresh = data => {
|
|
30
30
|
(0, _UNActivityComponent.injectRefreshEventIfNeeded)(webRef.current, data);
|
|
31
31
|
};
|
|
32
|
+
(0, _react.useImperativeHandle)(activityRef, () => ({
|
|
33
|
+
refresh() {
|
|
34
|
+
requestRefresh({
|
|
35
|
+
type: _unitMessages.UnitRequestRefreshEventTypes.REQUEST_REFRESH_EVENT,
|
|
36
|
+
refEvent: undefined,
|
|
37
|
+
dependencies: [_webComponent.WebComponentType.activity.valueOf()],
|
|
38
|
+
resourceId: ''
|
|
39
|
+
});
|
|
40
|
+
}
|
|
41
|
+
}));
|
|
32
42
|
const dispatchActivityFiltersChanged = query => {
|
|
33
43
|
(0, _UNActivityComponent.injectFiltersChanged)(webRef.current, query);
|
|
34
44
|
};
|
|
@@ -76,7 +86,7 @@ const UNActivityComponent = props => {
|
|
|
76
86
|
data: slotData
|
|
77
87
|
};
|
|
78
88
|
dispatch((0, _SharedEventsSlice.setEvent)({
|
|
79
|
-
key: _bottomSheetMessage.BottomSheetNativeMessage.
|
|
89
|
+
key: _bottomSheetMessage.BottomSheetNativeMessage.REQUEST_RENDERING,
|
|
80
90
|
data
|
|
81
91
|
}));
|
|
82
92
|
break;
|
|
@@ -113,7 +123,6 @@ const UNActivityComponent = props => {
|
|
|
113
123
|
height: defaultHeight
|
|
114
124
|
}
|
|
115
125
|
}, renderActivityWebView());
|
|
116
|
-
};
|
|
117
|
-
var _default = (0, _helpers.
|
|
118
|
-
exports.default = _default;
|
|
126
|
+
});
|
|
127
|
+
var _default = exports.default = (0, _helpers.withReduxStoreAndRefForwarding)(UNActivityComponent);
|
|
119
128
|
//# sourceMappingURL=UNActivityComponent.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_react","_interopRequireWildcard","require","_reactNative","_unitMessages","_pageMessage","_WebComponent","_UNActivityComponent","_onLoadMessage","_activityMessage","_bottomSheet","_webComponent","_bottomSheetMessage","_helpers","_SharedEventsSlice","_reactRedux","_useListenerToEvent","_getRequireWildcardCache","nodeInterop","WeakMap","cacheBabelInterop","cacheNodeInterop","obj","__esModule","default","cache","has","get","newObj","hasPropertyDescriptor","Object","defineProperty","getOwnPropertyDescriptor","key","prototype","hasOwnProperty","call","desc","set","DEFAULT_HEIGHT","Dimensions","height","UNActivityComponent","props","dispatch","useDispatch","webRef","useRef","defaultHeight","setDefaultHeight","useState","requestRefresh","data","injectRefreshEventIfNeeded","current","dispatchActivityFiltersChanged","query","injectFiltersChanged","useListenerToEvent","busEventKey","UnitMessage","UNIT_REQUEST_REFRESH","action","ActivityMessage","UNIT_ACTIVITY_FILTERS_CHANGED","handleUnitOnLoad","response","onLoad","RESPONSE_KEYS","errors","authorizations","transactions","activityOnLoad","console","error","handleWebViewMessage","message","type","UNIT_REQUEST_RENDERING","slotData","componentName","WebComponentType","activity","componentResourceId","accountId","requestRenderingEvent","details","BottomSheetRenderingType","Slot","setEvent","BottomSheetNativeMessage","START_FLOW","UNIT_ON_LOAD","PageMessage","PAGE_HEIGHT","currentHeight","renderActivityWebView","createElement","WebComponent","ref","presentationMode","PresentationMode","Inherit","params","getActivityParams","onMessage","nestedScrollEnabled","theme","language","script","getActivityScript","View","style","_default","withReduxStore","exports"],"sources":["UNActivityComponent.tsx"],"sourcesContent":["import React, { useRef, useState } from 'react';\nimport { Dimensions, View } from 'react-native';\nimport { RequestRefreshEvent, RequestRenderingEvent, UnitMessage } from '../../messages/webMessages/unitMessages';\nimport type { WebViewMessage } from '../../messages/webMessages';\nimport { HeightEvent, PageMessage } from '../../messages/webMessages/pageMessage';\nimport type { UNError, UNOnLoadResponse, UNOnLoadResponseData } from '../../types/shared';\nimport { WebComponent } from '../../webComponent/WebComponent';\nimport {\n getActivityParams,\n getActivityScript,\n injectFiltersChanged,\n injectRefreshEventIfNeeded,\n} from './UNActivityComponent.utils';\nimport type WebView from 'react-native-webview';\nimport type { UNActivityOnLoadData } from '../../types/shared/activity.types';\nimport { RESPONSE_KEYS, UnitOnLoadResponseEvent } from '../../messages/webMessages/onLoadMessage';\nimport { ActivityMessage } from '../../messages/webMessages/activityMessage';\nimport {\n BottomSheetRenderingType,\n type BottomSheetSlotData,\n type SlotRendering,\n} from '../../types/internal/bottomSheet.types';\nimport { PresentationMode, WebComponentType } from '../../types/internal/webComponent.types';\nimport { BottomSheetNativeMessage } from '../../messages/nativeMessages/bottomSheetMessage';\nimport { withReduxStore } from '../../helpers/store/helpers';\nimport { setEvent } from '../../slices/SharedEventsSlice';\nimport { useDispatch } from 'react-redux';\nimport { useListenerToEvent } from '../../hooks/useListenerToEvent';\nimport type { UNActivityComponentPaginationType } from '../../types/shared';\n\nconst DEFAULT_HEIGHT = Dimensions.get('window').height * 0.5;\n\nexport interface UNActivityComponentProps {\n // inputs\n customerToken: string;\n accountId?: string;\n queryFilter?: string;\n\n // ui\n theme?: string;\n language?: string;\n hideFilterButton?: boolean;\n paginationType?: UNActivityComponentPaginationType;\n transactionsPerPage?: number;\n // event\n onLoad?: (response: UNOnLoadResponse<UNActivityOnLoadData>) => void;\n}\n\nconst UNActivityComponent = (props: UNActivityComponentProps) => {\n const dispatch = useDispatch();\n const webRef = useRef<WebView>(null);\n const [defaultHeight, setDefaultHeight] = useState<number>();\n\n const requestRefresh = (data: RequestRefreshEvent) => {\n injectRefreshEventIfNeeded(webRef.current, data);\n };\n\n const dispatchActivityFiltersChanged = (query: string) => {\n injectFiltersChanged(webRef.current, query);\n };\n\n useListenerToEvent({ busEventKey: UnitMessage.UNIT_REQUEST_REFRESH, action: requestRefresh });\n useListenerToEvent({\n busEventKey: ActivityMessage.UNIT_ACTIVITY_FILTERS_CHANGED,\n action: dispatchActivityFiltersChanged,\n });\n\n const handleUnitOnLoad = (response: UnitOnLoadResponseEvent) => {\n if (!props.onLoad) {\n return;\n }\n\n if (RESPONSE_KEYS.errors in response) {\n props.onLoad(response as UNError);\n return;\n }\n\n if (RESPONSE_KEYS.authorizations in response && RESPONSE_KEYS.transactions in response) {\n // ActivityOnLoadResponse;\n const activityOnLoad: UNOnLoadResponseData<UNActivityOnLoadData> = {\n data: {\n [RESPONSE_KEYS.authorizations]: response[RESPONSE_KEYS.authorizations].data,\n [RESPONSE_KEYS.transactions]: response[RESPONSE_KEYS.transactions].data,\n },\n };\n props.onLoad(activityOnLoad);\n return;\n }\n\n console.error('On Load Error: unexpected response type');\n return;\n };\n\n const handleWebViewMessage = (message: WebViewMessage) => {\n switch (message.type) {\n case UnitMessage.UNIT_REQUEST_RENDERING: {\n const slotData: BottomSheetSlotData = {\n componentName: WebComponentType.activity,\n componentResourceId: props.accountId,\n requestRenderingEvent: message.details as RequestRenderingEvent,\n };\n\n const data = {\n type: BottomSheetRenderingType.Slot,\n data: slotData,\n } as SlotRendering;\n\n dispatch(setEvent({ key: BottomSheetNativeMessage.START_FLOW, data }));\n break;\n }\n case UnitMessage.UNIT_ON_LOAD:\n handleUnitOnLoad(message.details as UnitOnLoadResponseEvent);\n break;\n case PageMessage.PAGE_HEIGHT: {\n const currentHeight = (message.details as HeightEvent).height;\n currentHeight === 0 && setDefaultHeight(DEFAULT_HEIGHT);\n break;\n }\n }\n };\n\n const renderActivityWebView = () => {\n return (\n <WebComponent\n ref={webRef}\n type={WebComponentType.activity}\n presentationMode={PresentationMode.Inherit}\n params={getActivityParams(props)}\n onMessage={(message: WebViewMessage) => handleWebViewMessage(message)}\n nestedScrollEnabled={true}\n theme={props.theme}\n language={props.language}\n script={getActivityScript()}\n />\n );\n };\n\n if (!defaultHeight) {\n return renderActivityWebView();\n }\n\n return (\n <View style={{ height: defaultHeight }}>\n {renderActivityWebView()}\n </View>\n );\n};\n\nexport default withReduxStore<UNActivityComponentProps>(UNActivityComponent);\n"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,uBAAA,CAAAC,OAAA;AACA,IAA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IAAI9C,gBAAgB,CAACV,cAAc,CAAC;UACvD;QACF;IAAC;EAEL,CAAC;EAED,MAAMyD,qBAAqB,GAAGA,CAAA,KAAM;IAClC,oBACEhG,MAAA,CAAAwB,OAAA,CAAAyE,aAAA,CAAC3F,aAAA,CAAA4F,YAAY;MACXC,GAAG,EAAErD,MAAO;MACZ+B,IAAI,EAAEI,8BAAgB,CAACC,QAAS;MAChCkB,gBAAgB,EAAEC,8BAAgB,CAACC,OAAQ;MAC3CC,MAAM,EAAE,IAAAC,sCAAiB,EAAC7D,KAAK,CAAE;MACjC8D,SAAS,EAAG7B,OAAuB,IAAKD,oBAAoB,CAACC,OAAO,CAAE;MACtE8B,mBAAmB,EAAE,IAAK;MAC1BC,KAAK,EAAEhE,KAAK,CAACgE,KAAM;MACnBC,QAAQ,EAAEjE,KAAK,CAACiE,QAAS;MACzBC,MAAM,EAAE,IAAAC,sCAAiB;IAAG,EAC5B;EAEN,CAAC;EAED,IAAI,CAAC9D,aAAa,EAAE;IAClB,OAAOgD,qBAAqB,EAAE;EAChC;EAEA,oBACEhG,MAAA,CAAAwB,OAAA,CAAAyE,aAAA,CAAC9F,YAAA,CAAA4G,IAAI;IAACC,KAAK,EAAE;MAAEvE,MAAM,EAAEO;IAAc;EAAE,GACpCgD,qBAAqB,EAAE,CACnB;AAEX,CAAC;AAAC,IAAAiB,QAAA,GAEa,IAAAC,uBAAc,EAA2BxE,mBAAmB,CAAC;AAAAyE,OAAA,CAAA3F,OAAA,GAAAyF,QAAA"}
|
|
1
|
+
{"version":3,"names":["_react","_interopRequireWildcard","require","_reactNative","_unitMessages","_pageMessage","_WebComponent","_UNActivityComponent","_onLoadMessage","_activityMessage","_bottomSheet","_webComponent","_bottomSheetMessage","_helpers","_SharedEventsSlice","_reactRedux","_useListenerToEvent","_getRequireWildcardCache","e","WeakMap","r","t","__esModule","default","has","get","n","__proto__","a","Object","defineProperty","getOwnPropertyDescriptor","u","prototype","hasOwnProperty","call","i","set","DEFAULT_HEIGHT","Dimensions","height","UNActivityComponent","React","forwardRef","props","activityRef","dispatch","useDispatch","webRef","useRef","defaultHeight","setDefaultHeight","useState","requestRefresh","data","injectRefreshEventIfNeeded","current","useImperativeHandle","refresh","type","UnitRequestRefreshEventTypes","REQUEST_REFRESH_EVENT","refEvent","undefined","dependencies","WebComponentType","activity","valueOf","resourceId","dispatchActivityFiltersChanged","query","injectFiltersChanged","useListenerToEvent","busEventKey","UnitMessage","UNIT_REQUEST_REFRESH","action","ActivityMessage","UNIT_ACTIVITY_FILTERS_CHANGED","handleUnitOnLoad","response","onLoad","RESPONSE_KEYS","errors","authorizations","transactions","activityOnLoad","console","error","handleWebViewMessage","message","UNIT_REQUEST_RENDERING","slotData","componentName","componentResourceId","accountId","requestRenderingEvent","details","BottomSheetRenderingType","Slot","setEvent","key","BottomSheetNativeMessage","REQUEST_RENDERING","UNIT_ON_LOAD","PageMessage","PAGE_HEIGHT","currentHeight","renderActivityWebView","createElement","WebComponent","ref","presentationMode","PresentationMode","Inherit","params","getActivityParams","onMessage","nestedScrollEnabled","theme","language","script","getActivityScript","View","style","_default","exports","withReduxStoreAndRefForwarding"],"sourceRoot":"../../../../src","sources":["components/UNActivityComponent/UNActivityComponent.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,uBAAA,CAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AACA,IAAAE,aAAA,GAAAF,OAAA;AAOA,IAAAG,YAAA,GAAAH,OAAA;AAEA,IAAAI,aAAA,GAAAJ,OAAA;AACA,IAAAK,oBAAA,GAAAL,OAAA;AAQA,IAAAM,cAAA,GAAAN,OAAA;AACA,IAAAO,gBAAA,GAAAP,OAAA;AACA,IAAAQ,YAAA,GAAAR,OAAA;AAIA,IAAAS,aAAA,GAAAT,OAAA;AACA,IAAAU,mBAAA,GAAAV,OAAA;AACA,IAAAW,QAAA,GAAAX,OAAA;AACA,IAAAY,kBAAA,GAAAZ,OAAA;AACA,IAAAa,WAAA,GAAA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,IAAIxD,gBAAgB,CAACb,cAAc,CAAC;UACvD;QACF;IACF;EACF,CAAC;EAED,MAAMsE,qBAAqB,GAAGA,CAAA,KAAM;IAClC,oBACE5G,MAAA,CAAAuB,OAAA,CAAAsF,aAAA,CAACvG,aAAA,CAAAwG,YAAY;MACXC,GAAG,EAAE/D,MAAO;MACZW,IAAI,EAAEM,8BAAgB,CAACC,QAAS;MAChC8C,gBAAgB,EAAEC,8BAAgB,CAACC,OAAQ;MAC3CC,MAAM,EAAE,IAAAC,sCAAiB,EAACxE,KAAK,CAAE;MACjCyE,SAAS,EAAG3B,OAAuB,IAAKD,oBAAoB,CAACC,OAAO,CAAE;MACtE4B,mBAAmB,EAAE,IAAK;MAC1BC,KAAK,EAAE3E,KAAK,CAAC2E,KAAM;MACnBC,QAAQ,EAAE5E,KAAK,CAAC4E,QAAS;MACzBC,MAAM,EAAE,IAAAC,sCAAiB,EAAC;IAAE,CAC7B,CAAC;EAEN,CAAC;EAED,IAAI,CAACxE,aAAa,EAAE;IAClB,OAAO0D,qBAAqB,CAAC,CAAC;EAChC;EAEA,oBACE5G,MAAA,CAAAuB,OAAA,CAAAsF,aAAA,CAAC1G,YAAA,CAAAwH,IAAI;IAACC,KAAK,EAAE;MAAEpF,MAAM,EAAEU;IAAc;EAAE,GACpC0D,qBAAqB,CAAC,CACnB,CAAC;AAEX,CAAC,CAAC;AAAC,IAAAiB,QAAA,GAAAC,OAAA,CAAAvG,OAAA,GAEY,IAAAwG,uCAA8B,EAA0CtF,mBAAmB,CAAC"}
|
|
@@ -15,6 +15,8 @@ const getActivityParams = props => {
|
|
|
15
15
|
customer-token="${props.customerToken}"
|
|
16
16
|
${accountIdParam}
|
|
17
17
|
hide-filter-button="${props.hideFilterButton || false}"
|
|
18
|
+
hide-back-to-top="${props.hideBackToTop || false}"
|
|
19
|
+
hide-title="${props.hideTitle || false}"
|
|
18
20
|
${queryFilterParam}
|
|
19
21
|
${paginationTypeParam}
|
|
20
22
|
${transactionsPerPageParam}
|
|
@@ -28,12 +30,12 @@ const getActivityScript = () => {
|
|
|
28
30
|
exports.getActivityScript = getActivityScript;
|
|
29
31
|
const injectRefreshEventIfNeeded = (currentWeb, requestRefreshEvent) => {
|
|
30
32
|
if (requestRefreshEvent && requestRefreshEvent.dependencies.includes(_webComponent.WebComponentType.activity.valueOf())) {
|
|
31
|
-
currentWeb
|
|
33
|
+
currentWeb?.injectJavaScript(`dispatchRefreshEvent('${JSON.stringify(requestRefreshEvent)}')`);
|
|
32
34
|
}
|
|
33
35
|
};
|
|
34
36
|
exports.injectRefreshEventIfNeeded = injectRefreshEventIfNeeded;
|
|
35
37
|
const injectFiltersChanged = (currentWeb, query) => {
|
|
36
|
-
currentWeb
|
|
38
|
+
currentWeb?.injectJavaScript(`dispatchActivityFilterChangedEvent('${query}')`);
|
|
37
39
|
};
|
|
38
40
|
exports.injectFiltersChanged = injectFiltersChanged;
|
|
39
41
|
//# sourceMappingURL=UNActivityComponent.utils.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_bodyScript","require","_webComponent","getActivityParams","props","accountIdParam","accountId","queryFilterParam","queryFilter","paginationTypeParam","paginationType","transactionsPerPageParam","transactionsPerPage","customerToken","hideFilterButton","exports","getActivityScript","DISPATCH_REQUEST_REFRESH","injectRefreshEventIfNeeded","currentWeb","requestRefreshEvent","dependencies","includes","WebComponentType","activity","valueOf","injectJavaScript","JSON","stringify","injectFiltersChanged","query"],"
|
|
1
|
+
{"version":3,"names":["_bodyScript","require","_webComponent","getActivityParams","props","accountIdParam","accountId","queryFilterParam","queryFilter","paginationTypeParam","paginationType","transactionsPerPageParam","transactionsPerPage","customerToken","hideFilterButton","hideBackToTop","hideTitle","exports","getActivityScript","DISPATCH_REQUEST_REFRESH","injectRefreshEventIfNeeded","currentWeb","requestRefreshEvent","dependencies","includes","WebComponentType","activity","valueOf","injectJavaScript","JSON","stringify","injectFiltersChanged","query"],"sourceRoot":"../../../../src","sources":["components/UNActivityComponent/U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,CAACC,SAAS,CAACR,mBAAmB,CAAE,IAAG,CAAC;EAChG;AACF,CAAC;AAACL,OAAA,CAAAG,0BAAA,GAAAA,0BAAA;AAEK,MAAMW,oBAAoB,GAAGA,CAACV,UAA0B,EAAEW,KAAa,KAAK;EACjFX,UAAU,EAAEO,gBAAgB,CAAE,uCAAsCI,KAAM,IAAG,CAAC;AAChF,CAAC;AAACf,OAAA,CAAAc,oBAAA,GAAAA,oBAAA"}
|
|
@@ -15,7 +15,13 @@ Object.defineProperty(exports, "UNActivityComponentProps", {
|
|
|
15
15
|
return _UNActivityComponent.UNActivityComponentProps;
|
|
16
16
|
}
|
|
17
17
|
});
|
|
18
|
+
Object.defineProperty(exports, "UNActivityRef", {
|
|
19
|
+
enumerable: true,
|
|
20
|
+
get: function () {
|
|
21
|
+
return _UNActivityComponent.UNActivityRef;
|
|
22
|
+
}
|
|
23
|
+
});
|
|
18
24
|
var _UNActivityComponent = _interopRequireWildcard(require("./UNActivityComponent"));
|
|
19
|
-
function _getRequireWildcardCache(
|
|
20
|
-
function _interopRequireWildcard(
|
|
25
|
+
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
|
|
26
|
+
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
21
27
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_UNActivityComponent","_interopRequireWildcard","require","_getRequireWildcardCache","
|
|
1
|
+
{"version":3,"names":["_UNActivityComponent","_interopRequireWildcard","require","_getRequireWildcardCache","e","WeakMap","r","t","__esModule","default","has","get","n","__proto__","a","Object","defineProperty","getOwnPropertyDescriptor","u","prototype","hasOwnProperty","call","i","set"],"sourceRoot":"../../../../src","sources":["components/UNActivityComponent/index.ts"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;AAAA,IAAAA,oBAAA,GAAAC,uBAAA,CAAAC,OAAA;AAAgH,SAAAC,yBAAAC,CAAA,6BAAAC,OAAA,mBAAAC,CAAA,OAAAD,OAAA,IAAAE,CAAA,OAAAF,OAAA,YAAAF,wBAAA,YAAAA,CAAAC,CAAA,WAAAA,CAAA,GAAAG,CAAA,GAAAD,CAAA,KAAAF,CAAA;AAAA,SAAAH,wBAAAG,CAAA,EAAAE,CAAA,SAAAA,CAAA,IAAAF,CAAA,IAAAA,CAAA,CAAAI,UAAA,SAAAJ,CAAA,eAAAA,CAAA,uBAAAA,CAAA,yBAAAA,CAAA,WAAAK,OAAA,EAAAL,CAAA,QAAAG,CAAA,GAAAJ,wBAAA,CAAAG,CAAA,OAAAC,CAAA,IAAAA,CAAA,CAAAG,GAAA,CAAAN,CAAA,UAAAG,CAAA,CAAAI,GAAA,CAAAP,CAAA,OAAAQ,CAAA,KAAAC,SAAA,UAAAC,CAAA,GAAAC,MAAA,CAAAC,cAAA,IAAAD,MAAA,CAAAE,wBAAA,WAAAC,CAAA,IAAAd,CAAA,oBAAAc,CAAA,IAAAH,MAAA,CAAAI,SAAA,CAAAC,cAAA,CAAAC,IAAA,CAAAjB,CAAA,EAAAc,CAAA,SAAAI,CAAA,GAAAR,CAAA,GAAAC,MAAA,CAAAE,wBAAA,CAAAb,CAAA,EAAAc,CAAA,UAAAI,CAAA,KAAAA,CAAA,CAAAX,GAAA,IAAAW,CAAA,CAAAC,GAAA,IAAAR,MAAA,CAAAC,cAAA,CAAAJ,CAAA,EAAAM,CAAA,EAAAI,CAAA,IAAAV,CAAA,CAAAM,CAAA,IAAAd,CAAA,CAAAc,CAAA,YAAAN,CAAA,CAAAH,OAAA,GAAAL,CAAA,EAAAG,CAAA,IAAAA,CAAA,CAAAgB,GAAA,CAAAnB,CAAA,EAAAQ,CAAA,GAAAA,CAAA"}
|
|
@@ -14,8 +14,8 @@ var _paymentsMessage = require("../../messages/webMessages/paymentsMessage");
|
|
|
14
14
|
var _onLoadMessage = require("../../messages/webMessages/onLoadMessage");
|
|
15
15
|
var _webComponent = require("../../types/internal/webComponent.types");
|
|
16
16
|
var _helpers = require("../../helpers/store/helpers");
|
|
17
|
-
function _getRequireWildcardCache(
|
|
18
|
-
function _interopRequireWildcard(
|
|
17
|
+
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
|
|
18
|
+
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
19
19
|
const UNBookPaymentComponent = props => {
|
|
20
20
|
const [height, setHeight] = (0, _react.useState)(0);
|
|
21
21
|
const [presentationMode, setPresentationMode] = (0, _react.useState)(_webComponent.PresentationMode.Inherit);
|
|
@@ -38,6 +38,16 @@ const UNBookPaymentComponent = props => {
|
|
|
38
38
|
const handleWebViewMessage = message => {
|
|
39
39
|
if (!message || !message.details) return;
|
|
40
40
|
switch (message.type) {
|
|
41
|
+
case _paymentsMessage.PaymentMessage.INITIAL_STAGE_BACK_BUTTON_CLICKED:
|
|
42
|
+
{
|
|
43
|
+
props.onInitialStageBackButtonClicked && props.onInitialStageBackButtonClicked();
|
|
44
|
+
break;
|
|
45
|
+
}
|
|
46
|
+
case _paymentsMessage.PaymentMessage.FINAL_STAGE_DONE_BUTTON_CLICKED:
|
|
47
|
+
{
|
|
48
|
+
props.onFinalStageDoneButtonClicked && props.onFinalStageDoneButtonClicked();
|
|
49
|
+
break;
|
|
50
|
+
}
|
|
41
51
|
case _paymentsMessage.PaymentMessage.PAYMENT_CREATED:
|
|
42
52
|
props.onPaymentCreated && props.onPaymentCreated(message.details.data);
|
|
43
53
|
break;
|
|
@@ -76,6 +86,5 @@ const UNBookPaymentComponent = props => {
|
|
|
76
86
|
}
|
|
77
87
|
}, renderBookPaymentWebView());
|
|
78
88
|
};
|
|
79
|
-
var _default = (0, _helpers.withReduxStore)(UNBookPaymentComponent);
|
|
80
|
-
exports.default = _default;
|
|
89
|
+
var _default = exports.default = (0, _helpers.withReduxStore)(UNBookPaymentComponent);
|
|
81
90
|
//# sourceMappingURL=UNBookPaymentComponent.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_react","_interopRequireWildcard","require","_WebComponent","_UNBookPaymentComponent","_pageMessage","_reactNative","_unitMessages","_paymentsMessage","_onLoadMessage","_webComponent","_helpers","_getRequireWildcardCache","
|
|
1
|
+
{"version":3,"names":["_react","_interopRequireWildcard","require","_WebComponent","_UNBookPaymentComponent","_pageMessage","_reactNative","_unitMessages","_paymentsMessage","_onLoadMessage","_webComponent","_helpers","_getRequireWildcardCache","e","WeakMap","r","t","__esModule","default","has","get","n","__proto__","a","Object","defineProperty","getOwnPropertyDescriptor","u","prototype","hasOwnProperty","call","i","set","UNBookPaymentComponent","props","height","setHeight","useState","presentationMode","setPresentationMode","PresentationMode","Inherit","handleUnitOnLoad","response","onLoad","RESPONSE_KEYS","errors","account","console","error","handleWebViewMessage","message","details","type","PaymentMessage","INITIAL_STAGE_BACK_BUTTON_CLICKED","onInitialStageBackButtonClicked","FINAL_STAGE_DONE_BUTTON_CLICKED","onFinalStageDoneButtonClicked","PAYMENT_CREATED","onPaymentCreated","data","UnitMessage","UNIT_ON_LOAD","PageMessage","PAGE_HEIGHT","currentHeight","Default","renderBookPaymentWebView","createElement","WebComponent","WebComponentType","bookPayment","params","getBookPaymentParams","script","getBookPaymentScript","onMessage","isScrollable","theme","language","View","style","_default","exports","withReduxStore"],"sourceRoot":"../../../../src","sources":["components/UNBookPaymentComponent/UNBookPaymentComponent.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,uBAAA,CAAAC,OAAA;AACA,IAAAC,aAAA,GAAAD,OAAA;AACA,IAAAE,uBAAA,GAAAF,OAAA;AASA,IAAAG,YAAA,GAAAH,OAAA;AACA,IAAAI,YAAA,GAAAJ,OAAA;AACA,IAAAK,aAAA,GAAAL,OAAA;AACA,IAAAM,gBAAA,GAAAN,OAAA;AAEA,IAAAO,cAAA,GAAAP,OAAA;AACA,IAAAQ,aAAA,GAAAR,OAAA;AACA,IAAAS,QAAA,GAAAT,OAAA;AAA6D,SAAAU,yBAAAC,CAAA,6BAAAC,OAAA,mBAAAC,CAAA,OAAAD,OAAA,IAAAE,CAAA,OAAAF,OAAA,YAAAF,wBAAA,YAAAA,CAAAC,CAAA,WAAAA,CAAA,GAAAG,CAAA,GAAAD,CAAA,KAAAF,CAAA;AAAA,SAAAZ,wBAAAY,CAAA,EAAAE,CAAA,SAAAA,CAAA,IAAAF,CAAA,IAAAA,CAAA,CAAAI,UAAA,SAAAJ,CAAA,eAAAA,CAAA,uBAAAA,CAAA,yBAAAA,CAAA,WAAAK,OAAA,EAAAL,CAAA,QAAAG,CAAA,GAAAJ,wBAAA,CAAAG,CAAA,OAAAC,CAAA,IAAAA,CAAA,CAAAG,GAAA,CAAAN,CAAA,UAAAG,CAAA,CAAAI,GAAA,CAAAP,CAAA,OAAAQ,CAAA,KAAAC,SAAA,UAAAC,CAAA,GAAAC,MAAA,CAAAC,cAAA,IAAAD,MAAA,CAAAE,wBAA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,KAAK,EAAE7C,KAAK,CAAC6C,KAAM;MACnBC,QAAQ,EAAE9C,KAAK,CAAC8C;IAAS,CAC1B,CAAC;EAEN,CAAC;EAED,IAAI1C,gBAAgB,KAAKE,8BAAgB,CAACC,OAAO,EAAE;IACjD,OAAO2B,wBAAwB,CAAC,CAAC;EACnC;EAEA,oBACEpE,MAAA,CAAAkB,OAAA,CAAAmD,aAAA,CAAC/D,YAAA,CAAA2E,IAAI;IAACC,KAAK,EAAE;MAAE/C,MAAM,EAAEA;IAAO;EAAE,GAC7BiC,wBAAwB,CAAC,CACtB,CAAC;AAEX,CAAC;AAAC,IAAAe,QAAA,GAAAC,OAAA,CAAAlE,OAAA,GAEa,IAAAmE,uBAAc,EAA8BpD,sBAAsB,CAAC"}
|
|
@@ -7,13 +7,18 @@ exports.getBookPaymentScript = exports.getBookPaymentParams = void 0;
|
|
|
7
7
|
var _bodyScript = require("./../../scripts/html/bodyScript");
|
|
8
8
|
var _paymentsMessage = require("../../messages/webMessages/paymentsMessage");
|
|
9
9
|
const getBookPaymentParams = props => {
|
|
10
|
+
const accountIdParam = props.accountId ? `account-id="${props.accountId}"` : '';
|
|
11
|
+
const counterpartyAccountIdParam = props.counterPartyAccountId ? `counterparty-account-id="${props.counterPartyAccountId}"` : '';
|
|
12
|
+
const counterpartyNameParam = props.counterPartyName ? `counterparty-name="${props.counterPartyName}"` : '';
|
|
10
13
|
return `
|
|
11
|
-
|
|
14
|
+
${accountIdParam}
|
|
12
15
|
customer-token="${props.customerToken}"
|
|
13
|
-
is-same-customer="${props.isSameCustomer}"
|
|
14
|
-
|
|
15
|
-
|
|
16
|
+
is-same-customer="${props.isSameCustomer || false}"
|
|
17
|
+
${counterpartyAccountIdParam}
|
|
18
|
+
${counterpartyNameParam}
|
|
16
19
|
is-auto-focus="${props.isAutoFocus || false}"
|
|
20
|
+
initial-stage-back-button="${props.initialStageBackButton ?? false}"
|
|
21
|
+
final-stage-done-button="${props.finalStageDoneButton ?? false}"
|
|
17
22
|
style="height: 100%"
|
|
18
23
|
`;
|
|
19
24
|
};
|
|
@@ -30,6 +35,8 @@ const getBookPaymentScript = () => {
|
|
|
30
35
|
});
|
|
31
36
|
|
|
32
37
|
${_bodyScript.LISTENERS.requestRefresh}
|
|
38
|
+
${_bodyScript.LISTENERS.unitPaymentInitialStageBackButtonClicked}
|
|
39
|
+
${_bodyScript.LISTENERS.unitPaymentFinalStageDoneButtonClicked}
|
|
33
40
|
`;
|
|
34
41
|
};
|
|
35
42
|
exports.getBookPaymentScript = getBookPaymentScript;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_bodyScript","require","_paymentsMessage","getBookPaymentParams","props","
|
|
1
|
+
{"version":3,"names":["_bodyScript","require","_paymentsMessage","getBookPaymentParams","props","accountIdParam","accountId","counterpartyAccountIdParam","counterPartyAccountId","counterpartyNameParam","counterPartyName","customerToken","isSameCustomer","isAutoFocus","initialStageBackButton","finalStageDoneButton","exports","getBookPaymentScript","PaymentMessage","PAYMENT_CREATED","LISTENERS","requestRefresh","unitPaymentInitialStageBackButtonClicked","unitPaymentFinalStageDoneButtonClicked"],"sourceRoot":"../../../../src","sources":["components/UNBookPaymentComponent/UNBookPaymentComponent.utils.ts"],"mappings":";;;;;;AAAA,IAAAA,WAAA,GAAAC,OAAA;AAGA,IAAAC,gBAAA,GAAAD,OAAA;AAEO,MAAME,oBAAoB,GAAIC,KAAkC,IAAK;EAC1E,MAAMC,cAAc,GAAGD,KAAK,CAACE,SAAS,GAAI,eAAcF,KAAK,CAACE,SAAU,GAAE,GAAG,EAAE;EAC/E,MAAMC,0BAA0B,GAAGH,KAAK,CAACI,qBAAqB,GAAI,4BAA2BJ,KAAK,CAACI,qBAAsB,GAAE,GAAG,EAAE;EAChI,MAAMC,qBAAqB,GAAGL,KAAK,CAACM,gBAAgB,GAAI,sBAAqBN,KAAK,CAACM,gBAAiB,GAAE,GAAG,EAAE;EAC3G,OAAQ;AACV,MAAML,cAAe;AACrB,sBAAsBD,KAAK,CAACO,aAAc;AAC1C,wBAAwBP,KAAK,CAACQ,cAAc,IAAI,KAAM;AACtD,MAAML,0BAA2B;AACjC,MAAME,qBAAsB;AAC5B,qBAAqBL,KAAK,CAACS,WAAW,IAAI,KAAM;AAChD,iCAAiCT,KAAK,CAACU,sBAAsB,IAAI,KAAM;AACvE,+BAA+BV,KAAK,CAACW,oBAAoB,IAAI,KAAM;AACnE;AACA,GAAG;AACH,CAAC;AAACC,OAAA,CAAAb,oBAAA,GAAAA,oBAAA;AAEK,MAAMc,oBAAoB,GAAGA,CAAA,KAAM;EACxC,OAAQ;AACV,+BAA+BC,+BAAc,CAACC,eAAgB;AAC9D;AACA;AACA,sCAAsCD,+BAAc,CAACC,eAAgB;AACrE;AACA;AACA;AACA;AACA;AACA,MAAMC,qBAAS,CAACC,cAAe;AAC/B,MAAMD,qBAAS,CAACE,wCAAyC;AACzD,MAAMF,qBAAS,CAACG,sCAAuC;AACvD,GAAG;AACH,CAAC;AAACP,OAAA,CAAAC,oBAAA,GAAAA,oBAAA"}
|
|
@@ -16,6 +16,6 @@ Object.defineProperty(exports, "UNBookPaymentComponentProps", {
|
|
|
16
16
|
}
|
|
17
17
|
});
|
|
18
18
|
var _UNBookPaymentComponent = _interopRequireWildcard(require("./UNBookPaymentComponent"));
|
|
19
|
-
function _getRequireWildcardCache(
|
|
20
|
-
function _interopRequireWildcard(
|
|
19
|
+
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
|
|
20
|
+
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
21
21
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_UNBookPaymentComponent","_interopRequireWildcard","require","_getRequireWildcardCache","
|
|
1
|
+
{"version":3,"names":["_UNBookPaymentComponent","_interopRequireWildcard","require","_getRequireWildcardCache","e","WeakMap","r","t","__esModule","default","has","get","n","__proto__","a","Object","defineProperty","getOwnPropertyDescriptor","u","prototype","hasOwnProperty","call","i","set"],"sourceRoot":"../../../../src","sources":["components/UNBookPaymentComponent/index.ts"],"mappings":";;;;;;;;;;;;;;;;;AAAA,IAAAA,uBAAA,GAAAC,uBAAA,CAAAC,OAAA;AAA0G,SAAAC,yBAAAC,CAAA,6BAAAC,OAAA,mBAAAC,CAAA,OAAAD,OAAA,IAAAE,CAAA,OAAAF,OAAA,YAAAF,wBAAA,YAAAA,CAAAC,CAAA,WAAAA,CAAA,GAAAG,CAAA,GAAAD,CAAA,KAAAF,CAAA;AAAA,SAAAH,wBAAAG,CAAA,EAAAE,CAAA,SAAAA,CAAA,IAAAF,CAAA,IAAAA,CAAA,CAAAI,UAAA,SAAAJ,CAAA,eAAAA,CAAA,uBAAAA,CAAA,yBAAAA,CAAA,WAAAK,OAAA,EAAAL,CAAA,QAAAG,CAAA,GAAAJ,wBAAA,CAAAG,CAAA,OAAAC,CAAA,IAAAA,CAAA,CAAAG,GAAA,CAAAN,CAAA,UAAAG,CAAA,CAAAI,GAAA,CAAAP,CAAA,OAAAQ,CAAA,KAAAC,SAAA,UAAAC,CAAA,GAAAC,MAAA,CAAAC,cAAA,IAAAD,MAAA,CAAAE,wBAAA,WAAAC,CAAA,IAAAd,CAAA,oBAAAc,CAAA,IAAAH,MAAA,CAAAI,SAAA,CAAAC,cAAA,CAAAC,IAAA,CAAAjB,CAAA,EAAAc,CAAA,SAAAI,CAAA,GAAAR,CAAA,GAAAC,MAAA,CAAAE,wBAAA,CAAAb,CAAA,EAAAc,CAAA,UAAAI,CAAA,KAAAA,CAAA,CAAAX,GAAA,IAAAW,CAAA,CAAAC,GAAA,IAAAR,MAAA,CAAAC,cAAA,CAAAJ,CAAA,EAAAM,CAAA,EAAAI,CAAA,IAAAV,CAAA,CAAAM,CAAA,IAAAd,CAAA,CAAAc,CAAA,YAAAN,CAAA,CAAAH,OAAA,GAAAL,CAAA,EAAAG,CAAA,IAAAA,CAAA,CAAAgB,GAAA,CAAAnB,CAAA,EAAAQ,CAAA,GAAAA,CAAA"}
|
|
@@ -3,7 +3,17 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
exports.
|
|
7
|
-
|
|
8
|
-
exports.
|
|
6
|
+
exports.statusBarHeight = exports.overFullScreenHeight = exports.isAndroid10AndAbove = exports.iosStatusBarHeight = exports.fullScreenHeight = exports.androidStatusBarHeight = exports.BOTTOM_SHEET_OVER_FULLSCREEN_PERCENTAGE_SIZE = void 0;
|
|
7
|
+
var _reactNative = require("react-native");
|
|
8
|
+
const BOTTOM_SHEET_OVER_FULLSCREEN_PERCENTAGE_SIZE = exports.BOTTOM_SHEET_OVER_FULLSCREEN_PERCENTAGE_SIZE = 0.9;
|
|
9
|
+
const androidStatusBarHeight = exports.androidStatusBarHeight = _reactNative.StatusBar.currentHeight || 0;
|
|
10
|
+
|
|
11
|
+
// For iOS - we are currently using hard coded height
|
|
12
|
+
const iosStatusBarHeight = exports.iosStatusBarHeight = _reactNative.Dimensions.get('window').height * 0.05;
|
|
13
|
+
const statusBarHeight = exports.statusBarHeight = _reactNative.Platform.OS === 'android' ? androidStatusBarHeight : iosStatusBarHeight;
|
|
14
|
+
// Android 10 and above - need to add status bar height to the window height to get the full screen height because Dimensions.get('window').height returns the height without the status bar
|
|
15
|
+
// reference: https://github.com/facebook/react-native/issues/23693#issuecomment-1403560728
|
|
16
|
+
const isAndroid10AndAbove = exports.isAndroid10AndAbove = _reactNative.Platform.OS === 'android' && _reactNative.Platform.Version >= 29;
|
|
17
|
+
const fullScreenHeight = exports.fullScreenHeight = isAndroid10AndAbove ? _reactNative.Dimensions.get('window').height + statusBarHeight : _reactNative.Dimensions.get('window').height;
|
|
18
|
+
const overFullScreenHeight = exports.overFullScreenHeight = _reactNative.Dimensions.get('window').height * BOTTOM_SHEET_OVER_FULLSCREEN_PERCENTAGE_SIZE;
|
|
9
19
|
//# sourceMappingURL=UNBottomSheetComponent.constants.js.map
|
package/lib/commonjs/components/UNBottomSheetComponent/UNBottomSheetComponent.constants.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["
|
|
1
|
+
{"version":3,"names":["_reactNative","require","BOTTOM_SHEET_OVER_FULLSCREEN_PERCENTAGE_SIZE","exports","androidStatusBarHeight","StatusBar","currentHeight","iosStatusBarHeight","Dimensions","get","height","statusBarHeight","Platform","OS","isAndroid10AndAbove","Version","fullScreenHeight","overFullScreenHeight"],"sourceRoot":"../../../../src","sources":["components/UNBottomSheetComponent/UNBottomSheetComponent.constants.ts"],"mappings":";;;;;;AAAA,IAAAA,YAAA,GAAAC,OAAA;AAEO,MAAMC,4CAA4C,GAAAC,OAAA,CAAAD,4CAAA,GAAG,GAAG;AAExD,MAAME,sBAAsB,GAAAD,OAAA,CAAAC,sBAAA,GAAGC,sBAAS,CAACC,aAAa,IAAI,CAAC;;AAElE;AACO,MAAMC,kBAAkB,GAAAJ,OAAA,CAAAI,kBAAA,GAAGC,uBAAU,CAACC,GAAG,CAAC,QAAQ,CAAC,CAACC,MAAM,GAAG,IAAI;AAEjE,MAAMC,eAAe,GAAAR,OAAA,CAAAQ,eAAA,GAAGC,qBAAQ,CAACC,EAAE,KAAK,SAAS,GAAGT,sBAAsB,GAAGG,kBAAkB;AACtG;AACA;AACO,MAAMO,mBAAmB,GAAAX,OAAA,CAAAW,mBAAA,GAAGF,qBAAQ,CAACC,EAAE,KAAK,SAAS,IAAID,qBAAQ,CAACG,OAAO,IAAI,EAAE;AAE/E,MAAMC,gBAAgB,GAAAb,OAAA,CAAAa,gBAAA,GAC3BF,mBAAmB,GACjBN,uBAAU,CAACC,GAAG,CAAC,QAAQ,CAAC,CAACC,MAAM,GAAGC,eAAe,GAC/CH,uBAAU,CAACC,GAAG,CAAC,QAAQ,CAAC,CAACC,MAAM;AAE9B,MAAMO,oBAAoB,GAAAd,OAAA,CAAAc,oBAAA,GAAGT,uBAAU,CAACC,GAAG,CAAC,QAAQ,CAAC,CAACC,MAAM,GAAGR,4CAA4C"}
|