@zeniai/web-cockpit-ui 1.14.88-dev → 1.14.88-next
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-BBq7KpbY-BSBF4D7W.js → ACHDetailsPage-BBq7KpbY-q9NY_Uhn.js} +1 -1
- package/dist/assets/{AIPerformancePage-Djq6mgKa-CZUK5BgA.js → AIPerformancePage-Djq6mgKa-a74VPAnl.js} +1 -1
- package/dist/assets/{AccountInfoPage-CxWBk_t_-Pp-e12id.js → AccountInfoPage-CxWBk_t_-DjkYMmYQ.js} +1 -1
- package/dist/assets/{AccountInfoPageContent-DO6aVqBW-BatvazJB.js → AccountInfoPageContent-DO6aVqBW-2Gm0cex3.js} +1 -1
- package/dist/assets/{AccountLockedInfoModal-DVvzKHJQ-cZarXjlh.js → AccountLockedInfoModal-DVvzKHJQ-6AwOVRI_.js} +1 -1
- package/dist/assets/{AccountReconDetailsDrawerPage-DEKzSPCP-AOZz4hLI.js → AccountReconDetailsDrawerPage-DEKzSPCP-Dc_YU5j6.js} +1 -1
- package/dist/assets/{AccountRow-Ck53DDbT-DysWPQsT.js → AccountRow-Ck53DDbT-D8kuoX62.js} +1 -1
- package/dist/assets/{AccountsPromoCardStack-BYjuB-4I-Bx06dRgS.js → AccountsPromoCardStack-BYjuB-4I-BrcNcggl.js} +1 -1
- package/dist/assets/{AddAddressForCardDrawer-e8qbO2Y5-DPhsVh8j.js → AddAddressForCardDrawer-e8qbO2Y5-CwrhTbi3.js} +1 -1
- package/dist/assets/{AddToWalletPage-DA6AmuaY-BtvjAMkZ.js → AddToWalletPage-DA6AmuaY-Cg1gS7Oe.js} +1 -1
- package/dist/assets/{AgingReportsPage-B_Hhl_Is-DD-vhrRT.js → AgingReportsPage-B_Hhl_Is-CoUZ48j8.js} +1 -1
- package/dist/assets/{AllUserItems-BV22Ibpn-k5WAGMIM.js → AllUserItems-BV22Ibpn-BeZBXIli.js} +1 -1
- package/dist/assets/{ApAgingDetailPage-DqV1vOVH-BdaVu7h7.js → ApAgingDetailPage-DqV1vOVH-BJvu6U9u.js} +1 -1
- package/dist/assets/{AppBasePage-LrgCcvIv-CSjlBbz_.js → AppBasePage-LrgCcvIv-6ZU2HNpj.js} +1 -1
- package/dist/assets/{AppDrawerContent-aZG5Qc_X-BBJ620IT.js → AppDrawerContent-aZG5Qc_X-CwnuwEyx.js} +1 -1
- package/dist/assets/{ApprovalRulesSettingsPage-DQQw30S5-Ezj2032b.js → ApprovalRulesSettingsPage-DQQw30S5-Bd5D8aWn.js} +1 -1
- package/dist/assets/{ArAgingChart-Am7LTkqG-DPWOzQ4G.js → ArAgingChart-Am7LTkqG-BVyJAtO5.js} +1 -1
- package/dist/assets/{ArAgingDetailPage-BEKsyA9Q-8CXV_-o4.js → ArAgingDetailPage-BEKsyA9Q-mn2HjTQ5.js} +1 -1
- package/dist/assets/{AttachmentView-Bujbmx1d-C5yMiAGh.js → AttachmentView-Bujbmx1d-afQvBtBG.js} +1 -1
- package/dist/assets/{BankAccountSection-C5rYUW3V-C94OLznc.js → BankAccountSection-C5rYUW3V-CZXejSez.js} +1 -1
- package/dist/assets/{BankAccountWarningSection-DakysSbk-CbbTSVAs.js → BankAccountWarningSection-DakysSbk-B1zeMK-h.js} +1 -1
- package/dist/assets/{BankConnectionsSettingsPage-BjZDNgZG-YfsktWmR.js → BankConnectionsSettingsPage-BjZDNgZG-C89aP8RT.js} +1 -1
- package/dist/assets/{BillDetailPage-DYc_nZRU-CDVGo8PW.js → BillDetailPage-DYc_nZRU-DlFB7waM.js} +1 -1
- package/dist/assets/{BillPayApprovalRuleDetailPage-ppU1Epmy-BKvAcAoy.js → BillPayApprovalRuleDetailPage-ppU1Epmy-Dr5fDUzu.js} +1 -1
- package/dist/assets/{BillPayApprovalRulesPage-UblNi2mR-C7_kOGqL.js → BillPayApprovalRulesPage-UblNi2mR-DrHi6WXI.js} +1 -1
- package/dist/assets/{BillPayPromoPage-BK2J56U5-BoML2sjr.js → BillPayPromoPage-BK2J56U5-C-cyGFAB.js} +1 -1
- package/dist/assets/{BillPaySetUpPage-Jic5E25q-DpQqZitt.js → BillPaySetUpPage-Jic5E25q-ClhF13Wu.js} +1 -1
- package/dist/assets/{BillingSettingsPage-CKZVChEm-DD2k5Yit.js → BillingSettingsPage-CKZVChEm-D4EueQE1.js} +1 -1
- package/dist/assets/{BillsBulkReviewDrawerPage-C4Ra5e82-CIUXbSFo.js → BillsBulkReviewDrawerPage-C4Ra5e82-Dnzr4KFF.js} +1 -1
- package/dist/assets/{BoxItem-8PfNfaHq-B-GLMzdK.js → BoxItem-8PfNfaHq-Cp9FIDDO.js} +1 -1
- package/dist/assets/{BusinessVerificationPage-JGge-Iiw-BPBLeiY2.js → BusinessVerificationPage-JGge-Iiw-RKqpPu11.js} +1 -1
- package/dist/assets/{CardNumberSubText-W81SQ4GF-WvEd7hoq.js → CardNumberSubText-W81SQ4GF-CSGVhJtx.js} +1 -1
- package/dist/assets/{CashbackDetailPage-DnOcmx2i-GyPOwLbn.js → CashbackDetailPage-DnOcmx2i-DZ-4R0ld.js} +1 -1
- package/dist/assets/{ChargeCardDetailPage-DNVMsxzE-DJwlKf4B.js → ChargeCardDetailPage-DNVMsxzE-mGuWlh0Q.js} +1 -1
- package/dist/assets/{ChargeCardListPage-Dgj-WWWI-DUEfSWkj.js → ChargeCardListPage-Dgj-WWWI-oW4Yq-nC.js} +1 -1
- package/dist/assets/{ChargeCardListTable-uJZKWoh7-ChKxwXNK.js → ChargeCardListTable-uJZKWoh7-C3Dz3iKA.js} +1 -1
- package/dist/assets/{ChargeCardPromoPage-uqT96W3_-D7PKDOS5.js → ChargeCardPromoPage-uqT96W3_-CEk1_FDR.js} +1 -1
- package/dist/assets/{ChargeCardSetupPage-BDbJU-vm-n7XKTVxz.js → ChargeCardSetupPage-BDbJU-vm-CmTZZdo1.js} +1 -1
- package/dist/assets/{ChargeCardStatementsPage-DImRqpH1-BLn2Zrht.js → ChargeCardStatementsPage-DImRqpH1-Czl34fTG.js} +1 -1
- package/dist/assets/{CheckDepositDrawerPage-BVtOOPoa-BsyE3ijL.js → CheckDepositDrawerPage-BVtOOPoa-DftL3rUX.js} +1 -1
- package/dist/assets/{CollapsableReportTable-Crihcv_z-B2uLpmZL.js → CollapsableReportTable-Crihcv_z-0VaqiAxf.js} +1 -1
- package/dist/assets/{CompanyOfficerDetailsSection-CNxtAkKM-DIFNT_MT.js → CompanyOfficerDetailsSection-CNxtAkKM-CGNhcXsG.js} +1 -1
- package/dist/assets/{CompanyPassportCard-DMRQkRPb-D5WStHlm.js → CompanyPassportCard-DMRQkRPb-CKer3exl.js} +1 -1
- package/dist/assets/{CompanyPassportPage-D3XvbSF_-CEssY07i.js → CompanyPassportPage-D3XvbSF_-D4lgCpTq.js} +1 -1
- package/dist/assets/{CompleteProfile-BqjXO5ze-DzvIvybO.js → CompleteProfile-BqjXO5ze-CHUcy8NG.js} +1 -1
- package/dist/assets/{ConfettiBurst-DtwLo4WZ-rIdOch9Z.js → ConfettiBurst-DtwLo4WZ-BO8OfQVM.js} +1 -1
- package/dist/assets/{CreateOrEditVendorPage-FrGRJxMy-D4Yfp3bV.js → CreateOrEditVendorPage-FrGRJxMy-BQPyeADO.js} +1 -1
- package/dist/assets/{CreditCardPaymentDrawerPage-BvifQpD3-DweBxpjG.js → CreditCardPaymentDrawerPage-BvifQpD3-DnBH5C4d.js} +1 -1
- package/dist/assets/{CurrencySelectField-ClOg6nnS-mv1_7cFa.js → CurrencySelectField-ClOg6nnS-DULLtR6s.js} +1 -1
- package/dist/assets/{CustomerOnboardingActivationPage-Du-zzeL2-B0e3T3Mf.js → CustomerOnboardingActivationPage-Du-zzeL2-Dmoh7AAP.js} +1 -1
- package/dist/assets/CustomerOnboardingContainerPage-DMZOvVMM-DrI9hOKa.js +1 -0
- package/dist/assets/{CustomerOnboardingDetailPageSkeleton-BgY95XeU-lrHBjHff.js → CustomerOnboardingDetailPageSkeleton-BgY95XeU-D80bn0Y1.js} +1 -1
- package/dist/assets/{CustomerOnboardingNoStepsPage-BsKoqUta-CA8kKRAS.js → CustomerOnboardingNoStepsPage-BsKoqUta-Dg_BacDc.js} +1 -1
- package/dist/assets/{CustomerOnboardingPage-DUMQKVfM-Dsr4EUaG.js → CustomerOnboardingPage-DUMQKVfM-B0ZzpZ6l.js} +1 -1
- package/dist/assets/{CustomerOnboardingProductSuitePage-DGVV8Tkk-D0glSq9a.js → CustomerOnboardingProductSuitePage-DGVV8Tkk-BatEB366.js} +1 -1
- package/dist/assets/{Dashboard-CdYlvep--2zt71GwH.js → Dashboard-CdYlvep--KhQScNrj.js} +1 -1
- package/dist/assets/{DashboardReportPage-c6q027Qp-DQOYKDaS.js → DashboardReportPage-c6q027Qp-2oPqFi-8.js} +1 -1
- package/dist/assets/{DashboardSidebarBackgroundAnimation-BdDVYK19-CImgfHLa.js → DashboardSidebarBackgroundAnimation-BdDVYK19-BGKDAl7Y.js} +1 -1
- package/dist/assets/{DepositAccTransactionItem-D8kL8enp-C-wlu71S.js → DepositAccTransactionItem-D8kL8enp-CDI7hku4.js} +1 -1
- package/dist/assets/{DepositAccTransactionListPage-BS-OReem-BsY7nh5D.js → DepositAccTransactionListPage-BS-OReem-xijbgasl.js} +1 -1
- package/dist/assets/{DomesticWireDetailsPage-CjM1DXnn-jBFOWKEq.js → DomesticWireDetailsPage-CjM1DXnn-IKY2Kkqr.js} +1 -1
- package/dist/assets/{DownloadOverlay-Dr4uLNpZ-CCGEpjyu.js → DownloadOverlay-Dr4uLNpZ-ZTuAd_OU.js} +1 -1
- package/dist/assets/{DrawerPage-CbKBsc7w-C7cU3_--.js → DrawerPage-CbKBsc7w-JMfDQWN1.js} +1 -1
- package/dist/assets/{EditPeoplePage-BgsR09q8-DdqILiC-.js → EditPeoplePage-BgsR09q8-CctEW3pI.js} +1 -1
- package/dist/assets/{EditReimbursementDetailPage-BTrwOX_s-D-rZyGs5.js → EditReimbursementDetailPage-BTrwOX_s-B0qBcdbq.js} +1 -1
- package/dist/assets/{EntityDetailPage-Cvd4MG0F-DPl-NT31.js → EntityDetailPage-Cvd4MG0F-DsLsrLZ6.js} +1 -1
- package/dist/assets/{EntitySummarySection-BIV9aAq2-DPBmI88A.js → EntitySummarySection-BIV9aAq2-CDKV2tZK.js} +1 -1
- package/dist/assets/{ExpenseAutomationOverviewPage-B5MtjO2p-CYiyOvTu.js → ExpenseAutomationOverviewPage-B5MtjO2p-Boo_jnt-.js} +1 -1
- package/dist/assets/{ExpenseAutomationPage-DW6Pxoah-DDuDc1zW.js → ExpenseAutomationPage-DW6Pxoah-C5bxXsf3.js} +1 -1
- package/dist/assets/{ExpressPayPage-DnpQuDmt-Bd1bzHIM.js → ExpressPayPage-DnpQuDmt-DMeb8GOv.js} +1 -1
- package/dist/assets/{FeaturePreviewPage-BmwBZ7ZP-B5Fb6YFa.js → FeaturePreviewPage-BmwBZ7ZP-CZXLkwRs.js} +1 -1
- package/dist/assets/{FollowStepsSection-B2I9SddL-DOkk1O_M.js → FollowStepsSection-B2I9SddL-C6WR_9oR.js} +1 -1
- package/dist/assets/{GlobalReviewListPage-D3GCP5Xd-hoz6yIFU.js → GlobalReviewListPage-D3GCP5Xd-DxciHSLF.js} +1 -1
- package/dist/assets/{InformationCardStack-mEhasBqu-uwoqfXbE.js → InformationCardStack-mEhasBqu-Cb7WbS6c.js} +1 -1
- package/dist/assets/{InsightsCardStack-Mj7QcQnH-CEDxXAnc.js → InsightsCardStack-Mj7QcQnH-BMdonbYJ.js} +1 -1
- package/dist/assets/{InsightsSection-B3xD0SZ9-44_JQBOt.js → InsightsSection-B3xD0SZ9-CMRfrkqv.js} +1 -1
- package/dist/assets/{IntegrationsSettingsPage-CsI_agJB-C-WDxKHm.js → IntegrationsSettingsPage-CsI_agJB-CYCagy3P.js} +1 -1
- package/dist/assets/{InternationalWireSwiftDetailsPage-Dszmi69h-CXShEjfi.js → InternationalWireSwiftDetailsPage-Dszmi69h-BLpXM-2m.js} +1 -1
- package/dist/assets/{InternationalWireVerificationPage-DG9Enrpo-B4OJYSEA.js → InternationalWireVerificationPage-DG9Enrpo-B63zw-0B.js} +1 -1
- package/dist/assets/{InviteFormPage-DK6X9Zwi-DxTEXqbU.js → InviteFormPage-DK6X9Zwi-DFGvKZnO.js} +1 -1
- package/dist/assets/{InvitePageListView-CwKbcKlM-BZHkRpBj.js → InvitePageListView-CwKbcKlM-1C1zVLA0.js} +1 -1
- package/dist/assets/{InvitePeoplePage-BqzJOjVI-C5eGKSth.js → InvitePeoplePage-BqzJOjVI-JHtPV-Vx.js} +1 -1
- package/dist/assets/{InvoiceUploadSection-CokNNkKu-DQm7Q76q.js → InvoiceUploadSection-CokNNkKu-BMe3Vidt.js} +1 -1
- package/dist/assets/{IssueChargeCardPage-CRtJDmrZ-SjsaHHpw.js → IssueChargeCardPage-CRtJDmrZ-jgpGufdK.js} +1 -1
- package/dist/assets/{LabeledAddressValue-BhwrrtZX-vn2WZMwa.js → LabeledAddressValue-BhwrrtZX-Bp-LSp-x.js} +1 -1
- package/dist/assets/{LabeledAddressValueField-DzmwP7hP-K6Pp0Tsb.js → LabeledAddressValueField-DzmwP7hP-Cyl65q5Q.js} +1 -1
- package/dist/assets/{LabeledControlledCheckBoxField-B6ndrF2e-C6dGs2IG.js → LabeledControlledCheckBoxField-B6ndrF2e-BrzXjH0a.js} +1 -1
- package/dist/assets/{LabeledCreatableSingleSelectField-CfzLlkho-D-9BqrF0.js → LabeledCreatableSingleSelectField-CfzLlkho-Ckf7U412.js} +1 -1
- package/dist/assets/{LabeledDocumentField-p3pI5qLu-BDt_q3n9.js → LabeledDocumentField-p3pI5qLu-DIBZt-fk.js} +1 -1
- package/dist/assets/{LabeledDropDownFormattedTextField-oQX33Fim-DScWTxuG.js → LabeledDropDownFormattedTextField-oQX33Fim-9GVKrt9S.js} +1 -1
- package/dist/assets/{LabeledText-Db46hFZY-DtE2280z.js → LabeledText-Db46hFZY-On31nWEf.js} +1 -1
- package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-B9Xx3bxn-CdCb1YaR.js → LabeledUserSingleSelectWithSubtitlesField-B9Xx3bxn-D0YivG7q.js} +1 -1
- package/dist/assets/{LabeledZeniRolesDropDownField-Docjgj8Y-Ak8tWgXw.js → LabeledZeniRolesDropDownField-Docjgj8Y-eWaoNIye.js} +1 -1
- package/dist/assets/{LinkJETransactionPage-BZSRaZqY-Ys5o0SC5.js → LinkJETransactionPage-BZSRaZqY-CFHx7n3s.js} +1 -1
- package/dist/assets/{LockCardPage-KTyESoXL-RLL-NNgZ.js → LockCardPage-KTyESoXL-DIukpz_t.js} +1 -1
- package/dist/assets/{LowBalancePopup-B0BDCEui-BDJRdwYk.js → LowBalancePopup-B0BDCEui-BHh6vWlW.js} +1 -1
- package/dist/assets/{MagicLinkACHDetailsPage-DwFvuGwG-Bx8_G4pi.js → MagicLinkACHDetailsPage-DwFvuGwG-Ocse0XNt.js} +1 -1
- package/dist/assets/{MagicLinkDomesticWireDetailsPage-CDB2igue-C6BkcHMt.js → MagicLinkDomesticWireDetailsPage-CDB2igue-T5SYU16h.js} +1 -1
- package/dist/assets/{MagicLinkInternationalWireDetailsPage-C2kxncrD-lKhup0wi.js → MagicLinkInternationalWireDetailsPage-C2kxncrD-B0B-Y7wb.js} +1 -1
- package/dist/assets/{MagicLinkSuccessPage-DNVe2qMu-D4SMdh6r.js → MagicLinkSuccessPage-DNVe2qMu-Bl64SDbd.js} +1 -1
- package/dist/assets/{MagicLinkTitleSection-CWw516D8-BNsvo93d.js → MagicLinkTitleSection-CWw516D8-BWirSJIJ.js} +1 -1
- package/dist/assets/{MailingDetailsSection-CugAM90r-DoeFFuYK.js → MailingDetailsSection-CugAM90r-CElk6Ch0.js} +1 -1
- package/dist/assets/{Menu-CGN2qO6T-CiWOHnEv.js → Menu-CGN2qO6T-Dk-v9etv.js} +1 -1
- package/dist/assets/{MyBankConnectionsSettingsPage-CQUfVa0r-Bh6xkh_P.js → MyBankConnectionsSettingsPage-CQUfVa0r-CvVxl3Y0.js} +1 -1
- package/dist/assets/{MyPendingActivationChargeCardListPage-TOQWRGjp-Cz3Fu-Qj.js → MyPendingActivationChargeCardListPage-TOQWRGjp-DPYfapJa.js} +1 -1
- package/dist/assets/{MyProfileSettingsPage-lCG03Uoh-Cp5z_COM.js → MyProfileSettingsPage-lCG03Uoh-CzPAHf2m.js} +1 -1
- package/dist/assets/{NavBarWithPicker-DLLvivn4-CwXjwd5E.js → NavBarWithPicker-DLLvivn4-BIfqffnp.js} +1 -1
- package/dist/assets/{NavigationArrow-B4j2t8Qu-DFN_pfjG.js → NavigationArrow-B4j2t8Qu-CHeEkftb.js} +1 -1
- package/dist/assets/{NavigationDots-DyMqwpgy-BnOxKvTS.js → NavigationDots-DyMqwpgy-CdgHJFxd.js} +1 -1
- package/dist/assets/{NewGlobalMerchantPage-Bx7iBsCP-De3Zrk_w.js → NewGlobalMerchantPage-Bx7iBsCP-B5gQYabP.js} +1 -1
- package/dist/assets/{NoDataChart-Ce1_TZ5w-mzgyK4W0.js → NoDataChart-Ce1_TZ5w-BgW10zMN.js} +1 -1
- package/dist/assets/{NoDataTable-l2T5Hw3t-DiA6_LOZ.js → NoDataTable-l2T5Hw3t-BkGLFocn.js} +1 -1
- package/dist/assets/{NotFoundPage-msdN-Eu6-bUOgmvTT.js → NotFoundPage-msdN-Eu6-DxmBcWW1.js} +1 -1
- package/dist/assets/{NotificationSettingsPage-_ovcjr8E-oBg2AzvY.js → NotificationSettingsPage-_ovcjr8E-Jsb3VuL7.js} +1 -1
- package/dist/assets/{NotificationsListConfig-BJm7A9Mz-Dpzdlo_O.js → NotificationsListConfig-BJm7A9Mz-CgUcsTl1.js} +1 -1
- package/dist/assets/{NotificationsPage-Ddxb5kE0-sv2MHoTB.js → NotificationsPage-Ddxb5kE0-GNluxA7I.js} +1 -1
- package/dist/assets/{OpExByVendorPage-BLAHey0l-Bvnbxr3W.js → OpExByVendorPage-BLAHey0l-DzrsjfEA.js} +1 -1
- package/dist/assets/{OverlayContainerPage-CrZuT2Jj-PfCCV6vr.js → OverlayContainerPage-CrZuT2Jj-OurxcnZq.js} +1 -1
- package/dist/assets/{PandLWithForecastPage-B7Z73Sq--D-gg1JRT.js → PandLWithForecastPage-B7Z73Sq--VEmmWlTP.js} +1 -1
- package/dist/assets/{PaymentAccountSetupBillingAddressSection-pL7omrJk-CMauXbLg.js → PaymentAccountSetupBillingAddressSection-pL7omrJk-nTvRPiEw.js} +1 -1
- package/dist/assets/{PeoplePage-BHRFiM0D-BFjjgTA4.js → PeoplePage-BHRFiM0D-DsZUDH1M.js} +1 -1
- package/dist/assets/{ProductsCarousel-D2bf_6Gb-3YkaSAEs.js → ProductsCarousel-D2bf_6Gb-BUFLT-Dx.js} +1 -1
- package/dist/assets/{PromoBaseCards-CI7UOpeY-DrRHtF3C.js → PromoBaseCards-CI7UOpeY-ByOo-jVc.js} +1 -1
- package/dist/assets/{QBOConnectionDialog-D7MeKn1t-BAS1asBL.js → QBOConnectionDialog-D7MeKn1t-Bw-OGj-3.js} +1 -1
- package/dist/assets/{QBOSetupSection-DWhfA4Xv-BucVH3Ow.js → QBOSetupSection-DWhfA4Xv-m70A4VeK.js} +1 -1
- package/dist/assets/{ReimbursementApprovalRuleDetailPage-C_dTOk5P-D-NWcf6N.js → ReimbursementApprovalRuleDetailPage-C_dTOk5P-CdiqOJdq.js} +1 -1
- package/dist/assets/{ReimbursementApprovalRulesPage-B5lca4qx-Be4jwh8K.js → ReimbursementApprovalRulesPage-B5lca4qx-4UP8n20d.js} +1 -1
- package/dist/assets/{ReimbursementDetailPage-COIRwy7i-D_z8JZWj.js → ReimbursementDetailPage-COIRwy7i-DzVyWItS.js} +1 -1
- package/dist/assets/{ReimbursementPromoPage-Bjm0UHcm-BFGYvNxR.js → ReimbursementPromoPage-Bjm0UHcm-DXJPqVkw.js} +1 -1
- package/dist/assets/{ReimbursementSetUpPage-CMYR8CcH-o7EiVYlw.js → ReimbursementSetUpPage-CMYR8CcH-Cloy2C-Y.js} +1 -1
- package/dist/assets/{ReimbursementsBulkReviewDrawerPage-BDdhVfaz-B4-3Ac_F.js → ReimbursementsBulkReviewDrawerPage-BDdhVfaz-DvzTg9Np.js} +1 -1
- package/dist/assets/{ReloadCard-B2sJR97f-B7xYAAAP.js → ReloadCard-B2sJR97f-UkMHYxc6.js} +1 -1
- package/dist/assets/{ReportTableViewSelector-_IO343vS-CCUTRa_q.js → ReportTableViewSelector-_IO343vS-D05Z952-.js} +1 -1
- package/dist/assets/{ReportsPage-C-aQ1bdd-BrHTUapj.js → ReportsPage-C-aQ1bdd-sJLwZ-hX.js} +1 -1
- package/dist/assets/{RevenueChart-Bgq6My4J-DZMBvJfW.js → RevenueChart-Bgq6My4J-C-ct5QdM.js} +1 -1
- package/dist/assets/{ReviewDetailsPage-COx9R71r-zWGCkJ71.js → ReviewDetailsPage-COx9R71r-CdavvYrw.js} +1 -1
- package/dist/assets/{ReviewOverlay-CPU7RPiJ-D223TMrq.js → ReviewOverlay-CPU7RPiJ-1JThLA39.js} +1 -1
- package/dist/assets/{RoleWithToolTip-DSSGBzvw-DNIC4KJA.js → RoleWithToolTip-DSSGBzvw-BNabz8Oe.js} +1 -1
- package/dist/assets/{ScheduleDetailsFixedAssetsPage-DKGBfhAM-hAiatKQJ.js → ScheduleDetailsFixedAssetsPage-DKGBfhAM-DPmzAQ7r.js} +1 -1
- package/dist/assets/{ScheduleDetailsPage-B-fKJ7Ct-Bh8hZts0.js → ScheduleDetailsPage-B-fKJ7Ct-B3fiSMLs.js} +1 -1
- package/dist/assets/{ScheduleSequenceTable-Dh_aT47H-Dsg8nn4Q.js → ScheduleSequenceTable-Dh_aT47H-BLWf_h4t.js} +1 -1
- package/dist/assets/{ScreenRoutes-C6EpxT2f.js → ScreenRoutes-Dxxup9ld.js} +1 -1
- package/dist/assets/{SetUpAccountSection-DrMCC1IY-ByWeTp_x.js → SetUpAccountSection-DrMCC1IY-BS6C19VL.js} +1 -1
- package/dist/assets/{SignIn-Ij6tlYI5-Dst5bSP1.js → SignIn-Ij6tlYI5-BoAHgD29.js} +1 -1
- package/dist/assets/{SignInScreen-u1nQ3ozJ.js → SignInScreen-DiTGVFWT.js} +1 -1
- package/dist/assets/{SpendManagementListViewPage-AI676Urw-B-7dzfuE.js → SpendManagementListViewPage-AI676Urw-DzJZtanX.js} +3 -3
- package/dist/assets/{SpendManagementPerTabPage-D79c3Xqh-oKXtBl-N.js → SpendManagementPerTabPage-D79c3Xqh-Ct5rccqH.js} +1 -1
- package/dist/assets/{SpendManagementSection-BqWbsmBW-B_cU7_8m.js → SpendManagementSection-BqWbsmBW-xEXQLG4U.js} +1 -1
- package/dist/assets/{StatementItem-Aal79YaO-CFHdsNsW.js → StatementItem-Aal79YaO-S_3_-6mb.js} +1 -1
- package/dist/assets/{StatementsPage-BG_pNQzc-CtKK_NWp.js → StatementsPage-BG_pNQzc-kV9711Cc.js} +1 -1
- package/dist/assets/{StatusSwitcher-DYRXaLvx-Dg0gJadN.js → StatusSwitcher-DYRXaLvx-BQOcCffh.js} +1 -1
- package/dist/assets/{SubTabSwitcher-C75XU1EG-jiPBvvgH.js → SubTabSwitcher-C75XU1EG-CPAxS4pV.js} +1 -1
- package/dist/assets/{SummaryCard-DEnzgi31-BrjfYktb.js → SummaryCard-DEnzgi31-TMld1luM.js} +1 -1
- package/dist/assets/{TaskManagementPage-BacWm0wS-BOmzE8pj.js → TaskManagementPage-BacWm0wS-sXTqu6Zx.js} +1 -1
- package/dist/assets/{TimeRangeSwitcher-BOzR-0O6-DW6Hfe2T.js → TimeRangeSwitcher-BOzR-0O6-CPUqBz5w.js} +1 -1
- package/dist/assets/{TimeframeSwitcher-BVgI_VZw-CmYJCdij.js → TimeframeSwitcher-BVgI_VZw-tBwWBKM5.js} +1 -1
- package/dist/assets/{TimeframeSwitcherWithToggle-CPVSAvFa-D1niAH0D.js → TimeframeSwitcherWithToggle-CPVSAvFa-Cbs3QyiD.js} +1 -1
- package/dist/assets/{TopExCard-ImUx-vXr-DT0VBuYA.js → TopExCard-ImUx-vXr-jhcKGxWB.js} +1 -1
- package/dist/assets/{TopExDetailPage-Dg_8DQk8-4B9miDBg.js → TopExDetailPage-Dg_8DQk8-BIxhYLSj.js} +1 -1
- package/dist/assets/{TransactionDetailPage-BzaDB50S-GSmaAynz.js → TransactionDetailPage-BzaDB50S-tXDMKVdt.js} +1 -1
- package/dist/assets/{TransactionList-DMd3dgoK-CAAZ5LJ9.js → TransactionList-DMd3dgoK-CAh3LP1r.js} +1 -1
- package/dist/assets/{TransactionListBig-BxHqh8u6-jUnMWfqS.js → TransactionListBig-BxHqh8u6-BwDYUXwA.js} +1 -1
- package/dist/assets/{TransactionListPage-CN9fZznd-XHmW_JO6.js → TransactionListPage-CN9fZznd-BUYEc_3A.js} +1 -1
- package/dist/assets/{TransactionVendorDetailPage-CykcquSh-DC5tWATQ.js → TransactionVendorDetailPage-CykcquSh-DEoBezFB.js} +1 -1
- package/dist/assets/{TransferDrawerPage-oV7ickRP-DfNv0z7w.js → TransferDrawerPage-oV7ickRP-m_SyKRyg.js} +1 -1
- package/dist/assets/{TreasuryOverviewPage-CECDKjNn-DnTfDq_E.js → TreasuryOverviewPage-CECDKjNn-DjvSSC5E.js} +1 -1
- package/dist/assets/{TreasuryPromoPage-Bgt7uGAE-wBv090sg.js → TreasuryPromoPage-Bgt7uGAE-BZmdy-bS.js} +1 -1
- package/dist/assets/{TreasuryStatementsPage-QyWxshsI-MJ6226DX.js → TreasuryStatementsPage-QyWxshsI-BDY47Vnk.js} +1 -1
- package/dist/assets/{TreasuryTaxLetterPage-BLmfU0VD-tlc_Qnp7.js → TreasuryTaxLetterPage-BLmfU0VD-CO6z7nLZ.js} +1 -1
- package/dist/assets/{TrendChart-C_6ob-SX-C0qSDIOK.js → TrendChart-C_6ob-SX-BwRn2bp9.js} +1 -1
- package/dist/assets/{TrendWithTransactions-lMD2sZ-C-DAKlvwC8.js → TrendWithTransactions-lMD2sZ-C-DMaPDoLb.js} +1 -1
- package/dist/assets/{UncategorizedAccountsMappingPage-DEgz17_R-JAtAn-dZ.js → UncategorizedAccountsMappingPage-DEgz17_R-CC4Itk1b.js} +1 -1
- package/dist/assets/{UnitIntegrationPage-D9Pzxqju-MqruWQEm.js → UnitIntegrationPage-D9Pzxqju-xA8jQzuY.js} +1 -1
- package/dist/assets/{UploadAdditionalDocumentOverlay-CJYvOjh0-Bd6YUBSJ.js → UploadAdditionalDocumentOverlay-CJYvOjh0-C18nzFM8.js} +1 -1
- package/dist/assets/{Vendor2FAPopup-D-r0NVE--C7hhZzTV.js → Vendor2FAPopup-D-r0NVE--BdsHwul4.js} +1 -1
- package/dist/assets/{VendorACHDetailsPage-Dv6bTD6Y-DvJTQLef.js → VendorACHDetailsPage-Dv6bTD6Y-BHXTyF_B.js} +1 -1
- package/dist/assets/{VendorDetailPage-BhfawsBd-S64BbJSz.js → VendorDetailPage-BhfawsBd-D-Bcg_Ro.js} +1 -1
- package/dist/assets/{VendorDomesticWireDetailsPage-BjmlrfTQ-rHR0r6A6.js → VendorDomesticWireDetailsPage-BjmlrfTQ-BywtUM6e.js} +1 -1
- package/dist/assets/{VendorFiling1099EditablePage-glvi0GTU-BdKcShj3.js → VendorFiling1099EditablePage-glvi0GTU-DbPtF7Aj.js} +1 -1
- package/dist/assets/{VendorFirstReviewPage-DUuUM8ZT-B1bWCBT-.js → VendorFirstReviewPage-DUuUM8ZT-D3Hy6AXr.js} +1 -1
- package/dist/assets/{VendorInternationalWireDetailsPage--Lb-TviQ-C-zdKbhE.js → VendorInternationalWireDetailsPage--Lb-TviQ-BszSM-eR.js} +1 -1
- package/dist/assets/{VendorInternationalWireSwiftDetailsPage-C6KviV2Z-BDqGzihc.js → VendorInternationalWireSwiftDetailsPage-C6KviV2Z-F_KPp-iO.js} +1 -1
- package/dist/assets/{VendorsAccountsSection-EmHO3wQ0-Ds60jCdB.js → VendorsAccountsSection-EmHO3wQ0-Cd2iA9jY.js} +1 -1
- package/dist/assets/{VerifyDevice-DE3UbLEe-Bosmp51G.js → VerifyDevice-DE3UbLEe-BGY4HzLW.js} +1 -1
- package/dist/assets/{VideoPlayer-Gw_PLr8F-B5il9249.js → VideoPlayer-Gw_PLr8F-DINbF_he.js} +1 -1
- package/dist/assets/{VideoPopup-DPZYhLgy-CxQM8ZsJ.js → VideoPopup-DPZYhLgy-C3chg6KL.js} +1 -1
- package/dist/assets/{WarningsDrawerPage-CZvToguS-BxbFQVxO.js → WarningsDrawerPage-CZvToguS-BDlceajT.js} +1 -1
- package/dist/assets/{ZeniAccountDetailPage-CQhqngBz-CCNvCBi9.js → ZeniAccountDetailPage-CQhqngBz-CrZzMDyW.js} +1 -1
- package/dist/assets/{ZeniAccountListViewPage-CpX8vqYa-CIQ7ee6i.js → ZeniAccountListViewPage-CpX8vqYa-DUyZN2kw.js} +1 -1
- package/dist/assets/{ZeniAccountNavBarPieces-DsUwG15z-Dwp3Id4e.js → ZeniAccountNavBarPieces-DsUwG15z-ULOMTdnV.js} +1 -1
- package/dist/assets/{ZeniAccountPromoPage-DA611IgH-C5-V5OIC.js → ZeniAccountPromoPage-DA611IgH-DqPnJNiN.js} +1 -1
- package/dist/assets/{ZeniAccountSetupPage-CJv2Fk1i-DxNYIjfe.js → ZeniAccountSetupPage-CJv2Fk1i-BYENKXPe.js} +1 -1
- package/dist/assets/{ZeniCopyright-FFqiWypL-CqMesSm0.js → ZeniCopyright-FFqiWypL-DRpT2qrD.js} +1 -1
- package/dist/assets/{ZeniTransferAmountSlider-DSrBZUbA-BhvMyB40.js → ZeniTransferAmountSlider-DSrBZUbA-COQccjSK.js} +1 -1
- package/dist/assets/{analyticsHelper-SHKorczp.js → analyticsHelper-C10Z0SdU.js} +1 -1
- package/dist/assets/{analyticsHelper-CczQLvkM-ChZB75ZC.js → analyticsHelper-CczQLvkM-NKOYGcQM.js} +1 -1
- package/dist/assets/{chartTypes-CwQl8aoN-CqcuqCka.js → chartTypes-CwQl8aoN-C3qQ6ORR.js} +1 -1
- package/dist/assets/{commonDimensions-B1u_MhON-DyL3Hxj-.js → commonDimensions-B1u_MhON-DnvqMiVx.js} +1 -1
- package/dist/assets/{detailCommon-nYxvvV_i-CtgtxyJz.js → detailCommon-nYxvvV_i-tiKhEnt4.js} +1 -1
- package/dist/assets/{downloadPdf-yGlKpV2--CC5ysEvm.js → downloadPdf-yGlKpV2--z1AkZJqI.js} +1 -1
- package/dist/assets/{index-Dp0ze4-l.js → index-BS2lYrPd.js} +4 -4
- package/dist/assets/{mapLoadingInProgressToTreeNode-DIAuL28N-CHz89P0H.js → mapLoadingInProgressToTreeNode-DIAuL28N-DX51pSey.js} +1 -1
- package/dist/assets/{mapSectionWithAcOnlyToTreeNode-DRSmQ56_-D-Dpwz3L.js → mapSectionWithAcOnlyToTreeNode-DRSmQ56_-DjAr7JJM.js} +1 -1
- package/dist/assets/{mapSpacerToTreeNode-DOEVwUIo-C0LPrLsm.js → mapSpacerToTreeNode-DOEVwUIo-74ZQJjki.js} +1 -1
- package/dist/assets/{mapTimeframeBalancesToTreeNode-DbnAvW1M-DBLXBEjh.js → mapTimeframeBalancesToTreeNode-DbnAvW1M-DkEUY3Qa.js} +1 -1
- package/dist/assets/{mapTimeframeBalancesToTreeNode-DkrEWOxt-DcsakCNq.js → mapTimeframeBalancesToTreeNode-DkrEWOxt-D_Zm4Lj0.js} +1 -1
- package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-BucoS7vN-6GTMK9C_.js → mapTimeframeHeaderLoadingInProgressToTreeNode-BucoS7vN-BTOfZwWf.js} +1 -1
- package/dist/assets/{toCOABalancesWithID-rZFEkHuM-CMW_H07o.js → toCOABalancesWithID-rZFEkHuM-DsiNNbX9.js} +1 -1
- package/dist/assets/{toChartData-C-dHC-Oz-Cn-Bmv6B.js → toChartData-C-dHC-Oz-D20Foutd.js} +1 -1
- package/dist/assets/{uploadAttachment-D3clfqPu-BS_riD5o.js → uploadAttachment-D3clfqPu-BXm103pz.js} +1 -1
- package/dist/assets/{uploadReceipts-Bkf_PaOH-B514mmcL.js → uploadReceipts-Bkf_PaOH-Cav4CYLP.js} +1 -1
- package/dist/index.html +1 -1
- package/package.json +1 -1
- package/dist/assets/CustomerOnboardingContainerPage-DMZOvVMM-DZwfJm2T.js +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{Q as W,d as G,F as y,av as ge,V as r,aK as P,bL as _e,bA as be,bz as Se,y as B,o as w,aQ as we,A as ye,bM as Ce,u as S,x as R,aA as J,t as xe,aS as Oe,as as Ae,bD as Re}from"./index-Dp0ze4-l.js";import{a as T,w as X}from"./core-3dlyNYRL.js";import{n as _}from"./mui-bYXq4XMS.js";import{bh as H,eK as Be,eT as ve,eU as $,eV as Le,eW as Te,eX as Pe,eY as ke,eZ as Ne,e_ as ee,e$ as te}from"./zeni-epic-state-xFtF3OLs.js";import{m as z,l as q}from"./analyticsHelper-CczQLvkM-ChZB75ZC.js";import{u as Ie}from"./ReportTableViewSelector-_IO343vS-CCUTRa_q.js";import{a as se,p as Me}from"./TimeRangeSwitcher-BOzR-0O6-DW6Hfe2T.js";import{M as Fe}from"./TimeframeSwitcherWithToggle-CPVSAvFa-D1niAH0D.js";import{DownloadOverlayButton as $e}from"./DownloadOverlay-Dr4uLNpZ-CCGEpjyu.js";import{I as je,R as M,x as ne}from"./CollapsableReportTable-Crihcv_z-B2uLpmZL.js";import{D as oe,T as ae,C as j,L as Ee,g as ie}from"./mapSectionWithAcOnlyToTreeNode-DRSmQ56_-D-Dpwz3L.js";import{s as Y}from"./mapTimeframeBalancesToTreeNode-DkrEWOxt-DcsakCNq.js";import{d as Ve,l as De}from"./mapTimeframeHeaderLoadingInProgressToTreeNode-BucoS7vN-6GTMK9C_.js";import{d as ze}from"./mapLoadingInProgressToTreeNode-DIAuL28N-CHz89P0H.js";import"./sentry-DxvQlcJu.js";import"./lottie-CaGAfnTY.js";import"./liveblocks-B3KbWbMM.js";import"./utils-C70QTjQC.js";import"./analytics-CThNEnNw.js";import"./recharts-CXSQ4XPK.js";import"./lexical-DPEnH3HH.js";import"./TimeframeSwitcher-BVgI_VZw-CmYJCdij.js";import"./page-detail-CWX5S47F-Bc8Xpsuq.js";import"./AccountRow-Ck53DDbT-DysWPQsT.js";function ce({section:e,sectionId:t,numOfBalances:o,config:a}){return ne("no_filter",a.filterAccountsWithNilBalances,a.filterAccountGroupsWithNilBalances).compactedAccountGroupsSelector(e.accountGroups).map(n=>Ue({accountGroup:n,sectionType:t,numOfBalances:o,title:n.accountGroupName,isLastNode:!0,config:a}))}function Ue({accountGroup:e,sectionType:t,numOfBalances:o,title:a,isLastNode:n,config:d}){const p=M("section",[],a+t),l={children:[],id:p,isLastNode:n,reportElementData:{element:{kind:"section",title:a,sectionType:t,data:e,numOfBalances:o},config:d}},i=ne("no_filter",d.filterAccountsWithNilBalances,d.filterAccountGroupsWithNilBalances).compactedAccountsSelectorVariant(e.accounts),u=i.map((g,h)=>ie({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 re({sectionWithAcOnly:e,sectionType:t,numOfBalances:o,config:a}){return e.accounts.map((n,d)=>ie({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 le({balances:e,config:t,nodeId:o}){return{children:[],id:o??M("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 We(e,t,o,a=!0){Object.assign(e.config,t);const n=de(o),d=Y({balances:n,config:t});return{config:t,headerNodes:a?[d]:[],contentNodes:[d,...e.contentNodes.slice(1)]}}const de=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 Ge(e,t,o=!0){const a=y.getLocalizedStrings().reports.sections,n=y.getLocalizedStrings().reports.balanceSheet,d=de(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=le({balances:d,config:t}),i=[];return i.push(l),Object.keys(e.rootSectionsWithSubSectionIds).forEach(u=>{const g=M("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(Le(s)===!0)if(e.sections[s].accountGroups.length>0)if(s==="equity"){const c=ce({sectionId:s,section:e.sections[s],numOfBalances:p,config:t});i.push(...c)}else i.push(oe({section:e.sections[s],sectionType:s,numOfBalances:p,title:n[s],isLastNode:!0,config:t}));else if(s==="equity"){const c=re({sectionWithAcOnly:e.sections[s],sectionType:s,numOfBalances:p,config:t});i.push(...c)}else{const c=e.sections[s];i.push(ae({sectionWithAcOnly:c,sectionType:s,numOfBalances:p,title:n[s],isLastNode:!0,config:t}))}else Te(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 Ye({calculatedSection:e,numOfBalances:t,title:o,isLastNode:a,config:n}){return{children:[],id:M("calculated_section_type1",[],o),isLastNode:a,reportElementData:{element:{kind:"calculated_section_type1",title:o,data:e,numOfBalances:t},config:n}}}function Ze(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=le({balances:d,config:t}),i=[];return Object.keys(e.rootSectionsWithSubSectionIds).forEach(u=>{const g=M("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(Pe(s)===!0)if(e.sections[s].accountGroups.length>0){const c=ce({sectionId:s,section:e.sections[s],numOfBalances:p,config:t});i.push(...c)}else{const c=re({sectionWithAcOnly:e.sections[s],sectionType:s,numOfBalances:p,config:t});i.push(...c)}else ke(s)===!0?i.push(Ye({calculatedSection:e.calculatedSections[s],numOfBalances:p,title:n[s],isLastNode:!0,config:t})):Ne(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 He(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=Ve({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=De[s];const C=ze({title:`${h}+${c}`,balances:p,config:t});C.reportElementData.element.numOfBalances=6,l.push(C)})}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=Y({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(ee(s)===!0){const c=e.sections[s];c!=null&&l.push(Ee({section:c,sectionType:s,numOfBalances:h,title:n.sections[s],isLastNode:!0,config:t}))}else if(te(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 qe(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=Y({balances:n,config:t}),l=[];return l.push(p),e.idsInOrder.forEach(i=>{if(ee(i)===!0&&(e.sections[i].accountGroups.length>0?l.push(oe({section:e.sections[i],sectionType:i,numOfBalances:d,title:a.sections[i],isLastNode:!0,config:t})):l.push(ae({sectionWithAcOnly:e.sections[i],sectionType:i,numOfBalances:d,title:a.sections[i],isLastNode:!0,config:t}))),te(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 Q={contentPaddingLeft:new B(S[0],S[0],S[0]),contentPaddingRight:new B(S[3],S[3],S[8])},Qe=_.div`
|
|
1
|
+
import{Q as W,d as G,F as y,av as ge,V as r,aK as P,bL as _e,bA as be,bz as Se,y as B,o as w,aQ as we,A as ye,bM as Ce,u as S,x as R,aA as J,t as xe,aS as Oe,as as Ae,bD as Re}from"./index-BS2lYrPd.js";import{a as T,w as X}from"./core-3dlyNYRL.js";import{n as _}from"./mui-bYXq4XMS.js";import{bh as H,eK as Be,eT as ve,eU as $,eV as Le,eW as Te,eX as Pe,eY as ke,eZ as Ne,e_ as ee,e$ as te}from"./zeni-epic-state-xFtF3OLs.js";import{m as z,l as q}from"./analyticsHelper-CczQLvkM-NKOYGcQM.js";import{u as Ie}from"./ReportTableViewSelector-_IO343vS-D05Z952-.js";import{a as se,p as Me}from"./TimeRangeSwitcher-BOzR-0O6-CPUqBz5w.js";import{M as Fe}from"./TimeframeSwitcherWithToggle-CPVSAvFa-Cbs3QyiD.js";import{DownloadOverlayButton as $e}from"./DownloadOverlay-Dr4uLNpZ-ZTuAd_OU.js";import{I as je,R as M,x as ne}from"./CollapsableReportTable-Crihcv_z-0VaqiAxf.js";import{D as oe,T as ae,C as j,L as Ee,g as ie}from"./mapSectionWithAcOnlyToTreeNode-DRSmQ56_-DjAr7JJM.js";import{s as Y}from"./mapTimeframeBalancesToTreeNode-DkrEWOxt-D_Zm4Lj0.js";import{d as Ve,l as De}from"./mapTimeframeHeaderLoadingInProgressToTreeNode-BucoS7vN-BTOfZwWf.js";import{d as ze}from"./mapLoadingInProgressToTreeNode-DIAuL28N-DX51pSey.js";import"./sentry-DxvQlcJu.js";import"./lottie-CaGAfnTY.js";import"./liveblocks-B3KbWbMM.js";import"./utils-C70QTjQC.js";import"./analytics-CThNEnNw.js";import"./recharts-CXSQ4XPK.js";import"./lexical-DPEnH3HH.js";import"./TimeframeSwitcher-BVgI_VZw-tBwWBKM5.js";import"./page-detail-CWX5S47F-Bc8Xpsuq.js";import"./AccountRow-Ck53DDbT-D8kuoX62.js";function ce({section:e,sectionId:t,numOfBalances:o,config:a}){return ne("no_filter",a.filterAccountsWithNilBalances,a.filterAccountGroupsWithNilBalances).compactedAccountGroupsSelector(e.accountGroups).map(n=>Ue({accountGroup:n,sectionType:t,numOfBalances:o,title:n.accountGroupName,isLastNode:!0,config:a}))}function Ue({accountGroup:e,sectionType:t,numOfBalances:o,title:a,isLastNode:n,config:d}){const p=M("section",[],a+t),l={children:[],id:p,isLastNode:n,reportElementData:{element:{kind:"section",title:a,sectionType:t,data:e,numOfBalances:o},config:d}},i=ne("no_filter",d.filterAccountsWithNilBalances,d.filterAccountGroupsWithNilBalances).compactedAccountsSelectorVariant(e.accounts),u=i.map((g,h)=>ie({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 re({sectionWithAcOnly:e,sectionType:t,numOfBalances:o,config:a}){return e.accounts.map((n,d)=>ie({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 le({balances:e,config:t,nodeId:o}){return{children:[],id:o??M("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 We(e,t,o,a=!0){Object.assign(e.config,t);const n=de(o),d=Y({balances:n,config:t});return{config:t,headerNodes:a?[d]:[],contentNodes:[d,...e.contentNodes.slice(1)]}}const de=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 Ge(e,t,o=!0){const a=y.getLocalizedStrings().reports.sections,n=y.getLocalizedStrings().reports.balanceSheet,d=de(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=le({balances:d,config:t}),i=[];return i.push(l),Object.keys(e.rootSectionsWithSubSectionIds).forEach(u=>{const g=M("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(Le(s)===!0)if(e.sections[s].accountGroups.length>0)if(s==="equity"){const c=ce({sectionId:s,section:e.sections[s],numOfBalances:p,config:t});i.push(...c)}else i.push(oe({section:e.sections[s],sectionType:s,numOfBalances:p,title:n[s],isLastNode:!0,config:t}));else if(s==="equity"){const c=re({sectionWithAcOnly:e.sections[s],sectionType:s,numOfBalances:p,config:t});i.push(...c)}else{const c=e.sections[s];i.push(ae({sectionWithAcOnly:c,sectionType:s,numOfBalances:p,title:n[s],isLastNode:!0,config:t}))}else Te(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 Ye({calculatedSection:e,numOfBalances:t,title:o,isLastNode:a,config:n}){return{children:[],id:M("calculated_section_type1",[],o),isLastNode:a,reportElementData:{element:{kind:"calculated_section_type1",title:o,data:e,numOfBalances:t},config:n}}}function Ze(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=le({balances:d,config:t}),i=[];return Object.keys(e.rootSectionsWithSubSectionIds).forEach(u=>{const g=M("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(Pe(s)===!0)if(e.sections[s].accountGroups.length>0){const c=ce({sectionId:s,section:e.sections[s],numOfBalances:p,config:t});i.push(...c)}else{const c=re({sectionWithAcOnly:e.sections[s],sectionType:s,numOfBalances:p,config:t});i.push(...c)}else ke(s)===!0?i.push(Ye({calculatedSection:e.calculatedSections[s],numOfBalances:p,title:n[s],isLastNode:!0,config:t})):Ne(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 He(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=Ve({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=De[s];const C=ze({title:`${h}+${c}`,balances:p,config:t});C.reportElementData.element.numOfBalances=6,l.push(C)})}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=Y({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(ee(s)===!0){const c=e.sections[s];c!=null&&l.push(Ee({section:c,sectionType:s,numOfBalances:h,title:n.sections[s],isLastNode:!0,config:t}))}else if(te(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 qe(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=Y({balances:n,config:t}),l=[];return l.push(p),e.idsInOrder.forEach(i=>{if(ee(i)===!0&&(e.sections[i].accountGroups.length>0?l.push(oe({section:e.sections[i],sectionType:i,numOfBalances:d,title:a.sections[i],isLastNode:!0,config:t})):l.push(ae({sectionWithAcOnly:e.sections[i],sectionType:i,numOfBalances:d,title:a.sections[i],isLastNode:!0,config:t}))),te(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 Q={contentPaddingLeft:new B(S[0],S[0],S[0]),contentPaddingRight:new B(S[3],S[3],S[8])},Qe=_.div`
|
|
2
2
|
height: ${e=>e.height}px;
|
|
3
3
|
width: 99.9%;
|
|
4
4
|
margin-top: ${w.sp2};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{d as A,V as a,F as S,Q as de,aK as Ae,b1 as Z,u as I,b as M,aV as J,o as m,p as g,aA as Ve,y as xe,bJ as ge,ak as R,bK as V,b8 as F}from"./index-
|
|
1
|
+
import{d as A,V as a,F as S,Q as de,aK as Ae,b1 as Z,u as I,b as M,aV as J,o as m,p as g,aA as Ve,y as xe,bJ as ge,ak as R,bK as V,b8 as F}from"./index-BS2lYrPd.js";import{a as P,w as ee}from"./core-3dlyNYRL.js";import{n as x}from"./mui-bYXq4XMS.js";import{p as b,d as ae,y as W,b as N,g as re,u as T}from"./chartTypes-CwQl8aoN-C3qQ6ORR.js";import{i as K,h as oe,c as G}from"./toCOABalancesWithID-rZFEkHuM-DsiNNbX9.js";import{V as Q}from"./toChartData-C-dHC-Oz-D20Foutd.js";import{B as Te,C as te,X as le,Y as ne,T as ce,L as pe,b as se,c as me,d as fe}from"./recharts-CXSQ4XPK.js";const X={legendLabelMarginLeft:new xe(2,2),legendLabelMarginRight:new xe(I[3],I[4])},Fe=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,av as Ct,y as u,e$ as Dt,F as It,f0 as Pt,f1 as kt,V as t,f2 as At,f3 as le,f4 as Mt,f5 as Bt,f6 as Ft,aK as j,f7 as Lt,aL as A,f8 as Rt,f9 as zt,fa as Me,fb as Be,fc as Fe,b as U,fd as O,fe as E,ff as W,p as S,fg as Nt,fh as Ot,fi as Et,fj as Wt,bQ as Le,o as n,aO as Zt,u as d,ah as Gt,b$ as Vt,B as Yt,M as Kt,fk as _t,cf as Ut,ak as de,al as ce,fl as qt,fm as Ht,bg as Qt,c as Jt,b7 as Xt,ap as et,bI as en,ag as tt,br as tn,fn as nn}from"./index-Dp0ze4-l.js";import{a as G}from"./core-3dlyNYRL.js";import{n as i}from"./mui-bYXq4XMS.js";import{bp as Re,bn as ze,bK as I,bQ as an,fv as ln,bO as oe,bS as on}from"./zeni-epic-state-xFtF3OLs.js";import{t as rn,o as sn}from"./LowBalancePopup-B0BDCEui-BDJRdwYk.js";import{S as Z}from"./LabeledText-Db46hFZY-DtE2280z.js";import"./sentry-DxvQlcJu.js";import"./lottie-CaGAfnTY.js";import"./liveblocks-B3KbWbMM.js";import"./utils-C70QTjQC.js";import"./analytics-CThNEnNw.js";import"./recharts-CXSQ4XPK.js";import"./lexical-DPEnH3HH.js";const nt=["small","medium-compact","medium-regular"],m={largeLabelWidth:new u(150,215,215),infoMinWidth:new u(0,0,0,142,142),infoMarginRight:new u(0,0,0,d[2],d[2]),footerButtonWidth:new u(120,165),iconContainerMarginTop:new u(6,d[1]),navBarContainerPaddingTop:new u(10,d[3]),sectionTitleMarginLeft:new u(d[3],d[0]),reviewContainerMarginLeft:new u(d[3],d[6]),reviewContainerMarginRight:new u(d[3],d[8]),footerRightIconMarginRight:new u(d[0],d[0],d[7]),infoLabelPaddingRight:new u(d[0],d[3]),infoLabelMarginTop:new u(d[1],d[0])},dn={sectionTitle:new Yt("h6Medium","h5Medium")},{dateFormat:Ne,common:{currency:v,labels:Oe,edit:cn,strings:{empty:y}},spendManagement:{billPay:mn}}=It.getLocalizedStrings(),{billDetails:a,paymentDetails:Ee}=mn,We=({attachment:e})=>{const[b,g]=G.useState(!1),M=()=>{g(!1)},T=e.fileId?.length===0;return t.jsxs(On,{isDisabled:e.fileId?.length===0,"data-testid":j("attachment-tag",e.fileName),onClick:()=>T===!1?g(!0):null,children:[b&&e?.fileDownloadUrl!=null?t.jsx(qt,{title:e.fileName,file:e,onCrossClick:()=>M(),setShowFullScreenView:g}):null,t.jsx(En,{children:t.jsx(Ht,{contentType:e.contentType})})]})},di=({billDetails:e,billpayApprovalView:b,isBillPayCommentingEnabled:g,currentTenant:M,isInternationalPaymentShaVsOurEnabled:T,isLocalCurrencyEnabled:it,style:at,analytics:w,isRecurringBillsFeatureEnabled:lt,isApprovalRequiredForMarkAsPaid:ot,isDetectInsufficientFundsEnabled:rt,billId:f,onClickEdit:me,discardBillDetailsFromLocalStore:pe,saveBillDetails:ue,discardOutsideZeniPaymentData:st,updateBillDetailSaveBillCode:ye,redirectToBillsScreen:he,onAttachmentClick:J,retryPayment:dt})=>{const s=Tt(),c=Ct(),B={application:"dashboard",companyId:c.currentTenant?.companyId,tab:"bill",entityId:f},F=g&&f!=null,L=`dashboard_${c.currentTenant?.companyId}`,R=m.largeLabelWidth.value(s),z=e.saveStatus,X=e.zeniAssistRetryStatus,ee=e.vendor?.vendorCurrencyCode,o=Dt(T,it,e.billPayConfigList.filter(l=>l.method.includes(e.paymentDetailsSection?.withdrawFrom?.accType??"depositAccount")),e.paymentDetailsSection?.internationalTransferFeeBearerPaymentMethod,e.paymentDetailsSection?.paymentType,ee),C=Ne.visual.MMMDCommaYYYYformat,ge={amount:e.recipientTotalAmount.amount/(e.paymentDetailsSection?.conversionRate??1)*100/100,currencyCode:v.currencyCode,currencySymbol:v.currencySymbol},p={amount:o?.method.includes("international")===!0?Pt(ge,o):e.recipientTotalAmount.amount+(o?.fee.amount??0),currencyCode:v.currencyCode,currencySymbol:v.currencySymbol},N={amount:o?.method.includes("international")===!0?kt(ge,o):o?.fee.amount??0,currencyCode:v.currencyCode,currencySymbol:v.currencySymbol},[ct,fe]=G.useState(!1),[mt,xe]=G.useState(!1),be=()=>fe(!1),pt=()=>{w.trackBillPayMagicLinkPreviewEmail("review_bill"),fe(!0)},ut=e.isCollectToAccountInfoFromVendorContact?t.jsxs(t.Fragment,{children:[`${a.magicLink.collectFrom} ${e.toAccountVendorEmail}`,t.jsx(Rn,{size:s,children:t.jsx(Ln,{})})]}):At(e.paymentDetailsSection?.paymentTo);G.useEffect(()=>{(z?.fetchState==="Completed"||X?.fetchState==="Completed")&&(pe(),ye(),he())},[z,X,he,pe,ye]);const $=e.billPayInfo?.stage,P=e.billPayInfo?.billStatus,V=e.billPayInfo?.billPaymentStatus,yt=e.billPayInfo?.billPaymentRefundStatus,te=$?.code==="paid"?$:P?.code=="approved"&&V?.code?V:P,ht=e.billPayInfo?.isRefundInitiated===!0?yt:P?.code=="approved"&&V?.code?V:P,ne=()=>{me()},we=()=>{me()},Y=e.paymentDetailsSection?.paymentDate,ie=le(o?.method??""),$e=ie.replace("Same Day",""),gt=e.isCollectToAccountInfoFromVendorContact?t.jsx(Mt,{paymentTypeLabel:$e,onClick:pt}):a.addedByZeni,K=b.allApprovalRules.length>0,ft=Re(o?.method!=null&&(o.method.includes(I)||o?.fee.amount!=null&&o.fee.amount!==0)?p.amount-N.amount:p.amount,o?.fee.currencyCode??ze.currencyCode,o?.fee.currencySymbol??ze.currencySymbol),h=an(e.paymentDetailsSection?.paymentType?.method),xt=l=>{w.trackBillPayMarkAsPaidSubmit(l.paymentMode??"other",$?.code??"draft",te?.code??""),ue(!0,l)},ve=()=>{xe(!0),w.trackBillPayMarkAsPaid($?.code??"draft",te?.code??"")},bt=()=>{st(),xe(!1)},k=h&&($?.code!=null?$.code==="draft"||P?.code==="approved":!0),x=k&&!ot,je=Ze(x,K,e.isBillMarkedForRetry),wt=()=>h?x?void 0:a.paymentOutsideZeni.reviewInfo:o?.method!=null&&o.method.includes(I)&&e.paymentDetailsSection?.internationalTransferFeeBearerPaymentMethod!=null&&T&&ee===v.currencyCode?Ot(e.paymentDetailsSection.internationalTransferFeeBearerPaymentMethod):void 0,ae=rt&&e.paymentDetailsSection!=null?Bt(p,e.paymentDetailsSection.withdrawFrom,e.paymentDetailsSection.paymentDate):void 0,$t=()=>{const l=e.paymentDetailsSection?.paymentDate,r=e.isCollectToAccountInfoFromVendorContact,D=e.recurringConfig,jt=e.recipientTotalAmount;if(e.isInvoiceDateAutoUpdated===!0&&w.trackBillPayAutoDateChange(f??"new_bill"),o?.method!=null&&l!=null){const St=h?a.paymentOutsideZeni.offline:le(o.method);if(w.trackBillPaySendForApproval(St,l.format(Ne.analytics.MMMDashDDDashYYYYFormat),r,e.isRecurring,f,e.paymentDetailsSection?.internationalTransferFeeBearerPaymentMethod,{startDate:oe(D?.startDate?.toString()??"").format(C),endDate:oe(D?.endDate?.toString()??"").format(C),frequency:D?.frequency??"monthly",totalAmount:jt.amount,totalPaymentCycles:D?.totalPaymentCycles??0,isApprovalRequired:D?.isApprovalRequired??!1,updateCurrentBill:e.recurringConfig?.id!=null?D?.updateRecurringBills==="current":void 0,updateFutureRecurringBills:e.recurringConfig?.id!=null?D?.updateRecurringBills==="all":void 0}),ae!=null){const Ce=$?.code??"draft",De=P?.code??"",Ie=e.isRecurring?["Recurring"]:["One-Time"],Pe=e.invoiceNumber??"",ke=nn(c.loggedInUser),Ae=e.paymentDetailsSection?.withdrawFrom?.accType==="depositAccount"?"ZA":"External Account";je===a.scheduleBill?w.trackLowBalanceAccountSchedule(Ce,De,Ie,Pe,ke,Ae):je===a.sendForApproval&&w.trackLowBalanceAccountSentForApproval(Ce,De,Ie,Pe,ke,Ae)}}},Se=()=>{Te===!0&&_(!1),e.isBillMarkedForRetry===!0?(dt(),w.trackRetryConfirmClick(te?.code??"",$?.code??"",ht?.description??"",e.isRecurring?["Recurring"]:["One-Time"],e.invoiceNumber??"")):e.vendor!=null&&($t(),ue(!1,{}))},vt=ln(p.amount,b.allApprovalRules,c.loggedInUser),[Te,_]=G.useState(!1);return t.jsxs($n,{children:[mt?t.jsx(rn,{onCancel:bt,onProceedForMarkAsPaid:xt,saveDetailsFetchState:z?.fetchState,paymentData:e.outsideZeniPaymentInfo}):null,Te?t.jsx(sn,{withdrawFrom:e.paymentDetailsSection?.withdrawFrom,paymentDate:e.paymentDetailsSection?.paymentDate,onOkClick:Se,onCancelClick:()=>{_(!1),ne()},onClickAway:()=>{_(!1)}}):null,t.jsx(Ft,{anchor:"right",open:ct,onClose:be,transitionDuration:250,"data-testid":j("vendor-email-preview-drawer"),children:t.jsx(Lt,{companyName:Rt(M.company?.companyInfo),vendor:e.vendor?.name,paymentDate:Y?.format(C)??"",paymentType:$e,amount:A("0,0[.]00",p),isInvoiceAttached:!!e.file,onClose:be})}),t.jsxs(vn,{windowSize:s,style:at,children:[s==="small"?t.jsxs(Fn,{windowSize:s,children:[t.jsx(qe,{onClick:we,"data-testid":j("review-detail-nav-bar-small-back")}),t.jsx(Ye,{windowSize:s,children:a.oneLastLook})]}):t.jsx(Bn,{"data-testid":j("review-details-nav-bar-back"),children:t.jsx(qe,{onClick:we})}),s!=="small"?t.jsx(Sn,{children:t.jsx(Ye,{windowSize:s,children:a.oneLastLook})}):null,e.duplicateBillTransactions.length>0?t.jsxs(Tn,{children:[t.jsxs(Cn,{children:[t.jsx(Kn,{}),t.jsxs(Dn,{children:[t.jsx(Pn,{children:a.duplicateBillPayWarning}),t.jsxs(In,{children:[a.duplicateBillPayWarningSubHeading,t.jsxs("span",{"data-testid":j("review-detail-attachment-button"),onClick:()=>J(e.duplicateBillTransactions[0].id,e.duplicateBillTransactions[0].billPayInfo.stage.code),style:{textDecoration:"underline",cursor:"pointer"},children:[a.viewBill,e.duplicateBillTransactions[0].documentId]})]})]})]}),t.jsxs(Gn,{children:[t.jsx(Yn,{children:a.duplicateInvoiceFound}),e.duplicateBillTransactions.map(l=>{const r=zt(l);return l!=null?t.jsx(Vn,{children:nt.includes(s)?t.jsxs(Ke,{windowSize:s,children:[t.jsxs(kn,{children:[t.jsxs(An,{children:[l.attachments&&l.attachments.length>0?t.jsx(We,{attachment:l.attachments[0]}):t.jsx(He,{children:t.jsx(Qe,{})}),t.jsx(H,{children:t.jsxs(t.Fragment,{children:[l.documentId!=null?a.invoiceNo:null,l.documentId]})})]}),t.jsx(Je,{windowSize:s,children:A("0,0[.]00",l.recipientTotalAmount)})]}),t.jsxs(Wn,{"data-testid":j("review-detail-mobile-info"),onClick:()=>J(l.id,l.billPayInfo.stage.code),children:[t.jsxs(H,{children:[l.dueDate!=null?a.due:null," ",l.dueDate?.format(C)]}),t.jsx(Xe,{children:r!=null?Me.includes(r.code)?t.jsx(Be,{style:{padding:"2px 5px"},title:r.value,placement:"top",children:t.jsx(Q,{color:r.color,bgColor:r.bgColor,borderColor:r.borderColor,children:r.value})}):t.jsx(Q,{color:r.color,bgColor:r.bgColor,borderColor:r.borderColor,children:r.value}):null})]})]}):t.jsxs(Ke,{windowSize:s,children:[l.attachments&&l.attachments.length>0?t.jsx(We,{attachment:l.attachments[0]}):t.jsx(He,{children:t.jsx(Qe,{})}),t.jsxs(Zn,{"data-testid":j("review-detail-info"),onClick:()=>J(l.id,l.billPayInfo.stage.code),children:[t.jsx(H,{style:{width:"50%"},children:t.jsxs("div",{children:[l.documentId!=null?a.invoiceNo:null," ",l.documentId]})}),t.jsxs(H,{style:{width:"25%"},children:[l.dueDate!=null?a.due:null," ",l.dueDate?.format(C)]}),t.jsx(Je,{style:{width:"25%"},windowSize:s,children:A("0,0[.]00",l.amount)})]}),t.jsx(Xe,{children:r!=null?Me.includes(r.code)?t.jsx(Be,{style:{padding:"2px 5px"},title:r.value,placement:"top",children:t.jsx(Q,{color:r.color,bgColor:r.bgColor,borderColor:r.borderColor,children:r.value})}):t.jsx(Q,{color:r.color,bgColor:r.bgColor,borderColor:r.borderColor,children:r.value}):null})]})},l.id):null})]})]}):null,t.jsxs(Mn,{children:[t.jsx(_e,{children:a.pay}),t.jsx(Ue,{children:t.jsx(Fe,{amount:ft,integerStyles:U.largeMedium.cssObject,decimalStyles:U.smallMedium.cssObject})}),t.jsx(_e,{children:a.to}),t.jsx(Ue,{children:e.vendor?.name})]}),t.jsxs(jn,{children:[h?null:t.jsxs(t.Fragment,{children:[t.jsx(O,{isThreadAllowed:F,entityId:f,dashboardTabKey:W({type:"details",key:"withdrawFrom"}),roomId:L,companyId:c.currentTenant?.companyId??y,companyName:c.currentTenant?.companyName??y,dashboardOptionType:"bill",filterMetaData:{...B,entityType:`bill.details.${E("withdrawFrom")}`},children:t.jsx(Z,{label:{label:a.withdrawFrom,width:R},style:{width:"auto"},value:e.paymentDetailsSection?.withdrawFrom!=null?Nt(e.paymentDetailsSection.withdrawFrom,s):y,infoLabelStyle:{textAlign:s==="small"?"left":"right",paddingRight:m.infoLabelPaddingRight.valuePx(s),marginTop:m.infoLabelMarginTop.valuePx(s),color:S.brandColorGoldDark},additionalInfoLabel:ae})}),t.jsx(q,{})]}),t.jsx(O,{isThreadAllowed:F,entityId:f,dashboardTabKey:W({type:"details",key:"paymentType"}),roomId:L,companyId:c.currentTenant?.companyId??y,companyName:c.currentTenant?.companyName??y,dashboardOptionType:"bill",filterMetaData:{...B,entityType:`bill.details.${E("paymentType")}`},children:t.jsx(Z,{label:{label:a.paymentMethod,width:R},style:{width:"auto"},value:le(o?.method??""),additionalInfoLabel:wt()})}),t.jsx(q,{}),!h&&Y!=null?t.jsxs(t.Fragment,{children:[t.jsx(O,{isThreadAllowed:F,entityId:f,dashboardTabKey:W({type:"details",key:"paymentDate"}),roomId:L,companyId:c.currentTenant?.companyId??y,companyName:c.currentTenant?.companyName??y,dashboardOptionType:"bill",filterMetaData:{...B,entityType:`bill.details.${E("paymentDate")}`},children:t.jsx(Z,{label:{label:a.paymentDate,width:R},style:{width:"auto"},value:Y.format(C),additionalInfoLabel:`${a.estimatedArrival}${oe(on(Y.toDate(),[0,6],o?.maxPeriod.value??0).toDateString()).format(C)} - (${ie.length>0?`${ie} `:""}${a.deliveryTimeLabel} = ${o?.maxPeriod.value??"0"} ${a.deliveryTimeUnits})`})}),t.jsx(q,{})]}):null,h?null:t.jsx(O,{isThreadAllowed:F,entityId:f,dashboardTabKey:W({type:"details",key:"paymentTo"}),roomId:L,companyId:c.currentTenant?.companyId??y,companyName:c.currentTenant?.companyName??y,dashboardOptionType:"bill",filterMetaData:{...B,entityType:`bill.details.${E("paymentTo")}`},children:t.jsx(Z,{label:{label:a.paymentTo,width:R},style:{width:"auto"},value:ut??"",additionalInfoLabel:gt})}),h||lt?t.jsxs(t.Fragment,{children:[t.jsx(q,{}),t.jsx(O,{isThreadAllowed:F,entityId:f,dashboardTabKey:W({type:"details",key:"recurringPaymentType"}),roomId:L,companyId:c.currentTenant?.companyId??y,companyName:c.currentTenant?.companyName??y,dashboardOptionType:"bill",filterMetaData:{...B,entityType:`bill.details.${E("recurringPaymentType")}`},children:t.jsx(Z,{label:{label:a.paymentType,width:R},style:{width:"auto"},value:Wt(e.isRecurring,h,e.recurringBillInstance??1,e.recurringConfig?.totalPaymentCycles??0),additionalInfoLabel:Et(s,e.isRecurring,h,e.recurringConfig)})})]}):null]}),!h&&o?.method!=null&&(o.method.includes(I)||o?.fee.amount!=null&&o.fee.amount!==0)?t.jsx(fn,{children:t.jsxs(xn,{windowSize:s,children:[t.jsxs(bn,{children:[t.jsx(yn,{children:a.total}),t.jsx(Le,{style:{padding:`12px ${n.sp3}`,lineHeight:"18px"},maxWidth:"312px",title:t.jsxs(gn,{children:[t.jsxs(Ve,{children:[t.jsx(se,{children:o.method.includes(I)&&ee!==v.currencyCode?Ee.conversionAmountColon:Oe.invoiceAmount}),t.jsx(re,{children:A("0,0[.]00",{amount:p.amount-N.amount,currencySymbol:N.currencySymbol})})]}),t.jsxs(Ve,{children:[t.jsx(se,{children:Ee.transactionFee}),t.jsx(re,{children:A("0,0[.]00",{amount:N.amount,currencySymbol:N.currencySymbol})})]}),t.jsx(hn,{}),t.jsxs(un,{children:[t.jsx(se,{children:Oe.total}),t.jsx(re,{children:A("0,0[.]00",{amount:p.amount,currencyCode:p.currencyCode,currencySymbol:p.currencySymbol})})]})]}),placement:"top-end",children:t.jsx(pn,{})})]}),t.jsx(wn,{children:t.jsx(Fe,{amount:Re(p.amount,p.currencyCode,p.currencySymbol),integerStyles:U.h6Medium.cssObject,decimalStyles:U.standardMedium.cssObject})})]})}):null]}),t.jsx(Zt,{cancelBtn:{label:k&&!x?a.paymentOutsideZeni.markAsPaid:a.editBill,onClick:k&&!x?ve:ne,style:{width:Ge(!1,k,x,K,s)}},primaryBtn:{label:Ze(x,K,e.isBillMarkedForRetry),isLoading:z?.fetchState==="In-Progress"||X?.fetchState==="In-Progress",onClick:x?ve:()=>{vt&&ae!=null?_(!0):Se()},style:{width:Ge(!0,k,x,K,s)}},rightSideComponent:k&&!x&&z.fetchState!=="In-Progress"?t.jsx(_n,{windowSize:s,children:t.jsx(Le,{style:{color:S.heroDark,padding:`2px ${n.sp2}`},display:"flex",title:cn,placement:"top",children:t.jsx(qn,{onClick:ne,"data-testid":j("review-detail-edit-bill-button"),children:t.jsx(Un,{})})})}):null,style:{minHeight:e.paymentDetailsSection?.paymentType?.method!=null&&e.paymentDetailsSection.paymentType.method.includes(I)?127:62,...e.paymentDetailsSection?.paymentType?.method!=null&&e.paymentDetailsSection.paymentType.method.includes(I)&&{padding:n.sp3,rowGap:n.sp3}},children:e.paymentDetailsSection?.paymentType?.method!=null&&e.paymentDetailsSection.paymentType.method.includes(I)?t.jsxs(zn,{children:[a.internationalText1,t.jsx(Nn,{href:"https://www.nium.com/legal/end-customer-terms",target:"_Blank",rel:"noopener noreferrer",children:a.internationalTerms}),a.internationalText2]}):null})]})},Ze=(e,b,g)=>e?a.paymentOutsideZeni.markAsPaid:g===!0?a.retryPayment:b?a.sendForApproval:a.scheduleBill,Ge=(e,b,g,M,T)=>g?128:b&&!e&&T==="small"?"auto":M?165:m.footerButtonWidth.value(T),pn=i(en)`
|
|
1
|
+
import{Q as Tt,av as Ct,y as u,e$ as Dt,F as It,f0 as Pt,f1 as kt,V as t,f2 as At,f3 as le,f4 as Mt,f5 as Bt,f6 as Ft,aK as j,f7 as Lt,aL as A,f8 as Rt,f9 as zt,fa as Me,fb as Be,fc as Fe,b as U,fd as O,fe as E,ff as W,p as S,fg as Nt,fh as Ot,fi as Et,fj as Wt,bQ as Le,o as n,aO as Zt,u as d,ah as Gt,b$ as Vt,B as Yt,M as Kt,fk as _t,cf as Ut,ak as de,al as ce,fl as qt,fm as Ht,bg as Qt,c as Jt,b7 as Xt,ap as et,bI as en,ag as tt,br as tn,fn as nn}from"./index-BS2lYrPd.js";import{a as G}from"./core-3dlyNYRL.js";import{n as i}from"./mui-bYXq4XMS.js";import{bp as Re,bn as ze,bK as I,bQ as an,fv as ln,bO as oe,bS as on}from"./zeni-epic-state-xFtF3OLs.js";import{t as rn,o as sn}from"./LowBalancePopup-B0BDCEui-BHh6vWlW.js";import{S as Z}from"./LabeledText-Db46hFZY-On31nWEf.js";import"./sentry-DxvQlcJu.js";import"./lottie-CaGAfnTY.js";import"./liveblocks-B3KbWbMM.js";import"./utils-C70QTjQC.js";import"./analytics-CThNEnNw.js";import"./recharts-CXSQ4XPK.js";import"./lexical-DPEnH3HH.js";const nt=["small","medium-compact","medium-regular"],m={largeLabelWidth:new u(150,215,215),infoMinWidth:new u(0,0,0,142,142),infoMarginRight:new u(0,0,0,d[2],d[2]),footerButtonWidth:new u(120,165),iconContainerMarginTop:new u(6,d[1]),navBarContainerPaddingTop:new u(10,d[3]),sectionTitleMarginLeft:new u(d[3],d[0]),reviewContainerMarginLeft:new u(d[3],d[6]),reviewContainerMarginRight:new u(d[3],d[8]),footerRightIconMarginRight:new u(d[0],d[0],d[7]),infoLabelPaddingRight:new u(d[0],d[3]),infoLabelMarginTop:new u(d[1],d[0])},dn={sectionTitle:new Yt("h6Medium","h5Medium")},{dateFormat:Ne,common:{currency:v,labels:Oe,edit:cn,strings:{empty:y}},spendManagement:{billPay:mn}}=It.getLocalizedStrings(),{billDetails:a,paymentDetails:Ee}=mn,We=({attachment:e})=>{const[b,g]=G.useState(!1),M=()=>{g(!1)},T=e.fileId?.length===0;return t.jsxs(On,{isDisabled:e.fileId?.length===0,"data-testid":j("attachment-tag",e.fileName),onClick:()=>T===!1?g(!0):null,children:[b&&e?.fileDownloadUrl!=null?t.jsx(qt,{title:e.fileName,file:e,onCrossClick:()=>M(),setShowFullScreenView:g}):null,t.jsx(En,{children:t.jsx(Ht,{contentType:e.contentType})})]})},di=({billDetails:e,billpayApprovalView:b,isBillPayCommentingEnabled:g,currentTenant:M,isInternationalPaymentShaVsOurEnabled:T,isLocalCurrencyEnabled:it,style:at,analytics:w,isRecurringBillsFeatureEnabled:lt,isApprovalRequiredForMarkAsPaid:ot,isDetectInsufficientFundsEnabled:rt,billId:f,onClickEdit:me,discardBillDetailsFromLocalStore:pe,saveBillDetails:ue,discardOutsideZeniPaymentData:st,updateBillDetailSaveBillCode:ye,redirectToBillsScreen:he,onAttachmentClick:J,retryPayment:dt})=>{const s=Tt(),c=Ct(),B={application:"dashboard",companyId:c.currentTenant?.companyId,tab:"bill",entityId:f},F=g&&f!=null,L=`dashboard_${c.currentTenant?.companyId}`,R=m.largeLabelWidth.value(s),z=e.saveStatus,X=e.zeniAssistRetryStatus,ee=e.vendor?.vendorCurrencyCode,o=Dt(T,it,e.billPayConfigList.filter(l=>l.method.includes(e.paymentDetailsSection?.withdrawFrom?.accType??"depositAccount")),e.paymentDetailsSection?.internationalTransferFeeBearerPaymentMethod,e.paymentDetailsSection?.paymentType,ee),C=Ne.visual.MMMDCommaYYYYformat,ge={amount:e.recipientTotalAmount.amount/(e.paymentDetailsSection?.conversionRate??1)*100/100,currencyCode:v.currencyCode,currencySymbol:v.currencySymbol},p={amount:o?.method.includes("international")===!0?Pt(ge,o):e.recipientTotalAmount.amount+(o?.fee.amount??0),currencyCode:v.currencyCode,currencySymbol:v.currencySymbol},N={amount:o?.method.includes("international")===!0?kt(ge,o):o?.fee.amount??0,currencyCode:v.currencyCode,currencySymbol:v.currencySymbol},[ct,fe]=G.useState(!1),[mt,xe]=G.useState(!1),be=()=>fe(!1),pt=()=>{w.trackBillPayMagicLinkPreviewEmail("review_bill"),fe(!0)},ut=e.isCollectToAccountInfoFromVendorContact?t.jsxs(t.Fragment,{children:[`${a.magicLink.collectFrom} ${e.toAccountVendorEmail}`,t.jsx(Rn,{size:s,children:t.jsx(Ln,{})})]}):At(e.paymentDetailsSection?.paymentTo);G.useEffect(()=>{(z?.fetchState==="Completed"||X?.fetchState==="Completed")&&(pe(),ye(),he())},[z,X,he,pe,ye]);const $=e.billPayInfo?.stage,P=e.billPayInfo?.billStatus,V=e.billPayInfo?.billPaymentStatus,yt=e.billPayInfo?.billPaymentRefundStatus,te=$?.code==="paid"?$:P?.code=="approved"&&V?.code?V:P,ht=e.billPayInfo?.isRefundInitiated===!0?yt:P?.code=="approved"&&V?.code?V:P,ne=()=>{me()},we=()=>{me()},Y=e.paymentDetailsSection?.paymentDate,ie=le(o?.method??""),$e=ie.replace("Same Day",""),gt=e.isCollectToAccountInfoFromVendorContact?t.jsx(Mt,{paymentTypeLabel:$e,onClick:pt}):a.addedByZeni,K=b.allApprovalRules.length>0,ft=Re(o?.method!=null&&(o.method.includes(I)||o?.fee.amount!=null&&o.fee.amount!==0)?p.amount-N.amount:p.amount,o?.fee.currencyCode??ze.currencyCode,o?.fee.currencySymbol??ze.currencySymbol),h=an(e.paymentDetailsSection?.paymentType?.method),xt=l=>{w.trackBillPayMarkAsPaidSubmit(l.paymentMode??"other",$?.code??"draft",te?.code??""),ue(!0,l)},ve=()=>{xe(!0),w.trackBillPayMarkAsPaid($?.code??"draft",te?.code??"")},bt=()=>{st(),xe(!1)},k=h&&($?.code!=null?$.code==="draft"||P?.code==="approved":!0),x=k&&!ot,je=Ze(x,K,e.isBillMarkedForRetry),wt=()=>h?x?void 0:a.paymentOutsideZeni.reviewInfo:o?.method!=null&&o.method.includes(I)&&e.paymentDetailsSection?.internationalTransferFeeBearerPaymentMethod!=null&&T&&ee===v.currencyCode?Ot(e.paymentDetailsSection.internationalTransferFeeBearerPaymentMethod):void 0,ae=rt&&e.paymentDetailsSection!=null?Bt(p,e.paymentDetailsSection.withdrawFrom,e.paymentDetailsSection.paymentDate):void 0,$t=()=>{const l=e.paymentDetailsSection?.paymentDate,r=e.isCollectToAccountInfoFromVendorContact,D=e.recurringConfig,jt=e.recipientTotalAmount;if(e.isInvoiceDateAutoUpdated===!0&&w.trackBillPayAutoDateChange(f??"new_bill"),o?.method!=null&&l!=null){const St=h?a.paymentOutsideZeni.offline:le(o.method);if(w.trackBillPaySendForApproval(St,l.format(Ne.analytics.MMMDashDDDashYYYYFormat),r,e.isRecurring,f,e.paymentDetailsSection?.internationalTransferFeeBearerPaymentMethod,{startDate:oe(D?.startDate?.toString()??"").format(C),endDate:oe(D?.endDate?.toString()??"").format(C),frequency:D?.frequency??"monthly",totalAmount:jt.amount,totalPaymentCycles:D?.totalPaymentCycles??0,isApprovalRequired:D?.isApprovalRequired??!1,updateCurrentBill:e.recurringConfig?.id!=null?D?.updateRecurringBills==="current":void 0,updateFutureRecurringBills:e.recurringConfig?.id!=null?D?.updateRecurringBills==="all":void 0}),ae!=null){const Ce=$?.code??"draft",De=P?.code??"",Ie=e.isRecurring?["Recurring"]:["One-Time"],Pe=e.invoiceNumber??"",ke=nn(c.loggedInUser),Ae=e.paymentDetailsSection?.withdrawFrom?.accType==="depositAccount"?"ZA":"External Account";je===a.scheduleBill?w.trackLowBalanceAccountSchedule(Ce,De,Ie,Pe,ke,Ae):je===a.sendForApproval&&w.trackLowBalanceAccountSentForApproval(Ce,De,Ie,Pe,ke,Ae)}}},Se=()=>{Te===!0&&_(!1),e.isBillMarkedForRetry===!0?(dt(),w.trackRetryConfirmClick(te?.code??"",$?.code??"",ht?.description??"",e.isRecurring?["Recurring"]:["One-Time"],e.invoiceNumber??"")):e.vendor!=null&&($t(),ue(!1,{}))},vt=ln(p.amount,b.allApprovalRules,c.loggedInUser),[Te,_]=G.useState(!1);return t.jsxs($n,{children:[mt?t.jsx(rn,{onCancel:bt,onProceedForMarkAsPaid:xt,saveDetailsFetchState:z?.fetchState,paymentData:e.outsideZeniPaymentInfo}):null,Te?t.jsx(sn,{withdrawFrom:e.paymentDetailsSection?.withdrawFrom,paymentDate:e.paymentDetailsSection?.paymentDate,onOkClick:Se,onCancelClick:()=>{_(!1),ne()},onClickAway:()=>{_(!1)}}):null,t.jsx(Ft,{anchor:"right",open:ct,onClose:be,transitionDuration:250,"data-testid":j("vendor-email-preview-drawer"),children:t.jsx(Lt,{companyName:Rt(M.company?.companyInfo),vendor:e.vendor?.name,paymentDate:Y?.format(C)??"",paymentType:$e,amount:A("0,0[.]00",p),isInvoiceAttached:!!e.file,onClose:be})}),t.jsxs(vn,{windowSize:s,style:at,children:[s==="small"?t.jsxs(Fn,{windowSize:s,children:[t.jsx(qe,{onClick:we,"data-testid":j("review-detail-nav-bar-small-back")}),t.jsx(Ye,{windowSize:s,children:a.oneLastLook})]}):t.jsx(Bn,{"data-testid":j("review-details-nav-bar-back"),children:t.jsx(qe,{onClick:we})}),s!=="small"?t.jsx(Sn,{children:t.jsx(Ye,{windowSize:s,children:a.oneLastLook})}):null,e.duplicateBillTransactions.length>0?t.jsxs(Tn,{children:[t.jsxs(Cn,{children:[t.jsx(Kn,{}),t.jsxs(Dn,{children:[t.jsx(Pn,{children:a.duplicateBillPayWarning}),t.jsxs(In,{children:[a.duplicateBillPayWarningSubHeading,t.jsxs("span",{"data-testid":j("review-detail-attachment-button"),onClick:()=>J(e.duplicateBillTransactions[0].id,e.duplicateBillTransactions[0].billPayInfo.stage.code),style:{textDecoration:"underline",cursor:"pointer"},children:[a.viewBill,e.duplicateBillTransactions[0].documentId]})]})]})]}),t.jsxs(Gn,{children:[t.jsx(Yn,{children:a.duplicateInvoiceFound}),e.duplicateBillTransactions.map(l=>{const r=zt(l);return l!=null?t.jsx(Vn,{children:nt.includes(s)?t.jsxs(Ke,{windowSize:s,children:[t.jsxs(kn,{children:[t.jsxs(An,{children:[l.attachments&&l.attachments.length>0?t.jsx(We,{attachment:l.attachments[0]}):t.jsx(He,{children:t.jsx(Qe,{})}),t.jsx(H,{children:t.jsxs(t.Fragment,{children:[l.documentId!=null?a.invoiceNo:null,l.documentId]})})]}),t.jsx(Je,{windowSize:s,children:A("0,0[.]00",l.recipientTotalAmount)})]}),t.jsxs(Wn,{"data-testid":j("review-detail-mobile-info"),onClick:()=>J(l.id,l.billPayInfo.stage.code),children:[t.jsxs(H,{children:[l.dueDate!=null?a.due:null," ",l.dueDate?.format(C)]}),t.jsx(Xe,{children:r!=null?Me.includes(r.code)?t.jsx(Be,{style:{padding:"2px 5px"},title:r.value,placement:"top",children:t.jsx(Q,{color:r.color,bgColor:r.bgColor,borderColor:r.borderColor,children:r.value})}):t.jsx(Q,{color:r.color,bgColor:r.bgColor,borderColor:r.borderColor,children:r.value}):null})]})]}):t.jsxs(Ke,{windowSize:s,children:[l.attachments&&l.attachments.length>0?t.jsx(We,{attachment:l.attachments[0]}):t.jsx(He,{children:t.jsx(Qe,{})}),t.jsxs(Zn,{"data-testid":j("review-detail-info"),onClick:()=>J(l.id,l.billPayInfo.stage.code),children:[t.jsx(H,{style:{width:"50%"},children:t.jsxs("div",{children:[l.documentId!=null?a.invoiceNo:null," ",l.documentId]})}),t.jsxs(H,{style:{width:"25%"},children:[l.dueDate!=null?a.due:null," ",l.dueDate?.format(C)]}),t.jsx(Je,{style:{width:"25%"},windowSize:s,children:A("0,0[.]00",l.amount)})]}),t.jsx(Xe,{children:r!=null?Me.includes(r.code)?t.jsx(Be,{style:{padding:"2px 5px"},title:r.value,placement:"top",children:t.jsx(Q,{color:r.color,bgColor:r.bgColor,borderColor:r.borderColor,children:r.value})}):t.jsx(Q,{color:r.color,bgColor:r.bgColor,borderColor:r.borderColor,children:r.value}):null})]})},l.id):null})]})]}):null,t.jsxs(Mn,{children:[t.jsx(_e,{children:a.pay}),t.jsx(Ue,{children:t.jsx(Fe,{amount:ft,integerStyles:U.largeMedium.cssObject,decimalStyles:U.smallMedium.cssObject})}),t.jsx(_e,{children:a.to}),t.jsx(Ue,{children:e.vendor?.name})]}),t.jsxs(jn,{children:[h?null:t.jsxs(t.Fragment,{children:[t.jsx(O,{isThreadAllowed:F,entityId:f,dashboardTabKey:W({type:"details",key:"withdrawFrom"}),roomId:L,companyId:c.currentTenant?.companyId??y,companyName:c.currentTenant?.companyName??y,dashboardOptionType:"bill",filterMetaData:{...B,entityType:`bill.details.${E("withdrawFrom")}`},children:t.jsx(Z,{label:{label:a.withdrawFrom,width:R},style:{width:"auto"},value:e.paymentDetailsSection?.withdrawFrom!=null?Nt(e.paymentDetailsSection.withdrawFrom,s):y,infoLabelStyle:{textAlign:s==="small"?"left":"right",paddingRight:m.infoLabelPaddingRight.valuePx(s),marginTop:m.infoLabelMarginTop.valuePx(s),color:S.brandColorGoldDark},additionalInfoLabel:ae})}),t.jsx(q,{})]}),t.jsx(O,{isThreadAllowed:F,entityId:f,dashboardTabKey:W({type:"details",key:"paymentType"}),roomId:L,companyId:c.currentTenant?.companyId??y,companyName:c.currentTenant?.companyName??y,dashboardOptionType:"bill",filterMetaData:{...B,entityType:`bill.details.${E("paymentType")}`},children:t.jsx(Z,{label:{label:a.paymentMethod,width:R},style:{width:"auto"},value:le(o?.method??""),additionalInfoLabel:wt()})}),t.jsx(q,{}),!h&&Y!=null?t.jsxs(t.Fragment,{children:[t.jsx(O,{isThreadAllowed:F,entityId:f,dashboardTabKey:W({type:"details",key:"paymentDate"}),roomId:L,companyId:c.currentTenant?.companyId??y,companyName:c.currentTenant?.companyName??y,dashboardOptionType:"bill",filterMetaData:{...B,entityType:`bill.details.${E("paymentDate")}`},children:t.jsx(Z,{label:{label:a.paymentDate,width:R},style:{width:"auto"},value:Y.format(C),additionalInfoLabel:`${a.estimatedArrival}${oe(on(Y.toDate(),[0,6],o?.maxPeriod.value??0).toDateString()).format(C)} - (${ie.length>0?`${ie} `:""}${a.deliveryTimeLabel} = ${o?.maxPeriod.value??"0"} ${a.deliveryTimeUnits})`})}),t.jsx(q,{})]}):null,h?null:t.jsx(O,{isThreadAllowed:F,entityId:f,dashboardTabKey:W({type:"details",key:"paymentTo"}),roomId:L,companyId:c.currentTenant?.companyId??y,companyName:c.currentTenant?.companyName??y,dashboardOptionType:"bill",filterMetaData:{...B,entityType:`bill.details.${E("paymentTo")}`},children:t.jsx(Z,{label:{label:a.paymentTo,width:R},style:{width:"auto"},value:ut??"",additionalInfoLabel:gt})}),h||lt?t.jsxs(t.Fragment,{children:[t.jsx(q,{}),t.jsx(O,{isThreadAllowed:F,entityId:f,dashboardTabKey:W({type:"details",key:"recurringPaymentType"}),roomId:L,companyId:c.currentTenant?.companyId??y,companyName:c.currentTenant?.companyName??y,dashboardOptionType:"bill",filterMetaData:{...B,entityType:`bill.details.${E("recurringPaymentType")}`},children:t.jsx(Z,{label:{label:a.paymentType,width:R},style:{width:"auto"},value:Wt(e.isRecurring,h,e.recurringBillInstance??1,e.recurringConfig?.totalPaymentCycles??0),additionalInfoLabel:Et(s,e.isRecurring,h,e.recurringConfig)})})]}):null]}),!h&&o?.method!=null&&(o.method.includes(I)||o?.fee.amount!=null&&o.fee.amount!==0)?t.jsx(fn,{children:t.jsxs(xn,{windowSize:s,children:[t.jsxs(bn,{children:[t.jsx(yn,{children:a.total}),t.jsx(Le,{style:{padding:`12px ${n.sp3}`,lineHeight:"18px"},maxWidth:"312px",title:t.jsxs(gn,{children:[t.jsxs(Ve,{children:[t.jsx(se,{children:o.method.includes(I)&&ee!==v.currencyCode?Ee.conversionAmountColon:Oe.invoiceAmount}),t.jsx(re,{children:A("0,0[.]00",{amount:p.amount-N.amount,currencySymbol:N.currencySymbol})})]}),t.jsxs(Ve,{children:[t.jsx(se,{children:Ee.transactionFee}),t.jsx(re,{children:A("0,0[.]00",{amount:N.amount,currencySymbol:N.currencySymbol})})]}),t.jsx(hn,{}),t.jsxs(un,{children:[t.jsx(se,{children:Oe.total}),t.jsx(re,{children:A("0,0[.]00",{amount:p.amount,currencyCode:p.currencyCode,currencySymbol:p.currencySymbol})})]})]}),placement:"top-end",children:t.jsx(pn,{})})]}),t.jsx(wn,{children:t.jsx(Fe,{amount:Re(p.amount,p.currencyCode,p.currencySymbol),integerStyles:U.h6Medium.cssObject,decimalStyles:U.standardMedium.cssObject})})]})}):null]}),t.jsx(Zt,{cancelBtn:{label:k&&!x?a.paymentOutsideZeni.markAsPaid:a.editBill,onClick:k&&!x?ve:ne,style:{width:Ge(!1,k,x,K,s)}},primaryBtn:{label:Ze(x,K,e.isBillMarkedForRetry),isLoading:z?.fetchState==="In-Progress"||X?.fetchState==="In-Progress",onClick:x?ve:()=>{vt&&ae!=null?_(!0):Se()},style:{width:Ge(!0,k,x,K,s)}},rightSideComponent:k&&!x&&z.fetchState!=="In-Progress"?t.jsx(_n,{windowSize:s,children:t.jsx(Le,{style:{color:S.heroDark,padding:`2px ${n.sp2}`},display:"flex",title:cn,placement:"top",children:t.jsx(qn,{onClick:ne,"data-testid":j("review-detail-edit-bill-button"),children:t.jsx(Un,{})})})}):null,style:{minHeight:e.paymentDetailsSection?.paymentType?.method!=null&&e.paymentDetailsSection.paymentType.method.includes(I)?127:62,...e.paymentDetailsSection?.paymentType?.method!=null&&e.paymentDetailsSection.paymentType.method.includes(I)&&{padding:n.sp3,rowGap:n.sp3}},children:e.paymentDetailsSection?.paymentType?.method!=null&&e.paymentDetailsSection.paymentType.method.includes(I)?t.jsxs(zn,{children:[a.internationalText1,t.jsx(Nn,{href:"https://www.nium.com/legal/end-customer-terms",target:"_Blank",rel:"noopener noreferrer",children:a.internationalTerms}),a.internationalText2]}):null})]})},Ze=(e,b,g)=>e?a.paymentOutsideZeni.markAsPaid:g===!0?a.retryPayment:b?a.sendForApproval:a.scheduleBill,Ge=(e,b,g,M,T)=>g?128:b&&!e&&T==="small"?"auto":M?165:m.footerButtonWidth.value(T),pn=i(en)`
|
|
2
2
|
width: ${n.sp3};
|
|
3
3
|
height: ${n.sp3};
|
|
4
4
|
color: ${e=>e.theme.colors.hero};
|
package/dist/assets/{ReviewOverlay-CPU7RPiJ-D223TMrq.js → ReviewOverlay-CPU7RPiJ-1JThLA39.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{Q as M,V as e,aK as x,o as r,aO as P,y as d,_ as L,B as C,M as W,p as s,ak as $,cy as R,A as D,ag as j,bf as I,u as n,el as G,s as A,iQ as Q,j$ as F}from"./index-
|
|
1
|
+
import{Q as M,V as e,aK as x,o as r,aO as P,y as d,_ as L,B as C,M as W,p as s,ak as $,cy as R,A as D,ag as j,bf as I,u as n,el as G,s as A,iQ as Q,j$ as F}from"./index-BS2lYrPd.js";import{n as t}from"./mui-bYXq4XMS.js";const l={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])},O={title:new C("h6Regular","h5Regular")},xi=({title:i,description:p,reviewItems:S,showFooter:b,footerProps:{primaryButton:z,cancelButton:E,hideCancel:T},onCloseOverlay:k,onCloseReviewItem:B})=>{const a=M();return e.jsxs(_,{children:[e.jsx(N,{windowSize:a,children:e.jsx(X,{children:e.jsx(Z,{windowSize:a,children:e.jsx(ii,{children:e.jsx(ei,{onClick:k,"data-testid":x("review-overlay-close",i)})})})})}),e.jsxs(H,{windowSize:a,children:[e.jsxs(J,{windowSize:a,children:[e.jsx(K,{children:e.jsx(U,{windowSize:a,children:i})}),e.jsx(Y,{isError:p.isError,windowSize:a,children:p.content})]}),e.jsx(q,{windowSize:a,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:()=>B(o.id),"data-testid":x("review-close",o.id)}):null,e.jsxs(ti,{children:[e.jsxs(ni,{children:[e.jsx(di,{children:V(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}),a!=="small"?e.jsxs(w,{windowSize:a,children:[e.jsx(g,{isError:h,isWarning:c,children:e.jsxs(e.Fragment,{children:[o.rightSideText.showThunderIcon===!0?e.jsx(v,{children:e.jsx(y,{})}):null,o.rightSideText.subTitle]})}),e.jsx(g,{isWarning:!0,isError:!1,children:o.rightSideText.additonalInfo})]}):null]})]})]}),a==="small"?e.jsxs(w,{windowSize:a,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(v,{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(P,{primaryBtn:z,cancelBtn:E,showCancel:!T}):null]})},V=i=>i.reviewStatus.isLoading?e.jsx(D,{size:"Small",style:{display:"flex",width:r.sp4,height:r.sp4,alignItems:"center",justifyContent:"center"},start:!0}):i.reviewStatus.code==="error"?e.jsx(f,{isError:!0}):i.reviewStatus.code==="warning"?e.jsx(f,{isError:!1}):i.reviewStatus.code==="valid"?e.jsx(ai,{}):i.reviewStatus.code==="low-balance"?e.jsx(hi,{}):e.jsx(li,{}),_=t.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
background-color: ${i=>i.theme.colors.grey4};
|
package/dist/assets/{RoleWithToolTip-DSSGBzvw-DNIC4KJA.js → RoleWithToolTip-DSSGBzvw-BNabz8Oe.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{eP as h,eQ as x,V as s,bQ as m,o as n,aK as o,F as g,am as j,ag as p}from"./index-
|
|
1
|
+
import{eP as h,eQ as x,V as s,bQ as m,o as n,aK as o,F as g,am as j,ag as p}from"./index-BS2lYrPd.js";import{n as r}from"./mui-bYXq4XMS.js";const{hyphen:a}=g.getLocalizedStrings().common.strings,y=r.div``,f=r.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
min-width: 192px;
|
|
4
4
|
justify-content: space-between;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{aN as K,ie as ee,gA as me,eA as Le,ig as we,a8 as Je,ih as Me,cB as Ve,cC as _e,V as a,F as ye,ab as Pe,cm as Fe,cn as Ne,co as qe,aO as Be,ii as Re,ij as We,a9 as he,ik as fe,il as Ue,cO as ze,Q as $e,iA as Ge,gF as re,u as R,p as Se,y as De,cE as Ke,im as He,io as Ye,ip as Ze,o as _}from"./index-
|
|
1
|
+
import{aN as K,ie as ee,gA as me,eA as Le,ig as we,a8 as Je,ih as Me,cB as Ve,cC as _e,V as a,F as ye,ab as Pe,cm as Fe,cn as Ne,co as qe,aO as Be,ii as Re,ij as We,a9 as he,ik as fe,il as Ue,cO as ze,Q as $e,iA as Ge,gF as re,u as R,p as Se,y as De,cE as Ke,im as He,io as Ye,ip as Ze,o as _}from"./index-BS2lYrPd.js";import{a as m}from"./core-3dlyNYRL.js";import{n as U}from"./mui-bYXq4XMS.js";import{f_ as Qe,f$ as Xe}from"./zeni-epic-state-xFtF3OLs.js";import{i as et,r as tt,n as lt,o as at}from"./ScheduleSequenceTable-Dh_aT47H-BLWf_h4t.js";import"./sentry-DxvQlcJu.js";import"./lottie-CaGAfnTY.js";import"./liveblocks-B3KbWbMM.js";import"./utils-C70QTjQC.js";import"./analytics-CThNEnNw.js";import"./recharts-CXSQ4XPK.js";import"./lexical-DPEnH3HH.js";const W={labelWidth:new De(160,160,160),depCategoryLabelWidth:new De(200,280,280)},st=U.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
width: 100%;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{aN as _,ie as Q,gA as ke,eA as Ae,ig as Ie,a8 as Je,ih as Le,cB as we,cC as Me,V as a,F as fe,ab as Ve,cm as Pe,cn as Fe,co as _e,aO as $e,ii as Be,ij as Ne,a9 as ie,ik as he,il as qe,cO as Ue,Q as ze,gF as pe,u as X,p as We,y as Re,im as Ke,io as Ge,ip as He,o as L}from"./index-
|
|
1
|
+
import{aN as _,ie as Q,gA as ke,eA as Ae,ig as Ie,a8 as Je,ih as Le,cB as we,cC as Me,V as a,F as fe,ab as Ve,cm as Pe,cn as Fe,co as _e,aO as $e,ii as Be,ij as Ne,a9 as ie,ik as he,il as qe,cO as Ue,Q as ze,gF as pe,u as X,p as We,y as Re,im as Ke,io as Ge,ip as He,o as L}from"./index-BS2lYrPd.js";import{a as D}from"./core-3dlyNYRL.js";import{n as P}from"./mui-bYXq4XMS.js";import{f_ as Ye,f$ as Qe,bO as Xe}from"./zeni-epic-state-xFtF3OLs.js";import{i as Ze,r as et,n as tt,o as lt}from"./ScheduleSequenceTable-Dh_aT47H-BLWf_h4t.js";import"./sentry-DxvQlcJu.js";import"./lottie-CaGAfnTY.js";import"./liveblocks-B3KbWbMM.js";import"./utils-C70QTjQC.js";import"./analytics-CThNEnNw.js";import"./recharts-CXSQ4XPK.js";import"./lexical-DPEnH3HH.js";const q={labelWidth:new Re(160,160,160)},at=P.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
width: 100%;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{Q as I,d as K,V as t,iq as ie,F as R,ir as le,B as oe,is as xe,dS as fe,fc as we,b as A,it as ye,ip as be,o as i,y as b,p as j,c as $e,a9 as re,dO as je,cm as Se,co as ke,cO as Z,cW as ee,cU as ve,iu as Q,iv as De,b1 as Ce,iw as Me,cq as ze,ix as Le,u as h,ak as L,b7 as Oe,cn as Ee,an as pe,cX as Ae,a$ as ne,d7 as Ie,aO as Ve,iy as V,gb as Fe,aL as Te,iz as Be,aS as _,cY as Je,bf as Pe}from"./index-
|
|
1
|
+
import{Q as I,d as K,V as t,iq as ie,F as R,ir as le,B as oe,is as xe,dS as fe,fc as we,b as A,it as ye,ip as be,o as i,y as b,p as j,c as $e,a9 as re,dO as je,cm as Se,co as ke,cO as Z,cW as ee,cU as ve,iu as Q,iv as De,b1 as Ce,iw as Me,cq as ze,ix as Le,u as h,ak as L,b7 as Oe,cn as Ee,an as pe,cX as Ae,a$ as ne,d7 as Ie,aO as Ve,iy as V,gb as Fe,aL as Te,iz as Be,aS as _,cY as Je,bf as Pe}from"./index-BS2lYrPd.js";import{n as o,b as J}from"./mui-bYXq4XMS.js";import{a as C}from"./core-3dlyNYRL.js";import{bj as G,g0 as Re}from"./zeni-epic-state-xFtF3OLs.js";const N=(e,l)=>`${e}.${l}`,{formElements:{dayOfMonthSelector:M},common:se}=R.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]=C.useState(!1),{control:m,formState:{errors:x},setValue:S}=Z(),v=()=>{k||(c(),u(!1))},w=()=>{y(),u(!1)},k=ee(x,l),g=I(),a=K();return t.jsx(pe,{onClickAway:()=>{u(!1)},children:t.jsx(Xe,{style:p,isDisabled:n!=null,windowSize:g,onClick:()=>{!f&&n==null&&u(!0)},children:t.jsx(Ae,{name:N(l,"dayOfMonth"),control:m,rules:{...d},render:()=>t.jsxs(He,{children:[t.jsx(We,{placeholder:s,defaultValue:e,isDisabled:n}),f?t.jsxs(Ge,{alignLeft:r===!0,children:[t.jsx(et,{}),t.jsxs(ae,{isSelected:e.type==="day",children:[t.jsxs(Ze,{isError:e.type==="day"&&k,children:[t.jsx(ne,{label:{label:M.pickDate},radioField:{id:"day",name:N(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(Ie,{name:N(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(Ye,{defaultValue:e.dayOfMonth,onClick:$=>{S(`${l}.dayOfMonth`,$),S(`${l}.type`,"day")}})]}),t.jsx(tt,{}),t.jsx(ae,{isSelected:e.type==="lastDayOfMonth",children:t.jsx(ne,{label:{label:M.lastDayOfMonth},radioField:{id:"lastDayOfMonth",name:N(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(Ve,{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 We({placeholder:e,defaultValue:l,isDisabled:s}){return t.jsxs(_e,{isDisabled:s!=null,children:[l?.type==null?t.jsx(Qe,{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 Ye({defaultValue:e,onClick:l}){return t.jsxs(Ke,{children:[t.jsx(Y,{children:[...Array(7).keys()].map(s=>{const r=s+1;return t.jsx(q,{isSelected:r===e,onClick:()=>l(Re(r)),children:r},r)})}),t.jsx(Y,{children:[...Array(7).keys()].map(s=>{const r=s+8;return t.jsx(q,{isSelected:r===e,onClick:()=>l(r),children:r},r)})}),t.jsx(Y,{children:[...Array(7).keys()].map(s=>{const r=s+15;return t.jsx(q,{isSelected:r===e,onClick:()=>l(r),children:r},r)})}),t.jsx(Y,{children:[...Array(7).keys()].map(s=>{const r=s+22;return t.jsx(q,{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
|
`,_e=o.div`
|
|
4
4
|
display: flex;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{c_ as Gh,c$ as ir,d0 as Hh,d1 as qt,d2 as xl,d3 as Ot,d4 as Zh,d5 as Tl,d6 as ls,d7 as Yh,d8 as Wh,d9 as mr,da as ar,db as Kh,dc as nn,dd as qo,cP as Jh,de as No,df as Xr,dg as kt,dh as Xh,di as Il,dj as Al,dk as Qh,dl as ed,dm as td,dn as rd,dp as hs,dq as nd,dr as id,ds as ad,dt as od,cV as sd,du as Cl,dv as ud,bO as Jr,dw as ds,dx as cd,dy as Pl,dz as an,dA as pt,dB as Do,dC as fd,dD as ld,B as et,A as ye,dE as $o,dF as hd,dG as dd,dH as pd,dI as kl,dJ as md,dK as ps,dL as gd,dM as vd,dN as bn,dO as yd,dP as _d,dQ as St,dR as bd,cC as wd,dS as jl,dT as Ll,dU as Mo,dV as Fo,dW as Ed,dX as Sd,dY as Rd,dZ as Od,d_ as xd,d$ as Td,e0 as Id,e1 as Ad,e2 as Cd,e3 as Zt,e4 as Bo,e5 as Pd,e6 as kd,e7 as jd,e8 as ql,e9 as Nl,ea as Ld,eb as Dl,ec as qd,ed as Nd,ee as Dd,ef as $d,eg as Md,eh as Fd,ei as Bd,ej as Ud,ek as $l,el as wn,em as Ml,en as Uo,eo as Vd,ep as Fl,eq as zd,er as Gd,es as Hd,et as Zd,eu as Yd,ev as Wd,ew as Kd,ex as Jd,c3 as Xd,bd as Qd,ey as ep,ez as Mt,eA as tp,eB as rp,eC as np,eD as Po,bb as ip}from"./zeni-epic-state-xFtF3OLs.js";import{j as U,D as on,n as tt,S as Bt}from"./mui-bYXq4XMS.js";import{p as Ve,x as Ke,y as ct,z as ap,a as le,n as Oe,o as ze,N as er,s as bt,t as xe,e as Bl,d as Ul,g as op,u as Vo,q as ko}from"./core-3dlyNYRL.js";import{d as Ut,Q as sn,e as Ue,z as We,y as ut,f as sp,W as up,g as un,h as cp,N as xt,F as or,i as Vt,j as Nt,A as cn,o as Pt,q as fp,v as lp,k as jt,l as zo,D as Lt,Z as hp,Y as dp,u as En,X as pp,m as Vl,w as mp,r as zl,t as Gl,x as jo,C as gp,G as vp,H as yp,I as Hl,J as _p,K as bp,L as wp,O as Ep,R as Sp,S as Rp,T as Op,$ as xp,a0 as Tp,a1 as Ip,a2 as Ap,a3 as Cp,a4 as Pp}from"./index-
|
|
1
|
+
import{c_ as Gh,c$ as ir,d0 as Hh,d1 as qt,d2 as xl,d3 as Ot,d4 as Zh,d5 as Tl,d6 as ls,d7 as Yh,d8 as Wh,d9 as mr,da as ar,db as Kh,dc as nn,dd as qo,cP as Jh,de as No,df as Xr,dg as kt,dh as Xh,di as Il,dj as Al,dk as Qh,dl as ed,dm as td,dn as rd,dp as hs,dq as nd,dr as id,ds as ad,dt as od,cV as sd,du as Cl,dv as ud,bO as Jr,dw as ds,dx as cd,dy as Pl,dz as an,dA as pt,dB as Do,dC as fd,dD as ld,B as et,A as ye,dE as $o,dF as hd,dG as dd,dH as pd,dI as kl,dJ as md,dK as ps,dL as gd,dM as vd,dN as bn,dO as yd,dP as _d,dQ as St,dR as bd,cC as wd,dS as jl,dT as Ll,dU as Mo,dV as Fo,dW as Ed,dX as Sd,dY as Rd,dZ as Od,d_ as xd,d$ as Td,e0 as Id,e1 as Ad,e2 as Cd,e3 as Zt,e4 as Bo,e5 as Pd,e6 as kd,e7 as jd,e8 as ql,e9 as Nl,ea as Ld,eb as Dl,ec as qd,ed as Nd,ee as Dd,ef as $d,eg as Md,eh as Fd,ei as Bd,ej as Ud,ek as $l,el as wn,em as Ml,en as Uo,eo as Vd,ep as Fl,eq as zd,er as Gd,es as Hd,et as Zd,eu as Yd,ev as Wd,ew as Kd,ex as Jd,c3 as Xd,bd as Qd,ey as ep,ez as Mt,eA as tp,eB as rp,eC as np,eD as Po,bb as ip}from"./zeni-epic-state-xFtF3OLs.js";import{j as U,D as on,n as tt,S as Bt}from"./mui-bYXq4XMS.js";import{p as Ve,x as Ke,y as ct,z as ap,a as le,n as Oe,o as ze,N as er,s as bt,t as xe,e as Bl,d as Ul,g as op,u as Vo,q as ko}from"./core-3dlyNYRL.js";import{d as Ut,Q as sn,e as Ue,z as We,y as ut,f as sp,W as up,g as un,h as cp,N as xt,F as or,i as Vt,j as Nt,A as cn,o as Pt,q as fp,v as lp,k as jt,l as zo,D as Lt,Z as hp,Y as dp,u as En,X as pp,m as Vl,w as mp,r as zl,t as Gl,x as jo,C as gp,G as vp,H as yp,I as Hl,J as _p,K as bp,L as wp,O as Ep,R as Sp,S as Rp,T as Op,$ as xp,a0 as Tp,a1 as Ip,a2 as Ap,a3 as Cp,a4 as Pp}from"./index-BS2lYrPd.js";import{f as kp}from"./analyticsHelper-C10Z0SdU.js";import{q as He,v as jp,w as Lp,x as qp,y as Go,z as Np,A as Dp,B as $p,C as zt,D as Mp,E as rr,F as fn,G as Fp,H as sr,I as Bp}from"./utils-C70QTjQC.js";import{r as Ho}from"./empty-CnIz-OQ7.js";import{r as ur,a as Up}from"./index-CwsnnJzI.js";import{r as Vp}from"./index-BxXAQ-Kq.js";import"./sentry-DxvQlcJu.js";import"./lottie-CaGAfnTY.js";import"./liveblocks-B3KbWbMM.js";import"./analytics-CThNEnNw.js";import"./recharts-CXSQ4XPK.js";import"./lexical-DPEnH3HH.js";import"./url-y5lCWhwX.js";const zp={overlayWidth:new ut(100,100,50)},{common:{strings:ms}}=or.getLocalizedStrings();function Gp(e,n){return{headerActions:{onTabChange:o=>{const i=Nt(o),a=Vt(o);Ue.trackCockpitTabClicked(a),n.navigate(`../../${i}`,{replace:!0})},filterActions:{onFilterTextChanged:(o,i)=>{e(mr({uiState:{filterText:i}}))},onFiltersChange:(o,i)=>{i.categories!=null&&i.categoryCombinationOperator!=null&&Ue.trackHealthMonitorFiltersApplied({filterSelection:{condition:i.categories.map(a=>a.matchingOperator).join(ms.comma),logic:i.categoryCombinationOperator,parameter:i.categories.map(a=>a.field).join(ms.comma)}}),e(mr({uiState:{filters:i}}))}}},healthPageActions:{onRowClick:o=>{e(Tl(o))},onColumnSortConfigChanged:(o,i)=>{e(mr({uiState:{sortKey:o,sortOrder:i}}))},onCockpitReloadData:o=>{o==="healthMonitor"&&e(xl())},onFiltersChange:o=>{e(mr({uiState:{filters:o}}))}}}}function Hp(e,n){return{headerData:{selectedTabOption:xt("healthMonitor")},healthPageData:{healthView:n.healthView,managementView:n.managementView,mixpanelUrl:n.mixpanelHMUrl}}}const Zp=ze(Hp,Gp)(cp);function Sn({isDrawerOpen:e}){const n=Ve(),o=Ke(),i=Ut(),a=sn(),{companyId:t}=ct(),[r,s]=ap(),[d,l]=le.useState(!1),f=Oe(b=>Gh(b)),h=Oe(b=>ir(b)),{additionalChurnFactors:c}=Oe(b=>Hh(b)),{selectedCompanyDetail:w,selectedCompanyId:m,localFormDataAndStatusByCompanyId:y}=f,g=Oe(b=>b.companyViewState.zeniUsers.fetchState),u=Oe(b=>b.companyHealthMetricConfigViewState);if(le.useEffect(()=>{const b=v=>v==="Not-Started"||v==="Error";f.fetchState==="Completed"?o(qt(!1)):b(f.fetchState)&&(o(xl()),b(g)&&o(Ot()),b(u.fetchState)&&o(Zh()))},[f.fetchState,u.fetchState]),le.useEffect(()=>{t!=null&&f.fetchState==="Completed"&&r.has("utm_source")===!0&&(o(Tl(t)),w!=null&&(Ue.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)))},[f.fetchState,w?.companyInfo.companyId,w?.companyInfo.name]),We.getSignedInUser()==null)throw Error("Can't access Health Monitor page without signing in...");return U.jsxs(U.Fragment,{children:[e===!0||m!=null&&w!=null?U.jsx(on,{anchor:"right",open:m!=null,PaperProps:{style:{width:zp.overlayWidth.valuePercentage(a),boxShadow:"none"}},slotProps:{backdrop:{style:{backgroundColor:i.colors.black,opacity:.75,cursor:"pointer"}}},onClose:()=>o(ls()),children:U.jsx(sp,{roomId:`cockpit_${m}`,autoConnect:!0,children:U.jsx(up,{onSaveClick:()=>{m!=null&&o(Wh(m))},onSaveChangesToLocalStore:b=>{f.selectedCompanyId!=null&&o(Yh({companyId:f.selectedCompanyId,updatedLocalData:b}))},localData:y?.companyHealthMetricLocalData??{netPromoterScore:void 0,externalProductServiceExposure:void 0,additionalChurnFactors:{increasingChurnProbability:[],decreasingChurnProbability:[]}},companyHealthMetricViewSelector:f,onCloseDrawer:()=>o(ls()),analytics:Ue,urlSource:d,additionalChurnFactorsOptions:c})})}):null,U.jsx(Zp,{healthView:f,managementView:h,navigate:n,mixpanelHMUrl:un.mixpanelHMUrl})]})}const Zl=(e,n)=>{const o=[...e??[]];return o.push(n),o},Yp=e=>{const n=[...e??[]];return{poppedPathname:n.pop(),newStack:n}},Wp=(e=2)=>{let n="../";for(let o=0;o<e;o++)n=`${n}../`;return n},Pe=({state:e,element:n})=>We.isSignedIn()===!0?U.jsx(U.Fragment,{children:n}):U.jsx(er,{to:"/signin/auth",replace:!0,state:{...e,message:"...",origin:window.location.pathname}});function Kp(){return U.jsxs(bt,{children:[U.jsx(xe,{path:"/companies/:companyId",element:U.jsx(Pe,{element:U.jsx(Sn,{isDrawerOpen:!0})})}),U.jsx(xe,{path:"/",element:U.jsx(Pe,{element:U.jsx(Sn,{})})}),U.jsx(xe,{path:"/*",element:U.jsx(Pe,{element:U.jsx(Sn,{})})})]})}const Jp={drawerLeftMargin:new ut(0,0,240)};function cr(e){const{isOpen:n,drawerLeftMargin:o,children:i,onClose:a}=e,t=sn(),r=o?.valuePx(t)??Jp.drawerLeftMargin.valuePx(t),s=Ut();return U.jsx(on,{anchor:"right",open:n,PaperProps:{style:{width:`calc(100% - ${r})`}},slotProps:{backdrop:{style:{backgroundColor:s.colors.black,opacity:.8,cursor:"pointer"}}},onClose:a,children:i})}const Xp=({fetchState:e})=>e==="In-Progress"||e==="Not-Started"?U.jsx(Qp,{children:U.jsx(cn,{size:"ExtraLarge",start:!0})}):null,Qp=tt.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
width: 100%;
|
|
4
4
|
height: 100%;
|