@zeniai/web-cockpit-ui 1.15.25-dev → 1.15.26-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-CxpLuJpQ-oljmG-aN.js +21 -0
- package/dist/assets/{AIPerformancePage-BXF0kUqR-BgyTM2y7.js → AIPerformancePage-BtDuOBey-B5mBQCVW.js} +104 -104
- package/dist/assets/AccountInfoPage-DkpBGfrR-BAuNBIod.js +18 -0
- package/dist/assets/{AccountInfoPageContent-QMyPHCdY-DP0akuHx.js → AccountInfoPageContent-BLF92_vF-CW7wtofP.js} +15 -15
- package/dist/assets/AccountLockedInfoModal-AsMkXu1I-CUepwrH5.js +59 -0
- package/dist/assets/{AccountReconDetailsDrawerPage-CoXPQka7-DFQZksfD.js → AccountReconDetailsDrawerPage-CkaBrm5K-KV-fem_5.js} +10 -10
- package/dist/assets/AccountRow-aEmcYP8T-NzxiJ7E0.js +298 -0
- package/dist/assets/{AccountsPromoCardStack-Dkz2VyEk-BJf7WrAq.js → AccountsPromoCardStack-C0At5pn8-BVyntxD9.js} +22 -22
- package/dist/assets/AddAddressForCardDrawer-CbjThbsA-DCBhdPbu.js +6 -0
- package/dist/assets/{AddToWalletPage-p0T8VFfo-WTTL1b0G.js → AddToWalletPage-CMJwUbgf-CbZx4F8y.js} +47 -47
- package/dist/assets/{AgingReportsPage-CTzjRkV2-CkKYMdrC.js → AgingReportsPage-B_BSfude-DZk6eQ7D.js} +15 -15
- package/dist/assets/{AllUserItems-Dt9rMGJk-D2oOTLOS.js → AllUserItems-CGlWa60t-Bsvj0Bul.js} +13 -13
- package/dist/assets/{ApAgingDetailPage-71VQk7px-BPdIn6ZS.js → ApAgingDetailPage-DT3vkmLG-hWexPQ-R.js} +7 -7
- package/dist/assets/AppBasePage-CDy7wPlv-BdtLe6Er.js +71 -0
- package/dist/assets/{AppDrawerContent-ULUH1WZ3-CblzrDc2.js → AppDrawerContent-CEsXm_i6-DvQRPFBq.js} +4 -4
- package/dist/assets/{ApprovalRulesSettingsPage-Ciz-iaE5-ghG5WVzt.js → ApprovalRulesSettingsPage-CB2_4-2f-DqEewSSN.js} +1 -1
- package/dist/assets/{ArAgingChart-DcwM2rpv-C36SsOV8.js → ArAgingChart-qxhWsIQb-BR0MyGhc.js} +1 -1
- package/dist/assets/{ArAgingDetailPage-eGCSFdAM-BJk9vCxH.js → ArAgingDetailPage-BbzQryp_-si9TyFWf.js} +4 -4
- package/dist/assets/{AttachmentView-CA6PRg4p-DDr9TCOl.js → AttachmentView-duTVxc9g-Cx51cWLo.js} +4 -4
- package/dist/assets/{BankAccountSection-mWUT-G8y-2k5xTeyX.js → BankAccountSection-CAwAf9xK-dEu3iigm.js} +5 -5
- package/dist/assets/{BankAccountWarningSection-IMtILLfL-BhKJ6bLn.js → BankAccountWarningSection-CaDnP9_--B_s5lRpF.js} +11 -11
- package/dist/assets/{BankConnectionsSettingsPage-COyH3rdC-Be8G7lph.js → BankConnectionsSettingsPage-CDV7O8cl-CKVB9msh.js} +10 -10
- package/dist/assets/{BillDetailPage-BR_9uHRC-mLWBTrh1.js → BillDetailPage-DJxh2CIc-BDq5xtCx.js} +13 -13
- package/dist/assets/{BillPayApprovalRuleDetailPage-cRAudMvm-CWVbYb1D.js → BillPayApprovalRuleDetailPage-B2ZPbqtr-DoqAcsu7.js} +2 -2
- package/dist/assets/{BillPayApprovalRulesPage-Cd0aJtip-BTxbg4yL.js → BillPayApprovalRulesPage-MM7v8ZMx-BqexuGBp.js} +8 -8
- package/dist/assets/{BillPayPromoPage-BYW097HT-D4YnpN75.js → BillPayPromoPage-JK-VOx4W-CHt5RuWY.js} +8 -8
- package/dist/assets/{BillPaySetUpPage-BahrLUn4-CqC29kIw.js → BillPaySetUpPage-h0uoCWMl-B3vp9xYH.js} +2 -2
- package/dist/assets/BillingSettingsPage-gJG9OxD6-sAZcxvhc.js +44 -0
- package/dist/assets/{BillsBulkReviewDrawerPage-CJ-GbBhL-B7DfrKfl.js → BillsBulkReviewDrawerPage-CPPDFsZt-D7n_HeTo.js} +1 -1
- package/dist/assets/{BoxItem-CvhcNreT-DxmoznPD.js → BoxItem-CYe_gTmA-3TpRGAgq.js} +1 -1
- package/dist/assets/BusinessVerificationPage-Dos8Bnvb-tV078-eh.js +138 -0
- package/dist/assets/{CardNumberSubText-CfoSPAZU-BdVhRiwJ.js → CardNumberSubText-CFDhtij8-Dsv6kEZQ.js} +3 -3
- package/dist/assets/{CashbackDetailPage-CWlaZrqz-DvIAxVRW.js → CashbackDetailPage-BBGGzKh7-DUHJlZVl.js} +13 -13
- package/dist/assets/{ChargeCardDetailPage-BNNbd3G1-BtUCuJum.js → ChargeCardDetailPage-BQhago53-wjHuLhkC.js} +35 -35
- package/dist/assets/{ChargeCardListPage-BzIvl8RY-Ncd3QF6u.js → ChargeCardListPage-B0E-C3RH-B7k2t4T5.js} +16 -16
- package/dist/assets/{ChargeCardListTable-D-uQKI4t-lkMdiYYu.js → ChargeCardListTable-ByGv0xWl-DMSCDnKA.js} +46 -46
- package/dist/assets/{ChargeCardPaymentHistoryPage-DmzlfD-l-OAmKFjuL.js → ChargeCardPaymentHistoryPage-LCY9rFqO-BkZDtpLS.js} +12 -12
- package/dist/assets/{ChargeCardPromoPage-DOYqOs6K-xBYShKSz.js → ChargeCardPromoPage-CKEnOseD-C5Oe_CBA.js} +11 -11
- package/dist/assets/{ChargeCardSetupPage-CSnLMycu-BkjYVqCn.js → ChargeCardSetupPage-BHv2VOdc-7YAt9Um1.js} +3 -3
- package/dist/assets/ChargeCardStatementsPage-UpRXyPTS-DMihpC1F.js +60 -0
- package/dist/assets/{CheckDepositDrawerPage-DN5Ok0Y6-DOjKYa5p.js → CheckDepositDrawerPage-0zbTQ3Fa-BLYoChOi.js} +21 -21
- package/dist/assets/{CollapsableReportTable-CncMWpFI-CnBbDhbn.js → CollapsableReportTable-DlYIKSlQ-CcB96aJz.js} +93 -93
- package/dist/assets/CompanyOfficerDetailsSection-Ck0xqZ0d-BRXSA5bv.js +260 -0
- package/dist/assets/{CompanyPassportCard-Ccw8l9iz-CwNj32nj.js → CompanyPassportCard-DeVPuuje-pYw0P8-e.js} +3 -3
- package/dist/assets/CompanyPassportPage-F_GUET9a-DyWAWfST.js +574 -0
- package/dist/assets/{CompleteProfile-CQUDJ-nI-DJVg2OT2.js → CompleteProfile-Y6HwKtpz-CAD13Y73.js} +2 -2
- package/dist/assets/ConfettiBurst-BGE3Okwr-BH3P6Vot.js +1 -0
- package/dist/assets/{ConstrainedInnerElement-BeIpAPjB-BVda4Dj4.js → ConstrainedInnerElement-BeIpAPjB-BElBEfq9.js} +1 -1
- package/dist/assets/{CreateOrEditVendorPage-DM90rr4S-BcABoxWR.js → CreateOrEditVendorPage-BlZe6gmh-CQZW25xI.js} +16 -16
- package/dist/assets/{CreditCardPaymentDrawerPage-Bh0QdxXh-Dti2BnoN.js → CreditCardPaymentDrawerPage-flPmyCaF-BN_zrabq.js} +11 -11
- package/dist/assets/{CurrencySelectField-BDfEzwpU-4zlCOdOf.js → CurrencySelectField-RiKAivD8-Men9-Qs8.js} +5 -5
- package/dist/assets/{CustomerOnboardingActivationPage-CJGtq19l-BpCso2Fz.js → CustomerOnboardingActivationPage-B7dLMk4g-9XWjuxWa.js} +3 -3
- package/dist/assets/CustomerOnboardingContainerPage-BHPDhC3d-CAVfCCXg.js +1 -0
- package/dist/assets/{CustomerOnboardingDetailPageSkeleton-DSqc1_bS-CATYZXta.js → CustomerOnboardingDetailPageSkeleton-AWsst0XH-Dm9ock3U.js} +14 -14
- package/dist/assets/CustomerOnboardingNoStepsPage-Bqid4-rH-1Q4j5GPR.js +66 -0
- package/dist/assets/CustomerOnboardingPage-B5LrMzZS-C9Fs1CgW.js +107 -0
- package/dist/assets/{CustomerOnboardingProductSuitePage-CZDipU2j-BbQ2Iy2J.js → CustomerOnboardingProductSuitePage-DqgoBLWp-CqOyrhHJ.js} +6 -6
- package/dist/assets/{Dashboard-DyQZQS2X-mxU1Jkng.js → Dashboard-D0KlujCx-DnjbaQQd.js} +66 -66
- package/dist/assets/{DashboardReportPage-Dn7pVdG9-DtcRvxDO.js → DashboardReportPage-bxKyMsG7-D9LgF6Vc.js} +13 -13
- package/dist/assets/DashboardSidebarBackgroundAnimation-Ch0OiH1g-8bPW9HsA.js +12 -0
- package/dist/assets/{DepositAccTransactionItem-DDdkQsmn-B5pGW8gX.js → DepositAccTransactionItem-BdZVCAx--B5mbkfQv.js} +6 -6
- package/dist/assets/{DepositAccTransactionListPage-BHdmR6m5-7yonpKjA.js → DepositAccTransactionListPage-LU0QMdSV-BPGsYfzN.js} +7 -7
- package/dist/assets/{DomesticWireDetailsPage-CpwSOc_0-CElrVONi.js → DomesticWireDetailsPage-CFt5GgZ1-DPIozVv0.js} +1 -1
- package/dist/assets/{DownloadOverlay-Dhib22Hz-D3Lt9Smx.js → DownloadOverlay-CH_bA3On-JFXgpsko.js} +11 -11
- package/dist/assets/{DrawerPage-nxxj86nQ-CJOa9BEO.js → DrawerPage-Cpdp-IFb-6O8ALZwh.js} +14 -14
- package/dist/assets/EditPeoplePage-BYnuNojX-COJTJTYl.js +55 -0
- package/dist/assets/{EditReimbursementDetailPage-C2kqq9QP-Bbzp1pVf.js → EditReimbursementDetailPage-DnyyPZ26-CW_m0PAT.js} +73 -73
- package/dist/assets/EntityDetailPage-DSfZZ1JW-NbMT0IAK.js +18 -0
- package/dist/assets/{EntitySummarySection-C29GLBzF-CWqpKadr.js → EntitySummarySection-BFpgAYAM-CKlhnXLV.js} +8 -8
- package/dist/assets/{ExpenseAutomationOverviewPage-B4kcx-VG-CGPR3A1h.js → ExpenseAutomationOverviewPage-YjOVm_Bw-BDJuPgHE.js} +22 -22
- package/dist/assets/{ExpenseAutomationPage-DNwnoyPg-DCSz-PUa.js → ExpenseAutomationPage-DlhH-R-e-DCW88pdW.js} +285 -295
- package/dist/assets/{ExpressPayPage-K-InpYtZ-DIVfrk0c.js → ExpressPayPage-CKqPEfbR-pk0o4BxB.js} +21 -21
- package/dist/assets/{FeaturePreviewPage-IsRBHkoD-e3f7mixU.js → FeaturePreviewPage-Cs1Y3nP0-BgQT4DqF.js} +2 -2
- package/dist/assets/{FollowStepsSection-ClyCs5f_-Dx038WgT.js → FollowStepsSection-BCyL8Jdr-CPpGgHn-.js} +1 -1
- package/dist/assets/{GlobalReviewListPage-n8XrBXXp-BZl-OsOG.js → GlobalReviewListPage-CBQFcVHd-XH4CFBRM.js} +16 -16
- package/dist/assets/{InformationCardStack-BnOF2kCh-C7gNsonq.js → InformationCardStack-nFMetrAy-CMfT3sbg.js} +6 -6
- package/dist/assets/{InsightsCardStack-Bgzkang3-CA8GAaRZ.js → InsightsCardStack-CEMeGJXy-DkdJ-vVc.js} +9 -9
- package/dist/assets/InsightsSection-BYiN2xB7-Tq3IZNKc.js +27 -0
- package/dist/assets/{IntegrationsSettingsPage-D1QWrVQw-BXx7A_Fv.js → IntegrationsSettingsPage-BQ7g3a3K-BdOaL4VS.js} +3 -3
- package/dist/assets/{InternationalWireSwiftDetailsPage-DNNEqdWS-B78a52iW.js → InternationalWireSwiftDetailsPage-BHRYsZgm-DSuBLSD4.js} +20 -20
- package/dist/assets/InternationalWireVerificationPage-tJbVtzQP-CQvYGebF.js +292 -0
- package/dist/assets/{InviteFormPage-C-Io8wxr-DZ679TjD.js → InviteFormPage-BVXte8w8-MDAVTXGi.js} +21 -21
- package/dist/assets/{InvitePageListView-B1PLdKSn-3WJcdIb9.js → InvitePageListView-DFPyLLrA-CONqmQCs.js} +55 -55
- package/dist/assets/InvitePeoplePage-B-uxjkke-6b_Qz0Yf.js +12 -0
- package/dist/assets/InvoiceUploadSection-B9q7nIs0-DhF51Ukp.js +140 -0
- package/dist/assets/{IssueChargeCardPage-CC6D-uPl-dzV4_AJm.js → IssueChargeCardPage-BuLj1bOl-DtlAMUV4.js} +15 -15
- package/dist/assets/{LabeledAddressValue-CKZJgaV5-cxiw5XUU.js → LabeledAddressValue-D2t8ti-C-Z0RI74Eh.js} +2 -2
- package/dist/assets/LabeledAddressValueField-DMcor_I8-C6G1J4Y2.js +45 -0
- package/dist/assets/LabeledControlledCheckBoxField-B6w2HGJK-6LsZxWHa.js +16 -0
- package/dist/assets/{LabeledCreatableSingleSelectField-N1wb0l0p-Dc3bkr-e.js → LabeledCreatableSingleSelectField-DHNAX5Pu-BPIIBKMF.js} +13 -17
- package/dist/assets/LabeledDocumentField-Bx1u7vv_-DaqPO373.js +41 -0
- package/dist/assets/LabeledDropDownFormattedTextField-BBS4da2b-Pp7kOChU.js +59 -0
- package/dist/assets/{LabeledText-DiJE8avC-CseM5wCJ.js → LabeledText-zjKn4Cw--WpJNibWz.js} +5 -5
- package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-CLup6THe-B8wjUmse.js → LabeledUserSingleSelectWithSubtitlesField-CIofqRT6-l_A9LTk7.js} +20 -20
- package/dist/assets/{LabeledZeniRolesDropDownField-CVg9PTpl-CmXvnZ1S.js → LabeledZeniRolesDropDownField-DiBtAWQ3-_N52HAlB.js} +33 -33
- package/dist/assets/{LinkJETransactionPage-DaGHGCIJ-ZPmKuaes.js → LinkJETransactionPage-D66bzDh_-B4JreFf6.js} +8 -8
- package/dist/assets/{LockCardPage-CGYlmPkB-BpMPFgRW.js → LockCardPage-B1g2TZWL-hWz0sEAN.js} +22 -22
- package/dist/assets/{LowBalancePopup-YJW7eKud-C5-4WX6d.js → LowBalancePopup-DbtHeVY--8cU4w1E0.js} +6 -6
- package/dist/assets/MagicLinkACHDetailsPage-X1pXkZYT-7knh_ltw.js +1 -0
- package/dist/assets/MagicLinkDomesticWireDetailsPage-BDl8k_bB-ESO2QI-z.js +1 -0
- package/dist/assets/{MagicLinkInternationalWireDetailsPage-COXCHYYI-DrkXHgBT.js → MagicLinkInternationalWireDetailsPage-Q4lIsHtG-J3sKHPD3.js} +1 -1
- package/dist/assets/MagicLinkSuccessPage-BkxuITX--B7psstiC.js +31 -0
- package/dist/assets/{MagicLinkTitleSection-CCF7Ahgh-BraYyP_S.js → MagicLinkTitleSection-CqkZ9wOf-BR_t9OGm.js} +4 -4
- package/dist/assets/MailingDetailsSection-DRFGCM2W-D_ajBet8.js +21 -0
- package/dist/assets/{MyBankConnectionsSettingsPage-BJi0owDl-C6fsBM4C.js → MyBankConnectionsSettingsPage-CE2ZqHBJ-DRRK16jW.js} +9 -9
- package/dist/assets/{MyPendingActivationChargeCardListPage-BWIla-hh-BQ4ym9Ei.js → MyPendingActivationChargeCardListPage-BffxXDZg-DDMywOmd.js} +2 -2
- package/dist/assets/MyProfileSettingsPage-DrsAlesY-CW5UQDbf.js +85 -0
- package/dist/assets/{NavBarWithPicker-BGZvvByA-4hcBX9YX.js → NavBarWithPicker-C4VfP_Kw-BlN6D07W.js} +5 -5
- package/dist/assets/{NavigationArrow-C3pN6F3u-tAd2nukx.js → NavigationArrow-DCCxx6H7-HhnIS8HH.js} +7 -7
- package/dist/assets/{NavigationDots-D1rJnVkZ-DI_AwSe8.js → NavigationDots-tWCw6Bpk-Mo0z1mhF.js} +4 -4
- package/dist/assets/{NewGlobalMerchantPage-DU2Z_NYb-CczYC_Cy.js → NewGlobalMerchantPage-UIA8zAjd-D_Ilslhf.js} +12 -12
- package/dist/assets/{NoDataChart-DuEsebs4-BQTTXvg9.js → NoDataChart-Bvetk9za-Dz6Kgiua.js} +2 -2
- package/dist/assets/NoDataTable-9xF1_3XS-gmK0ApJv.js +8 -0
- package/dist/assets/{NotFoundPage-DLtikmoi-CJn1LsuA.js → NotFoundPage-CdH-3upl-BWvfv-me.js} +6 -6
- package/dist/assets/{NotificationSettingsPage-DwsCKyVM-AIL1SOh9.js → NotificationSettingsPage-DP2gGIz1-CAx-Ob95.js} +12 -12
- package/dist/assets/{NotificationsListConfig-CMtBeX4D-Dg29H_7b.js → NotificationsListConfig-DG-DH2Aj-B1EWk1B7.js} +1 -1
- package/dist/assets/{NotificationsPage-CZrXzWli-9C2iwOMz.js → NotificationsPage-CgFMmR2X-DW2MYafR.js} +24 -24
- package/dist/assets/{OpExByVendorPage-0PLAOQu5-DLLDMhgS.js → OpExByVendorPage-eUvIAWzt-J9dFs64l.js} +20 -20
- package/dist/assets/OverlayContainerPage-D4QU0p4o-CRh-4TRn.js +11 -0
- package/dist/assets/{PandLWithForecastPage-PkrBqcAR-Djqg6ntv.js → PandLWithForecastPage-8S06Nyi5-Bs1OiKUY.js} +11 -11
- package/dist/assets/PaymentAccountSetupBillingAddressSection-DQtrANhI-CgW6kWBO.js +107 -0
- package/dist/assets/PeoplePage-D1BLHtO0-Cm2cmSqy.js +675 -0
- package/dist/assets/{Preview-DaDKYAzg.js → Preview-CyX-vurX.js} +1 -1
- package/dist/assets/{ProductsCarousel-fMS3PJAc-r1K9Xxoj.js → ProductsCarousel-BKSXWnFR-BT4vvSaJ.js} +5 -5
- package/dist/assets/{PromoBaseCards-HY42c1kU-DSpx7Fy3.js → PromoBaseCards-BYT9nEJT-1c2PW57m.js} +17 -17
- package/dist/assets/{QBOConnectionDialog-B_AOC_hG-BSWcu79k.js → QBOConnectionDialog-C2-omQMZ-CW3-Jgl1.js} +3 -3
- package/dist/assets/{QBOSetupSection-CQHdqpJF-CH_S6Ewi.js → QBOSetupSection-lgv5wVlg-Db43UmDc.js} +16 -16
- package/dist/assets/{ReimbursementApprovalRuleDetailPage-D0oeO5MZ-95x-7hZW.js → ReimbursementApprovalRuleDetailPage-CbJViS3x-DEQyVs-F.js} +2 -2
- package/dist/assets/{ReimbursementApprovalRulesPage-Beg7ljMA-Cr4MOQVc.js → ReimbursementApprovalRulesPage-BuNt-Bmb-qkoyA-iD.js} +8 -8
- package/dist/assets/{ReimbursementDetailPage-DBxKNhum-DE3tfEga.js → ReimbursementDetailPage-CK3-Jqkd-ComGCWG4.js} +8 -8
- package/dist/assets/{ReimbursementPromoPage-DxZeTOQW-CNGgL2HL.js → ReimbursementPromoPage-fptOAJna-UPQyz9k9.js} +20 -20
- package/dist/assets/{ReimbursementSetUpPage-CN4LhFrS-BfRZlJ5w.js → ReimbursementSetUpPage-CidrpT2g-C4LYSo0t.js} +10 -10
- package/dist/assets/{ReimbursementsBulkReviewDrawerPage--6OUmjzW-D3GoPfdC.js → ReimbursementsBulkReviewDrawerPage-Cy_Hediw-DbKZBLTq.js} +1 -1
- package/dist/assets/{ReloadCard-BluhBNO--D0eilzgR.js → ReloadCard-C81rGzOp-DY4k84ea.js} +5 -5
- package/dist/assets/{ReportTableViewSelector-8KYimU0G-YYB33_Xu.js → ReportTableViewSelector-neRSjrhV-C6WBlOcq.js} +9 -9
- package/dist/assets/{ReportsPage-D-UfdQ34-CNx_b_ly.js → ReportsPage-BhzQVaer-B4A4M4e5.js} +1 -1
- package/dist/assets/{RevenueChart-C9EztEKi-BbW9YFNy.js → RevenueChart-x7uTbFlm-CNwMod8g.js} +18 -18
- package/dist/assets/{ReviewDetailsPage-B6SYtYUA-d0bXCGW4.js → ReviewDetailsPage-jXZCylzg-BIFUDhZH.js} +31 -31
- package/dist/assets/{ReviewOverlay-C2enVZqt-C_vH9CpL.js → ReviewOverlay-nlm2HnGw-9bQU05T1.js} +18 -18
- package/dist/assets/RoleWithToolTip-C29QOzxS-BIz3hnmq.js +22 -0
- package/dist/assets/{ScheduleDetailsFixedAssetsPage-DmBVVX79-6-1NS4t6.js → ScheduleDetailsFixedAssetsPage-CkPzofLN-BgCHEx2z.js} +8 -8
- package/dist/assets/{ScheduleDetailsPage-Bp3d9tdD-Ct_0Fci8.js → ScheduleDetailsPage-BSZefKOh-6HOYgX85.js} +8 -8
- package/dist/assets/ScheduleSequenceTable-BW5M7Zfq-Cc7Psi6L.js +324 -0
- package/dist/assets/{ScreenRoutes-CvjimsD0.js → ScreenRoutes-DOxgrmyz.js} +1 -1
- package/dist/assets/{SetUpAccountSection-DiEFZwFL-DC1aQ-pj.js → SetUpAccountSection-C703iFL6-DWHc95vH.js} +5 -5
- package/dist/assets/SignIn-D9K5FklU-C-Fq_guN.js +491 -0
- package/dist/assets/SignInScreen-pGoo9woj.js +1 -0
- package/dist/assets/{SpendManagementListViewPage-BoWIPx5V-DXR-HLOL.js → SpendManagementListViewPage-CBNtC74m-DqpxdGQ6.js} +13 -13
- package/dist/assets/{SpendManagementPerTabPage-DRrECrxC-dCEqiObE.js → SpendManagementPerTabPage-D_sa7WRd-CzMD5xEZ.js} +25 -25
- package/dist/assets/{SpendManagementSection-xoH8d-PB-6nPhw1xu.js → SpendManagementSection-DpZUTV6m-Dyv3RP83.js} +23 -23
- package/dist/assets/StatementItem-DvdSsb8I-4NJSevH0.js +31 -0
- package/dist/assets/StatementsPage-73jGj5P2-DfWSq1-t.js +58 -0
- package/dist/assets/{StatusSwitcher-C-2QxP_3-DVOlvAn4.js → StatusSwitcher-hKYgwNLC-CE1foddz.js} +2 -2
- package/dist/assets/{SubTabSwitcher-D3iTZY-F-CSjMFn8K.js → SubTabSwitcher-aeDd9xiF-D4uOjs0t.js} +2 -2
- package/dist/assets/{SummaryCard-BbzDLzif-jCXiXuPT.js → SummaryCard-CK8Gxbiu-DemkEVCq.js} +1 -1
- package/dist/assets/{TaskManagementPage-DI_lMbra-CdUdFSOY.js → TaskManagementPage-D2Ooq8DR-DrMY4gdr.js} +15 -15
- package/dist/assets/{TimeRangeSwitcher-C3mH2YE7-CZoVUBkm.js → TimeRangeSwitcher-DEqlZxa6-BNFFHAst.js} +11 -11
- package/dist/assets/{TimeframeSwitcher-C8iVJfJz-B35AQLzW.js → TimeframeSwitcher-BppC6giF-D-wC9bQx.js} +6 -6
- package/dist/assets/TimeframeSwitcherWithToggle-CbX9ElMN-Txpnr2g5.js +31 -0
- package/dist/assets/{TopExCard-DlberdWy-AXYKUOGt.js → TopExCard-Cy6tPVSx-B-keVDu8.js} +6 -6
- package/dist/assets/{TopExDetailPage-DZyUPQ9i-kejvgUv1.js → TopExDetailPage-Rtrcdkcp-BJDfbujg.js} +11 -11
- package/dist/assets/{TransactionActivityLogPage-Bpdbc21v-DQ1FP9jB.js → TransactionActivityLogPage-DbwSsjPJ-BIwIVqy-.js} +15 -15
- package/dist/assets/TransactionDetailPage-D-vXAAB7-Bzb02Sjl.js +903 -0
- package/dist/assets/TransactionList-BruCNjQg-CPy3bOrg.js +153 -0
- package/dist/assets/{TransactionListBig-D6Q9QimF-DjvcRG58.js → TransactionListBig-bp7q3prH-B3o9La4k.js} +13 -13
- package/dist/assets/TransactionListPage-ZfJsaVb8--vXsSJCl.js +35 -0
- package/dist/assets/{TransactionVendorDetailPage-B4A4amjV-rbnaqzN7.js → TransactionVendorDetailPage-CldkuO2--QReUEWYz.js} +7 -7
- package/dist/assets/{TransferDrawerPage-Dfhpu5Yd-D-lZQHfG.js → TransferDrawerPage-DswS6KZf-BpK3RBCC.js} +27 -27
- package/dist/assets/{TreasuryOverviewPage-B6WhqRDb-BYZSOn3C.js → TreasuryOverviewPage-DWo7iRpO-gYNjYUSH.js} +1 -1
- package/dist/assets/{TreasuryPromoPage-C5DXueHJ-DvuJR2wv.js → TreasuryPromoPage-DQxCF3-4-BI9m1Cpo.js} +131 -131
- package/dist/assets/{TreasuryStatementsPage-8qXJLq1U-C7VbrxO2.js → TreasuryStatementsPage-CYkPtmaT-BgyV-fq7.js} +2 -2
- package/dist/assets/TreasuryTaxLetterPage-DH3su_rX-Dyk_wpPB.js +58 -0
- package/dist/assets/{TrendChart-FPLC1aMv-BpKn1lA4.js → TrendChart-BMHDaOeh-DUFeSEwp.js} +3 -3
- package/dist/assets/{TrendWithTransactions-_O4Fz3pt-B_P0jc9Y.js → TrendWithTransactions-DDLrmIrt-D7YkaYJE.js} +3 -3
- package/dist/assets/{UncategorizedAccountsMappingPage-rdMygvxx-CB5luTSv.js → UncategorizedAccountsMappingPage-3SW8Gj0Z-DxcmP_9M.js} +22 -22
- package/dist/assets/{UnitIntegrationPage-WfFukh9_-Db1kSxll.js → UnitIntegrationPage-DPMy8dXP-Ds2V7iqZ.js} +11 -11
- package/dist/assets/{UploadAdditionalDocumentOverlay-xiqklxM_-C-ghpumD.js → UploadAdditionalDocumentOverlay-BHpT2al--Bh-cR8rL.js} +1 -1
- package/dist/assets/Vendor2FAPopup-C6gEOhUv-DnLG0jax.js +1 -0
- package/dist/assets/VendorACHDetailsPage-LNCcubjL-BnzYtLeS.js +1 -0
- package/dist/assets/{VendorDetailPage-Cexet52V-fximdJ6Q.js → VendorDetailPage-BC1FhaQA-BTYI8FHa.js} +25 -25
- package/dist/assets/{VendorDomesticWireDetailsPage-DbhChvIp-Cn8HKuB3.js → VendorDomesticWireDetailsPage-CLudahOt-DWedRRGC.js} +1 -1
- package/dist/assets/{VendorFiling1099EditablePage-Bnwp2JiZ-B1voyhYV.js → VendorFiling1099EditablePage-DYyPOA8D-SaXokDu7.js} +38 -38
- package/dist/assets/{VendorFirstReviewPage-C_xSf47L-YlGbjVwi.js → VendorFirstReviewPage-Cpmk7rDk-CLDuk2Z1.js} +37 -37
- package/dist/assets/{VendorInternationalWireDetailsPage-DVuenbq8-CpmeIHQG.js → VendorInternationalWireDetailsPage-CWAWq6kq-BqWv0FEj.js} +9 -9
- package/dist/assets/VendorInternationalWireSwiftDetailsPage-CUtums8t-Cnhhvl1i.js +1 -0
- package/dist/assets/{VendorsAccountsSection-DYSlIqnJ-D8aKvLQv.js → VendorsAccountsSection-CGQ35Mhp-CZRiYNTG.js} +2 -2
- package/dist/assets/{VerifyDevice-MbuunHNJ-0NsL1ICM.js → VerifyDevice-CfMJW1Vh-CQyEdsek.js} +9 -9
- package/dist/assets/{VideoPlayer-B-oV4gcS-IlmjYyud.js → VideoPlayer-BNBpjXJk-S1NV6cBn.js} +2 -2
- package/dist/assets/{VideoPopup-DFfn4tne-e-69xGLM.js → VideoPopup-BF6lmB7l-C8AjwQYx.js} +5 -5
- package/dist/assets/{WarningsDrawerPage-C_nKfBpS-CgVWLVpY.js → WarningsDrawerPage-Crj70lnR-CqPc_yNz.js} +3 -3
- package/dist/assets/{ZeniAccountDetailPage-jYwDoLiN-C9ExO4Jo.js → ZeniAccountDetailPage-CaA6m3tQ-BxjiYTPx.js} +12 -12
- package/dist/assets/{ZeniAccountListViewPage-CWiWh2ld-BsZ-NitY.js → ZeniAccountListViewPage-x_51gDs1-BURzAUSX.js} +9 -9
- package/dist/assets/ZeniAccountNavBarPieces-Csr24dri-Dtq04dNH.js +14 -0
- package/dist/assets/{ZeniAccountPromoPage-DPab5PDZ-CdBoWbQ6.js → ZeniAccountPromoPage-lxKBk2r5-B3car8p6.js} +13 -13
- package/dist/assets/{ZeniAccountSetupPage-Dbqa1LpU-DR-JNx31.js → ZeniAccountSetupPage-DUI4-2Zw-CqTcY3yC.js} +1 -1
- package/dist/assets/{ZeniCopyright-SDIPg48K-6zG7DJUz.js → ZeniCopyright-DxEZ4DiK-Bx5L4V4v.js} +1 -1
- package/dist/assets/{ZeniTransferAmountSlider-Bg59KBt9-PXMuIYqh.js → ZeniTransferAmountSlider-4Nq4Sm9J-CWNMmcE5.js} +11 -11
- package/dist/assets/{add-to-wallet-DgdBD8_G-4MTVGYLk.js → add-to-wallet-DgdBD8_G-Ckn7-tS3.js} +1 -1
- package/dist/assets/{analytics-DkApCpAh.js → analytics-DgE91yP9.js} +1 -1
- package/dist/assets/{analyticsHelper-DfCXurTN-CSH8s8BS.js → analyticsHelper-CL-t3Y2i-DqLgDKAm.js} +1 -1
- package/dist/assets/analyticsHelper-qCgSbR3t.js +1 -0
- package/dist/assets/{arrow-south-east-round-PEovUgvH-sjXlUHVP.js → arrow-south-east-round-PEovUgvH-6_ok8u4n.js} +1 -1
- package/dist/assets/{auto-transfer-rule-mbafm5D3-8P5UKTjR.js → auto-transfer-rule-mbafm5D3-DaMjzKK3.js} +1 -1
- package/dist/assets/{chartTypes-H306f0ce-DSh0OTeZ.js → chartTypes-B3501CSI-Eia1dEGg.js} +1 -1
- package/dist/assets/{commonDimensions-CWffpElu-DyTXC1xY.js → commonDimensions-YcBBlmYP-HRUAmifl.js} +1 -1
- package/dist/assets/{constants-42un7CRh.js → constants-DU2Tv8MD.js} +1 -1
- package/dist/assets/{core-DQ8U4CJb.js → core-CEu4PzGb.js} +1 -1
- package/dist/assets/{dash.all.min-xDoItceu.js → dash.all.min-wN4tXsVF.js} +1 -1
- package/dist/assets/{detailCommon-CfrL4ryy-K2hvWKyD.js → detailCommon-C19MYPnq-B5eEk_1Z.js} +2 -2
- package/dist/assets/downloadPdf-DPAqxw6u-DccTm81d.js +1 -0
- package/dist/assets/{empty-DBMIDect.js → empty-CarmpCiV.js} +1 -1
- package/dist/assets/{empty-DMdKDWd5.js → empty-SBaJLmT7.js} +1 -1
- package/dist/assets/epic-jB8ji6P2.js +2 -0
- package/dist/assets/{gift-box-Cmt9OgIZ-CKZgCX5V.js → gift-box-Cmt9OgIZ-Cfao5pzw.js} +1 -1
- package/dist/assets/{graphic-no-data-l-DU4J8fDt-B74xUk4A.js → graphic-no-data-l-DU4J8fDt-CtMgv3E2.js} +1 -1
- package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-CY998Ry-.js → graphic-no-data-net-burn-l-CzmycA0m-CxhhGXfI.js} +1 -1
- package/dist/assets/{handshake-BPg58FML-ci6EVnAm.js → handshake-BPg58FML-Cr0KvGET.js} +1 -1
- package/dist/assets/{index-DlHdI3-w.js → index-C65pc_ms.js} +1 -1
- package/dist/assets/{index-Ci8_ElRT.js → index-CM4tXRl_.js} +1 -1
- package/dist/assets/{index-uFwLgEj2.js → index-CTIRcS5n.js} +1 -1
- package/dist/assets/{index-CP7n6qbn.js → index-DdSqYqAO.js} +1 -1
- package/dist/assets/{index-MLR605z1.js → index-DotN2qpo.js} +1 -1
- package/dist/assets/{index-BIYLqgct.js → index-GSKpJ8ET.js} +4076 -4065
- package/dist/assets/{index-C-yZdmSC.js → index-qEET5oej.js} +1 -1
- package/dist/assets/{lexical-CvUIM9vD.js → lexical-CnqcqOEB.js} +1 -1
- package/dist/assets/{liveblocks-DXGUxn7J.js → liveblocks-D1OOExFG.js} +1 -1
- package/dist/assets/{lottie-C1yptpVV.js → lottie-fNTw06NH.js} +1 -1
- package/dist/assets/mapLoadingInProgressToTreeNode-D2u9MDI--Bj-YdG55.js +1 -0
- package/dist/assets/{mapSectionWithAcOnlyToTreeNode-CH8Zwu7Z-DxWz5zBn.js → mapSectionWithAcOnlyToTreeNode-BDWD3x8r-CFpEHrc_.js} +1 -1
- package/dist/assets/mapSpacerToTreeNode-Blr3egSm-C65_6eW3.js +1 -0
- package/dist/assets/mapTimeframeBalancesToTreeNode-3Hd8QHr2-D-fvMaDb.js +1 -0
- package/dist/assets/mapTimeframeBalancesToTreeNode-D-LTfKnD-D-V0iqTB.js +1 -0
- package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-CffU-RPP-Cn_Z85da.js +1 -0
- package/dist/assets/{mui-rLvQ8A4a.js → mui-DenpH-hx.js} +1 -1
- package/dist/assets/{page-detail-CWX5S47F-DxBKGqnW.js → page-detail-CWX5S47F-CMu9po0A.js} +1 -1
- package/dist/assets/panelSelectedMixin-CzfD5-Zs-Z09J1JBQ.js +4 -0
- package/dist/assets/{radio-default-CiSgisfh-D50TMWyl.js → radio-default-CiSgisfh--A7TRB5H.js} +1 -1
- package/dist/assets/{react-CD-rvAYw.js → react-B5LP5NK7.js} +1 -1
- package/dist/assets/{react-XCvfp0dN.js → react-BGO_hhif.js} +1 -1
- package/dist/assets/{react-BGRcEI9e.js → react-BNXAqjdV.js} +1 -1
- package/dist/assets/{react-CeXW-10t.js → react-BbEkWrBm.js} +1 -1
- package/dist/assets/{react-D5l7wk4q.js → react-BbsHWhNi.js} +2 -2
- package/dist/assets/{react-CKPzfXiX.js → react-CX4zcxjw.js} +1 -1
- package/dist/assets/{react-CaPJ_R38.js → react-D97zLppZ.js} +2 -2
- package/dist/assets/{react-BFvwO_Qx.js → react-DvuAhc__.js} +1 -1
- package/dist/assets/{recharts-BYppTjSs.js → recharts-9NtTDQfo.js} +1 -1
- package/dist/assets/{sentry-DhNwX3jk.js → sentry-BZBky1_g.js} +1 -1
- package/dist/assets/{shield-DOlUxcFf-1dcmCA6e.js → shield-DOlUxcFf-DnxNebOP.js} +1 -1
- package/dist/assets/toCOABalancesWithID-D35Fk0m2-dL9iDsOU.js +1 -0
- package/dist/assets/{toChartData-ILqaSUrn-x9ixmlfa.js → toChartData-DzatRnt8-Cq2-M4CL.js} +1 -1
- package/dist/assets/{uploadAttachment-BO1VJaKW-DrgLpT8c.js → uploadAttachment-Bq8dk-Sm-DirS4o1A.js} +18 -18
- package/dist/assets/{uploadReceipts-Dge0cNF1-BX-9R6_Z.js → uploadReceipts-Dge0cNF1-BKdcUL2b.js} +1 -1
- package/dist/assets/{url-DrmuGGE4.js → url-0W_uXmZ-.js} +1 -1
- package/dist/assets/{url-C7FJoqre.js → url-Z1gMB4SW.js} +1 -1
- package/dist/assets/{useLongPress-GCK2COYQ-nce713S8.js → useLongPress-GCK2COYQ-B8bxkfF-.js} +1 -1
- package/dist/assets/{usp-line-BBd1wKwW-BIn3NV9C.js → usp-line-BBd1wKwW-BPsPtX_C.js} +1 -1
- package/dist/assets/{utils-BdIPH7k8.js → utils-CHibiken.js} +1 -1
- package/dist/assets/{zeni-epic-state-DwkN4IvA.js → zeni-epic-state-BKgIzPpM.js} +18 -18
- package/dist/index.html +1 -1
- package/package.json +4 -4
- package/dist/assets/ACHDetailsPage-Davpg8eW-BWDILC-H.js +0 -21
- package/dist/assets/AccountInfoPage-Cefnidcc-Bp5rUTr8.js +0 -18
- package/dist/assets/AccountLockedInfoModal-BdFY6p56-RTWbIB_l.js +0 -59
- package/dist/assets/AccountRow-DHB-ETil-0INUiG8Z.js +0 -298
- package/dist/assets/AddAddressForCardDrawer-CUKknbhJ-CnCLxax6.js +0 -6
- package/dist/assets/AppBasePage-tDs92z31-B3gR6k96.js +0 -71
- package/dist/assets/BillingSettingsPage-BjMeQKM0-CpnNOiGS.js +0 -44
- package/dist/assets/BusinessVerificationPage-LKrdd6Ej-BKb49OWB.js +0 -138
- package/dist/assets/ChargeCardStatementsPage-C82CsaNY-DzvzbShn.js +0 -60
- package/dist/assets/CompanyOfficerDetailsSection-5Gmlo5HX-mf8toy40.js +0 -331
- package/dist/assets/CompanyPassportPage-IjpU53y_-BF5RjsoV.js +0 -417
- package/dist/assets/ConfettiBurst-C_6Uy7eR-Np_3vQFo.js +0 -1
- package/dist/assets/CustomerOnboardingContainerPage-CP6DdMkC-CnaDFGWF.js +0 -1
- package/dist/assets/CustomerOnboardingNoStepsPage-BuWnQGPi-BSZV9BI0.js +0 -66
- package/dist/assets/CustomerOnboardingPage-Bl2oAvin-B7GmsFRo.js +0 -107
- package/dist/assets/DashboardSidebarBackgroundAnimation-iiFGhvRQ-y0LRofZR.js +0 -12
- package/dist/assets/EditPeoplePage-CG5gmNTR-CH2Xt3X8.js +0 -55
- package/dist/assets/EntityDetailPage-CL0FCU_m-BGtD2JCX.js +0 -18
- package/dist/assets/InsightsSection-C16f1RZL-BLvjZ1kW.js +0 -27
- package/dist/assets/InternationalWireVerificationPage-xmHZ6XN7-DwVwtiyi.js +0 -65
- package/dist/assets/InvitePeoplePage-BArxsNxE-BXI3n59t.js +0 -12
- package/dist/assets/InvoiceUploadSection-Eo7dq75t-C9QkPoGX.js +0 -140
- package/dist/assets/LabeledAddressValueField-DNGOSAvq-BXE6xS8k.js +0 -45
- package/dist/assets/LabeledControlledCheckBoxField-CR2DslKs-Cl2J9WYt.js +0 -16
- package/dist/assets/LabeledCountryMultiSelectField-B8Lbv837-DgWr30M7.js +0 -237
- package/dist/assets/LabeledDocumentField-vSq1xSUM-C_0QT0Hr.js +0 -41
- package/dist/assets/LabeledDropDownFormattedTextField-CqDEmdfe-DrhnwOAX.js +0 -59
- package/dist/assets/MagicLinkACHDetailsPage-C3TnWCqC-ByYEbu_t.js +0 -1
- package/dist/assets/MagicLinkDomesticWireDetailsPage-BUjap5Q7-Bvcp-odv.js +0 -1
- package/dist/assets/MagicLinkSuccessPage-CdHOdUZ5-CSa0Vcf2.js +0 -31
- package/dist/assets/MailingDetailsSection-WMvjKFiS-C1_EkXyZ.js +0 -21
- package/dist/assets/MyProfileSettingsPage-B0uYhezS-DbNVKwps.js +0 -85
- package/dist/assets/NoDataTable-B7LkfAQX-CdTNbZgo.js +0 -8
- package/dist/assets/OverlayContainerPage-D4QU0p4o-D2G-CVv7.js +0 -11
- package/dist/assets/PaymentAccountSetupBillingAddressSection-C026Xg59-Du1LULBI.js +0 -107
- package/dist/assets/PeoplePage-PyWOVc5M-DILaV4hT.js +0 -727
- package/dist/assets/RoleWithToolTip-DA3BIg5j-DG-Lih0N.js +0 -22
- package/dist/assets/ScheduleSequenceTable-B1fJ-_4f-VSvFhL5f.js +0 -324
- package/dist/assets/SignIn-T74bkrxk-ptxkK8PP.js +0 -491
- package/dist/assets/SignInScreen-BYcec7re.js +0 -1
- package/dist/assets/StatementItem-BthXwXFQ-j2l7jY5v.js +0 -31
- package/dist/assets/StatementsPage-FmjXzQ3g-oWNeSYKv.js +0 -58
- package/dist/assets/TimeframeSwitcherWithToggle-CdFx3214-DF2bdFav.js +0 -31
- package/dist/assets/TransactionDetailPage-CaRcJukf-CnifEZvn.js +0 -903
- package/dist/assets/TransactionList-BAziC6eS-6qNOgl8E.js +0 -153
- package/dist/assets/TransactionListPage-Ce_lSS6C-YqGl74XY.js +0 -35
- package/dist/assets/TreasuryTaxLetterPage-ClJA2mWI-xsnS5RHz.js +0 -58
- package/dist/assets/Vendor2FAPopup-DK98Bntc-CHLdTtz5.js +0 -1
- package/dist/assets/VendorACHDetailsPage-Bxo11l9N-DiVKko5M.js +0 -1
- package/dist/assets/VendorInternationalWireSwiftDetailsPage-BNySLbxk-CvXAX7v6.js +0 -1
- package/dist/assets/ZeniAccountNavBarPieces-BK32R48c-BhUfl-Q9.js +0 -14
- package/dist/assets/analyticsHelper-DAh0LrcL.js +0 -1
- package/dist/assets/commonTypes-DP3nDhtI-D-fLD29s.js +0 -1
- package/dist/assets/downloadPdf-C1zKY9Rq-Bj2M-x0n.js +0 -1
- package/dist/assets/epic-av5bi8Jm.js +0 -2
- package/dist/assets/helper-Byvbf3nO-BTmT7Zux.js +0 -223
- package/dist/assets/mapLoadingInProgressToTreeNode-9Rpdq0ZF-lTETWBpR.js +0 -1
- package/dist/assets/mapSpacerToTreeNode-BCRaNO17-Byu958vH.js +0 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-Cc1RpGkM-aNtvWBak.js +0 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-DRCseSgo-Bs0MPeVL.js +0 -1
- package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-BnHYlJ_0-DmtLnyQB.js +0 -1
- package/dist/assets/panelSelectedMixin-Cddsb26L-CUpBjaaO.js +0 -3
- package/dist/assets/toCOABalancesWithID-BDzeodcz-CM7cQRcs.js +0 -1
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import{e as h,J as y,V as t,gQ as x,o as a,y as d,hC as D,u as i}from"./index-GSKpJ8ET.js";import{a as $}from"./sentry-BZBky1_g.js";import{n as o}from"./mui-DenpH-hx.js";import{K as P}from"./StatusSwitcher-hKYgwNLC-CE1foddz.js";import{r as z}from"./AccountInfoPageContent-BLF92_vF-CW7wtofP.js";import"./liveblocks-D1OOExFG.js";import"./core-CEu4PzGb.js";import"./recharts-9NtTDQfo.js";import"./zeni-epic-state-BKgIzPpM.js";import"./lottie-fNTw06NH.js";import"./analytics-DgE91yP9.js";import"./lexical-CnqcqOEB.js";import"./utils-CHibiken.js";import"./downloadPdf-DPAqxw6u-DccTm81d.js";import"./commonDimensions-YcBBlmYP-HRUAmifl.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]="52c3123b-e3bb-4909-b09b-c772b02d36e9",e._sentryDebugIdIdentifier="sentry-dbid-52c3123b-e3bb-4909-b09b-c772b02d36e9")}catch{}})();const s={pageTitleMarginXAxis:new d(i[4],i[8]),containerPaddingLeft:new d(i[3],i[6],i[8]),containerPaddingRight:new d(i[3],i[6],i[8])},q=({authParams:e,downloadAccountDetailEndPoint:n,depositAccount:r,zeniAccountsConfigDetail:u,currentTenant:g,onDismissClick:p})=>{const f=h(),c=y(),[l,m]=$.useState("achDetails"),b=w=>{m(w)};return t.jsxs(T,{children:[t.jsx(x,{title:"",backgroundColor:f.colors.grey4,style:{zIndex:4},isTitleAlignLeft:!0,onCloseClick:p}),t.jsx(j,{windowSize:c,children:r.accountName}),t.jsx(v,{children:t.jsx(P,{tabIds:["achDetails","wireDetails"],selectedTab:l,entity:"zeni_accounts",onTabSelectedChange:b,isSwitcherLeftAlign:!0})}),t.jsx(A,{windowSize:c,children:t.jsx(z,{authParams:e,downloadAccountDetailEndPoint:n,currentTab:l,zeniAccountsConfigDetail:u,currentTenant:g,depositAccount:r})})]})},A=o.div`
|
|
2
|
+
padding-left: ${e=>`${s.containerPaddingLeft.valuePx(e.windowSize)}`};
|
|
3
|
+
padding-right: ${e=>`${s.containerPaddingRight.valuePx(e.windowSize)}`};
|
|
4
|
+
`,T=o.div`
|
|
5
|
+
display: flex;
|
|
6
|
+
flex-direction: column;
|
|
7
|
+
background-color: ${e=>e.theme.colors.grey4};
|
|
8
|
+
overflow-x: hidden;
|
|
9
|
+
height: 100%;
|
|
10
|
+
width: 100%;
|
|
11
|
+
`,j=o(D)`
|
|
12
|
+
color: ${e=>e.theme.colors.primary};
|
|
13
|
+
padding: ${a.sp3} ${a.sp0};
|
|
14
|
+
margin: ${e=>`${a.sp0} ${s.pageTitleMarginXAxis.valuePx(e.windowSize)} `};
|
|
15
|
+
`,v=o.div`
|
|
16
|
+
display: flex;
|
|
17
|
+
justify-content: flex-start;
|
|
18
|
+
`;export{q as default};
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import{J as je,
|
|
1
|
+
import{J as je,g_ as Ae,hD as H,V as r,bU as z,T as Se,aQ as _,o as a,b8 as Te,F as ve,c4 as De,p as E,ai as re,h as Ce,h1 as ze,al as ae}from"./index-GSKpJ8ET.js";import{a as s}from"./sentry-BZBky1_g.js";import{n as t}from"./mui-DenpH-hx.js";import{w as _e}from"./downloadPdf-DPAqxw6u-DccTm81d.js";import{o as Le}from"./commonDimensions-YcBBlmYP-HRUAmifl.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]="c843e68b-1565-489a-a0c0-1cfe6befe571",e._sentryDebugIdIdentifier="sentry-dbid-c843e68b-1565-489a-a0c0-1cfe6befe571")}catch{}})();const{common:{strings:Ie,copyToClipBoard:g},spendManagement:{zeniAccounts:{zeniAccountDetail:K},billPay:{vendorCreation:{achDetails:o}},downloads:X}}=ve.getLocalizedStrings(),er=({authParams:e,downloadAccountDetailEndPoint:y,currentTab:p,depositAccount:n,zeniAccountsConfigDetail:u,currentTenant:k})=>{const oe=je(),[,M]=Ae(),[N,te]=s.useState(!1),[se,ce]=s.useState(!1),[ne,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,P]=s.useState(!1),[w,R]=s.useState(!1),[j,q]=s.useState(!1),[A,G]=s.useState(!1),[S,U]=s.useState(!1),[T,V]=s.useState(!1),[v,O]=s.useState(!1),[$,Q]=s.useState(!1),D=k?.company?.companyInfo.companyLegalName,C=H(u.zeniAccountsConfigDetail.mailingAddress).text2,m=H(u.zeniAccountsConfigDetail.bankAddress).text2;s.useEffect(()=>{(h||T||v||$||S||$||j||w||A)&&setTimeout(()=>{P(!1),V(!1),O(!1),Q(!1),U(!1),G(!1),q(!1),R(!1)},1200)},[h,T,v,$,S,A,j,w]);const B=(f,c)=>{switch(f){case"accountType":ce(c);break;case"acccountNumber":ie(c);break;case"routingNumber":de(c);break;case"bankName":ue(c);break;case"beneficiaryName":fe(c);break;case"beneficiaryAddress":pe(c);break;case"bankAddress":ye(c);break}},$e=f=>{let c;f==="achDetails"?c=`${o.bankRoutingNumber} ${n.routingNumberAch}
|
|
2
2
|
|
|
3
|
-
${o.accountTypeLabel} ${
|
|
3
|
+
${o.accountTypeLabel} ${n.accountSubType.name??""}
|
|
4
4
|
|
|
5
|
-
${o.bankAccountNumber} ${
|
|
5
|
+
${o.bankAccountNumber} ${n.accountNumber}
|
|
6
6
|
|
|
7
7
|
${o.bankName} ${u.zeniAccountsConfigDetail.bankName}
|
|
8
8
|
|
|
9
|
-
${o.bankAddress} ${m}`:
|
|
9
|
+
${o.bankAddress} ${m}`:c=`${o.bankRoutingNumber} ${n.routingNumberAch}
|
|
10
10
|
|
|
11
|
-
${o.accountTypeLabel} ${
|
|
11
|
+
${o.accountTypeLabel} ${n.accountSubType.name??""}
|
|
12
12
|
|
|
13
|
-
${o.bankAccountNumber} ${
|
|
13
|
+
${o.bankAccountNumber} ${n.accountNumber}
|
|
14
14
|
|
|
15
15
|
${o.bankName} ${u.zeniAccountsConfigDetail.bankName}
|
|
16
16
|
|
|
@@ -18,7 +18,7 @@ ${o.beneficiaryName} ${D}
|
|
|
18
18
|
|
|
19
19
|
${o.bankAddress} ${m}
|
|
20
20
|
|
|
21
|
-
${o.beneficiaryAddress} ${C}`,M(
|
|
21
|
+
${o.beneficiaryAddress} ${C}`,M(c),P(!0)},i=(f,c,x,F)=>{let d,l;switch(x){case"acccountNumber":d=ne,l=v;break;case"accountType":d=se,l=T;break;case"bankName":d=be,l=S;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":V(!0);break;case"acccountNumber":O(!0);break;case"routingNumber":Q(!0);break;case"bankName":U(!0);break;case"beneficiaryName":R(!0);break;case"beneficiaryAddress":G(!0);break;case"bankAddress":q(!0);break}};return r.jsxs(Ge,{onMouseEnter:()=>B(x,!0),onMouseLeave:()=>B(x,!1),children:[r.jsx(Ue,{children:f}),r.jsx(Oe,{children:r.jsxs(Qe,{children:[r.jsxs(Ve,{children:[d||oe==="small"?r.jsx(L,{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(W,{"data-testid":_("account-info-copy",x),onClick:()=>{M(c),we()}})})}):null,c]}),F!=null?r.jsx(Be,{children:F}):null]})})]})},ge={detail_type:"account_details",deposit_account_id:n.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(Je,{children:[r.jsxs(Me,{children:[r.jsx(Re,{children:p==="achDetails"?K.achTitle:K.wireTitle}),r.jsxs(Pe,{children:[r.jsx(L,{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(Se,{size:"Small",start:!0}):r.jsx(qe,{"data-testid":_("account-info-download-pdf"),onClick:()=>{_e(Ne,Ie.empty,e,te,!0)}})})}),r.jsx(L,{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(W,{onClick:()=>$e(p),"data-testid":_("title-text-copy")})})})]})]}),p==="achDetails"?r.jsxs(Fe,{children:[r.jsx(Y,{children:i(o.bankRoutingNumber,n.routingNumberAch,"routingNumber")}),r.jsx(b,{children:i(o.accountTypeLabel,n.accountSubType.name,"accountType")}),r.jsx(b,{children:i(o.bankAccountNumber,n.accountNumber,"acccountNumber")}),r.jsx(b,{children:i(o.bankName,u.zeniAccountsConfigDetail.bankName,"bankName")}),m!=null?r.jsx(Z,{children:i(o.bankAddress,m,"bankAddress")}):null]}):p==="wireDetails"?r.jsxs(He,{children:[r.jsx(Y,{children:i(o.bankRoutingNumber,n.routingNumberAch,"routingNumber")}),r.jsx(b,{children:i(o.accountTypeLabel,n.accountSubType.name,"accountType")}),r.jsx(b,{children:i(o.bankAccountNumber,n.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(Z,{children:i(o.beneficiaryAddress,C,"beneficiaryAddress",o.beneficiaryAddressSubLabel)}):null]}):null]})})},Ee=t.div``,Je=t.div`
|
|
22
22
|
margin: ${a.sp4};
|
|
23
23
|
margin-left: ${a.sp0};
|
|
24
24
|
`,Me=t.div`
|
|
@@ -42,7 +42,7 @@ ${o.beneficiaryAddress} ${C}`,M(n),P(!0)},i=(f,n,x,Q)=>{let d,l;switch(x){case"a
|
|
|
42
42
|
}
|
|
43
43
|
`,J=t.div`
|
|
44
44
|
box-sizing: border-box;
|
|
45
|
-
min-height: ${
|
|
45
|
+
min-height: ${Le.transactionItemHeight}px;
|
|
46
46
|
display: flex;
|
|
47
47
|
border: 1px solid;
|
|
48
48
|
border-radius: ${a.sp2};
|
|
@@ -57,7 +57,7 @@ ${o.beneficiaryAddress} ${C}`,M(n),P(!0)},i=(f,n,x,Q)=>{let d,l;switch(x){case"a
|
|
|
57
57
|
color: ${e=>e.theme.colors.grey1};
|
|
58
58
|
}
|
|
59
59
|
}
|
|
60
|
-
`,
|
|
60
|
+
`,Y=t(J)`
|
|
61
61
|
box-shadow: ${e=>`${a.sp0} 2px ${a.sp1} ${e.theme.colors.dropShadowNormal}`};
|
|
62
62
|
display: flex;
|
|
63
63
|
border-top-width: 1px;
|
|
@@ -72,7 +72,7 @@ ${o.beneficiaryAddress} ${C}`,M(n),P(!0)},i=(f,n,x,Q)=>{let d,l;switch(x){case"a
|
|
|
72
72
|
&:hover {
|
|
73
73
|
border-bottom-width: 1px;
|
|
74
74
|
}
|
|
75
|
-
`,
|
|
75
|
+
`,Z=t(J)`
|
|
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;
|
|
@@ -86,7 +86,7 @@ ${o.beneficiaryAddress} ${C}`,M(n),P(!0)},i=(f,n,x,Q)=>{let d,l;switch(x){case"a
|
|
|
86
86
|
&:hover {
|
|
87
87
|
border-top-width: 1px;
|
|
88
88
|
}
|
|
89
|
-
`,
|
|
89
|
+
`,L=t.div`
|
|
90
90
|
display: flex;
|
|
91
91
|
color: ${e=>e.theme.colors.grey1};
|
|
92
92
|
&:hover {
|
|
@@ -95,7 +95,7 @@ ${o.beneficiaryAddress} ${C}`,M(n),P(!0)},i=(f,n,x,Q)=>{let d,l;switch(x){case"a
|
|
|
95
95
|
color: ${e=>e.theme.colors.primary};
|
|
96
96
|
}
|
|
97
97
|
}
|
|
98
|
-
`,
|
|
98
|
+
`,W=t(ze)`
|
|
99
99
|
height: ${a.sp3};
|
|
100
100
|
width: ${a.sp3};
|
|
101
101
|
color: ${e=>e.theme.colors.hero};
|
|
@@ -125,11 +125,11 @@ ${o.beneficiaryAddress} ${C}`,M(n),P(!0)},i=(f,n,x,Q)=>{let d,l;switch(x){case"a
|
|
|
125
125
|
text-align: end;
|
|
126
126
|
`,Oe=t.div`
|
|
127
127
|
display: flex;
|
|
128
|
-
`,
|
|
128
|
+
`,Qe=t.div`
|
|
129
129
|
display: flex;
|
|
130
130
|
flex-direction: column;
|
|
131
131
|
align-items: flex-end;
|
|
132
|
-
`,
|
|
132
|
+
`,Be=t(re)`
|
|
133
133
|
color: ${e=>e.theme.colors.grey1};
|
|
134
134
|
text-align: end;
|
|
135
135
|
`,I=t(re)`
|
|
@@ -146,4 +146,4 @@ ${o.beneficiaryAddress} ${C}`,M(n),P(!0)},i=(f,n,x,Q)=>{let d,l;switch(x){case"a
|
|
|
146
146
|
border-top-width: 1px;
|
|
147
147
|
border-bottom-width: 1px;
|
|
148
148
|
}
|
|
149
|
-
`,
|
|
149
|
+
`,Fe=t.div``,He=t.div``;export{er as r};
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import{e as g,F as d,V as t,al as x,bb as l,i as b,o,p,aq as y,b_ as j,b$ as $,c0 as w,bT as k}from"./index-GSKpJ8ET.js";import{n as r}from"./mui-DenpH-hx.js";import{t as v}from"./handshake-BPg58FML-Cr0KvGET.js";import"./sentry-BZBky1_g.js";import"./liveblocks-D1OOExFG.js";import"./core-CEu4PzGb.js";import"./recharts-9NtTDQfo.js";import"./zeni-epic-state-BKgIzPpM.js";import"./lottie-fNTw06NH.js";import"./analytics-DgE91yP9.js";import"./lexical-CnqcqOEB.js";import"./utils-CHibiken.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]="56217c5c-df83-4b88-a8d3-4686dffa6ee4",e._sentryDebugIdIdentifier="sentry-dbid-56217c5c-df83-4b88-a8d3-4686dffa6ee4")}catch{}})();const m="support@zeni.ai",n=d.getLocalizedStrings().commonSetUp.twoFactorAuthentication,h=({unlockDate:e,onSubmit:i})=>{const s=g(),f=e.format(d.getLocalizedStrings().dateFormat.visual.MMMDCommaYYYYformat),u=e.format(d.getLocalizedStrings().dateFormat.visual.HHMMFormat);return t.jsxs(S,{children:[t.jsx(C,{children:n.accountLockedTitle}),t.jsxs(D,{children:[t.jsxs(a,{children:[t.jsx(c,{theme:s,children:t.jsx(z,{})}),t.jsx(x,{children:n.accountLockedSecurityMessage})]}),t.jsxs(a,{children:[t.jsx(c,{theme:s,children:t.jsx(T,{})}),t.jsxs(l,{children:[n.tryAgainAfter,t.jsxs(_,{children:[f,t.jsx(L,{children:"•"}),u]}),n.signInViaGoogleOrMicrosoft]})]}),t.jsxs(a,{children:[t.jsx(c,{theme:s,children:t.jsx(A,{})}),t.jsxs(l,{children:[n.accountLockedContactMessage,t.jsx(I,{href:`mailto:${m}`,children:m})]})]}),t.jsx(b,{variant:"primary",label:n.understood,onClick:i})]})]})};function M({unlockDate:e,onClose:i}){return t.jsx(k,{open:!0,onClose:i,children:t.jsx(F,{children:t.jsx(h,{unlockDate:e,onSubmit:i})})})}const S=r.div`
|
|
2
|
+
display: flex;
|
|
3
|
+
flex-direction: column;
|
|
4
|
+
align-items: center;
|
|
5
|
+
justify-content: center;
|
|
6
|
+
row-gap: ${o.sp6};
|
|
7
|
+
`,C=r(y)`
|
|
8
|
+
color: ${p.important};
|
|
9
|
+
text-align: center;
|
|
10
|
+
`,D=r.div`
|
|
11
|
+
display: flex;
|
|
12
|
+
flex-direction: column;
|
|
13
|
+
align-items: center;
|
|
14
|
+
justify-content: center;
|
|
15
|
+
row-gap: ${o.sp5};
|
|
16
|
+
`,a=r.div`
|
|
17
|
+
display: flex;
|
|
18
|
+
align-items: center;
|
|
19
|
+
justify-content: flex-start;
|
|
20
|
+
column-gap: 12px;
|
|
21
|
+
text-align: start;
|
|
22
|
+
width: 100%;
|
|
23
|
+
color: ${e=>e.theme.colors.primary};
|
|
24
|
+
`,I=r.a`
|
|
25
|
+
text-decoration: underline;
|
|
26
|
+
color: ${e=>e.theme.colors.primary};
|
|
27
|
+
`,_=r(l)`
|
|
28
|
+
font-weight: ${w.medium};
|
|
29
|
+
`,L=r.span`
|
|
30
|
+
color: ${e=>e.theme.colors.hero};
|
|
31
|
+
margin-left: ${o.sp1};
|
|
32
|
+
margin-right: ${o.sp1};
|
|
33
|
+
`,c=r.div`
|
|
34
|
+
width: ${o.sp7};
|
|
35
|
+
height: ${o.sp7};
|
|
36
|
+
background: ${e=>e.theme.mode==="dark"?p.brandColorJadeDark:p.brandColorJadeLight};
|
|
37
|
+
border-radius: 50%;
|
|
38
|
+
flex-shrink: 0;
|
|
39
|
+
color: ${e=>e.theme.colors.primary};
|
|
40
|
+
display: flex;
|
|
41
|
+
align-items: center;
|
|
42
|
+
justify-content: center;
|
|
43
|
+
`,T=r($)`
|
|
44
|
+
width: ${o.sp4};
|
|
45
|
+
height: ${o.sp4};
|
|
46
|
+
`,z=r(j)`
|
|
47
|
+
width: ${o.sp4};
|
|
48
|
+
height: ${o.sp4};
|
|
49
|
+
`,A=r(v)`
|
|
50
|
+
width: ${o.sp4};
|
|
51
|
+
height: ${o.sp4};
|
|
52
|
+
`,F=r.div`
|
|
53
|
+
display: flex;
|
|
54
|
+
flex-direction: column;
|
|
55
|
+
width: 456px;
|
|
56
|
+
padding: ${o.sp5} ${o.sp6};
|
|
57
|
+
background: ${e=>e.theme.colors.grey5};
|
|
58
|
+
border-radius: ${o.sp2};
|
|
59
|
+
`,B=Object.freeze(Object.defineProperty({__proto__:null,AccountLockedInfo:h,default:M},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,fB as xe,V as t,ac as ye,cq as ge,cr as je,cs as Se,o as c,a as $e,b8 as Q,am as X,c as be,aa as ke,dP as ve,eV as we,d6 as G,dy as Z,F as Ce,al as d,e as Ee,aO as Pe,bx as ee,dS as te,at as Re,p as ne,h as Ie}from"./index-GSKpJ8ET.js";import{a as r}from"./sentry-BZBky1_g.js";import{n as o}from"./mui-DenpH-hx.js";import{bL as oe,Gz as De,GA as _e}from"./zeni-epic-state-BKgIzPpM.js";import{E as Te,C as Fe,w as Ue,f as Le}from"./AccountRow-aEmcYP8T-NzxiJ7E0.js";import"./liveblocks-D1OOExFG.js";import"./core-CEu4PzGb.js";import"./recharts-9NtTDQfo.js";import"./lottie-fNTw06NH.js";import"./analytics-DgE91yP9.js";import"./lexical-CnqcqOEB.js";import"./utils-CHibiken.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]="99cd9d84-218f-4af8-91bb-6b7d64295d28",e._sentryDebugIdIdentifier="sentry-dbid-99cd9d84-218f-4af8-91bb-6b7d64295d28")}catch{}})();const m={containerPaddingLeft:c.sp4,containerPaddingRight:c.sp4,navBarHeight:c.sp10,navBarPaddingRight:c.sp4,navBarPaddingLeft:c.sp4,balanceContainerWidth:114,sourceContainerWidth:400},Be=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,fE as xe,V as t,ad as ye,cr as ge,cs as je,ct as Se,o as c,a as
|
|
|
7
7
|
height: 100vh;
|
|
8
8
|
position: relative;
|
|
9
9
|
gap: ${c.sp5};
|
|
10
|
-
`,
|
|
10
|
+
`,Me=o.div`
|
|
11
11
|
display: flex;
|
|
12
12
|
flex: 0 0 auto;
|
|
13
13
|
width: ${c.sp4};
|
|
14
|
-
`,
|
|
14
|
+
`,Ye=o.div`
|
|
15
15
|
min-height: ${m.navBarHeight};
|
|
16
16
|
position: sticky;
|
|
17
17
|
background-color: ${e=>e.theme.colors.grey4};
|
|
@@ -52,13 +52,13 @@ import{a9 as fe,fE as xe,V as t,ad as ye,cr as ge,cs as je,ct as Se,o as c,a as
|
|
|
52
52
|
flex: 1 1 0;
|
|
53
53
|
justify-content: center;
|
|
54
54
|
flex-direction: column;
|
|
55
|
-
`,He=o(
|
|
55
|
+
`,He=o(Q)`
|
|
56
56
|
display: flex;
|
|
57
57
|
color: ${e=>e.theme.colors.primary};
|
|
58
58
|
align-items: center;
|
|
59
59
|
justify-content: center;
|
|
60
60
|
overflow: hidden;
|
|
61
|
-
`,ce=o(
|
|
61
|
+
`,ce=o(X)`
|
|
62
62
|
display: flex;
|
|
63
63
|
color: ${e=>e.theme.colors.hero};
|
|
64
64
|
align-items: center;
|
|
@@ -91,7 +91,7 @@ import{a9 as fe,fE as xe,V as t,ad as ye,cr as ge,cs as je,ct as Se,o as c,a as
|
|
|
91
91
|
align-items: flex-start;
|
|
92
92
|
justify-content: center;
|
|
93
93
|
min-width: ${m.balanceContainerWidth}px;
|
|
94
|
-
`,A=o(
|
|
94
|
+
`,A=o(X)`
|
|
95
95
|
display: flex;
|
|
96
96
|
color: ${e=>e.theme.colors.hero};
|
|
97
97
|
align-items: center;
|
|
@@ -99,13 +99,13 @@ import{a9 as fe,fE as xe,V as t,ad as ye,cr as ge,cs as je,ct as Se,o as c,a as
|
|
|
99
99
|
`,Ke=o(d)`
|
|
100
100
|
color: ${e=>e.theme.colors.primary};
|
|
101
101
|
text-align: left;
|
|
102
|
-
`,
|
|
102
|
+
`,Qe=o.div`
|
|
103
103
|
display: flex;
|
|
104
104
|
flex-direction: column;
|
|
105
105
|
align-items: flex-start;
|
|
106
106
|
justify-content: flex-start;
|
|
107
107
|
min-width: ${m.balanceContainerWidth}px;
|
|
108
|
-
`,
|
|
108
|
+
`,Xe=o(d)`
|
|
109
109
|
display: flex;
|
|
110
110
|
color: ${e=>e.theme.colors.primary};
|
|
111
111
|
align-items: center;
|
|
@@ -162,7 +162,7 @@ import{a9 as fe,fE as xe,V as t,ad as ye,cr as ge,cs as je,ct as Se,o as c,a as
|
|
|
162
162
|
justify-content: center;
|
|
163
163
|
min-width: ${m.sourceContainerWidth}px;
|
|
164
164
|
gap: ${c.sp2};
|
|
165
|
-
`,rt=o(
|
|
165
|
+
`,rt=o(Q)`
|
|
166
166
|
display: flex;
|
|
167
167
|
color: ${e=>e.theme.colors.primary};
|
|
168
168
|
align-items: center;
|
|
@@ -236,4 +236,4 @@ import{a9 as fe,fE as xe,V as t,ad as ye,cr as ge,cs as je,ct 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: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:T,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)}),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,M]=r.useState(a.linkToken??null),[s,w]=r.useState(!1),[N,Y]=r.useState(!1),[B,O]=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),O(void 0)),z(void 0),Y(!1)},onCancelClick:()=>{O(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),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: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&&w(!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(We,{children:t.jsxs(Ne,{children:[t.jsx(Ye,{}),t.jsxs(ze,{children:[t.jsx(He,{children:e.accountReconEntity.account.accountName}),t.jsx(ce,{children:t.jsx(kt,{monthYearPeriod:l})})]}),t.jsx(Ve,{children:t.jsx(Oe,{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:L,showConfirmationPopup:N,setShowConfirmationPopup:Y,deleteFileId:B,setDeleteFileId:O,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:L,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"],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(A,{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(Xe,{children:[t.jsx(A,{children:i.reconciliation.headers.clearedBalance}),t.jsx(Qe,{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: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:_e,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,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:$}=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]})]})},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(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};
|
|
239
|
+
`,{common:p,dateFormat:J,expenseAutomation:{accountRecon:i}}=Ce.getLocalizedStrings(),ft=(e,n)=>`${e}.${n}`,xt="accountReconDrawerDetailsPage",se="accountReconDrawerDetailsSection";function Bt({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:L}){const f=fe({mode:"all",reValidateMode:"onChange",defaultValues:K(e),resetOptions:{keepDirtyValues:!0,keepErrors:!0},values:K(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,B]=r.useState(a.linkToken??null),[s,w]=r.useState(!1),[N,M]=r.useState(!1),[Y,O]=r.useState(void 0),[re,z]=r.useState(void 0),le=r.useCallback(()=>{y("link_account_no_microdeposit")},[]),de=r.useCallback(()=>{y("update_account"),E("update_account",e.paymentAccountId)},[e.paymentAccountId]),ue={onOkClick:()=>{Y!=null&&(R(Y),O(void 0)),z(void 0),M(!1)},onCancelClick:()=>{O(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: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&&w(!0)},[q,g,a.fetchStatus.fetchState,a.linkToken,h,s]),r.useEffect(()=>{a.fetchStatus.fetchState==="Completed"&&a.linkToken!=null&&a.linkToken!==g&&B(a.linkToken)},[a.fetchStatus.fetchState,a.linkToken,g]),r.useEffect(()=>{s&&V()},[s,V]),t.jsxs(Be,{children:[t.jsx(Ye,{children:t.jsx(We,{children:t.jsxs(Ne,{children:[t.jsx(Me,{}),t.jsxs(ze,{children:[t.jsx(He,{children:e.accountReconEntity.account.accountName}),t.jsx(ce,{children:t.jsx(kt,{monthYearPeriod:l})})]}),t.jsx(Ve,{children:t.jsx(Oe,{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:L,showConfirmationPopup:N,setShowConfirmationPopup:M,deleteFileId:Y,setDeleteFileId:O,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:L,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"],B=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(A,{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(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:B,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: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,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:$}=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]})]})},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(J.visual.DMMMYYYYFormat)} ${p.strings.hyphen} ${x.format(J.visual.DMMMYYYYFormat)}`},K=e=>({[se]:{file:e.accountReconEntity.statementMetaData?.file,selectedType:e.localData?.accountSource}});export{Bt as default,ft as uniqueName};
|
|
@@ -0,0 +1,298 @@
|
|
|
1
|
+
import{V as t,aO as E,bU as f,o,aQ as y,aa as se,dP as re,F as le,al as b,dQ as de,p as g,dR as X,dS as Y,d1 as ue,aW as x,ai as Z,u as p,J as xe,e as S,b0 as pe,dw as he,an as ge,i as me,am as I,bL as fe,dI as je}from"./index-GSKpJ8ET.js";import{a as ye}from"./sentry-BZBky1_g.js";import{n as a,c as be}from"./mui-DenpH-hx.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]="dc55a7be-c2db-4b7e-9ffe-17b3328abde0",e._sentryDebugIdIdentifier="sentry-dbid-dc55a7be-c2db-4b7e-9ffe-17b3328abde0")}catch{}})();const we=a.div`
|
|
2
|
+
position: relative;
|
|
3
|
+
${e=>e.showTreeLine===!0&&e.collapsed!==!0?`&::after {
|
|
4
|
+
content: "";
|
|
5
|
+
position: absolute;
|
|
6
|
+
top: 25px;
|
|
7
|
+
left: 12px;
|
|
8
|
+
border-left: 1px dotted ${e.theme.colors.grey1};
|
|
9
|
+
height: 12px;
|
|
10
|
+
`:""};
|
|
11
|
+
`,$e=a.div`
|
|
12
|
+
display: flex;
|
|
13
|
+
min-width: ${o.sp4};
|
|
14
|
+
width: ${o.sp4};
|
|
15
|
+
height: ${o.sp4};
|
|
16
|
+
border-style: solid;
|
|
17
|
+
border-width: 1px;
|
|
18
|
+
border-radius: 12px;
|
|
19
|
+
text-align: center;
|
|
20
|
+
align-items: center;
|
|
21
|
+
justify-content: center;
|
|
22
|
+
color: ${e=>e.colour.toString()};
|
|
23
|
+
`,ve=a(ge)`
|
|
24
|
+
text-align: center;
|
|
25
|
+
color: ${e=>e.colour.toString()};
|
|
26
|
+
`,Ce=a.div`
|
|
27
|
+
svg {
|
|
28
|
+
path {
|
|
29
|
+
stroke-width: 2;
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
`,Re=a(he)`
|
|
33
|
+
margin-top: 6px;
|
|
34
|
+
width: 12px;
|
|
35
|
+
height: 12px;
|
|
36
|
+
`,ke=a(pe)`
|
|
37
|
+
margin-top: ${o.sp1};
|
|
38
|
+
margin-left: 2px;
|
|
39
|
+
width: 12px;
|
|
40
|
+
height: 12px;
|
|
41
|
+
`;function Te({firstLetter:e,color:n,showIcon:i,showCollapsedIcon:c,showTreeLine:l=!1,className:d}){return t.jsx(we,{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
|
+
display: flex;
|
|
43
|
+
flex: 1 1 auto;
|
|
44
|
+
max-height: 1px;
|
|
45
|
+
background-color: ${e=>e.isScrolling?"transparent":e.theme.colors.hero};
|
|
46
|
+
`,Se=a.div`
|
|
47
|
+
display: flex;
|
|
48
|
+
flex: 1 1 auto;
|
|
49
|
+
height: 1px;
|
|
50
|
+
width: 100%;
|
|
51
|
+
`,Ie=a.div`
|
|
52
|
+
flex: 1 1 auto;
|
|
53
|
+
height: 1px;
|
|
54
|
+
width: 100%;
|
|
55
|
+
`;function Pe({kind:e,isScrolling:n}){switch(e){case"section_separator":return t.jsx(Ee,{isScrolling:n});case"account_separator":return t.jsx(We,{"data-testid":y("account-separator",e)})}}const We=()=>t.jsx(Se,{children:t.jsx(Ie,{className:"part-separator"})}),u={timeframeHeight:p[10],leftHeadingWidth:386,leftTimeframeWidth:161,leftLabelWidth:190,bankBalanceWidth:152,bankBalanceTimeframeWidth:150,bankBalanceRightWidth:p[4],bankBalanceRightTimeframeWidth:p[4],clearedBalanceWidth:144,clearedBalanceTimeframeWidth:142,varianceWidth:193,varianceTimeframeWidth:180,varianceNumberWidth:112,varianceNumberLoadingWidth:130,variancePercentageWidth:p[10],statusWidth:144,statusTimeframeWidth:142,tickLeftMargin:p[4],circleRadius:p[4],spacerLineWidth:p[5],wrapperPadding:p[8]};function Wt(e){switch(e){case"timeframe_headers":return p[12];case"title_string_only":return p[8];case"ac_group_report":return p[8];case"total":return p[8];case"section":return p[0];case"loading_in_progress":return p[8];default:return p[0]}}function Lt(){return!0}const Le=a.div`
|
|
56
|
+
display: flex;
|
|
57
|
+
flex-direction: column;
|
|
58
|
+
height: ${e=>e.heightValue}px;
|
|
59
|
+
justify-content: flex-start;
|
|
60
|
+
align-items: center;
|
|
61
|
+
padding-right: ${u.wrapperPadding}px;
|
|
62
|
+
cursor: pointer;
|
|
63
|
+
.part-separator {
|
|
64
|
+
background-color: ${e=>e.isLastRow?e.theme.colors.hero:e.isSelectedRow?e.theme.colors.primary:e.theme.colors.grey3};
|
|
65
|
+
}
|
|
66
|
+
.any-text-container {
|
|
67
|
+
${e=>e.isSelectedRow?be`
|
|
68
|
+
color: ${e.theme.colors.primary};
|
|
69
|
+
`:null}
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
.bank-icon-container {
|
|
73
|
+
display: none;
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
&:hover {
|
|
77
|
+
.part-separator {
|
|
78
|
+
background-color: ${e=>e.theme.colors.primary};
|
|
79
|
+
}
|
|
80
|
+
.any-text-container {
|
|
81
|
+
color: ${e=>e.theme.colors.primary};
|
|
82
|
+
}
|
|
83
|
+
.bank-icon-container {
|
|
84
|
+
display: flex;
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
`,_e=a.div`
|
|
88
|
+
height: ${o.sp8};
|
|
89
|
+
`,Be=a.div`
|
|
90
|
+
width: 100%;
|
|
91
|
+
height: ${e=>e.heightValue-1}px;
|
|
92
|
+
user-select: none;
|
|
93
|
+
display: flex;
|
|
94
|
+
flex: 1 1 auto;
|
|
95
|
+
flex-flow: row;
|
|
96
|
+
justify-content: flex-start;
|
|
97
|
+
align-items: center;
|
|
98
|
+
`,Ne=a.div`
|
|
99
|
+
display: flex;
|
|
100
|
+
flex: 1 1 auto;
|
|
101
|
+
justify-content: flex-start;
|
|
102
|
+
align-items: center;
|
|
103
|
+
gap: ${o.sp2};
|
|
104
|
+
margin-left: ${o.sp4};
|
|
105
|
+
`,De=a.div`
|
|
106
|
+
display: flex;
|
|
107
|
+
flex-direction: row;
|
|
108
|
+
align-items: center;
|
|
109
|
+
gap: ${o.sp1};
|
|
110
|
+
margin-top: ${o.sp1};
|
|
111
|
+
`,Ae=a(b)`
|
|
112
|
+
user-select: none;
|
|
113
|
+
clear: both;
|
|
114
|
+
display: inline-block;
|
|
115
|
+
overflow: hidden;
|
|
116
|
+
white-space: nowrap;
|
|
117
|
+
text-overflow: ellipsis;
|
|
118
|
+
text-align: left;
|
|
119
|
+
color: ${e=>e.theme.colors.hero};
|
|
120
|
+
width: ${u.leftLabelWidth}px;
|
|
121
|
+
min-width: ${u.leftLabelWidth}px;
|
|
122
|
+
`,Ve=a.div`
|
|
123
|
+
display: flex;
|
|
124
|
+
flex: 1 1 auto;
|
|
125
|
+
justify-content: flex-end;
|
|
126
|
+
align-items: center;
|
|
127
|
+
color: ${e=>e.theme.colors.hero};
|
|
128
|
+
`,Oe=a(b)`
|
|
129
|
+
width: ${u.bankBalanceWidth}px;
|
|
130
|
+
min-width: ${u.bankBalanceWidth}px;
|
|
131
|
+
text-align: right;
|
|
132
|
+
`,Qe=a.div`
|
|
133
|
+
width: ${u.bankBalanceRightWidth}px;
|
|
134
|
+
min-width: ${u.bankBalanceRightWidth}px;
|
|
135
|
+
`,Ue=a(b)`
|
|
136
|
+
width: ${u.clearedBalanceWidth}px;
|
|
137
|
+
min-width: ${u.clearedBalanceWidth}px;
|
|
138
|
+
text-align: right;
|
|
139
|
+
`,Fe=a(b)`
|
|
140
|
+
width: ${u.statusWidth}px;
|
|
141
|
+
min-width: ${u.statusWidth}px;
|
|
142
|
+
height: 1px;
|
|
143
|
+
display: flex;
|
|
144
|
+
align-items: center;
|
|
145
|
+
justify-content: center;
|
|
146
|
+
height: 100%;
|
|
147
|
+
`,Me=a.div`
|
|
148
|
+
display: flex;
|
|
149
|
+
flex-direction: row;
|
|
150
|
+
min-width: ${u.spacerLineWidth}px;
|
|
151
|
+
width: ${u.spacerLineWidth}px;
|
|
152
|
+
align-items: center;
|
|
153
|
+
`,He=a.div`
|
|
154
|
+
width: 1px;
|
|
155
|
+
margin-left: ${o.sp3};
|
|
156
|
+
height: ${e=>e.heightValue}px;
|
|
157
|
+
background-color: ${e=>e.theme.colors.grey3};
|
|
158
|
+
`,ze=a.div`
|
|
159
|
+
display: flex;
|
|
160
|
+
flex-shrink: 0;
|
|
161
|
+
width: ${u.varianceTimeframeWidth}px;
|
|
162
|
+
min-width: ${u.varianceTimeframeWidth}px;
|
|
163
|
+
flex-direction: row;
|
|
164
|
+
justify-content: flex-end;
|
|
165
|
+
align-items: center;
|
|
166
|
+
text-align: center;
|
|
167
|
+
gap: ${o.sp2};
|
|
168
|
+
margin-left: ${u.tickLeftMargin}px;
|
|
169
|
+
`,qe=a(b)`
|
|
170
|
+
border-radius: ${o.sp1};
|
|
171
|
+
color: ${e=>e.textColor.hex()};
|
|
172
|
+
min-width: ${u.varianceNumberWidth}px;
|
|
173
|
+
text-align: right;
|
|
174
|
+
`,Je=a(b)`
|
|
175
|
+
border-radius: ${o.sp1};
|
|
176
|
+
padding: ${o.sp0} ${o.sp1};
|
|
177
|
+
justify-content: center;
|
|
178
|
+
text-align: center;
|
|
179
|
+
color: ${e=>e.textColor.hex()};
|
|
180
|
+
background-color: ${e=>e.bgColor.hex()};
|
|
181
|
+
min-width: ${u.variancePercentageWidth}px;
|
|
182
|
+
`,Ge=a.div`
|
|
183
|
+
display: flex;
|
|
184
|
+
flex-direction: row;
|
|
185
|
+
align-items: center;
|
|
186
|
+
`,Ke=a.div`
|
|
187
|
+
display: flex;
|
|
188
|
+
flex-direction: column;
|
|
189
|
+
align-items: center;
|
|
190
|
+
`,Xe=a.div`
|
|
191
|
+
display: flex;
|
|
192
|
+
flex-direction: row;
|
|
193
|
+
align-items: center;
|
|
194
|
+
gap: ${o.sp1};
|
|
195
|
+
`,Ye=a(I)`
|
|
196
|
+
color: ${g.success};
|
|
197
|
+
`,G=a(I)`
|
|
198
|
+
color: ${g.success};
|
|
199
|
+
`,Ze=a(je)`
|
|
200
|
+
width: ${o.sp3};
|
|
201
|
+
height: ${o.sp3};
|
|
202
|
+
color: ${g.success};
|
|
203
|
+
`,C=a(b)`
|
|
204
|
+
text-align: right;
|
|
205
|
+
`,et=a.div`
|
|
206
|
+
display: flex;
|
|
207
|
+
flex-direction: row;
|
|
208
|
+
align-items: center;
|
|
209
|
+
justify-content: flex-end;
|
|
210
|
+
`,tt=a(ue)`
|
|
211
|
+
width: ${o.sp3};
|
|
212
|
+
height: ${o.sp3};
|
|
213
|
+
`,nt=a(b)`
|
|
214
|
+
text-align: right;
|
|
215
|
+
color: ${g.important};
|
|
216
|
+
cursor: pointer;
|
|
217
|
+
text-decoration: underline;
|
|
218
|
+
`,ot=a.div`
|
|
219
|
+
display: flex;
|
|
220
|
+
flex-direction: column;
|
|
221
|
+
align-items: flex-end;
|
|
222
|
+
justify-content: flex-start;
|
|
223
|
+
`,at=a.div`
|
|
224
|
+
display: flex;
|
|
225
|
+
flex-direction: row;
|
|
226
|
+
gap: ${o.sp1};
|
|
227
|
+
align-items: center;
|
|
228
|
+
`,it=a.div`
|
|
229
|
+
padding-top: ${o.sp1};
|
|
230
|
+
&:hover {
|
|
231
|
+
color: ${e=>e.theme.colors.primary};
|
|
232
|
+
}
|
|
233
|
+
`,ct=a(de)`
|
|
234
|
+
width: ${o.sp3};
|
|
235
|
+
height: ${o.sp3};
|
|
236
|
+
`,V=a(fe)`
|
|
237
|
+
width: 12px;
|
|
238
|
+
height: 12px;
|
|
239
|
+
color: ${e=>e.iconColor.hex()};
|
|
240
|
+
margin-top: ${o.sp1};
|
|
241
|
+
`,w=a.div`
|
|
242
|
+
display: flex;
|
|
243
|
+
gap: ${o.sp1};
|
|
244
|
+
`,O=a.div`
|
|
245
|
+
display: flex;
|
|
246
|
+
flex-direction: column;
|
|
247
|
+
align-items: center;
|
|
248
|
+
`,K=a(b)`
|
|
249
|
+
color: ${e=>e.theme.colors.hero};
|
|
250
|
+
`,Q=a.div`
|
|
251
|
+
display: flex;
|
|
252
|
+
flex-direction: row;
|
|
253
|
+
align-items: center;
|
|
254
|
+
gap: ${o.sp1};
|
|
255
|
+
`,U=a(I)`
|
|
256
|
+
color: ${e=>e.textColor.hex()};
|
|
257
|
+
`,F=a(I)`
|
|
258
|
+
color: ${e=>e.textColor.hex()};
|
|
259
|
+
`,M=a.div`
|
|
260
|
+
display: flex;
|
|
261
|
+
flex-direction: row;
|
|
262
|
+
align-items: center;
|
|
263
|
+
`,H=a.div`
|
|
264
|
+
display: flex;
|
|
265
|
+
flex-direction: column;
|
|
266
|
+
align-items: center;
|
|
267
|
+
`,R=a(I)`
|
|
268
|
+
color: ${e=>e.textColor.hex()};
|
|
269
|
+
`,st=a.div`
|
|
270
|
+
display: flex;
|
|
271
|
+
flex-direction: column;
|
|
272
|
+
align-items: center;
|
|
273
|
+
justify-content: center;
|
|
274
|
+
`,rt=a(Z)`
|
|
275
|
+
color: ${e=>e.theme.colors.hero};
|
|
276
|
+
`,lt=a(Z)`
|
|
277
|
+
color: ${g.brandColorPearl};
|
|
278
|
+
`,dt=a.div`
|
|
279
|
+
display: flex;
|
|
280
|
+
flex-direction: row;
|
|
281
|
+
align-items: center;
|
|
282
|
+
justify-content: center;
|
|
283
|
+
`,ut=a(X)`
|
|
284
|
+
width: ${o.sp3};
|
|
285
|
+
height: ${o.sp3};
|
|
286
|
+
margin-top: 2px;
|
|
287
|
+
`,xt=a(X)`
|
|
288
|
+
width: ${o.sp3};
|
|
289
|
+
height: ${o.sp3};
|
|
290
|
+
`,pt=a(Y)`
|
|
291
|
+
width: ${o.sp3};
|
|
292
|
+
height: ${o.sp3};
|
|
293
|
+
margin-top: 2px;
|
|
294
|
+
`,ht=a(Y)`
|
|
295
|
+
width: ${o.sp3};
|
|
296
|
+
height: ${o.sp3};
|
|
297
|
+
margin-top: 2px;
|
|
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 P=xe(),B=S(),v=n.accountReconEntity.account.accountName,W=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)},z=()=>{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 J=e;return i&&(J=e+p[8]),t.jsxs(Le,{"data-testid":y("account-recon-row-root-container",n.accountReconEntity.account.accountName),heightValue:J,isLastRow:i,windowSize:P,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(Ae,{className:"any-text-container",children:v})})})]}),t.jsxs(Ve,{children:[t.jsx(Oe,{children:t.jsx(bt,{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:W,bankConnection:n.accountConnectionStatus,onConnectClicked:oe,onStatementAddClicked:ie,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(Ue,{children:t.jsx(wt,{clearedBalance:j,isLoading:T})}),t.jsx(mt,{isLoading:T,variance:N,variancePercentage:ne,reconciliationStatusCode:n.accountReconEntity.reconciliationStatus?.code}),t.jsx(Me,{children:t.jsx(He,{heightValue:e})}),t.jsx(Fe,{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(Pe,{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(ze,{children:[t.jsx(qe,{textColor:d,className:"any-text-container",children:e==null||c?h:E("0,0",e)}),t.jsx(Je,{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(A,{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(A,{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(A,{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(Ge,{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(G,{children:s.status.QBOUser}):e&&t.jsxs(G,{children:[e.firstName," ",e.lastName]})]})}),bt=({bankBalance:e,accountType:n,bankConnection:i,statementStatus:c,lastUpdatedAt:l,fromDrawer:d=!1,onConnectClicked:r,onReconnectClicked:m,isLoading:k,accountId:P,onStatementAddClicked:B,setIsHovering:v})=>{const W=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",P),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",P),onMouseEnter:()=>{v(!0)},onMouseLeave:()=>{v(!1)},children:t.jsx(se,{controller:W.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:W,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})})})})},wt=({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(w,{children:t.jsxs(O,{children:[t.jsx(V,{iconColor:n}),t.jsx(Q,{children:t.jsx(U,{textColor:n,children:s.status.reconciliationFailed})}),t.jsx(M,{children:t.jsx(F,{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(w,{children:[t.jsx(V,{iconColor:i}),t.jsxs(O,{children:[t.jsx(Q,{children:t.jsx(U,{textColor:i,children:e})}),t.jsx(M,{children:t.jsx(F,{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(w,{children:t.jsxs(H,{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(w,{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(w,{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: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(w,{children:[t.jsx(V,{iconColor:c}),t.jsxs(O,{children:[t.jsx(Q,{children:t.jsx(U,{textColor:c,children:l})}),t.jsx(M,{children:t.jsx(F,{textColor:c,children:s.status.failed})})]})]})})},A=({showTooltip:e,tooltipText:n})=>e==!1?t.jsx(w,{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(w,{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,bt as C,Lt as D,Et as E,Wt as N,_t as R,ft as f,u,wt as w};
|