@zeniai/web-cockpit-ui 1.15.22-qa → 1.15.23-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-CZfTXGMr-Lnh65l9r.js → ACHDetailsPage-BOZmOJHO-DA9D4iJH.js} +2 -2
- package/dist/assets/{AIPerformancePage-CpfWdGaC-uJXPs-cJ.js → AIPerformancePage-ZVCJizP9-D55hw0l8.js} +16 -16
- package/dist/assets/AccountInfoPage-DF6IU0EG-CK0AD-ot.js +18 -0
- package/dist/assets/{AccountInfoPageContent-CYZIBmtA-Cc8jicZs.js → AccountInfoPageContent-D0wuuzMd-YMtVFfpn.js} +18 -18
- package/dist/assets/{AccountLockedInfoModal-BFBjEOzC-CW9VKIHW.js → AccountLockedInfoModal-Cfx-lPAZ-B55UQ1W3.js} +6 -6
- package/dist/assets/{AccountReconDetailsDrawerPage-DSFCBgAM-DRW_32Fg.js → AccountReconDetailsDrawerPage-DbHX6rPG-BwmWp-T3.js} +15 -15
- package/dist/assets/{AccountRow-Gn7g3D_F-BBQfly-U.js → AccountRow-Bk_25FCy-D03inSab.js} +21 -21
- package/dist/assets/{AccountsPromoCardStack-DOMli4-L-CRu-629U.js → AccountsPromoCardStack-DAXRwY1f-DegwS44K.js} +28 -28
- package/dist/assets/AddAddressForCardDrawer-DNGQGGYg-AmBvQD8m.js +6 -0
- package/dist/assets/{AddToWalletPage-D-Z-ZVZn-DWs7ZCUy.js → AddToWalletPage-CzziHgi7-j3gMOtad.js} +22 -22
- package/dist/assets/{AgingReportsPage-CdqPmA60-xeaigsqC.js → AgingReportsPage-Bdi3krKK-Bf-4bvXh.js} +5 -5
- package/dist/assets/{AllUserItems-DWLkEF2p-Cu4TKU61.js → AllUserItems-XWDuiug6-DkHHRN56.js} +10 -10
- package/dist/assets/{ApAgingDetailPage-CdtqprUm-UvzFtkee.js → ApAgingDetailPage-CaM_AzrU-DCtFqylK.js} +7 -7
- package/dist/assets/AppBasePage-B7_L4R6d-DSvQT3A9.js +71 -0
- package/dist/assets/{AppDrawerContent-DCMK2lRO-h01OkeSR.js → AppDrawerContent-DSX1364T-CNP-B7uf.js} +7 -7
- package/dist/assets/ApprovalRulesSettingsPage-DrjPOeyp-BrhLSwXJ.js +47 -0
- package/dist/assets/{ArAgingChart-DOYvVptv-DR9dm5ZT.js → ArAgingChart-M7KUNA4G-DKIpaPUv.js} +1 -1
- package/dist/assets/{ArAgingDetailPage-BCaRO749-DXQQQ2B5.js → ArAgingDetailPage-7lby5mXn-BtLBFlEX.js} +6 -6
- package/dist/assets/{AttachmentView-CnfHYBMC-GPUL-heq.js → AttachmentView-Bsa0u92o-BEQFOxXv.js} +7 -7
- package/dist/assets/{BankAccountSection-P9w-MOrg-CGYV7ljA.js → BankAccountSection-BkOlwayA-DP864Lrq.js} +6 -6
- package/dist/assets/{BankAccountWarningSection-BDEZ6LKQ-6TRhx7Zc.js → BankAccountWarningSection-uMOXLH0B-ZXC_xQuj.js} +9 -9
- package/dist/assets/{BankConnectionsSettingsPage-dE7WxsGo-DOI-arB-.js → BankConnectionsSettingsPage-C_YytTke-B8k-pddW.js} +21 -21
- package/dist/assets/{BillDetailPage-CAbohg1r-BBfYosTz.js → BillDetailPage-DvU5_Rsp-C9dpUiI6.js} +12 -12
- package/dist/assets/BillPayApprovalRuleDetailPage-UeVxIxfF-CFPoQw5A.js +27 -0
- package/dist/assets/{BillPayApprovalRulesPage-wy4fIDHo-0_ycq9ss.js → BillPayApprovalRulesPage-CA9eufjt-BNyCnVeE.js} +14 -14
- package/dist/assets/{BillPayPromoPage-CbXq0YNV-NkwCl8Xq.js → BillPayPromoPage-DsXPWKAf-BqLcGJ_H.js} +10 -10
- package/dist/assets/{BillPaySetUpPage-CwP6Aw2I-eUmg7lOc.js → BillPaySetUpPage-CeMhzZ_3-BI9-weFw.js} +7 -7
- package/dist/assets/BillingSettingsPage-BygJjDSp-C0Ia6obD.js +44 -0
- package/dist/assets/{BillsBulkReviewDrawerPage-QsGKIhW0-DYTD3gNy.js → BillsBulkReviewDrawerPage-WrR46NRa-CKI5pK1F.js} +1 -1
- package/dist/assets/{BoxItem-CgrlwejJ-SY_ufI2M.js → BoxItem-C0M4PSXY-D0kSlmNN.js} +1 -1
- package/dist/assets/BusinessVerificationPage-C63pUk4d-C1yyAjbf.js +138 -0
- package/dist/assets/{CardNumberSubText-DPlqciQh-IidQQCet.js → CardNumberSubText-B4dAoYDE-B1SbTgmV.js} +2 -2
- package/dist/assets/{CashbackDetailPage-DvxlixOz-BLcSoq8t.js → CashbackDetailPage-B6xvn-y3-CO89J05d.js} +16 -16
- package/dist/assets/{ChargeCardDetailPage-BwsPpOzj-BfT6wPmj.js → ChargeCardDetailPage-eJJ4MEE6-BXMqrqi9.js} +25 -25
- package/dist/assets/{ChargeCardListPage-BKu9-MWp-D4Kr8c-a.js → ChargeCardListPage-BYI2HIjA-B0giUbEV.js} +19 -19
- package/dist/assets/{ChargeCardListTable-BkAggUNy-DdMJhtGO.js → ChargeCardListTable-DAVYmKCK-DEY8KXB2.js} +44 -44
- package/dist/assets/{ChargeCardPaymentHistoryPage-BddAvqUm-D_kTbujS.js → ChargeCardPaymentHistoryPage-BX5HtOxd-BV2ugIHB.js} +47 -47
- package/dist/assets/ChargeCardPromoPage-DuQe7BpX-B1bYsTBb.js +222 -0
- package/dist/assets/{ChargeCardSetupPage-B3vasCMt-i66Fofvm.js → ChargeCardSetupPage-DG1eKhYR-BVTvcCk1.js} +6 -6
- package/dist/assets/{ChargeCardStatementsPage-BOscGNXN-BaohNBwD.js → ChargeCardStatementsPage-CvtZtuVC-BbTDMJQ9.js} +9 -9
- package/dist/assets/{CheckDepositDrawerPage-BEEyhU4L-BWlcFHrW.js → CheckDepositDrawerPage-BdacGDpy-CN6aGowb.js} +15 -15
- package/dist/assets/{CollapsableReportTable-BpZbn8JV-BJBRRzKX.js → CollapsableReportTable-UADp1m_8-C887iUXZ.js} +81 -81
- package/dist/assets/CompanyOfficerDetailsSection-CaAR0Wvk-CmXyx64P.js +331 -0
- package/dist/assets/{CompanyPassportCard-DnpS3cSu-DrHqCrTH.js → CompanyPassportCard-BJN2GEVm-LlIc7P9q.js} +5 -5
- package/dist/assets/CompanyPassportPage-D2ALJDF_-B0BzydTg.js +417 -0
- package/dist/assets/{CompleteProfile-E7yJ6AqT-Jh4pB2E8.js → CompleteProfile-C8X8Z3C2-Bzf6-WNu.js} +4 -4
- package/dist/assets/ConfettiBurst-DxHzdDPp-BHPKFQrr.js +1 -0
- package/dist/assets/{ConstrainedInnerElement-BeIpAPjB-BrcJvid9.js → ConstrainedInnerElement-BeIpAPjB-D4MBpZa1.js} +1 -1
- package/dist/assets/{CreateOrEditVendorPage-CqGWKAVs-7gjtNzWv.js → CreateOrEditVendorPage-y-COpdhs-CywEWB6a.js} +15 -15
- package/dist/assets/{CreditCardPaymentDrawerPage-CO7njZlm-C-d7vRgi.js → CreditCardPaymentDrawerPage-CntYJJ8v-CZ68p-k6.js} +16 -16
- package/dist/assets/{CurrencySelectField-DxdAWtY0-CBQRJAjO.js → CurrencySelectField-Dn-hE2az-n1RHeHxE.js} +3 -3
- package/dist/assets/{CustomerOnboardingActivationPage-CEaKVaVS-DcV5VN2r.js → CustomerOnboardingActivationPage-B9MZHJVc-BxzBFrW0.js} +5 -5
- package/dist/assets/CustomerOnboardingContainerPage-eR0yY2uX-CZ-wHAQI.js +1 -0
- package/dist/assets/{CustomerOnboardingDetailPageSkeleton-Bk-UD_xZ-DMv5b6Tt.js → CustomerOnboardingDetailPageSkeleton-BCe8BvQF-DaEKstx7.js} +13 -13
- package/dist/assets/CustomerOnboardingNoStepsPage-BHk7rDAg-B5ZKgZir.js +66 -0
- package/dist/assets/{CustomerOnboardingPage-D2g6ose5-Be4Xr3ip.js → CustomerOnboardingPage-1LvpVpHC-Cr4NP9fC.js} +8 -8
- package/dist/assets/{CustomerOnboardingProductSuitePage-BowJfyTX-BfHzAcC6.js → CustomerOnboardingProductSuitePage-DMYHMJXg-DeyKCfXK.js} +8 -8
- package/dist/assets/{Dashboard-46VwWQSI-DkmTwrc_.js → Dashboard-CCV0_aCP-BoBmH13Z.js} +1 -1
- package/dist/assets/{DashboardReportPage-BA6k3bPl-Ckr1Cj4h.js → DashboardReportPage-CmoH9Vrc-CzA5O7KO.js} +13 -13
- package/dist/assets/{DashboardSidebarBackgroundAnimation-Dh7RFAmH-Bd8SKLYF.js → DashboardSidebarBackgroundAnimation-hw3einS7-DUVXWx2a.js} +1 -1
- package/dist/assets/{DepositAccTransactionItem-Dql1IjYZ-CuunBLNt.js → DepositAccTransactionItem-DgdkYGjP-BkMVZWVv.js} +5 -5
- package/dist/assets/{DepositAccTransactionListPage-BjKtMY47-QOEpFUZh.js → DepositAccTransactionListPage-CF0WJn9M-DlPgp9dm.js} +5 -5
- package/dist/assets/{DomesticWireDetailsPage-DeXdHoem-D64dC2Fm.js → DomesticWireDetailsPage-B12tNa6e-DRCqor_l.js} +1 -1
- package/dist/assets/{DownloadOverlay-C9lm7jRS-CeHdqCLM.js → DownloadOverlay-Dt9yt4Fz-OGiiWSIN.js} +1 -1
- package/dist/assets/{DrawerPage-DwjcM3hz-DN4jvr6d.js → DrawerPage-Clki97FA-CqA84wbo.js} +13 -13
- package/dist/assets/EditPeoplePage-CKS_aEZm-B7Tw7FjE.js +55 -0
- package/dist/assets/{EditReimbursementDetailPage-BerHadSD-BZkriWLo.js → EditReimbursementDetailPage-CXy2ZWfZ-BrOpTSUf.js} +41 -41
- package/dist/assets/EntityDetailPage-B3TQ5hCP-IVMsCeoo.js +18 -0
- package/dist/assets/{EntitySummarySection-BvXgw7DC-CQCJSWNO.js → EntitySummarySection-D_YLsP_P-CSh4l-FA.js} +8 -8
- package/dist/assets/{ExpenseAutomationOverviewPage-ySXotmyY-CJVvqVP_.js → ExpenseAutomationOverviewPage-4z3yzHEA-ChRwE60S.js} +10 -10
- package/dist/assets/{ExpenseAutomationPage-CieCVy8t-QWzCgCzs.js → ExpenseAutomationPage-BJ4H_c2z-FgmOcOvc.js} +146 -146
- package/dist/assets/{ExpressPayPage-BnUc-3ye-C1dh3GPA.js → ExpressPayPage-CTBD4y1v-NYjAlIxO.js} +15 -15
- package/dist/assets/{FeaturePreviewPage-rGKH26mO-DT9io36R.js → FeaturePreviewPage-CYuTQWpP-Bl8VAq6v.js} +2 -2
- package/dist/assets/{FollowStepsSection-Cul0Cxvm-Cn0WFUN2.js → FollowStepsSection-BrpI2HyW-DNSECr6B.js} +9 -9
- package/dist/assets/{GlobalReviewListPage-CC2ACTah-DpbOnqO_.js → GlobalReviewListPage-BcvxLqIL-CD9rfA0-.js} +12 -12
- package/dist/assets/{InformationCardStack-geyzh82K-DogR-UgS.js → InformationCardStack-CU4Moqky-Bc_PhxNK.js} +4 -4
- package/dist/assets/{InsightsCardStack-DmEWXOXG-w9gyiHl5.js → InsightsCardStack-D8UQiuXZ-DRkswx9n.js} +8 -8
- package/dist/assets/InsightsSection-C3X6ZNEt-CSaE3QjL.js +27 -0
- package/dist/assets/{IntegrationsSettingsPage-D8DA20vr-kp4AqUjm.js → IntegrationsSettingsPage-CsLv00HW-c8_zALL5.js} +7 -7
- package/dist/assets/{InternationalWireSwiftDetailsPage-C0p3_QQy-B1pmkx4O.js → InternationalWireSwiftDetailsPage-DgrN5Xg7-ik2bKR2J.js} +21 -21
- package/dist/assets/InternationalWireVerificationPage-CvysJNBQ-Q67xp-Zv.js +65 -0
- package/dist/assets/{InviteFormPage-CH4FYGl4-C_KdwWPO.js → InviteFormPage-B3KmRWXd-DZboWDF0.js} +23 -23
- package/dist/assets/{InvitePageListView-C-RG9OiM-CB7Rd6Dr.js → InvitePageListView-DfpJBZru-8z8nAtFG.js} +66 -66
- package/dist/assets/InvitePeoplePage-C5Qgk24s-U6BHBwDh.js +12 -0
- package/dist/assets/{InvoiceUploadSection-YQHXVR_6-CHAjSpjl.js → InvoiceUploadSection-BO1i-e_D-S9qpWOlw.js} +21 -21
- package/dist/assets/{IssueChargeCardPage-CKhRoUiP-D72FC7LA.js → IssueChargeCardPage-mPsxt52d-PfQTvSAJ.js} +20 -20
- package/dist/assets/{LabeledAddressValue-D_-0VDjZ-CEjisdoE.js → LabeledAddressValue-C4fnQSyi-BYyUYLsR.js} +2 -2
- package/dist/assets/{LabeledAddressValueField-BNPvRvHU-DSWtQeav.js → LabeledAddressValueField-D6dEaI69-DANZLTzI.js} +4 -4
- package/dist/assets/LabeledControlledCheckBoxField-B1QdZmvd-DW7Mu6XT.js +16 -0
- package/dist/assets/LabeledCountryMultiSelectField-XeBih_-f-O6Y-iu_1.js +237 -0
- package/dist/assets/{LabeledCreatableSingleSelectField-C1dHZ9ym-BSUe-QeQ.js → LabeledCreatableSingleSelectField-BPX2Nrlf-VQgMHUfl.js} +21 -17
- package/dist/assets/LabeledDocumentField-Bjg8sNsg-C-PR2ZST.js +41 -0
- package/dist/assets/{LabeledDropDownFormattedTextField-QdvkGLEh-btByp1Dy.js → LabeledDropDownFormattedTextField-A-rgip1E-DXyiM_iz.js} +6 -6
- package/dist/assets/LabeledMultiSelectField-Di9Wnifv-CqQm8lOX.js +223 -0
- package/dist/assets/{LabeledText-CQiPSE0v-DtyhIBYN.js → LabeledText-38fqkkE--BV0pTSSz.js} +6 -6
- package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-CcmaUIGJ-BtTLvsY7.js → LabeledUserSingleSelectWithSubtitlesField-BbF25dUP-Bm5BEKWh.js} +17 -17
- package/dist/assets/{LabeledZeniRolesDropDownField-k0YihYN--BEaphyAB.js → LabeledZeniRolesDropDownField-Dg9_Ww-A-6LCZnv3_.js} +24 -24
- package/dist/assets/{LinkJETransactionPage-DUaT91O5-CYUXtAbL.js → LinkJETransactionPage-66mQ4nrK-Blq1QPxg.js} +16 -16
- package/dist/assets/{LockCardPage-DYD2_HzF-0LLriE_o.js → LockCardPage-BCqN4K17-BFhQlELS.js} +26 -26
- package/dist/assets/{LowBalancePopup-DiycrXpa-CTxg_4OL.js → LowBalancePopup-BPk1-eAb-DPKxi1xa.js} +5 -5
- package/dist/assets/MagicLinkACHDetailsPage-DM7EUUU7-6n4CruRX.js +1 -0
- package/dist/assets/MagicLinkDomesticWireDetailsPage-DKrGgFTu-DYmL1ff3.js +1 -0
- package/dist/assets/{MagicLinkInternationalWireDetailsPage-eZNTvlJK-uMbPktxq.js → MagicLinkInternationalWireDetailsPage-B3OpSWB3-BbCH3bCn.js} +1 -1
- package/dist/assets/MagicLinkSuccessPage-CphaJa4k-C1L3trsn.js +31 -0
- package/dist/assets/{MagicLinkTitleSection-D6bdQGfS-RYgbBPda.js → MagicLinkTitleSection-77rxhjLm-DuK-hJU3.js} +10 -10
- package/dist/assets/{MailingDetailsSection-Db8X4a09-Ca6nJ4bp.js → MailingDetailsSection-BJfZvT0b-Cqv93bBS.js} +6 -6
- package/dist/assets/{MyBankConnectionsSettingsPage-C9rAs8AC-CPgToLwh.js → MyBankConnectionsSettingsPage-z0tHaSl1-D8NpXmDe.js} +13 -13
- package/dist/assets/{MyPendingActivationChargeCardListPage-Dhz5e_Uu-CbKEq9X-.js → MyPendingActivationChargeCardListPage-CwGYwufd-BhPm_tq1.js} +1 -1
- package/dist/assets/{MyProfileSettingsPage-CxZER675-DWy9A37H.js → MyProfileSettingsPage-8yBXAre6-Bs5xqc-e.js} +8 -8
- package/dist/assets/{NavBarWithPicker-BSVBMx7T-7ctXnXTR.js → NavBarWithPicker-C3LVyiC9-QHhc6aBd.js} +5 -5
- package/dist/assets/{NavigationArrow-Ca-B5zfh-DOkEZ23Y.js → NavigationArrow-NuJEpE7O-BsQF0lUP.js} +1 -1
- package/dist/assets/{NavigationDots-CjxNj1Qo-DUSolsbK.js → NavigationDots-C7Na64B9-CHGprwD5.js} +3 -3
- package/dist/assets/{NewGlobalMerchantPage-LykCdab5-BSlnLQR0.js → NewGlobalMerchantPage-Cus6zYV_-DyfxnG1c.js} +41 -41
- package/dist/assets/NoDataChart-B3s_7m2n-DuPBFXV2.js +26 -0
- package/dist/assets/NoDataTable-CMpypnTw-C6S_V6d0.js +8 -0
- package/dist/assets/{NotFoundPage-C4BU4sH8-DZzAQ8sH.js → NotFoundPage-RjXioqc8-DMQ0F7IL.js} +9 -9
- package/dist/assets/{NotificationSettingsPage-BcZEeTzA-CPfHSoWp.js → NotificationSettingsPage-DrDW_LU_-mWZ117zO.js} +21 -21
- package/dist/assets/{NotificationsListConfig-CYqB9pO5-DEDNzQZY.js → NotificationsListConfig-C6_ap0JT-D0MspRwp.js} +1 -1
- package/dist/assets/{NotificationsPage-BpE7xDxK-D8yClJTG.js → NotificationsPage-DOM-Gf5P-BRdHJwOp.js} +15 -15
- package/dist/assets/{OpExByVendorPage-CzAB4zqP-CULV3aDc.js → OpExByVendorPage-CTuBB827-Bbt1veu8.js} +20 -20
- package/dist/assets/OverlayContainerPage-D4QU0p4o-Bbmz6FH4.js +11 -0
- package/dist/assets/{PandLWithForecastPage-CDkHjqzy-DUlj3c64.js → PandLWithForecastPage-BXaENYdR-DDSkVfM3.js} +11 -11
- package/dist/assets/PaymentAccountSetupBillingAddressSection-DSnQX90O-Dx1jHuZ7.js +107 -0
- package/dist/assets/{PeoplePage-C_FZL-mx-C-bfDUUk.js → PeoplePage-BlyVVthI-fFVSXzpH.js} +36 -36
- package/dist/assets/{Preview-D3Bnt1d1.js → Preview-DuIVCswF.js} +1 -1
- package/dist/assets/{ProductsCarousel-lJBWrgjU-DonlKGOT.js → ProductsCarousel-CAcPH--E-BIuBBeKB.js} +6 -6
- package/dist/assets/{PromoBaseCards-BHeLFDFF-D9FOKv3v.js → PromoBaseCards-BVwZMVeE-DstwmvWv.js} +2 -2
- package/dist/assets/{QBOConnectionDialog-BfBk1GDG-BMfCjZzO.js → QBOConnectionDialog-C3OYyhYO-5hTjd5-l.js} +5 -5
- package/dist/assets/{QBOSetupSection-BO8FYRd_-Qn6LUGzs.js → QBOSetupSection-DQjol-D0-05cxakPz.js} +11 -11
- package/dist/assets/ReimbursementApprovalRuleDetailPage-llw4ONPo-DjqdHx3S.js +32 -0
- package/dist/assets/{ReimbursementApprovalRulesPage-2-dvUngC-DoA4Aa6y.js → ReimbursementApprovalRulesPage-Cx0gs7sS-B-krQa99.js} +9 -9
- package/dist/assets/{ReimbursementDetailPage-CCBrKxup-eMdyzTTS.js → ReimbursementDetailPage-Cs_rmkS8-DW1o_189.js} +13 -13
- package/dist/assets/{ReimbursementPromoPage-C1DzNWh1-IOjKQSRs.js → ReimbursementPromoPage-CCFl0kQK-B9O9Pssf.js} +8 -8
- package/dist/assets/{ReimbursementSetUpPage-Bs1pChM5-DSiQEn3A.js → ReimbursementSetUpPage-lf3xTVFh-COXeJ33g.js} +12 -12
- package/dist/assets/{ReimbursementsBulkReviewDrawerPage-BY1ivHX0-YGjjSYE0.js → ReimbursementsBulkReviewDrawerPage-C5MTFJLG-CJIWqV-7.js} +1 -1
- package/dist/assets/{ReloadCard-Ci1JfueA-DAWS8WWx.js → ReloadCard-V_tv6YLR-pIKKLA9H.js} +6 -6
- package/dist/assets/{ReportTableViewSelector-FSUjS0tA-BxIJxG6X.js → ReportTableViewSelector-CWEvGn8L-CcECbGsj.js} +6 -6
- package/dist/assets/{ReportsPage-2XGgGATP-w9xnPMQA.js → ReportsPage-BJOH1wgv-CXqYsJPZ.js} +6 -6
- package/dist/assets/{RevenueChart-DhiHl3J4-BhIufAgU.js → RevenueChart-C_tSBw_N-Cwj-E2UP.js} +19 -19
- package/dist/assets/{ReviewDetailsPage-JfBmJL7T-BkX_u_VB.js → ReviewDetailsPage-CScPf4w3-Cz00WVXv.js} +25 -25
- package/dist/assets/{ReviewOverlay-B8Quli7Z-BlSCP7tq.js → ReviewOverlay-BQVwPzKa-BxRw_iSk.js} +31 -31
- package/dist/assets/{RoleWithToolTip-DL78JlR8-CjxKYGM4.js → RoleWithToolTip-GCV_l8Ly-GZKD9YbI.js} +2 -2
- package/dist/assets/{ScheduleDetailsFixedAssetsPage-B-mkt12S-BfkvZ3VG.js → ScheduleDetailsFixedAssetsPage-Cgqgn7nk-B00K9FnO.js} +13 -13
- package/dist/assets/{ScheduleDetailsPage-BUZcySac-MhIHJ681.js → ScheduleDetailsPage-D1EJbzxN-l7ivTR2t.js} +3 -3
- package/dist/assets/{ScheduleSequenceTable-CdKMmZqy-YJzhKMlw.js → ScheduleSequenceTable-DDhoyPGX-CcxwU9B1.js} +37 -37
- package/dist/assets/{ScreenRoutes-zyk3b_eT.js → ScreenRoutes-CbhRMGYb.js} +1 -1
- package/dist/assets/{SetUpAccountSection-D1MXUm9M-DRyEln1s.js → SetUpAccountSection-AVL_16HQ-CfJdXpM8.js} +9 -9
- package/dist/assets/{SignIn-CPWFfFe2-DWSC_Uuu.js → SignIn-BLUwTp1l-Diu2Dl0P.js} +12 -12
- package/dist/assets/SignInScreen-BAFcpgXM.js +1 -0
- package/dist/assets/{SpendManagementListViewPage--cVcOp1f-D8QFk4lP.js → SpendManagementListViewPage-DJbNFHvP-HVPQNsga.js} +15 -15
- package/dist/assets/{SpendManagementPerTabPage-DPxjzKS8-BPBxP33H.js → SpendManagementPerTabPage-J5pIRm-Q-zn5Z_C9i.js} +38 -38
- package/dist/assets/{SpendManagementSection-CA8SwNCI-CvoMroBv.js → SpendManagementSection-DZaP5ai6-BivazJAu.js} +17 -17
- package/dist/assets/{StatementItem-UzV0xHzG-DvTqvxWA.js → StatementItem-D2Fx65LN-DEt1HHDA.js} +6 -6
- package/dist/assets/{StatementsPage-CksjCH5w-DHQ77cv-.js → StatementsPage-BCh51lDW-DEzdN4yP.js} +1 -1
- package/dist/assets/{StatusSwitcher-BDDVmn-K-DeuB9OqT.js → StatusSwitcher-C5ZrzI8Y-RGx-Rq5m.js} +1 -1
- package/dist/assets/{SubTabSwitcher-CMsdXoCD-WAW9EP3o.js → SubTabSwitcher-BXZxKeq9-N3T4zPQn.js} +2 -2
- package/dist/assets/{SummaryCard-B4km1rL_-BMpuE5I6.js → SummaryCard-194UToy6-ZSyhRMcE.js} +1 -1
- package/dist/assets/{TaskManagementPage-CDi3YMVo-BCVU9Q83.js → TaskManagementPage-zcxDUo0t-CfkgE02v.js} +35 -35
- package/dist/assets/{TimeRangeSwitcher-D1boW3u5-CiXr6wR1.js → TimeRangeSwitcher-Bsv7zQmN-0uKzxEGk.js} +11 -11
- package/dist/assets/{TimeframeSwitcher-NWdUWC8r-BeE5s881.js → TimeframeSwitcher-DtxsNy1Z-Dpwd2ynA.js} +6 -6
- package/dist/assets/{TimeframeSwitcherWithToggle-BCRqmVAB-c94605Tu.js → TimeframeSwitcherWithToggle-B5bFhbvL-C0I_F7ow.js} +1 -1
- package/dist/assets/{TopExCard-B7nDaKGC-Bg814R6B.js → TopExCard-CBua66Cj-CBuXuQOS.js} +12 -12
- package/dist/assets/{TopExDetailPage-CFC5Kzob-ujXs8dCt.js → TopExDetailPage-DtMA-XMp-EMAyiYoo.js} +10 -10
- package/dist/assets/{TransactionActivityLogPage-dLfey-Pj-71cBX4RW.js → TransactionActivityLogPage-C3BPL8hi-rjH_p-06.js} +9 -9
- package/dist/assets/{TransactionDetailPage-DUFj8B1S-C57lmiLq.js → TransactionDetailPage-CeKaduBe-gc3Brzcv.js} +35 -35
- package/dist/assets/{TransactionList-BDaoHCk7-RJMTG3DX.js → TransactionList-CSx8ZCZ--BfPEmkgj.js} +12 -12
- package/dist/assets/{TransactionListBig-DxOGEDcA-Bpd7KyjM.js → TransactionListBig-B4cNQY2d-xUQ7gipo.js} +11 -11
- package/dist/assets/TransactionListPage-DHr64V-b-DDnZn40X.js +35 -0
- package/dist/assets/{TransactionVendorDetailPage-CliQXg5L-mqUw7M0R.js → TransactionVendorDetailPage-DsxI8U5b-BIfZV2Ct.js} +7 -7
- package/dist/assets/{TransferDrawerPage-kbzn1dkx-B-gXa4jg.js → TransferDrawerPage-C91TQwZi-B3ongtBQ.js} +34 -34
- package/dist/assets/{TreasuryOverviewPage-j8Dtk2Q8-CYEQwDNB.js → TreasuryOverviewPage-BoBn_gtF-1-z_98qx.js} +48 -48
- package/dist/assets/{TreasuryPromoPage-BlgxNE0U-C8L5Aqll.js → TreasuryPromoPage-CQ-VYEQC-DBZ3Ca-z.js} +17 -17
- package/dist/assets/{TreasuryStatementsPage-Bd70Y2Yv-CGUVJxwW.js → TreasuryStatementsPage-taTRE54D-s03VARjq.js} +1 -1
- package/dist/assets/{TreasuryTaxLetterPage-DL4GDdXJ-ReKQk0DV.js → TreasuryTaxLetterPage-Cxhr51TD-DSRIuJm4.js} +1 -1
- package/dist/assets/{TrendChart-BS6VOoj_-B4CrrKxh.js → TrendChart-DATgAEKG-BGhvWXdf.js} +4 -4
- package/dist/assets/{TrendWithTransactions-DMAMnr7F-BuabV9Xz.js → TrendWithTransactions-DqPFuOvC-Bu3TdK3s.js} +6 -6
- package/dist/assets/{UncategorizedAccountsMappingPage-stLOvAUg-B8dn25ti.js → UncategorizedAccountsMappingPage-BQjXazj4-BOpLaunW.js} +14 -14
- package/dist/assets/{UnitIntegrationPage-D39cXlRw-DGhe8Ell.js → UnitIntegrationPage-BiRGRtpI-DxaSFD1H.js} +6 -6
- package/dist/assets/{UploadAdditionalDocumentOverlay-BmiNa89K-BTN8zH3K.js → UploadAdditionalDocumentOverlay-DCldWCol-B3iVz4fI.js} +1 -1
- package/dist/assets/Vendor2FAPopup-BpkAiYTA-99TJd7nU.js +1 -0
- package/dist/assets/VendorACHDetailsPage-tUuZzJnN-BFUuaQ6q.js +1 -0
- package/dist/assets/{VendorDetailPage-Ck26EgtS-J34I2iWH.js → VendorDetailPage-DY4iaLtz-AjIptjjy.js} +30 -30
- package/dist/assets/VendorDomesticWireDetailsPage-B5Nym5J9-CpOxRXxZ.js +1 -0
- package/dist/assets/{VendorFiling1099EditablePage-PYVQaWMk-IQ6BXnnM.js → VendorFiling1099EditablePage-Dep7O8Uz-Do-rxCWR.js} +38 -38
- package/dist/assets/{VendorFirstReviewPage-hKEEnsZq-Dg2mNc4d.js → VendorFirstReviewPage-CJQIZn8g-DkET_08K.js} +36 -36
- package/dist/assets/{VendorInternationalWireDetailsPage-qv2qL6Xn-cR3M50rU.js → VendorInternationalWireDetailsPage-CJG5RIa2-DsTS-Uh9.js} +15 -15
- package/dist/assets/VendorInternationalWireSwiftDetailsPage-DZabfieM-a851bv0Y.js +1 -0
- package/dist/assets/{VendorsAccountsSection-BeiK6LWK-B3NLg17b.js → VendorsAccountsSection-D65ewlO6-DU6ZIrZA.js} +3 -3
- package/dist/assets/{VerifyDevice-BVtSQLC2-B413l5qj.js → VerifyDevice-B1_jgwgY-DAz-KAtd.js} +3 -3
- package/dist/assets/{VideoPlayer-DcPwSvda-CZGYvE6C.js → VideoPlayer-vWSXteQ6-D5qS5__p.js} +2 -2
- package/dist/assets/{VideoPopup-CSSLhfoi-CggaWf4Q.js → VideoPopup-CdsmU6H4-Du7UVtqu.js} +3 -3
- package/dist/assets/{WarningsDrawerPage-y9CUfPu5-BXiOCc9G.js → WarningsDrawerPage-CjgOsD00-Denf4Sio.js} +9 -9
- package/dist/assets/{ZeniAccountDetailPage-CeL_e1NL-uckQ70j3.js → ZeniAccountDetailPage-DiLnoonB-DZ1tpmUL.js} +30 -30
- package/dist/assets/{ZeniAccountListViewPage-C-rGqw9i-CZZ4qFYr.js → ZeniAccountListViewPage-YfPsO8ls-CfUQiafE.js} +11 -11
- package/dist/assets/{ZeniAccountNavBarPieces-CSy5vlQ--B5sUMcLP.js → ZeniAccountNavBarPieces-CHStBvRa-5ll2dkEQ.js} +3 -3
- package/dist/assets/{ZeniAccountPromoPage-ByNyhhoa-DoFBMtzK.js → ZeniAccountPromoPage-cEfW88p8-BvUDgJZp.js} +12 -12
- package/dist/assets/{ZeniAccountSetupPage-YbvbQFzj-DTMXRwPe.js → ZeniAccountSetupPage-B20DHYex-DsTq1nG1.js} +4 -4
- package/dist/assets/{ZeniCopyright-D5ywJMrC-BNrbqyo3.js → ZeniCopyright-BROHmszx-VivYqHvz.js} +1 -1
- package/dist/assets/{ZeniTransferAmountSlider-CKFCKGRC-Bm4EEGGu.js → ZeniTransferAmountSlider-DZZrrFXf-DAQs85Xb.js} +4 -4
- package/dist/assets/{add-to-wallet-DgdBD8_G-8P7CIdyf.js → add-to-wallet-DgdBD8_G-DBbMptVC.js} +1 -1
- package/dist/assets/{analytics-BgoqoHps.js → analytics-DH2FWXQR.js} +1 -1
- package/dist/assets/analyticsHelper-CeC4SQzK.js +1 -0
- package/dist/assets/{analyticsHelper-nJyKiOwQ-Bz7HQ3Wp.js → analyticsHelper-FJ-cS8qS-Bs47KEMI.js} +1 -1
- package/dist/assets/{arrow-south-east-round-PEovUgvH-PYswqry-.js → arrow-south-east-round-PEovUgvH-DzFpwdLa.js} +1 -1
- package/dist/assets/{auto-transfer-rule-mbafm5D3-jFxp1S6C.js → auto-transfer-rule-mbafm5D3-C9AIqfs3.js} +1 -1
- package/dist/assets/chartTypes-DJdbX13L-BnqLcj4-.js +1 -0
- package/dist/assets/{commonDimensions-Upfg-PB1-BJB9saec.js → commonDimensions-BpYNnQtf-BVrF2eSg.js} +1 -1
- package/dist/assets/commonTypes-BVbA7QjV-rrrVgiRE.js +1 -0
- package/dist/assets/{constants-DwGCeqFm.js → constants-nz8RVtEp.js} +1 -1
- package/dist/assets/{core-B5JTMc-Y.js → core-Be77t6wT.js} +1 -1
- package/dist/assets/{dash.all.min-CALjDmjw.js → dash.all.min-1JaBh8EA.js} +1 -1
- package/dist/assets/{detailCommon-_wEL82NI-CwSBrbUn.js → detailCommon-BRja9H93-BgDpKJS8.js} +5 -5
- package/dist/assets/{downloadPdf-CMFOff-_-CRKBzHJP.js → downloadPdf-WDHjFv79-x1y7Noz9.js} +1 -1
- package/dist/assets/{empty-B_TE5-ZP.js → empty-CVHCqPg8.js} +1 -1
- package/dist/assets/{empty-mBRZ5aW0.js → empty-DqMX1iak.js} +1 -1
- package/dist/assets/epic-upTynnWU.js +2 -0
- package/dist/assets/{gift-box-Cmt9OgIZ-DlDZOX77.js → gift-box-Cmt9OgIZ-hRxp85e2.js} +1 -1
- package/dist/assets/{graphic-no-data-l-DU4J8fDt-DEI87UY9.js → graphic-no-data-l-DU4J8fDt-DdG5b35f.js} +1 -1
- package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-CQMUgr0O.js → graphic-no-data-net-burn-l-CzmycA0m-CRLCiMSY.js} +1 -1
- package/dist/assets/{handshake-BPg58FML-CTRgrDfQ.js → handshake-BPg58FML-Ts-GBzII.js} +1 -1
- package/dist/assets/{index-DtsBa1Px.js → index-BIQvGH1Z.js} +1 -1
- package/dist/assets/{index-CEB0S5G3.js → index-CHDWslZ9.js} +1 -1
- package/dist/assets/{index-BDOnIbbU.js → index-CNJQ6T57.js} +4094 -4048
- package/dist/assets/{index-BCxrNetx.js → index-Cyi12XGG.js} +1 -1
- package/dist/assets/{index-PvEc74OO.js → index-Q1D5afUf.js} +1 -1
- package/dist/assets/{index-CMcDE-0x.js → index-WLQ2kK4T.js} +1 -1
- package/dist/assets/{index-Ddw0lsYO.js → index-gGz0-y9K.js} +1 -1
- package/dist/assets/{lexical-C4hGDQy7.js → lexical-4qH-Yr6_.js} +1 -1
- package/dist/assets/{liveblocks-DXXqIP7n.js → liveblocks-CUDrE-0X.js} +1 -1
- package/dist/assets/{lottie-DruO0Lf9.js → lottie-C5G-hUN3.js} +1 -1
- package/dist/assets/{mapLoadingInProgressToTreeNode-ll9NZ-I4-PX4nSrtX.js → mapLoadingInProgressToTreeNode-C_5Bb47i-KSj20Sfu.js} +1 -1
- package/dist/assets/{mapSectionWithAcOnlyToTreeNode-DcevOSiz-CpiaZ_e5.js → mapSectionWithAcOnlyToTreeNode-BlrJTKah-BOJoZ8nO.js} +1 -1
- package/dist/assets/{mapSpacerToTreeNode-6Qxn340N-B35_Y-l2.js → mapSpacerToTreeNode-DvdWKHfX-D62umWzQ.js} +1 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-88qIN3FA-CB8prKZU.js +1 -0
- package/dist/assets/mapTimeframeBalancesToTreeNode-AkxvYRty-Dd11welj.js +1 -0
- package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-B5MDTbLz-BEBQ7_uD.js +1 -0
- package/dist/assets/{mui-Dn-FysqD.js → mui-DsjrNjDe.js} +1 -1
- package/dist/assets/{page-detail-CWX5S47F-B9Rmi6ZE.js → page-detail-CWX5S47F--SwzhZlk.js} +1 -1
- package/dist/assets/{panelSelectedMixin-CzfD5-Zs-BOU4oLTL.js → panelSelectedMixin-CzfD5-Zs-Cev-MiVu.js} +1 -1
- package/dist/assets/{radio-default-CiSgisfh-CI2BOyaZ.js → radio-default-CiSgisfh-YvmWy399.js} +1 -1
- package/dist/assets/{react-CZCD-bbf.js → react-BCXSKYRr.js} +1 -1
- package/dist/assets/{react-B3mq597j.js → react-BWkra2hE.js} +1 -1
- package/dist/assets/{react-x-g8LEzo.js → react-Bqp70D_u.js} +1 -1
- package/dist/assets/{react-BfeKj8Ah.js → react-CSCeF-Sb.js} +1 -1
- package/dist/assets/{react-CHfBVTZT.js → react-Ci_HLnoa.js} +2 -2
- package/dist/assets/{react-CiMMCOh1.js → react-DL4wn98u.js} +2 -2
- package/dist/assets/{react-BYfEdX_w.js → react-XG3-S5t1.js} +1 -1
- package/dist/assets/{react-B7JtqvO2.js → react-eUpxlpRg.js} +1 -1
- package/dist/assets/{recharts-CprInlbt.js → recharts-CmZa-egc.js} +1 -1
- package/dist/assets/{sentry-7iaVxNzj.js → sentry-9b1mvxJ5.js} +1 -1
- package/dist/assets/{shield-DOlUxcFf-D1oOjbdU.js → shield-DOlUxcFf-B8zzGKQS.js} +1 -1
- package/dist/assets/toCOABalancesWithID-Bq4Xe7az-D4N9dB70.js +1 -0
- package/dist/assets/{toChartData-BpfWXnJ--YGdVm4SB.js → toChartData-B3ouXKAd-thMI2fiV.js} +1 -1
- package/dist/assets/{uploadAttachment-ukKU1LbX-BZiZFUOo.js → uploadAttachment-DNNG-CMy-D87O59Xy.js} +21 -21
- package/dist/assets/{uploadReceipts-Dge0cNF1-COjJQAAp.js → uploadReceipts-Dge0cNF1-C_Z21T_D.js} +1 -1
- package/dist/assets/{url-Zc4cev1o.js → url-BiBhYcFe.js} +1 -1
- package/dist/assets/{url-CDntiqej.js → url-RTB-DW5V.js} +1 -1
- package/dist/assets/{useLongPress-GCK2COYQ-CMas3sgk.js → useLongPress-GCK2COYQ-CsE5mUiU.js} +1 -1
- package/dist/assets/{usp-line-BBd1wKwW-BZQcBi21.js → usp-line-BBd1wKwW-5m5uF-Rf.js} +1 -1
- package/dist/assets/{utils-BV_yqPM7.js → utils-VcZ1Xqjg.js} +1 -1
- package/dist/assets/{zeni-epic-state-CMxzji9D.js → zeni-epic-state-DJX8u9R8.js} +17 -17
- package/dist/index.html +1 -1
- package/package.json +4 -4
- package/dist/assets/AccountInfoPage-BUVWxmzs-BU0QFXPz.js +0 -18
- package/dist/assets/AddAddressForCardDrawer-DlGL-3yf-CEM_OSu4.js +0 -6
- package/dist/assets/AppBasePage-CPdKfb57-CdKaM3Y7.js +0 -71
- package/dist/assets/ApprovalRulesSettingsPage-C8P04Y3s-DdNhWE6a.js +0 -47
- package/dist/assets/BillPayApprovalRuleDetailPage-CKr-k2kC-DLLdfful.js +0 -27
- package/dist/assets/BillingSettingsPage-Bqj_AXGq-B80HR_0l.js +0 -44
- package/dist/assets/BusinessVerificationPage-G8uzN4Ws-Dg4HUFd7.js +0 -138
- package/dist/assets/ChargeCardPromoPage-B4yj7KP9-9bE0RFY5.js +0 -222
- package/dist/assets/CompanyOfficerDetailsSection-1BDesjjs-CGxHxKUo.js +0 -260
- package/dist/assets/CompanyPassportPage-DPNROicI-DkVd0IVN.js +0 -574
- package/dist/assets/ConfettiBurst-BUf7AIFk-dPsmZWRd.js +0 -1
- package/dist/assets/CustomerOnboardingContainerPage-ihPd9hEn-DodGm-su.js +0 -1
- package/dist/assets/CustomerOnboardingNoStepsPage-zMwJiFSO-Ca3ln1bs.js +0 -66
- package/dist/assets/EditPeoplePage-D-vaUQbG-Bt1U4fZO.js +0 -55
- package/dist/assets/EntityDetailPage-B2Tmq0cV-iHRdD8Pd.js +0 -18
- package/dist/assets/InsightsSection-Ldcdpf_t-BcIZl-SB.js +0 -27
- package/dist/assets/InternationalWireVerificationPage-mHew9ruS-CuqmXfkC.js +0 -292
- package/dist/assets/InvitePeoplePage-y0gl_wqg-Bpnr6fsx.js +0 -12
- package/dist/assets/LabeledControlledCheckBoxField-CkG-jIW7-BnIEsD6z.js +0 -16
- package/dist/assets/LabeledDocumentField-ffpHZV4a-B_2ABBG3.js +0 -41
- package/dist/assets/MagicLinkACHDetailsPage-DIpNQrGA-BqjoWUr8.js +0 -1
- package/dist/assets/MagicLinkDomesticWireDetailsPage-B9wywDCI-EJ8yrlbL.js +0 -1
- package/dist/assets/MagicLinkSuccessPage-RQtS7ohy-5LyL6Vux.js +0 -31
- package/dist/assets/NoDataChart-Dm8c31gV-Bqmql54J.js +0 -26
- package/dist/assets/NoDataTable-BLcYAK9T-wg_yL59b.js +0 -8
- package/dist/assets/OverlayContainerPage-D4QU0p4o-BX1xnMzK.js +0 -11
- package/dist/assets/PaymentAccountSetupBillingAddressSection-ChGcOYcG-CO6Awyg6.js +0 -107
- package/dist/assets/ReimbursementApprovalRuleDetailPage-BScdJYcI-bNfeq7vv.js +0 -32
- package/dist/assets/SignInScreen-C3Ba0wdc.js +0 -1
- package/dist/assets/TransactionListPage-4nFAQM97-ClFT8B5K.js +0 -35
- package/dist/assets/Vendor2FAPopup-Cn7Bst-t-DMIJpNIO.js +0 -1
- package/dist/assets/VendorACHDetailsPage-yJs4pSeb-BHrP3K1V.js +0 -1
- package/dist/assets/VendorDomesticWireDetailsPage-BZatg69M-Dhf3MU0Y.js +0 -1
- package/dist/assets/VendorInternationalWireSwiftDetailsPage-Co_Kax4L-J_6dAVTd.js +0 -1
- package/dist/assets/analyticsHelper-CuUU34nx.js +0 -1
- package/dist/assets/chartTypes-BKexR59e-B1u-Nki8.js +0 -1
- package/dist/assets/epic-VnsPu9_V.js +0 -2
- package/dist/assets/mapTimeframeBalancesToTreeNode-BlKa4mAP-yheruBM4.js +0 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-tYVPqkGh-BqdeYyQR.js +0 -1
- package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-C92aroSy-EW-HNrEx.js +0 -1
- package/dist/assets/toCOABalancesWithID-DtqUradx-DwvWuPd5.js +0 -1
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import{d as y,J as x,V as t,gS as b,o as r,y as d,hE as D,u as i}from"./index-CNJQ6T57.js";import{a as $}from"./sentry-9b1mvxJ5.js";import{n as o}from"./mui-DsjrNjDe.js";import{K as P}from"./StatusSwitcher-C5ZrzI8Y-RGx-Rq5m.js";import{r as z}from"./AccountInfoPageContent-D0wuuzMd-YMtVFfpn.js";import"./liveblocks-CUDrE-0X.js";import"./core-Be77t6wT.js";import"./recharts-CmZa-egc.js";import"./zeni-epic-state-DJX8u9R8.js";import"./lottie-C5G-hUN3.js";import"./analytics-DH2FWXQR.js";import"./lexical-4qH-Yr6_.js";import"./utils-VcZ1Xqjg.js";import"./downloadPdf-WDHjFv79-x1y7Noz9.js";import"./commonDimensions-BpYNnQtf-BVrF2eSg.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]="2b59a491-2d9b-436e-ac98-6eac28872d4e",e._sentryDebugIdIdentifier="sentry-dbid-2b59a491-2d9b-436e-ac98-6eac28872d4e")}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])},B=({authParams:e,downloadAccountDetailEndPoint:n,depositAccount:a,zeniAccountsConfigDetail:u,currentTenant:g,onDismissClick:p})=>{const f=y(),c=x(),[l,m]=$.useState("achDetails"),w=h=>{m(h)};return t.jsxs(S,{children:[t.jsx(b,{title:"",backgroundColor:f.colors.grey4,style:{zIndex:4},isTitleAlignLeft:!0,onCloseClick:p}),t.jsx(T,{windowSize:c,children:a.accountName}),t.jsx(v,{children:t.jsx(P,{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:u,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
|
+
`,S=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
|
+
`,T=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{B as default};
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{J as je,h0 as Ae,hF as Q,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,h3 as ze,al as ae}from"./index-CNJQ6T57.js";import{a as s}from"./sentry-9b1mvxJ5.js";import{n as t}from"./mui-DsjrNjDe.js";import{w as Le}from"./downloadPdf-WDHjFv79-x1y7Noz9.js";import{o as _e}from"./commonDimensions-BpYNnQtf-BVrF2eSg.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]="92b15603-a994-4613-8bb5-13002b288f24",e._sentryDebugIdIdentifier="sentry-dbid-92b15603-a994-4613-8bb5-13002b288f24")}catch{}})();const{common:{strings:Ie,copyToClipBoard:g},spendManagement:{zeniAccounts:{zeniAccountDetail:W},billPay:{vendorCreation:{achDetails:o}},downloads:X}}=ve.getLocalizedStrings(),er=({authParams:e,downloadAccountDetailEndPoint:y,currentTab:p,depositAccount:c,zeniAccountsConfigDetail:u,currentTenant:k})=>{const oe=je(),[,J]=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,M]=s.useState(!1),[w,R]=s.useState(!1),[j,q]=s.useState(!1),[A,V]=s.useState(!1),[T,B]=s.useState(!1),[S,G]=s.useState(!1),[v,O]=s.useState(!1),[$,U]=s.useState(!1),D=k?.company?.companyInfo.companyLegalName,C=Q(u.zeniAccountsConfigDetail.mailingAddress).text2,m=Q(u.zeniAccountsConfigDetail.bankAddress).text2;s.useEffect(()=>{(h||S||v||$||T||$||j||w||A)&&setTimeout(()=>{M(!1),G(!1),O(!1),U(!1),B(!1),V(!1),q(!1),R(!1)},1200)},[h,S,v,$,T,A,j,w]);const F=(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
|
-
${o.accountTypeLabel} ${
|
|
3
|
+
${o.accountTypeLabel} ${c.accountSubType.name??""}
|
|
4
4
|
|
|
5
|
-
${o.bankAccountNumber} ${
|
|
5
|
+
${o.bankAccountNumber} ${c.accountNumber}
|
|
6
6
|
|
|
7
7
|
${o.bankName} ${u.zeniAccountsConfigDetail.bankName}
|
|
8
8
|
|
|
9
|
-
${o.bankAddress} ${m}`:
|
|
9
|
+
${o.bankAddress} ${m}`:n=`${o.bankRoutingNumber} ${c.routingNumberAch}
|
|
10
10
|
|
|
11
|
-
${o.accountTypeLabel} ${
|
|
11
|
+
${o.accountTypeLabel} ${c.accountSubType.name??""}
|
|
12
12
|
|
|
13
|
-
${o.bankAccountNumber} ${
|
|
13
|
+
${o.bankAccountNumber} ${c.accountNumber}
|
|
14
14
|
|
|
15
15
|
${o.bankName} ${u.zeniAccountsConfigDetail.bankName}
|
|
16
16
|
|
|
@@ -18,21 +18,21 @@ ${o.beneficiaryName} ${D}
|
|
|
18
18
|
|
|
19
19
|
${o.bankAddress} ${m}
|
|
20
20
|
|
|
21
|
-
${o.beneficiaryAddress} ${C}`,
|
|
21
|
+
${o.beneficiaryAddress} ${C}`,J(n),M(!0)},i=(f,n,x,H)=>{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":G(!0);break;case"acccountNumber":O(!0);break;case"routingNumber":U(!0);break;case"bankName":B(!0);break;case"beneficiaryName":R(!0);break;case"beneficiaryAddress":V(!0);break;case"bankAddress":q(!0);break}};return r.jsxs(Ve,{onMouseEnter:()=>F(x,!0),onMouseLeave:()=>F(x,!1),children:[r.jsx(Be,{children:f}),r.jsx(Oe,{children:r.jsxs(Ue,{children:[r.jsxs(Ge,{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(Z,{"data-testid":L("account-info-copy",x),onClick:()=>{J(n),we()}})})}):null,n]}),H!=null?r.jsx(Fe,{children:H}):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(Je,{children:[r.jsx(Re,{children:p==="achDetails"?W.achTitle:W.wireTitle}),r.jsxs(Me,{children:[r.jsx(_,{children:r.jsx(z,{display:"flex",placement:"left",title:r.jsx(I,{isTextCopied:N,children:N?X.downloading:X.download}),enterDelay:600,children:N===!0?r.jsx(Te,{size:"Small",start:!0}):r.jsx(qe,{"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(Z,{onClick:()=>$e(p),"data-testid":L("title-text-copy")})})})]})]}),p==="achDetails"?r.jsxs(He,{children:[r.jsx(K,{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(Y,{children:i(o.bankAddress,m,"bankAddress")}):null]}):p==="wireDetails"?r.jsxs(Qe,{children:[r.jsx(K,{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(Y,{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
|
+
`,Je=t.div`
|
|
25
25
|
display: flex;
|
|
26
26
|
align-items: center;
|
|
27
27
|
justify-content: space-between;
|
|
28
28
|
margin-bottom: ${a.sp3};
|
|
29
|
-
`,
|
|
29
|
+
`,Me=t.div`
|
|
30
30
|
display: flex;
|
|
31
31
|
gap: ${a.sp4};
|
|
32
|
-
`,
|
|
32
|
+
`,Re=t(Se)`
|
|
33
33
|
color: ${e=>e.theme.colors.primary};
|
|
34
34
|
margin-right: ${a.sp2};
|
|
35
|
-
`,
|
|
35
|
+
`,qe=t(De)`
|
|
36
36
|
height: ${a.sp3};
|
|
37
37
|
width: ${a.sp3};
|
|
38
38
|
color: ${e=>e.theme.colors.hero};
|
|
@@ -72,7 +72,7 @@ ${o.beneficiaryAddress} ${C}`,M(c),R(!0)},i=(f,c,x,H)=>{let d,l;switch(x){case"a
|
|
|
72
72
|
&:hover {
|
|
73
73
|
border-bottom-width: 1px;
|
|
74
74
|
}
|
|
75
|
-
`,
|
|
75
|
+
`,Y=t(P)`
|
|
76
76
|
box-shadow: ${e=>`${a.sp0} 2px ${a.sp1} ${e.theme.colors.dropShadowNormal}`};
|
|
77
77
|
display: flex;
|
|
78
78
|
border-top-width: 0.5px;
|
|
@@ -95,7 +95,7 @@ ${o.beneficiaryAddress} ${C}`,M(c),R(!0)},i=(f,c,x,H)=>{let d,l;switch(x){case"a
|
|
|
95
95
|
color: ${e=>e.theme.colors.primary};
|
|
96
96
|
}
|
|
97
97
|
}
|
|
98
|
-
`,
|
|
98
|
+
`,Z=t(ze)`
|
|
99
99
|
height: ${a.sp3};
|
|
100
100
|
width: ${a.sp3};
|
|
101
101
|
color: ${e=>e.theme.colors.hero};
|
|
@@ -107,16 +107,16 @@ ${o.beneficiaryAddress} ${C}`,M(c),R(!0)},i=(f,c,x,H)=>{let d,l;switch(x){case"a
|
|
|
107
107
|
height: ${a.sp3};
|
|
108
108
|
width: ${a.sp3};
|
|
109
109
|
color: ${E.success};
|
|
110
|
-
`,
|
|
110
|
+
`,Ve=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
|
+
`,Be=t(ae)`
|
|
118
118
|
color: ${e=>e.theme.colors.hero};
|
|
119
|
-
`,
|
|
119
|
+
`,Ge=t(ae)`
|
|
120
120
|
display: flex;
|
|
121
121
|
align-items: center;
|
|
122
122
|
color: ${e=>e.theme.colors.primary};
|
|
@@ -129,7 +129,7 @@ ${o.beneficiaryAddress} ${C}`,M(c),R(!0)},i=(f,c,x,H)=>{let d,l;switch(x){case"a
|
|
|
129
129
|
display: flex;
|
|
130
130
|
flex-direction: column;
|
|
131
131
|
align-items: flex-end;
|
|
132
|
-
`,
|
|
132
|
+
`,Fe=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(c),R(!0)},i=(f,c,x,H)=>{let d,l;switch(x){case"a
|
|
|
146
146
|
border-top-width: 1px;
|
|
147
147
|
border-bottom-width: 1px;
|
|
148
148
|
}
|
|
149
|
-
`,He=t.div``,
|
|
149
|
+
`,He=t.div``,Qe=t.div``;export{er as r};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{d as g,F as l,V as t,al as x,ba as c,r as y,o as r,p,aq as b,bZ as j,b_ as $,b$ as w,bS as k}from"./index-CNJQ6T57.js";import{n as o}from"./mui-DsjrNjDe.js";import{t as v}from"./handshake-BPg58FML-Ts-GBzII.js";import"./sentry-9b1mvxJ5.js";import"./liveblocks-CUDrE-0X.js";import"./core-Be77t6wT.js";import"./recharts-CmZa-egc.js";import"./zeni-epic-state-DJX8u9R8.js";import"./lottie-C5G-hUN3.js";import"./analytics-DH2FWXQR.js";import"./lexical-4qH-Yr6_.js";import"./utils-VcZ1Xqjg.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]="045033e3-4330-4175-8d20-41d431f3784c",e._sentryDebugIdIdentifier="sentry-dbid-045033e3-4330-4175-8d20-41d431f3784c")}catch{}})();const m="support@zeni.ai",n=l.getLocalizedStrings().commonSetUp.twoFactorAuthentication,h=({unlockDate:e,onSubmit:i})=>{const s=g(),u=e.format(l.getLocalizedStrings().dateFormat.visual.MMMDCommaYYYYformat),f=e.format(l.getLocalizedStrings().dateFormat.visual.HHMMFormat);return t.jsxs(M,{children:[t.jsx(_,{children:n.accountLockedTitle}),t.jsxs(C,{children:[t.jsxs(a,{children:[t.jsx(d,{theme:s,children:t.jsx(A,{})}),t.jsx(x,{children:n.accountLockedSecurityMessage})]}),t.jsxs(a,{children:[t.jsx(d,{theme:s,children:t.jsx(z,{})}),t.jsxs(c,{children:[n.tryAgainAfter,t.jsxs(I,{children:[u,t.jsx(L,{children:"•"}),f]}),n.signInViaGoogleOrMicrosoft]})]}),t.jsxs(a,{children:[t.jsx(d,{theme:s,children:t.jsx(F,{})}),t.jsxs(c,{children:[n.accountLockedContactMessage,t.jsx(D,{href:`mailto:${m}`,children:m})]})]}),t.jsx(y,{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
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
align-items: center;
|
|
5
5
|
justify-content: center;
|
|
6
6
|
row-gap: ${r.sp6};
|
|
7
|
-
`,_=o(
|
|
7
|
+
`,_=o(b)`
|
|
8
8
|
color: ${p.important};
|
|
9
9
|
text-align: center;
|
|
10
10
|
`,C=o.div`
|
|
@@ -24,13 +24,13 @@ import{e as g,F as l,V as t,al as x,ba as d,r as b,o as r,p,aq as y,bZ as j,b_ a
|
|
|
24
24
|
`,D=o.a`
|
|
25
25
|
text-decoration: underline;
|
|
26
26
|
color: ${e=>e.theme.colors.primary};
|
|
27
|
-
`,I=o(
|
|
27
|
+
`,I=o(c)`
|
|
28
28
|
font-weight: ${w.medium};
|
|
29
29
|
`,L=o.span`
|
|
30
30
|
color: ${e=>e.theme.colors.hero};
|
|
31
31
|
margin-left: ${r.sp1};
|
|
32
32
|
margin-right: ${r.sp1};
|
|
33
|
-
`,
|
|
33
|
+
`,d=o.div`
|
|
34
34
|
width: ${r.sp7};
|
|
35
35
|
height: ${r.sp7};
|
|
36
36
|
background: ${e=>e.theme.mode==="dark"?p.brandColorJadeDark:p.brandColorJadeLight};
|
|
@@ -46,7 +46,7 @@ import{e as g,F as l,V as t,al as x,ba as d,r as b,o as r,p,aq as y,bZ as j,b_ a
|
|
|
46
46
|
`,A=o(j)`
|
|
47
47
|
width: ${r.sp4};
|
|
48
48
|
height: ${r.sp4};
|
|
49
|
-
`,F=o(
|
|
49
|
+
`,F=o(v)`
|
|
50
50
|
width: ${r.sp4};
|
|
51
51
|
height: ${r.sp4};
|
|
52
52
|
`,T=o.div`
|
|
@@ -56,4 +56,4 @@ import{e as g,F as l,V as t,al as x,ba as d,r as b,o as r,p,aq as y,bZ as j,b_ a
|
|
|
56
56
|
padding: ${r.sp5} ${r.sp6};
|
|
57
57
|
background: ${e=>e.theme.colors.grey5};
|
|
58
58
|
border-radius: ${r.sp2};
|
|
59
|
-
`,B=Object.freeze(Object.defineProperty({__proto__:null,AccountLockedInfo:h,default:
|
|
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 fe,
|
|
1
|
+
import{a9 as fe,fC as xe,V as t,ac as ye,cp as ge,cq as je,cr as Se,o as c,a as $e,b7 as Q,am as X,x as ke,aa as be,dN as we,eV as ve,d4 as G,dw as Z,F as Ce,al as d,d as Ee,aN as Pe,bw as ee,dQ as te,at as Re,p as ne,h as Ie}from"./index-CNJQ6T57.js";import{a as r}from"./sentry-9b1mvxJ5.js";import{n as o}from"./mui-DsjrNjDe.js";import{bL as oe,Gz as De,GA as Te}from"./zeni-epic-state-DJX8u9R8.js";import{E as _e,C as Fe,w as Ue,f as Le}from"./AccountRow-Bk_25FCy-D03inSab.js";import"./liveblocks-CUDrE-0X.js";import"./core-Be77t6wT.js";import"./recharts-CmZa-egc.js";import"./lottie-C5G-hUN3.js";import"./analytics-DH2FWXQR.js";import"./lexical-4qH-Yr6_.js";import"./utils-VcZ1Xqjg.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]="7534f411-4c14-4afc-a48a-ba38c00ded72",e._sentryDebugIdIdentifier="sentry-dbid-7534f411-4c14-4afc-a48a-ba38c00ded72")}catch{}})();const m={containerPaddingLeft:c.sp4,containerPaddingRight:c.sp4,navBarHeight:c.sp10,navBarPaddingRight:c.sp4,navBarPaddingLeft:c.sp4,balanceContainerWidth:114,sourceContainerWidth:400},Me=o.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
background-color: ${e=>e.theme.colors.grey4};
|
|
@@ -7,11 +7,11 @@ 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,a as
|
|
|
7
7
|
height: 100vh;
|
|
8
8
|
position: relative;
|
|
9
9
|
gap: ${c.sp5};
|
|
10
|
-
`,
|
|
10
|
+
`,Ye=o.div`
|
|
11
11
|
display: flex;
|
|
12
12
|
flex: 0 0 auto;
|
|
13
13
|
width: ${c.sp4};
|
|
14
|
-
`,
|
|
14
|
+
`,Be=o.div`
|
|
15
15
|
min-height: ${m.navBarHeight};
|
|
16
16
|
position: sticky;
|
|
17
17
|
background-color: ${e=>e.theme.colors.grey4};
|
|
@@ -19,7 +19,7 @@ import{a9 as fe,fA as xe,V as t,ac as ye,cp as ge,cq as je,cr as Se,o as c,a as
|
|
|
19
19
|
z-index: 2;
|
|
20
20
|
top: ${c.sp0};
|
|
21
21
|
width: 100%;
|
|
22
|
-
`,
|
|
22
|
+
`,Ae=o(ke)`
|
|
23
23
|
cursor: pointer;
|
|
24
24
|
color: ${e=>e.theme.colors.hero};
|
|
25
25
|
width: ${c.sp4};
|
|
@@ -29,13 +29,13 @@ 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,a as
|
|
|
29
29
|
color: ${e=>e.theme.colors.primary};
|
|
30
30
|
}
|
|
31
31
|
flex: 0 0 auto;
|
|
32
|
-
`,
|
|
32
|
+
`,Oe=o.div`
|
|
33
33
|
padding-left: ${m.containerPaddingLeft};
|
|
34
34
|
padding-right: ${m.containerPaddingRight};
|
|
35
|
-
`,
|
|
35
|
+
`,Ne=o.div`
|
|
36
36
|
position: relative;
|
|
37
37
|
min-height: 62px;
|
|
38
|
-
`,
|
|
38
|
+
`,We=o.div`
|
|
39
39
|
display: flex;
|
|
40
40
|
flex-direction: row;
|
|
41
41
|
align-items: center;
|
|
@@ -64,12 +64,12 @@ 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,a as
|
|
|
64
64
|
align-items: center;
|
|
65
65
|
justify-content: center;
|
|
66
66
|
overflow: hidden;
|
|
67
|
-
`,
|
|
67
|
+
`,Ve=o.div`
|
|
68
68
|
display: flex;
|
|
69
69
|
flex: 0 0 auto;
|
|
70
70
|
justify-content: center;
|
|
71
71
|
align-items: center;
|
|
72
|
-
`,
|
|
72
|
+
`,qe=o.div`
|
|
73
73
|
display: flex;
|
|
74
74
|
flex-direction: column;
|
|
75
75
|
align-items: center;
|
|
@@ -85,18 +85,18 @@ 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,a as
|
|
|
85
85
|
background-color: ${e=>e.theme.colors.background};
|
|
86
86
|
border-radius: ${c.sp2};
|
|
87
87
|
border: 1px solid ${e=>e.theme.colors.grey3};
|
|
88
|
-
`,
|
|
88
|
+
`,Je=o.div`
|
|
89
89
|
display: flex;
|
|
90
90
|
flex-direction: column;
|
|
91
91
|
align-items: flex-start;
|
|
92
92
|
justify-content: center;
|
|
93
93
|
min-width: ${m.balanceContainerWidth}px;
|
|
94
|
-
`,
|
|
94
|
+
`,O=o(X)`
|
|
95
95
|
display: flex;
|
|
96
96
|
color: ${e=>e.theme.colors.hero};
|
|
97
97
|
align-items: center;
|
|
98
98
|
justify-content: flex-end;
|
|
99
|
-
`,
|
|
99
|
+
`,Ke=o(d)`
|
|
100
100
|
color: ${e=>e.theme.colors.primary};
|
|
101
101
|
text-align: left;
|
|
102
102
|
`,Qe=o.div`
|
|
@@ -187,7 +187,7 @@ 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,a as
|
|
|
187
187
|
color: ${e=>e.theme.colors.hero};
|
|
188
188
|
align-items: center;
|
|
189
189
|
justify-content: flex-end;
|
|
190
|
-
`,
|
|
190
|
+
`,T=o(d)`
|
|
191
191
|
display: flex;
|
|
192
192
|
color: ${e=>e.theme.colors.primary};
|
|
193
193
|
align-items: center;
|
|
@@ -198,7 +198,7 @@ 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,a as
|
|
|
198
198
|
align-items: center;
|
|
199
199
|
justify-content: flex-end;
|
|
200
200
|
gap: ${c.sp1};
|
|
201
|
-
`,
|
|
201
|
+
`,N=o.div`
|
|
202
202
|
display: flex;
|
|
203
203
|
flex-direction: row;
|
|
204
204
|
align-items: center;
|
|
@@ -236,4 +236,4 @@ 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,a as
|
|
|
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(),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};
|
|
239
|
+
`,{common:p,dateFormat:J,expenseAutomation:{accountRecon:i}}=Ce.getLocalizedStrings(),ft=(e,n)=>`${e}.${n}`,xt="accountReconDrawerDetailsPage",se="accountReconDrawerDetailsSection";function Mt({accountReconciliation:e,plaidConnectionDetails:n,monthYearPeriod:l,openFilePicker:u,filesEndPoint:x,authParams:S,onDismissClick:$,onFetchLinkTokenClick:E,onEstablishConnectionClick:P,onSelectSourceType:_,onDeleteFile:R,onEditFileName:F,onStatementUploadSuccess:U,onUploadWindowOpenedOnce:L}){const f=fe({mode:"all",reValidateMode:"onChange",defaultValues:K(e),resetOptions:{keepDirtyValues:!0,keepErrors:!0},values:K(e)}),k=f.handleSubmit(()=>{}),[h,y]=r.useState(void 0),b=n.link_account_no_microdeposit,w=n.update_account,a=h==="update_account"?w:b,[g,M]=r.useState(a.linkToken??null),[s,v]=r.useState(!1),[W,Y]=r.useState(!1),[B,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:()=>{B!=null&&(R(B),A(void 0)),z(void 0),Y(!1)},onCancelClick:()=>{A(void 0),Y(!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),v(!1)},[P,e.accountReconEntity.account.accountId]),he=r.useCallback((I,me)=>{I!=null&&console.log("Plaid Connection Error",I,me),y(void 0),v(!1)},[]),{open:V,ready:q}=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"&&q&&v(!0)},[q,g,a.fetchStatus.fetchState,a.linkToken,h,s]),r.useEffect(()=>{a.fetchStatus.fetchState==="Completed"&&a.linkToken!=null&&a.linkToken!==g&&M(a.linkToken)},[a.fetchStatus.fetchState,a.linkToken,g]),r.useEffect(()=>{s&&V()},[s,V]),t.jsxs(Me,{children:[t.jsx(Be,{children:t.jsx(Ne,{children:t.jsxs(We,{children:[t.jsx(Ye,{}),t.jsxs(ze,{children:[t.jsx(He,{children:e.accountReconEntity.account.accountName}),t.jsx(ce,{children:t.jsx(bt,{monthYearPeriod:l})})]}),t.jsx(Ve,{children:t.jsx(Ae,{onClick:$})})]})})}),t.jsxs(Oe,{children:[t.jsx(ye,{...f,children:t.jsx("form",{style:{width:"100%"},id:xt,onSubmit:k,children:t.jsx(yt,{monthYearPeriod:l,accountReconciliation:e,filesEndPoint:x,openFilePicker:u,authParams:S,onConnectClick:le,onReconnectClick:de,onSelectSourceType:_,onDeleteFile:R,onEditFileName:F,onStatementUploadSuccess:U,onUploadWindowOpenedOnce:L,showConfirmationPopup:W,setShowConfirmationPopup:Y,deleteFileId:B,setDeleteFileId:A,uploadErrorMessage:re,setUploadErrorMessage:z})})}),W===!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:_,onSelectSourceType:R,onStatementUploadSuccess:F,onUploadWindowOpenedOnce:U,uploadErrorMessage:L,setUploadErrorMessage:f})=>{const[k,h]=r.useState(!1),y=(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||k?"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(_e(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"],M=n.accountReconEntity.reconciliationStatus!=null&&g.includes(n.accountReconEntity.reconciliationStatus.code);return t.jsxs(qe,{children:[t.jsxs(Ge,{children:[t.jsxs(Je,{children:[t.jsx(O,{children:i.reconciliation.headers.bankBalance}),t.jsx(Ke,{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(T,{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(be,{controller:!0,children:t.jsx(we,{moreIconType:"custom",customIcon:t.jsx(gt,{selectedSourceType:w}),options:b,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})})})]}),w==="bank_statement"?t.jsx(C,{children:t.jsx(ve,{name:ft(se,"file"),file:n.accountReconEntity.statementMetaData?.file,showPhotoPicker:!1,isDisabled:M,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:Te,metadataPayload:{accountId:n.accountReconEntity.account.accountId,accountType:n.accountReconEntity.account.accountType??"bank",monthYearPeriod:e},errorMessage:L,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,v)=>{_(s,v)}})}):null,t.jsxs(C,{children:[t.jsx(D,{children:i.reconciliation.drawer.labels.status}),t.jsx(T,{children:w!=="bank_statement"?t.jsx(jt,{status:n.accountConnectionStatus,connectionInProgress:n.connectionInProgress,onConnectClick:S,onReconnectClick:$}):t.jsx(St,{uploadInProgress:k,status:n.accountReconEntity.statementDataStatus?.code})})]}),t.jsxs(C,{children:[t.jsx(D,{children:i.reconciliation.drawer.labels.accountType}),t.jsx(T,{children:t.jsx(kt,{accountSubType:G(n.accountReconEntity.account.accountSubType??"")})})]}),t.jsxs(C,{children:[t.jsx(D,{children:i.reconciliation.drawer.labels.lastUpdated}),t.jsx(T,{children:t.jsx(Z,{isLoading:k,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(N,{children:i.reconciliation.drawer.values.connecting}):e==="connected"?t.jsxs(N,{children:[t.jsx(dt,{}),t.jsx(ht,{children:i.reconciliation.drawer.values.connected})]}):t.jsx(N,{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:$}=Le(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]})]})},kt=({accountSubType:e})=>{const n=e!=null?e.replace("_"," "):p.strings.hyphen;return t.jsx(j,{children:n})},bt=({monthYearPeriod:e})=>t.jsx(ce,{children:wt(e)}),wt=e=>{const{month:n,year:l}=e,u=oe(`${l}-${String(n).padStart(2,"0")}-01`);let x=u.endOf("month");return`${u.format(J.visual.DMMMYYYYFormat)} ${p.strings.hyphen} ${x.format(J.visual.DMMMYYYYFormat)}`},K=e=>({[se]:{file:e.accountReconEntity.statementMetaData?.file,selectedType:e.localData?.accountSource}});export{Mt as default,ft as uniqueName};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{V as t,aN as E,bT as f,o,aP as y,aa as se,
|
|
1
|
+
import{V as t,aN as E,bT as f,o,aP as y,aa as se,dN as re,F as le,al as w,dO as de,p as g,dP as X,dQ as Y,c$ as ue,aV as x,ai as Z,u as p,J as xe,d as S,a$ as pe,du as he,an as ge,r as me,am as I,bK as fe,dG as je}from"./index-CNJQ6T57.js";import{a as ye}from"./sentry-9b1mvxJ5.js";import{n as a,c as we}from"./mui-DsjrNjDe.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]="5bf8758b-917e-4ed5-a1ef-bf8a019b70fd",e._sentryDebugIdIdentifier="sentry-dbid-5bf8758b-917e-4ed5-a1ef-bf8a019b70fd")}catch{}})();const be=a.div`
|
|
2
2
|
position: relative;
|
|
3
3
|
${e=>e.showTreeLine===!0&&e.collapsed!==!0?`&::after {
|
|
4
4
|
content: "";
|
|
@@ -8,7 +8,7 @@ import{V as t,aN as E,bT as f,o,aP as y,aa as se,dO as re,F as le,al as w,dP as
|
|
|
8
8
|
border-left: 1px dotted ${e.theme.colors.grey1};
|
|
9
9
|
height: 12px;
|
|
10
10
|
`:""};
|
|
11
|
-
|
|
11
|
+
`,$e=a.div`
|
|
12
12
|
display: flex;
|
|
13
13
|
min-width: ${o.sp4};
|
|
14
14
|
width: ${o.sp4};
|
|
@@ -38,7 +38,7 @@ import{V as t,aN as E,bT as f,o,aP as y,aa as se,dO as re,F as le,al as w,dP as
|
|
|
38
38
|
margin-left: 2px;
|
|
39
39
|
width: 12px;
|
|
40
40
|
height: 12px;
|
|
41
|
-
`;function Te({firstLetter:e,color:n,showIcon:
|
|
41
|
+
`;function Te({firstLetter:e,color:n,showIcon:i,showCollapsedIcon:c,showTreeLine:l=!1,className:d}){return t.jsx(be,{showTreeLine:l,collapsed:c,children:t.jsx($e,{colour:n,className:d,children:t.jsx(Ce,{children:i===!0?c===!0?t.jsx(ke,{}):t.jsx(Re,{}):t.jsx(ve,{colour:n,className:d,children:e})})})})}const Ee=a.div`
|
|
42
42
|
display: flex;
|
|
43
43
|
flex: 1 1 auto;
|
|
44
44
|
max-height: 1px;
|
|
@@ -129,14 +129,14 @@ import{V as t,aN as E,bT as f,o,aP as y,aa as se,dO as re,F as le,al as w,dP as
|
|
|
129
129
|
width: ${u.bankBalanceWidth}px;
|
|
130
130
|
min-width: ${u.bankBalanceWidth}px;
|
|
131
131
|
text-align: right;
|
|
132
|
-
`,
|
|
132
|
+
`,Fe=a.div`
|
|
133
133
|
width: ${u.bankBalanceRightWidth}px;
|
|
134
134
|
min-width: ${u.bankBalanceRightWidth}px;
|
|
135
|
-
`,
|
|
135
|
+
`,Me=a(w)`
|
|
136
136
|
width: ${u.clearedBalanceWidth}px;
|
|
137
137
|
min-width: ${u.clearedBalanceWidth}px;
|
|
138
138
|
text-align: right;
|
|
139
|
-
`,
|
|
139
|
+
`,Qe=a(w)`
|
|
140
140
|
width: ${u.statusWidth}px;
|
|
141
141
|
min-width: ${u.statusWidth}px;
|
|
142
142
|
height: 1px;
|
|
@@ -150,12 +150,12 @@ import{V as t,aN as E,bT as f,o,aP as y,aa as se,dO as re,F as le,al as w,dP as
|
|
|
150
150
|
min-width: ${u.spacerLineWidth}px;
|
|
151
151
|
width: ${u.spacerLineWidth}px;
|
|
152
152
|
align-items: center;
|
|
153
|
-
`,
|
|
153
|
+
`,ze=a.div`
|
|
154
154
|
width: 1px;
|
|
155
155
|
margin-left: ${o.sp3};
|
|
156
156
|
height: ${e=>e.heightValue}px;
|
|
157
157
|
background-color: ${e=>e.theme.colors.grey3};
|
|
158
|
-
`,
|
|
158
|
+
`,He=a.div`
|
|
159
159
|
display: flex;
|
|
160
160
|
flex-shrink: 0;
|
|
161
161
|
width: ${u.varianceTimeframeWidth}px;
|
|
@@ -171,7 +171,7 @@ import{V as t,aN as E,bT as f,o,aP as y,aa as se,dO as re,F as le,al as w,dP as
|
|
|
171
171
|
color: ${e=>e.textColor.hex()};
|
|
172
172
|
min-width: ${u.varianceNumberWidth}px;
|
|
173
173
|
text-align: right;
|
|
174
|
-
`,
|
|
174
|
+
`,Ge=a(w)`
|
|
175
175
|
border-radius: ${o.sp1};
|
|
176
176
|
padding: ${o.sp0} ${o.sp1};
|
|
177
177
|
justify-content: center;
|
|
@@ -179,11 +179,11 @@ import{V as t,aN as E,bT as f,o,aP as y,aa as se,dO as re,F as le,al as w,dP as
|
|
|
179
179
|
color: ${e=>e.textColor.hex()};
|
|
180
180
|
background-color: ${e=>e.bgColor.hex()};
|
|
181
181
|
min-width: ${u.variancePercentageWidth}px;
|
|
182
|
-
`,
|
|
182
|
+
`,Je=a.div`
|
|
183
183
|
display: flex;
|
|
184
184
|
flex-direction: row;
|
|
185
185
|
align-items: center;
|
|
186
|
-
`,
|
|
186
|
+
`,Ke=a.div`
|
|
187
187
|
display: flex;
|
|
188
188
|
flex-direction: column;
|
|
189
189
|
align-items: center;
|
|
@@ -194,7 +194,7 @@ import{V as t,aN as E,bT as f,o,aP as y,aa as se,dO as re,F as le,al as w,dP as
|
|
|
194
194
|
gap: ${o.sp1};
|
|
195
195
|
`,Ye=a(I)`
|
|
196
196
|
color: ${g.success};
|
|
197
|
-
`,
|
|
197
|
+
`,J=a(I)`
|
|
198
198
|
color: ${g.success};
|
|
199
199
|
`,Ze=a(je)`
|
|
200
200
|
width: ${o.sp3};
|
|
@@ -225,12 +225,12 @@ import{V as t,aN as E,bT as f,o,aP as y,aa as se,dO as re,F as le,al as w,dP as
|
|
|
225
225
|
flex-direction: row;
|
|
226
226
|
gap: ${o.sp1};
|
|
227
227
|
align-items: center;
|
|
228
|
-
`,
|
|
228
|
+
`,it=a.div`
|
|
229
229
|
padding-top: ${o.sp1};
|
|
230
230
|
&:hover {
|
|
231
231
|
color: ${e=>e.theme.colors.primary};
|
|
232
232
|
}
|
|
233
|
-
`,
|
|
233
|
+
`,ct=a(de)`
|
|
234
234
|
width: ${o.sp3};
|
|
235
235
|
height: ${o.sp3};
|
|
236
236
|
`,A=a(fe)`
|
|
@@ -238,29 +238,29 @@ import{V as t,aN as E,bT as f,o,aP as y,aa as se,dO as re,F as le,al as w,dP as
|
|
|
238
238
|
height: 12px;
|
|
239
239
|
color: ${e=>e.iconColor.hex()};
|
|
240
240
|
margin-top: ${o.sp1};
|
|
241
|
-
|
|
241
|
+
`,b=a.div`
|
|
242
242
|
display: flex;
|
|
243
243
|
gap: ${o.sp1};
|
|
244
244
|
`,O=a.div`
|
|
245
245
|
display: flex;
|
|
246
246
|
flex-direction: column;
|
|
247
247
|
align-items: center;
|
|
248
|
-
`,
|
|
248
|
+
`,K=a(w)`
|
|
249
249
|
color: ${e=>e.theme.colors.hero};
|
|
250
|
-
`,
|
|
250
|
+
`,F=a.div`
|
|
251
251
|
display: flex;
|
|
252
252
|
flex-direction: row;
|
|
253
253
|
align-items: center;
|
|
254
254
|
gap: ${o.sp1};
|
|
255
|
-
`,F=a(I)`
|
|
256
|
-
color: ${e=>e.textColor.hex()};
|
|
257
255
|
`,M=a(I)`
|
|
258
256
|
color: ${e=>e.textColor.hex()};
|
|
257
|
+
`,Q=a(I)`
|
|
258
|
+
color: ${e=>e.textColor.hex()};
|
|
259
259
|
`,U=a.div`
|
|
260
260
|
display: flex;
|
|
261
261
|
flex-direction: row;
|
|
262
262
|
align-items: center;
|
|
263
|
-
`,
|
|
263
|
+
`,z=a.div`
|
|
264
264
|
display: flex;
|
|
265
265
|
flex-direction: column;
|
|
266
266
|
align-items: center;
|
|
@@ -295,4 +295,4 @@ import{V as t,aN as E,bT as f,o,aP as y,aa as se,dO as re,F as le,al as w,dP as
|
|
|
295
295
|
width: ${o.sp3};
|
|
296
296
|
height: ${o.sp3};
|
|
297
297
|
margin-top: 2px;
|
|
298
|
-
`,{expenseAutomation:{accountRecon:{reconciliation:s}},common:{strings:{hyphen:h,percentage:gt}}}=le.getLocalizedStrings();function _t({height:e,accountRecon:n,isLastRow:c,isSelectedRow:i,onReviewClicked:l,onOpenDrawerClicked:d,onConnectClicked:r,onReconnectClicked:m,onStatementAddClicked:k}){const W=xe(),B=S(),v=n.accountReconEntity.account.accountName,P=n.accountReconEntity.balance,j=n.accountReconEntity.clearedBalance,N=n.accountReconEntity.variance,ne=n.accountReconEntity.variancePercentage,oe=()=>{r?.(n.accountReconEntity.account.accountId)},ae=()=>{m?.(n.accountReconEntity.account.accountId)},ce=()=>{k?.(n.accountReconEntity.account.accountId)},z=()=>{l?.(n.accountReconEntity.account.accountId)},[ie,D]=ye.useState(!1),q=n.accountConnectionStatus==="connected"||n.connectionInProgress===!0?"plaid":n.accountReconEntity.statementStatus?.code==="uploaded"||n.statementParseInProgress===!0?"bank_statement":"plaid",T=q==="plaid"?n.accountReconEntity.balanceDataStatus?.code==="in_progress"||n.connectionInProgress===!0:n.accountReconEntity.statementDataStatus?.code==="parsing"||n.statementParseInProgress===!0;let K=e;return c&&(K=e+p[8]),t.jsxs(Le,{"data-testid":y("account-recon-row-root-container",n.accountReconEntity.account.accountName),heightValue:K,isLastRow:c,windowSize:W,isSelectedRow:i,onClick:()=>{ie!==!0&&d?.(n.accountReconEntity.account.accountId)},children:[t.jsxs(Be,{isClickable:!0,"data-testid":y("total-row-container"),heightValue:e,children:[t.jsxs(Ne,{children:[t.jsx(Te,{firstLetter:v.charAt(0),color:new x(B.colors.hero),showIcon:!1,showCollapsedIcon:!1,className:"any-text-container"}),t.jsx(De,{children:t.jsx(f,{enterDelay:600,title:v,style:{padding:`${o.sp1} ${o.sp2}`},placement:"bottom",children:t.jsx(Ve,{className:"any-text-container",children:v})})})]}),t.jsxs(Ae,{children:[t.jsx(Oe,{children:t.jsx(wt,{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:oe,onStatementAddClicked:ce,isLoading:T,onReconnectClicked:ae})}),t.jsx(Qe,{children:t.jsx(kt,{statementStatus:n.accountReconEntity.statementStatus.code,statementParseInProgress:n.statementParseInProgress,connectionInProgress:n.connectionInProgress,bankStatusCode:n.accountConnectionStatus})}),t.jsx(Fe,{children:t.jsx($t,{clearedBalance:j,isLoading:T})}),t.jsx(mt,{isLoading:T,variance:N,variancePercentage:ne,reconciliationStatusCode:n.accountReconEntity.reconciliationStatus?.code}),t.jsx(Ue,{children:t.jsx(He,{heightValue:e})}),t.jsx(Me,{onMouseEnter:()=>{D(!0)},onMouseLeave:()=>{D(!1)},children:q==="plaid"?t.jsx(jt,{accountRecon:n,isLoading:T,onReviewClicked:z}):t.jsx(yt,{accountRecon:n,isLoading:T,onReviewClicked:z})})]})]}),t.jsx(We,{kind:"account_separator",isScrolling:!1}),c?t.jsx(_e,{}):null]})}const mt=({variance:e,variancePercentage:n,reconciliationStatusCode:c,isLoading:i})=>{const l=S(),{varianceColor:d,variancePercentageColor:r,variancePercentageContainerColor:m}=ft(l,e,c),k=i?h:e!=null&&e.amount===0?"0%":n!=null?n===0?"0%":`${n.toFixed(2)}${gt}`:h;return t.jsxs(ze,{children:[t.jsx(qe,{textColor:d,className:"any-text-container",children:e==null||i?h:E("0,0",e)}),t.jsx(Ke,{textColor:r,bgColor:m,className:"any-text-container",children:k})]})},ft=(e,n,c,i)=>{let l,d,r;return n!=null&&n.amount===0&&c!=null&&c==="reconciled"?(l=new x(g.success),d=new x(g.success),r=new x(g.successLight)):i===!0?(l=new x(e.colors.primary),d=new x(e.colors.primary),r=new x(e.colors.grey2)):(l=new x(e.colors.hero),d=new x(e.colors.hero),r=new x(e.colors.background)),{varianceColor:l,variancePercentageColor:d,variancePercentageContainerColor:r}},jt=({accountRecon:e,isLoading:n,onReviewClicked:c})=>{const i=e.accountReconEntity.reconciliationStatus,l=e.accountConnectionStatus,d=e.accountReconEntity.reconciliationId!=null?e.accountReconEntity.reconUpdatedAt:e.accountReconEntity.accountUpdatedAt,r=d!=null?`${d.utc(!0).fromNow().toLowerCase()}`:h;if(n)return t.jsx(vt,{});if(e.accountReconEntity.balanceDataStatus?.code==="not_found"){let m="";return e.accountReconEntity.balance==null&&e.accountReconEntity.clearedBalance==null?m=s.status.balanceNotFound:e.accountReconEntity.balance==null?m=s.status.bankBalanceNotFound:m=s.status.clearedBalanceNotFound,t.jsx(bt,{status:m,tooltipText:r})}if(l==="reconnect"||l==="not_connected")return t.jsx(V,{tooltipText:r,showTooltip:d!=null});if(i==null&&l==="connected"&&e.accountReconEntity.balance!=null&&e.accountReconEntity.clearedBalance!=null)return t.jsx(L,{buttonLabel:s.status.review,isDisabled:!1,dataTestId:y("status-button",e.accountReconEntity.account.accountId),tooltipText:r,onClick:c});if(i!=null)switch(i.code){case"save_for_later":case"pending":return t.jsx(L,{buttonLabel:s.status.review,isDisabled:!1,dataTestId:y("status-button",e.accountReconEntity.account.accountId),tooltipText:r,onClick:c});case"reconciled":return t.jsx(_,{isQBO:!1,user:e.accountReconEntity.user,tooltipText:r});case"in_progress":return t.jsx(te,{tooltipText:r});case"failed":return t.jsx(ee,{tooltipText:r});case"reconciled_on_qbo":return t.jsx(_,{isQBO:!0,tooltipText:r});default:return null}else return t.jsx(V,{showTooltip:d!=null,tooltipText:r})},yt=({accountRecon:e,isLoading:n,onReviewClicked:c})=>{const i=e.accountReconEntity.reconciliationStatus,l=e.accountReconEntity.statementDataStatus?.code==="validated"||e.accountReconEntity.statementDataStatus?.code==="processed",d=e.accountReconEntity.reconUpdatedAt,r=d!=null?`${d.utc(!0).fromNow().toLowerCase()}`:h;if(e.accountReconEntity.statementDataStatus?.code==="parsing_failed"||e.accountReconEntity.statementDataStatus?.code==="validation_failed"||e.accountReconEntity.statementDataStatus?.code==="processing_failed")return t.jsx(Rt,{code:e.accountReconEntity.statementDataStatus?.code,tooltipText:r,errorMessage:e.accountReconEntity.errorMessage?.errorShort});if(n)return t.jsx(Ct,{});if(i==null&&l&&e.accountReconEntity.balance!=null&&e.accountReconEntity.clearedBalance!=null)return t.jsx(L,{buttonLabel:s.status.review,isDisabled:!1,dataTestId:y("status-button",e.accountReconEntity.account.accountId),tooltipText:r,onClick:c});if(i!=null)switch(i.code){case"save_for_later":case"pending":return t.jsx(L,{buttonLabel:s.status.review,isDisabled:!1,dataTestId:y("status-button",e.accountReconEntity.account.accountId),tooltipText:r,onClick:c});case"reconciled":return t.jsx(_,{isQBO:!1,user:e.accountReconEntity.user,tooltipText:r});case"reconciled_on_qbo":return t.jsx(_,{isQBO:!0,tooltipText:r});case"in_progress":return t.jsx(te,{tooltipText:r});case"failed":return t.jsx(ee,{tooltipText:r});default:return null}else return t.jsx(V,{showTooltip:d!=null,tooltipText:r})},L=({buttonLabel:e,isDisabled:n,tooltipText:c,dataTestId:i,onClick:l})=>t.jsx(f,{title:t.jsx(b,{tooltipText:c}),style:{padding:`${o.sp1} ${o.sp2}`},maxWidth:"105px",placement:"bottom",children:t.jsx(Ge,{children:t.jsx(me,{label:e,size:"standard",variant:"secondary",style:{padding:`${o.sp1} 12px`},disabled:n,"data-testid":i,onClick:d=>{d.stopPropagation(),l()}})})}),_=({user:e,isQBO:n,tooltipText:c})=>t.jsx(f,{title:t.jsx(b,{tooltipText:c}),style:{padding:`${o.sp1} ${o.sp2}`},maxWidth:"105px",placement:"bottom",children:t.jsxs(Je,{children:[t.jsxs(Xe,{children:[t.jsx(Ze,{}),t.jsx(Ye,{children:n?s.status.reconciledVia:s.status.reconciledBy})]}),n?t.jsx(G,{children:s.status.QBOUser}):e&&t.jsxs(G,{children:[e.firstName," ",e.lastName]})]})}),wt=({bankBalance:e,accountType:n,bankConnection:c,statementStatus:i,lastUpdatedAt:l,fromDrawer:d=!1,onConnectClicked:r,onReconnectClicked:m,isLoading:k,accountId:W,onStatementAddClicked:B,setIsHovering:v})=>{const P=Tt(n);if(d===!0)return t.jsx(C,{className:"any-text-container",children:E("0,0",e)??h});if(k===!0)return t.jsx(C,{className:"any-text-container",children:h});if(c==="reconnect"){const j=l!=null?`${l.utc(!0).fromNow()}`:h;return t.jsxs(ot,{children:[t.jsxs(at,{children:[t.jsx(ct,{children:t.jsx(f,{title:t.jsx(b,{tooltipText:j}),placement:"bottom",style:{padding:`2px ${o.sp2}`},children:t.jsx(it,{})})}),t.jsx(C,{className:"any-text-container",children:e!=null?E("0,0",e):h})]}),t.jsx(nt,{"data-testid":y("account-reconciliation-reconnect-button",W),onClick:N=>{N.stopPropagation(),m?.()},children:s.connect.reconnnect})]})}else return c==="connected"||i==="uploaded"?t.jsx(C,{className:"any-text-container",children:E("0,0",e)??h}):t.jsx(et,{"data-testid":y("account-reconciliation-connect-button",W),onMouseEnter:()=>{v(!0)},onMouseLeave:()=>{v(!1)},children:t.jsx(se,{controller:P.length>0,children:t.jsx(f,{title:s.tooltips.selectSource,style:{padding:`${o.sp1} ${o.sp2}`},maxWidth:"105px",placement:"bottom",children:t.jsx(re,{moreIconType:"custom",customIcon:t.jsx(tt,{}),options:P,customStyleConfig:{option:()=>({".option-container":{justifyContent:"flex-start"}}),valueContainer:()=>({height:o.sp3,".more-icon":{width:o.sp3,height:o.sp3}})},menuPlacement:"auto",onOptionSelection:j=>{j==="bank_connection"?r?.():j==="statement"&&B?.()},valueToIcon:j=>j==="bank_connection"?t.jsx(ut,{}):j==="statement"?t.jsx(pt,{}):null})})})})},$t=({clearedBalance:e,isLoading:n})=>e!=null&&n===!1?t.jsx(C,{className:"any-text-container",children:E("0,0",e)??h}):t.jsx(C,{className:"any-text-container",children:h}),ee=({tooltipText:e})=>{const n=new x(g.important);return t.jsx(f,{title:t.jsx(b,{tooltipText:e}),style:{padding:`${o.sp1} ${o.sp2}`},maxWidth:"105px",placement:"bottom",children:t.jsx($,{children:t.jsxs(O,{children:[t.jsx(A,{iconColor:n}),t.jsx(Q,{children:t.jsx(F,{textColor:n,children:s.status.reconciliationFailed})}),t.jsx(U,{children:t.jsx(M,{textColor:n,children:s.status.reconcileViaQBO})})]})})})},bt=({status:e,tooltipText:n})=>{const c=new x(g.brandColorGoldDark);return t.jsx(f,{title:t.jsx(b,{tooltipText:n}),style:{padding:`${o.sp1} ${o.sp2}`},maxWidth:"105px",placement:"bottom",children:t.jsxs($,{children:[t.jsx(A,{iconColor:c}),t.jsxs(O,{children:[t.jsx(Q,{children:t.jsx(F,{textColor:c,children:e})}),t.jsx(U,{children:t.jsx(M,{textColor:c,children:s.status.reconcileViaQBO})})]})]})})},te=({tooltipText:e})=>{const n=S(),c=new x(n.colors.grey1);return t.jsx(f,{title:t.jsx(b,{tooltipText:e}),style:{padding:`${o.sp1} ${o.sp2}`},maxWidth:"105px",placement:"bottom",children:t.jsx($,{children:t.jsxs(H,{children:[t.jsx(R,{textColor:c,children:s.status.autoReconInProgress}),t.jsx(R,{textColor:c,children:s.status.isInProgress})]})})})},vt=()=>{const e=S(),n=new x(e.colors.grey1);return t.jsx($,{children:t.jsxs(H,{children:[t.jsx(R,{textColor:n,children:s.status.balanceSyncInProgress}),t.jsx(R,{textColor:n,children:s.status.isInProgress})]})})},Ct=()=>{const e=S(),n=new x(e.colors.grey1);return t.jsx($,{children:t.jsxs(H,{children:[t.jsx(R,{textColor:n,children:s.status.statementSyncInProgress}),t.jsx(R,{textColor:n,children:s.status.isInProgress})]})})},Rt=({code:e,tooltipText:n,errorMessage:c})=>{const i=new x(g.important),l=Et(e,"list",c);return t.jsx(f,{title:t.jsx(b,{tooltipText:n}),style:{padding:`${o.sp1} ${o.sp2}`},maxWidth:"105px",placement:"bottom",children:t.jsxs($,{children:[t.jsx(A,{iconColor:i}),t.jsxs(O,{children:[t.jsx(Q,{children:t.jsx(F,{textColor:i,children:l})}),t.jsx(U,{children:t.jsx(M,{textColor:i,children:s.status.failed})})]})]})})},V=({showTooltip:e,tooltipText:n})=>e==!1?t.jsx($,{children:t.jsx(J,{children:h})}):t.jsx(f,{title:t.jsx(b,{tooltipText:n}),style:{padding:`${o.sp1} ${o.sp2}`},maxWidth:"105px",placement:"bottom",children:t.jsx($,{children:t.jsx(J,{children:h})})}),b=({tooltipText:e})=>t.jsxs(st,{children:[t.jsx(rt,{children:s.tooltips.lastUpdated}),t.jsx(lt,{children:e})]}),kt=({statementStatus:e,statementParseInProgress:n,bankStatusCode:c,connectionInProgress:i})=>{let l=e==="uploaded"||n===!0?t.jsx(ht,{}):null;return l=c==="connected"||c==="reconnect"||i===!0?t.jsx(xt,{}):l,t.jsx(dt,{className:"bank-icon-container",children:l})};function Tt(e){const n=[];return e!=null&&e==="bank"&&n.push({label:s.menu.bankConnection,value:"bank_connection"}),n.push({label:s.menu.statement,value:"statement"}),n}const Et=(e,n,c)=>{if(c!=null&&n==="drawer")return c;let i="";switch(e){case"parsing_failed":i=s.status.statementParseError;break;case"validation_failed":i=s.status.statementValidationFailed;break;case"processing_failed":i=s.status.statementProcessingFailed;break;default:i=s.status.statementParseError;break}return n==="drawer"&&(i=i+" "+s.status.failed),i};export{Et as B,wt as C,Lt as D,Te as E,Pt as N,_t as R,ft as f,u,$t as w};
|
|
298
|
+
`,{expenseAutomation:{accountRecon:{reconciliation:s}},common:{strings:{hyphen:h,percentage:gt}}}=le.getLocalizedStrings();function _t({height:e,accountRecon:n,isLastRow:i,isSelectedRow:c,onReviewClicked:l,onOpenDrawerClicked:d,onConnectClicked:r,onReconnectClicked:m,onStatementAddClicked:k}){const W=xe(),B=S(),v=n.accountReconEntity.account.accountName,P=n.accountReconEntity.balance,j=n.accountReconEntity.clearedBalance,N=n.accountReconEntity.variance,ne=n.accountReconEntity.variancePercentage,oe=()=>{r?.(n.accountReconEntity.account.accountId)},ae=()=>{m?.(n.accountReconEntity.account.accountId)},ie=()=>{k?.(n.accountReconEntity.account.accountId)},H=()=>{l?.(n.accountReconEntity.account.accountId)},[ce,D]=ye.useState(!1),q=n.accountConnectionStatus==="connected"||n.connectionInProgress===!0?"plaid":n.accountReconEntity.statementStatus?.code==="uploaded"||n.statementParseInProgress===!0?"bank_statement":"plaid",T=q==="plaid"?n.accountReconEntity.balanceDataStatus?.code==="in_progress"||n.connectionInProgress===!0:n.accountReconEntity.statementDataStatus?.code==="parsing"||n.statementParseInProgress===!0;let G=e;return i&&(G=e+p[8]),t.jsxs(Le,{"data-testid":y("account-recon-row-root-container",n.accountReconEntity.account.accountName),heightValue:G,isLastRow:i,windowSize:W,isSelectedRow:c,onClick:()=>{ce!==!0&&d?.(n.accountReconEntity.account.accountId)},children:[t.jsxs(Be,{isClickable:!0,"data-testid":y("total-row-container"),heightValue:e,children:[t.jsxs(Ne,{children:[t.jsx(Te,{firstLetter:v.charAt(0),color:new x(B.colors.hero),showIcon:!1,showCollapsedIcon:!1,className:"any-text-container"}),t.jsx(De,{children:t.jsx(f,{enterDelay:600,title:v,style:{padding:`${o.sp1} ${o.sp2}`},placement:"bottom",children:t.jsx(Ve,{className:"any-text-container",children:v})})})]}),t.jsxs(Ae,{children:[t.jsx(Oe,{children:t.jsx(wt,{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:oe,onStatementAddClicked:ie,isLoading:T,onReconnectClicked:ae})}),t.jsx(Fe,{children:t.jsx(kt,{statementStatus:n.accountReconEntity.statementStatus.code,statementParseInProgress:n.statementParseInProgress,connectionInProgress:n.connectionInProgress,bankStatusCode:n.accountConnectionStatus})}),t.jsx(Me,{children:t.jsx(bt,{clearedBalance:j,isLoading:T})}),t.jsx(mt,{isLoading:T,variance:N,variancePercentage:ne,reconciliationStatusCode:n.accountReconEntity.reconciliationStatus?.code}),t.jsx(Ue,{children:t.jsx(ze,{heightValue:e})}),t.jsx(Qe,{onMouseEnter:()=>{D(!0)},onMouseLeave:()=>{D(!1)},children:q==="plaid"?t.jsx(jt,{accountRecon:n,isLoading:T,onReviewClicked:H}):t.jsx(yt,{accountRecon:n,isLoading:T,onReviewClicked:H})})]})]}),t.jsx(We,{kind:"account_separator",isScrolling:!1}),i?t.jsx(_e,{}):null]})}const mt=({variance:e,variancePercentage:n,reconciliationStatusCode:i,isLoading:c})=>{const l=S(),{varianceColor:d,variancePercentageColor:r,variancePercentageContainerColor:m}=ft(l,e,i),k=c?h:e!=null&&e.amount===0?"0%":n!=null?n===0?"0%":`${n.toFixed(2)}${gt}`:h;return t.jsxs(He,{children:[t.jsx(qe,{textColor:d,className:"any-text-container",children:e==null||c?h:E("0,0",e)}),t.jsx(Ge,{textColor:r,bgColor:m,className:"any-text-container",children:k})]})},ft=(e,n,i,c)=>{let l,d,r;return n!=null&&n.amount===0&&i!=null&&i==="reconciled"?(l=new x(g.success),d=new x(g.success),r=new x(g.successLight)):c===!0?(l=new x(e.colors.primary),d=new x(e.colors.primary),r=new x(e.colors.grey2)):(l=new x(e.colors.hero),d=new x(e.colors.hero),r=new x(e.colors.background)),{varianceColor:l,variancePercentageColor:d,variancePercentageContainerColor:r}},jt=({accountRecon:e,isLoading:n,onReviewClicked:i})=>{const c=e.accountReconEntity.reconciliationStatus,l=e.accountConnectionStatus,d=e.accountReconEntity.reconciliationId!=null?e.accountReconEntity.reconUpdatedAt:e.accountReconEntity.accountUpdatedAt,r=d!=null?`${d.utc(!0).fromNow().toLowerCase()}`:h;if(n)return t.jsx(vt,{});if(e.accountReconEntity.balanceDataStatus?.code==="not_found"){let m="";return e.accountReconEntity.balance==null&&e.accountReconEntity.clearedBalance==null?m=s.status.balanceNotFound:e.accountReconEntity.balance==null?m=s.status.bankBalanceNotFound:m=s.status.clearedBalanceNotFound,t.jsx($t,{status:m,tooltipText:r})}if(l==="reconnect"||l==="not_connected")return t.jsx(V,{tooltipText:r,showTooltip:d!=null});if(c==null&&l==="connected"&&e.accountReconEntity.balance!=null&&e.accountReconEntity.clearedBalance!=null)return t.jsx(L,{buttonLabel:s.status.review,isDisabled:!1,dataTestId:y("status-button",e.accountReconEntity.account.accountId),tooltipText:r,onClick:i});if(c!=null)switch(c.code){case"save_for_later":case"pending":return t.jsx(L,{buttonLabel:s.status.review,isDisabled:!1,dataTestId:y("status-button",e.accountReconEntity.account.accountId),tooltipText:r,onClick:i});case"reconciled":return t.jsx(_,{isQBO:!1,user:e.accountReconEntity.user,tooltipText:r});case"in_progress":return t.jsx(te,{tooltipText:r});case"failed":return t.jsx(ee,{tooltipText:r});case"reconciled_on_qbo":return t.jsx(_,{isQBO:!0,tooltipText:r});default:return null}else return t.jsx(V,{showTooltip:d!=null,tooltipText:r})},yt=({accountRecon:e,isLoading:n,onReviewClicked:i})=>{const c=e.accountReconEntity.reconciliationStatus,l=e.accountReconEntity.statementDataStatus?.code==="validated"||e.accountReconEntity.statementDataStatus?.code==="processed",d=e.accountReconEntity.reconUpdatedAt,r=d!=null?`${d.utc(!0).fromNow().toLowerCase()}`:h;if(e.accountReconEntity.statementDataStatus?.code==="parsing_failed"||e.accountReconEntity.statementDataStatus?.code==="validation_failed"||e.accountReconEntity.statementDataStatus?.code==="processing_failed")return t.jsx(Rt,{code:e.accountReconEntity.statementDataStatus?.code,tooltipText:r,errorMessage:e.accountReconEntity.errorMessage?.errorShort});if(n)return t.jsx(Ct,{});if(c==null&&l&&e.accountReconEntity.balance!=null&&e.accountReconEntity.clearedBalance!=null)return t.jsx(L,{buttonLabel:s.status.review,isDisabled:!1,dataTestId:y("status-button",e.accountReconEntity.account.accountId),tooltipText:r,onClick:i});if(c!=null)switch(c.code){case"save_for_later":case"pending":return t.jsx(L,{buttonLabel:s.status.review,isDisabled:!1,dataTestId:y("status-button",e.accountReconEntity.account.accountId),tooltipText:r,onClick:i});case"reconciled":return t.jsx(_,{isQBO:!1,user:e.accountReconEntity.user,tooltipText:r});case"reconciled_on_qbo":return t.jsx(_,{isQBO:!0,tooltipText:r});case"in_progress":return t.jsx(te,{tooltipText:r});case"failed":return t.jsx(ee,{tooltipText:r});default:return null}else return t.jsx(V,{showTooltip:d!=null,tooltipText:r})},L=({buttonLabel:e,isDisabled:n,tooltipText:i,dataTestId:c,onClick:l})=>t.jsx(f,{title:t.jsx($,{tooltipText:i}),style:{padding:`${o.sp1} ${o.sp2}`},maxWidth:"105px",placement:"bottom",children:t.jsx(Je,{children:t.jsx(me,{label:e,size:"standard",variant:"secondary",style:{padding:`${o.sp1} 12px`},disabled:n,"data-testid":c,onClick:d=>{d.stopPropagation(),l()}})})}),_=({user:e,isQBO:n,tooltipText:i})=>t.jsx(f,{title:t.jsx($,{tooltipText:i}),style:{padding:`${o.sp1} ${o.sp2}`},maxWidth:"105px",placement:"bottom",children:t.jsxs(Ke,{children:[t.jsxs(Xe,{children:[t.jsx(Ze,{}),t.jsx(Ye,{children:n?s.status.reconciledVia:s.status.reconciledBy})]}),n?t.jsx(J,{children:s.status.QBOUser}):e&&t.jsxs(J,{children:[e.firstName," ",e.lastName]})]})}),wt=({bankBalance:e,accountType:n,bankConnection:i,statementStatus:c,lastUpdatedAt:l,fromDrawer:d=!1,onConnectClicked:r,onReconnectClicked:m,isLoading:k,accountId:W,onStatementAddClicked:B,setIsHovering:v})=>{const P=Tt(n);if(d===!0)return t.jsx(C,{className:"any-text-container",children:E("0,0",e)??h});if(k===!0)return t.jsx(C,{className:"any-text-container",children:h});if(i==="reconnect"){const j=l!=null?`${l.utc(!0).fromNow()}`:h;return t.jsxs(ot,{children:[t.jsxs(at,{children:[t.jsx(it,{children:t.jsx(f,{title:t.jsx($,{tooltipText:j}),placement:"bottom",style:{padding:`2px ${o.sp2}`},children:t.jsx(ct,{})})}),t.jsx(C,{className:"any-text-container",children:e!=null?E("0,0",e):h})]}),t.jsx(nt,{"data-testid":y("account-reconciliation-reconnect-button",W),onClick:N=>{N.stopPropagation(),m?.()},children:s.connect.reconnnect})]})}else return i==="connected"||c==="uploaded"?t.jsx(C,{className:"any-text-container",children:E("0,0",e)??h}):t.jsx(et,{"data-testid":y("account-reconciliation-connect-button",W),onMouseEnter:()=>{v(!0)},onMouseLeave:()=>{v(!1)},children:t.jsx(se,{controller:P.length>0,children:t.jsx(f,{title:s.tooltips.selectSource,style:{padding:`${o.sp1} ${o.sp2}`},maxWidth:"105px",placement:"bottom",children:t.jsx(re,{moreIconType:"custom",customIcon:t.jsx(tt,{}),options:P,customStyleConfig:{option:()=>({".option-container":{justifyContent:"flex-start"}}),valueContainer:()=>({height:o.sp3,".more-icon":{width:o.sp3,height:o.sp3}})},menuPlacement:"auto",onOptionSelection:j=>{j==="bank_connection"?r?.():j==="statement"&&B?.()},valueToIcon:j=>j==="bank_connection"?t.jsx(ut,{}):j==="statement"?t.jsx(pt,{}):null})})})})},bt=({clearedBalance:e,isLoading:n})=>e!=null&&n===!1?t.jsx(C,{className:"any-text-container",children:E("0,0",e)??h}):t.jsx(C,{className:"any-text-container",children:h}),ee=({tooltipText:e})=>{const n=new x(g.important);return t.jsx(f,{title:t.jsx($,{tooltipText:e}),style:{padding:`${o.sp1} ${o.sp2}`},maxWidth:"105px",placement:"bottom",children:t.jsx(b,{children:t.jsxs(O,{children:[t.jsx(A,{iconColor:n}),t.jsx(F,{children:t.jsx(M,{textColor:n,children:s.status.reconciliationFailed})}),t.jsx(U,{children:t.jsx(Q,{textColor:n,children:s.status.reconcileViaQBO})})]})})})},$t=({status:e,tooltipText:n})=>{const i=new x(g.brandColorGoldDark);return t.jsx(f,{title:t.jsx($,{tooltipText:n}),style:{padding:`${o.sp1} ${o.sp2}`},maxWidth:"105px",placement:"bottom",children:t.jsxs(b,{children:[t.jsx(A,{iconColor:i}),t.jsxs(O,{children:[t.jsx(F,{children:t.jsx(M,{textColor:i,children:e})}),t.jsx(U,{children:t.jsx(Q,{textColor:i,children:s.status.reconcileViaQBO})})]})]})})},te=({tooltipText:e})=>{const n=S(),i=new x(n.colors.grey1);return t.jsx(f,{title:t.jsx($,{tooltipText:e}),style:{padding:`${o.sp1} ${o.sp2}`},maxWidth:"105px",placement:"bottom",children:t.jsx(b,{children:t.jsxs(z,{children:[t.jsx(R,{textColor:i,children:s.status.autoReconInProgress}),t.jsx(R,{textColor:i,children:s.status.isInProgress})]})})})},vt=()=>{const e=S(),n=new x(e.colors.grey1);return t.jsx(b,{children:t.jsxs(z,{children:[t.jsx(R,{textColor:n,children:s.status.balanceSyncInProgress}),t.jsx(R,{textColor:n,children:s.status.isInProgress})]})})},Ct=()=>{const e=S(),n=new x(e.colors.grey1);return t.jsx(b,{children:t.jsxs(z,{children:[t.jsx(R,{textColor:n,children:s.status.statementSyncInProgress}),t.jsx(R,{textColor:n,children:s.status.isInProgress})]})})},Rt=({code:e,tooltipText:n,errorMessage:i})=>{const c=new x(g.important),l=Et(e,"list",i);return t.jsx(f,{title:t.jsx($,{tooltipText:n}),style:{padding:`${o.sp1} ${o.sp2}`},maxWidth:"105px",placement:"bottom",children:t.jsxs(b,{children:[t.jsx(A,{iconColor:c}),t.jsxs(O,{children:[t.jsx(F,{children:t.jsx(M,{textColor:c,children:l})}),t.jsx(U,{children:t.jsx(Q,{textColor:c,children:s.status.failed})})]})]})})},V=({showTooltip:e,tooltipText:n})=>e==!1?t.jsx(b,{children:t.jsx(K,{children:h})}):t.jsx(f,{title:t.jsx($,{tooltipText:n}),style:{padding:`${o.sp1} ${o.sp2}`},maxWidth:"105px",placement:"bottom",children:t.jsx(b,{children:t.jsx(K,{children:h})})}),$=({tooltipText:e})=>t.jsxs(st,{children:[t.jsx(rt,{children:s.tooltips.lastUpdated}),t.jsx(lt,{children:e})]}),kt=({statementStatus:e,statementParseInProgress:n,bankStatusCode:i,connectionInProgress:c})=>{let l=e==="uploaded"||n===!0?t.jsx(ht,{}):null;return l=i==="connected"||i==="reconnect"||c===!0?t.jsx(xt,{}):l,t.jsx(dt,{className:"bank-icon-container",children:l})};function Tt(e){const n=[];return e!=null&&e==="bank"&&n.push({label:s.menu.bankConnection,value:"bank_connection"}),n.push({label:s.menu.statement,value:"statement"}),n}const Et=(e,n,i)=>{if(i!=null&&n==="drawer")return i;let c="";switch(e){case"parsing_failed":c=s.status.statementParseError;break;case"validation_failed":c=s.status.statementValidationFailed;break;case"processing_failed":c=s.status.statementProcessingFailed;break;default:c=s.status.statementParseError;break}return n==="drawer"&&(c=c+" "+s.status.failed),c};export{Te as B,wt as C,Lt as D,Et as E,Pt as N,_t as R,ft as f,u,bt as w};
|