@zeniai/web-components 3.16.64 → 3.16.65

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 (905) hide show
  1. package/dist/ACHDetailsPage-DQdEybS2.cjs +21 -0
  2. package/dist/ACHDetailsPage-Pe173FJQ.js +160 -0
  3. package/dist/AIPerformancePage-BUDmvdFi.cjs +530 -0
  4. package/dist/AIPerformancePage-DsjbgY72.js +1333 -0
  5. package/dist/AccountInfoPage-C4qQx1HE.cjs +18 -0
  6. package/dist/AccountInfoPage-ClpONkPn.js +78 -0
  7. package/dist/AccountInfoPageContent-DLlmJFFR.js +428 -0
  8. package/dist/AccountInfoPageContent-DuZFCZ7m.cjs +149 -0
  9. package/dist/AccountLockedInfoModal-DgA_-DsS.js +125 -0
  10. package/dist/AccountLockedInfoModal-Dhdm0-2x.cjs +59 -0
  11. package/dist/AccountReconDetailsDrawerPage-CN33Xdb6.js +686 -0
  12. package/dist/AccountReconDetailsDrawerPage-CWjlIGFX.cjs +239 -0
  13. package/dist/AccountRow-DV2zk4rS.js +1012 -0
  14. package/dist/AccountRow-LIZX1gPh.cjs +298 -0
  15. package/dist/AccountsPromoCardStack-B4moZO4o.cjs +207 -0
  16. package/dist/AccountsPromoCardStack-BMLpd30F.js +664 -0
  17. package/dist/AddAddressForCardDrawer-CQZPFUAN.cjs +6 -0
  18. package/dist/AddAddressForCardDrawer-l_qq667L.js +82 -0
  19. package/dist/AddToWalletPage-BCxTEKXp.js +642 -0
  20. package/dist/AddToWalletPage-C_LE-8i3.cjs +344 -0
  21. package/dist/AgingReportsPage-BOx6l0P1.js +827 -0
  22. package/dist/AgingReportsPage-CXLI6b_R.cjs +79 -0
  23. package/dist/AllUserItems-CLHFaHtf.cjs +192 -0
  24. package/dist/AllUserItems-DCdTTFt3.js +979 -0
  25. package/dist/ApAgingDetailPage-BMO-ecnF.js +239 -0
  26. package/dist/ApAgingDetailPage-QSt8dz-J.cjs +46 -0
  27. package/dist/AppBasePage-D-BH_erq.cjs +71 -0
  28. package/dist/AppBasePage-DkLTieuG.js +120 -0
  29. package/dist/AppDrawerContent-D9cumZFf.js +375 -0
  30. package/dist/AppDrawerContent-GyE9WuLP.cjs +91 -0
  31. package/dist/ApprovalRulesSettingsPage-5PiShbge.js +145 -0
  32. package/dist/ApprovalRulesSettingsPage-BGSWcukh.cjs +47 -0
  33. package/dist/ArAgingChart-Ct65a7CR.js +529 -0
  34. package/dist/ArAgingChart-DWYfGorR.cjs +24 -0
  35. package/dist/ArAgingDetailPage-Blzy0UhP.js +243 -0
  36. package/dist/ArAgingDetailPage-CSGB0c3z.cjs +46 -0
  37. package/dist/AttachmentView-BAK19jni.cjs +101 -0
  38. package/dist/AttachmentView-CAz2NHiK.js +260 -0
  39. package/dist/BankAccountSection-C6oTTQ71.cjs +79 -0
  40. package/dist/BankAccountSection-vsuJSHma.js +398 -0
  41. package/dist/BankAccountWarningSection-BdyQTg61.js +110 -0
  42. package/dist/BankAccountWarningSection-Dqh_6nEr.cjs +51 -0
  43. package/dist/BankConnectionsSettingsPage-BF0namgQ.js +1693 -0
  44. package/dist/BankConnectionsSettingsPage-C8zNfVvx.cjs +425 -0
  45. package/dist/BillDetailPage-CMJDHwAC.js +1798 -0
  46. package/dist/BillDetailPage-DLJ8sSOE.cjs +266 -0
  47. package/dist/BillPayApprovalRuleDetailPage-BukWnMox.cjs +27 -0
  48. package/dist/BillPayApprovalRuleDetailPage-CJfPtnre.js +247 -0
  49. package/dist/BillPayApprovalRulesPage-B4FXIKZG.cjs +235 -0
  50. package/dist/BillPayApprovalRulesPage-xohyjWok.js +415 -0
  51. package/dist/BillPayPromoPage-BCB-G_1F.cjs +84 -0
  52. package/dist/BillPayPromoPage-kZy2Q_2m.js +292 -0
  53. package/dist/BillPaySetUpPage-CHrs4Tb3.js +409 -0
  54. package/dist/BillPaySetUpPage-C_qcrCjN.cjs +42 -0
  55. package/dist/BillingSettingsPage-BITbCcgy.js +336 -0
  56. package/dist/BillingSettingsPage-PU0gflOo.cjs +44 -0
  57. package/dist/BillsBulkReviewDrawerPage-CJp_DBpN.js +216 -0
  58. package/dist/BillsBulkReviewDrawerPage-DUXS0ivV.cjs +1 -0
  59. package/dist/BoxItem-8BrE8BcM.js +118 -0
  60. package/dist/BoxItem-WM8HiYl1.cjs +53 -0
  61. package/dist/BusinessVerificationPage-AIWFhaoA.js +716 -0
  62. package/dist/BusinessVerificationPage-CkK4BAOV.cjs +138 -0
  63. package/dist/BusyIndication-BZ0rkg0M.cjs +9 -0
  64. package/dist/BusyIndication-CEVF_pD1.js +19 -0
  65. package/dist/CardNumberSubText-CHVELxoa.js +59 -0
  66. package/dist/CardNumberSubText-Df1gQ2MY.cjs +21 -0
  67. package/dist/CashbackDetailPage-BSRhZnmD.js +824 -0
  68. package/dist/CashbackDetailPage-Chtukzv3.cjs +285 -0
  69. package/dist/ChargeCardDetailPage-BcscrB5e.js +5453 -0
  70. package/dist/ChargeCardDetailPage-Dim9pKEM.cjs +1462 -0
  71. package/dist/ChargeCardListPage-DE2YL7Fi.js +1775 -0
  72. package/dist/ChargeCardListPage-xVIpIVsL.cjs +406 -0
  73. package/dist/ChargeCardListTable-C75O7e3j.cjs +711 -0
  74. package/dist/ChargeCardListTable-D6UZyEqT.js +2871 -0
  75. package/dist/ChargeCardPromoPage-BcRx35k2.js +805 -0
  76. package/dist/ChargeCardPromoPage-hsmE4Y7n.cjs +222 -0
  77. package/dist/ChargeCardSetupPage-C-GyvrYL.js +359 -0
  78. package/dist/ChargeCardSetupPage-Dl3IpHL1.cjs +36 -0
  79. package/dist/ChargeCardStatementsPage-CoWqVtRK.js +243 -0
  80. package/dist/ChargeCardStatementsPage-Dnh4lIrE.cjs +60 -0
  81. package/dist/CheckDepositDrawerPage-CX2oQ2TE.cjs +206 -0
  82. package/dist/CheckDepositDrawerPage-WAYeJP9u.js +726 -0
  83. package/dist/CollapsableReportTable-DtM4wxMT.cjs +2932 -0
  84. package/dist/CollapsableReportTable-HQBktxhF.js +11758 -0
  85. package/dist/CompanyOfficerDetailsSection-B5JwIdEi.js +1633 -0
  86. package/dist/CompanyOfficerDetailsSection-D2BFWSLX.cjs +260 -0
  87. package/dist/CompanyPassportCard-BZ6SvsIf.cjs +42 -0
  88. package/dist/CompanyPassportCard-DMhVen0F.js +146 -0
  89. package/dist/CompanyPassportPage-dJMdB690.js +2160 -0
  90. package/dist/CompanyPassportPage-eGmC5Ro_.cjs +574 -0
  91. package/dist/CompleteProfile-CG5fkuOa.js +301 -0
  92. package/dist/CompleteProfile-Df7K1lsS.cjs +52 -0
  93. package/dist/ConfettiBurst-Dk50WlGe.cjs +1 -0
  94. package/dist/ConfettiBurst-tI9Y6Anz.js +37 -0
  95. package/dist/CreateOrEditVendorPage-DFvwq6nk.js +755 -0
  96. package/dist/CreateOrEditVendorPage-JnFHGL6y.cjs +281 -0
  97. package/dist/CreditCardPaymentDrawerPage-CTfI6vfV.cjs +224 -0
  98. package/dist/CreditCardPaymentDrawerPage-CbH1_6C9.js +1169 -0
  99. package/dist/CurrencySelectField-CAotRTtZ.cjs +139 -0
  100. package/dist/CurrencySelectField-DlN1Llaz.js +348 -0
  101. package/dist/CustomerOnboardingActivationPage-B3o2uzt5.js +143 -0
  102. package/dist/CustomerOnboardingActivationPage-HORE3dMz.cjs +88 -0
  103. package/dist/CustomerOnboardingContainerPage-Di-l_vCy.cjs +1 -0
  104. package/dist/CustomerOnboardingContainerPage-S2zS1ljh.js +7 -0
  105. package/dist/CustomerOnboardingDetailPageSkeleton-kjsNZrw0.js +434 -0
  106. package/dist/CustomerOnboardingDetailPageSkeleton-pCOmRjQY.cjs +162 -0
  107. package/dist/CustomerOnboardingNoStepsPage-BV08JL6I.cjs +66 -0
  108. package/dist/CustomerOnboardingNoStepsPage-niwjxnKZ.js +424 -0
  109. package/dist/CustomerOnboardingPage-CLh65UYh.cjs +107 -0
  110. package/dist/CustomerOnboardingPage-CqrAxzUh.js +1059 -0
  111. package/dist/CustomerOnboardingProductSuitePage-N529a-jJ.cjs +202 -0
  112. package/dist/CustomerOnboardingProductSuitePage-yYWww9Ia.js +348 -0
  113. package/dist/Dashboard-C-q__5nP.js +5539 -0
  114. package/dist/Dashboard-CCtCh6di.cjs +1551 -0
  115. package/dist/DashboardReportPage-COoL5P1j.cjs +371 -0
  116. package/dist/DashboardReportPage-wUF9Qgzy.js +2536 -0
  117. package/dist/DashboardSidebarBackgroundAnimation-CNz339YO.cjs +12 -0
  118. package/dist/DashboardSidebarBackgroundAnimation-D8hzUcWI.js +50 -0
  119. package/dist/DepositAccTransactionItem-Bhg2_gqj.js +112 -0
  120. package/dist/DepositAccTransactionItem-D6JApFJ5.cjs +76 -0
  121. package/dist/DepositAccTransactionListPage-_PBFaUe-.cjs +66 -0
  122. package/dist/DepositAccTransactionListPage-pGvEqWhb.js +152 -0
  123. package/dist/DomesticWireDetailsPage-BTGOwv3l.cjs +21 -0
  124. package/dist/DomesticWireDetailsPage-eXBUeZbv.js +189 -0
  125. package/dist/DownloadOverlay-BKps0JjL.js +2148 -0
  126. package/dist/DownloadOverlay-CV2tFCdm.cjs +439 -0
  127. package/dist/DrawerPage-D1S6DBwq.js +208 -0
  128. package/dist/DrawerPage-JGiCO5bd.cjs +118 -0
  129. package/dist/EditPeoplePage-C7IQ9EA-.js +392 -0
  130. package/dist/EditPeoplePage-DUFdkEW5.cjs +55 -0
  131. package/dist/EditReimbursementDetailPage-CP7CfF1V.cjs +865 -0
  132. package/dist/EditReimbursementDetailPage-D50AcTIa.js +4553 -0
  133. package/dist/EmptySearchResults-BxhwNzyb.cjs +46 -0
  134. package/dist/EmptySearchResults-CuUx3BdN.js +70 -0
  135. package/dist/EntityDetailPage-BrzPBOmE.cjs +18 -0
  136. package/dist/EntityDetailPage-xPP98qEk.js +82 -0
  137. package/dist/EntitySummarySection-CDZ20WQ1.js +530 -0
  138. package/dist/EntitySummarySection-CoKnxFJZ.cjs +149 -0
  139. package/dist/ExpenseAutomationOverviewPage-BPao-oWI.cjs +281 -0
  140. package/dist/ExpenseAutomationOverviewPage-_C-v50wo.js +806 -0
  141. package/dist/ExpenseAutomationPage-BrdGSX_Y.cjs +1650 -0
  142. package/dist/ExpenseAutomationPage-DpFlDqgD.js +11538 -0
  143. package/dist/ExpressPayPage-BS2XioH3.cjs +168 -0
  144. package/dist/ExpressPayPage-L_pR_o3A.js +1136 -0
  145. package/dist/FeaturePreviewPage-FQRxGEOu.js +114 -0
  146. package/dist/FeaturePreviewPage-vq2n9ZES.cjs +11 -0
  147. package/dist/FollowStepsSection-B5X_rfKW.cjs +390 -0
  148. package/dist/FollowStepsSection-BIWhnNhJ.js +1313 -0
  149. package/dist/GlobalReviewListPage-D_EUFTbb.cjs +291 -0
  150. package/dist/GlobalReviewListPage-dqfEpcNQ.js +1674 -0
  151. package/dist/InformationCardStack-BiB159OW.js +219 -0
  152. package/dist/InformationCardStack-IWDbeLzT.cjs +31 -0
  153. package/dist/InsightsCardStack-DDnZWjoN.js +305 -0
  154. package/dist/InsightsCardStack-Dq9QQOF-.cjs +79 -0
  155. package/dist/InsightsSection-B7XOHirn.cjs +27 -0
  156. package/dist/InsightsSection-CRDa-Vvy.js +97 -0
  157. package/dist/IntegrationsSettingsPage-C0_CVm_8.cjs +57 -0
  158. package/dist/IntegrationsSettingsPage-DiCL7V-K.js +136 -0
  159. package/dist/InternationalWireSwiftDetailsPage-CLbsY6eK.js +753 -0
  160. package/dist/InternationalWireSwiftDetailsPage-_UMvLduW.cjs +171 -0
  161. package/dist/InternationalWireVerificationPage-Bvcq87oe.js +877 -0
  162. package/dist/InternationalWireVerificationPage-CCHzIpm6.cjs +292 -0
  163. package/dist/InviteFormPage-BJqwYhkW.js +873 -0
  164. package/dist/InviteFormPage-DbhhJwFy.cjs +312 -0
  165. package/dist/InvitePageListView-CUhtGshD.js +1764 -0
  166. package/dist/InvitePageListView-Gtw7EDIb.cjs +739 -0
  167. package/dist/InvitePeoplePage-0vmUyJfM.cjs +12 -0
  168. package/dist/InvitePeoplePage-DKK7yYuU.js +286 -0
  169. package/dist/InvoiceUploadSection-BGxCMu0V.cjs +140 -0
  170. package/dist/InvoiceUploadSection-Cg9aNn21.js +465 -0
  171. package/dist/IssueChargeCardPage-C_fMrHsv.js +2875 -0
  172. package/dist/IssueChargeCardPage-D4Qvemy7.cjs +532 -0
  173. package/dist/LabeledAddressValue-CFvF84NI.js +115 -0
  174. package/dist/LabeledAddressValue-FBaEMaNU.cjs +49 -0
  175. package/dist/LabeledAddressValueField-BbJzlUcn.js +130 -0
  176. package/dist/LabeledAddressValueField-Cz3kAEVr.cjs +45 -0
  177. package/dist/LabeledControlledCheckBoxField-JehzMwG5.js +73 -0
  178. package/dist/LabeledControlledCheckBoxField-zs5WRoRd.cjs +16 -0
  179. package/dist/LabeledCreatableSingleSelectField--9z66pfz.cjs +204 -0
  180. package/dist/LabeledCreatableSingleSelectField-BoAh3Fu6.js +515 -0
  181. package/dist/LabeledDocumentField-0hFJ-6WX.cjs +41 -0
  182. package/dist/LabeledDocumentField-C9xyWzdA.js +147 -0
  183. package/dist/LabeledDropDownFormattedTextField-B4LJZ2l5.js +163 -0
  184. package/dist/LabeledDropDownFormattedTextField-D47GLg_L.cjs +59 -0
  185. package/dist/LabeledEmailInputField-0nS3zKCC.js +425 -0
  186. package/dist/LabeledEmailInputField-BtDsmqmg.cjs +182 -0
  187. package/dist/LabeledItemWithButton-7lV6y31i.js +74 -0
  188. package/dist/LabeledItemWithButton-D1Jr8u1M.cjs +21 -0
  189. package/dist/LabeledNameField-Cudj2qh1.js +293 -0
  190. package/dist/LabeledNameField-oXUS2p9-.cjs +141 -0
  191. package/dist/LabeledSingleSelectField-Cgdg8mbe.js +372 -0
  192. package/dist/LabeledSingleSelectField-DSGXDITb.cjs +136 -0
  193. package/dist/LabeledSingleSelectWithoutClearableField-CsSPm9mm.js +103 -0
  194. package/dist/LabeledSingleSelectWithoutClearableField-D0_Io0pz.cjs +38 -0
  195. package/dist/LabeledText-BAzq1FIG.js +103 -0
  196. package/dist/LabeledText-Blz2s7FK.cjs +42 -0
  197. package/dist/LabeledUserSingleSelectWithSubtitlesField-DXuGLqnk.js +572 -0
  198. package/dist/LabeledUserSingleSelectWithSubtitlesField-dAvmTbSC.cjs +229 -0
  199. package/dist/LabeledZeniRolesDropDownField-Bbll7MfH.js +975 -0
  200. package/dist/LabeledZeniRolesDropDownField-DVyrTStP.cjs +297 -0
  201. package/dist/LinkJETransactionPage-CZDoJuIQ.cjs +98 -0
  202. package/dist/LinkJETransactionPage-CogRw44N.js +406 -0
  203. package/dist/LockCardPage-DOyTJM9U.cjs +623 -0
  204. package/dist/LockCardPage-pMA6YE8u.js +2032 -0
  205. package/dist/LowBalancePopup-Bmm277-L.cjs +34 -0
  206. package/dist/LowBalancePopup-DMCo2ByH.js +219 -0
  207. package/dist/MagicLinkACHDetailsPage-CUdYYVCL.cjs +1 -0
  208. package/dist/MagicLinkACHDetailsPage-Cp2JWSae.js +39 -0
  209. package/dist/MagicLinkDomesticWireDetailsPage-BXeOJCpz.cjs +1 -0
  210. package/dist/MagicLinkDomesticWireDetailsPage-CA5wEZUj.js +44 -0
  211. package/dist/MagicLinkInternationalWireDetailsPage-CI3phoaJ.cjs +1 -0
  212. package/dist/MagicLinkInternationalWireDetailsPage-DWa2-ATL.js +43 -0
  213. package/dist/MagicLinkSuccessPage-DqLSLC0g.js +59 -0
  214. package/dist/MagicLinkSuccessPage-X2LOy-Tu.cjs +31 -0
  215. package/dist/MagicLinkTitleSection-C_-ceKhn.cjs +17 -0
  216. package/dist/MagicLinkTitleSection-DYft_Wnq.js +40 -0
  217. package/dist/MailingDetailsSection-CvsFEE1p.cjs +21 -0
  218. package/dist/MailingDetailsSection-DX7QslUc.js +74 -0
  219. package/dist/MatchingOperatorDropdown-CfnDK-_T.js +572 -0
  220. package/dist/MatchingOperatorDropdown-IBAcHsYQ.cjs +130 -0
  221. package/dist/Menu-7hRBXa5h.js +110 -0
  222. package/dist/Menu-BS_M0Fut.cjs +17 -0
  223. package/dist/MoreMenuButton-BIboxBrv.js +569 -0
  224. package/dist/MoreMenuButton-CDNopH8i.cjs +167 -0
  225. package/dist/MyBankConnectionsSettingsPage-BEw4wNrz.cjs +110 -0
  226. package/dist/MyBankConnectionsSettingsPage-BNwCxPaN.js +296 -0
  227. package/dist/MyPendingActivationChargeCardListPage-BYmE2eBc.js +168 -0
  228. package/dist/MyPendingActivationChargeCardListPage-DhLeaQhi.cjs +6 -0
  229. package/dist/MyProfileSettingsPage-BGiZtn-p.js +641 -0
  230. package/dist/MyProfileSettingsPage-DvicMFIZ.cjs +85 -0
  231. package/dist/NavBarWithPicker-B-GbQGpY.cjs +30 -0
  232. package/dist/NavBarWithPicker-D6xK9dkT.js +106 -0
  233. package/dist/NavigationArrow-B00fkzMc.js +88 -0
  234. package/dist/NavigationArrow-DRLGgnsu.cjs +47 -0
  235. package/dist/NavigationDots-Bfie7GWj.js +44 -0
  236. package/dist/NavigationDots-Pj-jOqzC.cjs +15 -0
  237. package/dist/NewGlobalMerchantPage-B7Zuc0gZ.js +543 -0
  238. package/dist/NewGlobalMerchantPage-DF3y3t0T.cjs +160 -0
  239. package/dist/NoDataChart-C4NZbCSl.js +58 -0
  240. package/dist/NoDataChart-CeBA0EI7.cjs +26 -0
  241. package/dist/NoDataTable-C_Y6vE00.js +27 -0
  242. package/dist/NoDataTable-Ckm3Dl8R.cjs +8 -0
  243. package/dist/NotFoundPage-Bm2BHgk5.js +71 -0
  244. package/dist/NotFoundPage-eYOdCCIg.cjs +46 -0
  245. package/dist/NotificationSettingsPage-B6l9LR2I.js +541 -0
  246. package/dist/NotificationSettingsPage-Dvdet6oj.cjs +163 -0
  247. package/dist/NotificationsListConfig-ByT3Zk5E.cjs +1 -0
  248. package/dist/NotificationsListConfig-ChT42SKI.js +10 -0
  249. package/dist/NotificationsPage-W2_swYjS.cjs +685 -0
  250. package/dist/NotificationsPage-u7kISXt8.js +2664 -0
  251. package/dist/OpExByVendorPage-Dnvx95An.js +1057 -0
  252. package/dist/OpExByVendorPage-hft9DrCl.cjs +100 -0
  253. package/dist/PandLWithForecastPage-DeC6zk_e.cjs +107 -0
  254. package/dist/PandLWithForecastPage-km3TPkLz.js +563 -0
  255. package/dist/PaymentAccountSetupBillingAddressSection-C931C_p4.cjs +106 -0
  256. package/dist/PaymentAccountSetupBillingAddressSection-C9EJRORv.js +623 -0
  257. package/dist/PeoplePage-BMUxVz_n.cjs +675 -0
  258. package/dist/PeoplePage-ByUCYPXp.js +1994 -0
  259. package/dist/ProductsCarousel-BodNlnQ4.js +309 -0
  260. package/dist/ProductsCarousel-BzT885XV.cjs +142 -0
  261. package/dist/PromoBaseCards-DuUvzYhv.cjs +218 -0
  262. package/dist/PromoBaseCards-FpJnjS2k.js +356 -0
  263. package/dist/QBOConnectionDialog-CgHkIuSL.cjs +51 -0
  264. package/dist/QBOConnectionDialog-DCfCZVDB.js +115 -0
  265. package/dist/QBOSetupSection-C9UsfstU.js +167 -0
  266. package/dist/QBOSetupSection-CCIueoBF.cjs +79 -0
  267. package/dist/ReimbursementApprovalRuleDetailPage-BiZ-TbTU.cjs +26 -0
  268. package/dist/ReimbursementApprovalRuleDetailPage-BqujEJ7G.js +247 -0
  269. package/dist/ReimbursementApprovalRulesPage-CpMy6hPK.js +410 -0
  270. package/dist/ReimbursementApprovalRulesPage-Ds1YDR3H.cjs +237 -0
  271. package/dist/ReimbursementDetailPage-CN1woMJe.js +1514 -0
  272. package/dist/ReimbursementDetailPage-ClRGwEkz.cjs +314 -0
  273. package/dist/ReimbursementPromoPage-BUaEJs8g.js +363 -0
  274. package/dist/ReimbursementPromoPage-C1srHuTG.cjs +84 -0
  275. package/dist/ReimbursementSetUpPage-C3Iahccx.cjs +140 -0
  276. package/dist/ReimbursementSetUpPage-DppC6Beq.js +663 -0
  277. package/dist/ReimbursementsBulkReviewDrawerPage-DVnuZGG6.cjs +1 -0
  278. package/dist/ReimbursementsBulkReviewDrawerPage-DsqcuPCj.js +204 -0
  279. package/dist/ReloadCard-CaLyKOaG.js +137 -0
  280. package/dist/ReloadCard-DnyyySsV.cjs +26 -0
  281. package/dist/ReloadContainer-BBP_GiNn.cjs +596 -0
  282. package/dist/ReloadContainer-DS2ygabF.js +2144 -0
  283. package/dist/ReportTableViewSelector-D5eN8xcm.cjs +150 -0
  284. package/dist/ReportTableViewSelector-D6M6zk-4.js +679 -0
  285. package/dist/ReportsPage-CnA2MURd.cjs +121 -0
  286. package/dist/ReportsPage-DvnzPnWt.js +1315 -0
  287. package/dist/RevenueChart-DrlV_Tx2.cjs +280 -0
  288. package/dist/RevenueChart-ldorTjsG.js +2239 -0
  289. package/dist/ReviewDetailsPage-BQgBOh75.cjs +290 -0
  290. package/dist/ReviewDetailsPage-Bqho1f2q.js +1073 -0
  291. package/dist/ReviewOverlay-B1rFsspC.cjs +152 -0
  292. package/dist/ReviewOverlay-DgCoCcaM.js +299 -0
  293. package/dist/RoleWithToolTip-CTZQDbN5.cjs +22 -0
  294. package/dist/RoleWithToolTip-OfjNfgSm.js +72 -0
  295. package/dist/ScheduleDetailsFixedAssetsPage-U_HIZhR4.js +806 -0
  296. package/dist/ScheduleDetailsFixedAssetsPage-jYG3lI88.cjs +37 -0
  297. package/dist/ScheduleDetailsPage-CDKdtQv1.cjs +37 -0
  298. package/dist/ScheduleDetailsPage-rJzR-2s2.js +726 -0
  299. package/dist/ScheduleSequenceTable-Bdje1RbS.js +1261 -0
  300. package/dist/ScheduleSequenceTable-hWtiEfLP.cjs +324 -0
  301. package/dist/SetUpAccountSection-DBjP70gL.js +1468 -0
  302. package/dist/SetUpAccountSection-DuAz44Lx.cjs +378 -0
  303. package/dist/SignIn-DTowAVDX.cjs +448 -0
  304. package/dist/SignIn-OqJIuD66.js +1075 -0
  305. package/dist/SpendManagementListViewPage-Ce-njnzb.js +627 -0
  306. package/dist/SpendManagementListViewPage-DzJEwsyp.cjs +122 -0
  307. package/dist/SpendManagementPerTabPage-C7_H5gwU.js +2735 -0
  308. package/dist/SpendManagementPerTabPage-CdETlFVt.cjs +754 -0
  309. package/dist/SpendManagementSection-BmsG_hvv.cjs +230 -0
  310. package/dist/SpendManagementSection-Cy6Tt4uJ.js +1043 -0
  311. package/dist/StatementItem-Bz-lbiYG.js +81 -0
  312. package/dist/StatementItem-Ckkk3ohC.cjs +31 -0
  313. package/dist/StatementsPage-DBiLgkou.cjs +58 -0
  314. package/dist/StatementsPage-DbTkwu4l.js +130 -0
  315. package/dist/StatusSwitcher-DiyMf2DI.js +319 -0
  316. package/dist/StatusSwitcher-Dsno4Bce.cjs +120 -0
  317. package/dist/SubTabSwitcher-DZFNHm1g.cjs +58 -0
  318. package/dist/SubTabSwitcher-Dj7Mtpo9.js +113 -0
  319. package/dist/SuccessAnimation-gjfpmPxl.cjs +13 -0
  320. package/dist/SuccessAnimation-xeVERjuJ.js +52 -0
  321. package/dist/SummaryCard-Di3ZXEbs.js +25 -0
  322. package/dist/SummaryCard-UzjAdNWq.cjs +1 -0
  323. package/dist/TaskDetailPage-B0GGnyUh.cjs +775 -0
  324. package/dist/TaskDetailPage-CJPl6LA4.js +2533 -0
  325. package/dist/TaskListRow-CTlXDSv8.cjs +556 -0
  326. package/dist/TaskListRow-DQBEscjE.js +1950 -0
  327. package/dist/TaskManagementPage-B394PNI0.cjs +508 -0
  328. package/dist/TaskManagementPage-Js3iENNv.js +1935 -0
  329. package/dist/TimeRangeSwitcher-BymZtjfd.js +265 -0
  330. package/dist/TimeRangeSwitcher-DWDhDvwo.cjs +64 -0
  331. package/dist/TimeframeSwitcher-BrdSGIK6.js +103 -0
  332. package/dist/TimeframeSwitcher-CAF6XzDb.cjs +31 -0
  333. package/dist/TimeframeSwitcherWithToggle-BY-lzyGf.js +157 -0
  334. package/dist/TimeframeSwitcherWithToggle-gMsrvv0w.cjs +31 -0
  335. package/dist/TopExCard-DzPVgVaI.js +568 -0
  336. package/dist/TopExCard-PlS6hKGU.cjs +38 -0
  337. package/dist/TopExDetailPage--92PJLet.js +318 -0
  338. package/dist/TopExDetailPage-C9T-mhYx.cjs +132 -0
  339. package/dist/TransactionDetailPage-DTfwmiyo.js +5238 -0
  340. package/dist/TransactionDetailPage-s3k13ew3.cjs +912 -0
  341. package/dist/TransactionList-DinajA09.js +558 -0
  342. package/dist/TransactionList-Dv-09giG.cjs +147 -0
  343. package/dist/TransactionListBig-BQO8SWX5.cjs +284 -0
  344. package/dist/TransactionListBig-oS-WvIvc.js +658 -0
  345. package/dist/TransactionListPage-DfjwvNrT.js +144 -0
  346. package/dist/TransactionListPage-miriARSu.cjs +35 -0
  347. package/dist/TransactionVendorDetailPage-3gtva_AD.cjs +80 -0
  348. package/dist/TransactionVendorDetailPage-V6MwNI9f.js +425 -0
  349. package/dist/TransferDrawerPage-faXbX2uk.js +1435 -0
  350. package/dist/TransferDrawerPage-yFMCDfak.cjs +362 -0
  351. package/dist/TreasuryOverviewPage-CRt09yeC.js +1889 -0
  352. package/dist/TreasuryOverviewPage-Cxkr4wmO.cjs +708 -0
  353. package/dist/TreasuryPromoPage-DxdhikbF.cjs +505 -0
  354. package/dist/TreasuryPromoPage-VN6pmtok.js +1123 -0
  355. package/dist/TreasuryStatementsPage-75F134MC.js +131 -0
  356. package/dist/TreasuryStatementsPage-CI9KEzx9.cjs +58 -0
  357. package/dist/TreasuryTaxLetterPage-24X-Ti3b.js +131 -0
  358. package/dist/TreasuryTaxLetterPage-DFuPHoJO.cjs +58 -0
  359. package/dist/TrendChart-DlrsHvmV.js +333 -0
  360. package/dist/TrendChart-Pz50CGuH.cjs +16 -0
  361. package/dist/TrendWithTransactions-BkDxPL1L.cjs +116 -0
  362. package/dist/TrendWithTransactions-yJTe2exK.js +346 -0
  363. package/dist/UncategorizedAccountsMappingPage-16KIqSTc.cjs +244 -0
  364. package/dist/UncategorizedAccountsMappingPage-BP1TcFpB.js +1159 -0
  365. package/dist/UnitIntegrationPage-CR-y35Q1.js +405 -0
  366. package/dist/UnitIntegrationPage-Cv5Qx9xC.cjs +67 -0
  367. package/dist/UploadAdditionalDocumentOverlay-CnONzml1.cjs +38 -0
  368. package/dist/UploadAdditionalDocumentOverlay-sFVYKQFL.js +211 -0
  369. package/dist/Vendor2FAPopup-CMqg7Oar.cjs +1 -0
  370. package/dist/Vendor2FAPopup-CsIzMRE1.js +69 -0
  371. package/dist/VendorACHDetailsPage-CGcBTXQX.js +43 -0
  372. package/dist/VendorACHDetailsPage-CdLaDo9a.cjs +1 -0
  373. package/dist/VendorDetailPage-Cda-qwrn.cjs +257 -0
  374. package/dist/VendorDetailPage-ski6Yu8p.js +1236 -0
  375. package/dist/VendorDomesticWireDetailsPage-CPqg7npE.cjs +1 -0
  376. package/dist/VendorDomesticWireDetailsPage-DC6pIpQY.js +53 -0
  377. package/dist/VendorFiling1099EditablePage-DbfgcyfF.js +842 -0
  378. package/dist/VendorFiling1099EditablePage-DzDpNd0F.cjs +175 -0
  379. package/dist/VendorFirstReviewPage-B_I3-7Pa.js +2748 -0
  380. package/dist/VendorFirstReviewPage-DSjcvtOi.cjs +730 -0
  381. package/dist/VendorInternationalWireDetailsPage-DLlXCGUz.js +968 -0
  382. package/dist/VendorInternationalWireDetailsPage-sf_bpmtI.cjs +152 -0
  383. package/dist/VendorInternationalWireSwiftDetailsPage-CeFpz6dJ.cjs +1 -0
  384. package/dist/VendorInternationalWireSwiftDetailsPage-DQo1TJts.js +52 -0
  385. package/dist/VendorsAccountsSection-B5oA63Cd.cjs +68 -0
  386. package/dist/VendorsAccountsSection-DkcM1i0m.js +279 -0
  387. package/dist/VerifyDevice-CTYofYut.cjs +112 -0
  388. package/dist/VerifyDevice-Uc0DS5md.js +298 -0
  389. package/dist/VideoPlayer-CyobfPSo.js +169 -0
  390. package/dist/VideoPlayer-yCyTgwNJ.cjs +77 -0
  391. package/dist/VideoPopup-C3PCZhEw.cjs +31 -0
  392. package/dist/VideoPopup-ZSKBHwtQ.js +60 -0
  393. package/dist/WarningsDrawerPage-Bdl4M7z6.cjs +92 -0
  394. package/dist/WarningsDrawerPage-C5f50VlL.js +228 -0
  395. package/dist/ZeniAccountDetailPage-CeJnGE2P.cjs +300 -0
  396. package/dist/ZeniAccountDetailPage-ClSfhciE.js +907 -0
  397. package/dist/ZeniAccountListViewPage-CjVeXU6u.cjs +441 -0
  398. package/dist/ZeniAccountListViewPage-DGdfZEqw.js +1078 -0
  399. package/dist/ZeniAccountNavBarPieces-ByTBdwnS.cjs +14 -0
  400. package/dist/ZeniAccountNavBarPieces-C7na7Axp.js +89 -0
  401. package/dist/ZeniAccountPromoPage-BWpF0VIm.cjs +184 -0
  402. package/dist/ZeniAccountPromoPage-CJlHxHEp.js +522 -0
  403. package/dist/ZeniAccountSetupPage-BEx6PkWS.js +309 -0
  404. package/dist/ZeniAccountSetupPage-D7UMJcG2.cjs +36 -0
  405. package/dist/ZeniAvatar-7AvgXk5A.js +34 -0
  406. package/dist/ZeniAvatar-DDVZ7f9Z.cjs +13 -0
  407. package/dist/ZeniCopyright-BW-LBNI6.cjs +1 -0
  408. package/dist/ZeniCopyright-MXeaCFsm.js +9 -0
  409. package/dist/ZeniDatePicker-BQ9tCR8b.js +386 -0
  410. package/dist/ZeniDatePicker-DIuexU8f.cjs +187 -0
  411. package/dist/ZeniTransferAmountSlider-B1rdYEVH.cjs +63 -0
  412. package/dist/ZeniTransferAmountSlider-Ctf9Hk8T.js +215 -0
  413. package/dist/analyticsHelper-DFGWyb4J.js +65 -0
  414. package/dist/analyticsHelper-DP5IDMPb.cjs +1 -0
  415. package/dist/calculateSize-B1x2qmWq.cjs +1 -0
  416. package/dist/calculateSize-BagwUn0L.js +22 -0
  417. package/dist/chartTypes-BV_3jo1v.cjs +1 -0
  418. package/dist/chartTypes-Bq2Jywwa.js +47 -0
  419. package/dist/cockpit.cjs.js +2 -2
  420. package/dist/cockpit.esm.js +15 -15
  421. package/dist/common-B2ixAGIP.cjs +1 -0
  422. package/dist/common-BREeYmuR.js +22 -0
  423. package/dist/commonDimensions-CX4grLew.cjs +1 -0
  424. package/dist/commonDimensions-_OdaFS6G.js +13 -0
  425. package/dist/detailCommon-CDq0ZlXJ.cjs +38 -0
  426. package/dist/detailCommon-YdzMV8S4.js +124 -0
  427. package/dist/downloadPdf-C20f2E82.cjs +1 -0
  428. package/dist/downloadPdf-D66D50eN.js +32 -0
  429. package/dist/index-0S2-oApY.js +92015 -0
  430. package/dist/index-CWG6iUqU.cjs +21096 -0
  431. package/dist/index.cjs.js +1 -1
  432. package/dist/index.esm.js +1 -1
  433. package/dist/mapLoadingInProgressToTreeNode-CZSUMPo1.cjs +1 -0
  434. package/dist/mapLoadingInProgressToTreeNode-h62EKBG9.js +25 -0
  435. package/dist/mapSectionWithAcOnlyToTreeNode-ByD-3P2w.js +388 -0
  436. package/dist/mapSectionWithAcOnlyToTreeNode-CszQdfNH.cjs +1 -0
  437. package/dist/mapSpacerToTreeNode-B5hrOwFW.cjs +1 -0
  438. package/dist/mapSpacerToTreeNode-DATiPuhF.js +25 -0
  439. package/dist/mapTimeframeBalancesToTreeNode-9d3EcwZY.js +24 -0
  440. package/dist/mapTimeframeBalancesToTreeNode-BHeyLZFN.cjs +1 -0
  441. package/dist/mapTimeframeBalancesToTreeNode-DZThxGok.js +24 -0
  442. package/dist/mapTimeframeBalancesToTreeNode-wCSfwsNA.cjs +1 -0
  443. package/dist/mapTimeframeHeaderLoadingInProgressToTreeNode-DdnoNQ9f.cjs +1 -0
  444. package/dist/mapTimeframeHeaderLoadingInProgressToTreeNode-Dghp9o7w.js +32 -0
  445. package/dist/sectionColor-CSci4VjQ.cjs +1 -0
  446. package/dist/sectionColor-DheMI-_D.js +32 -0
  447. package/dist/toCOABalancesWithID-1bl1DO6b.cjs +1 -0
  448. package/dist/toCOABalancesWithID-CGv-vS4O.js +8 -0
  449. package/dist/toChartData-CaNXCSNg.cjs +1 -0
  450. package/dist/toChartData-sSJiIkA7.js +76 -0
  451. package/dist/uploadAttachment-BS9gPFki.js +952 -0
  452. package/dist/uploadAttachment-CM8W7PqG.cjs +286 -0
  453. package/dist/zeniDatePicker.helpers-CjJFazSn.cjs +1 -0
  454. package/dist/zeniDatePicker.helpers-Mz60UZKb.js +14 -0
  455. package/package.json +1 -1
  456. package/dist/ACHDetailsPage-BKeuGgb-.cjs +0 -21
  457. package/dist/ACHDetailsPage-EwbVD_Je.js +0 -160
  458. package/dist/AIPerformancePage-CfMuvIIq.cjs +0 -530
  459. package/dist/AIPerformancePage-Dq5MN7yn.js +0 -1333
  460. package/dist/AccountInfoPage-C3D0qbKl.js +0 -78
  461. package/dist/AccountInfoPage-w0xIP4AM.cjs +0 -18
  462. package/dist/AccountInfoPageContent-BsGV3Bef.cjs +0 -149
  463. package/dist/AccountInfoPageContent-bxJxv0b1.js +0 -428
  464. package/dist/AccountLockedInfoModal-1x9bOMKu.js +0 -125
  465. package/dist/AccountLockedInfoModal-M4ywXhKr.cjs +0 -59
  466. package/dist/AccountReconDetailsDrawerPage-DYXQqU1T.js +0 -686
  467. package/dist/AccountReconDetailsDrawerPage-gtYfndUk.cjs +0 -239
  468. package/dist/AccountRow-C_BCA3UC.cjs +0 -298
  469. package/dist/AccountRow-D0dRz9J8.js +0 -1012
  470. package/dist/AccountsPromoCardStack-D714hXWL.js +0 -664
  471. package/dist/AccountsPromoCardStack-fFekMfsU.cjs +0 -207
  472. package/dist/AddAddressForCardDrawer-CPGd75Wj.cjs +0 -6
  473. package/dist/AddAddressForCardDrawer-Cvz2PvHx.js +0 -82
  474. package/dist/AddToWalletPage-CyiBhkGj.js +0 -642
  475. package/dist/AddToWalletPage-Cyy4q0JW.cjs +0 -344
  476. package/dist/AgingReportsPage-BijGki5z.cjs +0 -79
  477. package/dist/AgingReportsPage-C-3jd2Qh.js +0 -827
  478. package/dist/AllUserItems-BZt3jJgx.cjs +0 -192
  479. package/dist/AllUserItems-CDrjFVkk.js +0 -979
  480. package/dist/ApAgingDetailPage-BqttMrEI.cjs +0 -46
  481. package/dist/ApAgingDetailPage-D8XFSiP4.js +0 -239
  482. package/dist/AppBasePage-CcAt0KXf.cjs +0 -71
  483. package/dist/AppBasePage-De4Tma4H.js +0 -120
  484. package/dist/AppDrawerContent-BNoJ6A_G.js +0 -375
  485. package/dist/AppDrawerContent-DfNR0p1N.cjs +0 -91
  486. package/dist/ApprovalRulesSettingsPage-CnxSRSfm.cjs +0 -47
  487. package/dist/ApprovalRulesSettingsPage-DsJgpYiq.js +0 -145
  488. package/dist/ArAgingChart-C0SHMkpz.cjs +0 -24
  489. package/dist/ArAgingChart-DHIVCtc1.js +0 -529
  490. package/dist/ArAgingDetailPage-Cr16zBmp.cjs +0 -46
  491. package/dist/ArAgingDetailPage-Dq2gdkfW.js +0 -243
  492. package/dist/AttachmentView-BgkhiOG4.js +0 -260
  493. package/dist/AttachmentView-Eg-goc9J.cjs +0 -101
  494. package/dist/BankAccountSection-BoLga2nO.cjs +0 -79
  495. package/dist/BankAccountSection-_YJHKIZf.js +0 -398
  496. package/dist/BankAccountWarningSection-BiR6RD6k.cjs +0 -51
  497. package/dist/BankAccountWarningSection-C6ufsg3M.js +0 -110
  498. package/dist/BankConnectionsSettingsPage-BEKZ_Qzy.js +0 -1693
  499. package/dist/BankConnectionsSettingsPage-CBizqdlc.cjs +0 -425
  500. package/dist/BillDetailPage-DwGpXl14.cjs +0 -266
  501. package/dist/BillDetailPage-FhK4I6Ry.js +0 -1798
  502. package/dist/BillPayApprovalRuleDetailPage-CvcAt9gt.cjs +0 -27
  503. package/dist/BillPayApprovalRuleDetailPage-DJY1lXvd.js +0 -247
  504. package/dist/BillPayApprovalRulesPage-DHAi59nN.cjs +0 -235
  505. package/dist/BillPayApprovalRulesPage-ji762RRN.js +0 -415
  506. package/dist/BillPayPromoPage-CA__fT4W.cjs +0 -84
  507. package/dist/BillPayPromoPage-CHa82T76.js +0 -292
  508. package/dist/BillPaySetUpPage-DiFTPdbU.cjs +0 -42
  509. package/dist/BillPaySetUpPage-DtWEfD0p.js +0 -409
  510. package/dist/BillingSettingsPage-Dek3-LD0.cjs +0 -44
  511. package/dist/BillingSettingsPage-XXjOfUHA.js +0 -336
  512. package/dist/BillsBulkReviewDrawerPage-C6suE4jZ.cjs +0 -1
  513. package/dist/BillsBulkReviewDrawerPage-DxQ--oyM.js +0 -216
  514. package/dist/BoxItem-C6RPFiFX.js +0 -118
  515. package/dist/BoxItem-Dsaz-5iZ.cjs +0 -53
  516. package/dist/BusinessVerificationPage-BMYce7_P.js +0 -716
  517. package/dist/BusinessVerificationPage-BwGYfwGC.cjs +0 -138
  518. package/dist/BusyIndication-BLk0YI7a.cjs +0 -9
  519. package/dist/BusyIndication-nLAxcjq1.js +0 -19
  520. package/dist/CardNumberSubText-CY4Vzad-.cjs +0 -21
  521. package/dist/CardNumberSubText-Cu0On3yp.js +0 -59
  522. package/dist/CashbackDetailPage-B8qSb178.cjs +0 -285
  523. package/dist/CashbackDetailPage-cOtZ_mto.js +0 -824
  524. package/dist/ChargeCardDetailPage-C0OISSi0.cjs +0 -1462
  525. package/dist/ChargeCardDetailPage-gGkoI2_z.js +0 -5453
  526. package/dist/ChargeCardListPage-CgCL2XNK.js +0 -1775
  527. package/dist/ChargeCardListPage-Dc-g-Bc4.cjs +0 -406
  528. package/dist/ChargeCardListTable-CqMYUU1e.cjs +0 -711
  529. package/dist/ChargeCardListTable-DbwtTSIb.js +0 -2871
  530. package/dist/ChargeCardPromoPage-DMNBswqT.cjs +0 -222
  531. package/dist/ChargeCardPromoPage-WLSJ7J-r.js +0 -805
  532. package/dist/ChargeCardSetupPage-BgphuNMH.js +0 -359
  533. package/dist/ChargeCardSetupPage-CwYoWuq5.cjs +0 -36
  534. package/dist/ChargeCardStatementsPage-BvbSeZHo.js +0 -243
  535. package/dist/ChargeCardStatementsPage-CzoYtfen.cjs +0 -60
  536. package/dist/CheckDepositDrawerPage-B92cBd1O.js +0 -726
  537. package/dist/CheckDepositDrawerPage-dzdGqv3G.cjs +0 -206
  538. package/dist/CollapsableReportTable-BgDNHYLJ.cjs +0 -2932
  539. package/dist/CollapsableReportTable-D6Ei_4Sl.js +0 -11758
  540. package/dist/CompanyOfficerDetailsSection-DcMLpPN-.cjs +0 -260
  541. package/dist/CompanyOfficerDetailsSection-DvZvuD5n.js +0 -1633
  542. package/dist/CompanyPassportCard-CkaR62p7.cjs +0 -42
  543. package/dist/CompanyPassportCard-amu-Ua6a.js +0 -146
  544. package/dist/CompanyPassportPage-DhozKp-6.js +0 -2160
  545. package/dist/CompanyPassportPage-uGRDZioA.cjs +0 -574
  546. package/dist/CompleteProfile-6f4RTB7q.js +0 -301
  547. package/dist/CompleteProfile-UTQ5QgNY.cjs +0 -52
  548. package/dist/ConfettiBurst-ChXu6LRm.js +0 -37
  549. package/dist/ConfettiBurst-wWsL6FF5.cjs +0 -1
  550. package/dist/CreateOrEditVendorPage-BJIhpja3.js +0 -755
  551. package/dist/CreateOrEditVendorPage-DsM5BKOu.cjs +0 -281
  552. package/dist/CreditCardPaymentDrawerPage-COKCs-wK.js +0 -1169
  553. package/dist/CreditCardPaymentDrawerPage-XZJF004d.cjs +0 -224
  554. package/dist/CurrencySelectField-D6O3zcTl.js +0 -348
  555. package/dist/CurrencySelectField-_yP-Wdz7.cjs +0 -139
  556. package/dist/CustomerOnboardingActivationPage-BCFUnZb9.js +0 -143
  557. package/dist/CustomerOnboardingActivationPage-CeIEN205.cjs +0 -88
  558. package/dist/CustomerOnboardingContainerPage-BfGGoZ0Y.js +0 -7
  559. package/dist/CustomerOnboardingContainerPage-CCtiuOoK.cjs +0 -1
  560. package/dist/CustomerOnboardingDetailPageSkeleton-BiNkfp82.cjs +0 -162
  561. package/dist/CustomerOnboardingDetailPageSkeleton-UvKk35AD.js +0 -434
  562. package/dist/CustomerOnboardingNoStepsPage-DmDaaJfj.cjs +0 -66
  563. package/dist/CustomerOnboardingNoStepsPage-rCKtCHtO.js +0 -424
  564. package/dist/CustomerOnboardingPage-emx-LT0C.cjs +0 -107
  565. package/dist/CustomerOnboardingPage-p1sRSRZl.js +0 -1059
  566. package/dist/CustomerOnboardingProductSuitePage-Bf733DMm.cjs +0 -202
  567. package/dist/CustomerOnboardingProductSuitePage-XpaXM9he.js +0 -348
  568. package/dist/Dashboard-BlCG0lCQ.js +0 -5539
  569. package/dist/Dashboard-Czhtw56V.cjs +0 -1551
  570. package/dist/DashboardReportPage-CMQ1EIax.cjs +0 -371
  571. package/dist/DashboardReportPage-rzKWlxZO.js +0 -2536
  572. package/dist/DashboardSidebarBackgroundAnimation-DDzicINy.cjs +0 -12
  573. package/dist/DashboardSidebarBackgroundAnimation-DZMKHAzQ.js +0 -50
  574. package/dist/DepositAccTransactionItem-BRzXeDK9.js +0 -112
  575. package/dist/DepositAccTransactionItem-DaQHwOYM.cjs +0 -76
  576. package/dist/DepositAccTransactionListPage-6M9ErUKM.js +0 -152
  577. package/dist/DepositAccTransactionListPage-CWN422zr.cjs +0 -66
  578. package/dist/DomesticWireDetailsPage-BUmCWXld.cjs +0 -21
  579. package/dist/DomesticWireDetailsPage-HaLqDrKN.js +0 -189
  580. package/dist/DownloadOverlay-BG4l4I-g.js +0 -2148
  581. package/dist/DownloadOverlay-lRibcVyL.cjs +0 -439
  582. package/dist/DrawerPage-D4o6wFy-.js +0 -208
  583. package/dist/DrawerPage-DH6LwklE.cjs +0 -118
  584. package/dist/EditPeoplePage-Bapb__70.cjs +0 -55
  585. package/dist/EditPeoplePage-DYLmUaFT.js +0 -392
  586. package/dist/EditReimbursementDetailPage-BjOJt4Za.cjs +0 -865
  587. package/dist/EditReimbursementDetailPage-DWDYjBVQ.js +0 -4553
  588. package/dist/EmptySearchResults-BcCqj39H.cjs +0 -46
  589. package/dist/EmptySearchResults-_Yq6u3jY.js +0 -70
  590. package/dist/EntityDetailPage-CDK9rkWl.js +0 -82
  591. package/dist/EntityDetailPage-Do4drYsE.cjs +0 -18
  592. package/dist/EntitySummarySection-BNLlYdwM.cjs +0 -149
  593. package/dist/EntitySummarySection-B_PfvYMr.js +0 -530
  594. package/dist/ExpenseAutomationOverviewPage-CWY61tiU.js +0 -806
  595. package/dist/ExpenseAutomationOverviewPage-CafYysfG.cjs +0 -281
  596. package/dist/ExpenseAutomationPage-DoQwL6r5.cjs +0 -1650
  597. package/dist/ExpenseAutomationPage-JEyVbBWj.js +0 -11538
  598. package/dist/ExpressPayPage-CDAgSRE7.cjs +0 -168
  599. package/dist/ExpressPayPage-DMOzOqVJ.js +0 -1136
  600. package/dist/FeaturePreviewPage-CgjzAYbY.cjs +0 -11
  601. package/dist/FeaturePreviewPage-lxRw6f3S.js +0 -114
  602. package/dist/FollowStepsSection-CP8rU18q.js +0 -1313
  603. package/dist/FollowStepsSection-DimbAvty.cjs +0 -390
  604. package/dist/GlobalReviewListPage-BrTba_ZH.cjs +0 -291
  605. package/dist/GlobalReviewListPage-CAzT-bMY.js +0 -1674
  606. package/dist/InformationCardStack-g_IVXhJq.cjs +0 -31
  607. package/dist/InformationCardStack-iD_3XBf2.js +0 -219
  608. package/dist/InsightsCardStack-BYGWjOaF.js +0 -305
  609. package/dist/InsightsCardStack-Cj9WhhBG.cjs +0 -79
  610. package/dist/InsightsSection-BEofLkKB.js +0 -97
  611. package/dist/InsightsSection-BF_X6OsJ.cjs +0 -27
  612. package/dist/IntegrationsSettingsPage-C5T17COP.cjs +0 -57
  613. package/dist/IntegrationsSettingsPage-DZE1IGWQ.js +0 -136
  614. package/dist/InternationalWireSwiftDetailsPage-B5RvrJtS.cjs +0 -171
  615. package/dist/InternationalWireSwiftDetailsPage-DmAqqr5d.js +0 -753
  616. package/dist/InternationalWireVerificationPage-D1bFyIgT.js +0 -877
  617. package/dist/InternationalWireVerificationPage-D7VPd2_4.cjs +0 -292
  618. package/dist/InviteFormPage-BAkcaXRn.js +0 -873
  619. package/dist/InviteFormPage-BPjwEWmt.cjs +0 -312
  620. package/dist/InvitePageListView-BM-tex6t.js +0 -1764
  621. package/dist/InvitePageListView-YVyP64NQ.cjs +0 -739
  622. package/dist/InvitePeoplePage-Lf-62cHJ.cjs +0 -12
  623. package/dist/InvitePeoplePage-Vah7ekZt.js +0 -286
  624. package/dist/InvoiceUploadSection-141lrhah.js +0 -465
  625. package/dist/InvoiceUploadSection-Cr-LRM62.cjs +0 -140
  626. package/dist/IssueChargeCardPage-BD1jhwxR.cjs +0 -532
  627. package/dist/IssueChargeCardPage-ClKBMwej.js +0 -2875
  628. package/dist/LabeledAddressValue-B3a4L9Tz.cjs +0 -49
  629. package/dist/LabeledAddressValue-C1B1XgV1.js +0 -115
  630. package/dist/LabeledAddressValueField-CVo8j_Wf.js +0 -130
  631. package/dist/LabeledAddressValueField-CtXxhxtb.cjs +0 -45
  632. package/dist/LabeledControlledCheckBoxField-CPxzfXYn.js +0 -73
  633. package/dist/LabeledControlledCheckBoxField-DIDwzGcv.cjs +0 -16
  634. package/dist/LabeledCreatableSingleSelectField-CUFubv6Z.js +0 -515
  635. package/dist/LabeledCreatableSingleSelectField-DppNO14y.cjs +0 -204
  636. package/dist/LabeledDocumentField-ByskYNmO.cjs +0 -41
  637. package/dist/LabeledDocumentField-GJSXkoSo.js +0 -147
  638. package/dist/LabeledDropDownFormattedTextField-CUuCP-q-.cjs +0 -59
  639. package/dist/LabeledDropDownFormattedTextField-q3xZByxi.js +0 -163
  640. package/dist/LabeledEmailInputField-B5SlVlTD.js +0 -425
  641. package/dist/LabeledEmailInputField-C1msgQrO.cjs +0 -182
  642. package/dist/LabeledItemWithButton-Cv3PbCJj.js +0 -74
  643. package/dist/LabeledItemWithButton-Dp99x0ox.cjs +0 -21
  644. package/dist/LabeledNameField-0DKdJa16.cjs +0 -141
  645. package/dist/LabeledNameField-CXYSkDB5.js +0 -293
  646. package/dist/LabeledSingleSelectField-BFKmjqsx.js +0 -372
  647. package/dist/LabeledSingleSelectField-CnmnELsD.cjs +0 -136
  648. package/dist/LabeledSingleSelectWithoutClearableField-CGNILHdq.js +0 -103
  649. package/dist/LabeledSingleSelectWithoutClearableField-Eyj0xM3F.cjs +0 -38
  650. package/dist/LabeledText-Cp6gFgUm.cjs +0 -42
  651. package/dist/LabeledText-DvuzkUtO.js +0 -103
  652. package/dist/LabeledUserSingleSelectWithSubtitlesField-CxhSISML.js +0 -572
  653. package/dist/LabeledUserSingleSelectWithSubtitlesField-LFC2CFV1.cjs +0 -229
  654. package/dist/LabeledZeniRolesDropDownField-CZWBejny.cjs +0 -297
  655. package/dist/LabeledZeniRolesDropDownField-DejDW31h.js +0 -975
  656. package/dist/LinkJETransactionPage-C7HahSSP.js +0 -406
  657. package/dist/LinkJETransactionPage-DNShhc0P.cjs +0 -98
  658. package/dist/LockCardPage-CXdV9jq8.js +0 -2032
  659. package/dist/LockCardPage-DXA43u8U.cjs +0 -623
  660. package/dist/LowBalancePopup-CmMdosi2.cjs +0 -34
  661. package/dist/LowBalancePopup-DRh1hiGa.js +0 -219
  662. package/dist/MagicLinkACHDetailsPage-DLskgvbv.cjs +0 -1
  663. package/dist/MagicLinkACHDetailsPage-Lk74dzx3.js +0 -39
  664. package/dist/MagicLinkDomesticWireDetailsPage-BVZydZgH.cjs +0 -1
  665. package/dist/MagicLinkDomesticWireDetailsPage-DyMinOv6.js +0 -44
  666. package/dist/MagicLinkInternationalWireDetailsPage-BgJFwhSd.js +0 -43
  667. package/dist/MagicLinkInternationalWireDetailsPage-DJLBQEhN.cjs +0 -1
  668. package/dist/MagicLinkSuccessPage-BJ80Wbvo.js +0 -59
  669. package/dist/MagicLinkSuccessPage-M-T2r2YV.cjs +0 -31
  670. package/dist/MagicLinkTitleSection-Cfta1ktW.cjs +0 -17
  671. package/dist/MagicLinkTitleSection-Xv_sL926.js +0 -40
  672. package/dist/MailingDetailsSection-BSq2qLeA.cjs +0 -21
  673. package/dist/MailingDetailsSection-DyClVAWR.js +0 -74
  674. package/dist/MatchingOperatorDropdown-2Qm1uK6x.js +0 -572
  675. package/dist/MatchingOperatorDropdown-DbpJMLi9.cjs +0 -130
  676. package/dist/Menu-C_83EVX4.js +0 -110
  677. package/dist/Menu-D66wkwpw.cjs +0 -17
  678. package/dist/MoreMenuButton-Bkbsr0sR.cjs +0 -167
  679. package/dist/MoreMenuButton-CYNE8dg8.js +0 -569
  680. package/dist/MyBankConnectionsSettingsPage-CUbIvYZ_.cjs +0 -110
  681. package/dist/MyBankConnectionsSettingsPage-CqN2wsJm.js +0 -296
  682. package/dist/MyPendingActivationChargeCardListPage-94tUfghc.js +0 -168
  683. package/dist/MyPendingActivationChargeCardListPage-BkQs6gqj.cjs +0 -6
  684. package/dist/MyProfileSettingsPage-BcQkpSix.cjs +0 -85
  685. package/dist/MyProfileSettingsPage-DmRro5G4.js +0 -641
  686. package/dist/NavBarWithPicker-C_7Zn-6z.js +0 -106
  687. package/dist/NavBarWithPicker-Do2bxEt0.cjs +0 -30
  688. package/dist/NavigationArrow-AqEJ8HtT.cjs +0 -47
  689. package/dist/NavigationArrow-C3WskeTi.js +0 -88
  690. package/dist/NavigationDots-D_mAWOOU.js +0 -44
  691. package/dist/NavigationDots-zgogUpS5.cjs +0 -15
  692. package/dist/NewGlobalMerchantPage-BoA9NcPw.js +0 -543
  693. package/dist/NewGlobalMerchantPage-CZiP-wIC.cjs +0 -160
  694. package/dist/NoDataChart-C4TdAmT0.js +0 -58
  695. package/dist/NoDataChart-DmyADPOY.cjs +0 -26
  696. package/dist/NoDataTable-CDGz3BkI.cjs +0 -8
  697. package/dist/NoDataTable-D_wTwGMm.js +0 -27
  698. package/dist/NotFoundPage-CjQ79oyt.cjs +0 -46
  699. package/dist/NotFoundPage-DKNDAn5i.js +0 -71
  700. package/dist/NotificationSettingsPage-C8MdPnw4.cjs +0 -163
  701. package/dist/NotificationSettingsPage-wmZR2oMc.js +0 -541
  702. package/dist/NotificationsListConfig-CJVz4S6k.js +0 -10
  703. package/dist/NotificationsListConfig-Ci0Ilrgh.cjs +0 -1
  704. package/dist/NotificationsPage-C89CwyAd.js +0 -2664
  705. package/dist/NotificationsPage-CAe8UfAd.cjs +0 -685
  706. package/dist/OpExByVendorPage-DcxcFgQJ.cjs +0 -100
  707. package/dist/OpExByVendorPage-V1j467Hy.js +0 -1057
  708. package/dist/PandLWithForecastPage-CHLPjOEQ.js +0 -563
  709. package/dist/PandLWithForecastPage-CgMmuCbs.cjs +0 -107
  710. package/dist/PaymentAccountSetupBillingAddressSection-BOLvA9fI.cjs +0 -106
  711. package/dist/PaymentAccountSetupBillingAddressSection-Dq22gYBc.js +0 -623
  712. package/dist/PeoplePage-Bd1ORS9F.js +0 -1994
  713. package/dist/PeoplePage-CyE4Xy5e.cjs +0 -675
  714. package/dist/ProductsCarousel-3q6iKeYl.js +0 -309
  715. package/dist/ProductsCarousel-Otj7PgAx.cjs +0 -142
  716. package/dist/PromoBaseCards-BzZnQnJr.cjs +0 -218
  717. package/dist/PromoBaseCards-DF3fUU4O.js +0 -356
  718. package/dist/QBOConnectionDialog-CHkBrfYz.cjs +0 -51
  719. package/dist/QBOConnectionDialog-ZODacXYG.js +0 -115
  720. package/dist/QBOSetupSection-CfuGiJgt.cjs +0 -79
  721. package/dist/QBOSetupSection-EBwkkBVZ.js +0 -167
  722. package/dist/ReimbursementApprovalRuleDetailPage-74_24lBo.js +0 -247
  723. package/dist/ReimbursementApprovalRuleDetailPage-BpAFrAyu.cjs +0 -26
  724. package/dist/ReimbursementApprovalRulesPage-B91S0pan.js +0 -410
  725. package/dist/ReimbursementApprovalRulesPage-mwDN9AWt.cjs +0 -237
  726. package/dist/ReimbursementDetailPage-BWS5w-tt.cjs +0 -314
  727. package/dist/ReimbursementDetailPage-ZfD88H_b.js +0 -1514
  728. package/dist/ReimbursementPromoPage-CXvD4y0B.cjs +0 -84
  729. package/dist/ReimbursementPromoPage-DKp1Q9N-.js +0 -363
  730. package/dist/ReimbursementSetUpPage-BPWMrO5M.cjs +0 -140
  731. package/dist/ReimbursementSetUpPage-BTkUbguW.js +0 -663
  732. package/dist/ReimbursementsBulkReviewDrawerPage-8TqWPi7X.js +0 -204
  733. package/dist/ReimbursementsBulkReviewDrawerPage-BBQb2C5e.cjs +0 -1
  734. package/dist/ReloadCard-BXZRiGnF.js +0 -137
  735. package/dist/ReloadCard-CCfS4w5b.cjs +0 -26
  736. package/dist/ReloadContainer-DP72kG7V.js +0 -2144
  737. package/dist/ReloadContainer-Dj3JnJ48.cjs +0 -596
  738. package/dist/ReportTableViewSelector-CJ0mXxsw.cjs +0 -150
  739. package/dist/ReportTableViewSelector-DKIIG1Hw.js +0 -679
  740. package/dist/ReportsPage-BSD_8eY1.js +0 -1315
  741. package/dist/ReportsPage-Bh9oALhm.cjs +0 -121
  742. package/dist/RevenueChart-B02o2bOl.cjs +0 -280
  743. package/dist/RevenueChart-B2582A0p.js +0 -2239
  744. package/dist/ReviewDetailsPage-Bu92169L.cjs +0 -290
  745. package/dist/ReviewDetailsPage-DbdJIYUs.js +0 -1073
  746. package/dist/ReviewOverlay-CAuGQbV8.cjs +0 -152
  747. package/dist/ReviewOverlay-Z5Cikkg_.js +0 -299
  748. package/dist/RoleWithToolTip-DxgsaJjN.cjs +0 -22
  749. package/dist/RoleWithToolTip-Ikhy005m.js +0 -72
  750. package/dist/ScheduleDetailsFixedAssetsPage-MBjoh4cB.js +0 -806
  751. package/dist/ScheduleDetailsFixedAssetsPage-kEdIrM5H.cjs +0 -37
  752. package/dist/ScheduleDetailsPage-BPU-cwBA.js +0 -726
  753. package/dist/ScheduleDetailsPage-Bu06hNJY.cjs +0 -37
  754. package/dist/ScheduleSequenceTable-BCLGE8M3.cjs +0 -324
  755. package/dist/ScheduleSequenceTable-qjqWOYcR.js +0 -1261
  756. package/dist/SetUpAccountSection-Bw6tuje1.js +0 -1468
  757. package/dist/SetUpAccountSection-CoDsqF0B.cjs +0 -378
  758. package/dist/SignIn-BtHqQu9O.js +0 -1075
  759. package/dist/SignIn-C2YonxVT.cjs +0 -448
  760. package/dist/SpendManagementListViewPage-26fulm6T.cjs +0 -122
  761. package/dist/SpendManagementListViewPage-5bDNcVEO.js +0 -627
  762. package/dist/SpendManagementPerTabPage-eqqf8wuJ.cjs +0 -754
  763. package/dist/SpendManagementPerTabPage-fJEjs5fH.js +0 -2735
  764. package/dist/SpendManagementSection-CqeZcx4O.cjs +0 -230
  765. package/dist/SpendManagementSection-Dl_4NAdr.js +0 -1043
  766. package/dist/StatementItem-BVoFg7Zz.js +0 -81
  767. package/dist/StatementItem-SI4AU5Xs.cjs +0 -31
  768. package/dist/StatementsPage-BSYNxjpt.cjs +0 -58
  769. package/dist/StatementsPage-vG-ynrq7.js +0 -130
  770. package/dist/StatusSwitcher-BLWokA_t.cjs +0 -120
  771. package/dist/StatusSwitcher-Bmhq5yB_.js +0 -319
  772. package/dist/SubTabSwitcher-Dy9NWX-V.cjs +0 -58
  773. package/dist/SubTabSwitcher-sxf0WhGe.js +0 -113
  774. package/dist/SuccessAnimation-CH5j3v64.cjs +0 -13
  775. package/dist/SuccessAnimation-kwleiRlf.js +0 -52
  776. package/dist/SummaryCard-Bno9Ov_m.js +0 -25
  777. package/dist/SummaryCard-CnZqlnrW.cjs +0 -1
  778. package/dist/TaskDetailPage-B2EeDz8A.js +0 -2533
  779. package/dist/TaskDetailPage-iLGqccSV.cjs +0 -775
  780. package/dist/TaskListRow-CEk58Gop.cjs +0 -556
  781. package/dist/TaskListRow-C_0FPcRS.js +0 -1950
  782. package/dist/TaskManagementPage-BqmcNMV5.cjs +0 -508
  783. package/dist/TaskManagementPage-Drss3j7F.js +0 -1935
  784. package/dist/TimeRangeSwitcher-Dtq2caov.cjs +0 -64
  785. package/dist/TimeRangeSwitcher-qVrtHXdg.js +0 -265
  786. package/dist/TimeframeSwitcher-BY65_ow6.js +0 -103
  787. package/dist/TimeframeSwitcher-DzVMCyDX.cjs +0 -31
  788. package/dist/TimeframeSwitcherWithToggle-BHI5aKhG.cjs +0 -31
  789. package/dist/TimeframeSwitcherWithToggle-xB9i9HBY.js +0 -157
  790. package/dist/TopExCard-C1I2TcQH.js +0 -568
  791. package/dist/TopExCard-CFCrXeGo.cjs +0 -38
  792. package/dist/TopExDetailPage-BdvorvIb.cjs +0 -132
  793. package/dist/TopExDetailPage-t4tThh9X.js +0 -318
  794. package/dist/TransactionDetailPage-C64i9IMs.js +0 -5238
  795. package/dist/TransactionDetailPage-Cg6cEiny.cjs +0 -912
  796. package/dist/TransactionList-B0qslFRz.js +0 -558
  797. package/dist/TransactionList-kO3ijL-_.cjs +0 -147
  798. package/dist/TransactionListBig-D73i5gAF.js +0 -658
  799. package/dist/TransactionListBig-DCfz0LTq.cjs +0 -284
  800. package/dist/TransactionListPage-CMT85sNG.cjs +0 -35
  801. package/dist/TransactionListPage-CnjWar2m.js +0 -144
  802. package/dist/TransactionVendorDetailPage-CrIKhnj6.cjs +0 -80
  803. package/dist/TransactionVendorDetailPage-Dp0QLSJl.js +0 -425
  804. package/dist/TransferDrawerPage-CHdqnhk9.cjs +0 -362
  805. package/dist/TransferDrawerPage-CmtzJLzy.js +0 -1435
  806. package/dist/TreasuryOverviewPage-BdwN7CuI.cjs +0 -708
  807. package/dist/TreasuryOverviewPage-C3_-vOfM.js +0 -1889
  808. package/dist/TreasuryPromoPage-Csqk5yWo.js +0 -1123
  809. package/dist/TreasuryPromoPage-zVxqBALA.cjs +0 -505
  810. package/dist/TreasuryStatementsPage-CxVCdGtn.cjs +0 -58
  811. package/dist/TreasuryStatementsPage-D2GjSb6t.js +0 -131
  812. package/dist/TreasuryTaxLetterPage-BytzlF3y.js +0 -131
  813. package/dist/TreasuryTaxLetterPage-D5KtVHCq.cjs +0 -58
  814. package/dist/TrendChart-B04el7le.cjs +0 -16
  815. package/dist/TrendChart-BVYIFUvU.js +0 -333
  816. package/dist/TrendWithTransactions-2_Y4QMhG.js +0 -346
  817. package/dist/TrendWithTransactions-VZwxLsVo.cjs +0 -116
  818. package/dist/UncategorizedAccountsMappingPage-BH4RZQLz.cjs +0 -244
  819. package/dist/UncategorizedAccountsMappingPage-CUqM2nRL.js +0 -1159
  820. package/dist/UnitIntegrationPage-1_STMGgT.cjs +0 -67
  821. package/dist/UnitIntegrationPage-CFD7ahf7.js +0 -405
  822. package/dist/UploadAdditionalDocumentOverlay-BzbggAyW.js +0 -211
  823. package/dist/UploadAdditionalDocumentOverlay-WupifVbD.cjs +0 -38
  824. package/dist/Vendor2FAPopup-2-jcNMhZ.js +0 -69
  825. package/dist/Vendor2FAPopup-C-6HPOsL.cjs +0 -1
  826. package/dist/VendorACHDetailsPage-DkvyWsDW.js +0 -43
  827. package/dist/VendorACHDetailsPage-qUAOTymP.cjs +0 -1
  828. package/dist/VendorDetailPage-BEWxCIlT.cjs +0 -257
  829. package/dist/VendorDetailPage-C5jOewZQ.js +0 -1236
  830. package/dist/VendorDomesticWireDetailsPage-BXNCjYL7.js +0 -53
  831. package/dist/VendorDomesticWireDetailsPage-DCub_nVF.cjs +0 -1
  832. package/dist/VendorFiling1099EditablePage-BKDCVR6S.js +0 -842
  833. package/dist/VendorFiling1099EditablePage-DlYf2MX7.cjs +0 -175
  834. package/dist/VendorFirstReviewPage-B7qg4QIX.js +0 -2748
  835. package/dist/VendorFirstReviewPage-D0P27liP.cjs +0 -730
  836. package/dist/VendorInternationalWireDetailsPage-CWfokO7Q.js +0 -968
  837. package/dist/VendorInternationalWireDetailsPage-Dtscc18Z.cjs +0 -152
  838. package/dist/VendorInternationalWireSwiftDetailsPage-CKYBEWUQ.cjs +0 -1
  839. package/dist/VendorInternationalWireSwiftDetailsPage-VAgC3z7_.js +0 -52
  840. package/dist/VendorsAccountsSection-ClJVTLAq.js +0 -279
  841. package/dist/VendorsAccountsSection-M2aB6QvG.cjs +0 -68
  842. package/dist/VerifyDevice-CarAiogX.cjs +0 -112
  843. package/dist/VerifyDevice-DxcX21cn.js +0 -298
  844. package/dist/VideoPlayer-BFxpSYJy.cjs +0 -77
  845. package/dist/VideoPlayer-BMdAJNgY.js +0 -169
  846. package/dist/VideoPopup-BOgBnvaL.cjs +0 -31
  847. package/dist/VideoPopup-IcvOjS6X.js +0 -60
  848. package/dist/WarningsDrawerPage-BvdCdJ5J.cjs +0 -92
  849. package/dist/WarningsDrawerPage-CDgHRCzE.js +0 -228
  850. package/dist/ZeniAccountDetailPage-B4tJi90n.cjs +0 -300
  851. package/dist/ZeniAccountDetailPage-Ci2v1o2n.js +0 -907
  852. package/dist/ZeniAccountListViewPage-DWK1Htuq.cjs +0 -441
  853. package/dist/ZeniAccountListViewPage-uzOOacYk.js +0 -1078
  854. package/dist/ZeniAccountNavBarPieces-CTkofkkc.cjs +0 -14
  855. package/dist/ZeniAccountNavBarPieces-Ck-SNnp5.js +0 -89
  856. package/dist/ZeniAccountPromoPage-BOFu81rO.js +0 -522
  857. package/dist/ZeniAccountPromoPage-xiUTpQdn.cjs +0 -184
  858. package/dist/ZeniAccountSetupPage-CVwYnfUj.js +0 -309
  859. package/dist/ZeniAccountSetupPage-CkwCAkR4.cjs +0 -36
  860. package/dist/ZeniAvatar-Cz82-a6h.js +0 -34
  861. package/dist/ZeniAvatar-k_KxEr0M.cjs +0 -13
  862. package/dist/ZeniCopyright-DvMl4Oli.cjs +0 -1
  863. package/dist/ZeniCopyright-YJkgcDaD.js +0 -9
  864. package/dist/ZeniDatePicker-C3U1UH9V.js +0 -386
  865. package/dist/ZeniDatePicker-D_ezWqVK.cjs +0 -187
  866. package/dist/ZeniTransferAmountSlider-BXqR6SQD.js +0 -215
  867. package/dist/ZeniTransferAmountSlider-DMC9NRu4.cjs +0 -63
  868. package/dist/analyticsHelper-De1IiDEk.js +0 -65
  869. package/dist/analyticsHelper-DyyLZzI5.cjs +0 -1
  870. package/dist/calculateSize-COABaQvA.js +0 -22
  871. package/dist/calculateSize-DxFHMwda.cjs +0 -1
  872. package/dist/chartTypes-Bb7OWLg4.js +0 -47
  873. package/dist/chartTypes-Co0duMVu.cjs +0 -1
  874. package/dist/common-BgBvs28w.js +0 -22
  875. package/dist/common-CEShOUJ5.cjs +0 -1
  876. package/dist/commonDimensions-BS6tTQ9n.cjs +0 -1
  877. package/dist/commonDimensions-Cwf-tY7t.js +0 -13
  878. package/dist/detailCommon-RJUBdlr2.cjs +0 -38
  879. package/dist/detailCommon-ct2FBcUi.js +0 -124
  880. package/dist/downloadPdf-C-iACHDh.js +0 -32
  881. package/dist/downloadPdf-CSyt7xo1.cjs +0 -1
  882. package/dist/index-BmvWQcNz.cjs +0 -21096
  883. package/dist/index-lPBSSV1q.js +0 -92003
  884. package/dist/mapLoadingInProgressToTreeNode-DqZGdQLC.js +0 -25
  885. package/dist/mapLoadingInProgressToTreeNode-nuqYGTeh.cjs +0 -1
  886. package/dist/mapSectionWithAcOnlyToTreeNode-4pCIWFSE.cjs +0 -1
  887. package/dist/mapSectionWithAcOnlyToTreeNode-CW5sROS-.js +0 -388
  888. package/dist/mapSpacerToTreeNode-BEhdnES0.cjs +0 -1
  889. package/dist/mapSpacerToTreeNode-Dqh__9HM.js +0 -25
  890. package/dist/mapTimeframeBalancesToTreeNode-CxkIZ0N2.js +0 -24
  891. package/dist/mapTimeframeBalancesToTreeNode-DR2g4ULW.cjs +0 -1
  892. package/dist/mapTimeframeBalancesToTreeNode-FPQdtj_D.js +0 -24
  893. package/dist/mapTimeframeBalancesToTreeNode-wECtc_8i.cjs +0 -1
  894. package/dist/mapTimeframeHeaderLoadingInProgressToTreeNode-BvZJPmvf.js +0 -32
  895. package/dist/mapTimeframeHeaderLoadingInProgressToTreeNode-Ra09BZZu.cjs +0 -1
  896. package/dist/sectionColor-BNEqclCD.cjs +0 -1
  897. package/dist/sectionColor-CGCvwVda.js +0 -32
  898. package/dist/toCOABalancesWithID-BK5kRG2L.cjs +0 -1
  899. package/dist/toCOABalancesWithID-Bdm4b02O.js +0 -8
  900. package/dist/toChartData-B9zQDvyJ.js +0 -76
  901. package/dist/toChartData-BagRxywO.cjs +0 -1
  902. package/dist/uploadAttachment-BKgAQNBB.cjs +0 -286
  903. package/dist/uploadAttachment-M-eYXQpa.js +0 -952
  904. package/dist/zeniDatePicker.helpers-f3cO4g-1.js +0 -14
  905. package/dist/zeniDatePicker.helpers-r-nFoIr4.cjs +0 -1
@@ -1,121 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=require("./vendor-.pnpm-CT-Z_-kn.cjs"),C=require("react"),R=require("@emotion/styled"),y=require("@zeniai/client-analytics"),_=require("@zeniai/client-epic-state"),s=require("./index-BmvWQcNz.cjs"),F=require("./analyticsHelper-DyyLZzI5.cjs"),te=require("./ReportTableViewSelector-CJ0mXxsw.cjs"),$=require("./TimeRangeSwitcher-Dtq2caov.cjs"),se=require("./TimeframeSwitcherWithToggle-BHI5aKhG.cjs"),ne=require("./DownloadOverlay-lRibcVyL.cjs"),A=require("./CollapsableReportTable-BgDNHYLJ.cjs"),w=require("./mapSectionWithAcOnlyToTreeNode-4pCIWFSE.cjs"),W=require("./mapTimeframeBalancesToTreeNode-wECtc_8i.cjs"),q=require("./mapTimeframeHeaderLoadingInProgressToTreeNode-Ra09BZZu.cjs"),ae=require("./mapLoadingInProgressToTreeNode-nuqYGTeh.cjs");function U({section:e,sectionId:t,numOfBalances:n,config:i}){return A.getSelectorApplyingFilters$1("no_filter",i.filterAccountsWithNilBalances,i.filterAccountGroupsWithNilBalances).compactedAccountGroupsSelector(e.accountGroups).map(u=>oe({accountGroup:u,sectionType:t,numOfBalances:n,title:u.accountGroupName,isLastNode:!0,config:i}))}function oe({accountGroup:e,sectionType:t,numOfBalances:n,title:i,isLastNode:a,config:d}){const u=A.uniqueID("section",[],i+t),m={children:[],id:u,isLastNode:a,reportElementData:{element:{kind:"section",title:i,sectionType:t,data:e,numOfBalances:n},config:d}},f=A.getSelectorApplyingFilters$1("no_filter",d.filterAccountsWithNilBalances,d.filterAccountGroupsWithNilBalances).compactedAccountsSelectorVariant(e.accounts),x=f.map((g,o)=>w.mapSubAccountToTreeNode({account:g,sectionType:t,numOfBalances:n,title:g.account.accountName,config:d,isLastNode:o===f.length-1,parentNodeIDs:[u],ancestorMetadata:{subAccountAncestorMetadata:[{depth:0,hasSibling:f.length>1,hasChildren:g.children.length>0,isLastNode:o===f.length-1}]}}));return m.children.push(...x),m}function Y({sectionWithAcOnly:e,sectionType:t,numOfBalances:n,config:i}){return e.accounts.map((d,u)=>w.mapSubAccountToTreeNode({account:d,sectionType:t,numOfBalances:n,title:d.account.accountName,config:i,isLastNode:u===e.accounts.length-1,parentNodeIDs:[],ancestorMetadata:{subAccountAncestorMetadata:[{depth:0,hasSibling:e.accounts.length>1,hasChildren:d.children.length>0,isLastNode:u===e.accounts.length-1}]}}))}function Z({balances:e,config:t,nodeId:n}){return{children:[],id:n??A.uniqueID("timeframe_header",[]),isLastNode:!1,reportElementData:{element:{kind:t.mode==="actual_vs_forecast"?"timeframe_headers_with_forecast":"timeframe_headers",title:"",data:e,numOfBalances:e.length},config:t}}}function ie(e,t,n,i=!0){Object.assign(e.config,t);const a=K(n),d=W.mapTimeframeBalancesToTreeNode({balances:a,config:t});return{config:t,headerNodes:i?[d]:[],contentNodes:[d,...e.contentNodes.slice(1)]}}const K=e=>{switch(e.reportId){case"profit_and_loss":{const t=e;return t.sections.expenses.balances.length>0?[...t.sections.expenses.balances,...t.sections.expenses.additionalBalances]:[...t.sections.income.balances,...t.sections.income.additionalBalances]}case"profit_and_loss_by_classes":{const t=e;return t.sections.expenses.balances.length>0?[...t.sections.expenses.balances,...t.sections.expenses.additionalBalances]:[...t.sections.income.balances,...t.sections.income.additionalBalances]}case"cash_flow":{const t=e;return[...t.calculatedSections.operatingActivitiesTotal.balances,...t.calculatedSections.operatingActivitiesTotal.additionalBalances]}case"balance_sheet":{const t=e;let n=[];return Object.keys(t.sections).forEach(i=>{t.sections[i].balances.length>0&&(n=[...t.sections[i].balances,...t.sections[i].additionalBalances])}),n}default:return[]}};function ce(e,t,n=!0){const i=s.appLocale.getLocalizedStrings().reports.sections,a=s.appLocale.getLocalizedStrings().reports.balanceSheet,d=K(e),u=t.mode!=null&&t.mode==="this_period_vs_period_before"&&d.length>1?e.filter.balancesRange.numberOfPeriods+2:e.filter.balancesRange.numberOfPeriods+1,m=Z({balances:d,config:t}),l=[];return l.push(m),Object.keys(e.rootSectionsWithSubSectionIds).forEach(f=>{const x=A.uniqueID("title_string_only",[],f),g={children:[],id:x,isLastNode:!0,reportElementData:{element:{kind:"title_string_only",title:i[f],data:void 0,numOfBalances:0},config:t}};l.push(g),e.rootSectionsWithSubSectionIds[f].forEach(o=>{if(_.isBalanceSheetReportViewSectionID(o)===!0)if(e.sections[o].accountGroups.length>0)if(o==="equity"){const h=U({sectionId:o,section:e.sections[o],numOfBalances:u,config:t});l.push(...h)}else l.push(w.mapAccountViewSectionToTreeNode({section:e.sections[o],sectionType:o,numOfBalances:u,title:a[o],isLastNode:!0,config:t}));else if(o==="equity"){const h=Y({sectionWithAcOnly:e.sections[o],sectionType:o,numOfBalances:u,config:t});l.push(...h)}else{const h=e.sections[o];l.push(w.mapAccountViewSectionWithSubAccountsOnlyToTreeNode({sectionWithAcOnly:h,sectionType:o,numOfBalances:u,title:a[o],isLastNode:!0,config:t}))}else _.isBalanceSheetReportViewCalculatedSectionID(o)===!0&&l.push(w.mapCalculatedSectionToTreeNode({calculatedSection:e.calculatedSections[o],numOfBalances:u,title:a[o],isLastNode:!0,config:t}))})}),{config:t,headerNodes:n?[m]:[],contentNodes:l}}function le({calculatedSection:e,numOfBalances:t,title:n,isLastNode:i,config:a}){return{children:[],id:A.uniqueID("calculated_section_type1",[],n),isLastNode:i,reportElementData:{element:{kind:"calculated_section_type1",title:n,data:e,numOfBalances:t},config:a}}}function re(e,t,n=!0){const i=s.appLocale.getLocalizedStrings().reports.sections,a=s.appLocale.getLocalizedStrings().reports.cashFlow,d=[...e.calculatedSections.operatingActivitiesTotal.balances,...e.calculatedSections.operatingActivitiesTotal.additionalBalances],u=t.mode!=null&&t.mode==="this_period_vs_period_before"&&d.length>1?e.filter.balancesRange.numberOfPeriods+2:e.filter.balancesRange.numberOfPeriods+1,m=Z({balances:d,config:t}),l=[];return Object.keys(e.rootSectionsWithSubSectionIds).forEach(f=>{const x=A.uniqueID("title_string_only",[],f),g={children:[],id:x,isLastNode:!0,reportElementData:{element:{kind:"title_string_only",title:i[f],data:void 0,numOfBalances:0},config:t}};l.push(g),e.rootSectionsWithSubSectionIds[f].forEach(o=>{if(_.isCashFlowReportViewSectionID(o)===!0)if(e.sections[o].accountGroups.length>0){const h=U({sectionId:o,section:e.sections[o],numOfBalances:u,config:t});l.push(...h)}else{const h=Y({sectionWithAcOnly:e.sections[o],sectionType:o,numOfBalances:u,config:t});l.push(...h)}else _.isCashFlowReportViewCalculatedSectionType1ID(o)===!0?l.push(le({calculatedSection:e.calculatedSections[o],numOfBalances:u,title:a[o],isLastNode:!0,config:t})):_.isCashFlowReportViewCalculatedSectionID(o)===!0&&l.push(w.mapCalculatedSectionToTreeNode({calculatedSection:e.calculatedSections[o],numOfBalances:u,title:a[o],isLastNode:!0,config:t}))})}),{config:t,headerNodes:n?[m]:[],contentNodes:[m,...l]}}function de(e,t,n=!0,i=!1){const a=s.appLocale.getLocalizedStrings().reports,d=s.appLocale.getLocalizedStrings().common;let u=[];const m=[];let l=[];if(i===!0){const f=q.mapTimeframeHeaderLoadingInProgressToTreeNode({title:d.loading,balances:[],config:t});f.reportElementData.element.numOfBalances=6,n&&(l=[f]),m.push(f),[...Array(8)].forEach((x,g)=>{const o=g%4;let r=q.rowTitles[o];const h=ae.mapLoadingInProgressToTreeNode({title:`${g}+${r}`,balances:u,config:t});h.reportElementData.element.numOfBalances=6,m.push(h)})}else{const f=e.sections.expenses.balances.length>0?[...e.sections.expenses.balances,...e.sections.expenses.additionalBalances]:e.sections.income.balances.length>0?[...e.sections.income.balances,...e.sections.income.additionalBalances]:e.sections.cogs.balances.length>0?[...e.sections.cogs.balances,...e.sections.cogs.additionalBalances]:e.sections.otherIncome.balances.length>0?[...e.sections.otherIncome.balances,...e.sections.otherIncome.additionalBalances]:e.sections.otherExpenses.balances.length>0?[...e.sections.otherExpenses.balances,...e.sections.otherExpenses.additionalBalances]:[],x=W.mapTimeframeBalancesToTreeNode({balances:f,config:t}),g=t.mode!=null&&t.mode==="this_period_vs_period_before"&&f.length>1?e.filter.balancesRange.numberOfPeriods+2:e.filter.balancesRange.numberOfPeriods+1;m.push(x),n&&(l=[x]),e.idsInOrder.forEach(o=>{if(_.isPandLReportViewSectionID(o)===!0){const r=e.sections[o];r!=null&&m.push(w.mapClassViewSectionToTreeNode({section:r,sectionType:o,numOfBalances:g,title:a.sections[o],isLastNode:!0,config:t}))}else if(_.isPandLReportViewCalculatedSectionID(o)===!0){const r=e.calculatedSections[o];r!=null&&m.push(w.mapCalculatedSectionToTreeNode({calculatedSection:r,numOfBalances:g,title:a.sections[o],isLastNode:!0,config:t}))}})}return{config:t,headerNodes:l,contentNodes:m}}function ue(e,t,n=!0){const i=s.appLocale.getLocalizedStrings().reports,a=e.sections.expenses!=null&&e.sections.expenses.balances.length>0?[...e.sections.expenses.balances,...e.sections.expenses.additionalBalances]:e.sections.income!=null&&e.sections.income.balances.length>0?[...e.sections.income.balances,...e.sections.income.additionalBalances]:e.sections.cogs!=null&&e.sections.cogs.balances.length>0?[...e.sections.cogs.balances,...e.sections.cogs.additionalBalances]:e.sections.otherIncome!=null&&e.sections.otherIncome.balances.length>0?[...e.sections.otherIncome.balances,...e.sections.otherIncome.additionalBalances]:e.sections.otherExpenses!=null&&e.sections.otherExpenses.balances.length>0?[...e.sections.otherExpenses.balances,...e.sections.otherExpenses.additionalBalances]:[],d=t.mode!=null&&t.mode==="this_period_vs_period_before"&&a.length>1?e.filter.balancesRange.numberOfPeriods+2:e.filter.balancesRange.numberOfPeriods+1,u=W.mapTimeframeBalancesToTreeNode({balances:a,config:t}),m=[];return m.push(u),e.idsInOrder.forEach(l=>{if(_.isPandLReportViewSectionID(l)===!0&&(e.sections[l].accountGroups.length>0?m.push(w.mapAccountViewSectionToTreeNode({section:e.sections[l],sectionType:l,numOfBalances:d,title:i.sections[l],isLastNode:!0,config:t})):m.push(w.mapAccountViewSectionWithSubAccountsOnlyToTreeNode({sectionWithAcOnly:e.sections[l],sectionType:l,numOfBalances:d,title:i.sections[l],isLastNode:!0,config:t}))),_.isPandLReportViewCalculatedSectionID(l)===!0){const f=e.calculatedSections[l];f!=null&&m.push(w.mapCalculatedSectionToTreeNode({calculatedSection:f,numOfBalances:d,title:i.sections[l],isLastNode:!0,config:t}))}}),{config:t,headerNodes:n?[u]:[],contentNodes:m}}const H={contentPaddingLeft:new s.ResponsiveSized(s.sp[0],s.sp[0],s.sp[0]),contentPaddingRight:new s.ResponsiveSized(s.sp[3],s.sp[3],s.sp[8])},me=R.div`
2
- height: ${e=>e.height}px;
3
- width: 99.9%;
4
- margin-top: ${s.Space.sp2};
5
- background-color: ${e=>e.theme.colors.grey4};
6
- `;function he({report:e,displayOrder:t,reportFormat:n,analytics:i,isZeniUser:a,onAdditionalBalanceSelectionChanged:d,onAccountBalanceClick:u,onTableScroll:m,onElementCollapseStateChanged:l,isCompareModeOn:f,isPageFetchInProgress:x=!1}){const g=s.useWindowSizeContext(),o=c.useTheme(),[r,h]=C.useState(void 0),[N,v]=C.useState(void 0),B=!(g==="small"||g==="medium-compact"),V="name+balances_actual",M=f===!0?"this_period_vs_period_before":"none",L=()=>{let S=[];switch(e.reportId){case"profit_and_loss":{const p=e;S=(p.sections.expenses.balances.length>0?p.sections.expenses:p.sections.income).additionalBalances.map(D=>_.toTimeframeTick(D));break}case"profit_and_loss_by_classes":{const p=e,O=(p.sections.expenses?.balances?.length??0)>0?p.sections.expenses:null,D=(p.sections.income?.balances?.length??0)>0?p.sections.income:null,z=O??D;z?.additionalBalances!=null&&(S=z.additionalBalances.map(ee=>_.toTimeframeTick(ee)));break}case"cash_flow":{S=e.calculatedSections.investingActivitiesTotal.additionalBalances.map(O=>_.toTimeframeTick(O));break}case"balance_sheet":{S=e.sections.equity.additionalBalances.map(O=>_.toTimeframeTick(O));break}}return S.length>0&&S.find(p=>p.balanceType==="this_period_vs_last_period")?"compare_mode_amount":"compare_mode_percent"};C.useEffect(()=>{const S={reportId:e.reportId,bookCloseDate:e.bookCloseDate,mode:M,firstMonthOfFY:e.firstMonthOfFY,filterAccountsWithNilBalances:"filter_actual_nil_balances",filterAccountGroupsWithNilBalances:"filter_actual_forecast_empty_account_group_balances",displayOrder:t,reportFormat:n,dataAvailable:e.dataAvailable,showNegativeAmountInParenthesis:s.getShowNegativeAmountInParenthesisDefaultValue(),showClassAccountNumber:a};if(r==null||!c.isEqual(N,e)||x===!0){const p=fe(e,S,B,x);v(e),h(p)}else{const p=ie(r,S,e,B);h(p)}},[f,e,x]);const[T,P]=C.useState(5),k=S=>{const p=S+135;P(p)},X=S=>S?.trackPageLoaded(ge(e));return r!=null?c.jsxRuntimeExports.jsxs(c.jsxRuntimeExports.Fragment,{children:[c.jsxRuntimeExports.jsx(s.AnalyticsOnLoad,{analytics:i,onLoad:X}),c.jsxRuntimeExports.jsx(me,{height:T,children:c.jsxRuntimeExports.jsx(A.CollapsableReportTable,{backgroundColor:new c.Color(o.colors.grey4),rootNodes:r,type:V,compareMode:L(),isSticky:{isStickyHeader:B,isStickyName:B},treeNodePadding:{left:H.contentPaddingLeft.value(g),right:H.contentPaddingRight.value(g)},onAccountClick:u==null?void 0:(S,p)=>{u(S,p)},nodeOpenStatus:e.uiState.nodeCollapseState,scrollPosition:e.uiState.scrollPosition,onCompareModeChanged:S=>d?.(S==="compare_mode_amount"?"this_period_vs_last_period":"this_period_vs_last_period_percent","dropdown"),onNodeCollapseToggled:(S,p)=>l?.(e.reportId,S,p),onReportTableHeightChanged:k,onScroll:S=>m?.(e.reportId,S)})})]}):null}const fe=(e,t,n=!0,i=!1)=>{switch(e.reportId){case"profit_and_loss":return ue(e,t,n);case"profit_and_loss_by_classes":return de(e,t,n,i);case"cash_flow":return re(e,t,n);case"balance_sheet":return ce(e,t,n);default:return}},ge=e=>{switch(e.reportId){case"profit_and_loss":case"profit_and_loss_by_classes":return y.Event.profitAndLoss;case"cash_flow":return y.Event.cashFlow;case"balance_sheet":return y.Event.balanceSheet;default:return y.Event.reports}},pe=R.div`
7
- display: flex;
8
- flex-direction: row;
9
- border-bottom: 1px solid ${e=>e.theme.colors.grey3};
10
- justify-content: center;
11
- width: 100%;
12
- align-items: center;
13
- `,Se=R.div`
14
- display: flex;
15
- position: relative;
16
- `,_e=R(s.SmallMedium)`
17
- padding: 12px;
18
- color: ${e=>e.isSelected?e.theme.colors.primary:e.theme.colors.hero};
19
- cursor: ${e=>e.isSelected?"default":"pointer"};
20
- margin: ${e=>e.spaceAround?`0 ${s.Space.sp4}`:0};
21
- display: flex;
22
- flex-direction: column;
23
- align-items: center;
24
- &:hover {
25
- color: ${e=>e.theme.colors.primary};
26
- }
27
- `,Re=R.div`
28
- height: 2px;
29
- background-color: ${e=>e.theme.colors.primary};
30
- border-radius: 1px;
31
- position: absolute;
32
- bottom: 0;
33
- left: 0;
34
- transition: left 0.35s;
35
- &.profit_and_loss {
36
- width: 106px;
37
- left: 0;
38
- }
39
-
40
- &.profit_and_loss_by_classes {
41
- width: 106px;
42
- left: 0;
43
- }
44
- &.balance_sheet {
45
- width: 114px;
46
- left: 30%;
47
- }
48
- &.cash_flow {
49
- width: 160px;
50
- left: 63%;
51
- }
52
- `;function xe({reportId:e,isSelected:t,onClick:n}){const i=a=>{switch(a){case"profit_and_loss":case"profit_and_loss_by_classes":case"balance_sheet":case"cash_flow":return s.appLocale.getLocalizedStrings().reportTitleById[a];default:return console.warn("Unsupported report"),""}};return c.jsxRuntimeExports.jsx(_e,{"data-testid":s.generateDataTestId("reportSwitcher",e),onClick:()=>{t===!1&&n(e)},isSelected:t,spaceAround:e==="balance_sheet",children:i(e)})}function be({reportIds:e,selectedReport:t,onReportSelectionChanged:n}){const i=a=>{n?.(a)};return c.jsxRuntimeExports.jsx(pe,{"data-testid":s.generateDataTestId("report-switcher-container"),children:c.jsxRuntimeExports.jsx(Se,{"data-testid":s.generateDataTestId("report-switcher-content"),children:e.map(a=>a!=="profit_and_loss_by_classes"&&c.jsxRuntimeExports.jsxs("div",{children:[c.jsxRuntimeExports.jsx(xe,{reportId:a,isSelected:t===a,onClick:i}),c.jsxRuntimeExports.jsx(Re,{className:`Slider ${t}`})]},`reportSegment-${a}`))})})}const j={contentContainerLeftRightMargin:new s.ResponsiveSized(s.sp[3],s.sp[3],s.sp[8]),contentRightPadding:new s.ResponsiveSized(s.sp[3],s.sp[3],s.sp[8]),tickSkelectionContainerWidth:new s.ResponsiveSized(343,600,905,1240)},we=new s.ResponsiveSized(4,4),Te=new s.ResponsiveSized(4,4),Ce={selectedNumberOfPeriods:(e,t)=>e?Te.value(t):we.value(t)},ye=R.div`
53
- display: flex;
54
- flex: 1 1 auto;
55
- min-height: 100%;
56
- flex-direction: column;
57
- background-color: ${e=>e.theme.colors.grey4};
58
- `,Ae=R.div`
59
- display: flex;
60
- flex: 1 1 auto;
61
- flex-direction: column;
62
- height: calc(100vh - ${s.Space.sp10});
63
- margin: ${e=>`${s.Space.sp2} ${s.Space.sp0} ${s.Space.sp0} ${j.contentContainerLeftRightMargin.valuePx(e.windowSize)}`};
64
- `,Ne=R.div`
65
- display: flex;
66
- width: 100%;
67
- height: 100%;
68
- flex-direction: row;
69
- justify-content: center;
70
- align-items: center;
71
- background-color: ${e=>e.theme.colors.grey4};
72
- `,ve=R.div`
73
- position: absolute;
74
- margin-top: ${e=>e.windowSize==="small"?"230px":"195px"};
75
- background-color: ${e=>e.theme.colors.grey4};
76
- `,Le=R.div`
77
- display: flex;
78
- width: 100%;
79
- height: calc(100% - 60px);
80
- flex-direction: column;
81
- justify-content: center;
82
- align-items: center;
83
- `,Be=R.div`
84
- height: 96px;
85
- width: 96px;
86
- background: ${e=>e.theme.colors.background};
87
- border-radius: 50%;
88
- cursor: pointer;
89
- & svg {
90
- margin: ${s.Space.sp5};
91
- color: ${e=>e.theme.colors.grey1};
92
- }
93
- &:hover {
94
- & svg {
95
- color: ${e=>e.theme.colors.primary};
96
- }
97
- }
98
- `,Oe=R(s.SmallRegularSp)`
99
- margin-top: ${s.Space.sp3};
100
- color: ${e=>e.theme.colors.hero};
101
- `,J=({style:e,isLoading:t})=>t?c.jsxRuntimeExports.jsx(Ne,{style:e,children:c.jsxRuntimeExports.jsx(s.ActivityIndicator,{size:"ExtraLarge",start:!0})}):null,b=e=>{switch(e.selectedReport){case"cash_flow":return e.cashFlowReport;case"balance_sheet":return e.balanceSheetReport;case"profit_and_loss_by_classes":return e.profitAndLossClassesViewReport;case"profit_and_loss":default:return e.profitAndLossReport}},I=({selectedReport:e,isCompareModeOn:t,windowSize:n})=>{const i=e.availableNumberOfPeriods;let a=Ce.selectedNumberOfPeriods(t,n);return i!=null&&(a=Math.min(a,i)),a};function Ee(e){const t=s.useWindowSizeContext(),n=c.useTheme(),{onUpdateAccountViewMode:i,onUpdateClassesToFilterOut:a,onAdditionalBalanceSelectionChanged:d,onTimeframeSelectionChanged:u,isCompareMode:m,selectedReportAndTimeframeFetchState:l,onClickMenuIcon:f}=e,x=(L,T)=>{L!==g?.accountViewMode&&i?.(L),T&&a?.(T)};C.useEffect(()=>{if(e.fetchState==="Completed"){const T=b(e).filter.additionalBalances;e.onUpdateHighlightedNumberOfPeriods?.(T,e.isCompareMode,I({selectedReport:b(e),isCompareModeOn:e.isCompareMode,windowSize:t}),e.balancesInTimeframe)}},[t,e.fetchState]);const g=ke(e),o=s.appLocale.getLocalizedStrings().reports.common,r=s.useGlobalInfoContext(),h=r!=null&&_.hasInvestorBankerLevelAccess(r.loggedInUserRole)?"detailed":"more_detailed",N=r!=null&&_.hasInvestorBankerLevelAccess(r.loggedInUserRole)?["more_detailed"]:[];e.showAccountGroups===!1&&g?.accountViewMode==="account_group"&&N.push("detailed");const[v,B]=C.useState(N.includes("more_detailed")?"detailed":"more_detailed"),V={selectedFormat:v,disabledFormatForRole:N,roleBasedClassesSelectedFormat:h,setSelectedFormat:B};if(l.fetchState==="Error"||e.fetchState==="Error")return c.jsxRuntimeExports.jsxs(Le,{"data-testid":s.generateDataTestId("report-page-error-reload-page"),children:[c.jsxRuntimeExports.jsx(Be,{"data-testid":s.generateDataTestId("report-page-error-reload-icon"),onClick:e.onReloadReport,children:c.jsxRuntimeExports.jsx(s.SvgReload,{})}),c.jsxRuntimeExports.jsx(Oe,{children:o.failed})]});const M=e.fetchState;if(l.fetchState!=="Completed"&&(M==="In-Progress"||M==="Not-Started"))return c.jsxRuntimeExports.jsx(J,{isLoading:!0});{const L=c.jsxRuntimeExports.jsx(s.DownloadButton,{downloadReportOptions:{type:"detailed_menu",downloadMenu:{detailedMenu:g!=null&&e.dataAvailable!=null?c.jsxRuntimeExports.jsx(ne.DownloadOverlayButton,{defaultOptions:g,analytics:e.analytics,referrer:E(e.selectedReport),dataAvailable:e.dataAvailable,downloadState:e.downloadState,statementEndPoint:e.statementEndPoint,authParams:e.authParams,currentTenantCompanyName:e.currentTenantCompanyName,classesFetchState:e.profitAndLossClassesViewReport.fetchState,showAccountGroups:e.showAccountGroups,reportFormatProps:V,updateDownloadStateHandler:e.updateDownloadStateHandler,onUpdateDisplayOrder:e.onUpdateDisplayOrder,onUpdateReportFormat:e.onUpdateReportFormat,onClose:()=>null,onOpenAccountViewMode:e.onOpenAccountViewMode,onSaveClickHandler:x,onThisPeriodChanged:e.onThisPeriodChanged,onAdditionalBalanceSelectionChanged:(T,P,k)=>{d(m,T,P,k)},onTimeframeSelectionChanged:(T,P,k)=>{u?.(T,P,k)}}):c.jsxRuntimeExports.jsx(c.jsxRuntimeExports.Fragment,{})}}});return c.jsxRuntimeExports.jsxs(ye,{children:[c.jsxRuntimeExports.jsx(s.NavBar,{title:s.appLocale.getLocalizedStrings().reports.title,backgroundColor:n.colors.grey4,onBackClick:e.onBackClick,showMenuIcon:t==="medium-compact"||t==="small",onClickMenuIcon:f,rightSideComponent:L,downloadPresent:!0,source:"ReportsPage",hideSearchBtn:!0}),c.jsxRuntimeExports.jsx(je,{...e})]})}}function je(e){const t=s.useWindowSizeContext(),n=c.useTheme(),i=C.useRef(null),{selectedReportAndTimeframeFetchState:a}=e,d=["month","quarter","year"],u=(r,h)=>{e.analytics?.trackCompareFilterChange(r==="this_period_vs_last_period_percent"?"percentage":"amount",E(e.selectedReport),F.toTimeframeFilter(e.selectedTimeframe),h);const N=Array.from(new Set(r==="this_period_vs_last_period_percent"?[...b(e).filter.additionalBalances,"this_period_vs_last_period_percent"].filter(v=>v!=="this_period_vs_last_period"):[...b(e).filter.additionalBalances,"this_period_vs_last_period"].filter(v=>v!=="this_period_vs_last_period_percent")));e.onAdditionalBalanceSelectionChanged?.(e.isCompareMode,N,I({selectedReport:b(e),isCompareModeOn:e.isCompareMode,windowSize:t}))},m=(r,h)=>{r!==e.profitAndLossClassesViewReport?.uiState.accountViewMode&&e.onUpdateAccountViewMode?.(r),h&&e.onUpdateClassesToFilterOut?.(h)},l=b(e),f=i.current?.clientWidth??j.tickSkelectionContainerWidth.value(t),g=_.reduceAllFetchState([e.reportsResyncFetchState,e.profitAndLossClassesViewReport]).fetchState==="In-Progress"&&e.profitAndLossClassesViewReport.uiState.accountViewMode==="classes",o=a.fetchState==="In-Progress";return c.jsxRuntimeExports.jsxs(Ae,{windowSize:t,"data-testid":s.generateDataTestId("reports-page-content-container"),children:[c.jsxRuntimeExports.jsx(Ve,{windowSize:t,ref:i,children:c.jsxRuntimeExports.jsx(se.TimeframeSwitcherWithToggle,{timeframe:{allowedTimeframes:d,selectedTimeframe:e.selectedTimeframe,onTimeframeSelectionChanged:r=>{e.analytics?.trackTimeframeSwitch(F.toTimeframeFilter(r),E(e.selectedReport)),e.onTimeframeSelectionChanged?.(r,!0)}},toggle:{label:s.appLocale.getLocalizedStrings().compareSwitchLabel,isOn:e.isCompareMode,onValueChanged:r=>{e.analytics?.trackCompareMode(r,E(e.selectedReport),F.toTimeframeFilter(e.selectedTimeframe));const h=b(e).filter;e.onAdditionalBalanceSelectionChanged?.(r,h.additionalBalances,h.balancesRange.numberOfPeriods)}}})}),a.fetchState==="Not-Started"||a.fetchState==="In-Progress"?c.jsxRuntimeExports.jsx($e,{windowSize:t,children:c.jsxRuntimeExports.jsx(Ie,{children:c.jsxRuntimeExports.jsx(s.RectangularContentLoader,{width:f,height:$.TICK_HEIGHT-s.sp[2],backgroundColor:n.colors.grey3,style:{borderRadius:s.Space.sp2}})})}):c.jsxRuntimeExports.jsx(De,{windowSize:t,children:c.jsxRuntimeExports.jsx($.TimeRangeSwitcher,{firstMonthOfFY:l.firstMonthOfFY,timeframe:e.selectedTimeframe,timeframeTicks:e.allTimeframeTicks,selection:{selectedTicks:G(e.allTimeframeTicks,e.selectedCOABalancesRange),highlightedOfSelectedTicks:G(e.allTimeframeTicks,e.selectedCOABalancesRange)},onClick:(r,h)=>{e.analytics?.trackDateRangeFilterChange(E(e.selectedReport),"range filter",e.isCompareMode,F.toTimeframeLabel(l.firstMonthOfFY,e.selectedTimeframe,h)),e.onThisPeriodChanged?.(h,I({selectedReport:b(e),isCompareModeOn:e.isCompareMode,windowSize:t}))},onSelectionChanged:r=>{const h=Pe(e.allTimeframeTicks,r.fromEnd);e.analytics?.trackDateRangeFilterChange(E(e.selectedReport),"range filter",e.isCompareMode,F.toTimeframeLabel(l.firstMonthOfFY,e.selectedTimeframe,h.thisPeriod)),e.onCOABalancesRangeChanged?.(h)}})}),c.jsxRuntimeExports.jsx(We,{windowSize:t,children:c.jsxRuntimeExports.jsx(be,{reportIds:["profit_and_loss","balance_sheet","cash_flow","profit_and_loss_by_classes"],selectedReport:e.selectedReport,onReportSelectionChanged:r=>{e.analytics?.trackPageLoaded(Fe(r)),r==="profit_and_loss"&&e.profitAndLossClassesViewReport?.uiState.accountViewMode==="classes"?e.onReportSelectionChanged?.("profit_and_loss_by_classes"):e.onReportSelectionChanged?.(r)}})}),a.fetchState==="Not-Started"||a.fetchState==="In-Progress"?c.jsxRuntimeExports.jsx(J,{style:{boxShadow:"none",backgroundColor:"inherit"},isLoading:o}):c.jsxRuntimeExports.jsxs(c.jsxRuntimeExports.Fragment,{children:[c.jsxRuntimeExports.jsx(Q,{report:b(e),displayOrder:e.displayOrder,reportFormat:e.reportFormat,analytics:e.analytics,onAdditionalBalanceSelectionChanged:u,onAccountBalanceClick:e.onAccountBalanceClick,onElementCollapseStateChanged:e.onElementCollapseStateChanged,onTableScroll:e.onTableScroll,isCompareModeOn:e.isCompareMode,isZeniUser:e.isZeniUser,isPageFetchInProgress:g}),_.isPAndLReport(e.selectedReport)?c.jsxRuntimeExports.jsx(ve,{windowSize:t,children:c.jsxRuntimeExports.jsx(te.ReportTableViewSelector,{reportId:e.selectedReport,firstMonthOfFY:e.profitAndLossClassesViewReport.firstMonthOfFY,nodes:e.profitAndLossClassesViewReport?.classHierarchy,classesListFetchState:e.profitAndLossClassesViewReport?.fetchState,selectedView:e.profitAndLossClassesViewReport?.uiState.accountViewMode,showClassAccountNumber:e.isZeniUser,showAccountGroups:e.showAccountGroups,onSaveClick:m,classesToBeFilteredOut:e.profitAndLossClassesViewReport?.classesToFilterOut,onOpenAccountViewMode:e.onOpenAccountViewMode,onResyncReports:e.onResyncReports,isPageFetchInProgress:g,lastRefreshSuccessTime:e.profitAndLossClassesViewReport?.status?.lastRefreshSuccessTime})}):null]})]})}const G=(e,t)=>{if(t.orderBy!=="ascending_date")throw new Error("Invalid ordering of dates!!");let n=e.length-1;return t.thisPeriod!=null&&(n=e.findIndex(a=>a.startDate.isSame(t.thisPeriod.startDate,"date")&&a.endDate.isSameOrBefore(t.thisPeriod.endDate))),{startIndex:Math.max(n+1-t.numberOfPeriods,0),length:t.numberOfPeriods}},Pe=(e,t)=>{const n=e.length-1-t.offsetFromEnd;return{thisPeriod:e[n],numberOfPeriods:t.length,orderBy:"ascending_date"}};function ke(e){let t=e.selectedCOABalancesRange.thisPeriod;if(t==null){const u=e.displayOrder,m=e.profitAndLossReport.sections.expenses!=null&&e.profitAndLossReport.sections.expenses.balances.length>0?e.profitAndLossReport.sections.expenses:e.profitAndLossReport.sections.income;if(m!=null&&m.balances.length>0){const l=u==="ascending_date"?m.balances.length-1:0;t=m.balances[l]}}const n=b(e).firstMonthOfFY,i=b(e).bookCloseDate,a=b(e).dataAvailable,d=b(e).filter.additionalBalances;if(t!=null)return{localeId:s.appLocale.getAppLocaleID(),showNegativeAmountInParenthesis:!0,filterAccountsWithNilBalances:"filter_actual_nil_balances",filterAccountGroupsWithNilBalances:"filter_actual_forecast_empty_account_group_balances",includeCoverPage:!0,companyName:e.currentTenantCompanyName,statementFileType:"pdf",statements:e.profitAndLossClassesViewReport.uiState.accountViewMode==="account_group"?["profit_and_loss","balance_sheet","cash_flow"]:["profit_and_loss_by_classes","balance_sheet","cash_flow"],firstMonthOfFY:n,bookCloseDate:i,dataAvailable:a,timeframe:e.selectedTimeframe,additionalBalances:d,format:e.reportFormat,balancesFilter:{thisPeriod:t,numberOfPeriods:e.selectedCOABalancesRange.numberOfPeriods,orderBy:e.displayOrder},accountViewMode:e.profitAndLossClassesViewReport.uiState.accountViewMode,nestedClassHierarchy:e.profitAndLossClassesViewReport?.classHierarchy,classesToFilterOut:e.profitAndLossClassesViewReport.classesToFilterOut,showClassAccountNumber:e.isZeniUser,isZeniCOAUsed:e.isZeniCOAUsed}}const E=e=>{switch(e){case"profit_and_loss":case"profit_and_loss_by_classes":return"Profit & Loss";case"balance_sheet":return"Balance Sheet";case"cash_flow":return"Cash Flow";default:return"Reports"}},Fe=e=>{switch(e){case"profit_and_loss":case"profit_and_loss_by_classes":return y.Event.profitAndLoss;case"cash_flow":return y.Event.cashFlow;case"balance_sheet":return y.Event.balanceSheet;default:return y.Event.reports}},Q=C.memo(he,(e,t)=>Me(e,t,["report","analytics","isCompareModeOn","isZeniUser","isPageFetchInProgress"]));Q.displayName="Reports table";const Me=(e,t,n)=>n.reduce((a,d)=>a===!0&&c.isEqual(e[`${d}`],t[`${d}`]),!0),Ve=R.div`
102
- padding-right: ${e=>j.contentRightPadding.valuePx(e.windowSize)};
103
- `,De=R.div`
104
- margin-top: ${s.Space.sp3};
105
- padding-right: ${e=>j.contentRightPadding.valuePx(e.windowSize)};
106
- `,$e=R.div`
107
- margin-top: ${s.Space.sp3};
108
- padding-right: ${e=>j.contentRightPadding.valuePx(e.windowSize)};
109
- `,Ie=R.div`
110
- display: flex;
111
- flex-direction: row;
112
- justify-content: flex-start;
113
- min-height: ${$.TICK_HEIGHT}px;
114
- box-sizing: content-box;
115
- width: 100%;
116
- align-items: center;
117
- justify-content: center;
118
- `,We=R.div`
119
- margin-top: ${s.Space.sp4};
120
- padding-right: ${e=>j.contentRightPadding.valuePx(e.windowSize)};
121
- `;exports.default=Ee;
@@ -1,280 +0,0 @@
1
- "use strict";const e=require("./vendor-.pnpm-CT-Z_-kn.cjs"),I=require("react"),C=require("@emotion/styled"),o=require("./index-BmvWQcNz.cjs"),a=require("./chartTypes-Co0duMVu.cjs"),B=require("./toCOABalancesWithID-BK5kRG2L.cjs"),z=require("./toChartData-BagRxywO.cjs"),A={legendLabelMarginLeft:new o.ResponsiveSized(2,2),legendLabelMarginRight:new o.ResponsiveSized(o.sp[3],o.sp[4])},dt=C.div`
2
- display: flex;
3
- `,ht=C.div`
4
- margin: ${o.Space.sp2} ${o.Space.sp0} ${o.Space.sp2} ${o.Space.sp0};
5
- width: 100%;
6
- height: 1px;
7
- background-color: ${o.Colors.neutralGrey3Dark};
8
- `,gt=C.div`
9
- flex: display;
10
- opacity: 0.85;
11
- width: 220px;
12
- border-radius: ${o.Space.sp1};
13
- flex-direction: column;
14
- padding: ${o.Space.sp3};
15
- background-color: ${t=>t.theme.colors.black};
16
- `,Ct=C(o.StandardRegular)`
17
- color: ${t=>t.color??o.Colors.neutralGrey2Light};
18
- text-align: left;
19
- display: flex;
20
- align-items: center;
21
- justify-content: space-between;
22
- `,ft=C(o.StandardRegular)`
23
- background-color: ${t=>t.color};
24
- height: 12px;
25
- width: 12px;
26
- display: inline-block;
27
- margin-right: ${o.Space.sp2};
28
- `,yt=C(o.StandardRegular)`
29
- text-align: left;
30
- `,jt=C(o.StandardRegular)`
31
- text-align: right;
32
- `,St=({active:t,payload:r})=>{const s=[];return r?.forEach(l=>{const n=l.name;if(t===!0){const c=l.payload,p=l.color,m=n!=null&&c.record[n]!=null?c.record[n].amount:void 0;s.push({barName:o.appLocale.getLocalizedStrings().chartCard.cashInCashOut[a.getIDFromChartValueKey(n)],value:m,color:p})}}),s},G=t=>t.map((r,s)=>e.jsxRuntimeExports.jsxs(Ct,{color:r.color,children:[e.jsxRuntimeExports.jsxs(yt,{children:[e.jsxRuntimeExports.jsx(ft,{color:r.color}),`${r.barName}:`]}),e.jsxRuntimeExports.jsx(jt,{children:`${a.currencyFormatter(r.value)}`})]},r.barName+s)),Et=t=>{const r=St({...t});return r.length===0?null:e.jsxRuntimeExports.jsx(dt,{children:e.jsxRuntimeExports.jsxs(gt,{children:[G(r.slice(0,r.length-1)),r.length?e.jsxRuntimeExports.jsx(ht,{}):null,G(r.slice(-1))]})})},$t=I.memo(Et),Rt=(t,r,s,l,n)=>{let c=[],p=[],m=[];s!=null&&s.balances.length>0&&(c=B.sectionToCOABalancesWithID("cash_in","actual",s)),l!=null&&l.balances.length>0&&(p=B.sectionToCOABalancesWithID("cash_out","actual",l)),n!=null&&n.balances.length>0&&(m=B.calculatedSectionToCOABalancesWithKey("net_cash_flow","actual",n));const u=a.getChartValueKey("cash_in","actual"),i=a.getChartValueKey("cash_out","actual"),g=a.getChartValueKey("net_cash_flow","actual"),h=c.length>0?u:p.length>0?i:void 0,d={};return d[u]=c,d[i]=p,d[g]=m,h!=null?z.toChartData(t,r,h,d):void 0},P=[a.getChartValueKey("cash_in","actual"),a.getChartValueKey("cash_out","actual"),a.getChartValueKey("net_cash_flow","actual")],Kt=C.div`
33
- width: ${t=>t.width}px;
34
- height: ${t=>t.height}px;
35
-
36
- .recharts-legend-item {
37
- margin-right: ${t=>A.legendLabelMarginRight.valuePx(t.windowSize)} !important;
38
- :last-of-type {
39
- margin-right: ${o.Space.sp0} !important;
40
- }
41
- }
42
- `,vt=C(o.ExtraSmallRegularSp)`
43
- margin-left: ${t=>A.legendLabelMarginLeft.valuePx(t.windowSize)};
44
- color: ${t=>t.theme.colors.primary};
45
- `;function Tt({selectedRangeReport:t,timeframe:r,highlightedRange:s,width:l,height:n,showBarHoverBackground:c,isDetailPage:p,onCOABalancesRangeChanged:m}){const u=e.useTheme(),i=I.useRef(!1);I.useEffect(()=>{i.current=!0},[]);const g=[u.colors.graphColor33,u.colors.graphColor36,u.colors.graphColor35],h=(K,R=u.colors.graphColor08)=>K<g.length?g[K]:R,d=Rt(t.firstMonthOfFY,P,t.cashIn,t.cashOut,t.netCashFlow),f=()=>{const K=[];return P.forEach((R,y)=>{const v=p===!0&&!i.current;K.push(e.jsxRuntimeExports.jsx(e.Bar,{name:R,animationDuration:v?500:void 0,style:{cursor:"pointer"},legendType:"square",dataKey:$=>{const E=$.record;return(E[R]!=null&&E[R].amount!=null?E[R].amount:void 0)?.amount??0},fill:h(y)},R))}),K};return d==null?null:e.jsxRuntimeExports.jsx(bt,{chartData:d,timeframe:r,showBarHoverBackground:c,barElements:f(),customToolTipContent:({active:K,payload:R})=>e.jsxRuntimeExports.jsx($t,{active:K,payload:R}),width:l,height:n,onCOABalancesRangeChanged:m,highlightedRange:s,isDetailPage:p===!0})}const bt=({chartData:t,timeframe:r,barElements:s,customToolTipContent:l,highlightedRange:n,width:c,height:p,showBarHoverBackground:m,isDetailPage:u,onCOABalancesRangeChanged:i})=>{const g=o.useWindowSizeContext(),h=e.useTheme(),d=t.timeseries,f=a.getCurrencySymbol(t),K=d.map($=>$.label),R=m!==!1,y=$=>{if(!u||$?.activePayload==null||$?.activePayload.length===0)return;const E=$.activePayload[0];if(E?.payload?.timeLabel?.label==null)return;const S=$.activeTooltipIndex,k=E.payload.timeLabel.label;if(n==null)return;const x=a.getXAxisSelectionRange(k,K,n.numberOfPeriods),j=x[1]===void 0?K.length-1:K.indexOf(x[1]),T={...n,thisPeriod:{startDate:d[j].startDate,endDate:d[j].endDate}};i?.(d[S],r,T)},v=u?(c-60)/a.maxXAxisItems.cash_in_cash_out*(a.maxXAxisItems.cash_in_cash_out-t.recordByTimeseries.length):20;return e.jsxRuntimeExports.jsx(Kt,{"data-testid":o.generateDataTestId("dashboard-cash-in-cash-out-timeframe",r),width:c,height:p,windowSize:g,children:e.jsxRuntimeExports.jsx(e.AutoSizer,{children:({height:$,width:E})=>e.jsxRuntimeExports.jsxs(e.BarChart,{data:t.recordByTimeseries,barCategoryGap:u?void 0:"12%",maxBarSize:u?o.sp[10]:22,barGap:u?void 0:2,margin:{top:5,right:v,left:0,bottom:o.sp[4]},height:$,width:E,style:{display:"flex",flex:"1 1 auto"},onClick:y,children:[e.jsxRuntimeExports.jsx(e.CartesianGrid,{horizontal:!0,vertical:!1,strokeWidth:.5,stroke:h.colors.grey3}),e.jsxRuntimeExports.jsx(e.XAxis,{dataKey:S=>S.timeLabel.label,type:"category",axisLine:{stroke:h.colors.grey3,strokeWidth:.5},tickLine:!1,tick:{color:h.colors.hero,...o.textStyles.extraSmallRegular.cssObject}}),e.jsxRuntimeExports.jsx(e.YAxis,{type:"number",axisLine:!1,tickLine:!1,tick:{color:h.colors.hero,...o.textStyles.extraSmallRegular.cssObject},tickFormatter:S=>o.amountValueToString("0,0.[00]a",S,f)}),e.jsxRuntimeExports.jsx(e.Tooltip$1,{wrapperStyle:{zIndex:2},cursor:R?{stroke:h.colors.background,strokeDasharray:"1, 1",strokeWidth:1,fill:h.colors.background}:!1,content:l,allowEscapeViewBox:{x:!1,y:!0}}),s,u?e.jsxRuntimeExports.jsx(e.Legend,{verticalAlign:"bottom",wrapperStyle:{width:"100%",display:"flex",justifyContent:"center",left:"initial",bottom:o.Space.sp0},formatter:S=>e.jsxRuntimeExports.jsx(vt,{windowSize:g,children:o.appLocale.getLocalizedStrings().chartCard.cashInCashOut[a.getIDFromChartValueKey(S)]})}):null]})})})},kt=C.div`
46
- display: flex;
47
- `,Bt=C.div`
48
- flex: display;
49
- opacity: 0.85;
50
- border-radius: ${o.Space.sp1};
51
- flex-direction: column;
52
- padding: ${o.Space.sp3};
53
- background-color: ${t=>t.theme.colors.black};
54
- `,Ot=C(o.StandardRegular)`
55
- color: ${t=>t.color??o.Colors.neutralGrey2Light};
56
- text-align: left;
57
- display: flex;
58
- align-items: center;
59
- justify-content: space-between;
60
- `,It=({active:t,payload:r})=>{const s=[];return r?.forEach(l=>{const n=l.name;if(t===!0){const c=l.payload,p=l.color,m=n!=null&&c.record[n]!=null?c.record[n].amount:void 0;s.push({barName:o.appLocale.getLocalizedStrings().reportTitleById.cash_position,value:m,color:p})}}),s},_t=t=>{const r=It(t);return r.length===0?null:e.jsxRuntimeExports.jsx(kt,{children:e.jsxRuntimeExports.jsx(Bt,{children:r.map((s,l)=>e.jsxRuntimeExports.jsx(Ot,{color:s.color,children:`${s.barName}: ${a.currencyFormatter(s.value)}`},s.barName+l))})})},wt=I.memo(_t),Ft=(t,r,s)=>{let l=[];s!=null&&s.balances.length>0&&(l=B.balancesSliceToCOABalancesWithKey("cash_position","actual",s));const n=a.getChartValueKey("cash_position","actual"),c={};return c[n]=l,l.length>0?z.toChartData(t,r,n,c):void 0},At=C.div`
61
- width: ${t=>t.width}px;
62
- height: ${t=>t.height}px;
63
- `,X=[a.getChartValueKey("cash_position","actual")];function Dt({selectedRangeReport:t,timeframe:r,highlightedRange:s,width:l,height:n,showBarHoverBackground:c,isDetailPage:p,onCOABalancesRangeChanged:m}){const u=e.useTheme(),i=I.useRef(!1);I.useEffect(()=>{i.current=!0},[]);const g=Ft(t.firstMonthOfFY,X,t.cashPosition),h=()=>{const d=[];return X.forEach(f=>{const K=p===!0&&!i.current;d.push(e.jsxRuntimeExports.jsx(e.Bar,{name:f,animationDuration:K?500:void 0,style:{cursor:"pointer"},dataKey:R=>{const y=R.record;return(y[f]!=null&&y[f].amount!=null?y[f].amount:void 0)?.amount??0},fill:u.colors.graphColor17},f))}),d};return g==null?null:e.jsxRuntimeExports.jsx(Lt,{chartData:g,timeframe:r,showBarHoverBackground:c,barElements:h(),customToolTipContent:({active:d,payload:f})=>e.jsxRuntimeExports.jsx(wt,{active:d,payload:f}),width:l,height:n,onCOABalancesRangeChanged:m,highlightedRange:s,isDetailPage:p===!0})}const Lt=({chartData:t,timeframe:r,barElements:s,customToolTipContent:l,highlightedRange:n,width:c,height:p,showBarHoverBackground:m,isDetailPage:u,onCOABalancesRangeChanged:i})=>{const g=e.useTheme(),h=t.timeseries,d=a.getCurrencySymbol(t),f=h.map(v=>v.label),K=m!==!1,R=v=>{if(!u||v?.activePayload==null||v?.activePayload.length===0)return;const $=v.activePayload[0];if($?.payload?.timeLabel?.label==null)return;const E=v.activeTooltipIndex,S=$.payload.timeLabel.label;if(n==null)return;const k=a.getXAxisSelectionRange(S,f,n.numberOfPeriods),x=k[1]===void 0?f.length-1:f.indexOf(k[1]),j={...n,thisPeriod:{startDate:h[x].startDate,endDate:h[x].endDate}};i?.(h[E],r,j)},y=u?(c-60)/a.maxXAxisItems.cash_position*(a.maxXAxisItems.cash_position-t.recordByTimeseries.length):20;return e.jsxRuntimeExports.jsx(At,{width:c,height:p,children:e.jsxRuntimeExports.jsx(e.AutoSizer,{children:({height:v,width:$})=>e.jsxRuntimeExports.jsxs(e.BarChart,{width:$,height:v,data:t.recordByTimeseries,barCategoryGap:"25%",maxBarSize:u?o.sp[10]:30,margin:{top:5,right:y,left:0,bottom:5},style:{display:"flex",flex:"1 1 auto"},onClick:R,children:[e.jsxRuntimeExports.jsx(e.CartesianGrid,{horizontal:!0,vertical:!1,strokeWidth:.5,stroke:g.colors.grey3}),e.jsxRuntimeExports.jsx(e.XAxis,{dataKey:E=>E.timeLabel.label,type:"category",axisLine:{stroke:g.colors.grey3,strokeWidth:.5},tickLine:!1,tick:{color:g.colors.hero,...o.textStyles.extraSmallRegular.cssObject}}),e.jsxRuntimeExports.jsx(e.YAxis,{type:"number",axisLine:!1,tickLine:!1,tick:{color:g.colors.hero,...o.textStyles.extraSmallRegular.cssObject},tickFormatter:E=>o.amountValueToString("0,0.[00]a",E,d)}),e.jsxRuntimeExports.jsx(e.Tooltip$1,{wrapperStyle:{zIndex:2},cursor:K?{stroke:g.colors.background,strokeDasharray:"1, 1",strokeWidth:1,fill:g.colors.background}:!1,content:l,allowEscapeViewBox:{x:!1,y:!0}}),s]})})})},zt=C.div`
64
- display: flex;
65
- `,Mt=C.div`
66
- display: flex;
67
- flex-direction: column;
68
- `,Nt=C.div`
69
- display: flex;
70
- background-color: ${t=>t.theme.colors.black};
71
- opacity: 0.85;
72
- border-radius: ${o.Space.sp1} ${o.Space.sp1} ${o.Space.sp0} ${o.Space.sp0};
73
- color: ${t=>t.theme.colors.grey1};
74
- padding: ${o.Space.sp3};
75
- `,M=C.div`
76
- flex: 1;
77
- text-align: right;
78
- `,Vt=C.div`
79
- width: 132px;
80
- `,ct=C.div`
81
- margin: ${o.Space.sp2} ${o.Space.sp0} ${o.Space.sp2} ${o.Space.sp0};
82
- width: 100%;
83
- height: 1px;
84
- background-color: ${o.Colors.neutralGrey3Dark};
85
- `,Gt=C.div`
86
- flex: display;
87
- opacity: 0.85;
88
- width: 200px;
89
- border-radius: ${o.Space.sp1};
90
- flex-direction: column;
91
- padding: ${o.Space.sp3};
92
- background-color: ${t=>t.theme.colors.black};
93
- `,Pt=C.div`
94
- flex: display;
95
- opacity: 0.85;
96
- width: 500px;
97
- border-radius: ${o.Space.sp0} ${o.Space.sp0} ${o.Space.sp1} ${o.Space.sp1};
98
- flex-direction: column;
99
- padding: ${o.Space.sp3};
100
- background-color: ${t=>t.theme.colors.black};
101
- `,lt=C(o.StandardRegular)`
102
- color: ${t=>t.color??o.Colors.neutralGrey2Light};
103
- text-align: left;
104
- display: flex;
105
- justify-content: space-between;
106
- ${t=>t.showPercent?"flex-start":"center"};
107
- `,it=C(o.StandardRegular)`
108
- background-color: ${t=>t.color};
109
- height: 12px;
110
- width: 12px;
111
- display: inline-block;
112
- margin-right: ${o.Space.sp2};
113
- `,Xt=C(o.StandardRegular)`
114
- text-align: left;
115
- `,Ht=C(o.StandardRegular)`
116
- text-align: left;
117
- width: 120px;
118
- `,Yt=C.div`
119
- display: flex;
120
- flex-direction: column;
121
- text-align: right;
122
- `,H=C(o.StandardRegularSp)`
123
- text-align: right;
124
- `,w=C(o.StandardRegularSp)`
125
- text-align: right;
126
- flex: 1;
127
- color: ${t=>t.isChange!=null&&t.isChange===!0?o.Colors.important:null};
128
- `,Y=C(o.StandardRegularSp)`
129
- display: flex;
130
- flex-direction: column;
131
- `,q=C(w)``,qt=(t,r)=>{const s=a.getChartValueKey(a.getIDFromChartValueKey(t),"forecast");if(r.record[s]==null)return;const l=r.record[t].amount,n=r.record[s].amount,c=Math.floor((l.amount-n.amount)*100/100),p={...l,amount:c},m=n.amount!==0?Math.floor((l.amount-n.amount)/n.amount*100)/100:void 0;return{value:n,change:p,percent:m,forecastPercent:r.record[s].percentValue}},Wt=({active:t,payload:r,mode:s})=>{const l=[],n={barName:o.appLocale.getLocalizedStrings().chartCard.netBurnOrIncome.gross_burn,actual:void 0,color:o.Colors.neutralGrey2Dark,forecast:void 0};let c={amount:0,currencyCode:"",currencySymbol:""},p={amount:0,currencyCode:"",currencySymbol:""};const m=a.getChartValueKey("income","actual"),u=a.getChartValueKey("cogs","actual"),i=a.getChartValueKey("expenses","actual"),g=a.getChartValueKey("net_burn_or_income","actual");return r?.forEach(h=>{const d=h.name;if(t===!0){const f=h.payload,K=h.color,R=d!=null&&f.record[d]!=null?f.record[d].amount:void 0;let y;if(d.includes("forecast")!==!0)switch(s==="forecast_mode"&&(y=f.record[d]!=null?qt(d,f):void 0),d){case u:case i:R!=null&&(c.currencyCode===""?c={...R}:c.amount=c.amount+R.amount),y!=null&&(p.currencyCode===""?p={...y.value}:p.amount=p.amount+y.value.amount),l.push({barName:o.appLocale.getLocalizedStrings().chartCard.netBurnOrIncome[a.getIDFromChartValueKey(d)],actual:R,forecast:y,color:K});break;case g:{const v=R!=null&&R.amount>=0?o.appLocale.getLocalizedStrings().chartCard.netBurnOrIncome.net_income:o.appLocale.getLocalizedStrings().chartCard.netBurnOrIncome.net_burn;l.push({barName:v,actual:R,color:K,percent:f.record[d]?.percentValue,forecast:y});break}case m:default:l.push({barName:o.appLocale.getLocalizedStrings().chartCard.netBurnOrIncome[a.getIDFromChartValueKey(d)],actual:R,color:K,forecast:y})}}}),n.actual=c,n.forecast=p!=null&&c!=null?{value:p,change:{...c,amount:Math.floor((c.amount-p.amount)*100/100)},percent:p.amount!==0?Math.floor((c.amount-p.amount)/p.amount*100)/100:0}:void 0,t===!0&&l.splice(l.length-1,0,n),l},W=t=>t.map((r,s)=>e.jsxRuntimeExports.jsxs(lt,{color:r.color,showPercent:r.percent!=null,children:[e.jsxRuntimeExports.jsxs(Xt,{children:[e.jsxRuntimeExports.jsx(it,{color:r.barName===o.appLocale.getLocalizedStrings().chartCard.netBurnOrIncome.gross_burn?"transparent":r.color}),`${r.barName}:`]}),e.jsxRuntimeExports.jsxs(Yt,{children:[e.jsxRuntimeExports.jsx(H,{children:`${a.currencyFormatter(r.actual)}`}),r.percent!=null?e.jsxRuntimeExports.jsx(H,{children:o.percentValueToString("0,0.0%",r.percent)}):null]})]},r.barName+s)),J=t=>t.map((r,s)=>e.jsxRuntimeExports.jsxs(lt,{color:r.color,showPercent:r.percent!=null,children:[e.jsxRuntimeExports.jsxs(Ht,{children:[e.jsxRuntimeExports.jsx(it,{color:r.barName===o.appLocale.getLocalizedStrings().chartCard.netBurnOrIncome.gross_burn?"transparent":r.color}),`${r.barName}:`]}),e.jsxRuntimeExports.jsx(w,{children:e.jsxRuntimeExports.jsxs(Y,{children:[r.actual!=null?`${a.currencyFormatter(r.actual)}`:"-",e.jsxRuntimeExports.jsx(q,{children:r.percent!=null?o.percentValueToString("0,0.0%",r.percent):null})]})}),e.jsxRuntimeExports.jsx(w,{children:e.jsxRuntimeExports.jsxs(Y,{children:[r.forecast!=null?`${a.currencyFormatter(r.forecast.value)}`:"-",e.jsxRuntimeExports.jsx(q,{children:r.forecast!=null&&r.forecast.forecastPercent!=null?o.percentValueToString("0,0.0%",r.forecast.forecastPercent):null})]})}),r.forecast!=null?e.jsxRuntimeExports.jsx(w,{isChange:!0,children:`${a.currencyFormatter(r.forecast.change)}`}):e.jsxRuntimeExports.jsx(w,{children:"-"}),r.forecast!=null?e.jsxRuntimeExports.jsx(w,{isChange:!0,children:o.percentValueToString("0,0.0%",r.forecast.percent)}):e.jsxRuntimeExports.jsx(w,{children:"-"})]},r.barName+s)),Jt=t=>{if(t.length>0){for(const r of t)if(r.actual!=null)return r.actual.currencySymbol}return""},Ut=({barLabelsWithValues:t})=>e.jsxRuntimeExports.jsxs(Mt,{children:[e.jsxRuntimeExports.jsxs(Nt,{children:[e.jsxRuntimeExports.jsx(Vt,{}),e.jsxRuntimeExports.jsx(M,{children:o.appLocale.getLocalizedStrings().chartCard.tooltip.actual}),e.jsxRuntimeExports.jsx(M,{children:o.appLocale.getLocalizedStrings().chartCard.tooltip.forecast}),e.jsxRuntimeExports.jsxs(M,{children:[o.appLocale.getLocalizedStrings().chartCard.tooltip.change," ",Jt(t)]}),e.jsxRuntimeExports.jsx(M,{children:o.appLocale.getLocalizedStrings().chartCard.tooltip.change_percent})]}),e.jsxRuntimeExports.jsxs(Pt,{children:[J(t.slice(0,t.length-2)),t.length?e.jsxRuntimeExports.jsx(ct,{}):null,J(t.slice(-2))]})]}),Qt=({barLabelsWithValues:t})=>e.jsxRuntimeExports.jsx(zt,{children:e.jsxRuntimeExports.jsxs(Gt,{children:[W(t.slice(0,t.length-2)),t.length?e.jsxRuntimeExports.jsx(ct,{}):null,W(t.slice(-2))]})}),Zt=t=>{const r=Wt({...t});return r.length===0?null:e.jsxRuntimeExports.jsx(e.jsxRuntimeExports.Fragment,{children:t.mode==="forecast_mode"?e.jsxRuntimeExports.jsx(Ut,{barLabelsWithValues:r}):e.jsxRuntimeExports.jsx(Qt,{barLabelsWithValues:r})})},te=I.memo(Zt),U=(t,r,s,l,n,c,p)=>{let m=[],u=[],i=[],g=[];l!=null&&l.balances.length>0&&(m=B.sectionToCOABalancesWithID("income","actual",l)),n!=null&&n.balances.length>0&&(u=B.sectionToCOABalancesWithID("cogs","actual",n)),c!=null&&c.balances.length>0&&(i=B.balancesSliceToCOABalancesWithKey("expenses","actual",c)),p!=null&&p.balances.length>0&&(g=B.calculatedSectionToCOABalancesWithKey("net_burn_or_income","actual",p));const h=a.getChartValueKey("income","actual"),d=a.getChartValueKey("cogs","actual"),f=a.getChartValueKey("expenses","actual"),K=a.getChartValueKey("net_burn_or_income","actual"),R=m.length>0?h:u.length>0?d:i.length>0?f:void 0,y={};return y[h]=m,y[d]=u,y[f]=i,y[K]=g,s==="forecast_mode"&&Object.assign(y,ee(l,n,c,p)),R!=null?z.toChartData(t,r,R,y):void 0},ee=(t,r,s,l)=>{let n=[],c=[],p=[],m=[];t!=null&&t.balances.length>0&&(n=B.sectionToCOABalancesWithID("income","forecast",t)),r!=null&&r.balances.length>0&&(c=B.sectionToCOABalancesWithID("cogs","forecast",r)),s!=null&&s.balances.length>0&&(p=B.balancesSliceToCOABalancesWithKey("expenses","forecast",s)),l!=null&&l.balances.length>0&&(m=B.calculatedSectionToCOABalancesWithKey("net_burn_or_income","forecast",l));const u=a.getChartValueKey("income","forecast"),i=a.getChartValueKey("cogs","forecast"),g=a.getChartValueKey("expenses","forecast"),h=a.getChartValueKey("net_burn_or_income","forecast"),d={};return d[u]=n,d[i]=c,d[g]=p,d[h]=m,d},oe=[a.getChartValueKey("income","actual"),a.getChartValueKey("cogs","actual"),a.getChartValueKey("expenses","actual"),a.getChartValueKey("net_burn_or_income","actual")],re=[a.getChartValueKey("income","actual"),a.getChartValueKey("cogs","actual"),a.getChartValueKey("expenses","actual"),a.getChartValueKey("net_burn_or_income","actual"),a.getChartValueKey("income","forecast"),a.getChartValueKey("cogs","forecast"),a.getChartValueKey("expenses","forecast"),a.getChartValueKey("net_burn_or_income","forecast")],ne=C.div`
132
- width: ${t=>t.width}px;
133
- height: ${t=>t.height}px;
134
-
135
- .recharts-legend-item {
136
- margin-right: ${t=>A.legendLabelMarginRight.valuePx(t.windowSize)} !important;
137
- :last-of-type {
138
- margin-right: ${o.Space.sp0} !important;
139
- }
140
- }
141
- `,se=C(o.ExtraSmallRegularSp)`
142
- margin-left: ${t=>A.legendLabelMarginLeft.valuePx(t.windowSize)};
143
- color: ${t=>t.theme.colors.primary};
144
- `;function ae({selectedRangeReport:t,timeframe:r,highlightedRange:s,width:l,height:n,showBarHoverBackground:c,isDetailPage:p,mode:m,onCOABalancesRangeChanged:u}){const i=e.useTheme(),g=I.useRef(!1);I.useEffect(()=>{g.current=!0},[]);const h=[i.colors.graphColor36,i.colors.graphColor06,i.colors.graphColor31,i.colors.graphColor12],d=[i.colors.graphColor04,i.colors.graphColor10,i.colors.graphColor32,i.colors.graphColor13,i.colors.graphColor04Dark,i.colors.graphColor10Dark,i.colors.graphColor32Dark,i.colors.graphColor13Dark],f=m==="forecast_mode"?d:h,K=m==="forecast_mode"?re:oe,R=(x,j=i.colors.graphColor04)=>x<f.length?f[x]:j,y=(t.reportId==="net_burn_or_income",U(t.firstMonthOfFY,K,m,t.sections.income,t.sections.cogs,t.sections.expenses,t.calculatedSections.netBurnOrIncome)),v=x=>{const{cx:j,cy:T,fill:b,stroke:O,value:_}=x;return _==null?e.jsxRuntimeExports.jsx(e.jsxRuntimeExports.Fragment,{}):e.jsxRuntimeExports.jsx("circle",{cx:j,cy:T,r:4,stroke:b,strokeWidth:2,fill:O})},$=x=>{const{cx:j,cy:T,fill:b,stroke:O,value:_}=x;return _==null?e.jsxRuntimeExports.jsx(e.jsxRuntimeExports.Fragment,{}):e.jsxRuntimeExports.jsx("circle",{cx:j,cy:T,r:5,stroke:O,strokeWidth:2,fill:b})},E=(x,j)=>e.jsxRuntimeExports.jsx(e.Line,{name:x,type:"monotone",legendType:"plainline",isAnimationActive:!1,dataKey:T=>{const b=T.record;return(b[x]!=null&&b[x].amount!=null?b[x].amount:void 0)?.amount},dot:e.jsxRuntimeExports.jsx(v,{}),strokeWidth:1.5,stroke:R(j),strokeDasharray:"3 3",activeDot:e.jsxRuntimeExports.jsx($,{})},x),S=(x,j,T)=>e.jsxRuntimeExports.jsx(e.Bar,{name:x,animationDuration:T?500:void 0,style:{cursor:"pointer"},legendType:"square",dataKey:b=>{const O=b.record;return(O[x]!=null&&O[x].amount!=null?O[x].amount:void 0)?.amount??0},fill:R(j)},x),k=()=>{const x=[];return K.forEach((j,T)=>{const b=p===!0&&!g.current;j.endsWith("_forecast")?x.push(E(j,T)):x.push(S(j,T,b))}),x};return y==null?null:e.jsxRuntimeExports.jsx(ce,{chartData:y,timeframe:r,showBarHoverBackground:c,barElements:k(),customToolTipContent:({active:x,payload:j})=>e.jsxRuntimeExports.jsx(te,{active:x,payload:j,mode:m}),width:l,height:n,onCOABalancesRangeChanged:u,highlightedRange:s,isDetailPage:p===!0})}const ce=({chartData:t,timeframe:r,barElements:s,customToolTipContent:l,highlightedRange:n,width:c,height:p,showBarHoverBackground:m,isDetailPage:u,onCOABalancesRangeChanged:i})=>{const g=o.useWindowSizeContext(),h=e.useTheme(),d=a.getCurrencySymbol(t),f=t.timeseries,K=f.map($=>$.label),R=m!==!1,y=$=>{if(!u||$?.activePayload==null||$?.activePayload.length===0)return;const E=$.activePayload[0];if(E?.payload?.timeLabel?.label==null)return;const S=$.activeTooltipIndex,k=E.payload.timeLabel.label;if(n==null)return;const x=a.getXAxisSelectionRange(k,K,n.numberOfPeriods),j=x[1]===void 0?K.length-1:K.indexOf(x[1]),T={...n,thisPeriod:{startDate:f[j].startDate,endDate:f[j].endDate}};i?.(f[S],r,T)},v=u?(c-60)/a.maxXAxisItems.net_burn_or_income*(a.maxXAxisItems.net_burn_or_income-t.recordByTimeseries.length):20;return e.jsxRuntimeExports.jsx(ne,{width:c,height:p,windowSize:g,children:e.jsxRuntimeExports.jsx(e.AutoSizer,{children:({height:$,width:E})=>e.jsxRuntimeExports.jsxs(e.ComposedChart,{data:t.recordByTimeseries,barCategoryGap:u?void 0:"12%",maxBarSize:u?o.sp[10]:22,barGap:u?void 0:2,margin:{top:5,right:v,left:0,bottom:o.sp[4]},height:$,width:E,style:{display:"flex",flex:"1 1 auto"},onClick:y,children:[e.jsxRuntimeExports.jsx(e.CartesianGrid,{horizontal:!0,vertical:!1,strokeWidth:.5,stroke:h.colors.grey3}),e.jsxRuntimeExports.jsx(e.XAxis,{dataKey:S=>S.timeLabel.label,type:"category",axisLine:{stroke:h.colors.grey3,strokeWidth:.5},tickLine:!1,tick:{color:h.colors.hero,...o.textStyles.extraSmallRegular.cssObject}}),e.jsxRuntimeExports.jsx(e.YAxis,{type:"number",axisLine:!1,tickLine:!1,tick:{color:h.colors.hero,...o.textStyles.extraSmallRegular.cssObject},tickFormatter:S=>o.amountValueToString("0,0.[00]a",S,d)}),e.jsxRuntimeExports.jsx(e.Tooltip$1,{wrapperStyle:{zIndex:2},cursor:R?{stroke:h.colors.background,strokeWidth:(E-60)/a.maxXAxisItems.net_burn_or_income,fill:h.colors.background}:!1,content:l,allowEscapeViewBox:{x:!1,y:!0}}),s,u?e.jsxRuntimeExports.jsx(e.Legend,{verticalAlign:"bottom",wrapperStyle:{width:"100%",display:"flex",justifyContent:"center",left:"initial",bottom:o.Space.sp0},iconSize:o.sp[3],formatter:S=>e.jsxRuntimeExports.jsx(se,{windowSize:g,children:S.endsWith("_forecast")===!0?o.appLocale.getLocalizedStrings().chartCard.netBurnOrIncome[S]:o.appLocale.getLocalizedStrings().chartCard.netBurnOrIncome[a.getIDFromChartValueKey(S)]})}):null]})})})},le=C.div`
145
- display: flex;
146
- `,ie=C.div`
147
- flex: display;
148
- opacity: 0.85;
149
- border-radius: ${o.Space.sp1};
150
- flex-direction: column;
151
- padding: ${o.Space.sp3};
152
- background-color: ${t=>t.theme.colors.black};
153
- `,Q=C(o.StandardRegular)`
154
- color: ${t=>t.color??o.Colors.neutralGrey2Light};
155
- text-align: left;
156
- `,N=C.div`
157
- flex: 1;
158
- text-align: right;
159
- `,ue=C.div`
160
- width: 162px;
161
- `,ut=C.div`
162
- margin: ${o.Space.sp2} ${o.Space.sp0} ${o.Space.sp2} ${o.Space.sp0};
163
- width: 100%;
164
- height: 1px;
165
- background-color: ${o.Colors.neutralGrey3Dark};
166
- `,pe=C(o.StandardRegular)`
167
- color: ${t=>t.color??o.Colors.neutralGrey2Light};
168
- text-align: left;
169
- display: flex;
170
- justify-content: space-between;
171
- `,xe=C.div`
172
- display: flex;
173
- flex-direction: column;
174
- `,me=C.div`
175
- display: flex;
176
- background-color: ${t=>t.theme.colors.black};
177
- opacity: 0.85;
178
- border-radius: ${o.Space.sp1} ${o.Space.sp1} ${o.Space.sp0} ${o.Space.sp0};
179
- color: ${t=>t.theme.colors.grey1};
180
- padding: ${o.Space.sp3};
181
- `,de=C.div`
182
- flex: display;
183
- opacity: 0.85;
184
- width: 500px;
185
- border-radius: ${o.Space.sp0} ${o.Space.sp0} ${o.Space.sp1} ${o.Space.sp1};
186
- flex-direction: column;
187
- padding: ${o.Space.sp3};
188
- background-color: ${t=>t.theme.colors.black};
189
- `,he=C(o.StandardRegular)`
190
- text-align: left;
191
- width: 162px;
192
- `,D=C(o.StandardRegularSp)`
193
- text-align: right;
194
- flex: 1;
195
- `,ge=({active:t,payload:r,barName:s})=>{const l=[];if(r!=null&&t===!0){const n=r.filter(u=>u.name==s)[0],c=n.payload,p=n.color,m=s!=null&&c.record[s]!=null?c.record[s].amount:void 0;if(!s?.endsWith("_forecast")){let u;if(s.includes("forecast")!==!0){u=c.record[s]!=null?Ce(s,c):void 0;const i={amount:0,currencyCode:"",currencySymbol:""},g={amount:0,currencyCode:"",currencySymbol:""};let h;for(h in c.record){const y=c.record[h].amount;h.endsWith("_actual")?(i.amount+=c.record[h].amount?.amount??0,i.currencyCode=y!=null?y.currencyCode:i.currencyCode,i.currencySymbol=y!=null?y.currencySymbol:i.currencySymbol):h.endsWith("_forecast")&&(g.amount+=c.record[h].amount?.amount??0,g.currencyCode=y!=null?y.currencyCode:g.currencyCode,g.currencySymbol=y!=null?y.currencySymbol:g.currencySymbol)}const d=Math.floor((i?.amount-g?.amount)*100/100),f={...i,amount:d},K=g.amount!==0?Math.floor((i.amount-g.amount)/g.amount*100)/100:0,R={value:g,change:f,percent:K};l.push({barName:a.getIDFromChartValueKey(s),actual:m,forecast:u,color:p}),l.push({barName:o.appLocale.getLocalizedStrings().chartCard.total,actual:i,forecast:R,color:o.Colors.neutralGrey1Light})}}}return l},Ce=(t,r)=>{const s=a.getChartValueKey(a.getIDFromChartValueKey(t),"forecast");if(r.record[s]==null)return;const l=r.record[t].amount,n=r.record[s].amount,c={...l,amount:n!=null?Math.floor((l.amount-n.amount)*100/100):l.amount},p=n!=null&&n.amount!==0?Math.floor((l.amount-n.amount)/n.amount*100)/100:void 0;return{value:n,change:c,percent:p}},Z=t=>e.jsxRuntimeExports.jsxs(pe,{color:t.color,children:[e.jsxRuntimeExports.jsx(he,{children:`${t.barName}:`}),e.jsxRuntimeExports.jsx(D,{children:t.actual!=null?`${a.currencyFormatter(t.actual)}`:"-"}),e.jsxRuntimeExports.jsx(D,{children:t.forecast!=null?`${a.currencyFormatter(t.forecast.value)}`:"-"}),t.forecast!=null?e.jsxRuntimeExports.jsx(D,{isChange:!0,children:`${a.currencyFormatter(t.forecast.change)}`}):e.jsxRuntimeExports.jsx(D,{children:"-"}),t.forecast!=null?e.jsxRuntimeExports.jsx(D,{isChange:!0,children:o.percentValueToString("0,0.0%",t.forecast.percent)}):e.jsxRuntimeExports.jsx(D,{children:"-"})]}),fe=t=>{if(t.length>0){for(const r of t)if(r.actual!=null)return r.actual.currencySymbol}return""},ye=({barLabelsWithValues:t})=>e.jsxRuntimeExports.jsx(le,{children:e.jsxRuntimeExports.jsxs(ie,{children:[e.jsxRuntimeExports.jsx(Q,{color:t[0].color,children:`${t[0].barName}: ${a.currencyFormatter(t[0].actual)}`}),e.jsxRuntimeExports.jsx(ut,{}),e.jsxRuntimeExports.jsx(Q,{children:`${o.appLocale.getLocalizedStrings().chartCard.total}: ${a.currencyFormatter(t[1].actual)}`})]})}),je=({barLabelsWithValues:t})=>e.jsxRuntimeExports.jsxs(xe,{children:[e.jsxRuntimeExports.jsxs(me,{children:[e.jsxRuntimeExports.jsx(ue,{}),e.jsxRuntimeExports.jsx(N,{children:o.appLocale.getLocalizedStrings().chartCard.tooltip.actual}),e.jsxRuntimeExports.jsx(N,{children:o.appLocale.getLocalizedStrings().chartCard.tooltip.forecast}),e.jsxRuntimeExports.jsxs(N,{children:[o.appLocale.getLocalizedStrings().chartCard.tooltip.change," ",fe(t)]}),e.jsxRuntimeExports.jsx(N,{children:o.appLocale.getLocalizedStrings().chartCard.tooltip.change_percent})]}),e.jsxRuntimeExports.jsxs(de,{children:[Z(t[0]),e.jsxRuntimeExports.jsx(ut,{}),Z(t[1])]})]}),Se=t=>{const r=ge({...t});return r.length===0?null:e.jsxRuntimeExports.jsx(e.jsxRuntimeExports.Fragment,{children:t.mode==="forecast_mode"?e.jsxRuntimeExports.jsx(je,{barLabelsWithValues:r}):e.jsxRuntimeExports.jsx(ye,{barLabelsWithValues:r})})},Ee=I.memo(Se),$e=(t,r)=>{const s=[],l={};let n;return r!=null&&r.classes.length!=0&&r.classes.forEach(c=>{const p=B.balancesSliceToCOABalancesWithKey(c.class.className,"actual",c.childrenBalancesTotal),m=a.getChartValueKey(c.class.className,"actual");l[m]=p,s.push(m),n==null&&p.length>0&&(n=a.getChartValueKey(c.class.className,"actual"))}),n!=null?z.toChartData(t,s,n,l):void 0},tt=[o.Colors.graphColor34,o.Colors.graphColor05,o.Colors.graphColor08,o.Colors.graphColor11,o.Colors.graphColor13,o.Colors.graphColor19,o.Colors.graphColor29,o.Colors.graphColor28,o.Colors.graphColor20,o.Colors.graphColor21,o.Colors.graphColor22,o.Colors.graphColor14,o.Colors.graphColor35,o.Colors.graphColor31,o.Colors.graphColor33,o.Colors.graphColor32,o.Colors.graphColor36,o.Colors.graphColor02,o.Colors.graphColor06,o.Colors.graphColor04,o.Colors.graphColor10,o.Colors.graphColor12,o.Colors.graphColor15,o.Colors.graphColor18,o.Colors.graphColor17,o.Colors.graphColor07,o.Colors.graphColor34Dark,o.Colors.graphColor05Dark,o.Colors.graphColor08Dark,o.Colors.graphColor11Dark,o.Colors.graphColor13Dark,o.Colors.graphColor19Dark,o.Colors.graphColor29Dark,o.Colors.graphColor28Dark,o.Colors.graphColor20Dark,o.Colors.graphColor21Dark,o.Colors.graphColor22Dark,o.Colors.graphColor14Dark,o.Colors.graphColor35Dark,o.Colors.graphColor31Dark,o.Colors.graphColor33Dark,o.Colors.graphColor32Dark,o.Colors.graphColor36Dark,o.Colors.graphColor02Dark,o.Colors.graphColor06Dark,o.Colors.graphColor04Dark,o.Colors.graphColor10Dark,o.Colors.graphColor12Dark,o.Colors.graphColor15Dark,o.Colors.graphColor18Dark,o.Colors.graphColor17Dark,o.Colors.graphColor07Dark];class F{_barColors;_barColorsKeyWise;_defaultColor;constructor(){this._defaultColor=o.Colors.graphColor34,this._barColors=tt.slice(),this._barColorsKeyWise=new Map}static#t=new F;getBarColor(r){const s=F.instance();return s._barColorsKeyWise.has(r)||(s._barColors.length===0&&(s._barColors=tt.slice()),s._barColorsKeyWise.set(r,s._barColors.shift()??s._defaultColor)),s._barColorsKeyWise.get(r)}shouldUpdate(r){const s=F.instance(),l=Array.from(s._barColorsKeyWise.keys()).sort();return!e.isEqual(l,r)}static init(){return this.#t=new F,this.#t}static instance(){return this.#t}}const Re=F.instance(),Ke=(t,r,s)=>{const l=[],n={};let c,p=!1;if(s!=null&&s.accountGroups.length!=0?s.accountGroups.forEach(m=>{const u=B.balancesSliceToCOABalancesWithKey(m.accountGroupName,"actual",m),i=a.getChartValueKey(m.accountGroupName,"actual");n[i]=u,l.push(i),c==null&&u.length>0&&(c=a.getChartValueKey(m.accountGroupName,"actual"))}):s!=null&&s.accounts.length!=0&&(p=!0,s.accounts.forEach(m=>{const u=B.balancesSliceToCOABalancesWithKey(m.account.accountName,"actual",m.account.balancesInTimeframe),i=a.getChartValueKey(m.account.accountName,"actual");n[i]=u,l.push(i),c==null&&u.length>0&&(c=a.getChartValueKey(m.account.accountName,"actual"))})),s!=null&&s.accountGroups.length===0&&s.accounts.length===0){const m=o.appLocale.getLocalizedStrings().chartCard.total,u=B.balancesSliceToCOABalancesWithKey(m,"actual",s);if(u.length!==0){const i=a.getChartValueKey(m,"actual");n[i]=u,c=i,l.push(i)}}return r==="forecast_mode"&&Object.assign(n,ve(l,s)),c!=null?z.toChartData(t,l,c,n,p):void 0},ve=(t,r)=>{const s={};let l;if(r!=null&&r.accountGroups.length!=0?r.accountGroups.forEach(n=>{const c=B.balancesSliceToCOABalancesWithKey(n.accountGroupName,"forecast",n),p=a.getChartValueKey(n.accountGroupName,"forecast");s[p]=c,t.push(p),l==null&&c.length>0&&(l=a.getChartValueKey(n.accountGroupName,"forecast"))}):r!=null&&r.accounts.length!=0&&r.accounts.forEach(n=>{const c=B.balancesSliceToCOABalancesWithKey(n.account.accountName,"forecast",n.account.balancesInTimeframe),p=a.getChartValueKey(n.account.accountName,"forecast");s[p]=c,t.push(p),l==null&&c.length>0&&(l=a.getChartValueKey(n.account.accountName,"forecast"))}),r!=null&&r.accountGroups.length===0&&r.accounts.length===0){const n=o.appLocale.getLocalizedStrings().chartCard.total,c=B.balancesSliceToCOABalancesWithKey(n,"forecast",r);if(c.length!==0){const p=a.getChartValueKey(n,"forecast");s[p]=c,l=p,t.push(p)}}return s},Te=C.div`
196
- width: ${t=>t.width}px;
197
- height: ${t=>t.height}px;
198
- `,be=t=>{const{cx:r,cy:s,fill:l,stroke:n,value:c}=t;return c==null?e.jsxRuntimeExports.jsx(e.jsxRuntimeExports.Fragment,{}):e.jsxRuntimeExports.jsx("circle",{cx:r,cy:s,r:4,stroke:l,strokeWidth:2,fill:n})},ke=t=>{const{cx:r,cy:s,fill:l,stroke:n,value:c}=t;return c==null?e.jsxRuntimeExports.jsx(e.jsxRuntimeExports.Fragment,{}):e.jsxRuntimeExports.jsx("circle",{cx:r,cy:s,r:5,stroke:n,strokeWidth:2,fill:l})};function Be({selectedRangeReport:t,timeframe:r,highlightedRange:s,width:l,height:n,showBarHoverBackground:c,isDetailPage:p,mode:m,onCOABalancesRangeChanged:u}){const i=I.useRef(!1),[g,h]=I.useState(Re),[d,f]=I.useState(void 0),K=e.useTheme(),R=I.useRef([]);I.useEffect(()=>{i.current=!0},[]),I.useEffect(()=>{g.shouldUpdate(R.current)===!0&&h(F.init())},[]),I.useEffect(()=>{let E=[];if(t.reportId==="operating_expenses"){const S=t.sections.expenses;S.accountGroups.length===0&&S.accounts.length===0?E.push(o.appLocale.getLocalizedStrings().chartCard.total):S.accountGroups.length!=0?E=S.accountGroups.map(k=>k.accountGroupName).sort():E=S.accounts.map(k=>k.account).map(k=>k.accountName).sort()}else E=t.sections.expenses.classes.map(S=>S.class.className).sort();R.current=E},[t,g]);const y=I.useMemo(()=>t.reportId==="operating_expenses"?Ke(t.firstMonthOfFY,m,t.sections.expenses):$e(t.firstMonthOfFY,t.sections.expenses),[t,m]),v=I.useCallback(()=>{const E=x=>e.jsxRuntimeExports.jsx(e.Line,{name:x,type:"monotone",legendType:"plainline",isAnimationActive:!1,dot:e.jsxRuntimeExports.jsx(be,{}),activeDot:e.jsxRuntimeExports.jsx(ke,{}),dataKey:j=>{const T=j.record;let b,O;for(O in T)if(O.endsWith("_forecast")){const _=T[O].amount;_!=null&&(b==null?b={..._}:b.amount+=_.amount)}return b?.amount},stroke:K.colors.grey1,strokeDasharray:"3 3",strokeWidth:1.5},x),S=(x,j)=>e.jsxRuntimeExports.jsx(e.Bar,{name:x,animationDuration:j?500:void 0,style:{cursor:"pointer"},dataKey:T=>{const b=T.record;return(b[x]!=null&&b[x].amount!=null?b[x].amount:void 0)?.amount??0},stackId:"a",fill:g.getBarColor(a.getIDFromChartValueKey(x)),onMouseEnter:()=>{d!==x&&f(x)},onMouseLeave:()=>{d!=null&&f(void 0)}},x),k=[];return y?.orderedKeys.forEach(x=>{const j=!i.current;x.endsWith("_forecast")?k.push(E(x)):k.push(S(x,j))}),k},[y]),$=({active:E,payload:S})=>S?.find(x=>x.name===d)!=null&&d!=null&&E===!0?e.jsxRuntimeExports.jsx(Ee,{active:E,payload:S,mode:m,barName:d}):null;return y==null?null:e.jsxRuntimeExports.jsx(Oe,{chartData:y,timeframe:r,showBarHoverBackground:c,barElements:v(),customToolTipContent:e.jsxRuntimeExports.jsx($,{}),width:l,height:n,onCOABalancesRangeChanged:u,highlightedRange:s,isDetailPage:p===!0})}const Oe=({chartData:t,timeframe:r,barElements:s,customToolTipContent:l,highlightedRange:n,width:c,height:p,showBarHoverBackground:m,isDetailPage:u,onCOABalancesRangeChanged:i})=>{const g=e.useTheme(),h=a.getCurrencySymbol(t),d=t.timeseries,f=d.map(v=>v.label),K=m!==!1,R=v=>{if(!u||v?.activePayload==null||v?.activePayload.length===0)return;const $=v.activePayload[0];if($?.payload?.timeLabel?.label==null)return;const E=v.activeTooltipIndex,S=$.payload.timeLabel.label;if(n==null)return;const k=a.getXAxisSelectionRange(S,f,n.numberOfPeriods),x=k[1]===void 0?f.length-1:f.indexOf(k[1]),j={...n,thisPeriod:{startDate:d[x].startDate,endDate:d[x].endDate}};i?.(d[E],r,j)},y=u?(c-60)/a.maxXAxisItems.operating_expenses*(a.maxXAxisItems.operating_expenses-t.recordByTimeseries.length):20;return e.jsxRuntimeExports.jsx(Te,{width:c,height:p,children:e.jsxRuntimeExports.jsx(e.AutoSizer,{children:({height:v,width:$})=>e.jsxRuntimeExports.jsxs(e.ComposedChart,{width:$,height:v,stackOffset:"sign",data:t.recordByTimeseries,barCategoryGap:"25%",maxBarSize:u?o.sp[10]:30,margin:{top:5,right:y,left:0,bottom:5},style:{display:"flex",flex:"1 1 auto"},onClick:R,children:[e.jsxRuntimeExports.jsx(e.CartesianGrid,{horizontal:!0,vertical:!1,strokeWidth:.5,stroke:g.colors.grey3}),e.jsxRuntimeExports.jsx(e.XAxis,{dataKey:E=>E.timeLabel.label,type:"category",axisLine:{stroke:g.colors.grey3,strokeWidth:.5},tickLine:!1,tick:{color:g.colors.hero,...o.textStyles.extraSmallRegular.cssObject}}),e.jsxRuntimeExports.jsx(e.YAxis,{type:"number",axisLine:!1,tickLine:!1,tick:{color:g.colors.hero,...o.textStyles.extraSmallRegular.cssObject},tickFormatter:E=>o.amountValueToString("0,0.[00]a",E,h)}),e.jsxRuntimeExports.jsx(e.Tooltip$1,{wrapperStyle:{zIndex:2},cursor:K?{stroke:g.colors.background,strokeWidth:($-60)/a.maxXAxisItems.operating_expenses,fill:g.colors.background}:!1,content:l,allowEscapeViewBox:{x:!1,y:!0}}),s]})})})},Ie=C.div`
199
- display: flex;
200
- `,_e=C.div`
201
- display: flex;
202
- flex-direction: column;
203
- `,we=C.div`
204
- display: flex;
205
- background-color: ${t=>t.theme.colors.black};
206
- opacity: 0.85;
207
- border-radius: ${o.Space.sp1} ${o.Space.sp1} ${o.Space.sp0} ${o.Space.sp0};
208
- color: ${t=>t.theme.colors.grey1};
209
- padding: ${o.Space.sp3};
210
- `,V=C.div`
211
- flex: 1;
212
- text-align: right;
213
- `,Fe=C.div`
214
- width: 132px;
215
- `,Ae=C.div`
216
- flex: display;
217
- opacity: 0.85;
218
- width: 500px;
219
- border-radius: ${o.Space.sp0} ${o.Space.sp0} ${o.Space.sp1} ${o.Space.sp1};
220
- flex-direction: column;
221
- padding: ${o.Space.sp3};
222
- background-color: ${t=>t.theme.colors.black};
223
- `,De=C(o.StandardRegular)`
224
- text-align: left;
225
- width: 120px;
226
- `,pt=C.div`
227
- margin: ${o.Space.sp2} ${o.Space.sp0} ${o.Space.sp2} ${o.Space.sp0};
228
- width: 100%;
229
- height: 1px;
230
- background-color: ${o.Colors.neutralGrey3Dark};
231
- `,Le=C.div`
232
- flex: display;
233
- opacity: 0.85;
234
- width: 210px;
235
- border-radius: ${o.Space.sp1};
236
- flex-direction: column;
237
- padding: ${o.Space.sp3};
238
- background-color: ${t=>t.theme.colors.black};
239
- `,xt=C(o.StandardRegular)`
240
- color: ${t=>t.color??o.Colors.neutralGrey2Light};
241
- text-align: left;
242
- display: flex;
243
- justify-content: space-between;
244
- ${t=>t.showPercent?"flex-start":"center"};
245
- `,mt=C(o.StandardRegular)`
246
- background-color: ${t=>t.color};
247
- height: 12px;
248
- width: 12px;
249
- display: inline-block;
250
- margin-right: ${o.Space.sp2};
251
- `,ze=C(o.StandardRegular)`
252
- text-align: left;
253
- `,Me=C.div`
254
- display: flex;
255
- flex-direction: column;
256
- text-align: right;
257
- `,et=C(o.StandardRegularSp)`
258
- text-align: right;
259
- `,L=C(o.StandardRegularSp)`
260
- text-align: right;
261
- flex: 1;
262
- color: ${t=>t.isChange!=null&&t.isChange===!0?o.Colors.important:null};
263
- `,ot=C(o.StandardRegularSp)`
264
- display: flex;
265
- flex-direction: column;
266
- `,rt=C(o.StandardRegularSp)``,Ne=(t,r)=>{const s=a.getChartValueKey(a.getIDFromChartValueKey(t),"forecast");if(r.record[s]==null)return;const l=r.record[t].amount,n=r.record[s].amount,c={...l,amount:Math.floor((l.amount-n.amount)*100/100)},p=n.amount!==0?Math.floor((l.amount-n.amount)/n.amount*100)/100:void 0;return{value:n,change:c,percent:p,forecastPercent:r.record[s].percentValue}},Ve=({active:t,payload:r,mode:s})=>{const l=[];let n={amount:0,currencyCode:""},c={amount:0,currencyCode:""};const p=a.getChartValueKey("gross_margin","actual");return r?.forEach(m=>{const u=m.name;if(t===!0){const i=m.payload,g=m.color,h=u!=null&&i.record[u]!=null?i.record[u].amount:void 0;let d;if(u.includes("forecast")!==!0)switch(s==="forecast_mode"&&(d=i.record[u]!=null?Ne(u,i):void 0),u){case p:h!=null&&(n.currencyCode===""?n={...h}:n.amount=n.amount+h.amount),d!=null&&(c.currencyCode===""?c={...d.value}:c.amount=c.amount+d.value.amount),l.push({barName:o.appLocale.getLocalizedStrings().chartCard.revenue[a.getIDFromChartValueKey(u)],actual:h,forecast:d,percent:i.record[u]!=null?i.record[u].percentValue??0:0,color:g});break;default:l.push({barName:o.appLocale.getLocalizedStrings().chartCard.revenue[a.getIDFromChartValueKey(u)],actual:h,color:g,forecast:d});break}}}),l},nt=t=>t.map((r,s)=>e.jsxRuntimeExports.jsxs(xt,{color:r.color,showPercent:r.percent!=null,children:[e.jsxRuntimeExports.jsxs(ze,{children:[e.jsxRuntimeExports.jsx(mt,{color:r.color}),`${r.barName}:`]}),e.jsxRuntimeExports.jsxs(Me,{children:[e.jsxRuntimeExports.jsx(et,{children:`${a.currencyFormatter(r.actual)}`}),r.percent!=null?e.jsxRuntimeExports.jsx(et,{children:o.percentValueToString("0,0.0%",r.percent)}):null]})]},r.barName+s)),st=t=>t.map((r,s)=>e.jsxRuntimeExports.jsxs(xt,{color:r.color,showPercent:r.percent!=null,children:[e.jsxRuntimeExports.jsxs(De,{children:[e.jsxRuntimeExports.jsx(mt,{color:r.color}),`${r.barName}:`]}),e.jsxRuntimeExports.jsx(L,{children:e.jsxRuntimeExports.jsxs(ot,{children:[r.actual!=null?`${a.currencyFormatter(r.actual)}`:"-",e.jsxRuntimeExports.jsx(rt,{children:r.percent!=null?o.percentValueToString("0,0.0%",r.percent):null})]})}),e.jsxRuntimeExports.jsx(L,{children:e.jsxRuntimeExports.jsxs(ot,{children:[r.forecast!=null?`${a.currencyFormatter(r.forecast.value)}`:"-",e.jsxRuntimeExports.jsx(rt,{children:r.forecast!=null&&r.forecast.forecastPercent!=null?o.percentValueToString("0,0.0%",r.forecast.forecastPercent):null})]})}),r.forecast!=null?e.jsxRuntimeExports.jsx(L,{isChange:!0,children:`${a.currencyFormatter(r.forecast.change)}`}):e.jsxRuntimeExports.jsx(L,{children:"-"}),r.forecast!=null?e.jsxRuntimeExports.jsx(L,{isChange:!0,children:o.percentValueToString("0,0.0%",r.forecast.percent)}):e.jsxRuntimeExports.jsx(L,{children:"-"})]},r.barName+s)),Ge=t=>{if(t.length>0){for(const r of t)if(r.actual!=null)return r.actual.currencySymbol}return""},Pe=({barLabelsWithValues:t})=>e.jsxRuntimeExports.jsxs(_e,{children:[e.jsxRuntimeExports.jsxs(we,{children:[e.jsxRuntimeExports.jsx(Fe,{}),e.jsxRuntimeExports.jsx(V,{children:o.appLocale.getLocalizedStrings().chartCard.tooltip.actual}),e.jsxRuntimeExports.jsx(V,{children:o.appLocale.getLocalizedStrings().chartCard.tooltip.forecast}),e.jsxRuntimeExports.jsxs(V,{children:[o.appLocale.getLocalizedStrings().chartCard.tooltip.change," ",Ge(t)]}),e.jsxRuntimeExports.jsx(V,{children:o.appLocale.getLocalizedStrings().chartCard.tooltip.change_percent})]}),e.jsxRuntimeExports.jsxs(Ae,{children:[st(t.slice(0,t.length-1)),t.length?e.jsxRuntimeExports.jsx(pt,{}):null,st(t.slice(-1))]})]}),Xe=({barLabelsWithValues:t})=>e.jsxRuntimeExports.jsx(Ie,{children:e.jsxRuntimeExports.jsxs(Le,{children:[nt(t.slice(0,t.length-1)),t.length?e.jsxRuntimeExports.jsx(pt,{}):null,nt(t.slice(-1))]})}),He=t=>{const r=Ve({...t});return r.length===0?null:e.jsxRuntimeExports.jsx(e.jsxRuntimeExports.Fragment,{children:t.mode==="forecast_mode"?e.jsxRuntimeExports.jsx(Pe,{barLabelsWithValues:r}):e.jsxRuntimeExports.jsx(Xe,{barLabelsWithValues:r})})},Ye=I.memo(He),at=(t,r,s,l,n,c)=>{let p=[],m=[],u=[];l!=null&&l.balances.length>0&&(p=B.sectionToCOABalancesWithID("income","actual",l)),n!=null&&n.balances.length>0&&(m=B.sectionToCOABalancesWithID("cogs","actual",n)),c!=null&&c.balances.length>0&&(u=B.calculatedSectionToCOABalancesWithKey("gross_margin","actual",c));const i=a.getChartValueKey("income","actual"),g=a.getChartValueKey("cogs","actual"),h=a.getChartValueKey("gross_margin","actual"),d=p.length>0?i:m.length>0?g:h,f={};return f[i]=p,f[g]=m,f[h]=u,s==="forecast_mode"&&Object.assign(f,qe(l,n,c)),d!=null?z.toChartData(t,r,d,f):void 0},qe=(t,r,s)=>{let l=[],n=[],c=[];t!=null&&t.balances.length>0&&(l=B.sectionToCOABalancesWithID("income","forecast",t)),r!=null&&r.balances.length>0&&(n=B.sectionToCOABalancesWithID("cogs","forecast",r)),s!=null&&s.balances.length>0&&(c=B.calculatedSectionToCOABalancesWithKey("gross_margin","forecast",s));const p=a.getChartValueKey("income","forecast"),m=a.getChartValueKey("cogs","forecast"),u=a.getChartValueKey("gross_margin","forecast"),i={};return i[p]=l,i[m]=n,i[u]=c,i},We=[a.getChartValueKey("income","actual"),a.getChartValueKey("cogs","actual"),a.getChartValueKey("gross_margin","actual")],Je=[a.getChartValueKey("income","actual"),a.getChartValueKey("cogs","actual"),a.getChartValueKey("gross_margin","actual"),a.getChartValueKey("income","forecast"),a.getChartValueKey("cogs","forecast"),a.getChartValueKey("gross_margin","forecast")],Ue=C.div`
267
- width: ${t=>t.width}px;
268
- height: ${t=>t.height}px;
269
-
270
- .recharts-legend-item {
271
- margin-right: ${t=>A.legendLabelMarginRight.valuePx(t.windowSize)} !important;
272
- :last-of-type {
273
- margin-right: ${o.Space.sp0} !important;
274
- }
275
- }
276
- `,Qe=C(o.ExtraSmallRegularSp)`
277
- margin-left: ${t=>A.legendLabelMarginLeft.valuePx(t.windowSize)};
278
- margin-right: ${t=>A.legendLabelMarginRight.valuePx(t.windowSize)};
279
- color: ${t=>t.theme.colors.primary};
280
- `;function Ze({selectedRangeReport:t,timeframe:r,highlightedRange:s,width:l,height:n,showBarHoverBackground:c,isDetailPage:p,mode:m,onCOABalancesRangeChanged:u}){const i=e.useTheme(),g=I.useRef(!1);I.useEffect(()=>{g.current=!0},[]);const h=[i.colors.graphColor26,i.colors.graphColor17,i.colors.graphColor12],d=[i.colors.graphColor28,i.colors.graphColor17,i.colors.graphColor10,i.colors.graphColor28Dark,i.colors.graphColor17Dark,i.colors.graphColor10Dark],f=m==="forecast_mode"?d:h,K=m==="forecast_mode"?Je:We,R=(x,j=i.colors.graphColor28)=>x<f.length?f[x]:j,y=t.reportId==="revenue"?at(t.firstMonthOfFY,K,m,t.sections?.income,t.sections?.cogs,t.calculatedSections?.grossMargin):at(t.firstMonthOfFY,K,m,t.sections.income,t.sections.cogs,t.calculatedSections.grossMargin),v=x=>{const{cx:j,cy:T,fill:b,stroke:O,value:_}=x;return _==null?e.jsxRuntimeExports.jsx(e.jsxRuntimeExports.Fragment,{}):e.jsxRuntimeExports.jsx("circle",{cx:j,cy:T,r:4,stroke:b,strokeWidth:2,fill:O})},$=x=>{const{cx:j,cy:T,fill:b,stroke:O,value:_}=x;return _==null?e.jsxRuntimeExports.jsx(e.jsxRuntimeExports.Fragment,{}):e.jsxRuntimeExports.jsx("circle",{cx:j,cy:T,r:5,stroke:O,strokeWidth:2,fill:b})},E=(x,j)=>e.jsxRuntimeExports.jsx(e.Line,{name:x,type:"monotone",legendType:"plainline",isAnimationActive:!1,dot:e.jsxRuntimeExports.jsx(v,{}),activeDot:e.jsxRuntimeExports.jsx($,{}),dataKey:T=>{const b=T.record;return(b[x]!=null&&b[x].amount!=null?b[x].amount:void 0)?.amount},stroke:R(j),strokeDasharray:"3 3",strokeWidth:1.5},x),S=(x,j,T)=>e.jsxRuntimeExports.jsx(e.Bar,{name:x,animationDuration:T?500:void 0,style:{cursor:"pointer"},legendType:"square",dataKey:b=>{const O=b.record;return(O[x]!=null&&O[x].amount!=null?O[x].amount:void 0)?.amount??0},fill:R(j)},x),k=()=>{const x=[];return K.forEach((j,T)=>{const b=p===!0&&!g.current;j.endsWith("_forecast")?x.push(E(j,T)):x.push(S(j,T,b))}),x};return y==null?null:e.jsxRuntimeExports.jsx(to,{chartData:y,timeframe:r,showBarHoverBackground:c,barElements:k(),customToolTipContent:({active:x,payload:j})=>e.jsxRuntimeExports.jsx(Ye,{active:x,payload:j,mode:m}),width:l,height:n,onCOABalancesRangeChanged:u,highlightedRange:s,isDetailPage:p===!0})}const to=({chartData:t,timeframe:r,barElements:s,customToolTipContent:l,highlightedRange:n,width:c,height:p,showBarHoverBackground:m,isDetailPage:u,onCOABalancesRangeChanged:i})=>{const g=o.useWindowSizeContext(),h=e.useTheme(),d=a.getCurrencySymbol(t),f=t.timeseries,K=f.map($=>$.label),R=m!==!1,y=$=>{if(!u||$?.activePayload==null||$?.activePayload.length===0)return;const E=$.activePayload[0];if(E?.payload?.timeLabel?.label==null)return;const S=$.activeTooltipIndex,k=E.payload.timeLabel.label;if(n==null)return;const x=a.getXAxisSelectionRange(k,K,n.numberOfPeriods),j=x[1]===void 0?K.length-1:K.indexOf(x[1]),T={...n,thisPeriod:{startDate:f[j].startDate,endDate:f[j].endDate}};i?.(f[S],r,T)},v=u?(c-60)/a.maxXAxisItems.revenue*(a.maxXAxisItems.revenue-t.recordByTimeseries.length):20;return e.jsxRuntimeExports.jsx(Ue,{width:c,height:p,windowSize:g,children:e.jsxRuntimeExports.jsx(e.AutoSizer,{children:({height:$,width:E})=>e.jsxRuntimeExports.jsxs(e.ComposedChart,{data:t.recordByTimeseries,barCategoryGap:u?void 0:"12%",maxBarSize:u?o.sp[10]:22,barGap:u?void 0:2,margin:{top:5,right:v,left:0,bottom:o.sp[4]},height:$,width:E,style:{display:"flex",flex:"1 1 auto"},onClick:y,children:[e.jsxRuntimeExports.jsx(e.CartesianGrid,{horizontal:!0,vertical:!1,strokeWidth:.5,stroke:h.colors.grey3}),e.jsxRuntimeExports.jsx(e.XAxis,{dataKey:S=>S.timeLabel.label,type:"category",axisLine:{stroke:h.colors.grey3,strokeWidth:.5},tickLine:!1,tick:{color:h.colors.hero,...o.textStyles.extraSmallRegular.cssObject}}),e.jsxRuntimeExports.jsx(e.YAxis,{type:"number",axisLine:!1,tickLine:!1,tick:{color:h.colors.hero,...o.textStyles.extraSmallRegular.cssObject},tickFormatter:S=>o.amountValueToString("0,0.[00]a",S,d)}),e.jsxRuntimeExports.jsx(e.Tooltip$1,{wrapperStyle:{zIndex:2},cursor:R?{stroke:h.colors.background,strokeWidth:(E-60)/a.maxXAxisItems.revenue,fill:h.colors.background}:!1,content:l,allowEscapeViewBox:{x:!1,y:!0}}),s,u?e.jsxRuntimeExports.jsx(e.Legend,{verticalAlign:"bottom",wrapperStyle:{width:"100%",display:"flex",justifyContent:"center",left:"initial",bottom:o.Space.sp0},iconSize:o.sp[3],formatter:S=>e.jsxRuntimeExports.jsx(Qe,{windowSize:g,children:S.endsWith("_forecast")===!0?o.appLocale.getLocalizedStrings().chartCard.revenue[S]:o.appLocale.getLocalizedStrings().chartCard.revenue[a.getIDFromChartValueKey(S)]})}):null]})})})};exports.CashInCashOutChart=Tt;exports.CashPositionChart=Dt;exports.NetBurnOrIncomeChart=ae;exports.OpExChart=Be;exports.RevenueChart=Ze;