@zeniai/web-cockpit-ui 1.15.52-dev → 1.15.53-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-D2Xav-UW-DmDhM3Ya.js +21 -0
- package/dist/assets/{AIPerformancePage-I03C8PSW-CA1s90X_.js → AIPerformancePage-DlTdGosv-DQP6RhOc.js} +46 -46
- package/dist/assets/AccountInfoPage-B8-8kUGD-CToACIO4.js +18 -0
- package/dist/assets/{AccountInfoPageContent-sA3Gcnqp-CL_vzrPR.js → AccountInfoPageContent-BS2TBUSE-CXMTjqRR.js} +17 -17
- package/dist/assets/{AccountLockedInfoModal-BZYAopgt-BqB0lffx.js → AccountLockedInfoModal-aukulrV7-BdgVRhsa.js} +7 -7
- package/dist/assets/{AccountReconDetailsDrawerPage-ViRClh97-BJ7clwL9.js → AccountReconDetailsDrawerPage-kQJld6_N-CswOv8sQ.js} +50 -50
- package/dist/assets/AccountRow-BiEYR4Y1-CmfzC2gE.js +298 -0
- package/dist/assets/{AccountsPromoCardStack-DBAX4q__-Bh8ZoDe1.js → AccountsPromoCardStack-DBQnDPXQ-D0z5TFOj.js} +28 -28
- package/dist/assets/AddAddressForCardDrawer-DTnfk8K7-BFrcrnKm.js +6 -0
- package/dist/assets/{AddToWalletPage-CyhCQttf-QhVHXwqj.js → AddToWalletPage-C4EwdLZJ-BInlB4A7.js} +29 -29
- package/dist/assets/{AgingReportsPage-R0h2M4Pa-BPDo1WWy.js → AgingReportsPage-vAvkUfOS-D7pZCvXq.js} +14 -14
- package/dist/assets/{AllUserItems-DwCmOyqn-BB9lm9aN.js → AllUserItems-qrYg6Gdx-BCdM6c47.js} +12 -12
- package/dist/assets/{ApAgingDetailPage-BI6tCRap-BxldxrIf.js → ApAgingDetailPage-BRYQMwo2-D_TMSgpW.js} +3 -3
- package/dist/assets/{AppBasePage-5AD8mjXH-d-vQz4Ip.js → AppBasePage-DrE-W6d7-DvGq3J7n.js} +6 -6
- package/dist/assets/AppDrawerContent-ATbZG_cu-BjnW7Nvp.js +92 -0
- package/dist/assets/ApprovalRulesSettingsPage-5MYC1I6k-Ds-SstoD.js +47 -0
- package/dist/assets/{ArAgingChart-B_Moc1is-BFtidcAa.js → ArAgingChart-CuzG9AZY-LyeeC-_F.js} +4 -4
- package/dist/assets/{ArAgingDetailPage-ToyZzpCy-Czu_myTL.js → ArAgingDetailPage-DwRkcLEu-BwO8bg0D.js} +3 -3
- package/dist/assets/{AttachmentView-MrO6p_bS-C09_HPJU.js → AttachmentView-BrQRChzc-Dm5F4MLP.js} +6 -6
- package/dist/assets/{BankAccountSection-DodjM0QY-JKnRSQjs.js → BankAccountSection-hcKEMs80-9386hWb2.js} +6 -6
- package/dist/assets/BankAccountWarningSection-CpxVDMSZ-DXfuEuGA.js +51 -0
- package/dist/assets/{BankConnectionsSettingsPage-Ctmnk9S5-CBdNOgni.js → BankConnectionsSettingsPage-Bdw1K00m-B0uSwnpP.js} +25 -25
- package/dist/assets/BillDetailPage-D0NLFZXA-BAo9uy4y.js +266 -0
- package/dist/assets/{BillPayApprovalRuleDetailPage-Cm-kRPtE-D0mYWAGA.js → BillPayApprovalRuleDetailPage-DkpCvYvo-BXtcghrA.js} +1 -1
- package/dist/assets/{BillPayApprovalRulesPage-DYYmdAGI-BXif4TSd.js → BillPayApprovalRulesPage-BEqZD0GU-BhjcWx9B.js} +5 -5
- package/dist/assets/BillPayPromoPage-BMcP4EU5-DK5zwMUs.js +84 -0
- package/dist/assets/{BillPaySetUpPage-CRk1JPlQ-DfwvUS-u.js → BillPaySetUpPage-WdEdbf16-BdgMOYAB.js} +6 -6
- package/dist/assets/BillingSettingsPage-GtRUqSZm-JcS3RT-t.js +44 -0
- package/dist/assets/BillsBulkReviewDrawerPage-DAUoo9pq-CGT1MF5v.js +1 -0
- package/dist/assets/{BoxItem-B7JwjEHS-GLe4e95X.js → BoxItem-CACRFWG2-CnmPjRPK.js} +3 -3
- package/dist/assets/BusinessVerificationPage-9gZbBDL6-Dso7HJiD.js +138 -0
- package/dist/assets/{CardNumberSubText-C-RZAUkR-Be1AIDeL.js → CardNumberSubText-C-oVdziK-DnaANIDf.js} +9 -9
- package/dist/assets/{CashbackDetailPage-yBXvMZer-3Hcjmbs4.js → CashbackDetailPage-BhFKSl4p-DFlKoeZU.js} +24 -24
- package/dist/assets/{ChargeCardDetailPage-8bFbBt9K-Dk9PfZM8.js → ChargeCardDetailPage-D8J6HINu-Cy0gxJPT.js} +1 -1
- package/dist/assets/{ChargeCardListPage-B9O5pzNX-D8EvLErv.js → ChargeCardListPage-tdUKyHdz-DaeStUfM.js} +27 -27
- package/dist/assets/{ChargeCardListTable-BzxR1456-I7z_YYot.js → ChargeCardListTable-CByk3iqX-BP_2jTx-.js} +55 -55
- package/dist/assets/{ChargeCardPaymentHistoryPage-HfkJGYyo-CVlVN9y1.js → ChargeCardPaymentHistoryPage-B8zRcrjo-CqZTiCeW.js} +41 -41
- package/dist/assets/ChargeCardPromoPage-C4cgx2gm-EwMGXlYV.js +222 -0
- package/dist/assets/{ChargeCardSetupPage-D7kUlVmU-BYJYzLpH.js → ChargeCardSetupPage-DtwiTNKA-CKdHxRmI.js} +3 -3
- package/dist/assets/ChargeCardStatementsPage-B0KPw52e-BNkqxRQ2.js +60 -0
- package/dist/assets/{CheckDepositDrawerPage-UFggEfV1-DeaowvSn.js → CheckDepositDrawerPage-DKNAXI77-BSOutqAK.js} +22 -22
- package/dist/assets/{CollapsableReportTable-BwRNFt9D-D3w6E4nX.js → CollapsableReportTable-Cq8bhaYC-DXVGhc1U.js} +282 -282
- package/dist/assets/{CompanyOfficerDetailsSection-Czd9OA0I-PpNc4QNR.js → CompanyOfficerDetailsSection-Rk0B5cB5-DB11gG9H.js} +32 -32
- package/dist/assets/{CompanyPassportCard-nT7OaLPI-u1s9N1Jh.js → CompanyPassportCard-CHaKk74P-BdhNiQs5.js} +7 -7
- package/dist/assets/{CompanyPassportPage-CwgpT7Ns-1ZhURb_8.js → CompanyPassportPage-DXWXFFKM-1Gz0LfNo.js} +47 -47
- package/dist/assets/{CompleteProfile-C8v6Tp9b-B_GnJ4t1.js → CompleteProfile-ChaWsK6t-CkLnv3sI.js} +1 -1
- package/dist/assets/ConfettiBurst-CdB5fRMt-CRqwwWlg.js +1 -0
- package/dist/assets/{ConstrainedInnerElement-BeIpAPjB-Cf9Qlgny.js → ConstrainedInnerElement-BeIpAPjB-CR-47kA2.js} +1 -1
- package/dist/assets/{CreateOrEditVendorPage-CESiqFO_-VLQw4dZj.js → CreateOrEditVendorPage-C_8Jqubo-CAWRF5So.js} +11 -11
- package/dist/assets/{CreditCardPaymentDrawerPage-BjETaVSt-DsfV5dnO.js → CreditCardPaymentDrawerPage-lOjOtk28-2rzY7Y_f.js} +14 -14
- package/dist/assets/CurrencySelectField-BDqU4HVy-DUa8DDre.js +139 -0
- package/dist/assets/{CustomerOnboardingActivationPage-BGsyeSIX-DnrwiTHK.js → CustomerOnboardingActivationPage-DO6NCakm-DB3F8kyi.js} +29 -29
- package/dist/assets/CustomerOnboardingContainerPage-CckCX7Vt-Q_KOJWYS.js +1 -0
- package/dist/assets/{CustomerOnboardingDetailPageSkeleton-DyX4Fa7j-D4Zm7ptp.js → CustomerOnboardingDetailPageSkeleton-BYXyF1CQ-DQwtiYKE.js} +17 -17
- package/dist/assets/{CustomerOnboardingNoStepsPage-ColynPuZ-DWaQRfo3.js → CustomerOnboardingNoStepsPage-CbG5WshV-B6Cq5cCV.js} +6 -6
- package/dist/assets/{CustomerOnboardingPage-D8_HJZHo-m6dhWrve.js → CustomerOnboardingPage-DyVyf8oK-Bbvqfzve.js} +16 -16
- package/dist/assets/{CustomerOnboardingProductSuitePage-CNhvXIab-2akibz5Z.js → CustomerOnboardingProductSuitePage-1F3JfCRp-M5aWZTXB.js} +14 -14
- package/dist/assets/{Dashboard-DzmaFlfB-D7bnMHAs.js → Dashboard-Csggwob0-e7KLrAzz.js} +66 -66
- package/dist/assets/{DashboardReportPage-D0ovdT-D-CXiKEBw-.js → DashboardReportPage-DFIdi_I0-uYWfrIup.js} +22 -22
- package/dist/assets/DashboardSidebarBackgroundAnimation-C3Ovv-ob-DszHhGbA.js +12 -0
- package/dist/assets/{DepositAccTransactionItem-Rfwk9Wzj-BXfqyh-p.js → DepositAccTransactionItem-CZ7v1T4S-e2AT80rO.js} +8 -8
- package/dist/assets/DepositAccTransactionListPage-FldPGX6K-Db6KKzae.js +66 -0
- package/dist/assets/DomesticWireDetailsPage-C--eZ-UG-h0uzjMVt.js +21 -0
- package/dist/assets/{DownloadOverlay-FFq5FG7J-BLLib_kt.js → DownloadOverlay-4f9deyJS-Bmz0ejyE.js} +36 -36
- package/dist/assets/{DrawerPage-J3bl7ehG-s3OJdWrr.js → DrawerPage-roO3xvRT-BGC_3oGn.js} +15 -15
- package/dist/assets/EditPeoplePage-pi5RclAj-BAKsXmAv.js +55 -0
- package/dist/assets/EditReimbursementDetailPage-CIUcImns-CpOeMOYM.js +865 -0
- package/dist/assets/EntityDetailPage-OTKTVNMD-madC1I3v.js +18 -0
- package/dist/assets/{EntitySummarySection-CYzQp7PK-i354Lc1S.js → EntitySummarySection-fBL4TZpT-DpmgFY5q.js} +14 -14
- package/dist/assets/{ExpenseAutomationOverviewPage-Cc0dU-zf-Zw16F7j6.js → ExpenseAutomationOverviewPage-CnhNINCc-Ba-7I2q6.js} +48 -48
- package/dist/assets/ExpenseAutomationPage-BDLCJbFw-B65uFwyw.js +1703 -0
- package/dist/assets/{ExpressPayPage-BFL-q602-DvZaGtIb.js → ExpressPayPage-c8oTCnBR-DLD1ESsm.js} +17 -17
- package/dist/assets/{FeaturePreviewPage-CRDanEsJ-Bg8uJihv.js → FeaturePreviewPage-DkiAajs2-jW7XTS4W.js} +2 -2
- package/dist/assets/{FollowStepsSection-lbStDJrW-xgtm7xaE.js → FollowStepsSection-GaWu1kt9-DPxSdgo3.js} +59 -59
- package/dist/assets/GlobalReviewListPage-DEzj0RVG-CeRFieMj.js +291 -0
- package/dist/assets/{InformationCardStack-D2FybDBG-DK4mKE9F.js → InformationCardStack-dMFbHUWM-xL6qax_7.js} +5 -5
- package/dist/assets/{InsightsCardStack-BIaW6smi-DdCDTa8t.js → InsightsCardStack-BlXkyuyz-CSObZxx-.js} +10 -10
- package/dist/assets/InsightsSection-D-oCmrir-BDt4fRIh.js +27 -0
- package/dist/assets/{IntegrationsSettingsPage-DPyXd24p-hHMYoNkO.js → IntegrationsSettingsPage-D-hfghuq-BXO5c_dn.js} +9 -9
- package/dist/assets/{InternationalWireSwiftDetailsPage-BaHqqJqA-DqqqsAXq.js → InternationalWireSwiftDetailsPage-DxdKE300-B7KYCkcv.js} +21 -21
- package/dist/assets/InternationalWireVerificationPage-CkSmhOrS-D-mLEGol.js +65 -0
- package/dist/assets/{InviteFormPage-CuqQsolW-CdPGGN0E.js → InviteFormPage-BCdalqtP-CaETHzpB.js} +22 -22
- package/dist/assets/{InvitePageListView-Cm5bZIk7-CHfi-pbC.js → InvitePageListView-B88FW48q-fpDsceSB.js} +63 -63
- package/dist/assets/InvitePeoplePage-Z-2L7lWc-UD6n_Q7k.js +12 -0
- package/dist/assets/InvoiceUploadSection-C8hytmay-HB4lI_N7.js +140 -0
- package/dist/assets/{IssueChargeCardPage-CvXBQgkF-Pp1RMyhu.js → IssueChargeCardPage-B6wmvbEr-JIsHDCkw.js} +18 -18
- package/dist/assets/{LabeledAddressValue-BzZgMorl-B2WmXaZs.js → LabeledAddressValue-CQrDCgNs-3ouFKt7p.js} +2 -2
- package/dist/assets/{LabeledAddressValueField-DS32l0xi-ffR5_IMa.js → LabeledAddressValueField-BoHS44YO-B3Azc_ND.js} +4 -4
- package/dist/assets/LabeledControlledCheckBoxField-BsFqjCpn-CNZwev0o.js +16 -0
- package/dist/assets/{LabeledCountryMultiSelectField-uVIlAv9_-Cr-pLwSj.js → LabeledCountryMultiSelectField-D1fVDYR_-BT0zs0Jm.js} +5 -5
- package/dist/assets/{LabeledCreatableSingleSelectField-CKBw0XOi-B5ltv_kq.js → LabeledCreatableSingleSelectField-Bhka-Faj-D8-1M_Br.js} +4 -4
- package/dist/assets/LabeledDocumentField-CnRk5aKZ-CV8AaRRN.js +41 -0
- package/dist/assets/{LabeledDropDownFormattedTextField-B8sjZQO1-DCDhvZp_.js → LabeledDropDownFormattedTextField-ChgtJqPr-DExq8QI7.js} +5 -5
- package/dist/assets/{LabeledText-C8euMqJ4-Bp0HFgot.js → LabeledText-2EDpuXZ4-BLBQclH9.js} +2 -2
- package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-DIzGOREd-Bc8PoiiU.js → LabeledUserSingleSelectWithSubtitlesField-CZbyOdRR-CDUhkAJw.js} +16 -16
- package/dist/assets/{LabeledZeniRolesDropDownField-DM9r7_1v-DcV8WbWY.js → LabeledZeniRolesDropDownField-CpH0eDWO-BN0y8uby.js} +26 -26
- package/dist/assets/{LinkJETransactionPage-C198tset-DnJPfd0_.js → LinkJETransactionPage-BhV2MnCY-UMeDagXs.js} +13 -13
- package/dist/assets/{LockCardPage-C9qzP7dO-D1jjqQ7s.js → LockCardPage-CHv1xi2J-mFvWtqsS.js} +213 -213
- package/dist/assets/{LowBalancePopup-BUPGnvH6-Fyq6gZkv.js → LowBalancePopup-Cb55PGLc-DRqPG0mh.js} +6 -6
- package/dist/assets/MagicLinkACHDetailsPage-Dnp01hnF-DQ8yr6uv.js +1 -0
- package/dist/assets/MagicLinkDomesticWireDetailsPage-B36rsikS-BxHsYq7B.js +1 -0
- package/dist/assets/MagicLinkInternationalWireDetailsPage-Zo4oNZez-CpqMSy1N.js +1 -0
- package/dist/assets/MagicLinkSuccessPage-09NLbjFG-Co3vSy6t.js +31 -0
- package/dist/assets/{MagicLinkTitleSection-jOwfp5xN-_Wo4I2rc.js → MagicLinkTitleSection-BA-i6vzA-RLm3mDeb.js} +4 -4
- package/dist/assets/MailingDetailsSection-EwtoQ2TZ-CYDGTCnx.js +21 -0
- package/dist/assets/{MyBankConnectionsSettingsPage-CLSFozv6-BbHYYCjp.js → MyBankConnectionsSettingsPage-Aer6AWxY-7WBcezSN.js} +16 -16
- package/dist/assets/MyPendingActivationChargeCardListPage-Ddy4bAEY-D3ybcBV0.js +6 -0
- package/dist/assets/{MyProfileSettingsPage-BOoyzeho-CzfkubXL.js → MyProfileSettingsPage-DMz-6h9F-BcvPvdDW.js} +7 -7
- package/dist/assets/NavBarWithPicker-D8WNahg--DzolItlM.js +30 -0
- package/dist/assets/{NavigationArrow-CocIRiS9-D_aGlTJv.js → NavigationArrow-kQWS5Pzb-DnxK-xgA.js} +2 -2
- package/dist/assets/{NavigationDots-BrrmV8fC-C-pOglim.js → NavigationDots-BQb_Fodq-CVrmLvYQ.js} +4 -4
- package/dist/assets/{NewGlobalMerchantPage-D9NZKb2--bmJmDKdY.js → NewGlobalMerchantPage-z86XZorn-DxAD7tTY.js} +13 -13
- package/dist/assets/{NoDataChart-CeZTA9_3-DPu9FogX.js → NoDataChart-CyYJ6icu-CHQY_bIW.js} +2 -2
- package/dist/assets/{NoDataTable-C6ryanfQ-BGrQrBkr.js → NoDataTable-DVe7sQhD-nqOrgT1n.js} +1 -1
- package/dist/assets/{NotFoundPage-nSaJJjUJ-CGdqaTEf.js → NotFoundPage-B1XCmhSe-DJxMFFFe.js} +8 -8
- package/dist/assets/{NotificationSettingsPage-DmkglhXS-DKDAc0L1.js → NotificationSettingsPage-BaN20EGV-BZKokXl_.js} +17 -17
- package/dist/assets/NotificationsListConfig-BOW_TmPC-2OPYdfiF.js +1 -0
- package/dist/assets/NotificationsPage-C9efAgjo-Q1uCdSWG.js +685 -0
- package/dist/assets/OpExByVendorPage-DXeBU3-z-ClrNqg-6.js +100 -0
- package/dist/assets/{OverlayContainerPage-D4QU0p4o-CZWZkEqC.js → OverlayContainerPage-D4QU0p4o-5C-NUnJ8.js} +1 -1
- package/dist/assets/{PandLWithForecastPage-CzegKoaH-B0moQiWV.js → PandLWithForecastPage-CXtJhnA_-_B_OXjuI.js} +15 -15
- package/dist/assets/{PaymentAccountSetupBillingAddressSection-BwtVSnia-C7hSU-EC.js → PaymentAccountSetupBillingAddressSection-Deb_ngk6-BYIDdJGi.js} +18 -18
- package/dist/assets/PeoplePage-DXC2CtOt-BmC0xa13.js +675 -0
- package/dist/assets/{Preview-wOpHiBqR.js → Preview-DIhdxTnV.js} +1 -1
- package/dist/assets/{ProductsCarousel-DecdL2J--CA_efZNI.js → ProductsCarousel-ufZlh7Rx-BhPoplzW.js} +7 -7
- package/dist/assets/{PromoBaseCards-CN21NM41-DhBLPQmY.js → PromoBaseCards-D2UbhBhT-DISJBAGU.js} +4 -4
- package/dist/assets/{QBOConnectionDialog-BZsRQAbh-D2VVdab9.js → QBOConnectionDialog-BrQ71F06-CE8JPZ4E.js} +9 -9
- package/dist/assets/QBOSetupSection-EOFscEW--D0QcMDeq.js +79 -0
- package/dist/assets/{ReimbursementApprovalRuleDetailPage-B4fcDJjA-I7W9UCB5.js → ReimbursementApprovalRuleDetailPage-C-HPI4Ng-1hqq3vgZ.js} +2 -2
- package/dist/assets/{ReimbursementApprovalRulesPage-ZBgAwbiy-aZ1DJzW_.js → ReimbursementApprovalRulesPage-CMpYn5y_-PKr02NgU.js} +16 -16
- package/dist/assets/ReimbursementDetailPage-CfmICHZb-C0Vlu4pV.js +314 -0
- package/dist/assets/{ReimbursementPromoPage-BykDW05i-QdFq0_ja.js → ReimbursementPromoPage-DXTAY8c7-ijLyTKXj.js} +32 -32
- package/dist/assets/{ReimbursementSetUpPage-D-c1G4Yp-D8qpk2At.js → ReimbursementSetUpPage-KrGPXTCb-Cndb3yRw.js} +7 -7
- package/dist/assets/ReimbursementsBulkReviewDrawerPage-l2mYNEKn-t36_7iYz.js +1 -0
- package/dist/assets/{ReloadCard-B1utQoNe-BgcT-L3D.js → ReloadCard-vAhL7B8U-CXvjyFbd.js} +5 -5
- package/dist/assets/ReportTableViewSelector-Y97ney3W-BsXF5NSn.js +150 -0
- package/dist/assets/{ReportsPage-BYl25tCa-DJAhkt3B.js → ReportsPage-DKM0gVzR-CWRqDWS7.js} +4 -4
- package/dist/assets/{RevenueChart-CsH-ABMc-DFPXH0sB.js → RevenueChart-BEjDS1u4-o0vV82hU.js} +24 -24
- package/dist/assets/{ReviewDetailsPage-NtC0bXjE-CiX3qT7_.js → ReviewDetailsPage-BlQLrN9z-CPNBWRFb.js} +23 -23
- package/dist/assets/{ReviewOverlay-toDIU4kV-D7cJ-CaI.js → ReviewOverlay-Bn3TFqfi-61PAxosm.js} +9 -9
- package/dist/assets/RoleWithToolTip-DhBFvJea-vHmZXp6q.js +22 -0
- package/dist/assets/{ScheduleDetailsFixedAssetsPage-CGhwVGkS-BkYGdAWq.js → ScheduleDetailsFixedAssetsPage-BMkFjf9Y-jDSlk-pR.js} +13 -13
- package/dist/assets/{ScheduleDetailsPage-Dpm8LTi5-ceBvcbCK.js → ScheduleDetailsPage-BP0wdtoP-1II188uq.js} +8 -8
- package/dist/assets/ScheduleSequenceTable-D-rZ4ftr-tSWSHWOw.js +324 -0
- package/dist/assets/{ScreenRoutes-BsccKPz_.js → ScreenRoutes-DZZxoCM2.js} +31 -31
- package/dist/assets/{SetUpAccountSection-D1u5qaQy-BfLHCJ7_.js → SetUpAccountSection-CoVrSSYL-DbZWiYfU.js} +9 -9
- package/dist/assets/SignIn-BoAejo7r-PQVivWYh.js +491 -0
- package/dist/assets/SignInScreen-efHROixG.js +1 -0
- package/dist/assets/SpendManagementListViewPage-D3eISFuA-B7nSuLpf.js +134 -0
- package/dist/assets/{SpendManagementPerTabPage-DASIEooE-BlZ1Uenl.js → SpendManagementPerTabPage-BWDjZyLp-BKnsfe2z.js} +108 -108
- package/dist/assets/{SpendManagementSection-fQq7rBRb-B6t2uSf8.js → SpendManagementSection-D8rBpC-y-wjuhm2Gv.js} +23 -23
- package/dist/assets/{StatementItem-CoVXNSDb-BShn5DUw.js → StatementItem-Cu6dlAsl-BxjOZIKR.js} +3 -3
- package/dist/assets/{StatementsPage-BvGLyYRh-DoAREV67.js → StatementsPage-DiY2BOcu-jACVIQ7g.js} +6 -6
- package/dist/assets/{StatusSwitcher-fb1FvNod-CKz_fWO7.js → StatusSwitcher-B9MARTyR-CVrMK43S.js} +5 -5
- package/dist/assets/{SubTabSwitcher-DiseUTbE-Bc7dZsGz.js → SubTabSwitcher-C3rtSwro-Bfv-jqX0.js} +3 -3
- package/dist/assets/SummaryCard-CShVbqhj-C7VDYfDP.js +1 -0
- package/dist/assets/TaskManagementPage-RVS8nv0n-IfMaVZ79.js +508 -0
- package/dist/assets/{TimeRangeSwitcher-C3criwDK-MjZzatMd.js → TimeRangeSwitcher-DFnX6_WT-B3NiZwLX.js} +13 -13
- package/dist/assets/TimeframeSwitcher-CW08yYgo-DBfI-CDo.js +31 -0
- package/dist/assets/{TimeframeSwitcherWithToggle-DFjeQWwK-DmJGkI9O.js → TimeframeSwitcherWithToggle-DJOCWqpZ-CxMWU2YP.js} +7 -7
- package/dist/assets/{TopExCard-D7QZLM8i-BjdgFU_s.js → TopExCard-dI_WEGWb-C_ouXuJx.js} +7 -7
- package/dist/assets/{TopExDetailPage-CzoQPsjz-CzDcKIu9.js → TopExDetailPage-BWy5E8Lp-DHDoD8xK.js} +17 -17
- package/dist/assets/TransactionActivityLogPage-DjhEIUYm-CDOSrUCy.js +195 -0
- package/dist/assets/TransactionDetailPage-CuxqQd8U-DaUcyO77.js +903 -0
- package/dist/assets/TransactionList-80KjM8Kg-CP1kCzOZ.js +153 -0
- package/dist/assets/{TransactionListBig-CLc3iY_0-BH8MZJQ3.js → TransactionListBig-DWQXH4ID-C0AgFfET.js} +17 -17
- package/dist/assets/TransactionListPage-DC08rCC9-CKoNbk76.js +35 -0
- package/dist/assets/{TransactionVendorDetailPage-Be0u4Eqx-Bsk0zx1y.js → TransactionVendorDetailPage-CzfJ5b_3-D0WTBIN_.js} +6 -6
- package/dist/assets/{TransferDrawerPage-Bzs9K_99-DBIJAwyN.js → TransferDrawerPage-6z-MoZZP-DIDlNkaw.js} +29 -29
- package/dist/assets/TreasuryOverviewPage-CF_ter0o-D0FwCj4F.js +708 -0
- package/dist/assets/{TreasuryPromoPage-BNVeuqGo-DMkqkWBp.js → TreasuryPromoPage-Do-PTcjI-BdsWLtH0.js} +33 -33
- package/dist/assets/TreasuryStatementsPage-l_HC4zsb-9mkdhIeY.js +58 -0
- package/dist/assets/TreasuryTaxLetterPage-B8YxWytK-Bvqd0Hp0.js +58 -0
- package/dist/assets/{TrendChart-CH1XG3_9-D9c8V-0T.js → TrendChart-C6B61CAm-BLOs7lid.js} +4 -4
- package/dist/assets/{TrendWithTransactions-B_QntlQg-Dz5h1Emg.js → TrendWithTransactions-Bp3vhaPa-tGqMC5Vu.js} +6 -6
- package/dist/assets/{UncategorizedAccountsMappingPage-D1vMrtZi-DJgzrM0G.js → UncategorizedAccountsMappingPage-cbFqKAv4-D6JJ85e-.js} +13 -13
- package/dist/assets/{UnitIntegrationPage-CVG0dKQJ-Bv-lPBzY.js → UnitIntegrationPage-DZ0ZpE5p-FsM5I6N8.js} +11 -11
- package/dist/assets/UploadAdditionalDocumentOverlay-BKY6hK51-D5vRfL2N.js +38 -0
- package/dist/assets/{Vendor2FAPopup-DUxtkJUS-DOxbbG7j.js → Vendor2FAPopup-DezpDfp8-CgUqUKgv.js} +1 -1
- package/dist/assets/VendorACHDetailsPage-C8TWKYfc-BBHDUovS.js +1 -0
- package/dist/assets/{VendorDetailPage-BdEwRV2m-BuocGx2U.js → VendorDetailPage-C4g_Gfsl-DrbUQaMS.js} +89 -89
- package/dist/assets/VendorDomesticWireDetailsPage-BhJQ-Vmn-DAw-3yRj.js +1 -0
- package/dist/assets/{VendorFiling1099EditablePage-CrSOkq5V-Be8Sq3Qg.js → VendorFiling1099EditablePage-Ckt2MiVN-C5Y0Hhpj.js} +38 -38
- package/dist/assets/VendorFirstReviewPage-CIKRaTax-DZ_fWsTs.js +730 -0
- package/dist/assets/{VendorInternationalWireDetailsPage-DEYSLqar-C48z8lC2.js → VendorInternationalWireDetailsPage-Dz8mMD8d-5RolL7pk.js} +14 -14
- package/dist/assets/VendorInternationalWireSwiftDetailsPage-XcV7Ot44-C7gWvoAM.js +1 -0
- package/dist/assets/{VendorsAccountsSection-k1NLZ5FW-Bzs1aGaQ.js → VendorsAccountsSection-BT-RADSV-vp7VaRO6.js} +4 -4
- package/dist/assets/{VerifyDevice-IP50KOC9-D_-Qo9mu.js → VerifyDevice-Cxc9CVMi-Cgu3mf8y.js} +10 -10
- package/dist/assets/{VideoPlayer-DTv2btpq-BL2iPrVd.js → VideoPlayer-9UkKMhGy-DJ6uBu61.js} +3 -3
- package/dist/assets/{VideoPopup-Cfko0G7e-D5lj185C.js → VideoPopup-rfiYmtio-_iCjbOm3.js} +4 -4
- package/dist/assets/{WarningsDrawerPage-D9HiCb7D-BcR8odVm.js → WarningsDrawerPage-DrUA4asI-CcwFPuTA.js} +9 -9
- package/dist/assets/{ZeniAccountDetailPage-Dp0Vq-3v-CZkbiffo.js → ZeniAccountDetailPage-K016HgQt-Cd131nKw.js} +37 -37
- package/dist/assets/{ZeniAccountListViewPage-BAsaZTdW-iSN2fNgn.js → ZeniAccountListViewPage-1oZZynB1-CjD6nbtT.js} +8 -8
- package/dist/assets/ZeniAccountNavBarPieces-C6Oicpue-DGKKSqgJ.js +14 -0
- package/dist/assets/{ZeniAccountPromoPage-BSL3C3i2-8AHAiFx8.js → ZeniAccountPromoPage-BCgys-YM-DwhnKx-9.js} +22 -22
- package/dist/assets/{ZeniAccountSetupPage-CnaM-8qN-CMYBKyhj.js → ZeniAccountSetupPage-BubBgkoa-BFY0LSuz.js} +4 -4
- package/dist/assets/ZeniCopyright-BxIwmms--BfYUogKF.js +1 -0
- package/dist/assets/{ZeniTransferAmountSlider-oYwV27SH-CZr7NskK.js → ZeniTransferAmountSlider-DVJ0puXA-aYxPZEFI.js} +4 -4
- package/dist/assets/{add-to-wallet-DgdBD8_G-DbXm7RD1.js → add-to-wallet-DgdBD8_G-DZGmKyiB.js} +1 -1
- package/dist/assets/{analytics-CFLF9sCc.js → analytics-D_c73QMR.js} +1 -1
- package/dist/assets/{analyticsHelper-BaxudydG-DT2Lyeh-.js → analyticsHelper-CT5zOInj-BgC6kfqx.js} +1 -1
- package/dist/assets/analyticsHelper-Di73_evd.js +1 -0
- package/dist/assets/{arrow-south-east-round-PEovUgvH-aoBvaeWN.js → arrow-south-east-round-PEovUgvH-Cl5bzAze.js} +1 -1
- package/dist/assets/{auto-transfer-rule-mbafm5D3-C0CNcww5.js → auto-transfer-rule-mbafm5D3-Cgd1DzFo.js} +1 -1
- package/dist/assets/chartTypes-Ddw_3-6f-DDbD-D2D.js +1 -0
- package/dist/assets/commonDimensions-ClmbdehE-D3isPdv2.js +1 -0
- package/dist/assets/{commonTypes-dj64oD5Z-Bwky3r-I.js → commonTypes-B-foaEwJ-B3kT4sSr.js} +1 -1
- package/dist/assets/{constants-C3W5HJdb.js → constants-DYpW9FGW.js} +1 -1
- package/dist/assets/{core-BzTCCyMo.js → core-Cfmldnhs.js} +1 -1
- package/dist/assets/{dash.all.min-CkTzMDyw.js → dash.all.min-CRn-LRx6.js} +1 -1
- package/dist/assets/{detailCommon-BnHMV3Xh-ChdSHt8G.js → detailCommon-Cpgf9GLg-YHVPzUGh.js} +6 -6
- package/dist/assets/downloadPdf-DfRYmfsd-yijlpLuZ.js +1 -0
- package/dist/assets/{empty-BftVTH0C.js → empty-BKT9Ep8-.js} +1 -1
- package/dist/assets/{empty-DF2kDKoQ.js → empty-i3z-0iVf.js} +1 -1
- package/dist/assets/epic-DzSc1k1-.js +2 -0
- package/dist/assets/{gift-box-Cmt9OgIZ-xlgqjeRa.js → gift-box-Cmt9OgIZ-DwiLPIzZ.js} +1 -1
- package/dist/assets/{graphic-no-data-l-DU4J8fDt-d8YRoWN5.js → graphic-no-data-l-DU4J8fDt-CeAnn4nf.js} +1 -1
- package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-Rpwe6ATQ.js → graphic-no-data-net-burn-l-CzmycA0m-QJP23LBP.js} +1 -1
- package/dist/assets/{handshake-BPg58FML-DefzGiBk.js → handshake-BPg58FML-D1HUbDRz.js} +1 -1
- package/dist/assets/{helper-Dh2z35ok-DVFikn_X.js → helper-DP3YY99s-BUuDECup.js} +3 -3
- package/dist/assets/{index-dIthO2CE.js → index-4u2OqriH.js} +1 -1
- package/dist/assets/{index-D1VxdI1Q.js → index-8pN1_LrG.js} +1 -1
- package/dist/assets/{index-r2Xfaoxu.js → index-BBjGKJIj.js} +1 -1
- package/dist/assets/{index-DAuamGRU.js → index-BfeLc3Lr.js} +1 -1
- package/dist/assets/{index-D0RCZvbR.js → index-ByXRm0Fj.js} +4341 -4346
- package/dist/assets/{index-O9rcG3n2.js → index-DJSq-oST.js} +1 -1
- package/dist/assets/{index-B5MYJ0Gb.js → index-vHvAicGU.js} +1 -1
- package/dist/assets/{lexical-BFSfLoHw.js → lexical-C8q9B2Uw.js} +1 -1
- package/dist/assets/{liveblocks-CKHUw5rb.js → liveblocks-DWegUhIu.js} +1 -1
- package/dist/assets/{lottie-DGC6TFh6.js → lottie-BGI-L4nL.js} +1 -1
- package/dist/assets/mapLoadingInProgressToTreeNode-C0YIUOnb-BrISft7C.js +1 -0
- package/dist/assets/mapSectionWithAcOnlyToTreeNode-QJI_OYzu-DiRfs5eL.js +1 -0
- package/dist/assets/mapSpacerToTreeNode-DKDsz0vw-DbMmCeng.js +1 -0
- package/dist/assets/mapTimeframeBalancesToTreeNode-DqDJAeAj-CPfI0i_B.js +1 -0
- package/dist/assets/mapTimeframeBalancesToTreeNode-J3b1nb_T-Bbpk49fN.js +1 -0
- package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-Dg4cktKO-DVA96-CU.js +1 -0
- package/dist/assets/{mui-CWpKo4a_.js → mui-BtuxyOQU.js} +1 -1
- package/dist/assets/{page-detail-CWX5S47F-CVwCMYq3.js → page-detail-CWX5S47F-B7ep9GDp.js} +1 -1
- package/dist/assets/panelSelectedMixin-CzfD5-Zs-C9iYLSFp.js +4 -0
- package/dist/assets/{radio-default-CiSgisfh-B6651goD.js → radio-default-CiSgisfh-CZZPsdKI.js} +1 -1
- package/dist/assets/{react-Bzu_Xy5_.js → react-B9JOATsB.js} +1 -1
- package/dist/assets/{react-vwz9iPml.js → react-BGg3sLTV.js} +1 -1
- package/dist/assets/{react-DvqFhAyq.js → react-CCOUBQ3I.js} +3 -3
- package/dist/assets/{react-DqmG4xDA.js → react-CN9vRF0g.js} +1 -1
- package/dist/assets/{react-BMOW1TgK.js → react-DmXC6qjh.js} +1 -1
- package/dist/assets/{react-lsgzFsFB.js → react-DqQwPwcU.js} +2 -2
- package/dist/assets/{react-C2iK07-V.js → react-DyhjmuQS.js} +1 -1
- package/dist/assets/{react-PDBH9Hq6.js → react-_UdfJnwg.js} +1 -1
- package/dist/assets/{recharts-DgmMLsfg.js → recharts-B1UpAC2z.js} +1 -1
- package/dist/assets/{sentry-D6_R-0PO.js → sentry-BfjekFHA.js} +1 -1
- package/dist/assets/{shield-DOlUxcFf-BIBsh3vH.js → shield-DOlUxcFf-Diohej-j.js} +1 -1
- package/dist/assets/toCOABalancesWithID-AzKAZ-Cv-DrJ7D3cP.js +1 -0
- package/dist/assets/toChartData-BEjMhb7--Byh1Bg2r.js +1 -0
- package/dist/assets/{uploadAttachment-DbWJ8gRE-sZ5TPM-C.js → uploadAttachment-DUpHzqMe-5f9vnkfw.js} +34 -34
- package/dist/assets/{uploadReceipts-Dge0cNF1-NDnD_ECQ.js → uploadReceipts-Dge0cNF1-Bxip3o5m.js} +1 -1
- package/dist/assets/{url-Cp9BVxqf.js → url-BKWNACvj.js} +1 -1
- package/dist/assets/{url-BD7YYmu3.js → url-CCV-Hsrv.js} +1 -1
- package/dist/assets/{useLongPress-GCK2COYQ-DMlV1td1.js → useLongPress-GCK2COYQ-448Ji6V-.js} +1 -1
- package/dist/assets/{usp-line-BBd1wKwW-C1nI6oW7.js → usp-line-BBd1wKwW-CdIO-gTm.js} +1 -1
- package/dist/assets/{utils-B8cH97sz.js → utils-BhAlbbTk.js} +1 -1
- package/dist/assets/{zeni-epic-state-CQm7BABf.js → zeni-epic-state-x1SruN8b.js} +34 -34
- package/dist/index.html +1 -1
- package/package.json +4 -4
- package/dist/assets/ACHDetailsPage-B_Q7H7vZ-BArjZITD.js +0 -21
- package/dist/assets/AccountInfoPage-DzO1hdnr-qS-XRYJz.js +0 -18
- package/dist/assets/AccountRow-CjgOf4O_-Ct2P2Loi.js +0 -298
- package/dist/assets/AddAddressForCardDrawer-DY8hJwaV-DctQgajm.js +0 -6
- package/dist/assets/AppDrawerContent-ClNaiJrv-81YLeDsl.js +0 -92
- package/dist/assets/ApprovalRulesSettingsPage-DLomT572-B5aUz-1X.js +0 -47
- package/dist/assets/BankAccountWarningSection-CEqWR1Zw-CrO5LlLC.js +0 -51
- package/dist/assets/BillDetailPage-Cq-0ezLC-D59A1hVS.js +0 -266
- package/dist/assets/BillPayPromoPage-CRKiPcgQ-Db7mTibL.js +0 -84
- package/dist/assets/BillingSettingsPage-CT9shZjq-Dml3b8SY.js +0 -44
- package/dist/assets/BillsBulkReviewDrawerPage-CnBjsecR-KAi_DzA4.js +0 -1
- package/dist/assets/BusinessVerificationPage-AgvJgvCM-VS3BHlkX.js +0 -138
- package/dist/assets/ChargeCardPromoPage-CB2uJfB7-CBexbuVE.js +0 -222
- package/dist/assets/ChargeCardStatementsPage-DLea2BFg-Bzq1bWTF.js +0 -60
- package/dist/assets/ConfettiBurst-BHW_-EIc-D-04DoWU.js +0 -1
- package/dist/assets/CurrencySelectField-BGGEXCd2-CqXdOTD3.js +0 -139
- package/dist/assets/CustomerOnboardingContainerPage-9chhNs4E-4nf9VU4U.js +0 -1
- package/dist/assets/DashboardSidebarBackgroundAnimation-BIfSgNTQ-CEApsFHe.js +0 -12
- package/dist/assets/DepositAccTransactionListPage-BYLJexH0-Dnn16jUZ.js +0 -66
- package/dist/assets/DomesticWireDetailsPage-QIt_abg6-BNV70TDF.js +0 -21
- package/dist/assets/EditPeoplePage-DiNmwQ-b-8j5oiktm.js +0 -55
- package/dist/assets/EditReimbursementDetailPage-CEKrHDfb-1z4jpKGf.js +0 -865
- package/dist/assets/EntityDetailPage-Iu7CxuAk-C6MAecNn.js +0 -18
- package/dist/assets/ExpenseAutomationPage-CmkSNeYT-DCM38YVH.js +0 -3001
- package/dist/assets/GlobalReviewListPage-CkF4IYGm-BvTLjQUn.js +0 -291
- package/dist/assets/InsightsSection-BGx81rZp-C-CAmhUU.js +0 -27
- package/dist/assets/InternationalWireVerificationPage-X3YGxUsL-CGf1mCm5.js +0 -65
- package/dist/assets/InvitePeoplePage-TC4ogHvA-UvjbDy0v.js +0 -12
- package/dist/assets/InvoiceUploadSection-Ch-_e-be-CsDyuXie.js +0 -140
- package/dist/assets/LabeledControlledCheckBoxField-1F7zUTc1-w--4KVN8.js +0 -16
- package/dist/assets/LabeledDocumentField-D8KhtX0K-Cm1Aq1-V.js +0 -41
- package/dist/assets/MagicLinkACHDetailsPage-CHe6VKLu-BMPkOrFd.js +0 -1
- package/dist/assets/MagicLinkDomesticWireDetailsPage-v-awQlBJ-BH2pOvpz.js +0 -1
- package/dist/assets/MagicLinkInternationalWireDetailsPage-i7QBjsV2-D2g_4xZk.js +0 -1
- package/dist/assets/MagicLinkSuccessPage-RrSqrccZ-BaK1c286.js +0 -31
- package/dist/assets/MailingDetailsSection-ChDYluge-BR5jsra0.js +0 -21
- package/dist/assets/MyPendingActivationChargeCardListPage-CMh7keGL-sXZJss6g.js +0 -6
- package/dist/assets/NavBarWithPicker-DDXQ7Sku-vOTr_Eko.js +0 -30
- package/dist/assets/NotificationsListConfig-k8axPWyo-CLFHQwy0.js +0 -1
- package/dist/assets/NotificationsPage-DAxEmGFd-Dm4A-ui3.js +0 -685
- package/dist/assets/OpExByVendorPage-Doliski--xXvwkmsq.js +0 -100
- package/dist/assets/PeoplePage-DRSSRNHe-ClqNeLjT.js +0 -727
- package/dist/assets/QBOSetupSection-Cxm1PJVl-Cg3a5k3R.js +0 -79
- package/dist/assets/ReimbursementDetailPage-DlBiOxIu-CVqJmNIl.js +0 -314
- package/dist/assets/ReimbursementsBulkReviewDrawerPage-fcozBEdQ-Dwe_Lhpv.js +0 -1
- package/dist/assets/ReportTableViewSelector-Dv5KMclT-vopRz_0Z.js +0 -150
- package/dist/assets/RoleWithToolTip-5cp6EPl_-BFxPWWfA.js +0 -22
- package/dist/assets/ScheduleSequenceTable-imPIfH2y-BnVlZREz.js +0 -324
- package/dist/assets/SignIn-DI57GJYJ-BrvCN9BT.js +0 -491
- package/dist/assets/SignInScreen-Db8_UPVb.js +0 -1
- package/dist/assets/SpendManagementListViewPage-DxZ5ZwoM-Dngtiu4y.js +0 -134
- package/dist/assets/SummaryCard-C95uhnrw-Cz4Ul3rj.js +0 -1
- package/dist/assets/TaskManagementPage-CmEmxJHm-I1qb7uu5.js +0 -508
- package/dist/assets/TimeframeSwitcher-B-NCBgZo-Bzw6DaTx.js +0 -31
- package/dist/assets/TransactionActivityLogPage-Dh4TKmlz-CMXoSaEf.js +0 -195
- package/dist/assets/TransactionDetailPage-8CwgUGKw-DD8WTcLz.js +0 -903
- package/dist/assets/TransactionList-ClznvtnK-B-6z-9wK.js +0 -153
- package/dist/assets/TransactionListPage-DDsLCL1i-CqFnzZ3q.js +0 -35
- package/dist/assets/TreasuryOverviewPage-CUbZn5Ys-DIa06mwp.js +0 -725
- package/dist/assets/TreasuryStatementsPage-B5QuiNBh-DSjV2_O7.js +0 -58
- package/dist/assets/TreasuryTaxLetterPage-DrX0Tsbc-D9ADPjC9.js +0 -58
- package/dist/assets/UploadAdditionalDocumentOverlay-BzbMHbg1-JP-yDb8X.js +0 -38
- package/dist/assets/VendorACHDetailsPage-hlpQV7jq-D-V9LE3V.js +0 -1
- package/dist/assets/VendorDomesticWireDetailsPage-C2IflKW2-F74-Y4ZV.js +0 -1
- package/dist/assets/VendorFirstReviewPage-DoJKNdG9-kEHrc5RF.js +0 -730
- package/dist/assets/VendorInternationalWireSwiftDetailsPage-DgyDtAJk-C4yDMI1s.js +0 -1
- package/dist/assets/ZeniAccountNavBarPieces-ChSFLPtf-YUYBoYMy.js +0 -14
- package/dist/assets/ZeniCopyright-lBSuqA9X-zKVr6SPe.js +0 -1
- package/dist/assets/analyticsHelper-fVkT15J2.js +0 -1
- package/dist/assets/chartTypes-DyOVuWqI-BARYdpSf.js +0 -1
- package/dist/assets/commonDimensions-0tYCNmAf-yzUUGq5J.js +0 -1
- package/dist/assets/downloadPdf-CdObX2oB-DpdxICbX.js +0 -1
- package/dist/assets/epic-CJba3GMN.js +0 -2
- package/dist/assets/mapLoadingInProgressToTreeNode-BT2nAyCO-BOa6vUQ9.js +0 -1
- package/dist/assets/mapSectionWithAcOnlyToTreeNode-DKn1K1pr--4wnUEOR.js +0 -1
- package/dist/assets/mapSpacerToTreeNode-C_jfkzeN-Ch0OV83d.js +0 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-DOVnv_Y6-PQ-Rs5PV.js +0 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-HEnxthuN-MtID2XPF.js +0 -1
- package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-DHwya3AR-BunX61SQ.js +0 -1
- package/dist/assets/panelSelectedMixin-Cddsb26L-Cjeo9h__.js +0 -3
- package/dist/assets/toCOABalancesWithID-r6SROS7c-DIO7gzfN.js +0 -1
- package/dist/assets/toChartData-BLR_ax7l-DRu3ACUZ.js +0 -1
- package/dist/assets/upload-reimbursement-receipt-O2N8vcO7-RL1l3ZIL.js +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{J as _,d as St,aS as jt,aa as Dt,cH as vt,F as E,V as t,bE as Ft,ad as Ct,cI as Tt,aT as Nt,y as x,cJ as ot,cK as kt,x as Lt,o as a,am as xe,cL as lt,cM as P,cN as Re,cO as W,cP as ee,p as N,cQ as ge,b3 as ue,cR as st,cS as Pt,cT as Et,cU as it,ax as zt,cV as Vt,cW as nt,cX as At,cY as _t,cZ as Mt,c_ as Wt,c$ as Bt,bu as Rt,aV as Yt,bb as Q,aj as be,u as I,i as Ye,d0 as Ut,aF as qt,d1 as Ht,ck as Gt,d2 as Xt,an as Zt,d3 as Jt}from"./index-ByXRm0Fj.js";import{a as q,P as Qt}from"./sentry-BfjekFHA.js";import{n as i,a as Kt,k as ea}from"./mui-BtuxyOQU.js";import{Fk as ta,Fl as rt,Fm as dt,Fn as ct,Fo as pt,Fp as ut,bj as mt,Fq as Te,bL as aa,bh as Ne,bC as oa,Fr as la}from"./zeni-epic-state-x1SruN8b.js";import{I as ft}from"./LabeledCreatableSingleSelectField-Bhka-Faj-D8-1M_Br.js";import{Y as ht}from"./LabeledDocumentField-CnRk5aKZ-CV8AaRRN.js";import{p as sa,i as ia,t as na}from"./commonTypes-B-foaEwJ-B3kT4sSr.js";import{b as ra}from"./LabeledCountryMultiSelectField-D1fVDYR_-BT0zs0Jm.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-DP3YY99s-BUuDECup.js";import{$ as gt}from"./LabeledAddressValue-CQrDCgNs-3ouFKt7p.js";import"./liveblocks-DWegUhIu.js";import"./core-Cfmldnhs.js";import"./recharts-B1UpAC2z.js";import"./lottie-BGI-L4nL.js";import"./analytics-D_c73QMR.js";import"./lexical-C8q9B2Uw.js";import"./utils-BhAlbbTk.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]="5fd8e35b-4a4e-4671-9315-dd75788279cd",e._sentryDebugIdIdentifier="sentry-dbid-5fd8e35b-4a4e-4671-9315-dd75788279cd")}catch{}})();const xt={maxWidth:new x(280,340),contentMaxWidth:new x(200,255)},ha=ea`
|
|
2
2
|
0% {
|
|
3
3
|
transform: translateX(100%)
|
|
4
4
|
}
|
|
@@ -11,7 +11,7 @@ import{K as _,y as St,aS as jt,aa as Dt,cI as vt,b as E,V as t,bE as Ft,ae 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=>xt.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}`};
|
|
@@ -24,30 +24,30 @@ import{K as _,y as St,aS as jt,aa as Dt,cI as vt,b as E,V as t,bE as Ft,ae as Ct
|
|
|
24
24
|
margin-top: 2px;
|
|
25
25
|
width: ${a.sp4};
|
|
26
26
|
height: ${a.sp4};
|
|
27
|
-
color: ${
|
|
28
|
-
`,
|
|
27
|
+
color: ${N.successDark};
|
|
28
|
+
`,xa=i(Bt)`
|
|
29
29
|
margin-top: 2px;
|
|
30
30
|
width: ${a.sp4};
|
|
31
31
|
height: ${a.sp4};
|
|
32
|
-
color: ${
|
|
33
|
-
`,
|
|
32
|
+
color: ${N.important};
|
|
33
|
+
`,ba=i.div`
|
|
34
34
|
margin-top: ${a.sp1};
|
|
35
35
|
`,wa=i(Yt)`
|
|
36
|
-
color: ${
|
|
36
|
+
color: ${N.neutralGrey2Light};
|
|
37
37
|
`,Ia=i.div`
|
|
38
|
-
max-width: ${e=>
|
|
38
|
+
max-width: ${e=>xt.contentMaxWidth.valuePx(e.windowSize)};
|
|
39
39
|
margin: ${a.sp0} ${a.sp3};
|
|
40
40
|
`,$a=i(Rt)`
|
|
41
|
-
color: ${e=>e.isSuccess?
|
|
41
|
+
color: ${e=>e.isSuccess?N.success:N.important};
|
|
42
42
|
`,Oa=i.div`
|
|
43
43
|
width: ${a.sp3};
|
|
44
44
|
height: ${a.sp3};
|
|
45
45
|
cursor: pointer;
|
|
46
46
|
color: ${e=>e.theme.colors.hero};
|
|
47
47
|
&:hover {
|
|
48
|
-
color: ${
|
|
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(xa,{}),t.jsxs(Ia,{windowSize:l,children:[t.jsx($a,{isSuccess:o,children:o?d.success:d.error}),t.jsx(ba,{children:t.jsx(wa,{children:Sa(u)})})]}),t.jsx(Oa,{onClick:s,children:t.jsx(Lt,{})})]})}const me={labelWidth:new x(110,145,180),largeLabelWidth:new x(150,215,215),largeLabelDocumentWidth:new x(150,210,252),paddingBottom:new x(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:b,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(H=>H.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(b,"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(b,"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(b,"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(b,"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:H=>s(H)}),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};
|
|
@@ -59,7 +59,7 @@ import{K as _,y as St,aS as jt,aa as Dt,cI as vt,b as E,V as t,bE as Ft,ae as Ct
|
|
|
59
59
|
border: 1px solid ${e=>e.theme.colors.grey3};
|
|
60
60
|
box-shadow: ${e=>`${a.sp0} 2px ${a.sp1} ${e.theme.colors.dropShadowNormal}`};
|
|
61
61
|
border-radius: ${a.sp2};
|
|
62
|
-
`,Ca=i(
|
|
62
|
+
`,Ca=i(Q)`
|
|
63
63
|
color: ${e=>e.theme.colors.champion};
|
|
64
64
|
margin-bottom: ${a.sp3};
|
|
65
65
|
`,je=i.div`
|
|
@@ -68,13 +68,13 @@ import{K as _,y as St,aS as jt,aa as Dt,cI as vt,b as E,V as t,bE as Ft,ae as Ct
|
|
|
68
68
|
background-color: ${e=>e.theme.colors.grey3};
|
|
69
69
|
min-height: 1px;
|
|
70
70
|
max-height: 1px;
|
|
71
|
-
`,
|
|
71
|
+
`,Ta=i(be)`
|
|
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};
|
|
75
75
|
text-align: ${e=>e.windowSize==="small"?"initial":"right"};
|
|
76
|
-
color: ${e=>e.isError?
|
|
77
|
-
`,
|
|
76
|
+
color: ${e=>e.isError?N.important:e.theme.colors.grey1};
|
|
77
|
+
`,Na=i(Xt)`
|
|
78
78
|
color: ${e=>e.theme.colors.primary};
|
|
79
79
|
margin-block-start: ${a.sp0};
|
|
80
80
|
margin-block-end: ${a.sp0};
|
|
@@ -91,7 +91,7 @@ import{K as _,y as St,aS as jt,aa as Dt,cI as vt,b as E,V as t,bE as Ft,ae 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(
|
|
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 x(343,580,726),paddingTopBottom:new x(I[3],I[3]),marginRight:new x(I[2],I[2]),labelMarginLeft:new x(I[3],I[4]),labelMarginRight:new x(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{K as _,y as St,aS as jt,aa as Dt,cI as vt,b as E,V as t,bE as Ft,ae as Ct
|
|
|
112
112
|
border-bottom-left-radius: inherit;
|
|
113
113
|
border-bottom-right-radius: inherit;
|
|
114
114
|
}
|
|
115
|
-
`,se={labelWidth:new b(110,110,140),mediumLabelWidth:new b(140,140,160),largeLabelWidth:new b(170,170,180),extraLargeLabelWidth:new b(200,250,300),regulatedStatusMaxWidth:new b(343,580,726)},xt=E.getLocalizedStrings(),y=xt.commonSetUp.businessVerification,{companyPassport:N,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"?N.companyInfo.businessModelPlaceholderSmall:N.companyInfo.businessModelPlaceholder,Oe=C=>l.find(V=>V.code===C)?.name??C,B=C=>{$(g(o,"subIndustry"),{selectedOption:void 0,allOptions:Ne(C)})};return t.jsxs(Aa,{style:p,children:[t.jsx(Ma,{children:N.companyInfo.title}),t.jsxs(_a,{children:[t.jsx(P,{isDisabled:n,label:{label:N.companyInfo.companyName,width:w},text:{type:"text",name:g(o,"companyName"),placeholder:W(N.companyInfo.companyName),defaultValue:s?.companyName,autoComplete:"new-password",options:{required:!!v.name,pattern:Re}}}),t.jsx(z,{}),t.jsx(P,{isDisabled:n,label:{label:N.companyInfo.legalName,width:S},text:{type:"text",name:g(o,"legalName"),placeholder:W(N.companyInfo.legalName),defaultValue:s?.legalName,autoComplete:"new-password",options:{required:!!v.companyLegalName,pattern:Re}}}),t.jsx(z,{}),t.jsx(P,{isDisabled:n,label:{label:N.companyInfo.website,width:x},text:{type:"url",name:g(o,"website"),placeholder:W(N.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:Ne(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:N.companyInfo.industry,width:x},singleSelectField:{singleSelect:{name:g(o,"industry"),placeholder:N.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:N.companyInfo.businessModel,width:w},creatableSingleSelectField:{name:g(o,"businessModel"),placeholder:$e,defaultValue:{selectedOption:s?.businessModel,allOptions:N.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?T.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?T.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?T.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(Qe,{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(Qe,{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?T.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:N.companyInfo.address,width:x},addressValue:{placeholder:W(N.companyInfo.address),address:d?.addressToCreate,onClick:()=>f("company_address")}}),t.jsx(z,{}),t.jsx(st,{isDisabled:n,label:{label:N.companyInfo.phone,width:x},text:{name:g(o,"phone"),placeholder:W(N.companyInfo.phone),defaultValue:s?.phone,autoComplete:"new-password"}}),t.jsx(z,{}),t.jsx(ye,{label:{label:N.companyInfo.fiscalYear,width:x},bullettedLabels:{labels:[{text:Va(s?.firstMonthOfFY??1)}],listStyleType:"none"}})]})]})}const Va=e=>{const{fiscalYearMonths:l}=la(e);return`${Te().month(l[0]-1).format(Ue.MMMFormat)} to ${Te().month(l[11]-1).format(Ue.MMMFormat)}`},g=(e,l)=>`${e}.${l}`,Aa=i.div`
|
|
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"),G=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(Ge,{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(Je,{windowSize:r,children:y.regulatedStatusAdditionalInfo}):null]})]}),Ie&&t.jsxs(t.Fragment,{children:[t.jsx(z,{}),t.jsxs(Ge,{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(Je,{windowSize:r,children:y.usNexusAdditionalInfo}):null]})]}),G&&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`
|
|
116
116
|
display: flex;
|
|
117
117
|
flex-direction: column;
|
|
118
118
|
padding-top: ${a.sp3};
|
|
@@ -124,7 +124,7 @@ import{K as _,y as St,aS as jt,aa as Dt,cI as vt,b as E,V as t,bE as Ft,ae as Ct
|
|
|
124
124
|
border: 1px solid ${e=>e.theme.colors.grey3};
|
|
125
125
|
box-shadow: ${e=>`${a.sp0} 2px ${a.sp1} ${e.theme.colors.dropShadowNormal}`};
|
|
126
126
|
border-radius: ${a.sp2};
|
|
127
|
-
`,Ma=i(
|
|
127
|
+
`,Ma=i(Q)`
|
|
128
128
|
color: ${e=>e.theme.colors.champion};
|
|
129
129
|
margin-bottom: ${a.sp3};
|
|
130
130
|
`,z=i.div`
|
|
@@ -153,7 +153,7 @@ import{K as _,y as St,aS as jt,aa as Dt,cI as vt,b as E,V as t,bE as Ft,ae as Ct
|
|
|
153
153
|
outline: none;
|
|
154
154
|
background-color: inherit;
|
|
155
155
|
}
|
|
156
|
-
`,
|
|
156
|
+
`,Ge=i.div`
|
|
157
157
|
display: flex;
|
|
158
158
|
flex-direction: column;
|
|
159
159
|
width: ${e=>se.regulatedStatusMaxWidth.valuePx(e.windowSize)};
|
|
@@ -187,28 +187,28 @@ import{K as _,y as St,aS as jt,aa as Dt,cI as vt,b as E,V as t,bE as Ft,ae as Ct
|
|
|
187
187
|
justify-content: flex-end;
|
|
188
188
|
flex-grow: 1;
|
|
189
189
|
padding-right: ${a.sp3};
|
|
190
|
-
`,
|
|
190
|
+
`,Je=i(be)`
|
|
191
191
|
color: ${e=>e.theme.colors.hero};
|
|
192
192
|
text-align: right;
|
|
193
193
|
padding-right: ${a.sp3};
|
|
194
|
-
`,De=i(
|
|
195
|
-
color: ${
|
|
194
|
+
`,De=i(be)`
|
|
195
|
+
color: ${N.important};
|
|
196
196
|
text-align: right;
|
|
197
197
|
padding-right: ${a.sp3};
|
|
198
198
|
`,Ba=i.div`
|
|
199
199
|
width: 100%;
|
|
200
200
|
& > div {
|
|
201
|
-
background-color: ${e=>e.hasError===!0?
|
|
201
|
+
background-color: ${e=>e.hasError===!0?N.importantLight:e.theme.colors.background};
|
|
202
202
|
}
|
|
203
203
|
& .select-control {
|
|
204
|
-
background-color: ${e=>e.hasError===!0?
|
|
204
|
+
background-color: ${e=>e.hasError===!0?N.importantLight:e.theme.colors.background} !important;
|
|
205
205
|
}
|
|
206
|
-
`,ke={labelWidth:new
|
|
206
|
+
`,ke={labelWidth:new x(110,110,140),buttonWidth:new x(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),b=s?.userId==null||s?.userId==="";return t.jsxs(Ga,{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:b?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:b},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,b=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(Ha,{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)&&!b?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:b,onOfficerAddressClick:d})]},v?.officerType)}),r<=9&&!b?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}`,Ha=i.div`
|
|
207
207
|
display: flex;
|
|
208
208
|
flex-direction: column;
|
|
209
209
|
padding-top: ${a.sp3};
|
|
210
210
|
width: 100%;
|
|
211
|
-
`,
|
|
211
|
+
`,Ga=i.div`
|
|
212
212
|
display: flex;
|
|
213
213
|
flex-direction: column;
|
|
214
214
|
background-color: ${e=>e.theme.colors.grey5};
|
|
@@ -218,7 +218,7 @@ import{K as _,y as St,aS as jt,aa as Dt,cI as vt,b as E,V as t,bE as Ft,ae as Ct
|
|
|
218
218
|
margin-bottom: ${a.sp4};
|
|
219
219
|
`,Le=i.div`
|
|
220
220
|
padding-bottom: ${a.sp6};
|
|
221
|
-
`,Xa=i(
|
|
221
|
+
`,Xa=i(Q)`
|
|
222
222
|
color: ${e=>e.theme.colors.champion};
|
|
223
223
|
margin-bottom: ${a.sp4};
|
|
224
224
|
`,Za=i.div`
|
|
@@ -227,7 +227,7 @@ import{K as _,y as St,aS as jt,aa as Dt,cI as vt,b as E,V as t,bE as Ft,ae 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{K as _,y as St,aS as jt,aa as Dt,cI as vt,b as E,V as t,bE as Ft,ae as Ct
|
|
|
238
238
|
.delete-icon-wrapper {
|
|
239
239
|
display: none;
|
|
240
240
|
}
|
|
241
|
-
`,
|
|
241
|
+
`,Qa=i(xe)``,Ka=i.div`
|
|
242
242
|
padding: ${a.sp3};
|
|
243
243
|
display: flex;
|
|
244
244
|
align-items: center;
|
|
@@ -258,12 +258,12 @@ import{K as _,y as St,aS as jt,aa as Dt,cI as vt,b as E,V as t,bE as Ft,ae 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(Ht)`
|
|
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(Gt)`
|
|
267
267
|
color: inherit;
|
|
268
268
|
`,ao=i.div`
|
|
269
269
|
width: ${a.sp4};
|
|
@@ -271,7 +271,7 @@ import{K as _,y as St,aS as jt,aa as Dt,cI as vt,b as E,V as t,bE as Ft,ae as Ct
|
|
|
271
271
|
cursor: pointer;
|
|
272
272
|
`,oo=i.div`
|
|
273
273
|
display: flex;
|
|
274
|
-
`,lo=i(
|
|
274
|
+
`,lo=i(xe)`
|
|
275
275
|
color: ${e=>e.theme.colors.hero};
|
|
276
276
|
`,Fe=i.div`
|
|
277
277
|
display: flex;
|
|
@@ -279,7 +279,7 @@ import{K as _,y as St,aS as jt,aa as Dt,cI as vt,b as E,V as t,bE as Ft,ae as Ct
|
|
|
279
279
|
background-color: ${e=>e.theme.colors.grey3};
|
|
280
280
|
min-height: 1px;
|
|
281
281
|
max-height: 1px;
|
|
282
|
-
`,
|
|
282
|
+
`,Qe={labelWidth:new x(160,160,160),largeLabelWidth:new x(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:b,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:b,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};
|
|
@@ -291,7 +291,7 @@ import{K as _,y as St,aS as jt,aa as Dt,cI as vt,b as E,V as t,bE as Ft,ae as Ct
|
|
|
291
291
|
border: 1px solid ${e=>e.theme.colors.grey3};
|
|
292
292
|
box-shadow: ${e=>`${a.sp0} 2px ${a.sp1} ${e.theme.colors.dropShadowNormal}`};
|
|
293
293
|
border-radius: ${a.sp2};
|
|
294
|
-
`,ro=i(
|
|
294
|
+
`,ro=i(Q)`
|
|
295
295
|
color: ${e=>e.theme.colors.champion};
|
|
296
296
|
margin-bottom: ${a.sp3};
|
|
297
297
|
`,le=i.div`
|
|
@@ -300,13 +300,13 @@ import{K as _,y as St,aS as jt,aa as Dt,cI as vt,b as E,V as t,bE as Ft,ae 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(be)`
|
|
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
|
-
color: ${e=>e.isError?
|
|
309
|
-
`,po={labelWidth:new
|
|
308
|
+
color: ${e=>e.isError?N.important:e.theme.colors.grey1};
|
|
309
|
+
`,po={labelWidth:new x(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};
|
|
@@ -318,7 +318,7 @@ import{K as _,y as St,aS as jt,aa as Dt,cI as vt,b as E,V as t,bE as Ft,ae as Ct
|
|
|
318
318
|
border: 1px solid ${e=>e.theme.colors.grey3};
|
|
319
319
|
box-shadow: ${e=>`${a.sp0} 2px ${a.sp1} ${e.theme.colors.dropShadowNormal}`};
|
|
320
320
|
border-radius: ${a.sp2};
|
|
321
|
-
`,ho=i(
|
|
321
|
+
`,ho=i(Q)`
|
|
322
322
|
color: ${e=>e.theme.colors.champion};
|
|
323
323
|
margin-bottom: ${a.sp3};
|
|
324
324
|
`,yo=i.div`
|
|
@@ -335,24 +335,24 @@ import{K as _,y as St,aS as jt,aa as Dt,cI as vt,b as E,V as t,bE as Ft,ae as Ct
|
|
|
335
335
|
:not(:first-of-type) {
|
|
336
336
|
margin-left: ${a.sp3};
|
|
337
337
|
}
|
|
338
|
-
`,
|
|
338
|
+
`,xo=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
|
+
`,bo=()=>t.jsx(xo,{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(xe)`
|
|
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(bo,{})})},R={width:new x(343,580,726),height:new x(I[6],I[6]),controlHeight:new x(I[6],I[6]),paddingTopBottom:new x(I[2],I[2]),marginRight:new x(I[2],I[2]),labelMarginLeft:new x(I[3],I[4]),labelMarginRight:new x(I[3],I[4]),labelMarginTop:new x(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{K as _,y as St,aS as jt,aa as Dt,cI as vt,b as E,V as t,bE as Ft,ae 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 x(100,100,140),mediumLabelWidth:new x(140,150,160),largeLabelWidth:new x(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),b=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:b},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};
|
|
@@ -384,7 +384,7 @@ import{K as _,y as St,aS as jt,aa as Dt,cI as vt,b as E,V as t,bE as Ft,ae as Ct
|
|
|
384
384
|
border: 1px solid ${e=>e.theme.colors.grey3};
|
|
385
385
|
box-shadow: ${e=>`${a.sp0} 2px ${a.sp1} ${e.theme.colors.dropShadowNormal}`};
|
|
386
386
|
border-radius: ${a.sp2};
|
|
387
|
-
`,
|
|
387
|
+
`,To=i(Q)`
|
|
388
388
|
color: ${e=>e.theme.colors.champion};
|
|
389
389
|
margin-bottom: ${a.sp3};
|
|
390
390
|
`,he=i.div`
|
|
@@ -393,7 +393,7 @@ import{K as _,y as St,aS as jt,aa as Dt,cI as vt,b as E,V as t,bE as Ft,ae 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 x(343,580,726),buttonWidth:new x(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:b=!1,onCompanyDetailsChanged:S,onCompanyOfficerUpdated:w,onNewCompanyOfficerAdded:F,onPrimaryContactDetailsUpdated:O,onNewCompanyOfficerRemoved:j,onSaveAll:$,onAddressClick:c,onScheduleClick:v,onBackClick:h,onResetClick:M,onEditFileName:oe,updateFilesEntity:H,onDeleteFile:we,onClickMenuIcon:Ie}=e,{companyView:G,localData:Y,deleteFileStatusById:ie,updateFileStatusById:ne}=s,{companyFiles:K}=Y,re={authParams:n,filesEndPoint:o,onEditFileName:oe,onDeleteFile:we,updateFilesEntity:H},[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,G,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(G==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:!b,showMenuIcon:b?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:b?$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:G,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:G,companyInfo:C?.companyInfo,isDisabled:r,isZeniUser:d,sectionId:Me,onScheduleClick:v})]})})]}),Tt(U.formState.dirtyFields)||ta(Y,G,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 b=r.localData;return{userId:b.userId,officerType:b.officerType,name:{firstName:b.firstName,lastName:b.lastName},email:b.email,phone:b.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{K as _,y as St,aS as jt,aa as Dt,cI as vt,b as E,V as t,bE as Ft,ae as Ct
|
|
|
407
407
|
overflow-y: auto;
|
|
408
408
|
flex-direction: column;
|
|
409
409
|
align-items: center;
|
|
410
|
-
`,Lo=i(
|
|
410
|
+
`,Lo=i(xe)`
|
|
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-C8v6Tp9b-B_GnJ4t1.js → CompleteProfile-ChaWsK6t-CkLnv3sI.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{aa as $,g$ as V,b as S,V as g,h0 as v,ab as l,an as q,ae as J,cN as _,cX as W,cU as T,o as E,h1 as Z,cS as z,aT as X,e as AA,c4 as gA,h2 as BA}from"./index-D0RCZvbR.js";import{a as B,P as c}from"./sentry-D6_R-0PO.js";import{n as o}from"./mui-CWpKo4a_.js";import{bh as eA}from"./zeni-epic-state-CQm7BABf.js";import{$ as EA}from"./LabeledAddressValue-BzZgMorl-B2WmXaZs.js";import"./liveblocks-CKHUw5rb.js";import"./core-BzTCCyMo.js";import"./recharts-DgmMLsfg.js";import"./lottie-DGC6TFh6.js";import"./analytics-CFLF9sCc.js";import"./lexical-BFSfLoHw.js";import"./utils-B8cH97sz.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]="3d143b14-4bc9-42d5-a628-bdb3e5363403",A._sentryDebugIdIdentifier="sentry-dbid-3d143b14-4bc9-42d5-a628-bdb3e5363403")}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/fn8wQIECBA4AoYdIdAgAABAgQCAgY9UKIIBAgQIEDAoLsBAgQIECAQEDDogRJFIECAAAECBt0NECBAgACBgIBBD5QoAgECBAgQMOhugAABAgQIBAQMeqBEEQgQIECAgEF3AwQIECBAICBg0AMlikCAAAECBAy6GyBAgAABAgEBgx4oUQQCBAgQIGDQ3QABAgQIEAgIGPRAiSIQIECAAAGD7gYIECBAgEBAwKAHShSBAAECBAgYdDdAgAABAgQCAgY9UKIIBAgQIEDAoLsBAgQIECAQEDDogRJFIECAAAECBt0NECBAgACBgIBBD5QoAgECBAgQMOhugAABAgQIBAQMeqBEEQgQIECAgEF3AwQIECBAICBg0AMlikCAAAECBAy6GyBAgAABAgEBgx4oUQQCBAgQIGDQ3QABAgQIEAgIGPRAiSIQIECAAAGD7gYIECBAgEBAwKAHShSBAAECBAgYdDdAgAABAgQCAgY9UKIIBAgQIEDAoLsBAgQIECAQEDDogRJFIECAAAECBt0NECBAgACBgIBBD5QoAgECBAgQMOhugAABAgQIBAQMeqBEEQgQIECAgEF3AwQIECBAICBg0AMlikCAAAECBAy6GyBAgAABAgEBgx4oUQQCBAgQIGDQ3QABAgQIEAgIGPRAiSIQIECAAAGD7gYIECBAgEBAwKAHShSBAAECBA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Ay6GyBAgAABAgEBgx4oUQQCBAgQIGDQ3QABAgQIEAgIGPRAiSIQIECAAAGD7gYIECBAgEBAwKAHShSBAAECBAgYdDdAgAABAgQCAgY9UKIIBAgQIEDAoLsBAgQIECAQEDDogRJFIECAAAECBt0NECBAgACBgIBBD5QoAgECBAgQMOhugAABAgQIBAQMeqBEEQgQIECAgEF3AwQIECBAICBg0AMlikCAAAECBAy6GyBAgAABAgEBgx4oUQQCBAgQIGDQ3QABAgQIEAgIGPRAiSIQIECAAAGD7gYIECBAgEBAwKAHShSBAAECBAgYdDdAgAABAgQCAgY9UKIIBAgQIEDAoLsBAgQIECAQEDDogRJFIECAAAECBt0NECBAgACBgIBBD5QoAgECBAgQMOhugAABAgQIBAQMeqBEEQgQIECAgEF3AwQIECBAICBg0AMlikCAAAECBAy6GyBAgAABAgEBgx4oUQQCBAgQIGDQ3QABAgQIEAgIGPRAiSIQIECAAAGD7gYIECBAgEBAwKAHShSBAAECBAgYdDdAgAABAgQCAgY9UKIIBAgQIEDAoLsBAgQIECAQEDDogRJFIECAAAECBt0NECBAgACBgIBBD5QoAgECBAgQMOhugAABAgQIBAQMeqBEEQgQIECAgEF3AwQIECBAICBg0AMlikCAAAECBAy6GyBAgAABAgEBgx4oUQQCBAgQIGDQ3QABAgQIEAgIGPRAiSIQIECAAAGD7gYIECBAgEBAwKAHShSBAAECBAgYdDdAgAABAgQCAgY9UKIIBAgQIEDgB7iZk96LOSbbAAAAAElFTkSuQmCC"}))),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=$({mode:"onChange",reValidateMode:"onChange",defaultValues:{basicDetailsSection:{name:{firstName:"",lastName:""},email:A,dateOfBirth:void 0,phone:"",address:void 0}}}),x=V({control:I.control,name:`${Q}.address`}),{dateFormat:F}=S.getLocalizedStrings(),h=()=>{const C=I.getValues(`${Q}.phone`);C!=null&&C.trim().length>0&&M(C)},L=(C,d)=>{f(C,d)},b=C=>{C!=null&&C.trim().length>0&&y(C)},R=()=>{a(!0)},U=()=>{a(!1)},K=()=>{const C=I.getValues(`${m}`);if(C!=null){const d=BA(C);I.setValue(`${Q}.address`,d)}a(!1)},P=I.handleSubmit(C=>{if(C[Q].phone!=null&&r.otpVerificationStatus.fetchState!=="Completed"||r.otpVerificationStatus.fetchState==="Completed"&&C[Q].phone!=r.phone){h();return}D&&D(C)}),{sendOtpStatus:O,otpVerificationStatus:s,otpChallenge:H,phone:j}=r,N=g.jsxs(rA,{children:[g.jsx(CA,{}),g.jsxs(sA,{children:[g.jsxs(lA,{children:[g.jsx(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:R},style:{width:"100%",padding:`${E.sp2} ${E.sp2} ${E.sp2} ${E.sp0}`}})]})}),g.jsx(l,{controller:t===!0,children:g.jsx(c.Fragment,{children:g.jsx(Z,{sectionId:m,googleAPIKey:i,isSubPage:!0})})})]})}),g.jsx(u,{children:g.jsx(z,{infoBox:N,label:{label:e.common.labels.phone,width:168},style:{width:"100%",marginTop:E.sp3,padding:E.sp0},text:{name:n(Q,"phone"),placeholder:e.common.placeholder.phonePlaceholder,defaultValue:I.getValues(`${Q}.phone`),autoComplete:"new-password",options:{required:!0}},errorInfoLabel:"",verificationErrorInfoLabel:e.common.errorMessage.invalidPhoneNumber,isPopupOpen:k,productType:"complete_profile",phoneVerifyButtonProps:{otpChallenge:H,showOtpButton:!0,onGetOtp:h,onVerifyOtp:L,onResendOtp:b,isPhoneVerified:s.fetchState==="Completed",phoneVerificationStatus:s,getOtpStatus:O,verifiedPhoneNumber:s.fetchState==="Completed"?j:void 0,openPopup:()=>{Y(!0)},focusNotRequired:!0},bottomText:s.fetchState==="Completed"?"":e.completeProfile.phoneSetupText})})]})})]}),g.jsx(X,{formId:t?void 0:`${p}_form`,primaryBtn:{label:t?e.companyPassport.address.saveAddress:e.common.footer.save,type:t?"button":"submit",onClick:t?K:void 0,isLoading:G.fetchState==="In-Progress"||r.sendOtpStatus.fetchState==="In-Progress"},showCancel:!1})]})},oA=o.div`
|
|
1
|
+
import{aa as v,gW as V,F as S,V as g,gX as $,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 z,aT as X,R as AA,c4 as gA,gZ as BA}from"./index-ByXRm0Fj.js";import{a as B,P as c}from"./sentry-BfjekFHA.js";import{n as o}from"./mui-BtuxyOQU.js";import{bh as eA}from"./zeni-epic-state-x1SruN8b.js";import{$ as EA}from"./LabeledAddressValue-CQrDCgNs-3ouFKt7p.js";import"./liveblocks-DWegUhIu.js";import"./core-Cfmldnhs.js";import"./recharts-B1UpAC2z.js";import"./lottie-BGI-L4nL.js";import"./analytics-D_c73QMR.js";import"./lexical-C8q9B2Uw.js";import"./utils-BhAlbbTk.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]="24d3c11a-b008-4aae-bec9-4841a05d165f",A._sentryDebugIdIdentifier="sentry-dbid-24d3c11a-b008-4aae-bec9-4841a05d165f")}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/fn8wQIECBA4AoYdIdAgAABAgQCAgY9UKIIBAgQIEDAoLsBAgQIECAQEDDogRJFIECAAAECBt0NECBAgACBgIBBD5QoAgECBAgQMOhugAABAgQIBAQMeqBEEQgQIECAgEF3AwQIECBAICBg0AMlikCAAAECBAy6GyBAgAABAgEBgx4oUQQCBAgQIGDQ3QABAgQIEAgIGPRAiSIQIECAAAGD7gYIECBAgEBAwKAHShSBAAECBAgYdDdAgAABAgQCAgY9UKIIBAgQIEDAoLsBAgQIECAQEDDogRJFIECAAAECBt0NECBAgACBgIBBD5QoAgECBAgQMOhugAABAgQIBAQMeqBEEQgQIECAgEF3AwQIECBAICBg0AMlikCAAAECBAy6GyBAgAABAgEBgx4oUQQCBAgQIGDQ3QABAgQIEAgIGPRAiSIQIECAAAGD7gYIECBAgEBAwKAHShSBAAECBAgYdDdAgAABAgQCAgY9UKIIBAgQIEDAoLsBAgQIECAQEDDogRJFIECAAAECBt0NECBAgACBgIBBD5QoAgECBAgQMOhugAABAgQIBAQMeqBEEQgQIECAgEF3AwQIECBAICBg0AMlikCAAAECBAy6GyBAgAABAgEBgx4oUQQCBAgQIGDQ3QABAgQIEAgIGPRAiSIQIECAAAGD7gYIECBAgEBAwKAHShSBAAECBAgYdDdAgA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AABAgEBgx4oUQQCBAgQIGDQ3QABAgQIEAgIGPRAiSIQIECAAAGD7gYIECBAgEBAwKAHShSBAAECBAgYdDdAgAABAgQCAgY9UKIIBAgQIEDAoLsBAgQIECAQEDDogRJFIECAAAECBt0NECBAgACBgIBBD5QoAgECBAgQMOhugAABAgQIBAQMeqBEEQgQIECAgEF3AwQIECBAICBg0AMlikCAAAECBAy6GyBAgAABAgEBgx4oUQQCBAgQIGDQ3QABAgQIEAgIGPRAiSIQIECAAAGD7gYIECBAgEBAwKAHShSBAAECBAgYdDdAgAABAgQCAgY9UKIIBAgQIEDAoLsBAgQIECAQEDDogRJFIECAAAECBt0NECBAgACBgIBBD5QoAgECBAgQMOhugAABAgQIBAQMeqBEEQgQIECAgEF3AwQIECBAICBg0AMlikCAAAECBAy6GyBAgAABAgEBgx4oUQQCBAgQIGDQ3QABAgQIEAgIGPRAiSIQIECAAAGD7gYIECBAgEBAwKAHShSBAAECBAgYdDdAgAABAgQCAgY9UKIIBAgQIEDAoLsBAgQIECAQEDDogRJFIECAAAECBt0NECBAgACBgIBBD5QoAgECBAgQMOhugAABAgQIBAQMeqBEEQgQIECAgEF3AwQIECBAICBg0AMlikCAAAECBAy6GyBAgAABAgEBgx4oUQQCBAgQIGDQ3QABAgQIEAgIGPRAiSIQIECAAAGD7gYIECBAgEBAwKAHShSBAAECBAgYdDdAgAABAgQCAgY9UKIIBAgQIEDgB7iZk96LOSbbAAAAAElFTkSuQmCC"}))),QA=A=>B.createElement("svg",{viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...A},B.createElement("path",{d:"M1.33333 6.16693H2.52343C2.68125 6.16693 2.8326 6.22962 2.94419 6.34122C3.05579 6.45281 3.11848 6.60416 3.11848 6.76198V13.9026C3.11848 14.0604 3.05579 14.2118 2.94419 14.3233C2.8326 14.4349 2.68125 14.4976 2.52343 14.4976H1.33333",stroke:"currentColor",strokeWidth:1.25,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("path",{d:"M3.11848 12.7125C7.48556 14.9296 7.27253 14.6374 11.0118 14.6374C12.578 14.6374 13.367 13.6169 13.8276 12.1216V12.1121L14.9624 8.30373V8.29659C15.016 8.11929 15.0275 7.93192 14.9959 7.74939C14.9644 7.56686 14.8907 7.39421 14.7807 7.24519C14.6707 7.09617 14.5274 6.97488 14.3622 6.89099C14.1971 6.8071 14.0146 6.76292 13.8294 6.76196H10.9136C10.7315 6.76197 10.5518 6.72017 10.3883 6.63977C10.2249 6.55937 10.082 6.44253 9.97086 6.29824C9.85968 6.15395 9.7831 5.98606 9.74704 5.80751C9.71097 5.62896 9.71637 5.44452 9.76281 5.26838L10.2876 3.27854C10.3485 3.04716 10.326 2.80175 10.2241 2.58528C10.1223 2.36881 9.94748 2.19507 9.73041 2.09448C9.51334 1.99388 9.2678 1.97285 9.03679 2.03506C8.80577 2.09727 8.604 2.23876 8.4668 2.43475L5.55819 6.55548C5.44832 6.7112 5.30266 6.83826 5.13345 6.92597C4.96425 7.01368 4.77646 7.05947 4.58588 7.05948H3.11848",stroke:"currentColor",strokeWidth:1.25,strokeLinecap:"round",strokeLinejoin:"round"})),e=S.getLocalizedStrings(),p="completeProfilePage",Q="basicDetailsSection",m="addressSection",n=(A,i)=>`${A}.${i}`,fA=({userEmail:A,googleAPIKey:i,twoFactorAuthenticationView:r,saveStatus:G,hasUserEnteredBasicDetails:w,onSave:D,onGetOtp:M,onVerifyOtp:f,onResendOtp:y})=>{const[t,a]=B.useState(!1),[k,Y]=B.useState(!1),I=v({mode:"onChange",reValidateMode:"onChange",defaultValues:{basicDetailsSection:{name:{firstName:"",lastName:""},email:A,dateOfBirth:void 0,phone:"",address:void 0}}}),x=V({control:I.control,name:`${Q}.address`}),{dateFormat:F}=S.getLocalizedStrings(),h=()=>{const C=I.getValues(`${Q}.phone`);C!=null&&C.trim().length>0&&M(C)},L=(C,d)=>{f(C,d)},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($,{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(z,{infoBox:N,label:{label:e.common.labels.phone,width:168},style:{width:"100%",marginTop:E.sp3,padding:E.sp0},text:{name:n(Q,"phone"),placeholder:e.common.placeholder.phonePlaceholder,defaultValue:I.getValues(`${Q}.phone`),autoComplete:"new-password",options:{required:!0}},errorInfoLabel:"",verificationErrorInfoLabel:e.common.errorMessage.invalidPhoneNumber,isPopupOpen:k,productType:"complete_profile",phoneVerifyButtonProps:{otpChallenge:H,showOtpButton:!0,onGetOtp:h,onVerifyOtp:L,onResendOtp: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(X,{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`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
min-height: 100vh;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{d8 as d,aw as f,V as a,b7 as l,o as p}from"./index-ByXRm0Fj.js";import{a as r}from"./sentry-BfjekFHA.js";import"./liveblocks-DWegUhIu.js";import"./core-Cfmldnhs.js";import"./recharts-B1UpAC2z.js";import"./zeni-epic-state-x1SruN8b.js";import"./mui-BtuxyOQU.js";import"./lottie-BGI-L4nL.js";import"./analytics-D_c73QMR.js";import"./lexical-C8q9B2Uw.js";import"./utils-BhAlbbTk.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]="854c1a62-8faa-4be5-9d98-bcb63805d860",e._sentryDebugIdIdentifier="sentry-dbid-854c1a62-8faa-4be5-9d98-bcb63805d860")}catch{}})();const c="https://storage.googleapis.com/zeni-apis.appspot.com/data/confetti_sfx.mp3",_=({showConfetti:e})=>{const[t,o]=r.useState(e),[s,i]=d(c,e),[n]=f("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{_ as default};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{V as n}from"./index-
|
|
1
|
+
import{V as n}from"./index-ByXRm0Fj.js";import{a as r}from"./sentry-BfjekFHA.js";import{n as s}from"./mui-BtuxyOQU.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;
|