@zeniai/web-cockpit-ui 1.15.68-prod → 2.0.0-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/Preview-C3kztGrG.js +1 -0
- package/dist/assets/ScreenRoutes-5hC3wQD-.js +179 -0
- package/dist/assets/SignInScreen-Bw3kDJOY.js +1 -0
- package/dist/assets/{analytics-D0xbCiOA.js → analytics-Ci62SVC6.js} +15 -15
- package/dist/assets/analyticsHelper-DvZ4fRLz.js +1 -0
- package/dist/assets/{core-VVne9A9m.js → core-CrJ0HRkP.js} +2 -2
- package/dist/assets/{dash.all.min-CZdKQs3q.js → dash.all.min-BC3O3eK3.js} +1 -1
- package/dist/assets/{empty-BxIsRmiL.js → empty-DCdjTxMk.js} +1 -1
- package/dist/assets/{index-CW-pqTwR.js → empty-DewRN75u.js} +1 -1
- package/dist/assets/epic-ButtTfPO.js +2 -0
- package/dist/assets/{index-D0xGm0tM.js → index-BHVDlT_9.js} +1 -1
- package/dist/assets/{index-0sfOIAIW.js → index-BIzFhK6B.js} +1 -1
- package/dist/assets/index-BnSSVzJm.js +1 -0
- package/dist/assets/index-C1011MmK.js +2 -0
- package/dist/assets/index-CS2xkLsB.js +1 -0
- package/dist/assets/index-DrEiJ4Wx.js +1 -0
- package/dist/assets/index-Obh2uEoj.js +75311 -0
- package/dist/assets/{lexical-0vG0lfLn.js → lexical-Y1MbDrft.js} +1 -1
- package/dist/assets/{liveblocks-abv8TgYe.js → liveblocks-CH5Ytl_r.js} +1 -1
- package/dist/assets/{lottie-DehW2chz.js → lottie-jJKhsKLZ.js} +2 -2
- package/dist/assets/{mui-DOS4CfBc.js → mui-DzLLS9Rs.js} +2 -2
- package/dist/assets/{react-C3bwNlEv.js → react-9Kj1B1wt.js} +2 -2
- package/dist/assets/{react-0muarBdd.js → react-BLe964tg.js} +3 -3
- package/dist/assets/{react-DGIuy5RW.js → react-CNU9DWBw.js} +1 -1
- package/dist/assets/{react-DGupjeTm.js → react-C_qk_SxL.js} +2 -2
- package/dist/assets/{react-BX1V71Rc.js → react-CdND5srH.js} +2 -2
- package/dist/assets/{react-BKlbvdVi.js → react-D1VJKwtS.js} +2 -2
- package/dist/assets/{react-BQ6Phht1.js → react-D1lzTawy.js} +2 -2
- package/dist/assets/{react-Bf7WBvpI.js → react-DRO7qhGA.js} +4 -4
- package/dist/assets/{recharts-BBlqu8Rz.js → recharts-DE-kxplH.js} +25 -25
- package/dist/assets/{sentry-DBhcw6Be.js → sentry-SNkBC2Al.js} +2 -2
- package/dist/assets/{url-CSfgHOtI.js → url-C9VCVVAZ.js} +1 -1
- package/dist/assets/url-h1qG-NI4.js +1 -0
- package/dist/assets/{utils-DT6Wq-eT.js → utils-CpsqBQqv.js} +1 -1
- package/dist/assets/zeni-epic-state-B7yJI5lR.js +14 -0
- package/dist/index.html +1 -1
- package/package.json +4 -4
- package/dist/assets/ACHDetailsPage-B5qIuZya-DM7YY1FB.js +0 -21
- package/dist/assets/AIPerformancePage-BHB45mP--CWndWSdC.js +0 -539
- package/dist/assets/AccountInfoPage-Cd5xYT1g-BbefpV-7.js +0 -18
- package/dist/assets/AccountInfoPageContent-CJ7ycVIK-5M9LxJhG.js +0 -149
- package/dist/assets/AccountLockedInfoModal-Dox7IuAX-BMD0s6gP.js +0 -59
- package/dist/assets/AccountReconDetailsDrawerPage-Bqty08m0-B-ibKIL7.js +0 -239
- package/dist/assets/AccountRow-D1cjRJJD-brXv0bxV.js +0 -298
- package/dist/assets/AccountsPromoCardStack-Bs3naJHM-CnqFEGey.js +0 -207
- package/dist/assets/AddAddressForCardDrawer-DZkBMJfp-C4r6mehv.js +0 -6
- package/dist/assets/AddToWalletPage-CyRfqVDB-BdTdHS85.js +0 -344
- package/dist/assets/AgingReportsPage-xBFff3BM-ky-EAGcf.js +0 -79
- package/dist/assets/AllUserItems-BJf6WPDo-Deh60Xs6.js +0 -192
- package/dist/assets/ApAgingDetailPage-CjBrPyi8-Drme0iaF.js +0 -46
- package/dist/assets/AppBasePage-CqDm-hnV-gy7t8mSc.js +0 -71
- package/dist/assets/AppDrawerContent-CVVWj66i-CgQm4R5E.js +0 -92
- package/dist/assets/ApprovalRulesSettingsPage-Cckd2uVA-CdSeUeuR.js +0 -47
- package/dist/assets/ArAgingChart-CBsqOd-4-CM7YnEql.js +0 -24
- package/dist/assets/ArAgingDetailPage-i7JObt60-DiaDa_kU.js +0 -46
- package/dist/assets/AttachmentView-CzC4skJ3-DSp7S_ow.js +0 -101
- package/dist/assets/BalancesInsightWithToolTip-B6umvmgL-B0jviFnz.js +0 -38
- package/dist/assets/BankAccountSection-Di4sF52j-CjUG2k4c.js +0 -79
- package/dist/assets/BankAccountWarningSection-Cled-2cR-DDIv4R5M.js +0 -51
- package/dist/assets/BankConnectionsSettingsPage-Ccnzq7st-BhXmaxPm.js +0 -425
- package/dist/assets/BillDetailPage-XXOwBfO1-DxWLoxsB.js +0 -266
- package/dist/assets/BillPayApprovalRuleDetailPage-DFZ0csaT-D62XtRWM.js +0 -27
- package/dist/assets/BillPayApprovalRulesPage-COCypDcS-CxH1-1ro.js +0 -241
- package/dist/assets/BillPayPromoPage-DOE2YIqC-BRNhZmcV.js +0 -84
- package/dist/assets/BillPaySetUpPage-BCJbZDsV-EdWAn7sO.js +0 -42
- package/dist/assets/BillingSettingsPage-iImtlEmO-oLToelCa.js +0 -44
- package/dist/assets/BillsBulkReviewDrawerPage-B11GWM_0-BmGfxE4w.js +0 -1
- package/dist/assets/BoxItem-Bxa1M4QU-CY-vorJI.js +0 -53
- package/dist/assets/BusinessVerificationPage-DSuJFoW1-Xi-gZLue.js +0 -138
- package/dist/assets/CardNumberSubText-_ZZbaz_k-BDqMr1hm.js +0 -21
- package/dist/assets/CashbackDetailPage-DAZXitLt-kEgVWuyi.js +0 -285
- package/dist/assets/ChargeCardDetailPage-B1VIpASk-BGlRije7.js +0 -1467
- package/dist/assets/ChargeCardListPage-BOBepN-x-DtybfgKA.js +0 -412
- package/dist/assets/ChargeCardListTable-YznzSsJo-DoULf2wO.js +0 -711
- package/dist/assets/ChargeCardPaymentHistoryPage--jOwsMla-Bzj0wTwy.js +0 -565
- package/dist/assets/ChargeCardPromoPage-DIfakIOK-BNvT1cxv.js +0 -222
- package/dist/assets/ChargeCardSetupPage-0bpVkeJs-Bkuwwfuy.js +0 -36
- package/dist/assets/ChargeCardStatementsPage-ChWyQlw6-CbdQ3AHt.js +0 -60
- package/dist/assets/CheckDepositDrawerPage-BS7hnyZn-kNVwtOWy.js +0 -206
- package/dist/assets/CollapsableReportTable-DNfFkAts-cgYLh83Q.js +0 -2982
- package/dist/assets/CompanyOfficerDetailsSection-CrOIN4IW-B9X3JGYF.js +0 -331
- package/dist/assets/CompanyPassportCard-CkzYFTrp-BcZUZqNN.js +0 -42
- package/dist/assets/CompanyPassportPage-FE6yli6h-DWhiSjrR.js +0 -417
- package/dist/assets/CompleteProfile-Cb8i1XgZ-BP6okX49.js +0 -52
- package/dist/assets/ConfettiBurst-BZCXEGYA-ho8ERS31.js +0 -1
- package/dist/assets/ConstrainedInnerElement-CgdnMeoA-Cv85URYx.js +0 -5
- package/dist/assets/CreateOrEditVendorPage-CzpSgxbO-2ilw068v.js +0 -281
- package/dist/assets/CreditCardPaymentDrawerPage-c_q0MsSO-CoTzu5XT.js +0 -227
- package/dist/assets/CurrencySelectField-BAh7SHrG-CBSRpu74.js +0 -139
- package/dist/assets/CustomerOnboardingActivationPage-f3Aa6E5r-DcPBpEPv.js +0 -88
- package/dist/assets/CustomerOnboardingContainerPage-CWAtSu08-DAhlgLSo.js +0 -1
- package/dist/assets/CustomerOnboardingDetailPageSkeleton-DYuiWn8s-DBRyrBpA.js +0 -162
- package/dist/assets/CustomerOnboardingNoStepsPage-Bh_F0-oC-ui07nfsA.js +0 -66
- package/dist/assets/CustomerOnboardingPage-B9hSO88_-BFSPGucc.js +0 -107
- package/dist/assets/CustomerOnboardingProductSuitePage-CG0HKCpQ-CTl3yjRz.js +0 -202
- package/dist/assets/Dashboard-BJ_oIHab-nrsDE6qS.js +0 -1611
- package/dist/assets/DashboardReportPage-BemzMw2e-D89HJr4G.js +0 -371
- package/dist/assets/DashboardSidebarBackgroundAnimation-BtA5oEGG-Dlhefpu7.js +0 -12
- package/dist/assets/DepositAccTransactionItem-CyFi1P_L-BDRqwizb.js +0 -76
- package/dist/assets/DepositAccTransactionListPage-DvBRRUdZ-DIdaGFeH.js +0 -66
- package/dist/assets/DomesticWireDetailsPage-DCDo3aHI-kEBCfOTM.js +0 -21
- package/dist/assets/DownloadOverlay-D_lL1sPW-xWfuT0Vo.js +0 -439
- package/dist/assets/DrawerPage-DesxXhZk-CRre4dYu.js +0 -118
- package/dist/assets/EditPeoplePage-QvPy_Six-DH4hfGb_.js +0 -55
- package/dist/assets/EditReimbursementDetailPage-C0ZDkboO-DXyrjaYc.js +0 -865
- package/dist/assets/EntityDetailPage-l7nXIsyF-5oCAhXWK.js +0 -18
- package/dist/assets/EntitySummarySection-BwX0a4JL-zcla-D8w.js +0 -151
- package/dist/assets/ExpenseAutomationOverviewPage-EdyHjbff-MnqvBISM.js +0 -281
- package/dist/assets/ExpenseAutomationPage-DA22Qofw-D083tvHO.js +0 -3001
- package/dist/assets/ExpressPayPage-EMP6inpX-3XG4gLSI.js +0 -168
- package/dist/assets/FeaturePreviewPage-SYJm-3aR-DqyedTbe.js +0 -11
- package/dist/assets/FollowStepsSection-BxESVqJD-Cg2jHWRs.js +0 -390
- package/dist/assets/GlobalReviewListPage-D5_ACa-q-D3OrFPtp.js +0 -291
- package/dist/assets/InformationCardStack-B_qQUEYD-DttLY3HS.js +0 -31
- package/dist/assets/InsightsCardStack-BsQzoVzj-Dk9dJ9p5.js +0 -79
- package/dist/assets/InsightsSection-B6CNlTNH-BdZRn5zX.js +0 -27
- package/dist/assets/IntegrationsSettingsPage-DP6fAccq-LBB3bZYV.js +0 -57
- package/dist/assets/InternationalWireSwiftDetailsPage-VdG7bDZi-CfZjD-fy.js +0 -171
- package/dist/assets/InternationalWireVerificationPage-COC6lZml-DC50drx7.js +0 -65
- package/dist/assets/InviteFormPage-DN02jRy5-Buy4T1zp.js +0 -312
- package/dist/assets/InvitePageListView-CP4K9tJi-CHkbuC7f.js +0 -739
- package/dist/assets/InvitePeoplePage-VTM6kM1u-CU4p_G8a.js +0 -12
- package/dist/assets/InvoiceUploadSection-it-ZYl1N-XsZhHn3v.js +0 -140
- package/dist/assets/IssueChargeCardPage-CVfuvGey-C6KQpSo7.js +0 -532
- package/dist/assets/LabeledAddressValue-DDrQcHIE-hP7vwQBZ.js +0 -49
- package/dist/assets/LabeledAddressValueField-BgWwd5Gw-DFe8vIUL.js +0 -45
- package/dist/assets/LabeledControlledCheckBoxField-CcPO1k23-CU-iLMSG.js +0 -16
- package/dist/assets/LabeledCountryMultiSelectField-BYYjzwUG-DXWiTuV-.js +0 -237
- package/dist/assets/LabeledCreatableSingleSelectField-CISYMojq-DqRsgtUm.js +0 -208
- package/dist/assets/LabeledDocumentField-C_bcFxdY-DJ7-SOXf.js +0 -41
- package/dist/assets/LabeledDropDownFormattedTextField-ScGGCap8-mVsgmCkO.js +0 -59
- package/dist/assets/LabeledText-C8Y7EOsX-DEEaYkeb.js +0 -42
- package/dist/assets/LabeledUserSingleSelectWithSubtitlesField-C8JxAcOT-D4KRCLOC.js +0 -229
- package/dist/assets/LabeledZeniRolesDropDownField-BZtreVpj-D7w5kOCp.js +0 -297
- package/dist/assets/LinkJETransactionPage-CKq4oiX9-ltE4XV_6.js +0 -98
- package/dist/assets/LockCardPage-CZENNby7-BsVSJBxy.js +0 -623
- package/dist/assets/LowBalancePopup-1727S1ri-Ch0sQQf3.js +0 -34
- package/dist/assets/MagicLinkACHDetailsPage-BSOlSfNu--EXqRjnH.js +0 -1
- package/dist/assets/MagicLinkDomesticWireDetailsPage-D1DTPo0E-DyDKS580.js +0 -1
- package/dist/assets/MagicLinkInternationalWireDetailsPage-D_wo_2nm-BwOG2bc6.js +0 -1
- package/dist/assets/MagicLinkSuccessPage-QMkZgQLG-BLATYjDj.js +0 -31
- package/dist/assets/MagicLinkTitleSection-CARU1oLQ-B0cyw7Mk.js +0 -17
- package/dist/assets/MailingDetailsSection-ByOPaJ05-DHEttRbi.js +0 -21
- package/dist/assets/MyBankConnectionsSettingsPage-BdgIIhL1-Dxh6kCPM.js +0 -110
- package/dist/assets/MyPendingActivationChargeCardListPage-CX38bDdq-ClsHkhfI.js +0 -6
- package/dist/assets/MyProfileSettingsPage-DYu0Fx6I-CkZmnWdK.js +0 -85
- package/dist/assets/NavBarWithPicker-CGGEvLwe-DZ7VBJBK.js +0 -30
- package/dist/assets/NavigationArrow-CTNkKUtV-DwVtEjKU.js +0 -47
- package/dist/assets/NavigationDots-Dvce3gHt-BhNbY-Jn.js +0 -15
- package/dist/assets/NewGlobalMerchantPage-D_f7z47T-CFtXtRiH.js +0 -160
- package/dist/assets/NoDataChart-CrKeqWSr-DnRwd0s-.js +0 -26
- package/dist/assets/NoDataTable-4vPXmPYF-0AXx0isj.js +0 -8
- package/dist/assets/NotFoundPage-BLWPU1wU-DmwpjiFz.js +0 -46
- package/dist/assets/NotificationSettingsPage-CDiDLX3A-9UeXvRF4.js +0 -163
- package/dist/assets/NotificationsListConfig-B5pDa4cJ-CViBSk1u.js +0 -1
- package/dist/assets/NotificationsPage-Ccl7Dny1-DO1DVf8y.js +0 -685
- package/dist/assets/OpExByVendorPage-spd-nKV4-BYZguWNQ.js +0 -100
- package/dist/assets/OverlayContainerPage-BG9y5C0t-XSUpPkb1.js +0 -11
- package/dist/assets/PandLWithForecastPage-TSoe4Z7F-DADbKlaU.js +0 -123
- package/dist/assets/PaymentAccountSetupBillingAddressSection-9ma8SpIa-DnLcaoHi.js +0 -107
- package/dist/assets/PeoplePage-b5_I0qOw-DREebsk9.js +0 -727
- package/dist/assets/Preview-DkS-Ppwi.js +0 -1
- package/dist/assets/ProductsCarousel-C3M0ocdF-CqKUYrUp.js +0 -142
- package/dist/assets/PromoBaseCards-BOGJI2ws-HYGeFCqU.js +0 -218
- package/dist/assets/QBOConnectionDialog-CmpnnuzP-5mKGNZm7.js +0 -51
- package/dist/assets/QBOSetupSection-DjnN9dgv-D9sOi7j3.js +0 -79
- package/dist/assets/ReimbursementApprovalRuleDetailPage-D5NXjrO9-CSFmXSBt.js +0 -32
- package/dist/assets/ReimbursementApprovalRulesPage-BsCTIqUJ-BciPnq07.js +0 -243
- package/dist/assets/ReimbursementDetailPage-BbyxE2uL-CCn1M_IM.js +0 -314
- package/dist/assets/ReimbursementPromoPage-CyEgwqcf-QZKK6RXF.js +0 -84
- package/dist/assets/ReimbursementSetUpPage-RETPkEQd-7RlERPSK.js +0 -140
- package/dist/assets/ReimbursementsBulkReviewDrawerPage-DnmYl0FM-B6Bppczb.js +0 -1
- package/dist/assets/ReloadCard-Bdoo0XiI-BkT_TrPt.js +0 -26
- package/dist/assets/ReportTableViewSelector-Bc1K7mU_-BcXnhDrl.js +0 -151
- package/dist/assets/ReportsPage-BOTHMLWh-C7yXcceR.js +0 -269
- package/dist/assets/RevenueChart-DvyZ3aO7-ln4Xbq3A.js +0 -280
- package/dist/assets/ReviewDetailsPage-BIMg1n2e-DlA-53yQ.js +0 -290
- package/dist/assets/ReviewOverlay-CxwoiOLC-DmcvjVCl.js +0 -152
- package/dist/assets/RoleWithToolTip-Ct3_VuDM-BKP6CsTd.js +0 -22
- package/dist/assets/ScheduleDetailsFixedAssetsPage-DiL5Dozk-DCavU86U.js +0 -37
- package/dist/assets/ScheduleDetailsPage-5FWpLRtd-CO7mo75a.js +0 -37
- package/dist/assets/ScheduleSequenceTable-R3-PsXES-i-4DMkvc.js +0 -326
- package/dist/assets/ScreenRoutes-D-ddKpF8.js +0 -179
- package/dist/assets/SetUpAccountSection-CctbMmoK-ZyErAiPF.js +0 -378
- package/dist/assets/SignIn-CmgmnRm4-DBoFBrvr.js +0 -491
- package/dist/assets/SignInScreen-DCSGviBr.js +0 -1
- package/dist/assets/SpendManagementListViewPage-CFUxCqkU-dAFL_Ppz.js +0 -134
- package/dist/assets/SpendManagementPerTabPage-C-kqNTci-Udt5CTX9.js +0 -754
- package/dist/assets/SpendManagementSection-CIz4nE_w-0q2VpGOz.js +0 -246
- package/dist/assets/StatementItem-vVtoBN2w-CiKnbbLX.js +0 -31
- package/dist/assets/StatementsPage-As5WOnMR-D0_TDe23.js +0 -58
- package/dist/assets/StatusSwitcher-Bv-ozN6U-Uu-9K_ZT.js +0 -120
- package/dist/assets/SubTabSwitcher-D7QeM6nb-Cvhnug-S.js +0 -58
- package/dist/assets/SummaryCard-C2qoTsAY-AZ17zAeW.js +0 -1
- package/dist/assets/TaskManagementPage-BJwp32Ph-DTb1_fWh.js +0 -508
- package/dist/assets/TimeRangeSwitcher-D00bDDhP-DMLJ4CgT.js +0 -64
- package/dist/assets/TimeframeSwitcher-DA99HdHt-B7dPmR3A.js +0 -31
- package/dist/assets/TimeframeSwitcherWithToggle-DyggDIQj-BDMDYsLj.js +0 -53
- package/dist/assets/TopExCard-Z1WabZ8c-D9ahLOhN.js +0 -38
- package/dist/assets/TopExDetailPage-CzHG4f9E-DSsiHUw6.js +0 -132
- package/dist/assets/TransactionActivityLogPage-CGKnjNfU-DFi44yxk.js +0 -195
- package/dist/assets/TransactionDetailPage-1-mLOWSz-NZ0pEK8W.js +0 -903
- package/dist/assets/TransactionList-BB-xoIGm-CmL2sv-k.js +0 -153
- package/dist/assets/TransactionListBig-C5Sf5Xh--DUDOs_q9.js +0 -284
- package/dist/assets/TransactionListPage-Cj7h1Ros-BpKazEVH.js +0 -35
- package/dist/assets/TransactionVendorDetailPage-SsrSOk3O-BLmQC0O2.js +0 -80
- package/dist/assets/TransferDrawerPage-BvKZ7vHF-BDZmQek2.js +0 -362
- package/dist/assets/TreasuryOverviewPage-DwvjMR4_-BGYjEWMJ.js +0 -725
- package/dist/assets/TreasuryPromoPage-CtTFvSQW-B3Bvdh6x.js +0 -505
- package/dist/assets/TreasuryStatementsPage-Catz8shX-X_IYs6qa.js +0 -58
- package/dist/assets/TreasuryTaxLetterPage-D8hzCL5o-Da9lGvIi.js +0 -58
- package/dist/assets/TrendChart-Bnp4Pcdf-CJF7dKdP.js +0 -16
- package/dist/assets/TrendWithTransactions-3D1FvM8G-TXKeFcvZ.js +0 -116
- package/dist/assets/UncategorizedAccountsMappingPage-DbyY-dYB-D1dmyVJ4.js +0 -244
- package/dist/assets/UnitIntegrationPage-CTzme1te-CbgSnbxZ.js +0 -67
- package/dist/assets/UploadAdditionalDocumentOverlay-Wl4Spdpn-PlCykjL7.js +0 -38
- package/dist/assets/Vendor2FAPopup-D0zYKkIv-aIJ1NUXW.js +0 -1
- package/dist/assets/VendorACHDetailsPage-YYX9aQdw-D-OOHJou.js +0 -1
- package/dist/assets/VendorDetailPage-Br9wIOnI-De2XcUb6.js +0 -257
- package/dist/assets/VendorDomesticWireDetailsPage-BpPgQRHI-BdL3didN.js +0 -1
- package/dist/assets/VendorFiling1099EditablePage-himC7iD3-C2XAIK9H.js +0 -175
- package/dist/assets/VendorFirstReviewPage-BbknTCBD-DDAQwDZy.js +0 -730
- package/dist/assets/VendorInternationalWireDetailsPage-CS595Xgc-C3mHhbHk.js +0 -152
- package/dist/assets/VendorInternationalWireSwiftDetailsPage-yhTjWXvw-C2v0qs8u.js +0 -1
- package/dist/assets/VendorsAccountsSection-CgSJu8wq-Ctj2nPMI.js +0 -68
- package/dist/assets/VerifyDevice-Dvf0JsNN-PRfKusRx.js +0 -112
- package/dist/assets/VideoPlayer-VAzOGCDL-6U91k2_g.js +0 -78
- package/dist/assets/VideoPopup-BqvZ-XIh-nZFpm96A.js +0 -31
- package/dist/assets/WarningsDrawerPage-DeNonoNp-Cer8JJKy.js +0 -92
- package/dist/assets/ZeniAccountDetailPage-GcwTJdB8-BghGtTMM.js +0 -300
- package/dist/assets/ZeniAccountListViewPage-CdwO0Duy-D-GLBesW.js +0 -443
- package/dist/assets/ZeniAccountNavBarPieces-BrSIfL36-2vSHgl5n.js +0 -33
- package/dist/assets/ZeniAccountPromoPage-JrcedQYB-DxQZiNCa.js +0 -184
- package/dist/assets/ZeniAccountSetupPage-TKBfbgzJ-CCXkWEma.js +0 -36
- package/dist/assets/ZeniCopyright-DglqrTpl-B_6mXo3q.js +0 -1
- package/dist/assets/ZeniTransferAmountSlider-BcaZZuAw-Dri2Vqf1.js +0 -63
- package/dist/assets/add-to-wallet-DgdBD8_G-2lJ5O5xD.js +0 -1
- package/dist/assets/agingReportHelper-ovKP-qSS-Cx4Hdid-.js +0 -1
- package/dist/assets/analyticsHelper-B3H0U8CW.js +0 -1
- package/dist/assets/analyticsHelper-CAYdbjhS-Bgy1SJeR.js +0 -1
- package/dist/assets/arrow-south-east-round-PEovUgvH-CH2rCMd8.js +0 -1
- package/dist/assets/auto-transfer-rule-mbafm5D3-Bwf-jWRn.js +0 -1
- package/dist/assets/chartTypes-CD3vrBsI-CxjFANZl.js +0 -1
- package/dist/assets/commonDimensions-Oz1tdAcx-C8J13a8y.js +0 -1
- package/dist/assets/commonTypes-5tEXwrX4-DThfJWJu.js +0 -1
- package/dist/assets/constants-B4Nwm03n.js +0 -1
- package/dist/assets/downloadPdf-Dsuxeias-IRIi2izs.js +0 -1
- package/dist/assets/empty-B6p9RErG.js +0 -1
- package/dist/assets/epic-CPlQ2CFE.js +0 -2
- package/dist/assets/getReferrerType-DjPOy76W-DRP5VHem.js +0 -1
- package/dist/assets/gift-box-Cmt9OgIZ-CmAMj3r2.js +0 -1
- package/dist/assets/graphic-no-data-l-DU4J8fDt-Db5RbWJE.js +0 -1
- package/dist/assets/graphic-no-data-net-burn-l-CzmycA0m-BEpZ9Tqr.js +0 -1
- package/dist/assets/handshake-BPg58FML-6UbFX0a-.js +0 -1
- package/dist/assets/helper-Ckm10Uko-DCD3fpXN.js +0 -223
- package/dist/assets/index-BYqTlB4Y.js +0 -39
- package/dist/assets/index-BZNcKYJW.js +0 -1
- package/dist/assets/index-C8o-xzAN.js +0 -29875
- package/dist/assets/index-D-Jb9hdv.js +0 -1
- package/dist/assets/mapLoadingInProgressToTreeNode-jcHEi-mv-Cl8KOFjG.js +0 -1
- package/dist/assets/mapSectionWithAcOnlyToTreeNode-Cgyt68f3-CDBFUVvY.js +0 -1
- package/dist/assets/mapSpacerToTreeNode-XgUp1xUb-B7yPJt54.js +0 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-Bre8FfBF-C3mdnabF.js +0 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-DOyCX6ij-DJ5f-tsr.js +0 -1
- package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-D2IvFyR5-Ca3eEPkJ.js +0 -1
- package/dist/assets/page-detail-CWX5S47F-Db9HhKdl.js +0 -1
- package/dist/assets/panelSelectedMixin-Cddsb26L-BEaTutPV.js +0 -3
- package/dist/assets/radio-default-CiSgisfh-bKgsz1mh.js +0 -1
- package/dist/assets/shield-DOlUxcFf-CuhCM_gA.js +0 -1
- package/dist/assets/toCOABalancesWithID-aLNB35t7-BtYnBfqr.js +0 -1
- package/dist/assets/toChartData-DUL6vnzJ-Bu4Ds4yf.js +0 -1
- package/dist/assets/types-DyvtCprH-NFPm5TaG.js +0 -1
- package/dist/assets/upload-reimbursement-receipt-O2N8vcO7-_YW_CWHL.js +0 -1
- package/dist/assets/uploadAttachment-Ck4wivBR-Cl_dwAB6.js +0 -286
- package/dist/assets/uploadReceipts-CIgkuVpu-DNtrxUdf.js +0 -1
- package/dist/assets/url-CRv0BSFG.js +0 -1
- package/dist/assets/useLongPress-GCK2COYQ-Bd_7uKXZ.js +0 -1
- package/dist/assets/usp-line-BBd1wKwW-rq31vkuF.js +0 -1
- package/dist/assets/zeni-epic-state-DMWYYyyR.js +0 -14
|
@@ -1,417 +0,0 @@
|
|
|
1
|
-
import{e as _,g as St,aS as jt,aa as Dt,cQ as vt,O as E,V as t,bE as Ft,ae as Ct,cR as Tt,aT as Nt,x as b,cS as ot,cT as kt,b as Lt,o as a,an as be,cU as lt,cV as P,cW as Re,cX as W,cY as ee,d as N,cZ as ge,b3 as ue,c_ as st,c$ as Pt,d0 as Et,d1 as it,ay as zt,d2 as Vt,d3 as nt,d4 as At,d5 as _t,d6 as Mt,d7 as Wt,d8 as Bt,bu as Rt,aV as Yt,bb as Q,ak as xe,u as I,a as Ye,d9 as Ut,aG as qt,da as Gt,cq as Ht,db as Xt,ao as Zt,dc as Jt}from"./index-C8o-xzAN.js";import{a as q,P as Qt}from"./sentry-DBhcw6Be.js";import{n as i,a as Kt,k as ea}from"./mui-DOS4CfBc.js";import{G7 as ta,G8 as rt,G9 as dt,Ga as ct,Gb as pt,Gc as ut,bj as mt,Gd as Te,bL as aa,bh as Ne,bC as oa,Ge as la}from"./zeni-epic-state-DMWYYyyR.js";import{D as ft}from"./LabeledCreatableSingleSelectField-CISYMojq-DqRsgtUm.js";import{Y as ht}from"./LabeledDocumentField-C_bcFxdY-DJ7-SOXf.js";import{p as sa,i as ia,t as na}from"./commonTypes-5tEXwrX4-DThfJWJu.js";import{b as ra}from"./LabeledCountryMultiSelectField-BYYjzwUG-DXWiTuV-.js";import{x as da,f as ca,p as pa,h as ua,m as yt,b as ma,g as fa}from"./helper-Ckm10Uko-DCD3fpXN.js";import{$ as gt}from"./LabeledAddressValue-DDrQcHIE-hP7vwQBZ.js";import"./liveblocks-abv8TgYe.js";import"./core-VVne9A9m.js";import"./recharts-BBlqu8Rz.js";import"./lottie-DehW2chz.js";import"./analytics-D0xbCiOA.js";import"./lexical-0vG0lfLn.js";import"./utils-DT6Wq-eT.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},l=new e.Error().stack;l&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[l]="6e447271-257b-4075-8e89-e57bc57f0ccb",e._sentryDebugIdIdentifier="sentry-dbid-6e447271-257b-4075-8e89-e57bc57f0ccb")}catch{}})();const bt={maxWidth:new b(280,340),contentMaxWidth:new b(200,255)},ha=ea`
|
|
2
|
-
0% {
|
|
3
|
-
transform: translateX(100%)
|
|
4
|
-
}
|
|
5
|
-
100% {
|
|
6
|
-
transform: translateX(0)
|
|
7
|
-
}
|
|
8
|
-
`,ya=i.div`
|
|
9
|
-
position: fixed;
|
|
10
|
-
top: ${a.sp3};
|
|
11
|
-
right: ${a.sp3};
|
|
12
|
-
z-index: 1400;
|
|
13
|
-
padding: ${a.sp3} ${a.sp4};
|
|
14
|
-
max-width: ${e=>bt.maxWidth.valuePx(e.windowSize)};
|
|
15
|
-
background: ${e=>e.theme.colors.black};
|
|
16
|
-
border-radius: 12px;
|
|
17
|
-
box-shadow: ${e=>`${a.sp0} ${a.sp1} ${a.sp1} ${e.theme.colors.dropShadowNormal}`};
|
|
18
|
-
display: flex;
|
|
19
|
-
flex-direction: row;
|
|
20
|
-
justify-content: center;
|
|
21
|
-
align-items: flex-start;
|
|
22
|
-
animation: ${ha} 0.4s;
|
|
23
|
-
`,ga=i(Wt)`
|
|
24
|
-
margin-top: 2px;
|
|
25
|
-
width: ${a.sp4};
|
|
26
|
-
height: ${a.sp4};
|
|
27
|
-
color: ${N.successDark};
|
|
28
|
-
`,ba=i(Bt)`
|
|
29
|
-
margin-top: 2px;
|
|
30
|
-
width: ${a.sp4};
|
|
31
|
-
height: ${a.sp4};
|
|
32
|
-
color: ${N.important};
|
|
33
|
-
`,xa=i.div`
|
|
34
|
-
margin-top: ${a.sp1};
|
|
35
|
-
`,wa=i(Yt)`
|
|
36
|
-
color: ${N.neutralGrey2Light};
|
|
37
|
-
`,Ia=i.div`
|
|
38
|
-
max-width: ${e=>bt.contentMaxWidth.valuePx(e.windowSize)};
|
|
39
|
-
margin: ${a.sp0} ${a.sp3};
|
|
40
|
-
`,$a=i(Rt)`
|
|
41
|
-
color: ${e=>e.isSuccess?N.success:N.important};
|
|
42
|
-
`,Oa=i.div`
|
|
43
|
-
width: ${a.sp3};
|
|
44
|
-
height: ${a.sp3};
|
|
45
|
-
cursor: pointer;
|
|
46
|
-
color: ${e=>e.theme.colors.hero};
|
|
47
|
-
&:hover {
|
|
48
|
-
color: ${N.primaryDark};
|
|
49
|
-
}
|
|
50
|
-
`,Sa=e=>{const l=E.getLocalizedStrings().companyPassport.snackBar;return e==="Error"?l.failedText:l.successText};function ja(e){const l=_(),{fetchState:u,onRemoveSnackbar:s}=e;q.useEffect(()=>{setTimeout(s,5e3)});const d=E.getLocalizedStrings().companyPassport.snackBar,o=u==="Completed";return t.jsxs(ya,{windowSize:l,children:[o?t.jsx(ga,{}):t.jsx(ba,{}),t.jsxs(Ia,{windowSize:l,children:[t.jsx($a,{isSuccess:o,children:o?d.success:d.error}),t.jsx(xa,{children:t.jsx(wa,{children:Sa(u)})})]}),t.jsx(Oa,{onClick:s,children:t.jsx(Lt,{})})]})}const me={labelWidth:new b(110,145,180),largeLabelWidth:new b(150,215,215),largeLabelDocumentWidth:new b(150,210,252),paddingBottom:new b(I[3],I[2])};function Da(e){const l=_(),[u,s]=q.useState(!1),{companyPassport:d,commonSetUp:{businessVerification:o},common:{documents:n}}=E.getLocalizedStrings(),{fileProps:m,companyFiles:f,deleteFileStatusById:p,updateFileStatusById:r,sectionId:x,isDisabled:S,companyIncInfo:w,style:F}=e,O=me.labelWidth.value(l),j=me.largeLabelWidth.value(l),$=me.largeLabelDocumentWidth.value(l),{dateFormat:{visual:c},companyPassport:v}=E.getLocalizedStrings(),h=f.find(G=>G.documentType==="certificate_of_incorporation"),M=l==="small"?d.companyIncInfo.stateOfIncPlaceholderSmall:d.companyIncInfo.stateOfIncPlaceholder,oe=l==="small"?d.companyIncInfo.typeOfIncPlaceholderSmall:d.companyIncInfo.typeOfIncPlaceholder;return t.jsxs(va,{style:F,children:[t.jsx(Ca,{children:d.companyIncInfo.title}),t.jsxs(Fa,{children:[t.jsx(ft,{label:{label:v.companyIncInfo.typeOfInc,width:j},isDisabled:S,creatableSingleSelectField:{name:fe(x,"typeOfInc"),placeholder:oe,defaultValue:{selectedOption:w?.typeOfInc,allOptions:d.companyIncInfo.allTypesOfIncorporation}}}),t.jsx(je,{}),t.jsx(Pt,{label:{label:v.companyIncInfo.stateOfInc,width:j},isDisabled:S,singleSelectField:{name:fe(x,"stateOfInc"),placeholder:M,defaultValue:{selectedOption:w?.stateOfInc,allOptions:d.companyIncInfo.allStatesOfIncorporation}}}),t.jsx(je,{}),t.jsx(Et,{isDisabled:S,label:{label:d.companyIncInfo.incDate,width:O},style:{paddingBottom:me.paddingBottom.valuePx(l)},dateField:{name:fe(x,"incDate"),placeholder:W(d.companyIncInfo.incDate),defaultValue:w?.incDate,dateFormat:c.defaultInput,maxDate:Ne(),minDate:aa("01 Jan 1900"),autoComplete:"off"}}),t.jsx(je,{}),t.jsx(ht,{name:fe(x,"certificateOfIncorporation"),isDisabled:S,sizeLimit:it,deleteFileStatusById:p,updateFileStatusById:r,filesEndPoint:m.filesEndPoint,authParams:m.authParams,label:{label:o.certificateOfIncorporation,width:$},filemetadataPayload:{documentType:"certificate_of_incorporation",purposeId:"business_verification",documentSide:"front"},file:h,acceptableTypes:["image/jpg","image/jpeg","image/png","application/pdf","image/heic","image/heif"],registerOptions:{required:!1},hasError:u,updateFilesEntity:m.updateFilesEntity,onEditFileName:m.onEditFileName,onDeleteFile:m.onDeleteFile,onFileSizeError:G=>s(G)}),t.jsx(Ta,{windowSize:l,isError:u,children:n.formatDocumentText10MB})]})]})}const fe=(e,l)=>`${e}.${l}`,va=i.div`
|
|
51
|
-
display: flex;
|
|
52
|
-
flex-direction: column;
|
|
53
|
-
padding-top: ${a.sp3};
|
|
54
|
-
padding-bottom: ${a.sp9};
|
|
55
|
-
`,Fa=i.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=>`${a.sp0} 2px ${a.sp1} ${e.theme.colors.dropShadowNormal}`};
|
|
61
|
-
border-radius: ${a.sp2};
|
|
62
|
-
`,Ca=i(Q)`
|
|
63
|
-
color: ${e=>e.theme.colors.champion};
|
|
64
|
-
margin-bottom: ${a.sp3};
|
|
65
|
-
`,je=i.div`
|
|
66
|
-
display: flex;
|
|
67
|
-
flex: 1;
|
|
68
|
-
background-color: ${e=>e.theme.colors.grey3};
|
|
69
|
-
min-height: 1px;
|
|
70
|
-
max-height: 1px;
|
|
71
|
-
`,Ta=i(xe)`
|
|
72
|
-
padding: ${a.sp1} ${a.sp4};
|
|
73
|
-
background: ${e=>e.theme.colors.grey4};
|
|
74
|
-
border-radius: ${a.sp0} ${a.sp0} ${a.sp2} ${a.sp2};
|
|
75
|
-
text-align: ${e=>e.windowSize==="small"?"initial":"right"};
|
|
76
|
-
color: ${e=>e.isError?N.important:e.theme.colors.grey1};
|
|
77
|
-
`,Na=i(Xt)`
|
|
78
|
-
color: ${e=>e.theme.colors.primary};
|
|
79
|
-
margin-block-start: ${a.sp0};
|
|
80
|
-
margin-block-end: ${a.sp0};
|
|
81
|
-
padding: 0 ${a.sp3};
|
|
82
|
-
text-align: right;
|
|
83
|
-
list-style-position: inside;
|
|
84
|
-
`,ka=i.li`
|
|
85
|
-
text-decoration: ${e=>e.isCancelled?"line-through":"unset"};
|
|
86
|
-
`,La=i(Zt)`
|
|
87
|
-
color: ${e=>e.theme.colors.grey1};
|
|
88
|
-
border-radius: ${a.sp1};
|
|
89
|
-
border: 1px solid ${e=>e.theme.colors.grey2};
|
|
90
|
-
padding: 1px 6px 1px 6px;
|
|
91
|
-
width: fit-content;
|
|
92
|
-
margin-left: auto;
|
|
93
|
-
margin-bottom: ${a.sp2};
|
|
94
|
-
`,Pa=e=>{const{labels:l,style:u,listStyleType:s="disc"}=e;return t.jsx(Na,{style:{...u,listStyleType:s},children:l.filter(d=>d!=null&&d.text!="").map((d,o)=>t.jsxs(ka,{isCancelled:d.status==="cancelled",children:[d.text,d.subText!=null?t.jsxs(La,{children:["Started: ",d.subText]}):null]},`${d.text}_${o}`))})},ae={width:new b(343,580,726),paddingTopBottom:new b(I[3],I[3]),marginRight:new b(I[2],I[2]),labelMarginLeft:new b(I[3],I[4]),labelMarginRight:new b(I[3],I[4])};function ye({isDisabled:e,label:l,bullettedLabels:u,style:s}){const d=_();return u.labels.length>0?t.jsxs(Ea,{size:d,style:s,children:[t.jsx(ge,{isDisabled:e,label:l.label,style:{marginLeft:ae.labelMarginLeft.value(d),marginRight:ae.labelMarginRight.value(d),width:l.width??"auto"}}),t.jsx(Pa,{...u,style:{maxWidth:l.width!=null?`calc(100% - ${l.width}px)`:"auto"}})]}):null}const Ea=i.div`
|
|
95
|
-
display: flex;
|
|
96
|
-
flex-direction: row;
|
|
97
|
-
align-items: flex-start;
|
|
98
|
-
justify-content: space-between;
|
|
99
|
-
background-color: ${e=>e.theme.colors.grey5};
|
|
100
|
-
width: ${e=>ae.width.valuePx(e.size)};
|
|
101
|
-
height: auto;
|
|
102
|
-
padding-right: ${e=>ae.marginRight.valuePx(e.size)};
|
|
103
|
-
padding-top: ${e=>ae.paddingTopBottom.valuePx(e.size)};
|
|
104
|
-
padding-bottom: ${e=>ae.paddingTopBottom.valuePx(e.size)};
|
|
105
|
-
|
|
106
|
-
:first-of-type {
|
|
107
|
-
border-top-left-radius: inherit;
|
|
108
|
-
border-top-right-radius: inherit;
|
|
109
|
-
}
|
|
110
|
-
|
|
111
|
-
:last-of-type {
|
|
112
|
-
border-bottom-left-radius: inherit;
|
|
113
|
-
border-bottom-right-radius: inherit;
|
|
114
|
-
}
|
|
115
|
-
`,se={labelWidth:new b(110,110,140),mediumLabelWidth:new b(140,140,160),largeLabelWidth:new b(170,170,180),extraLargeLabelWidth:new b(200,250,300),regulatedStatusMaxWidth:new b(343,580,726)},xt=E.getLocalizedStrings(),y=xt.commonSetUp.businessVerification,{companyPassport:T,dateFormat:{analytics:Ue},common:{yes:qe,no:Ge}}=xt;function za({companyViewData:e,allIndustries:l,allNationalityCountries:u,companyInfo:s,companyAddress:d,sectionId:o,isDisabled:n,isCompanyVerified:m,onCompanyAddressClick:f,style:p}){const r=_(),x=se.labelWidth.value(r),S=se.mediumLabelWidth.value(r),w=se.largeLabelWidth.value(r),F=se.extraLargeLabelWidth.value(r),O=Kt(),{watch:j,setValue:$,formState:{errors:c}}=lt(),v=e.company.company.companyInfo,h=C=>{const V=s?.[C];return V==null?!1:typeof V=="string"&&V===""||Array.isArray(V)&&V.length===0?m===!1:!0},M=h("companySubIndustry"),oe=h("countriesOfOperations"),G=h("transactionVolume"),we=h("regulatedStatus"),Ie=h("usNexus"),H=h("purposeOfAccount"),Y=h("companySourceOfFunds"),ie=j(g(o,"companySourceOfFunds")),ne=j(g(o,"transactionVolume")),K=j(g(o,"regulatedStatus")),re=j(g(o,"usNexus")),X=j(g(o,"purposeOfAccount")),Z=j(g(o,"companyIndustryType")),de=Z?.selectedOption??s?.companyIndustryType,$e=r==="small"?T.companyInfo.businessModelPlaceholderSmall:T.companyInfo.businessModelPlaceholder,Oe=C=>l.find(V=>V.code===C)?.name??C,B=C=>{$(g(o,"subIndustry"),{selectedOption:void 0,allOptions:Te(C)})};return t.jsxs(Aa,{style:p,children:[t.jsx(Ma,{children:T.companyInfo.title}),t.jsxs(_a,{children:[t.jsx(P,{isDisabled:n,label:{label:T.companyInfo.companyName,width:w},text:{type:"text",name:g(o,"companyName"),placeholder:W(T.companyInfo.companyName),defaultValue:s?.companyName,autoComplete:"new-password",options:{required:!!v.name,pattern:Re}}}),t.jsx(z,{}),t.jsx(P,{isDisabled:n,label:{label:T.companyInfo.legalName,width:S},text:{type:"text",name:g(o,"legalName"),placeholder:W(T.companyInfo.legalName),defaultValue:s?.legalName,autoComplete:"new-password",options:{required:!!v.companyLegalName,pattern:Re}}}),t.jsx(z,{}),t.jsx(P,{isDisabled:n,label:{label:T.companyInfo.website,width:x},text:{type:"url",name:g(o,"website"),placeholder:W(T.companyInfo.website),defaultValue:s?.website?.toString()??"",autoComplete:"new-password"}}),t.jsx(z,{}),M?t.jsx(t.Fragment,{children:t.jsxs(Wa,{"data-suppress-hover":n!=null?!0:void 0,children:[t.jsx(ee,{label:{label:y.companyIndustryLabel,width:x},singleSelectField:{singleSelect:{name:g(o,"companyIndustryType"),placeholder:y.companyIndustryPlaceholder,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:da,isDisabled:n,showTickMark:!0,sortOptions:!1},defaultValue:{selectedOption:s?.companyIndustryType,allOptions:[...ut]},onSelectChange:B},isFunctional:!0,errorInfoLabel:y.companyIndustryError.replace("_product_type_","company"),style:{padding:0,margin:0,outline:"none",paddingRight:a.sp2}}),de!=null&&t.jsx(ee,{label:{label:"",width:0,style:{marginRight:0}},singleSelectField:{singleSelect:{name:g(o,"subIndustry"),placeholder:y.companySubIndustryPlaceholder,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:C=>ca(C,de),isDisabled:n,showTickMark:!0,sortOptions:!1},defaultValue:{selectedOption:s?.companySubIndustry,allOptions:Te(Z?.selectedOption)}},isFunctional:!0,keepFocusedStyle:!0,errorInfoLabel:y.companySubIndustryError.replace("_product_type_","company"),additionalInfoLabel:n==null?y.companyIndustryAdditionalInfo:void 0,additionalInfoStyle:{color:O.colors.hero},style:{outline:"none",paddingBottom:a.sp0,width:"100%"}})]})}):t.jsx(ee,{label:{label:T.companyInfo.industry,width:x},singleSelectField:{singleSelect:{name:g(o,"industry"),placeholder:T.companyInfo.industryPlaceholder,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:Oe,isDisabled:n,showTickMark:!0},defaultValue:{selectedOption:s?.industry,allOptions:l?.map(C=>C.code)??[]}},isFunctional:!0}),t.jsx(z,{}),t.jsx(ft,{isDisabled:n,label:{label:T.companyInfo.businessModel,width:w},creatableSingleSelectField:{name:g(o,"businessModel"),placeholder:$e,defaultValue:{selectedOption:s?.businessModel,allOptions:T.companyInfo.allBusinessModels}}}),oe&&t.jsxs(t.Fragment,{children:[t.jsx(z,{}),t.jsx(ra,{label:{label:y.countriesOfOperationsLabel,width:w},isDisabled:n,additionalInfoLabel:n==null?y.countriesOfOperationsAdditionalInfo:void 0,multiSelectField:{name:g(o,"countriesOfOperations"),placeholder:y.countriesOfOperationsPlaceholder,defaultValue:ot(s?.countriesOfOperations,(u??[]).map(C=>C.countryCode))}})]}),Y&&t.jsxs(t.Fragment,{children:[t.jsx(z,{}),t.jsx(ee,{label:{label:y.companySourceOfFundsLabel,width:w},singleSelectField:{singleSelect:{name:g(o,"companySourceOfFunds"),placeholder:y.companySourceOfFundsPlaceholder,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:pa,isDisabled:n,showTickMark:!0,sortOptions:!1},defaultValue:{selectedOption:s?.companySourceOfFunds,allOptions:[...pt]}},isFunctional:!0,additionalContent:sa.includes(ie?.selectedOption)?t.jsx(P,{isDisabled:n,showAdditionalInfoLabel:!1,label:{label:"",width:0,style:{marginRight:0,marginTop:0,marginBottom:0}},text:{type:"text",name:g(o,"companySourceOfFundsDescription"),placeholder:y.descriptionPlaceholder,style:{backgroundColor:c[o]!=null&&c[o]?.companySourceOfFundsDescription!=null?N.importantLight:O.colors.background},options:{}},additionalInfoLabel:y.companySourceOfFundsDescriptionError,style:{position:"relative",top:0,left:-w,marginLeft:0,outline:"none"}}):null,additionalInfoLabel:n!=null||c[o]!=null&&c[o]?.companySourceOfFundsDescription!=null?void 0:y.companySourceOfFundsAdditionalInfo,additionalInfoStyle:{color:O.colors.hero}})]}),G&&t.jsxs(t.Fragment,{children:[t.jsx(z,{}),t.jsx(ee,{label:{label:y.transactionVolumeLabel,width:F},singleSelectField:{singleSelect:{name:g(o,"transactionVolume"),placeholder:y.transactionVolumePlaceholder,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:ua,isDisabled:n,showTickMark:!0,sortOptions:!1},defaultValue:{selectedOption:s?.transactionVolume,allOptions:[...ct]}},isFunctional:!0,additionalContent:ia.includes(ne?.selectedOption)?t.jsx(P,{isDisabled:n,showAdditionalInfoLabel:!1,label:{label:"",width:0,style:{marginRight:0,marginTop:0,marginBottom:0}},text:{type:"text",name:g(o,"transactionVolumeDescription"),placeholder:y.descriptionPlaceholder,style:{backgroundColor:c[o]!=null&&c[o]?.transactionVolumeDescription!=null?N.importantLight:O.colors.background},options:{}},additionalInfoLabel:y.transactionVolumeDescriptionError,style:{position:"relative",top:0,left:-F,marginLeft:0,outline:"none"}}):null,additionalInfoLabel:n!=null||c[o]!=null&&c[o]?.transactionVolumeDescription!=null?void 0:y.transactionVolumeAdditionalInfo,additionalInfoStyle:{color:O.colors.hero}})]}),we&&t.jsxs(t.Fragment,{children:[t.jsx(z,{}),t.jsxs(He,{windowSize:r,"data-suppress-hover":n!=null?!0:void 0,children:[t.jsxs(Xe,{children:[t.jsx(ge,{label:y.regulatedStatusLabel,htmlFor:g(o,"regulatedStatus"),isDisabled:n,style:{width:w,color:n==="disabled"?O.colors.grey1:O.colors.hero}}),t.jsxs(Ze,{labelWidth:w,windowSize:r,children:[t.jsx(ue,{label:{label:qe},style:{paddingRight:`${a.sp4}`,width:"auto"},radioField:{name:g(o,"regulatedStatus"),id:`${g(o,"regulatedStatus")}.yes`,value:"yes",style:{height:`${a.sp3}`,width:`${a.sp3}`},radioSize:"small"},isDisabled:n,isContainerClickable:!0}),t.jsx(ue,{label:{label:Ge},style:{width:"auto"},radioField:{name:g(o,"regulatedStatus"),id:`${g(o,"regulatedStatus")}.no`,value:"no",style:{height:`${a.sp3}`,width:`${a.sp3}`},radioSize:"small"},isDisabled:n,isContainerClickable:!0})]})]}),K==="yes"&&t.jsx(P,{isDisabled:n,showAdditionalInfoLabel:!1,label:{label:"",width:0,style:{marginRight:0,marginTop:0,marginBottom:0,marginLeft:0}},text:{type:"text",name:g(o,"regulatedStatusDescription"),placeholder:y.regulatedStatusDescriptionPlaceholder,style:{backgroundColor:c[o]!=null&&c[o]?.regulatedStatusDescription!=null?N.importantLight:O.colors.background},options:{}},additionalInfoLabel:y.regulatedStatusDescriptionError,style:{outline:"none",width:"100%",padding:0}}),c[o]!=null&&c[o]?.regulatedStatus!=null?t.jsx(De,{windowSize:r,children:y.regulatedStatusError.replace("_product_type_","company details")}):c[o]!=null&&c[o]?.regulatedStatusDescription!=null?null:n==null?t.jsx(Je,{windowSize:r,children:y.regulatedStatusAdditionalInfo}):null]})]}),Ie&&t.jsxs(t.Fragment,{children:[t.jsx(z,{}),t.jsxs(He,{windowSize:r,"data-suppress-hover":n!=null?!0:void 0,children:[t.jsxs(Xe,{children:[t.jsx(ge,{label:y.usNexusLabel,htmlFor:g(o,"usNexus"),isDisabled:n,style:{width:w,color:n==="disabled"?O.colors.grey1:O.colors.hero}}),t.jsxs(Ze,{labelWidth:w,windowSize:r,children:[t.jsx(ue,{label:{label:qe},style:{paddingRight:`${a.sp4}`,width:"auto"},radioField:{name:g(o,"usNexus"),id:`${g(o,"usNexus")}.yes`,value:"yes",style:{height:`${a.sp3}`,width:`${a.sp3}`},radioSize:"small"},isDisabled:n,isContainerClickable:!0}),t.jsx(ue,{label:{label:Ge},style:{width:"auto"},radioField:{name:g(o,"usNexus"),id:`${g(o,"usNexus")}.no`,value:"no",style:{height:`${a.sp3}`,width:`${a.sp3}`},radioSize:"small"},isDisabled:n,isContainerClickable:!0})]})]}),re==="yes"&&t.jsxs(t.Fragment,{children:[t.jsx(Ba,{hasError:c[o]!=null&&c[o]?.usNexusTypes!=null,children:t.jsx(yt,{isDisabled:n,label:{label:"",width:0,style:{marginRight:0,marginTop:0,marginBottom:0,marginLeft:0}},multiSelectField:{name:g(o,"usNexusTypes"),placeholder:y.usNexusPlaceholder,getOptionLabel:ma,defaultValue:{selectedOptions:s?.usNexusTypes??[],allOptions:[...dt]},registerOptions:{required:n==null,shouldUnregister:!0,validate:C=>{const V=C?.selectedOptions;return V!=null&&V.length>0}}},style:{outline:"none",margin:0,padding:0,width:"100%"}})}),c[o]!=null&&c[o]?.usNexusTypes!=null&&t.jsx(De,{windowSize:r,children:y.usNexusTypesError})]}),c[o]!=null&&c[o]?.usNexus!=null?t.jsx(De,{windowSize:r,children:y.usNexusError.replace("_product_type_","company details")}):c[o]!=null&&c[o]?.usNexusTypes!=null?null:n==null?t.jsx(Je,{windowSize:r,children:y.usNexusAdditionalInfo}):null]})]}),H&&t.jsxs(t.Fragment,{children:[t.jsx(z,{}),t.jsx(ee,{label:{label:y.purposeOfAccountLabel,width:F},singleSelectField:{singleSelect:{name:g(o,"purposeOfAccount"),placeholder:y.purposeOfAccountPlaceholder,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:fa,isDisabled:n,showTickMark:!0,sortOptions:!1},defaultValue:{selectedOption:s?.purposeOfAccount,allOptions:[...rt]}},isFunctional:!0,additionalContent:na.includes(X?.selectedOption)?t.jsx(P,{isDisabled:n,showAdditionalInfoLabel:!1,label:{label:"",width:0,style:{marginRight:0,marginTop:0,marginBottom:0}},text:{type:"text",name:g(o,"purposeOfAccountDescription"),placeholder:y.descriptionPlaceholder,style:{backgroundColor:c[o]!=null&&c[o]?.purposeOfAccountDescription!=null?N.importantLight:O.colors.background},options:{}},additionalInfoLabel:y.purposeOfAccountDescriptionError,style:{position:"relative",top:0,left:-F,marginLeft:0,outline:"none"}}):null,additionalInfoLabel:n!=null||c[o]!=null&&c[o]?.purposeOfAccountDescription!=null?void 0:y.purposeOfAccountAdditionalInfo,additionalInfoStyle:{color:O.colors.hero}})]}),t.jsx(z,{}),t.jsx(gt,{isDisabled:n,label:{label:T.companyInfo.address,width:x},addressValue:{placeholder:W(T.companyInfo.address),address:d?.addressToCreate,onClick:()=>f("company_address")}}),t.jsx(z,{}),t.jsx(st,{isDisabled:n,label:{label:T.companyInfo.phone,width:x},text:{name:g(o,"phone"),placeholder:W(T.companyInfo.phone),defaultValue:s?.phone,autoComplete:"new-password"}}),t.jsx(z,{}),t.jsx(ye,{label:{label:T.companyInfo.fiscalYear,width:x},bullettedLabels:{labels:[{text:Va(s?.firstMonthOfFY??1)}],listStyleType:"none"}})]})]})}const Va=e=>{const{fiscalYearMonths:l}=la(e);return`${Ne().month(l[0]-1).format(Ue.MMMFormat)} to ${Ne().month(l[11]-1).format(Ue.MMMFormat)}`},g=(e,l)=>`${e}.${l}`,Aa=i.div`
|
|
116
|
-
display: flex;
|
|
117
|
-
flex-direction: column;
|
|
118
|
-
padding-top: ${a.sp3};
|
|
119
|
-
padding-bottom: ${a.sp9};
|
|
120
|
-
`,_a=i.div`
|
|
121
|
-
display: flex;
|
|
122
|
-
flex-direction: column;
|
|
123
|
-
background-color: ${e=>e.theme.colors.grey5};
|
|
124
|
-
border: 1px solid ${e=>e.theme.colors.grey3};
|
|
125
|
-
box-shadow: ${e=>`${a.sp0} 2px ${a.sp1} ${e.theme.colors.dropShadowNormal}`};
|
|
126
|
-
border-radius: ${a.sp2};
|
|
127
|
-
`,Ma=i(Q)`
|
|
128
|
-
color: ${e=>e.theme.colors.champion};
|
|
129
|
-
margin-bottom: ${a.sp3};
|
|
130
|
-
`,z=i.div`
|
|
131
|
-
display: flex;
|
|
132
|
-
flex: 1;
|
|
133
|
-
background-color: ${e=>e.theme.colors.grey3};
|
|
134
|
-
min-height: 1px;
|
|
135
|
-
max-height: 1px;
|
|
136
|
-
`,Wa=i.div`
|
|
137
|
-
display: flex;
|
|
138
|
-
flex-direction: column;
|
|
139
|
-
padding: ${a.sp2} ${a.sp0} ${a.sp2} ${a.sp0};
|
|
140
|
-
background-color: inherit;
|
|
141
|
-
&:hover {
|
|
142
|
-
z-index: 1;
|
|
143
|
-
outline: 1px solid ${e=>e.theme.colors.primary};
|
|
144
|
-
}
|
|
145
|
-
|
|
146
|
-
&[data-suppress-hover="true"]:hover {
|
|
147
|
-
outline: none;
|
|
148
|
-
}
|
|
149
|
-
&[data-suppress-hover="true"] .select-control:hover {
|
|
150
|
-
background-color: ${e=>e.theme.colors.grey5};
|
|
151
|
-
}
|
|
152
|
-
&[data-suppress-hover="true"] > div:hover {
|
|
153
|
-
outline: none;
|
|
154
|
-
background-color: inherit;
|
|
155
|
-
}
|
|
156
|
-
`,He=i.div`
|
|
157
|
-
display: flex;
|
|
158
|
-
flex-direction: column;
|
|
159
|
-
width: ${e=>se.regulatedStatusMaxWidth.valuePx(e.windowSize)};
|
|
160
|
-
background-color: ${e=>e.theme.colors.grey5};
|
|
161
|
-
padding: ${a.sp2} ${a.sp2} ${a.sp2} ${a.sp4};
|
|
162
|
-
&:hover {
|
|
163
|
-
z-index: 1;
|
|
164
|
-
outline: 1px solid ${e=>e.theme.colors.primary};
|
|
165
|
-
}
|
|
166
|
-
&[data-suppress-hover="true"]:hover {
|
|
167
|
-
outline: none;
|
|
168
|
-
}
|
|
169
|
-
&[data-suppress-hover="true"] .select-control:hover {
|
|
170
|
-
background-color: ${e=>e.theme.colors.grey5};
|
|
171
|
-
}
|
|
172
|
-
&[data-suppress-hover="true"] > div:hover {
|
|
173
|
-
outline: none;
|
|
174
|
-
background-color: inherit;
|
|
175
|
-
}
|
|
176
|
-
`,Xe=i.div`
|
|
177
|
-
display: flex;
|
|
178
|
-
flex-direction: row;
|
|
179
|
-
align-items: center;
|
|
180
|
-
margin-top: ${a.sp2};
|
|
181
|
-
margin-bottom: ${a.sp2};
|
|
182
|
-
`,Ze=i.div`
|
|
183
|
-
display: flex;
|
|
184
|
-
flex-direction: row;
|
|
185
|
-
width: ${e=>`calc(100% - ${e.labelWidth}px)`};
|
|
186
|
-
align-items: center;
|
|
187
|
-
justify-content: flex-end;
|
|
188
|
-
flex-grow: 1;
|
|
189
|
-
padding-right: ${a.sp3};
|
|
190
|
-
`,Je=i(xe)`
|
|
191
|
-
color: ${e=>e.theme.colors.hero};
|
|
192
|
-
text-align: right;
|
|
193
|
-
padding-right: ${a.sp3};
|
|
194
|
-
`,De=i(xe)`
|
|
195
|
-
color: ${N.important};
|
|
196
|
-
text-align: right;
|
|
197
|
-
padding-right: ${a.sp3};
|
|
198
|
-
`,Ba=i.div`
|
|
199
|
-
width: 100%;
|
|
200
|
-
& > div {
|
|
201
|
-
background-color: ${e=>e.hasError===!0?N.importantLight:e.theme.colors.background};
|
|
202
|
-
}
|
|
203
|
-
& .select-control {
|
|
204
|
-
background-color: ${e=>e.hasError===!0?N.importantLight:e.theme.colors.background} !important;
|
|
205
|
-
}
|
|
206
|
-
`,ke={labelWidth:new b(110,110,140),buttonWidth:new b(70,70)};function Ra({sectionId:e,isDisabled:l,style:u,officer:s,officerAddress:d,isEmptyCompanyOfficerSection:o,onOfficerAddressClick:n}){const m=_(),f=E.getLocalizedStrings().companyPassport,p=ke.labelWidth.value(m),r=o&&(s==null||!s.firstName&&!s.lastName&&!s.phone&&!s.email&&!d),x=s?.userId==null||s?.userId==="";return t.jsxs(Ha,{style:u,children:[t.jsx(nt,{isDisabled:l,label:{label:f.companyOfficer.name,width:p},nameField:{name:ve(e,"name"),placeHolder:{firstName:f.companyOfficer.firstNamePlaceholder,lastName:f.companyOfficer.lastNamePlaceholder,name:f.companyOfficer.namePlaceholder},defaultValue:{firstName:s?.firstName??"",lastName:s?.lastName??""},autoComplete:"new-password",registerOptions:{required:r!==!0},showFullNameError:!0}}),t.jsx(Fe,{}),t.jsx(P,{isDisabled:x?l:"readonly",label:{label:f.companyOfficer.email,width:p},text:{type:"email",name:ve(e,"email"),placeholder:W(f.companyOfficer.email),options:{required:r===!0?!1:x},defaultValue:s?.email,autoComplete:"new-password"}}),t.jsx(Fe,{}),t.jsx(gt,{isDisabled:l,label:{label:f.companyInfo.address,width:p},addressValue:{placeholder:W(f.companyOfficer.address),address:d?.addressToCreate,onClick:()=>{n(s?.officerType.toLocaleLowerCase().concat("_address"))}}}),t.jsx(Fe,{}),t.jsx(st,{isDisabled:l,label:{label:f.companyOfficer.phone,width:p},text:{name:ve(e,"phone"),placeholder:W(f.companyOfficer.phone),defaultValue:s?.phone,autoComplete:"new-password"}})]})}function Ya({companyOfficers:e,sectionId:l,style:u,isDisabled:s,onOfficerAddressClick:d}){const{setValue:o,getValues:n}=lt(),[m,f]=q.useState(-1),p=E.getLocalizedStrings().companyPassport,r=e.length,x=e.length===1&&e[0].localData?.userId==null,S=n(l),w=()=>{const $={userId:void 0,officerType:`Officer_${r+1}`,name:{firstName:"",lastName:""},email:"",phone:""};o(l,[...S,$])},F=$=>{if(e[$].localData==null||!e[$].localData?.firstName&&!e[$].localData?.lastName&&!e[$].localData?.phone&&!e[$].localData?.email&&!e[$].addressStatus?.addressToCreate){const c=S.filter((v,h)=>h!==m);o(l,c),f(-1)}else f($)},O=()=>{f(-1)},j=()=>{const $=S.filter((c,v)=>v!==m);o(l,$),f(-1)};return t.jsxs(Ga,{style:u,children:[t.jsx(Xa,{children:p.companyOfficer.title}),e.map(($,c)=>{const v=$.localData,h=$.addressStatus,M=v?.userId==null||v?.userId==="";return t.jsxs(Za,{children:[(r>1||M)&&!x?t.jsx(Ua,{curIndex:c,isNewUser:M,numberOfOfficers:r,deleteConfirmationIndex:m,isDisabled:s,onDeleteClick:F,onCancelClick:O,onRemoveOfficerSection:j}):null,t.jsx(Ra,{sectionId:`${l}.${c}`,officer:v,officerAddress:h,isDisabled:s,isEmptyCompanyOfficerSection:x,onOfficerAddressClick:d})]},v?.officerType)}),r<=9&&!x?t.jsx(qa,{isSectionDisabled:s,onAddOfficerSection:w}):t.jsx(Le,{})]})}const Ua=({curIndex:e,isNewUser:l,numberOfOfficers:u,deleteConfirmationIndex:s,isDisabled:d,onDeleteClick:o,onCancelClick:n,onRemoveOfficerSection:m})=>{const f=_(),p=E.getLocalizedStrings().companyPassport;return t.jsxs(Ja,{children:[t.jsx(Qa,{children:u>1?`${p.companyOfficer.officer} ${e+1}`:""}),l&&d==null?s===e?t.jsx(oo,{children:t.jsxs(lo,{children:[p.companyOfficer.deleteConfirmation,t.jsx(Ye,{label:p.cancel,onClick:n,style:{width:ke.buttonWidth.value(f),marginLeft:a.sp4,marginRight:a.sp3},size:"small",variant:"secondary"}),t.jsx(Ye,{label:p.remove,onClick:m,style:{width:ke.buttonWidth.value(f)},size:"small",variant:"danger"})]})}):t.jsx(ao,{className:"delete-icon-wrapper",onClick:()=>o(e),children:t.jsx(Ut,{width:I[3],height:I[3],color:N.important})}):null]})},qa=({isSectionDisabled:e,onAddOfficerSection:l})=>{const u=E.getLocalizedStrings().companyPassport;return e!=null?t.jsx(Le,{}):t.jsxs(t.Fragment,{children:[t.jsxs(Ka,{onClick:l,children:[t.jsx(eo,{}),t.jsx(to,{children:u.companyOfficer.addOfficer})]}),t.jsx(Le,{})]})},ve=(e,l)=>`${e}.${l}`,Ga=i.div`
|
|
207
|
-
display: flex;
|
|
208
|
-
flex-direction: column;
|
|
209
|
-
padding-top: ${a.sp3};
|
|
210
|
-
width: 100%;
|
|
211
|
-
`,Ha=i.div`
|
|
212
|
-
display: flex;
|
|
213
|
-
flex-direction: column;
|
|
214
|
-
background-color: ${e=>e.theme.colors.grey5};
|
|
215
|
-
border: 1px solid ${e=>e.theme.colors.grey3};
|
|
216
|
-
box-shadow: ${e=>`${a.sp0} 2px ${a.sp1} ${e.theme.colors.dropShadowNormal}`};
|
|
217
|
-
border-radius: ${a.sp2};
|
|
218
|
-
margin-bottom: ${a.sp4};
|
|
219
|
-
`,Le=i.div`
|
|
220
|
-
padding-bottom: ${a.sp6};
|
|
221
|
-
`,Xa=i(Q)`
|
|
222
|
-
color: ${e=>e.theme.colors.champion};
|
|
223
|
-
margin-bottom: ${a.sp4};
|
|
224
|
-
`,Za=i.div`
|
|
225
|
-
&:hover {
|
|
226
|
-
.delete-icon-wrapper {
|
|
227
|
-
display: flex;
|
|
228
|
-
}
|
|
229
|
-
}
|
|
230
|
-
`,Ja=i(Q)`
|
|
231
|
-
display: flex;
|
|
232
|
-
align-items: center;
|
|
233
|
-
justify-content: space-between;
|
|
234
|
-
color: ${e=>e.theme.colors.champion};
|
|
235
|
-
margin-bottom: ${a.sp2};
|
|
236
|
-
height: 31px;
|
|
237
|
-
|
|
238
|
-
.delete-icon-wrapper {
|
|
239
|
-
display: none;
|
|
240
|
-
}
|
|
241
|
-
`,Qa=i(be)``,Ka=i.div`
|
|
242
|
-
padding: ${a.sp3};
|
|
243
|
-
display: flex;
|
|
244
|
-
align-items: center;
|
|
245
|
-
justify-content: center;
|
|
246
|
-
background-color: ${e=>e.theme.colors.grey5};
|
|
247
|
-
border: 1px solid ${e=>e.theme.colors.grey3};
|
|
248
|
-
border-radius: ${a.sp2};
|
|
249
|
-
box-shadow: ${e=>`${a.sp0} 2px ${a.sp1} ${e.theme.colors.dropShadowNormal}`};
|
|
250
|
-
color: ${e=>e.theme.colors.hero};
|
|
251
|
-
margin-bottom: ${a.sp4};
|
|
252
|
-
cursor: pointer;
|
|
253
|
-
|
|
254
|
-
&:hover {
|
|
255
|
-
svg {
|
|
256
|
-
color: ${e=>e.theme.colors.primary};
|
|
257
|
-
}
|
|
258
|
-
color: ${e=>e.theme.colors.primary};
|
|
259
|
-
border: 1px solid ${e=>e.theme.colors.primary};
|
|
260
|
-
}
|
|
261
|
-
`,eo=i(Gt)`
|
|
262
|
-
margin-right: ${a.sp2};
|
|
263
|
-
width: ${a.sp4};
|
|
264
|
-
height: ${a.sp4};
|
|
265
|
-
color: ${e=>e.theme.colors.grey1};
|
|
266
|
-
`,to=i(Ht)`
|
|
267
|
-
color: inherit;
|
|
268
|
-
`,ao=i.div`
|
|
269
|
-
width: ${a.sp4};
|
|
270
|
-
height: ${a.sp4};
|
|
271
|
-
cursor: pointer;
|
|
272
|
-
`,oo=i.div`
|
|
273
|
-
display: flex;
|
|
274
|
-
`,lo=i(be)`
|
|
275
|
-
color: ${e=>e.theme.colors.hero};
|
|
276
|
-
`,Fe=i.div`
|
|
277
|
-
display: flex;
|
|
278
|
-
flex: 1;
|
|
279
|
-
background-color: ${e=>e.theme.colors.grey3};
|
|
280
|
-
min-height: 1px;
|
|
281
|
-
max-height: 1px;
|
|
282
|
-
`,Qe={labelWidth:new b(160,160,160),largeLabelWidth:new b(150,215,215)};function so(e){const l=_(),u=zt(),[s,d]=q.useState(!1),{companyPassport:o,commonSetUp:{businessVerification:n},common:{documents:m}}=E.getLocalizedStrings(),{fileProps:f,companyFiles:p,deleteFileStatusById:r,updateFileStatusById:x,sectionId:S,isDisabled:w,companyTaxInfo:F,style:O}=e,j=Qe.labelWidth.value(l),$=Qe.largeLabelWidth.value(l),c=!oa(u.loggedInUserRole??[]),v=p.find(h=>h.documentType==="tax_ein");return t.jsxs(io,{style:O,children:[t.jsx(ro,{children:o.companyTaxInfo.title}),t.jsxs(no,{children:[t.jsx(P,{isDisabled:w,label:{label:o.companyTaxInfo.taxIdOrEIN,width:j},text:{type:"text",name:te(S,"taxIdOrEIN"),placeholder:o.companyTaxInfo.taxIdOrEINPlaceholder,defaultValue:c===!0?o.protectedContent:F?.taxIdOrEIN,options:{pattern:Vt},autoComplete:"new-password"},protectedInfoText:c===!0?o.companyTaxInfo.adminPrivilegeRequired:void 0}),t.jsx(le,{}),t.jsx(P,{isDisabled:w,label:{label:o.companyTaxInfo.dunsNumber,width:j},text:{type:"text",name:te(S,"dunsNumber"),placeholder:o.companyTaxInfo.dunsNumberPlaceholder,defaultValue:F?.dunsNumber,options:{pattern:/^\d{9}$/},autoComplete:"new-password"}}),t.jsx(le,{}),t.jsx(P,{isDisabled:w,label:{label:o.companyTaxInfo.naicsCode,width:j},text:{type:"text",name:te(S,"naicsCode"),placeholder:o.companyTaxInfo.naicsCodePlaceholder,defaultValue:F?.naicsCode,options:{pattern:/^([2-9]{1}[0-9]{1}|[1-9]{1}[1-9]{1})\d{0,4}$/},autoComplete:"new-password"}}),t.jsx(le,{}),t.jsx(P,{isDisabled:w,label:{label:o.companyTaxInfo.sicCode,width:j},text:{type:"text",name:te(S,"sicCode"),placeholder:o.companyTaxInfo.sicCodePlaceholder,defaultValue:F?.sicCode,options:{pattern:/^\d{2,4}$/},autoComplete:"new-password"}}),t.jsx(le,{}),t.jsx(yt,{isDisabled:w,label:{label:o.companyTaxInfo.taxesFiledYears,width:j},multiSelectField:{name:te(S,"taxesFiledYears"),placeholder:o.companyTaxInfo.taxesFiledYearsPlaceholder,defaultValue:{selectedOptions:F?.taxesFiledYears.map(h=>h.toString())??[],allOptions:mt().map(h=>h.toString())}}}),t.jsx(le,{}),t.jsx(ht,{name:te(S,"einDocument"),isDisabled:w,sizeLimit:it,deleteFileStatusById:r,updateFileStatusById:x,filesEndPoint:f.filesEndPoint,authParams:f.authParams,label:{label:n.einDocument,width:$},filemetadataPayload:{documentType:"tax_ein",purposeId:"business_verification",documentSide:"front"},file:v,acceptableTypes:["image/jpg","image/jpeg","image/png","application/pdf","image/heic","image/heif"],registerOptions:{required:!1},hasError:s,updateFilesEntity:f.updateFilesEntity,onEditFileName:f.onEditFileName,onDeleteFile:f.onDeleteFile,onFileSizeError:h=>d(h)}),t.jsx(co,{windowSize:l,isError:s,children:m.formatDocumentText10MB})]})]})}const te=(e,l)=>`${e}.${l}`,io=i.div`
|
|
283
|
-
display: flex;
|
|
284
|
-
flex-direction: column;
|
|
285
|
-
padding-top: ${a.sp3};
|
|
286
|
-
padding-bottom: ${a.sp9};
|
|
287
|
-
`,no=i.div`
|
|
288
|
-
display: flex;
|
|
289
|
-
flex-direction: column;
|
|
290
|
-
background-color: ${e=>e.theme.colors.grey5};
|
|
291
|
-
border: 1px solid ${e=>e.theme.colors.grey3};
|
|
292
|
-
box-shadow: ${e=>`${a.sp0} 2px ${a.sp1} ${e.theme.colors.dropShadowNormal}`};
|
|
293
|
-
border-radius: ${a.sp2};
|
|
294
|
-
`,ro=i(Q)`
|
|
295
|
-
color: ${e=>e.theme.colors.champion};
|
|
296
|
-
margin-bottom: ${a.sp3};
|
|
297
|
-
`,le=i.div`
|
|
298
|
-
display: flex;
|
|
299
|
-
flex: 1;
|
|
300
|
-
background-color: ${e=>e.theme.colors.grey3};
|
|
301
|
-
min-height: 1px;
|
|
302
|
-
max-height: 1px;
|
|
303
|
-
`,co=i(xe)`
|
|
304
|
-
padding: ${a.sp1} ${a.sp4};
|
|
305
|
-
background: ${e=>e.theme.colors.grey4};
|
|
306
|
-
border-radius: ${a.sp0} ${a.sp0} ${a.sp2} ${a.sp2};
|
|
307
|
-
text-align: ${e=>e.windowSize==="small"?"initial":"right"};
|
|
308
|
-
color: ${e=>e.isError?N.important:e.theme.colors.grey1};
|
|
309
|
-
`,po={labelWidth:new b(100,100,140)};function uo({sectionId:e,isDisabled:l,primaryContact:u,style:s}){const d=_(),o=E.getLocalizedStrings().companyPassport,n=po.labelWidth.value(d),m=u==null;return t.jsxs(mo,{style:s,children:[t.jsx(ho,{children:o.primaryContact.title}),t.jsxs(fo,{children:[t.jsx(nt,{isDisabled:l,label:{label:o.primaryContact.name,width:n},nameField:{name:Ke(e,"name"),placeHolder:{firstName:o.primaryContact.firstNamePlaceholder,lastName:o.primaryContact.lastNamePlaceholder,name:o.primaryContact.namePlaceholder},defaultValue:{firstName:u?.firstName??"",lastName:u?.lastName??""},autoComplete:"new-password",registerOptions:{required:m!==!0},showFullNameError:!0}}),t.jsx(yo,{}),t.jsx(P,{isDisabled:l,label:{label:o.primaryContact.email,width:n},text:{type:"email",name:Ke(e,"email"),placeholder:W(o.primaryContact.email),defaultValue:u?.email,autoComplete:"new-password",options:{required:m!==!0}}})]})]})}const Ke=(e,l)=>`${e}.${l}`,mo=i.div`
|
|
310
|
-
display: flex;
|
|
311
|
-
flex-direction: column;
|
|
312
|
-
padding-top: ${a.sp3};
|
|
313
|
-
padding-bottom: ${a.sp9};
|
|
314
|
-
`,fo=i.div`
|
|
315
|
-
display: flex;
|
|
316
|
-
flex-direction: column;
|
|
317
|
-
background-color: ${e=>e.theme.colors.grey5};
|
|
318
|
-
border: 1px solid ${e=>e.theme.colors.grey3};
|
|
319
|
-
box-shadow: ${e=>`${a.sp0} 2px ${a.sp1} ${e.theme.colors.dropShadowNormal}`};
|
|
320
|
-
border-radius: ${a.sp2};
|
|
321
|
-
`,ho=i(Q)`
|
|
322
|
-
color: ${e=>e.theme.colors.champion};
|
|
323
|
-
margin-bottom: ${a.sp3};
|
|
324
|
-
`,yo=i.div`
|
|
325
|
-
display: flex;
|
|
326
|
-
flex: 1;
|
|
327
|
-
background-color: ${e=>e.theme.colors.grey3};
|
|
328
|
-
min-height: 1px;
|
|
329
|
-
max-height: 1px;
|
|
330
|
-
`,go=i.div`
|
|
331
|
-
display: flex;
|
|
332
|
-
flex-direction: row;
|
|
333
|
-
justify-content: flex-end;
|
|
334
|
-
align-items: center;
|
|
335
|
-
:not(:first-of-type) {
|
|
336
|
-
margin-left: ${a.sp3};
|
|
337
|
-
}
|
|
338
|
-
`,bo=i.div`
|
|
339
|
-
display: flex;
|
|
340
|
-
flex-direction: row;
|
|
341
|
-
justify-content: flex-end;
|
|
342
|
-
align-items: center;
|
|
343
|
-
color: ${e=>e.theme.colors.primary};
|
|
344
|
-
`,xo=()=>t.jsx(bo,{children:"–"}),wo=i.div`
|
|
345
|
-
padding: 6px ${a.sp2};
|
|
346
|
-
white-space: nowrap;
|
|
347
|
-
overflow: hidden;
|
|
348
|
-
text-overflow: ellipsis;
|
|
349
|
-
`,Io=i(be)`
|
|
350
|
-
color: ${e=>e.theme.colors.primary};
|
|
351
|
-
align-items: center;
|
|
352
|
-
justify-content: flex-end;
|
|
353
|
-
display: flex;
|
|
354
|
-
padding: 0 ${a.sp3};
|
|
355
|
-
`,$o=e=>{const{users:l,style:u}=e;return t.jsx(Io,{style:u,children:l.length!==0?l.filter(s=>!!s.firstName||!!s.lastName).map(s=>t.jsxs(go,{children:[t.jsx(wo,{children:`${s.firstName} ${s.lastName}`}),t.jsx(Jt,{name:`${s.firstName} ${s.lastName}`,size:a.sp4})]},s.userId)):t.jsx(xo,{})})},R={width:new b(343,580,726),height:new b(I[6],I[6]),controlHeight:new b(I[6],I[6]),paddingTopBottom:new b(I[2],I[2]),marginRight:new b(I[2],I[2]),labelMarginLeft:new b(I[3],I[4]),labelMarginRight:new b(I[3],I[4]),labelMarginTop:new b(I[2],I[2])};function Oo({isDisabled:e,label:l,avatarLabels:u,style:s}){const d=_();return t.jsxs(jo,{size:d,style:s,children:[t.jsx(ge,{isDisabled:e,label:l.label,style:{marginLeft:R.labelMarginLeft.value(d),marginRight:R.labelMarginRight.value(d),marginTop:R.labelMarginTop.value(d),width:l.width??"auto"}}),t.jsx($o,{users:u.users,style:{minHeight:R.controlHeight.value(d),display:"flex",flexGrow:1,flexFlow:"row wrap",maxWidth:l.width!=null?`calc(100% - ${l.width}px)`:"auto",...u.style}})]})}const So=Qt.memo(Oo,qt),jo=i.div`
|
|
356
|
-
display: flex;
|
|
357
|
-
flex-direction: row;
|
|
358
|
-
align-items: flex-start;
|
|
359
|
-
background-color: ${e=>e.theme.colors.grey5};
|
|
360
|
-
width: ${e=>R.width.valuePx(e.size)};
|
|
361
|
-
min-height: ${e=>R.height.valuePx(e.size)};
|
|
362
|
-
padding-right: ${e=>R.marginRight.valuePx(e.size)};
|
|
363
|
-
padding-top: ${e=>R.paddingTopBottom.valuePx(e.size)};
|
|
364
|
-
padding-bottom: ${e=>R.paddingTopBottom.valuePx(e.size)};
|
|
365
|
-
|
|
366
|
-
:first-of-type {
|
|
367
|
-
border-top-left-radius: inherit;
|
|
368
|
-
border-top-right-radius: inherit;
|
|
369
|
-
}
|
|
370
|
-
|
|
371
|
-
:last-of-type {
|
|
372
|
-
border-bottom-left-radius: inherit;
|
|
373
|
-
border-bottom-right-radius: inherit;
|
|
374
|
-
}
|
|
375
|
-
`,Ce={labelWidth:new b(100,100,140),mediumLabelWidth:new b(140,150,160),largeLabelWidth:new b(160,180,180)};function Do({data:e,companyInfo:l,sectionId:u,isDisabled:s,isZeniUser:d,onScheduleClick:o}){const n=_(),{companyPassport:m,dateFormat:{visual:f}}=E.getLocalizedStrings(),p=Ce.labelWidth.value(n),r=Ce.mediumLabelWidth.value(n),x=Ce.largeLabelWidth.value(n),S=e.company.company,{controllers:w,subscriptions:F}=e,{managementInfo:O}=S,j=n==="small"?m.zeniFinanceTeam.scheduleCallPlaceholderSmall:m.zeniFinanceTeam.scheduleCallPlaceholder,$=F.filter(h=>h.plan?.plan.name!=null).map(h=>({text:h.plan?.plan.name,subText:h.subscription.subscription.startDate.format(f.MMMDCommaYYYYformat)})),c=At(F.map(h=>h.addOns.map(M=>({text:M.addOn.name,subText:h.subscription.subscription.startDate.format(f.MMMDCommaYYYYformat)})))),v=O.receiverEmails.map(h=>({text:h}));return t.jsxs(Fo,{children:[t.jsx(To,{children:m.zeniFinanceTeam.title}),t.jsxs(Co,{children:[t.jsx(So,{label:{label:m.zeniFinanceTeam.controller,width:r},avatarLabels:{users:w.map(h=>h.user)}}),t.jsx(he,{}),d===!0?t.jsx(P,{isDisabled:s,label:{label:m.zeniFinanceTeam.scheduleCall,width:r},text:{type:"text",name:vo(u,"meetingLink"),placeholder:j,defaultValue:l?.meetingLink?.toString()??"",autoComplete:"new-password",options:{pattern:_t}}}):l?.meetingLink!=null?t.jsx(Mt,{label:{label:m.zeniFinanceTeam.scheduleCall,width:r},button:{buttonTitle:m.zeniFinanceTeam.schedule,onClick:()=>o(l.meetingLink)}}):null,v.length>0?t.jsxs(t.Fragment,{children:[t.jsx(he,{}),t.jsx(ye,{label:{label:m.zeniFinanceTeam.emailUs,width:p},bullettedLabels:{labels:v,listStyleType:"none"}})]}):null,$.length>0?t.jsxs(t.Fragment,{children:[t.jsx(he,{}),t.jsx(ye,{label:{label:m.zeniFinanceTeam.subscriptionPlans,width:x},bullettedLabels:{labels:$,listStyleType:"none"}})]}):null,c.length>0?t.jsxs(t.Fragment,{children:[t.jsx(he,{}),t.jsx(ye,{label:{label:m.zeniFinanceTeam.addons,width:r},bullettedLabels:{labels:c,listStyleType:"none"}})]}):null]})]})}const vo=(e,l)=>`${e}.${l}`,Fo=i.div`
|
|
376
|
-
display: flex;
|
|
377
|
-
flex-direction: column;
|
|
378
|
-
padding-top: ${a.sp3};
|
|
379
|
-
padding-bottom: ${a.sp9};
|
|
380
|
-
`,Co=i.div`
|
|
381
|
-
display: flex;
|
|
382
|
-
flex-direction: column;
|
|
383
|
-
background-color: ${e=>e.theme.colors.grey5};
|
|
384
|
-
border: 1px solid ${e=>e.theme.colors.grey3};
|
|
385
|
-
box-shadow: ${e=>`${a.sp0} 2px ${a.sp1} ${e.theme.colors.dropShadowNormal}`};
|
|
386
|
-
border-radius: ${a.sp2};
|
|
387
|
-
`,To=i(Q)`
|
|
388
|
-
color: ${e=>e.theme.colors.champion};
|
|
389
|
-
margin-bottom: ${a.sp3};
|
|
390
|
-
`,he=i.div`
|
|
391
|
-
display: flex;
|
|
392
|
-
flex: 1;
|
|
393
|
-
background-color: ${e=>e.theme.colors.grey3};
|
|
394
|
-
min-height: 1px;
|
|
395
|
-
max-height: 1px;
|
|
396
|
-
`,Pe={width:new b(343,580,726),buttonWidth:new b(85,85)},et="companyPassportPage",Ee="companyInfo",ze="companyIncInfo",Ve="companyTaxInfo",Ae="primaryContact",_e="companyOfficer",Me="zeniFinanceTeam";function Jo(e){const l=_(),u=St(),{companyPassportView:s,isZeniUser:d,filesEndPoint:o,authParams:n,allIndustries:m,allNationalityCountries:f,isCompanyVerified:p,isDisabled:r,isSettings:x=!1,onCompanyDetailsChanged:S,onCompanyOfficerUpdated:w,onNewCompanyOfficerAdded:F,onPrimaryContactDetailsUpdated:O,onNewCompanyOfficerRemoved:j,onSaveAll:$,onAddressClick:c,onScheduleClick:v,onBackClick:h,onResetClick:M,onEditFileName:oe,updateFilesEntity:G,onDeleteFile:we,onClickMenuIcon:Ie}=e,{companyView:H,localData:Y,deleteFileStatusById:ie,updateFileStatusById:ne}=s,{companyFiles:K}=Y,re={authParams:n,filesEndPoint:o,onEditFileName:oe,onDeleteFile:we,updateFilesEntity:G},[X,Z]=q.useState(void 0),{companyDetails:de,primaryContact:$e,companyOfficerUpdateStatus:Oe,updateStatus:B}=Y,{localData:C,addressStatus:V}=de,We=jt(B.fetchState),ce=Object.values(Oe).filter(A=>A.localData!=null),U=Dt({mode:"all",defaultValues:at(Y,m,f)});q.useEffect(()=>()=>{Z(void 0)},[]),q.useEffect(()=>{We==="In-Progress"&&(B.fetchState==="Completed"||B.fetchState==="Error")&&(U.reset(at(Y,m,f)),X!==B.fetchState&&Z(B.fetchState))},[X,U,We,B,Y,H,m,f,K]);const wt=async(A,D)=>{if(A.includes(Ee)||A.includes(ze)||A.includes(Ve)||A.includes(Me)){const{companyInfo:k,companyIncInfo:L,companyTaxInfo:J,zeniFinanceTeam:Se}=D;S({companyInfo:k,incInfo:L,taxDetails:J,zeniFinanceTeam:Se})}else if(A.includes(Ae)){O(D.primaryContact);const k=D.companyOfficer.map(L=>L.userId);if(D.primaryContact.userId!=null&&k.includes(D.primaryContact.userId)){const L=k.findIndex(J=>J===D.primaryContact.userId);L>=0&&w({...D.companyOfficer[L],name:D.primaryContact.name,officerType:`Officer_${L+1}`})}}else if(A.includes(_e)){const k=parseInt(A.split(".")[1]);if(k>=0)w({...D.companyOfficer[k],officerType:`Officer_${k+1}`}),D.companyOfficer[k].userId!=null&&D.companyOfficer[k].userId===D.primaryContact.userId&&O({...D.primaryContact,name:D.companyOfficer[k].name});else if(D.companyOfficer.length>ce.length){const L=D.companyOfficer[D.companyOfficer.length-1];F(L)}else{const L=D.companyOfficer.filter(J=>J.officerType!=null);if(L.length<ce.length){const J=L.map((Se,Ot)=>{const Be={...Se,officerType:`Officer_${Ot+1}`};return w(Be),Be});L.length<ce.length&&(j(`Officer_${L.length+1}`),U.reset({companyOfficer:J}))}}}};q.useEffect(()=>{const A=U.watch((D,{name:k})=>{k!=null&&D!=null&&vt(()=>wt(k,D))});return()=>{A.unsubscribe()}});const It=U.handleSubmit(A=>{X!=null&&Z(void 0),$()}),{companyPassport:pe,common:{settings:$t}}=E.getLocalizedStrings();if(H==null)throw new Error("Company View is null");return t.jsxs(No,{children:[t.jsx(Ft,{title:pe.title,backgroundColor:u.colors.grey4,style:{zIndex:3},onBackClick:h,showBackButton:!x,showMenuIcon:x?l==="medium-compact"||l==="small":!1,source:"CompanyPassportPage",onClickMenuIcon:Ie}),X!=null?t.jsx(ja,{fetchState:X,onRemoveSnackbar:()=>Z(void 0)}):null,t.jsxs(ko,{children:[t.jsx(Lo,{windowSize:l,children:x?$t.infoText.companyDetails:pe.quickAccessInfo}),t.jsx(Ct,{...U,children:t.jsxs("form",{id:tt(et),onSubmit:It,children:[t.jsx(za,{sectionId:Ee,companyInfo:C?.companyInfo,companyViewData:H,companyAddress:V,isDisabled:r,isCompanyVerified:p,onCompanyAddressClick:c,allIndustries:m,allNationalityCountries:f}),t.jsx(Da,{sectionId:ze,updateFileStatusById:ne,deleteFileStatusById:ie,companyFiles:K,companyIncInfo:C?.incInfo,fileProps:re,isDisabled:r}),t.jsx(so,{sectionId:Ve,updateFileStatusById:ne,deleteFileStatusById:ie,companyFiles:K,companyTaxInfo:C?.taxDetails,fileProps:re,isDisabled:r}),t.jsx(uo,{sectionId:Ae,primaryContact:$e.localData,isDisabled:r}),t.jsx(Ya,{companyOfficers:ce,sectionId:_e,isDisabled:r,onOfficerAddressClick:c}),t.jsx(Do,{data:H,companyInfo:C?.companyInfo,isDisabled:r,isZeniUser:d,sectionId:Me,onScheduleClick:v})]})})]}),Tt(U.formState.dirtyFields)||ta(Y,H,K)?t.jsx(Nt,{formId:tt(et),primaryBtn:{label:pe.save,isLoading:B.fetchState==="In-Progress",style:{width:Pe.buttonWidth.value(l)},isDisabled:e.isDisabled!=null},cancelBtn:{label:pe.cancel,style:{width:Pe.buttonWidth.value(l)},onClick:()=>{U.reset(),M()}}}):null]})}const tt=e=>`${e}_form`,at=(e,l,u)=>{const{companyDetails:s,primaryContact:d,companyOfficerUpdateStatus:o}=e,n=E.getLocalizedStrings().companyPassport,m=s.localData?.incInfo.fileId!=null?[s.localData?.incInfo.fileId]:[],f=s.localData?.taxDetails.fileId!=null?[s.localData?.taxDetails.fileId]:[],p=s.localData?.companyInfo;return{[Ee]:{...kt(s.localData?.companyInfo??{},["meetingLink","companySourceOfFunds","companySourceOfFundsDescription","countriesOfOperations","transactionVolume","transactionVolumeDescription","regulatedStatus","regulatedStatusDescription","usNexus","usNexusTypes","purposeOfAccount","purposeOfAccountDescription","companyIndustryType","companySubIndustry"]),businessModel:{selectedOption:p?.businessModel,allOptions:n.companyInfo.allBusinessModels},website:p?.website?.toString()??"",industry:{selectedOption:p?.industry,allOptions:l?.map(r=>r.code)},companyIndustryType:{selectedOption:p?.companyIndustryType,allOptions:[...ut]},subIndustry:{selectedOption:p?.companySubIndustry,allOptions:Te(p?.companyIndustryType)},firstMonthOfFY:p?.firstMonthOfFY,companySourceOfFunds:{selectedOption:p?.companySourceOfFunds,allOptions:[...pt]},companySourceOfFundsDescription:p?.companySourceOfFundsDescription,countriesOfOperations:ot(p?.countriesOfOperations,(u??[]).map(r=>r.countryCode)),transactionVolume:{selectedOption:p?.transactionVolume,allOptions:[...ct]},transactionVolumeDescription:p?.transactionVolumeDescription,regulatedStatus:p?.regulatedStatus??"",regulatedStatusDescription:p?.regulatedStatusDescription,usNexus:p?.usNexus??"",usNexusTypes:{selectedOptions:p?.usNexusTypes??[],allOptions:[...dt]},purposeOfAccount:{selectedOption:p?.purposeOfAccount,allOptions:[...rt]},purposeOfAccountDescription:p?.purposeOfAccountDescription},[Ve]:{...s.localData?.taxDetails,taxesFiledYears:{selectedOptions:s.localData?.taxDetails.taxesFiledYears.map(r=>r.toString())??[],allOptions:mt().map(r=>r.toString())},einDocument:e.companyFiles.find(r=>r.documentType==="tax_ein"),fileIds:f},[ze]:{typeOfInc:{selectedOption:s.localData?.incInfo?.typeOfInc,allOptions:n.companyIncInfo.allTypesOfIncorporation},stateOfInc:{selectedOption:s.localData?.incInfo?.stateOfInc,allOptions:n.companyIncInfo.allStatesOfIncorporation},incDate:s.localData?.incInfo.incDate?.toDate(),certificateOfIncorporation:e.companyFiles.find(r=>r.documentType==="certificate_of_incorporation"),fileIds:m},[Ae]:{userId:d.localData?.userId,name:{firstName:d.localData?.firstName,lastName:d.localData?.lastName},email:d.localData?.email},[_e]:Object.values(o).filter(r=>r.localData!=null).map(r=>{const x=r.localData;return{userId:x.userId,officerType:x.officerType,name:{firstName:x.firstName,lastName:x.lastName},email:x.email,phone:x.phone}}),[Me]:{meetingLink:s.localData?.companyInfo.meetingLink?.toString()??""}}},No=i.div`
|
|
397
|
-
display: flex;
|
|
398
|
-
min-height: 100%;
|
|
399
|
-
flex-direction: column;
|
|
400
|
-
width: 100%;
|
|
401
|
-
background-color: ${e=>e.theme.colors.grey4};
|
|
402
|
-
`,ko=i.div`
|
|
403
|
-
display: flex;
|
|
404
|
-
flex-wrap: wrap;
|
|
405
|
-
justify-content: center;
|
|
406
|
-
height: 100%;
|
|
407
|
-
overflow-y: auto;
|
|
408
|
-
flex-direction: column;
|
|
409
|
-
align-items: center;
|
|
410
|
-
`,Lo=i(be)`
|
|
411
|
-
color: ${e=>e.theme.colors.hero};
|
|
412
|
-
display: flex;
|
|
413
|
-
justify-content: center;
|
|
414
|
-
width: ${e=>Pe.width.valuePx(e.windowSize)};
|
|
415
|
-
margin-top: ${a.sp3};
|
|
416
|
-
margin-bottom: ${a.sp4};
|
|
417
|
-
`;export{Jo as default,tt as uniqueName};
|
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
import{aa as V,h4 as v,O as S,V as g,h5 as $,ab as l,an as q,ae as J,cV as _,d3 as W,d0 as T,o as E,h6 as Z,c_ as z,aT as X,c as AA,cc as gA,h7 as BA}from"./index-C8o-xzAN.js";import{a as B,P as c}from"./sentry-DBhcw6Be.js";import{n as o}from"./mui-DOS4CfBc.js";import{bh as eA}from"./zeni-epic-state-DMWYYyyR.js";import{$ as EA}from"./LabeledAddressValue-DDrQcHIE-hP7vwQBZ.js";import"./liveblocks-abv8TgYe.js";import"./core-VVne9A9m.js";import"./recharts-BBlqu8Rz.js";import"./lottie-DehW2chz.js";import"./analytics-D0xbCiOA.js";import"./lexical-0vG0lfLn.js";import"./utils-DT6Wq-eT.js";(function(){try{var A=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},i=new A.Error().stack;i&&(A._sentryDebugIds=A._sentryDebugIds||{},A._sentryDebugIds[i]="ab11a0be-2b54-4682-8e01-0fd6b0950902",A._sentryDebugIdIdentifier="sentry-dbid-ab11a0be-2b54-4682-8e01-0fd6b0950902")}catch{}})();const CA=A=>B.createElement("svg",{width:72,height:72,viewBox:"0 0 72 72",fill:"none",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",...A},B.createElement("path",{opacity:.2,d:"M26.3252 5H51.6377C51.6377 5 57.2627 5 57.2627 10.625V64.0625C57.2627 64.0625 57.2627 69.6875 51.6377 69.6875H26.3252C26.3252 69.6875 20.7002 69.6875 20.7002 64.0625V10.625C20.7002 10.625 20.7002 5 26.3252 5Z",fill:"#97C3B9"}),B.createElement("path",{d:"M23.3252 2H48.6377C48.6377 2 54.2627 2 54.2627 7.625V61.0625C54.2627 61.0625 54.2627 66.6875 48.6377 66.6875H23.3252C23.3252 66.6875 17.7002 66.6875 17.7002 61.0625V7.625C17.7002 7.625 17.7002 2 23.3252 2Z",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("path",{d:"M43.0127 2V4.8125C43.0127 5.55842 42.7164 6.27379 42.1889 6.80124C41.6615 7.32868 40.9461 7.625 40.2002 7.625H31.7627C31.0168 7.625 30.3014 7.32868 29.774 6.80124C29.2465 6.27379 28.9502 5.55842 28.9502 4.8125V2",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("g",{style:{mixBlendMode:"darken"}},B.createElement("rect",{width:26,height:26,transform:"translate(22 12)",fill:"url(#pattern0_2225_11447)"}),B.createElement("circle",{cx:42,cy:32,r:12,fill:"url(#pattern1_2225_11447)"})),B.createElement("path",{d:"M39.625 57.875H67.125C67.4565 57.875 67.7745 57.7433 68.0089 57.5089C68.2433 57.2745 68.375 56.9565 68.375 56.625V47.875C68.375 47.5435 68.2433 47.2255 68.0089 46.9911C67.7745 46.7567 67.4565 46.625 67.125 46.625H40.875C40.5435 46.625 40.2255 46.7567 39.9911 46.9911C39.7567 47.2255 39.625 47.5435 39.625 47.875V57.875Z",fill:"#EAF3F1",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("path",{d:"M62.1543 49.8V54.8",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("path",{d:"M60.0629 50.9288L64.2441 53.6713",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("path",{d:"M60.0744 53.6874L64.2344 50.9124",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("path",{d:"M53.9727 49.8V54.8",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("path",{d:"M51.8812 50.9288L56.0625 53.6713",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("path",{d:"M51.8927 53.6874L56.0527 50.9124",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("path",{d:"M45.792 49.8V54.8",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("path",{d:"M43.7006 50.9288L47.8818 53.6713",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("path",{d:"M43.7121 53.6874L47.8721 50.9124",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("defs",null,B.createElement("pattern",{id:"pattern0_2225_11447",patternContentUnits:"objectBoundingBox",width:1,height:1},B.createElement("use",{xlinkHref:"#image0_2225_11447",transform:"scale(0.002)"})),B.createElement("pattern",{id:"pattern1_2225_11447",patternContentUnits:"objectBoundingBox",width:1,height:1},B.createElement("use",{xlinkHref:"#image0_2225_11447",transform:"translate(-0.332832 -0.331172) scale(0.00333133)"})),B.createElement("image",{id:"image0_2225_11447",width:500,height:500,preserveAspectRatio:"none",xlinkHref:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAfQAAAH0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gQCAgY9UKIIBAgQIEDAoLsBAgQIECAQEDDogRJFIECAAAECBt0NECBAgACBgIBBD5QoAgECBAgQMOhugAABAgQIBAQMeqBEEQgQIECAgEF3AwQIECBAICBg0AMlikCAAAECBAy6GyBAgAABAgEBgx4oUQQCBAgQIGDQ3QABAgQIEAgIGPRAiSIQIECAAAGD7gYIECBAgEBAwKAHShSBAAECBAgYdDdAgAABAgQCAgY9UKIIBAgQIEDAoLsBAgQIECAQEDDogRJFIECAAAECBt0NECBAgACBgIBBD5QoAgECBAgQMOhugAABAgQIBAQMeqBEEQgQIECAgEF3AwQIECBAICBg0AMlikCAAAECBAy6GyBAgAABAgEBgx4oUQQCBAgQIGDQ3QABAgQIEAgIGPRAiSIQIECAAAGD7gYIECBAgEBAwKAHShSBAAECBAgYdDdAgAABAgQCAgY9UKIIBAgQIEDgB7iZk96LOSbbAAAAAElFTkSuQmCC"}))),QA=A=>B.createElement("svg",{viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...A},B.createElement("path",{d:"M1.33333 6.16693H2.52343C2.68125 6.16693 2.8326 6.22962 2.94419 6.34122C3.05579 6.45281 3.11848 6.60416 3.11848 6.76198V13.9026C3.11848 14.0604 3.05579 14.2118 2.94419 14.3233C2.8326 14.4349 2.68125 14.4976 2.52343 14.4976H1.33333",stroke:"currentColor",strokeWidth:1.25,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("path",{d:"M3.11848 12.7125C7.48556 14.9296 7.27253 14.6374 11.0118 14.6374C12.578 14.6374 13.367 13.6169 13.8276 12.1216V12.1121L14.9624 8.30373V8.29659C15.016 8.11929 15.0275 7.93192 14.9959 7.74939C14.9644 7.56686 14.8907 7.39421 14.7807 7.24519C14.6707 7.09617 14.5274 6.97488 14.3622 6.89099C14.1971 6.8071 14.0146 6.76292 13.8294 6.76196H10.9136C10.7315 6.76197 10.5518 6.72017 10.3883 6.63977C10.2249 6.55937 10.082 6.44253 9.97086 6.29824C9.85968 6.15395 9.7831 5.98606 9.74704 5.80751C9.71097 5.62896 9.71637 5.44452 9.76281 5.26838L10.2876 3.27854C10.3485 3.04716 10.326 2.80175 10.2241 2.58528C10.1223 2.36881 9.94748 2.19507 9.73041 2.09448C9.51334 1.99388 9.2678 1.97285 9.03679 2.03506C8.80577 2.09727 8.604 2.23876 8.4668 2.43475L5.55819 6.55548C5.44832 6.7112 5.30266 6.83826 5.13345 6.92597C4.96425 7.01368 4.77646 7.05947 4.58588 7.05948H3.11848",stroke:"currentColor",strokeWidth:1.25,strokeLinecap:"round",strokeLinejoin:"round"})),e=S.getLocalizedStrings(),p="completeProfilePage",Q="basicDetailsSection",m="addressSection",n=(A,i)=>`${A}.${i}`,fA=({userEmail:A,googleAPIKey:i,twoFactorAuthenticationView:r,saveStatus:G,hasUserEnteredBasicDetails:w,onSave:D,onGetOtp:M,onVerifyOtp:f,onResendOtp:y})=>{const[t,a]=B.useState(!1),[k,Y]=B.useState(!1),I=V({mode:"onChange",reValidateMode:"onChange",defaultValues:{basicDetailsSection:{name:{firstName:"",lastName:""},email:A,dateOfBirth:void 0,phone:"",address:void 0}}}),x=v({control:I.control,name:`${Q}.address`}),{dateFormat:F}=S.getLocalizedStrings(),h=()=>{const C=I.getValues(`${Q}.phone`);C!=null&&C.trim().length>0&&M(C)},L=(C,d)=>{f(C,d)},b=C=>{C!=null&&C.trim().length>0&&y(C)},R=()=>{a(!0)},U=()=>{a(!1)},K=()=>{const C=I.getValues(`${m}`);if(C!=null){const d=BA(C);I.setValue(`${Q}.address`,d)}a(!1)},P=I.handleSubmit(C=>{if(C[Q].phone!=null&&r.otpVerificationStatus.fetchState!=="Completed"||r.otpVerificationStatus.fetchState==="Completed"&&C[Q].phone!=r.phone){h();return}D&&D(C)}),{sendOtpStatus:O,otpVerificationStatus:s,otpChallenge:H,phone:j}=r,N=g.jsxs(rA,{children:[g.jsx(CA,{}),g.jsxs(sA,{children:[g.jsxs(lA,{children:[g.jsx($,{children:s.fetchState==="Completed"?e.completeProfile.twoFAEnabled:e.completeProfile.enableTwoFA}),g.jsx(l,{controller:s.fetchState==="Completed",children:g.jsx(nA,{})})]}),g.jsx(q,{children:e.completeProfile.enableTwoFADescription})]})]});return g.jsxs(oA,{children:[g.jsxs(tA,{children:[g.jsxs(IA,{children:[t&&g.jsx(iA,{onClick:U}),e.completeProfile.title]}),g.jsx(J,{...I,children:g.jsxs("form",{id:`${p}_form`,onSubmit:P,children:[g.jsx(l,{controller:w===!1,children:g.jsxs(u,{children:[g.jsx(l,{controller:t===!1,children:g.jsxs(c.Fragment,{children:[g.jsx(_,{isDisabled:"disabled",showAdditionalInfoLabel:!1,label:{label:e.common.labels.email,width:168},style:{width:"100%"},text:{type:"text",name:n(Q,"email")}}),g.jsx(W,{isDisabled:void 0,label:{label:e.common.labels.name,width:168},style:{width:"100%"},nameField:{name:n(Q,"name"),placeHolder:{firstName:e.common.placeholder.firstNamePlaceholder,lastName:e.common.placeholder.lastNamePlaceholder,name:e.common.placeholder.namePlaceholder},showFullNameError:!0,registerOptions:{required:!0}},errorInfoLabel:""}),g.jsx(T,{isOptional:!0,label:{label:e.common.labels.dob,width:168},style:{width:"100%"},isDisabled:void 0,dateField:{name:n(Q,"dateOfBirth"),placeholder:e.common.placeholder.dobPlaceholder,dateFormat:F.visual.defaultInput,autoComplete:"off",maxDate:eA().subtract(18,"year")}}),g.jsx(EA,{isOptional:!0,label:{label:e.common.labels.address,width:168},addressValue:{placeholder:e.common.placeholder.addressPlaceholder,address:x,onClick:R},style:{width:"100%",padding:`${E.sp2} ${E.sp2} ${E.sp2} ${E.sp0}`}})]})}),g.jsx(l,{controller:t===!0,children:g.jsx(c.Fragment,{children:g.jsx(Z,{sectionId:m,googleAPIKey:i,isSubPage:!0})})})]})}),g.jsx(u,{children:g.jsx(z,{infoBox:N,label:{label:e.common.labels.phone,width:168},style:{width:"100%",marginTop:E.sp3,padding:E.sp0},text:{name:n(Q,"phone"),placeholder:e.common.placeholder.phonePlaceholder,defaultValue:I.getValues(`${Q}.phone`),autoComplete:"new-password",options:{required:!0}},errorInfoLabel:"",verificationErrorInfoLabel:e.common.errorMessage.invalidPhoneNumber,isPopupOpen:k,productType:"complete_profile",phoneVerifyButtonProps:{otpChallenge:H,showOtpButton:!0,onGetOtp:h,onVerifyOtp:L,onResendOtp:b,isPhoneVerified:s.fetchState==="Completed",phoneVerificationStatus:s,getOtpStatus:O,verifiedPhoneNumber:s.fetchState==="Completed"?j:void 0,openPopup:()=>{Y(!0)},focusNotRequired:!0},bottomText:s.fetchState==="Completed"?"":e.completeProfile.phoneSetupText})})]})})]}),g.jsx(X,{formId:t?void 0:`${p}_form`,primaryBtn:{label:t?e.companyPassport.address.saveAddress:e.common.footer.save,type:t?"button":"submit",onClick:t?K:void 0,isLoading:G.fetchState==="In-Progress"||r.sendOtpStatus.fetchState==="In-Progress"},showCancel:!1})]})},oA=o.div`
|
|
2
|
-
display: flex;
|
|
3
|
-
flex-direction: column;
|
|
4
|
-
min-height: 100vh;
|
|
5
|
-
`,tA=o.div`
|
|
6
|
-
display: flex;
|
|
7
|
-
flex-direction: column;
|
|
8
|
-
align-items: flex-start;
|
|
9
|
-
padding: ${E.sp5};
|
|
10
|
-
row-gap: ${E.sp3};
|
|
11
|
-
flex: 1;
|
|
12
|
-
`,IA=o(AA)`
|
|
13
|
-
color: ${A=>A.theme.colors.primary};
|
|
14
|
-
text-align: left;
|
|
15
|
-
display: flex;
|
|
16
|
-
align-items: center;
|
|
17
|
-
justify-content: flex-start;
|
|
18
|
-
gap: ${E.sp2};
|
|
19
|
-
`,iA=o(gA)`
|
|
20
|
-
cursor: pointer;
|
|
21
|
-
width: ${E.sp4};
|
|
22
|
-
height: ${E.sp4};
|
|
23
|
-
color: ${A=>A.theme.colors.hero};
|
|
24
|
-
display: flex;
|
|
25
|
-
align-items: center;
|
|
26
|
-
justify-content: center;
|
|
27
|
-
&:hover {
|
|
28
|
-
color: ${A=>A.theme.colors.primary};
|
|
29
|
-
}
|
|
30
|
-
`,u=o.div`
|
|
31
|
-
background-color: ${A=>A.theme.colors.grey5};
|
|
32
|
-
border-radius: ${E.sp2};
|
|
33
|
-
width: 100%;
|
|
34
|
-
box-shadow: ${A=>A.theme.colors.elevation1};
|
|
35
|
-
border-color: ${A=>A.theme.colors.grey3};
|
|
36
|
-
`,rA=o.div`
|
|
37
|
-
padding: ${E.sp3} ${E.sp6};
|
|
38
|
-
background-color: ${A=>A.theme.colors.background};
|
|
39
|
-
display: flex;
|
|
40
|
-
column-gap: ${E.sp3};
|
|
41
|
-
width: 100%;
|
|
42
|
-
align-items: center;
|
|
43
|
-
`,sA=o.div``,lA=o.div`
|
|
44
|
-
display: flex;
|
|
45
|
-
align-items: center;
|
|
46
|
-
justify-content: flex-start;
|
|
47
|
-
column-gap: ${E.sp2};
|
|
48
|
-
`,nA=o(QA)`
|
|
49
|
-
width: ${E.sp3};
|
|
50
|
-
height: ${E.sp3};
|
|
51
|
-
color: ${A=>A.theme.colors.success};
|
|
52
|
-
`;export{fA as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{dh as p,ax as l,V as i,b7 as d,o as f}from"./index-C8o-xzAN.js";import{a as r}from"./sentry-DBhcw6Be.js";import"./liveblocks-abv8TgYe.js";import"./core-VVne9A9m.js";import"./recharts-BBlqu8Rz.js";import"./zeni-epic-state-DMWYYyyR.js";import"./mui-DOS4CfBc.js";import"./lottie-DehW2chz.js";import"./analytics-D0xbCiOA.js";import"./lexical-0vG0lfLn.js";import"./utils-DT6Wq-eT.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="863caaf8-796f-43a6-9109-a9368a0b6f8f",e._sentryDebugIdIdentifier="sentry-dbid-863caaf8-796f-43a6-9109-a9368a0b6f8f")}catch{}})();const u="https://storage.googleapis.com/zeni-apis.appspot.com/data/confetti_sfx.mp3",E=({showConfetti:e})=>{const[t,o]=r.useState(e),[s,a]=p(u,e),[n]=l("ConfettiSuccess");return r.useEffect(()=>{e&&o(!0)},[e]),r.useEffect(()=>{t&&s===!1&&a(!0)},[t,s,a]),i.jsx(i.Fragment,{children:t&&s&&n!=null?i.jsx(d,{style:{position:"absolute",width:"100%",height:"100vh",top:f.sp0,left:f.sp0,zIndex:5},onComplete:()=>{a(!1),o(!1)},animationData:n,loop:0,play:!0,goTo:0,rendererSettings:{preserveAspectRatio:"xMidYMid slice"}}):null})};export{E as default};
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import{V as n}from"./index-C8o-xzAN.js";import{a as r}from"./sentry-DBhcw6Be.js";import{n as s}from"./mui-DOS4CfBc.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="8c117742-f646-4198-bee3-9e4fd8a5d2d7",e._sentryDebugIdIdentifier="sentry-dbid-8c117742-f646-4198-bee3-9e4fd8a5d2d7")}catch{}})();const i=s.div`
|
|
2
|
-
width: auto;
|
|
3
|
-
max-width: var(--side-panel-list-width, 100%);
|
|
4
|
-
position: relative;
|
|
5
|
-
`,o=r.forwardRef(({style:e,...t},d)=>n.jsx(i,{ref:d,style:e,...t}));o.displayName="ConstrainedInnerElement";export{o as a};
|