@zeniai/web-cockpit-ui 1.13.86-qa → 1.13.87-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-DGGeHZnW-OUx0JlaE.js → ACHDetailsPage-CW8vDdF5-BjcStneE.js} +3 -3
- package/dist/assets/{AIPerformancePage-BnFh61HC-D-vuF-aa.js → AIPerformancePage-tSqRY12b-CS74oHek.js} +29 -29
- package/dist/assets/AccountInfoPage-C9rcnhgb-CRWEZYsW.js +18 -0
- package/dist/assets/{AccountInfoPageContent-C4VpFgc_-JSl2YV-p.js → AccountInfoPageContent-DftJxUep-Cw9zyQ_s.js} +20 -20
- package/dist/assets/{AccountReconDetailsDrawerPage-DJmFBJve-BEXiHF92.js → AccountReconDetailsDrawerPage-CBpvkm_m-BXrukYLg.js} +16 -16
- package/dist/assets/AccountRow-cQU8OX0K-yHyqR7LP.js +298 -0
- package/dist/assets/{AccountsPromoCardStack-D5elLwcD-DCBWNnh_.js → AccountsPromoCardStack-DuBj_EHe-B3WzwbTq.js} +23 -23
- package/dist/assets/{AddAddressForCardDrawer-D9uW1sU2-HmHZpd50.js → AddAddressForCardDrawer-D4edy26A-B1-8tiAZ.js} +2 -2
- package/dist/assets/{AddToWalletPage-D3yOWwc3-DOZUi61e.js → AddToWalletPage-Lkfz2CzH--lPqUVOg.js} +35 -35
- package/dist/assets/{AgingReportsPage-DlB02nzb-Bs2EnYRJ.js → AgingReportsPage-DtW2tU4n-DVEUTxX1.js} +4 -4
- package/dist/assets/{AllUserItems-Bwbb5_fm-foSEEGxU.js → AllUserItems-DcuO9Oho-D7VaO8Uf.js} +7 -7
- package/dist/assets/{ApAgingDetailPage-Bhf_ygxm-DyhmSfMs.js → ApAgingDetailPage-D2UVTYqP-9KAbUMxy.js} +3 -3
- package/dist/assets/{AppBasePage-DyGLpjZ0-BqxctD7f.js → AppBasePage-iuomCofd-D1M4Ldw8.js} +4 -4
- package/dist/assets/{AppDrawerContent-D_dlUPFp-DUip7d_J.js → AppDrawerContent-BfpdXsfY-BoqfQVbX.js} +8 -8
- package/dist/assets/{ApprovalRulesSettingsPage-DLvGE0ND-C2H7LBu1.js → ApprovalRulesSettingsPage-BKAWfUl9-BUmVoC9W.js} +6 -6
- package/dist/assets/{ArAgingChart-CR7dx7XY-D864nxpa.js → ArAgingChart--GzyqIlN-wEZY3asj.js} +5 -5
- package/dist/assets/{ArAgingDetailPage-kU_SEimL-B-N2mSJB.js → ArAgingDetailPage-A0zmG_tR--cuXu7ko.js} +2 -2
- package/dist/assets/{AttachmentView-ClQPirg--DH6lVfEf.js → AttachmentView-D203zhS3-Blc80O1o.js} +8 -8
- package/dist/assets/{BankAccountSection-DLB1oftk-ZIGZnPUm.js → BankAccountSection-iz2k4H5K-CWZXnWVk.js} +4 -4
- package/dist/assets/{BankAccountWarningSection-ClrNHLqo-DiHKiUok.js → BankAccountWarningSection-CSJXyjMA-BgaGb4P-.js} +5 -5
- package/dist/assets/{BankConnectionsSettingsPage-D1w10U35-XvquRT1t.js → BankConnectionsSettingsPage-Co5pwxWT-C5lfXSpY.js} +15 -15
- package/dist/assets/{BillDetailPage-Bfrn4oa6-Bnr67OuG.js → BillDetailPage-BJbdAC5y-CMbCAQ4h.js} +5 -5
- package/dist/assets/{BillPayApprovalRuleDetailPage-DIzv3Xu9-D179TcD8.js → BillPayApprovalRuleDetailPage-D4-goF6x-C23aUqzX.js} +2 -2
- package/dist/assets/{BillPayApprovalRulesPage-CPBknTMQ-qfQIhuGY.js → BillPayApprovalRulesPage-CpAFdET_-DdMQ64US.js} +3 -3
- package/dist/assets/{BillPayPromoPage-CKETeVet-BziOeokR.js → BillPayPromoPage-DZn9Wdsi-COOh5nks.js} +2 -2
- package/dist/assets/{BillPaySetUpPage-DIz-RZih-Rtu6FSq3.js → BillPaySetUpPage-BGxI3SGy--373OJdf.js} +2 -2
- package/dist/assets/BillingSettingsPage-B3h6dTYD-CiH5BD6s.js +44 -0
- package/dist/assets/BillsBulkReviewDrawerPage-Ck830aIk-BaNyoEgy.js +1 -0
- package/dist/assets/{BoxItem-B8KF3Skh-BfuEFlCw.js → BoxItem-C-RN4c2j-F6XwRGQ-.js} +1 -1
- package/dist/assets/BusinessVerificationPage-BEK8kZil-Di05q2Gg.js +140 -0
- package/dist/assets/{CardNumberSubText-CNiPWVeO-CAc-nd6v.js → CardNumberSubText-Bvs0Rr9x-DPY11oi8.js} +1 -1
- package/dist/assets/{CashbackDetailPage-BNWBGKHa-CwbY9Mrf.js → CashbackDetailPage-9aAW-23b-6kdPvDSO.js} +24 -24
- package/dist/assets/{ChargeCardDetailPage-BuCwlpLH-BkJDZe-M.js → ChargeCardDetailPage-DHjtLrCu-8rSs9AMN.js} +58 -58
- package/dist/assets/ChargeCardListPage-DzmHmoAp-BfBb-N8b.js +355 -0
- package/dist/assets/{ChargeCardListTable-D4-Br785-BEWwSLsM.js → ChargeCardListTable-jGT-e74M-5-uAUG8Z.js} +18 -18
- package/dist/assets/ChargeCardPromoPage-C2wn8FfE-Qh6s_V9A.js +219 -0
- package/dist/assets/{ChargeCardSetupPage-fy0EpA-m-choA3AmF.js → ChargeCardSetupPage-CN5Nbcsp-Bu6r203Z.js} +2 -2
- package/dist/assets/{ChargeCardStatementsPage-B_rdiq_Y-Mj5VqZ8D.js → ChargeCardStatementsPage-Bu_rIDAD-BeeV8bqA.js} +4 -4
- package/dist/assets/{ChargeCardUtils-CtoTn6DQ-B1uvEbfZ.js → ChargeCardUtils-C-37hd5J-B8Ue09Ej.js} +1 -1
- package/dist/assets/{ChaseOverlay-DfjQ73Ie-B1a_VHty.js → ChaseOverlay-BG833ttH-_qJdBH9y.js} +8 -8
- package/dist/assets/CheckDepositDrawerPage-B4F_yGVS-pfAuDSEr.js +206 -0
- package/dist/assets/{CollapsableReportTable-CHsJ-93l-_tp8mBam.js → CollapsableReportTable-CtS-s84B-BR4en1d9.js} +2 -2
- package/dist/assets/{CompanyOfficerDetailsSection-BlUCDRW6-nX8ZqVcI.js → CompanyOfficerDetailsSection-Bor8xmLS-OgNQHHeC.js} +29 -29
- package/dist/assets/{CompanyPassportCard-DSRRu6RZ-Bh15KNQH.js → CompanyPassportCard-n-awcw82-DRSohnEc.js} +4 -4
- package/dist/assets/{CompanyPassportPage-DpeoVbLk-LzD8NVJu.js → CompanyPassportPage-WfbfWOs1-COSgoQMl.js} +139 -139
- package/dist/assets/{CompleteProfile-BaTEooSW-CqOmhDzj.js → CompleteProfile-D80JYwPP-BRDUY6r-.js} +10 -10
- package/dist/assets/ConfettiBurst-UJtKVS38-DdsiBpUw.js +1 -0
- package/dist/assets/{CreateOrEditVendorPage-CaIc3Tib-CG1q00M6.js → CreateOrEditVendorPage-BMLSs7Yo-DmUQ86jB.js} +15 -15
- package/dist/assets/{CreditCardPaymentDrawerPage-DEFrzmkG-BxfCKM_T.js → CreditCardPaymentDrawerPage-8zmbMj3u-ZPA-ktu-.js} +16 -16
- package/dist/assets/{CreditCardPaymentPlgSection-IeRxDnG7-CjAsn7C3.js → CreditCardPaymentPlgSection-DD7kSp5v-BuL73gip.js} +10 -10
- package/dist/assets/{CurrencySelectField-DDiCwLn7-YYqTYrI9.js → CurrencySelectField-DGID-Pjb-B38xYqrH.js} +5 -5
- package/dist/assets/{CustomerOnboardingActivationPage-976y8y35-scZKYnaP.js → CustomerOnboardingActivationPage-pdEVqtkO-B5fJSkdd.js} +3 -3
- package/dist/assets/CustomerOnboardingContainerPage-ChQOOhF_-C8keGYSw.js +1 -0
- package/dist/assets/{CustomerOnboardingDetailPageSkeleton-DYfidx87-wSUqD-QE.js → CustomerOnboardingDetailPageSkeleton-1d9j5dWO-dyqi73hm.js} +11 -11
- package/dist/assets/{CustomerOnboardingNoStepsPage-DrLZ3k77-CapA6PF7.js → CustomerOnboardingNoStepsPage-BqrKQCFg-1lfgph7E.js} +8 -8
- package/dist/assets/CustomerOnboardingPage-DVVWivk2-WMhFdF9M.js +107 -0
- package/dist/assets/{CustomerOnboardingProductSuitePage-CmHltdpN-CG4NNyMb.js → CustomerOnboardingProductSuitePage-D_WVGW91-B4zQnbeq.js} +4 -4
- package/dist/assets/Dashboard-B-fLAQ8T-DoAtb0kg.js +1253 -0
- package/dist/assets/{DashboardReportPage-DULpVd6J-75Z0L48f.js → DashboardReportPage--SAxmUu_-Dq18S8YZ.js} +67 -67
- package/dist/assets/{DepositAccTransactionItem-BEs_Al_8-CuMFfqIl.js → DepositAccTransactionItem--OdW7LRx-zcdQHy5Q.js} +2 -2
- package/dist/assets/{DepositAccTransactionListPage-CL8Rr3I4-33C_Xyfq.js → DepositAccTransactionListPage-BGapI5f0-BXH4xxAt.js} +8 -8
- package/dist/assets/{DocumentSecurityBanner-BgKXBGg3-BFG8spIP.js → DocumentSecurityBanner-Ctdvj5Tn-CM5WmW33.js} +1 -1
- package/dist/assets/DomesticWireDetailsPage-BGP2DLHb-CLZOaehZ.js +21 -0
- package/dist/assets/{DownloadOverlay-cne9_fIV-B70vx7oL.js → DownloadOverlay-VDEpvzHH-C6KDM3Im.js} +17 -17
- package/dist/assets/{DrawerPage-B0mgBHB5-ChiJCORg.js → DrawerPage-BauCSJ4q-DA93KkS0.js} +8 -8
- package/dist/assets/EditPeoplePage-mz7FTion-DdIStM8G.js +55 -0
- package/dist/assets/{EditReimbursementDetailPage-DWhSkrJ7-1GfIFWJd.js → EditReimbursementDetailPage-Bi_rdyjb-DXvJQD3u.js} +69 -69
- package/dist/assets/{EntityDetailPage-wnOA1SH7-tJdurFyO.js → EntityDetailPage-Bc2AVCEp-DOVttkwP.js} +2 -2
- package/dist/assets/{EntitySummarySection-Q_UUVBaU-CID1Yc5G.js → EntitySummarySection-CDO6K9RG-CZ1I06e-.js} +11 -11
- package/dist/assets/{ExpenseAutomationOverviewPage-BumrdlGf-DX7NOJQ2.js → ExpenseAutomationOverviewPage-C7SAclix-Ch7r281h.js} +20 -20
- package/dist/assets/{ExpenseAutomationPage-DKjInf-x-BCsOx_7m.js → ExpenseAutomationPage-A03nzEV--i6evGevK.js} +84 -84
- package/dist/assets/{ExpressPayPage-wwfao-Tr-CSsYXi5m.js → ExpressPayPage-B5QCvPtb-mYcSl8Ub.js} +8 -8
- package/dist/assets/{FeaturePreviewPage-DriDr9id-ROApNhqW.js → FeaturePreviewPage-Czr4aIad-Bq5X23tc.js} +2 -2
- package/dist/assets/{FollowStepsSection-5025urr9-Ck_w_QTD.js → FollowStepsSection-Cf1g5oOj-5G8g4W7R.js} +9 -9
- package/dist/assets/{GlobalReviewListPage-BFjOsp4u-9IO5GFZn.js → GlobalReviewListPage-BI8uyXfO-DlP3gmGv.js} +11 -11
- package/dist/assets/HelpButton-CWPUP9Y_-RpIu9G0D.js +28 -0
- package/dist/assets/{InformationCardStack-DrD-sWV8-CLKN9UMO.js → InformationCardStack-WnJWUp5O-BeMJUt9i.js} +5 -5
- package/dist/assets/{InsightsCardStack-CFqfiCOY-0kHG30ML.js → InsightsCardStack-CRA0RPsW-D6ISd9AF.js} +8 -8
- package/dist/assets/{InsightsSection-CN1BVvSr-C28_ugbT.js → InsightsSection-DvcmBPbo-Kmp0eo1Q.js} +3 -3
- package/dist/assets/{IntegrationsSettingsPage-BBlKuJxA-DdBiffjL.js → IntegrationsSettingsPage-D41_8UnK-CBjS_ZvM.js} +5 -5
- package/dist/assets/{InternationalWireSwiftDetailsPage-f4DZUYIx-DoMtuYGP.js → InternationalWireSwiftDetailsPage-BFN-eaZB-DkA8hvOx.js} +11 -11
- package/dist/assets/{InternationalWireVerificationPage-5WpkXxPC-3ODzEjsY.js → InternationalWireVerificationPage-xmoJO63s-D_kiU9kB.js} +17 -17
- package/dist/assets/{InviteFormPage-Bw2ykerx-yr8DXAFN.js → InviteFormPage-Zy3qQng6-WUFAPnrT.js} +14 -14
- package/dist/assets/{InvitePageListView-BHp1m02Z-DotOTYQz.js → InvitePageListView-gATEAhxa-BJvv1nxH.js} +40 -40
- package/dist/assets/InvitePeoplePage-DkRbCpN7-4Qef88o5.js +12 -0
- package/dist/assets/{InvoiceUploadSection-B8Xsz6dM-CEaP18Oj.js → InvoiceUploadSection-CTbnx9F4-DxOvNNGL.js} +5 -5
- package/dist/assets/{IssueChargeCardPage-DYrMWSZg-ykKhm8SA.js → IssueChargeCardPage-BwBDVxeq-QT3JqZbp.js} +25 -25
- package/dist/assets/{LabeledAddressValue-kKgzA0is-AH8Iao2Q.js → LabeledAddressValue-C5YXOhcz-DcQYX30H.js} +1 -1
- package/dist/assets/{LabeledAddressValueField-Bey_bvyv-B3Pa1cso.js → LabeledAddressValueField-CMIVYcKX-IiR7eG-s.js} +3 -3
- package/dist/assets/{LabeledControlledCheckBoxField-CKrD5nfN-BpCb0QIx.js → LabeledControlledCheckBoxField-Dr8ND8SA-C9Qzlvtb.js} +1 -1
- package/dist/assets/{LabeledCreatableSingleSelectField-B3x1MZJr-DVXxS64O.js → LabeledCreatableSingleSelectField-CrDFWvwI-C1AD80Rw.js} +7 -7
- package/dist/assets/LabeledDocumentField-BG6Pu34Y-Dl5pM6Dq.js +41 -0
- package/dist/assets/LabeledDropDownFormattedTextField-cv7zClcb-f3M9bbM_.js +59 -0
- package/dist/assets/{LabeledText-BUZXeSSr-B6pPUri4.js → LabeledText-DaM1ChQF-BwcpwF0f.js} +3 -3
- package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField--jmAGQy--BwlgKrum.js → LabeledUserSingleSelectWithSubtitlesField-ClM9Uj1y-6k_crmLc.js} +6 -6
- package/dist/assets/{LabeledZeniRolesDropDownField-Dt5MOz8L-Bqi7WOPw.js → LabeledZeniRolesDropDownField-DfAO3Vyq-C62yt72O.js} +21 -21
- package/dist/assets/{LinkJETransactionPage-DZZORFZw-D9YZWkov.js → LinkJETransactionPage-CSlZZ9r4-ChRBBG28.js} +7 -7
- package/dist/assets/{LowBalancePopup-BQYkTR6v-CoYeOAci.js → LowBalancePopup-ZfmTgr7J-C3y63M8c.js} +7 -7
- package/dist/assets/{MagicLinkACHDetailsPage-B2TCqv5k-xt9jOfyd.js → MagicLinkACHDetailsPage-Ad9q16ze-Cc4KtwXI.js} +1 -1
- package/dist/assets/{MagicLinkDomesticWireDetailsPage-D0Fcshtr-CZ7SVepC.js → MagicLinkDomesticWireDetailsPage-TudYpGU_-cwp5jFX6.js} +1 -1
- package/dist/assets/{MagicLinkInternationalWireDetailsPage-BfschSvJ-C5kNVjnK.js → MagicLinkInternationalWireDetailsPage-DfZQur8x-MDCFOTKW.js} +1 -1
- package/dist/assets/{MagicLinkSuccessPage-CLkxou_Q-D2rGGQFx.js → MagicLinkSuccessPage-G9P6M-7E-bWNtOw6X.js} +5 -5
- package/dist/assets/{MagicLinkTitleSection-BcnZtmCV-D01ipFwy.js → MagicLinkTitleSection-BnKDwhBK-wh8Yf-S0.js} +3 -3
- package/dist/assets/{MailingDetailsSection-B5PAttoo-BraCcOIq.js → MailingDetailsSection-BV_-2RQM-CCg3F_6v.js} +1 -1
- package/dist/assets/{MeetingCalenderPopup-DM1wkT0M-o6W0kz73.js → MeetingCalenderPopup-C6y2cRLo-BgxsFwD_.js} +1 -1
- package/dist/assets/{Menu-teOpHszN-0mIgFEc4.js → Menu-Dhi3mAAc-CTdMUIt5.js} +3 -3
- package/dist/assets/{MyBankConnectionsSettingsPage-M74Mv2-V-BlzrdZrc.js → MyBankConnectionsSettingsPage-D1DMNxbh-ChPr7QXP.js} +13 -13
- package/dist/assets/{MyPendingActivationChargeCardListPage-jv9dbM48-C2rob0-n.js → MyPendingActivationChargeCardListPage-CtxNt4Km-OhPuLid4.js} +1 -1
- package/dist/assets/{MyProfileSettingsPage-CrhE1vfc-C3UPxGz1.js → MyProfileSettingsPage-ehPTh7cb-C19JE_a0.js} +8 -8
- package/dist/assets/{NavBarWithPicker-w36OQzVq-BiHkunmC.js → NavBarWithPicker-BF7k45-H-CqiTH9vF.js} +3 -3
- package/dist/assets/{NavigationArrow-CUVjQXS6-DZiLvLAX.js → NavigationArrow-DKuw9kCL-2Rze1y5j.js} +9 -6
- package/dist/assets/{NavigationDots-Dt6TkUQ7-BdJrqnLv.js → NavigationDots-DfJQIsra-CF_rwB9h.js} +1 -1
- package/dist/assets/{NewGlobalMerchantPage-BAq_UQw1-DNne0cwf.js → NewGlobalMerchantPage-CWyjN00H-0DvMrAS7.js} +9 -9
- package/dist/assets/NoDataChart-BHIoW_SW-DoqAVhyM.js +26 -0
- package/dist/assets/{NoDataTable-Akc9VjuK-DJ2LZ4YZ.js → NoDataTable-Txtz3a1x-CVIPKw2H.js} +1 -1
- package/dist/assets/{NotFoundPage-3pCYWZU4-y2wxuZwk.js → NotFoundPage-DewJikvf-DquNlF_a.js} +1 -1
- package/dist/assets/{NotificationSettingsPage-BX5y9Bhs-Da5sQUSW.js → NotificationSettingsPage-CAFlFJ9J-DNtSJXlE.js} +17 -17
- package/dist/assets/NotificationsListConfig-B6PteXf7-BPHFWRyo.js +1 -0
- package/dist/assets/{NotificationsPage-tre5LIJg-CJyFFs31.js → NotificationsPage-CqmgbRYI-B1REvxM0.js} +32 -32
- package/dist/assets/{OpExByVendorPage-Dagfjaza-DO2J5Ea2.js → OpExByVendorPage-CYAYFvCM-CDkrX969.js} +5 -5
- package/dist/assets/{OverlayContainerPage-nhe7xtoR-Bp0KrttL.js → OverlayContainerPage-C0rUb6-5-W0ax80yE.js} +1 -1
- package/dist/assets/{PandLWithForecastPage-B6BwG3ZF-DE8LaM6w.js → PandLWithForecastPage-v5t7YeHA-c32BpF_9.js} +7 -7
- package/dist/assets/{PaymentAccountSetupBillingAddressSection-w6QwL-c4-Puxe83hy.js → PaymentAccountSetupBillingAddressSection-CnCCn9XQ-CNY3y6cT.js} +9 -9
- package/dist/assets/{PeoplePage-EFDCrYUk-qPy4q-1k.js → PeoplePage-D89yZGJn-CFNcLLmk.js} +21 -21
- package/dist/assets/{PortfolioAllocationFormPage-DbGLXM2D-D5lk0F-T.js → PortfolioAllocationFormPage-Cit7ssiw-CpmTmt3z.js} +3 -3
- package/dist/assets/{PortfolioDetails-D2RWl4uo-C7LqS3f9.js → PortfolioDetails-B1HXVeH2-D3KDftxW.js} +12 -12
- package/dist/assets/{ProductsCarousel-o-YsHwnV-C26rbjwc.js → ProductsCarousel-BeOYePu1-BPS8weXu.js} +7 -7
- package/dist/assets/{PromoBaseCards-D21UZaz1-C-zYZYy9.js → PromoBaseCards-D1DDp9C1-BMl9m8-G.js} +25 -25
- package/dist/assets/{QBOConnectionDialog-DOpuFcsk-CB64j051.js → QBOConnectionDialog-nb_5mvqp-CNrftMhR.js} +8 -8
- package/dist/assets/{QBOSetupSection-Dcf_Afvz-CkQkqSr4.js → QBOSetupSection-b-OrlvdU-D5Bh2qoF.js} +11 -11
- package/dist/assets/{ReimbursementApprovalRuleDetailPage-DcDdM_Ss-JUdN2kuA.js → ReimbursementApprovalRuleDetailPage-vg7A7Fqa-DKxcfaTy.js} +1 -1
- package/dist/assets/{ReimbursementApprovalRulesPage-BhdyXjR--cRcR6ce_.js → ReimbursementApprovalRulesPage-FYfZ8-hX-DxG5e0_0.js} +8 -8
- package/dist/assets/ReimbursementDetailPage-DHsqq__V-BbntdEZI.js +314 -0
- package/dist/assets/{ReimbursementPromoPage-DJTuXxOX-CDgDHw1K.js → ReimbursementPromoPage-D-wmyfH--DT237a-Y.js} +16 -16
- package/dist/assets/{ReimbursementSetUpPage-DaIc03J9-Db01NTj9.js → ReimbursementSetUpPage-Cneg3RyB-nHTacFs2.js} +12 -12
- package/dist/assets/{ReimbursementsBulkReviewDrawerPage-BW6yGqNG-DPO4z6gc.js → ReimbursementsBulkReviewDrawerPage-OTHapAJy-B07Bk0eB.js} +1 -1
- package/dist/assets/{ReloadCard-D3-WJk3W-i05V9wY9.js → ReloadCard-D72dkm5s-DHOqIhPE.js} +5 -5
- package/dist/assets/{ReportTableViewSelector-ZI_K0-D2-C-Je6jSA.js → ReportTableViewSelector-DfZ5geuW-DyPrCXZD.js} +7 -7
- package/dist/assets/{ReportsPage-DsILNosH-CtokfcbN.js → ReportsPage-7E3Q5HHF-DXypTMXr.js} +9 -9
- package/dist/assets/{RevenueChart-CKKeqpBi-vHD_4d7Q.js → RevenueChart-G7w1_QXE-CK6mJH77.js} +15 -15
- package/dist/assets/{ReviewDetailsPage-BTag8Rn9-WW8k6K1-.js → ReviewDetailsPage-i6ZXMuAf-CAvd4g6H.js} +19 -19
- package/dist/assets/{ReviewOverlay-CmbxFXT5-BHsJIc-S.js → ReviewOverlay-D0tbkcpk-u3R_yBnI.js} +15 -15
- package/dist/assets/{RoleWithToolTip-D25NUL6y-CFObKMM2.js → RoleWithToolTip-w2s9tX9j-CThc8drW.js} +6 -6
- package/dist/assets/{ScheduleDetailsFixedAssetsPage-svqtgWEw-ygtH9owB.js → ScheduleDetailsFixedAssetsPage-5uPqQbhv-c_seLLEr.js} +8 -8
- package/dist/assets/{ScheduleDetailsPage-ClifB2yP-C6NISszX.js → ScheduleDetailsPage-n2Mhm3VT-Qa9fyFQC.js} +3 -3
- package/dist/assets/{ScheduleSequenceTable-Bzz4WFsb-CrTV1T6R.js → ScheduleSequenceTable-BbLZtq_G-B-PxnDpg.js} +50 -50
- package/dist/assets/{ScreenRoutes-CXS6WPUL.js → ScreenRoutes-1MbaXcJV.js} +35 -35
- package/dist/assets/{SetUpAccountSection-DHHAhE7n-D0tMCLTp.js → SetUpAccountSection-CuOJZCNp-D6aQorsQ.js} +103 -103
- package/dist/assets/{SetUpDefaultSection-DkoRgSyp-BjWpEfaH.js → SetUpDefaultSection-D0d0yzu8-BDWGdtc-.js} +16 -16
- package/dist/assets/{SignIn-DSJylxLB-BcnrJPMA.js → SignIn-CtZ8rTB_-wQdGuYtt.js} +16 -16
- package/dist/assets/{SignInScreen-DhOS546Y.js → SignInScreen-BSTxrh_N.js} +1 -1
- package/dist/assets/{SpendManagementListViewPage-NfjbjBOy-B7fXD1XN.js → SpendManagementListViewPage-ymHs-MwL-BFF1eR3M.js} +13 -13
- package/dist/assets/{SpendManagementPerTabPage-CJqqj2pl-C2XF7ddx.js → SpendManagementPerTabPage-DwRwO5jR-DYEyp8w8.js} +52 -52
- package/dist/assets/{SpendManagementSection-C8jUu71n-RqE2Hvi4.js → SpendManagementSection-B1F6rl-n-Bxu1kHsM.js} +10 -10
- package/dist/assets/{SpendMgmtSetupAccountSection-CNcWLqIc-C_JO-a5E.js → SpendMgmtSetupAccountSection-o-48qyw7-BwGu-MNC.js} +17 -17
- package/dist/assets/{StatementItem-CV3b0pVj-DMjnLG0c.js → StatementItem-CK2sUgkE-C5tUfOGU.js} +8 -8
- package/dist/assets/StatementsPage-D25LsJRp-EGUjR_Fx.js +58 -0
- package/dist/assets/{StatusSwitcher-CxzYEzIO-C4cI6WWu.js → StatusSwitcher-BppDI7-7-CaTqg34_.js} +5 -5
- package/dist/assets/{SubTabSwitcher-_XBeoyd8-B38GS5BN.js → SubTabSwitcher-DTe2L8JC-D4RBO14j.js} +1 -1
- package/dist/assets/{SummaryCard-egXz66_a-CJJYuszp.js → SummaryCard-B-_3DnqQ-C4MQdd4u.js} +1 -1
- package/dist/assets/TaskManagementPage-NFVqhs6K-Bu_ZJ76r.js +508 -0
- package/dist/assets/{TimeRangeSwitcher-DETvaZov-CRwR3tWK.js → TimeRangeSwitcher-D5pSi1fB-XM_OXE-C.js} +5 -5
- package/dist/assets/{TimeframeSwitcher-DRQZAZ8X-U14hDJJR.js → TimeframeSwitcher-CQ37qP58-CJPthL9i.js} +5 -5
- package/dist/assets/TimeframeSwitcherWithToggle-DDX_BvPF-1t-6tvHL.js +31 -0
- package/dist/assets/{TopExCard-CtEulaIf-B39iETZ-.js → TopExCard-CU-kbyDP-BkqVk6Yr.js} +6 -6
- package/dist/assets/{TopExDetailPage-O4MMssGR-DRu6XkOo.js → TopExDetailPage-COxNovqU-TyxPPRK9.js} +11 -11
- package/dist/assets/{TransactionDetailPage-CfY8i6QF-wB9aSjgj.js → TransactionDetailPage-k06RliU--jpVAAS-E.js} +40 -40
- package/dist/assets/{TransactionList-BABUQprb-n0ypY9aq.js → TransactionList-CuRdM1xm-CGrWmUwi.js} +13 -13
- package/dist/assets/{TransactionListBig-qJc1PM0U-CGUJw2Cg.js → TransactionListBig-ByLaQQUK-DVTWGGO_.js} +18 -18
- package/dist/assets/TransactionListPage-ioT-Jexm-z12q095m.js +35 -0
- package/dist/assets/{TransactionVendorDetailPage-nHnLQdj7-mH5Erw2L.js → TransactionVendorDetailPage-Dyg9upjC-FtRQ9fft.js} +6 -6
- package/dist/assets/{TransferDrawerPage-CkbHu9oQ-Cht2cdiM.js → TransferDrawerPage-B6zOVR7E-PtwoiwD5.js} +33 -33
- package/dist/assets/{TreasuryOverviewPage-D9qxqZOy-XRtfcOY8.js → TreasuryOverviewPage-Cae5Kj1r-CipOXBTi.js} +29 -29
- package/dist/assets/{TreasuryPromoPage-Bn_4ae7Q-BpmP0o4b.js → TreasuryPromoPage-iNiwYAiH-bWL0zXEM.js} +15 -15
- package/dist/assets/{TreasurySetupPage-CpZDjXwu-kc5DQ0PA.js → TreasurySetupPage-Bdl5g5Ct-DGTj2ns3.js} +6 -6
- package/dist/assets/{TreasuryStatementsPage-BXDwbrcC-BqAqQWpR.js → TreasuryStatementsPage-CLy-YBGI-_kq4Lb1i.js} +7 -7
- package/dist/assets/{TreasuryTaxLetterPage-Cwf-e3Jz-CzvMXupo.js → TreasuryTaxLetterPage-lRsyHBLO-DlgswuUG.js} +7 -7
- package/dist/assets/{TreasuryTransferOrReviewPage-BSiDVjnO-CsMt7v5I.js → TreasuryTransferOrReviewPage-Cbfh-a6j-DM2Y9vYh.js} +10 -10
- package/dist/assets/TrendChart-BXOatw0x-CophMwJ6.js +16 -0
- package/dist/assets/{TrendWithTransactions-D8xzYG_f-BMQmvsaC.js → TrendWithTransactions-BxoyLfjd-_bPvq9jR.js} +3 -3
- package/dist/assets/{UncategorizedAccountsMappingPage-CteEKVJk-Ci_j0lqd.js → UncategorizedAccountsMappingPage-BA4o7PWu-CMrlTXMW.js} +13 -13
- package/dist/assets/{UnitIntegrationPage-BBAq4_81-BLK9_YdQ.js → UnitIntegrationPage-Clt-99RU-BrzMoE2E.js} +4 -4
- package/dist/assets/{UploadAdditionalDocumentOverlay-Drs2Czkg-Dp6pG15g.js → UploadAdditionalDocumentOverlay-LxTjdCJQ-COub0S1H.js} +1 -1
- package/dist/assets/{Vendor2FAPopup-DKe-eMoF-BtVMQGFU.js → Vendor2FAPopup-DjHQdB-O-CGPHoNJv.js} +1 -1
- package/dist/assets/{VendorACHDetailsPage-CTeRlLgu-_IWON3uB.js → VendorACHDetailsPage-TaEzA3ib-BtSubgL_.js} +1 -1
- package/dist/assets/{VendorDetailPage-Cw7Qe1rv-BrCL8pDb.js → VendorDetailPage-BeADTlAW-BEAFQ3r2.js} +13 -13
- package/dist/assets/{VendorDomesticWireDetailsPage-CYkst1D5-CjY_uYmK.js → VendorDomesticWireDetailsPage-EpIw_vNR-C7RuY-PA.js} +1 -1
- package/dist/assets/{VendorFiling1099EditablePage-CXQx0jJQ-DjRQOzEC.js → VendorFiling1099EditablePage-B-jTzcx7-CbBKMdpG.js} +8 -8
- package/dist/assets/{VendorFirstReviewPage-C1yTYtW6-BIpRORst.js → VendorFirstReviewPage-BrlyeQoC-BZiG_JRb.js} +29 -29
- package/dist/assets/{VendorInternationalWireDetailsPage-CfbGRN9B-DKxuI1Xz.js → VendorInternationalWireDetailsPage-B22crnTD-tpyu7OIk.js} +7 -7
- package/dist/assets/{VendorInternationalWireSwiftDetailsPage-DTxy0byj-UjdvT_22.js → VendorInternationalWireSwiftDetailsPage-BpXZD_Eh-CX1DO0ul.js} +1 -1
- package/dist/assets/{VendorsAccountsSection-B_nDMJSn-w43NKAfh.js → VendorsAccountsSection-CLrfBouK-CqWzAgHB.js} +4 -4
- package/dist/assets/{WarningsDrawerPage-Dz3EM7AW-Cn_EE1t3.js → WarningsDrawerPage-CBZRy4Sm-DJIt8rHu.js} +4 -4
- package/dist/assets/{ZeniAccountDetailPage-C01gqJIN-DYpwX1S6.js → ZeniAccountDetailPage-Bfvuuiyl-Dadw6og4.js} +26 -26
- package/dist/assets/{ZeniAccountListViewPage-3DEdKuaM-Bzlfz6G1.js → ZeniAccountListViewPage-CTqmq_Vp-3SYD23NH.js} +18 -18
- package/dist/assets/ZeniAccountNavBarPieces-iNAQFffX-jEy_vHEe.js +14 -0
- package/dist/assets/{ZeniAccountPromoPage-ClgIxS0H-DaUdOq6A.js → ZeniAccountPromoPage-XHKL_dgv-zxVudUmY.js} +12 -12
- package/dist/assets/{ZeniAccountSetupPage-C-vwyHUJ-AqBG_3fj.js → ZeniAccountSetupPage-BHMr828J-Cb9LGjcX.js} +1 -1
- package/dist/assets/{ZeniCopyright-CqFabZnN-Xvd0tk8E.js → ZeniCopyright-B_2DB9mm-Do8EbmHN.js} +1 -1
- package/dist/assets/{ZeniTransferAmountSlider-BwHzq-qG-BuMliL8i.js → ZeniTransferAmountSlider-BnjyU6o3-D4fZwoL6.js} +1 -1
- package/dist/assets/analytics-DThoELaW.js +7 -0
- package/dist/assets/{analyticsHelper-CvW7m-EV-bCnsFGUq.js → analyticsHelper-Bh8Vo_J_-DdkQ2A3j.js} +1 -1
- package/dist/assets/{analyticsHelper-NhdO2Lvv.js → analyticsHelper-COZBEzRa.js} +1 -1
- package/dist/assets/{chartTypes-0tTBFzPe-DcEHcgPx.js → chartTypes-DpnOYtNo-C1MRDQOQ.js} +1 -1
- package/dist/assets/{commonDimensions-B68wSFi9-B058siE1.js → commonDimensions-D2zuat_O-BjWWOnE2.js} +1 -1
- package/dist/assets/{detailCommon-D2RAJL6g-CsZhexSz.js → detailCommon-CloEmsTm-FeTpoyrx.js} +10 -10
- package/dist/assets/{downloadPdf-IPGZ8YB9-Buj6oTQw.js → downloadPdf-OWaFOL1J-_yuPyAAc.js} +1 -1
- package/dist/assets/{index-DzXOvNDr.js → index-LFy5NlUr.js} +3519 -3479
- package/dist/assets/{liveblocks-BUGn2yQ6.js → liveblocks-sSQ9JElv.js} +1 -1
- package/dist/assets/{mapLoadingInProgressToTreeNode-DhjVTksX-Dlh5NKjO.js → mapLoadingInProgressToTreeNode-Df6n7jwq-DhIXCvCe.js} +1 -1
- package/dist/assets/{mapSectionWithAcOnlyToTreeNode-DtR1UNND-BtcLH27o.js → mapSectionWithAcOnlyToTreeNode-BvlNBFiJ-CBY5TVGr.js} +1 -1
- package/dist/assets/{mapSpacerToTreeNode-oskKbJKo-D68Hhque.js → mapSpacerToTreeNode-BM8XMc8I-DixdkzZo.js} +1 -1
- package/dist/assets/{mapTimeframeBalancesToTreeNode-BkUJJy_y-fXIicGvN.js → mapTimeframeBalancesToTreeNode-B3bP14C6-CT5Uu0sF.js} +1 -1
- package/dist/assets/mui-C5LQ0bMa.js +25 -0
- package/dist/assets/{play-icon-C_pnFd6Q-lN2lvjYa.js → play-icon-NE4JTPpx-CK0WoxqT.js} +1 -1
- package/dist/assets/{redux-DmDqXYej.js → redux-ByjIRbhZ.js} +1 -1
- package/dist/assets/{routing-BNz5gZgX.js → routing-Cpaypegg.js} +1 -1
- package/dist/assets/{toCOABalancesWithID-e2ImXwdp-6i6DtULu.js → toCOABalancesWithID-DN21aiLH-Bx86HqeI.js} +1 -1
- package/dist/assets/{toChartData-Dh91kb97-CsIbB0iq.js → toChartData-CG9GudeA-Bcz5dDyw.js} +1 -1
- package/dist/assets/{treasuryColorHelper-D9SYrM7P-BSV-pyTr.js → treasuryColorHelper-CNX5IuXX-6ZEgxHO3.js} +1 -1
- package/dist/assets/{uploadAttachment-BZTALP74-CMQrMwY6.js → uploadAttachment-D42oX05_-CRxK5DEq.js} +29 -29
- package/dist/assets/{uploadReceipts-BH9fi3Vt-BX0VLBie.js → uploadReceipts-Buvz7DfG-DslgfUmv.js} +1 -1
- package/dist/index.html +1 -1
- package/package.json +5 -5
- package/dist/assets/AccountInfoPage-BoCzcaQW-DxViWInp.js +0 -18
- package/dist/assets/AccountRow-vtPa0PJn-7t40o2xY.js +0 -298
- package/dist/assets/BillingSettingsPage-Bm-IF_p7-B2nr2Ym9.js +0 -44
- package/dist/assets/BillsBulkReviewDrawerPage-CVAG78EK-BtgBzs2i.js +0 -1
- package/dist/assets/BusinessVerificationPage-Ctqy7ZwA-B19QLCB_.js +0 -140
- package/dist/assets/ChargeCardListPage-CXbTalVQ-BLS6RI4m.js +0 -355
- package/dist/assets/ChargeCardPromoPage-BTfg7L28-C7ss_wBa.js +0 -175
- package/dist/assets/CheckDepositDrawerPage-yUzhTMSu-yF_A9nEJ.js +0 -206
- package/dist/assets/ConfettiBurst-C2engbkN-CwjTl8ph.js +0 -1
- package/dist/assets/CustomerOnboardingContainerPage-DzzvTpfs-CZltUaaq.js +0 -1
- package/dist/assets/CustomerOnboardingPage-BiUXryld-C60LhynS.js +0 -107
- package/dist/assets/Dashboard-B1UeMAoF-DFffWJks.js +0 -778
- package/dist/assets/DomesticWireDetailsPage-CVKheLW6-BB1dLHxc.js +0 -21
- package/dist/assets/EditPeoplePage-DgVDgYlm-BOZM-HHs.js +0 -55
- package/dist/assets/HelpButton-CzonsAOi-CpJGWOZd.js +0 -28
- package/dist/assets/InvitePeoplePage-BnlUrpPG-CtGFkSs6.js +0 -12
- package/dist/assets/LabeledDocumentField-BKPP0tRe-uJ2UBUcm.js +0 -41
- package/dist/assets/LabeledDropDownFormattedTextField-NsCaPjuf-C6RA1FA0.js +0 -59
- package/dist/assets/NoDataChart-CydgbaO2-DdRkmdPL.js +0 -26
- package/dist/assets/NotificationsListConfig-BrTtuTMy-BLAPlV59.js +0 -1
- package/dist/assets/ReimbursementDetailPage-BSWNsboq-BCQrIgF4.js +0 -314
- package/dist/assets/StatementsPage-ly5aBK2M-BYfgG9ys.js +0 -58
- package/dist/assets/TaskManagementPage-CQL5Q6wr-BoN297Gh.js +0 -508
- package/dist/assets/TimeframeSwitcherWithToggle-CuU7mRU9-BVXkT6kO.js +0 -31
- package/dist/assets/TransactionListPage-DuAk6fJT-YMk07RwL.js +0 -35
- package/dist/assets/TrendChart-Dp3QrDED-Dtv6XBVa.js +0 -16
- package/dist/assets/ZeniAccountNavBarPieces-bthmMpbV-Dx0UH75I.js +0 -14
- package/dist/assets/analytics-BSSiLa6f.js +0 -7
- package/dist/assets/mui-BgvZYSo0.js +0 -22
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import{u as f,X as P,j as t,ge as $,o,C as a,gY as j,p as i}from"./index-DzXOvNDr.js";import{b as y,n}from"./vendor-CnQcJ2Lu.js";import{K as z}from"./StatusSwitcher-CxzYEzIO-C4cI6WWu.js";import{r as A}from"./AccountInfoPageContent-C4VpFgc_-JSl2YV-p.js";import"./mui-BgvZYSo0.js";import"./analytics-BSSiLa6f.js";import"./routing-BNz5gZgX.js";import"./sentry-HDxG13yk.js";import"./redux-DmDqXYej.js";import"./liveblocks-BUGn2yQ6.js";import"./crypto-BURQLTgV.js";import"./downloadPdf-IPGZ8YB9-Buj6oTQw.js";import"./commonDimensions-B68wSFi9-B058siE1.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=f(),d=P(),[c,x]=y.useState("achDetails"),h=w=>{x(w)};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(C,{windowSize:d,children:t.jsx(A,{authParams:e,downloadAccountDetailEndPoint:l,currentTab:c,zeniAccountsConfigDetail:p,currentTenant:m,depositAccount:s})})]})},C=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,298 +0,0 @@
|
|
|
1
|
-
import{j as t,M as se,_ as T,bu as f,o,Y as y,T as re,dI as le,s as w,dJ as de,g,dK as G,c$ as X,cq as ue,ab as x,v as Y,p,X as xe,u as E,ak as pe,dq as he,n as ge,K as me,f as S,b6 as fe,d0 as je}from"./index-DzXOvNDr.js";import{n as a,b as ye,j as we}from"./vendor-CnQcJ2Lu.js";const $e=a.div`
|
|
2
|
-
position: relative;
|
|
3
|
-
${e=>e.showTreeLine===!0&&e.collapsed!==!0?`&::after {
|
|
4
|
-
content: "";
|
|
5
|
-
position: absolute;
|
|
6
|
-
top: 25px;
|
|
7
|
-
left: 12px;
|
|
8
|
-
border-left: 1px dotted ${e.theme.colors.grey1};
|
|
9
|
-
height: 12px;
|
|
10
|
-
`:""};
|
|
11
|
-
`,be=a.div`
|
|
12
|
-
display: flex;
|
|
13
|
-
min-width: ${o.sp4};
|
|
14
|
-
width: ${o.sp4};
|
|
15
|
-
height: ${o.sp4};
|
|
16
|
-
border-style: solid;
|
|
17
|
-
border-width: 1px;
|
|
18
|
-
border-radius: 12px;
|
|
19
|
-
text-align: center;
|
|
20
|
-
align-items: center;
|
|
21
|
-
justify-content: center;
|
|
22
|
-
color: ${e=>e.colour.toString()};
|
|
23
|
-
`,ve=a(ge)`
|
|
24
|
-
text-align: center;
|
|
25
|
-
color: ${e=>e.colour.toString()};
|
|
26
|
-
`,Ce=a.div`
|
|
27
|
-
svg {
|
|
28
|
-
path {
|
|
29
|
-
stroke-width: 2;
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
`,Re=a(he)`
|
|
33
|
-
margin-top: 6px;
|
|
34
|
-
width: 12px;
|
|
35
|
-
height: 12px;
|
|
36
|
-
`,ke=a(pe)`
|
|
37
|
-
margin-top: ${o.sp1};
|
|
38
|
-
margin-left: 2px;
|
|
39
|
-
width: 12px;
|
|
40
|
-
height: 12px;
|
|
41
|
-
`;function Te({firstLetter:e,color:n,showIcon:i,showCollapsedIcon:c,showTreeLine:l=!1,className:d}){return t.jsx($e,{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
|
-
display: flex;
|
|
43
|
-
flex: 1 1 auto;
|
|
44
|
-
max-height: 1px;
|
|
45
|
-
background-color: ${e=>e.isScrolling?"transparent":e.theme.colors.hero};
|
|
46
|
-
`,Se=a.div`
|
|
47
|
-
display: flex;
|
|
48
|
-
flex: 1 1 auto;
|
|
49
|
-
height: 1px;
|
|
50
|
-
width: 100%;
|
|
51
|
-
`,Ie=a.div`
|
|
52
|
-
flex: 1 1 auto;
|
|
53
|
-
height: 1px;
|
|
54
|
-
width: 100%;
|
|
55
|
-
`;function 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
|
-
display: flex;
|
|
57
|
-
flex-direction: column;
|
|
58
|
-
height: ${e=>e.heightValue}px;
|
|
59
|
-
justify-content: flex-start;
|
|
60
|
-
align-items: center;
|
|
61
|
-
padding-right: ${u.wrapperPadding}px;
|
|
62
|
-
cursor: pointer;
|
|
63
|
-
.part-separator {
|
|
64
|
-
background-color: ${e=>e.isLastRow?e.theme.colors.hero:e.isSelectedRow?e.theme.colors.primary:e.theme.colors.grey3};
|
|
65
|
-
}
|
|
66
|
-
.any-text-container {
|
|
67
|
-
${e=>e.isSelectedRow?we`
|
|
68
|
-
color: ${e.theme.colors.primary};
|
|
69
|
-
`:null}
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
.bank-icon-container {
|
|
73
|
-
display: none;
|
|
74
|
-
}
|
|
75
|
-
|
|
76
|
-
&:hover {
|
|
77
|
-
.part-separator {
|
|
78
|
-
background-color: ${e=>e.theme.colors.primary};
|
|
79
|
-
}
|
|
80
|
-
.any-text-container {
|
|
81
|
-
color: ${e=>e.theme.colors.primary};
|
|
82
|
-
}
|
|
83
|
-
.bank-icon-container {
|
|
84
|
-
display: flex;
|
|
85
|
-
}
|
|
86
|
-
}
|
|
87
|
-
`,_e=a.div`
|
|
88
|
-
height: ${o.sp8};
|
|
89
|
-
`,Be=a.div`
|
|
90
|
-
width: 100%;
|
|
91
|
-
height: ${e=>e.heightValue-1}px;
|
|
92
|
-
user-select: none;
|
|
93
|
-
display: flex;
|
|
94
|
-
flex: 1 1 auto;
|
|
95
|
-
flex-flow: row;
|
|
96
|
-
justify-content: flex-start;
|
|
97
|
-
align-items: center;
|
|
98
|
-
`,Ne=a.div`
|
|
99
|
-
display: flex;
|
|
100
|
-
flex: 1 1 auto;
|
|
101
|
-
justify-content: flex-start;
|
|
102
|
-
align-items: center;
|
|
103
|
-
gap: ${o.sp2};
|
|
104
|
-
margin-left: ${o.sp4};
|
|
105
|
-
`,De=a.div`
|
|
106
|
-
display: flex;
|
|
107
|
-
flex-direction: row;
|
|
108
|
-
align-items: center;
|
|
109
|
-
gap: ${o.sp1};
|
|
110
|
-
margin-top: ${o.sp1};
|
|
111
|
-
`,Ae=a(w)`
|
|
112
|
-
user-select: none;
|
|
113
|
-
clear: both;
|
|
114
|
-
display: inline-block;
|
|
115
|
-
overflow: hidden;
|
|
116
|
-
white-space: nowrap;
|
|
117
|
-
text-overflow: ellipsis;
|
|
118
|
-
text-align: left;
|
|
119
|
-
color: ${e=>e.theme.colors.hero};
|
|
120
|
-
width: ${u.leftLabelWidth}px;
|
|
121
|
-
min-width: ${u.leftLabelWidth}px;
|
|
122
|
-
`,Me=a.div`
|
|
123
|
-
display: flex;
|
|
124
|
-
flex: 1 1 auto;
|
|
125
|
-
justify-content: flex-end;
|
|
126
|
-
align-items: center;
|
|
127
|
-
color: ${e=>e.theme.colors.hero};
|
|
128
|
-
`,Ve=a(w)`
|
|
129
|
-
width: ${u.bankBalanceWidth}px;
|
|
130
|
-
min-width: ${u.bankBalanceWidth}px;
|
|
131
|
-
text-align: right;
|
|
132
|
-
`,Oe=a.div`
|
|
133
|
-
width: ${u.bankBalanceRightWidth}px;
|
|
134
|
-
min-width: ${u.bankBalanceRightWidth}px;
|
|
135
|
-
`,Ue=a(w)`
|
|
136
|
-
width: ${u.clearedBalanceWidth}px;
|
|
137
|
-
min-width: ${u.clearedBalanceWidth}px;
|
|
138
|
-
text-align: right;
|
|
139
|
-
`,Fe=a(w)`
|
|
140
|
-
width: ${u.statusWidth}px;
|
|
141
|
-
min-width: ${u.statusWidth}px;
|
|
142
|
-
height: 1px;
|
|
143
|
-
display: flex;
|
|
144
|
-
align-items: center;
|
|
145
|
-
justify-content: center;
|
|
146
|
-
height: 100%;
|
|
147
|
-
`,Qe=a.div`
|
|
148
|
-
display: flex;
|
|
149
|
-
flex-direction: row;
|
|
150
|
-
min-width: ${u.spacerLineWidth}px;
|
|
151
|
-
width: ${u.spacerLineWidth}px;
|
|
152
|
-
align-items: center;
|
|
153
|
-
`,He=a.div`
|
|
154
|
-
width: 1px;
|
|
155
|
-
margin-left: ${o.sp3};
|
|
156
|
-
height: ${e=>e.heightValue}px;
|
|
157
|
-
background-color: ${e=>e.theme.colors.grey3};
|
|
158
|
-
`,qe=a.div`
|
|
159
|
-
display: flex;
|
|
160
|
-
flex-shrink: 0;
|
|
161
|
-
width: ${u.varianceTimeframeWidth}px;
|
|
162
|
-
min-width: ${u.varianceTimeframeWidth}px;
|
|
163
|
-
flex-direction: row;
|
|
164
|
-
justify-content: flex-end;
|
|
165
|
-
align-items: center;
|
|
166
|
-
text-align: center;
|
|
167
|
-
gap: ${o.sp2};
|
|
168
|
-
margin-left: ${u.tickLeftMargin}px;
|
|
169
|
-
`,ze=a(w)`
|
|
170
|
-
border-radius: ${o.sp1};
|
|
171
|
-
color: ${e=>e.textColor.hex()};
|
|
172
|
-
min-width: ${u.varianceNumberWidth}px;
|
|
173
|
-
text-align: right;
|
|
174
|
-
`,Ke=a(w)`
|
|
175
|
-
border-radius: ${o.sp1};
|
|
176
|
-
padding: ${o.sp0} ${o.sp1};
|
|
177
|
-
justify-content: center;
|
|
178
|
-
text-align: center;
|
|
179
|
-
color: ${e=>e.textColor.hex()};
|
|
180
|
-
background-color: ${e=>e.bgColor.hex()};
|
|
181
|
-
min-width: ${u.variancePercentageWidth}px;
|
|
182
|
-
`,Je=a.div`
|
|
183
|
-
display: flex;
|
|
184
|
-
flex-direction: row;
|
|
185
|
-
align-items: center;
|
|
186
|
-
`,Ge=a.div`
|
|
187
|
-
display: flex;
|
|
188
|
-
flex-direction: column;
|
|
189
|
-
align-items: center;
|
|
190
|
-
`,Xe=a.div`
|
|
191
|
-
display: flex;
|
|
192
|
-
flex-direction: row;
|
|
193
|
-
align-items: center;
|
|
194
|
-
gap: ${o.sp1};
|
|
195
|
-
`,Ye=a(S)`
|
|
196
|
-
color: ${g.success};
|
|
197
|
-
`,K=a(S)`
|
|
198
|
-
color: ${g.success};
|
|
199
|
-
`,Ze=a(je)`
|
|
200
|
-
width: ${o.sp3};
|
|
201
|
-
height: ${o.sp3};
|
|
202
|
-
color: ${g.success};
|
|
203
|
-
`,C=a(w)`
|
|
204
|
-
text-align: right;
|
|
205
|
-
`,et=a.div`
|
|
206
|
-
display: flex;
|
|
207
|
-
flex-direction: row;
|
|
208
|
-
align-items: center;
|
|
209
|
-
justify-content: flex-end;
|
|
210
|
-
`,tt=a(ue)`
|
|
211
|
-
width: ${o.sp3};
|
|
212
|
-
height: ${o.sp3};
|
|
213
|
-
`,nt=a(w)`
|
|
214
|
-
text-align: right;
|
|
215
|
-
color: ${g.important};
|
|
216
|
-
cursor: pointer;
|
|
217
|
-
text-decoration: underline;
|
|
218
|
-
`,ot=a.div`
|
|
219
|
-
display: flex;
|
|
220
|
-
flex-direction: column;
|
|
221
|
-
align-items: flex-end;
|
|
222
|
-
justify-content: flex-start;
|
|
223
|
-
`,at=a.div`
|
|
224
|
-
display: flex;
|
|
225
|
-
flex-direction: row;
|
|
226
|
-
gap: ${o.sp1};
|
|
227
|
-
align-items: center;
|
|
228
|
-
`,it=a.div`
|
|
229
|
-
padding-top: ${o.sp1};
|
|
230
|
-
&:hover {
|
|
231
|
-
color: ${e=>e.theme.colors.primary};
|
|
232
|
-
}
|
|
233
|
-
`,ct=a(de)`
|
|
234
|
-
width: ${o.sp3};
|
|
235
|
-
height: ${o.sp3};
|
|
236
|
-
`,A=a(fe)`
|
|
237
|
-
width: 12px;
|
|
238
|
-
height: 12px;
|
|
239
|
-
color: ${e=>e.iconColor.hex()};
|
|
240
|
-
margin-top: ${o.sp1};
|
|
241
|
-
`,$=a.div`
|
|
242
|
-
display: flex;
|
|
243
|
-
gap: ${o.sp1};
|
|
244
|
-
`,M=a.div`
|
|
245
|
-
display: flex;
|
|
246
|
-
flex-direction: column;
|
|
247
|
-
align-items: center;
|
|
248
|
-
`,J=a(w)`
|
|
249
|
-
color: ${e=>e.theme.colors.hero};
|
|
250
|
-
`,V=a.div`
|
|
251
|
-
display: flex;
|
|
252
|
-
flex-direction: row;
|
|
253
|
-
align-items: center;
|
|
254
|
-
gap: ${o.sp1};
|
|
255
|
-
`,O=a(S)`
|
|
256
|
-
color: ${e=>e.textColor.hex()};
|
|
257
|
-
`,U=a(S)`
|
|
258
|
-
color: ${e=>e.textColor.hex()};
|
|
259
|
-
`,F=a.div`
|
|
260
|
-
display: flex;
|
|
261
|
-
flex-direction: row;
|
|
262
|
-
align-items: center;
|
|
263
|
-
`,Q=a.div`
|
|
264
|
-
display: flex;
|
|
265
|
-
flex-direction: column;
|
|
266
|
-
align-items: center;
|
|
267
|
-
`,R=a(S)`
|
|
268
|
-
color: ${e=>e.textColor.hex()};
|
|
269
|
-
`,st=a.div`
|
|
270
|
-
display: flex;
|
|
271
|
-
flex-direction: column;
|
|
272
|
-
align-items: center;
|
|
273
|
-
justify-content: center;
|
|
274
|
-
`,rt=a(Y)`
|
|
275
|
-
color: ${e=>e.theme.colors.hero};
|
|
276
|
-
`,lt=a(Y)`
|
|
277
|
-
color: ${g.brandColorPearl};
|
|
278
|
-
`,dt=a.div`
|
|
279
|
-
display: flex;
|
|
280
|
-
flex-direction: row;
|
|
281
|
-
align-items: center;
|
|
282
|
-
justify-content: center;
|
|
283
|
-
`,ut=a(G)`
|
|
284
|
-
width: ${o.sp3};
|
|
285
|
-
height: ${o.sp3};
|
|
286
|
-
margin-top: 2px;
|
|
287
|
-
`,xt=a(G)`
|
|
288
|
-
width: ${o.sp3};
|
|
289
|
-
height: ${o.sp3};
|
|
290
|
-
`,pt=a(X)`
|
|
291
|
-
width: ${o.sp3};
|
|
292
|
-
height: ${o.sp3};
|
|
293
|
-
margin-top: 2px;
|
|
294
|
-
`,ht=a(X)`
|
|
295
|
-
width: ${o.sp3};
|
|
296
|
-
height: ${o.sp3};
|
|
297
|
-
margin-top: 2px;
|
|
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:I}){const _=xe(),L=E(),v=n.accountReconEntity.account.accountName,j=n.accountReconEntity.balance,B=n.accountReconEntity.clearedBalance,te=n.accountReconEntity.variance,ne=n.accountReconEntity.variancePercentage,oe=()=>{r?.(n.accountReconEntity.account.accountId)},ae=()=>{m?.(n.accountReconEntity.account.accountId)},ie=()=>{I?.(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",k=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(Pe,{"data-testid":y("total-row-root-container"),heightValue:z,isLastRow:i,windowSize:_,isSelectedRow:c,onClick:()=>{ce!==!0&&d?.(n.accountReconEntity.account.accountId)},children:[t.jsxs(Be,{isClickable:!0,"data-testid":y("total-row-container"),heightValue:e,children:[t.jsxs(Ne,{children:[t.jsx(Te,{firstLetter:v.charAt(0),color:new x(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(Ve,{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:k,onReconnectClicked:ae})}),t.jsx(Oe,{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:B,isLoading:k})}),t.jsx(mt,{isLoading:k,variance:te,variancePercentage:ne,reconciliationStatusCode:n.accountReconEntity.reconciliationStatus?.code}),t.jsx(Qe,{children:t.jsx(He,{heightValue:e})}),t.jsx(Fe,{onMouseEnter:()=>{N(!0)},onMouseLeave:()=>{N(!1)},children:q==="plaid"?t.jsx(jt,{accountRecon:n,isLoading:k,onReviewClicked:H}):t.jsx(yt,{accountRecon:n,isLoading:k,onReviewClicked:H})})]})]}),t.jsx(Le,{kind:"account_separator",isScrolling:!1}),i?t.jsx(_e,{}):null]})}const mt=({variance:e,variancePercentage:n,reconciliationStatusCode:i,isLoading:c})=>{const l=E(),{varianceColor:d,variancePercentageColor:r,variancePercentageContainerColor:m}=ft(l,e,i);return t.jsxs(qe,{children:[t.jsx(ze,{textColor:d,className:"any-text-container",children:e==null||c?h:T("0,0",e)}),t.jsxs(Ke,{textColor:r,bgColor:m,className:"any-text-container",children:[n!=null&&!c?n===0?"0":n.toFixed(2):h,n!=null&&!c?gt:null]})]})},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(Z,{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(Z,{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(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()}})})}),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(Ge,{children:[t.jsxs(Xe,{children:[t.jsx(Ze,{}),t.jsx(Ye,{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]})]})}),wt=({bankBalance:e,bankConnection:n,statementStatus:i,lastUpdatedAt:c,fromDrawer:l=!1,onConnectClicked:d,onReconnectClicked:r,isLoading:m,accountId:I,onStatementAddClicked:_,setIsHovering:L})=>{const v=Tt();if(l===!0)return t.jsx(C,{className:"any-text-container",children:T("0,0",e)??h});if(m===!0)return t.jsx(C,{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(C,{className:"any-text-container",children:e!=null?T("0,0",e):h})]}),t.jsx(nt,{"data-testid":y("account-reconciliation-reconnect-button",I),onClick:B=>{B.stopPropagation(),r?.()},children:s.connect.reconnnect})]})}else return n==="connected"||i==="uploaded"?t.jsx(C,{className:"any-text-container",children:T("0,0",e)??h}):t.jsx(et,{"data-testid":y("account-reconciliation-connect-button",I),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"&&_?.()},valueToIcon:j=>j==="bank_connection"?t.jsx(ut,{}):j==="statement"?t.jsx(pt,{}):null})})})})},$t=({clearedBalance:e,isLoading:n})=>e!=null&&n===!1?t.jsx(C,{className:"any-text-container",children:T("0,0",e)??h}):t.jsx(C,{className:"any-text-container",children:h}),Z=({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(V,{children:t.jsx(O,{textColor:n,children:s.status.reconciliationFailed})}),t.jsx(F,{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(V,{children:t.jsx(O,{textColor:i,children:e})}),t.jsx(F,{children:t.jsx(U,{textColor:i,children:s.status.reconcileViaQBO})})]})]})})},ee=({tooltipText:e})=>{const n=E(),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(Q,{children:[t.jsx(R,{textColor:i,children:s.status.autoReconInProgress}),t.jsx(R,{textColor:i,children:s.status.isInProgress})]})})})},vt=()=>{const e=E(),n=new x(e.colors.grey1);return t.jsx($,{children:t.jsxs(Q,{children:[t.jsx(R,{textColor:n,children:s.status.balanceSyncInProgress}),t.jsx(R,{textColor:n,children:s.status.isInProgress})]})})},Ct=()=>{const e=E(),n=new x(e.colors.grey1);return t.jsx($,{children:t.jsxs(Q,{children:[t.jsx(R,{textColor:n,children:s.status.statementSyncInProgress}),t.jsx(R,{textColor:n,children:s.status.isInProgress})]})})},Rt=({code:e,tooltipText:n,errorMessage:i})=>{const c=new x(g.important),l=Et(e,"list",i);return t.jsx(f,{title:t.jsx(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(V,{children:t.jsx(O,{textColor:c,children:l})}),t.jsx(F,{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,Pt as D,Et as E,Lt as L,Wt as N,ft as f,u,$t as w};
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
import{u as fe,X as Ce,a as xe,c3 as Pe,ab as $,M as be,j as t,C as P,aW as Ae,d as Ie,F as ve,aQ as je,c4 as $e,a7 as ke,o as s,h3 as ze,cw as Be,cx as Ee,p as b,s as Te,gi as Ve,Q as Oe,g as Le}from"./index-DzXOvNDr.js";import{b as W,n as r}from"./vendor-CnQcJ2Lu.js";import{M as De,r as H,e as Me}from"./PaymentAccountSetupBillingAddressSection-w6QwL-c4-Puxe83hy.js";import{z as Re}from"./SetUpAccountSection-DHHAhE7n-D0tMCLTp.js";import"./mui-BgvZYSo0.js";import"./analytics-BSSiLa6f.js";import"./routing-BNz5gZgX.js";import"./sentry-HDxG13yk.js";import"./redux-DmDqXYej.js";import"./liveblocks-BUGn2yQ6.js";import"./crypto-BURQLTgV.js";import"./SetUpDefaultSection-DkoRgSyp-BjWpEfaH.js";import"./ChaseOverlay-DfjQ73Ie-B1a_VHty.js";const p={titleWidth:new P(343,580,726,826),setupDetailsRowGap:new P(12,b[5],b[5]),iconWidthHeight:new P(20,b[4]),subTitlePaddingTop:new P(12,b[3])},We={title:new Oe("standardSemiBold","largeSemiBold")},_="billingSetupPage",A="payAccountSectionId",n="subscriptionBillingAddressSectionId",lt=({analytics:e,billingSetupView:a,connectedAccountProvider:g,isDisabled:d,onClickMenuIcon:I,uiState:K,stripeKey:N,googleAPIKey:J,companyId:Q,onUpdateAccountClick:q,onFetchLinkTokenClick:G,onUpdatePaymentAccountStatus:X,onUpdatePaymentAccountLoginStatus:Z,onEstablishConnectionClick:Y,onEstablishConnectionSuccess:ee,handleCreateCardSetupIntent:te,handleConfirmCardSetupIntent:ne,updateCardPaymentModalState:k,handleAddCardPaymentSource:ie,resetCardPaymentViewState:oe,handleResetCardPaymentErrorStatuses:ae,onBillingAddressSave:se,onAddressEditHandler:re})=>{const C=fe(),i=Ce(),{setupView:{paymentAccount:y,plaidConnectionDetails:de,allBankAccounts:le,accountFetchStatus:z},cardPaymentView:m}=a,ce=a.subscriptionBillingAddress,B=y?.providerVerificationStatus,ue=z.fetchState==="In-Progress"||z.fetchState==="Not-Started",S=xe({mode:"onSubmit",reValidateMode:"onChange",defaultValues:F(a),values:F(a),resetOptions:{keepDirtyValues:!0}}),pe=S.handleSubmit(c=>{se(Q)}),E=a.subscriptionBillingAddressSaveStatus,me=async(c,o)=>{const h=o[A];if(c.includes(n)&&o[n]!=null){const v=S.getValues(`${n}`).country;let u=o[n];if(c.includes(`${n}.street`)&&o[n].street!=null){const{addressValue:f}=o[n].street,j=Be(f?.country);u={street:o[n].street??l.strings.empty,city:f?.locality??l.strings.empty,state:f?.administrativeAreaLevel1??l.strings.empty,country:j,countryCode:f?.countryCode??l.strings.empty,postalCode:f?.postalCode??l.strings.empty,secondaryInfo:o[n].secondaryInfo,suite:o[n].suite},v.selectedOption!==j.selectedOption&&(u={...u,country:j})}else c===`${n}.country`&&v.selectedOption!=null&&(u={...u,countryCode:Ee(v.selectedOption)});u!=null&&re(u)}else c.includes(A)&&h.account.selectedOption!=null&&y?.paymentAccountId!=null&&y.zeniAccountId!==h.account.selectedOption&&q(h.account.selectedOption,y.paymentAccountId)};W.useEffect(()=>{const c=S.watch((o,{name:h})=>{h!=null&&o!=null&&Pe(()=>me(h,o))});return()=>{c.unsubscribe()}});const T=C.mode==="light"?new $(C.colors.brandColorJadeLight):new $(C.colors.brandColorJadeDark),{customerOnboardingPage:{sections:{link_payment_account:he,card_payment_method:w}},common:l,billingSetupPage:V}=be.getLocalizedStrings(),ge=V.section.subTitle,{text:ye,subText:Se}=he,O=m.cardsList.length>0,L=m?.cardsList[0]?.brand??"other",D=m?.addCardPaymentSourceStatus.fetchState,x=De(w.header,w.titleText,w.protectedCardNo,m);let M;O&&(M={header:x.header,title:x.title,subtitle:x.subtitle,status:x.status==="valid"?{name:"Verified",code:"verified"}:{name:"Pending",code:"pending"},showAddPaymentMethodDropDown:O===!0,icon:{element:t.jsx("img",{src:H(L).iconURL,width:p.iconWidthHeight.valuePx(i),height:p.iconWidthHeight.valuePx(i),alt:H(L).name}),color:new $(T)},showCompletedIcon:!1,isError:D==="Error",isLoading:D==="In-Progress",isCompleted:!0,showRightArrow:!1});const[R,we]=W.useState(!1);return t.jsxs(_e,{children:[t.jsx(Ae,{source:"BillingSettingsPage",title:V.section.title,backgroundColor:C.colors.grey4,style:{zIndex:3},showBackButton:!1,showMenuIcon:i==="medium-compact"||i==="small",onClickMenuIcon:I}),t.jsxs(He,{windowSize:i,children:[t.jsx(Fe,{windowSize:i,children:ge}),ue?t.jsx(Ue,{children:t.jsx(Ie,{size:"ExtraLarge",start:!0})}):t.jsx(ve,{...S,children:t.jsx(qe,{children:t.jsx("form",{id:U(_),onSubmit:pe,children:t.jsxs(Ke,{windowSize:i,children:[t.jsx(Re,{connectedAccountProvider:g,paymentAccount:y,plaidConnectionDetails:de,allBankAccounts:le,header:w.header,sectionTitle:w.header,defaultSectionTitle:ye,defaultSectionSubTitle:Se,sectionId:A,isDisabled:d,onFetchLinkTokenClick:G,onEstablishConnectionClick:Y,onUpdatePaymentAccountStatus:X,onUpdatePaymentAccountLoginStatus:Z,onEstablishConnectionSuccess:ee,isError:B?.code==="require_info"||B?.code==="failed",icon:{element:t.jsx(je,{width:p.iconWidthHeight.valuePx(i),height:p.iconWidthHeight.valuePx(i)}),color:T},analytics:e,productType:"billing",updateCardPaymentModalState:k,cardPaymentSectionValues:M,cardPaymentView:m,resetCardPaymentViewState:oe,showZeniAccountSection:!1,referrer:"Billing",cardSetupInProgress:R}),Ne(i,l.headers.billingAddress,ce,J,d)]})})})}),$e(S.formState.dirtyFields)?t.jsx(ke,{formId:U(_),style:{width:i==="small"?"auto":"100%",paddingTop:s.sp2,paddingBottom:s.sp2,height:s.sp8},primaryBtn:{label:l.footer.save,isLoading:E?.fetchState==="In-Progress",isDisabled:E?.fetchState==="In-Progress",style:{height:s.sp6}},showCancel:!1,containerStyle:{width:"auto",justifyContent:"center"}}):null]}),t.jsx(Me,{handleConfirmCardSetupIntent:ne,updateCardPaymentModalState:k,handleCreateCardSetupIntent:te,handleAddCardPaymentSource:ie,cardPaymentView:m,isCardPaymentOpen:K.isCardPaymentPopupOpen,handleResetCardPaymentErrorStatuses:ae,stripeKey:N,cardSetupInProgress:R,setCardSetupInProgress:we})]})},F=e=>{const{paymentAccount:a,allBankAccounts:g}=e.setupView;return{[A]:{account:{selectedOption:a?.zeniAccountId,allOptions:g.map(d=>({label:d.accountName,value:d.accountId}))}},[n]:ze(n,e.subscriptionBillingAddress)[n]}},He=r.div`
|
|
2
|
-
display: flex;
|
|
3
|
-
justify-content: space-between;
|
|
4
|
-
height: 100%;
|
|
5
|
-
overflow-y: auto;
|
|
6
|
-
flex-direction: column;
|
|
7
|
-
align-items: center;
|
|
8
|
-
row-gap: ${e=>p.setupDetailsRowGap.valuePx(e.windowSize)};
|
|
9
|
-
`,_e=r.div`
|
|
10
|
-
display: flex;
|
|
11
|
-
min-height: 100%;
|
|
12
|
-
flex-direction: column;
|
|
13
|
-
width: 100%;
|
|
14
|
-
background-color: ${e=>e.theme.colors.grey4};
|
|
15
|
-
`,Fe=r(Te)`
|
|
16
|
-
color: ${e=>e.theme.colors.hero};
|
|
17
|
-
display: flex;
|
|
18
|
-
justify-content: center;
|
|
19
|
-
width: ${e=>p.titleWidth.valuePx(e.windowSize)};
|
|
20
|
-
padding-top: ${e=>p.subTitlePaddingTop.valuePx(e.windowSize)};
|
|
21
|
-
padding-bottom: ${s.sp3};
|
|
22
|
-
text-align: ${e=>e.windowSize==="small"?"initial":"center"};
|
|
23
|
-
`,Ue=r.div`
|
|
24
|
-
display: flex;
|
|
25
|
-
width: 100%;
|
|
26
|
-
height: calc(100vh - 110px);
|
|
27
|
-
flex-direction: row;
|
|
28
|
-
justify-content: center;
|
|
29
|
-
align-items: center;
|
|
30
|
-
background-color: ${e=>e.theme.colors.grey4};
|
|
31
|
-
`,Ke=r.div`
|
|
32
|
-
display: flex;
|
|
33
|
-
flex-direction: column;
|
|
34
|
-
`,Ne=(e,a,g,d,I)=>t.jsxs(Je,{children:[t.jsx(Qe,{windowSize:e,isDisabled:I==="disabled",children:a}),t.jsx(Ve,{googleAPIKey:d??"",addressToEdit:g,sectionId:`${n}`,style:{marginLeft:"0px"},elementsStyle:{paddingRight:"0px"}})]}),Je=r.div`
|
|
35
|
-
margin-top: ${s.sp3};
|
|
36
|
-
margin-bottom: ${s.sp4};
|
|
37
|
-
`,Qe=r.div`
|
|
38
|
-
${e=>`${We.title.style(e.windowSize)}`};
|
|
39
|
-
margin-bottom: ${s.sp3};
|
|
40
|
-
margin-top: ${s.sp4};
|
|
41
|
-
color: ${e=>e.isError===!0?Le.important:e.isDisabled===!0?e.theme.colors.grey1:e.theme.colors.primary};
|
|
42
|
-
`,qe=r.div`
|
|
43
|
-
flex: 1;
|
|
44
|
-
`,U=e=>`${e}_form`;export{lt as default,U as uniqueName};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{M as V,j as b,bN as q,bP as M,bQ as W,jl as z,l as H,aJ as J}from"./index-DzXOvNDr.js";import{b as _}from"./vendor-CnQcJ2Lu.js";import{m as Q}from"./ReviewOverlay-CmbxFXT5-BHsJIc-S.js";import"./mui-BgvZYSo0.js";import"./analytics-BSSiLa6f.js";import"./routing-BNz5gZgX.js";import"./sentry-HDxG13yk.js";import"./redux-DmDqXYej.js";import"./liveblocks-BUGn2yQ6.js";import"./crypto-BURQLTgV.js";const{common:n,spendManagement:{billPay:C}}=V.getLocalizedStrings(),o=C.bulkActions;let x;const ce=({billsReviewView:t,analytics:r,onProceedForBulkActionClick:l,onCloseReviewItem:e,onCloseOverlay:c})=>{const{fetchState:m,bulkSubmissionFetchState:a,bulkOperationTypeSelected:i,currentTab:g,currentSubTab:w}=t,u=i==="review",[P,h]=_.useState(!1),[s,v]=_.useState(j(t,u)),[p,E]=_.useState(u),[B,T]=_.useState(0),[f,k]=_.useState({type:"",title:"",description:"",primaryButtonText:"",secondaryButtonText:""});_.useEffect(()=>(u&&(x=setInterval(()=>{v(d=>d.map((S,O)=>(clearInterval(x),O===B?{...S,reviewStatus:{isLoading:!1,code:"valid"}}:S))),T(d=>d+1)},1e3)),B===s.length&&p&&(E(!1),clearInterval(x)),!u&&t.fetchState==="Completed"&&v(j(t,!1)),()=>{clearInterval(x)}),[s.length,B,p,t.fetchState,u,t]);const R=s.length,y=s.filter(d=>d.reviewStatus.code!=="error").length,N=()=>{const{title:d,description:S}=Y(y);k({type:"reject",title:d,description:S,primaryButtonText:n.texts.confirm,secondaryButtonText:n.texts.close}),r.trackBillPayBulkSubmit(i,g,w),h(!0)},A={onOkClick:d=>{h(!1),r.trackBillPayBulkPopupConfirm(i,g,w,X(t)),l("reject",d)},onCancelClick:()=>{h(!1)}},{title:F,description:$}=Z(m,y,R,p),I=t.fetchState==="Completed"&&y===0,U=()=>{r.trackBillPayBulkSubmit(i,g,w),l(i)},D={label:I?n.texts.close:i==="send_for_approval"?n.footer.submit:n.footer.approve,isDisabled:m!=="Completed"||i==="reject"&&a==="In-Progress",isLoading:a==="In-Progress"&&(i==="send_for_approval"||i==="approve"),onClick:I?c:U,style:i==="send_for_approval"?{minWidth:"92px"}:{}},L={label:i==="send_for_approval"?n.texts.goBack:n.footer.reject,isDisabled:i!=="reject"&&a==="In-Progress",isLoading:i==="reject"&&a==="In-Progress",reverseSpinnerColor:!1,onClick:i==="send_for_approval"?c:N,style:i==="approve"?{minWidth:"92px"}:{}};return b.jsxs(b.Fragment,{children:[P?b.jsx(q,{titleComponent:b.jsx(W,{children:f.title}),descriptionComponent:b.jsx(M,{children:f.description}),primaryButtonText:f.primaryButtonText,proceedButtonVariant:"danger",secondaryButtonText:f.secondaryButtonText,action:A,isNotesIncluded:!0,isEditPopup:!0}):null,b.jsx(Q,{title:F,description:{content:$,isError:t.fetchState==="Completed"&&y===0},reviewItems:s,onCloseReviewItem:e,onCloseOverlay:c,showFooter:t.fetchState==="Completed"&&!p,footerProps:{primaryButton:D,cancelButton:L,hideCancel:I}})]})},j=(t,r)=>{const l=t.fetchState==="In-Progress";return t.billsForReview.map(e=>({id:e.transactionId,leftSideText:{title:e.vendorName?e.vendorName:C.billDetails.newBillTitle,subTitle:`${C.billDetails.invoiceNo} ${e.invoiceNumber?e.invoiceNumber:n.strings.hyphen}`},rightSideText:{title:J("0,0.[00]",e.amount?.amount,e.amount?.currencySymbol),showThunderIcon:e.reviewErrors?.length===1&&H.isBillConditionallyValid(e.reviewErrors[0].reviewErrorCode),subTitle:G(e.reviewStatus==="warning",e.reviewErrors?.map(c=>c.reviewInfoMessage)),additonalInfo:e.reviewErrors!=null&&e.reviewErrors.length>1?o.reviewPage.removeOrProceed:void 0},reviewStatus:{isLoading:r?!0:l,code:e.reviewErrors?.length===1&&e.reviewErrors[0].reviewErrorCode==="ERR_INSUFFICIENT_FUNDS"?"low-balance":e.reviewStatus??""}}))},X=t=>{const r=t.billsForReview;let l=[];return r.forEach(e=>{l=z([...l,e.isRecurring?"recurring":"one-time"])}),l},Y=t=>{const{this_:r,these:l,bill:e,bills:c,payment:m,payments:a}=n.texts;return t>1?{title:o.popUps.reject.title.replace("<_payment_>",o.payments),description:o.popUps.reject.description.replaceAll("<_this_>",l).replaceAll("<_payment_>",a).replaceAll("<_bill_>",c)}:{title:o.popUps.reject.title.replace("<_payment_>",o.payment),description:o.popUps.reject.description.replaceAll("<_this_>",r).replaceAll("<_payment_>",m).replaceAll("<_bill_>",e)}},Z=(t,r,l,e)=>{const{has:c,have:m,bill:a,bills:i,are:g,is:w,do_:u,does:P}=n.texts,h=r>1,s=l>1;let v="",p="";return t==="Completed"&&!e?(v=o.reviewPage.billsReviewed.title.replace("<_bill_>",s?C.bulkActions.bills:o.bill).replace("<_has_>",s?m:c),r===0?p=o.reviewPage.billsReviewed.descriptionError.replace("<_bill_>",s?i:a).replace("<_do_>",s?u:P):p=`${r}/${l} ${o.reviewPage.billsReviewed.description.replace("<_bill_>",l>1?i:a).replace("<_is_>",h?g:w)}`):(v=o.reviewPage.billsReviewing.title.replace("<_bill_>",s?i:a),p=o.reviewPage.billsReviewing.description.replace("<_bill_>",s?i:a)),{title:v,description:p}},G=(t,r)=>{if(r?.length!=null){if(r.length>1)return r.join(` ${n.strings.dividerDot} `);if(r.length===1)return t?r[0]+`${n.strings.colon} ${o.reviewPage.removeOrProceed}`:r[0]}return""};export{ce as default,X as getBillsUniqueType};
|
|
@@ -1,140 +0,0 @@
|
|
|
1
|
-
import{u as et,X as tt,a5 as we,j as i,M as Te,i as G,a as it,ch as at,l as L,z as st,c3 as nt,aJ as ot,a0 as rt,K as lt,aW as ct,Y as dt,c4 as mt,bN as pt,bP as ut,bQ as ft,d as yt,F as ht,a7 as gt,o as r,C as j,f as $e,fF as xt,fd as Ce,cw as St,c0 as wt,a6 as Ct,s as ke,Q as bt,h as vt,p as k}from"./index-DzXOvNDr.js";import{b as P,n as d}from"./vendor-CnQcJ2Lu.js";import{o as Dt,G as Tt}from"./CompanyOfficerDetailsSection-BlUCDRW6-nX8ZqVcI.js";import{r as $t}from"./verification-CW6uEyev-DdkqedMU.js";import"./mui-BgvZYSo0.js";import"./analytics-BSSiLa6f.js";import"./routing-BNz5gZgX.js";import"./sentry-HDxG13yk.js";import"./redux-DmDqXYej.js";import"./liveblocks-BUGn2yQ6.js";import"./crypto-BURQLTgV.js";import"./LabeledAddressValueField-Bey_bvyv-B3Pa1cso.js";import"./LabeledCreatableSingleSelectField-B3x1MZJr-DVXxS64O.js";import"./LabeledDocumentField-BKPP0tRe-uJ2UBUcm.js";import"./DocumentSecurityBanner-BgKXBGg3-BFG8spIP.js";const x={width:new j(343,580,726),titleWidth:new j(343,580,726,826),subTitlePaddingTop:new j(12,k[3]),subTitlePaddingBottom:new j(k[3],k[3]),verificationDetailsRowGap:new j(12,k[5],k[5]),termsPaddingLeftRight:new j(k[0],k[3])},kt={stepTitle:new bt("h6Regular","h5Regular")},be="businessVerificationPage",b="companyDetails",v="companyOfficerDetails",{commonSetUp:{businessVerification:s},common:{settings:It,currency:jt,footer:ve,strings:{empty:Pt}}}=Te.getLocalizedStrings(),pi=({businessVerificationDetails:t,allNationalityCountries:A,verficationDetailsFetchState:F,isRefreshingViewInBackground:B,filesEndPoint:o,authParams:_,productType:y,allIndustries:z,companyTitles:E,maxInsuredAmount:p,isDisabled:I,isSettings:n=!1,isOverlay:h=!1,analytics:g,isStepInProgress:S=!1,onAddressClick:H,onRegisteredAddressClick:je,onBackClick:N,onGetOtp:Pe,onVerifyOtp:Fe,onResendOtp:Ne,onSendForVerificationClick:Oe,onEditFileName:ee,onCompanyDetailsChanged:Ve,updateFilesEntity:te,onDeleteFile:ie,onDeleteFileList:Le,onCompanyOfficerUpdated:Ae,saveNewAddressInLocalStore:ae,onSaveDetailsClick:Be,onClickMenuIcon:_e})=>{const ze=et(),m=tt(),{updateStatus:R,companyView:O,companyDetailsLocalData:l,companyOfficerLocalData:w}=t,Ee=we(R.fetchState),U=O?.company.company.featuresActivationInfo.connectedAccountProvider,Re=U==="unit"?i.jsxs(zt,{children:[s.terms.term1,i.jsx(G,{href:s.terms.consentUrl,onZeniLinkClick:()=>(g?.trackBillPayAgreement(),!0),linkText:s.terms.consent}),s.terms.term2,i.jsx(G,{href:s.terms.depositUrl,onZeniLinkClick:()=>(g?.trackBillPayAgreement(),!0),linkText:s.terms.depositTerms}),s.terms.term3,i.jsx(G,{href:s.terms.privacyPolicyUrl,onZeniLinkClick:()=>(g?.trackBillPayAgreement(),!0),linkText:s.terms.privacy}),s.terms.term4,i.jsx(G,{href:s.terms.tosUrl,onZeniLinkClick:()=>(g?.trackBillPayPrivacyPolicy(),!0),linkText:s.terms.tos}),s.terms.term5]}):s.terms.termsForStripe,[Ue,W]=P.useState(!1),[M,se]=P.useState("save"),[Z,Me]=P.useState(!1),u=it({mode:"all",reValidateMode:"onChange",defaultValues:Ft(t,z,E,A)}),{isValid:Ge}=u.formState,K=O?.company.company.companyBillPayInfo,Q=O?.company.company.companyTreasuryInfo,V=y==="zeni_treasury"?Q?.companyVerificationStatus:K?.companyVerificationStatus,D=Object.values(w).findIndex(e=>e?.isSelectedForVerification===!0),T=`Officer_${D<0?1:D+1}`,We=()=>{const e=w[T],a=e?.email,c=e?.birthday?.toString(),f=e?.ownershipInCompany,C=e?.firstName,$=e?.lastName,re=e?.titleAtCompany,le=e?.documentTypeSelectedForVerification,ce=e?.phone,de=e?.addressStatus?.addressToCreate,me=de!=null?L.getFormattedAddress(de):void 0,pe=l?.companyDescription,J=l?.companyLegalName,ue=l?.companyIndustry,fe=l?.phone,ye=l?.website,he=l?.addressStatus?.addressToCreate!=null?L.getFormattedAddress(l?.addressStatus?.addressToCreate):void 0,Y=l?.primaryContactLocalData,ge=Y?.firstName,xe=Y?.lastName,Se=Y?.email;a!=null&&f!=null&&C!=null&&$!=null&&c!=null&&re!=null&&ce!=null&&me!=null&&le!=null&&pe!=null&&J!=null&&fe!=null&&ye!=null&&ue!=null&&J!=null&&he!=null&&ge!=null&&xe!=null&&Se!=null&&g?.trackBusinessVerificationSend({email:a,birthday:c.toString(),companyOwnership:f,firstName:C,lastName:$,companyRole:re,phone:ce,formattedAddress:me,documentTypeForVerification:le},{companyDescription:pe,legalName:J,phone:fe,website:ye.toString(),industry:ue,formattedAddress:he},{firstName:ge,lastName:xe,email:Se},y,n?"Settings":void 0)},Ze=()=>{const e=w[T],a=l?.primaryContactLocalData,c=e?.email??"",f=!!e?.firstName&&!!e?.lastName,C=a?.email??"",$=!!a?.firstName&&!!a?.lastName;return c&&!f?((!e?.firstName||!e?.lastName)&&u.trigger(`${v}.${D<0?0:D}.name`,{shouldFocus:!0}),!1):C&&!$?((!a?.firstName||!a?.lastName)&&u.trigger(`${b}.primaryContactName`,{shouldFocus:!0}),!1):!0},Ke=()=>{const e=w[T],a=l?.primaryContactLocalData,c=e?.email,f=a?.email;if(c){if(!f)return(a?.firstName||a?.lastName)&&u.trigger(`${b}.primaryContactEmail`,{shouldFocus:!0}),!1}else if(e?.firstName||e?.lastName||e?.birthday||e?.nationalityCountryCode||e?.ownershipInCompany||e?.phone||e?.ssn||e?.titleAtCompany||e?.addressStatus?.addressToCreate||e?.fileIds!=null&&e?.fileIds.length>0||X!=null&&X?.length>0)return u.trigger(`${v}.${D<0?0:D}.email`,{shouldFocus:!0}),!1;return!0},Qe=u.handleSubmit(()=>{if(M!=="verification"&&se("verification"),U==="unit"&&w[T]?.isPhoneVerified!==!0){u.setError(`${v}.${D}.phone`,{type:"custom"});return}const e=at(Object.values(w).map(c=>Object.values(c?.deleteFileStatusById??{}).filter(f=>f!=null))),a=Object.values(l?.deleteFileStatusById??{}).filter(c=>c!=null);L.reduceAllFetchState(e.concat(a)).fetchState!=="In-Progress"&&Ge&&(We(),Oe?.(T))}),Xe=async(e,a)=>{e.includes(b)?Ve?.(a[b]):e.includes(v)&&Ae?.(a[v])},qe=P.useCallback(st((e,a)=>{Xe(e,a)},300),[]);P.useEffect(()=>{const e=u.watch((a,{name:c})=>{c!=null&&a!=null&&nt(()=>qe(c,a))});return()=>{e.unsubscribe()}});const ne=we(t.companyDetailsLocalData?.addressStatus);P.useEffect(()=>{t.companyDetailsLocalData?.addressStatus?.addressToCreate!=null&&t.companyDetailsLocalData?.registeredAddressStatus?.addressToCreate==null&&ne==null&&(ae?.("company_registered_address",t.companyDetailsLocalData?.addressStatus?.addressToCreate),u.setValue(`${b}.registeredAddress`,t.companyDetailsLocalData?.addressStatus?.addressToCreate))},[t.companyDetailsLocalData?.addressStatus,t.companyDetailsLocalData?.registeredAddressStatus,ne,ae,u]);const oe=O?.companyOfficers.slice(0,10).sort((e,a)=>e.user.createTime?.isAfter(a.user.createTime)===!0?1:-1),X=oe?.map(e=>e.user),Je=oe?.map(e=>e.role),Ye={onOkClick:()=>{W(!1),N();const e=[],a=O?.company.company.incInfo.fileIds??[];u.getValues(`${b}.fileIds`).forEach(c=>{a.includes(c)||e.push(c)}),Je?.forEach((c,f)=>{const C=c?.fileIds??[];u.getValues(`${v}.${f}.fileIds`).forEach($=>{C.includes($)||e.push($)})}),e.length!==0&&Le?.(e)},onCancelClick:()=>{W(!1)}},He=ot(rt(p),p,jt.currencySymbol).toUpperCase(),q=V?.code==="pending_review"||V?.code==="verified";return y==="zeni_treasury"&&Ee==="In-Progress"&&R.fetchState==="Completed"?i.jsxs(Kt,{children:[i.jsxs(Qt,{children:[i.jsx($t,{}),i.jsx(Xt,{windowSize:m,children:s.submittedTitle}),i.jsx(Zt,{isReadonly:!1,children:s.submittedDescription})]}),i.jsx(lt,{label:s.submittedButton,onClick:N,variant:"primary"})]}):i.jsxs(Nt,{isSettings:n,children:[i.jsx(ct,{title:h&&S===!0?Pt:s.header,backgroundColor:ze.colors.grey5,style:{zIndex:Z?1:4},onBackClick:()=>{mt(u.formState.dirtyFields)?W(!0):N()},showBackButton:!n&&!h,showMenuIcon:n?m==="medium-compact"||m==="small":!1,onClickMenuIcon:_e,rightSideComponent:h?i.jsx(qt,{"data-testid":dt("nav-bar-close-business-verification-overlay"),onClick:()=>{N()}}):null,source:"BusinessVerificationPage"}),Ue===!0?i.jsx(pt,{titleComponent:i.jsx(ft,{children:s.discardTitle}),descriptionComponent:i.jsx(ut,{children:s.discardDescription}),primaryButtonText:s.discard,secondaryButtonText:s.cancel,action:Ye}):null,i.jsxs(Lt,{windowSize:m,children:[(!h||S===!1)&&i.jsx(Vt,{windowSize:m,children:n?It.infoText.businessVerification:s.title}),F==="In-Progress"||F==="Not-Started"?i.jsx(At,{children:i.jsx(yt,{size:"ExtraLarge",start:!0})}):i.jsx(ht,{...u,children:i.jsxs("form",{id:De(be),onSubmit:Qe,children:[h&&S===!0&&i.jsxs(Ot,{children:[i.jsxs(Et,{windowSize:m,children:[i.jsx(Rt,{windowSize:m,children:q?s.businessVerificationDetails:s.verifyBusinessDetails}),!q&&i.jsx(Ut,{children:i.jsxs(Mt,{children:[i.jsx(Gt,{}),i.jsx(Wt,{})]})})]}),i.jsx(Ie,{isReadonly:q,children:s.verifyBusinessDetailsDescription})]}),i.jsxs(Bt,{children:[i.jsx(Dt,{companyOfficerData:w,allNationalityCountries:A,allOfficers:X??[],sectionId:v,isRefreshingViewInBackground:B,connectedAccountProvider:U,productType:"business_verification",updateFilesEntity:te,onEditFileName:ee,onOfficerAddressClick:H,onDeleteFile:ie,isDisabled:I,filesEndPoint:o,authParams:_,isPopupOpen:Z,openPopup:Me,onGetOtp:Pe,onVerifyOtp:Fe,onResendOtp:Ne,companyTitles:E,isForTreasury:y==="zeni_treasury",isOverlay:h}),i.jsx(Tt,{companyDetails:l,businessVerificationProps:{companyVerificationStatus:V,isRefreshingViewInBackground:B},productType:"business_verification",showTreasuryFields:y==="zeni_treasury",sectionId:b,isDisabled:V?.code==="pending_review"||V?.code==="verified"?"readonly":I,fileProps:{authParams:_,filesEndPoint:o,onEditFileName:ee,onDeleteFile:ie,updateFilesEntity:te},onCompanyAddressClick:H,onRegisteredAddressClick:je,connectedAccountProvider:U,allIndustries:z})]}),y==="zeni_accounts"?i.jsx(_t,{windowSize:m,children:s.threadText.replace("__amount__",He)}):null]})})]}),F==="Completed"&&(y==="zeni_treasury"?Q?.companyVerificationStatus?.code!=="pending_review"&&Q?.companyVerificationStatus?.code!=="verified":K?.businessVerificationStatus?.code!=="pending_review"&&K?.businessVerificationStatus?.code!=="verified")?i.jsx(gt,{formId:De(be),primaryBtn:{label:S?ve.submit:s.sendForVerificationButton,style:{width:"auto",minWidth:m==="small"?"auto":S?"83px":"181px"},isLoading:M==="verification"&&R.fetchState==="In-Progress",isDisabled:I!=null},containerStyle:{width:m==="small"?x.width.valuePx(m):"auto",justifyContent:m==="small"?"space-between":"center"},helperStyle:{width:m==="small"?x.width.valuePx(m):"auto",paddingLeft:x.termsPaddingLeftRight.valuePx(m),paddingRight:x.termsPaddingLeftRight.valuePx(m),textAlign:m==="small"?"center":"initial"},showCancel:!0,cancelBtn:{reverseSpinnerColor:!1,label:S?ve.back:s.saveDetailsButton,style:{width:m==="small"?"auto":S?"83px":"181px"},isLoading:M==="save"&&R.fetchState==="In-Progress",onClick:()=>{if(S)N();else{const e=w[T],a=l?.primaryContactLocalData;M!=="save"&&se("save");const c=e?.email??"",f=Ze(),C=Ke();f&&C&&(g?.trackBusinessVerificationSave({email:c,birthday:e?.birthday?.toString(),companyOwnership:e?.ownershipInCompany,firstName:e?.firstName,lastName:e?.lastName,companyRole:e?.titleAtCompany,phone:e?.phone,formattedAddress:e?.addressStatus?.addressToCreate!=null?L.getFormattedAddress(e?.addressStatus?.addressToCreate):void 0,documentTypeForVerification:e?.documentTypeSelectedForVerification},{companyDescription:l?.companyDescription,legalName:l?.companyLegalName,phone:l?.phone,website:l?.website?.toString(),industry:l?.companyIndustry??"",formattedAddress:l?.addressStatus?.addressToCreate!=null?L.getFormattedAddress(l?.addressStatus?.addressToCreate):void 0},{firstName:a?.firstName,lastName:a?.lastName,email:a?.email},y,n?"Settings":void 0),Be?.(T))}}},helperText:Re,style:{padding:`12px ${r.sp3}`,zIndex:Z?0:4}}):null]})},Ft=(t,A,F,B)=>{const{companyDetailsLocalData:o,companyOfficerLocalData:_,companyView:y}=t,z=Te.getLocalizedStrings().companyPassport,E=y?.companyOfficers!=null&&y?.companyOfficers.length>0;return{[b]:{companyDescription:o?.companyDescription??"",ein:o?.companyFiles.find(p=>p.documentType==="tax_ein"),companyId:o?.companyId??"",syncToken:o?.syncToken,companyLegalName:o?.companyLegalName??"",companyWebsite:o?.website?.toString()??"",companyAddress:o?.addressStatus?.addressToCreate,registeredAddress:o?.registeredAddressStatus?.addressToCreate,companyIndustry:{selectedOption:o?.companyIndustry,allOptions:A?.map(p=>p.code)},companyPhone:o?.phone??"",companyTaxId:o?.taxIdOrEIN??"",primaryContactName:{firstName:o?.primaryContactLocalData?.firstName??"",lastName:o?.primaryContactLocalData?.lastName??""},primaryContactEmail:o?.primaryContactLocalData?.email??"",primaryContactUserId:o?.primaryContactLocalData?.userId,primaryContactSyncToken:o?.primaryContactLocalData?.syncToken,fileIds:o?.companyFiles.map(p=>p.fileId)??[],certificateOfIncorporation:o?.companyFiles.find(p=>p.documentType==="certificate_of_incorporation"),incDate:o?.incDate?.toDate(),typeOfIncorporation:{selectedOption:o?.typeOfIncorporation,allOptions:z.companyIncInfo.allTypesOfIncorporation},sourceOfFunds:{selectedOption:o?.sourceOfFunds??"",allOptions:Object.keys(s.sourceOfFundOptions)},formationDocument:o?.companyFiles.find(p=>p.documentType==="company_formation_document")},[v]:Object.values(_).map((p,I)=>{const n=p,h=xt(n?.documentTypeSelectedForVerification);return{userId:n?.userId,officerType:n?.officerType??`Officer_${I+1}`,name:{firstName:n?.firstName,lastName:n?.lastName},email:n?.email,fileIds:n?.fileIds??[],dob:n?.birthday?.toDate(),nationalityCountryCode:St(n?.nationalityCountryCode,B.map(g=>g.countryCode)),ssn:n?.ssn,role:{selectedOption:n?.titleAtCompany,allOptions:F?.map(g=>g.code)},phone:n?.phone??"",ownership:n?.ownershipInCompany,officerAddress:n?.addressStatus?.addressToCreate,selectDocument:{front:Ce(!0,n?.userFiles??[],h),back:Ce(!1,n?.userFiles??[],h),selectDocumentType:h},isSelectedForVerification:!E&&I===0?!0:n?.isSelectedForVerification??!1,userVerificationStatus:n?.userVerificationStatus,treasuryUserVerificationStatus:n?.treasuryUserVerificationStatus,syncToken:n?.syncToken,isPhoneVerified:n?.isPhoneVerified,otpChallenge:n?.otpChallenge}})}},De=t=>`${t}_form`,Nt=d.div`
|
|
2
|
-
display: flex;
|
|
3
|
-
min-height: 100%;
|
|
4
|
-
flex-direction: column;
|
|
5
|
-
width: 100%;
|
|
6
|
-
row-gap: ${r.sp3};
|
|
7
|
-
background-color: ${t=>t.isSettings?"unset":t.theme.colors.grey5};
|
|
8
|
-
`,Ot=d.div`
|
|
9
|
-
display: flex;
|
|
10
|
-
flex-direction: column;
|
|
11
|
-
align-items: flex-start;
|
|
12
|
-
justify-content: center;
|
|
13
|
-
gap: ${r.sp1};
|
|
14
|
-
width: 100%;
|
|
15
|
-
padding-bottom: ${r.sp3};
|
|
16
|
-
`,Vt=d(ke)`
|
|
17
|
-
color: ${t=>t.theme.colors.hero};
|
|
18
|
-
display: flex;
|
|
19
|
-
justify-content: center;
|
|
20
|
-
width: ${t=>x.titleWidth.valuePx(t.windowSize)};
|
|
21
|
-
padding-top: ${t=>x.subTitlePaddingTop.valuePx(t.windowSize)};
|
|
22
|
-
padding-bottom: ${t=>x.subTitlePaddingBottom.valuePx(t.windowSize)};
|
|
23
|
-
text-align: ${t=>t.windowSize==="small"?"initial":"center"};
|
|
24
|
-
`,Lt=d.div`
|
|
25
|
-
display: flex;
|
|
26
|
-
justify-content: flex-start;
|
|
27
|
-
height: 100%;
|
|
28
|
-
overflow-y: auto;
|
|
29
|
-
flex-direction: column;
|
|
30
|
-
align-items: center;
|
|
31
|
-
padding-bottom: ${r.sp9};
|
|
32
|
-
row-gap: ${t=>x.verificationDetailsRowGap.valuePx(t.windowSize)};
|
|
33
|
-
`,At=d.div`
|
|
34
|
-
display: flex;
|
|
35
|
-
width: 100%;
|
|
36
|
-
height: calc(100vh - 110px);
|
|
37
|
-
flex-direction: row;
|
|
38
|
-
justify-content: center;
|
|
39
|
-
align-items: center;
|
|
40
|
-
background-color: ${t=>t.theme.colors.grey4};
|
|
41
|
-
`,Bt=d.div`
|
|
42
|
-
display: flex;
|
|
43
|
-
flex-direction: column;
|
|
44
|
-
row-gap: ${r.sp11};
|
|
45
|
-
`,_t=d($e)`
|
|
46
|
-
margin-top: ${r.sp2};
|
|
47
|
-
padding: ${r.sp2} ${r.sp2};
|
|
48
|
-
text-align: center;
|
|
49
|
-
color: ${t=>t.theme.colors.grey1};
|
|
50
|
-
width: ${t=>x.width.valuePx(t.windowSize)};
|
|
51
|
-
`,zt=d($e)`
|
|
52
|
-
text-align: center;
|
|
53
|
-
max-width: 750px;
|
|
54
|
-
color: ${t=>t.theme.colors.hero};
|
|
55
|
-
`,Et=d.div`
|
|
56
|
-
display: flex;
|
|
57
|
-
flex-direction: column;
|
|
58
|
-
gap: ${r.sp3};
|
|
59
|
-
width: 100%;
|
|
60
|
-
`,Rt=d(vt)`
|
|
61
|
-
${t=>`${kt.stepTitle.style(t.windowSize)}`};
|
|
62
|
-
color: ${t=>t.theme.colors.primary};
|
|
63
|
-
text-align: left;
|
|
64
|
-
`,Ut=d.div`
|
|
65
|
-
display: flex;
|
|
66
|
-
align-items: center;
|
|
67
|
-
overflow: hidden;
|
|
68
|
-
gap: ${r.sp2};
|
|
69
|
-
`,Mt=d.div`
|
|
70
|
-
display: flex;
|
|
71
|
-
width: 100%;
|
|
72
|
-
gap: ${r.sp3};
|
|
73
|
-
`,Gt=d.div`
|
|
74
|
-
width: 50%;
|
|
75
|
-
height: 2px;
|
|
76
|
-
background-color: ${t=>t.theme.colors.primary};
|
|
77
|
-
border-radius: ${r.sp2};
|
|
78
|
-
flex-shrink: 0;
|
|
79
|
-
`,Wt=d.div`
|
|
80
|
-
width: 50%;
|
|
81
|
-
height: 2px;
|
|
82
|
-
background-color: ${t=>t.theme.colors.grey3};
|
|
83
|
-
border-radius: ${r.sp2};
|
|
84
|
-
flex-shrink: 0;
|
|
85
|
-
position: relative;
|
|
86
|
-
overflow: hidden;
|
|
87
|
-
|
|
88
|
-
&::after {
|
|
89
|
-
content: "";
|
|
90
|
-
position: absolute;
|
|
91
|
-
top: 0;
|
|
92
|
-
left: 0;
|
|
93
|
-
height: 100%;
|
|
94
|
-
width: 100%;
|
|
95
|
-
background-color: ${t=>t.theme.colors.primary};
|
|
96
|
-
animation: fillProgress 1s ease-in-out forwards;
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
@keyframes fillProgress {
|
|
100
|
-
0% {
|
|
101
|
-
transform: translateX(-100%);
|
|
102
|
-
}
|
|
103
|
-
100% {
|
|
104
|
-
transform: translateX(0%);
|
|
105
|
-
}
|
|
106
|
-
}
|
|
107
|
-
`,Ie=d(ke)`
|
|
108
|
-
color: ${t=>t.theme.colors.hero};
|
|
109
|
-
margin-top: ${t=>t.isReadonly?r.sp0:r.sp3};
|
|
110
|
-
white-space: pre-line;
|
|
111
|
-
`,Zt=d(Ie)`
|
|
112
|
-
margin-top: ${r.sp0};
|
|
113
|
-
text-align: center;
|
|
114
|
-
`,Kt=d.div`
|
|
115
|
-
display: flex;
|
|
116
|
-
flex-direction: column;
|
|
117
|
-
align-items: center;
|
|
118
|
-
justify-content: center;
|
|
119
|
-
gap: ${r.sp5};
|
|
120
|
-
margin: auto;
|
|
121
|
-
`,Qt=d.div`
|
|
122
|
-
display: flex;
|
|
123
|
-
flex-direction: column;
|
|
124
|
-
align-items: center;
|
|
125
|
-
justify-content: center;
|
|
126
|
-
gap: ${r.sp3};
|
|
127
|
-
`,Xt=d(wt)`
|
|
128
|
-
color: ${t=>t.theme.colors.primary};
|
|
129
|
-
white-space: pre-line;
|
|
130
|
-
text-align: center;
|
|
131
|
-
`,qt=d(Ct)`
|
|
132
|
-
cursor: pointer;
|
|
133
|
-
color: ${t=>t.theme.colors.hero};
|
|
134
|
-
width: ${r.sp4};
|
|
135
|
-
height: ${r.sp4};
|
|
136
|
-
min-height: ${r.sp4};
|
|
137
|
-
&:hover {
|
|
138
|
-
color: ${t=>t.theme.colors.primary};
|
|
139
|
-
}
|
|
140
|
-
`;export{pi as default,De as uniqueName};
|