@zeniai/web-cockpit-ui 1.15.25-qa → 1.15.26-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-CxpLuJpQ-oljmG-aN.js +21 -0
- package/dist/assets/{AIPerformancePage-BXF0kUqR-TO6NW5Gm.js → AIPerformancePage-BtDuOBey-B5mBQCVW.js} +104 -104
- package/dist/assets/AccountInfoPage-DkpBGfrR-BAuNBIod.js +18 -0
- package/dist/assets/{AccountInfoPageContent-QMyPHCdY-DRy0EobS.js → AccountInfoPageContent-BLF92_vF-CW7wtofP.js} +15 -15
- package/dist/assets/AccountLockedInfoModal-AsMkXu1I-CUepwrH5.js +59 -0
- package/dist/assets/{AccountReconDetailsDrawerPage-CoXPQka7-aq22NHyy.js → AccountReconDetailsDrawerPage-CkaBrm5K-KV-fem_5.js} +10 -10
- package/dist/assets/AccountRow-aEmcYP8T-NzxiJ7E0.js +298 -0
- package/dist/assets/{AccountsPromoCardStack-Dkz2VyEk-De_7d8XV.js → AccountsPromoCardStack-C0At5pn8-BVyntxD9.js} +22 -22
- package/dist/assets/AddAddressForCardDrawer-CbjThbsA-DCBhdPbu.js +6 -0
- package/dist/assets/{AddToWalletPage-p0T8VFfo-Ctc53U6-.js → AddToWalletPage-CMJwUbgf-CbZx4F8y.js} +47 -47
- package/dist/assets/{AgingReportsPage-CTzjRkV2-p7yXZoAe.js → AgingReportsPage-B_BSfude-DZk6eQ7D.js} +15 -15
- package/dist/assets/{AllUserItems-Dt9rMGJk-DSR8YYxl.js → AllUserItems-CGlWa60t-Bsvj0Bul.js} +13 -13
- package/dist/assets/{ApAgingDetailPage-71VQk7px-CdRJ5ma9.js → ApAgingDetailPage-DT3vkmLG-hWexPQ-R.js} +7 -7
- package/dist/assets/AppBasePage-CDy7wPlv-BdtLe6Er.js +71 -0
- package/dist/assets/{AppDrawerContent-ULUH1WZ3-Dz83WLLA.js → AppDrawerContent-CEsXm_i6-DvQRPFBq.js} +4 -4
- package/dist/assets/{ApprovalRulesSettingsPage-Ciz-iaE5-B4YKMjoQ.js → ApprovalRulesSettingsPage-CB2_4-2f-DqEewSSN.js} +1 -1
- package/dist/assets/{ArAgingChart-DcwM2rpv-DLPBll-h.js → ArAgingChart-qxhWsIQb-BR0MyGhc.js} +1 -1
- package/dist/assets/{ArAgingDetailPage-eGCSFdAM-Bq8gFwY0.js → ArAgingDetailPage-BbzQryp_-si9TyFWf.js} +4 -4
- package/dist/assets/{AttachmentView-CA6PRg4p-BM0v2w3b.js → AttachmentView-duTVxc9g-Cx51cWLo.js} +4 -4
- package/dist/assets/{BankAccountSection-mWUT-G8y-BgZogOBU.js → BankAccountSection-CAwAf9xK-dEu3iigm.js} +5 -5
- package/dist/assets/{BankAccountWarningSection-IMtILLfL-C1D-TVku.js → BankAccountWarningSection-CaDnP9_--B_s5lRpF.js} +11 -11
- package/dist/assets/{BankConnectionsSettingsPage-COyH3rdC-C92rNnjt.js → BankConnectionsSettingsPage-CDV7O8cl-CKVB9msh.js} +10 -10
- package/dist/assets/{BillDetailPage-BR_9uHRC-DOB1o1WS.js → BillDetailPage-DJxh2CIc-BDq5xtCx.js} +13 -13
- package/dist/assets/{BillPayApprovalRuleDetailPage-cRAudMvm-l_SDm_n0.js → BillPayApprovalRuleDetailPage-B2ZPbqtr-DoqAcsu7.js} +2 -2
- package/dist/assets/{BillPayApprovalRulesPage-Cd0aJtip-CocKgiwD.js → BillPayApprovalRulesPage-MM7v8ZMx-BqexuGBp.js} +8 -8
- package/dist/assets/{BillPayPromoPage-BYW097HT-B6ysOR5N.js → BillPayPromoPage-JK-VOx4W-CHt5RuWY.js} +8 -8
- package/dist/assets/{BillPaySetUpPage-BahrLUn4-Ci3Jw_jx.js → BillPaySetUpPage-h0uoCWMl-B3vp9xYH.js} +2 -2
- package/dist/assets/BillingSettingsPage-gJG9OxD6-sAZcxvhc.js +44 -0
- package/dist/assets/{BillsBulkReviewDrawerPage-CJ-GbBhL-hKzOTQkg.js → BillsBulkReviewDrawerPage-CPPDFsZt-D7n_HeTo.js} +1 -1
- package/dist/assets/{BoxItem-CvhcNreT-BVRPLdci.js → BoxItem-CYe_gTmA-3TpRGAgq.js} +1 -1
- package/dist/assets/BusinessVerificationPage-Dos8Bnvb-tV078-eh.js +138 -0
- package/dist/assets/{CardNumberSubText-CfoSPAZU-xAy0dUA_.js → CardNumberSubText-CFDhtij8-Dsv6kEZQ.js} +3 -3
- package/dist/assets/{CashbackDetailPage-CWlaZrqz-ChzdfET6.js → CashbackDetailPage-BBGGzKh7-DUHJlZVl.js} +13 -13
- package/dist/assets/{ChargeCardDetailPage-BNNbd3G1-BqNdRSW1.js → ChargeCardDetailPage-BQhago53-wjHuLhkC.js} +35 -35
- package/dist/assets/{ChargeCardListPage-BzIvl8RY-Dw3gzYHf.js → ChargeCardListPage-B0E-C3RH-B7k2t4T5.js} +16 -16
- package/dist/assets/{ChargeCardListTable-D-uQKI4t-djbc_tdw.js → ChargeCardListTable-ByGv0xWl-DMSCDnKA.js} +46 -46
- package/dist/assets/{ChargeCardPaymentHistoryPage-DmzlfD-l-3MCUUfVT.js → ChargeCardPaymentHistoryPage-LCY9rFqO-BkZDtpLS.js} +12 -12
- package/dist/assets/{ChargeCardPromoPage-DOYqOs6K-CnWSg544.js → ChargeCardPromoPage-CKEnOseD-C5Oe_CBA.js} +11 -11
- package/dist/assets/{ChargeCardSetupPage-CSnLMycu-Fc-nV6Xc.js → ChargeCardSetupPage-BHv2VOdc-7YAt9Um1.js} +3 -3
- package/dist/assets/ChargeCardStatementsPage-UpRXyPTS-DMihpC1F.js +60 -0
- package/dist/assets/{CheckDepositDrawerPage-DN5Ok0Y6-ng0samw3.js → CheckDepositDrawerPage-0zbTQ3Fa-BLYoChOi.js} +21 -21
- package/dist/assets/{CollapsableReportTable-CncMWpFI-BCZVc9KX.js → CollapsableReportTable-DlYIKSlQ-CcB96aJz.js} +93 -93
- package/dist/assets/CompanyOfficerDetailsSection-Ck0xqZ0d-BRXSA5bv.js +260 -0
- package/dist/assets/{CompanyPassportCard-Ccw8l9iz-DjuA33CI.js → CompanyPassportCard-DeVPuuje-pYw0P8-e.js} +3 -3
- package/dist/assets/CompanyPassportPage-F_GUET9a-DyWAWfST.js +574 -0
- package/dist/assets/{CompleteProfile-CQUDJ-nI-D5uRJScE.js → CompleteProfile-Y6HwKtpz-CAD13Y73.js} +2 -2
- package/dist/assets/ConfettiBurst-BGE3Okwr-BH3P6Vot.js +1 -0
- package/dist/assets/{ConstrainedInnerElement-BeIpAPjB-DxMMe6gv.js → ConstrainedInnerElement-BeIpAPjB-BElBEfq9.js} +1 -1
- package/dist/assets/{CreateOrEditVendorPage-DM90rr4S-C8JUMUxd.js → CreateOrEditVendorPage-BlZe6gmh-CQZW25xI.js} +16 -16
- package/dist/assets/{CreditCardPaymentDrawerPage-Bh0QdxXh-TJCbgx12.js → CreditCardPaymentDrawerPage-flPmyCaF-BN_zrabq.js} +11 -11
- package/dist/assets/{CurrencySelectField-BDfEzwpU-CRXhdOB1.js → CurrencySelectField-RiKAivD8-Men9-Qs8.js} +5 -5
- package/dist/assets/{CustomerOnboardingActivationPage-CJGtq19l-oSOY3-iS.js → CustomerOnboardingActivationPage-B7dLMk4g-9XWjuxWa.js} +3 -3
- package/dist/assets/CustomerOnboardingContainerPage-BHPDhC3d-CAVfCCXg.js +1 -0
- package/dist/assets/{CustomerOnboardingDetailPageSkeleton-DSqc1_bS-CWy89yK1.js → CustomerOnboardingDetailPageSkeleton-AWsst0XH-Dm9ock3U.js} +14 -14
- package/dist/assets/CustomerOnboardingNoStepsPage-Bqid4-rH-1Q4j5GPR.js +66 -0
- package/dist/assets/CustomerOnboardingPage-B5LrMzZS-C9Fs1CgW.js +107 -0
- package/dist/assets/{CustomerOnboardingProductSuitePage-CZDipU2j-CY8bWPwX.js → CustomerOnboardingProductSuitePage-DqgoBLWp-CqOyrhHJ.js} +6 -6
- package/dist/assets/{Dashboard-DyQZQS2X-BbvnZv_G.js → Dashboard-D0KlujCx-DnjbaQQd.js} +66 -66
- package/dist/assets/{DashboardReportPage-Dn7pVdG9-B_qH3ZCe.js → DashboardReportPage-bxKyMsG7-D9LgF6Vc.js} +13 -13
- package/dist/assets/DashboardSidebarBackgroundAnimation-Ch0OiH1g-8bPW9HsA.js +12 -0
- package/dist/assets/{DepositAccTransactionItem-DDdkQsmn-BhqvohO1.js → DepositAccTransactionItem-BdZVCAx--B5mbkfQv.js} +6 -6
- package/dist/assets/{DepositAccTransactionListPage-BHdmR6m5-C42qNt4G.js → DepositAccTransactionListPage-LU0QMdSV-BPGsYfzN.js} +7 -7
- package/dist/assets/{DomesticWireDetailsPage-CpwSOc_0-BwoPHjA8.js → DomesticWireDetailsPage-CFt5GgZ1-DPIozVv0.js} +1 -1
- package/dist/assets/{DownloadOverlay-Dhib22Hz-BMigVmXm.js → DownloadOverlay-CH_bA3On-JFXgpsko.js} +11 -11
- package/dist/assets/{DrawerPage-nxxj86nQ-V1LIna1_.js → DrawerPage-Cpdp-IFb-6O8ALZwh.js} +14 -14
- package/dist/assets/EditPeoplePage-BYnuNojX-COJTJTYl.js +55 -0
- package/dist/assets/{EditReimbursementDetailPage-C2kqq9QP-Br957QFY.js → EditReimbursementDetailPage-DnyyPZ26-CW_m0PAT.js} +73 -73
- package/dist/assets/EntityDetailPage-DSfZZ1JW-NbMT0IAK.js +18 -0
- package/dist/assets/{EntitySummarySection-C29GLBzF-D39CMGzi.js → EntitySummarySection-BFpgAYAM-CKlhnXLV.js} +8 -8
- package/dist/assets/{ExpenseAutomationOverviewPage-B4kcx-VG-DxwDCeEn.js → ExpenseAutomationOverviewPage-YjOVm_Bw-BDJuPgHE.js} +22 -22
- package/dist/assets/{ExpenseAutomationPage-DNwnoyPg-SnZAYqgF.js → ExpenseAutomationPage-DlhH-R-e-DCW88pdW.js} +285 -295
- package/dist/assets/{ExpressPayPage-K-InpYtZ-aN7mrn0F.js → ExpressPayPage-CKqPEfbR-pk0o4BxB.js} +21 -21
- package/dist/assets/{FeaturePreviewPage-IsRBHkoD-TAwTKCM0.js → FeaturePreviewPage-Cs1Y3nP0-BgQT4DqF.js} +2 -2
- package/dist/assets/{FollowStepsSection-ClyCs5f_-Cbik-xF_.js → FollowStepsSection-BCyL8Jdr-CPpGgHn-.js} +1 -1
- package/dist/assets/{GlobalReviewListPage-n8XrBXXp-BZ2gMX08.js → GlobalReviewListPage-CBQFcVHd-XH4CFBRM.js} +16 -16
- package/dist/assets/{InformationCardStack-BnOF2kCh-BdgYGwde.js → InformationCardStack-nFMetrAy-CMfT3sbg.js} +6 -6
- package/dist/assets/{InsightsCardStack-Bgzkang3-BzYt1Rxu.js → InsightsCardStack-CEMeGJXy-DkdJ-vVc.js} +9 -9
- package/dist/assets/InsightsSection-BYiN2xB7-Tq3IZNKc.js +27 -0
- package/dist/assets/{IntegrationsSettingsPage-D1QWrVQw-stOpPSQY.js → IntegrationsSettingsPage-BQ7g3a3K-BdOaL4VS.js} +3 -3
- package/dist/assets/{InternationalWireSwiftDetailsPage-DNNEqdWS-D1uSKMyM.js → InternationalWireSwiftDetailsPage-BHRYsZgm-DSuBLSD4.js} +20 -20
- package/dist/assets/InternationalWireVerificationPage-tJbVtzQP-CQvYGebF.js +292 -0
- package/dist/assets/{InviteFormPage-C-Io8wxr-DLs7wMBm.js → InviteFormPage-BVXte8w8-MDAVTXGi.js} +21 -21
- package/dist/assets/{InvitePageListView-B1PLdKSn--gkO7IR1.js → InvitePageListView-DFPyLLrA-CONqmQCs.js} +55 -55
- package/dist/assets/InvitePeoplePage-B-uxjkke-6b_Qz0Yf.js +12 -0
- package/dist/assets/InvoiceUploadSection-B9q7nIs0-DhF51Ukp.js +140 -0
- package/dist/assets/{IssueChargeCardPage-CC6D-uPl-yVNFmovT.js → IssueChargeCardPage-BuLj1bOl-DtlAMUV4.js} +15 -15
- package/dist/assets/{LabeledAddressValue-CKZJgaV5-BGReF5ah.js → LabeledAddressValue-D2t8ti-C-Z0RI74Eh.js} +2 -2
- package/dist/assets/LabeledAddressValueField-DMcor_I8-C6G1J4Y2.js +45 -0
- package/dist/assets/LabeledControlledCheckBoxField-B6w2HGJK-6LsZxWHa.js +16 -0
- package/dist/assets/{LabeledCreatableSingleSelectField-N1wb0l0p-BtlFpiVX.js → LabeledCreatableSingleSelectField-DHNAX5Pu-BPIIBKMF.js} +13 -17
- package/dist/assets/LabeledDocumentField-Bx1u7vv_-DaqPO373.js +41 -0
- package/dist/assets/LabeledDropDownFormattedTextField-BBS4da2b-Pp7kOChU.js +59 -0
- package/dist/assets/{LabeledText-DiJE8avC-24n-Mx9E.js → LabeledText-zjKn4Cw--WpJNibWz.js} +5 -5
- package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-CLup6THe-DpA0JL_S.js → LabeledUserSingleSelectWithSubtitlesField-CIofqRT6-l_A9LTk7.js} +20 -20
- package/dist/assets/{LabeledZeniRolesDropDownField-CVg9PTpl-B6wARtfF.js → LabeledZeniRolesDropDownField-DiBtAWQ3-_N52HAlB.js} +33 -33
- package/dist/assets/{LinkJETransactionPage-DaGHGCIJ-Ba3aKUMJ.js → LinkJETransactionPage-D66bzDh_-B4JreFf6.js} +8 -8
- package/dist/assets/{LockCardPage-CGYlmPkB-BmKeq5lW.js → LockCardPage-B1g2TZWL-hWz0sEAN.js} +22 -22
- package/dist/assets/{LowBalancePopup-YJW7eKud-CTZA7O1Z.js → LowBalancePopup-DbtHeVY--8cU4w1E0.js} +6 -6
- package/dist/assets/MagicLinkACHDetailsPage-X1pXkZYT-7knh_ltw.js +1 -0
- package/dist/assets/MagicLinkDomesticWireDetailsPage-BDl8k_bB-ESO2QI-z.js +1 -0
- package/dist/assets/{MagicLinkInternationalWireDetailsPage-COXCHYYI-7TUAwLMH.js → MagicLinkInternationalWireDetailsPage-Q4lIsHtG-J3sKHPD3.js} +1 -1
- package/dist/assets/MagicLinkSuccessPage-BkxuITX--B7psstiC.js +31 -0
- package/dist/assets/{MagicLinkTitleSection-CCF7Ahgh-BP7fXimK.js → MagicLinkTitleSection-CqkZ9wOf-BR_t9OGm.js} +4 -4
- package/dist/assets/MailingDetailsSection-DRFGCM2W-D_ajBet8.js +21 -0
- package/dist/assets/{MyBankConnectionsSettingsPage-BJi0owDl-CUk4FnA3.js → MyBankConnectionsSettingsPage-CE2ZqHBJ-DRRK16jW.js} +9 -9
- package/dist/assets/{MyPendingActivationChargeCardListPage-BWIla-hh-Xvknm8Hk.js → MyPendingActivationChargeCardListPage-BffxXDZg-DDMywOmd.js} +2 -2
- package/dist/assets/MyProfileSettingsPage-DrsAlesY-CW5UQDbf.js +85 -0
- package/dist/assets/{NavBarWithPicker-BGZvvByA-uJYEillO.js → NavBarWithPicker-C4VfP_Kw-BlN6D07W.js} +5 -5
- package/dist/assets/{NavigationArrow-C3pN6F3u-D0cIq2JZ.js → NavigationArrow-DCCxx6H7-HhnIS8HH.js} +7 -7
- package/dist/assets/{NavigationDots-D1rJnVkZ-lWOs2PbN.js → NavigationDots-tWCw6Bpk-Mo0z1mhF.js} +4 -4
- package/dist/assets/{NewGlobalMerchantPage-DU2Z_NYb-CKdyBaRw.js → NewGlobalMerchantPage-UIA8zAjd-D_Ilslhf.js} +12 -12
- package/dist/assets/{NoDataChart-DuEsebs4-dCa63BXA.js → NoDataChart-Bvetk9za-Dz6Kgiua.js} +2 -2
- package/dist/assets/NoDataTable-9xF1_3XS-gmK0ApJv.js +8 -0
- package/dist/assets/{NotFoundPage-DLtikmoi-DezEm7uZ.js → NotFoundPage-CdH-3upl-BWvfv-me.js} +6 -6
- package/dist/assets/{NotificationSettingsPage-DwsCKyVM-DSXQBvov.js → NotificationSettingsPage-DP2gGIz1-CAx-Ob95.js} +12 -12
- package/dist/assets/{NotificationsListConfig-CMtBeX4D-8x056zZE.js → NotificationsListConfig-DG-DH2Aj-B1EWk1B7.js} +1 -1
- package/dist/assets/{NotificationsPage-CZrXzWli-CszMkZ09.js → NotificationsPage-CgFMmR2X-DW2MYafR.js} +24 -24
- package/dist/assets/{OpExByVendorPage-0PLAOQu5-C1H7Eb6W.js → OpExByVendorPage-eUvIAWzt-J9dFs64l.js} +20 -20
- package/dist/assets/OverlayContainerPage-D4QU0p4o-CRh-4TRn.js +11 -0
- package/dist/assets/{PandLWithForecastPage-PkrBqcAR-DeIB5p6W.js → PandLWithForecastPage-8S06Nyi5-Bs1OiKUY.js} +11 -11
- package/dist/assets/PaymentAccountSetupBillingAddressSection-DQtrANhI-CgW6kWBO.js +107 -0
- package/dist/assets/PeoplePage-D1BLHtO0-Cm2cmSqy.js +675 -0
- package/dist/assets/{Preview-DaDKYAzg.js → Preview-CyX-vurX.js} +1 -1
- package/dist/assets/{ProductsCarousel-fMS3PJAc-BotcQNAa.js → ProductsCarousel-BKSXWnFR-BT4vvSaJ.js} +5 -5
- package/dist/assets/{PromoBaseCards-HY42c1kU-BhYjmYvJ.js → PromoBaseCards-BYT9nEJT-1c2PW57m.js} +17 -17
- package/dist/assets/{QBOConnectionDialog-B_AOC_hG-CeVd-SRA.js → QBOConnectionDialog-C2-omQMZ-CW3-Jgl1.js} +3 -3
- package/dist/assets/{QBOSetupSection-CQHdqpJF-7U6mrHSv.js → QBOSetupSection-lgv5wVlg-Db43UmDc.js} +16 -16
- package/dist/assets/{ReimbursementApprovalRuleDetailPage-D0oeO5MZ-OtCnB_q6.js → ReimbursementApprovalRuleDetailPage-CbJViS3x-DEQyVs-F.js} +2 -2
- package/dist/assets/{ReimbursementApprovalRulesPage-Beg7ljMA-B5KQz4js.js → ReimbursementApprovalRulesPage-BuNt-Bmb-qkoyA-iD.js} +8 -8
- package/dist/assets/{ReimbursementDetailPage-DBxKNhum-eRxMF0_S.js → ReimbursementDetailPage-CK3-Jqkd-ComGCWG4.js} +8 -8
- package/dist/assets/{ReimbursementPromoPage-DxZeTOQW-De_TV65M.js → ReimbursementPromoPage-fptOAJna-UPQyz9k9.js} +20 -20
- package/dist/assets/{ReimbursementSetUpPage-CN4LhFrS-BtgsPTFS.js → ReimbursementSetUpPage-CidrpT2g-C4LYSo0t.js} +10 -10
- package/dist/assets/{ReimbursementsBulkReviewDrawerPage--6OUmjzW-CEunkPIJ.js → ReimbursementsBulkReviewDrawerPage-Cy_Hediw-DbKZBLTq.js} +1 -1
- package/dist/assets/{ReloadCard-BluhBNO--JXB8TN8J.js → ReloadCard-C81rGzOp-DY4k84ea.js} +5 -5
- package/dist/assets/{ReportTableViewSelector-8KYimU0G-YQryAILK.js → ReportTableViewSelector-neRSjrhV-C6WBlOcq.js} +9 -9
- package/dist/assets/{ReportsPage-D-UfdQ34-BJylCiUX.js → ReportsPage-BhzQVaer-B4A4M4e5.js} +1 -1
- package/dist/assets/{RevenueChart-C9EztEKi-D-GF5bMS.js → RevenueChart-x7uTbFlm-CNwMod8g.js} +18 -18
- package/dist/assets/{ReviewDetailsPage-B6SYtYUA-Bic5mY3s.js → ReviewDetailsPage-jXZCylzg-BIFUDhZH.js} +31 -31
- package/dist/assets/{ReviewOverlay-C2enVZqt-CeljToJx.js → ReviewOverlay-nlm2HnGw-9bQU05T1.js} +18 -18
- package/dist/assets/RoleWithToolTip-C29QOzxS-BIz3hnmq.js +22 -0
- package/dist/assets/{ScheduleDetailsFixedAssetsPage-DmBVVX79-CCSFvhRM.js → ScheduleDetailsFixedAssetsPage-CkPzofLN-BgCHEx2z.js} +8 -8
- package/dist/assets/{ScheduleDetailsPage-Bp3d9tdD-q1bZSw14.js → ScheduleDetailsPage-BSZefKOh-6HOYgX85.js} +8 -8
- package/dist/assets/ScheduleSequenceTable-BW5M7Zfq-Cc7Psi6L.js +324 -0
- package/dist/assets/{ScreenRoutes-BIJj5Saj.js → ScreenRoutes-DOxgrmyz.js} +1 -1
- package/dist/assets/{SetUpAccountSection-DiEFZwFL-BaHFxHp4.js → SetUpAccountSection-C703iFL6-DWHc95vH.js} +5 -5
- package/dist/assets/SignIn-D9K5FklU-C-Fq_guN.js +491 -0
- package/dist/assets/SignInScreen-pGoo9woj.js +1 -0
- package/dist/assets/{SpendManagementListViewPage-BoWIPx5V-Be8Dc1Y5.js → SpendManagementListViewPage-CBNtC74m-DqpxdGQ6.js} +13 -13
- package/dist/assets/{SpendManagementPerTabPage-DRrECrxC-Cm5biaiO.js → SpendManagementPerTabPage-D_sa7WRd-CzMD5xEZ.js} +25 -25
- package/dist/assets/{SpendManagementSection-xoH8d-PB-DpntNr3t.js → SpendManagementSection-DpZUTV6m-Dyv3RP83.js} +23 -23
- package/dist/assets/StatementItem-DvdSsb8I-4NJSevH0.js +31 -0
- package/dist/assets/StatementsPage-73jGj5P2-DfWSq1-t.js +58 -0
- package/dist/assets/{StatusSwitcher-C-2QxP_3-CPrG2471.js → StatusSwitcher-hKYgwNLC-CE1foddz.js} +2 -2
- package/dist/assets/{SubTabSwitcher-D3iTZY-F-Vu8hc56R.js → SubTabSwitcher-aeDd9xiF-D4uOjs0t.js} +2 -2
- package/dist/assets/{SummaryCard-BbzDLzif-D9HqINXn.js → SummaryCard-CK8Gxbiu-DemkEVCq.js} +1 -1
- package/dist/assets/{TaskManagementPage-DI_lMbra-CVdOpIFG.js → TaskManagementPage-D2Ooq8DR-DrMY4gdr.js} +15 -15
- package/dist/assets/{TimeRangeSwitcher-C3mH2YE7-CxdwLD3J.js → TimeRangeSwitcher-DEqlZxa6-BNFFHAst.js} +11 -11
- package/dist/assets/{TimeframeSwitcher-C8iVJfJz-r75odRQ8.js → TimeframeSwitcher-BppC6giF-D-wC9bQx.js} +6 -6
- package/dist/assets/TimeframeSwitcherWithToggle-CbX9ElMN-Txpnr2g5.js +31 -0
- package/dist/assets/{TopExCard-DlberdWy-C2q30Aki.js → TopExCard-Cy6tPVSx-B-keVDu8.js} +6 -6
- package/dist/assets/{TopExDetailPage-DZyUPQ9i-BLn9-yw3.js → TopExDetailPage-Rtrcdkcp-BJDfbujg.js} +11 -11
- package/dist/assets/{TransactionActivityLogPage-Bpdbc21v-CM1zPkd3.js → TransactionActivityLogPage-DbwSsjPJ-BIwIVqy-.js} +15 -15
- package/dist/assets/TransactionDetailPage-D-vXAAB7-Bzb02Sjl.js +903 -0
- package/dist/assets/TransactionList-BruCNjQg-CPy3bOrg.js +153 -0
- package/dist/assets/{TransactionListBig-D6Q9QimF-B_YVo6kI.js → TransactionListBig-bp7q3prH-B3o9La4k.js} +13 -13
- package/dist/assets/TransactionListPage-ZfJsaVb8--vXsSJCl.js +35 -0
- package/dist/assets/{TransactionVendorDetailPage-B4A4amjV-BhO2vQ5S.js → TransactionVendorDetailPage-CldkuO2--QReUEWYz.js} +7 -7
- package/dist/assets/{TransferDrawerPage-Dfhpu5Yd-BZldmbFB.js → TransferDrawerPage-DswS6KZf-BpK3RBCC.js} +27 -27
- package/dist/assets/{TreasuryOverviewPage-B6WhqRDb-DEqeKyOX.js → TreasuryOverviewPage-DWo7iRpO-gYNjYUSH.js} +1 -1
- package/dist/assets/{TreasuryPromoPage-C5DXueHJ-BlBWoLLu.js → TreasuryPromoPage-DQxCF3-4-BI9m1Cpo.js} +131 -131
- package/dist/assets/{TreasuryStatementsPage-8qXJLq1U-B1yVK5_e.js → TreasuryStatementsPage-CYkPtmaT-BgyV-fq7.js} +2 -2
- package/dist/assets/TreasuryTaxLetterPage-DH3su_rX-Dyk_wpPB.js +58 -0
- package/dist/assets/{TrendChart-FPLC1aMv-Dsg7RNKY.js → TrendChart-BMHDaOeh-DUFeSEwp.js} +3 -3
- package/dist/assets/{TrendWithTransactions-_O4Fz3pt-CY9f274t.js → TrendWithTransactions-DDLrmIrt-D7YkaYJE.js} +3 -3
- package/dist/assets/{UncategorizedAccountsMappingPage-rdMygvxx-Buu96HmY.js → UncategorizedAccountsMappingPage-3SW8Gj0Z-DxcmP_9M.js} +22 -22
- package/dist/assets/{UnitIntegrationPage-WfFukh9_-B5ZkACvG.js → UnitIntegrationPage-DPMy8dXP-Ds2V7iqZ.js} +11 -11
- package/dist/assets/{UploadAdditionalDocumentOverlay-xiqklxM_-B0Gp_VuL.js → UploadAdditionalDocumentOverlay-BHpT2al--Bh-cR8rL.js} +1 -1
- package/dist/assets/Vendor2FAPopup-C6gEOhUv-DnLG0jax.js +1 -0
- package/dist/assets/VendorACHDetailsPage-LNCcubjL-BnzYtLeS.js +1 -0
- package/dist/assets/{VendorDetailPage-Cexet52V-ByQEr6nx.js → VendorDetailPage-BC1FhaQA-BTYI8FHa.js} +25 -25
- package/dist/assets/{VendorDomesticWireDetailsPage-DbhChvIp-Gd-LcXBC.js → VendorDomesticWireDetailsPage-CLudahOt-DWedRRGC.js} +1 -1
- package/dist/assets/{VendorFiling1099EditablePage-Bnwp2JiZ-BVK55tl7.js → VendorFiling1099EditablePage-DYyPOA8D-SaXokDu7.js} +38 -38
- package/dist/assets/{VendorFirstReviewPage-C_xSf47L-CdUnKlD1.js → VendorFirstReviewPage-Cpmk7rDk-CLDuk2Z1.js} +37 -37
- package/dist/assets/{VendorInternationalWireDetailsPage-DVuenbq8-BQJUIatX.js → VendorInternationalWireDetailsPage-CWAWq6kq-BqWv0FEj.js} +9 -9
- package/dist/assets/VendorInternationalWireSwiftDetailsPage-CUtums8t-Cnhhvl1i.js +1 -0
- package/dist/assets/{VendorsAccountsSection-DYSlIqnJ-BEEMJGXs.js → VendorsAccountsSection-CGQ35Mhp-CZRiYNTG.js} +2 -2
- package/dist/assets/{VerifyDevice-MbuunHNJ-DK2vpiqN.js → VerifyDevice-CfMJW1Vh-CQyEdsek.js} +9 -9
- package/dist/assets/{VideoPlayer-B-oV4gcS-KQE08Dmc.js → VideoPlayer-BNBpjXJk-S1NV6cBn.js} +2 -2
- package/dist/assets/{VideoPopup-DFfn4tne-DCRKhHRK.js → VideoPopup-BF6lmB7l-C8AjwQYx.js} +5 -5
- package/dist/assets/{WarningsDrawerPage-C_nKfBpS-DHXk74av.js → WarningsDrawerPage-Crj70lnR-CqPc_yNz.js} +3 -3
- package/dist/assets/{ZeniAccountDetailPage-jYwDoLiN-CyMF0xwM.js → ZeniAccountDetailPage-CaA6m3tQ-BxjiYTPx.js} +12 -12
- package/dist/assets/{ZeniAccountListViewPage-CWiWh2ld-Z2OcnxXS.js → ZeniAccountListViewPage-x_51gDs1-BURzAUSX.js} +9 -9
- package/dist/assets/ZeniAccountNavBarPieces-Csr24dri-Dtq04dNH.js +14 -0
- package/dist/assets/{ZeniAccountPromoPage-DPab5PDZ-Df3iX_i_.js → ZeniAccountPromoPage-lxKBk2r5-B3car8p6.js} +13 -13
- package/dist/assets/{ZeniAccountSetupPage-Dbqa1LpU-BMCQ0hLC.js → ZeniAccountSetupPage-DUI4-2Zw-CqTcY3yC.js} +1 -1
- package/dist/assets/{ZeniCopyright-SDIPg48K-CevhNJoN.js → ZeniCopyright-DxEZ4DiK-Bx5L4V4v.js} +1 -1
- package/dist/assets/{ZeniTransferAmountSlider-Bg59KBt9-CyCGlMPD.js → ZeniTransferAmountSlider-4Nq4Sm9J-CWNMmcE5.js} +11 -11
- package/dist/assets/{add-to-wallet-DgdBD8_G-4MTVGYLk.js → add-to-wallet-DgdBD8_G-Ckn7-tS3.js} +1 -1
- package/dist/assets/{analytics-DkApCpAh.js → analytics-DgE91yP9.js} +1 -1
- package/dist/assets/{analyticsHelper-DfCXurTN-BrPn0dkx.js → analyticsHelper-CL-t3Y2i-DqLgDKAm.js} +1 -1
- package/dist/assets/analyticsHelper-qCgSbR3t.js +1 -0
- package/dist/assets/{arrow-south-east-round-PEovUgvH-sjXlUHVP.js → arrow-south-east-round-PEovUgvH-6_ok8u4n.js} +1 -1
- package/dist/assets/{auto-transfer-rule-mbafm5D3-8P5UKTjR.js → auto-transfer-rule-mbafm5D3-DaMjzKK3.js} +1 -1
- package/dist/assets/{chartTypes-H306f0ce-MyWtRYTO.js → chartTypes-B3501CSI-Eia1dEGg.js} +1 -1
- package/dist/assets/{commonDimensions-CWffpElu-Q8mZH4nJ.js → commonDimensions-YcBBlmYP-HRUAmifl.js} +1 -1
- package/dist/assets/{constants-42un7CRh.js → constants-DU2Tv8MD.js} +1 -1
- package/dist/assets/{core-DQ8U4CJb.js → core-CEu4PzGb.js} +1 -1
- package/dist/assets/{dash.all.min-xDoItceu.js → dash.all.min-wN4tXsVF.js} +1 -1
- package/dist/assets/{detailCommon-CfrL4ryy-Drm9_QUO.js → detailCommon-C19MYPnq-B5eEk_1Z.js} +2 -2
- package/dist/assets/downloadPdf-DPAqxw6u-DccTm81d.js +1 -0
- package/dist/assets/{empty-DBMIDect.js → empty-CarmpCiV.js} +1 -1
- package/dist/assets/{empty-DMdKDWd5.js → empty-SBaJLmT7.js} +1 -1
- package/dist/assets/epic-jB8ji6P2.js +2 -0
- package/dist/assets/{gift-box-Cmt9OgIZ-CKZgCX5V.js → gift-box-Cmt9OgIZ-Cfao5pzw.js} +1 -1
- package/dist/assets/{graphic-no-data-l-DU4J8fDt-B74xUk4A.js → graphic-no-data-l-DU4J8fDt-CtMgv3E2.js} +1 -1
- package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-CY998Ry-.js → graphic-no-data-net-burn-l-CzmycA0m-CxhhGXfI.js} +1 -1
- package/dist/assets/{handshake-BPg58FML-ci6EVnAm.js → handshake-BPg58FML-Cr0KvGET.js} +1 -1
- package/dist/assets/{index-DlHdI3-w.js → index-C65pc_ms.js} +1 -1
- package/dist/assets/{index-Ci8_ElRT.js → index-CM4tXRl_.js} +1 -1
- package/dist/assets/{index-uFwLgEj2.js → index-CTIRcS5n.js} +1 -1
- package/dist/assets/{index-CP7n6qbn.js → index-DdSqYqAO.js} +1 -1
- package/dist/assets/{index-MLR605z1.js → index-DotN2qpo.js} +1 -1
- package/dist/assets/{index-i62ZqD9V.js → index-GSKpJ8ET.js} +4076 -4065
- package/dist/assets/{index-C-yZdmSC.js → index-qEET5oej.js} +1 -1
- package/dist/assets/{lexical-CvUIM9vD.js → lexical-CnqcqOEB.js} +1 -1
- package/dist/assets/{liveblocks-DXGUxn7J.js → liveblocks-D1OOExFG.js} +1 -1
- package/dist/assets/{lottie-C1yptpVV.js → lottie-fNTw06NH.js} +1 -1
- package/dist/assets/mapLoadingInProgressToTreeNode-D2u9MDI--Bj-YdG55.js +1 -0
- package/dist/assets/{mapSectionWithAcOnlyToTreeNode-CH8Zwu7Z-DOYdbM0-.js → mapSectionWithAcOnlyToTreeNode-BDWD3x8r-CFpEHrc_.js} +1 -1
- package/dist/assets/mapSpacerToTreeNode-Blr3egSm-C65_6eW3.js +1 -0
- package/dist/assets/mapTimeframeBalancesToTreeNode-3Hd8QHr2-D-fvMaDb.js +1 -0
- package/dist/assets/mapTimeframeBalancesToTreeNode-D-LTfKnD-D-V0iqTB.js +1 -0
- package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-CffU-RPP-Cn_Z85da.js +1 -0
- package/dist/assets/{mui-rLvQ8A4a.js → mui-DenpH-hx.js} +1 -1
- package/dist/assets/{page-detail-CWX5S47F-DxBKGqnW.js → page-detail-CWX5S47F-CMu9po0A.js} +1 -1
- package/dist/assets/panelSelectedMixin-CzfD5-Zs-Z09J1JBQ.js +4 -0
- package/dist/assets/{radio-default-CiSgisfh-D50TMWyl.js → radio-default-CiSgisfh--A7TRB5H.js} +1 -1
- package/dist/assets/{react-CD-rvAYw.js → react-B5LP5NK7.js} +1 -1
- package/dist/assets/{react-XCvfp0dN.js → react-BGO_hhif.js} +1 -1
- package/dist/assets/{react-BGRcEI9e.js → react-BNXAqjdV.js} +1 -1
- package/dist/assets/{react-CeXW-10t.js → react-BbEkWrBm.js} +1 -1
- package/dist/assets/{react-D5l7wk4q.js → react-BbsHWhNi.js} +2 -2
- package/dist/assets/{react-CKPzfXiX.js → react-CX4zcxjw.js} +1 -1
- package/dist/assets/{react-CaPJ_R38.js → react-D97zLppZ.js} +2 -2
- package/dist/assets/{react-BFvwO_Qx.js → react-DvuAhc__.js} +1 -1
- package/dist/assets/{recharts-BYppTjSs.js → recharts-9NtTDQfo.js} +1 -1
- package/dist/assets/{sentry-DhNwX3jk.js → sentry-BZBky1_g.js} +1 -1
- package/dist/assets/{shield-DOlUxcFf-1dcmCA6e.js → shield-DOlUxcFf-DnxNebOP.js} +1 -1
- package/dist/assets/toCOABalancesWithID-D35Fk0m2-dL9iDsOU.js +1 -0
- package/dist/assets/{toChartData-ILqaSUrn-DEH7gUMA.js → toChartData-DzatRnt8-Cq2-M4CL.js} +1 -1
- package/dist/assets/{uploadAttachment-BO1VJaKW-C7cr9w_9.js → uploadAttachment-Bq8dk-Sm-DirS4o1A.js} +18 -18
- package/dist/assets/{uploadReceipts-Dge0cNF1-CuKjXY6-.js → uploadReceipts-Dge0cNF1-BKdcUL2b.js} +1 -1
- package/dist/assets/{url-DrmuGGE4.js → url-0W_uXmZ-.js} +1 -1
- package/dist/assets/{url-C7FJoqre.js → url-Z1gMB4SW.js} +1 -1
- package/dist/assets/{useLongPress-GCK2COYQ-nce713S8.js → useLongPress-GCK2COYQ-B8bxkfF-.js} +1 -1
- package/dist/assets/{usp-line-BBd1wKwW-BIn3NV9C.js → usp-line-BBd1wKwW-BPsPtX_C.js} +1 -1
- package/dist/assets/{utils-BdIPH7k8.js → utils-CHibiken.js} +1 -1
- package/dist/assets/{zeni-epic-state-DwkN4IvA.js → zeni-epic-state-BKgIzPpM.js} +18 -18
- package/dist/index.html +1 -1
- package/package.json +4 -4
- package/dist/assets/ACHDetailsPage-Davpg8eW-D4fDLBvb.js +0 -21
- package/dist/assets/AccountInfoPage-Cefnidcc-DSwJtSIq.js +0 -18
- package/dist/assets/AccountLockedInfoModal-BdFY6p56-B0tAnrT1.js +0 -59
- package/dist/assets/AccountRow-DHB-ETil-Z8gDYNsd.js +0 -298
- package/dist/assets/AddAddressForCardDrawer-CUKknbhJ-CQQ-61A2.js +0 -6
- package/dist/assets/AppBasePage-tDs92z31-rHgUU93J.js +0 -71
- package/dist/assets/BillingSettingsPage-BjMeQKM0-BoKoI1dh.js +0 -44
- package/dist/assets/BusinessVerificationPage-LKrdd6Ej-CfBndZj-.js +0 -138
- package/dist/assets/ChargeCardStatementsPage-C82CsaNY-CC2pqnJw.js +0 -60
- package/dist/assets/CompanyOfficerDetailsSection-5Gmlo5HX-pW5vmYaZ.js +0 -331
- package/dist/assets/CompanyPassportPage-IjpU53y_-DJMDEFNH.js +0 -417
- package/dist/assets/ConfettiBurst-C_6Uy7eR-BvE47982.js +0 -1
- package/dist/assets/CustomerOnboardingContainerPage-CP6DdMkC-DUTuOhqq.js +0 -1
- package/dist/assets/CustomerOnboardingNoStepsPage-BuWnQGPi-DIKi33VN.js +0 -66
- package/dist/assets/CustomerOnboardingPage-Bl2oAvin-QdpSJ3IL.js +0 -107
- package/dist/assets/DashboardSidebarBackgroundAnimation-iiFGhvRQ-BLezpzfb.js +0 -12
- package/dist/assets/EditPeoplePage-CG5gmNTR-By4xfZt2.js +0 -55
- package/dist/assets/EntityDetailPage-CL0FCU_m-57FjLCVr.js +0 -18
- package/dist/assets/InsightsSection-C16f1RZL-CuJbLdqY.js +0 -27
- package/dist/assets/InternationalWireVerificationPage-xmHZ6XN7-BNUJckvi.js +0 -65
- package/dist/assets/InvitePeoplePage-BArxsNxE-3PUmbMCi.js +0 -12
- package/dist/assets/InvoiceUploadSection-Eo7dq75t-Cy0Z1dJW.js +0 -140
- package/dist/assets/LabeledAddressValueField-DNGOSAvq-ZfEgza85.js +0 -45
- package/dist/assets/LabeledControlledCheckBoxField-CR2DslKs-pPmmCP0u.js +0 -16
- package/dist/assets/LabeledCountryMultiSelectField-B8Lbv837-DyTmt0bq.js +0 -237
- package/dist/assets/LabeledDocumentField-vSq1xSUM-SQWGz5c_.js +0 -41
- package/dist/assets/LabeledDropDownFormattedTextField-CqDEmdfe-DqyU6pbW.js +0 -59
- package/dist/assets/MagicLinkACHDetailsPage-C3TnWCqC-CY08CjBz.js +0 -1
- package/dist/assets/MagicLinkDomesticWireDetailsPage-BUjap5Q7-Bt-m4lf6.js +0 -1
- package/dist/assets/MagicLinkSuccessPage-CdHOdUZ5-BuqevIb3.js +0 -31
- package/dist/assets/MailingDetailsSection-WMvjKFiS-DrE6z-0r.js +0 -21
- package/dist/assets/MyProfileSettingsPage-B0uYhezS-zOi4BtW_.js +0 -85
- package/dist/assets/NoDataTable-B7LkfAQX-Bh-1O4BJ.js +0 -8
- package/dist/assets/OverlayContainerPage-D4QU0p4o-rH6NcU1w.js +0 -11
- package/dist/assets/PaymentAccountSetupBillingAddressSection-C026Xg59-BhwxbNk-.js +0 -107
- package/dist/assets/PeoplePage-PyWOVc5M-DDstQObu.js +0 -727
- package/dist/assets/RoleWithToolTip-DA3BIg5j-D1CK22Z-.js +0 -22
- package/dist/assets/ScheduleSequenceTable-B1fJ-_4f-mhp0CylL.js +0 -324
- package/dist/assets/SignIn-T74bkrxk-C_P0bpoN.js +0 -491
- package/dist/assets/SignInScreen-BoQ9lNZS.js +0 -1
- package/dist/assets/StatementItem-BthXwXFQ-BNIZCHgX.js +0 -31
- package/dist/assets/StatementsPage-FmjXzQ3g-B0d3-aZp.js +0 -58
- package/dist/assets/TimeframeSwitcherWithToggle-CdFx3214-B8qb2uqc.js +0 -31
- package/dist/assets/TransactionDetailPage-CaRcJukf-Bo597BVB.js +0 -903
- package/dist/assets/TransactionList-BAziC6eS-BmUgbhkd.js +0 -153
- package/dist/assets/TransactionListPage-Ce_lSS6C-DIQhg2cv.js +0 -35
- package/dist/assets/TreasuryTaxLetterPage-ClJA2mWI-CtelY7nv.js +0 -58
- package/dist/assets/Vendor2FAPopup-DK98Bntc-DVN99uTL.js +0 -1
- package/dist/assets/VendorACHDetailsPage-Bxo11l9N-k6uIrVLU.js +0 -1
- package/dist/assets/VendorInternationalWireSwiftDetailsPage-BNySLbxk-ClaB4MmH.js +0 -1
- package/dist/assets/ZeniAccountNavBarPieces-BK32R48c-BBttD6LN.js +0 -14
- package/dist/assets/analyticsHelper-CuSP0M5f.js +0 -1
- package/dist/assets/commonTypes-DP3nDhtI-B_y6nYRG.js +0 -1
- package/dist/assets/downloadPdf-C1zKY9Rq-CXegp3G4.js +0 -1
- package/dist/assets/epic-av5bi8Jm.js +0 -2
- package/dist/assets/helper-Byvbf3nO-DBknGFPS.js +0 -223
- package/dist/assets/mapLoadingInProgressToTreeNode-9Rpdq0ZF-CtStsMXI.js +0 -1
- package/dist/assets/mapSpacerToTreeNode-BCRaNO17-jsRjLpEV.js +0 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-Cc1RpGkM-BW4ULwuZ.js +0 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-DRCseSgo-DGrY-pp2.js +0 -1
- package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-BnHYlJ_0-LIMzcEpN.js +0 -1
- package/dist/assets/panelSelectedMixin-Cddsb26L-CUpBjaaO.js +0 -3
- package/dist/assets/toCOABalancesWithID-BDzeodcz-Sx-7PAVa.js +0 -1
|
@@ -1,138 +0,0 @@
|
|
|
1
|
-
import{d as dt,J as ut,aR as Te,V as a,af as Z,a9 as pt,cX as mt,az as ft,cH as yt,aZ as ve,aQ as Oe,ge as ht,i as gt,bD as xt,ab as St,cI as wt,cr as Ct,cs as Dt,ct as bt,T as Tt,ad as vt,aS as Ot,o as c,y as F,an as Ve,F as je,gf as It,fC as Ie,f1 as Nt,R as $t,x as kt,am as Ae,H as Pt,a as Ft,u as N}from"./index-i62ZqD9V.js";import{a as V}from"./sentry-DhNwX3jk.js";import{n as d}from"./mui-rLvQ8A4a.js";import{ER as Vt,bi as H,Fm as jt,Fl as At,Fn as _t}from"./zeni-epic-state-DwkN4IvA.js";import{r as Lt,z as Et}from"./CompanyOfficerDetailsSection-5Gmlo5HX-pW5vmYaZ.js";import"./liveblocks-DXGUxn7J.js";import"./core-DQ8U4CJb.js";import"./recharts-BYppTjSs.js";import"./lottie-C1yptpVV.js";import"./analytics-DkApCpAh.js";import"./lexical-CvUIM9vD.js";import"./utils-BdIPH7k8.js";import"./helper-Byvbf3nO-DBknGFPS.js";import"./LabeledAddressValueField-DNGOSAvq-ZfEgza85.js";import"./LabeledCountryMultiSelectField-B8Lbv837-DyTmt0bq.js";import"./LabeledCreatableSingleSelectField-N1wb0l0p-BtlFpiVX.js";import"./LabeledDocumentField-vSq1xSUM-SQWGz5c_.js";import"./commonTypes-DP3nDhtI-B_y6nYRG.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},S=new t.Error().stack;S&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[S]="35628701-f1f9-4dfe-8a61-a841c05fdc00",t._sentryDebugIdIdentifier="sentry-dbid-35628701-f1f9-4dfe-8a61-a841c05fdc00")}catch{}})();const x={width:new F(343,580,726),titleWidth:new F(343,580,726,826),subTitlePaddingTop:new F(12,N[3]),subTitlePaddingBottom:new F(N[3],N[3]),verificationDetailsRowGap:new F(12,N[5],N[5]),termsPaddingLeftRight:new F(N[0],N[3])},Bt={stepTitle:new Pt("h6Regular","h5Regular")},Ne="businessVerificationPage",b="companyDetails",T="companyOfficerDetails",{commonSetUp:{businessVerification:s},common:{settings:Rt,currency:$e,footer:ke,strings:{empty:zt}}}=je.getLocalizedStrings(),va=({businessVerificationDetails:t,allNationalityCountries:S,verficationDetailsFetchState:$,isRefreshingViewInBackground:L,filesEndPoint:i,authParams:E,productType:m,allIndustries:j,companyTitles:B,maxInsuredAmount:f,isDisabled:k,isSettings:r=!1,isOverlay:h=!1,analytics:g,isStepInProgress:w=!1,isTreasuryTransferInitiated:X=!1,transferDetails:R,onOverlayClose:te,onAddressClick:ae,onRegisteredAddressClick:Le,onBackClick:A,onGetOtp:Ee,onVerifyOtp:Be,onResendOtp:Re,onSendForVerificationClick:ze,onEditFileName:ie,onCompanyDetailsChanged:Ue,updateFilesEntity:se,onDeleteFile:ne,onDeleteFileList:Me,onCompanyOfficerUpdated:We,saveNewAddressInLocalStore:re,onSaveDetailsClick:Ge,onClickMenuIcon:Ze,onExecuteTreasuryTransfer:He})=>{const Xe=dt(),u=ut(),{updateStatus:z,companyView:_,companyDetailsLocalData:o,companyOfficerLocalData:C}=t,qe=Te(z.fetchState),U=_?.company.company.featuresActivationInfo.connectedAccountProvider,Je=U==="unit"?a.jsxs(Jt,{children:[s.terms.term1,a.jsx(Z,{href:s.terms.consentUrl,onZeniLinkClick:()=>(g?.trackBillPayAgreement(),!0),linkText:s.terms.consent}),s.terms.term2,a.jsx(Z,{href:s.terms.depositUrl,onZeniLinkClick:()=>(g?.trackBillPayAgreement(),!0),linkText:s.terms.depositTerms}),s.terms.term3,a.jsx(Z,{href:s.terms.privacyPolicyUrl,onZeniLinkClick:()=>(g?.trackBillPayAgreement(),!0),linkText:s.terms.privacy}),s.terms.term4,a.jsx(Z,{href:s.terms.tosUrl,onZeniLinkClick:()=>(g?.trackBillPayPrivacyPolicy(),!0),linkText:s.terms.tos}),s.terms.term5]}):s.terms.termsForStripe,[Ke,q]=V.useState(!1),[M,oe]=V.useState("save"),[J,Qe]=V.useState(!1),p=pt({mode:"all",reValidateMode:"onChange",defaultValues:Ut(t,j,B,S)}),{isValid:Ye}=p.formState,W=_?.company.company.companyBillPayInfo,G=_?.company.company.companyTreasuryInfo,P=m==="zeni_treasury"?G?.companyVerificationStatus:W?.companyVerificationStatus,v=Object.values(C).findIndex(e=>e?.isSelectedForVerification===!0),O=`Officer_${v<0?1:v+1}`,et=()=>{const e=C[O],n=e?.email,l=e?.birthday?.toString(),y=e?.ownershipInCompany,D=e?.firstName,I=e?.lastName,ue=e?.titleAtCompany,pe=e?.documentTypeSelectedForVerification,me=e?.phone,fe=e?.addressStatus?.addressToCreate,ye=fe!=null?H(fe):void 0,he=o?.companyDescription,Y=o?.companyLegalName,ge=o?.companyIndustry,xe=o?.phone,Se=o?.website,we=o?.addressStatus?.addressToCreate!=null?H(o?.addressStatus?.addressToCreate):void 0,ee=o?.primaryContactLocalData,Ce=ee?.firstName,De=ee?.lastName,be=ee?.email;n!=null&&y!=null&&D!=null&&I!=null&&l!=null&&ue!=null&&me!=null&&ye!=null&&pe!=null&&he!=null&&Y!=null&&xe!=null&&Se!=null&&ge!=null&&Y!=null&&we!=null&&Ce!=null&&De!=null&&be!=null&&g?.trackBusinessVerificationSend({email:n,birthday:l.toString(),companyOwnership:y,firstName:D,lastName:I,companyRole:ue,phone:me,formattedAddress:ye,documentTypeForVerification:pe},{companyDescription:he,legalName:Y,phone:xe,website:Se.toString(),industry:ge,formattedAddress:we},{firstName:Ce,lastName:De,email:be},m,r?"Settings":void 0)},tt=()=>{const e=C[O],n=o?.primaryContactLocalData,l=e?.email??"",y=!!e?.firstName&&!!e?.lastName,D=n?.email??"",I=!!n?.firstName&&!!n?.lastName;return l&&!y?((!e?.firstName||!e?.lastName)&&p.trigger(`${T}.${v<0?0:v}.name`,{shouldFocus:!0}),!1):D&&!I?((!n?.firstName||!n?.lastName)&&p.trigger(`${b}.primaryContactName`,{shouldFocus:!0}),!1):!0},at=()=>{const e=C[O],n=o?.primaryContactLocalData,l=e?.email,y=n?.email;if(l){if(!y)return(n?.firstName||n?.lastName)&&p.trigger(`${b}.primaryContactEmail`,{shouldFocus:!0}),!1}else if(e?.firstName||e?.lastName||e?.birthday||e?.nationalityCountryCode||e?.ownershipInCompany||e?.phone||e?.ssn||e?.titleAtCompany||e?.addressStatus?.addressToCreate||e?.fileIds!=null&&e?.fileIds.length>0||K!=null&&K?.length>0)return p.trigger(`${T}.${v<0?0:v}.email`,{shouldFocus:!0}),!1;return!0},it=p.handleSubmit(()=>{if(M!=="verification"&&oe("verification"),U==="unit"&&C[O]?.isPhoneVerified!==!0){p.setError(`${T}.${v}.phone`,{type:"custom"});return}const e=mt(Object.values(C).map(l=>Object.values(l?.deleteFileStatusById??{}).filter(y=>y!=null))),n=Object.values(o?.deleteFileStatusById??{}).filter(l=>l!=null);Vt(e.concat(n)).fetchState!=="In-Progress"&&Ye&&(et(),ze?.(O),X===!0&&He?.())}),st=async(e,n)=>{e.includes(b)?Ue?.(n[b]):e.includes(T)&&We?.(n[T])},nt=V.useCallback(ft((e,n)=>{st(e,n)},300),[]);V.useEffect(()=>{const e=p.watch((n,{name:l})=>{l!=null&&n!=null&&yt(()=>nt(l,n))});return()=>{e.unsubscribe()}});const le=Te(t.companyDetailsLocalData?.addressStatus);V.useEffect(()=>{t.companyDetailsLocalData?.addressStatus?.addressToCreate!=null&&t.companyDetailsLocalData?.registeredAddressStatus?.addressToCreate==null&&le==null&&(re?.("company_registered_address",t.companyDetailsLocalData?.addressStatus?.addressToCreate),p.setValue(`${b}.registeredAddress`,t.companyDetailsLocalData?.addressStatus?.addressToCreate))},[t.companyDetailsLocalData?.addressStatus,t.companyDetailsLocalData?.registeredAddressStatus,le,re,p]);const ce=_?.companyOfficers.slice(0,10).sort((e,n)=>e.user.createTime?.isAfter(n.user.createTime)===!0?1:-1),K=ce?.map(e=>e.user),rt=ce?.map(e=>e.role),ot={onOkClick:()=>{q(!1),A();const e=[],n=_?.company.company.incInfo.fileIds??[];p.getValues(`${b}.fileIds`).forEach(l=>{n.includes(l)||e.push(l)}),rt?.forEach((l,y)=>{const D=l?.fileIds??[];p.getValues(`${T}.${y}.fileIds`).forEach(I=>{D.includes(I)||e.push(I)})}),e.length!==0&&Me?.(e)},onCancelClick:()=>{q(!1)}},lt=ve(Oe(f),f,$e.currencySymbol).toUpperCase(),Q=P?.code==="pending_review"||P?.code==="verified",de=(R?.treasuryTransferMoneyLocalData?.amount?.amount??0)>0;if(m==="zeni_treasury"&&P?.code==="pending_review"&&qe==="In-Progress"&&z.fetchState==="Completed")return a.jsxs(ia,{children:[a.jsxs(sa,{children:[a.jsx(ht,{}),a.jsx(na,{windowSize:u,children:X===!0?s.submittedTitleWithTransfer:s.submittedTitle}),a.jsx(aa,{isReadonly:!1,children:X===!0?s.submittedDescriptionWithTransfer.replace("__amount__",ve(Oe(R?.treasuryTransferMoneyLocalData?.amount?.amount??0),R?.treasuryTransferMoneyLocalData?.amount?.amount??0,$e.currencySymbol)).replace("__account__",R?.treasuryTransferMoneyLocalData?.fromAccount?.label??""):s.submittedDescription})]}),a.jsx(gt,{label:s.submittedButton,onClick:()=>{A(),te?.()},variant:"primary"})]});const ct=()=>{const e=W?.companyVerificationStatus?.code==="verified",n=G?.companyVerificationStatus?.code==="verified",l=(o?.countriesOfOperations?.length??0)>0||o?.companySourceOfFunds!=null||o?.transactionVolume!=null||o?.purposeOfAccount!=null||o?.registeredAddressStatus!=null||o?.usNexus!=null;return m==="zeni_treasury"&&(e===!1&&n===!0||e===!0&&n===!1&&l)};return a.jsxs(Mt,{isSettings:r,children:[a.jsx(xt,{title:h&&w===!0?zt:s.header,backgroundColor:Xe.colors.grey5,style:{zIndex:J?1:4},onBackClick:()=>{wt(p.formState.dirtyFields)?q(!0):A()},showBackButton:!r&&!h,showMenuIcon:r?u==="medium-compact"||u==="small":!1,onClickMenuIcon:Ze,rightSideComponent:h?a.jsx(ra,{"data-testid":St("nav-bar-close-business-verification-overlay"),onClick:()=>{A(),te?.()}}):null,source:"BusinessVerificationPage"}),Ke===!0?a.jsx(Ct,{titleComponent:a.jsx(bt,{children:s.discardTitle}),descriptionComponent:a.jsx(Dt,{children:s.discardDescription}),primaryButtonText:s.discard,secondaryButtonText:s.cancel,action:ot}):null,a.jsxs(Zt,{windowSize:u,children:[(!h||w===!1)&&a.jsx(Gt,{windowSize:u,children:r?Rt.infoText.businessVerification:s.title}),$==="In-Progress"||$==="Not-Started"?a.jsx(Ht,{children:a.jsx(Tt,{size:"ExtraLarge",start:!0})}):a.jsx(vt,{...p,children:a.jsxs("form",{id:Pe(Ne),onSubmit:it,children:[h&&w===!0&&a.jsxs(Wt,{children:[a.jsxs(Kt,{windowSize:u,children:[a.jsx(Qt,{windowSize:u,children:Q?s.businessVerificationDetails:de?s.verifyBusinessDetails:s.verifyBusinessDetailsWithoutTransfer}),!Q&&a.jsx(Yt,{children:a.jsxs(ea,{children:[a.jsx(Fe,{}),de&&a.jsx(Fe,{}),a.jsx(ta,{})]})})]}),a.jsx(_e,{isReadonly:Q,children:s.verifyBusinessDetailsDescription})]}),a.jsxs(Xt,{children:[a.jsx(Lt,{companyOfficerData:C,allNationalityCountries:S,allOfficers:K??[],sectionId:T,isRefreshingViewInBackground:L,connectedAccountProvider:U,productType:"business_verification",updateFilesEntity:se,onEditFileName:ie,onOfficerAddressClick:ae,onDeleteFile:ne,isDisabled:k,filesEndPoint:i,authParams:E,isPopupOpen:J,openPopup:Qe,onGetOtp:Ee,onVerifyOtp:Be,onResendOtp:Re,companyTitles:B,isForTreasury:m==="zeni_treasury",isOverlay:h}),a.jsx(Et,{companyDetails:o,businessVerificationProps:{companyVerificationStatus:P,isRefreshingViewInBackground:L},productType:"business_verification",showTreasuryFields:m==="zeni_treasury",hideNewOnboardingFields:ct(),sectionId:b,isDisabled:P?.code==="pending_review"||P?.code==="verified"?"readonly":k,fileProps:{authParams:E,filesEndPoint:i,onEditFileName:ie,onDeleteFile:ne,updateFilesEntity:se},onCompanyAddressClick:ae,onRegisteredAddressClick:Le,connectedAccountProvider:U,allIndustries:j,allNationalityCountries:S})]}),m==="zeni_accounts"?a.jsx(qt,{windowSize:u,children:s.threadText.replace("__amount__",lt)}):null]})})]}),$==="Completed"&&(m==="zeni_treasury"?G?.companyVerificationStatus?.code!=="pending_review"&&G?.companyVerificationStatus?.code!=="verified":W?.businessVerificationStatus?.code!=="pending_review"&&W?.businessVerificationStatus?.code!=="verified")?a.jsx(Ot,{formId:Pe(Ne),primaryBtn:{label:w?ke.submit:s.sendForVerificationButton,style:{width:"auto",minWidth:u==="small"?"auto":w?"83px":"181px"},isLoading:M==="verification"&&z.fetchState==="In-Progress",isDisabled:k!=null},containerStyle:{width:u==="small"?x.width.valuePx(u):"auto",justifyContent:u==="small"?"space-between":"center"},helperStyle:{width:u==="small"?x.width.valuePx(u):"auto",paddingLeft:x.termsPaddingLeftRight.valuePx(u),paddingRight:x.termsPaddingLeftRight.valuePx(u),textAlign:u==="small"?"center":"initial"},showCancel:!0,cancelBtn:{reverseSpinnerColor:!1,label:w?ke.back:s.saveDetailsButton,style:{width:u==="small"?"auto":w?"83px":"181px"},isLoading:M==="save"&&z.fetchState==="In-Progress",onClick:()=>{if(w)A();else{const e=C[O],n=o?.primaryContactLocalData;M!=="save"&&oe("save");const l=e?.email??"",y=tt(),D=at();y&&D&&(g?.trackBusinessVerificationSave({email:l,birthday:e?.birthday?.toString(),companyOwnership:e?.ownershipInCompany,firstName:e?.firstName,lastName:e?.lastName,companyRole:e?.titleAtCompany,phone:e?.phone,formattedAddress:e?.addressStatus?.addressToCreate!=null?H(e?.addressStatus?.addressToCreate):void 0,documentTypeForVerification:e?.documentTypeSelectedForVerification},{companyDescription:o?.companyDescription,legalName:o?.companyLegalName,phone:o?.phone,website:o?.website?.toString(),industry:o?.companyIndustry??"",formattedAddress:o?.addressStatus?.addressToCreate!=null?H(o?.addressStatus?.addressToCreate):void 0},{firstName:n?.firstName,lastName:n?.lastName,email:n?.email},m,r?"Settings":void 0),Ge?.(O))}}},helperText:Je,style:{padding:`12px ${c.sp3}`,zIndex:J?0:4}}):null]})},Ut=(t,S,$,L)=>{const{companyDetailsLocalData:i,companyOfficerLocalData:E,companyView:m}=t,j=je.getLocalizedStrings().companyPassport,B=m?.companyOfficers!=null&&m?.companyOfficers.length>0;return{[b]:{companyDescription:i?.companyDescription??"",ein:i?.companyFiles.find(f=>f.documentType==="tax_ein"),companyId:i?.companyId??"",syncToken:i?.syncToken,companyLegalName:i?.companyLegalName??"",companyWebsite:i?.website?.toString()??"",companyAddress:i?.addressStatus?.addressToCreate,registeredAddress:i?.registeredAddressStatus?.addressToCreate,companyIndustry:{selectedOption:i?.companyIndustry,allOptions:S?.map(f=>f.code)},companyPhone:i?.phone??"",companyTaxId:i?.taxIdOrEIN??"",primaryContactName:{firstName:i?.primaryContactLocalData?.firstName??"",lastName:i?.primaryContactLocalData?.lastName??""},primaryContactEmail:i?.primaryContactLocalData?.email??"",primaryContactUserId:i?.primaryContactLocalData?.userId,primaryContactSyncToken:i?.primaryContactLocalData?.syncToken,fileIds:i?.companyFiles.map(f=>f.fileId)??[],certificateOfIncorporation:i?.companyFiles.find(f=>f.documentType==="certificate_of_incorporation"),incDate:i?.incDate?.toDate(),typeOfIncorporation:{selectedOption:i?.typeOfIncorporation,allOptions:j.companyIncInfo.allTypesOfIncorporation},stateOfIncorporation:{selectedOption:i?.stateOfIncorporation,allOptions:j.companyIncInfo.allStatesOfIncorporation},sourceOfFunds:{selectedOption:i?.sourceOfFunds??"",allOptions:Object.keys(s.sourceOfFundOptions)},companySourceOfFunds:{selectedOption:i?.companySourceOfFunds??"",allOptions:Object.keys(s.companySourceOfFundOptions??{})},companySourceOfFundsDescription:i?.companySourceOfFundsDescription??"",transactionVolume:{selectedOption:i?.transactionVolume,allOptions:[..._t]},transactionVolumeDescription:i?.transactionVolumeDescription??"",purposeOfAccount:{selectedOption:i?.purposeOfAccount,allOptions:[...At]},purposeOfAccountDescription:i?.purposeOfAccountDescription??"",usNexus:i?.usNexus??"",usNexusTypes:{selectedOptions:i?.usNexusTypes??[],allOptions:[...jt]},regulatedStatus:i?.regulatedStatus??"",regulatedStatusDescription:i?.regulatedStatusDescription??""},[T]:Object.values(E).map((f,k)=>{const r=f,h=It(r?.documentTypeSelectedForVerification);return{userId:r?.userId,officerType:r?.officerType??`Officer_${k+1}`,name:{firstName:r?.firstName,lastName:r?.lastName},email:r?.email,fileIds:r?.fileIds??[],dob:r?.birthday?.toDate(),nationalityCountryCode:Nt(r?.nationalityCountryCode,L.map(g=>g.countryCode)),ssn:r?.ssn,role:{selectedOption:r?.titleAtCompany,allOptions:$?.map(g=>g.code)},phone:r?.phone??"",ownership:r?.ownershipInCompany,officerAddress:r?.addressStatus?.addressToCreate,selectDocument:{front:Ie(!0,r?.userFiles??[],h),back:Ie(!1,r?.userFiles??[],h),selectDocumentType:h},isSelectedForVerification:!B&&k===0?!0:r?.isSelectedForVerification??!1,userVerificationStatus:r?.userVerificationStatus,treasuryUserVerificationStatus:r?.treasuryUserVerificationStatus,syncToken:r?.syncToken,isPhoneVerified:r?.isPhoneVerified,otpChallenge:r?.otpChallenge}})}},Pe=t=>`${t}_form`,Mt=d.div`
|
|
2
|
-
display: flex;
|
|
3
|
-
min-height: 100%;
|
|
4
|
-
flex-direction: column;
|
|
5
|
-
width: 100%;
|
|
6
|
-
row-gap: ${c.sp3};
|
|
7
|
-
background-color: ${t=>t.isSettings?"unset":t.theme.colors.grey5};
|
|
8
|
-
`,Wt=d.div`
|
|
9
|
-
display: flex;
|
|
10
|
-
flex-direction: column;
|
|
11
|
-
align-items: flex-start;
|
|
12
|
-
justify-content: center;
|
|
13
|
-
gap: ${c.sp1};
|
|
14
|
-
width: 100%;
|
|
15
|
-
padding-bottom: ${c.sp3};
|
|
16
|
-
`,Gt=d(Ae)`
|
|
17
|
-
color: ${t=>t.theme.colors.hero};
|
|
18
|
-
display: flex;
|
|
19
|
-
justify-content: center;
|
|
20
|
-
width: ${t=>x.titleWidth.valuePx(t.windowSize)};
|
|
21
|
-
padding-top: ${t=>x.subTitlePaddingTop.valuePx(t.windowSize)};
|
|
22
|
-
padding-bottom: ${t=>x.subTitlePaddingBottom.valuePx(t.windowSize)};
|
|
23
|
-
text-align: ${t=>t.windowSize==="small"?"initial":"center"};
|
|
24
|
-
`,Zt=d.div`
|
|
25
|
-
display: flex;
|
|
26
|
-
justify-content: flex-start;
|
|
27
|
-
height: 100%;
|
|
28
|
-
overflow-y: auto;
|
|
29
|
-
flex-direction: column;
|
|
30
|
-
align-items: center;
|
|
31
|
-
padding-bottom: ${c.sp9};
|
|
32
|
-
row-gap: ${t=>x.verificationDetailsRowGap.valuePx(t.windowSize)};
|
|
33
|
-
`,Ht=d.div`
|
|
34
|
-
display: flex;
|
|
35
|
-
width: 100%;
|
|
36
|
-
height: calc(100vh - 110px);
|
|
37
|
-
flex-direction: row;
|
|
38
|
-
justify-content: center;
|
|
39
|
-
align-items: center;
|
|
40
|
-
background-color: ${t=>t.theme.colors.grey4};
|
|
41
|
-
`,Xt=d.div`
|
|
42
|
-
display: flex;
|
|
43
|
-
flex-direction: column;
|
|
44
|
-
row-gap: ${c.sp11};
|
|
45
|
-
`,qt=d(Ve)`
|
|
46
|
-
margin-top: ${c.sp2};
|
|
47
|
-
padding: ${c.sp2} ${c.sp2};
|
|
48
|
-
text-align: center;
|
|
49
|
-
color: ${t=>t.theme.colors.grey1};
|
|
50
|
-
width: ${t=>x.width.valuePx(t.windowSize)};
|
|
51
|
-
`,Jt=d(Ve)`
|
|
52
|
-
text-align: center;
|
|
53
|
-
max-width: 750px;
|
|
54
|
-
color: ${t=>t.theme.colors.hero};
|
|
55
|
-
`,Kt=d.div`
|
|
56
|
-
display: flex;
|
|
57
|
-
flex-direction: column;
|
|
58
|
-
gap: ${c.sp3};
|
|
59
|
-
width: 100%;
|
|
60
|
-
`,Qt=d(Ft)`
|
|
61
|
-
${t=>`${Bt.stepTitle.style(t.windowSize)}`};
|
|
62
|
-
color: ${t=>t.theme.colors.primary};
|
|
63
|
-
text-align: left;
|
|
64
|
-
`,Yt=d.div`
|
|
65
|
-
display: flex;
|
|
66
|
-
align-items: center;
|
|
67
|
-
overflow: hidden;
|
|
68
|
-
gap: ${c.sp2};
|
|
69
|
-
`,ea=d.div`
|
|
70
|
-
display: flex;
|
|
71
|
-
width: 100%;
|
|
72
|
-
gap: ${c.sp3};
|
|
73
|
-
`,Fe=d.div`
|
|
74
|
-
flex: 1;
|
|
75
|
-
height: 2px;
|
|
76
|
-
background-color: ${t=>t.theme.colors.primary};
|
|
77
|
-
border-radius: ${c.sp2};
|
|
78
|
-
`,ta=d.div`
|
|
79
|
-
flex: 1;
|
|
80
|
-
height: 2px;
|
|
81
|
-
background-color: ${t=>t.theme.colors.grey3};
|
|
82
|
-
border-radius: ${c.sp2};
|
|
83
|
-
position: relative;
|
|
84
|
-
overflow: hidden;
|
|
85
|
-
|
|
86
|
-
&::after {
|
|
87
|
-
content: "";
|
|
88
|
-
position: absolute;
|
|
89
|
-
top: 0;
|
|
90
|
-
left: 0;
|
|
91
|
-
height: 100%;
|
|
92
|
-
width: 100%;
|
|
93
|
-
background-color: ${t=>t.theme.colors.primary};
|
|
94
|
-
animation: fillProgress 1s ease-in-out forwards;
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
@keyframes fillProgress {
|
|
98
|
-
0% {
|
|
99
|
-
transform: translateX(-100%);
|
|
100
|
-
}
|
|
101
|
-
100% {
|
|
102
|
-
transform: translateX(0%);
|
|
103
|
-
}
|
|
104
|
-
}
|
|
105
|
-
`,_e=d(Ae)`
|
|
106
|
-
color: ${t=>t.theme.colors.hero};
|
|
107
|
-
margin-top: ${t=>t.isReadonly?c.sp0:c.sp3};
|
|
108
|
-
white-space: pre-line;
|
|
109
|
-
`,aa=d(_e)`
|
|
110
|
-
margin-top: ${c.sp0};
|
|
111
|
-
text-align: center;
|
|
112
|
-
`,ia=d.div`
|
|
113
|
-
display: flex;
|
|
114
|
-
flex-direction: column;
|
|
115
|
-
align-items: center;
|
|
116
|
-
justify-content: center;
|
|
117
|
-
gap: ${c.sp5};
|
|
118
|
-
margin: auto;
|
|
119
|
-
`,sa=d.div`
|
|
120
|
-
display: flex;
|
|
121
|
-
flex-direction: column;
|
|
122
|
-
align-items: center;
|
|
123
|
-
justify-content: center;
|
|
124
|
-
gap: ${c.sp3};
|
|
125
|
-
`,na=d($t)`
|
|
126
|
-
color: ${t=>t.theme.colors.primary};
|
|
127
|
-
white-space: pre-line;
|
|
128
|
-
text-align: center;
|
|
129
|
-
`,ra=d(kt)`
|
|
130
|
-
cursor: pointer;
|
|
131
|
-
color: ${t=>t.theme.colors.hero};
|
|
132
|
-
width: ${c.sp4};
|
|
133
|
-
height: ${c.sp4};
|
|
134
|
-
min-height: ${c.sp4};
|
|
135
|
-
&:hover {
|
|
136
|
-
color: ${t=>t.theme.colors.primary};
|
|
137
|
-
}
|
|
138
|
-
`;export{va as default,Pe as uniqueName};
|
|
@@ -1,60 +0,0 @@
|
|
|
1
|
-
import{d as F,J as N,V as t,bD as W,o as h,F as R,y as g,am as B,ba as O,a8 as V,hO as _,T as J,ab as q,u as s,c4 as G}from"./index-i62ZqD9V.js";import{n as r}from"./mui-rLvQ8A4a.js";import{$ as Q,g as U}from"./BoxItem-CvhcNreT-BVRPLdci.js";import{a as Z}from"./sentry-DhNwX3jk.js";import{w as H}from"./downloadPdf-C1zKY9Rq-CXegp3G4.js";import"./liveblocks-DXGUxn7J.js";import"./core-DQ8U4CJb.js";import"./recharts-BYppTjSs.js";import"./zeni-epic-state-DwkN4IvA.js";import"./lottie-C1yptpVV.js";import"./analytics-DkApCpAh.js";import"./lexical-CvUIM9vD.js";import"./utils-BdIPH7k8.js";import"./commonDimensions-CWffpElu-Q8mZH4nJ.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},a=new e.Error().stack;a&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[a]="bb9cfb36-066d-4bff-96d5-8cb93e06536f",e._sentryDebugIdIdentifier="sentry-dbid-bb9cfb36-066d-4bff-96d5-8cb93e06536f")}catch{}})();const E=R.getLocalizedStrings().months,Y={downloadButtonSize:new g(s[4],20)},K=r.div`
|
|
2
|
-
display: flex;
|
|
3
|
-
padding: ${h.sp3} ${h.sp4};
|
|
4
|
-
flex-direction: row;
|
|
5
|
-
width: 100%;
|
|
6
|
-
`,X=r.div`
|
|
7
|
-
display: flex;
|
|
8
|
-
justify-content: space-between;
|
|
9
|
-
align-items: center;
|
|
10
|
-
width: 100%;
|
|
11
|
-
`,ee=r(B)`
|
|
12
|
-
display: -webkit-box;
|
|
13
|
-
-webkit-box-orient: vertical;
|
|
14
|
-
-webkit-line-clamp: 1;
|
|
15
|
-
max-height: ${h.sp11};
|
|
16
|
-
text-overflow: ellipsis;
|
|
17
|
-
word-break: break-word;
|
|
18
|
-
text-align: left;
|
|
19
|
-
overflow: hidden;
|
|
20
|
-
`,te=r.div`
|
|
21
|
-
cursor: pointer;
|
|
22
|
-
`,ie=r(G)`
|
|
23
|
-
width: ${e=>Y.downloadButtonSize.valuePx(e.windowSize)};
|
|
24
|
-
height: ${e=>Y.downloadButtonSize.valuePx(e.windowSize)};
|
|
25
|
-
min-height: ${e=>Y.downloadButtonSize.valuePx(e.windowSize)};
|
|
26
|
-
color: ${e=>e.theme.colors.grey1};
|
|
27
|
-
&:hover {
|
|
28
|
-
color: ${e=>e.theme.colors.primary};
|
|
29
|
-
}
|
|
30
|
-
`;function ae({currentTenantCompanyName:e,data:a,index:n,controllerEmails:l,isDebitCardFeatureEnabled:i,isDebitCardSetupEnabled:o,chargeCardCashbackDetailState:d,depositAccountListWithDebitCardIssued:y,debitCardSummary:x,productInformation:C,creditAccountInformation:S,debitAccountInformation:I,cashbackInformation:p,creditAccountRepayment:$,authParams:P,downloadEndPoint:k,boxType:j}){const b=V().analytics,[v,z]=Z.useState(!1),c=N(),D=E[a.monthYearPeriod.month-1],u=`${e}-Credit-Card-Monthly-Statement-${E[a.monthYearPeriod.month-1]}-${a.monthYearPeriod.year}.pdf`,m={period:`${a.monthYearPeriod.year}-${_(a.monthYearPeriod.month)}`,format:"pdf"},f=t.jsx(K,{children:t.jsxs(X,{children:[t.jsx(ee,{children:D}),t.jsx(te,{"data-testid":q("download-card-statement"),onClick:()=>{d.fetchState==="Completed"&&$.fetchState==="Completed"&&(!(i&&o)||y.fetchState==="Completed"&&x?.fetchState==="Completed")&&p!=null&&b.trackCardsDownloadClick(l,C,p,{fileCategory:"Credit Card Statement",fileType:"pdf",fileName:u,fileMonthYear:`${E[a.monthYearPeriod.month-1]} ${a.monthYearPeriod.year}`},"Credit Card Statements",n+1,S,I),H(`${k}/statements?query=${encodeURIComponent(JSON.stringify(m))}`,u,P,z)},children:v?t.jsx(J,{size:"Small",start:!0}):t.jsx(ie,{windowSize:c})})]})});return t.jsx(U,{content:f,boxType:j,isDisabled:!1,isNotClickable:!0})}const A=R.getLocalizedStrings().spendManagement.chargeCard.statements,w={listItemMarginLeftRight:new g(s[3],s[8]),containerMarginTop:new g(s[0],s[2]),titleMarginLeftRight:new g(s[3],s[8])},ke=({currentTenantCompanyName:e,authParams:a,controllerEmails:n,productInformation:l,cashbackInformation:i,creditAccountInformation:o,debitAccountInformation:d,isChargeCardFeatureEnabled:y,isDebitCardFeatureEnabled:x,isDebitCardSetupEnabled:C,isChargeCardSetupEnabled:S,chargeCardCashbackDetailState:I,depositAccountListWithDebitCardIssued:p,creditAccountRepayment:$,debitCardSummary:P,creditAccount:k,downloadEndPoint:j,statementListView:b,onBackClick:v})=>{const z=F(),c=N(),{sortedYear:D,monthsByYearWithSortedMonth:u}=me(b.statements);return t.jsxs(se,{children:[t.jsx(W,{title:A.title,backgroundColor:z.colors.grey4,style:{zIndex:3},onBackClick:v,source:"ChargeCardStatementsPage"}),t.jsx(ce,{windowSize:c,children:b.statements.length===0?t.jsx(M,{children:t.jsx(de,{children:t.jsx(L,{windowSize:c,children:t.jsx(le,{children:A.noStatements})})})}):t.jsx(re,{children:D.map(m=>t.jsxs(ne,{children:[t.jsx(oe,{windowSize:c,children:m}),t.jsx(M,{children:u[m].map((f,T)=>t.jsx(L,{windowSize:c,children:t.jsx(ae,{productInformation:l,creditAccountInformation:o,debitAccountInformation:d,cashbackInformation:i,creditAccountRepayment:$,depositAccountListWithDebitCardIssued:p,debitCardSummary:P,controllerEmails:n,isChargeCardFeatureEnabled:y,isDebitCardFeatureEnabled:x,isDebitCardSetupEnabled:C,isChargeCardSetupEnabled:S,chargeCardCashbackDetailState:I,creditAccount:k,currentTenantCompanyName:e,index:T,data:f,authParams:a,downloadEndPoint:j,boxType:Q(T,u[m].length)},f.id)},f.id))})]},m))})})]})},re=r.div``,ne=r.div`
|
|
31
|
-
margin-bottom: ${h.sp6};
|
|
32
|
-
`,M=r.div``,oe=r(O)`
|
|
33
|
-
margin-left: ${e=>w.titleMarginLeftRight.valuePx(e.windowSize)};
|
|
34
|
-
margin-bottom: ${h.sp3};
|
|
35
|
-
`,L=r.div`
|
|
36
|
-
margin-left: ${e=>w.listItemMarginLeftRight.valuePx(e.windowSize)};
|
|
37
|
-
margin-right: ${e=>w.listItemMarginLeftRight.valuePx(e.windowSize)};
|
|
38
|
-
`,de=r.div`
|
|
39
|
-
display: flex;
|
|
40
|
-
height: 100%;
|
|
41
|
-
flex: 1 1 auto;
|
|
42
|
-
flex-direction: row;
|
|
43
|
-
justify-content: center;
|
|
44
|
-
align-items: flex-end;
|
|
45
|
-
`,se=r.div`
|
|
46
|
-
display: flex;
|
|
47
|
-
height: 100%;
|
|
48
|
-
flex-direction: column;
|
|
49
|
-
width: 100%;
|
|
50
|
-
padding-bottom: ${h.sp7};
|
|
51
|
-
`,le=r(B)`
|
|
52
|
-
display: flex;
|
|
53
|
-
color: ${e=>e.theme.colors.grey2};
|
|
54
|
-
`,ce=r.div`
|
|
55
|
-
display: flex;
|
|
56
|
-
flex-direction: column;
|
|
57
|
-
width: 100%;
|
|
58
|
-
height: 100%;
|
|
59
|
-
margin-top: ${e=>w.containerMarginTop.valuePx(e.windowSize)};
|
|
60
|
-
`,me=e=>{const a=e.map(i=>{const[o,d]=i.period.split("-");return{id:i.id,monthYearPeriod:{year:parseInt(o),month:parseInt(d)}}}),n={};a.forEach(i=>{n[i.monthYearPeriod.year]!=null?n[i.monthYearPeriod.year].push(i):n[i.monthYearPeriod.year]=[i]});const l={};return Object.keys(n).forEach(i=>{l[Number(i)]=n[Number(i)].sort((o,d)=>d.monthYearPeriod.month-o.monthYearPeriod.month)}),{sortedYear:Object.keys(n).sort((i,o)=>Number(o)-Number(i)).map(i=>Number(i)),monthsByYearWithSortedMonth:l}};export{ke as default};
|
|
@@ -1,331 +0,0 @@
|
|
|
1
|
-
import{J as Ke,d as wl,cL as Sl,F as de,y as F,aR as zl,V as l,bU as Ol,fL as Il,aq as Xe,g5 as el,o as a,gf as Bl,cW as jl,cM as A,cO as Oe,cT as vl,f3 as Rl,f1 as Ml,cR as $l,cP as Z,gg as al,gh as ql,fD as Wl,cU as Je,fC as ol,cJ as Ul,p as z,cQ as il,b2 as Ne,cV as Hl,fT as Ll,H as Ve,bL as _l,fK as Cl,am as ll,g4 as El,b as Pe,ap as Yl,bI as Gl,u as B,dn as Ql,aw as Jl,gi as Zl,aj as tl,an as Kl,gj as Xl,bJ as ke,b6 as et,a as Fl,d1 as lt,au as tt,bH as at}from"./index-i62ZqD9V.js";import{a as m}from"./sentry-DhNwX3jk.js";import{a as ot,n as r}from"./mui-rLvQ8A4a.js";import{bh as Dl,Fp as it,Fq as rl,bL as rt,Fo as st,Fn as nt,Fl as dt,Fm as ct}from"./zeni-epic-state-DwkN4IvA.js";import{x as pt,p as ut,h as mt,g as ht,m as ft,b as gt,f as yt}from"./helper-Byvbf3nO-DBknGFPS.js";import{C as Ze}from"./LabeledAddressValueField-DNGOSAvq-ZfEgza85.js";import{b as bt}from"./LabeledCountryMultiSelectField-B8Lbv837-DyTmt0bq.js";import{I as sl}from"./LabeledCreatableSingleSelectField-N1wb0l0p-BtlFpiVX.js";import{Y as nl}from"./LabeledDocumentField-vSq1xSUM-SQWGz5c_.js";import{p as xt,i as wt,t as St}from"./commonTypes-DP3nDhtI-B_y6nYRG.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},c=new e.Error().stack;c&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[c]="1455c83c-dc79-4542-930a-eddb353d0bf2",e._sentryDebugIdIdentifier="sentry-dbid-1455c83c-dc79-4542-930a-eddb353d0bf2")}catch{}})();const Ot=e=>m.createElement("svg",{width:72,height:72,viewBox:"0 0 72 72",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},m.createElement("path",{opacity:.2,d:"M50.5391 6.01221C51.2636 6.01238 51.9584 6.29976 52.4707 6.81201L62.6016 16.9429C63.1141 17.4553 63.4022 18.1507 63.4023 18.8755V66.1353C63.4023 66.86 63.1149 67.5554 62.6025 68.0679C62.09 68.5804 61.3947 68.8686 60.6699 68.8687H14.2109C13.4862 68.8687 12.7908 68.5804 12.2783 68.0679C11.7658 67.5554 11.4775 66.8601 11.4775 66.1353V8.74463C11.4775 8.01982 11.7658 7.32453 12.2783 6.81201C12.7908 6.29962 13.4862 6.01221 14.2109 6.01221H50.5391Z",fill:"#97C3B9"}),m.createElement("path",{d:"M60.5227 61.2642V61.2318M60.5227 61.2318V15.9951C60.5226 15.2704 60.2346 14.5753 59.722 14.0629L49.5911 3.93209C49.0787 3.41953 48.3837 3.1315 47.659 3.13135H11.3306C10.6057 3.13135 9.91062 3.41928 9.3981 3.9318C8.88559 4.44431 8.59766 5.13944 8.59766 5.86425V63.2551C8.59766 63.9799 8.88559 64.6751 9.3981 65.1876C9.91062 65.7001 10.6057 65.988 11.3306 65.988H57.7898C58.5147 65.988 59.2098 65.7001 59.7223 65.1876C60.2348 64.6751 60.5227 64.0737 60.5227 63.2551C60.5227 62.4365 60.5227 61.2318 60.5227 61.2318Z",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),m.createElement("path",{d:"M46.8682 3.13135V12.9335C46.8682 13.2545 46.9371 13.5724 47.0709 13.869C47.2048 14.1656 47.401 14.4351 47.6483 14.6621C47.8956 14.8891 48.1893 15.0692 48.5124 15.1921C48.8356 15.3149 49.1819 15.3781 49.5317 15.3781H60.2144",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),m.createElement("g",{clipPath:"url(#clip0_1350_23850)"},m.createElement("rect",{x:16.75,y:15,width:22.501,height:1.5,fill:"#97C3B9"}),m.createElement("circle",{cx:16.75,cy:15.75,r:.75,transform:"rotate(90 16.75 15.75)",fill:"#97C3B9"}),m.createElement("circle",{cx:.75,cy:.75,r:.75,transform:"matrix(0 1 1 0 38.5 15)",fill:"#97C3B9"})),m.createElement("g",{clipPath:"url(#clip1_1350_23850)"},m.createElement("rect",{x:16.75,y:28.5,width:30.4971,height:1.5,fill:"#97C3B9"}),m.createElement("circle",{cx:16.75,cy:29.25,r:.75,transform:"rotate(90 16.75 29.25)",fill:"#97C3B9"}),m.createElement("circle",{cx:.75,cy:.75,r:.75,transform:"matrix(0 1 1 0 46.5 28.5)",fill:"#97C3B9"})),m.createElement("g",{clipPath:"url(#clip2_1350_23850)"},m.createElement("rect",{x:16.75,y:42,width:35.4953,height:1.5,fill:"#97C3B9"}),m.createElement("circle",{cx:16.75,cy:42.75,r:.75,transform:"rotate(90 16.75 42.75)",fill:"#97C3B9"}),m.createElement("circle",{cx:.75,cy:.75,r:.75,transform:"matrix(0 1 1 0 51.5 42)",fill:"#97C3B9"})),m.createElement("g",{clipPath:"url(#clip3_1350_23850)"},m.createElement("rect",{x:16.75,y:55.5,width:35.4953,height:1.5,fill:"#97C3B9"}),m.createElement("circle",{cx:16.75,cy:56.25,r:.75,transform:"rotate(90 16.75 56.25)",fill:"#97C3B9"}),m.createElement("circle",{cx:.75,cy:.75,r:.75,transform:"matrix(0 1 1 0 51.5 55.5)",fill:"#97C3B9"})),m.createElement("defs",null,m.createElement("clipPath",{id:"clip0_1350_23850"},m.createElement("rect",{width:24,height:1.5,fill:"white",transform:"translate(16 15)"})),m.createElement("clipPath",{id:"clip1_1350_23850"},m.createElement("rect",{width:32,height:1.5,fill:"white",transform:"translate(16 28.5)"})),m.createElement("clipPath",{id:"clip2_1350_23850"},m.createElement("rect",{width:37.12,height:1.5,fill:"white",transform:"translate(16 42)"})),m.createElement("clipPath",{id:"clip3_1350_23850"},m.createElement("rect",{width:37.12,height:1.5,fill:"white",transform:"translate(16 55.5)"})))),{commonSetUp:It}=de.getLocalizedStrings(),{businessVerification:dl}=It,je={iconSize:new F(B[6],B[10]),gap:new F(B[2],B[3])},Nl={title:new Ve("smallSemiBold","standardSemiBold"),description:new Ve("smallRegular","standardRegular")},Pl=()=>{const[e]=Jl("Secure"),c=Ke();return l.jsxs(jt,{windowSize:c,children:[e!=null?l.jsx(vt,{windowSize:c,animationData:e,play:!0,loop:!0,rendererSettings:{preserveAspectRatio:"xMidYMid slice"}}):l.jsx($t,{windowSize:c}),l.jsxs(Lt,{children:[l.jsx(_t,{windowSize:c,children:dl.securityMessageTitle}),l.jsx(Ct,{windowSize:c,children:dl.securityMessageDescription})]})]})},jt=r.div`
|
|
2
|
-
display: flex;
|
|
3
|
-
align-items: ${e=>e.windowSize==="small"?"flex-start":"center"};
|
|
4
|
-
gap: ${e=>je.gap.valuePx(e.windowSize)};
|
|
5
|
-
background-color: ${e=>e.theme.colors.background};
|
|
6
|
-
padding: ${e=>e.windowSize==="small"?a.sp3:`${a.sp3} ${a.sp4}`};
|
|
7
|
-
`,vt=r(et)`
|
|
8
|
-
width: ${e=>je.iconSize.valuePx(e.windowSize)};
|
|
9
|
-
height: ${e=>je.iconSize.valuePx(e.windowSize)};
|
|
10
|
-
display: block;
|
|
11
|
-
`,$t=r(Ot)`
|
|
12
|
-
width: ${e=>je.iconSize.valuePx(e.windowSize)};
|
|
13
|
-
height: ${e=>je.iconSize.valuePx(e.windowSize)};
|
|
14
|
-
color: ${e=>e.theme.colors.success};
|
|
15
|
-
`,Lt=r.div`
|
|
16
|
-
display: flex;
|
|
17
|
-
flex-direction: column;
|
|
18
|
-
justify-content: center;
|
|
19
|
-
align-items: flex-start;
|
|
20
|
-
flex: 1;
|
|
21
|
-
`,_t=r(Fl)`
|
|
22
|
-
${e=>`${Nl.title.style(e.windowSize)}`};
|
|
23
|
-
color: ${e=>e.theme.colors.primary};
|
|
24
|
-
margin: 0;
|
|
25
|
-
`,Ct=r(Fl)`
|
|
26
|
-
${e=>`${Nl.description.style(e.windowSize)}`};
|
|
27
|
-
color: ${e=>e.theme.colors.primary};
|
|
28
|
-
margin: 0;
|
|
29
|
-
`,Vl=({text:e})=>l.jsx(Ft,{children:l.jsx(Et,{children:e})}),Et=r(Xl)`
|
|
30
|
-
display: flex;
|
|
31
|
-
align-items: center;
|
|
32
|
-
color: ${e=>e.theme.colors.hero};
|
|
33
|
-
padding-right: ${a.sp2};
|
|
34
|
-
`,Ft=r.div`
|
|
35
|
-
display: flex;
|
|
36
|
-
align-items: flex-end;
|
|
37
|
-
margin-left: ${a.sp2};
|
|
38
|
-
margin-top: ${a.sp1};
|
|
39
|
-
`,q={width:new F(343,580,726),labelWidth:new F(115,145,155),mediumLabelWidth:new F(140,160,170),largeLabelWidth:new F(150,210,244),extraLargeLabelWidth:new F(160,240,292),largeLabelDocumentWidth:new F(150,210,252),paddingBottom:new F(B[3],B[2]),containerRowGap:new F(12,B[3])},Dt={title:new Ve("standardMedium","largeMedium")},Nt=de.getLocalizedStrings(),{dateFormat:{visual:Pt},commonSetUp:Vt,companyPassport:cl,common:{documents:pl,optional:kt,yes:ul,no:ml}}=Nt,o=Vt.businessVerification,Tt=m.forwardRef(({allIndustries:e,fileProps:c,productType:b,companyDetails:h,allNationalityCountries:R,connectedAccountProvider:L,businessVerificationProps:W,isDisabled:t,style:ae,sectionId:i,showInfoTooltip:ce=!0,isCompleted:pe=!1,showCompletedIcon:oe=!1,hideNewOnboardingFields:ie=!1,showTreasuryFields:w=!1,sectionHeader:K,optionalFields:p=[],onCompanyAddressClick:ue,onRegisteredAddressClick:D},X)=>{const y=Ke(),S=ot(),{watch:P,setValue:me,formState:{errors:g}}=Sl(),he=P(u(i,"companySourceOfFunds")),f=P(u(i,"transactionVolume")),_=P(u(i,"purposeOfAccount")),U=P(u(i,"regulatedStatus")),fe=P(u(i,"usNexus")),ee=P(u(i,"companyIndustryType")),re=s=>{me(u(i,"companySubIndustry"),{selectedOption:null,allOptions:rl(s)})},$=q.labelWidth.value(y),se=q.mediumLabelWidth.value(y),I=q.largeLabelWidth.value(y),ge=q.extraLargeLabelWidth.value(y),le=q.largeLabelDocumentWidth.value(y),x=o.productType[b],ve=h?.companyFiles.find(s=>s.documentType==="certificate_of_incorporation"),H=h?.companyFiles.find(s=>s.documentType==="tax_ein"),Y=h?.companyDescription,v=h?.companyLegalName,G=h?.website,Q=h?.typeOfIncorporation,N=h?.stateOfIncorporation,ye=h?.countriesOfOperations,Te=h?.incDate,Ae=h?.companyIndustry,be=h?.companyIndustryType,$e=h?.companySubIndustry,Le=h?.companySourceOfFunds,n=h?.transactionVolume,_e=h?.purposeOfAccount,ze=h?.regulatedStatus,V=h?.usNexus,te=h?.phone,Be=h?.taxIdOrEIN,J=h?.primaryContactLocalData,Ce=h?.deleteFileStatusById??{},Ee=h?.updateFileStatusById??{},C=h?.addressStatus?.addressToCreate,Re=h?.registeredAddressStatus?.addressToCreate,[xe,Me]=m.useState(!1),[we,qe]=m.useState(!1),k=s=>(t==null||!!s)&&!ie,Fe=k(be),We=(t==null||Array.isArray(ye)&&ye.length>0)&&!ie,Ue=k(N),He=k(Le),d=k(n),E=k(_e),ne=k(ze),Se=k(V),Ye=o.sourceOfFundOptions,j=s=>Ye[s]??s,Ge=ee?.selectedOption??be,Tl=s=>yt(s,Ge),Al=s=>e.find(De=>De.code===s)?.name??s;return l.jsxs(At,{style:ae,ref:X,windowSize:y,children:[l.jsx(zt,{children:l.jsxs(Yt,{children:[l.jsxs(Rt,{children:[oe===!0?l.jsx(Mt,{children:pe?l.jsx(qt,{}):l.jsx(Wt,{})}):null,l.jsx(Bt,{windowSize:y,children:K??o.confirmCompanyDetails})]}),ce?l.jsx(Ut,{children:l.jsx(Ol,{variant:"small-description",display:"flex",maxWidth:"280px",data:o.confirmCompanyDetailsTooltip,placement:y==="small"||b==="onboarding"?"bottom":"right",children:l.jsx(Ht,{})})}):null,b==="onboarding"&&K!=null?l.jsx(Vl,{text:kt}):null,W?.companyVerificationStatus!=null?l.jsx(Qt,{tagTitle:W.companyVerificationStatus.name,textColor:Il(W.companyVerificationStatus.code),showLoader:W?.isRefreshingViewInBackground}):null]})}),l.jsxs(Gt,{children:[l.jsx(Pl,{}),l.jsx(A,{isDisabled:t,showAdditionalInfoLabel:!1,label:{label:o.companyLegalNameLabel,width:I},text:{type:"text",name:u(i,"companyLegalName"),placeholder:o.companyLegalNamePlaceholder,defaultValue:v,options:{required:t==null&&p.includes("companyLegalName")===!1}},additionalInfoLabel:o.companyLegalNameError.replace("_product_type_",x)}),l.jsx(O,{}),l.jsx(A,{isDisabled:t,showAdditionalInfoLabel:!1,label:{label:o.companyDescriptionLabel,width:se},text:{type:"text",name:u(i,"companyDescription"),placeholder:o.addProductPlaceholder,defaultValue:Y,options:{required:t==null&&p.includes("companyDescription")===!1}},additionalInfoLabel:o.companyDescriptionError.replace("_product_type_",x)}),l.jsx(O,{}),l.jsx(Ze,{isDisabled:t,label:{label:o.registeredAddressLabel,width:se},addressValueField:{name:u(i,"registeredAddress"),placeholder:o.registeredAddressPlaceholder,defaultValue:Re,registerOptions:{validate:s=>p.includes("registeredAddress")===!1?!(t==null&&s==null):!0},onClick:()=>{D?.("company_registered_address")}},additionalInfoLabel:o.registeredAddressError.replace("_product_type_",x),showAdditionalInfoLabel:!1}),l.jsx(O,{}),l.jsx(Ze,{isDisabled:t,label:{label:o.companyAddressLabel,width:se},addressValueField:{name:u(i,"companyAddress"),placeholder:o.companyAddressPlaceholder,defaultValue:C,registerOptions:{validate:s=>p.includes("companyAddress")===!1?!(t==null&&s==null):!0},onClick:()=>{ue?.("company_address")}},additionalInfoLabel:o.companyAddressError.replace("_product_type_",x),showAdditionalInfoLabel:!1}),l.jsx(O,{}),l.jsx(A,{isDisabled:t,showAdditionalInfoLabel:!1,label:{label:o.companyWebsiteLabel,width:$},text:{type:"url",name:u(i,"companyWebsite"),placeholder:o.companyWebsitePlaceholder,defaultValue:G?.toString()??"",options:{required:t==null&&p.includes("companyWebsite")===!1}},additionalInfoLabel:o.companyWebsiteError.replace("_product_type_",x)}),l.jsx(O,{}),l.jsx(Zt,{windowSize:y,"data-suppress-hover":t!=null?!0:void 0,children:Fe?l.jsxs(l.Fragment,{children:[l.jsx(Z,{label:{label:o.companyIndustryLabel,width:$},singleSelectField:{singleSelect:{name:u(i,"companyIndustryType"),placeholder:o.companyIndustryPlaceholder,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:pt,isDisabled:t,showTickMark:!0,sortOptions:!1},defaultValue:{selectedOption:be,allOptions:[...it]},registerOptions:{required:t==null&&p.includes("companyIndustryType")===!1,validate:s=>p.includes("companyIndustryType")===!1?!(t==null&&!s?.selectedOption):!0},onSelectChange:re},isFunctional:!0,errorInfoLabel:o.companyIndustryError.replace("_product_type_",x),style:{padding:0,margin:0,outline:"none",paddingRight:a.sp2}}),Ge!=null&&l.jsx(Z,{label:{label:"",width:0,style:{marginRight:0}},singleSelectField:{singleSelect:{name:u(i,"companySubIndustry"),placeholder:o.companySubIndustryPlaceholder,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:Tl,isDisabled:t,showTickMark:!0,sortOptions:!1},defaultValue:{selectedOption:$e,allOptions:rl(Ge)},registerOptions:{required:t==null&&p.includes("companySubIndustry")===!1,validate:s=>p.includes("companySubIndustry")===!1?!(t==null&&!s?.selectedOption):!0}},isFunctional:!0,keepFocusedStyle:!0,errorInfoLabel:o.companySubIndustryError.replace("_product_type_",x),additionalInfoLabel:t==null?o.companyIndustryAdditionalInfo:void 0,style:{outline:"none",paddingBottom:a.sp0,paddingRight:a.sp0,width:"100%"}})]}):l.jsx(Z,{label:{label:o.companyIndustryLabel,width:$},singleSelectField:{singleSelect:{name:u(i,"companyIndustry"),placeholder:o.companyIndustryPlaceholder,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:Al,isDisabled:t,showTickMark:!0,sortOptions:!1},defaultValue:{selectedOption:Ae,allOptions:e?.map(s=>s.code)??[]},registerOptions:{required:t==null&&p.includes("companyIndustry")===!1,validate:s=>p.includes("companyIndustry")===!1?!(t==null&&!s?.selectedOption):!0}},isFunctional:!0,errorInfoLabel:o.companyIndustryError.replace("_product_type_",x),additionalInfoLabel:t==null?o.companyIndustryAdditionalInfo:void 0,style:{padding:0,margin:0,outline:"none",paddingRight:a.sp2}})}),l.jsx(O,{}),l.jsx(sl,{label:{label:o.companyTypeOfIncorporationLabel,width:I},isDisabled:t,creatableSingleSelectField:{name:u(i,"typeOfIncorporation"),placeholder:o.companyTypeOfIncorporationPlaceholder,defaultValue:{selectedOption:Q,allOptions:cl.companyIncInfo.allTypesOfIncorporation},registerOptions:{required:t==null&&p.includes("typeOfIncorporation")===!1,validate:s=>p.includes("typeOfIncorporation")===!1?!(t==null&&!s?.selectedOption):!0}},errorInfoLabel:o.companyTypeOfIncorporationError.replace("_product_type_",x)}),l.jsx(O,{}),l.jsx(vl,{isDisabled:t,label:{label:o.companyIncDateLabel,width:I},style:{paddingBottom:q.paddingBottom.valuePx(y)},dateField:{name:u(i,"incDate"),placeholder:o.companyIncDatePlaceholder,defaultValue:Te,dateFormat:Pt.defaultInput,maxDate:Dl(),minDate:rt("01 Jan 1900"),autoComplete:"off",registerOptions:{required:t==null&&p.includes("incDate")===!1}},additionalInfoLabel:o.companyIncDateError.replace("_product_type_",x)}),l.jsx(O,{}),Ue?l.jsxs(l.Fragment,{children:[l.jsx(sl,{label:{label:o.companyStateOfIncorporationLabel,width:I},isDisabled:t,creatableSingleSelectField:{name:u(i,"stateOfIncorporation"),placeholder:o.companyStateOfIncorporationPlaceholder,defaultValue:{selectedOption:N,allOptions:cl.companyIncInfo.allStatesOfIncorporation},registerOptions:{required:t==null&&p.includes("stateOfIncorporation")===!1,validate:s=>p.includes("stateOfIncorporation")===!1?!(t==null&&!s?.selectedOption):!0}},errorInfoLabel:o.companyStateOfIncorporationError.replace("_product_type_",x)}),l.jsx(O,{})]}):null,We?l.jsxs(l.Fragment,{children:[l.jsx(bt,{label:{label:o.countriesOfOperationsLabel,width:I},isDisabled:t,additionalInfoLabel:t==null?o.countriesOfOperationsAdditionalInfo:void 0,errorInfoLabel:o.countriesOfOperationsError.replace("_product_type_",x),multiSelectField:{name:u(i,"countriesOfOperations"),placeholder:o.countriesOfOperationsPlaceholder,defaultValue:Ul(ye,(R??[]).map(s=>s.countryCode)),registerOptions:{validate:s=>p.includes("countriesOfOperations")?!0:!(t==null&&s.selectedOptions.length===0)}}}),l.jsx(O,{})]}):null,He?l.jsxs(l.Fragment,{children:[l.jsx(Z,{label:{label:o.companySourceOfFundsLabel,width:I},singleSelectField:{singleSelect:{name:u(i,"companySourceOfFunds"),placeholder:o.companySourceOfFundsPlaceholder,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:ut,isDisabled:t,showTickMark:!0,sortOptions:!1},defaultValue:{selectedOption:Le,allOptions:[...st]},registerOptions:{required:t==null&&p.includes("companySourceOfFunds")===!1,validate:s=>p.includes("companySourceOfFunds")===!1?!(t==null&&!s?.selectedOption):!0}},isFunctional:!0,errorInfoLabel:o.companySourceOfFundsError.replace("_product_type_",x),additionalContent:xt.includes(he?.selectedOption)?l.jsx(A,{isDisabled:t,showAdditionalInfoLabel:!1,label:{label:"",width:0,style:{marginRight:0,marginTop:0,marginBottom:0}},text:{type:"text",name:u(i,"companySourceOfFundsDescription"),placeholder:o.descriptionPlaceholder,style:{backgroundColor:g[i]!=null&&g[i]?.companySourceOfFundsDescription!=null?z.importantLight:S.colors.background},options:{required:t==null}},additionalInfoLabel:o.companySourceOfFundsDescriptionError,style:{position:"relative",top:0,left:-I,marginLeft:0,outline:"none"}}):null,additionalInfoLabel:t!=null||g[i]!=null&&g[i]?.companySourceOfFundsDescription!=null?void 0:o.companySourceOfFundsAdditionalInfo,additionalInfoStyle:{color:S.colors.hero}}),l.jsx(O,{})]}):null,d?l.jsxs(l.Fragment,{children:[l.jsx(Z,{label:{label:o.transactionVolumeLabel,width:ge},singleSelectField:{singleSelect:{name:u(i,"transactionVolume"),placeholder:o.transactionVolumePlaceholder,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:mt,isDisabled:t,showTickMark:!0,sortOptions:!1},defaultValue:{selectedOption:n,allOptions:[...nt]},registerOptions:{required:t==null&&p.includes("transactionVolume")===!1,validate:s=>p.includes("transactionVolume")===!1?!(t==null&&!s?.selectedOption):!0}},isFunctional:!0,errorInfoLabel:o.transactionVolumeError.replace("_product_type_",x),additionalContent:wt.includes(f?.selectedOption)?l.jsx(A,{isDisabled:t,showAdditionalInfoLabel:!1,label:{label:"",width:0,style:{marginRight:0,marginTop:0,marginBottom:0}},text:{type:"text",name:u(i,"transactionVolumeDescription"),placeholder:o.descriptionPlaceholder,style:{backgroundColor:g[i]!=null&&g[i]?.transactionVolumeDescription!=null?z.importantLight:S.colors.background},options:{required:t==null}},additionalInfoLabel:o.transactionVolumeDescriptionError,style:{position:"relative",top:0,left:-ge,marginLeft:0,outline:"none"}}):null,additionalInfoLabel:t!=null||g[i]!=null&&g[i]?.transactionVolumeDescription!=null?void 0:o.transactionVolumeAdditionalInfo,additionalInfoStyle:{color:S.colors.hero}}),l.jsx(O,{})]}):null,E?l.jsxs(l.Fragment,{children:[l.jsx(Z,{label:{label:o.purposeOfAccountLabel,width:I},singleSelectField:{singleSelect:{name:u(i,"purposeOfAccount"),placeholder:o.purposeOfAccountPlaceholder,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:ht,isDisabled:t,showTickMark:!0,sortOptions:!1},defaultValue:{selectedOption:_e,allOptions:[...dt]},registerOptions:{required:t==null&&p.includes("purposeOfAccount")===!1,validate:s=>p.includes("purposeOfAccount")===!1?!(t==null&&!s?.selectedOption):!0}},isFunctional:!0,errorInfoLabel:o.purposeOfAccountError.replace("_product_type_",x),additionalContent:St.includes(_?.selectedOption)?l.jsx(A,{isDisabled:t,showAdditionalInfoLabel:!1,label:{label:"",width:0,style:{marginRight:0,marginTop:0,marginBottom:0}},text:{type:"text",name:u(i,"purposeOfAccountDescription"),placeholder:o.descriptionPlaceholder,style:{backgroundColor:g[i]!=null&&g[i]?.purposeOfAccountDescription!=null?z.importantLight:S.colors.background},options:{required:t==null}},additionalInfoLabel:o.purposeOfAccountDescriptionError,style:{position:"relative",top:0,left:-I,marginLeft:0,outline:"none"}}):null,additionalInfoLabel:t!=null||g[i]!=null&&g[i]?.purposeOfAccountDescription!=null?void 0:o.purposeOfAccountAdditionalInfo,additionalInfoStyle:{color:S.colors.hero}}),l.jsx(O,{})]}):null,ne?l.jsxs(l.Fragment,{children:[l.jsxs(fl,{windowSize:y,"data-suppress-hover":t!=null?!0:void 0,children:[l.jsxs(gl,{children:[l.jsx(il,{label:o.regulatedStatusLabel,htmlFor:u(i,"regulatedStatus"),isDisabled:t,style:{width:I,color:t==="disabled"?S.colors.grey1:S.colors.hero}}),l.jsxs(yl,{labelWidth:I,windowSize:y,children:[l.jsx(Ne,{label:{label:ul},style:{paddingRight:`${a.sp4}`,width:"auto"},radioField:{name:u(i,"regulatedStatus"),id:`${u(i,"regulatedStatus")}.yes`,value:"yes",style:{height:`${a.sp3}`,width:`${a.sp3}`},radioSize:"small",registerOptions:{required:t==null&&p.includes("regulatedStatus")===!1}},isDisabled:t,isContainerClickable:!0}),l.jsx(Ne,{label:{label:ml},style:{width:"auto"},radioField:{name:u(i,"regulatedStatus"),id:`${u(i,"regulatedStatus")}.no`,value:"no",style:{height:`${a.sp3}`,width:`${a.sp3}`},radioSize:"small",registerOptions:{required:t==null&&p.includes("regulatedStatus")===!1}},isDisabled:t,isContainerClickable:!0})]})]}),U==="yes"&&l.jsx(A,{isDisabled:t,showAdditionalInfoLabel:!1,label:{label:"",width:0,style:{marginRight:0,marginTop:0,marginBottom:0,marginLeft:0}},text:{type:"text",name:u(i,"regulatedStatusDescription"),placeholder:o.regulatedStatusDescriptionPlaceholder,style:{backgroundColor:g[i]!=null&&g[i]?.regulatedStatusDescription!=null?z.importantLight:S.colors.background},options:{required:t==null,shouldUnregister:!0}},additionalInfoLabel:o.regulatedStatusDescriptionError,style:{outline:"none",width:"100%",padding:0}}),g[i]!=null&&g[i]?.regulatedStatus!=null?l.jsx(Qe,{windowSize:y,children:o.regulatedStatusError.replace("_product_type_",x)}):g[i]!=null&&g[i]?.regulatedStatusDescription!=null?null:t==null?l.jsx(bl,{windowSize:y,children:o.regulatedStatusAdditionalInfo}):null]}),l.jsx(O,{})]}):null,Se?l.jsxs(l.Fragment,{children:[l.jsxs(fl,{windowSize:y,"data-suppress-hover":t!=null?!0:void 0,children:[l.jsxs(gl,{children:[l.jsx(il,{label:o.usNexusLabel,htmlFor:u(i,"usNexus"),isDisabled:t,style:{width:I,color:t==="disabled"?S.colors.grey1:S.colors.hero}}),l.jsxs(yl,{labelWidth:I,windowSize:y,children:[l.jsx(Ne,{label:{label:ul},style:{paddingRight:`${a.sp4}`,width:"auto"},radioField:{name:u(i,"usNexus"),id:`${u(i,"usNexus")}.yes`,value:"yes",style:{height:`${a.sp3}`,width:`${a.sp3}`},radioSize:"small",registerOptions:{required:t==null&&p.includes("usNexus")===!1}},isDisabled:t,isContainerClickable:!0}),l.jsx(Ne,{label:{label:ml},style:{width:"auto"},radioField:{name:u(i,"usNexus"),id:`${u(i,"usNexus")}.no`,value:"no",style:{height:`${a.sp3}`,width:`${a.sp3}`},radioSize:"small",registerOptions:{required:t==null&&p.includes("usNexus")===!1}},isDisabled:t,isContainerClickable:!0})]})]}),fe==="yes"&&l.jsxs(l.Fragment,{children:[l.jsx(Jt,{hasError:g[i]!=null&&g[i]?.usNexusTypes!=null,children:l.jsx(ft,{isDisabled:t,label:{label:"",width:0,style:{marginRight:0,marginTop:0,marginBottom:0,marginLeft:0}},multiSelectField:{name:u(i,"usNexusTypes"),placeholder:o.usNexusPlaceholder,getOptionLabel:gt,defaultValue:{selectedOptions:h?.usNexusTypes??[],allOptions:[...ct]},registerOptions:{required:t==null,shouldUnregister:!0,validate:s=>{const De=s?.selectedOptions;return De!=null&&De.length>0}}},style:{outline:"none",margin:0,padding:0,width:"100%"}})}),g[i]!=null&&g[i]?.usNexusTypes!=null&&l.jsx(Qe,{windowSize:y,children:o.usNexusTypesError})]}),g[i]!=null&&g[i]?.usNexus!=null?l.jsx(Qe,{windowSize:y,children:o.usNexusError.replace("_product_type_",x)}):g[i]!=null&&g[i]?.usNexusTypes!=null?null:t==null?l.jsx(bl,{windowSize:y,children:o.usNexusAdditionalInfo}):null]}),l.jsx(O,{})]}):null,l.jsx(A,{isDisabled:t,showAdditionalInfoLabel:!1,label:{label:o.companyTaxIdLabel,width:$},text:{type:"text",name:u(i,"companyTaxId"),placeholder:o.companyTaxIdPlaceholder,defaultValue:Be,options:{required:t==null&&p.includes("companyTaxId")===!1,pattern:Hl},autoComplete:"new-password"},additionalInfoLabel:o.companyTaxIdError.replace("_product_type_",x)}),l.jsx(O,{}),l.jsx($l,{isDisabled:t,label:{label:o.companyPhoneLabel,width:$},text:{name:u(i,"companyPhone"),placeholder:Oe(o.companyPhoneLabel),defaultValue:te,autoComplete:"new-password",options:{required:t==null&&p.includes("companyPhone")===!1}},errorInfoLabel:o.companyPhoneError.replace("_product_type_",x)}),l.jsx(O,{}),l.jsx(jl,{isDisabled:t,label:{label:o.companyPrimaryContactNameLabel,width:I},nameField:{name:u(i,"primaryContactName"),placeHolder:{firstName:o.firstNamePlaceholder,lastName:o.lastNamePlaceholder,name:o.namePlaceholder},defaultValue:{firstName:J?.firstName??"",lastName:J?.lastName??""},registerOptions:{required:t==null&&p.includes("primaryContactName")===!1,validate:s=>!!s||t!=null||p.includes("primaryContactName")},showFullNameError:!0},errorInfoLabel:o.companyPrimaryContactNameError.replace("_product_type_",x)}),l.jsx(O,{}),l.jsx(A,{isDisabled:t,showAdditionalInfoLabel:!1,label:{label:o.companyPrimaryContactEmailLabel,width:I},text:{type:"email",name:u(i,"primaryContactEmail"),placeholder:o.companyPrimaryContactEmailPlaceholder,defaultValue:J?.email,options:{required:t==null&&p.includes("primaryContactEmail")===!1}},additionalInfoLabel:o.companyPrimaryContactEmailError.replace("_product_type_",x)}),l.jsx(O,{}),l.jsx(nl,{name:u(i,"certificateOfIncorporation"),isDisabled:t,sizeLimit:Je,deleteFileStatusById:Ce,updateFileStatusById:Ee,filesEndPoint:c.filesEndPoint,authParams:c.authParams,label:{label:o.certificateOfIncorporation,width:le},filemetadataPayload:{documentType:"certificate_of_incorporation",purposeId:"business_verification",documentSide:"front"},file:ve,acceptableTypes:["image/jpg","image/jpeg","image/png","application/pdf","image/heic","image/heif"],registerOptions:{required:t==null&&p.includes("certificateOfIncorporation")===!1&&L==="unit"},additionalInfoLabel:o.certOfIncopDocumentError.replace("_product_type_",x),hasError:xe,updateFilesEntity:c.updateFilesEntity,onEditFileName:c.onEditFileName,onDeleteFile:c.onDeleteFile,onFileSizeError:s=>Me(s)}),xe||!(t!=null||ve!=null)?l.jsx(hl,{windowSize:y,isError:xe,children:pl.formatDocumentText10MB}):null,l.jsx(O,{}),l.jsx(nl,{name:u(i,"ein"),isDisabled:t,sizeLimit:Je,deleteFileStatusById:Ce,updateFileStatusById:Ee,filesEndPoint:c.filesEndPoint,authParams:c.authParams,label:{label:o.einDocument,width:le},filemetadataPayload:{documentType:"tax_ein",purposeId:"business_verification",documentSide:"front"},file:H,acceptableTypes:["image/jpg","image/jpeg","image/png","application/pdf","image/heic","image/heif"],registerOptions:{required:t==null&&p.includes("ein")===!1},additionalInfoLabel:o.einDocumentError.replace("_product_type_",x),hasError:we,updateFilesEntity:c.updateFilesEntity,onEditFileName:c.onEditFileName,onDeleteFile:c.onDeleteFile,onFileSizeError:s=>qe(s)}),we||!(t!=null||H!=null)?l.jsx(hl,{windowSize:y,isError:we,children:pl.formatDocumentText10MB}):null,l.jsx(O,{}),w===!0?l.jsxs(l.Fragment,{children:[l.jsx(Z,{label:{label:o.sourceOfFundsLabel,width:$},singleSelectField:{singleSelect:{name:u(i,"sourceOfFunds"),placeholder:o.sourceOfFundsPlaceholder,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:j,isDisabled:t,showTickMark:!1,menuPlacement:"top",sortOptions:!1},defaultValue:{selectedOption:h?.sourceOfFunds,allOptions:Object.keys(o.sourceOfFundOptions)},registerOptions:{required:t==null&&p.includes("sourceOfFunds")===!1,validate:s=>p.includes("sourceOfFunds")===!1?!(t==null&&!s?.selectedOption):!0}},isFunctional:!0,errorInfoLabel:o.sourceOfFundsError.replace("_product_type_",x)}),l.jsx(O,{})]}):null]})]})});Tt.displayName="Company Details Section";const u=(e,c)=>`${e}.${c}`,At=r.div`
|
|
40
|
-
display: flex;
|
|
41
|
-
flex-direction: column;
|
|
42
|
-
row-gap: ${e=>q.containerRowGap.valuePx(e.windowSize)};
|
|
43
|
-
`,zt=r.div`
|
|
44
|
-
display: flex;
|
|
45
|
-
justify-content: space-between;
|
|
46
|
-
`,hl=r(Kl)`
|
|
47
|
-
padding: ${a.sp1} ${a.sp4};
|
|
48
|
-
background: ${e=>e.theme.colors.grey4};
|
|
49
|
-
border-radius: ${a.sp0} ${a.sp0} ${a.sp2} ${a.sp2};
|
|
50
|
-
text-align: ${e=>e.windowSize==="small"?"initial":"right"};
|
|
51
|
-
color: ${e=>e.isError?z.important:e.theme.colors.grey1};
|
|
52
|
-
`,Bt=r.div`
|
|
53
|
-
${e=>`${Dt.title.style(e.windowSize)}`};
|
|
54
|
-
display: flex;
|
|
55
|
-
align-items: center;
|
|
56
|
-
color: ${e=>e.theme.colors.primary};
|
|
57
|
-
padding-right: ${a.sp2};
|
|
58
|
-
`,Rt=r.div`
|
|
59
|
-
display: flex;
|
|
60
|
-
align-items: center;
|
|
61
|
-
`,Mt=r.div`
|
|
62
|
-
margin-right: ${a.sp2};
|
|
63
|
-
`,qt=r(Ll)`
|
|
64
|
-
width: ${a.sp3};
|
|
65
|
-
height: ${a.sp3};
|
|
66
|
-
color: ${z.success};
|
|
67
|
-
`,Wt=r.div`
|
|
68
|
-
height: 14px;
|
|
69
|
-
width: 14px;
|
|
70
|
-
border: 1px solid ${e=>e.theme.colors.primary};
|
|
71
|
-
border-radius: 50%;
|
|
72
|
-
`,Ut=r.div`
|
|
73
|
-
display: flex;
|
|
74
|
-
color: ${e=>e.theme.colors.hero};
|
|
75
|
-
&:hover {
|
|
76
|
-
color: ${e=>e.theme.colors.primary};
|
|
77
|
-
}
|
|
78
|
-
`,Ht=r(_l)`
|
|
79
|
-
width: ${a.sp3};
|
|
80
|
-
height: ${a.sp3};
|
|
81
|
-
`,Yt=r.div`
|
|
82
|
-
display: flex;
|
|
83
|
-
align-items: center;
|
|
84
|
-
`,Gt=r.div`
|
|
85
|
-
display: flex;
|
|
86
|
-
flex-direction: column;
|
|
87
|
-
background-color: ${e=>e.theme.colors.grey5};
|
|
88
|
-
border: 1px solid ${e=>e.theme.colors.grey3};
|
|
89
|
-
box-shadow: ${e=>`${a.sp0} 2px ${a.sp1} ${e.theme.colors.dropShadowNormal}`};
|
|
90
|
-
border-radius: ${a.sp2};
|
|
91
|
-
`,O=r.div`
|
|
92
|
-
display: flex;
|
|
93
|
-
flex: 1;
|
|
94
|
-
background-color: ${e=>e.theme.colors.grey3};
|
|
95
|
-
min-height: 1px;
|
|
96
|
-
max-height: 1px;
|
|
97
|
-
`,Qt=r(Cl)`
|
|
98
|
-
width: max-content;
|
|
99
|
-
margin-left: ${a.sp3};
|
|
100
|
-
`,fl=r.div`
|
|
101
|
-
display: flex;
|
|
102
|
-
flex-direction: column;
|
|
103
|
-
width: ${e=>q.width.valuePx(e.windowSize)};
|
|
104
|
-
background-color: ${e=>e.theme.colors.grey5};
|
|
105
|
-
padding: ${a.sp2} ${a.sp2} ${a.sp2} ${a.sp4};
|
|
106
|
-
&:hover {
|
|
107
|
-
z-index: 1;
|
|
108
|
-
outline: 1px solid ${e=>e.theme.colors.primary};
|
|
109
|
-
}
|
|
110
|
-
&[data-suppress-hover="true"]:hover {
|
|
111
|
-
outline: none;
|
|
112
|
-
}
|
|
113
|
-
&[data-suppress-hover="true"] .select-control:hover {
|
|
114
|
-
background-color: ${e=>e.theme.colors.grey5};
|
|
115
|
-
}
|
|
116
|
-
&[data-suppress-hover="true"] > div:hover {
|
|
117
|
-
outline: none;
|
|
118
|
-
background-color: inherit;
|
|
119
|
-
}
|
|
120
|
-
`,gl=r.div`
|
|
121
|
-
display: flex;
|
|
122
|
-
flex-direction: row;
|
|
123
|
-
align-items: center;
|
|
124
|
-
margin-top: ${a.sp2};
|
|
125
|
-
margin-bottom: ${a.sp2};
|
|
126
|
-
`,yl=r.div`
|
|
127
|
-
display: flex;
|
|
128
|
-
flex-direction: row;
|
|
129
|
-
width: ${e=>`calc(100% - ${e.labelWidth}px)`};
|
|
130
|
-
align-items: center;
|
|
131
|
-
justify-content: flex-end;
|
|
132
|
-
flex-grow: 1;
|
|
133
|
-
padding-right: ${a.sp3};
|
|
134
|
-
`,bl=r(tl)`
|
|
135
|
-
color: ${e=>e.theme.colors.hero};
|
|
136
|
-
text-align: right;
|
|
137
|
-
padding-right: ${a.sp3};
|
|
138
|
-
`,Qe=r(tl)`
|
|
139
|
-
color: ${z.important};
|
|
140
|
-
text-align: right;
|
|
141
|
-
padding-right: ${a.sp3};
|
|
142
|
-
`,Jt=r.div`
|
|
143
|
-
width: 100%;
|
|
144
|
-
& > div {
|
|
145
|
-
background-color: ${e=>e.hasError===!0?z.importantLight:e.theme.colors.background};
|
|
146
|
-
}
|
|
147
|
-
& .select-control {
|
|
148
|
-
background-color: ${e=>e.hasError===!0?z.importantLight:e.theme.colors.background} !important;
|
|
149
|
-
}
|
|
150
|
-
`,Zt=r.div`
|
|
151
|
-
display: flex;
|
|
152
|
-
flex-direction: column;
|
|
153
|
-
padding: ${a.sp2} ${a.sp2} ${a.sp2} ${a.sp0};
|
|
154
|
-
width: ${e=>q.width.valuePx(e.windowSize)};
|
|
155
|
-
background-color: inherit;
|
|
156
|
-
&:hover {
|
|
157
|
-
z-index: 1;
|
|
158
|
-
outline: 1px solid ${e=>e.theme.colors.primary};
|
|
159
|
-
}
|
|
160
|
-
|
|
161
|
-
&[data-suppress-hover="true"]:hover {
|
|
162
|
-
outline: none;
|
|
163
|
-
}
|
|
164
|
-
&[data-suppress-hover="true"] .select-control:hover {
|
|
165
|
-
background-color: ${e=>e.theme.colors.grey5};
|
|
166
|
-
}
|
|
167
|
-
&[data-suppress-hover="true"] > div:hover {
|
|
168
|
-
outline: none;
|
|
169
|
-
background-color: inherit;
|
|
170
|
-
}
|
|
171
|
-
`,Kt=r.div`
|
|
172
|
-
height: ${a.sp4};
|
|
173
|
-
display: flex;
|
|
174
|
-
align-items: center;
|
|
175
|
-
justify-content: flex-end;
|
|
176
|
-
`,Xt=(e,c)=>e.map(b=>({...b,value:b.userId,label:b.firstName!=""||b.lastName!=""?`${b.firstName} ${b.lastName}`:b.email})),ea=(e,c)=>({...e,value:e.userId,label:e.firstName!=""||e.lastName!=""?`${e.firstName} ${e.lastName}`:e.email});function la({allUsers:e,onSelectedUserChanged:c,selectedUser:b,disable:h=!1,pickerStyles:{optionBackgroundColor:R,selectedOptionBackgroundColor:L,optionTextStyle:W,titleTextStyle:t,backgroundColor:ae,titleTextAlignment:i,selectedOptionColor:ce,customStyleConfig:pe}={},customization:{placeholderLabel:oe}={},showAddUser:ie=!0}){const w=wl(),[K,p]=m.useState(!1),ue=Xt(e).sort((f,_)=>f.label.localeCompare(_.label)),D=b!=null?ea(b):void 0,X=R??w.colors.grey5,y=ae??w.colors.grey5,S=L??w.colors.grey3,P=W??Pe.smallRegular.cssObject,me=t??P,g={control:(f,_)=>({...f,border:0,height:"100%",backgroundColor:y,fill:_.selectProps.menuIsOpen===!0?w.colors.primary:w.colors.grey1,boxShadow:y,">div:last-child":{color:K?w.colors.primary:w.colors.grey1},":active":{backgroundColor:y},":hover":{fill:w.colors.primary,">div:last-child":{color:w.colors.primary}},minHeight:"auto",cursor:"pointer",flexDirection:"column",">div>div>svg":{color:w.colors.grey1,">path":{color:w.colors.grey5,fill:"currentcolor"}}}),container:f=>({...f,backgroundColor:y,height:"100%"}),singleValue:f=>({...f,margin:0,minWidth:void 0,backgroundColor:void 0,">div":{borderRadius:0,padding:a.sp0,borderLeftStyle:"none",borderWidth:1,borderColor:w.colors.grey1,color:"unset"},">div>div>div>div:last-child":{display:"block",...Pe.standardRegular.cssObject}}),valueContainer:f=>({...f,maxWidth:"100%",cursor:"pointer",height:"100%",...me,overflow:"visible",minWidth:"auto",padding:0,display:"flex",justifyContent:i??"flex-start",alignItems:"center",flexWrap:"nowrap",flexDirection:"row",">div":{width:"inherit"}}),menu:(f,_)=>({...f,backgroundColor:X,borderRadius:B[1],boxShadow:`${a.sp0} 2px ${a.sp2} ${w.colors.dropShadowHover}`,whiteSpace:"nowrap",minWidth:"fit-content",zIndex:3,width:236,margin:`6px ${a.sp0}`,right:"-11%",">div":{flexDirection:"column",maxHeight:200,overflowY:"auto",borderRadius:a.sp1,padding:`${a.sp1} ${a.sp0}`,">div":{width:"-webkit-fill-available"}},...pe?.menu?.(f,_)}),menuList:f=>({...f,borderRadius:B[1]}),placeholder:(f,_)=>({...f,margin:0,width:"100%",color:_.isFocused?w.colors.primary:"currentColor",paddingRight:a.sp2,...Pe.standardRegular.cssObject,">div>div>svg>circle":{fill:w.colors.grey1}}),noOptionsMessage:f=>({...f,...Pe.smallRegular.cssObject,padding:`10px ${a.sp3} 9px ${a.sp3}`,color:w.colors.hero}),option:(f,{isDisabled:_,isSelected:U,isFocused:fe})=>({...f,...P,color:U?ce??w.colors.champion:w.colors.hero,backgroundColor:U?S:fe?w.colors.background:X,cursor:_?"not-allowed":U?"default":"pointer","svg:nth-of-type(2)":{display:"none"},":hover":{backgroundColor:w.colors.background,color:w.colors.primary},"& label":{paddingRight:"10px",cursor:_?"not-allowed":U?"inherit":"pointer"},">div>div>div:first-of-type":{display:"flex"}}),indicatorSeparator:()=>({}),dropdownIndicator:()=>({}),indicatorsContainer:()=>({height:"100%",display:"flex",alignItems:"center"})},he=({children:f,..._})=>l.jsxs(ke.ValueContainer,{..._,children:[f,ie===!0?l.jsxs(ya,{hasSelectedUser:!!b,onClick:()=>{c(void 0),p(!1)},children:[l.jsx(sa,{}),l.jsx("div",{children:oe??"Add User"})]}):null]});return l.jsx(Yl,{onClickAway:()=>{p(!1)},children:l.jsx(Kt,{children:l.jsx(Gl,{isMulti:!1,menuPlacement:"auto",minMenuHeight:200,maxMenuHeight:200,menuIsOpen:K,menuShouldScrollIntoView:!1,defaultValue:D,value:D,noOptionsMessage:()=>de.getLocalizedStrings().cockpit.management.noPerson,onInputChange:f=>{f!==""&&p(!0)},onMenuOpen:()=>{p(!0)},placeholder:l.jsx(aa,{children:l.jsx("div",{children:oe??"Select..."})}),components:{Option:pa,DropdownIndicator:ba,IndicatorSeparator:xa,SingleValue:fa,ValueContainer:ga,MenuList:he},hideSelectedOptions:!1,closeMenuOnSelect:!1,styles:g,options:ue,isDisabled:h,onChange:f=>{c(f),p(!1)},isClearable:!1,isSearchable:!1},Ql())})})}const ta=r.div``,aa=r.div`
|
|
177
|
-
display: flex;
|
|
178
|
-
align-items: center;
|
|
179
|
-
color: ${e=>e.theme.colors.grey1};
|
|
180
|
-
fill: ${e=>e.theme.colors.grey1};
|
|
181
|
-
`,oa=r.div`
|
|
182
|
-
display: flex;
|
|
183
|
-
align-items: center;
|
|
184
|
-
margin-right: ${a.sp2};
|
|
185
|
-
`,ia=r(El)`
|
|
186
|
-
width: ${a.sp4};
|
|
187
|
-
height: ${a.sp4};
|
|
188
|
-
color: ${e=>e.theme.colors.hero};
|
|
189
|
-
`,ra=r.div`
|
|
190
|
-
display: flex;
|
|
191
|
-
flex-direction: row;
|
|
192
|
-
align-items: center;
|
|
193
|
-
justify-content: space-between;
|
|
194
|
-
`,sa=r(lt)`
|
|
195
|
-
height: ${a.sp4};
|
|
196
|
-
width: ${a.sp4};
|
|
197
|
-
margin-right: ${a.sp2};
|
|
198
|
-
color: inherit;
|
|
199
|
-
`,na=r(tt)`
|
|
200
|
-
height: 12px;
|
|
201
|
-
width: 12px;
|
|
202
|
-
color: ${e=>e.theme.colors.hero};
|
|
203
|
-
`,da=r.div``,ca=r(at)`
|
|
204
|
-
width: 12px;
|
|
205
|
-
height: 12px;
|
|
206
|
-
color: ${e=>e.theme.colors.primary};
|
|
207
|
-
`,kl=r.img`
|
|
208
|
-
height: ${a.sp4};
|
|
209
|
-
width: ${a.sp4};
|
|
210
|
-
border-radius: 50%;
|
|
211
|
-
justify-content: center;
|
|
212
|
-
`,pa=e=>{const{data:c,options:b,isSelected:h}=e,R=b.findIndex(L=>L.value===c.value);return l.jsx(ta,{children:l.jsx(ke.Option,{...e,children:l.jsxs(ra,{children:[l.jsxs(ua,{children:[l.jsx(ma,{children:c?.photo!==void 0?l.jsx(kl,{src:c?.photo.href,alt:de.getLocalizedStrings().cockpit.userProfileAltText,onError:({currentTarget:L})=>{L.onerror=null,L.src=Xe},loading:"lazy"}):l.jsx(el,{firstName:c?.firstName??"",lastName:c?.lastName??"",size:`${a.sp4}`,index:R})}),l.jsx("label",{children:e.label})]}),!!h&&l.jsx(da,{children:l.jsx(ca,{})})]})})})},ua=r.div`
|
|
213
|
-
width: 100%;
|
|
214
|
-
display: flex;
|
|
215
|
-
align-items: center;
|
|
216
|
-
`,ma=r.div`
|
|
217
|
-
display: flex;
|
|
218
|
-
align-items: center;
|
|
219
|
-
margin-right: ${a.sp2};
|
|
220
|
-
`,ha=r(ll)`
|
|
221
|
-
padding: ${a.sp0} ${a.sp2};
|
|
222
|
-
white-space: nowrap;
|
|
223
|
-
overflow: hidden;
|
|
224
|
-
text-overflow: ellipsis;
|
|
225
|
-
`,fa=({children:e,data:c,...b})=>{const{options:h}=b.selectProps,R=h.findIndex(L=>L.value===c.value);return l.jsx(ke.MultiValueLabel,{...b,children:l.jsxs(wa,{children:[c?.photo!==void 0?l.jsx(kl,{src:c?.photo.href,alt:de.getLocalizedStrings().cockpit.userProfileAltText,onError:({currentTarget:L})=>{L.onerror=null,L.src=Xe},loading:"lazy"}):l.jsx(el,{firstName:c?.firstName??"",lastName:c?.lastName??"",size:`${a.sp4}`,index:R}),l.jsx(ha,{children:e})]})})},ga=({children:e,...c})=>l.jsxs(ke.ValueContainer,{...c,children:[c.selectProps.value==null?l.jsx(oa,{children:l.jsx(ia,{})}):null,e]}),ya=r(tl)`
|
|
226
|
-
color: ${e=>e.hasSelectedUser?e.theme.colors.hero:e.theme.colors.primary};
|
|
227
|
-
display: flex;
|
|
228
|
-
padding: ${a.sp2} 12px;
|
|
229
|
-
fill: ${e=>e.hasSelectedUser?e.theme.colors.hero:e.theme.colors.primary};
|
|
230
|
-
background: ${e=>e.hasSelectedUser?e.theme.colors.grey5:e.theme.colors.background};
|
|
231
|
-
cursor: ${e=>e.hasSelectedUser?"pointer":"default"};
|
|
232
|
-
&:hover {
|
|
233
|
-
color: ${e=>e.theme.colors.primary};
|
|
234
|
-
background: ${e=>e.theme.colors.background};
|
|
235
|
-
}
|
|
236
|
-
`,ba=()=>l.jsx(na,{}),xa=()=>null,wa=r.div`
|
|
237
|
-
display: flex;
|
|
238
|
-
flex-direction: row;
|
|
239
|
-
cursor: pointer;
|
|
240
|
-
`,Ie={width:new F(343,580,726),labelWidth:new F(115,145,155),largeLabelWidth:new F(160,240,240),veryLargeLabelWidth:new F(150,240,245),containerRowGap:new F(12,B[3])},Sa={title:new Ve("standardMedium","largeMedium")};function Ja({companyOfficerData:e,isDisabled:c,allOfficers:b,allNationalityCountries:h,isRefreshingViewInBackground:R,connectedAccountProvider:L,style:W,isPopupOpen:t,sectionId:ae,filesEndPoint:i,authParams:ce,showInfoTooltip:pe=!0,isCompleted:oe=!1,showCompletedIcon:ie=!1,showOfficerSelect:w=!0,showVerificationTag:K=!0,isForTreasury:p=!1,isOverlay:ue=!1,productType:D,companyTitles:X,sectionHeader:y,optionalFields:S=[],onOfficerAddressClick:P,onDeleteFile:me,onEditFileName:g,updateFilesEntity:he,openPopup:f,onGetOtp:_,onVerifyOtp:U,onResendOtp:fe,verifiedPhoneNumber:ee,onPhoneVerified:re}){const $=Ke(),se=wl(),{getValues:I,setValue:ge}=Sl(),le=b.length>0,[x,ve]=m.useState(!1),H=le?Object.values(e).findIndex(d=>d?.isSelectedForVerification===!0):0,Y=`Officer_${H<0?1:H+1}`;m.useEffect(()=>{re!=null&&e[Y]?.phone!=null&&e[Y].isPhoneVerified===!0&&re(e[Y]?.phone??"")},[]);const v=`${ae}.${H}`,G=e[Y],Q=p?G?.treasuryUserVerificationStatus:G?.userVerificationStatus,N=b.find(d=>d.userId===G?.userId),ye=b.sort((d,E)=>(d.firstName||d.lastName?`${d.firstName} ${d.lastName}`:d.email).localeCompare(E.firstName||E.lastName?`${E.firstName} ${E.lastName}`:E.email)),Te=le?ye.findIndex(d=>d.userId===G?.userId):0,Ae=e[Y]?.deleteFileStatusById??{},be=e[Y]?.updateFileStatusById??{},$e=I(`${v}.selectDocument.selectDocumentType`),{common:{optional:Le},commonSetUp:{businessVerification:n},dateFormat:{visual:_e},cockpit:ze}=de.getLocalizedStrings(),V=D==="onboarding"?n.productType.business_verification:n.productType[D],te=Ie.labelWidth.value($),Be=Ie.veryLargeLabelWidth.value($),J=Ie.largeLabelWidth.value($),Ce=$==="small"?n.companyRolePlaceholderSmall:n.companyRolePlaceholder,Ee=$==="small"?n.protectedSsnTextSmall:n.protectedSsnText,C=Q?.code==="pending_review"||Q?.code==="verified"?"readonly":c,Re=C!=null||!le||Q?.code==="require_info",xe=N?.firstName||N?.lastName?`${N?.firstName} ${N?.lastName}`:n.addOfficer,Me=G?.userId!=null?n.confirmIdentityDetails:n.confirmIdentityDetailsNewOfficer,we={menu:()=>({right:"initial",left:0})},qe=d=>X.find(E=>E.code===d)?.name??d,k=G?.otpverificationStatus?.fetchState,Fe=zl(k);m.useEffect(()=>{re!=null&&Fe==="In-Progress"&&k==="Completed"&&re(I(`${v}.phone`))},[Fe,k]);const We=(d,E)=>{U(d,E)},Ue=()=>ee==null||ee===""?!1:I(`${v}.phone`)===ee,He=()=>{const d=I(`${v}.phone`);return d!=null&&!Zl(d)?n.phoneErrorForOnboarding:n.phoneError.replace("_product_type_",V)};return l.jsxs(Oa,{style:W,windowSize:$,children:[l.jsxs(Ia,{windowSize:$,isOverlay:ue,children:[l.jsxs(Na,{children:[l.jsxs(va,{children:[ie===!0?l.jsx($a,{children:oe?l.jsx(La,{}):l.jsx(_a,{})}):null,l.jsx(ja,{windowSize:$,children:y??Me})]}),pe?l.jsx(Ca,{children:l.jsx(Ol,{variant:"small-description",maxWidth:"275px",data:n.confirmIdentityDetailsTooltip,display:"flex",placement:$==="small"||D==="onboarding"?"bottom":"right",children:l.jsx(Ea,{})})}):null,D==="onboarding"&&y!=null?l.jsx(Vl,{text:Le}):null,Q!=null&&K?l.jsx(ka,{tagTitle:Q?.name,textColor:Il(Q.code),showLoader:R}):null]}),w?Re?le?l.jsxs(Va,{children:[N?.photo!==void 0?l.jsx(Fa,{src:N?.photo.href,alt:ze.userProfileAltText,onError:({currentTarget:d})=>{d.onerror=null,d.src=Xe},loading:"lazy"}):l.jsx(el,{firstName:N?.firstName??"",lastName:N?.lastName??"",size:`${a.sp4}`,index:Te}),l.jsx(xl,{children:`${xe}`})]}):l.jsxs(Ta,{children:[l.jsx(Aa,{children:l.jsx(za,{})}),l.jsx(xl,{children:`${n.addOfficer}`})]}):l.jsx(Da,{children:l.jsx(la,{selectedUser:N,allUsers:b,onSelectedUserChanged:d=>{const E=Object.values(e).findIndex(ne=>ne?.userId===d?.userId);ge(`${v}.isSelectedForVerification`,!1),ge(`${ae}.${E}.isSelectedForVerification`,!0)},customization:{placeholderLabel:n.addOfficer},showAddUser:b.length<=9,pickerStyles:{backgroundColor:se.colors.grey5,selectedOptionBackgroundColor:se.colors.background,customStyleConfig:$==="small"?we:void 0}})}):null]}),Object.values(e).map((d,E)=>{if(H!==E)return null;const ne=Bl(d?.documentTypeSelectedForVerification),Se=d?.userFiles??[],Ye=()=>ee!=""&&D==="onboarding"?Ue():d?.isPhoneVerified??!1;return l.jsxs(Pa,{children:[l.jsx(Pl,{}),l.jsx(jl,{isDisabled:C,label:{label:n.name,width:te},nameField:{name:T(v,"name"),placeHolder:{firstName:n.firstNamePlaceholder,lastName:n.lastNamePlaceholder,name:n.namePlaceholder},defaultValue:{firstName:d?.firstName??"",lastName:d?.lastName??""},registerOptions:{required:S.includes("name")===!1,validate:j=>S.includes("name")===!1?!!j:!0},showFullNameError:!0},errorInfoLabel:n.nameError.replace("_product_type_",V)}),l.jsx(M,{}),d?.userId==null?l.jsxs(l.Fragment,{children:[l.jsx(A,{isDisabled:C,showAdditionalInfoLabel:!1,label:{label:n.email,width:te},text:{type:"email",name:T(v,"email"),placeholder:Oe(n.email),defaultValue:d?.email,options:{required:S.includes("email")===!1}},additionalInfoLabel:n.emailDescription.replace("_product_type_",V)}),l.jsx(M,{})]}):null,l.jsx(vl,{isDisabled:C,label:{label:n.dobLabel,width:J},dateField:{name:T(v,"dob"),type:"text",defaultValue:d?.birthday,placeholder:Oe(n.dobLabel),dateFormat:_e.defaultInput,maxDate:Dl().subtract(L==="unit"?18:13,"years"),registerOptions:{required:S.includes("dob")===!1},autoComplete:"off"},additionalInfoLabel:n.dobDescription.replace("_product_type_",V),isMasked:!0}),l.jsx(M,{}),l.jsx(Rl,{isDisabled:C,label:{label:n.nationalityLabel,width:te},showAdditionalInfoLabel:D!=="onboarding",additionalInfoLabel:n.nationalityDescription.replace("_product_type_",V),countrySelectField:{name:T(v,"nationalityCountryCode"),placeholder:n.nationalityPlaceholder,defaultValue:Ml(d?.nationalityCountryCode,h.map(j=>j.countryCode)),registerOptions:{validate:j=>!!(j!=null&&j.selectedOption)}}}),l.jsx(M,{}),l.jsx(Ze,{isDisabled:C,label:{label:n.address,width:te},addressValueField:{name:T(v,"officerAddress"),placeholder:Oe(n.address),defaultValue:d?.addressStatus?.addressToCreate,registerOptions:{validate:j=>S.includes("officerAddress")===!1?!(C==null&&j==null):!0},onClick:()=>{P(d?.officerType.toLocaleLowerCase().concat("_address"))}},additionalInfoLabel:D==="onboarding"?n.addressAdditionInfo:n.addressError.replace("_product_type_",V),showAdditionalInfoLabel:!0}),l.jsx(M,{}),l.jsx($l,{isDisabled:C,label:{label:n.phone,width:te},text:{name:T(v,"phone"),placeholder:Oe(n.phone),defaultValue:d?.phone,autoComplete:"new-password",options:{required:S.includes("phone")===!1}},errorInfoLabel:He(),verificationErrorInfoLabel:n.phoneValidationError,isPopupOpen:t,phoneVerifyButtonProps:{otpChallenge:d?.otpChallenge,showOtpButton:L==="unit",onGetOtp:_,onVerifyOtp:We,onResendOtp:fe,isPhoneVerified:Ye(),phoneVerificationStatus:d?.otpverificationStatus,getOtpStatus:d?.sendOtpStatus,openPopup:f,verifiedPhoneNumber:ee,focusNotRequired:!0}}),l.jsx(M,{}),l.jsx(Z,{label:{label:n.companyRoleLabel,width:J},singleSelectField:{singleSelect:{name:T(v,"role"),placeholder:Ce,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:qe,isDisabled:C,showTickMark:!1,maxMenuHeight:250},defaultValue:{selectedOption:d?.titleAtCompany,allOptions:X?.map(j=>j.code)??[]},registerOptions:{required:S.includes("role")===!1,validate:j=>S.includes("role")===!1?!(C==null&&!j?.selectedOption):!0}},isFunctional:!0,errorInfoLabel:n.companyRoleDescription.replace("_product_type_",V)}),l.jsx(M,{}),l.jsx(al,{isDisabled:C,showAdditionalInfoLabel:!1,label:{label:n.companyOwnershipLabel,width:J},formattedTextField:{type:"number",name:T(v,"ownership"),defaultValue:d?.ownershipInCompany,placeholder:n.companyOwnershipPlaceholder,returnValueType:"floatValue",suffix:"%",allowNegative:!1,isNumericString:!1,registerOptions:{required:S.includes("ownership")===!1,validate:j=>j!=null?j>0&&j<=100:!0,max:100},autoComplete:"new-password"},additionalInfoLabel:D==="onboarding"?n.companyOwnershipDescriptionForOnboarding:n.companyOwnershipDescription}),l.jsx(M,{}),l.jsx(al,{isDisabled:C,showAdditionalInfoLabel:!1,label:{label:n.ssnLabel,width:J},formattedTextField:{type:"text",name:T(v,"ssn"),placeholder:n.addSSNPlaceholder,defaultValue:d?.ssn,format:"###-##-####",registerOptions:{required:S.includes("ssn")===!1,pattern:ql},autoComplete:"new-password",maxLength:9,allowLeadingZeros:!0},protectedInfoText:C!=null&&d?.ssn?Ee:void 0,additionalInfoLabel:n.ssnDescription.replace("_product_type_",V),isMasked:!0}),l.jsx(M,{}),l.jsx(Wl,{name:T(v,"selectDocument"),officerIndex:H,sizeLimit:Je,filesEndPoint:i,authParams:ce,onEditFileName:g,acceptableTypes:["image/jpg","image/jpeg","image/png","image/heic","image/heif"],label:{width:Be},allFiles:Se,updateFilesEntity:he,deleteFileStatusById:Ae,updateFileStatusById:be,onDeleteFile:me,isDisabled:C,menuPlacement:D==="onboarding"&&ne==null?"top":"auto",defaultValue:{defaultSelectDocumentType:ne,allSelectDocumentType:["driverLicense","passport","ssnCard"],files:{front:ol(!0,Se,$e),back:ol(!1,Se,$e)}},registerOptions:{required:S.includes("selectDocument")===!1},hasError:x,additionalInfoLabel:n.companyIdDescription.replace("_product_type_",V),onFileSizeError:j=>ve(j),isPopupOpen:t,openPopup:f,companyOfficerName:{firstName:d?.firstName??"",lastName:d?.lastName??""}})]},v)})]})}const T=(e,c)=>`${e}.${c}`,Oa=r.div`
|
|
241
|
-
display: flex;
|
|
242
|
-
flex-direction: column;
|
|
243
|
-
row-gap: ${e=>Ie.containerRowGap.valuePx(e.windowSize)};
|
|
244
|
-
`,Ia=r.div`
|
|
245
|
-
width: ${e=>Ie.width.valuePx(e.windowSize)};
|
|
246
|
-
display: flex;
|
|
247
|
-
justify-content: space-between;
|
|
248
|
-
flex-wrap: wrap;
|
|
249
|
-
row-gap: ${a.sp2};
|
|
250
|
-
padding-top: ${e=>e.isOverlay?a.sp3:a.sp0};
|
|
251
|
-
`,ja=r.div`
|
|
252
|
-
display: flex;
|
|
253
|
-
align-items: center;
|
|
254
|
-
color: ${e=>e.theme.colors.primary};
|
|
255
|
-
${e=>`${Sa.title.style(e.windowSize)}`};
|
|
256
|
-
padding-right: ${a.sp1};
|
|
257
|
-
`,va=r.div`
|
|
258
|
-
display: flex;
|
|
259
|
-
align-items: center;
|
|
260
|
-
`,$a=r.div`
|
|
261
|
-
margin-right: ${a.sp2};
|
|
262
|
-
`,La=r(Ll)`
|
|
263
|
-
width: ${a.sp3};
|
|
264
|
-
height: ${a.sp3};
|
|
265
|
-
color: ${z.success};
|
|
266
|
-
`,_a=r.div`
|
|
267
|
-
height: 14px;
|
|
268
|
-
width: 14px;
|
|
269
|
-
border: 1px solid ${e=>e.theme.colors.primary};
|
|
270
|
-
border-radius: 50%;
|
|
271
|
-
`,Ca=r.div`
|
|
272
|
-
display: flex;
|
|
273
|
-
color: ${e=>e.theme.colors.hero};
|
|
274
|
-
&:hover {
|
|
275
|
-
color: ${e=>e.theme.colors.primary};
|
|
276
|
-
}
|
|
277
|
-
`,Ea=r(_l)`
|
|
278
|
-
width: ${a.sp3};
|
|
279
|
-
height: ${a.sp3};
|
|
280
|
-
`,Fa=r.img`
|
|
281
|
-
height: ${a.sp4};
|
|
282
|
-
width: ${a.sp4};
|
|
283
|
-
border-radius: 50%;
|
|
284
|
-
justify-content: center;
|
|
285
|
-
`,Da=r.div`
|
|
286
|
-
margin-right: 14px;
|
|
287
|
-
color: ${e=>e.theme.colors.primary};
|
|
288
|
-
`,Na=r.div`
|
|
289
|
-
display: flex;
|
|
290
|
-
align-items: center;
|
|
291
|
-
`,Pa=r.div`
|
|
292
|
-
display: flex;
|
|
293
|
-
flex-direction: column;
|
|
294
|
-
background-color: ${e=>e.theme.colors.grey5};
|
|
295
|
-
border: 1px solid ${e=>e.theme.colors.grey3};
|
|
296
|
-
box-shadow: ${e=>`${a.sp0} 2px ${a.sp1} ${e.theme.colors.dropShadowNormal}`};
|
|
297
|
-
border-radius: ${a.sp2};
|
|
298
|
-
`,M=r.div`
|
|
299
|
-
display: flex;
|
|
300
|
-
flex: 1;
|
|
301
|
-
background-color: ${e=>e.theme.colors.grey3};
|
|
302
|
-
min-height: 1px;
|
|
303
|
-
max-height: 1px;
|
|
304
|
-
`,Va=r(ll)`
|
|
305
|
-
display: flex;
|
|
306
|
-
flex-direction: row;
|
|
307
|
-
justify-content: flex-end;
|
|
308
|
-
align-items: center;
|
|
309
|
-
color: ${e=>e.theme.colors.primary};
|
|
310
|
-
`,xl=r.div`
|
|
311
|
-
padding-left: ${a.sp2};
|
|
312
|
-
white-space: nowrap;
|
|
313
|
-
overflow: hidden;
|
|
314
|
-
text-overflow: ellipsis;
|
|
315
|
-
`,ka=r(Cl)`
|
|
316
|
-
width: max-content;
|
|
317
|
-
margin-left: ${a.sp3};
|
|
318
|
-
`,Ta=r(ll)`
|
|
319
|
-
display: flex;
|
|
320
|
-
flex-direction: row;
|
|
321
|
-
justify-content: flex-end;
|
|
322
|
-
align-items: center;
|
|
323
|
-
color: ${e=>e.theme.colors.hero};
|
|
324
|
-
`,Aa=r.div`
|
|
325
|
-
display: flex;
|
|
326
|
-
align-items: center;
|
|
327
|
-
`,za=r(El)`
|
|
328
|
-
width: ${a.sp4};
|
|
329
|
-
height: ${a.sp4};
|
|
330
|
-
color: ${e=>e.theme.colors.hero};
|
|
331
|
-
`;export{Ja as r,Tt as z};
|