@zeniai/web-cockpit-ui 1.14.97-qa → 1.14.98-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-DSdNOxQ9-Cve45-FP.js +21 -0
- package/dist/assets/{AIPerformancePage-4v4Fkm9f-CpEaAXB6.js → AIPerformancePage-TtdFArUl-j0kjTnVR.js} +108 -108
- package/dist/assets/AccountInfoPage-BVK7wWF2-D6Zwr__G.js +18 -0
- package/dist/assets/{AccountInfoPageContent-Dv1IPcdF-DzX4-2vb.js → AccountInfoPageContent-BXX4TyeS-SAgRb0Wy.js} +19 -19
- package/dist/assets/AccountLockedInfoModal-CiHVEVZY-D75r_EpP.js +59 -0
- package/dist/assets/{AccountReconDetailsDrawerPage-DYKjrPwN-WMmhBBTN.js → AccountReconDetailsDrawerPage-BZsVhDyw-NNurOrkC.js} +54 -54
- package/dist/assets/{AccountRow-BM3xLbeh-CkaHX5cA.js → AccountRow-COxNWv3J-Dkf6Savq.js} +30 -30
- package/dist/assets/{AccountsPromoCardStack-CTkwARBJ-CweVbsOn.js → AccountsPromoCardStack-BW7r2R96-BzoEoVWx.js} +30 -30
- package/dist/assets/AddAddressForCardDrawer-BB7h_VuN-BW-_Qu7Y.js +6 -0
- package/dist/assets/{AddToWalletPage-OJBvAKUj-C4_vhGK0.js → AddToWalletPage-CXhBOHda-b2nCfyTx.js} +13 -13
- package/dist/assets/{AgingReportsPage-n-UKn3Ei-CUIQ2hVl.js → AgingReportsPage-CX3Te0mD-BjuuVeMz.js} +10 -10
- package/dist/assets/{AllUserItems-BsvKEVcx-lWN_YCkV.js → AllUserItems-Cd2jEIM9-DycIVbwH.js} +13 -13
- package/dist/assets/{ApAgingDetailPage-Duu2uAEr-C_ltQoSn.js → ApAgingDetailPage-BCBhgQDY-m3orWzJK.js} +5 -5
- package/dist/assets/{AppBasePage-DoCF494Z-Da8oOnmR.js → AppBasePage-BRcQ7IPJ-DssY-F_Q.js} +16 -16
- package/dist/assets/{AppDrawerContent-DM1t0oLS-DcvMiTTX.js → AppDrawerContent-DQlHQEcs-DrKgTlSj.js} +2 -2
- package/dist/assets/{ApprovalRulesSettingsPage-GZCo6_i2-DalFgYOv.js → ApprovalRulesSettingsPage-Cqt8FvLJ-CEOV0Ixl.js} +6 -6
- package/dist/assets/{ArAgingChart-CsFDVdeO-Dxvbr92R.js → ArAgingChart-BvAQf_dB-CCF75Uiv.js} +4 -4
- package/dist/assets/ArAgingDetailPage-BjvQEK0m-N2ygiYcL.js +46 -0
- package/dist/assets/{AttachmentView-B0d42oAf-DLojBuaF.js → AttachmentView-e6OZT5St-CRHdzPSa.js} +6 -6
- package/dist/assets/{BankAccountSection-Bgdk93V0-OiEcgwUp.js → BankAccountSection-DWKYMZid-XH_pxLOm.js} +7 -7
- package/dist/assets/BankAccountWarningSection-neFg-P9--B7Ex5Gby.js +51 -0
- package/dist/assets/{BankConnectionsSettingsPage-BpwKq93l-Diplm4EJ.js → BankConnectionsSettingsPage-DLnQeHtD-CQ9CrcQ2.js} +16 -16
- package/dist/assets/BillDetailPage-Caang31I-CV8BSbsx.js +266 -0
- package/dist/assets/BillPayApprovalRuleDetailPage-4n9jmsl3-C-Id93Y1.js +27 -0
- package/dist/assets/BillPayApprovalRulesPage-BPX-ygl8-NB7YIybj.js +241 -0
- package/dist/assets/BillPayPromoPage-KojRs3th-CbM1NPfP.js +84 -0
- package/dist/assets/{BillPaySetUpPage-DRCjyEfB-BwNvkIBF.js → BillPaySetUpPage-CneIMbul-lrmOziwC.js} +2 -2
- package/dist/assets/{BillingSettingsPage-CdYb74V7-Hvn0Zx0R.js → BillingSettingsPage-35KDGxi0-Ct237R_x.js} +8 -8
- package/dist/assets/{BillsBulkReviewDrawerPage-D8EGfY5P-JLRt5jBO.js → BillsBulkReviewDrawerPage-B2SeSM_K-CBWl1wuN.js} +1 -1
- package/dist/assets/{BoxItem-WOrvBzns-C2HR99if.js → BoxItem-BGDuiQll-BzndiGjI.js} +1 -1
- package/dist/assets/{BusinessVerificationPage-CbqJIVpz-DDL3zyKh.js → BusinessVerificationPage-GZnJ9G9I-Crwn_TZB.js} +10 -10
- package/dist/assets/{CardNumberSubText-DBOH0_yP-RteuDDE7.js → CardNumberSubText-COHmqgEx-BK8P_Xt5.js} +8 -8
- package/dist/assets/{CashbackDetailPage-D-kXy6LW-DQIhS9dG.js → CashbackDetailPage-DvA_0POP-D_6kuYkj.js} +26 -26
- package/dist/assets/{ChargeCardDetailPage-BQnJsfn5-BwxXeP8t.js → ChargeCardDetailPage-DF69jsTG-COjz_Wle.js} +244 -244
- package/dist/assets/ChargeCardListPage-BaxxkyMM-Tr5RRdcf.js +412 -0
- package/dist/assets/{ChargeCardListTable-EGkwcy7i-BslVZQTH.js → ChargeCardListTable-BEYWfP5G-1q8VKxw1.js} +67 -67
- package/dist/assets/ChargeCardPaymentHistoryPage-5dwl-3gt-Cg-FZFeP.js +534 -0
- package/dist/assets/ChargeCardPromoPage-DXHFY90F-COAtEu6_.js +222 -0
- package/dist/assets/{ChargeCardSetupPage-DRzB7Rt4-B94MoxdV.js → ChargeCardSetupPage-BsTAJGSf-BVABxQAh.js} +3 -3
- package/dist/assets/{ChargeCardStatementsPage-C3NxKjmB-CdwuqWvx.js → ChargeCardStatementsPage-BwuOooT4-Ds9c5zWv.js} +8 -8
- package/dist/assets/{CheckDepositDrawerPage-ClxKj2js-BHYT0eg1.js → CheckDepositDrawerPage-CC3EUXpO-Fr7mH3zN.js} +17 -17
- package/dist/assets/{CollapsableReportTable-xkNXkjfh-C4fPtgFw.js → CollapsableReportTable-Bju2JSCg-BqWf1iHn.js} +1 -1
- package/dist/assets/{CompanyOfficerDetailsSection-BtUBatbQ-Dqym6ecM.js → CompanyOfficerDetailsSection-CtHtINKb-ChsViTKu.js} +30 -30
- package/dist/assets/{CompanyPassportCard-BOxM716U-BuYpv_IQ.js → CompanyPassportCard-ClihOV6I-659ckUvl.js} +7 -7
- package/dist/assets/{CompanyPassportPage-DzE7sm8S-B6uOWYjR.js → CompanyPassportPage-Bzbp9vtj-DZ2qH-RA.js} +40 -40
- package/dist/assets/{CompleteProfile-BjGSPASa-C-SekPbe.js → CompleteProfile-C88rpvIR-CPwa_ZcH.js} +3 -3
- package/dist/assets/ConfettiBurst-fYnxwqdQ-9H12a4VU.js +1 -0
- package/dist/assets/{CreateOrEditVendorPage-WQeDCj-E-Dh8vXIxB.js → CreateOrEditVendorPage-DJWcJCPR-VpXOBLk1.js} +20 -20
- package/dist/assets/CreditCardPaymentDrawerPage-nshXhNlE-CfhRwqnV.js +227 -0
- package/dist/assets/{CurrencySelectField-AjAWhg6e-Eqrjeqk5.js → CurrencySelectField-9MMlAXHh-7T5GvQvy.js} +4 -4
- package/dist/assets/CustomerOnboardingActivationPage-J6mQ99Q--BiV07KZX.js +88 -0
- package/dist/assets/CustomerOnboardingContainerPage-DHYXaV1V-BTZJkTlt.js +1 -0
- package/dist/assets/{CustomerOnboardingDetailPageSkeleton-B0WzN1Sx-aWM2Ir-Z.js → CustomerOnboardingDetailPageSkeleton-EBEAYH3x-DVqWwomd.js} +15 -15
- package/dist/assets/CustomerOnboardingNoStepsPage-_P1XRJy7-BBpsfMtj.js +66 -0
- package/dist/assets/{CustomerOnboardingPage-CvN9Jrdy-DuDNyyOP.js → CustomerOnboardingPage-BWvGF8wk-Gc8v-oNy.js} +4 -4
- package/dist/assets/CustomerOnboardingProductSuitePage-BWN72Maw-CVrAAnDn.js +202 -0
- package/dist/assets/{Dashboard-_o0Ftdv8-C8xZMg4n.js → Dashboard-Zq5BpBhF-C6unAaBQ.js} +55 -55
- package/dist/assets/{DashboardReportPage-Cu5wqWkj-CbPCJVeu.js → DashboardReportPage-Pie-FQ1e-CpPHLX-r.js} +20 -20
- package/dist/assets/DashboardSidebarBackgroundAnimation-BCWBgFUn-C6Sp2Ncg.js +12 -0
- package/dist/assets/{DepositAccTransactionItem-BOPK7-7P-MpTXf9zM.js → DepositAccTransactionItem-C6o7UraM-ERw30shi.js} +2 -2
- package/dist/assets/{DepositAccTransactionListPage-oj9tntbI-fKCleTPc.js → DepositAccTransactionListPage-DWIzj9EC-C4ETOwPX.js} +4 -4
- package/dist/assets/{DomesticWireDetailsPage-FGdEilUB-B-HhXSdH.js → DomesticWireDetailsPage-BbuaFhlm-B7VB8oiV.js} +1 -1
- package/dist/assets/{DownloadOverlay-c57lEf_V-s3fTRYjJ.js → DownloadOverlay-smXqu_-_-DbNqWY1P.js} +39 -39
- package/dist/assets/{DrawerPage-inbhWwND-BXcay5_9.js → DrawerPage-C-NGhaFc-Bdiyy2BL.js} +18 -18
- package/dist/assets/EditPeoplePage-Ck6tbODS-2oTO0N4I.js +55 -0
- package/dist/assets/EditReimbursementDetailPage-CYCB7XUZ-Bkc4_Xh-.js +865 -0
- package/dist/assets/EntityDetailPage-DEzsWzSU-C1IWQ2YR.js +18 -0
- package/dist/assets/{EntitySummarySection-CHgrPo86-CzG-_BY7.js → EntitySummarySection-D7ui3VxW-BWyvfwWL.js} +9 -9
- package/dist/assets/{ExpenseAutomationOverviewPage-QZT_UFXf-1st1eoKk.js → ExpenseAutomationOverviewPage-Cci1pEY4-BQvp8jPr.js} +27 -27
- package/dist/assets/{ExpenseAutomationPage-Y7V_Z8rd-THbf8Vnw.js → ExpenseAutomationPage-DsPGEQpL-CcB9eHac.js} +63 -63
- package/dist/assets/{ExpressPayPage-CIp_R6ZQ-cs4dOpKa.js → ExpressPayPage-ddPMg7wE-Tlo0T7f7.js} +10 -10
- package/dist/assets/{FeaturePreviewPage-qsUO3mUu-DF4yFb7P.js → FeaturePreviewPage-B7rx89MJ-NE6QqmUF.js} +3 -3
- package/dist/assets/{FollowStepsSection-ebmR-eLP-DjjyPWl7.js → FollowStepsSection-WUNvyjJh-Bpyevbi9.js} +49 -49
- package/dist/assets/{GlobalReviewListPage-9V-xoqvs-Dr_0Sl1U.js → GlobalReviewListPage-CrEL8cxP-BVjE_r1i.js} +14 -14
- package/dist/assets/{InformationCardStack-DnB7TmOk-DUfCbiw0.js → InformationCardStack-cYN7bwE3-B7UR3-b4.js} +8 -8
- package/dist/assets/{InsightsCardStack-BBczCYEz-C7aeJZwT.js → InsightsCardStack-CAuhoPST-MWY5O8lc.js} +12 -12
- package/dist/assets/InsightsSection-9xZ9BN4e-D22swiZq.js +27 -0
- package/dist/assets/{IntegrationsSettingsPage-CByj2tO4-B4RJ2uIA.js → IntegrationsSettingsPage-CBqEJpyq-Bl--bqo-.js} +10 -10
- package/dist/assets/{InternationalWireSwiftDetailsPage-4-pl1ozv-BOfMVpiR.js → InternationalWireSwiftDetailsPage-Bg2_G0O4-DwQXwZkY.js} +17 -17
- package/dist/assets/{InternationalWireVerificationPage-kIajgPZt-D61ceEqI.js → InternationalWireVerificationPage-BdaKAePs-BIYMiNd6.js} +26 -26
- package/dist/assets/{InviteFormPage-XsnZcAvb-BvtcZ_89.js → InviteFormPage-a7CtHDQi-gCSqizmu.js} +24 -24
- package/dist/assets/{InvitePageListView-HfsehyxK-D8xsgZY9.js → InvitePageListView-D0flsJMi-CW5tcQ7p.js} +78 -78
- package/dist/assets/InvitePeoplePage-xJZ4CmaB-D0fUyZVv.js +12 -0
- package/dist/assets/{InvoiceUploadSection-DPd4VmqZ-DUrq1x_3.js → InvoiceUploadSection-D6gMuygS-CT-0_4kq.js} +4 -4
- package/dist/assets/{IssueChargeCardPage-xbfFhV0O-Cj6BbItj.js → IssueChargeCardPage-_zy-SJN0-qq3fKGX-.js} +34 -34
- package/dist/assets/{LabeledAddressValue-CB_KH7v5-DxYlmu7D.js → LabeledAddressValue-CXqpyfBQ-40JlhWdQ.js} +2 -2
- package/dist/assets/{LabeledAddressValueField-Bt41wdNQ-CTr4nBdf.js → LabeledAddressValueField-D-0wb98p-CSTw9NrL.js} +4 -4
- package/dist/assets/LabeledControlledCheckBoxField-CcPruRSO-BooOk31f.js +16 -0
- package/dist/assets/{LabeledCreatableSingleSelectField-fycRE7PX-BIzidcju.js → LabeledCreatableSingleSelectField-B-OgiRpS-D789AeMD.js} +4 -4
- package/dist/assets/LabeledDocumentField-Bo6fnkUs-BetKwcOR.js +41 -0
- package/dist/assets/{LabeledDropDownFormattedTextField-DGb_bDyp-mUPdI7Ad.js → LabeledDropDownFormattedTextField-D54g8qxW-Cnlp1a42.js} +7 -7
- package/dist/assets/{LabeledText-yhm8qxrA-vCsbkcLE.js → LabeledText-BJi28Cmu-KVGobttz.js} +3 -3
- package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-CgA4UPJh-BJTUh2FG.js → LabeledUserSingleSelectWithSubtitlesField-Dgn_WK0p-B4rGn1v8.js} +23 -23
- package/dist/assets/{LabeledZeniRolesDropDownField-DGkU72cd-Dgxm7I9J.js → LabeledZeniRolesDropDownField--9AjGtEh-1hSD4x8B.js} +25 -25
- package/dist/assets/LinkJETransactionPage-CejrEmB0-M4S6E6Jj.js +98 -0
- package/dist/assets/{LockCardPage-DaVzuRMw-CnTFUbry.js → LockCardPage-4ihNCAhG-Zb-UDpxz.js} +21 -21
- package/dist/assets/{LowBalancePopup-Dd9HLWlh-gcMfj24v.js → LowBalancePopup-YdUL24Wb-PfAaWR1_.js} +4 -4
- package/dist/assets/MagicLinkACHDetailsPage-BNATDZtB-DsiI-0KM.js +1 -0
- package/dist/assets/MagicLinkDomesticWireDetailsPage-ZGyx0g5t-8Tuy5QId.js +1 -0
- package/dist/assets/MagicLinkInternationalWireDetailsPage-CP5KtUSE-HiNxzZ5H.js +1 -0
- package/dist/assets/{MagicLinkSuccessPage-DbhdGmhh-q-iiCtPe.js → MagicLinkSuccessPage-B-YTZWYj-DKWdsZyd.js} +5 -5
- package/dist/assets/{MagicLinkTitleSection-Bx92291D-CyS-tk36.js → MagicLinkTitleSection-RHv_GuEq-c-uPcRfj.js} +4 -4
- package/dist/assets/MailingDetailsSection-DAryNhi6-DIXrN7jG.js +21 -0
- package/dist/assets/Menu-IHf_FfRX-LPFIlYqd.js +17 -0
- package/dist/assets/{MyBankConnectionsSettingsPage-Dn9AT8p1-BLkHFwVd.js → MyBankConnectionsSettingsPage-CryrCaA2-C1O3R525.js} +4 -4
- package/dist/assets/{MyPendingActivationChargeCardListPage-DrQu6s7j-B0h6C04K.js → MyPendingActivationChargeCardListPage-DmmwfwjV-Dzs7maAE.js} +1 -1
- package/dist/assets/{MyProfileSettingsPage-CBvjEd7r-CkA2RGi3.js → MyProfileSettingsPage-BspAqqsh-B3zEQ3j1.js} +10 -10
- package/dist/assets/{NavBarWithPicker-aXn2QYh1-D_CWGVEz.js → NavBarWithPicker-C7xr7tTs-CsJWjiOL.js} +5 -5
- package/dist/assets/{NavigationArrow-JLUXaIrz-B7EVHrI2.js → NavigationArrow-rBOsZ92g-CvJ7c17R.js} +8 -8
- package/dist/assets/{NavigationDots-B0_dDbgu-CFZagPOV.js → NavigationDots-CautbD-g-AEb3JA6J.js} +4 -4
- package/dist/assets/{NewGlobalMerchantPage-B_019EtP-CsFXTgsg.js → NewGlobalMerchantPage-DD4raaWT-0NjfCgam.js} +12 -12
- package/dist/assets/NoDataChart-58kSyixy-CZ5Rv3U9.js +26 -0
- package/dist/assets/NoDataTable-aDUu8tCI-CN9poHgG.js +8 -0
- package/dist/assets/{NotFoundPage-BEya4LS2-BJjPiPIQ.js → NotFoundPage-D-nIKeoL-DS39BiNV.js} +7 -7
- package/dist/assets/{NotificationSettingsPage-C9SjRKCu-DGlHcshq.js → NotificationSettingsPage-DP3xTLvr-C8krffT3.js} +23 -23
- package/dist/assets/NotificationsListConfig-CAW8P9gG-CmdQuS9n.js +1 -0
- package/dist/assets/{NotificationsPage-FJHx_WBG-DgLTiy0T.js → NotificationsPage-DkDGBzhT-B-IU27Zt.js} +49 -49
- package/dist/assets/{OpExByVendorPage-Dxk68R6U-DdpbGAZs.js → OpExByVendorPage-CtcdC3f9-DjyRt_lN.js} +12 -12
- package/dist/assets/{OverlayContainerPage-Daz3A7cI-BmuFuX61.js → OverlayContainerPage-Daz3A7cI-D0iblwqz.js} +1 -1
- package/dist/assets/PandLWithForecastPage-CpCiLOIl-DtQtxcyB.js +107 -0
- package/dist/assets/{PaymentAccountSetupBillingAddressSection-s9EEHxoG-B1Y9jQbA.js → PaymentAccountSetupBillingAddressSection-BjcqKBLG-BtuRZNcH.js} +8 -8
- package/dist/assets/{PeoplePage-DN5VtG7Q-1M0QHDlz.js → PeoplePage-DCI7v6ru-BQGxB0UL.js} +29 -29
- package/dist/assets/Preview-D56XCw0A.js +1 -0
- package/dist/assets/{ProductsCarousel-6gthLCkf-BWrWrJUL.js → ProductsCarousel-Dqm1bC2_-C9nhPtyf.js} +8 -8
- package/dist/assets/{PromoBaseCards-CzPzj69A-C1q5ihB2.js → PromoBaseCards-dqE7GIJ6-CjPZd9YZ.js} +6 -6
- package/dist/assets/{QBOConnectionDialog-BFy0lMZd-BkWnfDHf.js → QBOConnectionDialog-CGPNOde4-iJ0HQZcD.js} +6 -6
- package/dist/assets/{QBOSetupSection-DcLYyQ5m-B5Os9bOC.js → QBOSetupSection-HhIe91hw-09HBN8uJ.js} +16 -16
- package/dist/assets/ReimbursementApprovalRuleDetailPage-Cx24E4je-CUe9BrFq.js +32 -0
- package/dist/assets/ReimbursementApprovalRulesPage-DRAkofwN-Cw1wl-sh.js +243 -0
- package/dist/assets/ReimbursementDetailPage-DToZctqy-CIF8fvzJ.js +314 -0
- package/dist/assets/{ReimbursementPromoPage-MweW-4DO-CMYyia2y.js → ReimbursementPromoPage-BZoZAydM-_dTEqW97.js} +10 -10
- package/dist/assets/{ReimbursementSetUpPage-BD2LWlbW-CtOsTEWl.js → ReimbursementSetUpPage-C8Oat8g_-oUMPzcZW.js} +10 -10
- package/dist/assets/{ReimbursementsBulkReviewDrawerPage-DV_PLm_g-27f2MmSl.js → ReimbursementsBulkReviewDrawerPage-BSXV7fzi-DApiFQ6Z.js} +1 -1
- package/dist/assets/{ReloadCard-9KpQCrce-DN4r5hT-.js → ReloadCard-BMn_7fNI-DobUmKfH.js} +5 -5
- package/dist/assets/{ReportTableViewSelector-BPliEsuo-CmKeZZbG.js → ReportTableViewSelector-BE2BuEqj-Cv65zIMR.js} +8 -8
- package/dist/assets/{ReportsPage-h2DAaQfK-CbE6jqoD.js → ReportsPage-C4HDLBDq-nmW__s9z.js} +14 -14
- package/dist/assets/{RevenueChart-DY2s_upY-WoF2sAvI.js → RevenueChart-q15U89i8-DTxTOafZ.js} +2 -2
- package/dist/assets/{ReviewDetailsPage-BiYxRnvA-CBiHyEqk.js → ReviewDetailsPage-4mhC2jOb-D75AxfOq.js} +20 -20
- package/dist/assets/{ReviewOverlay-BvPN7IKD-D3oRKOju.js → ReviewOverlay-Co22Cju1-u5iV88jr.js} +12 -12
- package/dist/assets/RoleWithToolTip-DUEwWP4s-ChXNLhUR.js +22 -0
- package/dist/assets/{ScheduleDetailsFixedAssetsPage-DlXqz1QQ-Bo3K9iaU.js → ScheduleDetailsFixedAssetsPage-DkKSZ0sJ-zAFG0_v4.js} +13 -13
- package/dist/assets/{ScheduleDetailsPage-DebosLND-CZ8MFP_N.js → ScheduleDetailsPage-B98XJtoQ-DL_QucDj.js} +3 -3
- package/dist/assets/{ScheduleSequenceTable-Dd4Ep_c0-6ceLm8iU.js → ScheduleSequenceTable-DXLxjeWw-DWriUjIB.js} +36 -36
- package/dist/assets/ScreenRoutes-BRmamOlw.js +201 -0
- package/dist/assets/{SetUpAccountSection-Dhb8A0Oe-Bi3VI7hN.js → SetUpAccountSection-AZk8_IC3-BgRTrYL7.js} +8 -8
- package/dist/assets/SignIn-C5PcCpLW-Da05HaL3.js +480 -0
- package/dist/assets/{SignInScreen-xSTOtEpZ.js → SignInScreen-DJh1xRdL.js} +1 -1
- package/dist/assets/SpendManagementListViewPage-BmZeAl5K-BgHQbDY0.js +134 -0
- package/dist/assets/SpendManagementPerTabPage-BfJ_icLF-CGfN-F05.js +785 -0
- package/dist/assets/SpendManagementSection-DoJcpweo-BSx0Jax5.js +246 -0
- package/dist/assets/StatementItem-Bw66NYeY-DcIvhMqc.js +31 -0
- package/dist/assets/{StatementsPage-DVR5LhTi-DSGHS9Ki.js → StatementsPage-CBIa00EK-BjIWTE3I.js} +3 -3
- package/dist/assets/{StatusSwitcher-Cy5ITFgi-0cTJJtF0.js → StatusSwitcher-Blc3-MDg-B12KNYTc.js} +1 -1
- package/dist/assets/{SubTabSwitcher-DhsES2OW-m-ce65D6.js → SubTabSwitcher-3oir5lzq-Cmzice7W.js} +4 -4
- package/dist/assets/{SummaryCard-Byv4Hw8Q-Bwkpu24g.js → SummaryCard-DO09QLUp-DPmkfJxO.js} +1 -1
- package/dist/assets/{TaskManagementPage-CVXMOPf2-Dj56mspp.js → TaskManagementPage-C_EZJRtM-P8DErI3a.js} +42 -42
- package/dist/assets/TimeRangeSwitcher-mYZQR43P-BLWBlyWb.js +64 -0
- package/dist/assets/{TimeframeSwitcher-BK-qliOX-ClICCmUP.js → TimeframeSwitcher-BsGp8KOv-CTY5_Ouk.js} +6 -6
- package/dist/assets/TimeframeSwitcherWithToggle-wwIX-Q6T-DmtPgL2u.js +31 -0
- package/dist/assets/{TopExCard-o4Q3ze1b-DtPXCUdp.js → TopExCard-Cn8iW3fO-DMUR1qBk.js} +12 -12
- package/dist/assets/{TopExDetailPage-BsCwwwDi-wFH0rcwn.js → TopExDetailPage-BS8qCkLq-Cq17vLoi.js} +12 -12
- package/dist/assets/{TransactionDetailPage-rpCG65yC-CSnR3Ukp.js → TransactionDetailPage-CUeVImfA-D9txujQI.js} +36 -36
- package/dist/assets/{TransactionList-YI4oZaim-BNe9KuEQ.js → TransactionList-CnjoEn7K-D2hvg7ek.js} +15 -15
- package/dist/assets/{TransactionListBig-D_Jw9Ip2-B9g4IUd7.js → TransactionListBig-xVKV1MCm-GtEvft_N.js} +12 -12
- package/dist/assets/TransactionListPage-DDNtUv3t-Dwe7tcE5.js +35 -0
- package/dist/assets/TransactionVendorDetailPage-BTufZurh-CGfPDjZ_.js +80 -0
- package/dist/assets/{TransferDrawerPage-BnEVH7Mc-DX9bFdaO.js → TransferDrawerPage-uBmvyc-P-CFJl7D9L.js} +34 -34
- package/dist/assets/{TreasuryOverviewPage-C927Rdkg-BnjOV5zI.js → TreasuryOverviewPage-DJcUyLa4-Cd3rdx_U.js} +47 -47
- package/dist/assets/{TreasuryPromoPage-C6D3bF2f-Ci0jhUVu.js → TreasuryPromoPage-DymCO6nN-Dc1dLp52.js} +14 -14
- package/dist/assets/{TreasuryStatementsPage-BE54gWl6-CI8n3B5p.js → TreasuryStatementsPage-YEgI38zU-DOHp07qg.js} +4 -4
- package/dist/assets/{TreasuryTaxLetterPage-BaHut8Wc-Draz_l3Z.js → TreasuryTaxLetterPage-CYO6JXCO-fy_exAGm.js} +3 -3
- package/dist/assets/{TrendChart-BI4Tz813-BAnL14wu.js → TrendChart-Dzc9yPKs-Blv6Qzrf.js} +4 -4
- package/dist/assets/{TrendWithTransactions-BicIDSlC-C7MC_PA1.js → TrendWithTransactions-C2HIrxbU-BSlQs2Tq.js} +7 -7
- package/dist/assets/{UncategorizedAccountsMappingPage-sbn4Sdr2-DCMB0DYi.js → UncategorizedAccountsMappingPage-CN3CI6bw-zjOv8nCW.js} +13 -13
- package/dist/assets/{UnitIntegrationPage-CZUyjeh5-BXjLciPL.js → UnitIntegrationPage-EaVWz4pX-CbKtqluY.js} +11 -11
- package/dist/assets/UploadAdditionalDocumentOverlay-DIL6E7Sd-BEDKH1e3.js +38 -0
- package/dist/assets/Vendor2FAPopup-BxAm0k92-Dk5tVOzX.js +1 -0
- package/dist/assets/VendorACHDetailsPage-DF0jHzqw-CNLQ8AnP.js +1 -0
- package/dist/assets/{VendorDetailPage-CLFKkF8I-Bp6iAqiQ.js → VendorDetailPage-C_B_CmoV-DZeP35Np.js} +87 -87
- package/dist/assets/VendorDomesticWireDetailsPage-a52VbRia-DcoKPqJx.js +1 -0
- package/dist/assets/{VendorFiling1099EditablePage-CrWrhHZl-CtI8BHQ6.js → VendorFiling1099EditablePage-Dzgzl_4E-VsmZ5Vuv.js} +17 -17
- package/dist/assets/{VendorFirstReviewPage-C6MnbIan-BivIxmzp.js → VendorFirstReviewPage-mfIvCyFK-ApwBXjUo.js} +60 -60
- package/dist/assets/{VendorInternationalWireDetailsPage-CzPRK4E2-Cze5LPGB.js → VendorInternationalWireDetailsPage-CNs1VqUa-DbFJLYLp.js} +17 -17
- package/dist/assets/VendorInternationalWireSwiftDetailsPage-BoEZ09xC-egxnMP7A.js +1 -0
- package/dist/assets/{VendorsAccountsSection-CVh1n81R-KpYWigij.js → VendorsAccountsSection-B6DkSP2a-Ct-pliYw.js} +5 -5
- package/dist/assets/{VerifyDevice-BHocExfO-CwHem-So.js → VerifyDevice-Cu9P83rS-BlGa7yZF.js} +7 -7
- package/dist/assets/{VideoPlayer-9rYRtSLf-DQLpaLZE.js → VideoPlayer-Dml6r7Q7-CtFMcnbA.js} +2 -2
- package/dist/assets/{VideoPopup-D1o92dj6-pqLJzdXX.js → VideoPopup-B7E5ZfFp-BvZy2q4i.js} +4 -4
- package/dist/assets/{WarningsDrawerPage-CzufXgaN-C2dHRi6W.js → WarningsDrawerPage-BZU8XDHH-Djgf6BN0.js} +3 -3
- package/dist/assets/{ZeniAccountDetailPage-ZZ3Ra-Jf-DYyI3UYD.js → ZeniAccountDetailPage-Do5LJYN4-DOVBM5Q5.js} +31 -31
- package/dist/assets/{ZeniAccountListViewPage-Cxid0mfh-DcMdPWox.js → ZeniAccountListViewPage-Be5rl4e6-BE0wkZ9j.js} +10 -10
- package/dist/assets/ZeniAccountNavBarPieces-0h-vfuVY-BqB9OPYl.js +14 -0
- package/dist/assets/{ZeniAccountPromoPage-YIYFkPIB-Dotnyt9B.js → ZeniAccountPromoPage-BMULic13-C4Ac4YqS.js} +22 -22
- package/dist/assets/{ZeniAccountSetupPage-BJ9UJ0dP-D2niJExq.js → ZeniAccountSetupPage-D_doc0Sf-BchKN68c.js} +1 -1
- package/dist/assets/{ZeniCopyright-CztmWsFm-H9omyc8d.js → ZeniCopyright-CDfvakjf-8KnokS3w.js} +1 -1
- package/dist/assets/{ZeniTransferAmountSlider-g9qU5Lsq-DxB3ARKz.js → ZeniTransferAmountSlider-BdZ5l3Hh-C3Uey-AS.js} +7 -7
- package/dist/assets/{add-to-wallet-DgdBD8_G-C6YdFVXu.js → add-to-wallet-DgdBD8_G-Bp_adk0W.js} +1 -1
- package/dist/assets/{analytics-DP4t3Pvl.js → analytics-GoB8GGlk.js} +1 -1
- package/dist/assets/{analyticsHelper-D4lKCWjQ-B-wZ4oH3.js → analyticsHelper-C164AjRf-tG0aq5YR.js} +1 -1
- package/dist/assets/analyticsHelper-OMYXGOV0.js +1 -0
- package/dist/assets/{arrow-south-east-round-PEovUgvH-B0Djnnq_.js → arrow-south-east-round-PEovUgvH-BlptIYjS.js} +1 -1
- package/dist/assets/{auto-transfer-rule-mbafm5D3-D68LcCX2.js → auto-transfer-rule-mbafm5D3-DNmdc0t7.js} +1 -1
- package/dist/assets/{chartTypes-BPPSjkhb-BtU1dRiX.js → chartTypes-DQ1OffIu-Bo_aesHa.js} +1 -1
- package/dist/assets/{commonDimensions-Ds75pRzR-CtGrNWAH.js → commonDimensions-j5_IHOmP-jvW6K-um.js} +1 -1
- package/dist/assets/{constants-kbx9whap.js → constants-DTxI1rHn.js} +1 -1
- package/dist/assets/{core-CBymMU6x.js → core-cG0U1y2d.js} +2 -2
- package/dist/assets/{dash.all.min-BALkicwi.js → dash.all.min-CKz_ZRDI.js} +1 -1
- package/dist/assets/{detailCommon-DdZdfmYT-BRAdodjU.js → detailCommon-BdYIBs8o-CJ5ceH6M.js} +6 -6
- package/dist/assets/downloadPdf-BduTAGPj-DUom1tyc.js +1 -0
- package/dist/assets/{empty-DSFatrf0.js → empty-DAIP1XxB.js} +1 -1
- package/dist/assets/empty-D_oWKko5.js +1 -0
- package/dist/assets/epic-4bGyY7Fz.js +2 -0
- package/dist/assets/{gift-box-Cmt9OgIZ-CcnP1Mgt.js → gift-box-Cmt9OgIZ-CTtI5cXz.js} +1 -1
- package/dist/assets/{graphic-no-data-l-DU4J8fDt-CUWIryFn.js → graphic-no-data-l-DU4J8fDt-PUQeicgl.js} +1 -1
- package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-BJnsDnCG.js → graphic-no-data-net-burn-l-CzmycA0m-BwRajxvj.js} +1 -1
- package/dist/assets/{handshake-BPg58FML-knekKUs7.js → handshake-BPg58FML-BXfsCAUf.js} +1 -1
- package/dist/assets/{empty-CvBQFZBN.js → index-BMQnSjFr.js} +1 -1
- package/dist/assets/{index-D9zkGC9B.js → index-BqrFe7eC.js} +1 -1
- package/dist/assets/{index-uZV8M_AO.js → index-CO_Updpp.js} +4424 -4416
- package/dist/assets/{index-frek1-on.js → index-CpulHfxu.js} +1 -1
- package/dist/assets/index-D4nV_3XK.js +1 -0
- package/dist/assets/{index-BxjA4a5B.js → index-DVGnYxP0.js} +1 -1
- package/dist/assets/{index-t4orGi4S.js → index-uRSEmDsl.js} +1 -1
- package/dist/assets/{lexical-CmdNRU7n.js → lexical-CUq6kk0g.js} +1 -1
- package/dist/assets/{liveblocks-GlEiSPeI.js → liveblocks-BOlC_Koo.js} +1 -1
- package/dist/assets/{lottie-CBgZHwli.js → lottie-DQ5EyuJ6.js} +2 -2
- package/dist/assets/mapLoadingInProgressToTreeNode-kWMAzMb3-CMOJHu7q.js +1 -0
- package/dist/assets/mapSectionWithAcOnlyToTreeNode-CSuXPDoO-BSS8TRaL.js +1 -0
- package/dist/assets/mapSpacerToTreeNode-BjnjpyM6-BNLh9WdA.js +1 -0
- package/dist/assets/mapTimeframeBalancesToTreeNode-CaRKUf6w-8AEXCCet.js +1 -0
- package/dist/assets/mapTimeframeBalancesToTreeNode-XslT-q64-Q3w1WkcY.js +1 -0
- package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-ByvQizpc-BItBTBN2.js +1 -0
- package/dist/assets/{mui-0an3sj0x.js → mui-ByF8ZmHV.js} +1 -1
- package/dist/assets/{page-detail-CWX5S47F-BBk9EC3A.js → page-detail-CWX5S47F-C2KjOx45.js} +1 -1
- package/dist/assets/{radio-default-CiSgisfh-C5Myz-XF.js → radio-default-CiSgisfh-B7-vB3nP.js} +1 -1
- package/dist/assets/{react-BBz2ZJU4.js → react-B1eYDq6e.js} +3 -3
- package/dist/assets/{react-DFeWd6RH.js → react-B20ZDkLv.js} +2 -2
- package/dist/assets/{react-HGxWu6DA.js → react-B3-oq61_.js} +2 -2
- package/dist/assets/{react-B5nMiO6o.js → react-BU_tzuye.js} +1 -1
- package/dist/assets/{react-CzdhBOak.js → react-CeCukAHo.js} +1 -1
- package/dist/assets/{react-D4nAWD3E.js → react-D74rpLXu.js} +1 -1
- package/dist/assets/{react-BoXueK1O.js → react-iY_JqSpg.js} +2 -2
- package/dist/assets/{react-D9E37yvm.js → react-osFWCkxJ.js} +2 -2
- package/dist/assets/{recharts-YmjXe7Hc.js → recharts-C9z9JCsM.js} +1 -1
- package/dist/assets/{sentry-DBL0vpYV.js → sentry-DdXOXL3j.js} +2 -2
- package/dist/assets/{shield-DOlUxcFf-BTDJ5sGc.js → shield-DOlUxcFf-hMFlex27.js} +1 -1
- package/dist/assets/toCOABalancesWithID-BA4WkU1y-CDNy4Vu0.js +1 -0
- package/dist/assets/toChartData-DrvhJgTD-N2b3lY8k.js +1 -0
- package/dist/assets/{uploadAttachment-B4ddYCCL-CAA2Hylg.js → uploadAttachment-DiJJciQx-DORmL_G6.js} +27 -27
- package/dist/assets/{uploadReceipts-CPw64UYa-CqYUQW_x.js → uploadReceipts-CPw64UYa-CIYZXcqS.js} +1 -1
- package/dist/assets/{url-Cu1N4ZsY.js → url-DnfeNFje.js} +1 -1
- package/dist/assets/{url-BhkSeX_h.js → url-PLN9h9fH.js} +1 -1
- package/dist/assets/{useLongPress-GCK2COYQ-BDVexwt4.js → useLongPress-GCK2COYQ-aie8BHVS.js} +1 -1
- package/dist/assets/{usp-line-BBd1wKwW-BMT__nj-.js → usp-line-BBd1wKwW-nbZRH-xL.js} +1 -1
- package/dist/assets/{utils-C6VMCny4.js → utils-BMrfBn9K.js} +1 -1
- package/dist/assets/{zeni-epic-state-EnVSjANH.js → zeni-epic-state-BiQIJCwr.js} +32 -32
- package/dist/index.html +1 -1
- package/package.json +4 -4
- package/dist/assets/ACHDetailsPage-BRWOdhMx-CHW4Y4oA.js +0 -21
- package/dist/assets/AccountInfoPage-Ca_vKG58-Ck55n_mz.js +0 -18
- package/dist/assets/AccountLockedInfoModal-CEk5d9hq-uvZlRTJb.js +0 -59
- package/dist/assets/AddAddressForCardDrawer-DfOyebHX-njcuq535.js +0 -6
- package/dist/assets/ArAgingDetailPage-CaOr6vAU-BxYWpi7f.js +0 -46
- package/dist/assets/BankAccountWarningSection-DMRmF2yM-B4qHDBYu.js +0 -51
- package/dist/assets/BillDetailPage-BG7FhHEq-CfxlpdIE.js +0 -266
- package/dist/assets/BillPayApprovalRuleDetailPage-BAK1Gfko-BXzjYi7t.js +0 -27
- package/dist/assets/BillPayApprovalRulesPage-DiCNUU-G-l7GsIqqs.js +0 -235
- package/dist/assets/BillPayPromoPage-aGKOv8Ur-BRhKMOSj.js +0 -84
- package/dist/assets/ChargeCardListPage-130ILwkr-CpoDSUvy.js +0 -412
- package/dist/assets/ChargeCardPromoPage-BwqrXrY--CRkcpsfe.js +0 -222
- package/dist/assets/ConfettiBurst-1rYKpbAj-Bd_yylF7.js +0 -1
- package/dist/assets/CreditCardPaymentDrawerPage-Q12y6HMX-BGJkHg58.js +0 -224
- package/dist/assets/CustomerOnboardingActivationPage-BJhw-PvI-xIXhat36.js +0 -88
- package/dist/assets/CustomerOnboardingContainerPage-C9radmIS-CXZImNkS.js +0 -1
- package/dist/assets/CustomerOnboardingNoStepsPage-CNni6chX-DC1N045b.js +0 -66
- package/dist/assets/CustomerOnboardingProductSuitePage-CZkX9ur7-BRK0kxfQ.js +0 -202
- package/dist/assets/DashboardSidebarBackgroundAnimation-Bl8Ss6Gf-DRAJtWei.js +0 -12
- package/dist/assets/EditPeoplePage-DJthuIP4-CYsD3t6G.js +0 -55
- package/dist/assets/EditReimbursementDetailPage-Bt7XKq5h-Dq3ebm9k.js +0 -865
- package/dist/assets/EntityDetailPage-DbTiF9Hs-Dc_lF-AM.js +0 -18
- package/dist/assets/InsightsSection-BTXj5WUe-DRPj9Z-N.js +0 -27
- package/dist/assets/InvitePeoplePage-DrBtwpMH-ClaPxkWo.js +0 -12
- package/dist/assets/LabeledControlledCheckBoxField-Btw_zwzy-NjrNn7ZZ.js +0 -16
- package/dist/assets/LabeledDocumentField-C73vQNgq-DBxPjoOu.js +0 -41
- package/dist/assets/LinkJETransactionPage-C0onrP5t-BQSRDFgK.js +0 -98
- package/dist/assets/MagicLinkACHDetailsPage-Cpde2XoD-Bmz6YzE7.js +0 -1
- package/dist/assets/MagicLinkDomesticWireDetailsPage-DQYH52_8-Csth74dK.js +0 -1
- package/dist/assets/MagicLinkInternationalWireDetailsPage-DwBUSxwe-yvP4uEq5.js +0 -1
- package/dist/assets/MailingDetailsSection-D-tnK244-NJGCqaax.js +0 -21
- package/dist/assets/Menu-0YHUdU0n-BLlGw9kk.js +0 -17
- package/dist/assets/NoDataChart-DLKHNXD4-DyUiEC5E.js +0 -26
- package/dist/assets/NoDataTable-BMD2qygC-gv0yHuam.js +0 -8
- package/dist/assets/NotificationsListConfig-OCeJNw1G-rhlSI2K3.js +0 -1
- package/dist/assets/PandLWithForecastPage-Bu49FbWD-hY2BUMAV.js +0 -107
- package/dist/assets/Preview-kmcYPPXG.js +0 -1
- package/dist/assets/ReimbursementApprovalRuleDetailPage-0o5lDuM2-BQKJNpxr.js +0 -26
- package/dist/assets/ReimbursementApprovalRulesPage-D5ZMrrmO-Cq_QuHRI.js +0 -237
- package/dist/assets/ReimbursementDetailPage-DatcF8rt-DXpkFB8a.js +0 -314
- package/dist/assets/RoleWithToolTip-aW95rpRe-DvIFlyHc.js +0 -22
- package/dist/assets/ScreenRoutes-Vn-jiple.js +0 -201
- package/dist/assets/SignIn-DQBJB5ad-Cb2pZSrY.js +0 -448
- package/dist/assets/SpendManagementListViewPage-Ac-9u-X2-DFU9SYkm.js +0 -123
- package/dist/assets/SpendManagementPerTabPage-DgrMAQ8l-BsJa486B.js +0 -754
- package/dist/assets/SpendManagementSection-Ci2yOCJ9-Be-FWQnM.js +0 -230
- package/dist/assets/StatementItem-hcBoe79o-CO-KeIZz.js +0 -31
- package/dist/assets/TimeRangeSwitcher-jct2_5PE-CCFccPp8.js +0 -64
- package/dist/assets/TimeframeSwitcherWithToggle-Cl6ISBIz-K7uZZKEZ.js +0 -31
- package/dist/assets/TransactionListPage-B2yWm7eA-DL_P3UOL.js +0 -35
- package/dist/assets/TransactionVendorDetailPage-Dr5C4-7q-B7k5Rxuh.js +0 -80
- package/dist/assets/UploadAdditionalDocumentOverlay-4AWDV_HK-B5rvljLP.js +0 -38
- package/dist/assets/Vendor2FAPopup-C_PmEAQ7-BJo1CtrY.js +0 -1
- package/dist/assets/VendorACHDetailsPage-DMMoCytX-HWJ4xqP6.js +0 -1
- package/dist/assets/VendorDomesticWireDetailsPage-WxmpwlTS-Cw2mdwEx.js +0 -1
- package/dist/assets/VendorInternationalWireSwiftDetailsPage-BBYmlLxN-DAcuL4kr.js +0 -1
- package/dist/assets/ZeniAccountNavBarPieces-DDc-xph4-Qp9CkTCW.js +0 -14
- package/dist/assets/analyticsHelper-BQyen1Zp.js +0 -1
- package/dist/assets/downloadPdf-B8UMaJCC--cwzlyu5.js +0 -1
- package/dist/assets/epic-q1aO5VtE.js +0 -2
- package/dist/assets/index-CKooINZU.js +0 -1
- package/dist/assets/index-CPqC-aUr.js +0 -1
- package/dist/assets/mapLoadingInProgressToTreeNode-DGRrn6kh-C5wM4whm.js +0 -1
- package/dist/assets/mapSectionWithAcOnlyToTreeNode-rrJBbsC8-APaqby99.js +0 -1
- package/dist/assets/mapSpacerToTreeNode-CWvamMX2-rEC43j1Y.js +0 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-DfQk4Tsr-D3n1ZN_S.js +0 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-_jEVk1uh-XrIKo0nh.js +0 -1
- package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-DCb9paz3-DEpGdNWt.js +0 -1
- package/dist/assets/toCOABalancesWithID-CkjRB0sJ-j2ZyVm5M.js +0 -1
- package/dist/assets/toChartData-CMi2WgAy-CD5sB8aU.js +0 -1
- package/dist/assets/transaction-placeholder-CpOwZAMG-C9OUxvx1.js +0 -1
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import{f as y,q as b,V as t,gK as x,o as r,y as d,hw as D,d as i}from"./index-CO_Updpp.js";import{a as $}from"./sentry-DdXOXL3j.js";import{n as o}from"./mui-ByF8ZmHV.js";import{K as P}from"./StatusSwitcher-Blc3-MDg-B12KNYTc.js";import{r as z}from"./AccountInfoPageContent-BXX4TyeS-SAgRb0Wy.js";import"./liveblocks-BOlC_Koo.js";import"./core-cG0U1y2d.js";import"./recharts-C9z9JCsM.js";import"./zeni-epic-state-BiQIJCwr.js";import"./lottie-DQ5EyuJ6.js";import"./analytics-GoB8GGlk.js";import"./lexical-CUq6kk0g.js";import"./utils-BMrfBn9K.js";import"./downloadPdf-BduTAGPj-DUom1tyc.js";import"./commonDimensions-j5_IHOmP-jvW6K-um.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]="f8b36f42-cfa5-43b7-a387-074eecb4d0d3",e._sentryDebugIdIdentifier="sentry-dbid-f8b36f42-cfa5-43b7-a387-074eecb4d0d3")}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])},F=({authParams:e,downloadAccountDetailEndPoint:n,depositAccount:a,zeniAccountsConfigDetail:f,currentTenant:g,onDismissClick:u})=>{const p=y(),c=b(),[l,m]=$.useState("achDetails"),w=h=>{m(h)};return t.jsxs(T,{children:[t.jsx(x,{title:"",backgroundColor:p.colors.grey4,style:{zIndex:4},isTitleAlignLeft:!0,onCloseClick:u}),t.jsx(v,{windowSize:c,children:a.accountName}),t.jsx(S,{children:t.jsx(P,{tabIds:["achDetails","wireDetails"],selectedTab:l,entity:"zeni_accounts",onTabSelectedChange:w,isSwitcherLeftAlign:!0})}),t.jsx(A,{windowSize:c,children:t.jsx(z,{authParams:e,downloadAccountDetailEndPoint:n,currentTab:l,zeniAccountsConfigDetail:f,currentTenant:g,depositAccount:a})})]})},A=o.div`
|
|
2
|
+
padding-left: ${e=>`${s.containerPaddingLeft.valuePx(e.windowSize)}`};
|
|
3
|
+
padding-right: ${e=>`${s.containerPaddingRight.valuePx(e.windowSize)}`};
|
|
4
|
+
`,T=o.div`
|
|
5
|
+
display: flex;
|
|
6
|
+
flex-direction: column;
|
|
7
|
+
background-color: ${e=>e.theme.colors.grey4};
|
|
8
|
+
overflow-x: hidden;
|
|
9
|
+
height: 100%;
|
|
10
|
+
width: 100%;
|
|
11
|
+
`,v=o(D)`
|
|
12
|
+
color: ${e=>e.theme.colors.primary};
|
|
13
|
+
padding: ${r.sp3} ${r.sp0};
|
|
14
|
+
margin: ${e=>`${r.sp0} ${s.pageTitleMarginXAxis.valuePx(e.windowSize)} `};
|
|
15
|
+
`,S=o.div`
|
|
16
|
+
display: flex;
|
|
17
|
+
justify-content: flex-start;
|
|
18
|
+
`;export{F as default};
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import{q as je,
|
|
1
|
+
import{q as je,gU as Ae,hx as Q,V as r,bR as z,A as Se,aN as L,o as a,b6 as Te,F as ve,c1 as De,p as E,ai as re,u as Ce,gX as ze,al as ae}from"./index-CO_Updpp.js";import{a as s}from"./sentry-DdXOXL3j.js";import{n as t}from"./mui-ByF8ZmHV.js";import{w as Le}from"./downloadPdf-BduTAGPj-DUom1tyc.js";import{o as _e}from"./commonDimensions-j5_IHOmP-jvW6K-um.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]="e3608a87-6f50-4238-9332-b130bd601f99",e._sentryDebugIdIdentifier="sentry-dbid-e3608a87-6f50-4238-9332-b130bd601f99")}catch{}})();const{common:{strings:Ie,copyToClipBoard:g},spendManagement:{zeniAccounts:{zeniAccountDetail:X},billPay:{vendorCreation:{achDetails:o}},downloads:G}}=ve.getLocalizedStrings(),er=({authParams:e,downloadAccountDetailEndPoint:y,currentTab:p,depositAccount:c,zeniAccountsConfigDetail:u,currentTenant:k})=>{const oe=je(),[,M]=Ae(),[N,te]=s.useState(!1),[se,ne]=s.useState(!1),[ce,ie]=s.useState(!1),[le,de]=s.useState(!1),[be,ue]=s.useState(!1),[me,pe]=s.useState(!1),[he,fe]=s.useState(!1),[xe,ye]=s.useState(!1),[h,P]=s.useState(!1),[w,V]=s.useState(!1),[j,q]=s.useState(!1),[A,U]=s.useState(!1),[S,B]=s.useState(!1),[T,F]=s.useState(!1),[v,O]=s.useState(!1),[$,W]=s.useState(!1),D=k?.company?.companyInfo.companyLegalName,C=Q(u.zeniAccountsConfigDetail.mailingAddress).text2,m=Q(u.zeniAccountsConfigDetail.bankAddress).text2;s.useEffect(()=>{(h||T||v||$||S||$||j||w||A)&&setTimeout(()=>{P(!1),F(!1),O(!1),W(!1),B(!1),U(!1),q(!1),V(!1)},1200)},[h,T,v,$,S,A,j,w]);const H=(f,n)=>{switch(f){case"accountType":ne(n);break;case"acccountNumber":ie(n);break;case"routingNumber":de(n);break;case"bankName":ue(n);break;case"beneficiaryName":fe(n);break;case"beneficiaryAddress":pe(n);break;case"bankAddress":ye(n);break}},$e=f=>{let n;f==="achDetails"?n=`${o.bankRoutingNumber} ${c.routingNumberAch}
|
|
2
2
|
|
|
3
|
-
${o.accountTypeLabel} ${
|
|
3
|
+
${o.accountTypeLabel} ${c.accountSubType.name??""}
|
|
4
4
|
|
|
5
|
-
${o.bankAccountNumber} ${
|
|
5
|
+
${o.bankAccountNumber} ${c.accountNumber}
|
|
6
6
|
|
|
7
7
|
${o.bankName} ${u.zeniAccountsConfigDetail.bankName}
|
|
8
8
|
|
|
9
|
-
${o.bankAddress} ${m}`:
|
|
9
|
+
${o.bankAddress} ${m}`:n=`${o.bankRoutingNumber} ${c.routingNumberAch}
|
|
10
10
|
|
|
11
|
-
${o.accountTypeLabel} ${
|
|
11
|
+
${o.accountTypeLabel} ${c.accountSubType.name??""}
|
|
12
12
|
|
|
13
|
-
${o.bankAccountNumber} ${
|
|
13
|
+
${o.bankAccountNumber} ${c.accountNumber}
|
|
14
14
|
|
|
15
15
|
${o.bankName} ${u.zeniAccountsConfigDetail.bankName}
|
|
16
16
|
|
|
@@ -18,10 +18,10 @@ ${o.beneficiaryName} ${D}
|
|
|
18
18
|
|
|
19
19
|
${o.bankAddress} ${m}
|
|
20
20
|
|
|
21
|
-
${o.beneficiaryAddress} ${C}`,
|
|
21
|
+
${o.beneficiaryAddress} ${C}`,M(n),P(!0)},i=(f,n,x,J)=>{let d,l;switch(x){case"acccountNumber":d=ce,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":F(!0);break;case"acccountNumber":O(!0);break;case"routingNumber":W(!0);break;case"bankName":B(!0);break;case"beneficiaryName":V(!0);break;case"beneficiaryAddress":U(!0);break;case"bankAddress":q(!0);break}};return r.jsxs(Ue,{onMouseEnter:()=>H(x,!0),onMouseLeave:()=>H(x,!1),children:[r.jsx(Be,{children:f}),r.jsx(Oe,{children:r.jsxs(We,{children:[r.jsxs(Fe,{children:[d||oe==="small"?r.jsx(_,{children:r.jsx(z,{display:"flex",placement:"left",title:r.jsx(I,{isTextCopied:l,children:l?g.copied:g.copy}),enterDelay:600,children:l===!0?r.jsx(ee,{}):r.jsx(Z,{"data-testid":L("account-info-copy",x),onClick:()=>{M(n),we()}})})}):null,n]}),J!=null?r.jsx(He,{children:J}):null]})})]})},ge={detail_type:"account_details",deposit_account_id:c.id,company_name:k?.companyName??"",company_legal_name:k?.company?.companyInfo.companyLegalName??""},ke=encodeURIComponent(JSON.stringify(ge)),Ne=`${y}?query=${ke}`;return r.jsx(Ee,{children:r.jsxs(Re,{children:[r.jsxs(Me,{children:[r.jsx(Ve,{children:p==="achDetails"?X.achTitle:X.wireTitle}),r.jsxs(Pe,{children:[r.jsx(_,{children:r.jsx(z,{display:"flex",placement:"left",title:r.jsx(I,{isTextCopied:N,children:N?G.downloading:G.download}),enterDelay:600,children:N===!0?r.jsx(Se,{size:"Small",start:!0}):r.jsx(qe,{"data-testid":L("account-info-download-pdf"),onClick:()=>{Le(Ne,Ie.empty,e,te,!0)}})})}),r.jsx(_,{children:r.jsx(z,{display:"flex",placement:"left",title:r.jsx(I,{isTextCopied:h,children:h?g.copied:g.copy}),enterDelay:600,children:h===!0?r.jsx(ee,{}):r.jsx(Z,{onClick:()=>$e(p),"data-testid":L("title-text-copy")})})})]})]}),p==="achDetails"?r.jsxs(Je,{children:[r.jsx(K,{children:i(o.bankRoutingNumber,c.routingNumberAch,"routingNumber")}),r.jsx(b,{children:i(o.accountTypeLabel,c.accountSubType.name,"accountType")}),r.jsx(b,{children:i(o.bankAccountNumber,c.accountNumber,"acccountNumber")}),r.jsx(b,{children:i(o.bankName,u.zeniAccountsConfigDetail.bankName,"bankName")}),m!=null?r.jsx(Y,{children:i(o.bankAddress,m,"bankAddress")}):null]}):p==="wireDetails"?r.jsxs(Qe,{children:[r.jsx(K,{children:i(o.bankRoutingNumber,c.routingNumberAch,"routingNumber")}),r.jsx(b,{children:i(o.accountTypeLabel,c.accountSubType.name,"accountType")}),r.jsx(b,{children:i(o.bankAccountNumber,c.accountNumber,"acccountNumber")}),r.jsx(b,{children:i(o.bankName,u.zeniAccountsConfigDetail.bankName,"bankName")}),m!=null?r.jsx(b,{children:i(o.bankAddress,m,"bankAddress")}):null,D!=null?r.jsx(b,{children:i(o.beneficiaryName,D,"beneficiaryName",o.beneficiaryNameSubLabel)}):null,C!=null?r.jsx(Y,{children:i(o.beneficiaryAddress,C,"beneficiaryAddress",o.beneficiaryAddressSubLabel)}):null]}):null]})})},Ee=t.div``,Re=t.div`
|
|
22
22
|
margin: ${a.sp4};
|
|
23
23
|
margin-left: ${a.sp0};
|
|
24
|
-
`,
|
|
24
|
+
`,Me=t.div`
|
|
25
25
|
display: flex;
|
|
26
26
|
align-items: center;
|
|
27
27
|
justify-content: space-between;
|
|
@@ -29,10 +29,10 @@ ${o.beneficiaryAddress} ${C}`,R(c),P(!0)},i=(f,c,x,J)=>{let d,l;switch(x){case"a
|
|
|
29
29
|
`,Pe=t.div`
|
|
30
30
|
display: flex;
|
|
31
31
|
gap: ${a.sp4};
|
|
32
|
-
`,
|
|
32
|
+
`,Ve=t(Te)`
|
|
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};
|
|
@@ -40,7 +40,7 @@ ${o.beneficiaryAddress} ${C}`,R(c),P(!0)},i=(f,c,x,J)=>{let d,l;switch(x){case"a
|
|
|
40
40
|
&:hover {
|
|
41
41
|
color: ${e=>e.theme.colors.primary};
|
|
42
42
|
}
|
|
43
|
-
`,
|
|
43
|
+
`,R=t.div`
|
|
44
44
|
box-sizing: border-box;
|
|
45
45
|
min-height: ${_e.transactionItemHeight}px;
|
|
46
46
|
display: flex;
|
|
@@ -57,7 +57,7 @@ ${o.beneficiaryAddress} ${C}`,R(c),P(!0)},i=(f,c,x,J)=>{let d,l;switch(x){case"a
|
|
|
57
57
|
color: ${e=>e.theme.colors.grey1};
|
|
58
58
|
}
|
|
59
59
|
}
|
|
60
|
-
`,
|
|
60
|
+
`,K=t(R)`
|
|
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),P(!0)},i=(f,c,x,J)=>{let d,l;switch(x){case"a
|
|
|
72
72
|
&:hover {
|
|
73
73
|
border-bottom-width: 1px;
|
|
74
74
|
}
|
|
75
|
-
`,Y=t(
|
|
75
|
+
`,Y=t(R)`
|
|
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;
|
|
@@ -114,18 +114,18 @@ ${o.beneficiaryAddress} ${C}`,R(c),P(!0)},i=(f,c,x,J)=>{let d,l;switch(x){case"a
|
|
|
114
114
|
justify-content: space-between;
|
|
115
115
|
width: 100%;
|
|
116
116
|
gap: ${a.sp4};
|
|
117
|
-
`,
|
|
117
|
+
`,Be=t(ae)`
|
|
118
118
|
color: ${e=>e.theme.colors.hero};
|
|
119
|
-
`,
|
|
119
|
+
`,Fe=t(ae)`
|
|
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
|
+
`,Oe=t.div`
|
|
127
127
|
display: flex;
|
|
128
|
-
`,
|
|
128
|
+
`,We=t.div`
|
|
129
129
|
display: flex;
|
|
130
130
|
flex-direction: column;
|
|
131
131
|
align-items: flex-end;
|
|
@@ -134,7 +134,7 @@ ${o.beneficiaryAddress} ${C}`,R(c),P(!0)},i=(f,c,x,J)=>{let d,l;switch(x){case"a
|
|
|
134
134
|
text-align: end;
|
|
135
135
|
`,I=t(re)`
|
|
136
136
|
color: ${e=>e.isTextCopied?E.primaryDark:E.neutralGrey1Light};
|
|
137
|
-
`,b=t(
|
|
137
|
+
`,b=t(R)`
|
|
138
138
|
box-shadow: ${e=>`${a.sp0} 2px ${a.sp1} ${e.theme.colors.dropShadowNormal}`};
|
|
139
139
|
display: flex;
|
|
140
140
|
border-radius: ${a.sp0};
|
|
@@ -146,4 +146,4 @@ ${o.beneficiaryAddress} ${C}`,R(c),P(!0)},i=(f,c,x,J)=>{let d,l;switch(x){case"a
|
|
|
146
146
|
border-top-width: 1px;
|
|
147
147
|
border-bottom-width: 1px;
|
|
148
148
|
}
|
|
149
|
-
`,Je=t.div``,
|
|
149
|
+
`,Je=t.div``,Qe=t.div``;export{er as r};
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import{f as g,F as l,V as t,al as x,b9 as d,n as b,o,p,aq as y,bX as j,bY as $,bZ as w,bQ as k}from"./index-CO_Updpp.js";import{n as r}from"./mui-ByF8ZmHV.js";import{t as v}from"./handshake-BPg58FML-BXfsCAUf.js";import"./sentry-DdXOXL3j.js";import"./liveblocks-BOlC_Koo.js";import"./core-cG0U1y2d.js";import"./recharts-C9z9JCsM.js";import"./zeni-epic-state-BiQIJCwr.js";import"./lottie-DQ5EyuJ6.js";import"./analytics-GoB8GGlk.js";import"./lexical-CUq6kk0g.js";import"./utils-BMrfBn9K.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]="8619bca6-f1cb-4c94-95f0-7d7bf1c2b6a2",e._sentryDebugIdIdentifier="sentry-dbid-8619bca6-f1cb-4c94-95f0-7d7bf1c2b6a2")}catch{}})();const m="support@zeni.ai",n=l.getLocalizedStrings().commonSetUp.twoFactorAuthentication,h=({unlockDate:e,onSubmit:i})=>{const s=g(),f=e.format(l.getLocalizedStrings().dateFormat.visual.MMMDCommaYYYYformat),u=e.format(l.getLocalizedStrings().dateFormat.visual.HHMMFormat);return t.jsxs(S,{children:[t.jsx(D,{children:n.accountLockedTitle}),t.jsxs(I,{children:[t.jsxs(a,{children:[t.jsx(c,{theme:s,children:t.jsx(Y,{})}),t.jsx(x,{children:n.accountLockedSecurityMessage})]}),t.jsxs(a,{children:[t.jsx(c,{theme:s,children:t.jsx(z,{})}),t.jsxs(d,{children:[n.tryAgainAfter,t.jsxs(C,{children:[f,t.jsx(L,{children:"•"}),u]}),n.signInViaGoogleOrMicrosoft]})]}),t.jsxs(a,{children:[t.jsx(c,{theme:s,children:t.jsx(A,{})}),t.jsxs(d,{children:[n.accountLockedContactMessage,t.jsx(_,{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
|
+
`,D=r(y)`
|
|
8
|
+
color: ${p.important};
|
|
9
|
+
text-align: center;
|
|
10
|
+
`,I=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
|
+
`,_=r.a`
|
|
25
|
+
text-decoration: underline;
|
|
26
|
+
color: ${e=>e.theme.colors.primary};
|
|
27
|
+
`,C=r(d)`
|
|
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
|
+
`,z=r($)`
|
|
44
|
+
width: ${o.sp4};
|
|
45
|
+
height: ${o.sp4};
|
|
46
|
+
`,Y=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
|
+
`,R=Object.freeze(Object.defineProperty({__proto__:null,AccountLockedInfo:h,default:M},Symbol.toStringTag,{value:"Module"}));export{h as A,m as Z,R as a};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{a9 as fe,fw as xe,V as t,ac as ye,cn as ge,co as je,cp as Se,o as i,a as $e,b6 as J,am as X,_ as ke,aa as be,dK as ve,eQ as we,d2 as K,dt as Z,F as Ce,al as d,f as Ee,aL as Pe,bv as ee,dN as te,au as Re,p as ne,u as Ie}from"./index-CO_Updpp.js";import{a as r}from"./sentry-DdXOXL3j.js";import{n as o}from"./mui-ByF8ZmHV.js";import{bL as oe,Gv as _e,Gw as De}from"./zeni-epic-state-BiQIJCwr.js";import{E as Te,C as Fe,w as Ue,f as Le}from"./AccountRow-COxNWv3J-Dkf6Savq.js";import"./liveblocks-BOlC_Koo.js";import"./core-cG0U1y2d.js";import"./recharts-C9z9JCsM.js";import"./lottie-DQ5EyuJ6.js";import"./analytics-GoB8GGlk.js";import"./lexical-CUq6kk0g.js";import"./utils-BMrfBn9K.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]="9b923291-3518-4271-a3fa-e798e0a4370e",e._sentryDebugIdIdentifier="sentry-dbid-9b923291-3518-4271-a3fa-e798e0a4370e")}catch{}})();const m={containerPaddingLeft:i.sp4,containerPaddingRight:i.sp4,navBarHeight:i.sp10,navBarPaddingRight:i.sp4,navBarPaddingLeft:i.sp4,balanceContainerWidth:114,sourceContainerWidth:400},Me=o.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
background-color: ${e=>e.theme.colors.grey4};
|
|
@@ -6,25 +6,25 @@ import{a8 as fe,fv as xe,V as t,ab as ge,cm as ye,cn as je,co as Se,o as c,B as
|
|
|
6
6
|
width: 100%;
|
|
7
7
|
height: 100vh;
|
|
8
8
|
position: relative;
|
|
9
|
-
gap: ${
|
|
10
|
-
`,
|
|
9
|
+
gap: ${i.sp5};
|
|
10
|
+
`,Ye=o.div`
|
|
11
11
|
display: flex;
|
|
12
12
|
flex: 0 0 auto;
|
|
13
|
-
width: ${
|
|
14
|
-
`,
|
|
13
|
+
width: ${i.sp4};
|
|
14
|
+
`,Be=o.div`
|
|
15
15
|
min-height: ${m.navBarHeight};
|
|
16
16
|
position: sticky;
|
|
17
17
|
background-color: ${e=>e.theme.colors.grey4};
|
|
18
18
|
border-bottom: 1px solid transparent;
|
|
19
19
|
z-index: 2;
|
|
20
|
-
top: ${
|
|
20
|
+
top: ${i.sp0};
|
|
21
21
|
width: 100%;
|
|
22
|
-
`,Oe=o(
|
|
22
|
+
`,Oe=o(ke)`
|
|
23
23
|
cursor: pointer;
|
|
24
24
|
color: ${e=>e.theme.colors.hero};
|
|
25
|
-
width: ${
|
|
26
|
-
height: ${
|
|
27
|
-
min-height: ${
|
|
25
|
+
width: ${i.sp4};
|
|
26
|
+
height: ${i.sp4};
|
|
27
|
+
min-height: ${i.sp3};
|
|
28
28
|
&:hover {
|
|
29
29
|
color: ${e=>e.theme.colors.primary};
|
|
30
30
|
}
|
|
@@ -32,10 +32,10 @@ import{a8 as fe,fv as xe,V as t,ab as ge,cm as ye,cn as je,co as Se,o as c,B as
|
|
|
32
32
|
`,Ae=o.div`
|
|
33
33
|
padding-left: ${m.containerPaddingLeft};
|
|
34
34
|
padding-right: ${m.containerPaddingRight};
|
|
35
|
-
`,
|
|
35
|
+
`,Ne=o.div`
|
|
36
36
|
position: relative;
|
|
37
37
|
min-height: 62px;
|
|
38
|
-
`,
|
|
38
|
+
`,We=o.div`
|
|
39
39
|
display: flex;
|
|
40
40
|
flex-direction: row;
|
|
41
41
|
align-items: center;
|
|
@@ -47,18 +47,18 @@ import{a8 as fe,fv as xe,V as t,ab as ge,cm as ye,cn as je,co as Se,o as c,B as
|
|
|
47
47
|
padding-right: ${m.navBarPaddingRight};
|
|
48
48
|
padding-left: ${m.navBarPaddingLeft};
|
|
49
49
|
height: 100%;
|
|
50
|
-
`,ze=o(
|
|
50
|
+
`,ze=o($e)`
|
|
51
51
|
display: flex;
|
|
52
52
|
flex: 1 1 0;
|
|
53
53
|
justify-content: center;
|
|
54
54
|
flex-direction: column;
|
|
55
|
-
`,He=o(
|
|
55
|
+
`,He=o(J)`
|
|
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
|
-
`,
|
|
61
|
+
`,ie=o(X)`
|
|
62
62
|
display: flex;
|
|
63
63
|
color: ${e=>e.theme.colors.hero};
|
|
64
64
|
align-items: center;
|
|
@@ -74,18 +74,18 @@ import{a8 as fe,fv as xe,V as t,ab as ge,cm as ye,cn as je,co as Se,o as c,B as
|
|
|
74
74
|
flex-direction: column;
|
|
75
75
|
align-items: center;
|
|
76
76
|
justify-content: center;
|
|
77
|
-
gap: ${
|
|
78
|
-
`,
|
|
77
|
+
gap: ${i.sp5};
|
|
78
|
+
`,Ke=o.div`
|
|
79
79
|
display: flex;
|
|
80
80
|
flex-direction: row;
|
|
81
81
|
align-items: center;
|
|
82
82
|
justify-content: center;
|
|
83
|
-
gap: ${
|
|
84
|
-
padding: ${
|
|
83
|
+
gap: ${i.sp2};
|
|
84
|
+
padding: ${i.sp3};
|
|
85
85
|
background-color: ${e=>e.theme.colors.background};
|
|
86
|
-
border-radius: ${
|
|
86
|
+
border-radius: ${i.sp2};
|
|
87
87
|
border: 1px solid ${e=>e.theme.colors.grey3};
|
|
88
|
-
`,
|
|
88
|
+
`,Qe=o.div`
|
|
89
89
|
display: flex;
|
|
90
90
|
flex-direction: column;
|
|
91
91
|
align-items: flex-start;
|
|
@@ -96,10 +96,10 @@ import{a8 as fe,fv as xe,V as t,ab as ge,cm as ye,cn as je,co as Se,o as c,B as
|
|
|
96
96
|
color: ${e=>e.theme.colors.hero};
|
|
97
97
|
align-items: center;
|
|
98
98
|
justify-content: flex-end;
|
|
99
|
-
`,
|
|
99
|
+
`,Ge=o(d)`
|
|
100
100
|
color: ${e=>e.theme.colors.primary};
|
|
101
101
|
text-align: left;
|
|
102
|
-
`,
|
|
102
|
+
`,Je=o.div`
|
|
103
103
|
display: flex;
|
|
104
104
|
flex-direction: column;
|
|
105
105
|
align-items: flex-start;
|
|
@@ -115,7 +115,7 @@ import{a8 as fe,fv as xe,V as t,ab as ge,cm as ye,cn as je,co as Se,o as c,B as
|
|
|
115
115
|
flex-direction: row;
|
|
116
116
|
align-items: flex-start;
|
|
117
117
|
justify-content: flex-start;
|
|
118
|
-
gap: ${
|
|
118
|
+
gap: ${i.sp1};
|
|
119
119
|
`,et=o.div`
|
|
120
120
|
display: flex;
|
|
121
121
|
flex-direction: column;
|
|
@@ -128,24 +128,24 @@ import{a8 as fe,fv as xe,V as t,ab as ge,cm as ye,cn as je,co as Se,o as c,B as
|
|
|
128
128
|
align-items: center;
|
|
129
129
|
justify-content: flex-start;
|
|
130
130
|
`,nt=o(d)`
|
|
131
|
-
height: ${
|
|
132
|
-
border-radius: ${
|
|
131
|
+
height: ${i.sp4};
|
|
132
|
+
border-radius: ${i.sp1};
|
|
133
133
|
color: ${e=>e.textColor.hex()};
|
|
134
134
|
text-align: right;
|
|
135
135
|
`,ot=o(d)`
|
|
136
|
-
border-radius: ${
|
|
137
|
-
padding: ${
|
|
136
|
+
border-radius: ${i.sp1};
|
|
137
|
+
padding: ${i.sp0} ${i.sp1};
|
|
138
138
|
justify-content: center;
|
|
139
139
|
text-align: center;
|
|
140
140
|
color: ${e=>e.textColor.hex()};
|
|
141
141
|
background-color: ${e=>e.bgColor.hex()};
|
|
142
|
-
`,
|
|
142
|
+
`,it=o.div`
|
|
143
143
|
display: flex;
|
|
144
144
|
flex-direction: row;
|
|
145
145
|
align-items: center;
|
|
146
146
|
justify-content: flex-end;
|
|
147
|
-
gap: ${
|
|
148
|
-
`,
|
|
147
|
+
gap: ${i.sp1};
|
|
148
|
+
`,ct=o(d)`
|
|
149
149
|
display: flex;
|
|
150
150
|
color: ${e=>e.theme.colors.primary};
|
|
151
151
|
align-items: center;
|
|
@@ -161,70 +161,70 @@ import{a8 as fe,fv as xe,V as t,ab as ge,cm as ye,cn as je,co as Se,o as c,B as
|
|
|
161
161
|
align-items: flex-start;
|
|
162
162
|
justify-content: center;
|
|
163
163
|
min-width: ${m.sourceContainerWidth}px;
|
|
164
|
-
gap: ${
|
|
165
|
-
`,rt=o(
|
|
164
|
+
gap: ${i.sp2};
|
|
165
|
+
`,rt=o(J)`
|
|
166
166
|
display: flex;
|
|
167
167
|
color: ${e=>e.theme.colors.primary};
|
|
168
168
|
align-items: center;
|
|
169
169
|
justify-content: flex-end;
|
|
170
|
-
padding-bottom: ${
|
|
170
|
+
padding-bottom: ${i.sp2};
|
|
171
171
|
`,lt=o.div`
|
|
172
172
|
display: flex;
|
|
173
173
|
flex-direction: column;
|
|
174
174
|
align-items: flex-start;
|
|
175
175
|
justify-content: space-between;
|
|
176
|
-
gap: ${
|
|
176
|
+
gap: ${i.sp2};
|
|
177
177
|
width: 100%;
|
|
178
178
|
`,C=o.div`
|
|
179
179
|
display: flex;
|
|
180
180
|
flex-direction: row;
|
|
181
181
|
align-items: center;
|
|
182
182
|
justify-content: space-between;
|
|
183
|
-
gap: ${
|
|
183
|
+
gap: ${i.sp2};
|
|
184
184
|
width: 100%;
|
|
185
|
-
`,
|
|
185
|
+
`,_=o(d)`
|
|
186
186
|
display: flex;
|
|
187
187
|
color: ${e=>e.theme.colors.hero};
|
|
188
188
|
align-items: center;
|
|
189
189
|
justify-content: flex-end;
|
|
190
|
-
`,
|
|
190
|
+
`,D=o(d)`
|
|
191
191
|
display: flex;
|
|
192
192
|
color: ${e=>e.theme.colors.primary};
|
|
193
193
|
align-items: center;
|
|
194
194
|
justify-content: flex-end;
|
|
195
|
-
gap: ${
|
|
195
|
+
gap: ${i.sp1};
|
|
196
196
|
`,j=o(d)`
|
|
197
197
|
display: flex;
|
|
198
198
|
align-items: center;
|
|
199
199
|
justify-content: flex-end;
|
|
200
|
-
gap: ${
|
|
201
|
-
`,
|
|
200
|
+
gap: ${i.sp1};
|
|
201
|
+
`,N=o.div`
|
|
202
202
|
display: flex;
|
|
203
203
|
flex-direction: row;
|
|
204
204
|
align-items: center;
|
|
205
205
|
justify-content: flex-end;
|
|
206
|
-
gap: ${
|
|
206
|
+
gap: ${i.sp1};
|
|
207
207
|
`,dt=o(Ie)`
|
|
208
|
-
width: ${
|
|
209
|
-
height: ${
|
|
208
|
+
width: ${i.sp3};
|
|
209
|
+
height: ${i.sp3};
|
|
210
210
|
color: ${ne.success};
|
|
211
|
-
`,
|
|
212
|
-
width: ${
|
|
213
|
-
height: ${
|
|
211
|
+
`,ce=o(ee)`
|
|
212
|
+
width: ${i.sp3};
|
|
213
|
+
height: ${i.sp3};
|
|
214
214
|
color: ${e=>e.theme.colors.primary};
|
|
215
215
|
`,ae=o(te)`
|
|
216
|
-
width: ${
|
|
217
|
-
height: ${
|
|
216
|
+
width: ${i.sp3};
|
|
217
|
+
height: ${i.sp3};
|
|
218
218
|
color: ${e=>e.theme.colors.primary};
|
|
219
219
|
`,ut=o(ee)`
|
|
220
220
|
margin-top: 2px;
|
|
221
|
-
width: ${
|
|
222
|
-
height: ${
|
|
221
|
+
width: ${i.sp3};
|
|
222
|
+
height: ${i.sp3};
|
|
223
223
|
color: ${e=>e.theme.colors.primary};
|
|
224
224
|
`,pt=o(te)`
|
|
225
225
|
margin-top: 2px;
|
|
226
|
-
width: ${
|
|
227
|
-
height: ${
|
|
226
|
+
width: ${i.sp3};
|
|
227
|
+
height: ${i.sp3};
|
|
228
228
|
color: ${e=>e.theme.colors.primary};
|
|
229
229
|
`,ht=o(d)`
|
|
230
230
|
display: flex;
|
|
@@ -236,4 +236,4 @@ import{a8 as fe,fv as xe,V as t,ab as ge,cm as ye,cn as je,co as Se,o as c,B 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:G,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:b,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)}),$=f.handleSubmit(()=>{}),[h,g]=r.useState(void 0),k=n.link_account_no_microdeposit,v=n.update_account,a=h==="update_account"?v:k,[y,M]=r.useState(a.linkToken??null),[s,w]=r.useState(!1),[N,B]=r.useState(!1),[Y,O]=r.useState(void 0),[re,z]=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:()=>{Y!=null&&(R(Y),O(void 0)),z(void 0),B(!1)},onCancelClick:()=>{O(void 0),B(!1)}},H=r.useRef(h);r.useEffect(()=>{H.current=h},[h]);const pe=r.useCallback(I=>{P(I,e.accountReconEntity.account.accountId,H.current),g(void 0),w(!1)},[P,e.accountReconEntity.account.accountId]),he=r.useCallback((I,me)=>{I!=null&&console.log("Plaid Connection Error",I,me),g(void 0),w(!1)},[]),{open:q,ready:V}=xe({token:y,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===y&&a.fetchStatus.fetchState==="Completed"&&V&&w(!0)},[V,y,a.fetchStatus.fetchState,a.linkToken,h,s]),r.useEffect(()=>{a.fetchStatus.fetchState==="Completed"&&a.linkToken!=null&&a.linkToken!==y&&M(a.linkToken)},[a.fetchStatus.fetchState,a.linkToken,y]),r.useEffect(()=>{s&&q()},[s,q]),t.jsxs(Me,{children:[t.jsx(Ye,{children:t.jsx(We,{children:t.jsxs(Ne,{children:[t.jsx(Be,{}),t.jsxs(ze,{children:[t.jsx(He,{children:e.accountReconEntity.account.accountName}),t.jsx(ce,{children:t.jsx(kt,{monthYearPeriod:l})})]}),t.jsx(qe,{children:t.jsx(Oe,{onClick:b})})]})})}),t.jsxs(Ae,{children:[t.jsx(ge,{...f,children:t.jsx("form",{style:{width:"100%"},id:xt,onSubmit:$,children:t.jsx(gt,{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:B,deleteFileId:Y,setDeleteFileId:O,uploadErrorMessage:re,setUploadErrorMessage:z})})}),N===!0||e.statementDeleteStatus.fetchState==="In-Progress"?t.jsx(ye,{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 gt=({monthYearPeriod:e,accountReconciliation:n,filesEndPoint:l,authParams:u,openFilePicker:x,onConnectClick:S,onReconnectClick:b,setDeleteFileId:E,setShowConfirmationPopup:P,onEditFileName:T,onSelectSourceType:R,onStatementUploadSuccess:F,onUploadWindowOpenedOnce:U,uploadErrorMessage:L,setUploadErrorMessage:f})=>{const[$,h]=r.useState(!1),g=(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||$?"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 y=["reconciled","in_progress","reconciled_via_qbo"],M=n.accountReconEntity.reconciliationStatus!=null&&y.includes(n.accountReconEntity.reconciliationStatus.code);return t.jsxs(Ve,{children:[t.jsxs(Je,{children:[t.jsxs(Ge,{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(bt,{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(yt,{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:b}):t.jsx(St,{uploadInProgress:$,status:n.accountReconEntity.statementDataStatus?.code})})]}),t.jsxs(C,{children:[t.jsx(D,{children:i.reconciliation.drawer.labels.accountType}),t.jsx(_,{children:t.jsx($t,{accountSubType:J(n.accountReconEntity.account.accountSubType??"")})})]}),t.jsxs(C,{children:[t.jsx(D,{children:i.reconciliation.drawer.labels.lastUpdated}),t.jsx(_,{children:t.jsx(Z,{isLoading:$,customStyle:{height:"20px",width:"100px"},position:"left",children:g!=null?t.jsx(j,{children:J(g.utc(!0).fromNow())}):p.strings.hyphen})})]})]})]})]})},yt=({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}),bt=({variance:e,variancePercentage:n,reconciliationStatusCode:l})=>{const u=Ee(),{varianceColor:x,variancePercentageColor:S,variancePercentageContainerColor:b}=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:b,children:[n!=null?n===0?"0":n.toFixed(2):null,n!=null?p.strings.percentage:null]})]})},$t=({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(G.visual.DMMMYYYYFormat)} ${p.strings.hyphen} ${x.format(G.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:Q,expenseAutomation:{accountRecon:c}}=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:G(e),resetOptions:{keepDirtyValues:!0,keepErrors:!0},values:G(e)}),k=f.handleSubmit(()=>{}),[h,y]=r.useState(void 0),b=n.link_account_no_microdeposit,v=n.update_account,a=h==="update_account"?v:b,[g,M]=r.useState(a.linkToken??null),[s,w]=r.useState(!1),[W,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:q,ready:V}=xe({token:g,onSuccess:pe,onExit:he});return r.useEffect(()=>{(oe(new Date().toISOString()).isAfter(a.expiration)||a.linkToken==null)&&a.fetchStatus.fetchState==="Not-Started"&&E("link_account_no_microdeposit")},[a.fetchStatus.fetchState]),r.useEffect(()=>{!s&&h!=null&&a.linkToken===g&&a.fetchStatus.fetchState==="Completed"&&V&&w(!0)},[V,g,a.fetchStatus.fetchState,a.linkToken,h,s]),r.useEffect(()=>{a.fetchStatus.fetchState==="Completed"&&a.linkToken!=null&&a.linkToken!==g&&M(a.linkToken)},[a.fetchStatus.fetchState,a.linkToken,g]),r.useEffect(()=>{s&&q()},[s,q]),t.jsxs(Me,{children:[t.jsx(Be,{children:t.jsx(Ne,{children:t.jsxs(We,{children:[t.jsx(Ye,{}),t.jsxs(ze,{children:[t.jsx(He,{children:e.accountReconEntity.account.accountName}),t.jsx(ie,{children:t.jsx(bt,{monthYearPeriod:l})})]}),t.jsx(qe,{children:t.jsx(Oe,{onClick:$})})]})})}),t.jsxs(Ae,{children:[t.jsx(ye,{...f,children:t.jsx("form",{style:{width:"100%"},id:xt,onSubmit:k,children:t.jsx(yt,{monthYearPeriod:l,accountReconciliation:e,filesEndPoint:x,openFilePicker:u,authParams:S,onConnectClick:le,onReconnectClick:de,onSelectSourceType:T,onDeleteFile:R,onEditFileName:F,onStatementUploadSuccess:U,onUploadWindowOpenedOnce:L,showConfirmationPopup:W,setShowConfirmationPopup:Y,deleteFileId:B,setDeleteFileId:O,uploadErrorMessage:re,setUploadErrorMessage:z})})}),W===!0||e.statementDeleteStatus.fetchState==="In-Progress"?t.jsx(ge,{titleComponent:t.jsx(Se,{children:c.reconciliation.drawer.deleteConfirmation.heading}),descriptionComponent:t.jsx(je,{children:c.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[k,h]=r.useState(!1),y=(n.localData?.accountSource??"plaid")==="plaid"?n.accountReconEntity.reconciliationId!=null?n.accountReconEntity.reconUpdatedAt:n.accountReconEntity.accountUpdatedAt:n.accountReconEntity.reconUpdatedAt,b=[];n.accountReconEntity.account.accountType==="bank"&&b.push({label:c.reconciliation.menu.bankConnection,value:"plaid"}),b.push({label:c.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||k?"bank_statement":void 0;n.accountReconEntity.account.accountType==="credit_card"&&(a="bank_statement"),r.useEffect(()=>{n.accountReconEntity.statementStatus.code==="uploaded"&&(n.accountReconEntity.statementDataStatus?.code==="validation_failed"||n.accountReconEntity.statementDataStatus?.code==="parsing_failed"||n.accountReconEntity.statementDataStatus?.code==="processing_failed")&&f(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(Ve,{children:[t.jsxs(Ke,{children:[t.jsxs(Qe,{children:[t.jsx(A,{children:c.reconciliation.headers.bankBalance}),t.jsx(Ge,{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(Je,{children:[t.jsx(A,{children:c.reconciliation.headers.clearedBalance}),t.jsx(Xe,{children:t.jsx(Ue,{clearedBalance:n.accountReconEntity.clearedBalance,isLoading:!1})})]}),t.jsxs(et,{children:[t.jsx(A,{children:c.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:[" ",c.reconciliation.drawer.source," "]}),t.jsxs(lt,{children:[t.jsxs(C,{children:[t.jsx(_,{children:c.reconciliation.drawer.labels.type}),t.jsx(D,{children:a!=null?t.jsx(j,{children:a==="plaid"&&n.accountReconEntity.account.accountType==="bank"?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(be,{controller:!0,children:t.jsx(ve,{moreIconType:"custom",customIcon:t.jsx(gt,{selectedSourceType:v}),options:b,customStyleConfig:{option:()=>({".option-container":{justifyContent:"flex-start"}}),valueContainer:()=>({height:i.sp5,width:"180px"})},menuPlacement:"bottom",onOptionSelection:s=>{R(_e(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:c.reconciliation.drawer.downloadPlaceholder,autoOpenFilePicker:x,accountStatementUpload:{uploadHelper:De,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(_,{children:c.reconciliation.drawer.labels.status}),t.jsx(D,{children:v!=="bank_statement"?t.jsx(jt,{status:n.accountConnectionStatus,connectionInProgress:n.connectionInProgress,onConnectClick:S,onReconnectClick:$}):t.jsx(St,{uploadInProgress:k,status:n.accountReconEntity.statementDataStatus?.code})})]}),t.jsxs(C,{children:[t.jsx(_,{children:c.reconciliation.drawer.labels.accountType}),t.jsx(D,{children:t.jsx(kt,{accountSubType:K(n.accountReconEntity.account.accountSubType??"")})})]}),t.jsxs(C,{children:[t.jsx(_,{children:c.reconciliation.drawer.labels.lastUpdated}),t.jsx(D,{children:t.jsx(Z,{isLoading:k,customStyle:{height:"20px",width:"100px"},position:"left",children:y!=null?t.jsx(j,{children:K(y.utc(!0).fromNow())}):p.strings.hyphen})})]})]})]})]})},gt=({selectedSourceType:e})=>t.jsxs(it,{children:[e==null||e==="plaid"?t.jsx(ce,{}):t.jsx(ae,{}),t.jsx(ct,{children:e==null||e==="plaid"?c.reconciliation.menu.bankConnection:c.reconciliation.menu.statement}),t.jsx(at,{})]}),jt=({status:e,connectionInProgress:n,onConnectClick:l,onReconnectClick:u})=>n?t.jsx(N,{children:c.reconciliation.drawer.values.connecting}):e==="connected"?t.jsxs(N,{children:[t.jsx(dt,{}),t.jsx(ht,{children:c.reconciliation.drawer.values.connected})]}):t.jsx(N,{onClick:e==="reconnect"?u:l,children:t.jsx(mt,{status:e,children:e==="reconnect"?c.reconciliation.drawer.values.reconnect:c.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:c.reconciliation.drawer.values.statementParsing}):e==="validated"?t.jsx(j,{children:c.reconciliation.drawer.values.uploaded}):t.jsx(j,{children:p.strings.hyphen}),$t=({variance:e,variancePercentage:n,reconciliationStatusCode:l})=>{const u=Ee(),{varianceColor:x,variancePercentageColor:S,variancePercentageContainerColor:$}=Le(u,e,l,!0);return t.jsxs(Ze,{children:[t.jsx(nt,{textColor:x,children:Pe("0,0",e)??p.strings.hyphen}),t.jsxs(ot,{textColor:S,bgColor:$,children:[n!=null?n===0?"0":n.toFixed(2):null,n!=null?p.strings.percentage:null]})]})},kt=({accountSubType:e})=>{const n=e!=null?e.replace("_"," "):p.strings.hyphen;return t.jsx(j,{children:n})},bt=({monthYearPeriod:e})=>t.jsx(ie,{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(Q.visual.DMMMYYYYFormat)} ${p.strings.hyphen} ${x.format(Q.visual.DMMMYYYYFormat)}`},G=e=>({[se]:{file:e.accountReconEntity.statementMetaData?.file,selectedType:e.localData?.accountSource}});export{Mt as default,ft as uniqueName};
|