@zeniai/web-cockpit-ui 1.15.18-qa → 1.15.19-qa
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-BrjUad4D-DVu0c3WC.js → ACHDetailsPage-Bj4J02PO-5bQVeLTZ.js} +1 -1
- package/dist/assets/{AIPerformancePage-Dx1ituql-Dt1NFIpI.js → AIPerformancePage-kqP-8GTq-C5zqFr_Q.js} +12 -12
- package/dist/assets/AccountInfoPage-Bl-lXVdR-IEIg0T6L.js +18 -0
- package/dist/assets/{AccountInfoPageContent-BQxwZcii-CS_H3L-b.js → AccountInfoPageContent-BfoA1Gse-CjIP4Ajb.js} +10 -10
- package/dist/assets/AccountLockedInfoModal-CapmN1xL-Dn645V6y.js +59 -0
- package/dist/assets/{AccountReconDetailsDrawerPage-DuI7qAkr-C4C6O4Rx.js → AccountReconDetailsDrawerPage-y7iV6_PQ-fsG7lU7e.js} +16 -16
- package/dist/assets/{AccountRow-D3aEGfjh-Bqr3BTQn.js → AccountRow-BNdGXZbT-Er5W8HNt.js} +11 -11
- package/dist/assets/{AccountsPromoCardStack-BrTIGRUz-ULXHulA_.js → AccountsPromoCardStack-BxQc3Ksg-DZSwCIoI.js} +35 -35
- package/dist/assets/AddAddressForCardDrawer-DAcT8-PD-jYlWAGap.js +6 -0
- package/dist/assets/{AddToWalletPage-DWMdtsY0-uqQpP9cI.js → AddToWalletPage-CY-2tfXj-RZn_83kH.js} +18 -18
- package/dist/assets/{AgingReportsPage-CeFWs8X1-CescBHEQ.js → AgingReportsPage-DG-IzhqU-DIcJWrHJ.js} +4 -4
- package/dist/assets/{AllUserItems-PN_oWzOC-B6w7a_KZ.js → AllUserItems-BLdx0SLb-Djqenjam.js} +4 -4
- package/dist/assets/{ApAgingDetailPage-CQtY9j4b-CtrITpbK.js → ApAgingDetailPage-UhXmkAke-BMohrdFu.js} +5 -5
- package/dist/assets/{AppBasePage-D0S7OYzO-BI_IMjAn.js → AppBasePage-BdqHkxAE-BKPDVP16.js} +11 -11
- package/dist/assets/{AppDrawerContent-TIRPcJoE-Drtb9Pe5.js → AppDrawerContent-DLLABFVO-B4Gb2IdT.js} +7 -7
- package/dist/assets/{ApprovalRulesSettingsPage-CosIHJ5R-BdHNTl09.js → ApprovalRulesSettingsPage-2Xy362hA-CV4PTAjc.js} +3 -3
- package/dist/assets/{ArAgingChart-CiNirxU7-DCzAffbb.js → ArAgingChart-DUyxm4oV-Kin5PKbj.js} +1 -1
- package/dist/assets/{ArAgingDetailPage-CKBOlCcF-Dnej6L7o.js → ArAgingDetailPage-BtKh2Y7T-B8OjrDzg.js} +4 -4
- package/dist/assets/{AttachmentView-MqDuu6PB-DMzTqafr.js → AttachmentView-gjYAbjdi-B5NfVW4t.js} +2 -2
- package/dist/assets/{BankAccountSection-DXFRyqzV-BKGsFhsO.js → BankAccountSection-DQcfhQLN-B1I159-x.js} +3 -3
- package/dist/assets/{BankAccountWarningSection-DJhHTBuh-BMc0TGng.js → BankAccountWarningSection-XMpgCYBF-D_LpOiCY.js} +8 -8
- package/dist/assets/{BankConnectionsSettingsPage-CQe2upIp-BH5DIeHv.js → BankConnectionsSettingsPage-Bi5QjRHp-CWKicHqa.js} +33 -33
- package/dist/assets/{BillDetailPage-B0ajOYxz-Cpg19lL9.js → BillDetailPage-CgEXd2T5-KSdeK2Va.js} +9 -9
- package/dist/assets/{BillPayApprovalRuleDetailPage-BcWQYqjU-CD-1QuAA.js → BillPayApprovalRuleDetailPage-CPKMjF0R-BUetF8W6.js} +1 -1
- package/dist/assets/{BillPayApprovalRulesPage-mS00kg1n-B-sz1lYr.js → BillPayApprovalRulesPage-CFJpmXE7-D6OhW1zd.js} +9 -9
- package/dist/assets/{BillPayPromoPage-tUxWWqMY-VNLboU15.js → BillPayPromoPage-nRHevclA-7ZGtQxPK.js} +7 -7
- package/dist/assets/{BillPaySetUpPage-w47HuYkp-DeV6Tzem.js → BillPaySetUpPage-ynmgaK8Y-CORY4suE.js} +2 -2
- package/dist/assets/{BillingSettingsPage-Bsm7ZzIW-Cx8DHvc4.js → BillingSettingsPage-BNEvt1HK-MPw_we_5.js} +6 -6
- package/dist/assets/{BillsBulkReviewDrawerPage-DdI0OCuE-BRvOFNLD.js → BillsBulkReviewDrawerPage-D6tbE3BQ-Bx9Vx78q.js} +1 -1
- package/dist/assets/BoxItem-BdgRTwgI-DoT4J95B.js +53 -0
- package/dist/assets/{BusinessVerificationPage-p1cUyL8l-BN8WKgww.js → BusinessVerificationPage-CU38xCol-Bn2eHWOj.js} +10 -10
- package/dist/assets/{CardNumberSubText-yVfOUJpr-D5XQ2n29.js → CardNumberSubText-g2_GoH9f-DiToEVOL.js} +7 -7
- package/dist/assets/{CashbackDetailPage-DAX8aTFq-YW4WJIzs.js → CashbackDetailPage-SvujpPEs-CDMEUeDC.js} +17 -17
- package/dist/assets/{ChargeCardDetailPage-CTdVu2LX-DSwgzTlc.js → ChargeCardDetailPage-oaVwvFKq-C2cEkUPw.js} +35 -35
- package/dist/assets/{ChargeCardListPage-BTf2sf_r-C5-L9_Qa.js → ChargeCardListPage-CGyxQ8Dx-CBZ97kKZ.js} +19 -19
- package/dist/assets/{ChargeCardListTable-DEYusOGZ-MtRV5Xl2.js → ChargeCardListTable-DKQnkAJ7-IgvFayNj.js} +30 -30
- package/dist/assets/{ChargeCardPaymentHistoryPage-BhIiSigy-ID1bA4EQ.js → ChargeCardPaymentHistoryPage-JxdV2F32-COvpL0UK.js} +17 -17
- package/dist/assets/{ChargeCardPromoPage-SMg6Bkmx-BjPNbBgU.js → ChargeCardPromoPage-BM7oOdWh-Cv83KpJa.js} +10 -10
- package/dist/assets/{ChargeCardSetupPage-8jA-EjWA-DbKEc3_7.js → ChargeCardSetupPage-DqjFBKb_-Bw8Uyiv_.js} +4 -4
- package/dist/assets/{ChargeCardStatementsPage-CrsqrTNw-DVYrYQ2b.js → ChargeCardStatementsPage-DKicQRml-DkEWhu4y.js} +4 -4
- package/dist/assets/{CheckDepositDrawerPage-BnMEa1gU-73A9vEEw.js → CheckDepositDrawerPage-BoMMC-PD-MwEdvxt0.js} +12 -12
- package/dist/assets/{CollapsableReportTable-BQsDuqwg-sJm6L2DR.js → CollapsableReportTable-CvAF66CY-CXkB4BYQ.js} +1 -1
- package/dist/assets/{CompanyOfficerDetailsSection-CxeWrQJH-GcFrHlFv.js → CompanyOfficerDetailsSection-ClnGjHwL-BuwPPb5G.js} +7 -7
- package/dist/assets/{CompanyPassportCard-DUX32IvW-Dpt7-JOV.js → CompanyPassportCard-De1ZqCMC-DIpTTQj9.js} +5 -5
- package/dist/assets/{CompanyPassportPage-Cp0oulai-Ci73yqJY.js → CompanyPassportPage-6281ivzv-C1npzaak.js} +24 -24
- package/dist/assets/{CompleteProfile-BdeEu2dc-BmnFGLZV.js → CompleteProfile-C4YhvWhe-BGPioJRA.js} +2 -2
- package/dist/assets/ConfettiBurst-CR98FGfH-5bJmFmHv.js +1 -0
- package/dist/assets/{ConstrainedInnerElement-BeIpAPjB-BtrsEIyp.js → ConstrainedInnerElement-BeIpAPjB-B52Kecnv.js} +1 -1
- package/dist/assets/{CreateOrEditVendorPage-iFE1nb0J-BvIeaRhj.js → CreateOrEditVendorPage-Dfq0ydKc-D9FBZgAJ.js} +6 -6
- package/dist/assets/{CreditCardPaymentDrawerPage-CaTanv1T-BhpaEGCu.js → CreditCardPaymentDrawerPage-D8Rs6j9F-Cp2TW8rU.js} +6 -6
- package/dist/assets/{CurrencySelectField-BNcLy0zv-div466fS.js → CurrencySelectField-dqih82Wa-n9112nND.js} +2 -2
- package/dist/assets/{CustomerOnboardingActivationPage-D_0kSaYs-DTK1WHyA.js → CustomerOnboardingActivationPage-CPhBnk1y-BV7ak8uY.js} +3 -3
- package/dist/assets/CustomerOnboardingContainerPage-Dn7vOa-2-03HK_DtS.js +1 -0
- package/dist/assets/{CustomerOnboardingDetailPageSkeleton-B1jJ1XJX-B-4hMoXO.js → CustomerOnboardingDetailPageSkeleton-D92o0cYb-CEZfYP62.js} +4 -4
- package/dist/assets/{CustomerOnboardingNoStepsPage-CyxHQxxQ-BZDgR2I2.js → CustomerOnboardingNoStepsPage-D-TyXZjQ-e32UrLvs.js} +2 -2
- package/dist/assets/{CustomerOnboardingPage-Cj_k0rfN-De0GRQSb.js → CustomerOnboardingPage-D8s20fEH-DGEI9jfd.js} +10 -10
- package/dist/assets/{CustomerOnboardingProductSuitePage-BPRN6xyM-CeViDZfk.js → CustomerOnboardingProductSuitePage-B7v5nYAw-B73EIEqt.js} +4 -4
- package/dist/assets/{Dashboard-DYpE_H2b-BOm3oeZY.js → Dashboard-DLhx6D0s-CfOkjovb.js} +1 -1
- package/dist/assets/{DashboardReportPage-BB6dW8kR-DNxVpy_r.js → DashboardReportPage-G-hbFFVd-eKEs3T3P.js} +9 -9
- package/dist/assets/{DashboardSidebarBackgroundAnimation-DDLCSC57-Ao5s0Ihd.js → DashboardSidebarBackgroundAnimation-Dhb4iV2T-HdhAaAGg.js} +1 -1
- package/dist/assets/{DepositAccTransactionItem-CxXM_Pse-D1S7x3dN.js → DepositAccTransactionItem-6BPvYynA-BAoN274S.js} +2 -2
- package/dist/assets/DepositAccTransactionListPage-CYqVm1Rm-CZ7qEOqK.js +66 -0
- package/dist/assets/{DomesticWireDetailsPage-CswDexXc-BJIW-QwA.js → DomesticWireDetailsPage-BOza2O-8-CkYl73ce.js} +1 -1
- package/dist/assets/{DownloadOverlay-Ck84lTok-aSFJ0c0d.js → DownloadOverlay-cbNihDeI-CWW1V8Fm.js} +1 -1
- package/dist/assets/{DrawerPage-Ctqr9Qke-URUnxXcO.js → DrawerPage-DhT58SBb-U_OZUaqD.js} +3 -3
- package/dist/assets/EditPeoplePage-BLNgVf-0-CS_yjigp.js +55 -0
- package/dist/assets/{EditReimbursementDetailPage-DHIg51AQ-Cnw1XcOG.js → EditReimbursementDetailPage-DmApxq-q-CL9ZUxyd.js} +61 -61
- package/dist/assets/{EntityDetailPage-BsCWH1Al-BK7eayl1.js → EntityDetailPage-CvgcTamk-C3MvjVDe.js} +4 -4
- package/dist/assets/{EntitySummarySection-ntuao-VM-C84QCGM6.js → EntitySummarySection-C82U-rtJ-CLXbwOFr.js} +6 -6
- package/dist/assets/{ExpenseAutomationOverviewPage-lptxncga-DTeGK-kQ.js → ExpenseAutomationOverviewPage-Bgibjb2E-BrXiSVUS.js} +10 -10
- package/dist/assets/{ExpenseAutomationPage-S1iaOuA5-B4nJhT16.js → ExpenseAutomationPage-Be5-Yt8w-DJTe-iN8.js} +36 -36
- package/dist/assets/{ExpressPayPage-3UaLqRo7-CeTmD7E_.js → ExpressPayPage--mCSxEVH-CAOsgzYN.js} +10 -10
- package/dist/assets/{FeaturePreviewPage-CLHp1LHp-BnVQMdv0.js → FeaturePreviewPage-CFVDZyby-C7y50bY9.js} +2 -2
- package/dist/assets/{FollowStepsSection-BY0dw_SN--Q4GHF9c.js → FollowStepsSection-CVWuuidV-DuYwNg3j.js} +18 -18
- package/dist/assets/{GlobalReviewListPage-CltHFSzG-DSp6h9aU.js → GlobalReviewListPage-vkNEl7d8-CLg0RZ3E.js} +14 -14
- package/dist/assets/{InformationCardStack-CVoS_Bni-Ck8YsiKW.js → InformationCardStack-LF_aKhhL-ByqoCmBT.js} +5 -5
- package/dist/assets/{InsightsCardStack-YcKupOZZ-CSJtH4A8.js → InsightsCardStack-BIcK-jeU-sQRlAmC0.js} +13 -13
- package/dist/assets/{InsightsSection-BuCEgcAh-GnlaYKZ_.js → InsightsSection-CIpbIEbv-CXKtXxcq.js} +1 -1
- package/dist/assets/{IntegrationsSettingsPage-r_VwvwxS-CVRHv-Ie.js → IntegrationsSettingsPage-CjP_3pkI-PLnu82uT.js} +3 -3
- package/dist/assets/{InternationalWireSwiftDetailsPage-B2x6g-rb-D21vi6Sz.js → InternationalWireSwiftDetailsPage--xhtyYY7-DTuZgaJ3.js} +7 -7
- package/dist/assets/{InternationalWireVerificationPage-B-sxkGbq-DhsQ7fQT.js → InternationalWireVerificationPage-BpvZr-WI-CWDfpLWx.js} +7 -7
- package/dist/assets/{InviteFormPage-CrFWGpJE-86vzu8WF.js → InviteFormPage-9NFX-MhQ-YfJU6s0W.js} +9 -9
- package/dist/assets/{InvitePageListView-BsGwCg5B-DFVe3Ibq.js → InvitePageListView-B-cAYAEj-B5HeRpYl.js} +40 -40
- package/dist/assets/{InvitePeoplePage-D0-MjKb2-BK8Ukfta.js → InvitePeoplePage-_lENDcHE-DKccpE94.js} +2 -2
- package/dist/assets/{InvoiceUploadSection-BUF7Ko_U-3g_GggvD.js → InvoiceUploadSection-Md8EHqPI-CXX_X8iC.js} +1 -1
- package/dist/assets/{IssueChargeCardPage-D5sn5jt4-bqK6aCuV.js → IssueChargeCardPage-DlBHg90l-B9JcphgO.js} +14 -14
- package/dist/assets/{LabeledAddressValue-Ds1BeyG_-Bf5S3Y19.js → LabeledAddressValue-BRVf6Gy8-C-XtTcW7.js} +1 -1
- package/dist/assets/{LabeledAddressValueField-D_Ztmm7--Bvi_g-V-.js → LabeledAddressValueField-Dm962nbv-BOwcKSVw.js} +3 -3
- package/dist/assets/{LabeledControlledCheckBoxField-DGV1Bz6o-O1RvYLy5.js → LabeledControlledCheckBoxField-AuHfNy1--DWGEcsrr.js} +1 -1
- package/dist/assets/{LabeledCreatableSingleSelectField-CTmUlcyk-99oSpLd_.js → LabeledCreatableSingleSelectField-CZzPQt4P-Cw36ioKI.js} +1 -1
- package/dist/assets/{LabeledDocumentField-BwHjf12U-BbHVIemM.js → LabeledDocumentField-Cj3wNN-j-DJGYRs8N.js} +1 -1
- package/dist/assets/{LabeledDropDownFormattedTextField-BaAHosJI-Cqs01SSL.js → LabeledDropDownFormattedTextField-DKi8UjgP-OB7c9IT9.js} +2 -2
- package/dist/assets/{LabeledText-CVYTNBOt-B3czXRQl.js → LabeledText-C-8itgDI-BAbxCJfJ.js} +1 -1
- package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-CnK0wLL0-cXxhJQvr.js → LabeledUserSingleSelectWithSubtitlesField-CyEiLq7_-D9R8iyTE.js} +5 -5
- package/dist/assets/{LabeledZeniRolesDropDownField-B2eu9WQ_-_yYwUBUy.js → LabeledZeniRolesDropDownField-CoQcMW_--DmmEJP7I.js} +8 -8
- package/dist/assets/{LinkJETransactionPage-DTU4Piv4-GSgL7s8y.js → LinkJETransactionPage-aTmlEn-Z-B0y8NGqt.js} +10 -10
- package/dist/assets/{LockCardPage-9rnmj-hG-CiEUnWU1.js → LockCardPage-nJeB0vKv-C3oBQOpt.js} +45 -45
- package/dist/assets/{LowBalancePopup-CCl7fzh9-BqHHkJTM.js → LowBalancePopup-aFCQSDc_-BXgUP9qb.js} +1 -1
- package/dist/assets/MagicLinkACHDetailsPage-CkEC7bfy-FfljbMRI.js +1 -0
- package/dist/assets/MagicLinkDomesticWireDetailsPage-DXqRDZvA-CzCAshO2.js +1 -0
- package/dist/assets/MagicLinkInternationalWireDetailsPage-CegOSNsV-QVO9JvfG.js +1 -0
- package/dist/assets/MagicLinkSuccessPage-RxCflvAg-DffG8Rs_.js +31 -0
- package/dist/assets/{MagicLinkTitleSection-ClWFjqQr-BrtJj4Tz.js → MagicLinkTitleSection-CYaOQsiQ-CW0ARL7g.js} +3 -3
- package/dist/assets/MailingDetailsSection-KUvjhmZC-DoiGHr2V.js +21 -0
- package/dist/assets/{MyBankConnectionsSettingsPage-BC47a22v-Y8S0squG.js → MyBankConnectionsSettingsPage-SlfAD_ec-z7TeEZOF.js} +7 -7
- package/dist/assets/{MyPendingActivationChargeCardListPage-BJ_kQQGd-CPeJ9MgF.js → MyPendingActivationChargeCardListPage-BShzFR0m-D-1kMBzB.js} +1 -1
- package/dist/assets/{MyProfileSettingsPage-C70z69ea-Bn-oEdl7.js → MyProfileSettingsPage-CzGU1Gx7-2EW8MhJi.js} +11 -11
- package/dist/assets/{NavBarWithPicker-CRQ9DzK7-DeXdumSu.js → NavBarWithPicker-NJ3tm2MI-yKglVIWG.js} +4 -4
- package/dist/assets/{NavigationArrow-CWRgkV1y-DGuYRue3.js → NavigationArrow-B145tYV_-acY_dLzm.js} +1 -1
- package/dist/assets/{NavigationDots-BDKBgUe6-D6OiIpc_.js → NavigationDots-DaOFOsFA-CZ9NLt89.js} +1 -1
- package/dist/assets/{NewGlobalMerchantPage-B_mViG5F-DJDTV5Bu.js → NewGlobalMerchantPage-YTsNL6iu-Ded87fmb.js} +33 -33
- package/dist/assets/{NoDataChart-CJyaj_wD-CLCfggTW.js → NoDataChart-C7YUwwui-CX1xSHk3.js} +2 -2
- package/dist/assets/NoDataTable-DolCx6QR-DbxRhQ4P.js +8 -0
- package/dist/assets/{NotFoundPage-B-CdwYLM-CKuMR38Q.js → NotFoundPage-BBnisozE-B6jPSXAV.js} +7 -7
- package/dist/assets/{NotificationSettingsPage-DrMp-0h0-DVnr2vZM.js → NotificationSettingsPage-DPg3FvvD-7TnktAEa.js} +21 -21
- package/dist/assets/{NotificationsListConfig-Cl713fZg-B--pN0t0.js → NotificationsListConfig-BkOX8iIv-CZGvbpSf.js} +1 -1
- package/dist/assets/{NotificationsPage-Dh4xulau-smvSlE_7.js → NotificationsPage-BUhLO_r9-_a3Jfw-7.js} +1 -1
- package/dist/assets/{OpExByVendorPage-BslfnDh3-BJLp4ZLq.js → OpExByVendorPage-CHY5zg69-DROFxHuS.js} +20 -20
- package/dist/assets/OverlayContainerPage-D4QU0p4o-BdcL3nS4.js +11 -0
- package/dist/assets/{PandLWithForecastPage-BYnaGvO3-ClLqFtVo.js → PandLWithForecastPage-CeQr3WjJ-CIvhBp-o.js} +3 -3
- package/dist/assets/{PaymentAccountSetupBillingAddressSection-CR6xX1bB-DNewQkOJ.js → PaymentAccountSetupBillingAddressSection-B6xSczs6-C5ilR7We.js} +1 -1
- package/dist/assets/{PeoplePage-BRC7-Yol-B1vXMbU8.js → PeoplePage-fCF4vkUp-Dk5XV0UZ.js} +25 -25
- package/dist/assets/{Preview-Db4b5z-L.js → Preview-DdGpXRcB.js} +1 -1
- package/dist/assets/{ProductsCarousel-BgltUKwq-Bcl679ug.js → ProductsCarousel-rA-O8_7D-CHTHsFrv.js} +6 -6
- package/dist/assets/{PromoBaseCards-DMleWayu-BWK8Hl9V.js → PromoBaseCards-C37GX90J-BURsxOIg.js} +3 -3
- package/dist/assets/{QBOConnectionDialog-BSKkJDPD-CA_heqte.js → QBOConnectionDialog-Dwog9AYZ-Dsd5As8K.js} +4 -4
- package/dist/assets/{QBOSetupSection-YQ4TKOTA-BiZsedzI.js → QBOSetupSection-uV3w7rHW-WTbx1d6-.js} +4 -4
- package/dist/assets/ReimbursementApprovalRuleDetailPage-CPZfTMx--C43EETXP.js +32 -0
- package/dist/assets/{ReimbursementApprovalRulesPage-DQDbyY1K-BsQBNWDY.js → ReimbursementApprovalRulesPage-IGpmh9zA-CP-7P45H.js} +4 -4
- package/dist/assets/{ReimbursementDetailPage-gAg8C98b-C67lcEXb.js → ReimbursementDetailPage-CnzK17M4-tLBpVpG4.js} +3 -3
- package/dist/assets/{ReimbursementPromoPage-DtKtr2rP-Dg6olzyI.js → ReimbursementPromoPage-DSfL54Md-B19_3Fi5.js} +4 -4
- package/dist/assets/{ReimbursementSetUpPage-BdUoR2HM-C6yi61Sl.js → ReimbursementSetUpPage-BoTn3JKw-UDZfM1E_.js} +8 -8
- package/dist/assets/{ReimbursementsBulkReviewDrawerPage-BL6oI4fi-CBxqctty.js → ReimbursementsBulkReviewDrawerPage-DBc7LS-n-C6hEoccM.js} +1 -1
- package/dist/assets/{ReloadCard-B3OtOvVI-C3x9vrdG.js → ReloadCard-B5rmmfva-DqI42rd1.js} +3 -3
- package/dist/assets/{ReportTableViewSelector-Cmv2xs7h-1VEhBO1Q.js → ReportTableViewSelector-0OEScWmm-Db01I5Ia.js} +29 -29
- package/dist/assets/{ReportsPage-SWC6uIs--Dh5kXMlO.js → ReportsPage-BTkakKPX-BBpPwAtD.js} +6 -6
- package/dist/assets/{RevenueChart-CZlAswBG-wAQAE3oU.js → RevenueChart-Ba8ZLje8-CCNpfivj.js} +15 -15
- package/dist/assets/{ReviewDetailsPage-BW3pZ3ws-BdPCHCud.js → ReviewDetailsPage-BQDrm2yR-Dmxv17uo.js} +17 -17
- package/dist/assets/{ReviewOverlay-BhFwGG6t-BX9_V7mr.js → ReviewOverlay-8tBBKn9R-DDscqGLO.js} +5 -5
- package/dist/assets/RoleWithToolTip-YZusZfiJ-Y7On6DHT.js +22 -0
- package/dist/assets/{ScheduleDetailsFixedAssetsPage-CdmehDsJ-B5_YsYgB.js → ScheduleDetailsFixedAssetsPage-BN9hFnGC-D6cKDMw2.js} +13 -13
- package/dist/assets/{ScheduleDetailsPage-DA1eGkzI-BMydzX2w.js → ScheduleDetailsPage-DAr4tXe_-0wK5xHaK.js} +3 -3
- package/dist/assets/{ScheduleSequenceTable-BvGIwZmi-D7qMwAGE.js → ScheduleSequenceTable-DUfu-c6e-D0UXUw9v.js} +12 -12
- package/dist/assets/{ScreenRoutes-DDpZSUL_.js → ScreenRoutes-DegllDrt.js} +1 -1
- package/dist/assets/{SetUpAccountSection-DM4CvIFN-9Hc1EHt9.js → SetUpAccountSection-DqW4vmsx-CbQD91uP.js} +6 -6
- package/dist/assets/{SignIn-DU3HuwJr-DNrEbsRr.js → SignIn-CCqNj3tG-DGClXSCH.js} +17 -17
- package/dist/assets/{SignInScreen-BmjyEVe2.js → SignInScreen-kCKCzAZl.js} +1 -1
- package/dist/assets/{SpendManagementListViewPage-VR4dPKBw-DE4c8o5w.js → SpendManagementListViewPage-s4dPd5hE-DGFIomhx.js} +11 -11
- package/dist/assets/{SpendManagementPerTabPage-CdYRrtcC-RadaAbCP.js → SpendManagementPerTabPage-NWc7uqw6-C30PV9Mi.js} +45 -45
- package/dist/assets/{SpendManagementSection-C2Uw6UXF-MNub63uc.js → SpendManagementSection-eYrLZK1E-CeI74JmT.js} +17 -17
- package/dist/assets/StatementItem-CKK9vnC7-CL5kzv2P.js +31 -0
- package/dist/assets/StatementsPage-C0wI_tRw-CIs4UekQ.js +58 -0
- package/dist/assets/{StatusSwitcher-RY35Qzlp-oQrJGXDs.js → StatusSwitcher-DFluM61E-C_oGgir6.js} +1 -1
- package/dist/assets/{SubTabSwitcher-CIhSt1_V-CoZl86-V.js → SubTabSwitcher-Cin8x7wg-C6dfLDyE.js} +1 -1
- package/dist/assets/{SummaryCard-iIQISRZL-B7O4xItW.js → SummaryCard-Bcw6fQTD-De1Q7pOh.js} +1 -1
- package/dist/assets/{TaskManagementPage-CCC1QlZS-JBvE-T25.js → TaskManagementPage-B9qW2lvP-BsO7Xkki.js} +9 -9
- package/dist/assets/{TimeRangeSwitcher-BIA3BW1g-rSuMPQyC.js → TimeRangeSwitcher-u57rzf78-Cxjrr9VH.js} +1 -1
- package/dist/assets/{TimeframeSwitcher-BhV0yrj0-BL8zVwr7.js → TimeframeSwitcher-ClE4GOKf-DlXQUzBt.js} +1 -1
- package/dist/assets/{TimeframeSwitcherWithToggle-CIAZXHb2-E3MJxBK4.js → TimeframeSwitcherWithToggle-COre57iX-fIr5NJWO.js} +2 -2
- package/dist/assets/{TopExCard-CPsxq74q-C49y6jG2.js → TopExCard-DF3x7jLh-adV6z_sb.js} +6 -6
- package/dist/assets/{TopExDetailPage-BGoq66Fs-CwwMwMZI.js → TopExDetailPage-DmFsRNbY-5xgu1-_x.js} +5 -5
- package/dist/assets/{TransactionActivityLogPage-BW-qVpWu-bhkIBdNi.js → TransactionActivityLogPage-BJWKx4q0-BIHIekKU.js} +3 -3
- package/dist/assets/{TransactionDetailPage-D0tW8GIH-8Bjw7ASm.js → TransactionDetailPage-mtNlJQ2B-CL-YUF8i.js} +26 -26
- package/dist/assets/{TransactionList-T8gAOJc0-DRcmo7fh.js → TransactionList-CLb6vsAw-B4dsXaKw.js} +12 -12
- package/dist/assets/{TransactionListBig-CMjxUKt2-CTjRdpZ2.js → TransactionListBig-BzBXZp6s-CY8oV57P.js} +7 -7
- package/dist/assets/TransactionListPage-DoQrIKK0-Cy3_CMrL.js +35 -0
- package/dist/assets/{TransactionVendorDetailPage-Ca7bgryb-BV3oKA_A.js → TransactionVendorDetailPage-D-wSEk3k-Cx9Dgf5r.js} +3 -3
- package/dist/assets/{TransferDrawerPage-DG6q94Ch-pu0vH6ck.js → TransferDrawerPage-j8FDHpig-Dk-6O3eE.js} +29 -29
- package/dist/assets/{TreasuryOverviewPage-YNlUL3px-jVPZLuau.js → TreasuryOverviewPage-2U807bhy-npsOrqEU.js} +24 -24
- package/dist/assets/{TreasuryPromoPage-CBSYXvme-O_7jR4ww.js → TreasuryPromoPage-BYXuV9oH-CFpHw-iR.js} +13 -13
- package/dist/assets/TreasuryStatementsPage-CeaExx3z-D9kx1ij_.js +58 -0
- package/dist/assets/{TreasuryTaxLetterPage-Bln01PPe-CZAVerE4.js → TreasuryTaxLetterPage-BrBEeHG1-CpNgrmJX.js} +2 -2
- package/dist/assets/{TrendChart-DjKmnpsm-CNJiy6SH.js → TrendChart-D0GWCIs5-BaUK0mmy.js} +1 -1
- package/dist/assets/{TrendWithTransactions-D2CSrQJG-DZA3eMEF.js → TrendWithTransactions-DcCilwfx-Ph-o990t.js} +3 -3
- package/dist/assets/{UncategorizedAccountsMappingPage-BhgJFJvY-CiZ1MRsE.js → UncategorizedAccountsMappingPage-D5oo8UHa-DUAXpb5R.js} +13 -13
- package/dist/assets/{UnitIntegrationPage-CtNIGtOS-tpf5stHB.js → UnitIntegrationPage-BQp7NQLB-DsdV_oG1.js} +6 -6
- package/dist/assets/{UploadAdditionalDocumentOverlay-D44jXTDW-Bm2et-3G.js → UploadAdditionalDocumentOverlay-DvAwuTYB-Da3Sxorn.js} +1 -1
- package/dist/assets/Vendor2FAPopup-BVuTJ4jh-PFjgFjDb.js +1 -0
- package/dist/assets/VendorACHDetailsPage-DkXoubZC-DUH9JX4U.js +1 -0
- package/dist/assets/{VendorDetailPage-DRr5ci0V-lRn5ho6w.js → VendorDetailPage-BNr0Z5jN-C6L5nArY.js} +23 -23
- package/dist/assets/VendorDomesticWireDetailsPage-CaaOskIa-Cqlerukj.js +1 -0
- package/dist/assets/{VendorFiling1099EditablePage-C6mptSEx-DKIY5sFf.js → VendorFiling1099EditablePage-D2_NM9OH-BwvgrAC0.js} +38 -38
- package/dist/assets/{VendorFirstReviewPage-CLBTSreq-N_OixmZA.js → VendorFirstReviewPage-DxhhgmEm-D-s1WA1i.js} +17 -17
- package/dist/assets/{VendorInternationalWireDetailsPage-oMdWj41X-A8ODxGa-.js → VendorInternationalWireDetailsPage-CUIOT8vU-BfhdFUn5.js} +9 -9
- package/dist/assets/VendorInternationalWireSwiftDetailsPage-Dq9K171L-DMrht_UW.js +1 -0
- package/dist/assets/{VendorsAccountsSection-Cr_m8Jyi-0Qp4rq2N.js → VendorsAccountsSection-eef70mQn-DDcjHC_W.js} +1 -1
- package/dist/assets/{VerifyDevice-DrXK_7gG-Dn8Ayek5.js → VerifyDevice-CMvsjley-Cy7ekRjJ.js} +12 -12
- package/dist/assets/{VideoPlayer-BZe4PqnR-Dkxm8OQa.js → VideoPlayer-DKSZUXeK-G-DVqLJ8.js} +2 -2
- package/dist/assets/{VideoPopup-BaEQAfak-zc_xVUAu.js → VideoPopup-BG0G1trN-D7T8_Pf_.js} +3 -3
- package/dist/assets/{WarningsDrawerPage-COJ1hjAD-BDGnJbmR.js → WarningsDrawerPage-g_KTQdH7-BKyfhwAU.js} +8 -8
- package/dist/assets/{ZeniAccountDetailPage-Chx3JWsc-Dh8FGA44.js → ZeniAccountDetailPage-LkheAcW_-NndZJLXF.js} +18 -18
- package/dist/assets/{ZeniAccountListViewPage-6RhsoQzy-BBKCpzS8.js → ZeniAccountListViewPage-DVQHT8ma-CI_py4gJ.js} +1 -1
- package/dist/assets/{ZeniAccountNavBarPieces-10K_Qgxx-DWCqbyAV.js → ZeniAccountNavBarPieces-_Xr6q9sA-DDhqjUr7.js} +4 -4
- package/dist/assets/{ZeniAccountPromoPage-ClXA4h8f--uJJOW-F.js → ZeniAccountPromoPage-C3LR6klI-BF-6T8Q6.js} +8 -8
- package/dist/assets/{ZeniAccountSetupPage-7YlBF0nq-jwzQWSDs.js → ZeniAccountSetupPage-BtWnNkH7-DEBlNhU6.js} +2 -2
- package/dist/assets/{ZeniCopyright-k2F7p5Nn-UlYiTzda.js → ZeniCopyright-D36dbFYs-xb8aml_t.js} +1 -1
- package/dist/assets/{ZeniTransferAmountSlider-CJY_ei3T-DYnBkBGW.js → ZeniTransferAmountSlider-BYbDaVKJ-Cb4YqbaB.js} +1 -1
- package/dist/assets/{add-to-wallet-DgdBD8_G-31qE8sbQ.js → add-to-wallet-DgdBD8_G-DZHQ2GJs.js} +1 -1
- package/dist/assets/{analytics-C4ZEAnU7.js → analytics-CwsxjKn5.js} +1 -1
- package/dist/assets/analyticsHelper-6iEbPbsu.js +1 -0
- package/dist/assets/{analyticsHelper-e2zBYls0-Dvw2IXmr.js → analyticsHelper-C4PZ1Adh-CH5jBJ37.js} +1 -1
- package/dist/assets/{arrow-south-east-round-PEovUgvH-RFK5ZfVF.js → arrow-south-east-round-PEovUgvH-lp1GYKjJ.js} +1 -1
- package/dist/assets/{auto-transfer-rule-mbafm5D3-3HkGI8i2.js → auto-transfer-rule-mbafm5D3-BgyZ4Mwm.js} +1 -1
- package/dist/assets/{chartTypes-D0t0a86R-BGcgLYNl.js → chartTypes-Bf1-edD8-BBCxOnX-.js} +1 -1
- package/dist/assets/{commonDimensions-BwCds81U-B_oOkA-X.js → commonDimensions-B60Qkfnz-B_54f5Yz.js} +1 -1
- package/dist/assets/{constants-CV58qqTz.js → constants-DnCXmy9l.js} +1 -1
- package/dist/assets/{core-wqFBlxng.js → core-Bicy8isU.js} +1 -1
- package/dist/assets/{dash.all.min-C8_0GLZL.js → dash.all.min-DvkW41v4.js} +1 -1
- package/dist/assets/{detailCommon-CFEglqRw-DsNpAynS.js → detailCommon-B4aI_98A-B-4Wmp4Z.js} +6 -6
- package/dist/assets/{downloadPdf-BfjQscZh-DCh5sJYq.js → downloadPdf-DVqVkV_p-BLg53H6Z.js} +1 -1
- package/dist/assets/{empty-Dpo74x3U.js → empty-Bgc1xSLA.js} +1 -1
- package/dist/assets/{empty-J6XEjmtN.js → empty-CDOW32Ka.js} +1 -1
- package/dist/assets/{epic-DeVyKDCM.js → epic-6iGEU228.js} +1 -1
- package/dist/assets/{gift-box-Cmt9OgIZ-Bx3r4Rmo.js → gift-box-Cmt9OgIZ-C9u-qVC8.js} +1 -1
- package/dist/assets/{graphic-no-data-l-DU4J8fDt-Bobqy_Dj.js → graphic-no-data-l-DU4J8fDt-Ue71iNme.js} +1 -1
- package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-EzoWZv3m.js → graphic-no-data-net-burn-l-CzmycA0m-MgxSSLSd.js} +1 -1
- package/dist/assets/{handshake-BPg58FML-BsKb6bUZ.js → handshake-BPg58FML-CeRDoPq9.js} +1 -1
- package/dist/assets/{index-CO-bMRwP.js → index-BJX6xSch.js} +1919 -1951
- package/dist/assets/{index-BImriIxC.js → index-BmUOO3Ag.js} +1 -1
- package/dist/assets/{index-DOY_IL-h.js → index-DicT0te1.js} +1 -1
- package/dist/assets/{index-BA8YzNg_.js → index-Dx0repSC.js} +1 -1
- package/dist/assets/{index-CgSbMXsr.js → index-HVTAjkUK.js} +1 -1
- package/dist/assets/{index-B_aJ-4gk.js → index-TyJdDaBU.js} +1 -1
- package/dist/assets/{index-BTHHawqU.js → index-Vf6xU9wg.js} +1 -1
- package/dist/assets/{lexical-BoeLZMBG.js → lexical-BrOuRfla.js} +1 -1
- package/dist/assets/{liveblocks-C_0uFgnE.js → liveblocks-C9oVfUgj.js} +1 -1
- package/dist/assets/{lottie-vX2aCiHC.js → lottie-CflL2Iap.js} +1 -1
- package/dist/assets/mapLoadingInProgressToTreeNode-DuPcSiT5-wvvyOxzL.js +1 -0
- package/dist/assets/{mapSectionWithAcOnlyToTreeNode-D84rlDgo-BXicrSZo.js → mapSectionWithAcOnlyToTreeNode-BZsGUDKa-CzYAGIhQ.js} +1 -1
- package/dist/assets/mapSpacerToTreeNode-br_rslOm--fF6r-75.js +1 -0
- package/dist/assets/mapTimeframeBalancesToTreeNode-9dsEoKql-BSn2Kn5C.js +1 -0
- package/dist/assets/mapTimeframeBalancesToTreeNode-BpOPNyk--BfsZjet4.js +1 -0
- package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-BMNyeJt9-q0Lh1BHn.js +1 -0
- package/dist/assets/{mui-DST9v61R.js → mui-Bx0ZSN8G.js} +1 -1
- package/dist/assets/{page-detail-CWX5S47F-CX2_pnLQ.js → page-detail-CWX5S47F-C4A3Ww3p.js} +1 -1
- package/dist/assets/{panelSelectedMixin-CzfD5-Zs-DzfKhb-V.js → panelSelectedMixin-CzfD5-Zs-CI26Dg7x.js} +1 -1
- package/dist/assets/{radio-default-CiSgisfh-DWuLeWvl.js → radio-default-CiSgisfh-BYJAnyna.js} +1 -1
- package/dist/assets/{react-Bdbb-qpI.js → react-B0jD2Wxq.js} +2 -2
- package/dist/assets/{react-r5jJPXE4.js → react-BG7bS9U5.js} +1 -1
- package/dist/assets/{react-DyzEkHyB.js → react-Bh9_PAoD.js} +1 -1
- package/dist/assets/{react-JbqcdLL9.js → react-BzJB6lLk.js} +1 -1
- package/dist/assets/{react-CqcDCg28.js → react-C9k5QsKr.js} +1 -1
- package/dist/assets/{react-CuFuRIqn.js → react-CLnn1pju.js} +1 -1
- package/dist/assets/{react-DeL1h_04.js → react-D5A07FEZ.js} +1 -1
- package/dist/assets/{react-C-gUpVr3.js → react-ap60pWrZ.js} +1 -1
- package/dist/assets/{recharts-C0oa8tki.js → recharts-KaIzybkv.js} +1 -1
- package/dist/assets/{sentry-NCyz3Pql.js → sentry-Csr1LH3q.js} +1 -1
- package/dist/assets/{shield-DOlUxcFf-6ObOq3VF.js → shield-DOlUxcFf-a1d5jGFt.js} +1 -1
- package/dist/assets/toCOABalancesWithID-DOquK-Sn-B8W_ovMr.js +1 -0
- package/dist/assets/{toChartData-BVSCRQYT-BUK8BAEI.js → toChartData-CcG8i49E-AVGV3FG7.js} +1 -1
- package/dist/assets/{uploadAttachment-D3ybtHtR-BzZPNb4S.js → uploadAttachment-B-y1--ww-Dzd5D1mo.js} +19 -19
- package/dist/assets/{uploadReceipts-Dge0cNF1-BA-8RUe2.js → uploadReceipts-Dge0cNF1-BCJzNJUL.js} +1 -1
- package/dist/assets/{url-CdYlnTNu.js → url-GnyOgKen.js} +1 -1
- package/dist/assets/{url-DRj48dKg.js → url-dEEA4PaA.js} +1 -1
- package/dist/assets/{useLongPress-GCK2COYQ-iwHf_rSN.js → useLongPress-GCK2COYQ-BiPwM_9y.js} +1 -1
- package/dist/assets/{usp-line-BBd1wKwW-D52dvUDc.js → usp-line-BBd1wKwW-Dp0DkidC.js} +1 -1
- package/dist/assets/{utils-CjOWHIlw.js → utils-BWjQF7TZ.js} +1 -1
- package/dist/assets/{zeni-epic-state-CyVq3DT4.js → zeni-epic-state-BET3Hr2o.js} +3 -3
- package/dist/index.html +1 -1
- package/package.json +2 -2
- package/dist/assets/AccountInfoPage-BGcQ2kEJ-gDnnvWkL.js +0 -18
- package/dist/assets/AccountLockedInfoModal-Q_WY8V5e-s0KrQ9ck.js +0 -59
- package/dist/assets/AddAddressForCardDrawer-D12dN-9m-D5vAZkB0.js +0 -6
- package/dist/assets/BoxItem-BGrgQ_sW-C8p7wf23.js +0 -53
- package/dist/assets/ConfettiBurst-C1IgWBaA-Bl91CI5_.js +0 -1
- package/dist/assets/CustomerOnboardingContainerPage-YZ4WpsDD-CiqrDaPd.js +0 -1
- package/dist/assets/DepositAccTransactionListPage-flz5jtjj-Bz4v9BsN.js +0 -66
- package/dist/assets/EditPeoplePage-BiGeDyr0-BZ75ytwH.js +0 -55
- package/dist/assets/MagicLinkACHDetailsPage-B5oowluv-Deo_sGrN.js +0 -1
- package/dist/assets/MagicLinkDomesticWireDetailsPage-BohAWQ_F-DquvuUXE.js +0 -1
- package/dist/assets/MagicLinkInternationalWireDetailsPage-CRx-EIj--FIdT3qwC.js +0 -1
- package/dist/assets/MagicLinkSuccessPage-q5XLFFKd-U7XKvwRE.js +0 -31
- package/dist/assets/MailingDetailsSection-Dle_aLif-Bkizo4_u.js +0 -21
- package/dist/assets/NoDataTable-BroHHbsa-DNifFBEh.js +0 -8
- package/dist/assets/OverlayContainerPage-D4QU0p4o-DQTGCjse.js +0 -11
- package/dist/assets/ReimbursementApprovalRuleDetailPage-BFxCrrVt-pXX55aiy.js +0 -32
- package/dist/assets/RoleWithToolTip-D74SWfZd-AFxnb1mN.js +0 -22
- package/dist/assets/StatementItem-CS0N92J0-Dp0wIxfU.js +0 -31
- package/dist/assets/StatementsPage-DL8W4WLu-cApkeuQn.js +0 -58
- package/dist/assets/TransactionListPage-Bx6qszUl-z_ep6YnH.js +0 -35
- package/dist/assets/TreasuryStatementsPage-D0YaCwv3-CGR_6VKm.js +0 -58
- package/dist/assets/Vendor2FAPopup-BogFaSYy-D6e8fjkq.js +0 -1
- package/dist/assets/VendorACHDetailsPage-Di9QJ0hA-DJE_Wwf4.js +0 -1
- package/dist/assets/VendorDomesticWireDetailsPage-DCdG-eGI-Due1x-7b.js +0 -1
- package/dist/assets/VendorInternationalWireSwiftDetailsPage-CM2bFEbE-SfDYAYxn.js +0 -1
- package/dist/assets/analyticsHelper-fmqZ5AIa.js +0 -1
- package/dist/assets/mapLoadingInProgressToTreeNode-D-j3xrlE-BuSM26pJ.js +0 -1
- package/dist/assets/mapSpacerToTreeNode--_h7d27O-3AH87Y-5.js +0 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-BqoG_HF--CWdLbYAe.js +0 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-DPb6o33r-CcAO4fKB.js +0 -1
- package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-DAB0kK09-BYTfQRPS.js +0 -1
- package/dist/assets/toCOABalancesWithID-mNZ5ym9S-7xMnMYJK.js +0 -1
package/dist/assets/{ACHDetailsPage-BrjUad4D-DVu0c3WC.js → ACHDetailsPage-Bj4J02PO-5bQVeLTZ.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{J as W,a9 as E,F as w,cF as _,V as n,cp as V,cq as F,cr as H,ac as q,aR as O,y as
|
|
1
|
+
import{J as W,a9 as E,F as w,cF as _,V as n,cp as V,cq as F,cr as H,ac as q,aR as O,y as c,eW as J,b7 as K,o as U,u as t}from"./index-BJX6xSch.js";import{a as x}from"./sentry-Csr1LH3q.js";import{n as u}from"./mui-Bx0ZSN8G.js";import{W as G,A as Q}from"./BankAccountWarningSection-XMpgCYBF-D_LpOiCY.js";import{M as X}from"./MagicLinkTitleSection-CYaOQsiQ-CW0ARL7g.js";import{e as Y}from"./BankAccountSection-DQcfhQLN-B1I159-x.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]="e4408368-5ecf-4ccd-a099-733c2bd196ba",e._sentryDebugIdIdentifier="sentry-dbid-e4408368-5ecf-4ccd-a099-733c2bd196ba")}catch{}})();const a={paddingTopBottomContainer:new c(t[3],t[3]),paddingLeftContainer:new c(t[3],t[6]),paddingRightContainer:new c(t[3],t[8]),sectionTitleMarginLeft:new c(t[4],t[6]),sectionTitleMarginTop:new c(12,t[3]),buttonWidth:new c(140,140)},T="achDetailsPage",p="bankAccountSection",A=e=>`${e}_form`,ue=({bankAccountCreationState:e,bankAccountToCreate:o,fetchBankNameByRoutingStatus:g,isDisabled:k,style:S,onSaveHandler:j,onBackClick:h,onACHDetailsUpdated:B,onFetchBankName:N,isMagicLink:m,companyName:v,currencySymbol:D,amount:P,bankAccountContext:$})=>{const r=W(),i=E({mode:"onBlur",reValidateMode:"onChange",defaultValues:x.useMemo(()=>Z(o),[o])}),[z,b]=x.useState(!1),l=w.getLocalizedStrings().spendManagement.billPay.vendorCreation,R=w.getLocalizedStrings().common.footer,{achDetails:C,bankAccountCommon:y}=l,I={onOkClick:()=>{b(!1),i.reset(),h?.()},onCancelClick:()=>{b(!1)}},L=async(f,d)=>{const s=d[p].bankRoutingNumber;B(d),f===`${p}.bankRoutingNumber`&&s?.length===9&&J.test(s)===!0&&N?.(s)};x.useEffect(()=>{const f=i.watch((d,{name:s})=>{s!=null&&d!=null&&_(()=>L(s,d))});return()=>{f.unsubscribe()}});const M=i.handleSubmit(f=>{g.fetchState!=="In-Progress"&&j("ach")});return n.jsxs(ne,{children:[n.jsxs(te,{style:S,size:r,children:[z===!0?n.jsx(V,{titleComponent:n.jsx(H,{children:l.discardTitle}),descriptionComponent:n.jsx(F,{children:l.discardDescription}),primaryButtonText:l.discard,secondaryButtonText:l.cancel,action:I}):null,n.jsx(G,{header:m?n.jsx(X,{companyName:v??"",currencySymbol:D??"",amount:P??0}):C.addACHDetails,isMagicLink:m,isDirty:i.formState.isDirty,onBackClick:h,setShowConfirmationPopup:b}),e?.fetchState==="Error"&&e.error?.code===409?n.jsx(Q,{warningText:y.accountExistWarning}):null,$==="express-pay"?null:n.jsx(ae,{size:r,children:C.title}),n.jsx(ie,{children:n.jsx(q,{...i,children:n.jsx("form",{id:A(T),onSubmit:M,children:n.jsx(ee,{size:r,children:n.jsx(Y,{bankAccountToCreate:o,fetchBankNameByRoutingStatus:g,sectionId:p,isDisabled:k})})})})})]}),n.jsx(O,{formId:A(T),primaryBtn:{label:m?y.submitDetails:y.saveAccount,isLoading:e.fetchState==="In-Progress",style:{width:a.buttonWidth.value(r)},isDisabled:k!=null},showCancel:!m,cancelBtn:{label:R.cancel,style:{width:a.buttonWidth.value(r)},shouldResetOnCancel:!1,onClick:()=>{i.formState.isDirty?b(!0):(i.reset(),h?.())}}})]})},Z=e=>({[p]:{bankRoutingNumber:e?.bankRoutingNumber,bankName:e?.bankName,bankAccountNumber:e?.bankAccountNumber,confirmedBankAccountNumber:e?.confirmedBankAccountNumber,bankAccountName:e?.bankAccountName,bankAccountType:e?.bankAccountType}}),ee=u.div`
|
|
2
2
|
padding-left: ${e=>a.paddingLeftContainer.valuePx(e.size)};
|
|
3
3
|
padding-right: ${e=>a.paddingRightContainer.valuePx(e.size)};
|
|
4
4
|
padding-top: ${e=>a.paddingTopBottomContainer.valuePx(e.size)};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{y as u,a8 as y1,J as M,F as j,cd as j1,V as C,bT as $1,o as r,aP as v1,b as D,ck as b1,ke as T,u as n,bP as
|
|
1
|
+
import{y as u,a8 as y1,J as M,F as j,cd as j1,V as C,bT as $1,o as r,aP as v1,b as D,ck as b1,ke as T,u as n,bP as f,du as h1,p as d,a7 as S1,b3 as p1,g as m1,kf as g,ai as x,kg as Z1,kh as B1,ar as S,d as K,b7 as q,am as F1,ki as W1,dP as _1,g2 as D1,ci as u1,al as H1}from"./index-BJX6xSch.js";import{a as e}from"./sentry-Csr1LH3q.js";import{n as i,c as P1,k as T1}from"./mui-Bx0ZSN8G.js";import{Gj as E,Gk as e1,Gl as F}from"./zeni-epic-state-BET3Hr2o.js";import{N as V1}from"./NavBarWithPicker-NJ3tm2MI-yKglVIWG.js";import{F as k1,X as x1,Y as I,I as z1,J as O1,G as t1}from"./recharts-KaIzybkv.js";import"./liveblocks-C9oVfUgj.js";import"./core-Bicy8isU.js";import"./lottie-CflL2Iap.js";import"./analytics-CwsxjKn5.js";import"./lexical-BrOuRfla.js";import"./utils-BWjQF7TZ.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]="f73e0635-5dc4-485e-9625-6c701524a0a8",t._sentryDebugIdIdentifier="sentry-dbid-f73e0635-5dc4-485e-9625-6c701524a0a8")}catch{}})();const C1={titleLoaderWidth:new u(200,200,300),subtitleLoaderWidth:new u(100,100,200)},G1=i.div`
|
|
2
2
|
width: 100%;
|
|
3
3
|
height: 100%;
|
|
4
4
|
border: 1px solid ${t=>t.theme.colors.grey3};
|
|
@@ -17,7 +17,7 @@ import{y as u,a8 as y1,J as M,F as j,cd as j1,V as C,bT as $1,o as r,aP as v1,b
|
|
|
17
17
|
display: flex;
|
|
18
18
|
flex-direction: column;
|
|
19
19
|
gap: ${r.sp2};
|
|
20
|
-
`,A1=({customStyle:t})=>{const a=M();return C.jsx(G1,{style:t,children:C.jsxs(N1,{children:[C.jsxs(R1,{children:[C.jsx(
|
|
20
|
+
`,A1=({customStyle:t})=>{const a=M();return C.jsx(G1,{style:t,children:C.jsxs(N1,{children:[C.jsxs(R1,{children:[C.jsx(f,{width:C1.titleLoaderWidth.value(a),height:n[4]}),C.jsx(f,{width:C1.subtitleLoaderWidth.value(a),height:21})]}),C.jsx(f,{width:n[7],height:n[4]})]})})},I1=i.div`
|
|
21
21
|
display: flex;
|
|
22
22
|
justify-content: space-between;
|
|
23
23
|
// min-width: calc(${r.sp12} + ${r.sp12});
|
|
@@ -32,7 +32,7 @@ import{y as u,a8 as y1,J as M,F as j,cd as j1,V as C,bT as $1,o as r,aP as v1,b
|
|
|
32
32
|
display: flex;
|
|
33
33
|
flex-direction: column;
|
|
34
34
|
gap: ${r.sp2};
|
|
35
|
-
`,r1=({customStyle:t})=>C.jsxs(I1,{style:{...t},children:[C.jsxs(U1,{children:[C.jsx(
|
|
35
|
+
`,r1=({customStyle:t})=>C.jsxs(I1,{style:{...t},children:[C.jsxs(U1,{children:[C.jsx(f,{width:150,height:24}),C.jsx(f,{width:245,height:21})]}),C.jsx(h1,{width:32,height:32})]}),J1=i.div`
|
|
36
36
|
width: 100%;
|
|
37
37
|
border: 1px solid ${t=>t.theme.colors.grey3};
|
|
38
38
|
border-radius: ${r.sp2};
|
|
@@ -70,7 +70,7 @@ import{y as u,a8 as y1,J as M,F as j,cd as j1,V as C,bT as $1,o as r,aP as v1,b
|
|
|
70
70
|
display: flex;
|
|
71
71
|
flex-direction: column;
|
|
72
72
|
gap: ${r.sp1};
|
|
73
|
-
`,t2=({customStyle:t})=>C.jsxs(J1,{style:t,children:[C.jsx(K1,{children:C.jsxs(q1,{children:[C.jsx(
|
|
73
|
+
`,t2=({customStyle:t})=>C.jsxs(J1,{style:t,children:[C.jsx(K1,{children:C.jsxs(q1,{children:[C.jsx(f,{width:180,height:n[4]}),C.jsx(f,{width:300,height:21})]})}),C.jsx(X1,{children:[...Array(3)].map((a,s)=>C.jsxs(Y1,{children:[C.jsxs(Q1,{children:[C.jsx(h1,{width:n[6],height:n[6]}),C.jsxs(e2,{children:[C.jsx(f,{width:120,height:18}),C.jsx(f,{width:n[11],height:n[3]})]})]}),C.jsx(f,{width:n[11],height:18}),C.jsx(f,{width:n[11],height:18})]},s))})]}),C2={containerMarginLeft:new u(0,0,n[9],n[9],n[9])},r2=i.div`
|
|
74
74
|
display: flex;
|
|
75
75
|
flex-direction: row;
|
|
76
76
|
margin-left: ${t=>C2.containerMarginLeft.valuePx(t.windowSize)};
|
|
@@ -120,12 +120,12 @@ import{y as u,a8 as y1,J as M,F as j,cd as j1,V as C,bT as $1,o as r,aP as v1,b
|
|
|
120
120
|
border-radius: ${r.sp2};
|
|
121
121
|
box-shadow: ${d.Elevation1Light};
|
|
122
122
|
padding: ${r.sp4};
|
|
123
|
-
`,
|
|
123
|
+
`,g2=i.div`
|
|
124
124
|
display: flex;
|
|
125
125
|
flex-direction: column;
|
|
126
126
|
gap: 8px;
|
|
127
127
|
width: 100%;
|
|
128
|
-
`,
|
|
128
|
+
`,f2=i.div`
|
|
129
129
|
display: flex;
|
|
130
130
|
flex-direction: row;
|
|
131
131
|
align-items: center;
|
|
@@ -175,7 +175,7 @@ import{y as u,a8 as y1,J as M,F as j,cd as j1,V as C,bT as $1,o as r,aP as v1,b
|
|
|
175
175
|
color: ${t=>t.theme.colors.brandColorJadeDark};
|
|
176
176
|
`,Z2=i(x)`
|
|
177
177
|
color: ${t=>t.theme.colors.hero};
|
|
178
|
-
`;function B2({icon:t,title:a,data:s,currency:o}){return C.jsxs(
|
|
178
|
+
`;function B2({icon:t,title:a,data:s,currency:o}){return C.jsxs(g2,{children:[C.jsxs(f2,{children:[C.jsx(L2,{children:t}),C.jsx(E2,{children:C.jsx(w2,{children:a})})]}),C.jsx(d2,{}),s.map(l=>C.jsx(a2,{taskName:l.eventName,taskCount:l.eventsCount,timeSavedMinutes:l.timeSavedInMinutes,costSaved:l.totalCostSaved,currency:o},l.eventName))]})}const F2=t=>{switch(t){case g.aiPerformanceDashboard.personas.personaTypes.aiBookkeeper:return C.jsx(O,{});case g.aiPerformanceDashboard.personas.personaTypes.aiCardsAgent:return C.jsx(y2,{});case g.aiPerformanceDashboard.personas.personaTypes.aiBillsAgent:return C.jsx(j2,{});case g.aiPerformanceDashboard.personas.personaTypes.aiExpensesAgent:return C.jsx($2,{});case g.aiPerformanceDashboard.personas.personaTypes.aiBankingAgent:return C.jsx(v2,{});case g.aiPerformanceDashboard.personas.personaTypes.accountant:return C.jsx(O,{});case g.aiPerformanceDashboard.personas.personaTypes.aiCfo:return C.jsx(M2,{});default:return C.jsx(O,{})}};function W2({personas:t,currency:a}){return C.jsxs(x2,{children:[C.jsxs(b2,{children:[C.jsx(S2,{children:g.aiPerformanceDashboard.tileTitle}),C.jsx(Z2,{children:g.aiPerformanceDashboard.tileSubtitle})]}),t.map(s=>C.jsx(B2,{icon:F2(s.personaType),title:s.personaName,data:s.eventGroups,currency:a},s.personaName))]})}const _2=i.div`
|
|
179
179
|
display: flex;
|
|
180
180
|
flex-direction: column;
|
|
181
181
|
justify-content: space-between;
|
|
@@ -315,7 +315,7 @@ import{y as u,a8 as y1,J as M,F as j,cd as j1,V as C,bT as $1,o as r,aP as v1,b
|
|
|
315
315
|
display: flex;
|
|
316
316
|
align-items: center;
|
|
317
317
|
justify-content: center;
|
|
318
|
-
`,d3=i(r3)``;function c3(){return C.jsxs(i3,{children:[C.jsxs(o3,{children:[C.jsx(n3,{children:
|
|
318
|
+
`,d3=i(r3)``;function c3(){return C.jsxs(i3,{children:[C.jsxs(o3,{children:[C.jsx(n3,{children:g.aiPerformanceDashboard.tileTitle}),C.jsx(a3,{children:g.aiPerformanceDashboard.tileSubtitle})]}),C.jsx(l3,{children:C.jsx(d3,{})}),C.jsx(s3,{children:g.aiPerformanceDashboard.noPerformanceData.firstLine})]})}const h3=t=>e.createElement("svg",{viewBox:"0 0 673 153",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t},e.createElement("line",{x1:1,y1:146.5,x2:671,y2:146.5,stroke:"#545B5C"}),e.createElement("path",{d:"M61.0909 104.592C30.5455 104.592 30.5455 134.884 0 134.884V148H672V11.5384C645.5 7 638 27.4997 609 24.6307C578.455 24.6307 575 37.7229 547.5 33.6477C518 26.6449 512.5 44.269 482 41.7513C453.525 39.4008 458.545 59.879 428 59.879C397.455 59.879 397 46.7634 366.5 50.0423C335.955 50.0423 336 78.7895 305.455 78.7895C274.909 78.7895 274.909 101.697 244.364 101.697C213.818 101.697 210.998 90.795 180.453 90.795C149.907 90.795 152.727 111.539 122.182 111.539C91.6364 111.539 91.6364 104.592 61.0909 104.592Z",fill:"url(#paint0_linear_5550_4410)"}),e.createElement("path",{d:"M0 135C30.5682 135 30.5682 104.482 61.1364 104.482C91.7046 104.482 91.7046 111.387 122.273 111.387C152.841 111.387 150.019 90.7676 180.587 90.7676C211.155 90.7676 213.977 101.605 244.546 101.605C275.114 101.605 275.114 78.834 305.682 78.834C336.25 78.834 336.205 50.2592 366.773 50.2592C397.296 46.9999 397.75 60.037 428.319 60.037C458.887 60.037 449.789 42.5184 480.357 42.5184C510.88 46.3638 515.383 26.5015 547.908 33.9629C576.929 39.0147 578.885 24.9999 609.453 24.9999C638.475 27.8518 641.5 8.49994 672 11.9999",stroke:"#545B5C",strokeDasharray:"4 4"}),e.createElement("path",{d:"M61.0909 120.231C29 126.619 30.5455 143.886 0 143.886V147.5H672V61.5C643 58 638.5 69.8023 609.5 68C578.955 68 578.045 75.6644 547.5 75.6644C516.955 75.6644 511 82.5 481 81.5C450.455 81.5 458.545 92.1428 428 92.1428C397.455 92.1428 397 83.9036 366.5 85.9634C335.955 85.9634 336 104.022 305.455 104.022C274.909 104.022 274.909 118.413 244.364 118.413C213.818 118.413 210.998 111.564 180.453 111.564C149.907 111.564 152.727 124.595 122.182 124.595C91.6364 124.595 91.5 118.99 61.0909 120.231Z",fill:"url(#paint1_linear_5550_4410)"}),e.createElement("path",{d:"M0.5 143.886C31.0455 143.886 36 122.604 61.0909 120.231C91.5 118.413 91.6364 124.595 122.182 124.595C152.727 124.595 149.907 111.564 180.453 111.564C210.998 111.564 213.818 118.413 244.364 118.413C274.909 118.413 274.909 104.022 305.455 104.022C336 104.022 335.955 85.9635 366.5 85.9635C397 83.9037 397.455 92.1429 428 92.1429C458.545 92.1429 450.955 81.0001 481.5 81.0001C507.5 85.9635 518 72.5001 547.5 75.6645C581 75.6645 578.455 68.0001 609 68.0001C638 69.8024 640.5 57.5 672 61.5",stroke:"#545B5C",strokeDasharray:"4 4"}),e.createElement("defs",null,e.createElement("linearGradient",{id:"paint0_linear_5550_4410",x1:336,y1:10.8796,x2:336,y2:148,gradientUnits:"userSpaceOnUse"},e.createElement("stop",{stopColor:"#3E4343"}),e.createElement("stop",{offset:1,stopColor:"#3E4343",stopOpacity:0})),e.createElement("linearGradient",{id:"paint1_linear_5550_4410",x1:336,y1:60.8473,x2:336,y2:147.5,gradientUnits:"userSpaceOnUse"},e.createElement("stop",{stopColor:"#3E4343"}),e.createElement("stop",{offset:1,stopColor:"#3E4343",stopOpacity:0})))),p3=t=>e.createElement("svg",{viewBox:"0 0 673 153",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t},e.createElement("line",{x1:1,y1:146.5,x2:671,y2:146.5,stroke:"#D4DCDD"}),e.createElement("path",{d:"M61.0909 104.592C30.5455 104.592 30.5455 134.884 0 134.884V148H672V11.5384C645.5 7 638 27.4997 609 24.6307C578.455 24.6307 575 37.7229 547.5 33.6477C518 26.6449 512.5 44.269 482 41.7513C453.525 39.4008 458.545 59.879 428 59.879C397.455 59.879 397 46.7634 366.5 50.0423C335.955 50.0423 336 78.7895 305.455 78.7895C274.909 78.7895 274.909 101.697 244.364 101.697C213.818 101.697 210.998 90.795 180.453 90.795C149.907 90.795 152.727 111.539 122.182 111.539C91.6364 111.539 91.6364 104.592 61.0909 104.592Z",fill:"url(#paint0_linear_5550_1630)"}),e.createElement("path",{d:"M0 135C30.5682 135 30.5682 104.482 61.1364 104.482C91.7046 104.482 91.7046 111.387 122.273 111.387C152.841 111.387 150.019 90.7676 180.587 90.7676C211.155 90.7676 213.977 101.605 244.546 101.605C275.114 101.605 275.114 78.834 305.682 78.834C336.25 78.834 336.205 50.2592 366.773 50.2592C397.296 46.9999 397.75 60.037 428.319 60.037C458.887 60.037 449.789 42.5184 480.357 42.5184C510.88 46.3638 515.383 26.5015 547.908 33.9629C576.929 39.0147 578.885 24.9999 609.453 24.9999C638.475 27.8518 641.5 8.49994 672 11.9999",stroke:"#D4DCDD",strokeDasharray:"4 4"}),e.createElement("path",{d:"M61.0909 120.231C29 126.619 30.5455 143.886 0 143.886V147.5H672V61.5C643 58 638.5 69.8023 609.5 68C578.955 68 578.045 75.6644 547.5 75.6644C516.955 75.6644 511 82.5 481 81.5C450.455 81.5 458.545 92.1428 428 92.1428C397.455 92.1428 397 83.9036 366.5 85.9634C335.955 85.9634 336 104.022 305.455 104.022C274.909 104.022 274.909 118.413 244.364 118.413C213.818 118.413 210.998 111.564 180.453 111.564C149.907 111.564 152.727 124.595 122.182 124.595C91.6364 124.595 91.5 118.99 61.0909 120.231Z",fill:"url(#paint1_linear_5550_1630)"}),e.createElement("path",{d:"M0.5 143.886C31.0455 143.886 36 122.604 61.0909 120.231C91.5 118.413 91.6364 124.595 122.182 124.595C152.727 124.595 149.907 111.564 180.453 111.564C210.998 111.564 213.818 118.413 244.364 118.413C274.909 118.413 274.909 104.022 305.455 104.022C336 104.022 335.955 85.9635 366.5 85.9635C397 83.9037 397.455 92.1429 428 92.1429C458.545 92.1429 450.955 81.0001 481.5 81.0001C507.5 85.9635 518 72.5001 547.5 75.6645C581 75.6645 578.455 68.0001 609 68.0001C638 69.8024 640.5 57.5 672 61.5",stroke:"#D4DCDD",strokeDasharray:"4 4"}),e.createElement("defs",null,e.createElement("linearGradient",{id:"paint0_linear_5550_1630",x1:336,y1:10.8796,x2:336,y2:148,gradientUnits:"userSpaceOnUse"},e.createElement("stop",{stopColor:"#E9F0F0"}),e.createElement("stop",{offset:1,stopColor:"#E9F0F0",stopOpacity:0})),e.createElement("linearGradient",{id:"paint1_linear_5550_1630",x1:336,y1:60.8473,x2:336,y2:147.5,gradientUnits:"userSpaceOnUse"},e.createElement("stop",{stopColor:"#E9F0F0"}),e.createElement("stop",{offset:1,stopColor:"#E9F0F0",stopOpacity:0})))),m3=i.div`
|
|
319
319
|
position: relative;
|
|
320
320
|
width: 100%;
|
|
321
321
|
height: 100%;
|
|
@@ -337,12 +337,12 @@ import{y as u,a8 as y1,J as M,F as j,cd as j1,V as C,bT as $1,o as r,aP as v1,b
|
|
|
337
337
|
position: relative;
|
|
338
338
|
width: 100%;
|
|
339
339
|
height: calc(100% - 52px);
|
|
340
|
-
`,
|
|
340
|
+
`,g3=i.div`
|
|
341
341
|
position: absolute;
|
|
342
342
|
width: 100%;
|
|
343
343
|
height: 100%;
|
|
344
344
|
bottom: 0;
|
|
345
|
-
`,
|
|
345
|
+
`,f3=i(p3)`
|
|
346
346
|
position: absolute;
|
|
347
347
|
margin: auto;
|
|
348
348
|
bottom: ${r.sp5};
|
|
@@ -350,7 +350,7 @@ import{y as u,a8 as y1,J as M,F as j,cd as j1,V as C,bT as $1,o as r,aP as v1,b
|
|
|
350
350
|
position: absolute;
|
|
351
351
|
margin: auto;
|
|
352
352
|
bottom: ${r.sp5};
|
|
353
|
-
`;function E3(t,a){const s=new Date(`${t}-01`),o=new Date(`${a}-01`),l=[];for(;s<=o;){const c=s.toISOString().slice(0,7);l.push({month:c,costSaved:0,timeSavedInMinutes:0}),s.setMonth(s.getMonth()+1)}return l}function w3({selectedTimeSeries:t}){const{dark:a}=S1(),s=M(),o=E3(t.fromMonth,t.toMonth),{aiPerformanceDashboard:l}=j.getLocalizedStrings();return C.jsxs(m3,{windowSize:s,children:[C.jsx(u3,{children:C.jsx(k3,{children:l.chartTitle})}),C.jsxs(x3,{children:[a?C.jsx(L3,{}):C.jsx(
|
|
353
|
+
`;function E3(t,a){const s=new Date(`${t}-01`),o=new Date(`${a}-01`),l=[];for(;s<=o;){const c=s.toISOString().slice(0,7);l.push({month:c,costSaved:0,timeSavedInMinutes:0}),s.setMonth(s.getMonth()+1)}return l}function w3({selectedTimeSeries:t}){const{dark:a}=S1(),s=M(),o=E3(t.fromMonth,t.toMonth),{aiPerformanceDashboard:l}=j.getLocalizedStrings();return C.jsxs(m3,{windowSize:s,children:[C.jsx(u3,{children:C.jsx(k3,{children:l.chartTitle})}),C.jsxs(x3,{children:[a?C.jsx(L3,{}):C.jsx(f3,{}),C.jsx(g3,{children:C.jsx(p1,{children:({width:c,height:h})=>C.jsxs(k1,{width:c,height:h,data:o,margin:{top:10,right:30,left:0,bottom:0},children:[C.jsx(x1,{dataKey:"month",tickFormatter:p=>new Date(p+"-01").toLocaleString("en-US",{month:"short",year:"2-digit",timeZone:"UTC"}),tickLine:!1,axisLine:!1,tick:{fill:d.neutralGrey1Light,...D.extraSmallRegular.cssObject},interval:"preserveStartEnd"}),C.jsx(I,{hide:!0})]})})})]})]})}const M3=1.2,y3={headerGap:new u(n[3],n[3],n[1],n[1],n[1])},j3=i.div`
|
|
354
354
|
width: 192px;
|
|
355
355
|
background-color: ${t=>t.theme.colors.black};
|
|
356
356
|
border-radius: ${r.sp1};
|
|
@@ -536,4 +536,4 @@ import{y as u,a8 as y1,J as M,F as j,cd as j1,V as C,bT as $1,o as r,aP as v1,b
|
|
|
536
536
|
&:hover {
|
|
537
537
|
color: ${t=>t.theme.colors.primary};
|
|
538
538
|
}
|
|
539
|
-
`,o4=(t,a)=>t===a?`(${T(t)})`:`(${T(t)} - ${T(a)})`;function
|
|
539
|
+
`,o4=(t,a)=>t===a?`(${T(t)})`:`(${T(t)} - ${T(a)})`;function g4({aggregatedReport:t,onBackClick:a,onReload:s,onTimeRangeSelect:o,onClickMenuIcon:l}){const c=y1().analytics,h=M(),{common:p}=j.getLocalizedStrings(),[k,v]=e.useState(!1),[y,$]=e.useState(null),H=[...e1],w=e1[1],[P,X]=e.useState(E(w)),[Z,Y]=e.useState(w),[g1,f1]=e.useState(!1);j1({componentName:"aiPerformance",enabled:t.fetchState==="Completed"});const b=t.fetchState==="Not-Started"||t.fetchState==="In-Progress",L=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(()=>{$("home"),o(E(Z).fromMonth,E(Z).toMonth)},[]),e.useEffect(()=>{if(t.fetchState==="Completed"&&y){const m={period_selected:Z,cost_saved:t.summary.totalCostSaved,time_saved:t.summary.totalTimeSavedMinutes,task_performed:L1(t.personas)};y==="home"?c.trackAIPerfHome(m):y==="refresh"?c.trackAIPerfRefresh(m):y==="timePeriodSelect"&&c.trackAIPerfTimePeriodSelect(m),$(null)}},[t.fetchState,y]),e.useEffect(()=>{const m=()=>{f1(window.scrollY>0)};return window.addEventListener("scroll",m),m(),()=>{window.removeEventListener("scroll",m)}},[]);const E1=C.jsx(C4,{"data-testid":`${v1("ai-performance-page","refresh-icon")}`,onClick:()=>{v(!0),$("refresh"),s(E(w).fromMonth,E(w).toMonth),Y(w),X(E(w))},children:C.jsx($1,{style:{marginTop:r.sp1},placement:"bottom",title:p.texts.refresh,enterDelay:600,children:C.jsx(i4,{spinning:b&&k})})}),w1={backgroundColor:"transparent",picker:{backgroundColor:"transparent",pickerValues:H,valueToLabel:m=>m,selectedValue:`${Z} ${o4(P.fromMonth,P.toMonth)}`,titleTextStyle:D.largeMedium,onPickerSelectionChanged:m=>{m!=null&&($("timePeriodSelect"),Y(F(m)),X(E(F(m))),o(E(F(m)).fromMonth,E(F(m)).toMonth))},styles:{justifyContent:h==="small"?"left":"center"},isPickerDisabled:!1},onBackClick:a,showMenuIcon:h==="medium-compact"||h==="small",onClickMenuIcon:l,rightSideComponent:E1},Q=Number.parseFloat((t?.summary?.totalTimeSavedMinutes/60).toFixed());return C.jsxs(q3,{children:[C.jsx(K3,{isScrolled:g1,windowSize:h,paddingLeft:_.contentPaddingLeft.value(h),paddingRight:_.contentPaddingRight.value(h),children:C.jsx(V1,{...w1})}),C.jsxs(X3,{windowSize:h,children:[C.jsxs(Y3,{windowSize:h,children:[C.jsxs(e4,{windowSize:h,children:[b?C.jsx(r1,{customStyle:{margin:`0 0 ${r.sp3} 0`}}):C.jsx(o1,{type:"cost",value:L?`${p.strings.hyphen}`:Number(t.summary?.totalCostSaved.toFixed()).toLocaleString(),currency:t.currency,style:{margin:`0 0 ${r.sp3} 0`},noData:L}),b?C.jsx(r1,{customStyle:{margin:"0"}}):C.jsx(o1,{type:"time",value:L?`${p.strings.hyphen}`:t.summary?.totalTimeSavedMinutes<60?Number(t.summary?.totalTimeSavedMinutes).toFixed().toLocaleString():Q.toLocaleString(),currency:t.currency,noData:L,timeUnit:L?"":t.summary?.totalTimeSavedMinutes<60?t.summary?.totalTimeSavedMinutes>1?p.timeStrings.minutes:p.timeStrings.minute:Q>1?p.timeStrings.hours:p.timeStrings.hour})]}),C.jsx(t4,{windowSize:h,children:b?C.jsx(A1,{customStyle:{margin:`0 0 ${r.sp3} 0`}}):L?C.jsx(w3,{selectedTimeSeries:P}):C.jsx(H3,{performanceTimeSeries:t.monthlySummary})})]}),b?C.jsx(c1,{windowSize:h,children:C.jsx(t2,{})}):C.jsxs(C.Fragment,{children:[C.jsx(c1,{windowSize:h,children:L||t.personas.length===0?C.jsx(c3,{}):C.jsx(W2,{personas:t.personas,currency:t.currency})}),C.jsxs(Q3,{windowSize:h,children:[C.jsx(U3,{performanceSummary:t.summary,currency:t.currency,isPerformanceReportNotFound:L}),C.jsx(C3,{performanceSummary:t.summary,currency:t.currency,isPerformanceReportNotFound:L})]})]})]})]})}export{g4 as default,J3 as navBarHeight};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import{g as y,J as x,V as t,gP as b,o as r,y as d,hB as D,u as i}from"./index-BJX6xSch.js";import{a as P}from"./sentry-Csr1LH3q.js";import{n as o}from"./mui-Bx0ZSN8G.js";import{K as $}from"./StatusSwitcher-DFluM61E-C_oGgir6.js";import{r as z}from"./AccountInfoPageContent-BfoA1Gse-CjIP4Ajb.js";import"./liveblocks-C9oVfUgj.js";import"./core-Bicy8isU.js";import"./recharts-KaIzybkv.js";import"./zeni-epic-state-BET3Hr2o.js";import"./lottie-CflL2Iap.js";import"./analytics-CwsxjKn5.js";import"./lexical-BrOuRfla.js";import"./utils-BWjQF7TZ.js";import"./downloadPdf-DVqVkV_p-BLg53H6Z.js";import"./commonDimensions-B60Qkfnz-B_54f5Yz.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]="5aecddcf-e2da-4cbe-804a-0a90a22c0fb3",e._sentryDebugIdIdentifier="sentry-dbid-5aecddcf-e2da-4cbe-804a-0a90a22c0fb3")}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])},q=({authParams:e,downloadAccountDetailEndPoint:n,depositAccount:a,zeniAccountsConfigDetail:f,currentTenant:g,onDismissClick:u})=>{const p=y(),c=x(),[l,m]=P.useState("achDetails"),w=h=>{m(h)};return t.jsxs(T,{children:[t.jsx(b,{title:"",backgroundColor:p.colors.grey4,style:{zIndex:4},isTitleAlignLeft:!0,onCloseClick:u}),t.jsx(j,{windowSize:c,children:a.accountName}),t.jsx(v,{children:t.jsx($,{tabIds:["achDetails","wireDetails"],selectedTab:l,entity:"zeni_accounts",onTabSelectedChange:w,isSwitcherLeftAlign:!0})}),t.jsx(A,{windowSize:c,children:t.jsx(z,{authParams:e,downloadAccountDetailEndPoint:n,currentTab:l,zeniAccountsConfigDetail:f,currentTenant:g,depositAccount:a})})]})},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(D)`
|
|
12
|
+
color: ${e=>e.theme.colors.primary};
|
|
13
|
+
padding: ${r.sp3} ${r.sp0};
|
|
14
|
+
margin: ${e=>`${r.sp0} ${s.pageTitleMarginXAxis.valuePx(e.windowSize)} `};
|
|
15
|
+
`,v=o.div`
|
|
16
|
+
display: flex;
|
|
17
|
+
justify-content: flex-start;
|
|
18
|
+
`;export{q as default};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{J as je,gZ as Ae,hC as
|
|
1
|
+
import{J as je,gZ as Ae,hC as W,V as r,bT as z,T as Te,aP as L,o as a,b7 as Se,F as ve,c3 as De,p as E,ai as re,h as Ce,h0 as ze,al as ae}from"./index-BJX6xSch.js";import{a as s}from"./sentry-Csr1LH3q.js";import{n as t}from"./mui-Bx0ZSN8G.js";import{w as Le}from"./downloadPdf-DVqVkV_p-BLg53H6Z.js";import{o as _e}from"./commonDimensions-B60Qkfnz-B_54f5Yz.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},y=new e.Error().stack;y&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[y]="940331c5-9b89-4b38-8d96-79761a92a814",e._sentryDebugIdIdentifier="sentry-dbid-940331c5-9b89-4b38-8d96-79761a92a814")}catch{}})();const{common:{strings:Ie,copyToClipBoard:g},spendManagement:{zeniAccounts:{zeniAccountDetail:X},billPay:{vendorCreation:{achDetails:o}},downloads:Z}}=ve.getLocalizedStrings(),er=({authParams:e,downloadAccountDetailEndPoint:y,currentTab:p,depositAccount:c,zeniAccountsConfigDetail:u,currentTenant:k})=>{const oe=je(),[,M]=Ae(),[N,te]=s.useState(!1),[se,ne]=s.useState(!1),[ce,ie]=s.useState(!1),[le,de]=s.useState(!1),[be,ue]=s.useState(!1),[me,pe]=s.useState(!1),[he,fe]=s.useState(!1),[xe,ye]=s.useState(!1),[h,R]=s.useState(!1),[w,q]=s.useState(!1),[j,G]=s.useState(!1),[A,J]=s.useState(!1),[T,V]=s.useState(!1),[S,B]=s.useState(!1),[v,O]=s.useState(!1),[$,U]=s.useState(!1),D=k?.company?.companyInfo.companyLegalName,C=W(u.zeniAccountsConfigDetail.mailingAddress).text2,m=W(u.zeniAccountsConfigDetail.bankAddress).text2;s.useEffect(()=>{(h||S||v||$||T||$||j||w||A)&&setTimeout(()=>{R(!1),B(!1),O(!1),U(!1),V(!1),J(!1),G(!1),q(!1)},1200)},[h,S,v,$,T,A,j,w]);const H=(f,n)=>{switch(f){case"accountType":ne(n);break;case"acccountNumber":ie(n);break;case"routingNumber":de(n);break;case"bankName":ue(n);break;case"beneficiaryName":fe(n);break;case"beneficiaryAddress":pe(n);break;case"bankAddress":ye(n);break}},$e=f=>{let n;f==="achDetails"?n=`${o.bankRoutingNumber} ${c.routingNumberAch}
|
|
2
2
|
|
|
3
3
|
${o.accountTypeLabel} ${c.accountSubType.name??""}
|
|
4
4
|
|
|
@@ -18,7 +18,7 @@ ${o.beneficiaryName} ${D}
|
|
|
18
18
|
|
|
19
19
|
${o.bankAddress} ${m}
|
|
20
20
|
|
|
21
|
-
${o.beneficiaryAddress} ${C}`,M(n),R(!0)},i=(f,n,x,
|
|
21
|
+
${o.beneficiaryAddress} ${C}`,M(n),R(!0)},i=(f,n,x,Q)=>{let d,l;switch(x){case"acccountNumber":d=ce,l=v;break;case"accountType":d=se,l=S;break;case"bankName":d=be,l=T;break;case"beneficiaryName":d=he,l=w;break;case"beneficiaryAddress":d=me,l=A;break;case"bankAddress":d=xe,l=j;break;default:d=le,l=$;break}const we=()=>{switch(x){case"accountType":B(!0);break;case"acccountNumber":O(!0);break;case"routingNumber":U(!0);break;case"bankName":V(!0);break;case"beneficiaryName":q(!0);break;case"beneficiaryAddress":J(!0);break;case"bankAddress":G(!0);break}};return r.jsxs(Je,{onMouseEnter:()=>H(x,!0),onMouseLeave:()=>H(x,!1),children:[r.jsx(Ve,{children:f}),r.jsx(Oe,{children:r.jsxs(Ue,{children:[r.jsxs(Be,{children:[d||oe==="small"?r.jsx(_,{children:r.jsx(z,{display:"flex",placement:"left",title:r.jsx(I,{isTextCopied:l,children:l?g.copied:g.copy}),enterDelay:600,children:l===!0?r.jsx(ee,{}):r.jsx(Y,{"data-testid":L("account-info-copy",x),onClick:()=>{M(n),we()}})})}):null,n]}),Q!=null?r.jsx(He,{children:Q}):null]})})]})},ge={detail_type:"account_details",deposit_account_id:c.id,company_name:k?.companyName??"",company_legal_name:k?.company?.companyInfo.companyLegalName??""},ke=encodeURIComponent(JSON.stringify(ge)),Ne=`${y}?query=${ke}`;return r.jsx(Ee,{children:r.jsxs(Pe,{children:[r.jsxs(Me,{children:[r.jsx(qe,{children:p==="achDetails"?X.achTitle:X.wireTitle}),r.jsxs(Re,{children:[r.jsx(_,{children:r.jsx(z,{display:"flex",placement:"left",title:r.jsx(I,{isTextCopied:N,children:N?Z.downloading:Z.download}),enterDelay:600,children:N===!0?r.jsx(Te,{size:"Small",start:!0}):r.jsx(Ge,{"data-testid":L("account-info-download-pdf"),onClick:()=>{Le(Ne,Ie.empty,e,te,!0)}})})}),r.jsx(_,{children:r.jsx(z,{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(Y,{onClick:()=>$e(p),"data-testid":L("title-text-copy")})})})]})]}),p==="achDetails"?r.jsxs(Qe,{children:[r.jsx(F,{children:i(o.bankRoutingNumber,c.routingNumberAch,"routingNumber")}),r.jsx(b,{children:i(o.accountTypeLabel,c.accountSubType.name,"accountType")}),r.jsx(b,{children:i(o.bankAccountNumber,c.accountNumber,"acccountNumber")}),r.jsx(b,{children:i(o.bankName,u.zeniAccountsConfigDetail.bankName,"bankName")}),m!=null?r.jsx(K,{children:i(o.bankAddress,m,"bankAddress")}):null]}):p==="wireDetails"?r.jsxs(We,{children:[r.jsx(F,{children:i(o.bankRoutingNumber,c.routingNumberAch,"routingNumber")}),r.jsx(b,{children:i(o.accountTypeLabel,c.accountSubType.name,"accountType")}),r.jsx(b,{children:i(o.bankAccountNumber,c.accountNumber,"acccountNumber")}),r.jsx(b,{children:i(o.bankName,u.zeniAccountsConfigDetail.bankName,"bankName")}),m!=null?r.jsx(b,{children:i(o.bankAddress,m,"bankAddress")}):null,D!=null?r.jsx(b,{children:i(o.beneficiaryName,D,"beneficiaryName",o.beneficiaryNameSubLabel)}):null,C!=null?r.jsx(K,{children:i(o.beneficiaryAddress,C,"beneficiaryAddress",o.beneficiaryAddressSubLabel)}):null]}):null]})})},Ee=t.div``,Pe=t.div`
|
|
22
22
|
margin: ${a.sp4};
|
|
23
23
|
margin-left: ${a.sp0};
|
|
24
24
|
`,Me=t.div`
|
|
@@ -29,10 +29,10 @@ ${o.beneficiaryAddress} ${C}`,M(n),R(!0)},i=(f,n,x,Z)=>{let d,l;switch(x){case"a
|
|
|
29
29
|
`,Re=t.div`
|
|
30
30
|
display: flex;
|
|
31
31
|
gap: ${a.sp4};
|
|
32
|
-
`,
|
|
32
|
+
`,qe=t(Se)`
|
|
33
33
|
color: ${e=>e.theme.colors.primary};
|
|
34
34
|
margin-right: ${a.sp2};
|
|
35
|
-
`,
|
|
35
|
+
`,Ge=t(De)`
|
|
36
36
|
height: ${a.sp3};
|
|
37
37
|
width: ${a.sp3};
|
|
38
38
|
color: ${e=>e.theme.colors.hero};
|
|
@@ -107,16 +107,16 @@ ${o.beneficiaryAddress} ${C}`,M(n),R(!0)},i=(f,n,x,Z)=>{let d,l;switch(x){case"a
|
|
|
107
107
|
height: ${a.sp3};
|
|
108
108
|
width: ${a.sp3};
|
|
109
109
|
color: ${E.success};
|
|
110
|
-
`,
|
|
110
|
+
`,Je=t.div`
|
|
111
111
|
display: flex;
|
|
112
112
|
flex-direction: row;
|
|
113
113
|
padding: ${a.sp3} ${a.sp4};
|
|
114
114
|
justify-content: space-between;
|
|
115
115
|
width: 100%;
|
|
116
116
|
gap: ${a.sp4};
|
|
117
|
-
`,
|
|
117
|
+
`,Ve=t(ae)`
|
|
118
118
|
color: ${e=>e.theme.colors.hero};
|
|
119
|
-
`,
|
|
119
|
+
`,Be=t(ae)`
|
|
120
120
|
display: flex;
|
|
121
121
|
align-items: center;
|
|
122
122
|
color: ${e=>e.theme.colors.primary};
|
|
@@ -125,11 +125,11 @@ ${o.beneficiaryAddress} ${C}`,M(n),R(!0)},i=(f,n,x,Z)=>{let d,l;switch(x){case"a
|
|
|
125
125
|
text-align: end;
|
|
126
126
|
`,Oe=t.div`
|
|
127
127
|
display: flex;
|
|
128
|
-
`,
|
|
128
|
+
`,Ue=t.div`
|
|
129
129
|
display: flex;
|
|
130
130
|
flex-direction: column;
|
|
131
131
|
align-items: flex-end;
|
|
132
|
-
`,
|
|
132
|
+
`,He=t(re)`
|
|
133
133
|
color: ${e=>e.theme.colors.grey1};
|
|
134
134
|
text-align: end;
|
|
135
135
|
`,I=t(re)`
|
|
@@ -146,4 +146,4 @@ ${o.beneficiaryAddress} ${C}`,M(n),R(!0)},i=(f,n,x,Z)=>{let d,l;switch(x){case"a
|
|
|
146
146
|
border-top-width: 1px;
|
|
147
147
|
border-bottom-width: 1px;
|
|
148
148
|
}
|
|
149
|
-
`,
|
|
149
|
+
`,Qe=t.div``,We=t.div``;export{er as r};
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import{g,F as d,V as t,al as x,ba as c,r as b,o as r,p,aq as y,bZ as j,b_ as $,b$ as w,bS as k}from"./index-BJX6xSch.js";import{n as o}from"./mui-Bx0ZSN8G.js";import{t as v}from"./handshake-BPg58FML-CeRDoPq9.js";import"./sentry-Csr1LH3q.js";import"./liveblocks-C9oVfUgj.js";import"./core-Bicy8isU.js";import"./recharts-KaIzybkv.js";import"./zeni-epic-state-BET3Hr2o.js";import"./lottie-CflL2Iap.js";import"./analytics-CwsxjKn5.js";import"./lexical-BrOuRfla.js";import"./utils-BWjQF7TZ.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]="0843fe3f-4f4b-4312-a418-f2ade8224ab9",e._sentryDebugIdIdentifier="sentry-dbid-0843fe3f-4f4b-4312-a418-f2ade8224ab9")}catch{}})();const m="support@zeni.ai",n=d.getLocalizedStrings().commonSetUp.twoFactorAuthentication,h=({unlockDate:e,onSubmit:i})=>{const s=g(),f=e.format(d.getLocalizedStrings().dateFormat.visual.MMMDCommaYYYYformat),u=e.format(d.getLocalizedStrings().dateFormat.visual.HHMMFormat);return t.jsxs(M,{children:[t.jsx(_,{children:n.accountLockedTitle}),t.jsxs(C,{children:[t.jsxs(a,{children:[t.jsx(l,{theme:s,children:t.jsx(A,{})}),t.jsx(x,{children:n.accountLockedSecurityMessage})]}),t.jsxs(a,{children:[t.jsx(l,{theme:s,children:t.jsx(z,{})}),t.jsxs(c,{children:[n.tryAgainAfter,t.jsxs(I,{children:[f,t.jsx(L,{children:"•"}),u]}),n.signInViaGoogleOrMicrosoft]})]}),t.jsxs(a,{children:[t.jsx(l,{theme:s,children:t.jsx(F,{})}),t.jsxs(c,{children:[n.accountLockedContactMessage,t.jsx(D,{href:`mailto:${m}`,children:m})]})]}),t.jsx(b,{variant:"primary",label:n.understood,onClick:i})]})]})};function S({unlockDate:e,onClose:i}){return t.jsx(k,{open:!0,onClose:i,children:t.jsx(T,{children:t.jsx(h,{unlockDate:e,onSubmit:i})})})}const M=o.div`
|
|
2
|
+
display: flex;
|
|
3
|
+
flex-direction: column;
|
|
4
|
+
align-items: center;
|
|
5
|
+
justify-content: center;
|
|
6
|
+
row-gap: ${r.sp6};
|
|
7
|
+
`,_=o(y)`
|
|
8
|
+
color: ${p.important};
|
|
9
|
+
text-align: center;
|
|
10
|
+
`,C=o.div`
|
|
11
|
+
display: flex;
|
|
12
|
+
flex-direction: column;
|
|
13
|
+
align-items: center;
|
|
14
|
+
justify-content: center;
|
|
15
|
+
row-gap: ${r.sp5};
|
|
16
|
+
`,a=o.div`
|
|
17
|
+
display: flex;
|
|
18
|
+
align-items: center;
|
|
19
|
+
justify-content: flex-start;
|
|
20
|
+
column-gap: 12px;
|
|
21
|
+
text-align: start;
|
|
22
|
+
width: 100%;
|
|
23
|
+
color: ${e=>e.theme.colors.primary};
|
|
24
|
+
`,D=o.a`
|
|
25
|
+
text-decoration: underline;
|
|
26
|
+
color: ${e=>e.theme.colors.primary};
|
|
27
|
+
`,I=o(c)`
|
|
28
|
+
font-weight: ${w.medium};
|
|
29
|
+
`,L=o.span`
|
|
30
|
+
color: ${e=>e.theme.colors.hero};
|
|
31
|
+
margin-left: ${r.sp1};
|
|
32
|
+
margin-right: ${r.sp1};
|
|
33
|
+
`,l=o.div`
|
|
34
|
+
width: ${r.sp7};
|
|
35
|
+
height: ${r.sp7};
|
|
36
|
+
background: ${e=>e.theme.mode==="dark"?p.brandColorJadeDark:p.brandColorJadeLight};
|
|
37
|
+
border-radius: 50%;
|
|
38
|
+
flex-shrink: 0;
|
|
39
|
+
color: ${e=>e.theme.colors.primary};
|
|
40
|
+
display: flex;
|
|
41
|
+
align-items: center;
|
|
42
|
+
justify-content: center;
|
|
43
|
+
`,z=o($)`
|
|
44
|
+
width: ${r.sp4};
|
|
45
|
+
height: ${r.sp4};
|
|
46
|
+
`,A=o(j)`
|
|
47
|
+
width: ${r.sp4};
|
|
48
|
+
height: ${r.sp4};
|
|
49
|
+
`,F=o(v)`
|
|
50
|
+
width: ${r.sp4};
|
|
51
|
+
height: ${r.sp4};
|
|
52
|
+
`,T=o.div`
|
|
53
|
+
display: flex;
|
|
54
|
+
flex-direction: column;
|
|
55
|
+
width: 456px;
|
|
56
|
+
padding: ${r.sp5} ${r.sp6};
|
|
57
|
+
background: ${e=>e.theme.colors.grey5};
|
|
58
|
+
border-radius: ${r.sp2};
|
|
59
|
+
`,B=Object.freeze(Object.defineProperty({__proto__:null,AccountLockedInfo:h,default:S},Symbol.toStringTag,{value:"Module"}));export{h as A,m as Z,B as a};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a9 as
|
|
1
|
+
import{a9 as fe,fA as xe,V as t,ac as ye,cp as ge,cq as je,cr as Se,o as c,c as $e,b7 as Q,am as X,C as be,aa as ke,dO as ve,eU as we,d5 as G,dx as Z,F as Ce,al as d,g as Ee,aN as Pe,bw as ee,dR as te,at as Re,p as ne,h as Ie}from"./index-BJX6xSch.js";import{a as r}from"./sentry-Csr1LH3q.js";import{n as o}from"./mui-Bx0ZSN8G.js";import{bL as oe,Gz as De,GA as _e}from"./zeni-epic-state-BET3Hr2o.js";import{B as Te,C as Fe,w as Ue,f as Be}from"./AccountRow-BNdGXZbT-Er5W8HNt.js";import"./liveblocks-C9oVfUgj.js";import"./core-Bicy8isU.js";import"./recharts-KaIzybkv.js";import"./lottie-CflL2Iap.js";import"./analytics-CwsxjKn5.js";import"./lexical-BrOuRfla.js";import"./utils-BWjQF7TZ.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]="d95f0b90-8d0a-4a71-b6e9-7b90a3b3e2d3",e._sentryDebugIdIdentifier="sentry-dbid-d95f0b90-8d0a-4a71-b6e9-7b90a3b3e2d3")}catch{}})();const m={containerPaddingLeft:c.sp4,containerPaddingRight:c.sp4,navBarHeight:c.sp10,navBarPaddingRight:c.sp4,navBarPaddingLeft:c.sp4,balanceContainerWidth:114,sourceContainerWidth:400},Le=o.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
background-color: ${e=>e.theme.colors.grey4};
|
|
@@ -11,15 +11,15 @@ import{a9 as me,fA as xe,V as t,ac as ye,cp as ge,cq as je,cr as Se,o as c,a as
|
|
|
11
11
|
display: flex;
|
|
12
12
|
flex: 0 0 auto;
|
|
13
13
|
width: ${c.sp4};
|
|
14
|
-
`,
|
|
15
|
-
min-height: ${
|
|
14
|
+
`,Oe=o.div`
|
|
15
|
+
min-height: ${m.navBarHeight};
|
|
16
16
|
position: sticky;
|
|
17
17
|
background-color: ${e=>e.theme.colors.grey4};
|
|
18
18
|
border-bottom: 1px solid transparent;
|
|
19
19
|
z-index: 2;
|
|
20
20
|
top: ${c.sp0};
|
|
21
21
|
width: 100%;
|
|
22
|
-
`,
|
|
22
|
+
`,Ye=o(be)`
|
|
23
23
|
cursor: pointer;
|
|
24
24
|
color: ${e=>e.theme.colors.hero};
|
|
25
25
|
width: ${c.sp4};
|
|
@@ -29,9 +29,9 @@ import{a9 as me,fA as xe,V as t,ac as ye,cp as ge,cq as je,cr as Se,o as c,a as
|
|
|
29
29
|
color: ${e=>e.theme.colors.primary};
|
|
30
30
|
}
|
|
31
31
|
flex: 0 0 auto;
|
|
32
|
-
`,
|
|
33
|
-
padding-left: ${
|
|
34
|
-
padding-right: ${
|
|
32
|
+
`,Ae=o.div`
|
|
33
|
+
padding-left: ${m.containerPaddingLeft};
|
|
34
|
+
padding-right: ${m.containerPaddingRight};
|
|
35
35
|
`,We=o.div`
|
|
36
36
|
position: relative;
|
|
37
37
|
min-height: 62px;
|
|
@@ -44,8 +44,8 @@ import{a9 as me,fA as xe,V as t,ac as ye,cp as ge,cq as je,cr as Se,o as c,a as
|
|
|
44
44
|
top: 0;
|
|
45
45
|
left: 0;
|
|
46
46
|
right: 0;
|
|
47
|
-
padding-right: ${
|
|
48
|
-
padding-left: ${
|
|
47
|
+
padding-right: ${m.navBarPaddingRight};
|
|
48
|
+
padding-left: ${m.navBarPaddingLeft};
|
|
49
49
|
height: 100%;
|
|
50
50
|
`,ze=o($e)`
|
|
51
51
|
display: flex;
|
|
@@ -90,8 +90,8 @@ import{a9 as me,fA as xe,V as t,ac as ye,cp as ge,cq as je,cr as Se,o as c,a as
|
|
|
90
90
|
flex-direction: column;
|
|
91
91
|
align-items: flex-start;
|
|
92
92
|
justify-content: center;
|
|
93
|
-
min-width: ${
|
|
94
|
-
`,
|
|
93
|
+
min-width: ${m.balanceContainerWidth}px;
|
|
94
|
+
`,A=o(X)`
|
|
95
95
|
display: flex;
|
|
96
96
|
color: ${e=>e.theme.colors.hero};
|
|
97
97
|
align-items: center;
|
|
@@ -104,7 +104,7 @@ import{a9 as me,fA as xe,V as t,ac as ye,cp as ge,cq as je,cr as Se,o as c,a as
|
|
|
104
104
|
flex-direction: column;
|
|
105
105
|
align-items: flex-start;
|
|
106
106
|
justify-content: flex-start;
|
|
107
|
-
min-width: ${
|
|
107
|
+
min-width: ${m.balanceContainerWidth}px;
|
|
108
108
|
`,Xe=o(d)`
|
|
109
109
|
display: flex;
|
|
110
110
|
color: ${e=>e.theme.colors.primary};
|
|
@@ -121,7 +121,7 @@ import{a9 as me,fA as xe,V as t,ac as ye,cp as ge,cq as je,cr as Se,o as c,a as
|
|
|
121
121
|
flex-direction: column;
|
|
122
122
|
align-items: flex-start;
|
|
123
123
|
justify-content: flex-start;
|
|
124
|
-
min-width: ${
|
|
124
|
+
min-width: ${m.balanceContainerWidth}px;
|
|
125
125
|
`,tt=o(d)`
|
|
126
126
|
display: flex;
|
|
127
127
|
color: ${e=>e.theme.colors.grey3};
|
|
@@ -160,7 +160,7 @@ import{a9 as me,fA as xe,V as t,ac as ye,cp as ge,cq as je,cr as Se,o as c,a as
|
|
|
160
160
|
flex-direction: column;
|
|
161
161
|
align-items: flex-start;
|
|
162
162
|
justify-content: center;
|
|
163
|
-
min-width: ${
|
|
163
|
+
min-width: ${m.sourceContainerWidth}px;
|
|
164
164
|
gap: ${c.sp2};
|
|
165
165
|
`,rt=o(Q)`
|
|
166
166
|
display: flex;
|
|
@@ -231,9 +231,9 @@ import{a9 as me,fA as xe,V as t,ac as ye,cp as ge,cq as je,cr as Se,o as c,a as
|
|
|
231
231
|
color: ${ne.success};
|
|
232
232
|
align-items: center;
|
|
233
233
|
justify-content: flex-end;
|
|
234
|
-
`,
|
|
234
|
+
`,mt=o(d)`
|
|
235
235
|
text-align: right;
|
|
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:K,expenseAutomation:{accountRecon:i}}=Ce.getLocalizedStrings(),mt=(e,n)=>`${e}.${n}`,xt="accountReconDrawerDetailsPage",se="accountReconDrawerDetailsSection";function Lt({accountReconciliation:e,plaidConnectionDetails:n,monthYearPeriod:l,openFilePicker:u,filesEndPoint:x,authParams:S,onDismissClick:$,onFetchLinkTokenClick:E,onEstablishConnectionClick:P,onSelectSourceType:T,onDeleteFile:R,onEditFileName:F,onStatementUploadSuccess:U,onUploadWindowOpenedOnce:B}){const m=me({mode:"all",reValidateMode:"onChange",defaultValues:J(e),resetOptions:{keepDirtyValues:!0,keepErrors:!0},values:J(e)}),b=m.handleSubmit(()=>{}),[h,y]=r.useState(void 0),k=n.link_account_no_microdeposit,v=n.update_account,a=h==="update_account"?v:k,[g,L]=r.useState(a.linkToken??null),[s,w]=r.useState(!1),[N,M]=r.useState(!1),[Y,A]=r.useState(void 0),[re,z]=r.useState(void 0),le=r.useCallback(()=>{y("link_account_no_microdeposit")},[]),de=r.useCallback(()=>{y("update_account"),E("update_account",e.paymentAccountId)},[e.paymentAccountId]),ue={onOkClick:()=>{Y!=null&&(R(Y),A(void 0)),z(void 0),M(!1)},onCancelClick:()=>{A(void 0),M(!1)}},H=r.useRef(h);r.useEffect(()=>{H.current=h},[h]);const pe=r.useCallback(I=>{P(I,e.accountReconEntity.account.accountId,H.current),y(void 0),w(!1)},[P,e.accountReconEntity.account.accountId]),he=r.useCallback((I,fe)=>{I!=null&&console.log("Plaid Connection Error",I,fe),y(void 0),w(!1)},[]),{open:q,ready:V}=xe({token:g,onSuccess:pe,onExit:he});return r.useEffect(()=>{(oe(new Date().toISOString()).isAfter(a.expiration)||a.linkToken==null)&&a.fetchStatus.fetchState==="Not-Started"&&E("link_account_no_microdeposit")},[a.fetchStatus.fetchState]),r.useEffect(()=>{!s&&h!=null&&a.linkToken===g&&a.fetchStatus.fetchState==="Completed"&&V&&w(!0)},[V,g,a.fetchStatus.fetchState,a.linkToken,h,s]),r.useEffect(()=>{a.fetchStatus.fetchState==="Completed"&&a.linkToken!=null&&a.linkToken!==g&&L(a.linkToken)},[a.fetchStatus.fetchState,a.linkToken,g]),r.useEffect(()=>{s&&q()},[s,q]),t.jsxs(Le,{children:[t.jsx(Ye,{children:t.jsx(We,{children:t.jsxs(Ne,{children:[t.jsx(Me,{}),t.jsxs(ze,{children:[t.jsx(He,{children:e.accountReconEntity.account.accountName}),t.jsx(ce,{children:t.jsx(kt,{monthYearPeriod:l})})]}),t.jsx(qe,{children:t.jsx(Ae,{onClick:$})})]})})}),t.jsxs(Oe,{children:[t.jsx(ye,{...m,children:t.jsx("form",{style:{width:"100%"},id:xt,onSubmit:b,children:t.jsx(yt,{monthYearPeriod:l,accountReconciliation:e,filesEndPoint:x,openFilePicker:u,authParams:S,onConnectClick:le,onReconnectClick:de,onSelectSourceType:T,onDeleteFile:R,onEditFileName:F,onStatementUploadSuccess:U,onUploadWindowOpenedOnce:B,showConfirmationPopup:N,setShowConfirmationPopup:M,deleteFileId:Y,setDeleteFileId:A,uploadErrorMessage:re,setUploadErrorMessage:z})})}),N===!0||e.statementDeleteStatus.fetchState==="In-Progress"?t.jsx(ge,{titleComponent:t.jsx(Se,{children:i.reconciliation.drawer.deleteConfirmation.heading}),descriptionComponent:t.jsx(je,{children:i.reconciliation.drawer.deleteConfirmation.description}),isLoading:e.statementDeleteStatus.fetchState==="In-Progress",primaryButtonText:p.confirm,secondaryButtonText:p.cancel,action:ue}):null]})]})}const yt=({monthYearPeriod:e,accountReconciliation:n,filesEndPoint:l,authParams:u,openFilePicker:x,onConnectClick:S,onReconnectClick:$,setDeleteFileId:E,setShowConfirmationPopup:P,onEditFileName:T,onSelectSourceType:R,onStatementUploadSuccess:F,onUploadWindowOpenedOnce:U,uploadErrorMessage:B,setUploadErrorMessage:m})=>{const[b,h]=r.useState(!1),y=(n.localData?.accountSource??"plaid")==="plaid"?n.accountReconEntity.reconciliationId!=null?n.accountReconEntity.reconUpdatedAt:n.accountReconEntity.accountUpdatedAt:n.accountReconEntity.reconUpdatedAt,k=[];n.accountReconEntity.account.accountType==="bank"&&k.push({label:i.reconciliation.menu.bankConnection,value:"plaid"}),k.push({label:i.reconciliation.menu.statement,value:"bank_statement"});const v=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||b?"bank_statement":void 0;n.accountReconEntity.account.accountType==="credit_card"&&(a="bank_statement"),r.useEffect(()=>{n.accountReconEntity.statementStatus.code==="uploaded"&&(n.accountReconEntity.statementDataStatus?.code==="validation_failed"||n.accountReconEntity.statementDataStatus?.code==="parsing_failed"||n.accountReconEntity.statementDataStatus?.code==="processing_failed")&&m(Te(n.accountReconEntity.statementDataStatus?.code,"drawer",n.accountReconEntity.errorMessage?.errorShort))},[n.accountReconEntity.statementStatus.code,n.accountReconEntity.statementDataStatus?.code,n.accountReconEntity.errorMessage?.errorShort,m]);const g=["reconciled","in_progress","reconciled_via_qbo"],L=n.accountReconEntity.reconciliationStatus!=null&&g.includes(n.accountReconEntity.reconciliationStatus.code);return t.jsxs(Ve,{children:[t.jsxs(Ge,{children:[t.jsxs(Ke,{children:[t.jsx(O,{children:i.reconciliation.headers.bankBalance}),t.jsx(Je,{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(Qe,{children:[t.jsx(O,{children:i.reconciliation.headers.clearedBalance}),t.jsx(Xe,{children:t.jsx(Ue,{clearedBalance:n.accountReconEntity.clearedBalance,isLoading:!1})})]}),t.jsxs(et,{children:[t.jsx(O,{children:i.reconciliation.headers.variance}),t.jsx(tt,{children:t.jsx($t,{variance:n.accountReconEntity.variance,variancePercentage:n.accountReconEntity.variancePercentage})})]})]}),t.jsxs(st,{children:[t.jsxs(rt,{children:[" ",i.reconciliation.drawer.source," "]}),t.jsxs(lt,{children:[t.jsxs(C,{children:[t.jsx(D,{children:i.reconciliation.drawer.labels.type}),t.jsx(_,{children:a!=null?t.jsx(j,{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(ve,{moreIconType:"custom",customIcon:t.jsx(gt,{selectedSourceType:v}),options:k,customStyleConfig:{option:()=>({".option-container":{justifyContent:"flex-start"}}),valueContainer:()=>({height:c.sp5,width:"180px"})},menuPlacement:"bottom",onOptionSelection:s=>{R(De(s))},valueToIcon:s=>s==="plaid"?t.jsx(ut,{}):s==="bank_statement"?t.jsx(pt,{}):null})})})]}),v==="bank_statement"?t.jsx(C,{children:t.jsx(we,{name:mt(se,"file"),file:n.accountReconEntity.statementMetaData?.file,showPhotoPicker:!1,isDisabled:L,sizeLimit:1e7,onFileSizeError:s=>{s&&m(p.fileElementPicker.sizeLimit)},deleteFileStatusById:{},updateFileStatusById:{},filesEndPoint:l,authParams:u,acceptableTypes:["application/pdf"],placeholderText:i.reconciliation.drawer.downloadPlaceholder,autoOpenFilePicker:x,accountStatementUpload:{uploadHelper:_e,metadataPayload:{accountId:n.accountReconEntity.account.accountId,accountType:n.accountReconEntity.account.accountType??"bank",monthYearPeriod:e},errorMessage:B,onUploadError:s=>{m(s?.message)},onUploadSuccess:s=>{F(s),h(!1)},onUploadStart:()=>{h(!0),m(void 0)},onUploadWindowOpenedOnce:()=>{U()}},onDeleteFile:s=>{E(s),P(!0)},onEditFileName:(s,w)=>{T(s,w)}})}):null,t.jsxs(C,{children:[t.jsx(D,{children:i.reconciliation.drawer.labels.status}),t.jsx(_,{children:v!=="bank_statement"?t.jsx(jt,{status:n.accountConnectionStatus,connectionInProgress:n.connectionInProgress,onConnectClick:S,onReconnectClick:$}):t.jsx(St,{uploadInProgress:b,status:n.accountReconEntity.statementDataStatus?.code})})]}),t.jsxs(C,{children:[t.jsx(D,{children:i.reconciliation.drawer.labels.accountType}),t.jsx(_,{children:t.jsx(bt,{accountSubType:G(n.accountReconEntity.account.accountSubType??"")})})]}),t.jsxs(C,{children:[t.jsx(D,{children:i.reconciliation.drawer.labels.lastUpdated}),t.jsx(_,{children:t.jsx(Z,{isLoading:b,customStyle:{height:"20px",width:"100px"},position:"left",children:y!=null?t.jsx(j,{children:G(y.utc(!0).fromNow())}):p.strings.hyphen})})]})]})]})]})},gt=({selectedSourceType:e})=>t.jsxs(ct,{children:[e==null||e==="plaid"?t.jsx(ie,{}):t.jsx(ae,{}),t.jsx(it,{children:e==null||e==="plaid"?i.reconciliation.menu.bankConnection:i.reconciliation.menu.statement}),t.jsx(at,{})]}),jt=({status:e,connectionInProgress:n,onConnectClick:l,onReconnectClick:u})=>n?t.jsx(W,{children:i.reconciliation.drawer.values.connecting}):e==="connected"?t.jsxs(W,{children:[t.jsx(dt,{}),t.jsx(ht,{children:i.reconciliation.drawer.values.connected})]}):t.jsx(W,{onClick:e==="reconnect"?u:l,children:t.jsx(ft,{status:e,children:e==="reconnect"?i.reconciliation.drawer.values.reconnect:i.reconciliation.drawer.values.connect})}),St=({status:e,uploadInProgress:n})=>n?t.jsx(Z,{isLoading:n,customStyle:{height:"20px",width:"100px"},position:"left",children:t.jsx(t.Fragment,{})}):e==null?t.jsx(j,{children:p.strings.hyphen}):e==="parsing"?t.jsx(j,{children:i.reconciliation.drawer.values.statementParsing}):e==="validated"?t.jsx(j,{children:i.reconciliation.drawer.values.uploaded}):t.jsx(j,{children:p.strings.hyphen}),$t=({variance:e,variancePercentage:n,reconciliationStatusCode:l})=>{const u=Ee(),{varianceColor:x,variancePercentageColor:S,variancePercentageContainerColor:$}=Be(u,e,l,!0);return t.jsxs(Ze,{children:[t.jsx(nt,{textColor:x,children:Pe("0,0",e)??p.strings.hyphen}),t.jsxs(ot,{textColor:S,bgColor:$,children:[n!=null?n===0?"0":n.toFixed(2):null,n!=null?p.strings.percentage:null]})]})},bt=({accountSubType:e})=>{const n=e!=null?e.replace("_"," "):p.strings.hyphen;return t.jsx(j,{children:n})},kt=({monthYearPeriod:e})=>t.jsx(ce,{children:vt(e)}),vt=e=>{const{month:n,year:l}=e,u=oe(`${l}-${String(n).padStart(2,"0")}-01`);let x=u.endOf("month");return`${u.format(K.visual.DMMMYYYYFormat)} ${p.strings.hyphen} ${x.format(K.visual.DMMMYYYYFormat)}`},J=e=>({[se]:{file:e.accountReconEntity.statementMetaData?.file,selectedType:e.localData?.accountSource}});export{Lt as default,mt as uniqueName};
|
|
239
|
+
`,{common:p,dateFormat:K,expenseAutomation:{accountRecon:i}}=Ce.getLocalizedStrings(),ft=(e,n)=>`${e}.${n}`,xt="accountReconDrawerDetailsPage",se="accountReconDrawerDetailsSection";function Lt({accountReconciliation:e,plaidConnectionDetails:n,monthYearPeriod:l,openFilePicker:u,filesEndPoint:x,authParams:S,onDismissClick:$,onFetchLinkTokenClick:E,onEstablishConnectionClick:P,onSelectSourceType:T,onDeleteFile:R,onEditFileName:F,onStatementUploadSuccess:U,onUploadWindowOpenedOnce:B}){const f=fe({mode:"all",reValidateMode:"onChange",defaultValues:J(e),resetOptions:{keepDirtyValues:!0,keepErrors:!0},values:J(e)}),b=f.handleSubmit(()=>{}),[h,y]=r.useState(void 0),k=n.link_account_no_microdeposit,v=n.update_account,a=h==="update_account"?v:k,[g,L]=r.useState(a.linkToken??null),[s,w]=r.useState(!1),[N,M]=r.useState(!1),[O,Y]=r.useState(void 0),[re,z]=r.useState(void 0),le=r.useCallback(()=>{y("link_account_no_microdeposit")},[]),de=r.useCallback(()=>{y("update_account"),E("update_account",e.paymentAccountId)},[e.paymentAccountId]),ue={onOkClick:()=>{O!=null&&(R(O),Y(void 0)),z(void 0),M(!1)},onCancelClick:()=>{Y(void 0),M(!1)}},H=r.useRef(h);r.useEffect(()=>{H.current=h},[h]);const pe=r.useCallback(I=>{P(I,e.accountReconEntity.account.accountId,H.current),y(void 0),w(!1)},[P,e.accountReconEntity.account.accountId]),he=r.useCallback((I,me)=>{I!=null&&console.log("Plaid Connection Error",I,me),y(void 0),w(!1)},[]),{open:q,ready:V}=xe({token:g,onSuccess:pe,onExit:he});return r.useEffect(()=>{(oe(new Date().toISOString()).isAfter(a.expiration)||a.linkToken==null)&&a.fetchStatus.fetchState==="Not-Started"&&E("link_account_no_microdeposit")},[a.fetchStatus.fetchState]),r.useEffect(()=>{!s&&h!=null&&a.linkToken===g&&a.fetchStatus.fetchState==="Completed"&&V&&w(!0)},[V,g,a.fetchStatus.fetchState,a.linkToken,h,s]),r.useEffect(()=>{a.fetchStatus.fetchState==="Completed"&&a.linkToken!=null&&a.linkToken!==g&&L(a.linkToken)},[a.fetchStatus.fetchState,a.linkToken,g]),r.useEffect(()=>{s&&q()},[s,q]),t.jsxs(Le,{children:[t.jsx(Oe,{children:t.jsx(We,{children:t.jsxs(Ne,{children:[t.jsx(Me,{}),t.jsxs(ze,{children:[t.jsx(He,{children:e.accountReconEntity.account.accountName}),t.jsx(ce,{children:t.jsx(kt,{monthYearPeriod:l})})]}),t.jsx(qe,{children:t.jsx(Ye,{onClick:$})})]})})}),t.jsxs(Ae,{children:[t.jsx(ye,{...f,children:t.jsx("form",{style:{width:"100%"},id:xt,onSubmit:b,children:t.jsx(yt,{monthYearPeriod:l,accountReconciliation:e,filesEndPoint:x,openFilePicker:u,authParams:S,onConnectClick:le,onReconnectClick:de,onSelectSourceType:T,onDeleteFile:R,onEditFileName:F,onStatementUploadSuccess:U,onUploadWindowOpenedOnce:B,showConfirmationPopup:N,setShowConfirmationPopup:M,deleteFileId:O,setDeleteFileId:Y,uploadErrorMessage:re,setUploadErrorMessage:z})})}),N===!0||e.statementDeleteStatus.fetchState==="In-Progress"?t.jsx(ge,{titleComponent:t.jsx(Se,{children:i.reconciliation.drawer.deleteConfirmation.heading}),descriptionComponent:t.jsx(je,{children:i.reconciliation.drawer.deleteConfirmation.description}),isLoading:e.statementDeleteStatus.fetchState==="In-Progress",primaryButtonText:p.confirm,secondaryButtonText:p.cancel,action:ue}):null]})]})}const yt=({monthYearPeriod:e,accountReconciliation:n,filesEndPoint:l,authParams:u,openFilePicker:x,onConnectClick:S,onReconnectClick:$,setDeleteFileId:E,setShowConfirmationPopup:P,onEditFileName:T,onSelectSourceType:R,onStatementUploadSuccess:F,onUploadWindowOpenedOnce:U,uploadErrorMessage:B,setUploadErrorMessage:f})=>{const[b,h]=r.useState(!1),y=(n.localData?.accountSource??"plaid")==="plaid"?n.accountReconEntity.reconciliationId!=null?n.accountReconEntity.reconUpdatedAt:n.accountReconEntity.accountUpdatedAt:n.accountReconEntity.reconUpdatedAt,k=[];n.accountReconEntity.account.accountType==="bank"&&k.push({label:i.reconciliation.menu.bankConnection,value:"plaid"}),k.push({label:i.reconciliation.menu.statement,value:"bank_statement"});const v=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||b?"bank_statement":void 0;n.accountReconEntity.account.accountType==="credit_card"&&(a="bank_statement"),r.useEffect(()=>{n.accountReconEntity.statementStatus.code==="uploaded"&&(n.accountReconEntity.statementDataStatus?.code==="validation_failed"||n.accountReconEntity.statementDataStatus?.code==="parsing_failed"||n.accountReconEntity.statementDataStatus?.code==="processing_failed")&&f(Te(n.accountReconEntity.statementDataStatus?.code,"drawer",n.accountReconEntity.errorMessage?.errorShort))},[n.accountReconEntity.statementStatus.code,n.accountReconEntity.statementDataStatus?.code,n.accountReconEntity.errorMessage?.errorShort,f]);const g=["reconciled","in_progress","reconciled_via_qbo"],L=n.accountReconEntity.reconciliationStatus!=null&&g.includes(n.accountReconEntity.reconciliationStatus.code);return t.jsxs(Ve,{children:[t.jsxs(Ge,{children:[t.jsxs(Ke,{children:[t.jsx(A,{children:i.reconciliation.headers.bankBalance}),t.jsx(Je,{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(Qe,{children:[t.jsx(A,{children:i.reconciliation.headers.clearedBalance}),t.jsx(Xe,{children:t.jsx(Ue,{clearedBalance:n.accountReconEntity.clearedBalance,isLoading:!1})})]}),t.jsxs(et,{children:[t.jsx(A,{children:i.reconciliation.headers.variance}),t.jsx(tt,{children:t.jsx($t,{variance:n.accountReconEntity.variance,variancePercentage:n.accountReconEntity.variancePercentage})})]})]}),t.jsxs(st,{children:[t.jsxs(rt,{children:[" ",i.reconciliation.drawer.source," "]}),t.jsxs(lt,{children:[t.jsxs(C,{children:[t.jsx(D,{children:i.reconciliation.drawer.labels.type}),t.jsx(_,{children:a!=null?t.jsx(j,{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(ve,{moreIconType:"custom",customIcon:t.jsx(gt,{selectedSourceType:v}),options:k,customStyleConfig:{option:()=>({".option-container":{justifyContent:"flex-start"}}),valueContainer:()=>({height:c.sp5,width:"180px"})},menuPlacement:"bottom",onOptionSelection:s=>{R(De(s))},valueToIcon:s=>s==="plaid"?t.jsx(ut,{}):s==="bank_statement"?t.jsx(pt,{}):null})})})]}),v==="bank_statement"?t.jsx(C,{children:t.jsx(we,{name:ft(se,"file"),file:n.accountReconEntity.statementMetaData?.file,showPhotoPicker:!1,isDisabled:L,sizeLimit:1e7,onFileSizeError:s=>{s&&f(p.fileElementPicker.sizeLimit)},deleteFileStatusById:{},updateFileStatusById:{},filesEndPoint:l,authParams:u,acceptableTypes:["application/pdf"],placeholderText:i.reconciliation.drawer.downloadPlaceholder,autoOpenFilePicker:x,accountStatementUpload:{uploadHelper:_e,metadataPayload:{accountId:n.accountReconEntity.account.accountId,accountType:n.accountReconEntity.account.accountType??"bank",monthYearPeriod:e},errorMessage:B,onUploadError:s=>{f(s?.message)},onUploadSuccess:s=>{F(s),h(!1)},onUploadStart:()=>{h(!0),f(void 0)},onUploadWindowOpenedOnce:()=>{U()}},onDeleteFile:s=>{E(s),P(!0)},onEditFileName:(s,w)=>{T(s,w)}})}):null,t.jsxs(C,{children:[t.jsx(D,{children:i.reconciliation.drawer.labels.status}),t.jsx(_,{children:v!=="bank_statement"?t.jsx(jt,{status:n.accountConnectionStatus,connectionInProgress:n.connectionInProgress,onConnectClick:S,onReconnectClick:$}):t.jsx(St,{uploadInProgress:b,status:n.accountReconEntity.statementDataStatus?.code})})]}),t.jsxs(C,{children:[t.jsx(D,{children:i.reconciliation.drawer.labels.accountType}),t.jsx(_,{children:t.jsx(bt,{accountSubType:G(n.accountReconEntity.account.accountSubType??"")})})]}),t.jsxs(C,{children:[t.jsx(D,{children:i.reconciliation.drawer.labels.lastUpdated}),t.jsx(_,{children:t.jsx(Z,{isLoading:b,customStyle:{height:"20px",width:"100px"},position:"left",children:y!=null?t.jsx(j,{children:G(y.utc(!0).fromNow())}):p.strings.hyphen})})]})]})]})]})},gt=({selectedSourceType:e})=>t.jsxs(ct,{children:[e==null||e==="plaid"?t.jsx(ie,{}):t.jsx(ae,{}),t.jsx(it,{children:e==null||e==="plaid"?i.reconciliation.menu.bankConnection:i.reconciliation.menu.statement}),t.jsx(at,{})]}),jt=({status:e,connectionInProgress:n,onConnectClick:l,onReconnectClick:u})=>n?t.jsx(W,{children:i.reconciliation.drawer.values.connecting}):e==="connected"?t.jsxs(W,{children:[t.jsx(dt,{}),t.jsx(ht,{children:i.reconciliation.drawer.values.connected})]}):t.jsx(W,{onClick:e==="reconnect"?u:l,children:t.jsx(mt,{status:e,children:e==="reconnect"?i.reconciliation.drawer.values.reconnect:i.reconciliation.drawer.values.connect})}),St=({status:e,uploadInProgress:n})=>n?t.jsx(Z,{isLoading:n,customStyle:{height:"20px",width:"100px"},position:"left",children:t.jsx(t.Fragment,{})}):e==null?t.jsx(j,{children:p.strings.hyphen}):e==="parsing"?t.jsx(j,{children:i.reconciliation.drawer.values.statementParsing}):e==="validated"?t.jsx(j,{children:i.reconciliation.drawer.values.uploaded}):t.jsx(j,{children:p.strings.hyphen}),$t=({variance:e,variancePercentage:n,reconciliationStatusCode:l})=>{const u=Ee(),{varianceColor:x,variancePercentageColor:S,variancePercentageContainerColor:$}=Be(u,e,l,!0);return t.jsxs(Ze,{children:[t.jsx(nt,{textColor:x,children:Pe("0,0",e)??p.strings.hyphen}),t.jsxs(ot,{textColor:S,bgColor:$,children:[n!=null?n===0?"0":n.toFixed(2):null,n!=null?p.strings.percentage:null]})]})},bt=({accountSubType:e})=>{const n=e!=null?e.replace("_"," "):p.strings.hyphen;return t.jsx(j,{children:n})},kt=({monthYearPeriod:e})=>t.jsx(ce,{children:vt(e)}),vt=e=>{const{month:n,year:l}=e,u=oe(`${l}-${String(n).padStart(2,"0")}-01`);let x=u.endOf("month");return`${u.format(K.visual.DMMMYYYYFormat)} ${p.strings.hyphen} ${x.format(K.visual.DMMMYYYYFormat)}`},J=e=>({[se]:{file:e.accountReconEntity.statementMetaData?.file,selectedType:e.localData?.accountSource}});export{Lt as default,ft as uniqueName};
|