@zeniai/web-cockpit-ui 1.14.84-qa → 1.14.85-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 (221) hide show
  1. package/dist/assets/{ACHDetailsPage-BXgsd50c-RayuRG_c.js → ACHDetailsPage-Dzk7YdoJ-Cuct0t6u.js} +2 -2
  2. package/dist/assets/{AIPerformancePage-BdDTidCL-C4KAZN5D.js → AIPerformancePage-DBCH9dJi-CYibQjrX.js} +19 -19
  3. package/dist/assets/{AccountInfoPage-w0STaK9a-DtmPJmpY.js → AccountInfoPage-Mzw-22d_-Df5O2T5Z.js} +2 -2
  4. package/dist/assets/{AccountInfoPageContent-CsuUhHXU-BIJUOaA1.js → AccountInfoPageContent-Bjp81drF-Cqcv4hk8.js} +15 -15
  5. package/dist/assets/{AccountLockedInfoModal-iYb31wv7-BVoKu5K7.js → AccountLockedInfoModal-Zg2PAu1o-svgY2-MJ.js} +1 -1
  6. package/dist/assets/{AccountReconDetailsDrawerPage-DmkLTIkW-Ctf-W4YD.js → AccountReconDetailsDrawerPage-BTkrwp4Q-CWHV1qM1.js} +9 -9
  7. package/dist/assets/{AccountRow-BObEIy6l-JC0yFhHa.js → AccountRow-CIsbwvGp-J3oMxL3b.js} +10 -10
  8. package/dist/assets/{AccountsPromoCardStack-B8gJFsYh-DI-Y_-Io.js → AccountsPromoCardStack-DrElZh-K-CUoBlW42.js} +13 -13
  9. package/dist/assets/{AddAddressForCardDrawer-vOgzMYWA-Cx4gewRv.js → AddAddressForCardDrawer-D5Kqxx0c-CDAVfdUf.js} +1 -1
  10. package/dist/assets/{AddToWalletPage-BhphXgem-BhW_6xuA.js → AddToWalletPage-B68eBsAU-Dnsjp7Oq.js} +5 -5
  11. package/dist/assets/{AgingReportsPage-DEgupWct-CpVx3Q04.js → AgingReportsPage-BlQHxYjL-Cr6yxtF3.js} +4 -4
  12. package/dist/assets/{AllUserItems-S2DAZpO6-kxAusdwm.js → AllUserItems-DsECKAGD-PW2UBBng.js} +4 -4
  13. package/dist/assets/{ApAgingDetailPage-CvDD8-s7-DGquoD-J.js → ApAgingDetailPage-Bg0ZrGXm-CfXEq_5-.js} +2 -2
  14. package/dist/assets/{AppBasePage-C4z5I-xG-CtjY6TFp.js → AppBasePage-tPaBc2ei-WGoBSx1D.js} +7 -7
  15. package/dist/assets/{AppDrawerContent-Dka5HlPs-Bkb__PnR.js → AppDrawerContent-Cx4zDKi_-DO8upp4U.js} +2 -2
  16. package/dist/assets/ApprovalRulesSettingsPage-BcRZvSQH-BuukHz1z.js +47 -0
  17. package/dist/assets/{ArAgingChart-CJ7XKU9h-LfROBqc3.js → ArAgingChart-RdGwOP5k-DaN2WJzI.js} +1 -1
  18. package/dist/assets/ArAgingDetailPage-Bh7NAVZf-DauNApby.js +46 -0
  19. package/dist/assets/{AttachmentView-Dg6PizI7-hamHr9X2.js → AttachmentView-ClnTjRCg-CXQ9ySez.js} +6 -6
  20. package/dist/assets/{BankAccountSection-Chay7X-G-Z28HgbT-.js → BankAccountSection-D3sQOQ-c-t8HGw1J0.js} +4 -4
  21. package/dist/assets/{BankAccountWarningSection-CSChi1lw-BsQ6oo-h.js → BankAccountWarningSection-CxLBPI_P-CQJWoDnI.js} +9 -9
  22. package/dist/assets/{BankConnectionsSettingsPage-DJV7q1Kp-V95L2p6f.js → BankConnectionsSettingsPage-Bsix2nzV-BvUIdsy8.js} +6 -6
  23. package/dist/assets/{BillDetailPage-DM06uZnD-F8ZzZkyq.js → BillDetailPage-B52FZrvM-BFE_NGrS.js} +10 -10
  24. package/dist/assets/{BillPayApprovalRuleDetailPage-MsPIxgUt-Sv6jZgUx.js → BillPayApprovalRuleDetailPage-CswUbxdi-Cprf5Nyo.js} +1 -1
  25. package/dist/assets/{BillPayApprovalRulesPage-BhDdco2x-CnuVsiEs.js → BillPayApprovalRulesPage-B-8sIYjs-D2BSNMf9.js} +1 -1
  26. package/dist/assets/{BillPayPromoPage-Dy-opG76-CjecywkF.js → BillPayPromoPage-B6jW_8rf-YW9uzBg5.js} +5 -5
  27. package/dist/assets/{BillPaySetUpPage-DUvwWlaD-6bcs0JvT.js → BillPaySetUpPage-Rqxy02BM-CEkcaNcr.js} +2 -2
  28. package/dist/assets/{BillingSettingsPage-wj_sIJgc-alf7Yr1G.js → BillingSettingsPage-CPs5zrIc-DODFNfJu.js} +4 -4
  29. package/dist/assets/{BillsBulkReviewDrawerPage-DbC84oxR-D86-edxD.js → BillsBulkReviewDrawerPage-DLQsxJi8-DtW4kiE9.js} +1 -1
  30. package/dist/assets/{BoxItem-CdqDzfZN-C4lBJFfu.js → BoxItem-CP9cPZQd-BW2Fv6YZ.js} +1 -1
  31. package/dist/assets/{BusinessVerificationPage-BMtHNNcG-C4macZAB.js → BusinessVerificationPage-Cayj-kYe-DIQRuHb0.js} +1 -1
  32. package/dist/assets/{CardNumberSubText-lh7fQJis-DxcsJYtX.js → CardNumberSubText-FdCtSIHd-Cer2LzOo.js} +1 -1
  33. package/dist/assets/{CashbackDetailPage-KRbsYA09-B4B21rSt.js → CashbackDetailPage-CZICE37r-CchxXOB0.js} +11 -11
  34. package/dist/assets/{ChargeCardDetailPage--WP6KTfb-DBuFHobS.js → ChargeCardDetailPage-Be2X4Rx8-DkQXGv5E.js} +27 -27
  35. package/dist/assets/{ChargeCardListPage-knAPmob6-DSbwddj8.js → ChargeCardListPage-DzfBzM8o-BpS6GwxX.js} +13 -13
  36. package/dist/assets/{ChargeCardListTable-DsfnKX3P-Fh1-EuqB.js → ChargeCardListTable-Bc-4mcCz-DGGclb69.js} +44 -44
  37. package/dist/assets/{ChargeCardPromoPage-C9610LtW-4EBblZoV.js → ChargeCardPromoPage-D_C7hXGy-jKodLkTT.js} +7 -7
  38. package/dist/assets/{ChargeCardSetupPage-Cy4JhjJW-BY6uHVaB.js → ChargeCardSetupPage-BwNi9-pq-C4dK5zJO.js} +3 -3
  39. package/dist/assets/{ChargeCardStatementsPage-C7uS1jEO-IexGEsRS.js → ChargeCardStatementsPage-Bf04MOoK-k-sWDpeT.js} +8 -8
  40. package/dist/assets/{CheckDepositDrawerPage-TfiJwtqN-BjxF98AB.js → CheckDepositDrawerPage-B-A9fkGZ-DZFZ2JbI.js} +7 -7
  41. package/dist/assets/{CollapsableReportTable-NYu8Bq-g-CWsTIw0C.js → CollapsableReportTable-DdMyzUD0-BAoVL7wM.js} +1 -1
  42. package/dist/assets/{CompanyOfficerDetailsSection-CiVliExW-CcW3grWl.js → CompanyOfficerDetailsSection-kRtuUd2c-Cm23V4kL.js} +18 -18
  43. package/dist/assets/{CompanyPassportCard-8zvCdmxt-BRhXivWU.js → CompanyPassportCard-KhSJJMcy-Cll554T1.js} +1 -1
  44. package/dist/assets/{CompanyPassportPage-AS4N7oT2-DX218yxv.js → CompanyPassportPage--ckOuqML-CPrNkQDu.js} +10 -10
  45. package/dist/assets/{CompleteProfile-Dj080UdJ-CiN9P0TB.js → CompleteProfile-D8egRg8d-QRh3PECw.js} +1 -1
  46. package/dist/assets/{ConfettiBurst-DcCUSSaX-FzUSe03V.js → ConfettiBurst-CvRhNEAY-OaJ4gLIH.js} +1 -1
  47. package/dist/assets/CreateOrEditVendorPage-DrZh60Xs-DORgL7Gm.js +281 -0
  48. package/dist/assets/{CreditCardPaymentDrawerPage-BKvqMwnt-ViVbJgx9.js → CreditCardPaymentDrawerPage-B7ssB1GM-DOObGC22.js} +8 -8
  49. package/dist/assets/{CurrencySelectField-ksMvik33-X-oQzLxm.js → CurrencySelectField-BXp2mtZ7-BZ1r7qNY.js} +1 -1
  50. package/dist/assets/{CustomerOnboardingActivationPage-DfT_gkE4-Cu8egbhC.js → CustomerOnboardingActivationPage-BX7STQsk-ClpFwMrN.js} +1 -1
  51. package/dist/assets/CustomerOnboardingContainerPage-BkPTeV9_-YlZ2rpks.js +1 -0
  52. package/dist/assets/{CustomerOnboardingDetailPageSkeleton-DfOtXgss-D9v3243e.js → CustomerOnboardingDetailPageSkeleton-C5tSpmSB-5KFMWV1l.js} +5 -5
  53. package/dist/assets/{CustomerOnboardingNoStepsPage-61UorFvn-CADfl9k6.js → CustomerOnboardingNoStepsPage-CQUQlLbj-llUCphSN.js} +4 -4
  54. package/dist/assets/CustomerOnboardingPage-D0p8khnC-C1IdwvBx.js +107 -0
  55. package/dist/assets/{CustomerOnboardingProductSuitePage-CTowHB2X-AwsQP1ww.js → CustomerOnboardingProductSuitePage-BRk3TA9f-n37UhYFK.js} +1 -1
  56. package/dist/assets/{Dashboard-2RpETnqH-AvqFex-D.js → Dashboard-CBOma7mv-B9j8ewTM.js} +1 -1
  57. package/dist/assets/{DashboardReportPage-DRRWpGiJ-BZ9L9iDT.js → DashboardReportPage-DRYx3AOy-D6rkizKp.js} +1 -1
  58. package/dist/assets/{DashboardSidebarBackgroundAnimation-0cCKM3E9-BNIN3OuI.js → DashboardSidebarBackgroundAnimation-DYsp7Imm-CsY2ImuX.js} +1 -1
  59. package/dist/assets/{DepositAccTransactionItem-DjbheijR-CnFza0I7.js → DepositAccTransactionItem-BQU7vZKr-BOGssvEh.js} +1 -1
  60. package/dist/assets/DepositAccTransactionListPage-DQDt_2kb-D0tTF08R.js +66 -0
  61. package/dist/assets/{DomesticWireDetailsPage-DuKrVIAL-CvBecXsA.js → DomesticWireDetailsPage-B0KbC9m8-DSgkPJjx.js} +1 -1
  62. package/dist/assets/{DownloadOverlay-f6SOW8iK-wYT98R7A.js → DownloadOverlay-D2vm9EYI-1UU-2gMF.js} +18 -18
  63. package/dist/assets/{DrawerPage-BkIQ6mLJ-B_5frYMF.js → DrawerPage-DHIaNEwf-DBdDE0YZ.js} +7 -7
  64. package/dist/assets/{EditPeoplePage-lZcM4Zfw-DUKuVkhQ.js → EditPeoplePage-B4OaKX89-CxOdlVup.js} +2 -2
  65. package/dist/assets/{EditReimbursementDetailPage-WO3U-vVY-GokOyVTd.js → EditReimbursementDetailPage-C_JOnUnR-BaFHONcZ.js} +1 -1
  66. package/dist/assets/{EntityDetailPage-AP27Niqu-kfqH8lU7.js → EntityDetailPage-DGq_Sr4I-DbAOqf4w.js} +2 -2
  67. package/dist/assets/{EntitySummarySection-B6khdAJg-DnNjy2K7.js → EntitySummarySection-CAKPRhm9-DT4p2FkX.js} +10 -10
  68. package/dist/assets/{ExpenseAutomationOverviewPage-CcTGou9x-8xIF0tTx.js → ExpenseAutomationOverviewPage-c4H81maP-DA77wvgo.js} +9 -9
  69. package/dist/assets/{ExpenseAutomationPage-DEleaYKs-DYnoea9F.js → ExpenseAutomationPage-DoI_XKeY-6CiggPiF.js} +160 -160
  70. package/dist/assets/{ExpressPayPage-CLYzefaM-Dk6YSFR2.js → ExpressPayPage-CjhXfVeX-BOKCYwCy.js} +12 -12
  71. package/dist/assets/{FeaturePreviewPage-T78A34---CWpen7rV.js → FeaturePreviewPage-CwrW_5lN-DmGMYSsi.js} +1 -1
  72. package/dist/assets/{FollowStepsSection-B_mTbqHf-vEAOrw2N.js → FollowStepsSection-DwVibYwI-v9hEOCV9.js} +6 -6
  73. package/dist/assets/{GlobalReviewListPage-XfxDC9vP-BoYHPWF9.js → GlobalReviewListPage-JUSXRKq4-DVN5r0h7.js} +45 -45
  74. package/dist/assets/{InformationCardStack-Buibt8cT-BAqP85Lc.js → InformationCardStack-CK1Ztw1n-C4th25N4.js} +1 -1
  75. package/dist/assets/{InsightsCardStack-Cj5iIm_T-C9OIEU2I.js → InsightsCardStack-BKAezFjz-Dc6HzMco.js} +2 -2
  76. package/dist/assets/{InsightsSection-DuPqQb5Z-B1_CJ6S1.js → InsightsSection-Bauri5yR-CKFEflqf.js} +1 -1
  77. package/dist/assets/{IntegrationsSettingsPage-VZDSLMHK-7HkNgQus.js → IntegrationsSettingsPage-CnRe_xH3-UkqXGmer.js} +9 -9
  78. package/dist/assets/{InternationalWireSwiftDetailsPage-BUa1svL--D_p9pN5U.js → InternationalWireSwiftDetailsPage-BJkaLuNw-77-AaJID.js} +10 -10
  79. package/dist/assets/{InternationalWireVerificationPage-C1qKNhqJ-UJH47599.js → InternationalWireVerificationPage-pPH2bNM7-BKQZ3C2I.js} +1 -1
  80. package/dist/assets/{InviteFormPage-GPXu2hLn-nkRrWKH8.js → InviteFormPage-CsL2egNG-DnYkx7hA.js} +1 -1
  81. package/dist/assets/{InvitePageListView-FEFeEFZJ-DOB91LiD.js → InvitePageListView-rt3KC_c5-JZPrjnvG.js} +33 -33
  82. package/dist/assets/{InvitePeoplePage-C6E594rf-BfTOrmrG.js → InvitePeoplePage-Cdr0dhtJ-QaKpYzAx.js} +4 -4
  83. package/dist/assets/{InvoiceUploadSection-uvB-_dyl-ZtXwm7KR.js → InvoiceUploadSection-NVvtQvoL-B8iP_R_q.js} +1 -1
  84. package/dist/assets/{IssueChargeCardPage-DSPlu840-DkzSOMVm.js → IssueChargeCardPage-D5KenKnm-I0qHogFn.js} +13 -13
  85. package/dist/assets/{LabeledAddressValue-CzDn9ZY4-BvvJC2-h.js → LabeledAddressValue-Bwkw-Ez_-QZs1bcqC.js} +1 -1
  86. package/dist/assets/{LabeledAddressValueField-C_8kPzjy-B8qV6Urv.js → LabeledAddressValueField-BgkRIdwJ-D68tBsFt.js} +2 -2
  87. package/dist/assets/{LabeledControlledCheckBoxField-LwfkGeF--C-sgFNDj.js → LabeledControlledCheckBoxField-RzyuT5ZX-BsFbzCeg.js} +1 -1
  88. package/dist/assets/{LabeledCreatableSingleSelectField-sEf-9BOE-D5r4inyT.js → LabeledCreatableSingleSelectField-BP_p62Nk-BGV5p2pd.js} +2 -2
  89. package/dist/assets/{LabeledDocumentField-rGzXpShn-ljpFtvvt.js → LabeledDocumentField-DGncRe-Q-BM_MF9Yy.js} +1 -1
  90. package/dist/assets/{LabeledDropDownFormattedTextField-CIQk7Jhu-DnZPHcAA.js → LabeledDropDownFormattedTextField-DWUVcIR8-DmvGwPXC.js} +7 -7
  91. package/dist/assets/{LabeledText-Dc-697nR-64mK5bXs.js → LabeledText-BzD_-lgI-Br_7nwt2.js} +1 -1
  92. package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-B0D7IWfA-BEObQALW.js → LabeledUserSingleSelectWithSubtitlesField-D3kjxF9V-C7cFlAui.js} +10 -10
  93. package/dist/assets/{LabeledZeniRolesDropDownField-BO8f1yqV-DQ1p6Tiz.js → LabeledZeniRolesDropDownField-BlmybTGB-C8vefnXI.js} +25 -25
  94. package/dist/assets/{LinkJETransactionPage-DDSo8zJn-DQmP81m2.js → LinkJETransactionPage-CUnfHHeT-BQ0Gfxk0.js} +9 -9
  95. package/dist/assets/{LockCardPage-CvZcUUc8-CdhzDjL-.js → LockCardPage-2jOFCVkW-Cd-7Cld7.js} +19 -19
  96. package/dist/assets/{LowBalancePopup-DJQCz0Ed-CIetm9UK.js → LowBalancePopup-Du0kX_mJ-B-0Hf7BW.js} +2 -2
  97. package/dist/assets/{MagicLinkACHDetailsPage-CEtaoWk8-wTULz4sv.js → MagicLinkACHDetailsPage-CkbNMu7Z-B4drRgdG.js} +1 -1
  98. package/dist/assets/{MagicLinkDomesticWireDetailsPage-qdgMQR3_-uY1axbfX.js → MagicLinkDomesticWireDetailsPage-D0XBf5_X-D4YEFAaf.js} +1 -1
  99. package/dist/assets/{MagicLinkInternationalWireDetailsPage-DNwtPZ-u-B36fru_I.js → MagicLinkInternationalWireDetailsPage-Bl93T-SF-DbfMD1IO.js} +1 -1
  100. package/dist/assets/{MagicLinkSuccessPage-60TBVrSw-C3Bb9puu.js → MagicLinkSuccessPage-C26glp7T-BbSy9weN.js} +2 -2
  101. package/dist/assets/{MagicLinkTitleSection-D2fXbnDV-CRSogR9y.js → MagicLinkTitleSection-B4nxLzap-CM0lHGYk.js} +1 -1
  102. package/dist/assets/{MailingDetailsSection-C6cVooC3-XQiKKaRJ.js → MailingDetailsSection-Cou_W8JF-D0QplON-.js} +1 -1
  103. package/dist/assets/Menu-CdF7UWPF-DT1TTbqS.js +17 -0
  104. package/dist/assets/{MyBankConnectionsSettingsPage-D2EPH9WZ-Dv-ZkwPt.js → MyBankConnectionsSettingsPage-BAjjxA98-P3jZBDkg.js} +5 -5
  105. package/dist/assets/{MyPendingActivationChargeCardListPage-Bidsd2bk-BHUPwj-r.js → MyPendingActivationChargeCardListPage-DsRGcA8F-BiAy3gfH.js} +1 -1
  106. package/dist/assets/{MyProfileSettingsPage-BH2ZVQTk-DkHMfeMP.js → MyProfileSettingsPage-y-iZgUqL-Cmq9Fbc9.js} +6 -6
  107. package/dist/assets/{NavBarWithPicker-Cg2TZjBi-BbjcZh07.js → NavBarWithPicker-ph4heJns-CH6-ZGCk.js} +4 -4
  108. package/dist/assets/{NavigationArrow-CYserS2B-BkLVNIMe.js → NavigationArrow-BojAUI53-DuIW3OB3.js} +1 -1
  109. package/dist/assets/{NavigationDots-CT_oO_7z-ClcpkikJ.js → NavigationDots-Bf66leAL-DWvE0Tr9.js} +1 -1
  110. package/dist/assets/{NewGlobalMerchantPage-D3MQU5Sh-JwYtYtso.js → NewGlobalMerchantPage-D43XJhIa-CGBQEE1e.js} +5 -5
  111. package/dist/assets/{NoDataChart-BItQZAQ9-S55_3TEG.js → NoDataChart-6R5pxJVo-CWkI_hu9.js} +1 -1
  112. package/dist/assets/{NoDataTable-R8OCdB2c-D6dlg8-F.js → NoDataTable-CNx0KCKn-Yxxqzyz6.js} +1 -1
  113. package/dist/assets/{NotFoundPage-DLHYdRdN-B8g0aKra.js → NotFoundPage-CE9BW_aV-BJq9qwHQ.js} +1 -1
  114. package/dist/assets/{NotificationSettingsPage-CIwxb6c9-BMHqzXB5.js → NotificationSettingsPage-etN6HEwO-CPu8hoID.js} +12 -12
  115. package/dist/assets/{NotificationsListConfig-DSgUS0hE-Blbvq0lf.js → NotificationsListConfig-15ae4nik-CPKCivw4.js} +1 -1
  116. package/dist/assets/{NotificationsPage-W5ZhprRe-lZrgymvK.js → NotificationsPage-BwbxqKxd-CJ_w7jhJ.js} +23 -23
  117. package/dist/assets/{OpExByVendorPage-DIi58wXa-C4-j8w-9.js → OpExByVendorPage-FR3oloXp-BIjz5fFP.js} +24 -24
  118. package/dist/assets/{OverlayContainerPage-BsY9_22w-Dt24t_bm.js → OverlayContainerPage-CrZuT2Jj-BFQOGYGF.js} +1 -1
  119. package/dist/assets/{PandLWithForecastPage-BvMxFrqo-ze7p6tuk.js → PandLWithForecastPage-Bx3ZyA3l-DeFHP0VX.js} +7 -7
  120. package/dist/assets/{PaymentAccountSetupBillingAddressSection-kUAm-v-A-Df5ftzDu.js → PaymentAccountSetupBillingAddressSection-R1O20DhA-C65ZHllw.js} +6 -6
  121. package/dist/assets/{PeoplePage-CtnWc0LE-DMLbifxJ.js → PeoplePage-B3HRaJWz-DZIUGp3j.js} +15 -15
  122. package/dist/assets/{ProductsCarousel-n0ZNrr7--Cmsv1zu3.js → ProductsCarousel-Dn4vuZwM-XZC4Gi6v.js} +4 -4
  123. package/dist/assets/{PromoBaseCards-CeS0HoCZ-3hfiayC0.js → PromoBaseCards-BKo4wO-U-UIjavA07.js} +1 -1
  124. package/dist/assets/{QBOConnectionDialog-BxSTc99Z-CD6GLd65.js → QBOConnectionDialog-CPq0aUew-DHwaU-lE.js} +5 -5
  125. package/dist/assets/{QBOSetupSection-FrO9rgct-C_PUqy37.js → QBOSetupSection-BjImTh7O-Cf73veGI.js} +11 -11
  126. package/dist/assets/{ReimbursementApprovalRuleDetailPage-BjtdatXs-CVZb_80f.js → ReimbursementApprovalRuleDetailPage-DD1HwLO0-DBTNMi4-.js} +1 -1
  127. package/dist/assets/{ReimbursementApprovalRulesPage-B0_FgpJf-Ct41_HUm.js → ReimbursementApprovalRulesPage-DHQHS0eD-l5f43j6l.js} +1 -1
  128. package/dist/assets/{ReimbursementDetailPage-BWhPxHY--BzwLeZBB.js → ReimbursementDetailPage-DiMXs0_o-C-Gngkni.js} +7 -7
  129. package/dist/assets/{ReimbursementPromoPage-CFG0yxOE-C35ZkWSa.js → ReimbursementPromoPage-BinqJ3lR-Dkzvoe2N.js} +5 -5
  130. package/dist/assets/{ReimbursementSetUpPage-BmUdLEa9-DPiaOwzY.js → ReimbursementSetUpPage-BD6B-0CO-Dhg43o5f.js} +17 -17
  131. package/dist/assets/{ReimbursementsBulkReviewDrawerPage-CkJqhXEf-uKjpTOO-.js → ReimbursementsBulkReviewDrawerPage-DK-nCoay-BC-GO3CD.js} +1 -1
  132. package/dist/assets/{ReloadCard-CNKwqjPJ-YnH5lD2A.js → ReloadCard-Bt8qxAUx-C0FiLSzB.js} +1 -1
  133. package/dist/assets/{ReportTableViewSelector-B0DXgLgJ-D7Qg6jRX.js → ReportTableViewSelector-Dv7BwM1q-DZ-FOl5q.js} +6 -6
  134. package/dist/assets/{ReportsPage-C5iOQU55-CNSsMo53.js → ReportsPage-BOY8oCAr-BwR5MVzD.js} +5 -5
  135. package/dist/assets/{RevenueChart-C2CMFAQ--9i0f6zk_.js → RevenueChart-D_yexiAR-D3rVopXP.js} +16 -16
  136. package/dist/assets/{ReviewDetailsPage-5vOZ0rd7-jxMwmXxW.js → ReviewDetailsPage-Czrlb8BL-DTI9py46.js} +14 -14
  137. package/dist/assets/{ReviewOverlay-BAG_6iyV-DVCub6Uq.js → ReviewOverlay-BHUy3fWf-DhycJa32.js} +10 -10
  138. package/dist/assets/{RoleWithToolTip-GUYLjJwW-r9JBfRcl.js → RoleWithToolTip-BxI2nAro-CHrHR5C8.js} +4 -4
  139. package/dist/assets/{ScheduleDetailsFixedAssetsPage-sPjMfOtt-OtvS7n4m.js → ScheduleDetailsFixedAssetsPage-DsNhFGrc-C7120rgv.js} +8 -8
  140. package/dist/assets/{ScheduleDetailsPage-DI4C0o6b-BvXrDAyO.js → ScheduleDetailsPage-Dy2poGsp-B72mEOku.js} +4 -4
  141. package/dist/assets/{ScheduleSequenceTable-DhXwtG-x-BxYowFsO.js → ScheduleSequenceTable-Bv1feMZc-DEmwzIZ-.js} +47 -47
  142. package/dist/assets/{ScreenRoutes-DVcMzFrA.js → ScreenRoutes-aw0OxNGj.js} +1 -1
  143. package/dist/assets/{SetUpAccountSection-DOavnCkG-CzCWMcok.js → SetUpAccountSection-SSkLhU2W-Bdvkba2v.js} +14 -14
  144. package/dist/assets/{SignIn-DqrG5nEJ-DIR1_BNj.js → SignIn-Chuf9_2E-Dg9U6pWl.js} +10 -10
  145. package/dist/assets/{SignInScreen-BvkcJf23.js → SignInScreen-heeiIDQc.js} +1 -1
  146. package/dist/assets/{SpendManagementListViewPage-DHY_hZQm-BPwTUzGf.js → SpendManagementListViewPage-BpCZzQ7I-CeMMhyUX.js} +8 -8
  147. package/dist/assets/{SpendManagementPerTabPage-CoKTIQ2b-B3UZW97j.js → SpendManagementPerTabPage-DbXTM50B-DF3kTGNr.js} +32 -32
  148. package/dist/assets/{SpendManagementSection-UkTY6qX0-BIM5797j.js → SpendManagementSection-BMU1BTEo-BBFzWPwD.js} +12 -12
  149. package/dist/assets/{StatementItem-Bx6mxa3U-B9qGz6O-.js → StatementItem-qLZEMVrM-C5sUBNaG.js} +5 -5
  150. package/dist/assets/{StatementsPage-ULjFE30P-CBDZIU10.js → StatementsPage-B3qY1D4K-C1V6A2Qk.js} +1 -1
  151. package/dist/assets/{StatusSwitcher-DlBY_FC1-BZi0rJQ6.js → StatusSwitcher-xQ_AW7ze-DWj9eTCE.js} +1 -1
  152. package/dist/assets/{SubTabSwitcher-DjEElTWE-BWM1ddey.js → SubTabSwitcher-w8vLc-35-BeFKfmS8.js} +1 -1
  153. package/dist/assets/{SummaryCard-BNESDUnN-B_OD9ZQR.js → SummaryCard-CTq_yqTg-Bw75z4He.js} +1 -1
  154. package/dist/assets/{TaskManagementPage-BFF3ATPV-CJl96IgY.js → TaskManagementPage-keXFNmIv-BEMVU9l6.js} +33 -33
  155. package/dist/assets/{TimeRangeSwitcher-xILz-EO6-CF6h2u8x.js → TimeRangeSwitcher-C4Tph63B-D9xSXRlF.js} +2 -2
  156. package/dist/assets/{TimeframeSwitcher-CZhQm7rH-LhMnQPla.js → TimeframeSwitcher-LLgotbh8-X4qFRStD.js} +1 -1
  157. package/dist/assets/{TimeframeSwitcherWithToggle-CduB3ZjN-Bc8snpDR.js → TimeframeSwitcherWithToggle-Cw3a9d0I-BlbsDDpn.js} +1 -1
  158. package/dist/assets/{TopExCard-C_HWsAL1-BNvPE6hk.js → TopExCard-Dj0wtF6g-CdD53hxs.js} +3 -3
  159. package/dist/assets/{TopExDetailPage-BEKo6juU-BpuXflks.js → TopExDetailPage-JutaMmtR-koGwO2ev.js} +5 -5
  160. package/dist/assets/{TransactionDetailPage-Bzgtmi3U-CUNsBAnj.js → TransactionDetailPage-BdFHqSCv-Bc3ggi0n.js} +30 -30
  161. package/dist/assets/{TransactionList-Dw78Q0Sx-Dd3Ecl2O.js → TransactionList-C85wyFeI-C41EirGp.js} +4 -4
  162. package/dist/assets/{TransactionListBig-BofakL17-CpCaYWGi.js → TransactionListBig-DPev2-Mm-BpW_w096.js} +6 -6
  163. package/dist/assets/{TransactionListPage-tpOg0ax5-DKkGWPvy.js → TransactionListPage-D127NU4T-BPyAfJzu.js} +4 -4
  164. package/dist/assets/{TransactionVendorDetailPage-BqIcXz6b-DFVXpfQo.js → TransactionVendorDetailPage-BJ1YnPif-SJ1gb7FN.js} +5 -5
  165. package/dist/assets/{TransferDrawerPage-DnnZBOyK-DHPnGpDx.js → TransferDrawerPage-DcrfmXH1-DiL_C6V9.js} +21 -21
  166. package/dist/assets/{TreasuryOverviewPage-C9ROzNHl-dAyZi1PP.js → TreasuryOverviewPage-D-Zw4Npq-K2RbtXZZ.js} +22 -22
  167. package/dist/assets/{TreasuryPromoPage--j_2YjQn-DrWu-589.js → TreasuryPromoPage-BhBPhhbb-DM-0mrYZ.js} +131 -131
  168. package/dist/assets/{TreasuryStatementsPage-BLrceDQm-B1HbugZ0.js → TreasuryStatementsPage-Dxjg_QN7-C_fsR-Na.js} +1 -1
  169. package/dist/assets/{TreasuryTaxLetterPage-BoqkgdLm-B7t38h3i.js → TreasuryTaxLetterPage-Dm552RDZ-BLLWDMsm.js} +7 -7
  170. package/dist/assets/{TrendChart-KnFi8NXQ-BLbRutmX.js → TrendChart-_c8z5Kxm-DarAZz3o.js} +1 -1
  171. package/dist/assets/{TrendWithTransactions-C_T0I9xe-B2RFC6B8.js → TrendWithTransactions-B2rde1MW-D1twJg_e.js} +4 -4
  172. package/dist/assets/{UncategorizedAccountsMappingPage-DOuzy2aS-Cjy9zZxx.js → UncategorizedAccountsMappingPage-77nkQFar-Bn3Ibb9A.js} +1 -1
  173. package/dist/assets/{UnitIntegrationPage-DxhlNHvt-BFh73dHR.js → UnitIntegrationPage-3_YMV_f4-yfDaiCvi.js} +4 -4
  174. package/dist/assets/{UploadAdditionalDocumentOverlay-BAvSyhDW-D9eq74iT.js → UploadAdditionalDocumentOverlay-D72fkcgM-BkIuCEEz.js} +1 -1
  175. package/dist/assets/{Vendor2FAPopup-BFjVFON8-D578XUKc.js → Vendor2FAPopup-DLbGF5_q-DmCvA6XI.js} +1 -1
  176. package/dist/assets/{VendorACHDetailsPage-8BG5DD-0-DML5nDiV.js → VendorACHDetailsPage-CaNQylEA-CMyzxyGW.js} +1 -1
  177. package/dist/assets/{VendorDetailPage-C16CrNJo-lfwKJzFE.js → VendorDetailPage-DqdH4UMj-tM-8a-UX.js} +18 -18
  178. package/dist/assets/{VendorDomesticWireDetailsPage-DXhugXZa-D2deiUxT.js → VendorDomesticWireDetailsPage-9pyV_r_g-CREdXXXG.js} +1 -1
  179. package/dist/assets/{VendorFiling1099EditablePage-2QPpdbuN-DmV9iFrX.js → VendorFiling1099EditablePage-nb9_V73Z-CwrDCXoq.js} +32 -32
  180. package/dist/assets/{VendorFirstReviewPage-DLshEh_s-29QEqBR3.js → VendorFirstReviewPage-C2RjaA8x-C3EURG-_.js} +58 -58
  181. package/dist/assets/{VendorInternationalWireDetailsPage-_WoNgw66-RXvmQY2U.js → VendorInternationalWireDetailsPage-VOAgofls-DxNfQmbI.js} +1 -1
  182. package/dist/assets/{VendorInternationalWireSwiftDetailsPage-Dyt1ZPOh-Dvv7mFPN.js → VendorInternationalWireSwiftDetailsPage-CcRuLO-_-CRRJCsCk.js} +1 -1
  183. package/dist/assets/{VendorsAccountsSection-Dxq0YSgP-CQ3Vw-hX.js → VendorsAccountsSection-RzVUJ8IV-CIdzas-R.js} +14 -14
  184. package/dist/assets/{VerifyDevice-DEwEqoHA-o-B1EyGV.js → VerifyDevice-DUxQHfLf-DyoufOtx.js} +1 -1
  185. package/dist/assets/{VideoPlayer-_1Msrww9-DzCjuwYG.js → VideoPlayer-BxuhQQfM-CSaCo4fi.js} +1 -1
  186. package/dist/assets/{VideoPopup-BzQ_Dl9b-CPjeGrGA.js → VideoPopup-DdtmLcPB-9kSPQrRF.js} +1 -1
  187. package/dist/assets/{WarningsDrawerPage-CMBST3p1-By1WKuQW.js → WarningsDrawerPage-DC5ophK0-B9MWpL_5.js} +5 -5
  188. package/dist/assets/{ZeniAccountDetailPage-DVLYYC-q-C2IM3BG5.js → ZeniAccountDetailPage-C1KKeyYC-AmZ_-UbH.js} +14 -14
  189. package/dist/assets/{ZeniAccountListViewPage-BHkoMOx5--XEIxzf-.js → ZeniAccountListViewPage-Bw5_2Q-c-Zl0NVbWL.js} +1 -1
  190. package/dist/assets/{ZeniAccountNavBarPieces-CCFzNOcx-BTbwqUAG.js → ZeniAccountNavBarPieces-DlfwFtOB-BhG7WDho.js} +3 -3
  191. package/dist/assets/{ZeniAccountPromoPage-C3Rl-hWL-Dxr3qnyn.js → ZeniAccountPromoPage-B8cXf7Ni-BGYao9Jv.js} +13 -13
  192. package/dist/assets/{ZeniAccountSetupPage-Bf1OOF0Q-CVWU_nTY.js → ZeniAccountSetupPage-Cae0pB-b-Blr8FOsP.js} +3 -3
  193. package/dist/assets/{ZeniCopyright-CdqD8vO4-GOUGz5oO.js → ZeniCopyright-gTS4uZlF-BTYFdkhV.js} +1 -1
  194. package/dist/assets/{ZeniTransferAmountSlider-BTudpQjV-C-ERY6Ys.js → ZeniTransferAmountSlider-17kY7kNO-DEs9IrPm.js} +1 -1
  195. package/dist/assets/{analyticsHelper-_u1yj9ge-CQN7AQjp.js → analyticsHelper-DXVBA0aW-q_4bVB8v.js} +1 -1
  196. package/dist/assets/analyticsHelper-kRUwHHg6.js +1 -0
  197. package/dist/assets/{chartTypes-vQ8GTDEq-Bzji-J7a.js → chartTypes-BXBHlosV-DY5SgOjH.js} +1 -1
  198. package/dist/assets/{commonDimensions-znFHURNY-BYw9nu0T.js → commonDimensions-Bm2CSHrw-S9XM9nhL.js} +1 -1
  199. package/dist/assets/{detailCommon-DmLhlrjU-QJ3x5gZG.js → detailCommon-VW4xegQy-1DhxNuRe.js} +3 -3
  200. package/dist/assets/{downloadPdf-CCUPfpyu-CLDRZEaM.js → downloadPdf-DUAAPKqC-BN9D0Y0M.js} +1 -1
  201. package/dist/assets/{index-DdsM_njZ.js → index-BS0RW8dr.js} +3698 -3698
  202. package/dist/assets/{mapLoadingInProgressToTreeNode-Cw74bTou-DytzWuKd.js → mapLoadingInProgressToTreeNode-D5WZ1WGx-B7azUcXb.js} +1 -1
  203. package/dist/assets/{mapSectionWithAcOnlyToTreeNode-CWFxnMpB-CaiEsiC-.js → mapSectionWithAcOnlyToTreeNode-BxzLwMCb-DSGmyD1M.js} +1 -1
  204. package/dist/assets/{mapSpacerToTreeNode-JUrBuZAz-CZWi6rgT.js → mapSpacerToTreeNode-CScyNZ9s-wlC4VP1v.js} +1 -1
  205. package/dist/assets/{mapTimeframeBalancesToTreeNode-B2iYfeF3-DPdNoTaa.js → mapTimeframeBalancesToTreeNode-Caj8eqsL-Kzqcpw75.js} +1 -1
  206. package/dist/assets/{mapTimeframeBalancesToTreeNode-BbQHYZk7-BsTucrUk.js → mapTimeframeBalancesToTreeNode-CdVqeC27-Dxhi6BEZ.js} +1 -1
  207. package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-BeqGSN9x-CRBIGAA9.js → mapTimeframeHeaderLoadingInProgressToTreeNode-CUFXYz6j-YXXdz_Ql.js} +1 -1
  208. package/dist/assets/{toCOABalancesWithID-DeZfEmbT-BYnyj8Vs.js → toCOABalancesWithID-CqzWoD-C-D32cGljj.js} +1 -1
  209. package/dist/assets/{toChartData-KibzV7pa-BIBW1wkQ.js → toChartData-X878W8tN-DZEeyq4i.js} +1 -1
  210. package/dist/assets/{uploadAttachment-U9nX0Ka9-ByggkyFe.js → uploadAttachment-DNKgJox4-CH4FqFzC.js} +13 -13
  211. package/dist/assets/{uploadReceipts-CDPM7zcb-Bl8TSXaa.js → uploadReceipts-Bkf_PaOH-DrwBt5Yx.js} +1 -1
  212. package/dist/index.html +1 -1
  213. package/package.json +3 -3
  214. package/dist/assets/ApprovalRulesSettingsPage-BOJE5Fb_-CtBvorfk.js +0 -47
  215. package/dist/assets/ArAgingDetailPage-ZjaiAH-C-P2cbl-8k.js +0 -46
  216. package/dist/assets/CreateOrEditVendorPage-flCFtC2N-AdYl79w3.js +0 -281
  217. package/dist/assets/CustomerOnboardingContainerPage-DZ9vkiEO--NuA2aDE.js +0 -1
  218. package/dist/assets/CustomerOnboardingPage-C12XXjv0-BcXZ0f7B.js +0 -107
  219. package/dist/assets/DepositAccTransactionListPage-keSFBKDU-DxyDpFrs.js +0 -66
  220. package/dist/assets/Menu-D_6Dje0H-BZ0tGHak.js +0 -17
  221. package/dist/assets/analyticsHelper-BHPP6wwz.js +0 -1
@@ -1,281 +0,0 @@
1
- import{e as Ye,Q as w,F as h,aA as U,cD as _e,V as t,bz as qe,aK as b,A as Je,cm as ae,cn as ie,co as se,c$ as Ke,aO as Qe,y as W,b$ as Xe,o,d0 as Ze,bQ as k,cf as le,u as f,b5 as de,ag as ce,ak as J,br as Ge,cY as pe,p as L,d1 as me,cV as ue}from"./index-DdsM_njZ.js";import{a as x}from"./core-3dlyNYRL.js";import{n as r}from"./mui-bYXq4XMS.js";import"./sentry-o6h_D-9x.js";import"./zeni-epic-state-LPACxnXP.js";import"./lottie-DEE24l2z.js";import"./liveblocks-DIep7fJd.js";import"./utils-uDUqNRFY.js";import"./analytics-zoE7Zcxt.js";import"./recharts-BHhx6CLo.js";import"./lexical-DPEnH3HH.js";const et=({bankAccountNumberOrIban:e,accountNumberOrIbanLabel:a,bankName:s,routingNumberOrSwiftCode:d,accountName:u,routingNumberOrSwiftCodeLabel:m,onDeleteClick:v})=>{const j=w(),p=h.getLocalizedStrings().spendManagement.billPay.vendorCreation,g=t.jsxs(tt,{children:[t.jsxs(H,{children:[t.jsx(Y,{children:m}),t.jsx(_,{children:d})]}),t.jsxs(H,{children:[t.jsx(Y,{children:p.achDetails.bankName}),t.jsx(_,{children:s})]}),t.jsxs(H,{children:[t.jsx(Y,{children:a}),t.jsx(_,{children:e})]})]});return t.jsxs(at,{size:j,children:[t.jsxs(rt,{children:[t.jsxs(J,{children:[`${s} ${p.paymentAccountDetailConnector} ${e.slice(-4)}`,t.jsx(k,{title:g,placement:"top",children:t.jsx(st,{children:t.jsx(lt,{})})})]}),t.jsx(ot,{children:u??p.emptyPlaceholderString})]}),t.jsx(nt,{children:t.jsx(k,{enterDelay:600,display:"flex",title:p.deleteAccountTooltip,placement:"top",children:t.jsx(it,{onClick:y=>{y.stopPropagation(),v()},"data-testid":b("delete-vendor-account-section",u),children:t.jsx(dt,{})})})})]})},tt=r.div`
2
- display: flex;
3
- flex-wrap: wrap;
4
- gap: ${o.sp1};
5
- `,H=r.div`
6
- display: flex;
7
- justify-content: space-between;
8
- width: 100%;
9
- `,Y=r.div`
10
- box-sizing: border-box;
11
- text-align: left;
12
- flex: 1 0 50%;
13
- color: ${L.heroDark};
14
- `,_=r.div`
15
- box-sizing: border-box;
16
- text-align: right;
17
- word-break: break-word;
18
- color: ${e=>e.theme.colors.brandColorPearl};
19
- `,ot=r(ce)`
20
- color: ${e=>e.theme.colors.grey1};
21
- `,rt=r.div`
22
- display: flex;
23
- flex-direction: column;
24
- `,nt=r.div`
25
- margin-top: ${o.sp0};
26
- display: flex;
27
- flex-direction: row;
28
- gap: ${o.sp5};
29
- `,at=r.div`
30
- display: flex;
31
- flex-direction: row;
32
- align-items: flex-start;
33
- justify-content: space-between;
34
- margin-top: ${o.sp2};
35
- margin-bottom: ${o.sp2};
36
- border: 1px solid ${e=>e.theme.colors.grey3};
37
- background-color: ${e=>e.theme.colors.grey5};
38
- &:hover {
39
- cursor: pointer;
40
- z-index: 1;
41
- outline: 1px solid ${e=>e.theme.colors.primary};
42
- svg {
43
- display: block;
44
- }
45
- }
46
- border-radius: ${o.sp2};
47
- padding: ${o.sp3} ${o.sp4};
48
- color: ${e=>e.theme.colors.primary};
49
- box-shadow: ${e=>`${o.sp0} 2px ${o.sp1} ${e.theme.colors.dropShadowNormal}`};
50
- `,it=r.div`
51
- width: ${o.sp3};
52
- `,st=r.div`
53
- display: flex;
54
- width: ${o.sp3};
55
- transform: translate(${o.sp2}, 2px);
56
- height: ${o.sp3};
57
- `,lt=r(me)`
58
- cursor: pointer;
59
- height: ${o.sp3};
60
- width: ${o.sp3};
61
- color: ${e=>e.theme.colors.hero};
62
- &:hover {
63
- color: ${e=>e.theme.colors.primary};
64
- }
65
- `,dt=r(ue)`
66
- width: ${o.sp3};
67
- height: ${o.sp3};
68
- cursor: pointer;
69
- color: ${e=>e.theme.colors.hero};
70
- &:hover {
71
- color: ${L.important};
72
- }
73
- `,ct=({paymentInstrument:e,onDeleteClick:a})=>{const s=w(),d=h.getLocalizedStrings().spendManagement.billPay.vendorCreation,u=t.jsx(pt,{children:e.piLabels.map(m=>t.jsxs(mt,{children:[t.jsxs(ut,{children:[m.name,d.colon]}),t.jsx(ht,{children:m.value})]},m.name))});return t.jsxs($t,{size:s,children:[t.jsx(xt,{children:t.jsxs(J,{children:[e.displayText,t.jsx(k,{title:u,placement:"top",children:t.jsx(yt,{children:t.jsx(ft,{})})})]})}),t.jsx(gt,{children:t.jsx(k,{enterDelay:600,display:"flex",title:d.deleteAccountTooltip,placement:"top",children:t.jsx(bt,{onClick:m=>{m.stopPropagation(),a()},"data-testid":b("delete-vendor-international-account-section",e.paymentInstrumentId),children:t.jsx(wt,{})})})})]})},pt=r.div`
74
- display: flex;
75
- flex-wrap: wrap;
76
- gap: ${o.sp1};
77
- `,mt=r.div`
78
- display: flex;
79
- justify-content: space-between;
80
- width: 100%;
81
- `,ut=r.div`
82
- box-sizing: border-box;
83
- text-align: left;
84
- flex: 1 0 50%;
85
- color: ${L.heroDark};
86
- `,ht=r.div`
87
- box-sizing: border-box;
88
- text-align: right;
89
- word-break: break-word;
90
- color: ${e=>e.theme.colors.brandColorPearl};
91
- `,xt=r.div`
92
- display: flex;
93
- flex-direction: column;
94
- `,gt=r.div`
95
- margin-top: ${o.sp0};
96
- display: flex;
97
- flex-direction: row;
98
- gap: ${o.sp5};
99
- `,$t=r.div`
100
- display: flex;
101
- flex-direction: row;
102
- align-items: flex-start;
103
- justify-content: space-between;
104
- margin-top: ${o.sp2};
105
- margin-bottom: ${o.sp2};
106
- border: 1px solid ${e=>e.theme.colors.grey3};
107
- background-color: ${e=>e.theme.colors.grey5};
108
- &:hover {
109
- cursor: pointer;
110
- z-index: 1;
111
- outline: 1px solid ${e=>e.theme.colors.primary};
112
- svg {
113
- display: block;
114
- }
115
- }
116
- border-radius: ${o.sp2};
117
- padding: ${o.sp3} ${o.sp4};
118
- color: ${e=>e.theme.colors.primary};
119
- box-shadow: ${e=>`${o.sp0} 2px ${o.sp1} ${e.theme.colors.dropShadowNormal}`};
120
- `,bt=r.div`
121
- width: ${o.sp3};
122
- `,yt=r.div`
123
- display: flex;
124
- width: ${o.sp3};
125
- transform: translate(${o.sp2}, 2px);
126
- height: ${o.sp3};
127
- `,ft=r(me)`
128
- cursor: pointer;
129
- height: ${o.sp3};
130
- width: ${o.sp3};
131
- color: ${e=>e.theme.colors.hero};
132
- &:hover {
133
- color: ${e=>e.theme.colors.primary};
134
- }
135
- `,wt=r(ue)`
136
- width: ${o.sp3};
137
- height: ${o.sp3};
138
- cursor: pointer;
139
- color: ${e=>e.theme.colors.hero};
140
- &:hover {
141
- color: ${L.important};
142
- }
143
- `,he=(e,a)=>{const s=h.getLocalizedStrings().spendManagement.billPay.vendorCreation;switch(e){case"ach":return s.achDetails.ach;case"wire":switch(a){case"us-domestic":return s.wireDetails.domestic.domestic;case"international":return s.wireDetails.international.international;default:return""}default:return""}},q=({type:e,subType:a,vendorAccountDetails:s,vendorAccountDetailsInternational:d,onRemoveBankAccount:u,onAddNewAccountDetailClick:m})=>{const v=w(),[j,p]=x.useState(!1),[g,y]=x.useState(""),[N,I]=x.useState(!1),c=h.getLocalizedStrings().spendManagement.billPay.vendorCreation,S=i=>{y(i),p(!0)},P={onOkClick:()=>{p(!1),u(g,N)},onCancelClick:()=>{p(!1),y("")}},T=i=>e==="ach"||e==="wire"&&a==="us-domestic"?i.bankAccountNumber:e==="wire"&&a==="international"?i.bankAccountIban??"":"",z=i=>e==="ach"?i.bankRoutingNumberAch:e==="wire"&&a==="us-domestic"?i.bankRoutingNumberWireTransfer:e==="wire"&&a==="international"?i.bankSwiftCode??"":"",B=()=>e==="ach"?c.achDetails.bankRoutingNumber:e==="wire"&&a==="us-domestic"?c.wireDetails.bankRoutingNumber:e==="wire"&&a==="international"?c.wireDetails.international.swiftCode:"",V=()=>e==="ach"?c.achDetails.bankAccountNumber:e==="wire"&&a==="us-domestic"?c.wireDetails.accountNumber:e==="wire"&&a==="international"?c.wireDetails.international.iban:"";return t.jsxs(St,{children:[j===!0?t.jsx(ae,{titleComponent:t.jsx(se,{children:c.areYOuSure}),descriptionComponent:t.jsx(ie,{children:c.ifYouSubmit}),primaryButtonText:c.delete,secondaryButtonText:c.cancel,action:P,isEditPopup:!0,proceedButtonVariant:"danger"}):null,t.jsx(kt,{windowSize:v,children:`${he(e,a)} ${c.accountsLabel}`}),s?.map(i=>t.jsx(te,{children:t.jsx(et,{bankName:i.bankName,bankAccountNumberOrIban:T(i),routingNumberOrSwiftCode:z(i),routingNumberOrSwiftCodeLabel:B(),accountNumberOrIbanLabel:V(),accountName:i.bankAccountName,onDeleteClick:()=>S(i.bankAccountId)})},i.bankAccountId)),d?.map(i=>t.jsx(te,{children:t.jsx(ct,{paymentInstrument:i,onDeleteClick:()=>{I(!0),S(i.paymentInstrumentId)}})},i.paymentInstrumentId)),t.jsx(vt,{onAddAccountDetailsSection:m,type:e,subType:a})]})},vt=({onAddAccountDetailsSection:e,type:a,subType:s})=>{const d=w(),u=h.getLocalizedStrings().spendManagement.billPay;return t.jsx(t.Fragment,{children:t.jsxs(Ct,{windowSize:d,onClick:e,"data-testid":b("add-vendor-account",a),children:[t.jsx(jt,{}),t.jsx(le,{children:`${u.vendorCreation.addPrefix} ${he(a,s)}`})]})})},jt=r(pe)`
144
- margin-right: ${o.sp2};
145
- width: ${o.sp3};
146
- height: ${o.sp3};
147
- `,Ct=r.div`
148
- padding: ${o.sp3};
149
- display: flex;
150
- align-items: center;
151
- justify-content: center;
152
- background-color: ${e=>e.theme.colors.grey5};
153
- border: 1px solid ${e=>e.theme.colors.grey3};
154
- border-radius: ${o.sp2};
155
- box-shadow: ${e=>`${o.sp0} 2px ${o.sp1} ${e.theme.colors.dropShadowNormal}`};
156
- color: ${e=>e.theme.colors.hero};
157
- cursor: pointer;
158
- margin-top: ${o.sp2};
159
- &:hover {
160
- color: ${e=>e.theme.colors.primary};
161
- border: 1px solid ${e=>e.theme.colors.primary};
162
- }
163
- `,kt=r(de)`
164
- color: ${e=>e.theme.colors.primary};
165
- margin-bottom: ${o.sp2};
166
- `,te=r.div``,St=r.div`
167
- display: flex;
168
- flex-direction: column;
169
- padding-top: ${o.sp2};
170
- padding-bottom: ${o.sp2};
171
- margin-top: ${o.sp3};
172
- margin-bottom: ${o.sp3};
173
- `,Dt=({addressState:e,onUpdateMailingAddress:a})=>{const s=w(),d=h.getLocalizedStrings().spendManagement.billPay.vendorCreation;return t.jsxs(Vt,{children:[t.jsxs(Bt,{windowSize:s,children:[`${d.mailingAddressLabel}`,t.jsx(zt,{children:`${d.mailingAddressPlaceholder}`})]}),e!=null?t.jsxs(Tt,{children:[At(e),t.jsx(k,{enterDelay:600,display:"flex",title:d.editMailingAddressTooltip,placement:"top",children:t.jsx(Lt,{"data-testid":b("edit-vendor-mailing-address"),onClick:()=>a("vendor_address"),children:t.jsx(Nt,{})})})]}):t.jsx(t.Fragment,{children:t.jsxs(Pt,{windowSize:s,"data-testid":b("add-vendor-mailing-address"),onClick:()=>a("vendor_address"),children:[t.jsx(It,{}),t.jsx(le,{children:d.addMailingAddress})]})})]})},At=e=>[e.street[2],e.street[0],e.street[1],e.city,`${e.state} ${e.postalCode}`.trim(),e.countryCode??e.country].filter(Boolean).join(", "),Lt=r.div`
174
- width: ${o.sp3};
175
- svg {
176
- display: none;
177
- }
178
- `,Nt=r(Ge)`
179
- width: ${o.sp3};
180
- height: ${o.sp3};
181
- cursor: pointer;
182
- color: ${e=>e.theme.colors.hero};
183
- &:hover {
184
- color: ${e=>e.theme.colors.primary};
185
- }
186
- `,It=r(pe)`
187
- margin-right: ${o.sp2};
188
- width: ${o.sp3};
189
- height: ${o.sp3};
190
- `,Pt=r.div`
191
- padding: ${o.sp3};
192
- display: flex;
193
- align-items: center;
194
- justify-content: center;
195
- background-color: ${e=>e.theme.colors.grey5};
196
- border: 1px solid ${e=>e.theme.colors.grey3};
197
- border-radius: ${o.sp2};
198
- box-shadow: ${e=>`${o.sp0} 2px ${o.sp1} ${e.theme.colors.dropShadowNormal}`};
199
- color: ${e=>e.theme.colors.hero};
200
- cursor: pointer;
201
- margin-top: ${o.sp2};
202
- &:hover {
203
- color: ${e=>e.theme.colors.primary};
204
- border: 1px solid ${e=>e.theme.colors.primary};
205
- }
206
- `,Tt=r(J)`
207
- margin-top: ${o.sp2};
208
- padding: ${o.sp3} ${o.sp4};
209
- background-color: ${e=>e.theme.colors.grey5};
210
- border: 1px solid ${e=>e.theme.colors.grey3};
211
- border-radius: ${o.sp2};
212
- display: flex;
213
- flex-direction: row;
214
- justify-content: space-between;
215
- align-items: center;
216
- box-shadow: ${e=>`${o.sp0} 2px ${o.sp1} ${e.theme.colors.dropShadowNormal}`};
217
- color: ${e=>e.theme.colors.hero};
218
- cursor: pointer;
219
- &:hover {
220
- color: ${e=>e.theme.colors.primary};
221
- border: 1px solid ${e=>e.theme.colors.primary};
222
- svg {
223
- display: block;
224
- }
225
- }
226
- `,zt=r(ce)`
227
- color: ${e=>e.theme.colors.grey1};
228
- transform: translateY(${o.sp1});
229
- `,Bt=r(de)`
230
- color: ${e=>e.theme.colors.primary};
231
- margin-bottom: ${o.sp2};
232
- display: flex;
233
- flex-direction: row;
234
- justify-content: flex-start;
235
- gap: ${o.sp3};
236
- `,Vt=r.div`
237
- display: flex;
238
- flex-direction: column;
239
- padding-top: ${o.sp2};
240
- padding-bottom: ${o.sp2};
241
- margin-top: ${o.sp3};
242
- margin-bottom: ${o.sp3};
243
- `,oe="createVendorPage",re=e=>`${e}_form`,A={containerPaddingLeft:new W(f[3],f[6],f[6]),containerPaddingRight:new W(f[3],f[6],f[8]),buttonWidth:new W(125,125)},Ft=r.div`
244
- display: flex;
245
- flex-direction: column;
246
- overflow: auto;
247
- width: 100%;
248
- `,Ot=r.div`
249
- display: flex;
250
- flex-direction: column;
251
- background-color: ${e=>e.theme.colors.grey4};
252
- box-shadow: ${e=>`${o.sp0} 2px ${o.sp1} ${e.theme.colors.dropShadowNormal}`};
253
- padding-left: ${e=>`${A.containerPaddingLeft.valuePx(e.windowSize)}`};
254
- padding-right: ${e=>`${A.containerPaddingRight.valuePx(e.windowSize)}`};
255
- overflow: auto;
256
- `,Rt=r.div`
257
- display: flex;
258
- flex: 1 1 auto;
259
- height: 100vh;
260
- width: 100%;
261
- flex-direction: row;
262
- justify-content: center;
263
- align-items: center;
264
- box-shadow: ${e=>`${o.sp0} 2px ${o.sp1} ${e.theme.colors.dropShadowNormal}`};
265
- `,Et=r(Ze)`
266
- color: ${e=>e.theme.colors.primary};
267
- margin-bottom: ${o.sp3};
268
- margin-top: ${o.sp3};
269
- `,Mt=r(Xe)`
270
- cursor: pointer;
271
- color: ${e=>e.theme.colors.hero};
272
- width: 20px;
273
- height: 20px;
274
- &:hover {
275
- color: ${e=>e.theme.colors.primary};
276
- }
277
- `,Ut=r.div`
278
- display: flex;
279
- flex-direction: column;
280
- padding-top: ${o.sp11};
281
- `,$=h.getLocalizedStrings().spendManagement.billPay.vendorCreation,Wt=h.getLocalizedStrings().common.footer,ne=h.getLocalizedStrings().common.currency,to=({vendorViewDetails:e,vendorId:a,screenType:s,analytics:d,filesEndPoint:u,authParams:m,vendorSearchAutoCompleteData:v,vendorSearchAutoCompleteActions:j,isLocalCurrencyEnabled:p,onBackClick:g,onVendorSelected:y,navigateToBankDetailPage:N,updateSelectedVendorForCreate:I,onRemoveBankAccount:c,updateSaveFetchState:S,onSaveVendor:P,navigateToMailingAddressPage:T,saveVendorDetailLocalData:z,resetVendorDetailLocalData:B,saveContactsInVendorDetailLocalData:V,updateFilesEntity:i,onEditFileName:xe,onFetchAndUpdateVendorRecommendations:ge})=>{const{accountList:{accounts:$e},classList:{classes:be},vendorTypeList:ye,ownerList:fe,editVendorState:K,newVendorState:Q,fetchState:we,hasWireTransfer:X,hasInternationalWireTransfer:F,deleteFileStatusById:ve,updateFileStatusById:je,accountsHierarchyList:Ce,classHierarchyList:ke}=e,D=a!=null?K?.vendorDetailLocalData:Q?.vendorDetailLocalData,l=Object.assign({},K??Q),Se=Ye(),C=w(),[De,O]=x.useState(!1),[Ae,R]=x.useState(!1),Z=s==="create"?$.newVendorTitle:$.editVendor,Le=(l.bankAccountsUpdated??[]).map(n=>n.bankAccountId).sort(),Ne=(l.vendorBasic?.bankAccounts??[]).map(n=>n.bankAccountId).sort(),Ie=!U(Le,Ne),Pe=(l.paymentInstrumentsUpdated??[]).map(n=>n.paymentInstrumentId).sort(),Te=(l.vendorBasic?.paymentInstruments??[]).map(n=>n.paymentInstrumentId).sort(),ze=!U(Pe,Te),Be=(D?.contacts??[]).filter(n=>n.email!==""||n.fullName!==""||n.phone!=="").map(n=>_e(n,"contactInfoType")),Ve=l.vendorBasic?.contacts??[],Fe=!U(Be,Ve),Oe=l.bankAccountsUpdated.filter(n=>!!n.bankRoutingNumberAch),Re=l.bankAccountsUpdated.filter(n=>!!n.bankRoutingNumberWireTransfer),Ee=l.paymentInstrumentsUpdated.filter(n=>!!n.piNumber),G=()=>{R(!0)},Me=n=>{O(n)},Ue={onOkClick:()=>{R(!1),O(!1),B?.(),g()},onCancelClick:()=>{R(!1),O(!1)}},E=x.useRef(null),We=n=>{E.current?.syncFormData(),T(n)},M=(n,He)=>{E.current?.syncFormData(),N(n,He)};x.useEffect(()=>{l?.saveStatus?.fetchState==="Completed"&&(S(),g())},[l]);const ee=x.useRef(null);return t.jsxs(Ft,{windowSize:C,children:[t.jsx(qe,{"data-testid":b("vendor-detail-container-nav-bar"),title:Z,backgroundColor:Se.colors.grey4,leftSideComponent:t.jsx(Mt,{onClick:G,"data-testid":b("create-edit-vendor-nav-bar-back")}),enableTitleOnScroll:!0,scrollableContent:ee,source:"CreateOrEditVendorPage"}),t.jsxs(Ot,{windowSize:C,ref:ee,children:[we==="In-Progress"?t.jsx(Rt,{children:t.jsx(Je,{size:"ExtraLarge",start:!0})}):t.jsxs(t.Fragment,{children:[De===!0?t.jsx(ae,{titleComponent:t.jsx(se,{children:$.discardTitle}),descriptionComponent:t.jsx(ie,{children:$.discardDescription}),primaryButtonText:$.discard,secondaryButtonText:$.cancel,action:Ue}):null,C!=="small"?t.jsx(Et,{children:Z}):null,t.jsx(Ke,{ref:E,id:re(oe),allAccounts:$e,allClasses:be,accountsHierarchyList:Ce,classHierarchyList:ke,vendorTypeList:ye,allOwners:fe,vendorSearchAutoCompleteData:v,vendorSearchAutoCompleteActions:j,onVendorSelected:y,screenType:s,hasInternationalWireTransfer:F,selectedVendor:l,formLocalData:D,isBankAccountChanged:Ie,isContactListChanged:Fe,isPaymentInstrumentChanged:ze,analytics:d,pageBackBtnClicked:Ae,onBackClick:g,onSaveVendor:P,saveContactsInVendorDetailLocalData:V,updateSelectedVendorForCreate:I,saveVendorDetailLocalData:z,updateFilesEntity:i,toggleConfirmationPopup:Me,filesEndPoint:u,authParams:m,onEditFileName:xe,deleteFileStatusById:ve,updateFileStatusById:je,onFetchAndUpdateVendorRecommendations:ge,isLocalCurrencyEnabled:p}),X||F?t.jsx(Dt,{addressState:l.vendorNewAddressStatus?.addressToCreate,onUpdateMailingAddress:We}):null,l.vendorDetailLocalData?.currencyCode==null||l.vendorDetailLocalData?.currencyCode===ne.currencyCode?t.jsx(q,{type:"ach",vendorAccountDetails:Oe,onAddNewAccountDetailClick:()=>M("ach","standard"),onRemoveBankAccount:c}):null,X&&(l.vendorDetailLocalData?.currencyCode==null||l.vendorDetailLocalData?.currencyCode===ne.currencyCode)?t.jsx(q,{type:"wire",subType:"us-domestic",vendorAccountDetails:Re,onAddNewAccountDetailClick:()=>M("wire","us-domestic"),onRemoveBankAccount:c}):null,F&&(D?.countryCode!=null&&D.countryCode!=="US"||p)?t.jsx(q,{type:"wire",subType:"international",vendorAccountDetailsInternational:Ee,isLocalCurrencyEnabled:p,onAddNewAccountDetailClick:()=>M("wire","international"),onRemoveBankAccount:c}):null]}),t.jsx(Ut,{})]}),t.jsx(Qe,{formId:re(oe),primaryBtn:{label:$.saveDetails,isLoading:l.saveStatus?.fetchState==="In-Progress",style:{width:A.buttonWidth.value(C)},isDisabled:!1},cancelBtn:{label:Wt.cancel,style:{width:A.buttonWidth.value(C)},shouldResetOnCancel:!1,onClick:G}})]})};export{to as default,re as formUniqueName};
@@ -1 +0,0 @@
1
- import{V as t}from"./index-DdsM_njZ.js";import o from"./CustomerOnboardingNoStepsPage-61UorFvn-CADfl9k6.js";import i from"./CustomerOnboardingPage-C12XXjv0-BcXZ0f7B.js";import"./mui-bYXq4XMS.js";import"./core-3dlyNYRL.js";import"./sentry-o6h_D-9x.js";import"./zeni-epic-state-LPACxnXP.js";import"./lottie-DEE24l2z.js";import"./liveblocks-DIep7fJd.js";import"./utils-uDUqNRFY.js";import"./analytics-zoE7Zcxt.js";import"./recharts-BHhx6CLo.js";import"./lexical-DPEnH3HH.js";import"./PaymentAccountSetupBillingAddressSection-kUAm-v-A-Df5ftzDu.js";import"./SetUpAccountSection-DOavnCkG-CzCWMcok.js";import"./CustomerOnboardingDetailPageSkeleton-DfOtXgss-D9v3243e.js";import"./CompanyOfficerDetailsSection-CiVliExW-CcW3grWl.js";import"./LabeledAddressValueField-C_8kPzjy-B8qV6Urv.js";import"./LabeledCreatableSingleSelectField-sEf-9BOE-D5r4inyT.js";import"./LabeledDocumentField-rGzXpShn-ljpFtvvt.js";import"./QBOSetupSection-FrO9rgct-C_PUqy37.js";import"./QBOConnectionDialog-BxSTc99Z-CD6GLd65.js";const k=r=>r.currentTenant?.productSettings.isOtherProductsEnabled===!0?t.jsx(o,{...r}):t.jsx(i,{...r});export{k as default};
@@ -1,107 +0,0 @@
1
- import{V as r,fr as Zt,Q as Me,e as en,a8 as tn,cB as me,F as We,aN as Qe,C as mt,aA as Ke,bz as nn,o as re,ab as an,u as M,aO as on,hD as sn,g5 as rn,fs as ft,d2 as Ot,d3 as yt,y as fe,g8 as ye,cO as cn,ak as ln,hE as gt,ac as ht,cM as dn,g7 as pn}from"./index-DdsM_njZ.js";import{a as p}from"./core-3dlyNYRL.js";import{n as P,k as It}from"./mui-bYXq4XMS.js";import{bi as H}from"./zeni-epic-state-LPACxnXP.js";import{s as St,o as un}from"./PaymentAccountSetupBillingAddressSection-kUAm-v-A-Df5ftzDu.js";import{b as Ct,f as mn,a as bt}from"./CustomerOnboardingDetailPageSkeleton-DfOtXgss-D9v3243e.js";import{s as fn,S as yn}from"./CompanyOfficerDetailsSection-CiVliExW-CcW3grWl.js";import{t as gn}from"./QBOSetupSection-FrO9rgct-C_PUqy37.js";import"./sentry-o6h_D-9x.js";import"./lottie-DEE24l2z.js";import"./liveblocks-DIep7fJd.js";import"./utils-uDUqNRFY.js";import"./analytics-zoE7Zcxt.js";import"./recharts-BHhx6CLo.js";import"./lexical-DPEnH3HH.js";import"./SetUpAccountSection-DOavnCkG-CzCWMcok.js";import"./LabeledAddressValueField-C_8kPzjy-B8qV6Urv.js";import"./LabeledCreatableSingleSelectField-sEf-9BOE-D5r4inyT.js";import"./LabeledDocumentField-rGzXpShn-ljpFtvvt.js";import"./QBOConnectionDialog-BxSTc99Z-CD6GLd65.js";const hn=({companyView:t,companyOfficerLocalData:w,allNationalityCountries:c,isVerificationPopupOpen:f,setIsVerificationPopupOpen:v,verifiedPhoneNumber:O,onPhoneVerified:y,...I})=>{const m=Me(),A=t?.companyOfficers.slice(0,10).sort((b,ee)=>b.user.createTime?.isAfter(ee.user.createTime)===!0?1:-1)?.map(b=>b.user),{company_officer:l}=We.getLocalizedStrings().customerOnboardingPage.sections,{title:D}=l,T=t?.company.company.featuresActivationInfo.connectedAccountProvider;return r.jsx(Sn,{children:r.jsx(yn,{companyOfficerData:w,allOfficers:A??[],allNationalityCountries:c,sectionHeader:D,isPopupOpen:f,productType:"onboarding",connectedAccountProvider:T,showInfoTooltip:m!=="small",showCompletedIcon:m==="small",showOfficerSelect:!1,showVerificationTag:!1,verifiedPhoneNumber:O,onPhoneVerified:y,optionalFields:["dob","officerAddress","role","ssn","ownership","selectDocument","phone"],openPopup:v,...I})})},Sn=P.div`
2
- display: flex;
3
- align-items: center;
4
- justify-content: center;
5
- `,Cn=({fileProps:t,companyDetails:w,companyIndustries:c,sectionId:f,isCompleted:v,isDisabled:O,style:y,onCompanyAddressClick:I,onRegisteredAddressClick:m})=>{const A=Me(),{company_details:l}=We.getLocalizedStrings().customerOnboardingPage.sections,{title:D}=l;return r.jsx(bn,{children:r.jsx(fn,{fileProps:t,companyDetails:w,sectionId:f,isDisabled:O,style:y,sectionHeader:D,productType:"onboarding",showInfoTooltip:A!=="small",showCompletedIcon:A==="small",isCompleted:v,allIndustries:c,optionalFields:["companyLegalName","companyDescription","companyAddress","companyIndustry","typeOfIncorporation","incDate","certificateOfIncorporation","ein","companyPhone","primaryContactName"],onCompanyAddressClick:I,onRegisteredAddressClick:m})})},bn=P.div`
6
- display: flex;
7
- align-items: center;
8
- justify-content: center;
9
- `,Pn=P.div`
10
- display: flex;
11
- `,On=P.input`
12
- display: none;
13
- `,In=({isValid:t,sectionId:w="onboardingQboConnection",...c})=>{const{register:f}=cn();return r.jsxs(Pn,{children:[r.jsx(On,{type:"hidden",...f(`${w}.connected`,{validate:v=>v==="true"}),value:t?"true":"false"}),r.jsx(gn,{isValid:t,...c})]})},j="companyDetails",C="companyOfficer",Z="onboardingPaymentAccountSetupSection",Pt="customerOnboardingDetailPage",u="onboardingSubscriptionBillingAddress",ge="onboardingQboConnection",he={titleWidth:new fe(343,580,726,826),topNavBarHeight:new fe(52,52,63),topNavBarLeftRightSpace:new fe(M[5],M[9],112),subTitlePaddingTop:new fe(M[3],M[3]),subTitlePaddingBottom:new fe(M[3],M[3])},xn=t=>`${t}_form`,ce=We.getLocalizedStrings(),kn=({fileProps:t,isRefreshingViewInBackground:w,isAdmin:c,onboardingCustomerView:f,companyTitles:v,connectedAccountProvider:O,analytics:y,cardPaymentView:I,stripeKey:m,googleAPIKey:A,handleCreateCardSetupIntent:l,handleConfirmCardSetupIntent:D,updateCardPaymentModalState:T,handleAddCardPaymentSource:b,resetCardPaymentViewState:ee,handleResetCardPaymentErrorStatuses:we,redirectToProductSuitePage:Se,onFormErrorsChange:$,...ve})=>{const L=Me(),Ve=p.useRef(null),Ae=p.useRef(null),W=p.useRef(null),De=p.useRef(null),[Ce,B]=p.useState(!1),[R,z]=p.useState("next"),[F,be]=p.useState(!1),[le,Pe]=p.useState(!1),[te,Y]=p.useState(null),{onAddressClick:ne,onCompanyDetailsChanged:Oe,onCompanyOfficerUpdated:N,onFetchLinkTokenClick:Ie,onUpdatePaymentAccountStatus:de,onUpdatePaymentAccountLoginStatus:ae,onEstablishConnectionClick:pe,onEstablishConnectionSuccess:oe,onDeleteFile:V,onEditFileName:Ye,updateFilesEntity:Ge,onGetOtp:xt,onSkipSetupClick:Ne,onUpdateCustomerView:$e,updateStepHandler:U,onVerifyOtp:kt,onResendOtp:wt,handleOnConnectClick:vt,updateQBOPopupState:Vt,onUpdateStep:Te,onAddressEditHandler:At}=ve,Dt=en(),i=tn({mode:"onSubmit",reValidateMode:"onChange",defaultValues:He(f,f.allNationalityCountries),values:He(f,f.allNationalityCountries),shouldFocusError:!0,resetOptions:{keepDirtyValues:!0}}),q=p.useCallback(()=>{const e=[];return(i.getFieldState(Z).error!=null||i.getFieldState(u).error!=null)&&e.push("link_payment_account"),i.getFieldState(ge).error!=null&&e.push("qbo_connection"),e},[i]);p.useEffect(()=>{const e=q();$?.(e)},[q,$]),p.useEffect(()=>{const e=i.watch((n,{name:o,type:s})=>{o!=null&&(s==="change"||s==="blur")&&me(()=>{const d=q();$?.(d)})});return()=>e.unsubscribe()},[i,q,$]);const Je=e=>{Xe(e)},xe=p.useRef(""),Nt=e=>{xe.current=e;const n=Object.values(f.companyOfficerLocalData).findIndex(s=>s?.isSelectedForVerification===!0)??0,o=n<0?0:n;i.clearErrors(`${C}.${o}.phone`)},Xe=e=>{e!=null&&!ye(e)?i.trigger(`${C}.${J}.phone`):xt(e)},{companyView:ie,companyDetailsLocalData:g,companyOfficerLocalData:Q,currentStep:a,completedSteps:Ze,saveStatus:x,allSteps:h,allRequiredStepsCompleted:Fe,paymentAccount:K,paymentAccountStatus:et,externalConnections:_e,plaidConnectionDetails:Ee,uiState:je,allNationalityCountries:Le,pendingSaveDetails:{companyDetails:$t,officer:Tt},subscriptionBillingAddress:G}=f,J=Object.values(Q).findIndex(e=>e?.isSelectedForVerification===!0)??0,_=`Officer_${J<0?1:J+1}`,Ft=ie?.companyOfficers.slice(0,10).sort((e,n)=>e.user.createTime?.isAfter(n.user.createTime)===!0?1:-1),Be=Q[_]?.userId!=null?Ft?.find(e=>e.user.userId===Q[_]?.userId)?.address:null,tt=Q[_]?.addressStatus?.addressToCreate,ke=ie?.companyAddress,nt=g?.addressStatus?.addressToCreate,Re=ie?.registeredAddress,at=g?.registeredAddressStatus?.addressToCreate,{customerOnboardingPage:_t,common:S}=ce,{footer:Et,steps:jt}=_t,{buttons:ot}=Et,it=jt[a],ze=h.length,se=Qe(x.fetchState),E=Qe(a);function Lt(){return _e?.accounting[0]?.isValid??!1}const ue=()=>{const e=Object.values(Ee).some(d=>d.fetchStatus.fetchState==="Completed"),n=K?.providerVerificationStatus?.code?.includes("verified")??!1,o=I.cardsList.length>0,s=I.bankAccountsList[0]?.providerVerificationStatus?.code?.includes("verified")??!1;return e&&n||!n&&!K&&o||!o&&!K&&s};function st(){if(i.getFieldState(u).error)return!1;const e=i.getValues(u),n=G?.street.join("").trim(),o=G?.city,s=G?.state,d=G?.country,k=G?.postalCode!=null&&G.postalCode||e.postalCode||S.strings.empty;return!!n&&!!o&&!!s&&!!d&&!!k}const rt=Qe(K?.providerVerificationStatus?.code);p.useEffect(()=>{rt==="pending_manual_verification"&&K?.providerVerificationStatus?.code==="manually_verified"&&y.trackOnboardingBankAccountVerified("manual")},[y,K?.providerVerificationStatus?.code,rt]);const Bt=async(e,n)=>{if(e.includes(j))Oe?.(n[j]);else if(e.includes(C))N?.(n[C]);else if(e.includes(u)&&n[u]!=null){const o=i.getValues(`${u}`).country;let s=n[u];if(e.includes(`${u}.street`)&&n[u].street!=null){const{addressValue:d}=n[u].street,k=Ot(d?.country);s={street:n[u].street??S.strings.empty,city:d?.locality??S.strings.empty,state:d?.administrativeAreaLevel1??S.strings.empty,country:k,countryCode:d?.countryCode??S.strings.empty,postalCode:d?.postalCode??S.strings.empty,secondaryInfo:n[u].secondaryInfo,suite:n[u].suite},o.selectedOption!==k.selectedOption&&(s={...s,country:k})}else e===`${u}.country`&&o.selectedOption!=null?s={...s,countryCode:yt(o.selectedOption)}:o.selectedOption!=null&&e.includes(`${u}.street`)===!1&&(s={...s,countryCode:yt(o.selectedOption)});At(s)}};p.useEffect(()=>{const e=i.watch((n,{name:o})=>{o!=null&&n!=null&&me(()=>Bt(o,n))});return()=>{e.unsubscribe()}}),p.useEffect(()=>{se==="In-Progress"&&x.fetchState==="Completed"&&(i.reset(He(f,Le),{keepDirtyValues:!1}),E==="company_details"&&a==="link_payment_account"&&!h.includes("qbo_connection")&&!f.qboConnected&&Se())},[i,f,se,x.fetchState,Le,E,a,h,Se]),p.useEffect(()=>{Ce&&se==="In-Progress"&&x.fetchState==="Completed"&&(Ne(),y.track(mt.Event.onboardingSkipAndSave))},[se,Ce,x.fetchState,Ne]),p.useEffect(()=>{te?.shouldNavigate===!0&&se==="In-Progress"&&x.fetchState==="Completed"&&(U(te.fromStep,te.stepDirection,!0),Y(null))},[te,se,x.fetchState,U]),p.useLayoutEffect(()=>{E!=null&&E!==a&&(h.indexOf(E)===h.indexOf(a)-1||h.indexOf(E)===ze-1&&h.indexOf(a)===0?R!=="next"&&z("next"):(h.indexOf(E)-1===h.indexOf(a)||h.indexOf(E)===0&&h.indexOf(a)===ze-1)&&R!=="previous"&&z("previous"))},[h,a,E,R,ze]);const ct=()=>{const e=Q[_];return!!e?.firstName||!!e?.lastName||!!e?.email||!!e?.nationalityCountryCode||!!e?.birthday||!!e?.ownershipInCompany||!!e?.phone||!!e?.ssn||!!e?.titleAtCompany||!!e?.addressStatus?.addressToCreate||e?.fileIds!=null&&e?.fileIds.length>0},Rt=!Ke(tt!=null?H(tt):null,Be!=null?H(Be):null),zt=!Ke(nt!=null?H(nt):null,ke!=null?H(ke):null),Ut=!Ke(at!=null?H(at):null,Re!=null?H(Re):null),qt=i.getFieldState(j).isDirty||zt||Ut||$t,Ue=i.getFieldState(C).isDirty&&ct()||Rt||Tt,lt=i.getFieldState(`${u}`).isDirty,Qt=g?.primaryContactLocalData,Kt=()=>{U(a,"previous",!0)},Ht=()=>{const e=i.getValues(u),n={street:e.street.addressString,suite:e.suite,city:e.city,state:e.state,postalCode:e.postalCode,country:e.country.selectedOption??S.strings.empty,secondaryInfo:e.secondaryInfo};y.trackOnboardingBillingAddressSave(n)},Mt=()=>{switch(Pe(!1),a){case"link_payment_account":lt?setTimeout(()=>{const e=q();$?.(e),st()&&lt?(Ht(),$e(_,!1,!0),Y({fromStep:a,shouldNavigate:!0,stepDirection:"next"})):U(a,"next",!0)},200):U(a,"next",!0);break;case"qbo_connection":U(a,"next",!0);break;case"company_officer":if(Ue){const e=dt();if(me(()=>{const n=q();$?.(n)}),e.needsOtp&&e.phoneNumber&&ye(e.phoneNumber)){const n=i.formState.errors[C]?.[J<0?0:J],o=n?.phone,s=n!=null&&Object.keys(n).some(d=>d!=="phone"&&n[d]!=null);if(o!=null&&!s){Je(e.phoneNumber);return}}e.isValid&&($e(_,!1,!1),y.trackOnboardingCompanyOfficerSave(pt(),{legalName:g?.companyLegalName}),Y({fromStep:a,shouldNavigate:!0,stepDirection:"next"}))}else U(a,"next",!0);break;case"company_details":Pe(!0);{const e=!(st()&&ue()),n=!Lt()&&h.includes("qbo_connection");if(e||n){e&&(i.trigger(`${Z}`),i.trigger(`${u}`)),n&&i.trigger(ge),me(()=>{const o=q();$?.(o)}),e?Te("link_payment_account"):n&&Te("qbo_connection");return}}if(qt||Ue||!Qt?.email){const e=Yt(),n=Ue?dt():{isValid:!0};me(()=>{const o=q();$?.(o)}),e&&n.isValid?(Fe&&(B(!0),Gt()),$e(_,!Fe,!1),Y({fromStep:a,shouldNavigate:!0,stepDirection:"next"})):n.isValid||Te("company_officer")}else Fe?Wt():U(a,"next",!0);break}},Wt=()=>{x.fetchState!=="In-Progress"&&(Ne(),y.track(mt.Event.onboardingSkipAndSave))},dt=()=>{const e=Q[_],n=e?.email??S.strings.empty,o=e?.phone??S.strings.empty,s=e?.ssn??S.strings.empty,d=e?.ownershipInCompany,k=J<0?0:J,Xt=!!e?.firstName&&!!e?.lastName;let X=!0,ut=!1;return n&&!Xt&&(i.trigger([`${C}.${k}.name.firstName`,`${C}.${k}.name.lastName`],{shouldFocus:a==="company_officer"}),X=!1),(!n&&ct()||ht.test(n)===!1)&&(i.trigger(`${C}.${k}.email`,{shouldFocus:a==="company_officer"}),X=!1),o&&ye(o)===!1&&(i.trigger(`${C}.${k}.phone`,{shouldFocus:a==="company_officer"}),X=!1),o&&ye(o)===!0&&O==="unit"&&(xe.current!==""&&o===xe.current||(ut=!0,i.setError(`${C}.${k}.phone`,{type:"custom",message:ce.commonSetUp.businessVerification.phoneValidationError},{shouldFocus:a==="company_officer"}),X=!1)),d!=null&&d>100&&(i.trigger(`${C}.${k}.ownership`,{shouldFocus:a==="company_officer"}),X=!1),s&&pn.test(s)===!1&&(i.trigger(`${C}.${k}.ssn`,{shouldFocus:a==="company_officer"}),X=!1),{isValid:X,needsOtp:ut,phoneNumber:o}},Yt=()=>{const e=g?.website?.toString()??S.strings.empty,n=g?.phone??S.strings.empty,o=g?.taxIdOrEIN??S.strings.empty,s=g?.primaryContactLocalData?.email??S.strings.empty;let d=!0;return e&&gt.test(e)===!1&&(i.trigger(`${j}.companyWebsite`,{shouldFocus:a==="company_details"}),d=!1),gt.lastIndex=0,n&&ye(n)===!1&&(i.trigger(`${j}.companyPhone`,{shouldFocus:a==="company_details"}),d=!1),(!s||ht.test(s)===!1)&&(i.trigger(`${j}.primaryContactEmail`,{shouldFocus:a==="company_details"}),d=!1),o&&dn.test(o)===!1&&(i.trigger(`${j}.companyTaxId`,{shouldFocus:a==="company_details"}),d=!1),d},pt=()=>{const e=Q[_];return{email:e?.email??S.strings.empty,birthday:e?.birthday?.toString(),companyOwnership:e?.ownershipInCompany,firstName:e?.firstName,lastName:e?.lastName,companyRole:e?.titleAtCompany,phone:e?.phone,formattedAddress:e?.addressStatus?.addressToCreate!=null?H(e?.addressStatus?.addressToCreate):void 0,documentTypeForVerification:e?.documentTypeSelectedForVerification}},Gt=()=>{const e=g?.primaryContactLocalData;y.trackBusinessVerificationSave(pt(),{companyDescription:g?.companyDescription,legalName:g?.companyLegalName,phone:g?.phone,website:g?.website?.toString(),industry:g?.companyIndustry??S.strings.empty,formattedAddress:g?.addressStatus?.addressToCreate!=null?H(g?.addressStatus?.addressToCreate):void 0},{firstName:e?.firstName,lastName:e?.lastName,email:e?.email},"onboarding")},[qe,Jt]=p.useState(!1);return r.jsxs(Vn,{children:[r.jsxs(An,{windowSize:L,children:[h.indexOf(a)>=0?r.jsx(nn,{title:it.sectionTitle,showBackButton:!1,backgroundColor:Dt.colors.grey4,style:{zIndex:4},showLeftSection:L!=="small",titleStyle:{display:"flex",alignItems:"center"},navBarContainerStyles:{paddingTop:re.sp0,paddingBottom:re.sp0},source:"CustomerOnboardingDetailPage"}):r.jsx(Dn,{windowSize:L,children:r.jsx($n,{windowSize:L,children:r.jsx(Nn,{})})}),r.jsx(an,{...i,children:r.jsx(Fn,{id:xn(Pt),children:h.map(e=>{let n;n=r.jsx(St,{connectedAccountProvider:O,paymentAccount:K,accountStatus:et,plaidConnectionDetails:Ee,sectionId:Z,hasError:i.getFieldState(Z).error!=null||le&&!ue(),isValid:ue(),analytics:y,onFetchLinkTokenClick:Ie,onEstablishConnectionClick:pe,onUpdatePaymentAccountStatus:de,onUpdatePaymentAccountLoginStatus:ae,onEstablishConnectionSuccess:oe,cardPaymentView:I,resetCardPaymentViewState:ee,updateCardPaymentModalState:T,cardSetupInProgress:qe,subscriptionBillingAddressSectionId:u});let o=Ve;switch(e){case"link_payment_account":n=r.jsx(St,{connectedAccountProvider:O,paymentAccount:K,accountStatus:et,plaidConnectionDetails:Ee,subscriptionBillingAddressSectionId:u,sectionId:Z,hasError:i.getFieldState(Z).error!=null||le&&!ue(),isValid:ue(),analytics:y,onFetchLinkTokenClick:Ie,onEstablishConnectionClick:pe,onUpdatePaymentAccountStatus:de,onUpdatePaymentAccountLoginStatus:ae,onEstablishConnectionSuccess:oe,updateCardPaymentModalState:T,cardPaymentView:I,resetCardPaymentViewState:ee,cardSetupInProgress:qe,googleAPIKey:A,subscriptionBillingAddress:G});break;case"qbo_connection":n=r.jsx(In,{sectionId:ge,hasError:i.getFieldState(ge).error!=null,isAdmin:c,isValid:_e?.accounting[0]?.isValid??!1,companyName:ie?.company.company.companyInfo.companyLegalName,saveConnectionState:_e?.saveConnectionState,isQBOPopupOpen:je.isQBOPopupOpen,handleOnConnectClick:vt,updateQBOPopupState:Vt}),o=Ae;break;case"company_officer":n=r.jsx(hn,{companyOfficerLocalData:Q,allNationalityCountries:Le,isCompleted:Ze.includes("company_officer"),companyView:ie,sectionId:C,filesEndPoint:t.filesEndPoint,authParams:t.authParams,isRefreshingViewInBackground:w,companyTitles:v,isVerificationPopupOpen:F,setIsVerificationPopupOpen:be,onGetOtp:Je,onVerifyOtp:kt,onResendOtp:wt,onOfficerAddressClick:s=>ne(s,Be?.addressId),updateFilesEntity:Ge,onEditFileName:Ye,onDeleteFile:V,verifiedPhoneNumber:xe.current,onPhoneVerified:Nt,isDisabled:x.fetchState==="In-Progress"?"readonly":void 0,triggerError:Xe}),o=De;break;case"company_details":n=r.jsx(Cn,{fileProps:{...t,onEditFileName:Ye,onDeleteFile:V,updateFilesEntity:Ge},sectionId:j,companyIndustries:f.companyIndustries,companyDetails:g,isDisabled:x.fetchState==="In-Progress"?"readonly":void 0,isCompleted:Ze.includes("company_details"),onCompanyAddressClick:s=>{const d=ie?.company.company.companyOnboardingInfo.subscriptionBillingAddressId;ke?.addressId==null&&d!=null?ne(s,d):ne(s,ke?.addressId)},onRegisteredAddressClick:s=>ne(s,Re?.addressId)}),o=W;break}return r.jsxs(Tn,{ref:o,isVisible:a===e,includeAnimation:a==="link_payment_account"||a==="qbo_connection"?!je.isQBOPopupOpen:a==="company_officer"?!F:!0,paddingBottom:e==="company_details"||e==="company_officer"?M[6]:M[0],stepAnimationDirection:R,children:[h.indexOf(a)>=0?r.jsx(_n,{windowSize:L,children:it.sectionSubTitle}):null,n]},e)})})}),r.jsx(on,{formId:`${Pt}`,style:{width:L==="small"?"auto":"100%",paddingTop:re.sp2,paddingBottom:re.sp2},primaryBtn:{onClick:Mt,label:a==="company_details"?S.footer.submit:ot.next,isLoading:x.fetchState==="In-Progress",isDisabled:x.fetchState==="In-Progress"},cancelBtn:{onClick:Kt,label:ot.back,isDisabled:x.fetchState==="In-Progress"||h.indexOf(a)===0},containerStyle:{width:"auto",justifyContent:"center"},showCancel:!0})]}),r.jsx(un,{handleConfirmCardSetupIntent:D,updateCardPaymentModalState:T,handleCreateCardSetupIntent:l,handleAddCardPaymentSource:b,cardPaymentView:I,stripeKey:m,isCardPaymentOpen:je.isCardPaymentPopupOpen,handleResetCardPaymentErrorStatuses:we,cardSetupInProgress:qe,setCardSetupInProgress:Jt})]})},wn=It`
14
- from {
15
- transform: translateY(100%);
16
- opacity: 0;
17
- }
18
- to {
19
- transform: translateY(0);
20
- opacity: 1;
21
- }
22
- `,vn=It`
23
- from {
24
- transform: translateY(-100%);
25
- opacity: 0;
26
- }
27
- to {
28
- transform: translateY(0);
29
- opacity: 1;
30
- }
31
- `,Vn=P.div`
32
- display: flex;
33
- flex-direction: column;
34
- align-items: center;
35
- min-width: calc(100% - ${bt}px);
36
- padding-left: ${bt}px;
37
- flex: 1;
38
-
39
- ${t=>t.theme.breakpoints.down("md")} {
40
- width: 100%;
41
- padding-left: ${re.sp0};
42
- }
43
- `,An=P.div`
44
- display: flex;
45
- flex-direction: column;
46
- align-items: center;
47
- flex: 1;
48
- width: 100%;
49
- min-height: 100vh;
50
- background-image: ${t=>`url(https://storage.googleapis.com/zeni-apis.appspot.com/images/signin-background-${t.windowSize==="small"?"m":"w"}-${t.theme.mode==="dark"?"d":"l"}.svg)`};
51
- background-color: ${t=>t.theme.colors.grey4};
52
- background-size: inherit;
53
- background-attachment: fixed;
54
- background-position: ${t=>t.windowSize==="small"?"center center":"right center"};
55
- background-repeat: no-repeat;
56
-
57
- ${t=>t.theme.breakpoints.down("lg")} {
58
- background-size: cover;
59
- }
60
- `,Dn=P.div`
61
- display: flex;
62
- flex-direction: column;
63
- align-items: center;
64
- text-align: center;
65
- width: ${t=>`calc(100% - ${he.topNavBarLeftRightSpace.valuePx(t.windowSize)})`};
66
- `,Nn=P.div``,$n=P.div`
67
- display: flex;
68
- align-items: center;
69
- justify-content: space-between;
70
- width: 100%;
71
- min-height: ${t=>he.topNavBarHeight.valuePx(t.windowSize)};
72
- `,Tn=P.div`
73
- min-height: 100%;
74
- display: ${t=>t.isVisible?"flex":"none"};
75
- flex-direction: column;
76
- padding-bottom: ${t=>t.paddingBottom+"px"};
77
- animation-name: ${t=>t.stepAnimationDirection==="next"?wn:vn};
78
- ${t=>t.includeAnimation?`
79
- animation-duration: 0.6s;
80
- animation-delay: 0s;
81
- animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
82
- animation-fill-mode: both;
83
- `:null}
84
- `,Fn=P.form`
85
- padding-top: ${re.sp0};
86
- flex: 1;
87
- `,_n=P(ln)`
88
- color: ${t=>t.theme.colors.hero};
89
- display: flex;
90
- justify-content: center;
91
- width: ${t=>he.titleWidth.valuePx(t.windowSize)};
92
- padding-top: ${t=>he.subTitlePaddingTop.valuePx(t.windowSize)};
93
- padding-bottom: ${t=>he.subTitlePaddingBottom.valuePx(t.windowSize)};
94
- text-align: ${t=>t.windowSize==="small"?"initial":"center"};
95
- width: 100%;
96
- white-space: pre-line;
97
- `,He=(t,w)=>{const{companyDetailsLocalData:c,companyOfficerLocalData:f,companyView:v}=t,O=ce.commonSetUp.businessVerification,y=ce.companyPassport,I=v?.companyOfficers!=null&&v?.companyOfficers.length>0;return{[j]:{companyDescription:c?.companyDescription??ce.common.strings.empty,ein:c?.companyFiles.find(m=>m.documentType==="tax_ein"),companyId:c?.companyId,syncToken:c?.syncToken,companyLegalName:c?.companyLegalName,companyWebsite:c?.website?.toString()??ce.common.strings.empty,companyAddress:c?.addressStatus?.addressToCreate,registeredAddress:c?.registeredAddressStatus?.addressToCreate,companyIndustry:{selectedOption:c?.companyIndustry,allOptions:t.companyIndustries.map(m=>m.code)},companyPhone:c?.phone,companyTaxId:c?.taxIdOrEIN,primaryContactName:{firstName:c?.primaryContactLocalData?.firstName,lastName:c?.primaryContactLocalData?.lastName},primaryContactEmail:c?.primaryContactLocalData?.email,primaryContactUserId:c?.primaryContactLocalData?.userId,primaryContactSyncToken:c?.primaryContactLocalData?.syncToken,fileIds:c?.companyFiles.map(m=>m.fileId)??[],certificateOfIncorporation:c?.companyFiles.find(m=>m.documentType==="certificate_of_incorporation"),incDate:c?.incDate?.toDate(),typeOfIncorporation:{selectedOption:c?.typeOfIncorporation,allOptions:y.companyIncInfo.allTypesOfIncorporation}},[C]:Object.values(f).map((m,A)=>{const l=m,D=rn(l?.documentTypeSelectedForVerification);return{userId:l?.userId,officerType:l?.officerType??`Officer_${A+1}`,name:{firstName:l?.firstName,lastName:l?.lastName},email:l?.email,fileIds:l?.fileIds??[],dob:l?.birthday?.toDate(),nationalityCountryCode:Ot(l?.nationalityCountryCode,w.map(T=>T.countryCode)),ssn:l?.ssn,role:{selectedOption:l?.titleAtCompany,allOptions:O.allTypesOfRoles},phone:l?.phone,ownership:l?.ownershipInCompany,officerAddress:l?.addressStatus?.addressToCreate,selectDocument:{front:ft(!0,l?.userFiles??[],D),back:ft(!1,l?.userFiles??[],D),selectDocumentType:D},isSelectedForVerification:!I&&A===0?!0:l?.isSelectedForVerification??!1,userVerificationStatus:l?.userVerificationStatus,syncToken:l?.syncToken,isPhoneVerified:l?.isPhoneVerified,otpChallenge:l?.otpChallenge}}),[Z]:{account:{allOptions:[],selectedOption:void 0}},[u]:sn(u,t?.subscriptionBillingAddress)[u],[ge]:{connected:t.externalConnections?.accounting[0]?.isValid??!1}}},oa=t=>{const{onboardingCustomerView:w,cardPaymentView:c,signedInUser:f,currentTenant:v,isOnAddressPage:O,stripeKey:y,googleAPIKey:I,onUpdateStep:m,onZeniLogoClick:A,handleLogOutClick:l,handleCockpitClick:D,meetingUrl:T,analytics:b,handleCreateCardSetupIntent:ee,handleConfirmCardSetupIntent:we,handleFetchPaymentSources:Se,updateCardPaymentModalState:$,resetCardPaymentViewState:ve,handleResetCardPaymentErrorStatuses:L,redirectToProductSuitePage:Ve,...Ae}=t,{allSteps:W,completedSteps:De,halfCompletedSteps:Ce,currentStep:B,fetchStatus:R}=w,z=p.useRef(B),F=p.useRef(W),[be,le]=p.useState(!1),[Pe,te]=p.useState([]),Y={allSteps:W,isOnAddressPage:O,completedSteps:De,halfCompletedSteps:Ce,errorSteps:Pe,currentStep:B,fetchStatus:R,signedInUser:f,currentTenant:v,onUpdateStep:N=>{m(N)},onZeniLogoClick:A,handleLogOutClick:l,handleCockpitClick:D,setIsStepClicked:le};p.useEffect(()=>{if(z.current!==B){const N=z.current;be===!0&&(b?.trackOnboardingCurrentStep(B,N),le(!1)),z.current=B}},[B,be,b]),p.useEffect(()=>{W.length!==F.current.length&&(F.current=W)},[W]);const ne=(N,Ie,de)=>{const ae=F.current.length,pe=F.current.indexOf(N);switch(Ie){case"next":{const oe=(pe+1)%ae,V=F.current[oe];z.current=V,m(V),de===!0?b.trackOnboardingNext(N,V):b.trackOnboardingCurrentStep(V,N);break}case"previous":{const oe=(pe+ae-1)%ae,V=F.current[oe];z.current=V,m(V),de===!0?b.trackOnboardingBack(N,V):b.trackOnboardingCurrentStep(V,N);break}}},Oe=R.fetchState==="In-Progress"||R.fetchState==="Not-Started";return r.jsx(En,{isOnAddressPage:O,children:O?r.jsx(Ct,{...Y}):r.jsxs(jn,{children:[r.jsx(Ct,{...Y}),Oe?r.jsx(mn,{isNoStepsPage:!1}):r.jsx(kn,{onboardingCustomerView:w,analytics:b,updateStepHandler:ne,onUpdateStep:m,handleCreateCardSetupIntent:ee,handleConfirmCardSetupIntent:we,updateCardPaymentModalState:$,handleFetchPaymentSources:Se,cardPaymentView:c,resetCardPaymentViewState:ve,stripeKey:y,googleAPIKey:I,handleResetCardPaymentErrorStatuses:L,redirectToProductSuitePage:Ve,onFormErrorsChange:te,...Ae}),Oe?null:r.jsx(Zt,{isFooterRendered:!0,meetingUrl:T,analytics:b,productType:"onboarding"})]})})},En=P.div`
98
- display: flex;
99
- flex-direction: column;
100
- width: ${t=>t.isOnAddressPage?"fit-content":"100%"};
101
- height: 100vh;
102
- `,jn=P.div`
103
- display: flex;
104
- flex-direction: column;
105
- width: 100%;
106
- height: 100vh;
107
- `;export{oa as default};
@@ -1,66 +0,0 @@
1
- import{e as S,Q as z,hB as D,V as e,bz as F,F as Y,b1 as C,o as r,p as u,cq as E,dg as B,dh as L,db as I,di as R,y as V,ag as A,ak as N,u as b}from"./index-DdsM_njZ.js";import{a as f}from"./core-3dlyNYRL.js";import{n as a}from"./mui-bYXq4XMS.js";import{bj as P}from"./zeni-epic-state-LPACxnXP.js";import{$ as Q}from"./BoxItem-CdqDzfZN-C4lBJFfu.js";import{o as T}from"./commonDimensions-znFHURNY-BYw9nu0T.js";import{H as q}from"./DepositAccTransactionItem-DjbheijR-CnFza0I7.js";import"./sentry-o6h_D-9x.js";import"./lottie-DEE24l2z.js";import"./liveblocks-DIep7fJd.js";import"./utils-uDUqNRFY.js";import"./analytics-zoE7Zcxt.js";import"./recharts-BHhx6CLo.js";import"./lexical-DPEnH3HH.js";const n=Y.getLocalizedStrings(),H={listItemMargin:new V(b[3],b[8])};function X(t){const d=B(t,o=>o.transactionDate.format(n.dateFormat.visual.MMMDCommaYYYYformat)),h=L(d,o=>o.length>0);return I(h,o=>({date:o[0].transactionDate,transactions:R(o,m=>m.transactionDate,"desc")}))}const _=D(X),pt=({transactionListView:t,onBackClick:d})=>{const h=S(),o=z(),m=f.createRef(),p=f.useRef(null),l=_(t.transactions),k=t.depositAccountName,x=l.length===0,j=i=>x===!1?l[i].transactions.length*T.transactionItemHeightResponsive.value(o)+45:24,v=({index:i,style:c})=>{if(x===!1){const s=l[i];return e.jsx(w,{style:{...c},children:e.jsx($,{windowSize:o,children:e.jsxs(y,{children:[e.jsx(O,{children:P().year()===s.date.year()?s.date.format(n.dateFormat.visual.MMMDFormat):s.date.format(n.dateFormat.visual.MMMDCommaYYYYformat)}),e.jsx(U,{children:s.transactions.map((M,g)=>e.jsx(q,{data:M,boxType:Q(g,s.transactions.length)},g))})]})})})}else return e.jsx(w,{style:{...c},children:e.jsx(G,{children:e.jsx($,{windowSize:o,children:e.jsx(K,{children:n.transactionList.noTransactionsFoundForPrefix})})})})};return e.jsxs(J,{children:[e.jsx(F,{title:`${k} ${n.spendManagement.zeniAccounts.transactionList.title}`,backgroundColor:h.colors.grey4,style:{zIndex:3},onBackClick:d,scrollableContent:p.current!=null?p:void 0,source:"DepositAccTransactionListPage"}),e.jsx(y,{children:e.jsx(C,{children:({height:i,width:c})=>e.jsx(Z,{ref:m,height:i,width:c,outerRef:p,itemKey:s=>s,itemCount:l.length,itemSize:j,initialScrollOffset:0,children:v})})})]})},w=a.div``,$=a.div`
2
- margin: ${t=>`${r.sp0} ${H.listItemMargin.valuePx(t.windowSize)}`};
3
- `,G=a.div`
4
- display: flex;
5
- height: 100%;
6
- flex: 1 1 auto;
7
- flex-direction: row;
8
- justify-content: center;
9
- align-items: flex-end;
10
- `,J=a.div`
11
- display: flex;
12
- height: 100%;
13
- flex-direction: column;
14
- width: 100%;
15
- padding-bottom: ${r.sp7};
16
- `,K=a(N)`
17
- display: flex;
18
- color: ${t=>t.theme.colors.grey2};
19
- `,O=a(A)`
20
- display: flex;
21
- height: 21px;
22
- margin-bottom: ${r.sp2};
23
- margin-top: ${r.sp3};
24
- color: ${t=>t.theme.colors.grey1};
25
- `,y=a.div`
26
- display: flex;
27
- flex-direction: column;
28
- width: 100%;
29
- height: 100%;
30
- `,U=a.div`
31
- display: flex;
32
- flex: 1 1 auto;
33
- flex-direction: column;
34
- box-shadow: ${t=>`${r.sp0} 2px ${r.sp1} ${t.theme.colors.dropShadowNormal}`};
35
- border-radius: ${r.sp2};
36
- background-color: ${t=>t.theme.colors.grey5};
37
- `,Z=a(E)`
38
- scrollbar-width: thin;
39
- scrollbar-color: transparent transparent;
40
- &::-webkit-scrollbar {
41
- width: ${r.sp2};
42
- height: ${r.sp0};
43
- background-color: transparent;
44
- }
45
- &::-webkit-scrollbar-track {
46
- box-shadow: inset 0 0 2px ${u.scrollbarBoxShadow};
47
- -webkit-box-shadow: inset 0 0 2px ${u.scrollbarBoxShadow};
48
- background-color: transparent;
49
- }
50
- &::-webkit-scrollbar-thumb {
51
- background-color: transparent;
52
- }
53
-
54
- &:hover {
55
- scrollbar-color: ${t=>t.theme.colors.grey1} transparent;
56
- &::-webkit-scrollbar {
57
- width: ${r.sp2};
58
- height: ${r.sp0};
59
- background-color: transparent;
60
- }
61
- &::-webkit-scrollbar-thumb {
62
- background-color: ${t=>t.theme.colors.grey1};
63
- border-radius: 2px;
64
- }
65
- }
66
- `;export{pt as default};
@@ -1,17 +0,0 @@
1
- import{V as o,an as h,eM as u,o as s,e as d,eN as m}from"./index-DdsM_njZ.js";import{a as x}from"./core-3dlyNYRL.js";import{n as c,b as f}from"./mui-bYXq4XMS.js";const y=({open:e,onClose:r,anchorEl:i,children:n,styles:l})=>{const t=d();return o.jsx(m,{transitionDuration:0,anchorEl:i,open:e,anchorOrigin:{vertical:"bottom",horizontal:"left"},transformOrigin:{vertical:"top",horizontal:"right"},slotProps:{paper:{style:{display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center",background:t.colors.grey5,boxShadow:`${s.sp0} 2px ${s.sp2} ${t.colors.dropShadowHover}`,boxSizing:"border-box",transform:l?.transform??"translate(30px,10px)",borderRadius:s.sp1}}},onClose:r,disableAutoFocus:!0,disableEnforceFocus:!0,children:n})},b=c.div`
2
- position: relative;
3
- `,M=({menuItems:e,isMenuOpen:r,isMenuVisible:i=!0,setIsMenuOpen:n,styles:l,menuIconStyles:t})=>{const p=x.useRef(null);return o.jsx(h,{onClickAway:()=>{n(!1)},children:o.jsxs(b,{ref:p,children:[o.jsx(g,{className:"placeholder",style:t,onClick:a=>{a.stopPropagation(),n(!r)},children:o.jsx(v,{isMenuVisible:i,children:o.jsx(u,{})})}),r?o.jsx(y,{open:r,onClose:a=>{a.stopPropagation(),n(!1)},anchorEl:p.current,styles:l,children:e}):null]})})},g=c.div`
4
- height: ${s.sp4};
5
- position: relative;
6
- color: ${e=>e.theme.colors.hero};
7
- &:hover {
8
- cursor: pointer;
9
- color: ${e=>e.theme.colors.primary};
10
- }
11
- `,v=c.div`
12
- width: ${s.sp3};
13
- height: ${s.sp3};
14
- ${({isMenuVisible:e})=>e===!1?f`
15
- display: none;
16
- `:null};
17
- `;export{M as P};
@@ -1 +0,0 @@
1
- import{f as o}from"./index-DdsM_njZ.js";const t=(a,m,i,s)=>{o.identify(a.userId,{tenant_id:i?.tenantId,tenant_email_domain:i?.tenantEmailDomain,company_id:i?.companyId,company_name:i?.companyName,user_role:i?.userRole,$email:a.userEmail,user_email_domain:a.userEmailDomain,$first_name:a.firstName,$last_name:a.lastName,company_ids:void 0,company_names:void 0,user_roles:void 0,app_type:"web",appearance:m})};export{t as f};