@zeniai/web-cockpit-ui 1.15.13-qa → 1.15.14-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-BlujuoRH-Dd5Jdtmf.js → ACHDetailsPage-BOZmOJHO-CTkTIAbj.js} +3 -3
- package/dist/assets/{AIPerformancePage-DfgPUakC-ZgXRgVKD.js → AIPerformancePage-ZVCJizP9-lO42v2Da.js} +103 -103
- package/dist/assets/AccountInfoPage-DF6IU0EG-Dri9KZDQ.js +18 -0
- package/dist/assets/{AccountInfoPageContent-CTvsml8u-BgWKlEhB.js → AccountInfoPageContent-D0wuuzMd-CYUOf7Yy.js} +16 -16
- package/dist/assets/AccountLockedInfoModal-Cfx-lPAZ-YxipIVg7.js +59 -0
- package/dist/assets/{AccountReconDetailsDrawerPage-D6WT5Co_-Caf4DPub.js → AccountReconDetailsDrawerPage-DbHX6rPG-C26CYTpl.js} +8 -8
- package/dist/assets/{AccountRow-FmhkZVL4-B4hjOMzk.js → AccountRow-Bk_25FCy-D6n4Wyn2.js} +30 -30
- package/dist/assets/{AccountsPromoCardStack-B5Mri6qW-cjKgMtIm.js → AccountsPromoCardStack-DAXRwY1f-RsUU3rub.js} +29 -29
- package/dist/assets/AddAddressForCardDrawer-DNGQGGYg-CnD6PCyg.js +6 -0
- package/dist/assets/{AddToWalletPage-fBplELoj-DIi5wnhQ.js → AddToWalletPage-CzziHgi7-CkYda4Rq.js} +21 -21
- package/dist/assets/{AgingReportsPage-CgeLN6Su-CYUQwEno.js → AgingReportsPage-Bdi3krKK-CkVmkoJN.js} +5 -5
- package/dist/assets/{AllUserItems-vOFCgjs7-CZxF22QA.js → AllUserItems-XWDuiug6-BJAl8j2p.js} +10 -10
- package/dist/assets/ApAgingDetailPage-CaM_AzrU-DKImzj6b.js +46 -0
- package/dist/assets/{AppBasePage-DrIjva6e-CIH4lORb.js → AppBasePage-B7_L4R6d-C9IdAuSh.js} +9 -9
- package/dist/assets/{AppDrawerContent-Co1DpiWD-C1aJG4Zb.js → AppDrawerContent-DSX1364T-B5p_fokJ.js} +5 -5
- package/dist/assets/ApprovalRulesSettingsPage-DrjPOeyp-CtFbj7lh.js +47 -0
- package/dist/assets/{ArAgingChart-B2zTJJgb-CxGZOD7f.js → ArAgingChart-M7KUNA4G-B-NjvlhZ.js} +1 -1
- package/dist/assets/ArAgingDetailPage-7lby5mXn-Dx6TaWmh.js +46 -0
- package/dist/assets/{AttachmentView-vlVaH4YF-B4GAfoTh.js → AttachmentView-Bsa0u92o-C5Ith7Dl.js} +9 -9
- package/dist/assets/{BankAccountSection-CDKiTWgn-BmAeSXp7.js → BankAccountSection-BkOlwayA-BzRDpgU5.js} +4 -4
- package/dist/assets/{BankAccountWarningSection-tSnRJm3S-B1s5Qbs5.js → BankAccountWarningSection-uMOXLH0B-oIIZXk5D.js} +6 -6
- package/dist/assets/{BankConnectionsSettingsPage-O_L8CHJf-r9FaHN_N.js → BankConnectionsSettingsPage-C_YytTke-D0UJIore.js} +37 -37
- package/dist/assets/{BillDetailPage-DR3JefXf-DQcSQBQN.js → BillDetailPage-DvU5_Rsp-BboSjxSV.js} +9 -9
- package/dist/assets/BillPayApprovalRuleDetailPage-UeVxIxfF-ChvhrNL4.js +27 -0
- package/dist/assets/{BillPayApprovalRulesPage-yFoEpHK8-DvqKTU1y.js → BillPayApprovalRulesPage-CA9eufjt-vJvDNiXo.js} +18 -18
- package/dist/assets/{BillPayPromoPage-DZkA_0AV-B7Z2nWn1.js → BillPayPromoPage-DsXPWKAf-y7kYOpnD.js} +6 -6
- package/dist/assets/{BillPaySetUpPage-B2j-es9G-BzaThv8U.js → BillPaySetUpPage-CeMhzZ_3-CRMj2J_Q.js} +4 -4
- package/dist/assets/BillingSettingsPage-BygJjDSp-BaaSCOrk.js +44 -0
- package/dist/assets/{BillsBulkReviewDrawerPage-B2LDJ9-N-Bk0TD_dk.js → BillsBulkReviewDrawerPage-WrR46NRa-CIbrXxhM.js} +1 -1
- package/dist/assets/{BoxItem-B0bHU_KA-Dy4QmdXc.js → BoxItem-C0M4PSXY-C-i-BYiZ.js} +1 -1
- package/dist/assets/{BusinessVerificationPage-DZ27apcr-BQW590Mb.js → BusinessVerificationPage-C63pUk4d-D7ADEeIx.js} +15 -15
- package/dist/assets/{CardNumberSubText-CpqumrS--CXxxAA8f.js → CardNumberSubText-B4dAoYDE-B-faaYZL.js} +8 -8
- package/dist/assets/{CashbackDetailPage-C3oNmfln-Cu2JEVGt.js → CashbackDetailPage-B6xvn-y3-yUoVzYGM.js} +20 -20
- package/dist/assets/ChargeCardDetailPage-eJJ4MEE6-C0LSLa5V.js +1467 -0
- package/dist/assets/{ChargeCardListPage-B_PxtkQX-BnMys8lA.js → ChargeCardListPage-BYI2HIjA-8seyP4-1.js} +22 -22
- package/dist/assets/{ChargeCardListTable-kp0WwIZo-Cm-Owd6-.js → ChargeCardListTable-DAVYmKCK-COsfkC8-.js} +45 -45
- package/dist/assets/{ChargeCardPaymentHistoryPage-D1l3Qgr_-DI6gSbof.js → ChargeCardPaymentHistoryPage-BX5HtOxd-DIJQAhYy.js} +26 -26
- package/dist/assets/ChargeCardPromoPage-DuQe7BpX-CdXkhoNK.js +222 -0
- package/dist/assets/ChargeCardSetupPage-DG1eKhYR-GcD8Xbgo.js +36 -0
- package/dist/assets/{ChargeCardStatementsPage-a5u9wGDg-Brg2gDI9.js → ChargeCardStatementsPage-CvtZtuVC-D5_HpJbR.js} +9 -9
- package/dist/assets/{CheckDepositDrawerPage-_DvlXSse-B_BucfsH.js → CheckDepositDrawerPage-BdacGDpy-NH0B7hCl.js} +18 -18
- package/dist/assets/{CollapsableReportTable-DgteU0nB-Cxehs4Kl.js → CollapsableReportTable-UADp1m_8-0iD5_esu.js} +41 -41
- package/dist/assets/{CompanyOfficerDetailsSection-DG1ZQ-UL-DV2WNNsF.js → CompanyOfficerDetailsSection-CaAR0Wvk-xuxahQFB.js} +29 -29
- package/dist/assets/{CompanyPassportCard-JfMVwFHV-yhZW8SN7.js → CompanyPassportCard-BJN2GEVm-BAPQ7zZ1.js} +7 -7
- package/dist/assets/{CompanyPassportPage-2j8z-oge-BKw2EluX.js → CompanyPassportPage-D2ALJDF_-rREFezcB.js} +35 -35
- package/dist/assets/{CompleteProfile-Cm8XlcS3-tX4c8EKJ.js → CompleteProfile-C8X8Z3C2-C4M22bfo.js} +2 -2
- package/dist/assets/ConfettiBurst-DxHzdDPp-DbSVEJuf.js +1 -0
- package/dist/assets/ConstrainedInnerElement-BeIpAPjB-o1dQwSVr.js +5 -0
- package/dist/assets/{CreateOrEditVendorPage-BxSAnKo6-D4OGgB6l.js → CreateOrEditVendorPage-y-COpdhs-Vjb6QXyJ.js} +14 -14
- package/dist/assets/{CreditCardPaymentDrawerPage-a2j9Vyid-A-8aAfdw.js → CreditCardPaymentDrawerPage-CntYJJ8v-DG1CtNGi.js} +14 -14
- package/dist/assets/{CurrencySelectField-CbBlYqRB-C0JlTtQx.js → CurrencySelectField-Dn-hE2az-FKP6XCyG.js} +5 -5
- package/dist/assets/{CustomerOnboardingActivationPage-CG508vOx-DfM0MC9z.js → CustomerOnboardingActivationPage-B9MZHJVc-E8apuJFB.js} +3 -3
- package/dist/assets/CustomerOnboardingContainerPage-eR0yY2uX-B417jal6.js +1 -0
- package/dist/assets/{CustomerOnboardingDetailPageSkeleton-BszHZi0e-4lgjtzgv.js → CustomerOnboardingDetailPageSkeleton-BCe8BvQF-DP4PpY7E.js} +12 -12
- package/dist/assets/CustomerOnboardingNoStepsPage-BHk7rDAg-KOMcZLiU.js +66 -0
- package/dist/assets/{CustomerOnboardingPage-DM-gDkp1-DzvdKtNr.js → CustomerOnboardingPage-1LvpVpHC-CqEiTKL-.js} +9 -9
- package/dist/assets/{CustomerOnboardingProductSuitePage-BryLMJRG-IKtHrSqJ.js → CustomerOnboardingProductSuitePage-DMYHMJXg-CZpT_ybG.js} +6 -6
- package/dist/assets/{Dashboard-BRm1rkFD-CRrn0mlI.js → Dashboard-CCV0_aCP-DgaReFiA.js} +1 -1
- package/dist/assets/{DashboardReportPage-rtbUwJSW-DlJn5Hkl.js → DashboardReportPage-CmoH9Vrc-rbpJkvEW.js} +29 -29
- package/dist/assets/{DashboardSidebarBackgroundAnimation-DVTdlTEZ-BGfu-u_U.js → DashboardSidebarBackgroundAnimation-hw3einS7-B0933NPk.js} +1 -1
- package/dist/assets/{DepositAccTransactionItem-BbKLxsPR-WtW7LWPm.js → DepositAccTransactionItem-DgdkYGjP-Cn-RreCN.js} +4 -4
- package/dist/assets/{DepositAccTransactionListPage-0AV-fx2Z-CWuRJMem.js → DepositAccTransactionListPage-CF0WJn9M-Du5Uwrua.js} +3 -3
- package/dist/assets/{DomesticWireDetailsPage-BKumlfKE-CU_KFPsO.js → DomesticWireDetailsPage-B12tNa6e-D84j30Sh.js} +2 -2
- package/dist/assets/{DownloadOverlay-C6GFjg2N-dHGiNNT4.js → DownloadOverlay-Dt9yt4Fz-CZwt4xVi.js} +18 -18
- package/dist/assets/{DrawerPage-BjfQ_wvz-BAoek7CI.js → DrawerPage-Clki97FA-CKaiaKnY.js} +12 -12
- package/dist/assets/EditPeoplePage-CKS_aEZm-BLkXTTsd.js +55 -0
- package/dist/assets/{EditReimbursementDetailPage-D5cPRveU-XVZs5ANF.js → EditReimbursementDetailPage-CXy2ZWfZ-CZqOBA94.js} +36 -36
- package/dist/assets/EntityDetailPage-B3TQ5hCP-xkG_PJz4.js +18 -0
- package/dist/assets/EntitySummarySection-D_YLsP_P-DnjHmEt2.js +151 -0
- package/dist/assets/{ExpenseAutomationOverviewPage-D9JnRKeQ-DcgUsBHj.js → ExpenseAutomationOverviewPage-4z3yzHEA-DHRMbZ6T.js} +23 -23
- package/dist/assets/ExpenseAutomationPage-BJ4H_c2z-_vJX_cQS.js +1700 -0
- package/dist/assets/{ExpressPayPage-iL1BYLic-DNZMOaZn.js → ExpressPayPage-CTBD4y1v-NypzcPst.js} +15 -15
- package/dist/assets/{FeaturePreviewPage-CFz7RpI6-DGwrwI6h.js → FeaturePreviewPage-CYuTQWpP-B7pk5shZ.js} +2 -2
- package/dist/assets/{FollowStepsSection-Crd9GwnW-C67UFUxv.js → FollowStepsSection-BrpI2HyW-DjU7Bj21.js} +9 -9
- package/dist/assets/{GlobalReviewListPage-xUatsnwu-B_jOR6kE.js → GlobalReviewListPage-BcvxLqIL-CWsSxlvQ.js} +16 -16
- package/dist/assets/{InformationCardStack-CgSYiHdK-TXOis1xL.js → InformationCardStack-CU4Moqky-DbD2DWow.js} +4 -4
- package/dist/assets/{InsightsCardStack-dkuf5D9A-Bi0NlGwc.js → InsightsCardStack-D8UQiuXZ-BsOtVtjF.js} +8 -8
- package/dist/assets/{InsightsSection-CUk29Ace-Bs7LOW5A.js → InsightsSection-C3X6ZNEt-Dpfjh86q.js} +4 -4
- package/dist/assets/{IntegrationsSettingsPage-As-313jz-gWQZcbmC.js → IntegrationsSettingsPage-CsLv00HW-40iwxCCz.js} +8 -8
- package/dist/assets/{InternationalWireSwiftDetailsPage-CqMsBHlO-hyhi_VT_.js → InternationalWireSwiftDetailsPage-DgrN5Xg7-DjSCCsjb.js} +28 -28
- package/dist/assets/InternationalWireVerificationPage-CvysJNBQ-C883JmDe.js +65 -0
- package/dist/assets/{InviteFormPage-D7yOmbjN-DRh2E_al.js → InviteFormPage-B3KmRWXd-CA_rBrtH.js} +27 -27
- package/dist/assets/{InvitePageListView-CUeSQD7S-DqLMS2jC.js → InvitePageListView-DfpJBZru-C-jbSwOL.js} +43 -43
- package/dist/assets/InvitePeoplePage-C5Qgk24s-oyDKpik2.js +12 -0
- package/dist/assets/{InvoiceUploadSection-fjn4uF_l-CtGULxDA.js → InvoiceUploadSection-BO1i-e_D-BbCUnOdb.js} +6 -6
- package/dist/assets/{IssueChargeCardPage-B30u11O2-BbnI_a88.js → IssueChargeCardPage-mPsxt52d-D9F3L6UU.js} +28 -28
- package/dist/assets/{LabeledAddressValue-CJZ_1zh1-DgOJaHiW.js → LabeledAddressValue-C4fnQSyi-DMq7zZU4.js} +1 -1
- package/dist/assets/LabeledAddressValueField-D6dEaI69-BamQLjwy.js +45 -0
- package/dist/assets/{LabeledControlledCheckBoxField-DqtbWhaH-DCCVcSia.js → LabeledControlledCheckBoxField-B1QdZmvd-C7yRnNIt.js} +2 -2
- package/dist/assets/{LabeledCountryMultiSelectField-t7lnpz15-D8FuO5XK.js → LabeledCountryMultiSelectField-XeBih_-f-j0Io7uqC.js} +5 -5
- package/dist/assets/{LabeledCreatableSingleSelectField-DSrFEwMO-BKreuFG-.js → LabeledCreatableSingleSelectField-BPX2Nrlf-CpM2CK18.js} +6 -6
- package/dist/assets/LabeledDocumentField-Bjg8sNsg-DrkrUAxI.js +41 -0
- package/dist/assets/{LabeledDropDownFormattedTextField-IohlqRi7-BIeZ8HiN.js → LabeledDropDownFormattedTextField-A-rgip1E-yZVcOc80.js} +7 -7
- package/dist/assets/{LabeledMultiSelectField-CveBXp8L-VcfEoi4D.js → LabeledMultiSelectField-Di9Wnifv-Bms3kN_s.js} +3 -3
- package/dist/assets/{LabeledText-C9CoADG4-kebiAoiw.js → LabeledText-38fqkkE--D6H2xkOy.js} +4 -4
- package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-B6q4n0f5-mzAsluz6.js → LabeledUserSingleSelectWithSubtitlesField-BbF25dUP-CTkTJ07P.js} +19 -19
- package/dist/assets/{LabeledZeniRolesDropDownField-B-0ZfQFs-DQJ7lIYd.js → LabeledZeniRolesDropDownField-Dg9_Ww-A-Cs6KyXMg.js} +18 -18
- package/dist/assets/{LinkJETransactionPage-CLo-jbfZ-BP0AwRKd.js → LinkJETransactionPage-66mQ4nrK-cIqp9Xxp.js} +9 -9
- package/dist/assets/{LockCardPage-CmWzTH0n-BFlTHvg4.js → LockCardPage-BCqN4K17--IT5TUT0.js} +43 -43
- package/dist/assets/{LowBalancePopup-BUAKDPHL-B-KZGBlT.js → LowBalancePopup-BPk1-eAb-D_kd3qTx.js} +6 -6
- package/dist/assets/MagicLinkACHDetailsPage-DM7EUUU7-Cq8k80JE.js +1 -0
- package/dist/assets/MagicLinkDomesticWireDetailsPage-DKrGgFTu-DnFKtq_b.js +1 -0
- package/dist/assets/MagicLinkInternationalWireDetailsPage-B3OpSWB3-BEZ904x4.js +1 -0
- package/dist/assets/{MagicLinkSuccessPage-BGSpNBaK-CW6IvAZN.js → MagicLinkSuccessPage-CphaJa4k-DULBLAf5.js} +2 -2
- package/dist/assets/{MagicLinkTitleSection-BKIOmha4-DeepZ9HN.js → MagicLinkTitleSection-77rxhjLm-CO0H-7bF.js} +8 -8
- package/dist/assets/MailingDetailsSection-BJfZvT0b-Bt66H1X1.js +21 -0
- package/dist/assets/{MyBankConnectionsSettingsPage-B3HEwRST-gjCWp3eD.js → MyBankConnectionsSettingsPage-z0tHaSl1-Ctot5bNh.js} +9 -9
- package/dist/assets/{MyPendingActivationChargeCardListPage-Cy_JIUO5-CYi0CFHo.js → MyPendingActivationChargeCardListPage-CwGYwufd-DusBmTPf.js} +2 -2
- package/dist/assets/{MyProfileSettingsPage-D4XR8lj4-Dp3XDCA2.js → MyProfileSettingsPage-8yBXAre6-BxgUU9tS.js} +9 -9
- package/dist/assets/NavBarWithPicker-C3LVyiC9-DNxUvw98.js +30 -0
- package/dist/assets/{NavigationArrow-C1HvrCIx-eBcwRB_h.js → NavigationArrow-NuJEpE7O-DkE8Jq2l.js} +5 -5
- package/dist/assets/{NavigationDots-Ttv3r4BR-BmNd3gQF.js → NavigationDots-C7Na64B9-BQCsm-PU.js} +1 -1
- package/dist/assets/{NewGlobalMerchantPage-rrVa4Iiv-BIwnJ-_Z.js → NewGlobalMerchantPage-Cus6zYV_-D7RK-O2G.js} +39 -39
- package/dist/assets/NoDataChart-B3s_7m2n-6UR_W8KE.js +26 -0
- package/dist/assets/NoDataTable-CMpypnTw-DQkMwHu9.js +8 -0
- package/dist/assets/{NotFoundPage-C-RS1j9W-DQWzTEg5.js → NotFoundPage-RjXioqc8-D0YYrGvp.js} +7 -7
- package/dist/assets/{NotificationSettingsPage-Bt94GV9--BVC4OLZo.js → NotificationSettingsPage-DrDW_LU_-CoIFciaQ.js} +30 -30
- package/dist/assets/{NotificationsListConfig-CbWdzORJ-MhsBqOYT.js → NotificationsListConfig-C6_ap0JT-B7HvA4xZ.js} +1 -1
- package/dist/assets/{NotificationsPage-kZGgGVaC-zvIXXIC-.js → NotificationsPage-DOM-Gf5P-CLjwV-Lp.js} +17 -17
- package/dist/assets/{OpExByVendorPage-BSoM5hsv-Bb8IrTkh.js → OpExByVendorPage-CTuBB827-C5GnWYFy.js} +11 -11
- package/dist/assets/{OverlayContainerPage-IDTUbuAC-Bhrq7EM_.js → OverlayContainerPage-D4QU0p4o-CaOVtIUy.js} +1 -1
- package/dist/assets/{PandLWithForecastPage-C181kEf--TKHh2C5l.js → PandLWithForecastPage-BXaENYdR-C9QORNqG.js} +14 -14
- package/dist/assets/{PaymentAccountSetupBillingAddressSection-DqDvhQwH-CYm2Hw3U.js → PaymentAccountSetupBillingAddressSection-DSnQX90O-BNyF-R2t.js} +6 -6
- package/dist/assets/{PeoplePage-ByvK4lsu-vcFsHNs3.js → PeoplePage-BlyVVthI-BvlkSarj.js} +29 -29
- package/dist/assets/{Preview-B0RnB2Yn.js → Preview-1YaMlOZx.js} +1 -1
- package/dist/assets/{ProductsCarousel-CCLEQfr4-I7QWzOtX.js → ProductsCarousel-CAcPH--E-CypMj_aV.js} +8 -8
- package/dist/assets/{PromoBaseCards-BESaQCrl-CNjEFCSA.js → PromoBaseCards-BVwZMVeE-z_DbgbjQ.js} +12 -12
- package/dist/assets/{QBOConnectionDialog-BhmH5aji-CFc8C6Qx.js → QBOConnectionDialog-C3OYyhYO-BwQj_jEn.js} +5 -5
- package/dist/assets/QBOSetupSection-DQjol-D0-sxxCB5FU.js +79 -0
- package/dist/assets/ReimbursementApprovalRuleDetailPage-llw4ONPo-Dr8oEiGp.js +32 -0
- package/dist/assets/{ReimbursementApprovalRulesPage-CCo730ny-SbXFn_0A.js → ReimbursementApprovalRulesPage-Cx0gs7sS-BPzyINOc.js} +14 -14
- package/dist/assets/{ReimbursementDetailPage-D8G3Aoci-bE7GSifH.js → ReimbursementDetailPage-Cs_rmkS8-CDIuQvBq.js} +8 -8
- package/dist/assets/ReimbursementPromoPage-CCFl0kQK-DrE0eENq.js +84 -0
- package/dist/assets/{ReimbursementSetUpPage-KRQIL0VK-7SnWIfaP.js → ReimbursementSetUpPage-lf3xTVFh-Bme_YQP5.js} +14 -14
- package/dist/assets/{ReimbursementsBulkReviewDrawerPage-B77ypxnc-C-JnzSc1.js → ReimbursementsBulkReviewDrawerPage-C5MTFJLG-BXkXcGS3.js} +1 -1
- package/dist/assets/{ReloadCard-0KQtayY--Bl87L1FQ.js → ReloadCard-V_tv6YLR-COjEvLaN.js} +6 -6
- package/dist/assets/{ReportTableViewSelector-wrUJSIfk-2LsgXwby.js → ReportTableViewSelector-CWEvGn8L-DJHNnxty.js} +7 -7
- package/dist/assets/{ReportsPage-D-r0S90r-lHJmVa6A.js → ReportsPage-BJOH1wgv-BdRcuTXJ.js} +9 -9
- package/dist/assets/{RevenueChart-4kIDtnAc-CuxrvYRm.js → RevenueChart-C_tSBw_N-BYRoGv9-.js} +12 -12
- package/dist/assets/{ReviewDetailsPage-BqIBTewY-DCDTcOA3.js → ReviewDetailsPage-CScPf4w3-y6nDHfDS.js} +17 -17
- package/dist/assets/{ReviewOverlay-DjazNKfI-BvB_z9vd.js → ReviewOverlay-BQVwPzKa-BObyNWD7.js} +27 -27
- package/dist/assets/RoleWithToolTip-GCV_l8Ly-CXlGB2I2.js +22 -0
- package/dist/assets/ScheduleDetailsFixedAssetsPage-Cgqgn7nk-CcoeiAn4.js +37 -0
- package/dist/assets/ScheduleDetailsPage-D1EJbzxN-Cq8TagJn.js +37 -0
- package/dist/assets/{ScheduleSequenceTable-Dnapx3YK-B3LHOpVc.js → ScheduleSequenceTable-DDhoyPGX-DxfsGAJA.js} +53 -53
- package/dist/assets/{ScreenRoutes-Bw_CLYj-.js → ScreenRoutes-B0ae_HKZ.js} +1 -1
- package/dist/assets/{SetUpAccountSection-D7Nf4cYj-D_9hYtq8.js → SetUpAccountSection-AVL_16HQ-5LWynyPp.js} +6 -6
- package/dist/assets/{SignIn-Cl1If8Mq-ChOhS8Cq.js → SignIn-BLUwTp1l-DezfyWtW.js} +24 -24
- package/dist/assets/SignInScreen-3zG8eu4e.js +1 -0
- package/dist/assets/{SpendManagementListViewPage-B8AdQD7w-2SnG46U-.js → SpendManagementListViewPage-DJbNFHvP-B8BL4nbi.js} +16 -16
- package/dist/assets/{SpendManagementPerTabPage-BJxGbUNp-DBWLG06i.js → SpendManagementPerTabPage-J5pIRm-Q-DcJo9Q94.js} +35 -35
- package/dist/assets/{SpendManagementSection-CJ-vMwcf-CkjKdsg7.js → SpendManagementSection-DZaP5ai6-brwNtSLw.js} +25 -25
- package/dist/assets/StatementItem-D2Fx65LN-DIl2HCYS.js +31 -0
- package/dist/assets/{StatementsPage-BaDmSL9L-CUCTBhjX.js → StatementsPage-BCh51lDW-BlH-XzL8.js} +3 -3
- package/dist/assets/{StatusSwitcher-BZ2svcz0-BuztCmym.js → StatusSwitcher-C5ZrzI8Y-BU_eEikH.js} +4 -4
- package/dist/assets/{SubTabSwitcher-C3216C6m-Dl7lU-_D.js → SubTabSwitcher-BXZxKeq9-D-owiWdX.js} +1 -1
- package/dist/assets/{SummaryCard-CSkw4qa9-Bd0y6BWn.js → SummaryCard-194UToy6-BHlsJtk1.js} +1 -1
- package/dist/assets/TaskManagementPage-zcxDUo0t-xKHoHXew.js +508 -0
- package/dist/assets/{TimeRangeSwitcher-C9jo91ZR-uL_SpSuM.js → TimeRangeSwitcher-Bsv7zQmN-BpGkJwVm.js} +11 -11
- package/dist/assets/{TimeframeSwitcher-453JT8qD-BpIL1ddE.js → TimeframeSwitcher-DtxsNy1Z-2NM_x6iy.js} +6 -6
- package/dist/assets/{TimeframeSwitcherWithToggle-CkiICrjF-Ca-cPuHv.js → TimeframeSwitcherWithToggle-B5bFhbvL-I--dN0nD.js} +2 -2
- package/dist/assets/{TopExCard-Qae08TpE-CJNE7KqM.js → TopExCard-CBua66Cj-BJvS6xJO.js} +6 -6
- package/dist/assets/{TopExDetailPage-BpwMO-8K-BBtgOSB1.js → TopExDetailPage-DtMA-XMp-xn5xDKk9.js} +14 -14
- package/dist/assets/TransactionActivityLogPage-C3BPL8hi-CA_HOoFB.js +195 -0
- package/dist/assets/TransactionDetailPage-CeKaduBe-BQ8y5vaC.js +903 -0
- package/dist/assets/TransactionList-CSx8ZCZ--C1_8IqfL.js +153 -0
- package/dist/assets/{TransactionListBig-B6-3iOkU-euksbchR.js → TransactionListBig-B4cNQY2d-DerU8Hj9.js} +41 -41
- package/dist/assets/TransactionListPage-DHr64V-b-CrCMOxVS.js +35 -0
- package/dist/assets/{TransactionVendorDetailPage-BJzVtpnF-C5UXCtBB.js → TransactionVendorDetailPage-DsxI8U5b-D1fN8ld2.js} +4 -4
- package/dist/assets/{TransferDrawerPage-DCxNnGwu-CqUkcOyj.js → TransferDrawerPage-C91TQwZi-DM1mVvlx.js} +29 -29
- package/dist/assets/{TreasuryOverviewPage-DfIkj3v1-CgYmBgC-.js → TreasuryOverviewPage-BoBn_gtF-DBcXx8Ip.js} +46 -46
- package/dist/assets/{TreasuryPromoPage-BBdOyiO--AbQPyk6J.js → TreasuryPromoPage-CQ-VYEQC-G8WxsccX.js} +23 -23
- package/dist/assets/{TreasuryStatementsPage-NgiurO36-BX47gTKN.js → TreasuryStatementsPage-taTRE54D-F5NQNl6B.js} +3 -3
- package/dist/assets/{TreasuryTaxLetterPage-DcI8sKk8-_uuJ4o58.js → TreasuryTaxLetterPage-Cxhr51TD-tMoEVMoJ.js} +4 -4
- package/dist/assets/{TrendChart-DVp0Led--BygMKz23.js → TrendChart-DATgAEKG-DyojY-Xn.js} +5 -5
- package/dist/assets/{TrendWithTransactions-C5Zfe4RN-Dl9T676s.js → TrendWithTransactions-DqPFuOvC-CC97f1Ct.js} +7 -7
- package/dist/assets/{UncategorizedAccountsMappingPage-DKQj6Y2Z-CoDcx3gH.js → UncategorizedAccountsMappingPage-BQjXazj4-CJhXrmDs.js} +15 -15
- package/dist/assets/{UnitIntegrationPage-DzP4Z8GG-DXvLno6N.js → UnitIntegrationPage-BiRGRtpI-BcDsBpFu.js} +5 -5
- package/dist/assets/{UploadAdditionalDocumentOverlay-BGFTh8Ed-37xDqOmK.js → UploadAdditionalDocumentOverlay-DCldWCol-DPHHKajn.js} +4 -4
- package/dist/assets/Vendor2FAPopup-BpkAiYTA-DRH1-U3Y.js +1 -0
- package/dist/assets/VendorACHDetailsPage-tUuZzJnN-BuHGP8HY.js +1 -0
- package/dist/assets/VendorDetailPage-DY4iaLtz-BCpMBYhZ.js +257 -0
- package/dist/assets/VendorDomesticWireDetailsPage-B5Nym5J9-2vvRJbsc.js +1 -0
- package/dist/assets/{VendorFiling1099EditablePage-Bw_Igktf-B-WbIArD.js → VendorFiling1099EditablePage-Dep7O8Uz-D-aakTeI.js} +32 -32
- package/dist/assets/{VendorFirstReviewPage-CCCVS8n7-CKlRdVUB.js → VendorFirstReviewPage-CJQIZn8g-CYXImF6f.js} +33 -33
- package/dist/assets/{VendorInternationalWireDetailsPage-DsBGMjtN-Bfva6Pym.js → VendorInternationalWireDetailsPage-CJG5RIa2-I232damR.js} +15 -15
- package/dist/assets/VendorInternationalWireSwiftDetailsPage-DZabfieM-BiiacAMT.js +1 -0
- package/dist/assets/{VendorsAccountsSection-Bd1rg5Tw-CL7IEwEP.js → VendorsAccountsSection-D65ewlO6-qVucxRZa.js} +3 -3
- package/dist/assets/{VerifyDevice-B52Vuja4-UTWR3Ig3.js → VerifyDevice-B1_jgwgY-Ch7QTXrL.js} +11 -11
- package/dist/assets/{VideoPlayer-Cfh9VY-B-ufbtxIAv.js → VideoPlayer-vWSXteQ6-3WYEiLtc.js} +2 -2
- package/dist/assets/{VideoPopup-BLRMOVnP-fkReY2U7.js → VideoPopup-CdsmU6H4-DhRBOj6Y.js} +4 -4
- package/dist/assets/{WarningsDrawerPage-CnUUMlFZ-BeDBXJT0.js → WarningsDrawerPage-CjgOsD00-jsNE65_x.js} +8 -8
- package/dist/assets/{ZeniAccountDetailPage-DrBVs3G5-Th6GazP4.js → ZeniAccountDetailPage-DiLnoonB-DlTvBibz.js} +27 -27
- package/dist/assets/{ZeniAccountListViewPage-C3WwakQr-DfevQgF9.js → ZeniAccountListViewPage-YfPsO8ls-zJTfihep.js} +14 -14
- package/dist/assets/ZeniAccountNavBarPieces-CHStBvRa-CxRUkBZQ.js +14 -0
- package/dist/assets/{ZeniAccountPromoPage-DYAVwX1I-Bfs8WOV7.js → ZeniAccountPromoPage-cEfW88p8-BqXYqpjk.js} +24 -24
- package/dist/assets/{ZeniAccountSetupPage-D4y3RRC0-CePwWlun.js → ZeniAccountSetupPage-B20DHYex-Cr26cRx5.js} +2 -2
- package/dist/assets/ZeniCopyright-BROHmszx-BdOjLSgU.js +1 -0
- package/dist/assets/ZeniTransferAmountSlider-DZZrrFXf-B042YBIr.js +63 -0
- package/dist/assets/{add-to-wallet-DgdBD8_G-DsgRUVgA.js → add-to-wallet-DgdBD8_G-BTS0au4y.js} +1 -1
- package/dist/assets/{analytics-CSlaNB19.js → analytics-CiM00cgl.js} +1 -1
- package/dist/assets/analyticsHelper-CYVcHgk4.js +1 -0
- package/dist/assets/{analyticsHelper-C35dM-yG-DEMSy98E.js → analyticsHelper-FJ-cS8qS-BuiSmKz8.js} +1 -1
- package/dist/assets/{arrow-south-east-round-PEovUgvH-yHNADvS4.js → arrow-south-east-round-PEovUgvH-D3YhHzhy.js} +1 -1
- package/dist/assets/{auto-transfer-rule-mbafm5D3-Ccdjr6D8.js → auto-transfer-rule-mbafm5D3-TWGQh9DI.js} +1 -1
- package/dist/assets/chartTypes-DJdbX13L-kAvAG8Kn.js +1 -0
- package/dist/assets/{commonDimensions-Pu55v5lV-z8x_VKwC.js → commonDimensions-BpYNnQtf-ywoc-6eN.js} +1 -1
- package/dist/assets/{commonTypes-BElGElM--CDiTtN3P.js → commonTypes-BVbA7QjV-BQLFb0kw.js} +1 -1
- package/dist/assets/{constants-D-PeI_mM.js → constants-B0jEPb-7.js} +1 -1
- package/dist/assets/{core-CqdPXR9B.js → core-C99WDMlL.js} +1 -1
- package/dist/assets/{dash.all.min-DbcV3v7u.js → dash.all.min-0Hz96YMr.js} +1 -1
- package/dist/assets/{detailCommon-CM8F8nQy-BxwdCC90.js → detailCommon-BRja9H93-DkTefmWX.js} +4 -4
- package/dist/assets/downloadPdf-WDHjFv79-CcJ5DqX0.js +1 -0
- package/dist/assets/empty-C_JxotMu.js +1 -0
- package/dist/assets/{empty-DTh_Ij2M.js → empty-Dxj4kD7e.js} +1 -1
- package/dist/assets/epic-D-wOw91K.js +2 -0
- package/dist/assets/{gift-box-Cmt9OgIZ-Bn-y1hvl.js → gift-box-Cmt9OgIZ-5rTUYVv5.js} +1 -1
- package/dist/assets/{graphic-no-data-l-DU4J8fDt-a_iKaRv1.js → graphic-no-data-l-DU4J8fDt-CfThc3hK.js} +1 -1
- package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-C9dTXMJH.js → graphic-no-data-net-burn-l-CzmycA0m-BgtCb-Eb.js} +1 -1
- package/dist/assets/{handshake-BPg58FML-DqlUuE7u.js → handshake-BPg58FML-BTJKo4cA.js} +1 -1
- package/dist/assets/{index-DzUx431K.js → index-8lR-flGE.js} +1 -1
- package/dist/assets/index-B3gry9uw.js +1 -0
- package/dist/assets/{empty-DPq645sP.js → index-B66qV-7m.js} +1 -1
- package/dist/assets/index-B90BaOpo.js +1 -0
- package/dist/assets/{index-BTSZX0gU.js → index-BQLbHD9f.js} +1 -1
- package/dist/assets/{index-Bs6vtzGR.js → index-BaUtwdgr.js} +1 -1
- package/dist/assets/{index-D-WiwijD.js → index-Kp9YkIA7.js} +4979 -4728
- package/dist/assets/{lexical-D6mU3oV8.js → lexical-DuSFg2Qn.js} +1 -1
- package/dist/assets/{liveblocks-DXNKZvWw.js → liveblocks-BRWAYUb6.js} +1 -1
- package/dist/assets/{lottie-BGCmjFH9.js → lottie-CRJfZNkb.js} +1 -1
- package/dist/assets/{mapLoadingInProgressToTreeNode-4ruPPd2Y-D4RWIi7y.js → mapLoadingInProgressToTreeNode-C_5Bb47i-BdPvIdOh.js} +1 -1
- package/dist/assets/{mapSectionWithAcOnlyToTreeNode-B77EOrVX-C6RHHI_E.js → mapSectionWithAcOnlyToTreeNode-BlrJTKah-6AgiwAWE.js} +1 -1
- package/dist/assets/{mapSpacerToTreeNode-DbVBrfUp-Bv0PlGyX.js → mapSpacerToTreeNode-DvdWKHfX-3Q13yFIC.js} +1 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-88qIN3FA-x9jQgIsR.js +1 -0
- package/dist/assets/{mapTimeframeBalancesToTreeNode-DA60r528-6g96AE00.js → mapTimeframeBalancesToTreeNode-AkxvYRty-mSVf73T7.js} +1 -1
- package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-BPtN2Cj0-BPlARaPh.js → mapTimeframeHeaderLoadingInProgressToTreeNode-B5MDTbLz-B0t-DE03.js} +1 -1
- package/dist/assets/{mui-CooLgaJO.js → mui-NI7j5KJX.js} +1 -1
- package/dist/assets/{page-detail-CWX5S47F-D0SYshoo.js → page-detail-CWX5S47F-q5tz_pV-.js} +1 -1
- package/dist/assets/panelSelectedMixin-CzfD5-Zs-d6QWM0fH.js +4 -0
- package/dist/assets/{radio-default-CiSgisfh-aKay5Aup.js → radio-default-CiSgisfh-Pj_E6175.js} +1 -1
- package/dist/assets/{react-DHuOianZ.js → react-B650luWj.js} +1 -1
- package/dist/assets/{react-MtwZeeNV.js → react-CO1rZiqV.js} +2 -2
- package/dist/assets/{react-BOYN8kx1.js → react-CU2liPLj.js} +1 -1
- package/dist/assets/{react-_XrYtXDi.js → react-Dg8USaCb.js} +2 -2
- package/dist/assets/{react-BBgs2Til.js → react-DudL36ZJ.js} +1 -1
- package/dist/assets/{react-B3adtom7.js → react-MZHrw8FG.js} +1 -1
- package/dist/assets/{react-CrELMTJL.js → react-VfFVTNIz.js} +1 -1
- package/dist/assets/{react-CEyM_Slo.js → react-bPRJrhZm.js} +1 -1
- package/dist/assets/{recharts-DHPcYqKb.js → recharts-CK-XmmGv.js} +1 -1
- package/dist/assets/{sentry-Dlcq8VjX.js → sentry-D0RHYOS9.js} +1 -1
- package/dist/assets/{shield-DOlUxcFf-D8h0VGFI.js → shield-DOlUxcFf-BO3UIhm7.js} +1 -1
- package/dist/assets/toCOABalancesWithID-Bq4Xe7az-C_hxgNjb.js +1 -0
- package/dist/assets/toChartData-B3ouXKAd-QkHWiAxq.js +1 -0
- package/dist/assets/{uploadAttachment-n14_2p7o-CBuTNS1x.js → uploadAttachment-DNNG-CMy-CV5ASbU8.js} +15 -15
- package/dist/assets/uploadReceipts-Dge0cNF1-DEL-YE5n.js +1 -0
- package/dist/assets/{url-CfIahVCp.js → url-BH27ZDzK.js} +1 -1
- package/dist/assets/{url-d3WjAGv6.js → url-CC9EPZhq.js} +1 -1
- package/dist/assets/{useLongPress-GCK2COYQ-B0lPuhDh.js → useLongPress-GCK2COYQ-779sx01-.js} +1 -1
- package/dist/assets/{usp-line-BBd1wKwW-CZ22OQAj.js → usp-line-BBd1wKwW-Be4fJkJI.js} +1 -1
- package/dist/assets/{utils-CXbV7y1T.js → utils-z9KEKf_W.js} +1 -1
- package/dist/assets/{zeni-epic-state-pmiItBju.js → zeni-epic-state-Bk1TvHP-.js} +34 -34
- package/dist/index.html +1 -1
- package/package.json +3 -3
- package/dist/assets/AccountInfoPage-BYwGsz6J-Ch1FHntj.js +0 -18
- package/dist/assets/AccountLockedInfoModal-DeYVMh3B-D6y6Bwr0.js +0 -59
- package/dist/assets/AddAddressForCardDrawer-Bs4dQyRL-Ctl6nn7e.js +0 -6
- package/dist/assets/ApAgingDetailPage-CF5WKuOc-G76Jhct9.js +0 -46
- package/dist/assets/ApprovalRulesSettingsPage-tYbxBThK-Cxpify_d.js +0 -47
- package/dist/assets/ArAgingDetailPage-0nCr6crv-Devrv-ey.js +0 -46
- package/dist/assets/BillPayApprovalRuleDetailPage-2w8HO-NU-DEj9c-_Y.js +0 -27
- package/dist/assets/BillingSettingsPage-ayQNGWSW-12xUM18b.js +0 -44
- package/dist/assets/ChargeCardDetailPage-C9XhHqSo-BkvxAWzR.js +0 -1462
- package/dist/assets/ChargeCardPromoPage-DcmgTF8u-D_3YTdIj.js +0 -222
- package/dist/assets/ChargeCardSetupPage-BX9fPIf_-CyjwQIJA.js +0 -36
- package/dist/assets/ConfettiBurst-BtmMysff-DSGDjDAM.js +0 -1
- package/dist/assets/CustomerOnboardingContainerPage-CuP19GYc-DKOxICFF.js +0 -1
- package/dist/assets/CustomerOnboardingNoStepsPage-Cg8ti5NY-CNRxBWCb.js +0 -66
- package/dist/assets/EditPeoplePage-59PeI1Ul-7BEtuzGE.js +0 -55
- package/dist/assets/EntityDetailPage-CiO1dOzo-D_qDJTqi.js +0 -18
- package/dist/assets/EntitySummarySection-DBQxz0Ak-DIU4nLDs.js +0 -149
- package/dist/assets/ExpenseAutomationPage-isWf-Yjm-mtyufb1k.js +0 -1650
- package/dist/assets/InternationalWireVerificationPage-BJ9-Rvqo-BTBmsMoP.js +0 -65
- package/dist/assets/InvitePeoplePage-BY6iz4UW-_LkKTuEm.js +0 -12
- package/dist/assets/LabeledAddressValueField-3BEuHr_a-BjZNJRNs.js +0 -45
- package/dist/assets/LabeledDocumentField-CYvUm3Rk-DVDWNVjk.js +0 -41
- package/dist/assets/MagicLinkACHDetailsPage-v539jeyl-CJomAHzE.js +0 -1
- package/dist/assets/MagicLinkDomesticWireDetailsPage-CU9g_d2_-nKGmJ40l.js +0 -1
- package/dist/assets/MagicLinkInternationalWireDetailsPage-CYupqopA-DeZUaaBL.js +0 -1
- package/dist/assets/MailingDetailsSection-BwgWy_VZ-BUG7NCIc.js +0 -21
- package/dist/assets/NavBarWithPicker-Brxnh3kz-BA6BmzeV.js +0 -30
- package/dist/assets/NoDataChart--T7v827k-N1NjmdMu.js +0 -26
- package/dist/assets/NoDataTable-cJmfr934-B94qPxg7.js +0 -8
- package/dist/assets/QBOSetupSection-BevEEFTb-BnGksb95.js +0 -79
- package/dist/assets/ReimbursementApprovalRuleDetailPage-Dklp8fND-UoScHaM0.js +0 -32
- package/dist/assets/ReimbursementPromoPage-B8BSm0-k-DoAB3kjA.js +0 -84
- package/dist/assets/RoleWithToolTip-CjvIxkPO-i8Jvb-Om.js +0 -22
- package/dist/assets/ScheduleDetailsFixedAssetsPage-DBfwlnR1-a5rKuO2E.js +0 -37
- package/dist/assets/ScheduleDetailsPage-CLEKOymC-D9OGnjW_.js +0 -37
- package/dist/assets/SignInScreen-DnCtQXMH.js +0 -1
- package/dist/assets/StatementItem-CCXoBC0x-DV-yA8w8.js +0 -31
- package/dist/assets/TaskManagementPage-BO9Fcar1-D43wwO7_.js +0 -508
- package/dist/assets/TransactionDetailPage-CF5tZCkv-DaE0IPlE.js +0 -912
- package/dist/assets/TransactionList-BuFcrTEd-CDNpioP2.js +0 -147
- package/dist/assets/TransactionListPage-cSSv81G2-XuOtx5cl.js +0 -35
- package/dist/assets/Vendor2FAPopup-CyeLsWVA-BnnYCOfU.js +0 -1
- package/dist/assets/VendorACHDetailsPage-Ch6V5aiE-DwT4LvSy.js +0 -1
- package/dist/assets/VendorDetailPage-CrEIBnBt-C7KZBHYF.js +0 -257
- package/dist/assets/VendorDomesticWireDetailsPage-GMtYv721-CKzqrsaT.js +0 -1
- package/dist/assets/VendorInternationalWireSwiftDetailsPage-BeXxE9Qn-DLR6ZPyB.js +0 -1
- package/dist/assets/ZeniAccountNavBarPieces-CP2pkywN-Ca5ooSBr.js +0 -14
- package/dist/assets/ZeniCopyright-DxhdQ6XJ-BBelv_tx.js +0 -1
- package/dist/assets/ZeniTransferAmountSlider-COT3DDGF-BEmS_Buf.js +0 -63
- package/dist/assets/analyticsHelper-CoCMocx4.js +0 -1
- package/dist/assets/chartTypes-BDwrrz9S-Xt8nSCss.js +0 -1
- package/dist/assets/downloadPdf-BF8--IAB-CLiDzBIR.js +0 -1
- package/dist/assets/epic-96Yt9tV8.js +0 -2
- package/dist/assets/index-DQJyhSzl.js +0 -1
- package/dist/assets/index-DeNk0spl.js +0 -1
- package/dist/assets/index-DfNzwEf5.js +0 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-IkKV62Jb-5SdDjuyL.js +0 -1
- package/dist/assets/toCOABalancesWithID-C8uaUoxX-BzCEqBIC.js +0 -1
- package/dist/assets/toChartData-CTG-a8va-BrvbSe1U.js +0 -1
- package/dist/assets/uploadReceipts-DJRtId-4-CsfBPoke.js +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{d as A,V as a,F as D,J as de,b3 as Z,u as I,b as M,aY as J,o as m,aP as Ae,p as g,aD as Ve,y as xe,bM as ge,al as R,bN as V,ba as F}from"./index-Kp9YkIA7.js";import{a as P,P as ee}from"./sentry-D0RHYOS9.js";import{n as x}from"./mui-NI7j5KJX.js";import{p as b,d as ae,y as W,b as N,g as re,u as T}from"./chartTypes-DJdbX13L-kAvAG8Kn.js";import{i as K,h as oe,c as G}from"./toCOABalancesWithID-Bq4Xe7az-C_hxgNjb.js";import{V as Q}from"./toChartData-B3ouXKAd-QkHWiAxq.js";import{H as Te,I as te,X as le,Y as ne,J as ce,L as pe,K as se,M as me,N as fe}from"./recharts-CK-XmmGv.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]="175bda3c-acb1-461b-bc96-237f81152ca8",e._sentryDebugIdIdentifier="sentry-dbid-175bda3c-acb1-461b-bc96-237f81152ca8")}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};
|
|
@@ -27,9 +27,9 @@ import{g as A,V as a,F as D,J as de,b3 as Q,u as I,b as M,aY as J,o as m,aP as A
|
|
|
27
27
|
margin-right: ${m.sp2};
|
|
28
28
|
`,Ue=x(R)`
|
|
29
29
|
text-align: left;
|
|
30
|
-
`,
|
|
30
|
+
`,Qe=x(R)`
|
|
31
31
|
text-align: right;
|
|
32
|
-
`,
|
|
32
|
+
`,Ze=({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(Qe,{children:`${T(r.value)}`})]},r.barName+t)),Je=e=>{const r=Ze({...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(Je),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 s=b("cash_in","actual"),c=b("cash_out","actual"),f=b("net_cash_flow","actual"),p=l.length>0?s:i.length>0?c:void 0,d={};return d[s]=l,d[c]=i,d[f]=h,p!=null?Q(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,F as D,J as de,b3 as Q,u as I,b as M,aY as J,o as m,aP 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 s=A(),c=P.useRef(!1);P.useEffect(()=>{c.current=!0},[]);const f=[s.colors.graphColor33,s.colors.graphColor36,s.colors.graphColor35],p=(_,w=s.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&&!c.current;_.push(a.jsx(se,{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:s,onCOABalancesRangeChanged:c})=>{const f=de(),p=A(),d=e.timeseries,y=ae(e),_=d.map($=>$.label),w=h!==!1,C=$=>{if(!s||$?.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}};c?.(d[v],r,S)},L=s?(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(
|
|
45
|
+
`;function Tr({selectedRangeReport:e,timeframe:r,highlightedRange:t,width:n,height:o,showBarHoverBackground:l,isDetailPage:i,onCOABalancesRangeChanged:h}){const s=A(),c=P.useRef(!1);P.useEffect(()=>{c.current=!0},[]);const f=[s.colors.graphColor33,s.colors.graphColor36,s.colors.graphColor35],p=(_,w=s.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&&!c.current;_.push(a.jsx(se,{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:s,onCOABalancesRangeChanged:c})=>{const f=de(),p=A(),d=e.timeseries,y=ae(e),_=d.map($=>$.label),w=h!==!1,C=$=>{if(!s||$?.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}};c?.(d[v],r,S)},L=s?(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(Z,{children:({height:$,width:k})=>a.jsxs(Te,{data:e.recordByTimeseries,barCategoryGap:s?void 0:"12%",maxBarSize:s?I[10]:22,barGap:s?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=>J("0,0.[00]a",v,y)}),a.jsx(ce,{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,s?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;
|
|
@@ -57,10 +57,10 @@ import{g as A,V as a,F as D,J as de,b3 as Q,u as I,b as M,aY as J,o as m,aP as A
|
|
|
57
57
|
display: flex;
|
|
58
58
|
align-items: center;
|
|
59
59
|
justify-content: space-between;
|
|
60
|
-
`,sa=({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=sa(e);return r.length===0?null:a.jsx(la,{children:a.jsx(na,{children:r.map((t,n)=>a.jsx(ca,{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?
|
|
60
|
+
`,sa=({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=sa(e);return r.length===0?null:a.jsx(la,{children:a.jsx(na,{children:r.map((t,n)=>a.jsx(ca,{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?Q(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 s=A(),c=P.useRef(!1);P.useEffect(()=>{c.current=!0},[]);const f=ha(e.firstMonthOfFY,Ce,e.cashPosition),p=()=>{const d=[];return Ce.forEach(y=>{const _=i===!0&&!c.current;d.push(a.jsx(se,{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:s.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:s,onCOABalancesRangeChanged:c})=>{const f=A(),p=e.timeseries,d=ae(e),y=p.map(L=>L.label),_=h!==!1,w=L=>{if(!s||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}};c?.(p[k],r,j)},C=s?(l-60)/W.cash_position*(W.cash_position-e.recordByTimeseries.length):20;return a.jsx(da,{width:l,height:i,children:a.jsx(
|
|
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 s=A(),c=P.useRef(!1);P.useEffect(()=>{c.current=!0},[]);const f=ha(e.firstMonthOfFY,Ce,e.cashPosition),p=()=>{const d=[];return Ce.forEach(y=>{const _=i===!0&&!c.current;d.push(a.jsx(se,{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:s.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:s,onCOABalancesRangeChanged:c})=>{const f=A(),p=e.timeseries,d=ae(e),y=p.map(L=>L.label),_=h!==!1,w=L=>{if(!s||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}};c?.(p[k],r,j)},C=s?(l-60)/W.cash_position*(W.cash_position-e.recordByTimeseries.length):20;return a.jsx(da,{width:l,height:i,children:a.jsx(Z,{children:({height:L,width:$})=>a.jsxs(Te,{width:$,height:L,data:e.recordByTimeseries,barCategoryGap:"25%",maxBarSize:s?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=>J("0,0.[00]a",k,d)}),a.jsx(ce,{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,F as D,J as de,b3 as Q,u as I,b as M,aY as J,o as m,aP 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"),s=b("cogs","actual"),c=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 s:case c: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=[],s=[],c=[],f=[];n!=null&&n.balances.length>0&&(h=K("income","actual",n)),o!=null&&o.balances.length>0&&(s=K("cogs","actual",o)),l!=null&&l.balances.length>0&&(c=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:s.length>0?d:c.length>0?y:void 0,C={};return C[p]=h,C[d]=s,C[y]=c,C[_]=f,t==="forecast_mode"&&Object.assign(C,Oa(n,o,l,i)),w!=null?
|
|
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"),s=b("cogs","actual"),c=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 s:case c: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=[],s=[],c=[],f=[];n!=null&&n.balances.length>0&&(h=K("income","actual",n)),o!=null&&o.balances.length>0&&(s=K("cogs","actual",o)),l!=null&&l.balances.length>0&&(c=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:s.length>0?d:c.length>0?y:void 0,C={};return C[p]=h,C[d]=s,C[y]=c,C[_]=f,t==="forecast_mode"&&Object.assign(C,Oa(n,o,l,i)),w!=null?Q(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 s=b("income","forecast"),c=b("cogs","forecast"),f=b("expenses","forecast"),p=b("net_burn_or_income","forecast"),d={};return d[s]=o,d[c]=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,F as D,J as de,b3 as Q,u as I,b as M,aY as J,o as m,aP 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:s}){const c=A(),f=P.useRef(!1);P.useEffect(()=>{f.current=!0},[]);const p=[c.colors.graphColor36,c.colors.graphColor06,c.colors.graphColor31,c.colors.graphColor12],d=[c.colors.graphColor04,c.colors.graphColor10,c.colors.graphColor32,c.colors.graphColor13,c.colors.graphColor04Dark,c.colors.graphColor10Dark,c.colors.graphColor32Dark,c.colors.graphColor13Dark],y=h==="forecast_mode"?d:p,_=h==="forecast_mode"?Pa:za,w=(u,j=c.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(se,{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:s,highlightedRange:t,isDetailPage:i===!0})}const Wa=({chartData:e,timeframe:r,barElements:t,customToolTipContent:n,highlightedRange:o,width:l,height:i,showBarHoverBackground:h,isDetailPage:s,onCOABalancesRangeChanged:c})=>{const f=de(),p=A(),d=ae(e),y=e.timeseries,_=y.map($=>$.label),w=h!==!1,C=$=>{if(!s||$?.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}};c?.(y[v],r,S)},L=s?(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(
|
|
144
|
+
`;function Nr({selectedRangeReport:e,timeframe:r,highlightedRange:t,width:n,height:o,showBarHoverBackground:l,isDetailPage:i,mode:h,onCOABalancesRangeChanged:s}){const c=A(),f=P.useRef(!1);P.useEffect(()=>{f.current=!0},[]);const p=[c.colors.graphColor36,c.colors.graphColor06,c.colors.graphColor31,c.colors.graphColor12],d=[c.colors.graphColor04,c.colors.graphColor10,c.colors.graphColor32,c.colors.graphColor13,c.colors.graphColor04Dark,c.colors.graphColor10Dark,c.colors.graphColor32Dark,c.colors.graphColor13Dark],y=h==="forecast_mode"?d:p,_=h==="forecast_mode"?Pa:za,w=(u,j=c.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(se,{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:s,highlightedRange:t,isDetailPage:i===!0})}const Wa=({chartData:e,timeframe:r,barElements:t,customToolTipContent:n,highlightedRange:o,width:l,height:i,showBarHoverBackground:h,isDetailPage:s,onCOABalancesRangeChanged:c})=>{const f=de(),p=A(),d=ae(e),y=e.timeseries,_=y.map($=>$.label),w=h!==!1,C=$=>{if(!s||$?.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}};c?.(y[v],r,S)},L=s?(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(Z,{children:({height:$,width:k})=>a.jsxs(fe,{data:e.recordByTimeseries,barCategoryGap:s?void 0:"12%",maxBarSize:s?I[10]:22,barGap:s?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=>J("0,0.[00]a",v,d)}),a.jsx(ce,{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,s?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;
|
|
@@ -192,10 +192,10 @@ import{g as A,V as a,F as D,J as de,b3 as Q,u as I,b as M,aY as J,o as m,aP as A
|
|
|
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(s=>s.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 s;if(t.includes("forecast")!==!0){s=l.record[t]!=null?Ha(t,l):void 0;const c={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")?(c.amount+=l.record[p].amount?.amount??0,c.currencyCode=C!=null?C.currencyCode:c.currencyCode,c.currencySymbol=C!=null?C.currencySymbol:c.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((c?.amount-f?.amount)*100/100),y={...c,amount:d},_=f.amount!==0?Math.floor((c.amount-f.amount)/f.amount*100)/100:0,w={value:f,change:y,percent:_};n.push({barName:N(t),actual:h,forecast:s,color:i}),n.push({barName:D.getLocalizedStrings().chartCard.total,actual:c,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})})},
|
|
195
|
+
`,Fa=({active:e,payload:r,barName:t})=>{const n=[];if(r!=null&&e===!0){const o=r.filter(s=>s.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 s;if(t.includes("forecast")!==!0){s=l.record[t]!=null?Ha(t,l):void 0;const c={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")?(c.amount+=l.record[p].amount?.amount??0,c.currencyCode=C!=null?C.currencyCode:c.currencyCode,c.currencySymbol=C!=null?C.currencySymbol:c.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((c?.amount-f?.amount)*100/100),y={...c,amount:d},_=f.amount!==0?Math.floor((c.amount-f.amount)/f.amount*100)/100:0,w={value:f,change:y,percent:_};n.push({barName:N(t),actual:h,forecast:s,color:i}),n.push({barName:D.getLocalizedStrings().chartCard.total,actual:c,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})})},Qa=ee.memo(Ua),Za=(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?Q(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 Ja=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 s=G(h.accountGroupName,"actual",h),c=b(h.accountGroupName,"actual");o[c]=s,n.push(c),l==null&&s.length>0&&(l=b(h.accountGroupName,"actual"))}):t!=null&&t.accounts.length!=0&&(i=!0,t.accounts.forEach(h=>{const s=G(h.account.accountName,"actual",h.account.balancesInTimeframe),c=b(h.account.accountName,"actual");o[c]=s,n.push(c),l==null&&s.length>0&&(l=b(h.account.accountName,"actual"))})),t!=null&&t.accountGroups.length===0&&t.accounts.length===0){const h=D.getLocalizedStrings().chartCard.total,s=G(h,"actual",t);if(s.length!==0){const c=b(h,"actual");o[c]=s,l=c,n.push(c)}}return r==="forecast_mode"&&Object.assign(o,ar(n,t)),l!=null?Q(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:s}){const c=P.useRef(!1),[f,p]=P.useState(Ja),[d,y]=P.useState(void 0),_=A(),w=P.useRef([]);P.useEffect(()=>{c.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):
|
|
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:s}){const c=P.useRef(!1),[f,p]=P.useState(Ja),[d,y]=P.useState(void 0),_=A(),w=P.useRef([]);P.useEffect(()=>{c.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):Za(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(se,{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=!c.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(Qa,{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:s,highlightedRange:t,isDetailPage:i===!0})}const lr=({chartData:e,timeframe:r,barElements:t,customToolTipContent:n,highlightedRange:o,width:l,height:i,showBarHoverBackground:h,isDetailPage:s,onCOABalancesRangeChanged:c})=>{const f=A(),p=ae(e),d=e.timeseries,y=d.map(L=>L.label),_=h!==!1,w=L=>{if(!s||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}};c?.(d[k],r,j)},C=s?(l-60)/W.operating_expenses*(W.operating_expenses-e.recordByTimeseries.length):20;return a.jsx(rr,{width:l,height:i,children:a.jsx(Z,{children:({height:L,width:$})=>a.jsxs(fe,{width:$,height:L,stackOffset:"sign",data:e.recordByTimeseries,barCategoryGap:"25%",maxBarSize:s?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=>J("0,0.[00]a",k,p)}),a.jsx(ce,{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
|
`,cr=x.div`
|
|
201
201
|
display: flex;
|
|
@@ -263,7 +263,7 @@ import{g as A,V as a,F as D,J as de,b3 as Q,u as I,b as M,aY as J,o as m,aP as A
|
|
|
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 s=h.name;if(e===!0){const c=h.payload,f=h.color,p=s!=null&&c.record[s]!=null?c.record[s].amount:void 0;let d;if(s.includes("forecast")!==!0)switch(t==="forecast_mode"&&(d=c.record[s]!=null?mr(s,c):void 0),s){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(s)],actual:p,forecast:d,percent:c.record[s]!=null?c.record[s].percentValue??0:0,color:f});break;default:n.push({barName:D.getLocalizedStrings().chartCard.revenue[N(s)],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(cr,{children:[a.jsxs(sr,{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=[],s=[];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&&(s=oe("gross_margin","actual",l));const c=b("income","actual"),f=b("cogs","actual"),p=b("gross_margin","actual"),d=i.length>0?c:h.length>0?f:p,y={};return y[c]=i,y[f]=h,y[p]=s,t==="forecast_mode"&&Object.assign(y,vr(n,o,l)),d!=null?
|
|
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 s=h.name;if(e===!0){const c=h.payload,f=h.color,p=s!=null&&c.record[s]!=null?c.record[s].amount:void 0;let d;if(s.includes("forecast")!==!0)switch(t==="forecast_mode"&&(d=c.record[s]!=null?mr(s,c):void 0),s){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(s)],actual:p,forecast:d,percent:c.record[s]!=null?c.record[s].percentValue??0:0,color:f});break;default:n.push({barName:D.getLocalizedStrings().chartCard.revenue[N(s)],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(cr,{children:[a.jsxs(sr,{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=[],s=[];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&&(s=oe("gross_margin","actual",l));const c=b("income","actual"),f=b("cogs","actual"),p=b("gross_margin","actual"),d=i.length>0?c:h.length>0?f:p,y={};return y[c]=i,y[f]=h,y[p]=s,t==="forecast_mode"&&Object.assign(y,vr(n,o,l)),d!=null?Q(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"),s=b("gross_margin","forecast"),c={};return c[i]=n,c[h]=o,c[s]=l,c},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,F as D,J as de,b3 as Q,u as I,b as M,aY as J,o as m,aP 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:s}){const c=A(),f=P.useRef(!1);P.useEffect(()=>{f.current=!0},[]);const p=[c.colors.graphColor26,c.colors.graphColor17,c.colors.graphColor12],d=[c.colors.graphColor28,c.colors.graphColor17,c.colors.graphColor10,c.colors.graphColor28Dark,c.colors.graphColor17Dark,c.colors.graphColor10Dark],y=h==="forecast_mode"?d:p,_=h==="forecast_mode"?$r:kr,w=(u,j=c.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(se,{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:s,highlightedRange:t,isDetailPage:i===!0})}const Lr=({chartData:e,timeframe:r,barElements:t,customToolTipContent:n,highlightedRange:o,width:l,height:i,showBarHoverBackground:h,isDetailPage:s,onCOABalancesRangeChanged:c})=>{const f=de(),p=A(),d=ae(e),y=e.timeseries,_=y.map($=>$.label),w=h!==!1,C=$=>{if(!s||$?.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}};c?.(y[v],r,S)},L=s?(l-60)/W.revenue*(W.revenue-e.recordByTimeseries.length):20;return a.jsx(wr,{width:l,height:i,windowSize:f,children:a.jsx(
|
|
280
|
+
`;function Er({selectedRangeReport:e,timeframe:r,highlightedRange:t,width:n,height:o,showBarHoverBackground:l,isDetailPage:i,mode:h,onCOABalancesRangeChanged:s}){const c=A(),f=P.useRef(!1);P.useEffect(()=>{f.current=!0},[]);const p=[c.colors.graphColor26,c.colors.graphColor17,c.colors.graphColor12],d=[c.colors.graphColor28,c.colors.graphColor17,c.colors.graphColor10,c.colors.graphColor28Dark,c.colors.graphColor17Dark,c.colors.graphColor10Dark],y=h==="forecast_mode"?d:p,_=h==="forecast_mode"?$r:kr,w=(u,j=c.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(se,{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:s,highlightedRange:t,isDetailPage:i===!0})}const Lr=({chartData:e,timeframe:r,barElements:t,customToolTipContent:n,highlightedRange:o,width:l,height:i,showBarHoverBackground:h,isDetailPage:s,onCOABalancesRangeChanged:c})=>{const f=de(),p=A(),d=ae(e),y=e.timeseries,_=y.map($=>$.label),w=h!==!1,C=$=>{if(!s||$?.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}};c?.(y[v],r,S)},L=s?(l-60)/W.revenue*(W.revenue-e.recordByTimeseries.length):20;return a.jsx(wr,{width:l,height:i,windowSize:f,children:a.jsx(Z,{children:({height:$,width:k})=>a.jsxs(fe,{data:e.recordByTimeseries,barCategoryGap:s?void 0:"12%",maxBarSize:s?I[10]:22,barGap:s?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=>J("0,0.[00]a",v,d)}),a.jsx(ce,{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,s?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{J as Tt,aw as Ct,y as u,f2 as Dt,f3 as It,f4 as Pt,V as t,f5 as kt,f6 as le,f7 as At,f8 as Bt,f9 as Mt,fa as Ft,aN as A,fb as Rt,aP as j,fc as Lt,fd as Be,fe as Me,ff as Fe,b as H,fg as O,p as S,fh as zt,fi as E,fj as _,fk as Nt,fl as Ot,bS as Re,o as n,aR as Et,u as s,F as _t,ag as Wt,c1 as Zt,a as Vt,d as qt,fm as Yt,ch as Gt,al as se,am as ce,fn as Ht,fo as Kt,bi as Ut,f as Xt,b9 as Jt,fp as Qt,aq as et,bJ as en,ai as tt,bt as tn,fq as nn}from"./index-D-WiwijD.js";import{a as Z}from"./sentry-Dlcq8VjX.js";import{n as i}from"./mui-CooLgaJO.js";import{bo as Le,bm as ze,bH as I,bN as an,Fv as ln,bL as oe,bP as on}from"./zeni-epic-state-pmiItBju.js";import{t as rn,o as dn}from"./LowBalancePopup-BUAKDPHL-B-KZGBlT.js";import{S as W}from"./LabeledText-C9CoADG4-kebiAoiw.js";import"./liveblocks-DXNKZvWw.js";import"./core-CqdPXR9B.js";import"./recharts-DHPcYqKb.js";import"./lottie-BGCmjFH9.js";import"./analytics-CSlaNB19.js";import"./lexical-D6mU3oV8.js";import"./utils-CXbV7y1T.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]="76b9197e-74fa-484b-8f28-182cd7d19395",e._sentryDebugIdIdentifier="sentry-dbid-76b9197e-74fa-484b-8f28-182cd7d19395")}catch{}})();const nt=["small","medium-compact","medium-regular"],m={largeLabelWidth:new u(150,215,215),infoMinWidth:new u(0,0,0,142,142),infoMarginRight:new u(0,0,0,s[2],s[2]),footerButtonWidth:new u(120,165),iconContainerMarginTop:new u(6,s[1]),navBarContainerPaddingTop:new u(10,s[3]),sectionTitleMarginLeft:new u(s[3],s[0]),reviewContainerMarginLeft:new u(s[3],s[6]),reviewContainerMarginRight:new u(s[3],s[8]),footerRightIconMarginRight:new u(s[0],s[0],s[7]),infoLabelPaddingRight:new u(s[0],s[3]),infoLabelMarginTop:new u(s[1],s[0])},sn={sectionTitle:new Vt("h6Medium","h5Medium")},{dateFormat:Ne,common:{currency:v,labels:Oe,edit:cn,strings:{empty:h}},spendManagement:{billPay:mn}}=_t.getLocalizedStrings(),{billDetails:a,paymentDetails:Ee}=mn,_e=({attachment:e})=>{const[y,f]=Z.useState(!1),B=()=>{f(!1)},T=e.fileId?.length===0;return t.jsxs(On,{isDisabled:e.fileId?.length===0,"data-testid":j("attachment-tag",e.fileName),onClick:()=>T===!1?f(!0):null,children:[y&&e?.fileDownloadUrl!=null?t.jsx(Ht,{title:e.fileName,file:e,onCrossClick:()=>B(),setShowFullScreenView:f}):null,t.jsx(En,{children:t.jsx(Kt,{contentType:e.contentType})})]})},si=({billDetails:e,billpayApprovalView:y,isBillPayCommentingEnabled:f,currentTenant:B,isInternationalPaymentShaVsOurEnabled:T,isLocalCurrencyEnabled:it,style:at,analytics:w,isRecurringBillsFeatureEnabled:lt,isApprovalRequiredForMarkAsPaid:ot,isDetectInsufficientFundsEnabled:rt,billId:x,onClickEdit:me,discardBillDetailsFromLocalStore:pe,saveBillDetails:ue,discardOutsideZeniPaymentData:dt,updateBillDetailSaveBillCode:ye,redirectToBillsScreen:he,onAttachmentClick:J,retryPayment:st})=>{const d=Tt(),c=Ct(),M={application:"dashboard",companyId:c.currentTenant?.companyId,tab:"bill",entityId:x},F=f&&x!=null,R=`dashboard_${c.currentTenant?.companyId}`,L=m.largeLabelWidth.value(d),z=e.saveStatus,Q=e.zeniAssistRetryStatus,ee=e.vendor?.vendorCurrencyCode,o=Dt(T,it,e.billPayConfigList.filter(l=>l.method.includes(e.paymentDetailsSection?.withdrawFrom?.accType??"depositAccount")),e.paymentDetailsSection?.internationalTransferFeeBearerPaymentMethod,e.paymentDetailsSection?.paymentType,ee),C=Ne.visual.MMMDCommaYYYYformat,fe={amount:e.recipientTotalAmount.amount/(e.paymentDetailsSection?.conversionRate??1)*100/100,currencyCode:v.currencyCode,currencySymbol:v.currencySymbol},p={amount:o?.method.includes("international")===!0?It(fe,o):e.recipientTotalAmount.amount+(o?.fee.amount??0),currencyCode:v.currencyCode,currencySymbol:v.currencySymbol},N={amount:o?.method.includes("international")===!0?Pt(fe,o):o?.fee.amount??0,currencyCode:v.currencyCode,currencySymbol:v.currencySymbol},[ct,ge]=Z.useState(!1),[mt,xe]=Z.useState(!1),be=()=>ge(!1),pt=()=>{w.trackBillPayMagicLinkPreviewEmail("review_bill"),ge(!0)},ut=e.isCollectToAccountInfoFromVendorContact?t.jsxs(t.Fragment,{children:[`${a.magicLink.collectFrom} ${e.toAccountVendorEmail}`,t.jsx(Ln,{size:d,children:t.jsx(Rn,{})})]}):kt(e.paymentDetailsSection?.paymentTo);Z.useEffect(()=>{(z?.fetchState==="Completed"||Q?.fetchState==="Completed")&&(pe(),ye(),he())},[z,Q,he,pe,ye]);const $=e.billPayInfo?.stage,P=e.billPayInfo?.billStatus,V=e.billPayInfo?.billPaymentStatus,yt=e.billPayInfo?.billPaymentRefundStatus,te=$?.code==="paid"?$:P?.code=="approved"&&V?.code?V:P,ht=e.billPayInfo?.isRefundInitiated===!0?yt:P?.code=="approved"&&V?.code?V:P,ne=()=>{me()},we=()=>{me()},q=e.paymentDetailsSection?.paymentDate,ie=le(o?.method??""),$e=ie.replace("Same Day",""),ft=e.isCollectToAccountInfoFromVendorContact?t.jsx(At,{paymentTypeLabel:$e,onClick:pt}):a.addedByZeni,Y=y.allApprovalRules.length>0,gt=Le(o?.method!=null&&(o.method.includes(I)||o?.fee.amount!=null&&o.fee.amount!==0)?p.amount-N.amount:p.amount,o?.fee.currencyCode??ze.currencyCode,o?.fee.currencySymbol??ze.currencySymbol),g=an(e.paymentDetailsSection?.paymentType?.method),xt=l=>{w.trackBillPayMarkAsPaidSubmit(l.paymentMode??"other",$?.code??"draft",te?.code??""),ue(!0,l)},ve=()=>{xe(!0),w.trackBillPayMarkAsPaid($?.code??"draft",te?.code??"")},bt=()=>{dt(),xe(!1)},k=g&&($?.code!=null?$.code==="draft"||P?.code==="approved":!0),b=k&&!ot,je=We(b,Y,e.isBillMarkedForRetry),wt=()=>g?b?void 0:a.paymentOutsideZeni.reviewInfo:o?.method!=null&&o.method.includes(I)&&e.paymentDetailsSection?.internationalTransferFeeBearerPaymentMethod!=null&&T&&ee===v.currencyCode?Qt(e.paymentDetailsSection.internationalTransferFeeBearerPaymentMethod):void 0,ae=rt&&e.paymentDetailsSection!=null?Bt(p,e.paymentDetailsSection.withdrawFrom,e.paymentDetailsSection.paymentDate):void 0,$t=()=>{const l=e.paymentDetailsSection?.paymentDate,r=e.isCollectToAccountInfoFromVendorContact,D=e.recurringConfig,jt=e.recipientTotalAmount;if(e.isInvoiceDateAutoUpdated===!0&&w.trackBillPayAutoDateChange(x??"new_bill"),o?.method!=null&&l!=null){const St=g?a.paymentOutsideZeni.offline:le(o.method);if(w.trackBillPaySendForApproval(St,l.format(Ne.analytics.MMMDashDDDashYYYYFormat),r,e.isRecurring,x,e.paymentDetailsSection?.internationalTransferFeeBearerPaymentMethod,{startDate:oe(D?.startDate?.toString()??"").format(C),endDate:oe(D?.endDate?.toString()??"").format(C),frequency:D?.frequency??"monthly",totalAmount:jt.amount,totalPaymentCycles:D?.totalPaymentCycles??0,isApprovalRequired:D?.isApprovalRequired??!1,updateCurrentBill:e.recurringConfig?.id!=null?D?.updateRecurringBills==="current":void 0,updateFutureRecurringBills:e.recurringConfig?.id!=null?D?.updateRecurringBills==="all":void 0}),ae!=null){const Ce=$?.code??"draft",De=P?.code??"",Ie=e.isRecurring?["Recurring"]:["One-Time"],Pe=e.invoiceNumber??"",ke=nn(c.loggedInUser),Ae=e.paymentDetailsSection?.withdrawFrom?.accType==="depositAccount"?"ZA":"External Account";je===a.scheduleBill?w.trackLowBalanceAccountSchedule(Ce,De,Ie,Pe,ke,Ae):je===a.sendForApproval&&w.trackLowBalanceAccountSentForApproval(Ce,De,Ie,Pe,ke,Ae)}}},Se=()=>{Te===!0&&G(!1),e.isBillMarkedForRetry===!0?(st(),w.trackRetryConfirmClick(te?.code??"",$?.code??"",ht?.description??"",e.isRecurring?["Recurring"]:["One-Time"],e.invoiceNumber??"")):e.vendor!=null&&($t(),ue(!1,{}))},vt=ln(p.amount,y.allApprovalRules,c.loggedInUser),[Te,G]=Z.useState(!1);return t.jsxs($n,{children:[mt?t.jsx(rn,{onCancel:bt,onProceedForMarkAsPaid:xt,saveDetailsFetchState:z?.fetchState,paymentData:e.outsideZeniPaymentInfo}):null,Te?t.jsx(dn,{withdrawFrom:e.paymentDetailsSection?.withdrawFrom,paymentDate:e.paymentDetailsSection?.paymentDate,onOkClick:Se,onCancelClick:()=>{G(!1),ne()},onClickAway:()=>{G(!1)}}):null,t.jsx(Mt,{anchor:"right",open:ct,onClose:be,transitionDuration:250,"data-testid":j("vendor-email-preview-drawer"),children:t.jsx(Ft,{companyName:Rt(B.company?.companyInfo),vendor:e.vendor?.name,paymentDate:q?.format(C)??"",paymentType:$e,amount:A("0,0[.]00",p),isInvoiceAttached:!!e.file,onClose:be})}),t.jsxs(vn,{windowSize:d,style:at,children:[d==="small"?t.jsxs(Fn,{windowSize:d,children:[t.jsx(Ke,{onClick:we,"data-testid":j("review-detail-nav-bar-small-back")}),t.jsx(qe,{windowSize:d,children:a.oneLastLook})]}):t.jsx(Mn,{"data-testid":j("review-details-nav-bar-back"),children:t.jsx(Ke,{onClick:we})}),d!=="small"?t.jsx(Sn,{children:t.jsx(qe,{windowSize:d,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(Pn,{children:a.duplicateBillPayWarning}),t.jsxs(In,{children:[a.duplicateBillPayWarningSubHeading,t.jsxs("span",{"data-testid":j("review-detail-attachment-button"),onClick:()=>J(e.duplicateBillTransactions[0].id,e.duplicateBillTransactions[0].billPayInfo.stage.code),style:{textDecoration:"underline",cursor:"pointer"},children:[a.viewBill,e.duplicateBillTransactions[0].documentId]})]})]})]}),t.jsxs(Zn,{children:[t.jsx(qn,{children:a.duplicateInvoiceFound}),e.duplicateBillTransactions.map(l=>{const r=Lt(l);return l!=null?t.jsx(Vn,{children:nt.includes(d)?t.jsxs(Ye,{windowSize:d,children:[t.jsxs(kn,{children:[t.jsxs(An,{children:[l.attachments&&l.attachments.length>0?t.jsx(_e,{attachment:l.attachments[0]}):t.jsx(Ue,{children:t.jsx(Xe,{})}),t.jsx(U,{children:t.jsxs(t.Fragment,{children:[l.documentId!=null?a.invoiceNo:null,l.documentId]})})]}),t.jsx(Je,{windowSize:d,children:A("0,0[.]00",l.recipientTotalAmount)})]}),t.jsxs(_n,{"data-testid":j("review-detail-mobile-info"),onClick:()=>J(l.id,l.billPayInfo.stage.code),children:[t.jsxs(U,{children:[l.dueDate!=null?a.due:null," ",l.dueDate?.format(C)]}),t.jsx(Qe,{children:r!=null?Be.includes(r.code)?t.jsx(Me,{style:{padding:"2px 5px"},title:r.value,placement:"top",children:t.jsx(X,{color:r.color,bgColor:r.bgColor,borderColor:r.borderColor,children:r.value})}):t.jsx(X,{color:r.color,bgColor:r.bgColor,borderColor:r.borderColor,children:r.value}):null})]})]}):t.jsxs(Ye,{windowSize:d,children:[l.attachments&&l.attachments.length>0?t.jsx(_e,{attachment:l.attachments[0]}):t.jsx(Ue,{children:t.jsx(Xe,{})}),t.jsxs(Wn,{"data-testid":j("review-detail-info"),onClick:()=>J(l.id,l.billPayInfo.stage.code),children:[t.jsx(U,{style:{width:"50%"},children:t.jsxs("div",{children:[l.documentId!=null?a.invoiceNo:null," ",l.documentId]})}),t.jsxs(U,{style:{width:"25%"},children:[l.dueDate!=null?a.due:null," ",l.dueDate?.format(C)]}),t.jsx(Je,{style:{width:"25%"},windowSize:d,children:A("0,0[.]00",l.amount)})]}),t.jsx(Qe,{children:r!=null?Be.includes(r.code)?t.jsx(Me,{style:{padding:"2px 5px"},title:r.value,placement:"top",children:t.jsx(X,{color:r.color,bgColor:r.bgColor,borderColor:r.borderColor,children:r.value})}):t.jsx(X,{color:r.color,bgColor:r.bgColor,borderColor:r.borderColor,children:r.value}):null})]})},l.id):null})]})]}):null,t.jsxs(Bn,{children:[t.jsx(Ge,{children:a.pay}),t.jsx(He,{children:t.jsx(Fe,{amount:gt,integerStyles:H.largeMedium.cssObject,decimalStyles:H.smallMedium.cssObject})}),t.jsx(Ge,{children:a.to}),t.jsx(He,{children:e.vendor?.name})]}),t.jsxs(jn,{children:[g?null:t.jsxs(t.Fragment,{children:[t.jsx(O,{isThreadAllowed:F,entityId:x,dashboardTabKey:_({type:"details",key:"withdrawFrom"}),roomId:R,companyId:c.currentTenant?.companyId??h,companyName:c.currentTenant?.companyName??h,dashboardOptionType:"bill",filterMetaData:{...M,entityType:`bill.details.${E("withdrawFrom")}`},children:t.jsx(W,{label:{label:a.withdrawFrom,width:L},style:{width:"auto"},value:e.paymentDetailsSection?.withdrawFrom!=null?zt(e.paymentDetailsSection.withdrawFrom,d):h,infoLabelStyle:{textAlign:d==="small"?"left":"right",paddingRight:m.infoLabelPaddingRight.valuePx(d),marginTop:m.infoLabelMarginTop.valuePx(d),color:S.brandColorGoldDark},additionalInfoLabel:ae})}),t.jsx(K,{})]}),t.jsx(O,{isThreadAllowed:F,entityId:x,dashboardTabKey:_({type:"details",key:"paymentType"}),roomId:R,companyId:c.currentTenant?.companyId??h,companyName:c.currentTenant?.companyName??h,dashboardOptionType:"bill",filterMetaData:{...M,entityType:`bill.details.${E("paymentType")}`},children:t.jsx(W,{label:{label:a.paymentMethod,width:L},style:{width:"auto"},value:le(o?.method??""),additionalInfoLabel:wt()})}),t.jsx(K,{}),!g&&q!=null?t.jsxs(t.Fragment,{children:[t.jsx(O,{isThreadAllowed:F,entityId:x,dashboardTabKey:_({type:"details",key:"paymentDate"}),roomId:R,companyId:c.currentTenant?.companyId??h,companyName:c.currentTenant?.companyName??h,dashboardOptionType:"bill",filterMetaData:{...M,entityType:`bill.details.${E("paymentDate")}`},children:t.jsx(W,{label:{label:a.paymentDate,width:L},style:{width:"auto"},value:q.format(C),additionalInfoLabel:`${a.estimatedArrival}${oe(on(q.toDate(),[0,6],o?.maxPeriod.value??0).toDateString()).format(C)} - (${ie.length>0?`${ie} `:""}${a.deliveryTimeLabel} = ${o?.maxPeriod.value??"0"} ${a.deliveryTimeUnits})`})}),t.jsx(K,{})]}):null,g?null:t.jsx(O,{isThreadAllowed:F,entityId:x,dashboardTabKey:_({type:"details",key:"paymentTo"}),roomId:R,companyId:c.currentTenant?.companyId??h,companyName:c.currentTenant?.companyName??h,dashboardOptionType:"bill",filterMetaData:{...M,entityType:`bill.details.${E("paymentTo")}`},children:t.jsx(W,{label:{label:a.paymentTo,width:L},style:{width:"auto"},value:ut??"",additionalInfoLabel:ft})}),g||lt?t.jsxs(t.Fragment,{children:[t.jsx(K,{}),t.jsx(O,{isThreadAllowed:F,entityId:x,dashboardTabKey:_({type:"details",key:"recurringPaymentType"}),roomId:R,companyId:c.currentTenant?.companyId??h,companyName:c.currentTenant?.companyName??h,dashboardOptionType:"bill",filterMetaData:{...M,entityType:`bill.details.${E("recurringPaymentType")}`},children:t.jsx(W,{label:{label:a.paymentType,width:L},style:{width:"auto"},value:Ot(e.isRecurring,g,e.recurringBillInstance??1,e.recurringConfig?.totalPaymentCycles??0),additionalInfoLabel:Nt(d,e.isRecurring,g,e.recurringConfig)})})]}):null]}),!g&&o?.method!=null&&(o.method.includes(I)||o?.fee.amount!=null&&o.fee.amount!==0)?t.jsx(gn,{children:t.jsxs(xn,{windowSize:d,children:[t.jsxs(bn,{children:[t.jsx(yn,{children:a.total}),t.jsx(Re,{style:{padding:`12px ${n.sp3}`,lineHeight:"18px"},maxWidth:"312px",title:t.jsxs(fn,{children:[t.jsxs(Ve,{children:[t.jsx(de,{children:o.method.includes(I)&&ee!==v.currencyCode?Ee.conversionAmountColon:Oe.invoiceAmount}),t.jsx(re,{children:A("0,0[.]00",{amount:p.amount-N.amount,currencySymbol:N.currencySymbol})})]}),t.jsxs(Ve,{children:[t.jsx(de,{children:Ee.transactionFee}),t.jsx(re,{children:A("0,0[.]00",{amount:N.amount,currencySymbol:N.currencySymbol})})]}),t.jsx(hn,{}),t.jsxs(un,{children:[t.jsx(de,{children:Oe.total}),t.jsx(re,{children:A("0,0[.]00",{amount:p.amount,currencyCode:p.currencyCode,currencySymbol:p.currencySymbol})})]})]}),placement:"top-end",children:t.jsx(pn,{})})]}),t.jsx(wn,{children:t.jsx(Fe,{amount:Le(p.amount,p.currencyCode,p.currencySymbol),integerStyles:H.h6Medium.cssObject,decimalStyles:H.standardMedium.cssObject})})]})}):null]}),t.jsx(Et,{cancelBtn:{label:k&&!b?a.paymentOutsideZeni.markAsPaid:a.editBill,onClick:k&&!b?ve:ne,style:{width:Ze(!1,k,b,Y,d)}},primaryBtn:{label:We(b,Y,e.isBillMarkedForRetry),isLoading:z?.fetchState==="In-Progress"||Q?.fetchState==="In-Progress",onClick:b?ve:()=>{vt&&ae!=null?G(!0):Se()},style:{width:Ze(!0,k,b,Y,d)}},rightSideComponent:k&&!b&&z.fetchState!=="In-Progress"?t.jsx(Gn,{windowSize:d,children:t.jsx(Re,{style:{color:S.heroDark,padding:`2px ${n.sp2}`},display:"flex",title:cn,placement:"top",children:t.jsx(Kn,{onClick:ne,"data-testid":j("review-detail-edit-bill-button"),children:t.jsx(Hn,{})})})}):null,style:{minHeight:e.paymentDetailsSection?.paymentType?.method!=null&&e.paymentDetailsSection.paymentType.method.includes(I)?127:62,...e.paymentDetailsSection?.paymentType?.method!=null&&e.paymentDetailsSection.paymentType.method.includes(I)&&{padding:n.sp3,rowGap:n.sp3}},children:e.paymentDetailsSection?.paymentType?.method!=null&&e.paymentDetailsSection.paymentType.method.includes(I)?t.jsxs(zn,{children:[a.internationalText1,t.jsx(Nn,{href:"https://www.nium.com/legal/end-customer-terms",target:"_Blank",rel:"noopener noreferrer",children:a.internationalTerms}),a.internationalText2]}):null})]})},We=(e,y,f)=>e?a.paymentOutsideZeni.markAsPaid:f===!0?a.retryPayment:y?a.sendForApproval:a.scheduleBill,Ze=(e,y,f,B,T)=>f?128:y&&!e&&T==="small"?"auto":B?165:m.footerButtonWidth.value(T),pn=i(en)`
|
|
1
|
+
import{J as Tt,aw as Ct,y as u,f6 as Dt,f7 as It,f8 as Pt,V as t,f9 as kt,fa as le,fb as At,fc as Mt,fd as Bt,fe as Ft,aN as A,ff as Rt,aP as j,fg as Lt,fh as Me,fi as Be,fj as Fe,b as H,fk as O,p as S,fl as zt,fm as E,fn as W,fo as Nt,fp as Ot,bT as Re,o as n,aR as Et,u as s,F as Wt,ag as _t,c2 as Vt,O as Zt,a as Yt,fq as Gt,ci as qt,al as se,am as ce,fr as Ht,fs as Kt,bi as Ut,c as Xt,b9 as Jt,ft as Qt,aq as et,bK as en,ai as tt,bt as tn,fu as nn}from"./index-Kp9YkIA7.js";import{a as V}from"./sentry-D0RHYOS9.js";import{n as i}from"./mui-NI7j5KJX.js";import{bo as Le,bm as ze,bH as I,bN as an,Fz as ln,bL as oe,bP as on}from"./zeni-epic-state-Bk1TvHP-.js";import{t as rn,o as dn}from"./LowBalancePopup-BPk1-eAb-D_kd3qTx.js";import{S as _}from"./LabeledText-38fqkkE--D6H2xkOy.js";import"./liveblocks-BRWAYUb6.js";import"./core-C99WDMlL.js";import"./recharts-CK-XmmGv.js";import"./lottie-CRJfZNkb.js";import"./analytics-CiM00cgl.js";import"./lexical-DuSFg2Qn.js";import"./utils-z9KEKf_W.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]="5715d0d6-c48d-4e1d-bd66-3a822b5cfc36",e._sentryDebugIdIdentifier="sentry-dbid-5715d0d6-c48d-4e1d-bd66-3a822b5cfc36")}catch{}})();const nt=["small","medium-compact","medium-regular"],m={largeLabelWidth:new u(150,215,215),infoMinWidth:new u(0,0,0,142,142),infoMarginRight:new u(0,0,0,s[2],s[2]),footerButtonWidth:new u(120,165),iconContainerMarginTop:new u(6,s[1]),navBarContainerPaddingTop:new u(10,s[3]),sectionTitleMarginLeft:new u(s[3],s[0]),reviewContainerMarginLeft:new u(s[3],s[6]),reviewContainerMarginRight:new u(s[3],s[8]),footerRightIconMarginRight:new u(s[0],s[0],s[7]),infoLabelPaddingRight:new u(s[0],s[3]),infoLabelMarginTop:new u(s[1],s[0])},sn={sectionTitle:new Zt("h6Medium","h5Medium")},{dateFormat:Ne,common:{currency:v,labels:Oe,edit:cn,strings:{empty:h}},spendManagement:{billPay:mn}}=Wt.getLocalizedStrings(),{billDetails:a,paymentDetails:Ee}=mn,We=({attachment:e})=>{const[y,f]=V.useState(!1),M=()=>{f(!1)},T=e.fileId?.length===0;return t.jsxs(On,{isDisabled:e.fileId?.length===0,"data-testid":j("attachment-tag",e.fileName),onClick:()=>T===!1?f(!0):null,children:[y&&e?.fileDownloadUrl!=null?t.jsx(Ht,{title:e.fileName,file:e,onCrossClick:()=>M(),setShowFullScreenView:f}):null,t.jsx(En,{children:t.jsx(Kt,{contentType:e.contentType})})]})},si=({billDetails:e,billpayApprovalView:y,isBillPayCommentingEnabled:f,currentTenant:M,isInternationalPaymentShaVsOurEnabled:T,isLocalCurrencyEnabled:it,style:at,analytics:w,isRecurringBillsFeatureEnabled:lt,isApprovalRequiredForMarkAsPaid:ot,isDetectInsufficientFundsEnabled:rt,billId:x,onClickEdit:me,discardBillDetailsFromLocalStore:pe,saveBillDetails:ue,discardOutsideZeniPaymentData:dt,updateBillDetailSaveBillCode:ye,redirectToBillsScreen:he,onAttachmentClick:J,retryPayment:st})=>{const d=Tt(),c=Ct(),B={application:"dashboard",companyId:c.currentTenant?.companyId,tab:"bill",entityId:x},F=f&&x!=null,R=`dashboard_${c.currentTenant?.companyId}`,L=m.largeLabelWidth.value(d),z=e.saveStatus,Q=e.zeniAssistRetryStatus,ee=e.vendor?.vendorCurrencyCode,o=Dt(T,it,e.billPayConfigList.filter(l=>l.method.includes(e.paymentDetailsSection?.withdrawFrom?.accType??"depositAccount")),e.paymentDetailsSection?.internationalTransferFeeBearerPaymentMethod,e.paymentDetailsSection?.paymentType,ee),C=Ne.visual.MMMDCommaYYYYformat,fe={amount:e.recipientTotalAmount.amount/(e.paymentDetailsSection?.conversionRate??1)*100/100,currencyCode:v.currencyCode,currencySymbol:v.currencySymbol},p={amount:o?.method.includes("international")===!0?It(fe,o):e.recipientTotalAmount.amount+(o?.fee.amount??0),currencyCode:v.currencyCode,currencySymbol:v.currencySymbol},N={amount:o?.method.includes("international")===!0?Pt(fe,o):o?.fee.amount??0,currencyCode:v.currencyCode,currencySymbol:v.currencySymbol},[ct,ge]=V.useState(!1),[mt,xe]=V.useState(!1),be=()=>ge(!1),pt=()=>{w.trackBillPayMagicLinkPreviewEmail("review_bill"),ge(!0)},ut=e.isCollectToAccountInfoFromVendorContact?t.jsxs(t.Fragment,{children:[`${a.magicLink.collectFrom} ${e.toAccountVendorEmail}`,t.jsx(Ln,{size:d,children:t.jsx(Rn,{})})]}):kt(e.paymentDetailsSection?.paymentTo);V.useEffect(()=>{(z?.fetchState==="Completed"||Q?.fetchState==="Completed")&&(pe(),ye(),he())},[z,Q,he,pe,ye]);const $=e.billPayInfo?.stage,P=e.billPayInfo?.billStatus,Z=e.billPayInfo?.billPaymentStatus,yt=e.billPayInfo?.billPaymentRefundStatus,te=$?.code==="paid"?$:P?.code=="approved"&&Z?.code?Z:P,ht=e.billPayInfo?.isRefundInitiated===!0?yt:P?.code=="approved"&&Z?.code?Z:P,ne=()=>{me()},we=()=>{me()},Y=e.paymentDetailsSection?.paymentDate,ie=le(o?.method??""),$e=ie.replace("Same Day",""),ft=e.isCollectToAccountInfoFromVendorContact?t.jsx(At,{paymentTypeLabel:$e,onClick:pt}):a.addedByZeni,G=y.allApprovalRules.length>0,gt=Le(o?.method!=null&&(o.method.includes(I)||o?.fee.amount!=null&&o.fee.amount!==0)?p.amount-N.amount:p.amount,o?.fee.currencyCode??ze.currencyCode,o?.fee.currencySymbol??ze.currencySymbol),g=an(e.paymentDetailsSection?.paymentType?.method),xt=l=>{w.trackBillPayMarkAsPaidSubmit(l.paymentMode??"other",$?.code??"draft",te?.code??""),ue(!0,l)},ve=()=>{xe(!0),w.trackBillPayMarkAsPaid($?.code??"draft",te?.code??"")},bt=()=>{dt(),xe(!1)},k=g&&($?.code!=null?$.code==="draft"||P?.code==="approved":!0),b=k&&!ot,je=_e(b,G,e.isBillMarkedForRetry),wt=()=>g?b?void 0:a.paymentOutsideZeni.reviewInfo:o?.method!=null&&o.method.includes(I)&&e.paymentDetailsSection?.internationalTransferFeeBearerPaymentMethod!=null&&T&&ee===v.currencyCode?Qt(e.paymentDetailsSection.internationalTransferFeeBearerPaymentMethod):void 0,ae=rt&&e.paymentDetailsSection!=null?Mt(p,e.paymentDetailsSection.withdrawFrom,e.paymentDetailsSection.paymentDate):void 0,$t=()=>{const l=e.paymentDetailsSection?.paymentDate,r=e.isCollectToAccountInfoFromVendorContact,D=e.recurringConfig,jt=e.recipientTotalAmount;if(e.isInvoiceDateAutoUpdated===!0&&w.trackBillPayAutoDateChange(x??"new_bill"),o?.method!=null&&l!=null){const St=g?a.paymentOutsideZeni.offline:le(o.method);if(w.trackBillPaySendForApproval(St,l.format(Ne.analytics.MMMDashDDDashYYYYFormat),r,e.isRecurring,x,e.paymentDetailsSection?.internationalTransferFeeBearerPaymentMethod,{startDate:oe(D?.startDate?.toString()??"").format(C),endDate:oe(D?.endDate?.toString()??"").format(C),frequency:D?.frequency??"monthly",totalAmount:jt.amount,totalPaymentCycles:D?.totalPaymentCycles??0,isApprovalRequired:D?.isApprovalRequired??!1,updateCurrentBill:e.recurringConfig?.id!=null?D?.updateRecurringBills==="current":void 0,updateFutureRecurringBills:e.recurringConfig?.id!=null?D?.updateRecurringBills==="all":void 0}),ae!=null){const Ce=$?.code??"draft",De=P?.code??"",Ie=e.isRecurring?["Recurring"]:["One-Time"],Pe=e.invoiceNumber??"",ke=nn(c.loggedInUser),Ae=e.paymentDetailsSection?.withdrawFrom?.accType==="depositAccount"?"ZA":"External Account";je===a.scheduleBill?w.trackLowBalanceAccountSchedule(Ce,De,Ie,Pe,ke,Ae):je===a.sendForApproval&&w.trackLowBalanceAccountSentForApproval(Ce,De,Ie,Pe,ke,Ae)}}},Se=()=>{Te===!0&&q(!1),e.isBillMarkedForRetry===!0?(st(),w.trackRetryConfirmClick(te?.code??"",$?.code??"",ht?.description??"",e.isRecurring?["Recurring"]:["One-Time"],e.invoiceNumber??"")):e.vendor!=null&&($t(),ue(!1,{}))},vt=ln(p.amount,y.allApprovalRules,c.loggedInUser),[Te,q]=V.useState(!1);return t.jsxs($n,{children:[mt?t.jsx(rn,{onCancel:bt,onProceedForMarkAsPaid:xt,saveDetailsFetchState:z?.fetchState,paymentData:e.outsideZeniPaymentInfo}):null,Te?t.jsx(dn,{withdrawFrom:e.paymentDetailsSection?.withdrawFrom,paymentDate:e.paymentDetailsSection?.paymentDate,onOkClick:Se,onCancelClick:()=>{q(!1),ne()},onClickAway:()=>{q(!1)}}):null,t.jsx(Bt,{anchor:"right",open:ct,onClose:be,transitionDuration:250,"data-testid":j("vendor-email-preview-drawer"),children:t.jsx(Ft,{companyName:Rt(M.company?.companyInfo),vendor:e.vendor?.name,paymentDate:Y?.format(C)??"",paymentType:$e,amount:A("0,0[.]00",p),isInvoiceAttached:!!e.file,onClose:be})}),t.jsxs(vn,{windowSize:d,style:at,children:[d==="small"?t.jsxs(Fn,{windowSize:d,children:[t.jsx(Ke,{onClick:we,"data-testid":j("review-detail-nav-bar-small-back")}),t.jsx(Ye,{windowSize:d,children:a.oneLastLook})]}):t.jsx(Bn,{"data-testid":j("review-details-nav-bar-back"),children:t.jsx(Ke,{onClick:we})}),d!=="small"?t.jsx(Sn,{children:t.jsx(Ye,{windowSize:d,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":j("review-detail-attachment-button"),onClick:()=>J(e.duplicateBillTransactions[0].id,e.duplicateBillTransactions[0].billPayInfo.stage.code),style:{textDecoration:"underline",cursor:"pointer"},children:[a.viewBill,e.duplicateBillTransactions[0].documentId]})]})]})]}),t.jsxs(Vn,{children:[t.jsx(Yn,{children:a.duplicateInvoiceFound}),e.duplicateBillTransactions.map(l=>{const r=Lt(l);return l!=null?t.jsx(Zn,{children:nt.includes(d)?t.jsxs(Ge,{windowSize:d,children:[t.jsxs(kn,{children:[t.jsxs(An,{children:[l.attachments&&l.attachments.length>0?t.jsx(We,{attachment:l.attachments[0]}):t.jsx(Ue,{children:t.jsx(Xe,{})}),t.jsx(U,{children:t.jsxs(t.Fragment,{children:[l.documentId!=null?a.invoiceNo:null,l.documentId]})})]}),t.jsx(Je,{windowSize:d,children:A("0,0[.]00",l.recipientTotalAmount)})]}),t.jsxs(Wn,{"data-testid":j("review-detail-mobile-info"),onClick:()=>J(l.id,l.billPayInfo.stage.code),children:[t.jsxs(U,{children:[l.dueDate!=null?a.due:null," ",l.dueDate?.format(C)]}),t.jsx(Qe,{children:r!=null?Me.includes(r.code)?t.jsx(Be,{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(Ge,{windowSize:d,children:[l.attachments&&l.attachments.length>0?t.jsx(We,{attachment:l.attachments[0]}):t.jsx(Ue,{children:t.jsx(Xe,{})}),t.jsxs(_n,{"data-testid":j("review-detail-info"),onClick:()=>J(l.id,l.billPayInfo.stage.code),children:[t.jsx(U,{style:{width:"50%"},children:t.jsxs("div",{children:[l.documentId!=null?a.invoiceNo:null," ",l.documentId]})}),t.jsxs(U,{style:{width:"25%"},children:[l.dueDate!=null?a.due:null," ",l.dueDate?.format(C)]}),t.jsx(Je,{style:{width:"25%"},windowSize:d,children:A("0,0[.]00",l.amount)})]}),t.jsx(Qe,{children:r!=null?Me.includes(r.code)?t.jsx(Be,{style:{padding:"2px 5px"},title:r.value,placement:"top",children:t.jsx(X,{color:r.color,bgColor:r.bgColor,borderColor:r.borderColor,children:r.value})}):t.jsx(X,{color:r.color,bgColor:r.bgColor,borderColor:r.borderColor,children:r.value}):null})]})},l.id):null})]})]}):null,t.jsxs(Mn,{children:[t.jsx(qe,{children:a.pay}),t.jsx(He,{children:t.jsx(Fe,{amount:gt,integerStyles:H.largeMedium.cssObject,decimalStyles:H.smallMedium.cssObject})}),t.jsx(qe,{children:a.to}),t.jsx(He,{children:e.vendor?.name})]}),t.jsxs(jn,{children:[g?null:t.jsxs(t.Fragment,{children:[t.jsx(O,{isThreadAllowed:F,entityId:x,dashboardTabKey:W({type:"details",key:"withdrawFrom"}),roomId:R,companyId:c.currentTenant?.companyId??h,companyName:c.currentTenant?.companyName??h,dashboardOptionType:"bill",filterMetaData:{...B,entityType:`bill.details.${E("withdrawFrom")}`},children:t.jsx(_,{label:{label:a.withdrawFrom,width:L},style:{width:"auto"},value:e.paymentDetailsSection?.withdrawFrom!=null?zt(e.paymentDetailsSection.withdrawFrom,d):h,infoLabelStyle:{textAlign:d==="small"?"left":"right",paddingRight:m.infoLabelPaddingRight.valuePx(d),marginTop:m.infoLabelMarginTop.valuePx(d),color:S.brandColorGoldDark},additionalInfoLabel:ae})}),t.jsx(K,{})]}),t.jsx(O,{isThreadAllowed:F,entityId:x,dashboardTabKey:W({type:"details",key:"paymentType"}),roomId:R,companyId:c.currentTenant?.companyId??h,companyName:c.currentTenant?.companyName??h,dashboardOptionType:"bill",filterMetaData:{...B,entityType:`bill.details.${E("paymentType")}`},children:t.jsx(_,{label:{label:a.paymentMethod,width:L},style:{width:"auto"},value:le(o?.method??""),additionalInfoLabel:wt()})}),t.jsx(K,{}),!g&&Y!=null?t.jsxs(t.Fragment,{children:[t.jsx(O,{isThreadAllowed:F,entityId:x,dashboardTabKey:W({type:"details",key:"paymentDate"}),roomId:R,companyId:c.currentTenant?.companyId??h,companyName:c.currentTenant?.companyName??h,dashboardOptionType:"bill",filterMetaData:{...B,entityType:`bill.details.${E("paymentDate")}`},children:t.jsx(_,{label:{label:a.paymentDate,width:L},style:{width:"auto"},value:Y.format(C),additionalInfoLabel:`${a.estimatedArrival}${oe(on(Y.toDate(),[0,6],o?.maxPeriod.value??0).toDateString()).format(C)} - (${ie.length>0?`${ie} `:""}${a.deliveryTimeLabel} = ${o?.maxPeriod.value??"0"} ${a.deliveryTimeUnits})`})}),t.jsx(K,{})]}):null,g?null:t.jsx(O,{isThreadAllowed:F,entityId:x,dashboardTabKey:W({type:"details",key:"paymentTo"}),roomId:R,companyId:c.currentTenant?.companyId??h,companyName:c.currentTenant?.companyName??h,dashboardOptionType:"bill",filterMetaData:{...B,entityType:`bill.details.${E("paymentTo")}`},children:t.jsx(_,{label:{label:a.paymentTo,width:L},style:{width:"auto"},value:ut??"",additionalInfoLabel:ft})}),g||lt?t.jsxs(t.Fragment,{children:[t.jsx(K,{}),t.jsx(O,{isThreadAllowed:F,entityId:x,dashboardTabKey:W({type:"details",key:"recurringPaymentType"}),roomId:R,companyId:c.currentTenant?.companyId??h,companyName:c.currentTenant?.companyName??h,dashboardOptionType:"bill",filterMetaData:{...B,entityType:`bill.details.${E("recurringPaymentType")}`},children:t.jsx(_,{label:{label:a.paymentType,width:L},style:{width:"auto"},value:Ot(e.isRecurring,g,e.recurringBillInstance??1,e.recurringConfig?.totalPaymentCycles??0),additionalInfoLabel:Nt(d,e.isRecurring,g,e.recurringConfig)})})]}):null]}),!g&&o?.method!=null&&(o.method.includes(I)||o?.fee.amount!=null&&o.fee.amount!==0)?t.jsx(gn,{children:t.jsxs(xn,{windowSize:d,children:[t.jsxs(bn,{children:[t.jsx(yn,{children:a.total}),t.jsx(Re,{style:{padding:`12px ${n.sp3}`,lineHeight:"18px"},maxWidth:"312px",title:t.jsxs(fn,{children:[t.jsxs(Ze,{children:[t.jsx(de,{children:o.method.includes(I)&&ee!==v.currencyCode?Ee.conversionAmountColon:Oe.invoiceAmount}),t.jsx(re,{children:A("0,0[.]00",{amount:p.amount-N.amount,currencySymbol:N.currencySymbol})})]}),t.jsxs(Ze,{children:[t.jsx(de,{children:Ee.transactionFee}),t.jsx(re,{children:A("0,0[.]00",{amount:N.amount,currencySymbol:N.currencySymbol})})]}),t.jsx(hn,{}),t.jsxs(un,{children:[t.jsx(de,{children:Oe.total}),t.jsx(re,{children:A("0,0[.]00",{amount:p.amount,currencyCode:p.currencyCode,currencySymbol:p.currencySymbol})})]})]}),placement:"top-end",children:t.jsx(pn,{})})]}),t.jsx(wn,{children:t.jsx(Fe,{amount:Le(p.amount,p.currencyCode,p.currencySymbol),integerStyles:H.h6Medium.cssObject,decimalStyles:H.standardMedium.cssObject})})]})}):null]}),t.jsx(Et,{cancelBtn:{label:k&&!b?a.paymentOutsideZeni.markAsPaid:a.editBill,onClick:k&&!b?ve:ne,style:{width:Ve(!1,k,b,G,d)}},primaryBtn:{label:_e(b,G,e.isBillMarkedForRetry),isLoading:z?.fetchState==="In-Progress"||Q?.fetchState==="In-Progress",onClick:b?ve:()=>{vt&&ae!=null?q(!0):Se()},style:{width:Ve(!0,k,b,G,d)}},rightSideComponent:k&&!b&&z.fetchState!=="In-Progress"?t.jsx(qn,{windowSize:d,children:t.jsx(Re,{style:{color:S.heroDark,padding:`2px ${n.sp2}`},display:"flex",title:cn,placement:"top",children:t.jsx(Kn,{onClick:ne,"data-testid":j("review-detail-edit-bill-button"),children:t.jsx(Hn,{})})})}):null,style:{minHeight:e.paymentDetailsSection?.paymentType?.method!=null&&e.paymentDetailsSection.paymentType.method.includes(I)?127:62,...e.paymentDetailsSection?.paymentType?.method!=null&&e.paymentDetailsSection.paymentType.method.includes(I)&&{padding:n.sp3,rowGap:n.sp3}},children:e.paymentDetailsSection?.paymentType?.method!=null&&e.paymentDetailsSection.paymentType.method.includes(I)?t.jsxs(zn,{children:[a.internationalText1,t.jsx(Nn,{href:"https://www.nium.com/legal/end-customer-terms",target:"_Blank",rel:"noopener noreferrer",children:a.internationalTerms}),a.internationalText2]}):null})]})},_e=(e,y,f)=>e?a.paymentOutsideZeni.markAsPaid:f===!0?a.retryPayment:y?a.sendForApproval:a.scheduleBill,Ve=(e,y,f,M,T)=>f?128:y&&!e&&T==="small"?"auto":M?165:m.footerButtonWidth.value(T),pn=i(en)`
|
|
2
2
|
width: ${n.sp3};
|
|
3
3
|
height: ${n.sp3};
|
|
4
4
|
color: ${e=>e.theme.colors.hero};
|
|
5
5
|
&:hover {
|
|
6
6
|
color: ${e=>e.theme.colors.primary};
|
|
7
7
|
}
|
|
8
|
-
`,
|
|
8
|
+
`,Ze=i(tt)`
|
|
9
9
|
display: flex;
|
|
10
10
|
justify-content: space-between;
|
|
11
11
|
padding-bottom: ${n.sp1};
|
|
@@ -74,7 +74,7 @@ import{J as Tt,aw as Ct,y as u,f2 as Dt,f3 as It,f4 as Pt,V as t,f5 as kt,f6 as
|
|
|
74
74
|
background-color: ${e=>e.theme.colors.grey3};
|
|
75
75
|
min-height: 1px;
|
|
76
76
|
max-height: 1px;
|
|
77
|
-
`,
|
|
77
|
+
`,Ye=i(Yt)`
|
|
78
78
|
color: ${e=>e.theme.colors.primary};
|
|
79
79
|
${e=>`${sn.sectionTitle.style(e.windowSize)}`};
|
|
80
80
|
margin-left: ${e=>m.sectionTitleMarginLeft.valuePx(e.windowSize)};
|
|
@@ -102,10 +102,10 @@ import{J as Tt,aw as Ct,y as u,f2 as Dt,f3 as It,f4 as Pt,V as t,f5 as kt,f6 as
|
|
|
102
102
|
`,In=i(se)`
|
|
103
103
|
padding-bottom: ${n.sp3};
|
|
104
104
|
color: ${S.brandColorGoldDark};
|
|
105
|
-
`,Pn=i(
|
|
105
|
+
`,Pn=i(qt)`
|
|
106
106
|
padding-top: ${n.sp3};
|
|
107
107
|
color: ${S.brandColorGoldDark};
|
|
108
|
-
`,
|
|
108
|
+
`,Ge=i.div`
|
|
109
109
|
display: flex;
|
|
110
110
|
flex-direction: ${e=>nt.includes(e.windowSize)?"column":"row"};
|
|
111
111
|
width: 100%;
|
|
@@ -118,10 +118,10 @@ import{J as Tt,aw as Ct,y as u,f2 as Dt,f3 as It,f4 as Pt,V as t,f5 as kt,f6 as
|
|
|
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
|
+
`,qe=i(Xt)`
|
|
125
125
|
display: flex;
|
|
126
126
|
color: ${e=>e.theme.colors.hero};
|
|
127
127
|
margin-right: ${n.sp1};
|
|
@@ -129,7 +129,7 @@ import{J as Tt,aw as Ct,y as u,f2 as Dt,f3 as It,f4 as Pt,V as t,f5 as kt,f6 as
|
|
|
129
129
|
display: flex;
|
|
130
130
|
color: ${e=>e.theme.colors.primary};
|
|
131
131
|
margin-right: ${n.sp1};
|
|
132
|
-
`,Ke=i(
|
|
132
|
+
`,Ke=i(Vt)`
|
|
133
133
|
cursor: pointer;
|
|
134
134
|
color: ${e=>e.theme.colors.hero};
|
|
135
135
|
width: 20px;
|
|
@@ -137,7 +137,7 @@ import{J as Tt,aw as Ct,y as u,f2 as Dt,f3 as It,f4 as Pt,V as t,f5 as kt,f6 as
|
|
|
137
137
|
&:hover {
|
|
138
138
|
color: ${e=>e.theme.colors.primary};
|
|
139
139
|
}
|
|
140
|
-
`,
|
|
140
|
+
`,Bn=i.div`
|
|
141
141
|
margin-bottom: ${n.sp3};
|
|
142
142
|
`,Fn=i.div`
|
|
143
143
|
display: flex;
|
|
@@ -152,7 +152,7 @@ import{J as Tt,aw as Ct,y as u,f2 as Dt,f3 as It,f4 as Pt,V as t,f5 as kt,f6 as
|
|
|
152
152
|
padding-left: ${n.sp0};
|
|
153
153
|
z-index: 2;
|
|
154
154
|
background-color: ${e=>e.theme.colors.grey4};
|
|
155
|
-
`,Rn=i(
|
|
155
|
+
`,Rn=i(_t)`
|
|
156
156
|
height: ${n.sp3};
|
|
157
157
|
width: ${n.sp3};
|
|
158
158
|
color: ${e=>e.theme.colors.hero};
|
|
@@ -216,7 +216,7 @@ import{J as Tt,aw as Ct,y as u,f2 as Dt,f3 as It,f4 as Pt,V as t,f5 as kt,f6 as
|
|
|
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{J as Tt,aw as Ct,y as u,f2 as Dt,f3 as It,f4 as Pt,V as t,f5 as kt,f6 as
|
|
|
226
226
|
display: flex;
|
|
227
227
|
justify-content: flex-end;
|
|
228
228
|
align-items: center;
|
|
229
|
-
`,
|
|
229
|
+
`,_n=i.div`
|
|
230
230
|
display: flex;
|
|
231
231
|
flex-grow: 1;
|
|
232
232
|
cursor: pointer;
|
|
@@ -247,27 +247,27 @@ import{J as Tt,aw as Ct,y as u,f2 as Dt,f3 as It,f4 as Pt,V as t,f5 as kt,f6 as
|
|
|
247
247
|
padding: 1px 6px;
|
|
248
248
|
border: ${e=>`1px solid ${e.borderColor}`};
|
|
249
249
|
border-radius: ${n.sp1};
|
|
250
|
-
`,
|
|
250
|
+
`,Vn=i.div`
|
|
251
251
|
display: flex;
|
|
252
252
|
flex-direction: column;
|
|
253
|
-
`,
|
|
253
|
+
`,Zn=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
|
+
`,Yn=i(ce)`
|
|
261
261
|
margin-top: ${n.sp3};
|
|
262
262
|
color: ${S.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: ${S.brandColorGoldDark};
|
|
270
|
-
`,
|
|
270
|
+
`,qn=i.div`
|
|
271
271
|
display: flex;
|
|
272
272
|
justify-content: flex-end;
|
|
273
273
|
margin-right: ${e=>m.footerRightIconMarginRight.valuePx(e.windowSize)};
|
package/dist/assets/{ReviewOverlay-DjazNKfI-BvB_z9vd.js → ReviewOverlay-BQVwPzKa-BObyNWD7.js}
RENAMED
|
@@ -1,49 +1,49 @@
|
|
|
1
|
-
import{J as
|
|
1
|
+
import{J as B,V as i,aP as m,o as r,aR as L,y as d,x as M,O as C,a as D,p as s,al as j,cC as I,T as W,ai as b,bh as R,u as n,em as G,h as _,i$ as J,kc as O}from"./index-Kp9YkIA7.js";import{n as t}from"./mui-NI7j5KJX.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]="b33e3df9-894b-4e63-9ddc-d0d3d8e9c375",e._sentryDebugIdIdentifier="sentry-dbid-b33e3df9-894b-4e63-9ddc-d0d3d8e9c375")}catch{}})();const a={containerMarginTop:new d(0,n[2]),containerMarginLeft:new d(n[3],n[8]),containerMarginRight:new d(n[3],n[8]),subTitleMarginBottom:new d(n[2],n[2]),titleMarginBotom:new d(n[0],n[2]),titleMarginRight:new d(n[0],n[3]),navBarHeight:new d(62,62,62),navBarPaddingLeft:new d(n[3],n[3],n[8]),navBarPaddingRight:new d(n[3],n[3],n[8])},A={title:new C("h6Regular","h5Regular")},xe=({title:e,description:g,reviewItems:x,showFooter:S,footerProps:{primaryButton:z,cancelButton:T,hideCancel:E},onCloseOverlay:k,onCloseReviewItem:P})=>{const l=B();return i.jsxs(V,{children:[i.jsx(U,{windowSize:l,children:i.jsx(X,{children:i.jsx(Y,{windowSize:l,children:i.jsx(ee,{children:i.jsx(ie,{onClick:k,"data-testid":m("review-overlay-close",e)})})})})}),i.jsxs(H,{windowSize:l,children:[i.jsxs(Z,{windowSize:l,children:[i.jsx(q,{children:i.jsx(K,{windowSize:l,children:e})}),i.jsx(N,{isError:g.isError,windowSize:l,children:g.content})]}),i.jsx(Q,{windowSize:l,children:x.map(o=>{const h=o.reviewStatus.code==="error",c=o.reviewStatus.code==="warning"||o.reviewStatus.code==="low-balance";return i.jsxs(re,{isLoading:!1,isActive:!0,isWarning:c,isError:h,children:[c?i.jsx(ce,{onClick:()=>P(o.id),"data-testid":m("review-close",o.id)}):null,i.jsxs(te,{children:[i.jsxs(ne,{children:[i.jsx(de,{children: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}),l!=="small"?i.jsxs(u,{windowSize:l,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]})]})]}),l==="small"?i.jsxs(u,{windowSize:l,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(W,{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(le,{}):e.reviewStatus.code==="low-balance"?i.jsx(he,{}):i.jsx(ae,{}),V=t.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
background-color: ${e=>e.theme.colors.grey4};
|
|
5
|
-
`,
|
|
5
|
+
`,H=t.div`
|
|
6
6
|
min-height: 100vh;
|
|
7
7
|
display: flex;
|
|
8
8
|
flex-direction: column;
|
|
9
|
-
margin-top: ${e=>
|
|
9
|
+
margin-top: ${e=>a.containerMarginTop.valuePx(e.windowSize)};
|
|
10
10
|
margin-bottom: ${r.sp8};
|
|
11
|
-
`,
|
|
11
|
+
`,Z=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
|
-
padding-left: ${e=>
|
|
17
|
-
padding-right: ${e=>
|
|
18
|
-
`,
|
|
16
|
+
padding-left: ${e=>a.containerMarginLeft.valuePx(e.windowSize)};
|
|
17
|
+
padding-right: ${e=>a.containerMarginRight.valuePx(e.windowSize)};
|
|
18
|
+
`,q=t.div`
|
|
19
19
|
display: flex;
|
|
20
20
|
align-items: center;
|
|
21
|
-
`,
|
|
21
|
+
`,K=t(D)`
|
|
22
22
|
${e=>`${A.title.style(e.windowSize)}`};
|
|
23
23
|
color: ${e=>e.theme.colors.primary};
|
|
24
24
|
margin-top: ${r.sp2};
|
|
25
|
-
margin-bottom: ${e=>
|
|
26
|
-
margin-right: ${e=>
|
|
27
|
-
`,
|
|
28
|
-
margin-bottom: ${e=>
|
|
25
|
+
margin-bottom: ${e=>a.titleMarginBotom.valuePx(e.windowSize)};
|
|
26
|
+
margin-right: ${e=>a.titleMarginRight.valuePx(e.windowSize)};
|
|
27
|
+
`,N=t(j)`
|
|
28
|
+
margin-bottom: ${e=>a.subTitleMarginBottom.valuePx(e.windowSize)};
|
|
29
29
|
color: ${e=>e.isError?s.important:e.theme.colors.hero};
|
|
30
|
-
`,
|
|
30
|
+
`,Q=t.div`
|
|
31
31
|
display: flex;
|
|
32
32
|
flex-direction: column;
|
|
33
33
|
margin-top: ${r.sp3};
|
|
34
|
-
margin-left: ${e=>
|
|
35
|
-
margin-right: ${e=>
|
|
36
|
-
`,
|
|
37
|
-
min-height: ${e=>
|
|
34
|
+
margin-left: ${e=>a.containerMarginLeft.valuePx(e.windowSize)};
|
|
35
|
+
margin-right: ${e=>a.containerMarginRight.valuePx(e.windowSize)};
|
|
36
|
+
`,U=t.div`
|
|
37
|
+
min-height: ${e=>a.navBarHeight.valuePx(e.windowSize)};
|
|
38
38
|
position: sticky;
|
|
39
39
|
border-bottom: 1px solid transparent;
|
|
40
40
|
z-index: 2;
|
|
41
41
|
top: ${r.sp0};
|
|
42
42
|
width: 100%;
|
|
43
|
-
`,
|
|
43
|
+
`,X=t.div`
|
|
44
44
|
position: relative;
|
|
45
45
|
min-height: 62px;
|
|
46
|
-
`,
|
|
46
|
+
`,Y=t.div`
|
|
47
47
|
display: flex;
|
|
48
48
|
flex-direction: row;
|
|
49
49
|
align-items: center;
|
|
@@ -52,14 +52,14 @@ import{J as P,V as i,aP as m,o as r,aR as I,y as d,x as L,a as M,d as W,p as s,a
|
|
|
52
52
|
top: ${r.sp0};
|
|
53
53
|
left: ${r.sp0};
|
|
54
54
|
right: ${r.sp0};
|
|
55
|
-
padding-right: ${e=>
|
|
56
|
-
padding-left: ${e=>
|
|
55
|
+
padding-right: ${e=>a.navBarPaddingRight.valuePx(e.windowSize)};
|
|
56
|
+
padding-left: ${e=>a.navBarPaddingLeft.valuePx(e.windowSize)};
|
|
57
57
|
height: 100%;
|
|
58
58
|
`,ee=t.div`
|
|
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;
|
|
@@ -109,18 +109,18 @@ import{J as P,V as i,aP as m,o as r,aR as I,y as d,x as L,a as M,d as W,p as s,a
|
|
|
109
109
|
width: ${r.sp4};
|
|
110
110
|
height: ${r.sp4};
|
|
111
111
|
color: ${e=>e.isError?s.important:s.brandColorGoldDark};
|
|
112
|
-
`,
|
|
112
|
+
`,le=t(_)`
|
|
113
113
|
width: ${r.sp4};
|
|
114
114
|
height: ${r.sp4};
|
|
115
115
|
color: ${s.success};
|
|
116
|
-
`,
|
|
116
|
+
`,ae=t(O)`
|
|
117
117
|
width: ${r.sp4};
|
|
118
118
|
height: ${r.sp4};
|
|
119
119
|
color: ${e=>e.theme.colors.grey2};
|
|
120
120
|
`,de=t.div`
|
|
121
121
|
margin-top: 2px;
|
|
122
122
|
display: flex;
|
|
123
|
-
`,ce=t(
|
|
123
|
+
`,ce=t(I)`
|
|
124
124
|
cursor: pointer;
|
|
125
125
|
color: ${e=>e.theme.colors.hero};
|
|
126
126
|
&:hover {
|
|
@@ -145,8 +145,8 @@ import{J as P,V as i,aP as m,o as r,aR as I,y as d,x as L,a as M,d as W,p as s,a
|
|
|
145
145
|
color: ${e=>e.theme.colors.brandColorJade};
|
|
146
146
|
width: ${r.sp3};
|
|
147
147
|
height: ${r.sp3};
|
|
148
|
-
`,he=t(
|
|
148
|
+
`,he=t(J)`
|
|
149
149
|
color: ${e=>e.theme.colors.brandColorGoldDark};
|
|
150
150
|
width: ${r.sp4};
|
|
151
151
|
height: ${r.sp4};
|
|
152
|
-
`;export{xe as
|
|
152
|
+
`;export{xe as u};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import{eR as f,eS as h,V as s,bT as g,o,aP as l,F as x,an as y,ai as c}from"./index-Kp9YkIA7.js";import{n}from"./mui-NI7j5KJX.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="a0b32cac-f82a-4f55-80b5-24e9040de739",e._sentryDebugIdIdentifier="sentry-dbid-a0b32cac-f82a-4f55-80b5-24e9040de739")}catch{}})();const{hyphen:i}=x.getLocalizedStrings().common.strings,b=n.div``,m=n.div`
|
|
2
|
+
display: flex;
|
|
3
|
+
min-width: 192px;
|
|
4
|
+
justify-content: space-between;
|
|
5
|
+
`,u=n(c)`
|
|
6
|
+
color: ${e=>e.theme.colors.hero};
|
|
7
|
+
`,j=n(c)`
|
|
8
|
+
color: ${e=>e.theme.colors.brandColorPearl};
|
|
9
|
+
`,a=n.div`
|
|
10
|
+
display: flex;
|
|
11
|
+
align-items: center;
|
|
12
|
+
`,w=n(y)`
|
|
13
|
+
border-radius: ${o.sp12};
|
|
14
|
+
border: 1px solid ${e=>e.theme.colors.grey1};
|
|
15
|
+
display: flex;
|
|
16
|
+
height: 18px;
|
|
17
|
+
width: 18px;
|
|
18
|
+
align-items: center;
|
|
19
|
+
justify-content: center;
|
|
20
|
+
color: 1px solid ${e=>e.theme.colors.grey1};
|
|
21
|
+
margin-left: ${o.sp1};
|
|
22
|
+
`,I=({roles:e})=>{let t=i,r=[];t=f(e),r=h(e);const p=()=>r.length>0?s.jsx(b,{children:r.map(d=>s.jsxs(m,{children:[s.jsx(u,{children:d[0]}),s.jsx(j,{children:d[1]})]},d.join(",")))}):s.jsx(s.Fragment,{children:i});return r.length>0?s.jsx(g,{enterDelay:600,"data-testid":l("roles-tooltip",t),title:p(),placement:"top-end",style:{marginLeft:o.sp1,padding:"6px 12px"},maxWidth:"264px",children:s.jsxs(a,{"data-testid":l("roles-label-wrapper",t),children:[t,s.jsx(w,{className:"roles-count-wrapper","data-testid":l("roles-count-wrapper",t),children:r.length})]})}):s.jsx(a,{"data-testid":l("roles-label-wrapper",t),children:t})};export{I as T};
|