@zeniai/web-cockpit-ui 1.13.87-qa → 1.13.88-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-CW8vDdF5-CB90wsmr.js → ACHDetailsPage-Dht0mfFW-Dn9VZjx5.js} +3 -3
- package/dist/assets/{AIPerformancePage-tSqRY12b-tNOiZGci.js → AIPerformancePage-D8LI2uJ_-CFMKtsQV.js} +35 -35
- package/dist/assets/{AccountInfoPage-C9rcnhgb-Bt9MjsHp.js → AccountInfoPage-Cw_Mdy7Z-CgHNbOHf.js} +5 -5
- package/dist/assets/{AccountInfoPageContent-DftJxUep-ButkkA5-.js → AccountInfoPageContent-DadwVfBB-CcKZ7ci4.js} +20 -20
- package/dist/assets/{AccountReconDetailsDrawerPage-CBpvkm_m-tlx5xCRW.js → AccountReconDetailsDrawerPage-mQx5-mCY-CXTHdi5q.js} +15 -15
- package/dist/assets/{AccountRow-cQU8OX0K-BBK1UMsW.js → AccountRow-B4i2KTVu-DZIGknQG.js} +19 -19
- package/dist/assets/{AccountsPromoCardStack-DuBj_EHe-CNfBFeFD.js → AccountsPromoCardStack-B2NngRd9-cDiIvZy1.js} +22 -22
- package/dist/assets/{AddAddressForCardDrawer-D4edy26A-e-F2C-zj.js → AddAddressForCardDrawer-D-IznBH5-BJus8-sl.js} +2 -2
- package/dist/assets/{AddToWalletPage-Lkfz2CzH-DcYM0qVc.js → AddToWalletPage-DflLtoqk-C5v1fW7G.js} +32 -32
- package/dist/assets/{AgingReportsPage-DtW2tU4n-DkXoH2pY.js → AgingReportsPage-z5SauZFW-CWSELr2T.js} +7 -7
- package/dist/assets/{AllUserItems-DcuO9Oho-DDFEui6F.js → AllUserItems-Cs-QjNZz-DLp9A32f.js} +5 -5
- package/dist/assets/{ApAgingDetailPage-D2UVTYqP-BcSUwDzr.js → ApAgingDetailPage-lLcH4EB_-rlPPDzk2.js} +2 -2
- package/dist/assets/{AppBasePage-iuomCofd-Bxi0l-Aj.js → AppBasePage-jmR82AtE-DayOXpZP.js} +4 -4
- package/dist/assets/{AppDrawerContent-BfpdXsfY-BuDkKpJQ.js → AppDrawerContent-BjVgRQD8-BmKoXH6f.js} +8 -8
- package/dist/assets/{ApprovalRulesSettingsPage-BKAWfUl9-CFjzXJN0.js → ApprovalRulesSettingsPage-zl3t7M0D-Cdqy44le.js} +7 -7
- package/dist/assets/{ArAgingChart--GzyqIlN-DqhBhlO7.js → ArAgingChart-B7_os9Eg-CgtB3vV8.js} +8 -8
- package/dist/assets/{ArAgingDetailPage-A0zmG_tR-DDPVHIgN.js → ArAgingDetailPage-DPGrFIuw-DbqMnESI.js} +4 -4
- package/dist/assets/{AttachmentView-D203zhS3-xLK_ead9.js → AttachmentView-B0X31J2n-CsjUR1d_.js} +5 -5
- package/dist/assets/{BankAccountSection-iz2k4H5K-CmQw-qqR.js → BankAccountSection-BGfiGdYG-BvbymoQK.js} +2 -2
- package/dist/assets/{BankAccountWarningSection-CSJXyjMA-BdlwzT2G.js → BankAccountWarningSection-Cd5lC0dV-ChbciCQi.js} +5 -5
- package/dist/assets/{BankConnectionsSettingsPage-Co5pwxWT-C57CQz8T.js → BankConnectionsSettingsPage-DHJqJw74-BePSQANr.js} +19 -19
- package/dist/assets/{BillDetailPage-BJbdAC5y-BRmRjS1t.js → BillDetailPage-CVPyGkX2-BrTeB9W1.js} +9 -9
- package/dist/assets/{BillPayApprovalRuleDetailPage-D4-goF6x-AEPzGGmW.js → BillPayApprovalRuleDetailPage-CPvu5b92-Ms299zWc.js} +1 -1
- package/dist/assets/{BillPayApprovalRulesPage-CpAFdET_-CgrWnjdA.js → BillPayApprovalRulesPage-04rw5oF_-ByiJUcvs.js} +6 -6
- package/dist/assets/{BillPayPromoPage-DZn9Wdsi-DdmjMVny.js → BillPayPromoPage-xnBNKyGo-Qs57CtUW.js} +2 -2
- package/dist/assets/{BillPaySetUpPage-BGxI3SGy-DG6mHxGC.js → BillPaySetUpPage-2FceZZW4-B3NVG0AT.js} +2 -2
- package/dist/assets/{BillingSettingsPage-B3h6dTYD-CjqQwGO7.js → BillingSettingsPage-D2iVTCtE-DzLgV1gZ.js} +5 -5
- package/dist/assets/BillsBulkReviewDrawerPage-sdzCq1Cx-CMrpjPLV.js +1 -0
- package/dist/assets/{BoxItem-C-RN4c2j-bhmEIuEY.js → BoxItem-dOIVDQzt-BM2Or2XI.js} +1 -1
- package/dist/assets/{BusinessVerificationPage-BEK8kZil-5C7hCzBt.js → BusinessVerificationPage-DaVB5XYz-abkyr0KT.js} +7 -7
- package/dist/assets/{CardNumberSubText-Bvs0Rr9x-BVW8Jq-r.js → CardNumberSubText-CX7raaMz-YubYXrEf.js} +1 -1
- package/dist/assets/{CashbackDetailPage-9aAW-23b-fVZRzgKq.js → CashbackDetailPage-xKd1BcXA-BnqvBKy2.js} +23 -23
- package/dist/assets/{ChargeCardDetailPage-DHjtLrCu-BQfT_X3n.js → ChargeCardDetailPage-D-htyuB--DNk7-kF0.js} +52 -52
- package/dist/assets/ChargeCardListPage-BFEDq_hH-CIWVY9p8.js +355 -0
- package/dist/assets/{ChargeCardListTable-jGT-e74M-Bfo2xdKo.js → ChargeCardListTable-D0rr5rCb-ubys_P-K.js} +24 -24
- package/dist/assets/ChargeCardPromoPage-C4RyYN8x-DrItIyBg.js +175 -0
- package/dist/assets/{ChargeCardSetupPage-CN5Nbcsp-BIe6etx3.js → ChargeCardSetupPage-DdabiH79-BJYnLJP3.js} +1 -1
- package/dist/assets/{ChargeCardStatementsPage-Bu_rIDAD-p0UdCCCX.js → ChargeCardStatementsPage-fcVVhHeN-3BJYN5k8.js} +4 -4
- package/dist/assets/{ChargeCardUtils-C-37hd5J-BewU7KRU.js → ChargeCardUtils-CHUMBmgR-CJymagC4.js} +1 -1
- package/dist/assets/{ChaseOverlay-BG833ttH-PaGVRTWF.js → ChaseOverlay-kXvIXrLn-BoWFlEip.js} +6 -6
- package/dist/assets/{CheckDepositDrawerPage-B4F_yGVS-DVC1uVGK.js → CheckDepositDrawerPage-DzZGbAGe-CUI6hMoI.js} +17 -17
- package/dist/assets/{CollapsableReportTable-CtS-s84B-xyO0T-AR.js → CollapsableReportTable-B7JqlhCA-D-71vAGn.js} +29 -29
- package/dist/assets/{CompanyOfficerDetailsSection-Bor8xmLS-CbhKmd4Y.js → CompanyOfficerDetailsSection-Cd0QdDAc-CRTLz9vU.js} +28 -28
- package/dist/assets/{CompanyPassportCard-n-awcw82-Bb4eo7Hj.js → CompanyPassportCard-Bhm76W7a-DhQY8aBm.js} +4 -4
- package/dist/assets/{CompanyPassportPage-WfbfWOs1-DXnLKQUM.js → CompanyPassportPage-B6Urivf7-Cf5kWZCy.js} +137 -137
- package/dist/assets/CompleteProfile-Ch4TNwnb-BDWK7-aS.js +36 -0
- package/dist/assets/{ConfettiBurst-UJtKVS38-DoQ2-0_a.js → ConfettiBurst-DxWLsUlB-rN2UgITP.js} +1 -1
- package/dist/assets/{CreateOrEditVendorPage-BMLSs7Yo-Cs-PsPQz.js → CreateOrEditVendorPage-MjFD4wWW-Duct_eTQ.js} +4 -4
- package/dist/assets/{CreditCardPaymentDrawerPage-8zmbMj3u-CpO5DLfk.js → CreditCardPaymentDrawerPage-CcZnGiIZ-Ci6NOj44.js} +17 -17
- package/dist/assets/{CreditCardPaymentPlgSection-DD7kSp5v-D8blJ_Gx.js → CreditCardPaymentPlgSection-DEV6AUvV-Dv95csrn.js} +10 -10
- package/dist/assets/{CurrencySelectField-DGID-Pjb-CR93FCkZ.js → CurrencySelectField-iFR770y_-C1fOBvED.js} +5 -5
- package/dist/assets/{CustomerOnboardingActivationPage-pdEVqtkO-BR-Us5Rj.js → CustomerOnboardingActivationPage-O_lVI1Iw-CSIlT4cV.js} +3 -3
- package/dist/assets/CustomerOnboardingContainerPage-DY7-75zX-BNg2Axnl.js +1 -0
- package/dist/assets/{CustomerOnboardingDetailPageSkeleton-1d9j5dWO-Db0A3eib.js → CustomerOnboardingDetailPageSkeleton-WBhn2MmI-IC_mQp6e.js} +10 -10
- package/dist/assets/{CustomerOnboardingNoStepsPage-BqrKQCFg-D9dxAH00.js → CustomerOnboardingNoStepsPage-CmnwYeBe-VDPM90YE.js} +9 -9
- package/dist/assets/{CustomerOnboardingPage-DVVWivk2-BKVrB-wE.js → CustomerOnboardingPage-DUMb3HBt-C_i7oxut.js} +5 -5
- package/dist/assets/{CustomerOnboardingProductSuitePage-D_WVGW91-BCFkx71h.js → CustomerOnboardingProductSuitePage-DZ8c60qu-Ca-OS69A.js} +2 -2
- package/dist/assets/Dashboard-BqpjCXF4-2DYnY2Iv.js +778 -0
- package/dist/assets/DashboardReportPage-pKEtfyyz-CVEg_i3S.js +349 -0
- package/dist/assets/{DepositAccTransactionItem--OdW7LRx-DQO2v30s.js → DepositAccTransactionItem-CzhTsz8T-D_UbOtXk.js} +2 -2
- package/dist/assets/{DepositAccTransactionListPage-BGapI5f0-D59wO-Pg.js → DepositAccTransactionListPage-BdBZvUQu-BB7xhCYl.js} +8 -8
- package/dist/assets/{DocumentSecurityBanner-Ctdvj5Tn-Bg7h7TYo.js → DocumentSecurityBanner-CjDxLXR5-BndWfQhM.js} +1 -1
- package/dist/assets/{DomesticWireDetailsPage-BGP2DLHb-XHJJeAMf.js → DomesticWireDetailsPage-Ckv29rd5-DrJPPbKc.js} +1 -1
- package/dist/assets/{DownloadOverlay-VDEpvzHH-5AMSntFu.js → DownloadOverlay-9HCQzpew-CsaBVCuK.js} +17 -17
- package/dist/assets/{DrawerPage-BauCSJ4q-SOaiaCNZ.js → DrawerPage-BxA7btCQ-vpjTPccl.js} +6 -6
- package/dist/assets/{EditPeoplePage-mz7FTion-Bp4oBpAG.js → EditPeoplePage-B9oW6E0C-C3pRQE6D.js} +13 -13
- package/dist/assets/{EditReimbursementDetailPage-Bi_rdyjb-BS7xPVWZ.js → EditReimbursementDetailPage-2_Ugsfav-CInqqrZe.js} +72 -72
- package/dist/assets/{EntityDetailPage-Bc2AVCEp-EAKy23II.js → EntityDetailPage-Dv97bCUN-BCQJ8lei.js} +2 -2
- package/dist/assets/{EntitySummarySection-CDO6K9RG-m9Xb7D9G.js → EntitySummarySection-CAz28n_B-DA_p__eJ.js} +7 -7
- package/dist/assets/{ExpenseAutomationOverviewPage-C7SAclix-D48fksxu.js → ExpenseAutomationOverviewPage-CpVokJPL-BSrPWwJ8.js} +23 -23
- package/dist/assets/{ExpenseAutomationPage-A03nzEV--JwDlhRhG.js → ExpenseAutomationPage-CFRiNGRE-CFvonBSo.js} +50 -50
- package/dist/assets/{ExpressPayPage-B5QCvPtb-Ceuw1nSf.js → ExpressPayPage-BsCQmXdG-CzkMNsZH.js} +11 -11
- package/dist/assets/{FeaturePreviewPage-Czr4aIad-ClnwSMd5.js → FeaturePreviewPage-CnYlH8Tm-cl_d37Wd.js} +2 -2
- package/dist/assets/{FollowStepsSection-Cf1g5oOj-pTuhRnC4.js → FollowStepsSection-CvsH5sJq-DWW0wJJE.js} +10 -10
- package/dist/assets/{GlobalReviewListPage-BI8uyXfO-BqBR8N9Y.js → GlobalReviewListPage-CKbg3WRJ-BhA6WSL7.js} +9 -9
- package/dist/assets/HelpButton-DmSTrp5G-BZ5gO3eI.js +28 -0
- package/dist/assets/{InformationCardStack-WnJWUp5O-BdrN9-Nm.js → InformationCardStack-X52PXCzi-BTPqjoZv.js} +3 -3
- package/dist/assets/{InsightsCardStack-CRA0RPsW-DEulUvm7.js → InsightsCardStack-CXxA6hpf-BZ7-Ipfo.js} +8 -8
- package/dist/assets/{InsightsSection-DvcmBPbo-I8txt4Ed.js → InsightsSection-obWu95-o-miX-wlBZ.js} +2 -2
- package/dist/assets/{IntegrationsSettingsPage-D41_8UnK-BzX1klF8.js → IntegrationsSettingsPage-BFZjrnDu-BWjoBVhl.js} +7 -7
- package/dist/assets/{InternationalWireSwiftDetailsPage-BFN-eaZB-DiWzN9fj.js → InternationalWireSwiftDetailsPage-CywJ88_i-BroHKack.js} +13 -13
- package/dist/assets/{InternationalWireVerificationPage-xmoJO63s-fcjYXfBh.js → InternationalWireVerificationPage-CjunyEiQ-CkCrwyQO.js} +16 -16
- package/dist/assets/{InviteFormPage-Zy3qQng6-Dzi4wjiJ.js → InviteFormPage-BaaFGzDE-BIlf9-kB.js} +26 -26
- package/dist/assets/{InvitePageListView-gATEAhxa-1750k_N1.js → InvitePageListView-BJJQpITw-CDEymEsw.js} +36 -36
- package/dist/assets/InvitePeoplePage-7yKV1JuU-BmXtVrGW.js +12 -0
- package/dist/assets/{InvoiceUploadSection-CTbnx9F4-BKwFvytL.js → InvoiceUploadSection-CjV8q6sM-BkASWvfN.js} +5 -5
- package/dist/assets/{IssueChargeCardPage-BwBDVxeq-DMBVrvy7.js → IssueChargeCardPage-BTloC5fY-_HD69MiA.js} +20 -20
- package/dist/assets/{LabeledAddressValue-C5YXOhcz-B9O8J_oa.js → LabeledAddressValue-C8xq-j7G-D16vnyhu.js} +1 -1
- package/dist/assets/{LabeledAddressValueField-CMIVYcKX-DwmLf5XR.js → LabeledAddressValueField-CqhBSQ8f-lPB35Jmc.js} +2 -2
- package/dist/assets/{LabeledControlledCheckBoxField-Dr8ND8SA-qU3T6bE6.js → LabeledControlledCheckBoxField-D5A-8bnH-DqiGgCzm.js} +1 -1
- package/dist/assets/{LabeledCreatableSingleSelectField-CrDFWvwI-ByyQPs9e.js → LabeledCreatableSingleSelectField-CB34OT80-C0m35imT.js} +3 -3
- package/dist/assets/LabeledDocumentField-MyG-6WMu-Cbf-CDaI.js +41 -0
- package/dist/assets/{LabeledDropDownFormattedTextField-cv7zClcb-Rd0UWPPQ.js → LabeledDropDownFormattedTextField-DyvjlBIK-CeaVwHLj.js} +2 -2
- package/dist/assets/{LabeledText-DaM1ChQF-BJDKUk91.js → LabeledText-CEbLfx4b-BTTGqwXz.js} +2 -2
- package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-ClM9Uj1y-Ca9Srd9k.js → LabeledUserSingleSelectWithSubtitlesField-CDXChSPU-Dz8I-s1u.js} +12 -12
- package/dist/assets/{LabeledZeniRolesDropDownField-DfAO3Vyq-DMlhbb58.js → LabeledZeniRolesDropDownField-CpZOSybd-7yPpOapA.js} +24 -24
- package/dist/assets/{LinkJETransactionPage-CSlZZ9r4-u030v8sX.js → LinkJETransactionPage-CF2S7mlj-BoLj0J2f.js} +10 -10
- package/dist/assets/{LowBalancePopup-ZfmTgr7J-CyqdgmTs.js → LowBalancePopup-CI3FeJJc-CdKJER0J.js} +5 -5
- package/dist/assets/{MagicLinkACHDetailsPage-Ad9q16ze-B-zDRQ1s.js → MagicLinkACHDetailsPage-Hs-8X1gB-CIg2sh6N.js} +1 -1
- package/dist/assets/{MagicLinkDomesticWireDetailsPage-TudYpGU_-rl_ai-7x.js → MagicLinkDomesticWireDetailsPage-JY153fBS-Cm2_mDog.js} +1 -1
- package/dist/assets/{MagicLinkInternationalWireDetailsPage-DfZQur8x-BkWB4ski.js → MagicLinkInternationalWireDetailsPage-C7H0tqh2-n8HQkRdB.js} +1 -1
- package/dist/assets/{MagicLinkSuccessPage-G9P6M-7E-Dn9-_Ceq.js → MagicLinkSuccessPage-DrfXx_R1-BNU78zpj.js} +5 -5
- package/dist/assets/{MagicLinkTitleSection-BnKDwhBK-dFBURNKh.js → MagicLinkTitleSection-GAlgtNgO-BKAs3T24.js} +3 -3
- package/dist/assets/{MailingDetailsSection-BV_-2RQM-BISYNWKn.js → MailingDetailsSection-DwEajxFH-BrjelhuF.js} +1 -1
- package/dist/assets/{MeetingCalenderPopup-C6y2cRLo-BXlKsIPR.js → MeetingCalenderPopup-CF-RTU9K-BubT6ngE.js} +3 -3
- package/dist/assets/{Menu-Dhi3mAAc-oy5nVsxE.js → Menu-DgxJQlbW-DIVRGIXR.js} +4 -4
- package/dist/assets/{MyBankConnectionsSettingsPage-D1DMNxbh-DyCsxMiu.js → MyBankConnectionsSettingsPage-Bkn9hqAF-DqE41rF5.js} +14 -14
- package/dist/assets/{MyPendingActivationChargeCardListPage-CtxNt4Km-BAgms1T4.js → MyPendingActivationChargeCardListPage-Bg1r7PJb-DnJ-MJDd.js} +1 -1
- package/dist/assets/{MyProfileSettingsPage-ehPTh7cb-3Kvtm4mm.js → MyProfileSettingsPage-DFqIWGcr-jQcxs-Wf.js} +9 -9
- package/dist/assets/{NavBarWithPicker-BF7k45-H-BD-4z31h.js → NavBarWithPicker-BJyEgvZP-C-f0-1c6.js} +4 -4
- package/dist/assets/{NavigationArrow-DKuw9kCL-DcXiDSNd.js → NavigationArrow-CUVFG2Pf-P3tdOWHt.js} +6 -9
- package/dist/assets/{NavigationDots-DfJQIsra-B4-lC62v.js → NavigationDots-BDLMSply-CVhKiAdV.js} +1 -1
- package/dist/assets/{NewGlobalMerchantPage-CWyjN00H-aj__e3zn.js → NewGlobalMerchantPage-Ck7DGlQi-CVmDfXRL.js} +9 -9
- package/dist/assets/NoDataChart-DMqFH96W--xyVCmNv.js +26 -0
- package/dist/assets/{NoDataTable-Txtz3a1x-B4acGol_.js → NoDataTable-B8PHBrBF-BIIbtUFT.js} +1 -1
- package/dist/assets/{NotFoundPage-DewJikvf-Dwa043Sn.js → NotFoundPage-4JmEE0vS-BkO12wXJ.js} +4 -4
- package/dist/assets/{NotificationSettingsPage-CAFlFJ9J-Do-ef_2Q.js → NotificationSettingsPage-D6YQunRL-Dh3lfacW.js} +16 -16
- package/dist/assets/{NotificationsListConfig-B6PteXf7-BIkdPhzT.js → NotificationsListConfig-DZBF9h2L-DipP-kuo.js} +1 -1
- package/dist/assets/{NotificationsPage-CqmgbRYI-swH0XU-z.js → NotificationsPage-PjOFwF6H-CB9uEJYk.js} +14 -14
- package/dist/assets/{OpExByVendorPage-CYAYFvCM-Bf-NUPQ3.js → OpExByVendorPage-BNNQdeqy-v4NH_AXr.js} +6 -6
- package/dist/assets/{OverlayContainerPage-C0rUb6-5-BQMRdhd_.js → OverlayContainerPage-C0rUb6-5-Dg1IHqst.js} +1 -1
- package/dist/assets/{PandLWithForecastPage-v5t7YeHA-CmFZsOpi.js → PandLWithForecastPage-Cg3I1JPR-BHcMSGKl.js} +5 -5
- package/dist/assets/{PaymentAccountSetupBillingAddressSection-CnCCn9XQ-B8AttqeR.js → PaymentAccountSetupBillingAddressSection-BaNMRbqw-CIIlY3kM.js} +8 -8
- package/dist/assets/{PeoplePage-D89yZGJn-SKC3xcjg.js → PeoplePage-BRnDI6mc-CLBN4-_q.js} +29 -29
- package/dist/assets/{PortfolioAllocationFormPage-Cit7ssiw-DRnypnlm.js → PortfolioAllocationFormPage-BG5sY-R6-BBFBmc8X.js} +1 -1
- package/dist/assets/{PortfolioDetails-B1HXVeH2-JS5mwQ6d.js → PortfolioDetails-g9uKkfc0-2ntvLazE.js} +12 -12
- package/dist/assets/{ProductsCarousel-BeOYePu1-BLn0kA4L.js → ProductsCarousel-DZmAO-Ad-BvStEG-O.js} +6 -6
- package/dist/assets/{PromoBaseCards-D1DDp9C1-CtSgxD8-.js → PromoBaseCards-B9AnaalQ-hSs7-TQL.js} +23 -23
- package/dist/assets/{QBOConnectionDialog-nb_5mvqp-Dx2zeGQJ.js → QBOConnectionDialog-Bnhkqpjg-DkGgqNtn.js} +5 -5
- package/dist/assets/{QBOSetupSection-b-OrlvdU-J1tSF69q.js → QBOSetupSection-CHXmbhAv-C0u3acrS.js} +8 -8
- package/dist/assets/{ReimbursementApprovalRuleDetailPage-vg7A7Fqa-Bs8ULMyB.js → ReimbursementApprovalRuleDetailPage-B2zXkJz--CABHH5fp.js} +1 -1
- package/dist/assets/{ReimbursementApprovalRulesPage-FYfZ8-hX-C7_-SNFA.js → ReimbursementApprovalRulesPage-HuTMMWVv-E3dBhOaI.js} +15 -15
- package/dist/assets/{ReimbursementDetailPage-DHsqq__V-CW4x7gsh.js → ReimbursementDetailPage-BLvwZrVh-DyidHFPC.js} +14 -14
- package/dist/assets/{ReimbursementPromoPage-D-wmyfH--BXOukruh.js → ReimbursementPromoPage-D_mQJpBI-Dp4ArZsT.js} +1 -1
- package/dist/assets/{ReimbursementSetUpPage-Cneg3RyB-BLaPlx-E.js → ReimbursementSetUpPage-FkxlkcbN-DldfTkkM.js} +6 -6
- package/dist/assets/{ReimbursementsBulkReviewDrawerPage-OTHapAJy--FdRStrz.js → ReimbursementsBulkReviewDrawerPage-Oqy1_VEa-BpS2SfWm.js} +1 -1
- package/dist/assets/{ReloadCard-D72dkm5s-pruy4X0y.js → ReloadCard-DXOUba_M-CHzipN0D.js} +3 -3
- package/dist/assets/ReportTableViewSelector-CHN0DsMB-DHP2dHrr.js +150 -0
- package/dist/assets/ReportsPage-FPxKx4-a-CZcO3AqP.js +120 -0
- package/dist/assets/{RevenueChart-G7w1_QXE-4uA5c1Xh.js → RevenueChart-L0b_usU7-Cf8KBYNj.js} +13 -13
- package/dist/assets/{ReviewDetailsPage-i6ZXMuAf-Bi36BJrO.js → ReviewDetailsPage-BNpQBWoS-DCIttZXD.js} +14 -14
- package/dist/assets/{ReviewOverlay-D0tbkcpk-D67sCtmU.js → ReviewOverlay-DDNAl3b3-DNGVMro9.js} +15 -15
- package/dist/assets/{RoleWithToolTip-w2s9tX9j-BuSHjydh.js → RoleWithToolTip-B-ODIDAN-8uYeRtpZ.js} +2 -2
- package/dist/assets/{ScheduleDetailsFixedAssetsPage-5uPqQbhv-DKHty5Ss.js → ScheduleDetailsFixedAssetsPage-DqZ58bn4-KjYX5XLP.js} +8 -8
- package/dist/assets/{ScheduleDetailsPage-n2Mhm3VT-Cx_O7EWQ.js → ScheduleDetailsPage-BASxSK8V-BPASbuj9.js} +3 -3
- package/dist/assets/{ScheduleSequenceTable-BbLZtq_G-CDkEPkjI.js → ScheduleSequenceTable-6xfi8GG9-DmNanpes.js} +50 -50
- package/dist/assets/{ScreenRoutes-B09FfdGa.js → ScreenRoutes-BiNVsQKa.js} +35 -35
- package/dist/assets/{SetUpAccountSection-CuOJZCNp-pnGbYCVV.js → SetUpAccountSection-pi1sH7b5-Cq5TVamg.js} +11 -11
- package/dist/assets/{SetUpDefaultSection-D0d0yzu8-Bvz7vZrr.js → SetUpDefaultSection-BpL2WnED-COlpwQhL.js} +16 -16
- package/dist/assets/{SignIn-CtZ8rTB_-Dmn8P3hR.js → SignIn-Bijj9JoA-Cew9W98o.js} +12 -12
- package/dist/assets/{SignInScreen-CTyOdckZ.js → SignInScreen-BJO_D-wG.js} +1 -1
- package/dist/assets/{SpendManagementListViewPage-ymHs-MwL-Cvxx50BK.js → SpendManagementListViewPage-D5QPI34r-C-QrSt_z.js} +12 -12
- package/dist/assets/{SpendManagementPerTabPage-DwRwO5jR-KDLKiIU6.js → SpendManagementPerTabPage-BtYyuusT-Do7z39Lr.js} +44 -44
- package/dist/assets/{SpendManagementSection-B1F6rl-n-r-gQss8s.js → SpendManagementSection-D_HyfwAe-SNH64OwE.js} +10 -10
- package/dist/assets/{SpendMgmtSetupAccountSection-o-48qyw7-Blkz3omT.js → SpendMgmtSetupAccountSection-B4wik5Ee-Dl8PxI-i.js} +14 -14
- package/dist/assets/{StatementItem-CK2sUgkE-CV2yMx9D.js → StatementItem-BNQblVLa-DfVA7ygW.js} +5 -5
- package/dist/assets/StatementsPage-_-cg9582-BHbhelbD.js +58 -0
- package/dist/assets/{StatusSwitcher-BppDI7-7-D5wYUblP.js → StatusSwitcher-D-0rNVEI-0aefdUDA.js} +2 -2
- package/dist/assets/{SubTabSwitcher-DTe2L8JC-DqmpaA37.js → SubTabSwitcher-D_djwADF-D-PRIZuk.js} +1 -1
- package/dist/assets/{SummaryCard-B-_3DnqQ-bNOEfr4c.js → SummaryCard-0WkhoBZC-D0OeJhk2.js} +1 -1
- package/dist/assets/{TaskManagementPage-NFVqhs6K-DHzf2Ob9.js → TaskManagementPage-Dwna66e0-B61LD4aR.js} +29 -29
- package/dist/assets/{TimeRangeSwitcher-D5pSi1fB-CyiIexM1.js → TimeRangeSwitcher-C_XduWs4-CbvmuLlw.js} +2 -2
- package/dist/assets/{TimeframeSwitcher-CQ37qP58-BR2uPjpg.js → TimeframeSwitcher-rcx5z-sh-BEuYgoAf.js} +1 -1
- package/dist/assets/{TimeframeSwitcherWithToggle-DDX_BvPF-D7Uat0Z2.js → TimeframeSwitcherWithToggle-Bvkq6Qa--BjOAxPwu.js} +1 -1
- package/dist/assets/{TopExCard-CU-kbyDP-DpFe18S5.js → TopExCard-J5ItU1Wy-Cu15poFM.js} +4 -4
- package/dist/assets/{TopExDetailPage-COxNovqU-BNoHxwIV.js → TopExDetailPage-Lqg8jkw2-DtS18JXg.js} +6 -6
- package/dist/assets/{TransactionDetailPage-k06RliU--DRDMDhs2.js → TransactionDetailPage-jXKnnUTd-B5jk24Y7.js} +33 -33
- package/dist/assets/{TransactionList-CuRdM1xm-BxrzhpwN.js → TransactionList-BVJHbP4d-Ch-jGNeO.js} +1 -1
- package/dist/assets/{TransactionListBig-ByLaQQUK-Cbobr9Mu.js → TransactionListBig-CUi7KfHo-C4bVkVsF.js} +1 -1
- package/dist/assets/{TransactionListPage-ioT-Jexm-DvAtPQvQ.js → TransactionListPage-BFYQMXP7-C0S4ibvh.js} +3 -3
- package/dist/assets/{TransactionVendorDetailPage-Dyg9upjC-llCQwJ83.js → TransactionVendorDetailPage-Cc45iBaC-CYlKau2p.js} +4 -4
- package/dist/assets/{TransferDrawerPage-B6zOVR7E-T5_goh6O.js → TransferDrawerPage-D0eKdLeA-iajVz-hc.js} +6 -6
- package/dist/assets/{TreasuryOverviewPage-Cae5Kj1r-BixeOVer.js → TreasuryOverviewPage-C-tdus29-TA5FDvFH.js} +21 -21
- package/dist/assets/{TreasuryPromoPage-iNiwYAiH-D38CXmN0.js → TreasuryPromoPage-Cohb5lP7-CR5t6hp9.js} +13 -13
- package/dist/assets/{TreasurySetupPage-Bdl5g5Ct-6BMxYLJY.js → TreasurySetupPage-DS2_m-SO-C9dOpRDI.js} +6 -6
- package/dist/assets/{TreasuryStatementsPage-CLy-YBGI-C2MGmDDx.js → TreasuryStatementsPage-DooqXGAQ-Nys4g6CT.js} +5 -5
- package/dist/assets/{TreasuryTaxLetterPage-lRsyHBLO-DTC-Ozh-.js → TreasuryTaxLetterPage-hpQxSwqV-C6md3T0o.js} +5 -5
- package/dist/assets/{TreasuryTransferOrReviewPage-Cbfh-a6j-DA35yu7V.js → TreasuryTransferOrReviewPage-LCmwI3GX-DIM186Ba.js} +18 -18
- package/dist/assets/{TrendChart-BXOatw0x-DWANUBOO.js → TrendChart-N85Ktah2-DbfJUW0C.js} +3 -3
- package/dist/assets/{TrendWithTransactions-BxoyLfjd-BzgPdMBE.js → TrendWithTransactions-Cm8gWBLF-D6KvkDCe.js} +3 -3
- package/dist/assets/{UncategorizedAccountsMappingPage-BA4o7PWu-CIUAowc3.js → UncategorizedAccountsMappingPage-DF2hKM1m-81hpHrc8.js} +14 -14
- package/dist/assets/{UnitIntegrationPage-Clt-99RU--2bMpJpJ.js → UnitIntegrationPage-DXYXOU32-D4QmLDZr.js} +4 -4
- package/dist/assets/{UploadAdditionalDocumentOverlay-LxTjdCJQ-BVVTySSY.js → UploadAdditionalDocumentOverlay-ed-RjMyM-CfzPGhhV.js} +1 -1
- package/dist/assets/{Vendor2FAPopup-DjHQdB-O-DwQ3MUMw.js → Vendor2FAPopup-CNiCYT5L-CWO_4B0w.js} +1 -1
- package/dist/assets/{VendorACHDetailsPage-TaEzA3ib-Qw97wjnm.js → VendorACHDetailsPage-DfERI3o4-BsWmPjPQ.js} +1 -1
- package/dist/assets/{VendorDetailPage-BeADTlAW-t4AIOnaP.js → VendorDetailPage-BYEJTlBT-F41D5bVR.js} +11 -11
- package/dist/assets/{VendorDomesticWireDetailsPage-EpIw_vNR-Bn05lHNP.js → VendorDomesticWireDetailsPage-Cvje85xW-CoKfiQe4.js} +1 -1
- package/dist/assets/{VendorFiling1099EditablePage-B-jTzcx7-3eLtd7Wp.js → VendorFiling1099EditablePage-Brjs_rAW-xrscdaKd.js} +11 -11
- package/dist/assets/{VendorFirstReviewPage-BrlyeQoC-C39w7xpJ.js → VendorFirstReviewPage-CjmWNXBj-gmr0s-A9.js} +45 -45
- package/dist/assets/{VendorInternationalWireDetailsPage-B22crnTD-B_UIm63i.js → VendorInternationalWireDetailsPage-CRPZSizn-Cs0CkU1Q.js} +6 -6
- package/dist/assets/{VendorInternationalWireSwiftDetailsPage-BpXZD_Eh-CBhBTsHL.js → VendorInternationalWireSwiftDetailsPage-DgOKhTmI-CrPwfH_9.js} +1 -1
- package/dist/assets/{VendorsAccountsSection-CLrfBouK-CJ-SFhFR.js → VendorsAccountsSection-CdrVkoqQ-DQSVBIpk.js} +2 -2
- package/dist/assets/{WarningsDrawerPage-CBZRy4Sm-CNpM2hV4.js → WarningsDrawerPage-vVdVeMGb-CxkitKe7.js} +5 -5
- package/dist/assets/{ZeniAccountDetailPage-Bfvuuiyl-D5iu_To5.js → ZeniAccountDetailPage-DzA2-ZfY-wtm1nTKn.js} +11 -11
- package/dist/assets/{ZeniAccountListViewPage-CTqmq_Vp-DDWNWU5S.js → ZeniAccountListViewPage-BjOzn-pL-6JPmGfI4.js} +18 -18
- package/dist/assets/{ZeniAccountNavBarPieces-iNAQFffX-CAuA9AB8.js → ZeniAccountNavBarPieces-C4QCZKVg-D6pvbVi1.js} +1 -1
- package/dist/assets/{ZeniAccountPromoPage-XHKL_dgv-FIauIEMl.js → ZeniAccountPromoPage-CojH6h6Y-CD2AJLZX.js} +6 -6
- package/dist/assets/{ZeniAccountSetupPage-BHMr828J-s14Ot8pw.js → ZeniAccountSetupPage-BQ4BSW6F-BBPr3Uxy.js} +1 -1
- package/dist/assets/{ZeniCopyright-B_2DB9mm-Iu5ZYmr5.js → ZeniCopyright-DZ-h_Rou-a8ozaQ8I.js} +1 -1
- package/dist/assets/{ZeniTransferAmountSlider-BnjyU6o3-BRZo4rWq.js → ZeniTransferAmountSlider-CDH-_8b0-DSbwC4eG.js} +1 -1
- package/dist/assets/{analyticsHelper-mkCbekyx.js → analyticsHelper-Bfbjyikr.js} +1 -1
- package/dist/assets/{analyticsHelper-Bh8Vo_J_-Dz70yD0Z.js → analyticsHelper-DqZXz5oK-BxmRVxaA.js} +1 -1
- package/dist/assets/{chartTypes-DpnOYtNo-B5aKSihc.js → chartTypes-BrP58mNO-B-70_tkk.js} +1 -1
- package/dist/assets/{commonDimensions-D2zuat_O-_HAURWTX.js → commonDimensions-C9IpJAVN-CUmNJDhl.js} +1 -1
- package/dist/assets/{detailCommon-CloEmsTm-DPRCEjHN.js → detailCommon-nFSW0gvc-DlaVwlOn.js} +6 -6
- package/dist/assets/{downloadPdf-OWaFOL1J-1Uf6CtV1.js → downloadPdf-CYD5QftD-D8rZSmdk.js} +1 -1
- package/dist/assets/{index-BPBiFjSz.js → index-CvH632ro.js} +2991 -3029
- package/dist/assets/{mapLoadingInProgressToTreeNode-Df6n7jwq-BbzFMVUs.js → mapLoadingInProgressToTreeNode-Dj9DvcOS-DbJ7Bl88.js} +1 -1
- package/dist/assets/{mapSectionWithAcOnlyToTreeNode-BvlNBFiJ-hONNtf60.js → mapSectionWithAcOnlyToTreeNode-Bw9kw0FP-Cp0PGUTm.js} +1 -1
- package/dist/assets/{mapSpacerToTreeNode-BM8XMc8I-lw0HLFsb.js → mapSpacerToTreeNode-CJfnsOmt-Cn-_J65X.js} +1 -1
- package/dist/assets/{mapTimeframeBalancesToTreeNode-B3bP14C6-CrVRO0eE.js → mapTimeframeBalancesToTreeNode-BJdFcHRm-B1px_eKw.js} +1 -1
- package/dist/assets/{play-icon-NE4JTPpx-g-DRHCM4.js → play-icon-C1_v_oqQ-CDjV5GaD.js} +3 -3
- package/dist/assets/{toCOABalancesWithID-DN21aiLH-BF_wyRtn.js → toCOABalancesWithID-CYXJAMXX-B3cjnX0k.js} +1 -1
- package/dist/assets/{toChartData-CG9GudeA-BhlsMGvX.js → toChartData-oAAd1YDY-DlgK3yY0.js} +1 -1
- package/dist/assets/{treasuryColorHelper-CNX5IuXX-D3P3dfsj.js → treasuryColorHelper-BClHzQle-D6h04w-g.js} +1 -1
- package/dist/assets/{uploadAttachment-D42oX05_-B8NoiuTW.js → uploadAttachment-Bi2HYlA8-BLU3BxOX.js} +23 -23
- package/dist/assets/{uploadReceipts-Buvz7DfG-BvrCCUv7.js → uploadReceipts-Buvz7DfG-CBvWSxWy.js} +1 -1
- package/dist/index.html +1 -1
- package/package.json +4 -4
- package/dist/assets/BillsBulkReviewDrawerPage-Ck830aIk-Muwqz4V9.js +0 -1
- package/dist/assets/ChargeCardListPage-DzmHmoAp-DkDCof5G.js +0 -355
- package/dist/assets/ChargeCardPromoPage-C2wn8FfE-Bwf33b5s.js +0 -219
- package/dist/assets/CompleteProfile-D80JYwPP-BeltN21o.js +0 -36
- package/dist/assets/CustomerOnboardingContainerPage-ChQOOhF_-CPShfQl0.js +0 -1
- package/dist/assets/Dashboard-B-fLAQ8T-Dd2qG3Mu.js +0 -1253
- package/dist/assets/DashboardReportPage--SAxmUu_-BTOL1yPy.js +0 -349
- package/dist/assets/HelpButton-CWPUP9Y_-CSln-b4P.js +0 -28
- package/dist/assets/InvitePeoplePage-DkRbCpN7-CQ2Yf4e7.js +0 -12
- package/dist/assets/LabeledDocumentField-BG6Pu34Y-DioMBjOT.js +0 -41
- package/dist/assets/NoDataChart-BHIoW_SW-CVC9oSAH.js +0 -26
- package/dist/assets/ReportTableViewSelector-DfZ5geuW-WxWsI3EO.js +0 -133
- package/dist/assets/ReportsPage-7E3Q5HHF-CAVn2aMT.js +0 -120
- package/dist/assets/StatementsPage-D25LsJRp-js6eUI8q.js +0 -58
|
@@ -0,0 +1,349 @@
|
|
|
1
|
+
import{X as O,u as J,M as f,y as Ce,l as D,j as s,aW as Ge,e as Ue,D as Ze,aY as qe,o as d,C as R,H as K,aZ as Je,w as oe,p as N,ao as Ke,ab as Xe,a_ as Qe,a6 as je,K as $e,g as T,Z as ke,aa as et,av as tt,r as st,a$ as ot,b0 as at,b1 as nt,b2 as ne,b3 as it,b4 as rt,m as ct,b5 as lt}from"./index-CvH632ro.js";import{b as _,f as X,n as u,k as Oe}from"./vendor-CnQcJ2Lu.js";import{m as U,l as te}from"./analyticsHelper-DqZXz5oK-BxmRVxaA.js";import{c as dt,h as pt}from"./ReportTableViewSelector-CHN0DsMB-DHP2dHrr.js";import{F as ut}from"./InsightsSection-obWu95-o-miX-wlBZ.js";import{N as he,k as mt,q as gt,H as Q,G as pe}from"./detailCommon-nFSW0gvc-DlaVwlOn.js";import{N as ht,G as ft,H as fe,Y as be,P as xe}from"./RevenueChart-L0b_usU7-Cf8KBYNj.js";import{C as bt}from"./NoDataChart-DMqFH96W--xyVCmNv.js";import{n as I}from"./getReferrerType-DjPOy76W-Cm31g4vJ.js";import{p as xt}from"./TimeRangeSwitcher-C_XduWs4-CbvmuLlw.js";import{b as Be}from"./TimeframeSwitcher-rcx5z-sh-BEuYgoAf.js";import{a as _t,r as V,b as wt,i as ue,D as St}from"./CollapsableReportTable-B7JqlhCA-D-71vAGn.js";import{S as yt,M as vt,g as Ct,L as ee,D as Pe,T as Le,I as Ne}from"./mapSectionWithAcOnlyToTreeNode-Bw9kw0FP-Cp0PGUTm.js";import{d as jt}from"./NoDataTable-B8PHBrBF-BIIbtUFT.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./NavigationDots-BDLMSply-CVhKiAdV.js";import"./chartTypes-BrP58mNO-B-70_tkk.js";import"./toCOABalancesWithID-CYXJAMXX-B3cjnX0k.js";import"./toChartData-oAAd1YDY-DlgK3yY0.js";import"./AccountRow-B4i2KTVu-DZIGknQG.js";import"./graphic-no-data-l-DU4J8fDt-BalbEtqQ.js";const $t=e=>_.createElement("svg",{viewBox:"0 0 120 120",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},_.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"}),_.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"}),_.createElement("path",{d:"M33.6636 70.0449H37.2636",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),_.createElement("path",{d:"M33.6635 81.2539H37.2635",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),_.createElement("path",{d:"M33.6635 92.4626H37.2635",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),_.createElement("path",{d:"M33.6635 103.671H37.2635",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),_.createElement("path",{d:"M47.0987 70.0449L80.6987 70.0449",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),_.createElement("path",{d:"M47.0987 81.2539L80.6987 81.2539",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),_.createElement("path",{d:"M47.0987 92.4626L80.6987 92.4626",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),_.createElement("path",{d:"M47.6084 103.671L81.2084 103.671",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),_.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"}),_.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"}),_.createElement("path",{d:"M43.4564 21.9438V17.5398",stroke:"#95C1B7",strokeWidth:1.00757,strokeMiterlimit:10,strokeLinecap:"round"}),_.createElement("path",{d:"M43.4564 54.3497V50.1257",stroke:"#95C1B7",strokeWidth:1.00757,strokeMiterlimit:10,strokeLinecap:"round"}),_.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"})),kt=u.div`
|
|
2
|
+
justify-content: center;
|
|
3
|
+
align-items: center;
|
|
4
|
+
display: flex;
|
|
5
|
+
flex-direction: column;
|
|
6
|
+
height: ${e=>`calc(100vh - ${Je.valuePx(e.windowSize)})`};
|
|
7
|
+
gap: ${d.sp6};
|
|
8
|
+
color: ${e=>e.theme.colors.grey2};
|
|
9
|
+
`,Ot=u.div`
|
|
10
|
+
width: ${d.sp12};
|
|
11
|
+
height: ${d.sp12};
|
|
12
|
+
flex-shrink: 0;
|
|
13
|
+
`,Bt=u(oe)`
|
|
14
|
+
color: ${e=>e.theme.colors.hero};
|
|
15
|
+
display: flex;
|
|
16
|
+
align-items: center;
|
|
17
|
+
justify-content: center;
|
|
18
|
+
flex-direction: column;
|
|
19
|
+
margin-top: ${d.sp3};
|
|
20
|
+
`,Pt=({style:e,emptyContentText:t,EmptyContentImage:o})=>{const n=O();return s.jsxs(kt,{windowSize:n,style:{...e},children:[s.jsx(Ot,{children:s.jsx(o,{})}),s.jsx(Bt,{children:t})]})};function Lt(e){const{reportId:t}=e.report,o=e.filter.balancesRange.orderBy;let n,a,r=0;switch(t){case"cash_in_cash_out":{const p=e.report,{cashIn:i,cashOut:c}=p,l=i.balances.length>0?i:c;l.balances.length>0&&(o==="ascending_date"&&(r=l.balances.length-1),n=l.balances[r]);break}case"cash_position":{const p=e.report,{cashPosition:i}=p;i.balances.length>0&&(o==="ascending_date"&&(r=i.balances.length-1),n=i.balances[r]);break}case"net_burn_or_income":{const p=e.report,{expenses:i,income:c}=p.sections,l=i?.balances.length>0?i:c;l?.balances!=null&&l.balances.length>0&&(o==="ascending_date"&&(r=l.balances.length-1),n=l.balances[r]);break}case"net_burn_or_income_by_classes":{const p=e.report,{expenses:i,income:c,cogs:l}=p.sections,g=c.balances.length>0?c:l,m=i.balances.length>0?i:g;m.balances.length>0&&(o==="ascending_date"&&(r=m.balances.length-1),n=m.balances[r]);break}case"operating_expenses":{const p=e.report,{expenses:i}=p.sections;i.balances.length>0&&(o==="ascending_date"&&(r=i.balances.length-1),n=i.balances[r]);break}case"operating_expenses_by_classes":{const p=e.report,{expenses:i}=p.sections;i.balances.length>0&&(o==="ascending_date"&&(r=i.balances.length-1),n=i.balances[r]);break}case"revenue":{const p=e.report,{income:i,cogs:c}=p.sections,l=i.balances.length>0?i:c;l?.balances!=null&&l.balances.length>0&&(o==="ascending_date"&&(r=l.balances.length-1),n=l.balances[r]);break}case"revenue_by_classes":{const p=e.report,{income:i,cogs:c}=p.sections,l=i.balances.length>0?i:c;l.balances.length>0&&(o==="ascending_date"&&(r=l.balances.length-1),n=l.balances[r]);break}}return n!=null&&(a={startDate:n.startDate,endDate:n.endDate}),a}function Nt(e){const{isCompareModeOn:t,filter:o,coaBalancesRange:n,report:a,currentTenantCompanyName:r,reportView:p,classesToFilterOut:i}=e,{reportId:c}=a;let l=o.balancesRange.thisPeriod;l==null&&(l=Lt({report:a,filter:o}));const g=[];if(t?(g.push("this_period_vs_last_period_percent"),g.push("this_period_vs_last_period")):!t&&c!=="cash_position"&&g.push("free_range_total"),a.reportId!=="cash_position"&&g.push("year_to_date_total"),l!=null)return{localeId:f.getAppLocaleID(),showNegativeAmountInParenthesis:!0,filterAccountsWithNilBalances:"filter_actual_nil_balances",filterAccountGroupsWithNilBalances:"filter_actual_forecast_empty_account_group_balances",includeCoverPage:!1,companyName:r,statementFileType:"excel",statements:[c],firstMonthOfFY:e.report.firstMonthOfFY,bookCloseDate:e.report.bookCloseDate,timeframe:o.timeframe,additionalBalances:g,format:e.reportType,balancesFilter:{thisPeriod:l,numberOfPeriods:t?o.balancesRange.numberOfPeriods:n.numberOfPeriods,orderBy:n.orderBy},accountViewMode:p,classesToFilterOut:i,isZeniCOAUsed:e.isZeniCOAUsed}}function Rt(e){const t=Nt(e);if(t!=null)return dt(e.statementEndPoint,e.authParams,t)}const It=u.div`
|
|
21
|
+
padding: ${d.sp4} ${d.sp0} ${d.sp5} ${d.sp0};
|
|
22
|
+
`;function Tt({highlightedRangeReport:e}){const{availableNumberOfPeriods:t,netCashFlow:o}=e,n=o.balances;if(t==null||t===0||n.length===0)return null;const a=n.reduce((c,l)=>c+l.balance.amount,0),r=n[n.length-1],p={...r,balance:{...r.balance,amount:a}},i=f.getLocalizedStrings().chartCard.cashInCashOut.net_cash_flow;return s.jsx(It,{children:s.jsx(Q,{balance:p,dateText:i,showInfotip:!1})})}const Dt=u.div`
|
|
23
|
+
padding: ${d.sp4} ${d.sp0} ${d.sp5} ${d.sp0};
|
|
24
|
+
`;function zt({highlightedRangeReport:e}){const{dateFormat:{visual:t}}=f.getLocalizedStrings(),{availableNumberOfPeriods:o,cashPosition:n}=e,a=n.balances;if(o==null||o===0||a.length===0)return null;const r=a[a.length-1],p=`in ${r.endDate.format(t.MMMYYFormat)}`;return s.jsx(Dt,{children:s.jsx(Q,{balance:r,dateText:p,showInfotip:!1})})}const Mt=u.div`
|
|
25
|
+
padding: ${d.sp4} ${d.sp0} ${d.sp5} ${d.sp0};
|
|
26
|
+
`,At=u.div`
|
|
27
|
+
padding: ${d.sp4} ${d.sp0} ${d.sp5} ${d.sp0};
|
|
28
|
+
height: ${d.sp6};
|
|
29
|
+
`;function Ft({highlightedRangeReport:e,uiState:t}){const{selectedAdditionalBalances:o}=t,{availableNumberOfPeriods:n,calculatedSections:a}=e,r=a.netBurnOrIncome.balances;if(n==null||n===0||r.length===0)return s.jsx(At,{});const p=o.includes("this_period_vs_last_period")||o.includes("this_period_vs_last_period_percent"),i=r.reduce((b,w)=>b+w.balance.amount,0),c=r[r.length-1],l=r[0],g={...c,balance:{...c.balance,amount:i},startDate:l.startDate},m=pe(g,p);return s.jsx(Mt,{children:s.jsx(Q,{balance:g,dateText:m,showInfotip:!1})})}const Et=u.div`
|
|
30
|
+
padding: ${d.sp4} ${d.sp0} ${d.sp5} ${d.sp0};
|
|
31
|
+
`,Vt=u.div`
|
|
32
|
+
padding: ${d.sp4} ${d.sp0} ${d.sp5} ${d.sp0};
|
|
33
|
+
height: ${d.sp6};
|
|
34
|
+
`;function Wt({highlightedRangeReport:e,uiState:t}){const{availableNumberOfPeriods:o}=e,{selectedAdditionalBalances:n}=t,a=e.sections.expenses.balances??[];if(o==null||o===0||a.length===0)return s.jsx(Vt,{});const r=n.includes("this_period_vs_last_period")||n.includes("this_period_vs_last_period_percent"),p=a.reduce((m,b)=>m+b.balance.amount,0),i=a[a.length-1],c=a[0],l={...i,balance:{...i.balance,amount:p},startDate:c.startDate},g=pe(l,r);return s.jsx(Et,{children:s.jsx(Q,{balance:l,dateText:g,showInfotip:!1})})}const Ht=u.div`
|
|
35
|
+
padding: ${d.sp4} ${d.sp0} ${d.sp5} ${d.sp0};
|
|
36
|
+
`,Yt=u.div`
|
|
37
|
+
padding: ${d.sp4} ${d.sp0} ${d.sp5} ${d.sp0};
|
|
38
|
+
height: ${d.sp6};
|
|
39
|
+
`;function Gt({highlightedRangeReport:e,uiState:t}){const{availableNumberOfPeriods:o,sections:n}=e,{selectedAdditionalBalances:a}=t,r=n.income.balances;if(o==null||o===0||r.length===0)return s.jsx(Yt,{});const p=a.includes("this_period_vs_last_period")||a.includes("this_period_vs_last_period_percent"),i=r.reduce((b,w)=>b+w.balance.amount,0),c=r[r.length-1],l=r[0],g={...c,balance:{...c.balance,amount:i},startDate:l.startDate},m=pe(g,p);return s.jsx(Ht,{children:s.jsx(Q,{balance:g,dateText:m,showInfotip:!1})})}const Ut=({highlightedRangeReport:e,uiState:t})=>{switch(e.reportId){case"net_burn_or_income":return s.jsx(Ft,{highlightedRangeReport:e,uiState:t});case"revenue":return s.jsx(Gt,{highlightedRangeReport:e,uiState:t});case"operating_expenses":return s.jsx(Wt,{highlightedRangeReport:e,uiState:t});case"cash_position":return s.jsx(zt,{highlightedRangeReport:e});case"cash_in_cash_out":return s.jsx(Tt,{highlightedRangeReport:e});default:return null}},se={wrapperPadding:new R(N[3],N[3],N[8]),chartHeight:new R(288,360)},Zt=u.div`
|
|
40
|
+
display: flex;
|
|
41
|
+
flex: 1 1 auto;
|
|
42
|
+
flex-direction: column;
|
|
43
|
+
height: ${e=>se.chartHeight.valuePx(e.windowSize)};
|
|
44
|
+
`,qt=u.div`
|
|
45
|
+
display: flex;
|
|
46
|
+
`,Jt=e=>{const t=O(),{selectedRangeReport:o,selectedClassesViewRangeReport:n,uiState:a,onCOABalancesRangeChanged:r}=e,p=o.availableNumberOfPeriods==null||o.availableNumberOfPeriods===0,{selectedCOABalancesRange:i,selectedAdditionalBalances:c,highlightedCOABalancesRange:l,timeframe:g}=a,m=n!==void 0&&n.uiState.accountViewMode==="classes"?n:o;return p?s.jsx(qt,{children:s.jsx(bt,{title:f.getLocalizedStrings().chartCard.no_data_available})}):s.jsx(Zt,{windowSize:t,children:s.jsx(Ke,{children:({height:b,width:w})=>{const x={showBarHoverBackground:!0,onCOABalancesRangeChanged:(v,S,h)=>{Kt(o.firstMonthOfFY,c,o.reportId,S,v,e.analytics),r(i,h)},highlightedRange:l,isDetailPage:!0,timeframe:g,width:w,height:b};switch(m.reportId){case"net_burn_or_income":return s.jsx(xe,{selectedRangeReport:o,...x,mode:e.uiState.mode});case"net_burn_or_income_by_classes":return s.jsx(xe,{selectedRangeReport:n,...x,mode:e.uiState.mode});case"revenue":return s.jsx(be,{selectedRangeReport:o,...x,mode:e.uiState.mode});case"revenue_by_classes":return s.jsx(be,{selectedRangeReport:n,...x,mode:e.uiState.mode});case"operating_expenses":return s.jsx(fe,{selectedRangeReport:o,...x,mode:e.uiState.mode});case"operating_expenses_by_classes":return s.jsx(fe,{selectedRangeReport:n,...x,mode:e.uiState.mode});case"cash_position":return s.jsx(ft,{selectedRangeReport:o,...x});case"cash_in_cash_out":return s.jsx(ht,{selectedRangeReport:o,...x});default:return null}}})})},Kt=(e,t,o,n,a,r)=>{const p=t.includes("this_period_vs_last_period")||t.includes("this_period_vs_last_period_percent");p===!0&&r?.trackCompareFilterTimeFrame(I(o),U(n),"bar",te(e,n,a)),r?.trackDateRangeFilterChange(I(o),"bar",p,void 0,te(e,n,a))},Re={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"}},Ie=Oe`
|
|
47
|
+
0% {
|
|
48
|
+
transform: translateY(100%)
|
|
49
|
+
}
|
|
50
|
+
100% {
|
|
51
|
+
transform: translateY(0)
|
|
52
|
+
}
|
|
53
|
+
`,Xt=Oe`
|
|
54
|
+
0% {
|
|
55
|
+
opacity: 0
|
|
56
|
+
}
|
|
57
|
+
90% {
|
|
58
|
+
opacity: 0
|
|
59
|
+
}
|
|
60
|
+
100% {
|
|
61
|
+
opacity: 1
|
|
62
|
+
}
|
|
63
|
+
`,Qt=u.div`
|
|
64
|
+
position: fixed;
|
|
65
|
+
top: 0;
|
|
66
|
+
left: 0;
|
|
67
|
+
width: 100%;
|
|
68
|
+
z-index: 10;
|
|
69
|
+
height: 100%;
|
|
70
|
+
display: flex;
|
|
71
|
+
flex-direction: column;
|
|
72
|
+
align-items: center;
|
|
73
|
+
background: ${T.overlayDark};
|
|
74
|
+
`,es=u.div`
|
|
75
|
+
position: fixed;
|
|
76
|
+
top: 0;
|
|
77
|
+
left: 0;
|
|
78
|
+
width: 100%;
|
|
79
|
+
z-index: 10;
|
|
80
|
+
height: 100%;
|
|
81
|
+
display: flex;
|
|
82
|
+
flex-direction: column;
|
|
83
|
+
align-items: center;
|
|
84
|
+
overflow: auto;
|
|
85
|
+
background: ${T.blackColor}E6;
|
|
86
|
+
`,Te=u.div`
|
|
87
|
+
padding: ${e=>e.windowSize==="small"||e.windowSize==="medium-compact"?d.sp0:`${d.sp0} ${d.sp8}`};
|
|
88
|
+
margin-top: ${e=>e.windowSize==="small"||e.windowSize==="medium-compact"?d.sp0:d.sp7};
|
|
89
|
+
width: ${e=>e.windowSize==="small"||e.windowSize==="medium-compact"?"100%":"620px"};
|
|
90
|
+
height: 544px;
|
|
91
|
+
text-align: center;
|
|
92
|
+
`,De=u.div`
|
|
93
|
+
display: flex;
|
|
94
|
+
justify-content: flex-end;
|
|
95
|
+
width: 100%;
|
|
96
|
+
padding: ${d.sp3} ${d.sp4};
|
|
97
|
+
`,ze=u.div`
|
|
98
|
+
color: ${e=>e.theme.colors.hero};
|
|
99
|
+
width: ${d.sp3};
|
|
100
|
+
height: ${d.sp3};
|
|
101
|
+
cursor: pointer;
|
|
102
|
+
line-height: ${d.sp0};
|
|
103
|
+
&:hover {
|
|
104
|
+
color: ${e=>e.theme.colors.primary};
|
|
105
|
+
}
|
|
106
|
+
animation: ${Xt} 0.4s;
|
|
107
|
+
`,ts=u.div`
|
|
108
|
+
display: flex;
|
|
109
|
+
flex-direction: column;
|
|
110
|
+
justify-content: space-between;
|
|
111
|
+
flex-wrap: wrap;
|
|
112
|
+
align-items: center;
|
|
113
|
+
text-align: center;
|
|
114
|
+
height: 640px;
|
|
115
|
+
width: 700px;
|
|
116
|
+
background: ${e=>e.theme.colors.grey5};
|
|
117
|
+
border-radius: ${d.sp2};
|
|
118
|
+
animation: ${Ie} 0.4s;
|
|
119
|
+
position: relative;
|
|
120
|
+
`,ss=u.div`
|
|
121
|
+
display: flex;
|
|
122
|
+
flex-direction: column;
|
|
123
|
+
justify-content: space-between;
|
|
124
|
+
flex-wrap: wrap;
|
|
125
|
+
align-items: center;
|
|
126
|
+
text-align: center;
|
|
127
|
+
height: 640px;
|
|
128
|
+
width: 100%;
|
|
129
|
+
animation: ${Ie} 0.4s;
|
|
130
|
+
position: relative;
|
|
131
|
+
`,os=u.div`
|
|
132
|
+
position: absolute;
|
|
133
|
+
left: 0;
|
|
134
|
+
margin-top: 130px;
|
|
135
|
+
`,as=u.div`
|
|
136
|
+
position: absolute;
|
|
137
|
+
left: 0;
|
|
138
|
+
margin-top: 500px;
|
|
139
|
+
`,ns=u.div`
|
|
140
|
+
position: absolute;
|
|
141
|
+
right: 30px;
|
|
142
|
+
margin-top: 200px;
|
|
143
|
+
`,is=u.div`
|
|
144
|
+
width: 140px;
|
|
145
|
+
transform: rotate(-22.31deg);
|
|
146
|
+
`,rs=u.div`
|
|
147
|
+
position: absolute;
|
|
148
|
+
width: 130px;
|
|
149
|
+
height: ${d.sp0};
|
|
150
|
+
margin-top: ${d.sp2};
|
|
151
|
+
border: none;
|
|
152
|
+
border-top: 3px dotted ${e=>e.theme.colors.grey3};
|
|
153
|
+
float: left;
|
|
154
|
+
`,cs=u.div`
|
|
155
|
+
width: 0;
|
|
156
|
+
height: 0;
|
|
157
|
+
border-top: 10px solid transparent;
|
|
158
|
+
border-bottom: 10px solid transparent;
|
|
159
|
+
border-left: ${d.sp3} solid ${e=>e.theme.colors.grey3};
|
|
160
|
+
float: right;
|
|
161
|
+
`,ls=u(ke)`
|
|
162
|
+
max-width: 496px;
|
|
163
|
+
margin-top: ${d.sp7};
|
|
164
|
+
margin: auto;
|
|
165
|
+
color: ${e=>e.theme.colors.primary};
|
|
166
|
+
`,ds=u(ke)`
|
|
167
|
+
max-width: 330px;
|
|
168
|
+
margin: auto;
|
|
169
|
+
color: ${T.primaryDark};
|
|
170
|
+
`,Me=u.div``,Ae=u(oe)`
|
|
171
|
+
margin: ${d.sp3} auto;
|
|
172
|
+
max-width: ${e=>e.windowSize==="small"||e.windowSize==="medium-compact"?"330px":"422px"};
|
|
173
|
+
color: ${e=>e.windowSize==="small"||e.windowSize==="medium-compact"?T.heroDark:e.theme.colors.hero};
|
|
174
|
+
`,ps=u.div`
|
|
175
|
+
display: flex;
|
|
176
|
+
flex-direction: column;
|
|
177
|
+
align-items: center;
|
|
178
|
+
justify-content: center;
|
|
179
|
+
margin-top: 22px;
|
|
180
|
+
margin-bottom: ${e=>e.windowSize==="small"||e.windowSize==="medium-compact"?d.sp3:d.sp4};
|
|
181
|
+
`,us=u.ul`
|
|
182
|
+
display: flex;
|
|
183
|
+
flex-direction: column;
|
|
184
|
+
text-align: left;
|
|
185
|
+
width: ${e=>e.windowSize==="small"||e.windowSize==="medium-compact"?"350px":"620px"};
|
|
186
|
+
color: ${e=>e.windowSize==="small"||e.windowSize==="medium-compact"?T.heroDark:e.theme.colors.hero};
|
|
187
|
+
margin-top: 22px;
|
|
188
|
+
list-style-position: outside;
|
|
189
|
+
padding-left: ${d.sp3};
|
|
190
|
+
`,ie=u(tt)``,re=u(et)``,ce=u.li``,ms=u.div`
|
|
191
|
+
overflow: hidden;
|
|
192
|
+
max-width: 712px;
|
|
193
|
+
display: flex;
|
|
194
|
+
`,gs=u.div`
|
|
195
|
+
margin-bottom: ${e=>e.windowSize==="small"||e.windowSize==="medium-compact"?d.sp4:d.sp0};
|
|
196
|
+
background: ${e=>e.theme.colors.grey3};
|
|
197
|
+
border-radius: 12px;
|
|
198
|
+
border: ${e=>`1px solid ${e.theme.colors.grey5}`};
|
|
199
|
+
padding: ${d.sp2};
|
|
200
|
+
`,le=()=>s.jsxs(is,{children:[s.jsx(rs,{}),s.jsx(cs,{})]}),Fe=({imgSrc:e})=>{const t=O();return s.jsxs(ps,{windowSize:t,children:[s.jsx(ms,{windowSize:t,children:s.jsx(gs,{windowSize:t,children:s.jsx("img",{src:e,alt:"forecast-promo",style:{width:"343px",height:"220px",borderRadius:d.sp2,display:"block"}})})}),s.jsxs(us,{windowSize:t,children:[s.jsxs(ce,{children:[s.jsx(re,{children:f.getLocalizedStrings().forecastPromoPage.accuratelyText.bold}),s.jsx(ie,{children:f.getLocalizedStrings().forecastPromoPage.accuratelyText.regular})]}),s.jsxs(ce,{children:[s.jsx(re,{children:f.getLocalizedStrings().forecastPromoPage.trackText.bold}),s.jsx(ie,{children:f.getLocalizedStrings().forecastPromoPage.trackText.regular})]}),s.jsxs(ce,{children:[s.jsx(re,{children:f.getLocalizedStrings().forecastPromoPage.preciseText.bold}),s.jsx(ie,{children:f.getLocalizedStrings().forecastPromoPage.preciseText.regular})]})]})]})},hs=e=>{const{onClose:t,reportId:o,meetingUrl:n}=e,a=O(),r=J(),p=l=>{l.stopPropagation(),t()},i=()=>{window.open(n.toString(),"_blank")},c=Re[o][r.mode];return s.jsxs(es,{role:"presentation",onClick:l=>p(l),children:[s.jsx(De,{children:s.jsx(ze,{children:s.jsx(je,{style:{width:"18px",height:"18px"}})})}),s.jsx(ss,{onClick:l=>l.stopPropagation(),children:s.jsxs(Te,{windowSize:a,children:[s.jsx(ds,{children:f.getLocalizedStrings().forecastPromoPage.promoText}),s.jsx(Fe,{imgSrc:c}),s.jsxs(Me,{children:[s.jsx($e,{variant:"primary",label:f.getLocalizedStrings().forecastPromoPage.meetingButton,onClick:i,style:{backgroundColor:T.primaryDark,borderColor:T.primaryDark,color:T.neutralGrey5Dark}}),s.jsx(Ae,{windowSize:a,children:f.getLocalizedStrings().forecastPromoPage.forecastUpload})]})]})})]})},fs=e=>{const{onClose:t,reportId:o,meetingUrl:n}=e,a=O(),r=J(),p=l=>{l.stopPropagation(),t()},i=()=>{window.open(n.toString(),"_blank")},c=Re[o][r.mode];return s.jsxs(Qt,{role:"presentation",onClick:l=>p(l),children:[s.jsx(De,{children:s.jsx(ze,{children:s.jsx(je,{style:{width:"18px",height:"18px"}})})}),s.jsxs(ts,{onClick:l=>l.stopPropagation(),children:[s.jsxs(Te,{windowSize:a,children:[s.jsx(ls,{children:f.getLocalizedStrings().forecastPromoPage.promoText}),s.jsx(Fe,{imgSrc:c}),s.jsxs(Me,{children:[s.jsx($e,{variant:"primary",label:f.getLocalizedStrings().forecastPromoPage.meetingButton,onClick:i}),s.jsx(Ae,{windowSize:a,children:f.getLocalizedStrings().forecastPromoPage.forecastUpload})]})]}),s.jsx(os,{children:s.jsx(le,{})}),s.jsx(as,{children:s.jsx(le,{})}),s.jsx(ns,{children:s.jsx(le,{})})]})]})};function bs(e){const t=O();return t==="small"||t==="medium-compact"?s.jsx(hs,{...e}):s.jsx(fs,{...e})}const de="ZeniSwitch",M={root:`${de}-root`,switchBase:`${de}-switchBase`,track:`${de}-track`},xs=({className:e,...t})=>s.jsx(it,{...t,className:e,classes:{...M}}),_s=u(xs)(({theme:e})=>({[`& .${M.switchBase}`]:{color:e.colors.grey2},[`& .${M.track}`]:{backgroundColor:e.colors.grey3,opacity:1},[`& .${M.switchBase}.Mui-checked`]:{color:e.colors.primary},[`& .${M.switchBase}.Mui-checked + .${M.track}`]:{backgroundColor:e.colors.grey1},[`& .${M.switchBase}.Mui-disabled`]:{color:e.colors.grey4},[`& .${M.switchBase}.Mui-disabled + .${M.track}`]:{opacity:.5,backgroundColor:e.colors.background}})),Ee=e=>s.jsx(_s,{...e}),Z={containerMaxWidth:new R(124,154),forecastNameInnerWidth:new R(75,105),forecastNameOuterWidth:new R(90,120),tooltipTopPosition:new R(51,51),tooltipWidth:new R(180,150)},_e=u.div``,ws=u.div`
|
|
201
|
+
min-width: ${e=>Z.forecastNameInnerWidth.valuePx(e.windowSize)};
|
|
202
|
+
&:hover {
|
|
203
|
+
.info-tooltip {
|
|
204
|
+
display: flex;
|
|
205
|
+
flex-direction: row;
|
|
206
|
+
justify-content: center;
|
|
207
|
+
align-items: center;
|
|
208
|
+
}
|
|
209
|
+
}
|
|
210
|
+
`,Ss=u.div`
|
|
211
|
+
display: flex;
|
|
212
|
+
flex-direction: column;
|
|
213
|
+
width: 315px;
|
|
214
|
+
white-space: normal;
|
|
215
|
+
`,ys=u(rt)`
|
|
216
|
+
display: flex;
|
|
217
|
+
justify-content: space-between;
|
|
218
|
+
color: ${e=>e.isValid===!0?e.theme.colors.primary:e.theme.colors.grey1};
|
|
219
|
+
margin-bottom: ${d.sp1};
|
|
220
|
+
align-items: center;
|
|
221
|
+
`,vs=u(oe)`
|
|
222
|
+
display: flex;
|
|
223
|
+
color: ${e=>e.isValid===!0?e.theme.colors.primary:e.theme.colors.grey1};
|
|
224
|
+
margin-bottom: ${d.sp1};
|
|
225
|
+
`,Cs=u.div``,js=u.div``,$s=u(ct)`
|
|
226
|
+
display: flex;
|
|
227
|
+
color: ${T.alert};
|
|
228
|
+
`,ks=u(lt)`
|
|
229
|
+
color: ${T.alert};
|
|
230
|
+
width: ${d.sp4};
|
|
231
|
+
height: ${d.sp4};
|
|
232
|
+
margin-right: ${d.sp1};
|
|
233
|
+
`,Os=u.span`
|
|
234
|
+
overflow: hidden;
|
|
235
|
+
white-space: nowrap;
|
|
236
|
+
text-overflow: ellipsis;
|
|
237
|
+
max-width: ${e=>Z.forecastNameOuterWidth.valuePx(e.windowSize)};
|
|
238
|
+
text-align: right;
|
|
239
|
+
`,Bs=u.div`
|
|
240
|
+
display: flex;
|
|
241
|
+
flex-direction: row;
|
|
242
|
+
align-items: center;
|
|
243
|
+
justify-content: end;
|
|
244
|
+
`,Ps=u.div`
|
|
245
|
+
background-color: ${e=>e.isValid===!0?e.theme.colors.primary:e.theme.colors.grey1};
|
|
246
|
+
border-radius: 3px;
|
|
247
|
+
border-width: 1px;
|
|
248
|
+
border-style: solid;
|
|
249
|
+
width: 3px;
|
|
250
|
+
height: 3px;
|
|
251
|
+
align-self: center;
|
|
252
|
+
margin-left: ${d.sp2};
|
|
253
|
+
margin-right: ${d.sp2};
|
|
254
|
+
`,Ls=u.div``,Ns=u.div`
|
|
255
|
+
display: none;
|
|
256
|
+
background-color: ${e=>e.theme.colors.primary};
|
|
257
|
+
position: absolute;
|
|
258
|
+
padding: 2px 5px;
|
|
259
|
+
border: 1px solid ${e=>e.theme.colors.primary};
|
|
260
|
+
border-radius: ${d.sp1};
|
|
261
|
+
z-index: 1;
|
|
262
|
+
width: ${e=>Z.tooltipWidth.valuePx(e.windowSize)};
|
|
263
|
+
top: ${e=>Z.tooltipTopPosition.valuePx(e.windowSize)};
|
|
264
|
+
`,Rs=u(st)`
|
|
265
|
+
color: ${e=>e.theme.colors.grey5};
|
|
266
|
+
`;function Is({selectedForecastIndex:e,forecasts:t,isDisabled:o,isForecastValid:n,onForecastSelectionChanged:a}){const r=O(),{dateFormat:{visual:p}}=f.getLocalizedStrings(),i=m=>`${m.startDate.format(p.MMMYYYYFormat)} - ${m.endDate.format(p.MMMYYYYFormat)}`,c=m=>m.map((b,w)=>({label:b.name,value:w,forecastId:b.id,timeframeLabel:i(b.forecastPeriod),isValid:n(b)})),[l,g]=_.useState(c(t));return X.useEffect(()=>{g(c(t))},[t]),s.jsxs(ws,{windowSize:r,children:[s.jsx(Ls,{children:s.jsx(Ns,{className:"info-tooltip",windowSize:r,children:s.jsx(Rs,{children:l[e]!=null?l[e].label:""})})}),s.jsx(Ts,{selectedForecast:l[e],forecastOptions:l,isDisabled:o,onForecastSelectionChanged:a})]})}const Ts=({selectedForecast:e,forecastOptions:t,isDisabled:o,onForecastSelectionChanged:n})=>{const a=J(),r=O(),[p,i]=_.useState(e),c=a.colors.grey5,l=a.colors.grey5,g=a.colors.grey3;_.useEffect(()=>{i(e)},[e]);const m=u(ot)`
|
|
267
|
+
height: ${d.sp3};
|
|
268
|
+
width: ${d.sp3};
|
|
269
|
+
`,b=u(at)`
|
|
270
|
+
height: 12px;
|
|
271
|
+
width: 12px;
|
|
272
|
+
margin-left: 6px;
|
|
273
|
+
`,w=({children:h,...C})=>s.jsx(ne.SingleValue,{...C,children:s.jsxs(Bs,{children:[s.jsx(Os,{windowSize:r,children:h}),s.jsx(b,{})]})}),x=h=>s.jsx(ne.DropdownIndicator,{...h,children:s.jsx(_e,{})}),v=h=>s.jsx(_e,{children:s.jsx(ne.Option,{...h,children:s.jsxs(Ss,{children:[s.jsxs(ys,{isValid:h.data.isValid,children:[h.label,h.isSelected?s.jsx(m,{}):null]}),s.jsxs(vs,{isValid:h.data.isValid,children:[s.jsx(Cs,{children:h.data.timeframeLabel}),s.jsx(Ps,{isValid:h.data.isValid}),s.jsx(js,{children:f.getLocalizedStrings().chartCard.forecast_dropdown.forecast_source})]}),h.data.isValid===!1?s.jsxs($s,{children:[s.jsx(ks,{}),f.getLocalizedStrings().chartCard.forecast_dropdown.forecast_invalid_issue]}):null]})})}),S={control:(h,C)=>({...h,border:0,backgroundColor:l,color:C.selectProps.menuIsOpen===!0?a.colors.primary:a.colors.hero,boxShadow:l,":active":{backgroundColor:l},":hover":{color:a.colors.primary},"span::after":{content:"''",display:"block"},minHeight:"auto",cursor:"pointer"}),container:h=>({...h,backgroundColor:l,maxWidth:Z.containerMaxWidth.valuePx(r),minWidth:Z.containerMaxWidth.valuePx(r)}),singleValue:(h,C)=>({...h,color:C.selectProps.menuIsOpen===!0?a.colors.primary:a.colors.champion,maxWidth:"100%",minWidth:"100%",overflow:"auto",":hover":{color:a.colors.primary},marginLeft:0,position:"inherit",transform:"none",top:0,marginRight:0,opacity:"1"}),menu:h=>({...h,backgroundColor:c,borderRadius:N[1],boxShadow:`${d.sp0} 2px ${d.sp2} ${a.colors.dropShadowHover}`,whiteSpace:"nowrap",minWidth:"fit-content",zIndex:20}),menuList:h=>({...h,borderRadius:N[1],maxWidth:"350px"}),option:(h,{isDisabled:C,isSelected:$,isFocused:W})=>({...h,color:$?a.colors.champion:a.colors.hero,backgroundColor:$===!0?g:W===!0&&C!==!0?a.colors.background:c,cursor:C===!0?"not-allowed":"pointer",padding:`11px ${d.sp3}`,":hover":{backgroundColor:C===!1?$===!0?g:a.colors.background:c,color:a.colors.primary},borderBottom:"1px solid "+a.colors.grey3}),indicatorSeparator:()=>({}),dropdownIndicator:()=>({})};return s.jsx(nt,{options:t,components:{SingleValue:w,DropdownIndicator:x,Option:v},styles:S,defaultValue:p,onChange:h=>{const C=h;i(C),n(C.forecastId,C.value)},isSearchable:!1,isClearable:!1,isOptionDisabled:h=>h.isValid===!1,theme:h=>({...h,colors:{...h.colors,primary:c}}),isDisabled:o})},we={timeframePaddingLeft:new R(0,0,245),timeframePaddingBottom:new R(8,8,0)},Ds=u.div`
|
|
274
|
+
display: flex;
|
|
275
|
+
width: 100%;
|
|
276
|
+
flex-direction: column;
|
|
277
|
+
`,zs=u.div`
|
|
278
|
+
display: flex;
|
|
279
|
+
width: 100%;
|
|
280
|
+
flex-direction: row;
|
|
281
|
+
`,Ve=u.div`
|
|
282
|
+
display: flex;
|
|
283
|
+
flex-direction: row;
|
|
284
|
+
flex: 1 1 auto;
|
|
285
|
+
justify-content: center;
|
|
286
|
+
padding-left: ${e=>we.timeframePaddingLeft.valuePx(e.windowSize)};
|
|
287
|
+
padding-bottom: ${e=>we.timeframePaddingBottom.valuePx(e.windowSize)};
|
|
288
|
+
`,Ms=u.div`
|
|
289
|
+
display: flex;
|
|
290
|
+
width: 100%;
|
|
291
|
+
flex-direction: row;
|
|
292
|
+
align-items: center;
|
|
293
|
+
justify-content: center;
|
|
294
|
+
`,As=u.div`
|
|
295
|
+
display: flex;
|
|
296
|
+
flex-direction: row;
|
|
297
|
+
align-items: center;
|
|
298
|
+
justify-self: flex-end;
|
|
299
|
+
justify-content: flex-end;
|
|
300
|
+
min-width: 315px;
|
|
301
|
+
`,Fs=u.div`
|
|
302
|
+
display: flex;
|
|
303
|
+
flex-direction: row;
|
|
304
|
+
align-items: center;
|
|
305
|
+
margin-right: ${d.sp5};
|
|
306
|
+
`,We=u(oe)`
|
|
307
|
+
color: ${e=>e.isOn?e.theme.colors.primary:e.theme.colors.hero};
|
|
308
|
+
opacity: ${e=>e.isDisabled?.5:1};
|
|
309
|
+
`,He=({label:e,isOn:t,isToggleDisabled:o,onValueChanged:n})=>s.jsxs(s.Fragment,{children:[s.jsx(We,{isOn:t,isDisabled:o===!0,children:e}),s.jsx(Ee,{checked:t,edge:"end",disabled:o===!0,disableRipple:o===!0,onChange:a=>{n(a.target.checked)}})]});function Ye({isOn:e,isDisabled:t,selectedForecastIndex:o,forecasts:n,isForecastValid:a,onForecastToggleChanged:r,onForecastSelectionChanged:p}){return s.jsxs(Fs,{children:[e===!0&&n!=null&&n.length!==0?s.jsx(Is,{selectedForecastIndex:o??0,forecasts:n,isForecastValid:a,onForecastSelectionChanged:p,isDisabled:!1}):s.jsx(We,{isOn:e,isDisabled:t===!0,children:f.getLocalizedStrings().reports.forecast.forecast}),s.jsx(Ee,{checked:e,edge:"end",disabled:t===!0,disableRipple:t===!0,onChange:i=>{r(i.target.checked)}})]})}const Es=e=>{const t=O();return s.jsxs(Ds,{children:[s.jsx(Ve,{windowSize:t,children:s.jsx(Be,{timeframes:e.timeframe.allowedTimeframes,selectedTimeframe:e.timeframe.selectedTimeframe,onTimeframeSelectionChanged:e.timeframe.onTimeframeSelectionChanged})}),s.jsxs(Ms,{children:[e.forecastListWithToggle!=null&&s.jsx(Ye,{...e.forecastListWithToggle}),s.jsx(He,{...e.compareToggle,label:f.getLocalizedStrings().compareSwitchLabel})]})]})},Vs=e=>{const t=O();return s.jsxs(zs,{children:[s.jsx(Ve,{windowSize:t,children:s.jsx(Be,{timeframes:e.timeframe.allowedTimeframes,selectedTimeframe:e.timeframe.selectedTimeframe,onTimeframeSelectionChanged:e.timeframe.onTimeframeSelectionChanged})}),s.jsxs(As,{children:[e.forecastListWithToggle!=null&&s.jsx(Ye,{...e.forecastListWithToggle}),s.jsx(He,{...e.compareToggle,label:f.getLocalizedStrings().compareSwitchLabel})]})]})};function Ws(e){const t=O();return t==="small"||t==="medium-compact"?s.jsx(Es,{...e}):s.jsx(Vs,{...e})}const Hs=u.div`
|
|
310
|
+
display: flex;
|
|
311
|
+
padding: ${d.sp2} ${d.sp0} ${d.sp4} ${d.sp0};
|
|
312
|
+
`,Ys=u.div``,Gs=u.div``,Us=e=>{const{selectedRangeReport:t,uiState:o,analytics:n,onThisPeriodChanged:a,onTimeframeSelectionChanged:r,onCOABalancesRangeChanged:p,onAdditionalBalanceSelectionChanged:i}=e,c=Ce(),{allTimeframeTicks:l}=t,{selectedCOABalancesRange:g,timeframe:m}=o,b=t.reportId==="cash_in_cash_out"?["month"]:["month","quarter","year"],w=t.availableNumberOfPeriods!=null&&t.availableNumberOfPeriods<2,x=o.mode==="compare_mode"&&!w,v=c.connectionName!=="netsuite"&&(t.reportId==="net_burn_or_income"||t.reportId==="operating_expenses"||t.reportId==="revenue");let S,h;switch(t.reportId){case"revenue":S=t.forecastList?.forecasts,h=t.forecastList?.fetchState;break;case"net_burn_or_income":S=t.forecastList?.forecasts,h=t.forecastList?.fetchState;break;case"operating_expenses":S=t.forecastList?.forecasts,h=t.forecastList?.fetchState;break;default:S=void 0}const C=t.availableNumberOfPeriods==null||t.availableNumberOfPeriods===0,$=C||t.availableNumberOfPeriods===1,W=y=>!!y.forecastPeriod.startDate.isBefore(t.dataAvailable?.endDate),[B,F]=_.useState(!1),Y=D.toZeniUrl("https://meetings.hubspot.com/svitlana-grankovska"),E=o.mode,L=o.selectedForecast;_.useEffect(()=>{E==="forecast_mode"&&h==="Completed"&&S?.length===0&&(F(!0),document.body.style.overflow="hidden")},[h,E,S]),_.useEffect(()=>{E==="forecast_mode"&&L!=null&&S!=null&&S.length>0&&e.analytics?.trackForecastSwitch(I(t.reportId),S[L.index].name)},[L]);const H=(y,j,G)=>{j===!0&&e.analytics?.trackForecastVsActualMode(I(t.reportId),"",y==="forecast_mode"),e.onForecastToggle?.(y,G)};return s.jsx(Gs,{children:s.jsxs(Ys,{children:[s.jsx(Hs,{children:s.jsx(Ws,{timeframe:{allowedTimeframes:b,selectedTimeframe:m,onTimeframeSelectionChanged:y=>{e.analytics?.trackTimeframeSwitch(U(y),I(t.reportId)),r?.(y),e.uiState.mode==="compare_mode"&&!x&&i(x,x?["this_period_vs_last_period_percent"]:[],x?3:1)}},compareToggle:{label:f.getLocalizedStrings().compareSwitchLabel,isOn:$?!1:x,isToggleDisabled:$,onValueChanged:y=>{const j=y===!0||o.mode==="forecast_mode"?3:1;n?.trackCompareMode(y,I(t.reportId),U(m)),i(y,y?["this_period_vs_last_period_percent","year_to_date_total"]:["year_to_date_total"],j)}},forecastListWithToggle:v===!0?{isOn:o.mode==="forecast_mode",isToggleDisabled:$,selectedForecastIndex:e.uiState.selectedForecast?.index,forecasts:S,isForecastValid:W,onForecastSelectionChanged:(y,j)=>H("forecast_mode",!1,{id:y,index:j}),onForecastToggleChanged:y=>{H(y===!0?"forecast_mode":"off",!0)}}:void 0})}),B==!0?s.jsx(bs,{meetingUrl:Y,reportId:t.reportId,onClose:()=>{F(!1),e.onForecastToggle?.("off");const y=1;document.body.style.overflow="auto",i(x,x?["this_period_vs_last_period_percent"]:[],y)}}):null,C?null:s.jsx(xt,{firstMonthOfFY:t.firstMonthOfFY,timeframe:m,timeframeTicks:l,selection:{selectedTicks:he(l,g),highlightedOfSelectedTicks:he(l,g)},onClick:(y,j)=>{Se(t.firstMonthOfFY,x,t.reportId,m,j,e.analytics),a(j)},onSelectionChanged:(y,j)=>{const G=mt(l,y.fromEnd),q=gt(l,j);Se(t.firstMonthOfFY,x,t.reportId,m,q.thisPeriod,e.analytics),p(G,q)}})]})})},Se=(e,t,o,n,a,r)=>{t===!0&&r?.trackCompareFilterTimeFrame(I(o),U(n),"range filter",te(e,n,a)),r?.trackDateRangeFilterChange(I(o),"range filter",t,te(e,n,a))};function me({account:e,sectionType:t,numOfBalances:o,title:n,isLastNode:a,config:r,parentNodeIDs:p}){return{children:[],id:V("ac_report",p,e.accountId),isLastNode:a,reportElementData:{element:{kind:"ac_report",title:n,sectionType:t,data:e,numOfBalances:o},config:r}}}function Zs({acGroup:e,sectionType:t,numOfBalances:o,title:n,isLastNode:a,config:r,parentNodeIDs:p}){const i=V("ac_group_report",p,e.accountGroupId),c={children:[],id:i,isLastNode:a,reportElementData:{element:{kind:"ac_group_report",title:n,sectionType:t,data:e,numOfBalances:o},config:r}},l=ue(t,"no_filter",r.filterAccountsWithNilBalances,r.filterAccountGroupsWithNilBalances).compactedAccountsSelector(e);return c.children=l.map((g,m)=>me({account:g,sectionType:t,numOfBalances:o,title:g.accountDescription,config:r,isLastNode:m===l.length-1,parentNodeIDs:[...p,i]})),c}function ye({section:e,sectionType:t,numOfBalances:o,title:n,isLastNode:a,config:r}){const p=V("section",[],n),i={children:[],id:p,isLastNode:a,reportElementData:{element:{kind:"section",title:n,sectionType:t,data:e,numOfBalances:o},config:r}},c=St(e,r.displayOrder,o,!1),l=qs(c.balances),g=ue(t,"no_filter",r.filterAccountsWithNilBalances,r.filterAccountGroupsWithNilBalances),m=g.compactedAccountsSelectorVariant(e.accountsOrdered),b=g.compactedAccountGroupsSelector(e.accountGroupsOrdered);if(l===!0&&(b.length>0||e.accountsOrdered.length>0)){const w=b.map((v,S)=>Zs({acGroup:v,sectionType:t,numOfBalances:o,title:v.accountGroupName,isLastNode:S===b.length-1,config:r,parentNodeIDs:[p]})),x=m.map((v,S)=>me({account:v,sectionType:t,numOfBalances:o,title:v.accountDescription,isLastNode:S===e.accountsOrdered.length-1,config:r,parentNodeIDs:[p]}));i.children.push(...w),i.children.push(...x)}return i}function qs(e){let t=!1;if(e!=null){for(const o of e)if(o!=null&&o.balance.amount!==0){t=!0;break}}return t}function A({balances:e,config:t,nodeId:o}){let n="timeframe_headers";return t.mode==="actual_vs_forecast"&&(n="timeframe_headers_with_forecast"),{children:[],id:o??V("timeframe_header",[]),isLastNode:!1,reportElementData:{element:{kind:n,title:"",data:e,numOfBalances:e.length},config:t}}}function Js(e,t,o=!0){const n=f.getLocalizedStrings().reports,a=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}),i=ye({section:e.cashIn,sectionType:"cash_in",numOfBalances:a,title:n.sections.cashIn,isLastNode:!0,config:t}),c=ye({section:e.cashOut,sectionType:"cash_out",numOfBalances:a,title:n.sections.cashOut,isLastNode:!0,config:t}),l=ee({calculatedSection:e.netCashFlow,numOfBalances:a,title:n.sections.netCashFlow,isLastNode:!0,config:t});return{config:t,headerNodes:o?[p]:[],contentNodes:[p,i,c,l]}}function ge({title:e,balances:t,config:o,numOfBalances:n,nodeId:a}){return{children:[],id:a??V("total",[]),isLastNode:!1,reportElementData:{element:{kind:"total",title:e,data:t,numOfBalances:n},config:o}}}function Ks(e,t,o=!0){const n=f.getLocalizedStrings().reports,a=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,i=A({balances:r,config:t}),c=ge({title:f.getLocalizedStrings().chartCard.total,balances:p,config:t,numOfBalances:a}),l=V("section",[],n.sections.netCashFlow),g=ue("cash_position","no_filter",t.filterAccountsWithNilBalances,t.filterAccountGroupsWithNilBalances).compactedAccountsSelectorVariant(e.cashPosition.accountsOrdered).map((m,b)=>me({account:m,sectionType:"cash_position",numOfBalances:a,title:m.accountDescription,isLastNode:b===e.cashPosition.accountsOrdered.length-1,config:t,parentNodeIDs:[l]}));return{config:t,headerNodes:o?[i]:[],contentNodes:[i,c,...g]}}function Xs(e,t,o=!0){const n=f.getLocalizedStrings().reports,a=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}),i=[];return i.push(p),e.idsInOrder.forEach(c=>{D.isNetBurnOrIncomeClassesViewSectionID(c)===!0?i.push(Pe({section:e.sections[c],sectionType:c,numOfBalances:a,title:n.sections[c],isLastNode:!0,config:t})):D.isNetBurnOrIncomeClassesViewCalculatedSectionID(c)===!0&&i.push(ee({calculatedSection:e.calculatedSections[c],numOfBalances:a,title:c==="netBurnOrIncome"?e.reportTitle:n.sections[c],isLastNode:!0,config:t}))}),{config:t,headerNodes:o?[p]:[],contentNodes:i}}function Qs(e,t,o=!0){const n=f.getLocalizedStrings().reports,a=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}),i=[];return i.push(p),e.idsInOrder.forEach(c=>{D.isNetBurnOrIncomeReportViewSectionID(c)===!0?e.sections[c].accountGroups.length>0?i.push(Le({section:e.sections[c],sectionType:c,numOfBalances:a,title:n.sections[c],isLastNode:!0,config:t})):i.push(Ne({sectionWithAcOnly:e.sections[c],sectionType:c,numOfBalances:a,title:n.sections[c],isLastNode:!0,config:t})):D.isNetBurnOrIncomeReportViewCalculatedSectionID(c)===!0&&i.push(ee({calculatedSection:e.calculatedSections[c],numOfBalances:a,title:c==="netBurnOrIncome"?e.reportTitle:n.sections[c],isLastNode:!0,config:t}))}),{config:t,headerNodes:o?[p]:[],contentNodes:i}}function eo(e,t,o=!0){const n=f.getLocalizedStrings().reports,a=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}),i=e.sections.expenses,c=ge({title:f.getLocalizedStrings().chartCard.total,balances:i,config:t,numOfBalances:a}),l=[];l.push(p),l.push(c);const g=V("section",[],n.sections.expenses);return e.sections.expenses.classes.forEach((m,b)=>{l.push(yt({classNode:m,sectionType:"expenses",numOfBalances:a,title:m.class.className,isLastNode:m.isLeafClass,config:t,parentNodeIDs:[g],ancestorMetadata:{subAccountAncestorMetadata:[],classAncestorMetadata:[{depth:m.id.length-1,hasSibling:!1,hasChildren:m.children.length>0,isLastNode:b===e.sections.expenses.classes.length-1,name:m.class.className}]}}))}),{config:t,headerNodes:o?[p]:[],contentNodes:l}}function to(e,t,o=!0){const n=f.getLocalizedStrings().reports,a=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}),i=e.sections.expenses,c=ge({title:f.getLocalizedStrings().chartCard.total,balances:i,config:t,numOfBalances:a}),l=V("section",[],n.sections.expenses),g=wt("no_filter",t.filterAccountsWithNilBalances,t.filterAccountGroupsWithNilBalances),m=[];m.push(p),m.push(c);const b=g.compactedAccountGroupsSelector(e.sections.expenses.accountGroups);if(b.length!=0){const w=b.map((x,v)=>vt({acGroup:x,sectionType:"expenses",numOfBalances:a,title:x.accountGroupName,isLastNode:v===b.length-1,config:t,parentNodeIDs:[l]}));m.push(...w)}else if(e.sections.expenses.accounts?.length!==0){const w=g.compactedAccountsSelectorVariant(e.sections.expenses.accounts),x=w.map((v,S)=>Ct({account:v,sectionType:"expenses",numOfBalances:a,title:v.account.accountName,isLastNode:S===w.length-1,config:t,parentNodeIDs:[l],ancestorMetadata:{subAccountAncestorMetadata:[{depth:0,hasSibling:w.length>1,hasChildren:v.children.length>0,isLastNode:S===w.length-1}]}}));m.push(...x)}return{config:t,headerNodes:o?[p]:[],contentNodes:m}}function so(e,t,o=!0){const n=f.getLocalizedStrings().reports,a=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}),i=[];return i.push(p),e.idsInOrder.forEach(c=>{D.isRevenueClassesViewSectionID(c)===!0?i.push(Pe({section:e.sections[c],sectionType:c,numOfBalances:a,title:n.sections[c],isLastNode:!0,config:t})):D.isRevenueClassesViewCalculatedSectionID(c)===!0&&i.push(ee({calculatedSection:e.calculatedSections[c],numOfBalances:a,title:n.sections.grossMargin,isLastNode:!0,config:t}))}),{config:t,headerNodes:o?[p]:[],contentNodes:i}}function oo(e,t,o=!0){const n=f.getLocalizedStrings().reports,a=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}),i=[];return i.push(p),e.idsInOrder.forEach(c=>{D.isRevenueSectionID(c)===!0?e.sections[c].accountGroups.length>0?i.push(Le({section:e.sections[c],sectionType:c,numOfBalances:a,title:n.sections[c],isLastNode:!0,config:t})):i.push(Ne({sectionWithAcOnly:e.sections[c],sectionType:c,numOfBalances:a,title:n.sections[c],isLastNode:!0,config:t})):D.isRevenueCalculatedSectionID(c)===!0&&i.push(ee({calculatedSection:e.calculatedSections[c],numOfBalances:a,title:n.sections[c],isLastNode:!0,config:t}))}),{config:t,headerNodes:o?[p]:[],contentNodes:i}}function ao(e,t,o,n=!0){Object.assign(e.config,t);const a=no(o),r=A({balances:a,config:t});return{config:t,headerNodes:n?[r]:[],contentNodes:[r,...e.contentNodes.slice(1)]}}const no=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[]}},ve={contentPaddingLeft:new R(N[0],N[0],N[0]),contentPaddingRight:new R(N[3],N[3],N[8])},io=u.div`
|
|
313
|
+
width: 100%;
|
|
314
|
+
height: calc(100vh - 70px);
|
|
315
|
+
`,ro=u.div`
|
|
316
|
+
display: flex;
|
|
317
|
+
position: sticky;
|
|
318
|
+
justify-content: center;
|
|
319
|
+
padding-top: ${d.sp6};
|
|
320
|
+
padding-left: ${e=>se.wrapperPadding.valuePx(e.windowSize)};
|
|
321
|
+
background-color: ${e=>e.theme.colors.grey4};
|
|
322
|
+
`,co=u.div`
|
|
323
|
+
position: absolute;
|
|
324
|
+
margin-top: ${d.sp3};
|
|
325
|
+
`,lo=e=>{const t=O(),o=J(),{selectedRangeReport:n,selectedClassesViewRangeReport:a,uiState:r,scrollPosition:p,isZeniUser:i,onTableScroll:c,onElementCollapseStateChanged:l,onAccountBalanceClick:g,onUpdateAccountViewMode:m,onUpdateClassesToFilterOut:b,onOpenAccountViewMode:w}=e,{highlightedCOABalancesRange:x,mode:v}=r,S=n.availableNumberOfPeriods==null||n.availableNumberOfPeriods===0,h=n.availableNumberOfPeriods!=null&&n.availableNumberOfPeriods<2,C=r.mode==="compare_mode"&&!h,$=C||r.mode==="forecast_mode"?3:1,W=k=>{e.analytics?.trackCompareFilterChange(k==="compare_mode_percent"?"percentage":"amount",I(n.reportId),U(r.timeframe),"dropdown");const P=k==="compare_mode_percent"?"this_period_vs_last_period_percent":"this_period_vs_last_period";e.onAdditionalBalanceSelectionChanged(C,[P],x?.numberOfPeriods??$)},[B,F]=_.useState(void 0),[Y,E]=_.useState(void 0),L=!(t==="small"||t==="medium-compact"),H=v==="forecast_mode"?"name+balances_forecast":"name+balances_actual",y=uo(r.selectedAdditionalBalances),j=a!==void 0&&a.uiState.accountViewMode==="classes"?a:n,G=v==="forecast_mode"?"actual_vs_forecast":C===!0?"this_period_vs_period_before":"none",q=n.reportId==="net_burn_or_income"||n.reportId==="operating_expenses"||n.reportId==="revenue",ae=(k,P)=>{k!==a?.uiState.accountViewMode&&m?.(k),P&&b?.(P)};return _.useEffect(()=>{const k={reportId:v==="forecast_mode"&&r.selectedForecast!=null?`${j.reportId}+${r.selectedForecast?.id}`:j.reportId,mode:G,displayOrder:"ascending_date",reportFormat:"more_detailed",bookCloseDate:j.bookCloseDate,firstMonthOfFY:j.firstMonthOfFY,filterAccountsWithNilBalances:v==="forecast_mode"?"filter_actual_forecast_nil_balances":"filter_actual_nil_balances",filterAccountGroupsWithNilBalances:"filter_actual_forecast_empty_account_group_balances",showNegativeAmountInParenthesis:Qe(),showClassAccountNumber:i,isZeniCOAInUse:e.isZeniCOAUsed,dataAvailable:j.dataAvailable};if(B==null||!K(Y,j)){const P=po(j,k,L);E(j),F(P)}else{const P=ao(B,k,j,L);F(P)}},[H,C,j]),s.jsx(ro,{windowSize:t,children:S?s.jsx(jt,{}):B!=null?s.jsxs(io,{children:[s.jsx(_t,{backgroundColor:new Xe(o.colors.grey4),rootNodes:B,type:H,compareMode:y,isSticky:{isStickyHeader:L,isStickyName:L},treeNodePadding:{left:ve.contentPaddingLeft.value(t),right:ve.contentPaddingRight.value(t)},onAccountClick:g==null?void 0:(k,P)=>{g(k,P)},nodeOpenStatus:r.nodeCollapseState,scrollPosition:p,onCompareModeChanged:W,onScroll:c,onNodeCollapseToggled:l}),q===!0&&a!==void 0?s.jsx(co,{children:s.jsx(pt,{reportId:n.reportId,nodes:a.classHierarchy,classesListFetchState:a.fetchState,selectedView:a.uiState.accountViewMode,showClassAccountNumber:i,showAccountGroups:e.isZeniCOAUsed??!0,onSaveClick:ae,classesToBeFilteredOut:a.classesToFilterOut,isClassViewDisabled:r.mode==="forecast_mode",firstMonthOfFY:a.firstMonthOfFY,onOpenAccountViewMode:w,onResyncReports:e.onResyncReports,reportsResyncFetchState:e.reportsResyncFetchState,lastRefreshSuccessTime:a?.status?.lastRefreshSuccessTime})}):null]}):null})},po=(e,t,o=!0)=>{switch(e.reportId){case"net_burn_or_income":return Qs(e,t,o);case"net_burn_or_income_by_classes":return Xs(e,t,o);case"revenue":return oo(e,t,o);case"revenue_by_classes":return so(e,t,o);case"cash_position":return Ks(e,t,o);case"cash_in_cash_out":return Js(e,t,o);case"operating_expenses":return to(e,t,o);case"operating_expenses_by_classes":return eo(e,t,o);default:return}},uo=e=>e.includes("this_period_vs_last_period_percent")?"compare_mode_percent":"compare_mode_amount",mo=u.div`
|
|
326
|
+
display: flex;
|
|
327
|
+
flex: 1 1 auto;
|
|
328
|
+
min-height: 100%;
|
|
329
|
+
flex-direction: column;
|
|
330
|
+
width: 100%;
|
|
331
|
+
background-color: ${e=>e.theme.colors.grey4};
|
|
332
|
+
`,go=u.div`
|
|
333
|
+
position: relative;
|
|
334
|
+
box-shadow: ${e=>`2px 2px ${d.sp1} ${e.theme.colors.dropShadowNormal}`};
|
|
335
|
+
background-color: ${e=>e.theme.colors.grey5};
|
|
336
|
+
padding-left: ${e=>se.wrapperPadding.valuePx(e.windowSize)};
|
|
337
|
+
padding-right: ${e=>se.wrapperPadding.valuePx(e.windowSize)};
|
|
338
|
+
`,ho=u.div`
|
|
339
|
+
display: flex;
|
|
340
|
+
justify-content: center;
|
|
341
|
+
padding: ${d.sp6} ${d.sp0};
|
|
342
|
+
`,fo=u.div`
|
|
343
|
+
display: flex;
|
|
344
|
+
flex-direction: column;
|
|
345
|
+
justify-content: center;
|
|
346
|
+
align-items: center;
|
|
347
|
+
height: 100vh;
|
|
348
|
+
margin-top: ${d.sp8};
|
|
349
|
+
`,Zo=e=>{const t=O(),o=J(),[n,a]=_.useState(!1),r=f.getLocalizedStrings(),{reportLabels:p,selectedRangeReport:i,selectedClassesViewRangeReport:c,uiState:l,downloadParams:g,analytics:m,onBackClick:b,updateDownloadStateHandler:w,onAdditionalBalanceSelectionChanged:x}=e,{insights:v}=i,{selectedCOABalancesRange:S,timeframe:h,selectedAdditionalBalances:C,downloadState:$}=l,W=i.availableNumberOfPeriods!=null&&i.availableNumberOfPeriods<2,B=l.mode==="compare_mode"&&!W,F=Ce(),Y=F.loggedInUserRole!=null&&!D.hasInvestorBankerLevelAccess(F.loggedInUserRole),E=e.selectedRangeReport.reportId==="cash_in_cash_out"||e.selectedRangeReport.reportId==="cash_position";_.useEffect(()=>{async function z(){await Rt({report:c!==void 0&&c.uiState.accountViewMode==="classes"?c:i,filter:i.filter,coaBalancesRange:S,isCompareModeOn:B,reportView:c!==void 0?c.uiState.accountViewMode:"account_group",classesToFilterOut:c!==void 0?c.uiState.classesToFilterOut:[],...g,reportType:Y||E?"more_detailed":"detailed",isZeniCOAUsed:e.isZeniCOAUsed??!0}),m?.trackDownload(I(i.reportId),U(h),"excel",B),w("Completed")}n&&$!=="In-Progress"&&(a(!1),w("In-Progress"),z())},[g,$,i.filter,n,B,S,i,c,h,m,w,Y,E,e.isZeniCOAUsed]);const L=i.availableNumberOfPeriods==null||i.availableNumberOfPeriods===0||i.allTimeframeTicks.length===0,H=i.fetchState==="In-Progress"||i.fetchState==="Not-Started",y=(e.reportsResyncFetchState==="In-Progress"||c?.fetchState==="In-Progress")&&c?.uiState.accountViewMode==="classes";_.useEffect(()=>{const z=B||l.mode==="forecast_mode"?3:1;x(B,C,z)},[t]);const j=z=>{e.autoCompleteData?.autoCompleteText!=null&&e.analytics?.trackSearch(Ze.Event.search,I(i.reportId),z.type,z.name,e.autoCompleteData?.autoCompleteText),e.autoCompleteActions?.onAutoCompleteEntity?.(z)},{autoCompleteData:G,autoCompleteActions:q,scrollPosition:ae,...k}=e,P=s.jsx(qe,{downloadReportOptions:{type:"simple_menu",downloadMenu:{simpleMenuItems:[{type:"excel",isDisabled:L,isDownloading:$==="In-Progress"}],onDownloadClick:async z=>{if(z==="excel")if($==="In-Progress"){console.log("Download is already in progress!");return}else a(!0)}}}});return s.jsxs(mo,{children:[s.jsx(Ge,{title:p.reportTitle,backgroundColor:o.colors.grey5,onBackClick:b,rightSideComponent:P,downloadPresent:!0,searchAutoComplete:{autoCompleteData:e.autoCompleteData,autoCompleteActions:{...e.autoCompleteActions,onAutoCompleteEntity:j}},source:"DashboardReportPage"}),H||y?s.jsx(fo,{children:s.jsx(Ue,{size:"Standard",start:!0})}):L?s.jsx(Pt,{style:{background:o.colors.grey5},emptyContentText:r.common.noReport.replace("_item-name_",`${r.reportTitleById.operating_expenses.toLowerCase()}`),EmptyContentImage:$t}):s.jsxs(s.Fragment,{children:[s.jsxs(go,{windowSize:t,children:[s.jsx(wo,{...k}),s.jsx(bo,{highlightedRangeReport:i,uiState:l}),s.jsx(xo,{...k}),s.jsx(ho,{children:s.jsx(ut,{insights:v})})]}),s.jsx(_o,{scrollPosition:ae,...k})]})]})},bo=X.memo(Ut,K),xo=X.memo(Jt,K),_o=X.memo(lo,K),wo=X.memo(Us,K);export{Zo as default};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{_ as $,
|
|
1
|
+
import{_ as $,gW as u,X as y,j as l,o as i,s as d,m as c}from"./index-CvH632ro.js";import{n as t}from"./vendor-CnQcJ2Lu.js";import{g as k}from"./BoxItem-dOIVDQzt-BM2Or2XI.js";import{o as v}from"./commonDimensions-C9IpJAVN-CUmNJDhl.js";function M({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(P,{windowSize:o,children:[l.jsx(W,{windowSize:o}),l.jsx(R,{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(A,{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"};
|
|
@@ -58,7 +58,7 @@ import{_ as $,gU as u,X as y,j as l,o as i,q as d,f as c}from"./index-BPBiFjSz.j
|
|
|
58
58
|
-webkit-box-orient: vertical;
|
|
59
59
|
-webkit-line-clamp: 1;
|
|
60
60
|
display: -webkit-box;
|
|
61
|
-
`,
|
|
61
|
+
`,W=t.div`
|
|
62
62
|
display: ${e=>e.windowSize==="small"?"none":"block"};
|
|
63
63
|
width: ${i.sp1};
|
|
64
64
|
height: ${i.sp1};
|
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
import{u as S,X as z,
|
|
2
|
-
margin: ${t=>`${r.sp0} ${
|
|
3
|
-
`,
|
|
1
|
+
import{u as S,X as z,h0 as C,j as e,aW as D,M as Y,ao as B,o as r,g,bT as F,l as L,C as R,w as T,s as A,p as b,dc as I,dd as E,d7 as N,de as O}from"./index-CvH632ro.js";import{b as f,n as a}from"./vendor-CnQcJ2Lu.js";import{$ as P}from"./BoxItem-dOIVDQzt-BM2Or2XI.js";import{o as V}from"./commonDimensions-C9IpJAVN-CUmNJDhl.js";import{H as X}from"./DepositAccTransactionItem-CzhTsz8T-D_UbOtXk.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.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=I(t,o=>o.transactionDate.format(n.dateFormat.visual.MMMDCommaYYYYformat)),m=E(d,o=>o.length>0);return N(m,o=>({date:o[0].transactionDate,transactions:O(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*V.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:P(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
4
|
display: flex;
|
|
5
5
|
height: 100%;
|
|
6
6
|
flex: 1 1 auto;
|
|
7
7
|
flex-direction: row;
|
|
8
8
|
justify-content: center;
|
|
9
9
|
align-items: flex-end;
|
|
10
|
-
`,
|
|
10
|
+
`,K=a.div`
|
|
11
11
|
display: flex;
|
|
12
12
|
height: 100%;
|
|
13
13
|
flex-direction: column;
|
|
14
14
|
width: 100%;
|
|
15
15
|
padding-bottom: ${r.sp7};
|
|
16
|
-
`,
|
|
16
|
+
`,Q=a(A)`
|
|
17
17
|
display: flex;
|
|
18
18
|
color: ${t=>t.theme.colors.grey2};
|
|
19
|
-
`,
|
|
19
|
+
`,U=a(T)`
|
|
20
20
|
display: flex;
|
|
21
21
|
height: 21px;
|
|
22
22
|
margin-bottom: ${r.sp2};
|
|
@@ -27,14 +27,14 @@ import{u as S,X as z,g_ as C,j as e,aW as D,M as Y,ai as B,o as r,g,bR as F,l as
|
|
|
27
27
|
flex-direction: column;
|
|
28
28
|
width: 100%;
|
|
29
29
|
height: 100%;
|
|
30
|
-
`,
|
|
30
|
+
`,W=a.div`
|
|
31
31
|
display: flex;
|
|
32
32
|
flex: 1 1 auto;
|
|
33
33
|
flex-direction: column;
|
|
34
34
|
box-shadow: ${t=>`${r.sp0} 2px ${r.sp1} ${t.theme.colors.dropShadowNormal}`};
|
|
35
35
|
border-radius: ${r.sp2};
|
|
36
36
|
background-color: ${t=>t.theme.colors.grey5};
|
|
37
|
-
`,
|
|
37
|
+
`,Z=a(F)`
|
|
38
38
|
scrollbar-width: thin;
|
|
39
39
|
scrollbar-color: transparent transparent;
|
|
40
40
|
&::-webkit-scrollbar {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{at as w,X as p,j as i,M as f,C as o,o as n,au as x,Q as s,h as d,p as a}from"./index-CvH632ro.js";import{n as r,b as t}from"./vendor-CnQcJ2Lu.js";const C=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:g}=f.getLocalizedStrings(),{businessVerification:m}=g,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)};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{X as q,a as U,M as $,
|
|
1
|
+
import{X as q,a as U,M as $,c3 as V,H as Q,l as j,j as n,bO as X,bQ as Y,bR as _,F as G,a7 as J,C as u,eR as K,o as Z,as as ee,p as a}from"./index-CvH632ro.js";import{b as N,n as h}from"./vendor-CnQcJ2Lu.js";import{e as ne}from"./BankAccountSection-BGfiGdYG-BvbymoQK.js";import{M as te}from"./MagicLinkTitleSection-GAlgtNgO-BKAs3T24.js";import{W as ae,A as oe}from"./BankAccountWarningSection-Cd5lC0dV-ChbciCQi.js";import{T as ie}from"./MailingDetailsSection-DwEajxFH-BrjelhuF.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])},B="domesticWireDetailsPage",f="bankAccountSection",w="mailingAddressSection",T=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:R,amount:D,onSaveHandler:P,onWireDetailsUpdated:z,onFetchBankName:E,onAddressClick:L,onBackClick:C}=e,l=q(),c=U({mode:"onBlur",reValidateMode:"onChange",defaultValues:N.useMemo(()=>se(s,r),[s,r])}),[M,p]=N.useState(!1),t=$.getLocalizedStrings().spendManagement.billPay.vendorCreation,W=$.getLocalizedStrings().common.footer,F=t.wireDetails.domestic,I={onOkClick:()=>{p(!1),c.reset(),C?.()},onCancelClick:()=>{p(!1)}},H=async(k,m)=>{const d=m[f].bankRoutingNumber;z(m),k===`${f}.bankRoutingNumber`&&d?.length===9&&K.test(d)===!0&&E?.(d)};N.useEffect(()=>{const k=c.watch((m,{name:d})=>{d!=null&&m!=null&&V(()=>H(d,m))});return()=>{k.unsubscribe()}});const O=c.handleSubmit(k=>{b.fetchState!=="In-Progress"&&P("wire")}),S=!Q(y!=null?j.getFormattedAddress(y):y,r!=null?j.getFormattedAddress(r):r)||re(s)||c.formState.isDirty;return n.jsxs(me,{children:[n.jsxs(le,{size:l,children:[M===!0?n.jsx(X,{titleComponent:n.jsx(_,{children:t.discardTitle}),descriptionComponent:n.jsx(Y,{children:t.discardDescription}),primaryButtonText:t.discard,secondaryButtonText:t.cancel,action:I}):null,n.jsx(ae,{header:g?n.jsx(te,{companyName:v??"",currencySymbol:R??"",amount:D??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(G,{...c,children:n.jsxs("form",{id:T(B),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(J,{formId:T(B),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:W.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
2
|
padding-left: ${e=>i.paddingLeft.valuePx(e.size)};
|
|
3
3
|
padding-right: ${e=>i.paddingRight.valuePx(e.size)};
|
|
4
4
|
padding-top: ${e=>i.paddingTopBottom.valuePx(e.size)};
|