@zeniai/web-cockpit-ui 1.15.64-qa → 1.15.65-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-BShpKoIj-DBPKn0sX.js +21 -0
- package/dist/assets/{AIPerformancePage-Da3gFo8A-CSXeuStb.js → AIPerformancePage-CFErwUsE-BYOi4eif.js} +22 -22
- package/dist/assets/AccountInfoPage-B8upbXj9-DVCxjo1L.js +18 -0
- package/dist/assets/{AccountInfoPageContent-DqErO8FH-mViOCowa.js → AccountInfoPageContent-CKpeDot5-C4xEct6y.js} +23 -23
- package/dist/assets/{AccountLockedInfoModal-BJjCuLHa-lkS-zBaJ.js → AccountLockedInfoModal-c30P9O_3-BXRFFhii.js} +9 -9
- package/dist/assets/{AccountReconDetailsDrawerPage-CVjH1p0d-khdb66DL.js → AccountReconDetailsDrawerPage-CO9BYPWm-Det_iJaE.js} +51 -51
- package/dist/assets/AccountRow-BrW_eEjE-HoBl8v8H.js +298 -0
- package/dist/assets/{AccountsPromoCardStack-D7xvgmOH-n7Og3oU6.js → AccountsPromoCardStack-De2yNNuZ-C74RtM0g.js} +22 -22
- package/dist/assets/AddAddressForCardDrawer-riOPLnxb-hTaoKUhW.js +6 -0
- package/dist/assets/{AddToWalletPage-zJy9QCjx-C2VBVH37.js → AddToWalletPage-CsOmzC7v-XA_Ukf0G.js} +23 -23
- package/dist/assets/{AgingReportsPage-wAvQb1d8-BVhKyC9n.js → AgingReportsPage-D9I9afnB-j70-fH52.js} +8 -8
- package/dist/assets/{AllUserItems-DEv_CXOA-Cnm0jwbR.js → AllUserItems-Dq7NcP-o-bQnq3Yy5.js} +7 -7
- package/dist/assets/ApAgingDetailPage-Z5JgfH-e-DlNnTpGB.js +46 -0
- package/dist/assets/AppBasePage-B5sDynhi-B6PJcirc.js +71 -0
- package/dist/assets/AppDrawerContent-D9Q8ir0T-BlV3y7qg.js +92 -0
- package/dist/assets/ApprovalRulesSettingsPage-DVGvJsQG-g3c3aBsx.js +47 -0
- package/dist/assets/{ArAgingChart-m-Xp3HAW-BFbIzkgu.js → ArAgingChart-Tcu0Lja_-DlvMwgJ3.js} +5 -5
- package/dist/assets/ArAgingDetailPage-B5vqkc3v-xHE7Qc0m.js +46 -0
- package/dist/assets/{AttachmentView-DB_V1qT1-DuTWI9WZ.js → AttachmentView-CiYfninr-BohG7XjP.js} +7 -7
- package/dist/assets/BalancesInsightWithToolTip-tiQUQUbX-C692_oh-.js +38 -0
- package/dist/assets/{BankAccountSection-BabhrBM7-Hm-Yu2sT.js → BankAccountSection-EZtscP2z-aKL8vcpJ.js} +7 -7
- package/dist/assets/{BankAccountWarningSection-yT2UAd12-X-VL5grc.js → BankAccountWarningSection-DCfyIUlu-DyMLU3Tg.js} +7 -7
- package/dist/assets/{BankConnectionsSettingsPage-CbxXykMM-BVq9Jf6S.js → BankConnectionsSettingsPage-CQWy9jvt-B-n6frCU.js} +32 -32
- package/dist/assets/BillDetailPage-pt1k5AQf-BM9-GtkV.js +266 -0
- package/dist/assets/{BillPayApprovalRuleDetailPage-COyDRpaF-IRQNMkGr.js → BillPayApprovalRuleDetailPage-Drh7Bhi8-CDpJ0g2R.js} +2 -2
- package/dist/assets/{BillPayApprovalRulesPage-9pxkgFAT-BBE0uhiX.js → BillPayApprovalRulesPage-Cmyo59xB-pg1tP0xq.js} +15 -15
- package/dist/assets/BillPayPromoPage-Dgpz2TLG-BFCcBeGF.js +84 -0
- package/dist/assets/{BillPaySetUpPage-Cs5rkWBu-B8WDufb0.js → BillPaySetUpPage-B6Pd_eBf-BC27u6lI.js} +4 -4
- package/dist/assets/{BillingSettingsPage-CQ117tT9-BAwGu5cG.js → BillingSettingsPage-CYsvBrFV-BWO0QWBs.js} +7 -7
- package/dist/assets/{BillsBulkReviewDrawerPage-DRkGQQAe-RZgdY8zQ.js → BillsBulkReviewDrawerPage-DNnAmqWz-BQr-aBSF.js} +1 -1
- package/dist/assets/{BoxItem-DRwx0M5a-5_z4KYJ3.js → BoxItem-B06DK4G--CNFqY3pV.js} +1 -1
- package/dist/assets/{BusinessVerificationPage-1h0z3N9u-Bd2Dv1xV.js → BusinessVerificationPage-Dgk5gyMv-BdAKTgt0.js} +11 -11
- package/dist/assets/CardNumberSubText-CcH9jUoZ-BGeGZCAA.js +21 -0
- package/dist/assets/{CashbackDetailPage-ChdQcvkC-BQq0-Z8K.js → CashbackDetailPage-5eysaHGf-qWx0m6gR.js} +30 -30
- package/dist/assets/{ChargeCardDetailPage-DFOKlPNG-DdvX9ays.js → ChargeCardDetailPage-Diwf-gwZ-DmopcUlO.js} +1 -1
- package/dist/assets/{ChargeCardListPage-DhLUsUhd-CPt3fT_S.js → ChargeCardListPage-C-RTGkKK-Bb-QwUsn.js} +23 -23
- package/dist/assets/{ChargeCardListTable-DE72YU_i-UK8ppaLR.js → ChargeCardListTable-B-bNbtZQ-Bfw8s7pe.js} +60 -60
- package/dist/assets/{ChargeCardPaymentHistoryPage-CbGR18s--CGJF0r4n.js → ChargeCardPaymentHistoryPage-Cu-zT5tO-C6SEcidH.js} +36 -36
- package/dist/assets/{ChargeCardPromoPage-CPpNh89o-ur53P9tl.js → ChargeCardPromoPage-Cz3rNFwM-N71PCrPp.js} +38 -38
- package/dist/assets/{ChargeCardSetupPage-ITi25kUD-D46LZ2gE.js → ChargeCardSetupPage-BcTB9Yy5-DkE42DK5.js} +3 -3
- package/dist/assets/{ChargeCardStatementsPage-CTJc1BCc-C1ya3GFy.js → ChargeCardStatementsPage-B_ERvgmB-DFHNpOVz.js} +5 -5
- package/dist/assets/{CheckDepositDrawerPage-BrzeSj-3-dYFak2DM.js → CheckDepositDrawerPage-D7_usOVn-C_GuSSOC.js} +17 -17
- package/dist/assets/CollapsableReportTable-h0vIfI8o-Bg2RfRDJ.js +2982 -0
- package/dist/assets/{CompanyOfficerDetailsSection-BaPhFsLx-CpwNpffC.js → CompanyOfficerDetailsSection-CWADX4kZ-IHJvDX6-.js} +30 -30
- package/dist/assets/{CompanyPassportCard-B9ymV6Az-DhiSwK7x.js → CompanyPassportCard-DF9LFrFD-DjueOJ3s.js} +9 -9
- package/dist/assets/{CompanyPassportPage-BQ68t7oK-25GyAr8e.js → CompanyPassportPage-BtAopyLq-DbU6xdRd.js} +30 -30
- package/dist/assets/{CompleteProfile-C5n9b8gQ-D0ag80PT.js → CompleteProfile-CsbsHQ0p-BLF2mnNn.js} +4 -4
- package/dist/assets/ConfettiBurst-duD341Gp-Bb3-s_zN.js +1 -0
- package/dist/assets/{ConstrainedInnerElement-BeIpAPjB-Cd8lINA1.js → ConstrainedInnerElement-hv51KpGg-DTOZooRA.js} +1 -1
- package/dist/assets/{CreateOrEditVendorPage-BIfOA5Nr-C8DeTqzS.js → CreateOrEditVendorPage-C2xU6c51-DT9rwnbq.js} +14 -14
- package/dist/assets/{CreditCardPaymentDrawerPage-CCpS-31h-BiN9aJFe.js → CreditCardPaymentDrawerPage-CeagMaCu-D6hhhd3N.js} +22 -22
- package/dist/assets/CurrencySelectField-B8EoF2aF-uavVFTum.js +139 -0
- package/dist/assets/{CustomerOnboardingActivationPage-6VlMI4oY-BsSHWzKa.js → CustomerOnboardingActivationPage-CIeR2XvU-B59q7JSL.js} +29 -29
- package/dist/assets/CustomerOnboardingContainerPage-DVL4s-eV-Betf7XiO.js +1 -0
- package/dist/assets/{CustomerOnboardingDetailPageSkeleton-BzbZb27J-C2NLa27a.js → CustomerOnboardingDetailPageSkeleton-kUbwh2r2-zrrFUTGk.js} +14 -14
- package/dist/assets/CustomerOnboardingNoStepsPage-Br0jy7Pu-C04-tCb6.js +66 -0
- package/dist/assets/{CustomerOnboardingPage-DkW66A-p-q-1ALWKT.js → CustomerOnboardingPage-Dm2Si769-DsN6K-ie.js} +16 -16
- package/dist/assets/{CustomerOnboardingProductSuitePage-Ba0yotpP-IunY7NMf.js → CustomerOnboardingProductSuitePage-Cz81Q5jC-eSuGAIqK.js} +8 -8
- package/dist/assets/{Dashboard-bX3cWkmP-gpZTlRVX.js → Dashboard-DReG_aaf-C4aSoq3o.js} +33 -33
- package/dist/assets/{DashboardReportPage-DuZ4d4CE-BtgBO5CE.js → DashboardReportPage-BXSlwsR7-4jSB_qXZ.js} +38 -38
- package/dist/assets/DashboardSidebarBackgroundAnimation-B3dtVAe2-BBvO3tiT.js +12 -0
- package/dist/assets/DepositAccTransactionItem-YuSXjbLh-dhpmj79R.js +76 -0
- package/dist/assets/DepositAccTransactionListPage-C-FAvZwD-5kKsnSxM.js +66 -0
- package/dist/assets/DomesticWireDetailsPage-BaiSpc0N-BaNvy8Dj.js +21 -0
- package/dist/assets/DownloadOverlay-BpRKCn-0-GQtzMlpD.js +439 -0
- package/dist/assets/{DrawerPage-CaG-xx5d-Ch3FAk_-.js → DrawerPage-DQ3Xuekx-71bFG_xW.js} +12 -12
- package/dist/assets/EditPeoplePage-8DalSMWH-BO--FbCf.js +55 -0
- package/dist/assets/EditReimbursementDetailPage-CC2BjMkR-BrDBl4Nx.js +865 -0
- package/dist/assets/EntityDetailPage-fmWuxHTZ-BEOMoyTE.js +18 -0
- package/dist/assets/{EntitySummarySection-LEA5m6mN-Bkfqomfq.js → EntitySummarySection-vsEMiXYh-UA5Y35sl.js} +17 -17
- package/dist/assets/{ExpenseAutomationOverviewPage-Dmhn7gfp-KHS19Js4.js → ExpenseAutomationOverviewPage-B3HPfIsK-4ZtjmO8G.js} +50 -50
- package/dist/assets/ExpenseAutomationPage-4LJefgNh-YH8canW3.js +3015 -0
- package/dist/assets/{ExpressPayPage-C-nqret2-CHVy3vEu.js → ExpressPayPage-BH7oCW_F-HW0llOdu.js} +17 -17
- package/dist/assets/{FeaturePreviewPage-BHjUZ7s6-CoLeq4Tz.js → FeaturePreviewPage-DSv61BhF-rk5VNvfQ.js} +2 -2
- package/dist/assets/{FollowStepsSection-0eFMS0c5-DAdCYPIL.js → FollowStepsSection-Bgy9MpO4-DCiZAX41.js} +7 -7
- package/dist/assets/GlobalReviewListPage-VRq_gimm-D4JxkgEf.js +291 -0
- package/dist/assets/{InformationCardStack-C7XJCUlh-BO56UWI6.js → InformationCardStack-rx0fypl3-C50dsns2.js} +4 -4
- package/dist/assets/{InsightsCardStack-fBAbQwhK-DuPgw9sX.js → InsightsCardStack-uJWMkIZL-k2gW7JtA.js} +9 -9
- package/dist/assets/InsightsSection-ByFf2oGn-BaSZhycl.js +27 -0
- package/dist/assets/{IntegrationsSettingsPage-BD5jqAv8--mAzs_NR.js → IntegrationsSettingsPage-Cj01Nub6-JLccDpyu.js} +6 -6
- package/dist/assets/{InternationalWireSwiftDetailsPage-BftrE612-De_WHxi6.js → InternationalWireSwiftDetailsPage-C2PM97sv-CXe5WYRW.js} +24 -24
- package/dist/assets/InternationalWireVerificationPage-Cr3sDrT--Bq6HNEU0.js +65 -0
- package/dist/assets/{InviteFormPage-E2igwKEh-BEncV13R.js → InviteFormPage-dsMpScvq-CF55W3d2.js} +18 -18
- package/dist/assets/{InvitePageListView-Cuq9dlgu-B0_SeEmy.js → InvitePageListView-e7vGSbFa-wcp0OLc4.js} +43 -43
- package/dist/assets/InvitePeoplePage-BT_YVCP4-yRtlk6wv.js +12 -0
- package/dist/assets/InvoiceUploadSection-Dg1-uunA-DejmnF3G.js +140 -0
- package/dist/assets/{IssueChargeCardPage-CK6fnO24-Db0v77bJ.js → IssueChargeCardPage-CyF9wrb0-DIt_LpMY.js} +31 -31
- package/dist/assets/{LabeledAddressValue-Ma1WURjK-DlrMcsdg.js → LabeledAddressValue-3l0Bv00--DmuSRVDq.js} +2 -2
- package/dist/assets/LabeledAddressValueField-F9kvUR_r-BCeaFKsb.js +45 -0
- package/dist/assets/LabeledControlledCheckBoxField-BgC8y0D6-Cxk0wWCO.js +16 -0
- package/dist/assets/{LabeledCountryMultiSelectField-sj8p7Rne-BCnpPBJo.js → LabeledCountryMultiSelectField-3qI_4noU-BCLCbVPc.js} +5 -5
- package/dist/assets/{LabeledCreatableSingleSelectField-DUTQh416-DhVqlBC1.js → LabeledCreatableSingleSelectField-BV3h9bh7-BAj07yW-.js} +7 -7
- package/dist/assets/LabeledDocumentField-rriEcsdr-CkxtZhMI.js +41 -0
- package/dist/assets/LabeledDropDownFormattedTextField-DoVSg3nZ-Be0l5Q_z.js +59 -0
- package/dist/assets/{LabeledText-DvzVOku6-Dn53TfaN.js → LabeledText-DGZ7hxY4-IuE8fmYf.js} +6 -6
- package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-DCv1Q5qb-BqVEyHXC.js → LabeledUserSingleSelectWithSubtitlesField-DI07Eicg-DgE4V-VP.js} +18 -18
- package/dist/assets/{LabeledZeniRolesDropDownField-kWC0ShEy-CPUGdXpK.js → LabeledZeniRolesDropDownField-jIrTovp--Bw9Copum.js} +29 -29
- package/dist/assets/{LinkJETransactionPage-WufhDGDQ-azPG9MUe.js → LinkJETransactionPage-Bvbqpltz-Bc-21K8g.js} +18 -18
- package/dist/assets/{LockCardPage-BBIVLYVD-419LPSiD.js → LockCardPage-DyEQBJYx-BLiE9GBP.js} +64 -64
- package/dist/assets/{LowBalancePopup-ScEqPY9J-C060z0nB.js → LowBalancePopup-C2vHKMNF-PKO6ElPE.js} +6 -6
- package/dist/assets/MagicLinkACHDetailsPage-lAAwAtH7-SJ0jUK4M.js +1 -0
- package/dist/assets/MagicLinkDomesticWireDetailsPage-cv823ASo-DimLQOFo.js +1 -0
- package/dist/assets/{MagicLinkInternationalWireDetailsPage-fSY3JGpz-B9llfoRD.js → MagicLinkInternationalWireDetailsPage-C_SjsgC9-Bvgil6AB.js} +1 -1
- package/dist/assets/MagicLinkSuccessPage-B1LBYM2F-BYLLbXss.js +31 -0
- package/dist/assets/{MagicLinkTitleSection-ZnbKPIvJ-BocBRFlv.js → MagicLinkTitleSection-ClAnBBt9-CxQuR-QP.js} +5 -5
- package/dist/assets/MailingDetailsSection-9_XLl4bT-BB3mmWQ9.js +21 -0
- package/dist/assets/{MyBankConnectionsSettingsPage-aQDVaEG1-BGCx9EU3.js → MyBankConnectionsSettingsPage-CBNYcuP4-DwZ11Kbp.js} +16 -16
- package/dist/assets/MyPendingActivationChargeCardListPage-n71n40uQ-DzAksyAj.js +6 -0
- package/dist/assets/MyProfileSettingsPage-BUMIjZYc-CtFmjBIE.js +85 -0
- package/dist/assets/{NavBarWithPicker-zmvBmWS1-B7DVgWCo.js → NavBarWithPicker-CbjFNysh-BLH7wXCB.js} +5 -5
- package/dist/assets/{NavigationArrow-D26UG3p--B1OMUVaF.js → NavigationArrow-Dpc7u6y4-94AYlIy-.js} +7 -7
- package/dist/assets/{NavigationDots-Bv4tBDN3-BOJfNTon.js → NavigationDots-DCpslVnm-BIAw9fTc.js} +3 -3
- package/dist/assets/{NewGlobalMerchantPage-vOn2O6B9-BmAEPvzQ.js → NewGlobalMerchantPage-B10sY6Q_-Owh-T5As.js} +37 -37
- package/dist/assets/{NoDataChart-CgT19fV7-CW6QHLgR.js → NoDataChart-9-bhq204-jF2VPuzU.js} +2 -2
- package/dist/assets/{NoDataTable-CPjJmo4s-DSMgo6Qg.js → NoDataTable-C6Q2Anpz-DB9htpIj.js} +1 -1
- package/dist/assets/{NotFoundPage-CP2i3FTm-C5pv1EYn.js → NotFoundPage-4mPhXD5--Dq1iR5VQ.js} +4 -4
- package/dist/assets/{NotificationSettingsPage-CT9Dnb03-BP21fQ3b.js → NotificationSettingsPage-BTxCoB_b-BHZscHCj.js} +28 -28
- package/dist/assets/NotificationsListConfig-CylnViXd-Dg2fm6St.js +1 -0
- package/dist/assets/NotificationsPage-D41h0mS6-Dzdq9z4a.js +685 -0
- package/dist/assets/OpExByVendorPage-BV_uJSCh-BHuftqJi.js +100 -0
- package/dist/assets/{OverlayContainerPage-D4QU0p4o-DypUO3LF.js → OverlayContainerPage-CkUYOhlh-ChB_ia4V.js} +1 -1
- package/dist/assets/PandLWithForecastPage-Cj3UWjG4-Ufv6uGVt.js +123 -0
- package/dist/assets/{PaymentAccountSetupBillingAddressSection-JPO-rPAd-AJNZCxIB.js → PaymentAccountSetupBillingAddressSection-BWFl695q-DUUCCWV6.js} +15 -15
- package/dist/assets/PeoplePage-DcGqWtAP-CfVqJS-U.js +727 -0
- package/dist/assets/{Preview-MsotgVZx.js → Preview-DHku7oFH.js} +1 -1
- package/dist/assets/{ProductsCarousel-7R3cvGiS-B-idYuEE.js → ProductsCarousel-C9JoJQeH-7TCp-gr7.js} +8 -8
- package/dist/assets/{PromoBaseCards-DdCMZIc7-DYaNktKG.js → PromoBaseCards-mFk7SsOr-cB2eyHgD.js} +3 -3
- package/dist/assets/{QBOConnectionDialog-Ca36jKz2-BROTAV6b.js → QBOConnectionDialog-CJsIrEZq-Djdbh1G7.js} +5 -5
- package/dist/assets/{QBOSetupSection-CzBfIVqR-CxeYM05R.js → QBOSetupSection-C_fqHza_-B8WpC_yY.js} +13 -13
- package/dist/assets/{ReimbursementApprovalRuleDetailPage-DUVSGQJ6-C0TdrujH.js → ReimbursementApprovalRuleDetailPage-BMZnKpsk-CX5NlTL7.js} +2 -2
- package/dist/assets/{ReimbursementApprovalRulesPage-B48x1gPM-CTKI435W.js → ReimbursementApprovalRulesPage-C2zNa8dT-CGtrNpR7.js} +9 -9
- package/dist/assets/ReimbursementDetailPage-B1o8ea57-BrBovHlf.js +314 -0
- package/dist/assets/ReimbursementPromoPage-Df5QmXzC-CzrrekBH.js +84 -0
- package/dist/assets/{ReimbursementSetUpPage-B_c-ZgFT-IXOGqCsl.js → ReimbursementSetUpPage-D450RVsP-BNS45RtV.js} +10 -10
- package/dist/assets/ReimbursementsBulkReviewDrawerPage-DwgKrhlQ-BYy6jU6w.js +1 -0
- package/dist/assets/{ReloadCard-DKGn1uxF-BSvLgeuK.js → ReloadCard-D5cvzWxe-BSJWwb6T.js} +6 -6
- package/dist/assets/ReportTableViewSelector-Ig41fOPb-DyEm5Q02.js +151 -0
- package/dist/assets/ReportsPage-CRAVAUTO-D_QRWGM1.js +269 -0
- package/dist/assets/{RevenueChart-SvdhwBcE-DnuVU969.js → RevenueChart-DtQu0KAn-DJYGsojB.js} +13 -13
- package/dist/assets/{ReviewDetailsPage-tT1l4R2r-J1IzgUZg.js → ReviewDetailsPage-vui4TqeA-gjxKkEYH.js} +24 -24
- package/dist/assets/{ReviewOverlay-BoM41t8W-DMbdGoKm.js → ReviewOverlay-CUnL7H-a-BjFaE0id.js} +25 -25
- package/dist/assets/RoleWithToolTip-x2rnvWn9-BzchKu5T.js +22 -0
- package/dist/assets/ScheduleDetailsFixedAssetsPage-D_Cls2jC-CNWyfY4t.js +37 -0
- package/dist/assets/ScheduleDetailsPage-DmSLuM8g-5vyMikmE.js +37 -0
- package/dist/assets/ScheduleSequenceTable-js9_P_Lo-CeLb4ONW.js +326 -0
- package/dist/assets/{ScreenRoutes-zIYoYF9j.js → ScreenRoutes-ziq-yiHW.js} +29 -51
- package/dist/assets/{SetUpAccountSection-sfIB1h4i-Bxp4_1Ay.js → SetUpAccountSection-DYRWWXcL-D3Lz2J4N.js} +13 -13
- package/dist/assets/SignIn-CUJkZb3S-DEoVYbuM.js +491 -0
- package/dist/assets/SignInScreen-CMKiwyNN.js +1 -0
- package/dist/assets/SpendManagementListViewPage-BieufnDb-DWfo1rZv.js +134 -0
- package/dist/assets/SpendManagementPerTabPage-BmUp80QX-D3VMwaS-.js +754 -0
- package/dist/assets/{SpendManagementSection-dT-N4bSQ-C-KttH_X.js → SpendManagementSection-DKZNTYXT-mbKmW3pW.js} +25 -25
- package/dist/assets/{StatementItem-g5tfNBjV-Bi-hDsRm.js → StatementItem-Dyt5Q0eR-DHmcaJ-e.js} +4 -4
- package/dist/assets/StatementsPage-CbtnJM5y-COycJvfL.js +58 -0
- package/dist/assets/{StatusSwitcher-CaoFw0cf-GiyQU_ap.js → StatusSwitcher-BfQ9VbBH-DC0t3Flj.js} +5 -5
- package/dist/assets/SubTabSwitcher-CzGiuhk3-DLbV8WBg.js +58 -0
- package/dist/assets/{SummaryCard-B9wqNSwM-11v6O9yh.js → SummaryCard-D61xzK3a-DMSW9KNv.js} +1 -1
- package/dist/assets/TaskManagementPage-ucVAdv7x-AkXJlFwQ.js +508 -0
- package/dist/assets/TimeRangeSwitcher-C3jXm39I-tjiVSjZN.js +64 -0
- package/dist/assets/TimeframeSwitcher-CcYg-YQJ-C2j1iPoK.js +31 -0
- package/dist/assets/TimeframeSwitcherWithToggle-w4YJno-p-Bi4h2wB2.js +53 -0
- package/dist/assets/{TopExCard-BUjnGDUB-BeOEz96L.js → TopExCard-D2PRxvFc-DTkmCs_e.js} +6 -6
- package/dist/assets/{TopExDetailPage-CNDkfc3u-VyEyAB3F.js → TopExDetailPage-C0uHdU7N-CkEVyz2B.js} +16 -16
- package/dist/assets/{TransactionActivityLogPage-kSQqJVpX-D8owbjDl.js → TransactionActivityLogPage-CqYb19tY-v__opMvt.js} +17 -17
- package/dist/assets/TransactionDetailPage-D-NR_yZG-DdONq5Tf.js +921 -0
- package/dist/assets/TransactionList-f6yB-byH-Oxgdaak4.js +157 -0
- package/dist/assets/{TransactionListBig-Bx_Rm9ho-BGW14qc7.js → TransactionListBig-BrDWayQS-C0zQ3f5X.js} +18 -18
- package/dist/assets/TransactionListPage-C-Z62y2d-DnIWNXku.js +35 -0
- package/dist/assets/{TransactionVendorDetailPage-MjSH5hfq-DTvgMHfi.js → TransactionVendorDetailPage-CQQuAR6V-Dt6j0ppt.js} +6 -6
- package/dist/assets/{TransferDrawerPage-BayVa6po-BJ6bZeVh.js → TransferDrawerPage-DfFm-1-3-Dp1b_ezH.js} +36 -36
- package/dist/assets/TreasuryOverviewPage-CKSanlUG-BJ3RsJkb.js +725 -0
- package/dist/assets/{TreasuryPromoPage-BCjz1EKX-BpLLMqaI.js → TreasuryPromoPage-Dyip3H10-ClQVvPZy.js} +131 -131
- package/dist/assets/TreasuryStatementsPage-mljf2Van-DInZXjo_.js +58 -0
- package/dist/assets/TreasuryTaxLetterPage-D3cV3a-8-CcMHT6vj.js +58 -0
- package/dist/assets/{TrendChart-JTOG0a7B-BX9AXLFe.js → TrendChart-fFlHCvNx-DADa9lxz.js} +5 -5
- package/dist/assets/TrendWithTransactions-It4KDov3-BNez-K-6.js +116 -0
- package/dist/assets/{UncategorizedAccountsMappingPage-TGKYpC5A-BKFDwlEW.js → UncategorizedAccountsMappingPage-BxBz2Ce0-BSZYER7A.js} +15 -15
- package/dist/assets/{UnitIntegrationPage-mt2IjA5X-B32skQ8E.js → UnitIntegrationPage-gVgsk2ji-Dz79ORBq.js} +7 -7
- package/dist/assets/UploadAdditionalDocumentOverlay-C5m8jqup-5PpZVQjf.js +38 -0
- package/dist/assets/{Vendor2FAPopup-DAOf5cJD-DwjPPjyx.js → Vendor2FAPopup-DRwBzOwn-C-SwMKWw.js} +1 -1
- package/dist/assets/VendorACHDetailsPage-By2Ya2bv-CjVBmCig.js +1 -0
- package/dist/assets/VendorDetailPage-jci1LqX3-QbESQx0s.js +257 -0
- package/dist/assets/VendorDomesticWireDetailsPage-uIDE-n5v-CEtT0uGT.js +1 -0
- package/dist/assets/{VendorFiling1099EditablePage-CRnO7Ubw-pmmo56yS.js → VendorFiling1099EditablePage-8pYT3u-X-D-wgniGH.js} +14 -14
- package/dist/assets/VendorFirstReviewPage-CafakxA1-CDJXyRr2.js +730 -0
- package/dist/assets/{VendorInternationalWireDetailsPage-HUtNyn9Z-DG0LXpvu.js → VendorInternationalWireDetailsPage-DJeI-ZFW-DlATitk5.js} +20 -20
- package/dist/assets/VendorInternationalWireSwiftDetailsPage-Co-5nTam-Dq9Sjb3M.js +1 -0
- package/dist/assets/{VendorsAccountsSection-D6Qa1zf9-DAvIVphi.js → VendorsAccountsSection-YX2g8ETe-D60z7JWq.js} +2 -2
- package/dist/assets/{VerifyDevice-B6B_nk3v-KukwEAKH.js → VerifyDevice-DeHW4GAi-COYWduJ8.js} +9 -9
- package/dist/assets/{VideoPlayer-BRAgZThr-DwdwG0wP.js → VideoPlayer-DxIfGrPu-_quRL0IB.js} +2 -2
- package/dist/assets/{VideoPopup-C_SkBI9U-CKyfSxdc.js → VideoPopup-CUP7ctgS-CvuTwYjE.js} +3 -3
- package/dist/assets/{WarningsDrawerPage-B3gB3wW7-U-65Uxte.js → WarningsDrawerPage--s6b380L-kLxITMYx.js} +10 -10
- package/dist/assets/ZeniAccountDetailPage-7NdkdSg3-DUqxr3Vg.js +300 -0
- package/dist/assets/ZeniAccountListViewPage-B-cs_xnc-yymuGC8c.js +443 -0
- package/dist/assets/ZeniAccountNavBarPieces-CjRip0v9-CWaUJ8t5.js +33 -0
- package/dist/assets/{ZeniAccountPromoPage-BgYCHYLO-7ZsLis8J.js → ZeniAccountPromoPage-BikXtkeH-CZNOzkma.js} +23 -23
- package/dist/assets/ZeniAccountSetupPage-BRBsijVt-4J2hs6F_.js +36 -0
- package/dist/assets/{ZeniCopyright-BlLvlGZV-De808LkJ.js → ZeniCopyright-DDGvdmLF-BbItEQ1K.js} +1 -1
- package/dist/assets/{ZeniTransferAmountSlider-BNYgPwHs-D5MCod30.js → ZeniTransferAmountSlider-Cdg0TlHk-C5Juk6O6.js} +4 -4
- package/dist/assets/{add-to-wallet-DgdBD8_G-9o7lYnfw.js → add-to-wallet-DgdBD8_G-BPAwAHT2.js} +1 -1
- package/dist/assets/{analytics-DmFOON3n.js → analytics-B3XlZNQ8.js} +1 -1
- package/dist/assets/{analyticsHelper-DVXRlTVd.js → analyticsHelper-Bnej6boJ.js} +1 -1
- package/dist/assets/{analyticsHelper-CYr5V2MV-Bn9Jn6Ph.js → analyticsHelper-D9xdJK4b-C8beHKtm.js} +1 -1
- package/dist/assets/{arrow-south-east-round-PEovUgvH-DnOaYGVH.js → arrow-south-east-round-PEovUgvH-DYcTfV8-.js} +1 -1
- package/dist/assets/{auto-transfer-rule-mbafm5D3-iayeyD23.js → auto-transfer-rule-mbafm5D3-C0L9GopF.js} +1 -1
- package/dist/assets/chartTypes-Dq3hUz_T-D0weDXco.js +1 -0
- package/dist/assets/commonDimensions-CGHIQ2To-BXIDDuOd.js +1 -0
- package/dist/assets/{commonTypes-DsWS6Ccc-CTYDMfWt.js → commonTypes-BAJPaPYg-BqOkop1Y.js} +1 -1
- package/dist/assets/{constants-Dzfmb5Ph.js → constants-BcG8RJNm.js} +1 -1
- package/dist/assets/{core-0bnVVABN.js → core-DTlL91ob.js} +3 -53
- package/dist/assets/{dash.all.min-DHsg-lqM.js → dash.all.min-wCYxg1-F.js} +1 -1
- package/dist/assets/downloadPdf-BI2Y41h2-DmQ3wa5x.js +1 -0
- package/dist/assets/{empty-CBAa3J1a.js → empty-9h6tGMxX.js} +1 -1
- package/dist/assets/{empty-D_bRDFaE.js → empty-DTLC6acq.js} +1 -1
- package/dist/assets/epic-CSBGbcOS.js +2 -0
- package/dist/assets/{gift-box-Cmt9OgIZ-DQBnQfK-.js → gift-box-Cmt9OgIZ-CvfvQG3y.js} +1 -1
- package/dist/assets/{graphic-no-data-l-DU4J8fDt-DeDC5YLL.js → graphic-no-data-l-DU4J8fDt-ChqWps-8.js} +1 -1
- package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-CmCQCnC3.js → graphic-no-data-net-burn-l-CzmycA0m-1sZH3huZ.js} +1 -1
- package/dist/assets/{handshake-BPg58FML-DpmiuH3j.js → handshake-BPg58FML-C8qC_oIS.js} +1 -1
- package/dist/assets/{helper-BMiMbXMj-BAbwbOYZ.js → helper-z5-P4a-y-DCqj7mqg.js} +5 -5
- package/dist/assets/{index-CHSGbJVi.js → index-BRlvHWYX.js} +1 -1
- package/dist/assets/{index-iH933ICY.js → index-BTxAEBwp.js} +2 -8
- package/dist/assets/{index-CDxchNCh.js → index-CTllXPEB.js} +1 -1
- package/dist/assets/{index-mb2rrTlK.js → index-CXoFWELS.js} +1 -1
- package/dist/assets/{index-BOf3FulF.js → index-DA1Z8sqg.js} +1 -1
- package/dist/assets/{index-BN9gOVoX.js → index-DivE10Xm.js} +1 -1
- package/dist/assets/{index-B6YQjyMc.js → index-nssLOVFu.js} +5040 -5105
- package/dist/assets/{lexical-aEmQVmum.js → lexical-CoKvBbaA.js} +1 -1
- package/dist/assets/liveblocks-offUbtxr.js +54 -0
- package/dist/assets/lottie-Cqel28AC.js +2 -0
- package/dist/assets/mapLoadingInProgressToTreeNode-DrC2Zs2y-BuaBdgp1.js +1 -0
- package/dist/assets/{mapSectionWithAcOnlyToTreeNode-BkPRWtaj-sINzyEMC.js → mapSectionWithAcOnlyToTreeNode-dsBogxKz-D78gQ4Dn.js} +1 -1
- package/dist/assets/mapSpacerToTreeNode-DMDEaLzQ-ibbyX8vz.js +1 -0
- package/dist/assets/mapTimeframeBalancesToTreeNode-CW_wzI5T-he6bfb8d.js +1 -0
- package/dist/assets/mapTimeframeBalancesToTreeNode-DvfKBCs5-GyIWCN5D.js +1 -0
- package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-Ch2rvcz4-LpLxG78D.js → mapTimeframeHeaderLoadingInProgressToTreeNode-CGdkzFsp-DlA9TyjC.js} +1 -1
- package/dist/assets/{mui-BMACe6Rq.js → mui-BVCBQYdL.js} +1 -9
- package/dist/assets/{page-detail-CWX5S47F-BHiPg_uV.js → page-detail-CWX5S47F-D1vlmLcE.js} +1 -1
- package/dist/assets/panelSelectedMixin-Cddsb26L-CSqoRxwG.js +3 -0
- package/dist/assets/{radio-default-CiSgisfh-DS1u1o7i.js → radio-default-CiSgisfh-BGMZB5pj.js} +1 -1
- package/dist/assets/{react-Bq4TJ-7l.js → react-BEal1Iuh.js} +2 -12
- package/dist/assets/{react-BM9QcOkQ.js → react-BXvNRT2q.js} +2 -12
- package/dist/assets/{react-CVtyWQMs.js → react-CLksnFSH.js} +2 -12
- package/dist/assets/{react-CtbvVn8_.js → react-CSBaF2r0.js} +2 -12
- package/dist/assets/{react-TZk5oBcm.js → react-C_JPVQ2C.js} +2 -12
- package/dist/assets/{react-DPF6cpPb.js → react-DRddHEvz.js} +2 -12
- package/dist/assets/react-QuNdLWH0.js +19 -0
- package/dist/assets/{react-gzX4tXLY.js → react-jkd7J1Kg.js} +3 -13
- package/dist/assets/{recharts-BogDwoBa.js → recharts-DAsNs3BU.js} +36 -44
- package/dist/assets/{sentry-PE_t7E3E.js → sentry-Fca4mdIl.js} +2 -17
- package/dist/assets/{shield-DOlUxcFf-DZBeAJz1.js → shield-DOlUxcFf-CRgtaaqW.js} +1 -1
- package/dist/assets/toCOABalancesWithID-P7keEtAg-DZcYuHA-.js +1 -0
- package/dist/assets/toChartData-BUf5HHim-DGDFToOH.js +1 -0
- package/dist/assets/upload-reimbursement-receipt-O2N8vcO7-BVwF7gzx.js +1 -0
- package/dist/assets/{uploadAttachment-BlLqRIXe-BKyY67pY.js → uploadAttachment-DJA30WSD-CHN4VO1K.js} +32 -32
- package/dist/assets/uploadReceipts-CqDftTRt-Bj47leio.js +1 -0
- package/dist/assets/{url-DVzciwrr.js → url-DdD720VJ.js} +1 -1
- package/dist/assets/{url-syTA0K_c.js → url-DkjikAwv.js} +1 -1
- package/dist/assets/{useLongPress-GCK2COYQ-BtTqIKk8.js → useLongPress-GCK2COYQ-DXicXlES.js} +1 -1
- package/dist/assets/{usp-line-BBd1wKwW-sua1EB0C.js → usp-line-BBd1wKwW-BQlBhf7H.js} +1 -1
- package/dist/assets/{utils-hiWEDg_f.js → utils-Cgs4R-d4.js} +4 -38
- package/dist/assets/zeni-epic-state-BZv12Eez.js +14 -0
- package/dist/index.html +1 -1
- package/package.json +6 -6
- package/dist/assets/ACHDetailsPage-fOu5grd7-Bx2C4blB.js +0 -21
- package/dist/assets/AccountInfoPage-o7hTXtgZ-B74V9GXq.js +0 -18
- package/dist/assets/AccountRow-CpftykFx-1CclEkfP.js +0 -298
- package/dist/assets/AddAddressForCardDrawer-vecchYEf-DPMrCTyq.js +0 -6
- package/dist/assets/ApAgingDetailPage-BOV1WFVF-_lX-suFq.js +0 -46
- package/dist/assets/AppBasePage-DMlomvFS-BTCiknIH.js +0 -71
- package/dist/assets/AppDrawerContent-Dc2sHnR3-D8okbvYL.js +0 -92
- package/dist/assets/ApprovalRulesSettingsPage-BnbPSy4U-DSt1190C.js +0 -47
- package/dist/assets/ArAgingDetailPage-b_NpDpWj-DH_prAGq.js +0 -46
- package/dist/assets/BillDetailPage-7TMkWo3V-S7BIfZxn.js +0 -266
- package/dist/assets/BillPayPromoPage-AGffhbY3-BjWg1E0M.js +0 -84
- package/dist/assets/CardNumberSubText-DqtLT1w5-B46iNAOk.js +0 -21
- package/dist/assets/CollapsableReportTable-CDEe9s_E-D9cKaH7m.js +0 -2844
- package/dist/assets/ConfettiBurst-BizTW0hz-vSY8T_bA.js +0 -1
- package/dist/assets/CurrencySelectField-KvKyemY6-CJmA3Wvi.js +0 -139
- package/dist/assets/CustomerOnboardingContainerPage-CRjwWFLJ-DO7DyeYZ.js +0 -1
- package/dist/assets/CustomerOnboardingNoStepsPage-CWF_00EM-CXYa-GDt.js +0 -66
- package/dist/assets/DashboardSidebarBackgroundAnimation-UV2CZToG-B6y2S4Cq.js +0 -12
- package/dist/assets/DepositAccTransactionItem-BY_OvuKg-dj2FrVtH.js +0 -76
- package/dist/assets/DepositAccTransactionListPage-a__bpCOB-BluH7tQU.js +0 -66
- package/dist/assets/DomesticWireDetailsPage-BumMT4QM-CJrvKjn9.js +0 -21
- package/dist/assets/DownloadOverlay-DqiL3-FB-B8nIxgA_.js +0 -439
- package/dist/assets/EditPeoplePage-BcsdEp_d-DZzsTLqP.js +0 -55
- package/dist/assets/EditReimbursementDetailPage-DNUmwdsH-B4a1wTnV.js +0 -865
- package/dist/assets/EntityDetailPage-DtX5TjBc-Cz9GurHm.js +0 -18
- package/dist/assets/ExpenseAutomationPage-B8C4BxoV-u_k6mu8a.js +0 -1703
- package/dist/assets/GlobalReviewListPage-4eiopkzw-S_0cIn_Q.js +0 -291
- package/dist/assets/InsightsSection-De9zu_me-wp-DJULP.js +0 -27
- package/dist/assets/InternationalWireVerificationPage-CDf7equc-C1nheAmV.js +0 -65
- package/dist/assets/InvitePeoplePage-Db4P4ZEq-Bqa6PJOp.js +0 -12
- package/dist/assets/InvoiceUploadSection-DYCjz9CI-Di7iZ3rh.js +0 -140
- package/dist/assets/LabeledAddressValueField-C6-hVsPb-CtbiD4R7.js +0 -45
- package/dist/assets/LabeledControlledCheckBoxField-CgZg0uOW-wOvZo1jz.js +0 -16
- package/dist/assets/LabeledDocumentField-Bp9m-OrP-6oGXwzm5.js +0 -41
- package/dist/assets/LabeledDropDownFormattedTextField-3-KekP79-BGZG_uLh.js +0 -59
- package/dist/assets/MagicLinkACHDetailsPage-C494txw0-CtQxqwR2.js +0 -1
- package/dist/assets/MagicLinkDomesticWireDetailsPage-CONBCbOQ-u4Z3GzMp.js +0 -1
- package/dist/assets/MagicLinkSuccessPage-BDRXSAO4-1yGDs4x9.js +0 -31
- package/dist/assets/MailingDetailsSection-DZT7JPlI-BX3TaQM5.js +0 -21
- package/dist/assets/MyPendingActivationChargeCardListPage-BJrk56oA-Bz1XOWUw.js +0 -6
- package/dist/assets/MyProfileSettingsPage-L9WuP6HZ-Bt0r3vIg.js +0 -85
- package/dist/assets/NotificationsListConfig-Bn1zmx6b-Byv3SuTE.js +0 -1
- package/dist/assets/NotificationsPage-DDwdR_Jq-CH4xdkvF.js +0 -685
- package/dist/assets/OpExByVendorPage-DukFYlqO-DkROpQmO.js +0 -100
- package/dist/assets/PandLWithForecastPage-Bgflh9Om-CgCfrHLq.js +0 -107
- package/dist/assets/PeoplePage-CDvKreQl-B9V6YZRP.js +0 -675
- package/dist/assets/ReimbursementDetailPage-oIC9QEyF-Uf6XrKw7.js +0 -314
- package/dist/assets/ReimbursementPromoPage-BKgsJieE-Ba5GJbn1.js +0 -84
- package/dist/assets/ReimbursementsBulkReviewDrawerPage-CeyGWbKR-CiYOGkop.js +0 -1
- package/dist/assets/ReportTableViewSelector-CXDvZEbR-D-19omxr.js +0 -150
- package/dist/assets/ReportsPage-BoUyXSBC-BPepWXQn.js +0 -121
- package/dist/assets/RoleWithToolTip-C8x5yXaK-CQXsYwpy.js +0 -22
- package/dist/assets/ScheduleDetailsFixedAssetsPage-Bkp0mCOn-DeRr8BY-.js +0 -37
- package/dist/assets/ScheduleDetailsPage-Dg9rYJbn-CdqlXj9r.js +0 -37
- package/dist/assets/ScheduleSequenceTable-J6Eja8XA-DQymfbIV.js +0 -324
- package/dist/assets/SignIn-Cu2nzuEC-BHDNnRC4.js +0 -491
- package/dist/assets/SignInScreen-CvmuZ_lu.js +0 -1
- package/dist/assets/SpendManagementListViewPage-9V9u1jPF-C5LGJAJr.js +0 -134
- package/dist/assets/SpendManagementPerTabPage-COvEPq7V-AOv-04sa.js +0 -754
- package/dist/assets/StatementsPage-DaFrVUeK-BtS_jxBA.js +0 -58
- package/dist/assets/SubTabSwitcher-zrkVj1aP-CypqPMQM.js +0 -58
- package/dist/assets/TaskManagementPage-dAK9tl2b-DQNorVRE.js +0 -508
- package/dist/assets/TimeRangeSwitcher-r1TNqVRb-DyxsJ7t-.js +0 -64
- package/dist/assets/TimeframeSwitcher-DHfHCTa4-pMvLfkus.js +0 -31
- package/dist/assets/TimeframeSwitcherWithToggle-DvBvguRl-p_rilr-D.js +0 -31
- package/dist/assets/TransactionDetailPage-f7vWtXWL-DikOynRj.js +0 -903
- package/dist/assets/TransactionList-3-mUZOsw-6t-FD8kN.js +0 -153
- package/dist/assets/TransactionListPage-q6x4_jni-BvfvZkop.js +0 -35
- package/dist/assets/TreasuryOverviewPage-CuqWmrO5-CcwdLzTa.js +0 -708
- package/dist/assets/TreasuryStatementsPage-CGr00SXF-Ddcqn0VF.js +0 -58
- package/dist/assets/TreasuryTaxLetterPage-D9_qnlK4-DQDhOxJb.js +0 -58
- package/dist/assets/TrendWithTransactions-CTJhTpAM-CBPz9x-U.js +0 -116
- package/dist/assets/UploadAdditionalDocumentOverlay-DZfpwE5J-CmJMJ8QJ.js +0 -38
- package/dist/assets/VendorACHDetailsPage-CCOupiSZ-CMh3oX0P.js +0 -1
- package/dist/assets/VendorDetailPage-DufNphGD-CHkH3Fl_.js +0 -257
- package/dist/assets/VendorDomesticWireDetailsPage-BayV34Rt-a9y8S9df.js +0 -1
- package/dist/assets/VendorFirstReviewPage-DA0EL4RJ-C2ni5B1z.js +0 -730
- package/dist/assets/VendorInternationalWireSwiftDetailsPage-DRVMUeXi-BUPq8BsG.js +0 -1
- package/dist/assets/ZeniAccountDetailPage-Dp-eo-Vq-DVqZeKKS.js +0 -300
- package/dist/assets/ZeniAccountListViewPage-S-XmAYqD-CVsdQb-e.js +0 -441
- package/dist/assets/ZeniAccountNavBarPieces-DhjBxfEr-B3kNTCpc.js +0 -14
- package/dist/assets/ZeniAccountSetupPage-CvnIMdcY-Dd6KWWuP.js +0 -36
- package/dist/assets/chartTypes-40RenddT-cfd9O-7K.js +0 -1
- package/dist/assets/commonDimensions-BMnB1-xU-Dv2z_hsS.js +0 -1
- package/dist/assets/detailCommon-CrcyqWtZ-3mnJnM3j.js +0 -38
- package/dist/assets/downloadPdf-CUUx8PWn-DWs7sODc.js +0 -1
- package/dist/assets/epic-BDsnfsiq.js +0 -2
- package/dist/assets/liveblocks-t9znRICt.js +0 -67
- package/dist/assets/lottie-CQ9eYGiF.js +0 -9
- package/dist/assets/mapLoadingInProgressToTreeNode-DGnyXKBT-CjYqP6ia.js +0 -1
- package/dist/assets/mapSpacerToTreeNode-CvGdU9Ma-DuWN8s0E.js +0 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-BCOsOvxo-DzqHbBKU.js +0 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-DIqYP3NK-AJxyBrea.js +0 -1
- package/dist/assets/panelSelectedMixin-CzfD5-Zs-BQG398jA.js +0 -4
- package/dist/assets/react-DCKkBuNc.js +0 -37
- package/dist/assets/toCOABalancesWithID-DkMGvlEt-Bl2QmqAg.js +0 -1
- package/dist/assets/toChartData-C6s-eBzE-DllwI7S_.js +0 -1
- package/dist/assets/uploadReceipts-Dge0cNF1-BGDnYNyn.js +0 -1
- package/dist/assets/zeni-epic-state-DBzXvQ_H.js +0 -151
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{X as _,y 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,c as Lt,o as a,an as be,cU as lt,cV as P,cW as Re,cX as W,cY as ee,p 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,b 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-nssLOVFu.js";import{a as q,P as Qt}from"./sentry-Fca4mdIl.js";import{n as i,a as Kt,k as ea}from"./mui-BVCBQYdL.js";import{Gd as ta,Ge as rt,Gf as dt,Gg as ct,Gh as pt,Gi as ut,bj as mt,Gj as Te,bI as aa,bh as Ne,bC as oa,Gk as la}from"./zeni-epic-state-BZv12Eez.js";import{D as ft}from"./LabeledCreatableSingleSelectField-BV3h9bh7-BAj07yW-.js";import{Y as ht}from"./LabeledDocumentField-rriEcsdr-CkxtZhMI.js";import{p as sa,i as ia,t as na}from"./commonTypes-BAJPaPYg-BqOkop1Y.js";import{b as ra}from"./LabeledCountryMultiSelectField-3qI_4noU-BCLCbVPc.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-z5-P4a-y-DCqj7mqg.js";import{$ as gt}from"./LabeledAddressValue-3l0Bv00--DmuSRVDq.js";import"./liveblocks-offUbtxr.js";import"./core-DTlL91ob.js";import"./lottie-Cqel28AC.js";import"./recharts-DAsNs3BU.js";import"./analytics-B3XlZNQ8.js";import"./lexical-CoKvBbaA.js";import"./utils-Cgs4R-d4.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]="081872fa-dfbb-47f5-9e27-332070600862",e._sentryDebugIdIdentifier="sentry-dbid-081872fa-dfbb-47f5-9e27-332070600862")}catch{}})();const bt={maxWidth:new b(280,340),contentMaxWidth:new b(200,255)},ha=ea`
|
|
2
2
|
0% {
|
|
3
3
|
transform: translateX(100%)
|
|
4
4
|
}
|
|
@@ -11,7 +11,7 @@ import{J as _,d as St,aS as jt,aa as Dt,cH as vt,O as E,V as t,bE as Ft,ad as Ct
|
|
|
11
11
|
right: ${a.sp3};
|
|
12
12
|
z-index: 1400;
|
|
13
13
|
padding: ${a.sp3} ${a.sp4};
|
|
14
|
-
max-width: ${e=>
|
|
14
|
+
max-width: ${e=>bt.maxWidth.valuePx(e.windowSize)};
|
|
15
15
|
background: ${e=>e.theme.colors.black};
|
|
16
16
|
border-radius: 12px;
|
|
17
17
|
box-shadow: ${e=>`${a.sp0} ${a.sp1} ${a.sp1} ${e.theme.colors.dropShadowNormal}`};
|
|
@@ -25,17 +25,17 @@ import{J as _,d as St,aS as jt,aa as Dt,cH as vt,O as E,V as t,bE as Ft,ad as Ct
|
|
|
25
25
|
width: ${a.sp4};
|
|
26
26
|
height: ${a.sp4};
|
|
27
27
|
color: ${N.successDark};
|
|
28
|
-
`,
|
|
28
|
+
`,ba=i(Bt)`
|
|
29
29
|
margin-top: 2px;
|
|
30
30
|
width: ${a.sp4};
|
|
31
31
|
height: ${a.sp4};
|
|
32
32
|
color: ${N.important};
|
|
33
|
-
`,
|
|
33
|
+
`,xa=i.div`
|
|
34
34
|
margin-top: ${a.sp1};
|
|
35
35
|
`,wa=i(Yt)`
|
|
36
36
|
color: ${N.neutralGrey2Light};
|
|
37
37
|
`,Ia=i.div`
|
|
38
|
-
max-width: ${e=>
|
|
38
|
+
max-width: ${e=>bt.contentMaxWidth.valuePx(e.windowSize)};
|
|
39
39
|
margin: ${a.sp0} ${a.sp3};
|
|
40
40
|
`,$a=i(Rt)`
|
|
41
41
|
color: ${e=>e.isSuccess?N.success:N.important};
|
|
@@ -47,7 +47,7 @@ import{J as _,d as St,aS as jt,aa as Dt,cH as vt,O as E,V as t,bE as Ft,ad as Ct
|
|
|
47
47
|
&:hover {
|
|
48
48
|
color: ${N.primaryDark};
|
|
49
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(
|
|
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
51
|
display: flex;
|
|
52
52
|
flex-direction: column;
|
|
53
53
|
padding-top: ${a.sp3};
|
|
@@ -68,7 +68,7 @@ import{J as _,d as St,aS as jt,aa as Dt,cH as vt,O as E,V as t,bE as Ft,ad as Ct
|
|
|
68
68
|
background-color: ${e=>e.theme.colors.grey3};
|
|
69
69
|
min-height: 1px;
|
|
70
70
|
max-height: 1px;
|
|
71
|
-
`,Ta=i(
|
|
71
|
+
`,Ta=i(xe)`
|
|
72
72
|
padding: ${a.sp1} ${a.sp4};
|
|
73
73
|
background: ${e=>e.theme.colors.grey4};
|
|
74
74
|
border-radius: ${a.sp0} ${a.sp0} ${a.sp2} ${a.sp2};
|
|
@@ -91,7 +91,7 @@ import{J as _,d as St,aS as jt,aa as Dt,cH as vt,O as E,V as t,bE as Ft,ad as Ct
|
|
|
91
91
|
width: fit-content;
|
|
92
92
|
margin-left: auto;
|
|
93
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
|
|
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
95
|
display: flex;
|
|
96
96
|
flex-direction: row;
|
|
97
97
|
align-items: flex-start;
|
|
@@ -112,7 +112,7 @@ import{J as _,d as St,aS as jt,aa as Dt,cH as vt,O as E,V as t,bE as Ft,ad as Ct
|
|
|
112
112
|
border-bottom-left-radius: inherit;
|
|
113
113
|
border-bottom-right-radius: inherit;
|
|
114
114
|
}
|
|
115
|
-
`,se={labelWidth:new x(110,110,140),mediumLabelWidth:new x(140,140,160),largeLabelWidth:new x(170,170,180),extraLargeLabelWidth:new x(200,250,300),regulatedStatusMaxWidth:new x(343,580,726)},bt=E.getLocalizedStrings(),y=bt.commonSetUp.businessVerification,{companyPassport:T,dateFormat:{analytics:Ue},common:{yes:qe,no:He}}=bt;function za({companyViewData:e,allIndustries:l,allNationalityCountries:u,companyInfo:s,companyAddress:d,sectionId:o,isDisabled:n,isCompanyVerified:m,onCompanyAddressClick:f,style:p}){const r=_(),b=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"),H=h("transactionVolume"),we=h("regulatedStatus"),Ie=h("usNexus"),J=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:b},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:b},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:b},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}})]}),H&&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(Je,{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:He},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(Ge,{windowSize:r,children:y.regulatedStatusAdditionalInfo}):null]})]}),Ie&&t.jsxs(t.Fragment,{children:[t.jsx(z,{}),t.jsxs(Je,{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:He},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(Ge,{windowSize:r,children:y.usNexusAdditionalInfo}):null]})]}),J&&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:b},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:b},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:b},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`
|
|
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
116
|
display: flex;
|
|
117
117
|
flex-direction: column;
|
|
118
118
|
padding-top: ${a.sp3};
|
|
@@ -153,7 +153,7 @@ import{J as _,d as St,aS as jt,aa as Dt,cH as vt,O as E,V as t,bE as Ft,ad as Ct
|
|
|
153
153
|
outline: none;
|
|
154
154
|
background-color: inherit;
|
|
155
155
|
}
|
|
156
|
-
`,
|
|
156
|
+
`,He=i.div`
|
|
157
157
|
display: flex;
|
|
158
158
|
flex-direction: column;
|
|
159
159
|
width: ${e=>se.regulatedStatusMaxWidth.valuePx(e.windowSize)};
|
|
@@ -187,11 +187,11 @@ import{J as _,d as St,aS as jt,aa as Dt,cH as vt,O as E,V as t,bE as Ft,ad as Ct
|
|
|
187
187
|
justify-content: flex-end;
|
|
188
188
|
flex-grow: 1;
|
|
189
189
|
padding-right: ${a.sp3};
|
|
190
|
-
`,
|
|
190
|
+
`,Je=i(xe)`
|
|
191
191
|
color: ${e=>e.theme.colors.hero};
|
|
192
192
|
text-align: right;
|
|
193
193
|
padding-right: ${a.sp3};
|
|
194
|
-
`,De=i(
|
|
194
|
+
`,De=i(xe)`
|
|
195
195
|
color: ${N.important};
|
|
196
196
|
text-align: right;
|
|
197
197
|
padding-right: ${a.sp3};
|
|
@@ -203,12 +203,12 @@ import{J as _,d as St,aS as jt,aa as Dt,cH as vt,O as E,V as t,bE as Ft,ad as Ct
|
|
|
203
203
|
& .select-control {
|
|
204
204
|
background-color: ${e=>e.hasError===!0?N.importantLight:e.theme.colors.background} !important;
|
|
205
205
|
}
|
|
206
|
-
`,ke={labelWidth:new
|
|
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
207
|
display: flex;
|
|
208
208
|
flex-direction: column;
|
|
209
209
|
padding-top: ${a.sp3};
|
|
210
210
|
width: 100%;
|
|
211
|
-
`,
|
|
211
|
+
`,Ha=i.div`
|
|
212
212
|
display: flex;
|
|
213
213
|
flex-direction: column;
|
|
214
214
|
background-color: ${e=>e.theme.colors.grey5};
|
|
@@ -227,7 +227,7 @@ import{J as _,d as St,aS as jt,aa as Dt,cH as vt,O as E,V as t,bE as Ft,ad as Ct
|
|
|
227
227
|
display: flex;
|
|
228
228
|
}
|
|
229
229
|
}
|
|
230
|
-
`,
|
|
230
|
+
`,Ja=i(Q)`
|
|
231
231
|
display: flex;
|
|
232
232
|
align-items: center;
|
|
233
233
|
justify-content: space-between;
|
|
@@ -238,7 +238,7 @@ import{J as _,d as St,aS as jt,aa as Dt,cH as vt,O as E,V as t,bE as Ft,ad as Ct
|
|
|
238
238
|
.delete-icon-wrapper {
|
|
239
239
|
display: none;
|
|
240
240
|
}
|
|
241
|
-
`,Qa=i(
|
|
241
|
+
`,Qa=i(be)``,Ka=i.div`
|
|
242
242
|
padding: ${a.sp3};
|
|
243
243
|
display: flex;
|
|
244
244
|
align-items: center;
|
|
@@ -258,12 +258,12 @@ import{J as _,d as St,aS as jt,aa as Dt,cH as vt,O as E,V as t,bE as Ft,ad as Ct
|
|
|
258
258
|
color: ${e=>e.theme.colors.primary};
|
|
259
259
|
border: 1px solid ${e=>e.theme.colors.primary};
|
|
260
260
|
}
|
|
261
|
-
`,eo=i(
|
|
261
|
+
`,eo=i(Gt)`
|
|
262
262
|
margin-right: ${a.sp2};
|
|
263
263
|
width: ${a.sp4};
|
|
264
264
|
height: ${a.sp4};
|
|
265
265
|
color: ${e=>e.theme.colors.grey1};
|
|
266
|
-
`,to=i(
|
|
266
|
+
`,to=i(Ht)`
|
|
267
267
|
color: inherit;
|
|
268
268
|
`,ao=i.div`
|
|
269
269
|
width: ${a.sp4};
|
|
@@ -271,7 +271,7 @@ import{J as _,d as St,aS as jt,aa as Dt,cH as vt,O as E,V as t,bE as Ft,ad as Ct
|
|
|
271
271
|
cursor: pointer;
|
|
272
272
|
`,oo=i.div`
|
|
273
273
|
display: flex;
|
|
274
|
-
`,lo=i(
|
|
274
|
+
`,lo=i(be)`
|
|
275
275
|
color: ${e=>e.theme.colors.hero};
|
|
276
276
|
`,Fe=i.div`
|
|
277
277
|
display: flex;
|
|
@@ -279,7 +279,7 @@ import{J as _,d as St,aS as jt,aa as Dt,cH as vt,O as E,V as t,bE as Ft,ad as Ct
|
|
|
279
279
|
background-color: ${e=>e.theme.colors.grey3};
|
|
280
280
|
min-height: 1px;
|
|
281
281
|
max-height: 1px;
|
|
282
|
-
`,Qe={labelWidth:new
|
|
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
283
|
display: flex;
|
|
284
284
|
flex-direction: column;
|
|
285
285
|
padding-top: ${a.sp3};
|
|
@@ -300,13 +300,13 @@ import{J as _,d as St,aS as jt,aa as Dt,cH as vt,O as E,V as t,bE as Ft,ad as Ct
|
|
|
300
300
|
background-color: ${e=>e.theme.colors.grey3};
|
|
301
301
|
min-height: 1px;
|
|
302
302
|
max-height: 1px;
|
|
303
|
-
`,co=i(
|
|
303
|
+
`,co=i(xe)`
|
|
304
304
|
padding: ${a.sp1} ${a.sp4};
|
|
305
305
|
background: ${e=>e.theme.colors.grey4};
|
|
306
306
|
border-radius: ${a.sp0} ${a.sp0} ${a.sp2} ${a.sp2};
|
|
307
307
|
text-align: ${e=>e.windowSize==="small"?"initial":"right"};
|
|
308
308
|
color: ${e=>e.isError?N.important:e.theme.colors.grey1};
|
|
309
|
-
`,po={labelWidth:new
|
|
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
310
|
display: flex;
|
|
311
311
|
flex-direction: column;
|
|
312
312
|
padding-top: ${a.sp3};
|
|
@@ -335,24 +335,24 @@ import{J as _,d as St,aS as jt,aa as Dt,cH as vt,O as E,V as t,bE as Ft,ad as Ct
|
|
|
335
335
|
:not(:first-of-type) {
|
|
336
336
|
margin-left: ${a.sp3};
|
|
337
337
|
}
|
|
338
|
-
`,
|
|
338
|
+
`,bo=i.div`
|
|
339
339
|
display: flex;
|
|
340
340
|
flex-direction: row;
|
|
341
341
|
justify-content: flex-end;
|
|
342
342
|
align-items: center;
|
|
343
343
|
color: ${e=>e.theme.colors.primary};
|
|
344
|
-
`,
|
|
344
|
+
`,xo=()=>t.jsx(bo,{children:"–"}),wo=i.div`
|
|
345
345
|
padding: 6px ${a.sp2};
|
|
346
346
|
white-space: nowrap;
|
|
347
347
|
overflow: hidden;
|
|
348
348
|
text-overflow: ellipsis;
|
|
349
|
-
`,Io=i(
|
|
349
|
+
`,Io=i(be)`
|
|
350
350
|
color: ${e=>e.theme.colors.primary};
|
|
351
351
|
align-items: center;
|
|
352
352
|
justify-content: flex-end;
|
|
353
353
|
display: flex;
|
|
354
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(
|
|
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
356
|
display: flex;
|
|
357
357
|
flex-direction: row;
|
|
358
358
|
align-items: flex-start;
|
|
@@ -372,7 +372,7 @@ import{J as _,d as St,aS as jt,aa as Dt,cH as vt,O as E,V as t,bE as Ft,ad as Ct
|
|
|
372
372
|
border-bottom-left-radius: inherit;
|
|
373
373
|
border-bottom-right-radius: inherit;
|
|
374
374
|
}
|
|
375
|
-
`,Ce={labelWidth:new
|
|
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
376
|
display: flex;
|
|
377
377
|
flex-direction: column;
|
|
378
378
|
padding-top: ${a.sp3};
|
|
@@ -393,7 +393,7 @@ import{J as _,d as St,aS as jt,aa as Dt,cH as vt,O as E,V as t,bE as Ft,ad as Ct
|
|
|
393
393
|
background-color: ${e=>e.theme.colors.grey3};
|
|
394
394
|
min-height: 1px;
|
|
395
395
|
max-height: 1px;
|
|
396
|
-
`,Pe={width:new
|
|
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
397
|
display: flex;
|
|
398
398
|
min-height: 100%;
|
|
399
399
|
flex-direction: column;
|
|
@@ -407,11 +407,11 @@ import{J as _,d as St,aS as jt,aa as Dt,cH as vt,O as E,V as t,bE as Ft,ad as Ct
|
|
|
407
407
|
overflow-y: auto;
|
|
408
408
|
flex-direction: column;
|
|
409
409
|
align-items: center;
|
|
410
|
-
`,Lo=i(
|
|
410
|
+
`,Lo=i(be)`
|
|
411
411
|
color: ${e=>e.theme.colors.hero};
|
|
412
412
|
display: flex;
|
|
413
413
|
justify-content: center;
|
|
414
414
|
width: ${e=>Pe.width.valuePx(e.windowSize)};
|
|
415
415
|
margin-top: ${a.sp3};
|
|
416
416
|
margin-bottom: ${a.sp4};
|
|
417
|
-
`;export{
|
|
417
|
+
`;export{Jo as default,tt as uniqueName};
|
package/dist/assets/{CompleteProfile-C5n9b8gQ-D0ag80PT.js → CompleteProfile-CsbsHQ0p-BLF2mnNn.js}
RENAMED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import{aa as V,gW as $,O as S,V as g,gX as v,ab as l,am as q,ad as J,cM as _,cW as W,cT as T,o as E,gY as Z,cR as X,aT as z,R as AA,c4 as gA,gZ as BA}from"./index-B6YQjyMc.js";import{a as B,P as c}from"./sentry-PE_t7E3E.js";import{n as o}from"./mui-BMACe6Rq.js";import{bh as eA}from"./zeni-epic-state-DBzXvQ_H.js";import{$ as EA}from"./LabeledAddressValue-Ma1WURjK-DlrMcsdg.js";import"./liveblocks-t9znRICt.js";import"./core-0bnVVABN.js";import"./recharts-BogDwoBa.js";import"./lottie-CQ9eYGiF.js";import"./analytics-DmFOON3n.js";import"./lexical-aEmQVmum.js";import"./utils-hiWEDg_f.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]="706c6d9d-f70c-400a-9099-74063be181b4",A._sentryDebugIdIdentifier="sentry-dbid-706c6d9d-f70c-400a-9099-74063be181b4")}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,iVBORw0KGgoAAAANSUhEUgAAAfQAAAH0CAYAAADL1t+KAAAAAXNSR0IArs4c6QAAFQVJREFUeF7t1cENwCAQA0Hov1s+yS+R6OJWQwV4fJL3ed5veQQIECBAgMBogW3QR/fn8wQIECBA4AoYdIdAgAABAgQCAgY9UKIIBAgQIEDAoLsBAgQIECAQEDDogRJFIECAAAECBt0NECBAgACBgIBBD5QoAgECBAgQMOhugAABAgQIBAQMeqBEEQgQIECAgEF3AwQIECBAICBg0AMlikCAAAECBAy6GyBAgAABAgEBgx4oUQQCBAgQIGDQ3QABAgQIEAgIGPRAiSIQIECAAAGD7gYIECBAgEBAwKAHShSBAAECBAgYdDdAgAABAgQCAgY9UKIIBAgQIEDAoLsBAgQIECAQEDDogRJFIECAAAECBt0NECBAgACBgIBBD5QoAgECBAgQMOhugAABAgQIBAQMeqBEEQgQIECAgEF3AwQIECBAICBg0AMlikCAAAECBAy6GyBAgAABAgEBgx4oUQQCBAgQIGDQ3QABAgQIEAgIGPRAiSIQIECAAAGD7gYIECBAgEBAwKAHShSBAAECBAgYdDdAgAABAgQCAgY9UKIIBAgQIEDAoLsBAgQIECAQEDDogRJFIECAAAECBt0NECBAgACBgIBBD5QoAgECBAgQMOhugAABAgQIBAQMeqBEEQgQIECAgEF3AwQIECBAICBg0AMlikCAAAECBAy6GyBAgAABAgEBgx4oUQ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5QoAgECBAgQMOhugAABAgQIBAQMeqBEEQgQIECAgEF3AwQIECBAICBg0AMlikCAAAECBAy6GyBAgAABAgEBgx4oUQQCBAgQIGDQ3QABAgQIEAgIGPRAiSIQIECAAAGD7gYIECBAgEBAwKAHShSBAAECBAgYdDdAgAABAgQCAgY9UKIIBAgQIEDAoLsBAgQIECAQEDDogRJFIECAAAECBt0NECBAgACBgIBBD5QoAgECBAgQMOhugAABAgQIBAQMeqBEEQgQIECAgEF3AwQIECBAICBg0AMlikCAAAECBAy6GyBAgAABAgEBgx4oUQQCBAgQIGDQ3QABAgQIEAgIGPRAiSIQIECAAAGD7gYIECBAgEBAwKAHShSBAAECBAgYdDdAgAABAgQCAgY9UKIIBAgQIEDAoLsBAgQIECAQEDDogRJFIECAAAECBt0NECBAgACBgIBBD5QoAgECBAgQMOhugAABAgQIBAQMeqBEEQgQIECAgEF3AwQIECBAICBg0AMlikCAAAECBAy6GyBAgAABAgEBgx4oUQQCBAgQIGDQ3QABAgQIEAgIGPRAiSIQIECAAAGD7gYIECBAgEBAwKAHShSBAAECBAgYdDdAgAABAgQCAgY9UKIIBAgQIEDAoLsBAgQIECAQEDDogRJFIECAAAECBt0NECBAgACBgIBBD5QoAgECBAgQMOhugAABAgQIBAQMeqBEEQgQIECAgEF3AwQIECBAICBg0AMlikCAAAECBAy6GyBAgAABAgEBgx4oUQQCBAgQIGDQ3QABAgQIEAgIGPRAiSIQIECAAAGD7gYIECBAgEBAwKAHShSBAAECBAgYdDdAgAABAgQCAgY9UKIIBAgQIEDgB7iZk96LOSbbAAAAAElFTkSuQmCC"}))),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=$({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)},R=C=>{C!=null&&C.trim().length>0&&y(C)},K=()=>{a(!0)},U=()=>{a(!1)},b=()=>{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(v,{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:K},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(X,{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:R,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(z,{formId:t?void 0:`${p}_form`,primaryBtn:{label:t?e.companyPassport.address.saveAddress:e.common.footer.save,type:t?"button":"submit",onClick:t?b:void 0,isLoading:G.fetchState==="In-Progress"||r.sendOtpStatus.fetchState==="In-Progress"},showCancel:!1})]})},oA=o.div`
|
|
1
|
+
import{aa as v,h9 as V,O as S,V as g,ha as $,ab as l,an as q,ae as J,cV as _,d3 as W,d0 as T,o as E,hb as Z,c_ as X,aT as z,d as AA,cc as gA,hc as BA}from"./index-nssLOVFu.js";import{a as B,P as c}from"./sentry-Fca4mdIl.js";import{n as o}from"./mui-BVCBQYdL.js";import{bh as eA}from"./zeni-epic-state-BZv12Eez.js";import{$ as EA}from"./LabeledAddressValue-3l0Bv00--DmuSRVDq.js";import"./liveblocks-offUbtxr.js";import"./core-DTlL91ob.js";import"./lottie-Cqel28AC.js";import"./recharts-DAsNs3BU.js";import"./analytics-B3XlZNQ8.js";import"./lexical-CoKvBbaA.js";import"./utils-Cgs4R-d4.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]="c2ff40cb-3af8-4a07-a838-78f992d19df1",A._sentryDebugIdIdentifier="sentry-dbid-c2ff40cb-3af8-4a07-a838-78f992d19df1")}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,iVBORw0KGgoAAAANSUhEUgAAAfQAAAH0CAYAAADL1t+KAAAAAXNSR0IArs4c6QAAFQVJREFUeF7t1cENwCAQA0Hov1s+yS+R6OJWQwV4fJL3ed5veQQIECBAgMBogW3QR/fn8wQIECBA4AoYdIdAgAABAgQCAgY9UKIIBAgQIEDAoLsBAgQIECAQEDDogRJFIECAAAECBt0NECBAgACBgIBBD5QoAgECBAgQMOhugAABAgQIBAQMeqBEEQgQIECAgEF3AwQIECBAICBg0AMlikCAAAECBAy6GyBAgAABAgEBgx4oUQQCBAgQIGDQ3QABAgQIEAgIGPRAiSIQIECAAAGD7gYIECBAgEBAwKAHShSBAAECBAgYdDdAgAABAgQCAgY9UKIIBAgQIEDAoLsBAgQIECAQEDDogRJFIECAAAECBt0NECBAgACBgIBBD5QoAgECBAgQMOhugAABAgQIBAQMeqBEEQgQIECAgEF3AwQIECBAICBg0AMlikCAAAECBAy6GyBAgAABAgEBgx4oUQQCBAgQIGDQ3QABAgQIEAgIGPRAiSIQIECAAAGD7gYIECBAgEBAwKAHShSBAAECBAgYdDdAgAABAgQCAgY9UKIIBAgQIEDAoLsBAgQIECAQEDDogRJFIECAAAECBt0NECBAgACBgIBBD5QoAgECBAgQMOhugAABAgQIBAQMeqBEEQgQIECAgEF3AwQIECBAICBg0AMlikCAAAECBAy6GyBAgAABAgEBgx4oUQQCBAgQI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AgQMOhugAABAgQIBAQMeqBEEQgQIECAgEF3AwQIECBAICBg0AMlikCAAAECBAy6GyBAgAABAgEBgx4oUQQCBAgQIGDQ3QABAgQIEAgIGPRAiSIQIECAAAGD7gYIECBAgEBAwKAHShSBAAECBAgYdDdAgAABAgQCAgY9UKIIBAgQIEDAoLsBAgQIECAQEDDogRJFIECAAAECBt0NECBAgACBgIBBD5QoAgECBAgQMOhugAABAgQIBAQMeqBEEQgQIECAgEF3AwQIECBAICBg0AMlikCAAAECBAy6GyBAgAABAgEBgx4oUQQCBAgQIGDQ3QABAgQIEAgIGPRAiSIQIECAAAGD7gYIECBAgEBAwKAHShSBAAECBAgYdDdAgAABAgQCAgY9UKIIBAgQIEDAoLsBAgQIECAQEDDogRJFIECAAAECBt0NECBAgACBgIBBD5QoAgECBAgQMOhugAABAgQIBAQMeqBEEQgQIECAgEF3AwQIECBAICBg0AMlikCAAAECBAy6GyBAgAABAgEBgx4oUQQCBAgQIGDQ3QABAgQIEAgIGPRAiSIQIECAAAGD7gYIECBAgEBAwKAHShSBAAECBAgYdDdAgAABAgQCAgY9UKIIBAgQIEDAoLsBAgQIECAQEDDogRJFIECAAAECBt0NECBAgACBgIBBD5QoAgECBAgQMOhugAABAgQIBAQMeqBEEQgQIECAgEF3AwQIECBAICBg0AMlikCAAAECBAy6GyBAgAABAgEBgx4oUQQCBAgQIGDQ3QABAgQIEAgIGPRAiSIQIECAAAGD7gYIECBAgEBAwKAHShSBAAECBAgYdDdAgAABAgQCAgY9UKIIBAgQIEDgB7iZk96LOSbbAAAAAElFTkSuQmCC"}))),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}`,MA=({userEmail:A,googleAPIKey:i,twoFactorAuthenticationView:r,saveStatus:G,hasUserEnteredBasicDetails:w,onSave:D,onGetOtp:f,onVerifyOtp:M,onResendOtp:y})=>{const[I,a]=B.useState(!1),[k,Y]=B.useState(!1),t=v({mode:"onChange",reValidateMode:"onChange",defaultValues:{basicDetailsSection:{name:{firstName:"",lastName:""},email:A,dateOfBirth:void 0,phone:"",address:void 0}}}),x=V({control:t.control,name:`${Q}.address`}),{dateFormat:F}=S.getLocalizedStrings(),h=()=>{const C=t.getValues(`${Q}.phone`);C!=null&&C.trim().length>0&&f(C)},L=(C,d)=>{M(C,d)},R=C=>{C!=null&&C.trim().length>0&&y(C)},U=()=>{a(!0)},b=()=>{a(!1)},K=()=>{const C=t.getValues(`${m}`);if(C!=null){const d=BA(C);t.setValue(`${Q}.address`,d)}a(!1)},P=t.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(IA,{children:[g.jsxs(tA,{children:[I&&g.jsx(iA,{onClick:b}),e.completeProfile.title]}),g.jsx(J,{...t,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:I===!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:U},style:{width:"100%",padding:`${E.sp2} ${E.sp2} ${E.sp2} ${E.sp0}`}})]})}),g.jsx(l,{controller:I===!0,children:g.jsx(c.Fragment,{children:g.jsx(Z,{sectionId:m,googleAPIKey:i,isSubPage:!0})})})]})}),g.jsx(u,{children:g.jsx(X,{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:t.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:R,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(z,{formId:I?void 0:`${p}_form`,primaryBtn:{label:I?e.companyPassport.address.saveAddress:e.common.footer.save,type:I?"button":"submit",onClick:I?K:void 0,isLoading:G.fetchState==="In-Progress"||r.sendOtpStatus.fetchState==="In-Progress"},showCancel:!1})]})},oA=o.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
min-height: 100vh;
|
|
5
|
-
`,
|
|
5
|
+
`,IA=o.div`
|
|
6
6
|
display: flex;
|
|
7
7
|
flex-direction: column;
|
|
8
8
|
align-items: flex-start;
|
|
9
9
|
padding: ${E.sp5};
|
|
10
10
|
row-gap: ${E.sp3};
|
|
11
11
|
flex: 1;
|
|
12
|
-
`,
|
|
12
|
+
`,tA=o(AA)`
|
|
13
13
|
color: ${A=>A.theme.colors.primary};
|
|
14
14
|
text-align: left;
|
|
15
15
|
display: flex;
|
|
@@ -49,4 +49,4 @@ import{aa as V,gW as $,O as S,V as g,gX as v,ab as l,am as q,ad as J,cM as _,cW
|
|
|
49
49
|
width: ${E.sp3};
|
|
50
50
|
height: ${E.sp3};
|
|
51
51
|
color: ${A=>A.theme.colors.success};
|
|
52
|
-
`;export{
|
|
52
|
+
`;export{MA as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{dh as f,ax as d,V as a,b7 as l,o as p}from"./index-nssLOVFu.js";import{a as r}from"./sentry-Fca4mdIl.js";import"./liveblocks-offUbtxr.js";import"./core-DTlL91ob.js";import"./zeni-epic-state-BZv12Eez.js";import"./mui-BVCBQYdL.js";import"./recharts-DAsNs3BU.js";import"./lottie-Cqel28AC.js";import"./analytics-B3XlZNQ8.js";import"./lexical-CoKvBbaA.js";import"./utils-Cgs4R-d4.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]="c61193e5-c6e1-49ab-8472-dd1a1ab73ff9",e._sentryDebugIdIdentifier="sentry-dbid-c61193e5-c6e1-49ab-8472-dd1a1ab73ff9")}catch{}})();const c="https://storage.googleapis.com/zeni-apis.appspot.com/data/confetti_sfx.mp3",E=({showConfetti:e})=>{const[t,o]=r.useState(e),[s,i]=f(c,e),[n]=d("ConfettiSuccess");return r.useEffect(()=>{e&&o(!0)},[e]),r.useEffect(()=>{t&&s===!1&&i(!0)},[t,s,i]),a.jsx(a.Fragment,{children:t&&s&&n!=null?a.jsx(l,{style:{position:"absolute",width:"100%",height:"100vh",top:p.sp0,left:p.sp0,zIndex:5},onComplete:()=>{i(!1),o(!1)},animationData:n,loop:0,play:!0,goTo:0,rendererSettings:{preserveAspectRatio:"xMidYMid slice"}}):null})};export{E as default};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{V as n}from"./index-
|
|
1
|
+
import{V as n}from"./index-nssLOVFu.js";import{a as r}from"./sentry-Fca4mdIl.js";import{n as s}from"./mui-BVCBQYdL.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
2
|
width: auto;
|
|
3
3
|
max-width: var(--side-panel-list-width, 100%);
|
|
4
4
|
position: relative;
|