@zeniai/web-cockpit-ui 1.13.85-pune → 1.13.86-dev

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (248) hide show
  1. package/dist/assets/{ACHDetailsPage-CRqyoYEz-DIIEbfXH.js → ACHDetailsPage-DGGeHZnW-CRRXdkuL.js} +3 -3
  2. package/dist/assets/{AIPerformancePage-DAkvkXSA-DCPKp1TL.js → AIPerformancePage-BnFh61HC-DG1jrKEt.js} +24 -24
  3. package/dist/assets/AccountInfoPage-BoCzcaQW-DXC6zcEv.js +18 -0
  4. package/dist/assets/{AccountInfoPageContent-BWZbyIYz-DsBeIJ7e.js → AccountInfoPageContent-C4VpFgc_-DvP6xZz-.js} +20 -20
  5. package/dist/assets/{AccountReconDetailsDrawerPage-DLd_igXD-BDzMROTl.js → AccountReconDetailsDrawerPage-DJmFBJve-DvtbeSb_.js} +18 -18
  6. package/dist/assets/AccountRow-vtPa0PJn-DyxPucxT.js +298 -0
  7. package/dist/assets/{AccountsPromoCardStack-DIly1lFF-CoHITgz2.js → AccountsPromoCardStack-D5elLwcD-DFP5ej-L.js} +22 -22
  8. package/dist/assets/{AddAddressForCardDrawer-C90j4Cwr-BuafF6k2.js → AddAddressForCardDrawer-D9uW1sU2-CyIurqG5.js} +1 -1
  9. package/dist/assets/{AddToWalletPage-Bo2KesYz-CXFPlcd_.js → AddToWalletPage-D3yOWwc3-Dt5WZtr8.js} +30 -30
  10. package/dist/assets/{AgingReportsPage-DuoKsSkU-BM--piTX.js → AgingReportsPage-DlB02nzb-DT1hA1_s.js} +4 -4
  11. package/dist/assets/{AllUserItems-C0U1Brjm-1EugRjNx.js → AllUserItems-Bwbb5_fm-BcHqhbO0.js} +7 -7
  12. package/dist/assets/{ApAgingDetailPage-dNwAZULr-CSLYB9s5.js → ApAgingDetailPage-Bhf_ygxm-DDVphjYY.js} +3 -3
  13. package/dist/assets/{AppBasePage-CfkaWEbJ-DSSQmZ3n.js → AppBasePage-DyGLpjZ0-DttRVXyT.js} +4 -4
  14. package/dist/assets/{AppDrawerContent-DlHQEgOZ-Bu6aM3IO.js → AppDrawerContent-D_dlUPFp-BL5bhrHC.js} +2 -2
  15. package/dist/assets/{ApprovalRulesSettingsPage-Pl7HoLmk-0ndkNfLh.js → ApprovalRulesSettingsPage-DLvGE0ND-DjcwfHKU.js} +6 -6
  16. package/dist/assets/{ArAgingChart-xI9TRvfS-BJS1mtHm.js → ArAgingChart-CR7dx7XY-Cx6fMjBH.js} +5 -5
  17. package/dist/assets/{ArAgingDetailPage-BMGCnP5d-CqfkCp13.js → ArAgingDetailPage-kU_SEimL-B5vhsKkP.js} +2 -2
  18. package/dist/assets/{AttachmentView-C8AgUAnY-CDH1Mcyw.js → AttachmentView-ClQPirg--D1d3_Uda.js} +8 -8
  19. package/dist/assets/{BankAccountSection-DB4PEf_X-DiW8OD4p.js → BankAccountSection-DLB1oftk-DEn9rP2e.js} +4 -4
  20. package/dist/assets/{BankAccountWarningSection-BNO8Gl59-DLhau1xe.js → BankAccountWarningSection-ClrNHLqo-NpMhaSfC.js} +5 -5
  21. package/dist/assets/{BankConnectionsSettingsPage-BOreBo5b-D37lKtbY.js → BankConnectionsSettingsPage-D1w10U35-B0hA0qGz.js} +22 -22
  22. package/dist/assets/{BillDetailPage-Bv86SywV-6njFGhnW.js → BillDetailPage-Bfrn4oa6-D2E_Tt5J.js} +5 -5
  23. package/dist/assets/{BillPayApprovalRuleDetailPage-CDXxmD-3-GLg1j3lZ.js → BillPayApprovalRuleDetailPage-DIzv3Xu9-yMWl3cpx.js} +2 -2
  24. package/dist/assets/{BillPayApprovalRulesPage-Ci5Ok7Zj-BsfoZbfz.js → BillPayApprovalRulesPage-CPBknTMQ-BwSnwQg8.js} +3 -3
  25. package/dist/assets/{BillPayPromoPage-Co2j2krO-D4iqOCut.js → BillPayPromoPage-CKETeVet-WnOIT8cc.js} +2 -2
  26. package/dist/assets/{BillPaySetUpPage-DjpCUZaT-Ddup2DO2.js → BillPaySetUpPage-DIz-RZih-CC05m-y7.js} +2 -2
  27. package/dist/assets/BillingSettingsPage-Bm-IF_p7-8u0bw5ku.js +44 -0
  28. package/dist/assets/BillsBulkReviewDrawerPage-CVAG78EK-BwPRAmgg.js +1 -0
  29. package/dist/assets/{BoxItem-BqLhtWoJ-DTGdC4UO.js → BoxItem-B8KF3Skh-TmzJmYZc.js} +1 -1
  30. package/dist/assets/{BusinessVerificationPage-CZGOzc9Z-D6-Ww27c.js → BusinessVerificationPage-Ctqy7ZwA-J8d6V6lT.js} +8 -8
  31. package/dist/assets/{CardNumberSubText-23sLjCVt-q9DlwjXk.js → CardNumberSubText-CNiPWVeO-OlxmvVJt.js} +1 -1
  32. package/dist/assets/{CashbackDetailPage-DY0n94jz-DZrOsGII.js → CashbackDetailPage-BNWBGKHa-bIlWYuwv.js} +21 -21
  33. package/dist/assets/{ChargeCardDetailPage-NWTPnGtM-DFqwW_o-.js → ChargeCardDetailPage-BuCwlpLH-7rCG_cYb.js} +58 -58
  34. package/dist/assets/{ChargeCardListPage-D42dfnET-BwGRx6DO.js → ChargeCardListPage-CXbTalVQ-D381djUW.js} +35 -35
  35. package/dist/assets/{ChargeCardListTable-B7uRDVzb-nPrrXfLF.js → ChargeCardListTable-D4-Br785-DpvUrE9e.js} +25 -25
  36. package/dist/assets/ChargeCardPromoPage-BTfg7L28-D2O1yFJS.js +175 -0
  37. package/dist/assets/{ChargeCardSetupPage-Ccc8PoCm-DOz93R9J.js → ChargeCardSetupPage-fy0EpA-m-DvURpcVh.js} +2 -2
  38. package/dist/assets/{ChargeCardStatementsPage-JEslDm3r-Dz93LMxW.js → ChargeCardStatementsPage-B_rdiq_Y-BAKafx8N.js} +4 -4
  39. package/dist/assets/{ChargeCardUtils-B3JEziD7-BDgvm4V8.js → ChargeCardUtils-CtoTn6DQ-C3z4uZjJ.js} +1 -1
  40. package/dist/assets/{ChaseOverlay-KLet3F9X-CdWRAKXV.js → ChaseOverlay-DfjQ73Ie-BOsM74a7.js} +8 -8
  41. package/dist/assets/CheckDepositDrawerPage-yUzhTMSu-DalHOQf6.js +206 -0
  42. package/dist/assets/{CollapsableReportTable-DshWn4Fc-CB5euwH7.js → CollapsableReportTable-CHsJ-93l-CZG5w07A.js} +29 -29
  43. package/dist/assets/{CompanyOfficerDetailsSection-DWqEolPc-hNs6b-3g.js → CompanyOfficerDetailsSection-BlUCDRW6-r-0kIc8i.js} +26 -26
  44. package/dist/assets/{CompanyPassportCard-fyolEQTs-BM4j1zkv.js → CompanyPassportCard-DSRRu6RZ-D8WUh8RF.js} +2 -2
  45. package/dist/assets/{CompanyPassportPage-CrgsRRVr-_nJlM00G.js → CompanyPassportPage-DpeoVbLk-CGE5gjRB.js} +140 -140
  46. package/dist/assets/{CompleteProfile-D_zq0Bxi-4-J8J591.js → CompleteProfile-BaTEooSW-C9pQ1jcL.js} +10 -10
  47. package/dist/assets/ConfettiBurst-C2engbkN-OYjDPreK.js +1 -0
  48. package/dist/assets/{CreateOrEditVendorPage-Ct4Kfowi-Dl-XZ9XF.js → CreateOrEditVendorPage-CaIc3Tib-CiLHzKjL.js} +15 -15
  49. package/dist/assets/{CreditCardPaymentDrawerPage-Cpu-7pGN-Cu9Xh0nq.js → CreditCardPaymentDrawerPage-DEFrzmkG-BYyXj2cB.js} +16 -16
  50. package/dist/assets/{CreditCardPaymentPlgSection-DoMaCnIZ-CNIK2scQ.js → CreditCardPaymentPlgSection-IeRxDnG7-iIog9fs2.js} +10 -10
  51. package/dist/assets/{CurrencySelectField-CCOtXLC7-QnPV5zn9.js → CurrencySelectField-DDiCwLn7-OV5xt8fQ.js} +5 -5
  52. package/dist/assets/{CustomerOnboardingActivationPage-Cgzif1ji-DNCyl5ny.js → CustomerOnboardingActivationPage-976y8y35-B5nrrrGQ.js} +3 -3
  53. package/dist/assets/CustomerOnboardingContainerPage-DzzvTpfs-BL-GBLoz.js +1 -0
  54. package/dist/assets/{CustomerOnboardingDetailPageSkeleton-BOMwRZEO-D2W7lEqa.js → CustomerOnboardingDetailPageSkeleton-DYfidx87-rFt8SrGg.js} +11 -11
  55. package/dist/assets/{CustomerOnboardingNoStepsPage-DDloVGvk-BQPG4WD2.js → CustomerOnboardingNoStepsPage-DrLZ3k77-DwEaFPCU.js} +8 -8
  56. package/dist/assets/CustomerOnboardingPage-BiUXryld-DwfZXjsS.js +107 -0
  57. package/dist/assets/{CustomerOnboardingProductSuitePage-BA3GAX42-CxgqSMiN.js → CustomerOnboardingProductSuitePage-CmHltdpN-Cb45Wbg-.js} +4 -4
  58. package/dist/assets/Dashboard-B1UeMAoF-D-P-pMiu.js +778 -0
  59. package/dist/assets/{DashboardReportPage-paPVk_v2-Dvs7jyc3.js → DashboardReportPage-DULpVd6J-B_d0ak7a.js} +67 -67
  60. package/dist/assets/{DepositAccTransactionItem-BXRfgUfE-D4R7G7HE.js → DepositAccTransactionItem-BEs_Al_8-DryszVsJ.js} +2 -2
  61. package/dist/assets/{DepositAccTransactionListPage--7TRlqKj-BQ7qJsKp.js → DepositAccTransactionListPage-CL8Rr3I4-3mitujdt.js} +8 -8
  62. package/dist/assets/{DocumentSecurityBanner-B0Qt1FLC-B14Aeb97.js → DocumentSecurityBanner-BgKXBGg3-gTBQRSLd.js} +1 -1
  63. package/dist/assets/DomesticWireDetailsPage-CVKheLW6-Cp0cNoH9.js +21 -0
  64. package/dist/assets/{DownloadOverlay-Cl_EXjiu-Bty6MX5F.js → DownloadOverlay-cne9_fIV-BGdaHI5P.js} +20 -20
  65. package/dist/assets/{DrawerPage-wXwAaYEB-CO0tKzRK.js → DrawerPage-B0mgBHB5-CQtDXw_Q.js} +8 -8
  66. package/dist/assets/EditPeoplePage-DgVDgYlm-Cq7SpjxR.js +55 -0
  67. package/dist/assets/{EditReimbursementDetailPage-BUpJPJNu-DrlJ3-JK.js → EditReimbursementDetailPage-DWhSkrJ7-DXfnlGXX.js} +74 -74
  68. package/dist/assets/{EntityDetailPage-BNXqSwVL-BmsjQ-yP.js → EntityDetailPage-wnOA1SH7-aYV-tRku.js} +2 -2
  69. package/dist/assets/{EntitySummarySection-MZ57i-bY-CkJQLOms.js → EntitySummarySection-Q_UUVBaU-B-zx_bhC.js} +11 -11
  70. package/dist/assets/{ExpenseAutomationOverviewPage-Y3IHs4dG-C3j4Kf98.js → ExpenseAutomationOverviewPage-BumrdlGf-BlGx5F5V.js} +17 -17
  71. package/dist/assets/{ExpenseAutomationPage-C0hvPLo7-6SC0Lnzr.js → ExpenseAutomationPage-DKjInf-x-DBua7HMI.js} +84 -84
  72. package/dist/assets/{ExpressPayPage-Bncb54-Q-DvnTKzCq.js → ExpressPayPage-wwfao-Tr-Cll3aRZR.js} +8 -8
  73. package/dist/assets/{FeaturePreviewPage-BnGBEF9H-qbgUmwmT.js → FeaturePreviewPage-DriDr9id-IfgJ91nt.js} +2 -2
  74. package/dist/assets/{FollowStepsSection-laCvnETV-Bd5BOauY.js → FollowStepsSection-5025urr9-BhQV5Gxg.js} +7 -7
  75. package/dist/assets/{GlobalReviewListPage-CskEuHc5-Dmr2MpXl.js → GlobalReviewListPage-BFjOsp4u-dTOZQfQK.js} +10 -10
  76. package/dist/assets/HelpButton-CzonsAOi-CLT44ucP.js +28 -0
  77. package/dist/assets/{InformationCardStack-BFJqdH9n-bSWTqBDS.js → InformationCardStack-DrD-sWV8-D-viV3aR.js} +5 -5
  78. package/dist/assets/{InsightsCardStack-CcoMWMiA-DoomT7wI.js → InsightsCardStack-CFqfiCOY-DSgzQkhY.js} +9 -9
  79. package/dist/assets/{InsightsSection-D9PiJagu-BAVC-lZw.js → InsightsSection-CN1BVvSr-DiHzw0Zr.js} +3 -3
  80. package/dist/assets/{IntegrationsSettingsPage-CVmDobJ8-DUTif9-q.js → IntegrationsSettingsPage-BBlKuJxA-Ax55qhbj.js} +5 -5
  81. package/dist/assets/{InternationalWireSwiftDetailsPage-DqW88v9N-Ckhip8a0.js → InternationalWireSwiftDetailsPage-f4DZUYIx-CPv4IcAC.js} +11 -11
  82. package/dist/assets/{InternationalWireVerificationPage-X90z_30k-BipvB1gK.js → InternationalWireVerificationPage-5WpkXxPC-B_ootlBy.js} +17 -17
  83. package/dist/assets/{InviteFormPage-BK-PRmeH-BScQiDBC.js → InviteFormPage-Bw2ykerx-B8sj-JFN.js} +23 -23
  84. package/dist/assets/{InvitePageListView-6-iCc4BK-BqA8heOE.js → InvitePageListView-BHp1m02Z-DMdwrgsX.js} +31 -31
  85. package/dist/assets/InvitePeoplePage-BnlUrpPG-D5Pb0NSX.js +12 -0
  86. package/dist/assets/{InvoiceUploadSection-D5aF4auL-BeD6SrG2.js → InvoiceUploadSection-B8Xsz6dM-CaDnzQOR.js} +7 -7
  87. package/dist/assets/{IssueChargeCardPage-C_xt7hKZ-DIZL4bBR.js → IssueChargeCardPage-DYrMWSZg-BXFdUqlA.js} +22 -22
  88. package/dist/assets/{LabeledAddressValue-DpSK0MqC-Cj7E_lje.js → LabeledAddressValue-kKgzA0is-V3nWJqwH.js} +1 -1
  89. package/dist/assets/{LabeledAddressValueField-_LY7c-ZC-Dc-9_BK1.js → LabeledAddressValueField-Bey_bvyv-WhcVyZpQ.js} +3 -3
  90. package/dist/assets/{LabeledControlledCheckBoxField-FB40Z8J7-BP3P2Wmj.js → LabeledControlledCheckBoxField-CKrD5nfN-BLAx8CgU.js} +1 -1
  91. package/dist/assets/{LabeledCreatableSingleSelectField-paSeI8_R-DbZOk4k7.js → LabeledCreatableSingleSelectField-B3x1MZJr-CT42c88y.js} +7 -7
  92. package/dist/assets/LabeledDocumentField-BKPP0tRe-BoY3MkE4.js +41 -0
  93. package/dist/assets/LabeledDropDownFormattedTextField-NsCaPjuf-BLoARtnk.js +59 -0
  94. package/dist/assets/{LabeledText-CyXj8QWV-Bl6WT0AA.js → LabeledText-BUZXeSSr-BNwrdOLI.js} +3 -3
  95. package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-CUT00Vix-QHUo9PdC.js → LabeledUserSingleSelectWithSubtitlesField--jmAGQy--CMARKL0a.js} +7 -7
  96. package/dist/assets/{LabeledZeniRolesDropDownField-D0cQlbhO-Dakmm_pD.js → LabeledZeniRolesDropDownField-Dt5MOz8L-BzDt2F5s.js} +26 -26
  97. package/dist/assets/{LinkJETransactionPage-DaXjiQRp-CeG2b6Yz.js → LinkJETransactionPage-DZZORFZw-hfr5eK-6.js} +8 -8
  98. package/dist/assets/{LowBalancePopup-CdftTvLb-DHrY0Q9F.js → LowBalancePopup-BQYkTR6v-Dpy5Y7Om.js} +7 -7
  99. package/dist/assets/{MagicLinkACHDetailsPage-C25i1T4c-D1WMteCs.js → MagicLinkACHDetailsPage-B2TCqv5k-BD7w19c6.js} +1 -1
  100. package/dist/assets/{MagicLinkDomesticWireDetailsPage-B0r3WStl-Be739DkS.js → MagicLinkDomesticWireDetailsPage-D0Fcshtr-WPQ-07p1.js} +1 -1
  101. package/dist/assets/{MagicLinkInternationalWireDetailsPage-C-ev-6xJ-DjZv-CZx.js → MagicLinkInternationalWireDetailsPage-BfschSvJ-Dd4Vn3ER.js} +1 -1
  102. package/dist/assets/{MagicLinkSuccessPage-7JG3V4Qt-aQjB1Hdx.js → MagicLinkSuccessPage-CLkxou_Q-BueLZWGy.js} +5 -5
  103. package/dist/assets/{MagicLinkTitleSection-DEe0hhml-OAdcgqT_.js → MagicLinkTitleSection-BcnZtmCV-D3vo1-CC.js} +3 -3
  104. package/dist/assets/{MailingDetailsSection-Qc65E0w3-DAFQ-tkz.js → MailingDetailsSection-B5PAttoo-Ia41UfJq.js} +1 -1
  105. package/dist/assets/{MeetingCalenderPopup-Dh8meV6d-Bpx3vewx.js → MeetingCalenderPopup-DM1wkT0M-XWyjGw5S.js} +1 -1
  106. package/dist/assets/{Menu-DyfXBl_1-ub7G94mj.js → Menu-teOpHszN-B4_aUeNn.js} +3 -3
  107. package/dist/assets/{MyBankConnectionsSettingsPage-CCFcVgyX-BtQSGmwE.js → MyBankConnectionsSettingsPage-M74Mv2-V-BHyX40MK.js} +13 -13
  108. package/dist/assets/{MyPendingActivationChargeCardListPage-DS966wTB-DpfpopfQ.js → MyPendingActivationChargeCardListPage-jv9dbM48-BfFprZCr.js} +1 -1
  109. package/dist/assets/{MyProfileSettingsPage-BRRzMoQL-D5eo9Sqc.js → MyProfileSettingsPage-CrhE1vfc-DJYn2Oif.js} +8 -8
  110. package/dist/assets/{NavBarWithPicker-BvWih0k0-Dufdt2Ka.js → NavBarWithPicker-w36OQzVq-8jrXgC9i.js} +2 -2
  111. package/dist/assets/{NavigationArrow-DYSL2aDL-WkPryo2E.js → NavigationArrow-CUVjQXS6-1gU6OEpd.js} +6 -9
  112. package/dist/assets/{NavigationDots-DyyCcIih-Dej6_J6K.js → NavigationDots-Dt6TkUQ7-IyWw7xzb.js} +1 -1
  113. package/dist/assets/{NewGlobalMerchantPage-DjEvzM4M-BHj9e2zb.js → NewGlobalMerchantPage-BAq_UQw1-op2GScme.js} +33 -33
  114. package/dist/assets/NoDataChart-CydgbaO2-w_aLFoRL.js +26 -0
  115. package/dist/assets/{NoDataTable-CXNsBBVP-DB2tU5FS.js → NoDataTable-Akc9VjuK-D6ZoPHVC.js} +1 -1
  116. package/dist/assets/{NotFoundPage-CuuO2Mia-DK_un8VO.js → NotFoundPage-3pCYWZU4-D50jnl0_.js} +1 -1
  117. package/dist/assets/{NotificationSettingsPage-C7ilxUAV-DNcmVmd9.js → NotificationSettingsPage-BX5y9Bhs-COL29uYH.js} +16 -16
  118. package/dist/assets/NotificationsListConfig-BrTtuTMy-BDNvMhiy.js +1 -0
  119. package/dist/assets/{NotificationsPage-BjaKD99B-ChKA1ZUW.js → NotificationsPage-tre5LIJg-BF-9mVwv.js} +32 -32
  120. package/dist/assets/{OpExByVendorPage-IuDiHnIW-D8WE3sE0.js → OpExByVendorPage-Dagfjaza-DDld7cbG.js} +5 -5
  121. package/dist/assets/{OverlayContainerPage-C0rUb6-5-D4ozS3gq.js → OverlayContainerPage-nhe7xtoR-DaSs4sBz.js} +1 -1
  122. package/dist/assets/{PandLWithForecastPage-DLvgYpF8-DAoSI7if.js → PandLWithForecastPage-B6BwG3ZF-_AvyqFlZ.js} +7 -7
  123. package/dist/assets/{PaymentAccountSetupBillingAddressSection-CZ8ZY08D-DK5OgBuH.js → PaymentAccountSetupBillingAddressSection-w6QwL-c4-K3uFRIlc.js} +8 -8
  124. package/dist/assets/{PeoplePage-DyqY-rIV-BP1By1O6.js → PeoplePage-EFDCrYUk-T7-wlZTX.js} +19 -19
  125. package/dist/assets/{PortfolioAllocationFormPage-DTuKtkwr-9rUcLC7b.js → PortfolioAllocationFormPage-DbGLXM2D-BjP-OUR_.js} +3 -3
  126. package/dist/assets/{PortfolioDetails-DJFeMG4U-DswuDgPe.js → PortfolioDetails-D2RWl4uo-6RAVkUY_.js} +11 -11
  127. package/dist/assets/{ProductsCarousel-CS4_yc80-PtugE9vt.js → ProductsCarousel-o-YsHwnV-CGoV5eH1.js} +7 -7
  128. package/dist/assets/{PromoBaseCards-BZ2m6LfO-Cud5t_Fi.js → PromoBaseCards-D21UZaz1-BXsaJgOl.js} +25 -25
  129. package/dist/assets/{QBOConnectionDialog-2vJQuslh-BI_9YQGE.js → QBOConnectionDialog-DOpuFcsk-C6MlbM5w.js} +6 -6
  130. package/dist/assets/{QBOSetupSection-Yv3Xw-yn-CG5PgwyR.js → QBOSetupSection-Dcf_Afvz-DJunnSBU.js} +11 -11
  131. package/dist/assets/{ReimbursementApprovalRuleDetailPage-tvJ2APRB-D4mUNHAO.js → ReimbursementApprovalRuleDetailPage-DcDdM_Ss-CbDe9uVe.js} +1 -1
  132. package/dist/assets/{ReimbursementApprovalRulesPage-_nXCDa2A-sj6jFbs4.js → ReimbursementApprovalRulesPage-BhdyXjR--DBfuKFGn.js} +8 -8
  133. package/dist/assets/{ReimbursementDetailPage-CtEAsq7u-CdLZ67Bg.js → ReimbursementDetailPage-BSWNsboq-4J24vWsJ.js} +7 -7
  134. package/dist/assets/{ReimbursementPromoPage-BaEX5Ej4-EKPuTP60.js → ReimbursementPromoPage-DJTuXxOX-CzJgodWR.js} +16 -16
  135. package/dist/assets/{ReimbursementSetUpPage-DXOqEJL4-DeydDpr0.js → ReimbursementSetUpPage-DaIc03J9-CjkHrlyV.js} +12 -12
  136. package/dist/assets/{ReimbursementsBulkReviewDrawerPage-HQg1y1K--BJEZ2gJz.js → ReimbursementsBulkReviewDrawerPage-BW6yGqNG-BnVlwyav.js} +1 -1
  137. package/dist/assets/{ReloadCard-stfG9ekP-CAtXGPKA.js → ReloadCard-D3-WJk3W-D2s29SSN.js} +5 -5
  138. package/dist/assets/{ReportTableViewSelector-_RTCd2td-J4MgIxi7.js → ReportTableViewSelector-ZI_K0-D2-By-m2UD1.js} +7 -7
  139. package/dist/assets/{ReportsPage-BIzz5Dt_-BPRCOVMf.js → ReportsPage-DsILNosH-D0tYLjKu.js} +9 -9
  140. package/dist/assets/{RevenueChart-DeDVVUge-DswYpzgj.js → RevenueChart-CKKeqpBi-UyvcWDiv.js} +1 -1
  141. package/dist/assets/{ReviewDetailsPage-DZqPpiln-BD-TTPjy.js → ReviewDetailsPage-BTag8Rn9-DTmho_bj.js} +19 -19
  142. package/dist/assets/{ReviewOverlay-DcBe94Sd-BykmGHu4.js → ReviewOverlay-CmbxFXT5-Bn6N1v3T.js} +14 -14
  143. package/dist/assets/{RoleWithToolTip-DZO2tooH-6nbnfSfh.js → RoleWithToolTip-D25NUL6y-DukVAPbK.js} +6 -6
  144. package/dist/assets/{ScheduleDetailsFixedAssetsPage-Cl8iBII0-DMtW2KW5.js → ScheduleDetailsFixedAssetsPage-svqtgWEw-BvVYPrVO.js} +8 -8
  145. package/dist/assets/{ScheduleDetailsPage-D6ZxZ2uU-C3_NmU11.js → ScheduleDetailsPage-ClifB2yP-CiC5Yaiv.js} +3 -3
  146. package/dist/assets/{ScheduleSequenceTable-eRImHbZn-D8TBysPL.js → ScheduleSequenceTable-Bzz4WFsb-D7hD25Ij.js} +50 -50
  147. package/dist/assets/{ScreenRoutes-miCOug2f.js → ScreenRoutes-BxQ22zq-.js} +1 -1
  148. package/dist/assets/{SetUpAccountSection-BBZNI1Xl-DXELzEMu.js → SetUpAccountSection-DHHAhE7n-C6ADn3Xk.js} +103 -103
  149. package/dist/assets/{SetUpDefaultSection--9Qh-utY-c-mUbFLs.js → SetUpDefaultSection-DkoRgSyp-BG63EHcf.js} +16 -16
  150. package/dist/assets/{SignIn-CI0Ik2va-B1YM8rEU.js → SignIn-DSJylxLB-TGzVh-Ox.js} +19 -19
  151. package/dist/assets/{SignInScreen-DVUMKIBQ.js → SignInScreen-2ETG_qty.js} +1 -1
  152. package/dist/assets/{SpendManagementListViewPage-NWkSnIdD-DEongjR9.js → SpendManagementListViewPage-NfjbjBOy-CNnp9KH1.js} +13 -13
  153. package/dist/assets/{SpendManagementPerTabPage-CdWwn_b8-DnGEGhos.js → SpendManagementPerTabPage-CJqqj2pl-vgdrFHgv.js} +47 -47
  154. package/dist/assets/{SpendManagementSection-DGhD95sz-VmruoRWg.js → SpendManagementSection-C8jUu71n-DVI61rJT.js} +9 -9
  155. package/dist/assets/{SpendMgmtSetupAccountSection-DG4ozkeT-CetbNb1Y.js → SpendMgmtSetupAccountSection-CNcWLqIc-Bk6Q5WZ8.js} +14 -14
  156. package/dist/assets/{StatementItem-BlfBohft-U3FqyIo0.js → StatementItem-CV3b0pVj-CWdkAyq6.js} +8 -8
  157. package/dist/assets/StatementsPage-ly5aBK2M-CeJNv0Uj.js +58 -0
  158. package/dist/assets/{StatusSwitcher-C6703BAG-eDDkVLmz.js → StatusSwitcher-CxzYEzIO-Dl4oZKu3.js} +4 -4
  159. package/dist/assets/{SubTabSwitcher-lf9S7Ubj-CmXqrtys.js → SubTabSwitcher-_XBeoyd8-ky9GU4WA.js} +1 -1
  160. package/dist/assets/{SummaryCard-yghz4PLR-CvQEKxF5.js → SummaryCard-egXz66_a-CFL2HKlw.js} +1 -1
  161. package/dist/assets/TaskManagementPage-CQL5Q6wr-B8c2_TIF.js +508 -0
  162. package/dist/assets/{TimeRangeSwitcher-BoPrOhKX-CRKXdJOA.js → TimeRangeSwitcher-DETvaZov-Jche-37U.js} +5 -5
  163. package/dist/assets/{TimeframeSwitcher-DufweySH-jTXdFynw.js → TimeframeSwitcher-DRQZAZ8X-B_V6wn8a.js} +5 -5
  164. package/dist/assets/TimeframeSwitcherWithToggle-CuU7mRU9-lO7EaRwM.js +31 -0
  165. package/dist/assets/{TopExCard-DrOjlLiv-D1xK4ZLl.js → TopExCard-CtEulaIf-Brs7tS7N.js} +6 -6
  166. package/dist/assets/{TopExDetailPage-Ds4zlxKD-B50iPc07.js → TopExDetailPage-O4MMssGR-CSX4CqC4.js} +11 -11
  167. package/dist/assets/{TransactionDetailPage-Csl-Qjxp-DV-6_vXT.js → TransactionDetailPage-CfY8i6QF-Bt2lSSKs.js} +47 -47
  168. package/dist/assets/{TransactionList-2HeLZVn9-D_XSB9a8.js → TransactionList-BABUQprb-zMQcRTpf.js} +13 -13
  169. package/dist/assets/{TransactionListBig-p6iVof9y-DpVKiek7.js → TransactionListBig-qJc1PM0U-P62ir1cv.js} +18 -18
  170. package/dist/assets/{TransactionListPage-tnL66tOu-DKTJncjo.js → TransactionListPage-DuAk6fJT-Bu8_Pd-_.js} +6 -6
  171. package/dist/assets/{TransactionVendorDetailPage-DzkUYyCr-DI4vuyOD.js → TransactionVendorDetailPage-nHnLQdj7-C3egMB1p.js} +6 -6
  172. package/dist/assets/{TransferDrawerPage-B9MGSdS9-AoRYBOP9.js → TransferDrawerPage-CkbHu9oQ-Bxv-yJF0.js} +28 -28
  173. package/dist/assets/{TreasuryOverviewPage-BEzBuOWn-C_ij1-dD.js → TreasuryOverviewPage-D9qxqZOy-ZtRAjO03.js} +31 -31
  174. package/dist/assets/{TreasuryPromoPage-C8X4X7iN-C2DHRZVT.js → TreasuryPromoPage-Bn_4ae7Q-q8C2bbYn.js} +15 -15
  175. package/dist/assets/{TreasurySetupPage-Cb_GW75l-DHI8fRrl.js → TreasurySetupPage-CpZDjXwu-BUhJXpTK.js} +6 -6
  176. package/dist/assets/{TreasuryStatementsPage-sOiD2QYm-BjV9xUSX.js → TreasuryStatementsPage-BXDwbrcC-37YEWdU6.js} +7 -7
  177. package/dist/assets/{TreasuryTaxLetterPage-DYzqfHym-C8i4pNnG.js → TreasuryTaxLetterPage-Cwf-e3Jz-BL-Rfzdl.js} +7 -7
  178. package/dist/assets/{TreasuryTransferOrReviewPage-CesaUuNp-BlrFvGYE.js → TreasuryTransferOrReviewPage-BSiDVjnO-CB9llwyL.js} +20 -20
  179. package/dist/assets/{TrendChart-kwGU0d90-D9vTA2Kh.js → TrendChart-Dp3QrDED-8QXEOf_A.js} +3 -3
  180. package/dist/assets/{TrendWithTransactions-CUlTYGIm-DvdNaPh-.js → TrendWithTransactions-D8xzYG_f-De6kCbSg.js} +3 -3
  181. package/dist/assets/{UncategorizedAccountsMappingPage-D76VPNEd-D4SPdVXr.js → UncategorizedAccountsMappingPage-CteEKVJk-pzEnrChq.js} +15 -15
  182. package/dist/assets/{UnitIntegrationPage-BsZCe-lq-DrfCSWxr.js → UnitIntegrationPage-BBAq4_81-C7oc8SpE.js} +4 -4
  183. package/dist/assets/{UploadAdditionalDocumentOverlay-B3tUNhKj-DN4WILBU.js → UploadAdditionalDocumentOverlay-Drs2Czkg-B7FMUcdL.js} +1 -1
  184. package/dist/assets/{Vendor2FAPopup-Bk-WKgMh-DrsH2xrD.js → Vendor2FAPopup-DKe-eMoF-BYQMXttT.js} +1 -1
  185. package/dist/assets/{VendorACHDetailsPage-u8a3XF33-CrKMxXqd.js → VendorACHDetailsPage-CTeRlLgu-O3tAwPNR.js} +1 -1
  186. package/dist/assets/{VendorDetailPage-B-RdB79n-CDKqGTzV.js → VendorDetailPage-Cw7Qe1rv-DwV1uxYo.js} +15 -15
  187. package/dist/assets/{VendorDomesticWireDetailsPage-Bhb1Dmge-BeNq1bzX.js → VendorDomesticWireDetailsPage-CYkst1D5-CxFVsRJR.js} +1 -1
  188. package/dist/assets/{VendorFiling1099EditablePage-DHRivhBg-ERVyS3P2.js → VendorFiling1099EditablePage-CXQx0jJQ-Dym5ZEfd.js} +10 -10
  189. package/dist/assets/{VendorFirstReviewPage-Cn2GBsyl-cg4le0C7.js → VendorFirstReviewPage-C1yTYtW6-D8Hy4Plk.js} +29 -29
  190. package/dist/assets/{VendorInternationalWireDetailsPage-Cjx1hvUL-CEdr_PZS.js → VendorInternationalWireDetailsPage-CfbGRN9B-DYM9JMPH.js} +7 -7
  191. package/dist/assets/{VendorInternationalWireSwiftDetailsPage-BszRCCDh-B4pRgjkw.js → VendorInternationalWireSwiftDetailsPage-DTxy0byj-B-9bRZPN.js} +1 -1
  192. package/dist/assets/{VendorsAccountsSection-D6VSJUo1-Glx5yRhz.js → VendorsAccountsSection-B_nDMJSn-DKF52Cpa.js} +4 -4
  193. package/dist/assets/{WarningsDrawerPage-DReVGPEj-CIQlt88e.js → WarningsDrawerPage-Dz3EM7AW-K261X__w.js} +4 -4
  194. package/dist/assets/{ZeniAccountDetailPage-CFTB_WYX-CRRVNfVo.js → ZeniAccountDetailPage-C01gqJIN-5uHVG2CB.js} +28 -28
  195. package/dist/assets/{ZeniAccountListViewPage-BmYgbIuC-DNXzp5P9.js → ZeniAccountListViewPage-3DEdKuaM-BOxFOXWV.js} +18 -18
  196. package/dist/assets/ZeniAccountNavBarPieces-bthmMpbV-dLoPCb9S.js +14 -0
  197. package/dist/assets/{ZeniAccountPromoPage-AfRVTc8V-r71cWD_l.js → ZeniAccountPromoPage-ClgIxS0H-CzsHHXnv.js} +10 -10
  198. package/dist/assets/{ZeniAccountSetupPage-YXJmpz_d-3FWCeT2b.js → ZeniAccountSetupPage-C-vwyHUJ-Dtwoz0CP.js} +1 -1
  199. package/dist/assets/{ZeniCopyright-CqpcrgAZ-CH2r91yw.js → ZeniCopyright-CqFabZnN-CJTGK5CO.js} +1 -1
  200. package/dist/assets/{ZeniTransferAmountSlider-DGkzRyMW-M3i8bnVC.js → ZeniTransferAmountSlider-BwHzq-qG-BAnmmq0F.js} +1 -1
  201. package/dist/assets/analytics-BSSiLa6f.js +7 -0
  202. package/dist/assets/{analyticsHelper-BKEOwNtm.js → analyticsHelper-CA1CL3Na.js} +1 -1
  203. package/dist/assets/{analyticsHelper-sgo3pabT-BeTMdSYn.js → analyticsHelper-CvW7m-EV-BpaeVAL0.js} +1 -1
  204. package/dist/assets/{chartTypes-Dj-_K0Gi-EQP1Ce02.js → chartTypes-0tTBFzPe-DXv2oVtL.js} +1 -1
  205. package/dist/assets/{commonDimensions-CKgBEMhT-JcVoNYFG.js → commonDimensions-B68wSFi9-M2W23m0D.js} +1 -1
  206. package/dist/assets/{detailCommon-vtB2ffbe-CVFboB64.js → detailCommon-D2RAJL6g-DxVTL_IM.js} +6 -6
  207. package/dist/assets/{downloadPdf-CiC0AXNH-CeD8Q-Pl.js → downloadPdf-IPGZ8YB9-DocjrP8U.js} +1 -1
  208. package/dist/assets/{index-D3N9MvRr.js → index-GMJ2nuUF.js} +3324 -3364
  209. package/dist/assets/{liveblocks-sSQ9JElv.js → liveblocks-BUGn2yQ6.js} +1 -1
  210. package/dist/assets/{mapLoadingInProgressToTreeNode-0MIZwF_y-BJQcaPEZ.js → mapLoadingInProgressToTreeNode-DhjVTksX-B_UltjeI.js} +1 -1
  211. package/dist/assets/{mapSectionWithAcOnlyToTreeNode-CWaIGa37-l4B2WAau.js → mapSectionWithAcOnlyToTreeNode-DtR1UNND-CApTkkfy.js} +1 -1
  212. package/dist/assets/{mapSpacerToTreeNode-1Bdqp9WS-Bf4vh4uO.js → mapSpacerToTreeNode-oskKbJKo-DLY0eOf4.js} +1 -1
  213. package/dist/assets/{mapTimeframeBalancesToTreeNode-MPZhFWqo-DqH1QGXc.js → mapTimeframeBalancesToTreeNode-BkUJJy_y-CDFowGsv.js} +1 -1
  214. package/dist/assets/mui-BgvZYSo0.js +22 -0
  215. package/dist/assets/{play-icon-CF-Mkuir-D0VaB-h5.js → play-icon-C_pnFd6Q-CegFata8.js} +1 -1
  216. package/dist/assets/{redux-ByjIRbhZ.js → redux-DmDqXYej.js} +1 -1
  217. package/dist/assets/{routing-Cpaypegg.js → routing-BNz5gZgX.js} +1 -1
  218. package/dist/assets/{toCOABalancesWithID-D1BwrImS-CU7gHn7p.js → toCOABalancesWithID-e2ImXwdp-1SnM9fzu.js} +1 -1
  219. package/dist/assets/{toChartData-DVTo0PPD-Xv5HtUSQ.js → toChartData-Dh91kb97-BMfM5MG4.js} +1 -1
  220. package/dist/assets/{treasuryColorHelper-QzSX5YTe-DRvV2CE6.js → treasuryColorHelper-D9SYrM7P-BaWaAPGH.js} +1 -1
  221. package/dist/assets/{uploadAttachment-BxwOR3I5-D86nKqy9.js → uploadAttachment-BZTALP74-ypSfSLhV.js} +29 -29
  222. package/dist/assets/{uploadReceipts-Buvz7DfG-CwTcUaXM.js → uploadReceipts-BH9fi3Vt-D-CW0ltI.js} +1 -1
  223. package/dist/index.html +1 -1
  224. package/package.json +5 -5
  225. package/dist/assets/AccountInfoPage-6EVpo7mW-_VH4qo0L.js +0 -18
  226. package/dist/assets/AccountRow-D4iz2vCr-CUjY-as_.js +0 -298
  227. package/dist/assets/BillingSettingsPage-CAs7DZQz-De2Ozj6L.js +0 -44
  228. package/dist/assets/BillsBulkReviewDrawerPage-DjunAUW0-B6U5Is6f.js +0 -1
  229. package/dist/assets/ChargeCardPromoPage-CXiXee-8-rWS9j7At.js +0 -190
  230. package/dist/assets/CheckDepositDrawerPage-JYHyo9Hw-CPcUjCHP.js +0 -206
  231. package/dist/assets/ConfettiBurst-CZuMHGP8-b0M1vB-_.js +0 -1
  232. package/dist/assets/CustomerOnboardingContainerPage-ByWeMmBf-4mOzqlwZ.js +0 -1
  233. package/dist/assets/CustomerOnboardingPage-DHji4ZmF-D4jjwuH5.js +0 -107
  234. package/dist/assets/Dashboard-Cr5ugENA-CPUy4XRU.js +0 -1251
  235. package/dist/assets/DomesticWireDetailsPage-RoRpMC50-CSWDfu4W.js +0 -21
  236. package/dist/assets/EditPeoplePage-xDL6VA_r-CcyNCb0B.js +0 -55
  237. package/dist/assets/HelpButton-D5ZYyQMh-CbYd0zN7.js +0 -28
  238. package/dist/assets/InvitePeoplePage-C9AwNqIx-ByE99RmM.js +0 -12
  239. package/dist/assets/LabeledDocumentField-DiMgPKtR-CSKmqw6B.js +0 -41
  240. package/dist/assets/LabeledDropDownFormattedTextField-DsjpTL6X-j5IQGEbH.js +0 -59
  241. package/dist/assets/NoDataChart-DE6NV823-DgTs2vbZ.js +0 -26
  242. package/dist/assets/NotificationsListConfig-TBQMobJ5-DLtoRFYq.js +0 -1
  243. package/dist/assets/StatementsPage-CUpjL5u7-BWH36hJA.js +0 -58
  244. package/dist/assets/TaskManagementPage-Cf523C5f-BE6A19pl.js +0 -508
  245. package/dist/assets/TimeframeSwitcherWithToggle-BKwe3K9l-CC0-bOos.js +0 -31
  246. package/dist/assets/ZeniAccountNavBarPieces-gzy5T7nu-ZPpRmm1I.js +0 -14
  247. package/dist/assets/analytics-DThoELaW.js +0 -7
  248. package/dist/assets/mui-C5LQ0bMa.js +0 -25
@@ -1,4 +1,4 @@
1
- import{a as xe,eX as fe,j as t,l as _,F as ge,bM as ye,M as je,bO as Se,bP as $e,o as i,h as ke,al as K,f as X,a2 as ve,T as Ce,dG as we,eN as be,k4 as Z,dq as ee,q as l,u as Ee,_ as Pe,aQ as te,cZ as ne,b0 as Re,g as oe,ax as De}from"./index-D3N9MvRr.js";import{b as r,n as o}from"./vendor-CnQcJ2Lu.js";import{E as Ie,C as Fe,w as _e,f as Te}from"./AccountRow-D4iz2vCr-CUjY-as_.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";const m={containerPaddingLeft:i.sp4,containerPaddingRight:i.sp4,navBarHeight:i.sp10,navBarPaddingRight:i.sp4,navBarPaddingLeft:i.sp4,balanceContainerWidth:114,sourceContainerWidth:400},Ue=o.div`
1
+ import{a as xe,e_ as fe,j as t,l as F,F as ge,bN as ye,M as je,bP as Se,bQ as $e,o as i,h as ke,aq as K,f as Z,a6 as ve,T as Ce,dI as we,eQ as be,k7 as V,ds as ee,s as l,u as Ee,_ as Pe,aQ as te,c$ as ne,b1 as Re,g as oe,ee as De}from"./index-GMJ2nuUF.js";import{b as r,n as o}from"./vendor-CnQcJ2Lu.js";import{E as Ie,C as _e,w as Fe,f as Te}from"./AccountRow-vtPa0PJn-DyxPucxT.js";import"./mui-BgvZYSo0.js";import"./analytics-BSSiLa6f.js";import"./routing-BNz5gZgX.js";import"./sentry-HDxG13yk.js";import"./redux-DmDqXYej.js";import"./liveblocks-BUGn2yQ6.js";import"./crypto-BURQLTgV.js";const m={containerPaddingLeft:i.sp4,containerPaddingRight:i.sp4,navBarHeight:i.sp10,navBarPaddingRight:i.sp4,navBarPaddingLeft:i.sp4,balanceContainerWidth:114,sourceContainerWidth:400},Ue=o.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  background-color: ${e=>e.theme.colors.grey4};
@@ -11,7 +11,7 @@ import{a as xe,eX as fe,j as t,l as _,F as ge,bM as ye,M as je,bO as Se,bP as $e
11
11
  display: flex;
12
12
  flex: 0 0 auto;
13
13
  width: ${i.sp4};
14
- `,Oe=o.div`
14
+ `,Ye=o.div`
15
15
  min-height: ${m.navBarHeight};
16
16
  position: sticky;
17
17
  background-color: ${e=>e.theme.colors.grey4};
@@ -19,7 +19,7 @@ import{a as xe,eX as fe,j as t,l as _,F as ge,bM as ye,M as je,bO as Se,bP as $e
19
19
  z-index: 2;
20
20
  top: ${i.sp0};
21
21
  width: 100%;
22
- `,Ye=o(ve)`
22
+ `,Le=o(ve)`
23
23
  cursor: pointer;
24
24
  color: ${e=>e.theme.colors.hero};
25
25
  width: ${i.sp4};
@@ -29,13 +29,13 @@ import{a as xe,eX as fe,j as t,l as _,F as ge,bM as ye,M as je,bO as Se,bP as $e
29
29
  color: ${e=>e.theme.colors.primary};
30
30
  }
31
31
  flex: 0 0 auto;
32
- `,Le=o.div`
32
+ `,Oe=o.div`
33
33
  padding-left: ${m.containerPaddingLeft};
34
34
  padding-right: ${m.containerPaddingRight};
35
35
  `,Be=o.div`
36
36
  position: relative;
37
37
  min-height: 62px;
38
- `,Ae=o.div`
38
+ `,We=o.div`
39
39
  display: flex;
40
40
  flex-direction: row;
41
41
  align-items: center;
@@ -47,7 +47,7 @@ import{a as xe,eX as fe,j as t,l as _,F as ge,bM as ye,M as je,bO as Se,bP as $e
47
47
  padding-right: ${m.navBarPaddingRight};
48
48
  padding-left: ${m.navBarPaddingLeft};
49
49
  height: 100%;
50
- `,We=o(ke)`
50
+ `,Ae=o(ke)`
51
51
  display: flex;
52
52
  flex: 1 1 0;
53
53
  justify-content: center;
@@ -58,7 +58,7 @@ import{a as xe,eX as fe,j as t,l as _,F as ge,bM as ye,M as je,bO as Se,bP as $e
58
58
  align-items: center;
59
59
  justify-content: center;
60
60
  overflow: hidden;
61
- `,ie=o(X)`
61
+ `,ie=o(Z)`
62
62
  display: flex;
63
63
  color: ${e=>e.theme.colors.hero};
64
64
  align-items: center;
@@ -69,13 +69,13 @@ import{a as xe,eX as fe,j as t,l as _,F as ge,bM as ye,M as je,bO as Se,bP as $e
69
69
  flex: 0 0 auto;
70
70
  justify-content: center;
71
71
  align-items: center;
72
- `,qe=o.div`
72
+ `,He=o.div`
73
73
  display: flex;
74
74
  flex-direction: column;
75
75
  align-items: center;
76
76
  justify-content: center;
77
77
  gap: ${i.sp5};
78
- `,He=o.div`
78
+ `,qe=o.div`
79
79
  display: flex;
80
80
  flex-direction: row;
81
81
  align-items: center;
@@ -85,32 +85,32 @@ import{a as xe,eX as fe,j as t,l as _,F as ge,bM as ye,M as je,bO as Se,bP as $e
85
85
  background-color: ${e=>e.theme.colors.background};
86
86
  border-radius: ${i.sp2};
87
87
  border: 1px solid ${e=>e.theme.colors.grey3};
88
- `,Je=o.div`
88
+ `,Qe=o.div`
89
89
  display: flex;
90
90
  flex-direction: column;
91
91
  align-items: flex-start;
92
92
  justify-content: center;
93
93
  min-width: ${m.balanceContainerWidth}px;
94
- `,W=o(X)`
94
+ `,A=o(Z)`
95
95
  display: flex;
96
96
  color: ${e=>e.theme.colors.hero};
97
97
  align-items: center;
98
98
  justify-content: flex-end;
99
- `,Qe=o(l)`
99
+ `,Je=o(l)`
100
100
  color: ${e=>e.theme.colors.primary};
101
101
  text-align: left;
102
- `,Ze=o.div`
102
+ `,Ve=o.div`
103
103
  display: flex;
104
104
  flex-direction: column;
105
105
  align-items: flex-start;
106
106
  justify-content: flex-start;
107
107
  min-width: ${m.balanceContainerWidth}px;
108
- `,Ve=o(l)`
108
+ `,Ge=o(l)`
109
109
  display: flex;
110
110
  color: ${e=>e.theme.colors.primary};
111
111
  align-items: center;
112
112
  justify-content: flex-start;
113
- `,Ge=o.div`
113
+ `,Xe=o.div`
114
114
  display: flex;
115
115
  flex-direction: row;
116
116
  align-items: flex-start;
@@ -122,7 +122,7 @@ import{a as xe,eX as fe,j as t,l as _,F as ge,bM as ye,M as je,bO as Se,bP as $e
122
122
  align-items: flex-start;
123
123
  justify-content: flex-start;
124
124
  min-width: ${m.balanceContainerWidth}px;
125
- `,Xe=o(l)`
125
+ `,Ze=o(l)`
126
126
  display: flex;
127
127
  color: ${e=>e.theme.colors.grey3};
128
128
  align-items: center;
@@ -187,7 +187,7 @@ import{a as xe,eX as fe,j as t,l as _,F as ge,bM as ye,M as je,bO as Se,bP as $e
187
187
  color: ${e=>e.theme.colors.hero};
188
188
  align-items: center;
189
189
  justify-content: flex-end;
190
- `,F=o(l)`
190
+ `,_=o(l)`
191
191
  display: flex;
192
192
  color: ${e=>e.theme.colors.primary};
193
193
  align-items: center;
@@ -236,4 +236,4 @@ import{a as xe,eX as fe,j as t,l as _,F as ge,bM as ye,M as je,bO as Se,bP as $e
236
236
  color: ${e=>e.status==="connected"?e.theme.colors.success:e.status==="reconnect"?e.theme.colors.important:e.theme.colors.link};
237
237
  cursor: pointer;
238
238
  text-decoration: underline;
239
- `,{common:p,dateFormat:V,expenseAutomation:{accountRecon:c}}=je.getLocalizedStrings(),ht=(e,n)=>`${e}.${n}`,mt="accountReconDrawerDetailsPage",se="accountReconDrawerDetailsSection";function _t({accountReconciliation:e,plaidConnectionDetails:n,monthYearPeriod:d,openFilePicker:u,filesEndPoint:f,authParams:S,onDismissClick:$,onFetchLinkTokenClick:E,onEstablishConnectionClick:P,onSelectSourceType:T,onDeleteFile:R,onEditFileName:U,onStatementUploadSuccess:M,onUploadWindowOpenedOnce:O}){const x=xe({mode:"all",reValidateMode:"onChange",defaultValues:G(e),resetOptions:{keepDirtyValues:!0,keepErrors:!0},values:G(e)}),k=x.handleSubmit(()=>{}),[h,g]=r.useState(void 0),v=n.link_account_no_microdeposit,C=n.update_account,s=h==="update_account"?C:v,[y,Y]=r.useState(s.linkToken??null),[a,w]=r.useState(!1),[z,L]=r.useState(!1),[B,A]=r.useState(void 0),[re,q]=r.useState(void 0),le=r.useCallback(()=>{g("link_account_no_microdeposit")},[]),de=r.useCallback(()=>{g("update_account"),E("update_account",e.paymentAccountId)},[e.paymentAccountId]),ue={onOkClick:()=>{B!=null&&(R(B),A(void 0)),q(void 0),L(!1)},onCancelClick:()=>{A(void 0),L(!1)}},H=r.useRef(h);r.useEffect(()=>{H.current=h},[h]);const pe=r.useCallback(D=>{P(D,e.accountReconEntity.account.accountId,H.current),g(void 0),w(!1)},[P,e.accountReconEntity.account.accountId]),he=r.useCallback((D,me)=>{D!=null&&console.log("Plaid Connection Error",D,me),g(void 0),w(!1)},[]),{open:J,ready:Q}=fe({token:y,onSuccess:pe,onExit:he});return r.useEffect(()=>{(_.zeniDate(new Date().toISOString()).isAfter(s.expiration)||s.linkToken==null)&&s.fetchStatus.fetchState==="Not-Started"&&E("link_account_no_microdeposit")},[s.fetchStatus.fetchState]),r.useEffect(()=>{!a&&h!=null&&s.linkToken===y&&s.fetchStatus.fetchState==="Completed"&&Q&&w(!0)},[Q,y,s.fetchStatus.fetchState,s.linkToken,h,a]),r.useEffect(()=>{s.fetchStatus.fetchState==="Completed"&&s.linkToken!=null&&s.linkToken!==y&&Y(s.linkToken)},[s.fetchStatus.fetchState,s.linkToken,y]),r.useEffect(()=>{a&&J()},[a,J]),t.jsxs(Ue,{children:[t.jsx(Oe,{children:t.jsx(Be,{children:t.jsxs(Ae,{children:[t.jsx(Me,{}),t.jsxs(We,{children:[t.jsx(Ne,{children:e.accountReconEntity.account.accountName}),t.jsx(ie,{children:t.jsx($t,{monthYearPeriod:d})})]}),t.jsx(ze,{children:t.jsx(Ye,{onClick:$})})]})})}),t.jsxs(Le,{children:[t.jsx(ge,{...x,children:t.jsx("form",{style:{width:"100%"},id:mt,onSubmit:k,children:t.jsx(xt,{monthYearPeriod:d,accountReconciliation:e,filesEndPoint:f,openFilePicker:u,authParams:S,onConnectClick:le,onReconnectClick:de,onSelectSourceType:T,onDeleteFile:R,onEditFileName:U,onStatementUploadSuccess:M,onUploadWindowOpenedOnce:O,showConfirmationPopup:z,setShowConfirmationPopup:L,deleteFileId:B,setDeleteFileId:A,uploadErrorMessage:re,setUploadErrorMessage:q})})}),z===!0||e.statementDeleteStatus.fetchState==="In-Progress"?t.jsx(ye,{titleComponent:t.jsx($e,{children:c.reconciliation.drawer.deleteConfirmation.heading}),descriptionComponent:t.jsx(Se,{children:c.reconciliation.drawer.deleteConfirmation.description}),isLoading:e.statementDeleteStatus.fetchState==="In-Progress",primaryButtonText:p.confirm,secondaryButtonText:p.cancel,action:ue}):null]})]})}const xt=({monthYearPeriod:e,accountReconciliation:n,filesEndPoint:d,authParams:u,openFilePicker:f,onConnectClick:S,onReconnectClick:$,setDeleteFileId:E,setShowConfirmationPopup:P,onEditFileName:T,onSelectSourceType:R,onStatementUploadSuccess:U,onUploadWindowOpenedOnce:M,uploadErrorMessage:O,setUploadErrorMessage:x})=>{const[k,h]=r.useState(!1),g=(n.localData?.accountSource??"plaid")==="plaid"?n.accountReconEntity.reconciliationId!=null?n.accountReconEntity.reconUpdatedAt:n.accountReconEntity.accountUpdatedAt:n.accountReconEntity.reconUpdatedAt,v=[];v.push({label:c.reconciliation.menu.bankConnection,value:"plaid"}),v.push({label:c.reconciliation.menu.statement,value:"bank_statement"});const C=n.localData?.accountSource,s=n.accountConnectionStatus==="connected"||n.connectionInProgress===!0?"plaid":n.accountReconEntity.statementStatus?.code==="uploaded"||n.statementParseInProgress===!0||k?"bank_statement":void 0;r.useEffect(()=>{n.accountReconEntity.statementStatus.code==="uploaded"&&(n.accountReconEntity.statementDataStatus?.code==="validation_failed"||n.accountReconEntity.statementDataStatus?.code==="parsing_failed"||n.accountReconEntity.statementDataStatus?.code==="processing_failed")&&x(Ie(n.accountReconEntity.statementDataStatus?.code,"drawer",n.accountReconEntity.errorMessage?.errorShort))},[n.accountReconEntity.statementStatus.code,n.accountReconEntity.statementDataStatus?.code,n.accountReconEntity.errorMessage?.errorShort,x]);const y=["reconciled","in_progress","reconciled_via_qbo"],Y=n.accountReconEntity.reconciliationStatus!=null&&y.includes(n.accountReconEntity.reconciliationStatus.code);return t.jsxs(qe,{children:[t.jsxs(He,{children:[t.jsxs(Je,{children:[t.jsx(W,{children:c.reconciliation.headers.bankBalance}),t.jsx(Qe,{children:t.jsx(Fe,{bankBalance:n.accountReconEntity.balance,bankConnection:n.accountConnectionStatus,isLoading:!1,fromDrawer:!0,accountId:n.accountReconEntity.account.accountId,statementStatus:n.accountReconEntity.statementStatus.code,onStatementAddClicked:()=>{},setIsHovering:()=>{}})})]}),t.jsxs(Ze,{children:[t.jsx(W,{children:c.reconciliation.headers.clearedBalance}),t.jsx(Ve,{children:t.jsx(_e,{clearedBalance:n.accountReconEntity.clearedBalance,isLoading:!1})})]}),t.jsxs(Ke,{children:[t.jsx(W,{children:c.reconciliation.headers.variance}),t.jsx(Xe,{children:t.jsx(jt,{variance:n.accountReconEntity.variance,variancePercentage:n.accountReconEntity.variancePercentage})})]})]}),t.jsxs(ct,{children:[t.jsxs(at,{children:[" ",c.reconciliation.drawer.source," "]}),t.jsxs(st,{children:[t.jsxs(b,{children:[t.jsx(I,{children:c.reconciliation.drawer.labels.type}),t.jsx(F,{children:s!=null?t.jsx(j,{children:s==="plaid"?t.jsxs(t.Fragment,{children:[t.jsx(ce,{}),c.reconciliation.menu.bankConnection]}):t.jsxs(t.Fragment,{children:[t.jsx(ae,{}),c.reconciliation.menu.statement]})}):t.jsx(Ce,{controller:!0,children:t.jsx(we,{moreIconType:"custom",customIcon:t.jsx(ft,{selectedSourceType:C}),options:v,customStyleConfig:{option:()=>({".option-container":{justifyContent:"flex-start"}}),valueContainer:()=>({height:i.sp5,width:"180px"})},menuPlacement:"bottom",onOptionSelection:a=>{R(_.toReconciliationAccountSource(a))},valueToIcon:a=>a==="plaid"?t.jsx(lt,{}):a==="bank_statement"?t.jsx(dt,{}):null})})})]}),C==="bank_statement"?t.jsx(b,{children:t.jsx(be,{name:ht(se,"file"),file:n.accountReconEntity.statementMetaData?.file,showPhotoPicker:!1,isDisabled:Y,sizeLimit:1e7,onFileSizeError:a=>{a&&x(p.fileElementPicker.sizeLimit)},deleteFileStatusById:{},updateFileStatusById:{},filesEndPoint:d,authParams:u,acceptableTypes:["application/pdf"],placeholderText:c.reconciliation.drawer.downloadPlaceholder,autoOpenFilePicker:f,accountStatementUpload:{uploadHelper:_.uploadAccountStatementIntoDocumentAI,metadataPayload:{accountId:n.accountReconEntity.account.accountId,monthYearPeriod:e},errorMessage:O,onUploadError:a=>{x(a?.message)},onUploadSuccess:a=>{U(a),h(!1)},onUploadStart:()=>{h(!0),x(void 0)},onUploadWindowOpenedOnce:()=>{M()}},onDeleteFile:a=>{E(a),P(!0)},onEditFileName:(a,w)=>{T(a,w)}})}):null,t.jsxs(b,{children:[t.jsx(I,{children:c.reconciliation.drawer.labels.status}),t.jsx(F,{children:C!=="bank_statement"?t.jsx(gt,{status:n.accountConnectionStatus,connectionInProgress:n.connectionInProgress,onConnectClick:S,onReconnectClick:$}):t.jsx(yt,{uploadInProgress:k,status:n.accountReconEntity.statementDataStatus?.code})})]}),t.jsxs(b,{children:[t.jsx(I,{children:c.reconciliation.drawer.labels.accountType}),t.jsx(F,{children:t.jsx(St,{accountSubType:Z(n.accountReconEntity.account.accountSubType??"")})})]}),t.jsxs(b,{children:[t.jsx(I,{children:c.reconciliation.drawer.labels.lastUpdated}),t.jsx(F,{children:t.jsx(ee,{isLoading:k,customStyle:{height:"20px",width:"100px"},position:"left",children:g!=null?t.jsx(j,{children:Z(g.utc(!0).fromNow())}):p.strings.hyphen})})]})]})]})]})},ft=({selectedSourceType:e})=>t.jsxs(nt,{children:[e==null||e==="plaid"?t.jsx(ce,{}):t.jsx(ae,{}),t.jsx(ot,{children:e==null||e==="plaid"?c.reconciliation.menu.bankConnection:c.reconciliation.menu.statement}),t.jsx(it,{})]}),gt=({status:e,connectionInProgress:n,onConnectClick:d,onReconnectClick:u})=>n?t.jsx(N,{children:c.reconciliation.drawer.values.connecting}):e==="connected"?t.jsxs(N,{children:[t.jsx(rt,{}),t.jsx(ut,{children:c.reconciliation.drawer.values.connected})]}):t.jsx(N,{onClick:e==="reconnect"?u:d,children:t.jsx(pt,{status:e,children:e==="reconnect"?c.reconciliation.drawer.values.reconnect:c.reconciliation.drawer.values.connect})}),yt=({status:e,uploadInProgress:n})=>n?t.jsx(ee,{isLoading:n,customStyle:{height:"20px",width:"100px"},position:"left",children:t.jsx(t.Fragment,{})}):e==null?t.jsx(j,{children:p.strings.hyphen}):e==="parsing"?t.jsx(j,{children:c.reconciliation.drawer.values.statementParsing}):e==="validated"?t.jsx(j,{children:c.reconciliation.drawer.values.uploaded}):t.jsx(j,{children:p.strings.hyphen}),jt=({variance:e,variancePercentage:n,reconciliationStatusCode:d})=>{const u=Ee(),{varianceColor:f,variancePercentageColor:S,variancePercentageContainerColor:$}=Te(u,e,d,!0);return t.jsxs(Ge,{children:[t.jsx(et,{textColor:f,children:Pe("0,0",e)??p.strings.hyphen}),t.jsxs(tt,{textColor:S,bgColor:$,children:[n!=null?n===0?"0":n.toFixed(2):null,n!=null?p.strings.percentage:null]})]})},St=({accountSubType:e})=>{const n=e!=null?e.replace("_"," "):p.strings.hyphen;return t.jsx(j,{children:n})},$t=({monthYearPeriod:e})=>t.jsx(ie,{children:kt(e)}),kt=e=>{const{month:n,year:d}=e,u=_.zeniDate(`${d}-${String(n).padStart(2,"0")}-01`);let f=u.endOf("month");return`${u.format(V.visual.DMMMYYYYFormat)} ${p.strings.hyphen} ${f.format(V.visual.DMMMYYYYFormat)}`},G=e=>({[se]:{file:e.accountReconEntity.statementMetaData?.file,selectedType:e.localData?.accountSource}});export{_t as default,ht as uniqueName};
239
+ `,{common:p,dateFormat:G,expenseAutomation:{accountRecon:c}}=je.getLocalizedStrings(),ht=(e,n)=>`${e}.${n}`,mt="accountReconDrawerDetailsPage",se="accountReconDrawerDetailsSection";function Ft({accountReconciliation:e,plaidConnectionDetails:n,monthYearPeriod:d,openFilePicker:u,filesEndPoint:f,authParams:S,onDismissClick:$,onFetchLinkTokenClick:E,onEstablishConnectionClick:P,onSelectSourceType:T,onDeleteFile:R,onEditFileName:U,onStatementUploadSuccess:M,onUploadWindowOpenedOnce:Y}){const x=xe({mode:"all",reValidateMode:"onChange",defaultValues:X(e),resetOptions:{keepDirtyValues:!0,keepErrors:!0},values:X(e)}),k=x.handleSubmit(()=>{}),[h,g]=r.useState(void 0),v=n.link_account_no_microdeposit,C=n.update_account,s=h==="update_account"?C:v,[y,L]=r.useState(s.linkToken??null),[a,w]=r.useState(!1),[z,O]=r.useState(!1),[B,W]=r.useState(void 0),[re,H]=r.useState(void 0),le=r.useCallback(()=>{g("link_account_no_microdeposit")},[]),de=r.useCallback(()=>{g("update_account"),E("update_account",e.paymentAccountId)},[e.paymentAccountId]),ue={onOkClick:()=>{B!=null&&(R(B),W(void 0)),H(void 0),O(!1)},onCancelClick:()=>{W(void 0),O(!1)}},q=r.useRef(h);r.useEffect(()=>{q.current=h},[h]);const pe=r.useCallback(D=>{P(D,e.accountReconEntity.account.accountId,q.current),g(void 0),w(!1)},[P,e.accountReconEntity.account.accountId]),he=r.useCallback((D,me)=>{D!=null&&console.log("Plaid Connection Error",D,me),g(void 0),w(!1)},[]),{open:Q,ready:J}=fe({token:y,onSuccess:pe,onExit:he});return r.useEffect(()=>{(F.zeniDate(new Date().toISOString()).isAfter(s.expiration)||s.linkToken==null)&&s.fetchStatus.fetchState==="Not-Started"&&E("link_account_no_microdeposit")},[s.fetchStatus.fetchState]),r.useEffect(()=>{!a&&h!=null&&s.linkToken===y&&s.fetchStatus.fetchState==="Completed"&&J&&w(!0)},[J,y,s.fetchStatus.fetchState,s.linkToken,h,a]),r.useEffect(()=>{s.fetchStatus.fetchState==="Completed"&&s.linkToken!=null&&s.linkToken!==y&&L(s.linkToken)},[s.fetchStatus.fetchState,s.linkToken,y]),r.useEffect(()=>{a&&Q()},[a,Q]),t.jsxs(Ue,{children:[t.jsx(Ye,{children:t.jsx(Be,{children:t.jsxs(We,{children:[t.jsx(Me,{}),t.jsxs(Ae,{children:[t.jsx(Ne,{children:e.accountReconEntity.account.accountName}),t.jsx(ie,{children:t.jsx($t,{monthYearPeriod:d})})]}),t.jsx(ze,{children:t.jsx(Le,{onClick:$})})]})})}),t.jsxs(Oe,{children:[t.jsx(ge,{...x,children:t.jsx("form",{style:{width:"100%"},id:mt,onSubmit:k,children:t.jsx(xt,{monthYearPeriod:d,accountReconciliation:e,filesEndPoint:f,openFilePicker:u,authParams:S,onConnectClick:le,onReconnectClick:de,onSelectSourceType:T,onDeleteFile:R,onEditFileName:U,onStatementUploadSuccess:M,onUploadWindowOpenedOnce:Y,showConfirmationPopup:z,setShowConfirmationPopup:O,deleteFileId:B,setDeleteFileId:W,uploadErrorMessage:re,setUploadErrorMessage:H})})}),z===!0||e.statementDeleteStatus.fetchState==="In-Progress"?t.jsx(ye,{titleComponent:t.jsx($e,{children:c.reconciliation.drawer.deleteConfirmation.heading}),descriptionComponent:t.jsx(Se,{children:c.reconciliation.drawer.deleteConfirmation.description}),isLoading:e.statementDeleteStatus.fetchState==="In-Progress",primaryButtonText:p.confirm,secondaryButtonText:p.cancel,action:ue}):null]})]})}const xt=({monthYearPeriod:e,accountReconciliation:n,filesEndPoint:d,authParams:u,openFilePicker:f,onConnectClick:S,onReconnectClick:$,setDeleteFileId:E,setShowConfirmationPopup:P,onEditFileName:T,onSelectSourceType:R,onStatementUploadSuccess:U,onUploadWindowOpenedOnce:M,uploadErrorMessage:Y,setUploadErrorMessage:x})=>{const[k,h]=r.useState(!1),g=(n.localData?.accountSource??"plaid")==="plaid"?n.accountReconEntity.reconciliationId!=null?n.accountReconEntity.reconUpdatedAt:n.accountReconEntity.accountUpdatedAt:n.accountReconEntity.reconUpdatedAt,v=[];v.push({label:c.reconciliation.menu.bankConnection,value:"plaid"}),v.push({label:c.reconciliation.menu.statement,value:"bank_statement"});const C=n.localData?.accountSource,s=n.accountConnectionStatus==="connected"||n.connectionInProgress===!0?"plaid":n.accountReconEntity.statementStatus?.code==="uploaded"||n.statementParseInProgress===!0||k?"bank_statement":void 0;r.useEffect(()=>{n.accountReconEntity.statementStatus.code==="uploaded"&&(n.accountReconEntity.statementDataStatus?.code==="validation_failed"||n.accountReconEntity.statementDataStatus?.code==="parsing_failed"||n.accountReconEntity.statementDataStatus?.code==="processing_failed")&&x(Ie(n.accountReconEntity.statementDataStatus?.code,"drawer",n.accountReconEntity.errorMessage?.errorShort))},[n.accountReconEntity.statementStatus.code,n.accountReconEntity.statementDataStatus?.code,n.accountReconEntity.errorMessage?.errorShort,x]);const y=["reconciled","in_progress","reconciled_via_qbo"],L=n.accountReconEntity.reconciliationStatus!=null&&y.includes(n.accountReconEntity.reconciliationStatus.code);return t.jsxs(He,{children:[t.jsxs(qe,{children:[t.jsxs(Qe,{children:[t.jsx(A,{children:c.reconciliation.headers.bankBalance}),t.jsx(Je,{children:t.jsx(_e,{bankBalance:n.accountReconEntity.balance,bankConnection:n.accountConnectionStatus,isLoading:!1,fromDrawer:!0,accountId:n.accountReconEntity.account.accountId,statementStatus:n.accountReconEntity.statementStatus.code,onStatementAddClicked:()=>{},setIsHovering:()=>{}})})]}),t.jsxs(Ve,{children:[t.jsx(A,{children:c.reconciliation.headers.clearedBalance}),t.jsx(Ge,{children:t.jsx(Fe,{clearedBalance:n.accountReconEntity.clearedBalance,isLoading:!1})})]}),t.jsxs(Ke,{children:[t.jsx(A,{children:c.reconciliation.headers.variance}),t.jsx(Ze,{children:t.jsx(jt,{variance:n.accountReconEntity.variance,variancePercentage:n.accountReconEntity.variancePercentage})})]})]}),t.jsxs(ct,{children:[t.jsxs(at,{children:[" ",c.reconciliation.drawer.source," "]}),t.jsxs(st,{children:[t.jsxs(b,{children:[t.jsx(I,{children:c.reconciliation.drawer.labels.type}),t.jsx(_,{children:s!=null?t.jsx(j,{children:s==="plaid"?t.jsxs(t.Fragment,{children:[t.jsx(ce,{}),c.reconciliation.menu.bankConnection]}):t.jsxs(t.Fragment,{children:[t.jsx(ae,{}),c.reconciliation.menu.statement]})}):t.jsx(Ce,{controller:!0,children:t.jsx(we,{moreIconType:"custom",customIcon:t.jsx(ft,{selectedSourceType:C}),options:v,customStyleConfig:{option:()=>({".option-container":{justifyContent:"flex-start"}}),valueContainer:()=>({height:i.sp5,width:"180px"})},menuPlacement:"bottom",onOptionSelection:a=>{R(F.toReconciliationAccountSource(a))},valueToIcon:a=>a==="plaid"?t.jsx(lt,{}):a==="bank_statement"?t.jsx(dt,{}):null})})})]}),C==="bank_statement"?t.jsx(b,{children:t.jsx(be,{name:ht(se,"file"),file:n.accountReconEntity.statementMetaData?.file,showPhotoPicker:!1,isDisabled:L,sizeLimit:1e7,onFileSizeError:a=>{a&&x(p.fileElementPicker.sizeLimit)},deleteFileStatusById:{},updateFileStatusById:{},filesEndPoint:d,authParams:u,acceptableTypes:["application/pdf"],placeholderText:c.reconciliation.drawer.downloadPlaceholder,autoOpenFilePicker:f,accountStatementUpload:{uploadHelper:F.uploadAccountStatementIntoDocumentAI,metadataPayload:{accountId:n.accountReconEntity.account.accountId,monthYearPeriod:e},errorMessage:Y,onUploadError:a=>{x(a?.message)},onUploadSuccess:a=>{U(a),h(!1)},onUploadStart:()=>{h(!0),x(void 0)},onUploadWindowOpenedOnce:()=>{M()}},onDeleteFile:a=>{E(a),P(!0)},onEditFileName:(a,w)=>{T(a,w)}})}):null,t.jsxs(b,{children:[t.jsx(I,{children:c.reconciliation.drawer.labels.status}),t.jsx(_,{children:C!=="bank_statement"?t.jsx(gt,{status:n.accountConnectionStatus,connectionInProgress:n.connectionInProgress,onConnectClick:S,onReconnectClick:$}):t.jsx(yt,{uploadInProgress:k,status:n.accountReconEntity.statementDataStatus?.code})})]}),t.jsxs(b,{children:[t.jsx(I,{children:c.reconciliation.drawer.labels.accountType}),t.jsx(_,{children:t.jsx(St,{accountSubType:V(n.accountReconEntity.account.accountSubType??"")})})]}),t.jsxs(b,{children:[t.jsx(I,{children:c.reconciliation.drawer.labels.lastUpdated}),t.jsx(_,{children:t.jsx(ee,{isLoading:k,customStyle:{height:"20px",width:"100px"},position:"left",children:g!=null?t.jsx(j,{children:V(g.utc(!0).fromNow())}):p.strings.hyphen})})]})]})]})]})},ft=({selectedSourceType:e})=>t.jsxs(nt,{children:[e==null||e==="plaid"?t.jsx(ce,{}):t.jsx(ae,{}),t.jsx(ot,{children:e==null||e==="plaid"?c.reconciliation.menu.bankConnection:c.reconciliation.menu.statement}),t.jsx(it,{})]}),gt=({status:e,connectionInProgress:n,onConnectClick:d,onReconnectClick:u})=>n?t.jsx(N,{children:c.reconciliation.drawer.values.connecting}):e==="connected"?t.jsxs(N,{children:[t.jsx(rt,{}),t.jsx(ut,{children:c.reconciliation.drawer.values.connected})]}):t.jsx(N,{onClick:e==="reconnect"?u:d,children:t.jsx(pt,{status:e,children:e==="reconnect"?c.reconciliation.drawer.values.reconnect:c.reconciliation.drawer.values.connect})}),yt=({status:e,uploadInProgress:n})=>n?t.jsx(ee,{isLoading:n,customStyle:{height:"20px",width:"100px"},position:"left",children:t.jsx(t.Fragment,{})}):e==null?t.jsx(j,{children:p.strings.hyphen}):e==="parsing"?t.jsx(j,{children:c.reconciliation.drawer.values.statementParsing}):e==="validated"?t.jsx(j,{children:c.reconciliation.drawer.values.uploaded}):t.jsx(j,{children:p.strings.hyphen}),jt=({variance:e,variancePercentage:n,reconciliationStatusCode:d})=>{const u=Ee(),{varianceColor:f,variancePercentageColor:S,variancePercentageContainerColor:$}=Te(u,e,d,!0);return t.jsxs(Xe,{children:[t.jsx(et,{textColor:f,children:Pe("0,0",e)??p.strings.hyphen}),t.jsxs(tt,{textColor:S,bgColor:$,children:[n!=null?n===0?"0":n.toFixed(2):null,n!=null?p.strings.percentage:null]})]})},St=({accountSubType:e})=>{const n=e!=null?e.replace("_"," "):p.strings.hyphen;return t.jsx(j,{children:n})},$t=({monthYearPeriod:e})=>t.jsx(ie,{children:kt(e)}),kt=e=>{const{month:n,year:d}=e,u=F.zeniDate(`${d}-${String(n).padStart(2,"0")}-01`);let f=u.endOf("month");return`${u.format(G.visual.DMMMYYYYFormat)} ${p.strings.hyphen} ${f.format(G.visual.DMMMYYYYFormat)}`},X=e=>({[se]:{file:e.accountReconEntity.statementMetaData?.file,selectedType:e.localData?.accountSource}});export{Ft as default,ht as uniqueName};
@@ -0,0 +1,298 @@
1
+ import{j as t,M as se,_ as T,bu as f,o,Y as y,T as re,dI as le,s as w,dJ as de,g,dK as G,c$ as X,cq as ue,ab as x,v as Y,p,X as xe,u as E,ak as pe,dq as he,n as ge,K as me,f as S,b6 as fe,d0 as je}from"./index-GMJ2nuUF.js";import{n as a,b as ye,j as we}from"./vendor-CnQcJ2Lu.js";const $e=a.div`
2
+ position: relative;
3
+ ${e=>e.showTreeLine===!0&&e.collapsed!==!0?`&::after {
4
+ content: "";
5
+ position: absolute;
6
+ top: 25px;
7
+ left: 12px;
8
+ border-left: 1px dotted ${e.theme.colors.grey1};
9
+ height: 12px;
10
+ `:""};
11
+ `,be=a.div`
12
+ display: flex;
13
+ min-width: ${o.sp4};
14
+ width: ${o.sp4};
15
+ height: ${o.sp4};
16
+ border-style: solid;
17
+ border-width: 1px;
18
+ border-radius: 12px;
19
+ text-align: center;
20
+ align-items: center;
21
+ justify-content: center;
22
+ color: ${e=>e.colour.toString()};
23
+ `,ve=a(ge)`
24
+ text-align: center;
25
+ color: ${e=>e.colour.toString()};
26
+ `,Ce=a.div`
27
+ svg {
28
+ path {
29
+ stroke-width: 2;
30
+ }
31
+ }
32
+ `,Re=a(he)`
33
+ margin-top: 6px;
34
+ width: 12px;
35
+ height: 12px;
36
+ `,ke=a(pe)`
37
+ margin-top: ${o.sp1};
38
+ margin-left: 2px;
39
+ width: 12px;
40
+ height: 12px;
41
+ `;function Te({firstLetter:e,color:n,showIcon:i,showCollapsedIcon:c,showTreeLine:l=!1,className:d}){return t.jsx($e,{showTreeLine:l,collapsed:c,children:t.jsx(be,{colour:n,className:d,children:t.jsx(Ce,{children:i===!0?c===!0?t.jsx(ke,{}):t.jsx(Re,{}):t.jsx(ve,{colour:n,className:d,children:e})})})})}const Ee=a.div`
42
+ display: flex;
43
+ flex: 1 1 auto;
44
+ max-height: 1px;
45
+ background-color: ${e=>e.isScrolling?"transparent":e.theme.colors.hero};
46
+ `,Se=a.div`
47
+ display: flex;
48
+ flex: 1 1 auto;
49
+ height: 1px;
50
+ width: 100%;
51
+ `,Ie=a.div`
52
+ flex: 1 1 auto;
53
+ height: 1px;
54
+ width: 100%;
55
+ `;function Le({kind:e,isScrolling:n}){switch(e){case"section_separator":return t.jsx(Ee,{isScrolling:n});case"account_separator":return t.jsx(We,{"data-testid":y("account-separator",e)})}}const We=()=>t.jsx(Se,{children:t.jsx(Ie,{className:"part-separator"})}),u={timeframeHeight:p[10],leftHeadingWidth:386,leftTimeframeWidth:161,leftLabelWidth:190,bankBalanceWidth:128,bankBalanceTimeframeWidth:126,bankBalanceRightWidth:p[4],bankBalanceRightTimeframeWidth:p[4],clearedBalanceWidth:144,clearedBalanceTimeframeWidth:142,varianceWidth:193,varianceTimeframeWidth:180,varianceNumberWidth:112,varianceNumberLoadingWidth:130,variancePercentageWidth:p[10],statusWidth:144,statusTimeframeWidth:142,tickLeftMargin:p[4],circleRadius:p[4],spacerLineWidth:p[5],wrapperPadding:p[8]};function Lt(e){switch(e){case"timeframe_headers":return p[12];case"title_string_only":return p[8];case"ac_group_report":return p[8];case"total":return p[8];case"section":return p[0];case"loading_in_progress":return p[8];default:return p[0]}}function Wt(){return!0}const Pe=a.div`
56
+ display: flex;
57
+ flex-direction: column;
58
+ height: ${e=>e.heightValue}px;
59
+ justify-content: flex-start;
60
+ align-items: center;
61
+ padding-right: ${u.wrapperPadding}px;
62
+ cursor: pointer;
63
+ .part-separator {
64
+ background-color: ${e=>e.isLastRow?e.theme.colors.hero:e.isSelectedRow?e.theme.colors.primary:e.theme.colors.grey3};
65
+ }
66
+ .any-text-container {
67
+ ${e=>e.isSelectedRow?we`
68
+ color: ${e.theme.colors.primary};
69
+ `:null}
70
+ }
71
+
72
+ .bank-icon-container {
73
+ display: none;
74
+ }
75
+
76
+ &:hover {
77
+ .part-separator {
78
+ background-color: ${e=>e.theme.colors.primary};
79
+ }
80
+ .any-text-container {
81
+ color: ${e=>e.theme.colors.primary};
82
+ }
83
+ .bank-icon-container {
84
+ display: flex;
85
+ }
86
+ }
87
+ `,_e=a.div`
88
+ height: ${o.sp8};
89
+ `,Be=a.div`
90
+ width: 100%;
91
+ height: ${e=>e.heightValue-1}px;
92
+ user-select: none;
93
+ display: flex;
94
+ flex: 1 1 auto;
95
+ flex-flow: row;
96
+ justify-content: flex-start;
97
+ align-items: center;
98
+ `,Ne=a.div`
99
+ display: flex;
100
+ flex: 1 1 auto;
101
+ justify-content: flex-start;
102
+ align-items: center;
103
+ gap: ${o.sp2};
104
+ margin-left: ${o.sp4};
105
+ `,De=a.div`
106
+ display: flex;
107
+ flex-direction: row;
108
+ align-items: center;
109
+ gap: ${o.sp1};
110
+ margin-top: ${o.sp1};
111
+ `,Ae=a(w)`
112
+ user-select: none;
113
+ clear: both;
114
+ display: inline-block;
115
+ overflow: hidden;
116
+ white-space: nowrap;
117
+ text-overflow: ellipsis;
118
+ text-align: left;
119
+ color: ${e=>e.theme.colors.hero};
120
+ width: ${u.leftLabelWidth}px;
121
+ min-width: ${u.leftLabelWidth}px;
122
+ `,Me=a.div`
123
+ display: flex;
124
+ flex: 1 1 auto;
125
+ justify-content: flex-end;
126
+ align-items: center;
127
+ color: ${e=>e.theme.colors.hero};
128
+ `,Ve=a(w)`
129
+ width: ${u.bankBalanceWidth}px;
130
+ min-width: ${u.bankBalanceWidth}px;
131
+ text-align: right;
132
+ `,Oe=a.div`
133
+ width: ${u.bankBalanceRightWidth}px;
134
+ min-width: ${u.bankBalanceRightWidth}px;
135
+ `,Ue=a(w)`
136
+ width: ${u.clearedBalanceWidth}px;
137
+ min-width: ${u.clearedBalanceWidth}px;
138
+ text-align: right;
139
+ `,Fe=a(w)`
140
+ width: ${u.statusWidth}px;
141
+ min-width: ${u.statusWidth}px;
142
+ height: 1px;
143
+ display: flex;
144
+ align-items: center;
145
+ justify-content: center;
146
+ height: 100%;
147
+ `,Qe=a.div`
148
+ display: flex;
149
+ flex-direction: row;
150
+ min-width: ${u.spacerLineWidth}px;
151
+ width: ${u.spacerLineWidth}px;
152
+ align-items: center;
153
+ `,He=a.div`
154
+ width: 1px;
155
+ margin-left: ${o.sp3};
156
+ height: ${e=>e.heightValue}px;
157
+ background-color: ${e=>e.theme.colors.grey3};
158
+ `,qe=a.div`
159
+ display: flex;
160
+ flex-shrink: 0;
161
+ width: ${u.varianceTimeframeWidth}px;
162
+ min-width: ${u.varianceTimeframeWidth}px;
163
+ flex-direction: row;
164
+ justify-content: flex-end;
165
+ align-items: center;
166
+ text-align: center;
167
+ gap: ${o.sp2};
168
+ margin-left: ${u.tickLeftMargin}px;
169
+ `,ze=a(w)`
170
+ border-radius: ${o.sp1};
171
+ color: ${e=>e.textColor.hex()};
172
+ min-width: ${u.varianceNumberWidth}px;
173
+ text-align: right;
174
+ `,Ke=a(w)`
175
+ border-radius: ${o.sp1};
176
+ padding: ${o.sp0} ${o.sp1};
177
+ justify-content: center;
178
+ text-align: center;
179
+ color: ${e=>e.textColor.hex()};
180
+ background-color: ${e=>e.bgColor.hex()};
181
+ min-width: ${u.variancePercentageWidth}px;
182
+ `,Je=a.div`
183
+ display: flex;
184
+ flex-direction: row;
185
+ align-items: center;
186
+ `,Ge=a.div`
187
+ display: flex;
188
+ flex-direction: column;
189
+ align-items: center;
190
+ `,Xe=a.div`
191
+ display: flex;
192
+ flex-direction: row;
193
+ align-items: center;
194
+ gap: ${o.sp1};
195
+ `,Ye=a(S)`
196
+ color: ${g.success};
197
+ `,K=a(S)`
198
+ color: ${g.success};
199
+ `,Ze=a(je)`
200
+ width: ${o.sp3};
201
+ height: ${o.sp3};
202
+ color: ${g.success};
203
+ `,C=a(w)`
204
+ text-align: right;
205
+ `,et=a.div`
206
+ display: flex;
207
+ flex-direction: row;
208
+ align-items: center;
209
+ justify-content: flex-end;
210
+ `,tt=a(ue)`
211
+ width: ${o.sp3};
212
+ height: ${o.sp3};
213
+ `,nt=a(w)`
214
+ text-align: right;
215
+ color: ${g.important};
216
+ cursor: pointer;
217
+ text-decoration: underline;
218
+ `,ot=a.div`
219
+ display: flex;
220
+ flex-direction: column;
221
+ align-items: flex-end;
222
+ justify-content: flex-start;
223
+ `,at=a.div`
224
+ display: flex;
225
+ flex-direction: row;
226
+ gap: ${o.sp1};
227
+ align-items: center;
228
+ `,it=a.div`
229
+ padding-top: ${o.sp1};
230
+ &:hover {
231
+ color: ${e=>e.theme.colors.primary};
232
+ }
233
+ `,ct=a(de)`
234
+ width: ${o.sp3};
235
+ height: ${o.sp3};
236
+ `,A=a(fe)`
237
+ width: 12px;
238
+ height: 12px;
239
+ color: ${e=>e.iconColor.hex()};
240
+ margin-top: ${o.sp1};
241
+ `,$=a.div`
242
+ display: flex;
243
+ gap: ${o.sp1};
244
+ `,M=a.div`
245
+ display: flex;
246
+ flex-direction: column;
247
+ align-items: center;
248
+ `,J=a(w)`
249
+ color: ${e=>e.theme.colors.hero};
250
+ `,V=a.div`
251
+ display: flex;
252
+ flex-direction: row;
253
+ align-items: center;
254
+ gap: ${o.sp1};
255
+ `,O=a(S)`
256
+ color: ${e=>e.textColor.hex()};
257
+ `,U=a(S)`
258
+ color: ${e=>e.textColor.hex()};
259
+ `,F=a.div`
260
+ display: flex;
261
+ flex-direction: row;
262
+ align-items: center;
263
+ `,Q=a.div`
264
+ display: flex;
265
+ flex-direction: column;
266
+ align-items: center;
267
+ `,R=a(S)`
268
+ color: ${e=>e.textColor.hex()};
269
+ `,st=a.div`
270
+ display: flex;
271
+ flex-direction: column;
272
+ align-items: center;
273
+ justify-content: center;
274
+ `,rt=a(Y)`
275
+ color: ${e=>e.theme.colors.hero};
276
+ `,lt=a(Y)`
277
+ color: ${g.brandColorPearl};
278
+ `,dt=a.div`
279
+ display: flex;
280
+ flex-direction: row;
281
+ align-items: center;
282
+ justify-content: center;
283
+ `,ut=a(G)`
284
+ width: ${o.sp3};
285
+ height: ${o.sp3};
286
+ margin-top: 2px;
287
+ `,xt=a(G)`
288
+ width: ${o.sp3};
289
+ height: ${o.sp3};
290
+ `,pt=a(X)`
291
+ width: ${o.sp3};
292
+ height: ${o.sp3};
293
+ margin-top: 2px;
294
+ `,ht=a(X)`
295
+ width: ${o.sp3};
296
+ height: ${o.sp3};
297
+ margin-top: 2px;
298
+ `,{expenseAutomation:{accountRecon:{reconciliation:s}},common:{strings:{hyphen:h,percentage:gt}}}=se.getLocalizedStrings();function Pt({height:e,accountRecon:n,isLastRow:i,isSelectedRow:c,onReviewClicked:l,onOpenDrawerClicked:d,onConnectClicked:r,onReconnectClicked:m,onStatementAddClicked:I}){const _=xe(),L=E(),v=n.accountReconEntity.account.accountName,j=n.accountReconEntity.balance,B=n.accountReconEntity.clearedBalance,te=n.accountReconEntity.variance,ne=n.accountReconEntity.variancePercentage,oe=()=>{r?.(n.accountReconEntity.account.accountId)},ae=()=>{m?.(n.accountReconEntity.account.accountId)},ie=()=>{I?.(n.accountReconEntity.account.accountId)},H=()=>{l?.(n.accountReconEntity.account.accountId)},[ce,N]=ye.useState(!1),q=n.accountConnectionStatus==="connected"||n.connectionInProgress===!0?"plaid":n.accountReconEntity.statementStatus?.code==="uploaded"||n.statementParseInProgress===!0?"bank_statement":"plaid",k=q==="plaid"?n.accountReconEntity.balanceDataStatus?.code==="in_progress"||n.connectionInProgress===!0:n.accountReconEntity.statementDataStatus?.code==="parsing"||n.statementParseInProgress===!0;let z=e;return i&&(z=e+p[8]),t.jsxs(Pe,{"data-testid":y("total-row-root-container"),heightValue:z,isLastRow:i,windowSize:_,isSelectedRow:c,onClick:()=>{ce!==!0&&d?.(n.accountReconEntity.account.accountId)},children:[t.jsxs(Be,{isClickable:!0,"data-testid":y("total-row-container"),heightValue:e,children:[t.jsxs(Ne,{children:[t.jsx(Te,{firstLetter:v.charAt(0),color:new x(L.colors.hero),showIcon:!1,showCollapsedIcon:!1,className:"any-text-container"}),t.jsx(De,{children:t.jsx(f,{enterDelay:600,title:v,style:{padding:`${o.sp1} ${o.sp2}`},placement:"bottom",children:t.jsx(Ae,{className:"any-text-container",children:v})})})]}),t.jsxs(Me,{children:[t.jsx(Ve,{children:t.jsx(wt,{lastUpdatedAt:n.accountReconEntity.reconciliationId!=null?n.accountReconEntity.reconUpdatedAt:n.accountReconEntity.accountUpdatedAt,setIsHovering:N,statementStatus:n.accountReconEntity.statementStatus.code,accountId:n.accountReconEntity.account.accountId,bankBalance:j,bankConnection:n.accountConnectionStatus,onConnectClicked:oe,onStatementAddClicked:ie,isLoading:k,onReconnectClicked:ae})}),t.jsx(Oe,{children:t.jsx(kt,{statementStatus:n.accountReconEntity.statementStatus.code,statementParseInProgress:n.statementParseInProgress,connectionInProgress:n.connectionInProgress,bankStatusCode:n.accountConnectionStatus})}),t.jsx(Ue,{children:t.jsx($t,{clearedBalance:B,isLoading:k})}),t.jsx(mt,{isLoading:k,variance:te,variancePercentage:ne,reconciliationStatusCode:n.accountReconEntity.reconciliationStatus?.code}),t.jsx(Qe,{children:t.jsx(He,{heightValue:e})}),t.jsx(Fe,{onMouseEnter:()=>{N(!0)},onMouseLeave:()=>{N(!1)},children:q==="plaid"?t.jsx(jt,{accountRecon:n,isLoading:k,onReviewClicked:H}):t.jsx(yt,{accountRecon:n,isLoading:k,onReviewClicked:H})})]})]}),t.jsx(Le,{kind:"account_separator",isScrolling:!1}),i?t.jsx(_e,{}):null]})}const mt=({variance:e,variancePercentage:n,reconciliationStatusCode:i,isLoading:c})=>{const l=E(),{varianceColor:d,variancePercentageColor:r,variancePercentageContainerColor:m}=ft(l,e,i);return t.jsxs(qe,{children:[t.jsx(ze,{textColor:d,className:"any-text-container",children:e==null||c?h:T("0,0",e)}),t.jsxs(Ke,{textColor:r,bgColor:m,className:"any-text-container",children:[n!=null&&!c?n===0?"0":n.toFixed(2):h,n!=null&&!c?gt:null]})]})},ft=(e,n,i,c)=>{let l,d,r;return n!=null&&n.amount===0&&i!=null&&i==="reconciled"?(l=new x(g.success),d=new x(g.success),r=new x(g.successLight)):c===!0?(l=new x(e.colors.primary),d=new x(e.colors.primary),r=new x(e.colors.grey2)):(l=new x(e.colors.hero),d=new x(e.colors.hero),r=new x(e.colors.background)),{varianceColor:l,variancePercentageColor:d,variancePercentageContainerColor:r}},jt=({accountRecon:e,isLoading:n,onReviewClicked:i})=>{const c=e.accountReconEntity.reconciliationStatus,l=e.accountConnectionStatus,d=e.accountReconEntity.reconciliationId!=null?e.accountReconEntity.reconUpdatedAt:e.accountReconEntity.accountUpdatedAt,r=d!=null?`${d.utc(!0).fromNow().toLowerCase()}`:h;if(n)return t.jsx(vt,{});if(e.accountReconEntity.balanceDataStatus?.code==="not_found"){let m="";return e.accountReconEntity.balance==null&&e.accountReconEntity.clearedBalance==null?m=s.status.balanceNotFound:e.accountReconEntity.balance==null?m=s.status.bankBalanceNotFound:m=s.status.clearedBalanceNotFound,t.jsx(bt,{status:m,tooltipText:r})}if(l==="reconnect"||l==="not_connected")return t.jsx(D,{tooltipText:r,showTooltip:d!=null});if(c==null&&l==="connected"&&e.accountReconEntity.balance!=null&&e.accountReconEntity.clearedBalance!=null)return t.jsx(W,{buttonLabel:s.status.review,isDisabled:!1,dataTestId:y("status-button",e.accountReconEntity.account.accountId),tooltipText:r,onClick:i});if(c!=null)switch(c.code){case"save_for_later":case"pending":return t.jsx(W,{buttonLabel:s.status.review,isDisabled:!1,dataTestId:y("status-button",e.accountReconEntity.account.accountId),tooltipText:r,onClick:i});case"reconciled":return t.jsx(P,{isQBO:!1,user:e.accountReconEntity.user,tooltipText:r});case"in_progress":return t.jsx(ee,{tooltipText:r});case"failed":return t.jsx(Z,{tooltipText:r});case"reconciled_on_qbo":return t.jsx(P,{isQBO:!0,tooltipText:r});default:return null}else return t.jsx(D,{showTooltip:d!=null,tooltipText:r})},yt=({accountRecon:e,isLoading:n,onReviewClicked:i})=>{const c=e.accountReconEntity.reconciliationStatus,l=e.accountReconEntity.statementDataStatus?.code==="validated"||e.accountReconEntity.statementDataStatus?.code==="processed",d=e.accountReconEntity.reconUpdatedAt,r=d!=null?`${d.utc(!0).fromNow().toLowerCase()}`:h;if(e.accountReconEntity.statementDataStatus?.code==="parsing_failed"||e.accountReconEntity.statementDataStatus?.code==="validation_failed"||e.accountReconEntity.statementDataStatus?.code==="processing_failed")return t.jsx(Rt,{code:e.accountReconEntity.statementDataStatus?.code,tooltipText:r,errorMessage:e.accountReconEntity.errorMessage?.errorShort});if(n)return t.jsx(Ct,{});if(c==null&&l&&e.accountReconEntity.balance!=null&&e.accountReconEntity.clearedBalance!=null)return t.jsx(W,{buttonLabel:s.status.review,isDisabled:!1,dataTestId:y("status-button",e.accountReconEntity.account.accountId),tooltipText:r,onClick:i});if(c!=null)switch(c.code){case"save_for_later":case"pending":return t.jsx(W,{buttonLabel:s.status.review,isDisabled:!1,dataTestId:y("status-button",e.accountReconEntity.account.accountId),tooltipText:r,onClick:i});case"reconciled":return t.jsx(P,{isQBO:!1,user:e.accountReconEntity.user,tooltipText:r});case"reconciled_on_qbo":return t.jsx(P,{isQBO:!0,tooltipText:r});case"in_progress":return t.jsx(ee,{tooltipText:r});case"failed":return t.jsx(Z,{tooltipText:r});default:return null}else return t.jsx(D,{showTooltip:d!=null,tooltipText:r})},W=({buttonLabel:e,isDisabled:n,tooltipText:i,dataTestId:c,onClick:l})=>t.jsx(f,{title:t.jsx(b,{tooltipText:i}),style:{padding:`${o.sp1} ${o.sp2}`},maxWidth:"105px",placement:"bottom",children:t.jsx(Je,{children:t.jsx(me,{label:e,size:"standard",variant:"secondary",style:{padding:`${o.sp1} 12px`},disabled:n,"data-testid":c,onClick:d=>{d.stopPropagation(),l()}})})}),P=({user:e,isQBO:n,tooltipText:i})=>t.jsx(f,{title:t.jsx(b,{tooltipText:i}),style:{padding:`${o.sp1} ${o.sp2}`},maxWidth:"105px",placement:"bottom",children:t.jsxs(Ge,{children:[t.jsxs(Xe,{children:[t.jsx(Ze,{}),t.jsx(Ye,{children:n?s.status.reconciledVia:s.status.reconciledBy})]}),n?t.jsx(K,{children:s.status.QBOUser}):e&&t.jsxs(K,{children:[e.firstName," ",e.lastName]})]})}),wt=({bankBalance:e,bankConnection:n,statementStatus:i,lastUpdatedAt:c,fromDrawer:l=!1,onConnectClicked:d,onReconnectClicked:r,isLoading:m,accountId:I,onStatementAddClicked:_,setIsHovering:L})=>{const v=Tt();if(l===!0)return t.jsx(C,{className:"any-text-container",children:T("0,0",e)??h});if(m===!0)return t.jsx(C,{className:"any-text-container",children:h});if(n==="reconnect"){const j=c!=null?`${c.utc(!0).fromNow()}`:h;return t.jsxs(ot,{children:[t.jsxs(at,{children:[t.jsx(it,{children:t.jsx(f,{title:t.jsx(b,{tooltipText:j}),placement:"bottom",style:{padding:`2px ${o.sp2}`},children:t.jsx(ct,{})})}),t.jsx(C,{className:"any-text-container",children:e!=null?T("0,0",e):h})]}),t.jsx(nt,{"data-testid":y("account-reconciliation-reconnect-button",I),onClick:B=>{B.stopPropagation(),r?.()},children:s.connect.reconnnect})]})}else return n==="connected"||i==="uploaded"?t.jsx(C,{className:"any-text-container",children:T("0,0",e)??h}):t.jsx(et,{"data-testid":y("account-reconciliation-connect-button",I),onMouseEnter:()=>{L(!0)},onMouseLeave:()=>{L(!1)},children:t.jsx(re,{controller:v.length>0,children:t.jsx(f,{title:s.tooltips.selectSource,style:{padding:`${o.sp1} ${o.sp2}`},maxWidth:"105px",placement:"bottom",children:t.jsx(le,{moreIconType:"custom",customIcon:t.jsx(tt,{}),options:v,customStyleConfig:{option:()=>({".option-container":{justifyContent:"flex-start"}}),valueContainer:()=>({height:o.sp3,".more-icon":{width:o.sp3,height:o.sp3}})},menuPlacement:"auto",onOptionSelection:j=>{j==="bank_connection"?d?.():j==="statement"&&_?.()},valueToIcon:j=>j==="bank_connection"?t.jsx(ut,{}):j==="statement"?t.jsx(pt,{}):null})})})})},$t=({clearedBalance:e,isLoading:n})=>e!=null&&n===!1?t.jsx(C,{className:"any-text-container",children:T("0,0",e)??h}):t.jsx(C,{className:"any-text-container",children:h}),Z=({tooltipText:e})=>{const n=new x(g.important);return t.jsx(f,{title:t.jsx(b,{tooltipText:e}),style:{padding:`${o.sp1} ${o.sp2}`},maxWidth:"105px",placement:"bottom",children:t.jsx($,{children:t.jsxs(M,{children:[t.jsx(A,{iconColor:n}),t.jsx(V,{children:t.jsx(O,{textColor:n,children:s.status.reconciliationFailed})}),t.jsx(F,{children:t.jsx(U,{textColor:n,children:s.status.reconcileViaQBO})})]})})})},bt=({status:e,tooltipText:n})=>{const i=new x(g.brandColorGoldDark);return t.jsx(f,{title:t.jsx(b,{tooltipText:n}),style:{padding:`${o.sp1} ${o.sp2}`},maxWidth:"105px",placement:"bottom",children:t.jsxs($,{children:[t.jsx(A,{iconColor:i}),t.jsxs(M,{children:[t.jsx(V,{children:t.jsx(O,{textColor:i,children:e})}),t.jsx(F,{children:t.jsx(U,{textColor:i,children:s.status.reconcileViaQBO})})]})]})})},ee=({tooltipText:e})=>{const n=E(),i=new x(n.colors.grey1);return t.jsx(f,{title:t.jsx(b,{tooltipText:e}),style:{padding:`${o.sp1} ${o.sp2}`},maxWidth:"105px",placement:"bottom",children:t.jsx($,{children:t.jsxs(Q,{children:[t.jsx(R,{textColor:i,children:s.status.autoReconInProgress}),t.jsx(R,{textColor:i,children:s.status.isInProgress})]})})})},vt=()=>{const e=E(),n=new x(e.colors.grey1);return t.jsx($,{children:t.jsxs(Q,{children:[t.jsx(R,{textColor:n,children:s.status.balanceSyncInProgress}),t.jsx(R,{textColor:n,children:s.status.isInProgress})]})})},Ct=()=>{const e=E(),n=new x(e.colors.grey1);return t.jsx($,{children:t.jsxs(Q,{children:[t.jsx(R,{textColor:n,children:s.status.statementSyncInProgress}),t.jsx(R,{textColor:n,children:s.status.isInProgress})]})})},Rt=({code:e,tooltipText:n,errorMessage:i})=>{const c=new x(g.important),l=Et(e,"list",i);return t.jsx(f,{title:t.jsx(b,{tooltipText:n}),style:{padding:`${o.sp1} ${o.sp2}`},maxWidth:"105px",placement:"bottom",children:t.jsxs($,{children:[t.jsx(A,{iconColor:c}),t.jsxs(M,{children:[t.jsx(V,{children:t.jsx(O,{textColor:c,children:l})}),t.jsx(F,{children:t.jsx(U,{textColor:c,children:s.status.failed})})]})]})})},D=({showTooltip:e,tooltipText:n})=>e==!1?t.jsx($,{children:t.jsx(J,{children:h})}):t.jsx(f,{title:t.jsx(b,{tooltipText:n}),style:{padding:`${o.sp1} ${o.sp2}`},maxWidth:"105px",placement:"bottom",children:t.jsx($,{children:t.jsx(J,{children:h})})}),b=({tooltipText:e})=>t.jsxs(st,{children:[t.jsx(rt,{children:s.tooltips.lastUpdated}),t.jsx(lt,{children:e})]}),kt=({statementStatus:e,statementParseInProgress:n,bankStatusCode:i,connectionInProgress:c})=>{let l=e==="uploaded"||n===!0?t.jsx(ht,{}):null;return l=i==="connected"||i==="reconnect"||c===!0?t.jsx(xt,{}):l,t.jsx(dt,{className:"bank-icon-container",children:l})};function Tt(){const e=[];return e.push({label:s.menu.bankConnection,value:"bank_connection"}),e.push({label:s.menu.statement,value:"statement"}),e}const Et=(e,n,i)=>{if(i!=null&&n==="drawer")return i;let c="";switch(e){case"parsing_failed":c=s.status.statementParseError;break;case"validation_failed":c=s.status.statementValidationFailed;break;case"processing_failed":c=s.status.statementProcessingFailed;break;default:c=s.status.statementParseError;break}return n==="drawer"&&(c=c+" "+s.status.failed),c};export{Te as B,wt as C,Pt as D,Et as E,Lt as L,Wt as N,ft as f,u,$t as w};