@zeniai/web-cockpit-ui 1.14.10-qa → 1.14.11-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-D6-Uk4xr-CqCQg7ha.js +21 -0
- package/dist/assets/{AIPerformancePage-FvDkFQx9-DcdCslTz.js → AIPerformancePage-pQP8EI_S-DOdJRYuT.js} +49 -49
- package/dist/assets/{AccountInfoPage-RM6DvvVS-Dg1PKEt4.js → AccountInfoPage-DxAa9GD7-BDuKQBCM.js} +5 -5
- package/dist/assets/{AccountInfoPageContent-DEG1tMaK-B-d3bj1J.js → AccountInfoPageContent-tNTpX5pA-DZsnTAw6.js} +17 -17
- package/dist/assets/{AccountReconDetailsDrawerPage-CiegEtwy-C9r2CYLq.js → AccountReconDetailsDrawerPage-CbZaDfU0-D6InUwmP.js} +13 -13
- package/dist/assets/{AccountRow-DDUdlArT-CdXNJ8jC.js → AccountRow-BpBK8mVs-D3-rIOZV.js} +33 -33
- package/dist/assets/{AccountsPromoCardStack-Q7ppOy47-BGGU4_sD.js → AccountsPromoCardStack-DBCYok4Z-BX2c8K6j.js} +35 -35
- package/dist/assets/{AddAddressForCardDrawer-C2us9OcV-B8z5J7QB.js → AddAddressForCardDrawer-BP8sDedz-fAvU3zAk.js} +2 -2
- package/dist/assets/{AddToWalletPage-B75ejfsy-DpB5cFz0.js → AddToWalletPage-Dsw1GIbh-C-TkI1oG.js} +26 -26
- package/dist/assets/{AgingReportsPage-mEhdjkho-hcvDKcgL.js → AgingReportsPage-COC3iACh-ihUmY_za.js} +8 -8
- package/dist/assets/{AllUserItems-o4xGLdQM-BpAFbzz9.js → AllUserItems-DKoDASKq-BK1HOlxO.js} +10 -10
- package/dist/assets/{ApAgingDetailPage-C0Y88nfk-DI6bAf1B.js → ApAgingDetailPage-BKAJMyRm-D4FAXjMB.js} +2 -2
- package/dist/assets/{AppBasePage-DKAxmkIN-B5cIKVeZ.js → AppBasePage-6fgXwSBv-PwB9ZP6-.js} +6 -6
- package/dist/assets/{AppDrawerContent-DLn3w253-BfJPK8Sb.js → AppDrawerContent-DnYw60Xv-DEM6VfAx.js} +19 -19
- package/dist/assets/{ApprovalRulesSettingsPage-vBjp3xy--CbC8uzzu.js → ApprovalRulesSettingsPage-X4EYoBfl-BbXFDQ_-.js} +5 -5
- package/dist/assets/{ArAgingChart-C3yYcTfo-Cp6SttRr.js → ArAgingChart-CNghm3pm-Dc-aS72N.js} +6 -6
- package/dist/assets/ArAgingDetailPage-DD4M5tUJ-CHn9GwO8.js +46 -0
- package/dist/assets/{AttachmentView-B4hoO1b8-BTGm5cj6.js → AttachmentView-Bp678glv-Bz7vnOLP.js} +7 -7
- package/dist/assets/{BankAccountSection-CdIpgwVZ-UKuk-CyP.js → BankAccountSection-DCHOrv1O-CHEMQ8hk.js} +5 -5
- package/dist/assets/{BankAccountWarningSection-COSdSiAy-Bu35qgEq.js → BankAccountWarningSection-Bof6a4Ai-D6cSyNpo.js} +11 -11
- package/dist/assets/{BankConnectionsSettingsPage-hNpSoqlw-N7cxSBLs.js → BankConnectionsSettingsPage-KWPfd_oN-Cw1WYpDv.js} +11 -11
- package/dist/assets/{BillDetailPage-CJX3QbcW-C0-YF6Gp.js → BillDetailPage-D5FyJKQZ-F16Zazrc.js} +8 -8
- package/dist/assets/{BillPayApprovalRuleDetailPage-CUxCgQSj-BqWIDd56.js → BillPayApprovalRuleDetailPage-C17DUKc8-dVTzDWJq.js} +1 -1
- package/dist/assets/{BillPayApprovalRulesPage-BAfgqIvl-BWZ3pAoi.js → BillPayApprovalRulesPage-C6b0Dx9D-GKQByTVv.js} +10 -10
- package/dist/assets/{BillPayPromoPage-D25teFTJ-BkPBQsPI.js → BillPayPromoPage-BhbcKNjD-Dc50ymZA.js} +8 -8
- package/dist/assets/{BillPaySetUpPage-D9ovPwFv-DX53TV_h.js → BillPaySetUpPage-DFkYsW2C-ejvkAWu2.js} +2 -2
- package/dist/assets/{BillingSettingsPage-DBEk-yIg-Ch8FGWV2.js → BillingSettingsPage-DQ-GDRoK-DLGZh1Tj.js} +8 -8
- package/dist/assets/{BillsBulkReviewDrawerPage-CZUNCQ7j-CP0pFg0D.js → BillsBulkReviewDrawerPage-DzTwDeIy-Ds5BqJGh.js} +1 -1
- package/dist/assets/{BoxItem-BtIxBKUQ-DtJ3R-PB.js → BoxItem-a04JWA45-DJp9lW-u.js} +1 -1
- package/dist/assets/{BusinessVerificationPage-CXeA666i-BPWT62Lw.js → BusinessVerificationPage-BCr_ObVJ-OqegkAuZ.js} +12 -12
- package/dist/assets/{CardNumberSubText-Bakmjdzp-lSIgWyzd.js → CardNumberSubText-B5ejHnml-CLY9anWS.js} +1 -1
- package/dist/assets/{CashbackDetailPage-yC6NiWvx-DcDuCeaB.js → CashbackDetailPage-DX_XsNhS-BMZOysYo.js} +25 -25
- package/dist/assets/{ChargeCardDetailPage-DD0_CjGJ-BzEh2X_h.js → ChargeCardDetailPage-Ckbi7U9j-D_fwMr5K.js} +57 -57
- package/dist/assets/{ChargeCardListPage-C_Wxtym7-j7bJNLel.js → ChargeCardListPage-CglfbPqr-D7muWz7z.js} +20 -20
- package/dist/assets/{ChargeCardListTable-tXjQM1HV-Dzwl1fw-.js → ChargeCardListTable-BxAeA97m-C-BUBRdZ.js} +41 -41
- package/dist/assets/{ChargeCardPromoPage-BAovEsQH-Ek96Dkwb.js → ChargeCardPromoPage-BfsQUUYb-D4zqkYsh.js} +31 -31
- package/dist/assets/{ChargeCardSetupPage-BFjo3XpM-CdAKgoQN.js → ChargeCardSetupPage-Bq953HsV-BJMN-xIh.js} +1 -1
- package/dist/assets/{ChargeCardStatementsPage-CvC1casY-b7_8UBZI.js → ChargeCardStatementsPage-B_5uvkaq-QS7pzZOg.js} +10 -10
- package/dist/assets/ChargeCardUtils-Bivw83fy-L79bEW0e.js +1 -0
- package/dist/assets/{ChaseOverlay-DONL-nDR-De0YjgVf.js → ChaseOverlay-LcVAgdoT-D1Jb2EIj.js} +7 -7
- package/dist/assets/CheckDepositDrawerPage-SpI62oU7-Q03dZELD.js +206 -0
- package/dist/assets/{CollapsableReportTable-C2cQTlA6-CvrNaDb7.js → CollapsableReportTable-CKmPwC_x-DvM2BIk1.js} +57 -57
- package/dist/assets/{CompanyOfficerDetailsSection-ChVkSOtw-B7Y0Et92.js → CompanyOfficerDetailsSection-BlLsNJaD-grOU-fb_.js} +28 -28
- package/dist/assets/{CompanyPassportCard-CLWfLYZT-DVRouOGL.js → CompanyPassportCard-ElwK6uOD-uKq6JSMM.js} +8 -8
- package/dist/assets/{CompanyPassportPage-B6_oWdN9-w2LzORF3.js → CompanyPassportPage-B6mGjsJZ-QyXjNlOK.js} +7 -7
- package/dist/assets/CompleteProfile-C1PIn6EM-BoaPrgBO.js +52 -0
- package/dist/assets/{ConfettiBurst-CfEQKUn_-BJZZqkje.js → ConfettiBurst-CjhkW_Be-tE_S1zJ3.js} +1 -1
- package/dist/assets/{CreateOrEditVendorPage-7mYLNzcH-OQ44iBIB.js → CreateOrEditVendorPage-DHvmRSee-B7H_LsnK.js} +15 -15
- package/dist/assets/{CreditCardPaymentDrawerPage-DM0awVZu-BvoWvCAp.js → CreditCardPaymentDrawerPage-BIaTYAUf-Rj5ttUPd.js} +11 -11
- package/dist/assets/{CreditCardPaymentPlgSection-C3pH8AzC-xAcXkp7A.js → CreditCardPaymentPlgSection-mUqReF9z-IZFYMes7.js} +12 -12
- package/dist/assets/CurrencySelectField-DS-pGcuE-DLCIpnvb.js +139 -0
- package/dist/assets/{CustomerOnboardingActivationPage-DfQCMxvl-CfW_8NyT.js → CustomerOnboardingActivationPage-CIOyRd8r-BQMewqvn.js} +5 -5
- package/dist/assets/CustomerOnboardingContainerPage-Lh0xH_Pl-cw9bBAdD.js +1 -0
- package/dist/assets/{CustomerOnboardingDetailPageSkeleton-m2chMg_F-DP-_bCgy.js → CustomerOnboardingDetailPageSkeleton-A_l9Qen8-BtaF5eWl.js} +13 -13
- package/dist/assets/{CustomerOnboardingNoStepsPage-C4_D_p4k-CVpSN_84.js → CustomerOnboardingNoStepsPage-D5BcbVEK-CYF4Do82.js} +9 -9
- package/dist/assets/{CustomerOnboardingPage-XbpuMewL-BK1qx-Jf.js → CustomerOnboardingPage-N-8Zd7M_-BLw-RmQq.js} +6 -6
- package/dist/assets/{CustomerOnboardingProductSuitePage-DD3ipEqZ-gVuFEpCL.js → CustomerOnboardingProductSuitePage-DZwacur5-CHyEWXN_.js} +8 -8
- package/dist/assets/{Dashboard-zs5L4G5s-BLp57MMW.js → Dashboard-CQoNm84Z-CGt51QX0.js} +1 -1
- package/dist/assets/{DashboardReportPage-BRkeSLqR-D4ftlofc.js → DashboardReportPage-D4BoWobJ-DB51j3mA.js} +13 -13
- package/dist/assets/{DepositAccTransactionItem-DdxEaiop-BBckVxk_.js → DepositAccTransactionItem-C6_OrohL-DcY3deV_.js} +6 -6
- package/dist/assets/DepositAccTransactionListPage-Cxvs7tMg-CslTnL-f.js +66 -0
- package/dist/assets/{DocumentSecurityBanner-BmCXnsqt-DLm91H5a.js → DocumentSecurityBanner-Bo9Hgo-I-DBmSgZgH.js} +2 -2
- package/dist/assets/DomesticWireDetailsPage-DzKlJFvy-D6rsk0GH.js +21 -0
- package/dist/assets/{DownloadOverlay-D18IYrMS-DZ5Hslzj.js → DownloadOverlay-BoIyiJ9R-BzDhGwzl.js} +25 -25
- package/dist/assets/{DrawerPage-EcuR8TES-qibKglza.js → DrawerPage-C_kxrXIc-CYxcqhiW.js} +5 -5
- package/dist/assets/EditPeoplePage-auUWC3gB-DhunvsTv.js +55 -0
- package/dist/assets/{EditReimbursementDetailPage-z7CJ9Vy4-BdjzHntY.js → EditReimbursementDetailPage-C-Lj-_YG-D3CWZXPH.js} +68 -68
- package/dist/assets/{EntityDetailPage-OvuxHiOz-BB6uo_VR.js → EntityDetailPage-Cqkhzu9O-CQdpKsUY.js} +3 -3
- package/dist/assets/{EntitySummarySection-D5L6gsZR-ICyFTmrF.js → EntitySummarySection-Dqgxknt6-CcorkWsq.js} +3 -3
- package/dist/assets/{ExpenseAutomationOverviewPage-CM7a5B8w-BqZToXAr.js → ExpenseAutomationOverviewPage-CEsyeJ9u-IlYsieJj.js} +22 -22
- package/dist/assets/{ExpenseAutomationPage-C0HfVK2q-Bjwf1eOa.js → ExpenseAutomationPage-DxpK2JR5-b76Jf9fI.js} +84 -84
- package/dist/assets/{ExpressPayPage-CeHVuoHN-CQaWJLyc.js → ExpressPayPage-DBWJERD9-DkcgiQRL.js} +12 -12
- package/dist/assets/FeaturePreviewPage-CwGJVCMk-c-nKLWL3.js +11 -0
- package/dist/assets/{FollowStepsSection-BazOZlaE-DDXU5Ssd.js → FollowStepsSection-BrJecw-e-CQdWJjWJ.js} +13 -13
- package/dist/assets/{GlobalReviewListPage-B7OzhHDj-sxly0nyY.js → GlobalReviewListPage-Duoi9mD_-Der2mhxZ.js} +8 -8
- package/dist/assets/{HelpButton-DY1MpMsB-KbKqlw38.js → HelpButton-C1djo0zO-BW6NBTNW.js} +5 -5
- package/dist/assets/{InformationCardStack-DTZ5U5HN-CApUz4e2.js → InformationCardStack-BE5eaq-x-7TOfUxxA.js} +5 -5
- package/dist/assets/InsightsCardStack-EzAsNm_U-Cm_xrDcd.js +79 -0
- package/dist/assets/{InsightsSection-CLnISnUP-MBzDtn2E.js → InsightsSection-nzKuS0T9-CcXyZxZ8.js} +5 -5
- package/dist/assets/{IntegrationsSettingsPage-_Z5zEjw7-Bb2Qdxl-.js → IntegrationsSettingsPage-45ETlpC6-ClhfPkcQ.js} +7 -7
- package/dist/assets/{InternationalWireSwiftDetailsPage-Dz-fxrmb-CpUwldlm.js → InternationalWireSwiftDetailsPage-B21X5YFS-DWJjZuCw.js} +15 -15
- package/dist/assets/{InternationalWireVerificationPage-ncEPxfAh-C6NGfmNG.js → InternationalWireVerificationPage-BzagdPaG-Cl81RiNZ.js} +17 -17
- package/dist/assets/{InviteFormPage-DWlnBCXL-SVZhUt0X.js → InviteFormPage-BNdBP-Mm-BdFbqKES.js} +25 -25
- package/dist/assets/{InvitePageListView-Cmi49FoL-FaQb5PXP.js → InvitePageListView-ChzmK7Rt-D29gFXI6.js} +51 -51
- package/dist/assets/InvitePeoplePage-DgqE2Y-0-DKu709Rv.js +12 -0
- package/dist/assets/{InvoiceUploadSection-BYgUZr3e-B5ZzCOUA.js → InvoiceUploadSection-B8o-l15n-Da7WgU-0.js} +41 -41
- package/dist/assets/{IssueChargeCardPage-Bmoi1yP8-7XttLy41.js → IssueChargeCardPage-BW0cXQqh-BmbmlACe.js} +27 -27
- package/dist/assets/{LabeledAddressValue-OqCEk1VW-CIF29038.js → LabeledAddressValue-BioQUVCV-fsudcvfQ.js} +1 -1
- package/dist/assets/LabeledAddressValueField-Cw-p18du-D9T5QqTG.js +45 -0
- package/dist/assets/{LabeledControlledCheckBoxField-BZrJseng-9-Obm_Rv.js → LabeledControlledCheckBoxField-CGT7KsYZ-jRPtCjyI.js} +1 -1
- package/dist/assets/{LabeledCreatableSingleSelectField-BjjLKIq--CKme-Zbq.js → LabeledCreatableSingleSelectField-nys9pbO0-0SJcSq-w.js} +3 -3
- package/dist/assets/LabeledDocumentField-Y6TKpyZ8-CW27Za_m.js +41 -0
- package/dist/assets/{LabeledDropDownFormattedTextField-1sZGnKTM-y7e2QJmr.js → LabeledDropDownFormattedTextField-DWP9oUzM-TYwr2dWi.js} +7 -7
- package/dist/assets/{LabeledText-DZTriBfN-CwwPr2Y1.js → LabeledText-QrjXGWwJ-Csl1kB9E.js} +3 -3
- package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-BNPUM7x0-B-sTwPBI.js → LabeledUserSingleSelectWithSubtitlesField-BK9XCXKo-CRz-dhMo.js} +17 -17
- package/dist/assets/{LabeledZeniRolesDropDownField-Ce4KKZiS-B6byb8PO.js → LabeledZeniRolesDropDownField-C2PAZOPW-ChSwcxj4.js} +11 -11
- package/dist/assets/{LinkJETransactionPage-DoaNWTmr-odUN47aO.js → LinkJETransactionPage-BF6-BdWE-DO5i53f_.js} +8 -8
- package/dist/assets/{LowBalancePopup-BOTHNsR0-CoxyAFcB.js → LowBalancePopup-ZZ8Ap8Ls-CO5moJjL.js} +5 -5
- package/dist/assets/{MagicLinkACHDetailsPage-CD76NDYI-Ve2NJ-iM.js → MagicLinkACHDetailsPage-BDXiOwx_-D5AHGKn1.js} +1 -1
- package/dist/assets/{MagicLinkDomesticWireDetailsPage-BsikAXMr-DhE6Ut2B.js → MagicLinkDomesticWireDetailsPage-B1-CK91r-BBsb3LWh.js} +1 -1
- package/dist/assets/{MagicLinkInternationalWireDetailsPage-zu3TnX0Y-lP-Se4cs.js → MagicLinkInternationalWireDetailsPage-D2rnWzME-pHczJsmC.js} +1 -1
- package/dist/assets/MagicLinkSuccessPage-IHajRicG-TvKR0rcg.js +31 -0
- package/dist/assets/{MagicLinkTitleSection-CD_v3J8N-DW6D0fJX.js → MagicLinkTitleSection-CmTUPCA1-crT0_cjI.js} +4 -4
- package/dist/assets/MailingDetailsSection-AiehjqI1-CrcmbjEa.js +21 -0
- package/dist/assets/{MeetingCalenderPopup-gItmg01b-Cu9NWj0e.js → MeetingCalenderPopup-COpKcBhx-C1b7HyPI.js} +1 -1
- package/dist/assets/{Menu-vFgR8B3A-uLxvXXvL.js → Menu-frAXxk4e-ChxiZJil.js} +2 -2
- package/dist/assets/{MyBankConnectionsSettingsPage-NhLBy2nV-CLratIrJ.js → MyBankConnectionsSettingsPage-BtC6C9fL-CIbylXW-.js} +13 -13
- package/dist/assets/{MyPendingActivationChargeCardListPage-CNb4v74Q-D4I0sjao.js → MyPendingActivationChargeCardListPage-tXIpyxdq-DyLbYr-a.js} +1 -1
- package/dist/assets/{MyProfileSettingsPage-CXcH5h3K-Cic_ZJ4q.js → MyProfileSettingsPage-BmMskLyK-BRbEv4qP.js} +8 -8
- package/dist/assets/{NavBarWithPicker-B1g4GR8h-BHoASNPV.js → NavBarWithPicker-ByLynfu6-DkhTP5l5.js} +6 -6
- package/dist/assets/{NavigationArrow-CKb8oJym-BKEHFfza.js → NavigationArrow-D5-YpdfE-BYBuxDoB.js} +5 -5
- package/dist/assets/{NavigationDots-Bgh-o0zo-K6CBNKPZ.js → NavigationDots-MA8SVlUT-BNaROjbH.js} +1 -1
- package/dist/assets/{NewGlobalMerchantPage-CTavGrPU-D58PJEdd.js → NewGlobalMerchantPage-DtTW2Du8-teWW5fR7.js} +21 -21
- package/dist/assets/{NoDataChart-CtPlddxs-DjKWZv7Z.js → NoDataChart-BdzVnx59-Zwl7GRg0.js} +1 -1
- package/dist/assets/{NoDataTable-Dibdh8Pj-QVM7mj96.js → NoDataTable-B4J5Ou18-BjRs61V8.js} +1 -1
- package/dist/assets/{NotFoundPage-yGvtm3rH-Bd-Bemtd.js → NotFoundPage-BeAXQOme-HRJfFoZt.js} +1 -1
- package/dist/assets/{NotificationSettingsPage-DOmx9OZh-CqYXpA0c.js → NotificationSettingsPage-CRZRet42-B4tscA88.js} +13 -13
- package/dist/assets/{NotificationsListConfig-Bz1-bZtB-FVI5Vj_m.js → NotificationsListConfig-CkSDaMij-aj-ed0aI.js} +1 -1
- package/dist/assets/{NotificationsPage-CQ_3esFr-BqBUQ__h.js → NotificationsPage-Dqe96fU8-DGXpNPVr.js} +32 -32
- package/dist/assets/{OpExByVendorPage-BjqGlQrk-BFgfXC36.js → OpExByVendorPage-CXtkN87m-D6OjOLM9.js} +7 -7
- package/dist/assets/{OverlayContainerPage-GWXnlbZH-ei-9RlC_.js → OverlayContainerPage-Cy_Jxf8N-B2CxgCWd.js} +1 -1
- package/dist/assets/{PandLWithForecastPage-juNL-o7I-DMQaebm1.js → PandLWithForecastPage-DTOqkynU-9NyuYxx1.js} +8 -8
- package/dist/assets/{PaymentAccountSetupBillingAddressSection-BxQrIZmE-B_q4GQV2.js → PaymentAccountSetupBillingAddressSection-C6WFeB3A-C9tSnFrF.js} +11 -11
- package/dist/assets/{PeoplePage-BfwpGELm-DqbV3EEG.js → PeoplePage-D-j114xg-s5ngzrYI.js} +1 -1
- package/dist/assets/PortfolioAllocationFormPage-C4XzSjzr-AaZTXsTp.js +207 -0
- package/dist/assets/{PortfolioDetails-BaLVprV9-s_70y1hl.js → PortfolioDetails-Bbfo0XDo-F8wi_TkN.js} +29 -29
- package/dist/assets/{ProductsCarousel-DSwEQiRo-wKmJuLus.js → ProductsCarousel-COUx0Xdj-Bk25WJ5z.js} +6 -6
- package/dist/assets/{PromoBaseCards-CDbwBfld-DHXh6Jz5.js → PromoBaseCards-DG1CAZvU-Kp-BaaPo.js} +3 -3
- package/dist/assets/{QBOConnectionDialog-BKEVg_Tw-DfDc7Zj1.js → QBOConnectionDialog-DLVcifji-BzsFl8lU.js} +10 -10
- package/dist/assets/QBOSetupSection-BeRZZ-Q_-a6rhf4W-.js +79 -0
- package/dist/assets/ReimbursementApprovalRuleDetailPage-CrbiufS3-Bj0-a-7-.js +26 -0
- package/dist/assets/{ReimbursementApprovalRulesPage-BaI1dJWO-hai_N-Le.js → ReimbursementApprovalRulesPage-CTk2aZMz-oZhsGYfa.js} +8 -8
- package/dist/assets/{ReimbursementDetailPage-CDoMkRc0-D7z4FCni.js → ReimbursementDetailPage-BofsP0W--DVgChjvg.js} +17 -17
- package/dist/assets/ReimbursementPromoPage-CA2cUBsx-DqpwfsT0.js +112 -0
- package/dist/assets/{ReimbursementSetUpPage-C6ZSl21b-BhOccRNG.js → ReimbursementSetUpPage-Em6S1wkj-DAxU1I0b.js} +8 -8
- package/dist/assets/{ReimbursementsBulkReviewDrawerPage-DRm_RSSq-CMj-h4BM.js → ReimbursementsBulkReviewDrawerPage-DpWChhvB-CNq5fdbL.js} +1 -1
- package/dist/assets/{ReloadCard-B1X0QtRR-BXScvMmg.js → ReloadCard-CZ1Ix5em-CJhVpNi9.js} +5 -5
- package/dist/assets/{ReportTableViewSelector-2gwwu23O-D4SUAhgu.js → ReportTableViewSelector-BRA3CT_O-BWHSw_d5.js} +28 -28
- package/dist/assets/{ReportsPage-C4ry6Xjl-DWRSq16N.js → ReportsPage-CauV3wnZ-Bfok01xk.js} +5 -5
- package/dist/assets/{RevenueChart--mJZgy8C-Cgs7A_Xi.js → RevenueChart-BeM_1hYw-DP9fkCbH.js} +12 -12
- package/dist/assets/{ReviewDetailsPage-Dg_NdNMf-C6JTFr2b.js → ReviewDetailsPage-C5xC8Cf1-Bcj2cFMw.js} +16 -16
- package/dist/assets/{ReviewOverlay-C-9oLsRU-CZUg6lpm.js → ReviewOverlay-DdWa7GLG-YdWdWayu.js} +15 -15
- package/dist/assets/RoleWithToolTip-BP8MTZdU-BOm9Us2_.js +22 -0
- package/dist/assets/{ScheduleDetailsFixedAssetsPage-DICnGQP9-eOvUkGGr.js → ScheduleDetailsFixedAssetsPage-BlhhW9A6-Cgf6Hq7_.js} +8 -8
- package/dist/assets/{ScheduleDetailsPage-BvkYaxXa-C15O7RkB.js → ScheduleDetailsPage-BKWKZuAL-CQ6iSQsN.js} +3 -3
- package/dist/assets/{ScheduleSequenceTable-Cv62faKa-M34Bvr--.js → ScheduleSequenceTable-BzWPTqDM-Dgu5c0RS.js} +50 -50
- package/dist/assets/{ScreenRoutes-DF9_ndl0.js → ScreenRoutes-BBcvidtT.js} +62 -62
- package/dist/assets/{SetUpAccountSection-DwkklztZ-CvvkeLO0.js → SetUpAccountSection-Trj1x2HL-CiAxSNYR.js} +23 -23
- package/dist/assets/{SetUpDefaultSection-Chh_3U0h-DP32jEG1.js → SetUpDefaultSection-BQzNGjO7-an74W3Da.js} +8 -8
- package/dist/assets/{SignIn-CoM3gLF4-CxYJZHsh.js → SignIn-Duk9PNwU-Y2eo5FDG.js} +12 -12
- package/dist/assets/{SignInScreen-CgRLE79n.js → SignInScreen-BDl851xo.js} +1 -1
- package/dist/assets/{SpendManagementListViewPage-rf8IhIOU-BST9K3MV.js → SpendManagementListViewPage-CREdM633-Cg0NFbb7.js} +6 -6
- package/dist/assets/{SpendManagementPerTabPage-KLrMZOg6-pZeNXzmX.js → SpendManagementPerTabPage-BZ6ISWXe-BYNegFz5.js} +28 -28
- package/dist/assets/{SpendManagementSection-CbbqZI-h-CVwzMKo9.js → SpendManagementSection-bMsztUap-upI-ZdzC.js} +13 -13
- package/dist/assets/{SpendMgmtSetupAccountSection-BfwEbse9-CCE4LYic.js → SpendMgmtSetupAccountSection-Btdtp-ry-M7exC_NJ.js} +18 -18
- package/dist/assets/{StatementItem-DEvMOqc4-CScSh11D.js → StatementItem-XLqlrHIu-VoU4RUpG.js} +5 -5
- package/dist/assets/{StatementsPage-DNsm7q52-ajRuJ1oP.js → StatementsPage-DWiXiOFU-DZPVh_4x.js} +4 -4
- package/dist/assets/{StatusSwitcher-BdfUDJ2e-D4dCUyMA.js → StatusSwitcher-D1XZ-pbx-DwwsmfkA.js} +4 -4
- package/dist/assets/{SubTabSwitcher-o0RxZAky-CeSW8fRP.js → SubTabSwitcher-Bt3F7ANv-e4DBICdr.js} +7 -7
- package/dist/assets/{SummaryCard-DQ4ZyfBH-D9XxMBaO.js → SummaryCard-edbbHOmb-DIbjh5sC.js} +1 -1
- package/dist/assets/{TaskManagementPage-BVNWrtPC-D_5VYMB9.js → TaskManagementPage-BhtJBdco-CawcFnLk.js} +26 -26
- package/dist/assets/{TimeRangeSwitcher-CD16lox0-Bi5yNRU7.js → TimeRangeSwitcher-D9KzhRYO-DSUt4L30.js} +5 -5
- package/dist/assets/{TimeframeSwitcher-C7i0JFHk-Y8yZXQA6.js → TimeframeSwitcher-CbEHKZvd-CUipNC15.js} +4 -4
- package/dist/assets/{TimeframeSwitcherWithToggle-D35sc3g8-CG8BhQxV.js → TimeframeSwitcherWithToggle-Cb91RXpD-Bqbdu9xs.js} +2 -2
- package/dist/assets/{TopExCard-bgf-w40u-DTYDqUmn.js → TopExCard-DD9Rf9T6-CfNVkG6m.js} +5 -5
- package/dist/assets/{TopExDetailPage-CUiZ2o0r-Cjf8s50F.js → TopExDetailPage-DaDuwFrj-BOsQHlTA.js} +16 -16
- package/dist/assets/{TransactionDetailPage-C50JQjnc-BhybCWFY.js → TransactionDetailPage-0fIW4o-6-BKhKFulx.js} +34 -34
- package/dist/assets/{TransactionList-nnfPsJZc-BFMNvdxG.js → TransactionList-CLjBadiP-By9OtkVt.js} +8 -8
- package/dist/assets/{TransactionListBig-BNanyUhE-B8m5ZzrI.js → TransactionListBig-CwBxP1xB-DEm91bPU.js} +24 -24
- package/dist/assets/{TransactionListPage-kQOGZBz8-7Xlasrzv.js → TransactionListPage-S1nTM7Yy-Hu_PcxrN.js} +3 -3
- package/dist/assets/TransactionVendorDetailPage-CTTTAais-CKKUnVWe.js +80 -0
- package/dist/assets/{TransferDrawerPage-NOLm9zmx-BS3ryUJB.js → TransferDrawerPage-BJDNWagE-B5RBpIT8.js} +26 -26
- package/dist/assets/{TreasuryOverviewPage-Doo6fmEl-l6_Fc322.js → TreasuryOverviewPage-DB-ZH19K-0cVLv_tv.js} +31 -31
- package/dist/assets/{TreasuryPromoPage-CyowAl6A-B4fxQydj.js → TreasuryPromoPage-3MwRPpCt-B5X2lU4M.js} +21 -21
- package/dist/assets/{TreasurySetupPage-DZdd0DpR-vdFV4pXJ.js → TreasurySetupPage--G4JCzdh-Ck5w0LPU.js} +10 -10
- package/dist/assets/TreasuryStatementsPage-DBykLGfz-gFLjSnAI.js +58 -0
- package/dist/assets/TreasuryTaxLetterPage-DgbrzE9u-BsWgo8r5.js +58 -0
- package/dist/assets/{TreasuryTransferOrReviewPage-BuL0YxIE-PNl-v8dv.js → TreasuryTransferOrReviewPage-ByM1UIiU-CjSaFqgC.js} +44 -44
- package/dist/assets/{TrendChart-C5-sKlos-DGmmfqs4.js → TrendChart-B0CS3MXT-D7qhkgQT.js} +3 -3
- package/dist/assets/{TrendWithTransactions-CZx5tt-z-CQJe1m4b.js → TrendWithTransactions-D4OAA6yK-BF-AbaMY.js} +9 -9
- package/dist/assets/{UncategorizedAccountsMappingPage-BVma5qcZ-Dbxb7bjD.js → UncategorizedAccountsMappingPage-C6jaWqrE-zTG-_1nm.js} +5 -5
- package/dist/assets/{UnitIntegrationPage-ZRhbEzdQ-ClCYRwoC.js → UnitIntegrationPage-5LOvIFvr-Bzw8mu6B.js} +5 -5
- package/dist/assets/{UploadAdditionalDocumentOverlay-BpJ_tRy_-9uQh_UHt.js → UploadAdditionalDocumentOverlay-CLQLrn0v-SNsFu9LY.js} +2 -2
- package/dist/assets/{Vendor2FAPopup-CQbY2KbX-DxjPrntR.js → Vendor2FAPopup-BOl520xa-LnECkqk5.js} +1 -1
- package/dist/assets/{VendorACHDetailsPage-DcDtOkiR-C2D4Yw60.js → VendorACHDetailsPage-B5jKUOjo-CQSiDv6a.js} +1 -1
- package/dist/assets/{VendorDetailPage-CHhJsnOa-Bqq4fZva.js → VendorDetailPage-B0GRXPKg--VPcZWOw.js} +15 -15
- package/dist/assets/{VendorDomesticWireDetailsPage-BIwYrLOl-RRT_tSUL.js → VendorDomesticWireDetailsPage-CeI3QihK-q_cf3oNF.js} +1 -1
- package/dist/assets/{VendorFiling1099EditablePage-gnNbtQoj-DGAYWfCe.js → VendorFiling1099EditablePage-aNGSdZBf-MeHUgDES.js} +11 -11
- package/dist/assets/{VendorFirstReviewPage-Bj3eqx7P-CZXmjVPM.js → VendorFirstReviewPage-CjwnZLcm-DmkymrJ0.js} +40 -40
- package/dist/assets/{VendorInternationalWireDetailsPage-B_jwfV7H-BL3lT3ir.js → VendorInternationalWireDetailsPage-w-46Xxg--xMskWvbV.js} +15 -15
- package/dist/assets/{VendorInternationalWireSwiftDetailsPage-CvIV-HFr-D1Hc50Za.js → VendorInternationalWireSwiftDetailsPage-C5dogij9-DD3MG-8Z.js} +1 -1
- package/dist/assets/{VendorsAccountsSection-B2hWDuz0-YoT_oAP8.js → VendorsAccountsSection-DBYoP6us-C4im8TRF.js} +8 -8
- package/dist/assets/VerifyDevice-C-ZVbaIJ-BL0Q3Y3x.js +67 -0
- package/dist/assets/{WarningsDrawerPage-BBC1azy1-z1JqhFaT.js → WarningsDrawerPage-CZcR7kH4-sqfZfsTI.js} +22 -22
- package/dist/assets/{ZeniAccountDetailPage-mfrQO3zP-DHbG-Qat.js → ZeniAccountDetailPage-C-NQEE2--DiLlSCD5.js} +28 -28
- package/dist/assets/{ZeniAccountListViewPage-CCurA7tm-B1ByeEoa.js → ZeniAccountListViewPage-Cb8Ptf-w-Bz8qB5Gm.js} +20 -20
- package/dist/assets/ZeniAccountNavBarPieces-DX2iXF2E-CQG9bWdR.js +14 -0
- package/dist/assets/{ZeniAccountPromoPage-DgGD7ggF-FgyRM55s.js → ZeniAccountPromoPage-D5ihjbrM-uye9J5Yp.js} +29 -29
- package/dist/assets/{ZeniAccountSetupPage-D4z2k7G7-D3CuRZMF.js → ZeniAccountSetupPage-BRxz_tnh-hDbWbkKw.js} +5 -5
- package/dist/assets/{ZeniCopyright-BdLzk7SF-CQiuH4cG.js → ZeniCopyright-Bi82glrb-Dz0CNsex.js} +1 -1
- package/dist/assets/ZeniTransferAmountSlider-B4d4bp7D-Cs4p2KhU.js +63 -0
- package/dist/assets/{analyticsHelper-CzlOBCzS-Ba5yCVi8.js → analyticsHelper-D3DK7bgU-BvVFcTDm.js} +1 -1
- package/dist/assets/{analyticsHelper-BUf1K4hx.js → analyticsHelper-DijVlDk5.js} +1 -1
- package/dist/assets/{chartTypes-D-nEr9EI-C0zQa7Wt.js → chartTypes-DJY-6KK0-Bzq8Fcov.js} +1 -1
- package/dist/assets/{commonDimensions-DtXIXXfP-CxfCVUIm.js → commonDimensions-DRK1vfDX-CO7PCzy1.js} +1 -1
- package/dist/assets/{detailCommon-DZhn8ANF-DY0XYP-1.js → detailCommon-6K-6m9pv-2y9fI_2t.js} +9 -9
- package/dist/assets/{downloadPdf-BaFOiUYP-BhMvbAM3.js → downloadPdf-DAA4T-qo-CPXN54rf.js} +1 -1
- package/dist/assets/{index-C7yzTmij.js → index-CIAgrDi2.js} +4247 -4147
- package/dist/assets/{mapLoadingInProgressToTreeNode-VAL73To4-9VVcQ3qA.js → mapLoadingInProgressToTreeNode-BAlOrI07-CQVT-QlQ.js} +1 -1
- package/dist/assets/{mapSectionWithAcOnlyToTreeNode-C-2C7Gbr-Cj6NIyHy.js → mapSectionWithAcOnlyToTreeNode-Bk-EXs-E-B9fPZZTu.js} +1 -1
- package/dist/assets/{mapSpacerToTreeNode-vdqGP9FL-vsW_sRyC.js → mapSpacerToTreeNode-Cxd9BEJr--PDlNxOC.js} +1 -1
- package/dist/assets/{mapTimeframeBalancesToTreeNode-BwlF2Rvj-B2Id_UlX.js → mapTimeframeBalancesToTreeNode-BzFUtqqU-DR76PT1e.js} +1 -1
- package/dist/assets/{mapTimeframeBalancesToTreeNode-BFzyitoJ-DfU4qVFa.js → mapTimeframeBalancesToTreeNode-Cf8fsAZJ-D1uR1QLu.js} +1 -1
- package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-BhkQsZRW-Cbnmx738.js → mapTimeframeHeaderLoadingInProgressToTreeNode-CZMzZg1q-oHDpC_ju.js} +1 -1
- package/dist/assets/{play-icon-Dzfx02ir-dG88rl_z.js → play-icon-DY_hSiAf-DitmQkz7.js} +1 -1
- package/dist/assets/{toCOABalancesWithID-DN6cSuKb-DdLSsatB.js → toCOABalancesWithID-BaqBVqJ_-1rnUe3A4.js} +1 -1
- package/dist/assets/{toChartData-Bc3LMl7f-CXw-Y0dZ.js → toChartData-7MYPev1U-zJcYDtq1.js} +1 -1
- package/dist/assets/{treasuryColorHelper-Cv4RwMTx-Bw9OTLfX.js → treasuryColorHelper-CDhLDRLr-CltoUNO8.js} +1 -1
- package/dist/assets/{uploadAttachment-CxtYyGQy-CCbkX8ir.js → uploadAttachment-DqCoxBNU-CxpASWHI.js} +24 -24
- package/dist/assets/{uploadReceipts-D80JLNY4-COsGXapR.js → uploadReceipts-CU1mDxNv-0vPSSd-N.js} +1 -1
- package/dist/index.html +1 -1
- package/package.json +4 -4
- package/dist/assets/ACHDetailsPage-fN9d1vam-BnY47sVD.js +0 -21
- package/dist/assets/ArAgingDetailPage-DlmXkANV-D50f3oY6.js +0 -46
- package/dist/assets/ChargeCardUtils-EeXYTubM-APgPlZEM.js +0 -1
- package/dist/assets/CheckDepositDrawerPage-Da9ApPLD-DB3AcRhF.js +0 -206
- package/dist/assets/CompleteProfile-D_6UvHbF-Zc2ZxSIy.js +0 -36
- package/dist/assets/CurrencySelectField-DuZRNdJ7--Tr2SnT9.js +0 -139
- package/dist/assets/CustomerOnboardingContainerPage-BuVNUdQ_-BSSyR5Rm.js +0 -1
- package/dist/assets/DepositAccTransactionListPage-C-4zU6U_-CAplFsmy.js +0 -66
- package/dist/assets/DomesticWireDetailsPage-D3nSUYmr-DrDa4yas.js +0 -21
- package/dist/assets/EditPeoplePage-66twBgmc-pJSx1vDb.js +0 -55
- package/dist/assets/FeaturePreviewPage-FQsE4Qv8-rwV6xMgo.js +0 -11
- package/dist/assets/InsightsCardStack-D0wOSPaM-DgAtskKg.js +0 -79
- package/dist/assets/InvitePeoplePage-CL18FIeI-B4oObmQg.js +0 -12
- package/dist/assets/LabeledAddressValueField-fBxHfsjV-B45FeAVL.js +0 -45
- package/dist/assets/LabeledDocumentField-54KXTRM_-BBD50qxr.js +0 -41
- package/dist/assets/MagicLinkSuccessPage-BICciyLs-C8NFMe8v.js +0 -31
- package/dist/assets/MailingDetailsSection-Cce0Hg2V-fhJvFQv1.js +0 -21
- package/dist/assets/PortfolioAllocationFormPage-CmUaCrrW-CYMtoDWk.js +0 -207
- package/dist/assets/QBOSetupSection-CAtx-T_9-o42Omplj.js +0 -79
- package/dist/assets/ReimbursementApprovalRuleDetailPage-D0YkHEiY-Cd6_u7cb.js +0 -26
- package/dist/assets/ReimbursementPromoPage-DpBahcUT-CBe_bgtf.js +0 -112
- package/dist/assets/RoleWithToolTip-BPrl2KpS-CivGY3G2.js +0 -22
- package/dist/assets/TransactionVendorDetailPage-D2OO73Ia-CN6sZZEi.js +0 -80
- package/dist/assets/TreasuryStatementsPage-Dfw94h0a-BYoZAju1.js +0 -58
- package/dist/assets/TreasuryTaxLetterPage-D83IlTZG-C592xnfc.js +0 -58
- package/dist/assets/ZeniAccountNavBarPieces-CV5znR_M-WVZrWgkt.js +0 -14
- package/dist/assets/ZeniTransferAmountSlider-BN1YPh8H-Cut1vMY1.js +0 -63
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{X as B,u as q,
|
|
1
|
+
import{X as B,u as q,B as _,y as Oe,l as D,j as s,aV as Ke,i as Qe,I as Xe,aX as Je,o as d,C as L,J,aY as et,aZ as tt,$ as ae,s as j,aj as st,a8 as ot,a_ as at,a3 as Be,K as Pe,d as T,Y as Ne,a7 as nt,ap as it,q as rt,a$ as ct,b0 as lt,b1 as dt,b2 as ie,b3 as pt,aC as ut,M as gt,b4 as ht}from"./index-CIAgrDi2.js";import{b as y,f as ee,n as u,k as Le}from"./vendor-CnQcJ2Lu.js";import{m as U,l as oe}from"./analyticsHelper-D3DK7bgU-BvVFcTDm.js";import{c as mt,h as ft}from"./ReportTableViewSelector-BRA3CT_O-BWHSw_d5.js";import{B as bt}from"./InsightsSection-nzKuS0T9-CcXyZxZ8.js";import{N as _e,q as xt,G as _t,H as te,k as ue}from"./detailCommon-6K-6m9pv-2y9fI_2t.js";import{N as wt,G as St,H as we,Y as Se,P as ye}from"./RevenueChart-BeM_1hYw-DP9fkCbH.js";import{C as yt}from"./NoDataChart-BdzVnx59-Zwl7GRg0.js";import{n as R}from"./getReferrerType-DjPOy76W-Cm31g4vJ.js";import{p as vt}from"./TimeRangeSwitcher-D9KzhRYO-DSUt4L30.js";import{b as Ie}from"./TimeframeSwitcher-CbEHKZvd-CUipNC15.js";import{R as $t,W as V,x as Ct,l as ge,D as jt}from"./CollapsableReportTable-CKmPwC_x-DvM2BIk1.js";import{S as kt,M as Ot,g as Bt,L as se,D as Re,T as De,I as Te}from"./mapSectionWithAcOnlyToTreeNode-Bk-EXs-E-B9fPZZTu.js";import{d as Pt}from"./NoDataTable-B4J5Ou18-BjRs61V8.js";import{d as he,l as me}from"./mapTimeframeHeaderLoadingInProgressToTreeNode-CZMzZg1q-oHDpC_ju.js";import{d as fe}from"./mapLoadingInProgressToTreeNode-BAlOrI07-CQVT-QlQ.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"./NavigationDots-MA8SVlUT-BNaROjbH.js";import"./chartTypes-DJY-6KK0-Bzq8Fcov.js";import"./toCOABalancesWithID-BaqBVqJ_-1rnUe3A4.js";import"./toChartData-7MYPev1U-zJcYDtq1.js";import"./AccountRow-BpBK8mVs-D3-rIOZV.js";import"./graphic-no-data-l-DU4J8fDt-BalbEtqQ.js";const Nt=e=>y.createElement("svg",{viewBox:"0 0 120 120",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},y.createElement("path",{opacity:.2,d:"M105.021 115.208C105.021 116.479 104.516 117.698 103.617 118.596C102.718 119.495 101.5 120 100.229 120H28.3539C27.083 120 25.8643 119.495 24.9656 118.596C24.067 117.698 23.5622 116.479 23.5622 115.208V14.5832C23.5622 13.3123 24.067 12.0936 24.9656 11.195C25.8643 10.2963 27.083 9.7915 28.3539 9.7915H71.4789L105.021 43.3332V115.208Z",fill:"#97C3B9"}),y.createElement("path",{opacity:.2,d:"M71.4785 9.7915V38.5415C71.4785 39.8123 71.9834 41.0311 72.882 41.9297C73.7806 42.8283 74.9994 43.3332 76.2702 43.3332H105.02",fill:"#97C3B9"}),y.createElement("path",{d:"M33.6636 70.0449H37.2636",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M33.6635 81.2539H37.2635",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M33.6635 92.4626H37.2635",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M33.6635 103.671H37.2635",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M47.0987 70.0449L80.6987 70.0449",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M47.0987 81.2539L80.6987 81.2539",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M47.0987 92.4626L80.6987 92.4626",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M47.6084 103.671L81.2084 103.671",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M100.729 110.313C100.729 111.583 100.224 112.802 99.3258 113.701C98.4272 114.6 97.2084 115.104 95.9375 115.104H24.0625C22.7917 115.104 21.5729 114.6 20.6743 113.701C19.7757 112.802 19.2709 111.583 19.2709 110.313V9.68766C19.2709 8.41683 19.7757 7.19805 20.6743 6.29944C21.5729 5.40083 22.7917 4.896 24.0625 4.896H67.1875L100.729 38.4377V110.313Z",stroke:"#97C3B9",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M67.1872 4.896V33.646C67.1872 34.9168 67.692 36.1356 68.5906 37.0342C69.4893 37.9328 70.708 38.4377 71.9789 38.4377H100.729",stroke:"#97C3B9",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M43.4564 21.9438V17.5398",stroke:"#95C1B7",strokeWidth:1.00757,strokeMiterlimit:10,strokeLinecap:"round"}),y.createElement("path",{d:"M43.4564 54.3497V50.1257",stroke:"#95C1B7",strokeWidth:1.00757,strokeMiterlimit:10,strokeLinecap:"round"}),y.createElement("path",{d:"M33.6635 40.7779C33.6635 42.8599 34.1555 45.0139 35.3975 46.7239C36.7415 48.5719 38.8595 49.5619 41.0735 49.9339C43.1375 50.2819 45.2855 50.1499 47.3135 49.6759C51.5135 48.6979 54.5675 44.3959 52.6955 40.1179C51.5795 37.5619 48.8855 36.4219 46.2635 36.1699C44.3675 35.9899 42.4294 35.9779 40.5334 35.7079C38.9374 35.4799 37.3475 34.9459 36.1895 33.7819C35.0315 32.6179 34.3895 30.8599 34.4495 29.1619C34.5335 26.6359 35.9915 24.4999 38.2415 23.3959C40.5995 22.2379 43.4675 22.1839 46.0115 22.6219C47.6855 22.9099 49.3294 23.6119 50.4994 24.8419C51.9694 26.3899 52.4555 28.5019 52.5275 30.5719",stroke:"#95C1B7",strokeWidth:1.00757,strokeMiterlimit:10,strokeLinecap:"round"})),Lt=u.div`
|
|
2
2
|
justify-content: center;
|
|
3
3
|
align-items: center;
|
|
4
4
|
display: flex;
|
|
@@ -17,9 +17,9 @@ import{X as B,u as q,M as _,w as Oe,l as D,j as s,aV as Ke,c as Qe,D as Xe,aX as
|
|
|
17
17
|
justify-content: center;
|
|
18
18
|
flex-direction: column;
|
|
19
19
|
margin-top: ${d.sp3};
|
|
20
|
-
`,Dt=({style:e,emptyContentText:t,EmptyContentImage:a})=>{const n=B();return s.jsxs(Lt,{windowSize:n,style:{...e},children:[s.jsx(It,{children:s.jsx(a,{})}),s.jsx(Rt,{children:t})]})};function Tt(e){const{reportId:t}=e.report,a=e.filter.balancesRange.orderBy;let n,i,r=0;switch(t){case"cash_in_cash_out":{const p=e.report,{cashIn:o,cashOut:l}=p,c=o.balances.length>0?o:l;c.balances.length>0&&(a==="ascending_date"&&(r=c.balances.length-1),n=c.balances[r]);break}case"cash_position":{const p=e.report,{cashPosition:o}=p;o.balances.length>0&&(a==="ascending_date"&&(r=o.balances.length-1),n=o.balances[r]);break}case"net_burn_or_income":{const p=e.report,{expenses:o,income:l}=p.sections,c=o?.balances.length>0?o:l;c?.balances!=null&&c.balances.length>0&&(a==="ascending_date"&&(r=c.balances.length-1),n=c.balances[r]);break}case"net_burn_or_income_by_classes":{const p=e.report,{expenses:o,income:l,cogs:c}=p.sections,m=l.balances.length>0?l:c,g=o.balances.length>0?o:m;g.balances.length>0&&(a==="ascending_date"&&(r=g.balances.length-1),n=g.balances[r]);break}case"operating_expenses":{const p=e.report,{expenses:o}=p.sections;o.balances.length>0&&(a==="ascending_date"&&(r=o.balances.length-1),n=o.balances[r]);break}case"operating_expenses_by_classes":{const p=e.report,{expenses:o}=p.sections;o.balances.length>0&&(a==="ascending_date"&&(r=o.balances.length-1),n=o.balances[r]);break}case"revenue":{const p=e.report,{income:o,cogs:l}=p.sections,c=o.balances.length>0?o:l;c?.balances!=null&&c.balances.length>0&&(a==="ascending_date"&&(r=c.balances.length-1),n=c.balances[r]);break}case"revenue_by_classes":{const p=e.report,{income:o,cogs:l}=p.sections,c=o.balances.length>0?o:l;c.balances.length>0&&(a==="ascending_date"&&(r=c.balances.length-1),n=c.balances[r]);break}}return n!=null&&(i={startDate:n.startDate,endDate:n.endDate}),i}function zt(e){const{isCompareModeOn:t,filter:a,coaBalancesRange:n,report:i,currentTenantCompanyName:r,reportView:p,classesToFilterOut:o}=e,{reportId:l}=i;let c=a.balancesRange.thisPeriod;c==null&&(c=Tt({report:i,filter:a}));const m=[];if(t?(m.push("this_period_vs_last_period_percent"),m.push("this_period_vs_last_period")):!t&&l!=="cash_position"&&m.push("free_range_total"),i.reportId!=="cash_position"&&m.push("year_to_date_total"),c!=null)return{localeId:_.getAppLocaleID(),showNegativeAmountInParenthesis:!0,filterAccountsWithNilBalances:"filter_actual_nil_balances",filterAccountGroupsWithNilBalances:"filter_actual_forecast_empty_account_group_balances",includeCoverPage:!1,companyName:r,statementFileType:"excel",statements:[l],firstMonthOfFY:e.report.firstMonthOfFY,bookCloseDate:e.report.bookCloseDate,timeframe:a.timeframe,additionalBalances:m,format:e.reportType,balancesFilter:{thisPeriod:c,numberOfPeriods:t?a.balancesRange.numberOfPeriods:n.numberOfPeriods,orderBy:n.orderBy},accountViewMode:p,classesToFilterOut:o,isZeniCOAUsed:e.isZeniCOAUsed}}function
|
|
20
|
+
`,Dt=({style:e,emptyContentText:t,EmptyContentImage:a})=>{const n=B();return s.jsxs(Lt,{windowSize:n,style:{...e},children:[s.jsx(It,{children:s.jsx(a,{})}),s.jsx(Rt,{children:t})]})};function Tt(e){const{reportId:t}=e.report,a=e.filter.balancesRange.orderBy;let n,i,r=0;switch(t){case"cash_in_cash_out":{const p=e.report,{cashIn:o,cashOut:l}=p,c=o.balances.length>0?o:l;c.balances.length>0&&(a==="ascending_date"&&(r=c.balances.length-1),n=c.balances[r]);break}case"cash_position":{const p=e.report,{cashPosition:o}=p;o.balances.length>0&&(a==="ascending_date"&&(r=o.balances.length-1),n=o.balances[r]);break}case"net_burn_or_income":{const p=e.report,{expenses:o,income:l}=p.sections,c=o?.balances.length>0?o:l;c?.balances!=null&&c.balances.length>0&&(a==="ascending_date"&&(r=c.balances.length-1),n=c.balances[r]);break}case"net_burn_or_income_by_classes":{const p=e.report,{expenses:o,income:l,cogs:c}=p.sections,m=l.balances.length>0?l:c,g=o.balances.length>0?o:m;g.balances.length>0&&(a==="ascending_date"&&(r=g.balances.length-1),n=g.balances[r]);break}case"operating_expenses":{const p=e.report,{expenses:o}=p.sections;o.balances.length>0&&(a==="ascending_date"&&(r=o.balances.length-1),n=o.balances[r]);break}case"operating_expenses_by_classes":{const p=e.report,{expenses:o}=p.sections;o.balances.length>0&&(a==="ascending_date"&&(r=o.balances.length-1),n=o.balances[r]);break}case"revenue":{const p=e.report,{income:o,cogs:l}=p.sections,c=o.balances.length>0?o:l;c?.balances!=null&&c.balances.length>0&&(a==="ascending_date"&&(r=c.balances.length-1),n=c.balances[r]);break}case"revenue_by_classes":{const p=e.report,{income:o,cogs:l}=p.sections,c=o.balances.length>0?o:l;c.balances.length>0&&(a==="ascending_date"&&(r=c.balances.length-1),n=c.balances[r]);break}}return n!=null&&(i={startDate:n.startDate,endDate:n.endDate}),i}function zt(e){const{isCompareModeOn:t,filter:a,coaBalancesRange:n,report:i,currentTenantCompanyName:r,reportView:p,classesToFilterOut:o}=e,{reportId:l}=i;let c=a.balancesRange.thisPeriod;c==null&&(c=Tt({report:i,filter:a}));const m=[];if(t?(m.push("this_period_vs_last_period_percent"),m.push("this_period_vs_last_period")):!t&&l!=="cash_position"&&m.push("free_range_total"),i.reportId!=="cash_position"&&m.push("year_to_date_total"),c!=null)return{localeId:_.getAppLocaleID(),showNegativeAmountInParenthesis:!0,filterAccountsWithNilBalances:"filter_actual_nil_balances",filterAccountGroupsWithNilBalances:"filter_actual_forecast_empty_account_group_balances",includeCoverPage:!1,companyName:r,statementFileType:"excel",statements:[l],firstMonthOfFY:e.report.firstMonthOfFY,bookCloseDate:e.report.bookCloseDate,timeframe:a.timeframe,additionalBalances:m,format:e.reportType,balancesFilter:{thisPeriod:c,numberOfPeriods:t?a.balancesRange.numberOfPeriods:n.numberOfPeriods,orderBy:n.orderBy},accountViewMode:p,classesToFilterOut:o,isZeniCOAUsed:e.isZeniCOAUsed}}function At(e){const t=zt(e);if(t!=null)return mt(e.statementEndPoint,e.authParams,t)}const Mt=u.div`
|
|
21
21
|
padding: ${d.sp4} ${d.sp0} ${d.sp5} ${d.sp0};
|
|
22
|
-
`;function Et({highlightedRangeReport:e}){const{availableNumberOfPeriods:t,netCashFlow:a}=e,n=a.balances;if(t==null||t===0||n.length===0)return null;const i=n.reduce((l,c)=>l+c.balance.amount,0),r=n[n.length-1],p={...r,balance:{...r.balance,amount:i}},o=_.getLocalizedStrings().chartCard.cashInCashOut.net_cash_flow;return s.jsx(
|
|
22
|
+
`;function Et({highlightedRangeReport:e}){const{availableNumberOfPeriods:t,netCashFlow:a}=e,n=a.balances;if(t==null||t===0||n.length===0)return null;const i=n.reduce((l,c)=>l+c.balance.amount,0),r=n[n.length-1],p={...r,balance:{...r.balance,amount:i}},o=_.getLocalizedStrings().chartCard.cashInCashOut.net_cash_flow;return s.jsx(Mt,{children:s.jsx(te,{balance:p,dateText:o,showInfotip:!1})})}const Ft=u.div`
|
|
23
23
|
padding: ${d.sp4} ${d.sp0} ${d.sp5} ${d.sp0};
|
|
24
24
|
`;function Vt({highlightedRangeReport:e}){const{dateFormat:{visual:t}}=_.getLocalizedStrings(),{availableNumberOfPeriods:a,cashPosition:n}=e,i=n.balances;if(a==null||a===0||i.length===0)return null;const r=i[i.length-1],p=`in ${r.endDate.format(t.MMMYYFormat)}`;return s.jsx(Ft,{children:s.jsx(te,{balance:r,dateText:p,showInfotip:!1})})}const Wt=u.div`
|
|
25
25
|
padding: ${d.sp4} ${d.sp0} ${d.sp5} ${d.sp0};
|
|
@@ -43,7 +43,7 @@ import{X as B,u as q,M as _,w as Oe,l as D,j as s,aV as Ke,c as Qe,D as Xe,aX as
|
|
|
43
43
|
height: ${e=>X.chartHeight.valuePx(e.windowSize)};
|
|
44
44
|
`,es=u.div`
|
|
45
45
|
display: flex;
|
|
46
|
-
`,ts=e=>{const t=B(),{selectedRangeReport:a,selectedClassesViewRangeReport:n,uiState:i,onCOABalancesRangeChanged:r}=e,p=a.availableNumberOfPeriods==null||a.availableNumberOfPeriods===0,{selectedCOABalancesRange:o,selectedAdditionalBalances:l,highlightedCOABalancesRange:c,timeframe:m}=i,g=n!==void 0&&n.uiState.accountViewMode==="classes"?n:a;return p?s.jsx(es,{children:s.jsx(yt,{title:_.getLocalizedStrings().chartCard.no_data_available})}):s.jsx(Jt,{windowSize:t,children:s.jsx(st,{children:({height:h,width:f})=>{const x={showBarHoverBackground:!0,onCOABalancesRangeChanged:(w,S,b)=>{ss(a.firstMonthOfFY,l,a.reportId,S,w,e.analytics),r(o,b)},highlightedRange:c,isDetailPage:!0,timeframe:m,width:f,height:h};switch(g.reportId){case"net_burn_or_income":return s.jsx(ye,{selectedRangeReport:a,...x,mode:e.uiState.mode});case"net_burn_or_income_by_classes":return s.jsx(ye,{selectedRangeReport:n,...x,mode:e.uiState.mode});case"revenue":return s.jsx(Se,{selectedRangeReport:a,...x,mode:e.uiState.mode});case"revenue_by_classes":return s.jsx(Se,{selectedRangeReport:n,...x,mode:e.uiState.mode});case"operating_expenses":return s.jsx(we,{selectedRangeReport:a,...x,mode:e.uiState.mode});case"operating_expenses_by_classes":return s.jsx(we,{selectedRangeReport:n,...x,mode:e.uiState.mode});case"cash_position":return s.jsx(St,{selectedRangeReport:a,...x});case"cash_in_cash_out":return s.jsx(wt,{selectedRangeReport:a,...x});default:return null}}})})},ss=(e,t,a,n,i,r)=>{const p=t.includes("this_period_vs_last_period")||t.includes("this_period_vs_last_period_percent");p===!0&&r?.trackCompareFilterTimeFrame(R(a),U(n),"bar",oe(e,n,i)),r?.trackDateRangeFilterChange(R(a),"bar",p,void 0,oe(e,n,i))},ze={net_burn_or_income:{light:"https://storage.cloud.google.com/zeni-apis.appspot.com/images/icons/netburn-forecast.png",dark:"https://storage.cloud.google.com/zeni-apis.appspot.com/images/icons/netburn-forecast-dark.png"},revenue:{light:"https://storage.cloud.google.com/zeni-apis.appspot.com/images/icons/revenue-forecast.png",dark:"https://storage.cloud.google.com/zeni-apis.appspot.com/images/icons/revenue-forecast-dark.png"},operating_expenses:{light:"https://storage.googleapis.com/zeni-apis.appspot.com/images/icons/opex-forecast.png",dark:"https://storage.googleapis.com/zeni-apis.appspot.com/images/icons/opex-forecast-dark.png"}},
|
|
46
|
+
`,ts=e=>{const t=B(),{selectedRangeReport:a,selectedClassesViewRangeReport:n,uiState:i,onCOABalancesRangeChanged:r}=e,p=a.availableNumberOfPeriods==null||a.availableNumberOfPeriods===0,{selectedCOABalancesRange:o,selectedAdditionalBalances:l,highlightedCOABalancesRange:c,timeframe:m}=i,g=n!==void 0&&n.uiState.accountViewMode==="classes"?n:a;return p?s.jsx(es,{children:s.jsx(yt,{title:_.getLocalizedStrings().chartCard.no_data_available})}):s.jsx(Jt,{windowSize:t,children:s.jsx(st,{children:({height:h,width:f})=>{const x={showBarHoverBackground:!0,onCOABalancesRangeChanged:(w,S,b)=>{ss(a.firstMonthOfFY,l,a.reportId,S,w,e.analytics),r(o,b)},highlightedRange:c,isDetailPage:!0,timeframe:m,width:f,height:h};switch(g.reportId){case"net_burn_or_income":return s.jsx(ye,{selectedRangeReport:a,...x,mode:e.uiState.mode});case"net_burn_or_income_by_classes":return s.jsx(ye,{selectedRangeReport:n,...x,mode:e.uiState.mode});case"revenue":return s.jsx(Se,{selectedRangeReport:a,...x,mode:e.uiState.mode});case"revenue_by_classes":return s.jsx(Se,{selectedRangeReport:n,...x,mode:e.uiState.mode});case"operating_expenses":return s.jsx(we,{selectedRangeReport:a,...x,mode:e.uiState.mode});case"operating_expenses_by_classes":return s.jsx(we,{selectedRangeReport:n,...x,mode:e.uiState.mode});case"cash_position":return s.jsx(St,{selectedRangeReport:a,...x});case"cash_in_cash_out":return s.jsx(wt,{selectedRangeReport:a,...x});default:return null}}})})},ss=(e,t,a,n,i,r)=>{const p=t.includes("this_period_vs_last_period")||t.includes("this_period_vs_last_period_percent");p===!0&&r?.trackCompareFilterTimeFrame(R(a),U(n),"bar",oe(e,n,i)),r?.trackDateRangeFilterChange(R(a),"bar",p,void 0,oe(e,n,i))},ze={net_burn_or_income:{light:"https://storage.cloud.google.com/zeni-apis.appspot.com/images/icons/netburn-forecast.png",dark:"https://storage.cloud.google.com/zeni-apis.appspot.com/images/icons/netburn-forecast-dark.png"},revenue:{light:"https://storage.cloud.google.com/zeni-apis.appspot.com/images/icons/revenue-forecast.png",dark:"https://storage.cloud.google.com/zeni-apis.appspot.com/images/icons/revenue-forecast-dark.png"},operating_expenses:{light:"https://storage.googleapis.com/zeni-apis.appspot.com/images/icons/opex-forecast.png",dark:"https://storage.googleapis.com/zeni-apis.appspot.com/images/icons/opex-forecast-dark.png"}},Ae=Le`
|
|
47
47
|
0% {
|
|
48
48
|
transform: translateY(100%)
|
|
49
49
|
}
|
|
@@ -83,7 +83,7 @@ import{X as B,u as q,M as _,w as Oe,l as D,j as s,aV as Ke,c as Qe,D as Xe,aX as
|
|
|
83
83
|
align-items: center;
|
|
84
84
|
overflow: auto;
|
|
85
85
|
background: ${T.blackColor}E6;
|
|
86
|
-
`,
|
|
86
|
+
`,Me=u.div`
|
|
87
87
|
padding: ${e=>e.windowSize==="small"||e.windowSize==="medium-compact"?d.sp0:`${d.sp0} ${d.sp8}`};
|
|
88
88
|
margin-top: ${e=>e.windowSize==="small"||e.windowSize==="medium-compact"?d.sp0:d.sp7};
|
|
89
89
|
width: ${e=>e.windowSize==="small"||e.windowSize==="medium-compact"?"100%":"620px"};
|
|
@@ -115,7 +115,7 @@ import{X as B,u as q,M as _,w as Oe,l as D,j as s,aV as Ke,c as Qe,D as Xe,aX as
|
|
|
115
115
|
width: 700px;
|
|
116
116
|
background: ${e=>e.theme.colors.grey5};
|
|
117
117
|
border-radius: ${d.sp2};
|
|
118
|
-
animation: ${
|
|
118
|
+
animation: ${Ae} 0.4s;
|
|
119
119
|
position: relative;
|
|
120
120
|
`,rs=u.div`
|
|
121
121
|
display: flex;
|
|
@@ -126,7 +126,7 @@ import{X as B,u as q,M as _,w as Oe,l as D,j as s,aV as Ke,c as Qe,D as Xe,aX as
|
|
|
126
126
|
text-align: center;
|
|
127
127
|
height: 640px;
|
|
128
128
|
width: 100%;
|
|
129
|
-
animation: ${
|
|
129
|
+
animation: ${Ae} 0.4s;
|
|
130
130
|
position: relative;
|
|
131
131
|
`,cs=u.div`
|
|
132
132
|
position: absolute;
|
|
@@ -197,7 +197,7 @@ import{X as B,u as q,M as _,w as Oe,l as D,j as s,aV as Ke,c as Qe,D as Xe,aX as
|
|
|
197
197
|
border-radius: 12px;
|
|
198
198
|
border: ${e=>`1px solid ${e.theme.colors.grey5}`};
|
|
199
199
|
padding: ${d.sp2};
|
|
200
|
-
`,de=()=>s.jsxs(ps,{children:[s.jsx(us,{}),s.jsx(gs,{})]}),He=({imgSrc:e})=>{const t=B();return s.jsxs(fs,{windowSize:t,children:[s.jsx(xs,{windowSize:t,children:s.jsx(_s,{windowSize:t,children:s.jsx("img",{src:e,alt:"forecast-promo",style:{width:"343px",height:"220px",borderRadius:d.sp2,display:"block"}})})}),s.jsxs(bs,{windowSize:t,children:[s.jsxs(le,{children:[s.jsx(ce,{children:_.getLocalizedStrings().forecastPromoPage.accuratelyText.bold}),s.jsx(re,{children:_.getLocalizedStrings().forecastPromoPage.accuratelyText.regular})]}),s.jsxs(le,{children:[s.jsx(ce,{children:_.getLocalizedStrings().forecastPromoPage.trackText.bold}),s.jsx(re,{children:_.getLocalizedStrings().forecastPromoPage.trackText.regular})]}),s.jsxs(le,{children:[s.jsx(ce,{children:_.getLocalizedStrings().forecastPromoPage.preciseText.bold}),s.jsx(re,{children:_.getLocalizedStrings().forecastPromoPage.preciseText.regular})]})]})]})},ws=e=>{const{onClose:t,reportId:a,meetingUrl:n}=e,i=B(),r=q(),p=c=>{c.stopPropagation(),t()},o=()=>{window.open(n.toString(),"_blank")},l=ze[a][r.mode];return s.jsxs(ns,{role:"presentation",onClick:c=>p(c),children:[s.jsx(Ee,{children:s.jsx(Fe,{children:s.jsx(Be,{style:{width:"18px",height:"18px"}})})}),s.jsx(rs,{onClick:c=>c.stopPropagation(),children:s.jsxs(
|
|
200
|
+
`,de=()=>s.jsxs(ps,{children:[s.jsx(us,{}),s.jsx(gs,{})]}),He=({imgSrc:e})=>{const t=B();return s.jsxs(fs,{windowSize:t,children:[s.jsx(xs,{windowSize:t,children:s.jsx(_s,{windowSize:t,children:s.jsx("img",{src:e,alt:"forecast-promo",style:{width:"343px",height:"220px",borderRadius:d.sp2,display:"block"}})})}),s.jsxs(bs,{windowSize:t,children:[s.jsxs(le,{children:[s.jsx(ce,{children:_.getLocalizedStrings().forecastPromoPage.accuratelyText.bold}),s.jsx(re,{children:_.getLocalizedStrings().forecastPromoPage.accuratelyText.regular})]}),s.jsxs(le,{children:[s.jsx(ce,{children:_.getLocalizedStrings().forecastPromoPage.trackText.bold}),s.jsx(re,{children:_.getLocalizedStrings().forecastPromoPage.trackText.regular})]}),s.jsxs(le,{children:[s.jsx(ce,{children:_.getLocalizedStrings().forecastPromoPage.preciseText.bold}),s.jsx(re,{children:_.getLocalizedStrings().forecastPromoPage.preciseText.regular})]})]})]})},ws=e=>{const{onClose:t,reportId:a,meetingUrl:n}=e,i=B(),r=q(),p=c=>{c.stopPropagation(),t()},o=()=>{window.open(n.toString(),"_blank")},l=ze[a][r.mode];return s.jsxs(ns,{role:"presentation",onClick:c=>p(c),children:[s.jsx(Ee,{children:s.jsx(Fe,{children:s.jsx(Be,{style:{width:"18px",height:"18px"}})})}),s.jsx(rs,{onClick:c=>c.stopPropagation(),children:s.jsxs(Me,{windowSize:i,children:[s.jsx(ms,{children:_.getLocalizedStrings().forecastPromoPage.promoText}),s.jsx(He,{imgSrc:l}),s.jsxs(Ve,{children:[s.jsx(Pe,{variant:"primary",label:_.getLocalizedStrings().forecastPromoPage.meetingButton,onClick:o,style:{backgroundColor:T.primaryDark,borderColor:T.primaryDark,color:T.neutralGrey5Dark}}),s.jsx(We,{windowSize:i,children:_.getLocalizedStrings().forecastPromoPage.forecastUpload})]})]})})]})},Ss=e=>{const{onClose:t,reportId:a,meetingUrl:n}=e,i=B(),r=q(),p=c=>{c.stopPropagation(),t()},o=()=>{window.open(n.toString(),"_blank")},l=ze[a][r.mode];return s.jsxs(as,{role:"presentation",onClick:c=>p(c),children:[s.jsx(Ee,{children:s.jsx(Fe,{children:s.jsx(Be,{style:{width:"18px",height:"18px"}})})}),s.jsxs(is,{onClick:c=>c.stopPropagation(),children:[s.jsxs(Me,{windowSize:i,children:[s.jsx(hs,{children:_.getLocalizedStrings().forecastPromoPage.promoText}),s.jsx(He,{imgSrc:l}),s.jsxs(Ve,{children:[s.jsx(Pe,{variant:"primary",label:_.getLocalizedStrings().forecastPromoPage.meetingButton,onClick:o}),s.jsx(We,{windowSize:i,children:_.getLocalizedStrings().forecastPromoPage.forecastUpload})]})]}),s.jsx(cs,{children:s.jsx(de,{})}),s.jsx(ls,{children:s.jsx(de,{})}),s.jsx(ds,{children:s.jsx(de,{})})]})]})};function ys(e){const t=B();return t==="small"||t==="medium-compact"?s.jsx(ws,{...e}):s.jsx(Ss,{...e})}const pe="ZeniSwitch",A={root:`${pe}-root`,switchBase:`${pe}-switchBase`,track:`${pe}-track`},vs=({className:e,...t})=>s.jsx(pt,{...t,className:e,classes:{...A}}),$s=u(vs)(({theme:e})=>({[`& .${A.switchBase}`]:{color:e.colors.grey2},[`& .${A.track}`]:{backgroundColor:e.colors.grey3,opacity:1},[`& .${A.switchBase}.Mui-checked`]:{color:e.colors.primary},[`& .${A.switchBase}.Mui-checked + .${A.track}`]:{backgroundColor:e.colors.grey1},[`& .${A.switchBase}.Mui-disabled`]:{color:e.colors.grey4},[`& .${A.switchBase}.Mui-disabled + .${A.track}`]:{opacity:.5,backgroundColor:e.colors.background}})),Ye=e=>s.jsx($s,{...e}),Z={containerMaxWidth:new L(124,154),forecastNameInnerWidth:new L(75,105),forecastNameOuterWidth:new L(90,120),tooltipTopPosition:new L(51,51),tooltipWidth:new L(180,150)},ve=u.div``,Cs=u.div`
|
|
201
201
|
min-width: ${e=>Z.forecastNameInnerWidth.valuePx(e.windowSize)};
|
|
202
202
|
&:hover {
|
|
203
203
|
.info-tooltip {
|
|
@@ -261,9 +261,9 @@ import{X as B,u as q,M as _,w as Oe,l as D,j as s,aV as Ke,c as Qe,D as Xe,aX as
|
|
|
261
261
|
z-index: 1;
|
|
262
262
|
width: ${e=>Z.tooltipWidth.valuePx(e.windowSize)};
|
|
263
263
|
top: ${e=>Z.tooltipTopPosition.valuePx(e.windowSize)};
|
|
264
|
-
`,
|
|
264
|
+
`,As=u(rt)`
|
|
265
265
|
color: ${e=>e.theme.colors.grey5};
|
|
266
|
-
`;function
|
|
266
|
+
`;function Ms({selectedForecastIndex:e,forecasts:t,isDisabled:a,isForecastValid:n,onForecastSelectionChanged:i}){const r=B(),{dateFormat:{visual:p}}=_.getLocalizedStrings(),o=g=>`${g.startDate.format(p.MMMYYYYFormat)} - ${g.endDate.format(p.MMMYYYYFormat)}`,l=g=>g.map((h,f)=>({label:h.name,value:f,forecastId:h.id,timeframeLabel:o(h.forecastPeriod),isValid:n(h)})),[c,m]=y.useState(l(t));return ee.useEffect(()=>{m(l(t))},[t]),s.jsxs(Cs,{windowSize:r,children:[s.jsx(Ts,{children:s.jsx(zs,{className:"info-tooltip",windowSize:r,children:s.jsx(As,{children:c[e]!=null?c[e].label:""})})}),s.jsx(Es,{selectedForecast:c[e],forecastOptions:c,isDisabled:a,onForecastSelectionChanged:i})]})}const Es=({selectedForecast:e,forecastOptions:t,isDisabled:a,onForecastSelectionChanged:n})=>{const i=q(),r=B(),[p,o]=y.useState(e),l=i.colors.grey5,c=i.colors.grey5,m=i.colors.grey3;y.useEffect(()=>{o(e)},[e]);const g=u(ct)`
|
|
267
267
|
height: ${d.sp3};
|
|
268
268
|
width: ${d.sp3};
|
|
269
269
|
`,h=u(lt)`
|
|
@@ -306,10 +306,10 @@ import{X as B,u as q,M as _,w as Oe,l as D,j as s,aV as Ke,c as Qe,D as Xe,aX as
|
|
|
306
306
|
`,Ue=u(ae)`
|
|
307
307
|
color: ${e=>e.isOn?e.theme.colors.primary:e.theme.colors.hero};
|
|
308
308
|
opacity: ${e=>e.isDisabled?.5:1};
|
|
309
|
-
`,Ze=({label:e,isOn:t,isToggleDisabled:a,onValueChanged:n})=>s.jsxs(s.Fragment,{children:[s.jsx(Ue,{isOn:t,isDisabled:a===!0,children:e}),s.jsx(Ye,{checked:t,edge:"end",disabled:a===!0,disableRipple:a===!0,onChange:i=>{n(i.target.checked)}})]});function qe({isOn:e,isDisabled:t,selectedForecastIndex:a,forecasts:n,isForecastValid:i,onForecastToggleChanged:r,onForecastSelectionChanged:p}){return s.jsxs(Ys,{children:[e===!0&&n!=null&&n.length!==0?s.jsx(
|
|
309
|
+
`,Ze=({label:e,isOn:t,isToggleDisabled:a,onValueChanged:n})=>s.jsxs(s.Fragment,{children:[s.jsx(Ue,{isOn:t,isDisabled:a===!0,children:e}),s.jsx(Ye,{checked:t,edge:"end",disabled:a===!0,disableRipple:a===!0,onChange:i=>{n(i.target.checked)}})]});function qe({isOn:e,isDisabled:t,selectedForecastIndex:a,forecasts:n,isForecastValid:i,onForecastToggleChanged:r,onForecastSelectionChanged:p}){return s.jsxs(Ys,{children:[e===!0&&n!=null&&n.length!==0?s.jsx(Ms,{selectedForecastIndex:a??0,forecasts:n,isForecastValid:i,onForecastSelectionChanged:p,isDisabled:!1}):s.jsx(Ue,{isOn:e,isDisabled:t===!0,children:_.getLocalizedStrings().reports.forecast.forecast}),s.jsx(Ye,{checked:e,edge:"end",disabled:t===!0,disableRipple:t===!0,onChange:o=>{r(o.target.checked)}})]})}const Gs=e=>{const t=B();return s.jsxs(Fs,{children:[s.jsx(Ge,{windowSize:t,children:s.jsx(Ie,{timeframes:e.timeframe.allowedTimeframes,selectedTimeframe:e.timeframe.selectedTimeframe,onTimeframeSelectionChanged:e.timeframe.onTimeframeSelectionChanged})}),s.jsxs(Ws,{children:[e.forecastListWithToggle!=null&&s.jsx(qe,{...e.forecastListWithToggle}),s.jsx(Ze,{...e.compareToggle,label:_.getLocalizedStrings().compareSwitchLabel})]})]})},Us=e=>{const t=B();return s.jsxs(Vs,{children:[s.jsx(Ge,{windowSize:t,children:s.jsx(Ie,{timeframes:e.timeframe.allowedTimeframes,selectedTimeframe:e.timeframe.selectedTimeframe,onTimeframeSelectionChanged:e.timeframe.onTimeframeSelectionChanged})}),s.jsxs(Hs,{children:[e.forecastListWithToggle!=null&&s.jsx(qe,{...e.forecastListWithToggle}),s.jsx(Ze,{...e.compareToggle,label:_.getLocalizedStrings().compareSwitchLabel})]})]})};function Zs(e){const t=B();return t==="small"||t==="medium-compact"?s.jsx(Gs,{...e}):s.jsx(Us,{...e})}const qs=u.div`
|
|
310
310
|
display: flex;
|
|
311
311
|
padding: ${d.sp2} ${d.sp0} ${d.sp4} ${d.sp0};
|
|
312
|
-
`,Ks=u.div``,Qs=u.div``,Xs=e=>{const{selectedRangeReport:t,uiState:a,analytics:n,onThisPeriodChanged:i,onTimeframeSelectionChanged:r,onCOABalancesRangeChanged:p,onAdditionalBalanceSelectionChanged:o}=e,l=Oe(),{allTimeframeTicks:c}=t,{selectedCOABalancesRange:m,timeframe:g}=a,h=t.reportId==="cash_in_cash_out"?["month"]:["month","quarter","year"],f=t.availableNumberOfPeriods!=null&&t.availableNumberOfPeriods<2,x=a.mode==="compare_mode"&&!f,w=l.connectionName!=="netsuite"&&(t.reportId==="net_burn_or_income"||t.reportId==="operating_expenses"||t.reportId==="revenue");let S,b;switch(t.reportId){case"revenue":S=t.forecastList?.forecasts,b=t.forecastList?.fetchState;break;case"net_burn_or_income":S=t.forecastList?.forecasts,b=t.forecastList?.fetchState;break;case"operating_expenses":S=t.forecastList?.forecasts,b=t.forecastList?.fetchState;break;default:S=void 0}const $=t.availableNumberOfPeriods==null||t.availableNumberOfPeriods===0,k=$||t.availableNumberOfPeriods===1,W=v=>!!v.forecastPeriod.startDate.isBefore(t.dataAvailable?.endDate),[P,E]=y.useState(!1),Y=D.toZeniUrl("https://meetings.hubspot.com/svitlana-grankovska"),F=a.mode,I=a.selectedForecast;y.useEffect(()=>{F==="forecast_mode"&&b==="Completed"&&S?.length===0&&(E(!0),document.body.style.overflow="hidden")},[b,F,S]),y.useEffect(()=>{F==="forecast_mode"&&I!=null&&S!=null&&S.length>0&&e.analytics?.trackForecastSwitch(R(t.reportId),S[I.index].name)},[I]);const H=(v,C,G)=>{C===!0&&e.analytics?.trackForecastVsActualMode(R(t.reportId),"",v==="forecast_mode"),e.onForecastToggle?.(v,G)};return s.jsx(Qs,{children:s.jsxs(Ks,{children:[s.jsx(qs,{children:s.jsx(Zs,{timeframe:{allowedTimeframes:h,selectedTimeframe:g,onTimeframeSelectionChanged:v=>{e.analytics?.trackTimeframeSwitch(U(v),R(t.reportId)),r?.(v),e.uiState.mode==="compare_mode"&&!x&&o(x,x?["this_period_vs_last_period_percent"]:[],x?3:1)}},compareToggle:{label:_.getLocalizedStrings().compareSwitchLabel,isOn:k?!1:x,isToggleDisabled:k,onValueChanged:v=>{const C=v===!0||a.mode==="forecast_mode"?3:1;n?.trackCompareMode(v,R(t.reportId),U(g)),o(v,v?["this_period_vs_last_period_percent","year_to_date_total"]:["year_to_date_total"],C)}},forecastListWithToggle:w===!0?{isOn:a.mode==="forecast_mode",isToggleDisabled:k,selectedForecastIndex:e.uiState.selectedForecast?.index,forecasts:S,isForecastValid:W,onForecastSelectionChanged:(v,C)=>H("forecast_mode",!1,{id:v,index:C}),onForecastToggleChanged:v=>{H(v===!0?"forecast_mode":"off",!0)}}:void 0})}),P==!0?s.jsx(ys,{meetingUrl:Y,reportId:t.reportId,onClose:()=>{E(!1),e.onForecastToggle?.("off");const v=1;document.body.style.overflow="auto",o(x,x?["this_period_vs_last_period_percent"]:[],v)}}):null,$?null:s.jsx(vt,{firstMonthOfFY:t.firstMonthOfFY,timeframe:g,timeframeTicks:c,selection:{selectedTicks:_e(c,m),highlightedOfSelectedTicks:_e(c,m)},onClick:(v,C)=>{Ce(t.firstMonthOfFY,x,t.reportId,g,C,e.analytics),i(C)},onSelectionChanged:(v,C)=>{const G=xt(c,v.fromEnd),K=_t(c,C);Ce(t.firstMonthOfFY,x,t.reportId,g,K.thisPeriod,e.analytics),p(G,K)}})]})})},Ce=(e,t,a,n,i,r)=>{t===!0&&r?.trackCompareFilterTimeFrame(R(a),U(n),"range filter",oe(e,n,i)),r?.trackDateRangeFilterChange(R(a),"range filter",t,oe(e,n,i))};function be({account:e,sectionType:t,numOfBalances:a,title:n,isLastNode:i,config:r,parentNodeIDs:p}){return{children:[],id:V("ac_report",p,e.accountId),isLastNode:i,reportElementData:{element:{kind:"ac_report",title:n,sectionType:t,data:e,numOfBalances:a},config:r}}}function Js({acGroup:e,sectionType:t,numOfBalances:a,title:n,isLastNode:i,config:r,parentNodeIDs:p}){const o=V("ac_group_report",p,e.accountGroupId),l={children:[],id:o,isLastNode:i,reportElementData:{element:{kind:"ac_group_report",title:n,sectionType:t,data:e,numOfBalances:a},config:r}},c=ge(t,"no_filter",r.filterAccountsWithNilBalances,r.filterAccountGroupsWithNilBalances).compactedAccountsSelector(e);return l.children=c.map((m,g)=>be({account:m,sectionType:t,numOfBalances:a,title:m.accountDescription,config:r,isLastNode:g===c.length-1,parentNodeIDs:[...p,o]})),l}function je({section:e,sectionType:t,numOfBalances:a,title:n,isLastNode:i,config:r}){const p=V("section",[],n),o={children:[],id:p,isLastNode:i,reportElementData:{element:{kind:"section",title:n,sectionType:t,data:e,numOfBalances:a},config:r}},l=jt(e,r.displayOrder,a,!1),c=eo(l.balances),m=ge(t,"no_filter",r.filterAccountsWithNilBalances,r.filterAccountGroupsWithNilBalances),g=m.compactedAccountsSelectorVariant(e.accountsOrdered),h=m.compactedAccountGroupsSelector(e.accountGroupsOrdered);if(c===!0&&(h.length>0||e.accountsOrdered.length>0)){const f=h.map((w,S)=>Js({acGroup:w,sectionType:t,numOfBalances:a,title:w.accountGroupName,isLastNode:S===h.length-1,config:r,parentNodeIDs:[p]})),x=g.map((w,S)=>be({account:w,sectionType:t,numOfBalances:a,title:w.accountDescription,isLastNode:S===e.accountsOrdered.length-1,config:r,parentNodeIDs:[p]}));o.children.push(...f),o.children.push(...x)}return o}function eo(e){let t=!1;if(e!=null){for(const a of e)if(a!=null&&a.balance.amount!==0){t=!0;break}}return t}function A({balances:e,config:t,nodeId:a}){let n="timeframe_headers";return t.mode==="actual_vs_forecast"&&(n="timeframe_headers_with_forecast"),{children:[],id:a??V("timeframe_header",[]),isLastNode:!1,reportElementData:{element:{kind:n,title:"",data:e,numOfBalances:e.length},config:t}}}function to(e,t,a=!0){const n=_.getLocalizedStrings().reports,i=t.mode==="this_period_vs_period_before"?e.filter.balancesRange.numberOfPeriods+2:e.filter.balancesRange.numberOfPeriods+1,r=e.cashIn.balances?[...e.cashIn.balances,...e.cashIn.additionalBalances]:e.cashOut.balances?[...e.cashOut.balances,...e.cashOut.additionalBalances]:[],p=A({balances:r,config:t}),o=je({section:e.cashIn,sectionType:"cash_in",numOfBalances:i,title:n.sections.cashIn,isLastNode:!0,config:t}),l=je({section:e.cashOut,sectionType:"cash_out",numOfBalances:i,title:n.sections.cashOut,isLastNode:!0,config:t}),c=se({calculatedSection:e.netCashFlow,numOfBalances:i,title:n.sections.netCashFlow,isLastNode:!0,config:t});return{config:t,headerNodes:a?[p]:[],contentNodes:[p,o,l,c]}}function xe({title:e,balances:t,config:a,numOfBalances:n,nodeId:i}){return{children:[],id:i??V("total",[]),isLastNode:!1,reportElementData:{element:{kind:"total",title:e,data:t,numOfBalances:n},config:a}}}function so(e,t,a=!0){const n=_.getLocalizedStrings().reports,i=t.mode==="this_period_vs_period_before"?e.filter.balancesRange.numberOfPeriods+2:e.filter.balancesRange.numberOfPeriods+1,r=[...e.cashPosition.balances,...e.cashPosition.additionalBalances],p=e.cashPosition,o=A({balances:r,config:t}),l=xe({title:_.getLocalizedStrings().chartCard.total,balances:p,config:t,numOfBalances:i}),c=V("section",[],n.sections.netCashFlow),m=ge("cash_position","no_filter",t.filterAccountsWithNilBalances,t.filterAccountGroupsWithNilBalances).compactedAccountsSelectorVariant(e.cashPosition.accountsOrdered).map((g,h)=>be({account:g,sectionType:"cash_position",numOfBalances:i,title:g.accountDescription,isLastNode:h===e.cashPosition.accountsOrdered.length-1,config:t,parentNodeIDs:[c]}));return{config:t,headerNodes:a?[o]:[],contentNodes:[o,l,...m]}}function oo(e,t,a=!0,n=!1){const i=_.getLocalizedStrings().reports,r=_.getLocalizedStrings().common;let p=[];const o=[];let l=[];if(n===!0){const c=he({title:r.loading,balances:[],config:t});a&&(c.reportElementData.element.numOfBalances=7,l=[c]),o.push(c),[...Array(8)].forEach((m,g)=>{const h=g%4;let f=me[h];const x=fe({title:`${g}+${f}`,balances:p,config:t});x.reportElementData.element.numOfBalances=7,o.push(x)})}else{const c=t.mode==="this_period_vs_period_before"?e.filter.balancesRange.numberOfPeriods+2:e.filter.balancesRange.numberOfPeriods+1,m=e.sections.income.balances.length>0?[...e.sections.income.balances,...e.sections.income.additionalBalances]:e.sections.expenses.balances.length>0?[...e.sections.expenses.balances,...e.sections.expenses.additionalBalances]:e.sections.cogs.balances.length>0?[...e.sections.cogs.balances,...e.sections.cogs.additionalBalances]:[],g=A({balances:m,config:t});o.push(g),a&&(l=[g]),e.idsInOrder.forEach(h=>{if(D.isNetBurnOrIncomeClassesViewSectionID(h)===!0){const f=e.sections[h];f!=null&&o.push(Re({section:f,sectionType:h,numOfBalances:c,title:i.sections[h],isLastNode:!0,config:t}))}else if(D.isNetBurnOrIncomeClassesViewCalculatedSectionID(h)===!0){const f=e.calculatedSections[h];f!=null&&o.push(se({calculatedSection:f,numOfBalances:c,title:h==="netBurnOrIncome"?e.reportTitle:i.sections[h],isLastNode:!0,config:t}))}})}return{config:t,headerNodes:l,contentNodes:o}}function ao(e,t,a=!0){const n=_.getLocalizedStrings().reports,i=t.mode==="this_period_vs_period_before"?e.filter.balancesRange.numberOfPeriods+2:e.filter.balancesRange.numberOfPeriods+1,r=e.sections.income.balances.length>0?[...e.sections.income.balances,...e.sections.income.additionalBalances]:e.sections.expenses.balances.length>0?[...e.sections.expenses.balances,...e.sections.expenses.additionalBalances]:e.sections.cogs.balances.length>0?[...e.sections.cogs.balances,...e.sections.cogs.additionalBalances]:[],p=A({balances:r,config:t}),o=[];return o.push(p),e.idsInOrder.forEach(l=>{D.isNetBurnOrIncomeReportViewSectionID(l)===!0?e.sections[l].accountGroups.length>0?o.push(De({section:e.sections[l],sectionType:l,numOfBalances:i,title:n.sections[l],isLastNode:!0,config:t})):o.push(Te({sectionWithAcOnly:e.sections[l],sectionType:l,numOfBalances:i,title:n.sections[l],isLastNode:!0,config:t})):D.isNetBurnOrIncomeReportViewCalculatedSectionID(l)===!0&&o.push(se({calculatedSection:e.calculatedSections[l],numOfBalances:i,title:l==="netBurnOrIncome"?e.reportTitle:n.sections[l],isLastNode:!0,config:t}))}),{config:t,headerNodes:a?[p]:[],contentNodes:o}}function no(e,t,a=!0,n=!1){const i=_.getLocalizedStrings().reports,r=_.getLocalizedStrings().common;let p=[];const o=[];let l=[];if(n===!0){const c=he({title:r.loading,balances:[],config:t});c.reportElementData.element.numOfBalances=10,a&&(l=[c]),o.push(c),[...Array(8)].forEach((m,g)=>{const h=g%4;let f=me[h];const x=fe({title:`${g}+${f}`,balances:p,config:t});x.reportElementData.element.numOfBalances=10,o.push(x)})}else{const c=t.mode==="this_period_vs_period_before"?e.filter.balancesRange.numberOfPeriods+2:e.filter.balancesRange.numberOfPeriods+1,m=[...e.sections.expenses.balances,...e.sections.expenses.additionalBalances],g=A({balances:m,config:t}),h=e.sections.expenses,f=xe({title:_.getLocalizedStrings().chartCard.total,balances:h,config:t,numOfBalances:c});o.push(g),o.push(f),a&&(l=[g]);const x=V("section",[],i.sections.expenses);e.sections.expenses.classes.forEach((w,S)=>{o.push(kt({classNode:w,sectionType:"expenses",numOfBalances:c,title:w.class.className,isLastNode:w.isLeafClass,config:t,parentNodeIDs:[x],ancestorMetadata:{subAccountAncestorMetadata:[],classAncestorMetadata:[{depth:w.id.length-1,hasSibling:!1,hasChildren:w.children.length>0,isLastNode:S===e.sections.expenses.classes.length-1,name:w.class.className}]}}))})}return{config:t,headerNodes:l,contentNodes:o}}function io(e,t,a=!0){const n=_.getLocalizedStrings().reports,i=t.mode==="this_period_vs_period_before"?e.filter.balancesRange.numberOfPeriods+2:e.filter.balancesRange.numberOfPeriods+1,r=[...e.sections.expenses.balances,...e.sections.expenses.additionalBalances],p=A({balances:r,config:t}),o=e.sections.expenses,l=xe({title:_.getLocalizedStrings().chartCard.total,balances:o,config:t,numOfBalances:i}),c=V("section",[],n.sections.expenses),m=Ct("no_filter",t.filterAccountsWithNilBalances,t.filterAccountGroupsWithNilBalances),g=[];g.push(p),g.push(l);const h=m.compactedAccountGroupsSelector(e.sections.expenses.accountGroups);if(h.length!=0){const f=h.map((x,w)=>Ot({acGroup:x,sectionType:"expenses",numOfBalances:i,title:x.accountGroupName,isLastNode:w===h.length-1,config:t,parentNodeIDs:[c]}));g.push(...f)}else if(e.sections.expenses.accounts?.length!==0){const f=m.compactedAccountsSelectorVariant(e.sections.expenses.accounts),x=f.map((w,S)=>Bt({account:w,sectionType:"expenses",numOfBalances:i,title:w.account.accountName,isLastNode:S===f.length-1,config:t,parentNodeIDs:[c],ancestorMetadata:{subAccountAncestorMetadata:[{depth:0,hasSibling:f.length>1,hasChildren:w.children.length>0,isLastNode:S===f.length-1}]}}));g.push(...x)}return{config:t,headerNodes:a?[p]:[],contentNodes:g}}function ro(e,t,a=!0,n=!1){const i=_.getLocalizedStrings().reports,r=_.getLocalizedStrings().common;let p=[];const o=[];let l=[];if(n===!0){const c=he({title:r.loading,balances:[],config:t});c.reportElementData.element.numOfBalances=7,a&&(l=[c]),o.push(c),[...Array(8)].forEach((m,g)=>{const h=g%4;let f=me[h];const x=fe({title:`${g}+${f}`,balances:p,config:t});x.reportElementData.element.numOfBalances=7,o.push(x)})}else{const c=t.mode==="this_period_vs_period_before"?e.filter.balancesRange.numberOfPeriods+2:e.filter.balancesRange.numberOfPeriods+1,m=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.calculatedSections.grossMargin.balances.length>0?[...e.calculatedSections.grossMargin.balances,...e.calculatedSections.grossMargin.additionalBalances]:[],g=A({balances:m,config:t});o.push(g),a&&(l=[g]),e.idsInOrder.forEach(h=>{if(D.isRevenueClassesViewSectionID(h)===!0){const f=e.sections[h];f!=null&&o.push(Re({section:f,sectionType:h,numOfBalances:c,title:i.sections[h],isLastNode:!0,config:t}))}else if(D.isRevenueClassesViewCalculatedSectionID(h)===!0){const f=e.calculatedSections[h];f!=null&&o.push(se({calculatedSection:f,numOfBalances:c,title:i.sections.grossMargin,isLastNode:!0,config:t}))}})}return{config:t,headerNodes:l,contentNodes:o}}function co(e,t,a=!0){const n=_.getLocalizedStrings().reports,i=t.mode==="this_period_vs_period_before"?e.filter.balancesRange.numberOfPeriods+2:e.filter.balancesRange.numberOfPeriods+1,r=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.calculatedSections.grossMargin.balances.length>0?[...e.calculatedSections.grossMargin.balances,...e.calculatedSections.grossMargin.additionalBalances]:[],p=A({balances:r,config:t}),o=[];return o.push(p),e.idsInOrder.forEach(l=>{D.isRevenueSectionID(l)===!0?e.sections[l].accountGroups.length>0?o.push(De({section:e.sections[l],sectionType:l,numOfBalances:i,title:n.sections[l],isLastNode:!0,config:t})):o.push(Te({sectionWithAcOnly:e.sections[l],sectionType:l,numOfBalances:i,title:n.sections[l],isLastNode:!0,config:t})):D.isRevenueCalculatedSectionID(l)===!0&&o.push(se({calculatedSection:e.calculatedSections[l],numOfBalances:i,title:n.sections[l],isLastNode:!0,config:t}))}),{config:t,headerNodes:a?[p]:[],contentNodes:o}}function lo(e,t,a,n=!0){Object.assign(e.config,t);const i=po(a),r=A({balances:i,config:t});return{config:t,headerNodes:n?[r]:[],contentNodes:[r,...e.contentNodes.slice(1)]}}const po=e=>{switch(e.reportId){case"net_burn_or_income":{const t=e;return t.sections.income.balances.length>0?[...t.sections.income.balances,...t.sections.income.additionalBalances]:t.sections.expenses.balances.length>0?[...t.sections.expenses.balances,...t.sections.expenses.additionalBalances]:t.sections.cogs.balances.length>0?[...t.sections.cogs.balances,...t.sections.cogs.additionalBalances]:[]}case"net_burn_or_income_by_classes":{const t=e;return t.sections.income.balances.length>0?[...t.sections.income.balances,...t.sections.income.additionalBalances]:t.sections.expenses.balances.length>0?[...t.sections.expenses.balances,...t.sections.expenses.additionalBalances]:t.sections.cogs.balances.length>0?[...t.sections.cogs.balances,...t.sections.cogs.additionalBalances]:[]}case"revenue":{const t=e;return t.sections.income.balances.length>0?[...t.sections.income.balances,...t.sections.income.additionalBalances]:t.sections.cogs.balances.length>0?[...t.sections.cogs.balances,...t.sections.cogs.additionalBalances]:t.calculatedSections.grossMargin.balances.length>0?[...t.calculatedSections.grossMargin.balances,...t.calculatedSections.grossMargin.additionalBalances]:[]}case"revenue_by_classes":{const t=e;return t.sections.income.balances.length>0?[...t.sections.income.balances,...t.sections.income.additionalBalances]:t.sections.cogs.balances.length>0?[...t.sections.cogs.balances,...t.sections.cogs.additionalBalances]:t.calculatedSections.grossMargin.balances.length>0?[...t.calculatedSections.grossMargin.balances,...t.calculatedSections.grossMargin.additionalBalances]:[]}case"cash_position":{const t=e;return[...t.cashPosition.balances,...t.cashPosition.additionalBalances]}case"cash_in_cash_out":{const t=e;return t.cashIn.balances.length>0?[...t.cashIn.balances,...t.cashIn.additionalBalances]:[...t.cashOut.balances,...t.cashOut.additionalBalances]}case"operating_expenses":{const t=e;return[...t.sections.expenses.balances,...t.sections.expenses.additionalBalances]}case"operating_expenses_by_classes":{const t=e;return[...t.sections.expenses.balances,...t.sections.expenses.additionalBalances]}default:return[]}},ke={contentPaddingLeft:new L(j[0],j[0],j[0]),contentPaddingRight:new L(j[3],j[3],j[8])},uo=u.div`
|
|
312
|
+
`,Ks=u.div``,Qs=u.div``,Xs=e=>{const{selectedRangeReport:t,uiState:a,analytics:n,onThisPeriodChanged:i,onTimeframeSelectionChanged:r,onCOABalancesRangeChanged:p,onAdditionalBalanceSelectionChanged:o}=e,l=Oe(),{allTimeframeTicks:c}=t,{selectedCOABalancesRange:m,timeframe:g}=a,h=t.reportId==="cash_in_cash_out"?["month"]:["month","quarter","year"],f=t.availableNumberOfPeriods!=null&&t.availableNumberOfPeriods<2,x=a.mode==="compare_mode"&&!f,w=l.connectionName!=="netsuite"&&(t.reportId==="net_burn_or_income"||t.reportId==="operating_expenses"||t.reportId==="revenue");let S,b;switch(t.reportId){case"revenue":S=t.forecastList?.forecasts,b=t.forecastList?.fetchState;break;case"net_burn_or_income":S=t.forecastList?.forecasts,b=t.forecastList?.fetchState;break;case"operating_expenses":S=t.forecastList?.forecasts,b=t.forecastList?.fetchState;break;default:S=void 0}const $=t.availableNumberOfPeriods==null||t.availableNumberOfPeriods===0,k=$||t.availableNumberOfPeriods===1,W=v=>!!v.forecastPeriod.startDate.isBefore(t.dataAvailable?.endDate),[P,E]=y.useState(!1),Y=D.toZeniUrl("https://meetings.hubspot.com/svitlana-grankovska"),F=a.mode,I=a.selectedForecast;y.useEffect(()=>{F==="forecast_mode"&&b==="Completed"&&S?.length===0&&(E(!0),document.body.style.overflow="hidden")},[b,F,S]),y.useEffect(()=>{F==="forecast_mode"&&I!=null&&S!=null&&S.length>0&&e.analytics?.trackForecastSwitch(R(t.reportId),S[I.index].name)},[I]);const H=(v,C,G)=>{C===!0&&e.analytics?.trackForecastVsActualMode(R(t.reportId),"",v==="forecast_mode"),e.onForecastToggle?.(v,G)};return s.jsx(Qs,{children:s.jsxs(Ks,{children:[s.jsx(qs,{children:s.jsx(Zs,{timeframe:{allowedTimeframes:h,selectedTimeframe:g,onTimeframeSelectionChanged:v=>{e.analytics?.trackTimeframeSwitch(U(v),R(t.reportId)),r?.(v),e.uiState.mode==="compare_mode"&&!x&&o(x,x?["this_period_vs_last_period_percent"]:[],x?3:1)}},compareToggle:{label:_.getLocalizedStrings().compareSwitchLabel,isOn:k?!1:x,isToggleDisabled:k,onValueChanged:v=>{const C=v===!0||a.mode==="forecast_mode"?3:1;n?.trackCompareMode(v,R(t.reportId),U(g)),o(v,v?["this_period_vs_last_period_percent","year_to_date_total"]:["year_to_date_total"],C)}},forecastListWithToggle:w===!0?{isOn:a.mode==="forecast_mode",isToggleDisabled:k,selectedForecastIndex:e.uiState.selectedForecast?.index,forecasts:S,isForecastValid:W,onForecastSelectionChanged:(v,C)=>H("forecast_mode",!1,{id:v,index:C}),onForecastToggleChanged:v=>{H(v===!0?"forecast_mode":"off",!0)}}:void 0})}),P==!0?s.jsx(ys,{meetingUrl:Y,reportId:t.reportId,onClose:()=>{E(!1),e.onForecastToggle?.("off");const v=1;document.body.style.overflow="auto",o(x,x?["this_period_vs_last_period_percent"]:[],v)}}):null,$?null:s.jsx(vt,{firstMonthOfFY:t.firstMonthOfFY,timeframe:g,timeframeTicks:c,selection:{selectedTicks:_e(c,m),highlightedOfSelectedTicks:_e(c,m)},onClick:(v,C)=>{Ce(t.firstMonthOfFY,x,t.reportId,g,C,e.analytics),i(C)},onSelectionChanged:(v,C)=>{const G=xt(c,v.fromEnd),K=_t(c,C);Ce(t.firstMonthOfFY,x,t.reportId,g,K.thisPeriod,e.analytics),p(G,K)}})]})})},Ce=(e,t,a,n,i,r)=>{t===!0&&r?.trackCompareFilterTimeFrame(R(a),U(n),"range filter",oe(e,n,i)),r?.trackDateRangeFilterChange(R(a),"range filter",t,oe(e,n,i))};function be({account:e,sectionType:t,numOfBalances:a,title:n,isLastNode:i,config:r,parentNodeIDs:p}){return{children:[],id:V("ac_report",p,e.accountId),isLastNode:i,reportElementData:{element:{kind:"ac_report",title:n,sectionType:t,data:e,numOfBalances:a},config:r}}}function Js({acGroup:e,sectionType:t,numOfBalances:a,title:n,isLastNode:i,config:r,parentNodeIDs:p}){const o=V("ac_group_report",p,e.accountGroupId),l={children:[],id:o,isLastNode:i,reportElementData:{element:{kind:"ac_group_report",title:n,sectionType:t,data:e,numOfBalances:a},config:r}},c=ge(t,"no_filter",r.filterAccountsWithNilBalances,r.filterAccountGroupsWithNilBalances).compactedAccountsSelector(e);return l.children=c.map((m,g)=>be({account:m,sectionType:t,numOfBalances:a,title:m.accountDescription,config:r,isLastNode:g===c.length-1,parentNodeIDs:[...p,o]})),l}function je({section:e,sectionType:t,numOfBalances:a,title:n,isLastNode:i,config:r}){const p=V("section",[],n),o={children:[],id:p,isLastNode:i,reportElementData:{element:{kind:"section",title:n,sectionType:t,data:e,numOfBalances:a},config:r}},l=jt(e,r.displayOrder,a,!1),c=eo(l.balances),m=ge(t,"no_filter",r.filterAccountsWithNilBalances,r.filterAccountGroupsWithNilBalances),g=m.compactedAccountsSelectorVariant(e.accountsOrdered),h=m.compactedAccountGroupsSelector(e.accountGroupsOrdered);if(c===!0&&(h.length>0||e.accountsOrdered.length>0)){const f=h.map((w,S)=>Js({acGroup:w,sectionType:t,numOfBalances:a,title:w.accountGroupName,isLastNode:S===h.length-1,config:r,parentNodeIDs:[p]})),x=g.map((w,S)=>be({account:w,sectionType:t,numOfBalances:a,title:w.accountDescription,isLastNode:S===e.accountsOrdered.length-1,config:r,parentNodeIDs:[p]}));o.children.push(...f),o.children.push(...x)}return o}function eo(e){let t=!1;if(e!=null){for(const a of e)if(a!=null&&a.balance.amount!==0){t=!0;break}}return t}function M({balances:e,config:t,nodeId:a}){let n="timeframe_headers";return t.mode==="actual_vs_forecast"&&(n="timeframe_headers_with_forecast"),{children:[],id:a??V("timeframe_header",[]),isLastNode:!1,reportElementData:{element:{kind:n,title:"",data:e,numOfBalances:e.length},config:t}}}function to(e,t,a=!0){const n=_.getLocalizedStrings().reports,i=t.mode==="this_period_vs_period_before"?e.filter.balancesRange.numberOfPeriods+2:e.filter.balancesRange.numberOfPeriods+1,r=e.cashIn.balances?[...e.cashIn.balances,...e.cashIn.additionalBalances]:e.cashOut.balances?[...e.cashOut.balances,...e.cashOut.additionalBalances]:[],p=M({balances:r,config:t}),o=je({section:e.cashIn,sectionType:"cash_in",numOfBalances:i,title:n.sections.cashIn,isLastNode:!0,config:t}),l=je({section:e.cashOut,sectionType:"cash_out",numOfBalances:i,title:n.sections.cashOut,isLastNode:!0,config:t}),c=se({calculatedSection:e.netCashFlow,numOfBalances:i,title:n.sections.netCashFlow,isLastNode:!0,config:t});return{config:t,headerNodes:a?[p]:[],contentNodes:[p,o,l,c]}}function xe({title:e,balances:t,config:a,numOfBalances:n,nodeId:i}){return{children:[],id:i??V("total",[]),isLastNode:!1,reportElementData:{element:{kind:"total",title:e,data:t,numOfBalances:n},config:a}}}function so(e,t,a=!0){const n=_.getLocalizedStrings().reports,i=t.mode==="this_period_vs_period_before"?e.filter.balancesRange.numberOfPeriods+2:e.filter.balancesRange.numberOfPeriods+1,r=[...e.cashPosition.balances,...e.cashPosition.additionalBalances],p=e.cashPosition,o=M({balances:r,config:t}),l=xe({title:_.getLocalizedStrings().chartCard.total,balances:p,config:t,numOfBalances:i}),c=V("section",[],n.sections.netCashFlow),m=ge("cash_position","no_filter",t.filterAccountsWithNilBalances,t.filterAccountGroupsWithNilBalances).compactedAccountsSelectorVariant(e.cashPosition.accountsOrdered).map((g,h)=>be({account:g,sectionType:"cash_position",numOfBalances:i,title:g.accountDescription,isLastNode:h===e.cashPosition.accountsOrdered.length-1,config:t,parentNodeIDs:[c]}));return{config:t,headerNodes:a?[o]:[],contentNodes:[o,l,...m]}}function oo(e,t,a=!0,n=!1){const i=_.getLocalizedStrings().reports,r=_.getLocalizedStrings().common;let p=[];const o=[];let l=[];if(n===!0){const c=he({title:r.loading,balances:[],config:t});a&&(c.reportElementData.element.numOfBalances=7,l=[c]),o.push(c),[...Array(8)].forEach((m,g)=>{const h=g%4;let f=me[h];const x=fe({title:`${g}+${f}`,balances:p,config:t});x.reportElementData.element.numOfBalances=7,o.push(x)})}else{const c=t.mode==="this_period_vs_period_before"?e.filter.balancesRange.numberOfPeriods+2:e.filter.balancesRange.numberOfPeriods+1,m=e.sections.income.balances.length>0?[...e.sections.income.balances,...e.sections.income.additionalBalances]:e.sections.expenses.balances.length>0?[...e.sections.expenses.balances,...e.sections.expenses.additionalBalances]:e.sections.cogs.balances.length>0?[...e.sections.cogs.balances,...e.sections.cogs.additionalBalances]:[],g=M({balances:m,config:t});o.push(g),a&&(l=[g]),e.idsInOrder.forEach(h=>{if(D.isNetBurnOrIncomeClassesViewSectionID(h)===!0){const f=e.sections[h];f!=null&&o.push(Re({section:f,sectionType:h,numOfBalances:c,title:i.sections[h],isLastNode:!0,config:t}))}else if(D.isNetBurnOrIncomeClassesViewCalculatedSectionID(h)===!0){const f=e.calculatedSections[h];f!=null&&o.push(se({calculatedSection:f,numOfBalances:c,title:h==="netBurnOrIncome"?e.reportTitle:i.sections[h],isLastNode:!0,config:t}))}})}return{config:t,headerNodes:l,contentNodes:o}}function ao(e,t,a=!0){const n=_.getLocalizedStrings().reports,i=t.mode==="this_period_vs_period_before"?e.filter.balancesRange.numberOfPeriods+2:e.filter.balancesRange.numberOfPeriods+1,r=e.sections.income.balances.length>0?[...e.sections.income.balances,...e.sections.income.additionalBalances]:e.sections.expenses.balances.length>0?[...e.sections.expenses.balances,...e.sections.expenses.additionalBalances]:e.sections.cogs.balances.length>0?[...e.sections.cogs.balances,...e.sections.cogs.additionalBalances]:[],p=M({balances:r,config:t}),o=[];return o.push(p),e.idsInOrder.forEach(l=>{D.isNetBurnOrIncomeReportViewSectionID(l)===!0?e.sections[l].accountGroups.length>0?o.push(De({section:e.sections[l],sectionType:l,numOfBalances:i,title:n.sections[l],isLastNode:!0,config:t})):o.push(Te({sectionWithAcOnly:e.sections[l],sectionType:l,numOfBalances:i,title:n.sections[l],isLastNode:!0,config:t})):D.isNetBurnOrIncomeReportViewCalculatedSectionID(l)===!0&&o.push(se({calculatedSection:e.calculatedSections[l],numOfBalances:i,title:l==="netBurnOrIncome"?e.reportTitle:n.sections[l],isLastNode:!0,config:t}))}),{config:t,headerNodes:a?[p]:[],contentNodes:o}}function no(e,t,a=!0,n=!1){const i=_.getLocalizedStrings().reports,r=_.getLocalizedStrings().common;let p=[];const o=[];let l=[];if(n===!0){const c=he({title:r.loading,balances:[],config:t});c.reportElementData.element.numOfBalances=10,a&&(l=[c]),o.push(c),[...Array(8)].forEach((m,g)=>{const h=g%4;let f=me[h];const x=fe({title:`${g}+${f}`,balances:p,config:t});x.reportElementData.element.numOfBalances=10,o.push(x)})}else{const c=t.mode==="this_period_vs_period_before"?e.filter.balancesRange.numberOfPeriods+2:e.filter.balancesRange.numberOfPeriods+1,m=[...e.sections.expenses.balances,...e.sections.expenses.additionalBalances],g=M({balances:m,config:t}),h=e.sections.expenses,f=xe({title:_.getLocalizedStrings().chartCard.total,balances:h,config:t,numOfBalances:c});o.push(g),o.push(f),a&&(l=[g]);const x=V("section",[],i.sections.expenses);e.sections.expenses.classes.forEach((w,S)=>{o.push(kt({classNode:w,sectionType:"expenses",numOfBalances:c,title:w.class.className,isLastNode:w.isLeafClass,config:t,parentNodeIDs:[x],ancestorMetadata:{subAccountAncestorMetadata:[],classAncestorMetadata:[{depth:w.id.length-1,hasSibling:!1,hasChildren:w.children.length>0,isLastNode:S===e.sections.expenses.classes.length-1,name:w.class.className}]}}))})}return{config:t,headerNodes:l,contentNodes:o}}function io(e,t,a=!0){const n=_.getLocalizedStrings().reports,i=t.mode==="this_period_vs_period_before"?e.filter.balancesRange.numberOfPeriods+2:e.filter.balancesRange.numberOfPeriods+1,r=[...e.sections.expenses.balances,...e.sections.expenses.additionalBalances],p=M({balances:r,config:t}),o=e.sections.expenses,l=xe({title:_.getLocalizedStrings().chartCard.total,balances:o,config:t,numOfBalances:i}),c=V("section",[],n.sections.expenses),m=Ct("no_filter",t.filterAccountsWithNilBalances,t.filterAccountGroupsWithNilBalances),g=[];g.push(p),g.push(l);const h=m.compactedAccountGroupsSelector(e.sections.expenses.accountGroups);if(h.length!=0){const f=h.map((x,w)=>Ot({acGroup:x,sectionType:"expenses",numOfBalances:i,title:x.accountGroupName,isLastNode:w===h.length-1,config:t,parentNodeIDs:[c]}));g.push(...f)}else if(e.sections.expenses.accounts?.length!==0){const f=m.compactedAccountsSelectorVariant(e.sections.expenses.accounts),x=f.map((w,S)=>Bt({account:w,sectionType:"expenses",numOfBalances:i,title:w.account.accountName,isLastNode:S===f.length-1,config:t,parentNodeIDs:[c],ancestorMetadata:{subAccountAncestorMetadata:[{depth:0,hasSibling:f.length>1,hasChildren:w.children.length>0,isLastNode:S===f.length-1}]}}));g.push(...x)}return{config:t,headerNodes:a?[p]:[],contentNodes:g}}function ro(e,t,a=!0,n=!1){const i=_.getLocalizedStrings().reports,r=_.getLocalizedStrings().common;let p=[];const o=[];let l=[];if(n===!0){const c=he({title:r.loading,balances:[],config:t});c.reportElementData.element.numOfBalances=7,a&&(l=[c]),o.push(c),[...Array(8)].forEach((m,g)=>{const h=g%4;let f=me[h];const x=fe({title:`${g}+${f}`,balances:p,config:t});x.reportElementData.element.numOfBalances=7,o.push(x)})}else{const c=t.mode==="this_period_vs_period_before"?e.filter.balancesRange.numberOfPeriods+2:e.filter.balancesRange.numberOfPeriods+1,m=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.calculatedSections.grossMargin.balances.length>0?[...e.calculatedSections.grossMargin.balances,...e.calculatedSections.grossMargin.additionalBalances]:[],g=M({balances:m,config:t});o.push(g),a&&(l=[g]),e.idsInOrder.forEach(h=>{if(D.isRevenueClassesViewSectionID(h)===!0){const f=e.sections[h];f!=null&&o.push(Re({section:f,sectionType:h,numOfBalances:c,title:i.sections[h],isLastNode:!0,config:t}))}else if(D.isRevenueClassesViewCalculatedSectionID(h)===!0){const f=e.calculatedSections[h];f!=null&&o.push(se({calculatedSection:f,numOfBalances:c,title:i.sections.grossMargin,isLastNode:!0,config:t}))}})}return{config:t,headerNodes:l,contentNodes:o}}function co(e,t,a=!0){const n=_.getLocalizedStrings().reports,i=t.mode==="this_period_vs_period_before"?e.filter.balancesRange.numberOfPeriods+2:e.filter.balancesRange.numberOfPeriods+1,r=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.calculatedSections.grossMargin.balances.length>0?[...e.calculatedSections.grossMargin.balances,...e.calculatedSections.grossMargin.additionalBalances]:[],p=M({balances:r,config:t}),o=[];return o.push(p),e.idsInOrder.forEach(l=>{D.isRevenueSectionID(l)===!0?e.sections[l].accountGroups.length>0?o.push(De({section:e.sections[l],sectionType:l,numOfBalances:i,title:n.sections[l],isLastNode:!0,config:t})):o.push(Te({sectionWithAcOnly:e.sections[l],sectionType:l,numOfBalances:i,title:n.sections[l],isLastNode:!0,config:t})):D.isRevenueCalculatedSectionID(l)===!0&&o.push(se({calculatedSection:e.calculatedSections[l],numOfBalances:i,title:n.sections[l],isLastNode:!0,config:t}))}),{config:t,headerNodes:a?[p]:[],contentNodes:o}}function lo(e,t,a,n=!0){Object.assign(e.config,t);const i=po(a),r=M({balances:i,config:t});return{config:t,headerNodes:n?[r]:[],contentNodes:[r,...e.contentNodes.slice(1)]}}const po=e=>{switch(e.reportId){case"net_burn_or_income":{const t=e;return t.sections.income.balances.length>0?[...t.sections.income.balances,...t.sections.income.additionalBalances]:t.sections.expenses.balances.length>0?[...t.sections.expenses.balances,...t.sections.expenses.additionalBalances]:t.sections.cogs.balances.length>0?[...t.sections.cogs.balances,...t.sections.cogs.additionalBalances]:[]}case"net_burn_or_income_by_classes":{const t=e;return t.sections.income.balances.length>0?[...t.sections.income.balances,...t.sections.income.additionalBalances]:t.sections.expenses.balances.length>0?[...t.sections.expenses.balances,...t.sections.expenses.additionalBalances]:t.sections.cogs.balances.length>0?[...t.sections.cogs.balances,...t.sections.cogs.additionalBalances]:[]}case"revenue":{const t=e;return t.sections.income.balances.length>0?[...t.sections.income.balances,...t.sections.income.additionalBalances]:t.sections.cogs.balances.length>0?[...t.sections.cogs.balances,...t.sections.cogs.additionalBalances]:t.calculatedSections.grossMargin.balances.length>0?[...t.calculatedSections.grossMargin.balances,...t.calculatedSections.grossMargin.additionalBalances]:[]}case"revenue_by_classes":{const t=e;return t.sections.income.balances.length>0?[...t.sections.income.balances,...t.sections.income.additionalBalances]:t.sections.cogs.balances.length>0?[...t.sections.cogs.balances,...t.sections.cogs.additionalBalances]:t.calculatedSections.grossMargin.balances.length>0?[...t.calculatedSections.grossMargin.balances,...t.calculatedSections.grossMargin.additionalBalances]:[]}case"cash_position":{const t=e;return[...t.cashPosition.balances,...t.cashPosition.additionalBalances]}case"cash_in_cash_out":{const t=e;return t.cashIn.balances.length>0?[...t.cashIn.balances,...t.cashIn.additionalBalances]:[...t.cashOut.balances,...t.cashOut.additionalBalances]}case"operating_expenses":{const t=e;return[...t.sections.expenses.balances,...t.sections.expenses.additionalBalances]}case"operating_expenses_by_classes":{const t=e;return[...t.sections.expenses.balances,...t.sections.expenses.additionalBalances]}default:return[]}},ke={contentPaddingLeft:new L(j[0],j[0],j[0]),contentPaddingRight:new L(j[3],j[3],j[8])},uo=u.div`
|
|
313
313
|
width: 100%;
|
|
314
314
|
height: calc(100vh - 70px);
|
|
315
315
|
`,go=u.div`
|
|
@@ -367,4 +367,4 @@ import{X as B,u as q,M as _,w as Oe,l as D,j as s,aV as Ke,c as Qe,D as Xe,aX as
|
|
|
367
367
|
align-items: center;
|
|
368
368
|
height: 100vh;
|
|
369
369
|
margin-top: ${d.sp8};
|
|
370
|
-
`,na=e=>{const t=B(),a=q(),[n,i]=y.useState(!1),r=_.getLocalizedStrings(),{reportLabels:p,selectedRangeReport:o,selectedClassesViewRangeReport:l,uiState:c,downloadParams:m,analytics:g,onBackClick:h,updateDownloadStateHandler:f,onAdditionalBalanceSelectionChanged:x}=e,{insights:w}=o,{selectedCOABalancesRange:S,timeframe:b,selectedAdditionalBalances:$,downloadState:k}=c,W=o.availableNumberOfPeriods!=null&&o.availableNumberOfPeriods<2,P=c.mode==="compare_mode"&&!W,E=Oe(),Y=E.loggedInUserRole!=null&&!D.hasInvestorBankerLevelAccess(E.loggedInUserRole),F=e.selectedRangeReport.reportId==="cash_in_cash_out"||e.selectedRangeReport.reportId==="cash_position";y.useEffect(()=>{async function z(){await
|
|
370
|
+
`,na=e=>{const t=B(),a=q(),[n,i]=y.useState(!1),r=_.getLocalizedStrings(),{reportLabels:p,selectedRangeReport:o,selectedClassesViewRangeReport:l,uiState:c,downloadParams:m,analytics:g,onBackClick:h,updateDownloadStateHandler:f,onAdditionalBalanceSelectionChanged:x}=e,{insights:w}=o,{selectedCOABalancesRange:S,timeframe:b,selectedAdditionalBalances:$,downloadState:k}=c,W=o.availableNumberOfPeriods!=null&&o.availableNumberOfPeriods<2,P=c.mode==="compare_mode"&&!W,E=Oe(),Y=E.loggedInUserRole!=null&&!D.hasInvestorBankerLevelAccess(E.loggedInUserRole),F=e.selectedRangeReport.reportId==="cash_in_cash_out"||e.selectedRangeReport.reportId==="cash_position";y.useEffect(()=>{async function z(){await At({report:l!==void 0&&l.uiState.accountViewMode==="classes"?l:o,filter:o.filter,coaBalancesRange:S,isCompareModeOn:P,reportView:l!==void 0?l.uiState.accountViewMode:"account_group",classesToFilterOut:l!==void 0?l.uiState.classesToFilterOut:[],...m,reportType:Y||F?"more_detailed":"detailed",isZeniCOAUsed:e.isZeniCOAUsed??!0}),g?.trackDownload(R(o.reportId),U(b),"excel",P),f("Completed")}n&&k!=="In-Progress"&&(i(!1),f("In-Progress"),z())},[m,k,o.filter,n,P,S,o,l,b,g,f,Y,F,e.isZeniCOAUsed]);const I=o.availableNumberOfPeriods==null||o.availableNumberOfPeriods===0||o.allTimeframeTicks.length===0,H=o.fetchState==="In-Progress"||o.fetchState==="Not-Started",v=D.reduceAllFetchState([e?.reportsResyncFetchState??{fetchState:"Not-Started"},l??{fetchState:"Not-Started"}]).fetchState==="In-Progress"&&l?.uiState.accountViewMode==="classes";y.useEffect(()=>{const z=P||c.mode==="forecast_mode"?3:1;x(P,$,z)},[t]);const C=z=>{e.autoCompleteData?.autoCompleteText!=null&&e.analytics?.trackSearch(Xe.Event.search,R(o.reportId),z.type,z.name,e.autoCompleteData?.autoCompleteText),e.autoCompleteActions?.onAutoCompleteEntity?.(z)},{autoCompleteData:G,autoCompleteActions:K,scrollPosition:ne,...O}=e,N=s.jsx(Je,{downloadReportOptions:{type:"simple_menu",downloadMenu:{simpleMenuItems:[{type:"excel",isDisabled:I,isDownloading:k==="In-Progress"}],onDownloadClick:async z=>{if(z==="excel")if(k==="In-Progress"){console.log("Download is already in progress!");return}else i(!0)}}}});return s.jsxs(yo,{children:[s.jsx(Ke,{title:p.reportTitle,backgroundColor:a.colors.grey5,onBackClick:h,rightSideComponent:N,downloadPresent:!0,searchAutoComplete:{autoCompleteData:e.autoCompleteData,autoCompleteActions:{...e.autoCompleteActions,onAutoCompleteEntity:C}},source:"DashboardReportPage"}),H?s.jsx(Co,{children:s.jsx(Qe,{size:"Standard",start:!0})}):I?s.jsx(Dt,{style:{background:a.colors.grey5},emptyContentText:r.common.noReport.replace("_item-name_",`${r.reportTitleById.operating_expenses.toLowerCase()}`),EmptyContentImage:Nt}):s.jsxs(s.Fragment,{children:[s.jsxs(vo,{windowSize:t,children:[s.jsx(Bo,{...O}),s.jsx(jo,{highlightedRangeReport:o,uiState:c}),v?s.jsx(xo,{}):s.jsx(ko,{...O}),s.jsx($o,{children:s.jsx(bt,{insights:w})})]}),s.jsx(Oo,{scrollPosition:ne,isPageFetchInProgress:v,...O})]})]})},jo=ee.memo(Xt,J),ko=ee.memo(ts,J),Oo=ee.memo(mo,J),Bo=ee.memo(Xs,J);export{na as default};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a0 as $,
|
|
1
|
+
import{a0 as $,gX as u,X as y,j as l,o as i,n as d,M as c}from"./index-CIAgrDi2.js";import{n as t}from"./vendor-CnQcJ2Lu.js";import{g as k}from"./BoxItem-a04JWA45-DJp9lW-u.js";import{o as v}from"./commonDimensions-DRK1vfDX-CO7PCzy1.js";function J({data:e,boxType:w}){const{counterParty:r,typeName:s,amount:x,logo:p,summary:m,direction:b,status:g}=e,f=r.length>0?r:m,a=$("0,0.00",x),n=u(g),o=y(),h=l.jsxs(N,{children:[l.jsx(C,{src:p?.toString(),loading:"lazy"}),l.jsx(T,{children:l.jsxs(E,{windowSize:o,children:[l.jsx(D,{children:f}),n!=null?l.jsxs(M,{windowSize:o,children:[l.jsx(R,{windowSize:o}),l.jsx(P,{color:n?.color,children:n?.value})]}):null]})}),l.jsxs(j,{windowSize:o,children:[s!=null?l.jsx(z,{children:l.jsx(S,{className:"tag",children:s})}):null,l.jsx(X,{windowSize:o,children:b==="debit"?`-${a}`:a})]})]});return l.jsx(k,{content:h,boxType:w,isDisabled:!1,isNotClickable:!0})}const j=t.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: ${e=>e.windowSize==="small"?"column-reverse":"row"};
|
|
4
4
|
align-items: ${e=>e.windowSize==="small"?"flex-end":"center"};
|
|
@@ -49,16 +49,16 @@ import{a0 as $,gU as u,X as y,j as l,o as i,e as d,m as c}from"./index-C7yzTmij.
|
|
|
49
49
|
word-break: break-word;
|
|
50
50
|
text-overflow: ellipsis;
|
|
51
51
|
overflow: hidden;
|
|
52
|
-
`,
|
|
52
|
+
`,M=t.div`
|
|
53
53
|
display: flex;
|
|
54
54
|
flex-direction: ${e=>e.windowSize==="small"?"column":"row"};
|
|
55
55
|
align-items: center;
|
|
56
|
-
`,
|
|
56
|
+
`,P=t(c)`
|
|
57
57
|
color: ${e=>e.color};
|
|
58
58
|
-webkit-box-orient: vertical;
|
|
59
59
|
-webkit-line-clamp: 1;
|
|
60
60
|
display: -webkit-box;
|
|
61
|
-
`,
|
|
61
|
+
`,R=t.div`
|
|
62
62
|
display: ${e=>e.windowSize==="small"?"none":"block"};
|
|
63
63
|
width: ${i.sp1};
|
|
64
64
|
height: ${i.sp1};
|
|
@@ -66,11 +66,11 @@ import{a0 as $,gU as u,X as y,j as l,o as i,e as d,m as c}from"./index-C7yzTmij.
|
|
|
66
66
|
background-color: ${e=>e.theme.colors.grey1};
|
|
67
67
|
margin-left: ${i.sp2};
|
|
68
68
|
margin-right: ${i.sp2};
|
|
69
|
-
`,
|
|
69
|
+
`,X=t(d)`
|
|
70
70
|
display: -webkit-box;
|
|
71
71
|
-webkit-box-orient: vertical;
|
|
72
72
|
-webkit-line-clamp: 1;
|
|
73
73
|
margin-left: ${i.sp3};
|
|
74
74
|
text-align: right;
|
|
75
75
|
width: ${e=>v.amountWidth.valuePx(e.windowSize)};
|
|
76
|
-
`;export{
|
|
76
|
+
`;export{J as H};
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
import{u as S,X as z,h1 as C,j as e,aV as D,B as Y,aj as B,o as r,d as g,bW as F,l as L,C as R,$ as A,n as I,s as b,de as T,df as V,d9 as E,dg as N}from"./index-CIAgrDi2.js";import{b as f,n as a}from"./vendor-CnQcJ2Lu.js";import{$ as O}from"./BoxItem-a04JWA45-DJp9lW-u.js";import{o as P}from"./commonDimensions-DRK1vfDX-CO7PCzy1.js";import{H as X}from"./DepositAccTransactionItem-C6_OrohL-DcY3deV_.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";const n=Y.getLocalizedStrings(),H={listItemMargin:new R(b[3],b[8])};function q(t){const d=T(t,o=>o.transactionDate.format(n.dateFormat.visual.MMMDCommaYYYYformat)),m=V(d,o=>o.length>0);return E(m,o=>({date:o[0].transactionDate,transactions:N(o,h=>h.transactionDate,"desc")}))}const G=C(q),mt=({transactionListView:t,onBackClick:d})=>{const m=S(),o=z(),h=f.createRef(),p=f.useRef(null),l=G(t.transactions),j=t.depositAccountName,x=l.length===0,k=i=>x===!1?l[i].transactions.length*P.transactionItemHeightResponsive.value(o)+45:24,v=({index:i,style:c})=>{if(x===!1){const s=l[i];return e.jsx(w,{style:{...c},children:e.jsx($,{windowSize:o,children:e.jsxs(y,{children:[e.jsx(U,{children:L.dateNow().year()===s.date.year()?s.date.format(n.dateFormat.visual.MMMDFormat):s.date.format(n.dateFormat.visual.MMMDCommaYYYYformat)}),e.jsx(W,{children:s.transactions.map((M,u)=>e.jsx(X,{data:M,boxType:O(u,s.transactions.length)},u))})]})})})}else return e.jsx(w,{style:{...c},children:e.jsx(J,{children:e.jsx($,{windowSize:o,children:e.jsx(Q,{children:n.transactionList.noTransactionsFoundForPrefix})})})})};return e.jsxs(K,{children:[e.jsx(D,{title:`${j} ${n.spendManagement.zeniAccounts.transactionList.title}`,backgroundColor:m.colors.grey4,style:{zIndex:3},onBackClick:d,scrollableContent:p.current!=null?p:void 0,source:"DepositAccTransactionListPage"}),e.jsx(y,{children:e.jsx(B,{children:({height:i,width:c})=>e.jsx(Z,{ref:h,height:i,width:c,outerRef:p,itemKey:s=>s,itemCount:l.length,itemSize:k,initialScrollOffset:0,children:v})})})]})},w=a.div``,$=a.div`
|
|
2
|
+
margin: ${t=>`${r.sp0} ${H.listItemMargin.valuePx(t.windowSize)}`};
|
|
3
|
+
`,J=a.div`
|
|
4
|
+
display: flex;
|
|
5
|
+
height: 100%;
|
|
6
|
+
flex: 1 1 auto;
|
|
7
|
+
flex-direction: row;
|
|
8
|
+
justify-content: center;
|
|
9
|
+
align-items: flex-end;
|
|
10
|
+
`,K=a.div`
|
|
11
|
+
display: flex;
|
|
12
|
+
height: 100%;
|
|
13
|
+
flex-direction: column;
|
|
14
|
+
width: 100%;
|
|
15
|
+
padding-bottom: ${r.sp7};
|
|
16
|
+
`,Q=a(I)`
|
|
17
|
+
display: flex;
|
|
18
|
+
color: ${t=>t.theme.colors.grey2};
|
|
19
|
+
`,U=a(A)`
|
|
20
|
+
display: flex;
|
|
21
|
+
height: 21px;
|
|
22
|
+
margin-bottom: ${r.sp2};
|
|
23
|
+
margin-top: ${r.sp3};
|
|
24
|
+
color: ${t=>t.theme.colors.grey1};
|
|
25
|
+
`,y=a.div`
|
|
26
|
+
display: flex;
|
|
27
|
+
flex-direction: column;
|
|
28
|
+
width: 100%;
|
|
29
|
+
height: 100%;
|
|
30
|
+
`,W=a.div`
|
|
31
|
+
display: flex;
|
|
32
|
+
flex: 1 1 auto;
|
|
33
|
+
flex-direction: column;
|
|
34
|
+
box-shadow: ${t=>`${r.sp0} 2px ${r.sp1} ${t.theme.colors.dropShadowNormal}`};
|
|
35
|
+
border-radius: ${r.sp2};
|
|
36
|
+
background-color: ${t=>t.theme.colors.grey5};
|
|
37
|
+
`,Z=a(F)`
|
|
38
|
+
scrollbar-width: thin;
|
|
39
|
+
scrollbar-color: transparent transparent;
|
|
40
|
+
&::-webkit-scrollbar {
|
|
41
|
+
width: ${r.sp2};
|
|
42
|
+
height: ${r.sp0};
|
|
43
|
+
background-color: transparent;
|
|
44
|
+
}
|
|
45
|
+
&::-webkit-scrollbar-track {
|
|
46
|
+
box-shadow: inset 0 0 2px ${g.scrollbarBoxShadow};
|
|
47
|
+
-webkit-box-shadow: inset 0 0 2px ${g.scrollbarBoxShadow};
|
|
48
|
+
background-color: transparent;
|
|
49
|
+
}
|
|
50
|
+
&::-webkit-scrollbar-thumb {
|
|
51
|
+
background-color: transparent;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
&:hover {
|
|
55
|
+
scrollbar-color: ${t=>t.theme.colors.grey1} transparent;
|
|
56
|
+
&::-webkit-scrollbar {
|
|
57
|
+
width: ${r.sp2};
|
|
58
|
+
height: ${r.sp0};
|
|
59
|
+
background-color: transparent;
|
|
60
|
+
}
|
|
61
|
+
&::-webkit-scrollbar-thumb {
|
|
62
|
+
background-color: ${t=>t.theme.colors.grey1};
|
|
63
|
+
border-radius: 2px;
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
`;export{mt as default};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{ac as w,X as p,j as i,
|
|
1
|
+
import{ac as w,X as p,j as i,B as f,C as o,o as n,ak as x,Q as s,g as d,s as a}from"./index-CIAgrDi2.js";import{n as r,b as t}from"./vendor-CnQcJ2Lu.js";const g=e=>t.createElement("svg",{width:72,height:72,viewBox:"0 0 72 72",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},t.createElement("path",{opacity:.2,d:"M50.5391 6.01221C51.2636 6.01238 51.9584 6.29976 52.4707 6.81201L62.6016 16.9429C63.1141 17.4553 63.4022 18.1507 63.4023 18.8755V66.1353C63.4023 66.86 63.1149 67.5554 62.6025 68.0679C62.09 68.5804 61.3947 68.8686 60.6699 68.8687H14.2109C13.4862 68.8687 12.7908 68.5804 12.2783 68.0679C11.7658 67.5554 11.4775 66.8601 11.4775 66.1353V8.74463C11.4775 8.01982 11.7658 7.32453 12.2783 6.81201C12.7908 6.29962 13.4862 6.01221 14.2109 6.01221H50.5391Z",fill:"#97C3B9"}),t.createElement("path",{d:"M60.5227 61.2642V61.2318M60.5227 61.2318V15.9951C60.5226 15.2704 60.2346 14.5753 59.722 14.0629L49.5911 3.93209C49.0787 3.41953 48.3837 3.1315 47.659 3.13135H11.3306C10.6057 3.13135 9.91062 3.41928 9.3981 3.9318C8.88559 4.44431 8.59766 5.13944 8.59766 5.86425V63.2551C8.59766 63.9799 8.88559 64.6751 9.3981 65.1876C9.91062 65.7001 10.6057 65.988 11.3306 65.988H57.7898C58.5147 65.988 59.2098 65.7001 59.7223 65.1876C60.2348 64.6751 60.5227 64.0737 60.5227 63.2551C60.5227 62.4365 60.5227 61.2318 60.5227 61.2318Z",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),t.createElement("path",{d:"M46.8682 3.13135V12.9335C46.8682 13.2545 46.9371 13.5724 47.0709 13.869C47.2048 14.1656 47.401 14.4351 47.6483 14.6621C47.8956 14.8891 48.1893 15.0692 48.5124 15.1921C48.8356 15.3149 49.1819 15.3781 49.5317 15.3781H60.2144",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),t.createElement("g",{clipPath:"url(#clip0_1350_23850)"},t.createElement("rect",{x:16.75,y:15,width:22.501,height:1.5,fill:"#97C3B9"}),t.createElement("circle",{cx:16.75,cy:15.75,r:.75,transform:"rotate(90 16.75 15.75)",fill:"#97C3B9"}),t.createElement("circle",{cx:.75,cy:.75,r:.75,transform:"matrix(0 1 1 0 38.5 15)",fill:"#97C3B9"})),t.createElement("g",{clipPath:"url(#clip1_1350_23850)"},t.createElement("rect",{x:16.75,y:28.5,width:30.4971,height:1.5,fill:"#97C3B9"}),t.createElement("circle",{cx:16.75,cy:29.25,r:.75,transform:"rotate(90 16.75 29.25)",fill:"#97C3B9"}),t.createElement("circle",{cx:.75,cy:.75,r:.75,transform:"matrix(0 1 1 0 46.5 28.5)",fill:"#97C3B9"})),t.createElement("g",{clipPath:"url(#clip2_1350_23850)"},t.createElement("rect",{x:16.75,y:42,width:35.4953,height:1.5,fill:"#97C3B9"}),t.createElement("circle",{cx:16.75,cy:42.75,r:.75,transform:"rotate(90 16.75 42.75)",fill:"#97C3B9"}),t.createElement("circle",{cx:.75,cy:.75,r:.75,transform:"matrix(0 1 1 0 51.5 42)",fill:"#97C3B9"})),t.createElement("g",{clipPath:"url(#clip3_1350_23850)"},t.createElement("rect",{x:16.75,y:55.5,width:35.4953,height:1.5,fill:"#97C3B9"}),t.createElement("circle",{cx:16.75,cy:56.25,r:.75,transform:"rotate(90 16.75 56.25)",fill:"#97C3B9"}),t.createElement("circle",{cx:.75,cy:.75,r:.75,transform:"matrix(0 1 1 0 51.5 55.5)",fill:"#97C3B9"})),t.createElement("defs",null,t.createElement("clipPath",{id:"clip0_1350_23850"},t.createElement("rect",{width:24,height:1.5,fill:"white",transform:"translate(16 15)"})),t.createElement("clipPath",{id:"clip1_1350_23850"},t.createElement("rect",{width:32,height:1.5,fill:"white",transform:"translate(16 28.5)"})),t.createElement("clipPath",{id:"clip2_1350_23850"},t.createElement("rect",{width:37.12,height:1.5,fill:"white",transform:"translate(16 42)"})),t.createElement("clipPath",{id:"clip3_1350_23850"},t.createElement("rect",{width:37.12,height:1.5,fill:"white",transform:"translate(16 55.5)"})))),{commonSetUp:C}=f.getLocalizedStrings(),{businessVerification:m}=C,c={iconSize:new o(a[6],a[10]),gap:new o(a[2],a[3])},h={title:new s("smallSemiBold","standardSemiBold"),description:new s("smallRegular","standardRegular")},P=()=>{const[e]=w("Secure"),l=p();return i.jsxs(E,{windowSize:l,children:[e!=null?i.jsx(u,{windowSize:l,animationData:e,play:!0,loop:!0,rendererSettings:{preserveAspectRatio:"xMidYMid slice"}}):i.jsx(S,{windowSize:l}),i.jsxs(y,{children:[i.jsx(z,{windowSize:l,children:m.securityMessageTitle}),i.jsx(B,{windowSize:l,children:m.securityMessageDescription})]})]})},E=r.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
align-items: ${e=>e.windowSize==="small"?"flex-start":"center"};
|
|
4
4
|
gap: ${e=>c.gap.valuePx(e.windowSize)};
|
|
@@ -8,7 +8,7 @@ import{ac as w,X as p,j as i,M as f,C as o,o as n,ak as x,Q as s,h as d,q as a}f
|
|
|
8
8
|
width: ${e=>c.iconSize.valuePx(e.windowSize)};
|
|
9
9
|
height: ${e=>c.iconSize.valuePx(e.windowSize)};
|
|
10
10
|
display: block;
|
|
11
|
-
`,S=r(
|
|
11
|
+
`,S=r(g)`
|
|
12
12
|
width: ${e=>c.iconSize.valuePx(e.windowSize)};
|
|
13
13
|
height: ${e=>c.iconSize.valuePx(e.windowSize)};
|
|
14
14
|
color: ${e=>e.theme.colors.success};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import{X as V,a as q,B,c6 as G,J as H,l as T,j as n,bR as J,bT as X,bU as _,F as K,a4 as Q,C as u,eS as Y,o as Z,ao as ee,s as a}from"./index-CIAgrDi2.js";import{b as N,n as h}from"./vendor-CnQcJ2Lu.js";import{e as ne}from"./BankAccountSection-DCHOrv1O-CHEMQ8hk.js";import{M as te}from"./MagicLinkTitleSection-CmTUPCA1-crT0_cjI.js";import{W as ae,A as oe}from"./BankAccountWarningSection-Bof6a4Ai-D6cSyNpo.js";import{T as ie}from"./MailingDetailsSection-AiehjqI1-CrcmbjEa.js";const i={paddingTopBottom:new u(a[3],a[3]),paddingRight:new u(a[3],a[8]),paddingLeft:new u(a[3],a[6]),buttonWidth:new u(140,140),marginLeft:new u(a[4],a[6])},$="domesticWireDetailsPage",f="bankAccountSection",w="mailingAddressSection",j=e=>`${e}_form`,he=e=>{const{bankAccountCreationState:o,fetchBankNameByRoutingStatus:b,addressType:x,bankAccountToCreate:s,addressToEdit:r,mailingAddress:y,isDisabled:A,companyName:v,isMagicLink:g,currencySymbol:D,amount:R,onSaveHandler:P,onWireDetailsUpdated:z,onFetchBankName:E,onAddressClick:L,onBackClick:C}=e,l=V(),c=q({mode:"onBlur",reValidateMode:"onChange",defaultValues:N.useMemo(()=>se(s,r),[s,r])}),[W,p]=N.useState(!1),t=B.getLocalizedStrings().spendManagement.billPay.vendorCreation,M=B.getLocalizedStrings().common.footer,F=t.wireDetails.domestic,I={onOkClick:()=>{p(!1),c.reset(),C?.()},onCancelClick:()=>{p(!1)}},U=async(k,m)=>{const d=m[f].bankRoutingNumber;z(m),k===`${f}.bankRoutingNumber`&&d?.length===9&&Y.test(d)===!0&&E?.(d)};N.useEffect(()=>{const k=c.watch((m,{name:d})=>{d!=null&&m!=null&&G(()=>U(d,m))});return()=>{k.unsubscribe()}});const O=c.handleSubmit(k=>{b.fetchState!=="In-Progress"&&P("wire")}),S=!H(y!=null?T.getFormattedAddress(y):y,r!=null?T.getFormattedAddress(r):r)||re(s)||c.formState.isDirty;return n.jsxs(me,{children:[n.jsxs(le,{size:l,children:[W===!0?n.jsx(J,{titleComponent:n.jsx(_,{children:t.discardTitle}),descriptionComponent:n.jsx(X,{children:t.discardDescription}),primaryButtonText:t.discard,secondaryButtonText:t.cancel,action:I}):null,n.jsx(ae,{header:g?n.jsx(te,{companyName:v??"",currencySymbol:D??"",amount:R??0}):F.addWireDetails,isMagicLink:g,isDirty:S,onBackClick:C,setShowConfirmationPopup:p}),o?.fetchState==="Error"&&o.error?.code===409?n.jsx(oe,{warningText:t.bankAccountCommon.accountExistWarning}):null,n.jsx(de,{size:l,children:t.bankAccountCommon.accountDetailsTitle}),n.jsx(K,{...c,children:n.jsxs("form",{id:j($),onSubmit:O,children:[n.jsx(ce,{size:l,children:n.jsx(ne,{bankAccountToCreate:s,fetchBankNameByRoutingStatus:b,sectionId:f,isDisabled:A})}),n.jsx(ie,{sectionId:w,isDisabled:A,addressType:x,addressToEdit:r,onAddressClick:L})]})})]}),n.jsx(Q,{formId:j($),primaryBtn:{label:g?t.bankAccountCommon.submitDetails:t.bankAccountCommon.saveAccount,isLoading:o.fetchState==="In-Progress",style:{width:i.buttonWidth.value(l)},isDisabled:A!=null},showCancel:!g,cancelBtn:{label:M.cancel,style:{width:i.buttonWidth.value(l)},shouldResetOnCancel:!1,onClick:()=>{S?p(!0):(c.reset(),C?.())}}})]})},se=(e,o)=>({[f]:{bankRoutingNumber:e?.bankRoutingNumber,bankName:e?.bankName,bankAccountNumber:e?.bankAccountNumber,bankAccountType:e?.bankAccountType,confirmedBankAccountNumber:e?.confirmedBankAccountNumber,bankAccountName:e?.bankAccountName},[w]:{mailingAddress:o}}),re=e=>{if(e==null)return!1;const{bankAccountName:o,bankAccountNumber:b,bankName:x,bankRoutingNumber:s}=e;return!!o||!!b||!!x||!!s},ce=h.div`
|
|
2
|
+
padding-left: ${e=>i.paddingLeft.valuePx(e.size)};
|
|
3
|
+
padding-right: ${e=>i.paddingRight.valuePx(e.size)};
|
|
4
|
+
padding-top: ${e=>i.paddingTopBottom.valuePx(e.size)};
|
|
5
|
+
padding-bottom: ${e=>i.paddingTopBottom.valuePx(e.size)};
|
|
6
|
+
background: ${e=>e.theme.colors.grey4};
|
|
7
|
+
`,de=h(ee)`
|
|
8
|
+
color: ${e=>e.theme.colors.champion};
|
|
9
|
+
margin-left: ${e=>i.marginLeft.valuePx(e.size)};
|
|
10
|
+
margin-top: ${Z.sp3};
|
|
11
|
+
`,le=h.div`
|
|
12
|
+
display: flex;
|
|
13
|
+
flex-direction: column;
|
|
14
|
+
flex-grow: 1;
|
|
15
|
+
`,me=h.div`
|
|
16
|
+
background-color: ${e=>e.theme.colors.grey4};
|
|
17
|
+
display: flex;
|
|
18
|
+
flex-direction: column;
|
|
19
|
+
width: 100%;
|
|
20
|
+
height: 100%;
|
|
21
|
+
`;export{he as y};
|