@zeniai/web-cockpit-ui 1.14.20-qa → 1.14.21-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-B2GVy8XM-ti0XjGQx.js +21 -0
- package/dist/assets/{AIPerformancePage-DnOjd2BF-lO5zS7uR.js → AIPerformancePage-DKwSS0Zl-c3B4-q-Y.js} +33 -33
- package/dist/assets/AccountInfoPage-CSIM7DNw-BklcBUFt.js +18 -0
- package/dist/assets/{AccountInfoPageContent-Cc80eQeo-CgEfuzww.js → AccountInfoPageContent-CwbmE2Bb-CgQ5VXBk.js} +16 -16
- package/dist/assets/{AccountLockedInfoModal-B-Hn6_hG-6a5g7mIJ.js → AccountLockedInfoModal-SFgC439X-BdfeA6l0.js} +5 -5
- package/dist/assets/{AccountReconDetailsDrawerPage-Bz1Sk2du-BxAo_hsT.js → AccountReconDetailsDrawerPage-DhlVNNlq-zaiIx1Be.js} +14 -14
- package/dist/assets/{AccountRow-D01C0A0f-CckYNleY.js → AccountRow-Bhq6cvtX-CIGcG8Mb.js} +31 -31
- package/dist/assets/{AccountsPromoCardStack-DsjFJ8gZ-tDFsAqWF.js → AccountsPromoCardStack-Cx60IXNK-DyJ52Wxc.js} +33 -33
- package/dist/assets/{AddAddressForCardDrawer-DnoYIvUp-D4V9AU-3.js → AddAddressForCardDrawer-D1cDpMRq-BEiWkJUF.js} +2 -2
- package/dist/assets/{AddToWalletPage-BIiW9JxG-DzC3aDRW.js → AddToWalletPage-DjD9kDfD-7on3PFY8.js} +27 -27
- package/dist/assets/{AgingReportsPage-WazD_3Z7-BztL8RZo.js → AgingReportsPage-C68tZbMZ-BZn0w9tu.js} +7 -7
- package/dist/assets/{AllUserItems-CTSy4oBh-aCjvc204.js → AllUserItems-D4ZWfS3r-Dzjpd7KF.js} +14 -14
- package/dist/assets/{ApAgingDetailPage--NGBXWsy-Cfxnglrx.js → ApAgingDetailPage-C9xdKi6n-CJy9_j_h.js} +3 -3
- package/dist/assets/{AppBasePage-B5br9UXD-dTwGe1qL.js → AppBasePage-C77LebWx-j5O8MdDX.js} +11 -11
- package/dist/assets/{AppDrawerContent-vFeMNL3B-OmNElgxS.js → AppDrawerContent-rleLuP6d-CWfhTnVv.js} +19 -32
- package/dist/assets/ApprovalRulesSettingsPage-l6wNe5y0-CnwhageD.js +47 -0
- package/dist/assets/{ArAgingChart-BYWN3_Nl-M7Hk0Q05.js → ArAgingChart-BzPI5KpZ-DCA8w670.js} +7 -7
- package/dist/assets/{ArAgingDetailPage-B-hHa8A6-CG4Qyos2.js → ArAgingDetailPage-QPScba6I-BS5C1iok.js} +1 -1
- package/dist/assets/{AttachmentView-C2kWA5X5-BbtHpCnk.js → AttachmentView-BWRZe11t-C3aomYUX.js} +7 -7
- package/dist/assets/{BankAccountSection-B20IwpOn-DQog70tV.js → BankAccountSection-D4xFLS8Y-DYVkxnj8.js} +6 -6
- package/dist/assets/{BankAccountWarningSection-GHO0P0IZ-1uRlfSfl.js → BankAccountWarningSection-xch7b7oM-KAL6I_7u.js} +9 -9
- package/dist/assets/{BankConnectionsSettingsPage-Cpg1ObB6-C889d37H.js → BankConnectionsSettingsPage-BAf6txkS-BUkZUmB1.js} +33 -33
- package/dist/assets/{BillDetailPage-DOF5ibT6-CMzLP3E2.js → BillDetailPage-DNjo2hSl-HAMxBkoh.js} +5 -5
- package/dist/assets/BillPayApprovalRuleDetailPage-CyzRcfmb-CWMkHGTv.js +27 -0
- package/dist/assets/{BillPayApprovalRulesPage-B3x4So_i-CY4rm4rp.js → BillPayApprovalRulesPage-XcSe-JLu-paWl1wgj.js} +8 -8
- package/dist/assets/{BillPayPromoPage-BqzH5AIp-CPmZM4sb.js → BillPayPromoPage-XAG7hXMH-TJCiv7fN.js} +12 -12
- package/dist/assets/BillPaySetUpPage-BBsdhwgY-BJ3SN0Z9.js +42 -0
- package/dist/assets/BillingSettingsPage-DJNjNtIF-BPnIxQJs.js +44 -0
- package/dist/assets/{BillsBulkReviewDrawerPage-B76xXQJ9-KS_QhPM7.js → BillsBulkReviewDrawerPage-C0-0H-LH-B1c9iIV6.js} +1 -1
- package/dist/assets/{BoxItem-DCsIK5bA-DmT1xtf2.js → BoxItem-DfMMtLK3-CwOmwsz7.js} +1 -1
- package/dist/assets/{BusinessVerificationPage-hSVDM_Bi-2zlgnS4x.js → BusinessVerificationPage-Bdf48vIt-gFo5pnI5.js} +11 -11
- package/dist/assets/{CardNumberSubText-B_ZdgYVm-ChY45Xav.js → CardNumberSubText-DgQelYSF-ByXOxvTG.js} +2 -2
- package/dist/assets/{CashbackDetailPage-CNeEt6aE-b0UGJHmQ.js → CashbackDetailPage-pDpjBsfK-CeHQC4hd.js} +21 -21
- package/dist/assets/{ChargeCardDetailPage-C0a8jqCD-Cx7pv4Cb.js → ChargeCardDetailPage-DU9RMQc6-BIkkENPA.js} +74 -74
- package/dist/assets/ChargeCardListPage-DMYZIi2J-C0pY-hXD.js +355 -0
- package/dist/assets/{ChargeCardListTable-Kx-_ZAZu-BIEC6Lus.js → ChargeCardListTable-BGhtEqlM-1uQtcdAL.js} +118 -118
- package/dist/assets/{ChargeCardPromoPage-CKTkcQdI-D4z7TcsI.js → ChargeCardPromoPage-B2v83Vrf-DE3g4SaQ.js} +14 -14
- package/dist/assets/ChargeCardSetupPage-D4DqJYC2-tJD3m4rN.js +36 -0
- package/dist/assets/{ChargeCardStatementsPage-B_7CdyKP-BwoBFpZ8.js → ChargeCardStatementsPage-N-UJC5n3-DRCoIqWQ.js} +12 -12
- package/dist/assets/CheckDepositDrawerPage-BlNXO233-B6D-qsf9.js +206 -0
- package/dist/assets/{CollapsableReportTable-ULd7PQST-zRaWsZKw.js → CollapsableReportTable-CuZSfiJ--DndUaoHT.js} +51 -51
- package/dist/assets/{CompanyOfficerDetailsSection-DLaAmVLG-BXyV3XUg.js → CompanyOfficerDetailsSection-B8_6LaaT-Bm6A2sxD.js} +20 -20
- package/dist/assets/{CompanyPassportCard-CZQuAyI2-FnmQYEWp.js → CompanyPassportCard-Dnoe52f1-Bb0yMF1k.js} +9 -9
- package/dist/assets/{CompanyPassportPage-DqoVJfO--B2V256bS.js → CompanyPassportPage-ChrMM5cG-CBSi0VyZ.js} +9 -9
- package/dist/assets/{CompleteProfile-BJV-xUlM-_mjlqEii.js → CompleteProfile-BcB52KEM-eSrsUGzf.js} +1 -1
- package/dist/assets/{ConfettiBurst-D4ga9TRN-DNqfOt_I.js → ConfettiBurst-CLXTwsEc-BKNVbRl0.js} +1 -1
- package/dist/assets/{CreateOrEditVendorPage-C6efUMJu-BPk-OMPd.js → CreateOrEditVendorPage-BQT9jEKf-D7ltp_Gl.js} +8 -8
- package/dist/assets/{CreditCardPaymentDrawerPage-26ysDTts-2EgGLxxN.js → CreditCardPaymentDrawerPage-CqjXmiuE-DMxbqlO3.js} +22 -22
- package/dist/assets/CurrencySelectField-DptlyOSs-CcylyEJM.js +139 -0
- package/dist/assets/{CustomerOnboardingActivationPage-D0-sOxDl-Ce46LukP.js → CustomerOnboardingActivationPage-CwOkKzOg-B6RVJbjC.js} +5 -5
- package/dist/assets/CustomerOnboardingContainerPage-CicNW9-B-DzHnXZE1.js +1 -0
- package/dist/assets/{CustomerOnboardingDetailPageSkeleton-B7hkzgkV-BF5167bb.js → CustomerOnboardingDetailPageSkeleton-czdG16p5-DpEmk0UD.js} +10 -10
- package/dist/assets/CustomerOnboardingNoStepsPage-vfiQQOHz-Bp1CMF4Z.js +66 -0
- package/dist/assets/{CustomerOnboardingPage-DB1gXgdD-CBPKCr70.js → CustomerOnboardingPage-YXekfOBo-BxMO09Sc.js} +5 -5
- package/dist/assets/CustomerOnboardingProductSuitePage-CZTuBAv2-DO0Q6ibG.js +202 -0
- package/dist/assets/{Dashboard-CU3UQhxj-C1Mkz5gx.js → Dashboard-DSgwFRPe-C8675P9W.js} +1 -1
- package/dist/assets/{DashboardReportPage-DMdKWPtx-atQPuhmI.js → DashboardReportPage-BJvP8_MA-BpjY-74m.js} +17 -17
- package/dist/assets/{DashboardSidebarBackgroundAnimation-BMEqBAyh-C6IEWJ-w.js → DashboardSidebarBackgroundAnimation-BzB16gcw-DGUbQY3b.js} +2 -2
- package/dist/assets/{DepositAccTransactionItem-C1-JGWD1-PimeTN3F.js → DepositAccTransactionItem-iLxnaDON-Cited1L2.js} +3 -3
- package/dist/assets/DepositAccTransactionListPage-BYdaEGCV-dRBdHWPK.js +66 -0
- package/dist/assets/{DomesticWireDetailsPage-D6fDbjcO-B5-gEW7w.js → DomesticWireDetailsPage-D7ID3OCC-BFvvuPQV.js} +1 -1
- package/dist/assets/{DownloadOverlay-CsX54puJ-Dn_Qxrz1.js → DownloadOverlay-DK3Nswwn-axnAyF4J.js} +23 -23
- package/dist/assets/{DrawerPage-xYwGDHR6-DzearJMx.js → DrawerPage-qdVRf0zd-rAuGPrSz.js} +10 -10
- package/dist/assets/EditPeoplePage-BQlHto3J-B1wgqdbr.js +55 -0
- package/dist/assets/{EditReimbursementDetailPage-EUO0BoRp-DXFt_-b4.js → EditReimbursementDetailPage-wJUr8jPN-cAj4KIG_.js} +75 -75
- package/dist/assets/{EntityDetailPage-CF6LS35a-I8h1XS7y.js → EntityDetailPage-BNbBdxQj-DOptLJPY.js} +3 -3
- package/dist/assets/{EntitySummarySection-C0gR6pkr-BFT2Z-pB.js → EntitySummarySection-BQXLwSRf-XMfwUKWz.js} +15 -15
- package/dist/assets/{ExpenseAutomationOverviewPage-B0I8v21w-DnXjKNKz.js → ExpenseAutomationOverviewPage-UXpoYnDh-DTEX425p.js} +22 -22
- package/dist/assets/{ExpenseAutomationPage-BorzJM7G-DkRsvTE3.js → ExpenseAutomationPage-Cn4VyB6M-CECxbhts.js} +69 -69
- package/dist/assets/{ExpressPayPage-D0YWItIv-vsfFJlZY.js → ExpressPayPage-DjV_dQoe-B6QGETdI.js} +12 -12
- package/dist/assets/{FeaturePreviewPage-yu8G5cHk-D2BrLKE_.js → FeaturePreviewPage-CPu1OiVj-C8nQdj7i.js} +2 -2
- package/dist/assets/{FollowStepsSection-DRDFxA8H-CjpGRF9d.js → FollowStepsSection-6KGTmbym-CjBGo1sT.js} +11 -11
- package/dist/assets/{GlobalReviewListPage-D80yv7U2-DSeBsZZz.js → GlobalReviewListPage-BpuYWhKy-BWJ3NE1D.js} +12 -12
- package/dist/assets/{HelpButton-D9ONg6cm-Be59SjbC.js → HelpButton-j66YbdZ7-MN2mMJbU.js} +5 -5
- package/dist/assets/{InformationCardStack-CbKQwtHm-iVG-egn1.js → InformationCardStack--_YYIZmU-TVF3K_in.js} +5 -5
- package/dist/assets/{InsightsCardStack-BWsN9_G2-DIXMPF3Z.js → InsightsCardStack-BAqsxgx_-C1UXRHpT.js} +10 -10
- package/dist/assets/{InsightsSection-WZo-AWJt-B29Z2aQ6.js → InsightsSection-R-m-A1rt-hAhn3f3r.js} +8 -8
- package/dist/assets/{IntegrationsSettingsPage-BLjSJt9r-DCLywH7v.js → IntegrationsSettingsPage-BP0P9-PB-q-RNhTQ5.js} +14 -14
- package/dist/assets/{InternationalWireSwiftDetailsPage-BXNDZ1Mk-BxL2cwbW.js → InternationalWireSwiftDetailsPage-Bl40XkdZ-FmcHiNeD.js} +16 -16
- package/dist/assets/{InternationalWireVerificationPage-BLgPJ1NJ-q4IibCup.js → InternationalWireVerificationPage-BxIz3xUq-DfERa7mH.js} +18 -18
- package/dist/assets/{InviteFormPage-DPQ4vL9--i-ULec9w.js → InviteFormPage-t42rmGiL-DbS-Xo1y.js} +22 -22
- package/dist/assets/{InvitePageListView-YUKxUGBn-B16-8w8X.js → InvitePageListView-CWpmFhZH-BU1izezz.js} +40 -40
- package/dist/assets/InvitePeoplePage-78Fznvo4-Cs3muHFK.js +12 -0
- package/dist/assets/{InvoiceUploadSection-Cx6pXJiN-CVGkefQN.js → InvoiceUploadSection-BWCF-vNf-ENuDGJpZ.js} +9 -9
- package/dist/assets/{IssueChargeCardPage-DZVtocCO-I_yEnYGn.js → IssueChargeCardPage-DrHldS8--Y0lQ8nqU.js} +19 -19
- package/dist/assets/{LabeledAddressValue-BrB2xQYz-Bp1iKMXW.js → LabeledAddressValue-WlsZ5Ghz-BgDzWzX8.js} +1 -1
- package/dist/assets/LabeledAddressValueField-B-6CWCep-BS0rQu3k.js +45 -0
- package/dist/assets/{LabeledControlledCheckBoxField-o0K1dba0-CaYkqqwf.js → LabeledControlledCheckBoxField-DLlz4JyR-BC1O7GWF.js} +1 -1
- package/dist/assets/{LabeledCreatableSingleSelectField-DQwGH21a-DCo3yiXZ.js → LabeledCreatableSingleSelectField-rYzQ2Ot2-C76fE8D-.js} +2 -2
- package/dist/assets/{LabeledDocumentField-CfgzkjDY-pn3OcRy3.js → LabeledDocumentField-CD2nmWBu-DN57A6Dt.js} +4 -4
- package/dist/assets/{LabeledDropDownFormattedTextField-DdaTvUbM-KTtCMdFX.js → LabeledDropDownFormattedTextField-DpVX6osq-D5-gOJ3f.js} +3 -3
- package/dist/assets/{LabeledText-Hi4MixDN-WrbKJ642.js → LabeledText-QTidAWAx-C3c3LDP1.js} +2 -2
- package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-BlVebvR7-Jqg6BKYy.js → LabeledUserSingleSelectWithSubtitlesField-BlTOGYfX-B2GK4-w4.js} +19 -19
- package/dist/assets/{LabeledZeniRolesDropDownField-Bm7Emr_n-glZ8PCSO.js → LabeledZeniRolesDropDownField-BVYRgzSM-BwBrTbH3.js} +12 -12
- package/dist/assets/{LinkJETransactionPage-ittEPbhi-W7ymwETt.js → LinkJETransactionPage-CKTmE3J5-oxz25OQ_.js} +10 -10
- package/dist/assets/{LowBalancePopup-ChA83eFW-D0eQDhH3.js → LowBalancePopup-3lHeOacz-D0jLBPuP.js} +5 -5
- package/dist/assets/{MagicLinkACHDetailsPage-B4PPI06n-C_DxqSTi.js → MagicLinkACHDetailsPage-CJwMNdWw-CQRuhIMs.js} +1 -1
- package/dist/assets/{MagicLinkDomesticWireDetailsPage-DRK5ytSb-DngVeo5M.js → MagicLinkDomesticWireDetailsPage-7fXlIwuo-BfygosWH.js} +1 -1
- package/dist/assets/{MagicLinkInternationalWireDetailsPage-C2pn5xtm-BATETY3T.js → MagicLinkInternationalWireDetailsPage-D7oeyaXU-BvZA1a8O.js} +1 -1
- package/dist/assets/{MagicLinkSuccessPage-Bag5TE2J-CZ9jwejs.js → MagicLinkSuccessPage-D8iyZlJy-BCBc7pXl.js} +4 -4
- package/dist/assets/{MagicLinkTitleSection-Ch72cLUN-YrwcYc6L.js → MagicLinkTitleSection-DUrwrEj2-Dar-V5KH.js} +5 -5
- package/dist/assets/{MailingDetailsSection-CrHHLtQN-DrQYYUeI.js → MailingDetailsSection-CXSm1fgW-B1aDR6z2.js} +1 -1
- package/dist/assets/{MeetingCalenderPopup-B_KRQLwc-Dk4sRI3u.js → MeetingCalenderPopup-SnrmOSBf-C5dtHg-v.js} +1 -1
- package/dist/assets/{Menu-Czq7AdhP-DuOfxCaz.js → Menu-C7N3gHcb-bEZ9k_XO.js} +1 -1
- package/dist/assets/{MyBankConnectionsSettingsPage-y3YOYnQr-D-9bdC9E.js → MyBankConnectionsSettingsPage-B4Pjmw7q-qUHzU9ca.js} +16 -16
- package/dist/assets/MyPendingActivationChargeCardListPage-COeIF-Gj-lF4Ynxvz.js +6 -0
- package/dist/assets/{MyProfileSettingsPage-hQvoACAQ-De4LQ2zP.js → MyProfileSettingsPage-Dv0V1Z6z-B0QjyZRW.js} +10 -10
- package/dist/assets/NavBarWithPicker-Dd5TPoA8-B5GD0shW.js +30 -0
- package/dist/assets/{NavigationArrow-ClEBtns--QcRQdXVR.js → NavigationArrow-xI3dolgO-CZbe0Kw1.js} +2 -2
- package/dist/assets/{NavigationDots-BsJyQWOZ-BDcajz6w.js → NavigationDots-CbSSDiyy-CF0bIpTT.js} +1 -1
- package/dist/assets/{NewGlobalMerchantPage-BKZGSrDk-l-MVFG0h.js → NewGlobalMerchantPage-vHNZ1z6p-DzCKZ31U.js} +13 -13
- package/dist/assets/{NoDataChart-Bk9eWo52-DcgFDiHH.js → NoDataChart-DHDhwnCE--JxqggmJ.js} +5 -5
- package/dist/assets/{NoDataTable-DCQbtvPN-DodiAtKz.js → NoDataTable-BnVKm6Qa-D-DP72-h.js} +1 -1
- package/dist/assets/{NotFoundPage-CGx7FoiU-UHTxKuRN.js → NotFoundPage-BNZEf9qH-DJyohjVl.js} +4 -4
- package/dist/assets/{NotificationSettingsPage-CoD8eTUS-BjZb9tDk.js → NotificationSettingsPage-DfnpY6qJ-IVv8rNvQ.js} +24 -24
- package/dist/assets/NotificationsListConfig-DtICI7X6-Ds4a71oz.js +1 -0
- package/dist/assets/{NotificationsPage-BavPSx1H-DHL13AeJ.js → NotificationsPage-Bg1mW_-3-Bqq3aGWJ.js} +86 -86
- package/dist/assets/OpExByVendorPage-qNgK4tMM-C2uybElE.js +100 -0
- package/dist/assets/{OverlayContainerPage-Dg-aOJQU-C9FBG3yb.js → OverlayContainerPage-ZbhbAqlg-Pe8QjCNe.js} +1 -1
- package/dist/assets/{PandLWithForecastPage-bSkidYRR-CDPJjYTV.js → PandLWithForecastPage-C8qE7xCZ-4J3Yl7J8.js} +14 -14
- package/dist/assets/{PaymentAccountSetupBillingAddressSection-CGIC_vLw-DbAjNAQ-.js → PaymentAccountSetupBillingAddressSection-DA77K9eY-KFOyfAw1.js} +17 -17
- package/dist/assets/{PeoplePage-C-2NZJpQ-BenUVGbg.js → PeoplePage-Chec7uSH-BJQiakcT.js} +22 -22
- package/dist/assets/PortfolioAllocationFormPage-B_lIRV75-2KTCiqQZ.js +207 -0
- package/dist/assets/{PortfolioDetails-Cpv5bi4_-BHPnb_oU.js → PortfolioDetails-Dm2r3i6b-CSqaBp0x.js} +29 -29
- package/dist/assets/{ProductsCarousel-WDd37Mjn-BH0jA9xy.js → ProductsCarousel-Ba0LHKrb-CXNqNsMy.js} +7 -7
- package/dist/assets/{PromoBaseCards-BaFkKGkm-Cz7eAULC.js → PromoBaseCards-D3gKG9qA-BnJ2PjWk.js} +7 -7
- package/dist/assets/{QBOConnectionDialog-l3ThoJCI-ChlbOfD6.js → QBOConnectionDialog-C8y2XvBN-DhJ_XJEx.js} +10 -10
- package/dist/assets/{QBOSetupSection-DSrxcrXI-CkvMDxrM.js → QBOSetupSection-DDGIRv8E-WWMe3MOR.js} +8 -8
- package/dist/assets/ReimbursementApprovalRuleDetailPage-Dc_vsL89-WjjIqi27.js +26 -0
- package/dist/assets/{ReimbursementApprovalRulesPage-fs4WqNUv-Bqd9-BoW.js → ReimbursementApprovalRulesPage-DsIFWYvA-BB4iiWOZ.js} +8 -8
- package/dist/assets/{ReimbursementDetailPage-BYw6Mc2u-BxuwZTKk.js → ReimbursementDetailPage-6KZSAl8R-DdvuKv3t.js} +19 -19
- package/dist/assets/ReimbursementPromoPage-Bijp59bV-Cpfy_AWs.js +112 -0
- package/dist/assets/ReimbursementSetUpPage-UW_9Cl4O-CgdV74cL.js +140 -0
- package/dist/assets/ReimbursementsBulkReviewDrawerPage-DblkkMcc-C0pmpacW.js +1 -0
- package/dist/assets/{ReloadCard-BPoOhxrs-kBbFGmsU.js → ReloadCard-BszztAdg-BGcTmGev.js} +3 -3
- package/dist/assets/{ReportTableViewSelector-CkZW5TtX-DumdDRTp.js → ReportTableViewSelector-DOnGrFNT-CJshToiT.js} +28 -28
- package/dist/assets/{ReportsPage-C-ARKbIQ-o9K1sd3F.js → ReportsPage-BfKLEriq-DUqc1b6J.js} +7 -7
- package/dist/assets/{RevenueChart-CuqZW-Jr-N4UQEA-E.js → RevenueChart-B5dfrWKL-CCXtRcm3.js} +1 -1
- package/dist/assets/{ReviewDetailsPage-BVN_Uym2-C5S7_prb.js → ReviewDetailsPage-BCo54ehm-CX79VGjq.js} +17 -17
- package/dist/assets/{ReviewOverlay-CIgtaUn1-BvAebQ4j.js → ReviewOverlay-BysN2GYI-B3EhPHzZ.js} +25 -25
- package/dist/assets/{RoleWithToolTip-Dm4yIm31-B7MerbZ_.js → RoleWithToolTip-BRe9iDOl-Q0pJSQDn.js} +2 -2
- package/dist/assets/{ScheduleDetailsFixedAssetsPage-Ce3z1VPg-BTEmNd7t.js → ScheduleDetailsFixedAssetsPage-gij2cBvS-C2Yl94k-.js} +8 -8
- package/dist/assets/{ScheduleDetailsPage-O69iLj4h-CjfWVecQ.js → ScheduleDetailsPage-DVm4cyKr-CgRDdyS9.js} +3 -3
- package/dist/assets/{ScheduleSequenceTable-DMIzc2zC-7wRpGkTy.js → ScheduleSequenceTable-aSVVm6mG-DGPmYAZ0.js} +15 -15
- package/dist/assets/{ScreenRoutes-DSJYi7xE.js → ScreenRoutes-VXm4ob92.js} +1 -1
- package/dist/assets/SetUpAccountSection-qYVA9A09-BONGuihD.js +378 -0
- package/dist/assets/{SignIn-CXQyYEJI-CDAsUoma.js → SignIn-BLt95c3U-Dlnl1w8u.js} +20 -20
- package/dist/assets/{SignInScreen-DfZrql6t.js → SignInScreen-DEaBPUrL.js} +1 -1
- package/dist/assets/{SpendManagementListViewPage-DEMLoStE-DOCGQBTb.js → SpendManagementListViewPage-Dav0JMKy-Dm4nEWMb.js} +13 -13
- package/dist/assets/{SpendManagementPerTabPage-CLf-7YyR-Dcu59y-5.js → SpendManagementPerTabPage-C-Y-BFqH-PpgBRx-N.js} +43 -43
- package/dist/assets/{SpendManagementSection-DIVgOKWy-DXji9rI6.js → SpendManagementSection-DGz-I0bf-BKzTZ_B1.js} +12 -12
- package/dist/assets/{StatementItem-CSyEn4Pz-Ceu9_WYP.js → StatementItem-2F2qxL7G-DvQ_AOWY.js} +5 -5
- package/dist/assets/StatementsPage-D8hwgVAz-Cub96aye.js +58 -0
- package/dist/assets/{StatusSwitcher-B77NoO6o--2WeeksA.js → StatusSwitcher-DBUg94S_-BAqpWDHz.js} +4 -4
- package/dist/assets/{SubTabSwitcher-baJGHUgJ-DvovvHUF.js → SubTabSwitcher-CoK8FOIA-DVmudC7o.js} +2 -2
- package/dist/assets/{SummaryCard-BvuRZj8f-T-eFM0LS.js → SummaryCard-D1KRVnqp-Dvy_al2s.js} +1 -1
- package/dist/assets/{TaskManagementPage-vG8GXEJA-BGipUdPV.js → TaskManagementPage-BhFEeDBu-Dz6ITwfD.js} +45 -45
- package/dist/assets/{TimeRangeSwitcher-CnoZ9Rqp-B5iNAfYV.js → TimeRangeSwitcher-4JrIq9xZ-CS5enEHL.js} +2 -2
- package/dist/assets/{TimeframeSwitcher-W5kHnuHI-BadD6oo8.js → TimeframeSwitcher-CjctaKq_-BTzm82tm.js} +1 -1
- package/dist/assets/{TimeframeSwitcherWithToggle-yLA5y4zJ-4o4duI3A.js → TimeframeSwitcherWithToggle-C0dRRCYf-DyMTP-so.js} +1 -1
- package/dist/assets/{TopExCard-oyXmygm8-BYyuzniq.js → TopExCard-CCBEun3e-2zjFnsRQ.js} +7 -7
- package/dist/assets/{TopExDetailPage-4HMIURzm-DnalCFp3.js → TopExDetailPage-DbwmOLnV-BBhCS5FY.js} +10 -10
- package/dist/assets/{TransactionDetailPage-CIw_7B72-CYXPG11l.js → TransactionDetailPage-DsQJU2de-Cs2qQW8e.js} +39 -39
- package/dist/assets/{TransactionList-B9M4ftBY-DwRVqc-5.js → TransactionList-BIMzvzrT-CfNPr3Oc.js} +12 -12
- package/dist/assets/{TransactionListBig-D5SRFdH7-DM-CzEo0.js → TransactionListBig-DiFiu66r-oT2afajE.js} +26 -26
- package/dist/assets/{TransactionListPage-DCiIH4ES-fcePVcVZ.js → TransactionListPage-7JveOMDe-B7fdmsSh.js} +6 -6
- package/dist/assets/{TransactionVendorDetailPage-BNY3vBm0-CW0SP2il.js → TransactionVendorDetailPage-A2F8TF9r-CbwnVt2A.js} +5 -5
- package/dist/assets/TransferDrawerPage-CCqQ3Daq-Daf8n1RY.js +362 -0
- package/dist/assets/{TreasuryOverviewPage-COFbWN48-BYeFpwIv.js → TreasuryOverviewPage-Bwy2y6eI-BKBfV02s.js} +42 -42
- package/dist/assets/{TreasuryPromoPage-EYqV98OG-NVU8LSqs.js → TreasuryPromoPage-B3P0nF1z-CmOyTb19.js} +17 -17
- package/dist/assets/{TreasurySetupPage-DEz3fabz-DDNrOk49.js → TreasurySetupPage-BgrgBBsW-fmJdf9pD.js} +9 -9
- package/dist/assets/TreasuryStatementsPage-DvCQhl_X-CgWR5LfD.js +58 -0
- package/dist/assets/TreasuryTaxLetterPage-iG8-cJFt-DtHFKc00.js +58 -0
- package/dist/assets/{TreasuryTransferOrReviewPage-D25tiep8-BNfZoc8Z.js → TreasuryTransferOrReviewPage-BZ5sPJAg-XRzfaj0V.js} +48 -48
- package/dist/assets/{TrendChart-xBdkrxjQ-C4056Hlf.js → TrendChart-_IpSJoUH-D_Xka3ge.js} +5 -5
- package/dist/assets/{TrendWithTransactions-CQdqelNB-DQo5xCdz.js → TrendWithTransactions-BqGV_CQg-C8WEVoW0.js} +8 -8
- package/dist/assets/{UncategorizedAccountsMappingPage-DaSjSoeK-DCzQZher.js → UncategorizedAccountsMappingPage-iK-1vllN-DE4gP4RH.js} +17 -17
- package/dist/assets/{UnitIntegrationPage-zM4qGyLV-BUih8kDy.js → UnitIntegrationPage-sYNoUudZ-MStTdQpl.js} +4 -4
- package/dist/assets/UploadAdditionalDocumentOverlay-DMtjF2N8-C2Be6sSI.js +38 -0
- package/dist/assets/{Vendor2FAPopup-DO-eL5Ot-DkBNux6r.js → Vendor2FAPopup--4Ufzmk0-CNai3nMR.js} +1 -1
- package/dist/assets/{VendorACHDetailsPage-BDROr_dC-BY7HbNfr.js → VendorACHDetailsPage-BD9WwdNN-CaWAjhaB.js} +1 -1
- package/dist/assets/{VendorDetailPage-B8S-gV53-DhUdJ0v4.js → VendorDetailPage-DwLCEthT-BvPUhXCZ.js} +21 -21
- package/dist/assets/{VendorDomesticWireDetailsPage-BrxQuXus-CKp63XIB.js → VendorDomesticWireDetailsPage-Y2SlFgHo-D65nqzrv.js} +1 -1
- package/dist/assets/{VendorFiling1099EditablePage-BK-XGzxl-BDsZSV4B.js → VendorFiling1099EditablePage-nGfjBA1D-OLG4m_gM.js} +16 -16
- package/dist/assets/{VendorFirstReviewPage-CrSdEY-q-B1bLGVGQ.js → VendorFirstReviewPage-Bgf9MtEn-Dtn_s7_m.js} +17 -17
- package/dist/assets/{VendorInternationalWireDetailsPage-DuE2n00d-CfT-V_5M.js → VendorInternationalWireDetailsPage-CMxyzCCL-CvcC_o3S.js} +8 -8
- package/dist/assets/{VendorInternationalWireSwiftDetailsPage-_0douojx-BYFNBvm2.js → VendorInternationalWireSwiftDetailsPage-C6rMWgzM-Ba3gVeFl.js} +1 -1
- package/dist/assets/{VendorsAccountsSection-C2McA3-C-Cb0CgKxi.js → VendorsAccountsSection-Ceq0cYf6-Cjsd_QQc.js} +2 -2
- package/dist/assets/{VerifyDevice-BOb4uKLq-DNkxVYQK.js → VerifyDevice-BTFRL9bH-BUJZK5YU.js} +5 -5
- package/dist/assets/{WarningsDrawerPage-f9lS8sCp-DvTpHrxU.js → WarningsDrawerPage-DSssRFm_-C1VqOBKj.js} +11 -11
- package/dist/assets/{ZeniAccountDetailPage-BnWDpR9g-BIlqd_yq.js → ZeniAccountDetailPage-C6q8N5tU-Dc_1K1Bi.js} +17 -17
- package/dist/assets/{ZeniAccountListViewPage-D9ORn0_O-9Rmkt-8p.js → ZeniAccountListViewPage-CqUvXrvR-ZqvC3boH.js} +19 -19
- package/dist/assets/ZeniAccountNavBarPieces-DcmtDKVQ-CBPL_oum.js +14 -0
- package/dist/assets/{ZeniAccountPromoPage-CswETXvx-BsmBi2Qk.js → ZeniAccountPromoPage-B6wyK1mQ-C0Tgm2fT.js} +28 -28
- package/dist/assets/ZeniAccountSetupPage-Dl83s-y4-B5nGAEOh.js +36 -0
- package/dist/assets/{ZeniCopyright-DrkcGEYL-BmTJIlKC.js → ZeniCopyright-BqG_ynZT-WDJiIgsT.js} +1 -1
- package/dist/assets/{ZeniTransferAmountSlider-Bw5S2HTx-DdoSkWzm.js → ZeniTransferAmountSlider-BZb23ypm-DU9mco3Q.js} +7 -7
- package/dist/assets/{analyticsHelper-C37dCyKv-CGyvCbtY.js → analyticsHelper-517kzICQ-BBH33il4.js} +1 -1
- package/dist/assets/{analyticsHelper-6vBfv0ec.js → analyticsHelper-CNrWxJzq.js} +1 -1
- package/dist/assets/{chartTypes-Cknnnhq_-DeXPyHuq.js → chartTypes-BTkUFFIf-HJpcoXWZ.js} +1 -1
- package/dist/assets/{commonDimensions-D0ovCC4N-CNPc1P_A.js → commonDimensions-Dw8Sh6Gv-a3To-vKo.js} +1 -1
- package/dist/assets/{detailCommon-CKa5_aP2-yoaB_aFJ.js → detailCommon-BA8Eb9ta-B1i92RWc.js} +11 -11
- package/dist/assets/downloadPdf-CDKlyJb--CILbJzzK.js +1 -0
- package/dist/assets/{index-b-ZazAq5.js → index-CjrcOwMA.js} +9891 -9282
- package/dist/assets/{mapLoadingInProgressToTreeNode-DttwbPj7-ClOsgYHo.js → mapLoadingInProgressToTreeNode-B16JI0nu-DSXwnXFw.js} +1 -1
- package/dist/assets/{mapSectionWithAcOnlyToTreeNode-CKUACdvT-DnNr7s_7.js → mapSectionWithAcOnlyToTreeNode-u05r0BKW-CAyI7F2S.js} +1 -1
- package/dist/assets/{mapSpacerToTreeNode-CeH4tptC-DDar-aaX.js → mapSpacerToTreeNode-DHlbGqUH-D80xjgLV.js} +1 -1
- package/dist/assets/{mapTimeframeBalancesToTreeNode-TLHaVbTv-CwUi2UE6.js → mapTimeframeBalancesToTreeNode-CGkPIsh6-Cf2XqEry.js} +1 -1
- package/dist/assets/{mapTimeframeBalancesToTreeNode-CElz2Cb0-yR23ijYO.js → mapTimeframeBalancesToTreeNode-ymtaozr7-oHeBpj1f.js} +1 -1
- package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-D96sl236-Ceni4bmN.js → mapTimeframeHeaderLoadingInProgressToTreeNode-C7X7F5Ac-BRCHhf6Z.js} +1 -1
- package/dist/assets/{play-icon-XWt7iQeF-BXe3XEM9.js → play-icon-B0_JAuQa-Bjb2tow6.js} +1 -1
- package/dist/assets/{toCOABalancesWithID-DACfD5ZE-DPBjMuXT.js → toCOABalancesWithID-B0nbXcq3-CLRAcvjs.js} +1 -1
- package/dist/assets/{toChartData-C6ap15NT-C4C_iiHg.js → toChartData-CZR7pH0W-CMEBURV_.js} +1 -1
- package/dist/assets/{treasuryColorHelper-DmVCoHv9-BvBjIWNj.js → treasuryColorHelper-99Jkq8AE-9boKU_Ao.js} +1 -1
- package/dist/assets/{uploadAttachment-D1XtO8---C1HecV0B.js → uploadAttachment-5GZYaQNG-D5JMjedW.js} +21 -21
- package/dist/assets/{uploadReceipts-Cl7e8jci-CgmtP8oE.js → uploadReceipts-CtQowT1I-Bg_9c22l.js} +1 -1
- package/dist/index.html +1 -1
- package/package.json +3 -3
- package/dist/assets/ACHDetailsPage-CVBRtacz-B-wXgcdL.js +0 -21
- package/dist/assets/AccountInfoPage-Bt-jShgf-D7-pY8Xy.js +0 -18
- package/dist/assets/ApprovalRulesSettingsPage-6j7VBBZ6-DtpGfRvd.js +0 -47
- package/dist/assets/BillPayApprovalRuleDetailPage-BI1R1zT_-B2pclG9C.js +0 -27
- package/dist/assets/BillPaySetUpPage-DqiNMnRE-CJW2K1WW.js +0 -42
- package/dist/assets/BillingSettingsPage-BOAAGOLs-EF78E3-A.js +0 -44
- package/dist/assets/ChargeCardListPage-_3lJqIYP-CjqfIBRz.js +0 -355
- package/dist/assets/ChargeCardSetupPage-CGRMFERy-nwvjRvTP.js +0 -36
- package/dist/assets/ChargeCardUtils-BcwLwgz7-DtCcFgNi.js +0 -1
- package/dist/assets/ChaseOverlay-ClcKUdpT-DsBdB3dn.js +0 -170
- package/dist/assets/CheckDepositDrawerPage-I3siSP2H-DOYShP5D.js +0 -206
- package/dist/assets/CreditCardPaymentPlgSection-8NQI5gcx-CYgVnwi-.js +0 -78
- package/dist/assets/CurrencySelectField-CVNn0XCq-id1wN7tu.js +0 -139
- package/dist/assets/CustomerOnboardingContainerPage-DoibuhLN-BAot3xFZ.js +0 -1
- package/dist/assets/CustomerOnboardingNoStepsPage-CD1QldcG-DOJTbsT8.js +0 -66
- package/dist/assets/CustomerOnboardingProductSuitePage-DGMmLmq8-Ba1Ge8Ql.js +0 -202
- package/dist/assets/DepositAccTransactionListPage-CfwhQ7mC-BpwI3LPz.js +0 -66
- package/dist/assets/EditPeoplePage-9SmQtrJz-CpjsvZ5X.js +0 -55
- package/dist/assets/InvitePeoplePage-C3vECRns-C0xQ6TWc.js +0 -12
- package/dist/assets/LabeledAddressValueField-_35LG3OI-D_e5OIiQ.js +0 -45
- package/dist/assets/MyPendingActivationChargeCardListPage-DJeYzaPj-shBILIuz.js +0 -6
- package/dist/assets/NavBarWithPicker-DUaSGf4d-CMjrmt-1.js +0 -30
- package/dist/assets/NotificationsListConfig-hyqVBWDA-ChVmChxH.js +0 -1
- package/dist/assets/OpExByVendorPage-DD8tCc8E-CwNf3ShD.js +0 -100
- package/dist/assets/PortfolioAllocationFormPage-B6JOvEvW-B8_jJPtJ.js +0 -207
- package/dist/assets/ReimbursementApprovalRuleDetailPage-hb8mPFw0-AvrXlJya.js +0 -26
- package/dist/assets/ReimbursementPromoPage-DzDuwRxU-B6R_66mk.js +0 -112
- package/dist/assets/ReimbursementSetUpPage-DdT6uu1--B5ymQEc4.js +0 -140
- package/dist/assets/ReimbursementsBulkReviewDrawerPage-CXvng56s-D22V4iw-.js +0 -1
- package/dist/assets/SetUpAccountSection-C1_QjMwF-D_Jc9DPP.js +0 -378
- package/dist/assets/SetUpDefaultSection-B-ZEHQUb-wT4VB7Bz.js +0 -174
- package/dist/assets/SpendMgmtSetupAccountSection-DFyUBsg3-CBY1E6Ip.js +0 -206
- package/dist/assets/StatementsPage-D34J2aZa-DVBVlsnj.js +0 -58
- package/dist/assets/TransferDrawerPage-DdgfrrRM-F6iL3sbI.js +0 -362
- package/dist/assets/TreasuryStatementsPage-JSf4JXXI-CCZGMWz5.js +0 -58
- package/dist/assets/TreasuryTaxLetterPage-Id6od0WY--LdWqgsE.js +0 -58
- package/dist/assets/UploadAdditionalDocumentOverlay-Y64l7Rho-CmfSD-Zu.js +0 -38
- package/dist/assets/ZeniAccountNavBarPieces-4jG3uNmW-ClvlddSI.js +0 -14
- package/dist/assets/ZeniAccountSetupPage-7B6Vgmg6-Cm9X_vfT.js +0 -36
- package/dist/assets/downloadPdf-BJozh7zE-DZm4gsxy.js +0 -1
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import{u as w,e as P,j as t,gf as $,o,C as a,h3 as j,s as i}from"./index-CjrcOwMA.js";import{b as y,n}from"./vendor-rkTZJa59.js";import{K as z}from"./StatusSwitcher-DBUg94S_-BAqpWDHz.js";import{r as A}from"./AccountInfoPageContent-CwbmE2Bb-CgQ5VXBk.js";import"./mui-C42whWwM.js";import"./analytics-CBL_L82S.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";import"./downloadPdf-CDKlyJb--CILbJzzK.js";import"./commonDimensions-Dw8Sh6Gv-a3To-vKo.js";const r={pageTitleMarginXAxis:new a(i[4],i[8]),containerPaddingLeft:new a(i[3],i[6],i[8]),containerPaddingRight:new a(i[3],i[6],i[8])},q=({authParams:e,downloadAccountDetailEndPoint:l,depositAccount:s,zeniAccountsConfigDetail:p,currentTenant:m,onDismissClick:u})=>{const g=w(),d=P(),[c,x]=y.useState("achDetails"),h=f=>{x(f)};return t.jsxs(S,{children:[t.jsx($,{title:"",backgroundColor:g.colors.grey4,style:{zIndex:4},isTitleAlignLeft:!0,onCloseClick:u}),t.jsx(T,{windowSize:d,children:s.accountName}),t.jsx(b,{children:t.jsx(z,{tabIds:["achDetails","wireDetails"],selectedTab:c,entity:"zeni_accounts",onTabSelectedChange:h,isSwitcherLeftAlign:!0})}),t.jsx(D,{windowSize:d,children:t.jsx(A,{authParams:e,downloadAccountDetailEndPoint:l,currentTab:c,zeniAccountsConfigDetail:p,currentTenant:m,depositAccount:s})})]})},D=n.div`
|
|
2
|
+
padding-left: ${e=>`${r.containerPaddingLeft.valuePx(e.windowSize)}`};
|
|
3
|
+
padding-right: ${e=>`${r.containerPaddingRight.valuePx(e.windowSize)}`};
|
|
4
|
+
`,S=n.div`
|
|
5
|
+
display: flex;
|
|
6
|
+
flex-direction: column;
|
|
7
|
+
background-color: ${e=>e.theme.colors.grey4};
|
|
8
|
+
overflow-x: hidden;
|
|
9
|
+
height: 100%;
|
|
10
|
+
width: 100%;
|
|
11
|
+
`,T=n(j)`
|
|
12
|
+
color: ${e=>e.theme.colors.primary};
|
|
13
|
+
padding: ${o.sp3} ${o.sp0};
|
|
14
|
+
margin: ${e=>`${o.sp0} ${r.pageTitleMarginXAxis.valuePx(e.windowSize)} `};
|
|
15
|
+
`,b=n.div`
|
|
16
|
+
display: flex;
|
|
17
|
+
justify-content: flex-start;
|
|
18
|
+
`;export{q as default};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{e as we,
|
|
1
|
+
import{e as we,go as Ae,h4 as J,j as r,B as Se,bA as C,p as Te,Z as z,o as a,am as ve,bx as De,g as E,c as ee,az as Ce,gr as ze,k as re}from"./index-CjrcOwMA.js";import{b as s,n as t}from"./vendor-rkTZJa59.js";import{w as Le}from"./downloadPdf-CDKlyJb--CILbJzzK.js";import{o as _e}from"./commonDimensions-Dw8Sh6Gv-a3To-vKo.js";const{common:{strings:Ee,copyToClipBoard:y},spendManagement:{zeniAccounts:{zeniAccountDetail:K},billPay:{vendorCreation:{achDetails:o}},downloads:Q}}=Se.getLocalizedStrings(),Xe=({authParams:e,downloadAccountDetailEndPoint:ae,currentTab:f,depositAccount:n,zeniAccountsConfigDetail:u,currentTenant:g})=>{const oe=we(),[,R]=Ae(),[k,te]=s.useState(!1),[se,ce]=s.useState(!1),[ne,ie]=s.useState(!1),[le,de]=s.useState(!1),[be,ue]=s.useState(!1),[pe,me]=s.useState(!1),[he,xe]=s.useState(!1),[fe,$e]=s.useState(!1),[m,I]=s.useState(!1),[N,P]=s.useState(!1),[j,B]=s.useState(!1),[w,q]=s.useState(!1),[A,O]=s.useState(!1),[S,U]=s.useState(!1),[T,Z]=s.useState(!1),[$,F]=s.useState(!1),v=g?.company?.companyInfo.companyLegalName,D=J(u.zeniAccountsConfigDetail.mailingAddress).text2,p=J(u.zeniAccountsConfigDetail.bankAddress).text2;s.useEffect(()=>{(m||S||T||$||A||$||j||N||w)&&setTimeout(()=>{I(!1),U(!1),Z(!1),F(!1),O(!1),q(!1),B(!1),P(!1)},1200)},[m,S,T,$,A,w,j,N]);const G=(h,c)=>{switch(h){case"accountType":ce(c);break;case"acccountNumber":ie(c);break;case"routingNumber":de(c);break;case"bankName":ue(c);break;case"beneficiaryName":xe(c);break;case"beneficiaryAddress":me(c);break;case"bankAddress":$e(c);break}},ye=h=>{let c;h==="achDetails"?c=`${o.bankRoutingNumber} ${n.routingNumberAch}
|
|
2
2
|
|
|
3
3
|
${o.accountTypeLabel} ${n.accountSubType.name??""}
|
|
4
4
|
|
|
@@ -6,7 +6,7 @@ ${o.bankAccountNumber} ${n.accountNumber}
|
|
|
6
6
|
|
|
7
7
|
${o.bankName} ${u.zeniAccountsConfigDetail.bankName}
|
|
8
8
|
|
|
9
|
-
${o.bankAddress} ${
|
|
9
|
+
${o.bankAddress} ${p}`:c=`${o.bankRoutingNumber} ${n.routingNumberAch}
|
|
10
10
|
|
|
11
11
|
${o.accountTypeLabel} ${n.accountSubType.name??""}
|
|
12
12
|
|
|
@@ -16,9 +16,9 @@ ${o.bankName} ${u.zeniAccountsConfigDetail.bankName}
|
|
|
16
16
|
|
|
17
17
|
${o.beneficiaryName} ${v}
|
|
18
18
|
|
|
19
|
-
${o.bankAddress} ${
|
|
19
|
+
${o.bankAddress} ${p}
|
|
20
20
|
|
|
21
|
-
${o.beneficiaryAddress} ${
|
|
21
|
+
${o.beneficiaryAddress} ${D}`,R(c),I(!0)},i=(h,c,x,H)=>{let d,l;switch(x){case"acccountNumber":d=ne,l=T;break;case"accountType":d=se,l=S;break;case"bankName":d=be,l=A;break;case"beneficiaryName":d=he,l=N;break;case"beneficiaryAddress":d=pe,l=w;break;case"bankAddress":d=fe,l=j;break;default:d=le,l=$;break}const je=()=>{switch(x){case"accountType":U(!0);break;case"acccountNumber":Z(!0);break;case"routingNumber":F(!0);break;case"bankName":O(!0);break;case"beneficiaryName":P(!0);break;case"beneficiaryAddress":q(!0);break;case"bankAddress":B(!0);break}};return r.jsxs(Oe,{onMouseEnter:()=>G(x,!0),onMouseLeave:()=>G(x,!1),children:[r.jsx(Ue,{children:h}),r.jsx(Fe,{children:r.jsxs(Ge,{children:[r.jsxs(Ze,{children:[d||oe==="small"?r.jsx(L,{children:r.jsx(C,{display:"flex",placement:"left",title:r.jsx(_,{isTextCopied:l,children:l?y.copied:y.copy}),enterDelay:600,children:l===!0?r.jsx(X,{}):r.jsx(Y,{"data-testid":z("account-info-copy",x),onClick:()=>{R(c),je()}})})}):null,c]}),H!=null?r.jsx(He,{children:H}):null]})})]})},ge={detail_type:"account_details",deposit_account_id:n.id,company_name:g?.companyName??"",company_legal_name:g?.company?.companyInfo.companyLegalName??""},ke=encodeURIComponent(JSON.stringify(ge)),Ne=`${ae}?query=${ke}`;return r.jsx(Me,{children:r.jsxs(Re,{children:[r.jsxs(Ie,{children:[r.jsx(Be,{children:f==="achDetails"?K.achTitle:K.wireTitle}),r.jsxs(Pe,{children:[r.jsx(L,{children:r.jsx(C,{display:"flex",placement:"left",title:r.jsx(_,{isTextCopied:k,children:k?Q.downloading:Q.download}),enterDelay:600,children:k===!0?r.jsx(Te,{size:"Small",start:!0}):r.jsx(qe,{"data-testid":z("account-info-download-pdf"),onClick:()=>{Le(Ne,Ee.empty,e,te,!0)}})})}),r.jsx(L,{children:r.jsx(C,{display:"flex",placement:"left",title:r.jsx(_,{isTextCopied:m,children:m?y.copied:y.copy}),enterDelay:600,children:m===!0?r.jsx(X,{}):r.jsx(Y,{onClick:()=>ye(f),"data-testid":z("title-text-copy")})})})]})]}),f==="achDetails"?r.jsxs(Je,{children:[r.jsx(V,{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")}),p!=null?r.jsx(W,{children:i(o.bankAddress,p,"bankAddress")}):null]}):f==="wireDetails"?r.jsxs(Ke,{children:[r.jsx(V,{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")}),p!=null?r.jsx(b,{children:i(o.bankAddress,p,"bankAddress")}):null,v!=null?r.jsx(b,{children:i(o.beneficiaryName,v,"beneficiaryName",o.beneficiaryNameSubLabel)}):null,D!=null?r.jsx(W,{children:i(o.beneficiaryAddress,D,"beneficiaryAddress",o.beneficiaryAddressSubLabel)}):null]}):null]})})},Me=t.div``,Re=t.div`
|
|
22
22
|
margin: ${a.sp4};
|
|
23
23
|
margin-left: ${a.sp0};
|
|
24
24
|
`,Ie=t.div`
|
|
@@ -29,10 +29,10 @@ ${o.beneficiaryAddress} ${C}`,R(c),I(!0)},i=(h,c,x,Q)=>{let d,l;switch(x){case"a
|
|
|
29
29
|
`,Pe=t.div`
|
|
30
30
|
display: flex;
|
|
31
31
|
gap: ${a.sp4};
|
|
32
|
-
`,
|
|
32
|
+
`,Be=t(ve)`
|
|
33
33
|
color: ${e=>e.theme.colors.primary};
|
|
34
34
|
margin-right: ${a.sp2};
|
|
35
|
-
`,
|
|
35
|
+
`,qe=t(De)`
|
|
36
36
|
height: ${a.sp3};
|
|
37
37
|
width: ${a.sp3};
|
|
38
38
|
color: ${e=>e.theme.colors.hero};
|
|
@@ -57,7 +57,7 @@ ${o.beneficiaryAddress} ${C}`,R(c),I(!0)},i=(h,c,x,Q)=>{let d,l;switch(x){case"a
|
|
|
57
57
|
color: ${e=>e.theme.colors.grey1};
|
|
58
58
|
}
|
|
59
59
|
}
|
|
60
|
-
`,
|
|
60
|
+
`,V=t(M)`
|
|
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}`,R(c),I(!0)},i=(h,c,x,Q)=>{let d,l;switch(x){case"a
|
|
|
72
72
|
&:hover {
|
|
73
73
|
border-bottom-width: 1px;
|
|
74
74
|
}
|
|
75
|
-
`,
|
|
75
|
+
`,W=t(M)`
|
|
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;
|
|
@@ -103,33 +103,33 @@ ${o.beneficiaryAddress} ${C}`,R(c),I(!0)},i=(h,c,x,Q)=>{let d,l;switch(x){case"a
|
|
|
103
103
|
&:hover {
|
|
104
104
|
color: ${e=>e.theme.colors.primary};
|
|
105
105
|
}
|
|
106
|
-
`,
|
|
106
|
+
`,X=t(Ce)`
|
|
107
107
|
height: ${a.sp3};
|
|
108
108
|
width: ${a.sp3};
|
|
109
109
|
color: ${E.success};
|
|
110
|
-
`,
|
|
110
|
+
`,Oe=t.div`
|
|
111
111
|
display: flex;
|
|
112
112
|
flex-direction: row;
|
|
113
113
|
padding: ${a.sp3} ${a.sp4};
|
|
114
114
|
justify-content: space-between;
|
|
115
115
|
width: 100%;
|
|
116
116
|
gap: ${a.sp4};
|
|
117
|
-
`,Oe=t(re)`
|
|
118
|
-
color: ${e=>e.theme.colors.hero};
|
|
119
117
|
`,Ue=t(re)`
|
|
118
|
+
color: ${e=>e.theme.colors.hero};
|
|
119
|
+
`,Ze=t(re)`
|
|
120
120
|
display: flex;
|
|
121
121
|
align-items: center;
|
|
122
122
|
color: ${e=>e.theme.colors.primary};
|
|
123
123
|
background-color: ${e=>e.theme.colors.grey5};
|
|
124
124
|
justify-content: flex-end;
|
|
125
125
|
text-align: end;
|
|
126
|
-
`,
|
|
126
|
+
`,Fe=t.div`
|
|
127
127
|
display: flex;
|
|
128
|
-
`,
|
|
128
|
+
`,Ge=t.div`
|
|
129
129
|
display: flex;
|
|
130
130
|
flex-direction: column;
|
|
131
131
|
align-items: flex-end;
|
|
132
|
-
`,
|
|
132
|
+
`,He=t(ee)`
|
|
133
133
|
color: ${e=>e.theme.colors.grey1};
|
|
134
134
|
text-align: end;
|
|
135
135
|
`,_=t(ee)`
|
|
@@ -146,4 +146,4 @@ ${o.beneficiaryAddress} ${C}`,R(c),I(!0)},i=(h,c,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
|
+
`,Je=t.div``,Ke=t.div``;export{Xe as r};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import{u as C,
|
|
1
|
+
import{u as C,B as d,j as e,k as x,ap as m,K as g,bn as k,o as r,g as p,Y as j,bt as f}from"./index-CjrcOwMA.js";import{n as o,b as i}from"./vendor-rkTZJa59.js";import{t as $}from"./handshake-BPg58FML-CVKh3Eii.js";import"./mui-C42whWwM.js";import"./analytics-CBL_L82S.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";const w=t=>i.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",...t},i.createElement("path",{d:"M1.53406 12C1.53406 13.3744 1.80477 14.7354 2.33073 16.0052C2.85669 17.2749 3.62761 18.4287 4.59946 19.4005C5.57132 20.3724 6.72507 21.1433 7.99486 21.6693C9.26465 22.1952 10.6256 22.466 12 22.466C13.3744 22.466 14.7354 22.1952 16.0052 21.6693C17.2749 21.1433 18.4287 20.3724 19.4005 19.4005C20.3724 18.4287 21.1433 17.2749 21.6693 16.0052C22.1952 14.7354 22.466 13.3744 22.466 12C22.466 10.6256 22.1952 9.26465 21.6693 7.99486C21.1433 6.72507 20.3724 5.57132 19.4005 4.59946C18.4287 3.62761 17.2749 2.85669 16.0052 2.33073C14.7354 1.80477 13.3744 1.53406 12 1.53406C10.6256 1.53406 9.26465 1.80477 7.99486 2.33073C6.72507 2.85669 5.57132 3.62761 4.59946 4.59946C3.62761 5.57132 2.85669 6.72507 2.33073 7.99486C1.80477 9.26465 1.53406 10.6256 1.53406 12Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),i.createElement("path",{d:"M19 5.07007C16.93 7.07007 5 19.0701 5 19.0701",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),y=t=>i.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t},i.createElement("path",{d:"M10.6522 15.4781C10.6522 15.9394 10.8354 16.3817 11.1616 16.7079C11.4877 17.034 11.9301 17.2173 12.3913 17.2173C12.8526 17.2173 13.2949 17.034 13.6211 16.7079C13.9472 16.3817 14.1304 15.9394 14.1304 15.4781C14.1304 15.0169 13.9472 14.5745 13.6211 14.2484C13.2949 13.9222 12.8526 13.739 12.3913 13.739C11.9301 13.739 11.4877 13.9222 11.1616 14.2484C10.8354 14.5745 10.6522 15.0169 10.6522 15.4781Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),i.createElement("path",{d:"M19.7826 13.3044C19.7826 12.3819 19.4162 11.4972 18.7639 10.8449C18.1115 10.1926 17.2268 9.82617 16.3043 9.82617H8.47826C7.55577 9.82617 6.67106 10.1926 6.01876 10.8449C5.36646 11.4972 5 12.3819 5 13.3044V18.5218C5 19.4443 5.36646 20.329 6.01876 20.9813C6.67106 21.6336 7.55577 22.0001 8.47826 22.0001H16.3043C17.2268 22.0001 18.1115 21.6336 18.7639 20.9813C19.4162 20.329 19.7826 19.4443 19.7826 18.5218V13.3044Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),i.createElement("path",{d:"M7.6087 6.78261C7.6087 5.51418 8.11258 4.29771 9.0095 3.40079C9.90641 2.50388 11.1229 2 12.3913 2C13.6597 2 14.8762 2.50388 15.7731 3.40079C16.67 4.29771 17.1739 5.51418 17.1739 6.78261V9.93565",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),n=d.getLocalizedStrings().commonSetUp.twoFactorAuthentication,L=({unlockDate:t,onSubmit:s})=>{const a=C(),h=t.format(d.getLocalizedStrings().dateFormat.visual.MMMDCommaYYYYformat),u=t.format(d.getLocalizedStrings().dateFormat.visual.HHMMFormat);return e.jsxs(v,{children:[e.jsx(M,{children:n.accountLockedTitle}),e.jsxs(b,{children:[e.jsxs(c,{children:[e.jsx(l,{theme:a,children:e.jsx(Y,{})}),e.jsx(x,{children:n.accountLockedSecurityMessage})]}),e.jsxs(c,{children:[e.jsx(l,{theme:a,children:e.jsx(W,{})}),e.jsxs(m,{children:[n.tryAgainAfter,e.jsxs(S,{children:[h,e.jsx(D,{children:"•"}),u]}),n.signInViaGoogleOrMicrosoft]})]}),e.jsxs(c,{children:[e.jsx(l,{theme:a,children:e.jsx(z,{})}),e.jsxs(m,{children:[n.accountLockedContactMessage,e.jsx(E,{href:`mailto:${n.zeniEmail}`,children:n.zeniEmail})]})]}),e.jsx(g,{variant:"primary",label:n.understood,onClick:s})]})]})};function G({unlockDate:t,onClose:s}){return e.jsx(k,{open:!0,onClose:s,children:e.jsx(A,{children:e.jsx(L,{unlockDate:t,onSubmit:s})})})}const v=o.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
align-items: center;
|
|
5
5
|
justify-content: center;
|
|
6
6
|
row-gap: ${r.sp6};
|
|
7
|
-
`,
|
|
7
|
+
`,M=o(j)`
|
|
8
8
|
color: ${p.important};
|
|
9
9
|
text-align: center;
|
|
10
10
|
`,b=o.div`
|
|
@@ -43,13 +43,13 @@ import{u as C,M as d,j as e,n as x,ap as m,k as g,bn as k,o as r,c as p,s as j,b
|
|
|
43
43
|
`,W=o(y)`
|
|
44
44
|
width: ${r.sp4};
|
|
45
45
|
height: ${r.sp4};
|
|
46
|
-
`,
|
|
46
|
+
`,Y=o(w)`
|
|
47
47
|
width: ${r.sp4};
|
|
48
48
|
height: ${r.sp4};
|
|
49
|
-
`,
|
|
49
|
+
`,z=o($)`
|
|
50
50
|
width: ${r.sp4};
|
|
51
51
|
height: ${r.sp4};
|
|
52
|
-
`,
|
|
52
|
+
`,A=o.div`
|
|
53
53
|
display: flex;
|
|
54
54
|
flex-direction: column;
|
|
55
55
|
width: 456px;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a as xe,
|
|
1
|
+
import{a as xe,f2 as fe,j as t,l as F,F as ge,bU as ye,B as je,bW as Se,bX as $e,o as i,h as ke,am as Q,n as Z,a3 as ve,_ as Ce,dL as we,eS as be,kh as K,du as ee,k as l,u as Ee,a0 as Pe,aS as te,dO as ne,b1 as Re,g as oe,az as De}from"./index-CjrcOwMA.js";import{b as r,n as o}from"./vendor-rkTZJa59.js";import{E as Ie,C as _e,w as Fe,f as Te}from"./AccountRow-Bhq6cvtX-CIGcG8Mb.js";import"./mui-C42whWwM.js";import"./analytics-CBL_L82S.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";const m={containerPaddingLeft:i.sp4,containerPaddingRight:i.sp4,navBarHeight:i.sp10,navBarPaddingRight:i.sp4,navBarPaddingLeft:i.sp4,balanceContainerWidth:114,sourceContainerWidth:400},Ue=o.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
background-color: ${e=>e.theme.colors.grey4};
|
|
@@ -11,7 +11,7 @@ import{a as xe,f0 as fe,j as t,l as T,F as ge,bU as ye,M as je,bW as Se,bX as $e
|
|
|
11
11
|
display: flex;
|
|
12
12
|
flex: 0 0 auto;
|
|
13
13
|
width: ${i.sp4};
|
|
14
|
-
`,
|
|
14
|
+
`,Be=o.div`
|
|
15
15
|
min-height: ${m.navBarHeight};
|
|
16
16
|
position: sticky;
|
|
17
17
|
background-color: ${e=>e.theme.colors.grey4};
|
|
@@ -19,7 +19,7 @@ import{a as xe,f0 as fe,j as t,l as T,F as ge,bU as ye,M as je,bW as Se,bX as $e
|
|
|
19
19
|
z-index: 2;
|
|
20
20
|
top: ${i.sp0};
|
|
21
21
|
width: 100%;
|
|
22
|
-
`,
|
|
22
|
+
`,Me=o(ve)`
|
|
23
23
|
cursor: pointer;
|
|
24
24
|
color: ${e=>e.theme.colors.hero};
|
|
25
25
|
width: ${i.sp4};
|
|
@@ -52,7 +52,7 @@ import{a as xe,f0 as fe,j as t,l as T,F as ge,bU as ye,M as je,bW as Se,bX as $e
|
|
|
52
52
|
flex: 1 1 0;
|
|
53
53
|
justify-content: center;
|
|
54
54
|
flex-direction: column;
|
|
55
|
-
`,
|
|
55
|
+
`,Ne=o(Q)`
|
|
56
56
|
display: flex;
|
|
57
57
|
color: ${e=>e.theme.colors.primary};
|
|
58
58
|
align-items: center;
|
|
@@ -64,7 +64,7 @@ import{a as xe,f0 as fe,j as t,l as T,F as ge,bU as ye,M as je,bW as Se,bX as $e
|
|
|
64
64
|
align-items: center;
|
|
65
65
|
justify-content: center;
|
|
66
66
|
overflow: hidden;
|
|
67
|
-
`,
|
|
67
|
+
`,ze=o.div`
|
|
68
68
|
display: flex;
|
|
69
69
|
flex: 0 0 auto;
|
|
70
70
|
justify-content: center;
|
|
@@ -85,7 +85,7 @@ import{a as xe,f0 as fe,j as t,l as T,F as ge,bU as ye,M as je,bW as Se,bX as $e
|
|
|
85
85
|
background-color: ${e=>e.theme.colors.background};
|
|
86
86
|
border-radius: ${i.sp2};
|
|
87
87
|
border: 1px solid ${e=>e.theme.colors.grey3};
|
|
88
|
-
`,
|
|
88
|
+
`,Ve=o.div`
|
|
89
89
|
display: flex;
|
|
90
90
|
flex-direction: column;
|
|
91
91
|
align-items: flex-start;
|
|
@@ -96,10 +96,10 @@ import{a as xe,f0 as fe,j as t,l as T,F as ge,bU as ye,M as je,bW as Se,bX as $e
|
|
|
96
96
|
color: ${e=>e.theme.colors.hero};
|
|
97
97
|
align-items: center;
|
|
98
98
|
justify-content: flex-end;
|
|
99
|
-
`,
|
|
99
|
+
`,Xe=o(l)`
|
|
100
100
|
color: ${e=>e.theme.colors.primary};
|
|
101
101
|
text-align: left;
|
|
102
|
-
`,
|
|
102
|
+
`,Ke=o.div`
|
|
103
103
|
display: flex;
|
|
104
104
|
flex-direction: column;
|
|
105
105
|
align-items: flex-start;
|
|
@@ -110,13 +110,13 @@ import{a as xe,f0 as fe,j as t,l as T,F as ge,bU as ye,M as je,bW as Se,bX as $e
|
|
|
110
110
|
color: ${e=>e.theme.colors.primary};
|
|
111
111
|
align-items: center;
|
|
112
112
|
justify-content: flex-start;
|
|
113
|
-
`,
|
|
113
|
+
`,Je=o.div`
|
|
114
114
|
display: flex;
|
|
115
115
|
flex-direction: row;
|
|
116
116
|
align-items: flex-start;
|
|
117
117
|
justify-content: flex-start;
|
|
118
118
|
gap: ${i.sp1};
|
|
119
|
-
`,
|
|
119
|
+
`,Qe=o.div`
|
|
120
120
|
display: flex;
|
|
121
121
|
flex-direction: column;
|
|
122
122
|
align-items: flex-start;
|
|
@@ -162,7 +162,7 @@ import{a as xe,f0 as fe,j as t,l as T,F as ge,bU as ye,M as je,bW as Se,bX as $e
|
|
|
162
162
|
justify-content: center;
|
|
163
163
|
min-width: ${m.sourceContainerWidth}px;
|
|
164
164
|
gap: ${i.sp2};
|
|
165
|
-
`,at=o(
|
|
165
|
+
`,at=o(Q)`
|
|
166
166
|
display: flex;
|
|
167
167
|
color: ${e=>e.theme.colors.primary};
|
|
168
168
|
align-items: center;
|
|
@@ -187,7 +187,7 @@ import{a as xe,f0 as fe,j as t,l as T,F as ge,bU as ye,M as je,bW as Se,bX as $e
|
|
|
187
187
|
color: ${e=>e.theme.colors.hero};
|
|
188
188
|
align-items: center;
|
|
189
189
|
justify-content: flex-end;
|
|
190
|
-
`,
|
|
190
|
+
`,_=o(l)`
|
|
191
191
|
display: flex;
|
|
192
192
|
color: ${e=>e.theme.colors.primary};
|
|
193
193
|
align-items: center;
|
|
@@ -198,7 +198,7 @@ import{a as xe,f0 as fe,j as t,l as T,F as ge,bU as ye,M as je,bW as Se,bX as $e
|
|
|
198
198
|
align-items: center;
|
|
199
199
|
justify-content: flex-end;
|
|
200
200
|
gap: ${i.sp1};
|
|
201
|
-
`,
|
|
201
|
+
`,N=o.div`
|
|
202
202
|
display: flex;
|
|
203
203
|
flex-direction: row;
|
|
204
204
|
align-items: center;
|
|
@@ -236,4 +236,4 @@ import{a as xe,f0 as fe,j as t,l as T,F as ge,bU as ye,M as je,bW as Se,bX as $e
|
|
|
236
236
|
color: ${e=>e.status==="connected"?e.theme.colors.success:e.status==="reconnect"?e.theme.colors.important:e.theme.colors.link};
|
|
237
237
|
cursor: pointer;
|
|
238
238
|
text-decoration: underline;
|
|
239
|
-
`,{common:p,dateFormat:G,expenseAutomation:{accountRecon:c}}=je.getLocalizedStrings(),ht=(e,n)=>`${e}.${n}`,mt="accountReconDrawerDetailsPage",se="accountReconDrawerDetailsSection";function
|
|
239
|
+
`,{common:p,dateFormat:G,expenseAutomation:{accountRecon:c}}=je.getLocalizedStrings(),ht=(e,n)=>`${e}.${n}`,mt="accountReconDrawerDetailsPage",se="accountReconDrawerDetailsSection";function Ft({accountReconciliation:e,plaidConnectionDetails:n,monthYearPeriod:d,openFilePicker:u,filesEndPoint:f,authParams:S,onDismissClick:$,onFetchLinkTokenClick:E,onEstablishConnectionClick:P,onSelectSourceType:T,onDeleteFile:R,onEditFileName:U,onStatementUploadSuccess:L,onUploadWindowOpenedOnce:B}){const x=xe({mode:"all",reValidateMode:"onChange",defaultValues:J(e),resetOptions:{keepDirtyValues:!0,keepErrors:!0},values:J(e)}),k=x.handleSubmit(()=>{}),[h,g]=r.useState(void 0),v=n.link_account_no_microdeposit,C=n.update_account,s=h==="update_account"?C:v,[y,M]=r.useState(s.linkToken??null),[a,w]=r.useState(!1),[z,Y]=r.useState(!1),[O,W]=r.useState(void 0),[re,H]=r.useState(void 0),le=r.useCallback(()=>{g("link_account_no_microdeposit")},[]),de=r.useCallback(()=>{g("update_account"),E("update_account",e.paymentAccountId)},[e.paymentAccountId]),ue={onOkClick:()=>{O!=null&&(R(O),W(void 0)),H(void 0),Y(!1)},onCancelClick:()=>{W(void 0),Y(!1)}},q=r.useRef(h);r.useEffect(()=>{q.current=h},[h]);const pe=r.useCallback(D=>{P(D,e.accountReconEntity.account.accountId,q.current),g(void 0),w(!1)},[P,e.accountReconEntity.account.accountId]),he=r.useCallback((D,me)=>{D!=null&&console.log("Plaid Connection Error",D,me),g(void 0),w(!1)},[]),{open:V,ready:X}=fe({token:y,onSuccess:pe,onExit:he});return r.useEffect(()=>{(F.zeniDate(new Date().toISOString()).isAfter(s.expiration)||s.linkToken==null)&&s.fetchStatus.fetchState==="Not-Started"&&E("link_account_no_microdeposit")},[s.fetchStatus.fetchState]),r.useEffect(()=>{!a&&h!=null&&s.linkToken===y&&s.fetchStatus.fetchState==="Completed"&&X&&w(!0)},[X,y,s.fetchStatus.fetchState,s.linkToken,h,a]),r.useEffect(()=>{s.fetchStatus.fetchState==="Completed"&&s.linkToken!=null&&s.linkToken!==y&&M(s.linkToken)},[s.fetchStatus.fetchState,s.linkToken,y]),r.useEffect(()=>{a&&V()},[a,V]),t.jsxs(Ue,{children:[t.jsx(Be,{children:t.jsx(Oe,{children:t.jsxs(We,{children:[t.jsx(Le,{}),t.jsxs(Ae,{children:[t.jsx(Ne,{children:e.accountReconEntity.account.accountName}),t.jsx(ie,{children:t.jsx($t,{monthYearPeriod:d})})]}),t.jsx(ze,{children:t.jsx(Me,{onClick:$})})]})})}),t.jsxs(Ye,{children:[t.jsx(ge,{...x,children:t.jsx("form",{style:{width:"100%"},id:mt,onSubmit:k,children:t.jsx(xt,{monthYearPeriod:d,accountReconciliation:e,filesEndPoint:f,openFilePicker:u,authParams:S,onConnectClick:le,onReconnectClick:de,onSelectSourceType:T,onDeleteFile:R,onEditFileName:U,onStatementUploadSuccess:L,onUploadWindowOpenedOnce:B,showConfirmationPopup:z,setShowConfirmationPopup:Y,deleteFileId:O,setDeleteFileId:W,uploadErrorMessage:re,setUploadErrorMessage:H})})}),z===!0||e.statementDeleteStatus.fetchState==="In-Progress"?t.jsx(ye,{titleComponent:t.jsx($e,{children:c.reconciliation.drawer.deleteConfirmation.heading}),descriptionComponent:t.jsx(Se,{children:c.reconciliation.drawer.deleteConfirmation.description}),isLoading:e.statementDeleteStatus.fetchState==="In-Progress",primaryButtonText:p.confirm,secondaryButtonText:p.cancel,action:ue}):null]})]})}const xt=({monthYearPeriod:e,accountReconciliation:n,filesEndPoint:d,authParams:u,openFilePicker:f,onConnectClick:S,onReconnectClick:$,setDeleteFileId:E,setShowConfirmationPopup:P,onEditFileName:T,onSelectSourceType:R,onStatementUploadSuccess:U,onUploadWindowOpenedOnce:L,uploadErrorMessage:B,setUploadErrorMessage:x})=>{const[k,h]=r.useState(!1),g=(n.localData?.accountSource??"plaid")==="plaid"?n.accountReconEntity.reconciliationId!=null?n.accountReconEntity.reconUpdatedAt:n.accountReconEntity.accountUpdatedAt:n.accountReconEntity.reconUpdatedAt,v=[];v.push({label:c.reconciliation.menu.bankConnection,value:"plaid"}),v.push({label:c.reconciliation.menu.statement,value:"bank_statement"});const C=n.localData?.accountSource,s=n.accountConnectionStatus==="connected"||n.connectionInProgress===!0?"plaid":n.accountReconEntity.statementStatus?.code==="uploaded"||n.statementParseInProgress===!0||k?"bank_statement":void 0;r.useEffect(()=>{n.accountReconEntity.statementStatus.code==="uploaded"&&(n.accountReconEntity.statementDataStatus?.code==="validation_failed"||n.accountReconEntity.statementDataStatus?.code==="parsing_failed"||n.accountReconEntity.statementDataStatus?.code==="processing_failed")&&x(Ie(n.accountReconEntity.statementDataStatus?.code,"drawer",n.accountReconEntity.errorMessage?.errorShort))},[n.accountReconEntity.statementStatus.code,n.accountReconEntity.statementDataStatus?.code,n.accountReconEntity.errorMessage?.errorShort,x]);const y=["reconciled","in_progress","reconciled_via_qbo"],M=n.accountReconEntity.reconciliationStatus!=null&&y.includes(n.accountReconEntity.reconciliationStatus.code);return t.jsxs(He,{children:[t.jsxs(qe,{children:[t.jsxs(Ve,{children:[t.jsx(A,{children:c.reconciliation.headers.bankBalance}),t.jsx(Xe,{children:t.jsx(_e,{bankBalance:n.accountReconEntity.balance,bankConnection:n.accountConnectionStatus,isLoading:!1,fromDrawer:!0,accountId:n.accountReconEntity.account.accountId,statementStatus:n.accountReconEntity.statementStatus.code,onStatementAddClicked:()=>{},setIsHovering:()=>{}})})]}),t.jsxs(Ke,{children:[t.jsx(A,{children:c.reconciliation.headers.clearedBalance}),t.jsx(Ge,{children:t.jsx(Fe,{clearedBalance:n.accountReconEntity.clearedBalance,isLoading:!1})})]}),t.jsxs(Qe,{children:[t.jsx(A,{children:c.reconciliation.headers.variance}),t.jsx(Ze,{children:t.jsx(jt,{variance:n.accountReconEntity.variance,variancePercentage:n.accountReconEntity.variancePercentage})})]})]}),t.jsxs(ct,{children:[t.jsxs(at,{children:[" ",c.reconciliation.drawer.source," "]}),t.jsxs(st,{children:[t.jsxs(b,{children:[t.jsx(I,{children:c.reconciliation.drawer.labels.type}),t.jsx(_,{children:s!=null?t.jsx(j,{children:s==="plaid"?t.jsxs(t.Fragment,{children:[t.jsx(ce,{}),c.reconciliation.menu.bankConnection]}):t.jsxs(t.Fragment,{children:[t.jsx(ae,{}),c.reconciliation.menu.statement]})}):t.jsx(Ce,{controller:!0,children:t.jsx(we,{moreIconType:"custom",customIcon:t.jsx(ft,{selectedSourceType:C}),options:v,customStyleConfig:{option:()=>({".option-container":{justifyContent:"flex-start"}}),valueContainer:()=>({height:i.sp5,width:"180px"})},menuPlacement:"bottom",onOptionSelection:a=>{R(F.toReconciliationAccountSource(a))},valueToIcon:a=>a==="plaid"?t.jsx(lt,{}):a==="bank_statement"?t.jsx(dt,{}):null})})})]}),C==="bank_statement"?t.jsx(b,{children:t.jsx(be,{name:ht(se,"file"),file:n.accountReconEntity.statementMetaData?.file,showPhotoPicker:!1,isDisabled:M,sizeLimit:1e7,onFileSizeError:a=>{a&&x(p.fileElementPicker.sizeLimit)},deleteFileStatusById:{},updateFileStatusById:{},filesEndPoint:d,authParams:u,acceptableTypes:["application/pdf"],placeholderText:c.reconciliation.drawer.downloadPlaceholder,autoOpenFilePicker:f,accountStatementUpload:{uploadHelper:F.uploadAccountStatementIntoDocumentAI,metadataPayload:{accountId:n.accountReconEntity.account.accountId,monthYearPeriod:e},errorMessage:B,onUploadError:a=>{x(a?.message)},onUploadSuccess:a=>{U(a),h(!1)},onUploadStart:()=>{h(!0),x(void 0)},onUploadWindowOpenedOnce:()=>{L()}},onDeleteFile:a=>{E(a),P(!0)},onEditFileName:(a,w)=>{T(a,w)}})}):null,t.jsxs(b,{children:[t.jsx(I,{children:c.reconciliation.drawer.labels.status}),t.jsx(_,{children:C!=="bank_statement"?t.jsx(gt,{status:n.accountConnectionStatus,connectionInProgress:n.connectionInProgress,onConnectClick:S,onReconnectClick:$}):t.jsx(yt,{uploadInProgress:k,status:n.accountReconEntity.statementDataStatus?.code})})]}),t.jsxs(b,{children:[t.jsx(I,{children:c.reconciliation.drawer.labels.accountType}),t.jsx(_,{children:t.jsx(St,{accountSubType:K(n.accountReconEntity.account.accountSubType??"")})})]}),t.jsxs(b,{children:[t.jsx(I,{children:c.reconciliation.drawer.labels.lastUpdated}),t.jsx(_,{children:t.jsx(ee,{isLoading:k,customStyle:{height:"20px",width:"100px"},position:"left",children:g!=null?t.jsx(j,{children:K(g.utc(!0).fromNow())}):p.strings.hyphen})})]})]})]})]})},ft=({selectedSourceType:e})=>t.jsxs(nt,{children:[e==null||e==="plaid"?t.jsx(ce,{}):t.jsx(ae,{}),t.jsx(ot,{children:e==null||e==="plaid"?c.reconciliation.menu.bankConnection:c.reconciliation.menu.statement}),t.jsx(it,{})]}),gt=({status:e,connectionInProgress:n,onConnectClick:d,onReconnectClick:u})=>n?t.jsx(N,{children:c.reconciliation.drawer.values.connecting}):e==="connected"?t.jsxs(N,{children:[t.jsx(rt,{}),t.jsx(ut,{children:c.reconciliation.drawer.values.connected})]}):t.jsx(N,{onClick:e==="reconnect"?u:d,children:t.jsx(pt,{status:e,children:e==="reconnect"?c.reconciliation.drawer.values.reconnect:c.reconciliation.drawer.values.connect})}),yt=({status:e,uploadInProgress:n})=>n?t.jsx(ee,{isLoading:n,customStyle:{height:"20px",width:"100px"},position:"left",children:t.jsx(t.Fragment,{})}):e==null?t.jsx(j,{children:p.strings.hyphen}):e==="parsing"?t.jsx(j,{children:c.reconciliation.drawer.values.statementParsing}):e==="validated"?t.jsx(j,{children:c.reconciliation.drawer.values.uploaded}):t.jsx(j,{children:p.strings.hyphen}),jt=({variance:e,variancePercentage:n,reconciliationStatusCode:d})=>{const u=Ee(),{varianceColor:f,variancePercentageColor:S,variancePercentageContainerColor:$}=Te(u,e,d,!0);return t.jsxs(Je,{children:[t.jsx(et,{textColor:f,children:Pe("0,0",e)??p.strings.hyphen}),t.jsxs(tt,{textColor:S,bgColor:$,children:[n!=null?n===0?"0":n.toFixed(2):null,n!=null?p.strings.percentage:null]})]})},St=({accountSubType:e})=>{const n=e!=null?e.replace("_"," "):p.strings.hyphen;return t.jsx(j,{children:n})},$t=({monthYearPeriod:e})=>t.jsx(ie,{children:kt(e)}),kt=e=>{const{month:n,year:d}=e,u=F.zeniDate(`${d}-${String(n).padStart(2,"0")}-01`);let f=u.endOf("month");return`${u.format(G.visual.DMMMYYYYFormat)} ${p.strings.hyphen} ${f.format(G.visual.DMMMYYYYFormat)}`},J=e=>({[se]:{file:e.accountReconEntity.statementMetaData?.file,selectedType:e.localData?.accountSource}});export{Ft as default,ht as uniqueName};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{j as t,
|
|
1
|
+
import{j as t,B as se,a0 as E,bA as f,o,Z as y,_ as re,dL as le,k as $,dM as de,g,dN as Z,dO as J,cw as ue,a8 as x,c as X,s as p,e as xe,u as S,af as pe,ds as he,m as ge,K as me,n as I,b5 as fe,dE as je}from"./index-CjrcOwMA.js";import{n as a,b as ye,j as $e}from"./vendor-rkTZJa59.js";const we=a.div`
|
|
2
2
|
position: relative;
|
|
3
3
|
${e=>e.showTreeLine===!0&&e.collapsed!==!0?`&::after {
|
|
4
4
|
content: "";
|
|
@@ -20,10 +20,10 @@ import{j as t,M as se,a0 as E,bA as f,o,_ as y,T as re,dL as le,n as w,dM as de,
|
|
|
20
20
|
align-items: center;
|
|
21
21
|
justify-content: center;
|
|
22
22
|
color: ${e=>e.colour.toString()};
|
|
23
|
-
`,
|
|
23
|
+
`,ve=a(ge)`
|
|
24
24
|
text-align: center;
|
|
25
25
|
color: ${e=>e.colour.toString()};
|
|
26
|
-
`,
|
|
26
|
+
`,Ce=a.div`
|
|
27
27
|
svg {
|
|
28
28
|
path {
|
|
29
29
|
stroke-width: 2;
|
|
@@ -38,7 +38,7 @@ import{j as t,M as se,a0 as E,bA as f,o,_ as y,T as re,dL as le,n as w,dM as de,
|
|
|
38
38
|
margin-left: 2px;
|
|
39
39
|
width: 12px;
|
|
40
40
|
height: 12px;
|
|
41
|
-
`;function Te({firstLetter:e,color:n,showIcon:i,showCollapsedIcon:c,showTreeLine:l=!1,className:d}){return t.jsx(
|
|
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(be,{colour:n,className:d,children:t.jsx(Ce,{children:i===!0?c===!0?t.jsx(ke,{}):t.jsx(Re,{}):t.jsx(ve,{colour:n,className:d,children:e})})})})}const Ee=a.div`
|
|
42
42
|
display: flex;
|
|
43
43
|
flex: 1 1 auto;
|
|
44
44
|
max-height: 1px;
|
|
@@ -52,7 +52,7 @@ import{j as t,M as se,a0 as E,bA as f,o,_ as y,T as re,dL as le,n as w,dM as de,
|
|
|
52
52
|
flex: 1 1 auto;
|
|
53
53
|
height: 1px;
|
|
54
54
|
width: 100%;
|
|
55
|
-
`;function Le({kind:e,isScrolling:n}){switch(e){case"section_separator":return t.jsx(Ee,{isScrolling:n});case"account_separator":return t.jsx(
|
|
55
|
+
`;function Le({kind:e,isScrolling:n}){switch(e){case"section_separator":return t.jsx(Ee,{isScrolling:n});case"account_separator":return t.jsx(We,{"data-testid":y("account-separator",e)})}}const We=()=>t.jsx(Se,{children:t.jsx(Ie,{className:"part-separator"})}),u={timeframeHeight:p[10],leftHeadingWidth:386,leftTimeframeWidth:161,leftLabelWidth:190,bankBalanceWidth:128,bankBalanceTimeframeWidth:126,bankBalanceRightWidth:p[4],bankBalanceRightTimeframeWidth:p[4],clearedBalanceWidth:144,clearedBalanceTimeframeWidth:142,varianceWidth:193,varianceTimeframeWidth:180,varianceNumberWidth:112,varianceNumberLoadingWidth:130,variancePercentageWidth:p[10],statusWidth:144,statusTimeframeWidth:142,tickLeftMargin:p[4],circleRadius:p[4],spacerLineWidth:p[5],wrapperPadding:p[8]};function Lt(e){switch(e){case"timeframe_headers":return p[12];case"title_string_only":return p[8];case"ac_group_report":return p[8];case"total":return p[8];case"section":return p[0];case"loading_in_progress":return p[8];default:return p[0]}}function Wt(){return!0}const Pe=a.div`
|
|
56
56
|
display: flex;
|
|
57
57
|
flex-direction: column;
|
|
58
58
|
height: ${e=>e.heightValue}px;
|
|
@@ -64,7 +64,7 @@ import{j as t,M as se,a0 as E,bA as f,o,_ as y,T as re,dL as le,n as w,dM as de,
|
|
|
64
64
|
background-color: ${e=>e.isLastRow?e.theme.colors.hero:e.isSelectedRow?e.theme.colors.primary:e.theme.colors.grey3};
|
|
65
65
|
}
|
|
66
66
|
.any-text-container {
|
|
67
|
-
${e=>e.isSelectedRow
|
|
67
|
+
${e=>e.isSelectedRow?$e`
|
|
68
68
|
color: ${e.theme.colors.primary};
|
|
69
69
|
`:null}
|
|
70
70
|
}
|
|
@@ -108,7 +108,7 @@ import{j as t,M as se,a0 as E,bA as f,o,_ as y,T as re,dL as le,n as w,dM as de,
|
|
|
108
108
|
align-items: center;
|
|
109
109
|
gap: ${o.sp1};
|
|
110
110
|
margin-top: ${o.sp1};
|
|
111
|
-
`,Ae=a(
|
|
111
|
+
`,Ae=a($)`
|
|
112
112
|
user-select: none;
|
|
113
113
|
clear: both;
|
|
114
114
|
display: inline-block;
|
|
@@ -125,18 +125,18 @@ import{j as t,M as se,a0 as E,bA as f,o,_ as y,T as re,dL as le,n as w,dM as de,
|
|
|
125
125
|
justify-content: flex-end;
|
|
126
126
|
align-items: center;
|
|
127
127
|
color: ${e=>e.theme.colors.hero};
|
|
128
|
-
`,Oe=a(
|
|
128
|
+
`,Oe=a($)`
|
|
129
129
|
width: ${u.bankBalanceWidth}px;
|
|
130
130
|
min-width: ${u.bankBalanceWidth}px;
|
|
131
131
|
text-align: right;
|
|
132
132
|
`,Ve=a.div`
|
|
133
133
|
width: ${u.bankBalanceRightWidth}px;
|
|
134
134
|
min-width: ${u.bankBalanceRightWidth}px;
|
|
135
|
-
`,
|
|
135
|
+
`,Qe=a($)`
|
|
136
136
|
width: ${u.clearedBalanceWidth}px;
|
|
137
137
|
min-width: ${u.clearedBalanceWidth}px;
|
|
138
138
|
text-align: right;
|
|
139
|
-
`,
|
|
139
|
+
`,Ue=a($)`
|
|
140
140
|
width: ${u.statusWidth}px;
|
|
141
141
|
min-width: ${u.statusWidth}px;
|
|
142
142
|
height: 1px;
|
|
@@ -155,7 +155,7 @@ import{j as t,M as se,a0 as E,bA as f,o,_ as y,T as re,dL as le,n as w,dM as de,
|
|
|
155
155
|
margin-left: ${o.sp3};
|
|
156
156
|
height: ${e=>e.heightValue}px;
|
|
157
157
|
background-color: ${e=>e.theme.colors.grey3};
|
|
158
|
-
`,
|
|
158
|
+
`,ze=a.div`
|
|
159
159
|
display: flex;
|
|
160
160
|
flex-shrink: 0;
|
|
161
161
|
width: ${u.varianceTimeframeWidth}px;
|
|
@@ -166,12 +166,12 @@ import{j as t,M as se,a0 as E,bA as f,o,_ as y,T as re,dL as le,n as w,dM as de,
|
|
|
166
166
|
text-align: center;
|
|
167
167
|
gap: ${o.sp2};
|
|
168
168
|
margin-left: ${u.tickLeftMargin}px;
|
|
169
|
-
`,
|
|
169
|
+
`,qe=a($)`
|
|
170
170
|
border-radius: ${o.sp1};
|
|
171
171
|
color: ${e=>e.textColor.hex()};
|
|
172
172
|
min-width: ${u.varianceNumberWidth}px;
|
|
173
173
|
text-align: right;
|
|
174
|
-
`,
|
|
174
|
+
`,Ke=a($)`
|
|
175
175
|
border-radius: ${o.sp1};
|
|
176
176
|
padding: ${o.sp0} ${o.sp1};
|
|
177
177
|
justify-content: center;
|
|
@@ -179,28 +179,28 @@ import{j as t,M as se,a0 as E,bA as f,o,_ as y,T as re,dL as le,n as w,dM as de,
|
|
|
179
179
|
color: ${e=>e.textColor.hex()};
|
|
180
180
|
background-color: ${e=>e.bgColor.hex()};
|
|
181
181
|
min-width: ${u.variancePercentageWidth}px;
|
|
182
|
-
`,
|
|
182
|
+
`,Ge=a.div`
|
|
183
183
|
display: flex;
|
|
184
184
|
flex-direction: row;
|
|
185
185
|
align-items: center;
|
|
186
|
-
`,
|
|
186
|
+
`,Ze=a.div`
|
|
187
187
|
display: flex;
|
|
188
188
|
flex-direction: column;
|
|
189
189
|
align-items: center;
|
|
190
|
-
`,
|
|
190
|
+
`,Je=a.div`
|
|
191
191
|
display: flex;
|
|
192
192
|
flex-direction: row;
|
|
193
193
|
align-items: center;
|
|
194
194
|
gap: ${o.sp1};
|
|
195
|
-
`,
|
|
195
|
+
`,Xe=a(I)`
|
|
196
196
|
color: ${g.success};
|
|
197
|
-
`,
|
|
197
|
+
`,K=a(I)`
|
|
198
198
|
color: ${g.success};
|
|
199
199
|
`,Ye=a(je)`
|
|
200
200
|
width: ${o.sp3};
|
|
201
201
|
height: ${o.sp3};
|
|
202
202
|
color: ${g.success};
|
|
203
|
-
`,R=a(
|
|
203
|
+
`,R=a($)`
|
|
204
204
|
text-align: right;
|
|
205
205
|
`,et=a.div`
|
|
206
206
|
display: flex;
|
|
@@ -210,7 +210,7 @@ import{j as t,M as se,a0 as E,bA as f,o,_ as y,T as re,dL as le,n as w,dM as de,
|
|
|
210
210
|
`,tt=a(ue)`
|
|
211
211
|
width: ${o.sp3};
|
|
212
212
|
height: ${o.sp3};
|
|
213
|
-
`,nt=a(
|
|
213
|
+
`,nt=a($)`
|
|
214
214
|
text-align: right;
|
|
215
215
|
color: ${g.important};
|
|
216
216
|
cursor: pointer;
|
|
@@ -238,14 +238,14 @@ import{j as t,M as se,a0 as E,bA as f,o,_ as y,T as re,dL as le,n as w,dM as de,
|
|
|
238
238
|
height: 12px;
|
|
239
239
|
color: ${e=>e.iconColor.hex()};
|
|
240
240
|
margin-top: ${o.sp1};
|
|
241
|
-
|
|
241
|
+
`,w=a.div`
|
|
242
242
|
display: flex;
|
|
243
243
|
gap: ${o.sp1};
|
|
244
244
|
`,M=a.div`
|
|
245
245
|
display: flex;
|
|
246
246
|
flex-direction: column;
|
|
247
247
|
align-items: center;
|
|
248
|
-
`,
|
|
248
|
+
`,G=a($)`
|
|
249
249
|
color: ${e=>e.theme.colors.hero};
|
|
250
250
|
`,O=a.div`
|
|
251
251
|
display: flex;
|
|
@@ -254,9 +254,9 @@ import{j as t,M as se,a0 as E,bA as f,o,_ as y,T as re,dL as le,n as w,dM as de,
|
|
|
254
254
|
gap: ${o.sp1};
|
|
255
255
|
`,V=a(I)`
|
|
256
256
|
color: ${e=>e.textColor.hex()};
|
|
257
|
-
`,
|
|
257
|
+
`,Q=a(I)`
|
|
258
258
|
color: ${e=>e.textColor.hex()};
|
|
259
|
-
`,
|
|
259
|
+
`,U=a.div`
|
|
260
260
|
display: flex;
|
|
261
261
|
flex-direction: row;
|
|
262
262
|
align-items: center;
|
|
@@ -271,28 +271,28 @@ import{j as t,M as se,a0 as E,bA as f,o,_ as y,T as re,dL as le,n as w,dM as de,
|
|
|
271
271
|
flex-direction: column;
|
|
272
272
|
align-items: center;
|
|
273
273
|
justify-content: center;
|
|
274
|
-
`,rt=a(
|
|
274
|
+
`,rt=a(X)`
|
|
275
275
|
color: ${e=>e.theme.colors.hero};
|
|
276
|
-
`,lt=a(
|
|
276
|
+
`,lt=a(X)`
|
|
277
277
|
color: ${g.brandColorPearl};
|
|
278
278
|
`,dt=a.div`
|
|
279
279
|
display: flex;
|
|
280
280
|
flex-direction: row;
|
|
281
281
|
align-items: center;
|
|
282
282
|
justify-content: center;
|
|
283
|
-
`,ut=a(
|
|
283
|
+
`,ut=a(Z)`
|
|
284
284
|
width: ${o.sp3};
|
|
285
285
|
height: ${o.sp3};
|
|
286
286
|
margin-top: 2px;
|
|
287
|
-
`,xt=a(
|
|
287
|
+
`,xt=a(Z)`
|
|
288
288
|
width: ${o.sp3};
|
|
289
289
|
height: ${o.sp3};
|
|
290
|
-
`,pt=a(
|
|
290
|
+
`,pt=a(J)`
|
|
291
291
|
width: ${o.sp3};
|
|
292
292
|
height: ${o.sp3};
|
|
293
293
|
margin-top: 2px;
|
|
294
|
-
`,ht=a(
|
|
294
|
+
`,ht=a(J)`
|
|
295
295
|
width: ${o.sp3};
|
|
296
296
|
height: ${o.sp3};
|
|
297
297
|
margin-top: 2px;
|
|
298
|
-
`,{expenseAutomation:{accountRecon:{reconciliation:s}},common:{strings:{hyphen:h,percentage:gt}}}=se.getLocalizedStrings();function Wt({height:e,accountRecon:n,isLastRow:i,isSelectedRow:c,onReviewClicked:l,onOpenDrawerClicked:d,onConnectClicked:r,onReconnectClicked:m,onStatementAddClicked:C}){const B=xe(),L=S(),v=n.accountReconEntity.account.accountName,j=n.accountReconEntity.balance,_=n.accountReconEntity.clearedBalance,te=n.accountReconEntity.variance,ne=n.accountReconEntity.variancePercentage,oe=()=>{r?.(n.accountReconEntity.account.accountId)},ae=()=>{m?.(n.accountReconEntity.account.accountId)},ie=()=>{C?.(n.accountReconEntity.account.accountId)},H=()=>{l?.(n.accountReconEntity.account.accountId)},[ce,N]=ye.useState(!1),q=n.accountConnectionStatus==="connected"||n.connectionInProgress===!0?"plaid":n.accountReconEntity.statementStatus?.code==="uploaded"||n.statementParseInProgress===!0?"bank_statement":"plaid",T=q==="plaid"?n.accountReconEntity.balanceDataStatus?.code==="in_progress"||n.connectionInProgress===!0:n.accountReconEntity.statementDataStatus?.code==="parsing"||n.statementParseInProgress===!0;let z=e;return i&&(z=e+p[8]),t.jsxs(We,{"data-testid":y("total-row-root-container"),heightValue:z,isLastRow:i,windowSize:B,isSelectedRow:c,onClick:()=>{ce!==!0&&d?.(n.accountReconEntity.account.accountId)},children:[t.jsxs(_e,{isClickable:!0,"data-testid":y("total-row-container"),heightValue:e,children:[t.jsxs(Ne,{children:[t.jsx(Te,{firstLetter:v.charAt(0),color:new x(L.colors.hero),showIcon:!1,showCollapsedIcon:!1,className:"any-text-container"}),t.jsx(De,{children:t.jsx(f,{enterDelay:600,title:v,style:{padding:`${o.sp1} ${o.sp2}`},placement:"bottom",children:t.jsx(Ae,{className:"any-text-container",children:v})})})]}),t.jsxs(Me,{children:[t.jsx(Oe,{children:t.jsx(wt,{lastUpdatedAt:n.accountReconEntity.reconciliationId!=null?n.accountReconEntity.reconUpdatedAt:n.accountReconEntity.accountUpdatedAt,setIsHovering:N,statementStatus:n.accountReconEntity.statementStatus.code,accountId:n.accountReconEntity.account.accountId,bankBalance:j,bankConnection:n.accountConnectionStatus,onConnectClicked:oe,onStatementAddClicked:ie,isLoading:T,onReconnectClicked:ae})}),t.jsx(Ve,{children:t.jsx(kt,{statementStatus:n.accountReconEntity.statementStatus.code,statementParseInProgress:n.statementParseInProgress,connectionInProgress:n.connectionInProgress,bankStatusCode:n.accountConnectionStatus})}),t.jsx(Ue,{children:t.jsx($t,{clearedBalance:_,isLoading:T})}),t.jsx(mt,{isLoading:T,variance:te,variancePercentage:ne,reconciliationStatusCode:n.accountReconEntity.reconciliationStatus?.code}),t.jsx(Fe,{children:t.jsx(He,{heightValue:e})}),t.jsx(Qe,{onMouseEnter:()=>{N(!0)},onMouseLeave:()=>{N(!1)},children:q==="plaid"?t.jsx(jt,{accountRecon:n,isLoading:T,onReviewClicked:H}):t.jsx(yt,{accountRecon:n,isLoading:T,onReviewClicked:H})})]})]}),t.jsx(Le,{kind:"account_separator",isScrolling:!1}),i?t.jsx(Be,{}):null]})}const mt=({variance:e,variancePercentage:n,reconciliationStatusCode:i,isLoading:c})=>{const l=S(),{varianceColor:d,variancePercentageColor:r,variancePercentageContainerColor:m}=ft(l,e,i),C=c?h:e!=null&&e.amount===0?"0%":n!=null?n===0?"0%":`${n.toFixed(2)}${gt}`:h;return t.jsxs(qe,{children:[t.jsx(ze,{textColor:d,className:"any-text-container",children:e==null||c?h:E("0,0",e)}),t.jsx(Ge,{textColor:r,bgColor:m,className:"any-text-container",children:C})]})},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(Ct,{});if(e.accountReconEntity.balanceDataStatus?.code==="not_found"){let m="";return e.accountReconEntity.balance==null&&e.accountReconEntity.clearedBalance==null?m=s.status.balanceNotFound:e.accountReconEntity.balance==null?m=s.status.bankBalanceNotFound:m=s.status.clearedBalanceNotFound,t.jsx(bt,{status:m,tooltipText:r})}if(l==="reconnect"||l==="not_connected")return t.jsx(D,{tooltipText:r,showTooltip:d!=null});if(c==null&&l==="connected"&&e.accountReconEntity.balance!=null&&e.accountReconEntity.clearedBalance!=null)return t.jsx(P,{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(P,{buttonLabel:s.status.review,isDisabled:!1,dataTestId:y("status-button",e.accountReconEntity.account.accountId),tooltipText:r,onClick:i});case"reconciled":return t.jsx(W,{isQBO:!1,user:e.accountReconEntity.user,tooltipText:r});case"in_progress":return t.jsx(ee,{tooltipText:r});case"failed":return t.jsx(Y,{tooltipText:r});case"reconciled_on_qbo":return t.jsx(W,{isQBO:!0,tooltipText:r});default:return null}else return t.jsx(D,{showTooltip:d!=null,tooltipText:r})},yt=({accountRecon:e,isLoading:n,onReviewClicked:i})=>{const c=e.accountReconEntity.reconciliationStatus,l=e.accountReconEntity.statementDataStatus?.code==="validated"||e.accountReconEntity.statementDataStatus?.code==="processed",d=e.accountReconEntity.reconUpdatedAt,r=d!=null?`${d.utc(!0).fromNow().toLowerCase()}`:h;if(e.accountReconEntity.statementDataStatus?.code==="parsing_failed"||e.accountReconEntity.statementDataStatus?.code==="validation_failed"||e.accountReconEntity.statementDataStatus?.code==="processing_failed")return t.jsx(Rt,{code:e.accountReconEntity.statementDataStatus?.code,tooltipText:r,errorMessage:e.accountReconEntity.errorMessage?.errorShort});if(n)return t.jsx(vt,{});if(c==null&&l&&e.accountReconEntity.balance!=null&&e.accountReconEntity.clearedBalance!=null)return t.jsx(P,{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(P,{buttonLabel:s.status.review,isDisabled:!1,dataTestId:y("status-button",e.accountReconEntity.account.accountId),tooltipText:r,onClick:i});case"reconciled":return t.jsx(W,{isQBO:!1,user:e.accountReconEntity.user,tooltipText:r});case"reconciled_on_qbo":return t.jsx(W,{isQBO:!0,tooltipText:r});case"in_progress":return t.jsx(ee,{tooltipText:r});case"failed":return t.jsx(Y,{tooltipText:r});default:return null}else return t.jsx(D,{showTooltip:d!=null,tooltipText:r})},P=({buttonLabel:e,isDisabled:n,tooltipText:i,dataTestId:c,onClick:l})=>t.jsx(f,{title:t.jsx(b,{tooltipText:i}),style:{padding:`${o.sp1} ${o.sp2}`},maxWidth:"105px",placement:"bottom",children:t.jsx(Je,{children:t.jsx(me,{label:e,size:"standard",variant:"secondary",style:{padding:`${o.sp1} 12px`},disabled:n,"data-testid":c,onClick:d=>{d.stopPropagation(),l()}})})}),W=({user:e,isQBO:n,tooltipText:i})=>t.jsx(f,{title:t.jsx(b,{tooltipText:i}),style:{padding:`${o.sp1} ${o.sp2}`},maxWidth:"105px",placement:"bottom",children:t.jsxs(Xe,{children:[t.jsxs(Ze,{children:[t.jsx(Ye,{}),t.jsx(Ke,{children:n?s.status.reconciledVia:s.status.reconciledBy})]}),n?t.jsx(G,{children:s.status.QBOUser}):e&&t.jsxs(G,{children:[e.firstName," ",e.lastName]})]})}),wt=({bankBalance:e,bankConnection:n,statementStatus:i,lastUpdatedAt:c,fromDrawer:l=!1,onConnectClicked:d,onReconnectClicked:r,isLoading:m,accountId:C,onStatementAddClicked:B,setIsHovering:L})=>{const v=Tt();if(l===!0)return t.jsx(R,{className:"any-text-container",children:E("0,0",e)??h});if(m===!0)return t.jsx(R,{className:"any-text-container",children:h});if(n==="reconnect"){const j=c!=null?`${c.utc(!0).fromNow()}`:h;return t.jsxs(ot,{children:[t.jsxs(at,{children:[t.jsx(it,{children:t.jsx(f,{title:t.jsx(b,{tooltipText:j}),placement:"bottom",style:{padding:`2px ${o.sp2}`},children:t.jsx(ct,{})})}),t.jsx(R,{className:"any-text-container",children:e!=null?E("0,0",e):h})]}),t.jsx(nt,{"data-testid":y("account-reconciliation-reconnect-button",C),onClick:_=>{_.stopPropagation(),r?.()},children:s.connect.reconnnect})]})}else return n==="connected"||i==="uploaded"?t.jsx(R,{className:"any-text-container",children:E("0,0",e)??h}):t.jsx(et,{"data-testid":y("account-reconciliation-connect-button",C),onMouseEnter:()=>{L(!0)},onMouseLeave:()=>{L(!1)},children:t.jsx(re,{controller:v.length>0,children:t.jsx(f,{title:s.tooltips.selectSource,style:{padding:`${o.sp1} ${o.sp2}`},maxWidth:"105px",placement:"bottom",children:t.jsx(le,{moreIconType:"custom",customIcon:t.jsx(tt,{}),options:v,customStyleConfig:{option:()=>({".option-container":{justifyContent:"flex-start"}}),valueContainer:()=>({height:o.sp3,".more-icon":{width:o.sp3,height:o.sp3}})},menuPlacement:"auto",onOptionSelection:j=>{j==="bank_connection"?d?.():j==="statement"&&B?.()},valueToIcon:j=>j==="bank_connection"?t.jsx(ut,{}):j==="statement"?t.jsx(pt,{}):null})})})})},$t=({clearedBalance:e,isLoading:n})=>e!=null&&n===!1?t.jsx(R,{className:"any-text-container",children:E("0,0",e)??h}):t.jsx(R,{className:"any-text-container",children:h}),Y=({tooltipText:e})=>{const n=new x(g.important);return t.jsx(f,{title:t.jsx(b,{tooltipText:e}),style:{padding:`${o.sp1} ${o.sp2}`},maxWidth:"105px",placement:"bottom",children:t.jsx($,{children:t.jsxs(M,{children:[t.jsx(A,{iconColor:n}),t.jsx(O,{children:t.jsx(V,{textColor:n,children:s.status.reconciliationFailed})}),t.jsx(Q,{children:t.jsx(U,{textColor:n,children:s.status.reconcileViaQBO})})]})})})},bt=({status:e,tooltipText:n})=>{const i=new x(g.brandColorGoldDark);return t.jsx(f,{title:t.jsx(b,{tooltipText:n}),style:{padding:`${o.sp1} ${o.sp2}`},maxWidth:"105px",placement:"bottom",children:t.jsxs($,{children:[t.jsx(A,{iconColor:i}),t.jsxs(M,{children:[t.jsx(O,{children:t.jsx(V,{textColor:i,children:e})}),t.jsx(Q,{children:t.jsx(U,{textColor:i,children:s.status.reconcileViaQBO})})]})]})})},ee=({tooltipText:e})=>{const n=S(),i=new x(n.colors.grey1);return t.jsx(f,{title:t.jsx(b,{tooltipText:e}),style:{padding:`${o.sp1} ${o.sp2}`},maxWidth:"105px",placement:"bottom",children:t.jsx($,{children:t.jsxs(F,{children:[t.jsx(k,{textColor:i,children:s.status.autoReconInProgress}),t.jsx(k,{textColor:i,children:s.status.isInProgress})]})})})},Ct=()=>{const e=S(),n=new x(e.colors.grey1);return t.jsx($,{children:t.jsxs(F,{children:[t.jsx(k,{textColor:n,children:s.status.balanceSyncInProgress}),t.jsx(k,{textColor:n,children:s.status.isInProgress})]})})},vt=()=>{const e=S(),n=new x(e.colors.grey1);return t.jsx($,{children:t.jsxs(F,{children:[t.jsx(k,{textColor:n,children:s.status.statementSyncInProgress}),t.jsx(k,{textColor:n,children:s.status.isInProgress})]})})},Rt=({code:e,tooltipText:n,errorMessage:i})=>{const c=new x(g.important),l=Et(e,"list",i);return t.jsx(f,{title:t.jsx(b,{tooltipText:n}),style:{padding:`${o.sp1} ${o.sp2}`},maxWidth:"105px",placement:"bottom",children:t.jsxs($,{children:[t.jsx(A,{iconColor:c}),t.jsxs(M,{children:[t.jsx(O,{children:t.jsx(V,{textColor:c,children:l})}),t.jsx(Q,{children:t.jsx(U,{textColor:c,children:s.status.failed})})]})]})})},D=({showTooltip:e,tooltipText:n})=>e==!1?t.jsx($,{children:t.jsx(J,{children:h})}):t.jsx(f,{title:t.jsx(b,{tooltipText:n}),style:{padding:`${o.sp1} ${o.sp2}`},maxWidth:"105px",placement:"bottom",children:t.jsx($,{children:t.jsx(J,{children:h})})}),b=({tooltipText:e})=>t.jsxs(st,{children:[t.jsx(rt,{children:s.tooltips.lastUpdated}),t.jsx(lt,{children:e})]}),kt=({statementStatus:e,statementParseInProgress:n,bankStatusCode:i,connectionInProgress:c})=>{let l=e==="uploaded"||n===!0?t.jsx(ht,{}):null;return l=i==="connected"||i==="reconnect"||c===!0?t.jsx(xt,{}):l,t.jsx(dt,{className:"bank-icon-container",children:l})};function Tt(){const e=[];return e.push({label:s.menu.bankConnection,value:"bank_connection"}),e.push({label:s.menu.statement,value:"statement"}),e}const Et=(e,n,i)=>{if(i!=null&&n==="drawer")return i;let c="";switch(e){case"parsing_failed":c=s.status.statementParseError;break;case"validation_failed":c=s.status.statementValidationFailed;break;case"processing_failed":c=s.status.statementProcessingFailed;break;default:c=s.status.statementParseError;break}return n==="drawer"&&(c=c+" "+s.status.failed),c};export{Te as B,wt as C,Wt as D,Et as E,Lt as L,Pt as N,ft as f,u,$t as w};
|
|
298
|
+
`,{expenseAutomation:{accountRecon:{reconciliation:s}},common:{strings:{hyphen:h,percentage:gt}}}=se.getLocalizedStrings();function Pt({height:e,accountRecon:n,isLastRow:i,isSelectedRow:c,onReviewClicked:l,onOpenDrawerClicked:d,onConnectClicked:r,onReconnectClicked:m,onStatementAddClicked:v}){const B=xe(),L=S(),C=n.accountReconEntity.account.accountName,j=n.accountReconEntity.balance,_=n.accountReconEntity.clearedBalance,te=n.accountReconEntity.variance,ne=n.accountReconEntity.variancePercentage,oe=()=>{r?.(n.accountReconEntity.account.accountId)},ae=()=>{m?.(n.accountReconEntity.account.accountId)},ie=()=>{v?.(n.accountReconEntity.account.accountId)},H=()=>{l?.(n.accountReconEntity.account.accountId)},[ce,N]=ye.useState(!1),z=n.accountConnectionStatus==="connected"||n.connectionInProgress===!0?"plaid":n.accountReconEntity.statementStatus?.code==="uploaded"||n.statementParseInProgress===!0?"bank_statement":"plaid",T=z==="plaid"?n.accountReconEntity.balanceDataStatus?.code==="in_progress"||n.connectionInProgress===!0:n.accountReconEntity.statementDataStatus?.code==="parsing"||n.statementParseInProgress===!0;let q=e;return i&&(q=e+p[8]),t.jsxs(Pe,{"data-testid":y("total-row-root-container"),heightValue:q,isLastRow:i,windowSize:B,isSelectedRow:c,onClick:()=>{ce!==!0&&d?.(n.accountReconEntity.account.accountId)},children:[t.jsxs(_e,{isClickable:!0,"data-testid":y("total-row-container"),heightValue:e,children:[t.jsxs(Ne,{children:[t.jsx(Te,{firstLetter:C.charAt(0),color:new x(L.colors.hero),showIcon:!1,showCollapsedIcon:!1,className:"any-text-container"}),t.jsx(De,{children:t.jsx(f,{enterDelay:600,title:C,style:{padding:`${o.sp1} ${o.sp2}`},placement:"bottom",children:t.jsx(Ae,{className:"any-text-container",children:C})})})]}),t.jsxs(Me,{children:[t.jsx(Oe,{children:t.jsx($t,{lastUpdatedAt:n.accountReconEntity.reconciliationId!=null?n.accountReconEntity.reconUpdatedAt:n.accountReconEntity.accountUpdatedAt,setIsHovering:N,statementStatus:n.accountReconEntity.statementStatus.code,accountId:n.accountReconEntity.account.accountId,bankBalance:j,bankConnection:n.accountConnectionStatus,onConnectClicked:oe,onStatementAddClicked:ie,isLoading:T,onReconnectClicked:ae})}),t.jsx(Ve,{children:t.jsx(kt,{statementStatus:n.accountReconEntity.statementStatus.code,statementParseInProgress:n.statementParseInProgress,connectionInProgress:n.connectionInProgress,bankStatusCode:n.accountConnectionStatus})}),t.jsx(Qe,{children:t.jsx(wt,{clearedBalance:_,isLoading:T})}),t.jsx(mt,{isLoading:T,variance:te,variancePercentage:ne,reconciliationStatusCode:n.accountReconEntity.reconciliationStatus?.code}),t.jsx(Fe,{children:t.jsx(He,{heightValue:e})}),t.jsx(Ue,{onMouseEnter:()=>{N(!0)},onMouseLeave:()=>{N(!1)},children:z==="plaid"?t.jsx(jt,{accountRecon:n,isLoading:T,onReviewClicked:H}):t.jsx(yt,{accountRecon:n,isLoading:T,onReviewClicked:H})})]})]}),t.jsx(Le,{kind:"account_separator",isScrolling:!1}),i?t.jsx(Be,{}):null]})}const mt=({variance:e,variancePercentage:n,reconciliationStatusCode:i,isLoading:c})=>{const l=S(),{varianceColor:d,variancePercentageColor:r,variancePercentageContainerColor:m}=ft(l,e,i),v=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(Ke,{textColor:r,bgColor:m,className:"any-text-container",children:v})]})},ft=(e,n,i,c)=>{let l,d,r;return n!=null&&n.amount===0&&i!=null&&i==="reconciled"?(l=new x(g.success),d=new x(g.success),r=new x(g.successLight)):c===!0?(l=new x(e.colors.primary),d=new x(e.colors.primary),r=new x(e.colors.grey2)):(l=new x(e.colors.hero),d=new x(e.colors.hero),r=new x(e.colors.background)),{varianceColor:l,variancePercentageColor:d,variancePercentageContainerColor:r}},jt=({accountRecon:e,isLoading:n,onReviewClicked:i})=>{const c=e.accountReconEntity.reconciliationStatus,l=e.accountConnectionStatus,d=e.accountReconEntity.reconciliationId!=null?e.accountReconEntity.reconUpdatedAt:e.accountReconEntity.accountUpdatedAt,r=d!=null?`${d.utc(!0).fromNow().toLowerCase()}`:h;if(n)return t.jsx(vt,{});if(e.accountReconEntity.balanceDataStatus?.code==="not_found"){let m="";return e.accountReconEntity.balance==null&&e.accountReconEntity.clearedBalance==null?m=s.status.balanceNotFound:e.accountReconEntity.balance==null?m=s.status.bankBalanceNotFound:m=s.status.clearedBalanceNotFound,t.jsx(bt,{status:m,tooltipText:r})}if(l==="reconnect"||l==="not_connected")return t.jsx(D,{tooltipText:r,showTooltip:d!=null});if(c==null&&l==="connected"&&e.accountReconEntity.balance!=null&&e.accountReconEntity.clearedBalance!=null)return t.jsx(W,{buttonLabel:s.status.review,isDisabled:!1,dataTestId:y("status-button",e.accountReconEntity.account.accountId),tooltipText:r,onClick:i});if(c!=null)switch(c.code){case"save_for_later":case"pending":return t.jsx(W,{buttonLabel:s.status.review,isDisabled:!1,dataTestId:y("status-button",e.accountReconEntity.account.accountId),tooltipText:r,onClick:i});case"reconciled":return t.jsx(P,{isQBO:!1,user:e.accountReconEntity.user,tooltipText:r});case"in_progress":return t.jsx(ee,{tooltipText:r});case"failed":return t.jsx(Y,{tooltipText:r});case"reconciled_on_qbo":return t.jsx(P,{isQBO:!0,tooltipText:r});default:return null}else return t.jsx(D,{showTooltip:d!=null,tooltipText:r})},yt=({accountRecon:e,isLoading:n,onReviewClicked:i})=>{const c=e.accountReconEntity.reconciliationStatus,l=e.accountReconEntity.statementDataStatus?.code==="validated"||e.accountReconEntity.statementDataStatus?.code==="processed",d=e.accountReconEntity.reconUpdatedAt,r=d!=null?`${d.utc(!0).fromNow().toLowerCase()}`:h;if(e.accountReconEntity.statementDataStatus?.code==="parsing_failed"||e.accountReconEntity.statementDataStatus?.code==="validation_failed"||e.accountReconEntity.statementDataStatus?.code==="processing_failed")return t.jsx(Rt,{code:e.accountReconEntity.statementDataStatus?.code,tooltipText:r,errorMessage:e.accountReconEntity.errorMessage?.errorShort});if(n)return t.jsx(Ct,{});if(c==null&&l&&e.accountReconEntity.balance!=null&&e.accountReconEntity.clearedBalance!=null)return t.jsx(W,{buttonLabel:s.status.review,isDisabled:!1,dataTestId:y("status-button",e.accountReconEntity.account.accountId),tooltipText:r,onClick:i});if(c!=null)switch(c.code){case"save_for_later":case"pending":return t.jsx(W,{buttonLabel:s.status.review,isDisabled:!1,dataTestId:y("status-button",e.accountReconEntity.account.accountId),tooltipText:r,onClick:i});case"reconciled":return t.jsx(P,{isQBO:!1,user:e.accountReconEntity.user,tooltipText:r});case"reconciled_on_qbo":return t.jsx(P,{isQBO:!0,tooltipText:r});case"in_progress":return t.jsx(ee,{tooltipText:r});case"failed":return t.jsx(Y,{tooltipText:r});default:return null}else return t.jsx(D,{showTooltip:d!=null,tooltipText:r})},W=({buttonLabel:e,isDisabled:n,tooltipText:i,dataTestId:c,onClick:l})=>t.jsx(f,{title:t.jsx(b,{tooltipText:i}),style:{padding:`${o.sp1} ${o.sp2}`},maxWidth:"105px",placement:"bottom",children:t.jsx(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()}})})}),P=({user:e,isQBO:n,tooltipText:i})=>t.jsx(f,{title:t.jsx(b,{tooltipText:i}),style:{padding:`${o.sp1} ${o.sp2}`},maxWidth:"105px",placement:"bottom",children:t.jsxs(Ze,{children:[t.jsxs(Je,{children:[t.jsx(Ye,{}),t.jsx(Xe,{children:n?s.status.reconciledVia:s.status.reconciledBy})]}),n?t.jsx(K,{children:s.status.QBOUser}):e&&t.jsxs(K,{children:[e.firstName," ",e.lastName]})]})}),$t=({bankBalance:e,bankConnection:n,statementStatus:i,lastUpdatedAt:c,fromDrawer:l=!1,onConnectClicked:d,onReconnectClicked:r,isLoading:m,accountId:v,onStatementAddClicked:B,setIsHovering:L})=>{const C=Tt();if(l===!0)return t.jsx(R,{className:"any-text-container",children:E("0,0",e)??h});if(m===!0)return t.jsx(R,{className:"any-text-container",children:h});if(n==="reconnect"){const j=c!=null?`${c.utc(!0).fromNow()}`:h;return t.jsxs(ot,{children:[t.jsxs(at,{children:[t.jsx(it,{children:t.jsx(f,{title:t.jsx(b,{tooltipText:j}),placement:"bottom",style:{padding:`2px ${o.sp2}`},children:t.jsx(ct,{})})}),t.jsx(R,{className:"any-text-container",children:e!=null?E("0,0",e):h})]}),t.jsx(nt,{"data-testid":y("account-reconciliation-reconnect-button",v),onClick:_=>{_.stopPropagation(),r?.()},children:s.connect.reconnnect})]})}else return n==="connected"||i==="uploaded"?t.jsx(R,{className:"any-text-container",children:E("0,0",e)??h}):t.jsx(et,{"data-testid":y("account-reconciliation-connect-button",v),onMouseEnter:()=>{L(!0)},onMouseLeave:()=>{L(!1)},children:t.jsx(re,{controller:C.length>0,children:t.jsx(f,{title:s.tooltips.selectSource,style:{padding:`${o.sp1} ${o.sp2}`},maxWidth:"105px",placement:"bottom",children:t.jsx(le,{moreIconType:"custom",customIcon:t.jsx(tt,{}),options:C,customStyleConfig:{option:()=>({".option-container":{justifyContent:"flex-start"}}),valueContainer:()=>({height:o.sp3,".more-icon":{width:o.sp3,height:o.sp3}})},menuPlacement:"auto",onOptionSelection:j=>{j==="bank_connection"?d?.():j==="statement"&&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(R,{className:"any-text-container",children:E("0,0",e)??h}):t.jsx(R,{className:"any-text-container",children:h}),Y=({tooltipText:e})=>{const n=new x(g.important);return t.jsx(f,{title:t.jsx(b,{tooltipText:e}),style:{padding:`${o.sp1} ${o.sp2}`},maxWidth:"105px",placement:"bottom",children:t.jsx(w,{children:t.jsxs(M,{children:[t.jsx(A,{iconColor:n}),t.jsx(O,{children:t.jsx(V,{textColor:n,children:s.status.reconciliationFailed})}),t.jsx(U,{children:t.jsx(Q,{textColor:n,children:s.status.reconcileViaQBO})})]})})})},bt=({status:e,tooltipText:n})=>{const i=new x(g.brandColorGoldDark);return t.jsx(f,{title:t.jsx(b,{tooltipText:n}),style:{padding:`${o.sp1} ${o.sp2}`},maxWidth:"105px",placement:"bottom",children:t.jsxs(w,{children:[t.jsx(A,{iconColor:i}),t.jsxs(M,{children:[t.jsx(O,{children:t.jsx(V,{textColor:i,children:e})}),t.jsx(U,{children:t.jsx(Q,{textColor:i,children:s.status.reconcileViaQBO})})]})]})})},ee=({tooltipText:e})=>{const n=S(),i=new x(n.colors.grey1);return t.jsx(f,{title:t.jsx(b,{tooltipText:e}),style:{padding:`${o.sp1} ${o.sp2}`},maxWidth:"105px",placement:"bottom",children:t.jsx(w,{children:t.jsxs(F,{children:[t.jsx(k,{textColor:i,children:s.status.autoReconInProgress}),t.jsx(k,{textColor:i,children:s.status.isInProgress})]})})})},vt=()=>{const e=S(),n=new x(e.colors.grey1);return t.jsx(w,{children:t.jsxs(F,{children:[t.jsx(k,{textColor:n,children:s.status.balanceSyncInProgress}),t.jsx(k,{textColor:n,children:s.status.isInProgress})]})})},Ct=()=>{const e=S(),n=new x(e.colors.grey1);return t.jsx(w,{children:t.jsxs(F,{children:[t.jsx(k,{textColor:n,children:s.status.statementSyncInProgress}),t.jsx(k,{textColor:n,children:s.status.isInProgress})]})})},Rt=({code:e,tooltipText:n,errorMessage:i})=>{const c=new x(g.important),l=Et(e,"list",i);return t.jsx(f,{title:t.jsx(b,{tooltipText:n}),style:{padding:`${o.sp1} ${o.sp2}`},maxWidth:"105px",placement:"bottom",children:t.jsxs(w,{children:[t.jsx(A,{iconColor:c}),t.jsxs(M,{children:[t.jsx(O,{children:t.jsx(V,{textColor:c,children:l})}),t.jsx(U,{children:t.jsx(Q,{textColor:c,children:s.status.failed})})]})]})})},D=({showTooltip:e,tooltipText:n})=>e==!1?t.jsx(w,{children:t.jsx(G,{children:h})}):t.jsx(f,{title:t.jsx(b,{tooltipText:n}),style:{padding:`${o.sp1} ${o.sp2}`},maxWidth:"105px",placement:"bottom",children:t.jsx(w,{children:t.jsx(G,{children:h})})}),b=({tooltipText:e})=>t.jsxs(st,{children:[t.jsx(rt,{children:s.tooltips.lastUpdated}),t.jsx(lt,{children:e})]}),kt=({statementStatus:e,statementParseInProgress:n,bankStatusCode:i,connectionInProgress:c})=>{let l=e==="uploaded"||n===!0?t.jsx(ht,{}):null;return l=i==="connected"||i==="reconnect"||c===!0?t.jsx(xt,{}):l,t.jsx(dt,{className:"bank-icon-container",children:l})};function Tt(){const e=[];return e.push({label:s.menu.bankConnection,value:"bank_connection"}),e.push({label:s.menu.statement,value:"statement"}),e}const Et=(e,n,i)=>{if(i!=null&&n==="drawer")return i;let c="";switch(e){case"parsing_failed":c=s.status.statementParseError;break;case"validation_failed":c=s.status.statementValidationFailed;break;case"processing_failed":c=s.status.statementProcessingFailed;break;default:c=s.status.statementParseError;break}return n==="drawer"&&(c=c+" "+s.status.failed),c};export{Te as B,$t as C,Pt as D,Et as E,Lt as L,Wt as N,ft as f,u,wt as w};
|