@zeniai/web-cockpit-ui 1.13.86-qa → 1.13.87-dev
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/assets/{ACHDetailsPage-DGGeHZnW-OUx0JlaE.js → ACHDetailsPage-CW8vDdF5-BjcStneE.js} +3 -3
- package/dist/assets/{AIPerformancePage-BnFh61HC-D-vuF-aa.js → AIPerformancePage-tSqRY12b-CS74oHek.js} +29 -29
- package/dist/assets/AccountInfoPage-C9rcnhgb-CRWEZYsW.js +18 -0
- package/dist/assets/{AccountInfoPageContent-C4VpFgc_-JSl2YV-p.js → AccountInfoPageContent-DftJxUep-Cw9zyQ_s.js} +20 -20
- package/dist/assets/{AccountReconDetailsDrawerPage-DJmFBJve-BEXiHF92.js → AccountReconDetailsDrawerPage-CBpvkm_m-BXrukYLg.js} +16 -16
- package/dist/assets/AccountRow-cQU8OX0K-yHyqR7LP.js +298 -0
- package/dist/assets/{AccountsPromoCardStack-D5elLwcD-DCBWNnh_.js → AccountsPromoCardStack-DuBj_EHe-B3WzwbTq.js} +23 -23
- package/dist/assets/{AddAddressForCardDrawer-D9uW1sU2-HmHZpd50.js → AddAddressForCardDrawer-D4edy26A-B1-8tiAZ.js} +2 -2
- package/dist/assets/{AddToWalletPage-D3yOWwc3-DOZUi61e.js → AddToWalletPage-Lkfz2CzH--lPqUVOg.js} +35 -35
- package/dist/assets/{AgingReportsPage-DlB02nzb-Bs2EnYRJ.js → AgingReportsPage-DtW2tU4n-DVEUTxX1.js} +4 -4
- package/dist/assets/{AllUserItems-Bwbb5_fm-foSEEGxU.js → AllUserItems-DcuO9Oho-D7VaO8Uf.js} +7 -7
- package/dist/assets/{ApAgingDetailPage-Bhf_ygxm-DyhmSfMs.js → ApAgingDetailPage-D2UVTYqP-9KAbUMxy.js} +3 -3
- package/dist/assets/{AppBasePage-DyGLpjZ0-BqxctD7f.js → AppBasePage-iuomCofd-D1M4Ldw8.js} +4 -4
- package/dist/assets/{AppDrawerContent-D_dlUPFp-DUip7d_J.js → AppDrawerContent-BfpdXsfY-BoqfQVbX.js} +8 -8
- package/dist/assets/{ApprovalRulesSettingsPage-DLvGE0ND-C2H7LBu1.js → ApprovalRulesSettingsPage-BKAWfUl9-BUmVoC9W.js} +6 -6
- package/dist/assets/{ArAgingChart-CR7dx7XY-D864nxpa.js → ArAgingChart--GzyqIlN-wEZY3asj.js} +5 -5
- package/dist/assets/{ArAgingDetailPage-kU_SEimL-B-N2mSJB.js → ArAgingDetailPage-A0zmG_tR--cuXu7ko.js} +2 -2
- package/dist/assets/{AttachmentView-ClQPirg--DH6lVfEf.js → AttachmentView-D203zhS3-Blc80O1o.js} +8 -8
- package/dist/assets/{BankAccountSection-DLB1oftk-ZIGZnPUm.js → BankAccountSection-iz2k4H5K-CWZXnWVk.js} +4 -4
- package/dist/assets/{BankAccountWarningSection-ClrNHLqo-DiHKiUok.js → BankAccountWarningSection-CSJXyjMA-BgaGb4P-.js} +5 -5
- package/dist/assets/{BankConnectionsSettingsPage-D1w10U35-XvquRT1t.js → BankConnectionsSettingsPage-Co5pwxWT-C5lfXSpY.js} +15 -15
- package/dist/assets/{BillDetailPage-Bfrn4oa6-Bnr67OuG.js → BillDetailPage-BJbdAC5y-CMbCAQ4h.js} +5 -5
- package/dist/assets/{BillPayApprovalRuleDetailPage-DIzv3Xu9-D179TcD8.js → BillPayApprovalRuleDetailPage-D4-goF6x-C23aUqzX.js} +2 -2
- package/dist/assets/{BillPayApprovalRulesPage-CPBknTMQ-qfQIhuGY.js → BillPayApprovalRulesPage-CpAFdET_-DdMQ64US.js} +3 -3
- package/dist/assets/{BillPayPromoPage-CKETeVet-BziOeokR.js → BillPayPromoPage-DZn9Wdsi-COOh5nks.js} +2 -2
- package/dist/assets/{BillPaySetUpPage-DIz-RZih-Rtu6FSq3.js → BillPaySetUpPage-BGxI3SGy--373OJdf.js} +2 -2
- package/dist/assets/BillingSettingsPage-B3h6dTYD-CiH5BD6s.js +44 -0
- package/dist/assets/BillsBulkReviewDrawerPage-Ck830aIk-BaNyoEgy.js +1 -0
- package/dist/assets/{BoxItem-B8KF3Skh-BfuEFlCw.js → BoxItem-C-RN4c2j-F6XwRGQ-.js} +1 -1
- package/dist/assets/BusinessVerificationPage-BEK8kZil-Di05q2Gg.js +140 -0
- package/dist/assets/{CardNumberSubText-CNiPWVeO-CAc-nd6v.js → CardNumberSubText-Bvs0Rr9x-DPY11oi8.js} +1 -1
- package/dist/assets/{CashbackDetailPage-BNWBGKHa-CwbY9Mrf.js → CashbackDetailPage-9aAW-23b-6kdPvDSO.js} +24 -24
- package/dist/assets/{ChargeCardDetailPage-BuCwlpLH-BkJDZe-M.js → ChargeCardDetailPage-DHjtLrCu-8rSs9AMN.js} +58 -58
- package/dist/assets/ChargeCardListPage-DzmHmoAp-BfBb-N8b.js +355 -0
- package/dist/assets/{ChargeCardListTable-D4-Br785-BEWwSLsM.js → ChargeCardListTable-jGT-e74M-5-uAUG8Z.js} +18 -18
- package/dist/assets/ChargeCardPromoPage-C2wn8FfE-Qh6s_V9A.js +219 -0
- package/dist/assets/{ChargeCardSetupPage-fy0EpA-m-choA3AmF.js → ChargeCardSetupPage-CN5Nbcsp-Bu6r203Z.js} +2 -2
- package/dist/assets/{ChargeCardStatementsPage-B_rdiq_Y-Mj5VqZ8D.js → ChargeCardStatementsPage-Bu_rIDAD-BeeV8bqA.js} +4 -4
- package/dist/assets/{ChargeCardUtils-CtoTn6DQ-B1uvEbfZ.js → ChargeCardUtils-C-37hd5J-B8Ue09Ej.js} +1 -1
- package/dist/assets/{ChaseOverlay-DfjQ73Ie-B1a_VHty.js → ChaseOverlay-BG833ttH-_qJdBH9y.js} +8 -8
- package/dist/assets/CheckDepositDrawerPage-B4F_yGVS-pfAuDSEr.js +206 -0
- package/dist/assets/{CollapsableReportTable-CHsJ-93l-_tp8mBam.js → CollapsableReportTable-CtS-s84B-BR4en1d9.js} +2 -2
- package/dist/assets/{CompanyOfficerDetailsSection-BlUCDRW6-nX8ZqVcI.js → CompanyOfficerDetailsSection-Bor8xmLS-OgNQHHeC.js} +29 -29
- package/dist/assets/{CompanyPassportCard-DSRRu6RZ-Bh15KNQH.js → CompanyPassportCard-n-awcw82-DRSohnEc.js} +4 -4
- package/dist/assets/{CompanyPassportPage-DpeoVbLk-LzD8NVJu.js → CompanyPassportPage-WfbfWOs1-COSgoQMl.js} +139 -139
- package/dist/assets/{CompleteProfile-BaTEooSW-CqOmhDzj.js → CompleteProfile-D80JYwPP-BRDUY6r-.js} +10 -10
- package/dist/assets/ConfettiBurst-UJtKVS38-DdsiBpUw.js +1 -0
- package/dist/assets/{CreateOrEditVendorPage-CaIc3Tib-CG1q00M6.js → CreateOrEditVendorPage-BMLSs7Yo-DmUQ86jB.js} +15 -15
- package/dist/assets/{CreditCardPaymentDrawerPage-DEFrzmkG-BxfCKM_T.js → CreditCardPaymentDrawerPage-8zmbMj3u-ZPA-ktu-.js} +16 -16
- package/dist/assets/{CreditCardPaymentPlgSection-IeRxDnG7-CjAsn7C3.js → CreditCardPaymentPlgSection-DD7kSp5v-BuL73gip.js} +10 -10
- package/dist/assets/{CurrencySelectField-DDiCwLn7-YYqTYrI9.js → CurrencySelectField-DGID-Pjb-B38xYqrH.js} +5 -5
- package/dist/assets/{CustomerOnboardingActivationPage-976y8y35-scZKYnaP.js → CustomerOnboardingActivationPage-pdEVqtkO-B5fJSkdd.js} +3 -3
- package/dist/assets/CustomerOnboardingContainerPage-ChQOOhF_-C8keGYSw.js +1 -0
- package/dist/assets/{CustomerOnboardingDetailPageSkeleton-DYfidx87-wSUqD-QE.js → CustomerOnboardingDetailPageSkeleton-1d9j5dWO-dyqi73hm.js} +11 -11
- package/dist/assets/{CustomerOnboardingNoStepsPage-DrLZ3k77-CapA6PF7.js → CustomerOnboardingNoStepsPage-BqrKQCFg-1lfgph7E.js} +8 -8
- package/dist/assets/CustomerOnboardingPage-DVVWivk2-WMhFdF9M.js +107 -0
- package/dist/assets/{CustomerOnboardingProductSuitePage-CmHltdpN-CG4NNyMb.js → CustomerOnboardingProductSuitePage-D_WVGW91-B4zQnbeq.js} +4 -4
- package/dist/assets/Dashboard-B-fLAQ8T-DoAtb0kg.js +1253 -0
- package/dist/assets/{DashboardReportPage-DULpVd6J-75Z0L48f.js → DashboardReportPage--SAxmUu_-Dq18S8YZ.js} +67 -67
- package/dist/assets/{DepositAccTransactionItem-BEs_Al_8-CuMFfqIl.js → DepositAccTransactionItem--OdW7LRx-zcdQHy5Q.js} +2 -2
- package/dist/assets/{DepositAccTransactionListPage-CL8Rr3I4-33C_Xyfq.js → DepositAccTransactionListPage-BGapI5f0-BXH4xxAt.js} +8 -8
- package/dist/assets/{DocumentSecurityBanner-BgKXBGg3-BFG8spIP.js → DocumentSecurityBanner-Ctdvj5Tn-CM5WmW33.js} +1 -1
- package/dist/assets/DomesticWireDetailsPage-BGP2DLHb-CLZOaehZ.js +21 -0
- package/dist/assets/{DownloadOverlay-cne9_fIV-B70vx7oL.js → DownloadOverlay-VDEpvzHH-C6KDM3Im.js} +17 -17
- package/dist/assets/{DrawerPage-B0mgBHB5-ChiJCORg.js → DrawerPage-BauCSJ4q-DA93KkS0.js} +8 -8
- package/dist/assets/EditPeoplePage-mz7FTion-DdIStM8G.js +55 -0
- package/dist/assets/{EditReimbursementDetailPage-DWhSkrJ7-1GfIFWJd.js → EditReimbursementDetailPage-Bi_rdyjb-DXvJQD3u.js} +69 -69
- package/dist/assets/{EntityDetailPage-wnOA1SH7-tJdurFyO.js → EntityDetailPage-Bc2AVCEp-DOVttkwP.js} +2 -2
- package/dist/assets/{EntitySummarySection-Q_UUVBaU-CID1Yc5G.js → EntitySummarySection-CDO6K9RG-CZ1I06e-.js} +11 -11
- package/dist/assets/{ExpenseAutomationOverviewPage-BumrdlGf-DX7NOJQ2.js → ExpenseAutomationOverviewPage-C7SAclix-Ch7r281h.js} +20 -20
- package/dist/assets/{ExpenseAutomationPage-DKjInf-x-BCsOx_7m.js → ExpenseAutomationPage-A03nzEV--i6evGevK.js} +84 -84
- package/dist/assets/{ExpressPayPage-wwfao-Tr-CSsYXi5m.js → ExpressPayPage-B5QCvPtb-mYcSl8Ub.js} +8 -8
- package/dist/assets/{FeaturePreviewPage-DriDr9id-ROApNhqW.js → FeaturePreviewPage-Czr4aIad-Bq5X23tc.js} +2 -2
- package/dist/assets/{FollowStepsSection-5025urr9-Ck_w_QTD.js → FollowStepsSection-Cf1g5oOj-5G8g4W7R.js} +9 -9
- package/dist/assets/{GlobalReviewListPage-BFjOsp4u-9IO5GFZn.js → GlobalReviewListPage-BI8uyXfO-DlP3gmGv.js} +11 -11
- package/dist/assets/HelpButton-CWPUP9Y_-RpIu9G0D.js +28 -0
- package/dist/assets/{InformationCardStack-DrD-sWV8-CLKN9UMO.js → InformationCardStack-WnJWUp5O-BeMJUt9i.js} +5 -5
- package/dist/assets/{InsightsCardStack-CFqfiCOY-0kHG30ML.js → InsightsCardStack-CRA0RPsW-D6ISd9AF.js} +8 -8
- package/dist/assets/{InsightsSection-CN1BVvSr-C28_ugbT.js → InsightsSection-DvcmBPbo-Kmp0eo1Q.js} +3 -3
- package/dist/assets/{IntegrationsSettingsPage-BBlKuJxA-DdBiffjL.js → IntegrationsSettingsPage-D41_8UnK-CBjS_ZvM.js} +5 -5
- package/dist/assets/{InternationalWireSwiftDetailsPage-f4DZUYIx-DoMtuYGP.js → InternationalWireSwiftDetailsPage-BFN-eaZB-DkA8hvOx.js} +11 -11
- package/dist/assets/{InternationalWireVerificationPage-5WpkXxPC-3ODzEjsY.js → InternationalWireVerificationPage-xmoJO63s-D_kiU9kB.js} +17 -17
- package/dist/assets/{InviteFormPage-Bw2ykerx-yr8DXAFN.js → InviteFormPage-Zy3qQng6-WUFAPnrT.js} +14 -14
- package/dist/assets/{InvitePageListView-BHp1m02Z-DotOTYQz.js → InvitePageListView-gATEAhxa-BJvv1nxH.js} +40 -40
- package/dist/assets/InvitePeoplePage-DkRbCpN7-4Qef88o5.js +12 -0
- package/dist/assets/{InvoiceUploadSection-B8Xsz6dM-CEaP18Oj.js → InvoiceUploadSection-CTbnx9F4-DxOvNNGL.js} +5 -5
- package/dist/assets/{IssueChargeCardPage-DYrMWSZg-ykKhm8SA.js → IssueChargeCardPage-BwBDVxeq-QT3JqZbp.js} +25 -25
- package/dist/assets/{LabeledAddressValue-kKgzA0is-AH8Iao2Q.js → LabeledAddressValue-C5YXOhcz-DcQYX30H.js} +1 -1
- package/dist/assets/{LabeledAddressValueField-Bey_bvyv-B3Pa1cso.js → LabeledAddressValueField-CMIVYcKX-IiR7eG-s.js} +3 -3
- package/dist/assets/{LabeledControlledCheckBoxField-CKrD5nfN-BpCb0QIx.js → LabeledControlledCheckBoxField-Dr8ND8SA-C9Qzlvtb.js} +1 -1
- package/dist/assets/{LabeledCreatableSingleSelectField-B3x1MZJr-DVXxS64O.js → LabeledCreatableSingleSelectField-CrDFWvwI-C1AD80Rw.js} +7 -7
- package/dist/assets/LabeledDocumentField-BG6Pu34Y-Dl5pM6Dq.js +41 -0
- package/dist/assets/LabeledDropDownFormattedTextField-cv7zClcb-f3M9bbM_.js +59 -0
- package/dist/assets/{LabeledText-BUZXeSSr-B6pPUri4.js → LabeledText-DaM1ChQF-BwcpwF0f.js} +3 -3
- package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField--jmAGQy--BwlgKrum.js → LabeledUserSingleSelectWithSubtitlesField-ClM9Uj1y-6k_crmLc.js} +6 -6
- package/dist/assets/{LabeledZeniRolesDropDownField-Dt5MOz8L-Bqi7WOPw.js → LabeledZeniRolesDropDownField-DfAO3Vyq-C62yt72O.js} +21 -21
- package/dist/assets/{LinkJETransactionPage-DZZORFZw-D9YZWkov.js → LinkJETransactionPage-CSlZZ9r4-ChRBBG28.js} +7 -7
- package/dist/assets/{LowBalancePopup-BQYkTR6v-CoYeOAci.js → LowBalancePopup-ZfmTgr7J-C3y63M8c.js} +7 -7
- package/dist/assets/{MagicLinkACHDetailsPage-B2TCqv5k-xt9jOfyd.js → MagicLinkACHDetailsPage-Ad9q16ze-Cc4KtwXI.js} +1 -1
- package/dist/assets/{MagicLinkDomesticWireDetailsPage-D0Fcshtr-CZ7SVepC.js → MagicLinkDomesticWireDetailsPage-TudYpGU_-cwp5jFX6.js} +1 -1
- package/dist/assets/{MagicLinkInternationalWireDetailsPage-BfschSvJ-C5kNVjnK.js → MagicLinkInternationalWireDetailsPage-DfZQur8x-MDCFOTKW.js} +1 -1
- package/dist/assets/{MagicLinkSuccessPage-CLkxou_Q-D2rGGQFx.js → MagicLinkSuccessPage-G9P6M-7E-bWNtOw6X.js} +5 -5
- package/dist/assets/{MagicLinkTitleSection-BcnZtmCV-D01ipFwy.js → MagicLinkTitleSection-BnKDwhBK-wh8Yf-S0.js} +3 -3
- package/dist/assets/{MailingDetailsSection-B5PAttoo-BraCcOIq.js → MailingDetailsSection-BV_-2RQM-CCg3F_6v.js} +1 -1
- package/dist/assets/{MeetingCalenderPopup-DM1wkT0M-o6W0kz73.js → MeetingCalenderPopup-C6y2cRLo-BgxsFwD_.js} +1 -1
- package/dist/assets/{Menu-teOpHszN-0mIgFEc4.js → Menu-Dhi3mAAc-CTdMUIt5.js} +3 -3
- package/dist/assets/{MyBankConnectionsSettingsPage-M74Mv2-V-BlzrdZrc.js → MyBankConnectionsSettingsPage-D1DMNxbh-ChPr7QXP.js} +13 -13
- package/dist/assets/{MyPendingActivationChargeCardListPage-jv9dbM48-C2rob0-n.js → MyPendingActivationChargeCardListPage-CtxNt4Km-OhPuLid4.js} +1 -1
- package/dist/assets/{MyProfileSettingsPage-CrhE1vfc-C3UPxGz1.js → MyProfileSettingsPage-ehPTh7cb-C19JE_a0.js} +8 -8
- package/dist/assets/{NavBarWithPicker-w36OQzVq-BiHkunmC.js → NavBarWithPicker-BF7k45-H-CqiTH9vF.js} +3 -3
- package/dist/assets/{NavigationArrow-CUVjQXS6-DZiLvLAX.js → NavigationArrow-DKuw9kCL-2Rze1y5j.js} +9 -6
- package/dist/assets/{NavigationDots-Dt6TkUQ7-BdJrqnLv.js → NavigationDots-DfJQIsra-CF_rwB9h.js} +1 -1
- package/dist/assets/{NewGlobalMerchantPage-BAq_UQw1-DNne0cwf.js → NewGlobalMerchantPage-CWyjN00H-0DvMrAS7.js} +9 -9
- package/dist/assets/NoDataChart-BHIoW_SW-DoqAVhyM.js +26 -0
- package/dist/assets/{NoDataTable-Akc9VjuK-DJ2LZ4YZ.js → NoDataTable-Txtz3a1x-CVIPKw2H.js} +1 -1
- package/dist/assets/{NotFoundPage-3pCYWZU4-y2wxuZwk.js → NotFoundPage-DewJikvf-DquNlF_a.js} +1 -1
- package/dist/assets/{NotificationSettingsPage-BX5y9Bhs-Da5sQUSW.js → NotificationSettingsPage-CAFlFJ9J-DNtSJXlE.js} +17 -17
- package/dist/assets/NotificationsListConfig-B6PteXf7-BPHFWRyo.js +1 -0
- package/dist/assets/{NotificationsPage-tre5LIJg-CJyFFs31.js → NotificationsPage-CqmgbRYI-B1REvxM0.js} +32 -32
- package/dist/assets/{OpExByVendorPage-Dagfjaza-DO2J5Ea2.js → OpExByVendorPage-CYAYFvCM-CDkrX969.js} +5 -5
- package/dist/assets/{OverlayContainerPage-nhe7xtoR-Bp0KrttL.js → OverlayContainerPage-C0rUb6-5-W0ax80yE.js} +1 -1
- package/dist/assets/{PandLWithForecastPage-B6BwG3ZF-DE8LaM6w.js → PandLWithForecastPage-v5t7YeHA-c32BpF_9.js} +7 -7
- package/dist/assets/{PaymentAccountSetupBillingAddressSection-w6QwL-c4-Puxe83hy.js → PaymentAccountSetupBillingAddressSection-CnCCn9XQ-CNY3y6cT.js} +9 -9
- package/dist/assets/{PeoplePage-EFDCrYUk-qPy4q-1k.js → PeoplePage-D89yZGJn-CFNcLLmk.js} +21 -21
- package/dist/assets/{PortfolioAllocationFormPage-DbGLXM2D-D5lk0F-T.js → PortfolioAllocationFormPage-Cit7ssiw-CpmTmt3z.js} +3 -3
- package/dist/assets/{PortfolioDetails-D2RWl4uo-C7LqS3f9.js → PortfolioDetails-B1HXVeH2-D3KDftxW.js} +12 -12
- package/dist/assets/{ProductsCarousel-o-YsHwnV-C26rbjwc.js → ProductsCarousel-BeOYePu1-BPS8weXu.js} +7 -7
- package/dist/assets/{PromoBaseCards-D21UZaz1-C-zYZYy9.js → PromoBaseCards-D1DDp9C1-BMl9m8-G.js} +25 -25
- package/dist/assets/{QBOConnectionDialog-DOpuFcsk-CB64j051.js → QBOConnectionDialog-nb_5mvqp-CNrftMhR.js} +8 -8
- package/dist/assets/{QBOSetupSection-Dcf_Afvz-CkQkqSr4.js → QBOSetupSection-b-OrlvdU-D5Bh2qoF.js} +11 -11
- package/dist/assets/{ReimbursementApprovalRuleDetailPage-DcDdM_Ss-JUdN2kuA.js → ReimbursementApprovalRuleDetailPage-vg7A7Fqa-DKxcfaTy.js} +1 -1
- package/dist/assets/{ReimbursementApprovalRulesPage-BhdyXjR--cRcR6ce_.js → ReimbursementApprovalRulesPage-FYfZ8-hX-DxG5e0_0.js} +8 -8
- package/dist/assets/ReimbursementDetailPage-DHsqq__V-BbntdEZI.js +314 -0
- package/dist/assets/{ReimbursementPromoPage-DJTuXxOX-CDgDHw1K.js → ReimbursementPromoPage-D-wmyfH--DT237a-Y.js} +16 -16
- package/dist/assets/{ReimbursementSetUpPage-DaIc03J9-Db01NTj9.js → ReimbursementSetUpPage-Cneg3RyB-nHTacFs2.js} +12 -12
- package/dist/assets/{ReimbursementsBulkReviewDrawerPage-BW6yGqNG-DPO4z6gc.js → ReimbursementsBulkReviewDrawerPage-OTHapAJy-B07Bk0eB.js} +1 -1
- package/dist/assets/{ReloadCard-D3-WJk3W-i05V9wY9.js → ReloadCard-D72dkm5s-DHOqIhPE.js} +5 -5
- package/dist/assets/{ReportTableViewSelector-ZI_K0-D2-C-Je6jSA.js → ReportTableViewSelector-DfZ5geuW-DyPrCXZD.js} +7 -7
- package/dist/assets/{ReportsPage-DsILNosH-CtokfcbN.js → ReportsPage-7E3Q5HHF-DXypTMXr.js} +9 -9
- package/dist/assets/{RevenueChart-CKKeqpBi-vHD_4d7Q.js → RevenueChart-G7w1_QXE-CK6mJH77.js} +15 -15
- package/dist/assets/{ReviewDetailsPage-BTag8Rn9-WW8k6K1-.js → ReviewDetailsPage-i6ZXMuAf-CAvd4g6H.js} +19 -19
- package/dist/assets/{ReviewOverlay-CmbxFXT5-BHsJIc-S.js → ReviewOverlay-D0tbkcpk-u3R_yBnI.js} +15 -15
- package/dist/assets/{RoleWithToolTip-D25NUL6y-CFObKMM2.js → RoleWithToolTip-w2s9tX9j-CThc8drW.js} +6 -6
- package/dist/assets/{ScheduleDetailsFixedAssetsPage-svqtgWEw-ygtH9owB.js → ScheduleDetailsFixedAssetsPage-5uPqQbhv-c_seLLEr.js} +8 -8
- package/dist/assets/{ScheduleDetailsPage-ClifB2yP-C6NISszX.js → ScheduleDetailsPage-n2Mhm3VT-Qa9fyFQC.js} +3 -3
- package/dist/assets/{ScheduleSequenceTable-Bzz4WFsb-CrTV1T6R.js → ScheduleSequenceTable-BbLZtq_G-B-PxnDpg.js} +50 -50
- package/dist/assets/{ScreenRoutes-CXS6WPUL.js → ScreenRoutes-1MbaXcJV.js} +35 -35
- package/dist/assets/{SetUpAccountSection-DHHAhE7n-D0tMCLTp.js → SetUpAccountSection-CuOJZCNp-D6aQorsQ.js} +103 -103
- package/dist/assets/{SetUpDefaultSection-DkoRgSyp-BjWpEfaH.js → SetUpDefaultSection-D0d0yzu8-BDWGdtc-.js} +16 -16
- package/dist/assets/{SignIn-DSJylxLB-BcnrJPMA.js → SignIn-CtZ8rTB_-wQdGuYtt.js} +16 -16
- package/dist/assets/{SignInScreen-DhOS546Y.js → SignInScreen-BSTxrh_N.js} +1 -1
- package/dist/assets/{SpendManagementListViewPage-NfjbjBOy-B7fXD1XN.js → SpendManagementListViewPage-ymHs-MwL-BFF1eR3M.js} +13 -13
- package/dist/assets/{SpendManagementPerTabPage-CJqqj2pl-C2XF7ddx.js → SpendManagementPerTabPage-DwRwO5jR-DYEyp8w8.js} +52 -52
- package/dist/assets/{SpendManagementSection-C8jUu71n-RqE2Hvi4.js → SpendManagementSection-B1F6rl-n-Bxu1kHsM.js} +10 -10
- package/dist/assets/{SpendMgmtSetupAccountSection-CNcWLqIc-C_JO-a5E.js → SpendMgmtSetupAccountSection-o-48qyw7-BwGu-MNC.js} +17 -17
- package/dist/assets/{StatementItem-CV3b0pVj-DMjnLG0c.js → StatementItem-CK2sUgkE-C5tUfOGU.js} +8 -8
- package/dist/assets/StatementsPage-D25LsJRp-EGUjR_Fx.js +58 -0
- package/dist/assets/{StatusSwitcher-CxzYEzIO-C4cI6WWu.js → StatusSwitcher-BppDI7-7-CaTqg34_.js} +5 -5
- package/dist/assets/{SubTabSwitcher-_XBeoyd8-B38GS5BN.js → SubTabSwitcher-DTe2L8JC-D4RBO14j.js} +1 -1
- package/dist/assets/{SummaryCard-egXz66_a-CJJYuszp.js → SummaryCard-B-_3DnqQ-C4MQdd4u.js} +1 -1
- package/dist/assets/TaskManagementPage-NFVqhs6K-Bu_ZJ76r.js +508 -0
- package/dist/assets/{TimeRangeSwitcher-DETvaZov-CRwR3tWK.js → TimeRangeSwitcher-D5pSi1fB-XM_OXE-C.js} +5 -5
- package/dist/assets/{TimeframeSwitcher-DRQZAZ8X-U14hDJJR.js → TimeframeSwitcher-CQ37qP58-CJPthL9i.js} +5 -5
- package/dist/assets/TimeframeSwitcherWithToggle-DDX_BvPF-1t-6tvHL.js +31 -0
- package/dist/assets/{TopExCard-CtEulaIf-B39iETZ-.js → TopExCard-CU-kbyDP-BkqVk6Yr.js} +6 -6
- package/dist/assets/{TopExDetailPage-O4MMssGR-DRu6XkOo.js → TopExDetailPage-COxNovqU-TyxPPRK9.js} +11 -11
- package/dist/assets/{TransactionDetailPage-CfY8i6QF-wB9aSjgj.js → TransactionDetailPage-k06RliU--jpVAAS-E.js} +40 -40
- package/dist/assets/{TransactionList-BABUQprb-n0ypY9aq.js → TransactionList-CuRdM1xm-CGrWmUwi.js} +13 -13
- package/dist/assets/{TransactionListBig-qJc1PM0U-CGUJw2Cg.js → TransactionListBig-ByLaQQUK-DVTWGGO_.js} +18 -18
- package/dist/assets/TransactionListPage-ioT-Jexm-z12q095m.js +35 -0
- package/dist/assets/{TransactionVendorDetailPage-nHnLQdj7-mH5Erw2L.js → TransactionVendorDetailPage-Dyg9upjC-FtRQ9fft.js} +6 -6
- package/dist/assets/{TransferDrawerPage-CkbHu9oQ-Cht2cdiM.js → TransferDrawerPage-B6zOVR7E-PtwoiwD5.js} +33 -33
- package/dist/assets/{TreasuryOverviewPage-D9qxqZOy-XRtfcOY8.js → TreasuryOverviewPage-Cae5Kj1r-CipOXBTi.js} +29 -29
- package/dist/assets/{TreasuryPromoPage-Bn_4ae7Q-BpmP0o4b.js → TreasuryPromoPage-iNiwYAiH-bWL0zXEM.js} +15 -15
- package/dist/assets/{TreasurySetupPage-CpZDjXwu-kc5DQ0PA.js → TreasurySetupPage-Bdl5g5Ct-DGTj2ns3.js} +6 -6
- package/dist/assets/{TreasuryStatementsPage-BXDwbrcC-BqAqQWpR.js → TreasuryStatementsPage-CLy-YBGI-_kq4Lb1i.js} +7 -7
- package/dist/assets/{TreasuryTaxLetterPage-Cwf-e3Jz-CzvMXupo.js → TreasuryTaxLetterPage-lRsyHBLO-DlgswuUG.js} +7 -7
- package/dist/assets/{TreasuryTransferOrReviewPage-BSiDVjnO-CsMt7v5I.js → TreasuryTransferOrReviewPage-Cbfh-a6j-DM2Y9vYh.js} +10 -10
- package/dist/assets/TrendChart-BXOatw0x-CophMwJ6.js +16 -0
- package/dist/assets/{TrendWithTransactions-D8xzYG_f-BMQmvsaC.js → TrendWithTransactions-BxoyLfjd-_bPvq9jR.js} +3 -3
- package/dist/assets/{UncategorizedAccountsMappingPage-CteEKVJk-Ci_j0lqd.js → UncategorizedAccountsMappingPage-BA4o7PWu-CMrlTXMW.js} +13 -13
- package/dist/assets/{UnitIntegrationPage-BBAq4_81-BLK9_YdQ.js → UnitIntegrationPage-Clt-99RU-BrzMoE2E.js} +4 -4
- package/dist/assets/{UploadAdditionalDocumentOverlay-Drs2Czkg-Dp6pG15g.js → UploadAdditionalDocumentOverlay-LxTjdCJQ-COub0S1H.js} +1 -1
- package/dist/assets/{Vendor2FAPopup-DKe-eMoF-BtVMQGFU.js → Vendor2FAPopup-DjHQdB-O-CGPHoNJv.js} +1 -1
- package/dist/assets/{VendorACHDetailsPage-CTeRlLgu-_IWON3uB.js → VendorACHDetailsPage-TaEzA3ib-BtSubgL_.js} +1 -1
- package/dist/assets/{VendorDetailPage-Cw7Qe1rv-BrCL8pDb.js → VendorDetailPage-BeADTlAW-BEAFQ3r2.js} +13 -13
- package/dist/assets/{VendorDomesticWireDetailsPage-CYkst1D5-CjY_uYmK.js → VendorDomesticWireDetailsPage-EpIw_vNR-C7RuY-PA.js} +1 -1
- package/dist/assets/{VendorFiling1099EditablePage-CXQx0jJQ-DjRQOzEC.js → VendorFiling1099EditablePage-B-jTzcx7-CbBKMdpG.js} +8 -8
- package/dist/assets/{VendorFirstReviewPage-C1yTYtW6-BIpRORst.js → VendorFirstReviewPage-BrlyeQoC-BZiG_JRb.js} +29 -29
- package/dist/assets/{VendorInternationalWireDetailsPage-CfbGRN9B-DKxuI1Xz.js → VendorInternationalWireDetailsPage-B22crnTD-tpyu7OIk.js} +7 -7
- package/dist/assets/{VendorInternationalWireSwiftDetailsPage-DTxy0byj-UjdvT_22.js → VendorInternationalWireSwiftDetailsPage-BpXZD_Eh-CX1DO0ul.js} +1 -1
- package/dist/assets/{VendorsAccountsSection-B_nDMJSn-w43NKAfh.js → VendorsAccountsSection-CLrfBouK-CqWzAgHB.js} +4 -4
- package/dist/assets/{WarningsDrawerPage-Dz3EM7AW-Cn_EE1t3.js → WarningsDrawerPage-CBZRy4Sm-DJIt8rHu.js} +4 -4
- package/dist/assets/{ZeniAccountDetailPage-C01gqJIN-DYpwX1S6.js → ZeniAccountDetailPage-Bfvuuiyl-Dadw6og4.js} +26 -26
- package/dist/assets/{ZeniAccountListViewPage-3DEdKuaM-Bzlfz6G1.js → ZeniAccountListViewPage-CTqmq_Vp-3SYD23NH.js} +18 -18
- package/dist/assets/ZeniAccountNavBarPieces-iNAQFffX-jEy_vHEe.js +14 -0
- package/dist/assets/{ZeniAccountPromoPage-ClgIxS0H-DaUdOq6A.js → ZeniAccountPromoPage-XHKL_dgv-zxVudUmY.js} +12 -12
- package/dist/assets/{ZeniAccountSetupPage-C-vwyHUJ-AqBG_3fj.js → ZeniAccountSetupPage-BHMr828J-Cb9LGjcX.js} +1 -1
- package/dist/assets/{ZeniCopyright-CqFabZnN-Xvd0tk8E.js → ZeniCopyright-B_2DB9mm-Do8EbmHN.js} +1 -1
- package/dist/assets/{ZeniTransferAmountSlider-BwHzq-qG-BuMliL8i.js → ZeniTransferAmountSlider-BnjyU6o3-D4fZwoL6.js} +1 -1
- package/dist/assets/analytics-DThoELaW.js +7 -0
- package/dist/assets/{analyticsHelper-CvW7m-EV-bCnsFGUq.js → analyticsHelper-Bh8Vo_J_-DdkQ2A3j.js} +1 -1
- package/dist/assets/{analyticsHelper-NhdO2Lvv.js → analyticsHelper-COZBEzRa.js} +1 -1
- package/dist/assets/{chartTypes-0tTBFzPe-DcEHcgPx.js → chartTypes-DpnOYtNo-C1MRDQOQ.js} +1 -1
- package/dist/assets/{commonDimensions-B68wSFi9-B058siE1.js → commonDimensions-D2zuat_O-BjWWOnE2.js} +1 -1
- package/dist/assets/{detailCommon-D2RAJL6g-CsZhexSz.js → detailCommon-CloEmsTm-FeTpoyrx.js} +10 -10
- package/dist/assets/{downloadPdf-IPGZ8YB9-Buj6oTQw.js → downloadPdf-OWaFOL1J-_yuPyAAc.js} +1 -1
- package/dist/assets/{index-DzXOvNDr.js → index-LFy5NlUr.js} +3519 -3479
- package/dist/assets/{liveblocks-BUGn2yQ6.js → liveblocks-sSQ9JElv.js} +1 -1
- package/dist/assets/{mapLoadingInProgressToTreeNode-DhjVTksX-Dlh5NKjO.js → mapLoadingInProgressToTreeNode-Df6n7jwq-DhIXCvCe.js} +1 -1
- package/dist/assets/{mapSectionWithAcOnlyToTreeNode-DtR1UNND-BtcLH27o.js → mapSectionWithAcOnlyToTreeNode-BvlNBFiJ-CBY5TVGr.js} +1 -1
- package/dist/assets/{mapSpacerToTreeNode-oskKbJKo-D68Hhque.js → mapSpacerToTreeNode-BM8XMc8I-DixdkzZo.js} +1 -1
- package/dist/assets/{mapTimeframeBalancesToTreeNode-BkUJJy_y-fXIicGvN.js → mapTimeframeBalancesToTreeNode-B3bP14C6-CT5Uu0sF.js} +1 -1
- package/dist/assets/mui-C5LQ0bMa.js +25 -0
- package/dist/assets/{play-icon-C_pnFd6Q-lN2lvjYa.js → play-icon-NE4JTPpx-CK0WoxqT.js} +1 -1
- package/dist/assets/{redux-DmDqXYej.js → redux-ByjIRbhZ.js} +1 -1
- package/dist/assets/{routing-BNz5gZgX.js → routing-Cpaypegg.js} +1 -1
- package/dist/assets/{toCOABalancesWithID-e2ImXwdp-6i6DtULu.js → toCOABalancesWithID-DN21aiLH-Bx86HqeI.js} +1 -1
- package/dist/assets/{toChartData-Dh91kb97-CsIbB0iq.js → toChartData-CG9GudeA-Bcz5dDyw.js} +1 -1
- package/dist/assets/{treasuryColorHelper-D9SYrM7P-BSV-pyTr.js → treasuryColorHelper-CNX5IuXX-6ZEgxHO3.js} +1 -1
- package/dist/assets/{uploadAttachment-BZTALP74-CMQrMwY6.js → uploadAttachment-D42oX05_-CRxK5DEq.js} +29 -29
- package/dist/assets/{uploadReceipts-BH9fi3Vt-BX0VLBie.js → uploadReceipts-Buvz7DfG-DslgfUmv.js} +1 -1
- package/dist/index.html +1 -1
- package/package.json +5 -5
- package/dist/assets/AccountInfoPage-BoCzcaQW-DxViWInp.js +0 -18
- package/dist/assets/AccountRow-vtPa0PJn-7t40o2xY.js +0 -298
- package/dist/assets/BillingSettingsPage-Bm-IF_p7-B2nr2Ym9.js +0 -44
- package/dist/assets/BillsBulkReviewDrawerPage-CVAG78EK-BtgBzs2i.js +0 -1
- package/dist/assets/BusinessVerificationPage-Ctqy7ZwA-B19QLCB_.js +0 -140
- package/dist/assets/ChargeCardListPage-CXbTalVQ-BLS6RI4m.js +0 -355
- package/dist/assets/ChargeCardPromoPage-BTfg7L28-C7ss_wBa.js +0 -175
- package/dist/assets/CheckDepositDrawerPage-yUzhTMSu-yF_A9nEJ.js +0 -206
- package/dist/assets/ConfettiBurst-C2engbkN-CwjTl8ph.js +0 -1
- package/dist/assets/CustomerOnboardingContainerPage-DzzvTpfs-CZltUaaq.js +0 -1
- package/dist/assets/CustomerOnboardingPage-BiUXryld-C60LhynS.js +0 -107
- package/dist/assets/Dashboard-B1UeMAoF-DFffWJks.js +0 -778
- package/dist/assets/DomesticWireDetailsPage-CVKheLW6-BB1dLHxc.js +0 -21
- package/dist/assets/EditPeoplePage-DgVDgYlm-BOZM-HHs.js +0 -55
- package/dist/assets/HelpButton-CzonsAOi-CpJGWOZd.js +0 -28
- package/dist/assets/InvitePeoplePage-BnlUrpPG-CtGFkSs6.js +0 -12
- package/dist/assets/LabeledDocumentField-BKPP0tRe-uJ2UBUcm.js +0 -41
- package/dist/assets/LabeledDropDownFormattedTextField-NsCaPjuf-C6RA1FA0.js +0 -59
- package/dist/assets/NoDataChart-CydgbaO2-DdRkmdPL.js +0 -26
- package/dist/assets/NotificationsListConfig-BrTtuTMy-BLAPlV59.js +0 -1
- package/dist/assets/ReimbursementDetailPage-BSWNsboq-BCQrIgF4.js +0 -314
- package/dist/assets/StatementsPage-ly5aBK2M-BYfgG9ys.js +0 -58
- package/dist/assets/TaskManagementPage-CQL5Q6wr-BoN297Gh.js +0 -508
- package/dist/assets/TimeframeSwitcherWithToggle-CuU7mRU9-BVXkT6kO.js +0 -31
- package/dist/assets/TransactionListPage-DuAk6fJT-YMk07RwL.js +0 -35
- package/dist/assets/TrendChart-Dp3QrDED-Dtv6XBVa.js +0 -16
- package/dist/assets/ZeniAccountNavBarPieces-bthmMpbV-Dx0UH75I.js +0 -14
- package/dist/assets/analytics-BSSiLa6f.js +0 -7
- package/dist/assets/mui-BgvZYSo0.js +0 -22
|
@@ -1,107 +1,107 @@
|
|
|
1
|
-
import{X as P,u as Ae,
|
|
1
|
+
import{X as P,u as Ae,a1 as ct,a as dt,c2 as pt,M as k,j as t,aW as mt,F as ut,c3 as ht,l as V,a3 as ft,C as m,c4 as xt,a2 as Ce,o as a,q as te,c5 as z,c6 as ze,c7 as L,c8 as yt,c9 as qe,ca as gt,cb as bt,cc as Ue,t as $t,cd as wt,ce as He,cf as Ge,cg as It,ch as jt,ci as vt,g as N,cj as St,ck as Dt,aM as Ot,a5 as Ct,an as U,cl as Fe,p,w as Ze,K as Me,cm as Ft,H as kt,cn as Tt,co as Nt,b1 as Pt,cp as Lt,bF as zt,cq as Mt,f as Et,b2 as R,cr as Vt,v as de,a$ as Bt}from"./index-LFy5NlUr.js";import{b as _,n as s,f as Wt,k as _t}from"./vendor-CnQcJ2Lu.js";import{I as Ke}from"./LabeledCreatableSingleSelectField-CrDFWvwI-C1AD80Rw.js";import{Y as Xe}from"./LabeledDocumentField-BG6Pu34Y-Dl5pM6Dq.js";import{$ as Je}from"./LabeledAddressValue-C5YXOhcz-DcQYX30H.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 Qe={maxWidth:new m(280,340),contentMaxWidth:new m(200,255)},Rt=_t`
|
|
2
2
|
0% {
|
|
3
3
|
transform: translateX(100%)
|
|
4
4
|
}
|
|
5
5
|
100% {
|
|
6
6
|
transform: translateX(0)
|
|
7
7
|
}
|
|
8
|
-
`,
|
|
8
|
+
`,Yt=s.div`
|
|
9
9
|
position: fixed;
|
|
10
|
-
top: ${
|
|
11
|
-
right: ${
|
|
10
|
+
top: ${a.sp3};
|
|
11
|
+
right: ${a.sp3};
|
|
12
12
|
z-index: 1400;
|
|
13
|
-
padding: ${
|
|
13
|
+
padding: ${a.sp3} ${a.sp4};
|
|
14
14
|
max-width: ${e=>Qe.maxWidth.valuePx(e.windowSize)};
|
|
15
15
|
background: ${e=>e.theme.colors.black};
|
|
16
16
|
border-radius: 12px;
|
|
17
|
-
box-shadow: ${e=>`${
|
|
17
|
+
box-shadow: ${e=>`${a.sp0} ${a.sp1} ${a.sp1} ${e.theme.colors.dropShadowNormal}`};
|
|
18
18
|
display: flex;
|
|
19
19
|
flex-direction: row;
|
|
20
20
|
justify-content: center;
|
|
21
21
|
align-items: flex-start;
|
|
22
|
-
animation: ${
|
|
23
|
-
`,
|
|
22
|
+
animation: ${Rt} 0.4s;
|
|
23
|
+
`,At=s(St)`
|
|
24
24
|
margin-top: 2px;
|
|
25
|
-
width: ${
|
|
26
|
-
height: ${
|
|
25
|
+
width: ${a.sp4};
|
|
26
|
+
height: ${a.sp4};
|
|
27
27
|
color: ${N.successDark};
|
|
28
|
-
`,
|
|
28
|
+
`,qt=s(Dt)`
|
|
29
29
|
margin-top: 2px;
|
|
30
|
-
width: ${
|
|
31
|
-
height: ${
|
|
30
|
+
width: ${a.sp4};
|
|
31
|
+
height: ${a.sp4};
|
|
32
32
|
color: ${N.important};
|
|
33
|
-
`,
|
|
34
|
-
margin-top: ${
|
|
35
|
-
`,
|
|
33
|
+
`,Ut=s.div`
|
|
34
|
+
margin-top: ${a.sp1};
|
|
35
|
+
`,Ht=s(Ct)`
|
|
36
36
|
color: ${N.neutralGrey2Light};
|
|
37
|
-
`,
|
|
37
|
+
`,Gt=s.div`
|
|
38
38
|
max-width: ${e=>Qe.contentMaxWidth.valuePx(e.windowSize)};
|
|
39
|
-
margin: ${
|
|
40
|
-
`,
|
|
39
|
+
margin: ${a.sp0} ${a.sp3};
|
|
40
|
+
`,Zt=s(Ot)`
|
|
41
41
|
color: ${e=>e.isSuccess?N.success:N.important};
|
|
42
|
-
`,
|
|
43
|
-
width: ${
|
|
44
|
-
height: ${
|
|
42
|
+
`,Kt=s.div`
|
|
43
|
+
width: ${a.sp3};
|
|
44
|
+
height: ${a.sp3};
|
|
45
45
|
cursor: pointer;
|
|
46
46
|
color: ${e=>e.theme.colors.hero};
|
|
47
47
|
&:hover {
|
|
48
48
|
color: ${N.primaryDark};
|
|
49
49
|
}
|
|
50
|
-
`,
|
|
50
|
+
`,Xt=e=>{const o=k.getLocalizedStrings().companyPassport.snackBar;return e==="Error"?o.failedText:o.successText};function Jt(e){const o=P(),{fetchState:l,onRemoveSnackbar:i}=e;_.useEffect(()=>{setTimeout(i,5e3)});const n=k.getLocalizedStrings().companyPassport.snackBar,c=l==="Completed";return t.jsxs(Yt,{windowSize:o,children:[c?t.jsx(At,{}):t.jsx(qt,{}),t.jsxs(Gt,{windowSize:o,children:[t.jsx(Zt,{isSuccess:c,children:c?n.success:n.error}),t.jsx(Ut,{children:t.jsx(Ht,{children:Xt(l)})})]}),t.jsx(Kt,{onClick:i,children:t.jsx(Ce,{})})]})}const ne={labelWidth:new m(110,145,180),largeLabelWidth:new m(150,215,215),largeLabelDocumentWidth:new m(150,210,252),paddingBottom:new m(p[3],p[2])};function Qt(e){const o=P(),[l,i]=_.useState(!1),{companyPassport:n,commonSetUp:{businessVerification:c},common:{documents:f}}=k.getLocalizedStrings(),{fileProps:d,companyFiles:r,deleteFileStatusById:u,updateFileStatusById:y,sectionId:b,isDisabled:h,companyIncInfo:$,style:I}=e,D=ne.labelWidth.value(o),j=ne.largeLabelWidth.value(o),g=ne.largeLabelDocumentWidth.value(o),{dateFormat:{visual:O},companyPassport:S}=k.getLocalizedStrings(),x=r.find(X=>X.documentType==="certificate_of_incorporation"),B=o==="small"?n.companyIncInfo.stateOfIncPlaceholderSmall:n.companyIncInfo.stateOfIncPlaceholder,me=o==="small"?n.companyIncInfo.typeOfIncPlaceholderSmall:n.companyIncInfo.typeOfIncPlaceholder;return t.jsxs(ea,{style:I,children:[t.jsx(aa,{children:n.companyIncInfo.title}),t.jsxs(ta,{children:[t.jsx(Ke,{label:{label:S.companyIncInfo.typeOfInc,width:j},isDisabled:h,creatableSingleSelectField:{name:re(b,"typeOfInc"),placeholder:me,defaultValue:{selectedOption:$?.typeOfInc,allOptions:n.companyIncInfo.allTypesOfIncorporation}}}),t.jsx(he,{}),t.jsx(gt,{label:{label:S.companyIncInfo.stateOfInc,width:j},isDisabled:h,singleSelectField:{name:re(b,"stateOfInc"),placeholder:B,defaultValue:{selectedOption:$?.stateOfInc,allOptions:n.companyIncInfo.allStatesOfIncorporation}}}),t.jsx(he,{}),t.jsx(bt,{isDisabled:h,label:{label:n.companyIncInfo.incDate,width:D},style:{paddingBottom:ne.paddingBottom.valuePx(o)},dateField:{name:re(b,"incDate"),placeholder:L(n.companyIncInfo.incDate),defaultValue:$?.incDate,dateFormat:O.defaultInput,maxDate:V.dateNow(),minDate:V.zeniDate("01 Jan 1900"),autoComplete:"off"}}),t.jsx(he,{}),t.jsx(Xe,{name:re(b,"certificateOfIncorporation"),isDisabled:h,sizeLimit:Ue,deleteFileStatusById:u,updateFileStatusById:y,filesEndPoint:d.filesEndPoint,authParams:d.authParams,label:{label:c.certificateOfIncorporation,width:g},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:!1},hasError:l,updateFilesEntity:d.updateFilesEntity,onEditFileName:d.onEditFileName,onDeleteFile:d.onDeleteFile,onFileSizeError:X=>i(X)}),t.jsx(oa,{windowSize:o,isError:l,children:f.formatDocumentText10MB})]})]})}const re=(e,o)=>`${e}.${o}`,ea=s.div`
|
|
51
51
|
display: flex;
|
|
52
52
|
flex-direction: column;
|
|
53
|
-
padding-top: ${
|
|
54
|
-
padding-bottom: ${
|
|
55
|
-
`,
|
|
53
|
+
padding-top: ${a.sp3};
|
|
54
|
+
padding-bottom: ${a.sp9};
|
|
55
|
+
`,ta=s.div`
|
|
56
56
|
display: flex;
|
|
57
57
|
flex-direction: column;
|
|
58
58
|
background-color: ${e=>e.theme.colors.grey5};
|
|
59
59
|
border: 1px solid ${e=>e.theme.colors.grey3};
|
|
60
|
-
box-shadow: ${e=>`${
|
|
61
|
-
border-radius: ${
|
|
62
|
-
`,
|
|
60
|
+
box-shadow: ${e=>`${a.sp0} 2px ${a.sp1} ${e.theme.colors.dropShadowNormal}`};
|
|
61
|
+
border-radius: ${a.sp2};
|
|
62
|
+
`,aa=s(U)`
|
|
63
63
|
color: ${e=>e.theme.colors.champion};
|
|
64
|
-
margin-bottom: ${
|
|
64
|
+
margin-bottom: ${a.sp3};
|
|
65
65
|
`,he=s.div`
|
|
66
66
|
display: flex;
|
|
67
67
|
flex: 1;
|
|
68
68
|
background-color: ${e=>e.theme.colors.grey3};
|
|
69
69
|
min-height: 1px;
|
|
70
70
|
max-height: 1px;
|
|
71
|
-
`,
|
|
72
|
-
padding: ${
|
|
71
|
+
`,oa=s(Ze)`
|
|
72
|
+
padding: ${a.sp1} ${a.sp4};
|
|
73
73
|
background: ${e=>e.theme.colors.grey4};
|
|
74
|
-
border-radius: ${
|
|
74
|
+
border-radius: ${a.sp0} ${a.sp0} ${a.sp2} ${a.sp2};
|
|
75
75
|
text-align: ${e=>e.windowSize==="small"?"initial":"right"};
|
|
76
76
|
color: ${e=>e.isError?N.important:e.theme.colors.grey1};
|
|
77
|
-
`,
|
|
77
|
+
`,la=s(Mt)`
|
|
78
78
|
color: ${e=>e.theme.colors.primary};
|
|
79
|
-
margin-block-start: ${
|
|
80
|
-
margin-block-end: ${
|
|
81
|
-
padding: 0 ${
|
|
79
|
+
margin-block-start: ${a.sp0};
|
|
80
|
+
margin-block-end: ${a.sp0};
|
|
81
|
+
padding: 0 ${a.sp3};
|
|
82
82
|
text-align: right;
|
|
83
83
|
list-style-position: inside;
|
|
84
|
-
`,
|
|
84
|
+
`,ia=s.li`
|
|
85
85
|
text-decoration: ${e=>e.isCancelled?"line-through":"unset"};
|
|
86
|
-
`,
|
|
86
|
+
`,sa=s(Et)`
|
|
87
87
|
color: ${e=>e.theme.colors.grey1};
|
|
88
|
-
border-radius: ${
|
|
88
|
+
border-radius: ${a.sp1};
|
|
89
89
|
border: 1px solid ${e=>e.theme.colors.grey2};
|
|
90
90
|
padding: 1px 6px 1px 6px;
|
|
91
91
|
width: fit-content;
|
|
92
92
|
margin-left: auto;
|
|
93
|
-
margin-bottom: ${
|
|
94
|
-
`,
|
|
93
|
+
margin-bottom: ${a.sp2};
|
|
94
|
+
`,na=e=>{const{labels:o,style:l,listStyleType:i="disc"}=e;return t.jsx(la,{style:{...l,listStyleType:i},children:o.filter(n=>n!=null&&n.text!="").map((n,c)=>t.jsxs(ia,{isCancelled:n.status==="cancelled",children:[n.text,n.subText!=null?t.jsxs(sa,{children:["Started: ",n.subText]}):null]},`${n.text}_${c}`))})},K={width:new m(343,580,726),paddingTopBottom:new m(p[3],p[3]),marginRight:new m(p[2],p[2]),labelMarginLeft:new m(p[3],p[4]),labelMarginRight:new m(p[3],p[4])};function pe({isDisabled:e,label:o,bullettedLabels:l,style:i}){const n=P();return l.labels.length>0?t.jsxs(ra,{size:n,style:i,children:[t.jsx(Fe,{isDisabled:e,label:o.label,style:{marginLeft:K.labelMarginLeft.value(n),marginRight:K.labelMarginRight.value(n),width:o.width??"auto"}}),t.jsx(na,{...l,style:{maxWidth:o.width!=null?`calc(100% - ${o.width}px)`:"auto"}})]}):null}const ra=s.div`
|
|
95
95
|
display: flex;
|
|
96
96
|
flex-direction: row;
|
|
97
97
|
align-items: flex-start;
|
|
98
98
|
justify-content: space-between;
|
|
99
99
|
background-color: ${e=>e.theme.colors.grey5};
|
|
100
|
-
width: ${e=>
|
|
100
|
+
width: ${e=>K.width.valuePx(e.size)};
|
|
101
101
|
height: auto;
|
|
102
|
-
padding-right: ${e=>
|
|
103
|
-
padding-top: ${e=>
|
|
104
|
-
padding-bottom: ${e=>
|
|
102
|
+
padding-right: ${e=>K.marginRight.valuePx(e.size)};
|
|
103
|
+
padding-top: ${e=>K.paddingTopBottom.valuePx(e.size)};
|
|
104
|
+
padding-bottom: ${e=>K.paddingTopBottom.valuePx(e.size)};
|
|
105
105
|
|
|
106
106
|
:first-of-type {
|
|
107
107
|
border-top-left-radius: inherit;
|
|
@@ -112,73 +112,73 @@ import{X as P,u as Ae,a5 as ca,a as da,c3 as pa,M as k,j as a,aW as ma,F as ua,c
|
|
|
112
112
|
border-bottom-left-radius: inherit;
|
|
113
113
|
border-bottom-right-radius: inherit;
|
|
114
114
|
}
|
|
115
|
-
`,fe={labelWidth:new m(110,110,140),mediumLabelWidth:new m(140,140,160),largeLabelWidth:new m(170,170,180)},{companyPassport:v,dateFormat:{analytics:Ee}}=k.getLocalizedStrings();function
|
|
115
|
+
`,fe={labelWidth:new m(110,110,140),mediumLabelWidth:new m(140,140,160),largeLabelWidth:new m(170,170,180)},{companyPassport:v,dateFormat:{analytics:Ee}}=k.getLocalizedStrings();function ca({companyViewData:e,allIndustries:o,companyInfo:l,companyAddress:i,sectionId:n,isDisabled:c,onCompanyAddressClick:f,style:d}){const r=P(),u=e.company.company.companyInfo,y=fe.labelWidth.value(r),b=fe.mediumLabelWidth.value(r),h=fe.largeLabelWidth.value(r),$=r==="small"?v.companyInfo.businessModelPlaceholderSmall:v.companyInfo.businessModelPlaceholder,I=D=>o.find(j=>j.code===D)?.name??D;return t.jsxs(pa,{style:d,children:[t.jsx(ua,{children:v.companyInfo.title}),t.jsxs(ma,{children:[t.jsx(z,{isDisabled:c,label:{label:v.companyInfo.companyName,width:h},text:{type:"text",name:G(n,"companyName"),placeholder:L(v.companyInfo.companyName),defaultValue:l?.companyName,autoComplete:"new-password",options:{required:!!u.name,pattern:ze}}}),t.jsx(q,{}),t.jsx(z,{isDisabled:c,label:{label:v.companyInfo.legalName,width:b},text:{type:"text",name:G(n,"legalName"),placeholder:L(v.companyInfo.legalName),defaultValue:l?.legalName,autoComplete:"new-password",options:{required:!!u.companyLegalName,pattern:ze}}}),t.jsx(q,{}),t.jsx(z,{isDisabled:c,label:{label:v.companyInfo.website,width:y},text:{type:"url",name:G(n,"website"),placeholder:L(v.companyInfo.website),defaultValue:l?.website?.toString()??"",autoComplete:"new-password"}}),t.jsx(q,{}),t.jsx(yt,{label:{label:v.companyInfo.industry,width:y},singleSelectField:{singleSelect:{name:G(n,"industry"),placeholder:v.companyInfo.industryPlaceholder,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:I,isDisabled:c,showTickMark:!1},defaultValue:{selectedOption:l?.industry,allOptions:o?.map(D=>D.code)??[]}},isFunctional:!0}),t.jsx(q,{}),t.jsx(Ke,{isDisabled:c,label:{label:v.companyInfo.businessModel,width:h},creatableSingleSelectField:{name:G(n,"businessModel"),placeholder:$,defaultValue:{selectedOption:l?.businessModel,allOptions:v.companyInfo.allBusinessModels}}}),t.jsx(q,{}),t.jsx(Je,{isDisabled:c,label:{label:v.companyInfo.address,width:y},addressValue:{placeholder:L(v.companyInfo.address),address:i?.addressToCreate,onClick:()=>f("company_address")}}),t.jsx(q,{}),t.jsx(qe,{isDisabled:c,label:{label:v.companyInfo.phone,width:y},text:{name:G(n,"phone"),placeholder:L(v.companyInfo.phone),defaultValue:l?.phone,autoComplete:"new-password"}}),t.jsx(q,{}),t.jsx(pe,{label:{label:v.companyInfo.fiscalYear,width:y},bullettedLabels:{labels:[{text:da(l?.firstMonthOfFY??1)}],listStyleType:"none"}})]})]})}const da=e=>{const{fiscalYearMonths:o}=V.getFYMonths(e);return`${V.dateNow().month(o[0]-1).format(Ee.MMMFormat)} to ${V.dateNow().month(o[11]-1).format(Ee.MMMFormat)}`},G=(e,o)=>`${e}.${o}`,pa=s.div`
|
|
116
116
|
display: flex;
|
|
117
117
|
flex-direction: column;
|
|
118
|
-
padding-top: ${
|
|
119
|
-
padding-bottom: ${
|
|
120
|
-
`,
|
|
118
|
+
padding-top: ${a.sp3};
|
|
119
|
+
padding-bottom: ${a.sp9};
|
|
120
|
+
`,ma=s.div`
|
|
121
121
|
display: flex;
|
|
122
122
|
flex-direction: column;
|
|
123
123
|
background-color: ${e=>e.theme.colors.grey5};
|
|
124
124
|
border: 1px solid ${e=>e.theme.colors.grey3};
|
|
125
|
-
box-shadow: ${e=>`${
|
|
126
|
-
border-radius: ${
|
|
127
|
-
`,
|
|
125
|
+
box-shadow: ${e=>`${a.sp0} 2px ${a.sp1} ${e.theme.colors.dropShadowNormal}`};
|
|
126
|
+
border-radius: ${a.sp2};
|
|
127
|
+
`,ua=s(U)`
|
|
128
128
|
color: ${e=>e.theme.colors.champion};
|
|
129
|
-
margin-bottom: ${
|
|
129
|
+
margin-bottom: ${a.sp3};
|
|
130
130
|
`,q=s.div`
|
|
131
131
|
display: flex;
|
|
132
132
|
flex: 1;
|
|
133
133
|
background-color: ${e=>e.theme.colors.grey3};
|
|
134
134
|
min-height: 1px;
|
|
135
135
|
max-height: 1px;
|
|
136
|
-
`,be={labelWidth:new m(110,110,140),buttonWidth:new m(70,70)};function
|
|
136
|
+
`,be={labelWidth:new m(110,110,140),buttonWidth:new m(70,70)};function ha({sectionId:e,isDisabled:o,style:l,officer:i,officerAddress:n,isEmptyCompanyOfficerSection:c,onOfficerAddressClick:f}){const d=P(),r=k.getLocalizedStrings().companyPassport,u=be.labelWidth.value(d),y=c&&(i==null||!i.firstName&&!i.lastName&&!i.phone&&!i.email&&!n),b=i?.userId==null||i?.userId==="";return t.jsxs(ba,{style:l,children:[t.jsx(He,{isDisabled:o,label:{label:r.companyOfficer.name,width:u},nameField:{name:xe(e,"name"),placeHolder:{firstName:r.companyOfficer.firstNamePlaceholder,lastName:r.companyOfficer.lastNamePlaceholder,name:r.companyOfficer.namePlaceholder},defaultValue:{firstName:i?.firstName??"",lastName:i?.lastName??""},autoComplete:"new-password",registerOptions:{required:y!==!0},showFullNameError:!0}}),t.jsx(ye,{}),t.jsx(z,{isDisabled:b?o:"readonly",label:{label:r.companyOfficer.email,width:u},text:{type:"email",name:xe(e,"email"),placeholder:L(r.companyOfficer.email),options:{required:y===!0?!1:b},defaultValue:i?.email,autoComplete:"new-password"}}),t.jsx(ye,{}),t.jsx(Je,{isDisabled:o,label:{label:r.companyInfo.address,width:u},addressValue:{placeholder:L(r.companyOfficer.address),address:n?.addressToCreate,onClick:()=>{f(i?.officerType.toLocaleLowerCase().concat("_address"))}}}),t.jsx(ye,{}),t.jsx(qe,{isDisabled:o,label:{label:r.companyOfficer.phone,width:u},text:{name:xe(e,"phone"),placeholder:L(r.companyOfficer.phone),defaultValue:i?.phone,autoComplete:"new-password"}})]})}function fa({companyOfficers:e,sectionId:o,style:l,isDisabled:i,onOfficerAddressClick:n}){const{setValue:c,getValues:f}=Ge(),[d,r]=_.useState(-1),u=k.getLocalizedStrings().companyPassport,y=e.length,b=e.length===1&&e[0].localData?.userId==null,h=f(o),$=()=>{const g={userId:void 0,officerType:`Officer_${y+1}`,name:{firstName:"",lastName:""},email:"",phone:""};c(o,[...h,g])},I=g=>{if(e[g].localData==null||!e[g].localData?.firstName&&!e[g].localData?.lastName&&!e[g].localData?.phone&&!e[g].localData?.email&&!e[g].addressStatus?.addressToCreate){const O=h.filter((S,x)=>x!==d);c(o,O),r(-1)}else r(g)},D=()=>{r(-1)},j=()=>{const g=h.filter((O,S)=>S!==d);c(o,g),r(-1)};return t.jsxs(ga,{style:l,children:[t.jsx($a,{children:u.companyOfficer.title}),e.map((g,O)=>{const S=g.localData,x=g.addressStatus,B=S?.userId==null||S?.userId==="";return t.jsxs(wa,{children:[(y>1||B)&&!b?t.jsx(xa,{curIndex:O,isNewUser:B,numberOfOfficers:y,deleteConfirmationIndex:d,isDisabled:i,onDeleteClick:I,onCancelClick:D,onRemoveOfficerSection:j}):null,t.jsx(ha,{sectionId:`${o}.${O}`,officer:S,officerAddress:x,isDisabled:i,isEmptyCompanyOfficerSection:b,onOfficerAddressClick:n})]},S?.officerType)}),y<=9&&!b?t.jsx(ya,{isSectionDisabled:i,onAddOfficerSection:$}):t.jsx($e,{})]})}const xa=({curIndex:e,isNewUser:o,numberOfOfficers:l,deleteConfirmationIndex:i,isDisabled:n,onDeleteClick:c,onCancelClick:f,onRemoveOfficerSection:d})=>{const r=P(),u=k.getLocalizedStrings().companyPassport;return t.jsxs(Ia,{children:[t.jsx(ja,{children:l>1?`${u.companyOfficer.officer} ${e+1}`:""}),o&&n==null?i===e?t.jsx(Ca,{children:t.jsxs(Fa,{children:[u.companyOfficer.deleteConfirmation,t.jsx(Me,{label:u.cancel,onClick:f,style:{width:be.buttonWidth.value(r),marginLeft:a.sp4,marginRight:a.sp3},size:"small",variant:"secondary"}),t.jsx(Me,{label:u.remove,onClick:d,style:{width:be.buttonWidth.value(r)},size:"small",variant:"danger"})]})}):t.jsx(Oa,{className:"delete-icon-wrapper",onClick:()=>c(e),children:t.jsx(Ft,{width:p[3],height:p[3],color:N.important})}):null]})},ya=({isSectionDisabled:e,onAddOfficerSection:o})=>{const l=k.getLocalizedStrings().companyPassport;return e!=null?t.jsx($e,{}):t.jsxs(t.Fragment,{children:[t.jsxs(va,{onClick:o,children:[t.jsx(Sa,{}),t.jsx(Da,{children:l.companyOfficer.addOfficer})]}),t.jsx($e,{})]})},xe=(e,o)=>`${e}.${o}`,ga=s.div`
|
|
137
137
|
display: flex;
|
|
138
138
|
flex-direction: column;
|
|
139
|
-
padding-top: ${
|
|
139
|
+
padding-top: ${a.sp3};
|
|
140
140
|
width: 100%;
|
|
141
|
-
`,
|
|
141
|
+
`,ba=s.div`
|
|
142
142
|
display: flex;
|
|
143
143
|
flex-direction: column;
|
|
144
144
|
background-color: ${e=>e.theme.colors.grey5};
|
|
145
145
|
border: 1px solid ${e=>e.theme.colors.grey3};
|
|
146
|
-
box-shadow: ${e=>`${
|
|
147
|
-
border-radius: ${
|
|
148
|
-
margin-bottom: ${
|
|
146
|
+
box-shadow: ${e=>`${a.sp0} 2px ${a.sp1} ${e.theme.colors.dropShadowNormal}`};
|
|
147
|
+
border-radius: ${a.sp2};
|
|
148
|
+
margin-bottom: ${a.sp4};
|
|
149
149
|
`,$e=s.div`
|
|
150
|
-
padding-bottom: ${
|
|
151
|
-
`,$
|
|
150
|
+
padding-bottom: ${a.sp6};
|
|
151
|
+
`,$a=s(U)`
|
|
152
152
|
color: ${e=>e.theme.colors.champion};
|
|
153
|
-
margin-bottom: ${
|
|
154
|
-
`,
|
|
153
|
+
margin-bottom: ${a.sp4};
|
|
154
|
+
`,wa=s.div`
|
|
155
155
|
&:hover {
|
|
156
156
|
.delete-icon-wrapper {
|
|
157
157
|
display: flex;
|
|
158
158
|
}
|
|
159
159
|
}
|
|
160
|
-
`,
|
|
160
|
+
`,Ia=s(U)`
|
|
161
161
|
display: flex;
|
|
162
162
|
align-items: center;
|
|
163
163
|
justify-content: space-between;
|
|
164
164
|
color: ${e=>e.theme.colors.champion};
|
|
165
|
-
margin-bottom: ${
|
|
165
|
+
margin-bottom: ${a.sp2};
|
|
166
166
|
height: 31px;
|
|
167
167
|
|
|
168
168
|
.delete-icon-wrapper {
|
|
169
169
|
display: none;
|
|
170
170
|
}
|
|
171
|
-
`,
|
|
172
|
-
padding: ${
|
|
171
|
+
`,ja=s(te)``,va=s.div`
|
|
172
|
+
padding: ${a.sp3};
|
|
173
173
|
display: flex;
|
|
174
174
|
align-items: center;
|
|
175
175
|
justify-content: center;
|
|
176
176
|
background-color: ${e=>e.theme.colors.grey5};
|
|
177
177
|
border: 1px solid ${e=>e.theme.colors.grey3};
|
|
178
|
-
border-radius: ${
|
|
179
|
-
box-shadow: ${e=>`${
|
|
178
|
+
border-radius: ${a.sp2};
|
|
179
|
+
box-shadow: ${e=>`${a.sp0} 2px ${a.sp1} ${e.theme.colors.dropShadowNormal}`};
|
|
180
180
|
color: ${e=>e.theme.colors.hero};
|
|
181
|
-
margin-bottom: ${
|
|
181
|
+
margin-bottom: ${a.sp4};
|
|
182
182
|
cursor: pointer;
|
|
183
183
|
|
|
184
184
|
&:hover {
|
|
@@ -188,20 +188,20 @@ import{X as P,u as Ae,a5 as ca,a as da,c3 as pa,M as k,j as a,aW as ma,F as ua,c
|
|
|
188
188
|
color: ${e=>e.theme.colors.primary};
|
|
189
189
|
border: 1px solid ${e=>e.theme.colors.primary};
|
|
190
190
|
}
|
|
191
|
-
`,
|
|
192
|
-
margin-right: ${
|
|
193
|
-
width: ${
|
|
194
|
-
height: ${
|
|
191
|
+
`,Sa=s(Lt)`
|
|
192
|
+
margin-right: ${a.sp2};
|
|
193
|
+
width: ${a.sp4};
|
|
194
|
+
height: ${a.sp4};
|
|
195
195
|
color: ${e=>e.theme.colors.grey1};
|
|
196
|
-
`,
|
|
196
|
+
`,Da=s(zt)`
|
|
197
197
|
color: inherit;
|
|
198
|
-
`,
|
|
199
|
-
width: ${
|
|
200
|
-
height: ${
|
|
198
|
+
`,Oa=s.div`
|
|
199
|
+
width: ${a.sp4};
|
|
200
|
+
height: ${a.sp4};
|
|
201
201
|
cursor: pointer;
|
|
202
|
-
`,
|
|
202
|
+
`,Ca=s.div`
|
|
203
203
|
display: flex;
|
|
204
|
-
`,
|
|
204
|
+
`,Fa=s(te)`
|
|
205
205
|
color: ${e=>e.theme.colors.hero};
|
|
206
206
|
`,ye=s.div`
|
|
207
207
|
display: flex;
|
|
@@ -209,14 +209,14 @@ import{X as P,u as Ae,a5 as ca,a as da,c3 as pa,M as k,j as a,aW as ma,F as ua,c
|
|
|
209
209
|
background-color: ${e=>e.theme.colors.grey3};
|
|
210
210
|
min-height: 1px;
|
|
211
211
|
max-height: 1px;
|
|
212
|
-
`,
|
|
212
|
+
`,ka=({name:e,registerOptions:o,defaultValue:l,isDisabled:i,style:n,placeholder:c})=>{const{control:f,formState:{errors:d}}=Ge(),r=Ae(),u=Tt(d,e??""),y={container:h=>({...h,width:"100%",...n}),menu:h=>({...h,backgroundColor:r.colors.grey5,borderRadius:a.sp1,boxShadow:`${a.sp0} 2px ${a.sp2} ${r.colors.dropShadowHover}`,whiteSpace:"nowrap",zIndex:2,width:"100%",margin:0}),menuList:h=>({...h,borderRadius:0})},b={hasError:u};return t.jsx(Nt,{name:e,control:f,defaultValue:l,rules:o,render:({field:{onChange:h,onBlur:$,value:I,ref:D}})=>t.jsx(Pt,{...b,ref:D,isMulti:!0,isSearchable:!0,isClearable:!0,controlShouldRenderValue:!0,placeholder:c,value:Ve(I.selectedOptions),options:Ve(I.allOptions),onChange:j=>{h({selectedOptions:j.map(g=>g.value),allOptions:I.allOptions})},tabSelectsValue:!1,openMenuOnFocus:!0,classNamePrefix:"multi-select-field",onBlur:$,menuPlacement:"auto",maxMenuHeight:288,menuShouldScrollIntoView:!1,closeMenuOnSelect:!1,components:{Control:Ta,Option:Ba,Input:Pa,MultiValue:La,MultiValueLabel:za,MultiValueRemove:Ma,ValueContainer:Na,DropdownIndicator:Ga,IndicatorSeparator:Za,Placeholder:Va,ClearIndicator:Ea},hideSelectedOptions:!1,styles:y,isDisabled:i!=null})})},Ta=e=>{const{menuIsOpen:o,isFocused:l,isDisabled:i,selectProps:n}=e,{value:c,hasError:f}=n;return t.jsx(Wa,{menuIsOpen:o,isFocused:l,isDisabled:i,optionsLen:c.length,hasError:f,children:t.jsx(R.Control,{...e,className:"select-control",children:e.children})})},Na=e=>{const{selectProps:o}=e,{value:l}=o;return t.jsxs(R.ValueContainer,{...e,className:"select-value-container",children:[e.children,t.jsx(_a,{className:"selected-options",children:l.map(i=>i.value).join(", ")})]})},Pa=e=>{const{selectProps:o}=e,{placeholder:l,value:i}=o;return t.jsx(R.Input,{...e,autoComplete:"new-password",placeholder:i.length===0?l:void 0,children:e.children})},La=e=>t.jsx(R.MultiValue,{...e,children:e.children}),za=e=>{const{data:o}=e;return t.jsx(R.MultiValueLabel,{...e,children:o.value})},Ma=e=>t.jsx(R.MultiValueRemove,{...e,children:t.jsx(et,{style:{marginTop:"2px"}})}),Ea=e=>t.jsx(R.ClearIndicator,{...e,children:t.jsx(et,{})}),Va=()=>null,Ba=e=>{const{isSelected:o,isDisabled:l,isFocused:i}=e;return t.jsx(Ra,{isFocused:i,isSelected:o,isDisabled:l,children:t.jsx(R.Option,{...e,className:"select-option",children:t.jsxs(Ya,{children:[t.jsx(qa,{children:t.jsx(Aa,{isSelected:o,isDisabled:l,children:e.label})}),o?t.jsxs(Ua,{children:[t.jsx(Ha,{className:"right-tick-icon"}),t.jsx(Ce,{className:"close-tick-icon"})]}):null]})})})},Wa=s.div`
|
|
213
213
|
width: 100%;
|
|
214
214
|
background-color: ${e=>e.theme.colors.grey5};
|
|
215
215
|
cursor: ${e=>e.isDisabled?"not-allowed":"pointer"};
|
|
216
216
|
|
|
217
217
|
.select-control {
|
|
218
218
|
border: none;
|
|
219
|
-
padding: 0 ${
|
|
219
|
+
padding: 0 ${a.sp3};
|
|
220
220
|
min-height: 100%;
|
|
221
221
|
background-color: inherit;
|
|
222
222
|
box-shadow: none;
|
|
@@ -236,7 +236,7 @@ import{X as P,u as Ae,a5 as ca,a as da,c3 as pa,M as k,j as a,aW as ma,F as ua,c
|
|
|
236
236
|
|
|
237
237
|
.multi-select-field__clear-indicator {
|
|
238
238
|
padding: 0;
|
|
239
|
-
margin-left: ${
|
|
239
|
+
margin-left: ${a.sp2};
|
|
240
240
|
color: ${e=>e.theme.colors.primary};
|
|
241
241
|
transition: none;
|
|
242
242
|
&:hover {
|
|
@@ -246,13 +246,13 @@ import{X as P,u as Ae,a5 as ca,a as da,c3 as pa,M as k,j as a,aW as ma,F as ua,c
|
|
|
246
246
|
}
|
|
247
247
|
|
|
248
248
|
.multi-select-field__value-container {
|
|
249
|
-
gap: ${e=>e.isFocused?`${
|
|
249
|
+
gap: ${e=>e.isFocused?`${a.sp2}`:`${a.sp0}`};
|
|
250
250
|
}
|
|
251
251
|
}
|
|
252
252
|
|
|
253
253
|
.select-value-container {
|
|
254
254
|
width: 100%;
|
|
255
|
-
padding: 6px ${
|
|
255
|
+
padding: 6px ${a.sp0};
|
|
256
256
|
overflow: auto;
|
|
257
257
|
display: ${e=>e.isFocused===!1&&e.optionsLen===0?"block":"flex"};
|
|
258
258
|
justify-content: flex-start;
|
|
@@ -271,26 +271,26 @@ import{X as P,u as Ae,a5 as ca,a as da,c3 as pa,M as k,j as a,aW as ma,F as ua,c
|
|
|
271
271
|
}
|
|
272
272
|
|
|
273
273
|
.multi-select-field__multi-value {
|
|
274
|
-
padding: 1px ${
|
|
274
|
+
padding: 1px ${a.sp2};
|
|
275
275
|
min-width: fit-content;
|
|
276
276
|
background-color: transparent;
|
|
277
|
-
margin: ${
|
|
277
|
+
margin: ${a.sp0};
|
|
278
278
|
display: ${e=>e.isFocused?"flex":"none"};
|
|
279
279
|
color: ${e=>e.theme.colors.primary};
|
|
280
280
|
border: 1px solid ${e=>e.theme.colors.primary};
|
|
281
281
|
box-sizing: border-box;
|
|
282
|
-
border-radius: ${
|
|
282
|
+
border-radius: ${a.sp1};
|
|
283
283
|
:last-of-type {
|
|
284
|
-
margin: ${
|
|
284
|
+
margin: ${a.sp0};
|
|
285
285
|
}
|
|
286
286
|
}
|
|
287
287
|
|
|
288
288
|
.multi-select-field__input-container {
|
|
289
289
|
display: flex;
|
|
290
|
-
width: ${e=>e.isFocused===!1&&e.optionsLen===0?"100%":e.isFocused===!1&&e.optionsLen>0?
|
|
290
|
+
width: ${e=>e.isFocused===!1&&e.optionsLen===0?"100%":e.isFocused===!1&&e.optionsLen>0?a.sp0:"fit-content"};
|
|
291
291
|
${de.standardRegular.css};
|
|
292
292
|
color: ${e=>e.theme.colors.primary};
|
|
293
|
-
margin: ${
|
|
293
|
+
margin: ${a.sp0};
|
|
294
294
|
cursor: inherit;
|
|
295
295
|
color: ${e=>e.hasError?N.important:e.theme.colors.primary};
|
|
296
296
|
|
|
@@ -315,7 +315,7 @@ import{X as P,u as Ae,a5 as ca,a as da,c3 as pa,M as k,j as a,aW as ma,F as ua,c
|
|
|
315
315
|
.multi-select-field__multi-value__label {
|
|
316
316
|
color: inherit;
|
|
317
317
|
padding: 0;
|
|
318
|
-
margin-right: ${
|
|
318
|
+
margin-right: ${a.sp1};
|
|
319
319
|
${de.standardRegular.css};
|
|
320
320
|
overflow: hidden;
|
|
321
321
|
text-overflow: ellipsis;
|
|
@@ -330,18 +330,18 @@ import{X as P,u as Ae,a5 as ca,a as da,c3 as pa,M as k,j as a,aW as ma,F as ua,c
|
|
|
330
330
|
}
|
|
331
331
|
}
|
|
332
332
|
}
|
|
333
|
-
`,
|
|
333
|
+
`,_a=s(te)`
|
|
334
334
|
color: ${e=>e.theme.colors.primary};
|
|
335
335
|
width: 100%;
|
|
336
336
|
overflow: hidden;
|
|
337
337
|
text-overflow: ellipsis;
|
|
338
338
|
white-space: nowrap;
|
|
339
339
|
text-align: right;
|
|
340
|
-
`,
|
|
340
|
+
`,Ra=s.div`
|
|
341
341
|
.select-option {
|
|
342
342
|
${de.smallRegular.css};
|
|
343
|
-
height: ${
|
|
344
|
-
padding: 9px ${
|
|
343
|
+
height: ${a.sp6};
|
|
344
|
+
padding: 9px ${a.sp3};
|
|
345
345
|
color: ${e=>e.isSelected?e.theme.colors.primary:e.theme.colors.champion};
|
|
346
346
|
background-color: ${e=>e.isSelected?e.theme.colors.grey3:e.isFocused?e.theme.colors.background:e.theme.colors.grey5};
|
|
347
347
|
cursor: ${e=>e.isDisabled?"not-allowed":"pointer"};
|
|
@@ -364,33 +364,33 @@ import{X as P,u as Ae,a5 as ca,a as da,c3 as pa,M as k,j as a,aW as ma,F as ua,c
|
|
|
364
364
|
}
|
|
365
365
|
}
|
|
366
366
|
}
|
|
367
|
-
`,
|
|
367
|
+
`,Ya=s.div`
|
|
368
368
|
display: flex;
|
|
369
369
|
flex-direction: row;
|
|
370
370
|
align-items: center;
|
|
371
371
|
justify-content: space-between;
|
|
372
|
-
`,
|
|
372
|
+
`,Aa=s.label`
|
|
373
373
|
padding-right: 10px;
|
|
374
374
|
overflow: hidden;
|
|
375
375
|
text-overflow: ellipsis;
|
|
376
376
|
white-space: nowrap;
|
|
377
377
|
cursor: ${e=>e.isDisabled?"not-allowed":e.isSelected?"default":"pointer"};
|
|
378
|
-
`,
|
|
378
|
+
`,qa=s.div`
|
|
379
379
|
width: 100%;
|
|
380
380
|
display: flex;
|
|
381
381
|
align-items: center;
|
|
382
|
-
`,
|
|
382
|
+
`,Ua=s.div`
|
|
383
383
|
display: flex;
|
|
384
|
-
`,
|
|
384
|
+
`,Ha=s(Bt)`
|
|
385
385
|
width: 12px;
|
|
386
386
|
height: 12px;
|
|
387
387
|
margin-right: 2px;
|
|
388
388
|
color: ${e=>e.theme.colors.primary};
|
|
389
|
-
`,
|
|
390
|
-
width: ${
|
|
391
|
-
height: ${
|
|
389
|
+
`,et=s(Ce)`
|
|
390
|
+
width: ${a.sp3};
|
|
391
|
+
height: ${a.sp3};
|
|
392
392
|
color: ${e=>e.theme.colors.primary};
|
|
393
|
-
`,
|
|
393
|
+
`,Ga=()=>null,Za=()=>null,Ve=e=>e.map(o=>Ka(o)),Ka=e=>({value:e,label:e}),M={width:new m(343,580,726),height:new m(p[6],p[6]),controlHeight:new m(p[6],p[6]),paddingTopBottom:new m(p[2],p[2]),marginRight:new m(p[2],p[2]),labelMarginLeft:new m(p[3],p[4]),labelMarginRight:new m(p[3],p[4]),labelMarginTop:new m(p[2],p[2])};function Xa({isDisabled:e,label:o,multiSelectField:l,style:i}){const n=P();return t.jsxs(Ja,{size:n,style:i,isDisabled:e!=null,children:[t.jsx(Fe,{isDisabled:e,label:o.label,htmlFor:l.name,style:{marginLeft:M.labelMarginLeft.value(n),marginRight:M.labelMarginRight.value(n),marginTop:M.labelMarginTop.value(n),width:o.width??"auto"}}),t.jsx(ka,{...l,isDisabled:e,style:{display:"flex",flexGrow:1,maxWidth:o.width!=null?`calc(100% - ${o.width}px)`:"auto",minHeight:M.controlHeight.value(n)}})]})}const Ja=s.div`
|
|
394
394
|
display: flex;
|
|
395
395
|
flex-direction: row;
|
|
396
396
|
align-items: flex-start;
|
|
@@ -436,48 +436,48 @@ import{X as P,u as Ae,a5 as ca,a as da,c3 as pa,M as k,j as a,aW as ma,F as ua,c
|
|
|
436
436
|
background-color: ${e=>e.isDisabled?e.theme.colors.grey5:e.theme.colors.background};
|
|
437
437
|
}
|
|
438
438
|
}
|
|
439
|
-
`,Be={labelWidth:new m(160,160,160),largeLabelWidth:new m(150,215,215)};function
|
|
439
|
+
`,Be={labelWidth:new m(160,160,160),largeLabelWidth:new m(150,215,215)};function Qa(e){const o=P(),l=$t(),[i,n]=_.useState(!1),{companyPassport:c,commonSetUp:{businessVerification:f},common:{documents:d}}=k.getLocalizedStrings(),{fileProps:r,companyFiles:u,deleteFileStatusById:y,updateFileStatusById:b,sectionId:h,isDisabled:$,companyTaxInfo:I,style:D}=e,j=Be.labelWidth.value(o),g=Be.largeLabelWidth.value(o),O=!V.hasAdminLevelAccess(l.loggedInUserRole??[]),S=u.find(x=>x.documentType==="tax_ein");return t.jsxs(eo,{style:D,children:[t.jsx(ao,{children:c.companyTaxInfo.title}),t.jsxs(to,{children:[t.jsx(z,{isDisabled:$,label:{label:c.companyTaxInfo.taxIdOrEIN,width:j},text:{type:"text",name:Z(h,"taxIdOrEIN"),placeholder:c.companyTaxInfo.taxIdOrEINPlaceholder,defaultValue:O===!0?c.protectedContent:I?.taxIdOrEIN,options:{pattern:wt},autoComplete:"new-password"},protectedInfoText:O===!0?c.companyTaxInfo.adminPrivilegeRequired:void 0}),t.jsx(ee,{}),t.jsx(z,{isDisabled:$,label:{label:c.companyTaxInfo.dunsNumber,width:j},text:{type:"text",name:Z(h,"dunsNumber"),placeholder:c.companyTaxInfo.dunsNumberPlaceholder,defaultValue:I?.dunsNumber,options:{pattern:/^\d{9}$/},autoComplete:"new-password"}}),t.jsx(ee,{}),t.jsx(z,{isDisabled:$,label:{label:c.companyTaxInfo.naicsCode,width:j},text:{type:"text",name:Z(h,"naicsCode"),placeholder:c.companyTaxInfo.naicsCodePlaceholder,defaultValue:I?.naicsCode,options:{pattern:/^([2-9]{1}[0-9]{1}|[1-9]{1}[1-9]{1})\d{0,4}$/},autoComplete:"new-password"}}),t.jsx(ee,{}),t.jsx(z,{isDisabled:$,label:{label:c.companyTaxInfo.sicCode,width:j},text:{type:"text",name:Z(h,"sicCode"),placeholder:c.companyTaxInfo.sicCodePlaceholder,defaultValue:I?.sicCode,options:{pattern:/^\d{2,4}$/},autoComplete:"new-password"}}),t.jsx(ee,{}),t.jsx(Xa,{isDisabled:$,label:{label:c.companyTaxInfo.taxesFiledYears,width:j},multiSelectField:{name:Z(h,"taxesFiledYears"),placeholder:c.companyTaxInfo.taxesFiledYearsPlaceholder,defaultValue:{selectedOptions:I?.taxesFiledYears.map(x=>x.toString())??[],allOptions:V.getYearsList().map(x=>x.toString())}}}),t.jsx(ee,{}),t.jsx(Xe,{name:Z(h,"einDocument"),isDisabled:$,sizeLimit:Ue,deleteFileStatusById:y,updateFileStatusById:b,filesEndPoint:r.filesEndPoint,authParams:r.authParams,label:{label:f.einDocument,width:g},filemetadataPayload:{documentType:"tax_ein",purposeId:"business_verification",documentSide:"front"},file:S,acceptableTypes:["image/jpg","image/jpeg","image/png","application/pdf","image/heic","image/heif"],registerOptions:{required:!1},hasError:i,updateFilesEntity:r.updateFilesEntity,onEditFileName:r.onEditFileName,onDeleteFile:r.onDeleteFile,onFileSizeError:x=>n(x)}),t.jsx(oo,{windowSize:o,isError:i,children:d.formatDocumentText10MB})]})]})}const Z=(e,o)=>`${e}.${o}`,eo=s.div`
|
|
440
440
|
display: flex;
|
|
441
441
|
flex-direction: column;
|
|
442
|
-
padding-top: ${
|
|
443
|
-
padding-bottom: ${
|
|
444
|
-
`,
|
|
442
|
+
padding-top: ${a.sp3};
|
|
443
|
+
padding-bottom: ${a.sp9};
|
|
444
|
+
`,to=s.div`
|
|
445
445
|
display: flex;
|
|
446
446
|
flex-direction: column;
|
|
447
447
|
background-color: ${e=>e.theme.colors.grey5};
|
|
448
448
|
border: 1px solid ${e=>e.theme.colors.grey3};
|
|
449
|
-
box-shadow: ${e=>`${
|
|
450
|
-
border-radius: ${
|
|
451
|
-
`,
|
|
449
|
+
box-shadow: ${e=>`${a.sp0} 2px ${a.sp1} ${e.theme.colors.dropShadowNormal}`};
|
|
450
|
+
border-radius: ${a.sp2};
|
|
451
|
+
`,ao=s(U)`
|
|
452
452
|
color: ${e=>e.theme.colors.champion};
|
|
453
|
-
margin-bottom: ${
|
|
453
|
+
margin-bottom: ${a.sp3};
|
|
454
454
|
`,ee=s.div`
|
|
455
455
|
display: flex;
|
|
456
456
|
flex: 1;
|
|
457
457
|
background-color: ${e=>e.theme.colors.grey3};
|
|
458
458
|
min-height: 1px;
|
|
459
459
|
max-height: 1px;
|
|
460
|
-
`,oo=s(
|
|
461
|
-
padding: ${
|
|
460
|
+
`,oo=s(Ze)`
|
|
461
|
+
padding: ${a.sp1} ${a.sp4};
|
|
462
462
|
background: ${e=>e.theme.colors.grey4};
|
|
463
|
-
border-radius: ${
|
|
463
|
+
border-radius: ${a.sp0} ${a.sp0} ${a.sp2} ${a.sp2};
|
|
464
464
|
text-align: ${e=>e.windowSize==="small"?"initial":"right"};
|
|
465
465
|
color: ${e=>e.isError?N.important:e.theme.colors.grey1};
|
|
466
|
-
`,lo={labelWidth:new m(100,100,140)};function io({sectionId:e,isDisabled:o,primaryContact:l,style:i}){const n=P(),c=k.getLocalizedStrings().companyPassport,f=lo.labelWidth.value(n),d=l==null;return
|
|
466
|
+
`,lo={labelWidth:new m(100,100,140)};function io({sectionId:e,isDisabled:o,primaryContact:l,style:i}){const n=P(),c=k.getLocalizedStrings().companyPassport,f=lo.labelWidth.value(n),d=l==null;return t.jsxs(so,{style:i,children:[t.jsx(ro,{children:c.primaryContact.title}),t.jsxs(no,{children:[t.jsx(He,{isDisabled:o,label:{label:c.primaryContact.name,width:f},nameField:{name:We(e,"name"),placeHolder:{firstName:c.primaryContact.firstNamePlaceholder,lastName:c.primaryContact.lastNamePlaceholder,name:c.primaryContact.namePlaceholder},defaultValue:{firstName:l?.firstName??"",lastName:l?.lastName??""},autoComplete:"new-password",registerOptions:{required:d!==!0},showFullNameError:!0}}),t.jsx(co,{}),t.jsx(z,{isDisabled:o,label:{label:c.primaryContact.email,width:f},text:{type:"email",name:We(e,"email"),placeholder:L(c.primaryContact.email),defaultValue:l?.email,autoComplete:"new-password",options:{required:d!==!0}}})]})]})}const We=(e,o)=>`${e}.${o}`,so=s.div`
|
|
467
467
|
display: flex;
|
|
468
468
|
flex-direction: column;
|
|
469
|
-
padding-top: ${
|
|
470
|
-
padding-bottom: ${
|
|
469
|
+
padding-top: ${a.sp3};
|
|
470
|
+
padding-bottom: ${a.sp9};
|
|
471
471
|
`,no=s.div`
|
|
472
472
|
display: flex;
|
|
473
473
|
flex-direction: column;
|
|
474
474
|
background-color: ${e=>e.theme.colors.grey5};
|
|
475
475
|
border: 1px solid ${e=>e.theme.colors.grey3};
|
|
476
|
-
box-shadow: ${e=>`${
|
|
477
|
-
border-radius: ${
|
|
476
|
+
box-shadow: ${e=>`${a.sp0} 2px ${a.sp1} ${e.theme.colors.dropShadowNormal}`};
|
|
477
|
+
border-radius: ${a.sp2};
|
|
478
478
|
`,ro=s(U)`
|
|
479
479
|
color: ${e=>e.theme.colors.champion};
|
|
480
|
-
margin-bottom: ${
|
|
480
|
+
margin-bottom: ${a.sp3};
|
|
481
481
|
`,co=s.div`
|
|
482
482
|
display: flex;
|
|
483
483
|
flex: 1;
|
|
@@ -490,7 +490,7 @@ import{X as P,u as Ae,a5 as ca,a as da,c3 as pa,M as k,j as a,aW as ma,F as ua,c
|
|
|
490
490
|
justify-content: flex-end;
|
|
491
491
|
align-items: center;
|
|
492
492
|
:not(:first-of-type) {
|
|
493
|
-
margin-left: ${
|
|
493
|
+
margin-left: ${a.sp3};
|
|
494
494
|
}
|
|
495
495
|
`,mo=s.div`
|
|
496
496
|
display: flex;
|
|
@@ -498,18 +498,18 @@ import{X as P,u as Ae,a5 as ca,a as da,c3 as pa,M as k,j as a,aW as ma,F as ua,c
|
|
|
498
498
|
justify-content: flex-end;
|
|
499
499
|
align-items: center;
|
|
500
500
|
color: ${e=>e.theme.colors.primary};
|
|
501
|
-
`,uo=()=>
|
|
502
|
-
padding: 6px ${
|
|
501
|
+
`,uo=()=>t.jsx(mo,{children:"–"}),ho=s.div`
|
|
502
|
+
padding: 6px ${a.sp2};
|
|
503
503
|
white-space: nowrap;
|
|
504
504
|
overflow: hidden;
|
|
505
505
|
text-overflow: ellipsis;
|
|
506
|
-
`,fo=s(
|
|
506
|
+
`,fo=s(te)`
|
|
507
507
|
color: ${e=>e.theme.colors.primary};
|
|
508
508
|
align-items: center;
|
|
509
509
|
justify-content: flex-end;
|
|
510
510
|
display: flex;
|
|
511
|
-
padding: 0 ${
|
|
512
|
-
`,xo=e=>{const{users:o,style:l}=e;return
|
|
511
|
+
padding: 0 ${a.sp3};
|
|
512
|
+
`,xo=e=>{const{users:o,style:l}=e;return t.jsx(fo,{style:l,children:o.length!==0?o.filter(i=>!!i.firstName||!!i.lastName).map(i=>t.jsxs(po,{children:[t.jsx(ho,{children:`${i.firstName} ${i.lastName}`}),t.jsx(Vt,{name:`${i.firstName} ${i.lastName}`,size:a.sp4})]},i.userId)):t.jsx(uo,{})})},E={width:new m(343,580,726),height:new m(p[6],p[6]),controlHeight:new m(p[6],p[6]),paddingTopBottom:new m(p[2],p[2]),marginRight:new m(p[2],p[2]),labelMarginLeft:new m(p[3],p[4]),labelMarginRight:new m(p[3],p[4]),labelMarginTop:new m(p[2],p[2])};function yo({isDisabled:e,label:o,avatarLabels:l,style:i}){const n=P();return t.jsxs(bo,{size:n,style:i,children:[t.jsx(Fe,{isDisabled:e,label:o.label,style:{marginLeft:E.labelMarginLeft.value(n),marginRight:E.labelMarginRight.value(n),marginTop:E.labelMarginTop.value(n),width:o.width??"auto"}}),t.jsx(xo,{users:l.users,style:{minHeight:E.controlHeight.value(n),display:"flex",flexGrow:1,flexFlow:"row wrap",maxWidth:o.width!=null?`calc(100% - ${o.width}px)`:"auto",...l.style}})]})}const go=Wt.memo(yo,kt),bo=s.div`
|
|
513
513
|
display: flex;
|
|
514
514
|
flex-direction: row;
|
|
515
515
|
align-items: flex-start;
|
|
@@ -529,28 +529,28 @@ import{X as P,u as Ae,a5 as ca,a as da,c3 as pa,M as k,j as a,aW as ma,F as ua,c
|
|
|
529
529
|
border-bottom-left-radius: inherit;
|
|
530
530
|
border-bottom-right-radius: inherit;
|
|
531
531
|
}
|
|
532
|
-
`,ge={labelWidth:new m(100,100,140),mediumLabelWidth:new m(140,150,160),largeLabelWidth:new m(160,180,180)};function $o({data:e,companyInfo:o,sectionId:l,isDisabled:i,isZeniUser:n,onScheduleClick:c}){const f=P(),{companyPassport:d,dateFormat:{visual:r}}=k.getLocalizedStrings(),u=ge.labelWidth.value(f),y=ge.mediumLabelWidth.value(f),b=ge.largeLabelWidth.value(f),h=e.company.company,{controllers:$,subscriptions:I}=e,{managementInfo:D}=h,j=f==="small"?d.zeniFinanceTeam.scheduleCallPlaceholderSmall:d.zeniFinanceTeam.scheduleCallPlaceholder,g=I.filter(x=>x.plan?.plan.name!=null).map(x=>({text:x.plan?.plan.name,subText:x.subscription.subscription.startDate.format(r.MMMDCommaYYYYformat)})),O=
|
|
532
|
+
`,ge={labelWidth:new m(100,100,140),mediumLabelWidth:new m(140,150,160),largeLabelWidth:new m(160,180,180)};function $o({data:e,companyInfo:o,sectionId:l,isDisabled:i,isZeniUser:n,onScheduleClick:c}){const f=P(),{companyPassport:d,dateFormat:{visual:r}}=k.getLocalizedStrings(),u=ge.labelWidth.value(f),y=ge.mediumLabelWidth.value(f),b=ge.largeLabelWidth.value(f),h=e.company.company,{controllers:$,subscriptions:I}=e,{managementInfo:D}=h,j=f==="small"?d.zeniFinanceTeam.scheduleCallPlaceholderSmall:d.zeniFinanceTeam.scheduleCallPlaceholder,g=I.filter(x=>x.plan?.plan.name!=null).map(x=>({text:x.plan?.plan.name,subText:x.subscription.subscription.startDate.format(r.MMMDCommaYYYYformat)})),O=It(I.map(x=>x.addOns.map(B=>({text:B.addOn.name,subText:x.subscription.subscription.startDate.format(r.MMMDCommaYYYYformat)})))),S=D.receiverEmails.map(x=>({text:x}));return t.jsxs(Io,{children:[t.jsx(vo,{children:d.zeniFinanceTeam.title}),t.jsxs(jo,{children:[t.jsx(go,{label:{label:d.zeniFinanceTeam.controller,width:y},avatarLabels:{users:$.map(x=>x.user)}}),t.jsx(ce,{}),n===!0?t.jsx(z,{isDisabled:i,label:{label:d.zeniFinanceTeam.scheduleCall,width:y},text:{type:"text",name:wo(l,"meetingLink"),placeholder:j,defaultValue:o?.meetingLink?.toString()??"",autoComplete:"new-password",options:{pattern:jt}}}):o?.meetingLink!=null?t.jsx(vt,{label:{label:d.zeniFinanceTeam.scheduleCall,width:y},button:{buttonTitle:d.zeniFinanceTeam.schedule,onClick:()=>c(o.meetingLink)}}):null,S.length>0?t.jsxs(t.Fragment,{children:[t.jsx(ce,{}),t.jsx(pe,{label:{label:d.zeniFinanceTeam.emailUs,width:u},bullettedLabels:{labels:S,listStyleType:"none"}})]}):null,g.length>0?t.jsxs(t.Fragment,{children:[t.jsx(ce,{}),t.jsx(pe,{label:{label:d.zeniFinanceTeam.subscriptionPlans,width:b},bullettedLabels:{labels:g,listStyleType:"none"}})]}):null,O.length>0?t.jsxs(t.Fragment,{children:[t.jsx(ce,{}),t.jsx(pe,{label:{label:d.zeniFinanceTeam.addons,width:y},bullettedLabels:{labels:O,listStyleType:"none"}})]}):null]})]})}const wo=(e,o)=>`${e}.${o}`,Io=s.div`
|
|
533
533
|
display: flex;
|
|
534
534
|
flex-direction: column;
|
|
535
|
-
padding-top: ${
|
|
536
|
-
padding-bottom: ${
|
|
535
|
+
padding-top: ${a.sp3};
|
|
536
|
+
padding-bottom: ${a.sp9};
|
|
537
537
|
`,jo=s.div`
|
|
538
538
|
display: flex;
|
|
539
539
|
flex-direction: column;
|
|
540
540
|
background-color: ${e=>e.theme.colors.grey5};
|
|
541
541
|
border: 1px solid ${e=>e.theme.colors.grey3};
|
|
542
|
-
box-shadow: ${e=>`${
|
|
543
|
-
border-radius: ${
|
|
542
|
+
box-shadow: ${e=>`${a.sp0} 2px ${a.sp1} ${e.theme.colors.dropShadowNormal}`};
|
|
543
|
+
border-radius: ${a.sp2};
|
|
544
544
|
`,vo=s(U)`
|
|
545
545
|
color: ${e=>e.theme.colors.champion};
|
|
546
|
-
margin-bottom: ${
|
|
546
|
+
margin-bottom: ${a.sp3};
|
|
547
547
|
`,ce=s.div`
|
|
548
548
|
display: flex;
|
|
549
549
|
flex: 1;
|
|
550
550
|
background-color: ${e=>e.theme.colors.grey3};
|
|
551
551
|
min-height: 1px;
|
|
552
552
|
max-height: 1px;
|
|
553
|
-
`,we={width:new m(343,580,726),buttonWidth:new m(85,85)},_e="companyPassportPage",Ie="companyInfo",je="companyIncInfo",ve="companyTaxInfo",Se="primaryContact",De="companyOfficer",Oe="zeniFinanceTeam";function Wo(e){const o=P(),l=Ae(),{companyPassportView:i,isZeniUser:n,filesEndPoint:c,authParams:f,allIndustries:d,isDisabled:r,isSettings:u=!1,onCompanyDetailsChanged:y,onCompanyOfficerUpdated:b,onNewCompanyOfficerAdded:h,onPrimaryContactDetailsUpdated:$,onNewCompanyOfficerRemoved:I,onSaveAll:D,onAddressClick:j,onScheduleClick:g,onBackClick:O,onResetClick:S,onEditFileName:x,updateFilesEntity:B,onDeleteFile:me,onClickMenuIcon:
|
|
553
|
+
`,we={width:new m(343,580,726),buttonWidth:new m(85,85)},_e="companyPassportPage",Ie="companyInfo",je="companyIncInfo",ve="companyTaxInfo",Se="primaryContact",De="companyOfficer",Oe="zeniFinanceTeam";function Wo(e){const o=P(),l=Ae(),{companyPassportView:i,isZeniUser:n,filesEndPoint:c,authParams:f,allIndustries:d,isDisabled:r,isSettings:u=!1,onCompanyDetailsChanged:y,onCompanyOfficerUpdated:b,onNewCompanyOfficerAdded:h,onPrimaryContactDetailsUpdated:$,onNewCompanyOfficerRemoved:I,onSaveAll:D,onAddressClick:j,onScheduleClick:g,onBackClick:O,onResetClick:S,onEditFileName:x,updateFilesEntity:B,onDeleteFile:me,onClickMenuIcon:X}=e,{companyView:J,localData:H,deleteFileStatusById:ke,updateFileStatusById:Te}=i,{companyFiles:ae}=H,Ne={authParams:f,filesEndPoint:c,onEditFileName:x,onDeleteFile:me,updateFilesEntity:B},[Q,oe]=_.useState(void 0),{companyDetails:tt,primaryContact:at,companyOfficerUpdateStatus:ot,updateStatus:Y}=H,{localData:le,addressStatus:lt}=tt,Pe=ct(Y.fetchState),ie=Object.values(ot).filter(T=>T.localData!=null),W=dt({mode:"all",defaultValues:Ye(H,d)});_.useEffect(()=>()=>{oe(void 0)},[]),_.useEffect(()=>{Pe==="In-Progress"&&(Y.fetchState==="Completed"||Y.fetchState==="Error")&&(W.reset(Ye(H,d)),Q!==Y.fetchState&&oe(Y.fetchState))},[Q,W,Pe,Y,H,J,d,ae]);const it=async(T,w)=>{if(T.includes(Ie)||T.includes(je)||T.includes(ve)||T.includes(Oe)){const{companyInfo:C,companyIncInfo:F,companyTaxInfo:A,zeniFinanceTeam:ue}=w;y({companyInfo:C,incInfo:F,taxDetails:A,zeniFinanceTeam:ue})}else if(T.includes(Se)){$(w.primaryContact);const C=w.companyOfficer.map(F=>F.userId);if(w.primaryContact.userId!=null&&C.includes(w.primaryContact.userId)){const F=C.findIndex(A=>A===w.primaryContact.userId);F>=0&&b({...w.companyOfficer[F],name:w.primaryContact.name,officerType:`Officer_${F+1}`})}}else if(T.includes(De)){const C=parseInt(T.split(".")[1]);if(C>=0)b({...w.companyOfficer[C],officerType:`Officer_${C+1}`}),w.companyOfficer[C].userId!=null&&w.companyOfficer[C].userId===w.primaryContact.userId&&$({...w.primaryContact,name:w.companyOfficer[C].name});else if(w.companyOfficer.length>ie.length){const F=w.companyOfficer[w.companyOfficer.length-1];h(F)}else{const F=w.companyOfficer.filter(A=>A.officerType!=null);if(F.length<ie.length){const A=F.map((ue,rt)=>{const Le={...ue,officerType:`Officer_${rt+1}`};return b(Le),Le});F.length<ie.length&&(I(`Officer_${F.length+1}`),W.reset({companyOfficer:A}))}}}};_.useEffect(()=>{const T=W.watch((w,{name:C})=>{C!=null&&w!=null&&pt(()=>it(C,w))});return()=>{T.unsubscribe()}});const st=W.handleSubmit(T=>{Q!=null&&oe(void 0),D()}),{companyPassport:se,common:{settings:nt}}=k.getLocalizedStrings();if(J==null)throw new Error("Company View is null");return t.jsxs(So,{children:[t.jsx(mt,{title:se.title,backgroundColor:l.colors.grey4,style:{zIndex:3},onBackClick:O,showBackButton:!u,showMenuIcon:u?o==="medium-compact"||o==="small":!1,source:"CompanyPassportPage",onClickMenuIcon:X}),Q!=null?t.jsx(Jt,{fetchState:Q,onRemoveSnackbar:()=>oe(void 0)}):null,t.jsxs(Do,{children:[t.jsx(Oo,{windowSize:o,children:u?nt.infoText.companyDetails:se.quickAccessInfo}),t.jsx(ut,{...W,children:t.jsxs("form",{id:Re(_e),onSubmit:st,children:[t.jsx(ca,{sectionId:Ie,companyInfo:le?.companyInfo,companyViewData:J,companyAddress:lt,isDisabled:r,onCompanyAddressClick:j,allIndustries:d}),t.jsx(Qt,{sectionId:je,updateFileStatusById:Te,deleteFileStatusById:ke,companyFiles:ae,companyIncInfo:le?.incInfo,fileProps:Ne,isDisabled:r}),t.jsx(Qa,{sectionId:ve,updateFileStatusById:Te,deleteFileStatusById:ke,companyFiles:ae,companyTaxInfo:le?.taxDetails,fileProps:Ne,isDisabled:r}),t.jsx(io,{sectionId:Se,primaryContact:at.localData,isDisabled:r}),t.jsx(fa,{companyOfficers:ie,sectionId:De,isDisabled:r,onOfficerAddressClick:j}),t.jsx($o,{data:J,companyInfo:le?.companyInfo,isDisabled:r,isZeniUser:n,sectionId:Oe,onScheduleClick:g})]})})]}),ht(W.formState.dirtyFields)||V.isCompanyPassportDataToBeSaved(H,J,ae)?t.jsx(ft,{formId:Re(_e),primaryBtn:{label:se.save,isLoading:Y.fetchState==="In-Progress",style:{width:we.buttonWidth.value(o)},isDisabled:e.isDisabled!=null},cancelBtn:{label:se.cancel,style:{width:we.buttonWidth.value(o)},onClick:()=>{W.reset(),S()}}}):null]})}const Re=e=>`${e}_form`,Ye=(e,o)=>{const{companyDetails:l,primaryContact:i,companyOfficerUpdateStatus:n}=e,c=k.getLocalizedStrings().companyPassport,f=l.localData?.incInfo.fileId!=null?[l.localData?.incInfo.fileId]:[],d=l.localData?.taxDetails.fileId!=null?[l.localData?.taxDetails.fileId]:[];return{[Ie]:{...xt(l.localData?.companyInfo,["meetingLink"]),businessModel:{selectedOption:l.localData?.companyInfo?.businessModel,allOptions:c.companyInfo.allBusinessModels},website:l.localData?.companyInfo.website?.toString()??"",industry:{selectedOption:l.localData?.companyInfo.industry,allOptions:o?.map(r=>r.code)},firstMonthOfFY:l.localData?.companyInfo.firstMonthOfFY},[ve]:{...l.localData?.taxDetails,taxesFiledYears:{selectedOptions:l.localData?.taxDetails.taxesFiledYears.map(r=>r.toString())??[],allOptions:V.getYearsList().map(r=>r.toString())},einDocument:e.companyFiles.find(r=>r.documentType==="tax_ein"),fileIds:d},[je]:{typeOfInc:{selectedOption:l.localData?.incInfo?.typeOfInc,allOptions:c.companyIncInfo.allTypesOfIncorporation},stateOfInc:{selectedOption:l.localData?.incInfo?.stateOfInc,allOptions:c.companyIncInfo.allStatesOfIncorporation},incDate:l.localData?.incInfo.incDate?.toDate(),certificateOfIncorporation:e.companyFiles.find(r=>r.documentType==="certificate_of_incorporation"),fileIds:f},[Se]:{userId:i.localData?.userId,name:{firstName:i.localData?.firstName,lastName:i.localData?.lastName},email:i.localData?.email},[De]:Object.values(n).filter(r=>r.localData!=null).map(r=>{const u=r.localData;return{userId:u.userId,officerType:u.officerType,name:{firstName:u.firstName,lastName:u.lastName},email:u.email,phone:u.phone}}),[Oe]:{meetingLink:l.localData?.companyInfo.meetingLink?.toString()??""}}},So=s.div`
|
|
554
554
|
display: flex;
|
|
555
555
|
min-height: 100%;
|
|
556
556
|
flex-direction: column;
|
|
@@ -564,11 +564,11 @@ import{X as P,u as Ae,a5 as ca,a as da,c3 as pa,M as k,j as a,aW as ma,F as ua,c
|
|
|
564
564
|
overflow-y: auto;
|
|
565
565
|
flex-direction: column;
|
|
566
566
|
align-items: center;
|
|
567
|
-
`,Oo=s(
|
|
567
|
+
`,Oo=s(te)`
|
|
568
568
|
color: ${e=>e.theme.colors.hero};
|
|
569
569
|
display: flex;
|
|
570
570
|
justify-content: center;
|
|
571
571
|
width: ${e=>we.width.valuePx(e.windowSize)};
|
|
572
|
-
margin-top: ${
|
|
573
|
-
margin-bottom: ${
|
|
572
|
+
margin-top: ${a.sp3};
|
|
573
|
+
margin-bottom: ${a.sp4};
|
|
574
574
|
`;export{Wo as default,Re as uniqueName};
|