@zeniai/web-app-ui 4.14.29-qa → 4.14.30-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.
- package/dist/assets/ACHDetailsPage-CQdbfxHV-BW88pIYa.js +21 -0
- package/dist/assets/{AIPerformancePage-BCxF5hNI-BDzZyTRY.js → AIPerformancePage-jyNXVGMj-Bs4Wcfnt.js} +13 -13
- package/dist/assets/AccountInfoPage-CiPtog_o-B4btRIXv.js +18 -0
- package/dist/assets/AccountInfoPageContent-Bj0kaRHv-CjMeZGo_.js +149 -0
- package/dist/assets/{AccountLockedInfoModal-CKODwo_y-HgxyLYI4.js → AccountLockedInfoModal-EbQpyRJx-DeA2eRRt.js} +3 -3
- package/dist/assets/{AccountReconDetailsDrawerPage-B2m7w0mL-C2NTxb1j.js → AccountReconDetailsDrawerPage-CK1QV13E-BSUxm7rf.js} +3 -3
- package/dist/assets/{AccountRow-G9Hw9KCo-BilRGfLi.js → AccountRow-B3Sz6a-V-GlNhkavB.js} +7 -7
- package/dist/assets/{AccountsPromoCardStack-C1-hQWvB-BXfUO0-K.js → AccountsPromoCardStack-DJtz56-u-D5uyYQuY.js} +6 -6
- package/dist/assets/AddAddressForCardDrawer-BDtxj9h6-Xx-rQDHp.js +6 -0
- package/dist/assets/{AddToWalletPage-BLdfTvYw-CAAAw7wK.js → AddToWalletPage-Czepun8f-MGSdB8OM.js} +4 -4
- package/dist/assets/{AddressRoutes-BG1MAbCa.js → AddressRoutes-CmvRhhab.js} +1 -1
- package/dist/assets/{AddressScreen-DPQ2dZD-.js → AddressScreen-Cb00RwYZ.js} +2 -2
- package/dist/assets/{AgingReportsPage-C6aasTzQ-CXKuu64F.js → AgingReportsPage-DzAVDq_i-BP-WG6Wy.js} +5 -5
- package/dist/assets/{AiCfoScreen-Uh7XawvO.js → AiCfoScreen-CZVtCrsQ.js} +2 -2
- package/dist/assets/{AllUserItems-CjeF5SWi-Xj_esGub.js → AllUserItems-BEoRQT-v-9OnCgvS-.js} +4 -4
- package/dist/assets/{ApAgingDetailPage-BWtvu1dO-B5eTLGtl.js → ApAgingDetailPage-55JdoIHh-kk28-9yG.js} +8 -8
- package/dist/assets/{AppBasePage-MKRsDpmx-HZd0I1c2.js → AppBasePage-CLye29uw-B08L49eb.js} +2 -2
- package/dist/assets/{AppDrawerContent-DN2hf6ff-D92ap2jb.js → AppDrawerContent-CDawrmfz-DqagnYqP.js} +6 -6
- package/dist/assets/{ApprovalRulesSettingsPage-0XbPzs2a-CNXOi7RW.js → ApprovalRulesSettingsPage-BHUZdWCO-tMTnXaFd.js} +1 -1
- package/dist/assets/{ArAgingChart-DSx_E9ZM-T13taZCd.js → ArAgingChart-DeL9nNI7-Bj8y0fT6.js} +2 -2
- package/dist/assets/{ArAgingDetailPage-C8h1id5v-Bp0xLr7O.js → ArAgingDetailPage-CuG65EQs-CXt16x8B.js} +3 -3
- package/dist/assets/{AttachmentView-CqKnI6Xt-6J0SUJNW.js → AttachmentView-C5anq6-B-BkQi2I92.js} +1 -1
- package/dist/assets/{BalancesInsightWithToolTip-CSaW4oJh-DO_Gw_jb.js → BalancesInsightWithToolTip-1PK_fwhP-BOcx7wZs.js} +6 -6
- package/dist/assets/{BankAccountSection-Dhp7GLZA-ZzlevD89.js → BankAccountSection-BUJoSOk8-BG4ByPDH.js} +2 -2
- package/dist/assets/BankAccountWarningSection-BQaoV2yQ-BLOJsai8.js +51 -0
- package/dist/assets/{BankConnectionsSettingsPage-CDPUFu2k-C0HHnCKS.js → BankConnectionsSettingsPage-DRDS5xzS-CGYqJS-4.js} +14 -14
- package/dist/assets/{BillDetailPage-BWBGE0pg-UL8bGSCB.js → BillDetailPage-CtVVaqTN-BwEQZwAf.js} +4 -4
- package/dist/assets/{BillPayApprovalRoutes-DW58vDW2.js → BillPayApprovalRoutes-DwRul1Fq.js} +1 -1
- package/dist/assets/{BillPayApprovalRuleDetailPage-B_XoB7xi-s54xFqBk.js → BillPayApprovalRuleDetailPage-6GHCsDkX-ClsaXk5H.js} +4 -4
- package/dist/assets/{BillPayApprovalRulesPage-5okdFn01-idvpD0Th.js → BillPayApprovalRulesPage-QKjq-qVP-DTJcefrH.js} +6 -6
- package/dist/assets/{BillPayPromoPage-GoR4wxn7-BX9oM76g.js → BillPayPromoPage-_n9uoXTN-DW34nsnh.js} +1 -1
- package/dist/assets/{BillPayRoutes-BtkTxM8s.js → BillPayRoutes-D22Q6pQL.js} +8 -8
- package/dist/assets/{BillPaySetUpPage-CKWIFJ92-CabNOcHO.js → BillPaySetUpPage-DNYX24VA-DLV9gKNt.js} +6 -6
- package/dist/assets/{BillingSettingsPage-AjSQYumd-Bn1f-Gb_.js → BillingSettingsPage-Btv3yiNs-M_OusRvc.js} +6 -6
- package/dist/assets/{BillsBulkReviewDrawerPage-DsNKfhkT-BYVxk_pZ.js → BillsBulkReviewDrawerPage-BiLLeGke-Bs5f4SMl.js} +1 -1
- package/dist/assets/{BoxItem-BWNurtfc-1wVBC0eH.js → BoxItem-Dqp4SNlI-EUjyx5Zm.js} +1 -1
- package/dist/assets/BusinessVerificationPage-_8Wg_S5G-ChiNdD4I.js +138 -0
- package/dist/assets/{BusinessVerificationPageScreen-DwaqRId9.js → BusinessVerificationPageScreen-B_00ICvM.js} +2 -2
- package/dist/assets/{BusyIndication-H_iNZOWd-YzpZR-Jd.js → BusyIndication-BZLVwIo8-6s8wSi7T.js} +1 -1
- package/dist/assets/{CardNumberSubText-BAWc12F9-BTTDwvPi.js → CardNumberSubText-12zyW5qQ-c22fv1fM.js} +8 -8
- package/dist/assets/{CashbackDetailPage-BhCHvGxj-C7faepag.js → CashbackDetailPage-B8-TDuv8-Dd6aEuJQ.js} +11 -11
- package/dist/assets/{ChargeCardDetailPage-D9-V0pjZ-CcMIYVjT.js → ChargeCardDetailPage-Bdz5L2ko-CaBbXfBZ.js} +44 -44
- package/dist/assets/{ChargeCardListPage-CZFi8l0_-CbzOxmGD.js → ChargeCardListPage-EuJ1VXck-BU5r2hWM.js} +19 -19
- package/dist/assets/{ChargeCardListTable-DiJUp9-c-D2uWClgA.js → ChargeCardListTable-SgjwYd8W-EVdaCbR4.js} +1 -1
- package/dist/assets/{ChargeCardPaymentHistoryPage-CW9gtO0w-DcClor1f.js → ChargeCardPaymentHistoryPage-BC2DkmZT--xdPwk1t.js} +1 -1
- package/dist/assets/{ChargeCardPromoPage-CiZDV925-CSYRAMGO.js → ChargeCardPromoPage-C-z0xtuN-qFHF_adM.js} +6 -6
- package/dist/assets/{ChargeCardRoutes-D4cX-FOc.js → ChargeCardRoutes-DV8TKacG.js} +1 -1
- package/dist/assets/{ChargeCardSetupPage-C5jXY5P--BL7I_Hqd.js → ChargeCardSetupPage-ByLoLZE_-DIekUpHc.js} +2 -2
- package/dist/assets/{ChargeCardStatementsPage-CetLgQ8l-gLsbR91J.js → ChargeCardStatementsPage-C4XdqPO1-BSM3bO35.js} +2 -2
- package/dist/assets/{CheckDepositDrawerPage-BYfqgSGk-ZwbVVf4M.js → CheckDepositDrawerPage-D5X61CKc-CyEf-jUu.js} +8 -8
- package/dist/assets/{CollapsableReportTable-BhbPzkAB-CdpUmH6m.js → CollapsableReportTable-D7zD4-h0-CdsTnLhf.js} +1 -1
- package/dist/assets/{CompanyOfficerDetailsSection-CMcuDe-X-C7bIWPwr.js → CompanyOfficerDetailsSection-w86_5FXJ-CDmgqN3N.js} +93 -93
- package/dist/assets/{CompanyPassportCard-DImW2Dm8-C3ddeebY.js → CompanyPassportCard-tpE1lXug-CLl-IbcU.js} +9 -9
- package/dist/assets/{CompanyPassportPage-DT2W9QE1-BV_asMoO.js → CompanyPassportPage-bND99CJN-D7hjvVvQ.js} +23 -23
- package/dist/assets/{CompanyPassportScreen-lvxlxXBe.js → CompanyPassportScreen-DR-zdvAJ.js} +1 -1
- package/dist/assets/{CompleteProfile-BOabRQRQ-hZLQMnnP.js → CompleteProfile-B5W07hcs-mOeGRg8M.js} +1 -1
- package/dist/assets/ConfettiBurst-C0DFgWJj-DC0n_rE6.js +1 -0
- package/dist/assets/{ConnectionAuthScreen-B2gMiO2X.js → ConnectionAuthScreen-D4VaoAIy.js} +1 -1
- package/dist/assets/{ConstrainedInnerElement-CgdnMeoA-CBRgyWeU.js → ConstrainedInnerElement-CgdnMeoA-bMF_z_bc.js} +1 -1
- package/dist/assets/{CreateOrEditVendorPage-D86akQ-H-DjyhHlg2.js → CreateOrEditVendorPage-CrQh8JCh-BX5wTD-m.js} +6 -6
- package/dist/assets/{CreditCardPaymentDrawerPage-MS34Pxyw-CThaYeKC.js → CreditCardPaymentDrawerPage-BoVmLCHh-Blea7AvV.js} +1 -1
- package/dist/assets/{CurrencySelectField-BsuzTGXR-BO0M4dmd.js → CurrencySelectField-D2azwi1T-CSrQI1j0.js} +1 -1
- package/dist/assets/{CustomerOnboardingActivationPage-BP-GIrmI-BTYtJVUo.js → CustomerOnboardingActivationPage-DxuEGe6X-BPuiwcIL.js} +5 -5
- package/dist/assets/CustomerOnboardingAuthScreen-DLH-rYdF.js +1 -0
- package/dist/assets/CustomerOnboardingContainerPage-DS0-65s7-CeH0I7wN.js +1 -0
- package/dist/assets/{CustomerOnboardingDetailPageSkeleton-CISAUodZ-YRtutnxA.js → CustomerOnboardingDetailPageSkeleton-DRGKainD-Y7JaILNu.js} +7 -7
- package/dist/assets/{CustomerOnboardingNoStepsPage-DgMQ5prq-C6rBmtzt.js → CustomerOnboardingNoStepsPage-C--jDBQq-BgvTeh9S.js} +10 -10
- package/dist/assets/{CustomerOnboardingPage-QvCZDMFw-XwRQSzz7.js → CustomerOnboardingPage-BXZSl2im-DDrc-wX_.js} +6 -6
- package/dist/assets/{CustomerOnboardingProductSuitePage-Bt1cV23--BjduPIcK.js → CustomerOnboardingProductSuitePage-BJmYX0kI-C3qX-GBN.js} +1 -1
- package/dist/assets/{CustomerOnboardingRoutes-E20XO7Zj.js → CustomerOnboardingRoutes-DqfIHwc7.js} +4 -4
- package/dist/assets/{Dashboard-DdAePVSx-C-9TkoS2.js → Dashboard-yhqyXPbZ-CPcltsfF.js} +1 -1
- package/dist/assets/{DashboardReportPage-ccn0JYfk-D8ynj735.js → DashboardReportPage-BG4StCjY-CzFGaujV.js} +8 -8
- package/dist/assets/{DashboardRoutes-DcFVHsLz.js → DashboardRoutes-Bawz4pw0.js} +3 -3
- package/dist/assets/DashboardSidebarBackgroundAnimation-DsWKmIXY-BuOmk2Nk.js +12 -0
- package/dist/assets/{DefaultTenantHome-wwRnuj8j.js → DefaultTenantHome-B10KVon4.js} +1 -1
- package/dist/assets/{DepositAccTransactionItem-BijpyBiZ-CW9mmver.js → DepositAccTransactionItem-5ZEPnNxa-3AfijWCl.js} +6 -6
- package/dist/assets/DepositAccTransactionListPage-BR8d0Kun-DVyGTLJU.js +66 -0
- package/dist/assets/{DomesticWireDetailScreen-OB8K6kLY.js → DomesticWireDetailScreen-CMEoUywc.js} +1 -1
- package/dist/assets/{DomesticWireDetailsPage-B10Vx6K5-BUhuFnZV.js → DomesticWireDetailsPage-wGIWvhgQ-CmjPpsLr.js} +4 -4
- package/dist/assets/{DownloadOverlay-BiIbEvq6-ZKYIT7SI.js → DownloadOverlay-SLvxfa6B-CQ7BxjF9.js} +16 -16
- package/dist/assets/{DrawerPage-4aE01eRo-CAh9Gn2F.js → DrawerPage-CFdTV10k-BenpSUGv.js} +4 -4
- package/dist/assets/{DrawerScreen-BUsyYGIw.js → DrawerScreen-B7BWNi51.js} +1 -1
- package/dist/assets/{EditPeoplePage-BWjOJqch-joGMUHM8.js → EditPeoplePage-C-Y62PJ0-BgijqRCf.js} +7 -7
- package/dist/assets/{EditReimbursementDetailPage-Dcw8QlH6-BgKR9UgF.js → EditReimbursementDetailPage-BYpXof8e-CdyZTm2g.js} +14 -14
- package/dist/assets/{EntityDetailPage-DseDMalq-Cyl2DMlD.js → EntityDetailPage-CgDHg6g5-B_vQblwz.js} +2 -2
- package/dist/assets/{EntityDetailRoutes-DRKZJLlI.js → EntityDetailRoutes-nFrPna9t.js} +1 -1
- package/dist/assets/{EntitySummarySection-D1o-WKT9-D_I5HHZG.js → EntitySummarySection-B2uG3-Zh-DoF2hAYB.js} +4 -4
- package/dist/assets/{ExpenseAutomationOverviewPage-BIGlSzsy-GCvxlf1m.js → ExpenseAutomationOverviewPage-CrtNuarm-C8tGkYQU.js} +7 -7
- package/dist/assets/{ExpenseAutomationPage-BUARFwSx-DJgzLEID.js → ExpenseAutomationPage-CWPnIMSu-BUnHNcGe.js} +1 -1
- package/dist/assets/{ExpenseAutomationRoutes-DOhwxALP.js → ExpenseAutomationRoutes-DxRmXEnL.js} +1 -1
- package/dist/assets/{ExpressPayPage-BKpxo5VW-DRp_Q9MN.js → ExpressPayPage-CsI_DUc6-BKAOKKa9.js} +8 -8
- package/dist/assets/{FeaturePreviewPage-CfqYjofS-BCTiv77_.js → FeaturePreviewPage-B67a68N9-BPSn99tM.js} +1 -1
- package/dist/assets/{FeaturePreviewScreen-B3zHyjp6.js → FeaturePreviewScreen-D_cOMPjM.js} +1 -1
- package/dist/assets/{FollowStepsSection-CJzIGe2N-DY6b--XC.js → FollowStepsSection-CgjzMm02-DPMc3VYJ.js} +1 -1
- package/dist/assets/{GlobalReviewListPage-B4qWm75N-Cgt5bIxt.js → GlobalReviewListPage-CIfK-0rd-F3X4MQ4k.js} +5 -5
- package/dist/assets/{InformationCardStack-BXWxFJnm-DTjwcinQ.js → InformationCardStack-qKld10kr-IVC5wYc5.js} +1 -1
- package/dist/assets/{InsightsCardStack-iUppdWya-CvDrIPQZ.js → InsightsCardStack-Bbh77o6f-Dr_8r9pW.js} +8 -8
- package/dist/assets/InsightsSection-DgfCOO4F-rd7xZxVI.js +27 -0
- package/dist/assets/{IntegrationsSettingsPage-DthkTtT9-C74bs234.js → IntegrationsSettingsPage-BRQFeOLt-2BecY83T.js} +2 -2
- package/dist/assets/{InternationalWireSwiftDetailsPage-hYeFGjj4-DcAN91eT.js → InternationalWireSwiftDetailsPage-DPemNncS-Datvi8oR.js} +4 -4
- package/dist/assets/{InternationalWireVerificationPage-0TZuCAzZ-CQe_0UUB.js → InternationalWireVerificationPage-BOxXfIY5-D1lMmBlP.js} +3 -3
- package/dist/assets/{InviteFormPage-BC1PH63r-BIGwjJ9U.js → InviteFormPage-BbbPCdh--Cb0-_CQ6.js} +1 -1
- package/dist/assets/{InvitePageListView-BJDfCvno-gIJzhxwL.js → InvitePageListView-DqfrAulo-BtCqgsIl.js} +13 -13
- package/dist/assets/{InvitePeoplePage-Bl-WUfXO-DUMLWy1B.js → InvitePeoplePage-CgTpZp4M-CYe0nmg8.js} +3 -3
- package/dist/assets/{InvoiceUploadSection-BgVvYytR-BlXN9F3c.js → InvoiceUploadSection-DZOzTShz-BFwyUvOT.js} +1 -1
- package/dist/assets/{IssueChargeCardPage-0JEZpfCu-DM9vLveb.js → IssueChargeCardPage-x6dLcd-P-D7R8buXv.js} +17 -17
- package/dist/assets/{LabeledAddressValue-BCsadhSu-BSeojys7.js → LabeledAddressValue-CY4Fn72d-VdKSkT_l.js} +1 -1
- package/dist/assets/LabeledAddressValueField-D47ofJFV-CGqdgTnp.js +45 -0
- package/dist/assets/{LabeledControlledCheckBoxField-Do7rlK6F-Dcj3JGIB.js → LabeledControlledCheckBoxField-C_c8Rs-i-Cz1fNsx_.js} +1 -1
- package/dist/assets/{LabeledCountryMultiSelectField-BHwXHYPO-D63Slqo_.js → LabeledCountryMultiSelectField-vRw9drBe-Bw1loTny.js} +1 -1
- package/dist/assets/{LabeledCreatableSingleSelectField-gMUp1tXY-0qVfYVsB.js → LabeledCreatableSingleSelectField-CdF97ljM-DTrzefeb.js} +3 -3
- package/dist/assets/{LabeledDocumentField-DxUq-7nr-Dvr8lzpZ.js → LabeledDocumentField-Dn25Ru1C-CLM-i9xW.js} +1 -1
- package/dist/assets/{LabeledDropDownFormattedTextField-D51ly333-DpjwTxSj.js → LabeledDropDownFormattedTextField-C2sZjA-q-Bkuc_5w_.js} +6 -6
- package/dist/assets/{LabeledEmailInputField-Cd9p7Kj0-CVG4vWEu.js → LabeledEmailInputField-DzAdekQn-BkQ7kdJx.js} +3 -3
- package/dist/assets/{LabeledNameField-364jsrFK-CQqPpY2S.js → LabeledNameField-Dxx0xwMv-DBRkdNqp.js} +1 -1
- package/dist/assets/{LabeledSingleSelectField-B3pMIEfZ-BxU2XuLw.js → LabeledSingleSelectField-EO8TA_z_-C26qdLJU.js} +6 -6
- package/dist/assets/{LabeledText-uFTi1qOo-DmgySby9.js → LabeledText-Bo7B-LrF-DECCi3EJ.js} +2 -2
- package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-XD6D3r0Y-BIqpPDdk.js → LabeledUserSingleSelectWithSubtitlesField-DD11_Map-ZtH1v-68.js} +8 -8
- package/dist/assets/{LabeledZeniRolesDropDownField-CbJ3OtWK-BYvsDYJv.js → LabeledZeniRolesDropDownField-BJ99uBt1-DGvakh0f.js} +18 -18
- package/dist/assets/{LinkJETransactionPage-B5M6Ojt--CjodvhlH.js → LinkJETransactionPage-BiDoUKQW-xgKDBdnj.js} +9 -9
- package/dist/assets/{LockCardPage-DN2dvQA9-Ow-fz21n.js → LockCardPage-B1QOSByp-BfsUhZIZ.js} +25 -25
- package/dist/assets/{LowBalancePopup-CXTWwEyb-CglMcP4R.js → LowBalancePopup-Bl_PaIUx-yOClgIGf.js} +2 -2
- package/dist/assets/MagicLinkACHDetailsPage-l76_Y3sO-DBz5GRKZ.js +1 -0
- package/dist/assets/MagicLinkDomesticWireDetailsPage-D_z_Q-jz-DriIOIxl.js +1 -0
- package/dist/assets/MagicLinkInternationalWireDetailsPage-D276lsq_-ColrMYZA.js +1 -0
- package/dist/assets/MagicLinkRoutes-B-WHuq25.js +72 -0
- package/dist/assets/{MagicLinkSignInScreen-D5zthsYs.js → MagicLinkSignInScreen-BBwmXYDm.js} +1 -1
- package/dist/assets/MagicLinkSuccessPage-CuL-7CWN-C2vVBJ4S.js +31 -0
- package/dist/assets/{MagicLinkTitleSection-BnzImXCX-D-Ps836u.js → MagicLinkTitleSection-RYhrN820-BbeWYlVu.js} +10 -10
- package/dist/assets/{MailingDetailsSection-aNMVpaF0-BDPAoAmw.js → MailingDetailsSection-D9_I-DTk-Cdb1WRS_.js} +1 -1
- package/dist/assets/{MobileAppDrawer-nB2AvhYg.js → MobileAppDrawer-CTcTm5tx.js} +1 -1
- package/dist/assets/{MoreMenuButton-C_jqM-Ix-DkOTATII.js → MoreMenuButton-5MZl4h9B-BympoCwa.js} +1 -1
- package/dist/assets/{MyBankConnectionsSettingsPage-CdW-lOqB-BuW8By7Z.js → MyBankConnectionsSettingsPage-CBw6kNsm-DlddyW1w.js} +4 -4
- package/dist/assets/MyPendingActivationChargeCardListPage-BC4YjZtP-DfpXnRCt.js +6 -0
- package/dist/assets/{MyProfileSettingsPage-ZmPfSk3b-CoiObIlF.js → MyProfileSettingsPage-DZ5M2BUN-CQ7zk2gg.js} +4 -4
- package/dist/assets/{NavBarWithPicker-BYosIzfk-QcmG5LM_.js → NavBarWithPicker-C6FiaLu5-BVvTIBUE.js} +5 -5
- package/dist/assets/{NavigationArrow-CMLkPq47-RkoQ7OLd.js → NavigationArrow-BnAgR0wH-BYYktF7B.js} +1 -1
- package/dist/assets/{NavigationDots-maxhYltq-CrrpYdd0.js → NavigationDots-WUDG_g8M-CSwlLBTM.js} +3 -3
- package/dist/assets/{NewGlobalMerchantPage-BkDFFysB-B2YvDT6v.js → NewGlobalMerchantPage-gAsCusVw-CA6lhup4.js} +1 -1
- package/dist/assets/{NoDataChart-CKqR_T30-j8ruDKAU.js → NoDataChart-BBYUjdKn-CaszePO0.js} +3 -3
- package/dist/assets/{NoDataTable-BQLSA76V-Z0rSzjO1.js → NoDataTable-D3750d25-CC_2gGkK.js} +1 -1
- package/dist/assets/{NotFoundPage-rtS33FV3-DQRB4A0h.js → NotFoundPage-C4D8Rn9E--AJk-xer.js} +6 -6
- package/dist/assets/{NotFoundScreen-BZyQ7N3h.js → NotFoundScreen-SRDW4_mE.js} +1 -1
- package/dist/assets/{NotificationRoutes-DHwdNZv_.js → NotificationRoutes-BSrkx0LD.js} +1 -1
- package/dist/assets/{NotificationSettingsPage-JJ5a6f1u-DkWIvNeO.js → NotificationSettingsPage-CD-t91ia-DJoX_UtT.js} +4 -4
- package/dist/assets/NotificationsListConfig-C7JSE-eQ-DyT-ZhYk.js +1 -0
- package/dist/assets/{NotificationsPage-9vgLoVxJ-DquGHhpL.js → NotificationsPage-Be1v8niA-BlgDo9nE.js} +14 -14
- package/dist/assets/{OpExByVendorPage-Dy7Ll1zE-BHmSV3QW.js → OpExByVendorPage-D1f1lQbs-BnyzfFJz.js} +7 -7
- package/dist/assets/{OverlayContainerPage-BG9y5C0t-CXSGJlk6.js → OverlayContainerPage-BG9y5C0t-DTorHW75.js} +1 -1
- package/dist/assets/{PandLWithForecastPage-D-V3dD71-BFdw0OK9.js → PandLWithForecastPage-DIYb7BWp-B3vKwRhN.js} +11 -11
- package/dist/assets/{PandLWithForecastRoutes-BDTc6BXB.js → PandLWithForecastRoutes-CsL0r0I3.js} +1 -1
- package/dist/assets/{PaymentAccountSetupBillingAddressSection-B_4cMrVT-De6jntkt.js → PaymentAccountSetupBillingAddressSection-tGkjxbjY-CHrQD7Oe.js} +6 -6
- package/dist/assets/{PeoplePage-B9bxxtaC-DVI-Bxvs.js → PeoplePage-xwAOX4Jk-BnzId5aB.js} +1 -1
- package/dist/assets/{PeopleRoutes-C9qvG-Pm.js → PeopleRoutes-D-yY-A49.js} +3 -3
- package/dist/assets/PerformanceRoutes-DUxeAB_T.js +1 -0
- package/dist/assets/{Preview-C63MOKlS.js → Preview-k4ohm46R.js} +1 -1
- package/dist/assets/{ProductsCarousel-BnezAuLA-D870mTyw.js → ProductsCarousel-OHbYasaa-Bps9QCYO.js} +1 -1
- package/dist/assets/{PromoBaseCards-B5vRjrOp-CQBPv6Li.js → PromoBaseCards-B_0dccCZ-BeKRkhdX.js} +3 -3
- package/dist/assets/{QBOConnectionDialog-mVAyONiQ-CvqA8075.js → QBOConnectionDialog-5ItNvdCA-D1LNYclF.js} +13 -13
- package/dist/assets/{QBOConnectionScreen-CXrs5Ixj.js → QBOConnectionScreen-BDwso3KZ.js} +1 -1
- package/dist/assets/{QBOSetupSection-Co4tc3sO-CTfIKjz1.js → QBOSetupSection-CHZgQppe-Fu_QXCEh.js} +14 -14
- package/dist/assets/ReferralListScreen-DPkRtA1r.js +5 -0
- package/dist/assets/{ReimbursementApprovalRoutes-D2Z5UbaN.js → ReimbursementApprovalRoutes-DyX9YlA9.js} +1 -1
- package/dist/assets/{ReimbursementApprovalRuleDetailPage-t48xfVQ_-CD8euRFQ.js → ReimbursementApprovalRuleDetailPage-CqZT111l-Th1QLQg3.js} +5 -5
- package/dist/assets/{ReimbursementApprovalRuleDetailScreen-D5GyC7T8.js → ReimbursementApprovalRuleDetailScreen-BR6Wdj2J.js} +1 -1
- package/dist/assets/{ReimbursementApprovalRulesPage-BuOE0xKm-Dgnps96a.js → ReimbursementApprovalRulesPage-BzTe2nqd-DFHyb7gY.js} +1 -1
- package/dist/assets/{ReimbursementDetailPage-oD88KyGk-fKnCy2kA.js → ReimbursementDetailPage-DM650uCR-BZojPp4W.js} +7 -7
- package/dist/assets/{ReimbursementPromoPage-DC6vQNFr-D_UtsBrr.js → ReimbursementPromoPage-CitTg9s4-C6Ht-4dW.js} +7 -7
- package/dist/assets/{ReimbursementRoutes-IQsmlcCo.js → ReimbursementRoutes-C4Yz_jbS.js} +3 -3
- package/dist/assets/{ReimbursementSetUpPage-ClkPQCRt-TDU6L3Hh.js → ReimbursementSetUpPage-qphyaCoX-CvNz9jXQ.js} +5 -5
- package/dist/assets/{ReimbursementsBulkReviewDrawerPage-DiWW85PW-4yt4cIZg.js → ReimbursementsBulkReviewDrawerPage-CCJvQKip-BQLPbz53.js} +1 -1
- package/dist/assets/{ReloadCard-DcyZqZO5-Cx4kSgDZ.js → ReloadCard-DMNbI6QE-C1j_tgy-.js} +4 -4
- package/dist/assets/{ReportTableViewSelector-Be_385i6-BoF2puWu.js → ReportTableViewSelector-CUG4hVI9-Bjuyu4DH.js} +5 -5
- package/dist/assets/{ReportsPage-Dp_uEJ2H-BVzHzuJW.js → ReportsPage-nuM-ub1p-CKOT47VZ.js} +8 -8
- package/dist/assets/{ReportsRoutes-DNVh4Zq3.js → ReportsRoutes-DohAZqsL.js} +1 -1
- package/dist/assets/{RevenueChart-B-iMe_PD-qYuzBRWA.js → RevenueChart-BL5Wb2UT-JQVA4c7e.js} +1 -1
- package/dist/assets/{ReviewDetailsPage--0ZUpEVp-QpDfYpwf.js → ReviewDetailsPage-CUolLJ6s-I5bNk9-1.js} +21 -21
- package/dist/assets/{ReviewOverlay-D_JI48L0-BZc7iU8Z.js → ReviewOverlay-A1OYNSqG-DCeKL3J7.js} +6 -6
- package/dist/assets/RewardsRoutes-BjB7FD9l.js +1 -0
- package/dist/assets/{RoleWithToolTip-Bqdsc31P-CEo-Vqy5.js → RoleWithToolTip-VOllzDDB-BXr_ucO6.js} +2 -2
- package/dist/assets/{ScheduleDetailsFixedAssetsPage-vFbciuuA-D8R98pra.js → ScheduleDetailsFixedAssetsPage-By3U1RYU-Dut2stb8.js} +3 -3
- package/dist/assets/{ScheduleDetailsPage-BUxgvyKT-4gfjZarF.js → ScheduleDetailsPage-ButJHPUw-XhuUVDsI.js} +3 -3
- package/dist/assets/ScheduleSequenceTable-Dv831gVJ-OIQZXWKl.js +326 -0
- package/dist/assets/{ScreenRoutes-Dehj5d2R.js → ScreenRoutes-B6WQ9uqs.js} +2 -2
- package/dist/assets/{SetUpAccountSection-Bk3RGJCY-Bm0kDwNM.js → SetUpAccountSection-BcNG0nDh-C2x0keC_.js} +1 -1
- package/dist/assets/{SettingsRoutes-DK8cjp4e.js → SettingsRoutes-U8aLQkxi.js} +5 -5
- package/dist/assets/{SetupPagesScreen-DAHxCusL.js → SetupPagesScreen-KLzrKq5d.js} +1 -1
- package/dist/assets/{SignIn-DbvYG8OW-GkUkBoPB.js → SignIn-D80UITQm-CVsAto0V.js} +22 -22
- package/dist/assets/{SignInScreen-vzDqilPw.js → SignInScreen-g1CD9jiJ.js} +1 -1
- package/dist/assets/SignOutScreen-Cclrjb6Y.js +9 -0
- package/dist/assets/{SpendManagementListViewPage-CSGYJyZu-CHLWxGnv.js → SpendManagementListViewPage-DSG6Son_-3Woa8ZKL.js} +6 -6
- package/dist/assets/{SpendManagementPerTabPage-DuGeuTYQ-Bnf08sS-.js → SpendManagementPerTabPage-DiSu0RS1-Dj2U_5YO.js} +13 -13
- package/dist/assets/{SpendManagementSection-CZ_i360S-DJoDSBgX.js → SpendManagementSection-BXU3RGG8-BwEQ7fN8.js} +12 -12
- package/dist/assets/StatementItem-B1M65xN--D_j2q7nS.js +31 -0
- package/dist/assets/{StatementsPage-BMFYpAPA-CVHHtLBu.js → StatementsPage-Ck1xzA0w-CdWUN6DK.js} +2 -2
- package/dist/assets/{StatusSwitcher-CDnarHSf-DDxt9cRn.js → StatusSwitcher-_Cs3CzJl-D1XlTHt5.js} +6 -6
- package/dist/assets/{SubTabSwitcher-DhIXVTVI-C-FMRKa6.js → SubTabSwitcher-D3ltE_yc-Ry1ed6uf.js} +3 -3
- package/dist/assets/SuccessAnimation-RuQd1S4B-C9QgxngQ.js +13 -0
- package/dist/assets/SummaryCard-buadhnmc-COTvxgGf.js +1 -0
- package/dist/assets/{TaskDetailPage-rWt-QUEv-B4eDDsje.js → TaskDetailPage-CJKga1vr-ciDskCCR.js} +1 -1
- package/dist/assets/{TaskListScreen-CSw93xhx.js → TaskListScreen-ksTObC06.js} +2 -2
- package/dist/assets/{TaskManagementPage-D3YvKWVJ-CISxMHl7.js → TaskManagementPage-BMwMSG1j-D-VvypFm.js} +27 -27
- package/dist/assets/TaskRoutes-C_cjp_9o.js +9 -0
- package/dist/assets/{TimeRangeSwitcher-CFJrPhfZ-B9dX58Bl.js → TimeRangeSwitcher-B1Wx03tG-Br6TSwpo.js} +1 -1
- package/dist/assets/{TimeframeSwitcher-DS6zgSjT-CWk5lheO.js → TimeframeSwitcher-Dmtsdwi9-Ce3iuH6w.js} +6 -6
- package/dist/assets/{TimeframeSwitcherWithToggle-Did8-Dj7-BeDPAkDD.js → TimeframeSwitcherWithToggle-P5CfgTUd-DXOPf3Bj.js} +3 -3
- package/dist/assets/{TopExCard-ByF-svYM-CeHmKjZr.js → TopExCard-DQkr9Xhh-CEMSG53J.js} +3 -3
- package/dist/assets/{TopExDetailPage-ABVezwCx-C0DDZmei.js → TopExDetailPage-5Di6WUfV-hilBOr7-.js} +9 -9
- package/dist/assets/{TransactionActivityLogPage-B8ytNODX-BJQxN8XR.js → TransactionActivityLogPage-R9LoW4DL-C_Mhlr8m.js} +1 -1
- package/dist/assets/{TransactionDetailPage-CunkyIXB-CgTOb-81.js → TransactionDetailPage-B-blHtkn-CbeGtCIa.js} +34 -34
- package/dist/assets/{TransactionDetailRoutes-vPW4Cy7h.js → TransactionDetailRoutes-CG9Ya3UI.js} +1 -1
- package/dist/assets/{TransactionDetailScreen-ChHjrjIW.js → TransactionDetailScreen-DG1rRYuu.js} +1 -1
- package/dist/assets/{TransactionList-CEPVnfZD-TcZJCCiC.js → TransactionList-FQvTXSzy-oI0UZGJM.js} +13 -13
- package/dist/assets/{TransactionListBig-BYFv0irc-C_9tN-iq.js → TransactionListBig-CNDw7zRw-DTLpPxaS.js} +6 -6
- package/dist/assets/TransactionListPage-BkZLtwmQ-DzH0F7Wk.js +35 -0
- package/dist/assets/{TransactionListRoutes-AsiPvomy.js → TransactionListRoutes-BbWNwfVS.js} +1 -1
- package/dist/assets/{TransactionVendorDetailPage-DYvgQFQS-CHf7_t-i.js → TransactionVendorDetailPage-Ch2UUF1f-DGdjSa3g.js} +3 -3
- package/dist/assets/{TransferDrawerPage-gDUiIE-g-Dq_9lrcC.js → TransferDrawerPage-C1Ly_xKj-DX3atlS9.js} +21 -21
- package/dist/assets/{TreasuryOverviewPage-DXIqVBWp-vTDjed-b.js → TreasuryOverviewPage-Zt5w8zfp-CedvlZd9.js} +21 -21
- package/dist/assets/{TreasuryPromoPage-oERSujnm-Duub099a.js → TreasuryPromoPage-BsP73kf7-etf9xlFS.js} +14 -14
- package/dist/assets/{TreasuryRoutes-Cw9xE3HA.js → TreasuryRoutes-CuQ3uJ15.js} +1 -1
- package/dist/assets/{TreasuryStatementsPage-GWCCDPvf-BxdVAf_2.js → TreasuryStatementsPage-DhXESeOi-uJElEPeD.js} +4 -4
- package/dist/assets/{TreasuryTaxLetterPage-pTRWyNYH-C_7jq7mI.js → TreasuryTaxLetterPage-tHkQvX2V-pYxXn6xj.js} +4 -4
- package/dist/assets/{TrendChart-B2oLQN05-BKkpm1IB.js → TrendChart-B7Pox_TQ-7BkibFBY.js} +4 -4
- package/dist/assets/{TrendWithTransactions-Bx63fv0P-BpBq0DjX.js → TrendWithTransactions-DP1jZL1i-2bOe0VtV.js} +6 -6
- package/dist/assets/{UncategorizedAccountsMappingPage-D_QwlpkW-AksGUSjn.js → UncategorizedAccountsMappingPage-4mHyt2P6-BwcucbSK.js} +7 -7
- package/dist/assets/{UnitIntegrationPage-EeIQyR4L-BkgVpnWk.js → UnitIntegrationPage-BymmWe1G-DFsBuiFb.js} +3 -3
- package/dist/assets/{UploadAdditionalDocumentOverlay-B8_7dtgO-BAzvdZXs.js → UploadAdditionalDocumentOverlay-DUO2ZoU--ozi0LNFT.js} +1 -1
- package/dist/assets/{Vendor2FAPopup-DwTNfggI-DuCG60KE.js → Vendor2FAPopup-8kpMx5RI-CGazITGN.js} +1 -1
- package/dist/assets/VendorACHDetailsPage-BODHiiUQ-DmAQiimf.js +1 -0
- package/dist/assets/{VendorDetailPage-k42A_Pv1-ZE6DsZ2U.js → VendorDetailPage-C-JJfR0u-DCJ_f7dN.js} +12 -12
- package/dist/assets/VendorDomesticWireDetailsPage-CVfEcUFJ-8ddL7pEj.js +1 -0
- package/dist/assets/{VendorFiling1099EditablePage-BUuhWv_U-K4_6q7mU.js → VendorFiling1099EditablePage-B4vFgSwb-DDTykyPn.js} +6 -6
- package/dist/assets/{VendorFirstReviewPage-bN7DO44j-BxefcVJp.js → VendorFirstReviewPage-CUwdrbjH-DPvTVvHI.js} +7 -7
- package/dist/assets/{VendorInternationalWireDetailsPage-DjkOrgs7-Cg0U0LdX.js → VendorInternationalWireDetailsPage-BzP1zqhw-CAXXQP5N.js} +4 -4
- package/dist/assets/VendorInternationalWireSwiftDetailsPage-Dgz0TPoZ-CYv9JR1l.js +1 -0
- package/dist/assets/{VendorsAccountsSection-D-7K4aZA-CRXRh27D.js → VendorsAccountsSection-Drue-Lvz-DQRReXtk.js} +4 -4
- package/dist/assets/{VendorsRoutes-CIpXKlmm.js → VendorsRoutes-Buw6G1yr.js} +1 -1
- package/dist/assets/{VerifyDevice-VPfuXUzH-1HX1IVYe.js → VerifyDevice-B_NNzkjT-BkggAu3P.js} +9 -9
- package/dist/assets/VideoPlayer-Bc4tAd79-Crbsq9LQ.js +77 -0
- package/dist/assets/VideoPopup-BYo5bzpU-BthyvsgQ.js +31 -0
- package/dist/assets/WiseConfirmationScreen-CEIT9jMF.js +12 -0
- package/dist/assets/{ZeniAccountDetailPage-CJrpkcjr-HirlEWmr.js → ZeniAccountDetailPage-BW6G2voE-DBU5fQds.js} +19 -19
- package/dist/assets/{ZeniAccountListViewPage-DvJI3LGF-nY-vtULB.js → ZeniAccountListViewPage-gNszI2XV-BLZmP_oZ.js} +30 -30
- package/dist/assets/{ZeniAccountNavBarPieces-UCydmVe7-UXTm50TX.js → ZeniAccountNavBarPieces-BP1IxZ18-ABeEpX-y.js} +1 -1
- package/dist/assets/{ZeniAccountPromoPage-DiGsabvm-rZyGLme8.js → ZeniAccountPromoPage-LsZxIdX9-D62PvtLZ.js} +5 -5
- package/dist/assets/{ZeniAccountRoutes-BPd28Sqn.js → ZeniAccountRoutes-Bp_1In61.js} +5 -5
- package/dist/assets/{ZeniAccountSetupPage-hVmIT6tO-g_Hva4KO.js → ZeniAccountSetupPage-BExQA9Cz-D04LOVK1.js} +1 -1
- package/dist/assets/{ZeniAccountStatementScreen-C-wBGJv0.js → ZeniAccountStatementScreen-6LzJoR1o.js} +1 -1
- package/dist/assets/{ZeniAvatar-C2LxBTZ4-0_TRwNg0.js → ZeniAvatar-5wP6sb3W-CKgtWCng.js} +1 -1
- package/dist/assets/{ZeniCopyright-BTIaEGE9-El7BZp0U.js → ZeniCopyright-CMjFbDBQ-So_Gi_8l.js} +1 -1
- package/dist/assets/{ZeniDatePicker-9JxwH7J5-CrNSUw6y.js → ZeniDatePicker-C_YQpGe--CXBBhIwN.js} +4 -4
- package/dist/assets/{ZeniTransferAmountSlider-BlEFrC-Z-BisIQd6x.js → ZeniTransferAmountSlider-CIu35Xz9-BCHS6-b-.js} +1 -1
- package/dist/assets/{accountMappingHelper-CZHlLVR_.js → accountMappingHelper-Ctd7yuH3.js} +1 -1
- package/dist/assets/{add-to-wallet-DgdBD8_G-BgQLRlhS.js → add-to-wallet-DgdBD8_G-q_ZatOIu.js} +1 -1
- package/dist/assets/{analytics-CDQ7tGpV.js → analytics-Ci5SIN4_.js} +1 -1
- package/dist/assets/{analyticsHelper-C4p8ugAl.js → analyticsHelper-CBcY8lmv.js} +1 -1
- package/dist/assets/{analyticsHelper-CYp9h-KW-Cdl9mD6Z.js → analyticsHelper-CG-L3dO7-WIHh4rd-.js} +1 -1
- package/dist/assets/{arrow-south-east-round-PEovUgvH-CvfiHTRY.js → arrow-south-east-round-PEovUgvH-BXAmISmi.js} +1 -1
- package/dist/assets/{auto-transfer-rule-mbafm5D3-8rMpx5do.js → auto-transfer-rule-mbafm5D3-Qtr813uy.js} +1 -1
- package/dist/assets/{avatar-Dz7aEm3d-BdKWS97a.js → avatar-Dz7aEm3d-lVrrjTFE.js} +1 -1
- package/dist/assets/{bank-letter-BOcVjN6J-ydWr7ZOI.js → bank-letter-BOcVjN6J-a5lcVCZG.js} +1 -1
- package/dist/assets/{calculateSize-DecSvt-d-BXgf6S37.js → calculateSize-CAxK0dN_-6AyeRPo8.js} +1 -1
- package/dist/assets/{chartTypes-D2s_Hwo9-BrmnDHT7.js → chartTypes-_AEkJ5Cg-CVupoc41.js} +1 -1
- package/dist/assets/{clock-CJkylEKt-CjcyjUt4.js → clock-CJkylEKt-CBVPxBka.js} +1 -1
- package/dist/assets/common-B74Sb4iG-Ba1Dna3Q.js +1 -0
- package/dist/assets/{commonDimensions-u85vL09f-Dok7ubZx.js → commonDimensions-_Dpm4Anv-BHT-EeW2.js} +1 -1
- package/dist/assets/{commonTypes-DKKiPW4t-GTA9duos.js → commonTypes-C64XobC6-BTobasZR.js} +1 -1
- package/dist/assets/{core-B0nKoasK.js → core-oEkj6b51.js} +1 -1
- package/dist/assets/{dash.all.min-CXMi5GlA.js → dash.all.min-DZu0W7MW.js} +1 -1
- package/dist/assets/{decodeURIComponentSafe-CHDtTf3Z.js → decodeURIComponentSafe-AFO0vA4L.js} +1 -1
- package/dist/assets/{dnd-NNN-4w0O.js → dnd-DwLm2ZWc.js} +1 -1
- package/dist/assets/{dollar-round-D18u7nlm-CQw1tD8J.js → dollar-round-D18u7nlm-BxzwYsJa.js} +1 -1
- package/dist/assets/{downloadPdf-CnXPMbwm-BeGNFIUF.js → downloadPdf-BAZhe2iR-C4ju3Lqh.js} +1 -1
- package/dist/assets/{empty-DA-JSLu3.js → empty-CpgB6ACX.js} +1 -1
- package/dist/assets/{empty-CVZTZ-q9.js → empty-fwRWXj2G.js} +1 -1
- package/dist/assets/{epic-D0yDPv8O.js → epic-qeTSmk29.js} +1 -1
- package/dist/assets/{filter-cZIFUNvj-DAakc3sS.js → filter-cZIFUNvj-Cn5LR_-W.js} +1 -1
- package/dist/assets/{getLocaleForTenant-DXFDKgoB.js → getLocaleForTenant-DZi5Q22y.js} +1 -1
- package/dist/assets/{gift-box-Cmt9OgIZ-C6pLHK0s.js → gift-box-Cmt9OgIZ-CByaMYJG.js} +1 -1
- package/dist/assets/{graphic-no-data-l-DU4J8fDt-Dn4I-rOX.js → graphic-no-data-l-DU4J8fDt-bzI3_a8w.js} +1 -1
- package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-DO0fHtUP.js → graphic-no-data-net-burn-l-CzmycA0m-CaA33M1d.js} +1 -1
- package/dist/assets/{handshake-BPg58FML-C47iPdmd.js → handshake-BPg58FML-BxWewJRH.js} +1 -1
- package/dist/assets/{helper-C7sZs2qJ-DizQxyzI.js → helper-D3UIpXq7-DCH1HBMI.js} +1 -1
- package/dist/assets/{hyperlink-DQyCeXx2-BOSMM7uX.js → hyperlink-DQyCeXx2-Dt5l5kWs.js} +1 -1
- package/dist/assets/{index-CEBFS-eA.js → index-B5c5iTId.js} +1 -1
- package/dist/assets/{index-DrsMeyfs.js → index-BE_133so.js} +1 -1
- package/dist/assets/{index-DGfOhpD2.js → index-BHAcVHeH.js} +643 -641
- package/dist/assets/{index-CQJQXzZY.js → index-CjBlNHKF.js} +1 -1
- package/dist/assets/{index-BIjZljJR.js → index-Cpbn6-TN.js} +1 -1
- package/dist/assets/{index-zhMcpxMF.js → index-DRNExedw.js} +1 -1
- package/dist/assets/{lexical-Fl-AogKa.js → lexical-BLFyyXBr.js} +1 -1
- package/dist/assets/{liveblocks-DskTqGyX.js → liveblocks-Ia5FU_Xu.js} +1 -1
- package/dist/assets/{lottie-BzV8yd9z.js → lottie-DEK510sX.js} +1 -1
- package/dist/assets/mapLoadingInProgressToTreeNode-C_DjhqLk-Ct7OsbEi.js +1 -0
- package/dist/assets/{mapSectionWithAcOnlyToTreeNode-Okgefznu-141Bcx45.js → mapSectionWithAcOnlyToTreeNode-BLsSfpaF-B_J7hTEH.js} +1 -1
- package/dist/assets/mapSpacerToTreeNode-Dq4CasLR-BKZfs44u.js +1 -0
- package/dist/assets/mapTimeframeBalancesToTreeNode--FHVcIix-D7muHBWz.js +1 -0
- package/dist/assets/{mapTimeframeBalancesToTreeNode-sCX2cRnL-BGdAqCMz.js → mapTimeframeBalancesToTreeNode-BP0iF3Of-BZXMdjjY.js} +1 -1
- package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-ww9DgKFP-DI4Dtrg_.js → mapTimeframeHeaderLoadingInProgressToTreeNode-D45Dn747-DMQQGP6s.js} +1 -1
- package/dist/assets/{media-player-eLGyvMHZ.js → media-player-uto_Jl5G.js} +2 -2
- package/dist/assets/{money-2cg1MuG4-rv31fLm6.js → money-2cg1MuG4-BmcWx6In.js} +1 -1
- package/dist/assets/{mui-40xepic5.js → mui-Cni6P-fz.js} +1 -1
- package/dist/assets/{page-detail-CWX5S47F-BrbO3gtI.js → page-detail-CWX5S47F-B9qcUnuN.js} +1 -1
- package/dist/assets/{page-summary-D7_VQHwN-bNTaLAow.js → page-summary-D7_VQHwN-ZSqDN0WI.js} +1 -1
- package/dist/assets/{panelSelectedMixin-Cddsb26L-DgahycaC.js → panelSelectedMixin-Cddsb26L-BCo5ICo2.js} +1 -1
- package/dist/assets/{pathToGoBack-D0UTUGlT.js → pathToGoBack-BpMzEQ5A.js} +1 -1
- package/dist/assets/{pdf-A8jRKyoC.js → pdf-CTJ16aEe.js} +3 -3
- package/dist/assets/{pdf-lib-mQnebn-k.js → pdf-lib-BZoHbIry.js} +1 -1
- package/dist/assets/{plaid-cfgjTkr8.js → plaid-B2vW8NaN.js} +1 -1
- package/dist/assets/{pusher-1O2fsDZq.js → pusher-DFtcQaPW.js} +1 -1
- package/dist/assets/{radio-default-CiSgisfh-Cy5-Jl8l.js → radio-default-CiSgisfh--JwnmKdf.js} +1 -1
- package/dist/assets/{react-BEctO-ia.js → react-B0u9lmTz.js} +1 -1
- package/dist/assets/{react-D8s_m7Vn.js → react-BxE_BeY2.js} +1 -1
- package/dist/assets/{react-QF7HiPHo.js → react-C70tWLg5.js} +1 -1
- package/dist/assets/{react-CidUU4N9.js → react-Cohr3oKl.js} +1 -1
- package/dist/assets/{react-DcRcFJEU.js → react-DKkpOD3_.js} +3 -3
- package/dist/assets/{react-C6o6ScF5.js → react-DZ1_qQub.js} +1 -1
- package/dist/assets/{react-BEcUyG01.js → react-cn6O__9s.js} +1 -1
- package/dist/assets/{react-CQm7lU_-.js → react-jjkPSe6Z.js} +1 -1
- package/dist/assets/{recharts-Bbdho9Pi.js → recharts-LlOU9oLm.js} +1 -1
- package/dist/assets/{routePaths-BLeuVRxM.js → routePaths-WWdcktge.js} +1 -1
- package/dist/assets/{sentry-COYnhuxW.js → sentry-CY6wsJT-.js} +1 -1
- package/dist/assets/{shield-DOlUxcFf-wVomU2ew.js → shield-DOlUxcFf-CGZqPLdL.js} +1 -1
- package/dist/assets/{spend-limit-D6SyboD4-BruIkKZj.js → spend-limit-D6SyboD4-DAZsY_K2.js} +1 -1
- package/dist/assets/toCOABalancesWithID-CuxwOBs0-D4IOrabU.js +1 -0
- package/dist/assets/{toChartData-DrYGpr_j--iS187kT.js → toChartData-BODe4y2V-CHAJ4Jnp.js} +1 -1
- package/dist/assets/{transaction-placeholder-CpOwZAMG-C-J0dsgn.js → transaction-placeholder-CpOwZAMG-B7lzeBRq.js} +1 -1
- package/dist/assets/{undo-b_3XZ5CX-Chu3klyO.js → undo-b_3XZ5CX-okXLDguZ.js} +1 -1
- package/dist/assets/{unlock-BPWn2I5L-BGatCFPm.js → unlock-BPWn2I5L-BcwMx3a4.js} +1 -1
- package/dist/assets/{upload-reimbursement-receipt-O2N8vcO7-GfUJ6f_w.js → upload-reimbursement-receipt-O2N8vcO7-BLqHMVJK.js} +1 -1
- package/dist/assets/{uploadAttachment-DPYv4udq-CAr5uueF.js → uploadAttachment-Dbumcc_g-LXlwbhth.js} +5 -5
- package/dist/assets/{uploadReceipts-CIgkuVpu-n8jIX4W3.js → uploadReceipts-CIgkuVpu-FU2oOS1s.js} +1 -1
- package/dist/assets/{url-XCmE-JaB.js → url-B5kkbwRv.js} +1 -1
- package/dist/assets/{url-C27bOf0k.js → url-Cv3aJ--T.js} +1 -1
- package/dist/assets/{useDeviceId-UXlBHXyB.js → useDeviceId-BWAR3Wtl.js} +1 -1
- package/dist/assets/{useInitialThreadRequest-CTgopLFd.js → useInitialThreadRequest-DTIHWJqF.js} +1 -1
- package/dist/assets/{useLongPress-GCK2COYQ-CqE4OIEm.js → useLongPress-GCK2COYQ-BX_5sahW.js} +1 -1
- package/dist/assets/{usp-line-BBd1wKwW-vz296XX2.js → usp-line-BBd1wKwW-CuU9mWQv.js} +1 -1
- package/dist/assets/{utils-DMEPgX6w.js → utils-ChLimP28.js} +1 -1
- package/dist/assets/{withTransactionSidePanel-CeydZjZz.js → withTransactionSidePanel-X05Jc0ej.js} +1 -1
- package/dist/assets/{zeni-epic-state-DCforPdM.js → zeni-epic-state-cFF_NqwA.js} +3 -3
- package/dist/assets/{zeni-icon-only-BkUYNged.js → zeni-icon-only-jOM3nMPU.js} +1 -1
- package/dist/index.html +1 -1
- package/package.json +2 -2
- package/dist/assets/ACHDetailsPage-DdI8Zlpr-CU5r-YKb.js +0 -21
- package/dist/assets/AccountInfoPage-D_PrQwlp-D0A6PrU_.js +0 -18
- package/dist/assets/AccountInfoPageContent-jLGn4-UA-kIJ8s7Ew.js +0 -149
- package/dist/assets/AddAddressForCardDrawer-Dd-0o1b--Buw-PM8c.js +0 -6
- package/dist/assets/BankAccountWarningSection-C_OfdR1O-DqmpDK5M.js +0 -51
- package/dist/assets/BusinessVerificationPage-DN88j0Rn-tyggZhAW.js +0 -138
- package/dist/assets/ConfettiBurst-Ix0vYpu--V0qDTo2i.js +0 -1
- package/dist/assets/CustomerOnboardingAuthScreen-HNUHcgaZ.js +0 -1
- package/dist/assets/CustomerOnboardingContainerPage-D4BMPshV-BzHwYekK.js +0 -1
- package/dist/assets/DashboardSidebarBackgroundAnimation-DPDd6e7b-D-b2dmJD.js +0 -12
- package/dist/assets/DepositAccTransactionListPage-DOuU7gGT-DQxZX56m.js +0 -66
- package/dist/assets/InsightsSection-CPg_uo3H-sqHV4Jbt.js +0 -27
- package/dist/assets/LabeledAddressValueField-D-AO8-Me-RVHqH4BW.js +0 -45
- package/dist/assets/MagicLinkACHDetailsPage-6iW79Hsc-B7gORwLD.js +0 -1
- package/dist/assets/MagicLinkDomesticWireDetailsPage-KPRoVnEc-zKiUFewj.js +0 -1
- package/dist/assets/MagicLinkInternationalWireDetailsPage-DjB2bi8k-T09uYnar.js +0 -1
- package/dist/assets/MagicLinkRoutes-L3uSUo92.js +0 -72
- package/dist/assets/MagicLinkSuccessPage-JRpuY47p-BJQ8JJMy.js +0 -31
- package/dist/assets/MyPendingActivationChargeCardListPage-DKvDUyn7-nlJboSN5.js +0 -6
- package/dist/assets/NotificationsListConfig-CWWrsRBB-DP_qJFN2.js +0 -1
- package/dist/assets/PerformanceRoutes-DANbUDFx.js +0 -1
- package/dist/assets/ReferralListScreen-DT2pRRPd.js +0 -5
- package/dist/assets/RewardsRoutes-CREYcycm.js +0 -1
- package/dist/assets/ScheduleSequenceTable-CPf50z9S-CEdOUEQo.js +0 -324
- package/dist/assets/SignOutScreen-C3YaFG0k.js +0 -9
- package/dist/assets/StatementItem-CDx2knrL-dHkYeLFR.js +0 -31
- package/dist/assets/SuccessAnimation-C-AHWH-M-CjU-MXUl.js +0 -13
- package/dist/assets/SummaryCard-4S9PQQ5W-CVgFdJR5.js +0 -1
- package/dist/assets/TaskRoutes-C0KjnkWn.js +0 -9
- package/dist/assets/TransactionListPage-CEVs8CRQ-QOKs_8cL.js +0 -35
- package/dist/assets/VendorACHDetailsPage-KDUuJi9g-BUZn0dFZ.js +0 -1
- package/dist/assets/VendorDomesticWireDetailsPage-Dotx5CDo-vU-waasU.js +0 -1
- package/dist/assets/VendorInternationalWireSwiftDetailsPage-BRtCcxHm-DZLoEOh0.js +0 -1
- package/dist/assets/VideoPlayer-2MQyZqi6-5nZYmejT.js +0 -77
- package/dist/assets/VideoPopup-ZFwt4A81-Dd9BK3DZ.js +0 -31
- package/dist/assets/WiseConfirmationScreen-DTEzHq7k.js +0 -12
- package/dist/assets/common-BGuhvMjF-tZRLj5XI.js +0 -1
- package/dist/assets/mapLoadingInProgressToTreeNode-CG-v5g2M-nbDI__7a.js +0 -1
- package/dist/assets/mapSpacerToTreeNode-Cehw-jOG-51sSC6Cr.js +0 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-yMo9FeMO-0qqS0Teo.js +0 -1
- package/dist/assets/toCOABalancesWithID-DinJUeg4-BB91BzEv.js +0 -1
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import{e as W,T as H,O as A,c8 as O,V as n,bR as V,bS as q,bT as F,A as U,a9 as J,x as s,eq as Q,ar as Y,o as G,m as t}from"./index-BHAcVHeH.js";import{a as h}from"./sentry-CY6wsJT-.js";import{n as l}from"./mui-Cni6P-fz.js";import{W as K,A as X}from"./BankAccountWarningSection-BQaoV2yQ-BLOJsai8.js";import{M as Z}from"./MagicLinkTitleSection-RYhrN820-BbeWYlVu.js";import{e as ee}from"./BankAccountSection-BUJoSOk8-BG4ByPDH.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new e.Error().stack;o&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[o]="6f270209-6bfd-41e1-9818-24860bc76a2a",e._sentryDebugIdIdentifier="sentry-dbid-6f270209-6bfd-41e1-9818-24860bc76a2a")}catch{}})();const a={paddingTopBottomContainer:new s(t[3],t[3]),paddingLeftContainer:new s(t[3],t[6]),paddingRightContainer:new s(t[3],t[8]),sectionTitleMarginLeft:new s(t[4],t[6]),sectionTitleMarginTop:new s(12,t[3]),buttonWidth:new s(140,140)},S="achDetailsPage",m="bankAccountSection",B=e=>`${e}_form`,be=({bankAccountCreationState:e,bankAccountToCreate:o,fetchBankNameByRoutingStatus:b,isDisabled:y,style:N,onSaveHandler:v,onBackClick:f,onACHDetailsUpdated:D,onFetchBankName:j,isMagicLink:d,companyName:z,currencySymbol:R,amount:$,bankAccountContext:I})=>{const r=W(),i=H({mode:"onBlur",reValidateMode:"onChange",defaultValues:h.useMemo(()=>ne(o),[o])}),[L,u]=h.useState(!1),c=A.getLocalizedStrings().spendManagement.billPay.vendorCreation,P=A.getLocalizedStrings().common.footer,{achDetails:k,bankAccountCommon:g}=c,M={onOkClick:()=>{u(!1),i.reset(),f?.()},onCancelClick:()=>{u(!1)}};h.useEffect(()=>{const x=i.watch((C,{name:T})=>{T!=null&&C!=null&&O(()=>(async(E,w)=>{const p=w[m].bankRoutingNumber;D(w),E===`${m}.bankRoutingNumber`&&p?.length===9&&Q.test(p)===!0&&j?.(p)})(T,C))});return()=>{x.unsubscribe()}});const _=i.handleSubmit(x=>{b.fetchState!=="In-Progress"&&v("ach")});return n.jsxs(ae,{children:[n.jsxs(ie,{style:N,size:r,children:[L===!0?n.jsx(V,{titleComponent:n.jsx(F,{children:c.discardTitle}),descriptionComponent:n.jsx(q,{children:c.discardDescription}),primaryButtonText:c.discard,secondaryButtonText:c.cancel,action:M}):null,n.jsx(K,{header:d?n.jsx(Z,{companyName:z??"",currencySymbol:R??"",amount:$??0}):k.addACHDetails,isMagicLink:d,isDirty:i.formState.isDirty,onBackClick:f,setShowConfirmationPopup:u}),e?.fetchState==="Error"&&e.error?.code===409?n.jsx(X,{warningText:g.accountExistWarning}):null,I==="express-pay"?null:n.jsx(oe,{size:r,children:k.title}),n.jsx(se,{children:n.jsx(U,{...i,children:n.jsx("form",{id:B(S),onSubmit:_,children:n.jsx(te,{size:r,children:n.jsx(ee,{bankAccountToCreate:o,fetchBankNameByRoutingStatus:b,sectionId:m,isDisabled:y})})})})})]}),n.jsx(J,{formId:B(S),primaryBtn:{label:d?g.submitDetails:g.saveAccount,isLoading:e.fetchState==="In-Progress",style:{width:a.buttonWidth.value(r)},isDisabled:y!=null},showCancel:!d,cancelBtn:{label:P.cancel,style:{width:a.buttonWidth.value(r)},shouldResetOnCancel:!1,onClick:()=>{i.formState.isDirty?u(!0):(i.reset(),f?.())}}})]})},ne=e=>({[m]:{bankRoutingNumber:e?.bankRoutingNumber,bankName:e?.bankName,bankAccountNumber:e?.bankAccountNumber,confirmedBankAccountNumber:e?.confirmedBankAccountNumber,bankAccountName:e?.bankAccountName,bankAccountType:e?.bankAccountType}}),te=l.div`
|
|
2
|
+
padding-left: ${e=>a.paddingLeftContainer.valuePx(e.size)};
|
|
3
|
+
padding-right: ${e=>a.paddingRightContainer.valuePx(e.size)};
|
|
4
|
+
padding-top: ${e=>a.paddingTopBottomContainer.valuePx(e.size)};
|
|
5
|
+
padding-bottom: ${e=>a.paddingTopBottomContainer.valuePx(e.size)};
|
|
6
|
+
`,ae=l.div`
|
|
7
|
+
display: flex;
|
|
8
|
+
flex-direction: column;
|
|
9
|
+
width: 100%;
|
|
10
|
+
height: 100%;
|
|
11
|
+
`,ie=l.div`
|
|
12
|
+
display: flex;
|
|
13
|
+
flex-direction: column;
|
|
14
|
+
flex-grow: 1;
|
|
15
|
+
`,oe=l(Y)`
|
|
16
|
+
color: ${e=>e.theme.colors.champion};
|
|
17
|
+
margin-left: ${e=>a.sectionTitleMarginLeft.valuePx(e.size)};
|
|
18
|
+
margin-top: ${e=>a.sectionTitleMarginTop.valuePx(e.size)};
|
|
19
|
+
`,se=l.div`
|
|
20
|
+
margin-top: ${G.sp5};
|
|
21
|
+
`;export{be as f};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{x as k,h as y1,e as y,O as j,bF as j1,V as C,bn as $1,o as r,
|
|
1
|
+
import{x as k,h as y1,e as y,O as j,bF as j1,V as C,bn as $1,o as r,b as v1,w as D,bI as b1,iX as V,m as n,bg as f,bO as h1,f as c,N as S1,an as p1,y as m1,iY as g,C as x,iZ as Z1,i_ as B1,q as S,c2 as Y,ar as J,H as F1,fx as W1,bH as u1,l as _1}from"./index-BHAcVHeH.js";import{a as e}from"./sentry-CY6wsJT-.js";import{n as o,c as D1,k as H1}from"./mui-Cni6P-fz.js";import{GL as w,GM as e1,GN as F}from"./zeni-epic-state-cFF_NqwA.js";import{R as P1}from"./NavBarWithPicker-C6FiaLu5-BVvTIBUE.js";import{t as V1}from"./clock-CJkylEKt-CBVPxBka.js";import{o as T1}from"./dollar-round-D18u7nlm-BxzwYsJa.js";import{N as k1,X as x1,Y as I,E as z1,F as O1,O as t1}from"./recharts-LlOU9oLm.js";import"./pdf-CTJ16aEe.js";import"./core-oEkj6b51.js";import"./lottie-DEK510sX.js";import"./liveblocks-Ia5FU_Xu.js";import"./dnd-DwLm2ZWc.js";import"./analytics-Ci5SIN4_.js";import"./plaid-B2vW8NaN.js";import"./utils-ChLimP28.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},a=new t.Error().stack;a&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[a]="5f7b1ca0-9d71-4b8f-aeb3-e7557a0daefc",t._sentryDebugIdIdentifier="sentry-dbid-5f7b1ca0-9d71-4b8f-aeb3-e7557a0daefc")}catch{}})();const C1={titleLoaderWidth:new k(200,200,300),subtitleLoaderWidth:new k(100,100,200)},G1=o.div`
|
|
2
2
|
width: 100%;
|
|
3
3
|
height: 100%;
|
|
4
4
|
border: 1px solid ${t=>t.theme.colors.grey3};
|
|
@@ -77,7 +77,7 @@ import{x as k,h as y1,e as y,O as j,bF as j1,V as C,bn as $1,o as r,P as v1,w as
|
|
|
77
77
|
padding-bottom: ${r.sp2};
|
|
78
78
|
border-bottom: 1px solid ${t=>t.theme.colors.grey3};
|
|
79
79
|
gap: ${r.sp2};
|
|
80
|
-
`,
|
|
80
|
+
`,T=o.div`
|
|
81
81
|
flex: 1;
|
|
82
82
|
white-space: nowrap;
|
|
83
83
|
overflow: hidden;
|
|
@@ -100,17 +100,17 @@ import{x as k,h as y1,e as y,O as j,bF as j1,V as C,bn as $1,o as r,P as v1,w as
|
|
|
100
100
|
text-overflow: ellipsis;
|
|
101
101
|
`,o1=o(_1)`
|
|
102
102
|
color: ${t=>t.theme.colors.hero};
|
|
103
|
-
`,n2=t=>{const a=parseInt(t),s=Math.floor(a/60),i=a%60;if(s===0)return i<15?`${i}m`:15*Math.round(i/15)+"m";if(i<15)return i===0?`${s}h`:`${s}h ${i}m`;const d=15*Math.round(a/15),h=Math.floor(d/60),l=d%60;return l===0?`${h}h`:`${h}h ${l}m`};function a2({taskName:t,taskCount:a,timeSavedMinutes:s,costSaved:i,currency:d}){const h=y();return C.jsxs(r2,{windowSize:h,children:[C.jsxs(
|
|
103
|
+
`,n2=t=>{const a=parseInt(t),s=Math.floor(a/60),i=a%60;if(s===0)return i<15?`${i}m`:15*Math.round(i/15)+"m";if(i<15)return i===0?`${s}h`:`${s}h ${i}m`;const d=15*Math.round(a/15),h=Math.floor(d/60),l=d%60;return l===0?`${h}h`:`${h}h ${l}m`};function a2({taskName:t,taskCount:a,timeSavedMinutes:s,costSaved:i,currency:d}){const h=y();return C.jsxs(r2,{windowSize:h,children:[C.jsxs(T,{style:{flex:2},children:[C.jsx(o2,{windowSize:h,children:Number(a.toFixed()).toLocaleString()}),C.jsx(i2,{style:{margin:`0 ${r.sp2}`},children:t})]}),C.jsx(T,{children:C.jsx(o1,{children:n2(s.toString())})}),C.jsx(T,{children:C.jsxs(o1,{children:[d.currencySymbol,Number(i.toFixed()).toLocaleString()]})})]})}const s2={headerPaddingLeft:new k(0,0,n[9],n[9],n[9])},l2=o.div`
|
|
104
104
|
display: flex;
|
|
105
105
|
flex-direction: row;
|
|
106
106
|
padding-left: ${t=>s2.headerPaddingLeft.valuePx(t.windowSize)};
|
|
107
107
|
padding-bottom: ${r.sp3};
|
|
108
108
|
gap: ${r.sp2};
|
|
109
|
-
`,
|
|
109
|
+
`,z=o(W1)`
|
|
110
110
|
flex: 1;
|
|
111
111
|
color: ${t=>t.theme.colors.hero};
|
|
112
112
|
text-transform: none;
|
|
113
|
-
`;function d2(){const t=y(),{aiPerformanceDashboard:a}=j.getLocalizedStrings();return C.jsxs(l2,{windowSize:t,children:[C.jsx(
|
|
113
|
+
`;function d2(){const t=y(),{aiPerformanceDashboard:a}=j.getLocalizedStrings();return C.jsxs(l2,{windowSize:t,children:[C.jsx(z,{style:{flex:2},children:a.workflows}),C.jsx(z,{children:a.aiTimeSavedTile.title}),C.jsx(z,{children:a.aiCostSavedTile.title})]})}const c2=o.div`
|
|
114
114
|
display: flex;
|
|
115
115
|
flex-direction: column;
|
|
116
116
|
gap: ${r.sp4};
|
|
@@ -225,7 +225,7 @@ import{x as k,h as y1,e as y,O as j,bF as j1,V as C,bn as $1,o as r,P as v1,w as
|
|
|
225
225
|
`,G=o(Y)`
|
|
226
226
|
color: ${t=>t.theme.colors.primary};
|
|
227
227
|
gap: ${r.sp2};
|
|
228
|
-
`,H2=o(
|
|
228
|
+
`,H2=o(T1)`
|
|
229
229
|
width: ${r.sp3};
|
|
230
230
|
height: ${r.sp3};
|
|
231
231
|
color: ${t=>t.theme.colors.brandColorOnyx};
|
|
@@ -241,7 +241,7 @@ import{x as k,h as y1,e as y,O as j,bF as j1,V as C,bn as $1,o as r,P as v1,w as
|
|
|
241
241
|
border: 1px solid ${t=>t.theme.colors.grey3};
|
|
242
242
|
box-shadow: ${c.Elevation1Light};
|
|
243
243
|
min-width: ${t=>t.windowSize==="small"?"300px":"auto"};
|
|
244
|
-
`,
|
|
244
|
+
`,T2=o.div`
|
|
245
245
|
display: flex;
|
|
246
246
|
flex-direction: ${t=>t.windowSize==="small"?"column":"row"};
|
|
247
247
|
gap: ${t=>U.tileContainerGap.valuePx(t.windowSize)};
|
|
@@ -250,7 +250,7 @@ import{x as k,h as y1,e as y,O as j,bF as j1,V as C,bn as $1,o as r,P as v1,w as
|
|
|
250
250
|
position: relative;
|
|
251
251
|
background-color: #e0f2fe;
|
|
252
252
|
height: 100%;
|
|
253
|
-
`,
|
|
253
|
+
`,z2=o.div``,n1=o.div``,O2=o.div`
|
|
254
254
|
display: flex;
|
|
255
255
|
flex-direction: column;
|
|
256
256
|
gap: ${r.sp1};
|
|
@@ -288,7 +288,7 @@ import{x as k,h as y1,e as y,O as j,bF as j1,V as C,bn as $1,o as r,P as v1,w as
|
|
|
288
288
|
width: ${r.sp4};
|
|
289
289
|
height: ${r.sp4};
|
|
290
290
|
color: ${t=>t.theme.colors.brandColorOnyx};
|
|
291
|
-
`;function Y2({performanceSummary:t,currency:a,isPerformanceReportNotFound:s}){const{common:i,aiPerformanceDashboard:d}=j.getLocalizedStrings(),h=y(),l=Z1(t.forecastAnnualSavings.timeSavedMinutes).toFixed(),p=B1(t.forecastAnnualSavings.timeSavedMinutes).toFixed();return C.jsx(V2,{windowSize:h,children:C.jsxs(
|
|
291
|
+
`;function Y2({performanceSummary:t,currency:a,isPerformanceReportNotFound:s}){const{common:i,aiPerformanceDashboard:d}=j.getLocalizedStrings(),h=y(),l=Z1(t.forecastAnnualSavings.timeSavedMinutes).toFixed(),p=B1(t.forecastAnnualSavings.timeSavedMinutes).toFixed();return C.jsx(V2,{windowSize:h,children:C.jsxs(T2,{windowSize:h,children:[C.jsx(R2,{children:C.jsx(K2,{})}),C.jsxs(z2,{children:[C.jsxs(O2,{children:[C.jsx(G2,{children:d.annualizedImpact.title}),C.jsx(N2,{children:d.annualizedImpact.subtitle})]}),C.jsxs(A2,{isPerformanceReportNotFound:s,windowSize:h,children:[C.jsxs(n1,{children:[C.jsx(x,{style:{color:c.graphColor16Dark},children:d.aiTimeSavedTile.title}),s?C.jsx(W,{children:i.strings.hyphen}):C.jsxs(I2,{children:[C.jsxs(W,{children:[Number((u=t.forecastAnnualSavings.timeSavedMinutes,Math.round(u/60)).toFixed()).toLocaleString()," "]}),C.jsxs(U2,{children:[i.timeStrings.hours,i.strings.space,Number(l)<=1?C.jsxs(C.Fragment,{children:[i.strings.openingBrace,Number(p).toLocaleString(),i.strings.space,Number(p)>1?i.timeStrings.days:i.timeStrings.day,i.strings.closingBrace]}):C.jsxs(C.Fragment,{children:[i.strings.openingBrace,Number(l).toLocaleString(),i.strings.space,Number(l)<2?i.timeStrings.week:i.timeStrings.weeks,i.strings.closingBrace]})]})]})]}),C.jsxs(n1,{children:[C.jsx(x,{style:{color:c.graphColor16Dark},children:d.aiCostSavedTile.title}),s?C.jsx(W,{children:i.strings.hyphen}):C.jsxs(W,{children:[a.currencySymbol,Number(t.forecastAnnualSavings.costSaved.toFixed()).toLocaleString()]})]})]})]})]})});var u}const J2=o.div`
|
|
292
292
|
display: flex;
|
|
293
293
|
flex-direction: column;
|
|
294
294
|
background-color: ${t=>t.theme.colors.grey5};
|
|
@@ -411,7 +411,7 @@ import{x as k,h as y1,e as y,O as j,bF as j1,V as C,bn as $1,o as r,P as v1,w as
|
|
|
411
411
|
border-radius: 2px;
|
|
412
412
|
`,l1=o(F1)`
|
|
413
413
|
color: ${t=>t.color};
|
|
414
|
-
`,M3=({active:t,payload:a})=>{const s=m1();return t&&a&&a.length>0?C.jsx(p3,{children:a.map((i,d)=>{const h=i.name==="costSaved"?"Cost Saved":i.name==="timeSavedInHours"?"Time Saved":i.name,l=i.name==="costSaved"?`$${Math.round(i.value??0).toLocaleString()}`:i.name==="timeSavedInHours"?`${Math.round(i.value??0).toLocaleString()} hours`:i.value;return C.jsxs(m3,{style:i.name==="costSaved"?{color:s.colors.brandColorGold}:{color:s.colors.graphColor17},children:[C.jsx(u3,{children:h}),C.jsx(k3,{children:l})]},`tooltip-${d}`)})}):null};function y3({performanceTimeSeries:t}){const a=m1(),s=y(),{aiPerformanceDashboard:i}=j.getLocalizedStrings();return C.jsxs(x3,{children:[C.jsx(g3,{windowSize:s,children:C.jsx(f3,{children:i.chartTitle})}),C.jsxs(L3,{children:[C.jsx(E3,{children:C.jsx(p1,{children:({width:d,height:h})=>C.jsxs(k1,{width:d,height:h,data:t,margin:{top:6,right:6,left:6,bottom:6},children:[C.jsxs("defs",{children:[C.jsxs("linearGradient",{id:"colorCost",x1:"0",y1:"0",x2:"0",y2:"1",children:[C.jsx("stop",{offset:"5%",stopColor:c.brandColorGoldLight,stopOpacity:.7}),C.jsx("stop",{offset:"95%",stopColor:c.brandColorGoldLight,stopOpacity:0})]}),C.jsxs("linearGradient",{id:"colorTime",x1:"0",y1:"0",x2:"0",y2:"1",children:[C.jsx("stop",{offset:"5%",stopColor:c.graphColor16Dark,stopOpacity:.25}),C.jsx("stop",{offset:"95%",stopColor:c.graphColor16Dark,stopOpacity:0})]})]}),C.jsx(
|
|
414
|
+
`,M3=({active:t,payload:a})=>{const s=m1();return t&&a&&a.length>0?C.jsx(p3,{children:a.map((i,d)=>{const h=i.name==="costSaved"?"Cost Saved":i.name==="timeSavedInHours"?"Time Saved":i.name,l=i.name==="costSaved"?`$${Math.round(i.value??0).toLocaleString()}`:i.name==="timeSavedInHours"?`${Math.round(i.value??0).toLocaleString()} hours`:i.value;return C.jsxs(m3,{style:i.name==="costSaved"?{color:s.colors.brandColorGold}:{color:s.colors.graphColor17},children:[C.jsx(u3,{children:h}),C.jsx(k3,{children:l})]},`tooltip-${d}`)})}):null};function y3({performanceTimeSeries:t}){const a=m1(),s=y(),{aiPerformanceDashboard:i}=j.getLocalizedStrings();return C.jsxs(x3,{children:[C.jsx(g3,{windowSize:s,children:C.jsx(f3,{children:i.chartTitle})}),C.jsxs(L3,{children:[C.jsx(E3,{children:C.jsx(p1,{children:({width:d,height:h})=>C.jsxs(k1,{width:d,height:h,data:t,margin:{top:6,right:6,left:6,bottom:6},children:[C.jsxs("defs",{children:[C.jsxs("linearGradient",{id:"colorCost",x1:"0",y1:"0",x2:"0",y2:"1",children:[C.jsx("stop",{offset:"5%",stopColor:c.brandColorGoldLight,stopOpacity:.7}),C.jsx("stop",{offset:"95%",stopColor:c.brandColorGoldLight,stopOpacity:0})]}),C.jsxs("linearGradient",{id:"colorTime",x1:"0",y1:"0",x2:"0",y2:"1",children:[C.jsx("stop",{offset:"5%",stopColor:c.graphColor16Dark,stopOpacity:.25}),C.jsx("stop",{offset:"95%",stopColor:c.graphColor16Dark,stopOpacity:0})]})]}),C.jsx(z1,{horizontal:!1,vertical:!1}),C.jsx(x1,{dataKey:"month",tickFormatter:l=>{const[p,u]=l.split("-");return new Date(Number(p),Number(u)-1).toLocaleString("en-US",{month:"short",year:"2-digit"})},tickLine:!1,axisLine:{stroke:a.colors.grey2,strokeWidth:1},tick:{fill:a.colors.hero,...D.extraSmallRegular.cssObject},interval:"preserveStartEnd"}),C.jsx(I,{yAxisId:"left",orientation:"left",hide:!0,domain:[0,"dataMax"]}),C.jsx(I,{yAxisId:"right",orientation:"right",hide:!0,domain:[0,l=>1.2*l]}),C.jsx(O1,{cursor:{stroke:a.colors.primary,strokeDasharray:5},content:C.jsx(M3,{})}),C.jsx(t1,{yAxisId:"left",type:"monotone",dataKey:"costSaved",stroke:c.brandColorGold,fillOpacity:1,fill:"url(#colorCost)",strokeWidth:2,activeDot:{r:4,fill:c.neutralGrey5Light,stroke:c.brandColorGold,strokeWidth:2}}),C.jsx(t1,{yAxisId:"right",type:"monotone",dataKey:"timeSavedInHours",stroke:c.graphColor16Dark,fillOpacity:1,fill:"url(#colorTime)",strokeWidth:2,activeDot:{r:4,fill:c.neutralGrey5Light,stroke:c.graphColor16Dark,strokeWidth:2}})]})})}),C.jsxs(w3,{children:[C.jsxs(a1,{children:[C.jsx(s1,{color:c.brandColorGoldDark}),C.jsx(l1,{color:c.brandColorGoldDark,children:i.aiCostSavedTile.title})]}),C.jsxs(a1,{children:[C.jsx(s1,{color:c.graphColor16Dark}),C.jsx(l1,{color:c.graphColor16Dark,children:i.aiTimeSavedTile.title})]})]})]})]})}const K={amountRowMarginTop:new k(n[3],n[3],n[5]),amountRowGap:new k(n[2],n[2],n[4]),tileContainerGap:new k(n[2],n[4],n[4])},j3=o.div`
|
|
415
415
|
border-radius: 10px;
|
|
416
416
|
padding: 3px;
|
|
417
417
|
background-color: ${t=>t.theme.colors.grey5};
|
|
@@ -489,7 +489,7 @@ import{x as k,h as y1,e as y,O as j,bF as j1,V as C,bn as $1,o as r,P as v1,w as
|
|
|
489
489
|
background-color: ${t=>t.theme.colors.grey4};
|
|
490
490
|
`,V3=o.div`
|
|
491
491
|
padding: 0 ${t=>_.containerPadding.valuePx(t.windowSize)};
|
|
492
|
-
`,
|
|
492
|
+
`,T3=o.div`
|
|
493
493
|
display: flex;
|
|
494
494
|
justify-content: space-between;
|
|
495
495
|
flex-wrap: wrap;
|
|
@@ -499,7 +499,7 @@ import{x as k,h as y1,e as y,O as j,bF as j1,V as C,bn as $1,o as r,P as v1,w as
|
|
|
499
499
|
display: flex;
|
|
500
500
|
align-items: center;
|
|
501
501
|
margin: ${r.sp3} 0;
|
|
502
|
-
`,
|
|
502
|
+
`,z3=o.div`
|
|
503
503
|
display: flex;
|
|
504
504
|
flex-wrap: wrap;
|
|
505
505
|
gap: ${r.sp3};
|
|
@@ -536,4 +536,4 @@ import{x as k,h as y1,e as y,O as j,bF as j1,V as C,bn as $1,o as r,P as v1,w as
|
|
|
536
536
|
&:hover {
|
|
537
537
|
color: ${t=>t.theme.colors.primary};
|
|
538
538
|
}
|
|
539
|
-
`,I3=(t,a)=>t===a?`(${V(t)})`:`(${V(t)} - ${V(a)})`;function l4({aggregatedReport:t,onBackClick:a,onReload:s,onTimeRangeSelect:i,onClickMenuIcon:d}){const h=y1().analytics,l=y(),{common:p}=j.getLocalizedStrings(),[u,$]=e.useState(!1),[L,v]=e.useState(null),H=[...e1],M=e1[1],[P,X]=e.useState(w(M)),[Z,q]=e.useState(M),[g1,f1]=e.useState(!1);j1({componentName:"aiPerformance",enabled:t.fetchState==="Completed"});const b=t.fetchState==="Not-Started"||t.fetchState==="In-Progress",E=t.fetchState==="Error",L1=m=>m.flatMap(M1=>M1.eventGroups.map(B=>({event_name:B.eventName,events_count:B.eventsCount,time_saved_in_minutes:B.timeSavedInMinutes,total_cost_saved:B.totalCostSaved})));e.useEffect(()=>{v("home"),i(w(Z).fromMonth,w(Z).toMonth)},[]),e.useEffect(()=>{if(t.fetchState==="Completed"&&L){const m={period_selected:Z,cost_saved:t.summary.totalCostSaved,time_saved:t.summary.totalTimeSavedMinutes,task_performed:L1(t.personas)};L==="home"?h.trackAIPerfHome(m):L==="refresh"?h.trackAIPerfRefresh(m):L==="timePeriodSelect"&&h.trackAIPerfTimePeriodSelect(m),v(null)}},[t.fetchState,L]),e.useEffect(()=>{const m=()=>{f1(window.scrollY>0)};return window.addEventListener("scroll",m),m(),()=>{window.removeEventListener("scroll",m)}},[]);const E1=C.jsx(N3,{"data-testid":`${v1("ai-performance-page","refresh-icon")}`,onClick:()=>{$(!0),v("refresh"),s(w(M).fromMonth,w(M).toMonth),q(M),X(w(M))},children:C.jsx($1,{style:{marginTop:r.sp1},placement:"bottom",title:p.texts.refresh,enterDelay:600,children:C.jsx(A3,{spinning:b&&u})})}),w1={backgroundColor:"transparent",picker:{backgroundColor:"transparent",pickerValues:H,valueToLabel:m=>m,selectedValue:`${Z} ${I3(P.fromMonth,P.toMonth)}`,titleTextStyle:D.largeMedium,onPickerSelectionChanged:m=>{m!=null&&(v("timePeriodSelect"),q(F(m)),X(w(F(m))),i(w(F(m)).fromMonth,w(F(m)).toMonth))},styles:{justifyContent:l==="small"?"left":"center"},isPickerDisabled:!1},onBackClick:a,showMenuIcon:l==="medium-compact"||l==="small",onClickMenuIcon:d,rightSideComponent:E1},Q=Number.parseFloat((t?.summary?.totalTimeSavedMinutes/60).toFixed());return C.jsxs(P3,{children:[C.jsx(H3,{isScrolled:g1,windowSize:l,paddingLeft:_.contentPaddingLeft.value(l),paddingRight:_.contentPaddingRight.value(l),children:C.jsx(P1,{...w1})}),C.jsxs(V3,{windowSize:l,children:[C.jsxs(
|
|
539
|
+
`,I3=(t,a)=>t===a?`(${V(t)})`:`(${V(t)} - ${V(a)})`;function l4({aggregatedReport:t,onBackClick:a,onReload:s,onTimeRangeSelect:i,onClickMenuIcon:d}){const h=y1().analytics,l=y(),{common:p}=j.getLocalizedStrings(),[u,$]=e.useState(!1),[L,v]=e.useState(null),H=[...e1],M=e1[1],[P,X]=e.useState(w(M)),[Z,q]=e.useState(M),[g1,f1]=e.useState(!1);j1({componentName:"aiPerformance",enabled:t.fetchState==="Completed"});const b=t.fetchState==="Not-Started"||t.fetchState==="In-Progress",E=t.fetchState==="Error",L1=m=>m.flatMap(M1=>M1.eventGroups.map(B=>({event_name:B.eventName,events_count:B.eventsCount,time_saved_in_minutes:B.timeSavedInMinutes,total_cost_saved:B.totalCostSaved})));e.useEffect(()=>{v("home"),i(w(Z).fromMonth,w(Z).toMonth)},[]),e.useEffect(()=>{if(t.fetchState==="Completed"&&L){const m={period_selected:Z,cost_saved:t.summary.totalCostSaved,time_saved:t.summary.totalTimeSavedMinutes,task_performed:L1(t.personas)};L==="home"?h.trackAIPerfHome(m):L==="refresh"?h.trackAIPerfRefresh(m):L==="timePeriodSelect"&&h.trackAIPerfTimePeriodSelect(m),v(null)}},[t.fetchState,L]),e.useEffect(()=>{const m=()=>{f1(window.scrollY>0)};return window.addEventListener("scroll",m),m(),()=>{window.removeEventListener("scroll",m)}},[]);const E1=C.jsx(N3,{"data-testid":`${v1("ai-performance-page","refresh-icon")}`,onClick:()=>{$(!0),v("refresh"),s(w(M).fromMonth,w(M).toMonth),q(M),X(w(M))},children:C.jsx($1,{style:{marginTop:r.sp1},placement:"bottom",title:p.texts.refresh,enterDelay:600,children:C.jsx(A3,{spinning:b&&u})})}),w1={backgroundColor:"transparent",picker:{backgroundColor:"transparent",pickerValues:H,valueToLabel:m=>m,selectedValue:`${Z} ${I3(P.fromMonth,P.toMonth)}`,titleTextStyle:D.largeMedium,onPickerSelectionChanged:m=>{m!=null&&(v("timePeriodSelect"),q(F(m)),X(w(F(m))),i(w(F(m)).fromMonth,w(F(m)).toMonth))},styles:{justifyContent:l==="small"?"left":"center"},isPickerDisabled:!1},onBackClick:a,showMenuIcon:l==="medium-compact"||l==="small",onClickMenuIcon:d,rightSideComponent:E1},Q=Number.parseFloat((t?.summary?.totalTimeSavedMinutes/60).toFixed());return C.jsxs(P3,{children:[C.jsx(H3,{isScrolled:g1,windowSize:l,paddingLeft:_.contentPaddingLeft.value(l),paddingRight:_.contentPaddingRight.value(l),children:C.jsx(P1,{...w1})}),C.jsxs(V3,{windowSize:l,children:[C.jsxs(T3,{windowSize:l,children:[C.jsxs(O3,{windowSize:l,children:[b?C.jsx(r1,{customStyle:{margin:`0 0 ${r.sp3} 0`}}):C.jsx(i1,{type:"cost",value:E?`${p.strings.hyphen}`:Number(t.summary?.totalCostSaved.toFixed()).toLocaleString(),currency:t.currency,style:{margin:`0 0 ${r.sp3} 0`},noData:E}),b?C.jsx(r1,{customStyle:{margin:"0"}}):C.jsx(i1,{type:"time",value:E?`${p.strings.hyphen}`:t.summary?.totalTimeSavedMinutes<60?Number(t.summary?.totalTimeSavedMinutes).toFixed().toLocaleString():Q.toLocaleString(),currency:t.currency,noData:E,timeUnit:E?"":t.summary?.totalTimeSavedMinutes<60?t.summary?.totalTimeSavedMinutes>1?p.timeStrings.minutes:p.timeStrings.minute:Q>1?p.timeStrings.hours:p.timeStrings.hour})]}),C.jsx(G3,{windowSize:l,children:b?C.jsx(A1,{customStyle:{margin:`0 0 ${r.sp3} 0`}}):E?C.jsx(c3,{selectedTimeSeries:P}):C.jsx(y3,{performanceTimeSeries:t.monthlySummary})})]}),b?C.jsx(c1,{windowSize:l,children:C.jsx(t2,{})}):C.jsxs(C.Fragment,{children:[C.jsx(c1,{windowSize:l,children:E||t.personas.length===0?C.jsx(r3,{}):C.jsx(v2,{personas:t.personas,currency:t.currency})}),C.jsxs(z3,{windowSize:l,children:[C.jsx(_3,{performanceSummary:t.summary,currency:t.currency,isPerformanceReportNotFound:E}),C.jsx(Y2,{performanceSummary:t.summary,currency:t.currency,isPerformanceReportNotFound:E})]})]})]})]})}export{l4 as default,D3 as navBarHeight};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import{y as h,e as x,V as t,gd as y,o as r,x as d,h0 as b,m as i}from"./index-BHAcVHeH.js";import{a as D}from"./sentry-CY6wsJT-.js";import{n as o}from"./mui-Cni6P-fz.js";import{K as A}from"./StatusSwitcher-_Cs3CzJl-D1XlTHt5.js";import{r as P}from"./AccountInfoPageContent-Bj0kaRHv-CjMeZGo_.js";import"./pdf-CTJ16aEe.js";import"./zeni-epic-state-cFF_NqwA.js";import"./core-oEkj6b51.js";import"./lottie-DEK510sX.js";import"./liveblocks-Ia5FU_Xu.js";import"./recharts-LlOU9oLm.js";import"./dnd-DwLm2ZWc.js";import"./analytics-Ci5SIN4_.js";import"./plaid-B2vW8NaN.js";import"./utils-ChLimP28.js";import"./downloadPdf-BAZhe2iR-C4ju3Lqh.js";import"./commonDimensions-_Dpm4Anv-BHT-EeW2.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},n=new e.Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="071fd827-c45f-4677-9378-a118e91e85ce",e._sentryDebugIdIdentifier="sentry-dbid-071fd827-c45f-4677-9378-a118e91e85ce")}catch{}})();const s={pageTitleMarginXAxis:new d(i[4],i[8]),containerPaddingLeft:new d(i[3],i[6],i[8]),containerPaddingRight:new d(i[3],i[6],i[8])},G=({authParams:e,downloadAccountDetailEndPoint:n,depositAccount:a,zeniAccountsConfigDetail:f,currentTenant:g,onDismissClick:p})=>{const m=h(),c=x(),[l,u]=D.useState("achDetails");return t.jsxs(T,{children:[t.jsx(y,{title:"",backgroundColor:m.colors.grey4,style:{zIndex:4},isTitleAlignLeft:!0,onCloseClick:p}),t.jsx(j,{windowSize:c,children:a.accountName}),t.jsx(z,{children:t.jsx(A,{tabIds:["achDetails","wireDetails"],selectedTab:l,entity:"zeni_accounts",onTabSelectedChange:w=>{u(w)},isSwitcherLeftAlign:!0})}),t.jsx($,{windowSize:c,children:t.jsx(P,{authParams:e,downloadAccountDetailEndPoint:n,currentTab:l,zeniAccountsConfigDetail:f,currentTenant:g,depositAccount:a})})]})},$=o.div`
|
|
2
|
+
padding-left: ${e=>`${s.containerPaddingLeft.valuePx(e.windowSize)}`};
|
|
3
|
+
padding-right: ${e=>`${s.containerPaddingRight.valuePx(e.windowSize)}`};
|
|
4
|
+
`,T=o.div`
|
|
5
|
+
display: flex;
|
|
6
|
+
flex-direction: column;
|
|
7
|
+
background-color: ${e=>e.theme.colors.grey4};
|
|
8
|
+
overflow-x: hidden;
|
|
9
|
+
height: 100%;
|
|
10
|
+
width: 100%;
|
|
11
|
+
`,j=o(b)`
|
|
12
|
+
color: ${e=>e.theme.colors.primary};
|
|
13
|
+
padding: ${r.sp3} ${r.sp0};
|
|
14
|
+
margin: ${e=>`${r.sp0} ${s.pageTitleMarginXAxis.valuePx(e.windowSize)} `};
|
|
15
|
+
`,z=o.div`
|
|
16
|
+
display: flex;
|
|
17
|
+
justify-content: flex-start;
|
|
18
|
+
`;export{G as default};
|
|
@@ -0,0 +1,149 @@
|
|
|
1
|
+
import{e as ke,gm as Ne,h1 as K,V as r,bn as L,L as we,b as z,o as a,ar as je,O as Ae,bx as Se,f as R,C as re,aA as Te,gq as ve,l as ae}from"./index-BHAcVHeH.js";import{a as n}from"./sentry-CY6wsJT-.js";import{n as t}from"./mui-Cni6P-fz.js";import{w as De}from"./downloadPdf-BAZhe2iR-C4ju3Lqh.js";import{o as Ce}from"./commonDimensions-_Dpm4Anv-BHT-EeW2.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},f=new e.Error().stack;f&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[f]="fa34e9ab-a501-45ec-99a7-d86fed80a9ed",e._sentryDebugIdIdentifier="sentry-dbid-fa34e9ab-a501-45ec-99a7-d86fed80a9ed")}catch{}})();const{common:{strings:Le,copyToClipBoard:g},spendManagement:{zeniAccounts:{zeniAccountDetail:Q},billPay:{vendorCreation:{achDetails:o}},downloads:W}}=Ae.getLocalizedStrings(),Xe=({authParams:e,downloadAccountDetailEndPoint:f,currentTab:m,depositAccount:s,zeniAccountsConfigDetail:u,currentTenant:k})=>{const oe=ke(),[,M]=Ne(),[N,te]=n.useState(!1),[ne,se]=n.useState(!1),[ie,ce]=n.useState(!1),[de,le]=n.useState(!1),[be,ue]=n.useState(!1),[pe,me]=n.useState(!1),[he,xe]=n.useState(!1),[ye,fe]=n.useState(!1),[h,P]=n.useState(!1),[w,q]=n.useState(!1),[j,O]=n.useState(!1),[A,B]=n.useState(!1),[S,G]=n.useState(!1),[T,H]=n.useState(!1),[v,J]=n.useState(!1),[$,U]=n.useState(!1),D=k?.company?.companyInfo.companyLegalName,C=K(u.zeniAccountsConfigDetail.mailingAddress).text2,p=K(u.zeniAccountsConfigDetail.bankAddress).text2;n.useEffect(()=>{(h||T||v||$||S||$||j||w||A)&&setTimeout(()=>{P(!1),H(!1),J(!1),U(!1),G(!1),B(!1),O(!1),q(!1)},1200)},[h,T,v,$,S,A,j,w]);const V=(x,i)=>{switch(x){case"accountType":se(i);break;case"acccountNumber":ce(i);break;case"routingNumber":le(i);break;case"bankName":ue(i);break;case"beneficiaryName":xe(i);break;case"beneficiaryAddress":me(i);break;case"bankAddress":fe(i)}},c=(x,i,y,F)=>{let l,d;switch(y){case"acccountNumber":l=ie,d=v;break;case"accountType":l=ne,d=T;break;case"bankName":l=be,d=S;break;case"beneficiaryName":l=he,d=w;break;case"beneficiaryAddress":l=pe,d=A;break;case"bankAddress":l=ye,d=j;break;default:l=de,d=$}return r.jsxs(Pe,{onMouseEnter:()=>V(y,!0),onMouseLeave:()=>V(y,!1),children:[r.jsx(qe,{children:x}),r.jsx(Be,{children:r.jsxs(Ge,{children:[r.jsxs(Oe,{children:[l||oe==="small"?r.jsx(_,{children:r.jsx(L,{display:"flex",placement:"left",title:r.jsx(I,{isTextCopied:d,children:d?g.copied:g.copy}),enterDelay:600,children:d===!0?r.jsx(ee,{}):r.jsx(Z,{"data-testid":z("account-info-copy",y),onClick:()=>{M(i),(()=>{switch(y){case"accountType":H(!0);break;case"acccountNumber":J(!0);break;case"routingNumber":U(!0);break;case"bankName":G(!0);break;case"beneficiaryName":q(!0);break;case"beneficiaryAddress":B(!0);break;case"bankAddress":O(!0)}})()}})})}):null,i]}),F!=null?r.jsx(He,{children:F}):null]})})]})},$e={detail_type:"account_details",deposit_account_id:s.id,company_name:k?.companyName??"",company_legal_name:k?.company?.companyInfo.companyLegalName??""},ge=`${f}?query=${encodeURIComponent(JSON.stringify($e))}`;return r.jsx(ze,{children:r.jsxs(_e,{children:[r.jsxs(Ie,{children:[r.jsx(Ee,{children:m==="achDetails"?Q.achTitle:Q.wireTitle}),r.jsxs(Re,{children:[r.jsx(_,{children:r.jsx(L,{display:"flex",placement:"left",title:r.jsx(I,{isTextCopied:N,children:N?W.downloading:W.download}),enterDelay:600,children:N===!0?r.jsx(we,{size:"Small",start:!0}):r.jsx(Me,{"data-testid":z("account-info-download-pdf"),onClick:()=>{De(ge,Le.empty,e,te,!0)}})})}),r.jsx(_,{children:r.jsx(L,{display:"flex",placement:"left",title:r.jsx(I,{isTextCopied:h,children:h?g.copied:g.copy}),enterDelay:600,children:h===!0?r.jsx(ee,{}):r.jsx(Z,{onClick:()=>(x=>{let i;i=x==="achDetails"?`${o.bankRoutingNumber} ${s.routingNumberAch}
|
|
2
|
+
|
|
3
|
+
${o.accountTypeLabel} ${s.accountSubType.name??""}
|
|
4
|
+
|
|
5
|
+
${o.bankAccountNumber} ${s.accountNumber}
|
|
6
|
+
|
|
7
|
+
${o.bankName} ${u.zeniAccountsConfigDetail.bankName}
|
|
8
|
+
|
|
9
|
+
${o.bankAddress} ${p}`:`${o.bankRoutingNumber} ${s.routingNumberAch}
|
|
10
|
+
|
|
11
|
+
${o.accountTypeLabel} ${s.accountSubType.name??""}
|
|
12
|
+
|
|
13
|
+
${o.bankAccountNumber} ${s.accountNumber}
|
|
14
|
+
|
|
15
|
+
${o.bankName} ${u.zeniAccountsConfigDetail.bankName}
|
|
16
|
+
|
|
17
|
+
${o.beneficiaryName} ${D}
|
|
18
|
+
|
|
19
|
+
${o.bankAddress} ${p}
|
|
20
|
+
|
|
21
|
+
${o.beneficiaryAddress} ${C}`,M(i),P(!0)})(m),"data-testid":z("title-text-copy")})})})]})]}),m==="achDetails"?r.jsxs(Je,{children:[r.jsx(X,{children:c(o.bankRoutingNumber,s.routingNumberAch,"routingNumber")}),r.jsx(b,{children:c(o.accountTypeLabel,s.accountSubType.name,"accountType")}),r.jsx(b,{children:c(o.bankAccountNumber,s.accountNumber,"acccountNumber")}),r.jsx(b,{children:c(o.bankName,u.zeniAccountsConfigDetail.bankName,"bankName")}),p!=null?r.jsx(Y,{children:c(o.bankAddress,p,"bankAddress")}):null]}):m==="wireDetails"?r.jsxs(Ue,{children:[r.jsx(X,{children:c(o.bankRoutingNumber,s.routingNumberAch,"routingNumber")}),r.jsx(b,{children:c(o.accountTypeLabel,s.accountSubType.name,"accountType")}),r.jsx(b,{children:c(o.bankAccountNumber,s.accountNumber,"acccountNumber")}),r.jsx(b,{children:c(o.bankName,u.zeniAccountsConfigDetail.bankName,"bankName")}),p!=null?r.jsx(b,{children:c(o.bankAddress,p,"bankAddress")}):null,D!=null?r.jsx(b,{children:c(o.beneficiaryName,D,"beneficiaryName",o.beneficiaryNameSubLabel)}):null,C!=null?r.jsx(Y,{children:c(o.beneficiaryAddress,C,"beneficiaryAddress",o.beneficiaryAddressSubLabel)}):null]}):null]})})},ze=t.div``,_e=t.div`
|
|
22
|
+
margin: ${a.sp4};
|
|
23
|
+
margin-left: ${a.sp0};
|
|
24
|
+
`,Ie=t.div`
|
|
25
|
+
display: flex;
|
|
26
|
+
align-items: center;
|
|
27
|
+
justify-content: space-between;
|
|
28
|
+
margin-bottom: ${a.sp3};
|
|
29
|
+
`,Re=t.div`
|
|
30
|
+
display: flex;
|
|
31
|
+
gap: ${a.sp4};
|
|
32
|
+
`,Ee=t(je)`
|
|
33
|
+
color: ${e=>e.theme.colors.primary};
|
|
34
|
+
margin-right: ${a.sp2};
|
|
35
|
+
`,Me=t(Se)`
|
|
36
|
+
height: ${a.sp3};
|
|
37
|
+
width: ${a.sp3};
|
|
38
|
+
color: ${e=>e.theme.colors.hero};
|
|
39
|
+
cursor: pointer;
|
|
40
|
+
&:hover {
|
|
41
|
+
color: ${e=>e.theme.colors.primary};
|
|
42
|
+
}
|
|
43
|
+
`,E=t.div`
|
|
44
|
+
box-sizing: border-box;
|
|
45
|
+
min-height: ${Ce.transactionItemHeight}px;
|
|
46
|
+
display: flex;
|
|
47
|
+
border: 1px solid;
|
|
48
|
+
border-radius: ${a.sp2};
|
|
49
|
+
background-color: ${e=>e.theme.colors.grey5};
|
|
50
|
+
border-color: ${e=>e.theme.colors.grey3};
|
|
51
|
+
color: ${e=>e.theme.colors.hero};
|
|
52
|
+
&:hover {
|
|
53
|
+
border-color: ${e=>e.theme.colors.primary};
|
|
54
|
+
color: ${e=>e.theme.colors.primary};
|
|
55
|
+
.tag {
|
|
56
|
+
border-color: ${e=>e.theme.colors.grey2};
|
|
57
|
+
color: ${e=>e.theme.colors.grey1};
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
`,X=t(E)`
|
|
61
|
+
box-shadow: ${e=>`${a.sp0} 2px ${a.sp1} ${e.theme.colors.dropShadowNormal}`};
|
|
62
|
+
display: flex;
|
|
63
|
+
border-top-width: 1px;
|
|
64
|
+
border-right-width: 1px;
|
|
65
|
+
border-bottom-width: 0.5px;
|
|
66
|
+
border-left-width: 1px;
|
|
67
|
+
|
|
68
|
+
border-top-left-radius: ${a.sp2};
|
|
69
|
+
border-top-right-radius: ${a.sp2};
|
|
70
|
+
border-bottom-left-radius: ${a.sp0};
|
|
71
|
+
border-bottom-right-radius: ${a.sp0};
|
|
72
|
+
&:hover {
|
|
73
|
+
border-bottom-width: 1px;
|
|
74
|
+
}
|
|
75
|
+
`,Y=t(E)`
|
|
76
|
+
box-shadow: ${e=>`${a.sp0} 2px ${a.sp1} ${e.theme.colors.dropShadowNormal}`};
|
|
77
|
+
display: flex;
|
|
78
|
+
border-top-width: 0.5px;
|
|
79
|
+
border-right-width: 1px;
|
|
80
|
+
border-bottom-width: 1px;
|
|
81
|
+
border-left-width: 1px;
|
|
82
|
+
border-top-left-radius: ${a.sp0};
|
|
83
|
+
border-top-right-radius: ${a.sp0};
|
|
84
|
+
border-bottom-left-radius: ${a.sp2};
|
|
85
|
+
border-bottom-right-radius: ${a.sp2};
|
|
86
|
+
&:hover {
|
|
87
|
+
border-top-width: 1px;
|
|
88
|
+
}
|
|
89
|
+
`,_=t.div`
|
|
90
|
+
display: flex;
|
|
91
|
+
color: ${e=>e.theme.colors.grey1};
|
|
92
|
+
&:hover {
|
|
93
|
+
color: ${e=>e.theme.colors.primary};
|
|
94
|
+
svg {
|
|
95
|
+
color: ${e=>e.theme.colors.primary};
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
`,Z=t(ve)`
|
|
99
|
+
height: ${a.sp3};
|
|
100
|
+
width: ${a.sp3};
|
|
101
|
+
color: ${e=>e.theme.colors.hero};
|
|
102
|
+
cursor: pointer;
|
|
103
|
+
&:hover {
|
|
104
|
+
color: ${e=>e.theme.colors.primary};
|
|
105
|
+
}
|
|
106
|
+
`,ee=t(Te)`
|
|
107
|
+
height: ${a.sp3};
|
|
108
|
+
width: ${a.sp3};
|
|
109
|
+
color: ${R.success};
|
|
110
|
+
`,Pe=t.div`
|
|
111
|
+
display: flex;
|
|
112
|
+
flex-direction: row;
|
|
113
|
+
padding: ${a.sp3} ${a.sp4};
|
|
114
|
+
justify-content: space-between;
|
|
115
|
+
width: 100%;
|
|
116
|
+
gap: ${a.sp4};
|
|
117
|
+
`,qe=t(ae)`
|
|
118
|
+
color: ${e=>e.theme.colors.hero};
|
|
119
|
+
`,Oe=t(ae)`
|
|
120
|
+
display: flex;
|
|
121
|
+
align-items: center;
|
|
122
|
+
color: ${e=>e.theme.colors.primary};
|
|
123
|
+
background-color: ${e=>e.theme.colors.grey5};
|
|
124
|
+
justify-content: flex-end;
|
|
125
|
+
text-align: end;
|
|
126
|
+
`,Be=t.div`
|
|
127
|
+
display: flex;
|
|
128
|
+
`,Ge=t.div`
|
|
129
|
+
display: flex;
|
|
130
|
+
flex-direction: column;
|
|
131
|
+
align-items: flex-end;
|
|
132
|
+
`,He=t(re)`
|
|
133
|
+
color: ${e=>e.theme.colors.grey1};
|
|
134
|
+
text-align: end;
|
|
135
|
+
`,I=t(re)`
|
|
136
|
+
color: ${e=>e.isTextCopied?R.primaryDark:R.neutralGrey1Light};
|
|
137
|
+
`,b=t(E)`
|
|
138
|
+
box-shadow: ${e=>`${a.sp0} 2px ${a.sp1} ${e.theme.colors.dropShadowNormal}`};
|
|
139
|
+
display: flex;
|
|
140
|
+
border-radius: ${a.sp0};
|
|
141
|
+
border-top-width: 0.5px;
|
|
142
|
+
border-right-width: 1px;
|
|
143
|
+
border-bottom-width: 0.5px;
|
|
144
|
+
border-left-width: 1px;
|
|
145
|
+
&:hover {
|
|
146
|
+
border-top-width: 1px;
|
|
147
|
+
border-bottom-width: 1px;
|
|
148
|
+
}
|
|
149
|
+
`,Je=t.div``,Ue=t.div``;export{Xe as r};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{y as g,O as
|
|
1
|
+
import{y as g,O as c,V as t,l as x,au as d,a as b,o,f as m,D as y,bt as j,bm as $}from"./index-BHAcVHeH.js";import{n as r}from"./mui-Cni6P-fz.js";import{t as w}from"./handshake-BPg58FML-BxWewJRH.js";import{o as k,r as v}from"./unlock-BPWn2I5L-BcwMx3a4.js";import"./sentry-CY6wsJT-.js";import"./pdf-CTJ16aEe.js";import"./zeni-epic-state-cFF_NqwA.js";import"./core-oEkj6b51.js";import"./lottie-DEK510sX.js";import"./liveblocks-Ia5FU_Xu.js";import"./recharts-LlOU9oLm.js";import"./dnd-DwLm2ZWc.js";import"./analytics-Ci5SIN4_.js";import"./plaid-B2vW8NaN.js";import"./utils-ChLimP28.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},i=new e.Error().stack;i&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[i]="4688409f-fb53-4f73-9fd9-b4ba3e42e4cc",e._sentryDebugIdIdentifier="sentry-dbid-4688409f-fb53-4f73-9fd9-b4ba3e42e4cc")}catch{}})();const p="support@zeni.ai",s=c.getLocalizedStrings().commonSetUp.twoFactorAuthentication,f=({unlockDate:e,onSubmit:i})=>{const n=g(),h=e.format(c.getLocalizedStrings().dateFormat.visual.MMMDCommaYYYYformat),u=e.format(c.getLocalizedStrings().dateFormat.visual.HHMMFormat);return t.jsxs(D,{children:[t.jsx(M,{children:s.accountLockedTitle}),t.jsxs(S,{children:[t.jsxs(a,{children:[t.jsx(l,{theme:n,children:t.jsx(z,{})}),t.jsx(x,{children:s.accountLockedSecurityMessage})]}),t.jsxs(a,{children:[t.jsx(l,{theme:n,children:t.jsx(I,{})}),t.jsxs(d,{children:[s.tryAgainAfter,t.jsxs(C,{children:[h,t.jsx(_,{children:"•"}),u]}),s.signInViaGoogleOrMicrosoft]})]}),t.jsxs(a,{children:[t.jsx(l,{theme:n,children:t.jsx(A,{})}),t.jsxs(d,{children:[s.accountLockedContactMessage,t.jsx(L,{href:`mailto:${p}`,children:p})]})]}),t.jsx(b,{variant:"primary",label:s.understood,onClick:i})]})]})},D=r.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
align-items: center;
|
|
@@ -24,7 +24,7 @@ import{y as g,O as d,V as t,l as x,au as c,a as b,o,d as m,D as y,bt as j,bm as
|
|
|
24
24
|
`,L=r.a`
|
|
25
25
|
text-decoration: underline;
|
|
26
26
|
color: ${e=>e.theme.colors.primary};
|
|
27
|
-
`,C=r(
|
|
27
|
+
`,C=r(d)`
|
|
28
28
|
font-weight: ${j.medium};
|
|
29
29
|
`,_=r.span`
|
|
30
30
|
color: ${e=>e.theme.colors.hero};
|
|
@@ -56,4 +56,4 @@ import{y as g,O as d,V as t,l as x,au as c,a as b,o,d as m,D as y,bt as j,bm as
|
|
|
56
56
|
padding: ${o.sp5} ${o.sp6};
|
|
57
57
|
background: ${e=>e.theme.colors.grey5};
|
|
58
58
|
border-radius: ${o.sp2};
|
|
59
|
-
`,Q=Object.freeze(Object.defineProperty({__proto__:null,AccountLockedInfo:
|
|
59
|
+
`,Q=Object.freeze(Object.defineProperty({__proto__:null,AccountLockedInfo:f,default:function({unlockDate:e,onClose:i}){return t.jsx($,{open:!0,onClose:i,children:t.jsx(F,{children:t.jsx(f,{unlockDate:e,onSubmit:i})})})}},Symbol.toStringTag,{value:"Module"}));export{f as A,p as Z,Q as a};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{T as xe,V as t,A as fe,bR as ye,bS as ge,bT as je,o as c,M as Se,ar as K,H as Q,a8 as
|
|
1
|
+
import{T as xe,V as t,A as fe,bR as ye,bS as ge,bT as je,o as c,M as Se,ar as K,H as Q,a8 as ke,E as $e,dc as be,el as we,cv as G,cS as X,O as ve,l as d,y as Ee,a5 as Ce,aU as ee,de as te,$ as Re,f as ne,aA as Pe}from"./index-BHAcVHeH.js";import{a as s}from"./sentry-CY6wsJT-.js";import{n as o}from"./mui-Cni6P-fz.js";import{u as Te}from"./plaid-B2vW8NaN.js";import{bG as oe,H4 as De,H5 as Ie}from"./zeni-epic-state-cFF_NqwA.js";import{E as _e,C as Fe,w as Ue,f as Me}from"./AccountRow-B3Sz6a-V-GlNhkavB.js";import"./pdf-CTJ16aEe.js";import"./core-oEkj6b51.js";import"./lottie-DEK510sX.js";import"./liveblocks-Ia5FU_Xu.js";import"./recharts-LlOU9oLm.js";import"./dnd-DwLm2ZWc.js";import"./analytics-Ci5SIN4_.js";import"./utils-ChLimP28.js";import"./clock-CJkylEKt-CBVPxBka.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},n=new e.Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="311c39b3-ec8c-4077-8c02-88c198eb06aa",e._sentryDebugIdIdentifier="sentry-dbid-311c39b3-ec8c-4077-8c02-88c198eb06aa")}catch{}})();const Oe=c.sp4,Ye=c.sp4,Ae=c.sp10,Be=c.sp4,Le=c.sp4,N=114,Ne=400,ze=o.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
background-color: ${e=>e.theme.colors.grey4};
|
|
@@ -19,7 +19,7 @@ import{T as xe,V as t,A as fe,bR as ye,bS as ge,bT as je,o as c,M as Se,ar as K,
|
|
|
19
19
|
z-index: 2;
|
|
20
20
|
top: ${c.sp0};
|
|
21
21
|
width: 100%;
|
|
22
|
-
`,We=o(
|
|
22
|
+
`,We=o(ke)`
|
|
23
23
|
cursor: pointer;
|
|
24
24
|
color: ${e=>e.theme.colors.hero};
|
|
25
25
|
width: ${c.sp4};
|
|
@@ -236,4 +236,4 @@ import{T as xe,V as t,A as fe,bR as ye,bS as ge,bT as je,o as c,M as Se,ar as K,
|
|
|
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:Z,expenseAutomation:{accountRecon:i}}=ve.getLocalizedStrings(),bt=(e,n)=>`${e}.${n}`,se="accountReconDrawerDetailsSection";function Vt({accountReconciliation:e,plaidConnectionDetails:n,monthYearPeriod:l,openFilePicker:u,filesEndPoint:x,authParams:S,onDismissClick:b,onFetchLinkTokenClick:E,onEstablishConnectionClick:C,onSelectSourceType:I,onDeleteFile:R,onEditFileName:_,onStatementUploadSuccess:F,onUploadWindowOpenedOnce:U}){const m=xe({mode:"all",reValidateMode:"onChange",defaultValues:J(e),resetOptions:{keepDirtyValues:!0,keepErrors:!0},values:J(e)}),k=m.handleSubmit(()=>{}),[h,f]=s.useState(void 0),$=n.link_account_no_microdeposit,w=n.update_account,a=h==="update_account"?w:$,[y,r]=s.useState(a.linkToken??null),[j,M]=s.useState(!1),[z,O]=s.useState(!1),[Y,A]=s.useState(void 0),[re,H]=s.useState(void 0),le=s.useCallback(()=>{f("link_account_no_microdeposit")},[]),de=s.useCallback(()=>{f("update_account"),E("update_account",e.paymentAccountId)},[e.paymentAccountId]),ue={onOkClick:()=>{Y!=null&&(R(Y),A(void 0)),H(void 0),O(!1)},onCancelClick:()=>{A(void 0),O(!1)}},V=s.useRef(h);s.useEffect(()=>{V.current=h},[h]);const pe=s.useCallback(P=>{C(P,e.accountReconEntity.account.accountId,V.current),f(void 0),M(!1)},[C,e.accountReconEntity.account.accountId]),he=s.useCallback((P,me)=>{P!=null&&console.log("Plaid Connection Error",P,me),f(void 0),M(!1)},[]),{open:W,ready:q}=Te({token:y,onSuccess:pe,onExit:he});return s.useEffect(()=>{(oe(new Date().toISOString()).isAfter(a.expiration)||a.linkToken==null)&&a.fetchStatus.fetchState==="Not-Started"&&E("link_account_no_microdeposit")},[a.fetchStatus.fetchState]),s.useEffect(()=>{!j&&h!=null&&a.linkToken===y&&a.fetchStatus.fetchState==="Completed"&&q&&M(!0)},[q,y,a.fetchStatus.fetchState,a.linkToken,h,j]),s.useEffect(()=>{a.fetchStatus.fetchState==="Completed"&&a.linkToken!=null&&a.linkToken!==y&&r(a.linkToken)},[a.fetchStatus.fetchState,a.linkToken,y]),s.useEffect(()=>{j&&W()},[j,W]),t.jsxs(ze,{children:[t.jsx(Ve,{children:t.jsx(Ge,{children:t.jsxs(Ze,{children:[t.jsx(He,{}),t.jsxs(Je,{children:[t.jsx(Ke,{children:e.accountReconEntity.account.accountName}),t.jsx(ce,{children:t.jsx(Rt,{monthYearPeriod:l})})]}),t.jsx(Qe,{children:t.jsx(We,{onClick:b})})]})})}),t.jsxs(qe,{children:[t.jsx(fe,{...m,children:t.jsx("form",{style:{width:"100%"},id:"accountReconDrawerDetailsPage",onSubmit:k,children:t.jsx(kt,{monthYearPeriod:l,accountReconciliation:e,filesEndPoint:x,openFilePicker:u,authParams:S,onConnectClick:le,onReconnectClick:de,onSelectSourceType:I,onDeleteFile:R,onEditFileName:_,onStatementUploadSuccess:F,onUploadWindowOpenedOnce:U,showConfirmationPopup:z,setShowConfirmationPopup:O,deleteFileId:Y,setDeleteFileId:A,uploadErrorMessage:re,setUploadErrorMessage:H})})}),z===!0||e.statementDeleteStatus.fetchState==="In-Progress"?t.jsx(ye,{titleComponent:t.jsx(je,{children:i.reconciliation.drawer.deleteConfirmation.heading}),descriptionComponent:t.jsx(ge,{children:i.reconciliation.drawer.deleteConfirmation.description}),isLoading:e.statementDeleteStatus.fetchState==="In-Progress",primaryButtonText:p.confirm,secondaryButtonText:p.cancel,action:ue}):null]})]})}const kt=({monthYearPeriod:e,accountReconciliation:n,filesEndPoint:l,authParams:u,openFilePicker:x,onConnectClick:S,onReconnectClick:b,setDeleteFileId:E,setShowConfirmationPopup:C,onEditFileName:I,onSelectSourceType:R,onStatementUploadSuccess:_,onUploadWindowOpenedOnce:F,uploadErrorMessage:U,setUploadErrorMessage:m})=>{const[k,h]=s.useState(!1),f=(n.localData?.accountSource??"plaid")==="plaid"?n.accountReconEntity.reconciliationId!=null?n.accountReconEntity.reconUpdatedAt:n.accountReconEntity.accountUpdatedAt:n.accountReconEntity.reconUpdatedAt,$=[];n.accountReconEntity.account.accountType==="bank"&&$.push({label:i.reconciliation.menu.bankConnection,value:"plaid"}),$.push({label:i.reconciliation.menu.statement,value:"bank_statement"});const w=n.accountReconEntity.account.accountType==="credit_card"?"bank_statement":n.localData?.accountSource;let a=n.accountConnectionStatus==="connected"||n.connectionInProgress===!0?"plaid":n.accountReconEntity.statementStatus?.code==="uploaded"||n.statementParseInProgress===!0||k?"bank_statement":void 0;n.accountReconEntity.account.accountType==="credit_card"&&(a="bank_statement"),s.useEffect(()=>{n.accountReconEntity.statementStatus.code==="uploaded"&&(n.accountReconEntity.statementDataStatus?.code==="validation_failed"||n.accountReconEntity.statementDataStatus?.code==="parsing_failed"||n.accountReconEntity.statementDataStatus?.code==="processing_failed")&&m(_e(n.accountReconEntity.statementDataStatus?.code,"drawer",n.accountReconEntity.errorMessage?.errorShort))},[n.accountReconEntity.statementStatus.code,n.accountReconEntity.statementDataStatus?.code,n.accountReconEntity.errorMessage?.errorShort,m]);const y=n.accountReconEntity.reconciliationStatus!=null&&["reconciled","in_progress","reconciled_via_qbo"].includes(n.accountReconEntity.reconciliationStatus.code);return t.jsxs(Xe,{children:[t.jsxs(et,{children:[t.jsxs(tt,{children:[t.jsx(B,{children:i.reconciliation.headers.bankBalance}),t.jsx(nt,{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(ot,{children:[t.jsx(B,{children:i.reconciliation.headers.clearedBalance}),t.jsx(ct,{children:t.jsx(Ue,{clearedBalance:n.accountReconEntity.clearedBalance,isLoading:!1})})]}),t.jsxs(at,{children:[t.jsx(B,{children:i.reconciliation.headers.variance}),t.jsx(st,{children:t.jsx(Et,{variance:n.accountReconEntity.variance,variancePercentage:n.accountReconEntity.variancePercentage})})]})]}),t.jsxs(ht,{children:[t.jsxs(mt,{children:[" ",i.reconciliation.drawer.source," "]}),t.jsxs(xt,{children:[t.jsxs(v,{children:[t.jsx(T,{children:i.reconciliation.drawer.labels.type}),t.jsx(D,{children:a!=null?t.jsx(g,{children:a==="plaid"&&n.accountReconEntity.account.accountType==="bank"?t.jsxs(t.Fragment,{children:[t.jsx(ie,{}),i.reconciliation.menu.bankConnection]}):t.jsxs(t.Fragment,{children:[t.jsx(ae,{}),i.reconciliation.menu.statement]})}):t.jsx(ke,{controller:!0,children:t.jsx($e,{moreIconType:"custom",customIcon:t.jsx($t,{selectedSourceType:w}),options:$,customStyleConfig:{option:()=>({".option-container":{justifyContent:"flex-start"}}),valueContainer:()=>({height:c.sp5,width:"180px"})},menuPlacement:"bottom",onOptionSelection:r=>{R(De(r))},valueToIcon:r=>r==="plaid"?t.jsx(yt,{}):r==="bank_statement"?t.jsx(gt,{}):null})})})]}),w==="bank_statement"?t.jsx(v,{children:t.jsx(we,{name:bt(se,"file"),file:n.accountReconEntity.statementMetaData?.file,showPhotoPicker:!1,isDisabled:y,sizeLimit:1e7,onFileSizeError:r=>{r&&m(p.fileElementPicker.sizeLimit)},deleteFileStatusById:{},updateFileStatusById:{},filesEndPoint:l,authParams:u,acceptableTypes:["application/pdf"],placeholderText:i.reconciliation.drawer.downloadPlaceholder,autoOpenFilePicker:x,accountStatementUpload:{uploadHelper:Ie,metadataPayload:{accountId:n.accountReconEntity.account.accountId,accountType:n.accountReconEntity.account.accountType??"bank",monthYearPeriod:e},errorMessage:U,onUploadError:r=>{m(r?.message)},onUploadSuccess:r=>{_(r),h(!1)},onUploadStart:()=>{h(!0),m(void 0)},onUploadWindowOpenedOnce:()=>{F()}},onDeleteFile:r=>{E(r),C(!0)},onEditFileName:(r,j)=>{I(r,j)}})}):null,t.jsxs(v,{children:[t.jsx(T,{children:i.reconciliation.drawer.labels.status}),t.jsx(D,{children:w!=="bank_statement"?t.jsx(wt,{status:n.accountConnectionStatus,connectionInProgress:n.connectionInProgress,onConnectClick:S,onReconnectClick:b}):t.jsx(vt,{uploadInProgress:k,status:n.accountReconEntity.statementDataStatus?.code})})]}),t.jsxs(v,{children:[t.jsx(T,{children:i.reconciliation.drawer.labels.accountType}),t.jsx(D,{children:t.jsx(Ct,{accountSubType:G(n.accountReconEntity.account.accountSubType??"")})})]}),t.jsxs(v,{children:[t.jsx(T,{children:i.reconciliation.drawer.labels.lastUpdated}),t.jsx(D,{children:t.jsx(X,{isLoading:k,customStyle:{height:"20px",width:"100px"},position:"left",children:f!=null?t.jsx(g,{children:G(f.utc(!0).fromNow())}):p.strings.hyphen})})]})]})]})]})},$t=({selectedSourceType:e})=>t.jsxs(dt,{children:[e==null||e==="plaid"?t.jsx(ie,{}):t.jsx(ae,{}),t.jsx(ut,{children:e==null||e==="plaid"?i.reconciliation.menu.bankConnection:i.reconciliation.menu.statement}),t.jsx(pt,{})]}),wt=({status:e,connectionInProgress:n,onConnectClick:l,onReconnectClick:u})=>n?t.jsx(L,{children:i.reconciliation.drawer.values.connecting}):e==="connected"?t.jsxs(L,{children:[t.jsx(ft,{}),t.jsx(jt,{children:i.reconciliation.drawer.values.connected})]}):t.jsx(L,{onClick:e==="reconnect"?u:l,children:t.jsx(St,{status:e,children:e==="reconnect"?i.reconciliation.drawer.values.reconnect:i.reconciliation.drawer.values.connect})}),vt=({status:e,uploadInProgress:n})=>n?t.jsx(X,{isLoading:n,customStyle:{height:"20px",width:"100px"},position:"left",children:t.jsx(t.Fragment,{})}):e==null?t.jsx(g,{children:p.strings.hyphen}):e==="parsing"?t.jsx(g,{children:i.reconciliation.drawer.values.statementParsing}):e==="validated"?t.jsx(g,{children:i.reconciliation.drawer.values.uploaded}):t.jsx(g,{children:p.strings.hyphen}),Et=({variance:e,variancePercentage:n,reconciliationStatusCode:l})=>{const u=Ee(),{varianceColor:x,variancePercentageColor:S,variancePercentageContainerColor:b}=Me(u,e,l,!0);return t.jsxs(it,{children:[t.jsx(rt,{textColor:x,children:Ce("0,0",e)??p.strings.hyphen}),t.jsxs(lt,{textColor:S,bgColor:b,children:[n!=null?n===0?"0":n.toFixed(2):null,n!=null?p.strings.percentage:null]})]})},Ct=({accountSubType:e})=>{const n=e!=null?e.replace("_"," "):p.strings.hyphen;return t.jsx(g,{children:n})},Rt=({monthYearPeriod:e})=>t.jsx(ce,{children:Pt(e)}),Pt=e=>{const{month:n,year:l}=e,u=oe(`${l}-${String(n).padStart(2,"0")}-01`);let x=u.endOf("month");return`${u.format(Z.visual.DMMMYYYYFormat)} ${p.strings.hyphen} ${x.format(Z.visual.DMMMYYYYFormat)}`},J=e=>({[se]:{file:e.accountReconEntity.statementMetaData?.file,selectedType:e.localData?.accountSource}});export{Vt as default,bt as uniqueName};
|
|
239
|
+
`,{common:p,dateFormat:Z,expenseAutomation:{accountRecon:i}}=ve.getLocalizedStrings(),kt=(e,n)=>`${e}.${n}`,se="accountReconDrawerDetailsSection";function Vt({accountReconciliation:e,plaidConnectionDetails:n,monthYearPeriod:l,openFilePicker:u,filesEndPoint:x,authParams:S,onDismissClick:k,onFetchLinkTokenClick:E,onEstablishConnectionClick:C,onSelectSourceType:I,onDeleteFile:R,onEditFileName:_,onStatementUploadSuccess:F,onUploadWindowOpenedOnce:U}){const m=xe({mode:"all",reValidateMode:"onChange",defaultValues:J(e),resetOptions:{keepDirtyValues:!0,keepErrors:!0},values:J(e)}),$=m.handleSubmit(()=>{}),[h,f]=s.useState(void 0),b=n.link_account_no_microdeposit,w=n.update_account,a=h==="update_account"?w:b,[y,r]=s.useState(a.linkToken??null),[j,M]=s.useState(!1),[z,O]=s.useState(!1),[Y,A]=s.useState(void 0),[re,H]=s.useState(void 0),le=s.useCallback(()=>{f("link_account_no_microdeposit")},[]),de=s.useCallback(()=>{f("update_account"),E("update_account",e.paymentAccountId)},[e.paymentAccountId]),ue={onOkClick:()=>{Y!=null&&(R(Y),A(void 0)),H(void 0),O(!1)},onCancelClick:()=>{A(void 0),O(!1)}},V=s.useRef(h);s.useEffect(()=>{V.current=h},[h]);const pe=s.useCallback(P=>{C(P,e.accountReconEntity.account.accountId,V.current),f(void 0),M(!1)},[C,e.accountReconEntity.account.accountId]),he=s.useCallback((P,me)=>{P!=null&&console.log("Plaid Connection Error",P,me),f(void 0),M(!1)},[]),{open:W,ready:q}=Te({token:y,onSuccess:pe,onExit:he});return s.useEffect(()=>{(oe(new Date().toISOString()).isAfter(a.expiration)||a.linkToken==null)&&a.fetchStatus.fetchState==="Not-Started"&&E("link_account_no_microdeposit")},[a.fetchStatus.fetchState]),s.useEffect(()=>{!j&&h!=null&&a.linkToken===y&&a.fetchStatus.fetchState==="Completed"&&q&&M(!0)},[q,y,a.fetchStatus.fetchState,a.linkToken,h,j]),s.useEffect(()=>{a.fetchStatus.fetchState==="Completed"&&a.linkToken!=null&&a.linkToken!==y&&r(a.linkToken)},[a.fetchStatus.fetchState,a.linkToken,y]),s.useEffect(()=>{j&&W()},[j,W]),t.jsxs(ze,{children:[t.jsx(Ve,{children:t.jsx(Ge,{children:t.jsxs(Ze,{children:[t.jsx(He,{}),t.jsxs(Je,{children:[t.jsx(Ke,{children:e.accountReconEntity.account.accountName}),t.jsx(ce,{children:t.jsx(Rt,{monthYearPeriod:l})})]}),t.jsx(Qe,{children:t.jsx(We,{onClick:k})})]})})}),t.jsxs(qe,{children:[t.jsx(fe,{...m,children:t.jsx("form",{style:{width:"100%"},id:"accountReconDrawerDetailsPage",onSubmit:$,children:t.jsx($t,{monthYearPeriod:l,accountReconciliation:e,filesEndPoint:x,openFilePicker:u,authParams:S,onConnectClick:le,onReconnectClick:de,onSelectSourceType:I,onDeleteFile:R,onEditFileName:_,onStatementUploadSuccess:F,onUploadWindowOpenedOnce:U,showConfirmationPopup:z,setShowConfirmationPopup:O,deleteFileId:Y,setDeleteFileId:A,uploadErrorMessage:re,setUploadErrorMessage:H})})}),z===!0||e.statementDeleteStatus.fetchState==="In-Progress"?t.jsx(ye,{titleComponent:t.jsx(je,{children:i.reconciliation.drawer.deleteConfirmation.heading}),descriptionComponent:t.jsx(ge,{children:i.reconciliation.drawer.deleteConfirmation.description}),isLoading:e.statementDeleteStatus.fetchState==="In-Progress",primaryButtonText:p.confirm,secondaryButtonText:p.cancel,action:ue}):null]})]})}const $t=({monthYearPeriod:e,accountReconciliation:n,filesEndPoint:l,authParams:u,openFilePicker:x,onConnectClick:S,onReconnectClick:k,setDeleteFileId:E,setShowConfirmationPopup:C,onEditFileName:I,onSelectSourceType:R,onStatementUploadSuccess:_,onUploadWindowOpenedOnce:F,uploadErrorMessage:U,setUploadErrorMessage:m})=>{const[$,h]=s.useState(!1),f=(n.localData?.accountSource??"plaid")==="plaid"?n.accountReconEntity.reconciliationId!=null?n.accountReconEntity.reconUpdatedAt:n.accountReconEntity.accountUpdatedAt:n.accountReconEntity.reconUpdatedAt,b=[];n.accountReconEntity.account.accountType==="bank"&&b.push({label:i.reconciliation.menu.bankConnection,value:"plaid"}),b.push({label:i.reconciliation.menu.statement,value:"bank_statement"});const w=n.accountReconEntity.account.accountType==="credit_card"?"bank_statement":n.localData?.accountSource;let a=n.accountConnectionStatus==="connected"||n.connectionInProgress===!0?"plaid":n.accountReconEntity.statementStatus?.code==="uploaded"||n.statementParseInProgress===!0||$?"bank_statement":void 0;n.accountReconEntity.account.accountType==="credit_card"&&(a="bank_statement"),s.useEffect(()=>{n.accountReconEntity.statementStatus.code==="uploaded"&&(n.accountReconEntity.statementDataStatus?.code==="validation_failed"||n.accountReconEntity.statementDataStatus?.code==="parsing_failed"||n.accountReconEntity.statementDataStatus?.code==="processing_failed")&&m(_e(n.accountReconEntity.statementDataStatus?.code,"drawer",n.accountReconEntity.errorMessage?.errorShort))},[n.accountReconEntity.statementStatus.code,n.accountReconEntity.statementDataStatus?.code,n.accountReconEntity.errorMessage?.errorShort,m]);const y=n.accountReconEntity.reconciliationStatus!=null&&["reconciled","in_progress","reconciled_via_qbo"].includes(n.accountReconEntity.reconciliationStatus.code);return t.jsxs(Xe,{children:[t.jsxs(et,{children:[t.jsxs(tt,{children:[t.jsx(B,{children:i.reconciliation.headers.bankBalance}),t.jsx(nt,{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(ot,{children:[t.jsx(B,{children:i.reconciliation.headers.clearedBalance}),t.jsx(ct,{children:t.jsx(Ue,{clearedBalance:n.accountReconEntity.clearedBalance,isLoading:!1})})]}),t.jsxs(at,{children:[t.jsx(B,{children:i.reconciliation.headers.variance}),t.jsx(st,{children:t.jsx(Et,{variance:n.accountReconEntity.variance,variancePercentage:n.accountReconEntity.variancePercentage})})]})]}),t.jsxs(ht,{children:[t.jsxs(mt,{children:[" ",i.reconciliation.drawer.source," "]}),t.jsxs(xt,{children:[t.jsxs(v,{children:[t.jsx(T,{children:i.reconciliation.drawer.labels.type}),t.jsx(D,{children:a!=null?t.jsx(g,{children:a==="plaid"&&n.accountReconEntity.account.accountType==="bank"?t.jsxs(t.Fragment,{children:[t.jsx(ie,{}),i.reconciliation.menu.bankConnection]}):t.jsxs(t.Fragment,{children:[t.jsx(ae,{}),i.reconciliation.menu.statement]})}):t.jsx($e,{controller:!0,children:t.jsx(be,{moreIconType:"custom",customIcon:t.jsx(bt,{selectedSourceType:w}),options:b,customStyleConfig:{option:()=>({".option-container":{justifyContent:"flex-start"}}),valueContainer:()=>({height:c.sp5,width:"180px"})},menuPlacement:"bottom",onOptionSelection:r=>{R(De(r))},valueToIcon:r=>r==="plaid"?t.jsx(yt,{}):r==="bank_statement"?t.jsx(gt,{}):null})})})]}),w==="bank_statement"?t.jsx(v,{children:t.jsx(we,{name:kt(se,"file"),file:n.accountReconEntity.statementMetaData?.file,showPhotoPicker:!1,isDisabled:y,sizeLimit:1e7,onFileSizeError:r=>{r&&m(p.fileElementPicker.sizeLimit)},deleteFileStatusById:{},updateFileStatusById:{},filesEndPoint:l,authParams:u,acceptableTypes:["application/pdf"],placeholderText:i.reconciliation.drawer.downloadPlaceholder,autoOpenFilePicker:x,accountStatementUpload:{uploadHelper:Ie,metadataPayload:{accountId:n.accountReconEntity.account.accountId,accountType:n.accountReconEntity.account.accountType??"bank",monthYearPeriod:e},errorMessage:U,onUploadError:r=>{m(r?.message)},onUploadSuccess:r=>{_(r),h(!1)},onUploadStart:()=>{h(!0),m(void 0)},onUploadWindowOpenedOnce:()=>{F()}},onDeleteFile:r=>{E(r),C(!0)},onEditFileName:(r,j)=>{I(r,j)}})}):null,t.jsxs(v,{children:[t.jsx(T,{children:i.reconciliation.drawer.labels.status}),t.jsx(D,{children:w!=="bank_statement"?t.jsx(wt,{status:n.accountConnectionStatus,connectionInProgress:n.connectionInProgress,onConnectClick:S,onReconnectClick:k}):t.jsx(vt,{uploadInProgress:$,status:n.accountReconEntity.statementDataStatus?.code})})]}),t.jsxs(v,{children:[t.jsx(T,{children:i.reconciliation.drawer.labels.accountType}),t.jsx(D,{children:t.jsx(Ct,{accountSubType:G(n.accountReconEntity.account.accountSubType??"")})})]}),t.jsxs(v,{children:[t.jsx(T,{children:i.reconciliation.drawer.labels.lastUpdated}),t.jsx(D,{children:t.jsx(X,{isLoading:$,customStyle:{height:"20px",width:"100px"},position:"left",children:f!=null?t.jsx(g,{children:G(f.utc(!0).fromNow())}):p.strings.hyphen})})]})]})]})]})},bt=({selectedSourceType:e})=>t.jsxs(dt,{children:[e==null||e==="plaid"?t.jsx(ie,{}):t.jsx(ae,{}),t.jsx(ut,{children:e==null||e==="plaid"?i.reconciliation.menu.bankConnection:i.reconciliation.menu.statement}),t.jsx(pt,{})]}),wt=({status:e,connectionInProgress:n,onConnectClick:l,onReconnectClick:u})=>n?t.jsx(L,{children:i.reconciliation.drawer.values.connecting}):e==="connected"?t.jsxs(L,{children:[t.jsx(ft,{}),t.jsx(jt,{children:i.reconciliation.drawer.values.connected})]}):t.jsx(L,{onClick:e==="reconnect"?u:l,children:t.jsx(St,{status:e,children:e==="reconnect"?i.reconciliation.drawer.values.reconnect:i.reconciliation.drawer.values.connect})}),vt=({status:e,uploadInProgress:n})=>n?t.jsx(X,{isLoading:n,customStyle:{height:"20px",width:"100px"},position:"left",children:t.jsx(t.Fragment,{})}):e==null?t.jsx(g,{children:p.strings.hyphen}):e==="parsing"?t.jsx(g,{children:i.reconciliation.drawer.values.statementParsing}):e==="validated"?t.jsx(g,{children:i.reconciliation.drawer.values.uploaded}):t.jsx(g,{children:p.strings.hyphen}),Et=({variance:e,variancePercentage:n,reconciliationStatusCode:l})=>{const u=Ee(),{varianceColor:x,variancePercentageColor:S,variancePercentageContainerColor:k}=Me(u,e,l,!0);return t.jsxs(it,{children:[t.jsx(rt,{textColor:x,children:Ce("0,0",e)??p.strings.hyphen}),t.jsxs(lt,{textColor:S,bgColor:k,children:[n!=null?n===0?"0":n.toFixed(2):null,n!=null?p.strings.percentage:null]})]})},Ct=({accountSubType:e})=>{const n=e!=null?e.replace("_"," "):p.strings.hyphen;return t.jsx(g,{children:n})},Rt=({monthYearPeriod:e})=>t.jsx(ce,{children:Pt(e)}),Pt=e=>{const{month:n,year:l}=e,u=oe(`${l}-${String(n).padStart(2,"0")}-01`);let x=u.endOf("month");return`${u.format(Z.visual.DMMMYYYYFormat)} ${p.strings.hyphen} ${x.format(Z.visual.DMMMYYYYFormat)}`},J=e=>({[se]:{file:e.accountReconEntity.statementMetaData?.file,selectedType:e.localData?.accountSource}});export{Vt as default,kt as uniqueName};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{V as e,a5 as I,bn as f,o,
|
|
1
|
+
import{V as e,a5 as I,bn as f,o,b as j,E as at,dc as it,O as ct,l as y,f as m,dd as X,de as Y,cq as st,ad as x,C as Z,m as g,e as rt,y as S,aj as lt,bi as dt,j as ut,a as xt,H as W,b6 as pt,d4 as ht}from"./index-BHAcVHeH.js";import{a as gt}from"./sentry-CY6wsJT-.js";import{n as a,c as mt}from"./mui-Cni6P-fz.js";import{t as ft}from"./clock-CJkylEKt-CBVPxBka.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},n=new t.Error().stack;n&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[n]="79d6a91a-5bc6-4f86-b407-226b578427a2",t._sentryDebugIdIdentifier="sentry-dbid-79d6a91a-5bc6-4f86-b407-226b578427a2")}catch{}})();const jt=a.div`
|
|
2
2
|
position: relative;
|
|
3
3
|
${t=>t.showTreeLine===!0&&t.collapsed!==!0?`&::after {
|
|
4
4
|
content: "";
|
|
@@ -38,7 +38,7 @@ import{V as e,a5 as I,bn as f,o,P as j,E as at,dc as ct,O as it,l as y,d as m,dd
|
|
|
38
38
|
margin-left: 2px;
|
|
39
39
|
width: 12px;
|
|
40
40
|
height: 12px;
|
|
41
|
-
`;function vt({className:t,color:n,dataTestId:
|
|
41
|
+
`;function vt({className:t,color:n,dataTestId:i,firstLetter:c,showCollapsedIcon:l,showIcon:d,showTreeLine:s=!1}){return e.jsx(jt,{showTreeLine:s,collapsed:l,"data-testid":i,children:e.jsx(yt,{colour:n,className:t,children:e.jsx(bt,{children:d===!0?l===!0?e.jsx(Ct,{}):e.jsx($t,{}):e.jsx(wt,{colour:n,className:t,children:c})})})})}const Rt=a.div`
|
|
42
42
|
display: flex;
|
|
43
43
|
flex: 1 1 auto;
|
|
44
44
|
max-height: 1px;
|
|
@@ -86,7 +86,7 @@ import{V as e,a5 as I,bn as f,o,P as j,E as at,dc as ct,O as it,l as y,d as m,dd
|
|
|
86
86
|
}
|
|
87
87
|
`,Wt=a.div`
|
|
88
88
|
height: ${o.sp8};
|
|
89
|
-
`,
|
|
89
|
+
`,Lt=a.div`
|
|
90
90
|
width: 100%;
|
|
91
91
|
height: ${t=>t.heightValue-1}px;
|
|
92
92
|
user-select: none;
|
|
@@ -95,7 +95,7 @@ import{V as e,a5 as I,bn as f,o,P as j,E as at,dc as ct,O as it,l as y,d as m,dd
|
|
|
95
95
|
flex-flow: row;
|
|
96
96
|
justify-content: flex-start;
|
|
97
97
|
align-items: center;
|
|
98
|
-
`,
|
|
98
|
+
`,Pt=a.div`
|
|
99
99
|
display: flex;
|
|
100
100
|
flex: 1 1 auto;
|
|
101
101
|
justify-content: flex-start;
|
|
@@ -271,9 +271,9 @@ import{V as e,a5 as I,bn as f,o,P as j,E as at,dc as ct,O as it,l as y,d as m,dd
|
|
|
271
271
|
flex-direction: column;
|
|
272
272
|
align-items: center;
|
|
273
273
|
justify-content: center;
|
|
274
|
-
`,ce=a(Z)`
|
|
275
|
-
color: ${t=>t.theme.colors.hero};
|
|
276
274
|
`,ie=a(Z)`
|
|
275
|
+
color: ${t=>t.theme.colors.hero};
|
|
276
|
+
`,ce=a(Z)`
|
|
277
277
|
color: ${m.brandColorPearl};
|
|
278
278
|
`,se=a.div`
|
|
279
279
|
display: flex;
|
|
@@ -295,4 +295,4 @@ import{V as e,a5 as I,bn as f,o,P as j,E as at,dc as ct,O as it,l as y,d as m,dd
|
|
|
295
295
|
width: ${o.sp3};
|
|
296
296
|
height: ${o.sp3};
|
|
297
297
|
margin-top: 2px;
|
|
298
|
-
`,{expenseAutomation:{accountRecon:{reconciliation:r}},common:{strings:{hyphen:p,percentage:xe}}}=it.getLocalizedStrings();function We({height:t,accountRecon:n,isLastRow:c,isSelectedRow:i,onReviewClicked:l,onOpenDrawerClicked:d,onConnectClicked:s,onReconnectClicked:w,onStatementAddClicked:T}){const P=rt(),N=S(),v=n.accountReconEntity.account.accountName,L=n.accountReconEntity.balance,h=n.accountReconEntity.clearedBalance,C=n.accountReconEntity.variance,nt=n.accountReconEntity.variancePercentage,q=()=>{l?.(n.accountReconEntity.account.accountId)},[ot,D]=gt.useState(!1),z=n.accountConnectionStatus==="connected"||n.connectionInProgress===!0?"plaid":n.accountReconEntity.statementStatus?.code==="uploaded"||n.statementParseInProgress===!0?"bank_statement":"plaid",E=z==="plaid"?n.accountReconEntity.balanceDataStatus?.code==="in_progress"||n.connectionInProgress===!0:n.accountReconEntity.statementDataStatus?.code==="parsing"||n.statementParseInProgress===!0;let G=t;return c&&(G=t+g[8]),e.jsxs(St,{"data-testid":j("account-recon-row-root-container",n.accountReconEntity.account.accountId),heightValue:G,isLastRow:c,windowSize:P,isSelectedRow:i,onClick:()=>{ot!==!0&&d?.(n.accountReconEntity.account.accountId)},children:[e.jsxs(Pt,{isClickable:!0,"data-testid":j("total-row-container"),heightValue:t,children:[e.jsxs(Lt,{children:[e.jsx(vt,{firstLetter:v.charAt(0),color:new x(N.colors.hero),showIcon:!1,showCollapsedIcon:!1,className:"any-text-container"}),e.jsx(_t,{children:e.jsx(f,{enterDelay:600,title:v,style:{padding:`${o.sp1} ${o.sp2}`},placement:"bottom",children:e.jsx(Bt,{className:"any-text-container",children:v})})})]}),e.jsxs(Nt,{children:[e.jsx(Dt,{children:e.jsx(fe,{accountType:n.accountReconEntity.account.accountType,lastUpdatedAt:n.accountReconEntity.reconciliationId!=null?n.accountReconEntity.reconUpdatedAt:n.accountReconEntity.accountUpdatedAt,setIsHovering:D,statementStatus:n.accountReconEntity.statementStatus.code,accountId:n.accountReconEntity.account.accountId,bankBalance:L,bankConnection:n.accountConnectionStatus,onConnectClicked:()=>{s?.(n.accountReconEntity.account.accountId)},onStatementAddClicked:()=>{T?.(n.accountReconEntity.account.accountId)},isLoading:E,onReconnectClicked:()=>{w?.(n.accountReconEntity.account.accountId)}})}),e.jsx(At,{children:e.jsx(Ce,{statementStatus:n.accountReconEntity.statementStatus.code,statementParseInProgress:n.statementParseInProgress,connectionInProgress:n.connectionInProgress,bankStatusCode:n.accountConnectionStatus})}),e.jsx(Ot,{children:e.jsx(je,{clearedBalance:h,isLoading:E})}),e.jsx(pe,{isLoading:E,variance:C,variancePercentage:nt,reconciliationStatusCode:n.accountReconEntity.reconciliationStatus?.code}),e.jsx(Mt,{children:e.jsx(Ut,{heightValue:t})}),e.jsx(Vt,{onMouseEnter:()=>{D(!0)},onMouseLeave:()=>{D(!1)},children:z==="plaid"?e.jsx(ge,{accountRecon:n,isLoading:E,onReviewClicked:q}):e.jsx(me,{accountRecon:n,isLoading:E,onReviewClicked:q})})]})]}),e.jsx(Et,{kind:"account_separator",isScrolling:!1}),c?e.jsx(Wt,{}):null]})}const pe=({variance:t,variancePercentage:n,reconciliationStatusCode:c,isLoading:i})=>{const l=S(),{varianceColor:d,variancePercentageColor:s,variancePercentageContainerColor:w}=he(l,t,c),T=i?p:t!=null&&t.amount===0?"0%":n!=null?n===0?"0%":`${n.toFixed(2)}${xe}`:p;return e.jsxs(Qt,{children:[e.jsx(Ft,{textColor:d,className:"any-text-container",children:t==null||i?p:I("0,0",t)}),e.jsx(Ht,{textColor:s,bgColor:w,className:"any-text-container",children:T})]})},he=(t,n,c,i)=>{let l,d,s;return n!=null&&n.amount===0&&c!=null&&c==="reconciled"?(l=new x(m.success),d=new x(m.success),s=new x(m.successLight)):i===!0?(l=new x(t.colors.primary),d=new x(t.colors.primary),s=new x(t.colors.grey2)):(l=new x(t.colors.hero),d=new x(t.colors.hero),s=new x(t.colors.background)),{varianceColor:l,variancePercentageColor:d,variancePercentageContainerColor:s}},ge=({accountRecon:t,isLoading:n,onReviewClicked:c})=>{const i=t.accountReconEntity.reconciliationStatus,l=t.accountConnectionStatus,d=t.accountReconEntity.reconciliationId!=null?t.accountReconEntity.reconUpdatedAt:t.accountReconEntity.accountUpdatedAt,s=d!=null?`${d.utc(!0).fromNow().toLowerCase()}`:p;if(n)return e.jsx(we,{});if(t.accountReconEntity.balanceDataStatus?.code==="not_found"){let w="";return w=t.accountReconEntity.balance==null&&t.accountReconEntity.clearedBalance==null?r.status.balanceNotFound:t.accountReconEntity.balance==null?r.status.bankBalanceNotFound:r.status.clearedBalanceNotFound,e.jsx(ye,{status:w,tooltipText:s})}if(l==="reconnect"||l==="not_connected")return e.jsx(A,{tooltipText:s,showTooltip:d!=null});if(i==null&&l==="connected"&&t.accountReconEntity.balance!=null&&t.accountReconEntity.clearedBalance!=null)return e.jsx(_,{buttonLabel:r.status.review,isDisabled:!1,dataTestId:j("status-button",t.accountReconEntity.account.accountId),tooltipText:s,onClick:c});if(i==null)return e.jsx(A,{showTooltip:d!=null,tooltipText:s});switch(i.code){case"save_for_later":case"pending":return e.jsx(_,{buttonLabel:r.status.review,isDisabled:!1,dataTestId:j("status-button",t.accountReconEntity.account.accountId),tooltipText:s,onClick:c});case"reconciled":return e.jsx(B,{isQBO:!1,user:t.accountReconEntity.user,tooltipText:s});case"in_progress":return e.jsx(et,{tooltipText:s});case"failed":return e.jsx(tt,{tooltipText:s});case"reconciled_on_qbo":return e.jsx(B,{isQBO:!0,tooltipText:s});default:return null}},me=({accountRecon:t,isLoading:n,onReviewClicked:c})=>{const i=t.accountReconEntity.reconciliationStatus,l=t.accountReconEntity.statementDataStatus?.code==="validated"||t.accountReconEntity.statementDataStatus?.code==="processed",d=t.accountReconEntity.reconUpdatedAt,s=d!=null?`${d.utc(!0).fromNow().toLowerCase()}`:p;if(t.accountReconEntity.statementDataStatus?.code==="parsing_failed"||t.accountReconEntity.statementDataStatus?.code==="validation_failed"||t.accountReconEntity.statementDataStatus?.code==="processing_failed")return e.jsx($e,{code:t.accountReconEntity.statementDataStatus?.code,tooltipText:s,errorMessage:t.accountReconEntity.errorMessage?.errorShort});if(n)return e.jsx(be,{});if(i==null&&l&&t.accountReconEntity.balance!=null&&t.accountReconEntity.clearedBalance!=null)return e.jsx(_,{buttonLabel:r.status.review,isDisabled:!1,dataTestId:j("status-button",t.accountReconEntity.account.accountId),tooltipText:s,onClick:c});if(i==null)return e.jsx(A,{showTooltip:d!=null,tooltipText:s});switch(i.code){case"save_for_later":case"pending":return e.jsx(_,{buttonLabel:r.status.review,isDisabled:!1,dataTestId:j("status-button",t.accountReconEntity.account.accountId),tooltipText:s,onClick:c});case"reconciled":return e.jsx(B,{isQBO:!1,user:t.accountReconEntity.user,tooltipText:s});case"reconciled_on_qbo":return e.jsx(B,{isQBO:!0,tooltipText:s});case"in_progress":return e.jsx(et,{tooltipText:s});case"failed":return e.jsx(tt,{tooltipText:s});default:return null}},_=({buttonLabel:t,isDisabled:n,tooltipText:c,dataTestId:i,onClick:l})=>e.jsx(f,{title:e.jsx($,{tooltipText:c}),style:{padding:`${o.sp1} ${o.sp2}`},maxWidth:"105px",placement:"bottom",children:e.jsx(qt,{children:e.jsx(xt,{label:t,size:"standard",variant:"secondary",style:{padding:`${o.sp1} 12px`},disabled:n,"data-testid":i,onClick:d=>{d.stopPropagation(),l()}})})}),B=({user:t,isQBO:n,tooltipText:c})=>e.jsx(f,{title:e.jsx($,{tooltipText:c}),style:{padding:`${o.sp1} ${o.sp2}`},maxWidth:"105px",placement:"bottom",children:e.jsxs(zt,{children:[e.jsxs(Gt,{children:[e.jsx(Kt,{}),e.jsx(Jt,{children:n?r.status.reconciledVia:r.status.reconciledBy})]}),n?e.jsx(J,{children:r.status.QBOUser}):t&&e.jsxs(J,{children:[t.firstName," ",t.lastName]})]})}),fe=({bankBalance:t,accountType:n,bankConnection:c,statementStatus:i,lastUpdatedAt:l,fromDrawer:d=!1,onConnectClicked:s,onReconnectClicked:w,isLoading:T,accountId:P,onStatementAddClicked:N,setIsHovering:v})=>{const L=function(h){const C=[];return h!=null&&h==="bank"&&C.push({label:r.menu.bankConnection,value:"bank_connection"}),C.push({label:r.menu.statement,value:"statement"}),C}(n);if(d===!0)return e.jsx(R,{className:"any-text-container",children:I("0,0",t)??p});if(T===!0)return e.jsx(R,{className:"any-text-container",children:p});if(c==="reconnect"){const h=l!=null?`${l.utc(!0).fromNow()}`:p;return e.jsxs(te,{children:[e.jsxs(ee,{children:[e.jsx(ne,{children:e.jsx(f,{title:e.jsx($,{tooltipText:h}),placement:"bottom",style:{padding:`2px ${o.sp2}`},children:e.jsx(oe,{})})}),e.jsx(R,{className:"any-text-container",children:t!=null?I("0,0",t):p})]}),e.jsx(Zt,{"data-testid":j("account-reconciliation-reconnect-button",P),onClick:C=>{C.stopPropagation(),w?.()},children:r.connect.reconnnect})]})}return c==="connected"||i==="uploaded"?e.jsx(R,{className:"any-text-container",children:I("0,0",t)??p}):e.jsx(Xt,{"data-testid":j("account-reconciliation-connect-button",P),onMouseEnter:()=>{v(!0)},onMouseLeave:()=>{v(!1)},children:e.jsx(at,{controller:L.length>0,children:e.jsx(f,{title:r.tooltips.selectSource,style:{padding:`${o.sp1} ${o.sp2}`},maxWidth:"105px",placement:"bottom",children:e.jsx(ct,{moreIconType:"custom",customIcon:e.jsx(Yt,{}),options:L,customStyleConfig:{option:()=>({".option-container":{justifyContent:"flex-start"}}),valueContainer:()=>({height:o.sp3,".more-icon":{width:o.sp3,height:o.sp3}})},menuPlacement:"auto",onOptionSelection:h=>{h==="bank_connection"?s?.():h==="statement"&&N?.()},valueToIcon:h=>h==="bank_connection"?e.jsx(re,{}):h==="statement"?e.jsx(de,{}):null})})})})},je=({clearedBalance:t,isLoading:n})=>t!=null&&n===!1?e.jsx(R,{className:"any-text-container",children:I("0,0",t)??p}):e.jsx(R,{className:"any-text-container",children:p}),tt=({tooltipText:t})=>{const n=new x(m.important);return e.jsx(f,{title:e.jsx($,{tooltipText:t}),style:{padding:`${o.sp1} ${o.sp2}`},maxWidth:"105px",placement:"bottom",children:e.jsx(b,{children:e.jsxs(V,{children:[e.jsx(O,{iconColor:n}),e.jsx(M,{children:e.jsx(U,{textColor:n,children:r.status.reconciliationFailed})}),e.jsx(F,{children:e.jsx(Q,{textColor:n,children:r.status.reconcileViaQBO})})]})})})},ye=({status:t,tooltipText:n})=>{const c=new x(m.brandColorGoldDark);return e.jsx(f,{title:e.jsx($,{tooltipText:n}),style:{padding:`${o.sp1} ${o.sp2}`},maxWidth:"105px",placement:"bottom",children:e.jsxs(b,{children:[e.jsx(O,{iconColor:c}),e.jsxs(V,{children:[e.jsx(M,{children:e.jsx(U,{textColor:c,children:t})}),e.jsx(F,{children:e.jsx(Q,{textColor:c,children:r.status.reconcileViaQBO})})]})]})})},et=({tooltipText:t})=>{const n=S(),c=new x(n.colors.grey1);return e.jsx(f,{title:e.jsx($,{tooltipText:t}),style:{padding:`${o.sp1} ${o.sp2}`},maxWidth:"105px",placement:"bottom",children:e.jsx(b,{children:e.jsxs(H,{children:[e.jsx(k,{textColor:c,children:r.status.autoReconInProgress}),e.jsx(k,{textColor:c,children:r.status.isInProgress})]})})})},we=()=>{const t=S(),n=new x(t.colors.grey1);return e.jsx(b,{children:e.jsxs(H,{children:[e.jsx(k,{textColor:n,children:r.status.balanceSyncInProgress}),e.jsx(k,{textColor:n,children:r.status.isInProgress})]})})},be=()=>{const t=S(),n=new x(t.colors.grey1);return e.jsx(b,{children:e.jsxs(H,{children:[e.jsx(k,{textColor:n,children:r.status.statementSyncInProgress}),e.jsx(k,{textColor:n,children:r.status.isInProgress})]})})},$e=({code:t,tooltipText:n,errorMessage:c})=>{const i=new x(m.important),l=ve(t,"list",c);return e.jsx(f,{title:e.jsx($,{tooltipText:n}),style:{padding:`${o.sp1} ${o.sp2}`},maxWidth:"105px",placement:"bottom",children:e.jsxs(b,{children:[e.jsx(O,{iconColor:i}),e.jsxs(V,{children:[e.jsx(M,{children:e.jsx(U,{textColor:i,children:l})}),e.jsx(F,{children:e.jsx(Q,{textColor:i,children:r.status.failed})})]})]})})},A=({showTooltip:t,tooltipText:n})=>t==0?e.jsx(b,{children:e.jsx(K,{children:p})}):e.jsx(f,{title:e.jsx($,{tooltipText:n}),style:{padding:`${o.sp1} ${o.sp2}`},maxWidth:"105px",placement:"bottom",children:e.jsx(b,{children:e.jsx(K,{children:p})})}),$=({tooltipText:t})=>e.jsxs(ae,{children:[e.jsx(ce,{children:r.tooltips.lastUpdated}),e.jsx(ie,{children:t})]}),Ce=({statementStatus:t,statementParseInProgress:n,bankStatusCode:c,connectionInProgress:i})=>{let l=t==="uploaded"||n===!0?e.jsx(ue,{}):null;return l=c==="connected"||c==="reconnect"||i===!0?e.jsx(le,{}):l,e.jsx(se,{className:"bank-icon-container",children:l})},ve=(t,n,c)=>{if(c!=null&&n==="drawer")return c;let i="";switch(t){case"parsing_failed":default:i=r.status.statementParseError;break;case"validation_failed":i=r.status.statementValidationFailed;break;case"processing_failed":i=r.status.statementProcessingFailed}return n==="drawer"&&(i=i+" "+r.status.failed),i};export{vt as B,fe as C,Se as D,ve as E,Ie as N,We as R,he as f,u,je as w};
|
|
298
|
+
`,{expenseAutomation:{accountRecon:{reconciliation:r}},common:{strings:{hyphen:p,percentage:xe}}}=ct.getLocalizedStrings();function We({height:t,accountRecon:n,isLastRow:i,isSelectedRow:c,onReviewClicked:l,onOpenDrawerClicked:d,onConnectClicked:s,onReconnectClicked:w,onStatementAddClicked:T}){const L=rt(),N=S(),v=n.accountReconEntity.account.accountName,P=n.accountReconEntity.balance,h=n.accountReconEntity.clearedBalance,C=n.accountReconEntity.variance,nt=n.accountReconEntity.variancePercentage,q=()=>{l?.(n.accountReconEntity.account.accountId)},[ot,D]=gt.useState(!1),z=n.accountConnectionStatus==="connected"||n.connectionInProgress===!0?"plaid":n.accountReconEntity.statementStatus?.code==="uploaded"||n.statementParseInProgress===!0?"bank_statement":"plaid",E=z==="plaid"?n.accountReconEntity.balanceDataStatus?.code==="in_progress"||n.connectionInProgress===!0:n.accountReconEntity.statementDataStatus?.code==="parsing"||n.statementParseInProgress===!0;let G=t;return i&&(G=t+g[8]),e.jsxs(St,{"data-testid":j("account-recon-row-root-container",n.accountReconEntity.account.accountId),heightValue:G,isLastRow:i,windowSize:L,isSelectedRow:c,onClick:()=>{ot!==!0&&d?.(n.accountReconEntity.account.accountId)},children:[e.jsxs(Lt,{isClickable:!0,"data-testid":j("total-row-container"),heightValue:t,children:[e.jsxs(Pt,{children:[e.jsx(vt,{firstLetter:v.charAt(0),color:new x(N.colors.hero),showIcon:!1,showCollapsedIcon:!1,className:"any-text-container"}),e.jsx(_t,{children:e.jsx(f,{enterDelay:600,title:v,style:{padding:`${o.sp1} ${o.sp2}`},placement:"bottom",children:e.jsx(Bt,{className:"any-text-container",children:v})})})]}),e.jsxs(Nt,{children:[e.jsx(Dt,{children:e.jsx(fe,{accountType:n.accountReconEntity.account.accountType,lastUpdatedAt:n.accountReconEntity.reconciliationId!=null?n.accountReconEntity.reconUpdatedAt:n.accountReconEntity.accountUpdatedAt,setIsHovering:D,statementStatus:n.accountReconEntity.statementStatus.code,accountId:n.accountReconEntity.account.accountId,bankBalance:P,bankConnection:n.accountConnectionStatus,onConnectClicked:()=>{s?.(n.accountReconEntity.account.accountId)},onStatementAddClicked:()=>{T?.(n.accountReconEntity.account.accountId)},isLoading:E,onReconnectClicked:()=>{w?.(n.accountReconEntity.account.accountId)}})}),e.jsx(At,{children:e.jsx(Ce,{statementStatus:n.accountReconEntity.statementStatus.code,statementParseInProgress:n.statementParseInProgress,connectionInProgress:n.connectionInProgress,bankStatusCode:n.accountConnectionStatus})}),e.jsx(Ot,{children:e.jsx(je,{clearedBalance:h,isLoading:E})}),e.jsx(pe,{isLoading:E,variance:C,variancePercentage:nt,reconciliationStatusCode:n.accountReconEntity.reconciliationStatus?.code}),e.jsx(Mt,{children:e.jsx(Ut,{heightValue:t})}),e.jsx(Vt,{onMouseEnter:()=>{D(!0)},onMouseLeave:()=>{D(!1)},children:z==="plaid"?e.jsx(ge,{accountRecon:n,isLoading:E,onReviewClicked:q}):e.jsx(me,{accountRecon:n,isLoading:E,onReviewClicked:q})})]})]}),e.jsx(Et,{kind:"account_separator",isScrolling:!1}),i?e.jsx(Wt,{}):null]})}const pe=({variance:t,variancePercentage:n,reconciliationStatusCode:i,isLoading:c})=>{const l=S(),{varianceColor:d,variancePercentageColor:s,variancePercentageContainerColor:w}=he(l,t,i),T=c?p:t!=null&&t.amount===0?"0%":n!=null?n===0?"0%":`${n.toFixed(2)}${xe}`:p;return e.jsxs(Qt,{children:[e.jsx(Ft,{textColor:d,className:"any-text-container",children:t==null||c?p:I("0,0",t)}),e.jsx(Ht,{textColor:s,bgColor:w,className:"any-text-container",children:T})]})},he=(t,n,i,c)=>{let l,d,s;return n!=null&&n.amount===0&&i!=null&&i==="reconciled"?(l=new x(m.success),d=new x(m.success),s=new x(m.successLight)):c===!0?(l=new x(t.colors.primary),d=new x(t.colors.primary),s=new x(t.colors.grey2)):(l=new x(t.colors.hero),d=new x(t.colors.hero),s=new x(t.colors.background)),{varianceColor:l,variancePercentageColor:d,variancePercentageContainerColor:s}},ge=({accountRecon:t,isLoading:n,onReviewClicked:i})=>{const c=t.accountReconEntity.reconciliationStatus,l=t.accountConnectionStatus,d=t.accountReconEntity.reconciliationId!=null?t.accountReconEntity.reconUpdatedAt:t.accountReconEntity.accountUpdatedAt,s=d!=null?`${d.utc(!0).fromNow().toLowerCase()}`:p;if(n)return e.jsx(we,{});if(t.accountReconEntity.balanceDataStatus?.code==="not_found"){let w="";return w=t.accountReconEntity.balance==null&&t.accountReconEntity.clearedBalance==null?r.status.balanceNotFound:t.accountReconEntity.balance==null?r.status.bankBalanceNotFound:r.status.clearedBalanceNotFound,e.jsx(ye,{status:w,tooltipText:s})}if(l==="reconnect"||l==="not_connected")return e.jsx(A,{tooltipText:s,showTooltip:d!=null});if(c==null&&l==="connected"&&t.accountReconEntity.balance!=null&&t.accountReconEntity.clearedBalance!=null)return e.jsx(_,{buttonLabel:r.status.review,isDisabled:!1,dataTestId:j("status-button",t.accountReconEntity.account.accountId),tooltipText:s,onClick:i});if(c==null)return e.jsx(A,{showTooltip:d!=null,tooltipText:s});switch(c.code){case"save_for_later":case"pending":return e.jsx(_,{buttonLabel:r.status.review,isDisabled:!1,dataTestId:j("status-button",t.accountReconEntity.account.accountId),tooltipText:s,onClick:i});case"reconciled":return e.jsx(B,{isQBO:!1,user:t.accountReconEntity.user,tooltipText:s});case"in_progress":return e.jsx(et,{tooltipText:s});case"failed":return e.jsx(tt,{tooltipText:s});case"reconciled_on_qbo":return e.jsx(B,{isQBO:!0,tooltipText:s});default:return null}},me=({accountRecon:t,isLoading:n,onReviewClicked:i})=>{const c=t.accountReconEntity.reconciliationStatus,l=t.accountReconEntity.statementDataStatus?.code==="validated"||t.accountReconEntity.statementDataStatus?.code==="processed",d=t.accountReconEntity.reconUpdatedAt,s=d!=null?`${d.utc(!0).fromNow().toLowerCase()}`:p;if(t.accountReconEntity.statementDataStatus?.code==="parsing_failed"||t.accountReconEntity.statementDataStatus?.code==="validation_failed"||t.accountReconEntity.statementDataStatus?.code==="processing_failed")return e.jsx($e,{code:t.accountReconEntity.statementDataStatus?.code,tooltipText:s,errorMessage:t.accountReconEntity.errorMessage?.errorShort});if(n)return e.jsx(be,{});if(c==null&&l&&t.accountReconEntity.balance!=null&&t.accountReconEntity.clearedBalance!=null)return e.jsx(_,{buttonLabel:r.status.review,isDisabled:!1,dataTestId:j("status-button",t.accountReconEntity.account.accountId),tooltipText:s,onClick:i});if(c==null)return e.jsx(A,{showTooltip:d!=null,tooltipText:s});switch(c.code){case"save_for_later":case"pending":return e.jsx(_,{buttonLabel:r.status.review,isDisabled:!1,dataTestId:j("status-button",t.accountReconEntity.account.accountId),tooltipText:s,onClick:i});case"reconciled":return e.jsx(B,{isQBO:!1,user:t.accountReconEntity.user,tooltipText:s});case"reconciled_on_qbo":return e.jsx(B,{isQBO:!0,tooltipText:s});case"in_progress":return e.jsx(et,{tooltipText:s});case"failed":return e.jsx(tt,{tooltipText:s});default:return null}},_=({buttonLabel:t,isDisabled:n,tooltipText:i,dataTestId:c,onClick:l})=>e.jsx(f,{title:e.jsx($,{tooltipText:i}),style:{padding:`${o.sp1} ${o.sp2}`},maxWidth:"105px",placement:"bottom",children:e.jsx(qt,{children:e.jsx(xt,{label:t,size:"standard",variant:"secondary",style:{padding:`${o.sp1} 12px`},disabled:n,"data-testid":c,onClick:d=>{d.stopPropagation(),l()}})})}),B=({user:t,isQBO:n,tooltipText:i})=>e.jsx(f,{title:e.jsx($,{tooltipText:i}),style:{padding:`${o.sp1} ${o.sp2}`},maxWidth:"105px",placement:"bottom",children:e.jsxs(zt,{children:[e.jsxs(Gt,{children:[e.jsx(Kt,{}),e.jsx(Jt,{children:n?r.status.reconciledVia:r.status.reconciledBy})]}),n?e.jsx(J,{children:r.status.QBOUser}):t&&e.jsxs(J,{children:[t.firstName," ",t.lastName]})]})}),fe=({bankBalance:t,accountType:n,bankConnection:i,statementStatus:c,lastUpdatedAt:l,fromDrawer:d=!1,onConnectClicked:s,onReconnectClicked:w,isLoading:T,accountId:L,onStatementAddClicked:N,setIsHovering:v})=>{const P=function(h){const C=[];return h!=null&&h==="bank"&&C.push({label:r.menu.bankConnection,value:"bank_connection"}),C.push({label:r.menu.statement,value:"statement"}),C}(n);if(d===!0)return e.jsx(R,{className:"any-text-container",children:I("0,0",t)??p});if(T===!0)return e.jsx(R,{className:"any-text-container",children:p});if(i==="reconnect"){const h=l!=null?`${l.utc(!0).fromNow()}`:p;return e.jsxs(te,{children:[e.jsxs(ee,{children:[e.jsx(ne,{children:e.jsx(f,{title:e.jsx($,{tooltipText:h}),placement:"bottom",style:{padding:`2px ${o.sp2}`},children:e.jsx(oe,{})})}),e.jsx(R,{className:"any-text-container",children:t!=null?I("0,0",t):p})]}),e.jsx(Zt,{"data-testid":j("account-reconciliation-reconnect-button",L),onClick:C=>{C.stopPropagation(),w?.()},children:r.connect.reconnnect})]})}return i==="connected"||c==="uploaded"?e.jsx(R,{className:"any-text-container",children:I("0,0",t)??p}):e.jsx(Xt,{"data-testid":j("account-reconciliation-connect-button",L),onMouseEnter:()=>{v(!0)},onMouseLeave:()=>{v(!1)},children:e.jsx(at,{controller:P.length>0,children:e.jsx(f,{title:r.tooltips.selectSource,style:{padding:`${o.sp1} ${o.sp2}`},maxWidth:"105px",placement:"bottom",children:e.jsx(it,{moreIconType:"custom",customIcon:e.jsx(Yt,{}),options:P,customStyleConfig:{option:()=>({".option-container":{justifyContent:"flex-start"}}),valueContainer:()=>({height:o.sp3,".more-icon":{width:o.sp3,height:o.sp3}})},menuPlacement:"auto",onOptionSelection:h=>{h==="bank_connection"?s?.():h==="statement"&&N?.()},valueToIcon:h=>h==="bank_connection"?e.jsx(re,{}):h==="statement"?e.jsx(de,{}):null})})})})},je=({clearedBalance:t,isLoading:n})=>t!=null&&n===!1?e.jsx(R,{className:"any-text-container",children:I("0,0",t)??p}):e.jsx(R,{className:"any-text-container",children:p}),tt=({tooltipText:t})=>{const n=new x(m.important);return e.jsx(f,{title:e.jsx($,{tooltipText:t}),style:{padding:`${o.sp1} ${o.sp2}`},maxWidth:"105px",placement:"bottom",children:e.jsx(b,{children:e.jsxs(V,{children:[e.jsx(O,{iconColor:n}),e.jsx(M,{children:e.jsx(U,{textColor:n,children:r.status.reconciliationFailed})}),e.jsx(F,{children:e.jsx(Q,{textColor:n,children:r.status.reconcileViaQBO})})]})})})},ye=({status:t,tooltipText:n})=>{const i=new x(m.brandColorGoldDark);return e.jsx(f,{title:e.jsx($,{tooltipText:n}),style:{padding:`${o.sp1} ${o.sp2}`},maxWidth:"105px",placement:"bottom",children:e.jsxs(b,{children:[e.jsx(O,{iconColor:i}),e.jsxs(V,{children:[e.jsx(M,{children:e.jsx(U,{textColor:i,children:t})}),e.jsx(F,{children:e.jsx(Q,{textColor:i,children:r.status.reconcileViaQBO})})]})]})})},et=({tooltipText:t})=>{const n=S(),i=new x(n.colors.grey1);return e.jsx(f,{title:e.jsx($,{tooltipText:t}),style:{padding:`${o.sp1} ${o.sp2}`},maxWidth:"105px",placement:"bottom",children:e.jsx(b,{children:e.jsxs(H,{children:[e.jsx(k,{textColor:i,children:r.status.autoReconInProgress}),e.jsx(k,{textColor:i,children:r.status.isInProgress})]})})})},we=()=>{const t=S(),n=new x(t.colors.grey1);return e.jsx(b,{children:e.jsxs(H,{children:[e.jsx(k,{textColor:n,children:r.status.balanceSyncInProgress}),e.jsx(k,{textColor:n,children:r.status.isInProgress})]})})},be=()=>{const t=S(),n=new x(t.colors.grey1);return e.jsx(b,{children:e.jsxs(H,{children:[e.jsx(k,{textColor:n,children:r.status.statementSyncInProgress}),e.jsx(k,{textColor:n,children:r.status.isInProgress})]})})},$e=({code:t,tooltipText:n,errorMessage:i})=>{const c=new x(m.important),l=ve(t,"list",i);return e.jsx(f,{title:e.jsx($,{tooltipText:n}),style:{padding:`${o.sp1} ${o.sp2}`},maxWidth:"105px",placement:"bottom",children:e.jsxs(b,{children:[e.jsx(O,{iconColor:c}),e.jsxs(V,{children:[e.jsx(M,{children:e.jsx(U,{textColor:c,children:l})}),e.jsx(F,{children:e.jsx(Q,{textColor:c,children:r.status.failed})})]})]})})},A=({showTooltip:t,tooltipText:n})=>t==0?e.jsx(b,{children:e.jsx(K,{children:p})}):e.jsx(f,{title:e.jsx($,{tooltipText:n}),style:{padding:`${o.sp1} ${o.sp2}`},maxWidth:"105px",placement:"bottom",children:e.jsx(b,{children:e.jsx(K,{children:p})})}),$=({tooltipText:t})=>e.jsxs(ae,{children:[e.jsx(ie,{children:r.tooltips.lastUpdated}),e.jsx(ce,{children:t})]}),Ce=({statementStatus:t,statementParseInProgress:n,bankStatusCode:i,connectionInProgress:c})=>{let l=t==="uploaded"||n===!0?e.jsx(ue,{}):null;return l=i==="connected"||i==="reconnect"||c===!0?e.jsx(le,{}):l,e.jsx(se,{className:"bank-icon-container",children:l})},ve=(t,n,i)=>{if(i!=null&&n==="drawer")return i;let c="";switch(t){case"parsing_failed":default:c=r.status.statementParseError;break;case"validation_failed":c=r.status.statementValidationFailed;break;case"processing_failed":c=r.status.statementProcessingFailed}return n==="drawer"&&(c=c+" "+r.status.failed),c};export{vt as B,fe as C,Se as D,ve as E,Ie as N,We as R,he as f,u,je as w};
|