@zeniai/web-cockpit-ui 1.14.58-qa → 1.14.59-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-DzIkTxTe-szY0ZmSw.js → ACHDetailsPage-Dh-9B-tS-BKldvbI-.js} +1 -1
- package/dist/assets/{AIPerformancePage-DcSfABe8-aip8cm7a.js → AIPerformancePage-BXVWoVop-BDz2sJSr.js} +1 -1
- package/dist/assets/{AccountInfoPage-DKZf9iEj-BWYLGbNJ.js → AccountInfoPage-DQaAqqov-zqBvvgmh.js} +1 -1
- package/dist/assets/{AccountInfoPageContent-Z1na4dJy-LKHjtXPv.js → AccountInfoPageContent-CpnCTuuB-D1N9AAbn.js} +1 -1
- package/dist/assets/{AccountLockedInfoModal-4c3W-zeE-COIlptNP.js → AccountLockedInfoModal-DkfP7Aw7-DxqMYMO2.js} +1 -1
- package/dist/assets/{AccountReconDetailsDrawerPage-C5vlTGj8-DGLOEb2a.js → AccountReconDetailsDrawerPage-D4wc6twC-DYJu-DGm.js} +1 -1
- package/dist/assets/{AccountRow-3d9RsrK--CzSmDsqS.js → AccountRow-CrG8EbbJ-C5c4hS7Z.js} +1 -1
- package/dist/assets/{AccountsPromoCardStack-CebFf63k-MO4-ur9l.js → AccountsPromoCardStack-BJPtx2Pe-BrO3SurU.js} +1 -1
- package/dist/assets/{AddAddressForCardDrawer-CUUW8OmY-WtojkQYs.js → AddAddressForCardDrawer-DdNhdiuv-DR_rGPF5.js} +1 -1
- package/dist/assets/{AddToWalletPage-C-7QiNhe-BBaNm0hV.js → AddToWalletPage-DhYdz5U2-CBBekvlG.js} +1 -1
- package/dist/assets/{AgingReportsPage-BDNPqEUA-CFmHoT7t.js → AgingReportsPage-D42GrcOf-CoErzTcB.js} +1 -1
- package/dist/assets/{AllUserItems-q1-exTg0-C-vzW5ZK.js → AllUserItems-vKh3Mm2X-BwTySL_M.js} +1 -1
- package/dist/assets/{ApAgingDetailPage-Biqhlmi5-r_fB2Ah7.js → ApAgingDetailPage-CwPtOern-CdQtrx1v.js} +1 -1
- package/dist/assets/{AppBasePage-OcF9VjD2-B4E_fdOu.js → AppBasePage-DOG_AFC0-CUT3wwJW.js} +1 -1
- package/dist/assets/{AppDrawerContent-Bvp-m86Z-BCjt1uzD.js → AppDrawerContent-BxOuACFq-BY_Wi0pb.js} +1 -1
- package/dist/assets/{ApprovalRulesSettingsPage-DoU4XLU1-CtvRd_j4.js → ApprovalRulesSettingsPage-C_Op8xKo-YAo6-Sxl.js} +1 -1
- package/dist/assets/{ArAgingChart-Derurnjv-CgEJ1Uyl.js → ArAgingChart-DXEYzHyG-D0PB8GjF.js} +1 -1
- package/dist/assets/{ArAgingDetailPage-BANucXvz-BeAFS3t0.js → ArAgingDetailPage-Bc-KHlzV-ucTrDSe4.js} +1 -1
- package/dist/assets/{AttachmentView-DmZoR5fC-Cxq55CaJ.js → AttachmentView-D7RHXhJ5-BAAcjA-7.js} +1 -1
- package/dist/assets/{BankAccountSection-Cw7uDvEJ-DEZ19vJg.js → BankAccountSection-DC6iSj4R-BsAxAbXu.js} +1 -1
- package/dist/assets/{BankAccountWarningSection-ClNYTjN_-C0GUXdVn.js → BankAccountWarningSection-2lKoI5Zs-Dj_Poz3W.js} +1 -1
- package/dist/assets/{BankConnectionsSettingsPage-B48-v1cX-B87m3vQH.js → BankConnectionsSettingsPage-C8yHSddE-BPyE73uV.js} +1 -1
- package/dist/assets/{BillDetailPage-Dz1Us8Hp-CCHNGJZt.js → BillDetailPage-JnsrnTiI-CRxufuo7.js} +1 -1
- package/dist/assets/{BillPayApprovalRuleDetailPage-DJhSGn1E-DP-F92v0.js → BillPayApprovalRuleDetailPage-BUZRTI5I-CRkErJ6g.js} +1 -1
- package/dist/assets/{BillPayApprovalRulesPage-DZMg0cXF-DtQtvFNa.js → BillPayApprovalRulesPage-CLTcaidy-Bvnb2yJv.js} +1 -1
- package/dist/assets/{BillPayPromoPage-B0XdQSYS-C3p0-kIy.js → BillPayPromoPage-CkHwMvaQ-CwQAQZgp.js} +1 -1
- package/dist/assets/{BillPaySetUpPage-Ft2KuiQF-CK6xYLj1.js → BillPaySetUpPage-zJq3HkEC-bT_1YYhS.js} +1 -1
- package/dist/assets/{BillingSettingsPage-uQpN2px5-Yl2Cylds.js → BillingSettingsPage-DQKc4f6L-Bkf9rSRY.js} +1 -1
- package/dist/assets/{BillsBulkReviewDrawerPage-DBtKf5-t-DHZAPQFs.js → BillsBulkReviewDrawerPage-SpuBHxBw-BgFnsCSs.js} +1 -1
- package/dist/assets/{BoxItem-DR7ZjTUs-Dij4RmTj.js → BoxItem-Di-YXnG--cmTXxwxj.js} +1 -1
- package/dist/assets/BusinessVerificationPage-7EvtWjc2-CdOmJRrr.js +138 -0
- package/dist/assets/{CardNumberSubText-C1IwXiVs-Dqn3-4zM.js → CardNumberSubText-DzFn3_PZ-C9ZCSTzM.js} +1 -1
- package/dist/assets/{CashbackDetailPage-uh_slX-Q-CSlnj0Y7.js → CashbackDetailPage-CjQngqJh-CNd0id6g.js} +1 -1
- package/dist/assets/{ChargeCardDetailPage-DEsNdsI1-BXmIwZAL.js → ChargeCardDetailPage-RIKW8QpG-5zMhrBmS.js} +1 -1
- package/dist/assets/{ChargeCardListPage-BRErjFyU-DDFTxheC.js → ChargeCardListPage-BLscpHh2-CtC38uJe.js} +1 -1
- package/dist/assets/{ChargeCardListTable-3b_fwt_f-C0sFK40q.js → ChargeCardListTable-CWs0yRb7-CCfyCYfZ.js} +1 -1
- package/dist/assets/{ChargeCardPromoPage-Dn0omfoT-uDoVdr0U.js → ChargeCardPromoPage-DcSxmF13-B--2dn9Z.js} +1 -1
- package/dist/assets/{ChargeCardSetupPage-doVAo_Au-DdGCqluH.js → ChargeCardSetupPage-D7KYTRhl-BcT1JXlI.js} +1 -1
- package/dist/assets/{ChargeCardStatementsPage-DGOegtho-BgHIWvXY.js → ChargeCardStatementsPage-Dcp15xx_-BOrgAbrH.js} +1 -1
- package/dist/assets/{ChargeCardUtils-BlLiJhdJ-DMqoMM0H.js → ChargeCardUtils-CCCxZqkT-61TtCpjk.js} +1 -1
- package/dist/assets/{ChaseOverlay-DY7W-VhR-vZ_gPYHY.js → ChaseOverlay-Nom4V5v9-NN79_kIT.js} +1 -1
- package/dist/assets/{CheckDepositDrawerPage-CDelWBRG-B1k1OmWA.js → CheckDepositDrawerPage-CtWXEXK--BravvnwG.js} +1 -1
- package/dist/assets/{CollapsableReportTable-BEIzIiuS-DSPsVPW9.js → CollapsableReportTable-CfzLsUMN-BupSz6gn.js} +1 -1
- package/dist/assets/{CompanyOfficerDetailsSection-B5JwDvdV-DqnjkUNS.js → CompanyOfficerDetailsSection-CuRcAM-3-BHLJpVyH.js} +1 -1
- package/dist/assets/{CompanyPassportCard-BcnnhR8L-DtcG5160.js → CompanyPassportCard-D23lD2Qq-ByoYXAJb.js} +1 -1
- package/dist/assets/{CompanyPassportPage-Cjc8jDSu-B7YHMqiV.js → CompanyPassportPage-tteVIvVs-Dnqp0vpO.js} +1 -1
- package/dist/assets/{CompleteProfile-bOwTw1Lh-_7Yxh2zS.js → CompleteProfile-BkpO098y-ORcz2OsL.js} +1 -1
- package/dist/assets/{ConfettiBurst-w-1sEoT7-Cc6gVviT.js → ConfettiBurst-xzxQ6c8X-BoCLy-7Y.js} +1 -1
- package/dist/assets/{CreateOrEditVendorPage-B7_YMeTg-DI5Jb9Bn.js → CreateOrEditVendorPage-fv_bmvfi-CzsLkNiO.js} +1 -1
- package/dist/assets/{CreditCardPaymentDrawerPage-1CZyhIOU-DMxRxZoh.js → CreditCardPaymentDrawerPage-7fnYwExb-CgcY_sd_.js} +1 -1
- package/dist/assets/{CreditCardPaymentPlgSection-zy5jp8oZ-DwH8e2C-.js → CreditCardPaymentPlgSection-DthqKiKn-CaFdyplw.js} +1 -1
- package/dist/assets/{CurrencySelectField-DLcojhnq-LEdI6qEo.js → CurrencySelectField-DIdZl5cW-DZ4QIRLF.js} +1 -1
- package/dist/assets/{CustomerOnboardingActivationPage-DIwdLnW_-DZpcXe7V.js → CustomerOnboardingActivationPage-JhAaD-FC-CgaXelGg.js} +1 -1
- package/dist/assets/CustomerOnboardingContainerPage-BOI3JIGP-D4jiLFc2.js +1 -0
- package/dist/assets/{CustomerOnboardingDetailPageSkeleton-G6eM-LXh-Do2IIou-.js → CustomerOnboardingDetailPageSkeleton-D__ymliT-CIUKwMvS.js} +1 -1
- package/dist/assets/{CustomerOnboardingNoStepsPage-ZUm80ZnR-DMGMOEZ_.js → CustomerOnboardingNoStepsPage-CVere1yI-Dhi2fPd3.js} +1 -1
- package/dist/assets/{CustomerOnboardingPage-ap2hRZbg-Bo_Un-Di.js → CustomerOnboardingPage-WNQCQJ5n-CAH1yTcO.js} +1 -1
- package/dist/assets/{CustomerOnboardingProductSuitePage-JHpQNLLp-BUZQChoL.js → CustomerOnboardingProductSuitePage-CAJfbnLK-BfYQQwIw.js} +1 -1
- package/dist/assets/{Dashboard-BGw23hBU-B19g_awj.js → Dashboard-D0UMJmya-BczA5Giq.js} +1 -1
- package/dist/assets/{DashboardReportPage-DxQfaMpu-DYtlC0eo.js → DashboardReportPage-BCFw6ao6-D3KPXS3h.js} +1 -1
- package/dist/assets/{DashboardSidebarBackgroundAnimation-G2W4zpsl-MOmO21T6.js → DashboardSidebarBackgroundAnimation-DHkCvHUA-3uoAq2Nw.js} +1 -1
- package/dist/assets/{DepositAccTransactionItem-DMKKoFPE-CF64rSeT.js → DepositAccTransactionItem-d34JxwvA-xP5xNNeO.js} +1 -1
- package/dist/assets/{DepositAccTransactionListPage-P_jQozTg-3ZOulPIT.js → DepositAccTransactionListPage-D7gDhDY8-CbzNTNTF.js} +1 -1
- package/dist/assets/{DomesticWireDetailsPage-Cukq5TMS-ERF3exDh.js → DomesticWireDetailsPage-OrNehTKb-ZjH_fRSO.js} +1 -1
- package/dist/assets/{DownloadOverlay-0TBZx4M5-ByMEel37.js → DownloadOverlay-DaCUudXP-CVZNoWAL.js} +1 -1
- package/dist/assets/{DrawerPage-BCFgiTrx-VKGmyzQW.js → DrawerPage-CmSHpc-z-iSTxaMwa.js} +1 -1
- package/dist/assets/{EditPeoplePage-Bz6R4dHg-BTjQQhEC.js → EditPeoplePage-8KV3IPex-Bj4F00HM.js} +1 -1
- package/dist/assets/{EditReimbursementDetailPage-CpyYBV_p-DLjfVB1T.js → EditReimbursementDetailPage-CeB1Zddt-CX7-LisA.js} +1 -1
- package/dist/assets/{EntityDetailPage-B2zcu4ey-B4LA9yJE.js → EntityDetailPage-0gSd2S2a-Bk21CGEs.js} +1 -1
- package/dist/assets/{EntitySummarySection-D5aLYTXS-BkfRlv-0.js → EntitySummarySection-CDqJFGbo-C_BhPxVx.js} +1 -1
- package/dist/assets/{ExpenseAutomationOverviewPage-DOCWbVlk-DmyrxVBN.js → ExpenseAutomationOverviewPage-m3uEsbuA-y6GuNqtY.js} +1 -1
- package/dist/assets/{ExpenseAutomationPage-CvRVtFoX-2gIzi6LR.js → ExpenseAutomationPage-41S7xtG5-gBOsYzMM.js} +50 -50
- package/dist/assets/{ExpressPayPage-BXf-9l9G-CC7Z3dOp.js → ExpressPayPage-D-7iK8kb-B4NN7Ool.js} +1 -1
- package/dist/assets/{FeaturePreviewPage-LOJ6iaCh-0O88GlZa.js → FeaturePreviewPage-CGX75zlc-Da-yfHhx.js} +1 -1
- package/dist/assets/{FollowStepsSection-BgJIGSUb-CkoWMlHD.js → FollowStepsSection-SyRYm6Xk-qRHgTOZ1.js} +1 -1
- package/dist/assets/{GlobalReviewListPage-vKPeBn-E-BnywyD3i.js → GlobalReviewListPage-cFCPjHNY-Bu6QwgAj.js} +1 -1
- package/dist/assets/{HelpButton-JzcF30dH-DLUx9CMf.js → HelpButton-BaJhgb0U-D2odikp_.js} +1 -1
- package/dist/assets/{InformationCardStack-DE_mlx0b-CPdUvJef.js → InformationCardStack-CKwUXzzO-CxZ4zJeR.js} +1 -1
- package/dist/assets/{InsightsCardStack-CPmZ9Zr6--vMWhqeE.js → InsightsCardStack-DgbzOi4U-Dvc9XXCQ.js} +1 -1
- package/dist/assets/{InsightsSection-mpQV3wZ8-CfoJ1FF7.js → InsightsSection-Baicql5I-Cy9IT7DF.js} +1 -1
- package/dist/assets/{IntegrationsSettingsPage-CPSSCQzQ-Ds1xikyB.js → IntegrationsSettingsPage-F3YIomsV-MWcDg6Dx.js} +1 -1
- package/dist/assets/{InternationalWireSwiftDetailsPage-D6WfqTKR-BZJpEOTH.js → InternationalWireSwiftDetailsPage-Bk3_uQsM-fzkyRJu7.js} +1 -1
- package/dist/assets/{InternationalWireVerificationPage-CryJKJXs-D3YrzZOR.js → InternationalWireVerificationPage-e30e4EN3-DosRWfnw.js} +1 -1
- package/dist/assets/{InviteFormPage-C7nLoXTU-CKDwjUes.js → InviteFormPage--XxaRUk9-8SgyKEGU.js} +1 -1
- package/dist/assets/{InvitePageListView-CtRAy7TX-DRn754w_.js → InvitePageListView-BxqSNNLQ-D2-KFzQG.js} +1 -1
- package/dist/assets/{InvitePeoplePage-ClFxfSTT-DHxAubtk.js → InvitePeoplePage-DH3kZeNR-JarVlmok.js} +1 -1
- package/dist/assets/{InvoiceUploadSection-DjnuyOSw-BzB_1eSD.js → InvoiceUploadSection-D-8BRSZh-C_cyOMSQ.js} +1 -1
- package/dist/assets/{IssueChargeCardPage-CstjZX3q-CnXQ18Tm.js → IssueChargeCardPage-Cx-mINDz-CHMPey88.js} +1 -1
- package/dist/assets/{LabeledAddressValue-Brk71Pjr-CbncPSM-.js → LabeledAddressValue-CBCPqHGX-Dr3MadHP.js} +1 -1
- package/dist/assets/{LabeledAddressValueField-CvCb2aoN-BYPcHugY.js → LabeledAddressValueField-CMBF_lk1-CXJsPPo5.js} +1 -1
- package/dist/assets/{LabeledControlledCheckBoxField-Gqssp1Ri-BC9ElSs1.js → LabeledControlledCheckBoxField-DaiUqmLm-z5jbKpsi.js} +1 -1
- package/dist/assets/{LabeledCreatableSingleSelectField-VKo2nKGM-C5nWLniy.js → LabeledCreatableSingleSelectField-DnywMYhK-CuEc_EGD.js} +1 -1
- package/dist/assets/{LabeledDocumentField-COC_Ej58-B7sKhk_9.js → LabeledDocumentField-M2THEAOY-Dc822rdF.js} +1 -1
- package/dist/assets/{LabeledDropDownFormattedTextField-r2aCE7Vv-BqBkqEAq.js → LabeledDropDownFormattedTextField-3XtnFSSO-BjRnQvhd.js} +1 -1
- package/dist/assets/{LabeledText-VrCpjPlp-f50Lqvph.js → LabeledText-imTCum1u-C4LjRwSo.js} +1 -1
- package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-CoAdkKTm-XaSCNDrO.js → LabeledUserSingleSelectWithSubtitlesField-DlOa-ACw-D4rNrj__.js} +1 -1
- package/dist/assets/{LabeledZeniRolesDropDownField-BP7diqSR-CA1Pyi7y.js → LabeledZeniRolesDropDownField-XfcFfufN-DyDyz251.js} +1 -1
- package/dist/assets/{LinkJETransactionPage-WS_VPmbY-C4uBwEZU.js → LinkJETransactionPage-B9eOkkRL-UaAvocit.js} +4 -4
- package/dist/assets/{LockCardPage-C0sABFjo-BVlSLk_G.js → LockCardPage-Ct7vGNS4-xE0ij8xJ.js} +1 -1
- package/dist/assets/{LowBalancePopup-Cnt8hF5d-CFST9NVY.js → LowBalancePopup-YZDhdF8c-YFnNkRi7.js} +1 -1
- package/dist/assets/{MagicLinkACHDetailsPage-DHMQHaja-BzK_yQB7.js → MagicLinkACHDetailsPage-BN-A0Efu-BDE_yHQ4.js} +1 -1
- package/dist/assets/{MagicLinkDomesticWireDetailsPage-CiLUscCx-C_flYJNw.js → MagicLinkDomesticWireDetailsPage-dzeckdoJ-C14GG0C5.js} +1 -1
- package/dist/assets/{MagicLinkInternationalWireDetailsPage-X2ADFf0h-CyKhV7wU.js → MagicLinkInternationalWireDetailsPage-CYqXDRUn-wjMDal6c.js} +1 -1
- package/dist/assets/{MagicLinkSuccessPage-BRHxmUGi-CqKnko0M.js → MagicLinkSuccessPage-DC24iw6B-Dbig4zBi.js} +1 -1
- package/dist/assets/{MagicLinkTitleSection-CHy41StU-CODeKCpT.js → MagicLinkTitleSection-BccVjN_n-DUbrRyeh.js} +1 -1
- package/dist/assets/{MailingDetailsSection-Djpl2M02-Clv4aZLv.js → MailingDetailsSection-BfdZmdwA-GzNbRy1Z.js} +1 -1
- package/dist/assets/{MeetingCalenderPopup-qui2SnEi-D13HOxSn.js → MeetingCalenderPopup-YzTE9xU9-DZIf1_Kg.js} +1 -1
- package/dist/assets/{Menu-BMPH4-8R-twEftGkH.js → Menu-EG5GC1HM-B-5uM-Tx.js} +1 -1
- package/dist/assets/{MyBankConnectionsSettingsPage-Mohwcu-e-BIUdfsnE.js → MyBankConnectionsSettingsPage-DvbBOAdm-BPRzynV4.js} +1 -1
- package/dist/assets/{MyPendingActivationChargeCardListPage-DePpW1nZ-6QYpbtTT.js → MyPendingActivationChargeCardListPage-BeNJP6gE-DFEiICFV.js} +1 -1
- package/dist/assets/{MyProfileSettingsPage-C--PD-iR-6QZuO8SJ.js → MyProfileSettingsPage-BRxBJZKl-gKdlJU9u.js} +1 -1
- package/dist/assets/{NavBarWithPicker-CDrtlEhe-BGmnf0qG.js → NavBarWithPicker-DcoxoePr-DY0E0Sw4.js} +1 -1
- package/dist/assets/{NavigationArrow-Ci8e8S3O-D0FrCepx.js → NavigationArrow-B8mAmEJR-C3_D4DIN.js} +1 -1
- package/dist/assets/{NavigationDots-CT4KVH38-Cxet2hdJ.js → NavigationDots-DWLQ8EKT-Dn6PHYKg.js} +1 -1
- package/dist/assets/{NewGlobalMerchantPage-Cih2BVZW-BP_IzGQ-.js → NewGlobalMerchantPage-BB_toJEW-DUyS3CYX.js} +1 -1
- package/dist/assets/{NoDataChart-Bb4iomO0-DjYfMx27.js → NoDataChart-BuWkhFal-CMKpuqZD.js} +1 -1
- package/dist/assets/{NoDataTable-CGhIXUQS-C71sow7j.js → NoDataTable-BUdL3yV2-BAXiHNpg.js} +1 -1
- package/dist/assets/{NotFoundPage-C1yRpH5R-DmahrbCG.js → NotFoundPage-DIKyx0G7-QpsaV-Y3.js} +1 -1
- package/dist/assets/{NotificationSettingsPage-B6niw-yz-BkI-B2wX.js → NotificationSettingsPage-BQKqMo0w-RU_hwiPu.js} +1 -1
- package/dist/assets/{NotificationsListConfig-BXhnYFMc-CgGcB0AY.js → NotificationsListConfig-DY24LAfq-CzV20Ii_.js} +1 -1
- package/dist/assets/{NotificationsPage-BxD_x5RM-jKKT4lH3.js → NotificationsPage-CcSiCmhM-DzTB0TJ2.js} +1 -1
- package/dist/assets/{OpExByVendorPage-DhU6KaAy-DXukgz7n.js → OpExByVendorPage-BOD4I42j-4oUDHO_u.js} +1 -1
- package/dist/assets/{OverlayContainerPage-D1XDQqSC-BBBCEdPK.js → OverlayContainerPage-D1XDQqSC-CbO1P_nf.js} +1 -1
- package/dist/assets/{PandLWithForecastPage-a4spNLTC-DqtSMOm0.js → PandLWithForecastPage-DR0hOvcK-BZ8eDuBW.js} +1 -1
- package/dist/assets/{PaymentAccountSetupBillingAddressSection-BNP1S38J-B4CSZ3us.js → PaymentAccountSetupBillingAddressSection-aY0Kwk1v-B2LjsYYN.js} +1 -1
- package/dist/assets/{PeoplePage-BkflVTQ7-CZkWk1Jc.js → PeoplePage-CgbpQTzF-ytts5urg.js} +1 -1
- package/dist/assets/{PortfolioAllocationFormPage-B6dIZdSj-BAxP5Qz4.js → PortfolioAllocationFormPage-DyQS9mGR-k3yBOCSq.js} +29 -29
- package/dist/assets/{PortfolioDetails-DgBQTG2N-D9w2PpF1.js → PortfolioDetails-YqgY6irK-B5_kIUnF.js} +1 -1
- package/dist/assets/{ProductsCarousel-98LvzRjI-D_Ew5v2e.js → ProductsCarousel-D0vNX0Lg-BIRltpPH.js} +1 -1
- package/dist/assets/{PromoBaseCards-8w-GQx13-DtJWY6xl.js → PromoBaseCards-D7B2WP4y-lLUSWcFR.js} +1 -1
- package/dist/assets/{QBOConnectionDialog-Sok8rRG4-BBgIq76h.js → QBOConnectionDialog-BM3Ei-Uy-B7LqspAX.js} +1 -1
- package/dist/assets/{QBOSetupSection-BMRMT06i-Bp-caScU.js → QBOSetupSection-C1C9oOYp-CVAP_hlM.js} +1 -1
- package/dist/assets/{ReimbursementApprovalRuleDetailPage-Cye5Dfay-Y6TTSpt_.js → ReimbursementApprovalRuleDetailPage-2NCQPRtH-CR9C88jV.js} +1 -1
- package/dist/assets/{ReimbursementApprovalRulesPage-C8C8pUIT-DEe2ZJqQ.js → ReimbursementApprovalRulesPage-D7M5LyNE-dlLzOYWa.js} +1 -1
- package/dist/assets/{ReimbursementDetailPage-BkrQE22J-DKvZxT2K.js → ReimbursementDetailPage-CFvkeM65-CSth0LqE.js} +1 -1
- package/dist/assets/{ReimbursementPromoPage-qafth1vd-BCvOyXrt.js → ReimbursementPromoPage-BiajhsSb-Baig1ByR.js} +1 -1
- package/dist/assets/{ReimbursementSetUpPage-CnroOkJk-Cvl76xek.js → ReimbursementSetUpPage--vFw3Coy-BZ_6GPaW.js} +1 -1
- package/dist/assets/{ReimbursementsBulkReviewDrawerPage-2zlPBW1D-Dm47ghET.js → ReimbursementsBulkReviewDrawerPage-40sklAAn-B5qdPWLm.js} +1 -1
- package/dist/assets/{ReloadCard-B0LL0bsO-C47dx2C9.js → ReloadCard-DHXj7tDB-CoTLieDN.js} +1 -1
- package/dist/assets/{ReportTableViewSelector-CwM38MkL-sHSkOZUs.js → ReportTableViewSelector-BReW2rBY-De5-H-8i.js} +1 -1
- package/dist/assets/{ReportsPage-Cyl_WUQz-CtoykTaV.js → ReportsPage-8dRHTbBF-BSX3EPHA.js} +1 -1
- package/dist/assets/{RevenueChart-CXxEH9pM-D3g9dhJR.js → RevenueChart-BrJtZTP6-ckjmqhbu.js} +1 -1
- package/dist/assets/{ReviewDetailsPage-C0soI4uR-Bcmmq9xN.js → ReviewDetailsPage-BYKWuqrn-BR43E93Y.js} +1 -1
- package/dist/assets/{ReviewOverlay-BKS6IxUd-B4wfg7Gq.js → ReviewOverlay-DejTxf0F-D0BNFHZK.js} +1 -1
- package/dist/assets/{RoleWithToolTip-BfLzD5K8-DuzLs0Uw.js → RoleWithToolTip-SDWCAZAR-C5xFKYbN.js} +1 -1
- package/dist/assets/{ScheduleDetailsFixedAssetsPage-1ULyqeCq-BzlJ6bjV.js → ScheduleDetailsFixedAssetsPage-DmrofLij-wGg0nxY-.js} +1 -1
- package/dist/assets/{ScheduleDetailsPage-D-Z-Fi_m-B2de1c09.js → ScheduleDetailsPage-ChMFxnSM-D7lnbvGR.js} +1 -1
- package/dist/assets/{ScheduleSequenceTable-DAwNCXh_-BKNkLrcn.js → ScheduleSequenceTable-D8Xld3H6-DxHk09G_.js} +1 -1
- package/dist/assets/{ScreenRoutes-BkWojgcY.js → ScreenRoutes-Lk4dQSrW.js} +1 -1
- package/dist/assets/{SetUpAccountSection-_zsQfBq1-Ixp7eWRa.js → SetUpAccountSection-D3cMHFo9-tGxpQ_Hm.js} +1 -1
- package/dist/assets/{SetUpDefaultSection-BHYOBJ7g-ugz5Fdi4.js → SetUpDefaultSection-DAYmX0ZV-wM42lVKW.js} +1 -1
- package/dist/assets/{SignIn-BOLyauQa-CSsg1k-k.js → SignIn-44novL5w-Da7_TNTW.js} +1 -1
- package/dist/assets/{SignInScreen-wnotOD9V.js → SignInScreen-DD04CaKk.js} +1 -1
- package/dist/assets/{SpendManagementListViewPage-zh_Ui5iH-YWp73SwO.js → SpendManagementListViewPage-DSoYdq_m-7NkIVVia.js} +3 -3
- package/dist/assets/{SpendManagementPerTabPage-Bu4V_wEU-CJZCCT7c.js → SpendManagementPerTabPage-xTIW-X7N-B96IfkCc.js} +1 -1
- package/dist/assets/{SpendManagementSection-vhFCT9_L-BgmgsOzT.js → SpendManagementSection-CJlsHGkm-CqhN8V8O.js} +1 -1
- package/dist/assets/{SpendMgmtSetupAccountSection-DiiBySox-DEuCmldp.js → SpendMgmtSetupAccountSection-S-3M9Tex-DxNcuUHJ.js} +1 -1
- package/dist/assets/{StatementItem-5oh_s6z3-CvMn_6Gz.js → StatementItem-DX6-flmJ-DQRFWSb3.js} +1 -1
- package/dist/assets/{StatementsPage-CQqrzaz3-BqgZGPio.js → StatementsPage-DCKr_4XZ-Bsxshbva.js} +1 -1
- package/dist/assets/{StatusSwitcher-C1BUhsR_-RxZm1ZuG.js → StatusSwitcher-C6SduIx3-CZMTB5w2.js} +1 -1
- package/dist/assets/{SubTabSwitcher-DbtPzcHo-C9Q3gR3c.js → SubTabSwitcher-W3Ntabka-CkJnLFDQ.js} +1 -1
- package/dist/assets/{SummaryCard-ChBY9-wb-BrnQwF1R.js → SummaryCard-z1Y1Z21L-BvNDOBhc.js} +1 -1
- package/dist/assets/{TaskManagementPage-BLvvJOu7-0xGKm0io.js → TaskManagementPage-Dr7_IfHc-AYu_HBiG.js} +1 -1
- package/dist/assets/{TimeRangeSwitcher-BKBRRSFm-Cz1Ee_vx.js → TimeRangeSwitcher-CrkB8n_m-UKQ-nTM4.js} +1 -1
- package/dist/assets/{TimeframeSwitcher-BYbWJkqV-D9PNXfI7.js → TimeframeSwitcher-CMpQebr--jb5OdLW-.js} +1 -1
- package/dist/assets/{TimeframeSwitcherWithToggle-CQ7RqzAP-C0sGzizA.js → TimeframeSwitcherWithToggle-MSmSK_yv-1RIM15xs.js} +1 -1
- package/dist/assets/{TopExCard-DlOpHPBt-DLFzs4DQ.js → TopExCard-VQ8z2vI8-CcFX43B0.js} +1 -1
- package/dist/assets/{TopExDetailPage-DiRn3jsO-Y2QDGhmR.js → TopExDetailPage-DpnzP9SJ-DfzJMOHT.js} +1 -1
- package/dist/assets/TransactionDetailPage-CYUaKiqB-BzE195Mu.js +912 -0
- package/dist/assets/{TransactionList-bXlPU8EJ-CJpXRXe5.js → TransactionList-BingIVb_-DtIsd8Hw.js} +1 -1
- package/dist/assets/{TransactionListBig-C8XRWb2H-BtpYfolj.js → TransactionListBig-u-0Ia9Ua-K9wDHKU_.js} +1 -1
- package/dist/assets/{TransactionListPage-CUX45pNJ-BRuLNSm-.js → TransactionListPage-CYnEa2xe-O-SDZdNu.js} +1 -1
- package/dist/assets/{TransactionVendorDetailPage-CN37v29r-BwIXvjQA.js → TransactionVendorDetailPage-BFkUirn2-CeHhiYbe.js} +1 -1
- package/dist/assets/{TransferDrawerPage-GsrHKsdt-CTUErw4B.js → TransferDrawerPage-CX9GJ8vi-CEFyGVCx.js} +1 -1
- package/dist/assets/{TreasuryOverviewPage-C-yNzG5C-YBn2IUrW.js → TreasuryOverviewPage-C9I-VnRo-DTnaN1Tn.js} +1 -1
- package/dist/assets/{TreasuryPromoPage-BENRjIY1-r3JAqrfu.js → TreasuryPromoPage-DUScnOPQ-Dkbv6YRb.js} +1 -1
- package/dist/assets/TreasurySetupPage-DzkvNyQm-B3xMK5Hg.js +144 -0
- package/dist/assets/{TreasuryStatementsPage-DTCPq8Gp-iWzCT7nf.js → TreasuryStatementsPage-BipG_ii3-Dy6JBSif.js} +1 -1
- package/dist/assets/{TreasuryTaxLetterPage-O433FhAV-C1k6tduP.js → TreasuryTaxLetterPage-DCrdgOsu-DCMVMaW8.js} +1 -1
- package/dist/assets/{TreasuryTransferOrReviewPage-D_3AEXbX-Cn5Yufcy.js → TreasuryTransferOrReviewPage-DO9VVbX6-DZ53XF10.js} +62 -62
- package/dist/assets/{TrendChart-DdACpA7D-CjQnnjyH.js → TrendChart-BpsoQkO0-DB1sMg9j.js} +1 -1
- package/dist/assets/{TrendWithTransactions-BnHF9LmW-tSH-lIqy.js → TrendWithTransactions-D61X4lVu-B1TFib9_.js} +1 -1
- package/dist/assets/{UncategorizedAccountsMappingPage-CPwbKmda-DK_YTS86.js → UncategorizedAccountsMappingPage-CGGKjJaZ-D-H5tUAz.js} +1 -1
- package/dist/assets/{UnitIntegrationPage-Du-y-JVz-Dj8kt9Jm.js → UnitIntegrationPage-cQpbU9rB-Cbb-Whyn.js} +1 -1
- package/dist/assets/{UploadAdditionalDocumentOverlay-Pjy5PzIW-CGkZI-1j.js → UploadAdditionalDocumentOverlay-jDJV9q65-D9UMm7kL.js} +1 -1
- package/dist/assets/{Vendor2FAPopup-DgjZcTQX-D9W9dZq3.js → Vendor2FAPopup-B3ecYMnd-64QYc3pi.js} +1 -1
- package/dist/assets/{VendorACHDetailsPage-DcNKtZ0R-Bi8pbvaS.js → VendorACHDetailsPage-DgHf5ptD-DJ7gUVt7.js} +1 -1
- package/dist/assets/{VendorDetailPage-DEEb2gjp-CCMM19HN.js → VendorDetailPage-Bi8U23Yu-CYAI7EU_.js} +1 -1
- package/dist/assets/{VendorDomesticWireDetailsPage-y3jp785O-Cn755Yd_.js → VendorDomesticWireDetailsPage-1NJj7GtJ-D3rBN46J.js} +1 -1
- package/dist/assets/{VendorFiling1099EditablePage-BduWVF51-ZFGfV5H2.js → VendorFiling1099EditablePage-BRytcxuo-CZqTJihb.js} +1 -1
- package/dist/assets/{VendorFirstReviewPage-B8vqDzGi-DJiwpQ21.js → VendorFirstReviewPage-wW6F5Vyp-CwmSDV52.js} +1 -1
- package/dist/assets/{VendorInternationalWireDetailsPage-DmJ3Bq2T-koc0rrhz.js → VendorInternationalWireDetailsPage-BvOCNJjZ-C9fzsF24.js} +1 -1
- package/dist/assets/{VendorInternationalWireSwiftDetailsPage-Bxy4g8yL-BEOh0GH5.js → VendorInternationalWireSwiftDetailsPage-DfyLskrB-CQ9ndRc7.js} +1 -1
- package/dist/assets/{VendorsAccountsSection-DhleXBjq-ChXEGqE2.js → VendorsAccountsSection-BgZ0EsGs-KDRhKsoW.js} +1 -1
- package/dist/assets/{VerifyDevice-BdUpM2Xk-BumcsjMz.js → VerifyDevice-Djjoi0YZ-_3zMjBLM.js} +1 -1
- package/dist/assets/{VideoPlayer-Bh9pi5bb-TiF1CvxS.js → VideoPlayer-DGYFB2YS-DUfF6yFC.js} +1 -1
- package/dist/assets/{VideoPopup-BmSbL0tQ-DjmLvupK.js → VideoPopup-DJk2FZWR-CM_0HjD0.js} +1 -1
- package/dist/assets/{WarningsDrawerPage-DfPbJNDz-D6Qv89yX.js → WarningsDrawerPage-CD08YNAB-Dx2KFQiH.js} +1 -1
- package/dist/assets/{ZeniAccountDetailPage-BgJTjD7y-CLcudSUF.js → ZeniAccountDetailPage-BymuJnpr-wd8ZOXRP.js} +1 -1
- package/dist/assets/{ZeniAccountListViewPage-BWVLF3FE-bImThYTF.js → ZeniAccountListViewPage-CSf3_-PQ-BIF2NgM3.js} +1 -1
- package/dist/assets/{ZeniAccountNavBarPieces-Qs5xZ8ja-Snqvnod-.js → ZeniAccountNavBarPieces-F42ZriYE-DqNJ1jU2.js} +1 -1
- package/dist/assets/{ZeniAccountPromoPage-B9FLpxZq-DAjEd67A.js → ZeniAccountPromoPage-VVCQ_UDm-Ct-iLwvJ.js} +1 -1
- package/dist/assets/{ZeniAccountSetupPage-CvumFc2I-DGe5s0B-.js → ZeniAccountSetupPage-BOwiGnM--Dz_2kMjh.js} +1 -1
- package/dist/assets/{ZeniCopyright-2Gm8bvIj-DzzOVwWa.js → ZeniCopyright-DkcWuMgx-RWRqD984.js} +1 -1
- package/dist/assets/{ZeniTransferAmountSlider-3iNLjlk5-BHZ8X84U.js → ZeniTransferAmountSlider-tcmR5JIX-Cd37-VEc.js} +1 -1
- package/dist/assets/{analyticsHelper-BjdxHYNU-D0RzuG-N.js → analyticsHelper-DgQ9dYv6-De-krZ12.js} +1 -1
- package/dist/assets/{analyticsHelper-Bz2Bv2NU.js → analyticsHelper-JHJDqaL3.js} +1 -1
- package/dist/assets/{chartTypes-C55wRbZm-DZYdSC6g.js → chartTypes-BkGKZtjd-9mZz2BPE.js} +1 -1
- package/dist/assets/{commonDimensions-kvPZ9uhR-B0JIHYIl.js → commonDimensions-D-rqQGD_-DguqB4oO.js} +1 -1
- package/dist/assets/{detailCommon-flEwHQWE-BLWYWFmQ.js → detailCommon-GKfk0vsu-okwQGabL.js} +1 -1
- package/dist/assets/{downloadPdf-9PwAfZrf-DIShnr79.js → downloadPdf-De1ILdAb-TsI5sZUf.js} +1 -1
- package/dist/assets/{index-JJMBnBNB.js → index-Ci6w3djJ.js} +156 -156
- package/dist/assets/{mapLoadingInProgressToTreeNode-D2-Xk-a2-CMsQ-3ZE.js → mapLoadingInProgressToTreeNode-BQLjNvTv-Bsg376BD.js} +1 -1
- package/dist/assets/{mapSectionWithAcOnlyToTreeNode-D8mXp6cH-CNK3VSms.js → mapSectionWithAcOnlyToTreeNode-C0VNdd8s-DEUZo2Rp.js} +1 -1
- package/dist/assets/{mapSpacerToTreeNode-DgTZkD7S-B5si502J.js → mapSpacerToTreeNode-BU36CqfC-Cr9vicKb.js} +1 -1
- package/dist/assets/{mapTimeframeBalancesToTreeNode-Dc8D2GxV-D8-XEGh6.js → mapTimeframeBalancesToTreeNode-BVtoixEC-BiHZ5pyZ.js} +1 -1
- package/dist/assets/{mapTimeframeBalancesToTreeNode-DacdNIKt-CLQ_K0_1.js → mapTimeframeBalancesToTreeNode-C45lf-nZ-CyNDhoCp.js} +1 -1
- package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-ByVkwcZX-Czj_JvYh.js → mapTimeframeHeaderLoadingInProgressToTreeNode-DeErljHZ-B_ZutE8q.js} +1 -1
- package/dist/assets/{toCOABalancesWithID-CHP1NmFV-BEycbicm.js → toCOABalancesWithID-jZvgYCO7-K9Aq1Sm_.js} +1 -1
- package/dist/assets/{toChartData-CV-IsjGn-Dk8tQTe6.js → toChartData-XC5K1jEk-BCy0qlOQ.js} +1 -1
- package/dist/assets/{treasuryColorHelper-73WJKkar-DR4hSDYc.js → treasuryColorHelper-Bn8hh2DU-D0UXXZoq.js} +1 -1
- package/dist/assets/{uploadAttachment-Cj3QcGO3-CSfQMSBZ.js → uploadAttachment-CAl_Ockc-C-WoP6Qy.js} +1 -1
- package/dist/assets/{uploadReceipts-CQ7whQyJ-Bg8PayZa.js → uploadReceipts-CQ7whQyJ-CcIwDZ8Y.js} +1 -1
- package/dist/index.html +1 -1
- package/package.json +3 -3
- package/dist/assets/BusinessVerificationPage-Ccqlx-_j-Bv3lOKHi.js +0 -140
- package/dist/assets/CustomerOnboardingContainerPage-AGr9ylBU-C-H4DDTq.js +0 -1
- package/dist/assets/TransactionDetailPage-CVxiCsG1-sNJ-d0rt.js +0 -912
- package/dist/assets/TreasurySetupPage-DmIyCtnW-DIYIFb2p.js +0 -146
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{q as W,c as G,F as y,ax as he,l as _,j as r,aM as k,bZ as fe,bH as me,bF as ge,y as v,o as C,aS as _e,m as be,b_ as Se,u as w,B,aC as Q,T as we,aU as Ce,au as ye,bK as xe}from"./index-JJMBnBNB.js";import{b as P,w as J,n as b}from"./vendor-Bs1fkIUX.js";import{m as z,l as q}from"./analyticsHelper-BjdxHYNU-D0RzuG-N.js";import{u as Oe}from"./ReportTableViewSelector-CwM38MkL-sHSkOZUs.js";import{a as X,p as Re}from"./TimeRangeSwitcher-BKBRRSFm-Cz1Ee_vx.js";import{M as Ae}from"./TimeframeSwitcherWithToggle-CQ7RqzAP-C0sGzizA.js";import{DownloadOverlayButton as Be}from"./DownloadOverlay-0TBZx4M5-ByMEel37.js";import{I as ve,R as F,x as ee}from"./CollapsableReportTable-BEIzIiuS-DSPsVPW9.js";import{T as te,I as se,L as j,D as Te,g as ne}from"./mapSectionWithAcOnlyToTreeNode-D8mXp6cH-CNK3VSms.js";import{s as H}from"./mapTimeframeBalancesToTreeNode-DacdNIKt-CLQ_K0_1.js";import{d as Le,l as Pe}from"./mapTimeframeHeaderLoadingInProgressToTreeNode-ByVkwcZX-Czj_JvYh.js";import{d as ke}from"./mapLoadingInProgressToTreeNode-D2-Xk-a2-CMsQ-3ZE.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.js";import"./TimeframeSwitcher-BYbWJkqV-D9PNXfI7.js";import"./page-detail-CWX5S47F-lMo0MYzU.js";import"./AccountRow-3d9RsrK--CzSmDsqS.js";function oe({section:e,sectionId:t,numOfBalances:o,config:a}){return ee("no_filter",a.filterAccountsWithNilBalances,a.filterAccountGroupsWithNilBalances).compactedAccountGroupsSelector(e.accountGroups).map(n=>Ie({accountGroup:n,sectionType:t,numOfBalances:o,title:n.accountGroupName,isLastNode:!0,config:a}))}function Ie({accountGroup:e,sectionType:t,numOfBalances:o,title:a,isLastNode:n,config:d}){const p=F("section",[],a+t),l={children:[],id:p,isLastNode:n,reportElementData:{element:{kind:"section",title:a,sectionType:t,data:e,numOfBalances:o},config:d}},i=ee("no_filter",d.filterAccountsWithNilBalances,d.filterAccountGroupsWithNilBalances).compactedAccountsSelectorVariant(e.accounts),u=i.map((g,h)=>ne({account:g,sectionType:t,numOfBalances:o,title:g.account.accountName,config:d,isLastNode:h===i.length-1,parentNodeIDs:[p],ancestorMetadata:{subAccountAncestorMetadata:[{depth:0,hasSibling:i.length>1,hasChildren:g.children.length>0,isLastNode:h===i.length-1}]}}));return l.children.push(...u),l}function ae({sectionWithAcOnly:e,sectionType:t,numOfBalances:o,config:a}){return e.accounts.map((n,d)=>ne({account:n,sectionType:t,numOfBalances:o,title:n.account.accountName,config:a,isLastNode:d===e.accounts.length-1,parentNodeIDs:[],ancestorMetadata:{subAccountAncestorMetadata:[{depth:0,hasSibling:e.accounts.length>1,hasChildren:n.children.length>0,isLastNode:d===e.accounts.length-1}]}}))}function ie({balances:e,config:t,nodeId:o}){return{children:[],id:o??F("timeframe_header",[]),isLastNode:!1,reportElementData:{element:{kind:t.mode==="actual_vs_forecast"?"timeframe_headers_with_forecast":"timeframe_headers",title:"",data:e,numOfBalances:e.length},config:t}}}function Ne(e,t,o,a=!0){Object.assign(e.config,t);const n=ce(o),d=H({balances:n,config:t});return{config:t,headerNodes:a?[d]:[],contentNodes:[d,...e.contentNodes.slice(1)]}}const ce=e=>{switch(e.reportId){case"profit_and_loss":{const t=e;return t.sections.expenses.balances.length>0?[...t.sections.expenses.balances,...t.sections.expenses.additionalBalances]:[...t.sections.income.balances,...t.sections.income.additionalBalances]}case"profit_and_loss_by_classes":{const t=e;return t.sections.expenses.balances.length>0?[...t.sections.expenses.balances,...t.sections.expenses.additionalBalances]:[...t.sections.income.balances,...t.sections.income.additionalBalances]}case"cash_flow":{const t=e;return[...t.calculatedSections.operatingActivitiesTotal.balances,...t.calculatedSections.operatingActivitiesTotal.additionalBalances]}case"balance_sheet":{const t=e;let o=[];return Object.keys(t.sections).forEach(a=>{t.sections[a].balances.length>0&&(o=[...t.sections[a].balances,...t.sections[a].additionalBalances])}),o}default:return[]}};function Me(e,t,o=!0){const a=y.getLocalizedStrings().reports.sections,n=y.getLocalizedStrings().reports.balanceSheet,d=ce(e),p=t.mode!=null&&t.mode==="this_period_vs_period_before"&&d.length>1?e.filter.balancesRange.numberOfPeriods+2:e.filter.balancesRange.numberOfPeriods+1,l=ie({balances:d,config:t}),i=[];return i.push(l),Object.keys(e.rootSectionsWithSubSectionIds).forEach(u=>{const g=F("title_string_only",[],u),h={children:[],id:g,isLastNode:!0,reportElementData:{element:{kind:"title_string_only",title:a[u],data:void 0,numOfBalances:0},config:t}};i.push(h),e.rootSectionsWithSubSectionIds[u].forEach(s=>{if(_.isBalanceSheetReportViewSectionID(s)===!0)if(e.sections[s].accountGroups.length>0)if(s==="equity"){const c=oe({sectionId:s,section:e.sections[s],numOfBalances:p,config:t});i.push(...c)}else i.push(te({section:e.sections[s],sectionType:s,numOfBalances:p,title:n[s],isLastNode:!0,config:t}));else if(s==="equity"){const c=ae({sectionWithAcOnly:e.sections[s],sectionType:s,numOfBalances:p,config:t});i.push(...c)}else{const c=e.sections[s];i.push(se({sectionWithAcOnly:c,sectionType:s,numOfBalances:p,title:n[s],isLastNode:!0,config:t}))}else _.isBalanceSheetReportViewCalculatedSectionID(s)===!0&&i.push(j({calculatedSection:e.calculatedSections[s],numOfBalances:p,title:n[s],isLastNode:!0,config:t}))})}),{config:t,headerNodes:o?[l]:[],contentNodes:i}}function Fe({calculatedSection:e,numOfBalances:t,title:o,isLastNode:a,config:n}){return{children:[],id:F("calculated_section_type1",[],o),isLastNode:a,reportElementData:{element:{kind:"calculated_section_type1",title:o,data:e,numOfBalances:t},config:n}}}function $e(e,t,o=!0){const a=y.getLocalizedStrings().reports.sections,n=y.getLocalizedStrings().reports.cashFlow,d=[...e.calculatedSections.operatingActivitiesTotal.balances,...e.calculatedSections.operatingActivitiesTotal.additionalBalances],p=t.mode!=null&&t.mode==="this_period_vs_period_before"&&d.length>1?e.filter.balancesRange.numberOfPeriods+2:e.filter.balancesRange.numberOfPeriods+1,l=ie({balances:d,config:t}),i=[];return Object.keys(e.rootSectionsWithSubSectionIds).forEach(u=>{const g=F("title_string_only",[],u),h={children:[],id:g,isLastNode:!0,reportElementData:{element:{kind:"title_string_only",title:a[u],data:void 0,numOfBalances:0},config:t}};i.push(h),e.rootSectionsWithSubSectionIds[u].forEach(s=>{if(_.isCashFlowReportViewSectionID(s)===!0)if(e.sections[s].accountGroups.length>0){const c=oe({sectionId:s,section:e.sections[s],numOfBalances:p,config:t});i.push(...c)}else{const c=ae({sectionWithAcOnly:e.sections[s],sectionType:s,numOfBalances:p,config:t});i.push(...c)}else _.isCashFlowReportViewCalculatedSectionType1ID(s)===!0?i.push(Fe({calculatedSection:e.calculatedSections[s],numOfBalances:p,title:n[s],isLastNode:!0,config:t})):_.isCashFlowReportViewCalculatedSectionID(s)===!0&&i.push(j({calculatedSection:e.calculatedSections[s],numOfBalances:p,title:n[s],isLastNode:!0,config:t}))})}),{config:t,headerNodes:o?[l]:[],contentNodes:[l,...i]}}function je(e,t,o=!0,a=!1){const n=y.getLocalizedStrings().reports,d=y.getLocalizedStrings().common;let p=[];const l=[];let i=[];if(a===!0){const u=Le({title:d.loading,balances:[],config:t});u.reportElementData.element.numOfBalances=6,o&&(i=[u]),l.push(u),[...Array(8)].forEach((g,h)=>{const s=h%4;let c=Pe[s];const x=ke({title:`${h}+${c}`,balances:p,config:t});x.reportElementData.element.numOfBalances=6,l.push(x)})}else{const u=e.sections.expenses.balances.length>0?[...e.sections.expenses.balances,...e.sections.expenses.additionalBalances]:e.sections.income.balances.length>0?[...e.sections.income.balances,...e.sections.income.additionalBalances]:e.sections.cogs.balances.length>0?[...e.sections.cogs.balances,...e.sections.cogs.additionalBalances]:e.sections.otherIncome.balances.length>0?[...e.sections.otherIncome.balances,...e.sections.otherIncome.additionalBalances]:e.sections.otherExpenses.balances.length>0?[...e.sections.otherExpenses.balances,...e.sections.otherExpenses.additionalBalances]:[],g=H({balances:u,config:t}),h=t.mode!=null&&t.mode==="this_period_vs_period_before"&&u.length>1?e.filter.balancesRange.numberOfPeriods+2:e.filter.balancesRange.numberOfPeriods+1;l.push(g),o&&(i=[g]),e.idsInOrder.forEach(s=>{if(_.isPandLReportViewSectionID(s)===!0){const c=e.sections[s];c!=null&&l.push(Te({section:c,sectionType:s,numOfBalances:h,title:n.sections[s],isLastNode:!0,config:t}))}else if(_.isPandLReportViewCalculatedSectionID(s)===!0){const c=e.calculatedSections[s];c!=null&&l.push(j({calculatedSection:c,numOfBalances:h,title:n.sections[s],isLastNode:!0,config:t}))}})}return{config:t,headerNodes:i,contentNodes:l}}function Ee(e,t,o=!0){const a=y.getLocalizedStrings().reports,n=e.sections.expenses!=null&&e.sections.expenses.balances.length>0?[...e.sections.expenses.balances,...e.sections.expenses.additionalBalances]:e.sections.income!=null&&e.sections.income.balances.length>0?[...e.sections.income.balances,...e.sections.income.additionalBalances]:e.sections.cogs!=null&&e.sections.cogs.balances.length>0?[...e.sections.cogs.balances,...e.sections.cogs.additionalBalances]:e.sections.otherIncome!=null&&e.sections.otherIncome.balances.length>0?[...e.sections.otherIncome.balances,...e.sections.otherIncome.additionalBalances]:e.sections.otherExpenses!=null&&e.sections.otherExpenses.balances.length>0?[...e.sections.otherExpenses.balances,...e.sections.otherExpenses.additionalBalances]:[],d=t.mode!=null&&t.mode==="this_period_vs_period_before"&&n.length>1?e.filter.balancesRange.numberOfPeriods+2:e.filter.balancesRange.numberOfPeriods+1,p=H({balances:n,config:t}),l=[];return l.push(p),e.idsInOrder.forEach(i=>{if(_.isPandLReportViewSectionID(i)===!0&&(e.sections[i].accountGroups.length>0?l.push(te({section:e.sections[i],sectionType:i,numOfBalances:d,title:a.sections[i],isLastNode:!0,config:t})):l.push(se({sectionWithAcOnly:e.sections[i],sectionType:i,numOfBalances:d,title:a.sections[i],isLastNode:!0,config:t}))),_.isPandLReportViewCalculatedSectionID(i)===!0){const u=e.calculatedSections[i];u!=null&&l.push(j({calculatedSection:u,numOfBalances:d,title:a.sections[i],isLastNode:!0,config:t}))}}),{config:t,headerNodes:o?[p]:[],contentNodes:l}}const Z={contentPaddingLeft:new v(w[0],w[0],w[0]),contentPaddingRight:new v(w[3],w[3],w[8])},Ve=b.div`
|
|
1
|
+
import{q as W,c as G,F as y,ax as he,l as _,j as r,aM as k,bZ as fe,bH as me,bF as ge,y as v,o as C,aS as _e,m as be,b_ as Se,u as w,B,aC as Q,T as we,aU as Ce,au as ye,bK as xe}from"./index-Ci6w3djJ.js";import{b as P,w as J,n as b}from"./vendor-Bs1fkIUX.js";import{m as z,l as q}from"./analyticsHelper-DgQ9dYv6-De-krZ12.js";import{u as Oe}from"./ReportTableViewSelector-BReW2rBY-De5-H-8i.js";import{a as X,p as Re}from"./TimeRangeSwitcher-CrkB8n_m-UKQ-nTM4.js";import{M as Ae}from"./TimeframeSwitcherWithToggle-MSmSK_yv-1RIM15xs.js";import{DownloadOverlayButton as Be}from"./DownloadOverlay-DaCUudXP-CVZNoWAL.js";import{I as ve,R as F,x as ee}from"./CollapsableReportTable-CfzLsUMN-BupSz6gn.js";import{T as te,I as se,L as j,D as Te,g as ne}from"./mapSectionWithAcOnlyToTreeNode-C0VNdd8s-DEUZo2Rp.js";import{s as H}from"./mapTimeframeBalancesToTreeNode-C45lf-nZ-CyNDhoCp.js";import{d as Le,l as Pe}from"./mapTimeframeHeaderLoadingInProgressToTreeNode-DeErljHZ-B_ZutE8q.js";import{d as ke}from"./mapLoadingInProgressToTreeNode-BQLjNvTv-Bsg376BD.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.js";import"./TimeframeSwitcher-CMpQebr--jb5OdLW-.js";import"./page-detail-CWX5S47F-lMo0MYzU.js";import"./AccountRow-CrG8EbbJ-C5c4hS7Z.js";function oe({section:e,sectionId:t,numOfBalances:o,config:a}){return ee("no_filter",a.filterAccountsWithNilBalances,a.filterAccountGroupsWithNilBalances).compactedAccountGroupsSelector(e.accountGroups).map(n=>Ie({accountGroup:n,sectionType:t,numOfBalances:o,title:n.accountGroupName,isLastNode:!0,config:a}))}function Ie({accountGroup:e,sectionType:t,numOfBalances:o,title:a,isLastNode:n,config:d}){const p=F("section",[],a+t),l={children:[],id:p,isLastNode:n,reportElementData:{element:{kind:"section",title:a,sectionType:t,data:e,numOfBalances:o},config:d}},i=ee("no_filter",d.filterAccountsWithNilBalances,d.filterAccountGroupsWithNilBalances).compactedAccountsSelectorVariant(e.accounts),u=i.map((g,h)=>ne({account:g,sectionType:t,numOfBalances:o,title:g.account.accountName,config:d,isLastNode:h===i.length-1,parentNodeIDs:[p],ancestorMetadata:{subAccountAncestorMetadata:[{depth:0,hasSibling:i.length>1,hasChildren:g.children.length>0,isLastNode:h===i.length-1}]}}));return l.children.push(...u),l}function ae({sectionWithAcOnly:e,sectionType:t,numOfBalances:o,config:a}){return e.accounts.map((n,d)=>ne({account:n,sectionType:t,numOfBalances:o,title:n.account.accountName,config:a,isLastNode:d===e.accounts.length-1,parentNodeIDs:[],ancestorMetadata:{subAccountAncestorMetadata:[{depth:0,hasSibling:e.accounts.length>1,hasChildren:n.children.length>0,isLastNode:d===e.accounts.length-1}]}}))}function ie({balances:e,config:t,nodeId:o}){return{children:[],id:o??F("timeframe_header",[]),isLastNode:!1,reportElementData:{element:{kind:t.mode==="actual_vs_forecast"?"timeframe_headers_with_forecast":"timeframe_headers",title:"",data:e,numOfBalances:e.length},config:t}}}function Ne(e,t,o,a=!0){Object.assign(e.config,t);const n=ce(o),d=H({balances:n,config:t});return{config:t,headerNodes:a?[d]:[],contentNodes:[d,...e.contentNodes.slice(1)]}}const ce=e=>{switch(e.reportId){case"profit_and_loss":{const t=e;return t.sections.expenses.balances.length>0?[...t.sections.expenses.balances,...t.sections.expenses.additionalBalances]:[...t.sections.income.balances,...t.sections.income.additionalBalances]}case"profit_and_loss_by_classes":{const t=e;return t.sections.expenses.balances.length>0?[...t.sections.expenses.balances,...t.sections.expenses.additionalBalances]:[...t.sections.income.balances,...t.sections.income.additionalBalances]}case"cash_flow":{const t=e;return[...t.calculatedSections.operatingActivitiesTotal.balances,...t.calculatedSections.operatingActivitiesTotal.additionalBalances]}case"balance_sheet":{const t=e;let o=[];return Object.keys(t.sections).forEach(a=>{t.sections[a].balances.length>0&&(o=[...t.sections[a].balances,...t.sections[a].additionalBalances])}),o}default:return[]}};function Me(e,t,o=!0){const a=y.getLocalizedStrings().reports.sections,n=y.getLocalizedStrings().reports.balanceSheet,d=ce(e),p=t.mode!=null&&t.mode==="this_period_vs_period_before"&&d.length>1?e.filter.balancesRange.numberOfPeriods+2:e.filter.balancesRange.numberOfPeriods+1,l=ie({balances:d,config:t}),i=[];return i.push(l),Object.keys(e.rootSectionsWithSubSectionIds).forEach(u=>{const g=F("title_string_only",[],u),h={children:[],id:g,isLastNode:!0,reportElementData:{element:{kind:"title_string_only",title:a[u],data:void 0,numOfBalances:0},config:t}};i.push(h),e.rootSectionsWithSubSectionIds[u].forEach(s=>{if(_.isBalanceSheetReportViewSectionID(s)===!0)if(e.sections[s].accountGroups.length>0)if(s==="equity"){const c=oe({sectionId:s,section:e.sections[s],numOfBalances:p,config:t});i.push(...c)}else i.push(te({section:e.sections[s],sectionType:s,numOfBalances:p,title:n[s],isLastNode:!0,config:t}));else if(s==="equity"){const c=ae({sectionWithAcOnly:e.sections[s],sectionType:s,numOfBalances:p,config:t});i.push(...c)}else{const c=e.sections[s];i.push(se({sectionWithAcOnly:c,sectionType:s,numOfBalances:p,title:n[s],isLastNode:!0,config:t}))}else _.isBalanceSheetReportViewCalculatedSectionID(s)===!0&&i.push(j({calculatedSection:e.calculatedSections[s],numOfBalances:p,title:n[s],isLastNode:!0,config:t}))})}),{config:t,headerNodes:o?[l]:[],contentNodes:i}}function Fe({calculatedSection:e,numOfBalances:t,title:o,isLastNode:a,config:n}){return{children:[],id:F("calculated_section_type1",[],o),isLastNode:a,reportElementData:{element:{kind:"calculated_section_type1",title:o,data:e,numOfBalances:t},config:n}}}function $e(e,t,o=!0){const a=y.getLocalizedStrings().reports.sections,n=y.getLocalizedStrings().reports.cashFlow,d=[...e.calculatedSections.operatingActivitiesTotal.balances,...e.calculatedSections.operatingActivitiesTotal.additionalBalances],p=t.mode!=null&&t.mode==="this_period_vs_period_before"&&d.length>1?e.filter.balancesRange.numberOfPeriods+2:e.filter.balancesRange.numberOfPeriods+1,l=ie({balances:d,config:t}),i=[];return Object.keys(e.rootSectionsWithSubSectionIds).forEach(u=>{const g=F("title_string_only",[],u),h={children:[],id:g,isLastNode:!0,reportElementData:{element:{kind:"title_string_only",title:a[u],data:void 0,numOfBalances:0},config:t}};i.push(h),e.rootSectionsWithSubSectionIds[u].forEach(s=>{if(_.isCashFlowReportViewSectionID(s)===!0)if(e.sections[s].accountGroups.length>0){const c=oe({sectionId:s,section:e.sections[s],numOfBalances:p,config:t});i.push(...c)}else{const c=ae({sectionWithAcOnly:e.sections[s],sectionType:s,numOfBalances:p,config:t});i.push(...c)}else _.isCashFlowReportViewCalculatedSectionType1ID(s)===!0?i.push(Fe({calculatedSection:e.calculatedSections[s],numOfBalances:p,title:n[s],isLastNode:!0,config:t})):_.isCashFlowReportViewCalculatedSectionID(s)===!0&&i.push(j({calculatedSection:e.calculatedSections[s],numOfBalances:p,title:n[s],isLastNode:!0,config:t}))})}),{config:t,headerNodes:o?[l]:[],contentNodes:[l,...i]}}function je(e,t,o=!0,a=!1){const n=y.getLocalizedStrings().reports,d=y.getLocalizedStrings().common;let p=[];const l=[];let i=[];if(a===!0){const u=Le({title:d.loading,balances:[],config:t});u.reportElementData.element.numOfBalances=6,o&&(i=[u]),l.push(u),[...Array(8)].forEach((g,h)=>{const s=h%4;let c=Pe[s];const x=ke({title:`${h}+${c}`,balances:p,config:t});x.reportElementData.element.numOfBalances=6,l.push(x)})}else{const u=e.sections.expenses.balances.length>0?[...e.sections.expenses.balances,...e.sections.expenses.additionalBalances]:e.sections.income.balances.length>0?[...e.sections.income.balances,...e.sections.income.additionalBalances]:e.sections.cogs.balances.length>0?[...e.sections.cogs.balances,...e.sections.cogs.additionalBalances]:e.sections.otherIncome.balances.length>0?[...e.sections.otherIncome.balances,...e.sections.otherIncome.additionalBalances]:e.sections.otherExpenses.balances.length>0?[...e.sections.otherExpenses.balances,...e.sections.otherExpenses.additionalBalances]:[],g=H({balances:u,config:t}),h=t.mode!=null&&t.mode==="this_period_vs_period_before"&&u.length>1?e.filter.balancesRange.numberOfPeriods+2:e.filter.balancesRange.numberOfPeriods+1;l.push(g),o&&(i=[g]),e.idsInOrder.forEach(s=>{if(_.isPandLReportViewSectionID(s)===!0){const c=e.sections[s];c!=null&&l.push(Te({section:c,sectionType:s,numOfBalances:h,title:n.sections[s],isLastNode:!0,config:t}))}else if(_.isPandLReportViewCalculatedSectionID(s)===!0){const c=e.calculatedSections[s];c!=null&&l.push(j({calculatedSection:c,numOfBalances:h,title:n.sections[s],isLastNode:!0,config:t}))}})}return{config:t,headerNodes:i,contentNodes:l}}function Ee(e,t,o=!0){const a=y.getLocalizedStrings().reports,n=e.sections.expenses!=null&&e.sections.expenses.balances.length>0?[...e.sections.expenses.balances,...e.sections.expenses.additionalBalances]:e.sections.income!=null&&e.sections.income.balances.length>0?[...e.sections.income.balances,...e.sections.income.additionalBalances]:e.sections.cogs!=null&&e.sections.cogs.balances.length>0?[...e.sections.cogs.balances,...e.sections.cogs.additionalBalances]:e.sections.otherIncome!=null&&e.sections.otherIncome.balances.length>0?[...e.sections.otherIncome.balances,...e.sections.otherIncome.additionalBalances]:e.sections.otherExpenses!=null&&e.sections.otherExpenses.balances.length>0?[...e.sections.otherExpenses.balances,...e.sections.otherExpenses.additionalBalances]:[],d=t.mode!=null&&t.mode==="this_period_vs_period_before"&&n.length>1?e.filter.balancesRange.numberOfPeriods+2:e.filter.balancesRange.numberOfPeriods+1,p=H({balances:n,config:t}),l=[];return l.push(p),e.idsInOrder.forEach(i=>{if(_.isPandLReportViewSectionID(i)===!0&&(e.sections[i].accountGroups.length>0?l.push(te({section:e.sections[i],sectionType:i,numOfBalances:d,title:a.sections[i],isLastNode:!0,config:t})):l.push(se({sectionWithAcOnly:e.sections[i],sectionType:i,numOfBalances:d,title:a.sections[i],isLastNode:!0,config:t}))),_.isPandLReportViewCalculatedSectionID(i)===!0){const u=e.calculatedSections[i];u!=null&&l.push(j({calculatedSection:u,numOfBalances:d,title:a.sections[i],isLastNode:!0,config:t}))}}),{config:t,headerNodes:o?[p]:[],contentNodes:l}}const Z={contentPaddingLeft:new v(w[0],w[0],w[0]),contentPaddingRight:new v(w[3],w[3],w[8])},Ve=b.div`
|
|
2
2
|
height: ${e=>e.height}px;
|
|
3
3
|
width: 99.9%;
|
|
4
4
|
margin-top: ${C.sp2};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{c as A,j as a,F as S,q as de,aM as Ae,b3 as Z,bQ as Te,u as E,bR as J,bh as ee,C as M,bg as ae,aX as re,bS as oe,bT as ge,o as m,bU as te,h as g,aC as Fe,bV as pe,bW as me,y as xe,bX as fe,am as P,bY as F,b9 as V}from"./index-
|
|
1
|
+
import{c as A,j as a,F as S,q as de,aM as Ae,b3 as Z,bQ as Te,u as E,bR as J,bh as ee,C as M,bg as ae,aX as re,bS as oe,bT as ge,o as m,bU as te,h as g,aC as Fe,bV as pe,bW as me,y as xe,bX as fe,am as P,bY as F,b9 as V}from"./index-Ci6w3djJ.js";import{b as R,w as le,n as x}from"./vendor-Bs1fkIUX.js";import{p as b,d as ne,y as W,b as N,g as ce,u as T}from"./chartTypes-BkGKZtjd-9mZz2BPE.js";import{i as K,h as se,c as I}from"./toCOABalancesWithID-jZvgYCO7-K9Aq1Sm_.js";import{V as Q}from"./toChartData-XC5K1jEk-BCy0qlOQ.js";const X={legendLabelMarginLeft:new xe(2,2),legendLabelMarginRight:new xe(E[3],E[4])},Ve=x.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
`,He=x.div`
|
|
4
4
|
margin: ${m.sp2} ${m.sp0} ${m.sp2} ${m.sp0};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{q as Tt,ax as jt,y,fg as vt,F as St,fh as Ct,fi as Dt,j as t,fj as It,fk as le,fl as Pt,l as d,fm as At,fn as kt,aM as v,fo as Mt,aN as k,fp as Bt,fq as Nt,fr as ke,fs as Me,ft as Be,C as Y,fu as O,fv as z,fw as _,h as S,fx as Ft,fy as Et,fz as Rt,fA as Lt,c5 as Ne,o as n,aQ as Ot,u as c,aj as zt,cg as _t,O as Wt,H as Ht,fB as Ut,cw as Zt,am as se,an as de,fC as qt,fD as Vt,bm as Yt,s as Kt,b8 as Gt,ar as Xe,bP as Xt,ai as Qe,bx as Qt,fE as Jt}from"./index-JJMBnBNB.js";import{b as H,n as i}from"./vendor-Bs1fkIUX.js";import{t as en,o as tn}from"./LowBalancePopup-Cnt8hF5d-CFST9NVY.js";import{S as W}from"./LabeledText-VrCpjPlp-f50Lqvph.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.js";const Je=["small","medium-compact","medium-regular"],p={largeLabelWidth:new y(150,215,215),infoMinWidth:new y(0,0,0,142,142),infoMarginRight:new y(0,0,0,c[2],c[2]),footerButtonWidth:new y(120,165),iconContainerMarginTop:new y(6,c[1]),navBarContainerPaddingTop:new y(10,c[3]),sectionTitleMarginLeft:new y(c[3],c[0]),reviewContainerMarginLeft:new y(c[3],c[6]),reviewContainerMarginRight:new y(c[3],c[8]),footerRightIconMarginRight:new y(c[0],c[0],c[7]),infoLabelPaddingRight:new y(c[0],c[3]),infoLabelMarginTop:new y(c[1],c[0])},nn={sectionTitle:new Wt("h6Medium","h5Medium")},{dateFormat:Fe,common:{currency:j,labels:Ee,edit:an,strings:{empty:h}},spendManagement:{billPay:ln}}=St.getLocalizedStrings(),{billDetails:a,paymentDetails:Re}=ln,Le=({attachment:e})=>{const[w,x]=H.useState(!1),M=()=>{x(!1)},C=e.fileId?.length===0;return t.jsxs(Bn,{isDisabled:e.fileId?.length===0,"data-testid":v("attachment-tag",e.fileName),onClick:()=>C===!1?x(!0):null,children:[w&&e?.fileDownloadUrl!=null?t.jsx(qt,{title:e.fileName,file:e,onCrossClick:()=>M(),setShowFullScreenView:x}):null,t.jsx(Nn,{children:t.jsx(Vt,{contentType:e.contentType})})]})},ti=({billDetails:e,billpayApprovalView:w,isBillPayCommentingEnabled:x,currentTenant:M,isInternationalPaymentShaVsOurEnabled:C,isLocalCurrencyEnabled:et,style:tt,analytics:$,isRecurringBillsFeatureEnabled:nt,isApprovalRequiredForMarkAsPaid:it,isDetectInsufficientFundsEnabled:at,billId:f,onClickEdit:ce,discardBillDetailsFromLocalStore:me,saveBillDetails:pe,discardOutsideZeniPaymentData:lt,updateBillDetailSaveBillCode:ue,redirectToBillsScreen:ye,onAttachmentClick:Q,retryPayment:ot})=>{const s=Tt(),m=jt(),B={application:"dashboard",companyId:m.currentTenant?.companyId,tab:"bill",entityId:f},N=x&&f!=null,F=`dashboard_${m.currentTenant?.companyId}`,E=p.largeLabelWidth.value(s),R=e.saveStatus,J=e.zeniAssistRetryStatus,ee=e.vendor?.vendorCurrencyCode,o=vt(C,et,e.billPayConfigList.filter(l=>l.method.includes(e.paymentDetailsSection?.withdrawFrom?.accType??"depositAccount")),e.paymentDetailsSection?.internationalTransferFeeBearerPaymentMethod,e.paymentDetailsSection?.paymentType,ee),D=Fe.visual.MMMDCommaYYYYformat,he={amount:e.recipientTotalAmount.amount/(e.paymentDetailsSection?.conversionRate??1)*100/100,currencyCode:j.currencyCode,currencySymbol:j.currencySymbol},u={amount:o?.method.includes("international")===!0?Ct(he,o):e.recipientTotalAmount.amount+(o?.fee.amount??0),currencyCode:j.currencyCode,currencySymbol:j.currencySymbol},L={amount:o?.method.includes("international")===!0?Dt(he,o):o?.fee.amount??0,currencyCode:j.currencyCode,currencySymbol:j.currencySymbol},[rt,ge]=H.useState(!1),[st,xe]=H.useState(!1),fe=()=>ge(!1),dt=()=>{$.trackBillPayMagicLinkPreviewEmail("review_bill"),ge(!0)},ct=e.isCollectToAccountInfoFromVendorContact?t.jsxs(t.Fragment,{children:[`${a.magicLink.collectFrom} ${e.toAccountVendorEmail}`,t.jsx(An,{size:s,children:t.jsx(Pn,{})})]}):It(e.paymentDetailsSection?.paymentTo);H.useEffect(()=>{(R?.fetchState==="Completed"||J?.fetchState==="Completed")&&(me(),ue(),ye())},[R,J,ye,me,ue]);const T=e.billPayInfo?.stage,P=e.billPayInfo?.billStatus,U=e.billPayInfo?.billPaymentStatus,mt=e.billPayInfo?.billPaymentRefundStatus,te=T?.code==="paid"?T:P?.code=="approved"&&U?.code?U:P,pt=e.billPayInfo?.isRefundInitiated===!0?mt:P?.code=="approved"&&U?.code?U:P,ne=()=>{ce()},be=()=>{ce()},Z=e.paymentDetailsSection?.paymentDate,ie=le(o?.method??""),we=ie.replace("Same Day",""),ut=e.isCollectToAccountInfoFromVendorContact?t.jsx(Pt,{paymentTypeLabel:we,onClick:dt}):a.addedByZeni,q=w.allApprovalRules.length>0,yt=d.toAmount(o?.method!=null&&(o.method.includes(d.NEW_INTERNATIONAL_METHOD_SUBTEXT)||o?.fee.amount!=null&&o.fee.amount!==0)?u.amount-L.amount:u.amount,o?.fee.currencyCode??d.defaultVendorCurrency.currencyCode,o?.fee.currencySymbol??d.defaultVendorCurrency.currencySymbol),g=d.isPaymentMethodOutsideZeni(e.paymentDetailsSection?.paymentType?.method),ht=l=>{$.trackBillPayMarkAsPaidSubmit(l.paymentMode??"other",T?.code??"draft",te?.code??""),pe(!0,l)},$e=()=>{xe(!0),$.trackBillPayMarkAsPaid(T?.code??"draft",te?.code??"")},gt=()=>{lt(),xe(!1)},A=g&&(T?.code!=null?T.code==="draft"||P?.code==="approved":!0),b=A&&!it,Te=Oe(b,q,e.isBillMarkedForRetry),xt=()=>g?b?void 0:a.paymentOutsideZeni.reviewInfo:o?.method!=null&&o.method.includes(d.NEW_INTERNATIONAL_METHOD_SUBTEXT)&&e.paymentDetailsSection?.internationalTransferFeeBearerPaymentMethod!=null&&C&&ee===j.currencyCode?Et(e.paymentDetailsSection.internationalTransferFeeBearerPaymentMethod):void 0,ae=at&&e.paymentDetailsSection!=null?At(u,e.paymentDetailsSection.withdrawFrom,e.paymentDetailsSection.paymentDate):void 0,ft=()=>{const l=e.paymentDetailsSection?.paymentDate,r=e.isCollectToAccountInfoFromVendorContact,I=e.recurringConfig,wt=e.recipientTotalAmount;if(e.isInvoiceDateAutoUpdated===!0&&$.trackBillPayAutoDateChange(f??"new_bill"),o?.method!=null&&l!=null){const $t=g?a.paymentOutsideZeni.offline:le(o.method);if($.trackBillPaySendForApproval($t,l.format(Fe.analytics.MMMDashDDDashYYYYFormat),r,e.isRecurring,f,e.paymentDetailsSection?.internationalTransferFeeBearerPaymentMethod,{startDate:d.zeniDate(I?.startDate?.toString()??"").format(D),endDate:d.zeniDate(I?.endDate?.toString()??"").format(D),frequency:I?.frequency??"monthly",totalAmount:wt.amount,totalPaymentCycles:I?.totalPaymentCycles??0,isApprovalRequired:I?.isApprovalRequired??!1,updateCurrentBill:e.recurringConfig?.id!=null?I?.updateRecurringBills==="current":void 0,updateFutureRecurringBills:e.recurringConfig?.id!=null?I?.updateRecurringBills==="all":void 0}),ae!=null){const Se=T?.code??"draft",Ce=P?.code??"",De=e.isRecurring?["Recurring"]:["One-Time"],Ie=e.invoiceNumber??"",Pe=Jt(m.loggedInUser),Ae=e.paymentDetailsSection?.withdrawFrom?.accType==="depositAccount"?"ZA":"External Account";Te===a.scheduleBill?$.trackLowBalanceAccountSchedule(Se,Ce,De,Ie,Pe,Ae):Te===a.sendForApproval&&$.trackLowBalanceAccountSentForApproval(Se,Ce,De,Ie,Pe,Ae)}}},je=()=>{ve===!0&&V(!1),e.isBillMarkedForRetry===!0?(ot(),$.trackRetryConfirmClick(te?.code??"",T?.code??"",pt?.description??"",e.isRecurring?["Recurring"]:["One-Time"],e.invoiceNumber??"")):e.vendor!=null&&(ft(),pe(!1,{}))},bt=d.checkIfCreatorIsApprover(u.amount,w.allApprovalRules,m.loggedInUser),[ve,V]=H.useState(!1);return t.jsxs(hn,{children:[st?t.jsx(en,{onCancel:gt,onProceedForMarkAsPaid:ht,saveDetailsFetchState:R?.fetchState,paymentData:e.outsideZeniPaymentInfo}):null,ve?t.jsx(tn,{withdrawFrom:e.paymentDetailsSection?.withdrawFrom,paymentDate:e.paymentDetailsSection?.paymentDate,onOkClick:je,onCancelClick:()=>{V(!1),ne()},onClickAway:()=>{V(!1)}}):null,t.jsx(kt,{anchor:"right",open:rt,onClose:fe,transitionDuration:250,"data-testid":v("vendor-email-preview-drawer"),children:t.jsx(Mt,{companyName:Bt(M.company?.companyInfo),vendor:e.vendor?.name,paymentDate:Z?.format(D)??"",paymentType:we,amount:k("0,0[.]00",u),isInvoiceAttached:!!e.file,onClose:fe})}),t.jsxs(gn,{windowSize:s,style:tt,children:[s==="small"?t.jsxs(In,{windowSize:s,children:[t.jsx(qe,{onClick:be,"data-testid":v("review-detail-nav-bar-small-back")}),t.jsx(We,{windowSize:s,children:a.oneLastLook})]}):t.jsx(Dn,{"data-testid":v("review-details-nav-bar-back"),children:t.jsx(qe,{onClick:be})}),s!=="small"?t.jsx(fn,{children:t.jsx(We,{windowSize:s,children:a.oneLastLook})}):null,e.duplicateBillTransactions.length>0?t.jsxs(bn,{children:[t.jsxs(wn,{children:[t.jsx(zn,{}),t.jsxs($n,{children:[t.jsx(jn,{children:a.duplicateBillPayWarning}),t.jsxs(Tn,{children:[a.duplicateBillPayWarningSubHeading,t.jsxs("span",{"data-testid":v("review-detail-attachment-button"),onClick:()=>Q(e.duplicateBillTransactions[0].id,e.duplicateBillTransactions[0].billPayInfo.stage.code),style:{textDecoration:"underline",cursor:"pointer"},children:[a.viewBill,e.duplicateBillTransactions[0].documentId]})]})]})]}),t.jsxs(Rn,{children:[t.jsx(On,{children:a.duplicateInvoiceFound}),e.duplicateBillTransactions.map(l=>{const r=Nt(l);return l!=null?t.jsx(Ln,{children:Je.includes(s)?t.jsxs(He,{windowSize:s,children:[t.jsxs(vn,{children:[t.jsxs(Sn,{children:[l.attachments&&l.attachments.length>0?t.jsx(Le,{attachment:l.attachments[0]}):t.jsx(Ve,{children:t.jsx(Ye,{})}),t.jsx(G,{children:t.jsxs(t.Fragment,{children:[l.documentId!=null?a.invoiceNo:null,l.documentId]})})]}),t.jsx(Ke,{windowSize:s,children:k("0,0[.]00",l.recipientTotalAmount)})]}),t.jsxs(Fn,{"data-testid":v("review-detail-mobile-info"),onClick:()=>Q(l.id,l.billPayInfo.stage.code),children:[t.jsxs(G,{children:[l.dueDate!=null?a.due:null," ",l.dueDate?.format(D)]}),t.jsx(Ge,{children:r!=null?ke.includes(r.code)?t.jsx(Me,{style:{padding:"2px 5px"},title:r.value,placement:"top",children:t.jsx(X,{color:r.color,bgColor:r.bgColor,borderColor:r.borderColor,children:r.value})}):t.jsx(X,{color:r.color,bgColor:r.bgColor,borderColor:r.borderColor,children:r.value}):null})]})]}):t.jsxs(He,{windowSize:s,children:[l.attachments&&l.attachments.length>0?t.jsx(Le,{attachment:l.attachments[0]}):t.jsx(Ve,{children:t.jsx(Ye,{})}),t.jsxs(En,{"data-testid":v("review-detail-info"),onClick:()=>Q(l.id,l.billPayInfo.stage.code),children:[t.jsx(G,{style:{width:"50%"},children:t.jsxs("div",{children:[l.documentId!=null?a.invoiceNo:null," ",l.documentId]})}),t.jsxs(G,{style:{width:"25%"},children:[l.dueDate!=null?a.due:null," ",l.dueDate?.format(D)]}),t.jsx(Ke,{style:{width:"25%"},windowSize:s,children:k("0,0[.]00",l.amount)})]}),t.jsx(Ge,{children:r!=null?ke.includes(r.code)?t.jsx(Me,{style:{padding:"2px 5px"},title:r.value,placement:"top",children:t.jsx(X,{color:r.color,bgColor:r.bgColor,borderColor:r.borderColor,children:r.value})}):t.jsx(X,{color:r.color,bgColor:r.bgColor,borderColor:r.borderColor,children:r.value}):null})]})},l.id):null})]})]}):null,t.jsxs(Cn,{children:[t.jsx(Ue,{children:a.pay}),t.jsx(Ze,{children:t.jsx(Be,{amount:yt,integerStyles:Y.largeMedium.cssObject,decimalStyles:Y.smallMedium.cssObject})}),t.jsx(Ue,{children:a.to}),t.jsx(Ze,{children:e.vendor?.name})]}),t.jsxs(xn,{children:[g?null:t.jsxs(t.Fragment,{children:[t.jsx(O,{isThreadAllowed:N,entityId:f,dashboardTabKey:_({type:"details",key:"withdrawFrom"}),roomId:F,companyId:m.currentTenant?.companyId??h,companyName:m.currentTenant?.companyName??h,dashboardOptionType:"bill",filterMetaData:{...B,entityType:`bill.details.${z("withdrawFrom")}`},children:t.jsx(W,{label:{label:a.withdrawFrom,width:E},style:{width:"auto"},value:e.paymentDetailsSection?.withdrawFrom!=null?Ft(e.paymentDetailsSection.withdrawFrom,s):h,infoLabelStyle:{textAlign:s==="small"?"left":"right",paddingRight:p.infoLabelPaddingRight.valuePx(s),marginTop:p.infoLabelMarginTop.valuePx(s),color:S.brandColorGoldDark},additionalInfoLabel:ae})}),t.jsx(K,{})]}),t.jsx(O,{isThreadAllowed:N,entityId:f,dashboardTabKey:_({type:"details",key:"paymentType"}),roomId:F,companyId:m.currentTenant?.companyId??h,companyName:m.currentTenant?.companyName??h,dashboardOptionType:"bill",filterMetaData:{...B,entityType:`bill.details.${z("paymentType")}`},children:t.jsx(W,{label:{label:a.paymentMethod,width:E},style:{width:"auto"},value:le(o?.method??""),additionalInfoLabel:xt()})}),t.jsx(K,{}),!g&&Z!=null?t.jsxs(t.Fragment,{children:[t.jsx(O,{isThreadAllowed:N,entityId:f,dashboardTabKey:_({type:"details",key:"paymentDate"}),roomId:F,companyId:m.currentTenant?.companyId??h,companyName:m.currentTenant?.companyName??h,dashboardOptionType:"bill",filterMetaData:{...B,entityType:`bill.details.${z("paymentDate")}`},children:t.jsx(W,{label:{label:a.paymentDate,width:E},style:{width:"auto"},value:Z.format(D),additionalInfoLabel:`${a.estimatedArrival}${d.zeniDate(d.getNextNthWorkingDay(Z.toDate(),[0,6],o?.maxPeriod.value??0).toDateString()).format(D)} - (${ie.length>0?`${ie} `:""}${a.deliveryTimeLabel} = ${o?.maxPeriod.value??"0"} ${a.deliveryTimeUnits})`})}),t.jsx(K,{})]}):null,g?null:t.jsx(O,{isThreadAllowed:N,entityId:f,dashboardTabKey:_({type:"details",key:"paymentTo"}),roomId:F,companyId:m.currentTenant?.companyId??h,companyName:m.currentTenant?.companyName??h,dashboardOptionType:"bill",filterMetaData:{...B,entityType:`bill.details.${z("paymentTo")}`},children:t.jsx(W,{label:{label:a.paymentTo,width:E},style:{width:"auto"},value:ct??"",additionalInfoLabel:ut})}),g||nt?t.jsxs(t.Fragment,{children:[t.jsx(K,{}),t.jsx(O,{isThreadAllowed:N,entityId:f,dashboardTabKey:_({type:"details",key:"recurringPaymentType"}),roomId:F,companyId:m.currentTenant?.companyId??h,companyName:m.currentTenant?.companyName??h,dashboardOptionType:"bill",filterMetaData:{...B,entityType:`bill.details.${z("recurringPaymentType")}`},children:t.jsx(W,{label:{label:a.paymentType,width:E},style:{width:"auto"},value:Lt(e.isRecurring,g,e.recurringBillInstance??1,e.recurringConfig?.totalPaymentCycles??0),additionalInfoLabel:Rt(s,e.isRecurring,g,e.recurringConfig)})})]}):null]}),!g&&o?.method!=null&&(o.method.includes(d.NEW_INTERNATIONAL_METHOD_SUBTEXT)||o?.fee.amount!=null&&o.fee.amount!==0)?t.jsx(mn,{children:t.jsxs(pn,{windowSize:s,children:[t.jsxs(un,{children:[t.jsx(sn,{children:a.total}),t.jsx(Ne,{style:{padding:`12px ${n.sp3}`,lineHeight:"18px"},maxWidth:"312px",title:t.jsxs(cn,{children:[t.jsxs(_e,{children:[t.jsx(re,{children:o.method.includes(d.NEW_INTERNATIONAL_METHOD_SUBTEXT)&&ee!==j.currencyCode?Re.conversionAmountColon:Ee.invoiceAmount}),t.jsx(oe,{children:k("0,0[.]00",{amount:u.amount-L.amount,currencySymbol:L.currencySymbol})})]}),t.jsxs(_e,{children:[t.jsx(re,{children:Re.transactionFee}),t.jsx(oe,{children:k("0,0[.]00",{amount:L.amount,currencySymbol:L.currencySymbol})})]}),t.jsx(dn,{}),t.jsxs(rn,{children:[t.jsx(re,{children:Ee.total}),t.jsx(oe,{children:k("0,0[.]00",{amount:u.amount,currencyCode:u.currencyCode,currencySymbol:u.currencySymbol})})]})]}),placement:"top-end",children:t.jsx(on,{})})]}),t.jsx(yn,{children:t.jsx(Be,{amount:d.toAmount(u.amount,u.currencyCode,u.currencySymbol),integerStyles:Y.h6Medium.cssObject,decimalStyles:Y.standardMedium.cssObject})})]})}):null]}),t.jsx(Ot,{cancelBtn:{label:A&&!b?a.paymentOutsideZeni.markAsPaid:a.editBill,onClick:A&&!b?$e:ne,style:{width:ze(!1,A,b,q,s)}},primaryBtn:{label:Oe(b,q,e.isBillMarkedForRetry),isLoading:R?.fetchState==="In-Progress"||J?.fetchState==="In-Progress",onClick:b?$e:()=>{bt&&ae!=null?V(!0):je()},style:{width:ze(!0,A,b,q,s)}},rightSideComponent:A&&!b&&R.fetchState!=="In-Progress"?t.jsx(_n,{windowSize:s,children:t.jsx(Ne,{style:{color:S.heroDark,padding:`2px ${n.sp2}`},display:"flex",title:an,placement:"top",children:t.jsx(Hn,{onClick:ne,"data-testid":v("review-detail-edit-bill-button"),children:t.jsx(Wn,{})})})}):null,style:{minHeight:e.paymentDetailsSection?.paymentType?.method!=null&&e.paymentDetailsSection.paymentType.method.includes(d.NEW_INTERNATIONAL_METHOD_SUBTEXT)?127:62,...e.paymentDetailsSection?.paymentType?.method!=null&&e.paymentDetailsSection.paymentType.method.includes(d.NEW_INTERNATIONAL_METHOD_SUBTEXT)&&{padding:n.sp3,rowGap:n.sp3}},children:e.paymentDetailsSection?.paymentType?.method!=null&&e.paymentDetailsSection.paymentType.method.includes(d.NEW_INTERNATIONAL_METHOD_SUBTEXT)?t.jsxs(kn,{children:[a.internationalText1,t.jsx(Mn,{href:"https://www.nium.com/legal/end-customer-terms",target:"_Blank",rel:"noopener noreferrer",children:a.internationalTerms}),a.internationalText2]}):null})]})},Oe=(e,w,x)=>e?a.paymentOutsideZeni.markAsPaid:x===!0?a.retryPayment:w?a.sendForApproval:a.scheduleBill,ze=(e,w,x,M,C)=>x?128:w&&!e&&C==="small"?"auto":M?165:p.footerButtonWidth.value(C),on=i(Xt)`
|
|
1
|
+
import{q as Tt,ax as jt,y,fg as vt,F as St,fh as Ct,fi as Dt,j as t,fj as It,fk as le,fl as Pt,l as d,fm as At,fn as kt,aM as v,fo as Mt,aN as k,fp as Bt,fq as Nt,fr as ke,fs as Me,ft as Be,C as Y,fu as O,fv as z,fw as _,h as S,fx as Ft,fy as Et,fz as Rt,fA as Lt,c5 as Ne,o as n,aQ as Ot,u as c,aj as zt,cg as _t,O as Wt,H as Ht,fB as Ut,cw as Zt,am as se,an as de,fC as qt,fD as Vt,bm as Yt,s as Kt,b8 as Gt,ar as Xe,bP as Xt,ai as Qe,bx as Qt,fE as Jt}from"./index-Ci6w3djJ.js";import{b as H,n as i}from"./vendor-Bs1fkIUX.js";import{t as en,o as tn}from"./LowBalancePopup-YZDhdF8c-YFnNkRi7.js";import{S as W}from"./LabeledText-imTCum1u-C4LjRwSo.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.js";const Je=["small","medium-compact","medium-regular"],p={largeLabelWidth:new y(150,215,215),infoMinWidth:new y(0,0,0,142,142),infoMarginRight:new y(0,0,0,c[2],c[2]),footerButtonWidth:new y(120,165),iconContainerMarginTop:new y(6,c[1]),navBarContainerPaddingTop:new y(10,c[3]),sectionTitleMarginLeft:new y(c[3],c[0]),reviewContainerMarginLeft:new y(c[3],c[6]),reviewContainerMarginRight:new y(c[3],c[8]),footerRightIconMarginRight:new y(c[0],c[0],c[7]),infoLabelPaddingRight:new y(c[0],c[3]),infoLabelMarginTop:new y(c[1],c[0])},nn={sectionTitle:new Wt("h6Medium","h5Medium")},{dateFormat:Fe,common:{currency:j,labels:Ee,edit:an,strings:{empty:h}},spendManagement:{billPay:ln}}=St.getLocalizedStrings(),{billDetails:a,paymentDetails:Re}=ln,Le=({attachment:e})=>{const[w,x]=H.useState(!1),M=()=>{x(!1)},C=e.fileId?.length===0;return t.jsxs(Bn,{isDisabled:e.fileId?.length===0,"data-testid":v("attachment-tag",e.fileName),onClick:()=>C===!1?x(!0):null,children:[w&&e?.fileDownloadUrl!=null?t.jsx(qt,{title:e.fileName,file:e,onCrossClick:()=>M(),setShowFullScreenView:x}):null,t.jsx(Nn,{children:t.jsx(Vt,{contentType:e.contentType})})]})},ti=({billDetails:e,billpayApprovalView:w,isBillPayCommentingEnabled:x,currentTenant:M,isInternationalPaymentShaVsOurEnabled:C,isLocalCurrencyEnabled:et,style:tt,analytics:$,isRecurringBillsFeatureEnabled:nt,isApprovalRequiredForMarkAsPaid:it,isDetectInsufficientFundsEnabled:at,billId:f,onClickEdit:ce,discardBillDetailsFromLocalStore:me,saveBillDetails:pe,discardOutsideZeniPaymentData:lt,updateBillDetailSaveBillCode:ue,redirectToBillsScreen:ye,onAttachmentClick:Q,retryPayment:ot})=>{const s=Tt(),m=jt(),B={application:"dashboard",companyId:m.currentTenant?.companyId,tab:"bill",entityId:f},N=x&&f!=null,F=`dashboard_${m.currentTenant?.companyId}`,E=p.largeLabelWidth.value(s),R=e.saveStatus,J=e.zeniAssistRetryStatus,ee=e.vendor?.vendorCurrencyCode,o=vt(C,et,e.billPayConfigList.filter(l=>l.method.includes(e.paymentDetailsSection?.withdrawFrom?.accType??"depositAccount")),e.paymentDetailsSection?.internationalTransferFeeBearerPaymentMethod,e.paymentDetailsSection?.paymentType,ee),D=Fe.visual.MMMDCommaYYYYformat,he={amount:e.recipientTotalAmount.amount/(e.paymentDetailsSection?.conversionRate??1)*100/100,currencyCode:j.currencyCode,currencySymbol:j.currencySymbol},u={amount:o?.method.includes("international")===!0?Ct(he,o):e.recipientTotalAmount.amount+(o?.fee.amount??0),currencyCode:j.currencyCode,currencySymbol:j.currencySymbol},L={amount:o?.method.includes("international")===!0?Dt(he,o):o?.fee.amount??0,currencyCode:j.currencyCode,currencySymbol:j.currencySymbol},[rt,ge]=H.useState(!1),[st,xe]=H.useState(!1),fe=()=>ge(!1),dt=()=>{$.trackBillPayMagicLinkPreviewEmail("review_bill"),ge(!0)},ct=e.isCollectToAccountInfoFromVendorContact?t.jsxs(t.Fragment,{children:[`${a.magicLink.collectFrom} ${e.toAccountVendorEmail}`,t.jsx(An,{size:s,children:t.jsx(Pn,{})})]}):It(e.paymentDetailsSection?.paymentTo);H.useEffect(()=>{(R?.fetchState==="Completed"||J?.fetchState==="Completed")&&(me(),ue(),ye())},[R,J,ye,me,ue]);const T=e.billPayInfo?.stage,P=e.billPayInfo?.billStatus,U=e.billPayInfo?.billPaymentStatus,mt=e.billPayInfo?.billPaymentRefundStatus,te=T?.code==="paid"?T:P?.code=="approved"&&U?.code?U:P,pt=e.billPayInfo?.isRefundInitiated===!0?mt:P?.code=="approved"&&U?.code?U:P,ne=()=>{ce()},be=()=>{ce()},Z=e.paymentDetailsSection?.paymentDate,ie=le(o?.method??""),we=ie.replace("Same Day",""),ut=e.isCollectToAccountInfoFromVendorContact?t.jsx(Pt,{paymentTypeLabel:we,onClick:dt}):a.addedByZeni,q=w.allApprovalRules.length>0,yt=d.toAmount(o?.method!=null&&(o.method.includes(d.NEW_INTERNATIONAL_METHOD_SUBTEXT)||o?.fee.amount!=null&&o.fee.amount!==0)?u.amount-L.amount:u.amount,o?.fee.currencyCode??d.defaultVendorCurrency.currencyCode,o?.fee.currencySymbol??d.defaultVendorCurrency.currencySymbol),g=d.isPaymentMethodOutsideZeni(e.paymentDetailsSection?.paymentType?.method),ht=l=>{$.trackBillPayMarkAsPaidSubmit(l.paymentMode??"other",T?.code??"draft",te?.code??""),pe(!0,l)},$e=()=>{xe(!0),$.trackBillPayMarkAsPaid(T?.code??"draft",te?.code??"")},gt=()=>{lt(),xe(!1)},A=g&&(T?.code!=null?T.code==="draft"||P?.code==="approved":!0),b=A&&!it,Te=Oe(b,q,e.isBillMarkedForRetry),xt=()=>g?b?void 0:a.paymentOutsideZeni.reviewInfo:o?.method!=null&&o.method.includes(d.NEW_INTERNATIONAL_METHOD_SUBTEXT)&&e.paymentDetailsSection?.internationalTransferFeeBearerPaymentMethod!=null&&C&&ee===j.currencyCode?Et(e.paymentDetailsSection.internationalTransferFeeBearerPaymentMethod):void 0,ae=at&&e.paymentDetailsSection!=null?At(u,e.paymentDetailsSection.withdrawFrom,e.paymentDetailsSection.paymentDate):void 0,ft=()=>{const l=e.paymentDetailsSection?.paymentDate,r=e.isCollectToAccountInfoFromVendorContact,I=e.recurringConfig,wt=e.recipientTotalAmount;if(e.isInvoiceDateAutoUpdated===!0&&$.trackBillPayAutoDateChange(f??"new_bill"),o?.method!=null&&l!=null){const $t=g?a.paymentOutsideZeni.offline:le(o.method);if($.trackBillPaySendForApproval($t,l.format(Fe.analytics.MMMDashDDDashYYYYFormat),r,e.isRecurring,f,e.paymentDetailsSection?.internationalTransferFeeBearerPaymentMethod,{startDate:d.zeniDate(I?.startDate?.toString()??"").format(D),endDate:d.zeniDate(I?.endDate?.toString()??"").format(D),frequency:I?.frequency??"monthly",totalAmount:wt.amount,totalPaymentCycles:I?.totalPaymentCycles??0,isApprovalRequired:I?.isApprovalRequired??!1,updateCurrentBill:e.recurringConfig?.id!=null?I?.updateRecurringBills==="current":void 0,updateFutureRecurringBills:e.recurringConfig?.id!=null?I?.updateRecurringBills==="all":void 0}),ae!=null){const Se=T?.code??"draft",Ce=P?.code??"",De=e.isRecurring?["Recurring"]:["One-Time"],Ie=e.invoiceNumber??"",Pe=Jt(m.loggedInUser),Ae=e.paymentDetailsSection?.withdrawFrom?.accType==="depositAccount"?"ZA":"External Account";Te===a.scheduleBill?$.trackLowBalanceAccountSchedule(Se,Ce,De,Ie,Pe,Ae):Te===a.sendForApproval&&$.trackLowBalanceAccountSentForApproval(Se,Ce,De,Ie,Pe,Ae)}}},je=()=>{ve===!0&&V(!1),e.isBillMarkedForRetry===!0?(ot(),$.trackRetryConfirmClick(te?.code??"",T?.code??"",pt?.description??"",e.isRecurring?["Recurring"]:["One-Time"],e.invoiceNumber??"")):e.vendor!=null&&(ft(),pe(!1,{}))},bt=d.checkIfCreatorIsApprover(u.amount,w.allApprovalRules,m.loggedInUser),[ve,V]=H.useState(!1);return t.jsxs(hn,{children:[st?t.jsx(en,{onCancel:gt,onProceedForMarkAsPaid:ht,saveDetailsFetchState:R?.fetchState,paymentData:e.outsideZeniPaymentInfo}):null,ve?t.jsx(tn,{withdrawFrom:e.paymentDetailsSection?.withdrawFrom,paymentDate:e.paymentDetailsSection?.paymentDate,onOkClick:je,onCancelClick:()=>{V(!1),ne()},onClickAway:()=>{V(!1)}}):null,t.jsx(kt,{anchor:"right",open:rt,onClose:fe,transitionDuration:250,"data-testid":v("vendor-email-preview-drawer"),children:t.jsx(Mt,{companyName:Bt(M.company?.companyInfo),vendor:e.vendor?.name,paymentDate:Z?.format(D)??"",paymentType:we,amount:k("0,0[.]00",u),isInvoiceAttached:!!e.file,onClose:fe})}),t.jsxs(gn,{windowSize:s,style:tt,children:[s==="small"?t.jsxs(In,{windowSize:s,children:[t.jsx(qe,{onClick:be,"data-testid":v("review-detail-nav-bar-small-back")}),t.jsx(We,{windowSize:s,children:a.oneLastLook})]}):t.jsx(Dn,{"data-testid":v("review-details-nav-bar-back"),children:t.jsx(qe,{onClick:be})}),s!=="small"?t.jsx(fn,{children:t.jsx(We,{windowSize:s,children:a.oneLastLook})}):null,e.duplicateBillTransactions.length>0?t.jsxs(bn,{children:[t.jsxs(wn,{children:[t.jsx(zn,{}),t.jsxs($n,{children:[t.jsx(jn,{children:a.duplicateBillPayWarning}),t.jsxs(Tn,{children:[a.duplicateBillPayWarningSubHeading,t.jsxs("span",{"data-testid":v("review-detail-attachment-button"),onClick:()=>Q(e.duplicateBillTransactions[0].id,e.duplicateBillTransactions[0].billPayInfo.stage.code),style:{textDecoration:"underline",cursor:"pointer"},children:[a.viewBill,e.duplicateBillTransactions[0].documentId]})]})]})]}),t.jsxs(Rn,{children:[t.jsx(On,{children:a.duplicateInvoiceFound}),e.duplicateBillTransactions.map(l=>{const r=Nt(l);return l!=null?t.jsx(Ln,{children:Je.includes(s)?t.jsxs(He,{windowSize:s,children:[t.jsxs(vn,{children:[t.jsxs(Sn,{children:[l.attachments&&l.attachments.length>0?t.jsx(Le,{attachment:l.attachments[0]}):t.jsx(Ve,{children:t.jsx(Ye,{})}),t.jsx(G,{children:t.jsxs(t.Fragment,{children:[l.documentId!=null?a.invoiceNo:null,l.documentId]})})]}),t.jsx(Ke,{windowSize:s,children:k("0,0[.]00",l.recipientTotalAmount)})]}),t.jsxs(Fn,{"data-testid":v("review-detail-mobile-info"),onClick:()=>Q(l.id,l.billPayInfo.stage.code),children:[t.jsxs(G,{children:[l.dueDate!=null?a.due:null," ",l.dueDate?.format(D)]}),t.jsx(Ge,{children:r!=null?ke.includes(r.code)?t.jsx(Me,{style:{padding:"2px 5px"},title:r.value,placement:"top",children:t.jsx(X,{color:r.color,bgColor:r.bgColor,borderColor:r.borderColor,children:r.value})}):t.jsx(X,{color:r.color,bgColor:r.bgColor,borderColor:r.borderColor,children:r.value}):null})]})]}):t.jsxs(He,{windowSize:s,children:[l.attachments&&l.attachments.length>0?t.jsx(Le,{attachment:l.attachments[0]}):t.jsx(Ve,{children:t.jsx(Ye,{})}),t.jsxs(En,{"data-testid":v("review-detail-info"),onClick:()=>Q(l.id,l.billPayInfo.stage.code),children:[t.jsx(G,{style:{width:"50%"},children:t.jsxs("div",{children:[l.documentId!=null?a.invoiceNo:null," ",l.documentId]})}),t.jsxs(G,{style:{width:"25%"},children:[l.dueDate!=null?a.due:null," ",l.dueDate?.format(D)]}),t.jsx(Ke,{style:{width:"25%"},windowSize:s,children:k("0,0[.]00",l.amount)})]}),t.jsx(Ge,{children:r!=null?ke.includes(r.code)?t.jsx(Me,{style:{padding:"2px 5px"},title:r.value,placement:"top",children:t.jsx(X,{color:r.color,bgColor:r.bgColor,borderColor:r.borderColor,children:r.value})}):t.jsx(X,{color:r.color,bgColor:r.bgColor,borderColor:r.borderColor,children:r.value}):null})]})},l.id):null})]})]}):null,t.jsxs(Cn,{children:[t.jsx(Ue,{children:a.pay}),t.jsx(Ze,{children:t.jsx(Be,{amount:yt,integerStyles:Y.largeMedium.cssObject,decimalStyles:Y.smallMedium.cssObject})}),t.jsx(Ue,{children:a.to}),t.jsx(Ze,{children:e.vendor?.name})]}),t.jsxs(xn,{children:[g?null:t.jsxs(t.Fragment,{children:[t.jsx(O,{isThreadAllowed:N,entityId:f,dashboardTabKey:_({type:"details",key:"withdrawFrom"}),roomId:F,companyId:m.currentTenant?.companyId??h,companyName:m.currentTenant?.companyName??h,dashboardOptionType:"bill",filterMetaData:{...B,entityType:`bill.details.${z("withdrawFrom")}`},children:t.jsx(W,{label:{label:a.withdrawFrom,width:E},style:{width:"auto"},value:e.paymentDetailsSection?.withdrawFrom!=null?Ft(e.paymentDetailsSection.withdrawFrom,s):h,infoLabelStyle:{textAlign:s==="small"?"left":"right",paddingRight:p.infoLabelPaddingRight.valuePx(s),marginTop:p.infoLabelMarginTop.valuePx(s),color:S.brandColorGoldDark},additionalInfoLabel:ae})}),t.jsx(K,{})]}),t.jsx(O,{isThreadAllowed:N,entityId:f,dashboardTabKey:_({type:"details",key:"paymentType"}),roomId:F,companyId:m.currentTenant?.companyId??h,companyName:m.currentTenant?.companyName??h,dashboardOptionType:"bill",filterMetaData:{...B,entityType:`bill.details.${z("paymentType")}`},children:t.jsx(W,{label:{label:a.paymentMethod,width:E},style:{width:"auto"},value:le(o?.method??""),additionalInfoLabel:xt()})}),t.jsx(K,{}),!g&&Z!=null?t.jsxs(t.Fragment,{children:[t.jsx(O,{isThreadAllowed:N,entityId:f,dashboardTabKey:_({type:"details",key:"paymentDate"}),roomId:F,companyId:m.currentTenant?.companyId??h,companyName:m.currentTenant?.companyName??h,dashboardOptionType:"bill",filterMetaData:{...B,entityType:`bill.details.${z("paymentDate")}`},children:t.jsx(W,{label:{label:a.paymentDate,width:E},style:{width:"auto"},value:Z.format(D),additionalInfoLabel:`${a.estimatedArrival}${d.zeniDate(d.getNextNthWorkingDay(Z.toDate(),[0,6],o?.maxPeriod.value??0).toDateString()).format(D)} - (${ie.length>0?`${ie} `:""}${a.deliveryTimeLabel} = ${o?.maxPeriod.value??"0"} ${a.deliveryTimeUnits})`})}),t.jsx(K,{})]}):null,g?null:t.jsx(O,{isThreadAllowed:N,entityId:f,dashboardTabKey:_({type:"details",key:"paymentTo"}),roomId:F,companyId:m.currentTenant?.companyId??h,companyName:m.currentTenant?.companyName??h,dashboardOptionType:"bill",filterMetaData:{...B,entityType:`bill.details.${z("paymentTo")}`},children:t.jsx(W,{label:{label:a.paymentTo,width:E},style:{width:"auto"},value:ct??"",additionalInfoLabel:ut})}),g||nt?t.jsxs(t.Fragment,{children:[t.jsx(K,{}),t.jsx(O,{isThreadAllowed:N,entityId:f,dashboardTabKey:_({type:"details",key:"recurringPaymentType"}),roomId:F,companyId:m.currentTenant?.companyId??h,companyName:m.currentTenant?.companyName??h,dashboardOptionType:"bill",filterMetaData:{...B,entityType:`bill.details.${z("recurringPaymentType")}`},children:t.jsx(W,{label:{label:a.paymentType,width:E},style:{width:"auto"},value:Lt(e.isRecurring,g,e.recurringBillInstance??1,e.recurringConfig?.totalPaymentCycles??0),additionalInfoLabel:Rt(s,e.isRecurring,g,e.recurringConfig)})})]}):null]}),!g&&o?.method!=null&&(o.method.includes(d.NEW_INTERNATIONAL_METHOD_SUBTEXT)||o?.fee.amount!=null&&o.fee.amount!==0)?t.jsx(mn,{children:t.jsxs(pn,{windowSize:s,children:[t.jsxs(un,{children:[t.jsx(sn,{children:a.total}),t.jsx(Ne,{style:{padding:`12px ${n.sp3}`,lineHeight:"18px"},maxWidth:"312px",title:t.jsxs(cn,{children:[t.jsxs(_e,{children:[t.jsx(re,{children:o.method.includes(d.NEW_INTERNATIONAL_METHOD_SUBTEXT)&&ee!==j.currencyCode?Re.conversionAmountColon:Ee.invoiceAmount}),t.jsx(oe,{children:k("0,0[.]00",{amount:u.amount-L.amount,currencySymbol:L.currencySymbol})})]}),t.jsxs(_e,{children:[t.jsx(re,{children:Re.transactionFee}),t.jsx(oe,{children:k("0,0[.]00",{amount:L.amount,currencySymbol:L.currencySymbol})})]}),t.jsx(dn,{}),t.jsxs(rn,{children:[t.jsx(re,{children:Ee.total}),t.jsx(oe,{children:k("0,0[.]00",{amount:u.amount,currencyCode:u.currencyCode,currencySymbol:u.currencySymbol})})]})]}),placement:"top-end",children:t.jsx(on,{})})]}),t.jsx(yn,{children:t.jsx(Be,{amount:d.toAmount(u.amount,u.currencyCode,u.currencySymbol),integerStyles:Y.h6Medium.cssObject,decimalStyles:Y.standardMedium.cssObject})})]})}):null]}),t.jsx(Ot,{cancelBtn:{label:A&&!b?a.paymentOutsideZeni.markAsPaid:a.editBill,onClick:A&&!b?$e:ne,style:{width:ze(!1,A,b,q,s)}},primaryBtn:{label:Oe(b,q,e.isBillMarkedForRetry),isLoading:R?.fetchState==="In-Progress"||J?.fetchState==="In-Progress",onClick:b?$e:()=>{bt&&ae!=null?V(!0):je()},style:{width:ze(!0,A,b,q,s)}},rightSideComponent:A&&!b&&R.fetchState!=="In-Progress"?t.jsx(_n,{windowSize:s,children:t.jsx(Ne,{style:{color:S.heroDark,padding:`2px ${n.sp2}`},display:"flex",title:an,placement:"top",children:t.jsx(Hn,{onClick:ne,"data-testid":v("review-detail-edit-bill-button"),children:t.jsx(Wn,{})})})}):null,style:{minHeight:e.paymentDetailsSection?.paymentType?.method!=null&&e.paymentDetailsSection.paymentType.method.includes(d.NEW_INTERNATIONAL_METHOD_SUBTEXT)?127:62,...e.paymentDetailsSection?.paymentType?.method!=null&&e.paymentDetailsSection.paymentType.method.includes(d.NEW_INTERNATIONAL_METHOD_SUBTEXT)&&{padding:n.sp3,rowGap:n.sp3}},children:e.paymentDetailsSection?.paymentType?.method!=null&&e.paymentDetailsSection.paymentType.method.includes(d.NEW_INTERNATIONAL_METHOD_SUBTEXT)?t.jsxs(kn,{children:[a.internationalText1,t.jsx(Mn,{href:"https://www.nium.com/legal/end-customer-terms",target:"_Blank",rel:"noopener noreferrer",children:a.internationalTerms}),a.internationalText2]}):null})]})},Oe=(e,w,x)=>e?a.paymentOutsideZeni.markAsPaid:x===!0?a.retryPayment:w?a.sendForApproval:a.scheduleBill,ze=(e,w,x,M,C)=>x?128:w&&!e&&C==="small"?"auto":M?165:p.footerButtonWidth.value(C),on=i(Xt)`
|
|
2
2
|
width: ${n.sp3};
|
|
3
3
|
height: ${n.sp3};
|
|
4
4
|
color: ${e=>e.theme.colors.hero};
|
package/dist/assets/{ReviewOverlay-BKS6IxUd-B4wfg7Gq.js → ReviewOverlay-DejTxf0F-D0BNFHZK.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{q as k,j as e,aM as x,o as r,aQ as B,y as d,A as L,O as C,H as W,h as s,am as $,cP as R,m as I,ai as j,bl as D,u as n,eC as G,M as A,iV as H,j$ as O}from"./index-
|
|
1
|
+
import{q as k,j as e,aM as x,o as r,aQ as B,y as d,A as L,O as C,H as W,h as s,am as $,cP as R,m as I,ai as j,bl as D,u as n,eC as G,M as A,iV as H,j$ as O}from"./index-Ci6w3djJ.js";import{n as t}from"./vendor-Bs1fkIUX.js";const a={containerMarginTop:new d(0,n[2]),containerMarginLeft:new d(n[3],n[8]),containerMarginRight:new d(n[3],n[8]),subTitleMarginBottom:new d(n[2],n[2]),titleMarginBotom:new d(n[0],n[2]),titleMarginRight:new d(n[0],n[3]),navBarHeight:new d(62,62,62),navBarPaddingLeft:new d(n[3],n[3],n[8]),navBarPaddingRight:new d(n[3],n[3],n[8])},q={title:new C("h6Regular","h5Regular")},xi=({title:i,description:p,reviewItems:S,showFooter:b,footerProps:{primaryButton:z,cancelButton:T,hideCancel:E},onCloseOverlay:M,onCloseReviewItem:P})=>{const l=k();return e.jsxs(J,{children:[e.jsx(Y,{windowSize:l,children:e.jsx(Z,{children:e.jsx(_,{windowSize:l,children:e.jsx(ii,{children:e.jsx(ei,{onClick:M,"data-testid":x("review-overlay-close",i)})})})})}),e.jsxs(Q,{windowSize:l,children:[e.jsxs(V,{windowSize:l,children:[e.jsx(X,{children:e.jsx(K,{windowSize:l,children:i})}),e.jsx(N,{isError:p.isError,windowSize:l,children:p.content})]}),e.jsx(U,{windowSize:l,children:S.map(o=>{const h=o.reviewStatus.code==="error",c=o.reviewStatus.code==="warning"||o.reviewStatus.code==="low-balance";return e.jsxs(ri,{isLoading:!1,isActive:!0,isWarning:c,isError:h,children:[c?e.jsx(ci,{onClick:()=>P(o.id),"data-testid":x("review-close",o.id)}):null,e.jsxs(ti,{children:[e.jsxs(ni,{children:[e.jsx(di,{children:F(o)}),e.jsxs(oi,{children:[e.jsxs(m,{children:[e.jsx(u,{style:{marginLeft:r.sp2},isWarning:c,isError:h,children:o.leftSideText.title}),e.jsx(u,{isWarning:c,isError:h,children:o.rightSideText.title})]}),e.jsxs(m,{children:[e.jsx(si,{style:{marginLeft:r.sp2},children:o.leftSideText.subTitle}),l!=="small"?e.jsxs(w,{windowSize:l,children:[e.jsx(g,{isError:h,isWarning:c,children:e.jsxs(e.Fragment,{children:[o.rightSideText.showThunderIcon===!0?e.jsx(f,{children:e.jsx(y,{})}):null,o.rightSideText.subTitle]})}),e.jsx(g,{isWarning:!0,isError:!1,children:o.rightSideText.additonalInfo})]}):null]})]})]}),l==="small"?e.jsxs(w,{windowSize:l,children:[e.jsx(g,{style:{marginLeft:r.sp5,marginTop:r.sp0},isError:h,isWarning:c,children:e.jsxs(e.Fragment,{children:[o.rightSideText.showThunderIcon===!0?e.jsx(f,{children:e.jsx(y,{})}):null,o.rightSideText.subTitle]})}),e.jsx(g,{style:{marginLeft:r.sp5,marginTop:r.sp0},isWarning:c,isError:h,children:o.rightSideText.additonalInfo})]}):null]})]},o.id)})})]}),b?e.jsx(B,{primaryBtn:z,cancelBtn:T,showCancel:!E}):null]})},F=i=>i.reviewStatus.isLoading?e.jsx(I,{size:"Small",style:{display:"flex",width:r.sp4,height:r.sp4,alignItems:"center",justifyContent:"center"},start:!0}):i.reviewStatus.code==="error"?e.jsx(v,{isError:!0}):i.reviewStatus.code==="warning"?e.jsx(v,{isError:!1}):i.reviewStatus.code==="valid"?e.jsx(li,{}):i.reviewStatus.code==="low-balance"?e.jsx(hi,{}):e.jsx(ai,{}),J=t.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
background-color: ${i=>i.theme.colors.grey4};
|
package/dist/assets/{RoleWithToolTip-BfLzD5K8-DuzLs0Uw.js → RoleWithToolTip-SDWCAZAR-C5xFKYbN.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{f4 as h,f5 as x,j as t,c5 as m,o as n,aM as i,F as g,ao as j,ai as p}from"./index-
|
|
1
|
+
import{f4 as h,f5 as x,j as t,c5 as m,o as n,aM as i,F as g,ao as j,ai as p}from"./index-Ci6w3djJ.js";import{n as s}from"./vendor-Bs1fkIUX.js";const{hyphen:a}=g.getLocalizedStrings().common.strings,f=s.div``,y=s.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
min-width: 192px;
|
|
4
4
|
justify-content: space-between;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{aP as G,l as me,im as ee,gO as fe,eR as we,io as Je,aa as Me,ip as Ve,cS as _e,cT as Fe,j as a,F as xe,ad as Pe,cD as $e,cE as Ne,cF as qe,aQ as Re,iq as We,ir as Ue,ab as he,is as Se,it as ze,d3 as Be,q as He,iH as Ge,gT as re,u as R,h as De,y as Ce,cV as Ke,iu as Ye,iv as Xe,iw as Ze,o as _}from"./index-
|
|
1
|
+
import{aP as G,l as me,im as ee,gO as fe,eR as we,io as Je,aa as Me,ip as Ve,cS as _e,cT as Fe,j as a,F as xe,ad as Pe,cD as $e,cE as Ne,cF as qe,aQ as Re,iq as We,ir as Ue,ab as he,is as Se,it as ze,d3 as Be,q as He,iH as Ge,gT as re,u as R,h as De,y as Ce,cV as Ke,iu as Ye,iv as Xe,iw as Ze,o as _}from"./index-Ci6w3djJ.js";import{b as m,n as U}from"./vendor-Bs1fkIUX.js";import{i as Qe,r as et,n as tt,o as lt}from"./ScheduleSequenceTable-D8Xld3H6-DxHk09G_.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.js";const W={labelWidth:new Ce(160,160,160),depCategoryLabelWidth:new Ce(200,280,280)},at=U.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
width: 100%;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{aP as _,l as ie,im as Q,gO as ke,eR as Ie,io as Je,aa as we,ip as Le,cS as Me,cT as Ve,j as a,F as De,ad as Pe,cD as Fe,cE as _e,cF as $e,aQ as Ne,iq as qe,ir as ze,ab as re,is as pe,it as Ue,d3 as We,q as Be,gT as me,u as X,h as Re,y as Ke,iu as Ye,iv as Ge,iw as He,o as w}from"./index-
|
|
1
|
+
import{aP as _,l as ie,im as Q,gO as ke,eR as Ie,io as Je,aa as we,ip as Le,cS as Me,cT as Ve,j as a,F as De,ad as Pe,cD as Fe,cE as _e,cF as $e,aQ as Ne,iq as qe,ir as ze,ab as re,is as pe,it as Ue,d3 as We,q as Be,gT as me,u as X,h as Re,y as Ke,iu as Ye,iv as Ge,iw as He,o as w}from"./index-Ci6w3djJ.js";import{b as D,n as P}from"./vendor-Bs1fkIUX.js";import{i as Qe,r as Xe,n as Ze,o as et}from"./ScheduleSequenceTable-D8Xld3H6-DxHk09G_.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.js";const z={labelWidth:new Ke(160,160,160)},tt=P.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
width: 100%;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{q as F,c as X,j as t,ix as ie,F as N,iy as le,O as oe,iz as ge,e7 as fe,ft as we,C as A,iA as ye,iw as be,o as i,y as b,h as j,s as $e,ab as re,e3 as je,cD as Se,cF as ke,d3 as Z,db as ee,d9 as ve,iB as U,iC as Ce,b3 as De,iD as Me,cH as ze,iE as Oe,u as h,am as O,b8 as Ee,cE as Le,ap as pe,dc as Ae,b1 as ne,dn as Fe,aQ as Ie,l as Y,iF as I,gq as Te,aN as Ve,iG as Je,aU as G,dd as Be,bl as Pe}from"./index-
|
|
1
|
+
import{q as F,c as X,j as t,ix as ie,F as N,iy as le,O as oe,iz as ge,e7 as fe,ft as we,C as A,iA as ye,iw as be,o as i,y as b,h as j,s as $e,ab as re,e3 as je,cD as Se,cF as ke,d3 as Z,db as ee,d9 as ve,iB as U,iC as Ce,b3 as De,iD as Me,cH as ze,iE as Oe,u as h,am as O,b8 as Ee,cE as Le,ap as pe,dc as Ae,b1 as ne,dn as Fe,aQ as Ie,l as Y,iF as I,gq as Te,aN as Ve,iG as Je,aU as G,dd as Be,bl as Pe}from"./index-Ci6w3djJ.js";import{b as D,n as o,i as B}from"./vendor-Bs1fkIUX.js";const R=(e,l)=>`${e}.${l}`,{formElements:{dayOfMonthSelector:M},common:se}=N.getLocalizedStrings();function Ne({defaultValue:e,name:l,placeholder:s,alignLeft:r=!1,style:p,isDisabled:n,registerOptions:d,onSaveClick:c,onCancelClick:y}){const[f,u]=D.useState(!1),{control:m,formState:{errors:g},setValue:S}=Z(),v=()=>{k||(c(),u(!1))},w=()=>{y(),u(!1)},k=ee(g,l),x=F(),a=X();return t.jsx(pe,{onClickAway:()=>{u(!1)},children:t.jsx(Ke,{style:p,isDisabled:n!=null,windowSize:x,onClick:()=>{!f&&n==null&&u(!0)},children:t.jsx(Ae,{name:R(l,"dayOfMonth"),control:m,rules:{...d},render:()=>t.jsxs(He,{children:[t.jsx(Re,{placeholder:s,defaultValue:e,isDisabled:n}),f?t.jsxs(_e,{alignLeft:r===!0,children:[t.jsx(Ze,{}),t.jsxs(ae,{isSelected:e.type==="day",children:[t.jsxs(Xe,{isError:e.type==="day"&&k,children:[t.jsx(ne,{label:{label:M.pickDate},radioField:{id:"day",name:R(l,"type"),value:"day",radioSize:"small",checked:e.type==="day"},style:{...A.smallRegular.cssObject,padding:`${i.sp3} ${i.sp0}`,width:"fit-content",marginLeft:i.sp3,minWidth:"35%"},labelStyle:{color:e.type==="day"&&k?j.important:"inherit"}}),t.jsx(Fe,{name:R(l,"dayOfMonth"),type:"number",placeholder:M.placeholder,disableCopyPaste:!0,autoTrim:"trim",onKeyDown:$=>{$.key!=="Backspace"&&isNaN(parseInt($.key))&&$.preventDefault()},defaultValue:e.dayOfMonth!=null&&!isNaN(e.dayOfMonth)?e.dayOfMonth:0,registerOptions:{min:1,max:28},outerDivStyle:{width:"fit-content",marginLeft:i.sp1,marginRight:i.sp1},style:{border:`1px solid ${e.type==="day"&&k?j.important:a.colors.grey2}`,borderRadius:i.sp1,...A.smallRegular.cssObject,padding:i.sp2,maxWidth:"35px",boxSizing:"border-box"}}),t.jsx(Ue,{isSelected:e.type==="day",children:M.ofEveryMonth})]}),t.jsx(We,{defaultValue:e.dayOfMonth,onClick:$=>{S(`${l}.dayOfMonth`,$),S(`${l}.type`,"day")}})]}),t.jsx(et,{}),t.jsx(ae,{isSelected:e.type==="lastDayOfMonth",children:t.jsx(ne,{label:{label:M.lastDayOfMonth},radioField:{id:"lastDayOfMonth",name:R(l,"type"),value:"lastDayOfMonth",radioSize:"small",checked:e.type==="lastDayOfMonth"},style:{...A.smallRegular.cssObject,padding:`${i.sp3} ${i.sp0}`,width:"fit-content",marginLeft:i.sp3},labelStyle:{color:e.type==="lastDayOfMonth"&&k?j.important:"inherit"}})}),t.jsx(Ie,{primaryBtn:{label:se.footer.save,onClick:v,isDisabled:qe(e),type:"button",style:{minWidth:"83px"}},cancelBtn:{label:se.footer.cancel,onClick:w,style:{minWidth:"83px"}},style:{position:"unset",backgroundColor:"transparent"}})]}):null]})})})})}function Re({placeholder:e,defaultValue:l,isDisabled:s}){return t.jsxs(Ye,{isDisabled:s!=null,children:[l?.type==null?t.jsx(Ge,{children:e}):null,l?.type=="day"&&l.dayOfMonth!=null?t.jsxs(de,{children:[t.jsx(W,{children:M.daysOfMonth[`${l.dayOfMonth}`]}),t.jsx(W,{children:M.ofEveryMonth})]}):null,l?.type==="lastDayOfMonth"?t.jsxs(de,{children:[t.jsx(W,{children:M.daysOfMonth.lastDayOfMonth}),t.jsx(W,{children:M.ofEveryMonth})]}):null]})}function We({defaultValue:e,onClick:l}){return t.jsxs(Qe,{children:[t.jsx(q,{children:[...Array(7).keys()].map(s=>{const r=s+1;return t.jsx(H,{isSelected:r===e,onClick:()=>l(Y.toScheduleDaysOfMonth(r)),children:r},r)})}),t.jsx(q,{children:[...Array(7).keys()].map(s=>{const r=s+8;return t.jsx(H,{isSelected:r===e,onClick:()=>l(r),children:r},r)})}),t.jsx(q,{children:[...Array(7).keys()].map(s=>{const r=s+15;return t.jsx(H,{isSelected:r===e,onClick:()=>l(r),children:r},r)})}),t.jsx(q,{children:[...Array(7).keys()].map(s=>{const r=s+22;return t.jsx(H,{isSelected:r===e,onClick:()=>l(r),children:r},r)})})]})}const qe=e=>{switch(e.type){case"day":return e.dayOfMonth==null;case"lastDayOfMonth":return!1;default:return!0}},He=o.div`
|
|
2
2
|
position: relative;
|
|
3
3
|
`,Ye=o.div`
|
|
4
4
|
display: flex;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{c as Ut,q as en,l as Y,d as Ke,z as tt,y as dt,V as cd,e as fd,f as tn,g as ld,N as Tt,F as ir,i as Bt,k as qt,m as rn,o as kt,Y as hd,p as dd,Q as Ft,Z as Kl,r as Lt,G as pd,t as md,u as yn,v as gd,D as Yl,w as vd,x as Jl,T as Xl,B as zo,R as yd,E as _d,I as bd,J as Ql,U as wd,P as Sd,S as Ed,W as Rd,X as Od,_ as Td,$ as xd,a0 as Cd,a1 as Id,a2 as Ad,a3 as Pd,a4 as kd,a5 as Ld,a6 as qd}from"./index-
|
|
1
|
+
import{c as Ut,q as en,l as Y,d as Ke,z as tt,y as dt,V as cd,e as fd,f as tn,g as ld,N as Tt,F as ir,i as Bt,k as qt,m as rn,o as kt,Y as hd,p as dd,Q as Ft,Z as Kl,r as Lt,G as pd,t as md,u as yn,v as gd,D as Yl,w as vd,x as Jl,T as Xl,B as zo,R as yd,E as _d,I as bd,J as Ql,U as wd,P as Sd,S as Ed,W as Rd,X as Od,_ as Td,$ as xd,a0 as Cd,a1 as Id,a2 as Ad,a3 as Pd,a4 as kd,a5 as Ld,a6 as qd}from"./index-Ci6w3djJ.js";import{j as X,D as nn,S as Vt}from"./mui-Ty75qFQF.js";import{b as Se,n as ut,c as Ve,f as eh,g as jd}from"./vendor-Bs1fkIUX.js";import{f as Dd}from"./analyticsHelper-JHJDqaL3.js";import{g as rt,u as Ae,f as Ye}from"./redux-CEhZD0hA.js";import{a as Je,d as pt,e as Nd,N as er,R as wt,c as qe,u as Zo,b as Go}from"./routing-Dk1A2KYI.js";import{B as ze}from"./analytics-CcevxdRy.js";import{p as Oe}from"./sentry-BE5FTzpq.js";import{a as Qe,b as $d,c as Wo,d as Md,e as Ko,f as Yo,g as Fd,h as Ud,i as zt,j as th,k as rr,l as an,m as Bd,n as Vd,o as zd,p as Gd,q as Hd,s as Zd,t as Wd,u as rh,v as on,w as ar}from"./crypto-cQYYQPTZ.js";import{r as Kd}from"./lodash-D52QloPU.js";import"./liveblocks-8ht9CoL5.js";const Yd={overlayWidth:new dt(100,100,50)},{common:{strings:vs}}=ir.getLocalizedStrings();function Jd(e,n){return{headerActions:{onTabChange:a=>{const i=qt(a),o=Bt(a);Ke.trackCockpitTabClicked(o),n.navigate(`../../${i}`,{replace:!0})},filterActions:{onFilterTextChanged:(a,i)=>{e(Y.updateCompanyHealthViewUIState({uiState:{filterText:i}}))},onFiltersChange:(a,i)=>{i.categories!=null&&i.categoryCombinationOperator!=null&&Ke.trackHealthMonitorFiltersApplied({filterSelection:{condition:i.categories.map(o=>o.matchingOperator).join(vs.comma),logic:i.categoryCombinationOperator,parameter:i.categories.map(o=>o.field).join(vs.comma)}}),e(Y.updateCompanyHealthViewUIState({uiState:{filters:i}}))}}},healthPageActions:{onRowClick:a=>{e(Y.initializeCompanyHealthMetricViewLocalData(a))},onColumnSortConfigChanged:(a,i)=>{e(Y.updateCompanyHealthViewUIState({uiState:{sortKey:a,sortOrder:i}}))},onCockpitReloadData:a=>{a==="healthMonitor"&&e(Y.fetchCompanyHealthMetricView())},onFiltersChange:a=>{e(Y.updateCompanyHealthViewUIState({uiState:{filters:a}}))}}}}function Xd(e,n){return{headerData:{selectedTabOption:Tt("healthMonitor")},healthPageData:{healthView:n.healthView,managementView:n.managementView,mixpanelUrl:n.mixpanelHMUrl}}}const Qd=Ye(Xd,Jd)(ld);function _n({isDrawerOpen:e}){const n=Je(),a=rt(),i=Ut(),o=en(),{companyId:t}=pt(),[r,s]=Nd(),[p,l]=Se.useState(!1),u=Ae(b=>Y.getCompanyHealthMetricView(b)),f=Ae(b=>Y.getCompanyManagementView(b)),{additionalChurnFactors:d}=Ae(b=>Y.getCompanyHealthMetricConfig(b)),{selectedCompanyDetail:w,selectedCompanyId:h,localFormDataAndStatusByCompanyId:v}=u,m=Ae(b=>b.companyViewState.zeniUsers.fetchState),c=Ae(b=>b.companyHealthMetricConfigViewState);if(Se.useEffect(()=>{const b=y=>y==="Not-Started"||y==="Error";u.fetchState==="Completed"?a(Y.fetchAllCockpitViews(!1)):b(u.fetchState)&&(a(Y.fetchCompanyHealthMetricView()),b(m)&&a(Y.fetchZeniUsers()),b(c.fetchState)&&a(Y.fetchCompanyHealthMetricConfig()))},[u.fetchState,c.fetchState]),Se.useEffect(()=>{t!=null&&u.fetchState==="Completed"&&r.has("utm_source")===!0&&(a(Y.initializeCompanyHealthMetricViewLocalData(t)),w!=null&&(Ke.trackCockpitHealthMonitorNotificationAlertClicked(r.get("utm_source"),{companyId:w.companyInfo.companyId,companyName:w.companyInfo.name,churnProbability:w.companyHealthMetric.churnProbabilityPercentage??null}),l(r.has("utm_source")),r.delete("utm_source"),s(r)))},[u.fetchState,w?.companyInfo.companyId,w?.companyInfo.name]),tt.getSignedInUser()==null)throw Error("Can't access Health Monitor page without signing in...");return X.jsxs(X.Fragment,{children:[e===!0||h!=null&&w!=null?X.jsx(nn,{anchor:"right",open:h!=null,PaperProps:{style:{width:Yd.overlayWidth.valuePercentage(o),boxShadow:"none"}},slotProps:{backdrop:{style:{backgroundColor:i.colors.black,opacity:.75,cursor:"pointer"}}},onClose:()=>a(Y.removeSelectedCompanyId()),children:X.jsx(cd,{roomId:`cockpit_${h}`,autoConnect:!0,children:X.jsx(fd,{onSaveClick:()=>{h!=null&&a(Y.saveCompanyHealthMetricById(h))},onSaveChangesToLocalStore:b=>{u.selectedCompanyId!=null&&a(Y.updateCompanyHealthMetricLocalStore({companyId:u.selectedCompanyId,updatedLocalData:b}))},localData:v?.companyHealthMetricLocalData??{netPromoterScore:void 0,externalProductServiceExposure:void 0,additionalChurnFactors:{increasingChurnProbability:[],decreasingChurnProbability:[]}},companyHealthMetricViewSelector:u,onCloseDrawer:()=>a(Y.removeSelectedCompanyId()),analytics:Ke,urlSource:p,additionalChurnFactorsOptions:d})})}):null,X.jsx(Qd,{healthView:u,managementView:f,navigate:n,mixpanelHMUrl:tn.mixpanelHMUrl})]})}const nh=(e,n)=>{const a=[...e??[]];return a.push(n),a},ep=e=>{const n=[...e??[]];return{poppedPathname:n.pop(),newStack:n}},tp=(e=2)=>{let n="../";for(let a=0;a<e;a++)n=`${n}../`;return n},Fe=({state:e,element:n})=>tt.isSignedIn()===!0?X.jsx(X.Fragment,{children:n}):X.jsx(er,{to:"/signin/auth",replace:!0,state:{...e,message:"...",origin:window.location.pathname}});function rp(){return X.jsxs(wt,{children:[X.jsx(qe,{path:"/companies/:companyId",element:X.jsx(Fe,{element:X.jsx(_n,{isDrawerOpen:!0})})}),X.jsx(qe,{path:"/",element:X.jsx(Fe,{element:X.jsx(_n,{})})}),X.jsx(qe,{path:"/*",element:X.jsx(Fe,{element:X.jsx(_n,{})})})]})}const np={drawerLeftMargin:new dt(0,0,240)};function or(e){const{isOpen:n,drawerLeftMargin:a,children:i,onClose:o}=e,t=en(),r=a?.valuePx(t)??np.drawerLeftMargin.valuePx(t),s=Ut();return X.jsx(nn,{anchor:"right",open:n,PaperProps:{style:{width:`calc(100% - ${r})`}},slotProps:{backdrop:{style:{backgroundColor:s.colors.black,opacity:.8,cursor:"pointer"}}},onClose:o,children:i})}const ip=({fetchState:e})=>e==="In-Progress"||e==="Not-Started"?X.jsx(ap,{children:X.jsx(rn,{size:"ExtraLarge",start:!0})}):null,ap=ut.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
width: 100%;
|
|
4
4
|
height: 100%;
|