@zeniai/web-cockpit-ui 1.15.5-qa → 1.15.6-dev
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/assets/{ACHDetailsPage-BLKhKkZC-B6yajpe4.js → ACHDetailsPage-DDuW5spI-DmIOfZaQ.js} +1 -1
- package/dist/assets/{AIPerformancePage-J3dtNEgn-CyCBRrSq.js → AIPerformancePage-Bbk-pUwz-C4OuKpoP.js} +1 -1
- package/dist/assets/AccountInfoPage-D0Kzx5mY-BAk7_PwQ.js +18 -0
- package/dist/assets/{AccountInfoPageContent-D8oVcn1T-CzQ3IzP7.js → AccountInfoPageContent-BA3WBfD4-D0j1Octx.js} +1 -1
- package/dist/assets/{AccountLockedInfoModal-B9_FdrYm-BwA3_wO5.js → AccountLockedInfoModal-Bs1ImO2L-DxzozOh-.js} +1 -1
- package/dist/assets/{AccountReconDetailsDrawerPage-DFjW0u9--yCg_Nq2n.js → AccountReconDetailsDrawerPage-Ci_Eb0_d-BUE92sWn.js} +12 -12
- package/dist/assets/{AccountRow-Bq6uJ1hA-CcRQ_R2_.js → AccountRow-BWclqiQh-CE6dTXhw.js} +1 -1
- package/dist/assets/{AccountsPromoCardStack-DQmHrc8b-4RlJ7dsg.js → AccountsPromoCardStack-BHgGIeBG-CmkZoBWh.js} +1 -1
- package/dist/assets/{AddAddressForCardDrawer-O987RTn2-BZzZn_Kw.js → AddAddressForCardDrawer-C_QsOhGT-DsebdApi.js} +1 -1
- package/dist/assets/{AddToWalletPage-C2Z6f8Y6--FPE1uf9.js → AddToWalletPage-Dllxg_0u-Dx42ctyC.js} +1 -1
- package/dist/assets/{AgingReportsPage-BlPqvXdx-cDHArZjn.js → AgingReportsPage-CBHhfTKI-C6o1AzEa.js} +1 -1
- package/dist/assets/{AllUserItems-CL17FcAl-BcuiUm6t.js → AllUserItems-Bdv9AIQ9-CmD4bDJM.js} +1 -1
- package/dist/assets/{ApAgingDetailPage-CHVwRH_g-CDcR5kBk.js → ApAgingDetailPage-EE3MrY5l-GTVFM97s.js} +5 -5
- package/dist/assets/{AppBasePage-CnlPnTBn-C2N-RLb9.js → AppBasePage-02I6V3Np-CCphkJYy.js} +1 -1
- package/dist/assets/{AppDrawerContent-C2CNe5yn-CVDhTyQq.js → AppDrawerContent-DbBd9m20-CkGtqH-e.js} +6 -6
- package/dist/assets/{ApprovalRulesSettingsPage-XsMzIe4e-BshSh3vL.js → ApprovalRulesSettingsPage-5bJIKss7-Bq1QuSO5.js} +1 -1
- package/dist/assets/{ArAgingChart-Ck1uAv_a-CY0UAZzE.js → ArAgingChart-BqBx1Gj1-Dtyx3ykG.js} +1 -1
- package/dist/assets/{ArAgingDetailPage-KRWJzbCq-ENUC0XH0.js → ArAgingDetailPage-D9rI5yue-CC_VXcgM.js} +5 -5
- package/dist/assets/{AttachmentView-uaen0kuU-BLtDvJym.js → AttachmentView-CeblaMyI-BGuVsAFd.js} +1 -1
- package/dist/assets/{BankAccountSection-CwOhGEgT-HsgZBFUH.js → BankAccountSection-B3v3BDPK-D84yJmse.js} +1 -1
- package/dist/assets/{BankAccountWarningSection-D7BVcqIu-CAilro7y.js → BankAccountWarningSection-DCi9o7_J-CCUXAbXm.js} +1 -1
- package/dist/assets/{BankConnectionsSettingsPage-BOdlcBfa-B862853q.js → BankConnectionsSettingsPage-Csbc7IYe-FYIp5A-6.js} +1 -1
- package/dist/assets/{BillDetailPage-Ct4Q960V-CcQXypWc.js → BillDetailPage-ByPP2r-L-Dy5TaPD-.js} +6 -6
- package/dist/assets/{BillPayApprovalRuleDetailPage-DUU4rXuM-CxDkFcxJ.js → BillPayApprovalRuleDetailPage-GDOnscxH-CWuGDMqT.js} +1 -1
- package/dist/assets/{BillPayApprovalRulesPage-C0pcFzje-C_8luS6Q.js → BillPayApprovalRulesPage-BqDyhnz3-B0_T4q5D.js} +1 -1
- package/dist/assets/{BillPayPromoPage-BsEtxcjB-Cdf_GDEd.js → BillPayPromoPage-B1_ugFQw-BTaNERS7.js} +10 -10
- package/dist/assets/{BillPaySetUpPage-B-rBYCtR-DgaQzPx9.js → BillPaySetUpPage-Cx2vQIL8-CS_5d8G2.js} +6 -6
- package/dist/assets/{BillingSettingsPage-BadzsZdt-BWSUJGLs.js → BillingSettingsPage-BiKaSV4T-CKmWrEJ5.js} +1 -1
- package/dist/assets/{BillsBulkReviewDrawerPage-CbA-LUIt-0sYnn4IM.js → BillsBulkReviewDrawerPage-B8KhD0xH-39Z7_l7K.js} +1 -1
- package/dist/assets/{BoxItem-BoanamYM-LrJX4JYX.js → BoxItem-CqsCCOrk-3dsq5OCh.js} +3 -3
- package/dist/assets/{BusinessVerificationPage-B9hjIdCd-CJiJbU9u.js → BusinessVerificationPage-8tFxbXGC-DJTKBkwq.js} +1 -1
- package/dist/assets/{CardNumberSubText-DFO_EKrs-cO_HCGSk.js → CardNumberSubText-ByPbO0F8-NoIjeblD.js} +1 -1
- package/dist/assets/{CashbackDetailPage-Bp85-5Ie-DVTl8leg.js → CashbackDetailPage-Ve3JZpeP-CIU9Z6Ud.js} +1 -1
- package/dist/assets/{ChargeCardDetailPage-D8dY9X8Q-CxLkHRJg.js → ChargeCardDetailPage-D7zLKDQo-BKsWUNwo.js} +1 -1
- package/dist/assets/{ChargeCardListPage-CxplfJ1W-DYMc5T_c.js → ChargeCardListPage-Cnm7GqIj-Bo3bzB3t.js} +1 -1
- package/dist/assets/{ChargeCardListTable-scY11ryy-DiQBQtP0.js → ChargeCardListTable-bTR8Mmj4-OJHIEg6M.js} +1 -1
- package/dist/assets/{ChargeCardPaymentHistoryPage-Brh4ot5q-DDUd6_3s.js → ChargeCardPaymentHistoryPage-Cufm-hgn-6YH6ILTO.js} +1 -1
- package/dist/assets/ChargeCardPromoPage-BUGGPnco-Gkf99GV0.js +222 -0
- package/dist/assets/{ChargeCardSetupPage-Bumq17f6-D0WQyKKN.js → ChargeCardSetupPage-B-jcdCNM-LK6iT6P8.js} +3 -3
- package/dist/assets/{ChargeCardStatementsPage-DbU7LEIP-CRit8Q5S.js → ChargeCardStatementsPage-CyVlO8hd-CSdH-m0s.js} +1 -1
- package/dist/assets/{CheckDepositDrawerPage-CFl7Vr_I-CweAWiZj.js → CheckDepositDrawerPage-BmG5ma6K-BUju2PKA.js} +1 -1
- package/dist/assets/{CollapsableReportTable-CRaZZnGr-BljjGZjn.js → CollapsableReportTable-LB-wYzj1-B7gXwkx1.js} +1 -1
- package/dist/assets/{CompanyOfficerDetailsSection-C4rN7mXr-DGQrC1mq.js → CompanyOfficerDetailsSection-CMl5cDNs-DXQkvQJO.js} +1 -1
- package/dist/assets/{CompanyPassportCard-I21kA_Ir-DJjRvGKO.js → CompanyPassportCard-BwHjmTyn-DTj-m8EW.js} +3 -3
- package/dist/assets/{CompanyPassportPage-BSDnF5-7-BU5nHQfj.js → CompanyPassportPage-BlDBD5EG-C-1jtLrK.js} +1 -1
- package/dist/assets/{CompleteProfile-uultMZ5R-B4uDmeYB.js → CompleteProfile-H7UexvAo-DS_U9ezr.js} +2 -2
- package/dist/assets/{ConfettiBurst-CpmYtgfk-BNp_aNl4.js → ConfettiBurst-nOkNOTPr-CU4839EQ.js} +1 -1
- package/dist/assets/{CreateOrEditVendorPage-AfKsEb9G-DJP3ueZ2.js → CreateOrEditVendorPage-Bt2itRHK-lFE26i6l.js} +1 -1
- package/dist/assets/{CreditCardPaymentDrawerPage-D0Lh5Tw1-DD5m0ddI.js → CreditCardPaymentDrawerPage-B8eb8Q0G-CaFYQ2DA.js} +1 -1
- package/dist/assets/{CurrencySelectField-BvNBUOqg-CsBuJI1p.js → CurrencySelectField-DIh7_ile-X1kVuNeI.js} +1 -1
- package/dist/assets/{CustomerOnboardingActivationPage-OtCugBPI-D91o4aDd.js → CustomerOnboardingActivationPage-B3t4tiur-DjVPHMY9.js} +1 -1
- package/dist/assets/CustomerOnboardingContainerPage-Dq7dnrBC-CYcBYKlf.js +1 -0
- package/dist/assets/{CustomerOnboardingDetailPageSkeleton-CMqEIIWe-DKTuqAzn.js → CustomerOnboardingDetailPageSkeleton-JE_MoyoU-Bsgy0GZh.js} +1 -1
- package/dist/assets/{CustomerOnboardingNoStepsPage-p062pNc5-BNSIkJLR.js → CustomerOnboardingNoStepsPage-D1XU-7jk-Cn22BABs.js} +1 -1
- package/dist/assets/{CustomerOnboardingPage-Byojt-WN-BI89EQZZ.js → CustomerOnboardingPage-DFky4iQx-BxCGJxNC.js} +1 -1
- package/dist/assets/{CustomerOnboardingProductSuitePage-C9W7h_tT-DDpX8IWO.js → CustomerOnboardingProductSuitePage-DZLKr3qq-COlAJTzv.js} +3 -3
- package/dist/assets/{Dashboard-Dkwr9npN-DOlsnBvO.js → Dashboard-z7EuNcjw-UzQuGNor.js} +1 -1
- package/dist/assets/{DashboardReportPage-Qk5_OFw7-45oSqJmy.js → DashboardReportPage-BX2xSgwt-CtMCy2_m.js} +1 -1
- package/dist/assets/{DashboardSidebarBackgroundAnimation-BiD26wyg-BRXfEvXl.js → DashboardSidebarBackgroundAnimation-fiNmHYV3-bIt2Kc3t.js} +1 -1
- package/dist/assets/{DepositAccTransactionItem-13TnlK6P-psKtbL0Y.js → DepositAccTransactionItem-CmlUJZgz-bnmz8rhM.js} +1 -1
- package/dist/assets/{DepositAccTransactionListPage-Dc3G81fB-B2QZVX7l.js → DepositAccTransactionListPage-MLQJ9urd-BDlhd475.js} +1 -1
- package/dist/assets/{DomesticWireDetailsPage-CCIoGmZO-B9flQJrp.js → DomesticWireDetailsPage-D-SBQqbR-DQWXll-f.js} +1 -1
- package/dist/assets/{DownloadOverlay-Nc_Ra7Co-CsNXZ-X3.js → DownloadOverlay-DznbXeUZ-D1NoRQ5k.js} +1 -1
- package/dist/assets/{DrawerPage-Bq1naYya-CbTI2Oir.js → DrawerPage-8d8mdD3v-Dfra5TT0.js} +1 -1
- package/dist/assets/{EditPeoplePage-BnYTxq_9-Bs1JHHVK.js → EditPeoplePage-CTwY7ePr-D0nnt0-I.js} +1 -1
- package/dist/assets/{EditReimbursementDetailPage-D-uH9OV3-Cq2uYRbN.js → EditReimbursementDetailPage-DVg6dH7p-CjarxZTI.js} +1 -1
- package/dist/assets/EntityDetailPage-Bj5lQ0PH-CGebRb13.js +18 -0
- package/dist/assets/{EntitySummarySection-BI44dDjO-B-d9qKtl.js → EntitySummarySection-CloCPwyO-CgnOdasB.js} +1 -1
- package/dist/assets/{ExpenseAutomationOverviewPage-XA0L4mZw-CpnZngC7.js → ExpenseAutomationOverviewPage-dHZEdK4L-elD22oh3.js} +1 -1
- package/dist/assets/{ExpenseAutomationPage-CGkJWoKY-BRMhK3VV.js → ExpenseAutomationPage-CWyP8ETl-CY2GVa2F.js} +1 -1
- package/dist/assets/{ExpressPayPage-BX3rmT8V-CwR2-MHb.js → ExpressPayPage-liflPa6J-BKtQJoOF.js} +8 -8
- package/dist/assets/{FeaturePreviewPage-W5YS3_F--oZdslOzE.js → FeaturePreviewPage-DhSoy4IL-CDDhl9rE.js} +1 -1
- package/dist/assets/{FollowStepsSection-C1Nmspra-g1QKZ2WI.js → FollowStepsSection-DW5HuzRR-DcJNUD9X.js} +1 -1
- package/dist/assets/{GlobalReviewListPage-BfVSGVJe-nrO0MSCI.js → GlobalReviewListPage-CGCdgQFw-qnxwU5hv.js} +1 -1
- package/dist/assets/{InformationCardStack-BwgEyJER-DBUBT-P7.js → InformationCardStack-D6xiRsRy-BhoVOIXn.js} +2 -2
- package/dist/assets/{InsightsCardStack-BnEWSQ0m-BuxHTIEs.js → InsightsCardStack-D1eIlMkU-ukmVGuFg.js} +5 -5
- package/dist/assets/{InsightsSection-hFNVHtei-DFkdhpSF.js → InsightsSection-BT0lHMo3-BgjHvnt6.js} +2 -2
- package/dist/assets/{IntegrationsSettingsPage-De8DEt0a-CU8Pbtf9.js → IntegrationsSettingsPage-CRZfnPIT-XEzkhiGZ.js} +2 -2
- package/dist/assets/{InternationalWireSwiftDetailsPage-Dri_Nj57-C0blfNRG.js → InternationalWireSwiftDetailsPage-DouGaVny-CRo_03LB.js} +1 -1
- package/dist/assets/{InternationalWireVerificationPage-CPIRgDy5-BkL1JOGT.js → InternationalWireVerificationPage-B0ha4dEA-D2bWiaRf.js} +3 -3
- package/dist/assets/{InviteFormPage-Ca_tdccZ-CGjMuOAB.js → InviteFormPage-dCGpLoBC-CnwRO6GR.js} +1 -1
- package/dist/assets/{InvitePageListView-BQbRhQ6V-CRXbgx-s.js → InvitePageListView-DhV6Pw56-Dy7_3oOM.js} +1 -1
- package/dist/assets/{InvitePeoplePage-BKffwOP--V5gE16hl.js → InvitePeoplePage-J-HYw9MC-DQIPfQK0.js} +1 -1
- package/dist/assets/{InvoiceUploadSection-H-JhX_DQ-Cg45FklV.js → InvoiceUploadSection-BJLLf4x5-BYeTjPlO.js} +1 -1
- package/dist/assets/{IssueChargeCardPage-rinAPB-d-DG3ZhygF.js → IssueChargeCardPage-hEaegmyi-DePIbfxK.js} +1 -1
- package/dist/assets/{LabeledAddressValue-kPYLLOgv-Ca8uDguJ.js → LabeledAddressValue-PXtKo31O-B1dTxAsd.js} +1 -1
- package/dist/assets/{LabeledAddressValueField-B_N4O3Mv-CPUPG_5z.js → LabeledAddressValueField-D0Ow_UPE-BHdlfsNf.js} +1 -1
- package/dist/assets/{LabeledControlledCheckBoxField-DiD9FNgO-D1jXFK30.js → LabeledControlledCheckBoxField-DVOeaKu0-CwyeTdvX.js} +1 -1
- package/dist/assets/{LabeledCountryMultiSelectField-BCYMtV4j-BKgMFZkq.js → LabeledCountryMultiSelectField-CJud_Lwc-Sf4MZhvZ.js} +1 -1
- package/dist/assets/{LabeledCreatableSingleSelectField-Dm03LVdQ-hgzKVxJf.js → LabeledCreatableSingleSelectField-Dqt1M07c-CNB-6Gh3.js} +1 -1
- package/dist/assets/{LabeledDocumentField-CWqz_jSU-RG8yAT0I.js → LabeledDocumentField-D2n9ry_0-Cul5QuOh.js} +1 -1
- package/dist/assets/{LabeledDropDownFormattedTextField-DhwPnDY8-Cj0K2Ch4.js → LabeledDropDownFormattedTextField-BfpPbI2T-u_0q2QC6.js} +1 -1
- package/dist/assets/{LabeledMultiSelectField-C9feGqHN-USGYCM7x.js → LabeledMultiSelectField-DH6iG4SR-CYpPK-Cw.js} +1 -1
- package/dist/assets/{LabeledText-C91Eu04E-CepIkWM4.js → LabeledText-BHQeQs6Z-DhDpA6wq.js} +1 -1
- package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-uruIe6mr-CpShuEXQ.js → LabeledUserSingleSelectWithSubtitlesField-CnwVXq2g-CkdExi4v.js} +1 -1
- package/dist/assets/{LabeledZeniRolesDropDownField-BBpe1-wI-eTEFPYGs.js → LabeledZeniRolesDropDownField-Dpdlc1DB-DQObOG0W.js} +1 -1
- package/dist/assets/{LinkJETransactionPage-Cn7He0uo-CV8un8kj.js → LinkJETransactionPage-CWOfaAhz-DWQUITuq.js} +2 -2
- package/dist/assets/{LockCardPage-CaIor45t-Dj9ZYRbG.js → LockCardPage-BMt1zujT-CFeVzpTL.js} +1 -1
- package/dist/assets/{LowBalancePopup-DQJYforY-CYt371Eb.js → LowBalancePopup-BN2RBNOV-hy8CG739.js} +1 -1
- package/dist/assets/MagicLinkACHDetailsPage-CRVp5zpz-D5GQff-7.js +1 -0
- package/dist/assets/MagicLinkDomesticWireDetailsPage-Cc9jW4rg-77L1DsxR.js +1 -0
- package/dist/assets/MagicLinkInternationalWireDetailsPage-COHy_2Nv-BJr0TTTO.js +1 -0
- package/dist/assets/{MagicLinkSuccessPage-RsvHwQTQ-Cr9S_5hK.js → MagicLinkSuccessPage-DQbdgFhH-BQZS2a7G.js} +1 -1
- package/dist/assets/{MagicLinkTitleSection-DaThYY60-yvWZdo6C.js → MagicLinkTitleSection-BYkzInkY-CnbT4Veu.js} +1 -1
- package/dist/assets/MailingDetailsSection-DiSohByM-9g2JEN_I.js +21 -0
- package/dist/assets/{Menu-DWx47kcG-DbhvsdcT.js → Menu-TzNY4ajT-Bc5fvTOh.js} +1 -1
- package/dist/assets/{MyBankConnectionsSettingsPage-DtnGJLK--CI7NINxg.js → MyBankConnectionsSettingsPage-Bk4Hdapv-gAHHFi2O.js} +1 -1
- package/dist/assets/{MyPendingActivationChargeCardListPage-B1A2Dxw3-BOWmPTsp.js → MyPendingActivationChargeCardListPage-C5Q5p5zq-CnCSpKZ4.js} +1 -1
- package/dist/assets/{MyProfileSettingsPage-BHpnpTmJ-CAbs0YL8.js → MyProfileSettingsPage-BxiofsK0-C3vlSwei.js} +1 -1
- package/dist/assets/{NavBarWithPicker-Biz620wH-TEitrYNs.js → NavBarWithPicker-DX31nlvR-DsZZuak6.js} +1 -1
- package/dist/assets/{NavigationArrow-CV_u5I1d-BUNwYCaW.js → NavigationArrow-BDdBEJFM-kO85jIsj.js} +1 -1
- package/dist/assets/{NavigationDots-DBshnTnS-CFrPftyk.js → NavigationDots-BZOdXVhR-CfDXOc_R.js} +1 -1
- package/dist/assets/{NewGlobalMerchantPage-DV2k3q5N-DvvNwwEK.js → NewGlobalMerchantPage-qOuBGJ6w-BmGoY907.js} +1 -1
- package/dist/assets/{NoDataChart-DmThvRWS-DMCfCw3w.js → NoDataChart-DxwqqeoI-DOHENLK_.js} +1 -1
- package/dist/assets/{NoDataTable-8GCzndE4-COwZVLdz.js → NoDataTable-DOZy5UAM-BJyDiZ-C.js} +1 -1
- package/dist/assets/{NotFoundPage-VR72eVPP-C86iqIgz.js → NotFoundPage-B31SyO4w-TK5jF5I6.js} +5 -5
- package/dist/assets/{NotificationSettingsPage-Bwf-7o4F-cOymEnQu.js → NotificationSettingsPage-3GoJDHjY-e7wDfjlQ.js} +1 -1
- package/dist/assets/{NotificationsListConfig-Dn_RFaAK-CfnUwgLK.js → NotificationsListConfig-C-OlC5S6-zDT4Ztbb.js} +1 -1
- package/dist/assets/{NotificationsPage-B8GufkTS-DKihZEjC.js → NotificationsPage-Cuz_KDD8-wXs79zwS.js} +1 -1
- package/dist/assets/{OpExByVendorPage-BlEqljuU-CpCR9K40.js → OpExByVendorPage-B2CQ-hT1-CdHYab7a.js} +1 -1
- package/dist/assets/{OverlayContainerPage-Daz3A7cI-BYJ8KqrE.js → OverlayContainerPage-Daz3A7cI-DCSdV5h7.js} +1 -1
- package/dist/assets/PandLWithForecastPage-Dkcy07sC-JgqiuJuu.js +107 -0
- package/dist/assets/{PaymentAccountSetupBillingAddressSection-BIxsEOJG-B4rGOs0i.js → PaymentAccountSetupBillingAddressSection-Dnw0APJu-DFVf9SKl.js} +1 -1
- package/dist/assets/{PeoplePage-DahKRMoB-j_nwq06O.js → PeoplePage-yzYfizds-CBGf3Gd5.js} +1 -1
- package/dist/assets/{Preview-BtZ3ZcmU.js → Preview-CSa6riGd.js} +1 -1
- package/dist/assets/{ProductsCarousel-1P24z1p4-ZVWDXjYr.js → ProductsCarousel-DRfZ_sZ_-mmjpTyj5.js} +1 -1
- package/dist/assets/{PromoBaseCards-DiKj0_oo-Cd0BSFVK.js → PromoBaseCards-CbPywvj2-1eQh0qml.js} +1 -1
- package/dist/assets/{QBOConnectionDialog-A0ysjdIC-DUlZygO9.js → QBOConnectionDialog-DLuBxOXr-DCzBovUv.js} +1 -1
- package/dist/assets/{QBOSetupSection-Me828i1a-DkFeUuRm.js → QBOSetupSection-CxLynYFq-Cwy-C1n0.js} +1 -1
- package/dist/assets/{ReimbursementApprovalRuleDetailPage-dID4dZbu-BsIhKH78.js → ReimbursementApprovalRuleDetailPage-CDK4q7B4-CUbM2HBk.js} +1 -1
- package/dist/assets/{ReimbursementApprovalRulesPage-D8stgYq_-D3kqEOx0.js → ReimbursementApprovalRulesPage-DFmZm1Qr-Cl7V1PiK.js} +1 -1
- package/dist/assets/{ReimbursementDetailPage-DaYD1eTP-DKAx24cc.js → ReimbursementDetailPage-DOCRkpPT-CA-MUhmO.js} +1 -1
- package/dist/assets/{ReimbursementPromoPage-ClRa3wo6-01Wxwlz5.js → ReimbursementPromoPage-DENI6dAX-B1sT6_KV.js} +4 -4
- package/dist/assets/{ReimbursementSetUpPage-CaJCRajP-DiAl9zxc.js → ReimbursementSetUpPage-BJoFNAQR-Lp5jp-Tn.js} +5 -5
- package/dist/assets/{ReimbursementsBulkReviewDrawerPage-BuBVWui--LumBRV3u.js → ReimbursementsBulkReviewDrawerPage-C0a107hB-D2OOQoI4.js} +1 -1
- package/dist/assets/{ReloadCard-DzxA-pGI-BTxFtDZL.js → ReloadCard-BCuJkAqw-CYhviv2P.js} +1 -1
- package/dist/assets/{ReportTableViewSelector-D1k2eDtE-C7gtHRC6.js → ReportTableViewSelector-CEo0z4A2-CAPsKjzu.js} +1 -1
- package/dist/assets/{ReportsPage-DqXYfBQC-HKnm0VLl.js → ReportsPage-gMt_l_Aa-DIB3PTgR.js} +5 -5
- package/dist/assets/{RevenueChart-C0vx4zUX-CS6tiD6b.js → RevenueChart-JLdzi3aQ-CfmQzfo9.js} +1 -1
- package/dist/assets/{ReviewDetailsPage-DmHHVA8I-rryT8nyx.js → ReviewDetailsPage-WBKwpVad-B2V98SLr.js} +52 -52
- package/dist/assets/{ReviewOverlay-tGj059Ib-BKVdx9g4.js → ReviewOverlay-DqOXHkMM-jjjTXZU9.js} +1 -1
- package/dist/assets/{RoleWithToolTip-BGafXnoE-2tbvzQW2.js → RoleWithToolTip-BYuFXi4d-BXj5hmHZ.js} +1 -1
- package/dist/assets/{ScheduleDetailsFixedAssetsPage-DuuvsMhX-CBSo_UOt.js → ScheduleDetailsFixedAssetsPage-BU--t7Cu-BVboxaxs.js} +1 -1
- package/dist/assets/{ScheduleDetailsPage-BCw7YaHZ-BPICcxXg.js → ScheduleDetailsPage-_Ag36lXG-DTOl83nB.js} +1 -1
- package/dist/assets/{ScheduleSequenceTable-C31xhtxt-DsLLSYz6.js → ScheduleSequenceTable-axweBiV5-Bbbb-U5v.js} +1 -1
- package/dist/assets/{ScreenRoutes-C67GO5Te.js → ScreenRoutes-C0-VBL51.js} +1 -1
- package/dist/assets/{SetUpAccountSection-D8PGmPML-Bzhtk2nI.js → SetUpAccountSection-CerAAia_-BvPxgY0Z.js} +1 -1
- package/dist/assets/{SignIn-CwWQnPnB-BWr26Rrd.js → SignIn-B1yQ5XWH-C-xtXH4l.js} +3 -3
- package/dist/assets/{SignInScreen-CEuHZjo7.js → SignInScreen-fYwH5UY7.js} +1 -1
- package/dist/assets/{SpendManagementListViewPage-B-EbBpvJ-D4QvSWNX.js → SpendManagementListViewPage-BL77zVeL-BdHlBBto.js} +5 -5
- package/dist/assets/{SpendManagementPerTabPage-DANa2aTd-CWvsy1uU.js → SpendManagementPerTabPage-B82q9yMk-Crz1O3b0.js} +1 -1
- package/dist/assets/{SpendManagementSection-CXYhrJSF-DegWG-xT.js → SpendManagementSection-Bcex-9e7-BcTlnTQw.js} +1 -1
- package/dist/assets/StatementItem-CL4KzNeN-DGvjkmoq.js +31 -0
- package/dist/assets/{StatementsPage-2OCuox8g-CketcBVa.js → StatementsPage-ECVGrRXi-B7osQmZV.js} +1 -1
- package/dist/assets/{StatusSwitcher-CfBOEbYV-BG_Psc8-.js → StatusSwitcher-Cw0Sq3bY-BbChaknS.js} +1 -1
- package/dist/assets/{SubTabSwitcher-LzrZe6zz-9QlUiay1.js → SubTabSwitcher-DmGRgMQe-C3YnGDOU.js} +1 -1
- package/dist/assets/{SummaryCard-DTbKziXk-06dkT-e5.js → SummaryCard-OvE5BRYP-DQ7Zk4PZ.js} +1 -1
- package/dist/assets/{TaskManagementPage-J0L5w2Wc-_GLV6uUI.js → TaskManagementPage-CAX0yrep-DYDVQ3C3.js} +1 -1
- package/dist/assets/{TimeRangeSwitcher-CIhE-4dW-gA6h-SPl.js → TimeRangeSwitcher-2AXHoZ8f-DqBXOz3V.js} +11 -11
- package/dist/assets/{TimeframeSwitcher-YlXclGGy-C1UEcBoK.js → TimeframeSwitcher-DJiKd_tL-DApIRoV9.js} +1 -1
- package/dist/assets/{TimeframeSwitcherWithToggle-BKRmBPLL-Zi3dvA5E.js → TimeframeSwitcherWithToggle-5W1Xu4QM-D0OKi7Nt.js} +1 -1
- package/dist/assets/{TopExCard-D1k8bh_F-Bl4Np8KZ.js → TopExCard-8RRaMY7F-Gon6G4m3.js} +10 -10
- package/dist/assets/{TopExDetailPage-BRJ9k9hY-QrrZWVa6.js → TopExDetailPage-D2KlaBXx-BpdUQtul.js} +1 -1
- package/dist/assets/{TransactionDetailPage-CJjGDJoM-D2JAk05P.js → TransactionDetailPage-DdyFRxld-C-5usEOx.js} +1 -1
- package/dist/assets/{TransactionList-CLJV-J8J-BYehwI5o.js → TransactionList-CLVkETBe-BTi0TF8x.js} +1 -1
- package/dist/assets/{TransactionListBig-CDMd8KmW-BlVD7tdK.js → TransactionListBig-BRCiFBKB-90T7vD3u.js} +1 -1
- package/dist/assets/{TransactionListPage-Dm_JZDPM-Dja1gl3F.js → TransactionListPage-D0OgwsUo-CHqv8Ptz.js} +2 -2
- package/dist/assets/{TransactionVendorDetailPage-BDuBQged-CvXp-xOX.js → TransactionVendorDetailPage-BLCUqZvL-BIALvbPN.js} +1 -1
- package/dist/assets/{TransferDrawerPage-lY_wB7eB-BnbxYTNq.js → TransferDrawerPage-DdDRqsyR-Dpm3m1og.js} +1 -1
- package/dist/assets/{TreasuryOverviewPage-D5OetJEP-CBj-l09J.js → TreasuryOverviewPage-BcIRsLLj-dqw9iZxG.js} +9 -9
- package/dist/assets/{TreasuryPromoPage-8tXexPVv-pVJJ14ZG.js → TreasuryPromoPage-qbltxtYj-Be5gnIqG.js} +1 -1
- package/dist/assets/{TreasuryStatementsPage-DEOyNQFW-AlE9KEaP.js → TreasuryStatementsPage-CLFal4Qu-D7fSpwwi.js} +1 -1
- package/dist/assets/{TreasuryTaxLetterPage-B2AurZ-A-BQb9STu_.js → TreasuryTaxLetterPage-C2-SmkNZ-CYIVDUGa.js} +2 -2
- package/dist/assets/{TrendChart-DhH1bAfv-D3LXI5YU.js → TrendChart-Cot9LFNh-CytK-s0s.js} +2 -2
- package/dist/assets/{TrendWithTransactions-BLYyM3MY-D7UeGVnC.js → TrendWithTransactions-BKxxRKGE-L7jdBP-R.js} +3 -3
- package/dist/assets/{UncategorizedAccountsMappingPage-CFir4dX5-DgsKoByZ.js → UncategorizedAccountsMappingPage-C7Z3q75s-C7vlCsmg.js} +5 -5
- package/dist/assets/{UnitIntegrationPage-CHR1UsV3-CKbTwyHM.js → UnitIntegrationPage-DV9q3Nzs-EQSgep-S.js} +1 -1
- package/dist/assets/{UploadAdditionalDocumentOverlay-CVb-0jqF-DsW1DeW-.js → UploadAdditionalDocumentOverlay-B37gdjRF-Dp2vDOBj.js} +1 -1
- package/dist/assets/{Vendor2FAPopup-BJI6SeE0-eNPAVD8D.js → Vendor2FAPopup-BZQXt_G4-BTtalNNx.js} +1 -1
- package/dist/assets/VendorACHDetailsPage-WS3d8TF6-Da0vtQql.js +1 -0
- package/dist/assets/{VendorDetailPage-Bl6Xaq0d-Dm7H_1pT.js → VendorDetailPage-CH1L4UZF-B3MhcE6y.js} +5 -5
- package/dist/assets/{VendorDomesticWireDetailsPage-B83WB2Vz-Ddp5nU-e.js → VendorDomesticWireDetailsPage-Brom_Sf_-B5VglIGE.js} +1 -1
- package/dist/assets/{VendorFiling1099EditablePage-DHabnH22-Ci-SR-CB.js → VendorFiling1099EditablePage-BaX4ACXz-CJd2K39u.js} +1 -1
- package/dist/assets/{VendorFirstReviewPage-JhwEqiFF-Dp6nc1bX.js → VendorFirstReviewPage-DAZJMUR3-BZQS9qCZ.js} +1 -1
- package/dist/assets/{VendorInternationalWireDetailsPage-DKsYBIjo-PLt1U3wd.js → VendorInternationalWireDetailsPage-CPnjLrDQ-0-KyGCYk.js} +1 -1
- package/dist/assets/VendorInternationalWireSwiftDetailsPage-C4XEeSs2-DO48MG3i.js +1 -0
- package/dist/assets/{VendorsAccountsSection-Bvhib6Hd-CHxc62W3.js → VendorsAccountsSection-DsgK37WB-BrTiEXUw.js} +1 -1
- package/dist/assets/{VerifyDevice-DGjS39sh-Cb897kZW.js → VerifyDevice-BPAsHKLY-rDHP_WGx.js} +1 -1
- package/dist/assets/{VideoPlayer-DufuoQRs-oPVEl4ns.js → VideoPlayer-Bwg_8KIq-BrCqLhsq.js} +2 -2
- package/dist/assets/{VideoPopup-1aNRmLD6-NApO2qk6.js → VideoPopup-CxjbzbjP-Bfo2Jbi-.js} +2 -2
- package/dist/assets/{WarningsDrawerPage-Bikg48FF-Cbty70OQ.js → WarningsDrawerPage-BBc3-y8F-DEB-oHPA.js} +1 -1
- package/dist/assets/{ZeniAccountDetailPage-DJiB-R44-DNmBtR_I.js → ZeniAccountDetailPage-VB4JoNYE-DnLTquPY.js} +1 -1
- package/dist/assets/{ZeniAccountListViewPage-BJF3-1hq-LSfxZ1Rl.js → ZeniAccountListViewPage-CMjCtqT0-41l3IEZs.js} +1 -1
- package/dist/assets/{ZeniAccountNavBarPieces-ZZoVi49V-DI70eC49.js → ZeniAccountNavBarPieces-C89nBJ6j-BQmFQnUD.js} +1 -1
- package/dist/assets/{ZeniAccountPromoPage-VfZj6e9J-BYxBlesF.js → ZeniAccountPromoPage-C1_qLOdH-CT-Nw3at.js} +1 -1
- package/dist/assets/{ZeniAccountSetupPage-CfUBgLaM-BRYKYPE6.js → ZeniAccountSetupPage-DWEVvvHh-mdXQepOk.js} +1 -1
- package/dist/assets/{ZeniCopyright-UUk3LylG-m9Xmp5JI.js → ZeniCopyright-COx-CtZK-BJjjuCdE.js} +1 -1
- package/dist/assets/{ZeniTransferAmountSlider-DuyKUAsb-CGhQHvXM.js → ZeniTransferAmountSlider-DfOF_MH1-DEdEmpvO.js} +1 -1
- package/dist/assets/{add-to-wallet-DgdBD8_G-BrN1Aye0.js → add-to-wallet-DgdBD8_G-DJTDRQKQ.js} +1 -1
- package/dist/assets/{analytics-zyQYZvSc.js → analytics-COhRzxPT.js} +1 -1
- package/dist/assets/{analyticsHelper-Cv_74YFl.js → analyticsHelper-CRtdFimq.js} +1 -1
- package/dist/assets/{analyticsHelper-C_CHYSrd-DeLJvIPW.js → analyticsHelper-CcmV6wHp-D-5PVU9-.js} +1 -1
- package/dist/assets/{arrow-south-east-round-PEovUgvH-3vc9ELkd.js → arrow-south-east-round-PEovUgvH-rNeD8cA8.js} +1 -1
- package/dist/assets/{auto-transfer-rule-mbafm5D3-c21rRbXN.js → auto-transfer-rule-mbafm5D3-_-2LojGH.js} +1 -1
- package/dist/assets/{chartTypes-CfyGWP2E-CMEv9V_N.js → chartTypes-YlZX4WLs-BVobq2KO.js} +1 -1
- package/dist/assets/{commonDimensions-uDLC8oOH-0Au8IFVq.js → commonDimensions-IG4iGJ-6-D0-edPu2.js} +1 -1
- package/dist/assets/{commonTypes-DBWmGaRi-DbYfiAyn.js → commonTypes-ByC4Sd87-P4qhDabt.js} +1 -1
- package/dist/assets/{constants-DWk2fFv_.js → constants-PRjhMiOb.js} +1 -1
- package/dist/assets/{core-eaZ5MkII.js → core-BPFYe8Fp.js} +1 -1
- package/dist/assets/{dash.all.min-CcMymYrD.js → dash.all.min-BHP7ZpuB.js} +1 -1
- package/dist/assets/{detailCommon-CUjnzfBn-DLVfXaab.js → detailCommon-lUFqcp_3-DLubEUfX.js} +3 -3
- package/dist/assets/{downloadPdf-DZnGQqi5-CeOjPDtf.js → downloadPdf-DYME892p-CgtFhUt6.js} +1 -1
- package/dist/assets/{empty-5jxUSzqQ.js → empty-Cp4uRDWx.js} +1 -1
- package/dist/assets/{empty-B7T-FSqA.js → empty-_EE1GUl0.js} +1 -1
- package/dist/assets/{epic-qVoPQO6A.js → epic-BIwB2Nyn.js} +1 -1
- package/dist/assets/{gift-box-Cmt9OgIZ-DZK07yWZ.js → gift-box-Cmt9OgIZ-CWOIBKFq.js} +1 -1
- package/dist/assets/{graphic-no-data-l-DU4J8fDt-CBdedu6R.js → graphic-no-data-l-DU4J8fDt-CGUgoC2L.js} +1 -1
- package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-CxQSQ7nM.js → graphic-no-data-net-burn-l-CzmycA0m-Bkxol6JE.js} +1 -1
- package/dist/assets/{handshake-BPg58FML-DDyFnDC1.js → handshake-BPg58FML-B1aTSimH.js} +1 -1
- package/dist/assets/{index-D8PMCh18.js → index-B6Om0Agf.js} +7 -7
- package/dist/assets/{index-B97sUjo_.js → index-BNhIcPIg.js} +1 -1
- package/dist/assets/{index-DZdvjaDg.js → index-ByQkLJJD.js} +1 -1
- package/dist/assets/{index-vcow32RM.js → index-DAOCYnQR.js} +1 -1
- package/dist/assets/{index-oTgseo1z.js → index-DdFqgh6Q.js} +1 -1
- package/dist/assets/{index-D2sj31x5.js → index-gqLeArqE.js} +1 -1
- package/dist/assets/{index-BD479JGG.js → index-mYyCGmMK.js} +1 -1
- package/dist/assets/{lexical-DZqbjlo3.js → lexical-acVZWmws.js} +1 -1
- package/dist/assets/{liveblocks-CYMGg0Jd.js → liveblocks-DWNROPS5.js} +1 -1
- package/dist/assets/{lottie-wSb1JmVE.js → lottie-DQjCP4UK.js} +1 -1
- package/dist/assets/mapLoadingInProgressToTreeNode-B7Tq4sxB-CG4-iokq.js +1 -0
- package/dist/assets/{mapSectionWithAcOnlyToTreeNode-6D3s6K5H-Cf59HreQ.js → mapSectionWithAcOnlyToTreeNode-BNXHaV-x-Dya99XN3.js} +1 -1
- package/dist/assets/mapSpacerToTreeNode-DpgQIqP_-DJHBQyJ3.js +1 -0
- package/dist/assets/mapTimeframeBalancesToTreeNode-LxIEmBdX-D0eWUHRt.js +1 -0
- package/dist/assets/mapTimeframeBalancesToTreeNode-fxn51zxe-DrBdfP98.js +1 -0
- package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-opvjldHo-nQMPswZb.js +1 -0
- package/dist/assets/{mui-8c7TTPte.js → mui-C6XKQL2c.js} +1 -1
- package/dist/assets/{page-detail-CWX5S47F-rPobFqLh.js → page-detail-CWX5S47F-BzjIQtfg.js} +1 -1
- package/dist/assets/{radio-default-CiSgisfh-JegKPmEU.js → radio-default-CiSgisfh-BS1GVp2P.js} +1 -1
- package/dist/assets/{react-BkLRSHeS.js → react-B0pgw5Mm.js} +1 -1
- package/dist/assets/{react-BeFAL7xc.js → react-BSuQuG9G.js} +2 -2
- package/dist/assets/{react-BTIOleqc.js → react-BjT2oqbW.js} +1 -1
- package/dist/assets/{react-DqDI51zp.js → react-Brqsw08v.js} +1 -1
- package/dist/assets/{react-Bm2m1z7n.js → react-CVQUd4tH.js} +1 -1
- package/dist/assets/{react-Bgfqj-6V.js → react-CXCL32Ls.js} +1 -1
- package/dist/assets/{react-BvBglWtA.js → react-D8jgeeNV.js} +1 -1
- package/dist/assets/{react-CpDQbd_p.js → react-Dk7l6rEc.js} +1 -1
- package/dist/assets/{recharts-DLR05d4e.js → recharts-CPZsikvb.js} +1 -1
- package/dist/assets/{sentry-gJCFOenX.js → sentry-yju9hmuU.js} +1 -1
- package/dist/assets/{shield-DOlUxcFf-BYII5mua.js → shield-DOlUxcFf-C-RFN1Ny.js} +1 -1
- package/dist/assets/toCOABalancesWithID-BAw7mDDs-BHjR7Lz6.js +1 -0
- package/dist/assets/{toChartData-DD8ISjzM-BEMY07yt.js → toChartData-CuSN9vUZ-eye27L_h.js} +1 -1
- package/dist/assets/{uploadAttachment-CEqqTe84-DtoAuKJx.js → uploadAttachment-CRI5U1f4-uoLiqp2e.js} +1 -1
- package/dist/assets/{uploadReceipts-CPw64UYa-B7XOfqVi.js → uploadReceipts-CPw64UYa-DbLoTUL7.js} +1 -1
- package/dist/assets/{url-Df8TrFuK.js → url-7nemmS6b.js} +1 -1
- package/dist/assets/{url-CPssbUxP.js → url-BZCKPycf.js} +1 -1
- package/dist/assets/{useLongPress-GCK2COYQ-b6cGrqv9.js → useLongPress-GCK2COYQ-Dvu-g8xT.js} +1 -1
- package/dist/assets/{usp-line-BBd1wKwW-BI2SMRc4.js → usp-line-BBd1wKwW-BKD4OxLr.js} +1 -1
- package/dist/assets/{utils-BoH8rMdz.js → utils-B5xU1y4i.js} +1 -1
- package/dist/assets/{zeni-epic-state-B6kYb9qr.js → zeni-epic-state-ag00jsAo.js} +3 -3
- package/dist/index.html +1 -1
- package/package.json +2 -2
- package/dist/assets/AccountInfoPage-CI5UcHFj-CxN8pKH-.js +0 -18
- package/dist/assets/ChargeCardPromoPage-CPURUrkI-B12CNYfn.js +0 -222
- package/dist/assets/CustomerOnboardingContainerPage-DGhE9fpo-BKcFYTYY.js +0 -1
- package/dist/assets/EntityDetailPage-DCcgGupN-Pg8_N3U5.js +0 -18
- package/dist/assets/MagicLinkACHDetailsPage-CTqUXhIp-DXNzQf7Z.js +0 -1
- package/dist/assets/MagicLinkDomesticWireDetailsPage-Dn7zRSmC-BxWp8jFf.js +0 -1
- package/dist/assets/MagicLinkInternationalWireDetailsPage-BP3vdY52-qhkrhNCj.js +0 -1
- package/dist/assets/MailingDetailsSection-DKs9SGYB-DrREfI80.js +0 -21
- package/dist/assets/PandLWithForecastPage-GOxiUR2j-C-ak3I_k.js +0 -107
- package/dist/assets/StatementItem-DeYhvD3S-D2y3sY45.js +0 -31
- package/dist/assets/VendorACHDetailsPage-DLY7vm1r-B9tUnjc_.js +0 -1
- package/dist/assets/VendorInternationalWireSwiftDetailsPage-XKp9TJ4g-_ofC4l4D.js +0 -1
- package/dist/assets/mapLoadingInProgressToTreeNode-BNip5yf2-DdUiAptt.js +0 -1
- package/dist/assets/mapSpacerToTreeNode-D950gQIm-B1jS0Sxi.js +0 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-BwoNhSxI-DMiy9TSZ.js +0 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-CpO1mQ6n-CGqZlkwx.js +0 -1
- package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-tLFl9PXK-DzfqC0pd.js +0 -1
- package/dist/assets/toCOABalancesWithID-B6AaIKKE-7gBQPg3T.js +0 -1
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import{q as W,d as G,F as y,aw as ge,V as r,bM as _e,aN as P,bB as be,bA as Se,o as w,aR as we,k as ye,y as B,bN as Ce,c as S,H as A,aB as X,G as xe,aT as Oe,at as Re,bJ as Ae}from"./index-D8PMCh18.js";import{a as T,S as K}from"./sentry-gJCFOenX.js";import{n as _}from"./mui-8c7TTPte.js";import{bg as Z,EN as Be,EW as ve,EX as E,EY as Le,EZ as Te,E_ as Pe,E$ as Ne,F0 as ke,F1 as ee,F2 as te}from"./zeni-epic-state-B6kYb9qr.js";import{m as z,l as q}from"./analyticsHelper-C_CHYSrd-DeLJvIPW.js";import{x as Ie}from"./ReportTableViewSelector-D1k2eDtE-C7gtHRC6.js";import{a as se,p as Fe}from"./TimeRangeSwitcher-CIhE-4dW-gA6h-SPl.js";import{M as Me}from"./TimeframeSwitcherWithToggle-BKRmBPLL-Zi3dvA5E.js";import{DownloadOverlayButton as Ee}from"./DownloadOverlay-Nc_Ra7Co-CsNXZ-X3.js";import{I as $e,R as F,x as ne}from"./CollapsableReportTable-CRaZZnGr-BljjGZjn.js";import{D as oe,T as ae,C as $,L as je,g as ie}from"./mapSectionWithAcOnlyToTreeNode-6D3s6K5H-Cf59HreQ.js";import{s as Y}from"./mapTimeframeBalancesToTreeNode-BwoNhSxI-DMiy9TSZ.js";import{d as Ve,l as De}from"./mapTimeframeHeaderLoadingInProgressToTreeNode-tLFl9PXK-DzfqC0pd.js";import{d as ze}from"./mapLoadingInProgressToTreeNode-BNip5yf2-DdUiAptt.js";import"./liveblocks-CYMGg0Jd.js";import"./core-eaZ5MkII.js";import"./recharts-DLR05d4e.js";import"./lottie-wSb1JmVE.js";import"./analytics-zyQYZvSc.js";import"./lexical-DZqbjlo3.js";import"./utils-BoH8rMdz.js";import"./TimeframeSwitcher-YlXclGGy-C1UEcBoK.js";import"./page-detail-CWX5S47F-rPobFqLh.js";import"./AccountRow-Bq6uJ1hA-CcRQ_R2_.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="8bffa30a-30a9-445c-b339-77891ec86acf",e._sentryDebugIdIdentifier="sentry-dbid-8bffa30a-30a9-445c-b339-77891ec86acf")}catch{}})();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=F("section",[],a+t),l={children:[],id:p,isLastNode:n,reportElementData:{element:{kind:"section",title:a,sectionType:t,data:e,numOfBalances:o},config:d}},i=ne("no_filter",d.filterAccountsWithNilBalances,d.filterAccountGroupsWithNilBalances).compactedAccountsSelectorVariant(e.accounts),u=i.map((g,f)=>ie({account:g,sectionType:t,numOfBalances:o,title:g.account.accountName,config:d,isLastNode:f===i.length-1,parentNodeIDs:[p],ancestorMetadata:{subAccountAncestorMetadata:[{depth:0,hasSibling:i.length>1,hasChildren:g.children.length>0,isLastNode:f===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??F("timeframe_header",[]),isLastNode:!1,reportElementData:{element:{kind:t.mode==="actual_vs_forecast"?"timeframe_headers_with_forecast":"timeframe_headers",title:"",data:e,numOfBalances:e.length},config:t}}}function 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=F("title_string_only",[],u),f={children:[],id:g,isLastNode:!0,reportElementData:{element:{kind:"title_string_only",title:a[u],data:void 0,numOfBalances:0},config:t}};i.push(f),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($({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:F("calculated_section_type1",[],o),isLastNode:a,reportElementData:{element:{kind:"calculated_section_type1",title:o,data:e,numOfBalances:t},config:n}}}function He(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=F("title_string_only",[],u),f={children:[],id:g,isLastNode:!0,reportElementData:{element:{kind:"title_string_only",title:a[u],data:void 0,numOfBalances:0},config:t}};i.push(f),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 Ne(s)===!0?i.push(Ye({calculatedSection:e.calculatedSections[s],numOfBalances:p,title:n[s],isLastNode:!0,config:t})):ke(s)===!0&&i.push($({calculatedSection:e.calculatedSections[s],numOfBalances:p,title:n[s],isLastNode:!0,config:t}))})}),{config:t,headerNodes:o?[l]:[],contentNodes:[l,...i]}}function Ze(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,f)=>{const s=f%4;let c=De[s];const C=ze({title:`${f}+${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}),f=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(je({section:c,sectionType:s,numOfBalances:f,title:n.sections[s],isLastNode:!0,config:t}))}else if(te(s)===!0){const c=e.calculatedSections[s];c!=null&&l.push($({calculatedSection:c,numOfBalances:f,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($({calculatedSection:u,numOfBalances:d,title:a.sections[i],isLastNode:!0,config:t}))}}),{config:t,headerNodes:o?[p]:[],contentNodes:l}}const J={contentPaddingLeft:new B(S[0],S[0],S[0]),contentPaddingRight:new B(S[3],S[3],S[8])},Je=_.div`
|
|
1
|
+
import{q as W,d as G,F as y,aw as ge,V as r,bM as _e,aN as P,bB as be,bA as Se,o as w,aR as we,k as ye,y as B,bN as Ce,c as S,H as A,aB as X,G as xe,aT as Oe,at as Re,bJ as Ae}from"./index-B6Om0Agf.js";import{a as T,S as K}from"./sentry-yju9hmuU.js";import{n as _}from"./mui-C6XKQL2c.js";import{bg as Z,EN as Be,EW as ve,EX as E,EY as Le,EZ as Te,E_ as Pe,E$ as Ne,F0 as ke,F1 as ee,F2 as te}from"./zeni-epic-state-ag00jsAo.js";import{m as z,l as q}from"./analyticsHelper-CcmV6wHp-D-5PVU9-.js";import{x as Ie}from"./ReportTableViewSelector-CEo0z4A2-CAPsKjzu.js";import{a as se,p as Fe}from"./TimeRangeSwitcher-2AXHoZ8f-DqBXOz3V.js";import{M as Me}from"./TimeframeSwitcherWithToggle-5W1Xu4QM-D0OKi7Nt.js";import{DownloadOverlayButton as Ee}from"./DownloadOverlay-DznbXeUZ-D1NoRQ5k.js";import{I as $e,R as F,x as ne}from"./CollapsableReportTable-LB-wYzj1-B7gXwkx1.js";import{D as oe,T as ae,C as $,L as je,g as ie}from"./mapSectionWithAcOnlyToTreeNode-BNXHaV-x-Dya99XN3.js";import{s as Y}from"./mapTimeframeBalancesToTreeNode-LxIEmBdX-D0eWUHRt.js";import{d as Ve,l as De}from"./mapTimeframeHeaderLoadingInProgressToTreeNode-opvjldHo-nQMPswZb.js";import{d as ze}from"./mapLoadingInProgressToTreeNode-B7Tq4sxB-CG4-iokq.js";import"./liveblocks-DWNROPS5.js";import"./core-BPFYe8Fp.js";import"./recharts-CPZsikvb.js";import"./lottie-DQjCP4UK.js";import"./analytics-COhRzxPT.js";import"./lexical-acVZWmws.js";import"./utils-B5xU1y4i.js";import"./TimeframeSwitcher-DJiKd_tL-DApIRoV9.js";import"./page-detail-CWX5S47F-BzjIQtfg.js";import"./AccountRow-BWclqiQh-CE6dTXhw.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="b808b7e5-e3f0-4cbe-8870-1b27f24dc412",e._sentryDebugIdIdentifier="sentry-dbid-b808b7e5-e3f0-4cbe-8870-1b27f24dc412")}catch{}})();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=F("section",[],a+t),l={children:[],id:p,isLastNode:n,reportElementData:{element:{kind:"section",title:a,sectionType:t,data:e,numOfBalances:o},config:d}},i=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??F("timeframe_header",[]),isLastNode:!1,reportElementData:{element:{kind:t.mode==="actual_vs_forecast"?"timeframe_headers_with_forecast":"timeframe_headers",title:"",data:e,numOfBalances:e.length},config:t}}}function 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=F("title_string_only",[],u),h={children:[],id:g,isLastNode:!0,reportElementData:{element:{kind:"title_string_only",title:a[u],data:void 0,numOfBalances:0},config:t}};i.push(h),e.rootSectionsWithSubSectionIds[u].forEach(s=>{if(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($({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:F("calculated_section_type1",[],o),isLastNode:a,reportElementData:{element:{kind:"calculated_section_type1",title:o,data:e,numOfBalances:t},config:n}}}function He(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=F("title_string_only",[],u),h={children:[],id:g,isLastNode:!0,reportElementData:{element:{kind:"title_string_only",title:a[u],data:void 0,numOfBalances:0},config:t}};i.push(h),e.rootSectionsWithSubSectionIds[u].forEach(s=>{if(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 Ne(s)===!0?i.push(Ye({calculatedSection:e.calculatedSections[s],numOfBalances:p,title:n[s],isLastNode:!0,config:t})):ke(s)===!0&&i.push($({calculatedSection:e.calculatedSections[s],numOfBalances:p,title:n[s],isLastNode:!0,config:t}))})}),{config:t,headerNodes:o?[l]:[],contentNodes:[l,...i]}}function Ze(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(je({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($({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($({calculatedSection:u,numOfBalances:d,title:a.sections[i],isLastNode:!0,config:t}))}}),{config:t,headerNodes:o?[p]:[],contentNodes:l}}const J={contentPaddingLeft:new B(S[0],S[0],S[0]),contentPaddingRight:new B(S[3],S[3],S[8])},Je=_.div`
|
|
2
2
|
height: ${e=>e.height}px;
|
|
3
3
|
width: 99.9%;
|
|
4
4
|
margin-top: ${w.sp2};
|
|
5
5
|
background-color: ${e=>e.theme.colors.grey4};
|
|
6
|
-
`;function Qe({report:e,displayOrder:t,reportFormat:o,analytics:a,isZeniUser:n,onAdditionalBalanceSelectionChanged:d,onAccountBalanceClick:p,onTableScroll:l,onElementCollapseStateChanged:i,isCompareModeOn:u,isPageFetchInProgress:g=!1}){const
|
|
6
|
+
`;function Qe({report:e,displayOrder:t,reportFormat:o,analytics:a,isZeniUser:n,onAdditionalBalanceSelectionChanged:d,onAccountBalanceClick:p,onTableScroll:l,onElementCollapseStateChanged:i,isCompareModeOn:u,isPageFetchInProgress:g=!1}){const h=W(),s=G(),[c,C]=T.useState(void 0),[x,j]=T.useState(void 0),v=!(h==="small"||h==="medium-compact"),V="name+balances_actual",M=u===!0?"this_period_vs_period_before":"none",O=()=>{let m=[];switch(e.reportId){case"profit_and_loss":{const f=e;m=(f.sections.expenses.balances.length>0?f.sections.expenses:f.sections.income).additionalBalances.map(D=>E(D));break}case"profit_and_loss_by_classes":{const f=e,D=(f.sections.expenses?.balances?.length??0)>0?f.sections.expenses:null,fe=(f.sections.income?.balances?.length??0)>0?f.sections.income:null,H=D??fe;H?.additionalBalances!=null&&(m=H.additionalBalances.map(me=>E(me)));break}case"cash_flow":{m=e.calculatedSections.investingActivitiesTotal.additionalBalances.map(f=>E(f));break}case"balance_sheet":{m=e.sections.equity.additionalBalances.map(f=>E(f));break}}return m.length>0&&m.find(f=>f.balanceType==="this_period_vs_last_period")?"compare_mode_amount":"compare_mode_percent"};T.useEffect(()=>{const m={reportId:e.reportId,bookCloseDate:e.bookCloseDate,mode:M,firstMonthOfFY:e.firstMonthOfFY,filterAccountsWithNilBalances:"filter_actual_nil_balances",filterAccountGroupsWithNilBalances:"filter_actual_forecast_empty_account_group_balances",displayOrder:t,reportFormat:o,dataAvailable:e.dataAvailable,showNegativeAmountInParenthesis:Ae(),showClassAccountNumber:n};if(c==null||!X(x,e)||g===!0){const f=Xe(e,m,v,g);j(e),C(f)}else{const f=We(c,m,e,v);C(f)}},[u,e,g]);const[R,k]=T.useState(5),I=m=>{const f=m+135;k(f)},he=m=>m?.trackPageLoaded(Ke(e));return c!=null?r.jsxs(r.Fragment,{children:[r.jsx(xe,{analytics:a,onLoad:he}),r.jsx(Je,{height:R,children:r.jsx($e,{backgroundColor:new Oe(s.colors.grey4),rootNodes:c,type:V,compareMode:O(),isSticky:{isStickyHeader:v,isStickyName:v},treeNodePadding:{left:J.contentPaddingLeft.value(h),right:J.contentPaddingRight.value(h)},onAccountClick:p==null?void 0:(m,f)=>{p(m,f)},nodeOpenStatus:e.uiState.nodeCollapseState,scrollPosition:e.uiState.scrollPosition,onCompareModeChanged:m=>d?.(m==="compare_mode_amount"?"this_period_vs_last_period":"this_period_vs_last_period_percent","dropdown"),onNodeCollapseToggled:(m,f)=>i?.(e.reportId,m,f),onReportTableHeightChanged:I,onScroll:m=>l?.(e.reportId,m)})})]}):null}const Xe=(e,t,o=!0,a=!1)=>{switch(e.reportId){case"profit_and_loss":return qe(e,t,o);case"profit_and_loss_by_classes":return Ze(e,t,o,a);case"cash_flow":return He(e,t,o);case"balance_sheet":return Ge(e,t,o);default:return}},Ke=e=>{switch(e.reportId){case"profit_and_loss":case"profit_and_loss_by_classes":return A.Event.profitAndLoss;case"cash_flow":return A.Event.cashFlow;case"balance_sheet":return A.Event.balanceSheet;default:return A.Event.reports}},et=_.div`
|
|
7
7
|
display: flex;
|
|
8
8
|
flex-direction: row;
|
|
9
9
|
border-bottom: 1px solid ${e=>e.theme.colors.grey3};
|
|
@@ -73,14 +73,14 @@ import{q as W,d as G,F as y,aw as ge,V as r,bM as _e,aN as P,bB as be,bA as Se,o
|
|
|
73
73
|
position: absolute;
|
|
74
74
|
margin-top: ${e=>e.windowSize==="small"?"230px":"195px"};
|
|
75
75
|
background-color: ${e=>e.theme.colors.grey4};
|
|
76
|
-
`,
|
|
76
|
+
`,ht=_.div`
|
|
77
77
|
display: flex;
|
|
78
78
|
width: 100%;
|
|
79
79
|
height: calc(100% - 60px);
|
|
80
80
|
flex-direction: column;
|
|
81
81
|
justify-content: center;
|
|
82
82
|
align-items: center;
|
|
83
|
-
`,
|
|
83
|
+
`,ft=_.div`
|
|
84
84
|
height: 96px;
|
|
85
85
|
width: 96px;
|
|
86
86
|
background: ${e=>e.theme.colors.background};
|
|
@@ -98,7 +98,7 @@ import{q as W,d as G,F as y,aw as ge,V as r,bM as _e,aN as P,bB as be,bA as Se,o
|
|
|
98
98
|
`,mt=_(we)`
|
|
99
99
|
margin-top: ${w.sp3};
|
|
100
100
|
color: ${e=>e.theme.colors.hero};
|
|
101
|
-
`,pe=({style:e,isLoading:t})=>t?r.jsx(pt,{style:e,children:r.jsx(ye,{size:"ExtraLarge",start:!0})}):null,b=e=>{switch(e.selectedReport){case"cash_flow":return e.cashFlowReport;case"balance_sheet":return e.balanceSheetReport;case"profit_and_loss_by_classes":return e.profitAndLossClassesViewReport;case"profit_and_loss":default:return e.profitAndLossReport}},U=({selectedReport:e,isCompareModeOn:t,windowSize:o})=>{const a=e.availableNumberOfPeriods;let n=rt.selectedNumberOfPeriods(t,o);return a!=null&&(n=Math.min(n,a)),n};function Jt(e){const t=W(),o=G(),{onUpdateAccountViewMode:a,onUpdateClassesToFilterOut:n,onAdditionalBalanceSelectionChanged:d,onTimeframeSelectionChanged:p,isCompareMode:l,selectedReportAndTimeframeFetchState:i,onClickMenuIcon:u}=e,g=(O,R)=>{O!==f?.accountViewMode&&a?.(O),R&&n?.(R)};T.useEffect(()=>{if(e.fetchState==="Completed"){const O=b(e).filter.additionalBalances;e.onUpdateHighlightedNumberOfPeriods?.(O,e.isCompareMode,U({selectedReport:b(e),isCompareModeOn:e.isCompareMode,windowSize:t}),e.balancesInTimeframe)}},[t,e.fetchState]);const f=bt(e),s=y.getLocalizedStrings().reports.common,c=ge(),C=c!=null&&Z(c.loggedInUserRole)?"detailed":"more_detailed",x=c!=null&&Z(c.loggedInUserRole)?["more_detailed"]:[];e.showAccountGroups===!1&&f?.accountViewMode==="account_group"&&x.push("detailed");const[j,v]=K.useState(x.includes("more_detailed")?"detailed":"more_detailed"),V={selectedFormat:j,disabledFormatForRole:x,roleBasedClassesSelectedFormat:C,setSelectedFormat:v};if(i.fetchState==="Error"||e.fetchState==="Error")return r.jsxs(ft,{"data-testid":P("report-page-error-reload-page"),children:[r.jsx(ht,{"data-testid":P("report-page-error-reload-icon"),onClick:e.onReloadReport,children:r.jsx(_e,{})}),r.jsx(mt,{children:s.failed})]});const M=e.fetchState;if(i.fetchState!=="Completed"&&(M==="In-Progress"||M==="Not-Started"))return r.jsx(pe,{isLoading:!0});{const O=r.jsx(be,{downloadReportOptions:{type:"detailed_menu",downloadMenu:{detailedMenu:f!=null&&e.dataAvailable!=null?r.jsx(Ee,{defaultOptions:f,analytics:e.analytics,referrer:L(e.selectedReport),dataAvailable:e.dataAvailable,downloadState:e.downloadState,statementEndPoint:e.statementEndPoint,authParams:e.authParams,currentTenantCompanyName:e.currentTenantCompanyName,classesFetchState:e.profitAndLossClassesViewReport.fetchState,showAccountGroups:e.showAccountGroups,reportFormatProps:V,updateDownloadStateHandler:e.updateDownloadStateHandler,onUpdateDisplayOrder:e.onUpdateDisplayOrder,onUpdateReportFormat:e.onUpdateReportFormat,onClose:()=>null,onOpenAccountViewMode:e.onOpenAccountViewMode,onSaveClickHandler:g,onThisPeriodChanged:e.onThisPeriodChanged,onAdditionalBalanceSelectionChanged:(R,k,I)=>{d(l,R,k,I)},onTimeframeSelectionChanged:(R,k,I)=>{p?.(R,k,I)}}):r.jsx(r.Fragment,{})}}});return r.jsxs(lt,{children:[r.jsx(Se,{title:y.getLocalizedStrings().reports.title,backgroundColor:o.colors.grey4,onBackClick:e.onBackClick,showMenuIcon:t==="medium-compact"||t==="small",onClickMenuIcon:u,rightSideComponent:O,downloadPresent:!0,source:"ReportsPage",hideSearchBtn:!0}),r.jsx(gt,{...e})]})}}function gt(e){const t=W(),o=G(),a=T.useRef(null),{selectedReportAndTimeframeFetchState:n}=e,d=["month","quarter","year"],p=(s,c)=>{e.analytics?.trackCompareFilterChange(s==="this_period_vs_last_period_percent"?"percentage":"amount",L(e.selectedReport),z(e.selectedTimeframe),c);const C=Array.from(new Set(s==="this_period_vs_last_period_percent"?[...b(e).filter.additionalBalances,"this_period_vs_last_period_percent"].filter(x=>x!=="this_period_vs_last_period"):[...b(e).filter.additionalBalances,"this_period_vs_last_period"].filter(x=>x!=="this_period_vs_last_period_percent")));e.onAdditionalBalanceSelectionChanged?.(e.isCompareMode,C,U({selectedReport:b(e),isCompareModeOn:e.isCompareMode,windowSize:t}))},l=(s,c)=>{s!==e.profitAndLossClassesViewReport?.uiState.accountViewMode&&e.onUpdateAccountViewMode?.(s),c&&e.onUpdateClassesToFilterOut?.(c)},i=b(e),u=a.current?.clientWidth??N.tickSkelectionContainerWidth.value(t),g=Be([e.reportsResyncFetchState,e.profitAndLossClassesViewReport]).fetchState==="In-Progress"&&e.profitAndLossClassesViewReport.uiState.accountViewMode==="classes",f=n.fetchState==="In-Progress";return r.jsxs(dt,{windowSize:t,"data-testid":P("reports-page-content-container"),children:[r.jsx(yt,{windowSize:t,ref:a,children:r.jsx(Me,{timeframe:{allowedTimeframes:d,selectedTimeframe:e.selectedTimeframe,onTimeframeSelectionChanged:s=>{e.analytics?.trackTimeframeSwitch(z(s),L(e.selectedReport)),e.onTimeframeSelectionChanged?.(s,!0)}},toggle:{label:y.getLocalizedStrings().compareSwitchLabel,isOn:e.isCompareMode,onValueChanged:s=>{e.analytics?.trackCompareMode(s,L(e.selectedReport),z(e.selectedTimeframe));const c=b(e).filter;e.onAdditionalBalanceSelectionChanged?.(s,c.additionalBalances,c.balancesRange.numberOfPeriods)}}})}),n.fetchState==="Not-Started"||n.fetchState==="In-Progress"?r.jsx(xt,{windowSize:t,children:r.jsx(Ot,{children:r.jsx(Ce,{width:u,height:se-S[2],backgroundColor:o.colors.grey3,style:{borderRadius:w.sp2}})})}):r.jsx(Ct,{windowSize:t,children:r.jsx(Fe,{firstMonthOfFY:i.firstMonthOfFY,timeframe:e.selectedTimeframe,timeframeTicks:e.allTimeframeTicks,selection:{selectedTicks:Q(e.allTimeframeTicks,e.selectedCOABalancesRange),highlightedOfSelectedTicks:Q(e.allTimeframeTicks,e.selectedCOABalancesRange)},onClick:(s,c)=>{e.analytics?.trackDateRangeFilterChange(L(e.selectedReport),"range filter",e.isCompareMode,q(i.firstMonthOfFY,e.selectedTimeframe,c)),e.onThisPeriodChanged?.(c,U({selectedReport:b(e),isCompareModeOn:e.isCompareMode,windowSize:t}))},onSelectionChanged:s=>{const c=_t(e.allTimeframeTicks,s.fromEnd);e.analytics?.trackDateRangeFilterChange(L(e.selectedReport),"range filter",e.isCompareMode,q(i.firstMonthOfFY,e.selectedTimeframe,c.thisPeriod)),e.onCOABalancesRangeChanged?.(c)}})}),r.jsx(Rt,{windowSize:t,children:r.jsx(at,{reportIds:["profit_and_loss","balance_sheet","cash_flow","profit_and_loss_by_classes"],selectedReport:e.selectedReport,onReportSelectionChanged:s=>{e.analytics?.trackPageLoaded(St(s)),s==="profit_and_loss"&&e.profitAndLossClassesViewReport?.uiState.accountViewMode==="classes"?e.onReportSelectionChanged?.("profit_and_loss_by_classes"):e.onReportSelectionChanged?.(s)}})}),n.fetchState==="Not-Started"||n.fetchState==="In-Progress"?r.jsx(pe,{style:{boxShadow:"none",backgroundColor:"inherit"},isLoading:f}):r.jsxs(r.Fragment,{children:[r.jsx(ue,{report:b(e),displayOrder:e.displayOrder,reportFormat:e.reportFormat,analytics:e.analytics,onAdditionalBalanceSelectionChanged:p,onAccountBalanceClick:e.onAccountBalanceClick,onElementCollapseStateChanged:e.onElementCollapseStateChanged,onTableScroll:e.onTableScroll,isCompareModeOn:e.isCompareMode,isZeniUser:e.isZeniUser,isPageFetchInProgress:g}),ve(e.selectedReport)?r.jsx(ut,{windowSize:t,children:r.jsx(Ie,{reportId:e.selectedReport,firstMonthOfFY:e.profitAndLossClassesViewReport.firstMonthOfFY,nodes:e.profitAndLossClassesViewReport?.classHierarchy,classesListFetchState:e.profitAndLossClassesViewReport?.fetchState,selectedView:e.profitAndLossClassesViewReport?.uiState.accountViewMode,showClassAccountNumber:e.isZeniUser,showAccountGroups:e.showAccountGroups,onSaveClick:l,classesToBeFilteredOut:e.profitAndLossClassesViewReport?.classesToFilterOut,onOpenAccountViewMode:e.onOpenAccountViewMode,onResyncReports:e.onResyncReports,isPageFetchInProgress:g,lastRefreshSuccessTime:e.profitAndLossClassesViewReport?.status?.lastRefreshSuccessTime})}):null]})]})}const Q=(e,t)=>{if(t.orderBy!=="ascending_date")throw new Error("Invalid ordering of dates!!");let o=e.length-1;return t.thisPeriod!=null&&(o=e.findIndex(a=>a.startDate.isSame(t.thisPeriod.startDate,"date")&&a.endDate.isSameOrBefore(t.thisPeriod.endDate))),{startIndex:Math.max(o+1-t.numberOfPeriods,0),length:t.numberOfPeriods}},_t=(e,t)=>{const o=e.length-1-t.offsetFromEnd;return{thisPeriod:e[o],numberOfPeriods:t.length,orderBy:"ascending_date"}};function bt(e){let t=e.selectedCOABalancesRange.thisPeriod;if(t==null){const p=e.displayOrder,l=e.profitAndLossReport.sections.expenses!=null&&e.profitAndLossReport.sections.expenses.balances.length>0?e.profitAndLossReport.sections.expenses:e.profitAndLossReport.sections.income;if(l!=null&&l.balances.length>0){const i=p==="ascending_date"?l.balances.length-1:0;t=l.balances[i]}}const o=b(e).firstMonthOfFY,a=b(e).bookCloseDate,n=b(e).dataAvailable,d=b(e).filter.additionalBalances;if(t!=null)return{localeId:y.getAppLocaleID(),showNegativeAmountInParenthesis:!0,filterAccountsWithNilBalances:"filter_actual_nil_balances",filterAccountGroupsWithNilBalances:"filter_actual_forecast_empty_account_group_balances",includeCoverPage:!0,companyName:e.currentTenantCompanyName,statementFileType:"pdf",statements:e.profitAndLossClassesViewReport.uiState.accountViewMode==="account_group"?["profit_and_loss","balance_sheet","cash_flow"]:["profit_and_loss_by_classes","balance_sheet","cash_flow"],firstMonthOfFY:o,bookCloseDate:a,dataAvailable:n,timeframe:e.selectedTimeframe,additionalBalances:d,format:e.reportFormat,balancesFilter:{thisPeriod:t,numberOfPeriods:e.selectedCOABalancesRange.numberOfPeriods,orderBy:e.displayOrder},accountViewMode:e.profitAndLossClassesViewReport.uiState.accountViewMode,nestedClassHierarchy:e.profitAndLossClassesViewReport?.classHierarchy,classesToFilterOut:e.profitAndLossClassesViewReport.classesToFilterOut,showClassAccountNumber:e.isZeniUser,isZeniCOAUsed:e.isZeniCOAUsed}}const L=e=>{switch(e){case"profit_and_loss":case"profit_and_loss_by_classes":return"Profit & Loss";case"balance_sheet":return"Balance Sheet";case"cash_flow":return"Cash Flow";default:return"Reports"}},St=e=>{switch(e){case"profit_and_loss":case"profit_and_loss_by_classes":return A.Event.profitAndLoss;case"cash_flow":return A.Event.cashFlow;case"balance_sheet":return A.Event.balanceSheet;default:return A.Event.reports}},ue=K.memo(Qe,(e,t)=>wt(e,t,["report","analytics","isCompareModeOn","isZeniUser","isPageFetchInProgress"]));ue.displayName="Reports table";const wt=(e,t,o)=>o.reduce((a,n)=>a===!0&&X(e[`${n}`],t[`${n}`]),!0),yt=_.div`
|
|
101
|
+
`,pe=({style:e,isLoading:t})=>t?r.jsx(pt,{style:e,children:r.jsx(ye,{size:"ExtraLarge",start:!0})}):null,b=e=>{switch(e.selectedReport){case"cash_flow":return e.cashFlowReport;case"balance_sheet":return e.balanceSheetReport;case"profit_and_loss_by_classes":return e.profitAndLossClassesViewReport;case"profit_and_loss":default:return e.profitAndLossReport}},U=({selectedReport:e,isCompareModeOn:t,windowSize:o})=>{const a=e.availableNumberOfPeriods;let n=rt.selectedNumberOfPeriods(t,o);return a!=null&&(n=Math.min(n,a)),n};function Jt(e){const t=W(),o=G(),{onUpdateAccountViewMode:a,onUpdateClassesToFilterOut:n,onAdditionalBalanceSelectionChanged:d,onTimeframeSelectionChanged:p,isCompareMode:l,selectedReportAndTimeframeFetchState:i,onClickMenuIcon:u}=e,g=(O,R)=>{O!==h?.accountViewMode&&a?.(O),R&&n?.(R)};T.useEffect(()=>{if(e.fetchState==="Completed"){const O=b(e).filter.additionalBalances;e.onUpdateHighlightedNumberOfPeriods?.(O,e.isCompareMode,U({selectedReport:b(e),isCompareModeOn:e.isCompareMode,windowSize:t}),e.balancesInTimeframe)}},[t,e.fetchState]);const h=bt(e),s=y.getLocalizedStrings().reports.common,c=ge(),C=c!=null&&Z(c.loggedInUserRole)?"detailed":"more_detailed",x=c!=null&&Z(c.loggedInUserRole)?["more_detailed"]:[];e.showAccountGroups===!1&&h?.accountViewMode==="account_group"&&x.push("detailed");const[j,v]=K.useState(x.includes("more_detailed")?"detailed":"more_detailed"),V={selectedFormat:j,disabledFormatForRole:x,roleBasedClassesSelectedFormat:C,setSelectedFormat:v};if(i.fetchState==="Error"||e.fetchState==="Error")return r.jsxs(ht,{"data-testid":P("report-page-error-reload-page"),children:[r.jsx(ft,{"data-testid":P("report-page-error-reload-icon"),onClick:e.onReloadReport,children:r.jsx(_e,{})}),r.jsx(mt,{children:s.failed})]});const M=e.fetchState;if(i.fetchState!=="Completed"&&(M==="In-Progress"||M==="Not-Started"))return r.jsx(pe,{isLoading:!0});{const O=r.jsx(be,{downloadReportOptions:{type:"detailed_menu",downloadMenu:{detailedMenu:h!=null&&e.dataAvailable!=null?r.jsx(Ee,{defaultOptions:h,analytics:e.analytics,referrer:L(e.selectedReport),dataAvailable:e.dataAvailable,downloadState:e.downloadState,statementEndPoint:e.statementEndPoint,authParams:e.authParams,currentTenantCompanyName:e.currentTenantCompanyName,classesFetchState:e.profitAndLossClassesViewReport.fetchState,showAccountGroups:e.showAccountGroups,reportFormatProps:V,updateDownloadStateHandler:e.updateDownloadStateHandler,onUpdateDisplayOrder:e.onUpdateDisplayOrder,onUpdateReportFormat:e.onUpdateReportFormat,onClose:()=>null,onOpenAccountViewMode:e.onOpenAccountViewMode,onSaveClickHandler:g,onThisPeriodChanged:e.onThisPeriodChanged,onAdditionalBalanceSelectionChanged:(R,k,I)=>{d(l,R,k,I)},onTimeframeSelectionChanged:(R,k,I)=>{p?.(R,k,I)}}):r.jsx(r.Fragment,{})}}});return r.jsxs(lt,{children:[r.jsx(Se,{title:y.getLocalizedStrings().reports.title,backgroundColor:o.colors.grey4,onBackClick:e.onBackClick,showMenuIcon:t==="medium-compact"||t==="small",onClickMenuIcon:u,rightSideComponent:O,downloadPresent:!0,source:"ReportsPage",hideSearchBtn:!0}),r.jsx(gt,{...e})]})}}function gt(e){const t=W(),o=G(),a=T.useRef(null),{selectedReportAndTimeframeFetchState:n}=e,d=["month","quarter","year"],p=(s,c)=>{e.analytics?.trackCompareFilterChange(s==="this_period_vs_last_period_percent"?"percentage":"amount",L(e.selectedReport),z(e.selectedTimeframe),c);const C=Array.from(new Set(s==="this_period_vs_last_period_percent"?[...b(e).filter.additionalBalances,"this_period_vs_last_period_percent"].filter(x=>x!=="this_period_vs_last_period"):[...b(e).filter.additionalBalances,"this_period_vs_last_period"].filter(x=>x!=="this_period_vs_last_period_percent")));e.onAdditionalBalanceSelectionChanged?.(e.isCompareMode,C,U({selectedReport:b(e),isCompareModeOn:e.isCompareMode,windowSize:t}))},l=(s,c)=>{s!==e.profitAndLossClassesViewReport?.uiState.accountViewMode&&e.onUpdateAccountViewMode?.(s),c&&e.onUpdateClassesToFilterOut?.(c)},i=b(e),u=a.current?.clientWidth??N.tickSkelectionContainerWidth.value(t),g=Be([e.reportsResyncFetchState,e.profitAndLossClassesViewReport]).fetchState==="In-Progress"&&e.profitAndLossClassesViewReport.uiState.accountViewMode==="classes",h=n.fetchState==="In-Progress";return r.jsxs(dt,{windowSize:t,"data-testid":P("reports-page-content-container"),children:[r.jsx(yt,{windowSize:t,ref:a,children:r.jsx(Me,{timeframe:{allowedTimeframes:d,selectedTimeframe:e.selectedTimeframe,onTimeframeSelectionChanged:s=>{e.analytics?.trackTimeframeSwitch(z(s),L(e.selectedReport)),e.onTimeframeSelectionChanged?.(s,!0)}},toggle:{label:y.getLocalizedStrings().compareSwitchLabel,isOn:e.isCompareMode,onValueChanged:s=>{e.analytics?.trackCompareMode(s,L(e.selectedReport),z(e.selectedTimeframe));const c=b(e).filter;e.onAdditionalBalanceSelectionChanged?.(s,c.additionalBalances,c.balancesRange.numberOfPeriods)}}})}),n.fetchState==="Not-Started"||n.fetchState==="In-Progress"?r.jsx(xt,{windowSize:t,children:r.jsx(Ot,{children:r.jsx(Ce,{width:u,height:se-S[2],backgroundColor:o.colors.grey3,style:{borderRadius:w.sp2}})})}):r.jsx(Ct,{windowSize:t,children:r.jsx(Fe,{firstMonthOfFY:i.firstMonthOfFY,timeframe:e.selectedTimeframe,timeframeTicks:e.allTimeframeTicks,selection:{selectedTicks:Q(e.allTimeframeTicks,e.selectedCOABalancesRange),highlightedOfSelectedTicks:Q(e.allTimeframeTicks,e.selectedCOABalancesRange)},onClick:(s,c)=>{e.analytics?.trackDateRangeFilterChange(L(e.selectedReport),"range filter",e.isCompareMode,q(i.firstMonthOfFY,e.selectedTimeframe,c)),e.onThisPeriodChanged?.(c,U({selectedReport:b(e),isCompareModeOn:e.isCompareMode,windowSize:t}))},onSelectionChanged:s=>{const c=_t(e.allTimeframeTicks,s.fromEnd);e.analytics?.trackDateRangeFilterChange(L(e.selectedReport),"range filter",e.isCompareMode,q(i.firstMonthOfFY,e.selectedTimeframe,c.thisPeriod)),e.onCOABalancesRangeChanged?.(c)}})}),r.jsx(Rt,{windowSize:t,children:r.jsx(at,{reportIds:["profit_and_loss","balance_sheet","cash_flow","profit_and_loss_by_classes"],selectedReport:e.selectedReport,onReportSelectionChanged:s=>{e.analytics?.trackPageLoaded(St(s)),s==="profit_and_loss"&&e.profitAndLossClassesViewReport?.uiState.accountViewMode==="classes"?e.onReportSelectionChanged?.("profit_and_loss_by_classes"):e.onReportSelectionChanged?.(s)}})}),n.fetchState==="Not-Started"||n.fetchState==="In-Progress"?r.jsx(pe,{style:{boxShadow:"none",backgroundColor:"inherit"},isLoading:h}):r.jsxs(r.Fragment,{children:[r.jsx(ue,{report:b(e),displayOrder:e.displayOrder,reportFormat:e.reportFormat,analytics:e.analytics,onAdditionalBalanceSelectionChanged:p,onAccountBalanceClick:e.onAccountBalanceClick,onElementCollapseStateChanged:e.onElementCollapseStateChanged,onTableScroll:e.onTableScroll,isCompareModeOn:e.isCompareMode,isZeniUser:e.isZeniUser,isPageFetchInProgress:g}),ve(e.selectedReport)?r.jsx(ut,{windowSize:t,children:r.jsx(Ie,{reportId:e.selectedReport,firstMonthOfFY:e.profitAndLossClassesViewReport.firstMonthOfFY,nodes:e.profitAndLossClassesViewReport?.classHierarchy,classesListFetchState:e.profitAndLossClassesViewReport?.fetchState,selectedView:e.profitAndLossClassesViewReport?.uiState.accountViewMode,showClassAccountNumber:e.isZeniUser,showAccountGroups:e.showAccountGroups,onSaveClick:l,classesToBeFilteredOut:e.profitAndLossClassesViewReport?.classesToFilterOut,onOpenAccountViewMode:e.onOpenAccountViewMode,onResyncReports:e.onResyncReports,isPageFetchInProgress:g,lastRefreshSuccessTime:e.profitAndLossClassesViewReport?.status?.lastRefreshSuccessTime})}):null]})]})}const Q=(e,t)=>{if(t.orderBy!=="ascending_date")throw new Error("Invalid ordering of dates!!");let o=e.length-1;return t.thisPeriod!=null&&(o=e.findIndex(a=>a.startDate.isSame(t.thisPeriod.startDate,"date")&&a.endDate.isSameOrBefore(t.thisPeriod.endDate))),{startIndex:Math.max(o+1-t.numberOfPeriods,0),length:t.numberOfPeriods}},_t=(e,t)=>{const o=e.length-1-t.offsetFromEnd;return{thisPeriod:e[o],numberOfPeriods:t.length,orderBy:"ascending_date"}};function bt(e){let t=e.selectedCOABalancesRange.thisPeriod;if(t==null){const p=e.displayOrder,l=e.profitAndLossReport.sections.expenses!=null&&e.profitAndLossReport.sections.expenses.balances.length>0?e.profitAndLossReport.sections.expenses:e.profitAndLossReport.sections.income;if(l!=null&&l.balances.length>0){const i=p==="ascending_date"?l.balances.length-1:0;t=l.balances[i]}}const o=b(e).firstMonthOfFY,a=b(e).bookCloseDate,n=b(e).dataAvailable,d=b(e).filter.additionalBalances;if(t!=null)return{localeId:y.getAppLocaleID(),showNegativeAmountInParenthesis:!0,filterAccountsWithNilBalances:"filter_actual_nil_balances",filterAccountGroupsWithNilBalances:"filter_actual_forecast_empty_account_group_balances",includeCoverPage:!0,companyName:e.currentTenantCompanyName,statementFileType:"pdf",statements:e.profitAndLossClassesViewReport.uiState.accountViewMode==="account_group"?["profit_and_loss","balance_sheet","cash_flow"]:["profit_and_loss_by_classes","balance_sheet","cash_flow"],firstMonthOfFY:o,bookCloseDate:a,dataAvailable:n,timeframe:e.selectedTimeframe,additionalBalances:d,format:e.reportFormat,balancesFilter:{thisPeriod:t,numberOfPeriods:e.selectedCOABalancesRange.numberOfPeriods,orderBy:e.displayOrder},accountViewMode:e.profitAndLossClassesViewReport.uiState.accountViewMode,nestedClassHierarchy:e.profitAndLossClassesViewReport?.classHierarchy,classesToFilterOut:e.profitAndLossClassesViewReport.classesToFilterOut,showClassAccountNumber:e.isZeniUser,isZeniCOAUsed:e.isZeniCOAUsed}}const L=e=>{switch(e){case"profit_and_loss":case"profit_and_loss_by_classes":return"Profit & Loss";case"balance_sheet":return"Balance Sheet";case"cash_flow":return"Cash Flow";default:return"Reports"}},St=e=>{switch(e){case"profit_and_loss":case"profit_and_loss_by_classes":return A.Event.profitAndLoss;case"cash_flow":return A.Event.cashFlow;case"balance_sheet":return A.Event.balanceSheet;default:return A.Event.reports}},ue=K.memo(Qe,(e,t)=>wt(e,t,["report","analytics","isCompareModeOn","isZeniUser","isPageFetchInProgress"]));ue.displayName="Reports table";const wt=(e,t,o)=>o.reduce((a,n)=>a===!0&&X(e[`${n}`],t[`${n}`]),!0),yt=_.div`
|
|
102
102
|
padding-right: ${e=>N.contentRightPadding.valuePx(e.windowSize)};
|
|
103
103
|
`,Ct=_.div`
|
|
104
104
|
margin-top: ${w.sp3};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{d as A,V as a,F as D,q as de,b2 as Q,c as I,b as M,aW as J,o as m,aN as Ae,p as g,aB as Ve,y as xe,bK as ge,al as R,bL as V,b9 as F}from"./index-
|
|
1
|
+
import{d as A,V as a,F as D,q as de,b2 as Q,c as I,b as M,aW as J,o as m,aN as Ae,p as g,aB as Ve,y as xe,bK as ge,al as R,bL as V,b9 as F}from"./index-B6Om0Agf.js";import{a as P,S as ee}from"./sentry-yju9hmuU.js";import{n as x}from"./mui-C6XKQL2c.js";import{p as b,d as ae,y as W,b as N,g as re,u as T}from"./chartTypes-YlZX4WLs-BVobq2KO.js";import{i as K,h as oe,c as G}from"./toCOABalancesWithID-BAw7mDDs-BHjR7Lz6.js";import{V as Z}from"./toChartData-CuSN9vUZ-eye27L_h.js";import{H as Te,I as te,X as le,Y as ne,J as se,L as pe,K as ce,M as me,N as fe}from"./recharts-CPZsikvb.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},r=new e.Error().stack;r&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[r]="02fd79da-b9a7-4664-905a-42df3b2f5b35",e._sentryDebugIdIdentifier="sentry-dbid-02fd79da-b9a7-4664-905a-42df3b2f5b35")}catch{}})();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,31 +1,31 @@
|
|
|
1
|
-
import{q as Tt,aw as Ct,y as u,f0 as Dt,f1 as It,f2 as Pt,V as t,f3 as kt,f4 as le,f5 as At,f6 as Mt,f7 as Bt,f8 as Ft,aL as A,f9 as Rt,aN as j,fa as Lt,fb as Me,fc as Be,fd as Fe,b as H,fe as O,p as S,ff as zt,fg as E,fh as Z,fi as Nt,fj as Ot,bR as Re,o as n,aP as Et,c as s,F as Zt,ag as _t,c0 as qt,R as Wt,M as Gt,fk as Vt,cg as Yt,al as se,am as ce,fl as Ht,fm as Kt,bh as Ut,l as Jt,b8 as Qt,fn as Xt,aq as et,bI as en,ai as tt,bs as tn,fo as nn}from"./index-D8PMCh18.js";import{a as q}from"./sentry-gJCFOenX.js";import{n as a}from"./mui-8c7TTPte.js";import{bo as Le,bm as ze,bH as I,bN as an,Fv as ln,bL as oe,bP as on}from"./zeni-epic-state-B6kYb9qr.js";import{t as rn,o as dn}from"./LowBalancePopup-DQJYforY-CYt371Eb.js";import{S as _}from"./LabeledText-C91Eu04E-CepIkWM4.js";import"./liveblocks-CYMGg0Jd.js";import"./core-eaZ5MkII.js";import"./recharts-DLR05d4e.js";import"./lottie-wSb1JmVE.js";import"./analytics-zyQYZvSc.js";import"./lexical-DZqbjlo3.js";import"./utils-BoH8rMdz.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},y=new e.Error().stack;y&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[y]="4b6911bf-691c-4658-a5b1-a43faf8add6e",e._sentryDebugIdIdentifier="sentry-dbid-4b6911bf-691c-4658-a5b1-a43faf8add6e")}catch{}})();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,s[2],s[2]),footerButtonWidth:new u(120,165),iconContainerMarginTop:new u(6,s[1]),navBarContainerPaddingTop:new u(10,s[3]),sectionTitleMarginLeft:new u(s[3],s[0]),reviewContainerMarginLeft:new u(s[3],s[6]),reviewContainerMarginRight:new u(s[3],s[8]),footerRightIconMarginRight:new u(s[0],s[0],s[7]),infoLabelPaddingRight:new u(s[0],s[3]),infoLabelMarginTop:new u(s[1],s[0])},sn={sectionTitle:new Wt("h6Medium","h5Medium")},{dateFormat:Ne,common:{currency:v,labels:Oe,edit:cn,strings:{empty:h}},spendManagement:{billPay:mn}}=Zt.getLocalizedStrings(),{billDetails:i,paymentDetails:Ee}=mn,Ze=({attachment:e})=>{const[y,f]=q.useState(!1),M=()=>{f(!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?f(!0):null,children:[y&&e?.fileDownloadUrl!=null?t.jsx(Ht,{title:e.fileName,file:e,onCrossClick:()=>M(),setShowFullScreenView:f}):null,t.jsx(En,{children:t.jsx(Kt,{contentType:e.contentType})})]})},sa=({billDetails:e,billpayApprovalView:y,isBillPayCommentingEnabled:f,currentTenant:M,isInternationalPaymentShaVsOurEnabled:T,isLocalCurrencyEnabled:at,style:it,analytics:w,isRecurringBillsFeatureEnabled:lt,isApprovalRequiredForMarkAsPaid:ot,isDetectInsufficientFundsEnabled:rt,billId:x,onClickEdit:me,discardBillDetailsFromLocalStore:pe,saveBillDetails:ue,discardOutsideZeniPaymentData:dt,updateBillDetailSaveBillCode:ye,redirectToBillsScreen:he,onAttachmentClick:Q,retryPayment:st})=>{const d=Tt(),c=Ct(),B={application:"dashboard",companyId:c.currentTenant?.companyId,tab:"bill",entityId:x},F=f&&x!=null,R=`dashboard_${c.currentTenant?.companyId}`,L=m.largeLabelWidth.value(d),z=e.saveStatus,X=e.zeniAssistRetryStatus,ee=e.vendor?.vendorCurrencyCode,o=Dt(T,at,e.billPayConfigList.filter(l=>l.method.includes(e.paymentDetailsSection?.withdrawFrom?.accType??"depositAccount")),e.paymentDetailsSection?.internationalTransferFeeBearerPaymentMethod,e.paymentDetailsSection?.paymentType,ee),C=Ne.visual.MMMDCommaYYYYformat,fe={amount:e.recipientTotalAmount.amount/(e.paymentDetailsSection?.conversionRate??1)*100/100,currencyCode:v.currencyCode,currencySymbol:v.currencySymbol},p={amount:o?.method.includes("international")===!0?It(fe,o):e.recipientTotalAmount.amount+(o?.fee.amount??0),currencyCode:v.currencyCode,currencySymbol:v.currencySymbol},N={amount:o?.method.includes("international")===!0?Pt(fe,o):o?.fee.amount??0,currencyCode:v.currencyCode,currencySymbol:v.currencySymbol},[ct,ge]=q.useState(!1),[mt,xe]=q.useState(!1),be=()=>ge(!1),pt=()=>{w.trackBillPayMagicLinkPreviewEmail("review_bill"),ge(!0)},ut=e.isCollectToAccountInfoFromVendorContact?t.jsxs(t.Fragment,{children:[`${i.magicLink.collectFrom} ${e.toAccountVendorEmail}`,t.jsx(Ln,{size:d,children:t.jsx(Rn,{})})]}):kt(e.paymentDetailsSection?.paymentTo);q.useEffect(()=>{(z?.fetchState==="Completed"||X?.fetchState==="Completed")&&(pe(),ye(),he())},[z,X,he,pe,ye]);const $=e.billPayInfo?.stage,P=e.billPayInfo?.billStatus,W=e.billPayInfo?.billPaymentStatus,yt=e.billPayInfo?.billPaymentRefundStatus,te=$?.code==="paid"?$:P?.code=="approved"&&W?.code?W:P,ht=e.billPayInfo?.isRefundInitiated===!0?yt:P?.code=="approved"&&W?.code?W:P,ne=()=>{me()},we=()=>{me()},G=e.paymentDetailsSection?.paymentDate,ae=le(o?.method??""),$e=ae.replace("Same Day",""),ft=e.isCollectToAccountInfoFromVendorContact?t.jsx(At,{paymentTypeLabel:$e,onClick:pt}):i.addedByZeni,V=y.allApprovalRules.length>0,gt=Le(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),g=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=()=>{dt(),xe(!1)},k=g&&($?.code!=null?$.code==="draft"||P?.code==="approved":!0),b=k&&!ot,je=_e(b,V,e.isBillMarkedForRetry),wt=()=>g?b?void 0:i.paymentOutsideZeni.reviewInfo:o?.method!=null&&o.method.includes(I)&&e.paymentDetailsSection?.internationalTransferFeeBearerPaymentMethod!=null&&T&&ee===v.currencyCode?Xt(e.paymentDetailsSection.internationalTransferFeeBearerPaymentMethod):void 0,ie=rt&&e.paymentDetailsSection!=null?Mt(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(x??"new_bill"),o?.method!=null&&l!=null){const St=g?i.paymentOutsideZeni.offline:le(o.method);if(w.trackBillPaySendForApproval(St,l.format(Ne.analytics.MMMDashDDDashYYYYFormat),r,e.isRecurring,x,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}),ie!=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===i.scheduleBill?w.trackLowBalanceAccountSchedule(Ce,De,Ie,Pe,ke,Ae):je===i.sendForApproval&&w.trackLowBalanceAccountSentForApproval(Ce,De,Ie,Pe,ke,Ae)}}},Se=()=>{Te===!0&&Y(!1),e.isBillMarkedForRetry===!0?(st(),w.trackRetryConfirmClick(te?.code??"",$?.code??"",ht?.description??"",e.isRecurring?["Recurring"]:["One-Time"],e.invoiceNumber??"")):e.vendor!=null&&($t(),ue(!1,{}))},vt=ln(p.amount,y.allApprovalRules,c.loggedInUser),[Te,Y]=q.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(dn,{withdrawFrom:e.paymentDetailsSection?.withdrawFrom,paymentDate:e.paymentDetailsSection?.paymentDate,onOkClick:Se,onCancelClick:()=>{Y(!1),ne()},onClickAway:()=>{Y(!1)}}):null,t.jsx(Bt,{anchor:"right",open:ct,onClose:be,transitionDuration:250,"data-testid":j("vendor-email-preview-drawer"),children:t.jsx(Ft,{companyName:Rt(M.company?.companyInfo),vendor:e.vendor?.name,paymentDate:G?.format(C)??"",paymentType:$e,amount:A("0,0[.]00",p),isInvoiceAttached:!!e.file,onClose:be})}),t.jsxs(vn,{windowSize:d,style:it,children:[d==="small"?t.jsxs(Fn,{windowSize:d,children:[t.jsx(Ke,{onClick:we,"data-testid":j("review-detail-nav-bar-small-back")}),t.jsx(Ge,{windowSize:d,children:i.oneLastLook})]}):t.jsx(Bn,{"data-testid":j("review-details-nav-bar-back"),children:t.jsx(Ke,{onClick:we})}),d!=="small"?t.jsx(Sn,{children:t.jsx(Ge,{windowSize:d,children:i.oneLastLook})}):null,e.duplicateBillTransactions.length>0?t.jsxs(Tn,{children:[t.jsxs(Cn,{children:[t.jsx(Vn,{}),t.jsxs(Dn,{children:[t.jsx(Pn,{children:i.duplicateBillPayWarning}),t.jsxs(In,{children:[i.duplicateBillPayWarningSubHeading,t.jsxs("span",{"data-testid":j("review-detail-attachment-button"),onClick:()=>Q(e.duplicateBillTransactions[0].id,e.duplicateBillTransactions[0].billPayInfo.stage.code),style:{textDecoration:"underline",cursor:"pointer"},children:[i.viewBill,e.duplicateBillTransactions[0].documentId]})]})]})]}),t.jsxs(qn,{children:[t.jsx(Gn,{children:i.duplicateInvoiceFound}),e.duplicateBillTransactions.map(l=>{const r=Lt(l);return l!=null?t.jsx(Wn,{children:nt.includes(d)?t.jsxs(Ve,{windowSize:d,children:[t.jsxs(kn,{children:[t.jsxs(An,{children:[l.attachments&&l.attachments.length>0?t.jsx(Ze,{attachment:l.attachments[0]}):t.jsx(Ue,{children:t.jsx(Je,{})}),t.jsx(U,{children:t.jsxs(t.Fragment,{children:[l.documentId!=null?i.invoiceNo:null,l.documentId]})})]}),t.jsx(Qe,{windowSize:d,children:A("0,0[.]00",l.recipientTotalAmount)})]}),t.jsxs(Zn,{"data-testid":j("review-detail-mobile-info"),onClick:()=>Q(l.id,l.billPayInfo.stage.code),children:[t.jsxs(U,{children:[l.dueDate!=null?i.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(J,{color:r.color,bgColor:r.bgColor,borderColor:r.borderColor,children:r.value})}):t.jsx(J,{color:r.color,bgColor:r.bgColor,borderColor:r.borderColor,children:r.value}):null})]})]}):t.jsxs(Ve,{windowSize:d,children:[l.attachments&&l.attachments.length>0?t.jsx(Ze,{attachment:l.attachments[0]}):t.jsx(Ue,{children:t.jsx(Je,{})}),t.jsxs(_n,{"data-testid":j("review-detail-info"),onClick:()=>Q(l.id,l.billPayInfo.stage.code),children:[t.jsx(U,{style:{width:"50%"},children:t.jsxs("div",{children:[l.documentId!=null?i.invoiceNo:null," ",l.documentId]})}),t.jsxs(U,{style:{width:"25%"},children:[l.dueDate!=null?i.due:null," ",l.dueDate?.format(C)]}),t.jsx(Qe,{style:{width:"25%"},windowSize:d,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(J,{color:r.color,bgColor:r.bgColor,borderColor:r.borderColor,children:r.value})}):t.jsx(J,{color:r.color,bgColor:r.bgColor,borderColor:r.borderColor,children:r.value}):null})]})},l.id):null})]})]}):null,t.jsxs(Mn,{children:[t.jsx(Ye,{children:i.pay}),t.jsx(He,{children:t.jsx(Fe,{amount:gt,integerStyles:H.largeMedium.cssObject,decimalStyles:H.smallMedium.cssObject})}),t.jsx(Ye,{children:i.to}),t.jsx(He,{children:e.vendor?.name})]}),t.jsxs(jn,{children:[g?null:t.jsxs(t.Fragment,{children:[t.jsx(O,{isThreadAllowed:F,entityId:x,dashboardTabKey:Z({type:"details",key:"withdrawFrom"}),roomId:R,companyId:c.currentTenant?.companyId??h,companyName:c.currentTenant?.companyName??h,dashboardOptionType:"bill",filterMetaData:{...B,entityType:`bill.details.${E("withdrawFrom")}`},children:t.jsx(_,{label:{label:i.withdrawFrom,width:L},style:{width:"auto"},value:e.paymentDetailsSection?.withdrawFrom!=null?zt(e.paymentDetailsSection.withdrawFrom,d):h,infoLabelStyle:{textAlign:d==="small"?"left":"right",paddingRight:m.infoLabelPaddingRight.valuePx(d),marginTop:m.infoLabelMarginTop.valuePx(d),color:S.brandColorGoldDark},additionalInfoLabel:ie})}),t.jsx(K,{})]}),t.jsx(O,{isThreadAllowed:F,entityId:x,dashboardTabKey:Z({type:"details",key:"paymentType"}),roomId:R,companyId:c.currentTenant?.companyId??h,companyName:c.currentTenant?.companyName??h,dashboardOptionType:"bill",filterMetaData:{...B,entityType:`bill.details.${E("paymentType")}`},children:t.jsx(_,{label:{label:i.paymentMethod,width:L},style:{width:"auto"},value:le(o?.method??""),additionalInfoLabel:wt()})}),t.jsx(K,{}),!g&&G!=null?t.jsxs(t.Fragment,{children:[t.jsx(O,{isThreadAllowed:F,entityId:x,dashboardTabKey:Z({type:"details",key:"paymentDate"}),roomId:R,companyId:c.currentTenant?.companyId??h,companyName:c.currentTenant?.companyName??h,dashboardOptionType:"bill",filterMetaData:{...B,entityType:`bill.details.${E("paymentDate")}`},children:t.jsx(_,{label:{label:i.paymentDate,width:L},style:{width:"auto"},value:G.format(C),additionalInfoLabel:`${i.estimatedArrival}${oe(on(G.toDate(),[0,6],o?.maxPeriod.value??0).toDateString()).format(C)} - (${ae.length>0?`${ae} `:""}${i.deliveryTimeLabel} = ${o?.maxPeriod.value??"0"} ${i.deliveryTimeUnits})`})}),t.jsx(K,{})]}):null,g?null:t.jsx(O,{isThreadAllowed:F,entityId:x,dashboardTabKey:Z({type:"details",key:"paymentTo"}),roomId:R,companyId:c.currentTenant?.companyId??h,companyName:c.currentTenant?.companyName??h,dashboardOptionType:"bill",filterMetaData:{...B,entityType:`bill.details.${E("paymentTo")}`},children:t.jsx(_,{label:{label:i.paymentTo,width:L},style:{width:"auto"},value:ut??"",additionalInfoLabel:ft})}),g||lt?t.jsxs(t.Fragment,{children:[t.jsx(K,{}),t.jsx(O,{isThreadAllowed:F,entityId:x,dashboardTabKey:Z({type:"details",key:"recurringPaymentType"}),roomId:R,companyId:c.currentTenant?.companyId??h,companyName:c.currentTenant?.companyName??h,dashboardOptionType:"bill",filterMetaData:{...B,entityType:`bill.details.${E("recurringPaymentType")}`},children:t.jsx(_,{label:{label:i.paymentType,width:L},style:{width:"auto"},value:Ot(e.isRecurring,g,e.recurringBillInstance??1,e.recurringConfig?.totalPaymentCycles??0),additionalInfoLabel:Nt(d,e.isRecurring,g,e.recurringConfig)})})]}):null]}),!g&&o?.method!=null&&(o.method.includes(I)||o?.fee.amount!=null&&o.fee.amount!==0)?t.jsx(gn,{children:t.jsxs(xn,{windowSize:d,children:[t.jsxs(bn,{children:[t.jsx(yn,{children:i.total}),t.jsx(Re,{style:{padding:`12px ${n.sp3}`,lineHeight:"18px"},maxWidth:"312px",title:t.jsxs(fn,{children:[t.jsxs(We,{children:[t.jsx(de,{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(We,{children:[t.jsx(de,{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(de,{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:Le(p.amount,p.currencyCode,p.currencySymbol),integerStyles:H.h6Medium.cssObject,decimalStyles:H.standardMedium.cssObject})})]})}):null]}),t.jsx(Et,{cancelBtn:{label:k&&!b?i.paymentOutsideZeni.markAsPaid:i.editBill,onClick:k&&!b?ve:ne,style:{width:qe(!1,k,b,V,d)}},primaryBtn:{label:_e(b,V,e.isBillMarkedForRetry),isLoading:z?.fetchState==="In-Progress"||X?.fetchState==="In-Progress",onClick:b?ve:()=>{vt&&ie!=null?Y(!0):Se()},style:{width:qe(!0,k,b,V,d)}},rightSideComponent:k&&!b&&z.fetchState!=="In-Progress"?t.jsx(Yn,{windowSize:d,children:t.jsx(Re,{style:{color:S.heroDark,padding:`2px ${n.sp2}`},display:"flex",title:cn,placement:"top",children:t.jsx(Kn,{onClick:ne,"data-testid":j("review-detail-edit-bill-button"),children:t.jsx(Hn,{})})})}):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:[i.internationalText1,t.jsx(Nn,{href:"https://www.nium.com/legal/end-customer-terms",target:"_Blank",rel:"noopener noreferrer",children:i.internationalTerms}),i.internationalText2]}):null})]})},_e=(e,y,f)=>e?i.paymentOutsideZeni.markAsPaid:f===!0?i.retryPayment:y?i.sendForApproval:i.scheduleBill,qe=(e,y,f,M,T)=>f?128:y&&!e&&T==="small"?"auto":M?165:m.footerButtonWidth.value(T),pn=a(en)`
|
|
1
|
+
import{q as Tt,aw as Ct,y as u,f0 as Dt,f1 as It,f2 as Pt,V as t,f3 as kt,f4 as le,f5 as At,f6 as Mt,f7 as Bt,f8 as Ft,aL as A,f9 as Rt,aN as j,fa as Lt,fb as Me,fc as Be,fd as Fe,b as H,fe as O,p as S,ff as zt,fg as E,fh as Z,fi as Nt,fj as Ot,bR as Re,o as n,aP as Et,c as s,F as Zt,ag as _t,c0 as qt,R as Wt,M as Gt,fk as Vt,cg as Yt,al as se,am as ce,fl as Ht,fm as Kt,bh as Ut,l as Jt,b8 as Qt,fn as Xt,aq as et,bI as en,ai as tt,bs as tn,fo as nn}from"./index-B6Om0Agf.js";import{a as q}from"./sentry-yju9hmuU.js";import{n as i}from"./mui-C6XKQL2c.js";import{bo as Le,bm as ze,bH as I,bN as an,Fv as ln,bL as oe,bP as on}from"./zeni-epic-state-ag00jsAo.js";import{t as rn,o as dn}from"./LowBalancePopup-BN2RBNOV-hy8CG739.js";import{S as _}from"./LabeledText-BHQeQs6Z-DhDpA6wq.js";import"./liveblocks-DWNROPS5.js";import"./core-BPFYe8Fp.js";import"./recharts-CPZsikvb.js";import"./lottie-DQjCP4UK.js";import"./analytics-COhRzxPT.js";import"./lexical-acVZWmws.js";import"./utils-B5xU1y4i.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},y=new e.Error().stack;y&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[y]="acc12226-69f7-4679-8ee9-1b1808d86e0b",e._sentryDebugIdIdentifier="sentry-dbid-acc12226-69f7-4679-8ee9-1b1808d86e0b")}catch{}})();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,s[2],s[2]),footerButtonWidth:new u(120,165),iconContainerMarginTop:new u(6,s[1]),navBarContainerPaddingTop:new u(10,s[3]),sectionTitleMarginLeft:new u(s[3],s[0]),reviewContainerMarginLeft:new u(s[3],s[6]),reviewContainerMarginRight:new u(s[3],s[8]),footerRightIconMarginRight:new u(s[0],s[0],s[7]),infoLabelPaddingRight:new u(s[0],s[3]),infoLabelMarginTop:new u(s[1],s[0])},sn={sectionTitle:new Wt("h6Medium","h5Medium")},{dateFormat:Ne,common:{currency:v,labels:Oe,edit:cn,strings:{empty:h}},spendManagement:{billPay:mn}}=Zt.getLocalizedStrings(),{billDetails:a,paymentDetails:Ee}=mn,Ze=({attachment:e})=>{const[y,g]=q.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:[y&&e?.fileDownloadUrl!=null?t.jsx(Ht,{title:e.fileName,file:e,onCrossClick:()=>M(),setShowFullScreenView:g}):null,t.jsx(En,{children:t.jsx(Kt,{contentType:e.contentType})})]})},si=({billDetails:e,billpayApprovalView:y,isBillPayCommentingEnabled:g,currentTenant:M,isInternationalPaymentShaVsOurEnabled:T,isLocalCurrencyEnabled:it,style:at,analytics:w,isRecurringBillsFeatureEnabled:lt,isApprovalRequiredForMarkAsPaid:ot,isDetectInsufficientFundsEnabled:rt,billId:x,onClickEdit:me,discardBillDetailsFromLocalStore:pe,saveBillDetails:ue,discardOutsideZeniPaymentData:dt,updateBillDetailSaveBillCode:ye,redirectToBillsScreen:he,onAttachmentClick:Q,retryPayment:st})=>{const d=Tt(),c=Ct(),B={application:"dashboard",companyId:c.currentTenant?.companyId,tab:"bill",entityId:x},F=g&&x!=null,R=`dashboard_${c.currentTenant?.companyId}`,L=m.largeLabelWidth.value(d),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?It(ge,o):e.recipientTotalAmount.amount+(o?.fee.amount??0),currencyCode:v.currencyCode,currencySymbol:v.currencySymbol},N={amount:o?.method.includes("international")===!0?Pt(ge,o):o?.fee.amount??0,currencyCode:v.currencyCode,currencySymbol:v.currencySymbol},[ct,fe]=q.useState(!1),[mt,xe]=q.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(Ln,{size:d,children:t.jsx(Rn,{})})]}):kt(e.paymentDetailsSection?.paymentTo);q.useEffect(()=>{(z?.fetchState==="Completed"||X?.fetchState==="Completed")&&(pe(),ye(),he())},[z,X,he,pe,ye]);const $=e.billPayInfo?.stage,P=e.billPayInfo?.billStatus,W=e.billPayInfo?.billPaymentStatus,yt=e.billPayInfo?.billPaymentRefundStatus,te=$?.code==="paid"?$:P?.code=="approved"&&W?.code?W:P,ht=e.billPayInfo?.isRefundInitiated===!0?yt:P?.code=="approved"&&W?.code?W:P,ne=()=>{me()},we=()=>{me()},G=e.paymentDetailsSection?.paymentDate,ie=le(o?.method??""),$e=ie.replace("Same Day",""),gt=e.isCollectToAccountInfoFromVendorContact?t.jsx(At,{paymentTypeLabel:$e,onClick:pt}):a.addedByZeni,V=y.allApprovalRules.length>0,ft=Le(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),f=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=()=>{dt(),xe(!1)},k=f&&($?.code!=null?$.code==="draft"||P?.code==="approved":!0),b=k&&!ot,je=_e(b,V,e.isBillMarkedForRetry),wt=()=>f?b?void 0:a.paymentOutsideZeni.reviewInfo:o?.method!=null&&o.method.includes(I)&&e.paymentDetailsSection?.internationalTransferFeeBearerPaymentMethod!=null&&T&&ee===v.currencyCode?Xt(e.paymentDetailsSection.internationalTransferFeeBearerPaymentMethod):void 0,ae=rt&&e.paymentDetailsSection!=null?Mt(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(x??"new_bill"),o?.method!=null&&l!=null){const St=f?a.paymentOutsideZeni.offline:le(o.method);if(w.trackBillPaySendForApproval(St,l.format(Ne.analytics.MMMDashDDDashYYYYFormat),r,e.isRecurring,x,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&&Y(!1),e.isBillMarkedForRetry===!0?(st(),w.trackRetryConfirmClick(te?.code??"",$?.code??"",ht?.description??"",e.isRecurring?["Recurring"]:["One-Time"],e.invoiceNumber??"")):e.vendor!=null&&($t(),ue(!1,{}))},vt=ln(p.amount,y.allApprovalRules,c.loggedInUser),[Te,Y]=q.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(dn,{withdrawFrom:e.paymentDetailsSection?.withdrawFrom,paymentDate:e.paymentDetailsSection?.paymentDate,onOkClick:Se,onCancelClick:()=>{Y(!1),ne()},onClickAway:()=>{Y(!1)}}):null,t.jsx(Bt,{anchor:"right",open:ct,onClose:be,transitionDuration:250,"data-testid":j("vendor-email-preview-drawer"),children:t.jsx(Ft,{companyName:Rt(M.company?.companyInfo),vendor:e.vendor?.name,paymentDate:G?.format(C)??"",paymentType:$e,amount:A("0,0[.]00",p),isInvoiceAttached:!!e.file,onClose:be})}),t.jsxs(vn,{windowSize:d,style:at,children:[d==="small"?t.jsxs(Fn,{windowSize:d,children:[t.jsx(Ke,{onClick:we,"data-testid":j("review-detail-nav-bar-small-back")}),t.jsx(Ge,{windowSize:d,children:a.oneLastLook})]}):t.jsx(Bn,{"data-testid":j("review-details-nav-bar-back"),children:t.jsx(Ke,{onClick:we})}),d!=="small"?t.jsx(Sn,{children:t.jsx(Ge,{windowSize:d,children:a.oneLastLook})}):null,e.duplicateBillTransactions.length>0?t.jsxs(Tn,{children:[t.jsxs(Cn,{children:[t.jsx(Vn,{}),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:()=>Q(e.duplicateBillTransactions[0].id,e.duplicateBillTransactions[0].billPayInfo.stage.code),style:{textDecoration:"underline",cursor:"pointer"},children:[a.viewBill,e.duplicateBillTransactions[0].documentId]})]})]})]}),t.jsxs(qn,{children:[t.jsx(Gn,{children:a.duplicateInvoiceFound}),e.duplicateBillTransactions.map(l=>{const r=Lt(l);return l!=null?t.jsx(Wn,{children:nt.includes(d)?t.jsxs(Ve,{windowSize:d,children:[t.jsxs(kn,{children:[t.jsxs(An,{children:[l.attachments&&l.attachments.length>0?t.jsx(Ze,{attachment:l.attachments[0]}):t.jsx(Ue,{children:t.jsx(Je,{})}),t.jsx(U,{children:t.jsxs(t.Fragment,{children:[l.documentId!=null?a.invoiceNo:null,l.documentId]})})]}),t.jsx(Qe,{windowSize:d,children:A("0,0[.]00",l.recipientTotalAmount)})]}),t.jsxs(Zn,{"data-testid":j("review-detail-mobile-info"),onClick:()=>Q(l.id,l.billPayInfo.stage.code),children:[t.jsxs(U,{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(J,{color:r.color,bgColor:r.bgColor,borderColor:r.borderColor,children:r.value})}):t.jsx(J,{color:r.color,bgColor:r.bgColor,borderColor:r.borderColor,children:r.value}):null})]})]}):t.jsxs(Ve,{windowSize:d,children:[l.attachments&&l.attachments.length>0?t.jsx(Ze,{attachment:l.attachments[0]}):t.jsx(Ue,{children:t.jsx(Je,{})}),t.jsxs(_n,{"data-testid":j("review-detail-info"),onClick:()=>Q(l.id,l.billPayInfo.stage.code),children:[t.jsx(U,{style:{width:"50%"},children:t.jsxs("div",{children:[l.documentId!=null?a.invoiceNo:null," ",l.documentId]})}),t.jsxs(U,{style:{width:"25%"},children:[l.dueDate!=null?a.due:null," ",l.dueDate?.format(C)]}),t.jsx(Qe,{style:{width:"25%"},windowSize:d,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(J,{color:r.color,bgColor:r.bgColor,borderColor:r.borderColor,children:r.value})}):t.jsx(J,{color:r.color,bgColor:r.bgColor,borderColor:r.borderColor,children:r.value}):null})]})},l.id):null})]})]}):null,t.jsxs(Mn,{children:[t.jsx(Ye,{children:a.pay}),t.jsx(He,{children:t.jsx(Fe,{amount:ft,integerStyles:H.largeMedium.cssObject,decimalStyles:H.smallMedium.cssObject})}),t.jsx(Ye,{children:a.to}),t.jsx(He,{children:e.vendor?.name})]}),t.jsxs(jn,{children:[f?null:t.jsxs(t.Fragment,{children:[t.jsx(O,{isThreadAllowed:F,entityId:x,dashboardTabKey:Z({type:"details",key:"withdrawFrom"}),roomId:R,companyId:c.currentTenant?.companyId??h,companyName:c.currentTenant?.companyName??h,dashboardOptionType:"bill",filterMetaData:{...B,entityType:`bill.details.${E("withdrawFrom")}`},children:t.jsx(_,{label:{label:a.withdrawFrom,width:L},style:{width:"auto"},value:e.paymentDetailsSection?.withdrawFrom!=null?zt(e.paymentDetailsSection.withdrawFrom,d):h,infoLabelStyle:{textAlign:d==="small"?"left":"right",paddingRight:m.infoLabelPaddingRight.valuePx(d),marginTop:m.infoLabelMarginTop.valuePx(d),color:S.brandColorGoldDark},additionalInfoLabel:ae})}),t.jsx(K,{})]}),t.jsx(O,{isThreadAllowed:F,entityId:x,dashboardTabKey:Z({type:"details",key:"paymentType"}),roomId:R,companyId:c.currentTenant?.companyId??h,companyName:c.currentTenant?.companyName??h,dashboardOptionType:"bill",filterMetaData:{...B,entityType:`bill.details.${E("paymentType")}`},children:t.jsx(_,{label:{label:a.paymentMethod,width:L},style:{width:"auto"},value:le(o?.method??""),additionalInfoLabel:wt()})}),t.jsx(K,{}),!f&&G!=null?t.jsxs(t.Fragment,{children:[t.jsx(O,{isThreadAllowed:F,entityId:x,dashboardTabKey:Z({type:"details",key:"paymentDate"}),roomId:R,companyId:c.currentTenant?.companyId??h,companyName:c.currentTenant?.companyName??h,dashboardOptionType:"bill",filterMetaData:{...B,entityType:`bill.details.${E("paymentDate")}`},children:t.jsx(_,{label:{label:a.paymentDate,width:L},style:{width:"auto"},value:G.format(C),additionalInfoLabel:`${a.estimatedArrival}${oe(on(G.toDate(),[0,6],o?.maxPeriod.value??0).toDateString()).format(C)} - (${ie.length>0?`${ie} `:""}${a.deliveryTimeLabel} = ${o?.maxPeriod.value??"0"} ${a.deliveryTimeUnits})`})}),t.jsx(K,{})]}):null,f?null:t.jsx(O,{isThreadAllowed:F,entityId:x,dashboardTabKey:Z({type:"details",key:"paymentTo"}),roomId:R,companyId:c.currentTenant?.companyId??h,companyName:c.currentTenant?.companyName??h,dashboardOptionType:"bill",filterMetaData:{...B,entityType:`bill.details.${E("paymentTo")}`},children:t.jsx(_,{label:{label:a.paymentTo,width:L},style:{width:"auto"},value:ut??"",additionalInfoLabel:gt})}),f||lt?t.jsxs(t.Fragment,{children:[t.jsx(K,{}),t.jsx(O,{isThreadAllowed:F,entityId:x,dashboardTabKey:Z({type:"details",key:"recurringPaymentType"}),roomId:R,companyId:c.currentTenant?.companyId??h,companyName:c.currentTenant?.companyName??h,dashboardOptionType:"bill",filterMetaData:{...B,entityType:`bill.details.${E("recurringPaymentType")}`},children:t.jsx(_,{label:{label:a.paymentType,width:L},style:{width:"auto"},value:Ot(e.isRecurring,f,e.recurringBillInstance??1,e.recurringConfig?.totalPaymentCycles??0),additionalInfoLabel:Nt(d,e.isRecurring,f,e.recurringConfig)})})]}):null]}),!f&&o?.method!=null&&(o.method.includes(I)||o?.fee.amount!=null&&o.fee.amount!==0)?t.jsx(fn,{children:t.jsxs(xn,{windowSize:d,children:[t.jsxs(bn,{children:[t.jsx(yn,{children:a.total}),t.jsx(Re,{style:{padding:`12px ${n.sp3}`,lineHeight:"18px"},maxWidth:"312px",title:t.jsxs(gn,{children:[t.jsxs(We,{children:[t.jsx(de,{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(We,{children:[t.jsx(de,{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(de,{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:Le(p.amount,p.currencyCode,p.currencySymbol),integerStyles:H.h6Medium.cssObject,decimalStyles:H.standardMedium.cssObject})})]})}):null]}),t.jsx(Et,{cancelBtn:{label:k&&!b?a.paymentOutsideZeni.markAsPaid:a.editBill,onClick:k&&!b?ve:ne,style:{width:qe(!1,k,b,V,d)}},primaryBtn:{label:_e(b,V,e.isBillMarkedForRetry),isLoading:z?.fetchState==="In-Progress"||X?.fetchState==="In-Progress",onClick:b?ve:()=>{vt&&ae!=null?Y(!0):Se()},style:{width:qe(!0,k,b,V,d)}},rightSideComponent:k&&!b&&z.fetchState!=="In-Progress"?t.jsx(Yn,{windowSize:d,children:t.jsx(Re,{style:{color:S.heroDark,padding:`2px ${n.sp2}`},display:"flex",title:cn,placement:"top",children:t.jsx(Kn,{onClick:ne,"data-testid":j("review-detail-edit-bill-button"),children:t.jsx(Hn,{})})})}):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})]})},_e=(e,y,g)=>e?a.paymentOutsideZeni.markAsPaid:g===!0?a.retryPayment:y?a.sendForApproval:a.scheduleBill,qe=(e,y,g,M,T)=>g?128:y&&!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};
|
|
5
5
|
&:hover {
|
|
6
6
|
color: ${e=>e.theme.colors.primary};
|
|
7
7
|
}
|
|
8
|
-
`,We=
|
|
8
|
+
`,We=i(tt)`
|
|
9
9
|
display: flex;
|
|
10
10
|
justify-content: space-between;
|
|
11
11
|
padding-bottom: ${n.sp1};
|
|
12
|
-
`,re=
|
|
12
|
+
`,re=i.div`
|
|
13
13
|
color: ${e=>e.theme.colors.brandColorPearl};
|
|
14
|
-
`,de=
|
|
14
|
+
`,de=i.div`
|
|
15
15
|
color: ${e=>e.theme.colors.hero};
|
|
16
|
-
`,un=
|
|
16
|
+
`,un=i(tt)`
|
|
17
17
|
display: flex;
|
|
18
18
|
justify-content: space-between;
|
|
19
19
|
padding-top: ${n.sp1};
|
|
20
|
-
`,yn=
|
|
20
|
+
`,yn=i.div``,hn=i.div`
|
|
21
21
|
background-color: ${S.neutralGrey3Dark};
|
|
22
22
|
height: 1px;
|
|
23
23
|
width: 280px;
|
|
24
|
-
`,
|
|
24
|
+
`,gn=i.div``,fn=i.div`
|
|
25
25
|
display: flex;
|
|
26
26
|
width: 100%;
|
|
27
27
|
box-sizing: border-box;
|
|
28
|
-
`,xn=
|
|
28
|
+
`,xn=i.div`
|
|
29
29
|
width: 100%;
|
|
30
30
|
padding: ${n.sp3};
|
|
31
31
|
display: flex;
|
|
@@ -36,30 +36,30 @@ import{q as Tt,aw as Ct,y as u,f0 as Dt,f1 as It,f2 as Pt,V as t,f3 as kt,f4 as
|
|
|
36
36
|
border-radius: ${n.sp2};
|
|
37
37
|
color: ${e=>e.theme.colors.hero};
|
|
38
38
|
margin-bottom: ${n.sp2};
|
|
39
|
-
`,bn=
|
|
39
|
+
`,bn=i(et)`
|
|
40
40
|
gap: ${n.sp1};
|
|
41
41
|
display: flex;
|
|
42
42
|
width: 100%;
|
|
43
43
|
color: ${e=>e.theme.colors.primary};
|
|
44
44
|
align-items: center;
|
|
45
|
-
`,wn=
|
|
45
|
+
`,wn=i(et)`
|
|
46
46
|
display: flex;
|
|
47
47
|
width: calc(100% - 176px);
|
|
48
48
|
justify-content: flex-end;
|
|
49
49
|
color: ${e=>e.theme.colors.primary};
|
|
50
|
-
`,$n=
|
|
50
|
+
`,$n=i.div`
|
|
51
51
|
display: flex;
|
|
52
52
|
flex-direction: column;
|
|
53
53
|
width: 100%;
|
|
54
54
|
height: 100%;
|
|
55
|
-
`,vn=
|
|
55
|
+
`,vn=i.div`
|
|
56
56
|
display: flex;
|
|
57
57
|
flex-grow: 1;
|
|
58
58
|
flex-direction: column;
|
|
59
59
|
margin-left: ${e=>m.reviewContainerMarginLeft.valuePx(e.windowSize)};
|
|
60
60
|
margin-right: ${e=>m.reviewContainerMarginRight.valuePx(e.windowSize)};
|
|
61
61
|
padding-top: ${n.sp3};
|
|
62
|
-
`,jn=
|
|
62
|
+
`,jn=i.div`
|
|
63
63
|
display: flex;
|
|
64
64
|
flex-direction: column;
|
|
65
65
|
background-color: ${e=>e.theme.colors.grey5};
|
|
@@ -68,21 +68,21 @@ import{q as Tt,aw as Ct,y as u,f0 as Dt,f1 as It,f2 as Pt,V as t,f3 as kt,f4 as
|
|
|
68
68
|
border-radius: ${n.sp2};
|
|
69
69
|
margin-bottom: ${n.sp3};
|
|
70
70
|
margin-top: ${n.sp3};
|
|
71
|
-
`,K=
|
|
71
|
+
`,K=i.div`
|
|
72
72
|
display: flex;
|
|
73
73
|
flex: 1;
|
|
74
74
|
background-color: ${e=>e.theme.colors.grey3};
|
|
75
75
|
min-height: 1px;
|
|
76
76
|
max-height: 1px;
|
|
77
|
-
`,Ge=
|
|
77
|
+
`,Ge=i(Gt)`
|
|
78
78
|
color: ${e=>e.theme.colors.primary};
|
|
79
79
|
${e=>`${sn.sectionTitle.style(e.windowSize)}`};
|
|
80
80
|
margin-left: ${e=>m.sectionTitleMarginLeft.valuePx(e.windowSize)};
|
|
81
|
-
`,Sn=
|
|
81
|
+
`,Sn=i.div`
|
|
82
82
|
display: flex;
|
|
83
83
|
margin-bottom: ${n.sp3};
|
|
84
84
|
margin-top: ${n.sp3};
|
|
85
|
-
`,Tn=
|
|
85
|
+
`,Tn=i.div`
|
|
86
86
|
display: flex;
|
|
87
87
|
flex-direction: column;
|
|
88
88
|
border-radius: ${n.sp2};
|
|
@@ -90,46 +90,46 @@ import{q as Tt,aw as Ct,y as u,f0 as Dt,f1 as It,f2 as Pt,V as t,f3 as kt,f4 as
|
|
|
90
90
|
background-color: ${e=>e.theme.colors.grey5};
|
|
91
91
|
border: 1px solid ${e=>e.theme.colors.grey3};
|
|
92
92
|
box-shadow: ${e=>`${n.sp0} 2px ${n.sp1} ${e.theme.colors.dropShadowNormal}`};
|
|
93
|
-
`,Cn=
|
|
93
|
+
`,Cn=i.div`
|
|
94
94
|
background-color: ${S.alertLight};
|
|
95
95
|
border-radius: ${n.sp2};
|
|
96
96
|
width: 100%;
|
|
97
97
|
display: flex;
|
|
98
|
-
`,Dn=
|
|
98
|
+
`,Dn=i.div`
|
|
99
99
|
display: flex;
|
|
100
100
|
flex-direction: column;
|
|
101
101
|
padding-left: ${n.sp2};
|
|
102
|
-
`,In=
|
|
102
|
+
`,In=i(se)`
|
|
103
103
|
padding-bottom: ${n.sp3};
|
|
104
104
|
color: ${S.brandColorGoldDark};
|
|
105
|
-
`,Pn=
|
|
105
|
+
`,Pn=i(Yt)`
|
|
106
106
|
padding-top: ${n.sp3};
|
|
107
107
|
color: ${S.brandColorGoldDark};
|
|
108
|
-
`,Ve=
|
|
108
|
+
`,Ve=i.div`
|
|
109
109
|
display: flex;
|
|
110
110
|
flex-direction: ${e=>nt.includes(e.windowSize)?"column":"row"};
|
|
111
111
|
width: 100%;
|
|
112
|
-
`,kn=
|
|
112
|
+
`,kn=i.div`
|
|
113
113
|
display: flex;
|
|
114
114
|
justify-content: space-between;
|
|
115
115
|
align-items: center;
|
|
116
116
|
column-gap: ${n.sp1};
|
|
117
|
-
`,An=
|
|
117
|
+
`,An=i.div`
|
|
118
118
|
display: flex;
|
|
119
119
|
column-gap: ${n.sp2};
|
|
120
120
|
align-items: center;
|
|
121
|
-
`,Mn=
|
|
121
|
+
`,Mn=i.div`
|
|
122
122
|
display: flex;
|
|
123
123
|
padding-top: ${n.sp3};
|
|
124
|
-
`,Ye=
|
|
124
|
+
`,Ye=i(Jt)`
|
|
125
125
|
display: flex;
|
|
126
126
|
color: ${e=>e.theme.colors.hero};
|
|
127
127
|
margin-right: ${n.sp1};
|
|
128
|
-
`,He=
|
|
128
|
+
`,He=i(Qt)`
|
|
129
129
|
display: flex;
|
|
130
130
|
color: ${e=>e.theme.colors.primary};
|
|
131
131
|
margin-right: ${n.sp1};
|
|
132
|
-
`,Ke=
|
|
132
|
+
`,Ke=i(qt)`
|
|
133
133
|
cursor: pointer;
|
|
134
134
|
color: ${e=>e.theme.colors.hero};
|
|
135
135
|
width: 20px;
|
|
@@ -137,9 +137,9 @@ import{q as Tt,aw as Ct,y as u,f0 as Dt,f1 as It,f2 as Pt,V as t,f3 as kt,f4 as
|
|
|
137
137
|
&:hover {
|
|
138
138
|
color: ${e=>e.theme.colors.primary};
|
|
139
139
|
}
|
|
140
|
-
`,Bn=
|
|
140
|
+
`,Bn=i.div`
|
|
141
141
|
margin-bottom: ${n.sp3};
|
|
142
|
-
`,Fn=
|
|
142
|
+
`,Fn=i.div`
|
|
143
143
|
display: flex;
|
|
144
144
|
align-items: center;
|
|
145
145
|
margin-right: ${e=>e.showAutofill===!0?n.sp8:"unset"};
|
|
@@ -152,23 +152,23 @@ import{q as Tt,aw as Ct,y as u,f0 as Dt,f1 as It,f2 as Pt,V as t,f3 as kt,f4 as
|
|
|
152
152
|
padding-left: ${n.sp0};
|
|
153
153
|
z-index: 2;
|
|
154
154
|
background-color: ${e=>e.theme.colors.grey4};
|
|
155
|
-
`,Rn=
|
|
155
|
+
`,Rn=i(_t)`
|
|
156
156
|
height: ${n.sp3};
|
|
157
157
|
width: ${n.sp3};
|
|
158
158
|
color: ${e=>e.theme.colors.hero};
|
|
159
|
-
`,Ln=
|
|
159
|
+
`,Ln=i.span`
|
|
160
160
|
display: flex;
|
|
161
161
|
align-items: center;
|
|
162
162
|
margin-left: ${n.sp2};
|
|
163
163
|
margin-top: ${e=>m.iconContainerMarginTop.valuePx(e.size)};
|
|
164
164
|
align-self: ${e=>e.size==="small"?"baseline":"center"};
|
|
165
|
-
`,zn=
|
|
165
|
+
`,zn=i(ce)`
|
|
166
166
|
color: ${e=>e.theme.colors.grey1};
|
|
167
167
|
display: flex;
|
|
168
168
|
flex-wrap: wrap;
|
|
169
169
|
justify-content: center;
|
|
170
170
|
align-items: center;
|
|
171
|
-
`,Nn=
|
|
171
|
+
`,Nn=i.a`
|
|
172
172
|
color: ${e=>e.theme.colors.grey1};
|
|
173
173
|
text-decoration: underline;
|
|
174
174
|
margin-right: ${n.sp1};
|
|
@@ -176,7 +176,7 @@ import{q as Tt,aw as Ct,y as u,f0 as Dt,f1 as It,f2 as Pt,V as t,f3 as kt,f4 as
|
|
|
176
176
|
&:hover {
|
|
177
177
|
color: ${e=>e.theme.colors.primary};
|
|
178
178
|
}
|
|
179
|
-
`,On=
|
|
179
|
+
`,On=i.div`
|
|
180
180
|
cursor: ${e=>e.isDisabled?"default":"pointer"};
|
|
181
181
|
display: flex;
|
|
182
182
|
flex-direction: row;
|
|
@@ -189,49 +189,49 @@ import{q as Tt,aw as Ct,y as u,f0 as Dt,f1 as It,f2 as Pt,V as t,f3 as kt,f4 as
|
|
|
189
189
|
color: ${e=>e.isDisabled?e.theme.colors.hero:e.theme.colors.primary};
|
|
190
190
|
}
|
|
191
191
|
}
|
|
192
|
-
`,En=
|
|
192
|
+
`,En=i.div`
|
|
193
193
|
width: ${n.sp4};
|
|
194
194
|
height: ${n.sp4};
|
|
195
195
|
display: flex;
|
|
196
|
-
`,Ue=
|
|
196
|
+
`,Ue=i.div`
|
|
197
197
|
cursor: default;
|
|
198
198
|
display: flex;
|
|
199
199
|
align-items: center;
|
|
200
200
|
margin-right: ${n.sp1};
|
|
201
|
-
`,Je=
|
|
201
|
+
`,Je=i(Ut)`
|
|
202
202
|
cursor: pointer;
|
|
203
203
|
width: ${n.sp4};
|
|
204
204
|
height: ${n.sp4};
|
|
205
205
|
color: ${e=>e.theme.colors.hero};
|
|
206
|
-
`,U=
|
|
206
|
+
`,U=i(se)`
|
|
207
207
|
display: flex;
|
|
208
208
|
color: ${e=>e.theme.colors.hero};
|
|
209
209
|
align-items: center;
|
|
210
210
|
min-width: 142px;
|
|
211
211
|
flex-grow: 1;
|
|
212
|
-
`,Qe=
|
|
212
|
+
`,Qe=i(se)`
|
|
213
213
|
display: flex;
|
|
214
214
|
color: ${e=>e.theme.colors.primary};
|
|
215
215
|
align-items: center;
|
|
216
216
|
margin-right: ${e=>m.infoMarginRight.valuePx(e.windowSize)};
|
|
217
217
|
min-width: ${e=>m.infoMinWidth.valuePx(e.windowSize)};
|
|
218
218
|
justify-content: flex-end;
|
|
219
|
-
`,Zn=
|
|
219
|
+
`,Zn=i.div`
|
|
220
220
|
display: flex;
|
|
221
221
|
cursor: pointer;
|
|
222
222
|
column-gap: ${n.sp1};
|
|
223
223
|
margin-left: ${n.sp5};
|
|
224
|
-
`,Xe=
|
|
224
|
+
`,Xe=i.div`
|
|
225
225
|
width: 120px;
|
|
226
226
|
display: flex;
|
|
227
227
|
justify-content: flex-end;
|
|
228
228
|
align-items: center;
|
|
229
|
-
`,_n=
|
|
229
|
+
`,_n=i.div`
|
|
230
230
|
display: flex;
|
|
231
231
|
flex-grow: 1;
|
|
232
232
|
cursor: pointer;
|
|
233
233
|
width: 100%;
|
|
234
|
-
`,J=
|
|
234
|
+
`,J=i(ce)`
|
|
235
235
|
display: flex;
|
|
236
236
|
color: ${e=>e.borderColor};
|
|
237
237
|
height: 20px;
|
|
@@ -247,31 +247,31 @@ import{q as Tt,aw as Ct,y as u,f0 as Dt,f1 as It,f2 as Pt,V as t,f3 as kt,f4 as
|
|
|
247
247
|
padding: 1px 6px;
|
|
248
248
|
border: ${e=>`1px solid ${e.borderColor}`};
|
|
249
249
|
border-radius: ${n.sp1};
|
|
250
|
-
`,qn=
|
|
250
|
+
`,qn=i.div`
|
|
251
251
|
display: flex;
|
|
252
252
|
flex-direction: column;
|
|
253
|
-
`,Wn=
|
|
253
|
+
`,Wn=i.div`
|
|
254
254
|
display: flex;
|
|
255
255
|
width: 100%;
|
|
256
256
|
flex-flow: column;
|
|
257
257
|
padding-top: ${n.sp2};
|
|
258
258
|
padding-bottom: ${n.sp2};
|
|
259
259
|
border-bottom: ${e=>`1px solid ${e.theme.colors.grey3}`};
|
|
260
|
-
`,Gn=
|
|
260
|
+
`,Gn=i(ce)`
|
|
261
261
|
margin-top: ${n.sp3};
|
|
262
262
|
color: ${S.alert};
|
|
263
|
-
`,Vn=
|
|
263
|
+
`,Vn=i(Vt)`
|
|
264
264
|
min-width: ${n.sp4};
|
|
265
265
|
height: ${n.sp4};
|
|
266
266
|
width: ${n.sp4};
|
|
267
267
|
margin-top: ${n.sp3};
|
|
268
268
|
margin-left: ${n.sp4};
|
|
269
269
|
color: ${S.brandColorGoldDark};
|
|
270
|
-
`,Yn=
|
|
270
|
+
`,Yn=i.div`
|
|
271
271
|
display: flex;
|
|
272
272
|
justify-content: flex-end;
|
|
273
273
|
margin-right: ${e=>m.footerRightIconMarginRight.valuePx(e.windowSize)};
|
|
274
|
-
`,Hn=
|
|
274
|
+
`,Hn=i(tn)`
|
|
275
275
|
cursor: pointer;
|
|
276
276
|
color: ${e=>e.theme.colors.hero};
|
|
277
277
|
width: ${n.sp4};
|
|
@@ -279,7 +279,7 @@ import{q as Tt,aw as Ct,y as u,f0 as Dt,f1 as It,f2 as Pt,V as t,f3 as kt,f4 as
|
|
|
279
279
|
&:hover {
|
|
280
280
|
color: ${e=>e.theme.colors.primary};
|
|
281
281
|
}
|
|
282
|
-
`,Kn=
|
|
282
|
+
`,Kn=i.div`
|
|
283
283
|
display: flex;
|
|
284
284
|
cursor: pointer;
|
|
285
285
|
color: ${e=>e.theme.colors.grey1};
|
|
@@ -287,4 +287,4 @@ import{q as Tt,aw as Ct,y as u,f0 as Dt,f1 as It,f2 as Pt,V as t,f3 as kt,f4 as
|
|
|
287
287
|
&:hover {
|
|
288
288
|
color: ${e=>e.theme.colors.primary};
|
|
289
289
|
}
|
|
290
|
-
`;export{
|
|
290
|
+
`;export{si as default};
|
package/dist/assets/{ReviewOverlay-tGj059Ib-BKVdx9g4.js → ReviewOverlay-DqOXHkMM-jjjTXZU9.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{q as L,V as i,aN as m,o as r,aP as M,y as d,L as B,R as I,M as W,p as s,al as j,cz as C,k as R,ai as b,bg as D,c as n,ef as G,u as _,iU as q,k5 as A}from"./index-
|
|
1
|
+
import{q as L,V as i,aN as m,o as r,aP as M,y as d,L as B,R as I,M as W,p as s,al as j,cz as C,k as R,ai as b,bg as D,c as n,ef as G,u as _,iU as q,k5 as A}from"./index-B6Om0Agf.js";import{n as t}from"./mui-C6XKQL2c.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},g=new e.Error().stack;g&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[g]="5d53e90f-a21d-413b-9144-a8effa06f86f",e._sentryDebugIdIdentifier="sentry-dbid-5d53e90f-a21d-413b-9144-a8effa06f86f")}catch{}})();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])},F={title:new I("h6Regular","h5Regular")},xe=({title:e,description:g,reviewItems:x,showFooter:S,footerProps:{primaryButton:z,cancelButton:T,hideCancel:E},onCloseOverlay:k,onCloseReviewItem:P})=>{const a=L();return i.jsxs(H,{children:[i.jsx(X,{windowSize:a,children:i.jsx(Y,{children:i.jsx(Z,{windowSize:a,children:i.jsx(ee,{children:i.jsx(ie,{onClick:k,"data-testid":m("review-overlay-close",e)})})})})}),i.jsxs(J,{windowSize:a,children:[i.jsxs(N,{windowSize:a,children:[i.jsx(O,{children:i.jsx(U,{windowSize:a,children:e})}),i.jsx(K,{isError:g.isError,windowSize:a,children:g.content})]}),i.jsx(Q,{windowSize:a,children:x.map(o=>{const h=o.reviewStatus.code==="error",c=o.reviewStatus.code==="warning"||o.reviewStatus.code==="low-balance";return i.jsxs(re,{isLoading:!1,isActive:!0,isWarning:c,isError:h,children:[c?i.jsx(ce,{onClick:()=>P(o.id),"data-testid":m("review-close",o.id)}):null,i.jsxs(te,{children:[i.jsxs(ne,{children:[i.jsx(de,{children:V(o)}),i.jsxs(oe,{children:[i.jsxs(w,{children:[i.jsx(f,{style:{marginLeft:r.sp2},isWarning:c,isError:h,children:o.leftSideText.title}),i.jsx(f,{isWarning:c,isError:h,children:o.rightSideText.title})]}),i.jsxs(w,{children:[i.jsx(se,{style:{marginLeft:r.sp2},children:o.leftSideText.subTitle}),a!=="small"?i.jsxs(u,{windowSize:a,children:[i.jsx(p,{isError:h,isWarning:c,children:i.jsxs(i.Fragment,{children:[o.rightSideText.showThunderIcon===!0?i.jsx(v,{children:i.jsx($,{})}):null,o.rightSideText.subTitle]})}),i.jsx(p,{isWarning:!0,isError:!1,children:o.rightSideText.additonalInfo})]}):null]})]})]}),a==="small"?i.jsxs(u,{windowSize:a,children:[i.jsx(p,{style:{marginLeft:r.sp5,marginTop:r.sp0},isError:h,isWarning:c,children:i.jsxs(i.Fragment,{children:[o.rightSideText.showThunderIcon===!0?i.jsx(v,{children:i.jsx($,{})}):null,o.rightSideText.subTitle]})}),i.jsx(p,{style:{marginLeft:r.sp5,marginTop:r.sp0},isWarning:c,isError:h,children:o.rightSideText.additonalInfo})]}):null]})]},o.id)})})]}),S?i.jsx(M,{primaryBtn:z,cancelBtn:T,showCancel:!E}):null]})},V=e=>e.reviewStatus.isLoading?i.jsx(R,{size:"Small",style:{display:"flex",width:r.sp4,height:r.sp4,alignItems:"center",justifyContent:"center"},start:!0}):e.reviewStatus.code==="error"?i.jsx(y,{isError:!0}):e.reviewStatus.code==="warning"?i.jsx(y,{isError:!1}):e.reviewStatus.code==="valid"?i.jsx(ae,{}):e.reviewStatus.code==="low-balance"?i.jsx(he,{}):i.jsx(le,{}),H=t.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
background-color: ${e=>e.theme.colors.grey4};
|
package/dist/assets/{RoleWithToolTip-BGafXnoE-2tbvzQW2.js → RoleWithToolTip-BYuFXi4d-BXj5hmHZ.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{eM as h,eN as b,V as s,bR as f,o as d,aN as l,F as g,an as x,ai as c}from"./index-
|
|
1
|
+
import{eM as h,eN as b,V as s,bR as f,o as d,aN as l,F as g,an as x,ai as c}from"./index-B6Om0Agf.js";import{n}from"./mui-C6XKQL2c.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="61eb3be2-80a0-452c-8aed-e8bcb86512f6",e._sentryDebugIdIdentifier="sentry-dbid-61eb3be2-80a0-452c-8aed-e8bcb86512f6")}catch{}})();const{hyphen:i}=g.getLocalizedStrings().common.strings,y=n.div``,m=n.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
min-width: 192px;
|
|
4
4
|
justify-content: space-between;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{aO as K,ij as ee,gE as fe,ew as we,ik as Le,a9 as Je,il as Me,cC as _e,cD as Ve,V as a,ac as Fe,cn as Pe,co as qe,cp as Ne,aP as Be,im as Re,io as We,F as Ce,aa as he,ip as me,iq as ze,cP as Ue,q as $e,iE as Ge,gJ as re,c as R,p as Se,y as De,cF as Ke,ir as He,is as Qe,it as Ye,o as V}from"./index-
|
|
1
|
+
import{aO as K,ij as ee,gE as fe,ew as we,ik as Le,a9 as Je,il as Me,cC as _e,cD as Ve,V as a,ac as Fe,cn as Pe,co as qe,cp as Ne,aP as Be,im as Re,io as We,F as Ce,aa as he,ip as me,iq as ze,cP as Ue,q as $e,iE as Ge,gJ as re,c as R,p as Se,y as De,cF as Ke,ir as He,is as Qe,it as Ye,o as V}from"./index-B6Om0Agf.js";import{a as f}from"./sentry-yju9hmuU.js";import{n as z}from"./mui-C6XKQL2c.js";import{F_ as Ze,F$ as Xe}from"./zeni-epic-state-ag00jsAo.js";import{i as et,r as tt,n as lt,o as at}from"./ScheduleSequenceTable-axweBiV5-Bbbb-U5v.js";import"./liveblocks-DWNROPS5.js";import"./core-BPFYe8Fp.js";import"./recharts-CPZsikvb.js";import"./lottie-DQjCP4UK.js";import"./analytics-COhRzxPT.js";import"./lexical-acVZWmws.js";import"./utils-B5xU1y4i.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},n=new e.Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="2c404c89-7ae5-4d71-833a-00c072288742",e._sentryDebugIdIdentifier="sentry-dbid-2c404c89-7ae5-4d71-833a-00c072288742")}catch{}})();const W={labelWidth:new De(160,160,160),depCategoryLabelWidth:new De(200,280,280)},st=z.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
width: 100%;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{aO as F,ij as Y,gE as ke,ew as Ae,ik as Ie,a9 as Je,il as we,cC as Le,cD as Me,V as a,ac as Ve,cn as Pe,co as _e,cp as Fe,aP as $e,im as Be,io as Ne,F as Se,aa as ie,ip as he,iq as qe,cP as ze,q as Ue,gJ as pe,c as X,p as We,y as Re,ir as Ke,is as Ge,it as He,o as w}from"./index-
|
|
1
|
+
import{aO as F,ij as Y,gE as ke,ew as Ae,ik as Ie,a9 as Je,il as we,cC as Le,cD as Me,V as a,ac as Ve,cn as Pe,co as _e,cp as Fe,aP as $e,im as Be,io as Ne,F as Se,aa as ie,ip as he,iq as qe,cP as ze,q as Ue,gJ as pe,c as X,p as We,y as Re,ir as Ke,is as Ge,it as He,o as w}from"./index-B6Om0Agf.js";import{a as D}from"./sentry-yju9hmuU.js";import{n as P}from"./mui-C6XKQL2c.js";import{F_ as Qe,F$ as Ye,bL as Xe}from"./zeni-epic-state-ag00jsAo.js";import{i as Ze,r as et,n as tt,o as lt}from"./ScheduleSequenceTable-axweBiV5-Bbbb-U5v.js";import"./liveblocks-DWNROPS5.js";import"./core-BPFYe8Fp.js";import"./recharts-CPZsikvb.js";import"./lottie-DQjCP4UK.js";import"./analytics-COhRzxPT.js";import"./lexical-acVZWmws.js";import"./utils-B5xU1y4i.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},s=new e.Error().stack;s&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[s]="c0a0d2c1-d6eb-4e03-80a2-5bf992cc152e",e._sentryDebugIdIdentifier="sentry-dbid-c0a0d2c1-d6eb-4e03-80a2-5bf992cc152e")}catch{}})();const q={labelWidth:new Re(160,160,160)},at=P.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
width: 100%;
|