@zeniai/web-app-ui 4.14.35-qa → 4.14.36-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 (498) hide show
  1. package/dist/assets/{ACHDetailsPage-B5qIuZya-XLBuNVCw.js → ACHDetailsPage-fOu5grd7-Cs2K4DRV.js} +3 -3
  2. package/dist/assets/{AIPerformancePage-BHB45mP--CD0rNUAY.js → AIPerformancePage-Da3gFo8A-CVIvereU.js} +25 -25
  3. package/dist/assets/AccountInfoPage-o7hTXtgZ-Dc6Hg6aE.js +18 -0
  4. package/dist/assets/AccountInfoPageContent-DqErO8FH-XBjSorHo.js +149 -0
  5. package/dist/assets/{AccountLockedInfoModal-Dox7IuAX-DnRhVaKQ.js → AccountLockedInfoModal-BJjCuLHa-Uk-DVT8_.js} +9 -9
  6. package/dist/assets/{AccountReconDetailsDrawerPage-Bqty08m0-D31h8ST6.js → AccountReconDetailsDrawerPage-CVjH1p0d-qMdLytVA.js} +16 -16
  7. package/dist/assets/AccountRow-CpftykFx-DRMa7L7I.js +298 -0
  8. package/dist/assets/{AccountsPromoCardStack-Bs3naJHM-C-Pd028T.js → AccountsPromoCardStack-D7xvgmOH-L4LUQiMM.js} +28 -28
  9. package/dist/assets/AddAddressForCardDrawer-vecchYEf-Dm_7GZaw.js +6 -0
  10. package/dist/assets/{AddToWalletPage-CyRfqVDB-qKY-OwRf.js → AddToWalletPage-zJy9QCjx-BhPNLvBn.js} +13 -13
  11. package/dist/assets/AddressRoutes-CN9yzNia.js +1 -0
  12. package/dist/assets/AddressScreen-DawlCEed.js +9 -0
  13. package/dist/assets/AgingReportsPage-wAvQb1d8-BNi2RWcU.js +79 -0
  14. package/dist/assets/AiCfoScreen-gLF8Y46q.js +11 -0
  15. package/dist/assets/AllUserItems-DEv_CXOA-BczB69YE.js +192 -0
  16. package/dist/assets/ApAgingDetailPage-BOV1WFVF-DjxtNuTC.js +46 -0
  17. package/dist/assets/{AppBasePage-CqDm-hnV-CPv5pyhL.js → AppBasePage-DMlomvFS-DAPyVzw3.js} +16 -16
  18. package/dist/assets/AppDrawerContent-Dc2sHnR3-DkcYif08.js +92 -0
  19. package/dist/assets/ApprovalRulesSettingsPage-BnbPSy4U-BkoyF3U2.js +47 -0
  20. package/dist/assets/ArAgingChart-m-Xp3HAW-2E3yf3w6.js +24 -0
  21. package/dist/assets/ArAgingDetailPage-b_NpDpWj-D8K0oGBL.js +46 -0
  22. package/dist/assets/{AttachmentView-CzC4skJ3-9WHG58G4.js → AttachmentView-DB_V1qT1-YRFnSBmh.js} +7 -7
  23. package/dist/assets/{BankAccountSection-Di4sF52j-DrSj0XXO.js → BankAccountSection-BabhrBM7-BRSx6sCU.js} +5 -5
  24. package/dist/assets/BankAccountWarningSection-yT2UAd12-hc4ZMuSF.js +51 -0
  25. package/dist/assets/{BankConnectionsSettingsPage-Ccnzq7st-CFZ_2GOy.js → BankConnectionsSettingsPage-CbxXykMM-BcHLkw6J.js} +14 -14
  26. package/dist/assets/BillDetailPage-7TMkWo3V-D6W3VN4G.js +266 -0
  27. package/dist/assets/{BillPayApprovalRoutes-BmuSeG_D.js → BillPayApprovalRoutes-DPHRxesZ.js} +1 -1
  28. package/dist/assets/BillPayApprovalRuleDetailPage-COyDRpaF-CLsNCUw0.js +27 -0
  29. package/dist/assets/{BillPayApprovalRulesPage-COCypDcS-lT3PW8bQ.js → BillPayApprovalRulesPage-9pxkgFAT-DlJyrfvK.js} +5 -5
  30. package/dist/assets/{BillPayPromoPage-DOE2YIqC-CKwELSu-.js → BillPayPromoPage-AGffhbY3-DpLl9nyC.js} +10 -10
  31. package/dist/assets/{BillPayRoutes-C3UXklWn.js → BillPayRoutes-JOylN2BD.js} +13 -13
  32. package/dist/assets/BillPaySetUpPage-Cs5rkWBu-BP5ujh9A.js +42 -0
  33. package/dist/assets/{BillingSettingsPage-iImtlEmO-BW--jBw3.js → BillingSettingsPage-CQ117tT9-TA2HK-aX.js} +10 -10
  34. package/dist/assets/{BillsBulkReviewDrawerPage-B11GWM_0-DpWN7a3R.js → BillsBulkReviewDrawerPage-DRkGQQAe-DNA3NRzL.js} +1 -1
  35. package/dist/assets/{BoxItem-Bxa1M4QU-dUcjlF36.js → BoxItem-DRwx0M5a-D-Rn9DzO.js} +2 -2
  36. package/dist/assets/BusinessVerificationPage-1h0z3N9u-XjZx6gHS.js +138 -0
  37. package/dist/assets/BusinessVerificationPageScreen-sFaQye-W.js +9 -0
  38. package/dist/assets/BusyIndication-DizZe0Gu-Ui3yaqtY.js +9 -0
  39. package/dist/assets/{CardNumberSubText-_ZZbaz_k-DQXZlwGH.js → CardNumberSubText-DqtLT1w5-Bzgrrztr.js} +10 -10
  40. package/dist/assets/{CashbackDetailPage-DAZXitLt-DHuiCggG.js → CashbackDetailPage-ChdQcvkC-m-ebT8pi.js} +17 -17
  41. package/dist/assets/{ChargeCardDetailPage-B1VIpASk-DDp9chEw.js → ChargeCardDetailPage-DFOKlPNG-DQYHVV4_.js} +31 -31
  42. package/dist/assets/{ChargeCardListPage-BOBepN-x-CCDeCgkz.js → ChargeCardListPage-DhLUsUhd-CoIm3KwH.js} +19 -19
  43. package/dist/assets/ChargeCardListTable-DE72YU_i-DgEVI1AC.js +711 -0
  44. package/dist/assets/{ChargeCardPaymentHistoryPage--jOwsMla--R4xqtT2.js → ChargeCardPaymentHistoryPage-CbGR18s--Df_3JGQc.js} +15 -15
  45. package/dist/assets/ChargeCardPromoPage-CPpNh89o-52aj5A04.js +222 -0
  46. package/dist/assets/{ChargeCardRoutes-Bv9hqdZo.js → ChargeCardRoutes-V_6E2iyX.js} +12 -12
  47. package/dist/assets/ChargeCardSetupPage-ITi25kUD-D__xDb9M.js +36 -0
  48. package/dist/assets/{ChargeCardStatementsPage-ChWyQlw6-aZT3JIEZ.js → ChargeCardStatementsPage-CTJc1BCc-CZlTL24v.js} +3 -3
  49. package/dist/assets/CheckDepositDrawerPage-BrzeSj-3-mEHRp2-B.js +206 -0
  50. package/dist/assets/CollapsableReportTable-CDEe9s_E-B6-yHAq0.js +2844 -0
  51. package/dist/assets/{CompanyOfficerDetailsSection-CrOIN4IW-NHMPrEUt.js → CompanyOfficerDetailsSection-BaPhFsLx-B_RPGIU9.js} +92 -92
  52. package/dist/assets/CompanyPassportCard-B9ymV6Az-jkfRIvZo.js +42 -0
  53. package/dist/assets/{CompanyPassportPage-FE6yli6h-DpU12PlJ.js → CompanyPassportPage-BQ68t7oK-IkltRNSS.js} +16 -16
  54. package/dist/assets/{CompanyPassportScreen-myO-14Tx.js → CompanyPassportScreen-dLVakYjm.js} +1 -1
  55. package/dist/assets/{CompleteProfile-Cb8i1XgZ-DxvSbQ10.js → CompleteProfile-C5n9b8gQ-CNOkIDDD.js} +1 -1
  56. package/dist/assets/ConfettiBurst-BizTW0hz-BB_7e0py.js +1 -0
  57. package/dist/assets/ConnectionAuthScreen-BOPjadvo.js +11 -0
  58. package/dist/assets/{ConstrainedInnerElement-CgdnMeoA-OjPt0E9I.js → ConstrainedInnerElement-BeIpAPjB-Cxh5xHax.js} +1 -1
  59. package/dist/assets/{CreateOrEditVendorPage-CzpSgxbO-3aKCwvlv.js → CreateOrEditVendorPage-BIfOA5Nr-AtyF4p8I.js} +19 -19
  60. package/dist/assets/{CreditCardPaymentDrawerPage-c_q0MsSO-C8Sv6LkU.js → CreditCardPaymentDrawerPage-CCpS-31h-B6o-4EgY.js} +21 -21
  61. package/dist/assets/CurrencySelectField-KvKyemY6-rYSOJjSm.js +139 -0
  62. package/dist/assets/{CustomerOnboardingActivationPage-f3Aa6E5r-jXI67T90.js → CustomerOnboardingActivationPage-6VlMI4oY-C5HWnW_e.js} +3 -3
  63. package/dist/assets/CustomerOnboardingAuthScreen-xza8qbxh.js +1 -0
  64. package/dist/assets/CustomerOnboardingContainerPage-CRjwWFLJ-DbqRfwbf.js +1 -0
  65. package/dist/assets/{CustomerOnboardingDetailPageSkeleton-DYuiWn8s-By6QXlft.js → CustomerOnboardingDetailPageSkeleton-BzbZb27J-C4bWipAx.js} +9 -9
  66. package/dist/assets/CustomerOnboardingNoStepsPage-CWF_00EM-EPt0RonD.js +66 -0
  67. package/dist/assets/{CustomerOnboardingPage-B9hSO88_-WoQ55K0l.js → CustomerOnboardingPage-DkW66A-p-BsqCLn06.js} +8 -8
  68. package/dist/assets/{CustomerOnboardingProductSuitePage-CG0HKCpQ-Dj7dtYI-.js → CustomerOnboardingProductSuitePage-Ba0yotpP-DIrnT1SJ.js} +10 -10
  69. package/dist/assets/CustomerOnboardingRoutes-yXJnudqI.js +23 -0
  70. package/dist/assets/{Dashboard-BJ_oIHab-CcR3gZ1R.js → Dashboard-bX3cWkmP-CJSja88C.js} +45 -45
  71. package/dist/assets/{DashboardReportPage-BemzMw2e-BivRzupC.js → DashboardReportPage-DuZ4d4CE-CEa_ZsnB.js} +39 -39
  72. package/dist/assets/DashboardRoutes-BcGPSKnY.js +21 -0
  73. package/dist/assets/DashboardSidebarBackgroundAnimation-UV2CZToG-Dar8E4GV.js +12 -0
  74. package/dist/assets/{DefaultTenantHome-BM2eKD4k.js → DefaultTenantHome-BeZ76hjE.js} +1 -1
  75. package/dist/assets/DepositAccTransactionItem-BY_OvuKg-CegBl9NF.js +76 -0
  76. package/dist/assets/DepositAccTransactionListPage-a__bpCOB-3CdtwLcn.js +66 -0
  77. package/dist/assets/DomesticWireDetailScreen-D5m_2Yo0.js +18 -0
  78. package/dist/assets/DomesticWireDetailsPage-BumMT4QM-BqgDBN3V.js +21 -0
  79. package/dist/assets/DownloadOverlay-DqiL3-FB-EoMZNE21.js +439 -0
  80. package/dist/assets/{DrawerPage-DesxXhZk-BSBqQ0E6.js → DrawerPage-CaG-xx5d-Cp5tt9QJ.js} +12 -12
  81. package/dist/assets/DrawerScreen-CTG5ybiX.js +1 -0
  82. package/dist/assets/EditPeoplePage-BcsdEp_d-D-PC_KrM.js +55 -0
  83. package/dist/assets/EditReimbursementDetailPage-DNUmwdsH-Bq2nc6vp.js +865 -0
  84. package/dist/assets/EntityDetailPage-DtX5TjBc-BPO5XePN.js +18 -0
  85. package/dist/assets/EntityDetailRoutes-B5R1QZWM.js +1 -0
  86. package/dist/assets/{EntitySummarySection-BwX0a4JL-DBtHTJw5.js → EntitySummarySection-LEA5m6mN-DSNa9_6d.js} +26 -26
  87. package/dist/assets/{ExpenseAutomationOverviewPage-EdyHjbff-EOTef8II.js → ExpenseAutomationOverviewPage-Dmhn7gfp-Bq4zhd1r.js} +50 -50
  88. package/dist/assets/ExpenseAutomationPage-B8C4BxoV-CRrIGE9L.js +2323 -0
  89. package/dist/assets/ExpenseAutomationRoutes-CQ8o1Ut2.js +20 -0
  90. package/dist/assets/{ExpressPayPage-EMP6inpX-ByDfOb19.js → ExpressPayPage-C-nqret2-DYj2m0J-.js} +12 -12
  91. package/dist/assets/{FeaturePreviewPage-SYJm-3aR-BN_q0ETO.js → FeaturePreviewPage-BHjUZ7s6-DFBfCFGy.js} +2 -2
  92. package/dist/assets/FeaturePreviewScreen-7DbZ3Lx9.js +1 -0
  93. package/dist/assets/{FollowStepsSection-BxESVqJD-D-o2E0Jp.js → FollowStepsSection-0eFMS0c5-CUs8ilzU.js} +11 -11
  94. package/dist/assets/GlobalReviewListPage-4eiopkzw-CbQC9oAb.js +291 -0
  95. package/dist/assets/{InformationCardStack-B_qQUEYD-Dxp2Ew45.js → InformationCardStack-C7XJCUlh-CelR5zDw.js} +1 -1
  96. package/dist/assets/InsightsCardStack-fBAbQwhK-DPzZunDi.js +79 -0
  97. package/dist/assets/InsightsSection-De9zu_me-DIydVhgU.js +27 -0
  98. package/dist/assets/{IntegrationsSettingsPage-DP6fAccq-Ho7Qlw2p.js → IntegrationsSettingsPage-BD5jqAv8-hrz650GM.js} +5 -5
  99. package/dist/assets/InternationalWireSwiftDetailsPage-BftrE612-CtP2y88l.js +171 -0
  100. package/dist/assets/{InternationalWireVerificationPage-COC6lZml-CGJDlFxp.js → InternationalWireVerificationPage-CDf7equc-BXBU6F90.js} +10 -10
  101. package/dist/assets/{InviteFormPage-DN02jRy5-DHTLPGCE.js → InviteFormPage-E2igwKEh-wVoOBHVT.js} +7 -7
  102. package/dist/assets/{InvitePageListView-CP4K9tJi--rk4yubU.js → InvitePageListView-Cuq9dlgu-CIGWi2Uo.js} +75 -75
  103. package/dist/assets/InvitePeoplePage-Db4P4ZEq-DViNv_LG.js +12 -0
  104. package/dist/assets/InvoiceUploadSection-DYCjz9CI-6zrHw8Gx.js +140 -0
  105. package/dist/assets/{IssueChargeCardPage-CVfuvGey-DsE7CChF.js → IssueChargeCardPage-CK6fnO24-CgQfD7TJ.js} +23 -23
  106. package/dist/assets/{LabeledAddressValue-DDrQcHIE-7f3DV4Ir.js → LabeledAddressValue-Ma1WURjK-BQ7yXCyt.js} +2 -2
  107. package/dist/assets/LabeledAddressValueField-C6-hVsPb-2b15Jv_o.js +45 -0
  108. package/dist/assets/LabeledControlledCheckBoxField-CgZg0uOW-BjnMYuFb.js +16 -0
  109. package/dist/assets/{LabeledCountryMultiSelectField-BYYjzwUG-DFrMExfh.js → LabeledCountryMultiSelectField-sj8p7Rne-bfsTKOeq.js} +4 -4
  110. package/dist/assets/{LabeledCreatableSingleSelectField-CISYMojq-uDdZESj4.js → LabeledCreatableSingleSelectField-DUTQh416-TJ_Bq1qn.js} +6 -6
  111. package/dist/assets/LabeledDocumentField-Bp9m-OrP-C4maUk83.js +41 -0
  112. package/dist/assets/{LabeledDropDownFormattedTextField-ScGGCap8-DS9Ia8KW.js → LabeledDropDownFormattedTextField-3-KekP79-2bA1-mcm.js} +4 -4
  113. package/dist/assets/{LabeledEmailInputField-BppuWRbl-CiTokODP.js → LabeledEmailInputField-BRJyFvVd-Bs2EgRoq.js} +11 -11
  114. package/dist/assets/{LabeledNameField-mxSNQk3k-plaK5ktD.js → LabeledNameField--saAep-_-GEbqq-XX.js} +5 -5
  115. package/dist/assets/{LabeledSingleSelectField-C6ctNzkA-jFhVySOx.js → LabeledSingleSelectField-Ul4tlTiO-C7eur4tW.js} +7 -7
  116. package/dist/assets/LabeledText-DvzVOku6-BIWW9LkN.js +42 -0
  117. package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-C8JxAcOT-C31niF0q.js → LabeledUserSingleSelectWithSubtitlesField-DCv1Q5qb-D3Nd6Mp3.js} +12 -12
  118. package/dist/assets/{LabeledZeniRolesDropDownField-BZtreVpj-HZcFXQuM.js → LabeledZeniRolesDropDownField-kWC0ShEy-B-6CgYA7.js} +25 -25
  119. package/dist/assets/{LinkJETransactionPage-CKq4oiX9-FlcdN5Cn.js → LinkJETransactionPage-WufhDGDQ-hOiRNbpI.js} +11 -11
  120. package/dist/assets/{LockCardPage-CZENNby7-DAN8QPfp.js → LockCardPage-BBIVLYVD-CWfnMAuT.js} +17 -17
  121. package/dist/assets/{LowBalancePopup-1727S1ri-DfD9U0P5.js → LowBalancePopup-ScEqPY9J-BDVRhmW5.js} +5 -5
  122. package/dist/assets/MagicLinkACHDetailsPage-C494txw0-C9zbj8xn.js +1 -0
  123. package/dist/assets/MagicLinkDomesticWireDetailsPage-CONBCbOQ-BTU1HWRn.js +1 -0
  124. package/dist/assets/MagicLinkInternationalWireDetailsPage-fSY3JGpz-DTKuj6lk.js +1 -0
  125. package/dist/assets/MagicLinkRoutes-CBkc9ANU.js +72 -0
  126. package/dist/assets/MagicLinkSignInScreen-DVW3BRZl.js +12 -0
  127. package/dist/assets/{MagicLinkSuccessPage-QMkZgQLG-SmTRytlp.js → MagicLinkSuccessPage-BDRXSAO4-BPK2tnCV.js} +6 -6
  128. package/dist/assets/{MagicLinkTitleSection-CARU1oLQ-Cc0bAwCn.js → MagicLinkTitleSection-ZnbKPIvJ-C4BiwnoA.js} +9 -9
  129. package/dist/assets/MailingDetailsSection-DZT7JPlI-B_BKxUqb.js +21 -0
  130. package/dist/assets/MobileAppDrawer-SRxQ4nyi.js +1 -0
  131. package/dist/assets/{MoreMenuButton-BsBKwXvk-B-OabREv.js → MoreMenuButton-CJue6xR9-DxdJkjEQ.js} +23 -23
  132. package/dist/assets/{MyBankConnectionsSettingsPage-BdgIIhL1-sxo7GzB7.js → MyBankConnectionsSettingsPage-aQDVaEG1-CRobqj27.js} +7 -7
  133. package/dist/assets/{MyPendingActivationChargeCardListPage-CX38bDdq-BSRy7gxL.js → MyPendingActivationChargeCardListPage-BJrk56oA-CKxLYlt8.js} +1 -1
  134. package/dist/assets/{MyProfileSettingsPage-DYu0Fx6I-2xpkKTK_.js → MyProfileSettingsPage-L9WuP6HZ-DBau4C6u.js} +6 -6
  135. package/dist/assets/NavBarWithPicker-zmvBmWS1-Dq59pkcT.js +30 -0
  136. package/dist/assets/{NavigationArrow-CTNkKUtV-BOWAFzvJ.js → NavigationArrow-D26UG3p--CJBJ0QVX.js} +2 -2
  137. package/dist/assets/NavigationDots-Bv4tBDN3-C3q3rN5Z.js +15 -0
  138. package/dist/assets/{NewGlobalMerchantPage-D_f7z47T-bzcY5fN6.js → NewGlobalMerchantPage-vOn2O6B9-Dn0MDdJM.js} +4 -4
  139. package/dist/assets/NoDataChart-CgT19fV7-BHysrTfh.js +26 -0
  140. package/dist/assets/{NoDataTable-4vPXmPYF-DNHPtvzK.js → NoDataTable-CPjJmo4s-Cw98-IiW.js} +1 -1
  141. package/dist/assets/{NotFoundPage-BLWPU1wU-sT7v4kMd.js → NotFoundPage-CP2i3FTm-bZ8NYti5.js} +6 -6
  142. package/dist/assets/NotFoundScreen-LuCzwVbP.js +1 -0
  143. package/dist/assets/NotificationRoutes-DAiqyeoY.js +1 -0
  144. package/dist/assets/{NotificationSettingsPage-CDiDLX3A-_aoQxT7d.js → NotificationSettingsPage-CT9Dnb03-avWp6uik.js} +16 -16
  145. package/dist/assets/NotificationsListConfig-Bn1zmx6b-D4fKYTYM.js +1 -0
  146. package/dist/assets/NotificationsPage-DDwdR_Jq-CoOhM2dl.js +685 -0
  147. package/dist/assets/OpExByVendorPage-DukFYlqO-DRlZ9cev.js +100 -0
  148. package/dist/assets/{OverlayContainerPage-BG9y5C0t-BzKAGxet.js → OverlayContainerPage-D4QU0p4o-tcmQyJCw.js} +1 -1
  149. package/dist/assets/PandLWithForecastPage-Bgflh9Om-CSmTsNHv.js +107 -0
  150. package/dist/assets/PandLWithForecastRoutes-C-17dXbC.js +1 -0
  151. package/dist/assets/{PaymentAccountSetupBillingAddressSection-9ma8SpIa-B9DSsC2j.js → PaymentAccountSetupBillingAddressSection-JPO-rPAd-BENOl58h.js} +7 -7
  152. package/dist/assets/PeoplePage-CDvKreQl-BHMfiaC4.js +720 -0
  153. package/dist/assets/PeopleRoutes-DkWBrchL.js +22 -0
  154. package/dist/assets/PerformanceRoutes-BfVGXw_c.js +1 -0
  155. package/dist/assets/{Preview-7kwKilUJ.js → Preview-B59RrC-D.js} +1 -1
  156. package/dist/assets/{ProductsCarousel-C3M0ocdF-Bk6zo5Ng.js → ProductsCarousel-7R3cvGiS-DzOMZ0OK.js} +8 -8
  157. package/dist/assets/{PromoBaseCards-BOGJI2ws-C9Pe7t33.js → PromoBaseCards-DdCMZIc7-B4qYL3sb.js} +1 -1
  158. package/dist/assets/{QBOConnectionDialog-CmpnnuzP-C7S2tuEZ.js → QBOConnectionDialog-Ca36jKz2-CdHpLyZs.js} +13 -13
  159. package/dist/assets/{QBOConnectionScreen-CBL_c_ZS.js → QBOConnectionScreen-CJqEVXmb.js} +22 -4
  160. package/dist/assets/{QBOSetupSection-DjnN9dgv-DuelT8Xn.js → QBOSetupSection-CzBfIVqR-DDJCICP1.js} +10 -10
  161. package/dist/assets/ReferralListScreen--Li0yAbv.js +5 -0
  162. package/dist/assets/ReimbursementApprovalRoutes-By0X6th0.js +1 -0
  163. package/dist/assets/{ReimbursementApprovalRuleDetailPage-D5NXjrO9-BrVg7MWi.js → ReimbursementApprovalRuleDetailPage-DUVSGQJ6-BLIwxZQV.js} +4 -4
  164. package/dist/assets/{ReimbursementApprovalRuleDetailScreen-CiFU9_Ue.js → ReimbursementApprovalRuleDetailScreen-BTqwtaaL.js} +1 -1
  165. package/dist/assets/{ReimbursementApprovalRulesPage-BsCTIqUJ-SkgewgOo.js → ReimbursementApprovalRulesPage-B48x1gPM-BostsSOa.js} +27 -27
  166. package/dist/assets/ReimbursementDetailPage-oIC9QEyF-BywJ2Ma5.js +314 -0
  167. package/dist/assets/{ReimbursementPromoPage-CyEgwqcf-SmbgqnUO.js → ReimbursementPromoPage-BKgsJieE-C8z1p7x-.js} +14 -14
  168. package/dist/assets/ReimbursementRoutes-CgHILlr6.js +13 -0
  169. package/dist/assets/{ReimbursementSetUpPage-RETPkEQd-X6NMArZG.js → ReimbursementSetUpPage-B_c-ZgFT-CEFcuF5y.js} +5 -5
  170. package/dist/assets/ReimbursementsBulkReviewDrawerPage-CeyGWbKR-DNjVjDW0.js +1 -0
  171. package/dist/assets/ReloadCard-DKGn1uxF-BoCqNia8.js +26 -0
  172. package/dist/assets/ReportTableViewSelector-CXDvZEbR-C7-vFnMM.js +150 -0
  173. package/dist/assets/ReportsPage-BoUyXSBC-Bpcr9t0g.js +121 -0
  174. package/dist/assets/ReportsRoutes-BiPwCg8q.js +1 -0
  175. package/dist/assets/{RevenueChart-DvyZ3aO7-Cq5-UpCu.js → RevenueChart-SvdhwBcE-Dxn52ow-.js} +12 -12
  176. package/dist/assets/ReviewDetailsPage-tT1l4R2r-RmP2wBK5.js +290 -0
  177. package/dist/assets/{ReviewOverlay-CxwoiOLC-D5lX05io.js → ReviewOverlay-BoM41t8W-CTSAEiQG.js} +7 -7
  178. package/dist/assets/RewardsRoutes-E5CnWJ-f.js +1 -0
  179. package/dist/assets/RoleWithToolTip-C8x5yXaK-Dmelwbqx.js +22 -0
  180. package/dist/assets/{ScheduleDetailsFixedAssetsPage-DiL5Dozk-nJBgIa-D.js → ScheduleDetailsFixedAssetsPage-Bkp0mCOn-DSmZf7Qv.js} +8 -8
  181. package/dist/assets/ScheduleDetailsPage-Dg9rYJbn-DllnnP3n.js +37 -0
  182. package/dist/assets/ScheduleSequenceTable-J6Eja8XA-Du9cL0M5.js +324 -0
  183. package/dist/assets/ScreenRoutes-IRYzg1I8.js +2 -0
  184. package/dist/assets/{SetUpAccountSection-CctbMmoK-dkot7n04.js → SetUpAccountSection-sfIB1h4i-5Qx4_bh2.js} +15 -15
  185. package/dist/assets/{SettingsRoutes-B6iEqR3w.js → SettingsRoutes-DcfqDJnj.js} +7 -7
  186. package/dist/assets/{SetupPagesScreen-BnPwIkkt.js → SetupPagesScreen-CKIcjKt5.js} +6 -6
  187. package/dist/assets/{SignIn-CmgmnRm4-B0na7eQY.js → SignIn-Cu2nzuEC-Bp_oT71c.js} +75 -75
  188. package/dist/assets/SignInScreen-Ct79gq1E.js +1 -0
  189. package/dist/assets/SignOutScreen-CZ3i17sZ.js +9 -0
  190. package/dist/assets/SpendManagementListViewPage-9V9u1jPF-impkLVzs.js +134 -0
  191. package/dist/assets/SpendManagementPerTabPage-COvEPq7V-9dexPOGi.js +754 -0
  192. package/dist/assets/SpendManagementSection-dT-N4bSQ-zSvxEGhY.js +375 -0
  193. package/dist/assets/StatementItem-g5tfNBjV-TtkHAa_E.js +31 -0
  194. package/dist/assets/StatementsPage-DaFrVUeK-BKmugpaZ.js +58 -0
  195. package/dist/assets/{StatusSwitcher-Bv-ozN6U-quMddV-t.js → StatusSwitcher-CaoFw0cf-DekkCuBN.js} +1 -1
  196. package/dist/assets/{SubTabSwitcher-D7QeM6nb-BFMiA24p.js → SubTabSwitcher-zrkVj1aP-DzJ74MSf.js} +9 -9
  197. package/dist/assets/SuccessAnimation-oz7yQ6H3-CuxEvbYZ.js +13 -0
  198. package/dist/assets/{SummaryCard-C2qoTsAY-CaaNnBJl.js → SummaryCard-B9wqNSwM-CfbafqaP.js} +1 -1
  199. package/dist/assets/{TaskDetailPage-QMk4DTDK-D2hPuZdA.js → TaskDetailPage-044JwAvz-Dbz-j4Qe.js} +41 -41
  200. package/dist/assets/TaskListScreen-D2hgfbUK.js +9 -0
  201. package/dist/assets/TaskManagementPage-dAK9tl2b-VU_G-rkO.js +1063 -0
  202. package/dist/assets/TaskRoutes-JZtbl56L.js +9 -0
  203. package/dist/assets/TimeRangeSwitcher-r1TNqVRb-BuKa7qNu.js +64 -0
  204. package/dist/assets/TimeframeSwitcher-DHfHCTa4-BPyXAgbc.js +31 -0
  205. package/dist/assets/TimeframeSwitcherWithToggle-DvBvguRl-81Smo1q6.js +31 -0
  206. package/dist/assets/{TopExCard-Z1WabZ8c-CKf1GX94.js → TopExCard-BUjnGDUB-310z6unt.js} +6 -6
  207. package/dist/assets/{TopExDetailPage-CzHG4f9E-B4TmK8gG.js → TopExDetailPage-CNDkfc3u-BceOPcNG.js} +14 -14
  208. package/dist/assets/{TransactionActivityLogPage-CGKnjNfU-Ci16gpvR.js → TransactionActivityLogPage-kSQqJVpX-D70Ebwxd.js} +9 -9
  209. package/dist/assets/TransactionDetailPage-f7vWtXWL-DszE4Lqv.js +903 -0
  210. package/dist/assets/TransactionDetailRoutes-TOpy1uKa.js +1 -0
  211. package/dist/assets/{TransactionDetailScreen-B-Yj_UhL.js → TransactionDetailScreen-Bl43zCpG.js} +2 -2
  212. package/dist/assets/TransactionList-3-mUZOsw-BQQrTUgt.js +153 -0
  213. package/dist/assets/{TransactionListBig-C5Sf5Xh--DbwL40CX.js → TransactionListBig-Bx_Rm9ho-KpaUS-0g.js} +20 -20
  214. package/dist/assets/TransactionListPage-q6x4_jni-BCTSngWR.js +35 -0
  215. package/dist/assets/{TransactionListRoutes-QxUiu8mw.js → TransactionListRoutes-CMLh_lHF.js} +1 -1
  216. package/dist/assets/{TransactionVendorDetailPage-SsrSOk3O-D_eszV6l.js → TransactionVendorDetailPage-MjSH5hfq-C0iHLHKf.js} +4 -4
  217. package/dist/assets/{TransferDrawerPage-BvKZ7vHF-BsH4I_GA.js → TransferDrawerPage-BayVa6po-DlkdYqMW.js} +32 -32
  218. package/dist/assets/TreasuryOverviewPage-CuqWmrO5-BZ_bPirD.js +708 -0
  219. package/dist/assets/{TreasuryPromoPage-CtTFvSQW-C3HG6vUb.js → TreasuryPromoPage-BCjz1EKX-DryQkob1.js} +26 -26
  220. package/dist/assets/TreasuryRoutes-Uv2Q4-px.js +45 -0
  221. package/dist/assets/{TreasuryStatementsPage-Catz8shX-DYVsQNkR.js → TreasuryStatementsPage-CGr00SXF-BI3wmSNl.js} +3 -3
  222. package/dist/assets/TreasuryTaxLetterPage-D9_qnlK4-BJVe4ICp.js +58 -0
  223. package/dist/assets/{TrendChart-Bnp4Pcdf-BEiDyalf.js → TrendChart-JTOG0a7B-DWRNXuz6.js} +2 -2
  224. package/dist/assets/TrendWithTransactions-CTJhTpAM-BLYcqVCK.js +116 -0
  225. package/dist/assets/{UncategorizedAccountsMappingPage-DbyY-dYB-CRm0o4w4.js → UncategorizedAccountsMappingPage-TGKYpC5A-CSRo9cGj.js} +7 -7
  226. package/dist/assets/{UnitIntegrationPage-CTzme1te-Dnhdwg-S.js → UnitIntegrationPage-mt2IjA5X-HULL3VCR.js} +4 -4
  227. package/dist/assets/UploadAdditionalDocumentOverlay-DZfpwE5J-Cm7mweqJ.js +38 -0
  228. package/dist/assets/Vendor2FAPopup-DAOf5cJD-foKceGQ2.js +1 -0
  229. package/dist/assets/VendorACHDetailsPage-CCOupiSZ-aPYjuiNm.js +1 -0
  230. package/dist/assets/VendorDetailPage-DufNphGD-angvVXfL.js +257 -0
  231. package/dist/assets/VendorDomesticWireDetailsPage-BayV34Rt-dHdeqKnp.js +1 -0
  232. package/dist/assets/{VendorFiling1099EditablePage-himC7iD3-COlhEhfI.js → VendorFiling1099EditablePage-CRnO7Ubw-C0qN_xq7.js} +16 -16
  233. package/dist/assets/VendorFirstReviewPage-DA0EL4RJ-CiwNSvUn.js +730 -0
  234. package/dist/assets/{VendorInternationalWireDetailsPage-CS595Xgc-B8BwDoGh.js → VendorInternationalWireDetailsPage-HUtNyn9Z-Ccax-820.js} +7 -7
  235. package/dist/assets/VendorInternationalWireSwiftDetailsPage-DRVMUeXi-BDnM6T3H.js +1 -0
  236. package/dist/assets/{VendorsAccountsSection-CgSJu8wq-By2iaDf4.js → VendorsAccountsSection-D6Qa1zf9-OD2ANcpQ.js} +4 -4
  237. package/dist/assets/{VendorsRoutes-Bih_aLlI.js → VendorsRoutes-BTXTUssE.js} +21 -21
  238. package/dist/assets/VerifyDevice-B6B_nk3v-BfzLjpGJ.js +112 -0
  239. package/dist/assets/VideoPlayer-BRAgZThr-Bcaasp-U.js +77 -0
  240. package/dist/assets/{VideoPopup-BqvZ-XIh-C4S2l4Qt.js → VideoPopup-C_SkBI9U-xDIm2hVu.js} +2 -2
  241. package/dist/assets/WiseConfirmationScreen-DSWFe61l.js +12 -0
  242. package/dist/assets/ZeniAccountDetailPage-Dp-eo-Vq-DUr2L7qz.js +300 -0
  243. package/dist/assets/ZeniAccountListViewPage-S-XmAYqD-CGRw402N.js +441 -0
  244. package/dist/assets/ZeniAccountNavBarPieces-DhjBxfEr-obkuSya3.js +14 -0
  245. package/dist/assets/{ZeniAccountPromoPage-JrcedQYB-pQRwMLaX.js → ZeniAccountPromoPage-BgYCHYLO-B5ynGf7u.js} +24 -24
  246. package/dist/assets/ZeniAccountRoutes-ZzewLkL8.js +58 -0
  247. package/dist/assets/{ZeniAccountSetupPage-TKBfbgzJ-PLHUlE4Q.js → ZeniAccountSetupPage-CvnIMdcY-BIOUi-Do.js} +4 -4
  248. package/dist/assets/ZeniAccountStatementScreen-8454IT-f.js +9 -0
  249. package/dist/assets/{ZeniAvatar-Bzhq25CU-DDubJB3t.js → ZeniAvatar-CwHVUcMc-BJ8AyUay.js} +3 -3
  250. package/dist/assets/{ZeniCopyright-DglqrTpl-0ipdHCKB.js → ZeniCopyright-BlLvlGZV-PtfyMNGF.js} +1 -1
  251. package/dist/assets/{ZeniDatePicker-BHXPxPnI-jqtqgUDK.js → ZeniDatePicker-DCurorsW-jSixMxUp.js} +5 -5
  252. package/dist/assets/ZeniTransferAmountSlider-BNYgPwHs-BLgZWrKb.js +63 -0
  253. package/dist/assets/{accountMappingHelper-dpnZZ5LV.js → accountMappingHelper-S5pr6xme.js} +1 -1
  254. package/dist/assets/{add-to-wallet-DgdBD8_G-Bm_Y0yNs.js → add-to-wallet-DgdBD8_G-BxcaFQ_E.js} +1 -1
  255. package/dist/assets/{analytics-CkXlMwul.js → analytics-BZz0SPy3.js} +1 -1
  256. package/dist/assets/{analyticsHelper-CgnSazAa.js → analyticsHelper-CRAJfei1.js} +1 -1
  257. package/dist/assets/{analyticsHelper-CAYdbjhS-CriW5LYb.js → analyticsHelper-CYr5V2MV-D47W16kx.js} +1 -1
  258. package/dist/assets/{arrow-south-east-round-PEovUgvH-BOEOiatb.js → arrow-south-east-round-PEovUgvH-CyfpwaWH.js} +1 -1
  259. package/dist/assets/{auto-transfer-rule-mbafm5D3-TAKOnqtH.js → auto-transfer-rule-mbafm5D3-Dm3PoOP-.js} +1 -1
  260. package/dist/assets/{avatar-Dz7aEm3d-Gywr7K0t.js → avatar-Dz7aEm3d-B59e782o.js} +1 -1
  261. package/dist/assets/{calculateSize-B2w5JPEU-mwJnN95U.js → calculateSize-Bn1NnCzV-CbPGQ475.js} +1 -1
  262. package/dist/assets/{chartTypes-CD3vrBsI-CvW9Chyr.js → chartTypes-40RenddT-C7uxWjgM.js} +1 -1
  263. package/dist/assets/{clock-CJkylEKt-COoJTe6x.js → clock-CJkylEKt-DGRbc2He.js} +1 -1
  264. package/dist/assets/common-DEB71I4X-BRhAN_mv.js +1 -0
  265. package/dist/assets/commonDimensions-BMnB1-xU-CcNkFk9x.js +1 -0
  266. package/dist/assets/{commonTypes-5tEXwrX4-DyDjh_w6.js → commonTypes-DsWS6Ccc-DgEYQkuk.js} +1 -1
  267. package/dist/assets/{core-C_Me9Mw3.js → core-BSWMBnrJ.js} +38 -3
  268. package/dist/assets/{dash.all.min-Bp2m9Ydo.js → dash.all.min-ByV77lf8.js} +1 -1
  269. package/dist/assets/{decodeURIComponentSafe-ZgCb2Iy4.js → decodeURIComponentSafe-B2RLRrdt.js} +1 -1
  270. package/dist/assets/detailCommon-CrcyqWtZ-s9USgEEF.js +38 -0
  271. package/dist/assets/{dnd-BRZ99wCN.js → dnd-DJrh3JTW.js} +1 -1
  272. package/dist/assets/{dollar-round-D18u7nlm-B1-gS13v.js → dollar-round-D18u7nlm-qWQy8tOr.js} +1 -1
  273. package/dist/assets/downloadPdf-CUUx8PWn-Z4ddkC82.js +1 -0
  274. package/dist/assets/{empty-DHCuSR9N.js → empty-BcmJSfoQ.js} +1 -1
  275. package/dist/assets/{index-3k8vVfR8.js → empty-Ink6PjPr.js} +1 -1
  276. package/dist/assets/epic-C8YaW2BC.js +2 -0
  277. package/dist/assets/{filter-cZIFUNvj-D8Km46fj.js → filter-cZIFUNvj-CBGTjKNF.js} +1 -1
  278. package/dist/assets/getLocaleForTenant-CeTv0_64.js +1 -0
  279. package/dist/assets/{gift-box-Cmt9OgIZ-Caqrj8S3.js → gift-box-Cmt9OgIZ-Dw9Bntj7.js} +1 -1
  280. package/dist/assets/{graphic-no-data-l-DU4J8fDt-DcLpxdkP.js → graphic-no-data-l-DU4J8fDt-hCWvJzzH.js} +1 -1
  281. package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-CHRRaCEh.js → graphic-no-data-net-burn-l-CzmycA0m-DLhWQ7Y3.js} +1 -1
  282. package/dist/assets/{handshake-BPg58FML-CZMITs4k.js → handshake-BPg58FML-DcpKXQqd.js} +1 -1
  283. package/dist/assets/{helper-Ckm10Uko-B3ENCgge.js → helper-BMiMbXMj-BqD7TDgt.js} +2 -2
  284. package/dist/assets/{hyperlink-DQyCeXx2-gaj5d9Ss.js → hyperlink-DQyCeXx2-DgnccV5_.js} +1 -1
  285. package/dist/assets/{index-CUMBQ0kS.js → index-4TmfhDJk.js} +8 -2
  286. package/dist/assets/{index-SxFZwWsO.js → index-B5VyyyEM.js} +1 -1
  287. package/dist/assets/{index-B2upy5zm.js → index-B9LViB8R.js} +1 -1
  288. package/dist/assets/index-ByhS5XEB.js +1 -0
  289. package/dist/assets/index-De4FUH-D.js +1 -0
  290. package/dist/assets/{index-C-nTPjDF.js → index-T6cemxxv.js} +4300 -4238
  291. package/dist/assets/{lexical-itr5JGCy.js → lexical-CdVAcKo7.js} +1 -1
  292. package/dist/assets/{liveblocks-WO1k1bbB.js → liveblocks--WiFaeN0.js} +8 -3
  293. package/dist/assets/{lottie-DyM2Y4mu.js → lottie-DOxhyevU.js} +1 -1
  294. package/dist/assets/mapLoadingInProgressToTreeNode-DGnyXKBT-5SZShw59.js +1 -0
  295. package/dist/assets/{mapSectionWithAcOnlyToTreeNode-Cgyt68f3-DDmSwPfi.js → mapSectionWithAcOnlyToTreeNode-BkPRWtaj-8acLvja0.js} +1 -1
  296. package/dist/assets/mapSpacerToTreeNode-CvGdU9Ma-BRhv3XRJ.js +1 -0
  297. package/dist/assets/mapTimeframeBalancesToTreeNode-BCOsOvxo-BW4YLdJu.js +1 -0
  298. package/dist/assets/mapTimeframeBalancesToTreeNode-DIqYP3NK-BuwKfIYt.js +1 -0
  299. package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-Ch2rvcz4-u2sPQG8-.js +1 -0
  300. package/dist/assets/{media-player-CF7xBLjT.js → media-player-2gWGctcr.js} +2 -2
  301. package/dist/assets/{money-2cg1MuG4-G-AmTEM-.js → money-2cg1MuG4-ZZWEE1BS.js} +1 -1
  302. package/dist/assets/{mui-BOwjqiG-.js → mui-GaW5Gk_e.js} +1 -1
  303. package/dist/assets/{page-detail-CWX5S47F-apfmAYex.js → page-detail-CWX5S47F-KCA2hl3j.js} +1 -1
  304. package/dist/assets/{page-summary-D7_VQHwN-BnBlbKgB.js → page-summary-D7_VQHwN-C4mva4td.js} +1 -1
  305. package/dist/assets/panelSelectedMixin-CzfD5-Zs-DWsrfnbc.js +4 -0
  306. package/dist/assets/{pathToGoBack-HOzfv7dJ.js → pathToGoBack-C0wXThmF.js} +1 -1
  307. package/dist/assets/{pdf-BrZAvZ1o.js → pdf-DWoGjGSw.js} +4 -4
  308. package/dist/assets/{pdf-lib-i0Zp6hBX.js → pdf-lib-CU3tv6Hj.js} +1 -1
  309. package/dist/assets/{plaid-CyY87P8r.js → plaid-CNcdZ4gc.js} +1 -1
  310. package/dist/assets/{pusher-BNpOKQkJ.js → pusher-_Mkhq734.js} +1 -1
  311. package/dist/assets/{radio-default-CiSgisfh-Ca1mizvg.js → radio-default-CiSgisfh-CkW2sMb1.js} +1 -1
  312. package/dist/assets/react-BO8sqwy5.js +37 -0
  313. package/dist/assets/{react-BX_gWWIU.js → react-C4isuCpp.js} +12 -2
  314. package/dist/assets/{react-DhXnYBTa.js → react-CKfk9tDS.js} +12 -2
  315. package/dist/assets/{react-Duxg__b3.js → react-CNYdj_E0.js} +12 -2
  316. package/dist/assets/{react-CCEU-gQt.js → react-COkkiwUG.js} +12 -2
  317. package/dist/assets/{react-D2mjxCly.js → react-CgpHxMDb.js} +12 -2
  318. package/dist/assets/{react-l1PGvjrb.js → react-DnPZ1Xhy.js} +13 -3
  319. package/dist/assets/{react-BGvBjcei.js → react-XuqF4K_l.js} +12 -2
  320. package/dist/assets/{recharts-B22vzlMp.js → recharts-BQ8VH5gX.js} +1 -1
  321. package/dist/assets/{routePaths-DWpG5fXY.js → routePaths-BCoYK2N6.js} +1 -1
  322. package/dist/assets/{sentry-Dd2vHz0L.js → sentry-BoIfGJBF.js} +1 -1
  323. package/dist/assets/{shield-DOlUxcFf-CgU6m3s0.js → shield-DOlUxcFf-C_2cYUuc.js} +1 -1
  324. package/dist/assets/{spend-limit-D6SyboD4-vqGyghnL.js → spend-limit-D6SyboD4-D6KSyTVe.js} +1 -1
  325. package/dist/assets/toCOABalancesWithID-DkMGvlEt-R8kfnDme.js +1 -0
  326. package/dist/assets/toChartData-C6s-eBzE-hyCfo1sK.js +1 -0
  327. package/dist/assets/{transaction-placeholder-CpOwZAMG-DdciVPZG.js → transaction-placeholder-CpOwZAMG-DpSw-x8s.js} +1 -1
  328. package/dist/assets/{undo-b_3XZ5CX-DR3nJT2M.js → undo-b_3XZ5CX-CsWxipxr.js} +1 -1
  329. package/dist/assets/{unlock-BPWn2I5L-1yegyXps.js → unlock-BPWn2I5L-C7FVhrTq.js} +1 -1
  330. package/dist/assets/{uploadAttachment-Ck4wivBR-Cq_QQznk.js → uploadAttachment-BlLqRIXe-CWI7Q5hT.js} +29 -29
  331. package/dist/assets/{uploadReceipts-CIgkuVpu-CvG-u27y.js → uploadReceipts-Dge0cNF1-CQe0GGy5.js} +1 -1
  332. package/dist/assets/{url-BDW7KPoG.js → url-BGCwBSI6.js} +1 -1
  333. package/dist/assets/{url-DB9sjAVf.js → url-uuiUYH_k.js} +1 -1
  334. package/dist/assets/{useDeviceId-sqx37YoD.js → useDeviceId-0-eUuQR6.js} +1 -1
  335. package/dist/assets/useInitialThreadRequest-c5K33_u9.js +1 -0
  336. package/dist/assets/{useLongPress-GCK2COYQ-C_AhMW7V.js → useLongPress-GCK2COYQ-CkGyzLnK.js} +1 -1
  337. package/dist/assets/{usp-line-BBd1wKwW-iHFFix1h.js → usp-line-BBd1wKwW-BDy8G8EG.js} +1 -1
  338. package/dist/assets/{utils-CInzYuJw.js → utils-BGRwbgi2.js} +20 -7
  339. package/dist/assets/withTransactionSidePanel-BYXSUWst.js +8 -0
  340. package/dist/assets/zeni-epic-state-BtVcBgvu.js +122 -0
  341. package/dist/assets/{zeni-icon-only--k3HSUel.js → zeni-icon-only-BOcJS42c.js} +1 -1
  342. package/dist/index.html +1 -1
  343. package/dist/service-worker.js +8 -16
  344. package/package.json +4 -4
  345. package/dist/assets/AccountInfoPage-Cd5xYT1g-Ai_0FLE3.js +0 -18
  346. package/dist/assets/AccountInfoPageContent-CJ7ycVIK-DkOvC174.js +0 -149
  347. package/dist/assets/AccountRow-D1cjRJJD-BMyrgPuA.js +0 -298
  348. package/dist/assets/AddAddressForCardDrawer-DZkBMJfp-DcB1j4vY.js +0 -6
  349. package/dist/assets/AddressRoutes-BtKujLBV.js +0 -1
  350. package/dist/assets/AddressScreen-C2pdVITK.js +0 -9
  351. package/dist/assets/AgingReportsPage-xBFff3BM-qv6H7lp3.js +0 -79
  352. package/dist/assets/AiCfoScreen-CS7LOF-g.js +0 -11
  353. package/dist/assets/AllUserItems-BJf6WPDo-BM8-bXR0.js +0 -192
  354. package/dist/assets/ApAgingDetailPage-CjBrPyi8-Cp4IdB_e.js +0 -46
  355. package/dist/assets/AppDrawerContent-CVVWj66i-B2ZBo3py.js +0 -92
  356. package/dist/assets/ApprovalRulesSettingsPage-Cckd2uVA-Dpozweq8.js +0 -47
  357. package/dist/assets/ArAgingChart-CBsqOd-4-B5F9H9K-.js +0 -24
  358. package/dist/assets/ArAgingDetailPage-i7JObt60-Fc_EOjuD.js +0 -46
  359. package/dist/assets/BalancesInsightWithToolTip-B6umvmgL-DfnZIkVc.js +0 -38
  360. package/dist/assets/BankAccountWarningSection-Cled-2cR-Cw7HtoK0.js +0 -51
  361. package/dist/assets/BillDetailPage-XXOwBfO1-CJELKaQK.js +0 -266
  362. package/dist/assets/BillPayApprovalRuleDetailPage-DFZ0csaT-B4s_RfTN.js +0 -27
  363. package/dist/assets/BillPaySetUpPage-BCJbZDsV-DcKA47B8.js +0 -42
  364. package/dist/assets/BusinessVerificationPage-DSuJFoW1-CS7pQP2Z.js +0 -138
  365. package/dist/assets/BusinessVerificationPageScreen-B2ubg6bo.js +0 -9
  366. package/dist/assets/BusyIndication-9zDqSKBP-ChOc_zhb.js +0 -9
  367. package/dist/assets/ChargeCardListTable-YznzSsJo-CtUoYDrk.js +0 -711
  368. package/dist/assets/ChargeCardPromoPage-DIfakIOK-DfvCk3tp.js +0 -222
  369. package/dist/assets/ChargeCardSetupPage-0bpVkeJs-Df1sOrZm.js +0 -36
  370. package/dist/assets/CheckDepositDrawerPage-BS7hnyZn-B2ArvDGb.js +0 -206
  371. package/dist/assets/CollapsableReportTable-DNfFkAts-Dc4f25sP.js +0 -2982
  372. package/dist/assets/CompanyPassportCard-CkzYFTrp-v_Yi1D3S.js +0 -42
  373. package/dist/assets/ConfettiBurst-BZCXEGYA-C3NYdom7.js +0 -1
  374. package/dist/assets/ConnectionAuthScreen-BJLM2bFw.js +0 -11
  375. package/dist/assets/CurrencySelectField-BAh7SHrG-ZI7IxMyb.js +0 -139
  376. package/dist/assets/CustomerOnboardingAuthScreen-BvfQ6Bly.js +0 -1
  377. package/dist/assets/CustomerOnboardingContainerPage-CWAtSu08-mCuydIQY.js +0 -1
  378. package/dist/assets/CustomerOnboardingNoStepsPage-Bh_F0-oC-3DxoMDqE.js +0 -66
  379. package/dist/assets/CustomerOnboardingRoutes-DXDqjA2k.js +0 -23
  380. package/dist/assets/DashboardRoutes-DN0OxjOX.js +0 -21
  381. package/dist/assets/DashboardSidebarBackgroundAnimation-BtA5oEGG-Xyr-RGrR.js +0 -12
  382. package/dist/assets/DepositAccTransactionItem-CyFi1P_L-BTaaJjC4.js +0 -76
  383. package/dist/assets/DepositAccTransactionListPage-DvBRRUdZ-3p6ZbDz1.js +0 -66
  384. package/dist/assets/DomesticWireDetailScreen-BwhlL4tC.js +0 -18
  385. package/dist/assets/DomesticWireDetailsPage-DCDo3aHI-CMQw3On6.js +0 -21
  386. package/dist/assets/DownloadOverlay-D_lL1sPW-CZPsN-JO.js +0 -439
  387. package/dist/assets/DrawerScreen-DafCGXWd.js +0 -1
  388. package/dist/assets/EditPeoplePage-QvPy_Six-CR3o2wGZ.js +0 -55
  389. package/dist/assets/EditReimbursementDetailPage-C0ZDkboO-jLfpxCgG.js +0 -865
  390. package/dist/assets/EntityDetailPage-l7nXIsyF-BKeztON8.js +0 -18
  391. package/dist/assets/EntityDetailRoutes-BON-ncUX.js +0 -1
  392. package/dist/assets/ExpenseAutomationPage-DA22Qofw-I7XV9QD1.js +0 -3614
  393. package/dist/assets/ExpenseAutomationRoutes-CveEotWX.js +0 -20
  394. package/dist/assets/FeaturePreviewScreen-DQcCElpb.js +0 -1
  395. package/dist/assets/GlobalReviewListPage-D5_ACa-q-D1KBOMbn.js +0 -291
  396. package/dist/assets/InsightsCardStack-BsQzoVzj-hf0eh54W.js +0 -79
  397. package/dist/assets/InsightsSection-B6CNlTNH-CeDe9GJf.js +0 -27
  398. package/dist/assets/InternationalWireSwiftDetailsPage-VdG7bDZi-BRGKMiE5.js +0 -171
  399. package/dist/assets/InvitePeoplePage-VTM6kM1u-BfjLud0v.js +0 -12
  400. package/dist/assets/InvoiceUploadSection-it-ZYl1N-u-Ok--50.js +0 -140
  401. package/dist/assets/LabeledAddressValueField-BgWwd5Gw-DQJWYcjN.js +0 -45
  402. package/dist/assets/LabeledControlledCheckBoxField-CcPO1k23-BMfkV-71.js +0 -16
  403. package/dist/assets/LabeledDocumentField-C_bcFxdY-B4Wto7A4.js +0 -41
  404. package/dist/assets/LabeledText-C8Y7EOsX-_3NO_Gw0.js +0 -42
  405. package/dist/assets/MagicLinkACHDetailsPage-BSOlSfNu-CqwSWs_b.js +0 -1
  406. package/dist/assets/MagicLinkDomesticWireDetailsPage-D1DTPo0E-BhZpjuNN.js +0 -1
  407. package/dist/assets/MagicLinkInternationalWireDetailsPage-D_wo_2nm-BiZ2NpqK.js +0 -1
  408. package/dist/assets/MagicLinkRoutes-D2admDSA.js +0 -72
  409. package/dist/assets/MagicLinkSignInScreen-Ct1R8j_F.js +0 -12
  410. package/dist/assets/MailingDetailsSection-ByOPaJ05-B05tb0k3.js +0 -21
  411. package/dist/assets/MobileAppDrawer-C3iQUfEm.js +0 -1
  412. package/dist/assets/NavBarWithPicker-CGGEvLwe-De1uupkf.js +0 -30
  413. package/dist/assets/NavigationDots-Dvce3gHt-BdG8xiHP.js +0 -15
  414. package/dist/assets/NoDataChart-CrKeqWSr-BgjE0oDl.js +0 -26
  415. package/dist/assets/NotFoundScreen-BqSwug0q.js +0 -1
  416. package/dist/assets/NotificationRoutes-DJ7czIvh.js +0 -1
  417. package/dist/assets/NotificationsListConfig-B5pDa4cJ-FC6OqnHW.js +0 -1
  418. package/dist/assets/NotificationsPage-Ccl7Dny1-CqJX9kkt.js +0 -685
  419. package/dist/assets/OpExByVendorPage-spd-nKV4-DVRHWB5n.js +0 -100
  420. package/dist/assets/PandLWithForecastPage-TSoe4Z7F-BCBJHX7k.js +0 -123
  421. package/dist/assets/PandLWithForecastRoutes-BP0LFlHk.js +0 -1
  422. package/dist/assets/PeoplePage-b5_I0qOw-0ggO8pCY.js +0 -772
  423. package/dist/assets/PeopleRoutes-DY3VOBfU.js +0 -22
  424. package/dist/assets/PerformanceRoutes-Bbocm9pp.js +0 -1
  425. package/dist/assets/ReferralListScreen-DlI85iPs.js +0 -5
  426. package/dist/assets/ReimbursementApprovalRoutes-CxEK4FbL.js +0 -1
  427. package/dist/assets/ReimbursementDetailPage-BbyxE2uL-C9YPslYM.js +0 -314
  428. package/dist/assets/ReimbursementRoutes-j6vN9fxC.js +0 -13
  429. package/dist/assets/ReimbursementsBulkReviewDrawerPage-DnmYl0FM-BK0-Ltoq.js +0 -1
  430. package/dist/assets/ReloadCard-Bdoo0XiI-c_bctmsP.js +0 -26
  431. package/dist/assets/ReportTableViewSelector-Bc1K7mU_-NWopA-LT.js +0 -151
  432. package/dist/assets/ReportsPage-BOTHMLWh-DzPOeISi.js +0 -269
  433. package/dist/assets/ReportsRoutes-uLdNywov.js +0 -1
  434. package/dist/assets/ReviewDetailsPage-BIMg1n2e-paoxwJM_.js +0 -290
  435. package/dist/assets/RewardsRoutes-DGFLjNEy.js +0 -1
  436. package/dist/assets/RoleWithToolTip-Ct3_VuDM-mN0zapH2.js +0 -22
  437. package/dist/assets/ScheduleDetailsPage-5FWpLRtd-4Q1Vsr07.js +0 -37
  438. package/dist/assets/ScheduleSequenceTable-R3-PsXES-B0y3giRJ.js +0 -326
  439. package/dist/assets/ScreenRoutes-DEwLetNK.js +0 -2
  440. package/dist/assets/SignInScreen-DeVXckwv.js +0 -1
  441. package/dist/assets/SignOutScreen-Cdtz7yJy.js +0 -9
  442. package/dist/assets/SpendManagementListViewPage-CFUxCqkU-DX09eRyT.js +0 -134
  443. package/dist/assets/SpendManagementPerTabPage-C-kqNTci-D-FlbY8m.js +0 -754
  444. package/dist/assets/SpendManagementSection-CIz4nE_w-jzb-dw8b.js +0 -375
  445. package/dist/assets/StatementItem-vVtoBN2w-DLRHPtma.js +0 -31
  446. package/dist/assets/StatementsPage-As5WOnMR-DbPIrOc7.js +0 -58
  447. package/dist/assets/SuccessAnimation-hijccO_0-BqkqT4v4.js +0 -13
  448. package/dist/assets/TaskListScreen-C4D7gvsM.js +0 -9
  449. package/dist/assets/TaskManagementPage-BJwp32Ph-THnLzgmA.js +0 -1067
  450. package/dist/assets/TaskRoutes-JhaoisDP.js +0 -9
  451. package/dist/assets/TimeRangeSwitcher-D00bDDhP-DCNS2OFM.js +0 -64
  452. package/dist/assets/TimeframeSwitcher-DA99HdHt-BcrVnS01.js +0 -31
  453. package/dist/assets/TimeframeSwitcherWithToggle-DyggDIQj-Bh7uACpy.js +0 -53
  454. package/dist/assets/TransactionDetailPage-1-mLOWSz-DfnCUdxX.js +0 -903
  455. package/dist/assets/TransactionDetailRoutes-Q2XWLHIy.js +0 -1
  456. package/dist/assets/TransactionList-BB-xoIGm-BSpWh9dC.js +0 -153
  457. package/dist/assets/TransactionListPage-Cj7h1Ros-Pq-a-5tQ.js +0 -35
  458. package/dist/assets/TreasuryOverviewPage-DwvjMR4_-WTn3yo79.js +0 -725
  459. package/dist/assets/TreasuryRoutes-BSNm8ukU.js +0 -45
  460. package/dist/assets/TreasuryTaxLetterPage-D8hzCL5o-CFbhhHa6.js +0 -58
  461. package/dist/assets/TrendWithTransactions-3D1FvM8G-BaOlWQi6.js +0 -116
  462. package/dist/assets/UploadAdditionalDocumentOverlay-Wl4Spdpn-SaNef-9h.js +0 -38
  463. package/dist/assets/Vendor2FAPopup-D0zYKkIv-C8gaYTWa.js +0 -1
  464. package/dist/assets/VendorACHDetailsPage-YYX9aQdw-DiTm9Ff5.js +0 -1
  465. package/dist/assets/VendorDetailPage-Br9wIOnI-UzHXbr7R.js +0 -257
  466. package/dist/assets/VendorDomesticWireDetailsPage-BpPgQRHI-cmrtzlCJ.js +0 -1
  467. package/dist/assets/VendorFirstReviewPage-BbknTCBD-CFkeR-vJ.js +0 -730
  468. package/dist/assets/VendorInternationalWireSwiftDetailsPage-yhTjWXvw-B29B7nyw.js +0 -1
  469. package/dist/assets/VerifyDevice-Dvf0JsNN-BoMtboD9.js +0 -112
  470. package/dist/assets/VideoPlayer-VAzOGCDL-DK8XBhcD.js +0 -77
  471. package/dist/assets/WiseConfirmationScreen-CQr6ZXBs.js +0 -12
  472. package/dist/assets/ZeniAccountDetailPage-GcwTJdB8-jRcxdfCk.js +0 -300
  473. package/dist/assets/ZeniAccountListViewPage-CdwO0Duy-B_Bfz13h.js +0 -443
  474. package/dist/assets/ZeniAccountNavBarPieces-BrSIfL36-DX590vcc.js +0 -33
  475. package/dist/assets/ZeniAccountRoutes-ChcgZrUL.js +0 -58
  476. package/dist/assets/ZeniAccountStatementScreen-CnphzAy3.js +0 -9
  477. package/dist/assets/ZeniTransferAmountSlider-BcaZZuAw-SPoOR9Qx.js +0 -63
  478. package/dist/assets/bank-letter-BOcVjN6J-Dkoy6rTp.js +0 -1
  479. package/dist/assets/common-BpxEACHl-HdN5Sbj2.js +0 -1
  480. package/dist/assets/commonDimensions-Oz1tdAcx-DG9eYXSN.js +0 -1
  481. package/dist/assets/downloadPdf-Dsuxeias-CaRLShge.js +0 -1
  482. package/dist/assets/empty-DHQ-fT1Z.js +0 -1
  483. package/dist/assets/epic-Bvkh2Xun.js +0 -2
  484. package/dist/assets/getLocaleForTenant-DSHteTEt.js +0 -1
  485. package/dist/assets/index-BuqfI2Vr.js +0 -1
  486. package/dist/assets/mapLoadingInProgressToTreeNode-jcHEi-mv-bVioMH0m.js +0 -1
  487. package/dist/assets/mapSpacerToTreeNode-XgUp1xUb-COcUQ0p-.js +0 -1
  488. package/dist/assets/mapTimeframeBalancesToTreeNode-Bre8FfBF-9SqRPSs3.js +0 -1
  489. package/dist/assets/mapTimeframeBalancesToTreeNode-DOyCX6ij-5ej1SpjB.js +0 -1
  490. package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-D2IvFyR5-8hGqXIxp.js +0 -1
  491. package/dist/assets/panelSelectedMixin-Cddsb26L-Cvi1pi7-.js +0 -3
  492. package/dist/assets/react-C4vvP0Jv.js +0 -19
  493. package/dist/assets/toCOABalancesWithID-aLNB35t7-CE6_d7nv.js +0 -1
  494. package/dist/assets/toChartData-DUL6vnzJ-CEwEqfdb.js +0 -1
  495. package/dist/assets/upload-reimbursement-receipt-O2N8vcO7-C8EH3odl.js +0 -1
  496. package/dist/assets/useInitialThreadRequest-BVrIa_dM.js +0 -1
  497. package/dist/assets/withTransactionSidePanel-hI4VijtT.js +0 -8
  498. package/dist/assets/zeni-epic-state-ChDcaYf9.js +0 -14
@@ -0,0 +1,20 @@
1
+ import{j as p}from"./pdf-DWoGjGSw.js";import Lt from"./NotFoundScreen-LuCzwVbP.js";import{a as m}from"./sentry-BoIfGJBF.js";import{n as Se,D as nt,S as Ve}from"./mui-GaW5Gk_e.js";import{i as de,j as at,h as xe,u as A,l as Ye,k as zt,R as Ot,m as ve}from"./core-BSWMBnrJ.js";import{cs as Me,ML as $t,cI as le,cX as Gt,mt as qt,MM as Ae,MN as ot,km as Nt,MO as st,jU as Yt,l_ as Jt,MP as Ht,gW as Zt,MQ as Kt,BE as Wt,cE as De,lG as ct,Iv as Je,Ix as Xt,gN as Qt,Iy as en,gU as tn,bT as nn,pr as Re,Hm as an,gV as on,cG as sn,j$ as it,kr as ge,cH as rt,kq as He,jZ as te,kt as lt,kv as cn,bG as rn,ih as ln,id as dn,ku as pe,ks as re,MR as un,kL as Ze,xi as dt,MS as ut,os as mt,h9 as mn,MT as hn,MU as pn,MV as gn,MW as Sn,k7 as Cn,MX as In,MY as fn,MZ as kn,kB as yn,gY as En,gP as vn,M_ as Tn,gX as Ke,IF as wn,M$ as bn,N0 as Pn,lC as xn,le as An,ld as Te,N1 as Dn,N2 as Rn,Hn as we,N3 as Fn,iu as _n,bs as Vn,io as We,i8 as Mn,N4 as Un,ef as Xe,dt as jn,ik as Bn,rk as Ln,N5 as zn,l0 as On,Ho as $n,kX as Gn,k$ as qn,kM as Nn,N6 as Yn,kf as Jn,k2 as Hn,cY as Qe,kw as Zn,N7 as Kn,N8 as Wn,N9 as Xn,Na as Qn}from"./zeni-epic-state-BtVcBgvu.js";import{aE as Fe,aG as _e,jl as R,jA as J,jR as ht,l_ as ea,y as pt,je as Ce,l$ as ta,kg as gt,jC as St,m0 as na,m1 as aa,a7 as be,w as oa,t as sa,aF as ca,b as ia,O as ra,m2 as la}from"./index-T6cemxxv.js";import{c as et,C as da}from"./TransactionDetailScreen-Bl43zCpG.js";import{w as ua}from"./withTransactionSidePanel-BYXSUWst.js";import{h as ma,v as ha}from"./routePaths-BCoYK2N6.js";import{g as Pe}from"./accountMappingHelper-S5pr6xme.js";import{D as pa}from"./DrawerScreen-CTG5ybiX.js";import"./lottie-DOxhyevU.js";import"./liveblocks--WiFaeN0.js";import"./recharts-BQ8VH5gX.js";import"./dnd-DJrh3JTW.js";import"./analytics-BZz0SPy3.js";import"./plaid-CNcdZ4gc.js";import"./utils-BGRwbgi2.js";import"./decodeURIComponentSafe-B2RLRrdt.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},c=new t.Error().stack;c&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[c]="d6574dee-8f2a-4fd0-9805-ad9b46fada49",t._sentryDebugIdIdentifier="sentry-dbid-d6574dee-8f2a-4fd0-9805-ad9b46fada49")}catch{}})();const ga=()=>{const t=de(),c=at(),f=xe(),C=A(d=>Me(d)),{useFeatureGate:P}=Fe(),{isFeatureEnabled:r}=P(_e.isRealtimeInsightsFeatureEnabled),k=A(d=>d.expenseAutomationViewState.selectedPeriodByTenantId),a=A(d=>$t(d,C.tenantId)),l=m.useCallback((d,D,H=!1)=>{t(le({tenantId:D,period:{month:d.month,year:d.year},refreshViewInBackground:H}))},[]),M=m.useCallback(d=>{const D=f.state?.referrer;a.monthEndCloseChecks?.auditSummary!=null&&R.trackMonthCloseAuditPage(d.month,d.year,a.monthEndCloseChecks.reportEmailSentDate!=null?"closed":"in-review",a.monthEndCloseChecks.auditSummary.auditScorePercentage,!1,D??null),t(Gt(C.tenantId,d))},[C.tenantId,a.monthEndCloseChecks?.auditSummary,a.monthEndCloseChecks?.reportEmailSentDate]),h=k[C.tenantId],U=m.useCallback(()=>{const d=f.state?.referrer;a.monthEndCloseChecks?.auditSummary!=null&&R.trackMonthCloseAuditPage(h.month,h.year,a.monthEndCloseChecks.reportEmailSentDate!=null?"closed":"in-review",a.monthEndCloseChecks.auditSummary.auditScorePercentage,!0,d??null),l(h,C.tenantId,!0)},[l,h,C.tenantId,a.monthEndCloseChecks?.auditSummary,a.monthEndCloseChecks?.reportEmailSentDate]),x=J(f.state?.pathnameStackToGoBack,f.pathname),q=m.useCallback(()=>{if(a.monthEndCloseChecks!=null&&h!=null){const d=a.monthEndCloseChecks.monthEndCloseCheckList.find(D=>D.progress<100);if(d!=null)return void c(`./${d.id}/${h.month}-${h.year}`,{state:{pathnameStackToGoBack:x,message:"comingFromOverview"}});c(`./month_end_insights/${h.month}-${h.year}`,{state:{pathnameStackToGoBack:x,message:"comingFromOverview"}})}},[a.monthEndCloseChecks,h]),{areTenantIdsInSync:i}=ht();return m.useEffect(()=>{h!=null&&a.fetchState!=="In-Progress"&&a.fetchState!=="Completed"&&i&&l(h,C.tenantId)},[l,h,a.fetchState,C.tenantId,i]),m.useEffect(()=>{h!=null&&a.monthClosePerformanceTrendFetchStatus.fetchState!=="In-Progress"&&a.monthClosePerformanceTrendFetchStatus.fetchState!=="Completed"&&i&&t(qt(h))},[h,a.monthClosePerformanceTrendFetchStatus.fetchState,i]),m.useEffect(()=>{const d=setInterval(()=>{a.fetchState!=="In-Progress"&&a.fetchState==="Completed"&&U()},3e5);return()=>clearInterval(d)},[a.fetchState]),m.useEffect(()=>{if(a.fetchState==="Completed"&&a.monthEndCloseChecks?.auditSummary!=null){const d=f.state?.referrer;R.trackMonthCloseAuditPage(a.selectedPeriod.month,a.selectedPeriod.year,a.monthEndCloseChecks.reportEmailSentDate!=null?"closed":"in-review",a.monthEndCloseChecks.auditSummary.auditScorePercentage,!1,d??null)}},[a.fetchState,a.selectedPeriod,a.monthEndCloseChecks?.auditSummary,a.monthEndCloseChecks?.reportEmailSentDate]),p.jsx(Sa,{children:p.jsx(ea,{monthEndCloseChecksView:a,isRealtimeInsightsFeatureEnabled:r,onMonthEndCheckClick:d=>{c(`./${d}/${h.month}-${h.year}`,{state:{pathnameStackToGoBack:x,message:"comingFromOverview",referrer:"Expense Automation - Overview"}})},onPeriodChange:M,handleReviewButtonClick:q,onBackClick:()=>{c("../../dashboard")},onReload:U})})},Sa=Se.div`
2
+ display: flex;
3
+ height: 100vh;
4
+ width: 100%;
5
+ flex: 1 1 auto;
6
+ flex-direction: column;
7
+ background-color: ${t=>t.theme.colors.grey4};
8
+ `,Ca="512px",Ia=({reconciliation:t,selectedDrawerAccountId:c,onFetchLinkTokenClick:f,onEstablishConnectionClick:C})=>{const P=pt(),r=de(),k=Ce.getSignedInUser(),a=A(d=>Me(d)),l={userId:k?.userId??"",sessionId:k?.zeniSessionId??"",tenantId:a.tenantId??""},{accountReconciliationsByAccountID:M,monthYearPeriod:h,statementUploadChosen:U}=t,x=c!=null?M[c]:void 0,q=x?.accountReconEntity.statementMetaData?.statementUploadId,i=m.useCallback(()=>{c!=null&&r(Ae({selectedDrawerAccountId:void 0}))},[r,c]);return x!=null?p.jsx(nt,{anchor:"right",open:c!=null,PaperProps:{style:{width:Ca,color:P.colors.grey4}},slotProps:{backdrop:{style:{backgroundColor:"transparent",cursor:"pointer"}}},onClose:()=>i(),children:p.jsx(fa,{onClick:d=>d.stopPropagation(),children:p.jsx(ta,{accountReconciliation:x,monthYearPeriod:h,onDismissClick:i,plaidConnectionDetails:t.plaidConnectionDetails,onFetchLinkTokenClick:f,onEstablishConnectionClick:C,onEditFileName:(d,D)=>{r(Jt(d,D.split(".")[0]))},onDeleteFile:d=>{q!=null&&r(Yt({accountId:c??"",selectedPeriod:h,fileId:d,statementUploadId:q}))},onSelectSourceType:d=>{c!=null&&r(st({accountId:c,selectedPeriod:h,localData:{accountSource:d}}))},filesEndPoint:`${gt.fileMicroServiceBaseUrl}`,authParams:l,openFilePicker:U,onStatementUploadSuccess:d=>{c!=null&&r(Nt({accountId:c,selectedPeriod:h,payload:d}))},onUploadWindowOpenedOnce:()=>{r(ot({statementUploadChosen:!1}))}})})}):null},fa=Se(Ve)`
9
+ display: flex;
10
+ min-height: 100%;
11
+ flex-direction: column;
12
+ `;function ka({companyId:t,closeCustomerRequestDrawer:c,addCustomerRequest:f,resetCustomerRequest:C}){const P=Ce.getSignedInUser();if(P==null)throw Error("Can't access Customer Request page without signing in...");const r=A(k=>Ht(k,t,P));return m.useEffect(()=>{C()},[]),p.jsx(p.Fragment,{children:r.fetchState==="In-Progress"||r.companyMonthEndReportTemplatesData.fetchState==="In-Progress"?p.jsx(St,{fetchState:"In-Progress"}):p.jsx(na,{onCloseClick:c,addCustomerRequest:f,snippets:r.companyMonthEndReportTemplatesData,bulletPoints:r.zeniRequestsData??[]})})}const ya=t=>p.jsx(aa,{...t}),Ea="512px",va=({selectedTransactionId:t,onClose:c})=>{const f=pt(),C=de(),P=A(l=>t==null?void 0:Zt(l.transactionState,t)),r=P?.qboId,k=A(l=>r==null?void 0:Kt(l,r));m.useEffect(()=>{r!=null&&C(Wt(r))},[C,t,r]);const a=m.useCallback(()=>{c()},[c]);return t==null||k==null?null:p.jsx(nt,{anchor:"right",open:t!=null,PaperProps:{style:{width:Ea,color:f.colors.grey4}},slotProps:{backdrop:{style:{backgroundColor:"transparent",cursor:"pointer"}}},onClose:a,children:p.jsx(Ta,{onClick:l=>l.stopPropagation(),children:p.jsx(ya,{transactionActivityLogSelectorView:k,onClose:a})})})},Ta=Se(Ve)`
13
+ display: flex;
14
+ min-height: 100%;
15
+ flex-direction: column;
16
+ `,wa=t=>t.sections.generalExpense.vendors.length+t.sections.reimbursement.vendors.length,{common:{strings:{hyphen:ba,comma:tt,space:Pa}},dateFormat:Ct}=ra.getLocalizedStrings(),xa=zt(function(t,c){const{uncategorizedAccounts:f,vendorSearchAutoCompleteData:C,monthEndInsightsCustomerRequestData:P,monthEndInsightsPreviewMode:r,companyId:k,isTransactionActivityEnabled:a}=c,l=Ce.getSignedInUser(),M=t.tenantState.currentTenantId,h={userId:l?.userId??"",sessionId:l?.zeniSessionId??"",tenantId:M??""},U=De(t),{selectedTransactionCategorizationTab:x}=U;return{expenseAutomationViewSelector:U,vendorSearchAutoCompleteData:C,authParams:h,receiptUploadEndpoint:`${gt.accountMicroServiceBaseUrl}`,isDisabled:!1,currentTab:x,monthEndInsightsCustomerRequestData:P,monthEndInsightsPreviewMode:r,allThreadsSectionOpen:!1,enableMonthEndInsightsZeniGPTFeature:!1,loggedInUser:l,uncategorizedAccounts:f,companyId:k,isTransactionActivityEnabled:a}},function(t,c){const{themeState:f,isCOTEnabled:C,isUncategorizedExpenseCategoryEnabled:P,location:r,vendorSearchAutoCompleteData:k,expenseAutomationViewSelector:a,currentTenant:l,uncategorizedAccounts:M,navigate:h,onClickCustomerRequest:U,handleEditClick:x,setActivityLogTransactionId:q}=c,{selectedPeriod:i,currentSelectedView:d,reconciliation:{selectedAccountId:D}}=a,{accountSettingsView:H}=a.jeSchedules,Z=it(i),j=ge(Z.start),F=ge(Z.end);return{onZeniLogoClick:()=>{f.toggle()},onUploadReceiptAttachment:e=>{R.trackMissingReceiptAttached(i.month,i.year),t(Qn(e))},onMissingReceiptsRowClick:(e,n)=>{if(c.openTransactionPanel)return void c.openTransactionPanel(e,n);const o=J(r.state?.pathnameStackToGoBack,r.pathname);h(`../../transaction/${n}/${e}`,{state:{pathnameStackToGoBack:o,message:"expenseAutomation",origin:"missing_receipts"}})},onUploadReceiptComplete:(e,n)=>{t(Xn(e,n)),l!=null&&t(le({tenantId:l.tenantId,period:n,refreshViewInBackground:!0}))},onUploadReceiptFetchStatus:(e,n,o,u)=>{t(Wn(e,{fetchState:n,error:o})),o!=null&&t(Xe({messageSection:"missing_receipts_attachment",messageText:"failed",type:"error",showStatusIcon:!0,variables:[{variableName:"__message__",variableValue:u!=null?Pa+ba+u+tt:tt}]}))},onUpdateMissingReceiptsUIState:e=>{t(Kn(e))},onFetchMissingReceiptsList:()=>{F!=null&&j!=null&&t(lt({start:j,end:F},{amount:75,currencyCode:"USD",currencySymbol:"$"},!0,!1))},onSearchTextChanged:e=>{const n=a.currentSelectedView,o=a.selectedTransactionCategorizationTab;n==="transaction_categorization"&&(t(Te({selectedTab:o,uiState:{searchString:e}})),F!=null&&j!=null&&t(re(o,{start:j,end:F},!0,!1,e,void 0,!0)))},onRefresh:()=>{c.trackExpenseAutomationTabAnalytics(!0),t(Zn(P))},onClose:()=>{d==="reconciliation"&&D!=null&&t(Qe({selectedAccountId:void 0})),h("../")},onBack:()=>{d==="reconciliation"&&D!=null&&t(Qe({selectedAccountId:void 0}))},onSaveReconciliation:e=>{t(Hn(e))},onSaveReconciliationReview:e=>{t(Jn(e))},onUpdateStep:e=>{const{selectedPeriod:n}=a,o=J(r.state?.pathnameStackToGoBack,r.pathname);h(`../${e}/${n.month}-${n.year}`,{state:{pathnameStackToGoBack:o,referrer:a.currentSelectedView}}),t(rt(e))},handleLogOutClick:()=>{const e=J(r.state?.pathnameStackToGoBack,r.pathname);h("/signout",{replace:!0,state:{pathnameStackToGoBack:e,message:"logout"}})},onJeAccountSettingsChange:e=>{const{vendorsAccountSection:n}=e,{prepaidExpensesAccount:o,fixedAssetsAccount:u,accruedExpensesAccount:S}=n,g=Pe(H.prepaidExpensesAccountList,o.selectedOptions),I=Pe(H.fixedAssetsAccountList,u.selectedOptions),y=Pe(H.accruedExpensesAccountList,S.selectedOptions),B={selectedPrepaidExpensesAccountIds:g.map(v=>v.accountId),selectedFixedAssetsAccountIds:I.map(v=>v.accountId),selectedAccruedExpensesAccountIds:y.map(v=>v.accountId)};t(Yn({data:B}))},onSaveJeAccountSettingsClick:()=>{t(Nn())},onJESchedulesFormDataChange(e,n){const{jeScheduleID:o,accumulatedDepreciationCategory:u,scheduleClass:S,scheduleExpenseCategory:g,vendor:I}=n,{allAccountList:y,allClassList:B,allDepreciationAccountList:v}=a.jeSchedules,K=k.entityAutoCompleteView.vendor.length>0?k.entityAutoCompleteView.vendor.find(L=>L.id===I?.selectedOption):void 0,ne={id:K?.zeniId??I?.selectedOption??"",name:K?.name??I?.defaultOptions.find(L=>L.value===I?.selectedOption)?.label??"",logo:K?.logo},Ie=g?.selectedOption!=null?y.find(L=>L.qboId===g.selectedOption):void 0,fe=S?.selectedOption!=null?B.find(L=>L.classId===S.selectedOption):void 0,N=u?.selectedOption!=null?v.find(L=>L.qboId===u.selectedOption):void 0;t(qn({scheduledJournalEntryID:e,localData:{jeScheduleID:o,scheduledJournalEntryID:e,updatedCategoryId:Ie?.accountId,updatedClassId:fe?.classId,updatedAccumulatedDepreciationCategoryID:N?.accountId,updatedVendor:{id:ne.id,name:ne.name}}}))},ignoreRecommendedJeSchedule(e,n){t(Gn(e,n))},vendorSearchAutoCompleteActions:{onAutoCompleteInputChange:(e,n)=>{e.trim().length>=2?t($n({searchString:e,entityType:n,searchOrigin:"common"})):e.trim().length===0&&t(we("common"))},onCancelAutoComplete:()=>{t(we("common"))}},onPostJESchedule(e,n){t(On({scheduledJournalEntryID:e,jeScheduleTransactionKey:n}))},clearJeScheduleLocalData(){t(zn())},handleJeScheduleClick:(e,n,o)=>{t(Ln({selectedJEScheduleKey:n}));const u=J(r.state?.pathnameStackToGoBack,r.pathname);h(`../../vendors/schedules/${o}/details/${e}`,{state:{pathnameStackToGoBack:u,message:"expenseAutomation",origin:"je_schedules"}})},improveMonthEndInsightsUsingZeniGPTClick:e=>{l!=null&&t(Bn(e,l.companyId,l.tenantId))},onClickCustomerRequest:U,setActivityLogTransactionId:q,onCloseAllThreadsSection:()=>{},onCloseFileAttachmentSnackBar:()=>{t(jn())},onOpenFileAttachmentSnackBar:()=>{t(Xe({messageSection:"cockpit_month_end_email_attachment_upload",messageText:"failed",type:"error",showStatusIcon:!0}))},onRemoveFileAttachment:e=>{t(Un(e))},onUpdateFileAttachment:e=>{t(Mn({files:e}))},previewMonthEndReport:(e,n,o,u)=>{l!=null&&t(We(e,l.companyId,n,!0,o,u,l.tenantId))},saveMonthEndReport:(e,n,o,u)=>{l!=null&&t(We(e,l.companyId,n,!1,o,u,l.tenantId))},onEditMonthEndInsightsClick:x,sendMonthEndReport:e=>{const n=r.state?.referrer,{selectedPeriod:o,auditSummary:u}=a;l!=null&&u?.auditScorePercentage!=null&&(t(_n(l.companyId,e,l.tenantId)),R.trackInsightsEmailPage(o.month,o.year,!1,"draft",u.auditScorePercentage,Vn().format(Ct.analytics.MMMDDCommaYYYYformat),n??null))},onTransactionCategorizationRowClick:(e,n)=>{if(c.openTransactionPanel)return void c.openTransactionPanel(e,n);const o=J(r.state?.pathnameStackToGoBack,r.pathname);h(`../../transaction/${n}/${e}`,{state:{pathnameStackToGoBack:o,message:"expenseAutomation",origin:"transaction_categorization"}})},setLocalDataForCategoryAndClass:(e,n,o,u,S,g,I,y,B,v,K)=>{t(Fn(e,n,o,u,M,S,g,I,y,B,v,K))},onCancelAutoComplete:()=>{t(we("common"))},updateExpenseAutomationReconListScrollPosition:e=>{t(Rn({scrollPosition:e}))},onUpdateTab:e=>{c.closeSidePanel?.(),F!=null&&j!=null&&(t(re(e,{start:j,end:F},!1,!1)),t(Dn(e)))},onUpdateTransactionCategorizationUIState:(e,n)=>{t(Te({selectedTab:e,uiState:n})),F!=null&&j!=null&&t(re(e,{start:j,end:F},!1,!1,n.searchString,null,!0))},onUpdateScrollYOffSetTransactionCategorizationUIState:(e,n)=>{t(Te({selectedTab:e,uiState:n}))},onFetchTransactionCategorizationList:(e,n,o,u,S,g,I)=>{F!=null&&j!=null&&t(re(e,{start:j,end:F},!0,o,n,u,S,g,I))},resetTransactionCategorizationLocalData:(e,n,o,u,S,g,I,y)=>{t(An(e,n,o,u,y??null,S,g,!1,I))},updateSelectedVendorForTransaction:(e,n,o,u,S)=>{t(Ke({selectedTab:e,transactionId:n,lineId:o,selectedTransaction:u,uncategorizedAccounts:M,updatedVendor:S}))},onSaveUpdateTransactionCategorization:(e,n,o)=>{const u=r.state?.referrer;e==="autoCategorized"?R.trackTransactionsAutoCategorisedPage(i.month,i.year,a.transactionView.totalCountByTab.autoCategorized,n.length,!1,u??null):R.trackTransactionsReviewPage(i.month,i.year,a.transactionView.totalCountByTab.review,n.length,!1,u??null),t(xn(e,n,o,P))},onUpdateSelectedCheckboxTransactionIds:(e,n)=>{t(Pn({selectedTab:e,transactionIds:n}))},onFetchRecommendationsForEntityCategorizationWithCustomer:(e,n,o,u,S,g,I)=>{const{transactionId:y,transaction:B,lineIds:v}=n;g!=null&&t(wn({transactionId:y,customerUpdates:g})),t(bn({selectedTab:u,transactionId:y.id,lineId:v[0],selectedTransaction:B,uncategorizedAccounts:M,updatedCustomer:g,selectedEntity:S,isUncategorizedExpenseCategoryEnabled:I})),S!=null&&t(Re(S,e,n,o,!0,C,I))},onFetchRecommendationsForEntityCategorization:(e,n,o,u,S,g,I)=>{const{transactionId:y,transaction:B,lineIds:v}=n;g!=null&&(t(En({transactionId:y,vendorUpdates:{name:g.name,id:g.id?g.id:void 0}})),t(vn({vendorId:g.id?g.id:void 0,localData:{vendorName:g.name,vendorId:g.id?g.id:void 0}}))),g?.id?(t(Ke({selectedTab:u,transactionId:y.id,lineId:v[0],selectedTransaction:B,uncategorizedAccounts:M,updatedVendor:g,selectedEntity:S,isUncategorizedExpenseCategoryEnabled:I})),S!=null&&t(Re(S,e,n,o,!0,C,I))):t(Tn({selectedTab:u,transactionId:y.id,lineId:v[0]}))},fetchFluxViewOnScroll:(e,n)=>{t(pe(e,!0,!1,n,!1,!0))},onFetchFluxViewList:()=>{t(pe(i,!0,!1,null,!1,!1))},markAsReview:(e,n,o,u)=>{R.trackFluxAnalysisReviewed(o.month,o.year,u??!1,e),t(yn(n,e,o,u??!1))},onUpdateFluxAnalysisUIState:e=>{t(kn(e))},updateOperatingExpensesIdsForReview:e=>{t(fn({operatingExpenseIds:e,selectedPeriod:i}))},redirectToVendorDetailPage:e=>{if(c.tenantEmailDomain!=null){const n=ha(e.id,e.qboId,c.tenantEmailDomain),o=J(c.location.state?.pathnameStackToGoBack,c.location.pathname);c.navigate(n,{state:{pathnameStackToGoBack:o,message:"expenseAutomation",referrer:"Vendor List",origin:"flux_analysis"}})}},updateSectionIdsForReview:e=>{t(In({sectionId:e,selectedPeriod:i}))},onFetchReimbursementView:(e,n,o)=>{t(pe(e,!0,!1,n,!0,o))},onReviewClicked:e=>{t(te(i,e))},setOpenDrawerClicked:e=>{t(Ae({selectedDrawerAccountId:e}))},onFetchLinkTokenClick:(e,n)=>{t(mt("expense_automation_reconcile",e,n))},onEstablishConnectionClick:(e,n)=>{const o=l?.companyId;o!=null&&(t(dt(e,o,"expense_automation_reconcile",void 0,"link_account_no_microdeposit",n)),t(ut({accountId:n,connectionInProgress:!0})))},onAddStatementClick:e=>{t(Ae({selectedDrawerAccountId:e})),t(st({accountId:e,selectedPeriod:i,localData:{accountSource:"bank_statement"}})),t(ot({statementUploadChosen:!0}))},onReloadReconciliationListPage:()=>{t(te(i,void 0,!0,!1))},onUpdateReconcileTabLocalData:e=>{t(Cn({selectedTransactionIds:e}))},onReconTabColumnSortConfigChanged:(e,n)=>{t(Sn({sortKey:e,sortOrder:n}))},onReconReviewTabColumnSortConfigChanged:(e,n)=>{t(gn({sortKey:e,sortOrder:n}))},onReconTabUpdate:e=>{c.closeSidePanel?.(),t(pn({selectedTab:e}))},updateReconReviewTabLocalData:(e,n,o)=>{const u=e.vendor?.id;o&&u!=null&&t(mn(u)),t(hn({data:e,transactionId:n}))},onReconMatchedTransactionClick:e=>{if(c.openTransactionPanel)return void c.openTransactionPanel(e,ct("bill"));const n=J(r.state?.pathnameStackToGoBack,r.pathname);h(`../../transaction/bill/${e}`,{state:{pathnameStackToGoBack:n,message:"expenseAutomation",origin:"reconciliation"}})},onReloadPage:()=>{window.location.reload()}}})(la),Aa=ua(({closeSidePanel:t,openTransactionPanel:c,panelContent:f,sidePanelIsFullView:C,sidePanelIsOpen:P})=>{const r=at(),k=xe(),a=de(),{areTenantIdsInSync:l}=ht(),M=(()=>{const s=A(O=>De(O)),w=xe(),{currentSelectedViewFetchState:V,currentSelectedView:b,selectedPeriod:E}=s,ie=be(b),W=be(V.fetchState),ue=m.useCallback(O=>{const Y=w.state?.referrer;b==="transaction_categorization"&&(s.selectedTransactionCategorizationTab==="review"?R.trackTransactionsReviewPage(E.month,E.year,s.transactionView.totalCountByTab.review,0,O,Y??null):R.trackTransactionsAutoCategorisedPage(E.month,E.year,s.transactionView.totalCountByTab.autoCategorized,0,O,Y??null)),b==="missing_receipts"&&R.trackMissingReceiptsPage(E.month,E.year,O,s.missingReceipts.transactions.length,Y??null),b==="je_schedules"&&R.trackMonthCloseScheduleListPage(E.month,E.year,O,s.jeSchedules.draftSchedules.length,s.jeSchedules.resolveSchedules.length,Y??null),b==="flux_analysis"&&R.trackFluxAnalysisPage(E.month,E.year,O,wa(s.fluxAnalysis),Y??null),b==="month_end_insights"&&s.auditSummary?.auditScorePercentage!=null&&R.trackInsightsEmailPage(E.month,E.year,O,"draft",s.auditSummary.auditScorePercentage,null,Y??null)},[E,s]);return m.useEffect(()=>{W===V.fetchState&&b===ie||V.fetchState!=="Completed"||ue(!1)},[b,V.fetchState,ie]),ue})(),h=oa(),[U,x]=m.useState(!1),q=A(s=>Je(s)),i=A(s=>Me(s)),[d,D]=m.useState(!1),[H,Z]=m.useState(!1),[j,F]=m.useState([]),[e,n]=m.useState(void 0),[o,u]=m.useState(!1),S=m.useRef(!1),{selectedTab:g}=Ye(),{tenantEmailDomain:I}=Ye(),[y,B]=m.useState(k.state?.message==="comingFromTransactionDetail"),v=k.state?.message==="comingFromOverview",K=sa(),ne=Ce.getSignedInUser(),{useDynamicConfig:Ie}=Fe(),{configValue:fe}=Ie(ca.enableUncategorizedExpenseCategory),N=fe?.uncategorized_expense_category_enabled===!0,L=A(s=>an(s,"common")),_=A(s=>De(s)),{monthEndCloseChecksView:z,currentSelectedView:G,selectedPeriod:T,selectedTransactionCategorizationTab:Ue,currentSelectedViewBackgroundRefreshFetchState:It,currentSelectedViewFetchState:Q,jeSchedules:ke,reconciliation:ft}=_,{selectedAccountId:ae}=ft,je=be(ke.accountSettingsView.saveState.fetchState),kt=A(s=>on(s.accountState,s.accountListState,"accountList")),oe=g!=null?sn(g):G,yt=A(s=>s.entityAutoCompleteState.autoCompleteText.common);if(ne==null)throw Error("Can't access expense automation screen without signing in...");const Be=it(T),se=ge(Be.start),ce=ge(Be.end);if(se==null||ce==null)throw Error(`Invalid start - ${se} and end - ${ce} period from given ${T}`);const Et=m.useCallback(()=>{D(!1)},[]),vt=m.useCallback(()=>{Z(!0)},[]),Tt=m.useCallback(s=>{F(s),Z(!1)},[]),wt=m.useCallback(()=>{F([])},[]);m.useEffect(()=>{q.newVendorState?.vendorDetailLocalData?.vendorName!=null?x(!0):x(!1)},[q.newVendorState?.vendorDetailLocalData?.vendorName]),m.useEffect(()=>{oe!=null&&G!==oe&&a(rt(oe))},[oe]),m.useEffect(()=>{o!==!1||Q.fetchState!=="Completed"&&Q.fetchState!=="Error"||!l||(u(!0),a(He(!1,!1,N)))},[o,Q,l,N]),m.useEffect(()=>{!v&&l&&(a(He(!1,!1,N)),a(te(T,ae,!1,!1)))},[T.month,T.year,l,N]);const Le=m.useCallback((s=!1,w=!1)=>{const V={start:se,end:ce};switch(G){case"transaction_categorization":a(re(Ue,V,s,!y,void 0,void 0,w,void 0,N)),B(!1);break;case"flux_analysis":a(pe(T,s,w,null));break;case"month_end_insights":if(w===!1){const b=new Date(T.year,T.month,0),E=rn(b.toDateString()).format(Ct.analytics.YYYYDashMMDashDDFormat);a(ln(!0,i.companyId,i.tenantId,E)),a(dn(i.companyId,i.tenantId))}break;case"je_schedules":a(cn(V,w));break;case"missing_receipts":a(lt(V,{amount:75,currencyCode:"USD",currencySymbol:"$"},s,w));break;default:a(te(T,ae,s,w))}},[G,se,ce,i.companyId,i.tenantId,Ue,T,ae,y,B,N]);m.useEffect(()=>{G===oe&&Q.fetchState==="Not-Started"&&l&&Le(!0)},[Q,se,ce,i.companyId,i.tenantId,l]),m.useEffect(()=>{v||y||S.current||It.fetchState==="In-Progress"||Q.fetchState!=="Completed"||(S.current=!0,Le(!0,!0))},[]),m.useEffect(()=>{z.fetchState!=="In-Progress"&&z.fetchState!=="Completed"&&a(le({tenantId:i.tenantId,period:T,refreshViewInBackground:!1}))},[z.fetchState,i.tenantId]),m.useEffect(()=>{_.monthEndInsights?.previewMonthEndReportStatus?.fetchState==="Completed"?D(!0):D(!1)},[_.monthEndInsights?.previewMonthEndReportStatus?.fetchState]),m.useEffect(()=>{_.monthEndInsights?.sendMonthEndReportStatus?.fetchState==="Completed"&&l&&(a(le({tenantId:i.tenantId,period:T,refreshViewInBackground:!0})),a(un({companyId:i.companyId})),r("../"))},[_.monthEndInsights?.sendMonthEndReportStatus?.fetchState,i.tenantId,T,i.companyId,l]),m.useEffect(()=>{const s=setInterval(()=>{z.fetchState!=="In-Progress"&&z.fetchState==="Completed"&&a(le({tenantId:i.tenantId,period:T,refreshViewInBackground:!0}))},3e5);return()=>clearInterval(s)},[z.fetchState,i.tenantId,T,a]),m.useEffect(()=>{const s=setInterval(()=>{G==="reconciliation"&&ae==null&&_.reconciliation.fetchStatus.fetchState==="Completed"&&_.reconciliation.refreshStatus.fetchState!=="In-Progress"&&a(te(T,void 0,!0,!0))},3e5);return()=>clearInterval(s)},[G,a,_.reconciliation.fetchStatus.fetchState,_.reconciliation.refreshStatus.fetchState,te,ae,T]);const{useFeatureGate:ze}=Fe(),{isFeatureEnabled:Oe}=ze(_e.isRealtimeInsightsFeatureEnabled),{isFeatureEnabled:$e}=ze(_e.isTransactionActivityEnabled),bt=et();m.useEffect(()=>{const s=(z.monthEndCloseChecks?.monthEndCloseCheckList.find(w=>w.id==="month_end_insights")?.isDisabled??!1)&&!Oe;G!=="month_end_insights"||!s&&z.monthEndCloseChecks?.reportEmailSentDate==null||r("../")},[G,z.monthEndCloseChecks]);const Pt=_.reconciliation.selectedDrawerAccountId;m.useEffect(()=>{je==="In-Progress"&&ke.accountSettingsView.saveState.fetchState==="Completed"&&a(Ze())},[je,ke.accountSettingsView.saveState.fetchState,Ze]);const{transactionId:Ge,onSaveVendor:xt,onSaveSuccess:At,onCancel:Dt,vendorViewDetails:Rt}=(({expenseAutomationViewSelector:s,closeDrawerHandler:w,currentSelectedView:V})=>{const b=de();let E,ie,W;const ue=et(),O=s.transactionView;let Y=()=>{};const{transactions:Ft,selectedTransactionId:ee,selectedTransactionLineId:me,transactionLocalData:_t}=O;if(V==="transaction_categorization"){const ye=_t.find(X=>X.transactionId===ee),$=Ft.find(X=>X.id===ee),qe=me!=null?ye?.transactionReviewLocalData?.lineItemById[me]:void 0,Ne=qe?.account;ie=qe?.class?.classId,E=["Uncategorized Income","Uncategorized Expense"].includes(Ne?.accountName??"")?void 0:Ne?.accountId;const Mt=ma(ee,$?.typeOfTransaction);$!=null&&Mt&&(W={id:ee,type:ct($.typeOfTransaction)}),Y=()=>{if(ee!=null&&me!=null&&$!=null){const X=O.transactionLocalData.find(he=>he.transactionId===ee)?.transactionReviewLocalData;if(X!=null&&$.lines!=null&&$.lines.length>0){const he=X.lineItemById[me];let Ee=X.selectedEntity;if(nn($)||(Ee=he.selectedEntityLine),Ee!=null){const Ut=Ee,jt={transactionId:{id:$.id,type:$.type},transaction:$,lineIds:$.lines.map(Bt=>Bt.id)??[]};b(Re(Ut,he.amount.amount,jt,!1,!0,ue))}}}}}const Vt=A(ye=>Je(ye,void 0,E,ie));return{transactionId:W,onSaveVendor:()=>{b(tn(W,void 0,!1,!0))},onSaveSuccess:Y,onCancel:()=>{W!=null&&b(Xt({transactionId:W})),b(Qt()),b(en()),w()},vendorViewDetails:Vt}})({expenseAutomationViewSelector:_,closeDrawerHandler:()=>{x(!1)},currentSelectedView:G});return K?.loggedInUserRoleMap!=null&&z.fetchState==="Completed"?p.jsxs(p.Fragment,{children:[p.jsx(pa,{isOpen:H,drawerLeftMargin:new ia(0,0,300,650),onClose:()=>{Z(!1)},children:p.jsx(Da,{onClick:s=>s.stopPropagation(),children:p.jsx(ka,{companyId:i.companyId,closeCustomerRequestDrawer:()=>Z(!1),addCustomerRequest:Tt,resetCustomerRequest:wt})})}),Ge!=null&&U&&p.jsx(da,{isOpen:U,transactionId:Ge,onSaveVendor:xt,onSaveSuccess:At,onCancel:Dt,vendorViewDetails:Rt}),p.jsx(Ia,{selectedDrawerAccountId:Pt,reconciliation:_.reconciliation,onFetchLinkTokenClick:(s,w)=>{a(mt("expense_automation_reconcile",s,w))},onEstablishConnectionClick:(s,w)=>{const V=i?.companyId;V!=null&&(a(dt(s,V,"expense_automation_reconcile",void 0,"link_account_no_microdeposit",w)),a(ut({accountId:w,connectionInProgress:!0})))}}),$e&&p.jsx(va,{selectedTransactionId:e,onClose:()=>n(void 0)}),p.jsx(xa,{navigate:r,location:k,themeState:h,vendorSearchAutoCompleteData:{autoCompleteText:yt,entityAutoCompleteView:L},expenseAutomationViewSelector:_,monthEndInsightsPreviewMode:d,monthEndInsightsCustomerRequestData:j,isRealtimeInsightsFeatureEnabled:Oe,isUncategorizedExpenseCategoryEnabled:N,isCOTEnabled:bt,currentTenant:i,companyId:i.companyId,signedInUser:ne,isTransactionActivityEnabled:$e,uncategorizedAccounts:kt,onClickCustomerRequest:vt,handleEditClick:Et,tenantEmailDomain:I,trackExpenseAutomationTabAnalytics:M,setActivityLogTransactionId:n,closeSidePanel:t,openTransactionPanel:c,sidePanelIsOpen:P,sidePanelIsFullView:C,panelContent:f})]}):p.jsx(St,{fetchState:z.fetchState})}),Da=Se(Ve)`
17
+ display: flex;
18
+ min-height: 100%;
19
+ flex-direction: column;
20
+ `;function Wa(){return p.jsxs(Ot,{children:[p.jsx(ve,{path:"*",element:p.jsx(ga,{})}),p.jsx(ve,{path:"/:selectedTab/:selectedPeriod/*",element:p.jsx(Aa,{})}),p.jsx(ve,{path:"*",element:p.jsx(Lt,{})})]})}export{Wa as default};
@@ -1,4 +1,4 @@
1
- import{y as Be,e as K,O as q,T as Qe,a7 as ke,c8 as et,V as t,a_ as tt,A as it,a9 as nt,x as g,o as n,jm as at,jn as lt,jo as ot,cg as ze,cd as rt,ex as dt,f6 as st,f7 as ct,cf as Oe,fD as pt,jp as mt,ci as ut,cj as ht,eE as Ee,eF as Ae,eO as Le,w as ge,m as p,eP as yt,au as gt,ar as fe,f as We,H as xt,q as qe}from"./index-C-nTPjDF.js";import{a as Y}from"./sentry-Dd2vHz0L.js";import{n as d}from"./mui-BOwjqiG-.js";import{bG as _e,bs as oe,c6 as He,bX as bt,cp as ft}from"./zeni-epic-state-ChDcaYf9.js";import{Y as wt}from"./LabeledDocumentField-C_bcFxdY-B4Wto7A4.js";import{S as ie}from"./LabeledText-C8Y7EOsX-_3NO_Gw0.js";import"./pdf-BrZAvZ1o.js";import"./core-C_Me9Mw3.js";import"./lottie-DyM2Y4mu.js";import"./liveblocks-WO1k1bbB.js";import"./recharts-B22vzlMp.js";import"./dnd-BRZ99wCN.js";import"./analytics-CkXlMwul.js";import"./plaid-CyY87P8r.js";import"./utils-CInzYuJw.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},i=new e.Error().stack;i&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[i]="8d8d0cb0-97b7-4f7e-8a9e-40b491b40c74",e._sentryDebugIdIdentifier="sentry-dbid-8d8d0cb0-97b7-4f7e-8a9e-40b491b40c74")}catch{}})();const vt={progressBarWidth:new g(343,726)},St=({pageIndex:e})=>{const i=K(),x=Be(),u=q.getLocalizedStrings().spendManagement.zeniAccounts.expressPay.progressBar,h=[u.stateOne,u.stateTwo,u.stateThree];return i==="small"?t.jsxs(Ct,{children:[t.jsx(at,{coloredSectionCount:e,stretchedSection:1,totalSections:2,barColor:x.colors.brandColorJade,isFrozen:!1,topMargin:8}),t.jsx(Pt,{children:h.map((c,l)=>t.jsx(Tt,{isLast:l==h.length-1,isRelevant:l<=e,perSectionHeight:100/h.length,children:t.jsx(Me,{children:c})},l))})]}):t.jsxs(jt,{windowSize:i,children:[t.jsx(lt,{coloredSectionCount:e,totalSections:2,barColor:x.colors.brandColorJade,isFrozen:!1}),t.jsx(It,{children:h.map((c,l)=>t.jsx($t,{stateIndex:l,isRelevant:l<=e,children:t.jsx(Me,{children:c})},c))})]})},jt=d.div`
1
+ import{y as Be,J as K,O as q,T as Qe,a7 as ke,b$ as et,V as t,a_ as tt,A as it,a9 as nt,b as g,o as n,j8 as at,j9 as lt,ja as ot,c7 as ze,c4 as rt,el as dt,eY as st,eZ as ct,c6 as Oe,ft as pt,jb as mt,c9 as ut,ca as ht,es as Ee,et as Ae,eC as Le,j as ge,u as p,eE as yt,au as gt,ar as fe,e as We,W as xt,v as qe}from"./index-T6cemxxv.js";import{a as H}from"./sentry-BoIfGJBF.js";import{n as d}from"./mui-GaW5Gk_e.js";import{bG as _e,bs as oe,b_ as Ue,bX as bt,cp as ft}from"./zeni-epic-state-BtVcBgvu.js";import{Y as wt}from"./LabeledDocumentField-Bp9m-OrP-C4maUk83.js";import{S as ie}from"./LabeledText-DvzVOku6-BIWW9LkN.js";import"./pdf-DWoGjGSw.js";import"./core-BSWMBnrJ.js";import"./lottie-DOxhyevU.js";import"./liveblocks--WiFaeN0.js";import"./recharts-BQ8VH5gX.js";import"./dnd-DJrh3JTW.js";import"./analytics-BZz0SPy3.js";import"./plaid-CNcdZ4gc.js";import"./utils-BGRwbgi2.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},i=new e.Error().stack;i&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[i]="3b18d670-8746-4c41-9655-c9bc9f681b5b",e._sentryDebugIdIdentifier="sentry-dbid-3b18d670-8746-4c41-9655-c9bc9f681b5b")}catch{}})();const vt={progressBarWidth:new g(343,726)},St=({pageIndex:e})=>{const i=K(),x=Be(),u=q.getLocalizedStrings().spendManagement.zeniAccounts.expressPay.progressBar,h=[u.stateOne,u.stateTwo,u.stateThree];return i==="small"?t.jsxs(Ct,{children:[t.jsx(at,{coloredSectionCount:e,stretchedSection:1,totalSections:2,barColor:x.colors.brandColorJade,isFrozen:!1,topMargin:8}),t.jsx(Pt,{children:h.map((c,l)=>t.jsx(Tt,{isLast:l==h.length-1,isRelevant:l<=e,perSectionHeight:100/h.length,children:t.jsx(Me,{children:c})},l))})]}):t.jsxs(jt,{windowSize:i,children:[t.jsx(lt,{coloredSectionCount:e,totalSections:2,barColor:x.colors.brandColorJade,isFrozen:!1}),t.jsx($t,{children:h.map((c,l)=>t.jsx(It,{stateIndex:l,isRelevant:l<=e,children:t.jsx(Me,{children:c})},c))})]})},jt=d.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  margin-top: ${n.sp3};
@@ -13,12 +13,12 @@ import{y as Be,e as K,O as q,T as Qe,a7 as ke,c8 as et,V as t,a_ as tt,A as it,a
13
13
  margin-left: ${n.sp2};
14
14
  margin-bottom: ${n.sp5};
15
15
  align-self: flex-start;
16
- `,It=d.div`
16
+ `,$t=d.div`
17
17
  display: flex;
18
18
  margin: ${n.sp3} ${n.sp0};
19
19
  justify-content: space-between;
20
20
  height: ${n.sp6};
21
- `,$t=d.div`
21
+ `,It=d.div`
22
22
  display: flex;
23
23
  flex-direction: column;
24
24
  align-items: center;
@@ -38,7 +38,7 @@ import{y as Be,e as K,O as q,T as Qe,a7 as ke,c8 as et,V as t,a_ as tt,A as it,a
38
38
  position: relative;
39
39
  height: ${e=>`${e.perSectionHeight}%`};
40
40
  color: ${e=>e.isRelevant?e.theme.colors.primary:e.theme.colors.grey2};
41
- `,P={containerWidth:new g(343,580,726),labelWidth:new g(120,160,160),largeLabelWidth:new g(150,228,228),largeLabelPickerWidth:new g(100,180,180),paddingBottom:new g(p[3],p[2]),labelMarginLeftPicker:new g(p[3],p[4]),labelMarginRightPicker:new g(p[3],p[4]),labelMarginTopPicker:new g(p[2],p[2]),labeledFieldPaddingLeft:new g(p[0],p[0]),labeledFieldPaddingRight:new g(p[2],p[2]),labeledFieldPaddingTop:new g(p[2],p[2]),labeledFieldPaddingBottom:new g(p[2],p[2]),infoLabelPaddingRight:new g(p[0],p[3]),infoLabelMarginTop:new g(p[1],p[0])},B=(e,i)=>`${e}.${i}`,Ft=({sectionId:e,paymentDetails:i,allPaymentMethods:x,paymentToOptions:u,withdrawFromList:h,internationalVerificationStatus:c,fileProps:l,receiptFile:F,deleteFileStatusById:I,updateFileStatusById:f,onClickAddAccount:j})=>{const o=K(),{spendManagement:O,dateFormat:V,common:r}=q.getLocalizedStrings(),w=O.billPay.billDetails,J=V.visual.defaultInput,de=O.zeniAccounts.expressPay,se=r.documents,_=P.largeLabelWidth.value(o),[y,G]=Y.useState(!1),H=x.filter(a=>a.method.includes(i?.withdrawFrom?.accType??"depositAccount")&&a.method.includes(bt)===!1),A=a=>u.find(m=>m.id===a);return t.jsxs(t.Fragment,{children:[t.jsx(Dt,{children:w.paymentDetailsTitle}),t.jsxs(kt,{windowSize:o,children:[t.jsx(dt,{label:{label:w.withdrawFrom,width:_,style:{marginLeft:P.labelMarginLeftPicker.valuePx(o),marginTop:P.labelMarginTopPicker.valuePx(o),marginRight:P.labelMarginRightPicker.valuePx(o),width:P.largeLabelPickerWidth.value(o)}},style:{paddingTop:P.labeledFieldPaddingTop.valuePx(o),paddingBottom:P.labeledFieldPaddingBottom.valuePx(o),paddingLeft:P.labeledFieldPaddingLeft.valuePx(o),paddingRight:P.labeledFieldPaddingRight.valuePx(o),border:"none",width:"auto",display:o==="small"?"flex":"inherit"},infoLabelStyle:{textAlign:o==="small"?"left":"right",paddingRight:P.infoLabelPaddingRight.valuePx(o),marginTop:P.infoLabelMarginTop.valuePx(o)},singleSelectPickerField:{name:B(e,"withdrawFrom"),placeholder:Oe(w.withdrawFrom),style:{position:"relative"},capitalizeOptions:!0,isOptionRemovable:!1,showTickIcon:!1,valueToLogo:(a,m)=>ct(h,a,m),valueToSubLabels:(a,m)=>st(h,a,m,!1),defaultValue:{selectedOption:i?.withdrawFrom?.id,allOptions:h.map(a=>({label:a.label,value:a.id}))},textAlignment:"right",registerOptions:{required:!0,validate:a=>a!=null&&!!a.selectedOption}}}),t.jsx(U,{}),t.jsx(pt,{showAdditionalInfoLabel:!1,label:{label:w.amount,width:_},formattedTextField:{type:"number",name:B(e,"amount"),defaultValue:i?.recipientAmount??0,placeholder:Oe(w.amount),returnValueType:"floatValue",prefix:"$",allowNegative:!1,isNumericString:!1,registerOptions:{required:!0,validate:a=>a!=null&&a!==0},autoComplete:"off",decimalSeparator:".",decimalScale:2,fixedDecimalScale:!1,thousandSeparator:!0,shouldHighlightZeroAmount:!0},style:{width:"auto"}}),t.jsx(U,{}),t.jsx(mt,{label:{label:w.paymentMethod,width:P.labelWidth.value(o)},style:{width:"auto"},disableOutline:!0,paymentSingleSelectField:{name:B(e,"paymentMethod"),placeholder:w.billTypeMethodPlaceholder,defaultValue:i?.paymentType,allPaymentMethods:H,isAdmin:!0,internationalVerificationStatus:c,registerOptions:{required:!0,validate:a=>a!=null},onInternationalWireVerifyClick:()=>{}}}),t.jsx(U,{}),t.jsx(ut,{label:{label:w.paymentDate,width:P.labelWidth.value(o)},style:{paddingBottom:P.paddingBottom.valuePx(o),width:"auto"},dateField:{name:B(e,"paymentDate"),placeholder:w.paymentDate,dateFormat:J,autoComplete:"off",minDate:oe(),registerOptions:{required:!0}}}),t.jsx(U,{}),t.jsx(ze,{label:{label:w.paymentTo,width:_},style:{width:"auto"},isFunctional:!0,singleSelectField:{singleSelect:{name:B(e,"paymentTo"),placeholder:w.selectAccount,getTooltipInfo:a=>{const m=A(a),$=q.getLocalizedStrings().spendManagement.billPay;return i?.paymentType?.method.includes("ach")===!0?t.jsxs(xe,{children:[t.jsxs(W,{children:[t.jsx(z,{children:$.vendorCreation.achDetails.bankRoutingNumber}),t.jsx(E,{children:m?.bankRoutingNumberAch??$.vendorCreation.emptyPlaceholderString})]}),t.jsxs(W,{children:[t.jsx(z,{children:$.vendorCreation.achDetails.bankName}),t.jsx(E,{children:m?.bankName??$.vendorCreation.emptyPlaceholderString})]}),t.jsxs(W,{children:[t.jsx(z,{children:$.vendorCreation.achDetails.bankAccountNumber}),t.jsx(E,{children:m?.bankAccountNumber??$.vendorCreation.emptyPlaceholderString})]})]}):i?.paymentType?.method.includes("wire")===!0?i.paymentType?.method.includes("international")===!0?t.jsx(xe,{children:m?.piLabels.map(X=>t.jsxs(W,{children:[t.jsxs(z,{children:[X.name,$.paymentDetails.colon]}),t.jsx(E,{children:X.value})]},X.name))}):t.jsxs(xe,{children:[t.jsxs(W,{children:[t.jsx(z,{children:$.vendorCreation.wireDetails.bankRoutingNumber}),t.jsx(E,{children:m?.bankRoutingNumberWireTransfer??$.vendorCreation.emptyPlaceholderString})]}),t.jsxs(W,{children:[t.jsx(z,{children:$.vendorCreation.achDetails.bankName}),t.jsx(E,{children:m?.bankName??$.vendorCreation.emptyPlaceholderString})]}),t.jsxs(W,{children:[t.jsx(z,{children:$.vendorCreation.wireDetails.accountNumber}),t.jsx(E,{children:m?.bankAccountNumber??$.vendorCreation.emptyPlaceholderString})]})]}):""},menuPlacement:"top",maxMenuHeight:308,isOptionRemovable:!1,showEyeIconOnSelect:!1,showVerifiedIcon:!0,onClickCreateBankAccount:j,showAddBankAccountOption:!0,showCollectPaymentDetailsOption:!1,getLabelForId:a=>Ee(A(a))},defaultValue:{selectedOption:i?.paymentType!=null?i?.paymentTo?.id:"",allOptions:i?.paymentType!=null?(()=>{let a=[];return a=i?.paymentType?.method.includes("wire")===!0?u.filter(m=>!!m.bankRoutingNumberWireTransfer).map(m=>m.id):u.filter(m=>!!m.bankRoutingNumberAch).map(m=>m.id),a})():[]},registerOptions:{required:!0,validate:a=>a?.selectedOption!=null}}}),t.jsx(U,{}),t.jsx(wt,{name:B(e,"receipt"),sizeLimit:ht,deleteFileStatusById:I,updateFileStatusById:f,filesEndPoint:l.filesEndPoint,authParams:l.authParams,label:{label:de.reciept,width:_},filemetadataPayload:{documentType:"id_document",purposeId:"business_verification_others",documentSide:"front"},file:F,acceptableTypes:["image/jpg","image/jpeg","image/png","application/pdf","image/heic","image/heif"],registerOptions:{required:!1},hasError:y,updateFilesEntity:l.updateFilesEntity,onEditFileName:l.onEditFileName,onDeleteFile:l.onDeleteFile,onFileSizeError:a=>G(a),isOptional:!0,style:F!=null?{borderBottomLeftRadius:"inherit",borderBottomRightRadius:"inherit"}:void 0},B(e,"receipt")),F==null?t.jsx(Ot,{windowSize:o,isError:y,children:se.formatDocumentText10MB}):null,t.jsx(U,{})]})]})},Dt=d(fe)`
41
+ `,P={containerWidth:new g(343,580,726),labelWidth:new g(120,160,160),largeLabelWidth:new g(150,228,228),largeLabelPickerWidth:new g(100,180,180),paddingBottom:new g(p[3],p[2]),labelMarginLeftPicker:new g(p[3],p[4]),labelMarginRightPicker:new g(p[3],p[4]),labelMarginTopPicker:new g(p[2],p[2]),labeledFieldPaddingLeft:new g(p[0],p[0]),labeledFieldPaddingRight:new g(p[2],p[2]),labeledFieldPaddingTop:new g(p[2],p[2]),labeledFieldPaddingBottom:new g(p[2],p[2]),infoLabelPaddingRight:new g(p[0],p[3]),infoLabelMarginTop:new g(p[1],p[0])},B=(e,i)=>`${e}.${i}`,Ft=({sectionId:e,paymentDetails:i,allPaymentMethods:x,paymentToOptions:u,withdrawFromList:h,internationalVerificationStatus:c,fileProps:l,receiptFile:F,deleteFileStatusById:$,updateFileStatusById:f,onClickAddAccount:j})=>{const o=K(),{spendManagement:O,dateFormat:V,common:r}=q.getLocalizedStrings(),w=O.billPay.billDetails,J=V.visual.defaultInput,de=O.zeniAccounts.expressPay,se=r.documents,_=P.largeLabelWidth.value(o),[y,Z]=H.useState(!1),U=x.filter(a=>a.method.includes(i?.withdrawFrom?.accType??"depositAccount")&&a.method.includes(bt)===!1),A=a=>u.find(m=>m.id===a);return t.jsxs(t.Fragment,{children:[t.jsx(Dt,{children:w.paymentDetailsTitle}),t.jsxs(kt,{windowSize:o,children:[t.jsx(dt,{label:{label:w.withdrawFrom,width:_,style:{marginLeft:P.labelMarginLeftPicker.valuePx(o),marginTop:P.labelMarginTopPicker.valuePx(o),marginRight:P.labelMarginRightPicker.valuePx(o),width:P.largeLabelPickerWidth.value(o)}},style:{paddingTop:P.labeledFieldPaddingTop.valuePx(o),paddingBottom:P.labeledFieldPaddingBottom.valuePx(o),paddingLeft:P.labeledFieldPaddingLeft.valuePx(o),paddingRight:P.labeledFieldPaddingRight.valuePx(o),border:"none",width:"auto",display:o==="small"?"flex":"inherit"},infoLabelStyle:{textAlign:o==="small"?"left":"right",paddingRight:P.infoLabelPaddingRight.valuePx(o),marginTop:P.infoLabelMarginTop.valuePx(o)},singleSelectPickerField:{name:B(e,"withdrawFrom"),placeholder:Oe(w.withdrawFrom),style:{position:"relative"},capitalizeOptions:!0,isOptionRemovable:!1,showTickIcon:!1,valueToLogo:(a,m)=>ct(h,a,m),valueToSubLabels:(a,m)=>st(h,a,m,!1),defaultValue:{selectedOption:i?.withdrawFrom?.id,allOptions:h.map(a=>({label:a.label,value:a.id}))},textAlignment:"right",registerOptions:{required:!0,validate:a=>a!=null&&!!a.selectedOption}}}),t.jsx(Y,{}),t.jsx(pt,{showAdditionalInfoLabel:!1,label:{label:w.amount,width:_},formattedTextField:{type:"number",name:B(e,"amount"),defaultValue:i?.recipientAmount??0,placeholder:Oe(w.amount),returnValueType:"floatValue",prefix:"$",allowNegative:!1,isNumericString:!1,registerOptions:{required:!0,validate:a=>a!=null&&a!==0},autoComplete:"off",decimalSeparator:".",decimalScale:2,fixedDecimalScale:!1,thousandSeparator:!0,shouldHighlightZeroAmount:!0},style:{width:"auto"}}),t.jsx(Y,{}),t.jsx(mt,{label:{label:w.paymentMethod,width:P.labelWidth.value(o)},style:{width:"auto"},disableOutline:!0,paymentSingleSelectField:{name:B(e,"paymentMethod"),placeholder:w.billTypeMethodPlaceholder,defaultValue:i?.paymentType,allPaymentMethods:U,isAdmin:!0,internationalVerificationStatus:c,registerOptions:{required:!0,validate:a=>a!=null},onInternationalWireVerifyClick:()=>{}}}),t.jsx(Y,{}),t.jsx(ut,{label:{label:w.paymentDate,width:P.labelWidth.value(o)},style:{paddingBottom:P.paddingBottom.valuePx(o),width:"auto"},dateField:{name:B(e,"paymentDate"),placeholder:w.paymentDate,dateFormat:J,autoComplete:"off",minDate:oe(),registerOptions:{required:!0}}}),t.jsx(Y,{}),t.jsx(ze,{label:{label:w.paymentTo,width:_},style:{width:"auto"},isFunctional:!0,singleSelectField:{singleSelect:{name:B(e,"paymentTo"),placeholder:w.selectAccount,getTooltipInfo:a=>{const m=A(a),I=q.getLocalizedStrings().spendManagement.billPay;return i?.paymentType?.method.includes("ach")===!0?t.jsxs(xe,{children:[t.jsxs(W,{children:[t.jsx(z,{children:I.vendorCreation.achDetails.bankRoutingNumber}),t.jsx(E,{children:m?.bankRoutingNumberAch??I.vendorCreation.emptyPlaceholderString})]}),t.jsxs(W,{children:[t.jsx(z,{children:I.vendorCreation.achDetails.bankName}),t.jsx(E,{children:m?.bankName??I.vendorCreation.emptyPlaceholderString})]}),t.jsxs(W,{children:[t.jsx(z,{children:I.vendorCreation.achDetails.bankAccountNumber}),t.jsx(E,{children:m?.bankAccountNumber??I.vendorCreation.emptyPlaceholderString})]})]}):i?.paymentType?.method.includes("wire")===!0?i.paymentType?.method.includes("international")===!0?t.jsx(xe,{children:m?.piLabels.map(G=>t.jsxs(W,{children:[t.jsxs(z,{children:[G.name,I.paymentDetails.colon]}),t.jsx(E,{children:G.value})]},G.name))}):t.jsxs(xe,{children:[t.jsxs(W,{children:[t.jsx(z,{children:I.vendorCreation.wireDetails.bankRoutingNumber}),t.jsx(E,{children:m?.bankRoutingNumberWireTransfer??I.vendorCreation.emptyPlaceholderString})]}),t.jsxs(W,{children:[t.jsx(z,{children:I.vendorCreation.achDetails.bankName}),t.jsx(E,{children:m?.bankName??I.vendorCreation.emptyPlaceholderString})]}),t.jsxs(W,{children:[t.jsx(z,{children:I.vendorCreation.wireDetails.accountNumber}),t.jsx(E,{children:m?.bankAccountNumber??I.vendorCreation.emptyPlaceholderString})]})]}):""},menuPlacement:"top",maxMenuHeight:308,isOptionRemovable:!1,showEyeIconOnSelect:!1,showVerifiedIcon:!0,onClickCreateBankAccount:j,showAddBankAccountOption:!0,showCollectPaymentDetailsOption:!1,getLabelForId:a=>Ee(A(a))},defaultValue:{selectedOption:i?.paymentType!=null?i?.paymentTo?.id:"",allOptions:i?.paymentType!=null?(()=>{let a=[];return a=i?.paymentType?.method.includes("wire")===!0?u.filter(m=>!!m.bankRoutingNumberWireTransfer).map(m=>m.id):u.filter(m=>!!m.bankRoutingNumberAch).map(m=>m.id),a})():[]},registerOptions:{required:!0,validate:a=>a?.selectedOption!=null}}}),t.jsx(Y,{}),t.jsx(wt,{name:B(e,"receipt"),sizeLimit:ht,deleteFileStatusById:$,updateFileStatusById:f,filesEndPoint:l.filesEndPoint,authParams:l.authParams,label:{label:de.reciept,width:_},filemetadataPayload:{documentType:"id_document",purposeId:"business_verification_others",documentSide:"front"},file:F,acceptableTypes:["image/jpg","image/jpeg","image/png","application/pdf","image/heic","image/heif"],registerOptions:{required:!1},hasError:y,updateFilesEntity:l.updateFilesEntity,onEditFileName:l.onEditFileName,onDeleteFile:l.onDeleteFile,onFileSizeError:a=>Z(a),isOptional:!0,style:F!=null?{borderBottomLeftRadius:"inherit",borderBottomRightRadius:"inherit"}:void 0},B(e,"receipt")),F==null?t.jsx(Ot,{windowSize:o,isError:y,children:se.formatDocumentText10MB}):null,t.jsx(Y,{})]})]})},Dt=d(fe)`
42
42
  color: ${e=>e.theme.colors.primary};
43
43
  margin-bottom: ${n.sp3};
44
44
  `,kt=d.div`
@@ -49,7 +49,7 @@ import{y as Be,e as K,O as q,T as Qe,a7 as ke,c8 as et,V as t,a_ as tt,A as it,a
49
49
  box-shadow: ${e=>`${n.sp0} 2px ${n.sp1} ${e.theme.colors.dropShadowNormal}`};
50
50
  border-radius: ${n.sp2};
51
51
  width: ${e=>P.containerWidth.valuePx(e.windowSize)};
52
- `,U=d.div`
52
+ `,Y=d.div`
53
53
  display: flex;
54
54
  flex: 1;
55
55
  background-color: ${e=>e.theme.colors.grey3};
@@ -79,7 +79,7 @@ import{y as Be,e as K,O as q,T as Qe,a7 as ke,c8 as et,V as t,a_ as tt,A as it,a
79
79
  border-radius: ${n.sp0} ${n.sp0} ${n.sp2} ${n.sp2};
80
80
  text-align: ${e=>e.windowSize==="small"?"initial":"right"};
81
81
  color: ${e=>e.isError?We.important:e.theme.colors.grey1};
82
- `,At={largeLabelWidth:new g(150,210,210)},ne=(e,i)=>`${e}.${i}`,Lt=({sectionId:e,vendorTypeList:i,formLocalData:x,vendorSearchAutoCompleteData:u,vendorSearchAutoCompleteActions:h})=>{const c=K(),l=q.getLocalizedStrings().spendManagement.zeniAccounts.expressPay,F=At.largeLabelWidth.value(c),I=Y.useRef();Y.useEffect(()=>{u?.entityAutoCompleteView.fetchState==="Completed"&&I.current?.(Mt(u?.entityAutoCompleteView))},[u?.entityAutoCompleteView.fetchState]);const f=u,j=(r,w)=>{h?.onAutoCompleteInputChange?.(r,"vendor"),I.current=w},o=f?.autoCompleteText!=null&&(f?.entityAutoCompleteView.fetchState==="In-Progress"||f?.entityAutoCompleteView.fetchState==="Not-Started"),O={defaultOptions:Ue(x?.vendorId,x?.vendorName,u?.entityAutoCompleteView),selectedOption:x?.vendorId??x?.vendorName??""},V={valueContainer:r=>({...r,padding:`2px ${c==="small"?n.sp2:n.sp3} !important`,overflow:"unset"}),singleValue:r=>({...r,margin:0}),placeholder:r=>({...r,fontWeight:"normal"})};return t.jsxs(t.Fragment,{children:[t.jsx(Nt,{children:l.recipientSectionTitle}),t.jsx(Vt,{children:t.jsxs(Rt,{children:[t.jsx(ot,{label:{label:l.recipientName,width:F},addIconInCreateLabel:!0,autoCompleteSingleSelectField:{name:ne(e,"recipient"),placeholder:c==="small"?l.placeholders.recipientNameMobile:l.placeholders.recipientName,valueToId:r=>r,defaultValue:{...O},style:{width:"100%"},customStyleConfig:V,registerOptions:{required:!0,validate:r=>r!=null&&!!r.selectedOption},loadOptions:j,isOptionsLoading:o,makeCreateOptionSticky:!0,entity:"recipient"},style:{justifyContent:"space-between"},fullWidthSelect:!0},ne(e,"recipient")),t.jsx(Ne,{}),t.jsx(ze,{label:{label:l.recipientType,width:F},singleSelectField:{singleSelect:{name:ne(e,"recipientType"),placeholder:l.placeholders.recipientType,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:r=>i.find(w=>w.code===r)?.name??"",showTickMark:!1,maxMenuHeight:250},defaultValue:{selectedOption:x?.vendorType,allOptions:i.map(r=>r.code)},registerOptions:{required:!0,validate:r=>!!r.selectedOption}},isFunctional:!0}),t.jsx(Ne,{}),t.jsx(rt,{showAdditionalInfoLabel:!1,label:{label:l.recipientEmail,width:F},text:{type:"email",name:ne(e,"recipientEmail"),placeholder:l.placeholders.recipientEmail,options:{required:!0}},style:{borderBottomLeftRadius:"inherit",borderBottomRightRadius:"inherit"}})]})})]})},Ue=(e,i,x)=>{if(e==null)return[];const u=x?.vendor?.find(h=>h.id===e);return u!=null||e!=null?[{label:u?.name??i??e??"",value:e??i??""}]:[]},Mt=e=>e?.vendor.map(i=>({label:i.name,value:i.zeniId,zeniId:i.zeniId}))??[],Nt=d(fe)`
82
+ `,At={largeLabelWidth:new g(150,210,210)},ne=(e,i)=>`${e}.${i}`,Lt=({sectionId:e,vendorTypeList:i,formLocalData:x,vendorSearchAutoCompleteData:u,vendorSearchAutoCompleteActions:h})=>{const c=K(),l=q.getLocalizedStrings().spendManagement.zeniAccounts.expressPay,F=At.largeLabelWidth.value(c),$=H.useRef();H.useEffect(()=>{u?.entityAutoCompleteView.fetchState==="Completed"&&$.current?.(Mt(u?.entityAutoCompleteView))},[u?.entityAutoCompleteView.fetchState]);const f=u,j=(r,w)=>{h?.onAutoCompleteInputChange?.(r,"vendor"),$.current=w},o=f?.autoCompleteText!=null&&(f?.entityAutoCompleteView.fetchState==="In-Progress"||f?.entityAutoCompleteView.fetchState==="Not-Started"),O={defaultOptions:Ye(x?.vendorId,x?.vendorName,u?.entityAutoCompleteView),selectedOption:x?.vendorId??x?.vendorName??""},V={valueContainer:r=>({...r,padding:`2px ${c==="small"?n.sp2:n.sp3} !important`,overflow:"unset"}),singleValue:r=>({...r,margin:0}),placeholder:r=>({...r,fontWeight:"normal"})};return t.jsxs(t.Fragment,{children:[t.jsx(Nt,{children:l.recipientSectionTitle}),t.jsx(Vt,{children:t.jsxs(Rt,{children:[t.jsx(ot,{label:{label:l.recipientName,width:F},addIconInCreateLabel:!0,autoCompleteSingleSelectField:{name:ne(e,"recipient"),placeholder:c==="small"?l.placeholders.recipientNameMobile:l.placeholders.recipientName,valueToId:r=>r,defaultValue:{...O},style:{width:"100%"},customStyleConfig:V,registerOptions:{required:!0,validate:r=>r!=null&&!!r.selectedOption},loadOptions:j,isOptionsLoading:o,makeCreateOptionSticky:!0,entity:"recipient"},style:{justifyContent:"space-between"},fullWidthSelect:!0},ne(e,"recipient")),t.jsx(Ne,{}),t.jsx(ze,{label:{label:l.recipientType,width:F},singleSelectField:{singleSelect:{name:ne(e,"recipientType"),placeholder:l.placeholders.recipientType,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:r=>i.find(w=>w.code===r)?.name??"",showTickMark:!1,maxMenuHeight:250},defaultValue:{selectedOption:x?.vendorType,allOptions:i.map(r=>r.code)},registerOptions:{required:!0,validate:r=>!!r.selectedOption}},isFunctional:!0}),t.jsx(Ne,{}),t.jsx(rt,{showAdditionalInfoLabel:!1,label:{label:l.recipientEmail,width:F},text:{type:"email",name:ne(e,"recipientEmail"),placeholder:l.placeholders.recipientEmail,options:{required:!0}},style:{borderBottomLeftRadius:"inherit",borderBottomRightRadius:"inherit"}})]})})]})},Ye=(e,i,x)=>{if(e==null)return[];const u=x?.vendor?.find(h=>h.id===e);return u!=null||e!=null?[{label:u?.name??i??e??"",value:e??i??""}]:[]},Mt=e=>e?.vendor.map(i=>({label:i.name,value:i.zeniId,zeniId:i.zeniId}))??[],Nt=d(fe)`
83
83
  color: ${e=>e.theme.colors.primary};
84
84
  margin-bottom: ${n.sp3};
85
85
  `,Vt=d.div`
@@ -98,7 +98,7 @@ import{y as Be,e as K,O as q,T as Qe,a7 as ke,c8 as et,V as t,a_ as tt,A as it,a
98
98
  background-color: ${e=>e.theme.colors.grey3};
99
99
  min-height: 1px;
100
100
  max-height: 1px;
101
- `,re={containerWidth:new g(343,580,726),largeLabelWidth:new g(150,215,215),reviewContainerMarginLeft:new g(p[3],p[6]),reviewContainerMarginRight:new g(p[3],p[8])},Bt=({vendorName:e,reviewDetails:i,paymentToOptions:x,style:u})=>{const h=K(),c=re.largeLabelWidth.value(h),{billPay:l}=q.getLocalizedStrings().spendManagement,{dateFormat:F,common:I}=q.getLocalizedStrings(),f=l.billDetails,j=i?.paymentType,o=F.visual.MMMDCommaYYYYformat,O={amount:i?.amount?.amount??0,currencyCode:I.currency.currencyCode,currencySymbol:I.currency.currencySymbol},V=Ee(x.find(J=>J.id===i?.paymentToAccountId)),r=i?.paymentDate,w=Ae(j?.method??"");return t.jsx(Ht,{children:t.jsxs(Ut,{windowSize:h,style:u,children:[t.jsxs(Jt,{children:[t.jsx(ae,{children:f.pay}),t.jsx(ae,{children:t.jsx(Le,{amount:O,integerStyles:ge.largeSemiBold.cssObject})}),t.jsx(ae,{children:f.to}),t.jsx(ae,{children:e})]}),t.jsxs(Yt,{windowSize:h,children:[t.jsx(ie,{label:{label:f.withdrawFrom,width:c},style:{width:"auto",gap:p[3]},value:i?.withdrawFrom!=null?yt(i.withdrawFrom,h):I.strings.empty}),t.jsx(be,{}),t.jsx(ie,{label:{label:f.paymentMethod,width:c},style:{width:"auto"},value:Ae(j?.method??"")}),t.jsx(be,{}),r!=null?t.jsxs(t.Fragment,{children:[t.jsx(ie,{label:{label:f.paymentDate,width:c},style:{width:"auto"},value:r.format(o),additionalInfoLabel:`${f.estimatedArrival}${_e(He(r.toDate(),[0,6],j?.maxPeriod.value??0).toDateString()).format(o)} - (${w.length>0?`${w} `:""}${f.deliveryTimeLabel} = ${j?.maxPeriod.value??"0"} ${f.deliveryTimeUnits})`}),t.jsx(be,{})]}):null,t.jsx(ie,{label:{label:f.paymentTo,width:c},style:{width:"auto"},value:V??""})]}),t.jsx(Et,{children:t.jsxs(Wt,{windowSize:h,children:[t.jsx(qt,{children:t.jsx(zt,{children:l.paymentDetails.total})}),t.jsx(_t,{children:t.jsx(Le,{amount:ft(O.amount,O.currencyCode,O.currencySymbol),integerStyles:ge.h6Medium.cssObject,decimalStyles:ge.standardMedium.cssObject})})]})})]})})},zt=d.div``,Et=d.div`
101
+ `,re={containerWidth:new g(343,580,726),largeLabelWidth:new g(150,215,215),reviewContainerMarginLeft:new g(p[3],p[6]),reviewContainerMarginRight:new g(p[3],p[8])},Bt=({vendorName:e,reviewDetails:i,paymentToOptions:x,style:u})=>{const h=K(),c=re.largeLabelWidth.value(h),{billPay:l}=q.getLocalizedStrings().spendManagement,{dateFormat:F,common:$}=q.getLocalizedStrings(),f=l.billDetails,j=i?.paymentType,o=F.visual.MMMDCommaYYYYformat,O={amount:i?.amount?.amount??0,currencyCode:$.currency.currencyCode,currencySymbol:$.currency.currencySymbol},V=Ee(x.find(J=>J.id===i?.paymentToAccountId)),r=i?.paymentDate,w=Ae(j?.method??"");return t.jsx(Ut,{children:t.jsxs(Yt,{windowSize:h,style:u,children:[t.jsxs(Jt,{children:[t.jsx(ae,{children:f.pay}),t.jsx(ae,{children:t.jsx(Le,{amount:O,integerStyles:ge.largeSemiBold.cssObject})}),t.jsx(ae,{children:f.to}),t.jsx(ae,{children:e})]}),t.jsxs(Ht,{windowSize:h,children:[t.jsx(ie,{label:{label:f.withdrawFrom,width:c},style:{width:"auto",gap:p[3]},value:i?.withdrawFrom!=null?yt(i.withdrawFrom,h):$.strings.empty}),t.jsx(be,{}),t.jsx(ie,{label:{label:f.paymentMethod,width:c},style:{width:"auto"},value:Ae(j?.method??"")}),t.jsx(be,{}),r!=null?t.jsxs(t.Fragment,{children:[t.jsx(ie,{label:{label:f.paymentDate,width:c},style:{width:"auto"},value:r.format(o),additionalInfoLabel:`${f.estimatedArrival}${_e(Ue(r.toDate(),[0,6],j?.maxPeriod.value??0).toDateString()).format(o)} - (${w.length>0?`${w} `:""}${f.deliveryTimeLabel} = ${j?.maxPeriod.value??"0"} ${f.deliveryTimeUnits})`}),t.jsx(be,{})]}):null,t.jsx(ie,{label:{label:f.paymentTo,width:c},style:{width:"auto"},value:V??""})]}),t.jsx(Et,{children:t.jsxs(Wt,{windowSize:h,children:[t.jsx(qt,{children:t.jsx(zt,{children:l.paymentDetails.total})}),t.jsx(_t,{children:t.jsx(Le,{amount:ft(O.amount,O.currencyCode,O.currencySymbol),integerStyles:ge.h6Medium.cssObject,decimalStyles:ge.standardMedium.cssObject})})]})})]})})},zt=d.div``,Et=d.div`
102
102
  display: flex;
103
103
  width: 100%;
104
104
  box-sizing: border-box;
@@ -124,18 +124,18 @@ import{y as Be,e as K,O as q,T as Qe,a7 as ke,c8 as et,V as t,a_ as tt,A as it,a
124
124
  width: calc(100% - 176px);
125
125
  justify-content: flex-end;
126
126
  color: ${e=>e.theme.colors.primary};
127
- `,Ht=d.div`
127
+ `,Ut=d.div`
128
128
  display: flex;
129
129
  flex-direction: column;
130
130
  width: 100%;
131
131
  height: 100%;
132
- `,Ut=d.div`
132
+ `,Yt=d.div`
133
133
  display: flex;
134
134
  flex-grow: 1;
135
135
  flex-direction: column;
136
136
  margin-left: ${e=>re.reviewContainerMarginLeft.valuePx(e.windowSize)};
137
137
  margin-right: ${e=>re.reviewContainerMarginRight.valuePx(e.windowSize)};
138
- `,Yt=d.div`
138
+ `,Ht=d.div`
139
139
  display: flex;
140
140
  flex-direction: column;
141
141
  background-color: ${e=>e.theme.colors.grey5};
@@ -157,7 +157,7 @@ import{y as Be,e as K,O as q,T as Qe,a7 as ke,c8 as et,V as t,a_ as tt,A as it,a
157
157
  display: flex;
158
158
  color: ${e=>e.theme.colors.primary};
159
159
  margin-right: ${n.sp1};
160
- `,Ve="expressPayPage",Gt=e=>`${e}_form`,N="recipientDetails",k="paymentDetails",le={buttonWidth:new g(160,140),largeButtonWidth:new g(166,166)},mi=({expressPayDetails:e,fileProps:i,analytics:x,accountId:u,onClickAddAccount:h,onSaveVendor:c,onVendorSelected:l,updateSelectedVendorForCreate:F,onBackClick:I,saveVendorDetailLocalData:f,saveExpressPayLocalData:j,resetVendorSaveStatus:o,onSchedulePayment:O,initializeVendorAddress:V,vendorSearchAutoCompleteData:r,vendorSearchAutoCompleteActions:w,onEditFileName:J,onDeleteFile:de,updateFilesEntity:se})=>{const{vendorViewDetails:_,expressPayLocalData:y,vendorTypeList:G,allPaymentMethods:H,paymentToOptions:A,withdrawFromList:a,internationalWireOnboardingStatus:m,deleteFileStatusById:$,updateFileStatusById:X,submitStatus:Q,receiptFile:ce,vendorSaveStatus:we}=e,[S,ee]=Y.useState(0),Ye=Be(),Z=K(),{common:ve,spendManagement:Je}=q.getLocalizedStrings(),pe=ve.footer,Se=ve.currency,me=Je.zeniAccounts.expressPay,{editVendorState:je,newVendorState:Ce}=_,R=y?.vendorId!=null?je?.vendorDetailLocalData:Ce?.vendorDetailLocalData,Ie=Object.assign({},je??Ce),Ge=R?.vendorName,$e=a.find(s=>s.id===u),te=Qe({mode:"onBlur",reValidateMode:"onChange",defaultValues:Re(G,a,A,$e,H,R,y,ce,r?.entityAutoCompleteView),values:Re(G,a,A,$e,H,R,y,ce,r?.entityAutoCompleteView)}),Pe=ke(Ie.saveStatus?.fetchState),Te=ke(Q);Y.useEffect(()=>{const s=te.watch((C,{name:b})=>{b!=null&&C!=null&&et(()=>Xe(b,C))});return()=>{s.unsubscribe()}}),Y.useEffect(()=>{Pe==="In-Progress"&&we==="Completed"&&(S===0?(ee(1),o?.(y?.vendorId)):S===1&&ee(2)),Te==="In-Progress"&&Q==="Completed"&&I(y?.vendorId)},[Pe,we,S,o,y?.vendorId,Te,Q,I]);const Xe=async(s,C)=>{if(s!=="recipientDetails.recipientEmail")if(s==="recipientDetails.recipient"){const b=C[N].recipient.selectedOption,L=r?.entityAutoCompleteView.vendor.find(D=>D.zeniId===b);Ze(C),V(),R?.vendorId!==b&&L!=null&&(l?.(b),he(C,!1,A,b))}else if(s.includes("recipient"))ue(C);else{const b=C[k].paymentMethod?.method,L=y?.paymentType?.method,D=b!=null&&L!=null&&(b.toLowerCase().includes("ach")&&L.toLowerCase().includes("wire")||b.toLowerCase().includes("wire")&&L.toLowerCase().includes("ach"));he(C,D,A,y?.vendorId)}},Ze=s=>{const C=s[N].recipient.selectedOption,b=r?.entityAutoCompleteView.vendor.find(L=>L.id===C)!=null;if(C!=null&&b===!0)return F?.(C),void he(s,!1,A,C);ue(s,!0)},ue=(s,C)=>{const b=R?.vendorId,L=function(D,ye,v,T){const M=D[N].recipient.defaultOptions.find(Ke=>Ke.value===D[N].recipient.selectedOption);return{vendorType:T===!0?void 0:D[N].recipientType.selectedOption,vendorId:ye,vendorName:M?.label??v?.vendorName,contacts:T===!0?[]:[{fullName:"",email:D[N].recipientEmail,phone:""}],bankAccountIds:T===!0?[]:v?.bankAccountIds??[],paymentInstrumentIds:T===!0?[]:v?.paymentInstrumentIds??[],vendorOwner:T===!0?void 0:v?.vendorOwner,isVendor1099:v?.isVendor1099,documentIds:v?.documentIds??[],fileIdsToBeDeleted:v?.fileIdsToBeDeleted??[],countryCode:T===!0?void 0:v?.countryCode,currencyCode:v?.currencyCode,currencySymbol:T===!0?void 0:v?.currencySymbol,deleteFileStatusById:v?.deleteFileStatusById??{},updateFileStatusById:v?.updateFileStatusById??{},recommendedCategory:v?.recommendedCategory,recommendedClass:v?.recommendedClass,isCategoryUpdateSelected:v?.isCategoryUpdateSelected??!1,isClassUpdateSelected:v?.isClassUpdateSelected??!1,isCategoryRecommendationPrefilled:v?.isCategoryRecommendationPrefilled??!0,isClassRecommendationPrefilled:v?.isClassRecommendationPrefilled??!0}}(s,r?.entityAutoCompleteView.vendor.find(D=>D.zeniId===b)!=null?b:void 0,R,C);f?.(L,b)},he=(s,C,b,L)=>{const D=(()=>{let T=[];return T=s[k].paymentMethod?.method.includes("wire")===!0?b.filter(M=>!!M.bankRoutingNumberWireTransfer).map(M=>M.id):b.filter(M=>!!M.bankRoutingNumberAch).map(M=>M.id),T})(),ye=b.find(T=>T.id===s[k]?.paymentTo?.selectedOption),v={vendorId:L,amount:{amount:s[k].amount,currencyCode:Se.currencyCode,currencySymbol:Se.currencySymbol},paymentDate:s[k].paymentDate?_e(s[k].paymentDate.toString()):oe(),paymentType:s[k]?.paymentMethod!=null?s[k]?.paymentMethod:void 0,paymentToAccountId:C?D[0]:ye?.id,withdrawFrom:a.find(T=>T.id===s[k]?.withdrawFrom?.selectedOption),receiptFileId:s[k].receipt?.fileId};j?.(v)},Fe=te.handleSubmit(()=>{if(S===0||S===1){x.trackExpressPayNextClick(S===0?"Recipient Details":"Payment Details");const s=te.getValues();ue(s),c(y?.vendorId)}else x.trackExpressPayScheduleClick(),O()}),De={withdrawFrom:y?.withdrawFrom,paymentTo:y?.paymentToAccountId!=null?A.find(s=>s.id===y?.paymentToAccountId):void 0,paymentDate:y?.paymentDate,paymentType:y?.paymentType??H?.[0],recipientAmount:y?.amount?.amount};return t.jsxs(t.Fragment,{children:[t.jsx(tt,{title:me.pageTitle,onBackClick:()=>{S===0?I(y?.vendorId):ee(S===1?0:1)},backgroundColor:Ye.colors.grey4,hideSearchBtn:!0,source:"ExpressPayPage"}),t.jsxs(Xt,{windowSize:Z,children:[t.jsx(St,{pageIndex:S}),t.jsx(it,{...te,children:t.jsx("form",{id:Ve,onSubmit:Fe,children:S===0?t.jsx(Lt,{sectionId:N,vendorTypeList:G,formLocalData:R,vendorSearchAutoCompleteData:r,vendorSearchAutoCompleteActions:w}):S===1?t.jsx(Ft,{sectionId:k,paymentDetails:De,paymentToOptions:A,allPaymentMethods:H,withdrawFromList:a,internationalVerificationStatus:m,fileProps:{...i,onEditFileName:J,onDeleteFile:de,updateFilesEntity:se},deleteFileStatusById:$,updateFileStatusById:X,receiptFile:ce,onClickAddAccount:()=>{const s=De?.paymentType;s!=null&&h(s)}}):S===2?t.jsx(Bt,{reviewDetails:y,paymentToOptions:A,vendorName:Ge}):null})})]}),t.jsx(nt,{formId:Gt(Ve),style:{width:"100%"},primaryBtn:{label:S===2?oe().isSame(y?.paymentDate,"date")?me.sendMoney:me.schedulePayment:pe.next,isLoading:S===0||S===1?Ie.saveStatus?.fetchState==="In-Progress":Q==="In-Progress",style:{width:S===2?le.largeButtonWidth.value(Z):le.buttonWidth.value(Z),whiteSpace:"nowrap"},isDisabled:!1,onClick:()=>{Fe()}},cancelBtn:{label:S===2?pe.edit:pe.cancel,style:{width:S===2?le.largeButtonWidth.value(Z):le.buttonWidth.value(Z),whiteSpace:"nowrap"},shouldResetOnCancel:!1,onClick:()=>{S===2?ee(1):I(y?.vendorId)}}})]})},Re=(e,i,x,u,h,c,l,F,I)=>{const f=(()=>{let j=[];return j=l?.paymentType?.method.includes("wire")===!0?x.filter(o=>!!o.bankRoutingNumberWireTransfer).map(o=>o.id):x.filter(o=>!!o.bankRoutingNumberAch).map(o=>o.id),j})();return{[N]:{recipient:{defaultOptions:Ue(c?.vendorId,c?.vendorName,I),selectedOption:c?.vendorId??c?.vendorName??""},recipientEmail:c?.contacts?.[0]?.email??"",recipientName:c?.vendorName??"",recipientType:{allOptions:e.map(j=>j.code),selectedOption:c?.vendorType}},[k]:{paymentMethod:l?.paymentType??h?.[0],withdrawFrom:{selectedOption:l?.withdrawFrom?.id??u?.id??i[0]?.id,allOptions:i.map(j=>({label:j.label,value:j.id}))},amount:l?.amount.amount??0,paymentDate:l?.paymentDate?.toDate()??He(oe().toDate(),[0,6],0),paymentTo:{allOptions:l?.paymentType!=null?f:[],selectedOption:l?.paymentToAccountId??f[0]},receipt:F}}},Xt=d.div`
160
+ `,Ve="expressPayPage",Zt=e=>`${e}_form`,N="recipientDetails",k="paymentDetails",le={buttonWidth:new g(160,140),largeButtonWidth:new g(166,166)},mi=({expressPayDetails:e,fileProps:i,analytics:x,accountId:u,onClickAddAccount:h,onSaveVendor:c,onVendorSelected:l,updateSelectedVendorForCreate:F,onBackClick:$,saveVendorDetailLocalData:f,saveExpressPayLocalData:j,resetVendorSaveStatus:o,onSchedulePayment:O,initializeVendorAddress:V,vendorSearchAutoCompleteData:r,vendorSearchAutoCompleteActions:w,onEditFileName:J,onDeleteFile:de,updateFilesEntity:se})=>{const{vendorViewDetails:_,expressPayLocalData:y,vendorTypeList:Z,allPaymentMethods:U,paymentToOptions:A,withdrawFromList:a,internationalWireOnboardingStatus:m,deleteFileStatusById:I,updateFileStatusById:G,submitStatus:Q,receiptFile:ce,vendorSaveStatus:we}=e,[S,ee]=H.useState(0),He=Be(),X=K(),{common:ve,spendManagement:Je}=q.getLocalizedStrings(),pe=ve.footer,Se=ve.currency,me=Je.zeniAccounts.expressPay,{editVendorState:je,newVendorState:Ce}=_,R=y?.vendorId!=null?je?.vendorDetailLocalData:Ce?.vendorDetailLocalData,$e=Object.assign({},je??Ce),Ze=R?.vendorName,Ie=a.find(s=>s.id===u),te=Qe({mode:"onBlur",reValidateMode:"onChange",defaultValues:Re(Z,a,A,Ie,U,R,y,ce,r?.entityAutoCompleteView),values:Re(Z,a,A,Ie,U,R,y,ce,r?.entityAutoCompleteView)}),Pe=ke($e.saveStatus?.fetchState),Te=ke(Q);H.useEffect(()=>{const s=te.watch((C,{name:b})=>{b!=null&&C!=null&&et(()=>Ge(b,C))});return()=>{s.unsubscribe()}}),H.useEffect(()=>{Pe==="In-Progress"&&we==="Completed"&&(S===0?(ee(1),o?.(y?.vendorId)):S===1&&ee(2)),Te==="In-Progress"&&Q==="Completed"&&$(y?.vendorId)},[Pe,we,S,o,y?.vendorId,Te,Q,$]);const Ge=async(s,C)=>{if(s!=="recipientDetails.recipientEmail")if(s==="recipientDetails.recipient"){const b=C[N].recipient.selectedOption,L=r?.entityAutoCompleteView.vendor.find(D=>D.zeniId===b);Xe(C),V(),R?.vendorId!==b&&L!=null&&(l?.(b),he(C,!1,A,b))}else if(s.includes("recipient"))ue(C);else{const b=C[k].paymentMethod?.method,L=y?.paymentType?.method,D=b!=null&&L!=null&&(b.toLowerCase().includes("ach")&&L.toLowerCase().includes("wire")||b.toLowerCase().includes("wire")&&L.toLowerCase().includes("ach"));he(C,D,A,y?.vendorId)}},Xe=s=>{const C=s[N].recipient.selectedOption,b=r?.entityAutoCompleteView.vendor.find(L=>L.id===C)!=null;if(C!=null&&b===!0)return F?.(C),void he(s,!1,A,C);ue(s,!0)},ue=(s,C)=>{const b=R?.vendorId,L=function(D,ye,v,T){const M=D[N].recipient.defaultOptions.find(Ke=>Ke.value===D[N].recipient.selectedOption);return{vendorType:T===!0?void 0:D[N].recipientType.selectedOption,vendorId:ye,vendorName:M?.label??v?.vendorName,contacts:T===!0?[]:[{fullName:"",email:D[N].recipientEmail,phone:""}],bankAccountIds:T===!0?[]:v?.bankAccountIds??[],paymentInstrumentIds:T===!0?[]:v?.paymentInstrumentIds??[],vendorOwner:T===!0?void 0:v?.vendorOwner,isVendor1099:v?.isVendor1099,documentIds:v?.documentIds??[],fileIdsToBeDeleted:v?.fileIdsToBeDeleted??[],countryCode:T===!0?void 0:v?.countryCode,currencyCode:v?.currencyCode,currencySymbol:T===!0?void 0:v?.currencySymbol,deleteFileStatusById:v?.deleteFileStatusById??{},updateFileStatusById:v?.updateFileStatusById??{},recommendedCategory:v?.recommendedCategory,recommendedClass:v?.recommendedClass,isCategoryUpdateSelected:v?.isCategoryUpdateSelected??!1,isClassUpdateSelected:v?.isClassUpdateSelected??!1,isCategoryRecommendationPrefilled:v?.isCategoryRecommendationPrefilled??!0,isClassRecommendationPrefilled:v?.isClassRecommendationPrefilled??!0}}(s,r?.entityAutoCompleteView.vendor.find(D=>D.zeniId===b)!=null?b:void 0,R,C);f?.(L,b)},he=(s,C,b,L)=>{const D=(()=>{let T=[];return T=s[k].paymentMethod?.method.includes("wire")===!0?b.filter(M=>!!M.bankRoutingNumberWireTransfer).map(M=>M.id):b.filter(M=>!!M.bankRoutingNumberAch).map(M=>M.id),T})(),ye=b.find(T=>T.id===s[k]?.paymentTo?.selectedOption),v={vendorId:L,amount:{amount:s[k].amount,currencyCode:Se.currencyCode,currencySymbol:Se.currencySymbol},paymentDate:s[k].paymentDate?_e(s[k].paymentDate.toString()):oe(),paymentType:s[k]?.paymentMethod!=null?s[k]?.paymentMethod:void 0,paymentToAccountId:C?D[0]:ye?.id,withdrawFrom:a.find(T=>T.id===s[k]?.withdrawFrom?.selectedOption),receiptFileId:s[k].receipt?.fileId};j?.(v)},Fe=te.handleSubmit(()=>{if(S===0||S===1){x.trackExpressPayNextClick(S===0?"Recipient Details":"Payment Details");const s=te.getValues();ue(s),c(y?.vendorId)}else x.trackExpressPayScheduleClick(),O()}),De={withdrawFrom:y?.withdrawFrom,paymentTo:y?.paymentToAccountId!=null?A.find(s=>s.id===y?.paymentToAccountId):void 0,paymentDate:y?.paymentDate,paymentType:y?.paymentType??U?.[0],recipientAmount:y?.amount?.amount};return t.jsxs(t.Fragment,{children:[t.jsx(tt,{title:me.pageTitle,onBackClick:()=>{S===0?$(y?.vendorId):ee(S===1?0:1)},backgroundColor:He.colors.grey4,hideSearchBtn:!0,source:"ExpressPayPage"}),t.jsxs(Gt,{windowSize:X,children:[t.jsx(St,{pageIndex:S}),t.jsx(it,{...te,children:t.jsx("form",{id:Ve,onSubmit:Fe,children:S===0?t.jsx(Lt,{sectionId:N,vendorTypeList:Z,formLocalData:R,vendorSearchAutoCompleteData:r,vendorSearchAutoCompleteActions:w}):S===1?t.jsx(Ft,{sectionId:k,paymentDetails:De,paymentToOptions:A,allPaymentMethods:U,withdrawFromList:a,internationalVerificationStatus:m,fileProps:{...i,onEditFileName:J,onDeleteFile:de,updateFilesEntity:se},deleteFileStatusById:I,updateFileStatusById:G,receiptFile:ce,onClickAddAccount:()=>{const s=De?.paymentType;s!=null&&h(s)}}):S===2?t.jsx(Bt,{reviewDetails:y,paymentToOptions:A,vendorName:Ze}):null})})]}),t.jsx(nt,{formId:Zt(Ve),style:{width:"100%"},primaryBtn:{label:S===2?oe().isSame(y?.paymentDate,"date")?me.sendMoney:me.schedulePayment:pe.next,isLoading:S===0||S===1?$e.saveStatus?.fetchState==="In-Progress":Q==="In-Progress",style:{width:S===2?le.largeButtonWidth.value(X):le.buttonWidth.value(X),whiteSpace:"nowrap"},isDisabled:!1,onClick:()=>{Fe()}},cancelBtn:{label:S===2?pe.edit:pe.cancel,style:{width:S===2?le.largeButtonWidth.value(X):le.buttonWidth.value(X),whiteSpace:"nowrap"},shouldResetOnCancel:!1,onClick:()=>{S===2?ee(1):$(y?.vendorId)}}})]})},Re=(e,i,x,u,h,c,l,F,$)=>{const f=(()=>{let j=[];return j=l?.paymentType?.method.includes("wire")===!0?x.filter(o=>!!o.bankRoutingNumberWireTransfer).map(o=>o.id):x.filter(o=>!!o.bankRoutingNumberAch).map(o=>o.id),j})();return{[N]:{recipient:{defaultOptions:Ye(c?.vendorId,c?.vendorName,$),selectedOption:c?.vendorId??c?.vendorName??""},recipientEmail:c?.contacts?.[0]?.email??"",recipientName:c?.vendorName??"",recipientType:{allOptions:e.map(j=>j.code),selectedOption:c?.vendorType}},[k]:{paymentMethod:l?.paymentType??h?.[0],withdrawFrom:{selectedOption:l?.withdrawFrom?.id??u?.id??i[0]?.id,allOptions:i.map(j=>({label:j.label,value:j.id}))},amount:l?.amount.amount??0,paymentDate:l?.paymentDate?.toDate()??Ue(oe().toDate(),[0,6],0),paymentTo:{allOptions:l?.paymentType!=null?f:[],selectedOption:l?.paymentToAccountId??f[0]},receipt:F}}},Gt=d.div`
161
161
  display: flex;
162
162
  flex-wrap: wrap;
163
163
  height: 100%;
@@ -165,4 +165,4 @@ import{y as Be,e as K,O as q,T as Qe,a7 as ke,c8 as et,V as t,a_ as tt,A as it,a
165
165
  align-items: center;
166
166
  background-color: ${e=>e.theme.colors.grey4};
167
167
  margin-top: ${e=>e.windowSize==="small"?n.sp3:0};
168
- `;export{mi as default,Gt as formUniqueName};
168
+ `;export{mi as default,Zt as formUniqueName};
@@ -1,4 +1,4 @@
1
- import{y as _,e as w,O as y,ad as n,f as r,V as i,bR as v,x as p,bS as k,bT as x,m as g}from"./index-C-nTPjDF.js";import{n as d}from"./mui-BOwjqiG-.js";import"./sentry-Dd2vHz0L.js";import"./pdf-BrZAvZ1o.js";import"./zeni-epic-state-ChDcaYf9.js";import"./core-C_Me9Mw3.js";import"./lottie-DyM2Y4mu.js";import"./liveblocks-WO1k1bbB.js";import"./recharts-B22vzlMp.js";import"./dnd-BRZ99wCN.js";import"./analytics-CkXlMwul.js";import"./plaid-CyY87P8r.js";import"./utils-CInzYuJw.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},s=new e.Error().stack;s&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[s]="7b12be6d-1e4f-4ccf-9559-99f749338c7a",e._sentryDebugIdIdentifier="sentry-dbid-7b12be6d-1e4f-4ccf-9559-99f749338c7a")}catch{}})();const t={popupWidth:new p(200,468,468,468),buttonWidth:new p(140,160,160,160),popupContainerLeft:new p(g[0],g[0],255),popupContainerWidth:new p(100,100,85)},z=d.div`
1
+ import{y as _,J as w,O as y,ad as n,e as r,V as i,bK as v,b as p,bL as k,bM as z,u as g}from"./index-T6cemxxv.js";import{n as d}from"./mui-GaW5Gk_e.js";import"./sentry-BoIfGJBF.js";import"./pdf-DWoGjGSw.js";import"./zeni-epic-state-BtVcBgvu.js";import"./core-BSWMBnrJ.js";import"./lottie-DOxhyevU.js";import"./liveblocks--WiFaeN0.js";import"./recharts-BQ8VH5gX.js";import"./dnd-DJrh3JTW.js";import"./analytics-BZz0SPy3.js";import"./plaid-CNcdZ4gc.js";import"./utils-BGRwbgi2.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},a=new e.Error().stack;a&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[a]="27b94667-a07e-4508-81e0-afcd1d91e908",e._sentryDebugIdIdentifier="sentry-dbid-27b94667-a07e-4508-81e0-afcd1d91e908")}catch{}})();const t={popupWidth:new p(200,468,468,468),buttonWidth:new p(140,160,160,160),popupContainerLeft:new p(g[0],g[0],255),popupContainerWidth:new p(100,100,85)},x=d.div`
2
2
  display: flex;
3
3
  flex: 1 1 auto;
4
4
  min-height: 100%;
@@ -8,4 +8,4 @@ import{y as _,e as w,O as y,ad as n,f as r,V as i,bR as v,x as p,bS as k,bT as x
8
8
  `,C=d.img`
9
9
  width: 100%;
10
10
  height: 100%;
11
- `,W={mobile:{home:"https://storage.googleapis.com/zeni-apis.appspot.com/images/dashboard-view-mobile",reports:"https://storage.googleapis.com/zeni-apis.appspot.com/images/reports-view-mobile",forecast:"https://storage.googleapis.com/zeni-apis.appspot.com/images/forecast-view-mobile",bills:"https://storage.googleapis.com/zeni-apis.appspot.com/images/bills-view-mobile",reimbursements:"https://storage.googleapis.com/zeni-apis.appspot.com/images/reimbursement-view-mobile",vendors:"https://storage.googleapis.com/zeni-apis.appspot.com/images/vendors-view-mobile",users_and_roles:"",rewards:"",cards:"",checking:"https://storage.googleapis.com/zeni-apis.appspot.com/images/accounts-view-mobile",treasury:"",accounting:"",approval_rules:"",bank_connections:"",business_verification:"",company_settings:"",company_details:"",integrations:"",my_profile:"",my_bank_connections:"",notifications:"",billing:"",performance:"",ai_cfo:"",command_center:"",task_checklist:"",transaction_categorization:"",je_schedules:"",missing_receipts:"",flux_analysis:"",reconciliation:""},normal:{home:"https://storage.googleapis.com/zeni-apis.appspot.com/images/dashboard-view-normal",reports:"https://storage.googleapis.com/zeni-apis.appspot.com/images/reports-view-normal",forecast:"https://storage.googleapis.com/zeni-apis.appspot.com/images/forecast-view-normal",bills:"https://storage.googleapis.com/zeni-apis.appspot.com/images/bills-view-normal",reimbursements:"https://storage.googleapis.com/zeni-apis.appspot.com/images/reimbursement-view-normal",vendors:"https://storage.googleapis.com/zeni-apis.appspot.com/images/vendors-view-normal",users_and_roles:"",rewards:"",cards:"",checking:"https://storage.googleapis.com/zeni-apis.appspot.com/images/accounts-view-normal",treasury:"",accounting:"",approval_rules:"",bank_connections:"",business_verification:"",company_settings:"",company_details:"",integrations:"",my_profile:"",my_bank_connections:"",notifications:"",billing:"",performance:"",ai_cfo:"",command_center:"",task_checklist:"",transaction_categorization:"",je_schedules:"",missing_receipts:"",flux_analysis:"",reconciliation:""}};function R({menuItem:e,onDemoClick:s,onGoBack:m}){const a=_(),o=w(),u=`${W[o==="small"?"mobile":"normal"][e]}-${a.mode}.png`,{featurePreview:c}=y.getLocalizedStrings(),l=c.popups[e],b=a.mode==="light"?new n(r.backgroundGradient1Light):new n(r.backgroundGradient1Dark),h=a.mode==="light"?new n(r.backgroundGradient2Light):new n(r.backgroundGradient2Dark),f={onOkClick:()=>{s()},onCancelClick:()=>{m()}};return i.jsxs(z,{children:[i.jsx(C,{src:u,alt:"feature-preview",loading:"lazy"}),i.jsx(v,{titleComponent:i.jsx(x,{children:l.title}),descriptionComponent:i.jsx(k,{children:l.text}),primaryButtonText:c.scheduleDemo,secondaryButtonText:c.goBack,action:f,primaryButtonWidth:t.buttonWidth.value(o),secondaryButtonWidth:t.buttonWidth.value(o),style:{background:`radial-gradient(50% 50% at 50% 50%, ${b} 0%, ${h} 100%)`,backdropFilter:"blur(2px)",width:t.popupContainerWidth.valuePercentage(o),left:t.popupContainerLeft.value(o)},containerStyle:{border:`1px solid ${a.colors.grey1}`,minWidth:t.popupWidth.valuePx(o)}})]})}export{R as default};
11
+ `,W={mobile:{home:"https://storage.googleapis.com/zeni-apis.appspot.com/images/dashboard-view-mobile",reports:"https://storage.googleapis.com/zeni-apis.appspot.com/images/reports-view-mobile",forecast:"https://storage.googleapis.com/zeni-apis.appspot.com/images/forecast-view-mobile",bills:"https://storage.googleapis.com/zeni-apis.appspot.com/images/bills-view-mobile",reimbursements:"https://storage.googleapis.com/zeni-apis.appspot.com/images/reimbursement-view-mobile",vendors:"https://storage.googleapis.com/zeni-apis.appspot.com/images/vendors-view-mobile",users_and_roles:"",rewards:"",cards:"",checking:"https://storage.googleapis.com/zeni-apis.appspot.com/images/accounts-view-mobile",treasury:"",accounting:"",approval_rules:"",bank_connections:"",business_verification:"",company_settings:"",company_details:"",integrations:"",my_profile:"",my_bank_connections:"",notifications:"",billing:"",performance:"",ai_cfo:"",command_center:"",task_checklist:"",transaction_categorization:"",je_schedules:"",missing_receipts:"",flux_analysis:"",reconciliation:""},normal:{home:"https://storage.googleapis.com/zeni-apis.appspot.com/images/dashboard-view-normal",reports:"https://storage.googleapis.com/zeni-apis.appspot.com/images/reports-view-normal",forecast:"https://storage.googleapis.com/zeni-apis.appspot.com/images/forecast-view-normal",bills:"https://storage.googleapis.com/zeni-apis.appspot.com/images/bills-view-normal",reimbursements:"https://storage.googleapis.com/zeni-apis.appspot.com/images/reimbursement-view-normal",vendors:"https://storage.googleapis.com/zeni-apis.appspot.com/images/vendors-view-normal",users_and_roles:"",rewards:"",cards:"",checking:"https://storage.googleapis.com/zeni-apis.appspot.com/images/accounts-view-normal",treasury:"",accounting:"",approval_rules:"",bank_connections:"",business_verification:"",company_settings:"",company_details:"",integrations:"",my_profile:"",my_bank_connections:"",notifications:"",billing:"",performance:"",ai_cfo:"",command_center:"",task_checklist:"",transaction_categorization:"",je_schedules:"",missing_receipts:"",flux_analysis:"",reconciliation:""}};function J({menuItem:e,onDemoClick:a,onGoBack:m}){const s=_(),o=w(),u=`${W[o==="small"?"mobile":"normal"][e]}-${s.mode}.png`,{featurePreview:c}=y.getLocalizedStrings(),l=c.popups[e],b=s.mode==="light"?new n(r.backgroundGradient1Light):new n(r.backgroundGradient1Dark),h=s.mode==="light"?new n(r.backgroundGradient2Light):new n(r.backgroundGradient2Dark),f={onOkClick:()=>{a()},onCancelClick:()=>{m()}};return i.jsxs(x,{children:[i.jsx(C,{src:u,alt:"feature-preview",loading:"lazy"}),i.jsx(v,{titleComponent:i.jsx(z,{children:l.title}),descriptionComponent:i.jsx(k,{children:l.text}),primaryButtonText:c.scheduleDemo,secondaryButtonText:c.goBack,action:f,primaryButtonWidth:t.buttonWidth.value(o),secondaryButtonWidth:t.buttonWidth.value(o),style:{background:`radial-gradient(50% 50% at 50% 50%, ${b} 0%, ${h} 100%)`,backdropFilter:"blur(2px)",width:t.popupContainerWidth.valuePercentage(o),left:t.popupContainerLeft.value(o)},containerStyle:{border:`1px solid ${s.colors.grey1}`,minWidth:t.popupWidth.valuePx(o)}})]})}export{J as default};
@@ -0,0 +1 @@
1
+ import{j as s}from"./pdf-DWoGjGSw.js";import{a as r}from"./sentry-BoIfGJBF.js";import{jU as c,jV as f,jW as l,jy as m}from"./index-T6cemxxv.js";import"./mui-GaW5Gk_e.js";import p from"./NotFoundScreen-LuCzwVbP.js";import{j as u,h as b}from"./core-BSWMBnrJ.js";(function(){try{var a=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},e=new a.Error().stack;e&&(a._sentryDebugIds=a._sentryDebugIds||{},a._sentryDebugIds[e]="0e5e80fa-a0db-4cf8-96a7-127a1c4a96d6",a._sentryDebugIdIdentifier="sentry-dbid-0e5e80fa-a0db-4cf8-96a7-127a1c4a96d6")}catch{}})();const D=()=>{const a=u(),e=b(),t=r.useCallback(()=>{window.open("https://www.zeni.ai/demo/request","_blank")},[]),d=r.useCallback(()=>{(()=>{const n=m(e.state?.pathnameStackToGoBack),i=n.poppedPathname??k();a(i,{state:{pathnameStackToGoBack:n.newStack}})})()},[]),o=c(e.pathname);return o!=null?s.jsx(f,{menuItem:l(o),onDemoClick:t,onGoBack:d}):s.jsx(p,{})},k=(a=2)=>{let e="../";for(let t=0;t<a;t++)e=`${e}../`;return e};export{D as F};
@@ -1,4 +1,4 @@
1
- import{e as M,V as l,O as K,cc as B,dX as q,y as Q,c6 as Z,x as I,fH as W,o,b as F,dP as de,S as Y,fz as ne,fA as ce,a as pe,f as u,m,g0 as ue,cp as he,e4 as fe,k as xe,b3 as ye,w as _,cM as ve,b4 as ge,b2 as we}from"./index-C-nTPjDF.js";import{n as d}from"./mui-BOwjqiG-.js";import{a as R}from"./sentry-Dd2vHz0L.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},s=new e.Error().stack;s&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[s]="ec97c322-dba8-455a-8d53-51abe09e6d9d",e._sentryDebugIdIdentifier="sentry-dbid-ec97c322-dba8-455a-8d53-51abe09e6d9d")}catch{}})();const $={width:new I(343,580,726),height:new I(m[6],m[6]),controlHeight:new I(m[6],m[6]),paddingLeftRight:new I(m[3],m[4]),paddingTop:new I(m[3],m[3]),paddingBottom:new I(m[3],m[2]),labelMarginRight:new I(m[3],m[4])};function $e({isDisabled:e,label:s,firstText:i,secondText:p,style:k,isFieldError:j}){const f=M(),{formState:{errors:O}}=B(),x=q(O,i.name),w=q(O,p.name),t=Q();return l.jsxs(ke,{size:f,style:k,isDisabled:e!=null,isErrorFirstText:x,isErrorSecondText:w,"data-testid":F("labeled-multi-text-field",i.name),children:[l.jsx(Z,{isDisabled:e,label:s.label,style:{marginRight:$.labelMarginRight.value(f),width:s.width??"auto",color:t.colors.champion}}),l.jsxs(je,{labelWidth:s.width,children:[l.jsxs(ie,{className:"firstField",isDisabled:i.isDisabled,children:[l.jsx(W,{type:i.type,name:i.name,placeholder:i.placeholder,prefix:"$",allowNegative:!1,isNumericString:!1,inputMode:"numeric",returnValueType:"floatValue",registerOptions:i.options,decimalScale:0,allowLeadingZeros:!1,thousandSeparator:!0,thousandsGroupStyle:"thousand",isDisabled:i.isDisabled?"disabled":void 0,style:{display:"flex",flexGrow:1,width:"-webkit-fill-available",height:$.controlHeight.value(f),cursor:"inherit",backgroundColor:t.colors.grey3,borderRadius:o.sp1,color:t.colors.primary},hoverBgColor:t.colors.background,bgColor:t.colors.background,disabledColor:t.colors.background,isFieldError:j,defaultValue:i.defaultValue}),i.additionalInfoLabel&&i.isDisabled||x&&i.additionalErrorLabel?l.jsx(te,{isError:x,children:x?i.additionalErrorLabel:i.additionalInfoLabel}):null]}),p.hideField?null:l.jsxs(l.Fragment,{children:[l.jsxs(Oe,{children:[l.jsx(oe,{}),l.jsx(Le,{}),l.jsx(oe,{})]}),l.jsxs(ie,{className:"secondField",isDisabled:p.isDisabled,children:[l.jsx(W,{type:p.type,name:p.name,placeholder:p.placeholder,prefix:"$",allowNegative:!1,isNumericString:!1,inputMode:"numeric",returnValueType:"floatValue",registerOptions:p.options,decimalScale:0,allowLeadingZeros:!1,thousandSeparator:!0,thousandsGroupStyle:"thousand",isDisabled:p.isDisabled?"disabled":void 0,style:{display:"flex",flexGrow:1,width:"-webkit-fill-available",height:$.controlHeight.value(f),cursor:"inherit",backgroundColor:t.colors.grey3,borderRadius:o.sp1,color:t.colors.primary},hoverBgColor:t.colors.background,bgColor:t.colors.background,disabledColor:t.colors.background,isFieldError:j,defaultValue:i.defaultValue}),l.jsx(te,{isError:w,children:p.additionalInfoLabel})]})]})]})]})}const ke=d.div`
1
+ import{J as B,V as l,O as K,c3 as M,dL as H,y as X,bZ as Z,b as I,fx as W,o,a6 as F,dD as de,Q as Y,fp as ne,fq as ce,i as pe,e as u,u as m,fV as ue,cg as he,dU as fe,m as xe,b3 as ye,j as _,cD as ve,b4 as ge,b2 as we}from"./index-T6cemxxv.js";import{n as d}from"./mui-GaW5Gk_e.js";import{a as R}from"./sentry-BoIfGJBF.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},s=new e.Error().stack;s&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[s]="0c7ae3b8-20e4-4e53-8200-98d7b8954882",e._sentryDebugIdIdentifier="sentry-dbid-0c7ae3b8-20e4-4e53-8200-98d7b8954882")}catch{}})();const $={width:new I(343,580,726),height:new I(m[6],m[6]),controlHeight:new I(m[6],m[6]),paddingLeftRight:new I(m[3],m[4]),paddingTop:new I(m[3],m[3]),paddingBottom:new I(m[3],m[2]),labelMarginRight:new I(m[3],m[4])};function $e({isDisabled:e,label:s,firstText:i,secondText:p,style:k,isFieldError:j}){const f=B(),{formState:{errors:O}}=M(),x=H(O,i.name),w=H(O,p.name),t=X();return l.jsxs(ke,{size:f,style:k,isDisabled:e!=null,isErrorFirstText:x,isErrorSecondText:w,"data-testid":F("labeled-multi-text-field",i.name),children:[l.jsx(Z,{isDisabled:e,label:s.label,style:{marginRight:$.labelMarginRight.value(f),width:s.width??"auto",color:t.colors.champion}}),l.jsxs(je,{labelWidth:s.width,children:[l.jsxs(ie,{className:"firstField",isDisabled:i.isDisabled,children:[l.jsx(W,{type:i.type,name:i.name,placeholder:i.placeholder,prefix:"$",allowNegative:!1,isNumericString:!1,inputMode:"numeric",returnValueType:"floatValue",registerOptions:i.options,decimalScale:0,allowLeadingZeros:!1,thousandSeparator:!0,thousandsGroupStyle:"thousand",isDisabled:i.isDisabled?"disabled":void 0,style:{display:"flex",flexGrow:1,width:"-webkit-fill-available",height:$.controlHeight.value(f),cursor:"inherit",backgroundColor:t.colors.grey3,borderRadius:o.sp1,color:t.colors.primary},hoverBgColor:t.colors.background,bgColor:t.colors.background,disabledColor:t.colors.background,isFieldError:j,defaultValue:i.defaultValue}),i.additionalInfoLabel&&i.isDisabled||x&&i.additionalErrorLabel?l.jsx(te,{isError:x,children:x?i.additionalErrorLabel:i.additionalInfoLabel}):null]}),p.hideField?null:l.jsxs(l.Fragment,{children:[l.jsxs(Oe,{children:[l.jsx(oe,{}),l.jsx(Le,{}),l.jsx(oe,{})]}),l.jsxs(ie,{className:"secondField",isDisabled:p.isDisabled,children:[l.jsx(W,{type:p.type,name:p.name,placeholder:p.placeholder,prefix:"$",allowNegative:!1,isNumericString:!1,inputMode:"numeric",returnValueType:"floatValue",registerOptions:p.options,decimalScale:0,allowLeadingZeros:!1,thousandSeparator:!0,thousandsGroupStyle:"thousand",isDisabled:p.isDisabled?"disabled":void 0,style:{display:"flex",flexGrow:1,width:"-webkit-fill-available",height:$.controlHeight.value(f),cursor:"inherit",backgroundColor:t.colors.grey3,borderRadius:o.sp1,color:t.colors.primary},hoverBgColor:t.colors.background,bgColor:t.colors.background,disabledColor:t.colors.background,isFieldError:j,defaultValue:i.defaultValue}),l.jsx(te,{isError:w,children:p.additionalInfoLabel})]})]})]})]})}const ke=d.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  align-items: flex-start;
@@ -95,7 +95,7 @@ import{e as M,V as l,O as K,cc as B,dX as q,y as Q,c6 as Z,x as I,fH as W,o,b as
95
95
  color: ${e=>e.isError?u.important:e.theme.colors.hero};
96
96
  white-space: pre-line;
97
97
  margin-top: ${o.sp1};
98
- `;function Ie({isDisabled:e,label:s,firstText:i,secondText:p,style:k,isFieldError:j}){const f=M(),{formState:{errors:O}}=B(),x=q(O,i.name),w=q(O,p.name),t=Q();return l.jsxs(Te,{size:f,style:k,isDisabled:e!=null,isErrorFirstText:x,isErrorSecondText:w,children:[l.jsx(Z,{isDisabled:e,label:s.label,style:{marginRight:$.labelMarginRight.value(f),width:s.width??"auto",color:t.colors.champion}}),l.jsxs(Se,{labelWidth:s.width,children:[p.hideField?null:l.jsxs(Ue,{children:[l.jsx(re,{}),l.jsx(Ee,{isAdditionalLabel:(!!i.additionalInfoLabel&&i.isDisabled)===!0}),l.jsx(re,{})]}),l.jsxs(De,{children:[l.jsxs(se,{className:"firstField",isDisabled:i.isDisabled,children:[l.jsx(W,{type:i.type,name:i.name,placeholder:i.placeholder,prefix:"$",allowNegative:!1,isNumericString:!1,inputMode:"numeric",returnValueType:"floatValue",registerOptions:i.options,decimalScale:0,allowLeadingZeros:!1,thousandSeparator:!0,thousandsGroupStyle:"thousand",isDisabled:i.isDisabled?"disabled":void 0,style:{display:"flex",flexGrow:1,width:"-webkit-fill-available",height:$.controlHeight.value(f),cursor:"inherit",backgroundColor:t.colors.grey3,borderRadius:o.sp1,color:t.colors.primary},hoverBgColor:t.colors.background,bgColor:t.colors.background,disabledColor:t.colors.background,isFieldError:j,defaultValue:i.defaultValue}),i.additionalInfoLabel&&i.isDisabled||x&&i.additionalErrorLabel?l.jsx(ae,{isError:x,children:x?i.additionalErrorLabel:i.additionalInfoLabel}):null]}),p.hideField?null:l.jsxs(se,{className:"secondField",isDisabled:p.isDisabled,children:[l.jsx(W,{type:p.type,name:p.name,placeholder:p.placeholder,prefix:"$",allowNegative:!1,isNumericString:!1,inputMode:"numeric",returnValueType:"floatValue",registerOptions:p.options,decimalScale:0,allowLeadingZeros:!1,thousandSeparator:!0,thousandsGroupStyle:"thousand",isDisabled:p.isDisabled?"disabled":void 0,style:{display:"flex",flexGrow:1,width:"-webkit-fill-available",height:$.controlHeight.value(f),cursor:"inherit",backgroundColor:t.colors.grey3,borderRadius:o.sp1,color:t.colors.primary},hoverBgColor:t.colors.background,bgColor:t.colors.background,disabledColor:t.colors.background,isFieldError:j,defaultValue:i.defaultValue}),l.jsx(ae,{isError:w,children:p.additionalInfoLabel})]})]})]})]})}const Te=d.div`
98
+ `;function Ie({isDisabled:e,label:s,firstText:i,secondText:p,style:k,isFieldError:j}){const f=B(),{formState:{errors:O}}=M(),x=H(O,i.name),w=H(O,p.name),t=X();return l.jsxs(Te,{size:f,style:k,isDisabled:e!=null,isErrorFirstText:x,isErrorSecondText:w,children:[l.jsx(Z,{isDisabled:e,label:s.label,style:{marginRight:$.labelMarginRight.value(f),width:s.width??"auto",color:t.colors.champion}}),l.jsxs(De,{labelWidth:s.width,children:[p.hideField?null:l.jsxs(Ue,{children:[l.jsx(re,{}),l.jsx(Ee,{isAdditionalLabel:(!!i.additionalInfoLabel&&i.isDisabled)===!0}),l.jsx(re,{})]}),l.jsxs(Se,{children:[l.jsxs(se,{className:"firstField",isDisabled:i.isDisabled,children:[l.jsx(W,{type:i.type,name:i.name,placeholder:i.placeholder,prefix:"$",allowNegative:!1,isNumericString:!1,inputMode:"numeric",returnValueType:"floatValue",registerOptions:i.options,decimalScale:0,allowLeadingZeros:!1,thousandSeparator:!0,thousandsGroupStyle:"thousand",isDisabled:i.isDisabled?"disabled":void 0,style:{display:"flex",flexGrow:1,width:"-webkit-fill-available",height:$.controlHeight.value(f),cursor:"inherit",backgroundColor:t.colors.grey3,borderRadius:o.sp1,color:t.colors.primary},hoverBgColor:t.colors.background,bgColor:t.colors.background,disabledColor:t.colors.background,isFieldError:j,defaultValue:i.defaultValue}),i.additionalInfoLabel&&i.isDisabled||x&&i.additionalErrorLabel?l.jsx(ae,{isError:x,children:x?i.additionalErrorLabel:i.additionalInfoLabel}):null]}),p.hideField?null:l.jsxs(se,{className:"secondField",isDisabled:p.isDisabled,children:[l.jsx(W,{type:p.type,name:p.name,placeholder:p.placeholder,prefix:"$",allowNegative:!1,isNumericString:!1,inputMode:"numeric",returnValueType:"floatValue",registerOptions:p.options,decimalScale:0,allowLeadingZeros:!1,thousandSeparator:!0,thousandsGroupStyle:"thousand",isDisabled:p.isDisabled?"disabled":void 0,style:{display:"flex",flexGrow:1,width:"-webkit-fill-available",height:$.controlHeight.value(f),cursor:"inherit",backgroundColor:t.colors.grey3,borderRadius:o.sp1,color:t.colors.primary},hoverBgColor:t.colors.background,bgColor:t.colors.background,disabledColor:t.colors.background,isFieldError:j,defaultValue:i.defaultValue}),l.jsx(ae,{isError:w,children:p.additionalInfoLabel})]})]})]})]})}const Te=d.div`
99
99
  display: flex;
100
100
  flex-direction: column;
101
101
  align-items: flex-start;
@@ -165,14 +165,14 @@ import{e as M,V as l,O as K,cc as B,dX as q,y as Q,c6 as Z,x as I,fH as W,o,b as
165
165
  }
166
166
  }
167
167
  }
168
- `,Se=d.div`
168
+ `,De=d.div`
169
169
  display: flex;
170
170
  width: 100%;
171
171
  flex-grow: 1;
172
172
  input {
173
173
  text-align: left;
174
174
  }
175
- `,De=d.div`
175
+ `,Se=d.div`
176
176
  display: flex;
177
177
  flex-direction: column;
178
178
  width: 100%;
@@ -198,7 +198,7 @@ import{e as M,V as l,O as K,cc as B,dX as q,y as Q,c6 as Z,x as I,fH as W,o,b as
198
198
  color: ${e=>e.isError?u.important:e.theme.colors.hero};
199
199
  white-space: pre-line;
200
200
  margin-top: ${o.sp1};
201
- `;function nl(e){return M()==="small"?l.jsx(Ie,{...e}):l.jsx($e,{...e})}const Ce=({allOptions:e,selectedValue:s,name:i,onSelectedValueChanged:p,valueToLabel:k,disable:j=!1,defaultMenuIsOpen:f,placeholderLabel:O})=>{const{formState:{errors:x}}=B(),w=q(x,i??""),t=Q(),[T,E]=R.useState(void 0),[h,A]=R.useState(f),D=R.useCallback(n=>({value:n,label:k(n)}),[k]);R.useEffect(()=>{const n=s==null?void 0:D(s);E(n?.label===""?void 0:n)},[s,k,D]);const P=t.colors.grey5,V=t.colors.grey5,U=_.smallRegular,H=_.extraSmallRegular,C={control:(n,{selectProps:v})=>({...n,border:0,height:m[6],backgroundColor:v.menuIsOpen===!0?t.colors.background:w===!0?u.importantLight:t.colors.background,boxShadow:V,":hover":{fill:t.colors.primary,backgroundColor:t.colors.background,borderColor:"none"},width:"auto",minHeight:"auto",cursor:"pointer"}),container:n=>({...n,backgroundColor:V,width:"100%"}),singleValue:(n,{data:v})=>({...n,alignItems:"center",margin:`${o.sp0}`,height:`${o.sp4}`,color:v.value==="require_approval"?u.alertDark:u.successDark,..._.standardRegular.cssObject,width:"100%",textOverflow:"ellipsis"}),valueContainer:(n,{selectProps:v})=>({...n,maxWidth:"100%",cursor:"pointer",...H,overflow:"visible",minWidth:"auto",padding:0,display:"flex",justifyContent:v.menuIsOpen===!1?"flex-end":"flex-start",alignItems:"center",flexWrap:"nowrap",paddingLeft:o.sp3,marginRight:o.sp3,width:" -webkit-fill-available"}),menu:n=>({...n,backgroundColor:P,borderRadius:4,boxShadow:`${o.sp0} 2px ${o.sp2} ${t.colors.dropShadowHover}`,whiteSpace:"nowrap",zIndex:10,margin:0,width:"100%",WebkitJustifyContent:"unset",overflow:"hidden"}),menuList:n=>({...n,borderRadius:10}),placeholder:n=>({...n,width:"100%",height:m[4],..._.standardRegular.cssObject,color:w===!0?u.important:t.colors.grey1,display:"flex",justifyContent:"flex-start",alignItems:"center"}),option:(n,{isSelected:v,isFocused:z,isDisabled:a,data:g})=>({...n,...U,height:m[6],color:g.value==="require_approval"?u.alertDark:u.successDark,backgroundColor:v||z?t.colors.background:P,cursor:a?"not-allowed":"pointer",borderTop:g.topBorder===!0?`1px solid ${u.optionBorderLight}`:"none",":hover":{backgroundColor:t.colors.background},":first-div":{width:"100%"},"& label":{flex:1,paddingRight:"10px",cursor:a?"not-allowed":v?"default":"pointer"},zIndex:2}),input:(n,v)=>({color:t.colors.primary,overflow:"hidden",zIndex:2,height:m[4],width:v.selectProps.menuIsOpen?"auto":"0",position:"absolute",display:"flex",alignItems:"center",..._.standardRegular.cssObject})};return l.jsx(xe,{onClickAway:()=>{A(!1)},children:l.jsx(ye,{isMulti:!1,onChange:n=>{(v=>{p(v)})(n)},minMenuHeight:208,menuPlacement:"auto",menuShouldScrollIntoView:!1,defaultValue:T,value:T,placeholder:O,components:{Option:Ne,DropdownIndicator:Be,IndicatorSeparator:Ae,SingleValue:ze},hideSelectedOptions:!1,styles:C,options:(S=e,S.map(n=>D(n))),isClearable:!1,isSearchable:!1,isDisabled:j,defaultMenuIsOpen:h,"data-testid":F("single-select",i)},ve())});var S},ze=({children:e,...s})=>l.jsx(ge.SingleValue,{...s,children:e}),Ne=e=>{const{data:s,options:i,isFocused:p,label:k,isSelected:j}=e,f=i.find(x=>x.value===s.value),O=typeof s.label=="string"?s.label:s.value;return l.jsxs(ge.Option,{...e,children:[l.jsxs(Re,{"data-testid":F("single-select-option",O),children:[l.jsxs(Fe,{children:[l.jsx("label",{children:k}),p===!0&&f?.id!=null&&l.jsx(Pe,{children:f.id})]}),j?l.jsx(Ve,{children:l.jsx(Me,{className:"tick-icon"})}):null]}),f.additionalInfo!==""&&l.jsx(l.Fragment,{children:f.additionalInfo})]})},Re=d.div`
201
+ `;function nl(e){return B()==="small"?l.jsx(Ie,{...e}):l.jsx($e,{...e})}const Ce=({allOptions:e,selectedValue:s,name:i,onSelectedValueChanged:p,valueToLabel:k,disable:j=!1,defaultMenuIsOpen:f,placeholderLabel:O})=>{const{formState:{errors:x}}=M(),w=H(x,i??""),t=X(),[T,E]=R.useState(void 0),[h,q]=R.useState(f),S=R.useCallback(n=>({value:n,label:k(n)}),[k]);R.useEffect(()=>{const n=s==null?void 0:S(s);E(n?.label===""?void 0:n)},[s,k,S]);const P=t.colors.grey5,V=t.colors.grey5,U=_.smallRegular,A=_.extraSmallRegular,C={control:(n,{selectProps:v})=>({...n,border:0,height:m[6],backgroundColor:v.menuIsOpen===!0?t.colors.background:w===!0?u.importantLight:t.colors.background,boxShadow:V,":hover":{fill:t.colors.primary,backgroundColor:t.colors.background,borderColor:"none"},width:"auto",minHeight:"auto",cursor:"pointer"}),container:n=>({...n,backgroundColor:V,width:"100%"}),singleValue:(n,{data:v})=>({...n,alignItems:"center",margin:`${o.sp0}`,height:`${o.sp4}`,color:v.value==="require_approval"?u.alertDark:u.successDark,..._.standardRegular.cssObject,width:"100%",textOverflow:"ellipsis"}),valueContainer:(n,{selectProps:v})=>({...n,maxWidth:"100%",cursor:"pointer",...A,overflow:"visible",minWidth:"auto",padding:0,display:"flex",justifyContent:v.menuIsOpen===!1?"flex-end":"flex-start",alignItems:"center",flexWrap:"nowrap",paddingLeft:o.sp3,marginRight:o.sp3,width:" -webkit-fill-available"}),menu:n=>({...n,backgroundColor:P,borderRadius:4,boxShadow:`${o.sp0} 2px ${o.sp2} ${t.colors.dropShadowHover}`,whiteSpace:"nowrap",zIndex:10,margin:0,width:"100%",WebkitJustifyContent:"unset",overflow:"hidden"}),menuList:n=>({...n,borderRadius:10}),placeholder:n=>({...n,width:"100%",height:m[4],..._.standardRegular.cssObject,color:w===!0?u.important:t.colors.grey1,display:"flex",justifyContent:"flex-start",alignItems:"center"}),option:(n,{isSelected:v,isFocused:z,isDisabled:a,data:g})=>({...n,...U,height:m[6],color:g.value==="require_approval"?u.alertDark:u.successDark,backgroundColor:v||z?t.colors.background:P,cursor:a?"not-allowed":"pointer",borderTop:g.topBorder===!0?`1px solid ${u.optionBorderLight}`:"none",":hover":{backgroundColor:t.colors.background},":first-div":{width:"100%"},"& label":{flex:1,paddingRight:"10px",cursor:a?"not-allowed":v?"default":"pointer"},zIndex:2}),input:(n,v)=>({color:t.colors.primary,overflow:"hidden",zIndex:2,height:m[4],width:v.selectProps.menuIsOpen?"auto":"0",position:"absolute",display:"flex",alignItems:"center",..._.standardRegular.cssObject})};return l.jsx(xe,{onClickAway:()=>{q(!1)},children:l.jsx(ye,{isMulti:!1,onChange:n=>{(v=>{p(v)})(n)},minMenuHeight:208,menuPlacement:"auto",menuShouldScrollIntoView:!1,defaultValue:T,value:T,placeholder:O,components:{Option:Ne,DropdownIndicator:Me,IndicatorSeparator:qe,SingleValue:ze},hideSelectedOptions:!1,styles:C,options:(D=e,D.map(n=>S(n))),isClearable:!1,isSearchable:!1,isDisabled:j,defaultMenuIsOpen:h,"data-testid":F("single-select",i)},ve())});var D},ze=({children:e,...s})=>l.jsx(ge.SingleValue,{...s,children:e}),Ne=e=>{const{data:s,options:i,isFocused:p,label:k,isSelected:j}=e,f=i.find(x=>x.value===s.value),O=typeof s.label=="string"?s.label:s.value;return l.jsxs(ge.Option,{...e,children:[l.jsxs(Re,{"data-testid":F("single-select-option",O),children:[l.jsxs(Fe,{children:[l.jsx("label",{children:k}),p===!0&&f?.id!=null&&l.jsx(Pe,{children:f.id})]}),j?l.jsx(Ve,{children:l.jsx(Be,{className:"tick-icon"})}):null]}),f.additionalInfo!==""&&l.jsx(l.Fragment,{children:f.additionalInfo})]})},Re=d.div`
202
202
  display: flex;
203
203
  flex-direction: row;
204
204
  align-items: center;
@@ -220,12 +220,12 @@ import{e as M,V as l,O as K,cc as B,dX as q,y as Q,c6 as Z,x as I,fH as W,o,b as
220
220
  margin: 0 ${o.sp5} 0 ${o.sp3};
221
221
  `,Ve=d.div`
222
222
  display: flex;
223
- `,Me=d(we)`
223
+ `,Be=d(we)`
224
224
  width: ${o.sp3};
225
225
  height: ${o.sp3};
226
226
  cursor: pointer;
227
227
  color: ${e=>e.theme.colors.primary};
228
- `,Be=()=>null,Ae=()=>null,be=R.memo(({name:e,registerOptions:s,value:i,isDisabled:p,defaultMenuIsOpen:k,placeholderLabel:j})=>{const{control:f}=B(),O=i.allOptions.map(w=>w.value??""),x=w=>i.allOptions.find(t=>t.value===w.value)?.value;return l.jsx(fe,{name:e,control:f,defaultValue:i,rules:s,"data-testid":F("single-select-field",e),render:({field:{value:w,onChange:t}})=>l.jsx(Ce,{allOptions:O,onSelectedValueChanged:T=>{t({allOptions:i.allOptions,selectedOption:x(T)})},valueToLabel:T=>(E=>i.allOptions.filter(h=>h.value===E)[0]?.label??"")(T),selectedValue:w.selectedOption,disable:p,name:e,defaultMenuIsOpen:k,placeholderLabel:j})})},(e,s)=>Y(e,s)),L={width:new I(343,580,726),height:new I(m[6],m[6]),paddingLeftRight:new I(m[3],m[4]),paddingTopBottom:new I(m[3],m[3]),labelMarginRight:new I(m[3],m[4])},G=(e,s)=>`${e}.${s}`;function He({label:e,isDisabled:s,sectionId:i,style:p,approversPlaceholder:k,notifiersPlaceholder:j,userSelectPlaceholder:f,approveNotifyPlaceholder:O,allUserWithRoles:x,filteredApprovers:w,allAttributes:t,filteredAttributes:T,allAccountingClasses:E,stepsInfo:h,productType:A}){const D=M(),{commonSetUp:{approval:P}}=K.getLocalizedStrings(),V=w.length+T.length,U=x.map(a=>a.user),{control:H,setValue:C}=B(),{fields:S,replace:n}=de({name:i,control:H});R.useEffect(()=>{const a=S.map(r=>{const{actors:c,stepType:y}=r;return{selectedUsers:c.selectedUsers.map(b=>b.userId),selectedNonUsers:c.selectedNonUsers,selectedOption:y.selectedOption}}),g=h.map(r=>{const{actors:c,stepType:y}=r;return{selectedUsers:c.selectedUsers.map(b=>b.userId),selectedNonUsers:c.selectedNonUsers,selectedOption:y.selectedOption}});if(!Y(a,g)){const r=h.map((c,y)=>({actors:{selectedUsers:c.actors.selectedUsers,selectedNonUsers:c.actors.selectedNonUsers,allUsers:U,allNonUsers:ee(t)},stepIndex:y,stepType:{selectedOption:c.stepType.selectedOption,allOptions:le}}));n(r)}},[U,h,S,n,t]);const v=h[h.length-1],z=s!=null||V===0||v.actors.selectedUsers.length+v.actors.selectedNonUsers.length===0||!v.stepType.selectedOption;return l.jsxs(_e,{size:D,style:p,isDisabled:!1,isError:!1,children:[l.jsx(Z,{label:e.label,style:{marginRight:L.labelMarginRight.value(D),width:"auto"}}),h.map((a,g)=>l.jsxs(qe,{labelWidth:e.width,children:[l.jsxs(Xe,{children:[g+1,"."]}),l.jsx(Ze,{children:l.jsx(be,{name:G(`${i}.${a.stepIndex}`,"stepType"),value:a.stepType,isDisabled:g===0,defaultMenuIsOpen:g===1&&a.stepType.selectedOption==null,registerOptions:{required:!0,validate:r=>r!=null&&r.selectedOption!=null||s!=null},placeholderLabel:O})}),l.jsxs(Je,{children:[l.jsx(ne,{hideEmailTooltip:!1,shouldHaveBackgroundColor:!0,showBackgroundColorIfHasAnySelectedOption:!0,placeholderLabel:a.stepType.selectedOption==null?f:a.stepType.selectedOption==="require_approval"?k:j,name:G(`${i}.${a.stepIndex}`,"actors"),value:a.actors,operator:a.stepType!=null&&a.stepType.selectedOption==="require_approval"?"or":"and",registerOptions:{required:!0,validate:r=>r!=null&&(r.selectedUsers!=null&&r.selectedUsers.length>0||r.selectedNonUsers!=null&&r.selectedNonUsers.length>0)||s!=null},valueToSubtitle:r=>{const c=x.map(b=>b.role).find(b=>b?.userId===r),y=[];if(c!=null){const b=ce(c.userRoles,A);b.length>0&&y.push(b),c.accountingClassIDs.forEach(J=>{const N=E.find(X=>X.classId===J);N!=null&&N.className&&y.push(N.className)})}return y}}),a.stepIndex>0&&l.jsx(We,{onClick:()=>(r=>{const c=h.filter((y,b)=>b!==r);C(i,c)})(g)})]})]},S[g]?.id||g)),l.jsx(Ge,{disabled:z,children:l.jsx(pe,{onClick:()=>{const a=h[h.length-1].stepIndex,g=me(a+1,U,t);C(i,[...h,g])},style:{padding:`${o.sp1} ${o.sp2}`,borderRadius:o.sp1},label:P.addStep,size:"small",disabled:z,"data-testid":F("add-step-button-web")})})]})}const me=(e,s,i)=>({stepIndex:e,actors:{allUsers:s,selectedUsers:[],allNonUsers:ee(i),selectedNonUsers:[]},stepType:{allOptions:le,selectedOption:void 0}}),ee=e=>{const s=K.getLocalizedStrings().commonSetUp.approval.nonUsers;return e.map(i=>({label:s[i].label,value:i,position:"top",subtitles:[s[i].subTitle]}))},le=[{label:"Require",value:"require_approval"},{label:"Notify",value:"send_notification"}],_e=d.div`
228
+ `,Me=()=>null,qe=()=>null,be=R.memo(({name:e,registerOptions:s,value:i,isDisabled:p,defaultMenuIsOpen:k,placeholderLabel:j})=>{const{control:f}=M(),O=i.allOptions.map(w=>w.value??""),x=w=>i.allOptions.find(t=>t.value===w.value)?.value;return l.jsx(fe,{name:e,control:f,defaultValue:i,rules:s,"data-testid":F("single-select-field",e),render:({field:{value:w,onChange:t}})=>l.jsx(Ce,{allOptions:O,onSelectedValueChanged:T=>{t({allOptions:i.allOptions,selectedOption:x(T)})},valueToLabel:T=>(E=>i.allOptions.filter(h=>h.value===E)[0]?.label??"")(T),selectedValue:w.selectedOption,disable:p,name:e,defaultMenuIsOpen:k,placeholderLabel:j})})},(e,s)=>Y(e,s)),L={width:new I(343,580,726),height:new I(m[6],m[6]),paddingLeftRight:new I(m[3],m[4]),paddingTopBottom:new I(m[3],m[3]),labelMarginRight:new I(m[3],m[4])},G=(e,s)=>`${e}.${s}`;function Ae({label:e,isDisabled:s,sectionId:i,style:p,approversPlaceholder:k,notifiersPlaceholder:j,userSelectPlaceholder:f,approveNotifyPlaceholder:O,allUserWithRoles:x,filteredApprovers:w,allAttributes:t,filteredAttributes:T,allAccountingClasses:E,stepsInfo:h,productType:q}){const S=B(),{commonSetUp:{approval:P}}=K.getLocalizedStrings(),V=w.length+T.length,U=x.map(a=>a.user),{control:A,setValue:C}=M(),{fields:D,replace:n}=de({name:i,control:A});R.useEffect(()=>{const a=D.map(r=>{const{actors:c,stepType:y}=r;return{selectedUsers:c.selectedUsers.map(b=>b.userId),selectedNonUsers:c.selectedNonUsers,selectedOption:y.selectedOption}}),g=h.map(r=>{const{actors:c,stepType:y}=r;return{selectedUsers:c.selectedUsers.map(b=>b.userId),selectedNonUsers:c.selectedNonUsers,selectedOption:y.selectedOption}});if(!Y(a,g)){const r=h.map((c,y)=>({actors:{selectedUsers:c.actors.selectedUsers,selectedNonUsers:c.actors.selectedNonUsers,allUsers:U,allNonUsers:ee(t)},stepIndex:y,stepType:{selectedOption:c.stepType.selectedOption,allOptions:le}}));n(r)}},[U,h,D,n,t]);const v=h[h.length-1],z=s!=null||V===0||v.actors.selectedUsers.length+v.actors.selectedNonUsers.length===0||!v.stepType.selectedOption;return l.jsxs(_e,{size:S,style:p,isDisabled:!1,isError:!1,children:[l.jsx(Z,{label:e.label,style:{marginRight:L.labelMarginRight.value(S),width:"auto"}}),h.map((a,g)=>l.jsxs(He,{labelWidth:e.width,children:[l.jsxs(Qe,{children:[g+1,"."]}),l.jsx(Ze,{children:l.jsx(be,{name:G(`${i}.${a.stepIndex}`,"stepType"),value:a.stepType,isDisabled:g===0,defaultMenuIsOpen:g===1&&a.stepType.selectedOption==null,registerOptions:{required:!0,validate:r=>r!=null&&r.selectedOption!=null||s!=null},placeholderLabel:O})}),l.jsxs(Je,{children:[l.jsx(ne,{hideEmailTooltip:!1,shouldHaveBackgroundColor:!0,showBackgroundColorIfHasAnySelectedOption:!0,placeholderLabel:a.stepType.selectedOption==null?f:a.stepType.selectedOption==="require_approval"?k:j,name:G(`${i}.${a.stepIndex}`,"actors"),value:a.actors,operator:a.stepType!=null&&a.stepType.selectedOption==="require_approval"?"or":"and",registerOptions:{required:!0,validate:r=>r!=null&&(r.selectedUsers!=null&&r.selectedUsers.length>0||r.selectedNonUsers!=null&&r.selectedNonUsers.length>0)||s!=null},valueToSubtitle:r=>{const c=x.map(b=>b.role).find(b=>b?.userId===r),y=[];if(c!=null){const b=ce(c.userRoles,q);b.length>0&&y.push(b),c.accountingClassIDs.forEach(J=>{const N=E.find(Q=>Q.classId===J);N!=null&&N.className&&y.push(N.className)})}return y}}),a.stepIndex>0&&l.jsx(We,{onClick:()=>(r=>{const c=h.filter((y,b)=>b!==r);C(i,c)})(g)})]})]},D[g]?.id||g)),l.jsx(Ge,{disabled:z,children:l.jsx(pe,{onClick:()=>{const a=h[h.length-1].stepIndex,g=me(a+1,U,t);C(i,[...h,g])},style:{padding:`${o.sp1} ${o.sp2}`,borderRadius:o.sp1},label:P.addStep,size:"small",disabled:z,"data-testid":F("add-step-button-web")})})]})}const me=(e,s,i)=>({stepIndex:e,actors:{allUsers:s,selectedUsers:[],allNonUsers:ee(i),selectedNonUsers:[]},stepType:{allOptions:le,selectedOption:void 0}}),ee=e=>{const s=K.getLocalizedStrings().commonSetUp.approval.nonUsers;return e.map(i=>({label:s[i].label,value:i,position:"top",subtitles:[s[i].subTitle]}))},le=[{label:"Require",value:"require_approval"},{label:"Notify",value:"send_notification"}],_e=d.div`
229
229
  display: flex;
230
230
  flex-direction: column;
231
231
  align-items: flex-start;
@@ -267,7 +267,7 @@ import{e as M,V as l,O as K,cc as B,dX as q,y as Q,c6 as Z,x as I,fH as W,o,b as
267
267
  background-color: ${e=>e.isDisabled===!0?e.theme.colors.grey5:e.isError?u.importantLight:e.theme.colors.background};
268
268
  }
269
269
  }
270
- `,qe=d.div`
270
+ `,He=d.div`
271
271
  display: flex;
272
272
  width: 100%;
273
273
  align-items: baseline;
@@ -300,10 +300,10 @@ import{e as M,V as l,O as K,cc as B,dX as q,y as Q,c6 as Z,x as I,fH as W,o,b as
300
300
  gap: ${o.sp3};
301
301
  align-items: baseline;
302
302
  max-height: 300px;
303
- `,Xe=d.div`
303
+ `,Qe=d.div`
304
304
  width: ${o.sp5};
305
305
  color: ${e=>e.theme.colors.hero};
306
- `;function Ke({label:e,isDisabled:s,sectionId:i,style:p,approversPlaceholder:k,notifiersPlaceholder:j,userSelectPlaceholder:f,approveNotifyPlaceholder:O,allUserWithRoles:x,filteredApprovers:w,allAttributes:t,filteredAttributes:T,allAccountingClasses:E,stepsInfo:h,productType:A}){const D=M(),{commonSetUp:{approval:P}}=K.getLocalizedStrings(),V=w.length+T.length,U=x.map(a=>a.user),{control:H,setValue:C}=B(),{fields:S,replace:n}=de({name:i,control:H});R.useEffect(()=>{const a=S.map(r=>{const{actors:c,stepType:y}=r;return{selectedUsers:c.selectedUsers.map(b=>b.userId),selectedNonUsers:c.selectedNonUsers,selectedOption:y.selectedOption}}),g=h.map(r=>{const{actors:c,stepType:y}=r;return{selectedUsers:c.selectedUsers.map(b=>b.userId),selectedNonUsers:c.selectedNonUsers,selectedOption:y.selectedOption}});if(!Y(a,g)){const r=h.map((c,y)=>({actors:{selectedUsers:c.actors.selectedUsers,selectedNonUsers:c.actors.selectedNonUsers,allUsers:U,allNonUsers:ee(t)},stepIndex:y,stepType:{selectedOption:c.stepType.selectedOption,allOptions:le}}));n(r)}},[U,h,S,n,t]);const v=h[h.length-1],z=s!=null||V===0||v.actors.selectedUsers.length+v.actors.selectedNonUsers.length===0||!v.stepType.selectedOption;return l.jsxs(Qe,{size:D,style:p,isDisabled:!1,isError:!1,children:[l.jsx(Z,{label:e.label,style:{marginRight:L.labelMarginRight.value(D),width:"auto"}}),h.map((a,g)=>l.jsxs(Ye,{labelWidth:e.width,children:[l.jsxs(sl,{children:[g+1,"."]}),l.jsxs(tl,{children:[l.jsx(be,{name:G(`${i}.${a.stepIndex}`,"stepType"),value:a.stepType,isDisabled:g===0,defaultMenuIsOpen:g===1&&a.stepType.selectedOption==null,registerOptions:{required:!0,validate:r=>r!=null&&r.selectedOption!=null||s!=null},placeholderLabel:O}),l.jsxs(il,{children:[l.jsx(ol,{children:l.jsx(ne,{hideEmailTooltip:!1,shouldHaveBackgroundColor:!0,showBackgroundColorIfHasAnySelectedOption:!0,placeholderLabel:a.stepType.selectedOption==null?f:a.stepType.selectedOption==="require_approval"?k:j,name:G(`${i}.${a.stepIndex}`,"actors"),value:a.actors,operator:a.stepType!=null&&a.stepType.selectedOption==="require_approval"?"or":"and",registerOptions:{required:!0,validate:r=>r!=null&&(r.selectedUsers!=null&&r.selectedUsers.length>0||r.selectedNonUsers!=null&&r.selectedNonUsers.length>0)||s!=null},valueToSubtitle:r=>{const c=x.map(b=>b.role).find(b=>b?.userId===r),y=[];if(c!=null){const b=ce(c.userRoles,A);b.length>0&&y.push(b),c.accountingClassIDs.forEach(J=>{const N=E.find(X=>X.classId===J);N!=null&&N.className&&y.push(N.className)})}return y}})}),a.stepIndex>0&&l.jsx(el,{onClick:()=>(r=>{const c=h.filter((y,b)=>b!==r);C(i,c)})(g),"data-testid":F("delete-step",g.toString())})]})]})]},S[g]?.id||g)),l.jsx(ll,{disabled:z,children:l.jsx(pe,{onClick:()=>{const a=h[h.length-1].stepIndex,g=me(a+1,U,t);C(i,[...h,g])},style:{width:"100%"},label:P.addStep,size:"standard",variant:"light_transparent",disabled:z,"data-testid":F("add-step-button-small")})})]})}const Qe=d.div`
306
+ `;function Ke({label:e,isDisabled:s,sectionId:i,style:p,approversPlaceholder:k,notifiersPlaceholder:j,userSelectPlaceholder:f,approveNotifyPlaceholder:O,allUserWithRoles:x,filteredApprovers:w,allAttributes:t,filteredAttributes:T,allAccountingClasses:E,stepsInfo:h,productType:q}){const S=B(),{commonSetUp:{approval:P}}=K.getLocalizedStrings(),V=w.length+T.length,U=x.map(a=>a.user),{control:A,setValue:C}=M(),{fields:D,replace:n}=de({name:i,control:A});R.useEffect(()=>{const a=D.map(r=>{const{actors:c,stepType:y}=r;return{selectedUsers:c.selectedUsers.map(b=>b.userId),selectedNonUsers:c.selectedNonUsers,selectedOption:y.selectedOption}}),g=h.map(r=>{const{actors:c,stepType:y}=r;return{selectedUsers:c.selectedUsers.map(b=>b.userId),selectedNonUsers:c.selectedNonUsers,selectedOption:y.selectedOption}});if(!Y(a,g)){const r=h.map((c,y)=>({actors:{selectedUsers:c.actors.selectedUsers,selectedNonUsers:c.actors.selectedNonUsers,allUsers:U,allNonUsers:ee(t)},stepIndex:y,stepType:{selectedOption:c.stepType.selectedOption,allOptions:le}}));n(r)}},[U,h,D,n,t]);const v=h[h.length-1],z=s!=null||V===0||v.actors.selectedUsers.length+v.actors.selectedNonUsers.length===0||!v.stepType.selectedOption;return l.jsxs(Xe,{size:S,style:p,isDisabled:!1,isError:!1,children:[l.jsx(Z,{label:e.label,style:{marginRight:L.labelMarginRight.value(S),width:"auto"}}),h.map((a,g)=>l.jsxs(Ye,{labelWidth:e.width,children:[l.jsxs(sl,{children:[g+1,"."]}),l.jsxs(tl,{children:[l.jsx(be,{name:G(`${i}.${a.stepIndex}`,"stepType"),value:a.stepType,isDisabled:g===0,defaultMenuIsOpen:g===1&&a.stepType.selectedOption==null,registerOptions:{required:!0,validate:r=>r!=null&&r.selectedOption!=null||s!=null},placeholderLabel:O}),l.jsxs(il,{children:[l.jsx(ol,{children:l.jsx(ne,{hideEmailTooltip:!1,shouldHaveBackgroundColor:!0,showBackgroundColorIfHasAnySelectedOption:!0,placeholderLabel:a.stepType.selectedOption==null?f:a.stepType.selectedOption==="require_approval"?k:j,name:G(`${i}.${a.stepIndex}`,"actors"),value:a.actors,operator:a.stepType!=null&&a.stepType.selectedOption==="require_approval"?"or":"and",registerOptions:{required:!0,validate:r=>r!=null&&(r.selectedUsers!=null&&r.selectedUsers.length>0||r.selectedNonUsers!=null&&r.selectedNonUsers.length>0)||s!=null},valueToSubtitle:r=>{const c=x.map(b=>b.role).find(b=>b?.userId===r),y=[];if(c!=null){const b=ce(c.userRoles,q);b.length>0&&y.push(b),c.accountingClassIDs.forEach(J=>{const N=E.find(Q=>Q.classId===J);N!=null&&N.className&&y.push(N.className)})}return y}})}),a.stepIndex>0&&l.jsx(el,{onClick:()=>(r=>{const c=h.filter((y,b)=>b!==r);C(i,c)})(g),"data-testid":F("delete-step",g.toString())})]})]})]},D[g]?.id||g)),l.jsx(ll,{disabled:z,children:l.jsx(pe,{onClick:()=>{const a=h[h.length-1].stepIndex,g=me(a+1,U,t);C(i,[...h,g])},style:{width:"100%"},label:P.addStep,size:"standard",variant:"light_transparent",disabled:z,"data-testid":F("add-step-button-small")})})]})}const Xe=d.div`
307
307
  display: flex;
308
308
  flex-direction: column;
309
309
  align-items: flex-start;
@@ -387,4 +387,4 @@ import{e as M,V as l,O as K,cc as B,dX as q,y as Q,c6 as Z,x as I,fH as W,o,b as
387
387
  `,sl=d.div`
388
388
  width: ${o.sp4};
389
389
  color: ${e=>e.theme.colors.hero};
390
- `;function cl(e){return M()==="small"?l.jsx(Ke,{...e}):l.jsx(He,{...e})}export{nl as b,cl as f,le as l,ee as o};
390
+ `;function cl(e){return B()==="small"?l.jsx(Ke,{...e}):l.jsx(Ae,{...e})}export{nl as b,cl as f,le as l,ee as o};