@zeniai/web-cockpit-ui 1.13.83-qa → 1.13.84-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 (249) hide show
  1. package/dist/assets/{ACHDetailsPage-_VHVuqJw-Bymc8CZ3.js → ACHDetailsPage-Bya_wRcI-Cbp0qhsx.js} +3 -3
  2. package/dist/assets/{AIPerformancePage-C89zANQm-DAbfunq3.js → AIPerformancePage-Bc2kKHSK-BgXzMS_3.js} +24 -24
  3. package/dist/assets/AccountInfoPage-d3ST-rTL-C_leII_k.js +18 -0
  4. package/dist/assets/{AccountInfoPageContent-B8SOX9i5-7d4Bt0bR.js → AccountInfoPageContent-BhU-TVmh-BdzRn56o.js} +20 -20
  5. package/dist/assets/{AccountReconDetailsDrawerPage-BVnXwxD4-DEurx_N4.js → AccountReconDetailsDrawerPage-Dp2R5isq-DTMzR1zA.js} +18 -18
  6. package/dist/assets/AccountRow-t4I1y-2K-CgC6OUhN.js +298 -0
  7. package/dist/assets/{AccountsPromoCardStack-9UqzeTvF-CzL1CjSW.js → AccountsPromoCardStack-DYUyO-ip-D1yzvIYh.js} +22 -22
  8. package/dist/assets/{AddAddressForCardDrawer-flYKIptj-CZXNkdja.js → AddAddressForCardDrawer-CNSnxc8q-xbp24EPr.js} +1 -1
  9. package/dist/assets/{AddToWalletPage-qMFXqjhm-BLIVGZdo.js → AddToWalletPage-Q8uWTckm-XMYIU9V3.js} +30 -30
  10. package/dist/assets/{AgingReportsPage-CdVOTjjc-BjXskb5q.js → AgingReportsPage-B-DOb7my-C3NgaG-U.js} +4 -4
  11. package/dist/assets/{AllUserItems-6g-IFiDP-BF7NBOrr.js → AllUserItems-B86Y2Fmg-DavCuBOs.js} +7 -7
  12. package/dist/assets/{ApAgingDetailPage-DNG6y6eT-DhHZsXHm.js → ApAgingDetailPage-CMYJgTzS-sOBU6gP5.js} +3 -3
  13. package/dist/assets/{AppBasePage-C0Sy0oae-DvEJ-ATe.js → AppBasePage-DJO-V2ox-D56HdnuV.js} +4 -4
  14. package/dist/assets/{AppDrawerContent-BAYPGtYY-CUnHM7PZ.js → AppDrawerContent-5_QaBLwS-CM4yA7GZ.js} +2 -2
  15. package/dist/assets/{ApprovalRulesSettingsPage-D52kq1hZ-BYg8vnKt.js → ApprovalRulesSettingsPage-CPbVQ97S-DsB9ftyn.js} +6 -6
  16. package/dist/assets/{ArAgingChart-Bso6mAzK-j6sfc3fv.js → ArAgingChart-l020Rk_S-DwzSqVCY.js} +5 -5
  17. package/dist/assets/{ArAgingDetailPage-BxtXGjOk-CBtuYc3L.js → ArAgingDetailPage-BeUPeHBJ-DWBF7rvM.js} +2 -2
  18. package/dist/assets/{AttachmentView-cjbbz-rh-BnkWjld0.js → AttachmentView-Afp_U4fV-ChOQ6Ub6.js} +8 -8
  19. package/dist/assets/{BankAccountSection-Cf1NyJua-CA0IxE0G.js → BankAccountSection-CNQgxgSJ-Ca43edcO.js} +4 -4
  20. package/dist/assets/{BankAccountWarningSection-hZNBR8bC-DgrV5hrK.js → BankAccountWarningSection-V0HHzW57-BXTr_4tn.js} +5 -5
  21. package/dist/assets/{BankConnectionsSettingsPage-C42Z61VJ-BjXrRucN.js → BankConnectionsSettingsPage-Bk8K0xUn-B_F9KKkf.js} +22 -22
  22. package/dist/assets/{BillDetailPage-C9ABXSip-Dyhvss4T.js → BillDetailPage-D9d6X0o4-D-GS6Om8.js} +5 -5
  23. package/dist/assets/{BillPayApprovalRuleDetailPage-C_P8uDLH-c09oNfGD.js → BillPayApprovalRuleDetailPage-CSVTc5Mn-BViwJkEX.js} +2 -2
  24. package/dist/assets/{BillPayApprovalRulesPage-B-e1bydX-37-nfPS6.js → BillPayApprovalRulesPage-DIOOCVKH-D1Pdhh1K.js} +3 -3
  25. package/dist/assets/{BillPayPromoPage-CdGuDH1_-DoTWyE5k.js → BillPayPromoPage-C44YKAlE-CyfJbYHe.js} +2 -2
  26. package/dist/assets/{BillPaySetUpPage-BJzAf5ei-BfqA1r1q.js → BillPaySetUpPage-erTIfKkS-e9d2uLlE.js} +2 -2
  27. package/dist/assets/BillingSettingsPage-CmvoTc8r-CgKVc-Hp.js +44 -0
  28. package/dist/assets/BillsBulkReviewDrawerPage-OSbHVAMk-B7pVq5dd.js +1 -0
  29. package/dist/assets/{BoxItem-BMejIo17-DfTWFZ7_.js → BoxItem-UFBGpfBB-Cl1_IwAU.js} +1 -1
  30. package/dist/assets/{BusinessVerificationPage-B4T4eKqS-Bye3WrQZ.js → BusinessVerificationPage-Cl7jz1DF-B1c4YlYQ.js} +8 -8
  31. package/dist/assets/{CardNumberSubText-DU4-NQyz-186D7nSj.js → CardNumberSubText-DyFZudV_-D11cIePr.js} +1 -1
  32. package/dist/assets/{CashbackDetailPage-gEd-o4kR-C4wVKPgt.js → CashbackDetailPage-D0_YW2Dy-BvqJCdMM.js} +21 -21
  33. package/dist/assets/{ChargeCardDetailPage-Bi0lqA56-BFxB7GLk.js → ChargeCardDetailPage-YkvyvIEk-BL54Gn2n.js} +58 -58
  34. package/dist/assets/{ChargeCardListPage-D0DuXZ7e-DlfCFnes.js → ChargeCardListPage-4vg8Q6bl-B7zHIOPp.js} +35 -35
  35. package/dist/assets/{ChargeCardListTable-C1RWnfY_-CHbl4tuS.js → ChargeCardListTable-Dl-rblE6-cI3INYu9.js} +25 -25
  36. package/dist/assets/ChargeCardPromoPage-BzcIsHeK-CL-PWL5a.js +175 -0
  37. package/dist/assets/{ChargeCardSetupPage-DNUctoFI-CLAGahbp.js → ChargeCardSetupPage-BSiJnRP_-C-GYT256.js} +2 -2
  38. package/dist/assets/{ChargeCardStatementsPage-B565dWKi-BNK7rWNj.js → ChargeCardStatementsPage-NkfA1SYG-Dm6-iBGo.js} +4 -4
  39. package/dist/assets/{ChargeCardUtils-BN7bbdUB-BbkRwxs1.js → ChargeCardUtils-CLpd-HDH-B3csze9l.js} +1 -1
  40. package/dist/assets/{ChaseOverlay-BrHcqwQQ-D5p6lw7W.js → ChaseOverlay-B1cuawle-p6HzSxTf.js} +8 -8
  41. package/dist/assets/CheckDepositDrawerPage-BwJ5tAF--CpJrHbza.js +206 -0
  42. package/dist/assets/{CollapsableReportTable-C5VV-Hqz-BgVDm2Ba.js → CollapsableReportTable-iMD5xyGN-Bi-fik_C.js} +29 -29
  43. package/dist/assets/{CompanyOfficerDetailsSection-DHqtLqa--DkQW91X6.js → CompanyOfficerDetailsSection-BA7etm2I-CmO-KOuc.js} +26 -26
  44. package/dist/assets/{CompanyPassportCard-BtC806n1-BE2Vutw3.js → CompanyPassportCard-Dks4EQDN-Dn-jW4u-.js} +2 -2
  45. package/dist/assets/{CompanyPassportPage-CZBZoHu3-CVdv1vFg.js → CompanyPassportPage-Denliwgg-BKRikNew.js} +140 -140
  46. package/dist/assets/{CompleteProfile-CwZtbTzm-B0JwwIUN.js → CompleteProfile-CCLq4pNY-y7V5PpLY.js} +10 -10
  47. package/dist/assets/ConfettiBurst-MKPxinI7-gHaE20YT.js +1 -0
  48. package/dist/assets/{CreateOrEditVendorPage-B43jo6gf-XWR76dqm.js → CreateOrEditVendorPage-BFejWQMx-BjDnDTWQ.js} +15 -15
  49. package/dist/assets/{CreditCardPaymentDrawerPage-1litLdxa-C6R9hrSu.js → CreditCardPaymentDrawerPage-B7Sesq_n-V9iiiMuJ.js} +16 -16
  50. package/dist/assets/{CreditCardPaymentPlgSection-CEjV1ee_-C66jG_cF.js → CreditCardPaymentPlgSection-D5CNl0oa-C-cdC2QZ.js} +10 -10
  51. package/dist/assets/{CurrencySelectField-DMPtPzwJ-CVyHXZxa.js → CurrencySelectField-DYvc6rwt-ByvmhvI-.js} +5 -5
  52. package/dist/assets/{CustomerOnboardingActivationPage-DUQPZIJW-C2-ZWnw3.js → CustomerOnboardingActivationPage-oUiw--hv-BRyHoZHP.js} +3 -3
  53. package/dist/assets/CustomerOnboardingContainerPage-D2xC_a0G-DLJn2o1E.js +1 -0
  54. package/dist/assets/{CustomerOnboardingDetailPageSkeleton-D-MkZIDQ-DF5QLwbE.js → CustomerOnboardingDetailPageSkeleton-BaDpU--M-CL7UtNSJ.js} +11 -11
  55. package/dist/assets/{CustomerOnboardingNoStepsPage-JnxUTXUI-92Zb-Tm2.js → CustomerOnboardingNoStepsPage-C_cxcuWE-CPcXa-uY.js} +8 -8
  56. package/dist/assets/CustomerOnboardingPage-Cuf1lJmu-BwFC9Sia.js +107 -0
  57. package/dist/assets/{CustomerOnboardingProductSuitePage-C47rlXpl-wD-8riam.js → CustomerOnboardingProductSuitePage-DEqdhh-2-wQlqTtpc.js} +4 -4
  58. package/dist/assets/Dashboard-DnR1KvYd-DzOeF_LG.js +778 -0
  59. package/dist/assets/{DashboardReportPage-B8sZBvi0-Bkka6zpc.js → DashboardReportPage-Tq4KsQuw-DPow_DwG.js} +67 -67
  60. package/dist/assets/{DepositAccTransactionItem-SBvKiZUo-DJaX4dE5.js → DepositAccTransactionItem-DWhVL-kH-YH09Nnsw.js} +2 -2
  61. package/dist/assets/{DepositAccTransactionListPage-DxyOodRG-CDy1pV7B.js → DepositAccTransactionListPage-BiaZBvV4-5ezA9uiX.js} +8 -8
  62. package/dist/assets/{DocumentSecurityBanner-2RwwRIbj-KpNSpuh7.js → DocumentSecurityBanner-eGDvEOvr-CyvEFE94.js} +1 -1
  63. package/dist/assets/DomesticWireDetailsPage-Bvmpk8LN-QDvn8074.js +21 -0
  64. package/dist/assets/{DownloadOverlay-D_7Q3gwF-BtTWiRYh.js → DownloadOverlay-C0vGOFIR-D53GsOkg.js} +20 -20
  65. package/dist/assets/{DrawerPage-D7ZExidR-CIWuPHJ5.js → DrawerPage-keu-rP1c-Ad94AagR.js} +8 -8
  66. package/dist/assets/EditPeoplePage-BTnhywM--fqULQ6DL.js +55 -0
  67. package/dist/assets/{EditReimbursementDetailPage-CZWIuR9q-DiQem3xT.js → EditReimbursementDetailPage-jqf5akyj-Dbu8QTQE.js} +74 -74
  68. package/dist/assets/{EntityDetailPage-liLBcaFa-BbblawRB.js → EntityDetailPage-D0mZIEcR-BRw589Gw.js} +2 -2
  69. package/dist/assets/{EntitySummarySection-BEubg_Ke-Bdvy7iaP.js → EntitySummarySection-bL2stKO1-B_cCEADD.js} +11 -11
  70. package/dist/assets/{ExpenseAutomationOverviewPage-De7pJxb1--Us_wwQ9.js → ExpenseAutomationOverviewPage-Cm00uGHv-CZxuB80N.js} +17 -17
  71. package/dist/assets/{ExpenseAutomationPage-JGlqvmW0-DGGQ5kes.js → ExpenseAutomationPage-BA8sRxM--BI5FDTiq.js} +84 -84
  72. package/dist/assets/{ExpressPayPage-DMuL6rjt-BbpZP04j.js → ExpressPayPage-DRNbLpuL-BqPn8Tnj.js} +8 -8
  73. package/dist/assets/{FeaturePreviewPage-eU2Fncgw-Df6t4vlN.js → FeaturePreviewPage-CeeAOF5C-B1ePxZD_.js} +2 -2
  74. package/dist/assets/{FollowStepsSection-CIOJXyXO-Ck9BhOv7.js → FollowStepsSection-DuElPK3y-BQRSekz2.js} +7 -7
  75. package/dist/assets/{GlobalReviewListPage-DbGsAMQF-DEii590Y.js → GlobalReviewListPage-DfjZMTms-CbpLeCqy.js} +10 -10
  76. package/dist/assets/HelpButton-BKCFqzW3-Ds4n43qE.js +28 -0
  77. package/dist/assets/{InformationCardStack-DBC0PIB2-ZpzVR8Pu.js → InformationCardStack-CmquAm7A-t9P9_NGQ.js} +5 -5
  78. package/dist/assets/{InsightsCardStack-BiyzY54v-DjzlYvXC.js → InsightsCardStack-D5ahtQWr-CLdQOUoS.js} +9 -9
  79. package/dist/assets/{InsightsSection-CB95rM5E-D6F0bC-C.js → InsightsSection-xgqf4arB-B8DybT5O.js} +3 -3
  80. package/dist/assets/{IntegrationsSettingsPage-IozP8XCs-Covl1ghU.js → IntegrationsSettingsPage-Cl6dfKQL-DtlX3Ccg.js} +5 -5
  81. package/dist/assets/{InternationalWireSwiftDetailsPage-CBLjT_qk-C24yuZmd.js → InternationalWireSwiftDetailsPage-D_jWoFli-DlLuf4mS.js} +11 -11
  82. package/dist/assets/{InternationalWireVerificationPage-BDHKKPIV-Kq4wZhMp.js → InternationalWireVerificationPage-it1U4OPj-CpKm_Jls.js} +17 -17
  83. package/dist/assets/{InviteFormPage-DcVcYJU0-CpPhN43t.js → InviteFormPage-DTMy8xZk-2c0kPCFn.js} +23 -23
  84. package/dist/assets/{InvitePageListView-CtGrvvWG-DUC9eyzx.js → InvitePageListView-X7W1jRxY-C4s0X98I.js} +31 -31
  85. package/dist/assets/InvitePeoplePage-fzgtceuE-B5MjB6BF.js +12 -0
  86. package/dist/assets/{InvoiceUploadSection-CzeBCw69-MIl0YoqM.js → InvoiceUploadSection-BhCDvIPX-wOQXy0Yc.js} +7 -7
  87. package/dist/assets/{IssueChargeCardPage-DywMnIW9-DZC1TtsH.js → IssueChargeCardPage-CqE8lMsX-C6vz_dxs.js} +22 -22
  88. package/dist/assets/{LabeledAddressValue-aXAfyy6x-zuxWHZ35.js → LabeledAddressValue-CCEVX0ke-C3sCHRt6.js} +1 -1
  89. package/dist/assets/{LabeledAddressValueField-BdNErK0u-BCVVhFLg.js → LabeledAddressValueField-B9iirKZj-Cw-fixky.js} +3 -3
  90. package/dist/assets/{LabeledControlledCheckBoxField-DPoSmzJi-B9fcjMs6.js → LabeledControlledCheckBoxField-Bl3-Zao6-6WoEZpzL.js} +1 -1
  91. package/dist/assets/{LabeledCreatableSingleSelectField-DsyZw9q6-BgU9LeRU.js → LabeledCreatableSingleSelectField-v86g-OZd-YeybErPj.js} +7 -7
  92. package/dist/assets/LabeledDocumentField-Dv4qzOY0-lFebzE73.js +41 -0
  93. package/dist/assets/LabeledDropDownFormattedTextField-BFMEaVfR-Dv78a583.js +59 -0
  94. package/dist/assets/{LabeledText-CcIJZUuh-CPcjfLXi.js → LabeledText-D9feJraX-padWmGRQ.js} +3 -3
  95. package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-CPJQjrJK-DWx8mI1V.js → LabeledUserSingleSelectWithSubtitlesField-BKNBvO_C-Dvjne4f2.js} +7 -7
  96. package/dist/assets/{LabeledZeniRolesDropDownField-WCoZXbuy-DHAUidGL.js → LabeledZeniRolesDropDownField-AwQaO42N-D65CRYdT.js} +26 -26
  97. package/dist/assets/{LinkJETransactionPage-jB4x6YYH-CygKAijz.js → LinkJETransactionPage-D3I2NvQw-B2_s-lzz.js} +8 -8
  98. package/dist/assets/{LowBalancePopup-c-6SC1hh-B9wQAJ9M.js → LowBalancePopup-OSUi1Alp-D-EAEgV_.js} +7 -7
  99. package/dist/assets/{MagicLinkACHDetailsPage-Cm98tK2_-7ec-cqHZ.js → MagicLinkACHDetailsPage-r3XSoJ11-ByBszh-P.js} +1 -1
  100. package/dist/assets/{MagicLinkDomesticWireDetailsPage-26S-99Ie-D3QNyjAa.js → MagicLinkDomesticWireDetailsPage-DPG9fUzZ-DLN7eK6J.js} +1 -1
  101. package/dist/assets/{MagicLinkInternationalWireDetailsPage-CY-hI3QM-D4hmDiEg.js → MagicLinkInternationalWireDetailsPage-CmXJXEaN-DSJ-KZsN.js} +1 -1
  102. package/dist/assets/{MagicLinkSuccessPage-1VMpD_t0-YoPoa1Fs.js → MagicLinkSuccessPage-CwszAuW2-CcLjVoXZ.js} +5 -5
  103. package/dist/assets/{MagicLinkTitleSection-BiZ9MGYp-Cl_WugVD.js → MagicLinkTitleSection-CvrbJ-of-eRuegy0D.js} +3 -3
  104. package/dist/assets/{MailingDetailsSection-DfxeX2uy-D2drNkzT.js → MailingDetailsSection-BJHZIZCt-CtVNeOVh.js} +1 -1
  105. package/dist/assets/{MeetingCalenderPopup-ifcJuMu9-ByO1X2Hh.js → MeetingCalenderPopup-C4r3bJ84-DJC2p-pW.js} +1 -1
  106. package/dist/assets/{Menu-B4Q04CAH-4XWj_HwH.js → Menu-MHZ6Ibt0-ClGVoJHI.js} +3 -3
  107. package/dist/assets/{MyBankConnectionsSettingsPage-rM_qhevU-DITmqjDy.js → MyBankConnectionsSettingsPage-DG1tuqAt-BJM-bRYR.js} +13 -13
  108. package/dist/assets/{MyPendingActivationChargeCardListPage-CwwpQgC6-iU-kUMq9.js → MyPendingActivationChargeCardListPage-DZyxqqyJ-gmzsoe2r.js} +1 -1
  109. package/dist/assets/{MyProfileSettingsPage-DbkgXE3d-BGJQs-jC.js → MyProfileSettingsPage-BnNbspx9-I-RR_w-w.js} +8 -8
  110. package/dist/assets/{NavBarWithPicker-CHrbDC5H-DmfI4NHq.js → NavBarWithPicker-3okDhiol-Mch2cVg7.js} +2 -2
  111. package/dist/assets/{NavigationArrow-B68QyyUR-DJ2p6cca.js → NavigationArrow-iw-yd_9S-DZPtXupp.js} +6 -9
  112. package/dist/assets/{NavigationDots-DYkUvR3H-CWQugA3e.js → NavigationDots-CB5JLuJi-yLXSzdJi.js} +1 -1
  113. package/dist/assets/{NewGlobalMerchantPage-CEZgARa1-Oq3mm2EE.js → NewGlobalMerchantPage-CcGws2R2-C4Fp7WXy.js} +33 -33
  114. package/dist/assets/NoDataChart-BsN_tNbW-BMMW2NFW.js +26 -0
  115. package/dist/assets/{NoDataTable-Z4rV9ZBK-p_2JIShf.js → NoDataTable-BbDo9Kma-CQu0CK8r.js} +1 -1
  116. package/dist/assets/{NotFoundPage-DGbe5Rh8-DP7xmEtU.js → NotFoundPage-gbtwlR8l-C5FBVYn3.js} +1 -1
  117. package/dist/assets/{NotificationSettingsPage-SovYc7X1-B3BS2dbe.js → NotificationSettingsPage-slkQwvVZ-CHC42QkE.js} +16 -16
  118. package/dist/assets/NotificationsListConfig-DtsQwW2b-qiwAhcXr.js +1 -0
  119. package/dist/assets/{NotificationsPage-D1uWQ3_a-DxSIxDxP.js → NotificationsPage-BAyRPK64-CK6wfh9r.js} +32 -32
  120. package/dist/assets/{OpExByVendorPage-bwyUuTg3-r5i2RybY.js → OpExByVendorPage-CofD6hKi-CAsz1_Xh.js} +5 -5
  121. package/dist/assets/{OverlayContainerPage-C0rUb6-5-DlNZMe2A.js → OverlayContainerPage-nhe7xtoR-BoqVZnRB.js} +1 -1
  122. package/dist/assets/{PandLWithForecastPage-C316N1hQ-aHIR4J9h.js → PandLWithForecastPage-_uOEFXiy-CCb56j7T.js} +7 -7
  123. package/dist/assets/{PaymentAccountSetupBillingAddressSection-07laMoUE-vyb_PzAc.js → PaymentAccountSetupBillingAddressSection-C0zGxU4f-CRvVxf4b.js} +8 -8
  124. package/dist/assets/{PeoplePage-nMBpp-i7-C_FzQc4I.js → PeoplePage-8GExF-Lt-BPrOO_zy.js} +19 -19
  125. package/dist/assets/{PortfolioAllocationFormPage-BNM5_3mQ-DaO3Xs0l.js → PortfolioAllocationFormPage-CMKEE7P7-CSoW27F2.js} +3 -3
  126. package/dist/assets/{PortfolioDetails-Cxr764um-DhzbvH6Q.js → PortfolioDetails-A3P3vG57-BlNZUWBn.js} +11 -11
  127. package/dist/assets/{ProductsCarousel-W3-LEsKP-DbLcA25z.js → ProductsCarousel-D9H3mUJ--BvtxFJIQ.js} +7 -7
  128. package/dist/assets/{PromoBaseCards-zZLO1ftd-CE6hJoyp.js → PromoBaseCards-CF0Bv_9G-CKYPGzvR.js} +25 -25
  129. package/dist/assets/{QBOConnectionDialog-027QZpKQ-BMM6Z1LZ.js → QBOConnectionDialog-D2zi5wKm-DM4ITFKi.js} +6 -6
  130. package/dist/assets/{QBOSetupSection-BT0OZMcW-35drr2J_.js → QBOSetupSection-B3Dj2g2k-Cs2MQ5jD.js} +11 -11
  131. package/dist/assets/{ReimbursementApprovalRuleDetailPage-DsBcRdLI-4vSu0HBp.js → ReimbursementApprovalRuleDetailPage-DgpHHy3U-MMqXWdUz.js} +1 -1
  132. package/dist/assets/{ReimbursementApprovalRulesPage-DFUfuIiJ-CI-ZWabB.js → ReimbursementApprovalRulesPage-BjFi-uJl-DaBDnL86.js} +8 -8
  133. package/dist/assets/{ReimbursementDetailPage-8b3khOnV-B2Q02bEe.js → ReimbursementDetailPage-BersvjG9-CiBW1b2M.js} +7 -7
  134. package/dist/assets/{ReimbursementPromoPage-BDuxIiMu-BQx3j8pw.js → ReimbursementPromoPage-K8dT-rtu-Dt7hPy-o.js} +16 -16
  135. package/dist/assets/{ReimbursementSetUpPage-CQnnv-Km-dR4LVsPp.js → ReimbursementSetUpPage-CfBuIpx6-al_7hXdG.js} +12 -12
  136. package/dist/assets/{ReimbursementsBulkReviewDrawerPage-B42Iy6Wl-CPgHrEv8.js → ReimbursementsBulkReviewDrawerPage-yaSD_tF5-D0BnyUB5.js} +1 -1
  137. package/dist/assets/{ReloadCard-BRfBNfTQ-BU52RUhd.js → ReloadCard-Do9Znv21-DK8BGS1A.js} +5 -5
  138. package/dist/assets/{ReportTableViewSelector-CsIuIfQF-CglQQFO3.js → ReportTableViewSelector-D1UrK7VQ-C8LWU1S2.js} +7 -7
  139. package/dist/assets/{ReportsPage-BgjHAROL-CDbPtbWw.js → ReportsPage-dER5Ukfc-SfboVh2R.js} +9 -9
  140. package/dist/assets/{RevenueChart-DSSPucUL-BpbrhJFv.js → RevenueChart-CCr_XauF-D36ZxwH2.js} +1 -1
  141. package/dist/assets/{ReviewDetailsPage-DRTS4tm7-GkJsi7Yf.js → ReviewDetailsPage-ZoXTLGfR-B_ONtomw.js} +19 -19
  142. package/dist/assets/{ReviewOverlay-fCgnrRah-tZ00a0Uu.js → ReviewOverlay-Bywh-8pJ-Bg5lskK_.js} +14 -14
  143. package/dist/assets/{RoleWithToolTip-aKLOITw0-B48eYV-X.js → RoleWithToolTip-CX9tF-BO-DG7wC_Jt.js} +6 -6
  144. package/dist/assets/{ScheduleDetailsFixedAssetsPage-ChR3tFhH-e-z1NRNI.js → ScheduleDetailsFixedAssetsPage-BEXr2qc0-3xkvpS1C.js} +8 -8
  145. package/dist/assets/{ScheduleDetailsPage-DmVZaX9M-CeCNgksq.js → ScheduleDetailsPage-CR8uJC5O-DnUdhwKF.js} +3 -3
  146. package/dist/assets/{ScheduleSequenceTable-CqrIr7OX-Cen2QelK.js → ScheduleSequenceTable-D7kDvImN-DWkMGP8Z.js} +50 -50
  147. package/dist/assets/{ScreenRoutes-ByaRWdsC.js → ScreenRoutes-erL9wWZG.js} +1 -1
  148. package/dist/assets/{SetUpAccountSection-DkqyfYdP-DWiWb20O.js → SetUpAccountSection-B0J0zCOF-oWsU5thz.js} +103 -103
  149. package/dist/assets/{SetUpDefaultSection-CEcqnqlD-BSjLZl3B.js → SetUpDefaultSection-ES6v0-xw-oKoRPhrf.js} +16 -16
  150. package/dist/assets/{SignIn-BKCeqJmF-B6GB44w2.js → SignIn-yQ-8MBRA-D6UXon_1.js} +19 -19
  151. package/dist/assets/{SignInScreen-BY-NI1BX.js → SignInScreen-DTuVG-E_.js} +1 -1
  152. package/dist/assets/{SpendManagementListViewPage-DWrIY48Y-1thafgez.js → SpendManagementListViewPage-_rUojA3M-DqnZrIvk.js} +13 -13
  153. package/dist/assets/{SpendManagementPerTabPage-BIK3QfAG-BprzbGtF.js → SpendManagementPerTabPage-Bhes-f7M-AdXufxw9.js} +47 -47
  154. package/dist/assets/{SpendManagementSection-BibcrHiQ-ojX7OXv7.js → SpendManagementSection-CQHWqht2-D_0KXsJm.js} +9 -9
  155. package/dist/assets/{SpendMgmtSetupAccountSection-BZzCEn49-xlvJK4VE.js → SpendMgmtSetupAccountSection-BHZ9nmWy-Ct-UFhaG.js} +14 -14
  156. package/dist/assets/{StatementItem-DujQ-hfS-Co0MjdA1.js → StatementItem-CKnsnb3u-CUpANIC7.js} +8 -8
  157. package/dist/assets/StatementsPage-B73U7d9e-BeHUtVc7.js +58 -0
  158. package/dist/assets/{StatusSwitcher-CmoFEW3h-B8khGWcG.js → StatusSwitcher-xR-S3KaW-DXC0VRqb.js} +4 -4
  159. package/dist/assets/{SubTabSwitcher-CZqJSgrt-BzzBfBEV.js → SubTabSwitcher-DczmDw-I-BDr0EcZn.js} +1 -1
  160. package/dist/assets/{SummaryCard-BC_pbmca-BA-2CDI2.js → SummaryCard-YTxf_JPz-Coldl1KM.js} +1 -1
  161. package/dist/assets/TaskManagementPage-LDFC29Ik-CNoI4m-y.js +508 -0
  162. package/dist/assets/{TimeRangeSwitcher-6HHMsbMu-BJeGDam3.js → TimeRangeSwitcher-C5yC8ifv-CCSUflgJ.js} +5 -5
  163. package/dist/assets/{TimeframeSwitcher-9Tl1lDvO-2gI3pMJ6.js → TimeframeSwitcher-D1xKpIjp-CW5UZCib.js} +5 -5
  164. package/dist/assets/TimeframeSwitcherWithToggle-BiHAqit5-B759eYFG.js +31 -0
  165. package/dist/assets/{TopExCard-BRR6W73W-BCkskQ6y.js → TopExCard-CJN2nSdQ-g0e-zKZy.js} +6 -6
  166. package/dist/assets/{TopExDetailPage-DzqG7MND-r9FRTnlF.js → TopExDetailPage-ClQK2WDh-DhYxPAx6.js} +11 -11
  167. package/dist/assets/{TransactionDetailPage-DD-5Uhso-5-XIEojv.js → TransactionDetailPage-CcNUBQmc-C-LCspti.js} +47 -47
  168. package/dist/assets/{TransactionList-B_1X_r62-D6FSjlP-.js → TransactionList-Dtqr5BZm--fERmRQ-.js} +13 -13
  169. package/dist/assets/{TransactionListBig-CUOjhYmg-CQ2RJ0bc.js → TransactionListBig-D5_iDOBi-D6XHrCJg.js} +18 -18
  170. package/dist/assets/{TransactionListPage-Ck8dLdRo-F9HAGy3S.js → TransactionListPage-DUCJRiyi-gKenoaPe.js} +6 -6
  171. package/dist/assets/{TransactionVendorDetailPage-C2_Yo1np-DO9ni0JA.js → TransactionVendorDetailPage-DSpchZAl-Dh-5qwdH.js} +6 -6
  172. package/dist/assets/{TransferDrawerPage-D9sHV8Dz-C3BJeiz0.js → TransferDrawerPage-BKWQEojA-hbYmgGo9.js} +28 -28
  173. package/dist/assets/{TreasuryOverviewPage-Co2mrPcn-BY4IGK6R.js → TreasuryOverviewPage-D1D2WipM-D-3r290_.js} +31 -31
  174. package/dist/assets/{TreasuryPromoPage-x3aBAAof-CzINUoky.js → TreasuryPromoPage-BKgJHnC1-CFaA1Ntn.js} +15 -15
  175. package/dist/assets/TreasurySetupPage-C2JtTOhh-RYkURx4_.js +152 -0
  176. package/dist/assets/{TreasuryStatementsPage-BIxlBphR-CLkwORFF.js → TreasuryStatementsPage-DKHWWnrU-D8FyTRXK.js} +7 -7
  177. package/dist/assets/{TreasuryTaxLetterPage-00l2eDaD-D4R_SIte.js → TreasuryTaxLetterPage-ieX9MUQd-DjUqrhOK.js} +7 -7
  178. package/dist/assets/{TreasuryTransferOrReviewPage-8kYRXJ8--BXlfWwAt.js → TreasuryTransferOrReviewPage-DebuIwR3-C0bGE1CG.js} +85 -85
  179. package/dist/assets/{TrendChart-CnawkdG8-C1f54OIB.js → TrendChart-B3VgdtYY-DKvOx-kx.js} +3 -3
  180. package/dist/assets/{TrendWithTransactions-CNNCV2hi-Lc8Mvmvx.js → TrendWithTransactions-BMorBxWJ-Bk3io0dy.js} +3 -3
  181. package/dist/assets/{UncategorizedAccountsMappingPage-6dSPWwUH-BNmql1oS.js → UncategorizedAccountsMappingPage-BtmfySl9-ChDGqLCY.js} +15 -15
  182. package/dist/assets/{UnitIntegrationPage-CQz8bAr--Be6E8wgt.js → UnitIntegrationPage-ByqJQgJ1-DOZOjWB7.js} +4 -4
  183. package/dist/assets/{UploadAdditionalDocumentOverlay-qVx1t-kK-BfnzSXgO.js → UploadAdditionalDocumentOverlay-Dwv3x7HQ-DAFruYVO.js} +1 -1
  184. package/dist/assets/{Vendor2FAPopup-BwICX5Jo-DRxdFSoT.js → Vendor2FAPopup-BVCUSOMr-DusuQd4O.js} +1 -1
  185. package/dist/assets/{VendorACHDetailsPage-U9vQ2YO1-C3wP_7rP.js → VendorACHDetailsPage-Cyp1bTJx-Bb_u0lQ9.js} +1 -1
  186. package/dist/assets/{VendorDetailPage-v3AJufvV-B6BEQrJw.js → VendorDetailPage-1_rVoehK-Exna90A5.js} +15 -15
  187. package/dist/assets/{VendorDomesticWireDetailsPage-DY5Enpxz-CMAOISi3.js → VendorDomesticWireDetailsPage-B0wv2GP--CBJnbhVR.js} +1 -1
  188. package/dist/assets/{VendorFiling1099EditablePage-BJ1K4EB2-CnqK8eQN.js → VendorFiling1099EditablePage-C5rHkQrV-BGIvQipF.js} +10 -10
  189. package/dist/assets/{VendorFirstReviewPage-Dqu2JeBh-BTSOdkvj.js → VendorFirstReviewPage-CDlmZHmw-QoRtPJE2.js} +29 -29
  190. package/dist/assets/{VendorInternationalWireDetailsPage-B3jL5IpJ-Ge2HUtcT.js → VendorInternationalWireDetailsPage-Cdy000Jx-J6b7bfbg.js} +7 -7
  191. package/dist/assets/{VendorInternationalWireSwiftDetailsPage-OyW2sXjN-BaDu_Rbp.js → VendorInternationalWireSwiftDetailsPage-DRN-5n5Y-CNM_VAVJ.js} +1 -1
  192. package/dist/assets/{VendorsAccountsSection-CnVky8J2-BnxyHrsh.js → VendorsAccountsSection-Ba7QpWAm-CKQDggOk.js} +4 -4
  193. package/dist/assets/{WarningsDrawerPage-Bc8HwhJZ-CoRSEL1r.js → WarningsDrawerPage-DCUPzxfi-BYSPfHfW.js} +4 -4
  194. package/dist/assets/{ZeniAccountDetailPage-I3Qn-mIV-D6WbzhnA.js → ZeniAccountDetailPage-DF7Tn3t3-yyv_Cgn9.js} +28 -28
  195. package/dist/assets/{ZeniAccountListViewPage-BFUoGrvu-CvFvWDHE.js → ZeniAccountListViewPage-Cz9v3TCo-D-RvbaDA.js} +18 -18
  196. package/dist/assets/ZeniAccountNavBarPieces-BSObmR0D-w7GK2i5h.js +14 -0
  197. package/dist/assets/{ZeniAccountPromoPage-B_Kt_gIx-BmUo-cHo.js → ZeniAccountPromoPage-D7veJGZk-D-YrsEI2.js} +10 -10
  198. package/dist/assets/{ZeniAccountSetupPage-BvzXgVNr-Cojq6XAe.js → ZeniAccountSetupPage-ftl559Pj-C-xIgDUh.js} +1 -1
  199. package/dist/assets/{ZeniCopyright-B5gFkT_K-Bd1To88b.js → ZeniCopyright-BScA_p2_-CnTtKSEg.js} +1 -1
  200. package/dist/assets/{ZeniTransferAmountSlider-dNQVv3xh-Dj4F9WJ8.js → ZeniTransferAmountSlider-Bu23FZCA-BlrXEMp9.js} +1 -1
  201. package/dist/assets/analytics-BSSiLa6f.js +7 -0
  202. package/dist/assets/{analyticsHelper-DaI4EFSR.js → analyticsHelper-C8rNMzIR.js} +1 -1
  203. package/dist/assets/{analyticsHelper-CiRIn2W--BxtgqDE2.js → analyticsHelper-CGq-fGOi-peFW_WyF.js} +1 -1
  204. package/dist/assets/{chartTypes-om8APqYr-BLTaCwIq.js → chartTypes-ChsIdl40-BE86tbr4.js} +1 -1
  205. package/dist/assets/{commonDimensions-CnEuBCL0-BaKrm6VO.js → commonDimensions-Dk1fkj7r-DLRSQmNd.js} +1 -1
  206. package/dist/assets/{detailCommon-B8snZE0k-CD_QEBke.js → detailCommon-BdiFpATU-WeUxnZIy.js} +6 -6
  207. package/dist/assets/{downloadPdf-UYNSbWcH-CCjYi8d_.js → downloadPdf-h21F3Bzk-CjxZKaAj.js} +1 -1
  208. package/dist/assets/{index-C5RQ_I4f.js → index-C0q2xQ43.js} +3324 -3364
  209. package/dist/assets/{liveblocks-sSQ9JElv.js → liveblocks-BUGn2yQ6.js} +1 -1
  210. package/dist/assets/{mapLoadingInProgressToTreeNode-Ct5Hw9GL-CIhY2PIH.js → mapLoadingInProgressToTreeNode-Bimz-BOL-Dlsg7XHk.js} +1 -1
  211. package/dist/assets/{mapSectionWithAcOnlyToTreeNode-DAi-q9qz-uRnsjJzp.js → mapSectionWithAcOnlyToTreeNode-Dy2RH2lH-Bxhhy_dm.js} +1 -1
  212. package/dist/assets/{mapSpacerToTreeNode-NdVrr_Rq-h2jl1W7n.js → mapSpacerToTreeNode-CadZGfr8-CsWvhMid.js} +1 -1
  213. package/dist/assets/{mapTimeframeBalancesToTreeNode-Bq1k2j24-C-EGB4JJ.js → mapTimeframeBalancesToTreeNode-BvXiirfs-D7NlfjoQ.js} +1 -1
  214. package/dist/assets/mui-BgvZYSo0.js +22 -0
  215. package/dist/assets/{play-icon-cU_HA46u-DKk-rWaT.js → play-icon-DD7TfH-R-B2AdmUNp.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-D8CsJNcd-D3oEVThj.js → toCOABalancesWithID-Dy9J_UtA-GKQFY-wL.js} +1 -1
  219. package/dist/assets/{toChartData-DUoI4wMR-BpwvMCd8.js → toChartData-BdomEAJ--DBqHs0fD.js} +1 -1
  220. package/dist/assets/{treasuryColorHelper-X9PYqjk_-B0f97nM8.js → treasuryColorHelper-D2LtJllD-BWyq3ShU.js} +1 -1
  221. package/dist/assets/{uploadAttachment-BHcSLQXP-Dd6nHf0l.js → uploadAttachment-C5PL0FaC-qWy-M3Ai.js} +29 -29
  222. package/dist/assets/{uploadReceipts-Buvz7DfG-TsfYrPiB.js → uploadReceipts-BH9fi3Vt-Bn1YAl68.js} +1 -1
  223. package/dist/index.html +1 -1
  224. package/package.json +5 -5
  225. package/dist/assets/AccountInfoPage-DygdgdmU-DOUY2WTN.js +0 -18
  226. package/dist/assets/AccountRow-CpUAoVFw-BuMEboIn.js +0 -298
  227. package/dist/assets/BillingSettingsPage-CqFQk_xm-Wzi8-Pxm.js +0 -44
  228. package/dist/assets/BillsBulkReviewDrawerPage-Bo9JcC7R-D0jNWqxU.js +0 -1
  229. package/dist/assets/ChargeCardPromoPage-CIboCUSV-y-DLxjGT.js +0 -190
  230. package/dist/assets/CheckDepositDrawerPage-K9NmaIpu-DOGNQqAq.js +0 -206
  231. package/dist/assets/ConfettiBurst-Bvvql-8k-BorMAewb.js +0 -1
  232. package/dist/assets/CustomerOnboardingContainerPage-BsErtHzd-BdcZe_io.js +0 -1
  233. package/dist/assets/CustomerOnboardingPage-C1pKcpFC-CGanCl6o.js +0 -107
  234. package/dist/assets/Dashboard-CyZG5DEY-C3KfWHk8.js +0 -1251
  235. package/dist/assets/DomesticWireDetailsPage-BbmbS2h3-Ch-Vtjq-.js +0 -21
  236. package/dist/assets/EditPeoplePage-QsjUi5_S-DkWH1BmJ.js +0 -55
  237. package/dist/assets/HelpButton-DYFzwkI3-Cel7B9gC.js +0 -28
  238. package/dist/assets/InvitePeoplePage-CV75uhrr-B1Hdsrwm.js +0 -12
  239. package/dist/assets/LabeledDocumentField-IC75UO-m-BR65Je6h.js +0 -41
  240. package/dist/assets/LabeledDropDownFormattedTextField-DRdoEEXa-ihK1IWBq.js +0 -59
  241. package/dist/assets/NoDataChart-CEPkoKCh-CJB-ycSI.js +0 -26
  242. package/dist/assets/NotificationsListConfig-8oQmiFyf-BOGk1_4Q.js +0 -1
  243. package/dist/assets/StatementsPage-BEBaWRll-Dv0qqBwe.js +0 -58
  244. package/dist/assets/TaskManagementPage-IrjSDISn-Cdu4CkH2.js +0 -508
  245. package/dist/assets/TimeframeSwitcherWithToggle-L5acx38l-CrZfZFxd.js +0 -31
  246. package/dist/assets/TreasurySetupPage-COLv35Sa-D7XzYH1g.js +0 -152
  247. package/dist/assets/ZeniAccountNavBarPieces-B6K9Q5ca-BG64SHxp.js +0 -14
  248. package/dist/assets/analytics-DThoELaW.js +0 -7
  249. 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-C5RQ_I4f.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-CpUAoVFw-BuMEboIn.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-C0q2xQ43.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-t4I1y-2K-CgC6OUhN.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-C0q2xQ43.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};