@zeniai/web-cockpit-ui 1.14.20-qa → 1.14.21-dev

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.

Potentially problematic release.


This version of @zeniai/web-cockpit-ui might be problematic. Click here for more details.

Files changed (258) hide show
  1. package/dist/assets/ACHDetailsPage-B2GVy8XM-ti0XjGQx.js +21 -0
  2. package/dist/assets/{AIPerformancePage-DnOjd2BF-lO5zS7uR.js → AIPerformancePage-DKwSS0Zl-c3B4-q-Y.js} +33 -33
  3. package/dist/assets/AccountInfoPage-CSIM7DNw-BklcBUFt.js +18 -0
  4. package/dist/assets/{AccountInfoPageContent-Cc80eQeo-CgEfuzww.js → AccountInfoPageContent-CwbmE2Bb-CgQ5VXBk.js} +16 -16
  5. package/dist/assets/{AccountLockedInfoModal-B-Hn6_hG-6a5g7mIJ.js → AccountLockedInfoModal-SFgC439X-BdfeA6l0.js} +5 -5
  6. package/dist/assets/{AccountReconDetailsDrawerPage-Bz1Sk2du-BxAo_hsT.js → AccountReconDetailsDrawerPage-DhlVNNlq-zaiIx1Be.js} +14 -14
  7. package/dist/assets/{AccountRow-D01C0A0f-CckYNleY.js → AccountRow-Bhq6cvtX-CIGcG8Mb.js} +31 -31
  8. package/dist/assets/{AccountsPromoCardStack-DsjFJ8gZ-tDFsAqWF.js → AccountsPromoCardStack-Cx60IXNK-DyJ52Wxc.js} +33 -33
  9. package/dist/assets/{AddAddressForCardDrawer-DnoYIvUp-D4V9AU-3.js → AddAddressForCardDrawer-D1cDpMRq-BEiWkJUF.js} +2 -2
  10. package/dist/assets/{AddToWalletPage-BIiW9JxG-DzC3aDRW.js → AddToWalletPage-DjD9kDfD-7on3PFY8.js} +27 -27
  11. package/dist/assets/{AgingReportsPage-WazD_3Z7-BztL8RZo.js → AgingReportsPage-C68tZbMZ-BZn0w9tu.js} +7 -7
  12. package/dist/assets/{AllUserItems-CTSy4oBh-aCjvc204.js → AllUserItems-D4ZWfS3r-Dzjpd7KF.js} +14 -14
  13. package/dist/assets/{ApAgingDetailPage--NGBXWsy-Cfxnglrx.js → ApAgingDetailPage-C9xdKi6n-CJy9_j_h.js} +3 -3
  14. package/dist/assets/{AppBasePage-B5br9UXD-dTwGe1qL.js → AppBasePage-C77LebWx-j5O8MdDX.js} +11 -11
  15. package/dist/assets/{AppDrawerContent-vFeMNL3B-OmNElgxS.js → AppDrawerContent-rleLuP6d-CWfhTnVv.js} +19 -32
  16. package/dist/assets/ApprovalRulesSettingsPage-l6wNe5y0-CnwhageD.js +47 -0
  17. package/dist/assets/{ArAgingChart-BYWN3_Nl-M7Hk0Q05.js → ArAgingChart-BzPI5KpZ-DCA8w670.js} +7 -7
  18. package/dist/assets/{ArAgingDetailPage-B-hHa8A6-CG4Qyos2.js → ArAgingDetailPage-QPScba6I-BS5C1iok.js} +1 -1
  19. package/dist/assets/{AttachmentView-C2kWA5X5-BbtHpCnk.js → AttachmentView-BWRZe11t-C3aomYUX.js} +7 -7
  20. package/dist/assets/{BankAccountSection-B20IwpOn-DQog70tV.js → BankAccountSection-D4xFLS8Y-DYVkxnj8.js} +6 -6
  21. package/dist/assets/{BankAccountWarningSection-GHO0P0IZ-1uRlfSfl.js → BankAccountWarningSection-xch7b7oM-KAL6I_7u.js} +9 -9
  22. package/dist/assets/{BankConnectionsSettingsPage-Cpg1ObB6-C889d37H.js → BankConnectionsSettingsPage-BAf6txkS-BUkZUmB1.js} +33 -33
  23. package/dist/assets/{BillDetailPage-DOF5ibT6-CMzLP3E2.js → BillDetailPage-DNjo2hSl-HAMxBkoh.js} +5 -5
  24. package/dist/assets/BillPayApprovalRuleDetailPage-CyzRcfmb-CWMkHGTv.js +27 -0
  25. package/dist/assets/{BillPayApprovalRulesPage-B3x4So_i-CY4rm4rp.js → BillPayApprovalRulesPage-XcSe-JLu-paWl1wgj.js} +8 -8
  26. package/dist/assets/{BillPayPromoPage-BqzH5AIp-CPmZM4sb.js → BillPayPromoPage-XAG7hXMH-TJCiv7fN.js} +12 -12
  27. package/dist/assets/BillPaySetUpPage-BBsdhwgY-BJ3SN0Z9.js +42 -0
  28. package/dist/assets/BillingSettingsPage-DJNjNtIF-BPnIxQJs.js +44 -0
  29. package/dist/assets/{BillsBulkReviewDrawerPage-B76xXQJ9-KS_QhPM7.js → BillsBulkReviewDrawerPage-C0-0H-LH-B1c9iIV6.js} +1 -1
  30. package/dist/assets/{BoxItem-DCsIK5bA-DmT1xtf2.js → BoxItem-DfMMtLK3-CwOmwsz7.js} +1 -1
  31. package/dist/assets/{BusinessVerificationPage-hSVDM_Bi-2zlgnS4x.js → BusinessVerificationPage-Bdf48vIt-gFo5pnI5.js} +11 -11
  32. package/dist/assets/{CardNumberSubText-B_ZdgYVm-ChY45Xav.js → CardNumberSubText-DgQelYSF-ByXOxvTG.js} +2 -2
  33. package/dist/assets/{CashbackDetailPage-CNeEt6aE-b0UGJHmQ.js → CashbackDetailPage-pDpjBsfK-CeHQC4hd.js} +21 -21
  34. package/dist/assets/{ChargeCardDetailPage-C0a8jqCD-Cx7pv4Cb.js → ChargeCardDetailPage-DU9RMQc6-BIkkENPA.js} +74 -74
  35. package/dist/assets/ChargeCardListPage-DMYZIi2J-C0pY-hXD.js +355 -0
  36. package/dist/assets/{ChargeCardListTable-Kx-_ZAZu-BIEC6Lus.js → ChargeCardListTable-BGhtEqlM-1uQtcdAL.js} +118 -118
  37. package/dist/assets/{ChargeCardPromoPage-CKTkcQdI-D4z7TcsI.js → ChargeCardPromoPage-B2v83Vrf-DE3g4SaQ.js} +14 -14
  38. package/dist/assets/ChargeCardSetupPage-D4DqJYC2-tJD3m4rN.js +36 -0
  39. package/dist/assets/{ChargeCardStatementsPage-B_7CdyKP-BwoBFpZ8.js → ChargeCardStatementsPage-N-UJC5n3-DRCoIqWQ.js} +12 -12
  40. package/dist/assets/CheckDepositDrawerPage-BlNXO233-B6D-qsf9.js +206 -0
  41. package/dist/assets/{CollapsableReportTable-ULd7PQST-zRaWsZKw.js → CollapsableReportTable-CuZSfiJ--DndUaoHT.js} +51 -51
  42. package/dist/assets/{CompanyOfficerDetailsSection-DLaAmVLG-BXyV3XUg.js → CompanyOfficerDetailsSection-B8_6LaaT-Bm6A2sxD.js} +20 -20
  43. package/dist/assets/{CompanyPassportCard-CZQuAyI2-FnmQYEWp.js → CompanyPassportCard-Dnoe52f1-Bb0yMF1k.js} +9 -9
  44. package/dist/assets/{CompanyPassportPage-DqoVJfO--B2V256bS.js → CompanyPassportPage-ChrMM5cG-CBSi0VyZ.js} +9 -9
  45. package/dist/assets/{CompleteProfile-BJV-xUlM-_mjlqEii.js → CompleteProfile-BcB52KEM-eSrsUGzf.js} +1 -1
  46. package/dist/assets/{ConfettiBurst-D4ga9TRN-DNqfOt_I.js → ConfettiBurst-CLXTwsEc-BKNVbRl0.js} +1 -1
  47. package/dist/assets/{CreateOrEditVendorPage-C6efUMJu-BPk-OMPd.js → CreateOrEditVendorPage-BQT9jEKf-D7ltp_Gl.js} +8 -8
  48. package/dist/assets/{CreditCardPaymentDrawerPage-26ysDTts-2EgGLxxN.js → CreditCardPaymentDrawerPage-CqjXmiuE-DMxbqlO3.js} +22 -22
  49. package/dist/assets/CurrencySelectField-DptlyOSs-CcylyEJM.js +139 -0
  50. package/dist/assets/{CustomerOnboardingActivationPage-D0-sOxDl-Ce46LukP.js → CustomerOnboardingActivationPage-CwOkKzOg-B6RVJbjC.js} +5 -5
  51. package/dist/assets/CustomerOnboardingContainerPage-CicNW9-B-DzHnXZE1.js +1 -0
  52. package/dist/assets/{CustomerOnboardingDetailPageSkeleton-B7hkzgkV-BF5167bb.js → CustomerOnboardingDetailPageSkeleton-czdG16p5-DpEmk0UD.js} +10 -10
  53. package/dist/assets/CustomerOnboardingNoStepsPage-vfiQQOHz-Bp1CMF4Z.js +66 -0
  54. package/dist/assets/{CustomerOnboardingPage-DB1gXgdD-CBPKCr70.js → CustomerOnboardingPage-YXekfOBo-BxMO09Sc.js} +5 -5
  55. package/dist/assets/CustomerOnboardingProductSuitePage-CZTuBAv2-DO0Q6ibG.js +202 -0
  56. package/dist/assets/{Dashboard-CU3UQhxj-C1Mkz5gx.js → Dashboard-DSgwFRPe-C8675P9W.js} +1 -1
  57. package/dist/assets/{DashboardReportPage-DMdKWPtx-atQPuhmI.js → DashboardReportPage-BJvP8_MA-BpjY-74m.js} +17 -17
  58. package/dist/assets/{DashboardSidebarBackgroundAnimation-BMEqBAyh-C6IEWJ-w.js → DashboardSidebarBackgroundAnimation-BzB16gcw-DGUbQY3b.js} +2 -2
  59. package/dist/assets/{DepositAccTransactionItem-C1-JGWD1-PimeTN3F.js → DepositAccTransactionItem-iLxnaDON-Cited1L2.js} +3 -3
  60. package/dist/assets/DepositAccTransactionListPage-BYdaEGCV-dRBdHWPK.js +66 -0
  61. package/dist/assets/{DomesticWireDetailsPage-D6fDbjcO-B5-gEW7w.js → DomesticWireDetailsPage-D7ID3OCC-BFvvuPQV.js} +1 -1
  62. package/dist/assets/{DownloadOverlay-CsX54puJ-Dn_Qxrz1.js → DownloadOverlay-DK3Nswwn-axnAyF4J.js} +23 -23
  63. package/dist/assets/{DrawerPage-xYwGDHR6-DzearJMx.js → DrawerPage-qdVRf0zd-rAuGPrSz.js} +10 -10
  64. package/dist/assets/EditPeoplePage-BQlHto3J-B1wgqdbr.js +55 -0
  65. package/dist/assets/{EditReimbursementDetailPage-EUO0BoRp-DXFt_-b4.js → EditReimbursementDetailPage-wJUr8jPN-cAj4KIG_.js} +75 -75
  66. package/dist/assets/{EntityDetailPage-CF6LS35a-I8h1XS7y.js → EntityDetailPage-BNbBdxQj-DOptLJPY.js} +3 -3
  67. package/dist/assets/{EntitySummarySection-C0gR6pkr-BFT2Z-pB.js → EntitySummarySection-BQXLwSRf-XMfwUKWz.js} +15 -15
  68. package/dist/assets/{ExpenseAutomationOverviewPage-B0I8v21w-DnXjKNKz.js → ExpenseAutomationOverviewPage-UXpoYnDh-DTEX425p.js} +22 -22
  69. package/dist/assets/{ExpenseAutomationPage-BorzJM7G-DkRsvTE3.js → ExpenseAutomationPage-Cn4VyB6M-CECxbhts.js} +69 -69
  70. package/dist/assets/{ExpressPayPage-D0YWItIv-vsfFJlZY.js → ExpressPayPage-DjV_dQoe-B6QGETdI.js} +12 -12
  71. package/dist/assets/{FeaturePreviewPage-yu8G5cHk-D2BrLKE_.js → FeaturePreviewPage-CPu1OiVj-C8nQdj7i.js} +2 -2
  72. package/dist/assets/{FollowStepsSection-DRDFxA8H-CjpGRF9d.js → FollowStepsSection-6KGTmbym-CjBGo1sT.js} +11 -11
  73. package/dist/assets/{GlobalReviewListPage-D80yv7U2-DSeBsZZz.js → GlobalReviewListPage-BpuYWhKy-BWJ3NE1D.js} +12 -12
  74. package/dist/assets/{HelpButton-D9ONg6cm-Be59SjbC.js → HelpButton-j66YbdZ7-MN2mMJbU.js} +5 -5
  75. package/dist/assets/{InformationCardStack-CbKQwtHm-iVG-egn1.js → InformationCardStack--_YYIZmU-TVF3K_in.js} +5 -5
  76. package/dist/assets/{InsightsCardStack-BWsN9_G2-DIXMPF3Z.js → InsightsCardStack-BAqsxgx_-C1UXRHpT.js} +10 -10
  77. package/dist/assets/{InsightsSection-WZo-AWJt-B29Z2aQ6.js → InsightsSection-R-m-A1rt-hAhn3f3r.js} +8 -8
  78. package/dist/assets/{IntegrationsSettingsPage-BLjSJt9r-DCLywH7v.js → IntegrationsSettingsPage-BP0P9-PB-q-RNhTQ5.js} +14 -14
  79. package/dist/assets/{InternationalWireSwiftDetailsPage-BXNDZ1Mk-BxL2cwbW.js → InternationalWireSwiftDetailsPage-Bl40XkdZ-FmcHiNeD.js} +16 -16
  80. package/dist/assets/{InternationalWireVerificationPage-BLgPJ1NJ-q4IibCup.js → InternationalWireVerificationPage-BxIz3xUq-DfERa7mH.js} +18 -18
  81. package/dist/assets/{InviteFormPage-DPQ4vL9--i-ULec9w.js → InviteFormPage-t42rmGiL-DbS-Xo1y.js} +22 -22
  82. package/dist/assets/{InvitePageListView-YUKxUGBn-B16-8w8X.js → InvitePageListView-CWpmFhZH-BU1izezz.js} +40 -40
  83. package/dist/assets/InvitePeoplePage-78Fznvo4-Cs3muHFK.js +12 -0
  84. package/dist/assets/{InvoiceUploadSection-Cx6pXJiN-CVGkefQN.js → InvoiceUploadSection-BWCF-vNf-ENuDGJpZ.js} +9 -9
  85. package/dist/assets/{IssueChargeCardPage-DZVtocCO-I_yEnYGn.js → IssueChargeCardPage-DrHldS8--Y0lQ8nqU.js} +19 -19
  86. package/dist/assets/{LabeledAddressValue-BrB2xQYz-Bp1iKMXW.js → LabeledAddressValue-WlsZ5Ghz-BgDzWzX8.js} +1 -1
  87. package/dist/assets/LabeledAddressValueField-B-6CWCep-BS0rQu3k.js +45 -0
  88. package/dist/assets/{LabeledControlledCheckBoxField-o0K1dba0-CaYkqqwf.js → LabeledControlledCheckBoxField-DLlz4JyR-BC1O7GWF.js} +1 -1
  89. package/dist/assets/{LabeledCreatableSingleSelectField-DQwGH21a-DCo3yiXZ.js → LabeledCreatableSingleSelectField-rYzQ2Ot2-C76fE8D-.js} +2 -2
  90. package/dist/assets/{LabeledDocumentField-CfgzkjDY-pn3OcRy3.js → LabeledDocumentField-CD2nmWBu-DN57A6Dt.js} +4 -4
  91. package/dist/assets/{LabeledDropDownFormattedTextField-DdaTvUbM-KTtCMdFX.js → LabeledDropDownFormattedTextField-DpVX6osq-D5-gOJ3f.js} +3 -3
  92. package/dist/assets/{LabeledText-Hi4MixDN-WrbKJ642.js → LabeledText-QTidAWAx-C3c3LDP1.js} +2 -2
  93. package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-BlVebvR7-Jqg6BKYy.js → LabeledUserSingleSelectWithSubtitlesField-BlTOGYfX-B2GK4-w4.js} +19 -19
  94. package/dist/assets/{LabeledZeniRolesDropDownField-Bm7Emr_n-glZ8PCSO.js → LabeledZeniRolesDropDownField-BVYRgzSM-BwBrTbH3.js} +12 -12
  95. package/dist/assets/{LinkJETransactionPage-ittEPbhi-W7ymwETt.js → LinkJETransactionPage-CKTmE3J5-oxz25OQ_.js} +10 -10
  96. package/dist/assets/{LowBalancePopup-ChA83eFW-D0eQDhH3.js → LowBalancePopup-3lHeOacz-D0jLBPuP.js} +5 -5
  97. package/dist/assets/{MagicLinkACHDetailsPage-B4PPI06n-C_DxqSTi.js → MagicLinkACHDetailsPage-CJwMNdWw-CQRuhIMs.js} +1 -1
  98. package/dist/assets/{MagicLinkDomesticWireDetailsPage-DRK5ytSb-DngVeo5M.js → MagicLinkDomesticWireDetailsPage-7fXlIwuo-BfygosWH.js} +1 -1
  99. package/dist/assets/{MagicLinkInternationalWireDetailsPage-C2pn5xtm-BATETY3T.js → MagicLinkInternationalWireDetailsPage-D7oeyaXU-BvZA1a8O.js} +1 -1
  100. package/dist/assets/{MagicLinkSuccessPage-Bag5TE2J-CZ9jwejs.js → MagicLinkSuccessPage-D8iyZlJy-BCBc7pXl.js} +4 -4
  101. package/dist/assets/{MagicLinkTitleSection-Ch72cLUN-YrwcYc6L.js → MagicLinkTitleSection-DUrwrEj2-Dar-V5KH.js} +5 -5
  102. package/dist/assets/{MailingDetailsSection-CrHHLtQN-DrQYYUeI.js → MailingDetailsSection-CXSm1fgW-B1aDR6z2.js} +1 -1
  103. package/dist/assets/{MeetingCalenderPopup-B_KRQLwc-Dk4sRI3u.js → MeetingCalenderPopup-SnrmOSBf-C5dtHg-v.js} +1 -1
  104. package/dist/assets/{Menu-Czq7AdhP-DuOfxCaz.js → Menu-C7N3gHcb-bEZ9k_XO.js} +1 -1
  105. package/dist/assets/{MyBankConnectionsSettingsPage-y3YOYnQr-D-9bdC9E.js → MyBankConnectionsSettingsPage-B4Pjmw7q-qUHzU9ca.js} +16 -16
  106. package/dist/assets/MyPendingActivationChargeCardListPage-COeIF-Gj-lF4Ynxvz.js +6 -0
  107. package/dist/assets/{MyProfileSettingsPage-hQvoACAQ-De4LQ2zP.js → MyProfileSettingsPage-Dv0V1Z6z-B0QjyZRW.js} +10 -10
  108. package/dist/assets/NavBarWithPicker-Dd5TPoA8-B5GD0shW.js +30 -0
  109. package/dist/assets/{NavigationArrow-ClEBtns--QcRQdXVR.js → NavigationArrow-xI3dolgO-CZbe0Kw1.js} +2 -2
  110. package/dist/assets/{NavigationDots-BsJyQWOZ-BDcajz6w.js → NavigationDots-CbSSDiyy-CF0bIpTT.js} +1 -1
  111. package/dist/assets/{NewGlobalMerchantPage-BKZGSrDk-l-MVFG0h.js → NewGlobalMerchantPage-vHNZ1z6p-DzCKZ31U.js} +13 -13
  112. package/dist/assets/{NoDataChart-Bk9eWo52-DcgFDiHH.js → NoDataChart-DHDhwnCE--JxqggmJ.js} +5 -5
  113. package/dist/assets/{NoDataTable-DCQbtvPN-DodiAtKz.js → NoDataTable-BnVKm6Qa-D-DP72-h.js} +1 -1
  114. package/dist/assets/{NotFoundPage-CGx7FoiU-UHTxKuRN.js → NotFoundPage-BNZEf9qH-DJyohjVl.js} +4 -4
  115. package/dist/assets/{NotificationSettingsPage-CoD8eTUS-BjZb9tDk.js → NotificationSettingsPage-DfnpY6qJ-IVv8rNvQ.js} +24 -24
  116. package/dist/assets/NotificationsListConfig-DtICI7X6-Ds4a71oz.js +1 -0
  117. package/dist/assets/{NotificationsPage-BavPSx1H-DHL13AeJ.js → NotificationsPage-Bg1mW_-3-Bqq3aGWJ.js} +86 -86
  118. package/dist/assets/OpExByVendorPage-qNgK4tMM-C2uybElE.js +100 -0
  119. package/dist/assets/{OverlayContainerPage-Dg-aOJQU-C9FBG3yb.js → OverlayContainerPage-ZbhbAqlg-Pe8QjCNe.js} +1 -1
  120. package/dist/assets/{PandLWithForecastPage-bSkidYRR-CDPJjYTV.js → PandLWithForecastPage-C8qE7xCZ-4J3Yl7J8.js} +14 -14
  121. package/dist/assets/{PaymentAccountSetupBillingAddressSection-CGIC_vLw-DbAjNAQ-.js → PaymentAccountSetupBillingAddressSection-DA77K9eY-KFOyfAw1.js} +17 -17
  122. package/dist/assets/{PeoplePage-C-2NZJpQ-BenUVGbg.js → PeoplePage-Chec7uSH-BJQiakcT.js} +22 -22
  123. package/dist/assets/PortfolioAllocationFormPage-B_lIRV75-2KTCiqQZ.js +207 -0
  124. package/dist/assets/{PortfolioDetails-Cpv5bi4_-BHPnb_oU.js → PortfolioDetails-Dm2r3i6b-CSqaBp0x.js} +29 -29
  125. package/dist/assets/{ProductsCarousel-WDd37Mjn-BH0jA9xy.js → ProductsCarousel-Ba0LHKrb-CXNqNsMy.js} +7 -7
  126. package/dist/assets/{PromoBaseCards-BaFkKGkm-Cz7eAULC.js → PromoBaseCards-D3gKG9qA-BnJ2PjWk.js} +7 -7
  127. package/dist/assets/{QBOConnectionDialog-l3ThoJCI-ChlbOfD6.js → QBOConnectionDialog-C8y2XvBN-DhJ_XJEx.js} +10 -10
  128. package/dist/assets/{QBOSetupSection-DSrxcrXI-CkvMDxrM.js → QBOSetupSection-DDGIRv8E-WWMe3MOR.js} +8 -8
  129. package/dist/assets/ReimbursementApprovalRuleDetailPage-Dc_vsL89-WjjIqi27.js +26 -0
  130. package/dist/assets/{ReimbursementApprovalRulesPage-fs4WqNUv-Bqd9-BoW.js → ReimbursementApprovalRulesPage-DsIFWYvA-BB4iiWOZ.js} +8 -8
  131. package/dist/assets/{ReimbursementDetailPage-BYw6Mc2u-BxuwZTKk.js → ReimbursementDetailPage-6KZSAl8R-DdvuKv3t.js} +19 -19
  132. package/dist/assets/ReimbursementPromoPage-Bijp59bV-Cpfy_AWs.js +112 -0
  133. package/dist/assets/ReimbursementSetUpPage-UW_9Cl4O-CgdV74cL.js +140 -0
  134. package/dist/assets/ReimbursementsBulkReviewDrawerPage-DblkkMcc-C0pmpacW.js +1 -0
  135. package/dist/assets/{ReloadCard-BPoOhxrs-kBbFGmsU.js → ReloadCard-BszztAdg-BGcTmGev.js} +3 -3
  136. package/dist/assets/{ReportTableViewSelector-CkZW5TtX-DumdDRTp.js → ReportTableViewSelector-DOnGrFNT-CJshToiT.js} +28 -28
  137. package/dist/assets/{ReportsPage-C-ARKbIQ-o9K1sd3F.js → ReportsPage-BfKLEriq-DUqc1b6J.js} +7 -7
  138. package/dist/assets/{RevenueChart-CuqZW-Jr-N4UQEA-E.js → RevenueChart-B5dfrWKL-CCXtRcm3.js} +1 -1
  139. package/dist/assets/{ReviewDetailsPage-BVN_Uym2-C5S7_prb.js → ReviewDetailsPage-BCo54ehm-CX79VGjq.js} +17 -17
  140. package/dist/assets/{ReviewOverlay-CIgtaUn1-BvAebQ4j.js → ReviewOverlay-BysN2GYI-B3EhPHzZ.js} +25 -25
  141. package/dist/assets/{RoleWithToolTip-Dm4yIm31-B7MerbZ_.js → RoleWithToolTip-BRe9iDOl-Q0pJSQDn.js} +2 -2
  142. package/dist/assets/{ScheduleDetailsFixedAssetsPage-Ce3z1VPg-BTEmNd7t.js → ScheduleDetailsFixedAssetsPage-gij2cBvS-C2Yl94k-.js} +8 -8
  143. package/dist/assets/{ScheduleDetailsPage-O69iLj4h-CjfWVecQ.js → ScheduleDetailsPage-DVm4cyKr-CgRDdyS9.js} +3 -3
  144. package/dist/assets/{ScheduleSequenceTable-DMIzc2zC-7wRpGkTy.js → ScheduleSequenceTable-aSVVm6mG-DGPmYAZ0.js} +15 -15
  145. package/dist/assets/{ScreenRoutes-DSJYi7xE.js → ScreenRoutes-VXm4ob92.js} +1 -1
  146. package/dist/assets/SetUpAccountSection-qYVA9A09-BONGuihD.js +378 -0
  147. package/dist/assets/{SignIn-CXQyYEJI-CDAsUoma.js → SignIn-BLt95c3U-Dlnl1w8u.js} +20 -20
  148. package/dist/assets/{SignInScreen-DfZrql6t.js → SignInScreen-DEaBPUrL.js} +1 -1
  149. package/dist/assets/{SpendManagementListViewPage-DEMLoStE-DOCGQBTb.js → SpendManagementListViewPage-Dav0JMKy-Dm4nEWMb.js} +13 -13
  150. package/dist/assets/{SpendManagementPerTabPage-CLf-7YyR-Dcu59y-5.js → SpendManagementPerTabPage-C-Y-BFqH-PpgBRx-N.js} +43 -43
  151. package/dist/assets/{SpendManagementSection-DIVgOKWy-DXji9rI6.js → SpendManagementSection-DGz-I0bf-BKzTZ_B1.js} +12 -12
  152. package/dist/assets/{StatementItem-CSyEn4Pz-Ceu9_WYP.js → StatementItem-2F2qxL7G-DvQ_AOWY.js} +5 -5
  153. package/dist/assets/StatementsPage-D8hwgVAz-Cub96aye.js +58 -0
  154. package/dist/assets/{StatusSwitcher-B77NoO6o--2WeeksA.js → StatusSwitcher-DBUg94S_-BAqpWDHz.js} +4 -4
  155. package/dist/assets/{SubTabSwitcher-baJGHUgJ-DvovvHUF.js → SubTabSwitcher-CoK8FOIA-DVmudC7o.js} +2 -2
  156. package/dist/assets/{SummaryCard-BvuRZj8f-T-eFM0LS.js → SummaryCard-D1KRVnqp-Dvy_al2s.js} +1 -1
  157. package/dist/assets/{TaskManagementPage-vG8GXEJA-BGipUdPV.js → TaskManagementPage-BhFEeDBu-Dz6ITwfD.js} +45 -45
  158. package/dist/assets/{TimeRangeSwitcher-CnoZ9Rqp-B5iNAfYV.js → TimeRangeSwitcher-4JrIq9xZ-CS5enEHL.js} +2 -2
  159. package/dist/assets/{TimeframeSwitcher-W5kHnuHI-BadD6oo8.js → TimeframeSwitcher-CjctaKq_-BTzm82tm.js} +1 -1
  160. package/dist/assets/{TimeframeSwitcherWithToggle-yLA5y4zJ-4o4duI3A.js → TimeframeSwitcherWithToggle-C0dRRCYf-DyMTP-so.js} +1 -1
  161. package/dist/assets/{TopExCard-oyXmygm8-BYyuzniq.js → TopExCard-CCBEun3e-2zjFnsRQ.js} +7 -7
  162. package/dist/assets/{TopExDetailPage-4HMIURzm-DnalCFp3.js → TopExDetailPage-DbwmOLnV-BBhCS5FY.js} +10 -10
  163. package/dist/assets/{TransactionDetailPage-CIw_7B72-CYXPG11l.js → TransactionDetailPage-DsQJU2de-Cs2qQW8e.js} +39 -39
  164. package/dist/assets/{TransactionList-B9M4ftBY-DwRVqc-5.js → TransactionList-BIMzvzrT-CfNPr3Oc.js} +12 -12
  165. package/dist/assets/{TransactionListBig-D5SRFdH7-DM-CzEo0.js → TransactionListBig-DiFiu66r-oT2afajE.js} +26 -26
  166. package/dist/assets/{TransactionListPage-DCiIH4ES-fcePVcVZ.js → TransactionListPage-7JveOMDe-B7fdmsSh.js} +6 -6
  167. package/dist/assets/{TransactionVendorDetailPage-BNY3vBm0-CW0SP2il.js → TransactionVendorDetailPage-A2F8TF9r-CbwnVt2A.js} +5 -5
  168. package/dist/assets/TransferDrawerPage-CCqQ3Daq-Daf8n1RY.js +362 -0
  169. package/dist/assets/{TreasuryOverviewPage-COFbWN48-BYeFpwIv.js → TreasuryOverviewPage-Bwy2y6eI-BKBfV02s.js} +42 -42
  170. package/dist/assets/{TreasuryPromoPage-EYqV98OG-NVU8LSqs.js → TreasuryPromoPage-B3P0nF1z-CmOyTb19.js} +17 -17
  171. package/dist/assets/{TreasurySetupPage-DEz3fabz-DDNrOk49.js → TreasurySetupPage-BgrgBBsW-fmJdf9pD.js} +9 -9
  172. package/dist/assets/TreasuryStatementsPage-DvCQhl_X-CgWR5LfD.js +58 -0
  173. package/dist/assets/TreasuryTaxLetterPage-iG8-cJFt-DtHFKc00.js +58 -0
  174. package/dist/assets/{TreasuryTransferOrReviewPage-D25tiep8-BNfZoc8Z.js → TreasuryTransferOrReviewPage-BZ5sPJAg-XRzfaj0V.js} +48 -48
  175. package/dist/assets/{TrendChart-xBdkrxjQ-C4056Hlf.js → TrendChart-_IpSJoUH-D_Xka3ge.js} +5 -5
  176. package/dist/assets/{TrendWithTransactions-CQdqelNB-DQo5xCdz.js → TrendWithTransactions-BqGV_CQg-C8WEVoW0.js} +8 -8
  177. package/dist/assets/{UncategorizedAccountsMappingPage-DaSjSoeK-DCzQZher.js → UncategorizedAccountsMappingPage-iK-1vllN-DE4gP4RH.js} +17 -17
  178. package/dist/assets/{UnitIntegrationPage-zM4qGyLV-BUih8kDy.js → UnitIntegrationPage-sYNoUudZ-MStTdQpl.js} +4 -4
  179. package/dist/assets/UploadAdditionalDocumentOverlay-DMtjF2N8-C2Be6sSI.js +38 -0
  180. package/dist/assets/{Vendor2FAPopup-DO-eL5Ot-DkBNux6r.js → Vendor2FAPopup--4Ufzmk0-CNai3nMR.js} +1 -1
  181. package/dist/assets/{VendorACHDetailsPage-BDROr_dC-BY7HbNfr.js → VendorACHDetailsPage-BD9WwdNN-CaWAjhaB.js} +1 -1
  182. package/dist/assets/{VendorDetailPage-B8S-gV53-DhUdJ0v4.js → VendorDetailPage-DwLCEthT-BvPUhXCZ.js} +21 -21
  183. package/dist/assets/{VendorDomesticWireDetailsPage-BrxQuXus-CKp63XIB.js → VendorDomesticWireDetailsPage-Y2SlFgHo-D65nqzrv.js} +1 -1
  184. package/dist/assets/{VendorFiling1099EditablePage-BK-XGzxl-BDsZSV4B.js → VendorFiling1099EditablePage-nGfjBA1D-OLG4m_gM.js} +16 -16
  185. package/dist/assets/{VendorFirstReviewPage-CrSdEY-q-B1bLGVGQ.js → VendorFirstReviewPage-Bgf9MtEn-Dtn_s7_m.js} +17 -17
  186. package/dist/assets/{VendorInternationalWireDetailsPage-DuE2n00d-CfT-V_5M.js → VendorInternationalWireDetailsPage-CMxyzCCL-CvcC_o3S.js} +8 -8
  187. package/dist/assets/{VendorInternationalWireSwiftDetailsPage-_0douojx-BYFNBvm2.js → VendorInternationalWireSwiftDetailsPage-C6rMWgzM-Ba3gVeFl.js} +1 -1
  188. package/dist/assets/{VendorsAccountsSection-C2McA3-C-Cb0CgKxi.js → VendorsAccountsSection-Ceq0cYf6-Cjsd_QQc.js} +2 -2
  189. package/dist/assets/{VerifyDevice-BOb4uKLq-DNkxVYQK.js → VerifyDevice-BTFRL9bH-BUJZK5YU.js} +5 -5
  190. package/dist/assets/{WarningsDrawerPage-f9lS8sCp-DvTpHrxU.js → WarningsDrawerPage-DSssRFm_-C1VqOBKj.js} +11 -11
  191. package/dist/assets/{ZeniAccountDetailPage-BnWDpR9g-BIlqd_yq.js → ZeniAccountDetailPage-C6q8N5tU-Dc_1K1Bi.js} +17 -17
  192. package/dist/assets/{ZeniAccountListViewPage-D9ORn0_O-9Rmkt-8p.js → ZeniAccountListViewPage-CqUvXrvR-ZqvC3boH.js} +19 -19
  193. package/dist/assets/ZeniAccountNavBarPieces-DcmtDKVQ-CBPL_oum.js +14 -0
  194. package/dist/assets/{ZeniAccountPromoPage-CswETXvx-BsmBi2Qk.js → ZeniAccountPromoPage-B6wyK1mQ-C0Tgm2fT.js} +28 -28
  195. package/dist/assets/ZeniAccountSetupPage-Dl83s-y4-B5nGAEOh.js +36 -0
  196. package/dist/assets/{ZeniCopyright-DrkcGEYL-BmTJIlKC.js → ZeniCopyright-BqG_ynZT-WDJiIgsT.js} +1 -1
  197. package/dist/assets/{ZeniTransferAmountSlider-Bw5S2HTx-DdoSkWzm.js → ZeniTransferAmountSlider-BZb23ypm-DU9mco3Q.js} +7 -7
  198. package/dist/assets/{analyticsHelper-C37dCyKv-CGyvCbtY.js → analyticsHelper-517kzICQ-BBH33il4.js} +1 -1
  199. package/dist/assets/{analyticsHelper-6vBfv0ec.js → analyticsHelper-CNrWxJzq.js} +1 -1
  200. package/dist/assets/{chartTypes-Cknnnhq_-DeXPyHuq.js → chartTypes-BTkUFFIf-HJpcoXWZ.js} +1 -1
  201. package/dist/assets/{commonDimensions-D0ovCC4N-CNPc1P_A.js → commonDimensions-Dw8Sh6Gv-a3To-vKo.js} +1 -1
  202. package/dist/assets/{detailCommon-CKa5_aP2-yoaB_aFJ.js → detailCommon-BA8Eb9ta-B1i92RWc.js} +11 -11
  203. package/dist/assets/downloadPdf-CDKlyJb--CILbJzzK.js +1 -0
  204. package/dist/assets/{index-b-ZazAq5.js → index-CjrcOwMA.js} +9891 -9282
  205. package/dist/assets/{mapLoadingInProgressToTreeNode-DttwbPj7-ClOsgYHo.js → mapLoadingInProgressToTreeNode-B16JI0nu-DSXwnXFw.js} +1 -1
  206. package/dist/assets/{mapSectionWithAcOnlyToTreeNode-CKUACdvT-DnNr7s_7.js → mapSectionWithAcOnlyToTreeNode-u05r0BKW-CAyI7F2S.js} +1 -1
  207. package/dist/assets/{mapSpacerToTreeNode-CeH4tptC-DDar-aaX.js → mapSpacerToTreeNode-DHlbGqUH-D80xjgLV.js} +1 -1
  208. package/dist/assets/{mapTimeframeBalancesToTreeNode-TLHaVbTv-CwUi2UE6.js → mapTimeframeBalancesToTreeNode-CGkPIsh6-Cf2XqEry.js} +1 -1
  209. package/dist/assets/{mapTimeframeBalancesToTreeNode-CElz2Cb0-yR23ijYO.js → mapTimeframeBalancesToTreeNode-ymtaozr7-oHeBpj1f.js} +1 -1
  210. package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-D96sl236-Ceni4bmN.js → mapTimeframeHeaderLoadingInProgressToTreeNode-C7X7F5Ac-BRCHhf6Z.js} +1 -1
  211. package/dist/assets/{play-icon-XWt7iQeF-BXe3XEM9.js → play-icon-B0_JAuQa-Bjb2tow6.js} +1 -1
  212. package/dist/assets/{toCOABalancesWithID-DACfD5ZE-DPBjMuXT.js → toCOABalancesWithID-B0nbXcq3-CLRAcvjs.js} +1 -1
  213. package/dist/assets/{toChartData-C6ap15NT-C4C_iiHg.js → toChartData-CZR7pH0W-CMEBURV_.js} +1 -1
  214. package/dist/assets/{treasuryColorHelper-DmVCoHv9-BvBjIWNj.js → treasuryColorHelper-99Jkq8AE-9boKU_Ao.js} +1 -1
  215. package/dist/assets/{uploadAttachment-D1XtO8---C1HecV0B.js → uploadAttachment-5GZYaQNG-D5JMjedW.js} +21 -21
  216. package/dist/assets/{uploadReceipts-Cl7e8jci-CgmtP8oE.js → uploadReceipts-CtQowT1I-Bg_9c22l.js} +1 -1
  217. package/dist/index.html +1 -1
  218. package/package.json +3 -3
  219. package/dist/assets/ACHDetailsPage-CVBRtacz-B-wXgcdL.js +0 -21
  220. package/dist/assets/AccountInfoPage-Bt-jShgf-D7-pY8Xy.js +0 -18
  221. package/dist/assets/ApprovalRulesSettingsPage-6j7VBBZ6-DtpGfRvd.js +0 -47
  222. package/dist/assets/BillPayApprovalRuleDetailPage-BI1R1zT_-B2pclG9C.js +0 -27
  223. package/dist/assets/BillPaySetUpPage-DqiNMnRE-CJW2K1WW.js +0 -42
  224. package/dist/assets/BillingSettingsPage-BOAAGOLs-EF78E3-A.js +0 -44
  225. package/dist/assets/ChargeCardListPage-_3lJqIYP-CjqfIBRz.js +0 -355
  226. package/dist/assets/ChargeCardSetupPage-CGRMFERy-nwvjRvTP.js +0 -36
  227. package/dist/assets/ChargeCardUtils-BcwLwgz7-DtCcFgNi.js +0 -1
  228. package/dist/assets/ChaseOverlay-ClcKUdpT-DsBdB3dn.js +0 -170
  229. package/dist/assets/CheckDepositDrawerPage-I3siSP2H-DOYShP5D.js +0 -206
  230. package/dist/assets/CreditCardPaymentPlgSection-8NQI5gcx-CYgVnwi-.js +0 -78
  231. package/dist/assets/CurrencySelectField-CVNn0XCq-id1wN7tu.js +0 -139
  232. package/dist/assets/CustomerOnboardingContainerPage-DoibuhLN-BAot3xFZ.js +0 -1
  233. package/dist/assets/CustomerOnboardingNoStepsPage-CD1QldcG-DOJTbsT8.js +0 -66
  234. package/dist/assets/CustomerOnboardingProductSuitePage-DGMmLmq8-Ba1Ge8Ql.js +0 -202
  235. package/dist/assets/DepositAccTransactionListPage-CfwhQ7mC-BpwI3LPz.js +0 -66
  236. package/dist/assets/EditPeoplePage-9SmQtrJz-CpjsvZ5X.js +0 -55
  237. package/dist/assets/InvitePeoplePage-C3vECRns-C0xQ6TWc.js +0 -12
  238. package/dist/assets/LabeledAddressValueField-_35LG3OI-D_e5OIiQ.js +0 -45
  239. package/dist/assets/MyPendingActivationChargeCardListPage-DJeYzaPj-shBILIuz.js +0 -6
  240. package/dist/assets/NavBarWithPicker-DUaSGf4d-CMjrmt-1.js +0 -30
  241. package/dist/assets/NotificationsListConfig-hyqVBWDA-ChVmChxH.js +0 -1
  242. package/dist/assets/OpExByVendorPage-DD8tCc8E-CwNf3ShD.js +0 -100
  243. package/dist/assets/PortfolioAllocationFormPage-B6JOvEvW-B8_jJPtJ.js +0 -207
  244. package/dist/assets/ReimbursementApprovalRuleDetailPage-hb8mPFw0-AvrXlJya.js +0 -26
  245. package/dist/assets/ReimbursementPromoPage-DzDuwRxU-B6R_66mk.js +0 -112
  246. package/dist/assets/ReimbursementSetUpPage-DdT6uu1--B5ymQEc4.js +0 -140
  247. package/dist/assets/ReimbursementsBulkReviewDrawerPage-CXvng56s-D22V4iw-.js +0 -1
  248. package/dist/assets/SetUpAccountSection-C1_QjMwF-D_Jc9DPP.js +0 -378
  249. package/dist/assets/SetUpDefaultSection-B-ZEHQUb-wT4VB7Bz.js +0 -174
  250. package/dist/assets/SpendMgmtSetupAccountSection-DFyUBsg3-CBY1E6Ip.js +0 -206
  251. package/dist/assets/StatementsPage-D34J2aZa-DVBVlsnj.js +0 -58
  252. package/dist/assets/TransferDrawerPage-DdgfrrRM-F6iL3sbI.js +0 -362
  253. package/dist/assets/TreasuryStatementsPage-JSf4JXXI-CCZGMWz5.js +0 -58
  254. package/dist/assets/TreasuryTaxLetterPage-Id6od0WY--LdWqgsE.js +0 -58
  255. package/dist/assets/UploadAdditionalDocumentOverlay-Y64l7Rho-CmfSD-Zu.js +0 -38
  256. package/dist/assets/ZeniAccountNavBarPieces-4jG3uNmW-ClvlddSI.js +0 -14
  257. package/dist/assets/ZeniAccountSetupPage-7B6Vgmg6-Cm9X_vfT.js +0 -36
  258. package/dist/assets/downloadPdf-BJozh7zE-DZm4gsxy.js +0 -1
@@ -1,362 +0,0 @@
1
- import{j as t,e as ue,_ as A,gT as lt,M as I,a0 as U,k as ve,h1 as ct,m as Ve,a4 as $e,o as a,C as c,a3 as Ye,L as dt,ao as ut,s as ft,c6 as De,d as be,n as fe,a2 as ce,f0 as pt,a as Xe,l as mt,c9 as ht,ab as gt,a1 as wt,c as Z,F as qe,f9 as ke,fa as Ae,fI as xt,bA as Te,fD as $t,h2 as Dt,q as o,d0 as bt,bN as Ue,bu as Tt,cF as yt,b5 as Ct,B as Ge,f5 as St,ds as vt,bw as Ze,fc as kt,fe as At}from"./index-b-ZazAq5.js";import{b as u,n}from"./vendor-rkTZJa59.js";import{v as Pt}from"./ZeniTransferAmountSlider-Bw5S2HTx-DdoSkWzm.js";import{r as Lt}from"./AccountInfoPageContent-Cc80eQeo-CgEfuzww.js";import"./mui-C42whWwM.js";import"./analytics-CBL_L82S.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";import"./downloadPdf-BJozh7zE-DZm4gsxy.js";import"./commonDimensions-D0ovCC4N-CNPc1P_A.js";const{common:de,spendManagement:{zeniAccounts:{zeniAccountList:b}}}=I.getLocalizedStrings(),He="amount",jt="transferTo",Pe="transferFrom",k="transferDetails",Je="transferDetailPage",ge=(e,r)=>`${e}.${r}`,Ke=e=>`${e}_form`,p={largeLabelWidth:new c(120,120,160),rowContentPaddingLeft:new c(o[3],o[4]),labeleMarginLeft:new c(o[0],o[0]),labelMarginRight:new c(o[3],o[3]),labeleMarginBottom:new c(o[2],o[0]),labeledFieldPaddingLeft:new c(o[3],o[0]),labeledFieldPaddingRight:new c(o[3],o[2]),labeledFieldPaddingTop:new c(o[3],o[3]),labeledFieldPaddingBottom:new c(o[3],o[2]),infoLabelPaddingRight:new c(o[0],o[3]),infoLabelMarginTop:new c(o[1],o[0]),controllerWrapperFlex:new c(1,o[0])};function zt({plaidConnectionDetails:e,transferDetails:r,zeniAccountsConfigDetail:g,isCalculatorOpen:$,showAnnualYieldEarned:T,transferAmount:w,yieldEarned:d,totalBalance:f,maxInsuredAmount:l,setIsCalculatorOpen:y,setShowAnnualYieldEarned:C,setTransferAmount:S,setYieldEarned:F,setTotalBalance:M,onSaveChangesToLocalStore:H,onBackClick:R,onEstablishConnectionClick:O,fireTrackTransferBetweenAccountsFormClicked:_,onFetchLinkTokenClick:J,onReviewClick:K}){const i=ue(),E=p.largeLabelWidth.value(i),[W,j]=u.useState(!1),m=e.link_account_no_microdeposit,[v,N]=u.useState(m.linkToken??null),[x,z]=u.useState(!1),[V,Y]=u.useState(!1),Q=r.transferMoneyPartiesFetchState,oe=ce(Q),X=r.transferDetailLocalData.transferFrom?.id,ee=r.transferDetailLocalData.transferTo?.id,ie=ce(X),ye=ce(ee),pe=r.transferMoneyParties.map(s=>s.id),me=ce(pe),Qe=u.useCallback(s=>{O?.(s),R(),Y(!1),z(!1)},[R,O]),et=u.useCallback((s,h)=>{s!=null&&console.log("Plaid Connection Error",s,h)},[]),{open:q,ready:te}=pt({token:v,onSuccess:Qe,onExit:et}),se=u.useCallback(s=>{s.preventDefault(),s.stopPropagation(),te?q():z(!0)},[q,te]),P=Xe({mode:"all",reValidateMode:"onBlur",defaultValues:u.useMemo(()=>Le(r,se),[r])});u.useEffect(()=>{m.fetchStatus.fetchState==="Completed"&&m.linkToken!=null&&m.linkToken!==v&&N(m.linkToken)},[m.fetchStatus.fetchState,m.linkToken,v]),u.useEffect(()=>{m.linkToken===v&&m.fetchStatus.fetchState==="Completed"&&te&&Y(!0)},[te,v,m.fetchStatus,m.linkToken,m.fetchStatus.fetchState]),u.useEffect(()=>{V&&x&&q()},[V,q,x]),u.useEffect(()=>{(mt.zeniDate(new Date().toISOString()).isAfter(m.expiration)||m.linkToken==null)&&J?.("link_account_no_microdeposit")},[]),u.useEffect(()=>{const s=me!=null&&JSON.stringify(me)!==JSON.stringify(pe);(oe==="In-Progress"&&Q==="Completed"||ie!==X||ye!==ee||s)&&P.reset(Le(r,()=>q()))},[te,v,m.fetchStatus.fetchState,oe,Q,ie,ye,ee,X,me,pe,P,r,q]);const{isValid:tt}=P.formState,at=async(s,h)=>{if(s!=null){const B={...h},le={amount:{amount:B[k].amount??0,currencyCode:"USD",currencySymbol:"$"},transferFrom:r.transferMoneyParties.find(ae=>ae.id===B[k].transferFrom.selectedOption),transferTo:r.transferMoneyParties.find(ae=>ae.id===B[k].transferTo.selectedOption)};H(le)}};u.useEffect(()=>{const s=P.watch((h,{name:B})=>{if(B!=null&&h!=null){const le=h[k]?.amount??0,ae=h[k]?.transferFrom,ot=h[k]?.transferTo,it=r.transferMoneyParties.find(he=>he.id===ae?.selectedOption),st=r.transferMoneyParties.find(he=>he.id===ot?.selectedOption);it?.accType==="paymentAccount"&&st?.accType==="depositAccount"&&le!==0?(y(!0),C(!0)):C(!1),S(le)}});return()=>{s.unsubscribe()}},[P,r.transferMoneyParties]),u.useEffect(()=>{const s=P.watch((h,{name:B})=>{B!=null&&h!=null&&ht(()=>at(B,h))});return()=>{s.unsubscribe()}}),u.useEffect(()=>{r.reviewTransferDetail.error!=null?j(!0):j(!1)},[r.reviewTransferDetail.error]);const nt=P.handleSubmit(()=>{tt&&(_("Review","Amount Details"),K())});u.useEffect(()=>{r.transferDetailLocalData.transferTo?.accType==="depositAccount"&&r.transferDetailLocalData.transferTo.accountBalance?.available?.amount===0&&r.transferDetailLocalData.transferFrom?.id==null&&P.setValue(`${k}.${Pe}`,{selectedOption:r.primaryPaymentAccount?.paymentAccountId,allOptions:ne(r,!0,se,!0,!0)})},[r.transferDetailLocalData.transferTo?.id]);const Ce=g.zeniAccountsConfigDetail.depositProductConfig.depositProducts,Se=Ce[Ce.length-1].annualPercentageYield.toString(),rt=gt(wt(l),l,de.currency.currencySymbol).toUpperCase();return t.jsx(t.Fragment,{children:m.fetchStatus.fetchState==="Completed"?t.jsxs(t.Fragment,{children:[W?t.jsx(Ft,{children:t.jsxs(Rt,{children:[t.jsxs(Et,{children:[t.jsx(Ot,{}),t.jsxs(_t,{children:[t.jsx(Wt,{children:r.reviewTransferDetail.error?.title}),t.jsx(Nt,{children:r.reviewTransferDetail.error?.message})]})]}),t.jsx(It,{children:t.jsx(na,{"data-testid":A("amount-details-error-close"),onClick:()=>{_("Cross","Amount Details"),j(!1)},style:{width:a.sp3,height:a.sp3,color:Z.heroLight}})})]})}):null,t.jsx(Vt,{children:U("0,0.[00]",r.transferDetailLocalData.amount)}),t.jsx(qe,{...P,children:t.jsxs(Mt,{id:Ke(Je),onSubmit:nt,children:[t.jsxs(ta,{children:[t.jsx(Re,{size:i,children:t.jsx(je,{label:{label:de.labels.transferFrom,width:E,style:{marginLeft:p.labeleMarginLeft.valuePx(i),marginBottom:p.labeleMarginBottom.valuePx(i),marginRight:p.labelMarginRight.valuePx(i)}},errorInfoLabel:b.transferDrawer.transferFromError,style:{paddingTop:p.labeledFieldPaddingTop.valuePx(i),paddingBottom:p.labeledFieldPaddingBottom.valuePx(i),paddingLeft:p.labeledFieldPaddingLeft.valuePx(i),paddingRight:p.labeledFieldPaddingRight.valuePx(i),border:"none",width:"100%",outline:"none",padding:0,display:i==="small"?"flex":"inherit"},infoLabelStyle:{textAlign:i==="small"?"left":"right",paddingRight:p.infoLabelPaddingRight.valuePx(i),marginTop:p.infoLabelMarginTop.valuePx(i)},singleSelectPickerField:{name:ge(k,Pe),placeholder:b.transferDrawer.transferFromPlaceholder,style:{position:"relative"},capitalizeOptions:!0,valueToLogo:(s,h)=>Ae(r.transferMoneyParties,s,h),valueToSubLabels:(s,h)=>ke(r.transferMoneyParties,s,h,!1),defaultValue:{selectedOption:r.transferDetailLocalData.transferFrom?.id,allOptions:ne(r,!0,se,!0,!0)},textAlignment:"right",registerOptions:{required:!0,validate:s=>s!=null&&!!s.selectedOption}}})}),t.jsx(Me,{}),t.jsx(Re,{size:i,children:t.jsx(aa,{size:i,children:t.jsx(je,{label:{label:de.labels.transferTo,width:E,style:{marginLeft:p.labeleMarginLeft.valuePx(i),marginBottom:p.labeleMarginBottom.valuePx(i),marginRight:p.labelMarginRight.valuePx(i)}},errorInfoLabel:b.transferDrawer.transferToError,style:{paddingTop:p.labeledFieldPaddingTop.valuePx(i),paddingBottom:p.labeledFieldPaddingBottom.valuePx(i),paddingLeft:p.labeledFieldPaddingLeft.valuePx(i),paddingRight:p.labeledFieldPaddingRight.valuePx(i),border:"none",width:"100%",outline:"none",padding:0,display:i==="small"?"flex":"inherit"},infoLabelStyle:{textAlign:i==="small"?"left":"right",paddingRight:p.infoLabelPaddingRight.valuePx(i),marginTop:p.infoLabelMarginTop.valuePx(i)},singleSelectPickerField:{name:ge(k,jt),placeholder:b.transferDrawer.transferToPlaceholder,capitalizeOptions:!0,style:{position:"relative"},valueToLogo:(s,h)=>Ae(r.transferMoneyParties,s,h),valueToSubLabels:(s,h)=>ke(r.transferMoneyParties,s,h,!1),defaultValue:{selectedOption:r.transferDetailLocalData.transferTo?.id,allOptions:ne(r,!1,se)},textAlignment:"right",registerOptions:{required:!0,validate:s=>s!=null&&!!s.selectedOption}}})})}),t.jsx(Me,{}),t.jsx(xt,{showAdditionalInfoLabel:!1,label:{label:de.labels.amount,width:E},additionalInfoLabel:b.transferDrawer.amountError,formattedTextField:{type:"number",name:ge(k,He),defaultValue:r.transferDetailLocalData.amount.amount===0?void 0:r.transferDetailLocalData.amount.amount,placeholder:b.transferDrawer.amountPlaceholder,returnValueType:"floatValue",prefix:"$",allowNegative:!1,isNumericString:!1,registerOptions:{required:!0,validate:s=>!!s&&s>0},autoComplete:"off",decimalSeparator:".",decimalScale:2,fixedDecimalScale:!1,thousandSeparator:!0,allowLeadingZeros:!1},style:{width:"auto"}})]}),t.jsxs(Ut,{children:[$?t.jsxs(Yt,{children:[t.jsx(Xt,{children:b.transferDrawer.calculator.heading.replace("__rate__",Se).replace("__amount__",rt)}),t.jsx(Pt,{minStep:.01,currentAccountBalance:r.transferDetailLocalData.transferTo?.accountBalance?.available?.amount??0,transferAmount:w,zeniAccountsConfigDetail:g,setYieldEarned:F,setTotalBalance:M})]}):null,t.jsxs(Gt,{windowSize:i,children:[t.jsx(Jt,{windowSize:i,children:T?t.jsxs(t.Fragment,{children:[t.jsxs(Zt,{children:[t.jsx(ze,{children:`${b.transferDrawer.calculator.footerText.annualYieldEarned} ${U("0,0",{amount:d,currencySymbol:"$"})}`}),t.jsx(Te,{variant:"small-description",display:"flex",data:b.transferDrawer.calculator.footerText.annualYieldEarnedTooltipText,placement:i==="small"?"bottom":"right",children:t.jsx(qt,{})})]}),t.jsx(Ht,{windowSize:i}),t.jsx(Kt,{children:`${b.transferDrawer.calculator.footerText.forTotalBalance} ${U("0,0",{amount:f,currencySymbol:"$"})}`})]}):t.jsx(ze,{children:b.transferDrawer.calculator.footerText.earnUptoText.replace("__rate__",Se)})}),$?t.jsxs(Fe,{windowSize:i,onClick:()=>y(!1),"data-testid":A("calculator-footer-close"),children:[t.jsx(Be,{className:"calculatorFooterLeftText",children:b.transferDrawer.calculator.footerText.hide}),t.jsx(Qt,{className:"calculatorFooterArrowIcon"})]}):t.jsxs(Fe,{windowSize:i,onClick:()=>y(!0),"data-testid":A("calculator-footer-show"),children:[t.jsx(Be,{className:"calculatorFooterLeftText",children:b.transferDrawer.calculator.footerText.showYieldCalculator}),t.jsx(ea,{className:"calculatorFooterArrowIcon"})]})]})]})]})})]}):t.jsx(Ve,{size:"Standard",start:!0,style:{display:"flex",justifyContent:"center",alignItems:"center",height:"calc(100vh - 500px)"}})})}const ne=(e,r,g,$=!1,T=!1)=>{const w=e.transferMoneyParties.map(d=>{const f={label:d.label,value:d.id};return $&&(r?f.isDisabled=d.id===e?.transferDetailLocalData?.transferTo?.id||d.accType==="paymentAccount"&&e.transferDetailLocalData.transferTo?.accType==="paymentAccount":f.isDisabled=d.id===e.transferDetailLocalData.transferFrom?.id||d.accType==="paymentAccount"&&e.transferDetailLocalData.transferFrom?.accType==="paymentAccount"),f});if(T){const d={label:b.transferDrawer.selectAddAccount,value:"",type:"button",onClick:g};w.push(d)}return w},Le=(e,r)=>({transferDetails:{[He]:e.transferDetailLocalData.amount.amount===0?void 0:e.transferDetailLocalData.amount.amount,transferFrom:{allOptions:ne(e,!0,r,!0,!0),selectedOption:e.transferDetailLocalData.transferFrom?.id!=null?e.transferDetailLocalData.transferFrom?.id:Bt(e)},transferTo:{allOptions:ne(e,!1,r,!0,!1),selectedOption:e.transferDetailLocalData.transferTo?.id}}}),Bt=e=>e.transferDetailLocalData.transferTo?.accType==="depositAccount"&&e.transferDetailLocalData.transferTo?.accountBalance?.available?.amount===0?e.primaryPaymentAccount?.paymentAccountId:void 0,Ft=n.div`
2
- margin-top: ${a.sp3};
3
- display: flex;
4
- background-color: ${e=>e.theme.colors.grey5};
5
- justify-content: space-between;
6
- padding: ${a.sp3} ${a.sp4};
7
- border: ${e=>`1px solid ${e.theme.colors.grey3}`};
8
- border-radius: ${a.sp2};
9
- box-shadow: ${e=>`${a.sp0} 2px 2px ${e.theme.colors.dropShadowNormal}`};
10
- `,Mt=n.form`
11
- display: flex;
12
- flex-direction: column;
13
- justify-content: center;
14
- align-items: center;
15
- `,Rt=n.div`
16
- display: flex;
17
- width: 100%;
18
- justify-content: space-between;
19
- padding: ${a.sp3} ${a.sp4};
20
- background-color: ${Z.importantLight};
21
- border-radius: ${a.sp2};
22
- `,Et=n.div`
23
- display: flex;
24
- align-items: flex-start;
25
- `,It=n.div``,Ot=n(bt)`
26
- width: ${a.sp4};
27
- height: ${a.sp4};
28
- color: ${Z.important};
29
- `,_t=n.div`
30
- display: flex;
31
- flex-direction: column;
32
- margin-left: ${a.sp2};
33
- `,Wt=n(Ue)`
34
- color: ${Z.important};
35
- `,Nt=n(fe)`
36
- color: ${Z.important};
37
- `,Vt=n(Tt)`
38
- color: ${e=>e.theme.colors.primary};
39
- margin: ${a.sp5} ${a.sp0} ${a.sp3} ${a.sp0};
40
- `,je=n(yt)`
41
- border-radius: ${a.sp2};
42
- border: ${e=>`1px solid ${e.theme.colors.grey3}`};
43
- `,Yt=n.div`
44
- background-color: ${e=>e.theme.colors.background};
45
- border: 1px solid ${e=>e.theme.colors.grey3};
46
- border-top: none;
47
- min-height: 182px;
48
- display: flex;
49
- justify-content: center;
50
- align-items: center;
51
- flex-direction: column;
52
- `,Xt=n(fe)`
53
- color: ${e=>e.theme.colors.hero};
54
- margin: ${a.sp3} ${a.sp8};
55
- margin-bottom: ${a.sp3};
56
- margin-top: ${a.sp3};
57
- white-space: pre-line;
58
- `,ze=n(Ue)`
59
- color: ${Z.success};
60
- white-space: nowrap;
61
- `,qt=n(Ct)`
62
- width: ${a.sp3};
63
- color: ${e=>e.theme.colors.hero};
64
- height: ${a.sp3};
65
- &:hover {
66
- color: ${e=>e.theme.colors.primary};
67
- }
68
- `,Ut=n.div`
69
- margin-bottom: ${a.sp6};
70
- width: 90%;
71
- `,Gt=n.div`
72
- display: flex;
73
- align-items: center;
74
- flex-direction: ${e=>e.windowSize==="small"?"column":"row"};
75
- justify-content: space-between;
76
- padding: ${a.sp2} ${a.sp3};
77
- background-color: ${e=>e.theme.colors.grey3};
78
- border-bottom-right-radius: ${a.sp1};
79
- border-bottom-left-radius: ${a.sp1};
80
- `,Zt=n.div`
81
- display: flex;
82
- flex-direction: row;
83
- align-items: center;
84
- `,Be=n(be)`
85
- color: ${e=>e.theme.colors.hero};
86
- cursor: pointer;
87
- `,Fe=n.div`
88
- display: flex;
89
- flex-direction: row;
90
- align-items: center;
91
- gap: 6px;
92
- align-self: ${e=>e.windowSize==="small"?"flex-end":"center"};
93
- &:hover {
94
- .calculatorFooterLeftText {
95
- color: ${e=>e.theme.colors.primary};
96
- }
97
- .calculatorFooterArrowIcon {
98
- color: ${e=>e.theme.colors.primary};
99
- }
100
- }
101
- `,Ht=n.div`
102
- display: ${e=>e.windowSize==="small"?"none":"block"};
103
- width: ${a.sp1};
104
- height: ${a.sp1};
105
- min-width: ${a.sp1};
106
- margin: 0 ${a.sp2};
107
- background-color: ${e=>e.theme.colors.grey1};
108
- border-radius: 50%;
109
- `,Jt=n.div`
110
- display: flex;
111
- flex-direction: ${e=>e.windowSize==="small"?"column":"row"};
112
- align-items: ${e=>e.windowSize==="small"?"flex-start":"center"};
113
- width: ${e=>e.windowSize==="small"?"100%":"unset"};
114
- `,Kt=n(Ge)`
115
- color: ${e=>e.theme.colors.hero};
116
- `,Qt=n(St)`
117
- cursor: pointer;
118
- width: 12px;
119
- height: 12px;
120
- min-width: 12px;
121
- min-height: 12px;
122
- color: ${e=>e.theme.colors.hero};
123
- `,ea=n(vt)`
124
- cursor: pointer;
125
- width: 12px;
126
- height: 12px;
127
- min-width: 12px;
128
- min-height: 12px;
129
- color: ${e=>e.theme.colors.hero};
130
- `,ta=n.div`
131
- display: flex;
132
- flex-direction: column;
133
- width: 100%;
134
- background-color: ${e=>e.theme.colors.grey5};
135
- border: 1px solid ${e=>e.theme.colors.grey3};
136
- box-shadow: ${e=>`${a.sp0} 2px ${a.sp1} ${e.theme.colors.dropShadowNormal}`};
137
- border-radius: ${a.sp2};
138
- `,Me=n.div`
139
- display: flex;
140
- flex: 1;
141
- background-color: ${e=>e.theme.colors.grey3};
142
- min-height: 1px;
143
- max-height: 1px;
144
- `,Re=n.div`
145
- display: flex;
146
- flex-direction: row;
147
- padding: ${a.sp2};
148
- padding-left: ${e=>p.rowContentPaddingLeft.valuePx(e.size)};
149
- justify-content: space-between;
150
- color: ${e=>e.theme.colors.hero};
151
- &:hover {
152
- z-index: 1;
153
- outline: 1px solid ${e=>e.theme.colors.primary};
154
- .select-control {
155
- background-color: ${e=>e.theme.colors.background};
156
- }
157
- }
158
- &:focus-within {
159
- border-color: ${e=>e.theme.colors.primary};
160
- color: ${e=>e.theme.colors.primary};
161
- z-index: 2;
162
- outline: 1px solid ${e=>e.theme.colors.primary};
163
- }
164
- :first-of-type {
165
- border-top-left-radius: inherit;
166
- border-top-right-radius: inherit;
167
- }
168
- `,aa=n.div`
169
- width: 100%;
170
- display: flex;
171
- flex-grow: ${e=>p.controllerWrapperFlex.value(e.size)};
172
- align-items: flex-start;
173
- `,na=n(Ye)`
174
- cursor: pointer;
175
- color: ${e=>e.theme.colors.hero};
176
- width: ${a.sp4};
177
- height: ${a.sp4};
178
- min-height: ${a.sp4};
179
- &:hover {
180
- color: ${e=>e.theme.colors.primary};
181
- }
182
- `,re={navBarContainerPaddingXaxis:new c(10,19),containerPaddingLeft:new c(16,40,56),containerPaddingRight:new c(16,40,56),successContentMargin:new c(o[3],o[12]),buttonTrayGap:new c(o[4],o[5])},D=I.getLocalizedStrings().spendManagement.zeniAccounts.zeniAccountList,ra=({transferDetails:e,isCalculatorOpen:r,showAnnualYieldEarned:g,transferAmount:$,yieldEarned:T,totalBalance:w,maxInsuredAmount:d,zeniAccountsConfigDetail:f,fireTrackTransferBetweenAccountsFormClicked:l,onSaveChangesToLocalStore:y,onTransferClick:C,onDismissClick:S,onAnotherTransferClick:F,onEstablishConnectionClick:M,onBackClick:H,onFetchLinkTokenClick:R,plaidConnectionDetails:O,showReviewContent:_,setShowReviewContent:J,setCurrentDrawerContent:K,clearReviewTransferDetail:i,onReviewClick:E,setIsCalculatorOpen:W,setShowAnnualYieldEarned:j,setTransferAmount:m,setYieldEarned:v,setTotalBalance:N})=>{const x=ue(),z=e.reviewTransferDetail,V=e.transferDetailLocalData.transferFrom?.accType==="depositAccount"&&e.transferDetailLocalData.transferTo?.accType==="depositAccount",Y=()=>e.transferDetailLocalData.transferFrom?.id!=null||e.transferDetailLocalData.transferTo?.id!=null||e.transferDetailLocalData.amount.amount>0;return t.jsx(sa,{windowSize:x,children:e.fetchState==="Completed"?t.jsxs(Ie,{windowSize:x,isTransferCompleted:!0,children:[t.jsx(Oe,{windowSize:x,children:t.jsx(_e,{"data-testid":A("cross-transfer-success-close-button"),onClick:()=>{l("Cross","Transfer Success"),S?.()}})}),t.jsxs(da,{windowSize:x,children:[t.jsx(lt,{width:150,height:150,shouldDisplay:!0,animationInLoop:1}),t.jsx(la,{children:V?t.jsxs(t.Fragment,{children:[D.transferDrawer.internal.transferSuccessMsgPrefix,t.jsx(Ee,{children:U("0,0.[00]",e.transferDetailLocalData.amount)}),D.transferDrawer.internal.transferSuccessMsgMidfix,`"${e.transferDetailLocalData.transferFrom?.label}"`,D.transferDrawer.internal.transferSuccessMsgMidfix2,`"${e.transferDetailLocalData.transferTo?.label}".`]}):t.jsxs(t.Fragment,{children:[D.transferDrawer.external.transferSuccessMsgPrefix,t.jsx(Ee,{children:U("0,0.[00]",e.transferDetailLocalData.amount)}),D.transferDrawer.external.transferSuccessMsgMidfix,`"${e.transferDetailLocalData.transferFrom?.label}"`,D.transferDrawer.external.transferSuccessMsgMidfix1,`"${e.transferDetailLocalData.transferTo?.label}".`,z.reviewTransferMoney.isShowDailyAchLimitWarning?null:D.transferDrawer.external.transferSuccessMsgMidfix2]})}),t.jsxs(ca,{windowSize:x,children:[t.jsx(ve,{variant:"secondary",label:D.transferDrawer.anotherTransferBtn,"data-testid":A("another-transfer-button"),onClick:()=>{l("Another Transfer","Transfer Success"),N(0),W(!1),v(0),j(!1),F()},style:{minWidth:200}}),t.jsx(ve,{variant:"primary",label:D.transferDrawer.backToChecking,"data-testid":A("back-to-checking-button"),onClick:()=>{l("Back to Checking","Transfer Success"),S?.()},style:{minWidth:200}})]})]})]}):_?t.jsx(ct,{transferDetails:e,setCurrentDrawerContent:K,setShowReviewContent:J,onTransferClick:C,clearReviewTransferDetail:i,reviewTransferDetail:z,fireTrackTransferBetweenAccountsFormClicked:l}):t.jsxs(t.Fragment,{children:[t.jsxs(Ie,{windowSize:x,isTransferCompleted:!1,children:[t.jsx(Oe,{windowSize:x,children:t.jsx(_e,{"data-testid":A("cross-amount-details-close-button"),onClick:()=>{l("Cross","Amount Details"),S?.()}})}),x==="small"?t.jsx(ua,{windowSize:x,children:D.transferDrawer.title}):t.jsx(fa,{children:D.transferDrawer.title}),x==="small"?t.jsx(ia,{children:D.transferDrawer.subTitle}):t.jsx(oa,{children:D.transferDrawer.subTitle}),e.transferMoneyPartiesFetchState==="Completed"?t.jsx(zt,{isCalculatorOpen:r,showAnnualYieldEarned:g,transferAmount:$,yieldEarned:T,totalBalance:w,onBackClick:H,onSaveChangesToLocalStore:y,plaidConnectionDetails:O,transferDetails:e,zeniAccountsConfigDetail:f,onEstablishConnectionClick:M,onFetchLinkTokenClick:R,onReviewClick:E,setIsCalculatorOpen:W,setShowAnnualYieldEarned:j,setTransferAmount:m,setYieldEarned:v,setTotalBalance:N,fireTrackTransferBetweenAccountsFormClicked:l,maxInsuredAmount:d}):t.jsx(Ve,{size:"Standard",start:!0,style:{display:"flex",justifyContent:"center",alignItems:"center",height:"calc(100vh - 500px)"}})]}),Y()?t.jsx($e,{style:{zIndex:4,paddingTop:a.sp3,paddingBottom:a.sp3},formId:Ke(Je),helperStyle:{paddingTop:a.sp0,paddingBottom:a.sp0},primaryBtn:{label:I.getLocalizedStrings().common.review,isLoading:z.fetchState==="In-Progress"},cancelBtn:{label:D.transferDrawer.cancelBtn,onClick:()=>{l("Cancel","Amount Details"),S?.()}}}):null]})})},oa=n(fe)`
183
- color: ${e=>e.theme.colors.hero};
184
- `,ia=n(be)`
185
- color: ${e=>e.theme.colors.hero};
186
- `,sa=n.div`
187
- display: flex;
188
- flex-direction: column;
189
- background-color: ${e=>e.theme.colors.grey4};
190
- overflow-x: hidden;
191
- height: 100vh;
192
- width: 100%;
193
- `,la=n(dt)`
194
- color: ${e=>e.theme.colors.primary};
195
- text-align: center;
196
- `,Ee=n(ut)`
197
- display: inline;
198
- `,Ie=n.div`
199
- height: ${e=>e.isTransferCompleted?"100%":"auto"};
200
- padding-left: ${e=>`${re.containerPaddingLeft.valuePx(e.windowSize)}`};
201
- padding-right: ${e=>`${re.containerPaddingRight.valuePx(e.windowSize)}`};
202
- margin-bottom: auto;
203
- `,ca=n.div`
204
- display: flex;
205
- justify-content: center;
206
- flex-direction: ${e=>e.windowSize==="small"?"column-reverse":"row"};
207
- margin-top: ${a.sp6};
208
- gap: ${e=>`${re.buttonTrayGap.valuePx(e.windowSize)}`};
209
- `,da=n.div`
210
- height: 80%;
211
- display: flex;
212
- flex-direction: column;
213
- justify-content: center;
214
- margin: ${e=>`${a.sp0} ${re.successContentMargin.valuePx(e.windowSize)}`};
215
- align-items: center;
216
- `,Oe=n.div`
217
- display: flex;
218
- flex-direction: row-reverse;
219
- justify-content: space-between;
220
- align-items: center;
221
- width: 100%;
222
- top: ${a.sp0};
223
- padding: ${e=>`${re.navBarContainerPaddingXaxis.valuePx(e.windowSize)} ${a.sp0}`};
224
- z-index: 2;
225
- background-color: ${e=>e.theme.colors.grey4};
226
- `,_e=n(Ye)`
227
- cursor: pointer;
228
- color: ${e=>e.theme.colors.hero};
229
- width: ${a.sp4};
230
- height: ${a.sp4};
231
- min-height: ${a.sp4};
232
- &:hover {
233
- color: ${e=>e.theme.colors.primary};
234
- }
235
- `,ua=n(ft)`
236
- color: ${e=>e.theme.colors.primary};
237
- margin-top: ${a.sp3};
238
- margin-bottom: ${a.sp0};
239
- margin-right: ${a.sp3};
240
- `,fa=n(De)`
241
- color: ${e=>e.theme.colors.primary};
242
- margin-top: ${a.sp3};
243
- margin-bottom: ${a.sp2};
244
- `,G={accountRowLeftRightPadding:new c(o[3],o[3]),zeniAccountListPaddingBottom:new c(o[3],o[6]),navBarContainerPaddingXaxis:new c(10,19),containerPaddingLeft:new c(o[3],o[6],o[8]),containerPaddingRight:new c(o[3],o[6],o[8])},We="wireTransferDetailPage",Ne=e=>`${e}_form`,pa=I.getLocalizedStrings().spendManagement.zeniAccounts.zeniAccountList.transferDrawer,we=I.getLocalizedStrings().common,ma=e=>t.jsx(va,{color:kt(e)}),ha=({depositAccountListView:e,setCurrentDrawerContent:r,selectedAccount:g,setShowWireAccountInfo:$,setSelectedAccount:T,fireTrackTransferBetweenAccountsFormClicked:w})=>{const d=Xe({mode:"all",reValidateMode:"onChange",defaultValues:{selectedAccountId:g?.id}}),f=ue();return u.useEffect(()=>{const l=d.watch(()=>{const y=e.depositAccounts.find(C=>C.id===d.getValues("selectedAccountId"));T(y)});return()=>{l.unsubscribe()}}),e.fetchState!="Completed"?t.jsx($t,{fetchState:e.fetchState}):t.jsxs(t.Fragment,{children:[t.jsxs(ga,{windowSize:f,children:[t.jsx(Ca,{windowSize:f,children:t.jsx(Te,{style:{marginTop:a.sp1},title:we.navBar.back,enterDelay:600,placement:"bottom",children:t.jsx(ya,{"data-testid":A("select-zeni-account-back-button"),onClick:()=>{w("Back","Select Account for Split Transfer"),r("achTransfer")}})})}),t.jsx(Sa,{windowSize:f,children:pa.selectYour}),t.jsx(qe,{...d,children:t.jsx("form",{id:Ne(We),onSubmit:d.handleSubmit(()=>{w("Next","Select Account for Split Transfer"),$(!0)}),children:t.jsx(Ta,{windowSize:f,children:e.depositAccounts.map((l,y)=>t.jsx(ba,{isClickEnabled:!0,windowSize:f,"data-testid":A("deposit-account-click",l.id),onClick:()=>d.setValue("selectedAccountId",l.id),children:t.jsxs(wa,{children:[t.jsx(Dt,{name:"selectedAccountId",id:l.id,value:l.id,radioSize:"small",style:{marginRight:8}}),ma(y),t.jsxs(xa,{children:[t.jsx(Da,{windowSize:f,children:l.accountName}),t.jsx($a,{children:U("0,0[.]00",l.accountBalance?.available)})]})]})},l.id))})})})]}),g!=null?t.jsx($e,{style:{zIndex:4,paddingTop:a.sp3,paddingBottom:a.sp3},formId:Ne(We),cancelBtn:{label:we.cancel,onClick:()=>{w("Cancel","Select Account for Split Transfer"),r("achTransfer")},style:{width:93}},primaryBtn:{label:we.next,style:{width:93}}}):null]})},ga=n.div`
245
- height: auto;
246
- padding-left: ${e=>`${G.containerPaddingLeft.valuePx(e.windowSize)}`};
247
- padding-right: ${e=>`${G.containerPaddingRight.valuePx(e.windowSize)}`};
248
- margin-bottom: auto;
249
- `,wa=n.div`
250
- display: flex;
251
- align-items: center;
252
- width: 100%;
253
- `,xa=n.div`
254
- max-width: calc(100% - 30px);
255
- width: calc(100% - ${a.sp6});
256
- white-space: nowrap;
257
- overflow: hidden;
258
- position: relative;
259
- top: 2px;
260
- `,$a=n(Ge)`
261
- color: ${e=>e.theme.colors.grey1};
262
- position: relative;
263
- top: -${a.sp1};
264
- `,Da=n(be)`
265
- color: ${e=>e.theme.colors.hero};
266
- max-width: ${`calc(100% - ${a.sp3})`};
267
- text-transform: capitalize;
268
- overflow: hidden;
269
- `,ba=n.div`
270
- padding-left: ${e=>G.accountRowLeftRightPadding.valuePx(e.windowSize)};
271
- padding-right: ${e=>G.accountRowLeftRightPadding.valuePx(e.windowSize)};
272
- background: ${e=>e.theme.colors.grey5};
273
- border: 1px solid ${e=>e.theme.colors.grey3};
274
- box-shadow: ${e=>`${a.sp0} 2px ${a.sp1} ${e.theme.colors.dropShadowNormal} `};
275
- border-radius: ${a.sp2};
276
- margin-bottom: ${a.sp3};
277
- display: flex;
278
- flex-direction: row;
279
- justify-content: space-between;
280
- box-sizing: border-box;
281
- max-height: ${a.sp8};
282
- cursor: ${e=>e.isClickEnabled?"pointer":"default"};
283
- &:hover {
284
- border-color: ${e=>e.theme.colors.primary};
285
- color: ${e=>e.isClickEnabled?e.theme.colors.champion:e.theme.colors.hero};
286
- }
287
- `,Ta=n.div`
288
- padding-bottom: ${e=>G.zeniAccountListPaddingBottom.valuePx(e.windowSize)};
289
- `,ya=n(Ze)`
290
- cursor: pointer;
291
- color: ${e=>e.theme.colors.hero};
292
- width: ${a.sp4};
293
- height: ${a.sp4};
294
- min-height: ${a.sp4};
295
- &:hover {
296
- color: ${e=>e.theme.colors.primary};
297
- }
298
- `,Ca=n.div`
299
- display: flex;
300
- flex-direction: row;
301
- justify-content: flex-start;
302
- align-items: center;
303
- width: 100%;
304
- top: ${a.sp0};
305
- padding: ${e=>`${G.navBarContainerPaddingXaxis.valuePx(e.windowSize)} ${a.sp0}`};
306
- z-index: 2;
307
- background-color: ${e=>e.theme.colors.grey4};
308
- `,Sa=n(De)`
309
- color: ${e=>e.theme.colors.primary};
310
- padding: ${a.sp3} ${a.sp0} ${a.sp5} ${a.sp0};
311
- `,va=n(At)`
312
- min-width: ${a.sp5};
313
- width: ${a.sp5};
314
- height: ${a.sp5};
315
- margin-right: ${a.sp2};
316
- padding: 12px ${a.sp0};
317
- box-sizing: content-box;
318
- `,{common:{navBar:{back:ka}}}=I.getLocalizedStrings(),L={pageTitleMarginXAxis:new c(o[0],o[8]),navBarContainerPaddingXaxis:new c(10,19),pageContentPaddingLeftRight:new c(o[3],o[0]),navBarContainerMarginLeftRight:new c(o[0],o[8]),descriptionMarginLeftRight:new c(o[0],o[8]),accountInfoPageWrapperMarginLeft:new c(o[0],o[8]),accountInfoPageWrapperMarginRight:new c(o[0],o[5]),accountInfoPageWrapperMarginBottom:new c(o[5],o[8])},xe=I.getLocalizedStrings().spendManagement.zeniAccounts.zeniAccountList.transferDrawer,Aa=({authParams:e,downloadAccountDetailEndPoint:r,depositAccount:g,zeniAccountsConfigDetail:$,currentTenant:T,onDismissClick:w,fireTrackTransferBetweenAccountsFormClicked:d,setShowWireAccountInfo:f})=>{const l=ue();return t.jsxs(t.Fragment,{children:[t.jsxs(La,{windowSize:l,children:[t.jsx(za,{windowSize:l,children:t.jsx(Te,{title:ka,enterDelay:600,placement:"bottom",children:t.jsx(ja,{"data-testid":A("wire-transfer-account-info-back-button"),onClick:()=>{d("Back","Wire Transfer Details"),f(!1)}})})}),t.jsx(Ma,{windowSize:l,children:xe.wireInstruction.replace("__accountName__",g.accountName)}),t.jsx(Ba,{windowSize:l,children:t.jsx(Fa,{children:xe.wireTransferDescriptionLine1})}),t.jsx(Pa,{windowSize:l,children:t.jsx(Lt,{authParams:e,downloadAccountDetailEndPoint:r,currentTab:"wireDetails",zeniAccountsConfigDetail:$,currentTenant:T,depositAccount:g})})]}),t.jsx($e,{style:{zIndex:4,paddingTop:a.sp3,paddingBottom:a.sp3},cancelBtn:{label:""},primaryBtn:{label:xe.backToChecking,onClick:()=>{d("Back to Checking","Wire Transfer Details"),w()}},showCancel:!1,showPrimaryButton:!0})]})},Pa=n.div`
319
- margin-left: ${e=>`${L.accountInfoPageWrapperMarginLeft.valuePx(e.windowSize)}`};
320
- margin-right: ${e=>`${L.accountInfoPageWrapperMarginRight.valuePx(e.windowSize)}`};
321
- margin-bottom: ${e=>`${L.accountInfoPageWrapperMarginBottom.valuePx(e.windowSize)}`};
322
- `,La=n.div`
323
- height: auto;
324
- padding: ${e=>`${a.sp0} ${L.pageContentPaddingLeftRight.valuePx(e.windowSize)}`};
325
- margin-bottom: auto;
326
- `,ja=n(Ze)`
327
- cursor: pointer;
328
- color: ${e=>e.theme.colors.hero};
329
- width: ${a.sp4};
330
- height: ${a.sp4};
331
- min-height: ${a.sp4};
332
- &:hover {
333
- color: ${e=>e.theme.colors.primary};
334
- }
335
- `,za=n.div`
336
- display: flex;
337
- flex-direction: row;
338
- justify-content: flex-start;
339
- align-items: center;
340
- width: 100%;
341
- top: ${a.sp0};
342
- padding: ${e=>`${L.navBarContainerPaddingXaxis.valuePx(e.windowSize)} ${a.sp0}`};
343
- z-index: 2;
344
- background-color: ${e=>e.theme.colors.grey4};
345
- margin: ${e=>`${a.sp0} ${L.navBarContainerMarginLeftRight.valuePx(e.windowSize)}`};
346
- `,Ba=n(fe)`
347
- color: ${e=>e.theme.colors.hero};
348
- margin-left: ${e=>L.descriptionMarginLeftRight.valuePx(e.windowSize)};
349
- margin-right: ${e=>L.descriptionMarginLeftRight.valuePx(e.windowSize)};
350
- margin-bottom: ${a.sp7};
351
- `,Fa=n.div``,Ma=n(De)`
352
- color: ${e=>e.theme.colors.primary};
353
- padding: ${a.sp3} ${a.sp0} ${a.sp2} ${a.sp0};
354
- margin: ${e=>`${a.sp0} ${L.pageTitleMarginXAxis.valuePx(e.windowSize)} `};
355
- `,Ra=({zeniAccountsConfigDetail:e,depositAccountListView:r,downloadAccountDetailEndPoint:g,authParams:$,selectedAccountId:T,currentTenant:w,setCurrentDrawerContent:d,fireTrackTransferBetweenAccountsFormClicked:f,onDismissClick:l})=>{const[y,C]=u.useState(!1),[S,F]=u.useState(r.depositAccounts.find(M=>M.id===T));return y&&S!=null?t.jsx(Aa,{downloadAccountDetailEndPoint:g,authParams:$,currentTenant:w,zeniAccountsConfigDetail:e,depositAccount:S,onDismissClick:l,setShowWireAccountInfo:C,fireTrackTransferBetweenAccountsFormClicked:f}):t.jsx(ha,{depositAccountListView:r,setCurrentDrawerContent:d,selectedAccount:S,setShowWireAccountInfo:C,setSelectedAccount:F,fireTrackTransferBetweenAccountsFormClicked:f})},Ja=({transferDetails:e,zeniAccountsConfigDetail:r,depositAccountListView:g,maxInsuredAmount:$,currentTenant:T,showReviewContent:w,currentDrawerContent:d,downloadAccountDetailEndPoint:f,authParams:l,analytics:y,setCurrentDrawerContent:C,setShowReviewContent:S,onSaveChangesToLocalStore:F,onTransferClick:M,onReviewClick:H,onDismissClick:R,onAnotherTransferClick:O,onEstablishConnectionClick:_,onBackClick:J,clearReviewTransferDetail:K,onFetchLinkTokenClick:i,plaidConnectionDetails:E})=>{const[W,j]=u.useState(!1),[m,v]=u.useState(!1),[N,x]=u.useState(0),[z,V]=u.useState(0),[Y,Q]=u.useState(0),oe=()=>{const X=(ee,ie)=>y.trackTransferBetweenAccountsFormClicked(ee,ie,e.transferDetailLocalData.transferFrom?.label,e.transferDetailLocalData.transferTo?.label,e.transferDetailLocalData.amount.amount,e.reviewTransferDetail.reviewTransferMoney.isShowDailyAchLimitWarning,e.reviewTransferDetail.reviewTransferMoney.transferSchedules.length,e.transferDetailLocalData.transferFrom?.accType==="paymentAccount"&&e.transferDetailLocalData.transferTo?.accType==="depositAccount"&&r.zeniAccountsConfigDetail.depositProductConfig.depositProducts?.[0].range?.[1]!=null&&e.transferDetailLocalData.amount.amount>r.zeniAccountsConfigDetail.depositProductConfig.depositProducts[0].range[1]);return d==="achTransfer"?t.jsx(ra,{transferDetails:e,isCalculatorOpen:W,showAnnualYieldEarned:m,transferAmount:N,yieldEarned:z,totalBalance:Y,zeniAccountsConfigDetail:r,fireTrackTransferBetweenAccountsFormClicked:X,onSaveChangesToLocalStore:F,onTransferClick:M,onDismissClick:R,onAnotherTransferClick:O,onEstablishConnectionClick:_,onBackClick:J,onFetchLinkTokenClick:i,plaidConnectionDetails:E,setCurrentDrawerContent:C,clearReviewTransferDetail:K,onReviewClick:H,setShowReviewContent:S,showReviewContent:w,setIsCalculatorOpen:j,setShowAnnualYieldEarned:v,setTransferAmount:x,setYieldEarned:V,setTotalBalance:Q,maxInsuredAmount:$}):t.jsx(Ra,{zeniAccountsConfigDetail:r,depositAccountListView:g,selectedAccountId:e.transferDetailLocalData.transferTo?.id,currentTenant:T,downloadAccountDetailEndPoint:f,authParams:l,fireTrackTransferBetweenAccountsFormClicked:X,setCurrentDrawerContent:C,onDismissClick:R})};return t.jsx(Ea,{children:oe()})},Ea=n.div`
356
- display: flex;
357
- flex-direction: column;
358
- background-color: ${e=>e.theme.colors.grey4};
359
- overflow-x: hidden;
360
- height: 100%;
361
- width: 100%;
362
- `;export{Ja as default};
@@ -1,58 +0,0 @@
1
- import{u as j,e as v,j as t,aW as z,M as C,aj as M,o as r,c,bZ as P,C as I,q as d,n as R}from"./index-b-ZazAq5.js";import{b as m,n as o}from"./vendor-rkTZJa59.js";import{$ as T}from"./BoxItem-DCsIK5bA-DmT1xtf2.js";import{o as B}from"./commonDimensions-D0ovCC4N-CNPc1P_A.js";import{M as E}from"./StatementItem-CSyEn4Pz-Ceu9_WYP.js";import"./mui-C42whWwM.js";import"./analytics-CBL_L82S.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";import"./downloadPdf-BJozh7zE-DZm4gsxy.js";const h=C.getLocalizedStrings().spendManagement.treasury.statements,x={listItemMargin:new I(d[3],d[8])},ee=({currentTenantCompanyName:e,authParams:u,downloadEndPoint:w,statementListView:a,onBackClick:b})=>{const g=j(),i=v(),f=m.createRef(),y=m.useRef(),$=a.statements.length===0,k=()=>B.transactionItemHeightResponsive.value(i),S=({index:s,style:n})=>{const l=a.statements[s];return $===!1?t.jsx(p,{windowSize:i,style:{...n,width:`calc(100% - 2*${x.listItemMargin.valuePx(i)})`},children:t.jsx(E,{currentTenantCompanyName:e,accountLast4:"",data:l,authParams:u,downloadEndPoint:w,documentType:"treasuryStatement",boxType:T(s,a.statements.length)},l.id)}):t.jsx(L,{style:{...n},children:t.jsx(N,{children:t.jsx(p,{windowSize:i,children:t.jsx(H,{children:h.noStatements})})})})};return t.jsxs(A,{children:[t.jsx(z,{title:h.title,backgroundColor:g.colors.grey4,style:{zIndex:3},onBackClick:b,source:"treasury"}),t.jsx(K,{windowSize:i,children:t.jsx(M,{children:({height:s,width:n})=>t.jsx(V,{ref:f,height:s,width:n,innerRef:y,itemKey:l=>l,itemCount:a.statements.length,itemSize:k,initialScrollOffset:0,children:S})})})]})},L=o.div``,p=o.div`
2
- margin: ${e=>`${r.sp0} ${x.listItemMargin.valuePx(e.windowSize)}`};
3
- &:hover {
4
- position: relative;
5
- z-index: 2;
6
- }
7
- `,N=o.div`
8
- display: flex;
9
- height: 100%;
10
- flex: 1 1 auto;
11
- flex-direction: row;
12
- justify-content: center;
13
- align-items: flex-end;
14
- `,A=o.div`
15
- display: flex;
16
- height: 100%;
17
- flex-direction: column;
18
- width: 100%;
19
- padding-bottom: ${r.sp7};
20
- `,H=o(R)`
21
- display: flex;
22
- color: ${e=>e.theme.colors.grey2};
23
- `,K=o.div`
24
- display: flex;
25
- flex-direction: column;
26
- width: 100%;
27
- height: 100%;
28
- margin-top: ${e=>e.windowSize==="small"?r.sp3:r.sp6};
29
- `,V=o(P)`
30
- scrollbar-width: thin;
31
- scrollbar-color: transparent transparent;
32
- &::-webkit-scrollbar {
33
- width: ${r.sp2};
34
- height: ${r.sp0};
35
- background-color: transparent;
36
- }
37
- &::-webkit-scrollbar-track {
38
- box-shadow: inset 0 0 2px ${c.scrollbarBoxShadow};
39
- -webkit-box-shadow: inset 0 0 2px ${c.scrollbarBoxShadow};
40
- background-color: transparent;
41
- }
42
- &::-webkit-scrollbar-thumb {
43
- background-color: transparent;
44
- }
45
-
46
- &:hover {
47
- scrollbar-color: ${e=>e.theme.colors.grey1} transparent;
48
- &::-webkit-scrollbar {
49
- width: ${r.sp2};
50
- height: ${r.sp0};
51
- background-color: transparent;
52
- }
53
- &::-webkit-scrollbar-thumb {
54
- background-color: ${e=>e.theme.colors.grey1};
55
- border-radius: 2px;
56
- }
57
- }
58
- `;export{ee as default};
@@ -1,58 +0,0 @@
1
- import{u as S,e as v,j as t,aW as L,M as z,aj as C,o as r,c,bZ as M,C as P,q as d,n as T}from"./index-b-ZazAq5.js";import{b as h,n as o}from"./vendor-rkTZJa59.js";import{$ as I}from"./BoxItem-DCsIK5bA-DmT1xtf2.js";import{o as R}from"./commonDimensions-D0ovCC4N-CNPc1P_A.js";import{M as B}from"./StatementItem-CSyEn4Pz-Ceu9_WYP.js";import"./mui-C42whWwM.js";import"./analytics-CBL_L82S.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";import"./downloadPdf-BJozh7zE-DZm4gsxy.js";const m=z.getLocalizedStrings().spendManagement.treasury.taxLetter,x={listItemMargin:new P(d[3],d[8])},ee=({currentTenantCompanyName:e,authParams:w,downloadEndPoint:u,taxLetterListView:a,onBackClick:b})=>{const g=S(),i=v(),f=h.createRef(),y=h.useRef(),$=a.taxLetters.length===0,k=()=>R.transactionItemHeightResponsive.value(i),j=({index:s,style:n})=>{const l=a.taxLetters[s];return $===!1?t.jsx(p,{windowSize:i,style:{...n,width:`calc(100% - 2*${x.listItemMargin.valuePx(i)})`},children:t.jsx(B,{currentTenantCompanyName:e,accountLast4:"",data:l,authParams:w,downloadEndPoint:u,documentType:"taxLetter",boxType:I(s,a.taxLetters.length)},l.id)}):t.jsx(E,{style:{...n},children:t.jsx(N,{children:t.jsx(p,{windowSize:i,children:t.jsx(H,{children:m.noTaxLetter})})})})};return t.jsxs(A,{children:[t.jsx(L,{title:m.title,backgroundColor:g.colors.grey4,style:{zIndex:3},onBackClick:b,source:"treasury"}),t.jsx(K,{windowSize:i,children:t.jsx(C,{children:({height:s,width:n})=>t.jsx(V,{ref:f,height:s,width:n,innerRef:y,itemKey:l=>l,itemCount:a.taxLetters.length,itemSize:k,initialScrollOffset:0,children:j})})})]})},E=o.div``,p=o.div`
2
- margin: ${e=>`${r.sp0} ${x.listItemMargin.valuePx(e.windowSize)}`};
3
- &:hover {
4
- position: relative;
5
- z-index: 2;
6
- }
7
- `,N=o.div`
8
- display: flex;
9
- height: 100%;
10
- flex: 1 1 auto;
11
- flex-direction: row;
12
- justify-content: center;
13
- align-items: flex-end;
14
- `,A=o.div`
15
- display: flex;
16
- height: 100%;
17
- flex-direction: column;
18
- width: 100%;
19
- padding-bottom: ${r.sp7};
20
- `,H=o(T)`
21
- display: flex;
22
- color: ${e=>e.theme.colors.grey2};
23
- `,K=o.div`
24
- display: flex;
25
- flex-direction: column;
26
- width: 100%;
27
- height: 100%;
28
- margin-top: ${e=>e.windowSize==="small"?r.sp3:r.sp6};
29
- `,V=o(M)`
30
- scrollbar-width: thin;
31
- scrollbar-color: transparent transparent;
32
- &::-webkit-scrollbar {
33
- width: ${r.sp2};
34
- height: ${r.sp0};
35
- background-color: transparent;
36
- }
37
- &::-webkit-scrollbar-track {
38
- box-shadow: inset 0 0 2px ${c.scrollbarBoxShadow};
39
- -webkit-box-shadow: inset 0 0 2px ${c.scrollbarBoxShadow};
40
- background-color: transparent;
41
- }
42
- &::-webkit-scrollbar-thumb {
43
- background-color: transparent;
44
- }
45
-
46
- &:hover {
47
- scrollbar-color: ${e=>e.theme.colors.grey1} transparent;
48
- &::-webkit-scrollbar {
49
- width: ${r.sp2};
50
- height: ${r.sp0};
51
- background-color: transparent;
52
- }
53
- &::-webkit-scrollbar-thumb {
54
- background-color: ${e=>e.theme.colors.grey1};
55
- border-radius: 2px;
56
- }
57
- }
58
- `;export{ee as default};
@@ -1,38 +0,0 @@
1
- import{a as k,ff as x,a2 as U,l as _,e as q,M as W,j as i,c9 as A,F as G,_ as J,fg as H,o as a,c as K,cj as Q,a4 as X,C as y,a3 as Y,c6 as Z,ap as ee,ao as te,q as c}from"./index-b-ZazAq5.js";import{b as m,n as l}from"./vendor-rkTZJa59.js";const F={marginRight:new y(c[3],c[8]),marginLeft:new y(c[3],c[8]),height:new y(c[5],62)},f="additionalDocumentsForm",s="ssnCard";function fe(e){const{filesEndPoint:w,authParams:E,companyOfficer:t,updateStatus:u,onClose:$,onEditFileName:I,onDeleteFile:P,updateFilesEntity:v,onSendForVerificationClick:D,onCompanyOfficerUpdated:C}=e,n=k({mode:"all",reValidateMode:"onChange",defaultValues:m.useMemo(()=>({additionalDocumentsForm:{selectDocumentType:s,front:x(!0,t?.additionalFiles??[],s)}}),[t?.additionalFiles])}),[z,S]=m.useState(!1),[N,O]=m.useState(!1),b=U(u.fetchState),j=t?.deleteFileStatusById??{},B=t?.updateFileStatusById??{},T=Object.values(j??{}).filter(o=>o!=null),L=_.reduceAllFetchState(T);m.useEffect(()=>{b==="In-Progress"&&u.fetchState==="Completed"&&n.reset({additionalDocumentsForm:{selectDocumentType:s,front:x(!0,t?.additionalFiles??[],s)}})},[b,u,n,t?.additionalFiles]);const r=q(),h=W.getLocalizedStrings().commonSetUp.businessVerification,{additionalDocumentsOverlay:g}=h,V=`${g.officerInfoLabel} ${t?.firstName??""} ${t?.lastName??""}`,M=n.handleSubmit(()=>{L.fetchState!=="In-Progress"&&D?.(t?.officerType??"Officer_1")}),R=async(o,p)=>{const d=p[f].front;o.includes("front")&&d?.fileId!=null?(C?.(t?.officerType??"Officer_1",[d?.fileId]),S(!0)):S(!1)};return m.useEffect(()=>{const o=n.watch((p,{name:d})=>{d!=null&&p!=null&&A(()=>R(d,p))});return()=>{o.unsubscribe()}}),i.jsx(G,{...n,children:i.jsxs("form",{id:f,onSubmit:M,children:[i.jsxs(re,{size:r,children:[i.jsx(oe,{size:r,children:i.jsx(ne,{size:r,onClick:$,"data-testid":J("upload-additional-documents-close",f)})}),i.jsxs(de,{children:[i.jsx(ie,{children:g.title[s]}),i.jsx(ae,{children:g.description[s]})]}),i.jsx(le,{children:i.jsx(se,{children:V})}),i.jsx(H,{name:f,allFiles:t?.additionalFiles??[],label:{width:276},sizeLimit:Q,style:{width:"100%",borderRadius:a.sp2,boxShadow:`${a.sp0} 1px 2px ${a.sp0} ${K.boxShadowElevation}`},isDocumentSelectDisabled:!0,defaultValue:{defaultSelectDocumentType:s,allSelectDocumentType:[s],files:{front:x(!0,t?.additionalFiles??[],s)}},acceptableTypes:["image/jpg","image/jpeg","image/png","image/heic","image/heif"],officerIndex:0,deleteFileStatusById:j,updateFileStatusById:B,filesEndPoint:w,authParams:E,hasError:N,onEditFileName:I,onDeleteFile:P,updateFilesEntity:v,onFileSizeError:o=>O(o),registerOptions:{required:!0},companyOfficerName:{firstName:t?.firstName??"",lastName:t?.lastName??""},showWebCamPopUpCloseIcon:!1})]}),z?i.jsx(X,{formId:f,primaryBtn:{label:h.sendForVerificationButton,style:{width:"auto",minWidth:r==="small"?"auto":"181px"},isLoading:u.fetchState==="In-Progress"},cancelBtn:{label:h.cancel,style:{width:r==="small"?"auto":"181px"},onClick:$},style:{position:"absolute",width:"100%"}}):null]})})}const ie=l(Z)`
2
- margin-top: 19px;
3
- color: ${e=>e.theme.colors.primary};
4
- margin-bottom: ${a.sp2};
5
- display: flex;
6
- justify-content: flex-start;
7
- `,ae=l(ee)`
8
- color: ${e=>e.theme.colors.hero};
9
- white-space: pre-line;
10
- display: flex;
11
- justify-content: flex-start;
12
- `,se=l(te)`
13
- color: ${e=>e.theme.colors.primary};
14
- white-space: pre-line;
15
- `,le=l.div`
16
- padding: ${a.sp3} ${a.sp0};
17
- `,oe=l.div`
18
- height: ${e=>F.height.valuePx(e.size)};
19
- `,ne=l(Y)`
20
- cursor: pointer;
21
- width: ${a.sp4};
22
- height: ${a.sp4};
23
- position: absolute;
24
- right: ${e=>e.size==="small"?a.sp4:a.sp8};
25
- top: 19px;
26
- color: ${e=>e.theme.colors.hero};
27
- &:hover {
28
- color: ${e=>e.theme.colors.primary};
29
- }
30
- `,re=l.div`
31
- margin-right: ${e=>F.marginRight.valuePx(e.size)};
32
- margin-left: ${e=>F.marginLeft.valuePx(e.size)};
33
- `,de=l.div`
34
- padding: ${a.sp3} ${a.sp0};
35
- display: flex;
36
- flex-direction: column;
37
- justify-content: center;
38
- `;export{fe as g};
@@ -1,14 +0,0 @@
1
- import{Y as P,fp as $,l as j,M as O,j as a,_ as w,gq as p,gV as u,o as s,gs as z}from"./index-b-ZazAq5.js";import{n as d}from"./vendor-rkTZJa59.js";const o=O.getLocalizedStrings().spendManagement.zeniAccounts,m=[{value:"editNickName",label:o.moveMoney.editNickName},{value:"accountStatement",label:o.moveMoney.accountStatement}],y={value:"payBill",label:o.moveMoney.payBills},g={value:"transfer",label:o.moveMoney.transfer},v={value:"sendMoney",label:o.moveMoney.sendMoney,isNew:!0},M={value:"checkDeposit",label:o.moveMoney.checkDeposit},A=[y,g,v,M],B=[v,g,y,M],I=({zeniBankProps:e,isBillPayEnabled:f,isExpressPayEnabled:x,analytics:h,onSettingsClick:b})=>{const i=P(),l=i.loggedInUserRoleMap.deposit_accounts_user===!0||$(i),k=j.hasBillPayAccess(i.loggedInUserRoleMap),S=m.filter(t=>t.value==="accountStatement"),c=f===!0?A:B,r=x===!0?c:c.filter(t=>t.value!=="sendMoney"),N=k?r:r.filter(t=>t.value!=="payBill");return a.jsxs(_,{isTopAlign:e.pageName==="detailPage",children:[e.pageName==="listPage"&&!l?a.jsx(E,{onClick:b,"data-testid":w("zeni-accounts-settings-button")}):e.pageName==="detailPage"&&a.jsx(p,{entity:"zeni_accounts",onOptionSelection:t=>{const n=u(t);n!=null&&e.onOptionSelection(n)},isMoreOption:!0,options:l?S:m,title:o.moveMoney.title}),l?null:a.jsx(p,{entity:"zeni_accounts",onOptionSelection:t=>{const n=u(t);n!=null&&e.onOptionSelection(n)},isMoreOption:!1,options:N,title:o.moveMoney.title,onMenuOpen:()=>h?.trackAccountsListPageClicked("Move Money")})]})},E=d(z)`
2
- cursor: pointer;
3
- min-width: ${s.sp4};
4
- width: ${s.sp4};
5
- height: ${s.sp4};
6
- color: ${e=>e.theme.colors.hero};
7
- &:hover {
8
- color: ${e=>e.theme.colors.primary};
9
- }
10
- `,_=d.div`
11
- display: flex;
12
- flex-direction: row;
13
- align-items: ${({isTopAlign:e})=>e?"flex-start":"center"};
14
- `;export{I as T};
@@ -1,36 +0,0 @@
1
- import{u as Se,e as we,a2 as I,a as be,c9 as Ae,M as xe,a8 as U,j as t,cO as Ce,c as Pe,C as d,aW as ke,m as Fe,F as ve,dO as je,aS as Te,a4 as ze,o as Ee,q as a,n as Ve}from"./index-b-ZazAq5.js";import{b as f,n as S}from"./vendor-rkTZJa59.js";import{D as De}from"./HelpButton-D9ONg6cm-Be59SjbC.js";import{q as Oe}from"./SetUpDefaultSection-B-ZEHQUb-wT4VB7Bz.js";import{f as $e}from"./SpendMgmtSetupAccountSection-DFyUBsg3-CBY1E6Ip.js";import{g as Ie}from"./UploadAdditionalDocumentOverlay-Y64l7Rho-CmfSD-Zu.js";import"./mui-C42whWwM.js";import"./analytics-CBL_L82S.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";import"./MeetingCalenderPopup-B_KRQLwc-Dk4sRI3u.js";import"./ChargeCardUtils-BcwLwgz7-DtCcFgNi.js";import"./CreditCardPaymentPlgSection-8NQI5gcx-CYgVnwi-.js";import"./ChaseOverlay-ClcKUdpT-DsBdB3dn.js";const c={titleWidth:new d(343,580,726,826),setupDetailsRowGap:new d(12,a[5],a[5]),sectionRowGap:new d(a[5],a[9],a[9]),iconWidthHeight:new d(20,a[4]),subTitlePaddingTop:new d(12,a[3]),subTitlePaddingBottom:new d(a[3],a[3]),overlayWidth:new d(100,100,59)},B="zeniAccountSetUpPage",k="payAccount",{common:Ue,commonSetUp:R,spendManagement:Be}=xe.getLocalizedStrings(),{zeniAccounts:q}=Be,{zeniAccountSetUp:z}=q,{setUp:E}=R,st=({isDisabled:e,meetingUrl:F,zeniAccountSetUpView:p,analytics:l,connectedAccountProvider:s,filesEndPoint:_,authParams:H,accountsPromoConfig:M,onFetchLinkTokenClick:Z,onBackClick:N,onEnableZeniAccountClick:G,onUpdatePrimaryFundingAccount:J,onUpdateZeniAccountClick:K,onBusinessVerificationSectionClick:Q,onUpdatePaymentAccountStatus:X,onUpdatePaymentAccountLoginStatus:Y,onEstablishConnectionClick:ee,onEstablishConnectionSuccess:te,onClickMenuIcon:ne,onEnableZeniAccountSuccess:w,onEditFileName:ie,onDeleteFile:oe,updateFilesEntity:ce,onCompanyOfficerUpdated:ae,onSendForVerificationClick:se})=>{const b=Se(),i=we(),[A,h]=f.useState(!1),{fetchState:g,companyBillPayInfo:V,isRefreshingViewInBackground:le,updateStatus:r,accountUpdateStatus:re,plaidConnectionDetails:ue,allBankAccounts:de,companyZeniAccountInfo:pe,selectedCompanyOfficer:o,primaryFundingAccount:m,allFundingAccounts:D}=p,O=I(g),x=I(r.fetchState),v=be({mode:"all",reValidateMode:"onChange",defaultValues:f.useMemo(()=>L(p),[p]),values:L(p)}),me=v.handleSubmit(y=>{l.trackEnableZeniAccounts(),G()}),fe=async(y,P)=>{const n=P[k];if(y.includes(k)){if(y.includes("fundingAccount")){if(n.fundingAccount.selectedOption!=null&&m?.id!=n.fundingAccount.selectedOption){const u=D.find(T=>T.id===n.fundingAccount.selectedOption);u!=null&&J(n.fundingAccount.selectedOption,u.accType)}}else if(n.account.selectedOption!=null&&m?.id!=null&&m?.zeniAccountId!=n.account.selectedOption){const u=n.account.allOptions.find(T=>T.value===n.account.selectedOption);u!=null&&typeof u.label=="string"&&l.trackConnectBankLink(u.value,u.label,"zeni_accounts"),K(n.account.selectedOption,m.id,m.accType)}}};f.useEffect(()=>{!A&&o?.additionalDocumentTypesRequestedForVerification.includes("social_security_card")===!0&&o.areAdditionalDocumentsRequestedForVerification&&!o.areAdditionalDocumentsSubmittedForVerification&&o.userVerificationStatus?.code==="require_info"&&h(!0),A&&O==="In-Progress"&&g==="Completed"&&h(!1)},[o,g,O]),f.useEffect(()=>{const y=v.watch((P,{name:n})=>{n!=null&&P!=null&&Ae(()=>fe(n,P))});return()=>{y.unsubscribe()}}),f.useEffect(()=>{x==="In-Progress"&&r.fetchState==="Completed"&&w()},[w,x,r.fetchState]);const C=pe?.isZeniAccountEnabled===!0,j=V?.isBusinessVerified===!0,he=g==="In-Progress"||g==="Not-Started";f.useEffect(()=>{x==="In-Progress"&&r.fetchState==="Completed"&&w()},[w,x,r.fetchState]);const ge=j?R.setUp.setupVerifiedSubTitle:z.setupSubTitle,$=b.mode==="light"?new U(b.colors.brandColorJadeLight):new U(b.colors.brandColorJadeDark),ye=()=>{!A&&o?.additionalDocumentTypesRequestedForVerification.includes("social_security_card")===!0&&o.areAdditionalDocumentsRequestedForVerification&&!o.areAdditionalDocumentsSubmittedForVerification&&o.userVerificationStatus?.code==="require_info"?h(!0):Q?.()};return t.jsxs(We,{children:[t.jsx(Ce,{anchor:"right",PaperProps:{style:{width:c.overlayWidth.valuePercentage(i),boxShadow:"none"}},open:A,onClose:()=>h(!1),style:{backgroundColor:Pe.drawerBackground},transitionDuration:250,children:t.jsx(Ie,{authParams:H,filesEndPoint:_,updateStatus:r,onEditFileName:ie,onDeleteFile:oe,updateFilesEntity:ce,companyOfficer:o,onClose:()=>h(!1),onCompanyOfficerUpdated:ae,onSendForVerificationClick:se})}),t.jsx(ke,{title:z.setupTitle,backgroundColor:b.colors.grey4,style:{zIndex:3},onBackClick:N,showMenuIcon:!C&&(i==="medium-compact"||i==="small"),onClickMenuIcon:ne,source:"ZeniAccountSetupPage"}),t.jsxs(Le,{windowSize:i,children:[t.jsx(Re,{windowSize:i,children:ge}),he?t.jsx(qe,{children:t.jsx(Fe,{size:"ExtraLarge",start:!0})}):t.jsx(ve,{...v,children:t.jsx("form",{id:W(B),onSubmit:me,children:t.jsxs(_e,{windowSize:i,children:[t.jsx(Oe,{onClick:ye,title:E.businessVerificationTitle,subTitle:E.businessVerificationSubTitle,header:E.businessVerificationHeader,icon:{element:t.jsx(je,{width:c.iconWidthHeight.valuePx(i),height:c.iconWidthHeight.valuePx(i)}),color:$},status:V?.businessVerificationStatus,isLoading:le,isActiveWhileLoading:!0}),t.jsx($e,{connectedAccountProvider:s,plaidConnectionDetails:ue,allBankAccounts:de,sectionId:k,isDisabled:e,header:q.accountSectionHeader,onFetchLinkTokenClick:Z,onEstablishConnectionClick:ee,onUpdatePaymentAccountStatus:X,onUpdatePaymentAccountLoginStatus:Y,onEstablishConnectionSuccess:te,icon:{element:t.jsx(Te,{width:c.iconWidthHeight.valuePx(i),height:c.iconWidthHeight.valuePx(i)}),color:$},analytics:l,productType:"zeni_accounts",primaryFundingAccount:m,isAccountsEnabled:C,allFundingAccounts:D,pageName:"Zeni Account Setup",accountsPromoConfig:M})]})})})]}),j&&!C?t.jsx(ze,{formId:W(B),primaryBtn:{label:z.enableAccounts,style:{width:"auto",minWidth:i==="small"?"auto":"181px"},isLoading:r.fetchState==="In-Progress"||re.fetchState==="In-Progress",isDisabled:e!=null},showCancel:!1,cancelBtn:{label:Ue.strings.empty},style:{padding:`12px ${Ee.sp3}`}}):null,t.jsx(De,{isFooterRendered:j&&!C,meetingUrl:F,analytics:l,productType:"zeni_accounts"})]})},L=e=>{const{allBankAccounts:F,allFundingAccounts:p,primaryFundingAccount:l}=e;return{[k]:{fundingAccount:{selectedOption:l?.id,allOptions:p.map(s=>({label:s.label,value:s.id,isRecommended:s.accType==="depositAccount"}))},account:{selectedOption:l?.zeniAccountId,allOptions:F.map(s=>({label:s.accountName,value:s.accountId}))}}}},Le=S.div`
2
- display: flex;
3
- justify-content: flex-start;
4
- height: 100%;
5
- overflow-y: auto;
6
- flex-direction: column;
7
- align-items: center;
8
- row-gap: ${e=>c.setupDetailsRowGap.valuePx(e.windowSize)};
9
- `,We=S.div`
10
- display: flex;
11
- min-height: 100%;
12
- height: 100%;
13
- flex-direction: column;
14
- width: 100%;
15
- background-color: ${e=>e.theme.colors.grey4};
16
- `,Re=S(Ve)`
17
- color: ${e=>e.theme.colors.hero};
18
- display: flex;
19
- justify-content: center;
20
- width: ${e=>c.titleWidth.valuePx(e.windowSize)};
21
- padding-top: ${e=>c.subTitlePaddingTop.valuePx(e.windowSize)};
22
- padding-bottom: ${e=>c.subTitlePaddingBottom.valuePx(e.windowSize)};
23
- text-align: ${e=>e.windowSize==="small"?"initial":"center"};
24
- `,qe=S.div`
25
- display: flex;
26
- width: 100%;
27
- height: calc(100vh - 110px);
28
- flex-direction: row;
29
- justify-content: center;
30
- align-items: center;
31
- background-color: ${e=>e.theme.colors.grey4};
32
- `,_e=S.div`
33
- display: flex;
34
- flex-direction: column;
35
- row-gap: ${e=>c.sectionRowGap.valuePx(e.windowSize)};
36
- `,W=e=>`${e}_form`;export{st as default,W as uniqueName};
@@ -1 +0,0 @@
1
- import{bK as l,bL as f,bM as d}from"./index-b-ZazAq5.js";async function w(e,o,s,t,r=!1){t?.(!0);try{const a=await l({urlEndPoint:e,authParams:s,fileType:"pdf"});if(a.ok){const i=f(a.headers,o),n=await a.arrayBuffer();d(n,r?i:o),t?.(!1)}else console.error(`${o} download Failed with ${a.statusText}`),t?.(!1)}catch(a){console.error(`${o} download Failed with ${JSON.stringify(a)}`),t?.(!1)}}export{w};