@zeniai/web-cockpit-ui 1.15.9-qa → 1.15.10-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.
- package/dist/assets/{ACHDetailsPage-BVkQ4K87-SgfFBkfa.js → ACHDetailsPage-BtE9TY6d-C9maaZu_.js} +1 -1
- package/dist/assets/{AIPerformancePage-BRTJZGiA-BlfIHJQn.js → AIPerformancePage-BkDJ2ST0-Dzxt81Gg.js} +12 -12
- package/dist/assets/AccountInfoPage-CTbeJLI7-C29oNV5j.js +18 -0
- package/dist/assets/{AccountInfoPageContent-PRtq3bFi-BlKWioPK.js → AccountInfoPageContent-BUTcEduM-DVKpBXHq.js} +1 -1
- package/dist/assets/{AccountLockedInfoModal-BPtkVnq9-BX2jNU1X.js → AccountLockedInfoModal-v6aQO7JB-xH0-ZPkG.js} +1 -1
- package/dist/assets/{AccountReconDetailsDrawerPage-vJYKDiYF-TFHtwHwv.js → AccountReconDetailsDrawerPage-DIAg-5PN-B1-bYNLU.js} +1 -1
- package/dist/assets/{AccountRow-DvTUqeYB-DXbzmjkX.js → AccountRow-BVKk7u7h-CDJSAP1l.js} +1 -1
- package/dist/assets/{AccountsPromoCardStack-B8BaHMXs-DjcKs3mI.js → AccountsPromoCardStack-CM2kVta7-D4DDSl1Z.js} +17 -17
- package/dist/assets/{AddAddressForCardDrawer-B7RkZqGh-DE6q0u1m.js → AddAddressForCardDrawer-DDTSYpDb-gu3pix_O.js} +1 -1
- package/dist/assets/{AddToWalletPage-DuHNwXF4-DiVlS_sl.js → AddToWalletPage-D2Qg0MR_-DL2aRvxj.js} +1 -1
- package/dist/assets/{AgingReportsPage-BK1LaJ_w-BuDgqVnh.js → AgingReportsPage-_mSqD2hW-Boesp-Ca.js} +1 -1
- package/dist/assets/{AllUserItems-CH9ybX41-BADPu5Il.js → AllUserItems-CLsMcXeg-B7yfRaza.js} +3 -3
- package/dist/assets/{ApAgingDetailPage-pA0gVWwq-CEyasW1F.js → ApAgingDetailPage-BsJuvMuy-C0lGm0Hq.js} +4 -4
- package/dist/assets/{AppBasePage-DhCn4MFY-pILsEXti.js → AppBasePage-BxGd2ny5-CxKcTkZB.js} +1 -1
- package/dist/assets/{AppDrawerContent-oxbBkFJu-z9plbEIr.js → AppDrawerContent-DzQ2jw8d-B8p2K7qi.js} +5 -5
- package/dist/assets/{ApprovalRulesSettingsPage-B2Bp687h-CncGPSV_.js → ApprovalRulesSettingsPage-6n8xLG5c-9HDMDjw5.js} +1 -1
- package/dist/assets/{ArAgingChart-DDYQFnOL-DHgysqpM.js → ArAgingChart-B3T4qk8t-CVyLgEv4.js} +4 -4
- package/dist/assets/{ArAgingDetailPage-BHX3sNTi-C4G7BErc.js → ArAgingDetailPage-pdf0VjeI-BUmI9Ihk.js} +5 -5
- package/dist/assets/{AttachmentView-BreMzQ_m-ErkVTj3O.js → AttachmentView-BJfqJ9hP-BtlO-7I1.js} +1 -1
- package/dist/assets/{BankAccountSection-1WOCLgt5-CMcEcJjX.js → BankAccountSection-Cd_h3co--DCzIyA5D.js} +1 -1
- package/dist/assets/{BankAccountWarningSection-Ddj7HexZ-BBFOC6FA.js → BankAccountWarningSection-Cz9fzMVv-CvaYS3T_.js} +1 -1
- package/dist/assets/{BankConnectionsSettingsPage-9nczNfIe-DeGZohIZ.js → BankConnectionsSettingsPage-P-hobvq_-BOnK_glB.js} +1 -1
- package/dist/assets/{BillDetailPage-NeZduyMi-WNBuOXET.js → BillDetailPage-B-_gbDGZ-BtpvnzvD.js} +1 -1
- package/dist/assets/{BillPayApprovalRuleDetailPage-BBTe3n92-GIfAqnDO.js → BillPayApprovalRuleDetailPage-CyoqtTu1-C1sdR4PX.js} +4 -4
- package/dist/assets/BillPayApprovalRulesPage-CTRvfoZN-BLcwl2yw.js +241 -0
- package/dist/assets/{BillPayPromoPage-DFXybg0r-EmP3q5ey.js → BillPayPromoPage-OYlocjA7-7DEWsR0V.js} +1 -1
- package/dist/assets/{BillPaySetUpPage-CP6gsxaz-DzlSl5-b.js → BillPaySetUpPage-B8_IEgff-CAWPUMJX.js} +1 -1
- package/dist/assets/{BillingSettingsPage-D6BmklmO-qUEoMT0l.js → BillingSettingsPage-DqO-9dDI-7RCoKyM1.js} +1 -1
- package/dist/assets/{BillsBulkReviewDrawerPage-D0JHXr9f-BKJ7V9jh.js → BillsBulkReviewDrawerPage-B-nfpiM2-CiONs4dM.js} +1 -1
- package/dist/assets/{BoxItem-CjZDlBaw-BKi5-cXg.js → BoxItem-C-LLQ7NS-CyKsGaF0.js} +5 -5
- package/dist/assets/{BusinessVerificationPage-cqBBWqBX-DbQ2sDxz.js → BusinessVerificationPage-BD-G0QbW-BuRfqr04.js} +1 -1
- package/dist/assets/{CardNumberSubText-BFe7Gawq-BM_FTr_M.js → CardNumberSubText-CPcuTV6V-CmAy0kVV.js} +1 -1
- package/dist/assets/{CashbackDetailPage-4R2WSvUG-C2VkMAUw.js → CashbackDetailPage-CzEHO7NM-DhooXBnW.js} +1 -1
- package/dist/assets/{ChargeCardDetailPage-DgvJC7HX-CLDnyLzu.js → ChargeCardDetailPage-DpA9C48D-Cg9lUs5_.js} +21 -21
- package/dist/assets/{ChargeCardListPage-y3xkEXMi-D_v1WA0F.js → ChargeCardListPage-igseWp-z-CgO4ULTe.js} +1 -1
- package/dist/assets/{ChargeCardListTable-BZVA1znA-KTzgqKt2.js → ChargeCardListTable-C-nM1SEM-CukpO46W.js} +1 -1
- package/dist/assets/{ChargeCardPaymentHistoryPage-DUqCYxCZ-DwiFi2F4.js → ChargeCardPaymentHistoryPage-TCuBt2Cv-BDmH-kNH.js} +13 -13
- package/dist/assets/{ChargeCardPromoPage-BGwXpSoW-BA6l2ILe.js → ChargeCardPromoPage-DEjWh0Ax-DtQMu7KS.js} +10 -10
- package/dist/assets/{ChargeCardSetupPage-CH6gSyU_-CzfoaXrP.js → ChargeCardSetupPage-zdLpdeJV-CBsuPE8U.js} +3 -3
- package/dist/assets/{ChargeCardStatementsPage-B1FjTF7r-BZ4kw4nt.js → ChargeCardStatementsPage-D42XfAtE-RchDbumz.js} +2 -2
- package/dist/assets/{CheckDepositDrawerPage-B30gCDxH-CDMOD0d_.js → CheckDepositDrawerPage-DC1L83fB-BCa5n7-H.js} +1 -1
- package/dist/assets/{CollapsableReportTable-CpOmWQO--DqCcIXDi.js → CollapsableReportTable-BWfFYJbH-BIiPdpTy.js} +74 -74
- package/dist/assets/{CompanyOfficerDetailsSection-0lnfwwSs-CSyl5xOK.js → CompanyOfficerDetailsSection-TNyVByDX-D2759MDx.js} +1 -1
- package/dist/assets/{CompanyPassportCard-BPpSNcXb-DcbhYnV5.js → CompanyPassportCard-DjBkQwpn-Dd7qvLcE.js} +4 -4
- package/dist/assets/{CompanyPassportPage-DwNjeLgb-BPzJD0lQ.js → CompanyPassportPage-CrqL6_wm-C8yNeeq6.js} +12 -12
- package/dist/assets/{CompleteProfile-BPllbFai-B-tkGEmo.js → CompleteProfile-BP-MRXpZ-BD6u4U_v.js} +2 -2
- package/dist/assets/{ConfettiBurst-DweZPNXH-6kuckq6s.js → ConfettiBurst-D2FdlxTA-BPfMfLCc.js} +1 -1
- package/dist/assets/{CreateOrEditVendorPage-C_tIWYWJ-pt2X7pc8.js → CreateOrEditVendorPage-D2Cuyhtu-CjSilO-g.js} +1 -1
- package/dist/assets/{CreditCardPaymentDrawerPage-DmYHQq7L-BNim4LCW.js → CreditCardPaymentDrawerPage-LQiWqyEO-5RaHGm67.js} +1 -1
- package/dist/assets/{CurrencySelectField-DoUpgUNU-DxUj5N1k.js → CurrencySelectField-Dpcv7_rA-DStJFuSr.js} +1 -1
- package/dist/assets/{CustomerOnboardingActivationPage-fr40BxEG-B4jh-1IJ.js → CustomerOnboardingActivationPage-BRWiLUVc-B8_ST9_b.js} +1 -1
- package/dist/assets/CustomerOnboardingContainerPage-BLGGDdc6-DSwc8Dwv.js +1 -0
- package/dist/assets/{CustomerOnboardingDetailPageSkeleton-CbEuqDGK-K4oucbj-.js → CustomerOnboardingDetailPageSkeleton-D4fUQLXG-BvBHzbJv.js} +1 -1
- package/dist/assets/{CustomerOnboardingNoStepsPage-CNolx9VQ-dLjEu8m5.js → CustomerOnboardingNoStepsPage-CxF6ZEAa-CMxQsxHY.js} +2 -2
- package/dist/assets/{CustomerOnboardingPage-DrDjl8iB-D659DGk1.js → CustomerOnboardingPage-DKcr5stz-DRi352cJ.js} +1 -1
- package/dist/assets/CustomerOnboardingProductSuitePage-B84wAHDe-CoEVNP5O.js +202 -0
- package/dist/assets/{Dashboard-C1UoKVNa-DC2cvlai.js → Dashboard-DMAOn7Hi-CGGVivU9.js} +1 -1
- package/dist/assets/{DashboardReportPage-b0pHN0Cw-DfgjzoQr.js → DashboardReportPage-UUd1-ITz-DMCD3HWG.js} +1 -1
- package/dist/assets/{DashboardSidebarBackgroundAnimation-Dql-Odcw-CfyGVT7Z.js → DashboardSidebarBackgroundAnimation-BuINHqA--61tWJjrX.js} +1 -1
- package/dist/assets/{DepositAccTransactionItem-Buzx5B8J-COupFxJQ.js → DepositAccTransactionItem-BE8LeqlM-hlhKmXR8.js} +1 -1
- package/dist/assets/{DepositAccTransactionListPage-DmxWPS6J-BShEzEqo.js → DepositAccTransactionListPage-DyH-aZDX-DTHKAa1Z.js} +2 -2
- package/dist/assets/{DomesticWireDetailsPage-o6cbscCg-Cq9KhtGZ.js → DomesticWireDetailsPage-Bk5AZOQt-CMcHRFaW.js} +1 -1
- package/dist/assets/{DownloadOverlay-CxtxqO0q-5itioc2o.js → DownloadOverlay-BOYOF8Po-BwD6Afat.js} +1 -1
- package/dist/assets/{DrawerPage-iKzWhzfT-Chf_FqhW.js → DrawerPage-BGGHNo0X-DCBr8o9E.js} +1 -1
- package/dist/assets/{EditPeoplePage-CjM-4H28-D9ITJt6u.js → EditPeoplePage-CEiwvizd-D-zbL-nU.js} +1 -1
- package/dist/assets/{EditReimbursementDetailPage-BIPtvhlo-Gvxb4AJV.js → EditReimbursementDetailPage-DBLDLvqO-C54aQF5d.js} +1 -1
- package/dist/assets/{EntityDetailPage-B0W-V9jY-DA6Bhv_q.js → EntityDetailPage-Cd3eku5o-D0l7oH4S.js} +2 -2
- package/dist/assets/{EntitySummarySection--ty3w4lI-DRA93OOU.js → EntitySummarySection-Ddaj1RmO-DBcpL5Yc.js} +1 -1
- package/dist/assets/{ExpenseAutomationOverviewPage-C62kbOQv-BjbMA-L8.js → ExpenseAutomationOverviewPage-B_BlqiWf-CaFabiLU.js} +1 -1
- package/dist/assets/{ExpenseAutomationPage-KMTXCmGT-BXrresZk.js → ExpenseAutomationPage-DfUf0zEN-B6VJ2UJy.js} +1 -1
- package/dist/assets/{ExpressPayPage-DITkk_1c-CauEJYiS.js → ExpressPayPage-Da8lLZso-Cwv7Clar.js} +1 -1
- package/dist/assets/{FeaturePreviewPage-ZSyZuPj0-CUkFMjtX.js → FeaturePreviewPage-CmrPDUFU-5rcSl0eb.js} +1 -1
- package/dist/assets/{FollowStepsSection-CaSXYy6M-D3-boZB-.js → FollowStepsSection-DbxSUIzC-BaXmlzKU.js} +1 -1
- package/dist/assets/{GlobalReviewListPage-D1MK5CDU-0HTEtirz.js → GlobalReviewListPage-Du_3tupM--fNfq6rW.js} +1 -1
- package/dist/assets/{InformationCardStack-WI0CkBUF-Co4ycsmA.js → InformationCardStack-Bx_9X95v-xPOrStCv.js} +3 -3
- package/dist/assets/{InsightsCardStack-28f145Lw-B3ZhCTKB.js → InsightsCardStack-Xn2rGwX0-BAx1TkHE.js} +1 -1
- package/dist/assets/{InsightsSection-iq6BFe-O-BnHn19Y4.js → InsightsSection-CwyGEE7C-BgS40gth.js} +1 -1
- package/dist/assets/{IntegrationsSettingsPage-QfH-2B7s-COXzT6b6.js → IntegrationsSettingsPage-CEL26-eE-DfibyIun.js} +2 -2
- package/dist/assets/{InternationalWireSwiftDetailsPage-DhNqaJ-7-A2MRhwCw.js → InternationalWireSwiftDetailsPage-IUz-DwAH-CGr6Gc70.js} +1 -1
- package/dist/assets/{InternationalWireVerificationPage-CRnGH05I-DYT_B8BW.js → InternationalWireVerificationPage-C66rHdsi-fqJ5C72A.js} +1 -1
- package/dist/assets/{InviteFormPage-CZ9su_ZA-BHeHZ6zP.js → InviteFormPage-Do-6PG8h-C-rzmYCh.js} +1 -1
- package/dist/assets/{InvitePageListView-Db5vL4dK-TzD8KLdp.js → InvitePageListView-DYKcMtIL-nvuj34Qe.js} +1 -1
- package/dist/assets/{InvitePeoplePage-C7Ij2l1O-DVkG8Zhm.js → InvitePeoplePage-C2SmS7y8-BN_wFYgu.js} +1 -1
- package/dist/assets/{InvoiceUploadSection-DEchJrtp-BeGmWBpT.js → InvoiceUploadSection-rCCcSbbj-CFzlgKg9.js} +1 -1
- package/dist/assets/{IssueChargeCardPage-DVdMjgbO-FGVLXj14.js → IssueChargeCardPage-DZvVosb3-C2W1gOfV.js} +1 -1
- package/dist/assets/{LabeledAddressValue-jMXXok9a-B-jBTdWi.js → LabeledAddressValue-CAX5YTSE-BfVvpzvP.js} +1 -1
- package/dist/assets/{LabeledAddressValueField-BMQUZAxr-BG6EpAlR.js → LabeledAddressValueField-BraOMDrG-CfBm_XIY.js} +1 -1
- package/dist/assets/{LabeledControlledCheckBoxField-CrOtltBs-CAPrqGDH.js → LabeledControlledCheckBoxField-DBcPQa79-B_0nrSFr.js} +1 -1
- package/dist/assets/{LabeledCountryMultiSelectField-uBMn5XNT-BPAecJEl.js → LabeledCountryMultiSelectField-DYid8vvM-BfPOTgp8.js} +1 -1
- package/dist/assets/{LabeledCreatableSingleSelectField-BMRdFPtx-DAmcNOWB.js → LabeledCreatableSingleSelectField-DzB7KPXf-BwfCQ3vj.js} +1 -1
- package/dist/assets/{LabeledDocumentField-DtsIRcRg-tL0lm8Y3.js → LabeledDocumentField-BdQjt44W-EnLXAA71.js} +1 -1
- package/dist/assets/{LabeledDropDownFormattedTextField-rLwWoG-Y-Ri5zqAag.js → LabeledDropDownFormattedTextField-BheK7sFg-D0D4XYai.js} +1 -1
- package/dist/assets/{LabeledMultiSelectField-BhRoctp7-DMDimYgx.js → LabeledMultiSelectField-m2Y_IFK_-DBGqM9Nr.js} +1 -1
- package/dist/assets/{LabeledText-Deyr6isW-CaRSw3xA.js → LabeledText-C6M4paXi-dAFR23d7.js} +1 -1
- package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-u_6eDShW-BQcHwjox.js → LabeledUserSingleSelectWithSubtitlesField-i7qOybJ3-QdNWRUWG.js} +3 -3
- package/dist/assets/{LabeledZeniRolesDropDownField-CdAAgiie-BQ-3NTyM.js → LabeledZeniRolesDropDownField-BhNbXDjb-DgKv1slV.js} +1 -1
- package/dist/assets/{LinkJETransactionPage-A9rqpCyG-Deffg7oF.js → LinkJETransactionPage--sqluuih-VivXIc5D.js} +2 -2
- package/dist/assets/{LockCardPage-CXZAffaX-C3jJ_tSh.js → LockCardPage-Bq0Tu8g8-C6m1-JJ1.js} +1 -1
- package/dist/assets/{LowBalancePopup-BRxiaGRC-CbcRWbV8.js → LowBalancePopup-hlu_jjTZ-DZ1z8xe6.js} +1 -1
- package/dist/assets/MagicLinkACHDetailsPage-C1pJBTPa-Dk0xalTl.js +1 -0
- package/dist/assets/MagicLinkDomesticWireDetailsPage-C77X02bo-Dbss_Tqv.js +1 -0
- package/dist/assets/MagicLinkInternationalWireDetailsPage-DUHpAm8_-BkDmu3l4.js +1 -0
- package/dist/assets/{MagicLinkSuccessPage-BiR4YUoK-dQlOAx7r.js → MagicLinkSuccessPage-D6ZDRs5F-DQNiPx3u.js} +1 -1
- package/dist/assets/{MagicLinkTitleSection-euMftC6_-DZRwq-hs.js → MagicLinkTitleSection-e9WYeJQA-BdMlQ905.js} +1 -1
- package/dist/assets/MailingDetailsSection--Lx7QBGW-BxmiDkr6.js +21 -0
- package/dist/assets/{MyBankConnectionsSettingsPage-9Zw-bIsu-CncnbQjq.js → MyBankConnectionsSettingsPage-Bb7UZRJf-B5XKMom_.js} +1 -1
- package/dist/assets/{MyPendingActivationChargeCardListPage-_MhlKwOj-D2-7f_7k.js → MyPendingActivationChargeCardListPage-BToJWGM8-CjAx4TXN.js} +1 -1
- package/dist/assets/{MyProfileSettingsPage-BeSze0xM-BZMV_fCt.js → MyProfileSettingsPage-CGxf42bP-Cc5RApxz.js} +5 -5
- package/dist/assets/{NavBarWithPicker-C4ExxFQW-DpUNUrNw.js → NavBarWithPicker-DcDs1pe7-RUEHjYNa.js} +1 -1
- package/dist/assets/{NavigationArrow-CJOSZIEx-DK5dUJEr.js → NavigationArrow-DGSdnTKQ-CgfnFgIs.js} +1 -1
- package/dist/assets/{NavigationDots-DgfBVlG5-DqhfZvwQ.js → NavigationDots-BPsFQiss-Dqh0y0c_.js} +1 -1
- package/dist/assets/{NewGlobalMerchantPage-BXTlzEbY-Cz9tPT6T.js → NewGlobalMerchantPage-od2IF__o-BUeowAQW.js} +1 -1
- package/dist/assets/{NoDataChart-Bwc_xftR-D-qgcUFX.js → NoDataChart-qG0jmc8Z-Dctec7eR.js} +1 -1
- package/dist/assets/{NoDataTable-D_VKD0kA-ERveVpE1.js → NoDataTable-CgKT7NGU-CuzMQ4sx.js} +1 -1
- package/dist/assets/{NotFoundPage-CLkfFo_R-BEp1gQgC.js → NotFoundPage-CdUJ7M5p-DbLXvN2b.js} +6 -6
- package/dist/assets/{NotificationSettingsPage-CC1kNoTw-hqt_01NH.js → NotificationSettingsPage-D1PKq-ED-ChTF7VDn.js} +1 -1
- package/dist/assets/{NotificationsListConfig-CEDk57Lr-B-J_cnKG.js → NotificationsListConfig-Ctfr3h3b-B2C7Z_Di.js} +1 -1
- package/dist/assets/{NotificationsPage-DR_MVYdY-C5boX5Q7.js → NotificationsPage-_5Yn9uTy-mxWdg1FN.js} +33 -33
- package/dist/assets/{OpExByVendorPage-CRkTiAd5-CKtPkFYu.js → OpExByVendorPage-Dqr805s1-CqYYgxC3.js} +5 -5
- package/dist/assets/{OverlayContainerPage-IDTUbuAC-Bg5rDnOz.js → OverlayContainerPage-IDTUbuAC-YfbThdai.js} +1 -1
- package/dist/assets/{PandLWithForecastPage-BCEjC9iA-Npw1bx2K.js → PandLWithForecastPage-CQ5IMW_B-BHtqAaTy.js} +1 -1
- package/dist/assets/{PaymentAccountSetupBillingAddressSection-BFcZtn5n-CrpGwq-c.js → PaymentAccountSetupBillingAddressSection-DtOeyTmL-DXDwBnq6.js} +7 -7
- package/dist/assets/{PeoplePage-D7D1SrW0-DldOeCVT.js → PeoplePage-DEp24LGx-BkYkgzLW.js} +1 -1
- package/dist/assets/Preview-XG6ky5VX.js +1 -0
- package/dist/assets/{ProductsCarousel-CSUU4sEb-22Knhlm4.js → ProductsCarousel-Dgwws_g9-_dPrFjDV.js} +1 -1
- package/dist/assets/{PromoBaseCards-CSisWvqE-BUbYvyJg.js → PromoBaseCards-wfvFaqMw-CY2jDhRy.js} +1 -1
- package/dist/assets/{QBOConnectionDialog-gTTF-Gc0-BqceDGsl.js → QBOConnectionDialog-CSMrKgrY-gVbZ-mZ8.js} +1 -1
- package/dist/assets/{QBOSetupSection-B2c7ZErC-DamTTbbL.js → QBOSetupSection--FQKYLxN-LYuddynp.js} +7 -7
- package/dist/assets/{ReimbursementApprovalRuleDetailPage-DRxHZeeM-emXhSVe2.js → ReimbursementApprovalRuleDetailPage-Dzg2pNcJ-BdMg1RhW.js} +5 -5
- package/dist/assets/ReimbursementApprovalRulesPage-eyZWsjXs-Du4OL-aC.js +243 -0
- package/dist/assets/{ReimbursementDetailPage-C8P6S9yn-Bthi-yUo.js → ReimbursementDetailPage-DnSo6uTd-B2fnQcOh.js} +1 -1
- package/dist/assets/{ReimbursementPromoPage-Bv6Eg8CH-DCmoEH0q.js → ReimbursementPromoPage-0st3rBmg-BJkFCzXz.js} +4 -4
- package/dist/assets/{ReimbursementSetUpPage-CL1j_14z-vxHHaxQP.js → ReimbursementSetUpPage-DCMgwGAM-CVZuk20s.js} +5 -5
- package/dist/assets/{ReimbursementsBulkReviewDrawerPage-BXlm8qfr-D1fflpdV.js → ReimbursementsBulkReviewDrawerPage-Cx7BlVAb-BW2L-YXt.js} +1 -1
- package/dist/assets/{ReloadCard-DQ8-0JyV-rLZlvd4j.js → ReloadCard-8Tiu9Mq9-WidMrFBg.js} +1 -1
- package/dist/assets/{ReportTableViewSelector-BDXux6ow-DvSJr3Tc.js → ReportTableViewSelector-BwBEG73W-D23xRsEe.js} +7 -7
- package/dist/assets/{ReportsPage-fjTk3JSs-CXkvFGWI.js → ReportsPage-BxXxsNBv-dsPUH8v1.js} +5 -5
- package/dist/assets/{RevenueChart-BAlErS9A-BDXs5kYE.js → RevenueChart-D13bncyo-DisVSBsZ.js} +1 -1
- package/dist/assets/{ReviewDetailsPage-CSNmpZKJ-Byn7Y-9k.js → ReviewDetailsPage-C5q0Abn_-DCYfD4eU.js} +53 -53
- package/dist/assets/{ReviewOverlay-Zcv9Vljd-C5jeZB2E.js → ReviewOverlay-BNnNWFdW-Dc8TbL95.js} +1 -1
- package/dist/assets/{RoleWithToolTip-D4abtguM-BxLN9hbA.js → RoleWithToolTip-DvYf0VUz-DfyQTHhc.js} +1 -1
- package/dist/assets/{ScheduleDetailsFixedAssetsPage-AzGpMIv9-AU75soRw.js → ScheduleDetailsFixedAssetsPage-DqrwF4kG-YxjHzQUp.js} +1 -1
- package/dist/assets/{ScheduleDetailsPage-FXdL5BP_-BGJCtZ07.js → ScheduleDetailsPage-CH2lKmlN-Db_nhPQU.js} +1 -1
- package/dist/assets/{ScheduleSequenceTable-D4NEi6ZW-CzO4sKar.js → ScheduleSequenceTable-BzDIvZ9H-BagpGi8M.js} +1 -1
- package/dist/assets/{ScreenRoutes-CyQkWytH.js → ScreenRoutes-l2ZSRE3X.js} +1 -1
- package/dist/assets/{SetUpAccountSection-DHNGWTAX-B_-yArLd.js → SetUpAccountSection-DOvqcC8t-DxYvNTsg.js} +1 -1
- package/dist/assets/{SignIn-8lCVuAse-CdYi0Nex.js → SignIn-CBRwaiPC-DSZbn4tf.js} +12 -12
- package/dist/assets/SignInScreen-DA-QJIMK.js +1 -0
- package/dist/assets/SpendManagementListViewPage-BjdD7zHz-duCSBxrR.js +134 -0
- package/dist/assets/SpendManagementPerTabPage-S5zX9fWg-B69ncWCU.js +754 -0
- package/dist/assets/{SpendManagementSection-p_rbwPsi-BpX_0ctO.js → SpendManagementSection-vo9WEGWQ-DV0kvnxH.js} +1 -1
- package/dist/assets/{StatementItem-BrFonWga-CwSpqjfU.js → StatementItem-BxnOzchG-C1vR7F9V.js} +5 -5
- package/dist/assets/StatementsPage-0BpH6B2F-c3HeY-pH.js +58 -0
- package/dist/assets/{StatusSwitcher-BWCVuAz5-DU_n1tqh.js → StatusSwitcher-Cj2oyfqn-GHqh8PSV.js} +1 -1
- package/dist/assets/{SubTabSwitcher-W-flws9A-Bmo5NYK_.js → SubTabSwitcher-B-gfkK-k-9khtx1-k.js} +1 -1
- package/dist/assets/{SummaryCard-Cy_49HY6-Bn9afv8c.js → SummaryCard-D92z4WU0-Dk2J87_c.js} +1 -1
- package/dist/assets/{TaskManagementPage-CgcgC28Q-CldK_hSk.js → TaskManagementPage-DND-MEly-DfQOsUTI.js} +1 -1
- package/dist/assets/{TimeRangeSwitcher-xEM6Ast5-pciEx4sf.js → TimeRangeSwitcher-BCfDT5nQ-BnXndCyZ.js} +11 -11
- package/dist/assets/{TimeframeSwitcher-CJnjD8oY-m0JvecMs.js → TimeframeSwitcher-CCMyvSSI-DIRa_Jc4.js} +1 -1
- package/dist/assets/{TimeframeSwitcherWithToggle-CTsXGTZM-wzdovBsR.js → TimeframeSwitcherWithToggle-Di1hQ-WC-DVlTpSsC.js} +2 -2
- package/dist/assets/{TopExCard-CK7rIKlo-CZ1XR3M8.js → TopExCard-B4CpuO-v-CxDodwtl.js} +3 -3
- package/dist/assets/{TopExDetailPage-Dc310wcN-q0tmqmXu.js → TopExDetailPage-BWdJnu-c-DDcIl_DR.js} +6 -6
- package/dist/assets/{TransactionDetailPage-BsSYhKxb-DfZgD0bh.js → TransactionDetailPage-CL_VbaJy-BG7mpSq_.js} +1 -1
- package/dist/assets/{TransactionList-CKgtf7lj-CfB35YgD.js → TransactionList-CSfzB0gM-Dw6vqliW.js} +6 -6
- package/dist/assets/{TransactionListBig-DY6b3Ezl-DAeI5BL3.js → TransactionListBig-Dkdt0pvn-BZrDL6CH.js} +1 -1
- package/dist/assets/{TransactionListPage-CDc30p4A-Dig9gHS9.js → TransactionListPage-DBAqpKkc-SGyXtVgm.js} +1 -1
- package/dist/assets/{TransactionVendorDetailPage-Ca8K8WSI-BDH7piKy.js → TransactionVendorDetailPage-BPb6IGMd-D5zJvpum.js} +1 -1
- package/dist/assets/{TransferDrawerPage-xTOs2aDo-DOshulcc.js → TransferDrawerPage-oyNu_G0D-C-dL6Rya.js} +1 -1
- package/dist/assets/{TreasuryOverviewPage-CnJn5fQJ-CY00qxhF.js → TreasuryOverviewPage-DIPEykKC-C5rL0Wer.js} +9 -9
- package/dist/assets/{TreasuryPromoPage-PW6ExJSX-CLdPTDPY.js → TreasuryPromoPage-wmxtzW1N-BB1K5PqR.js} +1 -1
- package/dist/assets/{TreasuryStatementsPage-Dh5jSrh1-BazpK2mL.js → TreasuryStatementsPage-vHS-mb3R-Ddrpn04Q.js} +2 -2
- package/dist/assets/{TreasuryTaxLetterPage-K4MAoNHw-C5ctj-NF.js → TreasuryTaxLetterPage-3fiYxv2D-Dg0xbQQQ.js} +1 -1
- package/dist/assets/{TrendChart-DGkb9XC6-BiTtDB25.js → TrendChart-dVd4QdGQ-CLKuTzb2.js} +2 -2
- package/dist/assets/{TrendWithTransactions-BhIw1vzx-DGilF8Kv.js → TrendWithTransactions-zZUv_Qrs-BElxtx49.js} +3 -3
- package/dist/assets/{UncategorizedAccountsMappingPage-U-ABmUHs-Bu1K_6ht.js → UncategorizedAccountsMappingPage-CcyG64pA-0yQuhcbM.js} +5 -5
- package/dist/assets/{UnitIntegrationPage-XOk1iw8U-BvaABeVm.js → UnitIntegrationPage-BL6g4XY0-fYnhKg75.js} +1 -1
- package/dist/assets/{UploadAdditionalDocumentOverlay-ucIA0by--Dh8yhyNi.js → UploadAdditionalDocumentOverlay-CBg0WhaZ-C_8-7GFi.js} +1 -1
- package/dist/assets/{Vendor2FAPopup-CNfFCjsZ-CtJBdZvo.js → Vendor2FAPopup-CF5AV8a5-BsgzaDOa.js} +1 -1
- package/dist/assets/VendorACHDetailsPage-B_wVoMw5-D4XhjcJ1.js +1 -0
- package/dist/assets/{VendorDetailPage-DRLUdE3F-uwBUzPQU.js → VendorDetailPage-C168zV-E-B3dEwSOF.js} +1 -1
- package/dist/assets/VendorDomesticWireDetailsPage-cAu_hGIj-CosrcI_S.js +1 -0
- package/dist/assets/{VendorFiling1099EditablePage-Yq4XoFtd-DCiYH_-5.js → VendorFiling1099EditablePage-DVrk7af6-wOFW-4Wi.js} +1 -1
- package/dist/assets/{VendorFirstReviewPage-BTFeQPW6-Bwm8wZ24.js → VendorFirstReviewPage-kiMBuYID-CtvtJJUg.js} +1 -1
- package/dist/assets/{VendorInternationalWireDetailsPage-CdXjkgWl-BJgq7bZI.js → VendorInternationalWireDetailsPage-CtGJurq9-CCXwNCAZ.js} +1 -1
- package/dist/assets/VendorInternationalWireSwiftDetailsPage-Cy8QoA_b-vnefUABQ.js +1 -0
- package/dist/assets/{VendorsAccountsSection-CIZ6amoh-BsEqrgh3.js → VendorsAccountsSection-B9Ik1T2V-BaqvYUX_.js} +1 -1
- package/dist/assets/{VerifyDevice-BLi9cbRT-0yk5vX4R.js → VerifyDevice-DfX9VA7b-BdOPIyEo.js} +9 -9
- package/dist/assets/{VideoPlayer-BDCZd8K1-CLeLtKtH.js → VideoPlayer-_FcQClfH-cuN5RcOe.js} +2 -2
- package/dist/assets/{VideoPopup-Cni9gWLX-D0Mhgm6K.js → VideoPopup-D0XTfD6q-CZBktelE.js} +3 -3
- package/dist/assets/{WarningsDrawerPage-DO3TH_cI-BVq2gxQa.js → WarningsDrawerPage-DIwWkX4B-B-UdjfAF.js} +1 -1
- package/dist/assets/{ZeniAccountDetailPage-CBbqwtvo-VrafrFeQ.js → ZeniAccountDetailPage-mo0trXHB-B20udciT.js} +1 -1
- package/dist/assets/{ZeniAccountListViewPage-bS_K_U_k-EccBP6DV.js → ZeniAccountListViewPage-CVzyx1Sx-CoJhvG_N.js} +1 -1
- package/dist/assets/{ZeniAccountNavBarPieces-D4Nhv6iC-CrBTiKfL.js → ZeniAccountNavBarPieces-CbXVnnp9-Dnxyvh_X.js} +1 -1
- package/dist/assets/{ZeniAccountPromoPage-C40ORHL2-RBDRZ1FL.js → ZeniAccountPromoPage-gZMYr_Ux-DJicJ7wt.js} +1 -1
- package/dist/assets/{ZeniAccountSetupPage-DfGwW1gJ-B7yg1oCT.js → ZeniAccountSetupPage-DPOLAjZV-DJVpJ_Nd.js} +1 -1
- package/dist/assets/{ZeniCopyright-D_tc-vwm-Bzg_GSnk.js → ZeniCopyright-BDUQdaKP-B6B-IB0N.js} +1 -1
- package/dist/assets/{ZeniTransferAmountSlider-CwO6861o-CW51Mft1.js → ZeniTransferAmountSlider-B-nq8t_K-ANSQo16z.js} +1 -1
- package/dist/assets/{add-to-wallet-DgdBD8_G-DMQostt2.js → add-to-wallet-DgdBD8_G-BBEivBdQ.js} +1 -1
- package/dist/assets/{analytics-YsywGP0I.js → analytics-DO1unY4G.js} +1 -1
- package/dist/assets/{analyticsHelper-Bv2VSRHR-BnRgn0T8.js → analyticsHelper-7cF4XxuH-_xEf-TSd.js} +1 -1
- package/dist/assets/{analyticsHelper-D4Wjjdfi.js → analyticsHelper-ZZI8M_53.js} +1 -1
- package/dist/assets/{arrow-south-east-round-PEovUgvH-BwMp8Z1R.js → arrow-south-east-round-PEovUgvH-CV7FSM6U.js} +1 -1
- package/dist/assets/{auto-transfer-rule-mbafm5D3-CCCTiB9K.js → auto-transfer-rule-mbafm5D3-CJUhOMj-.js} +1 -1
- package/dist/assets/{chartTypes-CiiHHtlc-BceiZcWQ.js → chartTypes-DjzTOuyH-BFNN0c4F.js} +1 -1
- package/dist/assets/{commonDimensions-B94VpAp0-CFWStpHz.js → commonDimensions-CtIrih5r-CfslRtQI.js} +1 -1
- package/dist/assets/{commonTypes-CG4vvGyc-CQlrewnq.js → commonTypes-9h2Y-L4i-CJG-nO2R.js} +1 -1
- package/dist/assets/{constants-D9J3MLx1.js → constants-pYZADjo8.js} +1 -1
- package/dist/assets/{core-mVc5WAnu.js → core-B9Znwqny.js} +1 -1
- package/dist/assets/{dash.all.min-DEG4Ymx5.js → dash.all.min-CS5kHJkT.js} +1 -1
- package/dist/assets/{detailCommon-D84jR8Js-CTHSOXR4.js → detailCommon-CEOeZl26-CdFIe8qF.js} +6 -6
- package/dist/assets/{downloadPdf-CU0hwe3m-C2xfKmu7.js → downloadPdf-Pyk_BhF7-WEbr68vS.js} +1 -1
- package/dist/assets/{empty-5WWfUuj_.js → empty-ChJVx-YB.js} +1 -1
- package/dist/assets/{empty-DgV33Jfm.js → empty-CpGZk5F5.js} +1 -1
- package/dist/assets/{epic-BDbWyMmO.js → epic-C_GKKQik.js} +2 -2
- package/dist/assets/{gift-box-Cmt9OgIZ-DkfKk8Ub.js → gift-box-Cmt9OgIZ-DNEMczKk.js} +1 -1
- package/dist/assets/{graphic-no-data-l-DU4J8fDt-DdD14QZ1.js → graphic-no-data-l-DU4J8fDt-Bx_mQw5e.js} +1 -1
- package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-Bxmoc4Q1.js → graphic-no-data-net-burn-l-CzmycA0m-C46dJM7J.js} +1 -1
- package/dist/assets/{handshake-BPg58FML-BtKj2QSx.js → handshake-BPg58FML-C6X_P0qB.js} +1 -1
- package/dist/assets/{index-DfP1TP46.js → index-1k0W8uO3.js} +1 -1
- package/dist/assets/{index-DBHzoy-Y.js → index-BFgzVTwo.js} +1 -1
- package/dist/assets/{index-CbMlqZJL.js → index-BhvUwV_v.js} +9 -9
- package/dist/assets/{index-B0WS5HXc.js → index-CPEwTrV2.js} +1 -1
- package/dist/assets/{index-0lgepYHN.js → index-CfJ2tiIp.js} +1 -1
- package/dist/assets/{index-CneahQyi.js → index-DpdT_X0L.js} +1 -1
- package/dist/assets/{index-s8Qql19x.js → index-POT-Iy9l.js} +1 -1
- package/dist/assets/{lexical-D1NyDz9G.js → lexical-DSIpBzCF.js} +1 -1
- package/dist/assets/{liveblocks-D8QW-YrN.js → liveblocks-BqcT5iTZ.js} +1 -1
- package/dist/assets/{lottie-CoVfqInY.js → lottie-oQfNS8l-.js} +2 -2
- package/dist/assets/{mapLoadingInProgressToTreeNode-dE6c_J7g-DRGh--_p.js → mapLoadingInProgressToTreeNode-DoHalh0I-DytjKdZ3.js} +1 -1
- package/dist/assets/{mapSectionWithAcOnlyToTreeNode-C9RPV_Hz-BltZX7La.js → mapSectionWithAcOnlyToTreeNode-CjiNTI8L-BE28qPgb.js} +1 -1
- package/dist/assets/mapSpacerToTreeNode-Di-_Qhw7-nEHRbBKZ.js +1 -0
- package/dist/assets/mapTimeframeBalancesToTreeNode-BaIl_VbE-C25WmKnk.js +1 -0
- package/dist/assets/mapTimeframeBalancesToTreeNode-mMtwXmJx-B8gyB0Lt.js +1 -0
- package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-Dj8VTtaz-CokBxGSp.js → mapTimeframeHeaderLoadingInProgressToTreeNode-Bz1bR9oN-BR28SX0V.js} +1 -1
- package/dist/assets/{mui-C_Pjuwl5.js → mui-DqYnCiYu.js} +1 -1
- package/dist/assets/{page-detail-CWX5S47F-CwgQ04Z1.js → page-detail-CWX5S47F-C4YmGfRe.js} +1 -1
- package/dist/assets/{radio-default-CiSgisfh-DOAN6MGR.js → radio-default-CiSgisfh-C5tnzklf.js} +1 -1
- package/dist/assets/{react-UmTxIL5W.js → react-B-LXbQdG.js} +2 -2
- package/dist/assets/{react-B4qkP2kJ.js → react-BPazyT0C.js} +1 -1
- package/dist/assets/{react-B1uWJZNI.js → react-Bu5BHG8O.js} +2 -2
- package/dist/assets/{react-COMbZ_ke.js → react-CBiOQOL3.js} +2 -2
- package/dist/assets/{react-CYpEpWLK.js → react-D2eQzOPv.js} +1 -1
- package/dist/assets/{react-CzW7TnV7.js → react-DEOv3QaS.js} +3 -3
- package/dist/assets/{react-Dk6KMPxp.js → react-DbRD5tNt.js} +2 -2
- package/dist/assets/{react-VqVdlbBp.js → react-xLrt57tQ.js} +3 -3
- package/dist/assets/{recharts-BGj_NTVO.js → recharts-D7E0WJGk.js} +1 -1
- package/dist/assets/{sentry-CTKU7CLc.js → sentry-DgGQRl6g.js} +2 -2
- package/dist/assets/{shield-DOlUxcFf-Chnu35pG.js → shield-DOlUxcFf-DK1OxwF6.js} +1 -1
- package/dist/assets/toCOABalancesWithID-CjVmQxAs-8r-ogQXf.js +1 -0
- package/dist/assets/{toChartData-DShY1WZ8-BtWP9JGp.js → toChartData-BFuIgA2L-C4IkmCYG.js} +1 -1
- package/dist/assets/{uploadAttachment-DKMAkDBt-1eSurov4.js → uploadAttachment-ux9baWqa-BwjN4G2_.js} +1 -1
- package/dist/assets/{uploadReceipts-DJRtId-4-Bx6imcs4.js → uploadReceipts-DJRtId-4-xnWXJPvb.js} +1 -1
- package/dist/assets/{url-QugEHHKq.js → url-CW650CMO.js} +1 -1
- package/dist/assets/{url-CQ0hVJlH.js → url-DxcM52GB.js} +1 -1
- package/dist/assets/{useLongPress-GCK2COYQ-B-Cv7oJI.js → useLongPress-GCK2COYQ-D9KvmRO7.js} +1 -1
- package/dist/assets/{usp-line-BBd1wKwW-DQyOXy13.js → usp-line-BBd1wKwW-EmNWFdhU.js} +1 -1
- package/dist/assets/{utils-DJxCyxGL.js → utils-C_quS4m3.js} +1 -1
- package/dist/assets/{zeni-epic-state-Cl3KIlic.js → zeni-epic-state-WWg2r7iB.js} +31 -31
- package/dist/index.html +1 -1
- package/package.json +3 -3
- package/dist/assets/AccountInfoPage-5HB6qYYU-DBuMio-I.js +0 -18
- package/dist/assets/BillPayApprovalRulesPage-Blk0_0Ou-Vz7KL5CM.js +0 -241
- package/dist/assets/CustomerOnboardingContainerPage-9g2L_yuF-CNMBm1Jt.js +0 -1
- package/dist/assets/CustomerOnboardingProductSuitePage-CE2ztcG2-CnIFTjMK.js +0 -202
- package/dist/assets/MagicLinkACHDetailsPage-DwbFsGsL-CBtL3SpB.js +0 -1
- package/dist/assets/MagicLinkDomesticWireDetailsPage-BgjMH36H-ByEZjWj2.js +0 -1
- package/dist/assets/MagicLinkInternationalWireDetailsPage-C0jHD-87-B5dWg1JS.js +0 -1
- package/dist/assets/MailingDetailsSection-B8g--tZ7-D8qLyVm2.js +0 -21
- package/dist/assets/Preview-o2DriYSg.js +0 -1
- package/dist/assets/ReimbursementApprovalRulesPage-CA54CNCd-BPtsXjVT.js +0 -243
- package/dist/assets/SignInScreen-CBgEATnM.js +0 -1
- package/dist/assets/SpendManagementListViewPage-D0iaA1Tz-DaDudhkW.js +0 -134
- package/dist/assets/SpendManagementPerTabPage-NhC0DYPW-C0zqT31U.js +0 -785
- package/dist/assets/StatementsPage-1LjLplay-DZgBkWWL.js +0 -58
- package/dist/assets/VendorACHDetailsPage-DbsvUZbM-gpcw0ZX7.js +0 -1
- package/dist/assets/VendorDomesticWireDetailsPage-zrRC15oK-n6yvbPjK.js +0 -1
- package/dist/assets/VendorInternationalWireSwiftDetailsPage-BjUdW9fP-DJNCoIvn.js +0 -1
- package/dist/assets/mapSpacerToTreeNode-CxY0Ic8W-BG1WraRD.js +0 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-BJHD6cPI-CD4nifmO.js +0 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-rysmkLch-F1-aN1ul.js +0 -1
- package/dist/assets/toCOABalancesWithID-RFiSMP1Z-dZgyfmm-.js +0 -1
package/dist/assets/{BillDetailPage-NeZduyMi-WNBuOXET.js → BillDetailPage-B-_gbDGZ-BtpvnzvD.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{Q as Wn,aw as Un,g as Kn,gg as Vn,gh as qn,gi as Hn,gj as Gn,cc as Xn,aQ as Yn,y,V as t,f6 as ct,f7 as Jn,o as a,f8 as Qn,f9 as ea,fa as ta,aN as Se,fb as na,aP as b,bB as pt,bo as mt,dt as ut,co as yt,cp as ht,cq as bt,gk as aa,gl as ia,gm as la,gn as oa,fg as I,go as $,fi as A,fj as k,ff as ra,b as gt,p as oe,fh as Ot,fp as sa,fk as da,fl as ca,gp as pa,gq as ma,aR as ua,ao as ft,bS as ve,gr as ya,gs as L,F as ha,u as s,ag as ba,c1 as ga,gt as fa,x as xa,gu as wa,fq as xt,a as Ta,d2 as va,ch as Da,gv as wt,b7 as ja,b9 as Ia,f as $a,bU as Ft,d3 as Aa,gw as ka,ai as Et,av as Sa,b5 as Ca,bt as Pa,gx as Ba,al as Ra}from"./index-CbMlqZJL.js";import{a as p}from"./sentry-CTKU7CLc.js";import{n as i}from"./mui-C_Pjuwl5.js";import{a as za}from"./liveblocks-D8QW-YrN.js";import{bO as Ma,bL as Na,bP as La,FH as Oa,bN as Fa,bH as Ea,bh as _a}from"./zeni-epic-state-Cl3KIlic.js";import{o as Za,t as Wa}from"./LowBalancePopup-BRxiaGRC-CbcRWbV8.js";import"./core-mVc5WAnu.js";import"./lottie-CoVfqInY.js";import"./recharts-BGj_NTVO.js";import"./analytics-YsywGP0I.js";import"./lexical-D1NyDz9G.js";import"./utils-DJxCyxGL.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},g=new e.Error().stack;g&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[g]="3c6434a8-3120-41b9-a408-0acb5978dad4",e._sentryDebugIdIdentifier="sentry-dbid-3c6434a8-3120-41b9-a408-0acb5978dad4")}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 Ta("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:Va,common:{noText:C,strings:{empty:c},currency:Tt,via:qa,more:Ha,edit:Ga},spendManagement:{billPay:{billDetails:n,billsByTabs:Ce,bulkActions:vt,vendorCreation:De,insufficientFunds:_t}},collaboration:{threads:{placeholder:Dt,tooltip:jt,title:{comments:Xa}}}}=ha.getLocalizedStrings(),je=Va.visual.MMMDCommaYYYYformat,_i=({billDetails:e,currentTenant:g,showApproveRejectBtns:f,isShowDeletedBillsEnabled:W,signedInUser:re,isAdmin:Zt,isRealTimeApprovalEnabled:Wt,isInternationalPaymentShaVsOurEnabled:Ut,hasZeniAssistAccess:Kt,analytics:M,showMarkAsPaidButtonToCreator:U,showMarkAsPaidButtonToApprover:Pe,isBillPayCommentingEnabled:Be,isZeniUser:Vt,showBackButton:Re=!0,isDetectInsufficientFundsEnabled:qt,redirectToEditableBillScreen:Ht,redirectToBillsScreen:Y,discardBillDetailsFromLocalStore:ze,deleteBill:Gt,cancelAndDeleteBill:Me,approveOrRejectBill:Ne,onAddNewRule:Xt,onAttachmentClick:Le,saveBillDetails:Yt,discardOutsideZeniPaymentData:Jt,onBackClick:Oe,updateEditRealTimeApproverClicked:Qt,onSaveRealTimeApprovals:en,onRetryPaymentClick:tn,onRefundPaymentClick:nn,initialOpenThreadRequest:K})=>{const l=Wn(),o=Un(),Fe=Kn(),[an,V]=p.useState(!1),[Ee,se]=p.useState(!1),[de,ce]=p.useState(!1),[_e,pe]=p.useState(!1),[ln,me]=p.useState(!1),[Ze,J]=p.useState(!1),h=e.transactionDetails?.id,on=Vt?Vn:qn,{requestToOpenThread:ue,setRequestToOpenThread:Q,setOpenThread:ee}=p.useContext(on);p.useEffect(()=>{K?.threadId!=null&&K?.companyId!=null&&K?.entityType!=null&&Q(K)},[K,Q]);const[rn,q]=p.useState(!1),T={application:"dashboard",companyId:o.currentTenant?.companyId,tab:"bill",entityId:h,isGlobalComment:!1},{threads:H,isLoading:P}=Hn(T,"both",!1),x=Be&&h!=null,We=p.useMemo(()=>h==null?[]:H.filter(r=>r.resolved===!1&&!r.id.includes(Gn)),[H,h]).length,v=`dashboard_${o.currentTenant?.companyId}`,sn=p.useCallback((r,u)=>{ee(u),q(!1)},[ee,q]);p.useEffect(()=>{ue?.threadId!=null&&H.length>0&&!P&&(ee(ue.threadId),Q(null))},[ue,H,P,ee,Q]);const Ue=p.useRef(!1),[dn,cn]=p.useState(!1),pn=p.useRef(r=>{r&&!Ue.current&&(Ue.current=!0,cn(!0))});Xn({componentName:"bill.details",enabled:dn});const[N,te]=p.useState({title:"",description:"",primaryButtonText:"",secondaryButtonText:""}),[Ke,Ve]=p.useState("approved"),[mn,qe]=p.useState(!1),[un,He]=p.useState(!1),[Ge,Xe]=p.useState(!1),Ye=()=>qe(!1),yn=()=>qe(!0),Je=Yn(e.zeniAssist?.refundStatus.fetchState),ne=p.useCallback(()=>{Y()},[Y]);p.useEffect(()=>{(e.deleteStatus.fetchState==="Completed"||e.approvalUpdateStatus.fetchState==="Completed"||e.cancelAndDeleteStatus.fetchState==="Completed"||e.billSaveStatus==="Completed")&&(ze(),Y())},[e,Y,ze]),p.useEffect(()=>{Je==="In-Progress"&&(e.zeniAssist?.refundStatus.fetchState==="Completed"||e.zeniAssist?.refundStatus.fetchState==="Error")&&(ce(!1),ne())},[Je,e.zeniAssist?.refundStatus,ne]);const w=e.transactionDetails?.billPayInfo.stage,ae=e.transactionDetails?.billPayInfo.billStatus,G=e.transactionDetails?.billPayInfo.billPaymentStatus,hn=e.transactionDetails?.billPayInfo.billPaymentRefundStatus,ye=w?.code==="paid",D=ye?w:ae?.code=="approved"&&G?.code?G:ae,S=Ya(D,e.transactionDetails),O=e.transactionDetails?.billPayInfo.isRefundInitiated===!0?hn:G?.code!=null&&(ae?.code=="approved"||G.code==="mark_as_paid")?G:ae,he=e.transactionDetails?.vendor?.name,B=e.isRecurring,Qe=()=>{e.transactionDetails?.id!=null&&Ht(e.transactionDetails?.id??"")},bn=()=>{te({title:B?n.recurringBill.deleteRecurringTitle:n.deleteBillTitle,description:B?n.recurringBill.deleteRecurringAlertText:n.deleteAlertDescription,primaryButtonText:n.delete,secondaryButtonText:n.cancel}),V(!0)},gn=()=>{te({title:n.cancelBillTitle,description:n.cancelAlertDescription,primaryButtonText:n.yes,secondaryButtonText:n.no}),V(!0)},fn=()=>{te({title:B?n.recurringBill.cancelAndDeleteRecurringTitle:n.cancelAndDeleteBillTitle,description:B?n.recurringBill.cancelAndDeleteRecurringAlertText:n.cancelAndDeleteAlertDescription,primaryButtonText:n.yes,secondaryButtonText:n.no}),V(!0)},xn=()=>{M.trackRefundClick(D?.code??"",w?.code??"",O?.description??"",B?["Recurring"]:["One-Time"],e.transactionDetails?.documentId??""),te({title:n.zeniAssist.refundTitle,description:n.zeniAssist.refundDescription,primaryButtonText:n.zeniAssist.proceed,secondaryButtonText:n.cancel}),ce(!0)},wn={onOkClick:()=>{V(!1),N.primaryButtonText===n.delete?Gt?.(e.isRecurring):N.title===n.cancelBillTitle?Me?.(e.isRecurring):N.title===n.cancelAndDeleteBillTitle||N.title===n.recurringBill.cancelAndDeleteRecurringTitle?Me?.(e.isRecurring,!0):N.primaryButtonText===n.zeniAssist.proceed&&(M.trackRefundConfirmClick(D?.code??"",w?.code??"",O?.description??"",B?["Recurring"]:["One-Time"],e.transactionDetails?.documentId??""),nn())},onCancelClick:()=>{V(!1),ce(!1)}},Tn={onOkClick:r=>{me(!1),Ne({billId:e.transactionDetails?.id??"",type:"rejected",description:r})},onCancelClick:()=>{me(!1)}},vn=()=>{const[r]=Sa("ZeniAssist");return r!=null?t.jsx(Ca,{"data-testid":b("bill-details-zeni-assist-icon",h),onClick:()=>{pe(!_e),M.trackZeniAssistClick(D?.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},ie={invoiceNumber:e.transactionDetails?.documentId??"",invoiceDate:e.transactionDetails?.date,billDueDate:e.transactionDetails?.dueDate,memo:e.transactionDetails?.memo,currencyCode:e.vendorCurrency??Tt.currencyCode},be=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}})??[],Dn=e.transactionDetails?.recipientTotalAmount.amount??0,ge=e.transactionDetails?.recipientTotalAmount,d={paymentType:e.paymentMethodType,paymentDate:e.transactionDetails?.billPayInfo.paymentDate,internationalTransferFeeBearerPaymentMethod:e.transactionDetails?.billPayInfo.internationalTransferFeeBearerPaymentMethod,paymentToBankAccount:e.bankAccount,paymentToPI:e.paymentInstrument},j=m.labelWidth.value(l),jn=r=>r==="billable"||r==="has_been_billed"?n.yes:n.no,In=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):"",$n=d.paymentToBankAccount?.bankAccountName!=null&&d.paymentToBankAccount?.bankAccountName!=""?d.paymentToBankAccount?.bankAccountName:`${e.transactionDetails?.vendor?.name} - ${d.paymentToBankAccount?.bankName} XXXX${In}`,An=e.transactionDetails?.billPayInfo?.isCollectToAccountInfoFromVendorContact?t.jsxs(t.Fragment,{children:[`${n.magicLink.collectFrom} ${e.transactionDetails?.billPayInfo?.toAccountVendorEmail}`,t.jsx(Ii,{windowSize:l,children:t.jsx(ji,{})})]}):void 0,et=e.transactionDetails?.date!=null&&e.transactionDetails.bookCloseDate!=null&&e.transactionDetails.date.isBefore(e.transactionDetails.bookCloseDate),kn=()=>{const r=d?.paymentToBankAccount?.bankAccountType,u=r!=null&&r!==""?Aa(r.toLowerCase()):r??"";return`${De.achDetails.bankRoutingNumber} ${d?.paymentToBankAccount?.bankRoutingNumberAch}, ${d?.paymentToBankAccount?.bankName}
|
|
1
|
+
import{Q as Wn,aw as Un,g as Kn,gg as Vn,gh as qn,gi as Hn,gj as Gn,cc as Xn,aQ as Yn,y,V as t,f6 as ct,f7 as Jn,o as a,f8 as Qn,f9 as ea,fa as ta,aN as Se,fb as na,aP as b,bB as pt,bo as mt,dt as ut,co as yt,cp as ht,cq as bt,gk as aa,gl as ia,gm as la,gn as oa,fg as I,go as $,fi as A,fj as k,ff as ra,b as gt,p as oe,fh as Ot,fp as sa,fk as da,fl as ca,gp as pa,gq as ma,aR as ua,ao as ft,bS as ve,gr as ya,gs as L,F as ha,u as s,ag as ba,c1 as ga,gt as fa,x as xa,gu as wa,fq as xt,a as Ta,d2 as va,ch as Da,gv as wt,b7 as ja,b9 as Ia,f as $a,bU as Ft,d3 as Aa,gw as ka,ai as Et,av as Sa,b5 as Ca,bt as Pa,gx as Ba,al as Ra}from"./index-BhvUwV_v.js";import{a as p}from"./sentry-DgGQRl6g.js";import{n as i}from"./mui-DqYnCiYu.js";import{a as za}from"./liveblocks-BqcT5iTZ.js";import{bO as Ma,bL as Na,bP as La,FH as Oa,bN as Fa,bH as Ea,bh as _a}from"./zeni-epic-state-WWg2r7iB.js";import{o as Za,t as Wa}from"./LowBalancePopup-hlu_jjTZ-DZ1z8xe6.js";import"./core-B9Znwqny.js";import"./lottie-oQfNS8l-.js";import"./recharts-D7E0WJGk.js";import"./analytics-DO1unY4G.js";import"./lexical-DSIpBzCF.js";import"./utils-C_quS4m3.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},g=new e.Error().stack;g&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[g]="e94054bc-2995-4764-a1b0-0688321eddad",e._sentryDebugIdIdentifier="sentry-dbid-e94054bc-2995-4764-a1b0-0688321eddad")}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 Ta("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:Va,common:{noText:C,strings:{empty:c},currency:Tt,via:qa,more:Ha,edit:Ga},spendManagement:{billPay:{billDetails:n,billsByTabs:Ce,bulkActions:vt,vendorCreation:De,insufficientFunds:_t}},collaboration:{threads:{placeholder:Dt,tooltip:jt,title:{comments:Xa}}}}=ha.getLocalizedStrings(),je=Va.visual.MMMDCommaYYYYformat,_i=({billDetails:e,currentTenant:g,showApproveRejectBtns:f,isShowDeletedBillsEnabled:W,signedInUser:re,isAdmin:Zt,isRealTimeApprovalEnabled:Wt,isInternationalPaymentShaVsOurEnabled:Ut,hasZeniAssistAccess:Kt,analytics:M,showMarkAsPaidButtonToCreator:U,showMarkAsPaidButtonToApprover:Pe,isBillPayCommentingEnabled:Be,isZeniUser:Vt,showBackButton:Re=!0,isDetectInsufficientFundsEnabled:qt,redirectToEditableBillScreen:Ht,redirectToBillsScreen:Y,discardBillDetailsFromLocalStore:ze,deleteBill:Gt,cancelAndDeleteBill:Me,approveOrRejectBill:Ne,onAddNewRule:Xt,onAttachmentClick:Le,saveBillDetails:Yt,discardOutsideZeniPaymentData:Jt,onBackClick:Oe,updateEditRealTimeApproverClicked:Qt,onSaveRealTimeApprovals:en,onRetryPaymentClick:tn,onRefundPaymentClick:nn,initialOpenThreadRequest:K})=>{const l=Wn(),o=Un(),Fe=Kn(),[an,V]=p.useState(!1),[Ee,se]=p.useState(!1),[de,ce]=p.useState(!1),[_e,pe]=p.useState(!1),[ln,me]=p.useState(!1),[Ze,J]=p.useState(!1),h=e.transactionDetails?.id,on=Vt?Vn:qn,{requestToOpenThread:ue,setRequestToOpenThread:Q,setOpenThread:ee}=p.useContext(on);p.useEffect(()=>{K?.threadId!=null&&K?.companyId!=null&&K?.entityType!=null&&Q(K)},[K,Q]);const[rn,q]=p.useState(!1),T={application:"dashboard",companyId:o.currentTenant?.companyId,tab:"bill",entityId:h,isGlobalComment:!1},{threads:H,isLoading:P}=Hn(T,"both",!1),x=Be&&h!=null,We=p.useMemo(()=>h==null?[]:H.filter(r=>r.resolved===!1&&!r.id.includes(Gn)),[H,h]).length,v=`dashboard_${o.currentTenant?.companyId}`,sn=p.useCallback((r,u)=>{ee(u),q(!1)},[ee,q]);p.useEffect(()=>{ue?.threadId!=null&&H.length>0&&!P&&(ee(ue.threadId),Q(null))},[ue,H,P,ee,Q]);const Ue=p.useRef(!1),[dn,cn]=p.useState(!1),pn=p.useRef(r=>{r&&!Ue.current&&(Ue.current=!0,cn(!0))});Xn({componentName:"bill.details",enabled:dn});const[N,te]=p.useState({title:"",description:"",primaryButtonText:"",secondaryButtonText:""}),[Ke,Ve]=p.useState("approved"),[mn,qe]=p.useState(!1),[un,He]=p.useState(!1),[Ge,Xe]=p.useState(!1),Ye=()=>qe(!1),yn=()=>qe(!0),Je=Yn(e.zeniAssist?.refundStatus.fetchState),ne=p.useCallback(()=>{Y()},[Y]);p.useEffect(()=>{(e.deleteStatus.fetchState==="Completed"||e.approvalUpdateStatus.fetchState==="Completed"||e.cancelAndDeleteStatus.fetchState==="Completed"||e.billSaveStatus==="Completed")&&(ze(),Y())},[e,Y,ze]),p.useEffect(()=>{Je==="In-Progress"&&(e.zeniAssist?.refundStatus.fetchState==="Completed"||e.zeniAssist?.refundStatus.fetchState==="Error")&&(ce(!1),ne())},[Je,e.zeniAssist?.refundStatus,ne]);const w=e.transactionDetails?.billPayInfo.stage,ae=e.transactionDetails?.billPayInfo.billStatus,G=e.transactionDetails?.billPayInfo.billPaymentStatus,hn=e.transactionDetails?.billPayInfo.billPaymentRefundStatus,ye=w?.code==="paid",D=ye?w:ae?.code=="approved"&&G?.code?G:ae,S=Ya(D,e.transactionDetails),O=e.transactionDetails?.billPayInfo.isRefundInitiated===!0?hn:G?.code!=null&&(ae?.code=="approved"||G.code==="mark_as_paid")?G:ae,he=e.transactionDetails?.vendor?.name,B=e.isRecurring,Qe=()=>{e.transactionDetails?.id!=null&&Ht(e.transactionDetails?.id??"")},bn=()=>{te({title:B?n.recurringBill.deleteRecurringTitle:n.deleteBillTitle,description:B?n.recurringBill.deleteRecurringAlertText:n.deleteAlertDescription,primaryButtonText:n.delete,secondaryButtonText:n.cancel}),V(!0)},gn=()=>{te({title:n.cancelBillTitle,description:n.cancelAlertDescription,primaryButtonText:n.yes,secondaryButtonText:n.no}),V(!0)},fn=()=>{te({title:B?n.recurringBill.cancelAndDeleteRecurringTitle:n.cancelAndDeleteBillTitle,description:B?n.recurringBill.cancelAndDeleteRecurringAlertText:n.cancelAndDeleteAlertDescription,primaryButtonText:n.yes,secondaryButtonText:n.no}),V(!0)},xn=()=>{M.trackRefundClick(D?.code??"",w?.code??"",O?.description??"",B?["Recurring"]:["One-Time"],e.transactionDetails?.documentId??""),te({title:n.zeniAssist.refundTitle,description:n.zeniAssist.refundDescription,primaryButtonText:n.zeniAssist.proceed,secondaryButtonText:n.cancel}),ce(!0)},wn={onOkClick:()=>{V(!1),N.primaryButtonText===n.delete?Gt?.(e.isRecurring):N.title===n.cancelBillTitle?Me?.(e.isRecurring):N.title===n.cancelAndDeleteBillTitle||N.title===n.recurringBill.cancelAndDeleteRecurringTitle?Me?.(e.isRecurring,!0):N.primaryButtonText===n.zeniAssist.proceed&&(M.trackRefundConfirmClick(D?.code??"",w?.code??"",O?.description??"",B?["Recurring"]:["One-Time"],e.transactionDetails?.documentId??""),nn())},onCancelClick:()=>{V(!1),ce(!1)}},Tn={onOkClick:r=>{me(!1),Ne({billId:e.transactionDetails?.id??"",type:"rejected",description:r})},onCancelClick:()=>{me(!1)}},vn=()=>{const[r]=Sa("ZeniAssist");return r!=null?t.jsx(Ca,{"data-testid":b("bill-details-zeni-assist-icon",h),onClick:()=>{pe(!_e),M.trackZeniAssistClick(D?.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},ie={invoiceNumber:e.transactionDetails?.documentId??"",invoiceDate:e.transactionDetails?.date,billDueDate:e.transactionDetails?.dueDate,memo:e.transactionDetails?.memo,currencyCode:e.vendorCurrency??Tt.currencyCode},be=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}})??[],Dn=e.transactionDetails?.recipientTotalAmount.amount??0,ge=e.transactionDetails?.recipientTotalAmount,d={paymentType:e.paymentMethodType,paymentDate:e.transactionDetails?.billPayInfo.paymentDate,internationalTransferFeeBearerPaymentMethod:e.transactionDetails?.billPayInfo.internationalTransferFeeBearerPaymentMethod,paymentToBankAccount:e.bankAccount,paymentToPI:e.paymentInstrument},j=m.labelWidth.value(l),jn=r=>r==="billable"||r==="has_been_billed"?n.yes:n.no,In=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):"",$n=d.paymentToBankAccount?.bankAccountName!=null&&d.paymentToBankAccount?.bankAccountName!=""?d.paymentToBankAccount?.bankAccountName:`${e.transactionDetails?.vendor?.name} - ${d.paymentToBankAccount?.bankName} XXXX${In}`,An=e.transactionDetails?.billPayInfo?.isCollectToAccountInfoFromVendorContact?t.jsxs(t.Fragment,{children:[`${n.magicLink.collectFrom} ${e.transactionDetails?.billPayInfo?.toAccountVendorEmail}`,t.jsx(Ii,{windowSize:l,children:t.jsx(ji,{})})]}):void 0,et=e.transactionDetails?.date!=null&&e.transactionDetails.bookCloseDate!=null&&e.transactionDetails.date.isBefore(e.transactionDetails.bookCloseDate),kn=()=>{const r=d?.paymentToBankAccount?.bankAccountType,u=r!=null&&r!==""?Aa(r.toLowerCase()):r??"";return`${De.achDetails.bankRoutingNumber} ${d?.paymentToBankAccount?.bankRoutingNumberAch}, ${d?.paymentToBankAccount?.bankName}
|
|
2
2
|
${De.achDetails.bankAccountNumber} ${d?.paymentToBankAccount?.bankAccountNumber}, ${De.achDetails.accountTypeLabel} ${u}`},le=e.transactionDetails?.billPayInfo!=null?Ma(e.transactionDetails?.billPayInfo):void 0,Sn=le!=null&&e.paymentMethodType?.maxPeriod?.value!=null?Na(La(le?.toDate(),[0,6],e.paymentMethodType?.maxPeriod.value).toDateString()):void 0,tt=e.transactionDetails?.billPayInfo.expectedDepositDate??Sn,nt=ct(d?.paymentType?.method??"").replace("Same Day",""),Cn=(d?.paymentToBankAccount!=null||d?.paymentToPI)!=null?n.addedByZeni:e.transactionDetails?.billPayInfo.isCollectToAccountInfoFromVendorContact?t.jsx(Jn,{paymentTypeLabel:nt,onClick:yn,style:{marginTop:`${l==="small"?a.sp2:a.sp0}`}}):void 0,Pn=()=>d?.paymentToBankAccount==null&&d?.paymentToPI==null&&d?.paymentType?.method!=null&&e.transactionDetails?.billPayInfo.isCollectToAccountInfoFromVendorContact&&e.transactionDetails?.billPayInfo.paymentDate!=null?t.jsx(ka,{paymentType:d?.paymentType?.method,paymentDate:e.transactionDetails?.billPayInfo.paymentDate}):null,at=e.transactionDetails?.lines?.some(r=>{const u=r.account;return u?.isDeleted===!0&&u?.isBillEditableCoaAccountType===!1})??!1,fe=!(D?.code==="processing"||e.transactionDetails?.billPayInfo.isRefundInitiated===!0||e.transactionDetails?.billPayInfo.isRefundComplete===!0||(w?.code==="scheduled"||w?.code==="pending_approval")&&at),it=!((w?.code==="scheduled"||w?.code==="pending_approval")&&at),xe=e.zeniAssist?.isEligibleForRetryIBT===!0||e.zeniAssist?.isEligibleForRetryOBP===!0,we=e.zeniAssist?.isEligibleForRefund===!0,Bn=e?.transactionDetails?.billPayInfo.billPaymentMethodType.code==="wire"&&e?.transactionDetails?.billPayInfo.billPaymentMethodType.subCode==="international",Rn=Kt&&e.transactionDetails?.billPayInfo.billPaymentStatus.code!=null&&["failed","cancelled","returned"].includes(e.transactionDetails.billPayInfo.billPaymentStatus.code)&&(xe||we)&&Bn===!1,Te=xe||we,zn=e.transactionDetails?.billPayInfo.isRefundInitiated===!0&&e.transactionDetails?.billPayInfo.isRefundComplete===!1,E=D?.code,Mn=!zn&&(!et||D?.code==="processing"&&!B),lt=!et,ot=["small","medium-compact","medium-regular"].includes(l),X=Oa(e.transactionDetails?.bulkProcessingDetail?.type),F=Fa(e.paymentMethodType?.method),Nn=!X&&(E!=="processing"&&it||E==="processing"&&!B||E==="processing"&<||f&&F&&Pe),Ln=r=>{M.trackBillPayMarkAsPaidSubmit(r.paymentMode??"other",w?.code??"",D?.code??""),Yt(!0,Ge,r)},rt=()=>{He(!0),M.trackBillPayMarkAsPaid(w?.code??"",D?.code??"")},On=()=>{Xe(!0),rt()},Fn=()=>{Jt(),He(!1),Ge&&Xe(!1)},En=p.useMemo(()=>({companyId:o.currentTenant?.companyId??c,companyName:o.currentTenant?.companyName??c,entityType:"bill.details",entityId:h??c,isGlobalComment:!1,application:"dashboard",tab:"bill",url:window.location.href}),[o.currentTenant,h]),_=qt&&e.transactionDetails?.totalAmountWithFeesInUSD!=null&&w?.code!=="paid"&&D?.code!=="failed"&&D?.code!=="processing"&&D?.code!=="cancelled"&&D?.code!=="returned"&&D?.code!=="rejected"?Qn(e.transactionDetails?.totalAmountWithFeesInUSD,e.withdrawFrom,d.paymentDate):void 0,st=()=>{Ve("approved"),Ze===!0&&J(!1),_!=null&&M.trackLowBalanceAccountApprove(w?.code??"",e.transactionDetails?.billPayInfo.billPaymentStatus.code??"",e.isRecurring?["Recurring"]:["One-Time"],e.transactionDetails?.documentId??"",xt(o.loggedInUser),e.withdrawFrom?.accType==="depositAccount"?"ZA":"External Account"),Ne({billId:e.transactionDetails?.id??"",type:"approved"})},_n=()=>{Ve("rejected"),_!=null&&M.trackLowBalanceAccountReject(w?.code??"",e.transactionDetails?.billPayInfo.billPaymentStatus.code??"",e.isRecurring?["Recurring"]:["One-Time"],e.transactionDetails?.documentId??"",xt(o.loggedInUser),e.withdrawFrom?.accType==="depositAccount"?"ZA":"External Account"),me(!0)},dt=p.useRef(null);return t.jsxs(pi,{windowSize:l,ref:dt,children:[t.jsx(ea,{anchor:"right",open:mn,onClose:Ye,transitionDuration:250,"data-testid":b("vendor-email-preview-drawer"),children:t.jsx(ta,{companyName:na(g.company?.companyInfo),vendor:e.transactionDetails?.vendor?.name,paymentDate:d.paymentDate?.format(je)??"",paymentType:nt,amount:Se("0,0.[00]",ge),isInvoiceAttached:!!e.transactionDetails?.attachments?.length,onClose:Ye})}),t.jsxs(hi,{ref:pn.current,windowSize:l,children:[t.jsx(ki,{windowSize:l,children:l==="small"?t.jsx(pt,{"data-testid":b("bill-detail-nav-bar-mobile"),title:t.jsxs(t.Fragment,{children:[he,e.isRecurring?t.jsx(ke,{width:a.sp4,height:a.sp4}):null]}),backgroundColor:Fe.colors.grey4,rightSideComponent:t.jsxs(Ct,{windowSize:l,children:[x?t.jsxs(Nt,{isDisabled:P,"data-testid":b("bill-comment-button"),onClick:P?()=>null:r=>{r.preventDefault(),r.stopPropagation(),q(!0),M.trackCommentActivity("bill","clicked",o.currentTenant?.companyName??"",o.controllersList.controllers.map(u=>ut(u)),void 0,void 0,"page icon")},children:[t.jsx(mt,{count:P?void 0:We,isLoading:P,style:{left:"12px"}}),t.jsx(Lt,{})]}):null,t.jsx(Pt,{onClick:()=>ne(),"data-testid":b("bill-detail-nav-bar-small-close-button"),children:t.jsx(St,{})})]}),leftSideComponent:t.jsx(kt,{windowSize:l,onClick:Oe,"data-testid":b("bill-detail-nav-bar-small-back-button"),style:{visibility:`${Re?"visible":"hidden"}`},children:t.jsx(At,{})}),source:"BillDetailPage"}):t.jsx(pt,{"data-testid":b("bill-detail-nav-bar"),title:t.jsxs(t.Fragment,{children:[he,e.isRecurring?t.jsx(ke,{width:a.sp4,height:a.sp4}):null]}),rightSideComponent:t.jsxs(Ct,{windowSize:l,children:[x?t.jsxs(Nt,{isDisabled:P,"data-testid":b("bill-comment-button"),onClick:P?()=>null:r=>{r.preventDefault(),r.stopPropagation(),q(!0),M.trackCommentActivity("bill","clicked",o.currentTenant?.companyName??"",o.controllersList.controllers.map(u=>ut(u)),void 0,void 0,"page icon")},children:[t.jsx(mt,{count:P?void 0:We,isLoading:P,style:{left:"12px"}}),t.jsx(Lt,{})]}):null,t.jsx(Pt,{onClick:()=>ne(),"data-testid":b("bill-detail-nav-bar-close-button"),children:t.jsx(St,{})})]}),leftSideComponent:t.jsx(kt,{windowSize:l,onClick:Oe,"data-testid":b("bill-detail-nav-bar-back-button"),style:{visibility:`${Re?"visible":"hidden"}`},children:t.jsx(At,{})}),enableTitleOnScroll:!0,scrollableContent:dt,source:"BillDetailPage"})}),t.jsxs(bi,{windowSize:l,children:[Ze?t.jsx(Za,{withdrawFrom:e.withdrawFrom,paymentDate:e?.transactionDetails?.billPayInfo.paymentDate,onOkClick:st,onCancelClick:()=>{J(!1),Qe()},onClickAway:()=>{J(!1)}}):null,un?t.jsx(Wa,{onCancel:Fn,onProceedForMarkAsPaid:Ln,saveDetailsFetchState:e.billSaveStatus,paymentData:e.outsideZeniPaymentInfo}):null,an||de?t.jsx(yt,{titleComponent:t.jsx(bt,{children:N.title}),descriptionComponent:t.jsx(ht,{children:N.description}),primaryButtonText:N.primaryButtonText,proceedButtonVariant:de?"primary":"danger",secondaryButtonText:N.secondaryButtonText,action:wn,isEditPopup:!0,isLoading:e.zeniAssist?.refundStatus.fetchState==="In-Progress",children:de?Ja(l,e):null}):null,ln?t.jsx(yt,{titleComponent:t.jsx(bt,{children:n.rejectBillTitlePrefix+" "+(e.transactionDetails?.vendor?.name!=null?e.transactionDetails.vendor.name:"")}),descriptionComponent:t.jsx(ht,{children:n.rejectBillDescription}),primaryButtonText:n.send,secondaryButtonText:n.cancel,action:Tn,isEditPopup:!0,isNotesIncluded:!0,notesPlaceholder:n.rejectBillReasonPlaceholder}):null,l!=="small"||S?t.jsxs(fi,{windowSize:l,children:[l!=="small"?t.jsxs(xi,{windowSize:l,children:[he,e.isRecurring?t.jsx(ke,{height:a.sp5,width:a.sp5}):null]}):null,W&&S!=null&&S.code==="deleted"?t.jsx(Bt,{color:S.color,bgColor:S.bgColor,borderColor:S.borderColor,children:S.value}):S?.value===Ce.tabsById.overdue?t.jsx(Bt,{color:S.color,bgColor:S.bgColor,borderColor:S.borderColor,children:S.value}):null]}):null,O!=null&&O.code?l==="small"?t.jsx(aa,{progressSectionObj:O,createDate:e.transactionDetails?.createTime,paymentDate:tt,scheduleDate:le,approvedDate:e.latestApprovedDate,isFrozen:e.transactionDetails?.isDeleted}):t.jsx(ia,{progressSectionObj:O,createDate:e.transactionDetails?.createTime,paymentDate:tt,scheduleDate:le,approvedDate:e.latestApprovedDate,isFrozen:e.transactionDetails?.isDeleted}):null,ti(X,e,_),t.jsx(la,{sectionId:oa,currentVendorOption:{defaultOptions:[]},billId:h,isBillPayCommentingEnabled:Be,isBillPaid:ye,disableVendorActions:!0,vendor:e.transactionDetails?.vendor,prevBills:e.previousBills,onAttachmentClick:Le,isVendorRecommendationEnabled:!1,showVendorGptRecommendationText:!1}),d.paymentType?.method?.includes("ach"),t.jsxs($e,{children:[t.jsx(Ae,{children:n.whatForTitle}),t.jsxs(Ie,{children:[t.jsx(I,{isThreadAllowed:x,entityId:h,dashboardTabKey:k({type:"details",key:"invoiceNumber"}),roomId:v,companyId:o.currentTenant?.companyId??c,companyName:o.currentTenant?.companyName??c,dashboardOptionType:"bill",filterMetaData:{...T,entityType:`bill.details.${A("invoiceNumber")}`},children:t.jsx($,{label:{label:n.invoiceNumber,width:j},text:ie.invoiceNumber??C,style:{width:"auto"}})}),t.jsx(z,{}),t.jsx(I,{isThreadAllowed:x,entityId:h,dashboardTabKey:k({type:"details",key:"invoiceDate"}),roomId:v,companyId:o.currentTenant?.companyId??c,companyName:o.currentTenant?.companyName??c,dashboardOptionType:"bill",filterMetaData:{...T,entityType:`bill.details.${A("invoiceDate")}`},children:t.jsx($,{label:{label:n.invoiceDate,width:j},text:ie.invoiceDate?.format(je)??C,style:{width:"auto"}})}),t.jsx(z,{}),t.jsx(I,{isThreadAllowed:x,entityId:h,dashboardTabKey:k({type:"details",key:"billDueDate"}),roomId:v,companyId:o.currentTenant?.companyId??c,companyName:o.currentTenant?.companyName??c,dashboardOptionType:"bill",filterMetaData:{...T,entityType:`bill.details.${A("billDueDate")}`},children:t.jsx($,{label:{label:n.billDueDate,width:j},text:ie.billDueDate?.format(je)??C,style:{width:"auto"}})}),t.jsx(z,{}),t.jsx(I,{isThreadAllowed:x,entityId:h,dashboardTabKey:k({type:"details",key:"memo"}),roomId:v,companyId:o.currentTenant?.companyId??c,companyName:o.currentTenant?.companyName??c,dashboardOptionType:"bill",filterMetaData:{...T,entityType:`bill.details.${A("memo")}`},children:t.jsx($,{label:{label:n.memo,width:j},text:ie.memo??C,style:{width:"auto"}})})]})]}),t.jsxs($e,{children:[t.jsx(gi,{windowSize:l,children:t.jsx(Ae,{children:n.lineItemsTitle})}),be.length>0?be.map((r,u)=>{const R=e?.transactionDetails?.lines?.find(Zn=>Zn.id===r.lineId)?.recipientAmount;return t.jsxs(mi,{children:[be.length>1?t.jsx(ui,{windowSize:l,children:t.jsx(yi,{windowSize:l,children:`${n.line} # ${u+1}`})}):null,t.jsxs(Ie,{children:[t.jsx(I,{isThreadAllowed:x,entityId:h,dashboardTabKey:k({type:"details",key:`${u}.recipientAmount`}),roomId:v,companyId:o.currentTenant?.companyId??c,companyName:o.currentTenant?.companyName??c,dashboardOptionType:"bill",filterMetaData:{...T,entityType:`bill.details.${A("recipientAmount",u)}`},children:t.jsx($,{label:{label:n.amount,width:j},text:R!=null?Se("0,0[.]00",R):C,style:{width:"auto"}})}),t.jsx(z,{}),t.jsx(I,{isThreadAllowed:x,entityId:h,dashboardTabKey:k({type:"details",key:`${u}.lineDescription`}),roomId:v,companyId:o.currentTenant?.companyId??c,companyName:o.currentTenant?.companyName??c,dashboardOptionType:"bill",filterMetaData:{...T,entityType:`bill.details.${A("lineDescription",u)}`},children:t.jsx($,{label:{label:n.description,width:j},text:r.lineDescription??C,style:{width:"auto"}})}),t.jsx(z,{}),t.jsx(I,{isThreadAllowed:x,entityId:h,dashboardTabKey:k({type:"details",key:`${u}.account`}),roomId:v,companyId:o.currentTenant?.companyId??c,companyName:o.currentTenant?.companyName??c,dashboardOptionType:"bill",filterMetaData:{...T,entityType:`bill.details.${A("account",u)}`},children:t.jsx($,{label:{label:n.category,width:j},text:r.account?.accountName??C,style:{width:"auto"}})}),t.jsx(z,{}),t.jsx(I,{isThreadAllowed:x,entityId:h,dashboardTabKey:k({type:"details",key:`${u}.class`}),roomId:v,companyId:o.currentTenant?.companyId??c,companyName:o.currentTenant?.companyName??c,dashboardOptionType:"bill",filterMetaData:{...T,entityType:`bill.details.${A("class",u)}`},children:t.jsx($,{label:{label:n.class,width:j},text:r.class?.className??C,style:{width:"auto"}})}),t.jsx(z,{}),t.jsx(I,{isThreadAllowed:x,entityId:h,dashboardTabKey:k({type:"details",key:`${u}.billable`}),roomId:v,companyId:o.currentTenant?.companyId??c,companyName:o.currentTenant?.companyName??c,dashboardOptionType:"bill",filterMetaData:{...T,entityType:`bill.details.${A("billable",u)}`},children:t.jsx($,{label:{label:n.billable,width:j},text:r.billable!=null?jn(r.billable):C,style:{width:"auto"}})}),t.jsx(z,{}),t.jsx(I,{isThreadAllowed:x,entityId:h,dashboardTabKey:k({type:"details",key:`${u}.customer`}),roomId:v,companyId:o.currentTenant?.companyId??c,companyName:o.currentTenant?.companyName??c,dashboardOptionType:"bill",filterMetaData:{...T,entityType:`bill.details.${A("customer",u)}`},children:t.jsx($,{label:{label:n.customer,width:j},text:r.customer?.name??C,style:{width:"auto"}})})]})]},u)}):null]}),t.jsxs(wi,{windowSize:l,children:[t.jsx(Ti,{children:n.total}),t.jsx(vi,{children:ge!=null?t.jsx(ra,{amount:ge,integerStyles:gt.h6Medium.cssObject,decimalStyles:gt.standardMedium.cssObject}):C})]}),t.jsxs($e,{children:[t.jsx(Ae,{children:n.paymentDetailsTitle}),t.jsxs(Ie,{children:[F?null:t.jsxs(t.Fragment,{children:[t.jsx(I,{isThreadAllowed:x,entityId:h,dashboardTabKey:k({type:"details",key:"withdrawFrom"}),roomId:v,companyId:o.currentTenant?.companyId??c,companyName:o.currentTenant?.companyName??c,dashboardOptionType:"bill",filterMetaData:{...T,entityType:`bill.details.${A("withdrawFrom")}`},children:t.jsx($,{label:{label:n.withdrawFrom,width:j},text:e.withdrawFrom!=null?Ot(e.withdrawFrom,l):c,style:{width:"auto"},additionalInfoLabelStyles:{textAlign:"right",paddingRight:m.infoLabelPaddingRight.valuePx(l),marginTop:m.infoLabelMarginTop.valuePx(l),color:oe.brandColorGoldDark},additionalInfoLabel:_!=null&&w?.code==="pending_approval"?_t.addMoney:_})}),t.jsx(z,{})]}),t.jsx(I,{isThreadAllowed:x,entityId:h,dashboardTabKey:k({type:"details",key:"paymentType"}),roomId:v,companyId:o.currentTenant?.companyId??c,companyName:o.currentTenant?.companyName??c,dashboardOptionType:"bill",filterMetaData:{...T,entityType:`bill.details.${A("paymentType")}`},children:t.jsx($,{additionalInfoLabel:d.paymentType?.method!=null&&d.paymentType.method.includes(Ea)&&Ut&&d.internationalTransferFeeBearerPaymentMethod!=null?t.jsx(ai,{children:sa(d.internationalTransferFeeBearerPaymentMethod)}):void 0,label:{label:n.paymentMethod,width:j},text:F&&e.outsideZeniPaymentInfo!=null?ei(e.outsideZeniPaymentInfo):ct(d.paymentType?.method??""),style:{width:"auto"}})}),F?null:t.jsxs(t.Fragment,{children:[t.jsx(z,{}),t.jsx(I,{isThreadAllowed:x,entityId:h,dashboardTabKey:k({type:"details",key:"paymentTo"}),roomId:v,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($,{label:{label:n.paymentTo,width:j},text:d.paymentToBankAccount!=null?$n:d.paymentToPI!=null?d.paymentToPI.displayText:An,style:{width:"auto"},showEyeIcon:d.paymentToBankAccount!=null&&!!d.paymentType?.method?.includes("ach"),showAdditionalInfoLabel:!!e.transactionDetails?.billPayInfo.isCollectToAccountInfoFromVendorContact||d.paymentType?.method?.includes("ach"),tooltipText:kn(),additionalInfoLabel:t.jsx(ni,{children:Cn})}),Pn()]})})]}),F||e.isRecurring?t.jsxs(t.Fragment,{children:[t.jsx(z,{}),t.jsx(I,{isThreadAllowed:x,entityId:h,dashboardTabKey:k({type:"details",key:"recurringPaymentType"}),roomId:v,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($,{label:{label:n.paymentType,width:j},labelStyles:{marginRight:m.labelMarginRight.valuePx(l)},style:{width:"auto"},text:ca(e.isRecurring,F,e.transactionDetails?.recurringBillInstance??1,e.recurringBillConfigDetail?.totalPaymentCycles??0),textStyles:{paddingLeft:m.textPadding.valuePx(l),paddingRight:m.textPadding.valuePx(l)},additionalInfoLabel:da(l,e.isRecurring,F,e.recurringBillConfigDetail),additionalInfoLabelStyles:{paddingRight:m.paddingRight.valuePx(l),marginTop:m.additionalTextMarginTop.valuePx(l)}}),e.recurringBillInstances!=null&&e.recurringBillInstances.length>0?t.jsx($i,{style:{paddingLeft:m.recurringSchedulePaddingLeft.valuePx(l)},children:t.jsx(pa,{onAttachmentClick:Le,currencySymbol:e.transactionDetails?.recipientTotalAmount.currencySymbol??Tt.currencySymbol,recurringBillInstances:e.recurringBillInstances})}):null]})})]}):null]})]}),e.transactionDetails&&e.transactionDetails.id&&t.jsx(ma,{amount:Dn,activities:e.billActivities,stage:w?.code??"draft",onAddNewRule:Xt,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:Zt,signedInUserId:re?.userId,showRealTimeApproval:Wt,entityApprovalId:e.billActivities[0]?.entityApprovalId??e.transactionDetails.entityApprovalId,updateEditMode:Qt,onSaveRealTimeApprovals:en},historicActivities:e.billHistory.activities}),t.jsx(Di,{})]}),e.transactionDetails?.vendor!=null&&!ye&&!e.transactionDetails.isDeleted?t.jsx(ua,{separatorStyle:{marginRight:a.sp4},showPrimaryButton:U||f,showCancel:!U&&f,cancelBtn:{label:ot?n.buttons.reject:n.buttons.rejectBill,isLoading:Ke==="rejected"&&e.approvalUpdateStatus.fetchState==="In-Progress",onClick:_n,style:{width:m.footerButtonWidth.value(l)},reverseSpinnerColor:!1},primaryBtn:{label:Qa(U,ot),isLoading:Ke==="approved"&&e.approvalUpdateStatus.fetchState==="In-Progress",onClick:U?rt:()=>{_!=null?J(!0):st()},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(ii,{children:t.jsxs(ci,{windowSize:l,children:[!X&&Ee?t.jsx(ft,{onClickAway:()=>{se(!1),pe(!1)},children:t.jsxs($t,{windowSize:l,"data-testid":b("bill-actions-container"),children:[E!=="processing"&&it?t.jsx(Z,{onClick:bn,"data-testid":b("delete-bill-action-item"),children:n.buttons.deleteBill}):null,E==="processing"&&!B?t.jsx(Z,{onClick:gn,"data-testid":b("cancel-bill-action-item"),children:n.buttons.cancel}):null,E==="processing"&<?t.jsx(Z,{onClick:fn,"data-testid":b("cancel-and-delete-bill-action-item"),children:n.buttons.cancelAndDelete}):null,f&&F&&Pe?t.jsx(Z,{onClick:On,"data-testid":b("mark-as-paid-action-item"),children:n.paymentOutsideZeni.markAsPaid}):null]})}):null,_e?t.jsx(ft,{onClickAway:()=>{se(!1),pe(!1)},children:t.jsxs($t,{windowSize:l,"data-testid":b("bill-actions-with-zeni-assist-container"),children:[xe?t.jsx(Z,{onClick:()=>{M.trackRetryClick(D?.code??"",w?.code??"",O?.description??"",B?["Recurring"]:["One-Time"],e.transactionDetails?.documentId??""),tn()},"data-testid":b("retry-bill-action-item"),children:n.buttons.retry}):null,we?t.jsx(Z,{onClick:xn,"data-testid":b("refund-bill-action-item"),children:n.buttons.refund}):null]})}):null,t.jsxs(di,{windowSize:l,children:[Rn===!0?t.jsx(ve,{enterDelay:600,style:{color:oe.heroDark,padding:`2px ${a.sp2}`},display:"flex",title:Te?n.zeniAssist.tooltip:n.zeniAssist.connectToTeamTooltip,placement:"top",maxWidth:"267px",children:t.jsx(It,{windowSize:l,showEditIcon:fe,isIconClickable:Te,"data-testid":b("other-actions-icon-container"),children:Te?t.jsx(vn,{}):t.jsx(oi,{})})}):null,!X&&fe===!0?t.jsx(ve,{enterDelay:600,style:{color:oe.heroDark,padding:`2px ${a.sp2}`},display:"flex",title:Ga,placement:"top",children:t.jsx(si,{onClick:Qe,"data-testid":b("edit-bill-icon-container"),children:t.jsx(ri,{})})}):null,!X&&Mn===!0&&Nn?t.jsx(ve,{enterDelay:600,style:{color:oe.heroDark,padding:`2px ${a.sp2}`},display:"flex",title:Ha,placement:"top",children:t.jsx(It,{windowSize:l,showEditIcon:fe,isIconClickable:!0,"data-testid":b("more-details-icon-container"),children:t.jsx(li,{onClick:()=>se(!Ee)})})}):null]})]})}),style:{minHeight:62}}):null]}),x?t.jsx(za,{id:v,children:t.jsx(ya,{isDrawerOpen:rn,allowComposer:!0,drawerTitle:Xa,threads:H,filter:T,autoExpand:!0,autoFocus:!1,isLoading:P,textOverrides:{composerPlaceholder:Dt.addANewComment,replyComposerPlaceholder:Dt.replyAComment,threadResolve:jt.resolveComment,threadUnResolve:jt.unResolveComment},threadMetadata:En,onThreadClick:sn,onCloseAllThreadsDrawer:()=>q(!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]})},Ya=(e,g)=>{const f=e?.code;if(e!=null&&f!=null)return g?.isDeleted===!0?{value:Ce.tabsById.deleted,color:L.deleted.color,bgColor:L.deleted.bgColor,borderColor:L.deleted.borderColor,code:"deleted"}:f==="pending_approval"&&g?.dueDate?.isBefore(_a(),"date")===!0?{value:Ce.tabsById.overdue,color:L.overdue.color,bgColor:L.overdue.bgColor,borderColor:L.overdue.borderColor}:{value:e.name,color:L[f].color,bgColor:L[f].bgColor,borderColor:L[f].borderColor}},Ja=(e,g)=>{const f=g.transactionDetails?.recipientTotalAmount;return t.jsxs(Ai,{windowSize:e,children:[t.jsxs(Rt,{windowSize:e,children:[t.jsx(zt,{children:n.zeniAssist.accountNumber}),t.jsx(Mt,{children:g.withdrawFrom!=null?Ot(g.withdrawFrom,e):c})]}),t.jsxs(Rt,{windowSize:e,children:[t.jsx(zt,{children:n.zeniAssist.amount}),t.jsx(Mt,{children:f!=null?Se("0,0[.]00",f):C})]})]})},Qa=(e,g)=>e?n.paymentOutsideZeni.markAsPaid:g?n.buttons.approve:n.buttons.approveBill,ei=e=>{const g=e.paymentMode,f=n.paymentOutsideZeni.offline;if(g==null||g==="other")return f;const W=n.paymentOutsideZeni.paymentModeOptions.find(re=>re.value===g)?.label;return`${f} ${qa} ${W}`},ti=(e,g,f)=>{if(e)return t.jsx(wt,{variant:"warning",style:{marginTop:a.sp5,marginBottom:a.sp3},title:vt.duplicateWarning.title,description:vt.duplicateWarning.description});if(f!=null){const W=`${g.withdrawFrom?.label??""} ${g.withdrawFrom?.maskedAccountNumber??""}`;return t.jsx(wt,{variant:"low-balance",style:{marginTop:a.sp2,marginBottom:a.sp3},title:`${_t.lowBalanceIn.replace("__account__",W)}`,description:f.replace("Low balance! ","")})}else return null},ni=i.div``,ai=i.div``,ii=i.div`
|
|
3
3
|
display: flex;
|
|
4
4
|
justify-content: flex-end;
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import{y as O,u as L,Q as M,F as U,a9 as W,aQ as G,aJ as Q,cE as J,V as o,bB as X,ac as H,aR as K,o as
|
|
1
|
+
import{y as O,u as L,Q as M,F as U,a9 as W,aQ as G,aJ as Q,cE as J,V as o,bB as X,ac as H,aR as K,o as c,g5 as Y}from"./index-BhvUwV_v.js";import{a as T}from"./sentry-DgGQRl6g.js";import{n as h}from"./mui-DqYnCiYu.js";import{b as Z,f as ee,o as _,l as R}from"./FollowStepsSection-DbxSUIzC-BaXmlzKU.js";import"./liveblocks-BqcT5iTZ.js";import"./core-B9Znwqny.js";import"./recharts-D7E0WJGk.js";import"./zeni-epic-state-WWg2r7iB.js";import"./lottie-oQfNS8l-.js";import"./analytics-DO1unY4G.js";import"./lexical-DSIpBzCF.js";import"./utils-C_quS4m3.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},l=new e.Error().stack;l&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[l]="fdc80cd9-cb80-4d77-a96d-bb7789f9d045",e._sentryDebugIdIdentifier="sentry-dbid-fdc80cd9-cb80-4d77-a96d-bb7789f9d045")}catch{}})();const k="billPayApprovalRuleDetailPage",j="lowerBound",E="upperBound",w="steps",m="applyToExistingBills",le={footerPadding:new O(L[2],L[2])};function Ae({localData:e,approvalUpdateActionType:l,onBackClick:a,onApprovalRuleDataUpdated:r,onResetClick:s,isLowerBoundDisabled:n=!1,isUpperBoundDisabled:y=!0,hideUpperBoundField:A=!1,onSaveRuleClick:N,onSaveRuleSuccess:I}){const P=M(),t=U.getLocalizedStrings().commonSetUp.approval,S=U.getLocalizedStrings().spendManagement.billPay.billPayApproval,g=ae(e,l==="approval_create"&&!n),x=W({mode:"all",reValidateMode:"onChange",defaultValues:g}),u=e.billPaySetupApproverViewUpdateData?.updateStatus,B=G(u?.fetchState),{upperBound:$}=g,{allApprovalRules:d,allAccountingClasses:V,billPaySetupApproverViewUpdateData:f}=e;let b=d.length>1?d.length-1:0,v=d.length>0?d[b].criteria[0].range.min.amount:0;if(f!=null&&f.type==="approval_update"&&f.data!=null){const{approvalRuleId:i}=f.data;b=d.findIndex(p=>p.approvalRuleId===i),v=b>0?d[b-1].criteria[0].range.min.amount:0}const F=x.handleSubmit(()=>{N()}),q=async(i,p)=>{r(p)};return T.useEffect(()=>{const i=x.watch((p,{name:D})=>{if(D!=null&&p!=null){const z=Q(p);J(()=>q(D,z))}});return()=>{i.unsubscribe()}}),T.useEffect(()=>{B==="In-Progress"&&u?.fetchState==="Completed"&&I()},[B,u?.fetchState,I]),o.jsxs(se,{children:[o.jsx(X,{title:l==="approval_create"?t.newApproval:t.editApproval,style:{zIndex:4},onBackClick:()=>{a()},source:"BillPayApprovalRuleDetailPage"}),o.jsxs(H,{...x,children:[o.jsx(ne,{children:o.jsx("form",{id:C(k),onSubmit:F,children:o.jsxs(ie,{children:[o.jsx(Z,{label:{label:A?S.amountPerBillGreaterLabel:S.amountPerBillLabel},firstText:{type:"number",name:j,placeholder:"$0",options:{required:!0,max:$===1/0?Number.MAX_SAFE_INTEGER-1:$-1,min:v,validate:i=>n?!0:i!=null&&i>v},isDisabled:n,additionalInfoLabel:t.firstRuleLowerBoundInfoLabel,additionalErrorLabel:t.firstRuleErrorInfoLabel},secondText:{type:"number",name:E,placeholder:"Infinity",isDisabled:y,hideField:A,additionalInfoLabel:t.upperBoundInfoLabel}}),o.jsx(de,{}),o.jsx(ee,{sectionId:w,label:{label:t.followStepsLabel},approversPlaceholder:t.approversPlaceholder,notifiersPlaceholder:t.notifiersPlaceholder,allUserWithRoles:e.allApprovers,filteredApprovers:e.filteredApprovers.map(i=>i.user),allAttributes:e.allAttributes,filteredAttributes:e.filteredAttributes,allAccountingClasses:V,stepsInfo:g[w],userSelectPlaceholder:t.userSelectPlaceholder,approveNotifyPlaceholder:t.approveNotifyPlaceholder,productType:"zeni_bill_pay"})]})})}),o.jsx(K,{formId:C(k),primaryBtn:{label:t.saveBtnText,isLoading:u?.fetchState==="In-Progress",isDisabled:u?.fetchState==="In-Progress",style:{width:"85px",minWidth:"auto"}},topComponent:l==="approval_create"?null:o.jsx(Y,{name:m,mode:"always_on",checkBoxes:[{value:m,label:t.applyToExistingBills,defaultChecked:!0,groupLabel:!1}],style:{width:"100%"}}),showCancel:!0,cancelBtn:{label:t.cancelBtnText,isLoading:!1,style:{width:"85px",minWidth:"auto"},onClick:s},containerStyle:{justifyContent:P==="small"?"space-between":"center"},style:{padding:le.footerPadding.valuePx(P)},separatorStyle:{marginRight:c.sp4}})]})]})}const ae=(e,l)=>{const{criteria:a,steps:r}=e.billPaySetupApproverViewUpdateData?.data??{};return{[m]:[m],[w]:te(e.allApprovers.map(s=>s.user),e.filteredApprovers.map(s=>s.user),_(e.allAttributes),_(e.filteredAttributes),r??[])??[],[j]:l?void 0:a!=null?a.range.min.amount??0:0,[E]:a!=null?a.range.max==null?1/0:a.range.max.amount:1/0}},te=(e,l,a,r,s)=>s&&s.length>0?s.map((n,y)=>({stepIndex:y,stepType:{selectedOption:n.action,allOptions:R},actors:{allUsers:l,selectedUsers:oe(e,n.actors),allNonUsers:r,selectedNonUsers:re(a,n.actors)}})):[{stepIndex:0,stepType:{selectedOption:"require_approval",allOptions:R},actors:{allUsers:l,selectedUsers:[],allNonUsers:r,selectedNonUsers:[]}}],oe=(e,l)=>e.filter(a=>a.userId!=null&&l.findIndex(r=>r.userId===a.userId)>-1),re=(e,l)=>e.filter(a=>l.findIndex(r=>r.subType===a.value)>-1),C=e=>`${e}_form`,Ie=e=>`${e}`,se=h.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
height: 100%;
|
|
4
4
|
flex-direction: column;
|
|
5
5
|
width: 100%;
|
|
6
6
|
background-color: ${e=>e.theme.colors.grey4};
|
|
7
|
-
box-shadow: ${e=>`${
|
|
7
|
+
box-shadow: ${e=>`${c.sp0} 2px ${c.sp1} ${e.theme.colors.dropShadowNormal}`};
|
|
8
8
|
`,ie=h.div`
|
|
9
9
|
display: flex;
|
|
10
10
|
flex-direction: column;
|
|
11
11
|
border: 1px solid ${e=>e.theme.colors.grey3};
|
|
12
|
-
box-shadow: ${e=>`${
|
|
13
|
-
border-radius: ${
|
|
12
|
+
box-shadow: ${e=>`${c.sp0} 2px ${c.sp1} ${e.theme.colors.dropShadowNormal}`};
|
|
13
|
+
border-radius: ${c.sp2};
|
|
14
14
|
`,ne=h.div`
|
|
15
15
|
display: flex;
|
|
16
16
|
justify-content: flex-start;
|
|
@@ -0,0 +1,241 @@
|
|
|
1
|
+
import{Q as W,F as S,V as t,bB as F,T as G,aP as y,y as r,al as M,o as i,aN as P,bS as z,co as V,cp as q,cq as J,c_ as K,u as l,b9 as O,a as T,b8 as Q,p as j,cZ as Z,bt as X,b as Y}from"./index-BhvUwV_v.js";import{n as o}from"./mui-DqYnCiYu.js";import{a as ee}from"./sentry-DgGQRl6g.js";import"./liveblocks-BqcT5iTZ.js";import"./core-B9Znwqny.js";import"./recharts-D7E0WJGk.js";import"./zeni-epic-state-WWg2r7iB.js";import"./lottie-oQfNS8l-.js";import"./analytics-DO1unY4G.js";import"./lexical-DSIpBzCF.js";import"./utils-C_quS4m3.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},d=new e.Error().stack;d&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[d]="4a316aee-a394-4907-b0e2-e560cb9f481c",e._sentryDebugIdIdentifier="sentry-dbid-4a316aee-a394-4907-b0e2-e560cb9f481c")}catch{}})();const s={sectionWidth:new r(343,580,726),ruleWrapperPadding:new r(l[3],l[4]),wrapperGap:new r(l[4],l[3]),wrapperMarginBottom:new r(l[6],l[8]),lastWrapperMarginBottom:new r(l[5],l[9]),stepperWidthHeight:new r(20,l[5]),stepperItemLeft:new r(-29,-23),stepperItemTop:new r(2,l[0]),stepperItemPaddingLeft:new r(l[0],10),stepperItemMinHeight:new r(22,28),stepperLeft:new r(11,17),stepperTop:new r(2,l[0]),stepperContentTop:new r(-1,-4)},N={stepper:new T("smallRegular","standardRegular"),amount:new T("standardRegular","largeMedium")},te=({showDeleteBtn:e=!1,disableButtons:d=!1,isLastSection:w=!1,approvalRule:c,onEditRuleClick:f,onDeleteRuleClick:x})=>{const[v,h]=ee.useState(!1),n=W(),{range:m}=c.criteria[0],{steps:$,approvalRuleId:g}=c,a=S.getLocalizedStrings().commonSetUp.approval,U=()=>{h(!0)},E={onOkClick:()=>{h(!1),x?.(g)},onCancelClick:()=>{h(!1)}};return t.jsxs(oe,{windowSize:n,isLastSection:w,isUpdatingApprovalRules:d,children:[t.jsxs(ie,{windowSize:n,children:[t.jsxs(ce,{children:[t.jsxs(L,{windowSize:n,children:[a.from," ",P("0,0",m.min)]}),t.jsxs(re,{children:[t.jsx(k,{}),t.jsx(le,{}),t.jsx(k,{})]}),m.max==null?t.jsx(he,{}):t.jsx(L,{windowSize:n,children:P("0,0",{...m.min,amount:m.max.amount})})]}),t.jsxs(ue,{className:"icons",children:[e===!0?d===!0?t.jsx(z,{title:a.approvalRulesUpdatingTooltip,placement:"top",children:t.jsx(D,{children:t.jsx(I,{$isDisabled:!0,"data-testid":y("delete-approval-rule-bill-pay",c.approvalRuleId)})})}):t.jsx(I,{onClick:U,"data-testid":y("delete-approval-rule-bill-pay",c.approvalRuleId)}):null,d===!0?t.jsx(z,{title:a.approvalRulesUpdatingTooltip,placement:"top",children:t.jsx(D,{children:t.jsx(B,{$isDisabled:!0,"data-testid":y("edit-approval-rule-bill-pay",c.approvalRuleId)})})}):t.jsx(B,{onClick:()=>{f(g)},"data-testid":y("edit-approval-rule-bill-pay",c.approvalRuleId)})]})]}),t.jsx(se,{windowSize:n,children:t.jsx(ae,{isSingleStep:$.length===1,windowSize:n,children:$.map((u,H)=>t.jsxs(ne,{isSingleStep:$.length===1,className:"stepperItem",windowSize:n,children:[u.action==="require_approval"?t.jsx(pe,{children:a.requireText}):t.jsx(de,{children:a.notifyText}),u.nonUserActors!=null&&u.nonUserActors.filter(p=>p.subType!=null).map((p,_)=>t.jsxs(A,{children:[t.jsx(R,{children:p.subType!=null?a.nonUsers[p.subType].label:null}),u.operator!="is"?t.jsx(C,{className:"operator",children:u.operator}):null]},`${p.subType}_${_}`)),u.actors.map(p=>t.jsxs(A,{children:[t.jsxs(R,{children:[p.firstName," ",p.lastName]}),u.operator!="is"?t.jsx(C,{className:"operator",children:u.operator}):null]},p.userId))]},H))})}),v?t.jsx(V,{titleComponent:t.jsx(J,{children:a.deleteApprovalRuleTitle}),descriptionComponent:t.jsx(q,{children:a.deleteApprovalRuleDesc}),primaryButtonText:a.deleteTxt,proceedButtonVariant:"danger",secondaryButtonText:a.cancelBtnText,action:E}):null]})},oe=o.div`
|
|
2
|
+
display: flex;
|
|
3
|
+
flex-direction: column;
|
|
4
|
+
gap: ${e=>s.wrapperGap.valuePx(e.windowSize)};
|
|
5
|
+
margin-bottom: ${e=>e.isLastSection?s.lastWrapperMarginBottom.valuePx(e.windowSize):s.wrapperMarginBottom.valuePx(e.windowSize)};
|
|
6
|
+
.icons {
|
|
7
|
+
display: none;
|
|
8
|
+
}
|
|
9
|
+
&:hover {
|
|
10
|
+
.icons {
|
|
11
|
+
display: flex;
|
|
12
|
+
}
|
|
13
|
+
> div:last-of-type {
|
|
14
|
+
border-color: ${e=>e.isUpdatingApprovalRules===!0?e.theme.colors.grey3:e.theme.colors.primary};
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
`,ie=o(O)`
|
|
18
|
+
display: flex;
|
|
19
|
+
position: relative;
|
|
20
|
+
align-items: center;
|
|
21
|
+
justify-content: space-between;
|
|
22
|
+
text-align: center;
|
|
23
|
+
width: ${e=>s.sectionWidth.valuePx(e.windowSize)};
|
|
24
|
+
gap: ${i.sp2};
|
|
25
|
+
`,re=o.div`
|
|
26
|
+
align-items: center;
|
|
27
|
+
display: flex;
|
|
28
|
+
justify-content: center;
|
|
29
|
+
`,le=o.div`
|
|
30
|
+
width: ${i.sp8};
|
|
31
|
+
height: 2px;
|
|
32
|
+
background-color: ${e=>e.theme.colors.primary};
|
|
33
|
+
`,k=o.div`
|
|
34
|
+
width: 6px;
|
|
35
|
+
height: 6px;
|
|
36
|
+
border-radius: 3px;
|
|
37
|
+
background-color: ${e=>e.theme.colors.primary};
|
|
38
|
+
`,se=o.div`
|
|
39
|
+
display: flex;
|
|
40
|
+
flex-direction: column;
|
|
41
|
+
align-items: flex-start;
|
|
42
|
+
padding: ${e=>s.ruleWrapperPadding.valuePx(e.windowSize)};
|
|
43
|
+
gap: 10px;
|
|
44
|
+
|
|
45
|
+
width: ${e=>s.sectionWidth.valuePx(e.windowSize)};
|
|
46
|
+
background-color: ${e=>e.theme.colors.grey5};
|
|
47
|
+
|
|
48
|
+
border: 1px solid ${e=>e.theme.colors.grey3};
|
|
49
|
+
|
|
50
|
+
box-shadow: ${e=>`${i.sp0} 2px ${i.sp1} ${e.theme.colors.dropShadowNormal}`};
|
|
51
|
+
border-radius: ${i.sp2};
|
|
52
|
+
|
|
53
|
+
flex: none;
|
|
54
|
+
order: 1;
|
|
55
|
+
flex-grow: 0;
|
|
56
|
+
justify-content: center;
|
|
57
|
+
box-sizing: border-box;
|
|
58
|
+
position: relative;
|
|
59
|
+
`,ae=o.ul`
|
|
60
|
+
${e=>`${N.stepper.style(e.windowSize)}`};
|
|
61
|
+
position: relative;
|
|
62
|
+
padding-left: ${i.sp6};
|
|
63
|
+
list-style: none;
|
|
64
|
+
box-sizing: initial;
|
|
65
|
+
margin: 0;
|
|
66
|
+
&::before {
|
|
67
|
+
display: inline-block;
|
|
68
|
+
content: "";
|
|
69
|
+
position: absolute;
|
|
70
|
+
top: ${e=>s.stepperTop.valuePx(e.windowSize)};
|
|
71
|
+
left: ${e=>s.stepperLeft.valuePx(e.windowSize)};
|
|
72
|
+
width: 10px;
|
|
73
|
+
height: ${e=>e.isSingleStep?"0%":"100%"};
|
|
74
|
+
border-left: 2px solid ${e=>e.theme.colors.grey1};
|
|
75
|
+
}
|
|
76
|
+
`,ne=o.li`
|
|
77
|
+
position: relative;
|
|
78
|
+
counter-increment: list;
|
|
79
|
+
min-height: ${e=>s.stepperItemMinHeight.valuePx(e.windowSize)};
|
|
80
|
+
display: flex;
|
|
81
|
+
justify-content: flex-start;
|
|
82
|
+
align-items: center;
|
|
83
|
+
padding-left: ${e=>s.stepperItemPaddingLeft.valuePx(e.windowSize)};
|
|
84
|
+
gap: ${i.sp1};
|
|
85
|
+
|
|
86
|
+
> div:last-of-type > span.operator:last-of-type {
|
|
87
|
+
visibility: hidden;
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
&:not(:last-child) {
|
|
91
|
+
padding-bottom: 20px;
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
&::before {
|
|
95
|
+
display: inline-block;
|
|
96
|
+
content: "";
|
|
97
|
+
position: absolute;
|
|
98
|
+
top: ${e=>s.stepperItemTop.valuePx(e.windowSize)};
|
|
99
|
+
left: ${e=>s.stepperItemLeft.valuePx(e.windowSize)};
|
|
100
|
+
height: ${e=>e.isSingleStep?"0%":"100%"};
|
|
101
|
+
width: 10px;
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
&.stepperItem {
|
|
105
|
+
flex-wrap: wrap;
|
|
106
|
+
&::before {
|
|
107
|
+
border-left: 2px solid ${e=>e.theme.colors.grey1};
|
|
108
|
+
}
|
|
109
|
+
&:last-child::before {
|
|
110
|
+
border-left: 2px solid ${e=>e.theme.colors.grey5};
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
&::after {
|
|
114
|
+
content: counter(list);
|
|
115
|
+
position: absolute;
|
|
116
|
+
width: ${e=>s.stepperWidthHeight.valuePx(e.windowSize)};
|
|
117
|
+
height: ${e=>s.stepperWidthHeight.valuePx(e.windowSize)};
|
|
118
|
+
top: ${e=>s.stepperContentTop.valuePx(e.windowSize)};
|
|
119
|
+
left: -${i.sp6};
|
|
120
|
+
${Y.standardMedium.css};
|
|
121
|
+
text-align: center;
|
|
122
|
+
color: ${e=>e.theme.colors.grey1};
|
|
123
|
+
border: 2px solid ${e=>e.theme.colors.grey1};
|
|
124
|
+
background-color: ${e=>e.theme.colors.grey5};
|
|
125
|
+
display: flex;
|
|
126
|
+
justify-content: center;
|
|
127
|
+
align-items: center;
|
|
128
|
+
border-radius: 50%;
|
|
129
|
+
}
|
|
130
|
+
}
|
|
131
|
+
`,pe=o.span`
|
|
132
|
+
color: ${j.alertDark};
|
|
133
|
+
`,de=o.span`
|
|
134
|
+
color: ${j.successDark};
|
|
135
|
+
`,R=o.span`
|
|
136
|
+
color: ${e=>e.theme.colors.primary};
|
|
137
|
+
`,ce=o.div`
|
|
138
|
+
display: flex;
|
|
139
|
+
align-items: center;
|
|
140
|
+
gap: ${i.sp2};
|
|
141
|
+
`,ue=o.div`
|
|
142
|
+
display: flex;
|
|
143
|
+
gap: ${i.sp5};
|
|
144
|
+
`,I=o(Z)`
|
|
145
|
+
width: ${i.sp3};
|
|
146
|
+
height: ${i.sp3};
|
|
147
|
+
cursor: ${e=>e.$isDisabled===!0?"not-allowed":"pointer"};
|
|
148
|
+
color: ${e=>e.$isDisabled===!0?e.theme.colors.grey2:e.theme.colors.hero};
|
|
149
|
+
pointer-events: ${e=>e.$isDisabled===!0?"none":"auto"};
|
|
150
|
+
&:hover {
|
|
151
|
+
color: ${e=>e.$isDisabled===!0?e.theme.colors.grey2:j.important};
|
|
152
|
+
}
|
|
153
|
+
`,D=o.span`
|
|
154
|
+
display: inline-flex;
|
|
155
|
+
cursor: not-allowed;
|
|
156
|
+
`,B=o(X)`
|
|
157
|
+
width: ${i.sp3};
|
|
158
|
+
height: ${i.sp3};
|
|
159
|
+
cursor: ${e=>e.$isDisabled===!0?"not-allowed":"pointer"};
|
|
160
|
+
color: ${e=>e.$isDisabled===!0?e.theme.colors.grey2:e.theme.colors.hero};
|
|
161
|
+
pointer-events: ${e=>e.$isDisabled===!0?"none":"auto"};
|
|
162
|
+
&:hover {
|
|
163
|
+
color: ${e=>e.$isDisabled===!0?e.theme.colors.grey2:e.theme.colors.primary};
|
|
164
|
+
}
|
|
165
|
+
`,he=o(Q)`
|
|
166
|
+
width: ${i.sp4};
|
|
167
|
+
height: ${i.sp4};
|
|
168
|
+
color: ${e=>e.theme.colors.hero};
|
|
169
|
+
`,C=o.span`
|
|
170
|
+
color: ${e=>e.theme.colors.hero};
|
|
171
|
+
`,A=o.div`
|
|
172
|
+
display: inherit;
|
|
173
|
+
gap: inherit;
|
|
174
|
+
`,L=o.span`
|
|
175
|
+
${e=>`${N.amount.style(e.windowSize)}`};
|
|
176
|
+
color: ${e=>e.theme.colors.primary};
|
|
177
|
+
word-break: break-word;
|
|
178
|
+
`,b={width:new r(343,580,726),titleWidth:new r(343,580,780),addApprovalGap:new r(6,l[2]),subTitlePaddingTop:new r(12,l[3]),subTitlePaddingBottom:new r(28,l[7])},Be=({approvalView:e,onBackClick:d,onEditRuleClick:w,onDeleteRuleClick:c})=>{const f=W(),{fetchState:x,deleteStatus:v}=e,h=S.getLocalizedStrings().commonSetUp.approval,n=S.getLocalizedStrings().spendManagement.billPay.billPayApproval,m=v.fetchState,$=e.listeningToPusherEvent;return t.jsxs(me,{children:[t.jsx(F,{title:h.approvalPageHeader,style:{zIndex:4},onBackClick:()=>{d()},source:"BillPayApprovalRulesPage"}),t.jsxs(ge,{children:[t.jsx(xe,{windowSize:f,children:n.approvalPageSubTitle}),x==="In-Progress"||x==="Not-Started"||m==="In-Progress"?t.jsx(we,{children:t.jsx(G,{size:"ExtraLarge",start:!0})}):x==="Completed"?t.jsxs(t.Fragment,{children:[e.allApprovalRules.map((g,a)=>t.jsx(te,{showDeleteBtn:a!==0,disableButtons:$===!0&&g.approvalRuleId===e.newApprovalRuleId,approvalRule:g,isLastSection:a===e.allApprovalRules.length-1,onEditRuleClick:w,onDeleteRuleClick:c},g.approvalRuleId)),t.jsxs($e,{windowSize:f,onClick:()=>{w()},"data-testid":y("add-approval-rule-bill-pay"),children:[t.jsx(ye,{}),t.jsx(be,{children:h.addApprovalText})]})]}):null]})]})},me=o.div`
|
|
179
|
+
display: flex;
|
|
180
|
+
min-height: 100%;
|
|
181
|
+
flex-direction: column;
|
|
182
|
+
width: 100%;
|
|
183
|
+
background-color: ${e=>e.theme.colors.grey4};
|
|
184
|
+
`,ge=o.div`
|
|
185
|
+
display: flex;
|
|
186
|
+
justify-content: flex-start;
|
|
187
|
+
height: 100%;
|
|
188
|
+
overflow-y: auto;
|
|
189
|
+
flex-direction: column;
|
|
190
|
+
align-items: center;
|
|
191
|
+
`,we=o.div`
|
|
192
|
+
display: flex;
|
|
193
|
+
width: 100%;
|
|
194
|
+
min-height: calc(100vh - 150px);
|
|
195
|
+
flex-direction: column;
|
|
196
|
+
justify-content: center;
|
|
197
|
+
align-items: center;
|
|
198
|
+
gap: ${i.sp3};
|
|
199
|
+
background-color: ${e=>e.theme.colors.grey4};
|
|
200
|
+
`,xe=o(M)`
|
|
201
|
+
color: ${e=>e.theme.colors.hero};
|
|
202
|
+
display: flex;
|
|
203
|
+
justify-content: center;
|
|
204
|
+
width: ${e=>b.titleWidth.valuePx(e.windowSize)};
|
|
205
|
+
padding-top: ${e=>b.subTitlePaddingTop.valuePx(e.windowSize)};
|
|
206
|
+
padding-bottom: ${e=>b.subTitlePaddingBottom.valuePx(e.windowSize)};
|
|
207
|
+
`,$e=o(M)`
|
|
208
|
+
cursor: pointer;
|
|
209
|
+
display: flex;
|
|
210
|
+
flex-direction: row;
|
|
211
|
+
justify-content: center;
|
|
212
|
+
align-items: center;
|
|
213
|
+
padding: ${i.sp3} ${i.sp4};
|
|
214
|
+
gap: ${e=>b.addApprovalGap.valuePx(e.windowSize)};
|
|
215
|
+
|
|
216
|
+
width: ${e=>b.width.valuePx(e.windowSize)};
|
|
217
|
+
height: ${i.sp8};
|
|
218
|
+
|
|
219
|
+
background: ${e=>e.theme.colors.grey5};
|
|
220
|
+
|
|
221
|
+
border: 1px solid ${e=>e.theme.colors.grey3};
|
|
222
|
+
|
|
223
|
+
box-shadow: ${e=>`${i.sp0} 2px ${i.sp1}
|
|
224
|
+
${e.theme.colors.dropShadowNormal}`};
|
|
225
|
+
border-radius: ${i.sp2};
|
|
226
|
+
box-sizing: border-box;
|
|
227
|
+
color: ${e=>e.theme.colors.hero};
|
|
228
|
+
&:hover {
|
|
229
|
+
color: ${e=>e.theme.colors.primary};
|
|
230
|
+
div {
|
|
231
|
+
color: ${e=>e.theme.colors.primary};
|
|
232
|
+
}
|
|
233
|
+
border-color: ${e=>e.theme.colors.primary};
|
|
234
|
+
}
|
|
235
|
+
margin-bottom: ${i.sp6};
|
|
236
|
+
`,ye=o(K)`
|
|
237
|
+
width: ${i.sp3};
|
|
238
|
+
height: ${i.sp3};
|
|
239
|
+
`,be=o.div`
|
|
240
|
+
color: ${e=>e.theme.colors.hero};
|
|
241
|
+
`;export{Be as default};
|
package/dist/assets/{BillPayPromoPage-DFXybg0r-EmP3q5ey.js → BillPayPromoPage-OYlocjA7-7DEWsR0V.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{aw as W,Q as j,aQ as Y,V as e,fr as ee,bB as ie,r as B,aP as C,ae as m,F as I,o as s,aq as se,M as le,g as M,aT as U,am as oe,y as re,p as $,cD as te,aU as ae,ba as ne,u as de}from"./index-
|
|
1
|
+
import{aw as W,Q as j,aQ as Y,V as e,fr as ee,bB as ie,r as B,aP as C,ae as m,F as I,o as s,aq as se,M as le,g as M,aT as U,am as oe,y as re,p as $,cD as te,aU as ae,ba as ne,u as de}from"./index-BhvUwV_v.js";import{a as g}from"./sentry-DgGQRl6g.js";import{n as l}from"./mui-DqYnCiYu.js";import{Fw as ce,bS as pe,Fx as me}from"./zeni-epic-state-WWg2r7iB.js";import{f as xe}from"./VideoPopup-D0XTfD6q-CZBktelE.js";import{M as b}from"./usp-line-BBd1wKwW-EmNWFdhU.js";import"./liveblocks-BqcT5iTZ.js";import"./core-B9Znwqny.js";import"./recharts-D7E0WJGk.js";import"./lottie-oQfNS8l-.js";import"./analytics-DO1unY4G.js";import"./lexical-DSIpBzCF.js";import"./utils-C_quS4m3.js";import"./VideoPlayer-_FcQClfH-cuN5RcOe.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]="84c08f7c-fedc-4bb6-bc2a-7ada5f93d8a6",i._sentryDebugIdIdentifier="sentry-dbid-84c08f7c-fedc-4bb6-bc2a-7ada5f93d8a6")}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 re(de[5],44)},ge=l.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex: 1 1 auto;
|
|
4
4
|
min-height: 100%;
|
package/dist/assets/{BillPaySetUpPage-CP6gsxaz-DzlSl5-b.js → BillPaySetUpPage-B8_IEgff-CAWPUMJX.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{g as De,Q as $e,aQ as F,a9 as Oe,cE as Re,F as Ue,aV as X,V as t,f9 as He,p as ze,aP as Le,y as u,bB as Ne,T as qe,ac as Me,fs as H,dO as Ge,ft as Je,bw as Qe,dE as Ze,bS as Xe,fu as Ye,aR as Ke,o as L,fv as et,u as a,al as tt,bJ as it}from"./index-
|
|
1
|
+
import{g as De,Q as $e,aQ as F,a9 as Oe,cE as Re,F as Ue,aV as X,V as t,f9 as He,p as ze,aP as Le,y as u,bB as Ne,T as qe,ac as Me,fs as H,dO as Ge,ft as Je,bw as Qe,dE as Ze,bS as Xe,fu as Ye,aR as Ke,o as L,fv as et,u as a,al as tt,bJ as it}from"./index-BhvUwV_v.js";import{a as m}from"./sentry-DgGQRl6g.js";import{n as b}from"./mui-DqYnCiYu.js";import{bJ as nt}from"./zeni-epic-state-WWg2r7iB.js";import{g as ot}from"./UploadAdditionalDocumentOverlay-CBg0WhaZ-C_8-7GFi.js";import"./liveblocks-BqcT5iTZ.js";import"./core-B9Znwqny.js";import"./recharts-D7E0WJGk.js";import"./lottie-oQfNS8l-.js";import"./analytics-DO1unY4G.js";import"./lexical-DSIpBzCF.js";import"./utils-C_quS4m3.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},p=new e.Error().stack;p&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[p]="76f23561-b456-4d1b-a325-2d7037e87bf5",e._sentryDebugIdIdentifier="sentry-dbid-76f23561-b456-4d1b-a325-2d7037e87bf5")}catch{}})();const n={titleWidth:new u(343,580,726,826),setupDetailsRowGap:new u(12,a[5],a[5]),sectionRowGap:new u(a[5],a[9],a[9]),lastSectionPaddingBottom:new u(a[7],a[10],a[10]),iconWidthHeight:new u(20,a[4]),subTitlePaddingTop:new u(12,a[3]),subTitlePaddingBottom:new u(a[3],a[3]),overlayWidth:new u(100,100,59)},Y="billPaySetUpPage",W="billPayAccount",Ct=({billPaySetupView:e,isDisabled:p,billpayApprovalView:v,meetingUrl:C,showIntlWiseWidget:c,connectedAccountProvider:ee,isAccountsEnabled:te,isLocalCurrencyEnabled:ie,analytics:y,filesEndPoint:ne,authParams:oe,accountsPromoConfig:ae,onBackClick:le,onBusinessVerificationSectionClick:se,onSetupApprovalRulesSectionClick:ce,onFetchLinkTokenClick:de,onEstablishConnectionClick:re,onEstablishConnectionSuccess:ue,onUpdatePrimaryFundingAccount:pe,onUpdateAccountClick:fe,onUpdatePaymentAccountStatus:he,onUpdatePaymentAccountLoginStatus:ge,onEnableBillPayClick:me,onEnableBillPaySuccess:N,onClickMenuIcon:be,onInternationPaymentSetUpClick:ye,onEditFileName:Se,onDeleteFile:Pe,updateFilesEntity:we,onCompanyOfficerUpdated:xe,onSendForVerificationClick:ve,onSignUpClick:Ce})=>{const k=De(),i=$e(),[A,S]=m.useState(!1),q=m.useRef(null),{fetchState:f,updateStatus:P,accountUpdateStatus:ke,plaidConnectionDetails:_,allBankAccounts:Ae,companyBillPayInfo:T,isRefreshingViewInBackground:Te,selectedCompanyOfficer:s,primaryFundingAccount:d,allFundingAccounts:M}=e,h=T?.internationalWireOnboardingStatus,I=h==null||h.code==="onboarding_status_not_started",{fetchState:G,allApprovalRules:V,approvalRulesStatus:Ie}=v,D=_.link_account.updateStatus,$=_.update_account.updateStatus,B=F(f),J=F(P.fetchState),Q=F(D.fetchState),Z=F($.fetchState),w=Oe({mode:"all",reValidateMode:"onChange",defaultValues:m.useMemo(()=>z(e),[e]),values:z(e)});m.useEffect(()=>{!A&&s?.additionalDocumentTypesRequestedForVerification.includes("social_security_card")===!0&&s.areAdditionalDocumentsRequestedForVerification&&!s.areAdditionalDocumentsSubmittedForVerification&&s.userVerificationStatus?.code==="require_info"&&S(!0),A&&B==="In-Progress"&&f==="Completed"&&S(!1)},[s,f,B]),m.useEffect(()=>{(B==="In-Progress"&&f==="Completed"||Q==="In-Progress"&&D.fetchState==="Completed"||Z==="In-Progress"&&$.fetchState==="Completed")&&w.reset(z(e))},[B,f,w,e,Q,D.fetchState,Z,$.fetchState]);const Ve=w.handleSubmit(x=>{y.trackEnableBillPay(),me()}),Be=async(x,E)=>{const o=E[W];if(x.includes(W)){if(x.includes("fundingAccount")){if(o.fundingAccount.selectedOption!=null&&d?.id!=o.fundingAccount.selectedOption){const g=M.find(U=>U.id===o.fundingAccount.selectedOption);g!=null&&pe(o.fundingAccount.selectedOption,g.accType)}}else if(o.account.selectedOption!=null&&d?.id!=null&&d?.zeniAccountId!=o.account.selectedOption){const g=o.account.allOptions.find(U=>U.value===o.account.selectedOption);g!=null&&typeof g.label=="string"&&y.trackConnectBankLink(g.value,g.label,"bill_pay"),fe(o.account.selectedOption,d.id,d.accType)}}};m.useEffect(()=>{const x=w.watch((E,{name:o})=>{o!=null&&E!=null&&Re(()=>Be(o,E))});return()=>{x.unsubscribe()}}),m.useEffect(()=>{J==="In-Progress"&&P.fetchState==="Completed"&&N()},[N,J,P.fetchState]);const{commonSetUp:je,spendManagement:Ee}=Ue.getLocalizedStrings(),{setUp:r}=je,{billPaySetup:l}=Ee.billPay,O=T?.isBusinessVerified===!0&&(d?.accType==="depositAccount"||nt(d?.providerVerificationStatus?.code??"")),R=T?.isBillPayEnabled===!0,Fe=O?r.setupVerifiedSubTitle:l.setupSubTitle,We=f==="In-Progress"||f==="Not-Started"||G==="In-Progress"||G==="Not-Started",j=k.mode==="light"?new X(k.colors.brandColorJadeLight):new X(k.colors.brandColorJadeDark),_e=()=>{!A&&s?.additionalDocumentTypesRequestedForVerification.includes("social_security_card")===!0&&s.areAdditionalDocumentsRequestedForVerification&&!s.areAdditionalDocumentsSubmittedForVerification&&s.userVerificationStatus?.code==="require_info"?S(!0):se?.()};return t.jsxs(lt,{ref:q,children:[t.jsx(He,{anchor:"right",PaperProps:{style:{width:n.overlayWidth.valuePercentage(i),boxShadow:"none"}},open:A,onClose:()=>S(!1),style:{backgroundColor:ze.drawerBackground},transitionDuration:250,"data-testid":Le("bill-pay-setup-drawer"),children:t.jsx(ot,{authParams:oe,filesEndPoint:ne,updateStatus:P,onEditFileName:Se,onDeleteFile:Pe,updateFilesEntity:we,companyOfficer:s,onClose:()=>S(!1),onCompanyOfficerUpdated:xe,onSendForVerificationClick:ve})}),t.jsx(Ne,{title:l.setupTitle,style:{zIndex:3},onBackClick:le,showMenuIcon:!R&&(i==="medium-compact"||i==="small"),onClickMenuIcon:be,scrollableContent:q,backgroundColor:k.colors.grey4,source:"BillPaySetUpPage"}),t.jsxs(dt,{windowSize:i,children:[t.jsx(ct,{windowSize:i,children:Fe}),We?t.jsx(rt,{children:t.jsx(qe,{size:"ExtraLarge",start:!0})}):t.jsxs(at,{children:[t.jsx(Me,{...w,children:t.jsx("form",{id:K(Y),onSubmit:Ve,children:t.jsxs(ut,{windowSize:i,children:[t.jsx(H,{onClick:_e,title:r.businessVerificationTitle,subTitle:r.businessVerificationSubTitle,header:r.businessVerificationHeader,icon:{element:t.jsx(Ge,{width:n.iconWidthHeight.valuePx(i),height:n.iconWidthHeight.valuePx(i)}),color:j},status:T?.businessVerificationStatus,isLoading:Te,isActiveWhileLoading:!0}),t.jsx(Je,{connectedAccountProvider:ee,primaryFundingAccount:d,allFundingAccounts:M,plaidConnectionDetails:_,allBankAccounts:Ae,sectionId:W,isDisabled:p,onFetchLinkTokenClick:de,onEstablishConnectionClick:re,onUpdatePaymentAccountStatus:he,onUpdatePaymentAccountLoginStatus:ge,onEstablishConnectionSuccess:ue,icon:{element:t.jsx(Qe,{width:n.iconWidthHeight.valuePx(i),height:n.iconWidthHeight.valuePx(i)}),color:j},analytics:y,productType:"bill_pay",isAccountsEnabled:te,onSignUpClick:Ce,pageName:"Bill Pay Setup",accountsPromoConfig:ae}),t.jsx(H,{title:V.length>0?r.approvalTitle:r.createApprovalTitle,subTitle:l.approvalSubTitle,header:V.length>0?r.approvalHeader:r.setupApprovalHeader,icon:{element:t.jsx(Ze,{width:n.iconWidthHeight.valuePx(i),height:n.iconWidthHeight.valuePx(i)}),color:j},style:{paddingBottom:n.lastSectionPaddingBottom.valuePx(i)},onClick:ce,status:V.length>0?Ie:void 0})]})})}),c===!0?t.jsx(H,{title:I?l.enableInternationalWireTitle:l.internationWireTitle,subTitle:l.internationalWireSubTitle2,header:l.internationalWireHeader,icon:{element:t.jsx(Ye,{width:n.iconWidthHeight.valuePx(i),height:n.iconWidthHeight.valuePx(i)}),color:j},style:{paddingBottom:n.lastSectionPaddingBottom.valuePx(i)},isClickable:!0,onClick:()=>{I&&y.trackEnableIntlWire(ie),ye?.()},status:I?void 0:{name:h.name,code:h.code},statusInfoIcon:h?.code==="verification_pending"||h?.code==="verification_failed"?t.jsx(Xe,{title:h.code==="verification_pending"?l.tooltipTexts.pendingInternationalVerificationText:l.tooltipTexts.internationalVerificationFailed,children:t.jsx(st,{})}):void 0,shouldHover:!0,showRightArrow:I}):null]})]}),O&&!R&&V.length>0?t.jsx(Ke,{formId:K(Y),primaryBtn:{label:l.enableBillPay,style:{width:"auto",minWidth:i==="small"?"auto":"181px"},isLoading:P.fetchState==="In-Progress"||ke.fetchState==="In-Progress",isDisabled:p!=null},showCancel:!1,helperText:l.terms,cancelBtn:{label:""},style:{padding:`12px ${L.sp3}`}}):null,t.jsx(et,{isFooterRendered:O&&!R,meetingUrl:C,analytics:y,productType:"bill_pay"})]})},at=b.div``,lt=b.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
min-height: 100%;
|
|
4
4
|
flex-direction: column;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{g as we,Q as be,a9 as Ce,cE as Pe,aV as j,F as xe,V as t,y as P,bB as Ie,T as Ae,ac as ve,bw as ke,cF as je,aR as Te,o as s,hK as $e,eX as Ve,eY as Be,u as x,al as De,gT as Ee,p as ze,a as Le}from"./index-
|
|
1
|
+
import{g as we,Q as be,a9 as Ce,cE as Pe,aV as j,F as xe,V as t,y as P,bB as Ie,T as Ae,ac as ve,bw as ke,cF as je,aR as Te,o as s,hK as $e,eX as Ve,eY as Be,u as x,al as De,gT as Ee,p as ze,a as Le}from"./index-BhvUwV_v.js";import{a as F}from"./sentry-DgGQRl6g.js";import{n as r}from"./mui-DqYnCiYu.js";import{M as Oe,o as R,t as Me}from"./PaymentAccountSetupBillingAddressSection-DtOeyTmL-DXDwBnq6.js";import{F as _e}from"./SetUpAccountSection-DOvqcC8t-DxYvNTsg.js";import"./liveblocks-BqcT5iTZ.js";import"./core-B9Znwqny.js";import"./recharts-D7E0WJGk.js";import"./zeni-epic-state-WWg2r7iB.js";import"./lottie-oQfNS8l-.js";import"./analytics-DO1unY4G.js";import"./lexical-DSIpBzCF.js";import"./utils-C_quS4m3.js";import"./commonTypes-9h2Y-L4i-CJG-nO2R.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]="65daaf03-7944-4715-9830-91898a6737c4",e._sentryDebugIdIdentifier="sentry-dbid-65daaf03-7944-4715-9830-91898a6737c4")}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])},Fe={title:new Le("standardSemiBold","largeSemiBold")},W="billingSetupPage",I="payAccountSectionId",n="subscriptionBillingAddressSectionId",ct=({analytics:e,billingSetupView:i,connectedAccountProvider:m,isDisabled:d,onClickMenuIcon:A,uiState:K,stripeKey:N,googleAPIKey:q,companyId:G,onUpdateAccountClick:J,onFetchLinkTokenClick:Q,onUpdatePaymentAccountStatus:X,onUpdatePaymentAccountLoginStatus:Y,onEstablishConnectionClick:Z,onEstablishConnectionSuccess:ee,handleCreateCardSetupIntent:te,handleConfirmCardSetupIntent:ne,updateCardPaymentModalState:T,handleAddCardPaymentSource:ie,resetCardPaymentViewState:oe,handleResetCardPaymentErrorStatuses:ae,onBillingAddressSave:se,onAddressEditHandler:re})=>{const b=we(),o=be(),{setupView:{paymentAccount:y,plaidConnectionDetails:de,allBankAccounts:le,accountFetchStatus:$},cardPaymentView:h}=i,ce=i.subscriptionBillingAddress,V=y?.providerVerificationStatus,ue=$.fetchState==="In-Progress"||$.fetchState==="Not-Started",f=Ce({mode:"onSubmit",reValidateMode:"onChange",defaultValues:H(i),values:H(i),resetOptions:{keepDirtyValues:!0}}),pe=f.handleSubmit(c=>{se(G)}),B=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:w}=a[n].street,k=Ve(w?.country);u={street:a[n].street??l.strings.empty,city:w?.locality??l.strings.empty,state:w?.administrativeAreaLevel1??l.strings.empty,country:k,countryCode:w?.countryCode??l.strings.empty,postalCode:w?.postalCode??l.strings.empty,secondaryInfo:a[n].secondaryInfo,suite:a[n].suite},v.selectedOption!==k.selectedOption&&(u={...u,country:k})}else c===`${n}.country`&&v.selectedOption!=null&&(u={...u,countryCode:Be(v.selectedOption)});u!=null&&re(u)}else c.includes(I)&&g.account.selectedOption!=null&&y?.paymentAccountId!=null&&y.zeniAccountId!==g.account.selectedOption&&J(g.account.selectedOption,y.paymentAccountId)};F.useEffect(()=>{const c=f.watch((a,{name:g})=>{g!=null&&a!=null&&Pe(()=>me(g,a))});return()=>{c.unsubscribe()}});const D=b.mode==="light"?new j(b.colors.brandColorJadeLight):new j(b.colors.brandColorJadeDark),{customerOnboardingPage:{sections:{link_payment_account:he,card_payment_method:S}},common:l,billingSetupPage:E}=xe.getLocalizedStrings(),ge=E.section.subTitle,{text:ye,subText:fe}=he,z=h.cardsList.length>0,L=h?.cardsList[0]?.brand??"other",O=h?.addCardPaymentSourceStatus.fetchState,C=Oe(S.header,S.titleText,S.protectedCardNo,h);let M;z&&(M={header:C.header,title:C.title,subtitle:C.subtitle,status:C.status==="valid"?{name:"Verified",code:"verified"}:{name:"Pending",code:"pending"},showAddPaymentMethodDropDown:z===!0,icon:{element:t.jsx("img",{src:R(L).iconURL,width:p.iconWidthHeight.valuePx(o),height:p.iconWidthHeight.valuePx(o),alt:R(L).name}),color:new j(D)},showCompletedIcon:!1,isError:O==="Error",isLoading:O==="In-Progress",isCompleted:!0,showRightArrow:!1});const[_,Se]=F.useState(!1);return t.jsxs(We,{children:[t.jsx(Ie,{source:"BillingSettingsPage",title:E.section.title,backgroundColor:b.colors.grey4,style:{zIndex:3},showBackButton:!1,showMenuIcon:o==="medium-compact"||o==="small",onClickMenuIcon:A}),t.jsxs(Re,{windowSize:o,children:[t.jsx(He,{windowSize:o,children:ge}),ue?t.jsx(Ue,{children:t.jsx(Ae,{size:"ExtraLarge",start:!0})}):t.jsx(ve,{...f,children:t.jsx(Je,{children:t.jsx("form",{id:U(W),onSubmit:pe,children:t.jsxs(Ke,{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:Q,onEstablishConnectionClick:Z,onUpdatePaymentAccountStatus:X,onUpdatePaymentAccountLoginStatus:Y,onEstablishConnectionSuccess:ee,isError:V?.code==="require_info"||V?.code==="failed",icon:{element:t.jsx(ke,{width:p.iconWidthHeight.valuePx(o),height:p.iconWidthHeight.valuePx(o)}),color:D},analytics:e,productType:"billing",updateCardPaymentModalState:T,cardPaymentSectionValues:M,cardPaymentView:h,resetCardPaymentViewState:oe,showZeniAccountSection:!1,referrer:"Billing",cardSetupInProgress:_}),Ne(o,l.headers.billingAddress,ce,q,d)]})})})}),je(f.formState.dirtyFields)?t.jsx(Te,{formId:U(W),style:{width:o==="small"?"auto":"100%",paddingTop:s.sp2,paddingBottom:s.sp2,height:s.sp8},primaryBtn:{label:l.footer.save,isLoading:B?.fetchState==="In-Progress",isDisabled:B?.fetchState==="In-Progress",style:{height:s.sp6}},showCancel:!1,containerStyle:{width:"auto",justifyContent:"center"}}):null]}),t.jsx(Me,{handleConfirmCardSetupIntent:ne,updateCardPaymentModalState:T,handleCreateCardSetupIntent:te,handleAddCardPaymentSource:ie,cardPaymentView:h,isCardPaymentOpen:K.isCardPaymentPopupOpen,handleResetCardPaymentErrorStatuses:ae,stripeKey:N,cardSetupInProgress:_,setCardSetupInProgress:Se})]})},H=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]:$e(n,e.subscriptionBillingAddress)[n]}},Re=r.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
justify-content: space-between;
|
|
4
4
|
height: 100%;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{V as b,co as V,cp as q,cq as M,k6 as W,aY as Y,F as z}from"./index-
|
|
1
|
+
import{V as b,co as V,cp as q,cq as M,k6 as W,aY as Y,F as z}from"./index-BhvUwV_v.js";import{a as f}from"./sentry-DgGQRl6g.js";import{Gd as G}from"./zeni-epic-state-WWg2r7iB.js";import{p as J}from"./ReviewOverlay-BNnNWFdW-Dc8TbL95.js";import"./liveblocks-BqcT5iTZ.js";import"./core-B9Znwqny.js";import"./recharts-D7E0WJGk.js";import"./mui-DqYnCiYu.js";import"./lottie-oQfNS8l-.js";import"./analytics-DO1unY4G.js";import"./lexical-DSIpBzCF.js";import"./utils-C_quS4m3.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]="dcb903cd-31d7-42fb-8d23-f9b4aacf153e",e._sentryDebugIdIdentifier="sentry-dbid-dcb903cd-31d7-42fb-8d23-f9b4aacf153e")}catch{}})();const{common:s,spendManagement:{billPay:I}}=z.getLocalizedStrings(),o=I.bulkActions;let x;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),[n,v]=f.useState(T(e,u)),[p,k]=f.useState(u),[B,E]=f.useState(0),[y,j]=f.useState({type:"",title:"",description:"",primaryButtonText:"",secondaryButtonText:""});f.useEffect(()=>(u&&(x=setInterval(()=>{v(d=>d.map((S,O)=>(clearInterval(x),O===B?{...S,reviewStatus:{isLoading:!1,code:"valid"}}:S))),E(d=>d+1)},1e3)),B===n.length&&p&&(k(!1),clearInterval(x)),!u&&e.fetchState==="Completed"&&v(T(e,!1)),()=>{clearInterval(x)}),[n.length,B,p,e.fetchState,u,e]);const R=n.length,h=n.filter(d=>d.reviewStatus.code!=="error").length,D=()=>{const{title:d,description:S}=Z(h);j({type:"reject",title:d,description:S,primaryButtonText:s.texts.confirm,secondaryButtonText:s.texts.close}),r.trackBillPayBulkSubmit(i,g,_),w(!0)},F={onOkClick:d=>{w(!1),r.trackBillPayBulkPopupConfirm(i,g,_,X(e)),l("reject",d)},onCancelClick:()=>{w(!1)}},{title:N,description:A}=H(m,h,R,p),P=e.fetchState==="Completed"&&h===0,$=()=>{r.trackBillPayBulkSubmit(i,g,_),l(i)},U={label:P?s.texts.close:i==="send_for_approval"?s.footer.submit:s.footer.approve,isDisabled:m!=="Completed"||i==="reject"&&a==="In-Progress",isLoading:a==="In-Progress"&&(i==="send_for_approval"||i==="approve"),onClick:P?c:$,style:i==="send_for_approval"?{minWidth:"92px"}:{}},L={label:i==="send_for_approval"?s.texts.goBack:s.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(M,{children:y.title}),descriptionComponent:b.jsx(q,{children:y.description}),primaryButtonText:y.primaryButtonText,proceedButtonVariant:"danger",secondaryButtonText:y.secondaryButtonText,action:F,isNotesIncluded:!0,isEditPopup:!0}):null,b.jsx(J,{title:N,description:{content:A,isError:e.fetchState==="Completed"&&h===0},reviewItems:n,onCloseReviewItem:t,onCloseOverlay:c,showFooter:e.fetchState==="Completed"&&!p,footerProps:{primaryButton:U,cancelButton:L,hideCancel:P}})]})},T=(e,r)=>{const l=e.fetchState==="In-Progress";return e.billsForReview.map(t=>({id:t.transactionId,leftSideText:{title:t.vendorName?t.vendorName:I.billDetails.newBillTitle,subTitle:`${I.billDetails.invoiceNo} ${t.invoiceNumber?t.invoiceNumber:s.strings.hyphen}`},rightSideText:{title:Y("0,0.[00]",t.amount?.amount,t.amount?.currencySymbol),showThunderIcon:t.reviewErrors?.length===1&&G(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??""}}))},X=e=>{const r=e.billsForReview;let l=[];return r.forEach(t=>{l=W([...l,t.isRecurring?"recurring":"one-time"])}),l},Z=e=>{const{this_:r,these:l,bill:t,bills:c,payment:m,payments:a}=s.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)}},H=(e,r,l,t)=>{const{has:c,have:m,bill:a,bills:i,are:g,is:_,do_:u,does:C}=s.texts,w=r>1,n=l>1;let v="",p="";return e==="Completed"&&!t?(v=o.reviewPage.billsReviewed.title.replace("<_bill_>",n?I.bulkActions.bills:o.bill).replace("<_has_>",n?m:c),r===0?p=o.reviewPage.billsReviewed.descriptionError.replace("<_bill_>",n?i:a).replace("<_do_>",n?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_>",n?i:a),p=o.reviewPage.billsReviewing.description.replace("<_bill_>",n?i:a)),{title:v,description:p}},K=(e,r)=>{if(r?.length!=null){if(r.length>1)return r.join(` ${s.strings.dividerDot} `);if(r.length===1)return e?r[0]+`${s.strings.colon} ${o.reviewPage.removeOrProceed}`:r[0]}return""};export{de as default,X as getBillsUniqueType};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import{Q as
|
|
1
|
+
import{Q as p,V as s,aP as b,o as e}from"./index-BhvUwV_v.js";import{n}from"./mui-DqYnCiYu.js";import{o as a}from"./commonDimensions-CtIrih5r-CfslRtQI.js";(function(){try{var o=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},r=new o.Error().stack;r&&(o._sentryDebugIds=o._sentryDebugIds||{},o._sentryDebugIds[r]="c8119c2c-d75f-45dc-8177-0d9d4f64e585",o._sentryDebugIdIdentifier="sentry-dbid-c8119c2c-d75f-45dc-8177-0d9d4f64e585")}catch{}})();const m=(o,r)=>r===1?"roundedBox":o===0?"topRoundedBox":o===r-1?"bottomRoundedBox":"box";function g({content:o,boxType:r,isDisabled:d=!1,isNotClickable:t=!1}){const i=p();switch(r??"roundedBox"){case"topRoundedBox":return s.jsx(h,{isDisabled:d,windowSize:i,hideCursor:t,"data-testid":b("top-rounded-box",r),children:o});case"bottomRoundedBox":return s.jsx(u,{isDisabled:d,windowSize:i,hideCursor:t,"data-testid":b("bottom-rounded-box",r),children:o});case"box":return s.jsx(x,{isDisabled:d,windowSize:i,hideCursor:t,"data-testid":b("box",r),children:o});case"roundedBox":return s.jsx(l,{isDisabled:d,windowSize:i,hideCursor:t,"data-testid":b("rounded-box",r),children:o})}}const l=n.div`
|
|
2
2
|
box-sizing: border-box;
|
|
3
3
|
cursor: ${o=>o.isDisabled||o.hideCursor===!0?"default":"pointer"};
|
|
4
|
-
min-height: ${o=>
|
|
4
|
+
min-height: ${o=>a.transactionItemHeightResponsive.valuePx(o.windowSize)};
|
|
5
5
|
display: flex;
|
|
6
6
|
border: 1px solid;
|
|
7
7
|
border-radius: ${e.sp2};
|
|
@@ -12,7 +12,7 @@ import{Q as l,V as s,aP as b,o as e}from"./index-CbMlqZJL.js";import{n as a}from
|
|
|
12
12
|
border-color: ${o=>o.isDisabled?o.theme.colors.grey3:o.theme.colors.primary};
|
|
13
13
|
color: ${o=>o.isDisabled?o.theme.colors.hero:o.theme.colors.primary};
|
|
14
14
|
}
|
|
15
|
-
`,h=
|
|
15
|
+
`,h=n(l)`
|
|
16
16
|
display: flex;
|
|
17
17
|
border-top-width: 1px;
|
|
18
18
|
border-right-width: 1px;
|
|
@@ -26,7 +26,7 @@ import{Q as l,V as s,aP as b,o as e}from"./index-CbMlqZJL.js";import{n as a}from
|
|
|
26
26
|
&:hover {
|
|
27
27
|
border-bottom-width: 1px;
|
|
28
28
|
}
|
|
29
|
-
`,u=
|
|
29
|
+
`,u=n(l)`
|
|
30
30
|
display: flex;
|
|
31
31
|
border-top-width: 0.5px;
|
|
32
32
|
border-right-width: 1px;
|
|
@@ -39,7 +39,7 @@ import{Q as l,V as s,aP as b,o as e}from"./index-CbMlqZJL.js";import{n as a}from
|
|
|
39
39
|
&:hover {
|
|
40
40
|
border-top-width: 1px;
|
|
41
41
|
}
|
|
42
|
-
`,x=
|
|
42
|
+
`,x=n(l)`
|
|
43
43
|
display: flex;
|
|
44
44
|
border-radius: ${e.sp0};
|
|
45
45
|
border-top-width: 0.5px;
|