@zeniai/web-app-ui 4.14.34-prod → 4.14.35-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-iiVBlQka-DOdcnea1.js → ACHDetailsPage-B5qIuZya-DhhGJFiO.js} +3 -3
- package/dist/assets/{AIPerformancePage-MBAB5kgB-GiPvCRJA.js → AIPerformancePage-BHB45mP--bMes_tkI.js} +1 -1
- package/dist/assets/AccountInfoPage-Cd5xYT1g-BezVjAGR.js +18 -0
- package/dist/assets/AccountInfoPageContent-CJ7ycVIK-DTztMN2V.js +149 -0
- package/dist/assets/{AccountLockedInfoModal-B1JxHllU-DyFOkn-g.js → AccountLockedInfoModal-Dox7IuAX-BJBuQmOL.js} +1 -1
- package/dist/assets/{AccountReconDetailsDrawerPage-DF-X46_u-Dv2VQ_UN.js → AccountReconDetailsDrawerPage-Bqty08m0-CNcZRdSW.js} +1 -1
- package/dist/assets/{AccountRow-DEtntSrL-0u2oxgMR.js → AccountRow-D1cjRJJD--D2oyMqA.js} +1 -1
- package/dist/assets/{AccountsPromoCardStack-Cvixqb_6-Cy_UpDhS.js → AccountsPromoCardStack-Bs3naJHM-eCRqE4NI.js} +11 -11
- package/dist/assets/{AddAddressForCardDrawer-B1Qfn44J-BWdxQBZs.js → AddAddressForCardDrawer-DZkBMJfp-CbavqjCF.js} +1 -1
- package/dist/assets/{AddToWalletPage-BLxUsh1Y-xvXEX-Ux.js → AddToWalletPage-CyRfqVDB-fhBwqlyz.js} +1 -1
- package/dist/assets/{AddressRoutes-ffTj4-XE.js → AddressRoutes-BOfIecri.js} +1 -1
- package/dist/assets/{AddressScreen-CwbSwP2P.js → AddressScreen-BL1pptQ5.js} +1 -1
- package/dist/assets/{AgingReportsPage-XIzuLRE4-C-s9DGYa.js → AgingReportsPage-xBFff3BM-B37Aeh0_.js} +8 -8
- package/dist/assets/{AiCfoScreen-ky7GYy31.js → AiCfoScreen-B5nbVKeh.js} +1 -1
- package/dist/assets/{AllUserItems-BGMZCYUO-Dadr9Gec.js → AllUserItems-BJf6WPDo-CPycalrU.js} +5 -5
- package/dist/assets/{ApAgingDetailPage-B-1gVAu6-CXso1m5Y.js → ApAgingDetailPage-CjBrPyi8-EnSmKZiu.js} +2 -2
- package/dist/assets/{AppBasePage-CYjdUgY4-N8in2lu3.js → AppBasePage-CqDm-hnV-Cb4xx63d.js} +1 -1
- package/dist/assets/{AppDrawerContent-CbF8TOjd-HEzUvQD5.js → AppDrawerContent-CVVWj66i-TDtj32fZ.js} +6 -6
- package/dist/assets/{ApprovalRulesSettingsPage-RCtygkuw-6E84O9sA.js → ApprovalRulesSettingsPage-Cckd2uVA-BuYxkuTi.js} +1 -1
- package/dist/assets/{ArAgingChart-ZwWwEBJ3-BSFQLwWJ.js → ArAgingChart-CBsqOd-4-Be7GSB8o.js} +1 -1
- package/dist/assets/{ArAgingDetailPage-DtqyngrA-CcwxPD_r.js → ArAgingDetailPage-i7JObt60-CQiftrKA.js} +1 -1
- package/dist/assets/{AttachmentView-UxkSFZmq-C2YzlN6Z.js → AttachmentView-CzC4skJ3-3dq1WroI.js} +1 -1
- package/dist/assets/{BalancesInsightWithToolTip-Co6ZUc5x-BSkB04b8.js → BalancesInsightWithToolTip-B6umvmgL-BkOE6IRV.js} +2 -2
- package/dist/assets/{BankAccountSection-DnBVOkJC-vpE8xbp3.js → BankAccountSection-Di4sF52j-D_gkfCl5.js} +1 -1
- package/dist/assets/{BankAccountWarningSection-D7OuLiLz-DfeZIMEg.js → BankAccountWarningSection-Cled-2cR-CM49bGSJ.js} +1 -1
- package/dist/assets/{BankConnectionsSettingsPage-BDLTuNLu-OBPhlcth.js → BankConnectionsSettingsPage-Ccnzq7st-oxNYJAAG.js} +16 -16
- package/dist/assets/{BillDetailPage-V8us93cj-a4bc14UJ.js → BillDetailPage-XXOwBfO1-BoigghjD.js} +1 -1
- package/dist/assets/{BillPayApprovalRoutes-CRqEGV5h.js → BillPayApprovalRoutes-D-JPXnec.js} +1 -1
- package/dist/assets/BillPayApprovalRuleDetailPage-DFZ0csaT-u4moAED-.js +27 -0
- package/dist/assets/{BillPayApprovalRulesPage-C6G_eDX9-CDGGBdw4.js → BillPayApprovalRulesPage-COCypDcS-Ldsbb0Zg.js} +1 -1
- package/dist/assets/{BillPayPromoPage-CTQSknOB-C2T9b-Vq.js → BillPayPromoPage-DOE2YIqC-Qk9YcGXw.js} +11 -11
- package/dist/assets/{BillPayRoutes-IwCLBQ4C.js → BillPayRoutes-CBS2uwsj.js} +1 -1
- package/dist/assets/{BillPaySetUpPage-BmgMLaf--hKXnXW7y.js → BillPaySetUpPage-BCJbZDsV-BIjtlBT1.js} +1 -1
- package/dist/assets/{BillingSettingsPage-IHY3ak0N-BYPEX6n6.js → BillingSettingsPage-iImtlEmO-B72lsLaH.js} +4 -4
- package/dist/assets/{BillsBulkReviewDrawerPage-ZoFahXYa-DETAm1nH.js → BillsBulkReviewDrawerPage-B11GWM_0-B4gEY1ob.js} +1 -1
- package/dist/assets/{BoxItem-XoWq-tnh-CNFx_qzU.js → BoxItem-Bxa1M4QU-DyrFdjN6.js} +4 -4
- package/dist/assets/{BusinessVerificationPage-D9HtnNOu-ZRSnva4Q.js → BusinessVerificationPage-DSuJFoW1-BwLNb7bU.js} +2 -2
- package/dist/assets/{BusinessVerificationPageScreen-CBtz2-zR.js → BusinessVerificationPageScreen-BQdQDNi4.js} +1 -1
- package/dist/assets/{BusyIndication-BLGcHlgu-DaOngyN9.js → BusyIndication-9zDqSKBP-C1ZL_6Kc.js} +1 -1
- package/dist/assets/{CardNumberSubText-Cn0EZrNE-DUYxvvHo.js → CardNumberSubText-_ZZbaz_k-DUqImiGz.js} +1 -1
- package/dist/assets/{CashbackDetailPage-Bk5ssPnj-DvaMlHNq.js → CashbackDetailPage-DAZXitLt-p_ZAuWDR.js} +1 -1
- package/dist/assets/{ChargeCardDetailPage-Ge9Aw7PA-CIu-TGGw.js → ChargeCardDetailPage-B1VIpASk-C6cq7Hcv.js} +20 -20
- package/dist/assets/{ChargeCardListPage-BNLOoSv3-B-StV0nu.js → ChargeCardListPage-BOBepN-x-Bsjhp0o3.js} +6 -6
- package/dist/assets/{ChargeCardListTable-BoufojYF-DZi3AnCd.js → ChargeCardListTable-YznzSsJo-Ck1z18a-.js} +1 -1
- package/dist/assets/{ChargeCardPaymentHistoryPage-5lUxK8pF-BCsrr76G.js → ChargeCardPaymentHistoryPage--jOwsMla-BOhlFspE.js} +14 -14
- package/dist/assets/ChargeCardPromoPage-DIfakIOK-B-zay_30.js +222 -0
- package/dist/assets/{ChargeCardRoutes-qFs5VmEt.js → ChargeCardRoutes-CCifW-tf.js} +1 -1
- package/dist/assets/{ChargeCardSetupPage-Dqoel2Do-CcQz84BS.js → ChargeCardSetupPage-0bpVkeJs-SDjQa1Ra.js} +2 -2
- package/dist/assets/{ChargeCardStatementsPage-Dalrj66w-4SSCFPQ4.js → ChargeCardStatementsPage-ChWyQlw6-DL7Upt8t.js} +2 -2
- package/dist/assets/{CheckDepositDrawerPage-mYjv1H0f-SmPvhIJ-.js → CheckDepositDrawerPage-BS7hnyZn-BYnpBPDj.js} +3 -3
- package/dist/assets/{CollapsableReportTable-CIaa7SIH-BHE5m01A.js → CollapsableReportTable-DNfFkAts-Ba6KUje2.js} +109 -100
- package/dist/assets/{CompanyOfficerDetailsSection-BSFNYauO-CLhqGMI2.js → CompanyOfficerDetailsSection-CrOIN4IW-BMaGz6_3.js} +16 -16
- package/dist/assets/{CompanyPassportCard-B-mBb9Q5-Djs-y_lF.js → CompanyPassportCard-CkzYFTrp-C4EBgPsw.js} +2 -2
- package/dist/assets/{CompanyPassportPage-Blyl_Z-c-CfshBdbX.js → CompanyPassportPage-FE6yli6h-KGSkM9PK.js} +1 -1
- package/dist/assets/{CompanyPassportScreen-CfkYFhOH.js → CompanyPassportScreen-zFkQa4Cq.js} +1 -1
- package/dist/assets/{CompleteProfile-ySk9I1Ut-BkCkkFbF.js → CompleteProfile-Cb8i1XgZ-D3q04jkj.js} +1 -1
- package/dist/assets/{ConfettiBurst-CeAc4Ily-DA7b9h73.js → ConfettiBurst-BZCXEGYA-C5d5kzSC.js} +1 -1
- package/dist/assets/{ConnectionAuthScreen-Bt9nVDvl.js → ConnectionAuthScreen-CM9g7u1v.js} +1 -1
- package/dist/assets/{ConstrainedInnerElement-CgdnMeoA-DpAfq4d_.js → ConstrainedInnerElement-CgdnMeoA-BgAKlXog.js} +1 -1
- package/dist/assets/{CreateOrEditVendorPage-BRkqkhfw-BjR4IlX5.js → CreateOrEditVendorPage-CzpSgxbO-Dqm8Zwpt.js} +1 -1
- package/dist/assets/{CreditCardPaymentDrawerPage-oUIakAtz-BWbFgsjF.js → CreditCardPaymentDrawerPage-c_q0MsSO-CdtVaa6P.js} +1 -1
- package/dist/assets/{CurrencySelectField-CSPhUjwG-CnRANTg2.js → CurrencySelectField-BAh7SHrG-D1tX6Pz9.js} +1 -1
- package/dist/assets/{CustomerOnboardingActivationPage-CoOyWe6_-BUv4wnWa.js → CustomerOnboardingActivationPage-f3Aa6E5r-PsW9oHee.js} +1 -1
- package/dist/assets/CustomerOnboardingAuthScreen-BMwa29XG.js +1 -0
- package/dist/assets/CustomerOnboardingContainerPage-CWAtSu08-DVPtZVWB.js +1 -0
- package/dist/assets/{CustomerOnboardingDetailPageSkeleton-CWNyUuRp-zXc9wagp.js → CustomerOnboardingDetailPageSkeleton-DYuiWn8s-B_5BYtTr.js} +1 -1
- package/dist/assets/{CustomerOnboardingNoStepsPage-DWx46Z6R-C-ExaFC2.js → CustomerOnboardingNoStepsPage-Bh_F0-oC-SfRIKq-U.js} +12 -12
- package/dist/assets/{CustomerOnboardingPage-D86Sj2KP-D6-04E6_.js → CustomerOnboardingPage-B9hSO88_-B5iac515.js} +7 -7
- package/dist/assets/{CustomerOnboardingProductSuitePage-Bo0LFveG-BzG7cQxy.js → CustomerOnboardingProductSuitePage-CG0HKCpQ-Bqjg890b.js} +1 -1
- package/dist/assets/{CustomerOnboardingRoutes-DtIuxucw.js → CustomerOnboardingRoutes-MHYW-e3t.js} +1 -1
- package/dist/assets/{Dashboard-DQLJzr16-CVWpnSBo.js → Dashboard-BJ_oIHab-B1azilYN.js} +31 -31
- package/dist/assets/{DashboardReportPage-CwfTMXY5-CYxNkh7v.js → DashboardReportPage-BemzMw2e-Ywi7e9T3.js} +1 -1
- package/dist/assets/{DashboardRoutes-ChFJ7MHp.js → DashboardRoutes-C-92-XEq.js} +1 -1
- package/dist/assets/{DashboardSidebarBackgroundAnimation-CUZGIAxW-CgiNswdF.js → DashboardSidebarBackgroundAnimation-BtA5oEGG-LNl3VR8y.js} +1 -1
- package/dist/assets/{DefaultTenantHome-DpbVQ8O_.js → DefaultTenantHome-Bim9etFd.js} +1 -1
- package/dist/assets/{DepositAccTransactionItem-Ci-LxLsk-DRNN1br-.js → DepositAccTransactionItem-CyFi1P_L-BCRifuhI.js} +5 -5
- package/dist/assets/{DepositAccTransactionListPage-RG7P8vQS-KiHqHADW.js → DepositAccTransactionListPage-DvBRRUdZ-yB8jjVIF.js} +3 -3
- package/dist/assets/{DomesticWireDetailScreen-mFjAiqsH.js → DomesticWireDetailScreen-D0LT5YWt.js} +1 -1
- package/dist/assets/{DomesticWireDetailsPage-DsPFUOcE-D5dltjE3.js → DomesticWireDetailsPage-DCDo3aHI-DKoqkJmX.js} +4 -4
- package/dist/assets/{DownloadOverlay-BjTf50Dz-BTRZen3n.js → DownloadOverlay-D_lL1sPW-1PQmVEsl.js} +1 -1
- package/dist/assets/{DrawerPage-0OFinUxM-Dw-wONp5.js → DrawerPage-DesxXhZk-CE9sM7_o.js} +1 -1
- package/dist/assets/{DrawerScreen-CnU-VoMe.js → DrawerScreen-MxSrrJrd.js} +1 -1
- package/dist/assets/{EditPeoplePage-BKcOmYVv-DqbQfjtE.js → EditPeoplePage-QvPy_Six-BwgKBjDc.js} +5 -5
- package/dist/assets/{EditReimbursementDetailPage-BFIHhQbx-DZUd4Itz.js → EditReimbursementDetailPage-C0ZDkboO-CqRPRQtt.js} +13 -13
- package/dist/assets/EntityDetailPage-l7nXIsyF-CbwI2wUW.js +18 -0
- package/dist/assets/{EntityDetailRoutes-Bl0VaL7D.js → EntityDetailRoutes-BEygBdNc.js} +1 -1
- package/dist/assets/{EntitySummarySection-ORJ2pE_k-BoOr8fVU.js → EntitySummarySection-BwX0a4JL-BZFiwIuR.js} +1 -1
- package/dist/assets/{ExpenseAutomationOverviewPage-Dzf7j2zV-CwsDMrKO.js → ExpenseAutomationOverviewPage-EdyHjbff-CXMmwtfI.js} +3 -3
- package/dist/assets/{ExpenseAutomationPage-BRsKGeoM-xnjjT-mx.js → ExpenseAutomationPage-DA22Qofw-BhoqVQ10.js} +1 -1
- package/dist/assets/{ExpenseAutomationRoutes-D8OIvCDd.js → ExpenseAutomationRoutes-ijMZF_ZU.js} +1 -1
- package/dist/assets/{ExpressPayPage-DlBFtMaR-SeZBy6gS.js → ExpressPayPage-EMP6inpX-CBzcRvxz.js} +7 -7
- package/dist/assets/{FeaturePreviewPage-C31F3Gmz-C0P6i02u.js → FeaturePreviewPage-SYJm-3aR-BvJl8rgC.js} +1 -1
- package/dist/assets/{FeaturePreviewScreen-CcjSI5cK.js → FeaturePreviewScreen-BrgEnIPS.js} +1 -1
- package/dist/assets/{FollowStepsSection-BVT2K7mu-CY3KrJG7.js → FollowStepsSection-BxESVqJD-DBgSryEI.js} +1 -1
- package/dist/assets/{GlobalReviewListPage-0cZe1hh0-QDZIOJkv.js → GlobalReviewListPage-D5_ACa-q-Be6ROlgu.js} +1 -1
- package/dist/assets/{InformationCardStack-t8eELRLU-Bxjmly9q.js → InformationCardStack-B_qQUEYD-DWu9uCxP.js} +3 -3
- package/dist/assets/{InsightsCardStack-CJBPZbzD-Bb1JSXvK.js → InsightsCardStack-BsQzoVzj-Dm_xsmzm.js} +1 -1
- package/dist/assets/{InsightsSection-tUBzsCix-CHqlcKsY.js → InsightsSection-B6CNlTNH-DV_5z3I5.js} +6 -6
- package/dist/assets/{IntegrationsSettingsPage-Ce0yKUWI-Bd8qZ6Sn.js → IntegrationsSettingsPage-DP6fAccq-DrN7ALwc.js} +3 -3
- package/dist/assets/{InternationalWireSwiftDetailsPage-BzR-rKaL-DTdizezB.js → InternationalWireSwiftDetailsPage-VdG7bDZi-2y0ea6UL.js} +9 -9
- package/dist/assets/{InternationalWireVerificationPage-7tCXdJ3Y-CfPz5aLZ.js → InternationalWireVerificationPage-COC6lZml-DF2HxV4W.js} +10 -10
- package/dist/assets/{InviteFormPage-DePVC0CH-BoGyyI8-.js → InviteFormPage-DN02jRy5-7Lvtg9Hr.js} +1 -1
- package/dist/assets/{InvitePageListView-ChbvDKgQ-DW8tQqHU.js → InvitePageListView-CP4K9tJi-bRNoOCRv.js} +20 -20
- package/dist/assets/{InvitePeoplePage-DJiEzIeY-BVfacopw.js → InvitePeoplePage-VTM6kM1u-DFLNYNR3.js} +3 -3
- package/dist/assets/{InvoiceUploadSection-BjNMjhQR-B7H94Qr_.js → InvoiceUploadSection-it-ZYl1N-CPSEMHj6.js} +7 -7
- package/dist/assets/{IssueChargeCardPage-4xbGf5Ut-D1NZ5n0C.js → IssueChargeCardPage-CVfuvGey-BDkFfNQU.js} +11 -11
- package/dist/assets/{LabeledAddressValue-Czt7QvSJ-DQcySL2B.js → LabeledAddressValue-DDrQcHIE-BQQnm587.js} +1 -1
- package/dist/assets/{LabeledAddressValueField-Dl3atH92-9Bh85cZL.js → LabeledAddressValueField-BgWwd5Gw-DnvIsj_n.js} +1 -1
- package/dist/assets/{LabeledControlledCheckBoxField-DT_nxhPN-C7uKsE8n.js → LabeledControlledCheckBoxField-CcPO1k23-BZjPsfe4.js} +1 -1
- package/dist/assets/{LabeledCountryMultiSelectField-BnljZpX0-B68SMHkZ.js → LabeledCountryMultiSelectField-BYYjzwUG-BPvc68ab.js} +1 -1
- package/dist/assets/{LabeledCreatableSingleSelectField-CiInq9yD-B0SGNp0O.js → LabeledCreatableSingleSelectField-CISYMojq-CmzS04aH.js} +1 -1
- package/dist/assets/{LabeledDocumentField-Ceb8vgVH-CBxNcBjR.js → LabeledDocumentField-C_bcFxdY-CD1TCntt.js} +1 -1
- package/dist/assets/{LabeledDropDownFormattedTextField-B98gNWTE-fV4URX6J.js → LabeledDropDownFormattedTextField-ScGGCap8-BdN7qNJy.js} +1 -1
- package/dist/assets/{LabeledEmailInputField-C53P9fJl-CkFXu9dG.js → LabeledEmailInputField-BppuWRbl-Dsaj9M9p.js} +1 -1
- package/dist/assets/{LabeledNameField-BdVztq_8-DOZ2ED2j.js → LabeledNameField-mxSNQk3k-BpAc_tNL.js} +1 -1
- package/dist/assets/{LabeledSingleSelectField-sjDjhxfQ-CpanQxt-.js → LabeledSingleSelectField-C6ctNzkA-CTrwMQK7.js} +1 -1
- package/dist/assets/{LabeledText-CFJSoGtK-WYjBLL4Z.js → LabeledText-C8Y7EOsX-DCuEu6In.js} +1 -1
- package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-CDiG37rQ-CmNHahAF.js → LabeledUserSingleSelectWithSubtitlesField-C8JxAcOT-BLPpr77S.js} +4 -4
- package/dist/assets/{LabeledZeniRolesDropDownField-CQiP2rEh-dj-ud4dM.js → LabeledZeniRolesDropDownField-BZtreVpj-KqOutsB4.js} +1 -1
- package/dist/assets/{LinkJETransactionPage-ANY7Ns42-mjp3UwWz.js → LinkJETransactionPage-CKq4oiX9-C4YwLVFm.js} +9 -9
- package/dist/assets/{LockCardPage-0piclOz3-Ckqd1b8v.js → LockCardPage-CZENNby7-DmtCNaPi.js} +6 -6
- package/dist/assets/{LowBalancePopup-CplxkRHP-CQO3ycRf.js → LowBalancePopup-1727S1ri-DQfCP7-o.js} +1 -1
- package/dist/assets/MagicLinkACHDetailsPage-BSOlSfNu-DLdN8Rvh.js +1 -0
- package/dist/assets/MagicLinkDomesticWireDetailsPage-D1DTPo0E-DaTDXMgN.js +1 -0
- package/dist/assets/MagicLinkInternationalWireDetailsPage-D_wo_2nm-L7bRQS1f.js +1 -0
- package/dist/assets/{MagicLinkRoutes-DaX13Is3.js → MagicLinkRoutes-DdHE5z12.js} +1 -1
- package/dist/assets/{MagicLinkSignInScreen-Je-xXgqt.js → MagicLinkSignInScreen-BN_jDhip.js} +1 -1
- package/dist/assets/{MagicLinkSuccessPage-BA1LfhVb-BgAj_Mic.js → MagicLinkSuccessPage-QMkZgQLG-CTsjsp6N.js} +1 -1
- package/dist/assets/{MagicLinkTitleSection-DLdaV8WG-8WWnBNb8.js → MagicLinkTitleSection-CARU1oLQ-DZmT0L5L.js} +1 -1
- package/dist/assets/MailingDetailsSection-ByOPaJ05-Cq55yE-t.js +21 -0
- package/dist/assets/{MobileAppDrawer-Bcyem12-.js → MobileAppDrawer-C3TNoouV.js} +1 -1
- package/dist/assets/{MoreMenuButton-DrAQ635T-CmGmYM-R.js → MoreMenuButton-BsBKwXvk-DLOnGEff.js} +1 -1
- package/dist/assets/{MyBankConnectionsSettingsPage-BiDvyO_G-BmGEKHOY.js → MyBankConnectionsSettingsPage-BdgIIhL1-CHxTcS48.js} +1 -1
- package/dist/assets/{MyPendingActivationChargeCardListPage-Bb4_b9o6-QySvTesc.js → MyPendingActivationChargeCardListPage-CX38bDdq-Ba-ajqtL.js} +1 -1
- package/dist/assets/{MyProfileSettingsPage-nY_eDqfm-CUAB-1K_.js → MyProfileSettingsPage-DYu0Fx6I-BMODc0ew.js} +4 -4
- package/dist/assets/{NavBarWithPicker-Dr5XHgP5-BMoWiwl5.js → NavBarWithPicker-CGGEvLwe-DGWn5q5A.js} +1 -1
- package/dist/assets/{NavigationArrow-DT82hMh--DsUaY4v0.js → NavigationArrow-CTNkKUtV-LsyvHBca.js} +1 -1
- package/dist/assets/{NavigationDots-CwCZ9EAa-BB9rS2z2.js → NavigationDots-Dvce3gHt-H1P3hT7y.js} +1 -1
- package/dist/assets/{NewGlobalMerchantPage-D1lxnByE-DmJjA0eC.js → NewGlobalMerchantPage-D_f7z47T-DGuDs_dy.js} +1 -1
- package/dist/assets/{NoDataChart-DCTRXLc7-BRwtqbdY.js → NoDataChart-CrKeqWSr-DJdc5MTN.js} +1 -1
- package/dist/assets/{NoDataTable-D8Xw5pAY-CJGJMrLD.js → NoDataTable-4vPXmPYF-Do6t4z9R.js} +1 -1
- package/dist/assets/{NotFoundPage-B_zPUigU-CqL87o0B.js → NotFoundPage-BLWPU1wU-CBPIYV57.js} +6 -6
- package/dist/assets/{NotFoundScreen-Ceul2a4k.js → NotFoundScreen-CubXCR1V.js} +1 -1
- package/dist/assets/{NotificationRoutes-BjIV5PW8.js → NotificationRoutes-C2SuMmMM.js} +1 -1
- package/dist/assets/{NotificationSettingsPage-aKLRiMp--gxJ4ef8p.js → NotificationSettingsPage-CDiDLX3A-DkD80zQf.js} +4 -4
- package/dist/assets/{NotificationsListConfig-CVEetkBc-DvchCo1R.js → NotificationsListConfig-B5pDa4cJ--FUSOPuJ.js} +1 -1
- package/dist/assets/{NotificationsPage-DEw6V83J-BMiLOKv6.js → NotificationsPage-Ccl7Dny1-B8jydSw6.js} +14 -14
- package/dist/assets/{OpExByVendorPage-DJMov6Ux-CSTc2zF7.js → OpExByVendorPage-spd-nKV4-BIgnMj0p.js} +6 -6
- package/dist/assets/{OverlayContainerPage-BG9y5C0t-7YT_HLI5.js → OverlayContainerPage-BG9y5C0t-D8k0A9EC.js} +1 -1
- package/dist/assets/{PandLWithForecastPage-RBTh1bFk-CYrlYxiW.js → PandLWithForecastPage-TSoe4Z7F-Ba-yVOXG.js} +3 -3
- package/dist/assets/{PandLWithForecastRoutes-D46AftWd.js → PandLWithForecastRoutes-BVdwQZDt.js} +1 -1
- package/dist/assets/{PaymentAccountSetupBillingAddressSection-D-kQI4nd-BXInRRHh.js → PaymentAccountSetupBillingAddressSection-9ma8SpIa-CUyIA9r2.js} +1 -1
- package/dist/assets/{PeoplePage-BEc-Oss7-CYTf-n47.js → PeoplePage-b5_I0qOw-DAP0N6ei.js} +1 -1
- package/dist/assets/{PeopleRoutes-B6Hh54SM.js → PeopleRoutes-CAoitlRn.js} +1 -1
- package/dist/assets/{PerformanceRoutes-CZK-MKEJ.js → PerformanceRoutes-CC4-ZbOh.js} +1 -1
- package/dist/assets/{Preview-Dz6VBJ2u.js → Preview-B3lHkBD5.js} +1 -1
- package/dist/assets/{ProductsCarousel-BRo0P4GW-Bx79qkz1.js → ProductsCarousel-C3M0ocdF-CqFoMAuJ.js} +1 -1
- package/dist/assets/{PromoBaseCards-BrXJEufN-wliyWMwp.js → PromoBaseCards-BOGJI2ws-Bshwoahl.js} +1 -1
- package/dist/assets/{QBOConnectionDialog-BIg9Iais-BhNTbLuP.js → QBOConnectionDialog-CmpnnuzP-D_Utdqzr.js} +1 -1
- package/dist/assets/{QBOConnectionScreen-Dyzyd1p0.js → QBOConnectionScreen-W61uspBL.js} +1 -1
- package/dist/assets/{QBOSetupSection-DDoUJ7L6-DQnE3KzF.js → QBOSetupSection-DjnN9dgv-C5X6Mv_4.js} +7 -7
- package/dist/assets/{ReferralListScreen-BOWr342j.js → ReferralListScreen-CFqALHvq.js} +1 -1
- package/dist/assets/{ReimbursementApprovalRoutes-m5L8sFJ5.js → ReimbursementApprovalRoutes--NBUuqoq.js} +1 -1
- package/dist/assets/{ReimbursementApprovalRuleDetailPage-CP0muUGK-Cd-uHeUo.js → ReimbursementApprovalRuleDetailPage-D5NXjrO9-Yh9jnSge.js} +3 -3
- package/dist/assets/{ReimbursementApprovalRuleDetailScreen-CC5sxHbJ.js → ReimbursementApprovalRuleDetailScreen-Btiyq8yy.js} +1 -1
- package/dist/assets/{ReimbursementApprovalRulesPage-BpVWq3rk-NVHIG-OE.js → ReimbursementApprovalRulesPage-BsCTIqUJ-Z8SJ2BhB.js} +1 -1
- package/dist/assets/{ReimbursementDetailPage-pCg86_Ty-BpFwxhjT.js → ReimbursementDetailPage-BbyxE2uL-BwRKVJZ8.js} +1 -1
- package/dist/assets/{ReimbursementPromoPage-BW6icjG5-L-8yyH_M.js → ReimbursementPromoPage-CyEgwqcf-KVfjyHVK.js} +8 -8
- package/dist/assets/{ReimbursementRoutes-LUt3h9UV.js → ReimbursementRoutes-B7ZhMTn_.js} +1 -1
- package/dist/assets/{ReimbursementSetUpPage-B6OhWEWH-B07qbUkS.js → ReimbursementSetUpPage-RETPkEQd-h93k32Yy.js} +1 -1
- package/dist/assets/{ReimbursementsBulkReviewDrawerPage-DmDoqEZh-uzEFRQ-S.js → ReimbursementsBulkReviewDrawerPage-DnmYl0FM-DkzJps2g.js} +1 -1
- package/dist/assets/{ReloadCard-DIFXZM9U-DBPBbgAk.js → ReloadCard-Bdoo0XiI-DQ7zH5_b.js} +1 -1
- package/dist/assets/{ReportTableViewSelector-BsIDwouQ-CPsb7qgs.js → ReportTableViewSelector-Bc1K7mU_-DG7CvQgg.js} +5 -5
- package/dist/assets/{ReportsPage-BFTuYQt2-DMFsqd7C.js → ReportsPage-BOTHMLWh-DQAZC3St.js} +1 -1
- package/dist/assets/{ReportsRoutes-o9bGTZG2.js → ReportsRoutes-DCqEshJz.js} +1 -1
- package/dist/assets/{RevenueChart-BoFq3ebd-BKAB0VPm.js → RevenueChart-DvyZ3aO7-B4HMUW1f.js} +12 -12
- package/dist/assets/{ReviewDetailsPage-6kCQzaHm-BuMU9buw.js → ReviewDetailsPage-BIMg1n2e-DLbpGZaf.js} +5 -5
- package/dist/assets/{ReviewOverlay-Dhb-kL6G-T1Rt0JTi.js → ReviewOverlay-CxwoiOLC-BQk8pdfC.js} +1 -1
- package/dist/assets/{RewardsRoutes-BgoAL3gc.js → RewardsRoutes-CSIVaJxq.js} +1 -1
- package/dist/assets/{RoleWithToolTip-BfM8Ltz4-GXXfeOBC.js → RoleWithToolTip-Ct3_VuDM-CgjPQD6C.js} +1 -1
- package/dist/assets/{ScheduleDetailsFixedAssetsPage-Ccewwmwc-DNDpwGYk.js → ScheduleDetailsFixedAssetsPage-DiL5Dozk-pNKl0FgE.js} +1 -1
- package/dist/assets/{ScheduleDetailsPage-D4LK83qQ-CrubqPOA.js → ScheduleDetailsPage-5FWpLRtd-l5IGOvvZ.js} +1 -1
- package/dist/assets/{ScheduleSequenceTable-BZR2cL6z-w_YgKqjP.js → ScheduleSequenceTable-R3-PsXES-DyxPg04Q.js} +1 -1
- package/dist/assets/{ScreenRoutes-TOE80oct.js → ScreenRoutes-DIrZFSvZ.js} +2 -2
- package/dist/assets/{SetUpAccountSection-CxjYbrXu-DQJqTTcH.js → SetUpAccountSection-CctbMmoK-B53PK3Go.js} +1 -1
- package/dist/assets/{SettingsRoutes-DiQAnQke.js → SettingsRoutes-D3PUQXPp.js} +1 -1
- package/dist/assets/{SetupPagesScreen-B44zrHwc.js → SetupPagesScreen-KqbTYQgM.js} +1 -1
- package/dist/assets/{SignIn-CVmtPGKL-CXpuQZF7.js → SignIn-CmgmnRm4-CYN0bjHA.js} +8 -8
- package/dist/assets/{SignInScreen-C2qODMhD.js → SignInScreen-BDFrycHi.js} +1 -1
- package/dist/assets/{SignOutScreen-BuY2-rDM.js → SignOutScreen-CGJ8k7ri.js} +1 -1
- package/dist/assets/{SpendManagementListViewPage-BLjP9T8h-Bnkn6BRU.js → SpendManagementListViewPage-CFUxCqkU-BnIDgS6j.js} +8 -8
- package/dist/assets/{SpendManagementPerTabPage-Ck4brjun-BbdiQcvt.js → SpendManagementPerTabPage-C-kqNTci-BPWoCLvk.js} +21 -21
- package/dist/assets/{SpendManagementSection-DAqR2c98-C5fgGVtc.js → SpendManagementSection-CIz4nE_w-BnkkQIXw.js} +9 -9
- package/dist/assets/{StatementItem-B_iG99XI-BDI0UE9q.js → StatementItem-vVtoBN2w-Dv2jVRGi.js} +2 -2
- package/dist/assets/{StatementsPage-DcKziEfZ-CpFQ2fm7.js → StatementsPage-As5WOnMR-xJO4oteU.js} +2 -2
- package/dist/assets/{StatusSwitcher-BI-dgnrK-esyU6zat.js → StatusSwitcher-Bv-ozN6U-aFxpsrjy.js} +1 -1
- package/dist/assets/{SubTabSwitcher-BpNI5Wke-DY-WyLZ7.js → SubTabSwitcher-D7QeM6nb-bmup9lZe.js} +1 -1
- package/dist/assets/{SuccessAnimation-AojDorqX-Ct3YtoCE.js → SuccessAnimation-hijccO_0-BgS0j6Ks.js} +1 -1
- package/dist/assets/{SummaryCard-HW-1WXN9-CoLCJfe-.js → SummaryCard-C2qoTsAY-DD3uQEFW.js} +1 -1
- package/dist/assets/{TaskDetailPage-Cwe193JO-NTfqA0n4.js → TaskDetailPage-QMk4DTDK-D5dNR6rN.js} +1 -1
- package/dist/assets/{TaskListScreen-pLglWsFm.js → TaskListScreen-BN0d0a63.js} +1 -1
- package/dist/assets/{TaskManagementPage-Bz1uP5hK-CpLCNkk4.js → TaskManagementPage-BJwp32Ph-YNf3iBQj.js} +30 -30
- package/dist/assets/{TaskRoutes-DnaScSH0.js → TaskRoutes-DEMuiHnC.js} +1 -1
- package/dist/assets/{TimeRangeSwitcher-oORYeFzN-D8_bwHZK.js → TimeRangeSwitcher-D00bDDhP-CGwNNnWQ.js} +2 -2
- package/dist/assets/{TimeframeSwitcher-JcJSbn0--WBWh3QNc.js → TimeframeSwitcher-DA99HdHt-CKTTRDRO.js} +1 -1
- package/dist/assets/{TimeframeSwitcherWithToggle-BEZU-KDj-D-7PUQTb.js → TimeframeSwitcherWithToggle-DyggDIQj-DWVBybzM.js} +2 -2
- package/dist/assets/{TopExCard-CF6z0JWk-BU77sN9h.js → TopExCard-Z1WabZ8c-DRsgDR4x.js} +1 -1
- package/dist/assets/{TopExDetailPage-DrcKlFuy-DtCTyGEZ.js → TopExDetailPage-CzHG4f9E-BM9NWMt3.js} +12 -12
- package/dist/assets/{TransactionActivityLogPage-BB4q0jan-Dt9C7u25.js → TransactionActivityLogPage-CGKnjNfU-YIIG-jBr.js} +1 -1
- package/dist/assets/{TransactionDetailPage-DRG_qosz-CdI1Sif1.js → TransactionDetailPage-1-mLOWSz-CE3-Hi8u.js} +24 -24
- package/dist/assets/{TransactionDetailRoutes-LeQoOoop.js → TransactionDetailRoutes-BCnSElc9.js} +1 -1
- package/dist/assets/{TransactionDetailScreen-DmniS92w.js → TransactionDetailScreen-DkbX0oG8.js} +1 -1
- package/dist/assets/{TransactionList-iw4pyMYF-BZXHb6ne.js → TransactionList-BB-xoIGm-BeosfrmM.js} +11 -11
- package/dist/assets/{TransactionListBig-BljAUwAB-CwuevZBI.js → TransactionListBig-C5Sf5Xh--B6eKIFdx.js} +1 -1
- package/dist/assets/TransactionListPage-Cj7h1Ros-SOf7w-b8.js +35 -0
- package/dist/assets/{TransactionListRoutes-B0NbfJGc.js → TransactionListRoutes-AdVZSKN8.js} +1 -1
- package/dist/assets/{TransactionVendorDetailPage-DXuYIj-p-BAGVAnze.js → TransactionVendorDetailPage-SsrSOk3O-CHAPTeaE.js} +1 -1
- package/dist/assets/{TransferDrawerPage-C3q8h8Zy-BoniTEmb.js → TransferDrawerPage-BvKZ7vHF-ITLn4K_S.js} +15 -15
- package/dist/assets/{TreasuryOverviewPage-DqjFEV9B-DKLiFiZv.js → TreasuryOverviewPage-DwvjMR4_-BC_r0SvV.js} +1 -1
- package/dist/assets/{TreasuryPromoPage-ByeK0W_5-CSsspYlY.js → TreasuryPromoPage-CtTFvSQW-DMtUAfPQ.js} +14 -14
- package/dist/assets/{TreasuryRoutes-RdusD-Rs.js → TreasuryRoutes-CZR8Qztx.js} +1 -1
- package/dist/assets/TreasuryStatementsPage-Catz8shX-gsqiZvC2.js +58 -0
- package/dist/assets/{TreasuryTaxLetterPage-DwLyqS86-DtzjbSZs.js → TreasuryTaxLetterPage-D8hzCL5o-CxF7_s4J.js} +3 -3
- package/dist/assets/{TrendChart-Dgh_21FN-fE4rL1gs.js → TrendChart-Bnp4Pcdf-DAHDBSRg.js} +2 -2
- package/dist/assets/{TrendWithTransactions-BgIPapHk-CoxM2wed.js → TrendWithTransactions-3D1FvM8G-D5DfweO8.js} +8 -8
- package/dist/assets/{UncategorizedAccountsMappingPage-DIIJcGrj-BjS9g3RO.js → UncategorizedAccountsMappingPage-DbyY-dYB-icxwXrio.js} +1 -1
- package/dist/assets/{UnitIntegrationPage-DIOZhQOZ-BAgYpBnA.js → UnitIntegrationPage-CTzme1te-CKwPezqe.js} +1 -1
- package/dist/assets/{UploadAdditionalDocumentOverlay-qrcEQmkz-Pa5hfJ1q.js → UploadAdditionalDocumentOverlay-Wl4Spdpn-BP-fxZSw.js} +1 -1
- package/dist/assets/{Vendor2FAPopup-C58w6vC7-BNROU96t.js → Vendor2FAPopup-D0zYKkIv-BYJemD3t.js} +1 -1
- package/dist/assets/VendorACHDetailsPage-YYX9aQdw-CXB0C692.js +1 -0
- package/dist/assets/{VendorDetailPage-CEQFcNHr-CdHY7Z8F.js → VendorDetailPage-Br9wIOnI-Ui00Vq-Y.js} +12 -12
- package/dist/assets/VendorDomesticWireDetailsPage-BpPgQRHI-Cvv6-Sl5.js +1 -0
- package/dist/assets/{VendorFiling1099EditablePage-Dl7jZYBV-D7-yK69r.js → VendorFiling1099EditablePage-himC7iD3-CGMBRb4f.js} +5 -5
- package/dist/assets/{VendorFirstReviewPage-yVbtg_tG-DkVJi06p.js → VendorFirstReviewPage-BbknTCBD-x2LuwDBy.js} +1 -1
- package/dist/assets/{VendorInternationalWireDetailsPage-DNDv_s8G-Bjr44b-O.js → VendorInternationalWireDetailsPage-CS595Xgc-BWEjYBp2.js} +6 -6
- package/dist/assets/VendorInternationalWireSwiftDetailsPage-yhTjWXvw-CRl0YntK.js +1 -0
- package/dist/assets/{VendorsAccountsSection-Cscbgqrx-Bo3Iqcup.js → VendorsAccountsSection-CgSJu8wq-BJswZIIA.js} +1 -1
- package/dist/assets/{VendorsRoutes-SOKeFy8n.js → VendorsRoutes-05ainu55.js} +1 -1
- package/dist/assets/{VerifyDevice-D1vsUSdJ-DgLDroCx.js → VerifyDevice-Dvf0JsNN-BxFzBfzQ.js} +5 -5
- package/dist/assets/{VideoPlayer-TlEy-oD0-u3_il_Y_.js → VideoPlayer-VAzOGCDL-C6P1MPmA.js} +1 -1
- package/dist/assets/{VideoPopup-3DD646kG-DAIfDEuP.js → VideoPopup-BqvZ-XIh-tpbto8Y7.js} +4 -4
- package/dist/assets/{WiseConfirmationScreen-DH4LFnlh.js → WiseConfirmationScreen-D-O-AEQg.js} +1 -1
- package/dist/assets/{ZeniAccountDetailPage-BbsXzuHD-D5t6KpKy.js → ZeniAccountDetailPage-GcwTJdB8-CtCTcpCW.js} +14 -14
- package/dist/assets/{ZeniAccountListViewPage-lmuVUpKS-BoKhHVdj.js → ZeniAccountListViewPage-CdwO0Duy-BDSbkpkS.js} +24 -24
- package/dist/assets/{ZeniAccountNavBarPieces-CQhwBKXD-w44Ezq7c.js → ZeniAccountNavBarPieces-BrSIfL36--BCCJ_B2.js} +1 -1
- package/dist/assets/{ZeniAccountPromoPage-CXEb9tRE-Clp7jZPs.js → ZeniAccountPromoPage-JrcedQYB-Dn7j6upG.js} +1 -1
- package/dist/assets/{ZeniAccountRoutes-DFjwyu_L.js → ZeniAccountRoutes-C1DKaJoc.js} +1 -1
- package/dist/assets/{ZeniAccountSetupPage-DPhYQu6u-CIYZ11Sw.js → ZeniAccountSetupPage-TKBfbgzJ-BqZbSZu7.js} +1 -1
- package/dist/assets/{ZeniAccountStatementScreen-C6QxYG3m.js → ZeniAccountStatementScreen-mRCX19Ut.js} +1 -1
- package/dist/assets/{ZeniAvatar-CCOD249Z-aNjy2A_h.js → ZeniAvatar-Bzhq25CU-B22YVvLm.js} +1 -1
- package/dist/assets/{ZeniCopyright-pvaggW6x-CiSnJmIZ.js → ZeniCopyright-DglqrTpl-DIGaFEv0.js} +1 -1
- package/dist/assets/{ZeniDatePicker-EhzRlpFY-CeeUTfjC.js → ZeniDatePicker-BHXPxPnI-vwmLROHK.js} +1 -1
- package/dist/assets/{ZeniTransferAmountSlider-Dlyom9dD-ssTMZPmj.js → ZeniTransferAmountSlider-BcaZZuAw-9zrzQe1V.js} +1 -1
- package/dist/assets/{accountMappingHelper-BiN37Afq.js → accountMappingHelper-GPi0oD1D.js} +1 -1
- package/dist/assets/{add-to-wallet-DgdBD8_G-CPiuqV_c.js → add-to-wallet-DgdBD8_G-0ekd9-Ri.js} +1 -1
- package/dist/assets/{analytics-wdo9XAAq.js → analytics-B2Q_uKwH.js} +1 -1
- package/dist/assets/{analyticsHelper-AeOsAjMK-BGRykG4C.js → analyticsHelper-CAYdbjhS-TiCqBFHc.js} +1 -1
- package/dist/assets/{analyticsHelper-DCVh2Q2D.js → analyticsHelper-eqJrrWmY.js} +1 -1
- package/dist/assets/{arrow-south-east-round-PEovUgvH-Cha4vEKb.js → arrow-south-east-round-PEovUgvH-DvoAU7mY.js} +1 -1
- package/dist/assets/{auto-transfer-rule-mbafm5D3-BOscmwTD.js → auto-transfer-rule-mbafm5D3-VBx9t_qo.js} +1 -1
- package/dist/assets/{avatar-Dz7aEm3d-Cy0EjR0N.js → avatar-Dz7aEm3d-ZI3JCtk7.js} +1 -1
- package/dist/assets/{bank-letter-BOcVjN6J-Dipf9hW8.js → bank-letter-BOcVjN6J-Dws2Kxmd.js} +1 -1
- package/dist/assets/{calculateSize-D-LzlJzs-DzScwWaZ.js → calculateSize-B2w5JPEU-BiAuCFz-.js} +1 -1
- package/dist/assets/{chartTypes-BLsP7rGF-Da9uYAcr.js → chartTypes-CD3vrBsI-D1eLb6aA.js} +1 -1
- package/dist/assets/{clock-CJkylEKt-CnqntmQY.js → clock-CJkylEKt-CwvCI5hq.js} +1 -1
- package/dist/assets/common-BpxEACHl-D-qMuYEn.js +1 -0
- package/dist/assets/{commonDimensions-DIm7kTtR-BvbgEdIW.js → commonDimensions-Oz1tdAcx-6qsjkus3.js} +1 -1
- package/dist/assets/{commonTypes-B3mnx2x_-DYgG7K13.js → commonTypes-5tEXwrX4-0afSAZ02.js} +1 -1
- package/dist/assets/{core-BcVj2gTX.js → core-D9P6lLF-.js} +1 -1
- package/dist/assets/{dash.all.min-C98tiWV1.js → dash.all.min-CrF9T_sg.js} +1 -1
- package/dist/assets/{decodeURIComponentSafe-ClJHrrjv.js → decodeURIComponentSafe-BA7ebd4J.js} +1 -1
- package/dist/assets/{dnd-eXDjf6Lj.js → dnd-nSkfhkrX.js} +1 -1
- package/dist/assets/{dollar-round-D18u7nlm-B8-M7Nzo.js → dollar-round-D18u7nlm-DJ7jjz8a.js} +1 -1
- package/dist/assets/{downloadPdf-B5WrL0K1-CyBUyeC8.js → downloadPdf-Dsuxeias-DgqgIEmy.js} +1 -1
- package/dist/assets/{empty-wYUB3tSo.js → empty-BM1tlym1.js} +1 -1
- package/dist/assets/{empty-C4qv3p9z.js → empty-DqDGRwQI.js} +1 -1
- package/dist/assets/{epic-BQcpQKad.js → epic-C-GRNY0z.js} +1 -1
- package/dist/assets/{filter-cZIFUNvj-BvpfZxhV.js → filter-cZIFUNvj-CnTMsRoA.js} +1 -1
- package/dist/assets/{getLocaleForTenant-Cgh9LbcE.js → getLocaleForTenant-D_kHTEKc.js} +1 -1
- package/dist/assets/{gift-box-Cmt9OgIZ-DmzAN1Y2.js → gift-box-Cmt9OgIZ-CmbTqYsU.js} +1 -1
- package/dist/assets/{graphic-no-data-l-DU4J8fDt-C2w81gyO.js → graphic-no-data-l-DU4J8fDt-qX4MU25I.js} +1 -1
- package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-B9Kj_9xA.js → graphic-no-data-net-burn-l-CzmycA0m-eyhdhwsy.js} +1 -1
- package/dist/assets/{handshake-BPg58FML-C5EsxlDc.js → handshake-BPg58FML-Dy9hpFzO.js} +1 -1
- package/dist/assets/{helper-BVESv00--CCWSdc0u.js → helper-Ckm10Uko-Cft993Iq.js} +1 -1
- package/dist/assets/{hyperlink-DQyCeXx2-B8GMs2Qi.js → hyperlink-DQyCeXx2-ClAJPTpW.js} +1 -1
- package/dist/assets/{index-Lqpf6Iwl.js → index-BGoNZK9J.js} +1 -1
- package/dist/assets/{index-DlrbNfLu.js → index-BHx-AV13.js} +1 -1
- package/dist/assets/{index-DxRPAtdN.js → index-BoyH9PC5.js} +1 -1
- package/dist/assets/{index-Bnlx-O7K.js → index-C6CSTWn-.js} +1 -1
- package/dist/assets/{index-CDsOcKsG.js → index-CAltUZe8.js} +6 -6
- package/dist/assets/{index-CHxhGC-k.js → index-D3FWjv6R.js} +1 -1
- package/dist/assets/{lexical-DEeAev9O.js → lexical-Ct6cBwR8.js} +1 -1
- package/dist/assets/{liveblocks-BAIL303h.js → liveblocks-DxIK6Zp5.js} +1 -1
- package/dist/assets/{lottie-DP5A4Fs7.js → lottie-BEhoArVd.js} +1 -1
- package/dist/assets/mapLoadingInProgressToTreeNode-jcHEi-mv-D0bSM41h.js +1 -0
- package/dist/assets/{mapSectionWithAcOnlyToTreeNode-BIiMj0sc-BSyDfjzw.js → mapSectionWithAcOnlyToTreeNode-Cgyt68f3-Bqo33gCA.js} +1 -1
- package/dist/assets/mapSpacerToTreeNode-XgUp1xUb-CaUrNev8.js +1 -0
- package/dist/assets/{mapTimeframeBalancesToTreeNode-CyO5pm8k-_jPUKmdI.js → mapTimeframeBalancesToTreeNode-Bre8FfBF-CPTPOyt7.js} +1 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-DOyCX6ij-BwgfCZTt.js +1 -0
- package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-NKafOEXu-n_XJX95T.js → mapTimeframeHeaderLoadingInProgressToTreeNode-D2IvFyR5-Cw5QJbW7.js} +1 -1
- package/dist/assets/{media-player-Bc98lKB5.js → media-player-CsDObYZE.js} +2 -2
- package/dist/assets/{money-2cg1MuG4-DIu_vl7e.js → money-2cg1MuG4-CTFLBPxC.js} +1 -1
- package/dist/assets/{mui-hn9thxzh.js → mui-CMSRVFAm.js} +1 -1
- package/dist/assets/{page-detail-CWX5S47F-6zbdwm2S.js → page-detail-CWX5S47F-D71KSTNS.js} +1 -1
- package/dist/assets/{page-summary-D7_VQHwN-BOxy1JzR.js → page-summary-D7_VQHwN-C0Gmkrf2.js} +1 -1
- package/dist/assets/{panelSelectedMixin-Cddsb26L-B7PwrSV9.js → panelSelectedMixin-Cddsb26L-CzLNMPbQ.js} +1 -1
- package/dist/assets/{pathToGoBack-CQ5L4Qtj.js → pathToGoBack-Blub25Cp.js} +1 -1
- package/dist/assets/{pdf-Cs-mh77O.js → pdf-Be2WBqYM.js} +3 -3
- package/dist/assets/{pdf-lib-sBkKqPTU.js → pdf-lib-CnVZquuu.js} +1 -1
- package/dist/assets/{plaid-NpQK5k22.js → plaid-BfI3x5Cu.js} +1 -1
- package/dist/assets/{pusher-DWT0gMh9.js → pusher-B6_CsVbZ.js} +1 -1
- package/dist/assets/{radio-default-CiSgisfh-CFx63U5w.js → radio-default-CiSgisfh-B-boFyAl.js} +1 -1
- package/dist/assets/{react-CDpJbt9S.js → react-BHFS79hd.js} +1 -1
- package/dist/assets/{react-C6SHTtsh.js → react-BU_9CVSX.js} +3 -3
- package/dist/assets/{react-D2TGyR4z.js → react-BpE8-YB1.js} +1 -1
- package/dist/assets/{react-xLLMyMiK.js → react-C0Y1QuQQ.js} +1 -1
- package/dist/assets/{react-D8Ql5Ir3.js → react-C8t61nFI.js} +1 -1
- package/dist/assets/{react-GYK8-ald.js → react-D-1D0x0x.js} +1 -1
- package/dist/assets/{react-BTmu8DG-.js → react-Df07f_EQ.js} +1 -1
- package/dist/assets/{react-D7EJTKAr.js → react-DoqYYGGT.js} +1 -1
- package/dist/assets/{recharts-B4dFoR35.js → recharts-gT6BOz1b.js} +1 -1
- package/dist/assets/{routePaths-C-_oCckx.js → routePaths-C2kSZwVH.js} +1 -1
- package/dist/assets/{sentry-BkPUuNvL.js → sentry-DQeYyYXx.js} +1 -1
- package/dist/assets/{shield-DOlUxcFf-aMF7hqRR.js → shield-DOlUxcFf-CtwAmezy.js} +1 -1
- package/dist/assets/{spend-limit-D6SyboD4-C-17E3uX.js → spend-limit-D6SyboD4-DgU5KXwN.js} +1 -1
- package/dist/assets/toCOABalancesWithID-aLNB35t7-Bbjw8HZY.js +1 -0
- package/dist/assets/{toChartData-BkubFDq8-CRAS8Brl.js → toChartData-DUL6vnzJ-Dwc3foiO.js} +1 -1
- package/dist/assets/{transaction-placeholder-CpOwZAMG-B2H47PYQ.js → transaction-placeholder-CpOwZAMG-EsW3Q-dq.js} +1 -1
- package/dist/assets/{undo-b_3XZ5CX-DnfqwuXr.js → undo-b_3XZ5CX-vDqRNZiv.js} +1 -1
- package/dist/assets/{unlock-BPWn2I5L-PO6XR31-.js → unlock-BPWn2I5L-DrFYUkdQ.js} +1 -1
- package/dist/assets/{upload-reimbursement-receipt-O2N8vcO7-CkquQ_GZ.js → upload-reimbursement-receipt-O2N8vcO7-DJbY_Oz2.js} +1 -1
- package/dist/assets/{uploadAttachment-CzgakLtr-w-CpO5ZH.js → uploadAttachment-Ck4wivBR-es3sSFtr.js} +1 -1
- package/dist/assets/{uploadReceipts-CIgkuVpu-DItV8z0n.js → uploadReceipts-CIgkuVpu-IBEc_jc1.js} +1 -1
- package/dist/assets/{url-Bagborol.js → url-DabKyEXg.js} +1 -1
- package/dist/assets/{url-DmgUP0mV.js → url-Doy-Mf6X.js} +1 -1
- package/dist/assets/{useDeviceId-eLv7tFR4.js → useDeviceId-Dx8RlRsA.js} +1 -1
- package/dist/assets/{useInitialThreadRequest-BQU3Jo1E.js → useInitialThreadRequest-Bxf1X7cu.js} +1 -1
- package/dist/assets/{useLongPress-GCK2COYQ-Cftpm8Z6.js → useLongPress-GCK2COYQ-CW7ST8rN.js} +1 -1
- package/dist/assets/{usp-line-BBd1wKwW-D_M71co8.js → usp-line-BBd1wKwW-Crs-gA1B.js} +1 -1
- package/dist/assets/{utils-DkgigH7S.js → utils-BAO5KfNy.js} +1 -1
- package/dist/assets/{withTransactionSidePanel-H3IbO2pr.js → withTransactionSidePanel-FcH3ZlAj.js} +1 -1
- package/dist/assets/{zeni-epic-state-CsRsIUwY.js → zeni-epic-state-CHpO1ZKT.js} +3 -3
- package/dist/assets/{zeni-icon-only-QItZ_P8a.js → zeni-icon-only-4nFle2Fz.js} +1 -1
- package/dist/index.html +1 -1
- package/package.json +2 -2
- package/dist/assets/AccountInfoPage-Cz9yoVl8-i4SdDCSW.js +0 -18
- package/dist/assets/AccountInfoPageContent-j85psx_A-DeBCdl3d.js +0 -149
- package/dist/assets/BillPayApprovalRuleDetailPage-C_REwEVS-B1_RM9n8.js +0 -27
- package/dist/assets/ChargeCardPromoPage-CKl6K-nr-DW3UNOti.js +0 -222
- package/dist/assets/CustomerOnboardingAuthScreen-D7hLcvD9.js +0 -1
- package/dist/assets/CustomerOnboardingContainerPage-B4YFIOQJ-t-Qqzm11.js +0 -1
- package/dist/assets/EntityDetailPage-D8FzsqNk-a6QKQbsr.js +0 -18
- package/dist/assets/MagicLinkACHDetailsPage-BKh8WrCR-yzbitn8u.js +0 -1
- package/dist/assets/MagicLinkDomesticWireDetailsPage-Cv19HbKi-CyHS18r2.js +0 -1
- package/dist/assets/MagicLinkInternationalWireDetailsPage-DbFxpWOg-EDVvFAle.js +0 -1
- package/dist/assets/MailingDetailsSection-BNVPaGFt-BxMdrzgd.js +0 -21
- package/dist/assets/TransactionListPage-ReGTmF43-3dryvOZg.js +0 -35
- package/dist/assets/TreasuryStatementsPage-BjGwvMFL-rl7Xwq3o.js +0 -58
- package/dist/assets/VendorACHDetailsPage-BbxRwrEv-Bd-GOuTM.js +0 -1
- package/dist/assets/VendorDomesticWireDetailsPage-C02ZhGg3-B_msRt77.js +0 -1
- package/dist/assets/VendorInternationalWireSwiftDetailsPage-Bdt0UR_b-DHmy9Qnb.js +0 -1
- package/dist/assets/common-CAmBErdt-mQeN1s1o.js +0 -1
- package/dist/assets/mapLoadingInProgressToTreeNode-DJxRl0X1-CqHpAmA4.js +0 -1
- package/dist/assets/mapSpacerToTreeNode-Bj3f2irs-BQdWgZ0d.js +0 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-AI17uMHa-BqlDWqT_.js +0 -1
- package/dist/assets/toCOABalancesWithID-BWMF0py6-COMd_TR_.js +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{y as Le,e as Ve,a7 as O,T as Ge,c8 as Ze,O as Me,ad as $e,V as i,eI as Je,f as q,x as s,a_ as Xe,L as Ye,A as Ke,eZ as Pe,de as Qe,e_ as ei,aU as ii,d4 as ti,a9 as ni,o as a,f0 as oi,m as n,bH as ai,cc as li,dX as si,f8 as Ae,f9 as je,fH as ri,a as ci,b as Ie,d as De,b8 as di,C as ui,aR as mi}from"./index-
|
|
1
|
+
import{y as Le,e as Ve,a7 as O,T as Ge,c8 as Ze,O as Me,ad as $e,V as i,eI as Je,f as q,x as s,a_ as Xe,L as Ye,A as Ke,eZ as Pe,de as Qe,e_ as ei,aU as ii,d4 as ti,a9 as ni,o as a,f0 as oi,m as n,bH as ai,cc as li,dX as si,f8 as Ae,f9 as je,fH as ri,a as ci,b as Ie,d as De,b8 as di,C as ui,aR as mi}from"./index-CAltUZe8.js";import{a as o}from"./sentry-DQeYyYXx.js";import{n as t}from"./mui-CMSRVFAm.js";import{cg as pi}from"./zeni-epic-state-CHpO1ZKT.js";import{g as gi}from"./UploadAdditionalDocumentOverlay-Wl4Spdpn-BP-fxZSw.js";import"./pdf-Be2WBqYM.js";import"./core-D9P6lLF-.js";import"./lottie-BEhoArVd.js";import"./liveblocks-DxIK6Zp5.js";import"./recharts-gT6BOz1b.js";import"./dnd-nSkfhkrX.js";import"./analytics-B2Q_uKwH.js";import"./plaid-BfI3x5Cu.js";import"./utils-BAO5KfNy.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},m=new e.Error().stack;m&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[m]="a0b08419-0656-4182-b0c0-ee2c5c2a9477",e._sentryDebugIdIdentifier="sentry-dbid-a0b08419-0656-4182-b0c0-ee2c5c2a9477")}catch{}})();const hi=e=>o.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},o.createElement("path",{d:"M12.7113 3H2.89261C2.39963 3 2 3.39963 2 3.89261V20.8522C2 21.3451 2.39963 21.7448 2.89261 21.7448H12.7113C13.2043 21.7448 13.6039 21.3451 13.6039 20.8522V3.89261C13.6039 3.39963 13.2043 3 12.7113 3Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),o.createElement("path",{d:"M10.4798 13.7113H9.58719C9.3407 13.7113 9.14088 13.9111 9.14088 14.1576V16.8354C9.14088 17.0819 9.3407 17.2817 9.58719 17.2817H10.4798C10.7263 17.2817 10.9261 17.0819 10.9261 16.8354V14.1576C10.9261 13.9111 10.7263 13.7113 10.4798 13.7113Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),o.createElement("path",{d:"M21.6374 16.1133C21.6374 16.1961 21.6143 16.2773 21.5708 16.3477C21.5273 16.4182 21.4651 16.4752 21.391 16.5123L19.8522 17.2817V14.6039H21.1911C21.3095 14.6039 21.423 14.6509 21.5067 14.7346C21.5904 14.8183 21.6374 14.9318 21.6374 15.0502V16.1133Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),o.createElement("path",{d:"M19.8522 14.6039V13.265C19.8522 12.5268 22.53 10.1409 22.53 10.1409",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),o.createElement("path",{d:"M19.8522 17.2817V19.9596C19.8522 20.433 19.6641 20.8871 19.3293 21.2219C18.9945 21.5567 18.5404 21.7448 18.067 21.7448C17.5935 21.7448 17.1394 21.5567 16.8046 21.2219C16.4698 20.8871 16.2817 20.433 16.2817 19.9596V7.90935C16.2817 7.55424 16.1407 7.21369 15.8896 6.96259C15.6385 6.7115 15.2979 6.57043 14.9428 6.57043H13.6039",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),o.createElement("path",{d:"M2 10.1409H13.6039",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),o.createElement("path",{d:"M11.3724 4.78528H4.23154C3.98505 4.78528 3.78523 4.9851 3.78523 5.23158V7.90941C3.78523 8.15589 3.98505 8.35571 4.23154 8.35571H11.3724C11.6189 8.35571 11.8187 8.15589 11.8187 7.90941V5.23158C11.8187 4.9851 11.6189 4.78528 11.3724 4.78528Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),o.createElement("path",{d:"M9.14088 19.0669H10.9261",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),h={sectionWidth:new s(343,580,726),iconContainerMaxWidthHeight:new s(n[6],n[7]),iconContainerMarginRight:new s(12,n[3]),infoLabelPaddingLeft:new s(n[0],n[3]),iconPadding:new s(10,12),iconWidthHeight:new s(20,n[4]),rowGap:new s(n[2],n[3]),containerPadding:new s(n[3],n[4])},pe={title:new De("standardSemiBold","largeSemiBold"),infoLabel:new De("extraSmallRegular","smallRegular")};function fi({companyMileageConfigInfo:e,mileageDetails:m,analytics:$,style:A,sectionId:P,isActive:d=!0,isDisabled:r,onSaveMileageClick:G}){const l=Ve(),j=Le(),{formState:{errors:Z},trigger:J}=li(),I=xi(P,"mileageAmountInDenomination"),f=si(Z,I),{localData:c,updateStatus:z,mileageStatus:b}=m,R=e?.denominationConversions.amount==null||e.denominationConversions.amount!==c?.mileageAmountInDenomination,{commonSetUp:X,spendManagement:Y}=Me.getLocalizedStrings(),{reimbursement:K}=Y,[C,D]=o.useState(R),[Q,U]=o.useState(!1);o.useEffect(()=>{f||J(I)},[]),o.useEffect(()=>{e?.denominationConversions.amount!=null&&e.denominationConversions.amount===c?.mileageAmountInDenomination&&D(!1)},[e?.denominationConversions.amount]),o.useEffect(()=>{C||U(C)},[C]);const{reimbursementSetup:x}=K,{setUp:ee}=X,ie=C===!1||z.fetchState==="In-Progress"?"readonly":r,te=c&&c?.denominationSymbol?`${c?.denominationSymbol} `:"",ne=c&&c?.mileageUnit?c?.mileageUnit:"";return i.jsxs(yi,{windowSize:l,style:A,isActive:d&&r==null,children:[i.jsxs(Ai,{windowSize:l,children:[x.mileageHeader,d===!1?i.jsx(Di,{children:ee.comingSoon}):null]}),i.jsxs($i,{windowSize:l,children:[i.jsx(ki,{windowSize:l,isDarkMode:j.mode==="dark",children:i.jsx(hi,{width:h.iconWidthHeight.valuePx(l),height:h.iconWidthHeight.valuePx(l)})}),i.jsxs(wi,{children:[i.jsxs(Pi,{children:[i.jsxs(ji,{children:[i.jsxs(Ii,{children:[i.jsx(Ci,{windowSize:l,children:e?.denominationConversions.amount==null?x.mileageAddTitle:x.mileageEditTitle}),i.jsx(Si,{children:x.mileageSubTitle})]}),b!=null&&e?.denominationConversions.amount!=null&&l==="small"?i.jsx(Ae,{style:{width:"max-content",padding:a.sp0,marginTop:a.sp2},tagTitle:b.name,textColor:je(b.code)}):null]}),i.jsxs(bi,{children:[b!=null&&e?.denominationConversions.amount!=null&&l!=="small"?i.jsx(Ae,{style:{width:"max-content"},tagTitle:b.name,textColor:je(b.code)}):null,i.jsx(vi,{})]})]}),i.jsxs(Ei,{children:[i.jsxs(Ti,{children:[i.jsx(ri,{style:{height:a.sp6,textAlign:"left"},inputStyle:{textAlign:"left",paddingRight:a.sp10,backgroundColor:f?void 0:j.colors.background,color:C||f?void 0:j.colors.grey1},isFieldError:f,type:"number",autoFocus:!1,focus:Q,name:I,defaultValue:c?.mileageAmountInDenomination,returnValueType:"floatValue",allowEmptyFormatting:!0,prefix:te,suffix:` ${x.perText} ${ne}`,decimalScale:1,allowNegative:!1,isNumericString:!1,registerOptions:{min:1,validate:E=>E!=null||r!=null,required:r==null},isDisabled:ie}),i.jsx(Vi,{children:C?i.jsx(ci,{label:x.save,"data-testid":Ie("save-mileage"),onClick:()=>{c?.mileageAmountInDenomination!=null&&R&&!f&&G?.(c.mileageAmountInDenomination)},style:{outline:"none"},size:"small",disabled:r!=null,variant:"light_transparent",reverseSpinnerColor:!1,loading:z.fetchState==="In-Progress"}):i.jsx(Mi,{isDisabled:r,"data-testid":Ie("edit-mileage"),onClick:E=>{E.stopPropagation(),D(!0),U(!0),$.trackReimbursementMileageRateEdit()}})})]}),c?.description!=null?i.jsx(Li,{size:l,hasError:f,children:f&&e?.defaultMileageUnitAmount!=null?x.yourMileage.replace("__defaultMileageUnitAmount__",(100*e.defaultMileageUnitAmount).toString()):c.description}):null]})]})]})]})}const xi=(e,m)=>`${e}.${m}`,yi=t.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
pointer-events: ${e=>e.isLoading===!0||e.isActive===!1?"none":"initial"};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{_ as V,fm as M,V as _,bR as W,bS as z,bT as G,iU as K,ag as q,O as H}from"./index-
|
|
1
|
+
import{_ as V,fm as M,V as _,bR as W,bS as z,bT as G,iU as K,ag as q,O as H}from"./index-CAltUZe8.js";import{a as b}from"./sentry-DQeYyYXx.js";import{GK as J}from"./zeni-epic-state-CHpO1ZKT.js";import{u as Q}from"./ReviewOverlay-CxwoiOLC-BQk8pdfC.js";import"./pdf-Be2WBqYM.js";import"./core-D9P6lLF-.js";import"./mui-CMSRVFAm.js";import"./recharts-gT6BOz1b.js";import"./lottie-BEhoArVd.js";import"./liveblocks-DxIK6Zp5.js";import"./dnd-nSkfhkrX.js";import"./analytics-B2Q_uKwH.js";import"./plaid-BfI3x5Cu.js";import"./utils-BAO5KfNy.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new e.Error().stack;o&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[o]="5fa4490a-e280-449f-be99-c888b852e612",e._sentryDebugIdIdentifier="sentry-dbid-5fa4490a-e280-449f-be99-c888b852e612")}catch{}})();const{common:a,spendManagement:{reimbursement:B}}=H.getLocalizedStrings(),n=B.bulkActions;let R;const _e=({remisReviewView:e,isAdmin:o,analytics:s,onProceedForBulkActionClick:m,onCloseReviewItem:d,onCloseOverlay:t})=>{const{fetchState:i,bulkSubmissionFetchState:l,bulkOperationTypeSelected:r,currentTab:f,currentSubTab:g}=e,y=!1,T=V(),p=M(T),[v,u]=b.useState(!1),[h,A]=b.useState(P(e,y,o,p)),[w,D]=b.useState(y),[j,Z]=b.useState(0),[S,F]=b.useState({type:"",title:"",description:"",primaryButtonText:"",secondaryButtonText:""});b.useEffect(()=>(j===h.length&&w&&(D(!1),clearInterval(R)),e.fetchState==="Completed"&&A(P(e,!1,o,p)),()=>{clearInterval(R)}),[h.length,j,w,e.fetchState,y,e,o,p]);const $=h.length,x=h.filter(c=>c.reviewStatus.code!=="error").length,E={onOkClick:c=>{u(!1);const I=e.remisForReview.map(k=>k.reimbursement);s.trackReimbursementBulkPopupConfirm(r,f,g,J(I.map(k=>k?.reimbursementTypesIncluded??[]))),m("reject",c)},onCancelClick:()=>{u(!1)}},{title:O,description:U}=Y(i,x,$,w),C=e.fetchState==="Completed"&&x===0,L=()=>{s.trackReimbursementBulkSubmit(r,f,g),m(r)},N={label:r==="send_for_approval"?a.texts.goBack:a.footer.reject,isDisabled:r!=="reject"&&l==="In-Progress",isLoading:r==="reject"&&l==="In-Progress",reverseSpinnerColor:!1,onClick:r==="send_for_approval"?t:()=>{const{title:c,description:I}=X(x);F({type:"reject",title:c,description:I,primaryButtonText:a.texts.confirm,secondaryButtonText:a.texts.close}),s.trackReimbursementBulkSubmit(r,f,g),u(!0)},style:r==="approve"?{minWidth:"92px"}:{}};return _.jsxs(_.Fragment,{children:[v?_.jsx(W,{titleComponent:_.jsx(G,{children:S.title}),descriptionComponent:_.jsx(z,{children:S.description}),primaryButtonText:S.primaryButtonText,proceedButtonVariant:"danger",secondaryButtonText:S.secondaryButtonText,action:E,isNotesIncluded:!0,isEditPopup:!0}):null,_.jsx(Q,{title:O,description:{content:U,isError:e.fetchState==="Completed"&&x===0},reviewItems:h,onCloseReviewItem:d,onCloseOverlay:t,showFooter:e.fetchState==="Completed"&&!w,footerProps:{primaryButton:(()=>{let c=a.footer.approve;return C?c=a.texts.close:r==="send_for_approval"&&(c=a.footer.submit),{label:c,isDisabled:i!=="Completed"||r==="reject"&&l==="In-Progress",isLoading:l==="In-Progress"&&(r==="send_for_approval"||r==="approve"),onClick:C?t:L,style:r==="send_for_approval"?{minWidth:"92px"}:{}}})(),cancelButton:N,hideCancel:C}})]})},P=(e,o,s,m)=>{const d=e.fetchState==="In-Progress";return e.remisForReview.map(t=>{const i=K(s,t.submittedBy,m);return{id:t.transactionId,leftSideText:{title:t.reimbursement?.reportTitle!=null?t.reimbursement.reportTitle:B.reimbursementDetail.newReimbursementTitle,subTitle:i!=null?`${a.by} ${i?.firstName} ${i?.lastName}`:a.strings.empty},rightSideText:{title:q("0,0.[00]",t.reimbursement?.amount?.amount,t.reimbursement?.amount?.currencySymbol),showThunderIcon:!1,subTitle:t.reviewInfoMessage??""},reviewStatus:{isLoading:d,code:t.reviewStatus??""}}})},X=e=>{const{this_:o,these:s,report:m,reports:d,payment:t,payments:i}=a.texts;return e>1?{title:n.popUps.reject.title.replace("__report__",n.reports),description:n.popUps.reject.description.replaceAll("<_this_>",s).replaceAll("<_payment_>",i).replaceAll("__report__",d)}:{title:n.popUps.reject.title.replace("__report__",n.report),description:n.popUps.reject.description.replaceAll("<_this_>",o).replaceAll("<_payment_>",t).replaceAll("__report__",m)}},Y=(e,o,s,m)=>{const{has:d,have:t,report:i,reports:l,are:r,is:f,do_:g,does:y}=a.texts,T=o>1,p=s>1;let v="",u="";return e!=="Completed"||m?(v=n.reviewPage.reportsReviewing.title.replace("__report__",p?l:i),u=n.reviewPage.reportsReviewing.description.replace("__report__",p?l:i)):(v=n.reviewPage.reportsReviewed.title.replace("__report__",p?B.bulkActions.reports:n.report).replace("<_has_>",p?t:d),u=o===0?n.reviewPage.reportsReviewed.descriptionError.replace("__report__",p?l:i).replace("<_do_>",p?g:y):`${o}/${s} ${n.reviewPage.reportsReviewed.description.replace("__report__",s>1?l:i).replace("<_is_>",T?r:f)}`),{title:v,description:u}};export{_e as default};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{y as h,V as r,a4 as a,an as f,am as m,O as y,b as j,aa as l,b0 as g,C as u,o as c}from"./index-
|
|
1
|
+
import{y as h,V as r,a4 as a,an as f,am as m,O as y,b as j,aa as l,b0 as g,C as u,o as c}from"./index-CAltUZe8.js";import{n as s}from"./mui-CMSRVFAm.js";import{a as d}from"./sentry-DQeYyYXx.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new e.Error().stack;o&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[o]="db413ffe-96a3-45e6-a289-13f06584e962",e._sentryDebugIdIdentifier="sentry-dbid-db413ffe-96a3-45e6-a289-13f06584e962")}catch{}})();function w({backgroundColor:e,foregroundColor:o,animated:t,width:n,height:i}){return r.jsxs(g,{speed:2,width:n,height:i,viewBox:`0 0 ${n} ${i}`,animate:t!=0,backgroundColor:e,foregroundColor:o,children:[r.jsx("rect",{x:"64",y:"0",rx:"4",ry:"4",width:""+(n-128),height:"21"}),r.jsx("rect",{x:"24",y:"45",rx:"4",ry:"4",width:""+(n-48),height:"228"})]})}function p({backgroundColor:e,foregroundColor:o,animated:t}){return r.jsxs(g,{speed:2,width:240,height:98,viewBox:"0 0 240 98",animate:t!=0,backgroundColor:e,foregroundColor:o,children:[r.jsx("rect",{x:"66",y:"0",rx:"4",ry:"4",width:"108",height:"21"}),r.jsx("rect",{x:"44",y:"77",rx:"4",ry:"4",width:"152",height:"21"}),r.jsx("rect",{x:"0",y:"29",rx:"4",ry:"4",width:"240",height:"40"})]})}const x=s(l)`
|
|
2
2
|
justify-content: flex-start;
|
|
3
3
|
`;function E({dimension:e,animated:o}){const t=h();return r.jsx(a,{dimension:e,children:r.jsx(x,{children:r.jsx(p,{backgroundColor:t.colors.grey3,foregroundColor:t.colors.grey4,animated:o})})})}function T({dimension:e,animated:o}){const t=h();return r.jsx(a,{dimension:e,children:r.jsx(x,{children:r.jsx("div",{style:{width:"100%",height:"100%"},children:r.jsx(f,{children:({height:n,width:i})=>r.jsx(w,{backgroundColor:t.colors.grey3,foregroundColor:t.colors.grey4,animated:o,width:i,height:n})})})})})}const C=s(l)`
|
|
4
4
|
justify-content: space-between;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{y as X,e as de,bF as fe,T as
|
|
1
|
+
import{y as X,e as de,bF as fe,T as xe,V as t,k as be,bG as te,A as ye,x as S,a9 as _e,o as r,bH as we,H as he,O as ee,bI as $e,C as ve,S as Q,b0 as Ce,m,ad as ke,bJ as je,bK as Ne,bL as Ie,l as Se,$ as Oe}from"./index-CAltUZe8.js";import{a as u,b as ue}from"./sentry-DQeYyYXx.js";import{n as h}from"./mui-CMSRVFAm.js";import{t as O,n as De}from"./CollapsableReportTable-DNfFkAts-Ba6KUje2.js";import{t as Pe}from"./filter-cZIFUNvj-CnTMsRoA.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},i=new e.Error().stack;i&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[i]="243ce367-54a9-4067-9d0d-27d81343cafe",e._sentryDebugIdIdentifier="sentry-dbid-243ce367-54a9-4067-9d0d-27d81343cafe")}catch{}})();const z=ee.getLocalizedStrings().dateFormat.analytics.YYYYDashMMDashDDFormat,Te=e=>({this_period:{start_date:e.thisPeriod.startDate.format(z),end_date:e.thisPeriod.endDate.format(z)},number_of_periods:e.numberOfPeriods,order_by:e.orderBy}),Fe=e=>e!=null?{start_date:e.startDate.format(z),end_date:e.endDate.format(z)}:void 0;async function ro(e,i,n){const s=ee.getLocalizedStrings().downloadReport,l=`${e}?query=${encodeURIComponent(JSON.stringify(function(o){return{locale_id:o.localeId,show_negative_amount_in_parenthesis:o.showNegativeAmountInParenthesis,filter_accounts_with_nil_balances:o.filterAccountsWithNilBalances,filter_account_groups_with_nil_balances:o.filterAccountGroupsWithNilBalances,include_cover_page:o.includeCoverPage,company_name:o.companyName,statement_file_type:o.statementFileType,statements:o.statements,first_month_of_fy:o.firstMonthOfFY,book_close_date:o.bookCloseDate!=null?o.bookCloseDate.format(z):void 0,timeframe:o.timeframe,additional_balances:o.additionalBalances,format:o.format,balances_filter:Te(o.balancesFilter),account_view_mode:o.accountViewMode,classes_to_filter_out:o.classesToFilterOut,data_available:Fe(o.dataAvailable),is_zeni_coa_used:o.isZeniCOAUsed,class_view_layout:o.accountViewMode==="classes"?o.classViewLayout:void 0}}(n)))}`;try{const o=await je({urlEndPoint:l,authParams:i,fileType:n.statementFileType});if(o.ok){const y=Ne(o.headers,s.defaultFileName),_=await o.arrayBuffer();Ie(_,y)}else console.error(`${s.reportErrorMessage} ${o.statusText}`)}catch(o){console.error(`${s.reportErrorMessage} ${JSON.stringify(o)}`)}}const Be=h.div`
|
|
2
2
|
padding: 0 ${r.sp3} 0 ${r.sp3};
|
|
3
3
|
border: 1px solid ${e=>e.theme.colors.primary};
|
|
4
4
|
background: ${e=>e.theme.colors.grey5};
|
|
@@ -20,16 +20,16 @@ import{y as X,e as de,bF as fe,T as be,V as t,k as xe,bG as te,A as ye,x as S,a9
|
|
|
20
20
|
:hover {
|
|
21
21
|
color: ${e=>e.theme.colors.primary};
|
|
22
22
|
}
|
|
23
|
-
`,Ee=ue.memo(e=>{const{value:i,onClick:n}=e,s=X();return t.jsxs(Be,{onClick:n,children:[t.jsx(Le,{style:{color:s.colors.primary},children:i}),t.jsx(Ae,{})]})});function Me({backgroundColor:e,foregroundColor:i,animated:n,width:s,height:l}){return t.jsxs(
|
|
23
|
+
`,Ee=ue.memo(e=>{const{value:i,onClick:n}=e,s=X();return t.jsxs(Be,{onClick:n,children:[t.jsx(Le,{style:{color:s.colors.primary},children:i}),t.jsx(Ae,{})]})});function Me({backgroundColor:e,foregroundColor:i,animated:n,width:s,height:l}){return t.jsxs(Ce,{speed:2,width:s,height:l,viewBox:`0 0 ${s} ${l}`,animate:n!=0,backgroundColor:e,foregroundColor:i,style:{marginBottom:r.sp2},children:[t.jsx("rect",{x:"45",y:m[3],rx:"5",ry:"5",width:"120",height:m[4]}),t.jsx("rect",{x:"45",y:m[8],rx:"5",ry:"5",width:"120",height:m[4]}),t.jsx("rect",{x:"45",y:"96",rx:"5",ry:"5",width:"120",height:m[4]}),t.jsx("rect",{x:"45",y:"136",rx:"5",ry:"5",width:"120",height:m[4]})]})}function pe({nestedClass:e,isLastNode:i,config:n,parentNodeIDs:s}){const l=O("checkbox_and_name_only",[],e.classId[0]),o={children:[],id:l,isLastNode:i,reportElementData:{element:{kind:"checkbox_and_name_only",title:e.className,data:e,numOfBalances:0},config:n}};return o.children=e.children.map((y,_)=>pe({nestedClass:y,config:n,isLastNode:_===e.children.length-1,parentNodeIDs:[...s,l]})),o}function He(e,i){const n=e.map((s,l)=>{const o=O("checkbox_and_name_only",[],s.classId[0]),y={children:[],id:o,isLastNode:s.children.length!==0,reportElementData:{element:{kind:"checkbox_and_name_only",title:s.className,data:s,numOfBalances:0},config:i}},_=s.children.map(D=>pe({nestedClass:D,config:i,isLastNode:l===s.children.length-1,parentNodeIDs:[o]}));return y.children.push(..._),y});return{config:i,headerNodes:[],contentNodes:[...n]}}function Re(e,i){Object.assign(e.config,i);const n=e.contentNodes;return n.forEach(s=>me(s,i)),{config:i,headerNodes:[],contentNodes:[...n]}}function me(e,i){Object.assign(e.reportElementData.config,i),e.children.forEach(n=>me(n,i))}const se={contentPaddingLeft:new S(m[3],m[3],m[2]),contentPaddingRight:new S(m[3],m[3],m[2])},Ve=h.div`
|
|
24
24
|
height: ${e=>e.height}px;
|
|
25
25
|
width: 100%;
|
|
26
|
-
`,
|
|
26
|
+
`,k={width:new S(350,400,400),height:new S(165,165,165),buttonWidth:new S(62,62),buttonHeight:new S(m[5],m[5]),containerWidth:new S(150,400,400)},ze=h.div`
|
|
27
27
|
position: relative;
|
|
28
28
|
pointer-events: ${e=>e.isDisabled===!0?"none":"initial"};
|
|
29
29
|
`,We=h.div`
|
|
30
30
|
display: flex;
|
|
31
31
|
flex-direction: column;
|
|
32
|
-
width: ${e=>
|
|
32
|
+
width: ${e=>k.containerWidth.valuePx(e.windowSize)};
|
|
33
33
|
`,Ye=h(we)`
|
|
34
34
|
display: flex;
|
|
35
35
|
flex-direction: row;
|
|
@@ -148,4 +148,4 @@ import{y as X,e as de,bF as fe,T as be,V as t,k as xe,bG as te,A as ye,x as S,a9
|
|
|
148
148
|
margin-left: ${r.sp5};
|
|
149
149
|
margin-top: -12px;
|
|
150
150
|
color: ${e=>e.theme.colors.hero};
|
|
151
|
-
`,{reportViewSelector:I,common:{footer:ie}}=ee.getLocalizedStrings(),le="tableViewSelector",ce=e=>`${e}_form`;function io({reportId:e,firstMonthOfFY:i,nodes:n,classesListFetchState:s,selectedView:l,classesToBeFilteredOut:o,showClassAccountNumber:y,onOpenAccountViewMode:_,onSaveClick:D,isClassViewDisabled:J,downloadPage:B,showAccountGroups:L=!0,onResyncReports:U,isPageFetchInProgress:P=!1,lastRefreshSuccessTime:w}){const A=X(),
|
|
151
|
+
`,{reportViewSelector:I,common:{footer:ie}}=ee.getLocalizedStrings(),le="tableViewSelector",ce=e=>`${e}_form`;function io({reportId:e,firstMonthOfFY:i,nodes:n,classesListFetchState:s,selectedView:l,classesToBeFilteredOut:o,showClassAccountNumber:y,onOpenAccountViewMode:_,onSaveClick:D,isClassViewDisabled:J,downloadPage:B,showAccountGroups:L=!0,onResyncReports:U,isPageFetchInProgress:P=!1,lastRefreshSuccessTime:w}){const A=X(),x=de(),[E,M]=u.useState(!1),[g,H]=u.useState(l),[T,j]=u.useState({}),R=(a,p)=>(a.forEach(b=>{p.push(b.classId),p=R(b.children,p)}),p),F=R(n,[]),[C,$]=u.useState(g==="classes"?o:F),W=s!=="Completed"||g==="classes"&&C.length===F.length,Y=u.useRef(!1),[q,d]=u.useState(!1),c=u.useRef(a=>{a&&!Y.current&&(Y.current=!0,d(!0))});fe({componentName:`reports.${e}`,enabled:q});const f=a=>a==="classes"?I.classes.label:L===!0?I.accountGroups.label:I.accounts.label,v=xe({mode:"all"}),K=v.handleSubmit(()=>{M(!1),g==="classes"?D?.("classes",C):D?.("account_group")}),G=a=>{if(H(a),a==="classes")j({}),$([]);else{$(F);let p={};n.forEach(b=>{const N=O("checkbox_and_name_only",[],b.classId[0]);p=Object.assign({},p,{[N]:!1})}),j(p)}},oe=()=>{E===!0&&Z(),M(!E);let a={};n.forEach(p=>{const b=O("checkbox_and_name_only",[],p.classId[0]);a=l==="account_group"||C.find(N=>N[0]===p.classId[0])!==void 0?Object.assign({},a,{[b]:!1}):Object.assign({},a,{[b]:!0})}),j(a)},Z=()=>{M(!1),H(l),$(o)};return u.useEffect(()=>{if(s==="Completed"&&g==="account_group"){let a={};n.forEach(p=>{const b=O("checkbox_and_name_only",[],p.classId[0]);a=Object.assign({},a,{[b]:!1})}),j(a)}},[s]),t.jsx(be,{onClickAway:Z,children:t.jsxs(ze,{ref:c.current,isDisabled:J??!1,children:[B===!0?t.jsx(Ee,{value:f(l),onClick:()=>{_?.(),oe()}}):t.jsxs(We,{windowSize:x,children:[t.jsxs(Ye,{onClick:a=>{a.preventDefault(),_?.(),oe()},children:[t.jsx(Ge,{className:"dropdownIcon"}),f(l)]}),l==="classes"?t.jsx(Ke,{onClick:()=>{P===!1&&U?.()},children:P?I.generatingReportByClass:t.jsxs(t.Fragment,{children:[w&&`${te(w)}`,t.jsx(Qe,{})]})}):null]}),E?t.jsx(ye,{...v,children:t.jsx("form",{id:ce(le),onSubmit:K,children:t.jsxs(Je,{width:k.width.value(x),children:[t.jsx(ne,{checked:g==="account_group",children:t.jsxs(ae,{onClick:()=>g!=="account_group"?G("account_group"):null,children:[t.jsx("input",{type:"radio",value:"account_group",id:"accountGroups",name:"formgroup",onChange:a=>G(a.currentTarget.value),checked:g==="account_group",disabled:s!=="Completed"}),t.jsx(re,{disabled:s!=="Completed",children:L===!0?I.accountGroups.dropdownLabel:I.accounts.dropdownLabel})]})}),t.jsx(Ze,{}),t.jsxs(ne,{checked:g==="classes",children:[t.jsxs(ae,{onClick:()=>s==="Completed"?G("classes"):null,children:[t.jsx("input",{type:"radio",value:"classes",id:"classes",name:"formgroup",onChange:a=>s==="Completed"?G(a.currentTarget.value):null,checked:g==="classes",disabled:s!=="Completed"}),t.jsx(re,{disabled:s!=="Completed",children:I.classes.dropdownLabel})]}),P||s!=="Completed"?null:t.jsx(Xe,{children:w&&`${te(w)}`}),s==="Completed"?t.jsx(Ue,{id:"sectionformcontainer",children:t.jsx(eo,{reportId:e,firstMonthOfFY:i,nestedClassHierarchy:n,classesToBeFilteredOut:C,maxTreeHeightPx:353,selectedView:g,nodeOpenStatus:T,showClassAccountNumber:y,onToggleCheck:(a,p,b)=>{if(b===!0&&(H("classes"),$(F)),p===!0){const N=O("checkbox_and_name_only",[],a[0]);T[N]=!0,j(T),$(V=>V.filter(ge=>ge[0]!==a[0]))}else{const N=O("checkbox_and_name_only",[],a[0]);T[N]=!1,C.find(V=>V[0]===a[0])===void 0&&$(V=>[...V,a])}}})}):t.jsx(Me,{backgroundColor:A.colors.grey3,foregroundColor:A.colors.grey4,width:k.width.value(x),height:k.height.value(x),animated:!0})]}),t.jsx(qe,{children:t.jsx(_e,{formId:ce(le),primaryBtn:{label:ie.save,style:{width:k.buttonWidth.valuePx(x),height:k.buttonHeight.valuePx(x)},isLoading:!1,isDisabled:W,size:"small"},showCancel:!0,cancelBtn:{label:ie.cancel,style:{width:k.buttonWidth.valuePx(x),height:k.buttonHeight.valuePx(x)},onClick:Z,size:"small",shouldResetOnCancel:!0},style:{padding:r.sp3}})})]})})}):null]})})}const eo=ue.memo(({reportId:e,firstMonthOfFY:i,nestedClassHierarchy:n,classesToBeFilteredOut:s,selectedView:l,showClassAccountNumber:o,scrollPosition:y,onScroll:_,nodeOpenStatus:D,onNodeCollapseToggled:J,onToggleCheck:B,maxTreeHeightPx:L})=>{const U=X(),P=de(),[w,A]=u.useState(void 0),[x,E]=u.useState(!1),[M,g]=u.useState({}),[H,T]=u.useState(void 0),[j,R]=u.useState(l),F=d=>l==="account_group"||s?.length>0&&s.find(c=>c[0]===d[0])!=null,C=(d,c)=>{const f=$(d);for(const v of f.children)B?.(v.classId,c),C(v.classId,c)},$=d=>{let c=n.filter(f=>f.classId[0]===d[d.length-1])[0];for(let f=d.length-2;f>=0;f--)c=c.children.filter(v=>v.classId[0]===d[f])[0];return c};u.useEffect(()=>{x&&(d=>{if(d.length>1){const c=$(d.slice(1));let f=!1;for(const v of c.children)if(s.find(K=>K[0]===v.classId[0])===void 0){f=!0;break}B?.(c.classId,f===!0),g(c.classId)}})(M)}),u.useEffect(()=>{const d={reportId:e,displayOrder:"ascending_date",reportFormat:"more_detailed",mode:"none",firstMonthOfFY:i,filterAccountsWithNilBalances:"off",filterAccountGroupsWithNilBalances:"off",showNegativeAmountInParenthesis:!1,isClassToBeFilteredOut:F,showClassAccountNumber:o};if(w!=null&&Q(H,n)&&Q(j,l)&&x!==!0){const c=Re(w,d);A(c),R(l)}else{const c=He(n,d);T(n),A(c),R(l)}},[n,l,s]);const[W,Y]=u.useState(5),q=L!=null?Math.min(W,L):W;return w!=null?t.jsx(Ve,{height:q,children:t.jsx(De,{backgroundColor:l==="classes"?new ke(U.colors.background):void 0,rootNodes:w,type:"name_only",compareMode:"compare_mode_amount",isSticky:{isStickyHeader:!1,isStickyName:!1},treeNodePadding:{left:se.contentPaddingLeft.value(P),right:se.contentPaddingRight.value(P)},scrollPosition:y,onScroll:_,nodeOpenStatus:D,onNodeCollapseToggled:J,onToggleCheck:(d,c)=>{E(!0),g(d),B?.(d,c,l==="account_group"||void 0),C(d,c)},onReportTableHeightChanged:d=>{const c=d+m[6];Y(c)}})}):null},Q);export{io as b,ro as x};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{e as me,y as fe,_ as lt,ba as ct,bb as dt,bc as pt,O as k,V as a,bd as ht,b as F,a$ as mt,aM as ft,a_ as ut,be as gt,o as S,ab as bt,L as _t,bf as yt,x as W,bg as xt,m as j,k as ye,J as z,bh as xe,bi as wt,C as ue,$ as St,bj as Ct,S as Me,bk as Rt,ad as Ot,l as Fe,t as vt,b7 as Tt}from"./index-
|
|
1
|
+
import{e as me,y as fe,_ as lt,ba as ct,bb as dt,bc as pt,O as k,V as a,bd as ht,b as F,a$ as mt,aM as ft,a_ as ut,be as gt,o as S,ab as bt,L as _t,bf as yt,x as W,bg as xt,m as j,k as ye,J as z,bh as xe,bi as wt,C as ue,$ as St,bj as Ct,S as Me,bk as Rt,ad as Ot,l as Fe,t as vt,b7 as Tt}from"./index-CAltUZe8.js";import{a as v,b as Ie}from"./sentry-DQeYyYXx.js";import{n as g}from"./mui-CMSRVFAm.js";import{_ as At}from"./liveblocks-DxIK6Zp5.js";import{bt as we,F6 as kt,Ff as Bt,Fg as Lt,Fh as Q,Fi as jt,Fj as Nt,Fk as $t,Fl as Mt,Fm as Ft,Fn as re,Fo as le,Fp as Se}from"./zeni-epic-state-CHpO1ZKT.js";import{j as It,z as ce}from"./mapTimeframeBalancesToTreeNode-Bre8FfBF-CPTPOyt7.js";import{m as K,l as de}from"./analyticsHelper-CAYdbjhS-TiCqBFHc.js";import{b as Pt}from"./ReportTableViewSelector-Bc1K7mU_-DG7CvQgg.js";import{S as oe,y as Et,M as Vt,$ as zt,v as Dt}from"./TimeRangeSwitcher-D00bDDhP-CGwNNnWQ.js";import{X as Ut}from"./TimeframeSwitcherWithToggle-DyggDIQj-DWVBybzM.js";import{DownloadOverlayButton as Wt}from"./DownloadOverlay-D_lL1sPW-1PQmVEsl.js";import{Z as Yt,n as Gt,t as P,j as Ce}from"./CollapsableReportTable-DNfFkAts-Ba6KUje2.js";import{D as Re,T as Oe,C as te,L as Ht,g as Pe}from"./mapSectionWithAcOnlyToTreeNode-Cgyt68f3-Bqo33gCA.js";import{d as Zt,l as qt}from"./mapTimeframeHeaderLoadingInProgressToTreeNode-D2IvFyR5-Cw5QJbW7.js";import{d as Xt}from"./mapLoadingInProgressToTreeNode-jcHEi-mv-D0bSM41h.js";import"./pdf-Be2WBqYM.js";import"./core-D9P6lLF-.js";import"./lottie-BEhoArVd.js";import"./dnd-nSkfhkrX.js";import"./analytics-B2Q_uKwH.js";import"./plaid-BfI3x5Cu.js";import"./recharts-gT6BOz1b.js";import"./utils-BAO5KfNy.js";import"./filter-cZIFUNvj-CnTMsRoA.js";import"./TimeframeSwitcher-DA99HdHt-CKTTRDRO.js";import"./page-detail-CWX5S47F-D71KSTNS.js";import"./page-summary-D7_VQHwN-C0Gmkrf2.js";import"./AccountRow-D1cjRJJD--D2oyMqA.js";import"./clock-CJkylEKt-CwvCI5hq.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]="f1f62d11-47b8-4d81-9041-83ead8fabc61",e._sentryDebugIdIdentifier="sentry-dbid-f1f62d11-47b8-4d81-9041-83ead8fabc61")}catch{}})();const Jt=g.div`
|
|
2
2
|
position: relative;
|
|
3
3
|
width: 100%;
|
|
4
4
|
`,Qt=g.div`
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{j as c}from"./pdf-
|
|
1
|
+
import{j as c}from"./pdf-Be2WBqYM.js";import{j as ee,i as ae,h as se,l as te,u as f,k as oe,R as ne,m as j}from"./core-D9P6lLF-.js";import{ct as L,cR as C,HA as re,mO as F,gB as le,fF as ie,mT as ce,bt as de,HB as pe,bm as me,r7 as fe,HC as ue,HD as _e,q5 as he,HE as v,HF as be,HG as ye,HH as T,HI as O,HJ as k,HK as D,HL as H,Fh as ge,qP as Ce,qD as U,qE as V,qV as Ie,qI as x,q$ as we,HM as Se,HN as Te,HO as Re,HP as Fe,HQ as Oe,cA as ke,cy as De}from"./zeni-epic-state-CHpO1ZKT.js";import{e as He,aE as G,aG as A,js as Y,k2 as Ae,_ as Ee,bk as Le,jz as E,J as Me,k3 as Pe,k4 as Be,jO as je}from"./index-CAltUZe8.js";import"./mui-CMSRVFAm.js";import ve from"./NotFoundScreen-CubXCR1V.js";import{F as Ue}from"./FeaturePreviewScreen-BrgEnIPS.js";import{a as y}from"./sentry-DQeYyYXx.js";import{u as Ve}from"./useInitialThreadRequest-Bxf1X7cu.js";import{t as z,a as q}from"./routePaths-C2kSZwVH.js";import{M as xe}from"./MobileAppDrawer-C3TNoouV.js";import"./lottie-BEhoArVd.js";import"./liveblocks-DxIK6Zp5.js";import"./recharts-gT6BOz1b.js";import"./dnd-nSkfhkrX.js";import"./analytics-B2Q_uKwH.js";import"./plaid-BfI3x5Cu.js";import"./utils-BAO5KfNy.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new e.Error().stack;o&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[o]="73e8a455-1f41-4054-87c2-06099157a327",e._sentryDebugIdIdentifier="sentry-dbid-73e8a455-1f41-4054-87c2-06099157a327")}catch{}})();const g=e=>{e(H({resetLeftScroll:!0})),e(D({resetLeftScroll:!0})),e(k({resetLeftScroll:!0})),e(O({resetLeftScroll:!0}))},ze=e=>{e(Te()),e(Re()),e(Fe()),e(Oe())},qe=oe(function(e){const o=Y.getSignedInUser(),i=e.tenantState.currentTenantId,u=L(e),a=u?.companyName??"",s={userId:o?.userId??"",sessionId:o?.zeniSessionId??"",tenantId:i??""},t=C(e),n=pe(u);return{fetchState:t.fetchState,selectedTimeframe:t.filter.timeframe,selectedReport:t.selectedReportId,displayOrder:t.displayOrder,reportFormat:t.reportFormat,dataAvailable:t.dataAvailable,balancesInTimeframe:t.balancesInTimeframe,allTimeframeTicks:t.allTimeframeTicks,selectedCOABalancesRange:t.filter.balancesRange,isCompareMode:t.isCompareModeOn,profitAndLossReport:t.profitAndLossReport,profitAndLossClassesViewReport:t.profitAndLossByClassReport,profitAndLossByClassHorizontalReport:t.profitAndLossByClassHorizontalReport,balanceSheetReport:t.balanceSheetReport,cashFlowReport:t.cashFlowReport,downloadState:t.downloadState,analytics:E,isZeniUser:me(o),showAccountGroups:n===!0,currentTenantCompanyName:a,statementEndPoint:`${Be}/statement`,authParams:s,isZeniCOAUsed:n}},function(e,o){const{navigate:i,handleDrawerToggle:u}=o;return{onReloadReport:()=>{o.signedInUser!=null&&e(F(o.signedInUser.userId,!0,!1))},updateDownloadStateHandler:a=>{e(Se(a))},onTimeframeSelectionChanged:(a,s,t)=>{if(e(we(a)),s){const{isCompareModeOn:n,filter:l}=o,{additionalBalances:p,balancesRange:d}=l;let m=[...p];a==="year"&&(m=m.filter(_=>_!=="this_period_vs_same_period_last_year"&&_!=="this_period_vs_same_period_last_year_percent"&&_!=="same_period_last_year")),e(U(o.firstMonthOfFY,n,d.numberOfPeriods<4?4:d.numberOfPeriods,m)),p.length>0&&e(V(o.firstMonthOfFY,m.includes("this_period_vs_last_period")?"compare_mode_amount":"compare_mode_percent",d.numberOfPeriods<4?4:d.numberOfPeriods,m))}t!==!0&&setTimeout(()=>g(e),50)},onReportSelectionChanged:a=>{const s=o.selectedReportID;if(a===s)return;const t=o.classViewLayout;e(T(a)),(a==="balance_sheet"||a==="cash_flow")&&s==="profit_and_loss_by_classes"&&t==="horizontal"&&e(x({numberOfPeriods:4,orderBy:"ascending_date"})),a!=="profit_and_loss"&&a!=="profit_and_loss_by_classes"&&s==="profit_and_loss_by_classes"&&t==="horizontal"&&e(v({classViewLayout:"vertical"})),g(e)},onCOABalancesRangeChanged:(a,s)=>{e(x(a,s)),g(e)},onThisPeriodChanged:(a,s,t)=>{e(Ie(o.firstMonthOfFY,a,s<4?4:s)),t!==!0&&g(e)},onAdditionalBalanceSelectionChanged:(a,s,t,n)=>{e(U(o.firstMonthOfFY,a,t<4?4:t,s)),s.length>0&&e(V(o.firstMonthOfFY,s.includes("this_period_vs_last_period")?"compare_mode_amount":"compare_mode_percent",t<4?4:t,s)),n!==!0&&o.isCompareModeOn===a||setTimeout(()=>g(e),50)},onUpdateHighlightedNumberOfPeriods:(a,s,t,n)=>{e(Ce({firstMonthOfFY:o.firstMonthOfFY,isCompareModeOn:s,additionalBalances:a,maxNumOfPeriodsToHighlight:t<4?4:t,coaBalances:n}))},onAccountBalanceClick:o.hasTransactionAccess!==!0?void 0:(a,s,t)=>{let n,l;if(s.balanceTimeFrame==="month"||s.balanceTimeFrame==="quarter"?(n=s.balanceTimeFrame,l=ge(s)):s.balanceTimeFrame==="year"?(n="quarter",l={startDate:s.endDate.startOf("quarter"),endDate:s.endDate}):console.error(`timeframe ${s.balanceTimeFrame} is not supported`),l!=null&&n!=null){const p=a.accountName===""?a.accountDescription:a.accountName,d=(()=>{if(o.selectedReportID==="profit_and_loss_by_classes"&&o.classViewLayout==="horizontal"&&a.accountType!=null){if(t?.isHorizontalClassTotalColumn===!0)return z(o.tenantEmailDomain,a.accountId,a.accountType,p,n,l);if(t?.isHorizontalClassColumn===!0&&s.id!=null)return q(o.tenantEmailDomain,a.accountId,a.accountType,s.id,p,n,l)}return a.classesViewParentId!=null&&a.classesViewParentId.parentClassId!=null&&a.accountType!=null?q(o.tenantEmailDomain,a.accountId,a.accountType,a.classesViewParentId.parentClassId?.[0],p,n,l):a.accountType!=null?z(o.tenantEmailDomain,a.accountId,a.accountType,p,n,l):void 0})();if(d!=null){const m=je(o.location.state?.pathnameStackToGoBack,o.location.pathname);i(d,{state:{pathnameStackToGoBack:m,referrer:R(o.selectedReportID)}})}}},onTableScroll:(a,s)=>{switch(a){case"profit_and_loss":e(H({scrollPosition:s}));break;case"profit_and_loss_by_classes":e(D({scrollPosition:s}));break;case"balance_sheet":e(k({scrollPosition:s}));break;case"cash_flow":e(O({scrollPosition:s}));break;default:console.log(`Table Scroll state for ${a} is not handled`)}},onElementCollapseStateChanged:(a,s,t)=>{switch(a){case"profit_and_loss":e(H({nodeCollapseState:{nodeId:s,isCollapsed:t}}));break;case"profit_and_loss_by_classes":e(D({nodeCollapseState:{nodeId:s,isCollapsed:t}}));break;case"balance_sheet":e(k({nodeCollapseState:{nodeId:s,isCollapsed:t}}));break;case"cash_flow":e(O({nodeCollapseState:{nodeId:s,isCollapsed:t}}));break;default:console.log(`Collapse state toggle for ${a} is not handled`)}},onBackClick:()=>{i("../../")},onUpdateAccountViewMode:a=>{e(ye({viewMode:a})),a==="classes"?(o.analytics?.trackGroupBySwitch("Classes",R(o.selectedReportID)),e(T("profit_and_loss_by_classes"))):(o.analytics?.trackGroupBySwitch("Accounts",R(o.selectedReportID)),e(T("profit_and_loss"))),g(e)},onUpdateClassesToFilterOut:a=>{e(be({classesToFilterOut:a}))},onUpdateClassViewLayout:a=>{e(v({classViewLayout:a}))},onOpenAccountViewMode:()=>{e(he())},onUpdateDisplayOrder:a=>{e(_e(a))},onUpdateReportFormat:a=>{ze(e),e(ue(a))},onClickMenuIcon:()=>{u(!0)},onResyncReports:()=>{e(fe("profit_and_loss_by_classes"))}}})(Pe);function Ge(){const e=He(),o=ee(),i=ae(),u=se(),{tenantEmailDomain:a}=te(),{useFeatureGate:s}=G(),{isFeatureEnabled:t}=s(A.isReportsHorizontalClassLayoutSwitchEnabled),n=Y.getSignedInUser(),[l,p]=y.useState(!1),[d,m]=y.useState(!1),{isFeatureEnabled:_}=s(A.isReportsCommentingEnabled);if(n==null)throw Error("Can't access reports page without signing in...");const M=f(r=>L(r)),N=M.company?.companyInfo.firstMonthOfFY??1,$=Ve(_?M?.companyId:void 0),I=f(r=>C(r).fetchState),J=f(r=>re(r)),{areTenantIdsInSync:h}=Ae(),w=f(r=>r.financeStatementState.selectedReportId),Z=f(r=>C(r).isCompareModeOn),b=f(r=>C(r).filter),S=f(r=>C(r).selectedReportAndTimeframeFetchState),K=f(r=>r.profitAndLossClassesViewState.uiState.classViewLayout);y.useEffect(()=>{!l&&h&&(p(!0),i(F(n.userId,!0,!0,!1)))},[l,n,i,h]),y.useEffect(()=>{l&&!d&&I==="Completed"&&h&&(i(F(n.userId,!1,!0,!1)),m(!0))},[l,d,I,h]),y.useEffect(()=>{if(l&&S.fetchState==="Not-Started"&&b.timeframe!=="free_range"&&b.timeframe!=="week"&&h)switch(w){case"profit_and_loss":case"profit_and_loss_by_classes":i(ce(b.timeframe));break;case"balance_sheet":i(ie(b.timeframe));break;case"cash_flow":i(le(b.timeframe))}},[l,w,S,h]);const P=Ee(),Q=P?.loggedInUserRole!=null&&de(P?.loggedInUserRole)!==!0,[W,X]=y.useState(!1),B=r=>{X(r)};return c.jsxs(c.Fragment,{children:[I==="Completed"?c.jsx(Le,{analytics:E,onLoad:r=>r.trackPageLoaded(Me.Event.reports)}):null,c.jsx(xe,{isAppContentDrawerOpen:W,handleDrawerToggle:B}),c.jsx(qe,{firstMonthOfFY:N,tenantEmailDomain:a,location:u,navigate:o,windowSize:e,classViewLayout:K,selectedReportID:w,analytics:E,filter:b,isCompareModeOn:Z,hasTransactionAccess:Q,signedInUser:n,selectedReportAndTimeframeFetchState:S,handleDrawerToggle:B,reportsResyncFetchState:J.reportsResyncFetchState,isHorizontalClassReportSwitchEnabled:t,isReportsCommentingEnabled:_,initialOpenThreadRequest:$})]})}const R=e=>{switch(e){case"profit_and_loss":return"Profit & Loss";case"balance_sheet":return"Balance Sheet";case"cash_flow":return"Cash Flow";default:return"Reports"}};function ca(){const e=f(s=>L(s)),{useFeatureGate:o}=G(),{isFeatureEnabled:i}=o(A.isDebitCardFeatureEnabled),u=ke(i,e),a=De(e);return u===!0||a===!0?c.jsx(Ue,{}):c.jsxs(ne,{children:[c.jsx(j,{path:"/",element:c.jsx(Ge,{})}),c.jsx(j,{path:"*",element:c.jsx(ve,{})})]})}export{ca as default};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{y as F,O as S,V as t,f as m,S as Fe,an as Q,m as E,w as M,ag as Z,e as de,o as x,b as Ve,x as fe,b8 as ge,l as R,b9 as V,au as K}from"./index-
|
|
1
|
+
import{y as F,O as S,V as t,f as m,S as Fe,an as Q,m as E,w as M,ag as Z,e as de,o as x,b as Ve,x as fe,b8 as ge,l as R,b9 as V,au as K}from"./index-CAltUZe8.js";import{a as z,b as ee}from"./sentry-DQeYyYXx.js";import{n as f}from"./mui-CMSRVFAm.js";import{p as b,b as T,d as te,y as N,g as ae,u as W}from"./chartTypes-CD3vrBsI-D1eLb6aA.js";import{c as I,i as A,h as re}from"./toCOABalancesWithID-aLNB35t7-Bbjw8HZY.js";import{V as J}from"./toChartData-DUL6vnzJ-Dwc3foiO.js";import{G as pe,K as oe,S as me,E as le,X as ne,Y as ce,F as se,H as xe,J as We}from"./recharts-gT6BOz1b.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},a=new e.Error().stack;a&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[a]="a7901a1d-e333-4f4b-9d27-b4100dd3c040",e._sentryDebugIdIdentifier="sentry-dbid-a7901a1d-e333-4f4b-9d27-b4100dd3c040")}catch{}})();const q={legendLabelMarginLeft:new fe(2,2),legendLabelMarginRight:new fe(E[3],E[4])},Ke=f.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
`,He=f.div`
|
|
4
4
|
margin: ${x.sp2} ${x.sp0} ${x.sp2} ${x.sp0};
|
|
@@ -29,7 +29,7 @@ import{y as F,O as S,V as t,f as m,S as Fe,an as Q,m as E,w as M,ag as Z,e as de
|
|
|
29
29
|
text-align: left;
|
|
30
30
|
`,Je=f(R)`
|
|
31
31
|
text-align: right;
|
|
32
|
-
`,
|
|
32
|
+
`,be=e=>e.map((a,o)=>t.jsxs(qe,{color:a.color,children:[t.jsxs(Xe,{children:[t.jsx(Ue,{color:a.color}),`${a.barName}:`]}),t.jsx(Je,{children:`${W(a.value)}`})]},a.barName+o)),Qe=ee.memo(e=>{const a=(({active:o,payload:n})=>{const r=[];return n?.forEach(l=>{const i=l.name;if(o===!0){const u=l.payload,s=l.color,c=i!=null&&u.record[i]!=null?u.record[i].amount:void 0;r.push({barName:S.getLocalizedStrings().chartCard.cashInCashOut[T(i)],value:c,color:s})}}),r})({...e});return a.length===0?null:t.jsx(Ke,{children:t.jsxs(Ye,{children:[be(a.slice(0,a.length-1)),a.length?t.jsx(He,{}):null,be(a.slice(-1))]})})}),Ze=(e,a,o,n,r)=>{let l=[],i=[],u=[];o!=null&&o.balances.length>0&&(l=A("cash_in","actual",o)),n!=null&&n.balances.length>0&&(i=A("cash_out","actual",n)),r!=null&&r.balances.length>0&&(u=re("net_cash_flow","actual",r));const s=b("cash_in","actual"),c=b("cash_out","actual"),C=b("net_cash_flow","actual"),h=l.length>0?s:i.length>0?c:void 0,d={};return d[s]=l,d[c]=i,d[C]=u,h!=null?J(e,a,h,d):void 0},ye=[b("cash_in","actual"),b("cash_out","actual"),b("net_cash_flow","actual")],et=f.div`
|
|
33
33
|
width: ${e=>e.width}px;
|
|
34
34
|
height: ${e=>e.height}px;
|
|
35
35
|
|
|
@@ -42,7 +42,7 @@ import{y as F,O as S,V as t,f as m,S as Fe,an as Q,m as E,w as M,ag as Z,e as de
|
|
|
42
42
|
`,tt=f(ge)`
|
|
43
43
|
margin-left: ${e=>q.legendLabelMarginLeft.valuePx(e.windowSize)};
|
|
44
44
|
color: ${e=>e.theme.colors.primary};
|
|
45
|
-
`;function $a({selectedRangeReport:e,timeframe:a,highlightedRange:o,width:n,height:r,showBarHoverBackground:l,isDetailPage:i,onCOABalancesRangeChanged:u}){const s=F(),c=z.useRef(!1);z.useEffect(()=>{c.current=!0},[]);const C=[s.colors.graphColor33,s.colors.graphColor36,s.colors.graphColor35],h=(
|
|
45
|
+
`;function $a({selectedRangeReport:e,timeframe:a,highlightedRange:o,width:n,height:r,showBarHoverBackground:l,isDetailPage:i,onCOABalancesRangeChanged:u}){const s=F(),c=z.useRef(!1);z.useEffect(()=>{c.current=!0},[]);const C=[s.colors.graphColor33,s.colors.graphColor36,s.colors.graphColor35],h=(y,j=s.colors.graphColor08)=>y<C.length?C[y]:j,d=Ze(e.firstMonthOfFY,ye,e.cashIn,e.cashOut,e.netCashFlow);return d==null?null:t.jsx(at,{chartData:d,timeframe:a,showBarHoverBackground:l,barElements:(()=>{const y=[];return ye.forEach((j,_)=>{const w=i===!0&&!c.current;y.push(t.jsx(oe,{name:j,animationDuration:w?500:void 0,style:{cursor:"pointer"},legendType:"square",dataKey:$=>{const k=$.record;return(k[j]!=null&&k[j].amount!=null?k[j].amount:void 0)?.amount??0},fill:h(_)},j))}),y})(),customToolTipContent:({active:y,payload:j})=>t.jsx(Qe,{active:y,payload:j}),width:n,height:r,onCOABalancesRangeChanged:u,highlightedRange:o,isDetailPage:i===!0})}const at=({chartData:e,timeframe:a,barElements:o,customToolTipContent:n,highlightedRange:r,width:l,height:i,showBarHoverBackground:u,isDetailPage:s,onCOABalancesRangeChanged:c})=>{const C=de(),h=F(),d=e.timeseries,y=te(e),j=d.map(k=>k.label),_=u!==!1,w=k=>{if(!s||k?.activePayload==null||k?.activePayload.length===0)return;const p=k.activePayload[0];if(p?.payload?.timeLabel?.label==null)return;const g=k.activeTooltipIndex,D=p.payload.timeLabel.label;if(r==null)return;const L=ae(D,j,r.numberOfPeriods),v=L[1]===void 0?j.length-1:j.indexOf(L[1]),B={...r,thisPeriod:{startDate:d[v].startDate,endDate:d[v].endDate}};c?.(d[g],a,B)},$=s?(l-60)/N.cash_in_cash_out*(N.cash_in_cash_out-e.recordByTimeseries.length):20;return t.jsx(et,{"data-testid":Ve("dashboard-cash-in-cash-out-timeframe",a),width:l,height:i,windowSize:C,children:t.jsx(Q,{children:({height:k,width:p})=>t.jsxs(We,{data:e.recordByTimeseries,barCategoryGap:s?void 0:"12%",maxBarSize:s?E[10]:22,barGap:s?void 0:2,margin:{top:5,right:$,left:0,bottom:E[4]},height:k,width:p,style:{display:"flex",flex:"1 1 auto"},onClick:w,children:[t.jsx(le,{horizontal:!0,vertical:!1,strokeWidth:.5,stroke:h.colors.grey3}),t.jsx(ne,{dataKey:g=>g.timeLabel.label,type:"category",axisLine:{stroke:h.colors.grey3,strokeWidth:.5},tickLine:!1,tick:{color:h.colors.hero,...M.extraSmallRegular.cssObject}}),t.jsx(ce,{type:"number",axisLine:!1,tickLine:!1,tick:{color:h.colors.hero,...M.extraSmallRegular.cssObject},tickFormatter:g=>Z("0,0.[00]a",g,y)}),t.jsx(se,{wrapperStyle:{zIndex:2},cursor:!!_&&{stroke:h.colors.background,strokeDasharray:"1, 1",strokeWidth:1,fill:h.colors.background},content:n,allowEscapeViewBox:{x:!1,y:!0}}),o,s?t.jsx(xe,{verticalAlign:"bottom",wrapperStyle:{width:"100%",display:"flex",justifyContent:"center",left:"initial",bottom:x.sp0},formatter:g=>t.jsx(tt,{windowSize:C,children:S.getLocalizedStrings().chartCard.cashInCashOut[T(g)]})}):null]})})})},rt=f.div`
|
|
46
46
|
display: flex;
|
|
47
47
|
`,ot=f.div`
|
|
48
48
|
flex: display;
|
|
@@ -57,10 +57,10 @@ import{y as F,O as S,V as t,f as m,S as Fe,an as Q,m as E,w as M,ag as Z,e as de
|
|
|
57
57
|
display: flex;
|
|
58
58
|
align-items: center;
|
|
59
59
|
justify-content: space-between;
|
|
60
|
-
`,nt=ee.memo(e=>{const a=(({active:o,payload:n})=>{const r=[];return n?.forEach(l=>{const i=l.name;if(o===!0){const u=l.payload,s=l.color,c=i!=null&&u.record[i]!=null?u.record[i].amount:void 0;r.push({barName:S.getLocalizedStrings().reportTitleById.cash_position,value:c,color:s})}}),r})(e);return a.length===0?null:t.jsx(rt,{children:t.jsx(ot,{children:a.map((o,n)=>t.jsx(lt,{color:o.color,children:`${o.barName}: ${W(o.value)}`},o.barName+n))})})}),ct=(e,a,o)=>{let n=[];o!=null&&o.balances.length>0&&(n=I("cash_position","actual",o));const r=
|
|
60
|
+
`,nt=ee.memo(e=>{const a=(({active:o,payload:n})=>{const r=[];return n?.forEach(l=>{const i=l.name;if(o===!0){const u=l.payload,s=l.color,c=i!=null&&u.record[i]!=null?u.record[i].amount:void 0;r.push({barName:S.getLocalizedStrings().reportTitleById.cash_position,value:c,color:s})}}),r})(e);return a.length===0?null:t.jsx(rt,{children:t.jsx(ot,{children:a.map((o,n)=>t.jsx(lt,{color:o.color,children:`${o.barName}: ${W(o.value)}`},o.barName+n))})})}),ct=(e,a,o)=>{let n=[];o!=null&&o.balances.length>0&&(n=I("cash_position","actual",o));const r=b("cash_position","actual"),l={};return l[r]=n,n.length>0?J(e,a,r,l):void 0},st=f.div`
|
|
61
61
|
width: ${e=>e.width}px;
|
|
62
62
|
height: ${e=>e.height}px;
|
|
63
|
-
`,Ce=[
|
|
63
|
+
`,Ce=[b("cash_position","actual")];function _a({selectedRangeReport:e,timeframe:a,highlightedRange:o,width:n,height:r,showBarHoverBackground:l,isDetailPage:i,onCOABalancesRangeChanged:u}){const s=F(),c=z.useRef(!1);z.useEffect(()=>{c.current=!0},[]);const C=ct(e.firstMonthOfFY,Ce,e.cashPosition);return C==null?null:t.jsx(it,{chartData:C,timeframe:a,showBarHoverBackground:l,barElements:(()=>{const h=[];return Ce.forEach(d=>{const y=i===!0&&!c.current;h.push(t.jsx(oe,{name:d,animationDuration:y?500:void 0,style:{cursor:"pointer"},dataKey:j=>{const _=j.record;return(_[d]!=null&&_[d].amount!=null?_[d].amount:void 0)?.amount??0},fill:s.colors.graphColor17},d))}),h})(),customToolTipContent:({active:h,payload:d})=>t.jsx(nt,{active:h,payload:d}),width:n,height:r,onCOABalancesRangeChanged:u,highlightedRange:o,isDetailPage:i===!0})}const it=({chartData:e,timeframe:a,barElements:o,customToolTipContent:n,highlightedRange:r,width:l,height:i,showBarHoverBackground:u,isDetailPage:s,onCOABalancesRangeChanged:c})=>{const C=F(),h=e.timeseries,d=te(e),y=h.map($=>$.label),j=u!==!1,_=$=>{if(!s||$?.activePayload==null||$?.activePayload.length===0)return;const k=$.activePayload[0];if(k?.payload?.timeLabel?.label==null)return;const p=$.activeTooltipIndex,g=k.payload.timeLabel.label;if(r==null)return;const D=ae(g,y,r.numberOfPeriods),L=D[1]===void 0?y.length-1:y.indexOf(D[1]),v={...r,thisPeriod:{startDate:h[L].startDate,endDate:h[L].endDate}};c?.(h[p],a,v)},w=s?(l-60)/N.cash_position*(N.cash_position-e.recordByTimeseries.length):20;return t.jsx(st,{width:l,height:i,children:t.jsx(Q,{children:({height:$,width:k})=>t.jsxs(We,{width:k,height:$,data:e.recordByTimeseries,barCategoryGap:"25%",maxBarSize:s?E[10]:30,margin:{top:5,right:w,left:0,bottom:5},style:{display:"flex",flex:"1 1 auto"},onClick:_,children:[t.jsx(le,{horizontal:!0,vertical:!1,strokeWidth:.5,stroke:C.colors.grey3}),t.jsx(ne,{dataKey:p=>p.timeLabel.label,type:"category",axisLine:{stroke:C.colors.grey3,strokeWidth:.5},tickLine:!1,tick:{color:C.colors.hero,...M.extraSmallRegular.cssObject}}),t.jsx(ce,{type:"number",axisLine:!1,tickLine:!1,tick:{color:C.colors.hero,...M.extraSmallRegular.cssObject},tickFormatter:p=>Z("0,0.[00]a",p,d)}),t.jsx(se,{wrapperStyle:{zIndex:2},cursor:!!j&&{stroke:C.colors.background,strokeDasharray:"1, 1",strokeWidth:1,fill:C.colors.background},content:n,allowEscapeViewBox:{x:!1,y:!0}}),o]})})})},ut=f.div`
|
|
64
64
|
display: flex;
|
|
65
65
|
`,ht=f.div`
|
|
66
66
|
display: flex;
|
|
@@ -115,7 +115,7 @@ import{y as F,O as S,V as t,f as m,S as Fe,an as Q,m as E,w as M,ag as Z,e as de
|
|
|
115
115
|
`,ft=f(R)`
|
|
116
116
|
text-align: left;
|
|
117
117
|
width: 120px;
|
|
118
|
-
`,
|
|
118
|
+
`,bt=f.div`
|
|
119
119
|
display: flex;
|
|
120
120
|
flex-direction: column;
|
|
121
121
|
text-align: right;
|
|
@@ -128,7 +128,7 @@ import{y as F,O as S,V as t,f as m,S as Fe,an as Q,m as E,w as M,ag as Z,e as de
|
|
|
128
128
|
`,ke=f(K)`
|
|
129
129
|
display: flex;
|
|
130
130
|
flex-direction: column;
|
|
131
|
-
`,ve=f(H)``,
|
|
131
|
+
`,ve=f(H)``,yt=({active:e,payload:a,mode:o})=>{const n=[],r={barName:S.getLocalizedStrings().chartCard.netBurnOrIncome.gross_burn,actual:void 0,color:m.neutralGrey2Dark,forecast:void 0};let l={amount:0,currencyCode:"",currencySymbol:""},i={amount:0,currencyCode:"",currencySymbol:""};b("income","actual");const u=b("cogs","actual"),s=b("expenses","actual"),c=b("net_burn_or_income","actual");return a?.forEach(C=>{const h=C.name;if(e===!0){const d=C.payload,y=C.color,j=h!=null&&d.record[h]!=null?d.record[h].amount:void 0;let _;if(h.includes("forecast")!==!0)switch(o==="forecast_mode"&&(_=d.record[h]!=null?((w,$)=>{const k=b(T(w),"forecast");if($.record[k]==null)return;const p=$.record[w].amount,g=$.record[k].amount,D=Math.floor(100*(p.amount-g.amount)/100);return{value:g,change:{...p,amount:D},percent:g.amount!==0?Math.floor((p.amount-g.amount)/g.amount*100)/100:void 0,forecastPercent:$.record[k].percentValue}})(h,d):void 0),h){case u:case s:j!=null&&(l.currencyCode===""?l={...j}:l.amount=l.amount+j.amount),_!=null&&(i.currencyCode===""?i={..._.value}:i.amount=i.amount+_.value.amount),n.push({barName:S.getLocalizedStrings().chartCard.netBurnOrIncome[T(h)],actual:j,forecast:_,color:y});break;case c:{const w=j!=null&&j.amount>=0?S.getLocalizedStrings().chartCard.netBurnOrIncome.net_income:S.getLocalizedStrings().chartCard.netBurnOrIncome.net_burn;n.push({barName:w,actual:j,color:y,percent:d.record[h]?.percentValue,forecast:_});break}default:n.push({barName:S.getLocalizedStrings().chartCard.netBurnOrIncome[T(h)],actual:j,color:y,forecast:_})}}}),r.actual=l,r.forecast=i!=null&&l!=null?{value:i,change:{...l,amount:Math.floor(100*(l.amount-i.amount)/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,r),n},we=e=>e.map((a,o)=>t.jsxs(Ne,{color:a.color,showPercent:a.percent!=null,children:[t.jsxs(xt,{children:[t.jsx(Ee,{color:a.barName===S.getLocalizedStrings().chartCard.netBurnOrIncome.gross_burn?"transparent":a.color}),`${a.barName}:`]}),t.jsxs(bt,{children:[t.jsx(je,{children:`${W(a.actual)}`}),a.percent!=null?t.jsx(je,{children:V("0,0.0%",a.percent)}):null]})]},a.barName+o)),$e=e=>e.map((a,o)=>t.jsxs(Ne,{color:a.color,showPercent:a.percent!=null,children:[t.jsxs(ft,{children:[t.jsx(Ee,{color:a.barName===S.getLocalizedStrings().chartCard.netBurnOrIncome.gross_burn?"transparent":a.color}),`${a.barName}:`]}),t.jsx(H,{children:t.jsxs(ke,{children:[a.actual!=null?`${W(a.actual)}`:"-",t.jsx(ve,{children:a.percent!=null?V("0,0.0%",a.percent):null})]})}),t.jsx(H,{children:t.jsxs(ke,{children:[a.forecast!=null?`${W(a.forecast.value)}`:"-",t.jsx(ve,{children:a.forecast!=null&&a.forecast.forecastPercent!=null?V("0,0.0%",a.forecast.forecastPercent):null})]})}),a.forecast!=null?t.jsx(H,{isChange:!0,children:`${W(a.forecast.change)}`}):t.jsx(H,{children:"-"}),a.forecast!=null?t.jsx(H,{isChange:!0,children:V("0,0.0%",a.forecast.percent)}):t.jsx(H,{children:"-"})]},a.barName+o)),Ct=e=>{if(e.length>0){for(const a of e)if(a.actual!=null)return a.actual.currencySymbol}return""},jt=({barLabelsWithValues:e})=>t.jsxs(ht,{children:[t.jsxs(dt,{children:[t.jsx(gt,{}),t.jsx(ie,{children:S.getLocalizedStrings().chartCard.tooltip.actual}),t.jsx(ie,{children:S.getLocalizedStrings().chartCard.tooltip.forecast}),t.jsxs(ie,{children:[S.getLocalizedStrings().chartCard.tooltip.change," ",Ct(e)]}),t.jsx(ie,{children:S.getLocalizedStrings().chartCard.tooltip.change_percent})]}),t.jsxs(mt,{children:[$e(e.slice(0,e.length-2)),e.length?t.jsx(Te,{}):null,$e(e.slice(-2))]})]}),kt=({barLabelsWithValues:e})=>t.jsx(ut,{children:t.jsxs(pt,{children:[we(e.slice(0,e.length-2)),e.length?t.jsx(Te,{}):null,we(e.slice(-2))]})}),vt=ee.memo(e=>{const a=yt({...e});return a.length===0?null:t.jsx(t.Fragment,{children:e.mode==="forecast_mode"?t.jsx(jt,{barLabelsWithValues:a}):t.jsx(kt,{barLabelsWithValues:a})})}),wt=(e,a,o,n,r,l,i)=>{let u=[],s=[],c=[],C=[];n!=null&&n.balances.length>0&&(u=A("income","actual",n)),r!=null&&r.balances.length>0&&(s=A("cogs","actual",r)),l!=null&&l.balances.length>0&&(c=I("expenses","actual",l)),i!=null&&i.balances.length>0&&(C=re("net_burn_or_income","actual",i));const h=b("income","actual"),d=b("cogs","actual"),y=b("expenses","actual"),j=b("net_burn_or_income","actual"),_=u.length>0?h:s.length>0?d:c.length>0?y:void 0,w={};return w[h]=u,w[d]=s,w[y]=c,w[j]=C,o==="forecast_mode"&&Object.assign(w,$t(n,r,l,i)),_!=null?J(e,a,_,w):void 0},$t=(e,a,o,n)=>{let r=[],l=[],i=[],u=[];e!=null&&e.balances.length>0&&(r=A("income","forecast",e)),a!=null&&a.balances.length>0&&(l=A("cogs","forecast",a)),o!=null&&o.balances.length>0&&(i=I("expenses","forecast",o)),n!=null&&n.balances.length>0&&(u=re("net_burn_or_income","forecast",n));const s=b("income","forecast"),c=b("cogs","forecast"),C=b("expenses","forecast"),h=b("net_burn_or_income","forecast"),d={};return d[s]=r,d[c]=l,d[C]=i,d[h]=u,d},_t=[b("income","actual"),b("cogs","actual"),b("expenses","actual"),b("net_burn_or_income","actual")],Lt=[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")],Dt=f.div`
|
|
132
132
|
width: ${e=>e.width}px;
|
|
133
133
|
height: ${e=>e.height}px;
|
|
134
134
|
|
|
@@ -141,7 +141,7 @@ import{y as F,O as S,V as t,f as m,S as Fe,an as Q,m as E,w as M,ag as Z,e as de
|
|
|
141
141
|
`,St=f(ge)`
|
|
142
142
|
margin-left: ${e=>q.legendLabelMarginLeft.valuePx(e.windowSize)};
|
|
143
143
|
color: ${e=>e.theme.colors.primary};
|
|
144
|
-
`;function La({selectedRangeReport:e,timeframe:a,highlightedRange:o,width:n,height:r,showBarHoverBackground:l,isDetailPage:i,mode:u,onCOABalancesRangeChanged:s}){const c=F(),C=z.useRef(!1);z.useEffect(()=>{C.current=!0},[]);const h=[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],
|
|
144
|
+
`;function La({selectedRangeReport:e,timeframe:a,highlightedRange:o,width:n,height:r,showBarHoverBackground:l,isDetailPage:i,mode:u,onCOABalancesRangeChanged:s}){const c=F(),C=z.useRef(!1);z.useEffect(()=>{C.current=!0},[]);const h=[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=u==="forecast_mode"?d:h,j=u==="forecast_mode"?Lt:_t,_=(p,g=c.colors.graphColor04)=>p<y.length?y[p]:g,w=(e.reportId,wt(e.firstMonthOfFY,j,u,e.sections.income,e.sections.cogs,e.sections.expenses,e.calculatedSections.netBurnOrIncome)),$=p=>{const{cx:g,cy:D,fill:L,stroke:v,value:B}=p;return B==null?t.jsx(t.Fragment,{}):t.jsx("circle",{cx:g,cy:D,r:4,stroke:L,strokeWidth:2,fill:v})},k=p=>{const{cx:g,cy:D,fill:L,stroke:v,value:B}=p;return B==null?t.jsx(t.Fragment,{}):t.jsx("circle",{cx:g,cy:D,r:5,stroke:v,strokeWidth:2,fill:L})};return w==null?null:t.jsx(Bt,{chartData:w,timeframe:a,showBarHoverBackground:l,barElements:(()=>{const p=[];return j.forEach((g,D)=>{const L=i===!0&&!C.current;g.endsWith("_forecast")?p.push(((v,B)=>t.jsx(pe,{name:v,type:"monotone",legendType:"plainline",isAnimationActive:!1,dataKey:P=>{const O=P.record;return(O[v]!=null&&O[v].amount!=null?O[v].amount:void 0)?.amount},dot:t.jsx($,{}),strokeWidth:1.5,stroke:_(B),strokeDasharray:"3 3",activeDot:t.jsx(k,{})},v))(g,D)):p.push(((v,B,P)=>t.jsx(oe,{name:v,animationDuration:P?500:void 0,style:{cursor:"pointer"},legendType:"square",dataKey:O=>{const G=O.record;return(G[v]!=null&&G[v].amount!=null?G[v].amount:void 0)?.amount??0},fill:_(B)},v))(g,D,L))}),p})(),customToolTipContent:({active:p,payload:g})=>t.jsx(vt,{active:p,payload:g,mode:u}),width:n,height:r,onCOABalancesRangeChanged:s,highlightedRange:o,isDetailPage:i===!0})}const Bt=({chartData:e,timeframe:a,barElements:o,customToolTipContent:n,highlightedRange:r,width:l,height:i,showBarHoverBackground:u,isDetailPage:s,onCOABalancesRangeChanged:c})=>{const C=de(),h=F(),d=te(e),y=e.timeseries,j=y.map(k=>k.label),_=u!==!1,w=k=>{if(!s||k?.activePayload==null||k?.activePayload.length===0)return;const p=k.activePayload[0];if(p?.payload?.timeLabel?.label==null)return;const g=k.activeTooltipIndex,D=p.payload.timeLabel.label;if(r==null)return;const L=ae(D,j,r.numberOfPeriods),v=L[1]===void 0?j.length-1:j.indexOf(L[1]),B={...r,thisPeriod:{startDate:y[v].startDate,endDate:y[v].endDate}};c?.(y[g],a,B)},$=s?(l-60)/N.net_burn_or_income*(N.net_burn_or_income-e.recordByTimeseries.length):20;return t.jsx(Dt,{width:l,height:i,windowSize:C,children:t.jsx(Q,{children:({height:k,width:p})=>t.jsxs(me,{data:e.recordByTimeseries,barCategoryGap:s?void 0:"12%",maxBarSize:s?E[10]:22,barGap:s?void 0:2,margin:{top:5,right:$,left:0,bottom:E[4]},height:k,width:p,style:{display:"flex",flex:"1 1 auto"},onClick:w,children:[t.jsx(le,{horizontal:!0,vertical:!1,strokeWidth:.5,stroke:h.colors.grey3}),t.jsx(ne,{dataKey:g=>g.timeLabel.label,type:"category",axisLine:{stroke:h.colors.grey3,strokeWidth:.5},tickLine:!1,tick:{color:h.colors.hero,...M.extraSmallRegular.cssObject}}),t.jsx(ce,{type:"number",axisLine:!1,tickLine:!1,tick:{color:h.colors.hero,...M.extraSmallRegular.cssObject},tickFormatter:g=>Z("0,0.[00]a",g,d)}),t.jsx(se,{wrapperStyle:{zIndex:2},cursor:!!_&&{stroke:h.colors.background,strokeWidth:(p-60)/N.net_burn_or_income,fill:h.colors.background},content:n,allowEscapeViewBox:{x:!1,y:!0}}),o,s?t.jsx(xe,{verticalAlign:"bottom",wrapperStyle:{width:"100%",display:"flex",justifyContent:"center",left:"initial",bottom:x.sp0},iconSize:E[3],formatter:g=>t.jsx(St,{windowSize:C,children:g.endsWith("_forecast")===!0?S.getLocalizedStrings().chartCard.netBurnOrIncome[g]:S.getLocalizedStrings().chartCard.netBurnOrIncome[T(g)]})}):null]})})})},zt=f.div`
|
|
145
145
|
display: flex;
|
|
146
146
|
`,Pt=f.div`
|
|
147
147
|
flex: display;
|
|
@@ -192,10 +192,10 @@ import{y as F,O as S,V as t,f as m,S as Fe,an as Q,m as E,w as M,ag as Z,e as de
|
|
|
192
192
|
`,U=f(K)`
|
|
193
193
|
text-align: right;
|
|
194
194
|
flex: 1;
|
|
195
|
-
`,Gt=(e,a)=>{const o=
|
|
195
|
+
`,Gt=(e,a)=>{const o=b(T(e),"forecast");if(a.record[o]==null)return;const n=a.record[e].amount,r=a.record[o].amount;return{value:r,change:{...n,amount:r!=null?Math.floor(100*(n.amount-r.amount)/100):n.amount},percent:r!=null&&r.amount!==0?Math.floor((n.amount-r.amount)/r.amount*100)/100:void 0}},Le=e=>t.jsxs(Ot,{color:e.color,children:[t.jsx(Et,{children:`${e.barName}:`}),t.jsx(U,{children:e.actual!=null?`${W(e.actual)}`:"-"}),t.jsx(U,{children:e.forecast!=null?`${W(e.forecast.value)}`:"-"}),e.forecast!=null?t.jsx(U,{isChange:!0,children:`${W(e.forecast.change)}`}):t.jsx(U,{children:"-"}),e.forecast!=null?t.jsx(U,{isChange:!0,children:V("0,0.0%",e.forecast.percent)}):t.jsx(U,{children:"-"})]}),It=e=>{if(e.length>0){for(const a of e)if(a.actual!=null)return a.actual.currencySymbol}return""},Mt=({barLabelsWithValues:e})=>t.jsx(zt,{children:t.jsxs(Pt,{children:[t.jsx(_e,{color:e[0].color,children:`${e[0].barName}: ${W(e[0].actual)}`}),t.jsx(Ge,{}),t.jsx(_e,{children:`${S.getLocalizedStrings().chartCard.total}: ${W(e[1].actual)}`})]})}),At=({barLabelsWithValues:e})=>t.jsxs(Wt,{children:[t.jsxs(Tt,{children:[t.jsx(Rt,{}),t.jsx(ue,{children:S.getLocalizedStrings().chartCard.tooltip.actual}),t.jsx(ue,{children:S.getLocalizedStrings().chartCard.tooltip.forecast}),t.jsxs(ue,{children:[S.getLocalizedStrings().chartCard.tooltip.change," ",It(e)]}),t.jsx(ue,{children:S.getLocalizedStrings().chartCard.tooltip.change_percent})]}),t.jsxs(Nt,{children:[Le(e[0]),t.jsx(Ge,{}),Le(e[1])]})]}),Ft=ee.memo(e=>{const a=(({active:o,payload:n,barName:r})=>{const l=[];if(n!=null&&o===!0){const i=n.filter(C=>C.name==r)[0],u=i.payload,s=i.color,c=r!=null&&u.record[r]!=null?u.record[r].amount:void 0;if(!r?.endsWith("_forecast")){let C;if(r.includes("forecast")!==!0){C=u.record[r]!=null?Gt(r,u):void 0;const h={amount:0,currencyCode:"",currencySymbol:""},d={amount:0,currencyCode:"",currencySymbol:""};let y;for(y in u.record){const w=u.record[y].amount;y.endsWith("_actual")?(h.amount+=u.record[y].amount?.amount??0,h.currencyCode=w!=null?w.currencyCode:h.currencyCode,h.currencySymbol=w!=null?w.currencySymbol:h.currencySymbol):y.endsWith("_forecast")&&(d.amount+=u.record[y].amount?.amount??0,d.currencyCode=w!=null?w.currencyCode:d.currencyCode,d.currencySymbol=w!=null?w.currencySymbol:d.currencySymbol)}const j=Math.floor(100*(h?.amount-d?.amount)/100),_={value:d,change:{...h,amount:j},percent:d.amount!==0?Math.floor((h.amount-d.amount)/d.amount*100)/100:0};l.push({barName:T(r),actual:c,forecast:C,color:s}),l.push({barName:S.getLocalizedStrings().chartCard.total,actual:h,forecast:_,color:m.neutralGrey1Light})}}}return l})({...e});return a.length===0?null:t.jsx(t.Fragment,{children:e.mode==="forecast_mode"?t.jsx(At,{barLabelsWithValues:a}):t.jsx(Mt,{barLabelsWithValues:a})})}),Vt=(e,a)=>{const o=[],n={};let r;return a!=null&&a.classes.length!=0&&a.classes.forEach(l=>{const i=I(l.class.className,"actual",l.childrenBalancesTotal),u=b(l.class.className,"actual");n[u]=i,o.push(u),r==null&&i.length>0&&(r=b(l.class.className,"actual"))}),r!=null?J(e,o,r,n):void 0},De=[m.graphColor34,m.graphColor05,m.graphColor08,m.graphColor11,m.graphColor13,m.graphColor19,m.graphColor29,m.graphColor28,m.graphColor20,m.graphColor21,m.graphColor22,m.graphColor14,m.graphColor35,m.graphColor31,m.graphColor33,m.graphColor32,m.graphColor36,m.graphColor02,m.graphColor06,m.graphColor04,m.graphColor10,m.graphColor12,m.graphColor15,m.graphColor18,m.graphColor17,m.graphColor07,m.graphColor34Dark,m.graphColor05Dark,m.graphColor08Dark,m.graphColor11Dark,m.graphColor13Dark,m.graphColor19Dark,m.graphColor29Dark,m.graphColor28Dark,m.graphColor20Dark,m.graphColor21Dark,m.graphColor22Dark,m.graphColor14Dark,m.graphColor35Dark,m.graphColor31Dark,m.graphColor33Dark,m.graphColor32Dark,m.graphColor36Dark,m.graphColor02Dark,m.graphColor06Dark,m.graphColor04Dark,m.graphColor10Dark,m.graphColor12Dark,m.graphColor15Dark,m.graphColor18Dark,m.graphColor17Dark,m.graphColor07Dark];class Y{_barColors;_barColorsKeyWise;_defaultColor;constructor(){this._defaultColor=m.graphColor34,this._barColors=De.slice(),this._barColorsKeyWise=new Map}static#e=new Y;getBarColor(a){const o=Y.instance();return o._barColorsKeyWise.has(a)||(o._barColors.length===0&&(o._barColors=De.slice()),o._barColorsKeyWise.set(a,o._barColors.shift()??o._defaultColor)),o._barColorsKeyWise.get(a)}shouldUpdate(a){const o=Y.instance(),n=Array.from(o._barColorsKeyWise.keys()).sort();return!Fe(n,a)}static init(){return this.#e=new Y,this.#e}static instance(){return this.#e}}const Kt=Y.instance(),Ht=(e,a,o)=>{const n=[],r={};let l,i=!1;if(o!=null&&o.accountGroups.length!=0?o.accountGroups.forEach(u=>{const s=I(u.accountGroupName,"actual",u),c=b(u.accountGroupName,"actual");r[c]=s,n.push(c),l==null&&s.length>0&&(l=b(u.accountGroupName,"actual"))}):o!=null&&o.accounts.length!=0&&(i=!0,o.accounts.forEach(u=>{const s=I(u.account.accountName,"actual",u.account.balancesInTimeframe),c=b(u.account.accountName,"actual");r[c]=s,n.push(c),l==null&&s.length>0&&(l=b(u.account.accountName,"actual"))})),o!=null&&o.accountGroups.length===0&&o.accounts.length===0){const u=S.getLocalizedStrings().chartCard.total,s=I(u,"actual",o);if(s.length!==0){const c=b(u,"actual");r[c]=s,l=c,n.push(c)}}return a==="forecast_mode"&&Object.assign(r,Yt(n,o)),l!=null?J(e,n,l,r,i):void 0},Yt=(e,a)=>{const o={};let n;if(a!=null&&a.accountGroups.length!=0?a.accountGroups.forEach(r=>{const l=I(r.accountGroupName,"forecast",r),i=b(r.accountGroupName,"forecast");o[i]=l,e.push(i),n==null&&l.length>0&&(n=b(r.accountGroupName,"forecast"))}):a!=null&&a.accounts.length!=0&&a.accounts.forEach(r=>{const l=I(r.account.accountName,"forecast",r.account.balancesInTimeframe),i=b(r.account.accountName,"forecast");o[i]=l,e.push(i),n==null&&l.length>0&&(n=b(r.account.accountName,"forecast"))}),a!=null&&a.accountGroups.length===0&&a.accounts.length===0){const r=S.getLocalizedStrings().chartCard.total,l=I(r,"forecast",a);if(l.length!==0){const i=b(r,"forecast");o[i]=l,n=i,e.push(i)}}return o},qt=f.div`
|
|
196
196
|
width: ${e=>e.width}px;
|
|
197
197
|
height: ${e=>e.height}px;
|
|
198
|
-
`,Ut=e=>{const{cx:a,cy:o,fill:n,stroke:r,value:l}=e;return l==null?t.jsx(t.Fragment,{}):t.jsx("circle",{cx:a,cy:o,r:4,stroke:n,strokeWidth:2,fill:r})},Xt=e=>{const{cx:a,cy:o,fill:n,stroke:r,value:l}=e;return l==null?t.jsx(t.Fragment,{}):t.jsx("circle",{cx:a,cy:o,r:5,stroke:r,strokeWidth:2,fill:n})};function Da({selectedRangeReport:e,timeframe:a,highlightedRange:o,width:n,height:r,showBarHoverBackground:l,isDetailPage:i,mode:u,onCOABalancesRangeChanged:s}){const c=z.useRef(!1),[C,h]=z.useState(Kt),[d,
|
|
198
|
+
`,Ut=e=>{const{cx:a,cy:o,fill:n,stroke:r,value:l}=e;return l==null?t.jsx(t.Fragment,{}):t.jsx("circle",{cx:a,cy:o,r:4,stroke:n,strokeWidth:2,fill:r})},Xt=e=>{const{cx:a,cy:o,fill:n,stroke:r,value:l}=e;return l==null?t.jsx(t.Fragment,{}):t.jsx("circle",{cx:a,cy:o,r:5,stroke:r,strokeWidth:2,fill:n})};function Da({selectedRangeReport:e,timeframe:a,highlightedRange:o,width:n,height:r,showBarHoverBackground:l,isDetailPage:i,mode:u,onCOABalancesRangeChanged:s}){const c=z.useRef(!1),[C,h]=z.useState(Kt),[d,y]=z.useState(void 0),j=F(),_=z.useRef([]);z.useEffect(()=>{c.current=!0},[]),z.useEffect(()=>{C.shouldUpdate(_.current)===!0&&h(Y.init())},[]),z.useEffect(()=>{let p=[];if(e.reportId==="operating_expenses"){const g=e.sections.expenses;g.accountGroups.length===0&&g.accounts.length===0?p.push(S.getLocalizedStrings().chartCard.total):p=g.accountGroups.length!=0?g.accountGroups.map(D=>D.accountGroupName).sort():g.accounts.map(D=>D.account).map(D=>D.accountName).sort()}else p=e.sections.expenses.classes.map(g=>g.class.className).sort();_.current=p},[e,C]);const w=z.useMemo(()=>e.reportId==="operating_expenses"?Ht(e.firstMonthOfFY,u,e.sections.expenses):Vt(e.firstMonthOfFY,e.sections.expenses),[e,u]),$=z.useCallback(()=>{const p=[];return w?.orderedKeys.forEach(g=>{const D=!c.current;g.endsWith("_forecast")?p.push((L=>t.jsx(pe,{name:L,type:"monotone",legendType:"plainline",isAnimationActive:!1,dot:t.jsx(Ut,{}),activeDot:t.jsx(Xt,{}),dataKey:v=>{const B=v.record;let P,O;for(O in B)if(O.endsWith("_forecast")){const G=B[O].amount;G!=null&&(P==null?P={...G}:P.amount+=G.amount)}return P?.amount},stroke:j.colors.grey1,strokeDasharray:"3 3",strokeWidth:1.5},L))(g)):p.push(((L,v)=>t.jsx(oe,{name:L,animationDuration:v?500:void 0,style:{cursor:"pointer"},dataKey:B=>{const P=B.record;return(P[L]!=null&&P[L].amount!=null?P[L].amount:void 0)?.amount??0},stackId:"a",fill:C.getBarColor(T(L)),onMouseEnter:()=>{d!==L&&y(L)},onMouseLeave:()=>{d!=null&&y(void 0)}},L))(g,D))}),p},[w]),k=({active:p,payload:g})=>g?.find(D=>D.name===d)!=null&&d!=null&&p===!0?t.jsx(Ft,{active:p,payload:g,mode:u,barName:d}):null;return w==null?null:t.jsx(Jt,{chartData:w,timeframe:a,showBarHoverBackground:l,barElements:$(),customToolTipContent:t.jsx(k,{}),width:n,height:r,onCOABalancesRangeChanged:s,highlightedRange:o,isDetailPage:i===!0})}const Jt=({chartData:e,timeframe:a,barElements:o,customToolTipContent:n,highlightedRange:r,width:l,height:i,showBarHoverBackground:u,isDetailPage:s,onCOABalancesRangeChanged:c})=>{const C=F(),h=te(e),d=e.timeseries,y=d.map($=>$.label),j=u!==!1,_=$=>{if(!s||$?.activePayload==null||$?.activePayload.length===0)return;const k=$.activePayload[0];if(k?.payload?.timeLabel?.label==null)return;const p=$.activeTooltipIndex,g=k.payload.timeLabel.label;if(r==null)return;const D=ae(g,y,r.numberOfPeriods),L=D[1]===void 0?y.length-1:y.indexOf(D[1]),v={...r,thisPeriod:{startDate:d[L].startDate,endDate:d[L].endDate}};c?.(d[p],a,v)},w=s?(l-60)/N.operating_expenses*(N.operating_expenses-e.recordByTimeseries.length):20;return t.jsx(qt,{width:l,height:i,children:t.jsx(Q,{children:({height:$,width:k})=>t.jsxs(me,{width:k,height:$,stackOffset:"sign",data:e.recordByTimeseries,barCategoryGap:"25%",maxBarSize:s?E[10]:30,margin:{top:5,right:w,left:0,bottom:5},style:{display:"flex",flex:"1 1 auto"},onClick:_,children:[t.jsx(le,{horizontal:!0,vertical:!1,strokeWidth:.5,stroke:C.colors.grey3}),t.jsx(ne,{dataKey:p=>p.timeLabel.label,type:"category",axisLine:{stroke:C.colors.grey3,strokeWidth:.5},tickLine:!1,tick:{color:C.colors.hero,...M.extraSmallRegular.cssObject}}),t.jsx(ce,{type:"number",axisLine:!1,tickLine:!1,tick:{color:C.colors.hero,...M.extraSmallRegular.cssObject},tickFormatter:p=>Z("0,0.[00]a",p,h)}),t.jsx(se,{wrapperStyle:{zIndex:2},cursor:!!j&&{stroke:C.colors.background,strokeWidth:(k-60)/N.operating_expenses,fill:C.colors.background},content:n,allowEscapeViewBox:{x:!1,y:!0}}),o]})})})},Qt=f.div`
|
|
199
199
|
display: flex;
|
|
200
200
|
`,Zt=f.div`
|
|
201
201
|
display: flex;
|
|
@@ -263,7 +263,7 @@ import{y as F,O as S,V as t,f as m,S as Fe,an as Q,m as E,w as M,ag as Z,e as de
|
|
|
263
263
|
`,Be=f(K)`
|
|
264
264
|
display: flex;
|
|
265
265
|
flex-direction: column;
|
|
266
|
-
`,ze=f(K)``,ca=({active:e,payload:a,mode:o})=>{const n=[];let r={amount:0,currencyCode:""},l={amount:0,currencyCode:""};const i=
|
|
266
|
+
`,ze=f(K)``,ca=({active:e,payload:a,mode:o})=>{const n=[];let r={amount:0,currencyCode:""},l={amount:0,currencyCode:""};const i=b("gross_margin","actual");return a?.forEach(u=>{const s=u.name;if(e===!0){const c=u.payload,C=u.color,h=s!=null&&c.record[s]!=null?c.record[s].amount:void 0;let d;s.includes("forecast")!==!0&&(o==="forecast_mode"&&(d=c.record[s]!=null?((y,j)=>{const _=b(T(y),"forecast");if(j.record[_]==null)return;const w=j.record[y].amount,$=j.record[_].amount;return{value:$,change:{...w,amount:Math.floor(100*(w.amount-$.amount)/100)},percent:$.amount!==0?Math.floor((w.amount-$.amount)/$.amount*100)/100:void 0,forecastPercent:j.record[_].percentValue}})(s,c):void 0),s===i?(h!=null&&(r.currencyCode===""?r={...h}:r.amount=r.amount+h.amount),d!=null&&(l.currencyCode===""?l={...d.value}:l.amount=l.amount+d.value.amount),n.push({barName:S.getLocalizedStrings().chartCard.revenue[T(s)],actual:h,forecast:d,percent:c.record[s]!=null?c.record[s].percentValue??0:0,color:C})):n.push({barName:S.getLocalizedStrings().chartCard.revenue[T(s)],actual:h,color:C,forecast:d}))}}),n},Pe=e=>e.map((a,o)=>t.jsxs(Me,{color:a.color,showPercent:a.percent!=null,children:[t.jsxs(la,{children:[t.jsx(Ae,{color:a.color}),`${a.barName}:`]}),t.jsxs(na,{children:[t.jsx(Se,{children:`${W(a.actual)}`}),a.percent!=null?t.jsx(Se,{children:V("0,0.0%",a.percent)}):null]})]},a.barName+o)),Re=e=>e.map((a,o)=>t.jsxs(Me,{color:a.color,showPercent:a.percent!=null,children:[t.jsxs(ra,{children:[t.jsx(Ae,{color:a.color}),`${a.barName}:`]}),t.jsx(X,{children:t.jsxs(Be,{children:[a.actual!=null?`${W(a.actual)}`:"-",t.jsx(ze,{children:a.percent!=null?V("0,0.0%",a.percent):null})]})}),t.jsx(X,{children:t.jsxs(Be,{children:[a.forecast!=null?`${W(a.forecast.value)}`:"-",t.jsx(ze,{children:a.forecast!=null&&a.forecast.forecastPercent!=null?V("0,0.0%",a.forecast.forecastPercent):null})]})}),a.forecast!=null?t.jsx(X,{isChange:!0,children:`${W(a.forecast.change)}`}):t.jsx(X,{children:"-"}),a.forecast!=null?t.jsx(X,{isChange:!0,children:V("0,0.0%",a.forecast.percent)}):t.jsx(X,{children:"-"})]},a.barName+o)),sa=e=>{if(e.length>0){for(const a of e)if(a.actual!=null)return a.actual.currencySymbol}return""},ia=({barLabelsWithValues:e})=>t.jsxs(Zt,{children:[t.jsxs(ea,{children:[t.jsx(ta,{}),t.jsx(he,{children:S.getLocalizedStrings().chartCard.tooltip.actual}),t.jsx(he,{children:S.getLocalizedStrings().chartCard.tooltip.forecast}),t.jsxs(he,{children:[S.getLocalizedStrings().chartCard.tooltip.change," ",sa(e)]}),t.jsx(he,{children:S.getLocalizedStrings().chartCard.tooltip.change_percent})]}),t.jsxs(aa,{children:[Re(e.slice(0,e.length-1)),e.length?t.jsx(Ie,{}):null,Re(e.slice(-1))]})]}),ua=({barLabelsWithValues:e})=>t.jsx(Qt,{children:t.jsxs(oa,{children:[Pe(e.slice(0,e.length-1)),e.length?t.jsx(Ie,{}):null,Pe(e.slice(-1))]})}),ha=ee.memo(e=>{const a=ca({...e});return a.length===0?null:t.jsx(t.Fragment,{children:e.mode==="forecast_mode"?t.jsx(ia,{barLabelsWithValues:a}):t.jsx(ua,{barLabelsWithValues:a})})}),Oe=(e,a,o,n,r,l)=>{let i=[],u=[],s=[];n!=null&&n.balances.length>0&&(i=A("income","actual",n)),r!=null&&r.balances.length>0&&(u=A("cogs","actual",r)),l!=null&&l.balances.length>0&&(s=re("gross_margin","actual",l));const c=b("income","actual"),C=b("cogs","actual"),h=b("gross_margin","actual"),d=i.length>0?c:u.length>0?C:h,y={};return y[c]=i,y[C]=u,y[h]=s,o==="forecast_mode"&&Object.assign(y,da(n,r,l)),d!=null?J(e,a,d,y):void 0},da=(e,a,o)=>{let n=[],r=[],l=[];e!=null&&e.balances.length>0&&(n=A("income","forecast",e)),a!=null&&a.balances.length>0&&(r=A("cogs","forecast",a)),o!=null&&o.balances.length>0&&(l=re("gross_margin","forecast",o));const i=b("income","forecast"),u=b("cogs","forecast"),s=b("gross_margin","forecast"),c={};return c[i]=n,c[u]=r,c[s]=l,c},ga=[b("income","actual"),b("cogs","actual"),b("gross_margin","actual")],pa=[b("income","actual"),b("cogs","actual"),b("gross_margin","actual"),b("income","forecast"),b("cogs","forecast"),b("gross_margin","forecast")],ma=f.div`
|
|
267
267
|
width: ${e=>e.width}px;
|
|
268
268
|
height: ${e=>e.height}px;
|
|
269
269
|
|
|
@@ -277,4 +277,4 @@ import{y as F,O as S,V as t,f as m,S as Fe,an as Q,m as E,w as M,ag as Z,e as de
|
|
|
277
277
|
margin-left: ${e=>q.legendLabelMarginLeft.valuePx(e.windowSize)};
|
|
278
278
|
margin-right: ${e=>q.legendLabelMarginRight.valuePx(e.windowSize)};
|
|
279
279
|
color: ${e=>e.theme.colors.primary};
|
|
280
|
-
`;function Sa({selectedRangeReport:e,timeframe:a,highlightedRange:o,width:n,height:r,showBarHoverBackground:l,isDetailPage:i,mode:u,onCOABalancesRangeChanged:s}){const c=F(),C=z.useRef(!1);z.useEffect(()=>{C.current=!0},[]);const h=[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],
|
|
280
|
+
`;function Sa({selectedRangeReport:e,timeframe:a,highlightedRange:o,width:n,height:r,showBarHoverBackground:l,isDetailPage:i,mode:u,onCOABalancesRangeChanged:s}){const c=F(),C=z.useRef(!1);z.useEffect(()=>{C.current=!0},[]);const h=[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=u==="forecast_mode"?d:h,j=u==="forecast_mode"?pa:ga,_=(p,g=c.colors.graphColor28)=>p<y.length?y[p]:g,w=e.reportId==="revenue"?Oe(e.firstMonthOfFY,j,u,e.sections?.income,e.sections?.cogs,e.calculatedSections?.grossMargin):Oe(e.firstMonthOfFY,j,u,e.sections.income,e.sections.cogs,e.calculatedSections.grossMargin),$=p=>{const{cx:g,cy:D,fill:L,stroke:v,value:B}=p;return B==null?t.jsx(t.Fragment,{}):t.jsx("circle",{cx:g,cy:D,r:4,stroke:L,strokeWidth:2,fill:v})},k=p=>{const{cx:g,cy:D,fill:L,stroke:v,value:B}=p;return B==null?t.jsx(t.Fragment,{}):t.jsx("circle",{cx:g,cy:D,r:5,stroke:v,strokeWidth:2,fill:L})};return w==null?null:t.jsx(fa,{chartData:w,timeframe:a,showBarHoverBackground:l,barElements:(()=>{const p=[];return j.forEach((g,D)=>{const L=i===!0&&!C.current;g.endsWith("_forecast")?p.push(((v,B)=>t.jsx(pe,{name:v,type:"monotone",legendType:"plainline",isAnimationActive:!1,dot:t.jsx($,{}),activeDot:t.jsx(k,{}),dataKey:P=>{const O=P.record;return(O[v]!=null&&O[v].amount!=null?O[v].amount:void 0)?.amount},stroke:_(B),strokeDasharray:"3 3",strokeWidth:1.5},v))(g,D)):p.push(((v,B,P)=>t.jsx(oe,{name:v,animationDuration:P?500:void 0,style:{cursor:"pointer"},legendType:"square",dataKey:O=>{const G=O.record;return(G[v]!=null&&G[v].amount!=null?G[v].amount:void 0)?.amount??0},fill:_(B)},v))(g,D,L))}),p})(),customToolTipContent:({active:p,payload:g})=>t.jsx(ha,{active:p,payload:g,mode:u}),width:n,height:r,onCOABalancesRangeChanged:s,highlightedRange:o,isDetailPage:i===!0})}const fa=({chartData:e,timeframe:a,barElements:o,customToolTipContent:n,highlightedRange:r,width:l,height:i,showBarHoverBackground:u,isDetailPage:s,onCOABalancesRangeChanged:c})=>{const C=de(),h=F(),d=te(e),y=e.timeseries,j=y.map(k=>k.label),_=u!==!1,w=k=>{if(!s||k?.activePayload==null||k?.activePayload.length===0)return;const p=k.activePayload[0];if(p?.payload?.timeLabel?.label==null)return;const g=k.activeTooltipIndex,D=p.payload.timeLabel.label;if(r==null)return;const L=ae(D,j,r.numberOfPeriods),v=L[1]===void 0?j.length-1:j.indexOf(L[1]),B={...r,thisPeriod:{startDate:y[v].startDate,endDate:y[v].endDate}};c?.(y[g],a,B)},$=s?(l-60)/N.revenue*(N.revenue-e.recordByTimeseries.length):20;return t.jsx(ma,{width:l,height:i,windowSize:C,children:t.jsx(Q,{children:({height:k,width:p})=>t.jsxs(me,{data:e.recordByTimeseries,barCategoryGap:s?void 0:"12%",maxBarSize:s?E[10]:22,barGap:s?void 0:2,margin:{top:5,right:$,left:0,bottom:E[4]},height:k,width:p,style:{display:"flex",flex:"1 1 auto"},onClick:w,children:[t.jsx(le,{horizontal:!0,vertical:!1,strokeWidth:.5,stroke:h.colors.grey3}),t.jsx(ne,{dataKey:g=>g.timeLabel.label,type:"category",axisLine:{stroke:h.colors.grey3,strokeWidth:.5},tickLine:!1,tick:{color:h.colors.hero,...M.extraSmallRegular.cssObject}}),t.jsx(ce,{type:"number",axisLine:!1,tickLine:!1,tick:{color:h.colors.hero,...M.extraSmallRegular.cssObject},tickFormatter:g=>Z("0,0.[00]a",g,d)}),t.jsx(se,{wrapperStyle:{zIndex:2},cursor:!!_&&{stroke:h.colors.background,strokeWidth:(p-60)/N.revenue,fill:h.colors.background},content:n,allowEscapeViewBox:{x:!1,y:!0}}),o,s?t.jsx(xe,{verticalAlign:"bottom",wrapperStyle:{width:"100%",display:"flex",justifyContent:"center",left:"initial",bottom:x.sp0},iconSize:E[3],formatter:g=>t.jsx(xa,{windowSize:C,children:g.endsWith("_forecast")===!0?S.getLocalizedStrings().chartCard.revenue[g]:S.getLocalizedStrings().chartCard.revenue[T(g)]})}):null]})})})};export{$a as G,La as H,_a as P,Sa as X,Da as Y};
|