@zeniai/web-cockpit-ui 1.15.44-dev → 1.15.45-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 (344) hide show
  1. package/dist/assets/ACHDetailsPage-D2Xav-UW-S35Uhoxw.js +21 -0
  2. package/dist/assets/{AIPerformancePage-Bi73UpGb-fWDWILJ2.js → AIPerformancePage-DlTdGosv-wmtN61X5.js} +104 -104
  3. package/dist/assets/AccountInfoPage-B8-8kUGD-Dn2GAcNI.js +18 -0
  4. package/dist/assets/{AccountInfoPageContent-Dg0u2dUY-CwC-_xBB.js → AccountInfoPageContent-BS2TBUSE-C5aZvKIb.js} +21 -21
  5. package/dist/assets/{AccountLockedInfoModal-CfkJI6XB-C47nbz46.js → AccountLockedInfoModal-aukulrV7-BnyIzxt7.js} +11 -11
  6. package/dist/assets/{AccountReconDetailsDrawerPage-YaScsZ9w-naExi3CF.js → AccountReconDetailsDrawerPage-kQJld6_N-mlekIKpg.js} +19 -19
  7. package/dist/assets/AccountRow-BiEYR4Y1-BYraCT3U.js +298 -0
  8. package/dist/assets/{AccountsPromoCardStack-Bm3kl_kc-CgD_G72F.js → AccountsPromoCardStack-DBQnDPXQ-Cg1k8iOd.js} +32 -32
  9. package/dist/assets/AddAddressForCardDrawer-DTnfk8K7-CSPtYmJ3.js +6 -0
  10. package/dist/assets/{AddToWalletPage-fW711jLQ-BRrd9uh8.js → AddToWalletPage-C4EwdLZJ-CuTX3g12.js} +19 -19
  11. package/dist/assets/{AgingReportsPage-BRMI5zyE-DecoJ-JY.js → AgingReportsPage-vAvkUfOS-CY0Z3qTp.js} +7 -7
  12. package/dist/assets/{AllUserItems-CJvwVAIJ-BTHbX-kV.js → AllUserItems-qrYg6Gdx-CdYLC57_.js} +11 -11
  13. package/dist/assets/ApAgingDetailPage-BRYQMwo2-BLS80uGo.js +46 -0
  14. package/dist/assets/{AppBasePage-BncZeYVM-BmWxuFMK.js → AppBasePage-DrE-W6d7-BJchX_M5.js} +8 -8
  15. package/dist/assets/{AppDrawerContent-nr81m7Yo-B9REx-fp.js → AppDrawerContent-ATbZG_cu-DjhYjDhr.js} +5 -5
  16. package/dist/assets/ApprovalRulesSettingsPage-5MYC1I6k-B_-ue4-L.js +47 -0
  17. package/dist/assets/{ArAgingChart-C6JBnoyC-CUJeSTbJ.js → ArAgingChart-CuzG9AZY-tEsYzpMw.js} +6 -6
  18. package/dist/assets/{ArAgingDetailPage-KRxBhwoF-Bs_qr7kj.js → ArAgingDetailPage-DwRkcLEu-CyeLsbpX.js} +6 -6
  19. package/dist/assets/{AttachmentView-BQxK0CVV-CCdx-RAZ.js → AttachmentView-BrQRChzc-CLMui9x5.js} +6 -6
  20. package/dist/assets/{BankAccountSection-BNyucHO2-DmJIO1WC.js → BankAccountSection-hcKEMs80-C6Jbh-5h.js} +14 -14
  21. package/dist/assets/{BankAccountWarningSection-CXuL4u5y-g-HZT5cn.js → BankAccountWarningSection-CpxVDMSZ-C7N2KxYy.js} +10 -10
  22. package/dist/assets/{BankConnectionsSettingsPage-CBgj0E9b-D9RluevF.js → BankConnectionsSettingsPage-Bdw1K00m-BvzDHkyQ.js} +27 -27
  23. package/dist/assets/BillDetailPage-D0NLFZXA-C0lmLs0O.js +266 -0
  24. package/dist/assets/{BillPayApprovalRuleDetailPage-Dx4q6Dqs-DjDGvRN4.js → BillPayApprovalRuleDetailPage-DkpCvYvo-O8-69iVq.js} +4 -4
  25. package/dist/assets/{BillPayApprovalRulesPage-CqAUZyDI-F4GaYkgK.js → BillPayApprovalRulesPage-BEqZD0GU-BxwF6ACD.js} +17 -17
  26. package/dist/assets/BillPayPromoPage-BMcP4EU5-CGhF2c_7.js +84 -0
  27. package/dist/assets/{BillPaySetUpPage-Di_7lbDT-DcNv7Em-.js → BillPaySetUpPage-WdEdbf16-Dy9LV6PH.js} +4 -4
  28. package/dist/assets/BillingSettingsPage-GtRUqSZm-DYu87yXp.js +44 -0
  29. package/dist/assets/BillsBulkReviewDrawerPage-DAUoo9pq-DaWpx5HK.js +1 -0
  30. package/dist/assets/{BoxItem-emrYmYE_-COqrZfL4.js → BoxItem-CACRFWG2-DVYuXWIN.js} +1 -1
  31. package/dist/assets/BusinessVerificationPage-9gZbBDL6-k_B2yV-X.js +138 -0
  32. package/dist/assets/{CardNumberSubText-D0jiyjgP-DrKFcYQ8.js → CardNumberSubText-C-oVdziK-DunIHxKO.js} +3 -3
  33. package/dist/assets/{CashbackDetailPage-Ck68kvKO-btdGd49W.js → CashbackDetailPage-BhFKSl4p-BQ_VopLN.js} +26 -26
  34. package/dist/assets/{ChargeCardDetailPage-3MoXQEkg-CSC4sD6E.js → ChargeCardDetailPage-D8J6HINu-BuT8xfhQ.js} +20 -20
  35. package/dist/assets/{ChargeCardListPage-C-Ju6BEl-kbouKU1g.js → ChargeCardListPage-tdUKyHdz-C4MlwZVJ.js} +15 -15
  36. package/dist/assets/{ChargeCardListTable-CiKxrzpB-BwvLbNVl.js → ChargeCardListTable-CByk3iqX-DoHny0DQ.js} +55 -55
  37. package/dist/assets/{ChargeCardPaymentHistoryPage-CQFeSCt3-CSxBUfgn.js → ChargeCardPaymentHistoryPage-B8zRcrjo-BRbQG-FC.js} +34 -34
  38. package/dist/assets/{ChargeCardPromoPage-D9dU6_7j-D1-1DfmI.js → ChargeCardPromoPage-C4cgx2gm-D_Yc06ky.js} +32 -32
  39. package/dist/assets/{ChargeCardSetupPage-D0WrBcxG-ycTOq8L1.js → ChargeCardSetupPage-DtwiTNKA-BFEsY7tk.js} +4 -4
  40. package/dist/assets/{ChargeCardStatementsPage-CJFkaLCd-BumVYv_H.js → ChargeCardStatementsPage-B0KPw52e-DBUcIJ4E.js} +8 -8
  41. package/dist/assets/{CheckDepositDrawerPage-Durtx5TN-DwuNGoqA.js → CheckDepositDrawerPage-DKNAXI77-BLa4tOO2.js} +15 -15
  42. package/dist/assets/{CollapsableReportTable-CCnbdYjk-BPZVqk8_.js → CollapsableReportTable-Cq8bhaYC-ZEUmVRwU.js} +272 -272
  43. package/dist/assets/{CompanyOfficerDetailsSection-g42vPH8W-BxpfMgYr.js → CompanyOfficerDetailsSection-Rk0B5cB5-D0GfPSDE.js} +32 -32
  44. package/dist/assets/{CompanyPassportCard-B6FYoxyq-BX2GdDcs.js → CompanyPassportCard-CHaKk74P-ChdhDOcg.js} +8 -8
  45. package/dist/assets/{CompanyPassportPage-rQvYbXt5-CjnUEPux.js → CompanyPassportPage-DXWXFFKM-KfIA3e5g.js} +20 -20
  46. package/dist/assets/{CompleteProfile-CcNl1Edy-CEvFMhi-.js → CompleteProfile-ChaWsK6t-DspQFryi.js} +2 -2
  47. package/dist/assets/ConfettiBurst-CdB5fRMt-B7nj3Nyc.js +1 -0
  48. package/dist/assets/{ConstrainedInnerElement-BeIpAPjB-DwnbKiER.js → ConstrainedInnerElement-BeIpAPjB-DRM9GAJ_.js} +1 -1
  49. package/dist/assets/{CreateOrEditVendorPage-SK5exTt3-BjZ8lvyL.js → CreateOrEditVendorPage-C_8Jqubo-Bk2WY5iH.js} +13 -13
  50. package/dist/assets/{CreditCardPaymentDrawerPage-EtqemOZS-BnapCiVl.js → CreditCardPaymentDrawerPage-lOjOtk28-Csye-cQG.js} +18 -18
  51. package/dist/assets/CurrencySelectField-BDqU4HVy-2khO8cFF.js +139 -0
  52. package/dist/assets/CustomerOnboardingActivationPage-DO6NCakm-AEOEu5XD.js +88 -0
  53. package/dist/assets/CustomerOnboardingContainerPage-CckCX7Vt-DBrhwTVX.js +1 -0
  54. package/dist/assets/{CustomerOnboardingDetailPageSkeleton-FKQGP-CB-zopx1VE5.js → CustomerOnboardingDetailPageSkeleton-BYXyF1CQ-Nc7z_MPq.js} +16 -16
  55. package/dist/assets/{CustomerOnboardingNoStepsPage-D3T1ftj7-D6SSHlsp.js → CustomerOnboardingNoStepsPage-CbG5WshV-DAGPqB92.js} +6 -6
  56. package/dist/assets/{CustomerOnboardingPage-K68iZ1pc-D0YY7tLm.js → CustomerOnboardingPage-DyVyf8oK-qTGHLvSK.js} +16 -16
  57. package/dist/assets/{CustomerOnboardingProductSuitePage-DZY25kUO-BvycO_p-.js → CustomerOnboardingProductSuitePage-1F3JfCRp-DuMqzBOS.js} +10 -10
  58. package/dist/assets/{Dashboard-C0M4vT8O-BYqqEpJb.js → Dashboard-Csggwob0-CyGCXOXS.js} +66 -66
  59. package/dist/assets/{DashboardReportPage-D59wQPy8-DDmWtoIa.js → DashboardReportPage-DFIdi_I0-BoysSy4a.js} +22 -22
  60. package/dist/assets/DashboardSidebarBackgroundAnimation-C3Ovv-ob-4-suD4NX.js +12 -0
  61. package/dist/assets/{DepositAccTransactionItem-CZHXtZB5-BEgA4Uyh.js → DepositAccTransactionItem-CZ7v1T4S-Btt7kuPp.js} +6 -6
  62. package/dist/assets/DepositAccTransactionListPage-FldPGX6K-BuhxBRx8.js +66 -0
  63. package/dist/assets/{DomesticWireDetailsPage-SDNDGGnk-Dpbta2A4.js → DomesticWireDetailsPage-C--eZ-UG-iiw5Chir.js} +2 -2
  64. package/dist/assets/{DownloadOverlay-CW7nP_gr-Gu43ShKI.js → DownloadOverlay-4f9deyJS-BdBfaHAQ.js} +26 -26
  65. package/dist/assets/{DrawerPage-BdXd2igp-_3hBO89m.js → DrawerPage-roO3xvRT-XwvbAR8R.js} +11 -11
  66. package/dist/assets/EditPeoplePage-pi5RclAj-BM2zxscy.js +55 -0
  67. package/dist/assets/EditReimbursementDetailPage-CIUcImns-BxmdhEQa.js +865 -0
  68. package/dist/assets/EntityDetailPage-OTKTVNMD-hGdzRif2.js +18 -0
  69. package/dist/assets/{EntitySummarySection-BNvGG3d6-BgSlIoO3.js → EntitySummarySection-fBL4TZpT-DwG1Et7L.js} +32 -32
  70. package/dist/assets/{ExpenseAutomationOverviewPage-Dpd7fWT8-CJNhgI1p.js → ExpenseAutomationOverviewPage-CnhNINCc-BWYSqjyt.js} +47 -47
  71. package/dist/assets/ExpenseAutomationPage-BDLCJbFw-BzgpYsoD.js +1703 -0
  72. package/dist/assets/{ExpressPayPage-B_jJBRS3-CqeRUh4h.js → ExpressPayPage-c8oTCnBR-BO5E-s_t.js} +17 -17
  73. package/dist/assets/{FeaturePreviewPage-CkiCr5FY-YcKqVNJz.js → FeaturePreviewPage-DkiAajs2-CeQkBCBu.js} +3 -3
  74. package/dist/assets/{FollowStepsSection-D4hhP5Ns-Dhgeeir0.js → FollowStepsSection-GaWu1kt9-BI3yZ8yb.js} +44 -44
  75. package/dist/assets/GlobalReviewListPage-DEzj0RVG-OABkNmc3.js +291 -0
  76. package/dist/assets/{InformationCardStack-L_DUxY4M-D8FPjAw-.js → InformationCardStack-dMFbHUWM-DZ5NgV9d.js} +6 -6
  77. package/dist/assets/{InsightsCardStack-BkHzx-Ku-CGbiVWHq.js → InsightsCardStack-BlXkyuyz-BYkM34Ig.js} +9 -9
  78. package/dist/assets/InsightsSection-D-oCmrir-CD7SS_Wx.js +27 -0
  79. package/dist/assets/{IntegrationsSettingsPage-Cd1Rx9sO-CrFZOF4B.js → IntegrationsSettingsPage-D-hfghuq-9CRnYKlL.js} +11 -11
  80. package/dist/assets/{InternationalWireSwiftDetailsPage-D9MjWari-b7e10eXN.js → InternationalWireSwiftDetailsPage-DxdKE300-DZZJSkkC.js} +20 -20
  81. package/dist/assets/InternationalWireVerificationPage-CkSmhOrS-UEYqwZ-4.js +65 -0
  82. package/dist/assets/{InviteFormPage-DuMgV0Gj-COrTi430.js → InviteFormPage-BCdalqtP-CheVg02u.js} +21 -21
  83. package/dist/assets/{InvitePageListView-C8FmzWUR-C8XzfhVF.js → InvitePageListView-B88FW48q-BlNwjDCb.js} +63 -63
  84. package/dist/assets/InvitePeoplePage-Z-2L7lWc-CTYR92-E.js +12 -0
  85. package/dist/assets/InvoiceUploadSection-C8hytmay-CkdGw_XE.js +140 -0
  86. package/dist/assets/{IssueChargeCardPage-BSakJkYv-CIpGjR5J.js → IssueChargeCardPage-B6wmvbEr-BJuCdS5L.js} +18 -18
  87. package/dist/assets/{LabeledAddressValue-7ZW0Bp2--B1g9_ntb.js → LabeledAddressValue-CQrDCgNs-BE2vwBEi.js} +2 -2
  88. package/dist/assets/LabeledAddressValueField-BoHS44YO-GpChwVD3.js +45 -0
  89. package/dist/assets/LabeledControlledCheckBoxField-BsFqjCpn-DbSKF3Eo.js +16 -0
  90. package/dist/assets/{LabeledCountryMultiSelectField-CBp07VjV-BFYchWVu.js → LabeledCountryMultiSelectField-D1fVDYR_-X0msQxRV.js} +12 -12
  91. package/dist/assets/{LabeledCreatableSingleSelectField-B_esaKIM-BMEYFLNo.js → LabeledCreatableSingleSelectField-Bhka-Faj-PIAOXuuF.js} +8 -8
  92. package/dist/assets/LabeledDocumentField-CnRk5aKZ-CP7eylom.js +41 -0
  93. package/dist/assets/{LabeledDropDownFormattedTextField-BI8tGUij-WgkzFxD0.js → LabeledDropDownFormattedTextField-ChgtJqPr-DoauSiSH.js} +7 -7
  94. package/dist/assets/LabeledText-2EDpuXZ4-C8KbdmSn.js +42 -0
  95. package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-BoJDAYsP-ISocjwDg.js → LabeledUserSingleSelectWithSubtitlesField-CZbyOdRR-Dxfcd1ix.js} +20 -20
  96. package/dist/assets/{LabeledZeniRolesDropDownField-B7n0GmSV-aaT1wrjI.js → LabeledZeniRolesDropDownField-CpH0eDWO-nc3j9OL8.js} +28 -28
  97. package/dist/assets/{LinkJETransactionPage-BRHWap1M-B6jJFTGs.js → LinkJETransactionPage-BhV2MnCY-2VFbWc8b.js} +16 -16
  98. package/dist/assets/LockCardPage-CHv1xi2J-DERlEjt9.js +623 -0
  99. package/dist/assets/{LowBalancePopup-6cIv7QGI-Cdkp97a-.js → LowBalancePopup-Cb55PGLc-gAPp5TRy.js} +6 -6
  100. package/dist/assets/MagicLinkACHDetailsPage-Dnp01hnF-MnmyVJLu.js +1 -0
  101. package/dist/assets/MagicLinkDomesticWireDetailsPage-B36rsikS-BiwQJWMK.js +1 -0
  102. package/dist/assets/MagicLinkInternationalWireDetailsPage-Zo4oNZez-Ba4r75te.js +1 -0
  103. package/dist/assets/MagicLinkSuccessPage-09NLbjFG-BOQ43guP.js +31 -0
  104. package/dist/assets/{MagicLinkTitleSection-BaWqmY8Y-DpNPE-31.js → MagicLinkTitleSection-BA-i6vzA-BK_4bD52.js} +5 -5
  105. package/dist/assets/MailingDetailsSection-EwtoQ2TZ-BkNjZheA.js +21 -0
  106. package/dist/assets/{MyBankConnectionsSettingsPage-DkE_cUdA-B5nqcQf6.js → MyBankConnectionsSettingsPage-Aer6AWxY-BxNOJih2.js} +14 -14
  107. package/dist/assets/MyPendingActivationChargeCardListPage-Ddy4bAEY-CbDHJT6Y.js +6 -0
  108. package/dist/assets/MyProfileSettingsPage-DMz-6h9F-CFSERtJI.js +85 -0
  109. package/dist/assets/NavBarWithPicker-D8WNahg--DUG3-gGB.js +30 -0
  110. package/dist/assets/{NavigationArrow-CJ3RPyfe-DBdDojnz.js → NavigationArrow-kQWS5Pzb-BEUVzE31.js} +7 -7
  111. package/dist/assets/{NavigationDots-D4COr3-8-BoU1J180.js → NavigationDots-BQb_Fodq-DtOlofVb.js} +2 -2
  112. package/dist/assets/{NewGlobalMerchantPage-CwrkgMXG-CLtkOvtX.js → NewGlobalMerchantPage-z86XZorn-DoavPLi0.js} +40 -40
  113. package/dist/assets/NoDataChart-CyYJ6icu-DPPKQloI.js +26 -0
  114. package/dist/assets/{NoDataTable-Dvgptxms-ken8n7Gv.js → NoDataTable-DVe7sQhD-x5eVDn8H.js} +1 -1
  115. package/dist/assets/{NotFoundPage-BTdYSpRB-DzcaBauu.js → NotFoundPage-B1XCmhSe-DRWfxKXj.js} +3 -3
  116. package/dist/assets/{NotificationSettingsPage-hF48Xjil-DO4vgNZR.js → NotificationSettingsPage-BaN20EGV-BGI1AOxL.js} +20 -20
  117. package/dist/assets/NotificationsListConfig-BOW_TmPC-gVlD4if6.js +1 -0
  118. package/dist/assets/NotificationsPage-C9efAgjo-BbYISYVW.js +685 -0
  119. package/dist/assets/OpExByVendorPage-DXeBU3-z-CtYWzGKb.js +100 -0
  120. package/dist/assets/{OverlayContainerPage-D4QU0p4o-lZh11hHV.js → OverlayContainerPage-D4QU0p4o-DWwt3jvC.js} +1 -1
  121. package/dist/assets/{PandLWithForecastPage-BzMdJxuM-CW9al9Hz.js → PandLWithForecastPage-CXtJhnA_-CX7CsCDy.js} +12 -12
  122. package/dist/assets/{PaymentAccountSetupBillingAddressSection-CDPrK0IE-Bj86EDR9.js → PaymentAccountSetupBillingAddressSection-Deb_ngk6-DGKyDmFS.js} +16 -16
  123. package/dist/assets/PeoplePage-DXC2CtOt-CfYJLjB6.js +675 -0
  124. package/dist/assets/{Preview-DOtugFE3.js → Preview-bUJ-afSX.js} +1 -1
  125. package/dist/assets/{ProductsCarousel-CPh6jfEO-DETwqGwx.js → ProductsCarousel-ufZlh7Rx-BIDCk-h1.js} +7 -7
  126. package/dist/assets/{PromoBaseCards-Dl2VCjhb-rYH3pV0i.js → PromoBaseCards-D2UbhBhT-BSjHyOyw.js} +4 -4
  127. package/dist/assets/{QBOConnectionDialog-B3Ph_e2z-_atibkwZ.js → QBOConnectionDialog-BrQ71F06-BH2ZV7vR.js} +6 -6
  128. package/dist/assets/QBOSetupSection-EOFscEW--DnT8IFo9.js +79 -0
  129. package/dist/assets/{ReimbursementApprovalRuleDetailPage-Djt5y4oN-BC_IHAVg.js → ReimbursementApprovalRuleDetailPage-C-HPI4Ng-BKRiZPcc.js} +1 -1
  130. package/dist/assets/{ReimbursementApprovalRulesPage-CiJJjcFu-CunJ2bVS.js → ReimbursementApprovalRulesPage-CMpYn5y_-DhEhjlJP.js} +13 -13
  131. package/dist/assets/ReimbursementDetailPage-CfmICHZb-EfH6pB2u.js +314 -0
  132. package/dist/assets/{ReimbursementPromoPage-CPVzzNRs-HEHlPAqh.js → ReimbursementPromoPage-DXTAY8c7-BNOZ_20N.js} +32 -32
  133. package/dist/assets/{ReimbursementSetUpPage-BtOQPkaY-026y2WyP.js → ReimbursementSetUpPage-KrGPXTCb-qu8Limvb.js} +14 -14
  134. package/dist/assets/ReimbursementsBulkReviewDrawerPage-l2mYNEKn-DBc7kt2f.js +1 -0
  135. package/dist/assets/{ReloadCard-C7JwMWXw-Cvj7koCQ.js → ReloadCard-vAhL7B8U-D7YWwAyL.js} +7 -7
  136. package/dist/assets/{ReportTableViewSelector-zuExZvaR-CuH-HEtv.js → ReportTableViewSelector-Y97ney3W-CvSSJ9ac.js} +5 -5
  137. package/dist/assets/{ReportsPage-DZpovmcV-CxO7Ay0j.js → ReportsPage-DKM0gVzR-DOSeE9yO.js} +6 -6
  138. package/dist/assets/{RevenueChart-ez6wj7cc-DsS332Fh.js → RevenueChart-BEjDS1u4-BIqPjNsw.js} +13 -13
  139. package/dist/assets/{ReviewDetailsPage-CSPg-7hy-BBEucee7.js → ReviewDetailsPage-BlQLrN9z-Dca8kSzg.js} +53 -53
  140. package/dist/assets/{ReviewOverlay-CCHslqz--CZdRxBdf.js → ReviewOverlay-Bn3TFqfi-DPoyDHGn.js} +9 -9
  141. package/dist/assets/RoleWithToolTip-DhBFvJea-B8n0jz5Q.js +22 -0
  142. package/dist/assets/{ScheduleDetailsFixedAssetsPage-DcTMG4tX-kAkxwz74.js → ScheduleDetailsFixedAssetsPage-BMkFjf9Y-TyHmMR8_.js} +13 -13
  143. package/dist/assets/{ScheduleDetailsPage-Bxq5fYyw-ByraafRE.js → ScheduleDetailsPage-BP0wdtoP-B3l1fyxF.js} +3 -3
  144. package/dist/assets/ScheduleSequenceTable-D-rZ4ftr-NNixAuqw.js +324 -0
  145. package/dist/assets/{ScreenRoutes-DADRt3m9.js → ScreenRoutes-Dkdo_QnR.js} +48 -48
  146. package/dist/assets/{SetUpAccountSection-8mYaeWwd-DgrolkOV.js → SetUpAccountSection-CoVrSSYL-CtIuqnUK.js} +7 -7
  147. package/dist/assets/SignIn-BoAejo7r-BtV3Ttcw.js +491 -0
  148. package/dist/assets/SignInScreen-DsBeFXpf.js +1 -0
  149. package/dist/assets/SpendManagementListViewPage-D3eISFuA-BH8cRQWr.js +134 -0
  150. package/dist/assets/{SpendManagementPerTabPage-BYvhmmSc-BoQt5fMQ.js → SpendManagementPerTabPage-BWDjZyLp-C1eUKzso.js} +114 -114
  151. package/dist/assets/{SpendManagementSection-CCoM_Cxv-CkVjYk2a.js → SpendManagementSection-D8rBpC-y-Co0RTAvb.js} +22 -22
  152. package/dist/assets/StatementItem-Cu6dlAsl-DmauqRhg.js +31 -0
  153. package/dist/assets/StatementsPage-DiY2BOcu-ZhmXJvRa.js +58 -0
  154. package/dist/assets/{StatusSwitcher-qPOjXUSo-CGzUIx1d.js → StatusSwitcher-B9MARTyR-njYpaPcv.js} +4 -4
  155. package/dist/assets/{SubTabSwitcher-CaSibFBm-RaOxS7Pn.js → SubTabSwitcher-C3rtSwro-UHdU-bAk.js} +2 -2
  156. package/dist/assets/{SummaryCard-BsvJatQs-CjLjCcVs.js → SummaryCard-CShVbqhj-BLj7j0_e.js} +1 -1
  157. package/dist/assets/TaskManagementPage-RVS8nv0n-uCuNXBz9.js +508 -0
  158. package/dist/assets/{TimeRangeSwitcher-CfMkQvYF-CiannF9n.js → TimeRangeSwitcher-DFnX6_WT-DWIBGfP-.js} +13 -13
  159. package/dist/assets/TimeframeSwitcher-CW08yYgo-Bs-pmnzg.js +31 -0
  160. package/dist/assets/TimeframeSwitcherWithToggle-DJOCWqpZ-BFZ7bLWL.js +31 -0
  161. package/dist/assets/{TopExCard-B9J8lGLo-B30R7u2A.js → TopExCard-dI_WEGWb-C8zSoGB_.js} +12 -12
  162. package/dist/assets/{TopExDetailPage-BD1I7eRD-DJwR7TZd.js → TopExDetailPage-BWy5E8Lp-DECCdxzr.js} +14 -14
  163. package/dist/assets/TransactionActivityLogPage-DjhEIUYm-PWZNzXJ2.js +195 -0
  164. package/dist/assets/TransactionDetailPage-CuxqQd8U-BuHJVoXs.js +903 -0
  165. package/dist/assets/TransactionList-80KjM8Kg-CevujtV6.js +153 -0
  166. package/dist/assets/{TransactionListBig-Ds4Qi0V4-BTiJtrsL.js → TransactionListBig-DWQXH4ID-DoEu9YAb.js} +20 -20
  167. package/dist/assets/TransactionListPage-DC08rCC9-Clz1psGf.js +35 -0
  168. package/dist/assets/{TransactionVendorDetailPage-BuEX1oP3-Bo0z6TbP.js → TransactionVendorDetailPage-CzfJ5b_3-Bq1jZ95u.js} +15 -15
  169. package/dist/assets/{TransferDrawerPage-C52xyV5d-kY6aeXNg.js → TransferDrawerPage-6z-MoZZP-X9c2FbF1.js} +40 -40
  170. package/dist/assets/{TreasuryOverviewPage-BCCkSArK-DMCpyOsl.js → TreasuryOverviewPage-CF_ter0o-BGvD7KcD.js} +38 -38
  171. package/dist/assets/{TreasuryPromoPage-vXhlCR_E-BZjuyryw.js → TreasuryPromoPage-Do-PTcjI-BVsAh_s5.js} +24 -24
  172. package/dist/assets/{TreasuryStatementsPage-BlrEtckW-CvkQwg1B.js → TreasuryStatementsPage-l_HC4zsb-BqffJxCU.js} +2 -2
  173. package/dist/assets/TreasuryTaxLetterPage-B8YxWytK-ClHOa93u.js +58 -0
  174. package/dist/assets/{TrendChart-CHHzmjv2-Z1hhrqX1.js → TrendChart-C6B61CAm-BUmkAB5E.js} +5 -5
  175. package/dist/assets/{TrendWithTransactions-DwaY27f2-DpPg53YC.js → TrendWithTransactions-Bp3vhaPa-DETWpy6t.js} +3 -3
  176. package/dist/assets/{UncategorizedAccountsMappingPage-C8k9PzrN-BtUWAI2y.js → UncategorizedAccountsMappingPage-cbFqKAv4-DeCca6Ny.js} +18 -18
  177. package/dist/assets/{UnitIntegrationPage-C8kaN2M_-C9KPkw2-.js → UnitIntegrationPage-DZ0ZpE5p-DeiuATlr.js} +5 -5
  178. package/dist/assets/UploadAdditionalDocumentOverlay-BKY6hK51-CydYggee.js +38 -0
  179. package/dist/assets/Vendor2FAPopup-DezpDfp8-DiVrYh3K.js +1 -0
  180. package/dist/assets/VendorACHDetailsPage-C8TWKYfc-Becdxrwt.js +1 -0
  181. package/dist/assets/{VendorDetailPage-BYaJXinH-DUPwtiyr.js → VendorDetailPage-C4g_Gfsl-BNNbSoIa.js} +89 -89
  182. package/dist/assets/VendorDomesticWireDetailsPage-BhJQ-Vmn-eHvavwdw.js +1 -0
  183. package/dist/assets/{VendorFiling1099EditablePage-C5jYzHb1-C2mNpfNu.js → VendorFiling1099EditablePage-Ckt2MiVN-e4TYQZVn.js} +15 -15
  184. package/dist/assets/VendorFirstReviewPage-CIKRaTax-BN07guXv.js +730 -0
  185. package/dist/assets/{VendorInternationalWireDetailsPage-B_plx9rY-B5vOg7i2.js → VendorInternationalWireDetailsPage-Dz8mMD8d-TCwuy6i-.js} +17 -17
  186. package/dist/assets/VendorInternationalWireSwiftDetailsPage-XcV7Ot44-CPyZywKh.js +1 -0
  187. package/dist/assets/{VendorsAccountsSection-BE9NN7j2-M2MOrj0H.js → VendorsAccountsSection-BT-RADSV-Bve5DAMe.js} +4 -4
  188. package/dist/assets/{VerifyDevice-CHhkhIiR-CN-EcPav.js → VerifyDevice-Cxc9CVMi-DbObYdix.js} +11 -11
  189. package/dist/assets/{VideoPlayer-Dp4LYdDK-BIrhMJBd.js → VideoPlayer-9UkKMhGy-DADkPX-f.js} +2 -2
  190. package/dist/assets/{VideoPopup-Kq2Ny4qb-GkudTuD5.js → VideoPopup-rfiYmtio-DF-tGFMP.js} +1 -1
  191. package/dist/assets/{WarningsDrawerPage-BaJGWils-DFY_x5GH.js → WarningsDrawerPage-DrUA4asI-C6MUqBWp.js} +7 -7
  192. package/dist/assets/{ZeniAccountDetailPage-CqeawFzU-pmL8pPeq.js → ZeniAccountDetailPage-K016HgQt-wx5VYyBN.js} +24 -24
  193. package/dist/assets/{ZeniAccountListViewPage-BC7znv-z-NELgzow8.js → ZeniAccountListViewPage-1oZZynB1-E-BTeqGP.js} +17 -17
  194. package/dist/assets/{ZeniAccountNavBarPieces-BEekGYF8-5MGMMXj0.js → ZeniAccountNavBarPieces-C6Oicpue-a3nzNo79.js} +3 -3
  195. package/dist/assets/{ZeniAccountPromoPage-BD61iMJM-AywKP4VO.js → ZeniAccountPromoPage-BCgys-YM-CM9NQ_BO.js} +24 -24
  196. package/dist/assets/{ZeniAccountSetupPage-CIUArIFg-CEZLAy_L.js → ZeniAccountSetupPage-BubBgkoa-Duwi7djt.js} +3 -3
  197. package/dist/assets/ZeniCopyright-BxIwmms--Doa5lp53.js +1 -0
  198. package/dist/assets/ZeniTransferAmountSlider-DVJ0puXA-2P0ZBWZ7.js +63 -0
  199. package/dist/assets/{add-to-wallet-DgdBD8_G-DWXM_TBw.js → add-to-wallet-DgdBD8_G-DikzZE6B.js} +1 -1
  200. package/dist/assets/{analytics-Cvg-u8-2.js → analytics-DYhmL7CM.js} +30 -30
  201. package/dist/assets/{analyticsHelper-BlzRkKZg-B2LkgvA8.js → analyticsHelper-CT5zOInj-99CvxgyS.js} +1 -1
  202. package/dist/assets/{analyticsHelper-BpNAOx5Q.js → analyticsHelper-DDXauk_Q.js} +1 -1
  203. package/dist/assets/{arrow-south-east-round-PEovUgvH-CMFStSYD.js → arrow-south-east-round-PEovUgvH-8jWq8JIP.js} +1 -1
  204. package/dist/assets/{auto-transfer-rule-mbafm5D3-C_0tBgXa.js → auto-transfer-rule-mbafm5D3-BQD13VLl.js} +1 -1
  205. package/dist/assets/{chartTypes-Bg8wCCJo-ByGBP7Kx.js → chartTypes-Ddw_3-6f-HF5eETfQ.js} +1 -1
  206. package/dist/assets/commonDimensions-ClmbdehE-aq41ZcdE.js +1 -0
  207. package/dist/assets/{commonTypes-B2dNLPs8-LssZrp5i.js → commonTypes-B-foaEwJ-DpfDV34V.js} +1 -1
  208. package/dist/assets/{constants-DpEmalb9.js → constants-mf68mEZJ.js} +1 -1
  209. package/dist/assets/{core-BigkILPm.js → core-D7HgM8n1.js} +1 -1
  210. package/dist/assets/{dash.all.min-BeiUQojL.js → dash.all.min-D8zACU7x.js} +1 -1
  211. package/dist/assets/{detailCommon-dFjFrXPn-CuohGWbm.js → detailCommon-Cpgf9GLg-BeTL8M1q.js} +9 -9
  212. package/dist/assets/downloadPdf-DfRYmfsd-v-LOP3Jl.js +1 -0
  213. package/dist/assets/{empty-B9dXvt_8.js → empty-NSIYiedq.js} +1 -1
  214. package/dist/assets/{empty-CpJRwiZc.js → empty-Y3MKkeNh.js} +1 -1
  215. package/dist/assets/epic-CeNkV6CJ.js +2 -0
  216. package/dist/assets/{gift-box-Cmt9OgIZ-JOtbwZSq.js → gift-box-Cmt9OgIZ-CD4XSNN9.js} +1 -1
  217. package/dist/assets/{graphic-no-data-l-DU4J8fDt-BSKF2OrL.js → graphic-no-data-l-DU4J8fDt-Cj1mbKoU.js} +1 -1
  218. package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-VZD1sYCA.js → graphic-no-data-net-burn-l-CzmycA0m-DMlgtG13.js} +1 -1
  219. package/dist/assets/{handshake-BPg58FML-BVbCPIlH.js → handshake-BPg58FML-CDBh0ipY.js} +1 -1
  220. package/dist/assets/{helper-84lLR0pR-CHNdYDIc.js → helper-DP3YY99s-DI38626F.js} +3 -3
  221. package/dist/assets/{index-DOkuqa9Y.js → index-B1CF5cm3.js} +1 -1
  222. package/dist/assets/{index-CK72u5UX.js → index-BB6TP51b.js} +1 -1
  223. package/dist/assets/{index-CO-_hM8s.js → index-BDP43MqE.js} +1 -1
  224. package/dist/assets/{index-BnrFROY2.js → index-BUGp6bnR.js} +1 -1
  225. package/dist/assets/{index-Bi0ZQY9Y.js → index-Br79bjER.js} +1 -1
  226. package/dist/assets/{index-kUGHSXzQ.js → index-DCa8flZr.js} +1 -1
  227. package/dist/assets/{index-C0Qk6Z4T.js → index-DTirxbyQ.js} +4530 -4535
  228. package/dist/assets/{lexical-DMkegWP6.js → lexical-BIyV8PdW.js} +1 -1
  229. package/dist/assets/{liveblocks-CEs1rDbD.js → liveblocks-DIuhFCxt.js} +1 -1
  230. package/dist/assets/{lottie-B9wjZjZ1.js → lottie-CoVTVb_w.js} +1 -1
  231. package/dist/assets/mapLoadingInProgressToTreeNode-C0YIUOnb-CM3HanTy.js +1 -0
  232. package/dist/assets/{mapSectionWithAcOnlyToTreeNode-xo9yV2zx-D-t0QvXH.js → mapSectionWithAcOnlyToTreeNode-QJI_OYzu-BY_qJXQo.js} +1 -1
  233. package/dist/assets/mapSpacerToTreeNode-DKDsz0vw-DacYuJs2.js +1 -0
  234. package/dist/assets/mapTimeframeBalancesToTreeNode-DqDJAeAj-D7B8Pylg.js +1 -0
  235. package/dist/assets/{mapTimeframeBalancesToTreeNode-C9qIIDvL-cwYb-_mq.js → mapTimeframeBalancesToTreeNode-J3b1nb_T-D59tSp4H.js} +1 -1
  236. package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-COGO4zaM-DoXO862U.js → mapTimeframeHeaderLoadingInProgressToTreeNode-Dg4cktKO-BNoQeOGL.js} +1 -1
  237. package/dist/assets/{mui-_BiizxEu.js → mui-CUgxbbSv.js} +1 -1
  238. package/dist/assets/{page-detail-CWX5S47F-DOAzp2B2.js → page-detail-CWX5S47F-CYodllrt.js} +1 -1
  239. package/dist/assets/panelSelectedMixin-CzfD5-Zs-COBjrU2Y.js +4 -0
  240. package/dist/assets/{radio-default-CiSgisfh-Bk2E4ZQD.js → radio-default-CiSgisfh-D5Swvnjv.js} +1 -1
  241. package/dist/assets/{react-DV52dlQF.js → react-BUMR3Oqj.js} +2 -2
  242. package/dist/assets/{react-BDJwzlQ1.js → react-BXfpyu7-.js} +1 -1
  243. package/dist/assets/{react-Bid-85AH.js → react-C1Bx9mvH.js} +1 -1
  244. package/dist/assets/{react-CstF33mL.js → react-CBTPpMQr.js} +1 -1
  245. package/dist/assets/{react-B5lksOsX.js → react-DEF24OHG.js} +1 -1
  246. package/dist/assets/{react-DQZdqdFY.js → react-DEm3GFrk.js} +3 -3
  247. package/dist/assets/{react-FG-k1_Zp.js → react-DPzCxJ9_.js} +1 -1
  248. package/dist/assets/{react-CajqMF-O.js → react-DWqZUhoP.js} +1 -1
  249. package/dist/assets/{recharts-C1J08DKE.js → recharts-Cv8hlrkl.js} +1 -1
  250. package/dist/assets/{sentry-DNdJk61Y.js → sentry-DuRPstDP.js} +1 -1
  251. package/dist/assets/{shield-DOlUxcFf-BJAVJLNs.js → shield-DOlUxcFf-BuWXLRZa.js} +1 -1
  252. package/dist/assets/toCOABalancesWithID-AzKAZ-Cv-BFfmnf7p.js +1 -0
  253. package/dist/assets/toChartData-BEjMhb7--D2HEmA7d.js +1 -0
  254. package/dist/assets/{uploadAttachment-Btwmohbb-BIEOFcgm.js → uploadAttachment-DUpHzqMe-BV5nx0ZT.js} +19 -19
  255. package/dist/assets/uploadReceipts-Dge0cNF1-D2wqfNY0.js +1 -0
  256. package/dist/assets/{url-7mcltx3r.js → url-CucjwMCN.js} +1 -1
  257. package/dist/assets/{url-BzfjL4PI.js → url-P-v-bynO.js} +1 -1
  258. package/dist/assets/{useLongPress-GCK2COYQ-Ccim685e.js → useLongPress-GCK2COYQ-CK2T-95t.js} +1 -1
  259. package/dist/assets/{usp-line-BBd1wKwW-qHMqNnBh.js → usp-line-BBd1wKwW-Du-iFEZV.js} +1 -1
  260. package/dist/assets/{utils-CJz9ZWWV.js → utils-DiiaN_Gy.js} +1 -1
  261. package/dist/assets/{zeni-epic-state-BkKyof9Q.js → zeni-epic-state-DfBiKLGZ.js} +34 -34
  262. package/dist/index.html +1 -1
  263. package/package.json +4 -4
  264. package/dist/assets/ACHDetailsPage-Nw7UKktD-BkNC4e5B.js +0 -21
  265. package/dist/assets/AccountInfoPage-D4R2TjfL-q-EauRk4.js +0 -18
  266. package/dist/assets/AccountRow-k3PBYMDV-BqvmTgGx.js +0 -298
  267. package/dist/assets/AddAddressForCardDrawer-BUlO08En-CebfK0vU.js +0 -6
  268. package/dist/assets/ApAgingDetailPage-ldAZScyH-BMhKfKFb.js +0 -46
  269. package/dist/assets/ApprovalRulesSettingsPage-CSEnfHsr-BydIE26A.js +0 -47
  270. package/dist/assets/BillDetailPage-DD-o3YCG-aXq3dwDB.js +0 -266
  271. package/dist/assets/BillPayPromoPage-BR1pLuKD-40d0wnUv.js +0 -84
  272. package/dist/assets/BillingSettingsPage-B8bxR3h2-CrIEihc3.js +0 -44
  273. package/dist/assets/BillsBulkReviewDrawerPage-OlbqCpCz-CYJfmGFY.js +0 -1
  274. package/dist/assets/BusinessVerificationPage-70_wkxdb-DV1V3U0I.js +0 -138
  275. package/dist/assets/ConfettiBurst-DjGWV0IU-CcvGhyUt.js +0 -1
  276. package/dist/assets/CurrencySelectField-b-bFTgxG-DkRtMPX9.js +0 -139
  277. package/dist/assets/CustomerOnboardingActivationPage-Dyk4RgRT-uRzB-RK6.js +0 -88
  278. package/dist/assets/CustomerOnboardingContainerPage-zKUA5_Db-BYTNjhXO.js +0 -1
  279. package/dist/assets/DashboardSidebarBackgroundAnimation-P0F5PKw_-aKFIlt3u.js +0 -12
  280. package/dist/assets/DepositAccTransactionListPage-MLtgU8v7-jrThBUmf.js +0 -66
  281. package/dist/assets/EditPeoplePage-DXaFGpmI-CZHUuWvz.js +0 -55
  282. package/dist/assets/EditReimbursementDetailPage-Ds8TT5V_-WG75tTc9.js +0 -865
  283. package/dist/assets/EntityDetailPage-Crf3l24d-BrN0JRJE.js +0 -18
  284. package/dist/assets/ExpenseAutomationPage-CWAMORJA-CALJ7ezd.js +0 -3001
  285. package/dist/assets/GlobalReviewListPage-CXTY3EgT-DdtNEjtj.js +0 -291
  286. package/dist/assets/InsightsSection-BPznqBDz-CK20z1Lb.js +0 -27
  287. package/dist/assets/InternationalWireVerificationPage-DkLS_bpy-CU7ACyPQ.js +0 -65
  288. package/dist/assets/InvitePeoplePage-DGPvMvBJ-Ce-6b38B.js +0 -12
  289. package/dist/assets/InvoiceUploadSection-CdYXqUHS-DdkPj4w6.js +0 -140
  290. package/dist/assets/LabeledAddressValueField-D8dreD-P-CutCad_f.js +0 -45
  291. package/dist/assets/LabeledControlledCheckBoxField-Dk2m4oDh-DQ1UIi3x.js +0 -16
  292. package/dist/assets/LabeledDocumentField-nN1pbnDm-DRXhEc0D.js +0 -41
  293. package/dist/assets/LabeledText-DyYv9nNM-Rx5E4rTb.js +0 -42
  294. package/dist/assets/LockCardPage-3evJXNUe-DEvsvIXw.js +0 -623
  295. package/dist/assets/MagicLinkACHDetailsPage-Dqnd8OaJ-CNFVgD0s.js +0 -1
  296. package/dist/assets/MagicLinkDomesticWireDetailsPage-o3R74kSf-CTFJDugq.js +0 -1
  297. package/dist/assets/MagicLinkInternationalWireDetailsPage-8w78T_Tq-CaVecplo.js +0 -1
  298. package/dist/assets/MagicLinkSuccessPage-dnU4ZBPE-m6Lhs6Op.js +0 -31
  299. package/dist/assets/MailingDetailsSection-9K9M3nSH-QXKTdG6h.js +0 -21
  300. package/dist/assets/MyPendingActivationChargeCardListPage-X64-wbJV-CjppeSVJ.js +0 -6
  301. package/dist/assets/MyProfileSettingsPage-ZFBRBkeF-P3LdxTas.js +0 -85
  302. package/dist/assets/NavBarWithPicker-CFd6K3KH-BauUMxnD.js +0 -30
  303. package/dist/assets/NoDataChart-DpQy-slq-ChCRHiVL.js +0 -26
  304. package/dist/assets/NotificationsListConfig-CTlXqNw7-Cgmm35uA.js +0 -1
  305. package/dist/assets/NotificationsPage-odaAtDv9-B6vik02n.js +0 -685
  306. package/dist/assets/OpExByVendorPage-CwfT-ykE-xwieXP3i.js +0 -100
  307. package/dist/assets/PeoplePage-D_str2r1-UsQAXDF3.js +0 -727
  308. package/dist/assets/QBOSetupSection-Dg-ZcGH4-CLd5XL5k.js +0 -79
  309. package/dist/assets/ReimbursementDetailPage-C7jzaWRr-BtyMwCn9.js +0 -314
  310. package/dist/assets/ReimbursementsBulkReviewDrawerPage-oy12qHl7-Bxrw7vlM.js +0 -1
  311. package/dist/assets/RoleWithToolTip-vpx07PDQ-lGN6cB4F.js +0 -22
  312. package/dist/assets/ScheduleSequenceTable-DZ4vlDs--pwUjwjkR.js +0 -324
  313. package/dist/assets/SignIn-D8cZWP_m-zJWSuXYX.js +0 -491
  314. package/dist/assets/SignInScreen-DRfU3UD9.js +0 -1
  315. package/dist/assets/SpendManagementListViewPage-VfZLwPVN-sElZkBgS.js +0 -134
  316. package/dist/assets/StatementItem-eSR1knfw-B9s34jxc.js +0 -31
  317. package/dist/assets/StatementsPage-DLjSMQ19-Czeo_Ttx.js +0 -58
  318. package/dist/assets/TaskManagementPage-DEF0fOcP-BxFiNe5X.js +0 -508
  319. package/dist/assets/TimeframeSwitcher-D8BZqgLE-BTtCyPkd.js +0 -31
  320. package/dist/assets/TimeframeSwitcherWithToggle-CtsW3T5I-Bzp6YXDJ.js +0 -31
  321. package/dist/assets/TransactionActivityLogPage-8wO9Ge26-CscduFE0.js +0 -195
  322. package/dist/assets/TransactionDetailPage-Bg2WIamD-DFJfYPF-.js +0 -903
  323. package/dist/assets/TransactionList-Df0ONSNP-YajUB1tB.js +0 -153
  324. package/dist/assets/TransactionListPage-kj-3e5OW-HWj3Mfcy.js +0 -35
  325. package/dist/assets/TreasuryTaxLetterPage-Ry0VzYnZ-HEWOtnH3.js +0 -58
  326. package/dist/assets/UploadAdditionalDocumentOverlay-DI_ggkf1-DE8vz5Cd.js +0 -38
  327. package/dist/assets/Vendor2FAPopup-CFubwXdL-DCQTvV0z.js +0 -1
  328. package/dist/assets/VendorACHDetailsPage-Cgpbjg2Q-CWJCAejj.js +0 -1
  329. package/dist/assets/VendorDomesticWireDetailsPage-C44ZvJ_s-CM6ieHfN.js +0 -1
  330. package/dist/assets/VendorFirstReviewPage-D9O9ZrEo-DOoJTpGj.js +0 -730
  331. package/dist/assets/VendorInternationalWireSwiftDetailsPage-DumD421h-CK-xdBEU.js +0 -1
  332. package/dist/assets/ZeniCopyright-CHWlGjTG-KN0tcU8W.js +0 -1
  333. package/dist/assets/ZeniTransferAmountSlider-DNmKLIDa-C2yxsdzh.js +0 -63
  334. package/dist/assets/commonDimensions-TCgIgcIo-SwaPAAMP.js +0 -1
  335. package/dist/assets/downloadPdf-CLYXLTga-F4u05EfU.js +0 -1
  336. package/dist/assets/epic-CQa9naTZ.js +0 -2
  337. package/dist/assets/mapLoadingInProgressToTreeNode-zhLf08J--DqyjwjpN.js +0 -1
  338. package/dist/assets/mapSpacerToTreeNode-DAN6wWZH-BjKhXkVS.js +0 -1
  339. package/dist/assets/mapTimeframeBalancesToTreeNode-Bj58shsO-DZ9mWHDZ.js +0 -1
  340. package/dist/assets/panelSelectedMixin-Cddsb26L-CT-PXRed.js +0 -3
  341. package/dist/assets/toCOABalancesWithID-DG5oSoAT-DB2kfV3h.js +0 -1
  342. package/dist/assets/toChartData-DG9EtlOy-C--iJHXH.js +0 -1
  343. package/dist/assets/upload-reimbursement-receipt-O2N8vcO7-BlBYl9KM.js +0 -1
  344. package/dist/assets/uploadReceipts-Dge0cNF1-Z9hpH5GP.js +0 -1
@@ -1,266 +0,0 @@
1
- import{ay as Ft,V as t,gm as Un,J as Kn,y as Xn,gn as Hn,go as Yn,gp as qn,gq as Gn,cf as Jn,aS as Qn,x as y,fd as pt,fe as ea,o as a,ff as ta,fg as na,fh as aa,aQ as Ce,fi as ia,ac as f,bE as mt,bq as ut,dx as yt,cs as ht,ct as bt,cu as gt,gr as la,gs as oa,gt as ra,gu as sa,fn as $,gv as j,fp as A,fq as k,fm as da,w as ft,p as re,fo as _t,fw as ca,fr as pa,fs as ma,gw as ua,gx as ya,aT as ha,aq as xt,bV as De,gy as ba,gz as L,b as ga,u as s,ai as fa,c4 as xa,gA as wa,d as Ta,gB as va,fx as wt,c as Da,d6 as Ia,ck as $a,gC as Tt,b9 as ja,bb as Aa,h as ka,bX as Wt,d7 as Sa,gD as Ca,ak as Zt,ax as Pa,b7 as Ba,bv as Ra,gE as za,an as Ma}from"./index-C0Qk6Z4T.js";import{a as p}from"./sentry-DNdJk61Y.js";import{n as i}from"./mui-_BiizxEu.js";import{bY as Na,bL as La,bZ as Oa,Gy as Ea,bX as Fa,bH as _a,bh as Wa}from"./zeni-epic-state-BkKyof9Q.js";import{o as Za,t as Va}from"./LowBalancePopup-6cIv7QGI-Cdkp97a-.js";import"./liveblocks-CEs1rDbD.js";import"./core-BigkILPm.js";import"./recharts-C1J08DKE.js";import"./lottie-B9wjZjZ1.js";import"./analytics-Cvg-u8-2.js";import"./lexical-DMkegWP6.js";import"./utils-CJz9ZWWV.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},b=new e.Error().stack;b&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[b]="d9ce0a17-98df-4a48-9b67-b6bbc853f69f",e._sentryDebugIdIdentifier="sentry-dbid-d9ce0a17-98df-4a48-9b67-b6bbc853f69f")}catch{}})();const Ua=e=>p.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",...e},p.createElement("g",{id:"Layer_1"},p.createElement("path",{fill:"none",stroke:"#757d7e",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round",d:"M4.4,30.6l6-5.9c1,.6,2.1.9,3.3,1,1.1.1,2.3,0,3.4-.4,1.1-.4,2.1-.9,2.9-1.7.9-.8,1.5-1.7,2-2.7,0-.1,0-.2,0-.4,0-.1,0-.2-.1-.3,0-.1-.2-.2-.3-.2-.1,0-.2,0-.4,0h-4.6c-.8,0-1.6-.3-2.1-.9-.6-.6-.9-1.3-.9-2.1s.3-1.5.9-2.1c.6-.6,1.3-.9,2.1-.9h3.8c.1,0,.3,0,.4-.1s.2-.2.3-.3c0-.1,0-.3,0-.4,0-.1,0-.3-.1-.4-1.3-1.6-3.1-2.7-5.2-3.1-2.1-.4-4.2,0-5.9,1.2-1.8,1.1-3,2.8-3.5,4.8s-.2,4.1.8,5.9l-6.1,5.7,3.3,3.3Z"})),p.createElement("g",{id:"Layer_2"},p.createElement("g",null,p.createElement("path",{fill:"#c27419",stroke:"#f3f7f7",strokeWidth:1.2,strokeLinecap:"round",strokeLinejoin:"round",d:"M31,8c0,1.9-.7,3.8-2.1,5.1-1.3,1.4-3.2,2.2-5.1,2.2-.9,0-1.9-.2-2.7-.5-.9-.3-1.7-.9-2.3-1.5-.7-.7-1.2-1.4-1.6-2.3-.4-.9-.6-1.8-.6-2.7,0-1.9.7-3.8,2.1-5.1,1.3-1.4,3.2-2.2,5.1-2.2.9,0,1.9.2,2.7.5.9.3,1.7.9,2.3,1.5.7.7,1.2,1.4,1.6,2.3.4.9.6,1.8.6,2.7Z"}),p.createElement("path",{fill:"none",stroke:"#f3f7f7",strokeWidth:1.2,strokeLinecap:"round",strokeLinejoin:"round",d:"M23.8,9.4v-4.6"}),p.createElement("path",{fill:"none",stroke:"#f3f7f7",strokeWidth:1.2,strokeLinecap:"round",strokeLinejoin:"round",d:"M23.8,11.4s0,0,0,0c0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.1,0,0,0,0,.1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0-.1,0,0,0,0-.1,0h0"})))),Ka={formTitle:new Da("h6Medium","h5Medium")},m={containerPaddingLeft:new y(s[3],s[6],s[6]),containerPaddingRight:new y(s[3],s[6],s[8]),marginBottom:new y(s[3],s[3]),labelWidth:new y(120,160,160),formTitlePaddingLeftRight:new y(30,0),marginTop:new y(s[1],0),rightIconsGap:new y(s[4],s[5]),closeContainerMarginTop:new y(s[1],0),formTitleMarginTopBottom:new y(0,0),footerButtonWidth:new y(120,120,120,165,165),right:new y(s[3],s[0]),actionsContainerRight:new y(s[0],s[3],s[3],s[6],s[6]),otherActionsIconContainerMarginLeft:new y(s[5],s[4],s[4],s[5]),otherActionsContainerBottom:new y(58,44),iconContainerMarginTop:new y(2,s[1]),recurringSchedulePaddingLeft:new y(s[2],0),paddingRight:new y(s[2],s[3]),labelMarginRight:new y(s[0],s[3]),textPadding:new y(s[0],s[3]),additionalTextMarginTop:new y(-4,0),refundPopupWidth:new y(300,420,420),drawerSectionPaddingLeftRight:new y(s[4],s[5]),infoLabelPaddingRight:new y(s[3],s[3]),infoLabelMarginTop:new y(s[1],s[0]),navBarHeight:new y(0,0,s[8]),navBarContainerWidth:new y(100,58)},{dateFormat:Xa,common:{noText:C,strings:{empty:c},currency:vt,via:Ha,more:Ya,edit:qa},spendManagement:{billPay:{billDetails:n,billsByTabs:Pe,bulkActions:Dt,vendorCreation:Ie,insufficientFunds:Vt}},collaboration:{threads:{placeholder:It,tooltip:$t,title:{comments:Ga}}}}=ga.getLocalizedStrings(),$e=Xa.visual.MMMDCommaYYYYformat,jt=({billDetails:e,currentTenant:b,showApproveRejectBtns:h,isShowDeletedBillsEnabled:F,signedInUser:_,isAdmin:se,isRealTimeApprovalEnabled:Ut,isInternationalPaymentShaVsOurEnabled:Kt,hasZeniAssistAccess:Xt,analytics:M,showMarkAsPaidButtonToCreator:U,showMarkAsPaidButtonToApprover:Be,isBillPayCommentingEnabled:Re,isZeniUser:Ht,showBackButton:ze=!0,isDetectInsufficientFundsEnabled:Yt,redirectToEditableBillScreen:qt,redirectToBillsScreen:J,discardBillDetailsFromLocalStore:Me,deleteBill:Gt,cancelAndDeleteBill:Ne,approveOrRejectBill:Le,onAddNewRule:Jt,onAttachmentClick:Oe,saveBillDetails:Qt,discardOutsideZeniPaymentData:en,onBackClick:Ee,updateEditRealTimeApproverClicked:tn,onSaveRealTimeApprovals:nn,onRetryPaymentClick:an,onRefundPaymentClick:ln,initialOpenThreadRequest:K})=>{const l=Kn(),o=Ft(),Fe=Xn(),[on,X]=p.useState(!1),[_e,de]=p.useState(!1),[ce,pe]=p.useState(!1),[We,me]=p.useState(!1),[rn,ue]=p.useState(!1),[Ze,Q]=p.useState(!1),g=e.transactionDetails?.id,sn=Ht?Hn:Yn,{requestToOpenThread:ye,setRequestToOpenThread:ee,setOpenThread:te}=p.useContext(sn);p.useEffect(()=>{K?.threadId!=null&&K?.companyId!=null&&K?.entityType!=null&&ee(K)},[K,ee]);const[dn,H]=p.useState(!1),T={application:"dashboard",companyId:o.currentTenant?.companyId,tab:"bill",entityId:g,isGlobalComment:!1},x=Re&&g!=null,{threads:Y,isLoading:P}=qn(),Ve=p.useMemo(()=>g==null?[]:Y.filter(r=>r.resolved===!1&&!r.id.includes(Gn)),[Y,g]).length,D=`dashboard_${o.currentTenant?.companyId}`,cn=p.useCallback((r,u)=>{te(u),H(!1)},[te,H]);p.useEffect(()=>{ye?.threadId!=null&&Y.length>0&&!P&&(te(ye.threadId),ee(null))},[ye,Y,P,te,ee]);const Ue=p.useRef(!1),[pn,mn]=p.useState(!1),un=p.useRef(r=>{r&&!Ue.current&&(Ue.current=!0,mn(!0))});Jn({componentName:"bill.details",enabled:pn});const[N,ne]=p.useState({title:"",description:"",primaryButtonText:"",secondaryButtonText:""}),[Ke,Xe]=p.useState("approved"),[yn,He]=p.useState(!1),[hn,Ye]=p.useState(!1),[qe,Ge]=p.useState(!1),Je=()=>He(!1),bn=()=>He(!0),Qe=Qn(e.zeniAssist?.refundStatus.fetchState),ae=p.useCallback(()=>{J()},[J]);p.useEffect(()=>{(e.deleteStatus.fetchState==="Completed"||e.approvalUpdateStatus.fetchState==="Completed"||e.cancelAndDeleteStatus.fetchState==="Completed"||e.billSaveStatus==="Completed")&&(Me(),J())},[e,J,Me]),p.useEffect(()=>{Qe==="In-Progress"&&(e.zeniAssist?.refundStatus.fetchState==="Completed"||e.zeniAssist?.refundStatus.fetchState==="Error")&&(pe(!1),ae())},[Qe,e.zeniAssist?.refundStatus,ae]);const w=e.transactionDetails?.billPayInfo.stage,ie=e.transactionDetails?.billPayInfo.billStatus,q=e.transactionDetails?.billPayInfo.billPaymentStatus,gn=e.transactionDetails?.billPayInfo.billPaymentRefundStatus,he=w?.code==="paid",v=he?w:ie?.code=="approved"&&q?.code?q:ie,S=Ja(v,e.transactionDetails),O=e.transactionDetails?.billPayInfo.isRefundInitiated===!0?gn:q?.code!=null&&(ie?.code=="approved"||q.code==="mark_as_paid")?q:ie,be=e.transactionDetails?.vendor?.name,B=e.isRecurring,et=()=>{e.transactionDetails?.id!=null&&qt(e.transactionDetails?.id??"")},fn=()=>{ne({title:B?n.recurringBill.deleteRecurringTitle:n.deleteBillTitle,description:B?n.recurringBill.deleteRecurringAlertText:n.deleteAlertDescription,primaryButtonText:n.delete,secondaryButtonText:n.cancel}),X(!0)},xn=()=>{ne({title:n.cancelBillTitle,description:n.cancelAlertDescription,primaryButtonText:n.yes,secondaryButtonText:n.no}),X(!0)},wn=()=>{ne({title:B?n.recurringBill.cancelAndDeleteRecurringTitle:n.cancelAndDeleteBillTitle,description:B?n.recurringBill.cancelAndDeleteRecurringAlertText:n.cancelAndDeleteAlertDescription,primaryButtonText:n.yes,secondaryButtonText:n.no}),X(!0)},Tn=()=>{M.trackRefundClick(v?.code??"",w?.code??"",O?.description??"",B?["Recurring"]:["One-Time"],e.transactionDetails?.documentId??""),ne({title:n.zeniAssist.refundTitle,description:n.zeniAssist.refundDescription,primaryButtonText:n.zeniAssist.proceed,secondaryButtonText:n.cancel}),pe(!0)},vn={onOkClick:()=>{X(!1),N.primaryButtonText===n.delete?Gt?.(e.isRecurring):N.title===n.cancelBillTitle?Ne?.(e.isRecurring):N.title===n.cancelAndDeleteBillTitle||N.title===n.recurringBill.cancelAndDeleteRecurringTitle?Ne?.(e.isRecurring,!0):N.primaryButtonText===n.zeniAssist.proceed&&(M.trackRefundConfirmClick(v?.code??"",w?.code??"",O?.description??"",B?["Recurring"]:["One-Time"],e.transactionDetails?.documentId??""),ln())},onCancelClick:()=>{X(!1),pe(!1)}},Dn={onOkClick:r=>{ue(!1),Le({billId:e.transactionDetails?.id??"",type:"rejected",description:r})},onCancelClick:()=>{ue(!1)}},In=()=>{const[r]=Pa("ZeniAssist");return r!=null?t.jsx(Ba,{"data-testid":f("bill-details-zeni-assist-icon",g),onClick:()=>{me(!We),M.trackZeniAssistClick(v?.code??"",w?.code??"",O?.description??"",B?["Recurring"]:["One-Time"],e.transactionDetails?.documentId??"")},style:{width:`${a.sp5}`,height:`${a.sp5}`,marginBottom:`${a.sp2}`},animationData:r,loop:!0,play:!0,rendererSettings:{preserveAspectRatio:"xMidYMid slice"}}):null},le={invoiceNumber:e.transactionDetails?.documentId??"",invoiceDate:e.transactionDetails?.date,billDueDate:e.transactionDetails?.dueDate,memo:e.transactionDetails?.memo,currencyCode:e.vendorCurrency??vt.currencyCode},ge=e.transactionDetails?.lines?.map((r,u)=>{const R=r;return{lineIndex:u,lineId:R.id,account:R.account,class:R.class,amount:R.amount.amount,billable:R.billable,customer:R.customer,lineDescription:R.lineDescription,recipientAmount:R.recipientAmount?.amount}})??[],$n=e.transactionDetails?.recipientTotalAmount.amount??0,fe=e.transactionDetails?.recipientTotalAmount,d={paymentType:e.paymentMethodType,paymentDate:e.transactionDetails?.billPayInfo.paymentDate,internationalTransferFeeBearerPaymentMethod:e.transactionDetails?.billPayInfo.internationalTransferFeeBearerPaymentMethod,paymentToBankAccount:e.bankAccount,paymentToPI:e.paymentInstrument},I=m.labelWidth.value(l),jn=r=>r==="billable"||r==="has_been_billed"?n.yes:n.no,An=d.paymentToBankAccount?.bankAccountNumber?d.paymentToBankAccount?.bankAccountNumber?.slice(d.paymentToBankAccount?.bankAccountNumber?.length-4):d.paymentType?.method?.includes("international")&&d.paymentToBankAccount?.bankAccountIban?d.paymentToBankAccount?.bankAccountIban?.slice(d.paymentToBankAccount?.bankAccountIban.length-4):"",kn=d.paymentToBankAccount?.bankAccountName!=null&&d.paymentToBankAccount?.bankAccountName!=""?d.paymentToBankAccount?.bankAccountName:`${e.transactionDetails?.vendor?.name} - ${d.paymentToBankAccount?.bankName} XXXX${An}`,Sn=e.transactionDetails?.billPayInfo?.isCollectToAccountInfoFromVendorContact?t.jsxs(t.Fragment,{children:[`${n.magicLink.collectFrom} ${e.transactionDetails?.billPayInfo?.toAccountVendorEmail}`,t.jsx(ji,{windowSize:l,children:t.jsx($i,{})})]}):void 0,tt=e.transactionDetails?.date!=null&&e.transactionDetails.bookCloseDate!=null&&e.transactionDetails.date.isBefore(e.transactionDetails.bookCloseDate),Cn=()=>{const r=d?.paymentToBankAccount?.bankAccountType,u=r!=null&&r!==""?Sa(r.toLowerCase()):r??"";return`${Ie.achDetails.bankRoutingNumber} ${d?.paymentToBankAccount?.bankRoutingNumberAch}, ${d?.paymentToBankAccount?.bankName}
2
- ${Ie.achDetails.bankAccountNumber} ${d?.paymentToBankAccount?.bankAccountNumber}, ${Ie.achDetails.accountTypeLabel} ${u}`},oe=e.transactionDetails?.billPayInfo!=null?Na(e.transactionDetails?.billPayInfo):void 0,Pn=oe!=null&&e.paymentMethodType?.maxPeriod?.value!=null?La(Oa(oe?.toDate(),[0,6],e.paymentMethodType?.maxPeriod.value).toDateString()):void 0,nt=e.transactionDetails?.billPayInfo.expectedDepositDate??Pn,at=pt(d?.paymentType?.method??"").replace("Same Day",""),Bn=(d?.paymentToBankAccount!=null||d?.paymentToPI)!=null?n.addedByZeni:e.transactionDetails?.billPayInfo.isCollectToAccountInfoFromVendorContact?t.jsx(ea,{paymentTypeLabel:at,onClick:bn,style:{marginTop:`${l==="small"?a.sp2:a.sp0}`}}):void 0,Rn=()=>d?.paymentToBankAccount==null&&d?.paymentToPI==null&&d?.paymentType?.method!=null&&e.transactionDetails?.billPayInfo.isCollectToAccountInfoFromVendorContact&&e.transactionDetails?.billPayInfo.paymentDate!=null?t.jsx(Ca,{paymentType:d?.paymentType?.method,paymentDate:e.transactionDetails?.billPayInfo.paymentDate}):null,it=e.transactionDetails?.lines?.some(r=>{const u=r.account;return u?.isDeleted===!0&&u?.isBillEditableCoaAccountType===!1})??!1,xe=!(v?.code==="processing"||e.transactionDetails?.billPayInfo.isRefundInitiated===!0||e.transactionDetails?.billPayInfo.isRefundComplete===!0||(w?.code==="scheduled"||w?.code==="pending_approval")&&it),lt=!((w?.code==="scheduled"||w?.code==="pending_approval")&&it),we=e.zeniAssist?.isEligibleForRetryIBT===!0||e.zeniAssist?.isEligibleForRetryOBP===!0,Te=e.zeniAssist?.isEligibleForRefund===!0,zn=e?.transactionDetails?.billPayInfo.billPaymentMethodType.code==="wire"&&e?.transactionDetails?.billPayInfo.billPaymentMethodType.subCode==="international",Mn=Xt&&e.transactionDetails?.billPayInfo.billPaymentStatus.code!=null&&["failed","cancelled","returned"].includes(e.transactionDetails.billPayInfo.billPaymentStatus.code)&&(we||Te)&&zn===!1,ve=we||Te,Nn=e.transactionDetails?.billPayInfo.isRefundInitiated===!0&&e.transactionDetails?.billPayInfo.isRefundComplete===!1,W=v?.code,Ln=!Nn&&(!tt||v?.code==="processing"&&!B),ot=!tt,rt=["small","medium-compact","medium-regular"].includes(l),G=Ea(e.transactionDetails?.bulkProcessingDetail?.type),E=Fa(e.paymentMethodType?.method),On=!G&&(W!=="processing"&&lt||W==="processing"&&!B||W==="processing"&&ot||h&&E&&Be),En=r=>{M.trackBillPayMarkAsPaidSubmit(r.paymentMode??"other",w?.code??"",v?.code??""),Qt(!0,qe,r)},st=()=>{Ye(!0),M.trackBillPayMarkAsPaid(w?.code??"",v?.code??"")},Fn=()=>{Ge(!0),st()},_n=()=>{en(),Ye(!1),qe&&Ge(!1)},Wn=p.useMemo(()=>({companyId:o.currentTenant?.companyId??c,companyName:o.currentTenant?.companyName??c,entityType:"bill.details",entityId:g??c,isGlobalComment:!1,application:"dashboard",tab:"bill",url:window.location.href}),[o.currentTenant,g]),Z=Yt&&e.transactionDetails?.totalAmountWithFeesInUSD!=null&&w?.code!=="paid"&&v?.code!=="failed"&&v?.code!=="processing"&&v?.code!=="cancelled"&&v?.code!=="returned"&&v?.code!=="rejected"?ta(e.transactionDetails?.totalAmountWithFeesInUSD,e.withdrawFrom,d.paymentDate):void 0,dt=()=>{Xe("approved"),Ze===!0&&Q(!1),Z!=null&&M.trackLowBalanceAccountApprove(w?.code??"",e.transactionDetails?.billPayInfo.billPaymentStatus.code??"",e.isRecurring?["Recurring"]:["One-Time"],e.transactionDetails?.documentId??"",wt(o.loggedInUser),e.withdrawFrom?.accType==="depositAccount"?"ZA":"External Account"),Le({billId:e.transactionDetails?.id??"",type:"approved"})},Zn=()=>{Xe("rejected"),Z!=null&&M.trackLowBalanceAccountReject(w?.code??"",e.transactionDetails?.billPayInfo.billPaymentStatus.code??"",e.isRecurring?["Recurring"]:["One-Time"],e.transactionDetails?.documentId??"",wt(o.loggedInUser),e.withdrawFrom?.accType==="depositAccount"?"ZA":"External Account"),ue(!0)},ct=p.useRef(null);return t.jsxs(mi,{windowSize:l,ref:ct,children:[t.jsx(na,{anchor:"right",open:yn,onClose:Je,transitionDuration:250,"data-testid":f("vendor-email-preview-drawer"),children:t.jsx(aa,{companyName:ia(b.company?.companyInfo),vendor:e.transactionDetails?.vendor?.name,paymentDate:d.paymentDate?.format($e)??"",paymentType:at,amount:Ce("0,0.[00]",fe),isInvoiceAttached:!!e.transactionDetails?.attachments?.length,onClose:Je})}),t.jsxs(bi,{ref:un.current,windowSize:l,children:[t.jsx(Si,{windowSize:l,children:l==="small"?t.jsx(mt,{"data-testid":f("bill-detail-nav-bar-mobile"),title:t.jsxs(t.Fragment,{children:[be,e.isRecurring?t.jsx(Se,{width:a.sp4,height:a.sp4}):null]}),backgroundColor:Fe.colors.grey4,rightSideComponent:t.jsxs(Bt,{windowSize:l,children:[x?t.jsxs(Ot,{isDisabled:P,"data-testid":f("bill-comment-button"),onClick:P?()=>null:r=>{r.preventDefault(),r.stopPropagation(),H(!0),M.trackCommentActivity("bill","clicked",o.currentTenant?.companyName??"",o.controllersList.controllers.map(u=>yt(u)),void 0,void 0,"page icon")},children:[t.jsx(ut,{count:P?void 0:Ve,isLoading:P,style:{left:"12px"}}),t.jsx(Et,{})]}):null,t.jsx(Rt,{onClick:()=>ae(),"data-testid":f("bill-detail-nav-bar-small-close-button"),children:t.jsx(Pt,{})})]}),leftSideComponent:t.jsx(Ct,{windowSize:l,onClick:Ee,"data-testid":f("bill-detail-nav-bar-small-back-button"),style:{visibility:`${ze?"visible":"hidden"}`},children:t.jsx(St,{})}),source:"BillDetailPage"}):t.jsx(mt,{"data-testid":f("bill-detail-nav-bar"),title:t.jsxs(t.Fragment,{children:[be,e.isRecurring?t.jsx(Se,{width:a.sp4,height:a.sp4}):null]}),rightSideComponent:t.jsxs(Bt,{windowSize:l,children:[x?t.jsxs(Ot,{isDisabled:P,"data-testid":f("bill-comment-button"),onClick:P?()=>null:r=>{r.preventDefault(),r.stopPropagation(),H(!0),M.trackCommentActivity("bill","clicked",o.currentTenant?.companyName??"",o.controllersList.controllers.map(u=>yt(u)),void 0,void 0,"page icon")},children:[t.jsx(ut,{count:P?void 0:Ve,isLoading:P,style:{left:"12px"}}),t.jsx(Et,{})]}):null,t.jsx(Rt,{onClick:()=>ae(),"data-testid":f("bill-detail-nav-bar-close-button"),children:t.jsx(Pt,{})})]}),leftSideComponent:t.jsx(Ct,{windowSize:l,onClick:Ee,"data-testid":f("bill-detail-nav-bar-back-button"),style:{visibility:`${ze?"visible":"hidden"}`},children:t.jsx(St,{})}),enableTitleOnScroll:!0,scrollableContent:ct,source:"BillDetailPage"})}),t.jsxs(gi,{windowSize:l,children:[Ze?t.jsx(Za,{withdrawFrom:e.withdrawFrom,paymentDate:e?.transactionDetails?.billPayInfo.paymentDate,onOkClick:dt,onCancelClick:()=>{Q(!1),et()},onClickAway:()=>{Q(!1)}}):null,hn?t.jsx(Va,{onCancel:_n,onProceedForMarkAsPaid:En,saveDetailsFetchState:e.billSaveStatus,paymentData:e.outsideZeniPaymentInfo}):null,on||ce?t.jsx(ht,{titleComponent:t.jsx(gt,{children:N.title}),descriptionComponent:t.jsx(bt,{children:N.description}),primaryButtonText:N.primaryButtonText,proceedButtonVariant:ce?"primary":"danger",secondaryButtonText:N.secondaryButtonText,action:vn,isEditPopup:!0,isLoading:e.zeniAssist?.refundStatus.fetchState==="In-Progress",children:ce?Qa(l,e):null}):null,rn?t.jsx(ht,{titleComponent:t.jsx(gt,{children:n.rejectBillTitlePrefix+" "+(e.transactionDetails?.vendor?.name!=null?e.transactionDetails.vendor.name:"")}),descriptionComponent:t.jsx(bt,{children:n.rejectBillDescription}),primaryButtonText:n.send,secondaryButtonText:n.cancel,action:Dn,isEditPopup:!0,isNotesIncluded:!0,notesPlaceholder:n.rejectBillReasonPlaceholder}):null,l!=="small"||S?t.jsxs(xi,{windowSize:l,children:[l!=="small"?t.jsxs(wi,{windowSize:l,children:[be,e.isRecurring?t.jsx(Se,{height:a.sp5,width:a.sp5}):null]}):null,F&&S!=null&&S.code==="deleted"?t.jsx(zt,{color:S.color,bgColor:S.bgColor,borderColor:S.borderColor,children:S.value}):S?.value===Pe.tabsById.overdue?t.jsx(zt,{color:S.color,bgColor:S.bgColor,borderColor:S.borderColor,children:S.value}):null]}):null,O!=null&&O.code?l==="small"?t.jsx(la,{progressSectionObj:O,createDate:e.transactionDetails?.createTime,paymentDate:nt,scheduleDate:oe,approvedDate:e.latestApprovedDate,isFrozen:e.transactionDetails?.isDeleted}):t.jsx(oa,{progressSectionObj:O,createDate:e.transactionDetails?.createTime,paymentDate:nt,scheduleDate:oe,approvedDate:e.latestApprovedDate,isFrozen:e.transactionDetails?.isDeleted}):null,ni(G,e,Z),t.jsx(ra,{sectionId:sa,currentVendorOption:{defaultOptions:[]},billId:g,isBillPayCommentingEnabled:Re,isBillPaid:he,disableVendorActions:!0,vendor:e.transactionDetails?.vendor,prevBills:e.previousBills,onAttachmentClick:Oe,isVendorRecommendationEnabled:!1,showVendorGptRecommendationText:!1}),d.paymentType?.method?.includes("ach"),t.jsxs(Ae,{children:[t.jsx(ke,{children:n.whatForTitle}),t.jsxs(je,{children:[t.jsx($,{isThreadAllowed:x,entityId:g,dashboardTabKey:k({type:"details",key:"invoiceNumber"}),roomId:D,companyId:o.currentTenant?.companyId??c,companyName:o.currentTenant?.companyName??c,dashboardOptionType:"bill",filterMetaData:{...T,entityType:`bill.details.${A("invoiceNumber")}`},children:t.jsx(j,{label:{label:n.invoiceNumber,width:I},text:le.invoiceNumber??C,style:{width:"auto"}})}),t.jsx(z,{}),t.jsx($,{isThreadAllowed:x,entityId:g,dashboardTabKey:k({type:"details",key:"invoiceDate"}),roomId:D,companyId:o.currentTenant?.companyId??c,companyName:o.currentTenant?.companyName??c,dashboardOptionType:"bill",filterMetaData:{...T,entityType:`bill.details.${A("invoiceDate")}`},children:t.jsx(j,{label:{label:n.invoiceDate,width:I},text:le.invoiceDate?.format($e)??C,style:{width:"auto"}})}),t.jsx(z,{}),t.jsx($,{isThreadAllowed:x,entityId:g,dashboardTabKey:k({type:"details",key:"billDueDate"}),roomId:D,companyId:o.currentTenant?.companyId??c,companyName:o.currentTenant?.companyName??c,dashboardOptionType:"bill",filterMetaData:{...T,entityType:`bill.details.${A("billDueDate")}`},children:t.jsx(j,{label:{label:n.billDueDate,width:I},text:le.billDueDate?.format($e)??C,style:{width:"auto"}})}),t.jsx(z,{}),t.jsx($,{isThreadAllowed:x,entityId:g,dashboardTabKey:k({type:"details",key:"memo"}),roomId:D,companyId:o.currentTenant?.companyId??c,companyName:o.currentTenant?.companyName??c,dashboardOptionType:"bill",filterMetaData:{...T,entityType:`bill.details.${A("memo")}`},children:t.jsx(j,{label:{label:n.memo,width:I},text:le.memo??C,style:{width:"auto"}})})]})]}),t.jsxs(Ae,{children:[t.jsx(fi,{windowSize:l,children:t.jsx(ke,{children:n.lineItemsTitle})}),ge.length>0?ge.map((r,u)=>{const R=e?.transactionDetails?.lines?.find(Vn=>Vn.id===r.lineId)?.recipientAmount;return t.jsxs(ui,{children:[ge.length>1?t.jsx(yi,{windowSize:l,children:t.jsx(hi,{windowSize:l,children:`${n.line} # ${u+1}`})}):null,t.jsxs(je,{children:[t.jsx($,{isThreadAllowed:x,entityId:g,dashboardTabKey:k({type:"details",key:`${u}.recipientAmount`}),roomId:D,companyId:o.currentTenant?.companyId??c,companyName:o.currentTenant?.companyName??c,dashboardOptionType:"bill",filterMetaData:{...T,entityType:`bill.details.${A("recipientAmount",u)}`},children:t.jsx(j,{label:{label:n.amount,width:I},text:R!=null?Ce("0,0[.]00",R):C,style:{width:"auto"}})}),t.jsx(z,{}),t.jsx($,{isThreadAllowed:x,entityId:g,dashboardTabKey:k({type:"details",key:`${u}.lineDescription`}),roomId:D,companyId:o.currentTenant?.companyId??c,companyName:o.currentTenant?.companyName??c,dashboardOptionType:"bill",filterMetaData:{...T,entityType:`bill.details.${A("lineDescription",u)}`},children:t.jsx(j,{label:{label:n.description,width:I},text:r.lineDescription??C,style:{width:"auto"}})}),t.jsx(z,{}),t.jsx($,{isThreadAllowed:x,entityId:g,dashboardTabKey:k({type:"details",key:`${u}.account`}),roomId:D,companyId:o.currentTenant?.companyId??c,companyName:o.currentTenant?.companyName??c,dashboardOptionType:"bill",filterMetaData:{...T,entityType:`bill.details.${A("account",u)}`},children:t.jsx(j,{label:{label:n.category,width:I},text:r.account?.accountName??C,style:{width:"auto"}})}),t.jsx(z,{}),t.jsx($,{isThreadAllowed:x,entityId:g,dashboardTabKey:k({type:"details",key:`${u}.class`}),roomId:D,companyId:o.currentTenant?.companyId??c,companyName:o.currentTenant?.companyName??c,dashboardOptionType:"bill",filterMetaData:{...T,entityType:`bill.details.${A("class",u)}`},children:t.jsx(j,{label:{label:n.class,width:I},text:r.class?.className??C,style:{width:"auto"}})}),t.jsx(z,{}),t.jsx($,{isThreadAllowed:x,entityId:g,dashboardTabKey:k({type:"details",key:`${u}.billable`}),roomId:D,companyId:o.currentTenant?.companyId??c,companyName:o.currentTenant?.companyName??c,dashboardOptionType:"bill",filterMetaData:{...T,entityType:`bill.details.${A("billable",u)}`},children:t.jsx(j,{label:{label:n.billable,width:I},text:r.billable!=null?jn(r.billable):C,style:{width:"auto"}})}),t.jsx(z,{}),t.jsx($,{isThreadAllowed:x,entityId:g,dashboardTabKey:k({type:"details",key:`${u}.customer`}),roomId:D,companyId:o.currentTenant?.companyId??c,companyName:o.currentTenant?.companyName??c,dashboardOptionType:"bill",filterMetaData:{...T,entityType:`bill.details.${A("customer",u)}`},children:t.jsx(j,{label:{label:n.customer,width:I},text:r.customer?.name??C,style:{width:"auto"}})})]})]},u)}):null]}),t.jsxs(Ti,{windowSize:l,children:[t.jsx(vi,{children:n.total}),t.jsx(Di,{children:fe!=null?t.jsx(da,{amount:fe,integerStyles:ft.h6Medium.cssObject,decimalStyles:ft.standardMedium.cssObject}):C})]}),t.jsxs(Ae,{children:[t.jsx(ke,{children:n.paymentDetailsTitle}),t.jsxs(je,{children:[E?null:t.jsxs(t.Fragment,{children:[t.jsx($,{isThreadAllowed:x,entityId:g,dashboardTabKey:k({type:"details",key:"withdrawFrom"}),roomId:D,companyId:o.currentTenant?.companyId??c,companyName:o.currentTenant?.companyName??c,dashboardOptionType:"bill",filterMetaData:{...T,entityType:`bill.details.${A("withdrawFrom")}`},children:t.jsx(j,{label:{label:n.withdrawFrom,width:I},text:e.withdrawFrom!=null?_t(e.withdrawFrom,l):c,style:{width:"auto"},additionalInfoLabelStyles:{textAlign:"right",paddingRight:m.infoLabelPaddingRight.valuePx(l),marginTop:m.infoLabelMarginTop.valuePx(l),color:re.brandColorGoldDark},additionalInfoLabel:Z!=null&&w?.code==="pending_approval"?Vt.addMoney:Z})}),t.jsx(z,{})]}),t.jsx($,{isThreadAllowed:x,entityId:g,dashboardTabKey:k({type:"details",key:"paymentType"}),roomId:D,companyId:o.currentTenant?.companyId??c,companyName:o.currentTenant?.companyName??c,dashboardOptionType:"bill",filterMetaData:{...T,entityType:`bill.details.${A("paymentType")}`},children:t.jsx(j,{additionalInfoLabel:d.paymentType?.method!=null&&d.paymentType.method.includes(_a)&&Kt&&d.internationalTransferFeeBearerPaymentMethod!=null?t.jsx(ii,{children:ca(d.internationalTransferFeeBearerPaymentMethod)}):void 0,label:{label:n.paymentMethod,width:I},text:E&&e.outsideZeniPaymentInfo!=null?ti(e.outsideZeniPaymentInfo):pt(d.paymentType?.method??""),style:{width:"auto"}})}),E?null:t.jsxs(t.Fragment,{children:[t.jsx(z,{}),t.jsx($,{isThreadAllowed:x,entityId:g,dashboardTabKey:k({type:"details",key:"paymentTo"}),roomId:D,companyId:o.currentTenant?.companyId??c,companyName:o.currentTenant?.companyName??c,dashboardOptionType:"bill",filterMetaData:{...T,entityType:`bill.details.${A("paymentTo")}`},children:t.jsxs(t.Fragment,{children:[t.jsx(j,{label:{label:n.paymentTo,width:I},text:d.paymentToBankAccount!=null?kn:d.paymentToPI!=null?d.paymentToPI.displayText:Sn,style:{width:"auto"},showEyeIcon:d.paymentToBankAccount!=null&&!!d.paymentType?.method?.includes("ach"),showAdditionalInfoLabel:!!e.transactionDetails?.billPayInfo.isCollectToAccountInfoFromVendorContact||d.paymentType?.method?.includes("ach"),tooltipText:Cn(),additionalInfoLabel:t.jsx(ai,{children:Bn})}),Rn()]})})]}),E||e.isRecurring?t.jsxs(t.Fragment,{children:[t.jsx(z,{}),t.jsx($,{isThreadAllowed:x,entityId:g,dashboardTabKey:k({type:"details",key:"recurringPaymentType"}),roomId:D,companyId:o.currentTenant?.companyId??c,companyName:o.currentTenant?.companyName??c,dashboardOptionType:"bill",filterMetaData:{...T,entityType:`bill.details.${A("recurringPaymentType")}`},children:t.jsxs(t.Fragment,{children:[t.jsx(j,{label:{label:n.paymentType,width:I},labelStyles:{marginRight:m.labelMarginRight.valuePx(l)},style:{width:"auto"},text:ma(e.isRecurring,E,e.transactionDetails?.recurringBillInstance??1,e.recurringBillConfigDetail?.totalPaymentCycles??0),textStyles:{paddingLeft:m.textPadding.valuePx(l),paddingRight:m.textPadding.valuePx(l)},additionalInfoLabel:pa(l,e.isRecurring,E,e.recurringBillConfigDetail),additionalInfoLabelStyles:{paddingRight:m.paddingRight.valuePx(l),marginTop:m.additionalTextMarginTop.valuePx(l)}}),e.recurringBillInstances!=null&&e.recurringBillInstances.length>0?t.jsx(Ai,{style:{paddingLeft:m.recurringSchedulePaddingLeft.valuePx(l)},children:t.jsx(ua,{onAttachmentClick:Oe,currencySymbol:e.transactionDetails?.recipientTotalAmount.currencySymbol??vt.currencySymbol,recurringBillInstances:e.recurringBillInstances})}):null]})})]}):null]})]}),e.transactionDetails&&e.transactionDetails.id&&t.jsx(ya,{amount:$n,activities:e.billActivities,stage:w?.code??"draft",onAddNewRule:Jt,entity:"bill_pay",realTimeApproval:{allApprovers:e.filteredApprovers,filteredAttributes:e.filteredAttributes,isRealTimeApproverEditMode:e.realTimeApproval.isEditMode,realTimeApprovalSaveStatus:{fetchState:e.realTimeApproval.fetchState,error:e.realTimeApproval.error},approvalListFetchState:e.approverListFetchState.fetchState,allAccountingClass:e.allAccountingClasses,vendorOwnerId:e.vendorOwnerId??"",isAdmin:se,signedInUserId:_?.userId,showRealTimeApproval:Ut,entityApprovalId:e.billActivities[0]?.entityApprovalId??e.transactionDetails.entityApprovalId,updateEditMode:tn,onSaveRealTimeApprovals:nn},historicActivities:e.billHistory.activities}),t.jsx(Ii,{})]}),e.transactionDetails?.vendor!=null&&!he&&!e.transactionDetails.isDeleted?t.jsx(ha,{separatorStyle:{marginRight:a.sp4},showPrimaryButton:U||h,showCancel:!U&&h,cancelBtn:{label:rt?n.buttons.reject:n.buttons.rejectBill,isLoading:Ke==="rejected"&&e.approvalUpdateStatus.fetchState==="In-Progress",onClick:Zn,style:{width:m.footerButtonWidth.value(l)},reverseSpinnerColor:!1},primaryBtn:{label:ei(U,rt),isLoading:Ke==="approved"&&e.approvalUpdateStatus.fetchState==="In-Progress",onClick:U?st:()=>{Z!=null?Q(!0):dt()},isDisabled:e.billSaveStatus==="In-Progress"||e.approvalUpdateStatus.fetchState==="In-Progress"||e.realTimeApproval.isEditMode===!0,style:{width:U?"auto":m.footerButtonWidth.value(l)}},rightSideComponent:t.jsx(li,{children:t.jsxs(pi,{windowSize:l,children:[!G&&_e?t.jsx(xt,{onClickAway:()=>{de(!1),me(!1)},children:t.jsxs(kt,{windowSize:l,"data-testid":f("bill-actions-container"),children:[W!=="processing"&&lt?t.jsx(V,{onClick:fn,"data-testid":f("delete-bill-action-item"),children:n.buttons.deleteBill}):null,W==="processing"&&!B?t.jsx(V,{onClick:xn,"data-testid":f("cancel-bill-action-item"),children:n.buttons.cancel}):null,W==="processing"&&ot?t.jsx(V,{onClick:wn,"data-testid":f("cancel-and-delete-bill-action-item"),children:n.buttons.cancelAndDelete}):null,h&&E&&Be?t.jsx(V,{onClick:Fn,"data-testid":f("mark-as-paid-action-item"),children:n.paymentOutsideZeni.markAsPaid}):null]})}):null,We?t.jsx(xt,{onClickAway:()=>{de(!1),me(!1)},children:t.jsxs(kt,{windowSize:l,"data-testid":f("bill-actions-with-zeni-assist-container"),children:[we?t.jsx(V,{onClick:()=>{M.trackRetryClick(v?.code??"",w?.code??"",O?.description??"",B?["Recurring"]:["One-Time"],e.transactionDetails?.documentId??""),an()},"data-testid":f("retry-bill-action-item"),children:n.buttons.retry}):null,Te?t.jsx(V,{onClick:Tn,"data-testid":f("refund-bill-action-item"),children:n.buttons.refund}):null]})}):null,t.jsxs(ci,{windowSize:l,children:[Mn===!0?t.jsx(De,{enterDelay:600,style:{color:re.heroDark,padding:`2px ${a.sp2}`},display:"flex",title:ve?n.zeniAssist.tooltip:n.zeniAssist.connectToTeamTooltip,placement:"top",maxWidth:"267px",children:t.jsx(At,{windowSize:l,showEditIcon:xe,isIconClickable:ve,"data-testid":f("other-actions-icon-container"),children:ve?t.jsx(In,{}):t.jsx(ri,{})})}):null,!G&&xe===!0?t.jsx(De,{enterDelay:600,style:{color:re.heroDark,padding:`2px ${a.sp2}`},display:"flex",title:qa,placement:"top",children:t.jsx(di,{onClick:et,"data-testid":f("edit-bill-icon-container"),children:t.jsx(si,{})})}):null,!G&&Ln===!0&&On?t.jsx(De,{enterDelay:600,style:{color:re.heroDark,padding:`2px ${a.sp2}`},display:"flex",title:Ya,placement:"top",children:t.jsx(At,{windowSize:l,showEditIcon:xe,isIconClickable:!0,"data-testid":f("more-details-icon-container"),children:t.jsx(oi,{onClick:()=>de(!_e)})})}):null]})]})}),style:{minHeight:62}}):null]}),x?t.jsx(ba,{isDrawerOpen:dn,allowComposer:!0,drawerTitle:Ga,threads:Y,filter:T,autoExpand:!0,autoFocus:!1,isLoading:P,textOverrides:{composerPlaceholder:It.addANewComment,replyComposerPlaceholder:It.replyAComment,threadResolve:$t.resolveComment,threadUnResolve:$t.unResolveComment},threadMetadata:Wn,onThreadClick:cn,onCloseAllThreadsDrawer:()=>H(!1),drawerSectionStyle:{width:l==="small"?"100%":"400px",boxSizing:l==="small"?"border-box":"content-box",padding:`${a.sp0} ${m.drawerSectionPaddingLeftRight.valuePx(l)}`,backgroundColor:Fe.colors.background},collapsibleThreadStyle:{width:l==="small"?"100%":"360px"}}):null]})},Wi=e=>{const b=Ft(),h=e.billDetails.transactionDetails?.id,F=e.isBillPayCommentingEnabled&&h!=null,_=b.currentTenant?.companyId;if(!(F&&_!=null&&h!=null))return t.jsx(jt,{...e});const se=`dashboard_${_}`;return t.jsx(Un,{roomId:se,filter:{application:"dashboard",companyId:_,entityId:h,tab:"bill",isGlobalComment:!1},children:t.jsx(jt,{...e})})},Ja=(e,b)=>{const h=e?.code;if(e!=null&&h!=null)return b?.isDeleted===!0?{value:Pe.tabsById.deleted,color:L.deleted.color,bgColor:L.deleted.bgColor,borderColor:L.deleted.borderColor,code:"deleted"}:h==="pending_approval"&&b?.dueDate?.isBefore(Wa(),"date")===!0?{value:Pe.tabsById.overdue,color:L.overdue.color,bgColor:L.overdue.bgColor,borderColor:L.overdue.borderColor}:{value:e.name,color:L[h].color,bgColor:L[h].bgColor,borderColor:L[h].borderColor}},Qa=(e,b)=>{const h=b.transactionDetails?.recipientTotalAmount;return t.jsxs(ki,{windowSize:e,children:[t.jsxs(Mt,{windowSize:e,children:[t.jsx(Nt,{children:n.zeniAssist.accountNumber}),t.jsx(Lt,{children:b.withdrawFrom!=null?_t(b.withdrawFrom,e):c})]}),t.jsxs(Mt,{windowSize:e,children:[t.jsx(Nt,{children:n.zeniAssist.amount}),t.jsx(Lt,{children:h!=null?Ce("0,0[.]00",h):C})]})]})},ei=(e,b)=>e?n.paymentOutsideZeni.markAsPaid:b?n.buttons.approve:n.buttons.approveBill,ti=e=>{const b=e.paymentMode,h=n.paymentOutsideZeni.offline;if(b==null||b==="other")return h;const F=n.paymentOutsideZeni.paymentModeOptions.find(_=>_.value===b)?.label;return`${h} ${Ha} ${F}`},ni=(e,b,h)=>{if(e)return t.jsx(Tt,{variant:"warning",style:{marginTop:a.sp5,marginBottom:a.sp3},title:Dt.duplicateWarning.title,description:Dt.duplicateWarning.description});if(h!=null){const F=`${b.withdrawFrom?.label??""} ${b.withdrawFrom?.maskedAccountNumber??""}`;return t.jsx(Tt,{variant:"low-balance",style:{marginTop:a.sp2,marginBottom:a.sp3},title:`${Vt.lowBalanceIn.replace("__account__",F)}`,description:h.replace("Low balance! ","")})}else return null},ai=i.div``,ii=i.div``,li=i.div`
3
- display: flex;
4
- justify-content: flex-end;
5
- `,oi=i(za)`
6
- cursor: pointer;
7
- color: ${e=>e.theme.colors.hero};
8
- width: ${a.sp4};
9
- height: ${a.sp4};
10
- &:hover {
11
- color: ${e=>e.theme.colors.primary};
12
- }
13
- `,At=i.div`
14
- display: flex;
15
- margin-left: ${e=>e.windowSize==="small"?e.showEditIcon===!0?a.sp3:a.sp4:m.otherActionsIconContainerMarginLeft.valuePx(e.windowSize)};
16
- cursor: ${e=>e.isIconClickable===!0?"pointer":"default"};
17
- color: ${e=>e.theme.colors.grey1};
18
- &:hover {
19
- color: ${e=>e.theme.colors.primary};
20
- }
21
- `,ri=i(Ua)`
22
- color: ${e=>e.theme.colors.hero};
23
- width: ${a.sp5};
24
- height: ${a.sp5};
25
- margin-bottom: ${a.sp2};
26
- &:hover {
27
- color: ${e=>e.theme.colors.primary};
28
- }
29
- `,si=i(Ra)`
30
- cursor: pointer;
31
- color: ${e=>e.theme.colors.hero};
32
- width: ${a.sp4};
33
- height: ${a.sp4};
34
- &:hover {
35
- color: ${e=>e.theme.colors.primary};
36
- }
37
- `,di=i.div`
38
- display: flex;
39
- cursor: pointer;
40
- color: ${e=>e.theme.colors.grey1};
41
- margin-left: ${a.sp4};
42
- &:hover {
43
- color: ${e=>e.theme.colors.primary};
44
- }
45
- `,ci=i.div`
46
- display: flex;
47
- justify-content: center;
48
- align-items: center;
49
- `,kt=i.div`
50
- display: flex;
51
- width: max-content;
52
- align-items: center;
53
- justify-content: center;
54
- flex-direction: column;
55
- background-color: ${e=>e.theme.colors.grey5};
56
- color: ${e=>e.theme.colors.hero};
57
- cursor: pointer;
58
- padding-top: ${a.sp1};
59
- padding-bottom: ${a.sp1};
60
- position: absolute;
61
- bottom: ${e=>m.otherActionsContainerBottom.valuePx(e.windowSize)};
62
- z-index: 3;
63
- border: ${e=>`1px solid ${e.theme.colors.grey3}`};
64
- border-radius: ${a.sp1};
65
- right: ${e=>m.right.valuePx(e.windowSize)};
66
- box-shadow: ${e=>`${a.sp0} 2px ${a.sp1} ${e.theme.colors.grey1}3D`};
67
- `,pi=i.div`
68
- width: auto;
69
- justify-content: flex-end;
70
- position: ${e=>e.windowSize==="small"?"static":"relative"};
71
- right: ${e=>m.actionsContainerRight.valuePx(e.windowSize)};
72
- height: 100%;
73
- display: flex;
74
- `,V=i(Zt)`
75
- display: flex;
76
- align-items: center;
77
- width: 100%;
78
- padding-left: ${a.sp3};
79
- padding-right: ${a.sp3};
80
- height: ${a.sp6};
81
- box-sizing: border-box;
82
- &:hover {
83
- background-color: ${e=>e.theme.colors.background};
84
- }
85
- `,St=i(xa)`
86
- cursor: pointer;
87
- color: ${e=>e.theme.colors.hero};
88
- width: 20px;
89
- height: 20px;
90
- &:hover {
91
- color: ${e=>e.theme.colors.primary};
92
- }
93
- `,Ct=i.div`
94
- margin-top: ${e=>m.marginTop.valuePx(e.windowSize)};
95
- display: flex;
96
- align-items: center;
97
- `,Pt=i(Ta)`
98
- cursor: pointer;
99
- width: ${a.sp4};
100
- height: ${a.sp4};
101
- color: ${e=>e.theme.colors.hero};
102
- &:hover {
103
- color: ${e=>e.theme.colors.primary};
104
- }
105
- `,Bt=i.div`
106
- display: flex;
107
- flex-direction: row;
108
- align-items: center;
109
- gap: ${e=>m.rightIconsGap.valuePx(e.windowSize)};
110
- margin-top: ${e=>m.closeContainerMarginTop.valuePx(e.windowSize)};
111
- `,Rt=i.div`
112
- float: right;
113
- width: ${a.sp4};
114
- height: ${a.sp4};
115
- display: flex;
116
- `,mi=i.div`
117
- height: 100%;
118
- overflow: scroll;
119
- `,je=i.div`
120
- display: flex;
121
- flex-direction: column;
122
- background-color: ${e=>e.theme.colors.grey5};
123
- border: 1px solid ${e=>e.theme.colors.grey3};
124
- box-shadow: ${e=>`${a.sp0} 2px ${a.sp1} ${e.theme.colors.dropShadowNormal}`};
125
- border-radius: ${a.sp2};
126
- margin: ${a.sp3} 0;
127
- `,Ae=i.div`
128
- display: flex;
129
- flex-direction: column;
130
- padding-top: ${a.sp3};
131
- `,ui=i.div``,ke=i(ja)`
132
- color: ${e=>e.theme.colors.primary};
133
- `,z=i.div`
134
- display: flex;
135
- flex: 1;
136
- background-color: ${e=>e.theme.colors.grey3};
137
- min-height: 1px;
138
- max-height: 1px;
139
- `,yi=i(Aa)`
140
- display: flex;
141
- align-items: center;
142
- justify-content: space-between;
143
- color: ${e=>e.theme.colors.champion};
144
- margin-top: ${a.sp2};
145
- height: 31px;
146
- `,hi=i(ka)`
147
- color: ${e=>e.theme.colors.champion};
148
- `,bi=i.div`
149
- display: flex;
150
- flex-direction: column;
151
- `,gi=i.div`
152
- display: flex;
153
- flex-direction: column;
154
- background-color: ${e=>e.theme.colors.grey4};
155
- padding-left: ${e=>m.containerPaddingLeft.valuePx(e.windowSize)};
156
- padding-right: ${e=>m.containerPaddingRight.valuePx(e.windowSize)};
157
- overflow-x: hidden;
158
- margin-top: ${e=>m.navBarHeight.valuePx(e.windowSize)};
159
- `,fi=i.div`
160
- display: flex;
161
- flex-direction: ${e=>e.windowSize==="small"?"column":"row"};
162
- align-items: ${e=>e.windowSize==="small"?"unset":"center"};
163
- width: ${e=>e.windowSize==="small"?"fit-content":"unset"};
164
- `,xi=i.div`
165
- display: flex;
166
- margin-bottom: ${a.sp3};
167
- flex-direction: ${e=>e.windowSize==="small"?"column":"row"};
168
- align-items: ${e=>e.windowSize==="small"?"unset":"center"};
169
- width: ${e=>e.windowSize==="small"?"fit-content":"unset"};
170
- `,wi=i(Ia)`
171
- display: flex;
172
- align-items: center;
173
- flex-grow: 1;
174
- ${e=>`${Ka.formTitle.style(e.windowSize)}`};
175
- color: ${e=>e.theme.colors.primary};
176
- margin-bottom: ${e=>m.formTitleMarginTopBottom.valuePx(e.windowSize)};
177
- margin-bottom: ${e=>m.formTitleMarginTopBottom.valuePx(e.windowSize)};
178
- word-break: break-all;
179
- padding: ${e=>`${a.sp0} ${m.formTitlePaddingLeftRight.valuePx(e.windowSize)}`};
180
- `,Ti=i.div`
181
- padding: ${a.sp3};
182
- display: flex;
183
- align-items: center;
184
- justify-content: center;
185
- background-color: ${e=>e.theme.colors.grey3};
186
- border: 1px solid ${e=>e.theme.colors.grey3};
187
- border-radius: ${a.sp2};
188
- color: ${e=>e.theme.colors.hero};
189
- margin-bottom: ${e=>m.marginBottom.valuePx(e.windowSize)};
190
- `,vi=i(Wt)`
191
- display: flex;
192
- width: 176px;
193
- color: ${e=>e.theme.colors.primary};
194
- `,Di=i(Wt)`
195
- display: flex;
196
- width: calc(100% - 176px);
197
- justify-content: flex-end;
198
- color: ${e=>e.theme.colors.primary};
199
- `,zt=i($a)`
200
- display: flex;
201
- color: ${e=>e.borderColor};
202
- align-items: center;
203
- justify-content: flex-end;
204
- padding: 1px 6px 1px 6px;
205
- border: ${e=>`1px solid ${e.borderColor}`};
206
- border-radius: ${a.sp1};
207
- min-width: fit-content;
208
- `,Ii=i.div`
209
- display: flex;
210
- flex-direction: column;
211
- height: ${a.sp11};
212
- `,$i=i(fa)`
213
- height: ${a.sp3};
214
- width: ${a.sp3};
215
- color: ${e=>e.theme.colors.hero};
216
- `,ji=i.div`
217
- display: flex;
218
- align-items: center;
219
- margin-left: ${a.sp2};
220
- margin-top: ${e=>m.iconContainerMarginTop.valuePx(e.windowSize)};
221
- align-self: center;
222
- `,Se=i(va)`
223
- margin-left: ${a.sp2};
224
- color: ${e=>e.theme.colors.hero};
225
- `,Ai=i.div``,ki=i.div`
226
- display: flex;
227
- flex-direction: column;
228
- gap: ${a.sp2};
229
- margin: ${e=>e.windowSize==="small"?`0 ${a.sp3} ${a.sp6} ${a.sp3}`:`0 ${a.sp8} ${a.sp5} ${a.sp8}`};
230
- `,Mt=i.div`
231
- display: flex;
232
- justify-content: space-between;
233
- width: ${e=>m.refundPopupWidth.valuePx(e.windowSize)};
234
- `,Nt=i(Zt)`
235
- text-align: left;
236
- color: ${e=>e.theme.colors.grey1};
237
- `,Lt=i(Ma)`
238
- justify-content: end;
239
- display: flex;
240
- flex: 1;
241
- `,Ot=i.div`
242
- display: flex;
243
- align-items: center;
244
- justify-content: center;
245
- position: relative;
246
- cursor: ${e=>e.isDisabled?"not-allowed":"pointer"};
247
- color: ${e=>e.theme.colors.hero};
248
- opacity: ${e=>e.isDisabled?.5:1};
249
- &:hover {
250
- color: ${e=>e.theme.colors.primary};
251
- }
252
- `,Et=i(wa)`
253
- display: flex;
254
- width: ${a.sp4};
255
- height: ${a.sp4};
256
- align-items: center;
257
- justify-content: center;
258
- `,Si=i.div`
259
- display: flex;
260
- justify-content: space-evenly;
261
- margin-top: 0px;
262
- position: fixed;
263
- top: 0px;
264
- width: ${e=>m.navBarContainerWidth.valuePercentage(e.windowSize)};
265
- z-index: 3;
266
- `;export{Wi as default};
@@ -1,84 +0,0 @@
1
- import{ay as F,J as f,aS as Y,V as e,fy as ee,bE as ie,a as C,ac as B,ag as x,b as I,o as s,as as se,e as le,y as M,aV as U,ao as oe,x as te,p as $,cH as re,aW as ae,bc as ne,u as de}from"./index-C0Qk6Z4T.js";import{a as g}from"./sentry-DNdJk61Y.js";import{n as l}from"./mui-_BiizxEu.js";import{Gn as ce,bP as pe,Go as xe}from"./zeni-epic-state-BkKyof9Q.js";import{C as me}from"./VideoPopup-Kq2Ny4qb-GkudTuD5.js";import{M as b}from"./usp-line-BBd1wKwW-qHMqNnBh.js";import"./liveblocks-CEs1rDbD.js";import"./core-BigkILPm.js";import"./recharts-C1J08DKE.js";import"./lottie-B9wjZjZ1.js";import"./analytics-Cvg-u8-2.js";import"./lexical-DMkegWP6.js";import"./utils-CJz9ZWWV.js";import"./VideoPlayer-Dp4LYdDK-BIrhMJBd.js";(function(){try{var i=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new i.Error().stack;o&&(i._sentryDebugIds=i._sentryDebugIds||{},i._sentryDebugIds[o]="c1548edb-2081-4821-a92b-8eb9f7aa8906",i._sentryDebugIdIdentifier="sentry-dbid-c1548edb-2081-4821-a92b-8eb9f7aa8906")}catch{}})();const D="https://storage.googleapis.com/zeni-apis.appspot.com/images/Billpay-Light.png",A="https://storage.googleapis.com/zeni-apis.appspot.com/images/Billpay-Dark.png",he={midContainerMarginBottom:new te(de[5],44)},ge=l.div`
2
- display: flex;
3
- flex: 1 1 auto;
4
- min-height: 100%;
5
- flex-direction: column;
6
- background-color: ${i=>i.theme.colors.grey4};
7
- `,ue=l.div`
8
- padding: ${i=>i.windowSize==="small"?`${s.sp0} ${s.sp3}`:`${s.sp0} ${s.sp8}`};
9
- text-align: center;
10
- `,we=l(le)`
11
- max-width: 600px;
12
- margin: auto;
13
- padding: ${s.sp7} ${s.sp0};
14
- color: ${i=>i.theme.colors.primary};
15
- `,ye=l(se)`
16
- max-width: 600px;
17
- margin: auto;
18
- padding: ${s.sp5} ${s.sp0};
19
- color: ${i=>i.theme.colors.primary};
20
- `,L=l.div`
21
- display: flex;
22
- flex-direction: ${i=>i.windowSize==="small"?"column":"row"};
23
- align-items: center;
24
- justify-content: center;
25
- margin-bottom: ${i=>he.midContainerMarginBottom.valuePx(i.windowSize)};
26
- `,je=l.div``,m=l.img``,V=l.div`
27
- width: ${i=>i.windowSize==="small"?"auto":"376px"};
28
- display: flex;
29
- flex-direction: column;
30
- `,_=l.div`
31
- width: ${i=>i.windowSize==="small"?"100%":"calc(100% - 376px)"};
32
- overflow: hidden;
33
- max-width: 712px;
34
- display: flex;
35
- align-content: center;
36
- justify-content: center;
37
- align-items: center;
38
- `,E=l.div`
39
- margin-left: ${i=>i.windowSize==="small"?s.sp0:s.sp6};
40
- margin-bottom: ${i=>i.windowSize==="small"?s.sp4:s.sp0};
41
- background: ${i=>i.theme.colors.grey3};
42
- border-radius: 12px;
43
- border: ${i=>`1px solid ${i.theme.colors.grey3}`};
44
- padding: 15px;
45
- `,n=l.div`
46
- border-radius: ${s.sp12};
47
- border: ${i=>`1px solid ${i.theme.colors.grey2}`};
48
- padding: ${i=>i.windowSize==="small"?`${s.sp2} ${s.sp4} ${s.sp2} ${s.sp0}`:`${s.sp3} ${s.sp5} ${s.sp3} ${s.sp0}`};
49
- background: ${i=>i.theme.colors.grey5};
50
- position: relative;
51
- margin-bottom: ${s.sp3};
52
- display: flex;
53
- align-items: center;
54
- text-align: start;
55
- box-sizing: border-box;
56
- `,u=l(ne)`
57
- color: ${i=>i.theme.colors.champion};
58
- `,w=l(ae)`
59
- color: ${i=>i.theme.colors.champion};
60
- `,y=l(U)`
61
- color: ${i=>i.theme.colors.champion};
62
- `,j=l(re)`
63
- color: ${i=>i.theme.colors.champion};
64
- `,d=l.div``,c=l.div`
65
- padding-left: ${s.sp3};
66
- `,G=l(b)`
67
- color: ${$.graphColor16Dark};
68
- `,R=l(b)`
69
- color: ${$.graphColor09Dark};
70
- `,O=l(b)`
71
- color: ${$.graphColor28Dark};
72
- `,fe=l(oe)`
73
- margin: ${s.sp3} auto;
74
- max-width: 719px;
75
- color: ${i=>i.theme.colors.hero};
76
- `,$e=l.div`
77
- display: flex;
78
- flex-direction: ${i=>i.windowSize==="small"?"column":"row"};
79
- align-items: center;
80
- justify-content: center;
81
- `,be=l(U)`
82
- margin: ${i=>i.windowSize==="small"?s.sp1:`auto ${s.sp5}`};
83
- color: ${i=>i.theme.colors.grey1};
84
- `,t=I.getLocalizedStrings().spendManagement.billPay.billPayPromo,r=I.getLocalizedStrings().commonSetUp.businessVerification.terms,Ee=({billPaySetupView:i,analytics:o,meetingUrl:S,videoUrl:Z,onButtonClick:H,onBackClick:J,onSetupBillPaySuccess:z,onClickMenuIcon:N})=>{const h=F(),a=f(),{billPayTermsDetails:p}=i,[K,Q]=g.useState(!1),[W,k]=g.useState(!1),v=Y(p?.fetchStatus.fetchState);g.useEffect(()=>{v==="In-Progress"&&p?.fetchStatus.fetchState==="Completed"&&z?.()},[v,z,p?.fetchStatus]);const X=()=>{o?.trackBillPayPromoScheduleDemo(),k(!0)},q=ce(h.loggedInUserRoleMap),P=pe(h.loggedInUserRoleMap)&&!q,T=P?t.setupNonAccessableUsersPromoText:t.promoText;return e.jsxs(ge,{children:[K===!0?e.jsx(me,{onCancelClick:()=>{Q(!1)},videoUrl:Z}):null,W===!0?e.jsx(ee,{onCancelClick:()=>{k(!1)},meetingUrl:S}):null,e.jsx(ie,{title:t.title,onBackClick:J,showBackButton:!xe(h.loggedInUserRoleMap),showMenuIcon:a==="small"||a==="medium-compact",onClickMenuIcon:N,source:"BillPayPromoPage"}),e.jsxs(ue,{windowSize:a,children:[a==="small"?e.jsx(ye,{children:T}):e.jsx(we,{children:T}),a==="small"?e.jsx(Se,{}):e.jsx(ze,{}),P===!1?e.jsxs(je,{children:[e.jsxs($e,{windowSize:a,children:[e.jsx(C,{variant:"secondary",label:t.scheduleDemoButton,onClick:X,"data-testid":B("billpay-schedule-demo-button")}),e.jsx(be,{windowSize:a,children:t.orText}),e.jsx(C,{variant:"primary",label:t.setupBillPayButton,loading:p?.fetchStatus.fetchState==="In-Progress",onClick:H,"data-testid":B("billpay-setup-button")})]}),e.jsxs(fe,{children:[t.terms.terms1,e.jsx(x,{href:r.consentUrl,linkText:r.consent}),r.term2,e.jsx(x,{href:r.depositUrl,linkText:r.depositTerms}),r.term3,e.jsx(x,{href:r.privacyPolicyUrl,onZeniLinkClick:()=>(o?.trackBillPayPrivacyPolicy(),!0),linkText:r.privacy}),r.term4,e.jsx(x,{href:r.tosUrl,onZeniLinkClick:()=>(o?.trackBillPayAgreement(),!0),linkText:r.tos}),r.term5,t.terms.terms3]})]}):null]})]})},Se=()=>{const i=M(),o=f();return e.jsxs(L,{windowSize:o,children:[e.jsx(_,{windowSize:o,children:e.jsx(E,{windowSize:o,children:i.mode==="dark"?e.jsx(m,{src:A,alt:"forecast-promo",style:{width:"100%",height:"auto"},loading:"lazy"}):e.jsx(m,{src:D,alt:"forecast-promo",style:{width:"100%",height:"auto"},loading:"lazy"})})}),e.jsxs(V,{windowSize:o,children:[e.jsxs(n,{windowSize:o,children:[e.jsx(d,{children:e.jsx(O,{})}),e.jsxs(c,{children:[e.jsx(j,{children:t.fullyManagedText.bold}),e.jsx(y,{children:t.fullyManagedText.regular})]})]}),e.jsxs(n,{windowSize:o,children:[e.jsx(d,{children:e.jsx(R,{})}),e.jsxs(c,{children:[e.jsx(j,{children:t.multiLevelApprovalText.bold}),e.jsx(y,{children:t.multiLevelApprovalText.regular})]})]}),e.jsxs(n,{windowSize:o,children:[e.jsx(d,{children:e.jsx(G,{})}),e.jsxs(c,{children:[e.jsx(j,{children:t.aiPoweredText.bold}),e.jsx(y,{children:t.aiPoweredText.regular})]})]})]})]})},ze=()=>{const i=M(),o=f();return e.jsxs(L,{windowSize:o,children:[e.jsxs(V,{windowSize:o,children:[e.jsxs(n,{windowSize:o,style:{width:"376px"},children:[e.jsx(d,{children:e.jsx(O,{})}),e.jsxs(c,{children:[e.jsx(w,{children:t.fullyManagedText.bold}),e.jsx(u,{children:t.fullyManagedText.regular})]})]}),e.jsxs(n,{windowSize:o,style:{width:"376px"},children:[e.jsx(d,{children:e.jsx(R,{})}),e.jsxs(c,{children:[e.jsx(w,{children:t.multiLevelApprovalText.bold}),e.jsx(u,{children:t.multiLevelApprovalText.regular})]})]}),e.jsxs(n,{windowSize:o,style:{width:"376px"},children:[e.jsx(d,{children:e.jsx(G,{})}),e.jsxs(c,{children:[e.jsx(w,{children:t.aiPoweredText.bold}),e.jsx(u,{children:t.aiPoweredText.regular})]})]})]}),e.jsx(_,{windowSize:o,children:e.jsx(E,{windowSize:o,children:i.mode==="dark"?e.jsx(m,{src:A,alt:"forecast-promo",style:{width:"615px",height:"402px"},loading:"lazy"}):e.jsx(m,{src:D,alt:"forecast-promo",style:{width:"615px",height:"402px"},loading:"lazy"})})})]})};export{Ee as default};
@@ -1,44 +0,0 @@
1
- import{y as be,J as we,aa as Ce,cI as Pe,aX as k,b as xe,V as t,x as P,bE as Ie,L as Ae,ae as ve,by as je,cJ as ke,aT as $e,o as s,hV as Te,f2 as Ve,f3 as De,u as x,an as Ee,h1 as Be,p as Le,c as Oe}from"./index-C0Qk6Z4T.js";import{a as H}from"./sentry-DNdJk61Y.js";import{n as r}from"./mui-_BiizxEu.js";import{M as ze,o as R,t as Me}from"./PaymentAccountSetupBillingAddressSection-CDPrK0IE-Bj86EDR9.js";import{F as _e}from"./SetUpAccountSection-8mYaeWwd-DgrolkOV.js";import"./liveblocks-CEs1rDbD.js";import"./core-BigkILPm.js";import"./recharts-C1J08DKE.js";import"./zeni-epic-state-BkKyof9Q.js";import"./lottie-B9wjZjZ1.js";import"./analytics-Cvg-u8-2.js";import"./lexical-DMkegWP6.js";import"./utils-CJz9ZWWV.js";import"./commonTypes-B2dNLPs8-LssZrp5i.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]="e6a2c0bc-9e5e-456e-820d-c9e07372be11",e._sentryDebugIdIdentifier="sentry-dbid-e6a2c0bc-9e5e-456e-820d-c9e07372be11")}catch{}})();const p={titleWidth:new P(343,580,726,826),setupDetailsRowGap:new P(12,x[5],x[5]),iconWidthHeight:new P(20,x[4]),subTitlePaddingTop:new P(12,x[3])},He={title:new Oe("standardSemiBold","largeSemiBold")},W="billingSetupPage",I="payAccountSectionId",n="subscriptionBillingAddressSectionId",ct=({analytics:e,billingSetupView:i,connectedAccountProvider:m,isDisabled:d,onClickMenuIcon:A,uiState:J,stripeKey:K,googleAPIKey:N,companyId:q,onUpdateAccountClick:G,onFetchLinkTokenClick:Z,onUpdatePaymentAccountStatus:Q,onUpdatePaymentAccountLoginStatus:X,onEstablishConnectionClick:Y,onEstablishConnectionSuccess:ee,handleCreateCardSetupIntent:te,handleConfirmCardSetupIntent:ne,updateCardPaymentModalState:$,handleAddCardPaymentSource:ie,resetCardPaymentViewState:oe,handleResetCardPaymentErrorStatuses:ae,onBillingAddressSave:se,onAddressEditHandler:re})=>{const w=be(),o=we(),{setupView:{paymentAccount:y,plaidConnectionDetails:de,allBankAccounts:le,accountFetchStatus:T},cardPaymentView:h}=i,ce=i.subscriptionBillingAddress,V=y?.providerVerificationStatus,ue=T.fetchState==="In-Progress"||T.fetchState==="Not-Started",f=Ce({mode:"onSubmit",reValidateMode:"onChange",defaultValues:F(i),values:F(i),resetOptions:{keepDirtyValues:!0}}),pe=f.handleSubmit(c=>{se(q)}),D=i.subscriptionBillingAddressSaveStatus,me=async(c,a)=>{const g=a[I];if(c.includes(n)&&a[n]!=null){const v=f.getValues(`${n}`).country;let u=a[n];if(c.includes(`${n}.street`)&&a[n].street!=null){const{addressValue:b}=a[n].street,j=Ve(b?.country);u={street:a[n].street??l.strings.empty,city:b?.locality??l.strings.empty,state:b?.administrativeAreaLevel1??l.strings.empty,country:j,countryCode:b?.countryCode??l.strings.empty,postalCode:b?.postalCode??l.strings.empty,secondaryInfo:a[n].secondaryInfo,suite:a[n].suite},v.selectedOption!==j.selectedOption&&(u={...u,country:j})}else c===`${n}.country`&&v.selectedOption!=null&&(u={...u,countryCode:De(v.selectedOption)});u!=null&&re(u)}else c.includes(I)&&g.account.selectedOption!=null&&y?.paymentAccountId!=null&&y.zeniAccountId!==g.account.selectedOption&&G(g.account.selectedOption,y.paymentAccountId)};H.useEffect(()=>{const c=f.watch((a,{name:g})=>{g!=null&&a!=null&&Pe(()=>me(g,a))});return()=>{c.unsubscribe()}});const E=w.mode==="light"?new k(w.colors.brandColorJadeLight):new k(w.colors.brandColorJadeDark),{customerOnboardingPage:{sections:{link_payment_account:he,card_payment_method:S}},common:l,billingSetupPage:B}=xe.getLocalizedStrings(),ge=B.section.subTitle,{text:ye,subText:fe}=he,L=h.cardsList.length>0,O=h?.cardsList[0]?.brand??"other",z=h?.addCardPaymentSourceStatus.fetchState,C=ze(S.header,S.titleText,S.protectedCardNo,h);let M;L&&(M={header:C.header,title:C.title,subtitle:C.subtitle,status:C.status==="valid"?{name:"Verified",code:"verified"}:{name:"Pending",code:"pending"},showAddPaymentMethodDropDown:L===!0,icon:{element:t.jsx("img",{src:R(O).iconURL,width:p.iconWidthHeight.valuePx(o),height:p.iconWidthHeight.valuePx(o),alt:R(O).name}),color:new k(E)},showCompletedIcon:!1,isError:z==="Error",isLoading:z==="In-Progress",isCompleted:!0,showRightArrow:!1});const[_,Se]=H.useState(!1);return t.jsxs(We,{children:[t.jsx(Ie,{source:"BillingSettingsPage",title:B.section.title,backgroundColor:w.colors.grey4,style:{zIndex:3},showBackButton:!1,showMenuIcon:o==="medium-compact"||o==="small",onClickMenuIcon:A}),t.jsxs(Re,{windowSize:o,children:[t.jsx(Fe,{windowSize:o,children:ge}),ue?t.jsx(Ue,{children:t.jsx(Ae,{size:"ExtraLarge",start:!0})}):t.jsx(ve,{...f,children:t.jsx(Ge,{children:t.jsx("form",{id:U(W),onSubmit:pe,children:t.jsxs(Je,{windowSize:o,children:[t.jsx(_e,{connectedAccountProvider:m,paymentAccount:y,plaidConnectionDetails:de,allBankAccounts:le,header:S.header,sectionTitle:S.header,defaultSectionTitle:ye,defaultSectionSubTitle:fe,sectionId:I,isDisabled:d,onFetchLinkTokenClick:Z,onEstablishConnectionClick:Y,onUpdatePaymentAccountStatus:Q,onUpdatePaymentAccountLoginStatus:X,onEstablishConnectionSuccess:ee,isError:V?.code==="require_info"||V?.code==="failed",icon:{element:t.jsx(je,{width:p.iconWidthHeight.valuePx(o),height:p.iconWidthHeight.valuePx(o)}),color:E},analytics:e,productType:"billing",updateCardPaymentModalState:$,cardPaymentSectionValues:M,cardPaymentView:h,resetCardPaymentViewState:oe,showZeniAccountSection:!1,referrer:"Billing",cardSetupInProgress:_}),Ke(o,l.headers.billingAddress,ce,N,d)]})})})}),ke(f.formState.dirtyFields)?t.jsx($e,{formId:U(W),style:{width:o==="small"?"auto":"100%",paddingTop:s.sp2,paddingBottom:s.sp2,height:s.sp8},primaryBtn:{label:l.footer.save,isLoading:D?.fetchState==="In-Progress",isDisabled:D?.fetchState==="In-Progress",style:{height:s.sp6}},showCancel:!1,containerStyle:{width:"auto",justifyContent:"center"}}):null]}),t.jsx(Me,{handleConfirmCardSetupIntent:ne,updateCardPaymentModalState:$,handleCreateCardSetupIntent:te,handleAddCardPaymentSource:ie,cardPaymentView:h,isCardPaymentOpen:J.isCardPaymentPopupOpen,handleResetCardPaymentErrorStatuses:ae,stripeKey:K,cardSetupInProgress:_,setCardSetupInProgress:Se})]})},F=e=>{const{paymentAccount:i,allBankAccounts:m}=e.setupView;return{[I]:{account:{selectedOption:i?.zeniAccountId,allOptions:m.map(d=>({label:d.accountName,value:d.accountId}))}},[n]:Te(n,e.subscriptionBillingAddress)[n]}},Re=r.div`
2
- display: flex;
3
- justify-content: space-between;
4
- height: 100%;
5
- overflow-y: auto;
6
- flex-direction: column;
7
- align-items: center;
8
- row-gap: ${e=>p.setupDetailsRowGap.valuePx(e.windowSize)};
9
- `,We=r.div`
10
- display: flex;
11
- min-height: 100%;
12
- flex-direction: column;
13
- width: 100%;
14
- background-color: ${e=>e.theme.colors.grey4};
15
- `,Fe=r(Ee)`
16
- color: ${e=>e.theme.colors.hero};
17
- display: flex;
18
- justify-content: center;
19
- width: ${e=>p.titleWidth.valuePx(e.windowSize)};
20
- padding-top: ${e=>p.subTitlePaddingTop.valuePx(e.windowSize)};
21
- padding-bottom: ${s.sp3};
22
- text-align: ${e=>e.windowSize==="small"?"initial":"center"};
23
- `,Ue=r.div`
24
- display: flex;
25
- width: 100%;
26
- height: calc(100vh - 110px);
27
- flex-direction: row;
28
- justify-content: center;
29
- align-items: center;
30
- background-color: ${e=>e.theme.colors.grey4};
31
- `,Je=r.div`
32
- display: flex;
33
- flex-direction: column;
34
- `,Ke=(e,i,m,d,A)=>t.jsxs(Ne,{children:[t.jsx(qe,{windowSize:e,isDisabled:A==="disabled",children:i}),t.jsx(Be,{googleAPIKey:d??"",addressToEdit:m,sectionId:`${n}`,style:{marginLeft:"0px"},elementsStyle:{paddingRight:"0px"}})]}),Ne=r.div`
35
- margin-top: ${s.sp3};
36
- margin-bottom: ${s.sp4};
37
- `,qe=r.div`
38
- ${e=>`${He.title.style(e.windowSize)}`};
39
- margin-bottom: ${s.sp3};
40
- margin-top: ${s.sp4};
41
- color: ${e=>e.isError===!0?Le.important:e.isDisabled===!0?e.theme.colors.grey1:e.theme.colors.primary};
42
- `,Ge=r.div`
43
- flex: 1;
44
- `,U=e=>`${e}_form`;export{ct as default,U as uniqueName};
@@ -1 +0,0 @@
1
- import{V as b,cs as V,ct as M,cu as W,kh as q,a_ as z,b as H}from"./index-C0Qk6Z4T.js";import{a as f}from"./sentry-DNdJk61Y.js";import{H4 as J}from"./zeni-epic-state-BkKyof9Q.js";import{u as X}from"./ReviewOverlay-CCHslqz--CZdRxBdf.js";import"./liveblocks-CEs1rDbD.js";import"./core-BigkILPm.js";import"./recharts-C1J08DKE.js";import"./mui-_BiizxEu.js";import"./lottie-B9wjZjZ1.js";import"./analytics-Cvg-u8-2.js";import"./lexical-DMkegWP6.js";import"./utils-CJz9ZWWV.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},r=new e.Error().stack;r&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[r]="3585b089-98f3-4e28-9a5f-88941a882f61",e._sentryDebugIdIdentifier="sentry-dbid-3585b089-98f3-4e28-9a5f-88941a882f61")}catch{}})();const{common:n,spendManagement:{billPay:x}}=H.getLocalizedStrings(),o=x.bulkActions;let I;const de=({billsReviewView:e,analytics:r,onProceedForBulkActionClick:l,onCloseReviewItem:t,onCloseOverlay:c})=>{const{fetchState:m,bulkSubmissionFetchState:a,bulkOperationTypeSelected:i,currentTab:g,currentSubTab:_}=e,u=i==="review",[C,w]=f.useState(!1),[s,v]=f.useState(T(e,u)),[p,k]=f.useState(u),[P,E]=f.useState(0),[h,j]=f.useState({type:"",title:"",description:"",primaryButtonText:"",secondaryButtonText:""});f.useEffect(()=>(u&&(I=setInterval(()=>{v(d=>d.map((S,L)=>(clearInterval(I),L===P?{...S,reviewStatus:{isLoading:!1,code:"valid"}}:S))),E(d=>d+1)},1e3)),P===s.length&&p&&(k(!1),clearInterval(I)),!u&&e.fetchState==="Completed"&&v(T(e,!1)),()=>{clearInterval(I)}),[s.length,P,p,e.fetchState,u,e]);const R=s.length,y=s.filter(d=>d.reviewStatus.code!=="error").length,D=()=>{const{title:d,description:S}=Z(y);j({type:"reject",title:d,description:S,primaryButtonText:n.texts.confirm,secondaryButtonText:n.texts.close}),r.trackBillPayBulkSubmit(i,g,_),w(!0)},N={onOkClick:d=>{w(!1),r.trackBillPayBulkPopupConfirm(i,g,_,Y(e)),l("reject",d)},onCancelClick:()=>{w(!1)}},{title:A,description:F}=G(m,y,R,p),B=e.fetchState==="Completed"&&y===0,$=()=>{r.trackBillPayBulkSubmit(i,g,_),l(i)},U={label:B?n.texts.close:i==="send_for_approval"?n.footer.submit:n.footer.approve,isDisabled:m!=="Completed"||i==="reject"&&a==="In-Progress",isLoading:a==="In-Progress"&&(i==="send_for_approval"||i==="approve"),onClick:B?c:$,style:i==="send_for_approval"?{minWidth:"92px"}:{}},O={label:i==="send_for_approval"?n.texts.goBack:n.footer.reject,isDisabled:i!=="reject"&&a==="In-Progress",isLoading:i==="reject"&&a==="In-Progress",reverseSpinnerColor:!1,onClick:i==="send_for_approval"?c:D,style:i==="approve"?{minWidth:"92px"}:{}};return b.jsxs(b.Fragment,{children:[C?b.jsx(V,{titleComponent:b.jsx(W,{children:h.title}),descriptionComponent:b.jsx(M,{children:h.description}),primaryButtonText:h.primaryButtonText,proceedButtonVariant:"danger",secondaryButtonText:h.secondaryButtonText,action:N,isNotesIncluded:!0,isEditPopup:!0}):null,b.jsx(X,{title:A,description:{content:F,isError:e.fetchState==="Completed"&&y===0},reviewItems:s,onCloseReviewItem:t,onCloseOverlay:c,showFooter:e.fetchState==="Completed"&&!p,footerProps:{primaryButton:U,cancelButton:O,hideCancel:B}})]})},T=(e,r)=>{const l=e.fetchState==="In-Progress";return e.billsForReview.map(t=>({id:t.transactionId,leftSideText:{title:t.vendorName?t.vendorName:x.billDetails.newBillTitle,subTitle:`${x.billDetails.invoiceNo} ${t.invoiceNumber?t.invoiceNumber:n.strings.hyphen}`},rightSideText:{title:z("0,0.[00]",t.amount?.amount,t.amount?.currencySymbol),showThunderIcon:t.reviewErrors?.length===1&&J(t.reviewErrors[0].reviewErrorCode),subTitle:K(t.reviewStatus==="warning",t.reviewErrors?.map(c=>c.reviewInfoMessage)),additonalInfo:t.reviewErrors!=null&&t.reviewErrors.length>1?o.reviewPage.removeOrProceed:void 0},reviewStatus:{isLoading:r?!0:l,code:t.reviewErrors?.length===1&&t.reviewErrors[0].reviewErrorCode==="ERR_INSUFFICIENT_FUNDS"?"low-balance":t.reviewStatus??""}}))},Y=e=>{const r=e.billsForReview;let l=[];return r.forEach(t=>{l=q([...l,t.isRecurring?"recurring":"one-time"])}),l},Z=e=>{const{this_:r,these:l,bill:t,bills:c,payment:m,payments:a}=n.texts;return e>1?{title:o.popUps.reject.title.replace("<_payment_>",o.payments),description:o.popUps.reject.description.replaceAll("<_this_>",l).replaceAll("<_payment_>",a).replaceAll("<_bill_>",c)}:{title:o.popUps.reject.title.replace("<_payment_>",o.payment),description:o.popUps.reject.description.replaceAll("<_this_>",r).replaceAll("<_payment_>",m).replaceAll("<_bill_>",t)}},G=(e,r,l,t)=>{const{has:c,have:m,bill:a,bills:i,are:g,is:_,do_:u,does:C}=n.texts,w=r>1,s=l>1;let v="",p="";return e==="Completed"&&!t?(v=o.reviewPage.billsReviewed.title.replace("<_bill_>",s?x.bulkActions.bills:o.bill).replace("<_has_>",s?m:c),r===0?p=o.reviewPage.billsReviewed.descriptionError.replace("<_bill_>",s?i:a).replace("<_do_>",s?u:C):p=`${r}/${l} ${o.reviewPage.billsReviewed.description.replace("<_bill_>",l>1?i:a).replace("<_is_>",w?g:_)}`):(v=o.reviewPage.billsReviewing.title.replace("<_bill_>",s?i:a),p=o.reviewPage.billsReviewing.description.replace("<_bill_>",s?i:a)),{title:v,description:p}},K=(e,r)=>{if(r?.length!=null){if(r.length>1)return r.join(` ${n.strings.dividerDot} `);if(r.length===1)return e?r[0]+`${n.strings.colon} ${o.reviewPage.removeOrProceed}`:r[0]}return""};export{de as default,Y as getBillsUniqueType};