@zeniai/web-cockpit-ui 1.15.55-dev → 1.15.56-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-C98HijMx-DIRaMQaw.js → ACHDetailsPage-CfGEDzSb-BGyn6Hh2.js} +1 -1
- package/dist/assets/{AIPerformancePage-DvIqqfUW-B5ddcrLl.js → AIPerformancePage-BWhcStZE-CeYODf8q.js} +29 -29
- package/dist/assets/AccountInfoPage-D6sv-ieC-B4PaH9ex.js +18 -0
- package/dist/assets/{AccountInfoPageContent-Bjoy7kSM-kNnrLnJI.js → AccountInfoPageContent-XBo-oJV1-DWd-5Z8N.js} +15 -15
- package/dist/assets/{AccountLockedInfoModal-DisEYsUS-zfxK1-20.js → AccountLockedInfoModal-DTEWzR6U-CswnB2Ho.js} +10 -10
- package/dist/assets/{AccountReconDetailsDrawerPage-3lMeeEsP-CBHWuQnb.js → AccountReconDetailsDrawerPage-DwzrCq7I-D9C1tnWs.js} +20 -20
- package/dist/assets/AccountRow-BsjoBGWz-XKpYWJFn.js +298 -0
- package/dist/assets/{AccountsPromoCardStack-94l6cw3--BqluiECW.js → AccountsPromoCardStack-D-iNswM8-BCWgVD2M.js} +18 -18
- package/dist/assets/AddAddressForCardDrawer-D7IEsbzd-9AcgaTTK.js +6 -0
- package/dist/assets/{AddToWalletPage-BFRK3Cz9--H2684Y8.js → AddToWalletPage-DX8xInYJ-DCTNQyem.js} +12 -12
- package/dist/assets/{AgingReportsPage-B4XD0NxM-C9hPpgrJ.js → AgingReportsPage-CXj1Tifk-Cx88sSbv.js} +16 -16
- package/dist/assets/{AllUserItems-fjv8Ov4s-D0Yn7Cw3.js → AllUserItems-DU78kWqE-BO6rFyuD.js} +13 -13
- package/dist/assets/{ApAgingDetailPage-D5ATi6Rg-c01emJHv.js → ApAgingDetailPage-BV5m2F3a-BSgBSoy0.js} +3 -3
- package/dist/assets/AppBasePage-1U1M1WD9-CXysaPqS.js +71 -0
- package/dist/assets/AppDrawerContent-ilzYI49f-BI7w7tno.js +92 -0
- package/dist/assets/ApprovalRulesSettingsPage-CJ4xz_hQ-D5sZOOO8.js +47 -0
- package/dist/assets/{ArAgingChart-CW-BCqsC-D14dt6qa.js → ArAgingChart-B0wn2vDP-ClJ7YwbK.js} +4 -4
- package/dist/assets/{ArAgingDetailPage-C4wzs4jI-BEFfnJg4.js → ArAgingDetailPage-C-agUa8y-C_TJ2L21.js} +2 -2
- package/dist/assets/{AttachmentView-NLynK_4B-BnApX40v.js → AttachmentView-9Vrv319r-czchKUV5.js} +9 -9
- package/dist/assets/{BankAccountSection-BvIYx2co-BamiC5Ie.js → BankAccountSection-Bv9Iogxn-gY4dwkU_.js} +13 -13
- package/dist/assets/{BankAccountWarningSection-CqyeSTWe-C-YFtMtw.js → BankAccountWarningSection-DAxaKIg3-SHVqFPrV.js} +7 -7
- package/dist/assets/{BankConnectionsSettingsPage-C8lTCBWz-C-LvS4NN.js → BankConnectionsSettingsPage-ZUWw604G-5JFfnAUm.js} +29 -29
- package/dist/assets/BillDetailPage-Cf4PYoYQ-DJR4Ml4e.js +266 -0
- package/dist/assets/{BillPayApprovalRuleDetailPage-CKtwE5ro-CvaoHMcE.js → BillPayApprovalRuleDetailPage-BfJ2F03Y-BSqfEElp.js} +1 -1
- package/dist/assets/{BillPayApprovalRulesPage-CAVAguR4-C8XO5DYA.js → BillPayApprovalRulesPage-DQ0MRCLa-C_GPmDyJ.js} +13 -13
- package/dist/assets/{BillPayPromoPage-BhXeOZWk-DQanpXhA.js → BillPayPromoPage-DdxRC1p4-C6FSHUuV.js} +7 -7
- package/dist/assets/{BillPaySetUpPage-DBeeMB1d-CPdIKBLb.js → BillPaySetUpPage-DBFcp1Yq-B1CZUTYe.js} +2 -2
- package/dist/assets/{BillingSettingsPage-C34kg2JK-d6AbOc60.js → BillingSettingsPage-DsMjw0qG-Cq1aHxZN.js} +8 -8
- package/dist/assets/BillsBulkReviewDrawerPage-HXDlOpw3-BmcSBj3u.js +1 -0
- package/dist/assets/{BoxItem-F9HlKmjN-xqfWS_hX.js → BoxItem-DaxLyqVe-BDS_i-Ew.js} +1 -1
- package/dist/assets/{BusinessVerificationPage-YOt_PXhl-CeYXkkiq.js → BusinessVerificationPage-BG1rOYOk-DZAei-pQ.js} +13 -13
- package/dist/assets/{CardNumberSubText-BYBZ7ZM1-CYschYSJ.js → CardNumberSubText-bkAPzhoK-D68hvJdl.js} +3 -3
- package/dist/assets/{CashbackDetailPage-BvWf2TDN-CJvt8fwC.js → CashbackDetailPage-CpVmCjts-C2xLm-90.js} +24 -24
- package/dist/assets/{ChargeCardDetailPage-Bx09SgSk-Mc5U0L1M.js → ChargeCardDetailPage-u6hMCosx-DzEhI6yb.js} +1 -1
- package/dist/assets/{ChargeCardListPage-BM0D7PCI-2RCeRUIi.js → ChargeCardListPage-D_7gwi3K-Bgz8fKhJ.js} +28 -28
- package/dist/assets/{ChargeCardListTable-xoYHcNTF-CDUEEXq9.js → ChargeCardListTable-DJmStpnO-DehJbT-m.js} +58 -58
- package/dist/assets/{ChargeCardPaymentHistoryPage-CLA5UpG2-BjxNitum.js → ChargeCardPaymentHistoryPage-BRGJ-5y3-gSyJhC6K.js} +35 -35
- package/dist/assets/ChargeCardPromoPage-Dx4Lni50-C133Kvxd.js +222 -0
- package/dist/assets/ChargeCardSetupPage-CRDfRFf1-DUoEu2We.js +36 -0
- package/dist/assets/ChargeCardStatementsPage-l4X9T8zd-DdxKgTDl.js +60 -0
- package/dist/assets/{CheckDepositDrawerPage-BTCZ6Ihv-Bwg08fJC.js → CheckDepositDrawerPage-DR6LIuPw-BXSM12h-.js} +16 -16
- package/dist/assets/CollapsableReportTable-4bJMcvHV-DJSNBbx8.js +2844 -0
- package/dist/assets/{CompanyOfficerDetailsSection-7wea0Ige-DaIiZvTQ.js → CompanyOfficerDetailsSection-DoGF7khv-CBglpYSM.js} +27 -27
- package/dist/assets/{CompanyPassportCard-BiW2qW0Q-DbzQ0mZs.js → CompanyPassportCard-BHFj9sK6-DN_eKmT3.js} +8 -8
- package/dist/assets/{CompanyPassportPage-cUf8LJjO-BtNthnMy.js → CompanyPassportPage-CH-dqy03-CkFzpRAr.js} +16 -16
- package/dist/assets/{CompleteProfile-zUf6xhpN-Djjy4qMc.js → CompleteProfile-Ck4Baf4z-Bb8vk_It.js} +2 -2
- package/dist/assets/ConfettiBurst-CVLXMknu-C5dtBbFy.js +1 -0
- package/dist/assets/{ConstrainedInnerElement-BeIpAPjB-D303BiU-.js → ConstrainedInnerElement-BeIpAPjB-C1ngGNQp.js} +1 -1
- package/dist/assets/{CreateOrEditVendorPage-ByvOufGv-BnP_tF_w.js → CreateOrEditVendorPage-D-0WG9pO-B3wRKHPt.js} +22 -22
- package/dist/assets/{CreditCardPaymentDrawerPage-bvQF_Dnd-DNvTFSk3.js → CreditCardPaymentDrawerPage-B7voVDUs-D92b0pbw.js} +21 -21
- package/dist/assets/CurrencySelectField-DrL1sFLq-CxbEbHLA.js +139 -0
- package/dist/assets/{CustomerOnboardingActivationPage-Bnqb4OwN-BkOYiVjl.js → CustomerOnboardingActivationPage-D42sb2F9-DOoQENIp.js} +29 -29
- package/dist/assets/CustomerOnboardingContainerPage-ecKRiXO1-B2Rv0uXK.js +1 -0
- package/dist/assets/{CustomerOnboardingDetailPageSkeleton-DzZq9ydV-rcF8sUPi.js → CustomerOnboardingDetailPageSkeleton-n6GMQZP5-VclSN0ci.js} +16 -16
- package/dist/assets/CustomerOnboardingNoStepsPage--O7lSduT-kzaO9ZVJ.js +66 -0
- package/dist/assets/{CustomerOnboardingPage-Gs1nLE_K-C1loGeIV.js → CustomerOnboardingPage-BPX2w8Fg-Co3rO7kz.js} +7 -7
- package/dist/assets/{CustomerOnboardingProductSuitePage-BzXjhPEn-CGUMAsr4.js → CustomerOnboardingProductSuitePage-CZXqXXFj-B9tCLCph.js} +10 -10
- package/dist/assets/{Dashboard-CB4FHIWL-DH8-1h66.js → Dashboard-Q5gt63wS-D-NM1jxJ.js} +1 -1
- package/dist/assets/{DashboardReportPage-CJzzOcFM-CXGGECPa.js → DashboardReportPage-DJsc3Nx7-CPNsUz_i.js} +40 -40
- package/dist/assets/DashboardSidebarBackgroundAnimation-8LKlc-IA-DppqzS9d.js +12 -0
- package/dist/assets/{DepositAccTransactionItem-DI2iFIOE-D78pehet.js → DepositAccTransactionItem-DB7Oz4GA-Bl1jaHEd.js} +6 -6
- package/dist/assets/DepositAccTransactionListPage-BU1b2OIP-Bg5Lhhh_.js +66 -0
- package/dist/assets/{DomesticWireDetailsPage-6Ja_raS1-BtmRTZLv.js → DomesticWireDetailsPage-Dptv-ebx-Dh9S4ky1.js} +1 -1
- package/dist/assets/DownloadOverlay-B61S0t5X-D_O4PIgS.js +439 -0
- package/dist/assets/{DrawerPage-CTtzGlId-R2r7ok8_.js → DrawerPage-DtJQE-UA-o7PPfoO7.js} +9 -9
- package/dist/assets/EditPeoplePage-Dd1g1r37-D5NUne-F.js +55 -0
- package/dist/assets/EditReimbursementDetailPage-B_u1W6bf-DF3LKIJu.js +865 -0
- package/dist/assets/EntityDetailPage-q_kzXlBV-CelG1soQ.js +18 -0
- package/dist/assets/{EntitySummarySection-CgIfSDBl-bARhT4wA.js → EntitySummarySection-BiIPehv4-DbMdDRCI.js} +19 -19
- package/dist/assets/{ExpenseAutomationOverviewPage-BOMURB5R-BK4Piycw.js → ExpenseAutomationOverviewPage-Bo5Eu3Ju-BJhkARvq.js} +48 -48
- package/dist/assets/ExpenseAutomationPage-CBGrrVMb-DCPvuANk.js +1703 -0
- package/dist/assets/{ExpressPayPage-Bq7VwGIy-CuN_JG1U.js → ExpressPayPage-D18sY5VJ-B6oTblqu.js} +19 -19
- package/dist/assets/{FeaturePreviewPage-DzmWWp4h-DNDXggJB.js → FeaturePreviewPage-De2_m2xD-DVzcgjum.js} +2 -2
- package/dist/assets/{FollowStepsSection-DF7igv9E-BXwQRKtK.js → FollowStepsSection-D5ln-mii-C0ucHGsw.js} +24 -24
- package/dist/assets/GlobalReviewListPage-Ch51_Flw-D-uO5wy3.js +291 -0
- package/dist/assets/{InformationCardStack-DNqDhetv-CczzYoVw.js → InformationCardStack-B4z6RgwP-DRH43WQx.js} +5 -5
- package/dist/assets/{InsightsCardStack-cCxIT64L-CUFk6OxI.js → InsightsCardStack-CwBBEkZ7-DJcXHozK.js} +12 -12
- package/dist/assets/InsightsSection-CQD6KXLg-Dl2NV9MP.js +27 -0
- package/dist/assets/IntegrationsSettingsPage-DBiomD_q-DtZiPPV1.js +57 -0
- package/dist/assets/{InternationalWireSwiftDetailsPage-53hMX6yJ-BesU5wqw.js → InternationalWireSwiftDetailsPage-h4bchKo3-DHLm8H4k.js} +25 -25
- package/dist/assets/InternationalWireVerificationPage-DAQrAsW5-Do-KUK3J.js +65 -0
- package/dist/assets/{InviteFormPage-CGxv4wps-5AP-y1Ow.js → InviteFormPage-Dgb-LZKf-ilCutOVc.js} +21 -21
- package/dist/assets/{InvitePageListView-NbYGP_zc-CH2LQelV.js → InvitePageListView-DC-Dp4Zc-D5DpcvE2.js} +47 -47
- package/dist/assets/InvitePeoplePage-CjJOyA8E-7gXroqh1.js +12 -0
- package/dist/assets/InvoiceUploadSection-BJ_Sbytw-C6MkqA6t.js +140 -0
- package/dist/assets/{IssueChargeCardPage-BRRHAcZh-D4kemR48.js → IssueChargeCardPage-DiUKL-rT-CiI_gBye.js} +37 -37
- package/dist/assets/{LabeledAddressValue-BqBWtO4T-C7fJuTnk.js → LabeledAddressValue-DYTDoPER-BLmB8hnw.js} +1 -1
- package/dist/assets/LabeledAddressValueField-DVNSaKBc-CR8m9IVs.js +45 -0
- package/dist/assets/LabeledControlledCheckBoxField-CZlavM3Q-CNMSOa5n.js +16 -0
- package/dist/assets/{LabeledCountryMultiSelectField-C0QF9TCM-CB5E5Naj.js → LabeledCountryMultiSelectField-BM1jU3hl-_1uQcelw.js} +12 -12
- package/dist/assets/{LabeledCreatableSingleSelectField-CdMkAJap-1V7j-DDR.js → LabeledCreatableSingleSelectField-BkI0vyax-Dhqs7qd2.js} +6 -6
- package/dist/assets/LabeledDocumentField-B7TETIva-DaOKO-m5.js +41 -0
- package/dist/assets/LabeledDropDownFormattedTextField-Dj0SVwKK-B9iE6D9J.js +59 -0
- package/dist/assets/{LabeledText-DTF15PO8-z7lFVMYz.js → LabeledText-BaYp8lyd-CYkwAQsC.js} +6 -6
- package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-D9bbIz04-BT9veYVH.js → LabeledUserSingleSelectWithSubtitlesField-nlyagP_L-V-ruydL6.js} +19 -19
- package/dist/assets/{LabeledZeniRolesDropDownField-DPNR8el--C4H8qzAo.js → LabeledZeniRolesDropDownField-Bgf26ek0-BDX-8gLb.js} +30 -30
- package/dist/assets/LinkJETransactionPage-ByQktBdK-C5XqLvWq.js +98 -0
- package/dist/assets/{LockCardPage-VSlPzmAF-CYZTWdC-.js → LockCardPage-M7Pcx6mB-BwvNlh-G.js} +14 -14
- package/dist/assets/{LowBalancePopup-DCwoGS48-hmCGAo7a.js → LowBalancePopup-DTwIs75G-MssgctsT.js} +6 -6
- package/dist/assets/MagicLinkACHDetailsPage-Cateo39t-T6xIrHkU.js +1 -0
- package/dist/assets/MagicLinkDomesticWireDetailsPage-BMkPYONG-Cj3VBYpA.js +1 -0
- package/dist/assets/MagicLinkInternationalWireDetailsPage-BVn2JAEL-DeQZ6JNw.js +1 -0
- package/dist/assets/MagicLinkSuccessPage-6e22dOVy-Gwai5BfM.js +31 -0
- package/dist/assets/{MagicLinkTitleSection-D1tjQ-VI-B06aRvZu.js → MagicLinkTitleSection-B985JuE8-Dn-qMxNJ.js} +5 -5
- package/dist/assets/MailingDetailsSection-detuRa7l-BJwGs4Yy.js +21 -0
- package/dist/assets/{MyBankConnectionsSettingsPage-CtYcGNjJ-BqSq6z3Z.js → MyBankConnectionsSettingsPage-2x0kDozt-ClPVN4BG.js} +12 -12
- package/dist/assets/MyPendingActivationChargeCardListPage-CfsTMsnG-BVxobwmr.js +6 -0
- package/dist/assets/MyProfileSettingsPage-BQx9m8r--De3mUOMd.js +85 -0
- package/dist/assets/NavBarWithPicker-BXsxMlBP-DTPzeQwG.js +30 -0
- package/dist/assets/{NavigationArrow-DJQDYzJE-BC_4c0HP.js → NavigationArrow-BpKepWMa-Bn4FAyCA.js} +7 -7
- package/dist/assets/NavigationDots-CxV99fd--CAgGp2GQ.js +15 -0
- package/dist/assets/{NewGlobalMerchantPage-B18toasi-BU1JGIOb.js → NewGlobalMerchantPage-rAYrEwup-HzusEOWs.js} +36 -36
- package/dist/assets/{NoDataChart-BO4tisNf-D8owAUYk.js → NoDataChart-SlgxXIjJ-Bi3c4Olw.js} +3 -3
- package/dist/assets/{NoDataTable-BEVgI9LO-CYWfmTuA.js → NoDataTable-CePwfuWH-BOYJp_LB.js} +1 -1
- package/dist/assets/NotFoundPage-CdmLYWbu-BBjH4PMR.js +46 -0
- package/dist/assets/NotificationSettingsPage-KThnHYOw-D0iY_voD.js +163 -0
- package/dist/assets/NotificationsListConfig-6ay7Y8AS-8Qyako_J.js +1 -0
- package/dist/assets/NotificationsPage-BmNwL81h-yaYUcRR5.js +685 -0
- package/dist/assets/OpExByVendorPage-DQPUJmPx-m9-ozd1L.js +100 -0
- package/dist/assets/{OverlayContainerPage-D4QU0p4o-b_Vxf1PH.js → OverlayContainerPage-D4QU0p4o-BPZC_JkQ.js} +1 -1
- package/dist/assets/{PandLWithForecastPage-Bu9ojuKa-CT86cSNx.js → PandLWithForecastPage-C6FwSybq-CjLuy8We.js} +14 -14
- package/dist/assets/{PaymentAccountSetupBillingAddressSection-vFIhGJqT-5psa-_DW.js → PaymentAccountSetupBillingAddressSection-DFCQGlZ--D6Xxd3zY.js} +16 -16
- package/dist/assets/PeoplePage-Df6QdrX5-CNBpk9Ed.js +675 -0
- package/dist/assets/{Preview-CJ42XXYk.js → Preview-Wpvi69S8.js} +1 -1
- package/dist/assets/{ProductsCarousel-Bp3BA6jn-Dq3g70sD.js → ProductsCarousel-Bq0uDCW7-BchAY2K0.js} +9 -9
- package/dist/assets/{PromoBaseCards-BJngCLC1-D1D3BuDF.js → PromoBaseCards-Bs1TPBeA-C7sFMDVT.js} +4 -4
- package/dist/assets/{QBOConnectionDialog-DkBwI8ar-CHNOORcZ.js → QBOConnectionDialog-CGH6M1BO-BTEhQpDo.js} +5 -5
- package/dist/assets/QBOSetupSection-BsFbgysY-CxagA6VQ.js +79 -0
- package/dist/assets/{ReimbursementApprovalRuleDetailPage-Q5ynG2vJ-D1YIG_oC.js → ReimbursementApprovalRuleDetailPage-CUf8BGfB-21mnbTVV.js} +2 -2
- package/dist/assets/{ReimbursementApprovalRulesPage-bXsxoJ-h--lf8D9ac.js → ReimbursementApprovalRulesPage-SKRjcth4-C1ni0caN.js} +17 -17
- package/dist/assets/ReimbursementDetailPage-BzqZlk2B-BW3Uw4EQ.js +314 -0
- package/dist/assets/{ReimbursementPromoPage-Db-_ODCp-CvQz3EGd.js → ReimbursementPromoPage-X1o2D5fz-DfVtcv-q.js} +32 -32
- package/dist/assets/{ReimbursementSetUpPage-Hs-W_q-P-BdYd6UC3.js → ReimbursementSetUpPage-DfAhrvlw-x_fpcuRs.js} +3 -3
- package/dist/assets/ReimbursementsBulkReviewDrawerPage-D0tGia3M-CiWkjF6g.js +1 -0
- package/dist/assets/{ReloadCard-CqhIfBOB-BY0vX67l.js → ReloadCard-DvIzOHkJ-SNPzaiS7.js} +6 -6
- package/dist/assets/ReportTableViewSelector-DikZuwk8-JNUnKB0r.js +150 -0
- package/dist/assets/ReportsPage-CgwJh87H-BukY4LEY.js +121 -0
- package/dist/assets/{RevenueChart-SOIqJqC1-C9wQDXwd.js → RevenueChart-VvZ0y1TP-qC_rkSgA.js} +19 -19
- package/dist/assets/{ReviewDetailsPage-DJtR6MAV-YpQ78vWd.js → ReviewDetailsPage-DC5Pr6t5-DriGh_oI.js} +20 -20
- package/dist/assets/{ReviewOverlay-BAkkDswR-CSwNTB3g.js → ReviewOverlay-BidXwnVw-CvEYNCbr.js} +23 -23
- package/dist/assets/{RoleWithToolTip-LhCV3AOg-BfEF5V_b.js → RoleWithToolTip-CUpngYu7-DADn2aws.js} +4 -4
- package/dist/assets/{ScheduleDetailsFixedAssetsPage-BSEAGNCA-CWkK2E_X.js → ScheduleDetailsFixedAssetsPage-P4en048K-D2xUyeCX.js} +13 -13
- package/dist/assets/{ScheduleDetailsPage-DuQdRk-6-YLy7Z141.js → ScheduleDetailsPage-Bm8IOCpE-BZajG7cQ.js} +3 -3
- package/dist/assets/ScheduleSequenceTable-Cz46lcuv-DwCS-vmM.js +324 -0
- package/dist/assets/{ScreenRoutes-D4V6kIC9.js → ScreenRoutes-Cdqgwe4G.js} +31 -31
- package/dist/assets/{SetUpAccountSection-Bx30O5Ml-WH4usOA9.js → SetUpAccountSection-DBuoMbxP-u5yk_3Is.js} +17 -17
- package/dist/assets/SignIn-ogxsR98p-BbKEcQBe.js +491 -0
- package/dist/assets/SignInScreen-DP-m_Sk_.js +1 -0
- package/dist/assets/SpendManagementListViewPage-DP6uWx2T-BVgklVNc.js +134 -0
- package/dist/assets/{SpendManagementPerTabPage-Caux80RI-BTh48LKq.js → SpendManagementPerTabPage-DSXg_agw-BBbTIsSz.js} +108 -108
- package/dist/assets/{SpendManagementSection-Z9MFiKoI-CQFuO0wV.js → SpendManagementSection-C-EIQv7m-QyOD3ve3.js} +25 -25
- package/dist/assets/StatementItem-BSVnuQ3e-Bes_h96W.js +31 -0
- package/dist/assets/StatementsPage-CgOC5W_I-Df-cPgLx.js +58 -0
- package/dist/assets/{StatusSwitcher-C3WR2o9U-C0FM9NGp.js → StatusSwitcher-BnSFSpJ0-DnH48_9z.js} +5 -5
- package/dist/assets/SubTabSwitcher-VHMqXmGa-DxiEBs88.js +58 -0
- package/dist/assets/SummaryCard-BTnU1LYd-5Er4BGPP.js +1 -0
- package/dist/assets/TaskManagementPage-CeQkRFbn-JSqoMa4T.js +508 -0
- package/dist/assets/TimeRangeSwitcher-BifUYnpe-C0S2hPAm.js +64 -0
- package/dist/assets/TimeframeSwitcher-9X-6amWo-BHsPnDZX.js +31 -0
- package/dist/assets/TimeframeSwitcherWithToggle-C0fPwGaA-BBTlDoLy.js +31 -0
- package/dist/assets/{TopExCard-CcmlvV2E-DQ9im9Ri.js → TopExCard-Bc812PB9-Cgf0i8AY.js} +6 -6
- package/dist/assets/{TopExDetailPage-oCk5X1ga-b7oteKxs.js → TopExDetailPage-19FwjeX_-Udhi2GOz.js} +16 -16
- package/dist/assets/{TransactionActivityLogPage-nNEnRuxA-DgSPVh85.js → TransactionActivityLogPage-7Lfwq_IY-CFdWRG9m.js} +20 -20
- package/dist/assets/TransactionDetailPage-C7Tv82YB-m9WgdlMS.js +903 -0
- package/dist/assets/TransactionList-CSZxHqad-CHJszH5C.js +153 -0
- package/dist/assets/{TransactionListBig-C_K_kh-Q-CF_jEt3p.js → TransactionListBig-gSPdjYSs-Dr__rrF5.js} +19 -19
- package/dist/assets/TransactionListPage-9ezEzYvU-Cm8yXVfl.js +35 -0
- package/dist/assets/{TransactionVendorDetailPage-B1BhBjXd-B68h1iEJ.js → TransactionVendorDetailPage-rcOVwgxy-Ow41gTpA.js} +4 -4
- package/dist/assets/{TransferDrawerPage-DlH8zdQ6-4JQLTKYp.js → TransferDrawerPage-IeuD-8y4-BBbQ4FZg.js} +27 -27
- package/dist/assets/TreasuryOverviewPage-bmv1c3nO-m6l1VttQ.js +708 -0
- package/dist/assets/{TreasuryPromoPage-vnYtT9wt-BT7vg2wI.js → TreasuryPromoPage-KuuzWIYO-BDjVQ4WN.js} +131 -131
- package/dist/assets/{TreasuryStatementsPage-DF66dQfj-YdehmP5K.js → TreasuryStatementsPage-BAfN8DAx-CZoNN9-F.js} +1 -1
- package/dist/assets/{TreasuryTaxLetterPage-DyHfEHRJ-Dk_i3mPQ.js → TreasuryTaxLetterPage-BRDygaXn-BgocidOv.js} +1 -1
- package/dist/assets/{TrendChart-DWFAkD1M-rLrsd-Rc.js → TrendChart-BJqnjEu6-BacSdVAX.js} +4 -4
- package/dist/assets/TrendWithTransactions-2pBj6qUR-T4OcbS5_.js +116 -0
- package/dist/assets/{UncategorizedAccountsMappingPage-Cpz9ytBO-BvYunpjj.js → UncategorizedAccountsMappingPage-DlxWCGZg-CdSrYHNM.js} +23 -23
- package/dist/assets/{UnitIntegrationPage-DUt0EgH9-CrhKA0X8.js → UnitIntegrationPage-U85XCs_D-Bx8aLPRf.js} +11 -11
- package/dist/assets/UploadAdditionalDocumentOverlay-5-avyqy0-fJ0d5z1N.js +38 -0
- package/dist/assets/{Vendor2FAPopup-31AZ3ofQ-ByfeqFMV.js → Vendor2FAPopup-DLU7H22p-DEGIw5UY.js} +1 -1
- package/dist/assets/VendorACHDetailsPage-B-Zle7l9-BVROIXeh.js +1 -0
- package/dist/assets/VendorDetailPage-prrUwTR_-BD-GdLo7.js +257 -0
- package/dist/assets/VendorDomesticWireDetailsPage-Cm6an-ZT-DTJS7RDE.js +1 -0
- package/dist/assets/{VendorFiling1099EditablePage-DEm4nD4L-C8GKsU9A.js → VendorFiling1099EditablePage-DIvLStyg-CYbK6ev_.js} +17 -17
- package/dist/assets/VendorFirstReviewPage-BJKFcgOq-CSmnGqyp.js +730 -0
- package/dist/assets/{VendorInternationalWireDetailsPage-B3-s03c8-D6bHR05f.js → VendorInternationalWireDetailsPage-Ctwg_CTY-CK5moP88.js} +15 -15
- package/dist/assets/VendorInternationalWireSwiftDetailsPage-D11DRwWL-NLsA0vGl.js +1 -0
- package/dist/assets/{VendorsAccountsSection-2RQUw482-DQWkHxTh.js → VendorsAccountsSection-Bj840XXA-zylNCv6a.js} +2 -2
- package/dist/assets/{VerifyDevice-DrHOxZ08-DicK7t3o.js → VerifyDevice-D5ce0rEk-ByWH1Q6_.js} +2 -2
- package/dist/assets/{VideoPlayer-D7qtpMP6-DY2DpB0L.js → VideoPlayer-XhlPd-AK-BJf7SfgL.js} +2 -2
- package/dist/assets/{VideoPopup-mcH3S96f-CSNVNU5W.js → VideoPopup-8ebccUQt-CoWKaT2k.js} +5 -5
- package/dist/assets/{WarningsDrawerPage-BuSNnbS0-BmlAm--l.js → WarningsDrawerPage-CXHMQPmw-V3zdlF1l.js} +9 -9
- package/dist/assets/{ZeniAccountDetailPage-DeS7bxGu-B2MkmZWf.js → ZeniAccountDetailPage-BCEccrGo-CidPyi4i.js} +40 -40
- package/dist/assets/{ZeniAccountListViewPage-CE9vKT6d-C_0wjRBB.js → ZeniAccountListViewPage-f_9PSaYv-D_Ll-dy-.js} +20 -20
- package/dist/assets/ZeniAccountNavBarPieces-oinah8Mu-H8pK0EkG.js +14 -0
- package/dist/assets/{ZeniAccountPromoPage-CS4DCdI2-B9MH4_YO.js → ZeniAccountPromoPage-DGttDJGp-F0XlSRMz.js} +29 -29
- package/dist/assets/{ZeniAccountSetupPage-B_TE40pq-Dxf2Uc2C.js → ZeniAccountSetupPage-5hc6Dfls-Csndezul.js} +6 -6
- package/dist/assets/ZeniCopyright-Ct2Gx1TW-CQmnzv8u.js +1 -0
- package/dist/assets/{ZeniTransferAmountSlider-DpxLl7Ue-DPRxI6VI.js → ZeniTransferAmountSlider-CtSVUxFX-BrJYB_Am.js} +7 -7
- package/dist/assets/{add-to-wallet-DgdBD8_G-C6LAT582.js → add-to-wallet-DgdBD8_G-vslLOG9x.js} +1 -1
- package/dist/assets/{analytics-BBPxpXjb.js → analytics-DRVsD-is.js} +1 -1
- package/dist/assets/{analyticsHelper-huzmVdCu-BJHBr6dz.js → analyticsHelper-BZApS5V7-B7rpJkUm.js} +1 -1
- package/dist/assets/{analyticsHelper-Bp3QyGtE.js → analyticsHelper-BZQExm6b.js} +1 -1
- package/dist/assets/{arrow-south-east-round-PEovUgvH-CRAkJ5eu.js → arrow-south-east-round-PEovUgvH-CRc8KuMa.js} +1 -1
- package/dist/assets/{auto-transfer-rule-mbafm5D3-BkJsqyVy.js → auto-transfer-rule-mbafm5D3-D9R5lS7d.js} +1 -1
- package/dist/assets/chartTypes-DcNGo46a-CqMbbGUL.js +1 -0
- package/dist/assets/commonDimensions-C5V1GwCs-CraAZnb_.js +1 -0
- package/dist/assets/{commonTypes-BqXyygFE-CnF1i8TV.js → commonTypes-CGdrM7wg-Dv-NGJZV.js} +1 -1
- package/dist/assets/{constants-CPFJyknY.js → constants-DTOPkqCr.js} +1 -1
- package/dist/assets/{core-CddRDKK5.js → core-D2KcXy_y.js} +2 -2
- package/dist/assets/{dash.all.min-BPpCNIar.js → dash.all.min-BAllcYm-.js} +1 -1
- package/dist/assets/detailCommon-DEXTnYE7-CjqtKJhq.js +38 -0
- package/dist/assets/downloadPdf-Cd1RR1sH-Cvu_thw4.js +1 -0
- package/dist/assets/{empty-OXNqopUa.js → empty-BTyrR5qF.js} +1 -1
- package/dist/assets/{empty-DnP56ICM.js → empty-wMN4Rfol.js} +1 -1
- package/dist/assets/epic-CLSKdGkp.js +2 -0
- package/dist/assets/{gift-box-Cmt9OgIZ-DgonOPJx.js → gift-box-Cmt9OgIZ-DP-cJLna.js} +1 -1
- package/dist/assets/{graphic-no-data-l-DU4J8fDt-CyoR0rrV.js → graphic-no-data-l-DU4J8fDt-D-Fo2zgX.js} +1 -1
- package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-D4pGKQmg.js → graphic-no-data-net-burn-l-CzmycA0m-D8edm3HW.js} +1 -1
- package/dist/assets/{handshake-BPg58FML-Bi2WM_Eh.js → handshake-BPg58FML-DJLp3b1-.js} +1 -1
- package/dist/assets/{helper-C6wE3mOs-ygxajmnJ.js → helper-kGYJRbxq-D4mxVura.js} +3 -3
- package/dist/assets/{index-DeqxpWOe.js → index-BHqxLcjt.js} +1 -1
- package/dist/assets/{index-Dw6Tuhsa.js → index-CBio2FUy.js} +1 -1
- package/dist/assets/{index-hMgEheel.js → index-Cpk1UVH8.js} +1 -1
- package/dist/assets/{index-D2KmAsTj.js → index-DH51hTsJ.js} +1 -1
- package/dist/assets/{index-DNn6xiN7.js → index-DJK9rXmh.js} +1 -1
- package/dist/assets/{index-GvAktRSv.js → index-aDDisho3.js} +1 -1
- package/dist/assets/{index-DceSoL0X.js → index-sotzB3Mx.js} +4796 -4800
- package/dist/assets/{lexical-CRAxrDKi.js → lexical-Dj2KAtCD.js} +1 -1
- package/dist/assets/{liveblocks-C3olwiFW.js → liveblocks-DezulwOD.js} +1 -1
- package/dist/assets/{lottie-DHSNlrty.js → lottie-D7_uSTtS.js} +1 -1
- package/dist/assets/{mapLoadingInProgressToTreeNode-QGHkauXd-qPE55nra.js → mapLoadingInProgressToTreeNode-BXVk4dIp-BuiNw2vq.js} +1 -1
- package/dist/assets/{mapSectionWithAcOnlyToTreeNode-IAuTtuif-w6n_R73J.js → mapSectionWithAcOnlyToTreeNode-oqbfssc7-BaqyGbt-.js} +1 -1
- package/dist/assets/mapSpacerToTreeNode-BA1RwyQy-BaPbOaZb.js +1 -0
- package/dist/assets/mapTimeframeBalancesToTreeNode-B8pIGqbO-BJk8DWTQ.js +1 -0
- package/dist/assets/mapTimeframeBalancesToTreeNode-D-yDCyLa-BApfBpwP.js +1 -0
- package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-BGId2YAo-D_Czi_I6.js +1 -0
- package/dist/assets/{mui-B9ZZxqGv.js → mui-CWqpJBOf.js} +1 -1
- package/dist/assets/{page-detail-CWX5S47F-BAeGzYhC.js → page-detail-CWX5S47F-B2tDMGkf.js} +1 -1
- package/dist/assets/panelSelectedMixin-CzfD5-Zs-HFnGkMgT.js +4 -0
- package/dist/assets/{radio-default-CiSgisfh-BTgddVFO.js → radio-default-CiSgisfh-0Atq9vXH.js} +1 -1
- package/dist/assets/{react-C-YPBd7x.js → react-4PtfPhor.js} +3 -3
- package/dist/assets/{react-dF0Ep-lR.js → react-Bhq0KCUo.js} +1 -1
- package/dist/assets/{react-ClcmWYZP.js → react-BxwoRjBq.js} +1 -1
- package/dist/assets/{react-BmFTzqBR.js → react-By_pdhPa.js} +1 -1
- package/dist/assets/{react-UG1Schov.js → react-CPTbErTv.js} +1 -1
- package/dist/assets/{react-BNxsrY_J.js → react-CSZP1bUd.js} +1 -1
- package/dist/assets/{react-B6URfXSC.js → react-CjLH0WcG.js} +1 -1
- package/dist/assets/{react-DPaJOqrg.js → react-k1MNcgFc.js} +2 -2
- package/dist/assets/{recharts-Df6P8LTk.js → recharts-H7gIkfSf.js} +20 -20
- package/dist/assets/{sentry-DSwgNZrO.js → sentry-2bqpslFP.js} +1 -1
- package/dist/assets/{shield-DOlUxcFf-DfJyH00V.js → shield-DOlUxcFf-BxoXXGpt.js} +1 -1
- package/dist/assets/toCOABalancesWithID-Ckyq_c20-DzmyGaV3.js +1 -0
- package/dist/assets/toChartData-N0pkfSXY-BNdgZ-va.js +1 -0
- package/dist/assets/{uploadAttachment-4DeHQ4oS-Bw7xJmib.js → uploadAttachment-CPTMCWWz-BHUe9KYn.js} +33 -33
- package/dist/assets/uploadReceipts-Dge0cNF1-CAzr24hn.js +1 -0
- package/dist/assets/{url-CnM3nym8.js → url-BnPWfZoh.js} +1 -1
- package/dist/assets/{url-BRZkzhoD.js → url-FABckJBr.js} +1 -1
- package/dist/assets/{useLongPress-GCK2COYQ-BgMcVZoL.js → useLongPress-GCK2COYQ-isRXDDp5.js} +1 -1
- package/dist/assets/{usp-line-BBd1wKwW-DuwzCwM7.js → usp-line-BBd1wKwW-C5jzPmNs.js} +1 -1
- package/dist/assets/{utils-bhjg_GlW.js → utils-Bfvb8rvn.js} +1 -1
- package/dist/assets/zeni-epic-state-DM-Ak8Gv.js +151 -0
- package/dist/index.html +1 -1
- package/package.json +4 -4
- package/dist/assets/AccountInfoPage-DiLfCEmp-DO4D-Akp.js +0 -18
- package/dist/assets/AccountRow-DHebunB5-DIYXQfGx.js +0 -298
- package/dist/assets/AddAddressForCardDrawer-DsW1gOAp-MwS07L6u.js +0 -6
- package/dist/assets/AppBasePage-DEEwGCyl-CJQRcs0Q.js +0 -71
- package/dist/assets/AppDrawerContent-BV68KVaK-DsuGSV0L.js +0 -92
- package/dist/assets/ApprovalRulesSettingsPage-rYk3cmVs-Bk4KgAtZ.js +0 -47
- package/dist/assets/BalancesInsightWithToolTip-e99DEARd-B-O4Ljlc.js +0 -38
- package/dist/assets/BillDetailPage-BHMeLrkf-DfOpYdLq.js +0 -266
- package/dist/assets/BillsBulkReviewDrawerPage-mrZng-LH-CgLPtPGy.js +0 -1
- package/dist/assets/ChargeCardPromoPage-DOLaaGqu-DsV8VR1J.js +0 -222
- package/dist/assets/ChargeCardSetupPage-BU9RvMXY-Dj9m6ZmP.js +0 -36
- package/dist/assets/ChargeCardStatementsPage-DlrKo_GJ-BRM2z9cD.js +0 -60
- package/dist/assets/CollapsableReportTable-B7wBJa-J-CFRGpr0Y.js +0 -2941
- package/dist/assets/ConfettiBurst-JdjFQWmA-B1zUAlBC.js +0 -1
- package/dist/assets/CurrencySelectField-C9U52o8Z-DH90cYim.js +0 -139
- package/dist/assets/CustomerOnboardingContainerPage-BVEjcOzz-Tgi7ne-F.js +0 -1
- package/dist/assets/CustomerOnboardingNoStepsPage-BxvN2Q7E-B4zOAzF_.js +0 -66
- package/dist/assets/DashboardSidebarBackgroundAnimation-uX3QCu5p-mHJahdDI.js +0 -12
- package/dist/assets/DepositAccTransactionListPage-BJ8sXbmG-CMXvXJC1.js +0 -66
- package/dist/assets/DownloadOverlay-uRpW9ezf-jNXoSS7J.js +0 -439
- package/dist/assets/EditPeoplePage-BBrsqLJc-DyJHgyzZ.js +0 -55
- package/dist/assets/EditReimbursementDetailPage-D-HncluE-CUs0afyw.js +0 -865
- package/dist/assets/EntityDetailPage-X5BG-4An-7aKQ5Pgw.js +0 -18
- package/dist/assets/ExpenseAutomationPage-BWBWJraB-BcLoThsR.js +0 -3001
- package/dist/assets/GlobalReviewListPage-BXhEk4c0-BVTm7Ky3.js +0 -291
- package/dist/assets/InsightsSection-CbrrmEg4-D4vQ_6my.js +0 -27
- package/dist/assets/IntegrationsSettingsPage-Bw4BviF3-DBDc8BdY.js +0 -57
- package/dist/assets/InternationalWireVerificationPage-CmibXgZP-Dk0__zsA.js +0 -65
- package/dist/assets/InvitePeoplePage-CUIx67tI-BuLgC01P.js +0 -12
- package/dist/assets/InvoiceUploadSection-SDbpMsYc-Dm64G91F.js +0 -140
- package/dist/assets/LabeledAddressValueField-BJl_17nw-BoellP6H.js +0 -45
- package/dist/assets/LabeledControlledCheckBoxField-CTjsNnfG-C03py6Ms.js +0 -16
- package/dist/assets/LabeledDocumentField-De9s68TP-Cri5KHGX.js +0 -41
- package/dist/assets/LabeledDropDownFormattedTextField-Dy4sKbHt-B82hYqdR.js +0 -59
- package/dist/assets/LinkJETransactionPage-CflqbXq0-DXYSk1UI.js +0 -98
- package/dist/assets/MagicLinkACHDetailsPage-BT5yNVLG-ChUzosgW.js +0 -1
- package/dist/assets/MagicLinkDomesticWireDetailsPage-BurEs9tm-DDw6dGa9.js +0 -1
- package/dist/assets/MagicLinkInternationalWireDetailsPage-CvvBuPtn-Br57d6dJ.js +0 -1
- package/dist/assets/MagicLinkSuccessPage-Bu2WgYDU-C_NzscTh.js +0 -31
- package/dist/assets/MailingDetailsSection-CnGInDUg-DZA0H6jP.js +0 -21
- package/dist/assets/MyPendingActivationChargeCardListPage-CmSDPRHT-DaaZsLCw.js +0 -6
- package/dist/assets/MyProfileSettingsPage-1FPtn1ea-C9umNstC.js +0 -85
- package/dist/assets/NavBarWithPicker-B04p6hvh-BcKmzJ24.js +0 -30
- package/dist/assets/NavigationDots-C2ylmmp9-BUZFmr7S.js +0 -15
- package/dist/assets/NotFoundPage-zeHT1nzY-c1pIrXd2.js +0 -46
- package/dist/assets/NotificationSettingsPage-ClXPKcgz-Cua8aSKu.js +0 -163
- package/dist/assets/NotificationsListConfig-BQqh5bzx-CFdZZXGY.js +0 -1
- package/dist/assets/NotificationsPage-DsWTVVJb-CubnyrBq.js +0 -685
- package/dist/assets/OpExByVendorPage-BjNi44e6-DOiReLBc.js +0 -100
- package/dist/assets/PeoplePage-B6QMmZoF-D2QgJp28.js +0 -727
- package/dist/assets/QBOSetupSection-CzvyO3jT-MFHCmvJY.js +0 -79
- package/dist/assets/ReimbursementDetailPage-DgzoYr-9-CVLHufeF.js +0 -314
- package/dist/assets/ReimbursementsBulkReviewDrawerPage-DH5fjpfk-Cr_SYXyq.js +0 -1
- package/dist/assets/ReportTableViewSelector-Cot8YlVL-BAZ1GdJN.js +0 -151
- package/dist/assets/ReportsPage-C_7EbeMB-O7cnUjzc.js +0 -237
- package/dist/assets/ScheduleSequenceTable-CpShO1ua-Dsb6r5kr.js +0 -324
- package/dist/assets/SignIn-BQ4q4gDh-CzzmiuXu.js +0 -491
- package/dist/assets/SignInScreen-DZyTlhxL.js +0 -1
- package/dist/assets/SpendManagementListViewPage-B_sb3Dfh-dqWZldlf.js +0 -134
- package/dist/assets/StatementItem-uBlcLNGa-C68iqcbF.js +0 -31
- package/dist/assets/StatementsPage-wmfWDQrp-DZo3jcor.js +0 -58
- package/dist/assets/SubTabSwitcher-JZ9r8Gvy-CmdEzTPr.js +0 -58
- package/dist/assets/SummaryCard-CzpKllZ9-BcAcs1DO.js +0 -1
- package/dist/assets/TaskManagementPage-DhdfjPpg-Bz7Od6O0.js +0 -508
- package/dist/assets/TimeRangeSwitcher-ejYmSzzU-BGF2Hlek.js +0 -64
- package/dist/assets/TimeframeSwitcher-B1rtSeeP-s5XP-zq2.js +0 -31
- package/dist/assets/TimeframeSwitcherWithToggle-BIe0KGCe-CezpaCXC.js +0 -53
- package/dist/assets/TransactionDetailPage-BXQ5ksBH-YOlZ51Uf.js +0 -903
- package/dist/assets/TransactionList-BWV8LDN--T7E1cgUU.js +0 -153
- package/dist/assets/TransactionListPage-Duf7rjbN-xYqf2OTU.js +0 -35
- package/dist/assets/TreasuryOverviewPage-CwoPszbZ-2TJ6YJVy.js +0 -725
- package/dist/assets/TrendWithTransactions-CmQO_iYM-CWBGfczA.js +0 -116
- package/dist/assets/UploadAdditionalDocumentOverlay-CF3ZYMeP-BxK_8i6B.js +0 -38
- package/dist/assets/VendorACHDetailsPage-C4ZWGPWZ-DEvx49Vu.js +0 -1
- package/dist/assets/VendorDetailPage-BaCVjTbp-CB0Ap7RS.js +0 -257
- package/dist/assets/VendorDomesticWireDetailsPage-D7BmBMH9-CzIkSVsO.js +0 -1
- package/dist/assets/VendorFirstReviewPage-EuDBTkMb-5uGJMDW8.js +0 -730
- package/dist/assets/VendorInternationalWireSwiftDetailsPage-BlAFp-w1-Ch6YFnOD.js +0 -1
- package/dist/assets/ZeniAccountNavBarPieces-DpCkEpt8-DL9r0gov.js +0 -14
- package/dist/assets/ZeniCopyright-CHJRCEOe-C6byioU4.js +0 -1
- package/dist/assets/chartTypes-Bka0fHvt-LIfMG0zS.js +0 -1
- package/dist/assets/commonDimensions-CL818jc5-C1bPf58V.js +0 -1
- package/dist/assets/downloadPdf-DAxy7KUU-_uW3L53O.js +0 -1
- package/dist/assets/epic-B0RIAA2R.js +0 -2
- package/dist/assets/mapSpacerToTreeNode-CsVNH3Xd-QYfiumtX.js +0 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-CCLjlNlu-MJgc9UaW.js +0 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-DliXXFXC-BfnSqJsP.js +0 -1
- package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-CqDxaCav-BL7jrrEI.js +0 -1
- package/dist/assets/panelSelectedMixin-Cddsb26L-BJi_hKr3.js +0 -3
- package/dist/assets/toCOABalancesWithID-D45JW5mT-zLfAfLgo.js +0 -1
- package/dist/assets/toChartData-C9xZuC9A-cKZFGcPF.js +0 -1
- package/dist/assets/upload-reimbursement-receipt-O2N8vcO7-ByyuyA7j.js +0 -1
- package/dist/assets/uploadReceipts-Dge0cNF1-COkmL3Gy.js +0 -1
- package/dist/assets/zeni-epic-state-BKQAT3eK.js +0 -151
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{d as l,V as r,aO as a,b4 as f,O as y,aR as m,aU as h,bG as g,aj as u,o as c,b5 as w}from"./index-sotzB3Mx.js";import{n as d}from"./mui-CWqpJBOf.js";import{a as s}from"./sentry-2bqpslFP.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]="6f18c949-9689-4ee3-ab1d-702c078fdcad",e._sentryDebugIdIdentifier="sentry-dbid-6f18c949-9689-4ee3-ab1d-702c078fdcad")}catch{}})();function j({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!=!1,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!=!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 x=d(h)`
|
|
2
2
|
justify-content: flex-start;
|
|
3
|
-
`;function T({dimension:e,animated:o}){const t=l();return r.jsx(a,{dimension:e,children:r.jsx(
|
|
3
|
+
`;function T({dimension:e,animated:o}){const t=l();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 D({dimension:e,animated:o}){const t=l();return r.jsx(a,{dimension:e,children:r.jsx(x,{children:r.jsx("div",{style:{width:"100%",height:"100%"},children:r.jsx(w,{children:({height:n,width:i})=>r.jsx(j,{backgroundColor:t.colors.grey3,foregroundColor:t.colors.grey4,animated:o,width:i,height:n})})})})})}const b=e=>s.createElement("svg",{viewBox:"0 0 72 72",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},s.createElement("rect",{opacity:.2,width:72,height:72,rx:36,fill:"#97C3B9"}),s.createElement("path",{d:"M46.7755 32.5635L43.8368 36.9716L40.4082 33.0533",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),s.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"})),C=d(h)`
|
|
4
4
|
justify-content: space-between;
|
|
5
|
-
`,k=
|
|
5
|
+
`,k=d.div`
|
|
6
6
|
height: ${c.sp10};
|
|
7
7
|
width: ${c.sp10};
|
|
8
8
|
background: ${e=>e.theme.colors.background};
|
|
@@ -19,8 +19,8 @@ import{y as l,V as r,aP as a,b4 as x,b as y,ac as m,aU as h,bG as g,ak as f,o as
|
|
|
19
19
|
color: ${e=>e.theme.colors.primary};
|
|
20
20
|
}
|
|
21
21
|
}
|
|
22
|
-
|
|
22
|
+
`,$=d(u)`
|
|
23
23
|
color: ${e=>e.theme.colors.champion};
|
|
24
|
-
|
|
24
|
+
`,v=d(u)`
|
|
25
25
|
color: ${e=>e.theme.colors.hero};
|
|
26
|
-
`,
|
|
26
|
+
`,L=d(b)``;function _({dimension:e,cardType:o,cardIndex:t,reportTitle:n,onReloadData:i}){return r.jsx(a,{"data-testid":m("dashboard-reload",o),dimension:e,onClick:()=>i(t,o),children:r.jsxs(C,{children:[r.jsxs($,{children:[n??f(o)," "]}),r.jsx(k,{children:r.jsx(L,{})}),r.jsx(v,{children:y.getLocalizedStrings().card.failedText})]})})}export{T as E,D as I,_ as T};
|
|
@@ -0,0 +1,150 @@
|
|
|
1
|
+
import{d as ee,J as de,cf as xe,aa as ye,V as o,ap as _e,cg as te,ad as we,y as P,aT as $e,o as a,O as oe,ch as ve,ci as ke,cj as Ce,ck as je,cl as Ie,an as he,cm as Se,aj as Ne,aF as X,bG as Pe,u as f,aX as Oe,am as De,au as Fe}from"./index-sotzB3Mx.js";import{a as u,P as ue}from"./sentry-2bqpslFP.js";import{n as d}from"./mui-CWqpJBOf.js";import{R as O,I as Be}from"./CollapsableReportTable-4bJMcvHV-DJSNBbx8.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},r=new e.Error().stack;r&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[r]="f2c1b47d-35d1-4f0b-ab8f-23534b9820e6",e._sentryDebugIdIdentifier="sentry-dbid-f2c1b47d-35d1-4f0b-ab8f-23534b9820e6")}catch{}})();const V=oe.getLocalizedStrings().dateFormat.analytics.YYYYDashMMDashDDFormat,Te=e=>({this_period:{start_date:e.thisPeriod.startDate.format(V),end_date:e.thisPeriod.endDate.format(V)},number_of_periods:e.numberOfPeriods,order_by:e.orderBy}),Ae=e=>e!=null?{start_date:e.startDate.format(V),end_date:e.endDate.format(V)}:void 0;function Ee(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(V):void 0,timeframe:e.timeframe,additional_balances:e.additionalBalances,format:e.format,balances_filter:Te(e.balancesFilter),account_view_mode:e.accountViewMode,classes_to_filter_out:e.classesToFilterOut,data_available:Ae(e.dataAvailable),is_zeni_coa_used:e.isZeniCOAUsed}}async function ho(e,r,n){const t=oe.getLocalizedStrings().downloadReport,l=`${e}?query=${encodeURIComponent(JSON.stringify(Ee(n)))}`;try{const h=await ve({urlEndPoint:l,authParams:r,fileType:n.statementFileType});if(h.ok){const y=ke(h.headers,t.defaultFileName),_=await h.arrayBuffer();Ce(_,y)}else console.error(`${t.reportErrorMessage} ${h.statusText}`)}catch(h){console.error(`${t.reportErrorMessage} ${JSON.stringify(h)}`)}}const Le=d.div`
|
|
2
|
+
padding: 0 ${a.sp3} 0 ${a.sp3};
|
|
3
|
+
border: 1px solid ${e=>e.theme.colors.primary};
|
|
4
|
+
background: ${e=>e.theme.colors.grey5};
|
|
5
|
+
border-radius: ${a.sp1};
|
|
6
|
+
display: flex;
|
|
7
|
+
justify-content: space-between;
|
|
8
|
+
align-items: center;
|
|
9
|
+
position: relative;
|
|
10
|
+
height: ${a.sp8};
|
|
11
|
+
cursor: pointer;
|
|
12
|
+
`,Me=d(De)`
|
|
13
|
+
color: ${e=>e.theme.colors.primary};
|
|
14
|
+
margin-top: -2px;
|
|
15
|
+
`,Re=d(Fe)`
|
|
16
|
+
color: ${e=>e.theme.colors.hero};
|
|
17
|
+
width: 12px;
|
|
18
|
+
height: 12px;
|
|
19
|
+
margin: auto ${a.sp0};
|
|
20
|
+
:hover {
|
|
21
|
+
color: ${e=>e.theme.colors.primary};
|
|
22
|
+
}
|
|
23
|
+
`,Ve=e=>{const{value:r,onClick:n}=e,t=ee();return o.jsxs(Le,{onClick:n,children:[o.jsx(Me,{style:{color:t.colors.primary},children:r}),o.jsx(Re,{})]})},ze=ue.memo(Ve);function We({backgroundColor:e,foregroundColor:r,animated:n,width:t,height:l}){return o.jsxs(Pe,{speed:2,width:t,height:l,viewBox:`0 0 ${t} ${l}`,animate:n!=!1,backgroundColor:e,foregroundColor:r,style:{marginBottom:a.sp2},children:[o.jsx("rect",{x:"45",y:f[3],rx:"5",ry:"5",width:"120",height:f[4]}),o.jsx("rect",{x:"45",y:f[8],rx:"5",ry:"5",width:"120",height:f[4]}),o.jsx("rect",{x:"45",y:"96",rx:"5",ry:"5",width:"120",height:f[4]}),o.jsx("rect",{x:"45",y:"136",rx:"5",ry:"5",width:"120",height:f[4]})]})}function pe({nestedClass:e,isLastNode:r,config:n,parentNodeIDs:t}){const l=O("checkbox_and_name_only",[],e.classId[0]),h={children:[],id:l,isLastNode:r,reportElementData:{element:{kind:"checkbox_and_name_only",title:e.className,data:e,numOfBalances:0},config:n}};return h.children=e.children.map((y,_)=>pe({nestedClass:y,config:n,isLastNode:_===e.children.length-1,parentNodeIDs:[...t,l]})),h}function Ye(e,r){const n=e.map((t,l)=>{const h=O("checkbox_and_name_only",[],t.classId[0]),y={children:[],id:h,isLastNode:t.children.length!==0,reportElementData:{element:{kind:"checkbox_and_name_only",title:t.className,data:t,numOfBalances:0},config:r}},_=t.children.map(D=>pe({nestedClass:D,config:r,isLastNode:l===t.children.length-1,parentNodeIDs:[h]}));return y.children.push(..._),y});return{config:r,headerNodes:[],contentNodes:[...n]}}function He(e,r){Object.assign(e.config,r);const n=e.contentNodes;return n.forEach(t=>fe(t,r)),{config:r,headerNodes:[],contentNodes:[...n]}}function fe(e,r){Object.assign(e.reportElementData.config,r),e.children.forEach(n=>fe(n,r))}const se={contentPaddingLeft:new P(f[3],f[3],f[2]),contentPaddingRight:new P(f[3],f[3],f[2])},Ge=d.div`
|
|
24
|
+
height: ${e=>e.height}px;
|
|
25
|
+
width: 100%;
|
|
26
|
+
`,Je=({reportId:e,firstMonthOfFY:r,nestedClassHierarchy:n,classesToBeFilteredOut:t,selectedView:l,showClassAccountNumber:h,scrollPosition:y,onScroll:_,nodeOpenStatus:D,onNodeCollapseToggled:U,onToggleCheck:F})=>{const z=ee(),W=de(),[v,j]=u.useState(void 0),[E,w]=u.useState(!1),[L,B]=u.useState({}),[m,M]=u.useState(void 0),[T,k]=u.useState(l),Y="none",A=c=>l==="account_group"?!0:t?.length>0?t.find(i=>i[0]===c[0])!=null:!1,I=(c,i)=>{w(!0),B(c),F?.(c,i,l==="account_group"?!0:void 0),$(c,i)},$=(c,i)=>{const g=H(c);for(const b of g.children)F?.(b.classId,i),$(b.classId,i)},H=c=>{let i=n.filter(g=>g.classId[0]===c[c.length-1])[0];for(let g=c.length-2;g>=0;g--)i=i.children.filter(b=>b.classId[0]===c[g])[0];return i},G=c=>{if(c.length>1){const i=H(c.slice(1));let g=!1;for(const b of i.children)if(t.find(J=>J[0]===b.classId[0])===void 0){g=!0;break}g===!0?F?.(i.classId,!0):F?.(i.classId,!1),B(i.classId)}};u.useEffect(()=>{E&&G(L)}),u.useEffect(()=>{const c={reportId:e,displayOrder:"ascending_date",reportFormat:"more_detailed",mode:Y,firstMonthOfFY:r,filterAccountsWithNilBalances:"off",filterAccountGroupsWithNilBalances:"off",showNegativeAmountInParenthesis:!1,isClassToBeFilteredOut:A,showClassAccountNumber:h};if(v==null||!X(m,n)||!X(T,l)||E===!0){const i=Ye(n,c);M(n),j(i),k(l)}else{const i=He(v,c);j(i),k(l)}},[n,l,t]);const[q,K]=u.useState(5),Z=c=>{const i=c+f[6];K(i)};return v!=null?o.jsx(Ge,{height:q,children:o.jsx(Be,{backgroundColor:l==="classes"?new Oe(z.colors.background):void 0,rootNodes:v,type:"name_only",compareMode:"compare_mode_amount",isSticky:{isStickyHeader:!1,isStickyName:!1},treeNodePadding:{left:se.contentPaddingLeft.value(W),right:se.contentPaddingRight.value(W)},scrollPosition:y,onScroll:_,nodeOpenStatus:D,onNodeCollapseToggled:U,onToggleCheck:I,onReportTableHeightChanged:Z})}):null},C={width:new P(350,400,400),height:new P(165,165,165),buttonWidth:new P(62,62),buttonHeight:new P(f[5],f[5]),containerWidth:new P(150,400,400)},Ue=d.div`
|
|
27
|
+
position: relative;
|
|
28
|
+
pointer-events: ${e=>e.isDisabled===!0?"none":"initial"};
|
|
29
|
+
`,qe=d.div`
|
|
30
|
+
display: flex;
|
|
31
|
+
flex-direction: column;
|
|
32
|
+
width: ${e=>C.containerWidth.valuePx(e.windowSize)};
|
|
33
|
+
`,Ke=d(je)`
|
|
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: ${a.sp2};
|
|
48
|
+
margin-top: 12px;
|
|
49
|
+
align-items: center;
|
|
50
|
+
`,Ze=d(Ie)`
|
|
51
|
+
color: ${e=>e.theme.colors.hero};
|
|
52
|
+
width: ${a.sp4};
|
|
53
|
+
height: ${a.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: ${a.sp1};
|
|
65
|
+
box-shadow: ${e=>`${a.sp0} 2px ${a.sp2} ${e.theme.colors.dropShadowHover}`};
|
|
66
|
+
margin-top: 10px;
|
|
67
|
+
padding-top: ${a.sp1};
|
|
68
|
+
background: ${e=>e.theme.colors.grey5};
|
|
69
|
+
`,ne=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: ${a.sp3};
|
|
82
|
+
height: ${a.sp3};
|
|
83
|
+
padding: 2px;
|
|
84
|
+
background-clip: content-box;
|
|
85
|
+
border: 1px solid ${e=>e.theme.colors.primary};
|
|
86
|
+
border-radius: 50%;
|
|
87
|
+
margin: ${a.sp0} ${a.sp2} ${a.sp0} ${a.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
|
+
`,ae=d(Ne)`
|
|
103
|
+
height: ${a.sp6};
|
|
104
|
+
display: flex;
|
|
105
|
+
justify-content: center;
|
|
106
|
+
align-items: center;
|
|
107
|
+
`,Xe=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
|
+
`,eo=d.div`
|
|
121
|
+
width: 100%;
|
|
122
|
+
height: 65px;
|
|
123
|
+
`,re=d.label`
|
|
124
|
+
color: ${e=>e.theme.colors.primary};
|
|
125
|
+
cursor: ${e=>e.disabled===!0?"default":"pointer"};
|
|
126
|
+
`,oo=d(he)`
|
|
127
|
+
display: flex;
|
|
128
|
+
align-items: center;
|
|
129
|
+
column-gap: ${a.sp2};
|
|
130
|
+
margin-left: ${a.sp5};
|
|
131
|
+
color: ${e=>e.theme.colors.hero};
|
|
132
|
+
&:hover {
|
|
133
|
+
cursor: pointer;
|
|
134
|
+
color: ${e=>e.theme.colors.primary};
|
|
135
|
+
}
|
|
136
|
+
`,to=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
|
+
`,so=d(Se)`
|
|
144
|
+
width: ${a.sp3};
|
|
145
|
+
height: ${a.sp3};
|
|
146
|
+
`,no=d(he)`
|
|
147
|
+
margin-left: ${a.sp5};
|
|
148
|
+
margin-top: -12px;
|
|
149
|
+
color: ${e=>e.theme.colors.hero};
|
|
150
|
+
`,{reportViewSelector:N,common:{footer:le}}=oe.getLocalizedStrings(),ie="tableViewSelector",ce=e=>`${e}_form`;function uo({reportId:e,firstMonthOfFY:r,nodes:n,classesListFetchState:t,selectedView:l,classesToBeFilteredOut:h,showClassAccountNumber:y,onOpenAccountViewMode:_,onSaveClick:D,isClassViewDisabled:U,downloadPage:F,showAccountGroups:z=!0,onResyncReports:W,isPageFetchInProgress:v=!1,lastRefreshSuccessTime:j}){const E=ee(),w=de(),[L,B]=u.useState(!1),[m,M]=u.useState(l),[T,k]=u.useState({}),Y=(s,p)=>(s.forEach(x=>{p.push(x.classId),p=Y(x.children,p)}),p),A=Y(n,[]),[I,$]=u.useState(m==="classes"?h:A),H=t!=="Completed"||m==="classes"&&I.length===A.length,G=u.useRef(!1),[q,K]=u.useState(!1),Z=u.useRef(s=>{s&&!G.current&&(G.current=!0,K(!0))});xe({componentName:`reports.${e}`,enabled:q});const c=s=>s==="classes"?N.classes.label:z===!0?N.accountGroups.label:N.accounts.label,i=ye({mode:"all"}),g=i.handleSubmit(()=>{B(!1),m==="classes"?D?.("classes",I):D?.("account_group")}),b=s=>{if(M(s),s==="classes")k({}),$([]);else{$(A);let p={};n.forEach(x=>{const S=O("checkbox_and_name_only",[],x.classId[0]);p=Object.assign({},p,{[S]:!1})}),k(p)}},J=()=>{L===!0&&Q(),B(!L);let s={};n.forEach(p=>{const x=O("checkbox_and_name_only",[],p.classId[0]);l==="account_group"||I.find(S=>S[0]===p.classId[0])!==void 0?s=Object.assign({},s,{[x]:!1}):s=Object.assign({},s,{[x]:!0})}),k(s)},me=(s,p,x)=>{if(x===!0&&(M("classes"),$(A)),p===!0){const S=O("checkbox_and_name_only",[],s[0]);T[S]=!0,k(T),$(R=>R.filter(be=>be[0]!==s[0]))}else{const S=O("checkbox_and_name_only",[],s[0]);T[S]=!1,I.find(R=>R[0]===s[0])===void 0&&$(R=>[...R,s])}},Q=()=>{B(!1),M(l),$(h)},ge=()=>{v===!1&&W?.()};return u.useEffect(()=>{if(t==="Completed"&&m==="account_group"){let s={};n.forEach(p=>{const x=O("checkbox_and_name_only",[],p.classId[0]);s=Object.assign({},s,{[x]:!1})}),k(s)}},[t]),o.jsx(_e,{onClickAway:Q,children:o.jsxs(Ue,{ref:Z.current,isDisabled:U??!1,children:[F===!0?o.jsx(ze,{value:c(l),onClick:()=>{_?.(),J()}}):o.jsxs(qe,{windowSize:w,children:[o.jsxs(Ke,{onClick:s=>{s.preventDefault(),_?.(),J()},children:[o.jsx(Ze,{className:"dropdownIcon"}),c(l)]}),l==="classes"?o.jsx(oo,{onClick:ge,children:v?N.generatingReportByClass:o.jsxs(o.Fragment,{children:[j&&`${te(j)}`,o.jsx(so,{})]})}):null]}),L?o.jsx(we,{...i,children:o.jsx("form",{id:ce(ie),onSubmit:g,children:o.jsxs(Qe,{width:C.width.value(w),children:[o.jsx(ne,{checked:m==="account_group",children:o.jsxs(ae,{onClick:()=>m!=="account_group"?b("account_group"):null,children:[o.jsx("input",{type:"radio",value:"account_group",id:"accountGroups",name:"formgroup",onChange:s=>b(s.currentTarget.value),checked:m==="account_group",disabled:t!=="Completed"}),o.jsx(re,{disabled:t!=="Completed",children:z===!0?N.accountGroups.dropdownLabel:N.accounts.dropdownLabel})]})}),o.jsx(to,{}),o.jsxs(ne,{checked:m==="classes",children:[o.jsxs(ae,{onClick:()=>t==="Completed"?b("classes"):null,children:[o.jsx("input",{type:"radio",value:"classes",id:"classes",name:"formgroup",onChange:s=>t==="Completed"?b(s.currentTarget.value):null,checked:m==="classes",disabled:t!=="Completed"}),o.jsx(re,{disabled:t!=="Completed",children:N.classes.dropdownLabel})]}),v||t!=="Completed"?null:o.jsx(no,{children:j&&`${te(j)}`}),t==="Completed"?o.jsx(Xe,{id:"sectionformcontainer",children:o.jsx(ao,{reportId:e,firstMonthOfFY:r,nestedClassHierarchy:n,classesToBeFilteredOut:I,selectedView:m,nodeOpenStatus:T,showClassAccountNumber:y,onToggleCheck:me})}):o.jsx(We,{backgroundColor:E.colors.grey3,foregroundColor:E.colors.grey4,width:C.width.value(w),height:C.height.value(w),animated:!0})]}),o.jsx(eo,{children:o.jsx($e,{formId:ce(ie),primaryBtn:{label:le.save,style:{width:C.buttonWidth.valuePx(w),height:C.buttonHeight.valuePx(w)},isLoading:!1,isDisabled:H,size:"small"},showCancel:!0,cancelBtn:{label:le.cancel,style:{width:C.buttonWidth.valuePx(w),height:C.buttonHeight.valuePx(w)},onClick:Q,size:"small",shouldResetOnCancel:!0},style:{padding:a.sp3}})})]})})}):null]})})}const ao=ue.memo(Je,X);export{ho as g,uo as x};
|
|
@@ -0,0 +1,121 @@
|
|
|
1
|
+
import{J as W,d as G,O as y,ax as ge,V as r,bQ as _e,aR as P,bF as be,bE as Se,o as w,aV as we,T as ye,y as B,bR as Ce,u as S,w as A,aF as X,$ as xe,aX as Oe,at as Re,bN as Ae}from"./index-sotzB3Mx.js";import{a as L,P as K}from"./sentry-2bqpslFP.js";import{n as _}from"./mui-CWqpJBOf.js";import{bg as Z,ES as Be,E$ as ve,F0 as $,F1 as Te,F2 as Le,F3 as Pe,F4 as Ne,F5 as Ie,F6 as ee,F7 as te}from"./zeni-epic-state-DM-Ak8Gv.js";import{m as z,l as q}from"./analyticsHelper-BZApS5V7-B7rpJkUm.js";import{x as ke}from"./ReportTableViewSelector-DikZuwk8-JNUnKB0r.js";import{a as se,p as Fe}from"./TimeRangeSwitcher-BifUYnpe-C0S2hPAm.js";import{M as Me}from"./TimeframeSwitcherWithToggle-C0fPwGaA-BBTlDoLy.js";import{DownloadOverlayButton as $e}from"./DownloadOverlay-B61S0t5X-D_O4PIgS.js";import{I as Ee,R as F,x as ne}from"./CollapsableReportTable-4bJMcvHV-DJSNBbx8.js";import{D as oe,T as ae,C as E,L as je,g as ie}from"./mapSectionWithAcOnlyToTreeNode-oqbfssc7-BaqyGbt-.js";import{s as Y}from"./mapTimeframeBalancesToTreeNode-B8pIGqbO-BJk8DWTQ.js";import{d as Ve,l as De}from"./mapTimeframeHeaderLoadingInProgressToTreeNode-BGId2YAo-D_Czi_I6.js";import{d as ze}from"./mapLoadingInProgressToTreeNode-BXVk4dIp-BuiNw2vq.js";import"./liveblocks-DezulwOD.js";import"./core-D2KcXy_y.js";import"./recharts-H7gIkfSf.js";import"./lottie-D7_uSTtS.js";import"./analytics-DRVsD-is.js";import"./lexical-Dj2KAtCD.js";import"./utils-Bfvb8rvn.js";import"./TimeframeSwitcher-9X-6amWo-BHsPnDZX.js";import"./page-detail-CWX5S47F-B2tDMGkf.js";import"./AccountRow-BsjoBGWz-XKpYWJFn.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]="d89644e6-e3f9-454a-a0f2-9ef4188158b1",e._sentryDebugIdIdentifier="sentry-dbid-d89644e6-e3f9-454a-a0f2-9ef4188158b1")}catch{}})();function ce({section:e,sectionId:t,numOfBalances:o,config:a}){return ne("no_filter",a.filterAccountsWithNilBalances,a.filterAccountGroupsWithNilBalances).compactedAccountGroupsSelector(e.accountGroups).map(n=>Ue({accountGroup:n,sectionType:t,numOfBalances:o,title:n.accountGroupName,isLastNode:!0,config:a}))}function Ue({accountGroup:e,sectionType:t,numOfBalances:o,title:a,isLastNode:n,config:d}){const p=F("section",[],a+t),l={children:[],id:p,isLastNode:n,reportElementData:{element:{kind:"section",title:a,sectionType:t,data:e,numOfBalances:o},config:d}},i=ne("no_filter",d.filterAccountsWithNilBalances,d.filterAccountGroupsWithNilBalances).compactedAccountsSelectorVariant(e.accounts),u=i.map((g,f)=>ie({account:g,sectionType:t,numOfBalances:o,title:g.account.accountName,config:d,isLastNode:f===i.length-1,parentNodeIDs:[p],ancestorMetadata:{subAccountAncestorMetadata:[{depth:0,hasSibling:i.length>1,hasChildren:g.children.length>0,isLastNode:f===i.length-1}]}}));return l.children.push(...u),l}function re({sectionWithAcOnly:e,sectionType:t,numOfBalances:o,config:a}){return e.accounts.map((n,d)=>ie({account:n,sectionType:t,numOfBalances:o,title:n.account.accountName,config:a,isLastNode:d===e.accounts.length-1,parentNodeIDs:[],ancestorMetadata:{subAccountAncestorMetadata:[{depth:0,hasSibling:e.accounts.length>1,hasChildren:n.children.length>0,isLastNode:d===e.accounts.length-1}]}}))}function le({balances:e,config:t,nodeId:o}){return{children:[],id:o??F("timeframe_header",[]),isLastNode:!1,reportElementData:{element:{kind:t.mode==="actual_vs_forecast"?"timeframe_headers_with_forecast":"timeframe_headers",title:"",data:e,numOfBalances:e.length},config:t}}}function We(e,t,o,a=!0){Object.assign(e.config,t);const n=de(o),d=Y({balances:n,config:t});return{config:t,headerNodes:a?[d]:[],contentNodes:[d,...e.contentNodes.slice(1)]}}const de=e=>{switch(e.reportId){case"profit_and_loss":{const t=e;return t.sections.expenses.balances.length>0?[...t.sections.expenses.balances,...t.sections.expenses.additionalBalances]:[...t.sections.income.balances,...t.sections.income.additionalBalances]}case"profit_and_loss_by_classes":{const t=e;return t.sections.expenses.balances.length>0?[...t.sections.expenses.balances,...t.sections.expenses.additionalBalances]:[...t.sections.income.balances,...t.sections.income.additionalBalances]}case"cash_flow":{const t=e;return[...t.calculatedSections.operatingActivitiesTotal.balances,...t.calculatedSections.operatingActivitiesTotal.additionalBalances]}case"balance_sheet":{const t=e;let o=[];return Object.keys(t.sections).forEach(a=>{t.sections[a].balances.length>0&&(o=[...t.sections[a].balances,...t.sections[a].additionalBalances])}),o}default:return[]}};function Ge(e,t,o=!0){const a=y.getLocalizedStrings().reports.sections,n=y.getLocalizedStrings().reports.balanceSheet,d=de(e),p=t.mode!=null&&t.mode==="this_period_vs_period_before"&&d.length>1?e.filter.balancesRange.numberOfPeriods+2:e.filter.balancesRange.numberOfPeriods+1,l=le({balances:d,config:t}),i=[];return i.push(l),Object.keys(e.rootSectionsWithSubSectionIds).forEach(u=>{const g=F("title_string_only",[],u),f={children:[],id:g,isLastNode:!0,reportElementData:{element:{kind:"title_string_only",title:a[u],data:void 0,numOfBalances:0},config:t}};i.push(f),e.rootSectionsWithSubSectionIds[u].forEach(s=>{if(Te(s)===!0)if(e.sections[s].accountGroups.length>0)if(s==="equity"){const c=ce({sectionId:s,section:e.sections[s],numOfBalances:p,config:t});i.push(...c)}else i.push(oe({section:e.sections[s],sectionType:s,numOfBalances:p,title:n[s],isLastNode:!0,config:t}));else if(s==="equity"){const c=re({sectionWithAcOnly:e.sections[s],sectionType:s,numOfBalances:p,config:t});i.push(...c)}else{const c=e.sections[s];i.push(ae({sectionWithAcOnly:c,sectionType:s,numOfBalances:p,title:n[s],isLastNode:!0,config:t}))}else Le(s)===!0&&i.push(E({calculatedSection:e.calculatedSections[s],numOfBalances:p,title:n[s],isLastNode:!0,config:t}))})}),{config:t,headerNodes:o?[l]:[],contentNodes:i}}function Ye({calculatedSection:e,numOfBalances:t,title:o,isLastNode:a,config:n}){return{children:[],id:F("calculated_section_type1",[],o),isLastNode:a,reportElementData:{element:{kind:"calculated_section_type1",title:o,data:e,numOfBalances:t},config:n}}}function He(e,t,o=!0){const a=y.getLocalizedStrings().reports.sections,n=y.getLocalizedStrings().reports.cashFlow,d=[...e.calculatedSections.operatingActivitiesTotal.balances,...e.calculatedSections.operatingActivitiesTotal.additionalBalances],p=t.mode!=null&&t.mode==="this_period_vs_period_before"&&d.length>1?e.filter.balancesRange.numberOfPeriods+2:e.filter.balancesRange.numberOfPeriods+1,l=le({balances:d,config:t}),i=[];return Object.keys(e.rootSectionsWithSubSectionIds).forEach(u=>{const g=F("title_string_only",[],u),f={children:[],id:g,isLastNode:!0,reportElementData:{element:{kind:"title_string_only",title:a[u],data:void 0,numOfBalances:0},config:t}};i.push(f),e.rootSectionsWithSubSectionIds[u].forEach(s=>{if(Pe(s)===!0)if(e.sections[s].accountGroups.length>0){const c=ce({sectionId:s,section:e.sections[s],numOfBalances:p,config:t});i.push(...c)}else{const c=re({sectionWithAcOnly:e.sections[s],sectionType:s,numOfBalances:p,config:t});i.push(...c)}else Ne(s)===!0?i.push(Ye({calculatedSection:e.calculatedSections[s],numOfBalances:p,title:n[s],isLastNode:!0,config:t})):Ie(s)===!0&&i.push(E({calculatedSection:e.calculatedSections[s],numOfBalances:p,title:n[s],isLastNode:!0,config:t}))})}),{config:t,headerNodes:o?[l]:[],contentNodes:[l,...i]}}function Ze(e,t,o=!0,a=!1){const n=y.getLocalizedStrings().reports,d=y.getLocalizedStrings().common;let p=[];const l=[];let i=[];if(a===!0){const u=Ve({title:d.loading,balances:[],config:t});u.reportElementData.element.numOfBalances=6,o&&(i=[u]),l.push(u),[...Array(8)].forEach((g,f)=>{const s=f%4;let c=De[s];const C=ze({title:`${f}+${c}`,balances:p,config:t});C.reportElementData.element.numOfBalances=6,l.push(C)})}else{const u=e.sections.expenses.balances.length>0?[...e.sections.expenses.balances,...e.sections.expenses.additionalBalances]:e.sections.income.balances.length>0?[...e.sections.income.balances,...e.sections.income.additionalBalances]:e.sections.cogs.balances.length>0?[...e.sections.cogs.balances,...e.sections.cogs.additionalBalances]:e.sections.otherIncome.balances.length>0?[...e.sections.otherIncome.balances,...e.sections.otherIncome.additionalBalances]:e.sections.otherExpenses.balances.length>0?[...e.sections.otherExpenses.balances,...e.sections.otherExpenses.additionalBalances]:[],g=Y({balances:u,config:t}),f=t.mode!=null&&t.mode==="this_period_vs_period_before"&&u.length>1?e.filter.balancesRange.numberOfPeriods+2:e.filter.balancesRange.numberOfPeriods+1;l.push(g),o&&(i=[g]),e.idsInOrder.forEach(s=>{if(ee(s)===!0){const c=e.sections[s];c!=null&&l.push(je({section:c,sectionType:s,numOfBalances:f,title:n.sections[s],isLastNode:!0,config:t}))}else if(te(s)===!0){const c=e.calculatedSections[s];c!=null&&l.push(E({calculatedSection:c,numOfBalances:f,title:n.sections[s],isLastNode:!0,config:t}))}})}return{config:t,headerNodes:i,contentNodes:l}}function qe(e,t,o=!0){const a=y.getLocalizedStrings().reports,n=e.sections.expenses!=null&&e.sections.expenses.balances.length>0?[...e.sections.expenses.balances,...e.sections.expenses.additionalBalances]:e.sections.income!=null&&e.sections.income.balances.length>0?[...e.sections.income.balances,...e.sections.income.additionalBalances]:e.sections.cogs!=null&&e.sections.cogs.balances.length>0?[...e.sections.cogs.balances,...e.sections.cogs.additionalBalances]:e.sections.otherIncome!=null&&e.sections.otherIncome.balances.length>0?[...e.sections.otherIncome.balances,...e.sections.otherIncome.additionalBalances]:e.sections.otherExpenses!=null&&e.sections.otherExpenses.balances.length>0?[...e.sections.otherExpenses.balances,...e.sections.otherExpenses.additionalBalances]:[],d=t.mode!=null&&t.mode==="this_period_vs_period_before"&&n.length>1?e.filter.balancesRange.numberOfPeriods+2:e.filter.balancesRange.numberOfPeriods+1,p=Y({balances:n,config:t}),l=[];return l.push(p),e.idsInOrder.forEach(i=>{if(ee(i)===!0&&(e.sections[i].accountGroups.length>0?l.push(oe({section:e.sections[i],sectionType:i,numOfBalances:d,title:a.sections[i],isLastNode:!0,config:t})):l.push(ae({sectionWithAcOnly:e.sections[i],sectionType:i,numOfBalances:d,title:a.sections[i],isLastNode:!0,config:t}))),te(i)===!0){const u=e.calculatedSections[i];u!=null&&l.push(E({calculatedSection:u,numOfBalances:d,title:a.sections[i],isLastNode:!0,config:t}))}}),{config:t,headerNodes:o?[p]:[],contentNodes:l}}const J={contentPaddingLeft:new B(S[0],S[0],S[0]),contentPaddingRight:new B(S[3],S[3],S[8])},Je=_.div`
|
|
2
|
+
height: ${e=>e.height}px;
|
|
3
|
+
width: 99.9%;
|
|
4
|
+
margin-top: ${w.sp2};
|
|
5
|
+
background-color: ${e=>e.theme.colors.grey4};
|
|
6
|
+
`;function Qe({report:e,displayOrder:t,reportFormat:o,analytics:a,isZeniUser:n,onAdditionalBalanceSelectionChanged:d,onAccountBalanceClick:p,onTableScroll:l,onElementCollapseStateChanged:i,isCompareModeOn:u,isPageFetchInProgress:g=!1}){const f=W(),s=G(),[c,C]=L.useState(void 0),[x,j]=L.useState(void 0),v=!(f==="small"||f==="medium-compact"),V="name+balances_actual",M=u===!0?"this_period_vs_period_before":"none",O=()=>{let m=[];switch(e.reportId){case"profit_and_loss":{const h=e;m=(h.sections.expenses.balances.length>0?h.sections.expenses:h.sections.income).additionalBalances.map(D=>$(D));break}case"profit_and_loss_by_classes":{const h=e,D=(h.sections.expenses?.balances?.length??0)>0?h.sections.expenses:null,he=(h.sections.income?.balances?.length??0)>0?h.sections.income:null,H=D??he;H?.additionalBalances!=null&&(m=H.additionalBalances.map(me=>$(me)));break}case"cash_flow":{m=e.calculatedSections.investingActivitiesTotal.additionalBalances.map(h=>$(h));break}case"balance_sheet":{m=e.sections.equity.additionalBalances.map(h=>$(h));break}}return m.length>0&&m.find(h=>h.balanceType==="this_period_vs_last_period")?"compare_mode_amount":"compare_mode_percent"};L.useEffect(()=>{const m={reportId:e.reportId,bookCloseDate:e.bookCloseDate,mode:M,firstMonthOfFY:e.firstMonthOfFY,filterAccountsWithNilBalances:"filter_actual_nil_balances",filterAccountGroupsWithNilBalances:"filter_actual_forecast_empty_account_group_balances",displayOrder:t,reportFormat:o,dataAvailable:e.dataAvailable,showNegativeAmountInParenthesis:Ae(),showClassAccountNumber:n};if(c==null||!X(x,e)||g===!0){const h=Xe(e,m,v,g);j(e),C(h)}else{const h=We(c,m,e,v);C(h)}},[u,e,g]);const[R,I]=L.useState(5),k=m=>{const h=m+135;I(h)},fe=m=>m?.trackPageLoaded(Ke(e));return c!=null?r.jsxs(r.Fragment,{children:[r.jsx(xe,{analytics:a,onLoad:fe}),r.jsx(Je,{height:R,children:r.jsx(Ee,{backgroundColor:new Oe(s.colors.grey4),rootNodes:c,type:V,compareMode:O(),isSticky:{isStickyHeader:v,isStickyName:v},treeNodePadding:{left:J.contentPaddingLeft.value(f),right:J.contentPaddingRight.value(f)},onAccountClick:p==null?void 0:(m,h)=>{p(m,h)},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,h)=>i?.(e.reportId,m,h),onReportTableHeightChanged:k,onScroll:m=>l?.(e.reportId,m)})})]}):null}const Xe=(e,t,o=!0,a=!1)=>{switch(e.reportId){case"profit_and_loss":return qe(e,t,o);case"profit_and_loss_by_classes":return Ze(e,t,o,a);case"cash_flow":return He(e,t,o);case"balance_sheet":return Ge(e,t,o);default:return}},Ke=e=>{switch(e.reportId){case"profit_and_loss":case"profit_and_loss_by_classes":return A.Event.profitAndLoss;case"cash_flow":return A.Event.cashFlow;case"balance_sheet":return A.Event.balanceSheet;default:return A.Event.reports}},et=_.div`
|
|
7
|
+
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
|
+
`,tt=_.div`
|
|
14
|
+
display: flex;
|
|
15
|
+
position: relative;
|
|
16
|
+
`,st=_(Re)`
|
|
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 ${w.sp4}`:0};
|
|
21
|
+
display: flex;
|
|
22
|
+
flex-direction: column;
|
|
23
|
+
align-items: center;
|
|
24
|
+
&:hover {
|
|
25
|
+
color: ${e=>e.theme.colors.primary};
|
|
26
|
+
}
|
|
27
|
+
`,nt=_.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 ot({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(st,{"data-testid":P("reportSwitcher",e),onClick:()=>{t===!1&&o(e)},isSelected:t,spaceAround:e==="balance_sheet",children:a(e)})}function at({reportIds:e,selectedReport:t,onReportSelectionChanged:o}){const a=n=>{o?.(n)};return r.jsx(et,{"data-testid":P("report-switcher-container"),children:r.jsx(tt,{"data-testid":P("report-switcher-content"),children:e.map(n=>n!=="profit_and_loss_by_classes"&&r.jsxs("div",{children:[r.jsx(ot,{reportId:n,isSelected:t===n,onClick:a}),r.jsx(nt,{className:`Slider ${t}`})]},`reportSegment-${n}`))})})}const N={contentContainerLeftRightMargin:new B(S[3],S[3],S[8]),contentRightPadding:new B(S[3],S[3],S[8]),tickSkelectionContainerWidth:new B(343,600,905,1240)},it=new B(4,4),ct=new B(4,4),rt={selectedNumberOfPeriods:(e,t)=>e?ct.value(t):it.value(t)},lt=_.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
|
+
`,dt=_.div`
|
|
59
|
+
display: flex;
|
|
60
|
+
flex: 1 1 auto;
|
|
61
|
+
flex-direction: column;
|
|
62
|
+
height: calc(100vh - ${w.sp10});
|
|
63
|
+
margin: ${e=>`${w.sp2} ${w.sp0} ${w.sp0} ${N.contentContainerLeftRightMargin.valuePx(e.windowSize)}`};
|
|
64
|
+
`,pt=_.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
|
+
`,ut=_.div`
|
|
73
|
+
position: absolute;
|
|
74
|
+
margin-top: ${e=>e.windowSize==="small"?"230px":"195px"};
|
|
75
|
+
background-color: ${e=>e.theme.colors.grey4};
|
|
76
|
+
`,ft=_.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
|
+
`,ht=_.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: ${w.sp5};
|
|
91
|
+
color: ${e=>e.theme.colors.grey1};
|
|
92
|
+
}
|
|
93
|
+
&:hover {
|
|
94
|
+
& svg {
|
|
95
|
+
color: ${e=>e.theme.colors.primary};
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
`,mt=_(we)`
|
|
99
|
+
margin-top: ${w.sp3};
|
|
100
|
+
color: ${e=>e.theme.colors.hero};
|
|
101
|
+
`,pe=({style:e,isLoading:t})=>t?r.jsx(pt,{style:e,children:r.jsx(ye,{size:"ExtraLarge",start:!0})}):null,b=e=>{switch(e.selectedReport){case"cash_flow":return e.cashFlowReport;case"balance_sheet":return e.balanceSheetReport;case"profit_and_loss_by_classes":return e.profitAndLossClassesViewReport;case"profit_and_loss":default:return e.profitAndLossReport}},U=({selectedReport:e,isCompareModeOn:t,windowSize:o})=>{const a=e.availableNumberOfPeriods;let n=rt.selectedNumberOfPeriods(t,o);return a!=null&&(n=Math.min(n,a)),n};function Jt(e){const t=W(),o=G(),{onUpdateAccountViewMode:a,onUpdateClassesToFilterOut:n,onAdditionalBalanceSelectionChanged:d,onTimeframeSelectionChanged:p,isCompareMode:l,selectedReportAndTimeframeFetchState:i,onClickMenuIcon:u}=e,g=(O,R)=>{O!==f?.accountViewMode&&a?.(O),R&&n?.(R)};L.useEffect(()=>{if(e.fetchState==="Completed"){const O=b(e).filter.additionalBalances;e.onUpdateHighlightedNumberOfPeriods?.(O,e.isCompareMode,U({selectedReport:b(e),isCompareModeOn:e.isCompareMode,windowSize:t}),e.balancesInTimeframe)}},[t,e.fetchState]);const f=bt(e),s=y.getLocalizedStrings().reports.common,c=ge(),C=c!=null&&Z(c.loggedInUserRole)?"detailed":"more_detailed",x=c!=null&&Z(c.loggedInUserRole)?["more_detailed"]:[];e.showAccountGroups===!1&&f?.accountViewMode==="account_group"&&x.push("detailed");const[j,v]=K.useState(x.includes("more_detailed")?"detailed":"more_detailed"),V={selectedFormat:j,disabledFormatForRole:x,roleBasedClassesSelectedFormat:C,setSelectedFormat:v};if(i.fetchState==="Error"||e.fetchState==="Error")return r.jsxs(ft,{"data-testid":P("report-page-error-reload-page"),children:[r.jsx(ht,{"data-testid":P("report-page-error-reload-icon"),onClick:e.onReloadReport,children:r.jsx(_e,{})}),r.jsx(mt,{children:s.failed})]});const M=e.fetchState;if(i.fetchState!=="Completed"&&(M==="In-Progress"||M==="Not-Started"))return r.jsx(pe,{isLoading:!0});{const O=r.jsx(be,{downloadReportOptions:{type:"detailed_menu",downloadMenu:{detailedMenu:f!=null&&e.dataAvailable!=null?r.jsx($e,{defaultOptions:f,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:(R,I,k)=>{d(l,R,I,k)},onTimeframeSelectionChanged:(R,I,k)=>{p?.(R,I,k)}}):r.jsx(r.Fragment,{})}}});return r.jsxs(lt,{children:[r.jsx(Se,{title:y.getLocalizedStrings().reports.title,backgroundColor:o.colors.grey4,onBackClick:e.onBackClick,showMenuIcon:t==="medium-compact"||t==="small",onClickMenuIcon:u,rightSideComponent:O,downloadPresent:!0,source:"ReportsPage",hideSearchBtn:!0}),r.jsx(gt,{...e})]})}}function gt(e){const t=W(),o=G(),a=L.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 C=Array.from(new Set(s==="this_period_vs_last_period_percent"?[...b(e).filter.additionalBalances,"this_period_vs_last_period_percent"].filter(x=>x!=="this_period_vs_last_period"):[...b(e).filter.additionalBalances,"this_period_vs_last_period"].filter(x=>x!=="this_period_vs_last_period_percent")));e.onAdditionalBalanceSelectionChanged?.(e.isCompareMode,C,U({selectedReport:b(e),isCompareModeOn:e.isCompareMode,windowSize:t}))},l=(s,c)=>{s!==e.profitAndLossClassesViewReport?.uiState.accountViewMode&&e.onUpdateAccountViewMode?.(s),c&&e.onUpdateClassesToFilterOut?.(c)},i=b(e),u=a.current?.clientWidth??N.tickSkelectionContainerWidth.value(t),g=Be([e.reportsResyncFetchState,e.profitAndLossClassesViewReport]).fetchState==="In-Progress"&&e.profitAndLossClassesViewReport.uiState.accountViewMode==="classes",f=n.fetchState==="In-Progress";return r.jsxs(dt,{windowSize:t,"data-testid":P("reports-page-content-container"),children:[r.jsx(yt,{windowSize:t,ref:a,children:r.jsx(Me,{timeframe:{allowedTimeframes:d,selectedTimeframe:e.selectedTimeframe,onTimeframeSelectionChanged:s=>{e.analytics?.trackTimeframeSwitch(z(s),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=b(e).filter;e.onAdditionalBalanceSelectionChanged?.(s,c.additionalBalances,c.balancesRange.numberOfPeriods)}}})}),n.fetchState==="Not-Started"||n.fetchState==="In-Progress"?r.jsx(xt,{windowSize:t,children:r.jsx(Ot,{children:r.jsx(Ce,{width:u,height:se-S[2],backgroundColor:o.colors.grey3,style:{borderRadius:w.sp2}})})}):r.jsx(Ct,{windowSize:t,children:r.jsx(Fe,{firstMonthOfFY:i.firstMonthOfFY,timeframe:e.selectedTimeframe,timeframeTicks:e.allTimeframeTicks,selection:{selectedTicks:Q(e.allTimeframeTicks,e.selectedCOABalancesRange),highlightedOfSelectedTicks:Q(e.allTimeframeTicks,e.selectedCOABalancesRange)},onClick:(s,c)=>{e.analytics?.trackDateRangeFilterChange(T(e.selectedReport),"range filter",e.isCompareMode,q(i.firstMonthOfFY,e.selectedTimeframe,c)),e.onThisPeriodChanged?.(c,U({selectedReport:b(e),isCompareModeOn:e.isCompareMode,windowSize:t}))},onSelectionChanged:s=>{const c=_t(e.allTimeframeTicks,s.fromEnd);e.analytics?.trackDateRangeFilterChange(T(e.selectedReport),"range filter",e.isCompareMode,q(i.firstMonthOfFY,e.selectedTimeframe,c.thisPeriod)),e.onCOABalancesRangeChanged?.(c)}})}),r.jsx(Rt,{windowSize:t,children:r.jsx(at,{reportIds:["profit_and_loss","balance_sheet","cash_flow","profit_and_loss_by_classes"],selectedReport:e.selectedReport,onReportSelectionChanged:s=>{e.analytics?.trackPageLoaded(St(s)),s==="profit_and_loss"&&e.profitAndLossClassesViewReport?.uiState.accountViewMode==="classes"?e.onReportSelectionChanged?.("profit_and_loss_by_classes"):e.onReportSelectionChanged?.(s)}})}),n.fetchState==="Not-Started"||n.fetchState==="In-Progress"?r.jsx(pe,{style:{boxShadow:"none",backgroundColor:"inherit"},isLoading:f}):r.jsxs(r.Fragment,{children:[r.jsx(ue,{report:b(e),displayOrder:e.displayOrder,reportFormat:e.reportFormat,analytics:e.analytics,onAdditionalBalanceSelectionChanged:p,onAccountBalanceClick:e.onAccountBalanceClick,onElementCollapseStateChanged:e.onElementCollapseStateChanged,onTableScroll:e.onTableScroll,isCompareModeOn:e.isCompareMode,isZeniUser:e.isZeniUser,isPageFetchInProgress:g}),ve(e.selectedReport)?r.jsx(ut,{windowSize:t,children:r.jsx(ke,{reportId:e.selectedReport,firstMonthOfFY:e.profitAndLossClassesViewReport.firstMonthOfFY,nodes:e.profitAndLossClassesViewReport?.classHierarchy,classesListFetchState:e.profitAndLossClassesViewReport?.fetchState,selectedView:e.profitAndLossClassesViewReport?.uiState.accountViewMode,showClassAccountNumber:e.isZeniUser,showAccountGroups:e.showAccountGroups,onSaveClick:l,classesToBeFilteredOut:e.profitAndLossClassesViewReport?.classesToFilterOut,onOpenAccountViewMode:e.onOpenAccountViewMode,onResyncReports:e.onResyncReports,isPageFetchInProgress:g,lastRefreshSuccessTime:e.profitAndLossClassesViewReport?.status?.lastRefreshSuccessTime})}):null]})]})}const Q=(e,t)=>{if(t.orderBy!=="ascending_date")throw new Error("Invalid ordering of dates!!");let o=e.length-1;return t.thisPeriod!=null&&(o=e.findIndex(a=>a.startDate.isSame(t.thisPeriod.startDate,"date")&&a.endDate.isSameOrBefore(t.thisPeriod.endDate))),{startIndex:Math.max(o+1-t.numberOfPeriods,0),length:t.numberOfPeriods}},_t=(e,t)=>{const o=e.length-1-t.offsetFromEnd;return{thisPeriod:e[o],numberOfPeriods:t.length,orderBy:"ascending_date"}};function bt(e){let t=e.selectedCOABalancesRange.thisPeriod;if(t==null){const p=e.displayOrder,l=e.profitAndLossReport.sections.expenses!=null&&e.profitAndLossReport.sections.expenses.balances.length>0?e.profitAndLossReport.sections.expenses:e.profitAndLossReport.sections.income;if(l!=null&&l.balances.length>0){const i=p==="ascending_date"?l.balances.length-1:0;t=l.balances[i]}}const o=b(e).firstMonthOfFY,a=b(e).bookCloseDate,n=b(e).dataAvailable,d=b(e).filter.additionalBalances;if(t!=null)return{localeId:y.getAppLocaleID(),showNegativeAmountInParenthesis:!0,filterAccountsWithNilBalances:"filter_actual_nil_balances",filterAccountGroupsWithNilBalances:"filter_actual_forecast_empty_account_group_balances",includeCoverPage:!0,companyName:e.currentTenantCompanyName,statementFileType:"pdf",statements:e.profitAndLossClassesViewReport.uiState.accountViewMode==="account_group"?["profit_and_loss","balance_sheet","cash_flow"]:["profit_and_loss_by_classes","balance_sheet","cash_flow"],firstMonthOfFY:o,bookCloseDate:a,dataAvailable:n,timeframe:e.selectedTimeframe,additionalBalances:d,format:e.reportFormat,balancesFilter:{thisPeriod:t,numberOfPeriods:e.selectedCOABalancesRange.numberOfPeriods,orderBy:e.displayOrder},accountViewMode:e.profitAndLossClassesViewReport.uiState.accountViewMode,nestedClassHierarchy:e.profitAndLossClassesViewReport?.classHierarchy,classesToFilterOut:e.profitAndLossClassesViewReport.classesToFilterOut,showClassAccountNumber:e.isZeniUser,isZeniCOAUsed:e.isZeniCOAUsed}}const 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"}},St=e=>{switch(e){case"profit_and_loss":case"profit_and_loss_by_classes":return A.Event.profitAndLoss;case"cash_flow":return A.Event.cashFlow;case"balance_sheet":return A.Event.balanceSheet;default:return A.Event.reports}},ue=K.memo(Qe,(e,t)=>wt(e,t,["report","analytics","isCompareModeOn","isZeniUser","isPageFetchInProgress"]));ue.displayName="Reports table";const wt=(e,t,o)=>o.reduce((a,n)=>a===!0&&X(e[`${n}`],t[`${n}`]),!0),yt=_.div`
|
|
102
|
+
padding-right: ${e=>N.contentRightPadding.valuePx(e.windowSize)};
|
|
103
|
+
`,Ct=_.div`
|
|
104
|
+
margin-top: ${w.sp3};
|
|
105
|
+
padding-right: ${e=>N.contentRightPadding.valuePx(e.windowSize)};
|
|
106
|
+
`,xt=_.div`
|
|
107
|
+
margin-top: ${w.sp3};
|
|
108
|
+
padding-right: ${e=>N.contentRightPadding.valuePx(e.windowSize)};
|
|
109
|
+
`,Ot=_.div`
|
|
110
|
+
display: flex;
|
|
111
|
+
flex-direction: row;
|
|
112
|
+
justify-content: flex-start;
|
|
113
|
+
min-height: ${se}px;
|
|
114
|
+
box-sizing: content-box;
|
|
115
|
+
width: 100%;
|
|
116
|
+
align-items: center;
|
|
117
|
+
justify-content: center;
|
|
118
|
+
`,Rt=_.div`
|
|
119
|
+
margin-top: ${w.sp4};
|
|
120
|
+
padding-right: ${e=>N.contentRightPadding.valuePx(e.windowSize)};
|
|
121
|
+
`;export{Jt as default};
|