@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.
Files changed (314) hide show
  1. package/dist/assets/{ACHDetailsPage-BZFkcCOG-Bm0yzLzS.js → ACHDetailsPage-BZFkcCOG-WfBPHoUX.js} +2 -2
  2. package/dist/assets/{AIPerformancePage-DtNLjoUW-C8WssBlV.js → AIPerformancePage-DtNLjoUW-CinUSJg2.js} +124 -124
  3. package/dist/assets/{AccountInfoPage-D-E_-WpE-D3xkesKo.js → AccountInfoPage-D-E_-WpE-DJyb7x4k.js} +2 -2
  4. package/dist/assets/{AccountInfoPageContent-B8GKrtCm-Bl_GPEk1.js → AccountInfoPageContent-B8GKrtCm-10kK72ec.js} +13 -13
  5. package/dist/assets/AccountLockedInfoModal-BD7Nb81U-ZCs8qzoa.js +59 -0
  6. package/dist/assets/AccountReconDetailsDrawerPage-D-_ME0pV-BuvZZBZ-.js +239 -0
  7. package/dist/assets/{AccountRow-Be3LIHO--AtWCxnkE.js → AccountRow-Be3LIHO--BjLJB43L.js} +32 -32
  8. package/dist/assets/AccountsPromoCardStack-CdBwPVgI-CkQ7kJh8.js +207 -0
  9. package/dist/assets/{AddAddressForCardDrawer-Lm7cn4kq-BwSuj-eK.js → AddAddressForCardDrawer-Lm7cn4kq-DzFp-OyN.js} +2 -2
  10. package/dist/assets/{AddToWalletPage-nSq-9dQy-DNXeo8yV.js → AddToWalletPage-nSq-9dQy-D56Hf4hb.js} +13 -13
  11. package/dist/assets/AgingReportsPage-L0zQxwCf-D3sUJmot.js +79 -0
  12. package/dist/assets/AllUserItems-CvwaOEhu-DISgj-9d.js +192 -0
  13. package/dist/assets/ApAgingDetailPage-B_78aSEv-DLL7XkHo.js +46 -0
  14. package/dist/assets/{AppBasePage-Br0WbQRY-C5P2SI_a.js → AppBasePage-Br0WbQRY-BAK8zLlg.js} +5 -5
  15. package/dist/assets/{AppDrawerContent-BZODvVvi-DO9-i0u3.js → AppDrawerContent-BZODvVvi-DQ-V9QL0.js} +7 -7
  16. package/dist/assets/ApprovalRulesSettingsPage-Dxd7A3hZ-CRTSWRxG.js +47 -0
  17. package/dist/assets/ArAgingChart-BezVy1Sm-ClcQ64wd.js +24 -0
  18. package/dist/assets/{ArAgingDetailPage-BlV3iJeW-DvSoM4Rd.js → ArAgingDetailPage-BlV3iJeW-D0lCDh_0.js} +3 -3
  19. package/dist/assets/{AttachmentView-DhluaeAV-DnrJUkr5.js → AttachmentView-DhluaeAV-DsM43aN0.js} +9 -9
  20. package/dist/assets/{BankAccountSection-GDEQdiGL-CuwfGvXF.js → BankAccountSection-GDEQdiGL-CmBLlIS1.js} +5 -5
  21. package/dist/assets/{BankAccountWarningSection-Di_BsiJC-Cp36wJhl.js → BankAccountWarningSection-Di_BsiJC-_Ul1tNJQ.js} +9 -9
  22. package/dist/assets/BankConnectionsSettingsPage-D5hI4xtm-ik9FJnty.js +425 -0
  23. package/dist/assets/BillDetailPage-CDAh8Jtl-wk3WJY1W.js +266 -0
  24. package/dist/assets/{BillPayApprovalRuleDetailPage-BzyTn4mC-DYCBn6RW.js → BillPayApprovalRuleDetailPage-BzyTn4mC-DxDRXjZW.js} +1 -1
  25. package/dist/assets/{BillPayApprovalRulesPage-DDJ-LxQz-D20J03DB.js → BillPayApprovalRulesPage-DDJ-LxQz-B-4hhNoy.js} +7 -7
  26. package/dist/assets/BillPayPromoPage-B2YcxWc9-ChjVVUdj.js +84 -0
  27. package/dist/assets/BillPaySetUpPage-oJvoWpFu-ZQ44J65y.js +42 -0
  28. package/dist/assets/BillingSettingsPage-BRsKYzT5-C1YZEc97.js +44 -0
  29. package/dist/assets/BillsBulkReviewDrawerPage-B7tORIok-09a60H-u.js +1 -0
  30. package/dist/assets/{BoxItem-COIjjFrn-DqU4ZyNU.js → BoxItem-COIjjFrn-CYZK_lth.js} +4 -4
  31. package/dist/assets/BusinessVerificationPage-Nw_fedst-Ce7UF4J6.js +138 -0
  32. package/dist/assets/{CardNumberSubText-CmhH95Ff-CLBGKyAX.js → CardNumberSubText-CmhH95Ff-D70_vfvB.js} +2 -2
  33. package/dist/assets/{CashbackDetailPage-BPLjvuA3-362WFi2j.js → CashbackDetailPage-BPLjvuA3-D2AlurqK.js} +56 -56
  34. package/dist/assets/{ChargeCardDetailPage-qOu4cPGd-BUoeKuHJ.js → ChargeCardDetailPage-qOu4cPGd-CMQ9x73T.js} +215 -215
  35. package/dist/assets/ChargeCardListPage-v5hH98Wi-BhiUhdgm.js +406 -0
  36. package/dist/assets/{ChargeCardListTable-BGWV4zJl-fPTlw7hA.js → ChargeCardListTable-BGWV4zJl-CcT6S7FA.js} +51 -51
  37. package/dist/assets/ChargeCardPromoPage-CPEaGOL3-CiA1pNTj.js +222 -0
  38. package/dist/assets/ChargeCardSetupPage-G5Rn0o6y-Bqw8Kqbv.js +36 -0
  39. package/dist/assets/{ChargeCardStatementsPage-CJgUrcLz-BpTcE_Fq.js → ChargeCardStatementsPage-CJgUrcLz-BY-SWhAj.js} +3 -3
  40. package/dist/assets/ChargeCardUtils-BRgkrCTs-Bo37IpfS.js +1 -0
  41. package/dist/assets/{ChaseOverlay-BC_4vwtb-ZJ37WP7g.js → ChaseOverlay-BC_4vwtb-BQqHx8M-.js} +4 -4
  42. package/dist/assets/{CheckDepositDrawerPage-CDo5E13X-BcLnzbHC.js → CheckDepositDrawerPage-CDo5E13X-CKNKZDF1.js} +21 -21
  43. package/dist/assets/CollapsableReportTable-7iAngywY-BhPujiYA.js +2932 -0
  44. package/dist/assets/CompanyOfficerDetailsSection-CJKyxEnf-B2MTqDnr.js +260 -0
  45. package/dist/assets/{CompanyPassportCard-D3F01eJL-CYg3XwZh.js → CompanyPassportCard-D3F01eJL-BhEJq4YF.js} +1 -1
  46. package/dist/assets/CompanyPassportPage-BQoEcPJr-CLTXsXdq.js +574 -0
  47. package/dist/assets/CompleteProfile-D5e9TQgy-B3NCfzYL.js +52 -0
  48. package/dist/assets/{ConfettiBurst--HIHB7Os-CFkZhGnX.js → ConfettiBurst--HIHB7Os-S4QyIwiq.js} +1 -1
  49. package/dist/assets/{CreateOrEditVendorPage-D9jmSrKr-BqbzMjKm.js → CreateOrEditVendorPage-D9jmSrKr-DpdjBsSE.js} +11 -11
  50. package/dist/assets/CreditCardPaymentDrawerPage-DXeq4z9l-C-tETdxW.js +224 -0
  51. package/dist/assets/{CreditCardPaymentPlgSection-8ZShMO31-D_nbIzHo.js → CreditCardPaymentPlgSection-8ZShMO31-COciJwfu.js} +10 -10
  52. package/dist/assets/{CurrencySelectField-nhg_dhDw-Ct_sJsLw.js → CurrencySelectField-nhg_dhDw-nZHVWMo0.js} +6 -6
  53. package/dist/assets/{CustomerOnboardingActivationPage-CoGvz7Kd-2HboMU2B.js → CustomerOnboardingActivationPage-CoGvz7Kd-1Tt5lNh3.js} +5 -5
  54. package/dist/assets/CustomerOnboardingContainerPage-CZRkKPDD-CdqN8qku.js +1 -0
  55. package/dist/assets/{CustomerOnboardingDetailPageSkeleton-DUGRKWtN-Bm0dGA9J.js → CustomerOnboardingDetailPageSkeleton-DUGRKWtN-ClKlbRH6.js} +13 -13
  56. package/dist/assets/{CustomerOnboardingNoStepsPage-Cc5frP29-BNFSu_0c.js → CustomerOnboardingNoStepsPage-Cc5frP29-Pt9D5fwX.js} +6 -6
  57. package/dist/assets/CustomerOnboardingPage-zBqp9QN6-BMM-roBm.js +107 -0
  58. package/dist/assets/CustomerOnboardingProductSuitePage-BbJ4oiCI-DgRG1l8f.js +202 -0
  59. package/dist/assets/{Dashboard-D6Ba5oj0-DGZ5Ekyf.js → Dashboard-D6Ba5oj0-C5iZr7Dc.js} +262 -262
  60. package/dist/assets/DashboardReportPage-DTMbYOWH-B0H-UpGg.js +371 -0
  61. package/dist/assets/{DashboardSidebarBackgroundAnimation-Locz2zHR-BPk9MxB4.js → DashboardSidebarBackgroundAnimation-Locz2zHR-Bhgpjfq-.js} +1 -1
  62. package/dist/assets/{DepositAccTransactionItem-B0BGwVqF-CxL2uxQm.js → DepositAccTransactionItem-B0BGwVqF-Cwta5ei3.js} +5 -5
  63. package/dist/assets/DepositAccTransactionListPage-CcO673ZL-D1h5XemH.js +66 -0
  64. package/dist/assets/DomesticWireDetailsPage-D5hbPNCt-Bhq4tM9b.js +21 -0
  65. package/dist/assets/DownloadOverlay-DRcasKoB-BTfb8tZj.js +439 -0
  66. package/dist/assets/{DrawerPage-BRD6cE6J-CdG9rNJx.js → DrawerPage-BRD6cE6J-1UMYAHb7.js} +13 -13
  67. package/dist/assets/EditPeoplePage-Zzo62if7-Clw_H_tG.js +55 -0
  68. package/dist/assets/EditReimbursementDetailPage-D59OJdZ1-DgdwTZwz.js +865 -0
  69. package/dist/assets/EntityDetailPage-CzlzOW8n-CjIrlTQm.js +18 -0
  70. package/dist/assets/{EntitySummarySection-BRt1kPDf-BrvMzC_z.js → EntitySummarySection-BRt1kPDf-DQbEIQFx.js} +28 -28
  71. package/dist/assets/{ExpenseAutomationOverviewPage-vUkGameq-D28DcERt.js → ExpenseAutomationOverviewPage-vUkGameq-CHnaqssF.js} +50 -50
  72. package/dist/assets/ExpenseAutomationPage-Cm_IiRlb-DxIRsn8B.js +1650 -0
  73. package/dist/assets/ExpressPayPage-DdQiFzDu-CXe6diRB.js +168 -0
  74. package/dist/assets/{FeaturePreviewPage-CQN2xThT-D8GcVVCI.js → FeaturePreviewPage-CQN2xThT-DJXN60Ac.js} +3 -3
  75. package/dist/assets/{FollowStepsSection-DdwEVWhG-XjqeMDlz.js → FollowStepsSection-DdwEVWhG-yjJ5FRCa.js} +21 -21
  76. package/dist/assets/GlobalReviewListPage-DHn2Uk8R-Dz5cpAt1.js +291 -0
  77. package/dist/assets/HelpButton-BNMy-6ce-CVlMGZqS.js +28 -0
  78. package/dist/assets/{InformationCardStack-Cw7c9Pnd-JKEjusS_.js → InformationCardStack-Cw7c9Pnd-BX2LTL8l.js} +2 -2
  79. package/dist/assets/InsightsCardStack-CaMZiCnn-DLt2ZmbV.js +79 -0
  80. package/dist/assets/{InsightsSection-JIKb9lz3-CSUvMdaP.js → InsightsSection-JIKb9lz3-Hi0aN8hq.js} +5 -5
  81. package/dist/assets/{IntegrationsSettingsPage-h4pel2yK-CfkisAjm.js → IntegrationsSettingsPage-h4pel2yK-CxqwarZy.js} +4 -4
  82. package/dist/assets/{InternationalWireSwiftDetailsPage-C2SnHEV1-D4h6wt17.js → InternationalWireSwiftDetailsPage-C2SnHEV1-CzlIxaS1.js} +16 -16
  83. package/dist/assets/{InternationalWireVerificationPage-Dk11ztF7-CGQwkBKG.js → InternationalWireVerificationPage-Dk11ztF7-BCCRbUea.js} +28 -28
  84. package/dist/assets/{InviteFormPage-CrtH0cSG-lBcBfRNC.js → InviteFormPage-CrtH0cSG-eVIYbN0r.js} +16 -16
  85. package/dist/assets/{InvitePageListView-DUoopPip-D3WES4Ay.js → InvitePageListView-DUoopPip-D5qrm4ww.js} +164 -164
  86. package/dist/assets/InvitePeoplePage-C3ecL8XJ-olYxQVFB.js +12 -0
  87. package/dist/assets/InvoiceUploadSection-DoR834b4-CjFOCIIZ.js +140 -0
  88. package/dist/assets/{IssueChargeCardPage-D6DCohbK-CY0NLJ-D.js → IssueChargeCardPage-D6DCohbK-BMG4Ljit.js} +10 -10
  89. package/dist/assets/{LabeledAddressValue-C3R0DSjj-DSFQoK0_.js → LabeledAddressValue-C3R0DSjj-CpxXKm9c.js} +1 -1
  90. package/dist/assets/LabeledAddressValueField-YP7bXlgZ-D9-PqJNp.js +45 -0
  91. package/dist/assets/{LabeledControlledCheckBoxField-zwoLFM1n-WAKwiqVu.js → LabeledControlledCheckBoxField-zwoLFM1n-B44wDW2V.js} +1 -1
  92. package/dist/assets/{LabeledCreatableSingleSelectField-BhaeopJt-r1U--LmU.js → LabeledCreatableSingleSelectField-BhaeopJt-tsmH64cn.js} +7 -7
  93. package/dist/assets/LabeledDocumentField-ED03S2kQ-BGespvxP.js +41 -0
  94. package/dist/assets/{LabeledDropDownFormattedTextField-brzU_fnp-DR9C1PhE.js → LabeledDropDownFormattedTextField-brzU_fnp-hUkbh0bF.js} +5 -5
  95. package/dist/assets/{LabeledText-BESSkt5Z-DvRhicFs.js → LabeledText-BESSkt5Z-CPDVK04g.js} +1 -1
  96. package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-vEIvvd-n-BRFp4N3Z.js → LabeledUserSingleSelectWithSubtitlesField-vEIvvd-n-DaWgPr9f.js} +18 -18
  97. package/dist/assets/{LabeledZeniRolesDropDownField-BXTCN4j2-C9dcF_vL.js → LabeledZeniRolesDropDownField-BXTCN4j2-CLEMt0Ht.js} +33 -33
  98. package/dist/assets/LinkJETransactionPage-_ROjxBMO-C6IEO3Ec.js +98 -0
  99. package/dist/assets/{LockCardPage-DYfgK11k-CA2sqFlt.js → LockCardPage-DYfgK11k-BFAZ4k7o.js} +71 -71
  100. package/dist/assets/LowBalancePopup-CZDcHxyW-BSR036zV.js +34 -0
  101. package/dist/assets/{MagicLinkACHDetailsPage-CLXcRbZ--CVcTUs2d.js → MagicLinkACHDetailsPage-CLXcRbZ--B-X6oebP.js} +1 -1
  102. package/dist/assets/{MagicLinkDomesticWireDetailsPage-CZlZr96w-BPglJFOV.js → MagicLinkDomesticWireDetailsPage-CZlZr96w-DllJxuHV.js} +1 -1
  103. package/dist/assets/{MagicLinkInternationalWireDetailsPage-DhPjvv0o-DFwZaRYm.js → MagicLinkInternationalWireDetailsPage-DhPjvv0o-BIaiGIsd.js} +1 -1
  104. package/dist/assets/{MagicLinkSuccessPage-Bh2nlLPN-Ddx1hbRe.js → MagicLinkSuccessPage-Bh2nlLPN-6rfZopUb.js} +3 -3
  105. package/dist/assets/MagicLinkTitleSection-Cn1v72Rs-Dx0fyRw5.js +17 -0
  106. package/dist/assets/{MailingDetailsSection-9RwlQxVG-C09sdGhg.js → MailingDetailsSection-9RwlQxVG-_UrE81Sw.js} +2 -2
  107. package/dist/assets/{MeetingCalenderPopup-BxV_UIXP-B9VDTxkT.js → MeetingCalenderPopup-BxV_UIXP-BXGtVHle.js} +4 -4
  108. package/dist/assets/Menu-B6iTf2H7-Cu2Vb11u.js +17 -0
  109. package/dist/assets/MyBankConnectionsSettingsPage-IPPiH6jv-uU5Nku5W.js +110 -0
  110. package/dist/assets/MyPendingActivationChargeCardListPage-BTGb1yIE-yyVAdXqO.js +6 -0
  111. package/dist/assets/MyProfileSettingsPage-BRK5nWg2-BCkp79gR.js +85 -0
  112. package/dist/assets/{NavBarWithPicker-CKh_HMfV-U1f60LTo.js → NavBarWithPicker-CKh_HMfV-i4ObGPrS.js} +4 -4
  113. package/dist/assets/{NavigationArrow-XZmJpDrE-BSGdgz-m.js → NavigationArrow-XZmJpDrE-DolsLofY.js} +2 -2
  114. package/dist/assets/{NavigationDots-BxPgEW_p-CnLRJgGA.js → NavigationDots-BxPgEW_p-Cjr25BX_.js} +3 -3
  115. package/dist/assets/{NewGlobalMerchantPage-CQzrDe0S-CFbklyjG.js → NewGlobalMerchantPage-CQzrDe0S-K2NUXsKS.js} +35 -35
  116. package/dist/assets/{NoDataChart-5E72SElf-Bfyft1Tp.js → NoDataChart-5E72SElf-3CnLxisw.js} +4 -4
  117. package/dist/assets/{NoDataTable-BwHbkm3l-C4AJlFQY.js → NoDataTable-BwHbkm3l-VTHrTfOq.js} +2 -2
  118. package/dist/assets/{NotFoundPage-6udaksBZ-Bdrzyyzv.js → NotFoundPage-6udaksBZ-DUgTbMe0.js} +1 -1
  119. package/dist/assets/{NotificationSettingsPage-DkYmxMgg-B7fNoy2R.js → NotificationSettingsPage-DkYmxMgg-BVRECpS0.js} +32 -32
  120. package/dist/assets/{NotificationsListConfig-FGxLgO1o-Bjqs17aQ.js → NotificationsListConfig-FGxLgO1o-C0kfEx8A.js} +1 -1
  121. package/dist/assets/NotificationsPage-C7lSAnUb-CEUwTZM_.js +685 -0
  122. package/dist/assets/{OpExByVendorPage-CM0RluUk-BgpW2giu.js → OpExByVendorPage-CM0RluUk-PZB-G7xm.js} +4 -4
  123. package/dist/assets/{OverlayContainerPage-BKHs_4eI-mLdiagVZ.js → OverlayContainerPage-BKHs_4eI-CSsJiY_P.js} +2 -2
  124. package/dist/assets/PandLWithForecastPage-W4jlNjml-8wxKAhbo.js +107 -0
  125. package/dist/assets/{PaymentAccountSetupBillingAddressSection-DQ82eP9Q-ChYOGpfy.js → PaymentAccountSetupBillingAddressSection-DQ82eP9Q-Cwm2aoR2.js} +9 -9
  126. package/dist/assets/{PeoplePage-CB3T3u_F-DC1PdCPq.js → PeoplePage-CB3T3u_F-BR69e4ui.js} +96 -96
  127. package/dist/assets/{PortfolioAllocationFormPage-CZkJD6tu-CmTdPnvM.js → PortfolioAllocationFormPage-CZkJD6tu-1mutznS7.js} +13 -13
  128. package/dist/assets/{PortfolioDetails-D4yT8r35-DSk0Sc23.js → PortfolioDetails-D4yT8r35-BZAutCbg.js} +34 -34
  129. package/dist/assets/{ProductsCarousel-CR7_rk0K-DQWJaP-C.js → ProductsCarousel-CR7_rk0K-CKMGS-I4.js} +7 -7
  130. package/dist/assets/{PromoBaseCards-BAPolzxE-DLtmx-3v.js → PromoBaseCards-BAPolzxE-DjUVr5kX.js} +1 -1
  131. package/dist/assets/{QBOConnectionDialog-D3eazhj7-fJDNmSLU.js → QBOConnectionDialog-D3eazhj7-DCdAj667.js} +7 -7
  132. package/dist/assets/{QBOSetupSection-Cjjhm_Ee-CrlXRkit.js → QBOSetupSection-Cjjhm_Ee-CX61tnWs.js} +12 -12
  133. package/dist/assets/ReimbursementApprovalRuleDetailPage-eidNY097-DDLdjGbX.js +26 -0
  134. package/dist/assets/{ReimbursementApprovalRulesPage-GSzJGSuy-H2GhhV11.js → ReimbursementApprovalRulesPage-GSzJGSuy-DOLnlfRe.js} +12 -12
  135. package/dist/assets/ReimbursementDetailPage-AvqEBxbz-ByJDRCe5.js +314 -0
  136. package/dist/assets/ReimbursementPromoPage-PshodHUZ-CEBQKb7P.js +84 -0
  137. package/dist/assets/ReimbursementSetUpPage-6P4FT-UC-BMbaH1eU.js +140 -0
  138. package/dist/assets/ReimbursementsBulkReviewDrawerPage-Cas6GzVp-CEJlVV08.js +1 -0
  139. package/dist/assets/{ReloadCard-Dpoxd9nE-B9DlyhD4.js → ReloadCard-Dpoxd9nE-_RGkkZLm.js} +5 -5
  140. package/dist/assets/{ReportTableViewSelector-Ci-WKrCO-DAZRgQwg.js → ReportTableViewSelector-Ci-WKrCO-D0sA8766.js} +30 -30
  141. package/dist/assets/ReportsPage-C7zirS74-oNrbhh6a.js +121 -0
  142. package/dist/assets/{RevenueChart-CXMBT3cr-DnDEiqPG.js → RevenueChart-CXMBT3cr-BigDcfmP.js} +29 -29
  143. package/dist/assets/ReviewDetailsPage-ClsyL5-w-rKSUEvaS.js +290 -0
  144. package/dist/assets/{ReviewOverlay-C6Kx7Hfm-IahzUsv3.js → ReviewOverlay-C6Kx7Hfm-Aab2M4el.js} +12 -12
  145. package/dist/assets/{RoleWithToolTip-BqI6M0x_-CwUqJeb5.js → RoleWithToolTip-BqI6M0x_-3Pz3ZAbU.js} +2 -2
  146. package/dist/assets/ScheduleDetailsFixedAssetsPage-zFyJPVpN-Dm8QVj-0.js +37 -0
  147. package/dist/assets/ScheduleDetailsPage-BftjSvA7-D97uCI5t.js +37 -0
  148. package/dist/assets/{ScheduleSequenceTable-lTN7r0p4-BFWt_8N-.js → ScheduleSequenceTable-lTN7r0p4-BmAjQVGV.js} +42 -42
  149. package/dist/assets/ScreenRoutes-Du6t5Ig_.js +206 -0
  150. package/dist/assets/SetUpAccountSection-Bnbi8X23-7-Jadv9H.js +378 -0
  151. package/dist/assets/{SetUpDefaultSection-Bm1eZSgT-BcxYXAIw.js → SetUpDefaultSection-Bm1eZSgT-9DFPAVat.js} +13 -13
  152. package/dist/assets/{SignIn-BlISBvt5-C9HXqHPg.js → SignIn-BlISBvt5-BSeULTEW.js} +28 -28
  153. package/dist/assets/SignInScreen-BN2xWnU-.js +1 -0
  154. package/dist/assets/SpendManagementListViewPage-ChNp8dgm-ByNxcaX6.js +123 -0
  155. package/dist/assets/SpendManagementPerTabPage-D-bOr2-6-C5z49u7s.js +754 -0
  156. package/dist/assets/SpendManagementSection-kucZgC-H-Cqflt6S1.js +230 -0
  157. package/dist/assets/SpendMgmtSetupAccountSection-de7hEmtE-9bAK-YlL.js +206 -0
  158. package/dist/assets/{StatementItem-BVIVLdDn-BLcyHqWZ.js → StatementItem-BVIVLdDn-DWQxeT2X.js} +2 -2
  159. package/dist/assets/StatementsPage-KnLUSJbm-DVR36Ge4.js +58 -0
  160. package/dist/assets/{StatusSwitcher-aAizq1mr-D4E7X1zy.js → StatusSwitcher-aAizq1mr-c-jcIGD9.js} +2 -2
  161. package/dist/assets/{SubTabSwitcher-COrYJ6CW-B2hsvJe_.js → SubTabSwitcher-COrYJ6CW-BIZF-iNv.js} +1 -1
  162. package/dist/assets/{SummaryCard-Dv0dWKBw-BnK7xgrF.js → SummaryCard-Dv0dWKBw-CGu-GHYa.js} +1 -1
  163. package/dist/assets/TaskManagementPage-CPLyyK1Y-BZe-OFxL.js +508 -0
  164. package/dist/assets/{TimeRangeSwitcher-ifkHfqEg-CGFdCObN.js → TimeRangeSwitcher-ifkHfqEg-VY1vzvIS.js} +3 -3
  165. package/dist/assets/{TimeframeSwitcher-BP-PxO5g-DG6ysLlp.js → TimeframeSwitcher-BP-PxO5g-DxTIS9PI.js} +1 -1
  166. package/dist/assets/{TimeframeSwitcherWithToggle-DH-PfsTQ-Dd12kokF.js → TimeframeSwitcherWithToggle-DH-PfsTQ-D7U0L-cV.js} +1 -1
  167. package/dist/assets/{TopExCard-Bam-Q4MV-GCmLzO6i.js → TopExCard-Bam-Q4MV-BsP_HKjG.js} +6 -6
  168. package/dist/assets/{TopExDetailPage-P0Twt5zZ-BElfoauE.js → TopExDetailPage-P0Twt5zZ-CoHp8hDQ.js} +12 -12
  169. package/dist/assets/TransactionDetailPage-D1Z1f-DD-BPMl_wDr.js +912 -0
  170. package/dist/assets/TransactionList-BzJEbOV9-0ST5sY1-.js +147 -0
  171. package/dist/assets/{TransactionListBig-u4SJBZTE-BZvqZwTB.js → TransactionListBig-u4SJBZTE-BlGBIBoN.js} +44 -44
  172. package/dist/assets/{TransactionListPage-D4GJ6i3l-BXLL3BhX.js → TransactionListPage-D4GJ6i3l-yaso0Nlb.js} +3 -3
  173. package/dist/assets/{TransactionVendorDetailPage-CuFHbm8c-Cl9iluIt.js → TransactionVendorDetailPage-CuFHbm8c-kFca8x3E.js} +5 -5
  174. package/dist/assets/{TransferDrawerPage-GD2I8ptj-B7cXbGdy.js → TransferDrawerPage-GD2I8ptj-CANT8JC_.js} +27 -27
  175. package/dist/assets/TreasuryOverviewPage-DySunaqy-Du5jK6WV.js +708 -0
  176. package/dist/assets/{TreasuryPromoPage-DW1f8_q1-CZjoBD0v.js → TreasuryPromoPage-DW1f8_q1-CkWefV3r.js} +6 -6
  177. package/dist/assets/{TreasurySetupPage-53k6ARHC-8YVNt5Wt.js → TreasurySetupPage-53k6ARHC-DuoYqIOy.js} +3 -3
  178. package/dist/assets/{TreasuryStatementsPage-pIshKNaR-Dtfk2lx_.js → TreasuryStatementsPage-pIshKNaR--8vN-IgR.js} +5 -5
  179. package/dist/assets/{TreasuryTaxLetterPage-B3PkB1al-CKVKJh1V.js → TreasuryTaxLetterPage-B3PkB1al-CkqZdxpj.js} +5 -5
  180. package/dist/assets/TreasuryTransferOrReviewPage-Dzq-FxSM-DKViGoiZ.js +576 -0
  181. package/dist/assets/TrendChart-B_5D-Zud-Cw_zgD-R.js +16 -0
  182. package/dist/assets/{TrendWithTransactions-mI_El5D1-SbfSjDf-.js → TrendWithTransactions-mI_El5D1-DUVZm_U-.js} +4 -4
  183. package/dist/assets/{UncategorizedAccountsMappingPage-LQeq8Gdv-BxpsIXJf.js → UncategorizedAccountsMappingPage-LQeq8Gdv-BNgZRg4x.js} +47 -47
  184. package/dist/assets/{UnitIntegrationPage-XOWqGHla-DR8O2yO4.js → UnitIntegrationPage-XOWqGHla-BIoTpmZ_.js} +11 -11
  185. package/dist/assets/UploadAdditionalDocumentOverlay-DhXRLBEg-BNMbNbJQ.js +38 -0
  186. package/dist/assets/{Vendor2FAPopup-BfqIHZBb-CksyyTez.js → Vendor2FAPopup-BfqIHZBb-DUpQFrOM.js} +1 -1
  187. package/dist/assets/{VendorACHDetailsPage-CswCvAFH-CdUK-HJH.js → VendorACHDetailsPage-CswCvAFH-DqnJleBx.js} +1 -1
  188. package/dist/assets/VendorDetailPage-CEX7xMIN-D29fVYfj.js +257 -0
  189. package/dist/assets/{VendorDomesticWireDetailsPage-DxrSjlTR-B4ZHtbXA.js → VendorDomesticWireDetailsPage-DxrSjlTR-GbXdyYXP.js} +1 -1
  190. package/dist/assets/{VendorFiling1099EditablePage-q1gQ8keD-BmDatzoV.js → VendorFiling1099EditablePage-q1gQ8keD-GKQT7vTw.js} +32 -32
  191. package/dist/assets/VendorFirstReviewPage-D9ogNmAK-DwoL9x7s.js +730 -0
  192. package/dist/assets/VendorInternationalWireDetailsPage-Ct689KuY-N7HCxAFy.js +152 -0
  193. package/dist/assets/{VendorInternationalWireSwiftDetailsPage-W0s1zQNC-ZgE8KOcO.js → VendorInternationalWireSwiftDetailsPage-W0s1zQNC-eVlfJ9f_.js} +1 -1
  194. package/dist/assets/{VendorsAccountsSection-C13Z2HN9-C2XOcHy1.js → VendorsAccountsSection-C13Z2HN9-DvGRJwYY.js} +4 -4
  195. package/dist/assets/VerifyDevice-C27gEWkZ-BrEq9dHz.js +112 -0
  196. package/dist/assets/{VideoPlayer-ByyqUuhG-DTMNeCaX.js → VideoPlayer-ByyqUuhG-CcmvFcG0.js} +1 -1
  197. package/dist/assets/{VideoPopup-DJrQQTPq-DoXO-Vwb.js → VideoPopup-DJrQQTPq-BZRShVLd.js} +4 -4
  198. package/dist/assets/{WarningsDrawerPage-B3Ht3VnM-DBDTIhyB.js → WarningsDrawerPage-B3Ht3VnM-C_aFzWZK.js} +5 -5
  199. package/dist/assets/ZeniAccountDetailPage-egmysAfI-CX7srLCt.js +300 -0
  200. package/dist/assets/{ZeniAccountListViewPage-q_v2FogF-B-baYGeD.js → ZeniAccountListViewPage-q_v2FogF-wW_PUJNB.js} +12 -12
  201. package/dist/assets/ZeniAccountNavBarPieces-HNIht0FM-azEwN9c2.js +14 -0
  202. package/dist/assets/{ZeniAccountPromoPage-CzncR6vK-DAONZr9A.js → ZeniAccountPromoPage-CzncR6vK-CoCFGvia.js} +21 -21
  203. package/dist/assets/{ZeniAccountSetupPage-TcdzEL_V-CApQPT0B.js → ZeniAccountSetupPage-TcdzEL_V-CPTq7KjK.js} +1 -1
  204. package/dist/assets/{ZeniCopyright-B7Q6IUGC-Ca3UXoxG.js → ZeniCopyright-B7Q6IUGC-DjtbTVnp.js} +1 -1
  205. package/dist/assets/{ZeniTransferAmountSlider-Dmf5xxv4-D_ugGHJW.js → ZeniTransferAmountSlider-Dmf5xxv4-D-BoRJmd.js} +3 -3
  206. package/dist/assets/addSubtractPeriod-CFvkmqm8.js +1 -0
  207. package/dist/assets/analyticsHelper-L-FpsGLH.js +1 -0
  208. package/dist/assets/analyticsHelper-or1KkBWk-CU2Z2CeD.js +1 -0
  209. package/dist/assets/{chartTypes-DCvOVjlS-BdPIN5WI.js → chartTypes-DCvOVjlS-CF3jsUNb.js} +1 -1
  210. package/dist/assets/{commonDimensions-C32v1F7H-CiAEfJl2.js → commonDimensions-C32v1F7H-C9uaBJ8J.js} +1 -1
  211. package/dist/assets/{detailCommon-CRAGrqoO-Cq9phP1q.js → detailCommon-CRAGrqoO-5xMc7u9M.js} +8 -8
  212. package/dist/assets/downloadPdf-D7p3yKmg-DrJJdcEl.js +1 -0
  213. package/dist/assets/{index-sAOH0Fje.js → index-kF4u7Flm.js} +511 -704
  214. package/dist/assets/{mapLoadingInProgressToTreeNode-CRwG2DSD-B4LnWZMC.js → mapLoadingInProgressToTreeNode-CRwG2DSD-CLLcsBiK.js} +1 -1
  215. package/dist/assets/{mapSectionWithAcOnlyToTreeNode-C9O-C2dp-BYZLhSZo.js → mapSectionWithAcOnlyToTreeNode-C9O-C2dp-4sjxXlit.js} +1 -1
  216. package/dist/assets/{mapSpacerToTreeNode-5aJk-sLn-DpF_Q8pH.js → mapSpacerToTreeNode-5aJk-sLn-CeZutbYy.js} +1 -1
  217. package/dist/assets/{mapTimeframeBalancesToTreeNode-CnviLujI-Do2_oG27.js → mapTimeframeBalancesToTreeNode-CnviLujI-rcfKFEh1.js} +1 -1
  218. package/dist/assets/{mapTimeframeBalancesToTreeNode-Cv4d4PqE-C559SZVp.js → mapTimeframeBalancesToTreeNode-Cv4d4PqE-BmreU2CJ.js} +1 -1
  219. package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-BaGM4krW-yJCRTG35.js → mapTimeframeHeaderLoadingInProgressToTreeNode-BaGM4krW-CkRgUU-m.js} +1 -1
  220. package/dist/assets/redux-D-TY61DZ.js +12 -0
  221. package/dist/assets/{toCOABalancesWithID-B3yVGPrV-B_BzNOYP.js → toCOABalancesWithID-B3yVGPrV-Dj01dEre.js} +1 -1
  222. package/dist/assets/toChartData-DEW0iT7T-DaQT4Adc.js +1 -0
  223. package/dist/assets/{treasuryColorHelper-13LJ_xhk-LqN_6Xl4.js → treasuryColorHelper-13LJ_xhk-5-aGYtqD.js} +1 -1
  224. package/dist/assets/{uploadAttachment-DVy2pZeJ-X-xSyfvF.js → uploadAttachment-DVy2pZeJ-DL6B1oGY.js} +25 -25
  225. package/dist/assets/{uploadReceipts-Dp1dvCjf-Bw0_dVvQ.js → uploadReceipts-Dp1dvCjf-BQPyxtgi.js} +1 -1
  226. package/dist/index.html +1 -1
  227. package/package.json +2 -2
  228. package/dist/assets/AccountLockedInfoModal-BD7Nb81U-CexK1k9m.js +0 -59
  229. package/dist/assets/AccountReconDetailsDrawerPage-D-_ME0pV-s74oVSdU.js +0 -239
  230. package/dist/assets/AccountsPromoCardStack-CdBwPVgI-0eZTGbZE.js +0 -207
  231. package/dist/assets/AgingReportsPage-L0zQxwCf-BGxthXxn.js +0 -79
  232. package/dist/assets/AllUserItems-CvwaOEhu-4FgiUHmj.js +0 -192
  233. package/dist/assets/ApAgingDetailPage-B_78aSEv-BIkW3as9.js +0 -46
  234. package/dist/assets/ApprovalRulesSettingsPage-Dxd7A3hZ-B57JU70m.js +0 -47
  235. package/dist/assets/ArAgingChart-BezVy1Sm-UplSlTlX.js +0 -24
  236. package/dist/assets/BankConnectionsSettingsPage-D5hI4xtm-CIHmOttI.js +0 -425
  237. package/dist/assets/BillDetailPage-CDAh8Jtl-0qBbZ__0.js +0 -266
  238. package/dist/assets/BillPayPromoPage-B2YcxWc9-CwLnyiow.js +0 -84
  239. package/dist/assets/BillPaySetUpPage-oJvoWpFu-CYkgRBSH.js +0 -42
  240. package/dist/assets/BillingSettingsPage-BRsKYzT5-gKM6YCmc.js +0 -44
  241. package/dist/assets/BillsBulkReviewDrawerPage-B7tORIok-Cjhni78W.js +0 -1
  242. package/dist/assets/BusinessVerificationPage-Nw_fedst-D0V3bhmc.js +0 -138
  243. package/dist/assets/ChargeCardListPage-v5hH98Wi-D_Ffaz0x.js +0 -406
  244. package/dist/assets/ChargeCardPromoPage-CPEaGOL3-BJBmWN7Q.js +0 -222
  245. package/dist/assets/ChargeCardSetupPage-G5Rn0o6y-DXJQIwPQ.js +0 -36
  246. package/dist/assets/ChargeCardUtils-BRgkrCTs-DoVoCmwL.js +0 -1
  247. package/dist/assets/CollapsableReportTable-7iAngywY-CxWB4sRz.js +0 -2932
  248. package/dist/assets/CompanyOfficerDetailsSection-CJKyxEnf-BshC7d2B.js +0 -260
  249. package/dist/assets/CompanyPassportPage-BQoEcPJr-DzLqV-NZ.js +0 -574
  250. package/dist/assets/CompleteProfile-D5e9TQgy-ppOK1lFi.js +0 -52
  251. package/dist/assets/CreditCardPaymentDrawerPage-DXeq4z9l-Dr585X5v.js +0 -224
  252. package/dist/assets/CustomerOnboardingContainerPage-CZRkKPDD-4OaWohod.js +0 -1
  253. package/dist/assets/CustomerOnboardingPage-zBqp9QN6-D_UHEoUt.js +0 -107
  254. package/dist/assets/CustomerOnboardingProductSuitePage-BbJ4oiCI-C_0KKlnp.js +0 -202
  255. package/dist/assets/DashboardReportPage-DTMbYOWH-CSMllwg6.js +0 -371
  256. package/dist/assets/DepositAccTransactionListPage-CcO673ZL-CiLAoQqZ.js +0 -66
  257. package/dist/assets/DomesticWireDetailsPage-D5hbPNCt-Bj16Fg_f.js +0 -21
  258. package/dist/assets/DownloadOverlay-DRcasKoB-BDQCkt6Q.js +0 -439
  259. package/dist/assets/EditPeoplePage-Zzo62if7-CQfgpQsa.js +0 -55
  260. package/dist/assets/EditReimbursementDetailPage-D59OJdZ1-7T5j9Uz8.js +0 -865
  261. package/dist/assets/EntityDetailPage-CzlzOW8n-DjZ6eItY.js +0 -18
  262. package/dist/assets/ExpenseAutomationPage-Cm_IiRlb-Ch0agMlw.js +0 -1650
  263. package/dist/assets/ExpressPayPage-DdQiFzDu-ykW984zo.js +0 -168
  264. package/dist/assets/GlobalReviewListPage-DHn2Uk8R-Cd3V8M7p.js +0 -291
  265. package/dist/assets/HelpButton-BNMy-6ce-WFq-iELy.js +0 -28
  266. package/dist/assets/InsightsCardStack-CaMZiCnn-D5ut2TNQ.js +0 -79
  267. package/dist/assets/InvitePeoplePage-C3ecL8XJ-D06hBumB.js +0 -12
  268. package/dist/assets/InvoiceUploadSection-DoR834b4-BezkawDL.js +0 -140
  269. package/dist/assets/LabeledAddressValueField-YP7bXlgZ-8CibrbWw.js +0 -45
  270. package/dist/assets/LabeledDocumentField-ED03S2kQ-wbMhlpMQ.js +0 -41
  271. package/dist/assets/LinkJETransactionPage-_ROjxBMO-DP6JabBY.js +0 -98
  272. package/dist/assets/LowBalancePopup-CZDcHxyW-BHOAXZjC.js +0 -34
  273. package/dist/assets/MagicLinkTitleSection-Cn1v72Rs-BaSRKY-c.js +0 -17
  274. package/dist/assets/Menu-B6iTf2H7-Cqx4dVPp.js +0 -17
  275. package/dist/assets/MyBankConnectionsSettingsPage-IPPiH6jv-CVF8iXYJ.js +0 -110
  276. package/dist/assets/MyPendingActivationChargeCardListPage-BTGb1yIE-BD419NGA.js +0 -6
  277. package/dist/assets/MyProfileSettingsPage-BRK5nWg2--GwgfIws.js +0 -85
  278. package/dist/assets/NotificationsPage-C7lSAnUb-wDRHsOkp.js +0 -685
  279. package/dist/assets/PandLWithForecastPage-W4jlNjml-Bcn3UKYp.js +0 -107
  280. package/dist/assets/ReimbursementApprovalRuleDetailPage-eidNY097-DmIjK42h.js +0 -26
  281. package/dist/assets/ReimbursementDetailPage-AvqEBxbz-fUbgpa2M.js +0 -314
  282. package/dist/assets/ReimbursementPromoPage-PshodHUZ-B_XNUegE.js +0 -84
  283. package/dist/assets/ReimbursementSetUpPage-6P4FT-UC-Bw__edeG.js +0 -140
  284. package/dist/assets/ReimbursementsBulkReviewDrawerPage-Cas6GzVp-BQcspCuT.js +0 -1
  285. package/dist/assets/ReportsPage-C7zirS74-CyyHiNy4.js +0 -121
  286. package/dist/assets/ReviewDetailsPage-ClsyL5-w-_y4o463o.js +0 -290
  287. package/dist/assets/ScheduleDetailsFixedAssetsPage-zFyJPVpN-BSd6OZtz.js +0 -37
  288. package/dist/assets/ScheduleDetailsPage-BftjSvA7-Jy_FtZQR.js +0 -37
  289. package/dist/assets/ScreenRoutes-en4svsq9.js +0 -206
  290. package/dist/assets/SetUpAccountSection-Bnbi8X23-DL-18RCf.js +0 -378
  291. package/dist/assets/SignInScreen-Ba17TSWH.js +0 -1
  292. package/dist/assets/SpendManagementListViewPage-ChNp8dgm-BhMjXPdH.js +0 -123
  293. package/dist/assets/SpendManagementPerTabPage-D-bOr2-6-GaRieOUe.js +0 -754
  294. package/dist/assets/SpendManagementSection-kucZgC-H-DLgSRXEX.js +0 -230
  295. package/dist/assets/SpendMgmtSetupAccountSection-de7hEmtE-CX-1PNOC.js +0 -206
  296. package/dist/assets/StatementsPage-KnLUSJbm-DvU_Y3UP.js +0 -58
  297. package/dist/assets/TaskManagementPage-CPLyyK1Y-ena6uodh.js +0 -508
  298. package/dist/assets/TransactionDetailPage-D1Z1f-DD-DTPxqy3v.js +0 -912
  299. package/dist/assets/TransactionList-BzJEbOV9-BQZ8x4Oq.js +0 -147
  300. package/dist/assets/TreasuryOverviewPage-DySunaqy-CWB-hp0S.js +0 -708
  301. package/dist/assets/TreasuryTransferOrReviewPage-Dzq-FxSM-CX84O_mN.js +0 -576
  302. package/dist/assets/TrendChart-B_5D-Zud-BUU2-6nI.js +0 -16
  303. package/dist/assets/UploadAdditionalDocumentOverlay-DhXRLBEg-DvVrgitE.js +0 -38
  304. package/dist/assets/VendorDetailPage-CEX7xMIN-Djo4PloX.js +0 -257
  305. package/dist/assets/VendorFirstReviewPage-D9ogNmAK-PlB10gEr.js +0 -730
  306. package/dist/assets/VendorInternationalWireDetailsPage-Ct689KuY-DAoPjpj5.js +0 -152
  307. package/dist/assets/VerifyDevice-C27gEWkZ-C7pLL5Wm.js +0 -112
  308. package/dist/assets/ZeniAccountDetailPage-egmysAfI-DFbZv9KZ.js +0 -300
  309. package/dist/assets/ZeniAccountNavBarPieces-HNIht0FM-aSJ3m6rj.js +0 -14
  310. package/dist/assets/analyticsHelper-CVWZE356.js +0 -1
  311. package/dist/assets/analyticsHelper-or1KkBWk-Plh_6I_p.js +0 -1
  312. package/dist/assets/downloadPdf-D7p3yKmg-CYmmjPHt.js +0 -1
  313. package/dist/assets/redux-CEhZD0hA.js +0 -12
  314. package/dist/assets/toChartData-DEW0iT7T-DrkbvIyQ.js +0 -1
@@ -1,202 +0,0 @@
1
- import{q as F,a9 as D,ax as U,d as W,O as _,j as e,bF as A,o as t,aM as k,br as I,l as H,am as R,ag as V,h as l,C as y,aj as N,s as J,_ as Z,ar as q,a$ as G}from"./index-sAOH0Fje.js";import{b as n,n as i}from"./vendor-Bs1fkIUX.js";import K from"./ConfettiBurst--HIHB7Os-CFkZhGnX.js";import{D as Q}from"./HelpButton-BNMy-6ce-WFq-iELy.js";import{T as X}from"./ProductsCarousel-CR7_rk0K-DQWJaP-C.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.js";import"./MeetingCalenderPopup-BxV_UIXP-B9VDTxkT.js";const Y=o=>n.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...o},n.createElement("path",{d:"M9.88423 20.4894C8.54548 20.3068 6.19267 19.6022 4.33971 17.8674C2.48676 16.1326 1.39881 13.7328 1.31521 11.1959C1.23161 8.65899 2.15921 6.19276 3.89394 4.33977C5.62866 2.48678 8.02843 1.39882 10.5653 1.31522C13.1022 1.23161 15.5684 2.15923 17.4213 3.89399C19.2743 5.62875 20.1176 7.48634 20.4166 9.67794",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M12.5596 7.50903H10.7439C10.39 7.50916 10.0465 7.62876 9.76901 7.84845C9.49152 8.06815 9.29632 8.37508 9.21501 8.71955C9.1337 9.06401 9.17105 9.42584 9.321 9.74644C9.47096 10.067 9.72474 10.3276 10.0412 10.486L11.6941 11.3133C12.0107 11.4717 12.2644 11.7323 12.4144 12.0529C12.5643 12.3735 12.6017 12.7353 12.5204 13.0798C12.4391 13.4242 12.2439 13.7312 11.9664 13.9509C11.6889 14.1706 11.3454 14.2902 10.9915 14.2903H9.16902",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M10.4437 14.2906V15.5621",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M11.2918 6.23773V7.50922",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M15.5285 21.8743L12 22.8825L13.0081 19.3539L20.2143 12.1476C20.3088 12.0531 20.437 12 20.5707 12C20.7044 12 20.8325 12.0531 20.9271 12.1476L22.7347 13.9542C22.7816 14.001 22.8189 14.0567 22.8443 14.1179C22.8697 14.1791 22.8828 14.2448 22.8828 14.3111C22.8828 14.3774 22.8697 14.4431 22.8443 14.5043C22.8189 14.5655 22.7816 14.6212 22.7347 14.668L15.5285 21.8743Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M18.5536 13.8079L21.074 16.3283",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M13.6133 18.7533L16.1337 21.2737",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),ee=_.getLocalizedStrings(),Ue=({hasVerifiedBankAccount:o,meetingUrl:$,showUpdatePaymentDetailButton:u=!1,isVisitingFirstTime:b=!1,handleUpdatePaymentAddressDetailClick:v,...S})=>{const d=F(),x=D().analytics,f=U(),L=f.loggedInUser,a=f.currentTenant,[w,P]=n.useState(!1),{handleLogOutClick:T,onZeniLogoClick:z,handleCockpitClick:E}=S,O=W(),{customerOnboardingPage:c}=ee,p=s=>{const r=c.productSuite.messageBox;if(!s)return[r.withTaxAndPayroll,r.withCFO];const{productSettings:B}=s,{isPayrollEnabled:h,isCfoEnabled:g,isTaxEnabled:m}=B;return h&&g&&m?[r.withTaxAndPayroll,r.withCFO]:h&&g?[r.withPayroll,r.withCFO]:h&&m?[r.taxAndPayroll]:g&&m?[r.withTax,r.withCFO]:h?[r.onlyPayroll]:g?[r.onlyCFO]:m?[r.onlyTax]:[r.default]},M=s=>{if(v(),!s)return;let r="";o?r="bank_account":r="credit_card",x.trackOnboardingClickUpdatePaymentDetails(r,H.getProductSettingsString(s.productSettings))};return e.jsxs(e.Fragment,{children:[e.jsx(te,{children:e.jsxs(ie,{windowSize:d,children:[e.jsx(oe,{windowSize:d,children:e.jsx(A,{title:c.productSuite.navTitle,showBackButton:!1,backgroundColor:O.colors.grey4,style:{zIndex:5},source:"CustomerOnboardingProductSuitePage",showLeftSection:d!=="small",titleStyle:{display:"flex",alignItems:"center"},navBarContainerStyles:{paddingTop:t.sp0,paddingBottom:t.sp0},leftSideComponent:e.jsx(we,{children:e.jsx(ke,{"data-testid":k("zeni-logo-customer-onboarding-product-suite"),onClick:z})}),rightSideComponent:u?e.jsxs(Ce,{"data-testid":k("update-to-payment-address-details"),onClick:()=>M(a),children:[e.jsx(ye,{}),e.jsx(je,{className:"btnText",children:c.productSuite.updatePaymentDetails})]}):e.jsx($e,{})})}),e.jsxs(re,{windowSize:d,children:[e.jsx(ne,{style:{gap:p(a).length>1?t.sp2:t.sp1,padding:p(a).length>1?`12px ${t.sp4} 12px ${t.sp4}`:`12px ${t.sp3} 12px ${t.sp3}`},children:e.jsxs(se,{children:[e.jsxs(C,{children:[e.jsx(ae,{children:e.jsx(le,{})}),e.jsx(j,{children:p(a)[0]})]}),e.jsx(C,{children:p(a).slice(1).map(s=>e.jsx(j,{children:s},s))})]})}),e.jsx(de,{children:e.jsx(ce,{children:c.productSuite.sectionTitle})}),e.jsx(pe,{children:e.jsx(X,{scale:1,showUpdatePaymentDetailButton:u,stopCarousel:w})}),e.jsxs(he,{href:"https://www.zeni.ai",target:"_blank",rel:"noopener noreferrer",children:[e.jsx(ge,{className:"discover-class",children:c.productSuite.sectionFooter}),e.jsx(me,{className:"discover-class"})]})]}),e.jsx(ue,{children:e.jsxs(xe,{children:[e.jsx(fe,{windowSize:d,children:e.jsx(I,{signedInUser:L,currentTenant:a,onLogOutClick:T,onCockpitClick:E})}),e.jsx(Q,{isFooterRendered:!1,meetingUrl:$,analytics:x,productType:"onboarding_interim",showPopup:w,setShowPopup:P})]})})]})}),e.jsx(K,{showConfetti:b})]})},te=i.div`
2
- display: flex;
3
- flex-direction: column;
4
- align-items: center;
5
- min-width: 100%;
6
- overflow: visible;
7
- `,ie=i.div`
8
- display: flex;
9
- flex-direction: column;
10
- align-items: center;
11
- flex: 1;
12
- width: 100%;
13
- height: 100%;
14
- min-height: 100vh;
15
- background-image: ${o=>`url(https://storage.googleapis.com/zeni-apis.appspot.com/images/signin-background-${o.windowSize==="small"?"m":"w"}-${o.theme.mode==="dark"?"d":"l"}.svg)`};
16
- background-color: ${o=>o.theme.colors.grey4};
17
- background-size: inherit;
18
- background-attachment: fixed;
19
- background-position: ${o=>o.windowSize==="small"?"center center":"right center"};
20
- background-repeat: no-repeat;
21
-
22
- ${o=>o.theme.breakpoints.down("lg")} {
23
- background-size: cover;
24
- }
25
- `,oe=i.div`
26
- position: fixed;
27
- width: 100%;
28
- top: ${t.sp0};
29
- left: 0;
30
- right: 0;
31
- height: 62px;
32
- padding: 0 ${t.sp2};
33
- display: flex;
34
- align-items: center;
35
- justify-content: space-between;
36
- z-index: 3;
37
- `,re=i.div`
38
- display: flex;
39
- position: relative;
40
- flex-direction: column;
41
- align-items: center;
42
- justify-content: center;
43
- width: 100%;
44
- margin: 86px 0 0 0;
45
- `,ne=i.div`
46
- position: relative;
47
- display: flex;
48
- align-items: center;
49
- justify-content: center;
50
- width: fit-content;
51
- border-radius: 50px;
52
- margin-bottom: ${t.sp7};
53
- cursor: default;
54
- overflow: hidden;
55
-
56
- &::before {
57
- content: "";
58
- position: absolute;
59
- top: 0;
60
- right: 0;
61
- bottom: 0;
62
- left: 0;
63
- background-color: ${l.brandColorJadeLight};
64
- opacity: 0.5;
65
- z-index: 0;
66
- }
67
-
68
- > * {
69
- position: relative;
70
- z-index: 1;
71
- }
72
- `,se=i.div`
73
- display: flex;
74
- flex-direction: column;
75
- justify-content: center;
76
- width: 100%;
77
- height: 100%;
78
- `,C=i.div`
79
- display: flex;
80
- align-items: flex-start;
81
- justify-content: center;
82
- `,ae=i.div`
83
- display: flex;
84
- align-items: center;
85
- justify-content: center;
86
- width: ${y.largeRegular.lineHeight};
87
- height: ${y.largeRegular.lineHeight};
88
- border-radius: 50%;
89
- outline: 1px solid ${l.brandColorJadeDark};
90
- background-color: ${l.brandColorPearl};
91
- `,le=i(N)`
92
- width: ${t.sp3};
93
- height: ${t.sp3};
94
- color: ${l.brandColorSapphire};
95
- `,j=i(J)`
96
- color: ${l.brandColorSapphire};
97
- text-align: center;
98
- margin-left: ${t.sp2};
99
- `,de=i.div`
100
- display: flex;
101
- align-items: center;
102
- justify-content: center;
103
- width: 100%;
104
- margin-bottom: ${t.sp4};
105
- cursor: default;
106
- `,ce=i(Z)`
107
- color: ${o=>o.theme.colors.primary};
108
- text-align: center;
109
- margin-left: ${t.sp2};
110
- margin-right: ${t.sp2};
111
- `,pe=i.div`
112
- width: 1328px;
113
- height: 512px;
114
- display: flex;
115
- align-items: center;
116
- justify-content: center;
117
- overflow: visible;
118
- margin-bottom: ${t.sp4};
119
- `,he=i.a`
120
- display: flex;
121
- align-items: center;
122
- justify-content: center;
123
- text-decoration: none;
124
- width: 100%;
125
- cursor: pointer;
126
- color: ${l.brandColorSapphire};
127
- &:hover {
128
- .discover-class {
129
- color: ${o=>o.theme.colors.primary};
130
- }
131
- }
132
- `,ge=i(q)`
133
- color: inherit;
134
- text-align: center;
135
- `,me=i(G)`
136
- width: ${t.sp3};
137
- height: ${t.sp3};
138
- color: inherit;
139
- margin-left: 6px;
140
- margin-top: ${t.sp1};
141
- `,ue=i.div`
142
- width: 100%;
143
- padding: 10px ${t.sp3};
144
- position: sticky;
145
- bottom: 0;
146
- left: 0;
147
- right: 0;
148
- z-index: 3;
149
- display: flex;
150
- justify-content: space-between;
151
- align-items: center;
152
- flex-direction: column;
153
- `,xe=i.div`
154
- display: flex;
155
- position: relative;
156
- justify-content: space-between;
157
- width: 100%;
158
- align-items: center;
159
- `,fe=i.div`
160
- display: flex;
161
- left: ${t.sp4};
162
- bottom: ${t.sp3};
163
- position: fixed;
164
- justify-content: center;
165
- align-items: center;
166
- cursor: default;
167
- `,we=i.div`
168
- display: flex;
169
- `,ke=i(V)`
170
- height: ${t.sp4};
171
- width: 102px;
172
- color: ${o=>o.theme.colors.primary};
173
- cursor: pointer;
174
- flex-shrink: 0;
175
- margin-left: -${t.sp5};
176
- `,ye=i(Y)`
177
- width: ${t.sp4};
178
- min-width: ${t.sp4};
179
- height: ${t.sp4};
180
- `,Ce=i.div`
181
- display: flex;
182
- flex-direction: row;
183
- align-items: center;
184
- width: fit-content;
185
- white-space: nowrap;
186
- cursor: pointer;
187
- color: ${o=>o.theme.colors.hero};
188
- &:hover {
189
- .btnText {
190
- color: ${o=>o.theme.colors.primary};
191
- }
192
- svg {
193
- color: ${o=>o.theme.colors.primary};
194
- }
195
- }
196
- margin-right: ${t.sp2};
197
- `,je=i(R)`
198
- margin-left: ${t.sp2};
199
- `,$e=i.div`
200
- width: 200px;
201
- height: ${t.sp4};
202
- `;export{Ue as CustomerOnboardingProductSuitePage,Ue as default};
@@ -1,371 +0,0 @@
1
- import{q as B,d as q,O as _,ax as Oe,l as D,j as s,bF as Je,P as Ke,B as Xe,bH as Qe,o as d,y as I,aC as Q,bI as et,bJ as tt,ai as ae,u as C,b3 as st,aU as ot,bK as at,A as Be,n as Pe,h as T,ar as Ne,aT as nt,b9 as it,ao as rt,bL as ct,av as lt,bM as dt,bN as ie,bO as pt,au as ut,an as gt,bP as ht}from"./index-sAOH0Fje.js";import{b as y,w as ee,n as u,k as Ie}from"./vendor-Bs1fkIUX.js";import{m as G,l as oe}from"./analyticsHelper-or1KkBWk-Plh_6I_p.js";import{h as mt,u as ft}from"./ReportTableViewSelector-Ci-WKrCO-DAZRgQwg.js";import{q as bt}from"./InsightsSection-JIKb9lz3-CSUvMdaP.js";import{N as _e,U as xt,k as _t,H as te,K as ue}from"./detailCommon-CRAGrqoO-Cq9phP1q.js";import{N as wt,G as St,H as we,Y as Se,P as ye}from"./RevenueChart-CXMBT3cr-DnDEiqPG.js";import{C as yt}from"./NoDataChart-5E72SElf-Bfyft1Tp.js";import{n as R}from"./getReferrerType-DjPOy76W-Cm31g4vJ.js";import{p as vt}from"./TimeRangeSwitcher-ifkHfqEg-CGFdCObN.js";import{b as Le}from"./TimeframeSwitcher-BP-PxO5g-DG6ysLlp.js";import{I as $t,R as V,x as jt,l as ge,D as Ct}from"./CollapsableReportTable-7iAngywY-CxWB4sRz.js";import{S as kt,M as Ot,g as Bt,L as se,D as Re,T as De,I as Te}from"./mapSectionWithAcOnlyToTreeNode-C9O-C2dp-BYZLhSZo.js";import{d as Pt}from"./NoDataTable-BwHbkm3l-C4AJlFQY.js";import{d as he,l as me}from"./mapTimeframeHeaderLoadingInProgressToTreeNode-BaGM4krW-yJCRTG35.js";import{d as fe}from"./mapLoadingInProgressToTreeNode-CRwG2DSD-B4LnWZMC.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.js";import"./NavigationDots-BxPgEW_p-CnLRJgGA.js";import"./chartTypes-DCvOVjlS-BdPIN5WI.js";import"./toCOABalancesWithID-B3yVGPrV-B_BzNOYP.js";import"./toChartData-DEW0iT7T-DrkbvIyQ.js";import"./AccountRow-Be3LIHO--AtWCxnkE.js";import"./graphic-no-data-l-DU4J8fDt-DTLZpyxa.js";const Nt=e=>y.createElement("svg",{viewBox:"0 0 120 120",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},y.createElement("path",{opacity:.2,d:"M105.021 115.208C105.021 116.479 104.516 117.698 103.617 118.596C102.718 119.495 101.5 120 100.229 120H28.3539C27.083 120 25.8643 119.495 24.9656 118.596C24.067 117.698 23.5622 116.479 23.5622 115.208V14.5832C23.5622 13.3123 24.067 12.0936 24.9656 11.195C25.8643 10.2963 27.083 9.7915 28.3539 9.7915H71.4789L105.021 43.3332V115.208Z",fill:"#97C3B9"}),y.createElement("path",{opacity:.2,d:"M71.4785 9.7915V38.5415C71.4785 39.8123 71.9834 41.0311 72.882 41.9297C73.7806 42.8283 74.9994 43.3332 76.2702 43.3332H105.02",fill:"#97C3B9"}),y.createElement("path",{d:"M33.6636 70.0449H37.2636",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M33.6635 81.2539H37.2635",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M33.6635 92.4626H37.2635",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M33.6635 103.671H37.2635",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M47.0987 70.0449L80.6987 70.0449",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M47.0987 81.2539L80.6987 81.2539",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M47.0987 92.4626L80.6987 92.4626",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M47.6084 103.671L81.2084 103.671",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M100.729 110.313C100.729 111.583 100.224 112.802 99.3258 113.701C98.4272 114.6 97.2084 115.104 95.9375 115.104H24.0625C22.7917 115.104 21.5729 114.6 20.6743 113.701C19.7757 112.802 19.2709 111.583 19.2709 110.313V9.68766C19.2709 8.41683 19.7757 7.19805 20.6743 6.29944C21.5729 5.40083 22.7917 4.896 24.0625 4.896H67.1875L100.729 38.4377V110.313Z",stroke:"#97C3B9",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M67.1872 4.896V33.646C67.1872 34.9168 67.692 36.1356 68.5906 37.0342C69.4893 37.9328 70.708 38.4377 71.9789 38.4377H100.729",stroke:"#97C3B9",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M43.4564 21.9438V17.5398",stroke:"#95C1B7",strokeWidth:1.00757,strokeMiterlimit:10,strokeLinecap:"round"}),y.createElement("path",{d:"M43.4564 54.3497V50.1257",stroke:"#95C1B7",strokeWidth:1.00757,strokeMiterlimit:10,strokeLinecap:"round"}),y.createElement("path",{d:"M33.6635 40.7779C33.6635 42.8599 34.1555 45.0139 35.3975 46.7239C36.7415 48.5719 38.8595 49.5619 41.0735 49.9339C43.1375 50.2819 45.2855 50.1499 47.3135 49.6759C51.5135 48.6979 54.5675 44.3959 52.6955 40.1179C51.5795 37.5619 48.8855 36.4219 46.2635 36.1699C44.3675 35.9899 42.4294 35.9779 40.5334 35.7079C38.9374 35.4799 37.3475 34.9459 36.1895 33.7819C35.0315 32.6179 34.3895 30.8599 34.4495 29.1619C34.5335 26.6359 35.9915 24.4999 38.2415 23.3959C40.5995 22.2379 43.4675 22.1839 46.0115 22.6219C47.6855 22.9099 49.3294 23.6119 50.4994 24.8419C51.9694 26.3899 52.4555 28.5019 52.5275 30.5719",stroke:"#95C1B7",strokeWidth:1.00757,strokeMiterlimit:10,strokeLinecap:"round"})),It=u.div`
2
- justify-content: center;
3
- align-items: center;
4
- display: flex;
5
- flex-direction: column;
6
- height: ${e=>`calc(100vh - ${tt.valuePx(e.windowSize)})`};
7
- gap: ${d.sp6};
8
- color: ${e=>e.theme.colors.grey2};
9
- `,Lt=u.div`
10
- width: ${d.sp12};
11
- height: ${d.sp12};
12
- flex-shrink: 0;
13
- `,Rt=u(ae)`
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
- `,Dt=({style:e,emptyContentText:t,EmptyContentImage:a})=>{const n=B();return s.jsxs(It,{windowSize:n,style:{...e},children:[s.jsx(Lt,{children:s.jsx(a,{})}),s.jsx(Rt,{children:t})]})};function Tt(e){const{reportId:t}=e.report,a=e.filter.balancesRange.orderBy;let n,i,r=0;switch(t){case"cash_in_cash_out":{const p=e.report,{cashIn:o,cashOut:l}=p,c=o.balances.length>0?o:l;c.balances.length>0&&(a==="ascending_date"&&(r=c.balances.length-1),n=c.balances[r]);break}case"cash_position":{const p=e.report,{cashPosition:o}=p;o.balances.length>0&&(a==="ascending_date"&&(r=o.balances.length-1),n=o.balances[r]);break}case"net_burn_or_income":{const p=e.report,{expenses:o,income:l}=p.sections,c=o?.balances.length>0?o:l;c?.balances!=null&&c.balances.length>0&&(a==="ascending_date"&&(r=c.balances.length-1),n=c.balances[r]);break}case"net_burn_or_income_by_classes":{const p=e.report,{expenses:o,income:l,cogs:c}=p.sections,m=l.balances.length>0?l:c,g=o.balances.length>0?o:m;g.balances.length>0&&(a==="ascending_date"&&(r=g.balances.length-1),n=g.balances[r]);break}case"operating_expenses":{const p=e.report,{expenses:o}=p.sections;o.balances.length>0&&(a==="ascending_date"&&(r=o.balances.length-1),n=o.balances[r]);break}case"operating_expenses_by_classes":{const p=e.report,{expenses:o}=p.sections;o.balances.length>0&&(a==="ascending_date"&&(r=o.balances.length-1),n=o.balances[r]);break}case"revenue":{const p=e.report,{income:o,cogs:l}=p.sections,c=o.balances.length>0?o:l;c?.balances!=null&&c.balances.length>0&&(a==="ascending_date"&&(r=c.balances.length-1),n=c.balances[r]);break}case"revenue_by_classes":{const p=e.report,{income:o,cogs:l}=p.sections,c=o.balances.length>0?o:l;c.balances.length>0&&(a==="ascending_date"&&(r=c.balances.length-1),n=c.balances[r]);break}}return n!=null&&(i={startDate:n.startDate,endDate:n.endDate}),i}function zt(e){const{isCompareModeOn:t,filter:a,coaBalancesRange:n,report:i,currentTenantCompanyName:r,reportView:p,classesToFilterOut:o}=e,{reportId:l}=i;let c=a.balancesRange.thisPeriod;c==null&&(c=Tt({report:i,filter:a}));const m=[];if(t?(m.push("this_period_vs_last_period_percent"),m.push("this_period_vs_last_period")):!t&&l!=="cash_position"&&m.push("free_range_total"),i.reportId!=="cash_position"&&m.push("year_to_date_total"),c!=null)return{localeId:_.getAppLocaleID(),showNegativeAmountInParenthesis:!0,filterAccountsWithNilBalances:"filter_actual_nil_balances",filterAccountGroupsWithNilBalances:"filter_actual_forecast_empty_account_group_balances",includeCoverPage:!1,companyName:r,statementFileType:"excel",statements:[l],firstMonthOfFY:e.report.firstMonthOfFY,bookCloseDate:e.report.bookCloseDate,timeframe:a.timeframe,additionalBalances:m,format:e.reportType,balancesFilter:{thisPeriod:c,numberOfPeriods:t?a.balancesRange.numberOfPeriods:n.numberOfPeriods,orderBy:n.orderBy},accountViewMode:p,classesToFilterOut:o,isZeniCOAUsed:e.isZeniCOAUsed}}function At(e){const t=zt(e);if(t!=null)return mt(e.statementEndPoint,e.authParams,t)}const Mt=u.div`
21
- padding: ${d.sp4} ${d.sp0} ${d.sp5} ${d.sp0};
22
- `;function Ft({highlightedRangeReport:e}){const{availableNumberOfPeriods:t,netCashFlow:a}=e,n=a.balances;if(t==null||t===0||n.length===0)return null;const i=n.reduce((l,c)=>l+c.balance.amount,0),r=n[n.length-1],p={...r,balance:{...r.balance,amount:i}},o=_.getLocalizedStrings().chartCard.cashInCashOut.net_cash_flow;return s.jsx(Mt,{children:s.jsx(te,{balance:p,dateText:o,showInfotip:!1})})}const Et=u.div`
23
- padding: ${d.sp4} ${d.sp0} ${d.sp5} ${d.sp0};
24
- `;function Vt({highlightedRangeReport:e}){const{dateFormat:{visual:t}}=_.getLocalizedStrings(),{availableNumberOfPeriods:a,cashPosition:n}=e,i=n.balances;if(a==null||a===0||i.length===0)return null;const r=i[i.length-1],p=`in ${r.endDate.format(t.MMMYYFormat)}`;return s.jsx(Et,{children:s.jsx(te,{balance:r,dateText:p,showInfotip:!1})})}const Wt=u.div`
25
- padding: ${d.sp4} ${d.sp0} ${d.sp5} ${d.sp0};
26
- `,Ht=u.div`
27
- padding: ${d.sp4} ${d.sp0} ${d.sp5} ${d.sp0};
28
- height: ${d.sp6};
29
- `;function Yt({highlightedRangeReport:e,uiState:t}){const{selectedAdditionalBalances:a}=t,{availableNumberOfPeriods:n,calculatedSections:i}=e,r=i.netBurnOrIncome.balances;if(n==null||n===0||r.length===0)return s.jsx(Ht,{});const p=a.includes("this_period_vs_last_period")||a.includes("this_period_vs_last_period_percent"),o=r.reduce((h,f)=>h+f.balance.amount,0),l=r[r.length-1],c=r[0],m={...l,balance:{...l.balance,amount:o},startDate:c.startDate},g=ue(m,p);return s.jsx(Wt,{children:s.jsx(te,{balance:m,dateText:g,showInfotip:!1})})}const Ut=u.div`
30
- padding: ${d.sp4} ${d.sp0} ${d.sp5} ${d.sp0};
31
- `,Gt=u.div`
32
- padding: ${d.sp4} ${d.sp0} ${d.sp5} ${d.sp0};
33
- height: ${d.sp6};
34
- `;function Zt({highlightedRangeReport:e,uiState:t}){const{availableNumberOfPeriods:a}=e,{selectedAdditionalBalances:n}=t,i=e.sections.expenses.balances??[];if(a==null||a===0||i.length===0)return s.jsx(Gt,{});const r=n.includes("this_period_vs_last_period")||n.includes("this_period_vs_last_period_percent"),p=i.reduce((g,h)=>g+h.balance.amount,0),o=i[i.length-1],l=i[0],c={...o,balance:{...o.balance,amount:p},startDate:l.startDate},m=ue(c,r);return s.jsx(Ut,{children:s.jsx(te,{balance:c,dateText:m,showInfotip:!1})})}const qt=u.div`
35
- padding: ${d.sp4} ${d.sp0} ${d.sp5} ${d.sp0};
36
- `,Jt=u.div`
37
- padding: ${d.sp4} ${d.sp0} ${d.sp5} ${d.sp0};
38
- height: ${d.sp6};
39
- `;function Kt({highlightedRangeReport:e,uiState:t}){const{availableNumberOfPeriods:a,sections:n}=e,{selectedAdditionalBalances:i}=t,r=n.income.balances;if(a==null||a===0||r.length===0)return s.jsx(Jt,{});const p=i.includes("this_period_vs_last_period")||i.includes("this_period_vs_last_period_percent"),o=r.reduce((h,f)=>h+f.balance.amount,0),l=r[r.length-1],c=r[0],m={...l,balance:{...l.balance,amount:o},startDate:c.startDate},g=ue(m,p);return s.jsx(qt,{children:s.jsx(te,{balance:m,dateText:g,showInfotip:!1})})}const Xt=({highlightedRangeReport:e,uiState:t})=>{switch(e.reportId){case"net_burn_or_income":return s.jsx(Yt,{highlightedRangeReport:e,uiState:t});case"revenue":return s.jsx(Kt,{highlightedRangeReport:e,uiState:t});case"operating_expenses":return s.jsx(Zt,{highlightedRangeReport:e,uiState:t});case"cash_position":return s.jsx(Vt,{highlightedRangeReport:e});case"cash_in_cash_out":return s.jsx(Ft,{highlightedRangeReport:e});default:return null}},X={wrapperPadding:new I(C[3],C[3],C[8]),chartHeight:new I(288,360)},Qt=u.div`
40
- display: flex;
41
- flex: 1 1 auto;
42
- flex-direction: column;
43
- height: ${e=>X.chartHeight.valuePx(e.windowSize)};
44
- `,es=u.div`
45
- display: flex;
46
- `,ts=e=>{const t=B(),{selectedRangeReport:a,selectedClassesViewRangeReport:n,uiState:i,onCOABalancesRangeChanged:r}=e,p=a.availableNumberOfPeriods==null||a.availableNumberOfPeriods===0,{selectedCOABalancesRange:o,selectedAdditionalBalances:l,highlightedCOABalancesRange:c,timeframe:m}=i,g=n!==void 0&&n.uiState.accountViewMode==="classes"?n:a;return p?s.jsx(es,{children:s.jsx(yt,{title:_.getLocalizedStrings().chartCard.no_data_available})}):s.jsx(Qt,{windowSize:t,children:s.jsx(st,{children:({height:h,width:f})=>{const x={showBarHoverBackground:!0,onCOABalancesRangeChanged:(w,S,b)=>{ss(a.firstMonthOfFY,l,a.reportId,S,w,e.analytics),r(o,b)},highlightedRange:c,isDetailPage:!0,timeframe:m,width:f,height:h};switch(g.reportId){case"net_burn_or_income":return s.jsx(ye,{selectedRangeReport:a,...x,mode:e.uiState.mode});case"net_burn_or_income_by_classes":return s.jsx(ye,{selectedRangeReport:n,...x,mode:e.uiState.mode});case"revenue":return s.jsx(Se,{selectedRangeReport:a,...x,mode:e.uiState.mode});case"revenue_by_classes":return s.jsx(Se,{selectedRangeReport:n,...x,mode:e.uiState.mode});case"operating_expenses":return s.jsx(we,{selectedRangeReport:a,...x,mode:e.uiState.mode});case"operating_expenses_by_classes":return s.jsx(we,{selectedRangeReport:n,...x,mode:e.uiState.mode});case"cash_position":return s.jsx(St,{selectedRangeReport:a,...x});case"cash_in_cash_out":return s.jsx(wt,{selectedRangeReport:a,...x});default:return null}}})})},ss=(e,t,a,n,i,r)=>{const p=t.includes("this_period_vs_last_period")||t.includes("this_period_vs_last_period_percent");p===!0&&r?.trackCompareFilterTimeFrame(R(a),G(n),"bar",oe(e,n,i)),r?.trackDateRangeFilterChange(R(a),"bar",p,void 0,oe(e,n,i))},ze={net_burn_or_income:{light:"https://storage.cloud.google.com/zeni-apis.appspot.com/images/icons/netburn-forecast.png",dark:"https://storage.cloud.google.com/zeni-apis.appspot.com/images/icons/netburn-forecast-dark.png"},revenue:{light:"https://storage.cloud.google.com/zeni-apis.appspot.com/images/icons/revenue-forecast.png",dark:"https://storage.cloud.google.com/zeni-apis.appspot.com/images/icons/revenue-forecast-dark.png"},operating_expenses:{light:"https://storage.googleapis.com/zeni-apis.appspot.com/images/icons/opex-forecast.png",dark:"https://storage.googleapis.com/zeni-apis.appspot.com/images/icons/opex-forecast-dark.png"}},Ae=Ie`
47
- 0% {
48
- transform: translateY(100%)
49
- }
50
- 100% {
51
- transform: translateY(0)
52
- }
53
- `,os=Ie`
54
- 0% {
55
- opacity: 0
56
- }
57
- 90% {
58
- opacity: 0
59
- }
60
- 100% {
61
- opacity: 1
62
- }
63
- `,as=u.div`
64
- position: fixed;
65
- top: 0;
66
- left: 0;
67
- width: 100%;
68
- z-index: 10;
69
- height: 100%;
70
- display: flex;
71
- flex-direction: column;
72
- align-items: center;
73
- background: ${T.overlayDark};
74
- `,ns=u.div`
75
- position: fixed;
76
- top: 0;
77
- left: 0;
78
- width: 100%;
79
- z-index: 10;
80
- height: 100%;
81
- display: flex;
82
- flex-direction: column;
83
- align-items: center;
84
- overflow: auto;
85
- background: ${T.blackColor}E6;
86
- `,Me=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
- `,Fe=u.div`
93
- display: flex;
94
- justify-content: flex-end;
95
- width: 100%;
96
- padding: ${d.sp3} ${d.sp4};
97
- `,Ee=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: ${os} 0.4s;
107
- `,is=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
- `,rs=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
- `,cs=u.div`
132
- position: absolute;
133
- left: 0;
134
- margin-top: 130px;
135
- `,ls=u.div`
136
- position: absolute;
137
- left: 0;
138
- margin-top: 500px;
139
- `,ds=u.div`
140
- position: absolute;
141
- right: 30px;
142
- margin-top: 200px;
143
- `,ps=u.div`
144
- width: 140px;
145
- transform: rotate(-22.31deg);
146
- `,us=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
- `,gs=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
- `,hs=u(Ne)`
162
- max-width: 496px;
163
- margin-top: ${d.sp7};
164
- margin: auto;
165
- color: ${e=>e.theme.colors.primary};
166
- `,ms=u(Ne)`
167
- max-width: 330px;
168
- margin: auto;
169
- color: ${T.primaryDark};
170
- `,Ve=u.div``,We=u(ae)`
171
- margin: ${d.sp3} auto;
172
- max-width: ${e=>e.windowSize==="small"||e.windowSize==="medium-compact"?"330px":"422px"};
173
- color: ${e=>e.windowSize==="small"||e.windowSize==="medium-compact"?T.heroDark:e.theme.colors.hero};
174
- `,fs=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
- `,bs=u.ul`
182
- display: flex;
183
- flex-direction: column;
184
- text-align: left;
185
- width: ${e=>e.windowSize==="small"||e.windowSize==="medium-compact"?"350px":"620px"};
186
- color: ${e=>e.windowSize==="small"||e.windowSize==="medium-compact"?T.heroDark:e.theme.colors.hero};
187
- margin-top: 22px;
188
- list-style-position: outside;
189
- padding-left: ${d.sp3};
190
- `,re=u(it)``,ce=u(nt)``,le=u.li``,xs=u.div`
191
- overflow: hidden;
192
- max-width: 712px;
193
- display: flex;
194
- `,_s=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
- `,de=()=>s.jsxs(ps,{children:[s.jsx(us,{}),s.jsx(gs,{})]}),He=({imgSrc:e})=>{const t=B();return s.jsxs(fs,{windowSize:t,children:[s.jsx(xs,{windowSize:t,children:s.jsx(_s,{windowSize:t,children:s.jsx("img",{src:e,alt:"forecast-promo",style:{width:"343px",height:"220px",borderRadius:d.sp2,display:"block"}})})}),s.jsxs(bs,{windowSize:t,children:[s.jsxs(le,{children:[s.jsx(ce,{children:_.getLocalizedStrings().forecastPromoPage.accuratelyText.bold}),s.jsx(re,{children:_.getLocalizedStrings().forecastPromoPage.accuratelyText.regular})]}),s.jsxs(le,{children:[s.jsx(ce,{children:_.getLocalizedStrings().forecastPromoPage.trackText.bold}),s.jsx(re,{children:_.getLocalizedStrings().forecastPromoPage.trackText.regular})]}),s.jsxs(le,{children:[s.jsx(ce,{children:_.getLocalizedStrings().forecastPromoPage.preciseText.bold}),s.jsx(re,{children:_.getLocalizedStrings().forecastPromoPage.preciseText.regular})]})]})]})},ws=e=>{const{onClose:t,reportId:a,meetingUrl:n}=e,i=B(),r=q(),p=c=>{c.stopPropagation(),t()},o=()=>{window.open(n.toString(),"_blank")},l=ze[a][r.mode];return s.jsxs(ns,{role:"presentation",onClick:c=>p(c),children:[s.jsx(Fe,{children:s.jsx(Ee,{children:s.jsx(Be,{style:{width:"18px",height:"18px"}})})}),s.jsx(rs,{onClick:c=>c.stopPropagation(),children:s.jsxs(Me,{windowSize:i,children:[s.jsx(ms,{children:_.getLocalizedStrings().forecastPromoPage.promoText}),s.jsx(He,{imgSrc:l}),s.jsxs(Ve,{children:[s.jsx(Pe,{variant:"primary",label:_.getLocalizedStrings().forecastPromoPage.meetingButton,onClick:o,style:{backgroundColor:T.primaryDark,borderColor:T.primaryDark,color:T.neutralGrey5Dark}}),s.jsx(We,{windowSize:i,children:_.getLocalizedStrings().forecastPromoPage.forecastUpload})]})]})})]})},Ss=e=>{const{onClose:t,reportId:a,meetingUrl:n}=e,i=B(),r=q(),p=c=>{c.stopPropagation(),t()},o=()=>{window.open(n.toString(),"_blank")},l=ze[a][r.mode];return s.jsxs(as,{role:"presentation",onClick:c=>p(c),children:[s.jsx(Fe,{children:s.jsx(Ee,{children:s.jsx(Be,{style:{width:"18px",height:"18px"}})})}),s.jsxs(is,{onClick:c=>c.stopPropagation(),children:[s.jsxs(Me,{windowSize:i,children:[s.jsx(hs,{children:_.getLocalizedStrings().forecastPromoPage.promoText}),s.jsx(He,{imgSrc:l}),s.jsxs(Ve,{children:[s.jsx(Pe,{variant:"primary",label:_.getLocalizedStrings().forecastPromoPage.meetingButton,onClick:o}),s.jsx(We,{windowSize:i,children:_.getLocalizedStrings().forecastPromoPage.forecastUpload})]})]}),s.jsx(cs,{children:s.jsx(de,{})}),s.jsx(ls,{children:s.jsx(de,{})}),s.jsx(ds,{children:s.jsx(de,{})})]})]})};function ys(e){const t=B();return t==="small"||t==="medium-compact"?s.jsx(ws,{...e}):s.jsx(Ss,{...e})}const pe="ZeniSwitch",A={root:`${pe}-root`,switchBase:`${pe}-switchBase`,track:`${pe}-track`},vs=({className:e,...t})=>s.jsx(pt,{...t,className:e,classes:{...A}}),$s=u(vs)(({theme:e})=>({[`& .${A.switchBase}`]:{color:e.colors.grey2},[`& .${A.track}`]:{backgroundColor:e.colors.grey3,opacity:1},[`& .${A.switchBase}.Mui-checked`]:{color:e.colors.primary},[`& .${A.switchBase}.Mui-checked + .${A.track}`]:{backgroundColor:e.colors.grey1},[`& .${A.switchBase}.Mui-disabled`]:{color:e.colors.grey4},[`& .${A.switchBase}.Mui-disabled + .${A.track}`]:{opacity:.5,backgroundColor:e.colors.background}})),Ye=e=>s.jsx($s,{...e}),Z={containerMaxWidth:new I(124,154),forecastNameInnerWidth:new I(75,105),forecastNameOuterWidth:new I(90,120),tooltipTopPosition:new I(51,51),tooltipWidth:new I(180,150)},ve=u.div``,js=u.div`
201
- min-width: ${e=>Z.forecastNameInnerWidth.valuePx(e.windowSize)};
202
- &:hover {
203
- .info-tooltip {
204
- display: flex;
205
- flex-direction: row;
206
- justify-content: center;
207
- align-items: center;
208
- }
209
- }
210
- `,Cs=u.div`
211
- display: flex;
212
- flex-direction: column;
213
- width: 315px;
214
- white-space: normal;
215
- `,ks=u(ut)`
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
- `,Os=u(ae)`
222
- display: flex;
223
- color: ${e=>e.isValid===!0?e.theme.colors.primary:e.theme.colors.grey1};
224
- margin-bottom: ${d.sp1};
225
- `,Bs=u.div``,Ps=u.div``,Ns=u(gt)`
226
- display: flex;
227
- color: ${T.alert};
228
- `,Is=u(ht)`
229
- color: ${T.alert};
230
- width: ${d.sp4};
231
- height: ${d.sp4};
232
- margin-right: ${d.sp1};
233
- `,Ls=u.span`
234
- overflow: hidden;
235
- white-space: nowrap;
236
- text-overflow: ellipsis;
237
- max-width: ${e=>Z.forecastNameOuterWidth.valuePx(e.windowSize)};
238
- text-align: right;
239
- `,Rs=u.div`
240
- display: flex;
241
- flex-direction: row;
242
- align-items: center;
243
- justify-content: end;
244
- `,Ds=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
- `,Ts=u.div``,zs=u.div`
255
- display: none;
256
- background-color: ${e=>e.theme.colors.primary};
257
- position: absolute;
258
- padding: 2px 5px;
259
- border: 1px solid ${e=>e.theme.colors.primary};
260
- border-radius: ${d.sp1};
261
- z-index: 1;
262
- width: ${e=>Z.tooltipWidth.valuePx(e.windowSize)};
263
- top: ${e=>Z.tooltipTopPosition.valuePx(e.windowSize)};
264
- `,As=u(rt)`
265
- color: ${e=>e.theme.colors.grey5};
266
- `;function Ms({selectedForecastIndex:e,forecasts:t,isDisabled:a,isForecastValid:n,onForecastSelectionChanged:i}){const r=B(),{dateFormat:{visual:p}}=_.getLocalizedStrings(),o=g=>`${g.startDate.format(p.MMMYYYYFormat)} - ${g.endDate.format(p.MMMYYYYFormat)}`,l=g=>g.map((h,f)=>({label:h.name,value:f,forecastId:h.id,timeframeLabel:o(h.forecastPeriod),isValid:n(h)})),[c,m]=y.useState(l(t));return ee.useEffect(()=>{m(l(t))},[t]),s.jsxs(js,{windowSize:r,children:[s.jsx(Ts,{children:s.jsx(zs,{className:"info-tooltip",windowSize:r,children:s.jsx(As,{children:c[e]!=null?c[e].label:""})})}),s.jsx(Fs,{selectedForecast:c[e],forecastOptions:c,isDisabled:a,onForecastSelectionChanged:i})]})}const Fs=({selectedForecast:e,forecastOptions:t,isDisabled:a,onForecastSelectionChanged:n})=>{const i=q(),r=B(),[p,o]=y.useState(e),l=i.colors.grey5,c=i.colors.grey5,m=i.colors.grey3;y.useEffect(()=>{o(e)},[e]);const g=u(ct)`
267
- height: ${d.sp3};
268
- width: ${d.sp3};
269
- `,h=u(lt)`
270
- height: 12px;
271
- width: 12px;
272
- margin-left: 6px;
273
- `,f=({children:b,...$})=>s.jsx(ie.SingleValue,{...$,children:s.jsxs(Rs,{children:[s.jsx(Ls,{windowSize:r,children:b}),s.jsx(h,{})]})}),x=b=>s.jsx(ie.DropdownIndicator,{...b,children:s.jsx(ve,{})}),w=b=>s.jsx(ve,{children:s.jsx(ie.Option,{...b,children:s.jsxs(Cs,{children:[s.jsxs(ks,{isValid:b.data.isValid,children:[b.label,b.isSelected?s.jsx(g,{}):null]}),s.jsxs(Os,{isValid:b.data.isValid,children:[s.jsx(Bs,{children:b.data.timeframeLabel}),s.jsx(Ds,{isValid:b.data.isValid}),s.jsx(Ps,{children:_.getLocalizedStrings().chartCard.forecast_dropdown.forecast_source})]}),b.data.isValid===!1?s.jsxs(Ns,{children:[s.jsx(Is,{}),_.getLocalizedStrings().chartCard.forecast_dropdown.forecast_invalid_issue]}):null]})})}),S={control:(b,$)=>({...b,border:0,backgroundColor:c,color:$.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:Z.containerMaxWidth.valuePx(r),minWidth:Z.containerMaxWidth.valuePx(r)}),singleValue:(b,$)=>({...b,color:$.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:C[1],boxShadow:`${d.sp0} 2px ${d.sp2} ${i.colors.dropShadowHover}`,whiteSpace:"nowrap",minWidth:"fit-content",zIndex:20}),menuList:b=>({...b,borderRadius:C[1],maxWidth:"350px"}),option:(b,{isDisabled:$,isSelected:k,isFocused:W})=>({...b,color:k?i.colors.champion:i.colors.hero,backgroundColor:k===!0?m:W===!0&&$!==!0?i.colors.background:l,cursor:$===!0?"not-allowed":"pointer",padding:`11px ${d.sp3}`,":hover":{backgroundColor:$===!1?k===!0?m:i.colors.background:l,color:i.colors.primary},borderBottom:"1px solid "+i.colors.grey3}),indicatorSeparator:()=>({}),dropdownIndicator:()=>({})};return s.jsx(dt,{options:t,components:{SingleValue:f,DropdownIndicator:x,Option:w},styles:S,defaultValue:p,onChange:b=>{const $=b;o($),n($.forecastId,$.value)},isSearchable:!1,isClearable:!1,isOptionDisabled:b=>b.isValid===!1,theme:b=>({...b,colors:{...b.colors,primary:l}}),isDisabled:a})},$e={timeframePaddingLeft:new I(0,0,245),timeframePaddingBottom:new I(8,8,0)},Es=u.div`
274
- display: flex;
275
- width: 100%;
276
- flex-direction: column;
277
- `,Vs=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=>$e.timeframePaddingLeft.valuePx(e.windowSize)};
287
- padding-bottom: ${e=>$e.timeframePaddingBottom.valuePx(e.windowSize)};
288
- `,Ws=u.div`
289
- display: flex;
290
- width: 100%;
291
- flex-direction: row;
292
- align-items: center;
293
- justify-content: center;
294
- `,Hs=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
- `,Ys=u.div`
302
- display: flex;
303
- flex-direction: row;
304
- align-items: center;
305
- margin-right: ${d.sp5};
306
- `,Ge=u(ae)`
307
- color: ${e=>e.isOn?e.theme.colors.primary:e.theme.colors.hero};
308
- opacity: ${e=>e.isDisabled?.5:1};
309
- `,Ze=({label:e,isOn:t,isToggleDisabled:a,onValueChanged:n})=>s.jsxs(s.Fragment,{children:[s.jsx(Ge,{isOn:t,isDisabled:a===!0,children:e}),s.jsx(Ye,{checked:t,edge:"end",disabled:a===!0,disableRipple:a===!0,onChange:i=>{n(i.target.checked)}})]});function qe({isOn:e,isDisabled:t,selectedForecastIndex:a,forecasts:n,isForecastValid:i,onForecastToggleChanged:r,onForecastSelectionChanged:p}){return s.jsxs(Ys,{children:[e===!0&&n!=null&&n.length!==0?s.jsx(Ms,{selectedForecastIndex:a??0,forecasts:n,isForecastValid:i,onForecastSelectionChanged:p,isDisabled:!1}):s.jsx(Ge,{isOn:e,isDisabled:t===!0,children:_.getLocalizedStrings().reports.forecast.forecast}),s.jsx(Ye,{checked:e,edge:"end",disabled:t===!0,disableRipple:t===!0,onChange:o=>{r(o.target.checked)}})]})}const Us=e=>{const t=B();return s.jsxs(Es,{children:[s.jsx(Ue,{windowSize:t,children:s.jsx(Le,{timeframes:e.timeframe.allowedTimeframes,selectedTimeframe:e.timeframe.selectedTimeframe,onTimeframeSelectionChanged:e.timeframe.onTimeframeSelectionChanged})}),s.jsxs(Ws,{children:[e.forecastListWithToggle!=null&&s.jsx(qe,{...e.forecastListWithToggle}),s.jsx(Ze,{...e.compareToggle,label:_.getLocalizedStrings().compareSwitchLabel})]})]})},Gs=e=>{const t=B();return s.jsxs(Vs,{children:[s.jsx(Ue,{windowSize:t,children:s.jsx(Le,{timeframes:e.timeframe.allowedTimeframes,selectedTimeframe:e.timeframe.selectedTimeframe,onTimeframeSelectionChanged:e.timeframe.onTimeframeSelectionChanged})}),s.jsxs(Hs,{children:[e.forecastListWithToggle!=null&&s.jsx(qe,{...e.forecastListWithToggle}),s.jsx(Ze,{...e.compareToggle,label:_.getLocalizedStrings().compareSwitchLabel})]})]})};function Zs(e){const t=B();return t==="small"||t==="medium-compact"?s.jsx(Us,{...e}):s.jsx(Gs,{...e})}const qs=u.div`
310
- display: flex;
311
- padding: ${d.sp2} ${d.sp0} ${d.sp4} ${d.sp0};
312
- `,Js=u.div``,Ks=u.div``,Xs=e=>{const{selectedRangeReport:t,uiState:a,analytics:n,onThisPeriodChanged:i,onTimeframeSelectionChanged:r,onCOABalancesRangeChanged:p,onAdditionalBalanceSelectionChanged:o}=e,l=Oe(),{allTimeframeTicks:c}=t,{selectedCOABalancesRange:m,timeframe:g}=a,h=t.reportId==="cash_in_cash_out"?["month"]:["month","quarter","year"],f=t.availableNumberOfPeriods!=null&&t.availableNumberOfPeriods<2,x=a.mode==="compare_mode"&&!f,w=l.connectionName!=="netsuite"&&(t.reportId==="net_burn_or_income"||t.reportId==="operating_expenses"||t.reportId==="revenue");let S,b;switch(t.reportId){case"revenue":S=t.forecastList?.forecasts,b=t.forecastList?.fetchState;break;case"net_burn_or_income":S=t.forecastList?.forecasts,b=t.forecastList?.fetchState;break;case"operating_expenses":S=t.forecastList?.forecasts,b=t.forecastList?.fetchState;break;default:S=void 0}const $=t.availableNumberOfPeriods==null||t.availableNumberOfPeriods===0,k=$||t.availableNumberOfPeriods===1,W=v=>!!v.forecastPeriod.startDate.isBefore(t.dataAvailable?.endDate),[P,F]=y.useState(!1),Y=D.toZeniUrl("https://meetings.hubspot.com/svitlana-grankovska"),E=a.mode,L=a.selectedForecast;y.useEffect(()=>{E==="forecast_mode"&&b==="Completed"&&S?.length===0&&(F(!0),document.body.style.overflow="hidden")},[b,E,S]),y.useEffect(()=>{E==="forecast_mode"&&L!=null&&S!=null&&S.length>0&&e.analytics?.trackForecastSwitch(R(t.reportId),S[L.index].name)},[L]);const H=(v,j,U)=>{j===!0&&e.analytics?.trackForecastVsActualMode(R(t.reportId),"",v==="forecast_mode"),e.onForecastToggle?.(v,U)};return s.jsx(Ks,{children:s.jsxs(Js,{children:[s.jsx(qs,{children:s.jsx(Zs,{timeframe:{allowedTimeframes:h,selectedTimeframe:g,onTimeframeSelectionChanged:v=>{e.analytics?.trackTimeframeSwitch(G(v),R(t.reportId)),r?.(v),e.uiState.mode==="compare_mode"&&!x&&o(x,x?["this_period_vs_last_period_percent"]:[],x?3:1)}},compareToggle:{label:_.getLocalizedStrings().compareSwitchLabel,isOn:k?!1:x,isToggleDisabled:k,onValueChanged:v=>{const j=v===!0||a.mode==="forecast_mode"?3:1;n?.trackCompareMode(v,R(t.reportId),G(g)),o(v,v?["this_period_vs_last_period_percent","year_to_date_total"]:["year_to_date_total"],j)}},forecastListWithToggle:w===!0?{isOn:a.mode==="forecast_mode",isToggleDisabled:k,selectedForecastIndex:e.uiState.selectedForecast?.index,forecasts:S,isForecastValid:W,onForecastSelectionChanged:(v,j)=>H("forecast_mode",!1,{id:v,index:j}),onForecastToggleChanged:v=>{H(v===!0?"forecast_mode":"off",!0)}}:void 0})}),P==!0?s.jsx(ys,{meetingUrl:Y,reportId:t.reportId,onClose:()=>{F(!1),e.onForecastToggle?.("off");const v=1;document.body.style.overflow="auto",o(x,x?["this_period_vs_last_period_percent"]:[],v)}}):null,$?null:s.jsx(vt,{firstMonthOfFY:t.firstMonthOfFY,timeframe:g,timeframeTicks:c,selection:{selectedTicks:_e(c,m),highlightedOfSelectedTicks:_e(c,m)},onClick:(v,j)=>{je(t.firstMonthOfFY,x,t.reportId,g,j,e.analytics),i(j)},onSelectionChanged:(v,j)=>{const U=xt(c,v.fromEnd),J=_t(c,j);je(t.firstMonthOfFY,x,t.reportId,g,J.thisPeriod,e.analytics),p(U,J)}})]})})},je=(e,t,a,n,i,r)=>{t===!0&&r?.trackCompareFilterTimeFrame(R(a),G(n),"range filter",oe(e,n,i)),r?.trackDateRangeFilterChange(R(a),"range filter",t,oe(e,n,i))};function be({account:e,sectionType:t,numOfBalances:a,title:n,isLastNode:i,config:r,parentNodeIDs:p}){return{children:[],id:V("ac_report",p,e.accountId),isLastNode:i,reportElementData:{element:{kind:"ac_report",title:n,sectionType:t,data:e,numOfBalances:a},config:r}}}function Qs({acGroup:e,sectionType:t,numOfBalances:a,title:n,isLastNode:i,config:r,parentNodeIDs:p}){const o=V("ac_group_report",p,e.accountGroupId),l={children:[],id:o,isLastNode:i,reportElementData:{element:{kind:"ac_group_report",title:n,sectionType:t,data:e,numOfBalances:a},config:r}},c=ge(t,"no_filter",r.filterAccountsWithNilBalances,r.filterAccountGroupsWithNilBalances).compactedAccountsSelector(e);return l.children=c.map((m,g)=>be({account:m,sectionType:t,numOfBalances:a,title:m.accountDescription,config:r,isLastNode:g===c.length-1,parentNodeIDs:[...p,o]})),l}function Ce({section:e,sectionType:t,numOfBalances:a,title:n,isLastNode:i,config:r}){const p=V("section",[],n),o={children:[],id:p,isLastNode:i,reportElementData:{element:{kind:"section",title:n,sectionType:t,data:e,numOfBalances:a},config:r}},l=Ct(e,r.displayOrder,a,!1),c=eo(l.balances),m=ge(t,"no_filter",r.filterAccountsWithNilBalances,r.filterAccountGroupsWithNilBalances),g=m.compactedAccountsSelectorVariant(e.accountsOrdered),h=m.compactedAccountGroupsSelector(e.accountGroupsOrdered);if(c===!0&&(h.length>0||e.accountsOrdered.length>0)){const f=h.map((w,S)=>Qs({acGroup:w,sectionType:t,numOfBalances:a,title:w.accountGroupName,isLastNode:S===h.length-1,config:r,parentNodeIDs:[p]})),x=g.map((w,S)=>be({account:w,sectionType:t,numOfBalances:a,title:w.accountDescription,isLastNode:S===e.accountsOrdered.length-1,config:r,parentNodeIDs:[p]}));o.children.push(...f),o.children.push(...x)}return o}function eo(e){let t=!1;if(e!=null){for(const a of e)if(a!=null&&a.balance.amount!==0){t=!0;break}}return t}function M({balances:e,config:t,nodeId:a}){let n="timeframe_headers";return t.mode==="actual_vs_forecast"&&(n="timeframe_headers_with_forecast"),{children:[],id:a??V("timeframe_header",[]),isLastNode:!1,reportElementData:{element:{kind:n,title:"",data:e,numOfBalances:e.length},config:t}}}function to(e,t,a=!0){const n=_.getLocalizedStrings().reports,i=t.mode==="this_period_vs_period_before"?e.filter.balancesRange.numberOfPeriods+2:e.filter.balancesRange.numberOfPeriods+1,r=e.cashIn.balances?[...e.cashIn.balances,...e.cashIn.additionalBalances]:e.cashOut.balances?[...e.cashOut.balances,...e.cashOut.additionalBalances]:[],p=M({balances:r,config:t}),o=Ce({section:e.cashIn,sectionType:"cash_in",numOfBalances:i,title:n.sections.cashIn,isLastNode:!0,config:t}),l=Ce({section:e.cashOut,sectionType:"cash_out",numOfBalances:i,title:n.sections.cashOut,isLastNode:!0,config:t}),c=se({calculatedSection:e.netCashFlow,numOfBalances:i,title:n.sections.netCashFlow,isLastNode:!0,config:t});return{config:t,headerNodes:a?[p]:[],contentNodes:[p,o,l,c]}}function xe({title:e,balances:t,config:a,numOfBalances:n,nodeId:i}){return{children:[],id:i??V("total",[]),isLastNode:!1,reportElementData:{element:{kind:"total",title:e,data:t,numOfBalances:n},config:a}}}function so(e,t,a=!0){const n=_.getLocalizedStrings().reports,i=t.mode==="this_period_vs_period_before"?e.filter.balancesRange.numberOfPeriods+2:e.filter.balancesRange.numberOfPeriods+1,r=[...e.cashPosition.balances,...e.cashPosition.additionalBalances],p=e.cashPosition,o=M({balances:r,config:t}),l=xe({title:_.getLocalizedStrings().chartCard.total,balances:p,config:t,numOfBalances:i}),c=V("section",[],n.sections.netCashFlow),m=ge("cash_position","no_filter",t.filterAccountsWithNilBalances,t.filterAccountGroupsWithNilBalances).compactedAccountsSelectorVariant(e.cashPosition.accountsOrdered).map((g,h)=>be({account:g,sectionType:"cash_position",numOfBalances:i,title:g.accountDescription,isLastNode:h===e.cashPosition.accountsOrdered.length-1,config:t,parentNodeIDs:[c]}));return{config:t,headerNodes:a?[o]:[],contentNodes:[o,l,...m]}}function oo(e,t,a=!0,n=!1){const i=_.getLocalizedStrings().reports,r=_.getLocalizedStrings().common;let p=[];const o=[];let l=[];if(n===!0){const c=he({title:r.loading,balances:[],config:t});a&&(c.reportElementData.element.numOfBalances=7,l=[c]),o.push(c),[...Array(8)].forEach((m,g)=>{const h=g%4;let f=me[h];const x=fe({title:`${g}+${f}`,balances:p,config:t});x.reportElementData.element.numOfBalances=7,o.push(x)})}else{const c=t.mode==="this_period_vs_period_before"?e.filter.balancesRange.numberOfPeriods+2:e.filter.balancesRange.numberOfPeriods+1,m=e.sections.income.balances.length>0?[...e.sections.income.balances,...e.sections.income.additionalBalances]:e.sections.expenses.balances.length>0?[...e.sections.expenses.balances,...e.sections.expenses.additionalBalances]:e.sections.cogs.balances.length>0?[...e.sections.cogs.balances,...e.sections.cogs.additionalBalances]:[],g=M({balances:m,config:t});o.push(g),a&&(l=[g]),e.idsInOrder.forEach(h=>{if(D.isNetBurnOrIncomeClassesViewSectionID(h)===!0){const f=e.sections[h];f!=null&&o.push(Re({section:f,sectionType:h,numOfBalances:c,title:i.sections[h],isLastNode:!0,config:t}))}else if(D.isNetBurnOrIncomeClassesViewCalculatedSectionID(h)===!0){const f=e.calculatedSections[h];f!=null&&o.push(se({calculatedSection:f,numOfBalances:c,title:h==="netBurnOrIncome"?e.reportTitle:i.sections[h],isLastNode:!0,config:t}))}})}return{config:t,headerNodes:l,contentNodes:o}}function ao(e,t,a=!0){const n=_.getLocalizedStrings().reports,i=t.mode==="this_period_vs_period_before"?e.filter.balancesRange.numberOfPeriods+2:e.filter.balancesRange.numberOfPeriods+1,r=e.sections.income.balances.length>0?[...e.sections.income.balances,...e.sections.income.additionalBalances]:e.sections.expenses.balances.length>0?[...e.sections.expenses.balances,...e.sections.expenses.additionalBalances]:e.sections.cogs.balances.length>0?[...e.sections.cogs.balances,...e.sections.cogs.additionalBalances]:[],p=M({balances:r,config:t}),o=[];return o.push(p),e.idsInOrder.forEach(l=>{D.isNetBurnOrIncomeReportViewSectionID(l)===!0?e.sections[l].accountGroups.length>0?o.push(De({section:e.sections[l],sectionType:l,numOfBalances:i,title:n.sections[l],isLastNode:!0,config:t})):o.push(Te({sectionWithAcOnly:e.sections[l],sectionType:l,numOfBalances:i,title:n.sections[l],isLastNode:!0,config:t})):D.isNetBurnOrIncomeReportViewCalculatedSectionID(l)===!0&&o.push(se({calculatedSection:e.calculatedSections[l],numOfBalances:i,title:l==="netBurnOrIncome"?e.reportTitle:n.sections[l],isLastNode:!0,config:t}))}),{config:t,headerNodes:a?[p]:[],contentNodes:o}}function no(e,t,a=!0,n=!1){const i=_.getLocalizedStrings().reports,r=_.getLocalizedStrings().common;let p=[];const o=[];let l=[];if(n===!0){const c=he({title:r.loading,balances:[],config:t});c.reportElementData.element.numOfBalances=10,a&&(l=[c]),o.push(c),[...Array(8)].forEach((m,g)=>{const h=g%4;let f=me[h];const x=fe({title:`${g}+${f}`,balances:p,config:t});x.reportElementData.element.numOfBalances=10,o.push(x)})}else{const c=t.mode==="this_period_vs_period_before"?e.filter.balancesRange.numberOfPeriods+2:e.filter.balancesRange.numberOfPeriods+1,m=[...e.sections.expenses.balances,...e.sections.expenses.additionalBalances],g=M({balances:m,config:t}),h=e.sections.expenses,f=xe({title:_.getLocalizedStrings().chartCard.total,balances:h,config:t,numOfBalances:c});o.push(g),o.push(f),a&&(l=[g]);const x=V("section",[],i.sections.expenses);e.sections.expenses.classes.forEach((w,S)=>{o.push(kt({classNode:w,sectionType:"expenses",numOfBalances:c,title:w.class.className,isLastNode:w.isLeafClass,config:t,parentNodeIDs:[x],ancestorMetadata:{subAccountAncestorMetadata:[],classAncestorMetadata:[{depth:w.id.length-1,hasSibling:!1,hasChildren:w.children.length>0,isLastNode:S===e.sections.expenses.classes.length-1,name:w.class.className}]}}))})}return{config:t,headerNodes:l,contentNodes:o}}function io(e,t,a=!0){const n=_.getLocalizedStrings().reports,i=t.mode==="this_period_vs_period_before"?e.filter.balancesRange.numberOfPeriods+2:e.filter.balancesRange.numberOfPeriods+1,r=[...e.sections.expenses.balances,...e.sections.expenses.additionalBalances],p=M({balances:r,config:t}),o=e.sections.expenses,l=xe({title:_.getLocalizedStrings().chartCard.total,balances:o,config:t,numOfBalances:i}),c=V("section",[],n.sections.expenses),m=jt("no_filter",t.filterAccountsWithNilBalances,t.filterAccountGroupsWithNilBalances),g=[];g.push(p),g.push(l);const h=m.compactedAccountGroupsSelector(e.sections.expenses.accountGroups);if(h.length!=0){const f=h.map((x,w)=>Ot({acGroup:x,sectionType:"expenses",numOfBalances:i,title:x.accountGroupName,isLastNode:w===h.length-1,config:t,parentNodeIDs:[c]}));g.push(...f)}else if(e.sections.expenses.accounts?.length!==0){const f=m.compactedAccountsSelectorVariant(e.sections.expenses.accounts),x=f.map((w,S)=>Bt({account:w,sectionType:"expenses",numOfBalances:i,title:w.account.accountName,isLastNode:S===f.length-1,config:t,parentNodeIDs:[c],ancestorMetadata:{subAccountAncestorMetadata:[{depth:0,hasSibling:f.length>1,hasChildren:w.children.length>0,isLastNode:S===f.length-1}]}}));g.push(...x)}return{config:t,headerNodes:a?[p]:[],contentNodes:g}}function ro(e,t,a=!0,n=!1){const i=_.getLocalizedStrings().reports,r=_.getLocalizedStrings().common;let p=[];const o=[];let l=[];if(n===!0){const c=he({title:r.loading,balances:[],config:t});c.reportElementData.element.numOfBalances=7,a&&(l=[c]),o.push(c),[...Array(8)].forEach((m,g)=>{const h=g%4;let f=me[h];const x=fe({title:`${g}+${f}`,balances:p,config:t});x.reportElementData.element.numOfBalances=7,o.push(x)})}else{const c=t.mode==="this_period_vs_period_before"?e.filter.balancesRange.numberOfPeriods+2:e.filter.balancesRange.numberOfPeriods+1,m=e.sections.income.balances.length>0?[...e.sections.income.balances,...e.sections.income.additionalBalances]:e.sections.cogs.balances.length>0?[...e.sections.cogs.balances,...e.sections.cogs.additionalBalances]:e.calculatedSections.grossMargin.balances.length>0?[...e.calculatedSections.grossMargin.balances,...e.calculatedSections.grossMargin.additionalBalances]:[],g=M({balances:m,config:t});o.push(g),a&&(l=[g]),e.idsInOrder.forEach(h=>{if(D.isRevenueClassesViewSectionID(h)===!0){const f=e.sections[h];f!=null&&o.push(Re({section:f,sectionType:h,numOfBalances:c,title:i.sections[h],isLastNode:!0,config:t}))}else if(D.isRevenueClassesViewCalculatedSectionID(h)===!0){const f=e.calculatedSections[h];f!=null&&o.push(se({calculatedSection:f,numOfBalances:c,title:i.sections.grossMargin,isLastNode:!0,config:t}))}})}return{config:t,headerNodes:l,contentNodes:o}}function co(e,t,a=!0){const n=_.getLocalizedStrings().reports,i=t.mode==="this_period_vs_period_before"?e.filter.balancesRange.numberOfPeriods+2:e.filter.balancesRange.numberOfPeriods+1,r=e.sections.income.balances.length>0?[...e.sections.income.balances,...e.sections.income.additionalBalances]:e.sections.cogs.balances.length>0?[...e.sections.cogs.balances,...e.sections.cogs.additionalBalances]:e.calculatedSections.grossMargin.balances.length>0?[...e.calculatedSections.grossMargin.balances,...e.calculatedSections.grossMargin.additionalBalances]:[],p=M({balances:r,config:t}),o=[];return o.push(p),e.idsInOrder.forEach(l=>{D.isRevenueSectionID(l)===!0?e.sections[l].accountGroups.length>0?o.push(De({section:e.sections[l],sectionType:l,numOfBalances:i,title:n.sections[l],isLastNode:!0,config:t})):o.push(Te({sectionWithAcOnly:e.sections[l],sectionType:l,numOfBalances:i,title:n.sections[l],isLastNode:!0,config:t})):D.isRevenueCalculatedSectionID(l)===!0&&o.push(se({calculatedSection:e.calculatedSections[l],numOfBalances:i,title:n.sections[l],isLastNode:!0,config:t}))}),{config:t,headerNodes:a?[p]:[],contentNodes:o}}function lo(e,t,a,n=!0){Object.assign(e.config,t);const i=po(a),r=M({balances:i,config:t});return{config:t,headerNodes:n?[r]:[],contentNodes:[r,...e.contentNodes.slice(1)]}}const po=e=>{switch(e.reportId){case"net_burn_or_income":{const t=e;return t.sections.income.balances.length>0?[...t.sections.income.balances,...t.sections.income.additionalBalances]:t.sections.expenses.balances.length>0?[...t.sections.expenses.balances,...t.sections.expenses.additionalBalances]:t.sections.cogs.balances.length>0?[...t.sections.cogs.balances,...t.sections.cogs.additionalBalances]:[]}case"net_burn_or_income_by_classes":{const t=e;return t.sections.income.balances.length>0?[...t.sections.income.balances,...t.sections.income.additionalBalances]:t.sections.expenses.balances.length>0?[...t.sections.expenses.balances,...t.sections.expenses.additionalBalances]:t.sections.cogs.balances.length>0?[...t.sections.cogs.balances,...t.sections.cogs.additionalBalances]:[]}case"revenue":{const t=e;return t.sections.income.balances.length>0?[...t.sections.income.balances,...t.sections.income.additionalBalances]:t.sections.cogs.balances.length>0?[...t.sections.cogs.balances,...t.sections.cogs.additionalBalances]:t.calculatedSections.grossMargin.balances.length>0?[...t.calculatedSections.grossMargin.balances,...t.calculatedSections.grossMargin.additionalBalances]:[]}case"revenue_by_classes":{const t=e;return t.sections.income.balances.length>0?[...t.sections.income.balances,...t.sections.income.additionalBalances]:t.sections.cogs.balances.length>0?[...t.sections.cogs.balances,...t.sections.cogs.additionalBalances]:t.calculatedSections.grossMargin.balances.length>0?[...t.calculatedSections.grossMargin.balances,...t.calculatedSections.grossMargin.additionalBalances]:[]}case"cash_position":{const t=e;return[...t.cashPosition.balances,...t.cashPosition.additionalBalances]}case"cash_in_cash_out":{const t=e;return t.cashIn.balances.length>0?[...t.cashIn.balances,...t.cashIn.additionalBalances]:[...t.cashOut.balances,...t.cashOut.additionalBalances]}case"operating_expenses":{const t=e;return[...t.sections.expenses.balances,...t.sections.expenses.additionalBalances]}case"operating_expenses_by_classes":{const t=e;return[...t.sections.expenses.balances,...t.sections.expenses.additionalBalances]}default:return[]}},ke={contentPaddingLeft:new I(C[0],C[0],C[0]),contentPaddingRight:new I(C[3],C[3],C[8])},uo=u.div`
313
- width: 100%;
314
- height: calc(100vh - 70px);
315
- `,go=u.div`
316
- display: flex;
317
- position: sticky;
318
- justify-content: center;
319
- padding-top: ${d.sp6};
320
- padding-left: ${e=>X.wrapperPadding.valuePx(e.windowSize)};
321
- background-color: ${e=>e.theme.colors.grey4};
322
- `,ho=u.div`
323
- position: absolute;
324
- padding-top: ${d.sp3};
325
- background-color: ${e=>e.theme.colors.grey4};
326
- `,mo=e=>{const t=B(),a=q(),{selectedRangeReport:n,selectedClassesViewRangeReport:i,uiState:r,scrollPosition:p,isZeniUser:o,onTableScroll:l,onElementCollapseStateChanged:c,onAccountBalanceClick:m,onUpdateAccountViewMode:g,onUpdateClassesToFilterOut:h,onOpenAccountViewMode:f}=e,{highlightedCOABalancesRange:x,mode:w}=r,S=n.availableNumberOfPeriods==null||n.availableNumberOfPeriods===0,b=n.availableNumberOfPeriods!=null&&n.availableNumberOfPeriods<2,$=r.mode==="compare_mode"&&!b,k=$||r.mode==="forecast_mode"?3:1,W=O=>{e.analytics?.trackCompareFilterChange(O==="compare_mode_percent"?"percentage":"amount",R(n.reportId),G(r.timeframe),"dropdown");const N=O==="compare_mode_percent"?"this_period_vs_last_period_percent":"this_period_vs_last_period";e.onAdditionalBalanceSelectionChanged($,[N],x?.numberOfPeriods??k)},[P,F]=y.useState(void 0),[Y,E]=y.useState(void 0),L=!(t==="small"||t==="medium-compact"),H=w==="forecast_mode"?"name+balances_forecast":"name+balances_actual",v=bo(r.selectedAdditionalBalances),j=i!==void 0&&i.uiState.accountViewMode==="classes"?i:n,U=w==="forecast_mode"?"actual_vs_forecast":$===!0?"this_period_vs_period_before":"none",J=n.reportId==="net_burn_or_income"||n.reportId==="operating_expenses"||n.reportId==="revenue",ne=(O,N)=>{O!==i?.uiState.accountViewMode&&g?.(O),N&&h?.(N)};return y.useEffect(()=>{const O={reportId:w==="forecast_mode"&&r.selectedForecast!=null?`${j.reportId}+${r.selectedForecast?.id}`:j.reportId,mode:U,displayOrder:"ascending_date",reportFormat:"more_detailed",bookCloseDate:j.bookCloseDate,firstMonthOfFY:j.firstMonthOfFY,filterAccountsWithNilBalances:w==="forecast_mode"?"filter_actual_forecast_nil_balances":"filter_actual_nil_balances",filterAccountGroupsWithNilBalances:"filter_actual_forecast_empty_account_group_balances",showNegativeAmountInParenthesis:at(),showClassAccountNumber:o,isZeniCOAInUse:e.isZeniCOAUsed,dataAvailable:j.dataAvailable};if(P==null||!Q(Y,j)||e.isPageFetchInProgress===!0){const N=fo(j,O,L,e.isPageFetchInProgress);E(j),F(N)}else{const N=lo(P,O,j,L);F(N)}},[H,$,j,e.isPageFetchInProgress]),s.jsx(go,{windowSize:t,children:S?s.jsx(Pt,{}):P!=null?s.jsxs(uo,{children:[s.jsx($t,{backgroundColor:new ot(a.colors.grey4),rootNodes:P,type:H,compareMode:v,isSticky:{isStickyHeader:L,isStickyName:L},treeNodePadding:{left:ke.contentPaddingLeft.value(t),right:ke.contentPaddingRight.value(t)},onAccountClick:m==null?void 0:(O,N)=>{m(O,N)},nodeOpenStatus:r.nodeCollapseState,scrollPosition:p,onCompareModeChanged:W,onScroll:l,onNodeCollapseToggled:c}),J===!0&&i!==void 0?s.jsx(ho,{children:s.jsx(ft,{reportId:n.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})},fo=(e,t,a=!0,n=!1)=>{switch(e.reportId){case"net_burn_or_income":return ao(e,t,a);case"net_burn_or_income_by_classes":return oo(e,t,a,n);case"revenue":return co(e,t,a);case"revenue_by_classes":return ro(e,t,a,n);case"cash_position":return so(e,t,a);case"cash_in_cash_out":return to(e,t,a);case"operating_expenses":return io(e,t,a);case"operating_expenses_by_classes":return no(e,t,a,n);default:return}},bo=e=>e.includes("this_period_vs_last_period_percent")?"compare_mode_percent":"compare_mode_amount",K={chartWidth:"100%",barCount:8,barWidth:new I(C[6],C[8],C[10]),maxBarHeight:1},xo=({customStyle:e,chartDefaultHeight:t,chartDefaultWidth:a=K.chartWidth,barCount:n=K.barCount,barHeights:i=[.4,.5,.6,1,.3,.5,.2,.7],backgroundColor:r})=>{const p=q(),o=B(),l=t??X.chartHeight.value(o),c=l-C[5],m=[...Array(n)].map((g,h)=>({height:(i?.[h]||K.maxBarHeight)*l,width:K.barWidth}));return s.jsx(_o,{style:{...e,width:a,height:l,backgroundColor:r},children:s.jsx(wo,{children:m.map((g,h)=>s.jsx(So,{children:s.jsx(et,{speed:2,width:K.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-${h}-${g.height}`))})})},_o=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
- `,wo=u.div`
335
- display: flex;
336
- align-items: flex-end;
337
- justify-content: space-between;
338
- width: 100%;
339
- height: 100%;
340
- `,So=u.div`
341
- flex: 1;
342
- height: 100%;
343
- display: flex;
344
- align-items: flex-end;
345
- justify-content: center;
346
- `,yo=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
- `,vo=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=>X.wrapperPadding.valuePx(e.windowSize)};
358
- padding-right: ${e=>X.wrapperPadding.valuePx(e.windowSize)};
359
- z-index: 1;
360
- `,$o=u.div`
361
- display: flex;
362
- justify-content: center;
363
- padding: ${d.sp6} ${d.sp0};
364
- `,jo=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
- `,na=e=>{const t=B(),a=q(),[n,i]=y.useState(!1),r=_.getLocalizedStrings(),{reportLabels:p,selectedRangeReport:o,selectedClassesViewRangeReport:l,uiState:c,downloadParams:m,analytics:g,onBackClick:h,updateDownloadStateHandler:f,onAdditionalBalanceSelectionChanged:x}=e,{insights:w}=o,{selectedCOABalancesRange:S,timeframe:b,selectedAdditionalBalances:$,downloadState:k}=c,W=o.availableNumberOfPeriods!=null&&o.availableNumberOfPeriods<2,P=c.mode==="compare_mode"&&!W,F=Oe(),Y=F.loggedInUserRole!=null&&!D.hasInvestorBankerLevelAccess(F.loggedInUserRole),E=e.selectedRangeReport.reportId==="cash_in_cash_out"||e.selectedRangeReport.reportId==="cash_position";y.useEffect(()=>{async function z(){await At({report:l!==void 0&&l.uiState.accountViewMode==="classes"?l:o,filter:o.filter,coaBalancesRange:S,isCompareModeOn:P,reportView:l!==void 0?l.uiState.accountViewMode:"account_group",classesToFilterOut:l!==void 0?l.uiState.classesToFilterOut:[],...m,reportType:Y||E?"more_detailed":"detailed",isZeniCOAUsed:e.isZeniCOAUsed??!0}),g?.trackDownload(R(o.reportId),G(b),"excel",P),f("Completed")}n&&k!=="In-Progress"&&(i(!1),f("In-Progress"),z())},[m,k,o.filter,n,P,S,o,l,b,g,f,Y,E,e.isZeniCOAUsed]);const L=o.availableNumberOfPeriods==null||o.availableNumberOfPeriods===0||o.allTimeframeTicks.length===0,H=o.fetchState==="In-Progress"||o.fetchState==="Not-Started",v=D.reduceAllFetchState([e?.reportsResyncFetchState??{fetchState:"Not-Started"},l??{fetchState:"Not-Started"}]).fetchState==="In-Progress"&&l?.uiState.accountViewMode==="classes";y.useEffect(()=>{const z=P||c.mode==="forecast_mode"?3:1;x(P,$,z)},[t]);const j=z=>{e.autoCompleteData?.autoCompleteText!=null&&e.analytics?.trackSearch(Xe.Event.search,R(o.reportId),z.type,z.name,e.autoCompleteData?.autoCompleteText),e.autoCompleteActions?.onAutoCompleteEntity?.(z)},{autoCompleteData:U,autoCompleteActions:J,scrollPosition:ne,...O}=e,N=s.jsx(Qe,{downloadReportOptions:{type:"simple_menu",downloadMenu:{simpleMenuItems:[{type:"excel",isDisabled:L,isDownloading:k==="In-Progress"}],onDownloadClick:async z=>{if(z==="excel")if(k==="In-Progress"){console.log("Download is already in progress!");return}else i(!0)}}}});return s.jsxs(yo,{children:[s.jsx(Je,{title:p.reportTitle,backgroundColor:a.colors.grey5,onBackClick:h,rightSideComponent:N,downloadPresent:!0,searchAutoComplete:{autoCompleteData:e.autoCompleteData,autoCompleteActions:{...e.autoCompleteActions,onAutoCompleteEntity:j}},source:"DashboardReportPage",style:{zIndex:2}}),H?s.jsx(jo,{children:s.jsx(Ke,{size:"Standard",start:!0})}):L?s.jsx(Dt,{style:{background:a.colors.grey5},emptyContentText:r.common.noReport.replace("_item-name_",`${r.reportTitleById.operating_expenses.toLowerCase()}`),EmptyContentImage:Nt}):s.jsxs(s.Fragment,{children:[s.jsxs(vo,{windowSize:t,children:[s.jsx(Bo,{...O}),s.jsx(Co,{highlightedRangeReport:o,uiState:c}),v?s.jsx(xo,{}):s.jsx(ko,{...O}),s.jsx($o,{children:s.jsx(bt,{insights:w})})]}),s.jsx(Oo,{scrollPosition:ne,isPageFetchInProgress:v,...O})]})]})},Co=ee.memo(Xt,Q),ko=ee.memo(ts,Q),Oo=ee.memo(mo,Q),Bo=ee.memo(Xs,Q);export{na as default};