@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
|
@@ -0,0 +1,206 @@
|
|
|
1
|
+
import{X as Q,j as t,Y as $,gZ as pe,M as ee,_ as M,K as _,o,a3 as he,C as l,a2 as oe,k as ue,an as me,b$ as te,w as ge,q as F,a1 as xe,a as fe,c2 as ke,g as w,F as De,fD as $e,c5 as we,eN as G,cc as J,p as s,cV as be,bF as ye,bm as je,cy as Pe,f7 as Se,f as q,f9 as Le}from"./index-LFy5NlUr.js";import{b as k,n as a}from"./vendor-CnQcJ2Lu.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";const ve="checkDepositDetailPage",g="checkDepositDetails",Fe="amount",Ce="depositTo",Te="source",ie="fileIds",R="selectDocument",E=e=>{const p=[];return e.checkFront!=null&&p.push(e.checkFront.fileId),e.checkBack!=null&&p.push(e.checkBack.fileId),{[g]:{[Fe]:e.checkDepositLocalData.amount.amount===0?void 0:e.checkDepositLocalData.amount.amount,[Te]:e.checkDepositLocalData.source,[Ce]:{allOptions:e.depositAccounts.depositAccounts.map(x=>({label:x.accountName,value:x.id})),selectedOption:e.checkDepositLocalData.depositTo?.id},[ie]:p,[R]:{front:e.checkFront,back:e.checkBack}}}},D=(e,p)=>`${e}.${p}`,Be=e=>`${e}_form`,u={largeLabelWidth:new l(160,160,160),rowContentPaddingLeft:new l(s[3],s[4]),checkPicRowContentPaddingXAxis:new l(s[3],s[4]),labeleMarginLeft:new l(s[0],s[0]),labeleMarginBottom:new l(s[2],s[0]),labelMarginRight:new l(s[3],s[3]),labeledFieldPaddingLeft:new l(s[3],s[0]),labeledFieldPaddingRight:new l(s[3],s[2]),labeledFieldPaddingTop:new l(s[3],s[3]),labeledFieldPaddingBottom:new l(s[3],s[2]),infoLabelPaddingRight:new l(s[0],s[3]),infoLabelMarginTop:new l(s[1],s[0])},{spendManagement:ze,common:V}=ee.getLocalizedStrings(),c=ze.zeniAccounts.zeniAccountList,Ae=V.documents;function Ie({checkDeposit:e,analytics:p,filesEndPoint:x,openPopup:b,authParams:y,onSaveChangesToLocalStore:C,updateFilesEntity:j,onDeleteFile:P,onEditFileName:S,onCheckDpositClick:T}){const r=Q(),n=e.fetchState,L=xe(n),[v,K]=k.useState(!1),[se,B]=k.useState(!1),z=u.largeLabelWidth.value(r),f=fe({mode:"all",reValidateMode:"onBlur",defaultValues:E(e),values:E(e)}),{isValid:re}=f.formState,Y=i=>{const d={amount:{amount:i[g].amount??0,currencyCode:V.currency.currencyCode,currencySymbol:V.currency.currencySymbol},source:i[g].source,depositTo:e.depositAccounts.depositAccounts.find(h=>h.id===i[g].depositTo.selectedOption),fileIds:i[g][ie]};C(d)},ce=async(i,d)=>{if(i!=null){if(i.includes("source")||i.includes("amount"))return;const h=Object.assign({},d);Y(h)}};k.useEffect(()=>{const i=f.watch((d,{name:h})=>{h!=null&&d!=null&&ke(()=>ce(h,d))});return()=>{i.unsubscribe()}}),k.useEffect(()=>{L==="Completed"&&n==="Not-Started"&&f.reset(E(e))},[L,n,f,e]),k.useEffect(()=>{e.error!=null?B(!0):B(!1)},[e.error]);const le=f.handleSubmit(()=>{if(re){p.trackAccountsDepositCheckFormClicked("Deposit",e.checkDepositLocalData.amount.amount,e.checkDepositLocalData.source,e.checkDepositLocalData.depositTo?.accountName,e.checkFront!=null,e.checkBack!=null);const i=f.getValues();Y(i),T?.()}}),ne=(i,d)=>{if(!i)return null;const h=e.depositAccounts.depositAccounts.find(I=>I.id===i),A=e.depositAccounts.depositAccounts.findIndex(I=>I.id===i);return h?t.jsx(Ve,{color:Se(A),isSelectedValue:d}):null},de=(i,d)=>{if(!i)return null;const h=e.depositAccounts.depositAccounts.find(A=>A.id===i);return h?d===!0?t.jsx(Re,{children:h?.maskedAccountNumber}):t.jsxs(Me,{children:[t.jsx(X,{children:h?.maskedAccountNumber}),t.jsx(to,{}),t.jsx(X,{children:M("0,0[.]00",h?.accountBalance?.available)})]}):null};return t.jsxs(t.Fragment,{children:[se?t.jsx(Oe,{children:t.jsxs(qe,{children:[t.jsxs(Ke,{children:[t.jsx(_e,{}),t.jsxs(Ge,{children:[t.jsx(Je,{children:e.error?.title}),t.jsx(Xe,{children:e.error?.message})]})]}),t.jsx(Ye,{children:t.jsx(ro,{"data-testid":$("check-deposit-form-close"),onClick:()=>{p.trackAccountsDepositCheckFormClicked("Cross",e.checkDepositLocalData.amount.amount,e.checkDepositLocalData.source,e.checkDepositLocalData.depositTo?.accountName,e.checkFront!=null,e.checkBack!=null),B(!1)},style:{width:o.sp3,height:o.sp3,color:w.heroLight}})})]})}):null,t.jsx(Ze,{children:M("0,0.[00]",e.checkDepositLocalData.amount)}),t.jsx(De,{...f,children:t.jsx("form",{id:Be(ve),onSubmit:le,children:t.jsxs(We,{children:[t.jsx($e,{showAdditionalInfoLabel:!1,label:{label:c.checkDepositDrawer.amountLabel,width:z},formattedTextField:{type:"number",name:D(g,"amount"),defaultValue:e.checkDepositLocalData.amount.amount===0?void 0:e.checkDepositLocalData.amount.amount,placeholder:c.checkDepositDrawer.amountPlaceholder,returnValueType:"floatValue",prefix:"$",allowNegative:!1,isNumericString:!1,registerOptions:{required:!0,validate:i=>!!i&&i>0},autoComplete:"off",decimalSeparator:".",decimalScale:2,fixedDecimalScale:!1,thousandSeparator:!0,allowLeadingZeros:!1},style:{width:"auto"}}),t.jsx(N,{}),t.jsx(we,{label:{label:c.checkDepositDrawer.sourceLabel,width:z},style:{width:"100%"},text:{type:"text",name:D(g,"source"),defaultValue:e.checkDepositLocalData.source,placeholder:c.checkDepositDrawer.sourcePlaceholder,options:{required:!0,validate:i=>i!=null}}}),t.jsx(N,{}),t.jsx(ae,{size:r,children:t.jsx(eo,{size:r,children:t.jsx(Ue,{label:{label:c.checkDepositDrawer.depositToLabel,width:z,style:{marginLeft:u.labeleMarginLeft.valuePx(r),marginBottom:u.labeleMarginBottom.valuePx(r),marginRight:u.labelMarginRight.valuePx(r)}},style:{paddingTop:u.labeledFieldPaddingTop.valuePx(r),paddingBottom:u.labeledFieldPaddingBottom.valuePx(r),paddingLeft:u.labeledFieldPaddingLeft.valuePx(r),paddingRight:u.labeledFieldPaddingRight.valuePx(r),border:"none",width:"100%",outline:"none",padding:0,display:r==="small"?"flex":"inherit"},infoLabelStyle:{textAlign:r==="small"?"left":"right",paddingRight:u.infoLabelPaddingRight.valuePx(r),marginTop:u.infoLabelMarginTop.valuePx(r)},singleSelectPickerField:{valueToLogo:(i,d)=>ne(i,d),valueToSubLabels:(i,d)=>de(i,d),name:D(g,"depositTo"),placeholder:c.checkDepositDrawer.depositToPlaceholder,style:{position:"relative"},defaultValue:{selectedOption:e.checkDepositLocalData.depositTo?.id,allOptions:e.depositAccounts.depositAccounts.map(i=>({label:i.accountName,value:i.id}))},textAlignment:"right",registerOptions:{required:!0,validate:i=>!!(i!=null&&i.selectedOption)}}})})}),t.jsx(N,{}),t.jsxs(He,{size:r,children:[t.jsxs(Qe,{size:r,children:[t.jsx(Ee,{children:c.checkDepositDrawer.checkPicLabel}),t.jsx(Z,{isLast:!1,children:c.checkDepositDrawer.frontSide}),t.jsx(G,{name:`${D(g,R)}.front`,registerOptions:{required:!0},file:e.checkFront,isDisabled:!1,deleteFileStatusById:e.deleteFileStatusById,updateFileStatusById:e.updateFileStatusById,filesEndPoint:x,authParams:y,acceptableTypes:["image/jpg","image/jpeg"],supportedImageFileFormat:"image/jpeg",sizeLimit:J,placeholderText:r==="small"?c.checkDepositDrawer.uploadDocument:c.checkDepositDrawer.dragDropClickPlaceholder,filemetadataPayload:{documentType:"check",purposeId:"others",documentSide:"front"},hasError:v,updateFilesEntity:j,onDeleteFile:P,onFileSizeError:i=>K(i),onEditFileName:S,openPopup:b,showPhotoPicker:!0,errorInfoLabel:c.checkDepositDrawer.frontSideError,useMobileCam:!0,compressImage:!0}),t.jsx(Z,{isLast:!0,children:c.checkDepositDrawer.backSide}),t.jsx(G,{name:`${D(g,R)}.back`,registerOptions:{required:!0},file:e.checkBack,isDisabled:!1,deleteFileStatusById:e.deleteFileStatusById,updateFileStatusById:e.updateFileStatusById,filesEndPoint:x,authParams:y,acceptableTypes:["image/jpg","image/jpeg"],supportedImageFileFormat:"image/jpeg",sizeLimit:J,placeholderText:r==="small"?c.checkDepositDrawer.uploadDocument:c.checkDepositDrawer.dragDropClickPlaceholder,filemetadataPayload:{documentType:"check",purposeId:"others",documentSide:"back"},hasError:v,updateFilesEntity:j,onDeleteFile:P,onFileSizeError:i=>K(i),onEditFileName:S,openPopup:b,showPhotoPicker:!0,errorInfoLabel:c.checkDepositDrawer.backSideError,useMobileCam:!0,compressImage:!0}),t.jsx(io,{children:c.checkDepositDrawer.picGuides.map(i=>t.jsxs(ao,{children:[t.jsx(oo,{}),t.jsx(Ne,{children:i})]},i))})]}),t.jsx(so,{windowSize:r,children:Ae.formatJPGText10MB})]})]})})})]})}const Ee=a(F)`
|
|
2
|
+
color: ${e=>e.theme.colors.hero};
|
|
3
|
+
`,Ne=a(F)`
|
|
4
|
+
color: ${e=>e.theme.colors.hero};
|
|
5
|
+
margin-left: ${o.sp3};
|
|
6
|
+
`,Me=a(q)`
|
|
7
|
+
color: ${e=>e.theme.colors.grey1};
|
|
8
|
+
display: flex;
|
|
9
|
+
align-items: center;
|
|
10
|
+
gap: ${o.sp2};
|
|
11
|
+
`,X=a.div``,Re=a.span`
|
|
12
|
+
margin-left: ${o.sp2};
|
|
13
|
+
`,Ve=a(Le)`
|
|
14
|
+
min-width: ${e=>e.isSelectedValue?o.sp4:o.sp5};
|
|
15
|
+
width: ${e=>e.isSelectedValue?o.sp4:o.sp5};
|
|
16
|
+
height: ${e=>e.isSelectedValue?o.sp4:o.sp5};
|
|
17
|
+
margin-right: ${o.sp2};
|
|
18
|
+
`,Oe=a.div`
|
|
19
|
+
margin-top: ${o.sp3};
|
|
20
|
+
display: flex;
|
|
21
|
+
background-color: ${e=>e.theme.colors.grey5};
|
|
22
|
+
justify-content: space-between;
|
|
23
|
+
padding: ${o.sp3} ${o.sp4};
|
|
24
|
+
border: ${e=>`1px solid ${e.theme.colors.grey3}`};
|
|
25
|
+
border-radius: ${o.sp2};
|
|
26
|
+
box-shadow: ${e=>`${o.sp0} 2px 2px ${e.theme.colors.dropShadowNormal}`};
|
|
27
|
+
`,qe=a.div`
|
|
28
|
+
display: flex;
|
|
29
|
+
width: 100%;
|
|
30
|
+
justify-content: space-between;
|
|
31
|
+
padding: ${o.sp3} ${o.sp4};
|
|
32
|
+
background-color: ${w.importantLight};
|
|
33
|
+
border-radius: ${o.sp2};
|
|
34
|
+
`,Ke=a.div`
|
|
35
|
+
display: flex;
|
|
36
|
+
align-items: flex-start;
|
|
37
|
+
`,Ye=a.div``,_e=a(be)`
|
|
38
|
+
width: ${o.sp4};
|
|
39
|
+
height: ${o.sp4};
|
|
40
|
+
color: ${w.important};
|
|
41
|
+
`,Ge=a.div`
|
|
42
|
+
display: flex;
|
|
43
|
+
flex-direction: column;
|
|
44
|
+
margin-left: ${o.sp2};
|
|
45
|
+
`,Je=a(ye)`
|
|
46
|
+
color: ${w.important};
|
|
47
|
+
`,Xe=a(F)`
|
|
48
|
+
color: ${w.important};
|
|
49
|
+
`,Ze=a(je)`
|
|
50
|
+
color: ${e=>e.theme.colors.primary};
|
|
51
|
+
margin: ${o.sp5} ${o.sp0} ${o.sp3} ${o.sp0};
|
|
52
|
+
`,Ue=a(Pe)`
|
|
53
|
+
border-radius: ${o.sp2};
|
|
54
|
+
border: 1px solid ${e=>e.theme.colors.grey3};
|
|
55
|
+
`,We=a.div`
|
|
56
|
+
display: flex;
|
|
57
|
+
flex-direction: column;
|
|
58
|
+
background-color: ${e=>e.theme.colors.grey5};
|
|
59
|
+
border: 1px solid ${e=>e.theme.colors.grey3};
|
|
60
|
+
box-shadow: ${e=>`${o.sp0} 2px ${o.sp1} ${e.theme.colors.dropShadowNormal}`};
|
|
61
|
+
border-radius: ${o.sp2};
|
|
62
|
+
margin-bottom: ${o.sp3};
|
|
63
|
+
`,N=a.div`
|
|
64
|
+
display: flex;
|
|
65
|
+
flex: 1;
|
|
66
|
+
background-color: ${e=>e.theme.colors.grey3};
|
|
67
|
+
min-height: 1px;
|
|
68
|
+
max-height: 1px;
|
|
69
|
+
`,ae=a.div`
|
|
70
|
+
display: flex;
|
|
71
|
+
flex-direction: "row";
|
|
72
|
+
padding: ${o.sp2};
|
|
73
|
+
padding-left: ${e=>u.rowContentPaddingLeft.valuePx(e.size)};
|
|
74
|
+
justify-content: space-between;
|
|
75
|
+
color: ${e=>e.theme.colors.hero};
|
|
76
|
+
&:hover {
|
|
77
|
+
z-index: 1;
|
|
78
|
+
outline: 1px solid ${e=>e.theme.colors.primary};
|
|
79
|
+
.select-control {
|
|
80
|
+
background-color: ${e=>e.theme.colors.background};
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
&:focus-within {
|
|
84
|
+
border-color: ${e=>e.theme.colors.primary};
|
|
85
|
+
color: ${e=>e.theme.colors.primary};
|
|
86
|
+
z-index: 2;
|
|
87
|
+
outline: 1px solid ${e=>e.theme.colors.primary};
|
|
88
|
+
}
|
|
89
|
+
:last-of-type {
|
|
90
|
+
border-bottom-left-radius: inherit;
|
|
91
|
+
border-bottom-right-radius: inherit;
|
|
92
|
+
}
|
|
93
|
+
`,He=a(ae)`
|
|
94
|
+
flex-direction: column;
|
|
95
|
+
padding: ${o.sp0};
|
|
96
|
+
`,Qe=a.div`
|
|
97
|
+
padding: ${e=>`${o.sp3} ${u.checkPicRowContentPaddingXAxis.valuePx(e.size)}`};
|
|
98
|
+
`,eo=a.div`
|
|
99
|
+
width: 100%;
|
|
100
|
+
display: flex;
|
|
101
|
+
flex-grow: ${e=>e.size==="small"?1:0};
|
|
102
|
+
align-items: flex-start;
|
|
103
|
+
`,Z=a(q)`
|
|
104
|
+
color: ${e=>e.theme.colors.hero};
|
|
105
|
+
margin-bottom: ${o.sp2};
|
|
106
|
+
margin-top: ${e=>e.isLast?o.sp3:o.sp0};
|
|
107
|
+
`,oo=a.div`
|
|
108
|
+
background-color: ${e=>e.theme.colors.hero};
|
|
109
|
+
border-radius: 50%;
|
|
110
|
+
border-style: solid;
|
|
111
|
+
width: 2px;
|
|
112
|
+
height: 2px;
|
|
113
|
+
position: absolute;
|
|
114
|
+
top: 10px;
|
|
115
|
+
`,to=a.div`
|
|
116
|
+
width: ${o.sp1};
|
|
117
|
+
height: ${o.sp1};
|
|
118
|
+
min-width: ${o.sp1};
|
|
119
|
+
background-color: ${e=>e.theme.colors.grey1};
|
|
120
|
+
border-radius: 50%;
|
|
121
|
+
`,io=a.div`
|
|
122
|
+
display: flex;
|
|
123
|
+
flex-direction: column;
|
|
124
|
+
margin: ${o.sp3} ${o.sp0};
|
|
125
|
+
margin-bottom: ${o.sp0};
|
|
126
|
+
`,ao=a.div`
|
|
127
|
+
display: flex;
|
|
128
|
+
flex-direction: row;
|
|
129
|
+
position: relative;
|
|
130
|
+
`,so=a(q)`
|
|
131
|
+
margin-top: ${o.sp2};
|
|
132
|
+
padding: ${o.sp1} ${o.sp4};
|
|
133
|
+
background: ${e=>e.theme.colors.grey4};
|
|
134
|
+
border-radius: ${o.sp0} ${o.sp0} ${o.sp2} ${o.sp2};
|
|
135
|
+
width: 100%;
|
|
136
|
+
box-sizing: border-box;
|
|
137
|
+
text-align: ${e=>e.windowSize==="small"?"initial":"right"};
|
|
138
|
+
color: ${e=>e.theme.colors.grey1};
|
|
139
|
+
`,ro=a(oe)`
|
|
140
|
+
cursor: pointer;
|
|
141
|
+
color: ${e=>e.theme.colors.hero};
|
|
142
|
+
width: ${o.sp4};
|
|
143
|
+
height: ${o.sp4};
|
|
144
|
+
min-height: ${o.sp4};
|
|
145
|
+
&:hover {
|
|
146
|
+
color: ${e=>e.theme.colors.primary};
|
|
147
|
+
}
|
|
148
|
+
`,co="checkDepositDetailPage",lo={NavBarContainerPaddingYAxis:new l(10,s[3])},no=e=>`${e}_form`,O={containerPaddingLeft:new l(s[3],s[6],s[8]),containerPaddingRight:new l(s[3],s[6],s[8]),successContentMargin:new l(s[3],s[12])},{spendManagement:po}=ee.getLocalizedStrings(),m=po.zeniAccounts.zeniAccountList,Co=({checkDeposit:e,analytics:p,filesEndPoint:x,authParams:b,onSaveChangesToLocalStore:y,onAnotherTransferClick:C,updateFilesEntity:j,onDeleteFile:P,onEditFileName:S,onCheckDpositClick:T,onDismissClick:r})=>{const n=Q(),[L,v]=k.useState(!1);return t.jsx(go,{windowSize:n,children:e.fetchState==="Completed"?t.jsxs(U,{windowSize:n,children:[t.jsx(W,{windowSize:n,children:t.jsx(H,{"data-testid":$("check-deposit-drawer-close"),onClick:()=>{p.trackAccountsDepositCheckFormClicked("Cross",e.checkDepositLocalData.amount.amount,e.checkDepositLocalData.source,e.checkDepositLocalData.depositTo?.accountName,e.checkFront!=null,e.checkBack!=null),r?.()}})}),t.jsxs(ko,{windowSize:n,children:[t.jsx(pe,{width:150,height:150,shouldDisplay:!0,animationInLoop:!0}),t.jsxs(xo,{children:[m.checkDepositDrawer.transferSuccessMsgPrefix,t.jsx(mo,{children:M("0,0.[00]",e.checkDepositLocalData.amount)}),m.checkDepositDrawer.transferSuccessMsgSuffix]}),t.jsxs(fo,{children:[t.jsx(_,{variant:"secondary",label:m.checkDepositDrawer.makeAnotherTransferBtn,onClick:C,"data-testid":$("check-deposit-drawer-another-transfer")}),t.jsx(_,{variant:"primary",label:m.checkDepositDrawer.goToAccountBtn,onClick:r,style:{marginLeft:n==="small"?o.sp3:o.sp5},"data-testid":$("check-deposit-drawer-go-to-account")})]})]})]}):t.jsxs(t.Fragment,{children:[t.jsxs(U,{windowSize:n,children:[t.jsx(W,{windowSize:n,children:t.jsx(H,{"data-testid":$("check-deposit-drawer-close"),onClick:()=>{p.trackAccountsDepositCheckFormClicked("Cross",e.checkDepositLocalData.amount.amount,e.checkDepositLocalData.source,e.checkDepositLocalData.depositTo?.accountName,e.checkFront!=null,e.checkBack!=null),r?.()}})}),n==="small"?t.jsx(Do,{windowSize:n,children:m.checkDepositDrawer.title}):t.jsx($o,{children:m.checkDepositDrawer.title}),n==="small"?t.jsx(uo,{children:m.checkDepositDrawer.subTitle}):t.jsx(ho,{children:m.checkDepositDrawer.subTitle}),t.jsx(Ie,{analytics:p,authParams:b,checkDeposit:e,filesEndPoint:x,onSaveChangesToLocalStore:y,openPopup:v,onCheckDpositClick:T,onDeleteFile:P,onEditFileName:S,updateFilesEntity:j})]}),t.jsx(he,{formId:no(co),helperText:m.checkDepositDrawer.footNote,helperStyle:{paddingTop:o.sp0,paddingBottom:o.sp0},style:{zIndex:L?0:4,paddingTop:o.sp3,paddingBottom:o.sp3},primaryBtn:{label:m.checkDepositDrawer.depositBtn,isLoading:e.fetchState==="In-Progress"},cancelBtn:{label:m.checkDepositDrawer.cancelBtn,onClick:()=>{p.trackAccountsDepositCheckFormClicked("Cancel",e.checkDepositLocalData.amount.amount,e.checkDepositLocalData.source,e.checkDepositLocalData.depositTo?.accountName,e.checkFront!=null,e.checkBack!=null),r?.()}}})]})})},ho=a(F)`
|
|
149
|
+
color: ${e=>e.theme.colors.hero};
|
|
150
|
+
`,uo=a(ge)`
|
|
151
|
+
color: ${e=>e.theme.colors.hero};
|
|
152
|
+
`,mo=a(me)`
|
|
153
|
+
display: inline;
|
|
154
|
+
`,go=a.div`
|
|
155
|
+
display: flex;
|
|
156
|
+
flex-direction: column;
|
|
157
|
+
background-color: ${e=>e.theme.colors.grey4};
|
|
158
|
+
overflow-x: hidden;
|
|
159
|
+
height: 100%;
|
|
160
|
+
width: 100%;
|
|
161
|
+
`,xo=a(ue)`
|
|
162
|
+
color: ${e=>e.theme.colors.primary};
|
|
163
|
+
text-align: center;
|
|
164
|
+
`,U=a.div`
|
|
165
|
+
height: ${e=>e.windowSize==="small"?"auto":"100%"};
|
|
166
|
+
padding-left: ${e=>`${O.containerPaddingLeft.valuePx(e.windowSize)}`};
|
|
167
|
+
padding-right: ${e=>`${O.containerPaddingRight.valuePx(e.windowSize)}`};
|
|
168
|
+
`,fo=a.div`
|
|
169
|
+
display: flex;
|
|
170
|
+
justify-content: center;
|
|
171
|
+
margin-top: ${o.sp7};
|
|
172
|
+
`,ko=a.div`
|
|
173
|
+
height: 80%;
|
|
174
|
+
display: flex;
|
|
175
|
+
flex-direction: column;
|
|
176
|
+
justify-content: center;
|
|
177
|
+
margin: ${e=>`${o.sp0} ${O.successContentMargin.valuePx(e.windowSize)} `};
|
|
178
|
+
align-items: center;
|
|
179
|
+
`,W=a.div`
|
|
180
|
+
display: flex;
|
|
181
|
+
flex-direction: row-reverse;
|
|
182
|
+
justify-content: space-between;
|
|
183
|
+
align-items: center;
|
|
184
|
+
width: 100%;
|
|
185
|
+
top: ${o.sp0};
|
|
186
|
+
padding: ${e=>`${lo.NavBarContainerPaddingYAxis.valuePx(e.windowSize)} ${o.sp0}`};
|
|
187
|
+
z-index: 2;
|
|
188
|
+
background-color: ${e=>e.theme.colors.grey4};
|
|
189
|
+
`,H=a(oe)`
|
|
190
|
+
cursor: pointer;
|
|
191
|
+
color: ${e=>e.theme.colors.hero};
|
|
192
|
+
width: ${o.sp4};
|
|
193
|
+
height: ${o.sp4};
|
|
194
|
+
min-height: ${o.sp4};
|
|
195
|
+
&:hover {
|
|
196
|
+
color: ${e=>e.theme.colors.primary};
|
|
197
|
+
}
|
|
198
|
+
`,Do=a(te)`
|
|
199
|
+
color: ${e=>e.theme.colors.primary};
|
|
200
|
+
margin-top: ${o.sp3};
|
|
201
|
+
margin-bottom: ${o.sp0};
|
|
202
|
+
margin-right: ${o.sp3};
|
|
203
|
+
`,$o=a(te)`
|
|
204
|
+
color: ${e=>e.theme.colors.primary};
|
|
205
|
+
margin-top: ${o.sp3};
|
|
206
|
+
`;export{Co as default,no as uniqueFormName};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{j as t,
|
|
1
|
+
import{j as t,ai as an,Y as m,bd as fe,_ as U,df as ln,o as s,g as ee,a1 as lo,X as N,H as co,z as cn,dg as so,dh as sn,l as A,M as O,p as w,di as zo,dj as Lt,a7 as _,dk as At,by as Bt,dl as Ot,C as D,cr as Mt,t as Po,T as qe,dm as To,bf as Q,d as dn,u as se,ae as Vo,dn as Do,a8 as V,r as Le,dp as hn,dq as ce,bx as Wt,bB as ho,w as un,f as we,dr as Je,ds as Ae,dt as Qe,q as S,bF as ie,du as pn,v as Nt,dv as Ve,dw as uo,dx as po,dy as gn,dz as fn,an as Ro,ak as xn,bX as It,bW as Ft,c_ as mn,al as Go,b_ as Eo,bl as wn,dA as yn,dB as go,dC as fo,dD as bn,dE as kn,bs as Cn,b4 as jn,dF as Sn}from"./index-LFy5NlUr.js";import{n as a,b as I,f as vn,j as F}from"./vendor-CnQcJ2Lu.js";import{L as et,N as $n,D as _n,B as ye,u as $}from"./AccountRow-cQU8OX0K-yHyqR7LP.js";function Z(e,o){if(e!=null)switch(e.type){case"this_period_vs_last_period_percent":case"this_period_vs_same_period_last_year_percent":return fe("0.00%",e.percentValue);case"default_with_null_balance":return"-"}return U("0,0",e?.balance)}function J(e){return U("0,0",e?.forecast)}function Ho(e){if(e!=null)switch(e.type){case"this_period_vs_last_period_percent":case"this_period_vs_same_period_last_year_percent":return fe("0.00%",e.totalPercentValue)}return U("0,0",e?.totalBalance)}function xt(e){if(e!=null)switch(e.type){case"this_period_vs_last_period_percent":case"this_period_vs_same_period_last_year_percent":return fe("0.00%",e.forecastPercentValue)}return U("0,0",e?.totalForecast)}function de(e){if(e!=null&&e.forecast!=null&&e.forecast.amount!==0){const o=(e.balance.amount-e.forecast.amount)/e.forecast.amount;return fe("0.00%",Math.floor(o*100)/100)}else return fe("0.00%",void 0)}function he(e){if(e!=null&&e.forecast!=null){const o=Math.floor((e.balance.amount-e.forecast.amount)*100/100);return U("0,0",Object.assign({},e.forecast,{amount:o}))}else return U("0,0",null)}function Ko(e){if(e!=null&&e.totalForecast!=null&&e.totalBalance!=null&&e.totalForecast.amount!==0){const o=(e.totalBalance.amount-e.totalForecast.amount)/e.totalForecast.amount;return fe("0.00%",Math.floor(o*100)/100)}else return fe("0.00%",void 0)}function Yo(e){if(e!=null&&e.totalForecast!=null&&e.totalBalance!=null){const o=Math.floor((e.totalBalance.amount-e.totalForecast.amount)*100/100);return U("0,0",Object.assign({},e.totalForecast,{amount:o}))}else return U("0,0",null)}const We=(e,o,i)=>{const{startDate:n,balanceType:r}=o,{dateFormat:{visual:l}}=O.getLocalizedStrings();switch(i){case"month":return r==="default"||r==="default_with_percent"?`${A.formatZeniDate(n,l.MMMYYYYFormat,e)}`:ht(r,i);case"quarter":return r==="default"||r==="default_with_percent"?`${O.getLocalizedStrings().reports.quarterPrefix}${A.formatZeniDate(n,l.QYYYYformat,e)}`:ht(r,i);case"year":return r==="default"||r==="default_with_percent"?`${A.formatZeniDate(n,l.YYYYformat,e)}`:ht(r,i);case"free_range":case"week":throw new Error("free_range/weeks dates are not supported!")}};function ht(e,o){return O.getLocalizedStrings().downloadReport.additionalColumns.labels[o][e]}const Mp=(e,o,i)=>{const n=o.length==0?e:`${e}_${o.join("_")}`;return i!=null&&i.trim().length>0?`${n}_${i}`:`${n}_${ln(10)}`},Ln=a.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex: 1 1 auto;
|
|
4
4
|
width: 100%;
|
|
@@ -221,7 +221,7 @@ import{j as t,ao as an,Y as m,bf as fe,_ as U,dh as ln,o as s,g as ee,a5 as lo,X
|
|
|
221
221
|
color: ${e=>e.textColor.hex()};
|
|
222
222
|
background-color: ${e=>e.bgColor.hex()};
|
|
223
223
|
min-width: ${$.variancePercentageWidth}px;
|
|
224
|
-
`,{expenseAutomation:{accountRecon:{reconciliation:{headers:xo}}},common:{strings:{percentage:wr,hyphen:Xe}}}=O.getLocalizedStrings();function yr({height:e,sectionData:o}){const i=N(),n=o.totalVariance,r=o.totalVariancePercentage,l=se();return t.jsx(rr,{"data-testid":m("total-row-root-container"),heightValue:e,windowSize:i,children:t.jsxs(ar,{isClickable:!1,"data-testid":m("total-row-container"),children:[t.jsxs(lr,{children:[t.jsx(ye,{firstLetter:xo.section[o.sectionId].subTitle.charAt(0),color:new _(l.colors.primary),showIcon:!1,showCollapsedIcon:!1}),t.jsx(cr,{children:xo.section[o.sectionId].subTitle})]}),t.jsxs(sr,{children:[t.jsx(dr,{children:o.totalBankBalance!=null?U("0,0",o.totalBankBalance):Xe}),t.jsx(hr,{children:o.totalClearedBalance!=null?U("0,0",o.totalClearedBalance):Xe}),t.jsx(br,{variance:n,variancePercentage:r}),t.jsx(pr,{children:t.jsx(gr,{heightValue:e})}),t.jsx(ur,{})]})]})})}const br=({variance:e,variancePercentage:o})=>{const i=se(),n=new _(i.colors.hero),r=new _(i.colors.hero),l=new _(i.colors.background),c=o!=null
|
|
224
|
+
`,{expenseAutomation:{accountRecon:{reconciliation:{headers:xo}}},common:{strings:{percentage:wr,hyphen:Xe}}}=O.getLocalizedStrings();function yr({height:e,sectionData:o}){const i=N(),n=o.totalVariance,r=o.totalVariancePercentage,l=se();return t.jsx(rr,{"data-testid":m("total-row-root-container"),heightValue:e,windowSize:i,children:t.jsxs(ar,{isClickable:!1,"data-testid":m("total-row-container"),children:[t.jsxs(lr,{children:[t.jsx(ye,{firstLetter:xo.section[o.sectionId].subTitle.charAt(0),color:new _(l.colors.primary),showIcon:!1,showCollapsedIcon:!1}),t.jsx(cr,{children:xo.section[o.sectionId].subTitle})]}),t.jsxs(sr,{children:[t.jsx(dr,{children:o.totalBankBalance!=null?U("0,0",o.totalBankBalance):Xe}),t.jsx(hr,{children:o.totalClearedBalance!=null?U("0,0",o.totalClearedBalance):Xe}),t.jsx(br,{variance:n,variancePercentage:r}),t.jsx(pr,{children:t.jsx(gr,{heightValue:e})}),t.jsx(ur,{})]})]})})}const br=({variance:e,variancePercentage:o})=>{const i=se(),n=new _(i.colors.hero),r=new _(i.colors.hero),l=new _(i.colors.background),c=e!=null&&e.amount===0?"0%":o!=null?o===0?"0%":`${o.toFixed(2)}${wr}`:Xe;return t.jsxs(fr,{children:[t.jsx(xr,{textColor:n,children:e!=null?U("0,0",e):Xe}),t.jsx(mr,{textColor:r,bgColor:l,children:c})]})};function kr(){return t.jsx(Dn,{height:et("section")})}function Cr(){return t.jsx(Tn,{height:et("loading_in_progress")})}function jr(e,o){if(e.element.kind!=="timeframe_headers")return null;const i=O.getLocalizedStrings().expenseAutomation.accountRecon.reconciliation.headers,n=e.element.data,r=n.accountIDs.length===0;return t.jsx(tr,{sectionTitle:i.section[n.sectionId].title,isLoading:r,isSticky:o,height:et("timeframe_headers")})}const Sr=(e,o,i)=>{const n=e.element.data;return t.jsx(yr,{isSticky:i,height:o,sectionData:n})},vr=(e,o)=>{const i=e.element.data,n=O.getLocalizedStrings().expenseAutomation.accountRecon.reconciliation.headers;return t.jsx(nr,{height:o,title:n.section[i.sectionId].title})},$r=(e,o,i)=>{const n=e.element.data,r=e.config.accountReconciliationConfig?.selectedDrawerAccountId!=null?n.accountReconEntity.account.accountId===e.config.accountReconciliationConfig?.selectedDrawerAccountId:!1;return t.jsx(_n,{height:o,accountRecon:n,isLastRow:i,isSelectedRow:r,onReviewClicked:e.config.accountReconciliationConfig?.onReviewClicked,onConnectClicked:e.config.accountReconciliationConfig?.onConnectClicked,onReconnectClicked:e.config.accountReconciliationConfig?.onReconnectClicked,onOpenDrawerClicked:e.config.accountReconciliationConfig?.onOpenDrawerClicked,onStatementAddClicked:e.config.accountReconciliationConfig?.onStatementAddClicked})},C={balanceHeight:s.sp4,balanceWidth:"166px",balanceWidthInPx:166,balanceLeftMargin:s.sp4,balanceLeftMarginInPx:w[4],titleWidth:new D(200,325,405)};function _r(e){switch(e){case"section":return w[8];case"section_with_ac_only":return w[8];case"calculated_section":case"calculated_section_type1":return w[8];case"ac_group_report":case"ac_group_subaccount":return w[6];case"ac_subentity_total":case"ac_subaccount":case"ac_report":return w[6];case"title_string_only":case"total":return w[6];case"timeframe_headers":return w[11];case"timeframe_headers_with_forecast":return 98;case"class":case"checkbox_and_name_only":return w[6];default:return 0}}function Lr(e,o,i=0){const n=["summary"];switch(e){case"section":return!n.includes(o);case"section_with_ac_only":return!n.includes(o);case"calculated_section":case"calculated_section_type1":return!1;case"ac_group_report":return!1;case"ac_group_subaccount":return!(n.includes(o)||o==="detailed"&&i>0);case"ac_report":return!1;case"ac_subaccount":case"ac_subentity_total":return!(n.includes(o)||o==="detailed"&&i>0);case"title_string_only":return!n.includes(o);case"total":return!1;case"timeframe_headers":case"timeframe_headers_with_forecast":return!1;case"class":return!(o==="detailed"&&i>0);case"checkbox_and_name_only":return!0;default:return!1}}const ge=e=>{switch(e){case"name+balances_actual":case"name+balances_forecast":return!0;case"name_only":return!0}},xe=e=>{switch(e){case"name+balances_actual":case"name+balances_forecast":return!0;case"name_only":return!1}},Uo={emptyLeftContainer:new D(w[0],w[5])},Ar=a(S)`
|
|
225
225
|
margin-left: ${e=>!e.hasChildren&&e.depth!==0?s.sp3:s.sp2};
|
|
226
226
|
overflow: hidden;
|
|
227
227
|
white-space: nowrap;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import{X as ze,u as Re,
|
|
1
|
+
import{X as ze,u as Re,cf as yl,M as ue,C,a1 as gl,j as l,bs as Be,eZ as qe,bN as De,ft as Ce,o as a,fC as bl,ce as We,c5 as ee,c7 as ce,cb as Me,l as Le,cx as xl,cv as wl,c9 as Ue,c8 as Fe,fD as Ve,fE as jl,fb as vl,fa as ke,cc as ge,cd as Il,g as Ne,e_ as He,Q as Ge,b4 as Qe,eY as Xe,q as Pe,fs as Je,v as ye,m as $l,b1 as Sl,p as ae,df as Ol,fF as Ll,f as Fl,fG as _l,b2 as be,w as Dl,cp as Cl,b0 as Nl,a$ as Pl}from"./index-LFy5NlUr.js";import{b as M,n as t}from"./vendor-CnQcJ2Lu.js";import{C as _e}from"./LabeledAddressValueField-CMIVYcKX-IiR7eG-s.js";import{I as El}from"./LabeledCreatableSingleSelectField-CrDFWvwI-C1AD80Rw.js";import{Y as $e}from"./LabeledDocumentField-BG6Pu34Y-Dl5pM6Dq.js";import{P as Ze}from"./DocumentSecurityBanner-Ctdvj5Tn-CM5WmW33.js";const Ke=({text:e})=>l.jsx(Vl,{children:l.jsx(Tl,{children:e})}),Tl=t(_l)`
|
|
2
2
|
display: flex;
|
|
3
3
|
align-items: center;
|
|
4
4
|
color: ${e=>e.theme.colors.hero};
|
|
5
5
|
padding-right: ${a.sp2};
|
|
6
|
-
`,
|
|
6
|
+
`,Vl=t.div`
|
|
7
7
|
display: flex;
|
|
8
8
|
align-items: flex-end;
|
|
9
9
|
margin-left: ${a.sp2};
|
|
10
10
|
margin-top: ${a.sp1};
|
|
11
|
-
`,le={labelWidth:new N(115,145,155),mediumLabelWidth:new N(140,160,170),largeLabelWidth:new N(150,210,244),largeLabelDocumentWidth:new N(150,210,252),paddingBottom:new N(ae[3],ae[2]),containerRowGap:new N(12,ae[3])},kl={title:new Ge("standardMedium","largeMedium")},Al=ue.getLocalizedStrings(),{dateFormat:{visual:zl},commonSetUp:Rl,companyPassport:ql,common:{documents:Se,optional:Bl}}=Al,o=Rl.businessVerification,Wl=o.sourceOfFundOptions,Ml=M.forwardRef(({fileProps:e,productType:p,allIndustries:u,companyDetails:m,connectedAccountProvider:P,businessVerificationProps:g,isDisabled:n,style:U,sectionId:h,showInfoTooltip:oe=!0,isCompleted:te=!1,showCompletedIcon:ie=!1,showTreasuryFields:H=!1,sectionHeader:G,optionalFields:s=[],onCompanyAddressClick:Q,onRegisteredAddressClick:V},re)=>{const f=ze(),F=le.labelWidth.value(f),_=le.mediumLabelWidth.value(f),b=le.largeLabelWidth.value(f),z=le.largeLabelDocumentWidth.value(f),y=o.productType[p],X=m?.companyFiles.find(d=>d.documentType==="certificate_of_incorporation"),Y=m?.companyFiles.find(d=>d.documentType==="tax_ein"),c=m?.companyFiles.find(d=>d.documentType==="company_formation_document"),j=m?.companyDescription,R=m?.companyLegalName,se=m?.website,B=m?.typeOfIncorporation,J=m?.incDate,L=m?.companyIndustry,me=m?.phone,K=m?.taxIdOrEIN,Z=m?.primaryContactLocalData,q=m?.deleteFileStatusById??{},ne=m?.updateFileStatusById??{},xe=m?.addressStatus?.addressToCreate,W=m?.registeredAddressStatus?.addressToCreate,[C,x]=M.useState(!1),[S,T]=M.useState(!1),D=d=>u.find(je=>je.code===d)?.name??d,we=d=>Wl[d]??d;return l.jsxs(Ul,{style:U,ref:re,windowSize:f,children:[l.jsx(Hl,{children:l.jsxs(ea,{children:[l.jsxs(Ql,{children:[ie===!0?l.jsx(Xl,{children:te?l.jsx(Yl,{}):l.jsx(Jl,{})}):null,l.jsx(Gl,{windowSize:f,children:G??o.confirmCompanyDetails})]}),oe?l.jsx(Kl,{children:l.jsx(qe,{variant:"small-description",display:"flex",maxWidth:"280px",data:o.confirmCompanyDetailsTooltip,placement:f==="small"||p==="onboarding"?"bottom":"right",children:l.jsx(Zl,{})})}):null,p==="onboarding"&&G!=null?l.jsx(Ke,{text:Bl}):null,g?.companyVerificationStatus!=null?l.jsx(aa,{tagTitle:g.companyVerificationStatus.name,textColor:Be(g.companyVerificationStatus.code),showLoader:g?.isRefreshingViewInBackground}):null]})}),l.jsxs(la,{children:[l.jsx(Je,{}),l.jsx(ee,{isDisabled:n,showAdditionalInfoLabel:!1,label:{label:o.companyLegalNameLabel,width:b},text:{type:"text",name:v(h,"companyLegalName"),placeholder:o.companyLegalNamePlaceholder,defaultValue:R,options:{required:n==null&&s.includes("companyLegalName")===!1}},additionalInfoLabel:o.companyLegalNameError.replace("_product_type_",y)}),l.jsx(I,{}),l.jsx(ee,{isDisabled:n,showAdditionalInfoLabel:!1,label:{label:o.companyDescriptionLabel,width:_},text:{type:"text",name:v(h,"companyDescription"),placeholder:o.addProductPlaceholder,defaultValue:j,options:{required:n==null&&s.includes("companyDescription")===!1}},additionalInfoLabel:o.companyDescriptionError.replace("_product_type_",y)}),l.jsx(I,{}),l.jsx(_e,{isDisabled:n,label:{label:o.companyAddressLabel,width:_},addressValueField:{name:v(h,"companyAddress"),placeholder:o.companyAddressPlaceholder,defaultValue:xe,registerOptions:{validate:d=>s.includes("companyAddress")===!1?!(n==null&&d==null):!0},onClick:()=>{Q?.("company_address")}},additionalInfoLabel:o.companyAddressError.replace("_product_type_",y),showAdditionalInfoLabel:!1}),l.jsx(I,{}),l.jsx(_e,{isDisabled:n,label:{label:o.registeredAddressLabel,width:_},addressValueField:{name:v(h,"registeredAddress"),placeholder:o.registeredAddressPlaceholder,defaultValue:W,registerOptions:{validate:d=>s.includes("registeredAddress")===!1?!(n==null&&d==null):!0},onClick:()=>{V?.("company_registered_address")}},additionalInfoLabel:o.registeredAddressError.replace("_product_type_",y),showAdditionalInfoLabel:!1}),l.jsx(I,{}),l.jsx(ee,{isDisabled:n,showAdditionalInfoLabel:!1,label:{label:o.companyWebsiteLabel,width:F},text:{type:"url",name:v(h,"companyWebsite"),placeholder:o.companyWebsitePlaceholder,defaultValue:se?.toString()??"",options:{required:n==null&&s.includes("companyWebsite")===!1}},additionalInfoLabel:o.companyWebsiteError.replace("_product_type_",y)}),l.jsx(I,{}),l.jsx(Fe,{label:{label:o.companyIndustryLabel,width:F},singleSelectField:{singleSelect:{name:v(h,"companyIndustry"),placeholder:o.companyIndustryPlaceholder,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:D,isDisabled:n,showTickMark:!1},defaultValue:{selectedOption:L,allOptions:u?.map(d=>d.code)??[]},registerOptions:{required:n==null&&s.includes("companyIndustry")===!1,validate:d=>s.includes("companyIndustry")===!1?!(n==null&&!d?.selectedOption):!0}},isFunctional:!0,errorInfoLabel:o.companyIndustryError.replace("_product_type_",y)}),l.jsx(I,{}),l.jsx(El,{label:{label:o.companyTypeOfIncorporationLabel,width:b},isDisabled:n,creatableSingleSelectField:{name:v(h,"typeOfIncorporation"),placeholder:o.companyTypeOfIncorporationPlaceholder,defaultValue:{selectedOption:B,allOptions:ql.companyIncInfo.allTypesOfIncorporation},registerOptions:{required:n==null&&s.includes("typeOfIncorporation")===!1&&P==="unit",validate:d=>s.includes("typeOfIncorporation")===!1?!(n==null&&!d?.selectedOption):!0}},errorInfoLabel:o.companyTypeOfIncorporationError.replace("_product_type_",y)}),l.jsx(I,{}),l.jsx(Me,{isDisabled:n,label:{label:o.companyIncDateLabel,width:b},style:{paddingBottom:le.paddingBottom.valuePx(f)},dateField:{name:v(h,"incDate"),placeholder:o.companyIncDatePlaceholder,defaultValue:J,dateFormat:zl.defaultInput,maxDate:Le.dateNow(),minDate:Le.zeniDate("01 Jan 1900"),autoComplete:"off",registerOptions:{required:n==null&&s.includes("incDate")===!1}},additionalInfoLabel:o.companyIncDateError.replace("_product_type_",y)}),l.jsx(I,{}),l.jsx(Ue,{isDisabled:n,label:{label:o.companyPhoneLabel,width:F},text:{name:v(h,"companyPhone"),placeholder:ce(o.companyPhoneLabel),defaultValue:me,autoComplete:"new-password",options:{required:n==null&&s.includes("companyPhone")===!1}},errorInfoLabel:o.companyPhoneError.replace("_product_type_",y)}),l.jsx(I,{}),l.jsx(We,{isDisabled:n,label:{label:o.companyPrimaryContactNameLabel,width:b},nameField:{name:v(h,"primaryContactName"),placeHolder:{firstName:o.firstNamePlaceholder,lastName:o.lastNamePlaceholder,name:o.namePlaceholder},defaultValue:{firstName:Z?.firstName??"",lastName:Z?.lastName??""},registerOptions:{required:n==null&&s.includes("primaryContactName")===!1,validate:d=>!!d||n!=null||s.includes("primaryContactName")},showFullNameError:!0},errorInfoLabel:o.companyPrimaryContactNameError.replace("_product_type_",y)}),l.jsx(I,{}),l.jsx(ee,{isDisabled:n,showAdditionalInfoLabel:!1,label:{label:o.companyPrimaryContactEmailLabel,width:b},text:{type:"email",name:v(h,"primaryContactEmail"),placeholder:o.companyPrimaryContactEmailPlaceholder,defaultValue:Z?.email,options:{required:n==null&&s.includes("primaryContactEmail")===!1}},additionalInfoLabel:o.companyPrimaryContactEmailError.replace("_product_type_",y)}),l.jsx(I,{}),l.jsx(ee,{isDisabled:n,showAdditionalInfoLabel:!1,label:{label:o.companyTaxIdLabel,width:F},text:{type:"text",name:v(h,"companyTaxId"),placeholder:o.companyTaxIdPlaceholder,defaultValue:K,options:{required:n==null&&s.includes("companyTaxId")===!1,pattern:Il},autoComplete:"new-password"},additionalInfoLabel:o.companyTaxIdError.replace("_product_type_",y)}),l.jsx(I,{}),l.jsx($e,{name:v(h,"certificateOfIncorporation"),isDisabled:n,sizeLimit:ge,deleteFileStatusById:q,updateFileStatusById:ne,filesEndPoint:e.filesEndPoint,authParams:e.authParams,label:{label:o.certificateOfIncorporation,width:z},filemetadataPayload:{documentType:"certificate_of_incorporation",purposeId:"business_verification",documentSide:"front"},file:X,acceptableTypes:["image/jpg","image/jpeg","image/png","application/pdf","image/heic","image/heif"],registerOptions:{required:n==null&&s.includes("certificateOfIncorporation")===!1&&P==="unit"},additionalInfoLabel:o.certOfIncopDocumentError.replace("_product_type_",y),hasError:C,updateFilesEntity:e.updateFilesEntity,onEditFileName:e.onEditFileName,onDeleteFile:e.onDeleteFile,onFileSizeError:d=>x(d)}),C||!(n!=null||X!=null)?l.jsx(Oe,{windowSize:f,isError:C,children:Se.formatDocumentText10MB}):null,l.jsx(I,{}),l.jsx($e,{name:v(h,"ein"),isDisabled:n,sizeLimit:ge,deleteFileStatusById:q,updateFileStatusById:ne,filesEndPoint:e.filesEndPoint,authParams:e.authParams,label:{label:o.einDocument,width:z},filemetadataPayload:{documentType:"tax_ein",purposeId:"business_verification",documentSide:"front"},file:Y,acceptableTypes:["image/jpg","image/jpeg","image/png","application/pdf","image/heic","image/heif"],registerOptions:{required:n==null&&s.includes("ein")===!1},additionalInfoLabel:o.einDocumentError.replace("_product_type_",y),hasError:S,updateFilesEntity:e.updateFilesEntity,onEditFileName:e.onEditFileName,onDeleteFile:e.onDeleteFile,onFileSizeError:d=>T(d)}),S||!(n!=null||Y!=null)?l.jsx(Oe,{windowSize:f,isError:S,children:Se.formatDocumentText10MB}):null,l.jsx(I,{}),H===!0?l.jsxs(l.Fragment,{children:[l.jsx(Fe,{label:{label:o.sourceOfFundsLabel,width:F},singleSelectField:{singleSelect:{name:v(h,"sourceOfFunds"),placeholder:o.sourceOfFundsPlaceholder,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:we,isDisabled:n,showTickMark:!1,menuPlacement:"top",sortOptions:!1},defaultValue:{selectedOption:m?.sourceOfFunds,allOptions:Object.keys(o.sourceOfFundOptions)},registerOptions:{required:n==null&&s.includes("sourceOfFunds")===!1,validate:d=>s.includes("sourceOfFunds")===!1?!(n==null&&!d?.selectedOption):!0}},isFunctional:!0,errorInfoLabel:o.sourceOfFundsError.replace("_product_type_",y)}),l.jsx(I,{}),l.jsx($e,{name:v(h,"formationDocument"),isDisabled:n,sizeLimit:ge,deleteFileStatusById:q,updateFileStatusById:ne,filesEndPoint:e.filesEndPoint,authParams:e.authParams,label:{label:o.formationDocumentLabel,width:z},filemetadataPayload:{documentType:"company_formation_document",purposeId:"business_verification",documentSide:"front"},file:c,acceptableTypes:["image/jpg","image/jpeg","image/png","application/pdf","image/heic","image/heif"],registerOptions:{required:n==null&&s.includes("formationDocument")===!1},additionalInfoLabel:o.formationDocumentError.replace("_product_type_",y),hasError:S,updateFilesEntity:e.updateFilesEntity,onEditFileName:e.onEditFileName,onDeleteFile:e.onDeleteFile,onFileSizeError:d=>T(d)}),S||!(n!=null||c!=null)?l.jsx(Oe,{windowSize:f,isError:S,children:Se.formatDocumentText10MB}):null]}):null]})]})});Ml.displayName="Company Details Section";const v=(e,p)=>`${e}.${p}`,Ul=t.div`
|
|
11
|
+
`,le={labelWidth:new C(115,145,155),mediumLabelWidth:new C(140,160,170),largeLabelWidth:new C(150,210,244),largeLabelDocumentWidth:new C(150,210,252),paddingBottom:new C(ae[3],ae[2]),containerRowGap:new C(12,ae[3])},kl={title:new Ge("standardMedium","largeMedium")},Al=ue.getLocalizedStrings(),{dateFormat:{visual:zl},commonSetUp:Rl,companyPassport:Bl,common:{documents:Se,optional:ql}}=Al,o=Rl.businessVerification,Wl=o.sourceOfFundOptions,Ml=M.forwardRef(({fileProps:e,productType:p,allIndustries:u,companyDetails:m,connectedAccountProvider:N,businessVerificationProps:g,isDisabled:n,style:U,sectionId:h,showInfoTooltip:oe=!0,isCompleted:te=!1,showCompletedIcon:ie=!1,showTreasuryFields:H=!1,sectionHeader:G,optionalFields:s=[],onCompanyAddressClick:Q,onRegisteredAddressClick:T},re)=>{const f=ze(),F=le.labelWidth.value(f),_=le.mediumLabelWidth.value(f),b=le.largeLabelWidth.value(f),z=le.largeLabelDocumentWidth.value(f),y=o.productType[p],X=m?.companyFiles.find(d=>d.documentType==="certificate_of_incorporation"),J=m?.companyFiles.find(d=>d.documentType==="tax_ein"),c=m?.companyFiles.find(d=>d.documentType==="company_formation_document"),j=m?.companyDescription,R=m?.companyLegalName,se=m?.website,q=m?.typeOfIncorporation,Z=m?.incDate,L=m?.companyIndustry,me=m?.phone,K=m?.taxIdOrEIN,Y=m?.primaryContactLocalData,B=m?.deleteFileStatusById??{},ne=m?.updateFileStatusById??{},xe=m?.addressStatus?.addressToCreate,W=m?.registeredAddressStatus?.addressToCreate,[P,x]=M.useState(!1),[S,V]=M.useState(!1),D=d=>u.find(je=>je.code===d)?.name??d,we=d=>Wl[d]??d;return l.jsxs(Ul,{style:U,ref:re,windowSize:f,children:[l.jsx(Hl,{children:l.jsxs(ea,{children:[l.jsxs(Ql,{children:[ie===!0?l.jsx(Xl,{children:te?l.jsx(Jl,{}):l.jsx(Zl,{})}):null,l.jsx(Gl,{windowSize:f,children:G??o.confirmCompanyDetails})]}),oe?l.jsx(Kl,{children:l.jsx(Be,{variant:"small-description",display:"flex",maxWidth:"280px",data:o.confirmCompanyDetailsTooltip,placement:f==="small"||p==="onboarding"?"bottom":"right",children:l.jsx(Yl,{})})}):null,p==="onboarding"&&G!=null?l.jsx(Ke,{text:ql}):null,g?.companyVerificationStatus!=null?l.jsx(aa,{tagTitle:g.companyVerificationStatus.name,textColor:qe(g.companyVerificationStatus.code),showLoader:g?.isRefreshingViewInBackground}):null]})}),l.jsxs(la,{children:[l.jsx(Ze,{}),l.jsx(ee,{isDisabled:n,showAdditionalInfoLabel:!1,label:{label:o.companyLegalNameLabel,width:b},text:{type:"text",name:v(h,"companyLegalName"),placeholder:o.companyLegalNamePlaceholder,defaultValue:R,options:{required:n==null&&s.includes("companyLegalName")===!1}},additionalInfoLabel:o.companyLegalNameError.replace("_product_type_",y)}),l.jsx(I,{}),l.jsx(ee,{isDisabled:n,showAdditionalInfoLabel:!1,label:{label:o.companyDescriptionLabel,width:_},text:{type:"text",name:v(h,"companyDescription"),placeholder:o.addProductPlaceholder,defaultValue:j,options:{required:n==null&&s.includes("companyDescription")===!1}},additionalInfoLabel:o.companyDescriptionError.replace("_product_type_",y)}),l.jsx(I,{}),l.jsx(_e,{isDisabled:n,label:{label:o.companyAddressLabel,width:_},addressValueField:{name:v(h,"companyAddress"),placeholder:o.companyAddressPlaceholder,defaultValue:xe,registerOptions:{validate:d=>s.includes("companyAddress")===!1?!(n==null&&d==null):!0},onClick:()=>{Q?.("company_address")}},additionalInfoLabel:o.companyAddressError.replace("_product_type_",y),showAdditionalInfoLabel:!1}),l.jsx(I,{}),l.jsx(_e,{isDisabled:n,label:{label:o.registeredAddressLabel,width:_},addressValueField:{name:v(h,"registeredAddress"),placeholder:o.registeredAddressPlaceholder,defaultValue:W,registerOptions:{validate:d=>s.includes("registeredAddress")===!1?!(n==null&&d==null):!0},onClick:()=>{T?.("company_registered_address")}},additionalInfoLabel:o.registeredAddressError.replace("_product_type_",y),showAdditionalInfoLabel:!1}),l.jsx(I,{}),l.jsx(ee,{isDisabled:n,showAdditionalInfoLabel:!1,label:{label:o.companyWebsiteLabel,width:F},text:{type:"url",name:v(h,"companyWebsite"),placeholder:o.companyWebsitePlaceholder,defaultValue:se?.toString()??"",options:{required:n==null&&s.includes("companyWebsite")===!1}},additionalInfoLabel:o.companyWebsiteError.replace("_product_type_",y)}),l.jsx(I,{}),l.jsx(Fe,{label:{label:o.companyIndustryLabel,width:F},singleSelectField:{singleSelect:{name:v(h,"companyIndustry"),placeholder:o.companyIndustryPlaceholder,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:D,isDisabled:n,showTickMark:!1},defaultValue:{selectedOption:L,allOptions:u?.map(d=>d.code)??[]},registerOptions:{required:n==null&&s.includes("companyIndustry")===!1,validate:d=>s.includes("companyIndustry")===!1?!(n==null&&!d?.selectedOption):!0}},isFunctional:!0,errorInfoLabel:o.companyIndustryError.replace("_product_type_",y)}),l.jsx(I,{}),l.jsx(El,{label:{label:o.companyTypeOfIncorporationLabel,width:b},isDisabled:n,creatableSingleSelectField:{name:v(h,"typeOfIncorporation"),placeholder:o.companyTypeOfIncorporationPlaceholder,defaultValue:{selectedOption:q,allOptions:Bl.companyIncInfo.allTypesOfIncorporation},registerOptions:{required:n==null&&s.includes("typeOfIncorporation")===!1&&N==="unit",validate:d=>s.includes("typeOfIncorporation")===!1?!(n==null&&!d?.selectedOption):!0}},errorInfoLabel:o.companyTypeOfIncorporationError.replace("_product_type_",y)}),l.jsx(I,{}),l.jsx(Me,{isDisabled:n,label:{label:o.companyIncDateLabel,width:b},style:{paddingBottom:le.paddingBottom.valuePx(f)},dateField:{name:v(h,"incDate"),placeholder:o.companyIncDatePlaceholder,defaultValue:Z,dateFormat:zl.defaultInput,maxDate:Le.dateNow(),minDate:Le.zeniDate("01 Jan 1900"),autoComplete:"off",registerOptions:{required:n==null&&s.includes("incDate")===!1}},additionalInfoLabel:o.companyIncDateError.replace("_product_type_",y)}),l.jsx(I,{}),l.jsx(Ue,{isDisabled:n,label:{label:o.companyPhoneLabel,width:F},text:{name:v(h,"companyPhone"),placeholder:ce(o.companyPhoneLabel),defaultValue:me,autoComplete:"new-password",options:{required:n==null&&s.includes("companyPhone")===!1}},errorInfoLabel:o.companyPhoneError.replace("_product_type_",y)}),l.jsx(I,{}),l.jsx(We,{isDisabled:n,label:{label:o.companyPrimaryContactNameLabel,width:b},nameField:{name:v(h,"primaryContactName"),placeHolder:{firstName:o.firstNamePlaceholder,lastName:o.lastNamePlaceholder,name:o.namePlaceholder},defaultValue:{firstName:Y?.firstName??"",lastName:Y?.lastName??""},registerOptions:{required:n==null&&s.includes("primaryContactName")===!1,validate:d=>!!d||n!=null||s.includes("primaryContactName")},showFullNameError:!0},errorInfoLabel:o.companyPrimaryContactNameError.replace("_product_type_",y)}),l.jsx(I,{}),l.jsx(ee,{isDisabled:n,showAdditionalInfoLabel:!1,label:{label:o.companyPrimaryContactEmailLabel,width:b},text:{type:"email",name:v(h,"primaryContactEmail"),placeholder:o.companyPrimaryContactEmailPlaceholder,defaultValue:Y?.email,options:{required:n==null&&s.includes("primaryContactEmail")===!1}},additionalInfoLabel:o.companyPrimaryContactEmailError.replace("_product_type_",y)}),l.jsx(I,{}),l.jsx(ee,{isDisabled:n,showAdditionalInfoLabel:!1,label:{label:o.companyTaxIdLabel,width:F},text:{type:"text",name:v(h,"companyTaxId"),placeholder:o.companyTaxIdPlaceholder,defaultValue:K,options:{required:n==null&&s.includes("companyTaxId")===!1,pattern:Il},autoComplete:"new-password"},additionalInfoLabel:o.companyTaxIdError.replace("_product_type_",y)}),l.jsx(I,{}),l.jsx($e,{name:v(h,"certificateOfIncorporation"),isDisabled:n,sizeLimit:ge,deleteFileStatusById:B,updateFileStatusById:ne,filesEndPoint:e.filesEndPoint,authParams:e.authParams,label:{label:o.certificateOfIncorporation,width:z},filemetadataPayload:{documentType:"certificate_of_incorporation",purposeId:"business_verification",documentSide:"front"},file:X,acceptableTypes:["image/jpg","image/jpeg","image/png","application/pdf","image/heic","image/heif"],registerOptions:{required:n==null&&s.includes("certificateOfIncorporation")===!1&&N==="unit"},additionalInfoLabel:o.certOfIncopDocumentError.replace("_product_type_",y),hasError:P,updateFilesEntity:e.updateFilesEntity,onEditFileName:e.onEditFileName,onDeleteFile:e.onDeleteFile,onFileSizeError:d=>x(d)}),P||!(n!=null||X!=null)?l.jsx(Oe,{windowSize:f,isError:P,children:Se.formatDocumentText10MB}):null,l.jsx(I,{}),l.jsx($e,{name:v(h,"ein"),isDisabled:n,sizeLimit:ge,deleteFileStatusById:B,updateFileStatusById:ne,filesEndPoint:e.filesEndPoint,authParams:e.authParams,label:{label:o.einDocument,width:z},filemetadataPayload:{documentType:"tax_ein",purposeId:"business_verification",documentSide:"front"},file:J,acceptableTypes:["image/jpg","image/jpeg","image/png","application/pdf","image/heic","image/heif"],registerOptions:{required:n==null&&s.includes("ein")===!1},additionalInfoLabel:o.einDocumentError.replace("_product_type_",y),hasError:S,updateFilesEntity:e.updateFilesEntity,onEditFileName:e.onEditFileName,onDeleteFile:e.onDeleteFile,onFileSizeError:d=>V(d)}),S||!(n!=null||J!=null)?l.jsx(Oe,{windowSize:f,isError:S,children:Se.formatDocumentText10MB}):null,l.jsx(I,{}),H===!0?l.jsxs(l.Fragment,{children:[l.jsx(Fe,{label:{label:o.sourceOfFundsLabel,width:F},singleSelectField:{singleSelect:{name:v(h,"sourceOfFunds"),placeholder:o.sourceOfFundsPlaceholder,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:we,isDisabled:n,showTickMark:!1,menuPlacement:"top",sortOptions:!1},defaultValue:{selectedOption:m?.sourceOfFunds,allOptions:Object.keys(o.sourceOfFundOptions)},registerOptions:{required:n==null&&s.includes("sourceOfFunds")===!1,validate:d=>s.includes("sourceOfFunds")===!1?!(n==null&&!d?.selectedOption):!0}},isFunctional:!0,errorInfoLabel:o.sourceOfFundsError.replace("_product_type_",y)}),l.jsx(I,{}),l.jsx($e,{name:v(h,"formationDocument"),isDisabled:n,sizeLimit:ge,deleteFileStatusById:B,updateFileStatusById:ne,filesEndPoint:e.filesEndPoint,authParams:e.authParams,label:{label:o.formationDocumentLabel,width:z},filemetadataPayload:{documentType:"company_formation_document",purposeId:"business_verification",documentSide:"front"},file:c,acceptableTypes:["image/jpg","image/jpeg","image/png","application/pdf","image/heic","image/heif"],registerOptions:{required:n==null&&s.includes("formationDocument")===!1},additionalInfoLabel:o.formationDocumentError.replace("_product_type_",y),hasError:S,updateFilesEntity:e.updateFilesEntity,onEditFileName:e.onEditFileName,onDeleteFile:e.onDeleteFile,onFileSizeError:d=>V(d)}),S||!(n!=null||c!=null)?l.jsx(Oe,{windowSize:f,isError:S,children:Se.formatDocumentText10MB}):null]}):null]})]})});Ml.displayName="Company Details Section";const v=(e,p)=>`${e}.${p}`,Ul=t.div`
|
|
12
12
|
display: flex;
|
|
13
13
|
flex-direction: column;
|
|
14
14
|
row-gap: ${e=>le.containerRowGap.valuePx(e.windowSize)};
|
|
@@ -20,7 +20,7 @@ import{X as ze,u as Re,cg as yl,M as ue,C as N,a5 as gl,j as l,bu as qe,f0 as Be
|
|
|
20
20
|
background: ${e=>e.theme.colors.grey4};
|
|
21
21
|
border-radius: ${a.sp0} ${a.sp0} ${a.sp2} ${a.sp2};
|
|
22
22
|
text-align: ${e=>e.windowSize==="small"?"initial":"right"};
|
|
23
|
-
color: ${e=>e.isError?
|
|
23
|
+
color: ${e=>e.isError?Ne.important:e.theme.colors.grey1};
|
|
24
24
|
`,Gl=t.div`
|
|
25
25
|
${e=>`${kl.title.style(e.windowSize)}`};
|
|
26
26
|
display: flex;
|
|
@@ -32,11 +32,11 @@ import{X as ze,u as Re,cg as yl,M as ue,C as N,a5 as gl,j as l,bu as qe,f0 as Be
|
|
|
32
32
|
align-items: center;
|
|
33
33
|
`,Xl=t.div`
|
|
34
34
|
margin-right: ${a.sp2};
|
|
35
|
-
`,
|
|
35
|
+
`,Jl=t(He)`
|
|
36
36
|
width: ${a.sp3};
|
|
37
37
|
height: ${a.sp3};
|
|
38
|
-
color: ${
|
|
39
|
-
`,
|
|
38
|
+
color: ${Ne.success};
|
|
39
|
+
`,Zl=t.div`
|
|
40
40
|
height: 14px;
|
|
41
41
|
width: 14px;
|
|
42
42
|
border: 1px solid ${e=>e.theme.colors.primary};
|
|
@@ -47,7 +47,7 @@ import{X as ze,u as Re,cg as yl,M as ue,C as N,a5 as gl,j as l,bu as qe,f0 as Be
|
|
|
47
47
|
&:hover {
|
|
48
48
|
color: ${e=>e.theme.colors.primary};
|
|
49
49
|
}
|
|
50
|
-
`,
|
|
50
|
+
`,Yl=t(Qe)`
|
|
51
51
|
width: ${a.sp3};
|
|
52
52
|
height: ${a.sp3};
|
|
53
53
|
`,ea=t.div`
|
|
@@ -74,7 +74,7 @@ import{X as ze,u as Re,cg as yl,M as ue,C as N,a5 as gl,j as l,bu as qe,f0 as Be
|
|
|
74
74
|
display: flex;
|
|
75
75
|
align-items: center;
|
|
76
76
|
justify-content: flex-end;
|
|
77
|
-
`,ta=(e,p)=>e.map(u=>({...u,value:u.userId,label:u.firstName!=""||u.lastName!=""?`${u.firstName} ${u.lastName}`:u.email})),ia=(e,p)=>({...e,value:e.userId,label:e.firstName!=""||e.lastName!=""?`${e.firstName} ${e.lastName}`:e.email});function ra({allUsers:e,onSelectedUserChanged:p,selectedUser:u,disable:m=!1,pickerStyles:{optionBackgroundColor:
|
|
77
|
+
`,ta=(e,p)=>e.map(u=>({...u,value:u.userId,label:u.firstName!=""||u.lastName!=""?`${u.firstName} ${u.lastName}`:u.email})),ia=(e,p)=>({...e,value:e.userId,label:e.firstName!=""||e.lastName!=""?`${e.firstName} ${e.lastName}`:e.email});function ra({allUsers:e,onSelectedUserChanged:p,selectedUser:u,disable:m=!1,pickerStyles:{optionBackgroundColor:N,selectedOptionBackgroundColor:g,optionTextStyle:n,titleTextStyle:U,backgroundColor:h,titleTextAlignment:oe,selectedOptionColor:te,customStyleConfig:ie}={},customization:{placeholderLabel:H}={},showAddUser:G=!0}){const s=Re(),[Q,T]=M.useState(!1),re=ta(e).sort((c,j)=>c.label.localeCompare(j.label)),f=u!=null?ia(u):void 0,F=N??s.colors.grey5,_=h??s.colors.grey5,b=g??s.colors.grey3,z=n??ye.smallRegular.cssObject,y=U??z,X={control:(c,j)=>({...c,border:0,height:"100%",backgroundColor:_,fill:j.selectProps.menuIsOpen===!0?s.colors.primary:s.colors.grey1,boxShadow:_,">div:last-child":{color:Q?s.colors.primary:s.colors.grey1},":active":{backgroundColor:_},":hover":{fill:s.colors.primary,">div:last-child":{color:s.colors.primary}},minHeight:"auto",cursor:"pointer",flexDirection:"column",">div>div>svg":{color:s.colors.grey1,">path":{color:s.colors.grey5,fill:"currentcolor"}}}),container:c=>({...c,backgroundColor:_,height:"100%"}),singleValue:c=>({...c,margin:0,minWidth:void 0,backgroundColor:void 0,">div":{borderRadius:0,padding:a.sp0,borderLeftStyle:"none",borderWidth:1,borderColor:s.colors.grey1,color:"unset"},">div>div>div>div:last-child":{display:"block",...ye.standardRegular.cssObject}}),valueContainer:c=>({...c,maxWidth:"100%",cursor:"pointer",height:"100%",...y,overflow:"visible",minWidth:"auto",padding:0,display:"flex",justifyContent:oe??"flex-start",alignItems:"center",flexWrap:"nowrap",flexDirection:"row",">div":{width:"inherit"}}),menu:(c,j)=>({...c,backgroundColor:F,borderRadius:ae[1],boxShadow:`${a.sp0} 2px ${a.sp2} ${s.colors.dropShadowHover}`,whiteSpace:"nowrap",minWidth:"fit-content",zIndex:3,width:236,margin:`6px ${a.sp0}`,right:"-11%",">div":{flexDirection:"column",maxHeight:200,overflowY:"auto",borderRadius:a.sp1,padding:`${a.sp1} ${a.sp0}`,">div":{width:"-webkit-fill-available"}},...ie?.menu?.(c,j)}),menuList:c=>({...c,borderRadius:ae[1]}),placeholder:(c,j)=>({...c,margin:0,width:"100%",color:j.isFocused?s.colors.primary:"currentColor",paddingRight:a.sp2,...ye.standardRegular.cssObject,">div>div>svg>circle":{fill:s.colors.grey1}}),noOptionsMessage:c=>({...c,...ye.smallRegular.cssObject,padding:`10px ${a.sp3} 9px ${a.sp3}`,color:s.colors.hero}),option:(c,{isDisabled:j,isSelected:R,isFocused:se})=>({...c,...z,color:R?te??s.colors.champion:s.colors.hero,backgroundColor:R?b:se?s.colors.background:F,cursor:j?"not-allowed":R?"default":"pointer","svg:nth-of-type(2)":{display:"none"},":hover":{backgroundColor:s.colors.background,color:s.colors.primary},"& label":{paddingRight:"10px",cursor:j?"not-allowed":R?"inherit":"pointer"},">div>div>div:first-of-type":{display:"flex"}}),indicatorSeparator:()=>({}),dropdownIndicator:()=>({}),indicatorsContainer:()=>({height:"100%",display:"flex",alignItems:"center"})},J=({children:c,...j})=>l.jsxs(be.ValueContainer,{...j,children:[c,G===!0?l.jsxs(va,{hasSelectedUser:!!u,onClick:()=>{p(void 0),T(!1)},children:[l.jsx(ua,{}),l.jsx("div",{children:H??"Add User"})]}):null]});return l.jsx($l,{onClickAway:()=>{T(!1)},children:l.jsx(oa,{children:l.jsx(Sl,{isMulti:!1,menuPlacement:"auto",minMenuHeight:200,maxMenuHeight:200,menuIsOpen:Q,menuShouldScrollIntoView:!1,defaultValue:f,value:f,noOptionsMessage:()=>ue.getLocalizedStrings().cockpit.management.noPerson,onInputChange:c=>{c!==""&&T(!0)},onMenuOpen:()=>{T(!0)},placeholder:l.jsx(na,{children:l.jsx("div",{children:H??"Select..."})}),components:{Option:ya,DropdownIndicator:Ia,IndicatorSeparator:$a,SingleValue:wa,ValueContainer:ja,MenuList:J},hideSelectedOptions:!1,closeMenuOnSelect:!1,styles:X,options:re,isDisabled:m,onChange:c=>{p(c),T(!1)},isClearable:!1,isSearchable:!1},Ol())})})}const sa=t.div``,na=t.div`
|
|
78
78
|
display: flex;
|
|
79
79
|
align-items: center;
|
|
80
80
|
color: ${e=>e.theme.colors.grey1};
|
|
@@ -83,7 +83,7 @@ import{X as ze,u as Re,cg as yl,M as ue,C as N,a5 as gl,j as l,bu as qe,f0 as Be
|
|
|
83
83
|
display: flex;
|
|
84
84
|
align-items: center;
|
|
85
85
|
margin-right: ${a.sp2};
|
|
86
|
-
`,ca=t(
|
|
86
|
+
`,ca=t(Je)`
|
|
87
87
|
width: ${a.sp4};
|
|
88
88
|
height: ${a.sp4};
|
|
89
89
|
color: ${e=>e.theme.colors.hero};
|
|
@@ -92,25 +92,25 @@ import{X as ze,u as Re,cg as yl,M as ue,C as N,a5 as gl,j as l,bu as qe,f0 as Be
|
|
|
92
92
|
flex-direction: row;
|
|
93
93
|
align-items: center;
|
|
94
94
|
justify-content: space-between;
|
|
95
|
-
`,ua=t(
|
|
95
|
+
`,ua=t(Cl)`
|
|
96
96
|
height: ${a.sp4};
|
|
97
97
|
width: ${a.sp4};
|
|
98
98
|
margin-right: ${a.sp2};
|
|
99
99
|
color: inherit;
|
|
100
|
-
`,ma=t(
|
|
100
|
+
`,ma=t(Nl)`
|
|
101
101
|
height: 12px;
|
|
102
102
|
width: 12px;
|
|
103
103
|
color: ${e=>e.theme.colors.hero};
|
|
104
|
-
`,fa=t.div``,ha=t(
|
|
104
|
+
`,fa=t.div``,ha=t(Pl)`
|
|
105
105
|
width: 12px;
|
|
106
106
|
height: 12px;
|
|
107
107
|
color: ${e=>e.theme.colors.primary};
|
|
108
|
-
`,
|
|
108
|
+
`,Ye=t.img`
|
|
109
109
|
height: ${a.sp4};
|
|
110
110
|
width: ${a.sp4};
|
|
111
111
|
border-radius: 50%;
|
|
112
112
|
justify-content: center;
|
|
113
|
-
`,ya=e=>{const{data:p,options:u,isSelected:m}=e,
|
|
113
|
+
`,ya=e=>{const{data:p,options:u,isSelected:m}=e,N=u.findIndex(g=>g.value===p.value);return l.jsx(sa,{children:l.jsx(be.Option,{...e,children:l.jsxs(pa,{children:[l.jsxs(ga,{children:[l.jsx(ba,{children:p?.photo!==void 0?l.jsx(Ye,{src:p?.photo.href,alt:ue.getLocalizedStrings().cockpit.userProfileAltText,onError:({currentTarget:g})=>{g.onerror=null,g.src=De},loading:"lazy"}):l.jsx(Ce,{firstName:p?.firstName??"",lastName:p?.lastName??"",size:`${a.sp4}`,index:N})}),l.jsx("label",{children:e.label})]}),!!m&&l.jsx(fa,{children:l.jsx(ha,{})})]})})})},ga=t.div`
|
|
114
114
|
width: 100%;
|
|
115
115
|
display: flex;
|
|
116
116
|
align-items: center;
|
|
@@ -118,12 +118,12 @@ import{X as ze,u as Re,cg as yl,M as ue,C as N,a5 as gl,j as l,bu as qe,f0 as Be
|
|
|
118
118
|
display: flex;
|
|
119
119
|
align-items: center;
|
|
120
120
|
margin-right: ${a.sp2};
|
|
121
|
-
`,xa=t(
|
|
121
|
+
`,xa=t(Pe)`
|
|
122
122
|
padding: ${a.sp0} ${a.sp2};
|
|
123
123
|
white-space: nowrap;
|
|
124
124
|
overflow: hidden;
|
|
125
125
|
text-overflow: ellipsis;
|
|
126
|
-
`,wa=({children:e,data:p,...u})=>{const{options:m}=u.selectProps,
|
|
126
|
+
`,wa=({children:e,data:p,...u})=>{const{options:m}=u.selectProps,N=m.findIndex(g=>g.value===p.value);return l.jsx(be.MultiValueLabel,{...u,children:l.jsxs(Sa,{children:[p?.photo!==void 0?l.jsx(Ye,{src:p?.photo.href,alt:ue.getLocalizedStrings().cockpit.userProfileAltText,onError:({currentTarget:g})=>{g.onerror=null,g.src=De},loading:"lazy"}):l.jsx(Ce,{firstName:p?.firstName??"",lastName:p?.lastName??"",size:`${a.sp4}`,index:N}),l.jsx(xa,{children:e})]})})},ja=({children:e,...p})=>l.jsxs(be.ValueContainer,{...p,children:[p.selectProps.value==null?l.jsx(da,{children:l.jsx(ca,{})}):null,e]}),va=t(Dl)`
|
|
127
127
|
color: ${e=>e.hasSelectedUser?e.theme.colors.hero:e.theme.colors.primary};
|
|
128
128
|
display: flex;
|
|
129
129
|
padding: ${a.sp2} 12px;
|
|
@@ -138,7 +138,7 @@ import{X as ze,u as Re,cg as yl,M as ue,C as N,a5 as gl,j as l,bu as qe,f0 as Be
|
|
|
138
138
|
display: flex;
|
|
139
139
|
flex-direction: row;
|
|
140
140
|
cursor: pointer;
|
|
141
|
-
`,pe={width:new
|
|
141
|
+
`,pe={width:new C(343,580,726),labelWidth:new C(115,145,155),largeLabelWidth:new C(160,240,240),veryLargeLabelWidth:new C(150,240,245),containerRowGap:new C(12,ae[3])},Oa={title:new Ge("standardMedium","largeMedium")};function Za({companyOfficerData:e,isDisabled:p,allOfficers:u,allNationalityCountries:m,isRefreshingViewInBackground:N,connectedAccountProvider:g,style:n,isPopupOpen:U,sectionId:h,filesEndPoint:oe,authParams:te,showInfoTooltip:ie=!0,isCompleted:H=!1,showCompletedIcon:G=!1,showOfficerSelect:s=!0,showVerificationTag:Q=!0,isForTreasury:T=!1,isOverlay:re=!1,productType:f,companyTitles:F,sectionHeader:_,optionalFields:b=[],onOfficerAddressClick:z,onDeleteFile:y,onEditFileName:X,updateFilesEntity:J,openPopup:c,onGetOtp:j,onVerifyOtp:R,onResendOtp:se,verifiedPhoneNumber:q,onPhoneVerified:Z}){const L=ze(),me=Re(),{getValues:K,setValue:Y}=yl(),B=u.length>0,[ne,xe]=M.useState(!1),W=B?Object.values(e).findIndex(i=>i?.isSelectedForVerification===!0):0,P=`Officer_${W<0?1:W+1}`;M.useEffect(()=>{Z!=null&&e[P]?.phone!=null&&e[P].isPhoneVerified===!0&&Z(e[P]?.phone??"")},[]);const x=`${h}.${W}`,S=e[P],V=T?S?.treasuryUserVerificationStatus:S?.userVerificationStatus,D=u.find(i=>i.userId===S?.userId),we=u.sort((i,O)=>(i.firstName||i.lastName?`${i.firstName} ${i.lastName}`:i.email).localeCompare(O.firstName||O.lastName?`${O.firstName} ${O.lastName}`:O.email)),d=B?we.findIndex(i=>i.userId===S?.userId):0,je=e[P]?.deleteFileStatusById??{},el=e[P]?.updateFileStatusById??{},Ee=K(`${x}.selectDocument.selectDocumentType`),{common:{optional:ll},commonSetUp:{businessVerification:r},dateFormat:{visual:al},cockpit:ol}=ue.getLocalizedStrings(),k=f==="onboarding"?r.productType.business_verification:r.productType[f],de=pe.labelWidth.value(L),tl=pe.veryLargeLabelWidth.value(L),fe=pe.largeLabelWidth.value(L),il=L==="small"?r.companyRolePlaceholderSmall:r.companyRolePlaceholder,rl=L==="small"?r.protectedSsnTextSmall:r.protectedSsnText,$=V?.code==="pending_review"||V?.code==="verified"?"readonly":p,sl=$!=null||!B||V?.code==="require_info",nl=D?.firstName||D?.lastName?`${D?.firstName} ${D?.lastName}`:r.addOfficer,dl=S?.userId!=null?r.confirmIdentityDetails:r.confirmIdentityDetailsNewOfficer,cl={menu:()=>({right:"initial",left:0})},pl=i=>F.find(O=>O.code===i)?.name??i,ve=S?.otpverificationStatus?.fetchState,Te=gl(ve);M.useEffect(()=>{Z!=null&&Te==="In-Progress"&&ve==="Completed"&&Z(K(`${x}.phone`))},[Te,ve]);const ul=(i,O)=>{R(i,O)},ml=()=>q==null||q===""?!1:K(`${x}.phone`)===q,fl=()=>{const i=K(`${x}.phone`);return i!=null&&!Ll(i)?r.phoneErrorForOnboarding:r.phoneError.replace("_product_type_",k)};return l.jsxs(La,{style:n,windowSize:L,children:[l.jsxs(Fa,{windowSize:L,isOverlay:re,children:[l.jsxs(Aa,{children:[l.jsxs(Da,{children:[G===!0?l.jsx(Ca,{children:H?l.jsx(Na,{}):l.jsx(Pa,{})}):null,l.jsx(_a,{windowSize:L,children:_??dl})]}),ie?l.jsx(Ea,{children:l.jsx(Be,{variant:"small-description",maxWidth:"275px",data:r.confirmIdentityDetailsTooltip,display:"flex",placement:L==="small"||f==="onboarding"?"bottom":"right",children:l.jsx(Ta,{})})}):null,f==="onboarding"&&_!=null?l.jsx(Ke,{text:ll}):null,V!=null&&Q?l.jsx(Ba,{tagTitle:V?.name,textColor:qe(V.code),showLoader:N}):null]}),s?sl?B?l.jsxs(Ra,{children:[D?.photo!==void 0?l.jsx(Va,{src:D?.photo.href,alt:ol.userProfileAltText,onError:({currentTarget:i})=>{i.onerror=null,i.src=De},loading:"lazy"}):l.jsx(Ce,{firstName:D?.firstName??"",lastName:D?.lastName??"",size:`${a.sp4}`,index:d}),l.jsx(Ae,{children:`${nl}`})]}):l.jsxs(qa,{children:[l.jsx(Wa,{children:l.jsx(Ma,{})}),l.jsx(Ae,{children:`${r.addOfficer}`})]}):l.jsx(ka,{children:l.jsx(ra,{selectedUser:D,allUsers:u,onSelectedUserChanged:i=>{const O=Object.values(e).findIndex(he=>he?.userId===i?.userId);Y(`${x}.isSelectedForVerification`,!1),Y(`${h}.${O}.isSelectedForVerification`,!0)},customization:{placeholderLabel:r.addOfficer},showAddUser:u.length<=9,pickerStyles:{backgroundColor:me.colors.grey5,selectedOptionBackgroundColor:me.colors.background,customStyleConfig:L==="small"?cl:void 0}})}):null]}),Object.values(e).map((i,O)=>{if(W!==O)return null;const he=bl(i?.documentTypeSelectedForVerification),Ie=i?.userFiles??[],hl=()=>q!=""&&f==="onboarding"?ml():i?.isPhoneVerified??!1;return l.jsxs(za,{children:[l.jsx(Ze,{}),l.jsx(We,{isDisabled:$,label:{label:r.name,width:de},nameField:{name:E(x,"name"),placeHolder:{firstName:r.firstNamePlaceholder,lastName:r.lastNamePlaceholder,name:r.namePlaceholder},defaultValue:{firstName:i?.firstName??"",lastName:i?.lastName??""},registerOptions:{required:b.includes("name")===!1,validate:w=>b.includes("name")===!1?!!w:!0},showFullNameError:!0},errorInfoLabel:r.nameError.replace("_product_type_",k)}),l.jsx(A,{}),i?.userId==null?l.jsxs(l.Fragment,{children:[l.jsx(ee,{isDisabled:$,showAdditionalInfoLabel:!1,label:{label:r.email,width:de},text:{type:"email",name:E(x,"email"),placeholder:ce(r.email),defaultValue:i?.email,options:{required:b.includes("email")===!1}},additionalInfoLabel:r.emailDescription.replace("_product_type_",k)}),l.jsx(A,{})]}):null,l.jsx(Me,{isDisabled:$,label:{label:r.dobLabel,width:fe},dateField:{name:E(x,"dob"),type:"text",defaultValue:i?.birthday,placeholder:ce(r.dobLabel),dateFormat:al.defaultInput,maxDate:Le.dateNow().subtract(g==="unit"?18:13,"years"),registerOptions:{required:b.includes("dob")===!1},autoComplete:"off"},additionalInfoLabel:r.dobDescription.replace("_product_type_",k),isMasked:!0}),l.jsx(A,{}),l.jsx(xl,{isDisabled:$,label:{label:r.nationalityLabel,width:de},showAdditionalInfoLabel:f!=="onboarding",additionalInfoLabel:r.nationalityDescription.replace("_product_type_",k),countrySelectField:{name:E(x,"nationalityCountryCode"),placeholder:r.nationalityPlaceholder,defaultValue:wl(i?.nationalityCountryCode,m.map(w=>w.countryCode)),registerOptions:{validate:w=>!!(w!=null&&w.selectedOption)}}}),l.jsx(A,{}),l.jsx(_e,{isDisabled:$,label:{label:r.address,width:de},addressValueField:{name:E(x,"officerAddress"),placeholder:ce(r.address),defaultValue:i?.addressStatus?.addressToCreate,registerOptions:{validate:w=>b.includes("officerAddress")===!1?!($==null&&w==null):!0},onClick:()=>{z(i?.officerType.toLocaleLowerCase().concat("_address"))}},additionalInfoLabel:f==="onboarding"?r.addressAdditionInfo:r.addressError.replace("_product_type_",k),showAdditionalInfoLabel:!0}),l.jsx(A,{}),l.jsx(Ue,{isDisabled:$,label:{label:r.phone,width:de},text:{name:E(x,"phone"),placeholder:ce(r.phone),defaultValue:i?.phone,autoComplete:"new-password",options:{required:b.includes("phone")===!1}},errorInfoLabel:fl(),verificationErrorInfoLabel:r.phoneValidationError,isPopupOpen:U,phoneVerifyButtonProps:{otpChallenge:i?.otpChallenge,showOtpButton:g==="unit",onGetOtp:j,onVerifyOtp:ul,onResendOtp:se,isPhoneVerified:hl(),phoneVerificationStatus:i?.otpverificationStatus,getOtpStatus:i?.sendOtpStatus,openPopup:c,verifiedPhoneNumber:q,focusNotRequired:!0}}),l.jsx(A,{}),l.jsx(Fe,{label:{label:r.companyRoleLabel,width:fe},singleSelectField:{singleSelect:{name:E(x,"role"),placeholder:il,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:pl,isDisabled:$,showTickMark:!1,maxMenuHeight:250},defaultValue:{selectedOption:i?.titleAtCompany,allOptions:F?.map(w=>w.code)??[]},registerOptions:{required:b.includes("role")===!1,validate:w=>b.includes("role")===!1?!($==null&&!w?.selectedOption):!0}},isFunctional:!0,errorInfoLabel:r.companyRoleDescription.replace("_product_type_",k)}),l.jsx(A,{}),l.jsx(Ve,{isDisabled:$,showAdditionalInfoLabel:!1,label:{label:r.companyOwnershipLabel,width:fe},formattedTextField:{type:"number",name:E(x,"ownership"),defaultValue:i?.ownershipInCompany,placeholder:r.companyOwnershipPlaceholder,returnValueType:"floatValue",suffix:"%",allowNegative:!1,isNumericString:!1,registerOptions:{required:b.includes("ownership")===!1,validate:w=>w!=null?w>0&&w<=100:!0,max:100},autoComplete:"new-password"},additionalInfoLabel:f==="onboarding"?r.companyOwnershipDescriptionForOnboarding:r.companyOwnershipDescription}),l.jsx(A,{}),l.jsx(Ve,{isDisabled:$,showAdditionalInfoLabel:!1,label:{label:r.ssnLabel,width:fe},formattedTextField:{type:"text",name:E(x,"ssn"),placeholder:r.addSSNPlaceholder,defaultValue:i?.ssn,format:"###-##-####",registerOptions:{required:b.includes("ssn")===!1,pattern:jl},autoComplete:"new-password",maxLength:9,allowLeadingZeros:!0},protectedInfoText:$!=null&&i?.ssn?rl:void 0,additionalInfoLabel:r.ssnDescription.replace("_product_type_",k),isMasked:!0}),l.jsx(A,{}),l.jsx(vl,{name:E(x,"selectDocument"),officerIndex:W,sizeLimit:ge,filesEndPoint:oe,authParams:te,onEditFileName:X,acceptableTypes:["image/jpg","image/jpeg","image/png","image/heic","image/heif"],label:{width:tl},allFiles:Ie,updateFilesEntity:J,deleteFileStatusById:je,updateFileStatusById:el,onDeleteFile:y,isDisabled:$,menuPlacement:f==="onboarding"&&he==null?"top":"auto",defaultValue:{defaultSelectDocumentType:he,allSelectDocumentType:["driverLicense","passport","ssnCard"],files:{front:ke(!0,Ie,Ee),back:ke(!1,Ie,Ee)}},registerOptions:{required:b.includes("selectDocument")===!1},hasError:ne,additionalInfoLabel:r.companyIdDescription.replace("_product_type_",k),onFileSizeError:w=>xe(w),isPopupOpen:U,openPopup:c,companyOfficerName:{firstName:i?.firstName??"",lastName:i?.lastName??""}})]},x)})]})}const E=(e,p)=>`${e}.${p}`,La=t.div`
|
|
142
142
|
display: flex;
|
|
143
143
|
flex-direction: column;
|
|
144
144
|
row-gap: ${e=>pe.containerRowGap.valuePx(e.windowSize)};
|
|
@@ -158,13 +158,13 @@ import{X as ze,u as Re,cg as yl,M as ue,C as N,a5 as gl,j as l,bu as qe,f0 as Be
|
|
|
158
158
|
`,Da=t.div`
|
|
159
159
|
display: flex;
|
|
160
160
|
align-items: center;
|
|
161
|
-
`,
|
|
161
|
+
`,Ca=t.div`
|
|
162
162
|
margin-right: ${a.sp2};
|
|
163
|
-
`,
|
|
163
|
+
`,Na=t(He)`
|
|
164
164
|
width: ${a.sp3};
|
|
165
165
|
height: ${a.sp3};
|
|
166
|
-
color: ${
|
|
167
|
-
`,
|
|
166
|
+
color: ${Ne.success};
|
|
167
|
+
`,Pa=t.div`
|
|
168
168
|
height: 14px;
|
|
169
169
|
width: 14px;
|
|
170
170
|
border: 1px solid ${e=>e.theme.colors.primary};
|
|
@@ -175,10 +175,10 @@ import{X as ze,u as Re,cg as yl,M as ue,C as N,a5 as gl,j as l,bu as qe,f0 as Be
|
|
|
175
175
|
&:hover {
|
|
176
176
|
color: ${e=>e.theme.colors.primary};
|
|
177
177
|
}
|
|
178
|
-
`,
|
|
178
|
+
`,Ta=t(Qe)`
|
|
179
179
|
width: ${a.sp3};
|
|
180
180
|
height: ${a.sp3};
|
|
181
|
-
`,
|
|
181
|
+
`,Va=t.img`
|
|
182
182
|
height: ${a.sp4};
|
|
183
183
|
width: ${a.sp4};
|
|
184
184
|
border-radius: 50%;
|
|
@@ -202,7 +202,7 @@ import{X as ze,u as Re,cg as yl,M as ue,C as N,a5 as gl,j as l,bu as qe,f0 as Be
|
|
|
202
202
|
background-color: ${e=>e.theme.colors.grey3};
|
|
203
203
|
min-height: 1px;
|
|
204
204
|
max-height: 1px;
|
|
205
|
-
`,Ra=t(
|
|
205
|
+
`,Ra=t(Pe)`
|
|
206
206
|
display: flex;
|
|
207
207
|
flex-direction: row;
|
|
208
208
|
justify-content: flex-end;
|
|
@@ -213,10 +213,10 @@ import{X as ze,u as Re,cg as yl,M as ue,C as N,a5 as gl,j as l,bu as qe,f0 as Be
|
|
|
213
213
|
white-space: nowrap;
|
|
214
214
|
overflow: hidden;
|
|
215
215
|
text-overflow: ellipsis;
|
|
216
|
-
`,
|
|
216
|
+
`,Ba=t(Xe)`
|
|
217
217
|
width: max-content;
|
|
218
218
|
margin-left: ${a.sp3};
|
|
219
|
-
`,
|
|
219
|
+
`,qa=t(Pe)`
|
|
220
220
|
display: flex;
|
|
221
221
|
flex-direction: row;
|
|
222
222
|
justify-content: flex-end;
|
|
@@ -225,8 +225,8 @@ import{X as ze,u as Re,cg as yl,M as ue,C as N,a5 as gl,j as l,bu as qe,f0 as Be
|
|
|
225
225
|
`,Wa=t.div`
|
|
226
226
|
display: flex;
|
|
227
227
|
align-items: center;
|
|
228
|
-
`,Ma=t(
|
|
228
|
+
`,Ma=t(Je)`
|
|
229
229
|
width: ${a.sp4};
|
|
230
230
|
height: ${a.sp4};
|
|
231
231
|
color: ${e=>e.theme.colors.hero};
|
|
232
|
-
`;export{Ml as G,
|
|
232
|
+
`;export{Ml as G,Za as o};
|