@zeniai/web-cockpit-ui 1.14.72-dev → 1.14.72-dev-betaSK01
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-BZFkcCOG-Bm0yzLzS.js → ACHDetailsPage-BZFkcCOG-WfBPHoUX.js} +2 -2
- package/dist/assets/{AIPerformancePage-DtNLjoUW-C8WssBlV.js → AIPerformancePage-DtNLjoUW-CinUSJg2.js} +124 -124
- package/dist/assets/{AccountInfoPage-D-E_-WpE-D3xkesKo.js → AccountInfoPage-D-E_-WpE-DJyb7x4k.js} +2 -2
- package/dist/assets/{AccountInfoPageContent-B8GKrtCm-Bl_GPEk1.js → AccountInfoPageContent-B8GKrtCm-10kK72ec.js} +13 -13
- package/dist/assets/AccountLockedInfoModal-BD7Nb81U-ZCs8qzoa.js +59 -0
- package/dist/assets/AccountReconDetailsDrawerPage-D-_ME0pV-BuvZZBZ-.js +239 -0
- package/dist/assets/{AccountRow-Be3LIHO--AtWCxnkE.js → AccountRow-Be3LIHO--BjLJB43L.js} +32 -32
- package/dist/assets/AccountsPromoCardStack-CdBwPVgI-CkQ7kJh8.js +207 -0
- package/dist/assets/{AddAddressForCardDrawer-Lm7cn4kq-BwSuj-eK.js → AddAddressForCardDrawer-Lm7cn4kq-DzFp-OyN.js} +2 -2
- package/dist/assets/{AddToWalletPage-nSq-9dQy-DNXeo8yV.js → AddToWalletPage-nSq-9dQy-D56Hf4hb.js} +13 -13
- package/dist/assets/AgingReportsPage-L0zQxwCf-D3sUJmot.js +79 -0
- package/dist/assets/AllUserItems-CvwaOEhu-DISgj-9d.js +192 -0
- package/dist/assets/ApAgingDetailPage-B_78aSEv-DLL7XkHo.js +46 -0
- package/dist/assets/{AppBasePage-Br0WbQRY-C5P2SI_a.js → AppBasePage-Br0WbQRY-BAK8zLlg.js} +5 -5
- package/dist/assets/{AppDrawerContent-BZODvVvi-DO9-i0u3.js → AppDrawerContent-BZODvVvi-DQ-V9QL0.js} +7 -7
- package/dist/assets/ApprovalRulesSettingsPage-Dxd7A3hZ-CRTSWRxG.js +47 -0
- package/dist/assets/ArAgingChart-BezVy1Sm-ClcQ64wd.js +24 -0
- package/dist/assets/{ArAgingDetailPage-BlV3iJeW-DvSoM4Rd.js → ArAgingDetailPage-BlV3iJeW-D0lCDh_0.js} +3 -3
- package/dist/assets/{AttachmentView-DhluaeAV-DnrJUkr5.js → AttachmentView-DhluaeAV-DsM43aN0.js} +9 -9
- package/dist/assets/{BankAccountSection-GDEQdiGL-CuwfGvXF.js → BankAccountSection-GDEQdiGL-CmBLlIS1.js} +5 -5
- package/dist/assets/{BankAccountWarningSection-Di_BsiJC-Cp36wJhl.js → BankAccountWarningSection-Di_BsiJC-_Ul1tNJQ.js} +9 -9
- package/dist/assets/BankConnectionsSettingsPage-D5hI4xtm-ik9FJnty.js +425 -0
- package/dist/assets/BillDetailPage-CDAh8Jtl-wk3WJY1W.js +266 -0
- package/dist/assets/{BillPayApprovalRuleDetailPage-BzyTn4mC-DYCBn6RW.js → BillPayApprovalRuleDetailPage-BzyTn4mC-DxDRXjZW.js} +1 -1
- package/dist/assets/{BillPayApprovalRulesPage-DDJ-LxQz-D20J03DB.js → BillPayApprovalRulesPage-DDJ-LxQz-B-4hhNoy.js} +7 -7
- package/dist/assets/BillPayPromoPage-B2YcxWc9-ChjVVUdj.js +84 -0
- package/dist/assets/BillPaySetUpPage-oJvoWpFu-ZQ44J65y.js +42 -0
- package/dist/assets/BillingSettingsPage-BRsKYzT5-C1YZEc97.js +44 -0
- package/dist/assets/BillsBulkReviewDrawerPage-B7tORIok-09a60H-u.js +1 -0
- package/dist/assets/{BoxItem-COIjjFrn-DqU4ZyNU.js → BoxItem-COIjjFrn-CYZK_lth.js} +4 -4
- package/dist/assets/BusinessVerificationPage-Nw_fedst-Ce7UF4J6.js +138 -0
- package/dist/assets/{CardNumberSubText-CmhH95Ff-CLBGKyAX.js → CardNumberSubText-CmhH95Ff-D70_vfvB.js} +2 -2
- package/dist/assets/{CashbackDetailPage-BPLjvuA3-362WFi2j.js → CashbackDetailPage-BPLjvuA3-D2AlurqK.js} +56 -56
- package/dist/assets/{ChargeCardDetailPage-qOu4cPGd-BUoeKuHJ.js → ChargeCardDetailPage-qOu4cPGd-CMQ9x73T.js} +215 -215
- package/dist/assets/ChargeCardListPage-v5hH98Wi-BhiUhdgm.js +406 -0
- package/dist/assets/{ChargeCardListTable-BGWV4zJl-fPTlw7hA.js → ChargeCardListTable-BGWV4zJl-CcT6S7FA.js} +51 -51
- package/dist/assets/ChargeCardPromoPage-CPEaGOL3-CiA1pNTj.js +222 -0
- package/dist/assets/ChargeCardSetupPage-G5Rn0o6y-Bqw8Kqbv.js +36 -0
- package/dist/assets/{ChargeCardStatementsPage-CJgUrcLz-BpTcE_Fq.js → ChargeCardStatementsPage-CJgUrcLz-BY-SWhAj.js} +3 -3
- package/dist/assets/ChargeCardUtils-BRgkrCTs-Bo37IpfS.js +1 -0
- package/dist/assets/{ChaseOverlay-BC_4vwtb-ZJ37WP7g.js → ChaseOverlay-BC_4vwtb-BQqHx8M-.js} +4 -4
- package/dist/assets/{CheckDepositDrawerPage-CDo5E13X-BcLnzbHC.js → CheckDepositDrawerPage-CDo5E13X-CKNKZDF1.js} +21 -21
- package/dist/assets/CollapsableReportTable-7iAngywY-BhPujiYA.js +2932 -0
- package/dist/assets/CompanyOfficerDetailsSection-CJKyxEnf-B2MTqDnr.js +260 -0
- package/dist/assets/{CompanyPassportCard-D3F01eJL-CYg3XwZh.js → CompanyPassportCard-D3F01eJL-BhEJq4YF.js} +1 -1
- package/dist/assets/CompanyPassportPage-BQoEcPJr-CLTXsXdq.js +574 -0
- package/dist/assets/CompleteProfile-D5e9TQgy-B3NCfzYL.js +52 -0
- package/dist/assets/{ConfettiBurst--HIHB7Os-CFkZhGnX.js → ConfettiBurst--HIHB7Os-S4QyIwiq.js} +1 -1
- package/dist/assets/{CreateOrEditVendorPage-D9jmSrKr-BqbzMjKm.js → CreateOrEditVendorPage-D9jmSrKr-DpdjBsSE.js} +11 -11
- package/dist/assets/CreditCardPaymentDrawerPage-DXeq4z9l-C-tETdxW.js +224 -0
- package/dist/assets/{CreditCardPaymentPlgSection-8ZShMO31-D_nbIzHo.js → CreditCardPaymentPlgSection-8ZShMO31-COciJwfu.js} +10 -10
- package/dist/assets/{CurrencySelectField-nhg_dhDw-Ct_sJsLw.js → CurrencySelectField-nhg_dhDw-nZHVWMo0.js} +6 -6
- package/dist/assets/{CustomerOnboardingActivationPage-CoGvz7Kd-2HboMU2B.js → CustomerOnboardingActivationPage-CoGvz7Kd-1Tt5lNh3.js} +5 -5
- package/dist/assets/CustomerOnboardingContainerPage-CZRkKPDD-CdqN8qku.js +1 -0
- package/dist/assets/{CustomerOnboardingDetailPageSkeleton-DUGRKWtN-Bm0dGA9J.js → CustomerOnboardingDetailPageSkeleton-DUGRKWtN-ClKlbRH6.js} +13 -13
- package/dist/assets/{CustomerOnboardingNoStepsPage-Cc5frP29-BNFSu_0c.js → CustomerOnboardingNoStepsPage-Cc5frP29-Pt9D5fwX.js} +6 -6
- package/dist/assets/CustomerOnboardingPage-zBqp9QN6-BMM-roBm.js +107 -0
- package/dist/assets/CustomerOnboardingProductSuitePage-BbJ4oiCI-DgRG1l8f.js +202 -0
- package/dist/assets/{Dashboard-D6Ba5oj0-DGZ5Ekyf.js → Dashboard-D6Ba5oj0-C5iZr7Dc.js} +262 -262
- package/dist/assets/DashboardReportPage-DTMbYOWH-B0H-UpGg.js +371 -0
- package/dist/assets/{DashboardSidebarBackgroundAnimation-Locz2zHR-BPk9MxB4.js → DashboardSidebarBackgroundAnimation-Locz2zHR-Bhgpjfq-.js} +1 -1
- package/dist/assets/{DepositAccTransactionItem-B0BGwVqF-CxL2uxQm.js → DepositAccTransactionItem-B0BGwVqF-Cwta5ei3.js} +5 -5
- package/dist/assets/DepositAccTransactionListPage-CcO673ZL-D1h5XemH.js +66 -0
- package/dist/assets/DomesticWireDetailsPage-D5hbPNCt-Bhq4tM9b.js +21 -0
- package/dist/assets/DownloadOverlay-DRcasKoB-BTfb8tZj.js +439 -0
- package/dist/assets/{DrawerPage-BRD6cE6J-CdG9rNJx.js → DrawerPage-BRD6cE6J-1UMYAHb7.js} +13 -13
- package/dist/assets/EditPeoplePage-Zzo62if7-Clw_H_tG.js +55 -0
- package/dist/assets/EditReimbursementDetailPage-D59OJdZ1-DgdwTZwz.js +865 -0
- package/dist/assets/EntityDetailPage-CzlzOW8n-CjIrlTQm.js +18 -0
- package/dist/assets/{EntitySummarySection-BRt1kPDf-BrvMzC_z.js → EntitySummarySection-BRt1kPDf-DQbEIQFx.js} +28 -28
- package/dist/assets/{ExpenseAutomationOverviewPage-vUkGameq-D28DcERt.js → ExpenseAutomationOverviewPage-vUkGameq-CHnaqssF.js} +50 -50
- package/dist/assets/ExpenseAutomationPage-Cm_IiRlb-DxIRsn8B.js +1650 -0
- package/dist/assets/ExpressPayPage-DdQiFzDu-CXe6diRB.js +168 -0
- package/dist/assets/{FeaturePreviewPage-CQN2xThT-D8GcVVCI.js → FeaturePreviewPage-CQN2xThT-DJXN60Ac.js} +3 -3
- package/dist/assets/{FollowStepsSection-DdwEVWhG-XjqeMDlz.js → FollowStepsSection-DdwEVWhG-yjJ5FRCa.js} +21 -21
- package/dist/assets/GlobalReviewListPage-DHn2Uk8R-Dz5cpAt1.js +291 -0
- package/dist/assets/HelpButton-BNMy-6ce-CVlMGZqS.js +28 -0
- package/dist/assets/{InformationCardStack-Cw7c9Pnd-JKEjusS_.js → InformationCardStack-Cw7c9Pnd-BX2LTL8l.js} +2 -2
- package/dist/assets/InsightsCardStack-CaMZiCnn-DLt2ZmbV.js +79 -0
- package/dist/assets/{InsightsSection-JIKb9lz3-CSUvMdaP.js → InsightsSection-JIKb9lz3-Hi0aN8hq.js} +5 -5
- package/dist/assets/{IntegrationsSettingsPage-h4pel2yK-CfkisAjm.js → IntegrationsSettingsPage-h4pel2yK-CxqwarZy.js} +4 -4
- package/dist/assets/{InternationalWireSwiftDetailsPage-C2SnHEV1-D4h6wt17.js → InternationalWireSwiftDetailsPage-C2SnHEV1-CzlIxaS1.js} +16 -16
- package/dist/assets/{InternationalWireVerificationPage-Dk11ztF7-CGQwkBKG.js → InternationalWireVerificationPage-Dk11ztF7-BCCRbUea.js} +28 -28
- package/dist/assets/{InviteFormPage-CrtH0cSG-lBcBfRNC.js → InviteFormPage-CrtH0cSG-eVIYbN0r.js} +16 -16
- package/dist/assets/{InvitePageListView-DUoopPip-D3WES4Ay.js → InvitePageListView-DUoopPip-D5qrm4ww.js} +164 -164
- package/dist/assets/InvitePeoplePage-C3ecL8XJ-olYxQVFB.js +12 -0
- package/dist/assets/InvoiceUploadSection-DoR834b4-CjFOCIIZ.js +140 -0
- package/dist/assets/{IssueChargeCardPage-D6DCohbK-CY0NLJ-D.js → IssueChargeCardPage-D6DCohbK-BMG4Ljit.js} +10 -10
- package/dist/assets/{LabeledAddressValue-C3R0DSjj-DSFQoK0_.js → LabeledAddressValue-C3R0DSjj-CpxXKm9c.js} +1 -1
- package/dist/assets/LabeledAddressValueField-YP7bXlgZ-D9-PqJNp.js +45 -0
- package/dist/assets/{LabeledControlledCheckBoxField-zwoLFM1n-WAKwiqVu.js → LabeledControlledCheckBoxField-zwoLFM1n-B44wDW2V.js} +1 -1
- package/dist/assets/{LabeledCreatableSingleSelectField-BhaeopJt-r1U--LmU.js → LabeledCreatableSingleSelectField-BhaeopJt-tsmH64cn.js} +7 -7
- package/dist/assets/LabeledDocumentField-ED03S2kQ-BGespvxP.js +41 -0
- package/dist/assets/{LabeledDropDownFormattedTextField-brzU_fnp-DR9C1PhE.js → LabeledDropDownFormattedTextField-brzU_fnp-hUkbh0bF.js} +5 -5
- package/dist/assets/{LabeledText-BESSkt5Z-DvRhicFs.js → LabeledText-BESSkt5Z-CPDVK04g.js} +1 -1
- package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-vEIvvd-n-BRFp4N3Z.js → LabeledUserSingleSelectWithSubtitlesField-vEIvvd-n-DaWgPr9f.js} +18 -18
- package/dist/assets/{LabeledZeniRolesDropDownField-BXTCN4j2-C9dcF_vL.js → LabeledZeniRolesDropDownField-BXTCN4j2-CLEMt0Ht.js} +33 -33
- package/dist/assets/LinkJETransactionPage-_ROjxBMO-C6IEO3Ec.js +98 -0
- package/dist/assets/{LockCardPage-DYfgK11k-CA2sqFlt.js → LockCardPage-DYfgK11k-BFAZ4k7o.js} +71 -71
- package/dist/assets/LowBalancePopup-CZDcHxyW-BSR036zV.js +34 -0
- package/dist/assets/{MagicLinkACHDetailsPage-CLXcRbZ--CVcTUs2d.js → MagicLinkACHDetailsPage-CLXcRbZ--B-X6oebP.js} +1 -1
- package/dist/assets/{MagicLinkDomesticWireDetailsPage-CZlZr96w-BPglJFOV.js → MagicLinkDomesticWireDetailsPage-CZlZr96w-DllJxuHV.js} +1 -1
- package/dist/assets/{MagicLinkInternationalWireDetailsPage-DhPjvv0o-DFwZaRYm.js → MagicLinkInternationalWireDetailsPage-DhPjvv0o-BIaiGIsd.js} +1 -1
- package/dist/assets/{MagicLinkSuccessPage-Bh2nlLPN-Ddx1hbRe.js → MagicLinkSuccessPage-Bh2nlLPN-6rfZopUb.js} +3 -3
- package/dist/assets/MagicLinkTitleSection-Cn1v72Rs-Dx0fyRw5.js +17 -0
- package/dist/assets/{MailingDetailsSection-9RwlQxVG-C09sdGhg.js → MailingDetailsSection-9RwlQxVG-_UrE81Sw.js} +2 -2
- package/dist/assets/{MeetingCalenderPopup-BxV_UIXP-B9VDTxkT.js → MeetingCalenderPopup-BxV_UIXP-BXGtVHle.js} +4 -4
- package/dist/assets/Menu-B6iTf2H7-Cu2Vb11u.js +17 -0
- package/dist/assets/MyBankConnectionsSettingsPage-IPPiH6jv-uU5Nku5W.js +110 -0
- package/dist/assets/MyPendingActivationChargeCardListPage-BTGb1yIE-yyVAdXqO.js +6 -0
- package/dist/assets/MyProfileSettingsPage-BRK5nWg2-BCkp79gR.js +85 -0
- package/dist/assets/{NavBarWithPicker-CKh_HMfV-U1f60LTo.js → NavBarWithPicker-CKh_HMfV-i4ObGPrS.js} +4 -4
- package/dist/assets/{NavigationArrow-XZmJpDrE-BSGdgz-m.js → NavigationArrow-XZmJpDrE-DolsLofY.js} +2 -2
- package/dist/assets/{NavigationDots-BxPgEW_p-CnLRJgGA.js → NavigationDots-BxPgEW_p-Cjr25BX_.js} +3 -3
- package/dist/assets/{NewGlobalMerchantPage-CQzrDe0S-CFbklyjG.js → NewGlobalMerchantPage-CQzrDe0S-K2NUXsKS.js} +35 -35
- package/dist/assets/{NoDataChart-5E72SElf-Bfyft1Tp.js → NoDataChart-5E72SElf-3CnLxisw.js} +4 -4
- package/dist/assets/{NoDataTable-BwHbkm3l-C4AJlFQY.js → NoDataTable-BwHbkm3l-VTHrTfOq.js} +2 -2
- package/dist/assets/{NotFoundPage-6udaksBZ-Bdrzyyzv.js → NotFoundPage-6udaksBZ-DUgTbMe0.js} +1 -1
- package/dist/assets/{NotificationSettingsPage-DkYmxMgg-B7fNoy2R.js → NotificationSettingsPage-DkYmxMgg-BVRECpS0.js} +32 -32
- package/dist/assets/{NotificationsListConfig-FGxLgO1o-Bjqs17aQ.js → NotificationsListConfig-FGxLgO1o-C0kfEx8A.js} +1 -1
- package/dist/assets/NotificationsPage-C7lSAnUb-CEUwTZM_.js +685 -0
- package/dist/assets/{OpExByVendorPage-CM0RluUk-BgpW2giu.js → OpExByVendorPage-CM0RluUk-PZB-G7xm.js} +4 -4
- package/dist/assets/{OverlayContainerPage-BKHs_4eI-mLdiagVZ.js → OverlayContainerPage-BKHs_4eI-CSsJiY_P.js} +2 -2
- package/dist/assets/PandLWithForecastPage-W4jlNjml-8wxKAhbo.js +107 -0
- package/dist/assets/{PaymentAccountSetupBillingAddressSection-DQ82eP9Q-ChYOGpfy.js → PaymentAccountSetupBillingAddressSection-DQ82eP9Q-Cwm2aoR2.js} +9 -9
- package/dist/assets/{PeoplePage-CB3T3u_F-DC1PdCPq.js → PeoplePage-CB3T3u_F-BR69e4ui.js} +96 -96
- package/dist/assets/{PortfolioAllocationFormPage-CZkJD6tu-CmTdPnvM.js → PortfolioAllocationFormPage-CZkJD6tu-1mutznS7.js} +13 -13
- package/dist/assets/{PortfolioDetails-D4yT8r35-DSk0Sc23.js → PortfolioDetails-D4yT8r35-BZAutCbg.js} +34 -34
- package/dist/assets/{ProductsCarousel-CR7_rk0K-DQWJaP-C.js → ProductsCarousel-CR7_rk0K-CKMGS-I4.js} +7 -7
- package/dist/assets/{PromoBaseCards-BAPolzxE-DLtmx-3v.js → PromoBaseCards-BAPolzxE-DjUVr5kX.js} +1 -1
- package/dist/assets/{QBOConnectionDialog-D3eazhj7-fJDNmSLU.js → QBOConnectionDialog-D3eazhj7-DCdAj667.js} +7 -7
- package/dist/assets/{QBOSetupSection-Cjjhm_Ee-CrlXRkit.js → QBOSetupSection-Cjjhm_Ee-CX61tnWs.js} +12 -12
- package/dist/assets/ReimbursementApprovalRuleDetailPage-eidNY097-DDLdjGbX.js +26 -0
- package/dist/assets/{ReimbursementApprovalRulesPage-GSzJGSuy-H2GhhV11.js → ReimbursementApprovalRulesPage-GSzJGSuy-DOLnlfRe.js} +12 -12
- package/dist/assets/ReimbursementDetailPage-AvqEBxbz-ByJDRCe5.js +314 -0
- package/dist/assets/ReimbursementPromoPage-PshodHUZ-CEBQKb7P.js +84 -0
- package/dist/assets/ReimbursementSetUpPage-6P4FT-UC-BMbaH1eU.js +140 -0
- package/dist/assets/ReimbursementsBulkReviewDrawerPage-Cas6GzVp-CEJlVV08.js +1 -0
- package/dist/assets/{ReloadCard-Dpoxd9nE-B9DlyhD4.js → ReloadCard-Dpoxd9nE-_RGkkZLm.js} +5 -5
- package/dist/assets/{ReportTableViewSelector-Ci-WKrCO-DAZRgQwg.js → ReportTableViewSelector-Ci-WKrCO-D0sA8766.js} +30 -30
- package/dist/assets/ReportsPage-C7zirS74-oNrbhh6a.js +121 -0
- package/dist/assets/{RevenueChart-CXMBT3cr-DnDEiqPG.js → RevenueChart-CXMBT3cr-BigDcfmP.js} +29 -29
- package/dist/assets/ReviewDetailsPage-ClsyL5-w-rKSUEvaS.js +290 -0
- package/dist/assets/{ReviewOverlay-C6Kx7Hfm-IahzUsv3.js → ReviewOverlay-C6Kx7Hfm-Aab2M4el.js} +12 -12
- package/dist/assets/{RoleWithToolTip-BqI6M0x_-CwUqJeb5.js → RoleWithToolTip-BqI6M0x_-3Pz3ZAbU.js} +2 -2
- package/dist/assets/ScheduleDetailsFixedAssetsPage-zFyJPVpN-Dm8QVj-0.js +37 -0
- package/dist/assets/ScheduleDetailsPage-BftjSvA7-D97uCI5t.js +37 -0
- package/dist/assets/{ScheduleSequenceTable-lTN7r0p4-BFWt_8N-.js → ScheduleSequenceTable-lTN7r0p4-BmAjQVGV.js} +42 -42
- package/dist/assets/ScreenRoutes-Du6t5Ig_.js +206 -0
- package/dist/assets/SetUpAccountSection-Bnbi8X23-7-Jadv9H.js +378 -0
- package/dist/assets/{SetUpDefaultSection-Bm1eZSgT-BcxYXAIw.js → SetUpDefaultSection-Bm1eZSgT-9DFPAVat.js} +13 -13
- package/dist/assets/{SignIn-BlISBvt5-C9HXqHPg.js → SignIn-BlISBvt5-BSeULTEW.js} +28 -28
- package/dist/assets/SignInScreen-BN2xWnU-.js +1 -0
- package/dist/assets/SpendManagementListViewPage-ChNp8dgm-ByNxcaX6.js +123 -0
- package/dist/assets/SpendManagementPerTabPage-D-bOr2-6-C5z49u7s.js +754 -0
- package/dist/assets/SpendManagementSection-kucZgC-H-Cqflt6S1.js +230 -0
- package/dist/assets/SpendMgmtSetupAccountSection-de7hEmtE-9bAK-YlL.js +206 -0
- package/dist/assets/{StatementItem-BVIVLdDn-BLcyHqWZ.js → StatementItem-BVIVLdDn-DWQxeT2X.js} +2 -2
- package/dist/assets/StatementsPage-KnLUSJbm-DVR36Ge4.js +58 -0
- package/dist/assets/{StatusSwitcher-aAizq1mr-D4E7X1zy.js → StatusSwitcher-aAizq1mr-c-jcIGD9.js} +2 -2
- package/dist/assets/{SubTabSwitcher-COrYJ6CW-B2hsvJe_.js → SubTabSwitcher-COrYJ6CW-BIZF-iNv.js} +1 -1
- package/dist/assets/{SummaryCard-Dv0dWKBw-BnK7xgrF.js → SummaryCard-Dv0dWKBw-CGu-GHYa.js} +1 -1
- package/dist/assets/TaskManagementPage-CPLyyK1Y-BZe-OFxL.js +508 -0
- package/dist/assets/{TimeRangeSwitcher-ifkHfqEg-CGFdCObN.js → TimeRangeSwitcher-ifkHfqEg-VY1vzvIS.js} +3 -3
- package/dist/assets/{TimeframeSwitcher-BP-PxO5g-DG6ysLlp.js → TimeframeSwitcher-BP-PxO5g-DxTIS9PI.js} +1 -1
- package/dist/assets/{TimeframeSwitcherWithToggle-DH-PfsTQ-Dd12kokF.js → TimeframeSwitcherWithToggle-DH-PfsTQ-D7U0L-cV.js} +1 -1
- package/dist/assets/{TopExCard-Bam-Q4MV-GCmLzO6i.js → TopExCard-Bam-Q4MV-BsP_HKjG.js} +6 -6
- package/dist/assets/{TopExDetailPage-P0Twt5zZ-BElfoauE.js → TopExDetailPage-P0Twt5zZ-CoHp8hDQ.js} +12 -12
- package/dist/assets/TransactionDetailPage-D1Z1f-DD-BPMl_wDr.js +912 -0
- package/dist/assets/TransactionList-BzJEbOV9-0ST5sY1-.js +147 -0
- package/dist/assets/{TransactionListBig-u4SJBZTE-BZvqZwTB.js → TransactionListBig-u4SJBZTE-BlGBIBoN.js} +44 -44
- package/dist/assets/{TransactionListPage-D4GJ6i3l-BXLL3BhX.js → TransactionListPage-D4GJ6i3l-yaso0Nlb.js} +3 -3
- package/dist/assets/{TransactionVendorDetailPage-CuFHbm8c-Cl9iluIt.js → TransactionVendorDetailPage-CuFHbm8c-kFca8x3E.js} +5 -5
- package/dist/assets/{TransferDrawerPage-GD2I8ptj-B7cXbGdy.js → TransferDrawerPage-GD2I8ptj-CANT8JC_.js} +27 -27
- package/dist/assets/TreasuryOverviewPage-DySunaqy-Du5jK6WV.js +708 -0
- package/dist/assets/{TreasuryPromoPage-DW1f8_q1-CZjoBD0v.js → TreasuryPromoPage-DW1f8_q1-CkWefV3r.js} +6 -6
- package/dist/assets/{TreasurySetupPage-53k6ARHC-8YVNt5Wt.js → TreasurySetupPage-53k6ARHC-DuoYqIOy.js} +3 -3
- package/dist/assets/{TreasuryStatementsPage-pIshKNaR-Dtfk2lx_.js → TreasuryStatementsPage-pIshKNaR--8vN-IgR.js} +5 -5
- package/dist/assets/{TreasuryTaxLetterPage-B3PkB1al-CKVKJh1V.js → TreasuryTaxLetterPage-B3PkB1al-CkqZdxpj.js} +5 -5
- package/dist/assets/TreasuryTransferOrReviewPage-Dzq-FxSM-DKViGoiZ.js +576 -0
- package/dist/assets/TrendChart-B_5D-Zud-Cw_zgD-R.js +16 -0
- package/dist/assets/{TrendWithTransactions-mI_El5D1-SbfSjDf-.js → TrendWithTransactions-mI_El5D1-DUVZm_U-.js} +4 -4
- package/dist/assets/{UncategorizedAccountsMappingPage-LQeq8Gdv-BxpsIXJf.js → UncategorizedAccountsMappingPage-LQeq8Gdv-BNgZRg4x.js} +47 -47
- package/dist/assets/{UnitIntegrationPage-XOWqGHla-DR8O2yO4.js → UnitIntegrationPage-XOWqGHla-BIoTpmZ_.js} +11 -11
- package/dist/assets/UploadAdditionalDocumentOverlay-DhXRLBEg-BNMbNbJQ.js +38 -0
- package/dist/assets/{Vendor2FAPopup-BfqIHZBb-CksyyTez.js → Vendor2FAPopup-BfqIHZBb-DUpQFrOM.js} +1 -1
- package/dist/assets/{VendorACHDetailsPage-CswCvAFH-CdUK-HJH.js → VendorACHDetailsPage-CswCvAFH-DqnJleBx.js} +1 -1
- package/dist/assets/VendorDetailPage-CEX7xMIN-D29fVYfj.js +257 -0
- package/dist/assets/{VendorDomesticWireDetailsPage-DxrSjlTR-B4ZHtbXA.js → VendorDomesticWireDetailsPage-DxrSjlTR-GbXdyYXP.js} +1 -1
- package/dist/assets/{VendorFiling1099EditablePage-q1gQ8keD-BmDatzoV.js → VendorFiling1099EditablePage-q1gQ8keD-GKQT7vTw.js} +32 -32
- package/dist/assets/VendorFirstReviewPage-D9ogNmAK-DwoL9x7s.js +730 -0
- package/dist/assets/VendorInternationalWireDetailsPage-Ct689KuY-N7HCxAFy.js +152 -0
- package/dist/assets/{VendorInternationalWireSwiftDetailsPage-W0s1zQNC-ZgE8KOcO.js → VendorInternationalWireSwiftDetailsPage-W0s1zQNC-eVlfJ9f_.js} +1 -1
- package/dist/assets/{VendorsAccountsSection-C13Z2HN9-C2XOcHy1.js → VendorsAccountsSection-C13Z2HN9-DvGRJwYY.js} +4 -4
- package/dist/assets/VerifyDevice-C27gEWkZ-BrEq9dHz.js +112 -0
- package/dist/assets/{VideoPlayer-ByyqUuhG-DTMNeCaX.js → VideoPlayer-ByyqUuhG-CcmvFcG0.js} +1 -1
- package/dist/assets/{VideoPopup-DJrQQTPq-DoXO-Vwb.js → VideoPopup-DJrQQTPq-BZRShVLd.js} +4 -4
- package/dist/assets/{WarningsDrawerPage-B3Ht3VnM-DBDTIhyB.js → WarningsDrawerPage-B3Ht3VnM-C_aFzWZK.js} +5 -5
- package/dist/assets/ZeniAccountDetailPage-egmysAfI-CX7srLCt.js +300 -0
- package/dist/assets/{ZeniAccountListViewPage-q_v2FogF-B-baYGeD.js → ZeniAccountListViewPage-q_v2FogF-wW_PUJNB.js} +12 -12
- package/dist/assets/ZeniAccountNavBarPieces-HNIht0FM-azEwN9c2.js +14 -0
- package/dist/assets/{ZeniAccountPromoPage-CzncR6vK-DAONZr9A.js → ZeniAccountPromoPage-CzncR6vK-CoCFGvia.js} +21 -21
- package/dist/assets/{ZeniAccountSetupPage-TcdzEL_V-CApQPT0B.js → ZeniAccountSetupPage-TcdzEL_V-CPTq7KjK.js} +1 -1
- package/dist/assets/{ZeniCopyright-B7Q6IUGC-Ca3UXoxG.js → ZeniCopyright-B7Q6IUGC-DjtbTVnp.js} +1 -1
- package/dist/assets/{ZeniTransferAmountSlider-Dmf5xxv4-D_ugGHJW.js → ZeniTransferAmountSlider-Dmf5xxv4-D-BoRJmd.js} +3 -3
- package/dist/assets/addSubtractPeriod-CFvkmqm8.js +1 -0
- package/dist/assets/analyticsHelper-L-FpsGLH.js +1 -0
- package/dist/assets/analyticsHelper-or1KkBWk-CU2Z2CeD.js +1 -0
- package/dist/assets/{chartTypes-DCvOVjlS-BdPIN5WI.js → chartTypes-DCvOVjlS-CF3jsUNb.js} +1 -1
- package/dist/assets/{commonDimensions-C32v1F7H-CiAEfJl2.js → commonDimensions-C32v1F7H-C9uaBJ8J.js} +1 -1
- package/dist/assets/{detailCommon-CRAGrqoO-Cq9phP1q.js → detailCommon-CRAGrqoO-5xMc7u9M.js} +8 -8
- package/dist/assets/downloadPdf-D7p3yKmg-DrJJdcEl.js +1 -0
- package/dist/assets/{index-sAOH0Fje.js → index-kF4u7Flm.js} +511 -704
- package/dist/assets/{mapLoadingInProgressToTreeNode-CRwG2DSD-B4LnWZMC.js → mapLoadingInProgressToTreeNode-CRwG2DSD-CLLcsBiK.js} +1 -1
- package/dist/assets/{mapSectionWithAcOnlyToTreeNode-C9O-C2dp-BYZLhSZo.js → mapSectionWithAcOnlyToTreeNode-C9O-C2dp-4sjxXlit.js} +1 -1
- package/dist/assets/{mapSpacerToTreeNode-5aJk-sLn-DpF_Q8pH.js → mapSpacerToTreeNode-5aJk-sLn-CeZutbYy.js} +1 -1
- package/dist/assets/{mapTimeframeBalancesToTreeNode-CnviLujI-Do2_oG27.js → mapTimeframeBalancesToTreeNode-CnviLujI-rcfKFEh1.js} +1 -1
- package/dist/assets/{mapTimeframeBalancesToTreeNode-Cv4d4PqE-C559SZVp.js → mapTimeframeBalancesToTreeNode-Cv4d4PqE-BmreU2CJ.js} +1 -1
- package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-BaGM4krW-yJCRTG35.js → mapTimeframeHeaderLoadingInProgressToTreeNode-BaGM4krW-CkRgUU-m.js} +1 -1
- package/dist/assets/redux-D-TY61DZ.js +12 -0
- package/dist/assets/{toCOABalancesWithID-B3yVGPrV-B_BzNOYP.js → toCOABalancesWithID-B3yVGPrV-Dj01dEre.js} +1 -1
- package/dist/assets/toChartData-DEW0iT7T-DaQT4Adc.js +1 -0
- package/dist/assets/{treasuryColorHelper-13LJ_xhk-LqN_6Xl4.js → treasuryColorHelper-13LJ_xhk-5-aGYtqD.js} +1 -1
- package/dist/assets/{uploadAttachment-DVy2pZeJ-X-xSyfvF.js → uploadAttachment-DVy2pZeJ-DL6B1oGY.js} +25 -25
- package/dist/assets/{uploadReceipts-Dp1dvCjf-Bw0_dVvQ.js → uploadReceipts-Dp1dvCjf-BQPyxtgi.js} +1 -1
- package/dist/index.html +1 -1
- package/package.json +2 -2
- package/dist/assets/AccountLockedInfoModal-BD7Nb81U-CexK1k9m.js +0 -59
- package/dist/assets/AccountReconDetailsDrawerPage-D-_ME0pV-s74oVSdU.js +0 -239
- package/dist/assets/AccountsPromoCardStack-CdBwPVgI-0eZTGbZE.js +0 -207
- package/dist/assets/AgingReportsPage-L0zQxwCf-BGxthXxn.js +0 -79
- package/dist/assets/AllUserItems-CvwaOEhu-4FgiUHmj.js +0 -192
- package/dist/assets/ApAgingDetailPage-B_78aSEv-BIkW3as9.js +0 -46
- package/dist/assets/ApprovalRulesSettingsPage-Dxd7A3hZ-B57JU70m.js +0 -47
- package/dist/assets/ArAgingChart-BezVy1Sm-UplSlTlX.js +0 -24
- package/dist/assets/BankConnectionsSettingsPage-D5hI4xtm-CIHmOttI.js +0 -425
- package/dist/assets/BillDetailPage-CDAh8Jtl-0qBbZ__0.js +0 -266
- package/dist/assets/BillPayPromoPage-B2YcxWc9-CwLnyiow.js +0 -84
- package/dist/assets/BillPaySetUpPage-oJvoWpFu-CYkgRBSH.js +0 -42
- package/dist/assets/BillingSettingsPage-BRsKYzT5-gKM6YCmc.js +0 -44
- package/dist/assets/BillsBulkReviewDrawerPage-B7tORIok-Cjhni78W.js +0 -1
- package/dist/assets/BusinessVerificationPage-Nw_fedst-D0V3bhmc.js +0 -138
- package/dist/assets/ChargeCardListPage-v5hH98Wi-D_Ffaz0x.js +0 -406
- package/dist/assets/ChargeCardPromoPage-CPEaGOL3-BJBmWN7Q.js +0 -222
- package/dist/assets/ChargeCardSetupPage-G5Rn0o6y-DXJQIwPQ.js +0 -36
- package/dist/assets/ChargeCardUtils-BRgkrCTs-DoVoCmwL.js +0 -1
- package/dist/assets/CollapsableReportTable-7iAngywY-CxWB4sRz.js +0 -2932
- package/dist/assets/CompanyOfficerDetailsSection-CJKyxEnf-BshC7d2B.js +0 -260
- package/dist/assets/CompanyPassportPage-BQoEcPJr-DzLqV-NZ.js +0 -574
- package/dist/assets/CompleteProfile-D5e9TQgy-ppOK1lFi.js +0 -52
- package/dist/assets/CreditCardPaymentDrawerPage-DXeq4z9l-Dr585X5v.js +0 -224
- package/dist/assets/CustomerOnboardingContainerPage-CZRkKPDD-4OaWohod.js +0 -1
- package/dist/assets/CustomerOnboardingPage-zBqp9QN6-D_UHEoUt.js +0 -107
- package/dist/assets/CustomerOnboardingProductSuitePage-BbJ4oiCI-C_0KKlnp.js +0 -202
- package/dist/assets/DashboardReportPage-DTMbYOWH-CSMllwg6.js +0 -371
- package/dist/assets/DepositAccTransactionListPage-CcO673ZL-CiLAoQqZ.js +0 -66
- package/dist/assets/DomesticWireDetailsPage-D5hbPNCt-Bj16Fg_f.js +0 -21
- package/dist/assets/DownloadOverlay-DRcasKoB-BDQCkt6Q.js +0 -439
- package/dist/assets/EditPeoplePage-Zzo62if7-CQfgpQsa.js +0 -55
- package/dist/assets/EditReimbursementDetailPage-D59OJdZ1-7T5j9Uz8.js +0 -865
- package/dist/assets/EntityDetailPage-CzlzOW8n-DjZ6eItY.js +0 -18
- package/dist/assets/ExpenseAutomationPage-Cm_IiRlb-Ch0agMlw.js +0 -1650
- package/dist/assets/ExpressPayPage-DdQiFzDu-ykW984zo.js +0 -168
- package/dist/assets/GlobalReviewListPage-DHn2Uk8R-Cd3V8M7p.js +0 -291
- package/dist/assets/HelpButton-BNMy-6ce-WFq-iELy.js +0 -28
- package/dist/assets/InsightsCardStack-CaMZiCnn-D5ut2TNQ.js +0 -79
- package/dist/assets/InvitePeoplePage-C3ecL8XJ-D06hBumB.js +0 -12
- package/dist/assets/InvoiceUploadSection-DoR834b4-BezkawDL.js +0 -140
- package/dist/assets/LabeledAddressValueField-YP7bXlgZ-8CibrbWw.js +0 -45
- package/dist/assets/LabeledDocumentField-ED03S2kQ-wbMhlpMQ.js +0 -41
- package/dist/assets/LinkJETransactionPage-_ROjxBMO-DP6JabBY.js +0 -98
- package/dist/assets/LowBalancePopup-CZDcHxyW-BHOAXZjC.js +0 -34
- package/dist/assets/MagicLinkTitleSection-Cn1v72Rs-BaSRKY-c.js +0 -17
- package/dist/assets/Menu-B6iTf2H7-Cqx4dVPp.js +0 -17
- package/dist/assets/MyBankConnectionsSettingsPage-IPPiH6jv-CVF8iXYJ.js +0 -110
- package/dist/assets/MyPendingActivationChargeCardListPage-BTGb1yIE-BD419NGA.js +0 -6
- package/dist/assets/MyProfileSettingsPage-BRK5nWg2--GwgfIws.js +0 -85
- package/dist/assets/NotificationsPage-C7lSAnUb-wDRHsOkp.js +0 -685
- package/dist/assets/PandLWithForecastPage-W4jlNjml-Bcn3UKYp.js +0 -107
- package/dist/assets/ReimbursementApprovalRuleDetailPage-eidNY097-DmIjK42h.js +0 -26
- package/dist/assets/ReimbursementDetailPage-AvqEBxbz-fUbgpa2M.js +0 -314
- package/dist/assets/ReimbursementPromoPage-PshodHUZ-B_XNUegE.js +0 -84
- package/dist/assets/ReimbursementSetUpPage-6P4FT-UC-Bw__edeG.js +0 -140
- package/dist/assets/ReimbursementsBulkReviewDrawerPage-Cas6GzVp-BQcspCuT.js +0 -1
- package/dist/assets/ReportsPage-C7zirS74-CyyHiNy4.js +0 -121
- package/dist/assets/ReviewDetailsPage-ClsyL5-w-_y4o463o.js +0 -290
- package/dist/assets/ScheduleDetailsFixedAssetsPage-zFyJPVpN-BSd6OZtz.js +0 -37
- package/dist/assets/ScheduleDetailsPage-BftjSvA7-Jy_FtZQR.js +0 -37
- package/dist/assets/ScreenRoutes-en4svsq9.js +0 -206
- package/dist/assets/SetUpAccountSection-Bnbi8X23-DL-18RCf.js +0 -378
- package/dist/assets/SignInScreen-Ba17TSWH.js +0 -1
- package/dist/assets/SpendManagementListViewPage-ChNp8dgm-BhMjXPdH.js +0 -123
- package/dist/assets/SpendManagementPerTabPage-D-bOr2-6-GaRieOUe.js +0 -754
- package/dist/assets/SpendManagementSection-kucZgC-H-DLgSRXEX.js +0 -230
- package/dist/assets/SpendMgmtSetupAccountSection-de7hEmtE-CX-1PNOC.js +0 -206
- package/dist/assets/StatementsPage-KnLUSJbm-DvU_Y3UP.js +0 -58
- package/dist/assets/TaskManagementPage-CPLyyK1Y-ena6uodh.js +0 -508
- package/dist/assets/TransactionDetailPage-D1Z1f-DD-DTPxqy3v.js +0 -912
- package/dist/assets/TransactionList-BzJEbOV9-BQZ8x4Oq.js +0 -147
- package/dist/assets/TreasuryOverviewPage-DySunaqy-CWB-hp0S.js +0 -708
- package/dist/assets/TreasuryTransferOrReviewPage-Dzq-FxSM-CX84O_mN.js +0 -576
- package/dist/assets/TrendChart-B_5D-Zud-BUU2-6nI.js +0 -16
- package/dist/assets/UploadAdditionalDocumentOverlay-DhXRLBEg-DvVrgitE.js +0 -38
- package/dist/assets/VendorDetailPage-CEX7xMIN-Djo4PloX.js +0 -257
- package/dist/assets/VendorFirstReviewPage-D9ogNmAK-PlB10gEr.js +0 -730
- package/dist/assets/VendorInternationalWireDetailsPage-Ct689KuY-DAoPjpj5.js +0 -152
- package/dist/assets/VerifyDevice-C27gEWkZ-C7pLL5Wm.js +0 -112
- package/dist/assets/ZeniAccountDetailPage-egmysAfI-DFbZv9KZ.js +0 -300
- package/dist/assets/ZeniAccountNavBarPieces-HNIht0FM-aSJ3m6rj.js +0 -14
- package/dist/assets/analyticsHelper-CVWZE356.js +0 -1
- package/dist/assets/analyticsHelper-or1KkBWk-Plh_6I_p.js +0 -1
- package/dist/assets/downloadPdf-D7p3yKmg-CYmmjPHt.js +0 -1
- package/dist/assets/redux-CEhZD0hA.js +0 -12
- package/dist/assets/toChartData-DEW0iT7T-DrkbvIyQ.js +0 -1
|
@@ -0,0 +1,371 @@
|
|
|
1
|
+
import{q as B,x as Z,O as _,co as Oe,cp as qe,dF as Je,j as s,dD as Ke,Y as Qe,aE as Xe,dG as et,o as d,y as I,cu as Q,dH as tt,dI as st,c9 as oe,u as j,aA as ot,cZ as nt,cO as at,dJ as it,A as ke,n as Be,h as D,dK as rt,dL as ct,dM as lt,dN as dt,ci as Pe,cN as pt,d3 as ut,cf as gt,dO as mt,cm as ht,dP as ft,dQ as ae,dR as bt,cl as xt,ce as _t,dS as wt}from"./index-kF4u7Flm.js";import{b as y,w as X,n as u,k as Le}from"./vendor-Bs1fkIUX.js";import{m as Y,l as se}from"./analyticsHelper-or1KkBWk-CU2Z2CeD.js";import{h as St,u as yt}from"./ReportTableViewSelector-Ci-WKrCO-D0sA8766.js";import{q as Ct}from"./InsightsSection-JIKb9lz3-Hi0aN8hq.js";import{N as xe,U as vt,k as $t,H as ee,K as pe}from"./detailCommon-CRAGrqoO-5xMc7u9M.js";import{N as jt,G as Ot,H as _e,Y as we,P as Se}from"./RevenueChart-CXMBT3cr-BigDcfmP.js";import{C as kt}from"./NoDataChart-5E72SElf-3CnLxisw.js";import{n as R}from"./getReferrerType-DjPOy76W-Cm31g4vJ.js";import{p as Bt}from"./TimeRangeSwitcher-ifkHfqEg-VY1vzvIS.js";import{b as Ie}from"./TimeframeSwitcher-BP-PxO5g-DxTIS9PI.js";import{I as Pt,R as F,x as Lt,l as ue,D as It}from"./CollapsableReportTable-7iAngywY-BhPujiYA.js";import{S as Nt,M as Rt,g as Dt,L as te,D as Ne,T as Re,I as De}from"./mapSectionWithAcOnlyToTreeNode-C9O-C2dp-4sjxXlit.js";import{d as Tt}from"./NoDataTable-BwHbkm3l-VTHrTfOq.js";import{d as ge,l as me}from"./mapTimeframeHeaderLoadingInProgressToTreeNode-BaGM4krW-CkRgUU-m.js";import{d as he}from"./mapLoadingInProgressToTreeNode-CRwG2DSD-CLLcsBiK.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-D-TY61DZ.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.js";import"./NavigationDots-BxPgEW_p-Cjr25BX_.js";import"./chartTypes-DCvOVjlS-CF3jsUNb.js";import"./toCOABalancesWithID-B3yVGPrV-Dj01dEre.js";import"./toChartData-DEW0iT7T-DaQT4Adc.js";import"./AccountRow-Be3LIHO--BjLJB43L.js";import"./graphic-no-data-l-DU4J8fDt-DTLZpyxa.js";const At=["cogs","expenses","income"],zt=e=>At.find(t=>e===t)!=null,Et=["grossBurn","netBurnOrIncome"],Mt=e=>Et.find(t=>e===t)!=null,Ft=["cogs","income"],Vt=e=>Ft.find(t=>e===t)!=null,Wt=["grossMargin"],Ht=e=>Wt.find(t=>e===t)!=null,Ut=e=>y.createElement("svg",{viewBox:"0 0 120 120",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},y.createElement("path",{opacity:.2,d:"M105.021 115.208C105.021 116.479 104.516 117.698 103.617 118.596C102.718 119.495 101.5 120 100.229 120H28.3539C27.083 120 25.8643 119.495 24.9656 118.596C24.067 117.698 23.5622 116.479 23.5622 115.208V14.5832C23.5622 13.3123 24.067 12.0936 24.9656 11.195C25.8643 10.2963 27.083 9.7915 28.3539 9.7915H71.4789L105.021 43.3332V115.208Z",fill:"#97C3B9"}),y.createElement("path",{opacity:.2,d:"M71.4785 9.7915V38.5415C71.4785 39.8123 71.9834 41.0311 72.882 41.9297C73.7806 42.8283 74.9994 43.3332 76.2702 43.3332H105.02",fill:"#97C3B9"}),y.createElement("path",{d:"M33.6636 70.0449H37.2636",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M33.6635 81.2539H37.2635",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M33.6635 92.4626H37.2635",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M33.6635 103.671H37.2635",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M47.0987 70.0449L80.6987 70.0449",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M47.0987 81.2539L80.6987 81.2539",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M47.0987 92.4626L80.6987 92.4626",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M47.6084 103.671L81.2084 103.671",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M100.729 110.313C100.729 111.583 100.224 112.802 99.3258 113.701C98.4272 114.6 97.2084 115.104 95.9375 115.104H24.0625C22.7917 115.104 21.5729 114.6 20.6743 113.701C19.7757 112.802 19.2709 111.583 19.2709 110.313V9.68766C19.2709 8.41683 19.7757 7.19805 20.6743 6.29944C21.5729 5.40083 22.7917 4.896 24.0625 4.896H67.1875L100.729 38.4377V110.313Z",stroke:"#97C3B9",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M67.1872 4.896V33.646C67.1872 34.9168 67.692 36.1356 68.5906 37.0342C69.4893 37.9328 70.708 38.4377 71.9789 38.4377H100.729",stroke:"#97C3B9",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M43.4564 21.9438V17.5398",stroke:"#95C1B7",strokeWidth:1.00757,strokeMiterlimit:10,strokeLinecap:"round"}),y.createElement("path",{d:"M43.4564 54.3497V50.1257",stroke:"#95C1B7",strokeWidth:1.00757,strokeMiterlimit:10,strokeLinecap:"round"}),y.createElement("path",{d:"M33.6635 40.7779C33.6635 42.8599 34.1555 45.0139 35.3975 46.7239C36.7415 48.5719 38.8595 49.5619 41.0735 49.9339C43.1375 50.2819 45.2855 50.1499 47.3135 49.6759C51.5135 48.6979 54.5675 44.3959 52.6955 40.1179C51.5795 37.5619 48.8855 36.4219 46.2635 36.1699C44.3675 35.9899 42.4294 35.9779 40.5334 35.7079C38.9374 35.4799 37.3475 34.9459 36.1895 33.7819C35.0315 32.6179 34.3895 30.8599 34.4495 29.1619C34.5335 26.6359 35.9915 24.4999 38.2415 23.3959C40.5995 22.2379 43.4675 22.1839 46.0115 22.6219C47.6855 22.9099 49.3294 23.6119 50.4994 24.8419C51.9694 26.3899 52.4555 28.5019 52.5275 30.5719",stroke:"#95C1B7",strokeWidth:1.00757,strokeMiterlimit:10,strokeLinecap:"round"})),Yt=u.div`
|
|
2
|
+
justify-content: center;
|
|
3
|
+
align-items: center;
|
|
4
|
+
display: flex;
|
|
5
|
+
flex-direction: column;
|
|
6
|
+
height: ${e=>`calc(100vh - ${st.valuePx(e.windowSize)})`};
|
|
7
|
+
gap: ${d.sp6};
|
|
8
|
+
color: ${e=>e.theme.colors.grey2};
|
|
9
|
+
`,Gt=u.div`
|
|
10
|
+
width: ${d.sp12};
|
|
11
|
+
height: ${d.sp12};
|
|
12
|
+
flex-shrink: 0;
|
|
13
|
+
`,Zt=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
|
+
`,qt=({style:e,emptyContentText:t,EmptyContentImage:n})=>{const a=B();return s.jsxs(Yt,{windowSize:a,style:{...e},children:[s.jsx(Gt,{children:s.jsx(n,{})}),s.jsx(Zt,{children:t})]})};function Jt(e){const{reportId:t}=e.report,n=e.filter.balancesRange.orderBy;let a,i,r=0;switch(t){case"cash_in_cash_out":{const p=e.report,{cashIn:o,cashOut:l}=p,c=o.balances.length>0?o:l;c.balances.length>0&&(n==="ascending_date"&&(r=c.balances.length-1),a=c.balances[r]);break}case"cash_position":{const p=e.report,{cashPosition:o}=p;o.balances.length>0&&(n==="ascending_date"&&(r=o.balances.length-1),a=o.balances[r]);break}case"net_burn_or_income":{const p=e.report,{expenses:o,income:l}=p.sections,c=o?.balances.length>0?o:l;c?.balances!=null&&c.balances.length>0&&(n==="ascending_date"&&(r=c.balances.length-1),a=c.balances[r]);break}case"net_burn_or_income_by_classes":{const p=e.report,{expenses:o,income:l,cogs:c}=p.sections,h=l.balances.length>0?l:c,g=o.balances.length>0?o:h;g.balances.length>0&&(n==="ascending_date"&&(r=g.balances.length-1),a=g.balances[r]);break}case"operating_expenses":{const p=e.report,{expenses:o}=p.sections;o.balances.length>0&&(n==="ascending_date"&&(r=o.balances.length-1),a=o.balances[r]);break}case"operating_expenses_by_classes":{const p=e.report,{expenses:o}=p.sections;o.balances.length>0&&(n==="ascending_date"&&(r=o.balances.length-1),a=o.balances[r]);break}case"revenue":{const p=e.report,{income:o,cogs:l}=p.sections,c=o.balances.length>0?o:l;c?.balances!=null&&c.balances.length>0&&(n==="ascending_date"&&(r=c.balances.length-1),a=c.balances[r]);break}case"revenue_by_classes":{const p=e.report,{income:o,cogs:l}=p.sections,c=o.balances.length>0?o:l;c.balances.length>0&&(n==="ascending_date"&&(r=c.balances.length-1),a=c.balances[r]);break}}return a!=null&&(i={startDate:a.startDate,endDate:a.endDate}),i}function Kt(e){const{isCompareModeOn:t,filter:n,coaBalancesRange:a,report:i,currentTenantCompanyName:r,reportView:p,classesToFilterOut:o}=e,{reportId:l}=i;let c=n.balancesRange.thisPeriod;c==null&&(c=Jt({report:i,filter:n}));const h=[];if(t?(h.push("this_period_vs_last_period_percent"),h.push("this_period_vs_last_period")):!t&&l!=="cash_position"&&h.push("free_range_total"),i.reportId!=="cash_position"&&h.push("year_to_date_total"),c!=null)return{localeId:_.getAppLocaleID(),showNegativeAmountInParenthesis:!0,filterAccountsWithNilBalances:"filter_actual_nil_balances",filterAccountGroupsWithNilBalances:"filter_actual_forecast_empty_account_group_balances",includeCoverPage:!1,companyName:r,statementFileType:"excel",statements:[l],firstMonthOfFY:e.report.firstMonthOfFY,bookCloseDate:e.report.bookCloseDate,timeframe:n.timeframe,additionalBalances:h,format:e.reportType,balancesFilter:{thisPeriod:c,numberOfPeriods:t?n.balancesRange.numberOfPeriods:a.numberOfPeriods,orderBy:a.orderBy},accountViewMode:p,classesToFilterOut:o,isZeniCOAUsed:e.isZeniCOAUsed}}function Qt(e){const t=Kt(e);if(t!=null)return St(e.statementEndPoint,e.authParams,t)}const Xt=u.div`
|
|
21
|
+
padding: ${d.sp4} ${d.sp0} ${d.sp5} ${d.sp0};
|
|
22
|
+
`;function es({highlightedRangeReport:e}){const{availableNumberOfPeriods:t,netCashFlow:n}=e,a=n.balances;if(t==null||t===0||a.length===0)return null;const i=a.reduce((l,c)=>l+c.balance.amount,0),r=a[a.length-1],p={...r,balance:{...r.balance,amount:i}},o=_.getLocalizedStrings().chartCard.cashInCashOut.net_cash_flow;return s.jsx(Xt,{children:s.jsx(ee,{balance:p,dateText:o,showInfotip:!1})})}const ts=u.div`
|
|
23
|
+
padding: ${d.sp4} ${d.sp0} ${d.sp5} ${d.sp0};
|
|
24
|
+
`;function ss({highlightedRangeReport:e}){const{dateFormat:{visual:t}}=_.getLocalizedStrings(),{availableNumberOfPeriods:n,cashPosition:a}=e,i=a.balances;if(n==null||n===0||i.length===0)return null;const r=i[i.length-1],p=`in ${r.endDate.format(t.MMMYYFormat)}`;return s.jsx(ts,{children:s.jsx(ee,{balance:r,dateText:p,showInfotip:!1})})}const os=u.div`
|
|
25
|
+
padding: ${d.sp4} ${d.sp0} ${d.sp5} ${d.sp0};
|
|
26
|
+
`,ns=u.div`
|
|
27
|
+
padding: ${d.sp4} ${d.sp0} ${d.sp5} ${d.sp0};
|
|
28
|
+
height: ${d.sp6};
|
|
29
|
+
`;function as({highlightedRangeReport:e,uiState:t}){const{selectedAdditionalBalances:n}=t,{availableNumberOfPeriods:a,calculatedSections:i}=e,r=i.netBurnOrIncome.balances;if(a==null||a===0||r.length===0)return s.jsx(ns,{});const p=n.includes("this_period_vs_last_period")||n.includes("this_period_vs_last_period_percent"),o=r.reduce((m,f)=>m+f.balance.amount,0),l=r[r.length-1],c=r[0],h={...l,balance:{...l.balance,amount:o},startDate:c.startDate},g=pe(h,p);return s.jsx(os,{children:s.jsx(ee,{balance:h,dateText:g,showInfotip:!1})})}const is=u.div`
|
|
30
|
+
padding: ${d.sp4} ${d.sp0} ${d.sp5} ${d.sp0};
|
|
31
|
+
`,rs=u.div`
|
|
32
|
+
padding: ${d.sp4} ${d.sp0} ${d.sp5} ${d.sp0};
|
|
33
|
+
height: ${d.sp6};
|
|
34
|
+
`;function cs({highlightedRangeReport:e,uiState:t}){const{availableNumberOfPeriods:n}=e,{selectedAdditionalBalances:a}=t,i=e.sections.expenses.balances??[];if(n==null||n===0||i.length===0)return s.jsx(rs,{});const r=a.includes("this_period_vs_last_period")||a.includes("this_period_vs_last_period_percent"),p=i.reduce((g,m)=>g+m.balance.amount,0),o=i[i.length-1],l=i[0],c={...o,balance:{...o.balance,amount:p},startDate:l.startDate},h=pe(c,r);return s.jsx(is,{children:s.jsx(ee,{balance:c,dateText:h,showInfotip:!1})})}const ls=u.div`
|
|
35
|
+
padding: ${d.sp4} ${d.sp0} ${d.sp5} ${d.sp0};
|
|
36
|
+
`,ds=u.div`
|
|
37
|
+
padding: ${d.sp4} ${d.sp0} ${d.sp5} ${d.sp0};
|
|
38
|
+
height: ${d.sp6};
|
|
39
|
+
`;function ps({highlightedRangeReport:e,uiState:t}){const{availableNumberOfPeriods:n,sections:a}=e,{selectedAdditionalBalances:i}=t,r=a.income.balances;if(n==null||n===0||r.length===0)return s.jsx(ds,{});const p=i.includes("this_period_vs_last_period")||i.includes("this_period_vs_last_period_percent"),o=r.reduce((m,f)=>m+f.balance.amount,0),l=r[r.length-1],c=r[0],h={...l,balance:{...l.balance,amount:o},startDate:c.startDate},g=pe(h,p);return s.jsx(ls,{children:s.jsx(ee,{balance:h,dateText:g,showInfotip:!1})})}const us=({highlightedRangeReport:e,uiState:t})=>{switch(e.reportId){case"net_burn_or_income":return s.jsx(as,{highlightedRangeReport:e,uiState:t});case"revenue":return s.jsx(ps,{highlightedRangeReport:e,uiState:t});case"operating_expenses":return s.jsx(cs,{highlightedRangeReport:e,uiState:t});case"cash_position":return s.jsx(ss,{highlightedRangeReport:e});case"cash_in_cash_out":return s.jsx(es,{highlightedRangeReport:e});default:return null}},K={wrapperPadding:new I(j[3],j[3],j[8]),chartHeight:new I(288,360)},gs=u.div`
|
|
40
|
+
display: flex;
|
|
41
|
+
flex: 1 1 auto;
|
|
42
|
+
flex-direction: column;
|
|
43
|
+
height: ${e=>K.chartHeight.valuePx(e.windowSize)};
|
|
44
|
+
`,ms=u.div`
|
|
45
|
+
display: flex;
|
|
46
|
+
`,hs=e=>{const t=B(),{selectedRangeReport:n,selectedClassesViewRangeReport:a,uiState:i,onCOABalancesRangeChanged:r}=e,p=n.availableNumberOfPeriods==null||n.availableNumberOfPeriods===0,{selectedCOABalancesRange:o,selectedAdditionalBalances:l,highlightedCOABalancesRange:c,timeframe:h}=i,g=a!==void 0&&a.uiState.accountViewMode==="classes"?a:n;return p?s.jsx(ms,{children:s.jsx(kt,{title:_.getLocalizedStrings().chartCard.no_data_available})}):s.jsx(gs,{windowSize:t,children:s.jsx(nt,{children:({height:m,width:f})=>{const x={showBarHoverBackground:!0,onCOABalancesRangeChanged:(w,S,b)=>{fs(n.firstMonthOfFY,l,n.reportId,S,w,e.analytics),r(o,b)},highlightedRange:c,isDetailPage:!0,timeframe:h,width:f,height:m};switch(g.reportId){case"net_burn_or_income":return s.jsx(Se,{selectedRangeReport:n,...x,mode:e.uiState.mode});case"net_burn_or_income_by_classes":return s.jsx(Se,{selectedRangeReport:a,...x,mode:e.uiState.mode});case"revenue":return s.jsx(we,{selectedRangeReport:n,...x,mode:e.uiState.mode});case"revenue_by_classes":return s.jsx(we,{selectedRangeReport:a,...x,mode:e.uiState.mode});case"operating_expenses":return s.jsx(_e,{selectedRangeReport:n,...x,mode:e.uiState.mode});case"operating_expenses_by_classes":return s.jsx(_e,{selectedRangeReport:a,...x,mode:e.uiState.mode});case"cash_position":return s.jsx(Ot,{selectedRangeReport:n,...x});case"cash_in_cash_out":return s.jsx(jt,{selectedRangeReport:n,...x});default:return null}}})})},fs=(e,t,n,a,i,r)=>{const p=t.includes("this_period_vs_last_period")||t.includes("this_period_vs_last_period_percent");p===!0&&r?.trackCompareFilterTimeFrame(R(n),Y(a),"bar",se(e,a,i)),r?.trackDateRangeFilterChange(R(n),"bar",p,void 0,se(e,a,i))},Te={net_burn_or_income:{light:"https://storage.cloud.google.com/zeni-apis.appspot.com/images/icons/netburn-forecast.png",dark:"https://storage.cloud.google.com/zeni-apis.appspot.com/images/icons/netburn-forecast-dark.png"},revenue:{light:"https://storage.cloud.google.com/zeni-apis.appspot.com/images/icons/revenue-forecast.png",dark:"https://storage.cloud.google.com/zeni-apis.appspot.com/images/icons/revenue-forecast-dark.png"},operating_expenses:{light:"https://storage.googleapis.com/zeni-apis.appspot.com/images/icons/opex-forecast.png",dark:"https://storage.googleapis.com/zeni-apis.appspot.com/images/icons/opex-forecast-dark.png"}},Ae=Le`
|
|
47
|
+
0% {
|
|
48
|
+
transform: translateY(100%)
|
|
49
|
+
}
|
|
50
|
+
100% {
|
|
51
|
+
transform: translateY(0)
|
|
52
|
+
}
|
|
53
|
+
`,bs=Le`
|
|
54
|
+
0% {
|
|
55
|
+
opacity: 0
|
|
56
|
+
}
|
|
57
|
+
90% {
|
|
58
|
+
opacity: 0
|
|
59
|
+
}
|
|
60
|
+
100% {
|
|
61
|
+
opacity: 1
|
|
62
|
+
}
|
|
63
|
+
`,xs=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: ${D.overlayDark};
|
|
74
|
+
`,_s=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: ${D.blackColor}E6;
|
|
86
|
+
`,ze=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
|
+
`,Ee=u.div`
|
|
93
|
+
display: flex;
|
|
94
|
+
justify-content: flex-end;
|
|
95
|
+
width: 100%;
|
|
96
|
+
padding: ${d.sp3} ${d.sp4};
|
|
97
|
+
`,Me=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: ${bs} 0.4s;
|
|
107
|
+
`,ws=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: ${Ae} 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: ${Ae} 0.4s;
|
|
130
|
+
position: relative;
|
|
131
|
+
`,ys=u.div`
|
|
132
|
+
position: absolute;
|
|
133
|
+
left: 0;
|
|
134
|
+
margin-top: 130px;
|
|
135
|
+
`,Cs=u.div`
|
|
136
|
+
position: absolute;
|
|
137
|
+
left: 0;
|
|
138
|
+
margin-top: 500px;
|
|
139
|
+
`,vs=u.div`
|
|
140
|
+
position: absolute;
|
|
141
|
+
right: 30px;
|
|
142
|
+
margin-top: 200px;
|
|
143
|
+
`,$s=u.div`
|
|
144
|
+
width: 140px;
|
|
145
|
+
transform: rotate(-22.31deg);
|
|
146
|
+
`,js=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
|
+
`,Os=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
|
+
`,ks=u(Pe)`
|
|
162
|
+
max-width: 496px;
|
|
163
|
+
margin-top: ${d.sp7};
|
|
164
|
+
margin: auto;
|
|
165
|
+
color: ${e=>e.theme.colors.primary};
|
|
166
|
+
`,Bs=u(Pe)`
|
|
167
|
+
max-width: 330px;
|
|
168
|
+
margin: auto;
|
|
169
|
+
color: ${D.primaryDark};
|
|
170
|
+
`,Fe=u.div``,Ve=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"?D.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
|
+
`,Ls=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"?D.heroDark:e.theme.colors.hero};
|
|
187
|
+
margin-top: 22px;
|
|
188
|
+
list-style-position: outside;
|
|
189
|
+
padding-left: ${d.sp3};
|
|
190
|
+
`,ie=u(ut)``,re=u(pt)``,ce=u.li``,Is=u.div`
|
|
191
|
+
overflow: hidden;
|
|
192
|
+
max-width: 712px;
|
|
193
|
+
display: flex;
|
|
194
|
+
`,Ns=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($s,{children:[s.jsx(js,{}),s.jsx(Os,{})]}),We=({imgSrc:e})=>{const t=B();return s.jsxs(Ps,{windowSize:t,children:[s.jsx(Is,{windowSize:t,children:s.jsx(Ns,{windowSize:t,children:s.jsx("img",{src:e,alt:"forecast-promo",style:{width:"343px",height:"220px",borderRadius:d.sp2,display:"block"}})})}),s.jsxs(Ls,{windowSize:t,children:[s.jsxs(ce,{children:[s.jsx(re,{children:_.getLocalizedStrings().forecastPromoPage.accuratelyText.bold}),s.jsx(ie,{children:_.getLocalizedStrings().forecastPromoPage.accuratelyText.regular})]}),s.jsxs(ce,{children:[s.jsx(re,{children:_.getLocalizedStrings().forecastPromoPage.trackText.bold}),s.jsx(ie,{children:_.getLocalizedStrings().forecastPromoPage.trackText.regular})]}),s.jsxs(ce,{children:[s.jsx(re,{children:_.getLocalizedStrings().forecastPromoPage.preciseText.bold}),s.jsx(ie,{children:_.getLocalizedStrings().forecastPromoPage.preciseText.regular})]})]})]})},Rs=e=>{const{onClose:t,reportId:n,meetingUrl:a}=e,i=B(),r=Z(),p=c=>{c.stopPropagation(),t()},o=()=>{window.open(a.toString(),"_blank")},l=Te[n][r.mode];return s.jsxs(_s,{role:"presentation",onClick:c=>p(c),children:[s.jsx(Ee,{children:s.jsx(Me,{children:s.jsx(ke,{style:{width:"18px",height:"18px"}})})}),s.jsx(Ss,{onClick:c=>c.stopPropagation(),children:s.jsxs(ze,{windowSize:i,children:[s.jsx(Bs,{children:_.getLocalizedStrings().forecastPromoPage.promoText}),s.jsx(We,{imgSrc:l}),s.jsxs(Fe,{children:[s.jsx(Be,{variant:"primary",label:_.getLocalizedStrings().forecastPromoPage.meetingButton,onClick:o,style:{backgroundColor:D.primaryDark,borderColor:D.primaryDark,color:D.neutralGrey5Dark}}),s.jsx(Ve,{windowSize:i,children:_.getLocalizedStrings().forecastPromoPage.forecastUpload})]})]})})]})},Ds=e=>{const{onClose:t,reportId:n,meetingUrl:a}=e,i=B(),r=Z(),p=c=>{c.stopPropagation(),t()},o=()=>{window.open(a.toString(),"_blank")},l=Te[n][r.mode];return s.jsxs(xs,{role:"presentation",onClick:c=>p(c),children:[s.jsx(Ee,{children:s.jsx(Me,{children:s.jsx(ke,{style:{width:"18px",height:"18px"}})})}),s.jsxs(ws,{onClick:c=>c.stopPropagation(),children:[s.jsxs(ze,{windowSize:i,children:[s.jsx(ks,{children:_.getLocalizedStrings().forecastPromoPage.promoText}),s.jsx(We,{imgSrc:l}),s.jsxs(Fe,{children:[s.jsx(Be,{variant:"primary",label:_.getLocalizedStrings().forecastPromoPage.meetingButton,onClick:o}),s.jsx(Ve,{windowSize:i,children:_.getLocalizedStrings().forecastPromoPage.forecastUpload})]})]}),s.jsx(ys,{children:s.jsx(le,{})}),s.jsx(Cs,{children:s.jsx(le,{})}),s.jsx(vs,{children:s.jsx(le,{})})]})]})};function Ts(e){const t=B();return t==="small"||t==="medium-compact"?s.jsx(Rs,{...e}):s.jsx(Ds,{...e})}const de="ZeniSwitch",A={root:`${de}-root`,switchBase:`${de}-switchBase`,track:`${de}-track`},As=({className:e,...t})=>s.jsx(bt,{...t,className:e,classes:{...A}}),zs=u(As)(({theme:e})=>({[`& .${A.switchBase}`]:{color:e.colors.grey2},[`& .${A.track}`]:{backgroundColor:e.colors.grey3,opacity:1},[`& .${A.switchBase}.Mui-checked`]:{color:e.colors.primary},[`& .${A.switchBase}.Mui-checked + .${A.track}`]:{backgroundColor:e.colors.grey1},[`& .${A.switchBase}.Mui-disabled`]:{color:e.colors.grey4},[`& .${A.switchBase}.Mui-disabled + .${A.track}`]:{opacity:.5,backgroundColor:e.colors.background}})),He=e=>s.jsx(zs,{...e}),G={containerMaxWidth:new I(124,154),forecastNameInnerWidth:new I(75,105),forecastNameOuterWidth:new I(90,120),tooltipTopPosition:new I(51,51),tooltipWidth:new I(180,150)},ye=u.div``,Es=u.div`
|
|
201
|
+
min-width: ${e=>G.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
|
+
`,Ms=u.div`
|
|
211
|
+
display: flex;
|
|
212
|
+
flex-direction: column;
|
|
213
|
+
width: 315px;
|
|
214
|
+
white-space: normal;
|
|
215
|
+
`,Fs=u(xt)`
|
|
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
|
+
`,Ws=u.div``,Hs=u.div``,Us=u(_t)`
|
|
226
|
+
display: flex;
|
|
227
|
+
color: ${D.alert};
|
|
228
|
+
`,Ys=u(wt)`
|
|
229
|
+
color: ${D.alert};
|
|
230
|
+
width: ${d.sp4};
|
|
231
|
+
height: ${d.sp4};
|
|
232
|
+
margin-right: ${d.sp1};
|
|
233
|
+
`,Gs=u.span`
|
|
234
|
+
overflow: hidden;
|
|
235
|
+
white-space: nowrap;
|
|
236
|
+
text-overflow: ellipsis;
|
|
237
|
+
max-width: ${e=>G.forecastNameOuterWidth.valuePx(e.windowSize)};
|
|
238
|
+
text-align: right;
|
|
239
|
+
`,Zs=u.div`
|
|
240
|
+
display: flex;
|
|
241
|
+
flex-direction: row;
|
|
242
|
+
align-items: center;
|
|
243
|
+
justify-content: end;
|
|
244
|
+
`,qs=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
|
+
`,Js=u.div``,Ks=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=>G.tooltipWidth.valuePx(e.windowSize)};
|
|
263
|
+
top: ${e=>G.tooltipTopPosition.valuePx(e.windowSize)};
|
|
264
|
+
`,Qs=u(gt)`
|
|
265
|
+
color: ${e=>e.theme.colors.grey5};
|
|
266
|
+
`;function Xs({selectedForecastIndex:e,forecasts:t,isDisabled:n,isForecastValid:a,onForecastSelectionChanged:i}){const r=B(),{dateFormat:{visual:p}}=_.getLocalizedStrings(),o=g=>`${g.startDate.format(p.MMMYYYYFormat)} - ${g.endDate.format(p.MMMYYYYFormat)}`,l=g=>g.map((m,f)=>({label:m.name,value:f,forecastId:m.id,timeframeLabel:o(m.forecastPeriod),isValid:a(m)})),[c,h]=y.useState(l(t));return X.useEffect(()=>{h(l(t))},[t]),s.jsxs(Es,{windowSize:r,children:[s.jsx(Js,{children:s.jsx(Ks,{className:"info-tooltip",windowSize:r,children:s.jsx(Qs,{children:c[e]!=null?c[e].label:""})})}),s.jsx(eo,{selectedForecast:c[e],forecastOptions:c,isDisabled:n,onForecastSelectionChanged:i})]})}const eo=({selectedForecast:e,forecastOptions:t,isDisabled:n,onForecastSelectionChanged:a})=>{const i=Z(),r=B(),[p,o]=y.useState(e),l=i.colors.grey5,c=i.colors.grey5,h=i.colors.grey3;y.useEffect(()=>{o(e)},[e]);const g=u(mt)`
|
|
267
|
+
height: ${d.sp3};
|
|
268
|
+
width: ${d.sp3};
|
|
269
|
+
`,m=u(ht)`
|
|
270
|
+
height: 12px;
|
|
271
|
+
width: 12px;
|
|
272
|
+
margin-left: 6px;
|
|
273
|
+
`,f=({children:b,...v})=>s.jsx(ae.SingleValue,{...v,children:s.jsxs(Zs,{children:[s.jsx(Gs,{windowSize:r,children:b}),s.jsx(m,{})]})}),x=b=>s.jsx(ae.DropdownIndicator,{...b,children:s.jsx(ye,{})}),w=b=>s.jsx(ye,{children:s.jsx(ae.Option,{...b,children:s.jsxs(Ms,{children:[s.jsxs(Fs,{isValid:b.data.isValid,children:[b.label,b.isSelected?s.jsx(g,{}):null]}),s.jsxs(Vs,{isValid:b.data.isValid,children:[s.jsx(Ws,{children:b.data.timeframeLabel}),s.jsx(qs,{isValid:b.data.isValid}),s.jsx(Hs,{children:_.getLocalizedStrings().chartCard.forecast_dropdown.forecast_source})]}),b.data.isValid===!1?s.jsxs(Us,{children:[s.jsx(Ys,{}),_.getLocalizedStrings().chartCard.forecast_dropdown.forecast_invalid_issue]}):null]})})}),S={control:(b,v)=>({...b,border:0,backgroundColor:c,color:v.selectProps.menuIsOpen===!0?i.colors.primary:i.colors.hero,boxShadow:c,":active":{backgroundColor:c},":hover":{color:i.colors.primary},"span::after":{content:"''",display:"block"},minHeight:"auto",cursor:"pointer"}),container:b=>({...b,backgroundColor:c,maxWidth:G.containerMaxWidth.valuePx(r),minWidth:G.containerMaxWidth.valuePx(r)}),singleValue:(b,v)=>({...b,color:v.selectProps.menuIsOpen===!0?i.colors.primary:i.colors.champion,maxWidth:"100%",minWidth:"100%",overflow:"auto",":hover":{color:i.colors.primary},marginLeft:0,position:"inherit",transform:"none",top:0,marginRight:0,opacity:"1"}),menu:b=>({...b,backgroundColor:l,borderRadius:j[1],boxShadow:`${d.sp0} 2px ${d.sp2} ${i.colors.dropShadowHover}`,whiteSpace:"nowrap",minWidth:"fit-content",zIndex:20}),menuList:b=>({...b,borderRadius:j[1],maxWidth:"350px"}),option:(b,{isDisabled:v,isSelected:O,isFocused:V})=>({...b,color:O?i.colors.champion:i.colors.hero,backgroundColor:O===!0?h:V===!0&&v!==!0?i.colors.background:l,cursor:v===!0?"not-allowed":"pointer",padding:`11px ${d.sp3}`,":hover":{backgroundColor:v===!1?O===!0?h:i.colors.background:l,color:i.colors.primary},borderBottom:"1px solid "+i.colors.grey3}),indicatorSeparator:()=>({}),dropdownIndicator:()=>({})};return s.jsx(ft,{options:t,components:{SingleValue:f,DropdownIndicator:x,Option:w},styles:S,defaultValue:p,onChange:b=>{const v=b;o(v),a(v.forecastId,v.value)},isSearchable:!1,isClearable:!1,isOptionDisabled:b=>b.isValid===!1,theme:b=>({...b,colors:{...b.colors,primary:l}}),isDisabled:n})},Ce={timeframePaddingLeft:new I(0,0,245),timeframePaddingBottom:new I(8,8,0)},to=u.div`
|
|
274
|
+
display: flex;
|
|
275
|
+
width: 100%;
|
|
276
|
+
flex-direction: column;
|
|
277
|
+
`,so=u.div`
|
|
278
|
+
display: flex;
|
|
279
|
+
width: 100%;
|
|
280
|
+
flex-direction: row;
|
|
281
|
+
`,Ue=u.div`
|
|
282
|
+
display: flex;
|
|
283
|
+
flex-direction: row;
|
|
284
|
+
flex: 1 1 auto;
|
|
285
|
+
justify-content: center;
|
|
286
|
+
padding-left: ${e=>Ce.timeframePaddingLeft.valuePx(e.windowSize)};
|
|
287
|
+
padding-bottom: ${e=>Ce.timeframePaddingBottom.valuePx(e.windowSize)};
|
|
288
|
+
`,oo=u.div`
|
|
289
|
+
display: flex;
|
|
290
|
+
width: 100%;
|
|
291
|
+
flex-direction: row;
|
|
292
|
+
align-items: center;
|
|
293
|
+
justify-content: center;
|
|
294
|
+
`,no=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
|
+
`,ao=u.div`
|
|
302
|
+
display: flex;
|
|
303
|
+
flex-direction: row;
|
|
304
|
+
align-items: center;
|
|
305
|
+
margin-right: ${d.sp5};
|
|
306
|
+
`,Ye=u(oe)`
|
|
307
|
+
color: ${e=>e.isOn?e.theme.colors.primary:e.theme.colors.hero};
|
|
308
|
+
opacity: ${e=>e.isDisabled?.5:1};
|
|
309
|
+
`,Ge=({label:e,isOn:t,isToggleDisabled:n,onValueChanged:a})=>s.jsxs(s.Fragment,{children:[s.jsx(Ye,{isOn:t,isDisabled:n===!0,children:e}),s.jsx(He,{checked:t,edge:"end",disabled:n===!0,disableRipple:n===!0,onChange:i=>{a(i.target.checked)}})]});function Ze({isOn:e,isDisabled:t,selectedForecastIndex:n,forecasts:a,isForecastValid:i,onForecastToggleChanged:r,onForecastSelectionChanged:p}){return s.jsxs(ao,{children:[e===!0&&a!=null&&a.length!==0?s.jsx(Xs,{selectedForecastIndex:n??0,forecasts:a,isForecastValid:i,onForecastSelectionChanged:p,isDisabled:!1}):s.jsx(Ye,{isOn:e,isDisabled:t===!0,children:_.getLocalizedStrings().reports.forecast.forecast}),s.jsx(He,{checked:e,edge:"end",disabled:t===!0,disableRipple:t===!0,onChange:o=>{r(o.target.checked)}})]})}const io=e=>{const t=B();return s.jsxs(to,{children:[s.jsx(Ue,{windowSize:t,children:s.jsx(Ie,{timeframes:e.timeframe.allowedTimeframes,selectedTimeframe:e.timeframe.selectedTimeframe,onTimeframeSelectionChanged:e.timeframe.onTimeframeSelectionChanged})}),s.jsxs(oo,{children:[e.forecastListWithToggle!=null&&s.jsx(Ze,{...e.forecastListWithToggle}),s.jsx(Ge,{...e.compareToggle,label:_.getLocalizedStrings().compareSwitchLabel})]})]})},ro=e=>{const t=B();return s.jsxs(so,{children:[s.jsx(Ue,{windowSize:t,children:s.jsx(Ie,{timeframes:e.timeframe.allowedTimeframes,selectedTimeframe:e.timeframe.selectedTimeframe,onTimeframeSelectionChanged:e.timeframe.onTimeframeSelectionChanged})}),s.jsxs(no,{children:[e.forecastListWithToggle!=null&&s.jsx(Ze,{...e.forecastListWithToggle}),s.jsx(Ge,{...e.compareToggle,label:_.getLocalizedStrings().compareSwitchLabel})]})]})};function co(e){const t=B();return t==="small"||t==="medium-compact"?s.jsx(io,{...e}):s.jsx(ro,{...e})}const lo=u.div`
|
|
310
|
+
display: flex;
|
|
311
|
+
padding: ${d.sp2} ${d.sp0} ${d.sp4} ${d.sp0};
|
|
312
|
+
`,po=u.div``,uo=u.div``,go=e=>{const{selectedRangeReport:t,uiState:n,analytics:a,onThisPeriodChanged:i,onTimeframeSelectionChanged:r,onCOABalancesRangeChanged:p,onAdditionalBalanceSelectionChanged:o}=e,l=Oe(),{allTimeframeTicks:c}=t,{selectedCOABalancesRange:h,timeframe:g}=n,m=t.reportId==="cash_in_cash_out"?["month"]:["month","quarter","year"],f=t.availableNumberOfPeriods!=null&&t.availableNumberOfPeriods<2,x=n.mode==="compare_mode"&&!f,w=l.connectionName!=="netsuite"&&(t.reportId==="net_burn_or_income"||t.reportId==="operating_expenses"||t.reportId==="revenue");let S,b;switch(t.reportId){case"revenue":S=t.forecastList?.forecasts,b=t.forecastList?.fetchState;break;case"net_burn_or_income":S=t.forecastList?.forecasts,b=t.forecastList?.fetchState;break;case"operating_expenses":S=t.forecastList?.forecasts,b=t.forecastList?.fetchState;break;default:S=void 0}const v=t.availableNumberOfPeriods==null||t.availableNumberOfPeriods===0,O=v||t.availableNumberOfPeriods===1,V=C=>!!C.forecastPeriod.startDate.isBefore(t.dataAvailable?.endDate),[P,E]=y.useState(!1),H=ot("https://meetings.hubspot.com/svitlana-grankovska"),M=n.mode,N=n.selectedForecast;y.useEffect(()=>{M==="forecast_mode"&&b==="Completed"&&S?.length===0&&(E(!0),document.body.style.overflow="hidden")},[b,M,S]),y.useEffect(()=>{M==="forecast_mode"&&N!=null&&S!=null&&S.length>0&&e.analytics?.trackForecastSwitch(R(t.reportId),S[N.index].name)},[N]);const W=(C,$,U)=>{$===!0&&e.analytics?.trackForecastVsActualMode(R(t.reportId),"",C==="forecast_mode"),e.onForecastToggle?.(C,U)};return s.jsx(uo,{children:s.jsxs(po,{children:[s.jsx(lo,{children:s.jsx(co,{timeframe:{allowedTimeframes:m,selectedTimeframe:g,onTimeframeSelectionChanged:C=>{e.analytics?.trackTimeframeSwitch(Y(C),R(t.reportId)),r?.(C),e.uiState.mode==="compare_mode"&&!x&&o(x,x?["this_period_vs_last_period_percent"]:[],x?3:1)}},compareToggle:{label:_.getLocalizedStrings().compareSwitchLabel,isOn:O?!1:x,isToggleDisabled:O,onValueChanged:C=>{const $=C===!0||n.mode==="forecast_mode"?3:1;a?.trackCompareMode(C,R(t.reportId),Y(g)),o(C,C?["this_period_vs_last_period_percent","year_to_date_total"]:["year_to_date_total"],$)}},forecastListWithToggle:w===!0?{isOn:n.mode==="forecast_mode",isToggleDisabled:O,selectedForecastIndex:e.uiState.selectedForecast?.index,forecasts:S,isForecastValid:V,onForecastSelectionChanged:(C,$)=>W("forecast_mode",!1,{id:C,index:$}),onForecastToggleChanged:C=>{W(C===!0?"forecast_mode":"off",!0)}}:void 0})}),P==!0?s.jsx(Ts,{meetingUrl:H,reportId:t.reportId,onClose:()=>{E(!1),e.onForecastToggle?.("off");const C=1;document.body.style.overflow="auto",o(x,x?["this_period_vs_last_period_percent"]:[],C)}}):null,v?null:s.jsx(Bt,{firstMonthOfFY:t.firstMonthOfFY,timeframe:g,timeframeTicks:c,selection:{selectedTicks:xe(c,h),highlightedOfSelectedTicks:xe(c,h)},onClick:(C,$)=>{ve(t.firstMonthOfFY,x,t.reportId,g,$,e.analytics),i($)},onSelectionChanged:(C,$)=>{const U=vt(c,C.fromEnd),q=$t(c,$);ve(t.firstMonthOfFY,x,t.reportId,g,q.thisPeriod,e.analytics),p(U,q)}})]})})},ve=(e,t,n,a,i,r)=>{t===!0&&r?.trackCompareFilterTimeFrame(R(n),Y(a),"range filter",se(e,a,i)),r?.trackDateRangeFilterChange(R(n),"range filter",t,se(e,a,i))};function fe({account:e,sectionType:t,numOfBalances:n,title:a,isLastNode:i,config:r,parentNodeIDs:p}){return{children:[],id:F("ac_report",p,e.accountId),isLastNode:i,reportElementData:{element:{kind:"ac_report",title:a,sectionType:t,data:e,numOfBalances:n},config:r}}}function mo({acGroup:e,sectionType:t,numOfBalances:n,title:a,isLastNode:i,config:r,parentNodeIDs:p}){const o=F("ac_group_report",p,e.accountGroupId),l={children:[],id:o,isLastNode:i,reportElementData:{element:{kind:"ac_group_report",title:a,sectionType:t,data:e,numOfBalances:n},config:r}},c=ue(t,"no_filter",r.filterAccountsWithNilBalances,r.filterAccountGroupsWithNilBalances).compactedAccountsSelector(e);return l.children=c.map((h,g)=>fe({account:h,sectionType:t,numOfBalances:n,title:h.accountDescription,config:r,isLastNode:g===c.length-1,parentNodeIDs:[...p,o]})),l}function $e({section:e,sectionType:t,numOfBalances:n,title:a,isLastNode:i,config:r}){const p=F("section",[],a),o={children:[],id:p,isLastNode:i,reportElementData:{element:{kind:"section",title:a,sectionType:t,data:e,numOfBalances:n},config:r}},l=It(e,r.displayOrder,n,!1),c=ho(l.balances),h=ue(t,"no_filter",r.filterAccountsWithNilBalances,r.filterAccountGroupsWithNilBalances),g=h.compactedAccountsSelectorVariant(e.accountsOrdered),m=h.compactedAccountGroupsSelector(e.accountGroupsOrdered);if(c===!0&&(m.length>0||e.accountsOrdered.length>0)){const f=m.map((w,S)=>mo({acGroup:w,sectionType:t,numOfBalances:n,title:w.accountGroupName,isLastNode:S===m.length-1,config:r,parentNodeIDs:[p]})),x=g.map((w,S)=>fe({account:w,sectionType:t,numOfBalances:n,title:w.accountDescription,isLastNode:S===e.accountsOrdered.length-1,config:r,parentNodeIDs:[p]}));o.children.push(...f),o.children.push(...x)}return o}function ho(e){let t=!1;if(e!=null){for(const n of e)if(n!=null&&n.balance.amount!==0){t=!0;break}}return t}function z({balances:e,config:t,nodeId:n}){let a="timeframe_headers";return t.mode==="actual_vs_forecast"&&(a="timeframe_headers_with_forecast"),{children:[],id:n??F("timeframe_header",[]),isLastNode:!1,reportElementData:{element:{kind:a,title:"",data:e,numOfBalances:e.length},config:t}}}function fo(e,t,n=!0){const a=_.getLocalizedStrings().reports,i=t.mode==="this_period_vs_period_before"?e.filter.balancesRange.numberOfPeriods+2:e.filter.balancesRange.numberOfPeriods+1,r=e.cashIn.balances?[...e.cashIn.balances,...e.cashIn.additionalBalances]:e.cashOut.balances?[...e.cashOut.balances,...e.cashOut.additionalBalances]:[],p=z({balances:r,config:t}),o=$e({section:e.cashIn,sectionType:"cash_in",numOfBalances:i,title:a.sections.cashIn,isLastNode:!0,config:t}),l=$e({section:e.cashOut,sectionType:"cash_out",numOfBalances:i,title:a.sections.cashOut,isLastNode:!0,config:t}),c=te({calculatedSection:e.netCashFlow,numOfBalances:i,title:a.sections.netCashFlow,isLastNode:!0,config:t});return{config:t,headerNodes:n?[p]:[],contentNodes:[p,o,l,c]}}function be({title:e,balances:t,config:n,numOfBalances:a,nodeId:i}){return{children:[],id:i??F("total",[]),isLastNode:!1,reportElementData:{element:{kind:"total",title:e,data:t,numOfBalances:a},config:n}}}function bo(e,t,n=!0){const a=_.getLocalizedStrings().reports,i=t.mode==="this_period_vs_period_before"?e.filter.balancesRange.numberOfPeriods+2:e.filter.balancesRange.numberOfPeriods+1,r=[...e.cashPosition.balances,...e.cashPosition.additionalBalances],p=e.cashPosition,o=z({balances:r,config:t}),l=be({title:_.getLocalizedStrings().chartCard.total,balances:p,config:t,numOfBalances:i}),c=F("section",[],a.sections.netCashFlow),h=ue("cash_position","no_filter",t.filterAccountsWithNilBalances,t.filterAccountGroupsWithNilBalances).compactedAccountsSelectorVariant(e.cashPosition.accountsOrdered).map((g,m)=>fe({account:g,sectionType:"cash_position",numOfBalances:i,title:g.accountDescription,isLastNode:m===e.cashPosition.accountsOrdered.length-1,config:t,parentNodeIDs:[c]}));return{config:t,headerNodes:n?[o]:[],contentNodes:[o,l,...h]}}function xo(e,t,n=!0,a=!1){const i=_.getLocalizedStrings().reports,r=_.getLocalizedStrings().common;let p=[];const o=[];let l=[];if(a===!0){const c=ge({title:r.loading,balances:[],config:t});n&&(c.reportElementData.element.numOfBalances=7,l=[c]),o.push(c),[...Array(8)].forEach((h,g)=>{const m=g%4;let f=me[m];const x=he({title:`${g}+${f}`,balances:p,config:t});x.reportElementData.element.numOfBalances=7,o.push(x)})}else{const c=t.mode==="this_period_vs_period_before"?e.filter.balancesRange.numberOfPeriods+2:e.filter.balancesRange.numberOfPeriods+1,h=e.sections.income.balances.length>0?[...e.sections.income.balances,...e.sections.income.additionalBalances]:e.sections.expenses.balances.length>0?[...e.sections.expenses.balances,...e.sections.expenses.additionalBalances]:e.sections.cogs.balances.length>0?[...e.sections.cogs.balances,...e.sections.cogs.additionalBalances]:[],g=z({balances:h,config:t});o.push(g),n&&(l=[g]),e.idsInOrder.forEach(m=>{if(zt(m)===!0){const f=e.sections[m];f!=null&&o.push(Ne({section:f,sectionType:m,numOfBalances:c,title:i.sections[m],isLastNode:!0,config:t}))}else if(Mt(m)===!0){const f=e.calculatedSections[m];f!=null&&o.push(te({calculatedSection:f,numOfBalances:c,title:m==="netBurnOrIncome"?e.reportTitle:i.sections[m],isLastNode:!0,config:t}))}})}return{config:t,headerNodes:l,contentNodes:o}}function _o(e,t,n=!0){const a=_.getLocalizedStrings().reports,i=t.mode==="this_period_vs_period_before"?e.filter.balancesRange.numberOfPeriods+2:e.filter.balancesRange.numberOfPeriods+1,r=e.sections.income.balances.length>0?[...e.sections.income.balances,...e.sections.income.additionalBalances]:e.sections.expenses.balances.length>0?[...e.sections.expenses.balances,...e.sections.expenses.additionalBalances]:e.sections.cogs.balances.length>0?[...e.sections.cogs.balances,...e.sections.cogs.additionalBalances]:[],p=z({balances:r,config:t}),o=[];return o.push(p),e.idsInOrder.forEach(l=>{lt(l)===!0?e.sections[l].accountGroups.length>0?o.push(Re({section:e.sections[l],sectionType:l,numOfBalances:i,title:a.sections[l],isLastNode:!0,config:t})):o.push(De({sectionWithAcOnly:e.sections[l],sectionType:l,numOfBalances:i,title:a.sections[l],isLastNode:!0,config:t})):dt(l)===!0&&o.push(te({calculatedSection:e.calculatedSections[l],numOfBalances:i,title:l==="netBurnOrIncome"?e.reportTitle:a.sections[l],isLastNode:!0,config:t}))}),{config:t,headerNodes:n?[p]:[],contentNodes:o}}function wo(e,t,n=!0,a=!1){const i=_.getLocalizedStrings().reports,r=_.getLocalizedStrings().common;let p=[];const o=[];let l=[];if(a===!0){const c=ge({title:r.loading,balances:[],config:t});c.reportElementData.element.numOfBalances=10,n&&(l=[c]),o.push(c),[...Array(8)].forEach((h,g)=>{const m=g%4;let f=me[m];const x=he({title:`${g}+${f}`,balances:p,config:t});x.reportElementData.element.numOfBalances=10,o.push(x)})}else{const c=t.mode==="this_period_vs_period_before"?e.filter.balancesRange.numberOfPeriods+2:e.filter.balancesRange.numberOfPeriods+1,h=[...e.sections.expenses.balances,...e.sections.expenses.additionalBalances],g=z({balances:h,config:t}),m=e.sections.expenses,f=be({title:_.getLocalizedStrings().chartCard.total,balances:m,config:t,numOfBalances:c});o.push(g),o.push(f),n&&(l=[g]);const x=F("section",[],i.sections.expenses);e.sections.expenses.classes.forEach((w,S)=>{o.push(Nt({classNode:w,sectionType:"expenses",numOfBalances:c,title:w.class.className,isLastNode:w.isLeafClass,config:t,parentNodeIDs:[x],ancestorMetadata:{subAccountAncestorMetadata:[],classAncestorMetadata:[{depth:w.id.length-1,hasSibling:!1,hasChildren:w.children.length>0,isLastNode:S===e.sections.expenses.classes.length-1,name:w.class.className}]}}))})}return{config:t,headerNodes:l,contentNodes:o}}function So(e,t,n=!0){const a=_.getLocalizedStrings().reports,i=t.mode==="this_period_vs_period_before"?e.filter.balancesRange.numberOfPeriods+2:e.filter.balancesRange.numberOfPeriods+1,r=[...e.sections.expenses.balances,...e.sections.expenses.additionalBalances],p=z({balances:r,config:t}),o=e.sections.expenses,l=be({title:_.getLocalizedStrings().chartCard.total,balances:o,config:t,numOfBalances:i}),c=F("section",[],a.sections.expenses),h=Lt("no_filter",t.filterAccountsWithNilBalances,t.filterAccountGroupsWithNilBalances),g=[];g.push(p),g.push(l);const m=h.compactedAccountGroupsSelector(e.sections.expenses.accountGroups);if(m.length!=0){const f=m.map((x,w)=>Rt({acGroup:x,sectionType:"expenses",numOfBalances:i,title:x.accountGroupName,isLastNode:w===m.length-1,config:t,parentNodeIDs:[c]}));g.push(...f)}else if(e.sections.expenses.accounts?.length!==0){const f=h.compactedAccountsSelectorVariant(e.sections.expenses.accounts),x=f.map((w,S)=>Dt({account:w,sectionType:"expenses",numOfBalances:i,title:w.account.accountName,isLastNode:S===f.length-1,config:t,parentNodeIDs:[c],ancestorMetadata:{subAccountAncestorMetadata:[{depth:0,hasSibling:f.length>1,hasChildren:w.children.length>0,isLastNode:S===f.length-1}]}}));g.push(...x)}return{config:t,headerNodes:n?[p]:[],contentNodes:g}}function yo(e,t,n=!0,a=!1){const i=_.getLocalizedStrings().reports,r=_.getLocalizedStrings().common;let p=[];const o=[];let l=[];if(a===!0){const c=ge({title:r.loading,balances:[],config:t});c.reportElementData.element.numOfBalances=7,n&&(l=[c]),o.push(c),[...Array(8)].forEach((h,g)=>{const m=g%4;let f=me[m];const x=he({title:`${g}+${f}`,balances:p,config:t});x.reportElementData.element.numOfBalances=7,o.push(x)})}else{const c=t.mode==="this_period_vs_period_before"?e.filter.balancesRange.numberOfPeriods+2:e.filter.balancesRange.numberOfPeriods+1,h=e.sections.income.balances.length>0?[...e.sections.income.balances,...e.sections.income.additionalBalances]:e.sections.cogs.balances.length>0?[...e.sections.cogs.balances,...e.sections.cogs.additionalBalances]:e.calculatedSections.grossMargin.balances.length>0?[...e.calculatedSections.grossMargin.balances,...e.calculatedSections.grossMargin.additionalBalances]:[],g=z({balances:h,config:t});o.push(g),n&&(l=[g]),e.idsInOrder.forEach(m=>{if(Vt(m)===!0){const f=e.sections[m];f!=null&&o.push(Ne({section:f,sectionType:m,numOfBalances:c,title:i.sections[m],isLastNode:!0,config:t}))}else if(Ht(m)===!0){const f=e.calculatedSections[m];f!=null&&o.push(te({calculatedSection:f,numOfBalances:c,title:i.sections.grossMargin,isLastNode:!0,config:t}))}})}return{config:t,headerNodes:l,contentNodes:o}}function Co(e,t,n=!0){const a=_.getLocalizedStrings().reports,i=t.mode==="this_period_vs_period_before"?e.filter.balancesRange.numberOfPeriods+2:e.filter.balancesRange.numberOfPeriods+1,r=e.sections.income.balances.length>0?[...e.sections.income.balances,...e.sections.income.additionalBalances]:e.sections.cogs.balances.length>0?[...e.sections.cogs.balances,...e.sections.cogs.additionalBalances]:e.calculatedSections.grossMargin.balances.length>0?[...e.calculatedSections.grossMargin.balances,...e.calculatedSections.grossMargin.additionalBalances]:[],p=z({balances:r,config:t}),o=[];return o.push(p),e.idsInOrder.forEach(l=>{rt(l)===!0?e.sections[l].accountGroups.length>0?o.push(Re({section:e.sections[l],sectionType:l,numOfBalances:i,title:a.sections[l],isLastNode:!0,config:t})):o.push(De({sectionWithAcOnly:e.sections[l],sectionType:l,numOfBalances:i,title:a.sections[l],isLastNode:!0,config:t})):ct(l)===!0&&o.push(te({calculatedSection:e.calculatedSections[l],numOfBalances:i,title:a.sections[l],isLastNode:!0,config:t}))}),{config:t,headerNodes:n?[p]:[],contentNodes:o}}function vo(e,t,n,a=!0){Object.assign(e.config,t);const i=$o(n),r=z({balances:i,config:t});return{config:t,headerNodes:a?[r]:[],contentNodes:[r,...e.contentNodes.slice(1)]}}const $o=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[]}},je={contentPaddingLeft:new I(j[0],j[0],j[0]),contentPaddingRight:new I(j[3],j[3],j[8])},jo=u.div`
|
|
313
|
+
width: 100%;
|
|
314
|
+
height: calc(100vh - 70px);
|
|
315
|
+
`,Oo=u.div`
|
|
316
|
+
display: flex;
|
|
317
|
+
position: sticky;
|
|
318
|
+
justify-content: center;
|
|
319
|
+
padding-top: ${d.sp6};
|
|
320
|
+
padding-left: ${e=>K.wrapperPadding.valuePx(e.windowSize)};
|
|
321
|
+
background-color: ${e=>e.theme.colors.grey4};
|
|
322
|
+
`,ko=u.div`
|
|
323
|
+
position: absolute;
|
|
324
|
+
padding-top: ${d.sp3};
|
|
325
|
+
background-color: ${e=>e.theme.colors.grey4};
|
|
326
|
+
`,Bo=e=>{const t=B(),n=Z(),{selectedRangeReport:a,selectedClassesViewRangeReport:i,uiState:r,scrollPosition:p,isZeniUser:o,onTableScroll:l,onElementCollapseStateChanged:c,onAccountBalanceClick:h,onUpdateAccountViewMode:g,onUpdateClassesToFilterOut:m,onOpenAccountViewMode:f}=e,{highlightedCOABalancesRange:x,mode:w}=r,S=a.availableNumberOfPeriods==null||a.availableNumberOfPeriods===0,b=a.availableNumberOfPeriods!=null&&a.availableNumberOfPeriods<2,v=r.mode==="compare_mode"&&!b,O=v||r.mode==="forecast_mode"?3:1,V=k=>{e.analytics?.trackCompareFilterChange(k==="compare_mode_percent"?"percentage":"amount",R(a.reportId),Y(r.timeframe),"dropdown");const L=k==="compare_mode_percent"?"this_period_vs_last_period_percent":"this_period_vs_last_period";e.onAdditionalBalanceSelectionChanged(v,[L],x?.numberOfPeriods??O)},[P,E]=y.useState(void 0),[H,M]=y.useState(void 0),N=!(t==="small"||t==="medium-compact"),W=w==="forecast_mode"?"name+balances_forecast":"name+balances_actual",C=Lo(r.selectedAdditionalBalances),$=i!==void 0&&i.uiState.accountViewMode==="classes"?i:a,U=w==="forecast_mode"?"actual_vs_forecast":v===!0?"this_period_vs_period_before":"none",q=a.reportId==="net_burn_or_income"||a.reportId==="operating_expenses"||a.reportId==="revenue",ne=(k,L)=>{k!==i?.uiState.accountViewMode&&g?.(k),L&&m?.(L)};return y.useEffect(()=>{const k={reportId:w==="forecast_mode"&&r.selectedForecast!=null?`${$.reportId}+${r.selectedForecast?.id}`:$.reportId,mode:U,displayOrder:"ascending_date",reportFormat:"more_detailed",bookCloseDate:$.bookCloseDate,firstMonthOfFY:$.firstMonthOfFY,filterAccountsWithNilBalances:w==="forecast_mode"?"filter_actual_forecast_nil_balances":"filter_actual_nil_balances",filterAccountGroupsWithNilBalances:"filter_actual_forecast_empty_account_group_balances",showNegativeAmountInParenthesis:it(),showClassAccountNumber:o,isZeniCOAInUse:e.isZeniCOAUsed,dataAvailable:$.dataAvailable};if(P==null||!Q(H,$)||e.isPageFetchInProgress===!0){const L=Po($,k,N,e.isPageFetchInProgress);M($),E(L)}else{const L=vo(P,k,$,N);E(L)}},[W,v,$,e.isPageFetchInProgress]),s.jsx(Oo,{windowSize:t,children:S?s.jsx(Tt,{}):P!=null?s.jsxs(jo,{children:[s.jsx(Pt,{backgroundColor:new at(n.colors.grey4),rootNodes:P,type:W,compareMode:C,isSticky:{isStickyHeader:N,isStickyName:N},treeNodePadding:{left:je.contentPaddingLeft.value(t),right:je.contentPaddingRight.value(t)},onAccountClick:h==null?void 0:(k,L)=>{h(k,L)},nodeOpenStatus:r.nodeCollapseState,scrollPosition:p,onCompareModeChanged:V,onScroll:l,onNodeCollapseToggled:c}),q===!0&&i!==void 0?s.jsx(ko,{children:s.jsx(yt,{reportId:a.reportId,nodes:i.classHierarchy,classesListFetchState:i.fetchState,selectedView:i.uiState.accountViewMode,showClassAccountNumber:o,showAccountGroups:e.isZeniCOAUsed??!0,onSaveClick:ne,classesToBeFilteredOut:i.classesToFilterOut,isClassViewDisabled:r.mode==="forecast_mode",firstMonthOfFY:i.firstMonthOfFY,onOpenAccountViewMode:f,onResyncReports:e.onResyncReports,isPageFetchInProgress:e.isPageFetchInProgress,lastRefreshSuccessTime:i?.status?.lastRefreshSuccessTime})}):null]}):null})},Po=(e,t,n=!0,a=!1)=>{switch(e.reportId){case"net_burn_or_income":return _o(e,t,n);case"net_burn_or_income_by_classes":return xo(e,t,n,a);case"revenue":return Co(e,t,n);case"revenue_by_classes":return yo(e,t,n,a);case"cash_position":return bo(e,t,n);case"cash_in_cash_out":return fo(e,t,n);case"operating_expenses":return So(e,t,n);case"operating_expenses_by_classes":return wo(e,t,n,a);default:return}},Lo=e=>e.includes("this_period_vs_last_period_percent")?"compare_mode_percent":"compare_mode_amount",J={chartWidth:"100%",barCount:8,barWidth:new I(j[6],j[8],j[10]),maxBarHeight:1},Io=({customStyle:e,chartDefaultHeight:t,chartDefaultWidth:n=J.chartWidth,barCount:a=J.barCount,barHeights:i=[.4,.5,.6,1,.3,.5,.2,.7],backgroundColor:r})=>{const p=Z(),o=B(),l=t??K.chartHeight.value(o),c=l-j[5],h=[...Array(a)].map((g,m)=>({height:(i?.[m]||J.maxBarHeight)*l,width:J.barWidth}));return s.jsx(No,{style:{...e,width:n,height:l,backgroundColor:r},children:s.jsx(Ro,{children:h.map((g,m)=>s.jsx(Do,{children:s.jsx(tt,{speed:2,width:J.barWidth.value(o),height:c,viewBox:`0 0 100 ${c}`,preserveAspectRatio:"none",animate:!0,backgroundColor:p.colors.grey3,foregroundColor:p.colors.grey4,children:s.jsx("rect",{x:"0",y:c-g.height-20,width:"100%",height:g.height,rx:"4",ry:"4"})})},`bar-loader-${m}-${g.height}`))})})},No=u.div`
|
|
327
|
+
width: 100%;
|
|
328
|
+
height: 100%;
|
|
329
|
+
border-radius: ${d.sp2};
|
|
330
|
+
padding: ${d.sp4};
|
|
331
|
+
background-color: ${e=>e.backgroundColor};
|
|
332
|
+
display: flex;
|
|
333
|
+
flex-direction: column;
|
|
334
|
+
`,Ro=u.div`
|
|
335
|
+
display: flex;
|
|
336
|
+
align-items: flex-end;
|
|
337
|
+
justify-content: space-between;
|
|
338
|
+
width: 100%;
|
|
339
|
+
height: 100%;
|
|
340
|
+
`,Do=u.div`
|
|
341
|
+
flex: 1;
|
|
342
|
+
height: 100%;
|
|
343
|
+
display: flex;
|
|
344
|
+
align-items: flex-end;
|
|
345
|
+
justify-content: center;
|
|
346
|
+
`,To=u.div`
|
|
347
|
+
display: flex;
|
|
348
|
+
flex: 1 1 auto;
|
|
349
|
+
min-height: 100%;
|
|
350
|
+
flex-direction: column;
|
|
351
|
+
width: 100%;
|
|
352
|
+
background-color: ${e=>e.theme.colors.grey4};
|
|
353
|
+
`,Ao=u.div`
|
|
354
|
+
position: relative;
|
|
355
|
+
box-shadow: ${e=>`2px 0px ${d.sp1} ${e.theme.colors.dropShadowNormal}`};
|
|
356
|
+
background-color: ${e=>e.theme.colors.grey5};
|
|
357
|
+
padding-left: ${e=>K.wrapperPadding.valuePx(e.windowSize)};
|
|
358
|
+
padding-right: ${e=>K.wrapperPadding.valuePx(e.windowSize)};
|
|
359
|
+
z-index: 1;
|
|
360
|
+
`,zo=u.div`
|
|
361
|
+
display: flex;
|
|
362
|
+
justify-content: center;
|
|
363
|
+
padding: ${d.sp6} ${d.sp0};
|
|
364
|
+
`,Eo=u.div`
|
|
365
|
+
display: flex;
|
|
366
|
+
flex-direction: column;
|
|
367
|
+
justify-content: center;
|
|
368
|
+
align-items: center;
|
|
369
|
+
height: 100vh;
|
|
370
|
+
margin-top: ${d.sp8};
|
|
371
|
+
`,wn=e=>{const t=B(),n=Z(),[a,i]=y.useState(!1),r=_.getLocalizedStrings(),{reportLabels:p,selectedRangeReport:o,selectedClassesViewRangeReport:l,uiState:c,downloadParams:h,analytics:g,onBackClick:m,updateDownloadStateHandler:f,onAdditionalBalanceSelectionChanged:x}=e,{insights:w}=o,{selectedCOABalancesRange:S,timeframe:b,selectedAdditionalBalances:v,downloadState:O}=c,V=o.availableNumberOfPeriods!=null&&o.availableNumberOfPeriods<2,P=c.mode==="compare_mode"&&!V,E=Oe(),H=E.loggedInUserRole!=null&&!qe(E.loggedInUserRole),M=e.selectedRangeReport.reportId==="cash_in_cash_out"||e.selectedRangeReport.reportId==="cash_position";y.useEffect(()=>{async function T(){await Qt({report:l!==void 0&&l.uiState.accountViewMode==="classes"?l:o,filter:o.filter,coaBalancesRange:S,isCompareModeOn:P,reportView:l!==void 0?l.uiState.accountViewMode:"account_group",classesToFilterOut:l!==void 0?l.uiState.classesToFilterOut:[],...h,reportType:H||M?"more_detailed":"detailed",isZeniCOAUsed:e.isZeniCOAUsed??!0}),g?.trackDownload(R(o.reportId),Y(b),"excel",P),f("Completed")}a&&O!=="In-Progress"&&(i(!1),f("In-Progress"),T())},[h,O,o.filter,a,P,S,o,l,b,g,f,H,M,e.isZeniCOAUsed]);const N=o.availableNumberOfPeriods==null||o.availableNumberOfPeriods===0||o.allTimeframeTicks.length===0,W=o.fetchState==="In-Progress"||o.fetchState==="Not-Started",C=Je([e?.reportsResyncFetchState??{fetchState:"Not-Started"},l??{fetchState:"Not-Started"}]).fetchState==="In-Progress"&&l?.uiState.accountViewMode==="classes";y.useEffect(()=>{const T=P||c.mode==="forecast_mode"?3:1;x(P,v,T)},[t]);const $=T=>{e.autoCompleteData?.autoCompleteText!=null&&e.analytics?.trackSearch(Xe.Event.search,R(o.reportId),T.type,T.name,e.autoCompleteData?.autoCompleteText),e.autoCompleteActions?.onAutoCompleteEntity?.(T)},{autoCompleteData:U,autoCompleteActions:q,scrollPosition:ne,...k}=e,L=s.jsx(et,{downloadReportOptions:{type:"simple_menu",downloadMenu:{simpleMenuItems:[{type:"excel",isDisabled:N,isDownloading:O==="In-Progress"}],onDownloadClick:async T=>{if(T==="excel")if(O==="In-Progress"){console.log("Download is already in progress!");return}else i(!0)}}}});return s.jsxs(To,{children:[s.jsx(Ke,{title:p.reportTitle,backgroundColor:n.colors.grey5,onBackClick:m,rightSideComponent:L,downloadPresent:!0,searchAutoComplete:{autoCompleteData:e.autoCompleteData,autoCompleteActions:{...e.autoCompleteActions,onAutoCompleteEntity:$}},source:"DashboardReportPage",style:{zIndex:2}}),W?s.jsx(Eo,{children:s.jsx(Qe,{size:"Standard",start:!0})}):N?s.jsx(qt,{style:{background:n.colors.grey5},emptyContentText:r.common.noReport.replace("_item-name_",`${r.reportTitleById.operating_expenses.toLowerCase()}`),EmptyContentImage:Ut}):s.jsxs(s.Fragment,{children:[s.jsxs(Ao,{windowSize:t,children:[s.jsx(Wo,{...k}),s.jsx(Mo,{highlightedRangeReport:o,uiState:c}),C?s.jsx(Io,{}):s.jsx(Fo,{...k}),s.jsx(zo,{children:s.jsx(Ct,{insights:w})})]}),s.jsx(Vo,{scrollPosition:ne,isPageFetchInProgress:C,...k})]})]})},Mo=X.memo(us,Q),Fo=X.memo(hs,Q),Vo=X.memo(Bo,Q),Wo=X.memo(go,Q);export{wn as default};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{cS as p,j as a,c_ as h,o as m}from"./index-kF4u7Flm.js";import{b as o,u,n as x}from"./vendor-Bs1fkIUX.js";const y=o.memo(function({christmasAnimationEnabled:e=!1,newYearAnimationEnabled:t=!1}){const s=u(),l=t?"DashboardNewYearShow":"DashboardChristmasSnow",[i,r]=p(l),[n,c]=o.useState(null);i!=null&&n==null&&!r&&c(i);const d=e&&s.mode==="light"?.7:.2;return(e||t)&&n!=null?a.jsx(b,{contextWiseOpacity:d,newYearAnimationEnabled:t,children:a.jsx(h,{style:{width:"inherit",height:"inherit",display:"block"},animationData:n,play:!0,loop:t?5:!0,rendererSettings:{preserveAspectRatio:"xMidYMid slice"}})}):null}),b=x.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex: 1 1 auto;
|
|
4
4
|
flex-direction: column;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{cG as $,l5 as u,q as y,j as l,o as i,cd as d,ce as c}from"./index-kF4u7Flm.js";import{n as t}from"./vendor-Bs1fkIUX.js";import{g as k}from"./BoxItem-COIjjFrn-CYZK_lth.js";import{o as v}from"./commonDimensions-C32v1F7H-C9uaBJ8J.js";function K({data:e,boxType:w}){const{counterParty:r,typeName:s,amount:x,logo:p,summary:m,direction:b,status:f}=e,g=r.length>0?r:m,a=$("0,0.00",x),n=u(f),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:g}),n!=null?l.jsxs(P,{windowSize:o,children:[l.jsx(q,{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"};
|
|
@@ -20,16 +20,16 @@ import{aN as $,hD as u,q as y,j as l,o as i,am as d,an as c}from"./index-sAOH0Fj
|
|
|
20
20
|
flex-direction: row;
|
|
21
21
|
width: 100%;
|
|
22
22
|
justify-content: space-between;
|
|
23
|
-
`,
|
|
23
|
+
`,T=t.div`
|
|
24
24
|
display: flex;
|
|
25
25
|
justify-content: space-between;
|
|
26
26
|
align-items: center;
|
|
27
27
|
flex: 1;
|
|
28
|
-
`,
|
|
28
|
+
`,C=t.img`
|
|
29
29
|
display: flex;
|
|
30
30
|
width: ${i.sp4};
|
|
31
31
|
height: ${i.sp4};
|
|
32
|
-
`,
|
|
32
|
+
`,D=t(d)`
|
|
33
33
|
display: -webkit-box;
|
|
34
34
|
-webkit-box-orient: vertical;
|
|
35
35
|
-webkit-line-clamp: 1;
|
|
@@ -73,4 +73,4 @@ import{aN as $,hD as u,q as y,j as l,o as i,am as d,an as c}from"./index-sAOH0Fj
|
|
|
73
73
|
margin-left: ${i.sp3};
|
|
74
74
|
text-align: right;
|
|
75
75
|
width: ${e=>v.amountWidth.valuePx(e.windowSize)};
|
|
76
|
-
`;export{
|
|
76
|
+
`;export{K as H};
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
import{x as M,q as z,lc as D,j as e,dD as Y,O as C,cZ as B,o as r,h as g,e$ as F,cD as L,y as R,c9 as A,cd as I,u as f,g4 as T,g5 as q,f_ as N,g6 as O}from"./index-kF4u7Flm.js";import{b,n as a}from"./vendor-Bs1fkIUX.js";import{$ as P}from"./BoxItem-COIjjFrn-CYZK_lth.js";import{o as V}from"./commonDimensions-C32v1F7H-C9uaBJ8J.js";import{H as E}from"./DepositAccTransactionItem-B0BGwVqF-Cwta5ei3.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-D-TY61DZ.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.js";const n=C.getLocalizedStrings(),H={listItemMargin:new R(f[3],f[8])};function K(t){const d=T(t,o=>o.transactionDate.format(n.dateFormat.visual.MMMDCommaYYYYformat)),m=q(d,o=>o.length>0);return N(m,o=>({date:o[0].transactionDate,transactions:O(o,h=>h.transactionDate,"desc")}))}const Z=D(K),mt=({transactionListView:t,onBackClick:d})=>{const m=M(),o=z(),h=b.createRef(),p=b.useRef(null),l=Z(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().year()===s.date.year()?s.date.format(n.dateFormat.visual.MMMDFormat):s.date.format(n.dateFormat.visual.MMMDCommaYYYYformat)}),e.jsx(X,{children:s.transactions.map((S,u)=>e.jsx(E,{data:S,boxType:P(u,s.transactions.length)},u))})]})})})}else return e.jsx(w,{style:{...c},children:e.jsx(_,{children:e.jsx($,{windowSize:o,children:e.jsx(Q,{children:n.transactionList.noTransactionsFoundForPrefix})})})})};return e.jsxs(J,{children:[e.jsx(Y,{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(G,{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
|
+
`,_=a.div`
|
|
4
|
+
display: flex;
|
|
5
|
+
height: 100%;
|
|
6
|
+
flex: 1 1 auto;
|
|
7
|
+
flex-direction: row;
|
|
8
|
+
justify-content: center;
|
|
9
|
+
align-items: flex-end;
|
|
10
|
+
`,J=a.div`
|
|
11
|
+
display: flex;
|
|
12
|
+
height: 100%;
|
|
13
|
+
flex-direction: column;
|
|
14
|
+
width: 100%;
|
|
15
|
+
padding-bottom: ${r.sp7};
|
|
16
|
+
`,Q=a(I)`
|
|
17
|
+
display: flex;
|
|
18
|
+
color: ${t=>t.theme.colors.grey2};
|
|
19
|
+
`,U=a(A)`
|
|
20
|
+
display: flex;
|
|
21
|
+
height: 21px;
|
|
22
|
+
margin-bottom: ${r.sp2};
|
|
23
|
+
margin-top: ${r.sp3};
|
|
24
|
+
color: ${t=>t.theme.colors.grey1};
|
|
25
|
+
`,y=a.div`
|
|
26
|
+
display: flex;
|
|
27
|
+
flex-direction: column;
|
|
28
|
+
width: 100%;
|
|
29
|
+
height: 100%;
|
|
30
|
+
`,X=a.div`
|
|
31
|
+
display: flex;
|
|
32
|
+
flex: 1 1 auto;
|
|
33
|
+
flex-direction: column;
|
|
34
|
+
box-shadow: ${t=>`${r.sp0} 2px ${r.sp1} ${t.theme.colors.dropShadowNormal}`};
|
|
35
|
+
border-radius: ${r.sp2};
|
|
36
|
+
background-color: ${t=>t.theme.colors.grey5};
|
|
37
|
+
`,G=a(F)`
|
|
38
|
+
scrollbar-width: thin;
|
|
39
|
+
scrollbar-color: transparent transparent;
|
|
40
|
+
&::-webkit-scrollbar {
|
|
41
|
+
width: ${r.sp2};
|
|
42
|
+
height: ${r.sp0};
|
|
43
|
+
background-color: transparent;
|
|
44
|
+
}
|
|
45
|
+
&::-webkit-scrollbar-track {
|
|
46
|
+
box-shadow: inset 0 0 2px ${g.scrollbarBoxShadow};
|
|
47
|
+
-webkit-box-shadow: inset 0 0 2px ${g.scrollbarBoxShadow};
|
|
48
|
+
background-color: transparent;
|
|
49
|
+
}
|
|
50
|
+
&::-webkit-scrollbar-thumb {
|
|
51
|
+
background-color: transparent;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
&:hover {
|
|
55
|
+
scrollbar-color: ${t=>t.theme.colors.grey1} transparent;
|
|
56
|
+
&::-webkit-scrollbar {
|
|
57
|
+
width: ${r.sp2};
|
|
58
|
+
height: ${r.sp0};
|
|
59
|
+
background-color: transparent;
|
|
60
|
+
}
|
|
61
|
+
&::-webkit-scrollbar-thumb {
|
|
62
|
+
background-color: ${t=>t.theme.colors.grey1};
|
|
63
|
+
border-radius: 2px;
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
`;export{mt as default};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import{q as U,c1 as V,O as j,fk as H,cu as K,fd as B,j as n,eX as X,eY as Y,eZ as Z,c4 as _,cK as G,y as u,i7 as J,o as Q,d2 as ee,u as a}from"./index-kF4u7Flm.js";import{b as N,n as h}from"./vendor-Bs1fkIUX.js";import{e as ne}from"./BankAccountSection-GDEQdiGL-CmBLlIS1.js";import{M as te}from"./MagicLinkTitleSection-Cn1v72Rs-Dx0fyRw5.js";import{W as ae,F as oe}from"./BankAccountWarningSection-Di_BsiJC-_Ul1tNJQ.js";import{T as ie}from"./MailingDetailsSection-9RwlQxVG-_UrE81Sw.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])},T="domesticWireDetailsPage",f="bankAccountSection",$="mailingAddressSection",w=e=>`${e}_form`,he=e=>{const{bankAccountCreationState:o,fetchBankNameByRoutingStatus:b,addressType:x,bankAccountToCreate:s,addressToEdit:r,mailingAddress:y,isDisabled:A,companyName:v,isMagicLink:g,currencySymbol:D,amount:P,onSaveHandler:R,onWireDetailsUpdated:z,onFetchBankName:L,onAddressClick:E,onBackClick:C}=e,l=U(),c=V({mode:"onBlur",reValidateMode:"onChange",defaultValues:N.useMemo(()=>se(s,r),[s,r])}),[W,p]=N.useState(!1),t=j.getLocalizedStrings().spendManagement.billPay.vendorCreation,F=j.getLocalizedStrings().common.footer,M=t.wireDetails.domestic,I={onOkClick:()=>{p(!1),c.reset(),C?.()},onCancelClick:()=>{p(!1)}},O=async(k,m)=>{const d=m[f].bankRoutingNumber;z(m),k===`${f}.bankRoutingNumber`&&d?.length===9&&J.test(d)===!0&&L?.(d)};N.useEffect(()=>{const k=c.watch((m,{name:d})=>{d!=null&&m!=null&&H(()=>O(d,m))});return()=>{k.unsubscribe()}});const q=c.handleSubmit(k=>{b.fetchState!=="In-Progress"&&R("wire")}),S=!K(y!=null?B(y):y,r!=null?B(r):r)||re(s)||c.formState.isDirty;return n.jsxs(me,{children:[n.jsxs(le,{size:l,children:[W===!0?n.jsx(X,{titleComponent:n.jsx(Z,{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:D??"",amount:P??0}):M.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(_,{...c,children:n.jsxs("form",{id:w(T),onSubmit:q,children:[n.jsx(ce,{size:l,children:n.jsx(ne,{bankAccountToCreate:s,fetchBankNameByRoutingStatus:b,sectionId:f,isDisabled:A})}),n.jsx(ie,{sectionId:$,isDisabled:A,addressType:x,addressToEdit:r,onAddressClick:E})]})})]}),n.jsx(G,{formId:w(T),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:F.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},[$]:{mailingAddress:o}}),re=e=>{if(e==null)return!1;const{bankAccountName:o,bankAccountNumber:b,bankName:x,bankRoutingNumber:s}=e;return!!o||!!b||!!x||!!s},ce=h.div`
|
|
2
|
+
padding-left: ${e=>i.paddingLeft.valuePx(e.size)};
|
|
3
|
+
padding-right: ${e=>i.paddingRight.valuePx(e.size)};
|
|
4
|
+
padding-top: ${e=>i.paddingTopBottom.valuePx(e.size)};
|
|
5
|
+
padding-bottom: ${e=>i.paddingTopBottom.valuePx(e.size)};
|
|
6
|
+
background: ${e=>e.theme.colors.grey4};
|
|
7
|
+
`,de=h(ee)`
|
|
8
|
+
color: ${e=>e.theme.colors.champion};
|
|
9
|
+
margin-left: ${e=>i.marginLeft.valuePx(e.size)};
|
|
10
|
+
margin-top: ${Q.sp3};
|
|
11
|
+
`,le=h.div`
|
|
12
|
+
display: flex;
|
|
13
|
+
flex-direction: column;
|
|
14
|
+
flex-grow: 1;
|
|
15
|
+
`,me=h.div`
|
|
16
|
+
background-color: ${e=>e.theme.colors.grey4};
|
|
17
|
+
display: flex;
|
|
18
|
+
flex-direction: column;
|
|
19
|
+
width: 100%;
|
|
20
|
+
height: 100%;
|
|
21
|
+
`;export{he as D};
|