@zeniai/web-cockpit-ui 1.14.13-qa → 1.14.14-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.
Files changed (250) hide show
  1. package/dist/assets/ACHDetailsPage-DzRJ2QAk-DvsByjsE.js +21 -0
  2. package/dist/assets/{AIPerformancePage-C-orwzaK-C6rbxEzb.js → AIPerformancePage-BFjLWbFj-Clm2qRBD.js} +44 -44
  3. package/dist/assets/{AccountInfoPage-DvhQOLM6-CX5o6Llb.js → AccountInfoPage-iz3OwpQ7-TJq-6cJ1.js} +3 -3
  4. package/dist/assets/{AccountInfoPageContent-B1BJnQNd-C74MLyxZ.js → AccountInfoPageContent-DqO5Kcep-dFhLo0ar.js} +18 -18
  5. package/dist/assets/{AccountReconDetailsDrawerPage-C8EtTwZE-Cmjy7UY9.js → AccountReconDetailsDrawerPage-kNZ0VZns-coqlqQ2C.js} +13 -13
  6. package/dist/assets/{AccountRow-m3N4T8ro-C0WA_XfX.js → AccountRow-CAXWtAin-BB54Lqef.js} +27 -27
  7. package/dist/assets/{AccountsPromoCardStack-DGHAcZ7D-Ce3ZBF_s.js → AccountsPromoCardStack-Dqrhr23F-CroWlBVf.js} +28 -28
  8. package/dist/assets/{AddAddressForCardDrawer-B_1jj1h7-gqd8s2Xm.js → AddAddressForCardDrawer-D2IMZgZa-xE__lTqS.js} +2 -2
  9. package/dist/assets/{AddToWalletPage-DL1Bk4bd-DTEhx0Mb.js → AddToWalletPage-qgqXvx0C-CKm1Ldrx.js} +21 -21
  10. package/dist/assets/{AgingReportsPage-DQ4P7iSR-DRrTaXuT.js → AgingReportsPage-CNWj8sV2-jqLPsgQn.js} +8 -8
  11. package/dist/assets/{AllUserItems-BSWk_1pR-DI3PB0Ie.js → AllUserItems--netGz7H-Bnantk93.js} +13 -13
  12. package/dist/assets/{ApAgingDetailPage-0i8K1czh-BdP3zPvv.js → ApAgingDetailPage-CxLaoiqg-C-EmvhQs.js} +2 -2
  13. package/dist/assets/{AppBasePage-CV3kU-Ax-D761wqV3.js → AppBasePage-CbUMSiOb-C2Qhzc1Z.js} +7 -7
  14. package/dist/assets/{AppDrawerContent-DA8q-1_m-DY4TNtE3.js → AppDrawerContent-BNTS8MtE-Dc-K1QNS.js} +19 -19
  15. package/dist/assets/{ApprovalRulesSettingsPage-CRlqbhea-CDRK6CVR.js → ApprovalRulesSettingsPage-lFVUzKhw-CpEDBPBV.js} +7 -7
  16. package/dist/assets/{ArAgingChart-CiJNNObG-B2XrTnTz.js → ArAgingChart-BBavISMZ-BRq-xI7y.js} +6 -6
  17. package/dist/assets/{ArAgingDetailPage-2I9R_J97-CDktd7-L.js → ArAgingDetailPage-Bk49E_4I-BtplOHK3.js} +1 -1
  18. package/dist/assets/{AttachmentView-D0naVbDk-BwHrzCwR.js → AttachmentView-g756MrON-D9Kn72J1.js} +7 -7
  19. package/dist/assets/{BankAccountSection-CYYTnOEW-u_09M64L.js → BankAccountSection-C0U0fm6r-DlvauCZL.js} +6 -6
  20. package/dist/assets/BankAccountWarningSection-GcaV2hCI-D3Ca46bt.js +51 -0
  21. package/dist/assets/{BankConnectionsSettingsPage-BzwCu93j-BUFuHbUe.js → BankConnectionsSettingsPage-YwtSaNry-DRhjAjtE.js} +49 -49
  22. package/dist/assets/{BillDetailPage-OzI0RkQ_-BfKQOd2E.js → BillDetailPage-e0b0r_9U-yPEt29dp.js} +16 -16
  23. package/dist/assets/{BillPayApprovalRuleDetailPage-DIQW7KY9-DJWja9k_.js → BillPayApprovalRuleDetailPage-DZNOlmqa-CLwguHOJ.js} +1 -1
  24. package/dist/assets/{BillPayApprovalRulesPage-BMmJ4cuT-__2Bsq1U.js → BillPayApprovalRulesPage-HvIHZYLp-DVLOehTT.js} +9 -9
  25. package/dist/assets/{BillPayPromoPage-CN5LKQzn-0JHpDPWr.js → BillPayPromoPage-BKRIBuWK-DP5dbDj_.js} +8 -8
  26. package/dist/assets/{BillPaySetUpPage-DMKmupPw-BLQDwDwf.js → BillPaySetUpPage-DVFYVrcF-D5-3Y6xe.js} +2 -2
  27. package/dist/assets/{BillingSettingsPage-Bt_0mrqR-BFb05sIp.js → BillingSettingsPage-Boq7QJuJ-MMRw9LV_.js} +8 -8
  28. package/dist/assets/{BillsBulkReviewDrawerPage-GFME_IXw-BiBj7sS4.js → BillsBulkReviewDrawerPage-DB1RnMx6-BMOFxqLf.js} +1 -1
  29. package/dist/assets/{BoxItem-nvtPdCwS-B3L2WvTD.js → BoxItem-C5PEWObZ-C1r9NNOq.js} +1 -1
  30. package/dist/assets/BusinessVerificationPage-JFwqav9V-Bf6JWYI7.js +140 -0
  31. package/dist/assets/{CardNumberSubText-DBpF1pjJ-BY_Eifxb.js → CardNumberSubText-Qd4Nl4Ie-CMfs42of.js} +1 -1
  32. package/dist/assets/{CashbackDetailPage-DrdbDPXK-CYepjX8S.js → CashbackDetailPage-pMaAPWGY-BU5YiPyR.js} +30 -30
  33. package/dist/assets/{ChargeCardDetailPage-DvY3CSB4-BOCLZ4ee.js → ChargeCardDetailPage-ZhB56XeA-yRngE5Q2.js} +54 -54
  34. package/dist/assets/{ChargeCardListPage-BE5yGbg8-rjnPyN2B.js → ChargeCardListPage-3k973dhm-CXGJrCSu.js} +14 -14
  35. package/dist/assets/{ChargeCardListTable-B-scLCAt-CkeriUJ9.js → ChargeCardListTable-aotBBLcN-DM0qvCiY.js} +37 -37
  36. package/dist/assets/ChargeCardPromoPage-D5h6LEV7-Ca2lkyXc.js +219 -0
  37. package/dist/assets/{ChargeCardSetupPage-FNCK1n4W-CmPQlH3j.js → ChargeCardSetupPage-DLhS4IXu-BTWinhYJ.js} +1 -1
  38. package/dist/assets/{ChargeCardStatementsPage-1fuIth_h-COFasWWf.js → ChargeCardStatementsPage-C9JupC6z-Cl_Np1aF.js} +9 -9
  39. package/dist/assets/{ChargeCardUtils-CErWBcYS-CDDnXQPt.js → ChargeCardUtils-DlCRcsWm-C2oiv8yk.js} +1 -1
  40. package/dist/assets/{ChaseOverlay-9_ms5LgM-DXC_zSYp.js → ChaseOverlay-Cpt5a98f-D5R6S2Uh.js} +7 -7
  41. package/dist/assets/CheckDepositDrawerPage-Nz2eeTkw-C6G5mb5T.js +206 -0
  42. package/dist/assets/{CollapsableReportTable-DX-FpwE7-BeBpL5MN.js → CollapsableReportTable-D_yuiPyJ-DhZJx5n7.js} +59 -59
  43. package/dist/assets/CompanyOfficerDetailsSection-C3yfgjGi-D1y_4iNp.js +232 -0
  44. package/dist/assets/{CompanyPassportCard-BZXE3iJL-DilKoEdI.js → CompanyPassportCard-yl1IgKFI-D5o4V1kY.js} +4 -4
  45. package/dist/assets/{CompanyPassportPage-BYZC3G4H-CVW8Rjjr.js → CompanyPassportPage-CVyMn0gX-B84l3k5M.js} +22 -22
  46. package/dist/assets/CompleteProfile-DzShtAr0-DgZZyN3N.js +36 -0
  47. package/dist/assets/{ConfettiBurst-BEoFHjQ0-DpE46940.js → ConfettiBurst-C47O0k3A-CgE-jS0G.js} +1 -1
  48. package/dist/assets/{CreateOrEditVendorPage-6sohsdle-DA504h5F.js → CreateOrEditVendorPage-LadbvQ9C-BM9MXFCX.js} +11 -11
  49. package/dist/assets/{CreditCardPaymentDrawerPage-6oVDS3D8-C-M8T0xP.js → CreditCardPaymentDrawerPage-BQKmQNsf-D51SQtY9.js} +21 -21
  50. package/dist/assets/{CreditCardPaymentPlgSection-DX1BieKp-RRhQZkQz.js → CreditCardPaymentPlgSection-BKgF2tFu-B2qut9Kq.js} +12 -11
  51. package/dist/assets/{CurrencySelectField-F2P1iCLk-Bpmtm2da.js → CurrencySelectField-D_UXMdLl-3fWMP5Ut.js} +5 -5
  52. package/dist/assets/{CustomerOnboardingActivationPage-CNJkyjta-BVYDPEX6.js → CustomerOnboardingActivationPage-DYDUNktm-VdMelZBk.js} +8 -8
  53. package/dist/assets/CustomerOnboardingContainerPage-D34Fz5xA-DtQjzx0f.js +1 -0
  54. package/dist/assets/{CustomerOnboardingDetailPageSkeleton-B_MgUg-5-Bsph6TlL.js → CustomerOnboardingDetailPageSkeleton-IwCrs_Ni-BU7FJV1W.js} +12 -12
  55. package/dist/assets/{CustomerOnboardingNoStepsPage-B49-4wZk-D2RstZet.js → CustomerOnboardingNoStepsPage-BinWH6wJ-F7EZH_15.js} +9 -9
  56. package/dist/assets/{CustomerOnboardingPage-4FPXG220-Lt3_K55_.js → CustomerOnboardingPage-mGYcMJc6-Cbh61qkc.js} +7 -7
  57. package/dist/assets/{CustomerOnboardingProductSuitePage-cJPPvh-5-CUtKalOJ.js → CustomerOnboardingProductSuitePage-CMmP2rhp-C2ZiM9Vp.js} +9 -9
  58. package/dist/assets/{Dashboard-BBy_mQ8p-B5jdV4yq.js → Dashboard-B8ej675T-BQsqhmh7.js} +242 -260
  59. package/dist/assets/{DashboardReportPage-DYttySr4-CfmGOUcK.js → DashboardReportPage-D0g4Un-7-CpfFEkxQ.js} +6 -6
  60. package/dist/assets/{DepositAccTransactionItem-PNTL0e8v-BGmvjHCI.js → DepositAccTransactionItem-BiYFTagV-DKGpDZWk.js} +6 -6
  61. package/dist/assets/DepositAccTransactionListPage-B7seT4iQ-ETDHZpCZ.js +66 -0
  62. package/dist/assets/DocumentSecurityBanner-CQSsX1R1-CiqTL3oT.js +29 -0
  63. package/dist/assets/{DomesticWireDetailsPage-BhwTfZwI-DqDvFXEQ.js → DomesticWireDetailsPage-c2Omt2uV-BnfqYqal.js} +1 -1
  64. package/dist/assets/{DownloadOverlay-CUbv29mo-Bw1IdF0e.js → DownloadOverlay-Ca73StXh-C_Z4Bo0m.js} +21 -21
  65. package/dist/assets/{DrawerPage-2_QOgQ1m-8yRdv53N.js → DrawerPage-DbQ3fJ0a-CKvwqNoK.js} +11 -11
  66. package/dist/assets/EditPeoplePage-BSGpToFc-CVz7ykg1.js +55 -0
  67. package/dist/assets/{EditReimbursementDetailPage-C_jRh7w0-JV95TM0u.js → EditReimbursementDetailPage-CF4ITGWS-BCshPTAR.js} +61 -61
  68. package/dist/assets/{EntityDetailPage-BhQsnCgQ-D4_NJ9nD.js → EntityDetailPage-CjjeYmrY-CKF8NzDY.js} +3 -3
  69. package/dist/assets/{EntitySummarySection-CKkXzM76-CapIMSuQ.js → EntitySummarySection-CATUFkYD-DImzYyVi.js} +12 -12
  70. package/dist/assets/{ExpenseAutomationOverviewPage-ZuB3Aiv2-qZiVh6s4.js → ExpenseAutomationOverviewPage-DZJM8s1B-CWuuVSRx.js} +26 -26
  71. package/dist/assets/{ExpenseAutomationPage-BUic8zfk-BHBJ9Z-T.js → ExpenseAutomationPage-CJcg4JEX-CfHRDYOm.js} +41 -41
  72. package/dist/assets/{ExpressPayPage-DEkJ_H0W-CaxLveLq.js → ExpressPayPage-DtAXlY7R-DmEs2VSF.js} +12 -12
  73. package/dist/assets/FeaturePreviewPage-BsLKydgB-BmJgHlv8.js +11 -0
  74. package/dist/assets/{FollowStepsSection-CWw764ZM-CGrm9Uf6.js → FollowStepsSection-CkJm4bPf-DSv54_x1.js} +9 -9
  75. package/dist/assets/{GlobalReviewListPage-CZctHM7r-D_9dJu1v.js → GlobalReviewListPage-DmxSD6UV-B6jMDpXK.js} +12 -12
  76. package/dist/assets/{HelpButton-Dpx0Yoel-CKsVdDSg.js → HelpButton-BFbQbBAV-B9TFt0c5.js} +4 -4
  77. package/dist/assets/{InformationCardStack-BGpHl4yb-lczsugqm.js → InformationCardStack-BMrkstMK-DbtAleoo.js} +5 -5
  78. package/dist/assets/InsightsCardStack-wYrlCPh0-C81zbfqn.js +79 -0
  79. package/dist/assets/InsightsSection-DncKJ7JM-Ch4ouwgi.js +27 -0
  80. package/dist/assets/{IntegrationsSettingsPage-CMjSCRm_-CgzYCQoS.js → IntegrationsSettingsPage-xySXq7aa-D_KPhG4o.js} +8 -8
  81. package/dist/assets/{InternationalWireSwiftDetailsPage-BTbTUt8U-CYMokwYp.js → InternationalWireSwiftDetailsPage-CSqm7kj7-CBN5IgLs.js} +15 -15
  82. package/dist/assets/{InternationalWireVerificationPage-DAW2eMTg-ChJ3uDB8.js → InternationalWireVerificationPage-DUHW34SM-CtEEcP6x.js} +22 -22
  83. package/dist/assets/{InviteFormPage-CCbyacPR-Ckjr5NgF.js → InviteFormPage-FjAlfXw_-BJAcufzm.js} +20 -20
  84. package/dist/assets/{InvitePageListView-mHkALr5o-C7ylPhjm.js → InvitePageListView-PObzTGOB-GwMLzitg.js} +62 -62
  85. package/dist/assets/InvitePeoplePage-BuqTZXW2-BpTuQP9a.js +12 -0
  86. package/dist/assets/{InvoiceUploadSection-BsjeicP1-BP91ZU7m.js → InvoiceUploadSection-CZXO__Vx-Dmz2Yupy.js} +41 -41
  87. package/dist/assets/{IssueChargeCardPage-C3esnkQg-COG08kWF.js → IssueChargeCardPage-CjsftuWA-BDs_oaGQ.js} +33 -33
  88. package/dist/assets/{LabeledAddressValue-CeeoKoY4-CvQwJTu9.js → LabeledAddressValue-CfUYrlxS-CedyeSnW.js} +1 -1
  89. package/dist/assets/{LabeledAddressValueField-B6eeRCSM-DWydrKZY.js → LabeledAddressValueField-B5z2zp_k-DSta9Thy.js} +3 -3
  90. package/dist/assets/{LabeledControlledCheckBoxField-CK8YBqJ7-B9saqU60.js → LabeledControlledCheckBoxField-CHl3uhk9-BG28gZFR.js} +1 -1
  91. package/dist/assets/{LabeledCreatableSingleSelectField-BSKL8pA3-DuFUXQMp.js → LabeledCreatableSingleSelectField-CP-IuKrc-DU5OIEj-.js} +6 -6
  92. package/dist/assets/LabeledDocumentField-DyMGgcCu-CO5ZlVGH.js +41 -0
  93. package/dist/assets/{LabeledDropDownFormattedTextField-DikXPnxD-DSUeE__c.js → LabeledDropDownFormattedTextField-Bism2Slt-DwU7ZVVo.js} +7 -7
  94. package/dist/assets/{LabeledText-qSjyNZO1-DFoRQ0wb.js → LabeledText-RBbOYz7n-VgixWYEH.js} +1 -1
  95. package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-x87S_Azj-CVhA2Xgg.js → LabeledUserSingleSelectWithSubtitlesField-B9Mu2WJq-C8qMOZtd.js} +16 -16
  96. package/dist/assets/{LabeledZeniRolesDropDownField-nm5bG2up-C92IDjFa.js → LabeledZeniRolesDropDownField-BCvUNHGc-D_n3gvsf.js} +17 -17
  97. package/dist/assets/{LinkJETransactionPage-p7wdZbtp-CNwjLj8D.js → LinkJETransactionPage-C4JGb7aV-BXKelJUa.js} +13 -13
  98. package/dist/assets/{LowBalancePopup-DHk6xd2B-_aHCSs2W.js → LowBalancePopup-BeDr-jas-DddI_xZq.js} +7 -7
  99. package/dist/assets/{MagicLinkACHDetailsPage-DRQ8oej8-aUTlVnco.js → MagicLinkACHDetailsPage-B8zPEOQv-ELR3l9ZF.js} +1 -1
  100. package/dist/assets/{MagicLinkDomesticWireDetailsPage-BxXU9Opg-CCiAW5vW.js → MagicLinkDomesticWireDetailsPage-CGdUqm2t-BERGcMoL.js} +1 -1
  101. package/dist/assets/{MagicLinkInternationalWireDetailsPage-DYN1baIc-BXA8gggA.js → MagicLinkInternationalWireDetailsPage-8hkLJ9A0-Bdoq1vuL.js} +1 -1
  102. package/dist/assets/MagicLinkSuccessPage-DWCZWHis-oQvPww9a.js +31 -0
  103. package/dist/assets/{MagicLinkTitleSection-K2cZQVzq-COa6ijtd.js → MagicLinkTitleSection-u5U6e-ve-MC7ZylHb.js} +4 -4
  104. package/dist/assets/MailingDetailsSection-nhPvZjVn-DTjLXXj3.js +21 -0
  105. package/dist/assets/{MeetingCalenderPopup-DbFlQ8Km-k4_LsMxX.js → MeetingCalenderPopup-CUA73Qvk-BpUub713.js} +1 -1
  106. package/dist/assets/{Menu-LLL9taEz-ipYxRwn_.js → Menu-D2zz2q9--BYfPpKNs.js} +2 -2
  107. package/dist/assets/{MyBankConnectionsSettingsPage-BfDsHVZw-Bf1XYxr4.js → MyBankConnectionsSettingsPage-CGZMdkpt-CMgN8NUW.js} +15 -15
  108. package/dist/assets/{MyPendingActivationChargeCardListPage-vag56A65-DF0R294m.js → MyPendingActivationChargeCardListPage-BKFgjKZX-B0scJUTA.js} +1 -1
  109. package/dist/assets/{MyProfileSettingsPage-DCKqWh-p-DaltQdCu.js → MyProfileSettingsPage-BMRJLHbT-DWg_-s2B.js} +8 -8
  110. package/dist/assets/NavBarWithPicker-BXotE7Lk-TYT-S2OK.js +30 -0
  111. package/dist/assets/{NavigationArrow-CHmddDC--eiR6ZCk2.js → NavigationArrow-D-l9zblc-CDQWgJ4Z.js} +2 -2
  112. package/dist/assets/NavigationDots-BXUbx14l-CApJ3xJB.js +14 -0
  113. package/dist/assets/{NewGlobalMerchantPage-B0FywA12-B-V71_-n.js → NewGlobalMerchantPage-DtDgNdr1-CYep7SJT.js} +13 -13
  114. package/dist/assets/{NoDataChart-D43mhDJW-DTKvzPZF.js → NoDataChart-Bve5zpXV-BwZ8IP-2.js} +1 -1
  115. package/dist/assets/{NoDataTable-BOfUxs9D-QmqUpJBd.js → NoDataTable-3ROU0Vbp-DDB9N5jJ.js} +1 -1
  116. package/dist/assets/{NotFoundPage-DFioH5Rt-Bajjj6H-.js → NotFoundPage-DAo53P_6-C9hdXZ2m.js} +1 -1
  117. package/dist/assets/{NotificationSettingsPage-y4g1rAal-C1PlzWDQ.js → NotificationSettingsPage-DcGcigHn-D6yNtF8n.js} +13 -13
  118. package/dist/assets/{NotificationsListConfig-sybPesiv-CumSV_sP.js → NotificationsListConfig-oE-ICX7d-5IgMyIt2.js} +1 -1
  119. package/dist/assets/{NotificationsPage-C88YOjuY-DhlTuVRF.js → NotificationsPage-TCXj6rCg-BAkiHad7.js} +31 -31
  120. package/dist/assets/{OpExByVendorPage-qBWbJhv9-D6-ISC2Q.js → OpExByVendorPage-xWhiJMru-CimTVsCN.js} +7 -7
  121. package/dist/assets/{OverlayContainerPage-Dres4Grh-croSXpa_.js → OverlayContainerPage-GWXnlbZH-Ba8WO7ii.js} +1 -1
  122. package/dist/assets/{PandLWithForecastPage-uiaHrci6-BmjV4SA8.js → PandLWithForecastPage-BamjcoA8-Dqt_Y0_I.js} +8 -8
  123. package/dist/assets/{PaymentAccountSetupBillingAddressSection-BepDUdA0--CI8uZ0q.js → PaymentAccountSetupBillingAddressSection-Byvw69gz-DLG3TH2B.js} +11 -11
  124. package/dist/assets/{PeoplePage-oF6C1uyM-BWPCN8nm.js → PeoplePage-BYeGKWDm-_j7LiItB.js} +20 -20
  125. package/dist/assets/{PortfolioAllocationFormPage-C5O3GLqz-B19kKoCk.js → PortfolioAllocationFormPage-C-l23Cwp-CQhAFF5j.js} +4 -4
  126. package/dist/assets/{PortfolioDetails-BkGNpmoO-kzJ3Imwc.js → PortfolioDetails-BRhzzSFg-_V6-SKu3.js} +31 -31
  127. package/dist/assets/{ProductsCarousel-C_tmo4EA-D4yVhWod.js → ProductsCarousel-CP6ldspb-CSPciYcm.js} +6 -6
  128. package/dist/assets/{PromoBaseCards-Bq5-q2ew-owkf4D4N.js → PromoBaseCards-Jze9Y7gb-CsB7qigX.js} +5 -5
  129. package/dist/assets/{QBOConnectionDialog-BXNWjeYB-CRDesbLh.js → QBOConnectionDialog-9VnW9Bu9-CH9vDAEy.js} +9 -9
  130. package/dist/assets/QBOSetupSection-B1rw0-Q--hYcWWcnn.js +79 -0
  131. package/dist/assets/ReimbursementApprovalRuleDetailPage-DEK0sHby-DxHQ3-r9.js +26 -0
  132. package/dist/assets/{ReimbursementApprovalRulesPage-hjja5JFq-CTbhiO4F.js → ReimbursementApprovalRulesPage-D7dRwcKc-BN8fEREe.js} +8 -8
  133. package/dist/assets/{ReimbursementDetailPage-sXYC_aoR-BRo3-ALl.js → ReimbursementDetailPage-ZwlUAEc8-DNQqyf9h.js} +19 -19
  134. package/dist/assets/{ReimbursementPromoPage-C9zs7VRV-DnF6fzbN.js → ReimbursementPromoPage-CKuYFvqQ-DefJnvBU.js} +24 -24
  135. package/dist/assets/{ReimbursementSetUpPage-Ban56LOC-BrQiTbjv.js → ReimbursementSetUpPage-Rn1i_Dc1-By597Y9p.js} +11 -11
  136. package/dist/assets/{ReimbursementsBulkReviewDrawerPage-CsRwI-rl-D4GTWYie.js → ReimbursementsBulkReviewDrawerPage-BwVFxo9s-CrM2jFkj.js} +1 -1
  137. package/dist/assets/{ReloadCard-EBXtqdt5-CAR8znPg.js → ReloadCard-7VJ3paTm-PIZ4RaVw.js} +5 -5
  138. package/dist/assets/{ReportTableViewSelector-Ae5lGopA-CvE-ziP-.js → ReportTableViewSelector-BrPJNFJD-Bwujfsif.js} +10 -10
  139. package/dist/assets/{ReportsPage-Dh3DhbEK-CoCw1phe.js → ReportsPage-CCTvsUrL-BTO019Fz.js} +5 -5
  140. package/dist/assets/{RevenueChart-C5qfXMEg-BwhpmvbH.js → RevenueChart-CCWOE5TQ-DhmIgSkE.js} +1 -1
  141. package/dist/assets/{ReviewDetailsPage-DjcJd2VM-DAK_gGD6.js → ReviewDetailsPage-Y6gEXgmb-DcY2sw3N.js} +17 -17
  142. package/dist/assets/{ReviewOverlay-Dmrea9EK-D-B16OuG.js → ReviewOverlay-CjSSDflN-KzsiV-Oa.js} +14 -14
  143. package/dist/assets/RoleWithToolTip-CFMnZiem-BIsCVqC3.js +22 -0
  144. package/dist/assets/{ScheduleDetailsFixedAssetsPage-CQGRrdSx-c5adP63r.js → ScheduleDetailsFixedAssetsPage-DVyLY2NJ-LtnowkYW.js} +8 -8
  145. package/dist/assets/{ScheduleDetailsPage-D5OBZ80r-CqH9UyRO.js → ScheduleDetailsPage-Dl76cUvA-CFqi1TDf.js} +3 -3
  146. package/dist/assets/{ScheduleSequenceTable-fgV8zz4I-CXk4n0ng.js → ScheduleSequenceTable-CrxRnZch-BuFVSySr.js} +49 -49
  147. package/dist/assets/{ScreenRoutes-N_UpMNzU.js → ScreenRoutes-uG3kevMC.js} +62 -62
  148. package/dist/assets/{SetUpAccountSection-4-gtB3I4-k7g8HAWY.js → SetUpAccountSection-Cv2os5ln-zptuzOwF.js} +24 -24
  149. package/dist/assets/{SetUpDefaultSection-DSslQOgJ-TSnCtHg5.js → SetUpDefaultSection-BX28nGOx-CTgAzb1p.js} +12 -12
  150. package/dist/assets/{SignIn-CgXxIawW-CGP7Bd8R.js → SignIn-Bu5OrOXS-DkCR4kwg.js} +17 -17
  151. package/dist/assets/{SignInScreen-B7sTBkoH.js → SignInScreen-BtGVE0r_.js} +1 -1
  152. package/dist/assets/{SpendManagementListViewPage-SkhzkIYZ-x5ZKENRb.js → SpendManagementListViewPage-C5e1RRp_-HAlYRuO6.js} +11 -11
  153. package/dist/assets/{SpendManagementPerTabPage-CofY1YYQ-Cjq2YocJ.js → SpendManagementPerTabPage-DZVY7vQ1-BCl0_VO2.js} +55 -55
  154. package/dist/assets/{SpendManagementSection-DbC93chQ-B2MPdvcw.js → SpendManagementSection-BJMJInkt-BUFNWRJA.js} +13 -13
  155. package/dist/assets/{SpendMgmtSetupAccountSection-_8G7bMAw-CDKk9cnv.js → SpendMgmtSetupAccountSection-chezHlCW-DkOog65L.js} +22 -22
  156. package/dist/assets/{StatementItem-7ezfuDl--D0Tjhaxh.js → StatementItem-BFkpLh_o-CquALDsz.js} +5 -5
  157. package/dist/assets/{StatementsPage-C4ziRzkU-BZb9wt_c.js → StatementsPage-DWVI5t34-Cxqi7UEv.js} +6 -6
  158. package/dist/assets/{StatusSwitcher-0rVfFE-a-CrRHYuTc.js → StatusSwitcher-LVFF4Wxb-B0jggpKX.js} +7 -7
  159. package/dist/assets/{SubTabSwitcher-aoWbkCmT-Bl_FPFwI.js → SubTabSwitcher-BCJ6BY1u-f0PPyWdH.js} +1 -1
  160. package/dist/assets/{SummaryCard-6V1G-Yln-C_HcAreF.js → SummaryCard-BauMuQ8s-BNd_V8Lq.js} +1 -1
  161. package/dist/assets/{TaskManagementPage-DjQma5Cr-8a9vcAkZ.js → TaskManagementPage-vrN0Gf0_--prS4OGY.js} +18 -18
  162. package/dist/assets/{TimeRangeSwitcher-DeIRg5zY-woa5YXhO.js → TimeRangeSwitcher-CNA64z6j-Cd26VPvr.js} +5 -5
  163. package/dist/assets/{TimeframeSwitcher-Cop4G4gx-BkWg2DWR.js → TimeframeSwitcher-C1Yz0y7I-Cy-diIc-.js} +5 -5
  164. package/dist/assets/TimeframeSwitcherWithToggle-C_Ah5N3M-C9t5AFtP.js +31 -0
  165. package/dist/assets/{TopExCard-BKirBv7q-CUq_6F55.js → TopExCard-Jo-Rn1MM-D6E3Hi5w.js} +6 -6
  166. package/dist/assets/{TopExDetailPage-DcVunE8d-qEc0sA6B.js → TopExDetailPage-DDbJXH3w-CFeNp8T_.js} +11 -11
  167. package/dist/assets/{TransactionDetailPage-TJf3D0K6-BOXqbCEf.js → TransactionDetailPage-BuIbGizX-DpKJAZLT.js} +26 -26
  168. package/dist/assets/{TransactionList-fn6VXYIJ-DYk9Fe87.js → TransactionList-CLKRxE0g-BAsmWTvK.js} +4 -4
  169. package/dist/assets/{TransactionListBig-B_hNDFjS-CMjCzS-K.js → TransactionListBig-B5vQkCC2-B8EgQPCY.js} +25 -25
  170. package/dist/assets/{TransactionListPage-BbXZWbie-CDiciUHo.js → TransactionListPage-BqX_rZET-BgbyEEsX.js} +6 -6
  171. package/dist/assets/{TransactionVendorDetailPage-C6qJ5ncL-B1EVzM0Z.js → TransactionVendorDetailPage-DkTOdWyJ-BzkmZPzl.js} +6 -6
  172. package/dist/assets/TransferDrawerPage-BOGBvRan-Bpl8lBev.js +362 -0
  173. package/dist/assets/{TreasuryOverviewPage-DOV8Hanc-B1NNA_6U.js → TreasuryOverviewPage-DyhWQzuM-DsB8K2vJ.js} +53 -53
  174. package/dist/assets/{TreasuryPromoPage-C9O7G72q-DwRfBcK7.js → TreasuryPromoPage-DeahUeak-Bt4dIItF.js} +29 -30
  175. package/dist/assets/TreasurySetupPage-kCSON6p8-BAIMYuS4.js +152 -0
  176. package/dist/assets/{TreasuryStatementsPage-Ts6D6F-l-DoHTZ0q2.js → TreasuryStatementsPage-DjTS6UJU-CcrFtuZr.js} +5 -5
  177. package/dist/assets/{TreasuryTaxLetterPage-CM93_rS4-DP5U7gaM.js → TreasuryTaxLetterPage-B8-Rgr_d-BLPqqsbC.js} +5 -5
  178. package/dist/assets/TreasuryTransferOrReviewPage-CWMEjwJl-CrviYyrM.js +506 -0
  179. package/dist/assets/{TrendChart-BXjPAYgk-Cq_-iR7t.js → TrendChart-DZxa1hWw-B-nNq9QH.js} +5 -5
  180. package/dist/assets/{TrendWithTransactions-BlGX9aVa-CiPHs9MJ.js → TrendWithTransactions-DqF_gmA3-C3cM3seO.js} +8 -8
  181. package/dist/assets/{UncategorizedAccountsMappingPage--PnxDLIj-BIOyaxBg.js → UncategorizedAccountsMappingPage-BTMqGJ-S-Cf591JHO.js} +12 -12
  182. package/dist/assets/{UnitIntegrationPage-D5mzaVVL-BKJ8XltQ.js → UnitIntegrationPage-BypogBLd-BdjVHdC2.js} +4 -4
  183. package/dist/assets/{UploadAdditionalDocumentOverlay-BXS2l5kF-BsMl2eZs.js → UploadAdditionalDocumentOverlay-BtjgWIt2-CJxagUDB.js} +1 -1
  184. package/dist/assets/{Vendor2FAPopup-jXN-6kcB-BvuovkFO.js → Vendor2FAPopup-Cvht-fPJ-BerAc1Se.js} +1 -1
  185. package/dist/assets/{VendorACHDetailsPage-CHfX_7tk-BOp8BxY6.js → VendorACHDetailsPage-UxL2Rrtg-CYp_Tnh9.js} +1 -1
  186. package/dist/assets/{VendorDetailPage-CZuQaTCe-BpPmRILB.js → VendorDetailPage-D1W5LzEm-BAT5CVI4.js} +13 -13
  187. package/dist/assets/{VendorDomesticWireDetailsPage-dBmyAkGL-62nIhkQn.js → VendorDomesticWireDetailsPage-42tTXqjf-CD4sZQzl.js} +1 -1
  188. package/dist/assets/{VendorFiling1099EditablePage-C6KWbHaM-DDK7H0rO.js → VendorFiling1099EditablePage-C-s1YZ6j-PSND-gNL.js} +7 -7
  189. package/dist/assets/{VendorFirstReviewPage-DLaCXLH8-BnWjhIdr.js → VendorFirstReviewPage-DNWyzefV-BFUkskK4.js} +30 -30
  190. package/dist/assets/{VendorInternationalWireDetailsPage-DgCH9Rad-CBW8_p_m.js → VendorInternationalWireDetailsPage-BLN_3qXP-DvvGYDz5.js} +10 -10
  191. package/dist/assets/{VendorInternationalWireSwiftDetailsPage-CprymE3v-BNa75-ug.js → VendorInternationalWireSwiftDetailsPage-CK3lcupO-2PpWn4mj.js} +1 -1
  192. package/dist/assets/{VendorsAccountsSection-CpkfwFDJ-BBaBcIhq.js → VendorsAccountsSection-DN_7lQ28-DdMelKjb.js} +15 -15
  193. package/dist/assets/{WarningsDrawerPage-DeqbJ2Le-C-k360lW.js → WarningsDrawerPage-BO2PAioX-BD7wt9-J.js} +12 -12
  194. package/dist/assets/{ZeniAccountDetailPage-kwKoeRAb-DmgmMSld.js → ZeniAccountDetailPage-yp-KTRnk-B3mSE0M7.js} +29 -29
  195. package/dist/assets/{ZeniAccountListViewPage-15LxhIiI-BTGCzvPZ.js → ZeniAccountListViewPage-D5aqQNtX-CPli23fR.js} +19 -19
  196. package/dist/assets/ZeniAccountNavBarPieces-VPw7D7l3-CCxmftfD.js +14 -0
  197. package/dist/assets/{ZeniAccountPromoPage-DvlAb5YA-C_whacZc.js → ZeniAccountPromoPage-wCKqqpXU-0L3bYfPA.js} +33 -33
  198. package/dist/assets/{ZeniAccountSetupPage-BjpvTfF5-D6d34LRw.js → ZeniAccountSetupPage-C9Huhxgd-BF9sZa0S.js} +3 -3
  199. package/dist/assets/{ZeniCopyright-BYJFIZ_X-BFrN8evs.js → ZeniCopyright-DFiO9ffO-Bp-C_pps.js} +1 -1
  200. package/dist/assets/ZeniTransferAmountSlider-CrkvbV6i-BhBxjPo4.js +63 -0
  201. package/dist/assets/{analyticsHelper-BRyA7WLX-DLSkErMx.js → analyticsHelper-CcOQPReQ-DZ5fxxuk.js} +1 -1
  202. package/dist/assets/{analyticsHelper-BwnF2PgM.js → analyticsHelper-zoqip0-C.js} +1 -1
  203. package/dist/assets/{chartTypes-CWEoqL4g-Cw3nMebw.js → chartTypes-COEFDZb5-DucaenQB.js} +1 -1
  204. package/dist/assets/{commonDimensions-UvndzJjv-Blvxf4Xv.js → commonDimensions-CP6T7HqS-BX01Lz5f.js} +1 -1
  205. package/dist/assets/{detailCommon-C3ymS8dg-BGRrtDwy.js → detailCommon-Ce5EinV2-BuHvMRYd.js} +2 -2
  206. package/dist/assets/{downloadPdf-CHwWcCR1-B6-X6iEo.js → downloadPdf-D5vJmVtA--yzU0Cnz.js} +1 -1
  207. package/dist/assets/{index-Dv7T7Q4q.js → index-CapQvjm9.js} +3984 -4129
  208. package/dist/assets/{mapLoadingInProgressToTreeNode-BV9ky97n-DY-sQ7TV.js → mapLoadingInProgressToTreeNode-rI4nf6KS-CNoPmFuv.js} +1 -1
  209. package/dist/assets/{mapSectionWithAcOnlyToTreeNode-WivyN4Y7-BjYz9kWK.js → mapSectionWithAcOnlyToTreeNode-CQQ7dl1d-DPU0sPT_.js} +1 -1
  210. package/dist/assets/{mapSpacerToTreeNode-AXNRptLX-By1nS5M2.js → mapSpacerToTreeNode-Br4381dY-Ct29eL9a.js} +1 -1
  211. package/dist/assets/{mapTimeframeBalancesToTreeNode-JTl35sFx-C5GE5hSl.js → mapTimeframeBalancesToTreeNode-B-Zn7TpW-SMvrvpz_.js} +1 -1
  212. package/dist/assets/{mapTimeframeBalancesToTreeNode-DUac2vK4-BY8WFMHX.js → mapTimeframeBalancesToTreeNode-CFc2Dxqu-D1jIXUn_.js} +1 -1
  213. package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-DtkeOXnf-CJT3cdBk.js → mapTimeframeHeaderLoadingInProgressToTreeNode-DaXzy5qa-BOsBu2E5.js} +1 -1
  214. package/dist/assets/{play-icon-HSIOzxQm-CqRvnI3L.js → play-icon-nZkbdoFU-C5Wh5Bql.js} +1 -1
  215. package/dist/assets/{toCOABalancesWithID-CkjYSysY-CvnUvEoC.js → toCOABalancesWithID-COQYDD-b-BQqZQYQf.js} +1 -1
  216. package/dist/assets/{toChartData-BhKlnyso-lj3HQabg.js → toChartData-Djv4ERSl-DLhR9JKK.js} +1 -1
  217. package/dist/assets/{treasuryColorHelper-yIAXBrrM-3MHYMecV.js → treasuryColorHelper-D8HHUK60-Cfq8TI-i.js} +1 -1
  218. package/dist/assets/{uploadAttachment-CWaYLqwb-CVRH_3bI.js → uploadAttachment-BLy0prl2-B3IgXH7c.js} +32 -32
  219. package/dist/assets/{uploadReceipts-C6Ld_WLK-Dy2wrDVr.js → uploadReceipts-D80JLNY4-DWphWqez.js} +1 -1
  220. package/dist/index.html +1 -1
  221. package/package.json +4 -4
  222. package/dist/assets/ACHDetailsPage-DVi_fb5U-CGuPkBRY.js +0 -21
  223. package/dist/assets/BankAccountWarningSection--b6oxmO3-DKlzx_zh.js +0 -51
  224. package/dist/assets/BusinessVerificationPage-_E3jrLwS-B3aLGpDJ.js +0 -140
  225. package/dist/assets/ChargeCardPromoPage-2OheDHbA-BqDNYADI.js +0 -222
  226. package/dist/assets/CheckDepositDrawerPage-DEFEMwuI-CRMRTiml.js +0 -206
  227. package/dist/assets/CompanyOfficerDetailsSection-BEgNqg-b-CVHLWRNF.js +0 -260
  228. package/dist/assets/CompleteProfile-mCKLQjGe-CilcRs-S.js +0 -52
  229. package/dist/assets/CustomerOnboardingContainerPage-D6yeERaX-DZtJ8AkY.js +0 -1
  230. package/dist/assets/DepositAccTransactionListPage-DUwVnkwy-BEJAgywZ.js +0 -66
  231. package/dist/assets/EditPeoplePage-CtTYiqg3-BeUkYPWG.js +0 -55
  232. package/dist/assets/FeaturePreviewPage-CtK7L5vk-BUfvduBQ.js +0 -11
  233. package/dist/assets/InsightsCardStack-BbMJEahw-6ShmM6UA.js +0 -79
  234. package/dist/assets/InsightsSection-CYkuQHcj-Bf_S7jeP.js +0 -27
  235. package/dist/assets/InvitePeoplePage-r6PLBiEv-C_hZgPnI.js +0 -12
  236. package/dist/assets/LabeledDocumentField-BEyArLK3-yHmAGez6.js +0 -41
  237. package/dist/assets/MagicLinkSuccessPage-CX3bJ5_B-DBbTzFPV.js +0 -31
  238. package/dist/assets/MailingDetailsSection--zHyCquq-Crj-CQ_B.js +0 -21
  239. package/dist/assets/NavBarWithPicker-Cvi89wZV-qZCgoS6m.js +0 -30
  240. package/dist/assets/NavigationDots-1wpj484Z-CYA5PZFB.js +0 -15
  241. package/dist/assets/QBOSetupSection-D3sIWrh1-C8JJ9OyV.js +0 -79
  242. package/dist/assets/ReimbursementApprovalRuleDetailPage-ClgCUbVP-CI7DHlNJ.js +0 -26
  243. package/dist/assets/RoleWithToolTip-CqeM8Bh0-CP3lspGL.js +0 -22
  244. package/dist/assets/TimeframeSwitcherWithToggle-BhoniKOB-Cn9FIwDc.js +0 -31
  245. package/dist/assets/TransferDrawerPage-BtYoqKi--BpRIa0QV.js +0 -362
  246. package/dist/assets/TreasurySetupPage-CNzkkEjw-BgY_thiG.js +0 -146
  247. package/dist/assets/TreasuryTransferOrReviewPage-C8-tbCUQ-Ckqtt7Wk.js +0 -506
  248. package/dist/assets/VerifyDevice-CSIkEBig-Ddd729RU.js +0 -67
  249. package/dist/assets/ZeniAccountNavBarPieces-C0pq95hS-PD9j7rFy.js +0 -14
  250. package/dist/assets/ZeniTransferAmountSlider-Did4Chpj-DUNIonGt.js +0 -63
@@ -1,506 +0,0 @@
1
- import{X as ge,K as $t,j as o,$ as P,gR as bt,B as xe,a0 as W,i as _e,h as Ke,a4 as et,o as t,C as f,a3 as De,k as St,am as vt,u as jt,a2 as J,bx as At,cS as tt,J as R,l as z,f_ as kt,d as S,Z as Tt,g as ot,w as X,m as Y,e_ as Pt,a as Ct,c7 as zt,F as Dt,fG as Lt,s as c,br as rt,c_ as nt,bL as it,cD as Ft,cu as Mt,fa as Rt,f2 as Bt,d6 as Ot,M as It,f3 as Et,dt as _t,c0 as Nt,b$ as Vt,aR as Wt,bd as Xt,fc as Yt,fl as Gt,ab as qt}from"./index-Dv7T7Q4q.js";import{n as r,b as x}from"./vendor-CnQcJ2Lu.js";import{V as at}from"./PortfolioDetails-BkGNpmoO-kzJ3Imwc.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./treasuryColorHelper-yIAXBrrM-3MHYMecV.js";const Jt=xe.getLocalizedStrings().spendManagement.treasury,F=[0,125e4,25e5,35e5,5e6],Zt=1e3;function Ht({interestRate:e=4.35,transferAmount:a,setYieldEarned:u,setTransferAmount:n}){const d=Ot().analytics,[l,m]=x.useState(a);x.useEffect(()=>{m(a)},[a]);const w=h=>{const i=parseFloat(h.target.value),$=he(i,e);m(i),u($),n(i),d.trackTreasuryCalculatorClick("fund transfer",i)},v=h=>{const i=he(h,e);m(h),n(h),u(i),d.trackTreasuryCalculatorClick("fund transfer",h)};return o.jsxs(to,{sliderValue:l,children:[o.jsx(eo,{sliderValue:l,type:"range",min:F[0],max:F[F.length-1],step:Zt,value:l,onChange:w}),o.jsx(oo,{style:{width:`${Math.min(l/F[F.length-1]*92.5,92.5)}%`}}),o.jsx(ao,{sliderValue:l,style:{left:`calc(${Math.min(Math.max(l/F[F.length-1]*100,5),95)}% - 50px)`},children:Qt(l)}),o.jsx(ro,{children:F.map((h,i)=>o.jsx(no,{onClick:()=>v(h),"data-testid":P("slider-label",h.toString()),style:{left:Ut(i)},children:o.jsx(io,{isSelected:l>=h,children:Kt(h)})},h))})]})}const Qt=e=>{const a=qt("0,0.[00]a",e,"$").toUpperCase();return`${Jt.transferDrawer.calculator.sliderTooltipText} ${a}`};function he(e,a){const u=a/100,n=e*Math.pow(1+u/12,12);return Math.floor(n-e)}const Ut=e=>{switch(e){case 0:return"3%";case 1:return"28%";case 2:return"50.2%";case 3:return"74.5%";case 4:return"98%";default:return"100%"}},Kt=e=>Intl.NumberFormat("en",{notation:"compact",maximumFractionDigits:2}).format(e),eo=r.input`
2
- width: 100%;
3
- &[type="range"]::-webkit-slider-runnable-track {
4
- height: 2px;
5
- cursor: pointer;
6
- background-color: ${e=>e.theme.colors.grey3};
7
- }
8
-
9
- &[type="range"] {
10
- -webkit-appearance: none;
11
- appearance: none;
12
- }
13
-
14
- &[type="range"]::-webkit-slider-thumb {
15
- -webkit-appearance: none;
16
- height: ${t.sp5};
17
- width: ${t.sp5};
18
- border-radius: 100%;
19
- margin-top: -${t.sp3}; // Centers thumb on the track
20
- box-shadow: ${t.sp0} ${t.sp0} 2px ${S.blackColor};
21
- background-image: ${e=>`url(https://storage.googleapis.com/zeni-apis.appspot.com/images/slider-icon-${e.theme.mode==="dark"?"light":"dark"}.svg)`};
22
- background-repeat: no-repeat;
23
- cursor: pointer;
24
- }
25
- `,to=r.div`
26
- position: relative;
27
- width: 70%;
28
- margin-left: 30px;
29
- margin-right: 30px;
30
- margin-bottom: 20px;
31
- margin-top: ${t.sp5};
32
- min-height: ${t.sp8};
33
- `,oo=r.div`
34
- position: absolute;
35
- height: 2px;
36
- margin-top: -${t.sp2};
37
- background-color: ${e=>e.theme.colors.hero};
38
- `,ro=r.div`
39
- position: absolute;
40
- bottom: ${t.sp0};
41
- top: ${t.sp5};
42
- width: 100%;
43
- display: flex;
44
- justify-content: center;
45
- `,no=r.span`
46
- position: absolute;
47
- cursor: pointer;
48
- transform: translateX(-50%);
49
- `,io=r(X)`
50
- color: ${e=>e.isSelected?e.theme.colors.primary:e.theme.colors.grey1};
51
- white-space: nowrap;
52
- `,ao=r(X)`
53
- position: absolute;
54
- top: -${t.sp5};
55
- white-space: nowrap;
56
- color: ${S.primaryDark};
57
- background-color: ${S.success};
58
- display: flex;
59
- border-radius: ${t.sp1};
60
- justify-content: center;
61
- align-items: center;
62
- padding: 2px ${t.sp2};
63
- `,Z={navBarContainerPaddingXaxis:new f(10,19),containerPaddingLeft:new f(c[3],c[6],c[8]),containerPaddingRight:new f(c[3],c[6],c[8]),reviewContentWrapperPaddingBottom:new f(c[5],c[8]),elementsContainerPadding:new f(c[3],c[4])},Ce={pageTitle:new R("h6Regular","h5Regular"),integerStyles:new R("h5Regular","h2Regular"),decimalStyles:new R("extraLargeMedium","h5Medium")},{common:{edit:so},dateFormat:{visual:{DMMMYYYYFormat:lo}},spendManagement:{treasury:{transferDrawer:E},billPay:{insufficientFunds:{lowBalance:co,addOrSwitchInitiateTransfer:uo,lowBalanceIn:po}}}}=xe.getLocalizedStrings(),ho=({fromAccount:e,themeContext:a,toAccount:u,transferDetails:n})=>{const d=ge();if(d==="small"){const l=yo(e,u,n.treasuryAccount.id);return o.jsxs(o.Fragment,{children:[o.jsxs(de,{style:l.topAccount?.id===n.treasuryAccount.id?{borderColor:a.colors.grey1,position:"relative"}:{},windowSize:d,children:[o.jsx(ue,{children:l.topAccountLabel}),o.jsxs(ce,{windowSize:d,children:[N(n.transferMoneyParties,l.topAccount?.id??"",!0,l.topAccount?.id===n.treasuryAccount.id,!0),o.jsxs(se,{windowSize:d,children:[l.topAccount?.label,o.jsx(le,{children:V(n.transferMoneyParties,n.treasuryAccount,l.topAccount?.id??"",!0,!0,!0)})]})]}),ae(l.topAccount,n.treasuryAccount.id,d,!1)?o.jsx(pe,{}):null]}),l.arrowDirection==="up"?o.jsx(qo,{}):o.jsx(Jo,{}),o.jsxs(de,{style:l.bottomAccount?.id===n.treasuryAccount.id?{borderColor:a.colors.grey1,position:"relative"}:{},windowSize:d,children:[o.jsx(ue,{children:l.bottomAccountLabel}),o.jsxs(ce,{windowSize:d,children:[N(n.transferMoneyParties,l.bottomAccount?.id??"",!0,l.bottomAccount?.id===n.treasuryAccount.id,!0),o.jsxs(se,{windowSize:d,children:[l.bottomAccount?.label,o.jsx(le,{children:V(n.transferMoneyParties,n.treasuryAccount,l.bottomAccount?.id??"",!0,!1,!0)})]})]}),ae(l.bottomAccount,n.treasuryAccount.id,d,!0)?o.jsx(pe,{}):null]})]})}else return o.jsxs(o.Fragment,{children:[o.jsxs(de,{style:e?.id===n.treasuryAccount.id?{borderColor:a.colors.grey1,position:"relative"}:{},windowSize:d,children:[o.jsx(ue,{children:"Transfer Funds From"}),o.jsxs(ce,{windowSize:d,children:[N(n.transferMoneyParties,e?.id??"",!0,e?.id===n.treasuryAccount.id,!0),o.jsxs(se,{windowSize:d,children:[e?.label,o.jsx(le,{children:V(n.transferMoneyParties,n.treasuryAccount,e?.id??"",!0,!0,!0)})]})]}),ae(e,n.treasuryAccount.id,d,!1)?o.jsx(pe,{}):null]}),o.jsx(Go,{}),o.jsxs(de,{style:u?.id===n.treasuryAccount.id?{borderColor:a.colors.grey1,position:"relative"}:{},windowSize:d,children:[o.jsx(ue,{children:"To"}),o.jsxs(ce,{windowSize:d,children:[N(n.transferMoneyParties,u?.id??"",!0,u?.id===n.treasuryAccount.id,!0),o.jsxs(se,{windowSize:d,children:[u?.label,o.jsx(le,{children:V(n.transferMoneyParties,n.treasuryAccount,u?.id??"",!0,!1,!0)})]})]}),ae(u,n.treasuryAccount.id,d,!1)?o.jsx(pe,{}):null]})]})},mo=(e,a,u)=>{if(!e)return!0;if(e.id===a.id){const n=a.balance;return n?z.checkIfLowBalance(u,n):!0}if("accountBalance"in e){const n=e.accountBalance?.available;return n==null?!1:z.checkIfLowBalance(u,n)}return!1},fo=({transferDetails:e,fundDetails:a,portfolioAllocation:u,setShowReviewContent:n,onTransferClick:d,onCancelClick:l})=>{const m=ge(),w=jt(),v=J(e.fetchState),[h,i]=x.useState(!1);x.useEffect(()=>{v==="In-Progress"&&e.fetchState==="Error"&&e.error!=null?i(!0):i(!1)},[e.error]);const{fromAccount:$,toAccount:T,amount:A}=e.treasuryTransferMoneyLocalData,p=mo($,e.treasuryAccount,A);return o.jsxs(o.Fragment,{children:[o.jsxs(Po,{windowSize:m,children:[o.jsx(Mo,{windowSize:m,children:o.jsx(At,{title:"Close",enterTouchDelay:600,placement:"bottom",children:o.jsx(Ne,{"data-testid":P("nav-bar-close-transfer-review"),onClick:l})})}),o.jsx(Ro,{windowSize:m,children:E.reviewAndConfirm}),o.jsx(Xo,{windowSize:m,children:o.jsx(tt,{amount:A,alwaysShowDecimal:!0,integerStyles:Ce.integerStyles.styleObject(m),decimalStyles:Ce.decimalStyles.styleObject(m)})}),o.jsx(Lo,{}),o.jsx(Yo,{children:o.jsxs(o.Fragment,{children:[E.review.prefix,`"${T?.label}" `,E.success.midfix,` "${$?.label}" `,E.review.suffix.replace("__date__",z.zeniDate(z.getNextNthWorkingDay(z.dateNow().toDate(),[0,6],1).toDateString()).format(lo))]})}),p?o.jsx(kt,{variant:"low-balance",style:{marginTop:t.sp3,marginBottom:t.sp3},title:po.replace("__account__",$?.id===e.treasuryAccount.id?$?.label??"":`${$?.label??""} ${$?.maskedAccountNumber??""}`),description:uo}):null,h?o.jsx(To,{children:o.jsxs(vo,{children:[o.jsxs(Co,{children:[o.jsx(Do,{}),o.jsxs(jo,{children:[o.jsx(Ao,{children:e.error?.title}),o.jsx(ko,{children:e.error?.message})]})]}),o.jsx(zo,{children:o.jsx(Ne,{"data-testid":P("close-error-transfer-review"),onClick:()=>{i(!1)},style:{width:t.sp3,height:t.sp3,color:S.heroLight}})})]})}):null,o.jsx(Fo,{windowSize:m,children:o.jsxs($o,{windowSize:m,children:[o.jsx(bo,{windowSize:m,children:o.jsx(ho,{fromAccount:$,themeContext:w,toAccount:T,transferDetails:e})}),o.jsx(So,{children:o.jsx(at,{isInReview:!0,isSetup:!1,fundDetails:a,allocation:u,amount:xo(e),fundAllocations:wo(e),page:"transfer review"})})]})})]}),o.jsx(et,{style:{zIndex:4,paddingTop:t.sp3,paddingBottom:t.sp0},helperText:E.review.footNote,helperStyle:{padding:`${t.sp0} ${t.sp0} ${t.sp3} ${t.sp0}`},cancelBtn:{label:so,onClick:()=>{i(!1),n(!1)},style:{minWidth:94}},primaryBtn:{label:E.transferBtn,onClick:d,isLoading:e.fetchState==="In-Progress",isDisabled:p,style:{minWidth:94}}})]})},N=(e,a,u,n,d)=>{if(n===!0)return o.jsx(Ve,{isOptionSelected:u,isForReview:d,children:o.jsx(We,{color:S.brandColorGoldDark})});if(a==="")return o.jsx(Wo,{isForReview:d,children:o.jsx(Mt,{})});const l=e.find(w=>w.id===a),m=e.findIndex(w=>w.id===a);if(l!=null){if(l.accType==="depositAccount")return o.jsx(Ve,{isOptionSelected:u,isForReview:d,children:o.jsx(We,{color:Rt(m)})});if(l.accType==="paymentAccount")return l.logo!==void 0&&(l.logo.base64||l.logo.url)?o.jsx(_o,{src:go(l.logo),isOptionSelected:u,isForReview:d,loading:"lazy"}):o.jsx(No,{isOptionSelected:u,isForReview:d,children:o.jsx(Vo,{})})}return null},V=(e,a,u,n,d,l,m)=>{if(!u)return null;if(u===a.id)return(l||!n)&&a.balance?o.jsx(Ae,{children:W("0,0[.]00",a.balance)}):null;const w=e.find(h=>h.id===u);let v=!1;return d===!0&&m!=null&&w?.accountBalance?.available?.amount!=null&&(v=z.checkIfLowBalance(m,w.accountBalance.available)),n===!0&&!l?o.jsx(Oo,{children:w?.maskedAccountNumber}):o.jsxs(Bo,{className:"option-sublabel",children:[o.jsx(Ae,{children:w?.maskedAccountNumber}),w?.accountBalance?.available?o.jsx(Eo,{className:"dot"}):null,w?.accountBalance?.available?o.jsxs(Ae,{children:[W("0,0[.]00",w.accountBalance.available),v?o.jsx(Io,{children:co}):null]}):null,w?.balanceFetchStatus?.fetchState==="In-Progress"?o.jsx(Ke,{size:"Small",start:!0}):null]})},go=e=>e.base64!==void 0?`${Bt}${e.base64.toString()}`:e.url!==void 0?e.url.toString():"",xo=e=>{const{fromAccount:a}=e.treasuryTransferMoneyLocalData;if(a?.id!==e.treasuryAccount.id)return e.treasuryTransferMoneyLocalData.amount},wo=e=>{const{fromAccount:a}=e.treasuryTransferMoneyLocalData;if(a?.id===e.treasuryAccount.id)return e.treasuryAccount.fundAllocations},yo=(e,a,u)=>e?.id===u?{topAccount:a,bottomAccount:e,topAccountLabel:"To",bottomAccountLabel:"Transfer Funds From",arrowDirection:"up"}:{topAccount:e,bottomAccount:a,topAccountLabel:"Transfer Funds From",bottomAccountLabel:"To",arrowDirection:"down"},ae=(e,a,u,n)=>u==="small"?e?.id===a&&n:e?.id===a,se=r.div`
64
- display: flex;
65
- flex-direction: column;
66
- `,le=r(X)`
67
- color: ${e=>e.theme.colors.hero};
68
- `,ce=r(Y)`
69
- display: flex;
70
- align-items: center;
71
- `,$o=r.div`
72
- display: flex;
73
- flex-direction: column;
74
- width: 100%;
75
- background-color: ${e=>e.theme.colors.grey5};
76
- border: 1px solid ${e=>e.theme.colors.grey3};
77
- box-shadow: ${e=>`${t.sp0} 2px ${t.sp1} ${e.theme.colors.dropShadowNormal}`};
78
- border-radius: ${t.sp2};
79
- padding: ${e=>`${Z.elementsContainerPadding.valuePx(e.windowSize)}`};
80
- gap: ${t.sp4};
81
- ${e=>e.windowSize==="small"&&`
82
- width: auto;
83
- `}
84
- `,bo=r.div`
85
- display: flex;
86
- flex-direction: ${e=>e.windowSize==="small"?"column":"row"};
87
- justify-content: space-between;
88
- align-items: ${e=>e.windowSize==="small"?"stretch":"center"};
89
- width: 100%;
90
- background-color: ${e=>e.theme.colors.grey5};
91
- `,de=r.div`
92
- display: flex;
93
- flex-direction: column;
94
- gap: ${t.sp1};
95
- padding: ${t.sp2} ${t.sp3};
96
- background-color: ${e=>e.theme.colors.grey4};
97
- border: 1px solid ${e=>e.theme.colors.grey3};
98
- border-radius: ${t.sp2};
99
- width: ${e=>e.windowSize==="small"?"auto":"288px"};
100
- `,So=r.div`
101
- padding: ${t.sp2} ${t.sp3};
102
- background-color: ${e=>e.theme.colors.grey4};
103
- border: 1px solid ${e=>e.theme.colors.grey1};
104
- border-radius: ${t.sp2};
105
- `,vo=r.div`
106
- display: flex;
107
- width: 100%;
108
- justify-content: space-between;
109
- padding: ${t.sp3} ${t.sp4};
110
- background-color: ${S.importantLight};
111
- border-radius: ${t.sp2};
112
- `,jo=r.div`
113
- display: flex;
114
- flex-direction: column;
115
- margin-left: ${t.sp2};
116
- `,Ao=r(it)`
117
- color: ${S.important};
118
- `,ko=r(Y)`
119
- color: ${S.important};
120
- `,To=r.div`
121
- margin-top: ${t.sp3};
122
- display: flex;
123
- background-color: ${e=>e.theme.colors.grey5};
124
- justify-content: space-between;
125
- padding: ${t.sp3} ${t.sp4};
126
- border: ${e=>`1px solid ${e.theme.colors.grey3}`};
127
- border-radius: ${t.sp2};
128
- box-shadow: ${e=>`${t.sp0} 2px 2px ${e.theme.colors.dropShadowNormal}`};
129
- `,Po=r.div`
130
- height: auto;
131
- padding-left: ${e=>`${Z.containerPaddingLeft.valuePx(e.windowSize)}`};
132
- padding-right: ${e=>`${Z.containerPaddingRight.valuePx(e.windowSize)}`};
133
- margin-bottom: auto;
134
- `,Co=r.div`
135
- display: flex;
136
- align-items: flex-start;
137
- `,zo=r.div``,Do=r(nt)`
138
- width: ${t.sp4};
139
- height: ${t.sp4};
140
- color: ${S.important};
141
- `,Ne=r(De)`
142
- cursor: pointer;
143
- color: ${e=>e.theme.colors.hero};
144
- width: ${t.sp4};
145
- height: ${t.sp4};
146
- min-height: ${t.sp4};
147
- &:hover {
148
- color: ${e=>e.theme.colors.primary};
149
- }
150
- `,Lo=r.div`
151
- display: flex;
152
- flex: 1;
153
- background-color: ${e=>e.theme.colors.grey3};
154
- min-height: 1px;
155
- max-height: 1px;
156
- `,ue=r(X)`
157
- color: ${e=>e.theme.colors.hero};
158
- `,Fo=r.div`
159
- display: flex;
160
- flex-direction: column;
161
- padding-top: ${t.sp3};
162
- padding-bottom: ${e=>`${Z.reviewContentWrapperPaddingBottom.valuePx(e.windowSize)}`};
163
- `,Mo=r.div`
164
- display: flex;
165
- flex-direction: row;
166
- justify-content: flex-end;
167
- align-items: center;
168
- width: 100%;
169
- top: ${t.sp0};
170
- padding: ${e=>`${Z.navBarContainerPaddingXaxis.valuePx(e.windowSize)} ${t.sp0}`};
171
- z-index: 2;
172
- background-color: transparent;
173
- `,Ro=r(ot)`
174
- ${e=>`${Ce.pageTitle.style(e.windowSize)}`};
175
- color: ${e=>e.theme.colors.primary};
176
- padding: ${t.sp3} ${t.sp0} ${t.sp2} ${t.sp0};
177
- ${e=>e.windowSize==="small"&&`
178
- padding-bottom: ${t.sp0};
179
- `}
180
- `,Bo=r(X)`
181
- color: ${e=>e.theme.colors.hero};
182
- display: flex;
183
- flex-direction: row;
184
- align-items: center;
185
- gap: ${t.sp2};
186
- `,Oo=r.span`
187
- margin-left: ${t.sp2};
188
- `,Ae=r.div``,Io=r(Xt)`
189
- color: ${e=>e.theme.colors.brandColorGoldDark};
190
- margin-left: ${t.sp1};
191
- `,Eo=r.div`
192
- width: ${t.sp1};
193
- height: ${t.sp1};
194
- min-width: ${t.sp1};
195
- background-color: ${e=>e.theme.colors.grey1};
196
- border-radius: 50%;
197
- `,_o=r.img`
198
- display: flex;
199
- width: ${e=>e.isForReview?t.sp6:e.isOptionSelected?t.sp4:t.sp5};
200
- height: ${e=>e.isForReview?t.sp6:e.isOptionSelected?t.sp4:t.sp5};
201
- min-width: ${e=>e.isForReview?t.sp6:e.isOptionSelected?t.sp4:t.sp5};
202
- margin-right: ${t.sp2};
203
- `,No=r.div`
204
- min-width: ${e=>e.isForReview?t.sp6:e.isOptionSelected?t.sp4:t.sp5};
205
- width: ${e=>e.isForReview?t.sp6:e.isOptionSelected?t.sp4:t.sp5};
206
- height: ${e=>e.isForReview?t.sp6:e.isOptionSelected?t.sp4:t.sp5};
207
- margin-right: ${t.sp2};
208
- `,Vo=r(Gt)`
209
- min-width: inherit;
210
- width: inherit;
211
- height: inherit;
212
- margin-right: ${t.sp2};
213
- `,Ve=r.div`
214
- min-width: ${e=>e.isForReview?t.sp6:e.isOptionSelected?t.sp4:t.sp5};
215
- width: ${e=>e.isForReview?t.sp6:e.isOptionSelected?t.sp4:t.sp5};
216
- height: ${e=>e.isForReview?t.sp6:e.isOptionSelected?t.sp4:t.sp5};
217
- margin-right: ${t.sp2};
218
- `,We=r(Yt)`
219
- min-width: inherit;
220
- width: inherit;
221
- height: inherit;
222
- margin-right: ${t.sp2};
223
- `,Wo=r.div`
224
- width: ${e=>e.isForReview?t.sp6:t.sp4};
225
- height: ${e=>e.isForReview?t.sp6:t.sp4};
226
- margin-right: 12px;
227
- margin-left: ${t.sp1};
228
- color: ${e=>e.theme.colors.hero};
229
- `,Xo=r(rt)`
230
- color: ${e=>e.theme.colors.primary};
231
- margin: ${t.sp2} ${t.sp0} ${t.sp3} ${t.sp0};
232
- ${e=>e.windowSize==="small"&&`
233
- margin-top: ${t.sp1};
234
- margin-bottom: ${t.sp1};
235
- `}
236
- `,Yo=r(Y)`
237
- color: ${e=>e.theme.colors.hero};
238
- margin-top: ${t.sp3};
239
- `,Go=r(Wt)`
240
- width: ${t.sp4};
241
- height: ${t.sp4};
242
- color: ${e=>e.theme.colors.hero};
243
- `,qo=r(Nt)`
244
- width: ${t.sp4};
245
- height: ${t.sp4};
246
- color: ${e=>e.theme.colors.hero};
247
- align-self: center;
248
- `,Jo=r(Vt)`
249
- width: ${t.sp4};
250
- height: ${t.sp4};
251
- color: ${e=>e.theme.colors.hero};
252
- align-self: center;
253
- `,pe=r.div`
254
- width: 1px;
255
- height: 25px;
256
- background-color: ${e=>e.theme.colors.grey1};
257
- position: absolute;
258
- right: 50%;
259
- bottom: -25px;
260
- `,{common:ke,spendManagement:{treasury:M,zeniAccounts:{zeniAccountList:Zo},billPay:{insufficientFunds:Xe}}}=xe.getLocalizedStrings(),st="amount",Ho="transferTo",Qo="transferFrom",_="transferDetails",lt="transferDetailPage",Te=(e,a)=>`${e}.${a}`,ct=e=>`${e}_form`,g={largeLabelWidth:new f(120,120,160),labeleMarginLeft:new f(c[0],c[0]),labelMarginRight:new f(c[3],c[3]),labeleMarginBottom:new f(c[2],c[0]),labeledFieldPaddingLeft:new f(c[3],c[0]),labeledFieldPaddingRight:new f(c[3],c[2]),labeledFieldPaddingTop:new f(c[3],c[3]),labeledFieldPaddingBottom:new f(c[3],c[2]),infoLabelPaddingRight:new f(c[0],c[3]),infoLabelMarginTop:new f(c[1],c[0]),portfolioContainerPadding:new f(c[3],c[4]),rowContentSelectPaddingLeft:new f(c[3],c[4]),formFieldPaddingRight:new f(0,c[2])},me={yieldEarned:new R("smallMedium","standardMedium"),calculatorFooterText:new R("extraSmallRegular","smallRegular"),integerStyles:new R("h5Regular","h2Regular"),decimalStyles:new R("extraLargeMedium","h5Medium")};function Uo({transferDetails:e,fundDetails:a,portfolioAllocation:u,isFirstTransfer:n,maxInsuredAmount:d,plaidConnectionDetails:l,onSaveChangesToLocalStore:m,onReviewClick:w,onEstablishConnectionClick:v,onFetchLinkTokenClick:h}){const i=ge(),$=g.largeLabelWidth.value(i),[T,A]=x.useState(!1),[p,C]=x.useState(!1),[B,Q]=x.useState(e.treasuryTransferMoneyLocalData.amount?.amount??0),O=a.reduce((s,y)=>{const j=y.yield;return Math.max(s,j)},0),[U,K]=x.useState(he(B,O)),b=l.link_account_no_microdeposit,[D,we]=x.useState(b.linkToken??null),[ee,Le]=x.useState(!1),[Fe,Me]=x.useState(!1),ye=e.transferMoneyPartiesFetchState,Re=J(ye),$e=e.treasuryTransferMoneyLocalData.fromAccount?.id,be=e.treasuryTransferMoneyLocalData.toAccount?.id,Be=J($e),Oe=J(be),Se=e.transferMoneyParties.map(s=>s.id),ve=J(Se),dt=x.useCallback(s=>{v?.(s),Me(!1),Le(!1)},[v]),ut=x.useCallback((s,y)=>{s!=null&&console.log("Plaid Connection Error",s,y)},[]),{open:te,ready:G}=Pt({token:D,onSuccess:dt,onExit:ut}),q=x.useCallback(s=>{s.preventDefault(),s.stopPropagation(),G?te():Le(!0)},[te,G]),I=Ct({mode:"all",reValidateMode:"onChange",defaultValues:x.useMemo(()=>Ye(e,n,q),[e,n])}),{isValid:pt}=I.formState;x.useEffect(()=>{b.fetchStatus.fetchState==="Completed"&&b.linkToken!=null&&b.linkToken!==D&&we(b.linkToken)},[b.fetchStatus.fetchState,b.linkToken,D]),x.useEffect(()=>{b.linkToken===D&&b.fetchStatus.fetchState==="Completed"&&G&&Me(!0)},[G,D,b.fetchStatus,b.linkToken,b.fetchStatus.fetchState]),x.useEffect(()=>{Fe&&ee&&te()},[Fe,te,ee]),x.useEffect(()=>{(z.zeniDate(new Date().toISOString()).isAfter(b.expiration)||b.linkToken==null)&&h?.("link_account_no_microdeposit")},[]),x.useEffect(()=>{const s=ve!=null&&JSON.stringify(ve)!==JSON.stringify(Se);(Re==="In-Progress"&&ye==="Completed"||Be!==$e||Oe!==be||s)&&I.reset(Ye(e,n,q))},[G,D,b.fetchStatus.fetchState,Re,ye,Be,Oe,be,$e,ve,Se,I,e,n,q]);const ht=()=>e.transferMoneyParties.find(s=>s.id!==e.treasuryAccount.id&&s.accType==="depositAccount"),mt=()=>{const s=e.primaryPaymentAccount?.paymentAccountId;return e.transferMoneyParties.find(y=>y.id===s)},ft=async(s,y)=>{if(s!=null){const j={...y},oe=j[_].transferFrom.selectedOption,re=j[_].transferTo.selectedOption;let ne=e.transferMoneyParties.find(je=>je.id===oe),ie=e.transferMoneyParties.find(je=>je.id===re);oe===e.treasuryAccount.id&&(ne=e.treasuryAccount),re===e.treasuryAccount.id&&(ie=e.treasuryAccount);const Ee={amount:j[_].amount??0,currencyCode:"USD",currencySymbol:"$"};s.includes("transferFrom")?oe===e.treasuryAccount.id?re===e.treasuryAccount.id&&(ie=ht()):ie=e.treasuryAccount:s.includes("transferTo")&&(re===e.treasuryAccount.id?oe===e.treasuryAccount.id&&(ne=mt()):ne=e.treasuryAccount);const yt={amount:Ee,fromAccount:ne,toAccount:ie};Q(Ee.amount),m(yt)}};x.useEffect(()=>{const s=I.watch((y,{name:j})=>{j!=null&&y!=null&&zt(()=>ft(j,y))});return()=>{s.unsubscribe()}}),x.useEffect(()=>{K(he(B,O))},[B,O]);const gt=I.handleSubmit(()=>{pt&&w()}),{fromAccount:xt,toAccount:Ie,amount:L}=e.treasuryTransferMoneyLocalData,wt=s=>{if(!s||!L.amount)return"";const y=e.transferMoneyParties.find(j=>j.id===s);if(s===e.treasuryAccount.id){const j=e.treasuryAccount.balance;if(j&&z.checkIfLowBalance(L,j))return Xe.addMoney}else if(y?.accountBalance?.available&&z.checkIfLowBalance(L,y.accountBalance.available))return Xe.addMoney;return""};return o.jsxs(o.Fragment,{children:[T?o.jsx(Ko,{children:o.jsxs(tr,{children:[o.jsxs(or,{children:[o.jsx(nr,{}),o.jsxs(ir,{children:[o.jsx(ar,{children:e.error?.title}),o.jsx(sr,{children:e.error?.message})]})]}),o.jsx(rr,{children:o.jsx(ur,{"data-testid":P("amount-details-error-close"),onClick:()=>{A(!1)},style:{width:t.sp3,height:t.sp3,color:S.heroLight}})})]})}):null,o.jsx(lr,{windowSize:i,children:o.jsx(tt,{amount:L,integerStyles:me.integerStyles.styleObject(i),decimalStyles:me.decimalStyles.styleObject(i),alwaysShowDecimal:!0})}),o.jsx(Dt,{...I,children:o.jsxs(er,{id:ct(lt),onSubmit:gt,children:[o.jsxs(cr,{children:[o.jsx(ze,{size:i,children:o.jsx(Ge,{label:{label:ke.labels.transferFrom,width:$,style:{marginLeft:g.labeleMarginLeft.valuePx(i),marginBottom:g.labeleMarginBottom.valuePx(i),marginRight:g.labelMarginRight.valuePx(i)}},style:{paddingTop:g.labeledFieldPaddingTop.valuePx(i),paddingBottom:g.labeledFieldPaddingBottom.valuePx(i),paddingLeft:g.labeledFieldPaddingLeft.valuePx(i),paddingRight:g.labeledFieldPaddingRight.valuePx(i),border:"none",width:"100%",outline:"none",padding:0,display:i==="small"?"flex":"inherit"},infoLabelStyle:{textAlign:i==="small"?"left":"right",paddingRight:g.infoLabelPaddingRight.valuePx(i),marginTop:g.infoLabelMarginTop.valuePx(i),color:S.brandColorGoldDark},singleSelectPickerField:{name:Te(_,Qo),style:{position:"relative"},capitalizeOptions:!0,placeholder:M.transferDrawer.selectAccount,valueToLogo:(s,y)=>N(e.transferMoneyParties,s,y,s===e.treasuryAccount.id,!1),valueToSubLabels:(s,y)=>V(e.transferMoneyParties,e.treasuryAccount,s,y,!0,!1,L),defaultValue:{selectedOption:xt?.id,allOptions:fe(e,!0,n,!0,q,!0)},textAlignment:"right",registerOptions:{required:!0,validate:s=>s!=null&&!!s.selectedOption}},valueToAdditionalLabel:wt})}),!n&&o.jsxs(o.Fragment,{children:[o.jsx(Pe,{}),o.jsx(ze,{size:i,children:o.jsx(Ge,{label:{label:ke.labels.transferTo,width:$,style:{marginLeft:g.labeleMarginLeft.valuePx(i),marginBottom:g.labeleMarginBottom.valuePx(i),marginRight:g.labelMarginRight.valuePx(i)}},style:{paddingTop:g.labeledFieldPaddingTop.valuePx(i),paddingBottom:g.labeledFieldPaddingBottom.valuePx(i),paddingLeft:g.labeledFieldPaddingLeft.valuePx(i),paddingRight:g.labeledFieldPaddingRight.valuePx(i),border:"none",width:"100%",outline:"none",padding:0,display:i==="small"?"flex":"inherit"},infoLabelStyle:{textAlign:i==="small"?"left":"right",paddingRight:g.infoLabelPaddingRight.valuePx(i),marginTop:g.infoLabelMarginTop.valuePx(i),color:S.brandColorGoldDark},singleSelectPickerField:{name:Te(_,Ho),style:{position:"relative"},capitalizeOptions:!0,placeholder:M.transferDrawer.selectAccount,valueToLogo:(s,y)=>N(e.transferMoneyParties,s,y,s===e.treasuryAccount.id,!1),valueToSubLabels:(s,y)=>V(e.transferMoneyParties,e.treasuryAccount,s,y,!1,!1),defaultValue:{selectedOption:Ie?.id,allOptions:fe(e,!1,n,!0,q,!1)},textAlignment:"right",registerOptions:{required:!0,validate:s=>s!=null&&!!s.selectedOption}}})})]}),o.jsx(Pe,{}),o.jsx(Lt,{showAdditionalInfoLabel:!1,label:{label:ke.labels.amount,width:$},style:{padding:t.sp2,paddingLeft:t.sp0,paddingRight:g.formFieldPaddingRight.valuePx(i),width:"auto"},formattedTextField:{type:"number",name:Te(_,st),defaultValue:L.amount===0?void 0:L.amount,returnValueType:"floatValue",prefix:"$",allowNegative:!1,isNumericString:!1,registerOptions:{required:!0,validate:s=>!!s&&s>0},placeholder:M.transferDrawer.amountPlaceholder,autoComplete:"off",decimalSeparator:".",decimalScale:2,fixedDecimalScale:!1,thousandSeparator:!0,allowLeadingZeros:!1}}),n&&o.jsxs(o.Fragment,{children:[o.jsx(Pe,{}),o.jsx(dr,{size:i,children:o.jsx(at,{isInReview:!0,fundDetails:a,allocation:u,isSetup:!1,amount:L,page:"fund transfer"})})]})]}),!n&&Ie?.accType==="treasuryAccount"&&o.jsxs(pr,{children:[p?o.jsxs(hr,{children:[o.jsx(mr,{windowSize:i,children:M.transferDrawer.calculator.heading.replace("__amount__",W("0,0.[00]a",{amount:d,currencySymbol:"$"})).replace("__rate__",O.toString())}),o.jsx(Ht,{interestRate:O,transferAmount:B,setYieldEarned:K,setTransferAmount:Q})]}):null,o.jsxs(gr,{windowSize:i,children:[o.jsxs(yr,{windowSize:i,children:[o.jsx(xr,{children:o.jsx(fr,{windowSize:i,children:`${M.transferDrawer.calculator.footerText.annualYieldEarned} ${W("0,0",{amount:U,currencySymbol:"$"})}`})}),o.jsx(wr,{windowSize:i}),o.jsx($r,{children:`${M.transferDrawer.calculator.footerText.forTotalDeposit} ${W("0,0",{amount:B,currencySymbol:"$"})}`})]}),p?o.jsxs(Je,{windowSize:i,onClick:()=>C(!1),"data-testid":P("calculator-footer-close"),children:[o.jsx(qe,{className:"calculatorFooterLeftText",windowSize:i,children:M.transferDrawer.calculator.footerText.hide}),o.jsx(br,{className:"calculatorFooterArrowIcon"})]}):o.jsxs(Je,{windowSize:i,onClick:()=>C(!0),"data-testid":P("calculator-footer-show"),children:[o.jsx(qe,{className:"calculatorFooterLeftText",windowSize:i,children:M.transferDrawer.calculator.footerText.showYieldCalculator}),o.jsx(Sr,{className:"calculatorFooterArrowIcon"})]})]})]})]})})]})}const fe=(e,a,u,n=!0,d,l=!1,m,w)=>{const v=e.treasuryTransferMoneyLocalData.fromAccount?.id,h=e.treasuryTransferMoneyLocalData.toAccount?.id,i=e.transferMoneyParties.find(p=>p.id===v)||e.treasuryAccount,$=e.transferMoneyParties.find(p=>p.id===h)||e.treasuryAccount;let T=e.transferMoneyParties;a||(T=T.filter(p=>p.accType!=="paymentAccount"));const A=T.map(p=>{const C={label:p.label,value:p.id};return n&&(a?C.isDisabled=p.id===h||p.accType==="paymentAccount"&&$?.accType==="paymentAccount":C.isDisabled=p.id===v||p.accType==="paymentAccount"&&i?.accType==="paymentAccount"),C});if(!u){const p={label:"Treasury",value:e.treasuryAccount.id,isDisabled:!1};n&&(a?p.isDisabled=!1:p.isDisabled=e.treasuryAccount.id===v),a?A.push(p):A.unshift(p)}if(l&&d){const p={label:Zo.transferDrawer.selectAddAccount,value:"",type:"button",onClick:d};A.push(p)}return A},Ye=(e,a,u)=>{const{fromAccount:n,toAccount:d,amount:l}=e.treasuryTransferMoneyLocalData;return{transferDetails:{[st]:l.amount===0?void 0:l.amount,transferFrom:{allOptions:fe(e,!0,a,!0,u,!0),selectedOption:n!=null?n.id:e.primaryPaymentAccount?.paymentAccountId},transferTo:{allOptions:fe(e,!1,a,!0,u,!1),selectedOption:d?.id}}}},Ko=r.div`
261
- margin-top: ${t.sp3};
262
- display: flex;
263
- background-color: ${e=>e.theme.colors.grey5};
264
- justify-content: space-between;
265
- padding: ${t.sp3} ${t.sp4};
266
- border: ${e=>`1px solid ${e.theme.colors.grey3}`};
267
- border-radius: ${t.sp2};
268
- box-shadow: ${e=>`${t.sp0} 2px 2px ${e.theme.colors.dropShadowNormal}`};
269
- `,er=r.form`
270
- display: flex;
271
- flex-direction: column;
272
- justify-content: center;
273
- align-items: center;
274
- `,tr=r.div`
275
- display: flex;
276
- width: 100%;
277
- justify-content: space-between;
278
- padding: ${t.sp3} ${t.sp4};
279
- background-color: ${S.importantLight};
280
- border-radius: ${t.sp2};
281
- `,or=r.div`
282
- display: flex;
283
- align-items: flex-start;
284
- `,rr=r.div``,nr=r(nt)`
285
- width: ${t.sp4};
286
- height: ${t.sp4};
287
- color: ${S.important};
288
- `,ir=r.div`
289
- display: flex;
290
- flex-direction: column;
291
- margin-left: ${t.sp2};
292
- `,ar=r(it)`
293
- color: ${S.important};
294
- `,sr=r(Y)`
295
- color: ${S.important};
296
- `,lr=r(rt)`
297
- color: ${e=>e.theme.colors.primary};
298
- margin: ${t.sp5} ${t.sp0} ${t.sp3} ${t.sp0};
299
- ${e=>e.windowSize==="small"&&`
300
- margin-top: ${t.sp1};
301
- margin-bottom: ${t.sp1};
302
- `}
303
- `,Ge=r(Ft)`
304
- border-radius: ${t.sp2};
305
- border: ${e=>`1px solid ${e.theme.colors.grey3}`};
306
- `,cr=r.div`
307
- display: flex;
308
- flex-direction: column;
309
- width: 100%;
310
- background-color: ${e=>e.theme.colors.grey5};
311
- border: 1px solid ${e=>e.theme.colors.grey3};
312
- box-shadow: ${e=>`${t.sp0} 2px ${t.sp1} ${e.theme.colors.dropShadowNormal}`};
313
- border-radius: ${t.sp2};
314
- `,Pe=r.div`
315
- display: flex;
316
- flex: 1;
317
- background-color: ${e=>e.theme.colors.grey3};
318
- min-height: 1px;
319
- max-height: 1px;
320
- `,ze=r.div`
321
- display: flex;
322
- flex-direction: row;
323
- padding: ${t.sp2};
324
- padding-left: ${({size:e})=>g.rowContentSelectPaddingLeft.valuePx(e)};
325
- justify-content: space-between;
326
- color: ${e=>e.theme.colors.hero};
327
- &:hover {
328
- z-index: 1;
329
- outline: 1px solid ${e=>e.theme.colors.primary};
330
- .select-control {
331
- background-color: ${e=>e.theme.colors.background};
332
- }
333
- }
334
- &:focus-within {
335
- border-color: ${e=>e.theme.colors.primary};
336
- color: ${e=>e.theme.colors.primary};
337
- z-index: 2;
338
- outline: 1px solid ${e=>e.theme.colors.primary};
339
- }
340
- :first-of-type {
341
- border-top-left-radius: inherit;
342
- border-top-right-radius: inherit;
343
- }
344
-
345
- ${({size:e})=>e==="small"&&`
346
- .select-value-container {
347
- margin-right: ${t.sp1} !important;
348
- }
349
- `}
350
- `,dr=r(ze)`
351
- padding: ${({size:e})=>g.portfolioContainerPadding.valuePx(e)};
352
- padding-top: ${t.sp2};
353
- `,ur=r(De)`
354
- cursor: pointer;
355
- color: ${e=>e.theme.colors.hero};
356
- width: ${t.sp4};
357
- height: ${t.sp4};
358
- min-height: ${t.sp4};
359
- &:hover {
360
- color: ${e=>e.theme.colors.primary};
361
- }
362
- `,pr=r.div`
363
- margin-bottom: ${t.sp6};
364
- width: 90%;
365
- `,hr=r.div`
366
- background-color: ${e=>e.theme.colors.background};
367
- border: 1px solid ${e=>e.theme.colors.grey3};
368
- border-top: none;
369
- min-height: 182px;
370
- display: flex;
371
- justify-content: center;
372
- align-items: center;
373
- flex-direction: column;
374
- `,mr=r(Y)`
375
- color: ${e=>e.theme.colors.hero};
376
- margin: ${e=>e.windowSize==="small"?t.sp3:`${t.sp3} ${t.sp8}`};
377
- white-space: pre-line;
378
- text-align: center;
379
- `,fr=r.div`
380
- ${e=>me.yieldEarned.style(e.windowSize)}
381
- color: ${S.success};
382
- white-space: nowrap;
383
- `,gr=r.div`
384
- display: flex;
385
- align-items: center;
386
- flex-direction: ${e=>e.windowSize==="small"?"column":"row"};
387
- justify-content: space-between;
388
- padding: ${t.sp2} ${t.sp3};
389
- background-color: ${e=>e.theme.colors.grey3};
390
- border-bottom-right-radius: ${t.sp1};
391
- border-bottom-left-radius: ${t.sp1};
392
- `,xr=r.div`
393
- display: flex;
394
- flex-direction: row;
395
- align-items: center;
396
- `,qe=r.div`
397
- ${e=>me.calculatorFooterText.style(e.windowSize)}
398
- color: ${e=>e.theme.colors.hero};
399
- cursor: pointer;
400
- `,Je=r.div`
401
- display: flex;
402
- flex-direction: row;
403
- align-items: center;
404
- gap: 6px;
405
- align-self: ${e=>e.windowSize==="small"?"flex-end":"center"};
406
- &:hover {
407
- .calculatorFooterLeftText {
408
- color: ${e=>e.theme.colors.primary};
409
- }
410
- .calculatorFooterArrowIcon {
411
- color: ${e=>e.theme.colors.primary};
412
- }
413
- }
414
- `,wr=r.div`
415
- display: ${e=>e.windowSize==="small"?"none":"block"};
416
- width: ${t.sp1};
417
- height: ${t.sp1};
418
- min-width: ${t.sp1};
419
- margin: 0 ${t.sp2};
420
- background-color: ${e=>e.theme.colors.grey1};
421
- border-radius: 50%;
422
- `,yr=r.div`
423
- display: flex;
424
- flex-direction: ${e=>e.windowSize==="small"?"column":"row"};
425
- align-items: ${e=>e.windowSize==="small"?"flex-start":"center"};
426
- width: ${e=>e.windowSize==="small"?"100%":"unset"};
427
- `,$r=r(It)`
428
- color: ${e=>e.theme.colors.hero};
429
- `,br=r(Et)`
430
- cursor: pointer;
431
- width: 12px;
432
- height: 12px;
433
- min-width: 12px;
434
- min-height: 12px;
435
- color: ${e=>e.theme.colors.hero};
436
- `,Sr=r(_t)`
437
- cursor: pointer;
438
- width: 12px;
439
- height: 12px;
440
- min-width: 12px;
441
- min-height: 12px;
442
- color: ${e=>e.theme.colors.hero};
443
- `,H={navBarContainerPaddingXaxis:new f(10,19),containerPaddingLeft:new f(c[3],c[6],c[8]),containerPaddingRight:new f(c[3],c[6],c[8]),successContentMargin:new f(c[3],c[12]),buttonTrayGap:new f(c[4],c[5])},vr={formTitle:new R("h6Regular","h5Regular")},{common:Ze,spendManagement:{treasury:k}}=xe.getLocalizedStrings(),Xr=({transferDetails:e,treasurySetupView:a,showReviewContent:u,maxInsuredAmount:n,isFirstTransfer:d,plaidConnectionDetails:l,onSaveChangesToLocalStore:m,onTransferClick:w,onAnotherTransferClick:v,onCancelClick:h,setShowReviewContent:i,onReviewClick:$,onEstablishConnectionClick:T,onFetchLinkTokenClick:A})=>{const p=ge(),{fundsData:C,currentAllocation:B,fundAllocationOptions:Q,fetchState:O}=a,U=Q.find(ee=>$t(ee.allocation,B))??{allocation:{},riskLevel:"Conservative",riskScore:0,optionIndex:0},K=()=>O==="Completed"&&(e.treasuryTransferMoneyLocalData.fromAccount!=null||e.treasuryTransferMoneyLocalData.toAccount!=null||e.treasuryTransferMoneyLocalData.amount.amount>0),{fromAccount:b,toAccount:D,amount:we}=e.treasuryTransferMoneyLocalData;return o.jsx(kr,{windowSize:p,children:e.fetchState==="Completed"?o.jsxs(He,{windowSize:p,isTransferCompleted:!0,children:[o.jsx(Qe,{windowSize:p,children:o.jsx(Ue,{"data-testid":P("cross-transfer-success-close-button"),onClick:()=>{h()}})}),o.jsxs(zr,{windowSize:p,children:[o.jsx(bt,{width:150,height:150,shouldDisplay:!0,animationInLoop:1}),o.jsx(Tr,{children:o.jsxs(o.Fragment,{children:[k.transferDrawer.success.prefix,o.jsx(Pr,{children:W("0,0.[00]",we)}),k.transferDrawer.success.midfix,`"${b?.label}"`,k.transferDrawer.success.midfix2,`"${D?.label}".`]})}),o.jsxs(Cr,{windowSize:p,children:[o.jsx(_e,{variant:"secondary",label:k.transferDrawer.anotherTransfer,"data-testid":P("another-transfer-button","treasury"),onClick:()=>{v()},style:{minWidth:200}}),o.jsx(_e,{variant:"primary",label:k.transferDrawer.backToTreasury,"data-testid":P("back-to-treasury-button"),onClick:()=>{h()},style:{minWidth:200}})]})]})]}):u?o.jsx(fo,{transferDetails:e,setShowReviewContent:i,onTransferClick:w,fundDetails:C,portfolioAllocation:U,onCancelClick:h}):o.jsxs(o.Fragment,{children:[o.jsxs(He,{windowSize:p,isTransferCompleted:!1,children:[o.jsx(Qe,{windowSize:p,children:o.jsx(Ue,{"data-testid":P("cross-amount-details-close-button"),onClick:()=>{h()}})}),p==="small"?o.jsx(Dr,{windowSize:p,children:d?k.transferDrawer.title:k.transferDrawer.transferBetweenAccounts}):o.jsx(Lr,{windowSize:p,children:d?k.transferDrawer.title:k.transferDrawer.transferBetweenAccounts}),p==="small"?o.jsx(Ar,{children:k.transferDrawer.subTitle}):o.jsx(jr,{children:k.transferDrawer.subTitle}),e.transferMoneyPartiesFetchState==="Completed"?o.jsx(Uo,{onSaveChangesToLocalStore:m,transferDetails:e,onReviewClick:$,fundDetails:C,portfolioAllocation:U,isFirstTransfer:d,maxInsuredAmount:n,plaidConnectionDetails:l,onEstablishConnectionClick:T,onFetchLinkTokenClick:A}):o.jsx(Ke,{size:"Standard",start:!0,style:{display:"flex",justifyContent:"center",alignItems:"center",height:"calc(100vh - 500px)"}})]}),K()?o.jsx(et,{style:{zIndex:4,paddingTop:t.sp3,paddingBottom:t.sp3},formId:ct(lt),helperStyle:{paddingTop:t.sp0,paddingBottom:t.sp0},primaryBtn:{label:Ze.review},cancelBtn:{label:Ze.cancel,onClick:()=>{h()}}}):null]})})},jr=r(Y)`
444
- color: ${e=>e.theme.colors.hero};
445
- `,Ar=r(X)`
446
- color: ${e=>e.theme.colors.hero};
447
- `,kr=r.div`
448
- display: flex;
449
- flex-direction: column;
450
- background-color: ${e=>e.theme.colors.grey4};
451
- overflow-x: hidden;
452
- height: 100vh;
453
- width: 100%;
454
- `,Tr=r(St)`
455
- color: ${e=>e.theme.colors.primary};
456
- text-align: center;
457
- `,Pr=r(vt)`
458
- display: inline;
459
- `,He=r.div`
460
- height: ${e=>e.isTransferCompleted?"100%":"auto"};
461
- padding-left: ${e=>`${H.containerPaddingLeft.valuePx(e.windowSize)}`};
462
- padding-right: ${e=>`${H.containerPaddingRight.valuePx(e.windowSize)}`};
463
- margin-bottom: auto;
464
- `,Cr=r.div`
465
- display: flex;
466
- justify-content: center;
467
- flex-direction: ${e=>e.windowSize==="small"?"column-reverse":"row"};
468
- margin-top: ${t.sp6};
469
- gap: ${e=>`${H.buttonTrayGap.valuePx(e.windowSize)}`};
470
- `,zr=r.div`
471
- height: 80%;
472
- display: flex;
473
- flex-direction: column;
474
- justify-content: center;
475
- margin: ${e=>`${t.sp0} ${H.successContentMargin.valuePx(e.windowSize)}`};
476
- align-items: center;
477
- `,Qe=r.div`
478
- display: flex;
479
- flex-direction: row-reverse;
480
- justify-content: space-between;
481
- align-items: center;
482
- width: 100%;
483
- top: ${t.sp0};
484
- padding: ${e=>`${H.navBarContainerPaddingXaxis.valuePx(e.windowSize)} ${t.sp0}`};
485
- z-index: 2;
486
- background-color: ${e=>e.theme.colors.grey4};
487
- `,Ue=r(De)`
488
- cursor: pointer;
489
- color: ${e=>e.theme.colors.hero};
490
- width: ${t.sp4};
491
- height: ${t.sp4};
492
- min-height: ${t.sp4};
493
- &:hover {
494
- color: ${e=>e.theme.colors.primary};
495
- }
496
- `,Dr=r(Tt)`
497
- color: ${e=>e.theme.colors.primary};
498
- margin-top: ${t.sp3};
499
- margin-bottom: ${t.sp0};
500
- margin-right: ${t.sp3};
501
- `,Lr=r(ot)`
502
- ${e=>`${vr.formTitle.style(e.windowSize)}`};
503
- color: ${e=>e.theme.colors.primary};
504
- margin-top: ${t.sp3};
505
- margin-bottom: ${t.sp2};
506
- `;export{Xr as default};
@@ -1,67 +0,0 @@
1
- import{a2 as v,a as $,B as b,j as t,bn as w,F as C,bo as F,bp as S,i as d,o as n,bq as V,m as h,ap as m,w as k}from"./index-Dv7T7Q4q.js";import{b as p,n as r}from"./vendor-CnQcJ2Lu.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";const l="otpInputField",Y=e=>{const x=e.verifyOtpFetchState==="In-Progress",[f,c]=p.useState(!1),a=v(e.verifyOtpFetchState),i=$({mode:"all",reValidateMode:"onChange",defaultValues:{[l]:""}}),s=i.watch(l),u=()=>{e.onCancelVerifyDevice()},y=()=>{s.length===6&&e.onVerifyOtp(s)},o=b.getLocalizedStrings().commonSetUp.twoFactorAuthentication,g=o.footerHelperText.replace(/<button_text>/,o.verify);return p.useEffect(()=>{a==="In-Progress"&&e.verifyOtpFetchState==="Error"&&(c(!0),i.setValue(l,""))},[a,e.verifyOtpFetchState,i]),t.jsx(w,{open:!0,onClose:e.onCancelVerifyDevice,children:t.jsx(O,{children:t.jsx(C,{...i,children:t.jsxs(A,{children:[t.jsxs(z,{children:[t.jsx(D,{children:o.verifyDeviceTitle}),t.jsx(E,{children:o.verifyDeviceDescription}),t.jsx(P,{children:F(e.phoneNumber+"")})]}),t.jsx(B,{children:t.jsx(S,{value:s,valueLength:6,onChange:j=>i.setValue(l,j)})}),f===!0?t.jsx(I,{children:o.invalidCode}):null,t.jsxs(N,{children:[t.jsx(R,{children:o.codeNotReceived}),t.jsx(L,{onClick:()=>{e.onResendOtp(),c(!1),i.setValue(l,"")},children:o.resend})]}),t.jsxs(H,{children:[t.jsxs(M,{children:[t.jsx(d,{label:o.cancel,onClick:u,style:{width:82}}),t.jsx(d,{variant:"primary",label:o.verify,onClick:y,style:{width:82},loading:x,disabled:s.length!==6})]}),t.jsx(T,{children:g})]})]})})})})},O=r.div`
2
- display: flex;
3
- flex-direction: column;
4
- width: 456px;
5
- padding: ${n.sp5} ${n.sp6};
6
- background: ${e=>e.theme.colors.grey5};
7
- border-radius: ${n.sp2};
8
- `,D=r(V)`
9
- color: ${e=>e.theme.colors.primary};
10
- text-align: center;
11
- `,E=r(h)`
12
- color: ${e=>e.theme.colors.hero};
13
- text-align: center;
14
- `,P=r(h)`
15
- color: ${e=>e.theme.colors.primary};
16
- text-align: center;
17
- `,B=r.div`
18
- display: flex;
19
- justify-content: center;
20
- `,I=r(m)`
21
- color: ${e=>e.theme.colors.important};
22
- text-align: center;
23
- `,N=r.div`
24
- display: flex;
25
- justify-content: center;
26
- align-items: center;
27
- gap: ${n.sp1};
28
- `,R=r(m)`
29
- color: ${e=>e.theme.colors.grey1};
30
- `,L=r.button`
31
- color: ${e=>e.theme.colors.link};
32
- cursor: pointer;
33
- background: none;
34
- border: none;
35
- padding: 0;
36
- font: inherit;
37
-
38
- &:hover {
39
- color: ${e=>e.theme.colors.primary};
40
- }
41
- `,M=r.div`
42
- display: flex;
43
- justify-content: center;
44
- column-gap: ${n.sp3};
45
- `,T=r(k)`
46
- color: ${e=>e.theme.colors.hero};
47
- text-align: center;
48
- `,z=r.div`
49
- display: flex;
50
- flex-direction: column;
51
- align-items: center;
52
- justify-content: center;
53
- row-gap: ${n.sp2};
54
- `,A=r.div`
55
- display: flex;
56
- flex-direction: column;
57
- align-items: center;
58
- justify-content: center;
59
- row-gap: ${n.sp3};
60
- `,H=r.div`
61
- display: flex;
62
- flex-direction: column;
63
- align-items: center;
64
- justify-content: center;
65
- row-gap: ${n.sp2};
66
- margin-top: ${n.sp2};
67
- `;export{Y as default};
@@ -1,14 +0,0 @@
1
- import{Y as P,fn as $,l as j,B,j as i,$ as O,go as p,gT as u,o as s,gq as w}from"./index-Dv7T7Q4q.js";import{n as d}from"./vendor-CnQcJ2Lu.js";const o=B.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},z=[y,g,v,M],A=[v,g,y,M],D=({zeniBankProps:e,isBillPayEnabled:h,isExpressPayEnabled:f,analytics:x,onSettingsClick:b})=>{const l=P(),a=l.loggedInUserRoleMap.deposit_accounts_user===!0||$(l),k=j.hasBillPayAccess(l.loggedInUserRoleMap),S=m.filter(t=>t.value==="accountStatement"),c=h===!0?z:A,r=f===!0?c:c.filter(t=>t.value!=="sendMoney"),N=k?r:r.filter(t=>t.value!=="payBill");return i.jsxs(E,{isTopAlign:e.pageName==="detailPage",children:[e.pageName==="listPage"&&!a?i.jsx(C,{onClick:b,"data-testid":O("zeni-accounts-settings-button")}):e.pageName==="detailPage"&&i.jsx(p,{entity:"zeni_accounts",onOptionSelection:t=>{const n=u(t);n!=null&&e.onOptionSelection(n)},isMoreOption:!0,options:a?S:m,title:o.moveMoney.title}),a?null:i.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:()=>x?.trackAccountsListPageClicked("Move Money")})]})},C=d(w)`
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
- `,E=d.div`
11
- display: flex;
12
- flex-direction: row;
13
- align-items: ${({isTopAlign:e})=>e?"flex-start":"center"};
14
- `;export{D as T};