@zeniai/web-cockpit-ui 1.14.1-pune → 1.14.2-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-CRqyoYEz-DIIEbfXH.js → ACHDetailsPage-CfXmiXOX-Bw6PIXTR.js} +3 -3
- package/dist/assets/{AIPerformancePage-DAkvkXSA-DCPKp1TL.js → AIPerformancePage-BTkeAbzQ-BrardM2A.js} +48 -38
- package/dist/assets/{AccountInfoPage-6EVpo7mW-_VH4qo0L.js → AccountInfoPage-Cw14e1jO-BsUim3eq.js} +1 -1
- package/dist/assets/{AccountInfoPageContent-BWZbyIYz-DsBeIJ7e.js → AccountInfoPageContent-cvYWnpel-CJmb2W-r.js} +15 -15
- package/dist/assets/{AccountReconDetailsDrawerPage-DLd_igXD-BDzMROTl.js → AccountReconDetailsDrawerPage-DOKqIknC-DSx-KpKz.js} +12 -12
- package/dist/assets/{AccountRow-D4iz2vCr-CUjY-as_.js → AccountRow-Ca-OS9TF-boQKAn9P.js} +20 -20
- package/dist/assets/{AccountsPromoCardStack-DIly1lFF-CoHITgz2.js → AccountsPromoCardStack-CwEVkbGD-GfsHQDZG.js} +19 -19
- package/dist/assets/{AddAddressForCardDrawer-C90j4Cwr-BuafF6k2.js → AddAddressForCardDrawer-B1zyrJMb-gDNlBeVv.js} +2 -2
- package/dist/assets/{AddToWalletPage-Bo2KesYz-CXFPlcd_.js → AddToWalletPage-s7c161JX-Bbl7vvY4.js} +37 -37
- package/dist/assets/{AgingReportsPage-DuoKsSkU-BM--piTX.js → AgingReportsPage-Be-2Z_KS-Cp8WnRhH.js} +4 -4
- package/dist/assets/{AllUserItems-C0U1Brjm-1EugRjNx.js → AllUserItems-B4Iah9-Z-B79SOI6_.js} +6 -6
- package/dist/assets/{ApAgingDetailPage-dNwAZULr-CSLYB9s5.js → ApAgingDetailPage-D_KV9urv-CMDNQ6iG.js} +4 -4
- package/dist/assets/{AppBasePage-CfkaWEbJ-DSSQmZ3n.js → AppBasePage-GbE58C1g-BcYXZw8U.js} +4 -4
- package/dist/assets/{AppDrawerContent-DlHQEgOZ-Bu6aM3IO.js → AppDrawerContent-YTvkEPk_-6eMbUyIc.js} +57 -31
- package/dist/assets/{ApprovalRulesSettingsPage-Pl7HoLmk-0ndkNfLh.js → ApprovalRulesSettingsPage-Cct7Nzfb-BnkTkJjh.js} +6 -6
- package/dist/assets/{ArAgingChart-xI9TRvfS-BJS1mtHm.js → ArAgingChart-BeVadylU-XR25EAL6.js} +4 -4
- package/dist/assets/{ArAgingDetailPage-BMGCnP5d-CqfkCp13.js → ArAgingDetailPage-CWUA4S2q-Ww5hXmPO.js} +2 -2
- package/dist/assets/{AttachmentView-C8AgUAnY-CDH1Mcyw.js → AttachmentView-DGsub__A-BBxOr8Ij.js} +5 -5
- package/dist/assets/{BankAccountSection-DB4PEf_X-DiW8OD4p.js → BankAccountSection-CtTkNBok-D2ekA6eB.js} +1 -1
- package/dist/assets/{BankAccountWarningSection-BNO8Gl59-DLhau1xe.js → BankAccountWarningSection-dVdrPYm5-CnmYzGhr.js} +8 -8
- package/dist/assets/BankConnectionsSettingsPage-_e4jMGI2-DH8UTyN3.js +425 -0
- package/dist/assets/{BillDetailPage-Bv86SywV-6njFGhnW.js → BillDetailPage-Dz4_gdDb-ycU3JEwF.js} +7 -7
- package/dist/assets/{BillPayApprovalRuleDetailPage-CDXxmD-3-GLg1j3lZ.js → BillPayApprovalRuleDetailPage-DcNLlDh2-B0LeGU7-.js} +2 -2
- package/dist/assets/{BillPayApprovalRulesPage-Ci5Ok7Zj-BsfoZbfz.js → BillPayApprovalRulesPage-C_NDjp6G-D74xT3Vs.js} +8 -8
- package/dist/assets/{BillPayPromoPage-Co2j2krO-D4iqOCut.js → BillPayPromoPage-TkLMkxeC-CRgciQY3.js} +5 -5
- package/dist/assets/BillPaySetUpPage-DTGSGVO0-BjFYWMnM.js +42 -0
- package/dist/assets/{BillingSettingsPage-CAs7DZQz-De2Ozj6L.js → BillingSettingsPage-0RLFEj6x-1Rx-lW-z.js} +5 -5
- package/dist/assets/BillsBulkReviewDrawerPage-rkkXgsz4-DCe7oECG.js +1 -0
- package/dist/assets/{BoxItem-BqLhtWoJ-DTGdC4UO.js → BoxItem-CIBzy4ZV-BGT6YXil.js} +1 -1
- package/dist/assets/BusinessVerificationPage-T63_ft8O-BLj5IAMR.js +140 -0
- package/dist/assets/{CardNumberSubText-23sLjCVt-q9DlwjXk.js → CardNumberSubText-FOFiHz-M-BomqpZHj.js} +1 -1
- package/dist/assets/{CashbackDetailPage-DY0n94jz-DZrOsGII.js → CashbackDetailPage-C1rbQ71n-BwGr1RFv.js} +19 -19
- package/dist/assets/ChargeCardDetailPage-OgsnesGD-BZdk7_5L.js +1447 -0
- package/dist/assets/ChargeCardListPage-CLHFYydY-CXTzCBUe.js +355 -0
- package/dist/assets/{ChargeCardListTable-B7uRDVzb-nPrrXfLF.js → ChargeCardListTable-ePSGyBtc-B6G4rFZ9.js} +17 -17
- package/dist/assets/ChargeCardPromoPage-Bi9cAv-f-5sPJiGwd.js +219 -0
- package/dist/assets/ChargeCardSetupPage-DvlKbA_C-AlRyM6Q7.js +36 -0
- package/dist/assets/{ChargeCardStatementsPage-JEslDm3r-Dz93LMxW.js → ChargeCardStatementsPage-CXhcA95f-C45_cho2.js} +3 -3
- package/dist/assets/{ChargeCardUtils-B3JEziD7-BDgvm4V8.js → ChargeCardUtils--ltNyvP2-TY5I7nE-.js} +1 -1
- package/dist/assets/{ChaseOverlay-KLet3F9X-CdWRAKXV.js → ChaseOverlay-CxEiwxZq-CYOJ8ZhP.js} +6 -6
- package/dist/assets/{CheckDepositDrawerPage-JYHyo9Hw-CPcUjCHP.js → CheckDepositDrawerPage-CmZbDsc3-C6Gzx2Ad.js} +16 -16
- package/dist/assets/CollapsableReportTable-CyQ4sWuS-DlLXYbkM.js +2932 -0
- package/dist/assets/{CompanyOfficerDetailsSection-DWqEolPc-hNs6b-3g.js → CompanyOfficerDetailsSection-DPufRe0m-C6FmxOML.js} +27 -27
- package/dist/assets/{CompanyPassportCard-fyolEQTs-BM4j1zkv.js → CompanyPassportCard-JgslGZ14-CZLKyeTG.js} +4 -4
- package/dist/assets/{CompanyPassportPage-CrgsRRVr-_nJlM00G.js → CompanyPassportPage-B89YFcPT-CNi42FVb.js} +144 -144
- package/dist/assets/CompleteProfile-D0RvVu97-BvDLvwiX.js +36 -0
- package/dist/assets/{ConfettiBurst-CZuMHGP8-b0M1vB-_.js → ConfettiBurst-D3BYCsW2-CicOQOeb.js} +1 -1
- package/dist/assets/{CreateOrEditVendorPage-Ct4Kfowi-Dl-XZ9XF.js → CreateOrEditVendorPage-C6Ddagzy-CrkxkCuT.js} +13 -13
- package/dist/assets/{CreditCardPaymentDrawerPage-Cpu-7pGN-Cu9Xh0nq.js → CreditCardPaymentDrawerPage-C3mZhiZb-D2CoSxGr.js} +6 -6
- package/dist/assets/{CreditCardPaymentPlgSection-DoMaCnIZ-CNIK2scQ.js → CreditCardPaymentPlgSection-D9oAn9qk-hoy3ieFS.js} +8 -8
- package/dist/assets/{CurrencySelectField-CCOtXLC7-QnPV5zn9.js → CurrencySelectField-BBgpim44-D9iz41su.js} +5 -5
- package/dist/assets/{CustomerOnboardingActivationPage-Cgzif1ji-DNCyl5ny.js → CustomerOnboardingActivationPage-iG0RHsLk-C1JrpXcK.js} +3 -3
- package/dist/assets/CustomerOnboardingContainerPage-Dh5KIySS-CJFQyXj_.js +1 -0
- package/dist/assets/{CustomerOnboardingDetailPageSkeleton-BOMwRZEO-D2W7lEqa.js → CustomerOnboardingDetailPageSkeleton-tTcayyvt-DVLGbpG0.js} +8 -8
- package/dist/assets/{CustomerOnboardingNoStepsPage-DDloVGvk-BQPG4WD2.js → CustomerOnboardingNoStepsPage-CIranNRI-DmxCUvPO.js} +9 -9
- package/dist/assets/{CustomerOnboardingPage-DHji4ZmF-D4jjwuH5.js → CustomerOnboardingPage-aq8E7XsP-D1AWzLDa.js} +6 -6
- package/dist/assets/{CustomerOnboardingProductSuitePage-BA3GAX42-CxgqSMiN.js → CustomerOnboardingProductSuitePage-DRnOKNVC-BW6Dqkww.js} +3 -3
- package/dist/assets/{Dashboard-Cr5ugENA-CPUy4XRU.js → Dashboard-DyvhSbme-CqiNyEeS.js} +241 -238
- package/dist/assets/DashboardReportPage-Cy_f84RN-BBIf3h8d.js +370 -0
- package/dist/assets/{DepositAccTransactionItem-BXRfgUfE-D4R7G7HE.js → DepositAccTransactionItem-DK15lI5V-XJtPziNz.js} +4 -4
- package/dist/assets/{DepositAccTransactionListPage--7TRlqKj-BQ7qJsKp.js → DepositAccTransactionListPage-CRBhV8W1-B1ipg9Mm.js} +5 -5
- package/dist/assets/{DocumentSecurityBanner-B0Qt1FLC-B14Aeb97.js → DocumentSecurityBanner-C0bght0k-vffkcqMR.js} +1 -1
- package/dist/assets/{DomesticWireDetailsPage-RoRpMC50-CSWDfu4W.js → DomesticWireDetailsPage-BX8glsOH-C_hYfUMN.js} +1 -1
- package/dist/assets/{DownloadOverlay-Cl_EXjiu-Bty6MX5F.js → DownloadOverlay-C5kTy4dA-91imq83n.js} +18 -18
- package/dist/assets/{DrawerPage-wXwAaYEB-CO0tKzRK.js → DrawerPage-Bwgpjwed-Dbn0o-MI.js} +6 -6
- package/dist/assets/{EditPeoplePage-xDL6VA_r-CcyNCb0B.js → EditPeoplePage-W-SFOxhC-DmK3cjsW.js} +10 -10
- package/dist/assets/{EditReimbursementDetailPage-BUpJPJNu-DrlJ3-JK.js → EditReimbursementDetailPage-D1Iduokd-BJNaLsWB.js} +78 -78
- package/dist/assets/{EntityDetailPage-BNXqSwVL-BmsjQ-yP.js → EntityDetailPage-BkRcX4SZ-D3jHuVtH.js} +1 -1
- package/dist/assets/{EntitySummarySection-MZ57i-bY-CkJQLOms.js → EntitySummarySection-BlJR-qOB-BGQRVSO6.js} +13 -13
- package/dist/assets/{ExpenseAutomationOverviewPage-Y3IHs4dG-C3j4Kf98.js → ExpenseAutomationOverviewPage-qT0g5t_P-9L0vQmNh.js} +20 -20
- package/dist/assets/{ExpenseAutomationPage-C0hvPLo7-6SC0Lnzr.js → ExpenseAutomationPage-CMKwWy2d-BxRd7q46.js} +3 -3
- package/dist/assets/{ExpressPayPage-Bncb54-Q-DvnTKzCq.js → ExpressPayPage-DXfqMxkG-esMjhJU_.js} +9 -9
- package/dist/assets/{FeaturePreviewPage-BnGBEF9H-qbgUmwmT.js → FeaturePreviewPage-CjZuOo_K-BURLQGI3.js} +2 -2
- package/dist/assets/{FollowStepsSection-laCvnETV-Bd5BOauY.js → FollowStepsSection-CO5MsYe6-DJwkRNbY.js} +6 -6
- package/dist/assets/{GlobalReviewListPage-CskEuHc5-Dmr2MpXl.js → GlobalReviewListPage-BIMdWu5P-DVJexznn.js} +11 -11
- package/dist/assets/{HelpButton-D5ZYyQMh-CbYd0zN7.js → HelpButton-BGHsn-1b-Cb4db_8O.js} +2 -2
- package/dist/assets/{InformationCardStack-BFJqdH9n-bSWTqBDS.js → InformationCardStack-B8rD8LSH-yY61wi0E.js} +5 -5
- package/dist/assets/{InsightsCardStack-CcoMWMiA-DoomT7wI.js → InsightsCardStack-AwXZ6ysD-CAyDZRBh.js} +7 -7
- package/dist/assets/{InsightsSection-D9PiJagu-BAVC-lZw.js → InsightsSection-BZS-MEy4-D-RgHCTj.js} +5 -5
- package/dist/assets/{IntegrationsSettingsPage-CVmDobJ8-DUTif9-q.js → IntegrationsSettingsPage-D2tfKsbR-3hbSPzUb.js} +11 -11
- package/dist/assets/{InternationalWireSwiftDetailsPage-DqW88v9N-Ckhip8a0.js → InternationalWireSwiftDetailsPage-5NmSFI7x-CMxHmzOl.js} +12 -12
- package/dist/assets/{InternationalWireVerificationPage-X90z_30k-BipvB1gK.js → InternationalWireVerificationPage-C8WA6jI_-CkLLJOPd.js} +7 -7
- package/dist/assets/{InviteFormPage-BK-PRmeH-BScQiDBC.js → InviteFormPage-DC2ewDUN-BAnhpAwr.js} +23 -23
- package/dist/assets/{InvitePageListView-6-iCc4BK-BqA8heOE.js → InvitePageListView-DaShj4IM-BOaRvdOZ.js} +35 -35
- package/dist/assets/InvitePeoplePage-BbY4ZpGl-DYibhSDJ.js +12 -0
- package/dist/assets/{InvoiceUploadSection-D5aF4auL-BeD6SrG2.js → InvoiceUploadSection-DZJTULDZ-CCiLRTJv.js} +4 -4
- package/dist/assets/{IssueChargeCardPage-C_xt7hKZ-DIZL4bBR.js → IssueChargeCardPage-C1zB2vrB-BGIJGo3C.js} +25 -25
- package/dist/assets/{LabeledAddressValue-DpSK0MqC-Cj7E_lje.js → LabeledAddressValue-BDA7y5Fq-D9zYp9L5.js} +1 -1
- package/dist/assets/{LabeledAddressValueField-_LY7c-ZC-Dc-9_BK1.js → LabeledAddressValueField-fj8E8gFz-pB5NcQXj.js} +4 -4
- package/dist/assets/{LabeledControlledCheckBoxField-FB40Z8J7-BP3P2Wmj.js → LabeledControlledCheckBoxField-aLuztBgv-CQQDZTL8.js} +1 -1
- package/dist/assets/{LabeledCreatableSingleSelectField-paSeI8_R-DbZOk4k7.js → LabeledCreatableSingleSelectField-zhHbiOVO-Du1erYiL.js} +7 -7
- package/dist/assets/{LabeledDocumentField-DiMgPKtR-CSKmqw6B.js → LabeledDocumentField-BTgmGAGq-ye6jxVF6.js} +6 -6
- package/dist/assets/{LabeledDropDownFormattedTextField-DsjpTL6X-j5IQGEbH.js → LabeledDropDownFormattedTextField-BdAKZt7q-DJYe0D29.js} +5 -5
- package/dist/assets/{LabeledText-CyXj8QWV-Bl6WT0AA.js → LabeledText-CMrFKM7D-U8mavECd.js} +3 -3
- package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-CUT00Vix-QHUo9PdC.js → LabeledUserSingleSelectWithSubtitlesField-C8A0HrPt-Dt-qPiqg.js} +15 -15
- package/dist/assets/{LabeledZeniRolesDropDownField-D0cQlbhO-Dakmm_pD.js → LabeledZeniRolesDropDownField-BaiPRGJf-ThyMB5yW.js} +18 -18
- package/dist/assets/{LinkJETransactionPage-DaXjiQRp-CeG2b6Yz.js → LinkJETransactionPage-CWc1e0RL-uXbP7Kvy.js} +4 -4
- package/dist/assets/{LowBalancePopup-CdftTvLb-DHrY0Q9F.js → LowBalancePopup-COu8cuzS-D_SGW7IW.js} +7 -7
- package/dist/assets/{MagicLinkACHDetailsPage-C25i1T4c-D1WMteCs.js → MagicLinkACHDetailsPage-h0Srx7SO-dPgjPO_-.js} +1 -1
- package/dist/assets/{MagicLinkDomesticWireDetailsPage-B0r3WStl-Be739DkS.js → MagicLinkDomesticWireDetailsPage-BIZqOfHW-tQ-JKEYq.js} +1 -1
- package/dist/assets/{MagicLinkInternationalWireDetailsPage-C-ev-6xJ-DjZv-CZx.js → MagicLinkInternationalWireDetailsPage-MSHTQMXn-BVkJt1cv.js} +1 -1
- package/dist/assets/{MagicLinkSuccessPage-7JG3V4Qt-aQjB1Hdx.js → MagicLinkSuccessPage-BjWw4cqt-AmPRrK11.js} +3 -3
- package/dist/assets/{MagicLinkTitleSection-DEe0hhml-OAdcgqT_.js → MagicLinkTitleSection-Cll6JJDZ-CoLcdtN3.js} +4 -4
- package/dist/assets/{MailingDetailsSection-Qc65E0w3-DAFQ-tkz.js → MailingDetailsSection-DWSj0MOB-BPZUzJp9.js} +1 -1
- package/dist/assets/{MeetingCalenderPopup-Dh8meV6d-Bpx3vewx.js → MeetingCalenderPopup-CTuOhFQC-C5al8-0n.js} +3 -3
- package/dist/assets/{Menu-DyfXBl_1-ub7G94mj.js → Menu-DlBP5CCV-y1Vf24E1.js} +3 -3
- package/dist/assets/{MyBankConnectionsSettingsPage-CCFcVgyX-BtQSGmwE.js → MyBankConnectionsSettingsPage-BYqoUq4q-Da0QKGU9.js} +15 -15
- package/dist/assets/{MyPendingActivationChargeCardListPage-DS966wTB-DpfpopfQ.js → MyPendingActivationChargeCardListPage-BABBa4je-B1cN2Q5f.js} +1 -1
- package/dist/assets/{MyProfileSettingsPage-BRRzMoQL-D5eo9Sqc.js → MyProfileSettingsPage-Dk_jK8-R-BnmR2m7z.js} +5 -5
- package/dist/assets/{NavBarWithPicker-BvWih0k0-Dufdt2Ka.js → NavBarWithPicker-BC2xbV2b-BcYENhJM.js} +3 -3
- package/dist/assets/{NavigationArrow-DYSL2aDL-WkPryo2E.js → NavigationArrow-BovrdeuJ-BGk3-i0K.js} +5 -5
- package/dist/assets/{NavigationDots-DyyCcIih-Dej6_J6K.js → NavigationDots-yYTGREt4-DTRiZdAJ.js} +1 -1
- package/dist/assets/{NewGlobalMerchantPage-DjEvzM4M-BHj9e2zb.js → NewGlobalMerchantPage-BKlPnipd-BUgMD2pk.js} +32 -32
- package/dist/assets/NoDataChart-Dhg-k7iX-B526qZJD.js +26 -0
- package/dist/assets/{NoDataTable-CXNsBBVP-DB2tU5FS.js → NoDataTable-jpCLeiDv-DPfhsNYe.js} +1 -1
- package/dist/assets/{NotFoundPage-CuuO2Mia-DK_un8VO.js → NotFoundPage-DrKqVOry-CJmDZfXH.js} +4 -4
- package/dist/assets/{NotificationSettingsPage-C7ilxUAV-DNcmVmd9.js → NotificationSettingsPage-lojoBPQ8-BBTvd9G7.js} +5 -5
- package/dist/assets/NotificationsListConfig-jbIMYvrE-DMMvGaQE.js +1 -0
- package/dist/assets/{NotificationsPage-BjaKD99B-ChKA1ZUW.js → NotificationsPage-DJNUS9wc-8qosqB88.js} +22 -22
- package/dist/assets/{OpExByVendorPage-IuDiHnIW-D8WE3sE0.js → OpExByVendorPage-xMyUkO51-DLNCDIdB.js} +7 -7
- package/dist/assets/{OverlayContainerPage-C0rUb6-5-D4ozS3gq.js → OverlayContainerPage-GWXnlbZH-DExKUjLx.js} +1 -1
- package/dist/assets/{PandLWithForecastPage-DLvgYpF8-DAoSI7if.js → PandLWithForecastPage-BHtPelIT-DOZ7XwiG.js} +9 -9
- package/dist/assets/{PaymentAccountSetupBillingAddressSection-CZ8ZY08D-DK5OgBuH.js → PaymentAccountSetupBillingAddressSection-B2ZBSiCT-BcCn0Sg1.js} +8 -8
- package/dist/assets/{PeoplePage-DyqY-rIV-BP1By1O6.js → PeoplePage-CzQXmGVU-3wd2TE5z.js} +31 -31
- package/dist/assets/{PortfolioAllocationFormPage-DTuKtkwr-9rUcLC7b.js → PortfolioAllocationFormPage-B1Xa0wKV-C9f5vgAD.js} +4 -4
- package/dist/assets/PortfolioDetails-BY-IK4yO-BaoJWjzR.js +218 -0
- package/dist/assets/{ProductsCarousel-CS4_yc80-PtugE9vt.js → ProductsCarousel-B7h_gH-R-XoeszqUs.js} +8 -8
- package/dist/assets/{PromoBaseCards-BZ2m6LfO-Cud5t_Fi.js → PromoBaseCards-CuJXuijt-Cwtg1Msq.js} +1 -1
- package/dist/assets/{QBOConnectionDialog-2vJQuslh-BI_9YQGE.js → QBOConnectionDialog-DsNkkj_j-C8IchF8A.js} +4 -4
- package/dist/assets/{QBOSetupSection-Yv3Xw-yn-CG5PgwyR.js → QBOSetupSection-DkoopYHr-B4YL_CMi.js} +7 -7
- package/dist/assets/{ReimbursementApprovalRuleDetailPage-tvJ2APRB-D4mUNHAO.js → ReimbursementApprovalRuleDetailPage-BAapaJEJ-DsiatGsD.js} +1 -1
- package/dist/assets/{ReimbursementApprovalRulesPage-_nXCDa2A-sj6jFbs4.js → ReimbursementApprovalRulesPage-BkiZVc7S-CGfJ2oyo.js} +19 -19
- package/dist/assets/ReimbursementDetailPage-S9j_KDZJ-B4Ft6bVK.js +314 -0
- package/dist/assets/{ReimbursementPromoPage-BaEX5Ej4-EKPuTP60.js → ReimbursementPromoPage-BJJruudV-4Q4ZYCZV.js} +7 -7
- package/dist/assets/ReimbursementSetUpPage-CQdxq5lk-MGbpCaqc.js +140 -0
- package/dist/assets/{ReimbursementsBulkReviewDrawerPage-HQg1y1K--BJEZ2gJz.js → ReimbursementsBulkReviewDrawerPage-5LGKVY6X-ClMjr5Ld.js} +1 -1
- package/dist/assets/{ReloadCard-stfG9ekP-CAtXGPKA.js → ReloadCard-DBRY9FdH-DLbqkxuz.js} +6 -6
- package/dist/assets/ReportTableViewSelector-DOxnK0VV-Civ7jc9s.js +150 -0
- package/dist/assets/ReportsPage-r_MRjkkb-B5PSr911.js +121 -0
- package/dist/assets/{RevenueChart-DeDVVUge-DswYpzgj.js → RevenueChart-DhCkb0c6-CpmVmIv5.js} +25 -25
- package/dist/assets/{ReviewDetailsPage-DZqPpiln-BD-TTPjy.js → ReviewDetailsPage-DWtgiOYE-C2elGQRI.js} +12 -12
- package/dist/assets/{ReviewOverlay-DcBe94Sd-BykmGHu4.js → ReviewOverlay-CjWEPPvw-B5TX8ZjT.js} +13 -13
- package/dist/assets/RoleWithToolTip-4WCTaiOg-BCe2sjxQ.js +22 -0
- package/dist/assets/{ScheduleDetailsFixedAssetsPage-Cl8iBII0-DMtW2KW5.js → ScheduleDetailsFixedAssetsPage-CSxG7vXq-DCXxKyPi.js} +8 -8
- package/dist/assets/{ScheduleDetailsPage-D6ZxZ2uU-C3_NmU11.js → ScheduleDetailsPage-BqaZqCZJ-pwjFyU_u.js} +3 -3
- package/dist/assets/{ScheduleSequenceTable-eRImHbZn-D8TBysPL.js → ScheduleSequenceTable-H_kZuoon-C9WFZ9rS.js} +15 -15
- package/dist/assets/{ScreenRoutes-miCOug2f.js → ScreenRoutes-Ck2JOiJO.js} +35 -35
- package/dist/assets/{SetUpAccountSection-BBZNI1Xl-DXELzEMu.js → SetUpAccountSection-B9L-2aHz-CS276oDL.js} +41 -41
- package/dist/assets/{SetUpDefaultSection--9Qh-utY-c-mUbFLs.js → SetUpDefaultSection-DO9aLike-BNjhrnJW.js} +11 -11
- package/dist/assets/{SignIn-CI0Ik2va-B1YM8rEU.js → SignIn-DOSDfnki-ZWJtrmyd.js} +18 -18
- package/dist/assets/{SignInScreen-DVUMKIBQ.js → SignInScreen-B66laInZ.js} +1 -1
- package/dist/assets/{SpendManagementListViewPage-NWkSnIdD-DEongjR9.js → SpendManagementListViewPage-D6ysU0TE-fs0LZdDD.js} +14 -14
- package/dist/assets/{SpendManagementPerTabPage-CdWwn_b8-DnGEGhos.js → SpendManagementPerTabPage-CHvroeCa-SUCxwVKR.js} +38 -38
- package/dist/assets/{SpendManagementSection-DGhD95sz-VmruoRWg.js → SpendManagementSection-BaEgJPY4-DbFNSMHd.js} +11 -11
- package/dist/assets/SpendMgmtSetupAccountSection-CVaXDNNK-CaCI906W.js +206 -0
- package/dist/assets/{StatementItem-BlfBohft-U3FqyIo0.js → StatementItem-CYPCJ0XS-Bebbfivn.js} +5 -5
- package/dist/assets/StatementsPage-Cyqg2jd1-CS8CbIkz.js +58 -0
- package/dist/assets/{StatusSwitcher-C6703BAG-eDDkVLmz.js → StatusSwitcher-C5UGqQw8-L5IIUMyD.js} +4 -4
- package/dist/assets/{SubTabSwitcher-lf9S7Ubj-CmXqrtys.js → SubTabSwitcher-B3rFIZQy-fhfcG8ZL.js} +1 -1
- package/dist/assets/{SummaryCard-yghz4PLR-CvQEKxF5.js → SummaryCard-CNADDyPG-AHW1-mz3.js} +1 -1
- package/dist/assets/{TaskManagementPage-Cf523C5f-BE6A19pl.js → TaskManagementPage-CtUQXjo2-CpaAFAcY.js} +29 -29
- package/dist/assets/{TimeRangeSwitcher-BoPrOhKX-CRKXdJOA.js → TimeRangeSwitcher-BXXqX3m6-DBFCX_F3.js} +3 -3
- package/dist/assets/{TimeframeSwitcher-DufweySH-jTXdFynw.js → TimeframeSwitcher-Bk9rjDg4-BqMFgpEZ.js} +5 -5
- package/dist/assets/TimeframeSwitcherWithToggle-RH8QHQFd-tstiafTX.js +31 -0
- package/dist/assets/{TopExCard-DrOjlLiv-D1xK4ZLl.js → TopExCard-xJbS_mNo-B0v7lag7.js} +4 -4
- package/dist/assets/{TopExDetailPage-Ds4zlxKD-B50iPc07.js → TopExDetailPage-BDUuqAEK-Bo-vZtIP.js} +10 -10
- package/dist/assets/{TransactionDetailPage-Csl-Qjxp-DV-6_vXT.js → TransactionDetailPage-CtzLtYa8-J7xBsyNJ.js} +30 -30
- package/dist/assets/TransactionList-DS-_gBrf-B6pRX61G.js +147 -0
- package/dist/assets/{TransactionListBig-p6iVof9y-DpVKiek7.js → TransactionListBig-D9ebH5C0-D4IFnh5K.js} +10 -10
- package/dist/assets/TransactionListPage-CPjayOv5-C1z1kCC6.js +35 -0
- package/dist/assets/{TransactionVendorDetailPage-DzkUYyCr-DI4vuyOD.js → TransactionVendorDetailPage-DMYoBJ23-BkgKiHHa.js} +5 -5
- package/dist/assets/{TransferDrawerPage-B9MGSdS9-AoRYBOP9.js → TransferDrawerPage-BAghLjPn-DV8a9ZRS.js} +30 -30
- package/dist/assets/{TreasuryOverviewPage-BEzBuOWn-C_ij1-dD.js → TreasuryOverviewPage-B7EFea4a-zZd4C5QF.js} +46 -46
- package/dist/assets/{TreasuryPromoPage-C8X4X7iN-C2DHRZVT.js → TreasuryPromoPage-D7Y8yGpx-5DMBtH8J.js} +27 -27
- package/dist/assets/{TreasurySetupPage-Cb_GW75l-DHI8fRrl.js → TreasurySetupPage-B1SZd_a5-DTKitX5z.js} +6 -6
- package/dist/assets/{TreasuryStatementsPage-sOiD2QYm-BjV9xUSX.js → TreasuryStatementsPage-uakhQGBW-DM3cx3mz.js} +7 -7
- package/dist/assets/{TreasuryTaxLetterPage-DYzqfHym-C8i4pNnG.js → TreasuryTaxLetterPage-BHvr72P1-ZqD52w0m.js} +7 -7
- package/dist/assets/{TreasuryTransferOrReviewPage-CesaUuNp-BlrFvGYE.js → TreasuryTransferOrReviewPage-BBPDHav1-FgeqnaCs.js} +78 -78
- package/dist/assets/TrendChart-ChiKhGtw-BlRFpdWI.js +16 -0
- package/dist/assets/{TrendWithTransactions-CUlTYGIm-DvdNaPh-.js → TrendWithTransactions-DEMNHbbz-DBOPdxuf.js} +7 -7
- package/dist/assets/{UncategorizedAccountsMappingPage-D76VPNEd-D4SPdVXr.js → UncategorizedAccountsMappingPage-BDNznj4Y-DBTlThuY.js} +17 -17
- package/dist/assets/{UnitIntegrationPage-BsZCe-lq-DrfCSWxr.js → UnitIntegrationPage-Bgu5xfcn-CtKgXROf.js} +3 -3
- package/dist/assets/{UploadAdditionalDocumentOverlay-B3tUNhKj-DN4WILBU.js → UploadAdditionalDocumentOverlay-DW6WCx4i-CGbCT0bE.js} +1 -1
- package/dist/assets/{Vendor2FAPopup-Bk-WKgMh-DrsH2xrD.js → Vendor2FAPopup-D34glhep-Bcy6uzR5.js} +1 -1
- package/dist/assets/{VendorACHDetailsPage-u8a3XF33-CrKMxXqd.js → VendorACHDetailsPage-CSqpbr2r-BGpdO99p.js} +1 -1
- package/dist/assets/{VendorDetailPage-B-RdB79n-CDKqGTzV.js → VendorDetailPage-CJw1v9tJ-BWewlDVL.js} +18 -18
- package/dist/assets/{VendorDomesticWireDetailsPage-Bhb1Dmge-BeNq1bzX.js → VendorDomesticWireDetailsPage-BY8F5AWO-DX4fuW2L.js} +1 -1
- package/dist/assets/{VendorFiling1099EditablePage-DHRivhBg-ERVyS3P2.js → VendorFiling1099EditablePage-COYZCnYS-BBPw3drw.js} +15 -15
- package/dist/assets/VendorFirstReviewPage-BqnXdq6Q-CL1x86cX.js +730 -0
- package/dist/assets/{VendorInternationalWireDetailsPage-Cjx1hvUL-CEdr_PZS.js → VendorInternationalWireDetailsPage-K9botaZv-yQ73nWrj.js} +11 -11
- package/dist/assets/{VendorInternationalWireSwiftDetailsPage-BszRCCDh-B4pRgjkw.js → VendorInternationalWireSwiftDetailsPage-DQ_akVN_-s-XTKsWI.js} +1 -1
- package/dist/assets/{VendorsAccountsSection-D6VSJUo1-Glx5yRhz.js → VendorsAccountsSection-D5d42xeO-CJcEHkCK.js} +2 -2
- package/dist/assets/{WarningsDrawerPage-DReVGPEj-CIQlt88e.js → WarningsDrawerPage-DiA5MRFe-Bc00wID9.js} +7 -7
- package/dist/assets/{ZeniAccountDetailPage-CFTB_WYX-CRRVNfVo.js → ZeniAccountDetailPage-DSCbx6BB-DGWgYb7a.js} +23 -23
- package/dist/assets/{ZeniAccountListViewPage-BmYgbIuC-DNXzp5P9.js → ZeniAccountListViewPage-7zssUaoL-DvaV5FVV.js} +21 -21
- package/dist/assets/{ZeniAccountNavBarPieces-gzy5T7nu-ZPpRmm1I.js → ZeniAccountNavBarPieces-By4S70vz-DdkCg5aL.js} +2 -2
- package/dist/assets/{ZeniAccountPromoPage-AfRVTc8V-r71cWD_l.js → ZeniAccountPromoPage-Bvr4t7zq-DL50qAxB.js} +21 -21
- package/dist/assets/{ZeniAccountSetupPage-YXJmpz_d-3FWCeT2b.js → ZeniAccountSetupPage-DtDN9JWk-D8j-79L6.js} +4 -4
- package/dist/assets/{ZeniCopyright-CqpcrgAZ-CH2r91yw.js → ZeniCopyright-CxC3wvp1-gbMTqRLu.js} +1 -1
- package/dist/assets/{ZeniTransferAmountSlider-DGkzRyMW-M3i8bnVC.js → ZeniTransferAmountSlider-CcbG1sHp-Dm5uqXid.js} +1 -1
- package/dist/assets/analytics-CBL_L82S.js +7 -0
- package/dist/assets/{analyticsHelper-sgo3pabT-BeTMdSYn.js → analyticsHelper-3y6VD3VH-4b12iNu9.js} +1 -1
- package/dist/assets/{analyticsHelper-BKEOwNtm.js → analyticsHelper-D4WZaKOr.js} +1 -1
- package/dist/assets/{chartTypes-Dj-_K0Gi-EQP1Ce02.js → chartTypes-mKuCmPTG-BM7hqR_d.js} +1 -1
- package/dist/assets/{commonDimensions-CKgBEMhT-JcVoNYFG.js → commonDimensions-BHBDbLXD-D2tFRShv.js} +1 -1
- package/dist/assets/{detailCommon-vtB2ffbe-CVFboB64.js → detailCommon-1QwSQL9C-CMTdKXNR.js} +10 -10
- package/dist/assets/{downloadPdf-CiC0AXNH-CeD8Q-Pl.js → downloadPdf-DjM3Z_88-B-Yuc7DP.js} +1 -1
- package/dist/assets/{index-D3N9MvRr.js → index-CWmqNC4C.js} +3532 -3549
- package/dist/assets/mapLoadingInProgressToTreeNode-CKZd1bh4-H6b75J9k.js +1 -0
- package/dist/assets/{mapSectionWithAcOnlyToTreeNode-CWaIGa37-l4B2WAau.js → mapSectionWithAcOnlyToTreeNode-CO6ix8Ks-D7LvCMfp.js} +1 -1
- package/dist/assets/mapSpacerToTreeNode-CzcEW1Rc-DpU4PyGc.js +1 -0
- package/dist/assets/mapTimeframeBalancesToTreeNode-CEDhLCxY-D-EnNeIG.js +1 -0
- package/dist/assets/mapTimeframeBalancesToTreeNode-y3lzh3vX-QR9PSTFA.js +1 -0
- package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-Bf3d9TrW-Cgl9vOT0.js +1 -0
- package/dist/assets/{play-icon-CF-Mkuir-D0VaB-h5.js → play-icon-DfMYCOJa-CBLpaBHA.js} +3 -3
- package/dist/assets/{toCOABalancesWithID-D1BwrImS-CU7gHn7p.js → toCOABalancesWithID-CEvuOTjK-TT4jMA7r.js} +1 -1
- package/dist/assets/{toChartData-DVTo0PPD-Xv5HtUSQ.js → toChartData-D2kGY49E-CsLrqkFw.js} +1 -1
- package/dist/assets/{treasuryColorHelper-QzSX5YTe-DRvV2CE6.js → treasuryColorHelper-k2phUKLw-Bv7jwBAj.js} +1 -1
- package/dist/assets/{uploadAttachment-BxwOR3I5-D86nKqy9.js → uploadAttachment-kyOdZMbL-CJNFoqRM.js} +7 -7
- package/dist/assets/{uploadReceipts-Buvz7DfG-CwTcUaXM.js → uploadReceipts-D80JLNY4-Cic2YR7g.js} +1 -1
- package/dist/index.html +1 -1
- package/package.json +4 -4
- package/dist/assets/BankConnectionsSettingsPage-BOreBo5b-D37lKtbY.js +0 -379
- package/dist/assets/BillPaySetUpPage-DjpCUZaT-Ddup2DO2.js +0 -42
- package/dist/assets/BillsBulkReviewDrawerPage-DjunAUW0-B6U5Is6f.js +0 -1
- package/dist/assets/BusinessVerificationPage-CZGOzc9Z-D6-Ww27c.js +0 -140
- package/dist/assets/ChargeCardDetailPage-NWTPnGtM-DFqwW_o-.js +0 -1447
- package/dist/assets/ChargeCardListPage-D42dfnET-BwGRx6DO.js +0 -355
- package/dist/assets/ChargeCardPromoPage-CXiXee-8-rWS9j7At.js +0 -190
- package/dist/assets/ChargeCardSetupPage-Ccc8PoCm-DOz93R9J.js +0 -36
- package/dist/assets/CollapsableReportTable-DshWn4Fc-CB5euwH7.js +0 -2860
- package/dist/assets/CompleteProfile-D_zq0Bxi-4-J8J591.js +0 -36
- package/dist/assets/CustomerOnboardingContainerPage-ByWeMmBf-4mOzqlwZ.js +0 -1
- package/dist/assets/DashboardReportPage-paPVk_v2-Dvs7jyc3.js +0 -349
- package/dist/assets/InvitePeoplePage-C9AwNqIx-ByE99RmM.js +0 -12
- package/dist/assets/NoDataChart-DE6NV823-DgTs2vbZ.js +0 -26
- package/dist/assets/NotificationsListConfig-TBQMobJ5-DLtoRFYq.js +0 -1
- package/dist/assets/PortfolioDetails-DJFeMG4U-DswuDgPe.js +0 -218
- package/dist/assets/ReimbursementDetailPage-CtEAsq7u-CdLZ67Bg.js +0 -314
- package/dist/assets/ReimbursementSetUpPage-DXOqEJL4-DeydDpr0.js +0 -140
- package/dist/assets/ReportTableViewSelector-_RTCd2td-J4MgIxi7.js +0 -133
- package/dist/assets/ReportsPage-BIzz5Dt_-BPRCOVMf.js +0 -120
- package/dist/assets/RoleWithToolTip-DZO2tooH-6nbnfSfh.js +0 -22
- package/dist/assets/SpendMgmtSetupAccountSection-DG4ozkeT-CetbNb1Y.js +0 -207
- package/dist/assets/StatementsPage-CUpjL5u7-BWH36hJA.js +0 -58
- package/dist/assets/TimeframeSwitcherWithToggle-BKwe3K9l-CC0-bOos.js +0 -31
- package/dist/assets/TransactionList-2HeLZVn9-D_XSB9a8.js +0 -147
- package/dist/assets/TransactionListPage-tnL66tOu-DKTJncjo.js +0 -35
- package/dist/assets/TrendChart-kwGU0d90-D9vTA2Kh.js +0 -16
- package/dist/assets/VendorFirstReviewPage-Cn2GBsyl-cg4le0C7.js +0 -730
- package/dist/assets/analytics-DThoELaW.js +0 -7
- package/dist/assets/mapLoadingInProgressToTreeNode-0MIZwF_y-BJQcaPEZ.js +0 -1
- package/dist/assets/mapSpacerToTreeNode-1Bdqp9WS-Bf4vh4uO.js +0 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-MPZhFWqo-DqH1QGXc.js +0 -1
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import{u as h,j as r,
|
|
1
|
+
import{u as h,j as r,W as a,Y as m,ah as j,M as C,a4 as l,aY as x,v as g,o as c,ai as f}from"./index-CWmqNC4C.js";import{n as s,b as d}from"./vendor-CnQcJ2Lu.js";function p({backgroundColor:e,foregroundColor:o,animated:t,width:i,height:n}){return r.jsxs(x,{speed:2,width:i,height:n,viewBox:`0 0 ${i} ${n}`,animate:t!=!1,backgroundColor:e,foregroundColor:o,children:[r.jsx("rect",{x:"64",y:"0",rx:"4",ry:"4",width:`${i-128}`,height:"21"}),r.jsx("rect",{x:"24",y:"45",rx:"4",ry:"4",width:`${i-48}`,height:"228"})]})}function w({backgroundColor:e,foregroundColor:o,animated:t}){return r.jsxs(x,{speed:2,width:240,height:98,viewBox:"0 0 240 98",animate:t!=!1,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 u=s(l)`
|
|
2
2
|
justify-content: flex-start;
|
|
3
|
-
`;function T({dimension:e,animated:o}){const t=h();return r.jsx(a,{dimension:e,children:r.jsx(u,{children:r.jsx(
|
|
3
|
+
`;function T({dimension:e,animated:o}){const t=h();return r.jsx(a,{dimension:e,children:r.jsx(u,{children:r.jsx(w,{backgroundColor:t.colors.grey3,foregroundColor:t.colors.grey4,animated:o})})})}function M({dimension:e,animated:o}){const t=h();return r.jsx(a,{dimension:e,children:r.jsx(u,{children:r.jsx("div",{style:{width:"100%",height:"100%"},children:r.jsx(f,{children:({height:i,width:n})=>r.jsx(p,{backgroundColor:t.colors.grey3,foregroundColor:t.colors.grey4,animated:o,width:n,height:i})})})})})}const y=e=>d.createElement("svg",{viewBox:"0 0 72 72",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},d.createElement("rect",{opacity:.2,width:72,height:72,rx:36,fill:"#97C3B9"}),d.createElement("path",{d:"M46.7755 32.5635L43.8368 36.9716L40.4082 33.0533",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),d.createElement("path",{d:"M34.5307 44.8163C32.6902 44.8163 30.8909 44.2705 29.3605 43.248C27.8301 42.2254 26.6374 40.772 25.933 39.0715C25.2286 37.3711 25.0443 35.4999 25.4034 33.6947C25.7625 31.8895 26.6488 30.2313 27.9503 28.9298C29.2518 27.6283 30.91 26.742 32.7152 26.3829C34.5204 26.0238 36.3916 26.2081 38.092 26.9125C39.7925 27.6169 41.2459 28.8096 42.2685 30.34C43.291 31.8704 43.8369 33.6697 43.8369 35.5102V36.9737",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),k=s(l)`
|
|
4
4
|
justify-content: space-between;
|
|
5
|
-
`,
|
|
5
|
+
`,v=s.div`
|
|
6
6
|
height: ${c.sp10};
|
|
7
7
|
width: ${c.sp10};
|
|
8
8
|
background: ${e=>e.theme.colors.background};
|
|
@@ -19,8 +19,8 @@ import{u as h,j as r,V as a,Y as m,ah as j,M as w,a4 as l,bH as x,w as g,o as c,
|
|
|
19
19
|
color: ${e=>e.theme.colors.primary};
|
|
20
20
|
}
|
|
21
21
|
}
|
|
22
|
-
|
|
22
|
+
`,b=s(g)`
|
|
23
23
|
color: ${e=>e.theme.colors.champion};
|
|
24
|
-
|
|
24
|
+
`,$=s(g)`
|
|
25
25
|
color: ${e=>e.theme.colors.hero};
|
|
26
|
-
`,L=s(y)``;function S({dimension:e,cardType:o,cardIndex:t,reportTitle:i,onReloadData:n}){return r.jsx(a,{"data-testid":m("dashboard-reload",o),dimension:e,onClick:()=>n(t,o),children:r.jsxs(k,{children:[r.jsxs(
|
|
26
|
+
`,L=s(y)``;function S({dimension:e,cardType:o,cardIndex:t,reportTitle:i,onReloadData:n}){return r.jsx(a,{"data-testid":m("dashboard-reload",o),dimension:e,onClick:()=>n(t,o),children:r.jsxs(k,{children:[r.jsxs(b,{children:[i??j(o)," "]}),r.jsx(v,{children:r.jsx(L,{})}),r.jsx($,{children:C.getLocalizedStrings().card.failedText})]})})}export{T as E,M as I,S as T};
|
|
@@ -0,0 +1,150 @@
|
|
|
1
|
+
import{u as X,X as ie,bC as me,a as fe,j as o,f as ge,M as Z,bD as ee,F as xe,C as P,a3 as be,o as n,bE as ye,bF as _e,bG as we,bH as $e,bI as ve,e as ce,bJ as Ce,m as p,v as ke,H as K,aY as je,a7 as Ne,s as Se,b0 as Ie}from"./index-CWmqNC4C.js";import{b as f,f as de,n as d}from"./vendor-CnQcJ2Lu.js";import{W as D,R as Pe}from"./CollapsableReportTable-CyQ4sWuS-DlLXYbkM.js";const z=Z.getLocalizedStrings().dateFormat.analytics.YYYYDashMMDashDDFormat,De=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;function Oe(e){return{locale_id:e.localeId,show_negative_amount_in_parenthesis:e.showNegativeAmountInParenthesis,filter_accounts_with_nil_balances:e.filterAccountsWithNilBalances,filter_account_groups_with_nil_balances:e.filterAccountGroupsWithNilBalances,include_cover_page:e.includeCoverPage,company_name:e.companyName,statement_file_type:e.statementFileType,statements:e.statements,first_month_of_fy:e.firstMonthOfFY,book_close_date:e.bookCloseDate!=null?e.bookCloseDate.format(z):void 0,timeframe:e.timeframe,additional_balances:e.additionalBalances,format:e.format,balances_filter:De(e.balancesFilter),account_view_mode:e.accountViewMode,classes_to_filter_out:e.classesToFilterOut,data_available:Fe(e.dataAvailable),is_zeni_coa_used:e.isZeniCOAUsed}}async function no(e,c,a){const t=Z.getLocalizedStrings().downloadReport,r=`${e}?query=${encodeURIComponent(JSON.stringify(Oe(a)))}`;try{const h=await ye({urlEndPoint:r,authParams:c,fileType:a.statementFileType});if(h.ok){const b=_e(h.headers,t.defaultFileName),y=await h.arrayBuffer();we(y,b)}else console.error(`${t.reportErrorMessage} ${h.statusText}`)}catch(h){console.error(`${t.reportErrorMessage} ${JSON.stringify(h)}`)}}const Ee=d.div`
|
|
2
|
+
padding: 0 ${n.sp3} 0 ${n.sp3};
|
|
3
|
+
border: 1px solid ${e=>e.theme.colors.primary};
|
|
4
|
+
background: ${e=>e.theme.colors.grey5};
|
|
5
|
+
border-radius: ${n.sp1};
|
|
6
|
+
display: flex;
|
|
7
|
+
justify-content: space-between;
|
|
8
|
+
align-items: center;
|
|
9
|
+
position: relative;
|
|
10
|
+
height: ${n.sp8};
|
|
11
|
+
cursor: pointer;
|
|
12
|
+
`,Be=d(Se)`
|
|
13
|
+
color: ${e=>e.theme.colors.primary};
|
|
14
|
+
margin-top: -2px;
|
|
15
|
+
`,Le=d(Ie)`
|
|
16
|
+
color: ${e=>e.theme.colors.hero};
|
|
17
|
+
width: 12px;
|
|
18
|
+
height: 12px;
|
|
19
|
+
margin: auto ${n.sp0};
|
|
20
|
+
:hover {
|
|
21
|
+
color: ${e=>e.theme.colors.primary};
|
|
22
|
+
}
|
|
23
|
+
`,Ae=e=>{const{value:c,onClick:a}=e,t=X();return o.jsxs(Ee,{onClick:a,children:[o.jsx(Be,{style:{color:t.colors.primary},children:c}),o.jsx(Le,{})]})},Te=de.memo(Ae);function Me({backgroundColor:e,foregroundColor:c,animated:a,width:t,height:r}){return o.jsxs(je,{speed:2,width:t,height:r,viewBox:`0 0 ${t} ${r}`,animate:a!=!1,backgroundColor:e,foregroundColor:c,style:{marginBottom:n.sp2},children:[o.jsx("rect",{x:"45",y:p[3],rx:"5",ry:"5",width:"120",height:p[4]}),o.jsx("rect",{x:"45",y:p[8],rx:"5",ry:"5",width:"120",height:p[4]}),o.jsx("rect",{x:"45",y:"96",rx:"5",ry:"5",width:"120",height:p[4]}),o.jsx("rect",{x:"45",y:"136",rx:"5",ry:"5",width:"120",height:p[4]})]})}function he({nestedClass:e,isLastNode:c,config:a,parentNodeIDs:t}){const r=D("checkbox_and_name_only",[],e.classId[0]),h={children:[],id:r,isLastNode:c,reportElementData:{element:{kind:"checkbox_and_name_only",title:e.className,data:e,numOfBalances:0},config:a}};return h.children=e.children.map((b,y)=>he({nestedClass:b,config:a,isLastNode:y===e.children.length-1,parentNodeIDs:[...t,r]})),h}function We(e,c){const a=e.map((t,r)=>{const h=D("checkbox_and_name_only",[],t.classId[0]),b={children:[],id:h,isLastNode:t.children.length!==0,reportElementData:{element:{kind:"checkbox_and_name_only",title:t.className,data:t,numOfBalances:0},config:c}},y=t.children.map(F=>he({nestedClass:F,config:c,isLastNode:r===t.children.length-1,parentNodeIDs:[h]}));return b.children.push(...y),b});return{config:c,headerNodes:[],contentNodes:[...a]}}function Re(e,c){Object.assign(e.config,c);const a=e.contentNodes;return a.forEach(t=>ue(t,c)),{config:c,headerNodes:[],contentNodes:[...a]}}function ue(e,c){Object.assign(e.reportElementData.config,c),e.children.forEach(a=>ue(a,c))}const oe={contentPaddingLeft:new P(p[3],p[3],p[2]),contentPaddingRight:new P(p[3],p[3],p[2])},ze=d.div`
|
|
24
|
+
height: ${e=>e.height}px;
|
|
25
|
+
width: 100%;
|
|
26
|
+
`,He=({reportId:e,firstMonthOfFY:c,nestedClassHierarchy:a,classesToBeFilteredOut:t,selectedView:r,showClassAccountNumber:h,scrollPosition:b,onScroll:y,nodeOpenStatus:F,onNodeCollapseToggled:U,onToggleCheck:O})=>{const H=X(),Y=ie(),[$,j]=f.useState(void 0),[T,_]=f.useState(!1),[M,E]=f.useState({}),[g,W]=f.useState(void 0),[B,v]=f.useState(r),G="none",L=i=>r==="account_group"?!0:t?.length>0?t.find(l=>l[0]===i[0])!=null:!1,N=(i,l)=>{_(!0),E(i),O?.(i,l,r==="account_group"?!0:void 0),w(i,l)},w=(i,l)=>{const m=V(i);for(const C of m.children)O?.(C.classId,l),w(C.classId,l)},V=i=>{let l=a.filter(m=>m.classId[0]===i[i.length-1])[0];for(let m=i.length-2;m>=0;m--)l=l.children.filter(C=>C.classId[0]===i[m])[0];return l},J=i=>{if(i.length>1){const l=V(i.slice(1));let m=!1;for(const C of l.children)if(t.find(s=>s[0]===C.classId[0])===void 0){m=!0;break}m===!0?O?.(l.classId,!0):O?.(l.classId,!1),E(l.classId)}};f.useEffect(()=>{T&&J(M)}),f.useEffect(()=>{const i={reportId:e,displayOrder:"ascending_date",reportFormat:"more_detailed",mode:G,firstMonthOfFY:c,filterAccountsWithNilBalances:"off",filterAccountGroupsWithNilBalances:"off",showNegativeAmountInParenthesis:!1,isClassToBeFilteredOut:L,showClassAccountNumber:h};if($==null||!K(g,a)||!K(B,r)||T===!0){const l=We(a,i);W(a),j(l),v(r)}else{const l=Re($,i);j(l),v(r)}},[a,r,t]);const[q,Q]=f.useState(5),A=i=>{const l=i+p[6];Q(l)};return $!=null?o.jsx(ze,{height:q,children:o.jsx(Pe,{backgroundColor:r==="classes"?new Ne(H.colors.background):void 0,rootNodes:$,type:"name_only",compareMode:"compare_mode_amount",isSticky:{isStickyHeader:!1,isStickyName:!1},treeNodePadding:{left:oe.contentPaddingLeft.value(Y),right:oe.contentPaddingRight.value(Y)},scrollPosition:b,onScroll:y,nodeOpenStatus:F,onNodeCollapseToggled:U,onToggleCheck:N,onReportTableHeightChanged:A})}):null},k={width:new P(350,400,400),height:new P(165,165,165),buttonWidth:new P(62,62),buttonHeight:new P(p[5],p[5]),containerWidth:new P(150,400,400)},Ye=d.div`
|
|
27
|
+
position: relative;
|
|
28
|
+
pointer-events: ${e=>e.isDisabled===!0?"none":"initial"};
|
|
29
|
+
`,Ge=d.div`
|
|
30
|
+
display: flex;
|
|
31
|
+
flex-direction: column;
|
|
32
|
+
width: ${e=>k.containerWidth.valuePx(e.windowSize)};
|
|
33
|
+
`,Ve=d($e)`
|
|
34
|
+
display: flex;
|
|
35
|
+
flex-direction: row;
|
|
36
|
+
width: fit-content;
|
|
37
|
+
cursor: pointer;
|
|
38
|
+
color: ${e=>e.theme.colors.primary};
|
|
39
|
+
.dropdownIcon {
|
|
40
|
+
color: ${e=>e.theme.colors.hero};
|
|
41
|
+
}
|
|
42
|
+
&:hover {
|
|
43
|
+
.dropdownIcon {
|
|
44
|
+
color: ${e=>e.theme.colors.primary};
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
gap: ${n.sp2};
|
|
48
|
+
margin-top: 12px;
|
|
49
|
+
align-items: center;
|
|
50
|
+
`,Je=d(ve)`
|
|
51
|
+
color: ${e=>e.theme.colors.hero};
|
|
52
|
+
width: ${n.sp4};
|
|
53
|
+
height: ${n.sp4};
|
|
54
|
+
&:hover {
|
|
55
|
+
color: ${e=>e.theme.colors.primary};
|
|
56
|
+
}
|
|
57
|
+
`,qe=d.div`
|
|
58
|
+
display: flex;
|
|
59
|
+
width: ${e=>e.width}px;
|
|
60
|
+
align-items: flex-start;
|
|
61
|
+
justify-content: space-between;
|
|
62
|
+
flex-direction: column;
|
|
63
|
+
border: 1px solid ${e=>e.theme.colors.grey5};
|
|
64
|
+
border-radius: ${n.sp1};
|
|
65
|
+
box-shadow: ${e=>`${n.sp0} 2px ${n.sp2} ${e.theme.colors.dropShadowHover}`};
|
|
66
|
+
margin-top: 10px;
|
|
67
|
+
padding-top: ${n.sp1};
|
|
68
|
+
background: ${e=>e.theme.colors.grey5};
|
|
69
|
+
`,te=d.div`
|
|
70
|
+
display: flex;
|
|
71
|
+
align-items: flex-start;
|
|
72
|
+
justify-content: space-between;
|
|
73
|
+
flex-direction: column;
|
|
74
|
+
width: 100%;
|
|
75
|
+
background-color: ${e=>e.checked===!0?e.theme.colors.background:"transparent"};
|
|
76
|
+
& input[type="radio"] {
|
|
77
|
+
-webkit-appearance: none;
|
|
78
|
+
-moz-appearance: none;
|
|
79
|
+
appearance: none;
|
|
80
|
+
display: inline-block;
|
|
81
|
+
width: ${n.sp3};
|
|
82
|
+
height: ${n.sp3};
|
|
83
|
+
padding: 2px;
|
|
84
|
+
background-clip: content-box;
|
|
85
|
+
border: 1px solid ${e=>e.theme.colors.primary};
|
|
86
|
+
border-radius: 50%;
|
|
87
|
+
margin: ${n.sp0} ${n.sp2} ${n.sp0} ${n.sp2};
|
|
88
|
+
cursor: pointer;
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
input[type="radio"]:checked {
|
|
92
|
+
background-color: ${e=>e.theme.colors.primary};
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
input[type="radio"]:disabled {
|
|
96
|
+
cursor: default;
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
&:hover {
|
|
100
|
+
background: ${e=>e.theme.colors.background};
|
|
101
|
+
}
|
|
102
|
+
`,se=d(ke)`
|
|
103
|
+
height: ${n.sp6};
|
|
104
|
+
display: flex;
|
|
105
|
+
justify-content: center;
|
|
106
|
+
align-items: center;
|
|
107
|
+
`,Ue=d.div`
|
|
108
|
+
display: flex;
|
|
109
|
+
flex-wrap: wrap;
|
|
110
|
+
justify-content: flex-start;
|
|
111
|
+
height: 100%;
|
|
112
|
+
width: inherit;
|
|
113
|
+
overflow-y: auto;
|
|
114
|
+
.hide-icon {
|
|
115
|
+
display: none;
|
|
116
|
+
}
|
|
117
|
+
min-height: 165px;
|
|
118
|
+
max-height: 353px;
|
|
119
|
+
overscroll-behavior: contain;
|
|
120
|
+
`,Qe=d.div`
|
|
121
|
+
width: 100%;
|
|
122
|
+
height: 65px;
|
|
123
|
+
`,ae=d.label`
|
|
124
|
+
color: ${e=>e.theme.colors.primary};
|
|
125
|
+
cursor: ${e=>e.disabled===!0?"default":"pointer"};
|
|
126
|
+
`,Ke=d(ce)`
|
|
127
|
+
display: flex;
|
|
128
|
+
align-items: center;
|
|
129
|
+
column-gap: ${n.sp2};
|
|
130
|
+
margin-left: ${n.sp5};
|
|
131
|
+
color: ${e=>e.theme.colors.hero};
|
|
132
|
+
&:hover {
|
|
133
|
+
cursor: pointer;
|
|
134
|
+
color: ${e=>e.theme.colors.primary};
|
|
135
|
+
}
|
|
136
|
+
`,Xe=d.div`
|
|
137
|
+
display: flex;
|
|
138
|
+
flex: 1;
|
|
139
|
+
width: inherit;
|
|
140
|
+
background-color: ${e=>e.theme.colors.grey3};
|
|
141
|
+
min-height: 1px;
|
|
142
|
+
max-height: 1px;
|
|
143
|
+
`,Ze=d(Ce)`
|
|
144
|
+
width: ${n.sp3};
|
|
145
|
+
height: ${n.sp3};
|
|
146
|
+
`,eo=d(ce)`
|
|
147
|
+
margin-left: ${n.sp5};
|
|
148
|
+
margin-top: -12px;
|
|
149
|
+
color: ${e=>e.theme.colors.hero};
|
|
150
|
+
`,{reportViewSelector:I,common:{footer:ne}}=Z.getLocalizedStrings(),re="tableViewSelector",le=e=>`${e}_form`;function ro({reportId:e,firstMonthOfFY:c,nodes:a,classesListFetchState:t,selectedView:r,classesToBeFilteredOut:h,showClassAccountNumber:b,onOpenAccountViewMode:y,onSaveClick:F,isClassViewDisabled:U,downloadPage:O,showAccountGroups:H=!0,onResyncReports:Y,isPageFetchInProgress:$=!1,lastRefreshSuccessTime:j}){const T=X(),_=ie(),[M,E]=f.useState(!1),[g,W]=f.useState(r),[B,v]=f.useState({}),G=(s,u)=>(s.forEach(x=>{u.push(x.classId),u=G(x.children,u)}),u),L=G(a,[]),[N,w]=f.useState(g==="classes"?h:L),V=t!=="Completed"||g==="classes"&&N.length===L.length;me({componentName:`reports.${e}`});const J=s=>s==="classes"?I.classes.label:H===!0?I.accountGroups.label:I.accounts.label,q=fe({mode:"all"}),Q=q.handleSubmit(()=>{E(!1),g==="classes"?F?.("classes",N):F?.("account_group")}),A=s=>{if(W(s),s==="classes")v({}),w([]);else{w(L);let u={};a.forEach(x=>{const S=D("checkbox_and_name_only",[],x.classId[0]);u=Object.assign({},u,{[S]:!1})}),v(u)}},i=()=>{M===!0&&m(),E(!M);let s={};a.forEach(u=>{const x=D("checkbox_and_name_only",[],u.classId[0]);r==="account_group"||N.find(S=>S[0]===u.classId[0])!==void 0?s=Object.assign({},s,{[x]:!1}):s=Object.assign({},s,{[x]:!0})}),v(s)},l=(s,u,x)=>{if(x===!0&&(W("classes"),w(L)),u===!0){const S=D("checkbox_and_name_only",[],s[0]);B[S]=!0,v(B),w(R=>R.filter(pe=>pe[0]!==s[0]))}else{const S=D("checkbox_and_name_only",[],s[0]);B[S]=!1,N.find(R=>R[0]===s[0])===void 0&&w(R=>[...R,s])}},m=()=>{E(!1),W(r),w(h)},C=()=>{$===!1&&Y?.()};return f.useEffect(()=>{if(t==="Completed"&&g==="account_group"){let s={};a.forEach(u=>{const x=D("checkbox_and_name_only",[],u.classId[0]);s=Object.assign({},s,{[x]:!1})}),v(s)}},[t]),o.jsx(ge,{onClickAway:m,children:o.jsxs(Ye,{isDisabled:U??!1,children:[O===!0?o.jsx(Te,{value:J(r),onClick:()=>{y?.(),i()}}):o.jsxs(Ge,{windowSize:_,children:[o.jsxs(Ve,{onClick:s=>{s.preventDefault(),y?.(),i()},children:[o.jsx(Je,{className:"dropdownIcon"}),J(r)]}),r==="classes"?o.jsx(Ke,{onClick:C,children:$?I.generatingReportByClass:o.jsxs(o.Fragment,{children:[j&&`${ee(j)}`,o.jsx(Ze,{})]})}):null]}),M?o.jsx(xe,{...q,children:o.jsx("form",{id:le(re),onSubmit:Q,children:o.jsxs(qe,{width:k.width.value(_),children:[o.jsx(te,{checked:g==="account_group",children:o.jsxs(se,{onClick:()=>g!=="account_group"?A("account_group"):null,children:[o.jsx("input",{type:"radio",value:"account_group",id:"accountGroups",name:"formgroup",onChange:s=>A(s.currentTarget.value),checked:g==="account_group",disabled:t!=="Completed"}),o.jsx(ae,{disabled:t!=="Completed",children:H===!0?I.accountGroups.dropdownLabel:I.accounts.dropdownLabel})]})}),o.jsx(Xe,{}),o.jsxs(te,{checked:g==="classes",children:[o.jsxs(se,{onClick:()=>t==="Completed"?A("classes"):null,children:[o.jsx("input",{type:"radio",value:"classes",id:"classes",name:"formgroup",onChange:s=>t==="Completed"?A(s.currentTarget.value):null,checked:g==="classes",disabled:t!=="Completed"}),o.jsx(ae,{disabled:t!=="Completed",children:I.classes.dropdownLabel})]}),$||t!=="Completed"?null:o.jsx(eo,{children:j&&`${ee(j)}`}),t==="Completed"?o.jsx(Ue,{id:"sectionformcontainer",children:o.jsx(oo,{reportId:e,firstMonthOfFY:c,nestedClassHierarchy:a,classesToBeFilteredOut:N,selectedView:g,nodeOpenStatus:B,showClassAccountNumber:b,onToggleCheck:l})}):o.jsx(Me,{backgroundColor:T.colors.grey3,foregroundColor:T.colors.grey4,width:k.width.value(_),height:k.height.value(_),animated:!0})]}),o.jsx(Qe,{children:o.jsx(be,{formId:le(re),primaryBtn:{label:ne.save,style:{width:k.buttonWidth.valuePx(_),height:k.buttonHeight.valuePx(_)},isLoading:!1,isDisabled:V,size:"small"},showCancel:!0,cancelBtn:{label:ne.cancel,style:{width:k.buttonWidth.valuePx(_),height:k.buttonHeight.valuePx(_)},onClick:m,size:"small",shouldResetOnCancel:!0},style:{padding:n.sp3}})})]})})}):null]})})}const oo=de.memo(He,K);export{no as c,ro as h};
|
|
@@ -0,0 +1,121 @@
|
|
|
1
|
+
import{X as U,u as G,M as y,w as he,l as _,j as r,Y as k,be as fe,aX as me,aV as ge,C as v,o as C,a5 as _e,c as be,bf as Se,m as w,D as B,H as J,bg as we,a7 as Ce,aB as ye,a_ as xe}from"./index-CWmqNC4C.js";import{b as P,f as K,n as b}from"./vendor-CnQcJ2Lu.js";import{m as z,l as Z}from"./analyticsHelper-3y6VD3VH-4b12iNu9.js";import{h as Oe}from"./ReportTableViewSelector-DOxnK0VV-Civ7jc9s.js";import{a as Q,p as Re}from"./TimeRangeSwitcher-BXXqX3m6-DBFCX_F3.js";import{M as Ae}from"./TimeframeSwitcherWithToggle-RH8QHQFd-tstiafTX.js";import{DownloadOverlayButton as Be}from"./DownloadOverlay-C5kTy4dA-91imq83n.js";import{R as ve,W as F,x as ee}from"./CollapsableReportTable-CyQ4sWuS-DlLXYbkM.js";import{T as te,I as se,L as j,D as Le,g as ne}from"./mapSectionWithAcOnlyToTreeNode-CO6ix8Ks-D7LvCMfp.js";import{s as Y}from"./mapTimeframeBalancesToTreeNode-CEDhLCxY-D-EnNeIG.js";import{d as Te,l as Pe}from"./mapTimeframeHeaderLoadingInProgressToTreeNode-Bf3d9TrW-Cgl9vOT0.js";import{d as ke}from"./mapLoadingInProgressToTreeNode-CKZd1bh4-H6b75J9k.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./TimeframeSwitcher-Bk9rjDg4-BqMFgpEZ.js";import"./page-detail-CWX5S47F-B6DjZ3Gi.js";import"./AccountRow-Ca-OS9TF-boQKAn9P.js";function oe({section:e,sectionId:t,numOfBalances:o,config:a}){return ee("no_filter",a.filterAccountsWithNilBalances,a.filterAccountGroupsWithNilBalances).compactedAccountGroupsSelector(e.accountGroups).map(n=>Ie({accountGroup:n,sectionType:t,numOfBalances:o,title:n.accountGroupName,isLastNode:!0,config:a}))}function Ie({accountGroup:e,sectionType:t,numOfBalances:o,title:a,isLastNode:n,config:d}){const p=F("section",[],a+t),l={children:[],id:p,isLastNode:n,reportElementData:{element:{kind:"section",title:a,sectionType:t,data:e,numOfBalances:o},config:d}},i=ee("no_filter",d.filterAccountsWithNilBalances,d.filterAccountGroupsWithNilBalances).compactedAccountsSelectorVariant(e.accounts),u=i.map((g,h)=>ne({account:g,sectionType:t,numOfBalances:o,title:g.account.accountName,config:d,isLastNode:h===i.length-1,parentNodeIDs:[p],ancestorMetadata:{subAccountAncestorMetadata:[{depth:0,hasSibling:i.length>1,hasChildren:g.children.length>0,isLastNode:h===i.length-1}]}}));return l.children.push(...u),l}function ae({sectionWithAcOnly:e,sectionType:t,numOfBalances:o,config:a}){return e.accounts.map((n,d)=>ne({account:n,sectionType:t,numOfBalances:o,title:n.account.accountName,config:a,isLastNode:d===e.accounts.length-1,parentNodeIDs:[],ancestorMetadata:{subAccountAncestorMetadata:[{depth:0,hasSibling:e.accounts.length>1,hasChildren:n.children.length>0,isLastNode:d===e.accounts.length-1}]}}))}function ie({balances:e,config:t,nodeId:o}){return{children:[],id:o??F("timeframe_header",[]),isLastNode:!1,reportElementData:{element:{kind:t.mode==="actual_vs_forecast"?"timeframe_headers_with_forecast":"timeframe_headers",title:"",data:e,numOfBalances:e.length},config:t}}}function Ne(e,t,o,a=!0){Object.assign(e.config,t);const n=ce(o),d=Y({balances:n,config:t});return{config:t,headerNodes:a?[d]:[],contentNodes:[d,...e.contentNodes.slice(1)]}}const ce=e=>{switch(e.reportId){case"profit_and_loss":{const t=e;return t.sections.expenses.balances.length>0?[...t.sections.expenses.balances,...t.sections.expenses.additionalBalances]:[...t.sections.income.balances,...t.sections.income.additionalBalances]}case"profit_and_loss_by_classes":{const t=e;return t.sections.expenses.balances.length>0?[...t.sections.expenses.balances,...t.sections.expenses.additionalBalances]:[...t.sections.income.balances,...t.sections.income.additionalBalances]}case"cash_flow":{const t=e;return[...t.calculatedSections.operatingActivitiesTotal.balances,...t.calculatedSections.operatingActivitiesTotal.additionalBalances]}case"balance_sheet":{const t=e;let o=[];return Object.keys(t.sections).forEach(a=>{t.sections[a].balances.length>0&&(o=[...t.sections[a].balances,...t.sections[a].additionalBalances])}),o}default:return[]}};function Me(e,t,o=!0){const a=y.getLocalizedStrings().reports.sections,n=y.getLocalizedStrings().reports.balanceSheet,d=ce(e),p=t.mode!=null&&t.mode==="this_period_vs_period_before"&&d.length>1?e.filter.balancesRange.numberOfPeriods+2:e.filter.balancesRange.numberOfPeriods+1,l=ie({balances:d,config:t}),i=[];return i.push(l),Object.keys(e.rootSectionsWithSubSectionIds).forEach(u=>{const g=F("title_string_only",[],u),h={children:[],id:g,isLastNode:!0,reportElementData:{element:{kind:"title_string_only",title:a[u],data:void 0,numOfBalances:0},config:t}};i.push(h),e.rootSectionsWithSubSectionIds[u].forEach(s=>{if(_.isBalanceSheetReportViewSectionID(s)===!0)if(e.sections[s].accountGroups.length>0)if(s==="equity"){const c=oe({sectionId:s,section:e.sections[s],numOfBalances:p,config:t});i.push(...c)}else i.push(te({section:e.sections[s],sectionType:s,numOfBalances:p,title:n[s],isLastNode:!0,config:t}));else if(s==="equity"){const c=ae({sectionWithAcOnly:e.sections[s],sectionType:s,numOfBalances:p,config:t});i.push(...c)}else{const c=e.sections[s];i.push(se({sectionWithAcOnly:c,sectionType:s,numOfBalances:p,title:n[s],isLastNode:!0,config:t}))}else _.isBalanceSheetReportViewCalculatedSectionID(s)===!0&&i.push(j({calculatedSection:e.calculatedSections[s],numOfBalances:p,title:n[s],isLastNode:!0,config:t}))})}),{config:t,headerNodes:o?[l]:[],contentNodes:i}}function Fe({calculatedSection:e,numOfBalances:t,title:o,isLastNode:a,config:n}){return{children:[],id:F("calculated_section_type1",[],o),isLastNode:a,reportElementData:{element:{kind:"calculated_section_type1",title:o,data:e,numOfBalances:t},config:n}}}function $e(e,t,o=!0){const a=y.getLocalizedStrings().reports.sections,n=y.getLocalizedStrings().reports.cashFlow,d=[...e.calculatedSections.operatingActivitiesTotal.balances,...e.calculatedSections.operatingActivitiesTotal.additionalBalances],p=t.mode!=null&&t.mode==="this_period_vs_period_before"&&d.length>1?e.filter.balancesRange.numberOfPeriods+2:e.filter.balancesRange.numberOfPeriods+1,l=ie({balances:d,config:t}),i=[];return Object.keys(e.rootSectionsWithSubSectionIds).forEach(u=>{const g=F("title_string_only",[],u),h={children:[],id:g,isLastNode:!0,reportElementData:{element:{kind:"title_string_only",title:a[u],data:void 0,numOfBalances:0},config:t}};i.push(h),e.rootSectionsWithSubSectionIds[u].forEach(s=>{if(_.isCashFlowReportViewSectionID(s)===!0)if(e.sections[s].accountGroups.length>0){const c=oe({sectionId:s,section:e.sections[s],numOfBalances:p,config:t});i.push(...c)}else{const c=ae({sectionWithAcOnly:e.sections[s],sectionType:s,numOfBalances:p,config:t});i.push(...c)}else _.isCashFlowReportViewCalculatedSectionType1ID(s)===!0?i.push(Fe({calculatedSection:e.calculatedSections[s],numOfBalances:p,title:n[s],isLastNode:!0,config:t})):_.isCashFlowReportViewCalculatedSectionID(s)===!0&&i.push(j({calculatedSection:e.calculatedSections[s],numOfBalances:p,title:n[s],isLastNode:!0,config:t}))})}),{config:t,headerNodes:o?[l]:[],contentNodes:[l,...i]}}function je(e,t,o=!0,a=!1){const n=y.getLocalizedStrings().reports,d=y.getLocalizedStrings().common;let p=[];const l=[];let i=[];if(a===!0){const u=Te({title:d.loading,balances:[],config:t});u.reportElementData.element.numOfBalances=6,o&&(i=[u]),l.push(u),[...Array(8)].forEach((g,h)=>{const s=h%4;let c=Pe[s];const x=ke({title:`${h}+${c}`,balances:p,config:t});x.reportElementData.element.numOfBalances=6,l.push(x)})}else{const u=e.sections.expenses.balances.length>0?[...e.sections.expenses.balances,...e.sections.expenses.additionalBalances]:e.sections.income.balances.length>0?[...e.sections.income.balances,...e.sections.income.additionalBalances]:e.sections.cogs.balances.length>0?[...e.sections.cogs.balances,...e.sections.cogs.additionalBalances]:e.sections.otherIncome.balances.length>0?[...e.sections.otherIncome.balances,...e.sections.otherIncome.additionalBalances]:e.sections.otherExpenses.balances.length>0?[...e.sections.otherExpenses.balances,...e.sections.otherExpenses.additionalBalances]:[],g=Y({balances:u,config:t}),h=t.mode!=null&&t.mode==="this_period_vs_period_before"&&u.length>1?e.filter.balancesRange.numberOfPeriods+2:e.filter.balancesRange.numberOfPeriods+1;l.push(g),o&&(i=[g]),e.idsInOrder.forEach(s=>{if(_.isPandLReportViewSectionID(s)===!0){const c=e.sections[s];c!=null&&l.push(Le({section:c,sectionType:s,numOfBalances:h,title:n.sections[s],isLastNode:!0,config:t}))}else if(_.isPandLReportViewCalculatedSectionID(s)===!0){const c=e.calculatedSections[s];c!=null&&l.push(j({calculatedSection:c,numOfBalances:h,title:n.sections[s],isLastNode:!0,config:t}))}})}return{config:t,headerNodes:i,contentNodes:l}}function Ee(e,t,o=!0){const a=y.getLocalizedStrings().reports,n=e.sections.expenses!=null&&e.sections.expenses.balances.length>0?[...e.sections.expenses.balances,...e.sections.expenses.additionalBalances]:e.sections.income!=null&&e.sections.income.balances.length>0?[...e.sections.income.balances,...e.sections.income.additionalBalances]:e.sections.cogs!=null&&e.sections.cogs.balances.length>0?[...e.sections.cogs.balances,...e.sections.cogs.additionalBalances]:e.sections.otherIncome!=null&&e.sections.otherIncome.balances.length>0?[...e.sections.otherIncome.balances,...e.sections.otherIncome.additionalBalances]:e.sections.otherExpenses!=null&&e.sections.otherExpenses.balances.length>0?[...e.sections.otherExpenses.balances,...e.sections.otherExpenses.additionalBalances]:[],d=t.mode!=null&&t.mode==="this_period_vs_period_before"&&n.length>1?e.filter.balancesRange.numberOfPeriods+2:e.filter.balancesRange.numberOfPeriods+1,p=Y({balances:n,config:t}),l=[];return l.push(p),e.idsInOrder.forEach(i=>{if(_.isPandLReportViewSectionID(i)===!0&&(e.sections[i].accountGroups.length>0?l.push(te({section:e.sections[i],sectionType:i,numOfBalances:d,title:a.sections[i],isLastNode:!0,config:t})):l.push(se({sectionWithAcOnly:e.sections[i],sectionType:i,numOfBalances:d,title:a.sections[i],isLastNode:!0,config:t}))),_.isPandLReportViewCalculatedSectionID(i)===!0){const u=e.calculatedSections[i];u!=null&&l.push(j({calculatedSection:u,numOfBalances:d,title:a.sections[i],isLastNode:!0,config:t}))}}),{config:t,headerNodes:o?[p]:[],contentNodes:l}}const q={contentPaddingLeft:new v(w[0],w[0],w[0]),contentPaddingRight:new v(w[3],w[3],w[8])},Ve=b.div`
|
|
2
|
+
height: ${e=>e.height}px;
|
|
3
|
+
width: 99.9%;
|
|
4
|
+
margin-top: ${C.sp2};
|
|
5
|
+
background-color: ${e=>e.theme.colors.grey4};
|
|
6
|
+
`;function De({report:e,displayOrder:t,reportFormat:o,analytics:a,isZeniUser:n,onAdditionalBalanceSelectionChanged:d,onAccountBalanceClick:p,onTableScroll:l,onElementCollapseStateChanged:i,isCompareModeOn:u,isPageFetchInProgress:g=!1}){const h=U(),s=G(),[c,x]=P.useState(void 0),[O,E]=P.useState(void 0),L=!(h==="small"||h==="medium-compact"),V="name+balances_actual",$=u===!0?"this_period_vs_period_before":"none",R=()=>{let m=[];switch(e.reportId){case"profit_and_loss":{const f=e;m=(f.sections.expenses.balances.length>0?f.sections.expenses:f.sections.income).additionalBalances.map(D=>_.toTimeframeTick(D));break}case"profit_and_loss_by_classes":{const f=e,D=(f.sections.expenses?.balances?.length??0)>0?f.sections.expenses:null,pe=(f.sections.income?.balances?.length??0)>0?f.sections.income:null,H=D??pe;H?.additionalBalances!=null&&(m=H.additionalBalances.map(ue=>_.toTimeframeTick(ue)));break}case"cash_flow":{m=e.calculatedSections.investingActivitiesTotal.additionalBalances.map(f=>_.toTimeframeTick(f));break}case"balance_sheet":{m=e.sections.equity.additionalBalances.map(f=>_.toTimeframeTick(f));break}}return m.length>0&&m.find(f=>f.balanceType==="this_period_vs_last_period")?"compare_mode_amount":"compare_mode_percent"};P.useEffect(()=>{const m={reportId:e.reportId,bookCloseDate:e.bookCloseDate,mode:$,firstMonthOfFY:e.firstMonthOfFY,filterAccountsWithNilBalances:"filter_actual_nil_balances",filterAccountGroupsWithNilBalances:"filter_actual_forecast_empty_account_group_balances",displayOrder:t,reportFormat:o,dataAvailable:e.dataAvailable,showNegativeAmountInParenthesis:xe(),showClassAccountNumber:n};if(c==null||!J(O,e)||g===!0){const f=ze(e,m,L,g);E(e),x(f)}else{const f=Ne(c,m,e,L);x(f)}},[u,e,g]);const[A,N]=P.useState(5),M=m=>{const f=m+135;N(f)},de=m=>m?.trackPageLoaded(We(e));return c!=null?r.jsxs(r.Fragment,{children:[r.jsx(we,{analytics:a,onLoad:de}),r.jsx(Ve,{height:A,children:r.jsx(ve,{backgroundColor:new Ce(s.colors.grey4),rootNodes:c,type:V,compareMode:R(),isSticky:{isStickyHeader:L,isStickyName:L},treeNodePadding:{left:q.contentPaddingLeft.value(h),right:q.contentPaddingRight.value(h)},onAccountClick:p==null?void 0:(m,f)=>{p(m,f)},nodeOpenStatus:e.uiState.nodeCollapseState,scrollPosition:e.uiState.scrollPosition,onCompareModeChanged:m=>d?.(m==="compare_mode_amount"?"this_period_vs_last_period":"this_period_vs_last_period_percent","dropdown"),onNodeCollapseToggled:(m,f)=>i?.(e.reportId,m,f),onReportTableHeightChanged:M,onScroll:m=>l?.(e.reportId,m)})})]}):null}const ze=(e,t,o=!0,a=!1)=>{switch(e.reportId){case"profit_and_loss":return Ee(e,t,o);case"profit_and_loss_by_classes":return je(e,t,o,a);case"cash_flow":return $e(e,t,o);case"balance_sheet":return Me(e,t,o);default:return}},We=e=>{switch(e.reportId){case"profit_and_loss":case"profit_and_loss_by_classes":return B.Event.profitAndLoss;case"cash_flow":return B.Event.cashFlow;case"balance_sheet":return B.Event.balanceSheet;default:return B.Event.reports}},Ue=b.div`
|
|
7
|
+
display: flex;
|
|
8
|
+
flex-direction: row;
|
|
9
|
+
border-bottom: 1px solid ${e=>e.theme.colors.grey3};
|
|
10
|
+
justify-content: center;
|
|
11
|
+
width: 100%;
|
|
12
|
+
align-items: center;
|
|
13
|
+
`,Ge=b.div`
|
|
14
|
+
display: flex;
|
|
15
|
+
position: relative;
|
|
16
|
+
`,Ye=b(ye)`
|
|
17
|
+
padding: 12px;
|
|
18
|
+
color: ${e=>e.isSelected?e.theme.colors.primary:e.theme.colors.hero};
|
|
19
|
+
cursor: ${e=>e.isSelected?"default":"pointer"};
|
|
20
|
+
margin: ${e=>e.spaceAround?`0 ${C.sp4}`:0};
|
|
21
|
+
display: flex;
|
|
22
|
+
flex-direction: column;
|
|
23
|
+
align-items: center;
|
|
24
|
+
&:hover {
|
|
25
|
+
color: ${e=>e.theme.colors.primary};
|
|
26
|
+
}
|
|
27
|
+
`,He=b.div`
|
|
28
|
+
height: 2px;
|
|
29
|
+
background-color: ${e=>e.theme.colors.primary};
|
|
30
|
+
border-radius: 1px;
|
|
31
|
+
position: absolute;
|
|
32
|
+
bottom: 0;
|
|
33
|
+
left: 0;
|
|
34
|
+
transition: left 0.35s;
|
|
35
|
+
&.profit_and_loss {
|
|
36
|
+
width: 106px;
|
|
37
|
+
left: 0;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
&.profit_and_loss_by_classes {
|
|
41
|
+
width: 106px;
|
|
42
|
+
left: 0;
|
|
43
|
+
}
|
|
44
|
+
&.balance_sheet {
|
|
45
|
+
width: 114px;
|
|
46
|
+
left: 30%;
|
|
47
|
+
}
|
|
48
|
+
&.cash_flow {
|
|
49
|
+
width: 160px;
|
|
50
|
+
left: 63%;
|
|
51
|
+
}
|
|
52
|
+
`;function Ze({reportId:e,isSelected:t,onClick:o}){const a=n=>{switch(n){case"profit_and_loss":case"profit_and_loss_by_classes":case"balance_sheet":case"cash_flow":return y.getLocalizedStrings().reportTitleById[n];default:return console.warn("Unsupported report"),""}};return r.jsx(Ye,{"data-testid":k("reportSwitcher",e),onClick:()=>{t===!1&&o(e)},isSelected:t,spaceAround:e==="balance_sheet",children:a(e)})}function qe({reportIds:e,selectedReport:t,onReportSelectionChanged:o}){const a=n=>{o?.(n)};return r.jsx(Ue,{"data-testid":k("report-switcher-container"),children:r.jsx(Ge,{"data-testid":k("report-switcher-content"),children:e.map(n=>n!=="profit_and_loss_by_classes"&&r.jsxs("div",{children:[r.jsx(Ze,{reportId:n,isSelected:t===n,onClick:a}),r.jsx(He,{className:`Slider ${t}`})]},`reportSegment-${n}`))})})}const I={contentContainerLeftRightMargin:new v(w[3],w[3],w[8]),contentRightPadding:new v(w[3],w[3],w[8]),tickSkelectionContainerWidth:new v(343,600,905,1240)},Xe=new v(4,4),Je=new v(4,4),Ke={selectedNumberOfPeriods:(e,t)=>e?Je.value(t):Xe.value(t)},Qe=b.div`
|
|
53
|
+
display: flex;
|
|
54
|
+
flex: 1 1 auto;
|
|
55
|
+
min-height: 100%;
|
|
56
|
+
flex-direction: column;
|
|
57
|
+
background-color: ${e=>e.theme.colors.grey4};
|
|
58
|
+
`,et=b.div`
|
|
59
|
+
display: flex;
|
|
60
|
+
flex: 1 1 auto;
|
|
61
|
+
flex-direction: column;
|
|
62
|
+
height: calc(100vh - ${C.sp10});
|
|
63
|
+
margin: ${e=>`${C.sp2} ${C.sp0} ${C.sp0} ${I.contentContainerLeftRightMargin.valuePx(e.windowSize)}`};
|
|
64
|
+
`,tt=b.div`
|
|
65
|
+
display: flex;
|
|
66
|
+
width: 100%;
|
|
67
|
+
height: 100%;
|
|
68
|
+
flex-direction: row;
|
|
69
|
+
justify-content: center;
|
|
70
|
+
align-items: center;
|
|
71
|
+
background-color: ${e=>e.theme.colors.grey4};
|
|
72
|
+
`,st=b.div`
|
|
73
|
+
position: absolute;
|
|
74
|
+
margin-top: ${e=>e.windowSize==="small"?"230px":"195px"};
|
|
75
|
+
background-color: ${e=>e.theme.colors.grey4};
|
|
76
|
+
`,nt=b.div`
|
|
77
|
+
display: flex;
|
|
78
|
+
width: 100%;
|
|
79
|
+
height: calc(100% - 60px);
|
|
80
|
+
flex-direction: column;
|
|
81
|
+
justify-content: center;
|
|
82
|
+
align-items: center;
|
|
83
|
+
`,ot=b.div`
|
|
84
|
+
height: 96px;
|
|
85
|
+
width: 96px;
|
|
86
|
+
background: ${e=>e.theme.colors.background};
|
|
87
|
+
border-radius: 50%;
|
|
88
|
+
cursor: pointer;
|
|
89
|
+
& svg {
|
|
90
|
+
margin: ${C.sp5};
|
|
91
|
+
color: ${e=>e.theme.colors.grey1};
|
|
92
|
+
}
|
|
93
|
+
&:hover {
|
|
94
|
+
& svg {
|
|
95
|
+
color: ${e=>e.theme.colors.primary};
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
`,at=b(_e)`
|
|
99
|
+
margin-top: ${C.sp3};
|
|
100
|
+
color: ${e=>e.theme.colors.hero};
|
|
101
|
+
`,re=({style:e,isLoading:t})=>t?r.jsx(tt,{style:e,children:r.jsx(be,{size:"ExtraLarge",start:!0})}):null,S=e=>{switch(e.selectedReport){case"cash_flow":return e.cashFlowReport;case"balance_sheet":return e.balanceSheetReport;case"profit_and_loss_by_classes":return e.profitAndLossClassesViewReport;case"profit_and_loss":default:return e.profitAndLossReport}},W=({selectedReport:e,isCompareModeOn:t,windowSize:o})=>{const a=e.availableNumberOfPeriods;let n=Ke.selectedNumberOfPeriods(t,o);return a!=null&&(n=Math.min(n,a)),n};function jt(e){const t=U(),o=G(),{onUpdateAccountViewMode:a,onUpdateClassesToFilterOut:n,onAdditionalBalanceSelectionChanged:d,onTimeframeSelectionChanged:p,isCompareMode:l,selectedReportAndTimeframeFetchState:i,onClickMenuIcon:u}=e,g=(R,A)=>{R!==h?.accountViewMode&&a?.(R),A&&n?.(A)};P.useEffect(()=>{if(e.fetchState==="Completed"){const R=S(e).filter.additionalBalances;e.onUpdateHighlightedNumberOfPeriods?.(R,e.isCompareMode,W({selectedReport:S(e),isCompareModeOn:e.isCompareMode,windowSize:t}),e.balancesInTimeframe)}},[t,e.fetchState]);const h=rt(e),s=y.getLocalizedStrings().reports.common,c=he(),x=c!=null&&_.hasInvestorBankerLevelAccess(c.loggedInUserRole)?"detailed":"more_detailed",O=c!=null&&_.hasInvestorBankerLevelAccess(c.loggedInUserRole)?["more_detailed"]:[];e.showAccountGroups===!1&&h?.accountViewMode==="account_group"&&O.push("detailed");const[E,L]=K.useState(O.includes("more_detailed")?"detailed":"more_detailed"),V={selectedFormat:E,disabledFormatForRole:O,roleBasedClassesSelectedFormat:x,setSelectedFormat:L};if(i.fetchState==="Error"||e.fetchState==="Error")return r.jsxs(nt,{"data-testid":k("report-page-error-reload-page"),children:[r.jsx(ot,{"data-testid":k("report-page-error-reload-icon"),onClick:e.onReloadReport,children:r.jsx(fe,{})}),r.jsx(at,{children:s.failed})]});const $=e.fetchState;if(i.fetchState!=="Completed"&&($==="In-Progress"||$==="Not-Started"))return r.jsx(re,{isLoading:!0});{const R=r.jsx(me,{downloadReportOptions:{type:"detailed_menu",downloadMenu:{detailedMenu:h!=null&&e.dataAvailable!=null?r.jsx(Be,{defaultOptions:h,analytics:e.analytics,referrer:T(e.selectedReport),dataAvailable:e.dataAvailable,downloadState:e.downloadState,statementEndPoint:e.statementEndPoint,authParams:e.authParams,currentTenantCompanyName:e.currentTenantCompanyName,classesFetchState:e.profitAndLossClassesViewReport.fetchState,showAccountGroups:e.showAccountGroups,reportFormatProps:V,updateDownloadStateHandler:e.updateDownloadStateHandler,onUpdateDisplayOrder:e.onUpdateDisplayOrder,onUpdateReportFormat:e.onUpdateReportFormat,onClose:()=>null,onOpenAccountViewMode:e.onOpenAccountViewMode,onSaveClickHandler:g,onThisPeriodChanged:e.onThisPeriodChanged,onAdditionalBalanceSelectionChanged:(A,N,M)=>{d(l,A,N,M)},onTimeframeSelectionChanged:(A,N,M)=>{p?.(A,N,M)}}):r.jsx(r.Fragment,{})}}});return r.jsxs(Qe,{children:[r.jsx(ge,{title:y.getLocalizedStrings().reports.title,backgroundColor:o.colors.grey4,onBackClick:e.onBackClick,showMenuIcon:t==="medium-compact"||t==="small",onClickMenuIcon:u,rightSideComponent:R,downloadPresent:!0,source:"ReportsPage",hideSearchBtn:!0}),r.jsx(it,{...e})]})}}function it(e){const t=U(),o=G(),a=P.useRef(null),{selectedReportAndTimeframeFetchState:n}=e,d=["month","quarter","year"],p=(s,c)=>{e.analytics?.trackCompareFilterChange(s==="this_period_vs_last_period_percent"?"percentage":"amount",T(e.selectedReport),z(e.selectedTimeframe),c);const x=Array.from(new Set(s==="this_period_vs_last_period_percent"?[...S(e).filter.additionalBalances,"this_period_vs_last_period_percent"].filter(O=>O!=="this_period_vs_last_period"):[...S(e).filter.additionalBalances,"this_period_vs_last_period"].filter(O=>O!=="this_period_vs_last_period_percent")));e.onAdditionalBalanceSelectionChanged?.(e.isCompareMode,x,W({selectedReport:S(e),isCompareModeOn:e.isCompareMode,windowSize:t}))},l=(s,c)=>{s!==e.profitAndLossClassesViewReport?.uiState.accountViewMode&&e.onUpdateAccountViewMode?.(s),c&&e.onUpdateClassesToFilterOut?.(c)},i=S(e),u=a.current?.clientWidth??I.tickSkelectionContainerWidth.value(t),g=_.reduceAllFetchState([e.reportsResyncFetchState,e.profitAndLossClassesViewReport]).fetchState==="In-Progress"&&e.profitAndLossClassesViewReport.uiState.accountViewMode==="classes",h=n.fetchState==="In-Progress";return r.jsxs(et,{windowSize:t,"data-testid":k("reports-page-content-container"),children:[r.jsx(pt,{windowSize:t,ref:a,children:r.jsx(Ae,{timeframe:{allowedTimeframes:d,selectedTimeframe:e.selectedTimeframe,onTimeframeSelectionChanged:s=>{e.analytics?.trackTimeframeSwitch(z(s),T(e.selectedReport)),e.onTimeframeSelectionChanged?.(s,!0)}},toggle:{label:y.getLocalizedStrings().compareSwitchLabel,isOn:e.isCompareMode,onValueChanged:s=>{e.analytics?.trackCompareMode(s,T(e.selectedReport),z(e.selectedTimeframe));const c=S(e).filter;e.onAdditionalBalanceSelectionChanged?.(s,c.additionalBalances,c.balancesRange.numberOfPeriods)}}})}),n.fetchState==="Not-Started"||n.fetchState==="In-Progress"?r.jsx(ht,{windowSize:t,children:r.jsx(ft,{children:r.jsx(Se,{width:u,height:Q-w[2],backgroundColor:o.colors.grey3,style:{borderRadius:C.sp2}})})}):r.jsx(ut,{windowSize:t,children:r.jsx(Re,{firstMonthOfFY:i.firstMonthOfFY,timeframe:e.selectedTimeframe,timeframeTicks:e.allTimeframeTicks,selection:{selectedTicks:X(e.allTimeframeTicks,e.selectedCOABalancesRange),highlightedOfSelectedTicks:X(e.allTimeframeTicks,e.selectedCOABalancesRange)},onClick:(s,c)=>{e.analytics?.trackDateRangeFilterChange(T(e.selectedReport),"range filter",e.isCompareMode,Z(i.firstMonthOfFY,e.selectedTimeframe,c)),e.onThisPeriodChanged?.(c,W({selectedReport:S(e),isCompareModeOn:e.isCompareMode,windowSize:t}))},onSelectionChanged:s=>{const c=ct(e.allTimeframeTicks,s.fromEnd);e.analytics?.trackDateRangeFilterChange(T(e.selectedReport),"range filter",e.isCompareMode,Z(i.firstMonthOfFY,e.selectedTimeframe,c.thisPeriod)),e.onCOABalancesRangeChanged?.(c)}})}),r.jsx(mt,{windowSize:t,children:r.jsx(qe,{reportIds:["profit_and_loss","balance_sheet","cash_flow","profit_and_loss_by_classes"],selectedReport:e.selectedReport,onReportSelectionChanged:s=>{e.analytics?.trackPageLoaded(lt(s)),s==="profit_and_loss"&&e.profitAndLossClassesViewReport?.uiState.accountViewMode==="classes"?e.onReportSelectionChanged?.("profit_and_loss_by_classes"):e.onReportSelectionChanged?.(s)}})}),n.fetchState==="Not-Started"||n.fetchState==="In-Progress"?r.jsx(re,{style:{boxShadow:"none",backgroundColor:"inherit"},isLoading:h}):r.jsxs(r.Fragment,{children:[r.jsx(le,{report:S(e),displayOrder:e.displayOrder,reportFormat:e.reportFormat,analytics:e.analytics,onAdditionalBalanceSelectionChanged:p,onAccountBalanceClick:e.onAccountBalanceClick,onElementCollapseStateChanged:e.onElementCollapseStateChanged,onTableScroll:e.onTableScroll,isCompareModeOn:e.isCompareMode,isZeniUser:e.isZeniUser,isPageFetchInProgress:g}),_.isPAndLReport(e.selectedReport)?r.jsx(st,{windowSize:t,children:r.jsx(Oe,{reportId:e.selectedReport,firstMonthOfFY:e.profitAndLossClassesViewReport.firstMonthOfFY,nodes:e.profitAndLossClassesViewReport?.classHierarchy,classesListFetchState:e.profitAndLossClassesViewReport?.fetchState,selectedView:e.profitAndLossClassesViewReport?.uiState.accountViewMode,showClassAccountNumber:e.isZeniUser,showAccountGroups:e.showAccountGroups,onSaveClick:l,classesToBeFilteredOut:e.profitAndLossClassesViewReport?.classesToFilterOut,onOpenAccountViewMode:e.onOpenAccountViewMode,onResyncReports:e.onResyncReports,isPageFetchInProgress:g,lastRefreshSuccessTime:e.profitAndLossClassesViewReport?.status?.lastRefreshSuccessTime})}):null]})]})}const X=(e,t)=>{if(t.orderBy!=="ascending_date")throw new Error("Invalid ordering of dates!!");let o=e.length-1;return t.thisPeriod!=null&&(o=e.findIndex(a=>a.startDate.isSame(t.thisPeriod.startDate,"date")&&a.endDate.isSameOrBefore(t.thisPeriod.endDate))),{startIndex:Math.max(o+1-t.numberOfPeriods,0),length:t.numberOfPeriods}},ct=(e,t)=>{const o=e.length-1-t.offsetFromEnd;return{thisPeriod:e[o],numberOfPeriods:t.length,orderBy:"ascending_date"}};function rt(e){let t=e.selectedCOABalancesRange.thisPeriod;if(t==null){const p=e.displayOrder,l=e.profitAndLossReport.sections.expenses!=null&&e.profitAndLossReport.sections.expenses.balances.length>0?e.profitAndLossReport.sections.expenses:e.profitAndLossReport.sections.income;if(l!=null&&l.balances.length>0){const i=p==="ascending_date"?l.balances.length-1:0;t=l.balances[i]}}const o=S(e).firstMonthOfFY,a=S(e).bookCloseDate,n=S(e).dataAvailable,d=S(e).filter.additionalBalances;if(t!=null)return{localeId:y.getAppLocaleID(),showNegativeAmountInParenthesis:!0,filterAccountsWithNilBalances:"filter_actual_nil_balances",filterAccountGroupsWithNilBalances:"filter_actual_forecast_empty_account_group_balances",includeCoverPage:!0,companyName:e.currentTenantCompanyName,statementFileType:"pdf",statements:e.profitAndLossClassesViewReport.uiState.accountViewMode==="account_group"?["profit_and_loss","balance_sheet","cash_flow"]:["profit_and_loss_by_classes","balance_sheet","cash_flow"],firstMonthOfFY:o,bookCloseDate:a,dataAvailable:n,timeframe:e.selectedTimeframe,additionalBalances:d,format:e.reportFormat,balancesFilter:{thisPeriod:t,numberOfPeriods:e.selectedCOABalancesRange.numberOfPeriods,orderBy:e.displayOrder},accountViewMode:e.profitAndLossClassesViewReport.uiState.accountViewMode,nestedClassHierarchy:e.profitAndLossClassesViewReport?.classHierarchy,classesToFilterOut:e.profitAndLossClassesViewReport.classesToFilterOut,showClassAccountNumber:e.isZeniUser,isZeniCOAUsed:e.isZeniCOAUsed}}const T=e=>{switch(e){case"profit_and_loss":case"profit_and_loss_by_classes":return"Profit & Loss";case"balance_sheet":return"Balance Sheet";case"cash_flow":return"Cash Flow";default:return"Reports"}},lt=e=>{switch(e){case"profit_and_loss":case"profit_and_loss_by_classes":return B.Event.profitAndLoss;case"cash_flow":return B.Event.cashFlow;case"balance_sheet":return B.Event.balanceSheet;default:return B.Event.reports}},le=K.memo(De,(e,t)=>dt(e,t,["report","analytics","isCompareModeOn","isZeniUser","isPageFetchInProgress"]));le.displayName="Reports table";const dt=(e,t,o)=>o.reduce((a,n)=>a===!0&&J(e[`${n}`],t[`${n}`]),!0),pt=b.div`
|
|
102
|
+
padding-right: ${e=>I.contentRightPadding.valuePx(e.windowSize)};
|
|
103
|
+
`,ut=b.div`
|
|
104
|
+
margin-top: ${C.sp3};
|
|
105
|
+
padding-right: ${e=>I.contentRightPadding.valuePx(e.windowSize)};
|
|
106
|
+
`,ht=b.div`
|
|
107
|
+
margin-top: ${C.sp3};
|
|
108
|
+
padding-right: ${e=>I.contentRightPadding.valuePx(e.windowSize)};
|
|
109
|
+
`,ft=b.div`
|
|
110
|
+
display: flex;
|
|
111
|
+
flex-direction: row;
|
|
112
|
+
justify-content: flex-start;
|
|
113
|
+
min-height: ${Q}px;
|
|
114
|
+
box-sizing: content-box;
|
|
115
|
+
width: 100%;
|
|
116
|
+
align-items: center;
|
|
117
|
+
justify-content: center;
|
|
118
|
+
`,mt=b.div`
|
|
119
|
+
margin-top: ${C.sp4};
|
|
120
|
+
padding-right: ${e=>I.contentRightPadding.valuePx(e.windowSize)};
|
|
121
|
+
`;export{jt as default};
|