@zeniai/web-cockpit-ui 1.15.55-dev → 1.15.56-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-C98HijMx-DIRaMQaw.js → ACHDetailsPage-CfGEDzSb-BGyn6Hh2.js} +1 -1
- package/dist/assets/{AIPerformancePage-DvIqqfUW-B5ddcrLl.js → AIPerformancePage-BWhcStZE-CeYODf8q.js} +29 -29
- package/dist/assets/AccountInfoPage-D6sv-ieC-B4PaH9ex.js +18 -0
- package/dist/assets/{AccountInfoPageContent-Bjoy7kSM-kNnrLnJI.js → AccountInfoPageContent-XBo-oJV1-DWd-5Z8N.js} +15 -15
- package/dist/assets/{AccountLockedInfoModal-DisEYsUS-zfxK1-20.js → AccountLockedInfoModal-DTEWzR6U-CswnB2Ho.js} +10 -10
- package/dist/assets/{AccountReconDetailsDrawerPage-3lMeeEsP-CBHWuQnb.js → AccountReconDetailsDrawerPage-DwzrCq7I-D9C1tnWs.js} +20 -20
- package/dist/assets/AccountRow-BsjoBGWz-XKpYWJFn.js +298 -0
- package/dist/assets/{AccountsPromoCardStack-94l6cw3--BqluiECW.js → AccountsPromoCardStack-D-iNswM8-BCWgVD2M.js} +18 -18
- package/dist/assets/AddAddressForCardDrawer-D7IEsbzd-9AcgaTTK.js +6 -0
- package/dist/assets/{AddToWalletPage-BFRK3Cz9--H2684Y8.js → AddToWalletPage-DX8xInYJ-DCTNQyem.js} +12 -12
- package/dist/assets/{AgingReportsPage-B4XD0NxM-C9hPpgrJ.js → AgingReportsPage-CXj1Tifk-Cx88sSbv.js} +16 -16
- package/dist/assets/{AllUserItems-fjv8Ov4s-D0Yn7Cw3.js → AllUserItems-DU78kWqE-BO6rFyuD.js} +13 -13
- package/dist/assets/{ApAgingDetailPage-D5ATi6Rg-c01emJHv.js → ApAgingDetailPage-BV5m2F3a-BSgBSoy0.js} +3 -3
- package/dist/assets/AppBasePage-1U1M1WD9-CXysaPqS.js +71 -0
- package/dist/assets/AppDrawerContent-ilzYI49f-BI7w7tno.js +92 -0
- package/dist/assets/ApprovalRulesSettingsPage-CJ4xz_hQ-D5sZOOO8.js +47 -0
- package/dist/assets/{ArAgingChart-CW-BCqsC-D14dt6qa.js → ArAgingChart-B0wn2vDP-ClJ7YwbK.js} +4 -4
- package/dist/assets/{ArAgingDetailPage-C4wzs4jI-BEFfnJg4.js → ArAgingDetailPage-C-agUa8y-C_TJ2L21.js} +2 -2
- package/dist/assets/{AttachmentView-NLynK_4B-BnApX40v.js → AttachmentView-9Vrv319r-czchKUV5.js} +9 -9
- package/dist/assets/{BankAccountSection-BvIYx2co-BamiC5Ie.js → BankAccountSection-Bv9Iogxn-gY4dwkU_.js} +13 -13
- package/dist/assets/{BankAccountWarningSection-CqyeSTWe-C-YFtMtw.js → BankAccountWarningSection-DAxaKIg3-SHVqFPrV.js} +7 -7
- package/dist/assets/{BankConnectionsSettingsPage-C8lTCBWz-C-LvS4NN.js → BankConnectionsSettingsPage-ZUWw604G-5JFfnAUm.js} +29 -29
- package/dist/assets/BillDetailPage-Cf4PYoYQ-DJR4Ml4e.js +266 -0
- package/dist/assets/{BillPayApprovalRuleDetailPage-CKtwE5ro-CvaoHMcE.js → BillPayApprovalRuleDetailPage-BfJ2F03Y-BSqfEElp.js} +1 -1
- package/dist/assets/{BillPayApprovalRulesPage-CAVAguR4-C8XO5DYA.js → BillPayApprovalRulesPage-DQ0MRCLa-C_GPmDyJ.js} +13 -13
- package/dist/assets/{BillPayPromoPage-BhXeOZWk-DQanpXhA.js → BillPayPromoPage-DdxRC1p4-C6FSHUuV.js} +7 -7
- package/dist/assets/{BillPaySetUpPage-DBeeMB1d-CPdIKBLb.js → BillPaySetUpPage-DBFcp1Yq-B1CZUTYe.js} +2 -2
- package/dist/assets/{BillingSettingsPage-C34kg2JK-d6AbOc60.js → BillingSettingsPage-DsMjw0qG-Cq1aHxZN.js} +8 -8
- package/dist/assets/BillsBulkReviewDrawerPage-HXDlOpw3-BmcSBj3u.js +1 -0
- package/dist/assets/{BoxItem-F9HlKmjN-xqfWS_hX.js → BoxItem-DaxLyqVe-BDS_i-Ew.js} +1 -1
- package/dist/assets/{BusinessVerificationPage-YOt_PXhl-CeYXkkiq.js → BusinessVerificationPage-BG1rOYOk-DZAei-pQ.js} +13 -13
- package/dist/assets/{CardNumberSubText-BYBZ7ZM1-CYschYSJ.js → CardNumberSubText-bkAPzhoK-D68hvJdl.js} +3 -3
- package/dist/assets/{CashbackDetailPage-BvWf2TDN-CJvt8fwC.js → CashbackDetailPage-CpVmCjts-C2xLm-90.js} +24 -24
- package/dist/assets/{ChargeCardDetailPage-Bx09SgSk-Mc5U0L1M.js → ChargeCardDetailPage-u6hMCosx-DzEhI6yb.js} +1 -1
- package/dist/assets/{ChargeCardListPage-BM0D7PCI-2RCeRUIi.js → ChargeCardListPage-D_7gwi3K-Bgz8fKhJ.js} +28 -28
- package/dist/assets/{ChargeCardListTable-xoYHcNTF-CDUEEXq9.js → ChargeCardListTable-DJmStpnO-DehJbT-m.js} +58 -58
- package/dist/assets/{ChargeCardPaymentHistoryPage-CLA5UpG2-BjxNitum.js → ChargeCardPaymentHistoryPage-BRGJ-5y3-gSyJhC6K.js} +35 -35
- package/dist/assets/ChargeCardPromoPage-Dx4Lni50-C133Kvxd.js +222 -0
- package/dist/assets/ChargeCardSetupPage-CRDfRFf1-DUoEu2We.js +36 -0
- package/dist/assets/ChargeCardStatementsPage-l4X9T8zd-DdxKgTDl.js +60 -0
- package/dist/assets/{CheckDepositDrawerPage-BTCZ6Ihv-Bwg08fJC.js → CheckDepositDrawerPage-DR6LIuPw-BXSM12h-.js} +16 -16
- package/dist/assets/CollapsableReportTable-4bJMcvHV-DJSNBbx8.js +2844 -0
- package/dist/assets/{CompanyOfficerDetailsSection-7wea0Ige-DaIiZvTQ.js → CompanyOfficerDetailsSection-DoGF7khv-CBglpYSM.js} +27 -27
- package/dist/assets/{CompanyPassportCard-BiW2qW0Q-DbzQ0mZs.js → CompanyPassportCard-BHFj9sK6-DN_eKmT3.js} +8 -8
- package/dist/assets/{CompanyPassportPage-cUf8LJjO-BtNthnMy.js → CompanyPassportPage-CH-dqy03-CkFzpRAr.js} +16 -16
- package/dist/assets/{CompleteProfile-zUf6xhpN-Djjy4qMc.js → CompleteProfile-Ck4Baf4z-Bb8vk_It.js} +2 -2
- package/dist/assets/ConfettiBurst-CVLXMknu-C5dtBbFy.js +1 -0
- package/dist/assets/{ConstrainedInnerElement-BeIpAPjB-D303BiU-.js → ConstrainedInnerElement-BeIpAPjB-C1ngGNQp.js} +1 -1
- package/dist/assets/{CreateOrEditVendorPage-ByvOufGv-BnP_tF_w.js → CreateOrEditVendorPage-D-0WG9pO-B3wRKHPt.js} +22 -22
- package/dist/assets/{CreditCardPaymentDrawerPage-bvQF_Dnd-DNvTFSk3.js → CreditCardPaymentDrawerPage-B7voVDUs-D92b0pbw.js} +21 -21
- package/dist/assets/CurrencySelectField-DrL1sFLq-CxbEbHLA.js +139 -0
- package/dist/assets/{CustomerOnboardingActivationPage-Bnqb4OwN-BkOYiVjl.js → CustomerOnboardingActivationPage-D42sb2F9-DOoQENIp.js} +29 -29
- package/dist/assets/CustomerOnboardingContainerPage-ecKRiXO1-B2Rv0uXK.js +1 -0
- package/dist/assets/{CustomerOnboardingDetailPageSkeleton-DzZq9ydV-rcF8sUPi.js → CustomerOnboardingDetailPageSkeleton-n6GMQZP5-VclSN0ci.js} +16 -16
- package/dist/assets/CustomerOnboardingNoStepsPage--O7lSduT-kzaO9ZVJ.js +66 -0
- package/dist/assets/{CustomerOnboardingPage-Gs1nLE_K-C1loGeIV.js → CustomerOnboardingPage-BPX2w8Fg-Co3rO7kz.js} +7 -7
- package/dist/assets/{CustomerOnboardingProductSuitePage-BzXjhPEn-CGUMAsr4.js → CustomerOnboardingProductSuitePage-CZXqXXFj-B9tCLCph.js} +10 -10
- package/dist/assets/{Dashboard-CB4FHIWL-DH8-1h66.js → Dashboard-Q5gt63wS-D-NM1jxJ.js} +1 -1
- package/dist/assets/{DashboardReportPage-CJzzOcFM-CXGGECPa.js → DashboardReportPage-DJsc3Nx7-CPNsUz_i.js} +40 -40
- package/dist/assets/DashboardSidebarBackgroundAnimation-8LKlc-IA-DppqzS9d.js +12 -0
- package/dist/assets/{DepositAccTransactionItem-DI2iFIOE-D78pehet.js → DepositAccTransactionItem-DB7Oz4GA-Bl1jaHEd.js} +6 -6
- package/dist/assets/DepositAccTransactionListPage-BU1b2OIP-Bg5Lhhh_.js +66 -0
- package/dist/assets/{DomesticWireDetailsPage-6Ja_raS1-BtmRTZLv.js → DomesticWireDetailsPage-Dptv-ebx-Dh9S4ky1.js} +1 -1
- package/dist/assets/DownloadOverlay-B61S0t5X-D_O4PIgS.js +439 -0
- package/dist/assets/{DrawerPage-CTtzGlId-R2r7ok8_.js → DrawerPage-DtJQE-UA-o7PPfoO7.js} +9 -9
- package/dist/assets/EditPeoplePage-Dd1g1r37-D5NUne-F.js +55 -0
- package/dist/assets/EditReimbursementDetailPage-B_u1W6bf-DF3LKIJu.js +865 -0
- package/dist/assets/EntityDetailPage-q_kzXlBV-CelG1soQ.js +18 -0
- package/dist/assets/{EntitySummarySection-CgIfSDBl-bARhT4wA.js → EntitySummarySection-BiIPehv4-DbMdDRCI.js} +19 -19
- package/dist/assets/{ExpenseAutomationOverviewPage-BOMURB5R-BK4Piycw.js → ExpenseAutomationOverviewPage-Bo5Eu3Ju-BJhkARvq.js} +48 -48
- package/dist/assets/ExpenseAutomationPage-CBGrrVMb-DCPvuANk.js +1703 -0
- package/dist/assets/{ExpressPayPage-Bq7VwGIy-CuN_JG1U.js → ExpressPayPage-D18sY5VJ-B6oTblqu.js} +19 -19
- package/dist/assets/{FeaturePreviewPage-DzmWWp4h-DNDXggJB.js → FeaturePreviewPage-De2_m2xD-DVzcgjum.js} +2 -2
- package/dist/assets/{FollowStepsSection-DF7igv9E-BXwQRKtK.js → FollowStepsSection-D5ln-mii-C0ucHGsw.js} +24 -24
- package/dist/assets/GlobalReviewListPage-Ch51_Flw-D-uO5wy3.js +291 -0
- package/dist/assets/{InformationCardStack-DNqDhetv-CczzYoVw.js → InformationCardStack-B4z6RgwP-DRH43WQx.js} +5 -5
- package/dist/assets/{InsightsCardStack-cCxIT64L-CUFk6OxI.js → InsightsCardStack-CwBBEkZ7-DJcXHozK.js} +12 -12
- package/dist/assets/InsightsSection-CQD6KXLg-Dl2NV9MP.js +27 -0
- package/dist/assets/IntegrationsSettingsPage-DBiomD_q-DtZiPPV1.js +57 -0
- package/dist/assets/{InternationalWireSwiftDetailsPage-53hMX6yJ-BesU5wqw.js → InternationalWireSwiftDetailsPage-h4bchKo3-DHLm8H4k.js} +25 -25
- package/dist/assets/InternationalWireVerificationPage-DAQrAsW5-Do-KUK3J.js +65 -0
- package/dist/assets/{InviteFormPage-CGxv4wps-5AP-y1Ow.js → InviteFormPage-Dgb-LZKf-ilCutOVc.js} +21 -21
- package/dist/assets/{InvitePageListView-NbYGP_zc-CH2LQelV.js → InvitePageListView-DC-Dp4Zc-D5DpcvE2.js} +47 -47
- package/dist/assets/InvitePeoplePage-CjJOyA8E-7gXroqh1.js +12 -0
- package/dist/assets/InvoiceUploadSection-BJ_Sbytw-C6MkqA6t.js +140 -0
- package/dist/assets/{IssueChargeCardPage-BRRHAcZh-D4kemR48.js → IssueChargeCardPage-DiUKL-rT-CiI_gBye.js} +37 -37
- package/dist/assets/{LabeledAddressValue-BqBWtO4T-C7fJuTnk.js → LabeledAddressValue-DYTDoPER-BLmB8hnw.js} +1 -1
- package/dist/assets/LabeledAddressValueField-DVNSaKBc-CR8m9IVs.js +45 -0
- package/dist/assets/LabeledControlledCheckBoxField-CZlavM3Q-CNMSOa5n.js +16 -0
- package/dist/assets/{LabeledCountryMultiSelectField-C0QF9TCM-CB5E5Naj.js → LabeledCountryMultiSelectField-BM1jU3hl-_1uQcelw.js} +12 -12
- package/dist/assets/{LabeledCreatableSingleSelectField-CdMkAJap-1V7j-DDR.js → LabeledCreatableSingleSelectField-BkI0vyax-Dhqs7qd2.js} +6 -6
- package/dist/assets/LabeledDocumentField-B7TETIva-DaOKO-m5.js +41 -0
- package/dist/assets/LabeledDropDownFormattedTextField-Dj0SVwKK-B9iE6D9J.js +59 -0
- package/dist/assets/{LabeledText-DTF15PO8-z7lFVMYz.js → LabeledText-BaYp8lyd-CYkwAQsC.js} +6 -6
- package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-D9bbIz04-BT9veYVH.js → LabeledUserSingleSelectWithSubtitlesField-nlyagP_L-V-ruydL6.js} +19 -19
- package/dist/assets/{LabeledZeniRolesDropDownField-DPNR8el--C4H8qzAo.js → LabeledZeniRolesDropDownField-Bgf26ek0-BDX-8gLb.js} +30 -30
- package/dist/assets/LinkJETransactionPage-ByQktBdK-C5XqLvWq.js +98 -0
- package/dist/assets/{LockCardPage-VSlPzmAF-CYZTWdC-.js → LockCardPage-M7Pcx6mB-BwvNlh-G.js} +14 -14
- package/dist/assets/{LowBalancePopup-DCwoGS48-hmCGAo7a.js → LowBalancePopup-DTwIs75G-MssgctsT.js} +6 -6
- package/dist/assets/MagicLinkACHDetailsPage-Cateo39t-T6xIrHkU.js +1 -0
- package/dist/assets/MagicLinkDomesticWireDetailsPage-BMkPYONG-Cj3VBYpA.js +1 -0
- package/dist/assets/MagicLinkInternationalWireDetailsPage-BVn2JAEL-DeQZ6JNw.js +1 -0
- package/dist/assets/MagicLinkSuccessPage-6e22dOVy-Gwai5BfM.js +31 -0
- package/dist/assets/{MagicLinkTitleSection-D1tjQ-VI-B06aRvZu.js → MagicLinkTitleSection-B985JuE8-Dn-qMxNJ.js} +5 -5
- package/dist/assets/MailingDetailsSection-detuRa7l-BJwGs4Yy.js +21 -0
- package/dist/assets/{MyBankConnectionsSettingsPage-CtYcGNjJ-BqSq6z3Z.js → MyBankConnectionsSettingsPage-2x0kDozt-ClPVN4BG.js} +12 -12
- package/dist/assets/MyPendingActivationChargeCardListPage-CfsTMsnG-BVxobwmr.js +6 -0
- package/dist/assets/MyProfileSettingsPage-BQx9m8r--De3mUOMd.js +85 -0
- package/dist/assets/NavBarWithPicker-BXsxMlBP-DTPzeQwG.js +30 -0
- package/dist/assets/{NavigationArrow-DJQDYzJE-BC_4c0HP.js → NavigationArrow-BpKepWMa-Bn4FAyCA.js} +7 -7
- package/dist/assets/NavigationDots-CxV99fd--CAgGp2GQ.js +15 -0
- package/dist/assets/{NewGlobalMerchantPage-B18toasi-BU1JGIOb.js → NewGlobalMerchantPage-rAYrEwup-HzusEOWs.js} +36 -36
- package/dist/assets/{NoDataChart-BO4tisNf-D8owAUYk.js → NoDataChart-SlgxXIjJ-Bi3c4Olw.js} +3 -3
- package/dist/assets/{NoDataTable-BEVgI9LO-CYWfmTuA.js → NoDataTable-CePwfuWH-BOYJp_LB.js} +1 -1
- package/dist/assets/NotFoundPage-CdmLYWbu-BBjH4PMR.js +46 -0
- package/dist/assets/NotificationSettingsPage-KThnHYOw-D0iY_voD.js +163 -0
- package/dist/assets/NotificationsListConfig-6ay7Y8AS-8Qyako_J.js +1 -0
- package/dist/assets/NotificationsPage-BmNwL81h-yaYUcRR5.js +685 -0
- package/dist/assets/OpExByVendorPage-DQPUJmPx-m9-ozd1L.js +100 -0
- package/dist/assets/{OverlayContainerPage-D4QU0p4o-b_Vxf1PH.js → OverlayContainerPage-D4QU0p4o-BPZC_JkQ.js} +1 -1
- package/dist/assets/{PandLWithForecastPage-Bu9ojuKa-CT86cSNx.js → PandLWithForecastPage-C6FwSybq-CjLuy8We.js} +14 -14
- package/dist/assets/{PaymentAccountSetupBillingAddressSection-vFIhGJqT-5psa-_DW.js → PaymentAccountSetupBillingAddressSection-DFCQGlZ--D6Xxd3zY.js} +16 -16
- package/dist/assets/PeoplePage-Df6QdrX5-CNBpk9Ed.js +675 -0
- package/dist/assets/{Preview-CJ42XXYk.js → Preview-Wpvi69S8.js} +1 -1
- package/dist/assets/{ProductsCarousel-Bp3BA6jn-Dq3g70sD.js → ProductsCarousel-Bq0uDCW7-BchAY2K0.js} +9 -9
- package/dist/assets/{PromoBaseCards-BJngCLC1-D1D3BuDF.js → PromoBaseCards-Bs1TPBeA-C7sFMDVT.js} +4 -4
- package/dist/assets/{QBOConnectionDialog-DkBwI8ar-CHNOORcZ.js → QBOConnectionDialog-CGH6M1BO-BTEhQpDo.js} +5 -5
- package/dist/assets/QBOSetupSection-BsFbgysY-CxagA6VQ.js +79 -0
- package/dist/assets/{ReimbursementApprovalRuleDetailPage-Q5ynG2vJ-D1YIG_oC.js → ReimbursementApprovalRuleDetailPage-CUf8BGfB-21mnbTVV.js} +2 -2
- package/dist/assets/{ReimbursementApprovalRulesPage-bXsxoJ-h--lf8D9ac.js → ReimbursementApprovalRulesPage-SKRjcth4-C1ni0caN.js} +17 -17
- package/dist/assets/ReimbursementDetailPage-BzqZlk2B-BW3Uw4EQ.js +314 -0
- package/dist/assets/{ReimbursementPromoPage-Db-_ODCp-CvQz3EGd.js → ReimbursementPromoPage-X1o2D5fz-DfVtcv-q.js} +32 -32
- package/dist/assets/{ReimbursementSetUpPage-Hs-W_q-P-BdYd6UC3.js → ReimbursementSetUpPage-DfAhrvlw-x_fpcuRs.js} +3 -3
- package/dist/assets/ReimbursementsBulkReviewDrawerPage-D0tGia3M-CiWkjF6g.js +1 -0
- package/dist/assets/{ReloadCard-CqhIfBOB-BY0vX67l.js → ReloadCard-DvIzOHkJ-SNPzaiS7.js} +6 -6
- package/dist/assets/ReportTableViewSelector-DikZuwk8-JNUnKB0r.js +150 -0
- package/dist/assets/ReportsPage-CgwJh87H-BukY4LEY.js +121 -0
- package/dist/assets/{RevenueChart-SOIqJqC1-C9wQDXwd.js → RevenueChart-VvZ0y1TP-qC_rkSgA.js} +19 -19
- package/dist/assets/{ReviewDetailsPage-DJtR6MAV-YpQ78vWd.js → ReviewDetailsPage-DC5Pr6t5-DriGh_oI.js} +20 -20
- package/dist/assets/{ReviewOverlay-BAkkDswR-CSwNTB3g.js → ReviewOverlay-BidXwnVw-CvEYNCbr.js} +23 -23
- package/dist/assets/{RoleWithToolTip-LhCV3AOg-BfEF5V_b.js → RoleWithToolTip-CUpngYu7-DADn2aws.js} +4 -4
- package/dist/assets/{ScheduleDetailsFixedAssetsPage-BSEAGNCA-CWkK2E_X.js → ScheduleDetailsFixedAssetsPage-P4en048K-D2xUyeCX.js} +13 -13
- package/dist/assets/{ScheduleDetailsPage-DuQdRk-6-YLy7Z141.js → ScheduleDetailsPage-Bm8IOCpE-BZajG7cQ.js} +3 -3
- package/dist/assets/ScheduleSequenceTable-Cz46lcuv-DwCS-vmM.js +324 -0
- package/dist/assets/{ScreenRoutes-D4V6kIC9.js → ScreenRoutes-Cdqgwe4G.js} +31 -31
- package/dist/assets/{SetUpAccountSection-Bx30O5Ml-WH4usOA9.js → SetUpAccountSection-DBuoMbxP-u5yk_3Is.js} +17 -17
- package/dist/assets/SignIn-ogxsR98p-BbKEcQBe.js +491 -0
- package/dist/assets/SignInScreen-DP-m_Sk_.js +1 -0
- package/dist/assets/SpendManagementListViewPage-DP6uWx2T-BVgklVNc.js +134 -0
- package/dist/assets/{SpendManagementPerTabPage-Caux80RI-BTh48LKq.js → SpendManagementPerTabPage-DSXg_agw-BBbTIsSz.js} +108 -108
- package/dist/assets/{SpendManagementSection-Z9MFiKoI-CQFuO0wV.js → SpendManagementSection-C-EIQv7m-QyOD3ve3.js} +25 -25
- package/dist/assets/StatementItem-BSVnuQ3e-Bes_h96W.js +31 -0
- package/dist/assets/StatementsPage-CgOC5W_I-Df-cPgLx.js +58 -0
- package/dist/assets/{StatusSwitcher-C3WR2o9U-C0FM9NGp.js → StatusSwitcher-BnSFSpJ0-DnH48_9z.js} +5 -5
- package/dist/assets/SubTabSwitcher-VHMqXmGa-DxiEBs88.js +58 -0
- package/dist/assets/SummaryCard-BTnU1LYd-5Er4BGPP.js +1 -0
- package/dist/assets/TaskManagementPage-CeQkRFbn-JSqoMa4T.js +508 -0
- package/dist/assets/TimeRangeSwitcher-BifUYnpe-C0S2hPAm.js +64 -0
- package/dist/assets/TimeframeSwitcher-9X-6amWo-BHsPnDZX.js +31 -0
- package/dist/assets/TimeframeSwitcherWithToggle-C0fPwGaA-BBTlDoLy.js +31 -0
- package/dist/assets/{TopExCard-CcmlvV2E-DQ9im9Ri.js → TopExCard-Bc812PB9-Cgf0i8AY.js} +6 -6
- package/dist/assets/{TopExDetailPage-oCk5X1ga-b7oteKxs.js → TopExDetailPage-19FwjeX_-Udhi2GOz.js} +16 -16
- package/dist/assets/{TransactionActivityLogPage-nNEnRuxA-DgSPVh85.js → TransactionActivityLogPage-7Lfwq_IY-CFdWRG9m.js} +20 -20
- package/dist/assets/TransactionDetailPage-C7Tv82YB-m9WgdlMS.js +903 -0
- package/dist/assets/TransactionList-CSZxHqad-CHJszH5C.js +153 -0
- package/dist/assets/{TransactionListBig-C_K_kh-Q-CF_jEt3p.js → TransactionListBig-gSPdjYSs-Dr__rrF5.js} +19 -19
- package/dist/assets/TransactionListPage-9ezEzYvU-Cm8yXVfl.js +35 -0
- package/dist/assets/{TransactionVendorDetailPage-B1BhBjXd-B68h1iEJ.js → TransactionVendorDetailPage-rcOVwgxy-Ow41gTpA.js} +4 -4
- package/dist/assets/{TransferDrawerPage-DlH8zdQ6-4JQLTKYp.js → TransferDrawerPage-IeuD-8y4-BBbQ4FZg.js} +27 -27
- package/dist/assets/TreasuryOverviewPage-bmv1c3nO-m6l1VttQ.js +708 -0
- package/dist/assets/{TreasuryPromoPage-vnYtT9wt-BT7vg2wI.js → TreasuryPromoPage-KuuzWIYO-BDjVQ4WN.js} +131 -131
- package/dist/assets/{TreasuryStatementsPage-DF66dQfj-YdehmP5K.js → TreasuryStatementsPage-BAfN8DAx-CZoNN9-F.js} +1 -1
- package/dist/assets/{TreasuryTaxLetterPage-DyHfEHRJ-Dk_i3mPQ.js → TreasuryTaxLetterPage-BRDygaXn-BgocidOv.js} +1 -1
- package/dist/assets/{TrendChart-DWFAkD1M-rLrsd-Rc.js → TrendChart-BJqnjEu6-BacSdVAX.js} +4 -4
- package/dist/assets/TrendWithTransactions-2pBj6qUR-T4OcbS5_.js +116 -0
- package/dist/assets/{UncategorizedAccountsMappingPage-Cpz9ytBO-BvYunpjj.js → UncategorizedAccountsMappingPage-DlxWCGZg-CdSrYHNM.js} +23 -23
- package/dist/assets/{UnitIntegrationPage-DUt0EgH9-CrhKA0X8.js → UnitIntegrationPage-U85XCs_D-Bx8aLPRf.js} +11 -11
- package/dist/assets/UploadAdditionalDocumentOverlay-5-avyqy0-fJ0d5z1N.js +38 -0
- package/dist/assets/{Vendor2FAPopup-31AZ3ofQ-ByfeqFMV.js → Vendor2FAPopup-DLU7H22p-DEGIw5UY.js} +1 -1
- package/dist/assets/VendorACHDetailsPage-B-Zle7l9-BVROIXeh.js +1 -0
- package/dist/assets/VendorDetailPage-prrUwTR_-BD-GdLo7.js +257 -0
- package/dist/assets/VendorDomesticWireDetailsPage-Cm6an-ZT-DTJS7RDE.js +1 -0
- package/dist/assets/{VendorFiling1099EditablePage-DEm4nD4L-C8GKsU9A.js → VendorFiling1099EditablePage-DIvLStyg-CYbK6ev_.js} +17 -17
- package/dist/assets/VendorFirstReviewPage-BJKFcgOq-CSmnGqyp.js +730 -0
- package/dist/assets/{VendorInternationalWireDetailsPage-B3-s03c8-D6bHR05f.js → VendorInternationalWireDetailsPage-Ctwg_CTY-CK5moP88.js} +15 -15
- package/dist/assets/VendorInternationalWireSwiftDetailsPage-D11DRwWL-NLsA0vGl.js +1 -0
- package/dist/assets/{VendorsAccountsSection-2RQUw482-DQWkHxTh.js → VendorsAccountsSection-Bj840XXA-zylNCv6a.js} +2 -2
- package/dist/assets/{VerifyDevice-DrHOxZ08-DicK7t3o.js → VerifyDevice-D5ce0rEk-ByWH1Q6_.js} +2 -2
- package/dist/assets/{VideoPlayer-D7qtpMP6-DY2DpB0L.js → VideoPlayer-XhlPd-AK-BJf7SfgL.js} +2 -2
- package/dist/assets/{VideoPopup-mcH3S96f-CSNVNU5W.js → VideoPopup-8ebccUQt-CoWKaT2k.js} +5 -5
- package/dist/assets/{WarningsDrawerPage-BuSNnbS0-BmlAm--l.js → WarningsDrawerPage-CXHMQPmw-V3zdlF1l.js} +9 -9
- package/dist/assets/{ZeniAccountDetailPage-DeS7bxGu-B2MkmZWf.js → ZeniAccountDetailPage-BCEccrGo-CidPyi4i.js} +40 -40
- package/dist/assets/{ZeniAccountListViewPage-CE9vKT6d-C_0wjRBB.js → ZeniAccountListViewPage-f_9PSaYv-D_Ll-dy-.js} +20 -20
- package/dist/assets/ZeniAccountNavBarPieces-oinah8Mu-H8pK0EkG.js +14 -0
- package/dist/assets/{ZeniAccountPromoPage-CS4DCdI2-B9MH4_YO.js → ZeniAccountPromoPage-DGttDJGp-F0XlSRMz.js} +29 -29
- package/dist/assets/{ZeniAccountSetupPage-B_TE40pq-Dxf2Uc2C.js → ZeniAccountSetupPage-5hc6Dfls-Csndezul.js} +6 -6
- package/dist/assets/ZeniCopyright-Ct2Gx1TW-CQmnzv8u.js +1 -0
- package/dist/assets/{ZeniTransferAmountSlider-DpxLl7Ue-DPRxI6VI.js → ZeniTransferAmountSlider-CtSVUxFX-BrJYB_Am.js} +7 -7
- package/dist/assets/{add-to-wallet-DgdBD8_G-C6LAT582.js → add-to-wallet-DgdBD8_G-vslLOG9x.js} +1 -1
- package/dist/assets/{analytics-BBPxpXjb.js → analytics-DRVsD-is.js} +1 -1
- package/dist/assets/{analyticsHelper-huzmVdCu-BJHBr6dz.js → analyticsHelper-BZApS5V7-B7rpJkUm.js} +1 -1
- package/dist/assets/{analyticsHelper-Bp3QyGtE.js → analyticsHelper-BZQExm6b.js} +1 -1
- package/dist/assets/{arrow-south-east-round-PEovUgvH-CRAkJ5eu.js → arrow-south-east-round-PEovUgvH-CRc8KuMa.js} +1 -1
- package/dist/assets/{auto-transfer-rule-mbafm5D3-BkJsqyVy.js → auto-transfer-rule-mbafm5D3-D9R5lS7d.js} +1 -1
- package/dist/assets/chartTypes-DcNGo46a-CqMbbGUL.js +1 -0
- package/dist/assets/commonDimensions-C5V1GwCs-CraAZnb_.js +1 -0
- package/dist/assets/{commonTypes-BqXyygFE-CnF1i8TV.js → commonTypes-CGdrM7wg-Dv-NGJZV.js} +1 -1
- package/dist/assets/{constants-CPFJyknY.js → constants-DTOPkqCr.js} +1 -1
- package/dist/assets/{core-CddRDKK5.js → core-D2KcXy_y.js} +2 -2
- package/dist/assets/{dash.all.min-BPpCNIar.js → dash.all.min-BAllcYm-.js} +1 -1
- package/dist/assets/detailCommon-DEXTnYE7-CjqtKJhq.js +38 -0
- package/dist/assets/downloadPdf-Cd1RR1sH-Cvu_thw4.js +1 -0
- package/dist/assets/{empty-OXNqopUa.js → empty-BTyrR5qF.js} +1 -1
- package/dist/assets/{empty-DnP56ICM.js → empty-wMN4Rfol.js} +1 -1
- package/dist/assets/epic-CLSKdGkp.js +2 -0
- package/dist/assets/{gift-box-Cmt9OgIZ-DgonOPJx.js → gift-box-Cmt9OgIZ-DP-cJLna.js} +1 -1
- package/dist/assets/{graphic-no-data-l-DU4J8fDt-CyoR0rrV.js → graphic-no-data-l-DU4J8fDt-D-Fo2zgX.js} +1 -1
- package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-D4pGKQmg.js → graphic-no-data-net-burn-l-CzmycA0m-D8edm3HW.js} +1 -1
- package/dist/assets/{handshake-BPg58FML-Bi2WM_Eh.js → handshake-BPg58FML-DJLp3b1-.js} +1 -1
- package/dist/assets/{helper-C6wE3mOs-ygxajmnJ.js → helper-kGYJRbxq-D4mxVura.js} +3 -3
- package/dist/assets/{index-DeqxpWOe.js → index-BHqxLcjt.js} +1 -1
- package/dist/assets/{index-Dw6Tuhsa.js → index-CBio2FUy.js} +1 -1
- package/dist/assets/{index-hMgEheel.js → index-Cpk1UVH8.js} +1 -1
- package/dist/assets/{index-D2KmAsTj.js → index-DH51hTsJ.js} +1 -1
- package/dist/assets/{index-DNn6xiN7.js → index-DJK9rXmh.js} +1 -1
- package/dist/assets/{index-GvAktRSv.js → index-aDDisho3.js} +1 -1
- package/dist/assets/{index-DceSoL0X.js → index-sotzB3Mx.js} +4796 -4800
- package/dist/assets/{lexical-CRAxrDKi.js → lexical-Dj2KAtCD.js} +1 -1
- package/dist/assets/{liveblocks-C3olwiFW.js → liveblocks-DezulwOD.js} +1 -1
- package/dist/assets/{lottie-DHSNlrty.js → lottie-D7_uSTtS.js} +1 -1
- package/dist/assets/{mapLoadingInProgressToTreeNode-QGHkauXd-qPE55nra.js → mapLoadingInProgressToTreeNode-BXVk4dIp-BuiNw2vq.js} +1 -1
- package/dist/assets/{mapSectionWithAcOnlyToTreeNode-IAuTtuif-w6n_R73J.js → mapSectionWithAcOnlyToTreeNode-oqbfssc7-BaqyGbt-.js} +1 -1
- package/dist/assets/mapSpacerToTreeNode-BA1RwyQy-BaPbOaZb.js +1 -0
- package/dist/assets/mapTimeframeBalancesToTreeNode-B8pIGqbO-BJk8DWTQ.js +1 -0
- package/dist/assets/mapTimeframeBalancesToTreeNode-D-yDCyLa-BApfBpwP.js +1 -0
- package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-BGId2YAo-D_Czi_I6.js +1 -0
- package/dist/assets/{mui-B9ZZxqGv.js → mui-CWqpJBOf.js} +1 -1
- package/dist/assets/{page-detail-CWX5S47F-BAeGzYhC.js → page-detail-CWX5S47F-B2tDMGkf.js} +1 -1
- package/dist/assets/panelSelectedMixin-CzfD5-Zs-HFnGkMgT.js +4 -0
- package/dist/assets/{radio-default-CiSgisfh-BTgddVFO.js → radio-default-CiSgisfh-0Atq9vXH.js} +1 -1
- package/dist/assets/{react-C-YPBd7x.js → react-4PtfPhor.js} +3 -3
- package/dist/assets/{react-dF0Ep-lR.js → react-Bhq0KCUo.js} +1 -1
- package/dist/assets/{react-ClcmWYZP.js → react-BxwoRjBq.js} +1 -1
- package/dist/assets/{react-BmFTzqBR.js → react-By_pdhPa.js} +1 -1
- package/dist/assets/{react-UG1Schov.js → react-CPTbErTv.js} +1 -1
- package/dist/assets/{react-BNxsrY_J.js → react-CSZP1bUd.js} +1 -1
- package/dist/assets/{react-B6URfXSC.js → react-CjLH0WcG.js} +1 -1
- package/dist/assets/{react-DPaJOqrg.js → react-k1MNcgFc.js} +2 -2
- package/dist/assets/{recharts-Df6P8LTk.js → recharts-H7gIkfSf.js} +20 -20
- package/dist/assets/{sentry-DSwgNZrO.js → sentry-2bqpslFP.js} +1 -1
- package/dist/assets/{shield-DOlUxcFf-DfJyH00V.js → shield-DOlUxcFf-BxoXXGpt.js} +1 -1
- package/dist/assets/toCOABalancesWithID-Ckyq_c20-DzmyGaV3.js +1 -0
- package/dist/assets/toChartData-N0pkfSXY-BNdgZ-va.js +1 -0
- package/dist/assets/{uploadAttachment-4DeHQ4oS-Bw7xJmib.js → uploadAttachment-CPTMCWWz-BHUe9KYn.js} +33 -33
- package/dist/assets/uploadReceipts-Dge0cNF1-CAzr24hn.js +1 -0
- package/dist/assets/{url-CnM3nym8.js → url-BnPWfZoh.js} +1 -1
- package/dist/assets/{url-BRZkzhoD.js → url-FABckJBr.js} +1 -1
- package/dist/assets/{useLongPress-GCK2COYQ-BgMcVZoL.js → useLongPress-GCK2COYQ-isRXDDp5.js} +1 -1
- package/dist/assets/{usp-line-BBd1wKwW-DuwzCwM7.js → usp-line-BBd1wKwW-C5jzPmNs.js} +1 -1
- package/dist/assets/{utils-bhjg_GlW.js → utils-Bfvb8rvn.js} +1 -1
- package/dist/assets/zeni-epic-state-DM-Ak8Gv.js +151 -0
- package/dist/index.html +1 -1
- package/package.json +4 -4
- package/dist/assets/AccountInfoPage-DiLfCEmp-DO4D-Akp.js +0 -18
- package/dist/assets/AccountRow-DHebunB5-DIYXQfGx.js +0 -298
- package/dist/assets/AddAddressForCardDrawer-DsW1gOAp-MwS07L6u.js +0 -6
- package/dist/assets/AppBasePage-DEEwGCyl-CJQRcs0Q.js +0 -71
- package/dist/assets/AppDrawerContent-BV68KVaK-DsuGSV0L.js +0 -92
- package/dist/assets/ApprovalRulesSettingsPage-rYk3cmVs-Bk4KgAtZ.js +0 -47
- package/dist/assets/BalancesInsightWithToolTip-e99DEARd-B-O4Ljlc.js +0 -38
- package/dist/assets/BillDetailPage-BHMeLrkf-DfOpYdLq.js +0 -266
- package/dist/assets/BillsBulkReviewDrawerPage-mrZng-LH-CgLPtPGy.js +0 -1
- package/dist/assets/ChargeCardPromoPage-DOLaaGqu-DsV8VR1J.js +0 -222
- package/dist/assets/ChargeCardSetupPage-BU9RvMXY-Dj9m6ZmP.js +0 -36
- package/dist/assets/ChargeCardStatementsPage-DlrKo_GJ-BRM2z9cD.js +0 -60
- package/dist/assets/CollapsableReportTable-B7wBJa-J-CFRGpr0Y.js +0 -2941
- package/dist/assets/ConfettiBurst-JdjFQWmA-B1zUAlBC.js +0 -1
- package/dist/assets/CurrencySelectField-C9U52o8Z-DH90cYim.js +0 -139
- package/dist/assets/CustomerOnboardingContainerPage-BVEjcOzz-Tgi7ne-F.js +0 -1
- package/dist/assets/CustomerOnboardingNoStepsPage-BxvN2Q7E-B4zOAzF_.js +0 -66
- package/dist/assets/DashboardSidebarBackgroundAnimation-uX3QCu5p-mHJahdDI.js +0 -12
- package/dist/assets/DepositAccTransactionListPage-BJ8sXbmG-CMXvXJC1.js +0 -66
- package/dist/assets/DownloadOverlay-uRpW9ezf-jNXoSS7J.js +0 -439
- package/dist/assets/EditPeoplePage-BBrsqLJc-DyJHgyzZ.js +0 -55
- package/dist/assets/EditReimbursementDetailPage-D-HncluE-CUs0afyw.js +0 -865
- package/dist/assets/EntityDetailPage-X5BG-4An-7aKQ5Pgw.js +0 -18
- package/dist/assets/ExpenseAutomationPage-BWBWJraB-BcLoThsR.js +0 -3001
- package/dist/assets/GlobalReviewListPage-BXhEk4c0-BVTm7Ky3.js +0 -291
- package/dist/assets/InsightsSection-CbrrmEg4-D4vQ_6my.js +0 -27
- package/dist/assets/IntegrationsSettingsPage-Bw4BviF3-DBDc8BdY.js +0 -57
- package/dist/assets/InternationalWireVerificationPage-CmibXgZP-Dk0__zsA.js +0 -65
- package/dist/assets/InvitePeoplePage-CUIx67tI-BuLgC01P.js +0 -12
- package/dist/assets/InvoiceUploadSection-SDbpMsYc-Dm64G91F.js +0 -140
- package/dist/assets/LabeledAddressValueField-BJl_17nw-BoellP6H.js +0 -45
- package/dist/assets/LabeledControlledCheckBoxField-CTjsNnfG-C03py6Ms.js +0 -16
- package/dist/assets/LabeledDocumentField-De9s68TP-Cri5KHGX.js +0 -41
- package/dist/assets/LabeledDropDownFormattedTextField-Dy4sKbHt-B82hYqdR.js +0 -59
- package/dist/assets/LinkJETransactionPage-CflqbXq0-DXYSk1UI.js +0 -98
- package/dist/assets/MagicLinkACHDetailsPage-BT5yNVLG-ChUzosgW.js +0 -1
- package/dist/assets/MagicLinkDomesticWireDetailsPage-BurEs9tm-DDw6dGa9.js +0 -1
- package/dist/assets/MagicLinkInternationalWireDetailsPage-CvvBuPtn-Br57d6dJ.js +0 -1
- package/dist/assets/MagicLinkSuccessPage-Bu2WgYDU-C_NzscTh.js +0 -31
- package/dist/assets/MailingDetailsSection-CnGInDUg-DZA0H6jP.js +0 -21
- package/dist/assets/MyPendingActivationChargeCardListPage-CmSDPRHT-DaaZsLCw.js +0 -6
- package/dist/assets/MyProfileSettingsPage-1FPtn1ea-C9umNstC.js +0 -85
- package/dist/assets/NavBarWithPicker-B04p6hvh-BcKmzJ24.js +0 -30
- package/dist/assets/NavigationDots-C2ylmmp9-BUZFmr7S.js +0 -15
- package/dist/assets/NotFoundPage-zeHT1nzY-c1pIrXd2.js +0 -46
- package/dist/assets/NotificationSettingsPage-ClXPKcgz-Cua8aSKu.js +0 -163
- package/dist/assets/NotificationsListConfig-BQqh5bzx-CFdZZXGY.js +0 -1
- package/dist/assets/NotificationsPage-DsWTVVJb-CubnyrBq.js +0 -685
- package/dist/assets/OpExByVendorPage-BjNi44e6-DOiReLBc.js +0 -100
- package/dist/assets/PeoplePage-B6QMmZoF-D2QgJp28.js +0 -727
- package/dist/assets/QBOSetupSection-CzvyO3jT-MFHCmvJY.js +0 -79
- package/dist/assets/ReimbursementDetailPage-DgzoYr-9-CVLHufeF.js +0 -314
- package/dist/assets/ReimbursementsBulkReviewDrawerPage-DH5fjpfk-Cr_SYXyq.js +0 -1
- package/dist/assets/ReportTableViewSelector-Cot8YlVL-BAZ1GdJN.js +0 -151
- package/dist/assets/ReportsPage-C_7EbeMB-O7cnUjzc.js +0 -237
- package/dist/assets/ScheduleSequenceTable-CpShO1ua-Dsb6r5kr.js +0 -324
- package/dist/assets/SignIn-BQ4q4gDh-CzzmiuXu.js +0 -491
- package/dist/assets/SignInScreen-DZyTlhxL.js +0 -1
- package/dist/assets/SpendManagementListViewPage-B_sb3Dfh-dqWZldlf.js +0 -134
- package/dist/assets/StatementItem-uBlcLNGa-C68iqcbF.js +0 -31
- package/dist/assets/StatementsPage-wmfWDQrp-DZo3jcor.js +0 -58
- package/dist/assets/SubTabSwitcher-JZ9r8Gvy-CmdEzTPr.js +0 -58
- package/dist/assets/SummaryCard-CzpKllZ9-BcAcs1DO.js +0 -1
- package/dist/assets/TaskManagementPage-DhdfjPpg-Bz7Od6O0.js +0 -508
- package/dist/assets/TimeRangeSwitcher-ejYmSzzU-BGF2Hlek.js +0 -64
- package/dist/assets/TimeframeSwitcher-B1rtSeeP-s5XP-zq2.js +0 -31
- package/dist/assets/TimeframeSwitcherWithToggle-BIe0KGCe-CezpaCXC.js +0 -53
- package/dist/assets/TransactionDetailPage-BXQ5ksBH-YOlZ51Uf.js +0 -903
- package/dist/assets/TransactionList-BWV8LDN--T7E1cgUU.js +0 -153
- package/dist/assets/TransactionListPage-Duf7rjbN-xYqf2OTU.js +0 -35
- package/dist/assets/TreasuryOverviewPage-CwoPszbZ-2TJ6YJVy.js +0 -725
- package/dist/assets/TrendWithTransactions-CmQO_iYM-CWBGfczA.js +0 -116
- package/dist/assets/UploadAdditionalDocumentOverlay-CF3ZYMeP-BxK_8i6B.js +0 -38
- package/dist/assets/VendorACHDetailsPage-C4ZWGPWZ-DEvx49Vu.js +0 -1
- package/dist/assets/VendorDetailPage-BaCVjTbp-CB0Ap7RS.js +0 -257
- package/dist/assets/VendorDomesticWireDetailsPage-D7BmBMH9-CzIkSVsO.js +0 -1
- package/dist/assets/VendorFirstReviewPage-EuDBTkMb-5uGJMDW8.js +0 -730
- package/dist/assets/VendorInternationalWireSwiftDetailsPage-BlAFp-w1-Ch6YFnOD.js +0 -1
- package/dist/assets/ZeniAccountNavBarPieces-DpCkEpt8-DL9r0gov.js +0 -14
- package/dist/assets/ZeniCopyright-CHJRCEOe-C6byioU4.js +0 -1
- package/dist/assets/chartTypes-Bka0fHvt-LIfMG0zS.js +0 -1
- package/dist/assets/commonDimensions-CL818jc5-C1bPf58V.js +0 -1
- package/dist/assets/downloadPdf-DAxy7KUU-_uW3L53O.js +0 -1
- package/dist/assets/epic-B0RIAA2R.js +0 -2
- package/dist/assets/mapSpacerToTreeNode-CsVNH3Xd-QYfiumtX.js +0 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-CCLjlNlu-MJgc9UaW.js +0 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-DliXXFXC-BfnSqJsP.js +0 -1
- package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-CqDxaCav-BL7jrrEI.js +0 -1
- package/dist/assets/panelSelectedMixin-Cddsb26L-BJi_hKr3.js +0 -3
- package/dist/assets/toCOABalancesWithID-D45JW5mT-zLfAfLgo.js +0 -1
- package/dist/assets/toChartData-C9xZuC9A-cKZFGcPF.js +0 -1
- package/dist/assets/upload-reimbursement-receipt-O2N8vcO7-ByyuyA7j.js +0 -1
- package/dist/assets/uploadReceipts-Dge0cNF1-COkmL3Gy.js +0 -1
- package/dist/assets/zeni-epic-state-BKQAT3eK.js +0 -151
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{J as Ke,d as wl,cL as Sl,O as de,y as F,aS as zl,V as l,bV 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 $l,f3 as Rl,f1 as Ml,cR as vl,cP as Q,gg as al,gh as ql,fD as Wl,cU as Ze,fC as ol,cJ as Ul,p as z,cQ as il,b3 as Ne,cV as Hl,fT as Ll,H as Ve,bM as _l,fK as Cl,am as ll,g4 as El,b as Pe,ap as Yl,bJ as Gl,u as B,dn as Jl,aw as Zl,gi as Ql,aj as tl,an as Kl,gj as Xl,bK as ke,b7 as et,B as Fl,d1 as lt,au as tt,bI as at}from"./index-sotzB3Mx.js";import{a as m}from"./sentry-2bqpslFP.js";import{a as ot,n as r}from"./mui-CWqpJBOf.js";import{bh as Dl,Fq as it,Fr as rl,bL as rt,Fp as st,Fo as nt,Fm as dt,Fn as ct}from"./zeni-epic-state-DM-Ak8Gv.js";import{x as ut,p as pt,h as mt,g as ht,m as ft,b as gt,f as yt}from"./helper-kGYJRbxq-D4mxVura.js";import{C as Qe}from"./LabeledAddressValueField-DVNSaKBc-CR8m9IVs.js";import{b as bt}from"./LabeledCountryMultiSelectField-BM1jU3hl-_1uQcelw.js";import{I as sl}from"./LabeledCreatableSingleSelectField-BkI0vyax-Dhqs7qd2.js";import{Y as nl}from"./LabeledDocumentField-B7TETIva-DaOKO-m5.js";import{p as xt,i as wt,t as St}from"./commonTypes-CGdrM7wg-Dv-NGJZV.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]="6bf30da4-af59-4f8d-a4d9-1e8ac2ebe37f",e._sentryDebugIdIdentifier="sentry-dbid-6bf30da4-af59-4f8d-a4d9-1e8ac2ebe37f")}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]=Zl("Secure"),c=Ke();return l.jsxs(jt,{windowSize:c,children:[e!=null?l.jsx($t,{windowSize:c,animationData:e,play:!0,loop:!0,rendererSettings:{preserveAspectRatio:"xMidYMid slice"}}):l.jsx(vt,{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
2
|
display: flex;
|
|
3
3
|
align-items: ${e=>e.windowSize==="small"?"flex-start":"center"};
|
|
4
4
|
gap: ${e=>je.gap.valuePx(e.windowSize)};
|
|
5
5
|
background-color: ${e=>e.theme.colors.background};
|
|
6
6
|
padding: ${e=>e.windowSize==="small"?a.sp3:`${a.sp3} ${a.sp4}`};
|
|
7
|
-
|
|
7
|
+
`,$t=r(et)`
|
|
8
8
|
width: ${e=>je.iconSize.valuePx(e.windowSize)};
|
|
9
9
|
height: ${e=>je.iconSize.valuePx(e.windowSize)};
|
|
10
10
|
display: block;
|
|
11
|
-
|
|
11
|
+
`,vt=r(Ot)`
|
|
12
12
|
width: ${e=>je.iconSize.valuePx(e.windowSize)};
|
|
13
13
|
height: ${e=>je.iconSize.valuePx(e.windowSize)};
|
|
14
14
|
color: ${e=>e.theme.colors.success};
|
|
@@ -18,47 +18,47 @@ import{Q as Xe,y as wl,cN as Sl,b as de,x as D,aS as zl,V as l,bX as Ol,fN as Il
|
|
|
18
18
|
justify-content: center;
|
|
19
19
|
align-items: flex-start;
|
|
20
20
|
flex: 1;
|
|
21
|
-
`,_t=r(
|
|
21
|
+
`,_t=r(Fl)`
|
|
22
22
|
${e=>`${Nl.title.style(e.windowSize)}`};
|
|
23
23
|
color: ${e=>e.theme.colors.primary};
|
|
24
24
|
margin: 0;
|
|
25
|
-
`,Ct=r(
|
|
25
|
+
`,Ct=r(Fl)`
|
|
26
26
|
${e=>`${Nl.description.style(e.windowSize)}`};
|
|
27
27
|
color: ${e=>e.theme.colors.primary};
|
|
28
28
|
margin: 0;
|
|
29
|
-
`,Vl=({text:e})=>l.jsx(
|
|
29
|
+
`,Vl=({text:e})=>l.jsx(Ft,{children:l.jsx(Et,{children:e})}),Et=r(Xl)`
|
|
30
30
|
display: flex;
|
|
31
31
|
align-items: center;
|
|
32
32
|
color: ${e=>e.theme.colors.hero};
|
|
33
33
|
padding-right: ${a.sp2};
|
|
34
|
-
`,
|
|
34
|
+
`,Ft=r.div`
|
|
35
35
|
display: flex;
|
|
36
36
|
align-items: flex-end;
|
|
37
37
|
margin-left: ${a.sp2};
|
|
38
38
|
margin-top: ${a.sp1};
|
|
39
|
-
`,q={width:new D(343,580,726),labelWidth:new D(115,145,155),mediumLabelWidth:new D(140,160,170),largeLabelWidth:new D(150,210,244),extraLargeLabelWidth:new D(160,240,292),largeLabelDocumentWidth:new D(150,210,252),paddingBottom:new D(B[3],B[2]),containerRowGap:new D(12,B[3])},Ft={title:new Ve("standardMedium","largeMedium")},Nt=de.getLocalizedStrings(),{dateFormat:{visual:Pt},commonSetUp:Vt,companyPassport:cl,common:{documents:ul,optional:kt,yes:pl,no:ml}}=Nt,o=Vt.businessVerification,Tt=m.forwardRef(({allIndustries:e,fileProps:c,productType:b,companyDetails:h,allNationalityCountries:M,connectedAccountProvider:L,businessVerificationProps:W,isDisabled:t,style:ae,sectionId:i,showInfoTooltip:ce=!0,isCompleted:ue=!1,showCompletedIcon:oe=!1,hideNewOnboardingFields:ie=!1,showTreasuryFields:w=!1,sectionHeader:X,optionalFields:u=[],onCompanyAddressClick:pe,onRegisteredAddressClick:F},K)=>{const y=Xe(),S=ot(),{watch:P,setValue:me,formState:{errors:g}}=Sl(),he=P(p(i,"companySourceOfFunds")),f=P(p(i,"transactionVolume")),_=P(p(i,"purposeOfAccount")),U=P(p(i,"regulatedStatus")),fe=P(p(i,"usNexus")),ee=P(p(i,"companyIndustryType")),re=s=>{me(p(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"),G=h?.companyFiles.find(s=>s.documentType==="tax_ein"),Y=h?.companyDescription,v=h?.companyLegalName,H=h?.website,J=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,Q=h?.primaryContactLocalData,Ce=h?.deleteFileStatusById??{},Ee=h?.updateFileStatusById??{},C=h?.addressStatus?.addressToCreate,Me=h?.registeredAddressStatus?.addressToCreate,[xe,Re]=m.useState(!1),[we,qe]=m.useState(!1),k=s=>(t==null||!!s)&&!ie,De=k(be),We=(t==null||Array.isArray(ye)&&ye.length>0)&&!ie,Ue=k(N),Ge=k(Le),d=k(n),E=k(_e),ne=k(ze),Se=k(V),Ye=o.sourceOfFundOptions,j=s=>Ye[s]??s,He=ee?.selectedOption??be,Tl=s=>yt(s,He),Al=s=>e.find(Fe=>Fe.code===s)?.name??s;return l.jsxs(At,{style:ae,ref:K,windowSize:y,children:[l.jsx(zt,{children:l.jsxs(Yt,{children:[l.jsxs(Mt,{children:[oe===!0?l.jsx(Rt,{children:ue?l.jsx(qt,{}):l.jsx(Wt,{})}):null,l.jsx(Bt,{windowSize:y,children:X??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(Gt,{})})}):null,b==="onboarding"&&X!=null?l.jsx(Vl,{text:kt}):null,W?.companyVerificationStatus!=null?l.jsx(Jt,{tagTitle:W.companyVerificationStatus.name,textColor:Il(W.companyVerificationStatus.code),showLoader:W?.isRefreshingViewInBackground}):null]})}),l.jsxs(Ht,{children:[l.jsx(Pl,{}),l.jsx(A,{isDisabled:t,showAdditionalInfoLabel:!1,label:{label:o.companyLegalNameLabel,width:I},text:{type:"text",name:p(i,"companyLegalName"),placeholder:o.companyLegalNamePlaceholder,defaultValue:v,options:{required:t==null&&u.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:p(i,"companyDescription"),placeholder:o.addProductPlaceholder,defaultValue:Y,options:{required:t==null&&u.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:p(i,"registeredAddress"),placeholder:o.registeredAddressPlaceholder,defaultValue:Me,registerOptions:{validate:s=>u.includes("registeredAddress")===!1?!(t==null&&s==null):!0},onClick:()=>{F?.("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:p(i,"companyAddress"),placeholder:o.companyAddressPlaceholder,defaultValue:C,registerOptions:{validate:s=>u.includes("companyAddress")===!1?!(t==null&&s==null):!0},onClick:()=>{pe?.("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:p(i,"companyWebsite"),placeholder:o.companyWebsitePlaceholder,defaultValue:H?.toString()??"",options:{required:t==null&&u.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:De?l.jsxs(l.Fragment,{children:[l.jsx(Z,{label:{label:o.companyIndustryLabel,width:$},singleSelectField:{singleSelect:{name:p(i,"companyIndustryType"),placeholder:o.companyIndustryPlaceholder,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:ut,isDisabled:t,showTickMark:!0,sortOptions:!1},defaultValue:{selectedOption:be,allOptions:[...it]},registerOptions:{required:t==null&&u.includes("companyIndustryType")===!1,validate:s=>u.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}}),He!=null&&l.jsx(Z,{label:{label:"",width:0,style:{marginRight:0}},singleSelectField:{singleSelect:{name:p(i,"companySubIndustry"),placeholder:o.companySubIndustryPlaceholder,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:Tl,isDisabled:t,showTickMark:!0,sortOptions:!1},defaultValue:{selectedOption:$e,allOptions:rl(He)},registerOptions:{required:t==null&&u.includes("companySubIndustry")===!1,validate:s=>u.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:p(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&&u.includes("companyIndustry")===!1,validate:s=>u.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:p(i,"typeOfIncorporation"),placeholder:o.companyTypeOfIncorporationPlaceholder,defaultValue:{selectedOption:J,allOptions:cl.companyIncInfo.allTypesOfIncorporation},registerOptions:{required:t==null&&u.includes("typeOfIncorporation")===!1,validate:s=>u.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:p(i,"incDate"),placeholder:o.companyIncDatePlaceholder,defaultValue:Te,dateFormat:Pt.defaultInput,maxDate:Fl(),minDate:rt("01 Jan 1900"),autoComplete:"off",registerOptions:{required:t==null&&u.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:p(i,"stateOfIncorporation"),placeholder:o.companyStateOfIncorporationPlaceholder,defaultValue:{selectedOption:N,allOptions:cl.companyIncInfo.allStatesOfIncorporation},registerOptions:{required:t==null&&u.includes("stateOfIncorporation")===!1,validate:s=>u.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:p(i,"countriesOfOperations"),placeholder:o.countriesOfOperationsPlaceholder,defaultValue:Ul(ye,(M??[]).map(s=>s.countryCode)),registerOptions:{validate:s=>u.includes("countriesOfOperations")?!0:!(t==null&&s.selectedOptions.length===0)}}}),l.jsx(O,{})]}):null,Ge?l.jsxs(l.Fragment,{children:[l.jsx(Z,{label:{label:o.companySourceOfFundsLabel,width:I},singleSelectField:{singleSelect:{name:p(i,"companySourceOfFunds"),placeholder:o.companySourceOfFundsPlaceholder,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:pt,isDisabled:t,showTickMark:!0,sortOptions:!1},defaultValue:{selectedOption:Le,allOptions:[...st]},registerOptions:{required:t==null&&u.includes("companySourceOfFunds")===!1,validate:s=>u.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:p(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:p(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&&u.includes("transactionVolume")===!1,validate:s=>u.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:p(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:p(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&&u.includes("purposeOfAccount")===!1,validate:s=>u.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:p(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:p(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:pl},style:{paddingRight:`${a.sp4}`,width:"auto"},radioField:{name:p(i,"regulatedStatus"),id:`${p(i,"regulatedStatus")}.yes`,value:"yes",style:{height:`${a.sp3}`,width:`${a.sp3}`},radioSize:"small",registerOptions:{required:t==null&&u.includes("regulatedStatus")===!1}},isDisabled:t,isContainerClickable:!0}),l.jsx(Ne,{label:{label:ml},style:{width:"auto"},radioField:{name:p(i,"regulatedStatus"),id:`${p(i,"regulatedStatus")}.no`,value:"no",style:{height:`${a.sp3}`,width:`${a.sp3}`},radioSize:"small",registerOptions:{required:t==null&&u.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:p(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(Je,{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:p(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:pl},style:{paddingRight:`${a.sp4}`,width:"auto"},radioField:{name:p(i,"usNexus"),id:`${p(i,"usNexus")}.yes`,value:"yes",style:{height:`${a.sp3}`,width:`${a.sp3}`},radioSize:"small",registerOptions:{required:t==null&&u.includes("usNexus")===!1}},isDisabled:t,isContainerClickable:!0}),l.jsx(Ne,{label:{label:ml},style:{width:"auto"},radioField:{name:p(i,"usNexus"),id:`${p(i,"usNexus")}.no`,value:"no",style:{height:`${a.sp3}`,width:`${a.sp3}`},radioSize:"small",registerOptions:{required:t==null&&u.includes("usNexus")===!1}},isDisabled:t,isContainerClickable:!0})]})]}),fe==="yes"&&l.jsxs(l.Fragment,{children:[l.jsx(Qt,{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:p(i,"usNexusTypes"),placeholder:o.usNexusPlaceholder,getOptionLabel:gt,defaultValue:{selectedOptions:h?.usNexusTypes??[],allOptions:[...ct]},registerOptions:{required:t==null,shouldUnregister:!0,validate:s=>{const Fe=s?.selectedOptions;return Fe!=null&&Fe.length>0}}},style:{outline:"none",margin:0,padding:0,width:"100%"}})}),g[i]!=null&&g[i]?.usNexusTypes!=null&&l.jsx(Je,{windowSize:y,children:o.usNexusTypesError})]}),g[i]!=null&&g[i]?.usNexus!=null?l.jsx(Je,{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:p(i,"companyTaxId"),placeholder:o.companyTaxIdPlaceholder,defaultValue:Be,options:{required:t==null&&u.includes("companyTaxId")===!1,pattern:Gl},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:p(i,"companyPhone"),placeholder:Oe(o.companyPhoneLabel),defaultValue:te,autoComplete:"new-password",options:{required:t==null&&u.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:p(i,"primaryContactName"),placeHolder:{firstName:o.firstNamePlaceholder,lastName:o.lastNamePlaceholder,name:o.namePlaceholder},defaultValue:{firstName:Q?.firstName??"",lastName:Q?.lastName??""},registerOptions:{required:t==null&&u.includes("primaryContactName")===!1,validate:s=>!!s||t!=null||u.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:p(i,"primaryContactEmail"),placeholder:o.companyPrimaryContactEmailPlaceholder,defaultValue:Q?.email,options:{required:t==null&&u.includes("primaryContactEmail")===!1}},additionalInfoLabel:o.companyPrimaryContactEmailError.replace("_product_type_",x)}),l.jsx(O,{}),l.jsx(nl,{name:p(i,"certificateOfIncorporation"),isDisabled:t,sizeLimit:Qe,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&&u.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=>Re(s)}),xe||!(t!=null||ve!=null)?l.jsx(hl,{windowSize:y,isError:xe,children:ul.formatDocumentText10MB}):null,l.jsx(O,{}),l.jsx(nl,{name:p(i,"ein"),isDisabled:t,sizeLimit:Qe,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:G,acceptableTypes:["image/jpg","image/jpeg","image/png","application/pdf","image/heic","image/heif"],registerOptions:{required:t==null&&u.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||G!=null)?l.jsx(hl,{windowSize:y,isError:we,children:ul.formatDocumentText10MB}):null,l.jsx(O,{}),w===!0?l.jsxs(l.Fragment,{children:[l.jsx(Z,{label:{label:o.sourceOfFundsLabel,width:$},singleSelectField:{singleSelect:{name:p(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&&u.includes("sourceOfFunds")===!1,validate:s=>u.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 p=(e,c)=>`${e}.${c}`,At=r.div`
|
|
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:ul,optional:kt,yes:pl,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:ue=!1,showCompletedIcon:oe=!1,hideNewOnboardingFields:ie=!1,showTreasuryFields:w=!1,sectionHeader:K,optionalFields:u=[],onCompanyAddressClick:pe,onRegisteredAddressClick:D},X)=>{const y=Ke(),S=ot(),{watch:P,setValue:me,formState:{errors:g}}=Sl(),he=P(p(i,"companySourceOfFunds")),f=P(p(i,"transactionVolume")),_=P(p(i,"purposeOfAccount")),U=P(p(i,"regulatedStatus")),fe=P(p(i,"usNexus")),ee=P(p(i,"companyIndustryType")),re=s=>{me(p(i,"companySubIndustry"),{selectedOption:null,allOptions:rl(s)})},v=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],$e=h?.companyFiles.find(s=>s.documentType==="certificate_of_incorporation"),H=h?.companyFiles.find(s=>s.documentType==="tax_ein"),Y=h?.companyDescription,$=h?.companyLegalName,G=h?.website,J=h?.typeOfIncorporation,N=h?.stateOfIncorporation,ye=h?.countriesOfOperations,Te=h?.incDate,Ae=h?.companyIndustry,be=h?.companyIndustryType,ve=h?.companySubIndustry,Le=h?.companySourceOfFunds,n=h?.transactionVolume,_e=h?.purposeOfAccount,ze=h?.regulatedStatus,V=h?.usNexus,te=h?.phone,Be=h?.taxIdOrEIN,Z=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:ue?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(Jt,{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:p(i,"companyLegalName"),placeholder:o.companyLegalNamePlaceholder,defaultValue:$,options:{required:t==null&&u.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:p(i,"companyDescription"),placeholder:o.addProductPlaceholder,defaultValue:Y,options:{required:t==null&&u.includes("companyDescription")===!1}},additionalInfoLabel:o.companyDescriptionError.replace("_product_type_",x)}),l.jsx(O,{}),l.jsx(Qe,{isDisabled:t,label:{label:o.registeredAddressLabel,width:se},addressValueField:{name:p(i,"registeredAddress"),placeholder:o.registeredAddressPlaceholder,defaultValue:Re,registerOptions:{validate:s=>u.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(Qe,{isDisabled:t,label:{label:o.companyAddressLabel,width:se},addressValueField:{name:p(i,"companyAddress"),placeholder:o.companyAddressPlaceholder,defaultValue:C,registerOptions:{validate:s=>u.includes("companyAddress")===!1?!(t==null&&s==null):!0},onClick:()=>{pe?.("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:v},text:{type:"url",name:p(i,"companyWebsite"),placeholder:o.companyWebsitePlaceholder,defaultValue:G?.toString()??"",options:{required:t==null&&u.includes("companyWebsite")===!1}},additionalInfoLabel:o.companyWebsiteError.replace("_product_type_",x)}),l.jsx(O,{}),l.jsx(Qt,{windowSize:y,"data-suppress-hover":t!=null?!0:void 0,children:Fe?l.jsxs(l.Fragment,{children:[l.jsx(Q,{label:{label:o.companyIndustryLabel,width:v},singleSelectField:{singleSelect:{name:p(i,"companyIndustryType"),placeholder:o.companyIndustryPlaceholder,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:ut,isDisabled:t,showTickMark:!0,sortOptions:!1},defaultValue:{selectedOption:be,allOptions:[...it]},registerOptions:{required:t==null&&u.includes("companyIndustryType")===!1,validate:s=>u.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(Q,{label:{label:"",width:0,style:{marginRight:0}},singleSelectField:{singleSelect:{name:p(i,"companySubIndustry"),placeholder:o.companySubIndustryPlaceholder,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:Tl,isDisabled:t,showTickMark:!0,sortOptions:!1},defaultValue:{selectedOption:ve,allOptions:rl(Ge)},registerOptions:{required:t==null&&u.includes("companySubIndustry")===!1,validate:s=>u.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(Q,{label:{label:o.companyIndustryLabel,width:v},singleSelectField:{singleSelect:{name:p(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&&u.includes("companyIndustry")===!1,validate:s=>u.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:p(i,"typeOfIncorporation"),placeholder:o.companyTypeOfIncorporationPlaceholder,defaultValue:{selectedOption:J,allOptions:cl.companyIncInfo.allTypesOfIncorporation},registerOptions:{required:t==null&&u.includes("typeOfIncorporation")===!1,validate:s=>u.includes("typeOfIncorporation")===!1?!(t==null&&!s?.selectedOption):!0}},errorInfoLabel:o.companyTypeOfIncorporationError.replace("_product_type_",x)}),l.jsx(O,{}),l.jsx($l,{isDisabled:t,label:{label:o.companyIncDateLabel,width:I},style:{paddingBottom:q.paddingBottom.valuePx(y)},dateField:{name:p(i,"incDate"),placeholder:o.companyIncDatePlaceholder,defaultValue:Te,dateFormat:Pt.defaultInput,maxDate:Dl(),minDate:rt("01 Jan 1900"),autoComplete:"off",registerOptions:{required:t==null&&u.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:p(i,"stateOfIncorporation"),placeholder:o.companyStateOfIncorporationPlaceholder,defaultValue:{selectedOption:N,allOptions:cl.companyIncInfo.allStatesOfIncorporation},registerOptions:{required:t==null&&u.includes("stateOfIncorporation")===!1,validate:s=>u.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:p(i,"countriesOfOperations"),placeholder:o.countriesOfOperationsPlaceholder,defaultValue:Ul(ye,(R??[]).map(s=>s.countryCode)),registerOptions:{validate:s=>u.includes("countriesOfOperations")?!0:!(t==null&&s.selectedOptions.length===0)}}}),l.jsx(O,{})]}):null,He?l.jsxs(l.Fragment,{children:[l.jsx(Q,{label:{label:o.companySourceOfFundsLabel,width:I},singleSelectField:{singleSelect:{name:p(i,"companySourceOfFunds"),placeholder:o.companySourceOfFundsPlaceholder,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:pt,isDisabled:t,showTickMark:!0,sortOptions:!1},defaultValue:{selectedOption:Le,allOptions:[...st]},registerOptions:{required:t==null&&u.includes("companySourceOfFunds")===!1,validate:s=>u.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:p(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(Q,{label:{label:o.transactionVolumeLabel,width:ge},singleSelectField:{singleSelect:{name:p(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&&u.includes("transactionVolume")===!1,validate:s=>u.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:p(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(Q,{label:{label:o.purposeOfAccountLabel,width:I},singleSelectField:{singleSelect:{name:p(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&&u.includes("purposeOfAccount")===!1,validate:s=>u.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:p(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:p(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:pl},style:{paddingRight:`${a.sp4}`,width:"auto"},radioField:{name:p(i,"regulatedStatus"),id:`${p(i,"regulatedStatus")}.yes`,value:"yes",style:{height:`${a.sp3}`,width:`${a.sp3}`},radioSize:"small",registerOptions:{required:t==null&&u.includes("regulatedStatus")===!1}},isDisabled:t,isContainerClickable:!0}),l.jsx(Ne,{label:{label:ml},style:{width:"auto"},radioField:{name:p(i,"regulatedStatus"),id:`${p(i,"regulatedStatus")}.no`,value:"no",style:{height:`${a.sp3}`,width:`${a.sp3}`},radioSize:"small",registerOptions:{required:t==null&&u.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:p(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(Je,{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:p(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:pl},style:{paddingRight:`${a.sp4}`,width:"auto"},radioField:{name:p(i,"usNexus"),id:`${p(i,"usNexus")}.yes`,value:"yes",style:{height:`${a.sp3}`,width:`${a.sp3}`},radioSize:"small",registerOptions:{required:t==null&&u.includes("usNexus")===!1}},isDisabled:t,isContainerClickable:!0}),l.jsx(Ne,{label:{label:ml},style:{width:"auto"},radioField:{name:p(i,"usNexus"),id:`${p(i,"usNexus")}.no`,value:"no",style:{height:`${a.sp3}`,width:`${a.sp3}`},radioSize:"small",registerOptions:{required:t==null&&u.includes("usNexus")===!1}},isDisabled:t,isContainerClickable:!0})]})]}),fe==="yes"&&l.jsxs(l.Fragment,{children:[l.jsx(Zt,{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:p(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(Je,{windowSize:y,children:o.usNexusTypesError})]}),g[i]!=null&&g[i]?.usNexus!=null?l.jsx(Je,{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:v},text:{type:"text",name:p(i,"companyTaxId"),placeholder:o.companyTaxIdPlaceholder,defaultValue:Be,options:{required:t==null&&u.includes("companyTaxId")===!1,pattern:Hl},autoComplete:"new-password"},additionalInfoLabel:o.companyTaxIdError.replace("_product_type_",x)}),l.jsx(O,{}),l.jsx(vl,{isDisabled:t,label:{label:o.companyPhoneLabel,width:v},text:{name:p(i,"companyPhone"),placeholder:Oe(o.companyPhoneLabel),defaultValue:te,autoComplete:"new-password",options:{required:t==null&&u.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:p(i,"primaryContactName"),placeHolder:{firstName:o.firstNamePlaceholder,lastName:o.lastNamePlaceholder,name:o.namePlaceholder},defaultValue:{firstName:Z?.firstName??"",lastName:Z?.lastName??""},registerOptions:{required:t==null&&u.includes("primaryContactName")===!1,validate:s=>!!s||t!=null||u.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:p(i,"primaryContactEmail"),placeholder:o.companyPrimaryContactEmailPlaceholder,defaultValue:Z?.email,options:{required:t==null&&u.includes("primaryContactEmail")===!1}},additionalInfoLabel:o.companyPrimaryContactEmailError.replace("_product_type_",x)}),l.jsx(O,{}),l.jsx(nl,{name:p(i,"certificateOfIncorporation"),isDisabled:t,sizeLimit:Ze,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:$e,acceptableTypes:["image/jpg","image/jpeg","image/png","application/pdf","image/heic","image/heif"],registerOptions:{required:t==null&&u.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||$e!=null)?l.jsx(hl,{windowSize:y,isError:xe,children:ul.formatDocumentText10MB}):null,l.jsx(O,{}),l.jsx(nl,{name:p(i,"ein"),isDisabled:t,sizeLimit:Ze,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&&u.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:ul.formatDocumentText10MB}):null,l.jsx(O,{}),w===!0?l.jsxs(l.Fragment,{children:[l.jsx(Q,{label:{label:o.sourceOfFundsLabel,width:v},singleSelectField:{singleSelect:{name:p(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&&u.includes("sourceOfFunds")===!1,validate:s=>u.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 p=(e,c)=>`${e}.${c}`,At=r.div`
|
|
40
40
|
display: flex;
|
|
41
41
|
flex-direction: column;
|
|
42
42
|
row-gap: ${e=>q.containerRowGap.valuePx(e.windowSize)};
|
|
43
43
|
`,zt=r.div`
|
|
44
44
|
display: flex;
|
|
45
45
|
justify-content: space-between;
|
|
46
|
-
`,hl=r(
|
|
46
|
+
`,hl=r(Kl)`
|
|
47
47
|
padding: ${a.sp1} ${a.sp4};
|
|
48
48
|
background: ${e=>e.theme.colors.grey4};
|
|
49
49
|
border-radius: ${a.sp0} ${a.sp0} ${a.sp2} ${a.sp2};
|
|
50
50
|
text-align: ${e=>e.windowSize==="small"?"initial":"right"};
|
|
51
51
|
color: ${e=>e.isError?z.important:e.theme.colors.grey1};
|
|
52
52
|
`,Bt=r.div`
|
|
53
|
-
${e=>`${
|
|
53
|
+
${e=>`${Dt.title.style(e.windowSize)}`};
|
|
54
54
|
display: flex;
|
|
55
55
|
align-items: center;
|
|
56
56
|
color: ${e=>e.theme.colors.primary};
|
|
57
57
|
padding-right: ${a.sp2};
|
|
58
|
-
`,
|
|
58
|
+
`,Rt=r.div`
|
|
59
59
|
display: flex;
|
|
60
60
|
align-items: center;
|
|
61
|
-
`,
|
|
61
|
+
`,Mt=r.div`
|
|
62
62
|
margin-right: ${a.sp2};
|
|
63
63
|
`,qt=r(Ll)`
|
|
64
64
|
width: ${a.sp3};
|
|
@@ -75,13 +75,13 @@ import{Q as Xe,y as wl,cN as Sl,b as de,x as D,aS as zl,V as l,bX as Ol,fN as Il
|
|
|
75
75
|
&:hover {
|
|
76
76
|
color: ${e=>e.theme.colors.primary};
|
|
77
77
|
}
|
|
78
|
-
`,
|
|
78
|
+
`,Ht=r(_l)`
|
|
79
79
|
width: ${a.sp3};
|
|
80
80
|
height: ${a.sp3};
|
|
81
81
|
`,Yt=r.div`
|
|
82
82
|
display: flex;
|
|
83
83
|
align-items: center;
|
|
84
|
-
`,
|
|
84
|
+
`,Gt=r.div`
|
|
85
85
|
display: flex;
|
|
86
86
|
flex-direction: column;
|
|
87
87
|
background-color: ${e=>e.theme.colors.grey5};
|
|
@@ -139,7 +139,7 @@ import{Q as Xe,y as wl,cN as Sl,b as de,x as D,aS as zl,V as l,bX as Ol,fN as Il
|
|
|
139
139
|
color: ${z.important};
|
|
140
140
|
text-align: right;
|
|
141
141
|
padding-right: ${a.sp3};
|
|
142
|
-
`,
|
|
142
|
+
`,Zt=r.div`
|
|
143
143
|
width: 100%;
|
|
144
144
|
& > div {
|
|
145
145
|
background-color: ${e=>e.hasError===!0?z.importantLight:e.theme.colors.background};
|
|
@@ -147,7 +147,7 @@ import{Q as Xe,y as wl,cN as Sl,b as de,x as D,aS as zl,V as l,bX as Ol,fN as Il
|
|
|
147
147
|
& .select-control {
|
|
148
148
|
background-color: ${e=>e.hasError===!0?z.importantLight:e.theme.colors.background} !important;
|
|
149
149
|
}
|
|
150
|
-
`,
|
|
150
|
+
`,Qt=r.div`
|
|
151
151
|
display: flex;
|
|
152
152
|
flex-direction: column;
|
|
153
153
|
padding: ${a.sp2} ${a.sp2} ${a.sp2} ${a.sp0};
|
|
@@ -168,12 +168,12 @@ import{Q as Xe,y as wl,cN as Sl,b as de,x as D,aS as zl,V as l,bX as Ol,fN as Il
|
|
|
168
168
|
outline: none;
|
|
169
169
|
background-color: inherit;
|
|
170
170
|
}
|
|
171
|
-
`,
|
|
171
|
+
`,Kt=r.div`
|
|
172
172
|
height: ${a.sp4};
|
|
173
173
|
display: flex;
|
|
174
174
|
align-items: center;
|
|
175
175
|
justify-content: flex-end;
|
|
176
|
-
`,
|
|
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:ue}={},customization:{placeholderLabel:oe}={},showAddUser:ie=!0}){const w=wl(),[K,u]=m.useState(!1),pe=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"}},...ue?.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),u(!1)},children:[l.jsx(sa,{}),l.jsx("div",{children:oe??"Add User"})]}):null]});return l.jsx(Yl,{onClickAway:()=>{u(!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!==""&&u(!0)},onMenuOpen:()=>{u(!0)},placeholder:l.jsx(aa,{children:l.jsx("div",{children:oe??"Select..."})}),components:{Option:ua,DropdownIndicator:ba,IndicatorSeparator:xa,SingleValue:fa,ValueContainer:ga,MenuList:he},hideSelectedOptions:!1,closeMenuOnSelect:!1,styles:g,options:pe,isDisabled:h,onChange:f=>{c(f),u(!1)},isClearable:!1,isSearchable:!1},Jl())})})}const ta=r.div``,aa=r.div`
|
|
177
177
|
display: flex;
|
|
178
178
|
align-items: center;
|
|
179
179
|
color: ${e=>e.theme.colors.grey1};
|
|
@@ -209,7 +209,7 @@ import{Q as Xe,y as wl,cN as Sl,b as de,x as D,aS as zl,V as l,bX as Ol,fN as Il
|
|
|
209
209
|
width: ${a.sp4};
|
|
210
210
|
border-radius: 50%;
|
|
211
211
|
justify-content: center;
|
|
212
|
-
`,ua=e=>{const{data:c,options:b,isSelected:h}=e,
|
|
212
|
+
`,ua=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(pa,{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,{})})]})})})},pa=r.div`
|
|
213
213
|
width: 100%;
|
|
214
214
|
display: flex;
|
|
215
215
|
align-items: center;
|
|
@@ -222,7 +222,7 @@ import{Q as Xe,y as wl,cN as Sl,b as de,x as D,aS as zl,V as l,bX as Ol,fN as Il
|
|
|
222
222
|
white-space: nowrap;
|
|
223
223
|
overflow: hidden;
|
|
224
224
|
text-overflow: ellipsis;
|
|
225
|
-
`,fa=({children:e,data:c,...b})=>{const{options:h}=b.selectProps,
|
|
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
226
|
color: ${e=>e.hasSelectedUser?e.theme.colors.hero:e.theme.colors.primary};
|
|
227
227
|
display: flex;
|
|
228
228
|
padding: ${a.sp2} 12px;
|
|
@@ -237,7 +237,7 @@ import{Q as Xe,y as wl,cN as Sl,b as de,x as D,aS as zl,V as l,bX as Ol,fN as Il
|
|
|
237
237
|
display: flex;
|
|
238
238
|
flex-direction: row;
|
|
239
239
|
cursor: pointer;
|
|
240
|
-
`,Ie={width:new
|
|
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 Za({companyOfficerData:e,isDisabled:c,allOfficers:b,allNationalityCountries:h,isRefreshingViewInBackground:R,connectedAccountProvider:L,style:W,isPopupOpen:t,sectionId:ae,filesEndPoint:i,authParams:ce,showInfoTooltip:ue=!0,isCompleted:oe=!1,showCompletedIcon:ie=!1,showOfficerSelect:w=!0,showVerificationTag:K=!0,isForTreasury:u=!1,isOverlay:pe=!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 v=Ke(),se=wl(),{getValues:I,setValue:ge}=Sl(),le=b.length>0,[x,$e]=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 $=`${ae}.${H}`,G=e[Y],J=u?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??{},ve=I(`${$}.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(v),Be=Ie.veryLargeLabelWidth.value(v),Z=Ie.largeLabelWidth.value(v),Ce=v==="small"?n.companyRolePlaceholderSmall:n.companyRolePlaceholder,Ee=v==="small"?n.protectedSsnTextSmall:n.protectedSsnText,C=J?.code==="pending_review"||J?.code==="verified"?"readonly":c,Re=C!=null||!le||J?.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(`${$}.phone`))},[Fe,k]);const We=(d,E)=>{U(d,E)},Ue=()=>ee==null||ee===""?!1:I(`${$}.phone`)===ee,He=()=>{const d=I(`${$}.phone`);return d!=null&&!Ql(d)?n.phoneErrorForOnboarding:n.phoneError.replace("_product_type_",V)};return l.jsxs(Oa,{style:W,windowSize:v,children:[l.jsxs(Ia,{windowSize:v,isOverlay:pe,children:[l.jsxs(Na,{children:[l.jsxs($a,{children:[ie===!0?l.jsx(va,{children:oe?l.jsx(La,{}):l.jsx(_a,{})}):null,l.jsx(ja,{windowSize:v,children:y??Me})]}),ue?l.jsx(Ca,{children:l.jsx(Ol,{variant:"small-description",maxWidth:"275px",data:n.confirmIdentityDetailsTooltip,display:"flex",placement:v==="small"||D==="onboarding"?"bottom":"right",children:l.jsx(Ea,{})})}):null,D==="onboarding"&&y!=null?l.jsx(Vl,{text:Le}):null,J!=null&&K?l.jsx(ka,{tagTitle:J?.name,textColor:Il(J.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(`${$}.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:v==="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($,"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($,"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($l,{isDisabled:C,label:{label:n.dobLabel,width:Z},dateField:{name:T($,"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($,"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(Qe,{isDisabled:C,label:{label:n.address,width:te},addressValueField:{name:T($,"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(vl,{isDisabled:C,label:{label:n.phone,width:te},text:{name:T($,"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(Q,{label:{label:n.companyRoleLabel,width:Z},singleSelectField:{singleSelect:{name:T($,"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:Z},formattedTextField:{type:"number",name:T($,"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:Z},formattedTextField:{type:"text",name:T($,"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($,"selectDocument"),officerIndex:H,sizeLimit:Ze,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,ve),back:ol(!1,Se,ve)}},registerOptions:{required:S.includes("selectDocument")===!1},hasError:x,additionalInfoLabel:n.companyIdDescription.replace("_product_type_",V),onFileSizeError:j=>$e(j),isPopupOpen:t,openPopup:f,companyOfficerName:{firstName:d?.firstName??"",lastName:d?.lastName??""}})]},$)})]})}const T=(e,c)=>`${e}.${c}`,Oa=r.div`
|
|
241
241
|
display: flex;
|
|
242
242
|
flex-direction: column;
|
|
243
243
|
row-gap: ${e=>Ie.containerRowGap.valuePx(e.windowSize)};
|
|
@@ -254,10 +254,10 @@ import{Q as Xe,y as wl,cN as Sl,b as de,x as D,aS as zl,V as l,bX as Ol,fN as Il
|
|
|
254
254
|
color: ${e=>e.theme.colors.primary};
|
|
255
255
|
${e=>`${Sa.title.style(e.windowSize)}`};
|
|
256
256
|
padding-right: ${a.sp1};
|
|
257
|
-
|
|
257
|
+
`,$a=r.div`
|
|
258
258
|
display: flex;
|
|
259
259
|
align-items: center;
|
|
260
|
-
|
|
260
|
+
`,va=r.div`
|
|
261
261
|
margin-right: ${a.sp2};
|
|
262
262
|
`,La=r(Ll)`
|
|
263
263
|
width: ${a.sp3};
|
|
@@ -277,12 +277,12 @@ import{Q as Xe,y as wl,cN as Sl,b as de,x as D,aS as zl,V as l,bX as Ol,fN as Il
|
|
|
277
277
|
`,Ea=r(_l)`
|
|
278
278
|
width: ${a.sp3};
|
|
279
279
|
height: ${a.sp3};
|
|
280
|
-
`,
|
|
280
|
+
`,Fa=r.img`
|
|
281
281
|
height: ${a.sp4};
|
|
282
282
|
width: ${a.sp4};
|
|
283
283
|
border-radius: 50%;
|
|
284
284
|
justify-content: center;
|
|
285
|
-
`,
|
|
285
|
+
`,Da=r.div`
|
|
286
286
|
margin-right: 14px;
|
|
287
287
|
color: ${e=>e.theme.colors.primary};
|
|
288
288
|
`,Na=r.div`
|
|
@@ -295,7 +295,7 @@ import{Q as Xe,y as wl,cN as Sl,b as de,x as D,aS as zl,V as l,bX as Ol,fN as Il
|
|
|
295
295
|
border: 1px solid ${e=>e.theme.colors.grey3};
|
|
296
296
|
box-shadow: ${e=>`${a.sp0} 2px ${a.sp1} ${e.theme.colors.dropShadowNormal}`};
|
|
297
297
|
border-radius: ${a.sp2};
|
|
298
|
-
`,
|
|
298
|
+
`,M=r.div`
|
|
299
299
|
display: flex;
|
|
300
300
|
flex: 1;
|
|
301
301
|
background-color: ${e=>e.theme.colors.grey3};
|
|
@@ -328,4 +328,4 @@ import{Q as Xe,y as wl,cN as Sl,b as de,x as D,aS as zl,V as l,bX as Ol,fN as Il
|
|
|
328
328
|
width: ${a.sp4};
|
|
329
329
|
height: ${a.sp4};
|
|
330
330
|
color: ${e=>e.theme.colors.hero};
|
|
331
|
-
`;export{
|
|
331
|
+
`;export{Za as r,Tt as z};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{V as r,
|
|
1
|
+
import{V as r,aN as E,aO as x,O as p,o as l,aR as M,aU as w,aj as g,aV as j}from"./index-sotzB3Mx.js";import{n as o}from"./mui-CWqpJBOf.js";import{c as H}from"./SummaryCard-BTnU1LYd-5Er4BGPP.js";import{a as t}from"./sentry-2bqpslFP.js";import"./liveblocks-DezulwOD.js";import"./core-D2KcXy_y.js";import"./recharts-H7gIkfSf.js";import"./zeni-epic-state-DM-Ak8Gv.js";import"./lottie-D7_uSTtS.js";import"./analytics-DRVsD-is.js";import"./lexical-Dj2KAtCD.js";import"./utils-Bfvb8rvn.js";import"./ReloadCard-DvIzOHkJ-SNPzaiS7.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},s=new e.Error().stack;s&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[s]="80f0417b-d922-4e2d-80bc-15d124f2b8f5",e._sentryDebugIdIdentifier="sentry-dbid-80f0417b-d922-4e2d-80bc-15d124f2b8f5")}catch{}})();const B=e=>t.createElement("svg",{width:32,height:32,viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},t.createElement("path",{opacity:.2,d:"M25.8382 19.5283C25.8382 19.5283 31.0943 15.1988 31.0943 12.6045C31.0943 11.998 30.7236 11.9138 30.2856 11.9138H20.0263V6.72512C20.0263 6.27027 19.6556 5.9165 19.2176 5.9165H2.74197C2.28712 5.9165 1.93335 6.28712 1.93335 6.72512V20.3706C1.93335 20.8255 2.30397 21.1792 2.74197 21.1792H11.182V27.1765H30.3025C30.7573 27.1765 31.1111 26.8733 31.1111 26.4858C31.0943 24.5822 27.4892 20.9434 25.8382 19.5283Z",fill:"#95C1B7"}),t.createElement("path",{d:"M18.9987 20.1516H1.69754C1.24269 20.1516 0.888916 19.781 0.888916 19.343V5.69754C0.888916 5.24269 1.25953 4.88892 1.69754 4.88892H18.19C18.6449 4.88892 18.9987 5.25953 18.9987 5.69754V20.1516Z",stroke:"#95C1B7",strokeWidth:1.5,strokeMiterlimit:10,strokeLinejoin:"round"}),t.createElement("path",{d:"M18.9987 10.8862H29.2581C29.7129 10.8862 30.0667 10.9705 30.0667 11.5769C30.0667 14.1713 24.8107 18.5007 24.8107 18.5007C26.4616 19.9158 30.0667 23.5546 30.0667 25.4583C30.0667 25.8457 29.6961 26.149 29.2581 26.149H10.1376V20.1517",stroke:"#95C1B7",strokeWidth:1.5,strokeMiterlimit:10}),t.createElement("path",{d:"M18.9987 20.1516L10.1376 26.1489",stroke:"#95C1B7",strokeWidth:1.5,strokeMiterlimit:10}),t.createElement("path",{d:"M14.8545 16.3949H5.03308",stroke:"#ECB87D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M14.8545 12.5203H5.03308",stroke:"#ECB87D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M14.8545 8.62878H5.03308",stroke:"#ECB87D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"})),D=e=>t.createElement("svg",{width:32,height:32,viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},t.createElement("path",{opacity:.2,d:"M29.1471 12.9199H19.384V2.69038C19.384 2.2561 19.0302 1.91833 18.612 1.91833H4.13618C3.7019 1.91833 3.36414 2.27219 3.36414 2.69038V30.3391C3.36414 30.7734 3.71799 31.1112 4.13618 31.1112H17.5665H18.612H29.1471C29.5814 31.1112 29.9192 30.7573 29.9192 30.3391V13.692C29.9192 13.2738 29.5653 12.9199 29.1471 12.9199Z",fill:"#97C3B9"}),t.createElement("path",{d:"M26.2595 15.4934H21",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M14.9126 25H5.53552",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M14.9126 20H5.53552",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M14.9126 15H5.53552",stroke:"#ECB87D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M26.2595 25H21",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M26.2595 20H21",stroke:"#ECB87D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M14.9126 10H5.53552",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M14.9126 5.36316H5.53552",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M18.242 30.0978V1.66096C18.242 1.22668 17.8882 0.888916 17.47 0.888916H2.99421C2.55994 0.888916 2.22217 1.24277 2.22217 1.66096V29.3097C2.22217 29.744 2.57602 30.0818 2.99421 30.0818H17.47",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),t.createElement("path",{d:"M16.4246 30.0978H28.0052C28.4395 30.0978 28.7772 29.744 28.7772 29.3258V12.6625C28.7772 12.2283 28.4234 11.8905 28.0052 11.8905H18.1617",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10})),b=e=>t.createElement("svg",{width:32,height:32,viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},t.createElement("path",{opacity:.2,d:"M16.3966 31.1111C24.5135 31.1111 31.0936 24.5311 31.0936 16.4141C31.0936 8.29723 24.5135 1.71716 16.3966 1.71716C8.27965 1.71716 1.69958 8.29723 1.69958 16.4141C1.69958 24.5311 8.27965 31.1111 16.3966 31.1111Z",fill:"#97C3B9"}),t.createElement("path",{d:"M15.5859 30.2829C23.7028 30.2829 30.2829 23.7028 30.2829 15.5859C30.2829 7.46898 23.7028 0.888916 15.5859 0.888916C7.46898 0.888916 0.888916 7.46898 0.888916 15.5859C0.888916 23.7028 7.46898 30.2829 15.5859 30.2829Z",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),t.createElement("path",{d:"M3.76135 15.9559C3.76135 20.1148 6.01701 23.745 9.36524 25.6834",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M8.81897 19.9034C8.81897 17.3658 11.85 15.304 15.5859 15.304C19.3219 15.304 22.3529 17.3658 22.3529 19.9034C22.3529 24.8729 8.81897 24.9257 8.81897 19.9034Z",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),t.createElement("path",{d:"M15.5859 13.2245C17.1626 13.2245 18.4407 11.9464 18.4407 10.3697C18.4407 8.79304 17.1626 7.51489 15.5859 7.51489C14.0092 7.51489 12.7311 8.79304 12.7311 10.3697C12.7311 11.9464 14.0092 13.2245 15.5859 13.2245Z",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),t.createElement("path",{d:"M27.0404 15.6035C27.0404 11.4446 24.7848 7.81443 21.4365 5.87598",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"})),y=[{key:"company_legal_name",title:p.getLocalizedStrings().companyPassportCard.legalName,Icon:D},{key:"company_officer",title:p.getLocalizedStrings().companyPassportCard.companyOfficer,Icon:b},{key:"company_inc",title:p.getLocalizedStrings().companyPassportCard.typeOfInc,Icon:B}],v=o(w)`
|
|
2
2
|
margin: ${l.sp5};
|
|
3
3
|
justify-content: space-between;
|
|
4
4
|
`,L=o.div`
|
|
@@ -7,7 +7,7 @@ import{V as r,aO as E,aP as x,b as p,o as l,ac as M,aU as w,ak as C,aV as b}from
|
|
|
7
7
|
flex-direction: row;
|
|
8
8
|
align-items: center;
|
|
9
9
|
margin-bottom: ${l.sp3};
|
|
10
|
-
`,W=o(
|
|
10
|
+
`,W=o(g)`
|
|
11
11
|
color: ${e=>e.theme.colors.champion};
|
|
12
12
|
`,I=o.div`
|
|
13
13
|
display: flex;
|
|
@@ -20,23 +20,23 @@ import{V as r,aO as E,aP as x,b as p,o as l,ac as M,aU as w,ak as C,aV as b}from
|
|
|
20
20
|
flex-direction: row;
|
|
21
21
|
align-items: center;
|
|
22
22
|
margin: ${l.sp3} ${l.sp0};
|
|
23
|
-
`,N=o.div`
|
|
24
|
-
margin-right: ${l.sp3};
|
|
25
23
|
`,_=o.div`
|
|
24
|
+
margin-right: ${l.sp3};
|
|
25
|
+
`,$=o.div`
|
|
26
26
|
display: flex;
|
|
27
27
|
width: 100%;
|
|
28
28
|
flex-direction: column;
|
|
29
29
|
text-align: left;
|
|
30
|
-
|
|
30
|
+
`,N=o(g)`
|
|
31
31
|
color: ${e=>e.theme.colors.hero};
|
|
32
|
-
`,k=o(
|
|
32
|
+
`,k=o(g)`
|
|
33
33
|
color: ${e=>e.theme.colors.primary};
|
|
34
34
|
display: -webkit-box;
|
|
35
35
|
-webkit-box-orient: vertical;
|
|
36
36
|
-webkit-line-clamp: 2;
|
|
37
37
|
overflow: hidden;
|
|
38
|
-
`,
|
|
38
|
+
`,C=o(j)``,O=o.div`
|
|
39
39
|
width: 100%;
|
|
40
40
|
height: 1px;
|
|
41
41
|
background-color: ${e=>e.theme.colors.grey3};
|
|
42
|
-
`;function Y({card:e,actions:s,data:
|
|
42
|
+
`;function Y({card:e,actions:s,data:d,dndProps:a}){return r.jsx(E,{isDragging:a?.draggedCardType!=null,isDragOver:a?.dragOverCard===e.cardType,draggable:!0,onDragStart:i=>a?.onDragStart(e.cardType,i),onDragOver:i=>a?.onDragOver(i,e.cardType),onDragLeave:i=>a?.onDragLeave(i),onDrop:i=>a?.onDrop(i,e.cardType),dimension:e.dimension,children:r.jsx(H,{card:e,actions:s,children:r.jsx(x,{dimension:e.dimension,style:{cursor:"pointer"},onClick:()=>s.onCardClick(e.cardIndex,e.cardType),"data-testid":M("dashboard",e.cardType),children:r.jsxs(v,{children:[r.jsx(L,{children:r.jsx(W,{children:p.getLocalizedStrings().companyPassportCard.title})}),y.map((i,c)=>{const{title:m,key:n,Icon:h}=i;return r.jsxs(I,{children:[r.jsxs(T,{children:[r.jsx(_,{children:r.jsx(h,{height:l.sp5,width:l.sp5})}),r.jsxs($,{children:[r.jsx(N,{children:m}),r.jsx(A,{data:d?.companyView,itemKey:n})]})]}),c!==y.length-1?r.jsx(O,{}):null]},i.key)})]})})})},e.cardIndex)}const A=({itemKey:e,data:s})=>{const d=s?.companyOfficers,a=s?.company,i=a?.company.companyInfo,c=a?.company.incInfo,m=()=>r.jsx(V,{children:"—"});switch(e){case"company_legal_name":return i?.companyLegalName==null||i.companyLegalName===""?r.jsx(m,{}):r.jsx(k,{children:i?.companyLegalName});case"company_officer":{if(d==null||d?.length===0)return r.jsx(m,{});const n=d.slice(0,10).sort((u,f)=>u.user.createTime?.isAfter(f.user.createTime)===!0?1:-1),h=[n[0].user.firstName,n[0].user.lastName].join("").trim();return r.jsxs(k,{children:[n[0].user.firstName!=null&&n[0].user.firstName!==""?r.jsxs(C,{children:[n[0].user.firstName," "]}):null,r.jsx(C,{children:n[0].user.lastName}),n[0].user.email!=null?r.jsx(C,{children:`${h.length>0?", ":""}${n[0].user.email}`}):null]})}case"company_inc":return c?.companyIncType==null||c.companyIncType===""?r.jsx(m,{}):r.jsx(k,{children:c?.companyIncType});default:return null}};export{Y as default};
|