@zeniai/web-cockpit-ui 1.15.63-qa → 1.15.64-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-fOu5grd7-BdSVzP6f.js +21 -0
- package/dist/assets/{AIPerformancePage-BHB45mP--CJ7SlrBq.js → AIPerformancePage-Da3gFo8A-CckgxOO_.js} +22 -22
- package/dist/assets/AccountInfoPage-o7hTXtgZ-zH78FLFW.js +18 -0
- package/dist/assets/{AccountInfoPageContent-CJ7ycVIK-C83hBUz9.js → AccountInfoPageContent-DqErO8FH-Dmzn6pIA.js} +22 -22
- package/dist/assets/AccountLockedInfoModal-BJjCuLHa-DrT3dsPq.js +59 -0
- package/dist/assets/{AccountReconDetailsDrawerPage-Bqty08m0-kXNr--5k.js → AccountReconDetailsDrawerPage-CVjH1p0d-BxBrHwo0.js} +18 -18
- package/dist/assets/AccountRow-CpftykFx-oOdBXU8G.js +298 -0
- package/dist/assets/{AccountsPromoCardStack-Bs3naJHM-DUGNuaMw.js → AccountsPromoCardStack-D7xvgmOH-D3-ZzkOb.js} +26 -26
- package/dist/assets/AddAddressForCardDrawer-vecchYEf-CGSqzhVX.js +6 -0
- package/dist/assets/{AddToWalletPage-CyRfqVDB-lZdSVI5f.js → AddToWalletPage-zJy9QCjx-C_qfE17G.js} +17 -17
- package/dist/assets/{AgingReportsPage-xBFff3BM-BoR0hRbB.js → AgingReportsPage-wAvQb1d8-C15jlpMU.js} +7 -7
- package/dist/assets/{AllUserItems-BJf6WPDo-BK6B5dDc.js → AllUserItems-DEv_CXOA-B5fCEIiV.js} +8 -8
- package/dist/assets/ApAgingDetailPage-BOV1WFVF-Dp8s2FuX.js +46 -0
- package/dist/assets/{AppBasePage-CqDm-hnV-CBNeETIZ.js → AppBasePage-DMlomvFS-CGojLnOO.js} +13 -13
- package/dist/assets/AppDrawerContent-Dc2sHnR3--YF7Xqpp.js +92 -0
- package/dist/assets/ApprovalRulesSettingsPage-BnbPSy4U-qsIqsWa1.js +47 -0
- package/dist/assets/{ArAgingChart-CBsqOd-4-BTXylDMy.js → ArAgingChart-m-Xp3HAW-NCxV7iBs.js} +4 -4
- package/dist/assets/ArAgingDetailPage-b_NpDpWj-z4UOMnMu.js +46 -0
- package/dist/assets/{AttachmentView-CzC4skJ3-BCDnapXA.js → AttachmentView-DB_V1qT1-BBS5lFy5.js} +9 -9
- package/dist/assets/{BankAccountSection-Di4sF52j-D4IfCjd3.js → BankAccountSection-BabhrBM7-AYC21fpT.js} +7 -7
- package/dist/assets/{BankAccountWarningSection-Cled-2cR-CPMJAwOm.js → BankAccountWarningSection-yT2UAd12-C1lPi6To.js} +9 -9
- package/dist/assets/{BankConnectionsSettingsPage-Ccnzq7st-DAZKodd6.js → BankConnectionsSettingsPage-CbxXykMM-C4x6xhVH.js} +19 -19
- package/dist/assets/BillDetailPage-7TMkWo3V-CAz7q8si.js +266 -0
- package/dist/assets/{BillPayApprovalRuleDetailPage-DFZ0csaT-PsPHznl4.js → BillPayApprovalRuleDetailPage-COyDRpaF-DAcMEAnT.js} +1 -1
- package/dist/assets/{BillPayApprovalRulesPage-COCypDcS-HIhyZ3nR.js → BillPayApprovalRulesPage-9pxkgFAT-DPJx3hcv.js} +15 -15
- package/dist/assets/BillPayPromoPage-AGffhbY3-C_QscQuJ.js +84 -0
- package/dist/assets/{BillPaySetUpPage-BCJbZDsV-DVe6WBI9.js → BillPaySetUpPage-Cs5rkWBu-GrPc_Ghq.js} +4 -4
- package/dist/assets/BillingSettingsPage-CQ117tT9-czyNT2CA.js +44 -0
- package/dist/assets/{BillsBulkReviewDrawerPage-B11GWM_0-BQuQWEvp.js → BillsBulkReviewDrawerPage-DRkGQQAe-B4jJeKlF.js} +1 -1
- package/dist/assets/{BoxItem-Bxa1M4QU-D1vE9QhE.js → BoxItem-DRwx0M5a-DCS0EEq5.js} +11 -11
- package/dist/assets/{BusinessVerificationPage-DSuJFoW1-XlBss24U.js → BusinessVerificationPage-1h0z3N9u-Bz-00d77.js} +12 -12
- package/dist/assets/{CardNumberSubText-_ZZbaz_k-BlVD6y8J.js → CardNumberSubText-DqtLT1w5-DO6jyw3h.js} +3 -3
- package/dist/assets/{CashbackDetailPage-DAZXitLt-Fk0YDW9d.js → CashbackDetailPage-ChdQcvkC-C57bRmfy.js} +26 -26
- package/dist/assets/{ChargeCardDetailPage-B1VIpASk-BDSXs13_.js → ChargeCardDetailPage-DFOKlPNG-xcGq1wRM.js} +34 -34
- package/dist/assets/{ChargeCardListPage-BOBepN-x-D1jyw6xp.js → ChargeCardListPage-DhLUsUhd-DuclyBke.js} +24 -24
- package/dist/assets/{ChargeCardListTable-YznzSsJo-BzgBrEEG.js → ChargeCardListTable-DE72YU_i-DcBJaKK3.js} +38 -38
- package/dist/assets/{ChargeCardPaymentHistoryPage--jOwsMla-CGXOOx2m.js → ChargeCardPaymentHistoryPage-CbGR18s--BFbYhOSS.js} +42 -42
- package/dist/assets/ChargeCardPromoPage-CPpNh89o-CBfHtaX_.js +222 -0
- package/dist/assets/{ChargeCardSetupPage-0bpVkeJs-CpLnoFoy.js → ChargeCardSetupPage-ITi25kUD-DfzvZRO7.js} +3 -3
- package/dist/assets/{ChargeCardStatementsPage-ChWyQlw6-CRQIlgKD.js → ChargeCardStatementsPage-CTJc1BCc-DxoD4bYi.js} +7 -7
- package/dist/assets/{CheckDepositDrawerPage-BS7hnyZn-C9SGaV72.js → CheckDepositDrawerPage-BrzeSj-3-DtRI-uAH.js} +23 -23
- package/dist/assets/CollapsableReportTable-CDEe9s_E-CMF0RoW1.js +2844 -0
- package/dist/assets/{CompanyOfficerDetailsSection-CrOIN4IW-CoAoKnrR.js → CompanyOfficerDetailsSection-BaPhFsLx-B9Snu63L.js} +28 -28
- package/dist/assets/{CompanyPassportCard-CkzYFTrp-xxbgyzmF.js → CompanyPassportCard-B9ymV6Az-38EEl60M.js} +9 -9
- package/dist/assets/{CompanyPassportPage-FE6yli6h-BWozhrFp.js → CompanyPassportPage-BQ68t7oK-Co1NqIiB.js} +30 -30
- package/dist/assets/{CompleteProfile-Cb8i1XgZ-BTm92KCu.js → CompleteProfile-C5n9b8gQ-DwcNt9_I.js} +1 -1
- package/dist/assets/ConfettiBurst-BizTW0hz-CvR9oZ5e.js +1 -0
- package/dist/assets/{ConstrainedInnerElement-CgdnMeoA-hVukCBkN.js → ConstrainedInnerElement-BeIpAPjB-XtnsGBeT.js} +1 -1
- package/dist/assets/{CreateOrEditVendorPage-CzpSgxbO-tk0pxMXW.js → CreateOrEditVendorPage-BIfOA5Nr-Dlpym0z2.js} +20 -20
- package/dist/assets/{CreditCardPaymentDrawerPage-c_q0MsSO-BNl8osW_.js → CreditCardPaymentDrawerPage-CCpS-31h-C4-ObiYa.js} +18 -18
- package/dist/assets/CurrencySelectField-KvKyemY6-CmY2_QR6.js +139 -0
- package/dist/assets/{CustomerOnboardingActivationPage-f3Aa6E5r-C0GXlCyT.js → CustomerOnboardingActivationPage-6VlMI4oY-DDFamjuz.js} +29 -29
- package/dist/assets/CustomerOnboardingContainerPage-CRjwWFLJ-BpoLCE54.js +1 -0
- package/dist/assets/{CustomerOnboardingDetailPageSkeleton-DYuiWn8s-BpVuCl4e.js → CustomerOnboardingDetailPageSkeleton-BzbZb27J-sEi6CC-2.js} +8 -8
- package/dist/assets/CustomerOnboardingNoStepsPage-CWF_00EM-BRYus2iF.js +66 -0
- package/dist/assets/{CustomerOnboardingPage-B9hSO88_-DKVxJK_g.js → CustomerOnboardingPage-DkW66A-p-GBHzS2sL.js} +16 -16
- package/dist/assets/{CustomerOnboardingProductSuitePage-CG0HKCpQ-BF68GGbG.js → CustomerOnboardingProductSuitePage-Ba0yotpP-kvF0C_U3.js} +12 -12
- package/dist/assets/{Dashboard-BJ_oIHab-CXqiG1Rq.js → Dashboard-bX3cWkmP-CshB3AQ6.js} +33 -33
- package/dist/assets/{DashboardReportPage-BemzMw2e-BipdyVWe.js → DashboardReportPage-DuZ4d4CE-WPRTD4S1.js} +41 -41
- package/dist/assets/DashboardSidebarBackgroundAnimation-UV2CZToG-4yePe-Xl.js +12 -0
- package/dist/assets/DepositAccTransactionItem-BY_OvuKg-1GMqn4-W.js +76 -0
- package/dist/assets/DepositAccTransactionListPage-a__bpCOB-CMJCJXrJ.js +66 -0
- package/dist/assets/DomesticWireDetailsPage-BumMT4QM-9o5TrTj8.js +21 -0
- package/dist/assets/DownloadOverlay-DqiL3-FB-D2yDQ3WD.js +439 -0
- package/dist/assets/{DrawerPage-DesxXhZk-BvvDI7JV.js → DrawerPage-CaG-xx5d-D9_lXenJ.js} +13 -13
- package/dist/assets/EditPeoplePage-BcsdEp_d-IwV_edCq.js +55 -0
- package/dist/assets/EditReimbursementDetailPage-DNUmwdsH-B0QXso1w.js +865 -0
- package/dist/assets/EntityDetailPage-DtX5TjBc-YkJZ_Dja.js +18 -0
- package/dist/assets/{EntitySummarySection-BwX0a4JL-Cb_9slBS.js → EntitySummarySection-LEA5m6mN-CLLkbTp6.js} +14 -14
- package/dist/assets/{ExpenseAutomationOverviewPage-EdyHjbff-B4ZwTaZV.js → ExpenseAutomationOverviewPage-Dmhn7gfp-BnYLctJS.js} +51 -51
- package/dist/assets/ExpenseAutomationPage-B8C4BxoV-DWGhFpVk.js +1703 -0
- package/dist/assets/{ExpressPayPage-EMP6inpX-_cx1Ylt6.js → ExpressPayPage-C-nqret2-CxxwTtu9.js} +16 -16
- package/dist/assets/{FeaturePreviewPage-SYJm-3aR-CG1XGdAN.js → FeaturePreviewPage-BHjUZ7s6-_5C6_vtm.js} +2 -2
- package/dist/assets/{FollowStepsSection-BxESVqJD-YzcVHL8n.js → FollowStepsSection-0eFMS0c5-DiNXhybo.js} +11 -11
- package/dist/assets/GlobalReviewListPage-4eiopkzw-DKMz-KY4.js +291 -0
- package/dist/assets/{InformationCardStack-B_qQUEYD-BwcTguLM.js → InformationCardStack-C7XJCUlh-CHYlGlZV.js} +4 -4
- package/dist/assets/{InsightsCardStack-BsQzoVzj-Bd69AHav.js → InsightsCardStack-fBAbQwhK-GOQwmuqO.js} +9 -9
- package/dist/assets/InsightsSection-De9zu_me-VPfN5Xo7.js +27 -0
- package/dist/assets/{IntegrationsSettingsPage-DP6fAccq-Bl2SFLoD.js → IntegrationsSettingsPage-BD5jqAv8-BskPS73Y.js} +7 -7
- package/dist/assets/{InternationalWireSwiftDetailsPage-VdG7bDZi-C5RGyBg8.js → InternationalWireSwiftDetailsPage-BftrE612-CKiFI9UY.js} +27 -27
- package/dist/assets/InternationalWireVerificationPage-CDf7equc-1WYEjkVV.js +65 -0
- package/dist/assets/InviteFormPage-E2igwKEh-BzkLo-m1.js +312 -0
- package/dist/assets/{InvitePageListView-CP4K9tJi-BWdxcvn6.js → InvitePageListView-Cuq9dlgu-BNjoQI0P.js} +43 -43
- package/dist/assets/InvitePeoplePage-Db4P4ZEq-B9OMfSrr.js +12 -0
- package/dist/assets/InvoiceUploadSection-DYCjz9CI-DkR29XTT.js +140 -0
- package/dist/assets/{IssueChargeCardPage-CVfuvGey-DZxiAxJX.js → IssueChargeCardPage-CK6fnO24-bch7HeIs.js} +21 -21
- package/dist/assets/{LabeledAddressValue-DDrQcHIE-CeJ3ym3G.js → LabeledAddressValue-Ma1WURjK-BjRcNAyc.js} +1 -1
- package/dist/assets/LabeledAddressValueField-C6-hVsPb-Bfrq1uTa.js +45 -0
- package/dist/assets/LabeledControlledCheckBoxField-CgZg0uOW-CjFLwRIN.js +16 -0
- package/dist/assets/{LabeledCountryMultiSelectField-BYYjzwUG-BwOVpc3z.js → LabeledCountryMultiSelectField-sj8p7Rne-DmVlXwHY.js} +4 -4
- package/dist/assets/{LabeledCreatableSingleSelectField-CISYMojq-CMb8Wj3I.js → LabeledCreatableSingleSelectField-DUTQh416-DtIYGO-z.js} +8 -8
- package/dist/assets/LabeledDocumentField-Bp9m-OrP-Di2DVQR8.js +41 -0
- package/dist/assets/LabeledDropDownFormattedTextField-3-KekP79-CBuG_XHQ.js +59 -0
- package/dist/assets/{LabeledText-C8Y7EOsX-bc31OQDU.js → LabeledText-DvzVOku6-CI8IYs0J.js} +3 -3
- package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-C8JxAcOT-DEITvxaX.js → LabeledUserSingleSelectWithSubtitlesField-DCv1Q5qb-BoHfD7aR.js} +21 -21
- package/dist/assets/{LabeledZeniRolesDropDownField-BZtreVpj-BbSQyIfJ.js → LabeledZeniRolesDropDownField-kWC0ShEy-rvx0SYJG.js} +24 -24
- package/dist/assets/{LinkJETransactionPage-CKq4oiX9-mvMHwOvE.js → LinkJETransactionPage-WufhDGDQ-B3rjsU0T.js} +12 -12
- package/dist/assets/{LockCardPage-CZENNby7-XsIHG8ps.js → LockCardPage-BBIVLYVD-B0YOZXXr.js} +234 -234
- package/dist/assets/{LowBalancePopup-1727S1ri-n2U-sV_W.js → LowBalancePopup-ScEqPY9J-CQJroj6z.js} +6 -6
- package/dist/assets/MagicLinkACHDetailsPage-C494txw0-BXL5Oo5F.js +1 -0
- package/dist/assets/MagicLinkDomesticWireDetailsPage-CONBCbOQ-CLIxJIug.js +1 -0
- package/dist/assets/MagicLinkInternationalWireDetailsPage-fSY3JGpz-f3s55HDr.js +1 -0
- package/dist/assets/MagicLinkSuccessPage-BDRXSAO4-BVQIDzU9.js +31 -0
- package/dist/assets/{MagicLinkTitleSection-CARU1oLQ-CVNZ8iK2.js → MagicLinkTitleSection-ZnbKPIvJ-BSqgRJcf.js} +5 -5
- package/dist/assets/MailingDetailsSection-DZT7JPlI-C6Z2pagF.js +21 -0
- package/dist/assets/{MyBankConnectionsSettingsPage-BdgIIhL1-BeRsdTPg.js → MyBankConnectionsSettingsPage-aQDVaEG1-DhCXDcNN.js} +12 -12
- package/dist/assets/MyPendingActivationChargeCardListPage-BJrk56oA-8UK9qZGK.js +6 -0
- package/dist/assets/MyProfileSettingsPage-L9WuP6HZ-4YifN_2G.js +85 -0
- package/dist/assets/{NavBarWithPicker-CGGEvLwe-s3u-yB3H.js → NavBarWithPicker-zmvBmWS1-A5yL3hW1.js} +5 -5
- package/dist/assets/{NavigationArrow-CTNkKUtV-C8bJKxdd.js → NavigationArrow-D26UG3p--DAuEEyBJ.js} +7 -7
- package/dist/assets/{NavigationDots-Dvce3gHt-BbZlp8zJ.js → NavigationDots-Bv4tBDN3-Dko875eO.js} +3 -3
- package/dist/assets/{NewGlobalMerchantPage-D_f7z47T-DQOfu_Nl.js → NewGlobalMerchantPage-vOn2O6B9-DskrKIYE.js} +35 -35
- package/dist/assets/{NoDataChart-CrKeqWSr-CH-XvPH0.js → NoDataChart-CgT19fV7-Dq-PS5iw.js} +4 -4
- package/dist/assets/NoDataTable-CPjJmo4s-B0gXcJxM.js +8 -0
- package/dist/assets/{NotFoundPage-BLWPU1wU-BG7NJ9El.js → NotFoundPage-CP2i3FTm-B2Tx_Zo3.js} +3 -3
- package/dist/assets/{NotificationSettingsPage-CDiDLX3A-6RPc-bUn.js → NotificationSettingsPage-CT9Dnb03-CqwjgM73.js} +17 -17
- package/dist/assets/NotificationsListConfig-Bn1zmx6b-xLvRbIc5.js +1 -0
- package/dist/assets/NotificationsPage-DDwdR_Jq-CdZxB2zM.js +685 -0
- package/dist/assets/OpExByVendorPage-DukFYlqO-CuXBR-rW.js +100 -0
- package/dist/assets/{OverlayContainerPage-BG9y5C0t-BPG2pCUp.js → OverlayContainerPage-D4QU0p4o-CVPkUlN6.js} +1 -1
- package/dist/assets/PandLWithForecastPage-Bgflh9Om-Dmxi28fl.js +107 -0
- package/dist/assets/{PaymentAccountSetupBillingAddressSection-9ma8SpIa-D4Qtjsvw.js → PaymentAccountSetupBillingAddressSection-JPO-rPAd-CHgpZYyo.js} +16 -16
- package/dist/assets/PeoplePage-CDvKreQl-CRlr1EmV.js +675 -0
- package/dist/assets/{Preview-DWskpWXP.js → Preview-spWMBI70.js} +1 -1
- package/dist/assets/{ProductsCarousel-C3M0ocdF-BSyoNQFy.js → ProductsCarousel-7R3cvGiS-DlBhSe7D.js} +8 -8
- package/dist/assets/{PromoBaseCards-BOGJI2ws-Ck95GU5B.js → PromoBaseCards-DdCMZIc7-B6Z1nEXM.js} +2 -2
- package/dist/assets/{QBOConnectionDialog-CmpnnuzP-CpIqU0WF.js → QBOConnectionDialog-Ca36jKz2-CfdvU0-0.js} +7 -7
- package/dist/assets/QBOSetupSection-CzBfIVqR-B4kKrGkW.js +79 -0
- package/dist/assets/ReimbursementApprovalRuleDetailPage-DUVSGQJ6-C7yuUziG.js +32 -0
- package/dist/assets/{ReimbursementApprovalRulesPage-BsCTIqUJ-D3bDi2Ta.js → ReimbursementApprovalRulesPage-B48x1gPM-Bmxf9Hlc.js} +17 -17
- package/dist/assets/ReimbursementDetailPage-oIC9QEyF-CRxw2XKK.js +314 -0
- package/dist/assets/ReimbursementPromoPage-BKgsJieE-D41M31h1.js +84 -0
- package/dist/assets/{ReimbursementSetUpPage-RETPkEQd-z2afpDkn.js → ReimbursementSetUpPage-B_c-ZgFT-nyStFOEL.js} +8 -8
- package/dist/assets/ReimbursementsBulkReviewDrawerPage-CeyGWbKR-CPHh3h5l.js +1 -0
- package/dist/assets/{ReloadCard-Bdoo0XiI-BGa0MgX0.js → ReloadCard-DKGn1uxF-CHnWO982.js} +6 -6
- package/dist/assets/ReportTableViewSelector-CXDvZEbR-DVKFHMpg.js +150 -0
- package/dist/assets/ReportsPage-BoUyXSBC-DqEgIltZ.js +121 -0
- package/dist/assets/{RevenueChart-DvyZ3aO7-PpJFTbOd.js → RevenueChart-SvdhwBcE-CclStxKG.js} +18 -18
- package/dist/assets/{ReviewDetailsPage-BIMg1n2e-D2dTaNpr.js → ReviewDetailsPage-tT1l4R2r-D31xag1Q.js} +26 -26
- package/dist/assets/{ReviewOverlay-CxwoiOLC-vRTfwGwR.js → ReviewOverlay-BoM41t8W-B3q95pxr.js} +10 -10
- package/dist/assets/{RoleWithToolTip-Ct3_VuDM-BEnLHz0N.js → RoleWithToolTip-C8x5yXaK-Dbq6YNZJ.js} +4 -4
- package/dist/assets/ScheduleDetailsFixedAssetsPage-Bkp0mCOn-CXNO-V0F.js +37 -0
- package/dist/assets/ScheduleDetailsPage-Dg9rYJbn-DX2cGcR8.js +37 -0
- package/dist/assets/ScheduleSequenceTable-J6Eja8XA-C4pj46PF.js +324 -0
- package/dist/assets/{ScreenRoutes-CUuAiKAj.js → ScreenRoutes-Djen5Qso.js} +51 -29
- package/dist/assets/{SetUpAccountSection-CctbMmoK-DeDFJbvz.js → SetUpAccountSection-sfIB1h4i-ChZ6V5QM.js} +14 -14
- package/dist/assets/SignIn-Cu2nzuEC-CMzKn_tC.js +491 -0
- package/dist/assets/SignInScreen-OAq50V8E.js +1 -0
- package/dist/assets/SpendManagementListViewPage-9V9u1jPF-CmDrIGYQ.js +134 -0
- package/dist/assets/{SpendManagementPerTabPage-C-kqNTci-AeTDFXX6.js → SpendManagementPerTabPage-COvEPq7V-Do4O10gl.js} +96 -96
- package/dist/assets/{SpendManagementSection-CIz4nE_w-8YBkABuz.js → SpendManagementSection-dT-N4bSQ-BiovZfwW.js} +21 -21
- package/dist/assets/{StatementItem-vVtoBN2w-BdiJO-U-.js → StatementItem-g5tfNBjV-C9Hg8CS4.js} +4 -4
- package/dist/assets/StatementsPage-DaFrVUeK-DSTw3UAU.js +58 -0
- package/dist/assets/{StatusSwitcher-Bv-ozN6U-CzLNn0tR.js → StatusSwitcher-CaoFw0cf-C3lxp9pU.js} +5 -5
- package/dist/assets/SubTabSwitcher-zrkVj1aP-_xN0-uG5.js +58 -0
- package/dist/assets/SummaryCard-B9wqNSwM-n1ImzaFb.js +1 -0
- package/dist/assets/TaskManagementPage-dAK9tl2b-CTG2_KMv.js +508 -0
- package/dist/assets/TimeRangeSwitcher-r1TNqVRb-DCJluex4.js +64 -0
- package/dist/assets/TimeframeSwitcher-DHfHCTa4-B2FI2qD3.js +31 -0
- package/dist/assets/TimeframeSwitcherWithToggle-DvBvguRl-DxV9Vm6A.js +31 -0
- package/dist/assets/{TopExCard-Z1WabZ8c-4au0Kuzy.js → TopExCard-BUjnGDUB-ILeRndVt.js} +6 -6
- package/dist/assets/{TopExDetailPage-CzHG4f9E-CctLNvo_.js → TopExDetailPage-CNDkfc3u-BPGQHHhh.js} +16 -16
- package/dist/assets/{TransactionActivityLogPage-CGKnjNfU-B3NDQc80.js → TransactionActivityLogPage-kSQqJVpX-CN_Bd6XL.js} +20 -20
- package/dist/assets/TransactionDetailPage-f7vWtXWL-B6Z3KQcQ.js +903 -0
- package/dist/assets/TransactionList-3-mUZOsw-BOqEjROc.js +153 -0
- package/dist/assets/{TransactionListBig-C5Sf5Xh--BuYJgRaG.js → TransactionListBig-Bx_Rm9ho-B9vgR37B.js} +19 -19
- package/dist/assets/TransactionListPage-q6x4_jni-ByWLrriF.js +35 -0
- package/dist/assets/{TransactionVendorDetailPage-SsrSOk3O-BRnviJtL.js → TransactionVendorDetailPage-MjSH5hfq-BauD225P.js} +5 -5
- package/dist/assets/{TransferDrawerPage-BvKZ7vHF-CVsBbyAK.js → TransferDrawerPage-BayVa6po-DOmgo5bD.js} +45 -45
- package/dist/assets/TreasuryOverviewPage-CuqWmrO5-WjxiYw-Z.js +708 -0
- package/dist/assets/{TreasuryPromoPage-CtTFvSQW-DUHPkkLd.js → TreasuryPromoPage-BCjz1EKX-B5KDWi07.js} +131 -131
- package/dist/assets/TreasuryStatementsPage-CGr00SXF-C60wRmKc.js +58 -0
- package/dist/assets/TreasuryTaxLetterPage-D9_qnlK4-DjBNSdh0.js +58 -0
- package/dist/assets/{TrendChart-Bnp4Pcdf-D4cgVp3g.js → TrendChart-JTOG0a7B-DpgA2voA.js} +4 -4
- package/dist/assets/TrendWithTransactions-CTJhTpAM-BQk6HV-p.js +116 -0
- package/dist/assets/{UncategorizedAccountsMappingPage-DbyY-dYB-sq3wEY9K.js → UncategorizedAccountsMappingPage-TGKYpC5A-RvK9bcxw.js} +14 -14
- package/dist/assets/{UnitIntegrationPage-CTzme1te-BHLJji8u.js → UnitIntegrationPage-mt2IjA5X-sxJ5WITz.js} +10 -10
- package/dist/assets/UploadAdditionalDocumentOverlay-DZfpwE5J-DW-djX7x.js +38 -0
- package/dist/assets/Vendor2FAPopup-DAOf5cJD-BPBPmB6-.js +1 -0
- package/dist/assets/VendorACHDetailsPage-CCOupiSZ-CBSNIh8C.js +1 -0
- package/dist/assets/VendorDetailPage-DufNphGD-CYmhQiv4.js +257 -0
- package/dist/assets/VendorDomesticWireDetailsPage-BayV34Rt-Bv9GXuwg.js +1 -0
- package/dist/assets/{VendorFiling1099EditablePage-himC7iD3-k-hAzNY6.js → VendorFiling1099EditablePage-CRnO7Ubw-D8TJzbQY.js} +13 -13
- package/dist/assets/VendorFirstReviewPage-DA0EL4RJ-B1EJ16cd.js +730 -0
- package/dist/assets/{VendorInternationalWireDetailsPage-CS595Xgc-kwJW4_b9.js → VendorInternationalWireDetailsPage-HUtNyn9Z-DME8KQvf.js} +22 -22
- package/dist/assets/VendorInternationalWireSwiftDetailsPage-DRVMUeXi-WaJ_bb27.js +1 -0
- package/dist/assets/{VendorsAccountsSection-CgSJu8wq-C7Nrepld.js → VendorsAccountsSection-D6Qa1zf9-uVFUNuqq.js} +4 -4
- package/dist/assets/{VerifyDevice-Dvf0JsNN-LsnrX91W.js → VerifyDevice-B6B_nk3v-Bdkrxio0.js} +12 -12
- package/dist/assets/{VideoPlayer-VAzOGCDL-DVi19FXq.js → VideoPlayer-BRAgZThr-DjmJcTCC.js} +2 -2
- package/dist/assets/{VideoPopup-BqvZ-XIh-BO-XUiUq.js → VideoPopup-C_SkBI9U-BcIEWeMW.js} +5 -5
- package/dist/assets/{WarningsDrawerPage-DeNonoNp-BWZkdUzm.js → WarningsDrawerPage-B3gB3wW7-D2GIDjbZ.js} +8 -8
- package/dist/assets/ZeniAccountDetailPage-Dp-eo-Vq-Bhjoyj-p.js +300 -0
- package/dist/assets/ZeniAccountListViewPage-S-XmAYqD-DifvzT-q.js +441 -0
- package/dist/assets/ZeniAccountNavBarPieces-DhjBxfEr-Cs_0mVt4.js +14 -0
- package/dist/assets/{ZeniAccountPromoPage-JrcedQYB-XleDnhH3.js → ZeniAccountPromoPage-BgYCHYLO-Cw7mPD8B.js} +33 -33
- package/dist/assets/ZeniAccountSetupPage-CvnIMdcY-UG3h63JG.js +36 -0
- package/dist/assets/{ZeniCopyright-DglqrTpl-DjLwp-EZ.js → ZeniCopyright-BlLvlGZV-oWH5-_QG.js} +1 -1
- package/dist/assets/{ZeniTransferAmountSlider-BcaZZuAw-Dq1i7GHR.js → ZeniTransferAmountSlider-BNYgPwHs-BkFdMOqg.js} +7 -7
- package/dist/assets/{add-to-wallet-DgdBD8_G-CMYG7KBd.js → add-to-wallet-DgdBD8_G-CQY6YDIS.js} +1 -1
- package/dist/assets/{analytics-Dn0Lw8Hl.js → analytics-Bkw5onLf.js} +1 -1
- package/dist/assets/{analyticsHelper-C_ff58Ox.js → analyticsHelper-BrCWxqsP.js} +1 -1
- package/dist/assets/{analyticsHelper-CAYdbjhS-CSS_jWKh.js → analyticsHelper-CYr5V2MV-D117boEZ.js} +1 -1
- package/dist/assets/{arrow-south-east-round-PEovUgvH-0FDs3KeW.js → arrow-south-east-round-PEovUgvH-Bjmr6TY7.js} +1 -1
- package/dist/assets/{auto-transfer-rule-mbafm5D3-BKhloLeM.js → auto-transfer-rule-mbafm5D3-CNNhiF_u.js} +1 -1
- package/dist/assets/chartTypes-40RenddT-C3e8npm6.js +1 -0
- package/dist/assets/commonDimensions-BMnB1-xU-BEplFlGz.js +1 -0
- package/dist/assets/{commonTypes-5tEXwrX4-Bo-DjnLD.js → commonTypes-DsWS6Ccc-DEEa_Sk5.js} +1 -1
- package/dist/assets/{constants-BEwjLQPo.js → constants-BjwuG-sL.js} +1 -1
- package/dist/assets/{core-DEFUIdDG.js → core-ChNxRm0V.js} +53 -3
- package/dist/assets/{dash.all.min-BID_vSFD.js → dash.all.min-CPWXIJa3.js} +1 -1
- package/dist/assets/detailCommon-CrcyqWtZ-Y-btcKvT.js +38 -0
- package/dist/assets/downloadPdf-CUUx8PWn-CpeF1exC.js +1 -0
- package/dist/assets/{empty-3lnGe8CJ.js → empty-CbUW6a7c.js} +1 -1
- package/dist/assets/{empty-Bz_9XWq0.js → empty-DB2fqLbL.js} +1 -1
- package/dist/assets/epic-D8ilA7L4.js +2 -0
- package/dist/assets/{gift-box-Cmt9OgIZ-aVxGZy29.js → gift-box-Cmt9OgIZ-CAEsBxF-.js} +1 -1
- package/dist/assets/{graphic-no-data-l-DU4J8fDt-x243rVSC.js → graphic-no-data-l-DU4J8fDt-5QBY0UXm.js} +1 -1
- package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-fGjKD-Ct.js → graphic-no-data-net-burn-l-CzmycA0m-hdaFlp9y.js} +1 -1
- package/dist/assets/{handshake-BPg58FML-ubRH-wiz.js → handshake-BPg58FML-ChCbIa55.js} +1 -1
- package/dist/assets/{helper-Ckm10Uko-D3EJmxEw.js → helper-BMiMbXMj-Dmh6E349.js} +5 -5
- package/dist/assets/{index-j3sWBTP6.js → index-B7L93Ji9.js} +1 -1
- package/dist/assets/{index-BTOXr4d7.js → index-DVyniIKO.js} +1 -1
- package/dist/assets/{index-E_BIvVEB.js → index-DlObXRGr.js} +8 -2
- package/dist/assets/{index-Dh51gnjs.js → index-Dpyv5L0j.js} +1 -1
- package/dist/assets/{index-CurP1SOA.js → index-DqZ19at7.js} +4883 -4818
- package/dist/assets/{index-yi6exDCI.js → index-cdfRDhK8.js} +1 -1
- package/dist/assets/{index-C_4SXTa-.js → index-ioI1xYoQ.js} +1 -1
- package/dist/assets/{lexical-C3dXI-1S.js → lexical-1Ygrq4RW.js} +1 -1
- package/dist/assets/{liveblocks-Dud0zcBr.js → liveblocks-BTMi-6jm.js} +15 -2
- package/dist/assets/lottie-DePu4yCn.js +9 -0
- package/dist/assets/mapLoadingInProgressToTreeNode-DGnyXKBT-BYse0ozL.js +1 -0
- package/dist/assets/{mapSectionWithAcOnlyToTreeNode-Cgyt68f3-BBFpEXmY.js → mapSectionWithAcOnlyToTreeNode-BkPRWtaj-hihXzy98.js} +1 -1
- package/dist/assets/mapSpacerToTreeNode-CvGdU9Ma-DeFN34g2.js +1 -0
- package/dist/assets/mapTimeframeBalancesToTreeNode-BCOsOvxo-CSygkCSn.js +1 -0
- package/dist/assets/mapTimeframeBalancesToTreeNode-DIqYP3NK-R-95BHOA.js +1 -0
- package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-D2IvFyR5-DCo-Luqt.js → mapTimeframeHeaderLoadingInProgressToTreeNode-Ch2rvcz4-27M6rUwe.js} +1 -1
- package/dist/assets/{mui-BxEa6oIz.js → mui-ZYC_cKE8.js} +9 -1
- package/dist/assets/{page-detail-CWX5S47F-DOLPp-eb.js → page-detail-CWX5S47F-DC8jxm5B.js} +1 -1
- package/dist/assets/panelSelectedMixin-CzfD5-Zs-D6-xSZhW.js +4 -0
- package/dist/assets/{radio-default-CiSgisfh-DL8BJVml.js → radio-default-CiSgisfh-BxCWoZze.js} +1 -1
- package/dist/assets/{react-BsuKrOi4.js → react--xqujLHa.js} +12 -2
- package/dist/assets/{react-DM147Gxs.js → react-BKZXD5Oc.js} +12 -2
- package/dist/assets/{react-BNTdaAOY.js → react-BYslFEBJ.js} +12 -2
- package/dist/assets/{react-a0DWg95U.js → react-BwmLfOl6.js} +12 -2
- package/dist/assets/{react-yelseDIT.js → react-C9KgujEQ.js} +13 -3
- package/dist/assets/{react-DPVtQSsy.js → react-IIMWUaFV.js} +12 -2
- package/dist/assets/react-Z0_odY1k.js +37 -0
- package/dist/assets/{react-B5siMDaA.js → react-d6rMgZIK.js} +12 -2
- package/dist/assets/{recharts-CucZZnV5.js → recharts-CPKKNFMD.js} +27 -19
- package/dist/assets/{sentry-CDHeVBhK.js → sentry-DO9J0OD9.js} +17 -2
- package/dist/assets/{shield-DOlUxcFf-BCrG7e7-.js → shield-DOlUxcFf-K7yJVGAq.js} +1 -1
- package/dist/assets/toCOABalancesWithID-DkMGvlEt-BttuYM2L.js +1 -0
- package/dist/assets/toChartData-C6s-eBzE-DfNWG1EA.js +1 -0
- package/dist/assets/{uploadAttachment-Ck4wivBR-D2sssPbg.js → uploadAttachment-BlLqRIXe-BrI0Dxy9.js} +32 -32
- package/dist/assets/uploadReceipts-Dge0cNF1-C53BLsXO.js +1 -0
- package/dist/assets/{url-DAJ1NKPS.js → url-Brmd3733.js} +1 -1
- package/dist/assets/{url-Dz3bE-6e.js → url-VhWKyQz6.js} +1 -1
- package/dist/assets/{useLongPress-GCK2COYQ-cX6DxOpZ.js → useLongPress-GCK2COYQ-BBNJdZmN.js} +1 -1
- package/dist/assets/{usp-line-BBd1wKwW-BiUwSUGW.js → usp-line-BBd1wKwW-BjY16bQv.js} +1 -1
- package/dist/assets/{utils-B2bXCuaD.js → utils-CXoyjNuY.js} +38 -4
- package/dist/assets/zeni-epic-state-C5Hzx540.js +151 -0
- package/dist/index.html +1 -1
- package/package.json +6 -6
- package/dist/assets/ACHDetailsPage-B5qIuZya-BmmOKNKt.js +0 -21
- package/dist/assets/AccountInfoPage-Cd5xYT1g-BjYVbnMy.js +0 -18
- package/dist/assets/AccountLockedInfoModal-Dox7IuAX-H_pRx6Xf.js +0 -59
- package/dist/assets/AccountRow-D1cjRJJD-CnHGmlKi.js +0 -298
- package/dist/assets/AddAddressForCardDrawer-DZkBMJfp-CTlBkwH6.js +0 -6
- package/dist/assets/ApAgingDetailPage-CjBrPyi8-DNYyKLZY.js +0 -46
- package/dist/assets/AppDrawerContent-CVVWj66i-BfqcrITU.js +0 -92
- package/dist/assets/ApprovalRulesSettingsPage-Cckd2uVA-CKQBzdAB.js +0 -47
- package/dist/assets/ArAgingDetailPage-i7JObt60-x2wHZEQK.js +0 -46
- package/dist/assets/BalancesInsightWithToolTip-B6umvmgL-DFyn5DU2.js +0 -38
- package/dist/assets/BillDetailPage-XXOwBfO1-CW90EiFi.js +0 -266
- package/dist/assets/BillPayPromoPage-DOE2YIqC-eMf19kde.js +0 -84
- package/dist/assets/BillingSettingsPage-iImtlEmO-NkTGKevj.js +0 -44
- package/dist/assets/ChargeCardPromoPage-DIfakIOK-Bt_RFZVL.js +0 -222
- package/dist/assets/CollapsableReportTable-DNfFkAts-BXskWmz4.js +0 -2982
- package/dist/assets/ConfettiBurst-BZCXEGYA-BuT0DNIg.js +0 -1
- package/dist/assets/CurrencySelectField-BAh7SHrG-C0eRIjkk.js +0 -139
- package/dist/assets/CustomerOnboardingContainerPage-CWAtSu08-DApxSm4l.js +0 -1
- package/dist/assets/CustomerOnboardingNoStepsPage-Bh_F0-oC-DAVz68Sy.js +0 -66
- package/dist/assets/DashboardSidebarBackgroundAnimation-BtA5oEGG-BE0eZrrp.js +0 -12
- package/dist/assets/DepositAccTransactionItem-CyFi1P_L-B5_uXo_7.js +0 -76
- package/dist/assets/DepositAccTransactionListPage-DvBRRUdZ-DEAnKryS.js +0 -66
- package/dist/assets/DomesticWireDetailsPage-DCDo3aHI-g4hbj-K1.js +0 -21
- package/dist/assets/DownloadOverlay-D_lL1sPW-DOw4m1yt.js +0 -439
- package/dist/assets/EditPeoplePage-QvPy_Six-anrdd6es.js +0 -55
- package/dist/assets/EditReimbursementDetailPage-C0ZDkboO-1LZFYwiw.js +0 -865
- package/dist/assets/EntityDetailPage-l7nXIsyF-BWeJETf7.js +0 -18
- package/dist/assets/ExpenseAutomationPage-DA22Qofw-DO_fqdZH.js +0 -3001
- package/dist/assets/GlobalReviewListPage-D5_ACa-q-DgPiQmby.js +0 -291
- package/dist/assets/InsightsSection-B6CNlTNH-CLcBLG7W.js +0 -27
- package/dist/assets/InternationalWireVerificationPage-COC6lZml-CP2ZasSF.js +0 -65
- package/dist/assets/InviteFormPage-DN02jRy5-BtKUOX8b.js +0 -312
- package/dist/assets/InvitePeoplePage-VTM6kM1u-G3Ul_pWm.js +0 -12
- package/dist/assets/InvoiceUploadSection-it-ZYl1N-BO7KOyKX.js +0 -140
- package/dist/assets/LabeledAddressValueField-BgWwd5Gw-BhvAMjBe.js +0 -45
- package/dist/assets/LabeledControlledCheckBoxField-CcPO1k23-DrHMqRca.js +0 -16
- package/dist/assets/LabeledDocumentField-C_bcFxdY-DD0gr-bC.js +0 -41
- package/dist/assets/LabeledDropDownFormattedTextField-ScGGCap8-D-kv_bCg.js +0 -59
- package/dist/assets/MagicLinkACHDetailsPage-BSOlSfNu-B1jvyROC.js +0 -1
- package/dist/assets/MagicLinkDomesticWireDetailsPage-D1DTPo0E-RgVjNAqp.js +0 -1
- package/dist/assets/MagicLinkInternationalWireDetailsPage-D_wo_2nm-tnKyOj1K.js +0 -1
- package/dist/assets/MagicLinkSuccessPage-QMkZgQLG-D-HowjcM.js +0 -31
- package/dist/assets/MailingDetailsSection-ByOPaJ05-Ct12OUY5.js +0 -21
- package/dist/assets/MyPendingActivationChargeCardListPage-CX38bDdq-CFKFaD81.js +0 -6
- package/dist/assets/MyProfileSettingsPage-DYu0Fx6I-BtcIqQ7N.js +0 -85
- package/dist/assets/NoDataTable-4vPXmPYF-CwZdP9nM.js +0 -8
- package/dist/assets/NotificationsListConfig-B5pDa4cJ-BswJOyvx.js +0 -1
- package/dist/assets/NotificationsPage-Ccl7Dny1-BlIM0WaT.js +0 -685
- package/dist/assets/OpExByVendorPage-spd-nKV4-DL88DIG2.js +0 -100
- package/dist/assets/PandLWithForecastPage-TSoe4Z7F-D4kqBVQ1.js +0 -123
- package/dist/assets/PeoplePage-b5_I0qOw-C1yNgQZU.js +0 -727
- package/dist/assets/QBOSetupSection-DjnN9dgv-ISynvMy-.js +0 -79
- package/dist/assets/ReimbursementApprovalRuleDetailPage-D5NXjrO9-D9uPP3dw.js +0 -32
- package/dist/assets/ReimbursementDetailPage-BbyxE2uL-0loMmewR.js +0 -314
- package/dist/assets/ReimbursementPromoPage-CyEgwqcf-CgriiA9d.js +0 -84
- package/dist/assets/ReimbursementsBulkReviewDrawerPage-DnmYl0FM-Bhe1TAsD.js +0 -1
- package/dist/assets/ReportTableViewSelector-Bc1K7mU_-Cq7HHLUo.js +0 -151
- package/dist/assets/ReportsPage-BOTHMLWh-W09uRSHp.js +0 -269
- package/dist/assets/ScheduleDetailsFixedAssetsPage-DiL5Dozk-CCcAk0g0.js +0 -37
- package/dist/assets/ScheduleDetailsPage-5FWpLRtd-oIb8NDEV.js +0 -37
- package/dist/assets/ScheduleSequenceTable-R3-PsXES-ClyCeUfL.js +0 -326
- package/dist/assets/SignIn-CmgmnRm4-CTHQKiMt.js +0 -491
- package/dist/assets/SignInScreen-D6DML_Ge.js +0 -1
- package/dist/assets/SpendManagementListViewPage-CFUxCqkU-BAqTaSS5.js +0 -134
- package/dist/assets/StatementsPage-As5WOnMR-k_kQpGjl.js +0 -58
- package/dist/assets/SubTabSwitcher-D7QeM6nb-qtx8MdsY.js +0 -58
- package/dist/assets/SummaryCard-C2qoTsAY-DDjCmaHn.js +0 -1
- package/dist/assets/TaskManagementPage-BJwp32Ph-DovQ5Y6P.js +0 -508
- package/dist/assets/TimeRangeSwitcher-D00bDDhP-DYi-s0cU.js +0 -64
- package/dist/assets/TimeframeSwitcher-DA99HdHt-NQjsVR_-.js +0 -31
- package/dist/assets/TimeframeSwitcherWithToggle-DyggDIQj-yshKro9r.js +0 -53
- package/dist/assets/TransactionDetailPage-1-mLOWSz-DT3B6GWp.js +0 -903
- package/dist/assets/TransactionList-BB-xoIGm-WH6cmyEO.js +0 -153
- package/dist/assets/TransactionListPage-Cj7h1Ros-D83WnCkA.js +0 -35
- package/dist/assets/TreasuryOverviewPage-DwvjMR4_-DY1oE8mV.js +0 -725
- package/dist/assets/TreasuryStatementsPage-Catz8shX-jQUbirVv.js +0 -58
- package/dist/assets/TreasuryTaxLetterPage-D8hzCL5o-6uZaRuCs.js +0 -58
- package/dist/assets/TrendWithTransactions-3D1FvM8G-C__bS1bm.js +0 -116
- package/dist/assets/UploadAdditionalDocumentOverlay-Wl4Spdpn-CbLtbJQH.js +0 -38
- package/dist/assets/Vendor2FAPopup-D0zYKkIv-BygCz9U8.js +0 -1
- package/dist/assets/VendorACHDetailsPage-YYX9aQdw-Dd_Yp7Po.js +0 -1
- package/dist/assets/VendorDetailPage-Br9wIOnI-D7IvjenZ.js +0 -257
- package/dist/assets/VendorDomesticWireDetailsPage-BpPgQRHI-3VolPNUI.js +0 -1
- package/dist/assets/VendorFirstReviewPage-BbknTCBD-CXQ3X7Oj.js +0 -730
- package/dist/assets/VendorInternationalWireSwiftDetailsPage-yhTjWXvw-QYQGZ34-.js +0 -1
- package/dist/assets/ZeniAccountDetailPage-GcwTJdB8-CbR031ng.js +0 -300
- package/dist/assets/ZeniAccountListViewPage-CdwO0Duy-DHL8XcBW.js +0 -443
- package/dist/assets/ZeniAccountNavBarPieces-BrSIfL36-rP8-LNeM.js +0 -33
- package/dist/assets/ZeniAccountSetupPage-TKBfbgzJ-LpNGhMSo.js +0 -36
- package/dist/assets/chartTypes-CD3vrBsI--X3YDFNJ.js +0 -1
- package/dist/assets/commonDimensions-Oz1tdAcx-DcNBG7HB.js +0 -1
- package/dist/assets/downloadPdf-Dsuxeias-Cm2qRseb.js +0 -1
- package/dist/assets/epic-DmCiRuzo.js +0 -2
- package/dist/assets/lottie-Cne2KPqn.js +0 -2
- package/dist/assets/mapLoadingInProgressToTreeNode-jcHEi-mv-CGykrO8u.js +0 -1
- package/dist/assets/mapSpacerToTreeNode-XgUp1xUb-CG1HpWw1.js +0 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-Bre8FfBF-CoJtwaHe.js +0 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-DOyCX6ij-BEXH0Sn-.js +0 -1
- package/dist/assets/panelSelectedMixin-Cddsb26L-BYkFfnSr.js +0 -3
- package/dist/assets/react-Bug7UPVd.js +0 -19
- package/dist/assets/toCOABalancesWithID-aLNB35t7-a6z4p0gt.js +0 -1
- package/dist/assets/toChartData-DUL6vnzJ-DBy9U-ty.js +0 -1
- package/dist/assets/upload-reimbursement-receipt-O2N8vcO7-CTAMYaR4.js +0 -1
- package/dist/assets/uploadReceipts-CIgkuVpu-CJ8IdAY6.js +0 -1
- package/dist/assets/zeni-epic-state-B4EHkeVq.js +0 -14
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{d as A,V as a,O as D,J as de,b5 as J,u as I,b as M,a_ as Q,o as m,aR as Ae,p as g,aF as Ve,y as xe,bO as ge,am as R,bP as V,bc as F}from"./index-DqZ19at7.js";import{a as P,P as ee}from"./sentry-DO9J0OD9.js";import{n as x}from"./mui-ZYC_cKE8.js";import{p as b,d as ae,y as W,b as N,g as re,u as T}from"./chartTypes-40RenddT-C3e8npm6.js";import{i as K,h as oe,c as G}from"./toCOABalancesWithID-DkMGvlEt-BttuYM2L.js";import{V as Z}from"./toChartData-C6s-eBzE-DfNWG1EA.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-CPKKNFMD.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]="04d49598-50f3-4c7e-becd-b8e9ff7df687",e._sentryDebugIdIdentifier="sentry-dbid-04d49598-50f3-4c7e-becd-b8e9ff7df687")}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};
|
|
@@ -19,17 +19,17 @@ import{g as A,V as a,O as D,e as de,b5 as Q,u as I,w as M,a_ as J,o as m,ac as A
|
|
|
19
19
|
display: flex;
|
|
20
20
|
align-items: center;
|
|
21
21
|
justify-content: space-between;
|
|
22
|
-
`,
|
|
22
|
+
`,qe=x(R)`
|
|
23
23
|
background-color: ${e=>e.color};
|
|
24
24
|
height: 12px;
|
|
25
25
|
width: 12px;
|
|
26
26
|
display: inline-block;
|
|
27
27
|
margin-right: ${m.sp2};
|
|
28
|
-
`,
|
|
28
|
+
`,Ue=x(R)`
|
|
29
29
|
text-align: left;
|
|
30
30
|
`,Ze=x(R)`
|
|
31
31
|
text-align: right;
|
|
32
|
-
`,
|
|
32
|
+
`,Je=({active:e,payload:r})=>{const t=[];return r?.forEach(n=>{const o=n.name;if(e===!0){const l=n.payload,i=n.color,h=o!=null&&l.record[o]!=null?l.record[o].amount:void 0;t.push({barName:D.getLocalizedStrings().chartCard.cashInCashOut[N(o)],value:h,color:i})}}),t},be=e=>e.map((r,t)=>a.jsxs(Xe,{color:r.color,children:[a.jsxs(Ue,{children:[a.jsx(qe,{color:r.color}),`${r.barName}:`]}),a.jsx(Ze,{children:`${T(r.value)}`})]},r.barName+t)),Qe=e=>{const r=Je({...e});return r.length===0?null:a.jsx(Fe,{children:a.jsxs(Ye,{children:[be(r.slice(0,r.length-1)),r.length?a.jsx(He,{}):null,be(r.slice(-1))]})})},ea=ee.memo(Qe),aa=(e,r,t,n,o)=>{let l=[],i=[],h=[];t!=null&&t.balances.length>0&&(l=K("cash_in","actual",t)),n!=null&&n.balances.length>0&&(i=K("cash_out","actual",n)),o!=null&&o.balances.length>0&&(h=oe("net_cash_flow","actual",o));const c=b("cash_in","actual"),s=b("cash_out","actual"),f=b("net_cash_flow","actual"),p=l.length>0?c:i.length>0?s:void 0,d={};return d[c]=l,d[s]=i,d[f]=h,p!=null?Z(e,r,p,d):void 0},ye=[b("cash_in","actual"),b("cash_out","actual"),b("net_cash_flow","actual")],ra=x.div`
|
|
33
33
|
width: ${e=>e.width}px;
|
|
34
34
|
height: ${e=>e.height}px;
|
|
35
35
|
|
|
@@ -42,7 +42,7 @@ import{g as A,V as a,O as D,e as de,b5 as Q,u as I,w as M,a_ as J,o as m,ac as A
|
|
|
42
42
|
`,oa=x(ge)`
|
|
43
43
|
margin-left: ${e=>X.legendLabelMarginLeft.valuePx(e.windowSize)};
|
|
44
44
|
color: ${e=>e.theme.colors.primary};
|
|
45
|
-
`;function Tr({selectedRangeReport:e,timeframe:r,highlightedRange:t,width:n,height:o,showBarHoverBackground:l,isDetailPage:i,onCOABalancesRangeChanged:h}){const
|
|
45
|
+
`;function Tr({selectedRangeReport:e,timeframe:r,highlightedRange:t,width:n,height:o,showBarHoverBackground:l,isDetailPage:i,onCOABalancesRangeChanged:h}){const c=A(),s=P.useRef(!1);P.useEffect(()=>{s.current=!0},[]);const f=[c.colors.graphColor33,c.colors.graphColor36,c.colors.graphColor35],p=(_,w=c.colors.graphColor08)=>_<f.length?f[_]:w,d=aa(e.firstMonthOfFY,ye,e.cashIn,e.cashOut,e.netCashFlow),y=()=>{const _=[];return ye.forEach((w,C)=>{const L=i===!0&&!s.current;_.push(a.jsx(ce,{name:w,animationDuration:L?500:void 0,style:{cursor:"pointer"},legendType:"square",dataKey:$=>{const k=$.record;return(k[w]!=null&&k[w].amount!=null?k[w].amount:void 0)?.amount??0},fill:p(C)},w))}),_};return d==null?null:a.jsx(ta,{chartData:d,timeframe:r,showBarHoverBackground:l,barElements:y(),customToolTipContent:({active:_,payload:w})=>a.jsx(ea,{active:_,payload:w}),width:n,height:o,onCOABalancesRangeChanged:h,highlightedRange:t,isDetailPage:i===!0})}const ta=({chartData:e,timeframe:r,barElements:t,customToolTipContent:n,highlightedRange:o,width:l,height:i,showBarHoverBackground:h,isDetailPage:c,onCOABalancesRangeChanged:s})=>{const f=de(),p=A(),d=e.timeseries,y=ae(e),_=d.map($=>$.label),w=h!==!1,C=$=>{if(!c||$?.activePayload==null||$?.activePayload.length===0)return;const k=$.activePayload[0];if(k?.payload?.timeLabel?.label==null)return;const v=$.activeTooltipIndex,O=k.payload.timeLabel.label;if(o==null)return;const u=re(O,_,o.numberOfPeriods),j=u[1]===void 0?_.length-1:_.indexOf(u[1]),S={...o,thisPeriod:{startDate:d[j].startDate,endDate:d[j].endDate}};s?.(d[v],r,S)},L=c?(l-60)/W.cash_in_cash_out*(W.cash_in_cash_out-e.recordByTimeseries.length):20;return a.jsx(ra,{"data-testid":Ae("dashboard-cash-in-cash-out-timeframe",r),width:l,height:i,windowSize:f,children:a.jsx(J,{children:({height:$,width:k})=>a.jsxs(Te,{data:e.recordByTimeseries,barCategoryGap:c?void 0:"12%",maxBarSize:c?I[10]:22,barGap:c?void 0:2,margin:{top:5,right:L,left:0,bottom:I[4]},height:$,width:k,style:{display:"flex",flex:"1 1 auto"},onClick:C,children:[a.jsx(te,{horizontal:!0,vertical:!1,strokeWidth:.5,stroke:p.colors.grey3}),a.jsx(le,{dataKey:v=>v.timeLabel.label,type:"category",axisLine:{stroke:p.colors.grey3,strokeWidth:.5},tickLine:!1,tick:{color:p.colors.hero,...M.extraSmallRegular.cssObject}}),a.jsx(ne,{type:"number",axisLine:!1,tickLine:!1,tick:{color:p.colors.hero,...M.extraSmallRegular.cssObject},tickFormatter:v=>Q("0,0.[00]a",v,y)}),a.jsx(se,{wrapperStyle:{zIndex:2},cursor:w?{stroke:p.colors.background,strokeDasharray:"1, 1",strokeWidth:1,fill:p.colors.background}:!1,content:n,allowEscapeViewBox:{x:!1,y:!0}}),t,c?a.jsx(pe,{verticalAlign:"bottom",wrapperStyle:{width:"100%",display:"flex",justifyContent:"center",left:"initial",bottom:m.sp0},formatter:v=>a.jsx(oa,{windowSize:f,children:D.getLocalizedStrings().chartCard.cashInCashOut[N(v)]})}):null]})})})},la=x.div`
|
|
46
46
|
display: flex;
|
|
47
47
|
`,na=x.div`
|
|
48
48
|
flex: display;
|
|
@@ -51,16 +51,16 @@ import{g as A,V as a,O as D,e as de,b5 as Q,u as I,w as M,a_ as J,o as m,ac as A
|
|
|
51
51
|
flex-direction: column;
|
|
52
52
|
padding: ${m.sp3};
|
|
53
53
|
background-color: ${e=>e.theme.colors.black};
|
|
54
|
-
`,
|
|
54
|
+
`,sa=x(R)`
|
|
55
55
|
color: ${e=>e.color??g.neutralGrey2Light};
|
|
56
56
|
text-align: left;
|
|
57
57
|
display: flex;
|
|
58
58
|
align-items: center;
|
|
59
59
|
justify-content: space-between;
|
|
60
|
-
`,
|
|
60
|
+
`,ca=({active:e,payload:r})=>{const t=[];return r?.forEach(n=>{const o=n.name;if(e===!0){const l=n.payload,i=n.color,h=o!=null&&l.record[o]!=null?l.record[o].amount:void 0;t.push({barName:D.getLocalizedStrings().reportTitleById.cash_position,value:h,color:i})}}),t},ia=e=>{const r=ca(e);return r.length===0?null:a.jsx(la,{children:a.jsx(na,{children:r.map((t,n)=>a.jsx(sa,{color:t.color,children:`${t.barName}: ${T(t.value)}`},t.barName+n))})})},ua=ee.memo(ia),ha=(e,r,t)=>{let n=[];t!=null&&t.balances.length>0&&(n=G("cash_position","actual",t));const o=b("cash_position","actual"),l={};return l[o]=n,n.length>0?Z(e,r,o,l):void 0},da=x.div`
|
|
61
61
|
width: ${e=>e.width}px;
|
|
62
62
|
height: ${e=>e.height}px;
|
|
63
|
-
`,Ce=[b("cash_position","actual")];function Wr({selectedRangeReport:e,timeframe:r,highlightedRange:t,width:n,height:o,showBarHoverBackground:l,isDetailPage:i,onCOABalancesRangeChanged:h}){const
|
|
63
|
+
`,Ce=[b("cash_position","actual")];function Wr({selectedRangeReport:e,timeframe:r,highlightedRange:t,width:n,height:o,showBarHoverBackground:l,isDetailPage:i,onCOABalancesRangeChanged:h}){const c=A(),s=P.useRef(!1);P.useEffect(()=>{s.current=!0},[]);const f=ha(e.firstMonthOfFY,Ce,e.cashPosition),p=()=>{const d=[];return Ce.forEach(y=>{const _=i===!0&&!s.current;d.push(a.jsx(ce,{name:y,animationDuration:_?500:void 0,style:{cursor:"pointer"},dataKey:w=>{const C=w.record;return(C[y]!=null&&C[y].amount!=null?C[y].amount:void 0)?.amount??0},fill:c.colors.graphColor17},y))}),d};return f==null?null:a.jsx(ga,{chartData:f,timeframe:r,showBarHoverBackground:l,barElements:p(),customToolTipContent:({active:d,payload:y})=>a.jsx(ua,{active:d,payload:y}),width:n,height:o,onCOABalancesRangeChanged:h,highlightedRange:t,isDetailPage:i===!0})}const ga=({chartData:e,timeframe:r,barElements:t,customToolTipContent:n,highlightedRange:o,width:l,height:i,showBarHoverBackground:h,isDetailPage:c,onCOABalancesRangeChanged:s})=>{const f=A(),p=e.timeseries,d=ae(e),y=p.map(L=>L.label),_=h!==!1,w=L=>{if(!c||L?.activePayload==null||L?.activePayload.length===0)return;const $=L.activePayload[0];if($?.payload?.timeLabel?.label==null)return;const k=L.activeTooltipIndex,v=$.payload.timeLabel.label;if(o==null)return;const O=re(v,y,o.numberOfPeriods),u=O[1]===void 0?y.length-1:y.indexOf(O[1]),j={...o,thisPeriod:{startDate:p[u].startDate,endDate:p[u].endDate}};s?.(p[k],r,j)},C=c?(l-60)/W.cash_position*(W.cash_position-e.recordByTimeseries.length):20;return a.jsx(da,{width:l,height:i,children:a.jsx(J,{children:({height:L,width:$})=>a.jsxs(Te,{width:$,height:L,data:e.recordByTimeseries,barCategoryGap:"25%",maxBarSize:c?I[10]:30,margin:{top:5,right:C,left:0,bottom:5},style:{display:"flex",flex:"1 1 auto"},onClick:w,children:[a.jsx(te,{horizontal:!0,vertical:!1,strokeWidth:.5,stroke:f.colors.grey3}),a.jsx(le,{dataKey:k=>k.timeLabel.label,type:"category",axisLine:{stroke:f.colors.grey3,strokeWidth:.5},tickLine:!1,tick:{color:f.colors.hero,...M.extraSmallRegular.cssObject}}),a.jsx(ne,{type:"number",axisLine:!1,tickLine:!1,tick:{color:f.colors.hero,...M.extraSmallRegular.cssObject},tickFormatter:k=>Q("0,0.[00]a",k,d)}),a.jsx(se,{wrapperStyle:{zIndex:2},cursor:_?{stroke:f.colors.background,strokeDasharray:"1, 1",strokeWidth:1,fill:f.colors.background}:!1,content:n,allowEscapeViewBox:{x:!1,y:!0}}),t]})})})},pa=x.div`
|
|
64
64
|
display: flex;
|
|
65
65
|
`,ma=x.div`
|
|
66
66
|
display: flex;
|
|
@@ -128,7 +128,7 @@ import{g as A,V as a,O as D,e as de,b5 as Q,u as I,w as M,a_ as J,o as m,ac as A
|
|
|
128
128
|
`,ve=x(F)`
|
|
129
129
|
display: flex;
|
|
130
130
|
flex-direction: column;
|
|
131
|
-
`,ke=x(H)``,ka=(e,r)=>{const t=b(N(e),"forecast");if(r.record[t]==null)return;const n=r.record[e].amount,o=r.record[t].amount,l=Math.floor((n.amount-o.amount)*100/100),i={...n,amount:l},h=o.amount!==0?Math.floor((n.amount-o.amount)/o.amount*100)/100:void 0;return{value:o,change:i,percent:h,forecastPercent:r.record[t].percentValue}},$a=({active:e,payload:r,mode:t})=>{const n=[],o={barName:D.getLocalizedStrings().chartCard.netBurnOrIncome.gross_burn,actual:void 0,color:g.neutralGrey2Dark,forecast:void 0};let l={amount:0,currencyCode:"",currencySymbol:""},i={amount:0,currencyCode:"",currencySymbol:""};const h=b("income","actual"),
|
|
131
|
+
`,ke=x(H)``,ka=(e,r)=>{const t=b(N(e),"forecast");if(r.record[t]==null)return;const n=r.record[e].amount,o=r.record[t].amount,l=Math.floor((n.amount-o.amount)*100/100),i={...n,amount:l},h=o.amount!==0?Math.floor((n.amount-o.amount)/o.amount*100)/100:void 0;return{value:o,change:i,percent:h,forecastPercent:r.record[t].percentValue}},$a=({active:e,payload:r,mode:t})=>{const n=[],o={barName:D.getLocalizedStrings().chartCard.netBurnOrIncome.gross_burn,actual:void 0,color:g.neutralGrey2Dark,forecast:void 0};let l={amount:0,currencyCode:"",currencySymbol:""},i={amount:0,currencyCode:"",currencySymbol:""};const h=b("income","actual"),c=b("cogs","actual"),s=b("expenses","actual"),f=b("net_burn_or_income","actual");return r?.forEach(p=>{const d=p.name;if(e===!0){const y=p.payload,_=p.color,w=d!=null&&y.record[d]!=null?y.record[d].amount:void 0;let C;if(d.includes("forecast")!==!0)switch(t==="forecast_mode"&&(C=y.record[d]!=null?ka(d,y):void 0),d){case c:case s:w!=null&&(l.currencyCode===""?l={...w}:l.amount=l.amount+w.amount),C!=null&&(i.currencyCode===""?i={...C.value}:i.amount=i.amount+C.value.amount),n.push({barName:D.getLocalizedStrings().chartCard.netBurnOrIncome[N(d)],actual:w,forecast:C,color:_});break;case f:{const L=w!=null&&w.amount>=0?D.getLocalizedStrings().chartCard.netBurnOrIncome.net_income:D.getLocalizedStrings().chartCard.netBurnOrIncome.net_burn;n.push({barName:L,actual:w,color:_,percent:y.record[d]?.percentValue,forecast:C});break}case h:default:n.push({barName:D.getLocalizedStrings().chartCard.netBurnOrIncome[N(d)],actual:w,color:_,forecast:C})}}}),o.actual=l,o.forecast=i!=null&&l!=null?{value:i,change:{...l,amount:Math.floor((l.amount-i.amount)*100/100)},percent:i.amount!==0?Math.floor((l.amount-i.amount)/i.amount*100)/100:0}:void 0,e===!0&&n.splice(n.length-1,0,o),n},$e=e=>e.map((r,t)=>a.jsxs(Ne,{color:r.color,showPercent:r.percent!=null,children:[a.jsxs(Ca,{children:[a.jsx(Ie,{color:r.barName===D.getLocalizedStrings().chartCard.netBurnOrIncome.gross_burn?"transparent":r.color}),`${r.barName}:`]}),a.jsxs(va,{children:[a.jsx(je,{children:`${T(r.actual)}`}),r.percent!=null?a.jsx(je,{children:V("0,0.0%",r.percent)}):null]})]},r.barName+t)),we=e=>e.map((r,t)=>a.jsxs(Ne,{color:r.color,showPercent:r.percent!=null,children:[a.jsxs(ja,{children:[a.jsx(Ie,{color:r.barName===D.getLocalizedStrings().chartCard.netBurnOrIncome.gross_burn?"transparent":r.color}),`${r.barName}:`]}),a.jsx(H,{children:a.jsxs(ve,{children:[r.actual!=null?`${T(r.actual)}`:"-",a.jsx(ke,{children:r.percent!=null?V("0,0.0%",r.percent):null})]})}),a.jsx(H,{children:a.jsxs(ve,{children:[r.forecast!=null?`${T(r.forecast.value)}`:"-",a.jsx(ke,{children:r.forecast!=null&&r.forecast.forecastPercent!=null?V("0,0.0%",r.forecast.forecastPercent):null})]})}),r.forecast!=null?a.jsx(H,{isChange:!0,children:`${T(r.forecast.change)}`}):a.jsx(H,{children:"-"}),r.forecast!=null?a.jsx(H,{isChange:!0,children:V("0,0.0%",r.forecast.percent)}):a.jsx(H,{children:"-"})]},r.barName+t)),wa=e=>{if(e.length>0){for(const r of e)if(r.actual!=null)return r.actual.currencySymbol}return""},_a=({barLabelsWithValues:e})=>a.jsxs(ma,{children:[a.jsxs(fa,{children:[a.jsx(xa,{}),a.jsx(ie,{children:D.getLocalizedStrings().chartCard.tooltip.actual}),a.jsx(ie,{children:D.getLocalizedStrings().chartCard.tooltip.forecast}),a.jsxs(ie,{children:[D.getLocalizedStrings().chartCard.tooltip.change," ",wa(e)]}),a.jsx(ie,{children:D.getLocalizedStrings().chartCard.tooltip.change_percent})]}),a.jsxs(ya,{children:[we(e.slice(0,e.length-2)),e.length?a.jsx(We,{}):null,we(e.slice(-2))]})]}),La=({barLabelsWithValues:e})=>a.jsx(pa,{children:a.jsxs(ba,{children:[$e(e.slice(0,e.length-2)),e.length?a.jsx(We,{}):null,$e(e.slice(-2))]})}),Da=e=>{const r=$a({...e});return r.length===0?null:a.jsx(a.Fragment,{children:e.mode==="forecast_mode"?a.jsx(_a,{barLabelsWithValues:r}):a.jsx(La,{barLabelsWithValues:r})})},Sa=ee.memo(Da),Ba=(e,r,t,n,o,l,i)=>{let h=[],c=[],s=[],f=[];n!=null&&n.balances.length>0&&(h=K("income","actual",n)),o!=null&&o.balances.length>0&&(c=K("cogs","actual",o)),l!=null&&l.balances.length>0&&(s=G("expenses","actual",l)),i!=null&&i.balances.length>0&&(f=oe("net_burn_or_income","actual",i));const p=b("income","actual"),d=b("cogs","actual"),y=b("expenses","actual"),_=b("net_burn_or_income","actual"),w=h.length>0?p:c.length>0?d:s.length>0?y:void 0,C={};return C[p]=h,C[d]=c,C[y]=s,C[_]=f,t==="forecast_mode"&&Object.assign(C,Oa(n,o,l,i)),w!=null?Z(e,r,w,C):void 0},Oa=(e,r,t,n)=>{let o=[],l=[],i=[],h=[];e!=null&&e.balances.length>0&&(o=K("income","forecast",e)),r!=null&&r.balances.length>0&&(l=K("cogs","forecast",r)),t!=null&&t.balances.length>0&&(i=G("expenses","forecast",t)),n!=null&&n.balances.length>0&&(h=oe("net_burn_or_income","forecast",n));const c=b("income","forecast"),s=b("cogs","forecast"),f=b("expenses","forecast"),p=b("net_burn_or_income","forecast"),d={};return d[c]=o,d[s]=l,d[f]=i,d[p]=h,d},za=[b("income","actual"),b("cogs","actual"),b("expenses","actual"),b("net_burn_or_income","actual")],Pa=[b("income","actual"),b("cogs","actual"),b("expenses","actual"),b("net_burn_or_income","actual"),b("income","forecast"),b("cogs","forecast"),b("expenses","forecast"),b("net_burn_or_income","forecast")],Ra=x.div`
|
|
132
132
|
width: ${e=>e.width}px;
|
|
133
133
|
height: ${e=>e.height}px;
|
|
134
134
|
|
|
@@ -141,7 +141,7 @@ import{g as A,V as a,O as D,e as de,b5 as Q,u as I,w as M,a_ as J,o as m,ac as A
|
|
|
141
141
|
`,Ta=x(ge)`
|
|
142
142
|
margin-left: ${e=>X.legendLabelMarginLeft.valuePx(e.windowSize)};
|
|
143
143
|
color: ${e=>e.theme.colors.primary};
|
|
144
|
-
`;function Nr({selectedRangeReport:e,timeframe:r,highlightedRange:t,width:n,height:o,showBarHoverBackground:l,isDetailPage:i,mode:h,onCOABalancesRangeChanged:
|
|
144
|
+
`;function Nr({selectedRangeReport:e,timeframe:r,highlightedRange:t,width:n,height:o,showBarHoverBackground:l,isDetailPage:i,mode:h,onCOABalancesRangeChanged:c}){const s=A(),f=P.useRef(!1);P.useEffect(()=>{f.current=!0},[]);const p=[s.colors.graphColor36,s.colors.graphColor06,s.colors.graphColor31,s.colors.graphColor12],d=[s.colors.graphColor04,s.colors.graphColor10,s.colors.graphColor32,s.colors.graphColor13,s.colors.graphColor04Dark,s.colors.graphColor10Dark,s.colors.graphColor32Dark,s.colors.graphColor13Dark],y=h==="forecast_mode"?d:p,_=h==="forecast_mode"?Pa:za,w=(u,j=s.colors.graphColor04)=>u<y.length?y[u]:j,C=(e.reportId,Ba(e.firstMonthOfFY,_,h,e.sections.income,e.sections.cogs,e.sections.expenses,e.calculatedSections.netBurnOrIncome)),L=u=>{const{cx:j,cy:S,fill:B,stroke:z,value:E}=u;return E==null?a.jsx(a.Fragment,{}):a.jsx("circle",{cx:j,cy:S,r:4,stroke:B,strokeWidth:2,fill:z})},$=u=>{const{cx:j,cy:S,fill:B,stroke:z,value:E}=u;return E==null?a.jsx(a.Fragment,{}):a.jsx("circle",{cx:j,cy:S,r:5,stroke:z,strokeWidth:2,fill:B})},k=(u,j)=>a.jsx(me,{name:u,type:"monotone",legendType:"plainline",isAnimationActive:!1,dataKey:S=>{const B=S.record;return(B[u]!=null&&B[u].amount!=null?B[u].amount:void 0)?.amount},dot:a.jsx(L,{}),strokeWidth:1.5,stroke:w(j),strokeDasharray:"3 3",activeDot:a.jsx($,{})},u),v=(u,j,S)=>a.jsx(ce,{name:u,animationDuration:S?500:void 0,style:{cursor:"pointer"},legendType:"square",dataKey:B=>{const z=B.record;return(z[u]!=null&&z[u].amount!=null?z[u].amount:void 0)?.amount??0},fill:w(j)},u),O=()=>{const u=[];return _.forEach((j,S)=>{const B=i===!0&&!f.current;j.endsWith("_forecast")?u.push(k(j,S)):u.push(v(j,S,B))}),u};return C==null?null:a.jsx(Wa,{chartData:C,timeframe:r,showBarHoverBackground:l,barElements:O(),customToolTipContent:({active:u,payload:j})=>a.jsx(Sa,{active:u,payload:j,mode:h}),width:n,height:o,onCOABalancesRangeChanged:c,highlightedRange:t,isDetailPage:i===!0})}const Wa=({chartData:e,timeframe:r,barElements:t,customToolTipContent:n,highlightedRange:o,width:l,height:i,showBarHoverBackground:h,isDetailPage:c,onCOABalancesRangeChanged:s})=>{const f=de(),p=A(),d=ae(e),y=e.timeseries,_=y.map($=>$.label),w=h!==!1,C=$=>{if(!c||$?.activePayload==null||$?.activePayload.length===0)return;const k=$.activePayload[0];if(k?.payload?.timeLabel?.label==null)return;const v=$.activeTooltipIndex,O=k.payload.timeLabel.label;if(o==null)return;const u=re(O,_,o.numberOfPeriods),j=u[1]===void 0?_.length-1:_.indexOf(u[1]),S={...o,thisPeriod:{startDate:y[j].startDate,endDate:y[j].endDate}};s?.(y[v],r,S)},L=c?(l-60)/W.net_burn_or_income*(W.net_burn_or_income-e.recordByTimeseries.length):20;return a.jsx(Ra,{width:l,height:i,windowSize:f,children:a.jsx(J,{children:({height:$,width:k})=>a.jsxs(fe,{data:e.recordByTimeseries,barCategoryGap:c?void 0:"12%",maxBarSize:c?I[10]:22,barGap:c?void 0:2,margin:{top:5,right:L,left:0,bottom:I[4]},height:$,width:k,style:{display:"flex",flex:"1 1 auto"},onClick:C,children:[a.jsx(te,{horizontal:!0,vertical:!1,strokeWidth:.5,stroke:p.colors.grey3}),a.jsx(le,{dataKey:v=>v.timeLabel.label,type:"category",axisLine:{stroke:p.colors.grey3,strokeWidth:.5},tickLine:!1,tick:{color:p.colors.hero,...M.extraSmallRegular.cssObject}}),a.jsx(ne,{type:"number",axisLine:!1,tickLine:!1,tick:{color:p.colors.hero,...M.extraSmallRegular.cssObject},tickFormatter:v=>Q("0,0.[00]a",v,d)}),a.jsx(se,{wrapperStyle:{zIndex:2},cursor:w?{stroke:p.colors.background,strokeWidth:(k-60)/W.net_burn_or_income,fill:p.colors.background}:!1,content:n,allowEscapeViewBox:{x:!1,y:!0}}),t,c?a.jsx(pe,{verticalAlign:"bottom",wrapperStyle:{width:"100%",display:"flex",justifyContent:"center",left:"initial",bottom:m.sp0},iconSize:I[3],formatter:v=>a.jsx(Ta,{windowSize:f,children:v.endsWith("_forecast")===!0?D.getLocalizedStrings().chartCard.netBurnOrIncome[v]:D.getLocalizedStrings().chartCard.netBurnOrIncome[N(v)]})}):null]})})})},Na=x.div`
|
|
145
145
|
display: flex;
|
|
146
146
|
`,Ia=x.div`
|
|
147
147
|
flex: display;
|
|
@@ -189,18 +189,18 @@ import{g as A,V as a,O as D,e as de,b5 as Q,u as I,w as M,a_ as J,o as m,ac as A
|
|
|
189
189
|
`,Va=x(R)`
|
|
190
190
|
text-align: left;
|
|
191
191
|
width: 162px;
|
|
192
|
-
`,
|
|
192
|
+
`,q=x(F)`
|
|
193
193
|
text-align: right;
|
|
194
194
|
flex: 1;
|
|
195
|
-
`,Fa=({active:e,payload:r,barName:t})=>{const n=[];if(r!=null&&e===!0){const o=r.filter(
|
|
195
|
+
`,Fa=({active:e,payload:r,barName:t})=>{const n=[];if(r!=null&&e===!0){const o=r.filter(c=>c.name==t)[0],l=o.payload,i=o.color,h=t!=null&&l.record[t]!=null?l.record[t].amount:void 0;if(!t?.endsWith("_forecast")){let c;if(t.includes("forecast")!==!0){c=l.record[t]!=null?Ha(t,l):void 0;const s={amount:0,currencyCode:"",currencySymbol:""},f={amount:0,currencyCode:"",currencySymbol:""};let p;for(p in l.record){const C=l.record[p].amount;p.endsWith("_actual")?(s.amount+=l.record[p].amount?.amount??0,s.currencyCode=C!=null?C.currencyCode:s.currencyCode,s.currencySymbol=C!=null?C.currencySymbol:s.currencySymbol):p.endsWith("_forecast")&&(f.amount+=l.record[p].amount?.amount??0,f.currencyCode=C!=null?C.currencyCode:f.currencyCode,f.currencySymbol=C!=null?C.currencySymbol:f.currencySymbol)}const d=Math.floor((s?.amount-f?.amount)*100/100),y={...s,amount:d},_=f.amount!==0?Math.floor((s.amount-f.amount)/f.amount*100)/100:0,w={value:f,change:y,percent:_};n.push({barName:N(t),actual:h,forecast:c,color:i}),n.push({barName:D.getLocalizedStrings().chartCard.total,actual:s,forecast:w,color:g.neutralGrey1Light})}}}return n},Ha=(e,r)=>{const t=b(N(e),"forecast");if(r.record[t]==null)return;const n=r.record[e].amount,o=r.record[t].amount,l={...n,amount:o!=null?Math.floor((n.amount-o.amount)*100/100):n.amount},i=o!=null&&o.amount!==0?Math.floor((n.amount-o.amount)/o.amount*100)/100:void 0;return{value:o,change:l,percent:i}},Le=e=>a.jsxs(Ga,{color:e.color,children:[a.jsx(Va,{children:`${e.barName}:`}),a.jsx(q,{children:e.actual!=null?`${T(e.actual)}`:"-"}),a.jsx(q,{children:e.forecast!=null?`${T(e.forecast.value)}`:"-"}),e.forecast!=null?a.jsx(q,{isChange:!0,children:`${T(e.forecast.change)}`}):a.jsx(q,{children:"-"}),e.forecast!=null?a.jsx(q,{isChange:!0,children:V("0,0.0%",e.forecast.percent)}):a.jsx(q,{children:"-"})]}),Ya=e=>{if(e.length>0){for(const r of e)if(r.actual!=null)return r.actual.currencySymbol}return""},Xa=({barLabelsWithValues:e})=>a.jsx(Na,{children:a.jsxs(Ia,{children:[a.jsx(_e,{color:e[0].color,children:`${e[0].barName}: ${T(e[0].actual)}`}),a.jsx(Ee,{}),a.jsx(_e,{children:`${D.getLocalizedStrings().chartCard.total}: ${T(e[1].actual)}`})]})}),qa=({barLabelsWithValues:e})=>a.jsxs(Ma,{children:[a.jsxs(Ka,{children:[a.jsx(Ea,{}),a.jsx(ue,{children:D.getLocalizedStrings().chartCard.tooltip.actual}),a.jsx(ue,{children:D.getLocalizedStrings().chartCard.tooltip.forecast}),a.jsxs(ue,{children:[D.getLocalizedStrings().chartCard.tooltip.change," ",Ya(e)]}),a.jsx(ue,{children:D.getLocalizedStrings().chartCard.tooltip.change_percent})]}),a.jsxs(Aa,{children:[Le(e[0]),a.jsx(Ee,{}),Le(e[1])]})]}),Ua=e=>{const r=Fa({...e});return r.length===0?null:a.jsx(a.Fragment,{children:e.mode==="forecast_mode"?a.jsx(qa,{barLabelsWithValues:r}):a.jsx(Xa,{barLabelsWithValues:r})})},Za=ee.memo(Ua),Ja=(e,r)=>{const t=[],n={};let o;return r!=null&&r.classes.length!=0&&r.classes.forEach(l=>{const i=G(l.class.className,"actual",l.childrenBalancesTotal),h=b(l.class.className,"actual");n[h]=i,t.push(h),o==null&&i.length>0&&(o=b(l.class.className,"actual"))}),o!=null?Z(e,t,o,n):void 0},De=[g.graphColor34,g.graphColor05,g.graphColor08,g.graphColor11,g.graphColor13,g.graphColor19,g.graphColor29,g.graphColor28,g.graphColor20,g.graphColor21,g.graphColor22,g.graphColor14,g.graphColor35,g.graphColor31,g.graphColor33,g.graphColor32,g.graphColor36,g.graphColor02,g.graphColor06,g.graphColor04,g.graphColor10,g.graphColor12,g.graphColor15,g.graphColor18,g.graphColor17,g.graphColor07,g.graphColor34Dark,g.graphColor05Dark,g.graphColor08Dark,g.graphColor11Dark,g.graphColor13Dark,g.graphColor19Dark,g.graphColor29Dark,g.graphColor28Dark,g.graphColor20Dark,g.graphColor21Dark,g.graphColor22Dark,g.graphColor14Dark,g.graphColor35Dark,g.graphColor31Dark,g.graphColor33Dark,g.graphColor32Dark,g.graphColor36Dark,g.graphColor02Dark,g.graphColor06Dark,g.graphColor04Dark,g.graphColor10Dark,g.graphColor12Dark,g.graphColor15Dark,g.graphColor18Dark,g.graphColor17Dark,g.graphColor07Dark];class Y{_barColors;_barColorsKeyWise;_defaultColor;constructor(){this._defaultColor=g.graphColor34,this._barColors=De.slice(),this._barColorsKeyWise=new Map}static#e=new Y;getBarColor(r){const t=Y.instance();return t._barColorsKeyWise.has(r)||(t._barColors.length===0&&(t._barColors=De.slice()),t._barColorsKeyWise.set(r,t._barColors.shift()??t._defaultColor)),t._barColorsKeyWise.get(r)}shouldUpdate(r){const t=Y.instance(),n=Array.from(t._barColorsKeyWise.keys()).sort();return!Ve(n,r)}static init(){return this.#e=new Y,this.#e}static instance(){return this.#e}}const Qa=Y.instance(),er=(e,r,t)=>{const n=[],o={};let l,i=!1;if(t!=null&&t.accountGroups.length!=0?t.accountGroups.forEach(h=>{const c=G(h.accountGroupName,"actual",h),s=b(h.accountGroupName,"actual");o[s]=c,n.push(s),l==null&&c.length>0&&(l=b(h.accountGroupName,"actual"))}):t!=null&&t.accounts.length!=0&&(i=!0,t.accounts.forEach(h=>{const c=G(h.account.accountName,"actual",h.account.balancesInTimeframe),s=b(h.account.accountName,"actual");o[s]=c,n.push(s),l==null&&c.length>0&&(l=b(h.account.accountName,"actual"))})),t!=null&&t.accountGroups.length===0&&t.accounts.length===0){const h=D.getLocalizedStrings().chartCard.total,c=G(h,"actual",t);if(c.length!==0){const s=b(h,"actual");o[s]=c,l=s,n.push(s)}}return r==="forecast_mode"&&Object.assign(o,ar(n,t)),l!=null?Z(e,n,l,o,i):void 0},ar=(e,r)=>{const t={};let n;if(r!=null&&r.accountGroups.length!=0?r.accountGroups.forEach(o=>{const l=G(o.accountGroupName,"forecast",o),i=b(o.accountGroupName,"forecast");t[i]=l,e.push(i),n==null&&l.length>0&&(n=b(o.accountGroupName,"forecast"))}):r!=null&&r.accounts.length!=0&&r.accounts.forEach(o=>{const l=G(o.account.accountName,"forecast",o.account.balancesInTimeframe),i=b(o.account.accountName,"forecast");t[i]=l,e.push(i),n==null&&l.length>0&&(n=b(o.account.accountName,"forecast"))}),r!=null&&r.accountGroups.length===0&&r.accounts.length===0){const o=D.getLocalizedStrings().chartCard.total,l=G(o,"forecast",r);if(l.length!==0){const i=b(o,"forecast");t[i]=l,n=i,e.push(i)}}return t},rr=x.div`
|
|
196
196
|
width: ${e=>e.width}px;
|
|
197
197
|
height: ${e=>e.height}px;
|
|
198
|
-
`,or=e=>{const{cx:r,cy:t,fill:n,stroke:o,value:l}=e;return l==null?a.jsx(a.Fragment,{}):a.jsx("circle",{cx:r,cy:t,r:4,stroke:n,strokeWidth:2,fill:o})},tr=e=>{const{cx:r,cy:t,fill:n,stroke:o,value:l}=e;return l==null?a.jsx(a.Fragment,{}):a.jsx("circle",{cx:r,cy:t,r:5,stroke:o,strokeWidth:2,fill:n})};function Ir({selectedRangeReport:e,timeframe:r,highlightedRange:t,width:n,height:o,showBarHoverBackground:l,isDetailPage:i,mode:h,onCOABalancesRangeChanged:
|
|
198
|
+
`,or=e=>{const{cx:r,cy:t,fill:n,stroke:o,value:l}=e;return l==null?a.jsx(a.Fragment,{}):a.jsx("circle",{cx:r,cy:t,r:4,stroke:n,strokeWidth:2,fill:o})},tr=e=>{const{cx:r,cy:t,fill:n,stroke:o,value:l}=e;return l==null?a.jsx(a.Fragment,{}):a.jsx("circle",{cx:r,cy:t,r:5,stroke:o,strokeWidth:2,fill:n})};function Ir({selectedRangeReport:e,timeframe:r,highlightedRange:t,width:n,height:o,showBarHoverBackground:l,isDetailPage:i,mode:h,onCOABalancesRangeChanged:c}){const s=P.useRef(!1),[f,p]=P.useState(Qa),[d,y]=P.useState(void 0),_=A(),w=P.useRef([]);P.useEffect(()=>{s.current=!0},[]),P.useEffect(()=>{f.shouldUpdate(w.current)===!0&&p(Y.init())},[]),P.useEffect(()=>{let k=[];if(e.reportId==="operating_expenses"){const v=e.sections.expenses;v.accountGroups.length===0&&v.accounts.length===0?k.push(D.getLocalizedStrings().chartCard.total):v.accountGroups.length!=0?k=v.accountGroups.map(O=>O.accountGroupName).sort():k=v.accounts.map(O=>O.account).map(O=>O.accountName).sort()}else k=e.sections.expenses.classes.map(v=>v.class.className).sort();w.current=k},[e,f]);const C=P.useMemo(()=>e.reportId==="operating_expenses"?er(e.firstMonthOfFY,h,e.sections.expenses):Ja(e.firstMonthOfFY,e.sections.expenses),[e,h]),L=P.useCallback(()=>{const k=u=>a.jsx(me,{name:u,type:"monotone",legendType:"plainline",isAnimationActive:!1,dot:a.jsx(or,{}),activeDot:a.jsx(tr,{}),dataKey:j=>{const S=j.record;let B,z;for(z in S)if(z.endsWith("_forecast")){const E=S[z].amount;E!=null&&(B==null?B={...E}:B.amount+=E.amount)}return B?.amount},stroke:_.colors.grey1,strokeDasharray:"3 3",strokeWidth:1.5},u),v=(u,j)=>a.jsx(ce,{name:u,animationDuration:j?500:void 0,style:{cursor:"pointer"},dataKey:S=>{const B=S.record;return(B[u]!=null&&B[u].amount!=null?B[u].amount:void 0)?.amount??0},stackId:"a",fill:f.getBarColor(N(u)),onMouseEnter:()=>{d!==u&&y(u)},onMouseLeave:()=>{d!=null&&y(void 0)}},u),O=[];return C?.orderedKeys.forEach(u=>{const j=!s.current;u.endsWith("_forecast")?O.push(k(u)):O.push(v(u,j))}),O},[C]),$=({active:k,payload:v})=>v?.find(O=>O.name===d)!=null&&d!=null&&k===!0?a.jsx(Za,{active:k,payload:v,mode:h,barName:d}):null;return C==null?null:a.jsx(lr,{chartData:C,timeframe:r,showBarHoverBackground:l,barElements:L(),customToolTipContent:a.jsx($,{}),width:n,height:o,onCOABalancesRangeChanged:c,highlightedRange:t,isDetailPage:i===!0})}const lr=({chartData:e,timeframe:r,barElements:t,customToolTipContent:n,highlightedRange:o,width:l,height:i,showBarHoverBackground:h,isDetailPage:c,onCOABalancesRangeChanged:s})=>{const f=A(),p=ae(e),d=e.timeseries,y=d.map(L=>L.label),_=h!==!1,w=L=>{if(!c||L?.activePayload==null||L?.activePayload.length===0)return;const $=L.activePayload[0];if($?.payload?.timeLabel?.label==null)return;const k=L.activeTooltipIndex,v=$.payload.timeLabel.label;if(o==null)return;const O=re(v,y,o.numberOfPeriods),u=O[1]===void 0?y.length-1:y.indexOf(O[1]),j={...o,thisPeriod:{startDate:d[u].startDate,endDate:d[u].endDate}};s?.(d[k],r,j)},C=c?(l-60)/W.operating_expenses*(W.operating_expenses-e.recordByTimeseries.length):20;return a.jsx(rr,{width:l,height:i,children:a.jsx(J,{children:({height:L,width:$})=>a.jsxs(fe,{width:$,height:L,stackOffset:"sign",data:e.recordByTimeseries,barCategoryGap:"25%",maxBarSize:c?I[10]:30,margin:{top:5,right:C,left:0,bottom:5},style:{display:"flex",flex:"1 1 auto"},onClick:w,children:[a.jsx(te,{horizontal:!0,vertical:!1,strokeWidth:.5,stroke:f.colors.grey3}),a.jsx(le,{dataKey:k=>k.timeLabel.label,type:"category",axisLine:{stroke:f.colors.grey3,strokeWidth:.5},tickLine:!1,tick:{color:f.colors.hero,...M.extraSmallRegular.cssObject}}),a.jsx(ne,{type:"number",axisLine:!1,tickLine:!1,tick:{color:f.colors.hero,...M.extraSmallRegular.cssObject},tickFormatter:k=>Q("0,0.[00]a",k,p)}),a.jsx(se,{wrapperStyle:{zIndex:2},cursor:_?{stroke:f.colors.background,strokeWidth:($-60)/W.operating_expenses,fill:f.colors.background}:!1,content:n,allowEscapeViewBox:{x:!1,y:!0}}),t]})})})},nr=x.div`
|
|
199
199
|
display: flex;
|
|
200
|
-
`,
|
|
200
|
+
`,sr=x.div`
|
|
201
201
|
display: flex;
|
|
202
202
|
flex-direction: column;
|
|
203
|
-
`,
|
|
203
|
+
`,cr=x.div`
|
|
204
204
|
display: flex;
|
|
205
205
|
background-color: ${e=>e.theme.colors.black};
|
|
206
206
|
opacity: 0.85;
|
|
@@ -256,14 +256,14 @@ import{g as A,V as a,O as D,e as de,b5 as Q,u as I,w as M,a_ as J,o as m,ac as A
|
|
|
256
256
|
text-align: right;
|
|
257
257
|
`,Se=x(F)`
|
|
258
258
|
text-align: right;
|
|
259
|
-
`,
|
|
259
|
+
`,U=x(F)`
|
|
260
260
|
text-align: right;
|
|
261
261
|
flex: 1;
|
|
262
262
|
color: ${e=>e.isChange!=null&&e.isChange===!0?g.important:null};
|
|
263
263
|
`,Be=x(F)`
|
|
264
264
|
display: flex;
|
|
265
265
|
flex-direction: column;
|
|
266
|
-
`,Oe=x(F)``,mr=(e,r)=>{const t=b(N(e),"forecast");if(r.record[t]==null)return;const n=r.record[e].amount,o=r.record[t].amount,l={...n,amount:Math.floor((n.amount-o.amount)*100/100)},i=o.amount!==0?Math.floor((n.amount-o.amount)/o.amount*100)/100:void 0;return{value:o,change:l,percent:i,forecastPercent:r.record[t].percentValue}},fr=({active:e,payload:r,mode:t})=>{const n=[];let o={amount:0,currencyCode:""},l={amount:0,currencyCode:""};const i=b("gross_margin","actual");return r?.forEach(h=>{const
|
|
266
|
+
`,Oe=x(F)``,mr=(e,r)=>{const t=b(N(e),"forecast");if(r.record[t]==null)return;const n=r.record[e].amount,o=r.record[t].amount,l={...n,amount:Math.floor((n.amount-o.amount)*100/100)},i=o.amount!==0?Math.floor((n.amount-o.amount)/o.amount*100)/100:void 0;return{value:o,change:l,percent:i,forecastPercent:r.record[t].percentValue}},fr=({active:e,payload:r,mode:t})=>{const n=[];let o={amount:0,currencyCode:""},l={amount:0,currencyCode:""};const i=b("gross_margin","actual");return r?.forEach(h=>{const c=h.name;if(e===!0){const s=h.payload,f=h.color,p=c!=null&&s.record[c]!=null?s.record[c].amount:void 0;let d;if(c.includes("forecast")!==!0)switch(t==="forecast_mode"&&(d=s.record[c]!=null?mr(c,s):void 0),c){case i:p!=null&&(o.currencyCode===""?o={...p}:o.amount=o.amount+p.amount),d!=null&&(l.currencyCode===""?l={...d.value}:l.amount=l.amount+d.value.amount),n.push({barName:D.getLocalizedStrings().chartCard.revenue[N(c)],actual:p,forecast:d,percent:s.record[c]!=null?s.record[c].percentValue??0:0,color:f});break;default:n.push({barName:D.getLocalizedStrings().chartCard.revenue[N(c)],actual:p,color:f,forecast:d});break}}}),n},ze=e=>e.map((r,t)=>a.jsxs(Me,{color:r.color,showPercent:r.percent!=null,children:[a.jsxs(gr,{children:[a.jsx(Ke,{color:r.color}),`${r.barName}:`]}),a.jsxs(pr,{children:[a.jsx(Se,{children:`${T(r.actual)}`}),r.percent!=null?a.jsx(Se,{children:V("0,0.0%",r.percent)}):null]})]},r.barName+t)),Pe=e=>e.map((r,t)=>a.jsxs(Me,{color:r.color,showPercent:r.percent!=null,children:[a.jsxs(hr,{children:[a.jsx(Ke,{color:r.color}),`${r.barName}:`]}),a.jsx(U,{children:a.jsxs(Be,{children:[r.actual!=null?`${T(r.actual)}`:"-",a.jsx(Oe,{children:r.percent!=null?V("0,0.0%",r.percent):null})]})}),a.jsx(U,{children:a.jsxs(Be,{children:[r.forecast!=null?`${T(r.forecast.value)}`:"-",a.jsx(Oe,{children:r.forecast!=null&&r.forecast.forecastPercent!=null?V("0,0.0%",r.forecast.forecastPercent):null})]})}),r.forecast!=null?a.jsx(U,{isChange:!0,children:`${T(r.forecast.change)}`}):a.jsx(U,{children:"-"}),r.forecast!=null?a.jsx(U,{isChange:!0,children:V("0,0.0%",r.forecast.percent)}):a.jsx(U,{children:"-"})]},r.barName+t)),xr=e=>{if(e.length>0){for(const r of e)if(r.actual!=null)return r.actual.currencySymbol}return""},br=({barLabelsWithValues:e})=>a.jsxs(sr,{children:[a.jsxs(cr,{children:[a.jsx(ir,{}),a.jsx(he,{children:D.getLocalizedStrings().chartCard.tooltip.actual}),a.jsx(he,{children:D.getLocalizedStrings().chartCard.tooltip.forecast}),a.jsxs(he,{children:[D.getLocalizedStrings().chartCard.tooltip.change," ",xr(e)]}),a.jsx(he,{children:D.getLocalizedStrings().chartCard.tooltip.change_percent})]}),a.jsxs(ur,{children:[Pe(e.slice(0,e.length-1)),e.length?a.jsx(Ge,{}):null,Pe(e.slice(-1))]})]}),yr=({barLabelsWithValues:e})=>a.jsx(nr,{children:a.jsxs(dr,{children:[ze(e.slice(0,e.length-1)),e.length?a.jsx(Ge,{}):null,ze(e.slice(-1))]})}),Cr=e=>{const r=fr({...e});return r.length===0?null:a.jsx(a.Fragment,{children:e.mode==="forecast_mode"?a.jsx(br,{barLabelsWithValues:r}):a.jsx(yr,{barLabelsWithValues:r})})},jr=ee.memo(Cr),Re=(e,r,t,n,o,l)=>{let i=[],h=[],c=[];n!=null&&n.balances.length>0&&(i=K("income","actual",n)),o!=null&&o.balances.length>0&&(h=K("cogs","actual",o)),l!=null&&l.balances.length>0&&(c=oe("gross_margin","actual",l));const s=b("income","actual"),f=b("cogs","actual"),p=b("gross_margin","actual"),d=i.length>0?s:h.length>0?f:p,y={};return y[s]=i,y[f]=h,y[p]=c,t==="forecast_mode"&&Object.assign(y,vr(n,o,l)),d!=null?Z(e,r,d,y):void 0},vr=(e,r,t)=>{let n=[],o=[],l=[];e!=null&&e.balances.length>0&&(n=K("income","forecast",e)),r!=null&&r.balances.length>0&&(o=K("cogs","forecast",r)),t!=null&&t.balances.length>0&&(l=oe("gross_margin","forecast",t));const i=b("income","forecast"),h=b("cogs","forecast"),c=b("gross_margin","forecast"),s={};return s[i]=n,s[h]=o,s[c]=l,s},kr=[b("income","actual"),b("cogs","actual"),b("gross_margin","actual")],$r=[b("income","actual"),b("cogs","actual"),b("gross_margin","actual"),b("income","forecast"),b("cogs","forecast"),b("gross_margin","forecast")],wr=x.div`
|
|
267
267
|
width: ${e=>e.width}px;
|
|
268
268
|
height: ${e=>e.height}px;
|
|
269
269
|
|
|
@@ -277,4 +277,4 @@ import{g as A,V as a,O as D,e as de,b5 as Q,u as I,w as M,a_ as J,o as m,ac as A
|
|
|
277
277
|
margin-left: ${e=>X.legendLabelMarginLeft.valuePx(e.windowSize)};
|
|
278
278
|
margin-right: ${e=>X.legendLabelMarginRight.valuePx(e.windowSize)};
|
|
279
279
|
color: ${e=>e.theme.colors.primary};
|
|
280
|
-
`;function Er({selectedRangeReport:e,timeframe:r,highlightedRange:t,width:n,height:o,showBarHoverBackground:l,isDetailPage:i,mode:h,onCOABalancesRangeChanged:
|
|
280
|
+
`;function Er({selectedRangeReport:e,timeframe:r,highlightedRange:t,width:n,height:o,showBarHoverBackground:l,isDetailPage:i,mode:h,onCOABalancesRangeChanged:c}){const s=A(),f=P.useRef(!1);P.useEffect(()=>{f.current=!0},[]);const p=[s.colors.graphColor26,s.colors.graphColor17,s.colors.graphColor12],d=[s.colors.graphColor28,s.colors.graphColor17,s.colors.graphColor10,s.colors.graphColor28Dark,s.colors.graphColor17Dark,s.colors.graphColor10Dark],y=h==="forecast_mode"?d:p,_=h==="forecast_mode"?$r:kr,w=(u,j=s.colors.graphColor28)=>u<y.length?y[u]:j,C=e.reportId==="revenue"?Re(e.firstMonthOfFY,_,h,e.sections?.income,e.sections?.cogs,e.calculatedSections?.grossMargin):Re(e.firstMonthOfFY,_,h,e.sections.income,e.sections.cogs,e.calculatedSections.grossMargin),L=u=>{const{cx:j,cy:S,fill:B,stroke:z,value:E}=u;return E==null?a.jsx(a.Fragment,{}):a.jsx("circle",{cx:j,cy:S,r:4,stroke:B,strokeWidth:2,fill:z})},$=u=>{const{cx:j,cy:S,fill:B,stroke:z,value:E}=u;return E==null?a.jsx(a.Fragment,{}):a.jsx("circle",{cx:j,cy:S,r:5,stroke:z,strokeWidth:2,fill:B})},k=(u,j)=>a.jsx(me,{name:u,type:"monotone",legendType:"plainline",isAnimationActive:!1,dot:a.jsx(L,{}),activeDot:a.jsx($,{}),dataKey:S=>{const B=S.record;return(B[u]!=null&&B[u].amount!=null?B[u].amount:void 0)?.amount},stroke:w(j),strokeDasharray:"3 3",strokeWidth:1.5},u),v=(u,j,S)=>a.jsx(ce,{name:u,animationDuration:S?500:void 0,style:{cursor:"pointer"},legendType:"square",dataKey:B=>{const z=B.record;return(z[u]!=null&&z[u].amount!=null?z[u].amount:void 0)?.amount??0},fill:w(j)},u),O=()=>{const u=[];return _.forEach((j,S)=>{const B=i===!0&&!f.current;j.endsWith("_forecast")?u.push(k(j,S)):u.push(v(j,S,B))}),u};return C==null?null:a.jsx(Lr,{chartData:C,timeframe:r,showBarHoverBackground:l,barElements:O(),customToolTipContent:({active:u,payload:j})=>a.jsx(jr,{active:u,payload:j,mode:h}),width:n,height:o,onCOABalancesRangeChanged:c,highlightedRange:t,isDetailPage:i===!0})}const Lr=({chartData:e,timeframe:r,barElements:t,customToolTipContent:n,highlightedRange:o,width:l,height:i,showBarHoverBackground:h,isDetailPage:c,onCOABalancesRangeChanged:s})=>{const f=de(),p=A(),d=ae(e),y=e.timeseries,_=y.map($=>$.label),w=h!==!1,C=$=>{if(!c||$?.activePayload==null||$?.activePayload.length===0)return;const k=$.activePayload[0];if(k?.payload?.timeLabel?.label==null)return;const v=$.activeTooltipIndex,O=k.payload.timeLabel.label;if(o==null)return;const u=re(O,_,o.numberOfPeriods),j=u[1]===void 0?_.length-1:_.indexOf(u[1]),S={...o,thisPeriod:{startDate:y[j].startDate,endDate:y[j].endDate}};s?.(y[v],r,S)},L=c?(l-60)/W.revenue*(W.revenue-e.recordByTimeseries.length):20;return a.jsx(wr,{width:l,height:i,windowSize:f,children:a.jsx(J,{children:({height:$,width:k})=>a.jsxs(fe,{data:e.recordByTimeseries,barCategoryGap:c?void 0:"12%",maxBarSize:c?I[10]:22,barGap:c?void 0:2,margin:{top:5,right:L,left:0,bottom:I[4]},height:$,width:k,style:{display:"flex",flex:"1 1 auto"},onClick:C,children:[a.jsx(te,{horizontal:!0,vertical:!1,strokeWidth:.5,stroke:p.colors.grey3}),a.jsx(le,{dataKey:v=>v.timeLabel.label,type:"category",axisLine:{stroke:p.colors.grey3,strokeWidth:.5},tickLine:!1,tick:{color:p.colors.hero,...M.extraSmallRegular.cssObject}}),a.jsx(ne,{type:"number",axisLine:!1,tickLine:!1,tick:{color:p.colors.hero,...M.extraSmallRegular.cssObject},tickFormatter:v=>Q("0,0.[00]a",v,d)}),a.jsx(se,{wrapperStyle:{zIndex:2},cursor:w?{stroke:p.colors.background,strokeWidth:(k-60)/W.revenue,fill:p.colors.background}:!1,content:n,allowEscapeViewBox:{x:!1,y:!0}}),t,c?a.jsx(pe,{verticalAlign:"bottom",wrapperStyle:{width:"100%",display:"flex",justifyContent:"center",left:"initial",bottom:m.sp0},iconSize:I[3],formatter:v=>a.jsx(_r,{windowSize:f,children:v.endsWith("_forecast")===!0?D.getLocalizedStrings().chartCard.revenue[v]:D.getLocalizedStrings().chartCard.revenue[N(v)]})}):null]})})})};export{Tr as G,Nr as H,Wr as P,Er as X,Ir as Y};
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import{e as Tt,ay as Ct,x as u,fk as Dt,fl as It,fm as kt,V as t,fn as Pt,fo as le,fp as Mt,fq as At,fr as Bt,fs as Ft,aQ as M,ft as Lt,ac as v,fu as Rt,fv as Be,fw as Fe,fx as Le,w as U,dN as O,d as j,fy as zt,fz as E,dT as _,fA as Nt,fB as Ot,c1 as Re,o as n,aT as Et,u as d,O as _t,ai as Wt,cc as Vt,N as Zt,M as Gt,fC as Yt,cq as qt,an as ce,ao as me,fD as Ut,fE as Ht,bk as Kt,n as Xt,bb as Qt,fF as Jt,as as tt,bM as en,ak as nt,bv as tn,fG as nn}from"./index-CurP1SOA.js";import{a as V}from"./sentry-CDHeVBhK.js";import{n as i}from"./mui-BxEa6oIz.js";import{bo as ze,bm as Ne,bH as I,bX as an,Gr as on,bL as re,bZ as ln}from"./zeni-epic-state-B4EHkeVq.js";import{t as rn,o as sn}from"./LowBalancePopup-1727S1ri-n2U-sV_W.js";import{S as W}from"./LabeledText-C8Y7EOsX-bc31OQDU.js";import"./liveblocks-Dud0zcBr.js";import"./core-DEFUIdDG.js";import"./recharts-CucZZnV5.js";import"./lottie-Cne2KPqn.js";import"./analytics-Dn0Lw8Hl.js";import"./lexical-C3dXI-1S.js";import"./utils-B2bXCuaD.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]="0af5e1fd-4b1e-4b06-b840-72cf5f139005",e._sentryDebugIdIdentifier="sentry-dbid-0af5e1fd-4b1e-4b06-b840-72cf5f139005")}catch{}})();const it=["small","medium-compact","medium-regular"],m={largeLabelWidth:new u(150,215,215),infoMinWidth:new u(0,0,0,142,142),infoMarginRight:new u(0,0,0,d[2],d[2]),footerButtonWidth:new u(120,165),iconContainerMarginTop:new u(6,d[1]),navBarContainerPaddingTop:new u(10,d[3]),sectionTitleMarginLeft:new u(d[3],d[0]),reviewContainerMarginLeft:new u(d[3],d[6]),reviewContainerMarginRight:new u(d[3],d[8]),footerRightIconMarginRight:new u(d[0],d[0],d[7]),infoLabelPaddingRight:new u(d[0],d[3]),infoLabelMarginTop:new u(d[1],d[0])},dn={sectionTitle:new Zt("h6Medium","h5Medium")},{dateFormat:Oe,common:{currency:$,labels:Ee,edit:cn,strings:{empty:f}},spendManagement:{billPay:mn}}=_t.getLocalizedStrings(),{billDetails:a,paymentDetails:_e}=mn,We=({attachment:e})=>{const[y,g]=V.useState(!1),A=()=>{g(!1)},S=e.fileId?.length===0;return t.jsxs(On,{isDisabled:e.fileId?.length===0,"data-testid":v("attachment-tag",e.fileName),onClick:()=>S===!1?g(!0):null,children:[y&&e?.fileDownloadUrl!=null?t.jsx(Ut,{title:e.fileName,file:e,onCrossClick:()=>A(),setShowFullScreenView:g}):null,t.jsx(En,{children:t.jsx(Ht,{contentType:e.contentType})})]})},di=({billDetails:e,billpayApprovalView:y,isBillPayCommentingEnabled:g,currentTenant:A,isInternationalPaymentShaVsOurEnabled:S,isLocalCurrencyEnabled:at,style:ot,analytics:w,isRecurringBillsFeatureEnabled:lt,isApprovalRequiredForMarkAsPaid:rt,isDetectInsufficientFundsEnabled:st,billId:b,onClickEdit:pe,discardBillDetailsFromLocalStore:ue,saveBillDetails:ye,discardOutsideZeniPaymentData:dt,updateBillDetailSaveBillCode:he,redirectToBillsScreen:fe,onAttachmentClick:Q,retryPayment:ct})=>{const s=Tt(),c=Ct(),B={application:"dashboard",companyId:c.currentTenant?.companyId,tab:"bill",entityId:b},F=g&&b!=null,L=`dashboard_${c.currentTenant?.companyId}`,R=m.largeLabelWidth.value(s),k=e.saveStatus,J=e.zeniAssistRetryStatus,ee=e.vendor?.vendorCurrencyCode,l=Dt(S,at,e.billPayConfigList.filter(o=>o.method.includes(e.paymentDetailsSection?.withdrawFrom?.accType??"depositAccount")),e.paymentDetailsSection?.internationalTransferFeeBearerPaymentMethod,e.paymentDetailsSection?.paymentType,ee),T=Oe.visual.MMMDCommaYYYYformat,ge={amount:e.recipientTotalAmount.amount/(e.paymentDetailsSection?.conversionRate??1)*100/100,currencyCode:$.currencyCode,currencySymbol:$.currencySymbol},p={amount:l?.method.includes("international")===!0?It(ge,l):e.recipientTotalAmount.amount+(l?.fee.amount??0),currencyCode:$.currencyCode,currencySymbol:$.currencySymbol},z={amount:l?.method.includes("international")===!0?kt(ge,l):l?.fee.amount??0,currencyCode:$.currencyCode,currencySymbol:$.currencySymbol},[mt,xe]=V.useState(!1),[te,be]=V.useState(!1),we=()=>xe(!1),pt=()=>{w.trackBillPayMagicLinkPreviewEmail("review_bill"),xe(!0)},ut=e.isCollectToAccountInfoFromVendorContact?t.jsxs(t.Fragment,{children:[`${a.magicLink.collectFrom} ${e.toAccountVendorEmail}`,t.jsx(Rn,{size:s,children:t.jsx(Ln,{})})]}):Pt(e.paymentDetailsSection?.paymentTo);V.useEffect(()=>{(k?.fetchState==="Completed"||J?.fetchState==="Completed")&&(ue(),he(),fe())},[k,J,fe,ue,he]);const P=e.billPayInfo?.stage,N=e.billPayInfo?.billStatus,Z=e.billPayInfo?.billPaymentStatus,yt=e.billPayInfo?.billPaymentRefundStatus,ne=P?.code==="paid"?P:N?.code=="approved"&&Z?.code?Z:N,ht=e.billPayInfo?.isRefundInitiated===!0?yt:N?.code=="approved"&&Z?.code?Z:N,ie=()=>{pe()},$e=()=>{pe()},G=e.paymentDetailsSection?.paymentDate,ae=le(l?.method??""),ve=ae.replace("Same Day",""),ft=e.isCollectToAccountInfoFromVendorContact?t.jsx(Mt,{paymentTypeLabel:ve,onClick:pt}):a.addedByZeni,Y=y.allApprovalRules.length>0,gt=ze(l?.method!=null&&(l.method.includes(I)||l?.fee.amount!=null&&l.fee.amount!==0)?p.amount-z.amount:p.amount,l?.fee.currencyCode??Ne.currencyCode,l?.fee.currencySymbol??Ne.currencySymbol),x=an(e.paymentDetailsSection?.paymentType?.method),xt=o=>{w.trackBillPayMarkAsPaidSubmit(o.paymentMode??"other",P?.code??"draft",ne?.code??""),ye(!0,o)},je=()=>{be(!0),w.trackBillPayMarkAsPaid(P?.code??"draft",ne?.code??"")},bt=()=>{dt(),be(!1)},C=x,h=C&&!rt,Se=Ve(h,Y,e.isBillMarkedForRetry),wt=()=>x?h?void 0:a.paymentOutsideZeni.reviewInfo:l?.method!=null&&l.method.includes(I)&&e.paymentDetailsSection?.internationalTransferFeeBearerPaymentMethod!=null&&S&&ee===$.currencyCode?Jt(e.paymentDetailsSection.internationalTransferFeeBearerPaymentMethod):void 0,oe=st&&e.paymentDetailsSection!=null?At(p,e.paymentDetailsSection.withdrawFrom,e.paymentDetailsSection.paymentDate):void 0,$t=()=>{const o=e.paymentDetailsSection?.paymentDate,r=e.isCollectToAccountInfoFromVendorContact,D=e.recurringConfig,jt=e.recipientTotalAmount;if(e.isInvoiceDateAutoUpdated===!0&&w.trackBillPayAutoDateChange(b??"new_bill"),l?.method!=null&&o!=null){const St=x?a.paymentOutsideZeni.offline:le(l.method);if(w.trackBillPaySendForApproval(St,o.format(Oe.analytics.MMMDashDDDashYYYYFormat),r,e.isRecurring,b,e.paymentDetailsSection?.internationalTransferFeeBearerPaymentMethod,{startDate:re(D?.startDate?.toString()??"").format(T),endDate:re(D?.endDate?.toString()??"").format(T),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}),oe!=null){const De=P?.code??"draft",Ie=N?.code??"",ke=e.isRecurring?["Recurring"]:["One-Time"],Pe=e.invoiceNumber??"",Me=nn(c.loggedInUser),Ae=e.paymentDetailsSection?.withdrawFrom?.accType==="depositAccount"?"ZA":"External Account";Se===a.scheduleBill?w.trackLowBalanceAccountSchedule(De,Ie,ke,Pe,Me,Ae):Se===a.sendForApproval&&w.trackLowBalanceAccountSentForApproval(De,Ie,ke,Pe,Me,Ae)}}},Te=()=>{Ce===!0&&q(!1),e.isBillMarkedForRetry===!0?(ct(),w.trackRetryConfirmClick(ne?.code??"",P?.code??"",ht?.description??"",e.isRecurring?["Recurring"]:["One-Time"],e.invoiceNumber??"")):e.vendor!=null&&($t(),ye(!1,{}))},vt=on(p.amount,y.allApprovalRules,c.loggedInUser),[Ce,q]=V.useState(!1);return t.jsxs($n,{children:[te?t.jsx(rn,{onCancel:bt,onProceedForMarkAsPaid:xt,saveDetailsFetchState:k?.fetchState,paymentData:e.outsideZeniPaymentInfo}):null,Ce?t.jsx(sn,{withdrawFrom:e.paymentDetailsSection?.withdrawFrom,paymentDate:e.paymentDetailsSection?.paymentDate,onOkClick:Te,onCancelClick:()=>{q(!1),ie()},onClickAway:()=>{q(!1)}}):null,t.jsx(Bt,{anchor:"right",open:mt,onClose:we,transitionDuration:250,"data-testid":v("vendor-email-preview-drawer"),children:t.jsx(Ft,{companyName:Lt(A.company?.companyInfo),vendor:e.vendor?.name,paymentDate:G?.format(T)??"",paymentType:ve,amount:M("0,0[.]00",p),isInvoiceAttached:!!e.file,onClose:we})}),t.jsxs(vn,{windowSize:s,style:ot,children:[s==="small"?t.jsxs(Fn,{windowSize:s,children:[t.jsx(Ke,{onClick:$e,"data-testid":v("review-detail-nav-bar-small-back")}),t.jsx(Ye,{windowSize:s,children:a.oneLastLook})]}):t.jsx(Bn,{"data-testid":v("review-details-nav-bar-back"),children:t.jsx(Ke,{onClick:$e})}),s!=="small"?t.jsx(Sn,{children:t.jsx(Ye,{windowSize:s,children:a.oneLastLook})}):null,e.duplicateBillTransactions.length>0?t.jsxs(Tn,{children:[t.jsxs(Cn,{children:[t.jsx(Yn,{}),t.jsxs(Dn,{children:[t.jsx(kn,{children:a.duplicateBillPayWarning}),t.jsxs(In,{children:[a.duplicateBillPayWarningSubHeading,t.jsxs("span",{"data-testid":v("review-detail-attachment-button"),onClick:()=>Q(e.duplicateBillTransactions[0].id,e.duplicateBillTransactions[0].billPayInfo.stage.code),style:{textDecoration:"underline",cursor:"pointer"},children:[a.viewBill,e.duplicateBillTransactions[0].documentId]})]})]})]}),t.jsxs(Vn,{children:[t.jsx(Gn,{children:a.duplicateInvoiceFound}),e.duplicateBillTransactions.map(o=>{const r=Rt(o);return o!=null?t.jsx(Zn,{children:it.includes(s)?t.jsxs(qe,{windowSize:s,children:[t.jsxs(Pn,{children:[t.jsxs(Mn,{children:[o.attachments&&o.attachments.length>0?t.jsx(We,{attachment:o.attachments[0]}):t.jsx(Xe,{children:t.jsx(Qe,{})}),t.jsx(K,{children:t.jsxs(t.Fragment,{children:[o.documentId!=null?a.invoiceNo:null,o.documentId]})})]}),t.jsx(Je,{windowSize:s,children:M("0,0[.]00",o.recipientTotalAmount)})]}),t.jsxs(_n,{"data-testid":v("review-detail-mobile-info"),onClick:()=>Q(o.id,o.billPayInfo.stage.code),children:[t.jsxs(K,{children:[o.dueDate!=null?a.due:null," ",o.dueDate?.format(T)]}),t.jsx(et,{children:r!=null?Be.includes(r.code)?t.jsx(Fe,{style:{padding:"2px 5px"},title:r.value,placement:"top",children:t.jsx(X,{color:r.color,bgColor:r.bgColor,borderColor:r.borderColor,children:r.value})}):t.jsx(X,{color:r.color,bgColor:r.bgColor,borderColor:r.borderColor,children:r.value}):null})]})]}):t.jsxs(qe,{windowSize:s,children:[o.attachments&&o.attachments.length>0?t.jsx(We,{attachment:o.attachments[0]}):t.jsx(Xe,{children:t.jsx(Qe,{})}),t.jsxs(Wn,{"data-testid":v("review-detail-info"),onClick:()=>Q(o.id,o.billPayInfo.stage.code),children:[t.jsx(K,{style:{width:"50%"},children:t.jsxs("div",{children:[o.documentId!=null?a.invoiceNo:null," ",o.documentId]})}),t.jsxs(K,{style:{width:"25%"},children:[o.dueDate!=null?a.due:null," ",o.dueDate?.format(T)]}),t.jsx(Je,{style:{width:"25%"},windowSize:s,children:M("0,0[.]00",o.amount)})]}),t.jsx(et,{children:r!=null?Be.includes(r.code)?t.jsx(Fe,{style:{padding:"2px 5px"},title:r.value,placement:"top",children:t.jsx(X,{color:r.color,bgColor:r.bgColor,borderColor:r.borderColor,children:r.value})}):t.jsx(X,{color:r.color,bgColor:r.bgColor,borderColor:r.borderColor,children:r.value}):null})]})},o.id):null})]})]}):null,t.jsxs(An,{children:[t.jsx(Ue,{children:a.pay}),t.jsx(He,{children:t.jsx(Le,{amount:gt,integerStyles:U.largeMedium.cssObject,decimalStyles:U.smallMedium.cssObject})}),t.jsx(Ue,{children:a.to}),t.jsx(He,{children:e.vendor?.name})]}),t.jsxs(jn,{children:[x?null:t.jsxs(t.Fragment,{children:[t.jsx(O,{isThreadAllowed:F,entityId:b,dashboardTabKey:_({type:"details",key:"withdrawFrom"}),roomId:L,companyId:c.currentTenant?.companyId??f,companyName:c.currentTenant?.companyName??f,dashboardOptionType:"bill",filterMetaData:{...B,entityType:`bill.details.${E("withdrawFrom")}`},children:t.jsx(W,{label:{label:a.withdrawFrom,width:R},style:{width:"auto"},value:e.paymentDetailsSection?.withdrawFrom!=null?zt(e.paymentDetailsSection.withdrawFrom,s):f,infoLabelStyle:{textAlign:s==="small"?"left":"right",paddingRight:m.infoLabelPaddingRight.valuePx(s),marginTop:m.infoLabelMarginTop.valuePx(s),color:j.brandColorGoldDark},additionalInfoLabel:oe})}),t.jsx(H,{})]}),t.jsx(O,{isThreadAllowed:F,entityId:b,dashboardTabKey:_({type:"details",key:"paymentType"}),roomId:L,companyId:c.currentTenant?.companyId??f,companyName:c.currentTenant?.companyName??f,dashboardOptionType:"bill",filterMetaData:{...B,entityType:`bill.details.${E("paymentType")}`},children:t.jsx(W,{label:{label:a.paymentMethod,width:R},style:{width:"auto"},value:le(l?.method??""),additionalInfoLabel:wt()})}),t.jsx(H,{}),!x&&G!=null?t.jsxs(t.Fragment,{children:[t.jsx(O,{isThreadAllowed:F,entityId:b,dashboardTabKey:_({type:"details",key:"paymentDate"}),roomId:L,companyId:c.currentTenant?.companyId??f,companyName:c.currentTenant?.companyName??f,dashboardOptionType:"bill",filterMetaData:{...B,entityType:`bill.details.${E("paymentDate")}`},children:t.jsx(W,{label:{label:a.paymentDate,width:R},style:{width:"auto"},value:G.format(T),additionalInfoLabel:`${a.estimatedArrival}${re(ln(G.toDate(),[0,6],l?.maxPeriod.value??0).toDateString()).format(T)} - (${ae.length>0?`${ae} `:""}${a.deliveryTimeLabel} = ${l?.maxPeriod.value??"0"} ${a.deliveryTimeUnits})`})}),t.jsx(H,{})]}):null,x?null:t.jsx(O,{isThreadAllowed:F,entityId:b,dashboardTabKey:_({type:"details",key:"paymentTo"}),roomId:L,companyId:c.currentTenant?.companyId??f,companyName:c.currentTenant?.companyName??f,dashboardOptionType:"bill",filterMetaData:{...B,entityType:`bill.details.${E("paymentTo")}`},children:t.jsx(W,{label:{label:a.paymentTo,width:R},style:{width:"auto"},value:ut??"",additionalInfoLabel:ft})}),x||lt?t.jsxs(t.Fragment,{children:[t.jsx(H,{}),t.jsx(O,{isThreadAllowed:F,entityId:b,dashboardTabKey:_({type:"details",key:"recurringPaymentType"}),roomId:L,companyId:c.currentTenant?.companyId??f,companyName:c.currentTenant?.companyName??f,dashboardOptionType:"bill",filterMetaData:{...B,entityType:`bill.details.${E("recurringPaymentType")}`},children:t.jsx(W,{label:{label:a.paymentType,width:R},style:{width:"auto"},value:Ot(e.isRecurring,x,e.recurringBillInstance??1,e.recurringConfig?.totalPaymentCycles??0),additionalInfoLabel:Nt(s,e.isRecurring,x,e.recurringConfig)})})]}):null]}),!x&&l?.method!=null&&(l.method.includes(I)||l?.fee.amount!=null&&l.fee.amount!==0)?t.jsx(gn,{children:t.jsxs(xn,{windowSize:s,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(fn,{children:[t.jsxs(Ge,{children:[t.jsx(de,{children:l.method.includes(I)&&ee!==$.currencyCode?_e.conversionAmountColon:Ee.invoiceAmount}),t.jsx(se,{children:M("0,0[.]00",{amount:p.amount-z.amount,currencySymbol:z.currencySymbol})})]}),t.jsxs(Ge,{children:[t.jsx(de,{children:_e.transactionFee}),t.jsx(se,{children:M("0,0[.]00",{amount:z.amount,currencySymbol:z.currencySymbol})})]}),t.jsx(hn,{}),t.jsxs(un,{children:[t.jsx(de,{children:Ee.total}),t.jsx(se,{children:M("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(Le,{amount:ze(p.amount,p.currencyCode,p.currencySymbol),integerStyles:U.h6Medium.cssObject,decimalStyles:U.standardMedium.cssObject})})]})}):null]}),t.jsx(Et,{cancelBtn:{label:C&&!h?a.paymentOutsideZeni.markAsPaid:a.editBill,onClick:C&&!h?je:ie,isLoading:C&&!h&&te&&k?.fetchState==="In-Progress",reverseSpinnerColor:!1,style:{width:Ze(!1,C,h,Y,s)}},primaryBtn:{label:Ve(h,Y,e.isBillMarkedForRetry),isLoading:k?.fetchState==="In-Progress"&&(h||!te)||J?.fetchState==="In-Progress",onClick:h?je:()=>{vt&&oe!=null?q(!0):Te()},style:{width:Ze(!0,C,h,Y,s)}},rightSideComponent:C&&!h&&k.fetchState!=="In-Progress"?t.jsx(qn,{windowSize:s,children:t.jsx(Re,{style:{color:j.heroDark,padding:`2px ${n.sp2}`},display:"flex",title:cn,placement:"top",children:t.jsx(Hn,{onClick:ie,"data-testid":v("review-detail-edit-bill-button"),children:t.jsx(Un,{})})})}):null,style:{minHeight:e.paymentDetailsSection?.paymentType?.method!=null&&e.paymentDetailsSection.paymentType.method.includes(I)?127:62,...e.paymentDetailsSection?.paymentType?.method!=null&&e.paymentDetailsSection.paymentType.method.includes(I)&&{padding:n.sp3,rowGap:n.sp3}},children:e.paymentDetailsSection?.paymentType?.method!=null&&e.paymentDetailsSection.paymentType.method.includes(I)?t.jsxs(zn,{children:[a.internationalText1,t.jsx(Nn,{href:"https://www.nium.com/legal/end-customer-terms",target:"_Blank",rel:"noopener noreferrer",children:a.internationalTerms}),a.internationalText2]}):null})]})},Ve=(e,y,g)=>e?a.paymentOutsideZeni.markAsPaid:g===!0?a.retryPayment:y?a.sendForApproval:a.scheduleBill,Ze=(e,y,g,A,S)=>g?128:y&&!e&&S==="small"?"auto":A?165:m.footerButtonWidth.value(S),pn=i(en)`
|
|
1
|
+
import{J as Tt,ax as Ct,y as u,f8 as Dt,f9 as It,fa as Pt,V as t,fb as kt,fc as le,fd as At,fe as Mt,ff as Bt,fg as Ft,aP as A,fh as Rt,aR as v,fi as Lt,fj as Be,fk as Fe,fl as Re,b as K,fm as O,p as j,fn as zt,fo as E,fp as W,fq as Nt,fr as Ot,bV as Le,o as n,aT as Et,u as d,O as Wt,ah as Vt,c4 as _t,H as Yt,B as Zt,fs as Gt,ck as Ht,am as ce,an as me,ft as Kt,fu as qt,bk as Ut,a as Xt,bb as Jt,fv as Qt,ar as tt,bM as en,aj as nt,bv as tn,fw as nn}from"./index-DqZ19at7.js";import{a as _}from"./sentry-DO9J0OD9.js";import{n as i}from"./mui-ZYC_cKE8.js";import{bo as ze,bm as Ne,bH as I,bN as an,FG as on,bL as re,bP as ln}from"./zeni-epic-state-C5Hzx540.js";import{t as rn,o as sn}from"./LowBalancePopup-ScEqPY9J-CQJroj6z.js";import{S as V}from"./LabeledText-DvzVOku6-CI8IYs0J.js";import"./liveblocks-BTMi-6jm.js";import"./core-ChNxRm0V.js";import"./recharts-CPKKNFMD.js";import"./lottie-DePu4yCn.js";import"./analytics-Bkw5onLf.js";import"./lexical-1Ygrq4RW.js";import"./utils-CXoyjNuY.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]="c88788c9-632e-405a-9806-a2b8fbfdaff3",e._sentryDebugIdIdentifier="sentry-dbid-c88788c9-632e-405a-9806-a2b8fbfdaff3")}catch{}})();const it=["small","medium-compact","medium-regular"],m={largeLabelWidth:new u(150,215,215),infoMinWidth:new u(0,0,0,142,142),infoMarginRight:new u(0,0,0,d[2],d[2]),footerButtonWidth:new u(120,165),iconContainerMarginTop:new u(6,d[1]),navBarContainerPaddingTop:new u(10,d[3]),sectionTitleMarginLeft:new u(d[3],d[0]),reviewContainerMarginLeft:new u(d[3],d[6]),reviewContainerMarginRight:new u(d[3],d[8]),footerRightIconMarginRight:new u(d[0],d[0],d[7]),infoLabelPaddingRight:new u(d[0],d[3]),infoLabelMarginTop:new u(d[1],d[0])},dn={sectionTitle:new Yt("h6Medium","h5Medium")},{dateFormat:Oe,common:{currency:$,labels:Ee,edit:cn,strings:{empty:f}},spendManagement:{billPay:mn}}=Wt.getLocalizedStrings(),{billDetails:a,paymentDetails:We}=mn,Ve=({attachment:e})=>{const[y,g]=_.useState(!1),M=()=>{g(!1)},S=e.fileId?.length===0;return t.jsxs(On,{isDisabled:e.fileId?.length===0,"data-testid":v("attachment-tag",e.fileName),onClick:()=>S===!1?g(!0):null,children:[y&&e?.fileDownloadUrl!=null?t.jsx(Kt,{title:e.fileName,file:e,onCrossClick:()=>M(),setShowFullScreenView:g}):null,t.jsx(En,{children:t.jsx(qt,{contentType:e.contentType})})]})},di=({billDetails:e,billpayApprovalView:y,isBillPayCommentingEnabled:g,currentTenant:M,isInternationalPaymentShaVsOurEnabled:S,isLocalCurrencyEnabled:at,style:ot,analytics:w,isRecurringBillsFeatureEnabled:lt,isApprovalRequiredForMarkAsPaid:rt,isDetectInsufficientFundsEnabled:st,billId:b,onClickEdit:pe,discardBillDetailsFromLocalStore:ue,saveBillDetails:ye,discardOutsideZeniPaymentData:dt,updateBillDetailSaveBillCode:he,redirectToBillsScreen:fe,onAttachmentClick:J,retryPayment:ct})=>{const s=Tt(),c=Ct(),B={application:"dashboard",companyId:c.currentTenant?.companyId,tab:"bill",entityId:b},F=g&&b!=null,R=`dashboard_${c.currentTenant?.companyId}`,L=m.largeLabelWidth.value(s),P=e.saveStatus,Q=e.zeniAssistRetryStatus,ee=e.vendor?.vendorCurrencyCode,l=Dt(S,at,e.billPayConfigList.filter(o=>o.method.includes(e.paymentDetailsSection?.withdrawFrom?.accType??"depositAccount")),e.paymentDetailsSection?.internationalTransferFeeBearerPaymentMethod,e.paymentDetailsSection?.paymentType,ee),T=Oe.visual.MMMDCommaYYYYformat,ge={amount:e.recipientTotalAmount.amount/(e.paymentDetailsSection?.conversionRate??1)*100/100,currencyCode:$.currencyCode,currencySymbol:$.currencySymbol},p={amount:l?.method.includes("international")===!0?It(ge,l):e.recipientTotalAmount.amount+(l?.fee.amount??0),currencyCode:$.currencyCode,currencySymbol:$.currencySymbol},z={amount:l?.method.includes("international")===!0?Pt(ge,l):l?.fee.amount??0,currencyCode:$.currencyCode,currencySymbol:$.currencySymbol},[mt,xe]=_.useState(!1),[te,be]=_.useState(!1),we=()=>xe(!1),pt=()=>{w.trackBillPayMagicLinkPreviewEmail("review_bill"),xe(!0)},ut=e.isCollectToAccountInfoFromVendorContact?t.jsxs(t.Fragment,{children:[`${a.magicLink.collectFrom} ${e.toAccountVendorEmail}`,t.jsx(Ln,{size:s,children:t.jsx(Rn,{})})]}):kt(e.paymentDetailsSection?.paymentTo);_.useEffect(()=>{(P?.fetchState==="Completed"||Q?.fetchState==="Completed")&&(ue(),he(),fe())},[P,Q,fe,ue,he]);const k=e.billPayInfo?.stage,N=e.billPayInfo?.billStatus,Y=e.billPayInfo?.billPaymentStatus,yt=e.billPayInfo?.billPaymentRefundStatus,ne=k?.code==="paid"?k:N?.code=="approved"&&Y?.code?Y:N,ht=e.billPayInfo?.isRefundInitiated===!0?yt:N?.code=="approved"&&Y?.code?Y:N,ie=()=>{pe()},$e=()=>{pe()},Z=e.paymentDetailsSection?.paymentDate,ae=le(l?.method??""),ve=ae.replace("Same Day",""),ft=e.isCollectToAccountInfoFromVendorContact?t.jsx(At,{paymentTypeLabel:ve,onClick:pt}):a.addedByZeni,G=y.allApprovalRules.length>0,gt=ze(l?.method!=null&&(l.method.includes(I)||l?.fee.amount!=null&&l.fee.amount!==0)?p.amount-z.amount:p.amount,l?.fee.currencyCode??Ne.currencyCode,l?.fee.currencySymbol??Ne.currencySymbol),x=an(e.paymentDetailsSection?.paymentType?.method),xt=o=>{w.trackBillPayMarkAsPaidSubmit(o.paymentMode??"other",k?.code??"draft",ne?.code??""),ye(!0,o)},je=()=>{be(!0),w.trackBillPayMarkAsPaid(k?.code??"draft",ne?.code??"")},bt=()=>{dt(),be(!1)},C=x,h=C&&!rt,Se=_e(h,G,e.isBillMarkedForRetry),wt=()=>x?h?void 0:a.paymentOutsideZeni.reviewInfo:l?.method!=null&&l.method.includes(I)&&e.paymentDetailsSection?.internationalTransferFeeBearerPaymentMethod!=null&&S&&ee===$.currencyCode?Qt(e.paymentDetailsSection.internationalTransferFeeBearerPaymentMethod):void 0,oe=st&&e.paymentDetailsSection!=null?Mt(p,e.paymentDetailsSection.withdrawFrom,e.paymentDetailsSection.paymentDate):void 0,$t=()=>{const o=e.paymentDetailsSection?.paymentDate,r=e.isCollectToAccountInfoFromVendorContact,D=e.recurringConfig,jt=e.recipientTotalAmount;if(e.isInvoiceDateAutoUpdated===!0&&w.trackBillPayAutoDateChange(b??"new_bill"),l?.method!=null&&o!=null){const St=x?a.paymentOutsideZeni.offline:le(l.method);if(w.trackBillPaySendForApproval(St,o.format(Oe.analytics.MMMDashDDDashYYYYFormat),r,e.isRecurring,b,e.paymentDetailsSection?.internationalTransferFeeBearerPaymentMethod,{startDate:re(D?.startDate?.toString()??"").format(T),endDate:re(D?.endDate?.toString()??"").format(T),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}),oe!=null){const De=k?.code??"draft",Ie=N?.code??"",Pe=e.isRecurring?["Recurring"]:["One-Time"],ke=e.invoiceNumber??"",Ae=nn(c.loggedInUser),Me=e.paymentDetailsSection?.withdrawFrom?.accType==="depositAccount"?"ZA":"External Account";Se===a.scheduleBill?w.trackLowBalanceAccountSchedule(De,Ie,Pe,ke,Ae,Me):Se===a.sendForApproval&&w.trackLowBalanceAccountSentForApproval(De,Ie,Pe,ke,Ae,Me)}}},Te=()=>{Ce===!0&&H(!1),e.isBillMarkedForRetry===!0?(ct(),w.trackRetryConfirmClick(ne?.code??"",k?.code??"",ht?.description??"",e.isRecurring?["Recurring"]:["One-Time"],e.invoiceNumber??"")):e.vendor!=null&&($t(),ye(!1,{}))},vt=on(p.amount,y.allApprovalRules,c.loggedInUser),[Ce,H]=_.useState(!1);return t.jsxs($n,{children:[te?t.jsx(rn,{onCancel:bt,onProceedForMarkAsPaid:xt,saveDetailsFetchState:P?.fetchState,paymentData:e.outsideZeniPaymentInfo}):null,Ce?t.jsx(sn,{withdrawFrom:e.paymentDetailsSection?.withdrawFrom,paymentDate:e.paymentDetailsSection?.paymentDate,onOkClick:Te,onCancelClick:()=>{H(!1),ie()},onClickAway:()=>{H(!1)}}):null,t.jsx(Bt,{anchor:"right",open:mt,onClose:we,transitionDuration:250,"data-testid":v("vendor-email-preview-drawer"),children:t.jsx(Ft,{companyName:Rt(M.company?.companyInfo),vendor:e.vendor?.name,paymentDate:Z?.format(T)??"",paymentType:ve,amount:A("0,0[.]00",p),isInvoiceAttached:!!e.file,onClose:we})}),t.jsxs(vn,{windowSize:s,style:ot,children:[s==="small"?t.jsxs(Fn,{windowSize:s,children:[t.jsx(Ue,{onClick:$e,"data-testid":v("review-detail-nav-bar-small-back")}),t.jsx(Ge,{windowSize:s,children:a.oneLastLook})]}):t.jsx(Bn,{"data-testid":v("review-details-nav-bar-back"),children:t.jsx(Ue,{onClick:$e})}),s!=="small"?t.jsx(Sn,{children:t.jsx(Ge,{windowSize:s,children:a.oneLastLook})}):null,e.duplicateBillTransactions.length>0?t.jsxs(Tn,{children:[t.jsxs(Cn,{children:[t.jsx(Gn,{}),t.jsxs(Dn,{children:[t.jsx(Pn,{children:a.duplicateBillPayWarning}),t.jsxs(In,{children:[a.duplicateBillPayWarningSubHeading,t.jsxs("span",{"data-testid":v("review-detail-attachment-button"),onClick:()=>J(e.duplicateBillTransactions[0].id,e.duplicateBillTransactions[0].billPayInfo.stage.code),style:{textDecoration:"underline",cursor:"pointer"},children:[a.viewBill,e.duplicateBillTransactions[0].documentId]})]})]})]}),t.jsxs(_n,{children:[t.jsx(Zn,{children:a.duplicateInvoiceFound}),e.duplicateBillTransactions.map(o=>{const r=Lt(o);return o!=null?t.jsx(Yn,{children:it.includes(s)?t.jsxs(He,{windowSize:s,children:[t.jsxs(kn,{children:[t.jsxs(An,{children:[o.attachments&&o.attachments.length>0?t.jsx(Ve,{attachment:o.attachments[0]}):t.jsx(Xe,{children:t.jsx(Je,{})}),t.jsx(U,{children:t.jsxs(t.Fragment,{children:[o.documentId!=null?a.invoiceNo:null,o.documentId]})})]}),t.jsx(Qe,{windowSize:s,children:A("0,0[.]00",o.recipientTotalAmount)})]}),t.jsxs(Wn,{"data-testid":v("review-detail-mobile-info"),onClick:()=>J(o.id,o.billPayInfo.stage.code),children:[t.jsxs(U,{children:[o.dueDate!=null?a.due:null," ",o.dueDate?.format(T)]}),t.jsx(et,{children:r!=null?Be.includes(r.code)?t.jsx(Fe,{style:{padding:"2px 5px"},title:r.value,placement:"top",children:t.jsx(X,{color:r.color,bgColor:r.bgColor,borderColor:r.borderColor,children:r.value})}):t.jsx(X,{color:r.color,bgColor:r.bgColor,borderColor:r.borderColor,children:r.value}):null})]})]}):t.jsxs(He,{windowSize:s,children:[o.attachments&&o.attachments.length>0?t.jsx(Ve,{attachment:o.attachments[0]}):t.jsx(Xe,{children:t.jsx(Je,{})}),t.jsxs(Vn,{"data-testid":v("review-detail-info"),onClick:()=>J(o.id,o.billPayInfo.stage.code),children:[t.jsx(U,{style:{width:"50%"},children:t.jsxs("div",{children:[o.documentId!=null?a.invoiceNo:null," ",o.documentId]})}),t.jsxs(U,{style:{width:"25%"},children:[o.dueDate!=null?a.due:null," ",o.dueDate?.format(T)]}),t.jsx(Qe,{style:{width:"25%"},windowSize:s,children:A("0,0[.]00",o.amount)})]}),t.jsx(et,{children:r!=null?Be.includes(r.code)?t.jsx(Fe,{style:{padding:"2px 5px"},title:r.value,placement:"top",children:t.jsx(X,{color:r.color,bgColor:r.bgColor,borderColor:r.borderColor,children:r.value})}):t.jsx(X,{color:r.color,bgColor:r.bgColor,borderColor:r.borderColor,children:r.value}):null})]})},o.id):null})]})]}):null,t.jsxs(Mn,{children:[t.jsx(Ke,{children:a.pay}),t.jsx(qe,{children:t.jsx(Re,{amount:gt,integerStyles:K.largeMedium.cssObject,decimalStyles:K.smallMedium.cssObject})}),t.jsx(Ke,{children:a.to}),t.jsx(qe,{children:e.vendor?.name})]}),t.jsxs(jn,{children:[x?null:t.jsxs(t.Fragment,{children:[t.jsx(O,{isThreadAllowed:F,entityId:b,dashboardTabKey:W({type:"details",key:"withdrawFrom"}),roomId:R,companyId:c.currentTenant?.companyId??f,companyName:c.currentTenant?.companyName??f,dashboardOptionType:"bill",filterMetaData:{...B,entityType:`bill.details.${E("withdrawFrom")}`},children:t.jsx(V,{label:{label:a.withdrawFrom,width:L},style:{width:"auto"},value:e.paymentDetailsSection?.withdrawFrom!=null?zt(e.paymentDetailsSection.withdrawFrom,s):f,infoLabelStyle:{textAlign:s==="small"?"left":"right",paddingRight:m.infoLabelPaddingRight.valuePx(s),marginTop:m.infoLabelMarginTop.valuePx(s),color:j.brandColorGoldDark},additionalInfoLabel:oe})}),t.jsx(q,{})]}),t.jsx(O,{isThreadAllowed:F,entityId:b,dashboardTabKey:W({type:"details",key:"paymentType"}),roomId:R,companyId:c.currentTenant?.companyId??f,companyName:c.currentTenant?.companyName??f,dashboardOptionType:"bill",filterMetaData:{...B,entityType:`bill.details.${E("paymentType")}`},children:t.jsx(V,{label:{label:a.paymentMethod,width:L},style:{width:"auto"},value:le(l?.method??""),additionalInfoLabel:wt()})}),t.jsx(q,{}),!x&&Z!=null?t.jsxs(t.Fragment,{children:[t.jsx(O,{isThreadAllowed:F,entityId:b,dashboardTabKey:W({type:"details",key:"paymentDate"}),roomId:R,companyId:c.currentTenant?.companyId??f,companyName:c.currentTenant?.companyName??f,dashboardOptionType:"bill",filterMetaData:{...B,entityType:`bill.details.${E("paymentDate")}`},children:t.jsx(V,{label:{label:a.paymentDate,width:L},style:{width:"auto"},value:Z.format(T),additionalInfoLabel:`${a.estimatedArrival}${re(ln(Z.toDate(),[0,6],l?.maxPeriod.value??0).toDateString()).format(T)} - (${ae.length>0?`${ae} `:""}${a.deliveryTimeLabel} = ${l?.maxPeriod.value??"0"} ${a.deliveryTimeUnits})`})}),t.jsx(q,{})]}):null,x?null:t.jsx(O,{isThreadAllowed:F,entityId:b,dashboardTabKey:W({type:"details",key:"paymentTo"}),roomId:R,companyId:c.currentTenant?.companyId??f,companyName:c.currentTenant?.companyName??f,dashboardOptionType:"bill",filterMetaData:{...B,entityType:`bill.details.${E("paymentTo")}`},children:t.jsx(V,{label:{label:a.paymentTo,width:L},style:{width:"auto"},value:ut??"",additionalInfoLabel:ft})}),x||lt?t.jsxs(t.Fragment,{children:[t.jsx(q,{}),t.jsx(O,{isThreadAllowed:F,entityId:b,dashboardTabKey:W({type:"details",key:"recurringPaymentType"}),roomId:R,companyId:c.currentTenant?.companyId??f,companyName:c.currentTenant?.companyName??f,dashboardOptionType:"bill",filterMetaData:{...B,entityType:`bill.details.${E("recurringPaymentType")}`},children:t.jsx(V,{label:{label:a.paymentType,width:L},style:{width:"auto"},value:Ot(e.isRecurring,x,e.recurringBillInstance??1,e.recurringConfig?.totalPaymentCycles??0),additionalInfoLabel:Nt(s,e.isRecurring,x,e.recurringConfig)})})]}):null]}),!x&&l?.method!=null&&(l.method.includes(I)||l?.fee.amount!=null&&l.fee.amount!==0)?t.jsx(gn,{children:t.jsxs(xn,{windowSize:s,children:[t.jsxs(bn,{children:[t.jsx(yn,{children:a.total}),t.jsx(Le,{style:{padding:`12px ${n.sp3}`,lineHeight:"18px"},maxWidth:"312px",title:t.jsxs(fn,{children:[t.jsxs(Ze,{children:[t.jsx(de,{children:l.method.includes(I)&&ee!==$.currencyCode?We.conversionAmountColon:Ee.invoiceAmount}),t.jsx(se,{children:A("0,0[.]00",{amount:p.amount-z.amount,currencySymbol:z.currencySymbol})})]}),t.jsxs(Ze,{children:[t.jsx(de,{children:We.transactionFee}),t.jsx(se,{children:A("0,0[.]00",{amount:z.amount,currencySymbol:z.currencySymbol})})]}),t.jsx(hn,{}),t.jsxs(un,{children:[t.jsx(de,{children:Ee.total}),t.jsx(se,{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(Re,{amount:ze(p.amount,p.currencyCode,p.currencySymbol),integerStyles:K.h6Medium.cssObject,decimalStyles:K.standardMedium.cssObject})})]})}):null]}),t.jsx(Et,{cancelBtn:{label:C&&!h?a.paymentOutsideZeni.markAsPaid:a.editBill,onClick:C&&!h?je:ie,isLoading:C&&!h&&te&&P?.fetchState==="In-Progress",reverseSpinnerColor:!1,style:{width:Ye(!1,C,h,G,s)}},primaryBtn:{label:_e(h,G,e.isBillMarkedForRetry),isLoading:P?.fetchState==="In-Progress"&&(h||!te)||Q?.fetchState==="In-Progress",onClick:h?je:()=>{vt&&oe!=null?H(!0):Te()},style:{width:Ye(!0,C,h,G,s)}},rightSideComponent:C&&!h&&P.fetchState!=="In-Progress"?t.jsx(Hn,{windowSize:s,children:t.jsx(Le,{style:{color:j.heroDark,padding:`2px ${n.sp2}`},display:"flex",title:cn,placement:"top",children:t.jsx(qn,{onClick:ie,"data-testid":v("review-detail-edit-bill-button"),children:t.jsx(Kn,{})})})}):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,Ye=(e,y,g,M,S)=>g?128:y&&!e&&S==="small"?"auto":M?165:m.footerButtonWidth.value(S),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
|
-
`,
|
|
8
|
+
`,Ze=i(nt)`
|
|
9
9
|
display: flex;
|
|
10
10
|
justify-content: space-between;
|
|
11
11
|
padding-bottom: ${n.sp1};
|
|
@@ -68,13 +68,13 @@ import{e as Tt,ay as Ct,x as u,fk as Dt,fl as It,fm as kt,V as t,fn as Pt,fo as
|
|
|
68
68
|
border-radius: ${n.sp2};
|
|
69
69
|
margin-bottom: ${n.sp3};
|
|
70
70
|
margin-top: ${n.sp3};
|
|
71
|
-
`,
|
|
71
|
+
`,q=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
|
-
`,
|
|
77
|
+
`,Ge=i(Zt)`
|
|
78
78
|
color: ${e=>e.theme.colors.primary};
|
|
79
79
|
${e=>`${dn.sectionTitle.style(e.windowSize)}`};
|
|
80
80
|
margin-left: ${e=>m.sectionTitleMarginLeft.valuePx(e.windowSize)};
|
|
@@ -102,34 +102,34 @@ import{e as Tt,ay as Ct,x as u,fk as Dt,fl as It,fm as kt,V as t,fn as Pt,fo as
|
|
|
102
102
|
`,In=i(ce)`
|
|
103
103
|
padding-bottom: ${n.sp3};
|
|
104
104
|
color: ${j.brandColorGoldDark};
|
|
105
|
-
`,
|
|
105
|
+
`,Pn=i(Ht)`
|
|
106
106
|
padding-top: ${n.sp3};
|
|
107
107
|
color: ${j.brandColorGoldDark};
|
|
108
|
-
`,
|
|
108
|
+
`,He=i.div`
|
|
109
109
|
display: flex;
|
|
110
110
|
flex-direction: ${e=>it.includes(e.windowSize)?"column":"row"};
|
|
111
111
|
width: 100%;
|
|
112
|
-
`,
|
|
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
|
-
`,
|
|
117
|
+
`,An=i.div`
|
|
118
118
|
display: flex;
|
|
119
119
|
column-gap: ${n.sp2};
|
|
120
120
|
align-items: center;
|
|
121
|
-
`,
|
|
121
|
+
`,Mn=i.div`
|
|
122
122
|
display: flex;
|
|
123
123
|
padding-top: ${n.sp3};
|
|
124
|
-
`,
|
|
124
|
+
`,Ke=i(Xt)`
|
|
125
125
|
display: flex;
|
|
126
126
|
color: ${e=>e.theme.colors.hero};
|
|
127
127
|
margin-right: ${n.sp1};
|
|
128
|
-
`,
|
|
128
|
+
`,qe=i(Jt)`
|
|
129
129
|
display: flex;
|
|
130
130
|
color: ${e=>e.theme.colors.primary};
|
|
131
131
|
margin-right: ${n.sp1};
|
|
132
|
-
`,
|
|
132
|
+
`,Ue=i(_t)`
|
|
133
133
|
cursor: pointer;
|
|
134
134
|
color: ${e=>e.theme.colors.hero};
|
|
135
135
|
width: 20px;
|
|
@@ -152,11 +152,11 @@ import{e as Tt,ay as Ct,x as u,fk as Dt,fl as It,fm as kt,V as t,fn as Pt,fo as
|
|
|
152
152
|
padding-left: ${n.sp0};
|
|
153
153
|
z-index: 2;
|
|
154
154
|
background-color: ${e=>e.theme.colors.grey4};
|
|
155
|
-
`,
|
|
155
|
+
`,Rn=i(Vt)`
|
|
156
156
|
height: ${n.sp3};
|
|
157
157
|
width: ${n.sp3};
|
|
158
158
|
color: ${e=>e.theme.colors.hero};
|
|
159
|
-
`,
|
|
159
|
+
`,Ln=i.span`
|
|
160
160
|
display: flex;
|
|
161
161
|
align-items: center;
|
|
162
162
|
margin-left: ${n.sp2};
|
|
@@ -198,25 +198,25 @@ import{e as Tt,ay as Ct,x as u,fk as Dt,fl as It,fm as kt,V as t,fn as Pt,fo as
|
|
|
198
198
|
display: flex;
|
|
199
199
|
align-items: center;
|
|
200
200
|
margin-right: ${n.sp1};
|
|
201
|
-
`,
|
|
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
|
-
`,
|
|
206
|
+
`,U=i(ce)`
|
|
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
|
-
`,
|
|
212
|
+
`,Qe=i(ce)`
|
|
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
|
-
`,
|
|
219
|
+
`,Wn=i.div`
|
|
220
220
|
display: flex;
|
|
221
221
|
cursor: pointer;
|
|
222
222
|
column-gap: ${n.sp1};
|
|
@@ -226,7 +226,7 @@ import{e as Tt,ay as Ct,x as u,fk as Dt,fl as It,fm as kt,V as t,fn as Pt,fo as
|
|
|
226
226
|
display: flex;
|
|
227
227
|
justify-content: flex-end;
|
|
228
228
|
align-items: center;
|
|
229
|
-
`,
|
|
229
|
+
`,Vn=i.div`
|
|
230
230
|
display: flex;
|
|
231
231
|
flex-grow: 1;
|
|
232
232
|
cursor: pointer;
|
|
@@ -247,31 +247,31 @@ import{e as Tt,ay as Ct,x as u,fk as Dt,fl as It,fm as kt,V as t,fn as Pt,fo as
|
|
|
247
247
|
padding: 1px 6px;
|
|
248
248
|
border: ${e=>`1px solid ${e.borderColor}`};
|
|
249
249
|
border-radius: ${n.sp1};
|
|
250
|
-
`,
|
|
250
|
+
`,_n=i.div`
|
|
251
251
|
display: flex;
|
|
252
252
|
flex-direction: column;
|
|
253
|
-
`,
|
|
253
|
+
`,Yn=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
|
-
`,
|
|
260
|
+
`,Zn=i(me)`
|
|
261
261
|
margin-top: ${n.sp3};
|
|
262
262
|
color: ${j.alert};
|
|
263
|
-
`,
|
|
263
|
+
`,Gn=i(Gt)`
|
|
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: ${j.brandColorGoldDark};
|
|
270
|
-
`,
|
|
270
|
+
`,Hn=i.div`
|
|
271
271
|
display: flex;
|
|
272
272
|
justify-content: flex-end;
|
|
273
273
|
margin-right: ${e=>m.footerRightIconMarginRight.valuePx(e.windowSize)};
|
|
274
|
-
`,
|
|
274
|
+
`,Kn=i(tn)`
|
|
275
275
|
cursor: pointer;
|
|
276
276
|
color: ${e=>e.theme.colors.hero};
|
|
277
277
|
width: ${n.sp4};
|
|
@@ -279,7 +279,7 @@ import{e as Tt,ay as Ct,x as u,fk as Dt,fl as It,fm as kt,V as t,fn as Pt,fo as
|
|
|
279
279
|
&:hover {
|
|
280
280
|
color: ${e=>e.theme.colors.primary};
|
|
281
281
|
}
|
|
282
|
-
`,
|
|
282
|
+
`,qn=i.div`
|
|
283
283
|
display: flex;
|
|
284
284
|
cursor: pointer;
|
|
285
285
|
color: ${e=>e.theme.colors.grey1};
|
package/dist/assets/{ReviewOverlay-CxwoiOLC-vRTfwGwR.js → ReviewOverlay-BoM41t8W-B3q95pxr.js}
RENAMED
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{J as P,V as i,aR as m,o as r,aT as L,y as d,x as M,H as I,B as C,p as s,am as j,cE as W,T as R,aj as b,bj as D,u as n,eo as G,h as _,j0 as H,kd as J}from"./index-DqZ19at7.js";import{n as t}from"./mui-ZYC_cKE8.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]="4b40e475-f58a-41d9-a685-938ba4a788b7",e._sentryDebugIdIdentifier="sentry-dbid-4b40e475-f58a-41d9-a685-938ba4a788b7")}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])},A={title:new I("h6Regular","h5Regular")},xe=({title:e,description:g,reviewItems:x,showFooter:S,footerProps:{primaryButton:z,cancelButton:T,hideCancel:E},onCloseOverlay:k,onCloseReviewItem:B})=>{const a=P();return i.jsxs(V,{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(O,{windowSize:a,children:[i.jsxs(q,{windowSize:a,children:[i.jsx(K,{children:i.jsx(N,{windowSize:a,children:e})}),i.jsx(Q,{isError:g.isError,windowSize:a,children:g.content})]}),i.jsx(U,{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:()=>B(o.id),"data-testid":m("review-close",o.id)}):null,i.jsxs(te,{children:[i.jsxs(ne,{children:[i.jsx(de,{children:F(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(L,{primaryBtn:z,cancelBtn:T,showCancel:!E}):null]})},F=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,{}),V=t.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
background-color: ${e=>e.theme.colors.grey4};
|
|
5
|
-
`,
|
|
5
|
+
`,O=t.div`
|
|
6
6
|
min-height: 100vh;
|
|
7
7
|
display: flex;
|
|
8
8
|
flex-direction: column;
|
|
9
9
|
margin-top: ${e=>l.containerMarginTop.valuePx(e.windowSize)};
|
|
10
10
|
margin-bottom: ${r.sp8};
|
|
11
|
-
`,
|
|
11
|
+
`,q=t.div`
|
|
12
12
|
position: sticky;
|
|
13
13
|
top: ${r.sp0};
|
|
14
14
|
background-color: ${e=>e.theme.colors.grey4};
|
|
15
15
|
z-index: 1;
|
|
16
16
|
padding-left: ${e=>l.containerMarginLeft.valuePx(e.windowSize)};
|
|
17
17
|
padding-right: ${e=>l.containerMarginRight.valuePx(e.windowSize)};
|
|
18
|
-
`,
|
|
18
|
+
`,K=t.div`
|
|
19
19
|
display: flex;
|
|
20
20
|
align-items: center;
|
|
21
|
-
`,
|
|
22
|
-
${e=>`${
|
|
21
|
+
`,N=t(C)`
|
|
22
|
+
${e=>`${A.title.style(e.windowSize)}`};
|
|
23
23
|
color: ${e=>e.theme.colors.primary};
|
|
24
24
|
margin-top: ${r.sp2};
|
|
25
25
|
margin-bottom: ${e=>l.titleMarginBotom.valuePx(e.windowSize)};
|
|
@@ -59,7 +59,7 @@ import{e as M,V as i,ac as m,o as r,aT as P,x as d,b as B,N as C,M as I,d as s,a
|
|
|
59
59
|
display: flex;
|
|
60
60
|
flex: 1 1 0;
|
|
61
61
|
justify-content: flex-end;
|
|
62
|
-
`,ie=t(
|
|
62
|
+
`,ie=t(M)`
|
|
63
63
|
width: ${r.sp4};
|
|
64
64
|
height: ${r.sp4};
|
|
65
65
|
cursor: pointer;
|
|
@@ -113,7 +113,7 @@ import{e as M,V as i,ac as m,o as r,aT as P,x as d,b as B,N as C,M as I,d as s,a
|
|
|
113
113
|
width: ${r.sp4};
|
|
114
114
|
height: ${r.sp4};
|
|
115
115
|
color: ${s.success};
|
|
116
|
-
`,le=t(
|
|
116
|
+
`,le=t(J)`
|
|
117
117
|
width: ${r.sp4};
|
|
118
118
|
height: ${r.sp4};
|
|
119
119
|
color: ${e=>e.theme.colors.grey2};
|
|
@@ -141,11 +141,11 @@ import{e as M,V as i,ac as m,o as r,aT as P,x as d,b as B,N as C,M as I,d as s,a
|
|
|
141
141
|
align-items: center;
|
|
142
142
|
justify-content: center;
|
|
143
143
|
margin-right: ${r.sp1};
|
|
144
|
-
`,$=t(
|
|
144
|
+
`,$=t(D)`
|
|
145
145
|
color: ${e=>e.theme.colors.brandColorJade};
|
|
146
146
|
width: ${r.sp3};
|
|
147
147
|
height: ${r.sp3};
|
|
148
|
-
`,he=t(
|
|
148
|
+
`,he=t(H)`
|
|
149
149
|
color: ${e=>e.theme.colors.brandColorGoldDark};
|
|
150
150
|
width: ${r.sp4};
|
|
151
151
|
height: ${r.sp4};
|