@zeniai/web-cockpit-ui 1.15.22-qa → 1.15.23-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-CZfTXGMr-Lnh65l9r.js → ACHDetailsPage-BOZmOJHO-DA9D4iJH.js} +2 -2
- package/dist/assets/{AIPerformancePage-CpfWdGaC-uJXPs-cJ.js → AIPerformancePage-ZVCJizP9-D55hw0l8.js} +16 -16
- package/dist/assets/AccountInfoPage-DF6IU0EG-CK0AD-ot.js +18 -0
- package/dist/assets/{AccountInfoPageContent-CYZIBmtA-Cc8jicZs.js → AccountInfoPageContent-D0wuuzMd-YMtVFfpn.js} +18 -18
- package/dist/assets/{AccountLockedInfoModal-BFBjEOzC-CW9VKIHW.js → AccountLockedInfoModal-Cfx-lPAZ-B55UQ1W3.js} +6 -6
- package/dist/assets/{AccountReconDetailsDrawerPage-DSFCBgAM-DRW_32Fg.js → AccountReconDetailsDrawerPage-DbHX6rPG-BwmWp-T3.js} +15 -15
- package/dist/assets/{AccountRow-Gn7g3D_F-BBQfly-U.js → AccountRow-Bk_25FCy-D03inSab.js} +21 -21
- package/dist/assets/{AccountsPromoCardStack-DOMli4-L-CRu-629U.js → AccountsPromoCardStack-DAXRwY1f-DegwS44K.js} +28 -28
- package/dist/assets/AddAddressForCardDrawer-DNGQGGYg-AmBvQD8m.js +6 -0
- package/dist/assets/{AddToWalletPage-D-Z-ZVZn-DWs7ZCUy.js → AddToWalletPage-CzziHgi7-j3gMOtad.js} +22 -22
- package/dist/assets/{AgingReportsPage-CdqPmA60-xeaigsqC.js → AgingReportsPage-Bdi3krKK-Bf-4bvXh.js} +5 -5
- package/dist/assets/{AllUserItems-DWLkEF2p-Cu4TKU61.js → AllUserItems-XWDuiug6-DkHHRN56.js} +10 -10
- package/dist/assets/{ApAgingDetailPage-CdtqprUm-UvzFtkee.js → ApAgingDetailPage-CaM_AzrU-DCtFqylK.js} +7 -7
- package/dist/assets/AppBasePage-B7_L4R6d-DSvQT3A9.js +71 -0
- package/dist/assets/{AppDrawerContent-DCMK2lRO-h01OkeSR.js → AppDrawerContent-DSX1364T-CNP-B7uf.js} +7 -7
- package/dist/assets/ApprovalRulesSettingsPage-DrjPOeyp-BrhLSwXJ.js +47 -0
- package/dist/assets/{ArAgingChart-DOYvVptv-DR9dm5ZT.js → ArAgingChart-M7KUNA4G-DKIpaPUv.js} +1 -1
- package/dist/assets/{ArAgingDetailPage-BCaRO749-DXQQQ2B5.js → ArAgingDetailPage-7lby5mXn-BtLBFlEX.js} +6 -6
- package/dist/assets/{AttachmentView-CnfHYBMC-GPUL-heq.js → AttachmentView-Bsa0u92o-BEQFOxXv.js} +7 -7
- package/dist/assets/{BankAccountSection-P9w-MOrg-CGYV7ljA.js → BankAccountSection-BkOlwayA-DP864Lrq.js} +6 -6
- package/dist/assets/{BankAccountWarningSection-BDEZ6LKQ-6TRhx7Zc.js → BankAccountWarningSection-uMOXLH0B-ZXC_xQuj.js} +9 -9
- package/dist/assets/{BankConnectionsSettingsPage-dE7WxsGo-DOI-arB-.js → BankConnectionsSettingsPage-C_YytTke-B8k-pddW.js} +21 -21
- package/dist/assets/{BillDetailPage-CAbohg1r-BBfYosTz.js → BillDetailPage-DvU5_Rsp-C9dpUiI6.js} +12 -12
- package/dist/assets/BillPayApprovalRuleDetailPage-UeVxIxfF-CFPoQw5A.js +27 -0
- package/dist/assets/{BillPayApprovalRulesPage-wy4fIDHo-0_ycq9ss.js → BillPayApprovalRulesPage-CA9eufjt-BNyCnVeE.js} +14 -14
- package/dist/assets/{BillPayPromoPage-CbXq0YNV-NkwCl8Xq.js → BillPayPromoPage-DsXPWKAf-BqLcGJ_H.js} +10 -10
- package/dist/assets/{BillPaySetUpPage-CwP6Aw2I-eUmg7lOc.js → BillPaySetUpPage-CeMhzZ_3-BI9-weFw.js} +7 -7
- package/dist/assets/BillingSettingsPage-BygJjDSp-C0Ia6obD.js +44 -0
- package/dist/assets/{BillsBulkReviewDrawerPage-QsGKIhW0-DYTD3gNy.js → BillsBulkReviewDrawerPage-WrR46NRa-CKI5pK1F.js} +1 -1
- package/dist/assets/{BoxItem-CgrlwejJ-SY_ufI2M.js → BoxItem-C0M4PSXY-D0kSlmNN.js} +1 -1
- package/dist/assets/BusinessVerificationPage-C63pUk4d-C1yyAjbf.js +138 -0
- package/dist/assets/{CardNumberSubText-DPlqciQh-IidQQCet.js → CardNumberSubText-B4dAoYDE-B1SbTgmV.js} +2 -2
- package/dist/assets/{CashbackDetailPage-DvxlixOz-BLcSoq8t.js → CashbackDetailPage-B6xvn-y3-CO89J05d.js} +16 -16
- package/dist/assets/{ChargeCardDetailPage-BwsPpOzj-BfT6wPmj.js → ChargeCardDetailPage-eJJ4MEE6-BXMqrqi9.js} +25 -25
- package/dist/assets/{ChargeCardListPage-BKu9-MWp-D4Kr8c-a.js → ChargeCardListPage-BYI2HIjA-B0giUbEV.js} +19 -19
- package/dist/assets/{ChargeCardListTable-BkAggUNy-DdMJhtGO.js → ChargeCardListTable-DAVYmKCK-DEY8KXB2.js} +44 -44
- package/dist/assets/{ChargeCardPaymentHistoryPage-BddAvqUm-D_kTbujS.js → ChargeCardPaymentHistoryPage-BX5HtOxd-BV2ugIHB.js} +47 -47
- package/dist/assets/ChargeCardPromoPage-DuQe7BpX-B1bYsTBb.js +222 -0
- package/dist/assets/{ChargeCardSetupPage-B3vasCMt-i66Fofvm.js → ChargeCardSetupPage-DG1eKhYR-BVTvcCk1.js} +6 -6
- package/dist/assets/{ChargeCardStatementsPage-BOscGNXN-BaohNBwD.js → ChargeCardStatementsPage-CvtZtuVC-BbTDMJQ9.js} +9 -9
- package/dist/assets/{CheckDepositDrawerPage-BEEyhU4L-BWlcFHrW.js → CheckDepositDrawerPage-BdacGDpy-CN6aGowb.js} +15 -15
- package/dist/assets/{CollapsableReportTable-BpZbn8JV-BJBRRzKX.js → CollapsableReportTable-UADp1m_8-C887iUXZ.js} +81 -81
- package/dist/assets/CompanyOfficerDetailsSection-CaAR0Wvk-CmXyx64P.js +331 -0
- package/dist/assets/{CompanyPassportCard-DnpS3cSu-DrHqCrTH.js → CompanyPassportCard-BJN2GEVm-LlIc7P9q.js} +5 -5
- package/dist/assets/CompanyPassportPage-D2ALJDF_-B0BzydTg.js +417 -0
- package/dist/assets/{CompleteProfile-E7yJ6AqT-Jh4pB2E8.js → CompleteProfile-C8X8Z3C2-Bzf6-WNu.js} +4 -4
- package/dist/assets/ConfettiBurst-DxHzdDPp-BHPKFQrr.js +1 -0
- package/dist/assets/{ConstrainedInnerElement-BeIpAPjB-BrcJvid9.js → ConstrainedInnerElement-BeIpAPjB-D4MBpZa1.js} +1 -1
- package/dist/assets/{CreateOrEditVendorPage-CqGWKAVs-7gjtNzWv.js → CreateOrEditVendorPage-y-COpdhs-CywEWB6a.js} +15 -15
- package/dist/assets/{CreditCardPaymentDrawerPage-CO7njZlm-C-d7vRgi.js → CreditCardPaymentDrawerPage-CntYJJ8v-CZ68p-k6.js} +16 -16
- package/dist/assets/{CurrencySelectField-DxdAWtY0-CBQRJAjO.js → CurrencySelectField-Dn-hE2az-n1RHeHxE.js} +3 -3
- package/dist/assets/{CustomerOnboardingActivationPage-CEaKVaVS-DcV5VN2r.js → CustomerOnboardingActivationPage-B9MZHJVc-BxzBFrW0.js} +5 -5
- package/dist/assets/CustomerOnboardingContainerPage-eR0yY2uX-CZ-wHAQI.js +1 -0
- package/dist/assets/{CustomerOnboardingDetailPageSkeleton-Bk-UD_xZ-DMv5b6Tt.js → CustomerOnboardingDetailPageSkeleton-BCe8BvQF-DaEKstx7.js} +13 -13
- package/dist/assets/CustomerOnboardingNoStepsPage-BHk7rDAg-B5ZKgZir.js +66 -0
- package/dist/assets/{CustomerOnboardingPage-D2g6ose5-Be4Xr3ip.js → CustomerOnboardingPage-1LvpVpHC-Cr4NP9fC.js} +8 -8
- package/dist/assets/{CustomerOnboardingProductSuitePage-BowJfyTX-BfHzAcC6.js → CustomerOnboardingProductSuitePage-DMYHMJXg-DeyKCfXK.js} +8 -8
- package/dist/assets/{Dashboard-46VwWQSI-DkmTwrc_.js → Dashboard-CCV0_aCP-BoBmH13Z.js} +1 -1
- package/dist/assets/{DashboardReportPage-BA6k3bPl-Ckr1Cj4h.js → DashboardReportPage-CmoH9Vrc-CzA5O7KO.js} +13 -13
- package/dist/assets/{DashboardSidebarBackgroundAnimation-Dh7RFAmH-Bd8SKLYF.js → DashboardSidebarBackgroundAnimation-hw3einS7-DUVXWx2a.js} +1 -1
- package/dist/assets/{DepositAccTransactionItem-Dql1IjYZ-CuunBLNt.js → DepositAccTransactionItem-DgdkYGjP-BkMVZWVv.js} +5 -5
- package/dist/assets/{DepositAccTransactionListPage-BjKtMY47-QOEpFUZh.js → DepositAccTransactionListPage-CF0WJn9M-DlPgp9dm.js} +5 -5
- package/dist/assets/{DomesticWireDetailsPage-DeXdHoem-D64dC2Fm.js → DomesticWireDetailsPage-B12tNa6e-DRCqor_l.js} +1 -1
- package/dist/assets/{DownloadOverlay-C9lm7jRS-CeHdqCLM.js → DownloadOverlay-Dt9yt4Fz-OGiiWSIN.js} +1 -1
- package/dist/assets/{DrawerPage-DwjcM3hz-DN4jvr6d.js → DrawerPage-Clki97FA-CqA84wbo.js} +13 -13
- package/dist/assets/EditPeoplePage-CKS_aEZm-B7Tw7FjE.js +55 -0
- package/dist/assets/{EditReimbursementDetailPage-BerHadSD-BZkriWLo.js → EditReimbursementDetailPage-CXy2ZWfZ-BrOpTSUf.js} +41 -41
- package/dist/assets/EntityDetailPage-B3TQ5hCP-IVMsCeoo.js +18 -0
- package/dist/assets/{EntitySummarySection-BvXgw7DC-CQCJSWNO.js → EntitySummarySection-D_YLsP_P-CSh4l-FA.js} +8 -8
- package/dist/assets/{ExpenseAutomationOverviewPage-ySXotmyY-CJVvqVP_.js → ExpenseAutomationOverviewPage-4z3yzHEA-ChRwE60S.js} +10 -10
- package/dist/assets/{ExpenseAutomationPage-CieCVy8t-QWzCgCzs.js → ExpenseAutomationPage-BJ4H_c2z-FgmOcOvc.js} +146 -146
- package/dist/assets/{ExpressPayPage-BnUc-3ye-C1dh3GPA.js → ExpressPayPage-CTBD4y1v-NYjAlIxO.js} +15 -15
- package/dist/assets/{FeaturePreviewPage-rGKH26mO-DT9io36R.js → FeaturePreviewPage-CYuTQWpP-Bl8VAq6v.js} +2 -2
- package/dist/assets/{FollowStepsSection-Cul0Cxvm-Cn0WFUN2.js → FollowStepsSection-BrpI2HyW-DNSECr6B.js} +9 -9
- package/dist/assets/{GlobalReviewListPage-CC2ACTah-DpbOnqO_.js → GlobalReviewListPage-BcvxLqIL-CD9rfA0-.js} +12 -12
- package/dist/assets/{InformationCardStack-geyzh82K-DogR-UgS.js → InformationCardStack-CU4Moqky-Bc_PhxNK.js} +4 -4
- package/dist/assets/{InsightsCardStack-DmEWXOXG-w9gyiHl5.js → InsightsCardStack-D8UQiuXZ-DRkswx9n.js} +8 -8
- package/dist/assets/InsightsSection-C3X6ZNEt-CSaE3QjL.js +27 -0
- package/dist/assets/{IntegrationsSettingsPage-D8DA20vr-kp4AqUjm.js → IntegrationsSettingsPage-CsLv00HW-c8_zALL5.js} +7 -7
- package/dist/assets/{InternationalWireSwiftDetailsPage-C0p3_QQy-B1pmkx4O.js → InternationalWireSwiftDetailsPage-DgrN5Xg7-ik2bKR2J.js} +21 -21
- package/dist/assets/InternationalWireVerificationPage-CvysJNBQ-Q67xp-Zv.js +65 -0
- package/dist/assets/{InviteFormPage-CH4FYGl4-C_KdwWPO.js → InviteFormPage-B3KmRWXd-DZboWDF0.js} +23 -23
- package/dist/assets/{InvitePageListView-C-RG9OiM-CB7Rd6Dr.js → InvitePageListView-DfpJBZru-8z8nAtFG.js} +66 -66
- package/dist/assets/InvitePeoplePage-C5Qgk24s-U6BHBwDh.js +12 -0
- package/dist/assets/{InvoiceUploadSection-YQHXVR_6-CHAjSpjl.js → InvoiceUploadSection-BO1i-e_D-S9qpWOlw.js} +21 -21
- package/dist/assets/{IssueChargeCardPage-CKhRoUiP-D72FC7LA.js → IssueChargeCardPage-mPsxt52d-PfQTvSAJ.js} +20 -20
- package/dist/assets/{LabeledAddressValue-D_-0VDjZ-CEjisdoE.js → LabeledAddressValue-C4fnQSyi-BYyUYLsR.js} +2 -2
- package/dist/assets/{LabeledAddressValueField-BNPvRvHU-DSWtQeav.js → LabeledAddressValueField-D6dEaI69-DANZLTzI.js} +4 -4
- package/dist/assets/LabeledControlledCheckBoxField-B1QdZmvd-DW7Mu6XT.js +16 -0
- package/dist/assets/LabeledCountryMultiSelectField-XeBih_-f-O6Y-iu_1.js +237 -0
- package/dist/assets/{LabeledCreatableSingleSelectField-C1dHZ9ym-BSUe-QeQ.js → LabeledCreatableSingleSelectField-BPX2Nrlf-VQgMHUfl.js} +21 -17
- package/dist/assets/LabeledDocumentField-Bjg8sNsg-C-PR2ZST.js +41 -0
- package/dist/assets/{LabeledDropDownFormattedTextField-QdvkGLEh-btByp1Dy.js → LabeledDropDownFormattedTextField-A-rgip1E-DXyiM_iz.js} +6 -6
- package/dist/assets/LabeledMultiSelectField-Di9Wnifv-CqQm8lOX.js +223 -0
- package/dist/assets/{LabeledText-CQiPSE0v-DtyhIBYN.js → LabeledText-38fqkkE--BV0pTSSz.js} +6 -6
- package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-CcmaUIGJ-BtTLvsY7.js → LabeledUserSingleSelectWithSubtitlesField-BbF25dUP-Bm5BEKWh.js} +17 -17
- package/dist/assets/{LabeledZeniRolesDropDownField-k0YihYN--BEaphyAB.js → LabeledZeniRolesDropDownField-Dg9_Ww-A-6LCZnv3_.js} +24 -24
- package/dist/assets/{LinkJETransactionPage-DUaT91O5-CYUXtAbL.js → LinkJETransactionPage-66mQ4nrK-Blq1QPxg.js} +16 -16
- package/dist/assets/{LockCardPage-DYD2_HzF-0LLriE_o.js → LockCardPage-BCqN4K17-BFhQlELS.js} +26 -26
- package/dist/assets/{LowBalancePopup-DiycrXpa-CTxg_4OL.js → LowBalancePopup-BPk1-eAb-DPKxi1xa.js} +5 -5
- package/dist/assets/MagicLinkACHDetailsPage-DM7EUUU7-6n4CruRX.js +1 -0
- package/dist/assets/MagicLinkDomesticWireDetailsPage-DKrGgFTu-DYmL1ff3.js +1 -0
- package/dist/assets/{MagicLinkInternationalWireDetailsPage-eZNTvlJK-uMbPktxq.js → MagicLinkInternationalWireDetailsPage-B3OpSWB3-BbCH3bCn.js} +1 -1
- package/dist/assets/MagicLinkSuccessPage-CphaJa4k-C1L3trsn.js +31 -0
- package/dist/assets/{MagicLinkTitleSection-D6bdQGfS-RYgbBPda.js → MagicLinkTitleSection-77rxhjLm-DuK-hJU3.js} +10 -10
- package/dist/assets/{MailingDetailsSection-Db8X4a09-Ca6nJ4bp.js → MailingDetailsSection-BJfZvT0b-Cqv93bBS.js} +6 -6
- package/dist/assets/{MyBankConnectionsSettingsPage-C9rAs8AC-CPgToLwh.js → MyBankConnectionsSettingsPage-z0tHaSl1-D8NpXmDe.js} +13 -13
- package/dist/assets/{MyPendingActivationChargeCardListPage-Dhz5e_Uu-CbKEq9X-.js → MyPendingActivationChargeCardListPage-CwGYwufd-BhPm_tq1.js} +1 -1
- package/dist/assets/{MyProfileSettingsPage-CxZER675-DWy9A37H.js → MyProfileSettingsPage-8yBXAre6-Bs5xqc-e.js} +8 -8
- package/dist/assets/{NavBarWithPicker-BSVBMx7T-7ctXnXTR.js → NavBarWithPicker-C3LVyiC9-QHhc6aBd.js} +5 -5
- package/dist/assets/{NavigationArrow-Ca-B5zfh-DOkEZ23Y.js → NavigationArrow-NuJEpE7O-BsQF0lUP.js} +1 -1
- package/dist/assets/{NavigationDots-CjxNj1Qo-DUSolsbK.js → NavigationDots-C7Na64B9-CHGprwD5.js} +3 -3
- package/dist/assets/{NewGlobalMerchantPage-LykCdab5-BSlnLQR0.js → NewGlobalMerchantPage-Cus6zYV_-DyfxnG1c.js} +41 -41
- package/dist/assets/NoDataChart-B3s_7m2n-DuPBFXV2.js +26 -0
- package/dist/assets/NoDataTable-CMpypnTw-C6S_V6d0.js +8 -0
- package/dist/assets/{NotFoundPage-C4BU4sH8-DZzAQ8sH.js → NotFoundPage-RjXioqc8-DMQ0F7IL.js} +9 -9
- package/dist/assets/{NotificationSettingsPage-BcZEeTzA-CPfHSoWp.js → NotificationSettingsPage-DrDW_LU_-mWZ117zO.js} +21 -21
- package/dist/assets/{NotificationsListConfig-CYqB9pO5-DEDNzQZY.js → NotificationsListConfig-C6_ap0JT-D0MspRwp.js} +1 -1
- package/dist/assets/{NotificationsPage-BpE7xDxK-D8yClJTG.js → NotificationsPage-DOM-Gf5P-BRdHJwOp.js} +15 -15
- package/dist/assets/{OpExByVendorPage-CzAB4zqP-CULV3aDc.js → OpExByVendorPage-CTuBB827-Bbt1veu8.js} +20 -20
- package/dist/assets/OverlayContainerPage-D4QU0p4o-Bbmz6FH4.js +11 -0
- package/dist/assets/{PandLWithForecastPage-CDkHjqzy-DUlj3c64.js → PandLWithForecastPage-BXaENYdR-DDSkVfM3.js} +11 -11
- package/dist/assets/PaymentAccountSetupBillingAddressSection-DSnQX90O-Dx1jHuZ7.js +107 -0
- package/dist/assets/{PeoplePage-C_FZL-mx-C-bfDUUk.js → PeoplePage-BlyVVthI-fFVSXzpH.js} +36 -36
- package/dist/assets/{Preview-D3Bnt1d1.js → Preview-DuIVCswF.js} +1 -1
- package/dist/assets/{ProductsCarousel-lJBWrgjU-DonlKGOT.js → ProductsCarousel-CAcPH--E-BIuBBeKB.js} +6 -6
- package/dist/assets/{PromoBaseCards-BHeLFDFF-D9FOKv3v.js → PromoBaseCards-BVwZMVeE-DstwmvWv.js} +2 -2
- package/dist/assets/{QBOConnectionDialog-BfBk1GDG-BMfCjZzO.js → QBOConnectionDialog-C3OYyhYO-5hTjd5-l.js} +5 -5
- package/dist/assets/{QBOSetupSection-BO8FYRd_-Qn6LUGzs.js → QBOSetupSection-DQjol-D0-05cxakPz.js} +11 -11
- package/dist/assets/ReimbursementApprovalRuleDetailPage-llw4ONPo-DjqdHx3S.js +32 -0
- package/dist/assets/{ReimbursementApprovalRulesPage-2-dvUngC-DoA4Aa6y.js → ReimbursementApprovalRulesPage-Cx0gs7sS-B-krQa99.js} +9 -9
- package/dist/assets/{ReimbursementDetailPage-CCBrKxup-eMdyzTTS.js → ReimbursementDetailPage-Cs_rmkS8-DW1o_189.js} +13 -13
- package/dist/assets/{ReimbursementPromoPage-C1DzNWh1-IOjKQSRs.js → ReimbursementPromoPage-CCFl0kQK-B9O9Pssf.js} +8 -8
- package/dist/assets/{ReimbursementSetUpPage-Bs1pChM5-DSiQEn3A.js → ReimbursementSetUpPage-lf3xTVFh-COXeJ33g.js} +12 -12
- package/dist/assets/{ReimbursementsBulkReviewDrawerPage-BY1ivHX0-YGjjSYE0.js → ReimbursementsBulkReviewDrawerPage-C5MTFJLG-CJIWqV-7.js} +1 -1
- package/dist/assets/{ReloadCard-Ci1JfueA-DAWS8WWx.js → ReloadCard-V_tv6YLR-pIKKLA9H.js} +6 -6
- package/dist/assets/{ReportTableViewSelector-FSUjS0tA-BxIJxG6X.js → ReportTableViewSelector-CWEvGn8L-CcECbGsj.js} +6 -6
- package/dist/assets/{ReportsPage-2XGgGATP-w9xnPMQA.js → ReportsPage-BJOH1wgv-CXqYsJPZ.js} +6 -6
- package/dist/assets/{RevenueChart-DhiHl3J4-BhIufAgU.js → RevenueChart-C_tSBw_N-Cwj-E2UP.js} +19 -19
- package/dist/assets/{ReviewDetailsPage-JfBmJL7T-BkX_u_VB.js → ReviewDetailsPage-CScPf4w3-Cz00WVXv.js} +25 -25
- package/dist/assets/{ReviewOverlay-B8Quli7Z-BlSCP7tq.js → ReviewOverlay-BQVwPzKa-BxRw_iSk.js} +31 -31
- package/dist/assets/{RoleWithToolTip-DL78JlR8-CjxKYGM4.js → RoleWithToolTip-GCV_l8Ly-GZKD9YbI.js} +2 -2
- package/dist/assets/{ScheduleDetailsFixedAssetsPage-B-mkt12S-BfkvZ3VG.js → ScheduleDetailsFixedAssetsPage-Cgqgn7nk-B00K9FnO.js} +13 -13
- package/dist/assets/{ScheduleDetailsPage-BUZcySac-MhIHJ681.js → ScheduleDetailsPage-D1EJbzxN-l7ivTR2t.js} +3 -3
- package/dist/assets/{ScheduleSequenceTable-CdKMmZqy-YJzhKMlw.js → ScheduleSequenceTable-DDhoyPGX-CcxwU9B1.js} +37 -37
- package/dist/assets/{ScreenRoutes-zyk3b_eT.js → ScreenRoutes-CbhRMGYb.js} +1 -1
- package/dist/assets/{SetUpAccountSection-D1MXUm9M-DRyEln1s.js → SetUpAccountSection-AVL_16HQ-CfJdXpM8.js} +9 -9
- package/dist/assets/{SignIn-CPWFfFe2-DWSC_Uuu.js → SignIn-BLUwTp1l-Diu2Dl0P.js} +12 -12
- package/dist/assets/SignInScreen-BAFcpgXM.js +1 -0
- package/dist/assets/{SpendManagementListViewPage--cVcOp1f-D8QFk4lP.js → SpendManagementListViewPage-DJbNFHvP-HVPQNsga.js} +15 -15
- package/dist/assets/{SpendManagementPerTabPage-DPxjzKS8-BPBxP33H.js → SpendManagementPerTabPage-J5pIRm-Q-zn5Z_C9i.js} +38 -38
- package/dist/assets/{SpendManagementSection-CA8SwNCI-CvoMroBv.js → SpendManagementSection-DZaP5ai6-BivazJAu.js} +17 -17
- package/dist/assets/{StatementItem-UzV0xHzG-DvTqvxWA.js → StatementItem-D2Fx65LN-DEt1HHDA.js} +6 -6
- package/dist/assets/{StatementsPage-CksjCH5w-DHQ77cv-.js → StatementsPage-BCh51lDW-DEzdN4yP.js} +1 -1
- package/dist/assets/{StatusSwitcher-BDDVmn-K-DeuB9OqT.js → StatusSwitcher-C5ZrzI8Y-RGx-Rq5m.js} +1 -1
- package/dist/assets/{SubTabSwitcher-CMsdXoCD-WAW9EP3o.js → SubTabSwitcher-BXZxKeq9-N3T4zPQn.js} +2 -2
- package/dist/assets/{SummaryCard-B4km1rL_-BMpuE5I6.js → SummaryCard-194UToy6-ZSyhRMcE.js} +1 -1
- package/dist/assets/{TaskManagementPage-CDi3YMVo-BCVU9Q83.js → TaskManagementPage-zcxDUo0t-CfkgE02v.js} +35 -35
- package/dist/assets/{TimeRangeSwitcher-D1boW3u5-CiXr6wR1.js → TimeRangeSwitcher-Bsv7zQmN-0uKzxEGk.js} +11 -11
- package/dist/assets/{TimeframeSwitcher-NWdUWC8r-BeE5s881.js → TimeframeSwitcher-DtxsNy1Z-Dpwd2ynA.js} +6 -6
- package/dist/assets/{TimeframeSwitcherWithToggle-BCRqmVAB-c94605Tu.js → TimeframeSwitcherWithToggle-B5bFhbvL-C0I_F7ow.js} +1 -1
- package/dist/assets/{TopExCard-B7nDaKGC-Bg814R6B.js → TopExCard-CBua66Cj-CBuXuQOS.js} +12 -12
- package/dist/assets/{TopExDetailPage-CFC5Kzob-ujXs8dCt.js → TopExDetailPage-DtMA-XMp-EMAyiYoo.js} +10 -10
- package/dist/assets/{TransactionActivityLogPage-dLfey-Pj-71cBX4RW.js → TransactionActivityLogPage-C3BPL8hi-rjH_p-06.js} +9 -9
- package/dist/assets/{TransactionDetailPage-DUFj8B1S-C57lmiLq.js → TransactionDetailPage-CeKaduBe-gc3Brzcv.js} +35 -35
- package/dist/assets/{TransactionList-BDaoHCk7-RJMTG3DX.js → TransactionList-CSx8ZCZ--BfPEmkgj.js} +12 -12
- package/dist/assets/{TransactionListBig-DxOGEDcA-Bpd7KyjM.js → TransactionListBig-B4cNQY2d-xUQ7gipo.js} +11 -11
- package/dist/assets/TransactionListPage-DHr64V-b-DDnZn40X.js +35 -0
- package/dist/assets/{TransactionVendorDetailPage-CliQXg5L-mqUw7M0R.js → TransactionVendorDetailPage-DsxI8U5b-BIfZV2Ct.js} +7 -7
- package/dist/assets/{TransferDrawerPage-kbzn1dkx-B-gXa4jg.js → TransferDrawerPage-C91TQwZi-B3ongtBQ.js} +34 -34
- package/dist/assets/{TreasuryOverviewPage-j8Dtk2Q8-CYEQwDNB.js → TreasuryOverviewPage-BoBn_gtF-1-z_98qx.js} +48 -48
- package/dist/assets/{TreasuryPromoPage-BlgxNE0U-C8L5Aqll.js → TreasuryPromoPage-CQ-VYEQC-DBZ3Ca-z.js} +17 -17
- package/dist/assets/{TreasuryStatementsPage-Bd70Y2Yv-CGUVJxwW.js → TreasuryStatementsPage-taTRE54D-s03VARjq.js} +1 -1
- package/dist/assets/{TreasuryTaxLetterPage-DL4GDdXJ-ReKQk0DV.js → TreasuryTaxLetterPage-Cxhr51TD-DSRIuJm4.js} +1 -1
- package/dist/assets/{TrendChart-BS6VOoj_-B4CrrKxh.js → TrendChart-DATgAEKG-BGhvWXdf.js} +4 -4
- package/dist/assets/{TrendWithTransactions-DMAMnr7F-BuabV9Xz.js → TrendWithTransactions-DqPFuOvC-Bu3TdK3s.js} +6 -6
- package/dist/assets/{UncategorizedAccountsMappingPage-stLOvAUg-B8dn25ti.js → UncategorizedAccountsMappingPage-BQjXazj4-BOpLaunW.js} +14 -14
- package/dist/assets/{UnitIntegrationPage-D39cXlRw-DGhe8Ell.js → UnitIntegrationPage-BiRGRtpI-DxaSFD1H.js} +6 -6
- package/dist/assets/{UploadAdditionalDocumentOverlay-BmiNa89K-BTN8zH3K.js → UploadAdditionalDocumentOverlay-DCldWCol-B3iVz4fI.js} +1 -1
- package/dist/assets/Vendor2FAPopup-BpkAiYTA-99TJd7nU.js +1 -0
- package/dist/assets/VendorACHDetailsPage-tUuZzJnN-BFUuaQ6q.js +1 -0
- package/dist/assets/{VendorDetailPage-Ck26EgtS-J34I2iWH.js → VendorDetailPage-DY4iaLtz-AjIptjjy.js} +30 -30
- package/dist/assets/VendorDomesticWireDetailsPage-B5Nym5J9-CpOxRXxZ.js +1 -0
- package/dist/assets/{VendorFiling1099EditablePage-PYVQaWMk-IQ6BXnnM.js → VendorFiling1099EditablePage-Dep7O8Uz-Do-rxCWR.js} +38 -38
- package/dist/assets/{VendorFirstReviewPage-hKEEnsZq-Dg2mNc4d.js → VendorFirstReviewPage-CJQIZn8g-DkET_08K.js} +36 -36
- package/dist/assets/{VendorInternationalWireDetailsPage-qv2qL6Xn-cR3M50rU.js → VendorInternationalWireDetailsPage-CJG5RIa2-DsTS-Uh9.js} +15 -15
- package/dist/assets/VendorInternationalWireSwiftDetailsPage-DZabfieM-a851bv0Y.js +1 -0
- package/dist/assets/{VendorsAccountsSection-BeiK6LWK-B3NLg17b.js → VendorsAccountsSection-D65ewlO6-DU6ZIrZA.js} +3 -3
- package/dist/assets/{VerifyDevice-BVtSQLC2-B413l5qj.js → VerifyDevice-B1_jgwgY-DAz-KAtd.js} +3 -3
- package/dist/assets/{VideoPlayer-DcPwSvda-CZGYvE6C.js → VideoPlayer-vWSXteQ6-D5qS5__p.js} +2 -2
- package/dist/assets/{VideoPopup-CSSLhfoi-CggaWf4Q.js → VideoPopup-CdsmU6H4-Du7UVtqu.js} +3 -3
- package/dist/assets/{WarningsDrawerPage-y9CUfPu5-BXiOCc9G.js → WarningsDrawerPage-CjgOsD00-Denf4Sio.js} +9 -9
- package/dist/assets/{ZeniAccountDetailPage-CeL_e1NL-uckQ70j3.js → ZeniAccountDetailPage-DiLnoonB-DZ1tpmUL.js} +30 -30
- package/dist/assets/{ZeniAccountListViewPage-C-rGqw9i-CZZ4qFYr.js → ZeniAccountListViewPage-YfPsO8ls-CfUQiafE.js} +11 -11
- package/dist/assets/{ZeniAccountNavBarPieces-CSy5vlQ--B5sUMcLP.js → ZeniAccountNavBarPieces-CHStBvRa-5ll2dkEQ.js} +3 -3
- package/dist/assets/{ZeniAccountPromoPage-ByNyhhoa-DoFBMtzK.js → ZeniAccountPromoPage-cEfW88p8-BvUDgJZp.js} +12 -12
- package/dist/assets/{ZeniAccountSetupPage-YbvbQFzj-DTMXRwPe.js → ZeniAccountSetupPage-B20DHYex-DsTq1nG1.js} +4 -4
- package/dist/assets/{ZeniCopyright-D5ywJMrC-BNrbqyo3.js → ZeniCopyright-BROHmszx-VivYqHvz.js} +1 -1
- package/dist/assets/{ZeniTransferAmountSlider-CKFCKGRC-Bm4EEGGu.js → ZeniTransferAmountSlider-DZZrrFXf-DAQs85Xb.js} +4 -4
- package/dist/assets/{add-to-wallet-DgdBD8_G-8P7CIdyf.js → add-to-wallet-DgdBD8_G-DBbMptVC.js} +1 -1
- package/dist/assets/{analytics-BgoqoHps.js → analytics-DH2FWXQR.js} +1 -1
- package/dist/assets/analyticsHelper-CeC4SQzK.js +1 -0
- package/dist/assets/{analyticsHelper-nJyKiOwQ-Bz7HQ3Wp.js → analyticsHelper-FJ-cS8qS-Bs47KEMI.js} +1 -1
- package/dist/assets/{arrow-south-east-round-PEovUgvH-PYswqry-.js → arrow-south-east-round-PEovUgvH-DzFpwdLa.js} +1 -1
- package/dist/assets/{auto-transfer-rule-mbafm5D3-jFxp1S6C.js → auto-transfer-rule-mbafm5D3-C9AIqfs3.js} +1 -1
- package/dist/assets/chartTypes-DJdbX13L-BnqLcj4-.js +1 -0
- package/dist/assets/{commonDimensions-Upfg-PB1-BJB9saec.js → commonDimensions-BpYNnQtf-BVrF2eSg.js} +1 -1
- package/dist/assets/commonTypes-BVbA7QjV-rrrVgiRE.js +1 -0
- package/dist/assets/{constants-DwGCeqFm.js → constants-nz8RVtEp.js} +1 -1
- package/dist/assets/{core-B5JTMc-Y.js → core-Be77t6wT.js} +1 -1
- package/dist/assets/{dash.all.min-CALjDmjw.js → dash.all.min-1JaBh8EA.js} +1 -1
- package/dist/assets/{detailCommon-_wEL82NI-CwSBrbUn.js → detailCommon-BRja9H93-BgDpKJS8.js} +5 -5
- package/dist/assets/{downloadPdf-CMFOff-_-CRKBzHJP.js → downloadPdf-WDHjFv79-x1y7Noz9.js} +1 -1
- package/dist/assets/{empty-B_TE5-ZP.js → empty-CVHCqPg8.js} +1 -1
- package/dist/assets/{empty-mBRZ5aW0.js → empty-DqMX1iak.js} +1 -1
- package/dist/assets/epic-upTynnWU.js +2 -0
- package/dist/assets/{gift-box-Cmt9OgIZ-DlDZOX77.js → gift-box-Cmt9OgIZ-hRxp85e2.js} +1 -1
- package/dist/assets/{graphic-no-data-l-DU4J8fDt-DEI87UY9.js → graphic-no-data-l-DU4J8fDt-DdG5b35f.js} +1 -1
- package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-CQMUgr0O.js → graphic-no-data-net-burn-l-CzmycA0m-CRLCiMSY.js} +1 -1
- package/dist/assets/{handshake-BPg58FML-CTRgrDfQ.js → handshake-BPg58FML-Ts-GBzII.js} +1 -1
- package/dist/assets/{index-DtsBa1Px.js → index-BIQvGH1Z.js} +1 -1
- package/dist/assets/{index-CEB0S5G3.js → index-CHDWslZ9.js} +1 -1
- package/dist/assets/{index-BDOnIbbU.js → index-CNJQ6T57.js} +4094 -4048
- package/dist/assets/{index-BCxrNetx.js → index-Cyi12XGG.js} +1 -1
- package/dist/assets/{index-PvEc74OO.js → index-Q1D5afUf.js} +1 -1
- package/dist/assets/{index-CMcDE-0x.js → index-WLQ2kK4T.js} +1 -1
- package/dist/assets/{index-Ddw0lsYO.js → index-gGz0-y9K.js} +1 -1
- package/dist/assets/{lexical-C4hGDQy7.js → lexical-4qH-Yr6_.js} +1 -1
- package/dist/assets/{liveblocks-DXXqIP7n.js → liveblocks-CUDrE-0X.js} +1 -1
- package/dist/assets/{lottie-DruO0Lf9.js → lottie-C5G-hUN3.js} +1 -1
- package/dist/assets/{mapLoadingInProgressToTreeNode-ll9NZ-I4-PX4nSrtX.js → mapLoadingInProgressToTreeNode-C_5Bb47i-KSj20Sfu.js} +1 -1
- package/dist/assets/{mapSectionWithAcOnlyToTreeNode-DcevOSiz-CpiaZ_e5.js → mapSectionWithAcOnlyToTreeNode-BlrJTKah-BOJoZ8nO.js} +1 -1
- package/dist/assets/{mapSpacerToTreeNode-6Qxn340N-B35_Y-l2.js → mapSpacerToTreeNode-DvdWKHfX-D62umWzQ.js} +1 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-88qIN3FA-CB8prKZU.js +1 -0
- package/dist/assets/mapTimeframeBalancesToTreeNode-AkxvYRty-Dd11welj.js +1 -0
- package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-B5MDTbLz-BEBQ7_uD.js +1 -0
- package/dist/assets/{mui-Dn-FysqD.js → mui-DsjrNjDe.js} +1 -1
- package/dist/assets/{page-detail-CWX5S47F-B9Rmi6ZE.js → page-detail-CWX5S47F--SwzhZlk.js} +1 -1
- package/dist/assets/{panelSelectedMixin-CzfD5-Zs-BOU4oLTL.js → panelSelectedMixin-CzfD5-Zs-Cev-MiVu.js} +1 -1
- package/dist/assets/{radio-default-CiSgisfh-CI2BOyaZ.js → radio-default-CiSgisfh-YvmWy399.js} +1 -1
- package/dist/assets/{react-CZCD-bbf.js → react-BCXSKYRr.js} +1 -1
- package/dist/assets/{react-B3mq597j.js → react-BWkra2hE.js} +1 -1
- package/dist/assets/{react-x-g8LEzo.js → react-Bqp70D_u.js} +1 -1
- package/dist/assets/{react-BfeKj8Ah.js → react-CSCeF-Sb.js} +1 -1
- package/dist/assets/{react-CHfBVTZT.js → react-Ci_HLnoa.js} +2 -2
- package/dist/assets/{react-CiMMCOh1.js → react-DL4wn98u.js} +2 -2
- package/dist/assets/{react-BYfEdX_w.js → react-XG3-S5t1.js} +1 -1
- package/dist/assets/{react-B7JtqvO2.js → react-eUpxlpRg.js} +1 -1
- package/dist/assets/{recharts-CprInlbt.js → recharts-CmZa-egc.js} +1 -1
- package/dist/assets/{sentry-7iaVxNzj.js → sentry-9b1mvxJ5.js} +1 -1
- package/dist/assets/{shield-DOlUxcFf-D1oOjbdU.js → shield-DOlUxcFf-B8zzGKQS.js} +1 -1
- package/dist/assets/toCOABalancesWithID-Bq4Xe7az-D4N9dB70.js +1 -0
- package/dist/assets/{toChartData-BpfWXnJ--YGdVm4SB.js → toChartData-B3ouXKAd-thMI2fiV.js} +1 -1
- package/dist/assets/{uploadAttachment-ukKU1LbX-BZiZFUOo.js → uploadAttachment-DNNG-CMy-D87O59Xy.js} +21 -21
- package/dist/assets/{uploadReceipts-Dge0cNF1-COjJQAAp.js → uploadReceipts-Dge0cNF1-C_Z21T_D.js} +1 -1
- package/dist/assets/{url-Zc4cev1o.js → url-BiBhYcFe.js} +1 -1
- package/dist/assets/{url-CDntiqej.js → url-RTB-DW5V.js} +1 -1
- package/dist/assets/{useLongPress-GCK2COYQ-CMas3sgk.js → useLongPress-GCK2COYQ-CsE5mUiU.js} +1 -1
- package/dist/assets/{usp-line-BBd1wKwW-BZQcBi21.js → usp-line-BBd1wKwW-5m5uF-Rf.js} +1 -1
- package/dist/assets/{utils-BV_yqPM7.js → utils-VcZ1Xqjg.js} +1 -1
- package/dist/assets/{zeni-epic-state-CMxzji9D.js → zeni-epic-state-DJX8u9R8.js} +17 -17
- package/dist/index.html +1 -1
- package/package.json +4 -4
- package/dist/assets/AccountInfoPage-BUVWxmzs-BU0QFXPz.js +0 -18
- package/dist/assets/AddAddressForCardDrawer-DlGL-3yf-CEM_OSu4.js +0 -6
- package/dist/assets/AppBasePage-CPdKfb57-CdKaM3Y7.js +0 -71
- package/dist/assets/ApprovalRulesSettingsPage-C8P04Y3s-DdNhWE6a.js +0 -47
- package/dist/assets/BillPayApprovalRuleDetailPage-CKr-k2kC-DLLdfful.js +0 -27
- package/dist/assets/BillingSettingsPage-Bqj_AXGq-B80HR_0l.js +0 -44
- package/dist/assets/BusinessVerificationPage-G8uzN4Ws-Dg4HUFd7.js +0 -138
- package/dist/assets/ChargeCardPromoPage-B4yj7KP9-9bE0RFY5.js +0 -222
- package/dist/assets/CompanyOfficerDetailsSection-1BDesjjs-CGxHxKUo.js +0 -260
- package/dist/assets/CompanyPassportPage-DPNROicI-DkVd0IVN.js +0 -574
- package/dist/assets/ConfettiBurst-BUf7AIFk-dPsmZWRd.js +0 -1
- package/dist/assets/CustomerOnboardingContainerPage-ihPd9hEn-DodGm-su.js +0 -1
- package/dist/assets/CustomerOnboardingNoStepsPage-zMwJiFSO-Ca3ln1bs.js +0 -66
- package/dist/assets/EditPeoplePage-D-vaUQbG-Bt1U4fZO.js +0 -55
- package/dist/assets/EntityDetailPage-B2Tmq0cV-iHRdD8Pd.js +0 -18
- package/dist/assets/InsightsSection-Ldcdpf_t-BcIZl-SB.js +0 -27
- package/dist/assets/InternationalWireVerificationPage-mHew9ruS-CuqmXfkC.js +0 -292
- package/dist/assets/InvitePeoplePage-y0gl_wqg-Bpnr6fsx.js +0 -12
- package/dist/assets/LabeledControlledCheckBoxField-CkG-jIW7-BnIEsD6z.js +0 -16
- package/dist/assets/LabeledDocumentField-ffpHZV4a-B_2ABBG3.js +0 -41
- package/dist/assets/MagicLinkACHDetailsPage-DIpNQrGA-BqjoWUr8.js +0 -1
- package/dist/assets/MagicLinkDomesticWireDetailsPage-B9wywDCI-EJ8yrlbL.js +0 -1
- package/dist/assets/MagicLinkSuccessPage-RQtS7ohy-5LyL6Vux.js +0 -31
- package/dist/assets/NoDataChart-Dm8c31gV-Bqmql54J.js +0 -26
- package/dist/assets/NoDataTable-BLcYAK9T-wg_yL59b.js +0 -8
- package/dist/assets/OverlayContainerPage-D4QU0p4o-BX1xnMzK.js +0 -11
- package/dist/assets/PaymentAccountSetupBillingAddressSection-ChGcOYcG-CO6Awyg6.js +0 -107
- package/dist/assets/ReimbursementApprovalRuleDetailPage-BScdJYcI-bNfeq7vv.js +0 -32
- package/dist/assets/SignInScreen-C3Ba0wdc.js +0 -1
- package/dist/assets/TransactionListPage-4nFAQM97-ClFT8B5K.js +0 -35
- package/dist/assets/Vendor2FAPopup-Cn7Bst-t-DMIJpNIO.js +0 -1
- package/dist/assets/VendorACHDetailsPage-yJs4pSeb-BHrP3K1V.js +0 -1
- package/dist/assets/VendorDomesticWireDetailsPage-BZatg69M-Dhf3MU0Y.js +0 -1
- package/dist/assets/VendorInternationalWireSwiftDetailsPage-Co_Kax4L-J_6dAVTd.js +0 -1
- package/dist/assets/analyticsHelper-CuUU34nx.js +0 -1
- package/dist/assets/chartTypes-BKexR59e-B1u-Nki8.js +0 -1
- package/dist/assets/epic-VnsPu9_V.js +0 -2
- package/dist/assets/mapTimeframeBalancesToTreeNode-BlKa4mAP-yheruBM4.js +0 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-tYVPqkGh-BqdeYyQR.js +0 -1
- package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-C92aroSy-EW-HNrEx.js +0 -1
- package/dist/assets/toCOABalancesWithID-DtqUradx-DwvWuPd5.js +0 -1
|
@@ -0,0 +1,417 @@
|
|
|
1
|
+
import{J as B,d as gt,aQ as bt,a9 as wt,cF as $t,F as T,V as t,bC as It,ac as Ot,cG as St,aR as jt,y as g,cH as nt,cI as Dt,x as vt,o,al as Ie,cJ as st,cK as E,cL as qe,cM as Y,cN as ae,p as L,cO as $e,b1 as ye,cP as rt,cQ as Ft,cR as Ct,cS as dt,aw as kt,cT as Nt,cU as ct,cV as Lt,cW as Tt,cX as Pt,cY as zt,cZ as Vt,bs as Et,aT as At,b9 as K,ai as Oe,u as I,r as Ue,c_ as Mt,aD as Wt,c$ as Bt,ci as _t,d0 as Rt,am as Yt,d1 as qt}from"./index-CNJQ6T57.js";import{a as Z,P as Ut}from"./sentry-9b1mvxJ5.js";import{n as s,a as Zt,k as Ht}from"./mui-DsjrNjDe.js";import{Fk as Jt,bj as pt,bL as Gt,bh as Pe,bC as Qt,Fl as Kt}from"./zeni-epic-state-DJX8u9R8.js";import{I as ut}from"./LabeledCreatableSingleSelectField-BPX2Nrlf-VQgMHUfl.js";import{Y as mt}from"./LabeledDocumentField-Bjg8sNsg-C-PR2ZST.js";import{p as Xt,i as eo,t as to}from"./commonTypes-BVbA7QjV-rrrVgiRE.js";import{b as oo}from"./LabeledCountryMultiSelectField-XeBih_-f-O6Y-iu_1.js";import{d as ft}from"./LabeledMultiSelectField-Di9Wnifv-CqQm8lOX.js";import{$ as ht}from"./LabeledAddressValue-C4fnQSyi-BYyUYLsR.js";import"./liveblocks-CUDrE-0X.js";import"./core-Be77t6wT.js";import"./recharts-CmZa-egc.js";import"./lottie-C5G-hUN3.js";import"./analytics-DH2FWXQR.js";import"./lexical-4qH-Yr6_.js";import"./utils-VcZ1Xqjg.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},i=new e.Error().stack;i&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[i]="b389e9cd-5038-4e67-8773-a81b36fafd75",e._sentryDebugIdIdentifier="sentry-dbid-b389e9cd-5038-4e67-8773-a81b36fafd75")}catch{}})();const yt={maxWidth:new g(280,340),contentMaxWidth:new g(200,255)},lo=Ht`
|
|
2
|
+
0% {
|
|
3
|
+
transform: translateX(100%)
|
|
4
|
+
}
|
|
5
|
+
100% {
|
|
6
|
+
transform: translateX(0)
|
|
7
|
+
}
|
|
8
|
+
`,ao=s.div`
|
|
9
|
+
position: fixed;
|
|
10
|
+
top: ${o.sp3};
|
|
11
|
+
right: ${o.sp3};
|
|
12
|
+
z-index: 1400;
|
|
13
|
+
padding: ${o.sp3} ${o.sp4};
|
|
14
|
+
max-width: ${e=>yt.maxWidth.valuePx(e.windowSize)};
|
|
15
|
+
background: ${e=>e.theme.colors.black};
|
|
16
|
+
border-radius: 12px;
|
|
17
|
+
box-shadow: ${e=>`${o.sp0} ${o.sp1} ${o.sp1} ${e.theme.colors.dropShadowNormal}`};
|
|
18
|
+
display: flex;
|
|
19
|
+
flex-direction: row;
|
|
20
|
+
justify-content: center;
|
|
21
|
+
align-items: flex-start;
|
|
22
|
+
animation: ${lo} 0.4s;
|
|
23
|
+
`,io=s(zt)`
|
|
24
|
+
margin-top: 2px;
|
|
25
|
+
width: ${o.sp4};
|
|
26
|
+
height: ${o.sp4};
|
|
27
|
+
color: ${L.successDark};
|
|
28
|
+
`,no=s(Vt)`
|
|
29
|
+
margin-top: 2px;
|
|
30
|
+
width: ${o.sp4};
|
|
31
|
+
height: ${o.sp4};
|
|
32
|
+
color: ${L.important};
|
|
33
|
+
`,so=s.div`
|
|
34
|
+
margin-top: ${o.sp1};
|
|
35
|
+
`,ro=s(At)`
|
|
36
|
+
color: ${L.neutralGrey2Light};
|
|
37
|
+
`,co=s.div`
|
|
38
|
+
max-width: ${e=>yt.contentMaxWidth.valuePx(e.windowSize)};
|
|
39
|
+
margin: ${o.sp0} ${o.sp3};
|
|
40
|
+
`,po=s(Et)`
|
|
41
|
+
color: ${e=>e.isSuccess?L.success:L.important};
|
|
42
|
+
`,uo=s.div`
|
|
43
|
+
width: ${o.sp3};
|
|
44
|
+
height: ${o.sp3};
|
|
45
|
+
cursor: pointer;
|
|
46
|
+
color: ${e=>e.theme.colors.hero};
|
|
47
|
+
&:hover {
|
|
48
|
+
color: ${L.primaryDark};
|
|
49
|
+
}
|
|
50
|
+
`,mo=e=>{const i=T.getLocalizedStrings().companyPassport.snackBar;return e==="Error"?i.failedText:i.successText};function fo(e){const i=B(),{fetchState:h,onRemoveSnackbar:a}=e;Z.useEffect(()=>{setTimeout(a,5e3)});const d=T.getLocalizedStrings().companyPassport.snackBar,l=h==="Completed";return t.jsxs(ao,{windowSize:i,children:[l?t.jsx(io,{}):t.jsx(no,{}),t.jsxs(co,{windowSize:i,children:[t.jsx(po,{isSuccess:l,children:l?d.success:d.error}),t.jsx(so,{children:t.jsx(ro,{children:mo(h)})})]}),t.jsx(uo,{onClick:a,children:t.jsx(vt,{})})]})}const xe={labelWidth:new g(110,145,180),largeLabelWidth:new g(150,215,215),largeLabelDocumentWidth:new g(150,210,252),paddingBottom:new g(I[3],I[2])};function ho(e){const i=B(),[h,a]=Z.useState(!1),{companyPassport:d,commonSetUp:{businessVerification:l},common:{documents:n}}=T.getLocalizedStrings(),{fileProps:p,companyFiles:y,deleteFileStatusById:$,updateFileStatusById:r,sectionId:c,isDisabled:b,companyIncInfo:j,style:u}=e,A=xe.labelWidth.value(i),C=xe.largeLabelWidth.value(i),O=xe.largeLabelDocumentWidth.value(i),{dateFormat:{visual:v},companyPassport:D}=T.getLocalizedStrings(),w=y.find(H=>H.documentType==="certificate_of_incorporation"),_=i==="small"?d.companyIncInfo.stateOfIncPlaceholderSmall:d.companyIncInfo.stateOfIncPlaceholder,se=i==="small"?d.companyIncInfo.typeOfIncPlaceholderSmall:d.companyIncInfo.typeOfIncPlaceholder;return t.jsxs(yo,{style:u,children:[t.jsx(go,{children:d.companyIncInfo.title}),t.jsxs(xo,{children:[t.jsx(ut,{label:{label:D.companyIncInfo.typeOfInc,width:C},isDisabled:b,creatableSingleSelectField:{name:ge(c,"typeOfInc"),placeholder:se,defaultValue:{selectedOption:j?.typeOfInc,allOptions:d.companyIncInfo.allTypesOfIncorporation}}}),t.jsx(Ce,{}),t.jsx(Ft,{label:{label:D.companyIncInfo.stateOfInc,width:C},isDisabled:b,singleSelectField:{name:ge(c,"stateOfInc"),placeholder:_,defaultValue:{selectedOption:j?.stateOfInc,allOptions:d.companyIncInfo.allStatesOfIncorporation}}}),t.jsx(Ce,{}),t.jsx(Ct,{isDisabled:b,label:{label:d.companyIncInfo.incDate,width:A},style:{paddingBottom:xe.paddingBottom.valuePx(i)},dateField:{name:ge(c,"incDate"),placeholder:Y(d.companyIncInfo.incDate),defaultValue:j?.incDate,dateFormat:v.defaultInput,maxDate:Pe(),minDate:Gt("01 Jan 1900"),autoComplete:"off"}}),t.jsx(Ce,{}),t.jsx(mt,{name:ge(c,"certificateOfIncorporation"),isDisabled:b,sizeLimit:dt,deleteFileStatusById:$,updateFileStatusById:r,filesEndPoint:p.filesEndPoint,authParams:p.authParams,label:{label:l.certificateOfIncorporation,width:O},filemetadataPayload:{documentType:"certificate_of_incorporation",purposeId:"business_verification",documentSide:"front"},file:w,acceptableTypes:["image/jpg","image/jpeg","image/png","application/pdf","image/heic","image/heif"],registerOptions:{required:!1},hasError:h,updateFilesEntity:p.updateFilesEntity,onEditFileName:p.onEditFileName,onDeleteFile:p.onDeleteFile,onFileSizeError:H=>a(H)}),t.jsx(bo,{windowSize:i,isError:h,children:n.formatDocumentText10MB})]})]})}const ge=(e,i)=>`${e}.${i}`,yo=s.div`
|
|
51
|
+
display: flex;
|
|
52
|
+
flex-direction: column;
|
|
53
|
+
padding-top: ${o.sp3};
|
|
54
|
+
padding-bottom: ${o.sp9};
|
|
55
|
+
`,xo=s.div`
|
|
56
|
+
display: flex;
|
|
57
|
+
flex-direction: column;
|
|
58
|
+
background-color: ${e=>e.theme.colors.grey5};
|
|
59
|
+
border: 1px solid ${e=>e.theme.colors.grey3};
|
|
60
|
+
box-shadow: ${e=>`${o.sp0} 2px ${o.sp1} ${e.theme.colors.dropShadowNormal}`};
|
|
61
|
+
border-radius: ${o.sp2};
|
|
62
|
+
`,go=s(K)`
|
|
63
|
+
color: ${e=>e.theme.colors.champion};
|
|
64
|
+
margin-bottom: ${o.sp3};
|
|
65
|
+
`,Ce=s.div`
|
|
66
|
+
display: flex;
|
|
67
|
+
flex: 1;
|
|
68
|
+
background-color: ${e=>e.theme.colors.grey3};
|
|
69
|
+
min-height: 1px;
|
|
70
|
+
max-height: 1px;
|
|
71
|
+
`,bo=s(Oe)`
|
|
72
|
+
padding: ${o.sp1} ${o.sp4};
|
|
73
|
+
background: ${e=>e.theme.colors.grey4};
|
|
74
|
+
border-radius: ${o.sp0} ${o.sp0} ${o.sp2} ${o.sp2};
|
|
75
|
+
text-align: ${e=>e.windowSize==="small"?"initial":"right"};
|
|
76
|
+
color: ${e=>e.isError?L.important:e.theme.colors.grey1};
|
|
77
|
+
`,wo=s(Rt)`
|
|
78
|
+
color: ${e=>e.theme.colors.primary};
|
|
79
|
+
margin-block-start: ${o.sp0};
|
|
80
|
+
margin-block-end: ${o.sp0};
|
|
81
|
+
padding: 0 ${o.sp3};
|
|
82
|
+
text-align: right;
|
|
83
|
+
list-style-position: inside;
|
|
84
|
+
`,$o=s.li`
|
|
85
|
+
text-decoration: ${e=>e.isCancelled?"line-through":"unset"};
|
|
86
|
+
`,Io=s(Yt)`
|
|
87
|
+
color: ${e=>e.theme.colors.grey1};
|
|
88
|
+
border-radius: ${o.sp1};
|
|
89
|
+
border: 1px solid ${e=>e.theme.colors.grey2};
|
|
90
|
+
padding: 1px 6px 1px 6px;
|
|
91
|
+
width: fit-content;
|
|
92
|
+
margin-left: auto;
|
|
93
|
+
margin-bottom: ${o.sp2};
|
|
94
|
+
`,Oo=e=>{const{labels:i,style:h,listStyleType:a="disc"}=e;return t.jsx(wo,{style:{...h,listStyleType:a},children:i.filter(d=>d!=null&&d.text!="").map((d,l)=>t.jsxs($o,{isCancelled:d.status==="cancelled",children:[d.text,d.subText!=null?t.jsxs(Io,{children:["Started: ",d.subText]}):null]},`${d.text}_${l}`))})},ne={width:new g(343,580,726),paddingTopBottom:new g(I[3],I[3]),marginRight:new g(I[2],I[2]),labelMarginLeft:new g(I[3],I[4]),labelMarginRight:new g(I[3],I[4])};function we({isDisabled:e,label:i,bullettedLabels:h,style:a}){const d=B();return h.labels.length>0?t.jsxs(So,{size:d,style:a,children:[t.jsx($e,{isDisabled:e,label:i.label,style:{marginLeft:ne.labelMarginLeft.value(d),marginRight:ne.labelMarginRight.value(d),width:i.width??"auto"}}),t.jsx(Oo,{...h,style:{maxWidth:i.width!=null?`calc(100% - ${i.width}px)`:"auto"}})]}):null}const So=s.div`
|
|
95
|
+
display: flex;
|
|
96
|
+
flex-direction: row;
|
|
97
|
+
align-items: flex-start;
|
|
98
|
+
justify-content: space-between;
|
|
99
|
+
background-color: ${e=>e.theme.colors.grey5};
|
|
100
|
+
width: ${e=>ne.width.valuePx(e.size)};
|
|
101
|
+
height: auto;
|
|
102
|
+
padding-right: ${e=>ne.marginRight.valuePx(e.size)};
|
|
103
|
+
padding-top: ${e=>ne.paddingTopBottom.valuePx(e.size)};
|
|
104
|
+
padding-bottom: ${e=>ne.paddingTopBottom.valuePx(e.size)};
|
|
105
|
+
|
|
106
|
+
:first-of-type {
|
|
107
|
+
border-top-left-radius: inherit;
|
|
108
|
+
border-top-right-radius: inherit;
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
:last-of-type {
|
|
112
|
+
border-bottom-left-radius: inherit;
|
|
113
|
+
border-bottom-right-radius: inherit;
|
|
114
|
+
}
|
|
115
|
+
`,ue={labelWidth:new g(110,110,140),mediumLabelWidth:new g(140,140,160),largeLabelWidth:new g(170,170,180),extraLargeLabelWidth:new g(200,250,300),regulatedStatusMaxWidth:new g(343,580,726)},f=T.getLocalizedStrings().commonSetUp.businessVerification,Ze=f.companySourceOfFundOptions,jo=T.getLocalizedStrings(),{companyPassport:F,dateFormat:{analytics:He},common:{yes:Je,no:Ge}}=jo;function Do({companyViewData:e,allIndustries:i,allNationalityCountries:h,companyInfo:a,companyAddress:d,sectionId:l,isDisabled:n,isCompanyVerified:p,onCompanyAddressClick:y,style:$}){const r=B(),c=Zt(),{watch:b,setValue:j,formState:{errors:u}}=st(),A=e.company.company.companyInfo,C=!(p===!0&&a?.companySubIndustry==null)&&!(n!=null&&a?.companySubIndustry==null),O=!(p===!0&&(a?.countriesOfOperations==null||a?.countriesOfOperations.length===0))&&!(n!=null&&a?.countriesOfOperations==null),v=!(p===!0&&a?.transactionVolume==null)&&!(n!=null&&a?.transactionVolume==null),D=!(p===!0&&a?.regulatedStatus==null)&&!(n!=null&&a?.regulatedStatus==null),w=!(p===!0&&a?.usNexus==null)&&!(n!=null&&a?.usNexus==null),_=!(p===!0&&(a?.purposeOfAccount==null||a?.purposeOfAccount.length===0))&&!(n!=null&&a?.purposeOfAccount==null),se=!(p===!0&&(a?.companySourceOfFunds==null||a?.companySourceOfFunds.length===0))&&!(n!=null&&a?.companySourceOfFunds==null),H=b(x(l,"companySourceOfFunds")),Se=b(x(l,"transactionVolume")),je=b(x(l,"regulatedStatus")),J=b(x(l,"usNexus")),U=b(x(l,"purposeOfAccount")),me=m=>Ze[m]??m,re=f.transactionVolumeOptions,X=m=>re[m]??m,de=f.usNexusOptions,G=m=>de[m]??m,ee=Object.values(de),De=(a?.usNexusTypes??[]).map(G),fe=f.purposeOfAccountOptions,ve=m=>fe[m]??m,V=ue.labelWidth.value(r),te=ue.mediumLabelWidth.value(r),W=ue.largeLabelWidth.value(r),Q=ue.extraLargeLabelWidth.value(r),oe=r==="small"?F.companyInfo.businessModelPlaceholderSmall:F.companyInfo.businessModelPlaceholder,R=m=>i.find(z=>z.code===m)?.name??m,ce=b(x(l,"industry")),Fe=f.companyIndustryOptions??{},le=m=>Fe[m]??m,he=f.companySubIndustryOptions??{},P=m=>{if(m==null||m==="")return[];const z=he[m];return z!=null?Object.keys(z):[]},S=m=>{const z=ce?.selectedOption;return z==null||z===""?m:he[z]?.[m]??m},k=m=>{j(x(l,"subIndustry"),{selectedOption:void 0,allOptions:P(m)})},N=ce?.selectedOption??a?.industry;return t.jsxs(Fo,{style:$,children:[t.jsx(ko,{children:F.companyInfo.title}),t.jsxs(Co,{children:[t.jsx(E,{isDisabled:n,label:{label:F.companyInfo.companyName,width:W},text:{type:"text",name:x(l,"companyName"),placeholder:Y(F.companyInfo.companyName),defaultValue:a?.companyName,autoComplete:"new-password",options:{required:!!A.name,pattern:qe}}}),t.jsx(M,{}),t.jsx(E,{isDisabled:n,label:{label:F.companyInfo.legalName,width:te},text:{type:"text",name:x(l,"legalName"),placeholder:Y(F.companyInfo.legalName),defaultValue:a?.legalName,autoComplete:"new-password",options:{required:!!A.companyLegalName,pattern:qe}}}),t.jsx(M,{}),t.jsx(E,{isDisabled:n,label:{label:F.companyInfo.website,width:V},text:{type:"url",name:x(l,"website"),placeholder:Y(F.companyInfo.website),defaultValue:a?.website?.toString()??"",autoComplete:"new-password"}}),t.jsx(M,{}),C?t.jsx(t.Fragment,{children:t.jsxs(No,{"data-suppress-hover":n!=null?!0:void 0,children:[t.jsx(ae,{label:{label:f.companyIndustryLabel,width:V},singleSelectField:{singleSelect:{name:x(l,"industry"),placeholder:f.companyIndustryPlaceholder,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:le,isDisabled:n,showTickMark:!0,sortOptions:!1},defaultValue:{selectedOption:a?.industry,allOptions:Object.keys(f.companyIndustryOptions)},onSelectChange:k},isFunctional:!0,errorInfoLabel:f.companyIndustryError.replace("_product_type_","company"),style:{padding:0,margin:0,outline:"none",paddingRight:o.sp2}}),N!=null&&t.jsx(ae,{label:{label:"",width:0,style:{marginRight:0}},singleSelectField:{singleSelect:{name:x(l,"subIndustry"),placeholder:f.companySubIndustryPlaceholder,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:S,isDisabled:n,showTickMark:!0,sortOptions:!1},defaultValue:{selectedOption:a?.companySubIndustry,allOptions:P(ce?.selectedOption)}},isFunctional:!0,keepFocusedStyle:!0,errorInfoLabel:f.companySubIndustryError.replace("_product_type_","company"),additionalInfoLabel:n==null?f.companyIndustryAdditionalInfo:void 0,additionalInfoStyle:{color:c.colors.hero},style:{outline:"none",paddingBottom:o.sp0,width:"100%"}})]})}):t.jsx(ae,{label:{label:F.companyInfo.industry,width:V},singleSelectField:{singleSelect:{name:x(l,"industry"),placeholder:F.companyInfo.industryPlaceholder,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:R,isDisabled:n,showTickMark:!0},defaultValue:{selectedOption:a?.industry,allOptions:i?.map(m=>m.code)??[]}},isFunctional:!0}),t.jsx(M,{}),t.jsx(ut,{isDisabled:n,label:{label:F.companyInfo.businessModel,width:W},creatableSingleSelectField:{name:x(l,"businessModel"),placeholder:oe,defaultValue:{selectedOption:a?.businessModel,allOptions:F.companyInfo.allBusinessModels}}}),O&&t.jsxs(t.Fragment,{children:[t.jsx(M,{}),t.jsx(oo,{label:{label:f.countriesOfOperationsLabel,width:W},isDisabled:n,additionalInfoLabel:n==null?f.countriesOfOperationsAdditionalInfo:void 0,multiSelectField:{name:x(l,"countriesOfOperations"),placeholder:f.countriesOfOperationsPlaceholder,defaultValue:nt(a?.countriesOfOperations,(h??[]).map(m=>m.countryCode))}})]}),se&&t.jsxs(t.Fragment,{children:[t.jsx(M,{}),t.jsx(ae,{label:{label:f.companySourceOfFundsLabel,width:W},singleSelectField:{singleSelect:{name:x(l,"companySourceOfFunds"),placeholder:f.companySourceOfFundsPlaceholder,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:me,isDisabled:n,showTickMark:!0,sortOptions:!1},defaultValue:{selectedOption:a?.companySourceOfFunds,allOptions:Object.keys(Ze)}},isFunctional:!0,additionalContent:Xt.includes(H?.selectedOption)?t.jsx(E,{isDisabled:n,showAdditionalInfoLabel:!1,label:{label:"",width:0,style:{marginRight:0,marginTop:0,marginBottom:0}},text:{type:"text",name:x(l,"companySourceOfFundsDescription"),placeholder:f.descriptionPlaceholder,style:{backgroundColor:u[l]!=null&&u[l]?.companySourceOfFundsDescription!=null?L.importantLight:c.colors.background},options:{}},additionalInfoLabel:f.companySourceOfFundsDescriptionError,style:{position:"relative",top:0,left:-W,marginLeft:0,outline:"none"}}):null,additionalInfoLabel:n!=null||u[l]!=null&&u[l]?.companySourceOfFundsDescription!=null?void 0:f.companySourceOfFundsAdditionalInfo,additionalInfoStyle:{color:c.colors.hero}})]}),v&&t.jsxs(t.Fragment,{children:[t.jsx(M,{}),t.jsx(ae,{label:{label:f.transactionVolumeLabel,width:Q},singleSelectField:{singleSelect:{name:x(l,"transactionVolume"),placeholder:f.transactionVolumePlaceholder,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:X,isDisabled:n,showTickMark:!0,sortOptions:!1},defaultValue:{selectedOption:a?.transactionVolume,allOptions:Object.keys(re)}},isFunctional:!0,additionalContent:eo.includes(Se?.selectedOption)?t.jsx(E,{isDisabled:n,showAdditionalInfoLabel:!1,label:{label:"",width:0,style:{marginRight:0,marginTop:0,marginBottom:0}},text:{type:"text",name:x(l,"transactionVolumeDescription"),placeholder:f.descriptionPlaceholder,style:{backgroundColor:u[l]!=null&&u[l]?.transactionVolumeDescription!=null?L.importantLight:c.colors.background},options:{}},additionalInfoLabel:f.transactionVolumeDescriptionError,style:{position:"relative",top:0,left:-Q,marginLeft:0,outline:"none"}}):null,additionalInfoLabel:n!=null||u[l]!=null&&u[l]?.transactionVolumeDescription!=null?void 0:f.transactionVolumeAdditionalInfo,additionalInfoStyle:{color:c.colors.hero}})]}),D&&t.jsxs(t.Fragment,{children:[t.jsx(M,{}),t.jsxs(Qe,{windowSize:r,"data-suppress-hover":n!=null?!0:void 0,children:[t.jsxs(Ke,{children:[t.jsx($e,{label:f.regulatedStatusLabel,htmlFor:x(l,"regulatedStatus"),isDisabled:n,style:{width:W,color:n==="disabled"?c.colors.grey1:c.colors.hero}}),t.jsxs(Xe,{labelWidth:W,windowSize:r,children:[t.jsx(ye,{label:{label:Je},style:{paddingRight:`${o.sp4}`,width:"auto"},radioField:{name:x(l,"regulatedStatus"),id:`${x(l,"regulatedStatus")}.yes`,value:"yes",style:{height:`${o.sp3}`,width:`${o.sp3}`},radioSize:"small"},isDisabled:n,isContainerClickable:!0}),t.jsx(ye,{label:{label:Ge},style:{width:"auto"},radioField:{name:x(l,"regulatedStatus"),id:`${x(l,"regulatedStatus")}.no`,value:"no",style:{height:`${o.sp3}`,width:`${o.sp3}`},radioSize:"small"},isDisabled:n,isContainerClickable:!0})]})]}),je==="yes"&&t.jsx(E,{isDisabled:n,showAdditionalInfoLabel:!1,label:{label:"",width:0,style:{marginRight:0,marginTop:0,marginBottom:0,marginLeft:0}},text:{type:"text",name:x(l,"regulatedStatusDescription"),placeholder:f.regulatedStatusDescriptionPlaceholder,style:{backgroundColor:u[l]!=null&&u[l]?.regulatedStatusDescription!=null?L.importantLight:c.colors.background},options:{}},additionalInfoLabel:f.regulatedStatusDescriptionError,style:{outline:"none",width:"100%",padding:0}}),u[l]!=null&&u[l]?.regulatedStatus!=null?t.jsx(ke,{windowSize:r,children:f.regulatedStatusError.replace("_product_type_","company details")}):u[l]!=null&&u[l]?.regulatedStatusDescription!=null?null:n==null?t.jsx(et,{windowSize:r,children:f.regulatedStatusAdditionalInfo}):null]})]}),w&&t.jsxs(t.Fragment,{children:[t.jsx(M,{}),t.jsxs(Qe,{windowSize:r,"data-suppress-hover":n!=null?!0:void 0,children:[t.jsxs(Ke,{children:[t.jsx($e,{label:f.usNexusLabel,htmlFor:x(l,"usNexus"),isDisabled:n,style:{width:W,color:n==="disabled"?c.colors.grey1:c.colors.hero}}),t.jsxs(Xe,{labelWidth:W,windowSize:r,children:[t.jsx(ye,{label:{label:Je},style:{paddingRight:`${o.sp4}`,width:"auto"},radioField:{name:x(l,"usNexus"),id:`${x(l,"usNexus")}.yes`,value:"yes",style:{height:`${o.sp3}`,width:`${o.sp3}`},radioSize:"small"},isDisabled:n,isContainerClickable:!0}),t.jsx(ye,{label:{label:Ge},style:{width:"auto"},radioField:{name:x(l,"usNexus"),id:`${x(l,"usNexus")}.no`,value:"no",style:{height:`${o.sp3}`,width:`${o.sp3}`},radioSize:"small"},isDisabled:n,isContainerClickable:!0})]})]}),J==="yes"&&t.jsxs(t.Fragment,{children:[t.jsx(Lo,{hasError:u[l]!=null&&u[l]?.usNexusTypes!=null,children:t.jsx(ft,{isDisabled:n,label:{label:"",width:0,style:{marginRight:0,marginTop:0,marginBottom:0,marginLeft:0}},multiSelectField:{name:x(l,"usNexusTypes"),placeholder:f.usNexusPlaceholder,defaultValue:{selectedOptions:De,allOptions:ee},registerOptions:{required:n==null,shouldUnregister:!0,validate:m=>{const z=m?.selectedOptions;return z!=null&&z.length>0}}},style:{outline:"none",margin:0,padding:0,width:"100%"}})}),u[l]!=null&&u[l]?.usNexusTypes!=null&&t.jsx(ke,{windowSize:r,children:f.usNexusTypesError})]}),u[l]!=null&&u[l]?.usNexus!=null?t.jsx(ke,{windowSize:r,children:f.usNexusError.replace("_product_type_","company details")}):u[l]!=null&&u[l]?.usNexusTypes!=null?null:n==null?t.jsx(et,{windowSize:r,children:f.usNexusAdditionalInfo}):null]})]}),_&&t.jsxs(t.Fragment,{children:[t.jsx(M,{}),t.jsx(ae,{label:{label:f.purposeOfAccountLabel,width:Q},singleSelectField:{singleSelect:{name:x(l,"purposeOfAccount"),placeholder:f.purposeOfAccountPlaceholder,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:ve,isDisabled:n,showTickMark:!0,sortOptions:!1},defaultValue:{selectedOption:a?.purposeOfAccount,allOptions:Object.keys(fe)}},isFunctional:!0,additionalContent:to.includes(U?.selectedOption)?t.jsx(E,{isDisabled:n,showAdditionalInfoLabel:!1,label:{label:"",width:0,style:{marginRight:0,marginTop:0,marginBottom:0}},text:{type:"text",name:x(l,"purposeOfAccountDescription"),placeholder:f.descriptionPlaceholder,style:{backgroundColor:u[l]!=null&&u[l]?.purposeOfAccountDescription!=null?L.importantLight:c.colors.background},options:{}},additionalInfoLabel:f.purposeOfAccountDescriptionError,style:{position:"relative",top:0,left:-Q,marginLeft:0,outline:"none"}}):null,additionalInfoLabel:n!=null||u[l]!=null&&u[l]?.purposeOfAccountDescription!=null?void 0:f.purposeOfAccountAdditionalInfo,additionalInfoStyle:{color:c.colors.hero}})]}),t.jsx(M,{}),t.jsx(ht,{isDisabled:n,label:{label:F.companyInfo.address,width:V},addressValue:{placeholder:Y(F.companyInfo.address),address:d?.addressToCreate,onClick:()=>y("company_address")}}),t.jsx(M,{}),t.jsx(rt,{isDisabled:n,label:{label:F.companyInfo.phone,width:V},text:{name:x(l,"phone"),placeholder:Y(F.companyInfo.phone),defaultValue:a?.phone,autoComplete:"new-password"}}),t.jsx(M,{}),t.jsx(we,{label:{label:F.companyInfo.fiscalYear,width:V},bullettedLabels:{labels:[{text:vo(a?.firstMonthOfFY??1)}],listStyleType:"none"}})]})]})}const vo=e=>{const{fiscalYearMonths:i}=Kt(e);return`${Pe().month(i[0]-1).format(He.MMMFormat)} to ${Pe().month(i[11]-1).format(He.MMMFormat)}`},x=(e,i)=>`${e}.${i}`,Fo=s.div`
|
|
116
|
+
display: flex;
|
|
117
|
+
flex-direction: column;
|
|
118
|
+
padding-top: ${o.sp3};
|
|
119
|
+
padding-bottom: ${o.sp9};
|
|
120
|
+
`,Co=s.div`
|
|
121
|
+
display: flex;
|
|
122
|
+
flex-direction: column;
|
|
123
|
+
background-color: ${e=>e.theme.colors.grey5};
|
|
124
|
+
border: 1px solid ${e=>e.theme.colors.grey3};
|
|
125
|
+
box-shadow: ${e=>`${o.sp0} 2px ${o.sp1} ${e.theme.colors.dropShadowNormal}`};
|
|
126
|
+
border-radius: ${o.sp2};
|
|
127
|
+
`,ko=s(K)`
|
|
128
|
+
color: ${e=>e.theme.colors.champion};
|
|
129
|
+
margin-bottom: ${o.sp3};
|
|
130
|
+
`,M=s.div`
|
|
131
|
+
display: flex;
|
|
132
|
+
flex: 1;
|
|
133
|
+
background-color: ${e=>e.theme.colors.grey3};
|
|
134
|
+
min-height: 1px;
|
|
135
|
+
max-height: 1px;
|
|
136
|
+
`,No=s.div`
|
|
137
|
+
display: flex;
|
|
138
|
+
flex-direction: column;
|
|
139
|
+
padding: ${o.sp2} ${o.sp0} ${o.sp2} ${o.sp0};
|
|
140
|
+
background-color: inherit;
|
|
141
|
+
&:hover {
|
|
142
|
+
z-index: 1;
|
|
143
|
+
outline: 1px solid ${e=>e.theme.colors.primary};
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
&[data-suppress-hover="true"]:hover {
|
|
147
|
+
outline: none;
|
|
148
|
+
}
|
|
149
|
+
&[data-suppress-hover="true"] .select-control:hover {
|
|
150
|
+
background-color: ${e=>e.theme.colors.grey5};
|
|
151
|
+
}
|
|
152
|
+
&[data-suppress-hover="true"] > div:hover {
|
|
153
|
+
outline: none;
|
|
154
|
+
background-color: inherit;
|
|
155
|
+
}
|
|
156
|
+
`,Qe=s.div`
|
|
157
|
+
display: flex;
|
|
158
|
+
flex-direction: column;
|
|
159
|
+
width: ${e=>ue.regulatedStatusMaxWidth.valuePx(e.windowSize)};
|
|
160
|
+
background-color: ${e=>e.theme.colors.grey5};
|
|
161
|
+
padding: ${o.sp2} ${o.sp2} ${o.sp2} ${o.sp4};
|
|
162
|
+
&:hover {
|
|
163
|
+
z-index: 1;
|
|
164
|
+
outline: 1px solid ${e=>e.theme.colors.primary};
|
|
165
|
+
}
|
|
166
|
+
&[data-suppress-hover="true"]:hover {
|
|
167
|
+
outline: none;
|
|
168
|
+
}
|
|
169
|
+
&[data-suppress-hover="true"] .select-control:hover {
|
|
170
|
+
background-color: ${e=>e.theme.colors.grey5};
|
|
171
|
+
}
|
|
172
|
+
&[data-suppress-hover="true"] > div:hover {
|
|
173
|
+
outline: none;
|
|
174
|
+
background-color: inherit;
|
|
175
|
+
}
|
|
176
|
+
`,Ke=s.div`
|
|
177
|
+
display: flex;
|
|
178
|
+
flex-direction: row;
|
|
179
|
+
align-items: center;
|
|
180
|
+
margin-top: ${o.sp2};
|
|
181
|
+
margin-bottom: ${o.sp2};
|
|
182
|
+
`,Xe=s.div`
|
|
183
|
+
display: flex;
|
|
184
|
+
flex-direction: row;
|
|
185
|
+
width: ${e=>`calc(100% - ${e.labelWidth}px)`};
|
|
186
|
+
align-items: center;
|
|
187
|
+
justify-content: flex-end;
|
|
188
|
+
flex-grow: 1;
|
|
189
|
+
padding-right: ${o.sp3};
|
|
190
|
+
`,et=s(Oe)`
|
|
191
|
+
color: ${e=>e.theme.colors.hero};
|
|
192
|
+
text-align: right;
|
|
193
|
+
padding-right: ${o.sp3};
|
|
194
|
+
`,ke=s(Oe)`
|
|
195
|
+
color: ${L.important};
|
|
196
|
+
text-align: right;
|
|
197
|
+
padding-right: ${o.sp3};
|
|
198
|
+
`,Lo=s.div`
|
|
199
|
+
width: 100%;
|
|
200
|
+
& > div {
|
|
201
|
+
background-color: ${e=>e.hasError===!0?L.importantLight:e.theme.colors.background};
|
|
202
|
+
}
|
|
203
|
+
& .select-control {
|
|
204
|
+
background-color: ${e=>e.hasError===!0?L.importantLight:e.theme.colors.background} !important;
|
|
205
|
+
}
|
|
206
|
+
`,ze={labelWidth:new g(110,110,140),buttonWidth:new g(70,70)};function To({sectionId:e,isDisabled:i,style:h,officer:a,officerAddress:d,isEmptyCompanyOfficerSection:l,onOfficerAddressClick:n}){const p=B(),y=T.getLocalizedStrings().companyPassport,$=ze.labelWidth.value(p),r=l&&(a==null||!a.firstName&&!a.lastName&&!a.phone&&!a.email&&!d),c=a?.userId==null||a?.userId==="";return t.jsxs(Ao,{style:h,children:[t.jsx(ct,{isDisabled:i,label:{label:y.companyOfficer.name,width:$},nameField:{name:Ne(e,"name"),placeHolder:{firstName:y.companyOfficer.firstNamePlaceholder,lastName:y.companyOfficer.lastNamePlaceholder,name:y.companyOfficer.namePlaceholder},defaultValue:{firstName:a?.firstName??"",lastName:a?.lastName??""},autoComplete:"new-password",registerOptions:{required:r!==!0},showFullNameError:!0}}),t.jsx(Le,{}),t.jsx(E,{isDisabled:c?i:"readonly",label:{label:y.companyOfficer.email,width:$},text:{type:"email",name:Ne(e,"email"),placeholder:Y(y.companyOfficer.email),options:{required:r===!0?!1:c},defaultValue:a?.email,autoComplete:"new-password"}}),t.jsx(Le,{}),t.jsx(ht,{isDisabled:i,label:{label:y.companyInfo.address,width:$},addressValue:{placeholder:Y(y.companyOfficer.address),address:d?.addressToCreate,onClick:()=>{n(a?.officerType.toLocaleLowerCase().concat("_address"))}}}),t.jsx(Le,{}),t.jsx(rt,{isDisabled:i,label:{label:y.companyOfficer.phone,width:$},text:{name:Ne(e,"phone"),placeholder:Y(y.companyOfficer.phone),defaultValue:a?.phone,autoComplete:"new-password"}})]})}function Po({companyOfficers:e,sectionId:i,style:h,isDisabled:a,onOfficerAddressClick:d}){const{setValue:l,getValues:n}=st(),[p,y]=Z.useState(-1),$=T.getLocalizedStrings().companyPassport,r=e.length,c=e.length===1&&e[0].localData?.userId==null,b=n(i),j=()=>{const O={userId:void 0,officerType:`Officer_${r+1}`,name:{firstName:"",lastName:""},email:"",phone:""};l(i,[...b,O])},u=O=>{if(e[O].localData==null||!e[O].localData?.firstName&&!e[O].localData?.lastName&&!e[O].localData?.phone&&!e[O].localData?.email&&!e[O].addressStatus?.addressToCreate){const v=b.filter((D,w)=>w!==p);l(i,v),y(-1)}else y(O)},A=()=>{y(-1)},C=()=>{const O=b.filter((v,D)=>D!==p);l(i,O),y(-1)};return t.jsxs(Eo,{style:h,children:[t.jsx(Mo,{children:$.companyOfficer.title}),e.map((O,v)=>{const D=O.localData,w=O.addressStatus,_=D?.userId==null||D?.userId==="";return t.jsxs(Wo,{children:[(r>1||_)&&!c?t.jsx(zo,{curIndex:v,isNewUser:_,numberOfOfficers:r,deleteConfirmationIndex:p,isDisabled:a,onDeleteClick:u,onCancelClick:A,onRemoveOfficerSection:C}):null,t.jsx(To,{sectionId:`${i}.${v}`,officer:D,officerAddress:w,isDisabled:a,isEmptyCompanyOfficerSection:c,onOfficerAddressClick:d})]},D?.officerType)}),r<=9&&!c?t.jsx(Vo,{isSectionDisabled:a,onAddOfficerSection:j}):t.jsx(Ve,{})]})}const zo=({curIndex:e,isNewUser:i,numberOfOfficers:h,deleteConfirmationIndex:a,isDisabled:d,onDeleteClick:l,onCancelClick:n,onRemoveOfficerSection:p})=>{const y=B(),$=T.getLocalizedStrings().companyPassport;return t.jsxs(Bo,{children:[t.jsx(_o,{children:h>1?`${$.companyOfficer.officer} ${e+1}`:""}),i&&d==null?a===e?t.jsx(Zo,{children:t.jsxs(Ho,{children:[$.companyOfficer.deleteConfirmation,t.jsx(Ue,{label:$.cancel,onClick:n,style:{width:ze.buttonWidth.value(y),marginLeft:o.sp4,marginRight:o.sp3},size:"small",variant:"secondary"}),t.jsx(Ue,{label:$.remove,onClick:p,style:{width:ze.buttonWidth.value(y)},size:"small",variant:"danger"})]})}):t.jsx(Uo,{className:"delete-icon-wrapper",onClick:()=>l(e),children:t.jsx(Mt,{width:I[3],height:I[3],color:L.important})}):null]})},Vo=({isSectionDisabled:e,onAddOfficerSection:i})=>{const h=T.getLocalizedStrings().companyPassport;return e!=null?t.jsx(Ve,{}):t.jsxs(t.Fragment,{children:[t.jsxs(Ro,{onClick:i,children:[t.jsx(Yo,{}),t.jsx(qo,{children:h.companyOfficer.addOfficer})]}),t.jsx(Ve,{})]})},Ne=(e,i)=>`${e}.${i}`,Eo=s.div`
|
|
207
|
+
display: flex;
|
|
208
|
+
flex-direction: column;
|
|
209
|
+
padding-top: ${o.sp3};
|
|
210
|
+
width: 100%;
|
|
211
|
+
`,Ao=s.div`
|
|
212
|
+
display: flex;
|
|
213
|
+
flex-direction: column;
|
|
214
|
+
background-color: ${e=>e.theme.colors.grey5};
|
|
215
|
+
border: 1px solid ${e=>e.theme.colors.grey3};
|
|
216
|
+
box-shadow: ${e=>`${o.sp0} 2px ${o.sp1} ${e.theme.colors.dropShadowNormal}`};
|
|
217
|
+
border-radius: ${o.sp2};
|
|
218
|
+
margin-bottom: ${o.sp4};
|
|
219
|
+
`,Ve=s.div`
|
|
220
|
+
padding-bottom: ${o.sp6};
|
|
221
|
+
`,Mo=s(K)`
|
|
222
|
+
color: ${e=>e.theme.colors.champion};
|
|
223
|
+
margin-bottom: ${o.sp4};
|
|
224
|
+
`,Wo=s.div`
|
|
225
|
+
&:hover {
|
|
226
|
+
.delete-icon-wrapper {
|
|
227
|
+
display: flex;
|
|
228
|
+
}
|
|
229
|
+
}
|
|
230
|
+
`,Bo=s(K)`
|
|
231
|
+
display: flex;
|
|
232
|
+
align-items: center;
|
|
233
|
+
justify-content: space-between;
|
|
234
|
+
color: ${e=>e.theme.colors.champion};
|
|
235
|
+
margin-bottom: ${o.sp2};
|
|
236
|
+
height: 31px;
|
|
237
|
+
|
|
238
|
+
.delete-icon-wrapper {
|
|
239
|
+
display: none;
|
|
240
|
+
}
|
|
241
|
+
`,_o=s(Ie)``,Ro=s.div`
|
|
242
|
+
padding: ${o.sp3};
|
|
243
|
+
display: flex;
|
|
244
|
+
align-items: center;
|
|
245
|
+
justify-content: center;
|
|
246
|
+
background-color: ${e=>e.theme.colors.grey5};
|
|
247
|
+
border: 1px solid ${e=>e.theme.colors.grey3};
|
|
248
|
+
border-radius: ${o.sp2};
|
|
249
|
+
box-shadow: ${e=>`${o.sp0} 2px ${o.sp1} ${e.theme.colors.dropShadowNormal}`};
|
|
250
|
+
color: ${e=>e.theme.colors.hero};
|
|
251
|
+
margin-bottom: ${o.sp4};
|
|
252
|
+
cursor: pointer;
|
|
253
|
+
|
|
254
|
+
&:hover {
|
|
255
|
+
svg {
|
|
256
|
+
color: ${e=>e.theme.colors.primary};
|
|
257
|
+
}
|
|
258
|
+
color: ${e=>e.theme.colors.primary};
|
|
259
|
+
border: 1px solid ${e=>e.theme.colors.primary};
|
|
260
|
+
}
|
|
261
|
+
`,Yo=s(Bt)`
|
|
262
|
+
margin-right: ${o.sp2};
|
|
263
|
+
width: ${o.sp4};
|
|
264
|
+
height: ${o.sp4};
|
|
265
|
+
color: ${e=>e.theme.colors.grey1};
|
|
266
|
+
`,qo=s(_t)`
|
|
267
|
+
color: inherit;
|
|
268
|
+
`,Uo=s.div`
|
|
269
|
+
width: ${o.sp4};
|
|
270
|
+
height: ${o.sp4};
|
|
271
|
+
cursor: pointer;
|
|
272
|
+
`,Zo=s.div`
|
|
273
|
+
display: flex;
|
|
274
|
+
`,Ho=s(Ie)`
|
|
275
|
+
color: ${e=>e.theme.colors.hero};
|
|
276
|
+
`,Le=s.div`
|
|
277
|
+
display: flex;
|
|
278
|
+
flex: 1;
|
|
279
|
+
background-color: ${e=>e.theme.colors.grey3};
|
|
280
|
+
min-height: 1px;
|
|
281
|
+
max-height: 1px;
|
|
282
|
+
`,tt={labelWidth:new g(160,160,160),largeLabelWidth:new g(150,215,215)};function Jo(e){const i=B(),h=kt(),[a,d]=Z.useState(!1),{companyPassport:l,commonSetUp:{businessVerification:n},common:{documents:p}}=T.getLocalizedStrings(),{fileProps:y,companyFiles:$,deleteFileStatusById:r,updateFileStatusById:c,sectionId:b,isDisabled:j,companyTaxInfo:u,style:A}=e,C=tt.labelWidth.value(i),O=tt.largeLabelWidth.value(i),v=!Qt(h.loggedInUserRole??[]),D=$.find(w=>w.documentType==="tax_ein");return t.jsxs(Go,{style:A,children:[t.jsx(Ko,{children:l.companyTaxInfo.title}),t.jsxs(Qo,{children:[t.jsx(E,{isDisabled:j,label:{label:l.companyTaxInfo.taxIdOrEIN,width:C},text:{type:"text",name:ie(b,"taxIdOrEIN"),placeholder:l.companyTaxInfo.taxIdOrEINPlaceholder,defaultValue:v===!0?l.protectedContent:u?.taxIdOrEIN,options:{pattern:Nt},autoComplete:"new-password"},protectedInfoText:v===!0?l.companyTaxInfo.adminPrivilegeRequired:void 0}),t.jsx(pe,{}),t.jsx(E,{isDisabled:j,label:{label:l.companyTaxInfo.dunsNumber,width:C},text:{type:"text",name:ie(b,"dunsNumber"),placeholder:l.companyTaxInfo.dunsNumberPlaceholder,defaultValue:u?.dunsNumber,options:{pattern:/^\d{9}$/},autoComplete:"new-password"}}),t.jsx(pe,{}),t.jsx(E,{isDisabled:j,label:{label:l.companyTaxInfo.naicsCode,width:C},text:{type:"text",name:ie(b,"naicsCode"),placeholder:l.companyTaxInfo.naicsCodePlaceholder,defaultValue:u?.naicsCode,options:{pattern:/^([2-9]{1}[0-9]{1}|[1-9]{1}[1-9]{1})\d{0,4}$/},autoComplete:"new-password"}}),t.jsx(pe,{}),t.jsx(E,{isDisabled:j,label:{label:l.companyTaxInfo.sicCode,width:C},text:{type:"text",name:ie(b,"sicCode"),placeholder:l.companyTaxInfo.sicCodePlaceholder,defaultValue:u?.sicCode,options:{pattern:/^\d{2,4}$/},autoComplete:"new-password"}}),t.jsx(pe,{}),t.jsx(ft,{isDisabled:j,label:{label:l.companyTaxInfo.taxesFiledYears,width:C},multiSelectField:{name:ie(b,"taxesFiledYears"),placeholder:l.companyTaxInfo.taxesFiledYearsPlaceholder,defaultValue:{selectedOptions:u?.taxesFiledYears.map(w=>w.toString())??[],allOptions:pt().map(w=>w.toString())}}}),t.jsx(pe,{}),t.jsx(mt,{name:ie(b,"einDocument"),isDisabled:j,sizeLimit:dt,deleteFileStatusById:r,updateFileStatusById:c,filesEndPoint:y.filesEndPoint,authParams:y.authParams,label:{label:n.einDocument,width:O},filemetadataPayload:{documentType:"tax_ein",purposeId:"business_verification",documentSide:"front"},file:D,acceptableTypes:["image/jpg","image/jpeg","image/png","application/pdf","image/heic","image/heif"],registerOptions:{required:!1},hasError:a,updateFilesEntity:y.updateFilesEntity,onEditFileName:y.onEditFileName,onDeleteFile:y.onDeleteFile,onFileSizeError:w=>d(w)}),t.jsx(Xo,{windowSize:i,isError:a,children:p.formatDocumentText10MB})]})]})}const ie=(e,i)=>`${e}.${i}`,Go=s.div`
|
|
283
|
+
display: flex;
|
|
284
|
+
flex-direction: column;
|
|
285
|
+
padding-top: ${o.sp3};
|
|
286
|
+
padding-bottom: ${o.sp9};
|
|
287
|
+
`,Qo=s.div`
|
|
288
|
+
display: flex;
|
|
289
|
+
flex-direction: column;
|
|
290
|
+
background-color: ${e=>e.theme.colors.grey5};
|
|
291
|
+
border: 1px solid ${e=>e.theme.colors.grey3};
|
|
292
|
+
box-shadow: ${e=>`${o.sp0} 2px ${o.sp1} ${e.theme.colors.dropShadowNormal}`};
|
|
293
|
+
border-radius: ${o.sp2};
|
|
294
|
+
`,Ko=s(K)`
|
|
295
|
+
color: ${e=>e.theme.colors.champion};
|
|
296
|
+
margin-bottom: ${o.sp3};
|
|
297
|
+
`,pe=s.div`
|
|
298
|
+
display: flex;
|
|
299
|
+
flex: 1;
|
|
300
|
+
background-color: ${e=>e.theme.colors.grey3};
|
|
301
|
+
min-height: 1px;
|
|
302
|
+
max-height: 1px;
|
|
303
|
+
`,Xo=s(Oe)`
|
|
304
|
+
padding: ${o.sp1} ${o.sp4};
|
|
305
|
+
background: ${e=>e.theme.colors.grey4};
|
|
306
|
+
border-radius: ${o.sp0} ${o.sp0} ${o.sp2} ${o.sp2};
|
|
307
|
+
text-align: ${e=>e.windowSize==="small"?"initial":"right"};
|
|
308
|
+
color: ${e=>e.isError?L.important:e.theme.colors.grey1};
|
|
309
|
+
`,el={labelWidth:new g(100,100,140)};function tl({sectionId:e,isDisabled:i,primaryContact:h,style:a}){const d=B(),l=T.getLocalizedStrings().companyPassport,n=el.labelWidth.value(d),p=h==null;return t.jsxs(ol,{style:a,children:[t.jsx(al,{children:l.primaryContact.title}),t.jsxs(ll,{children:[t.jsx(ct,{isDisabled:i,label:{label:l.primaryContact.name,width:n},nameField:{name:ot(e,"name"),placeHolder:{firstName:l.primaryContact.firstNamePlaceholder,lastName:l.primaryContact.lastNamePlaceholder,name:l.primaryContact.namePlaceholder},defaultValue:{firstName:h?.firstName??"",lastName:h?.lastName??""},autoComplete:"new-password",registerOptions:{required:p!==!0},showFullNameError:!0}}),t.jsx(il,{}),t.jsx(E,{isDisabled:i,label:{label:l.primaryContact.email,width:n},text:{type:"email",name:ot(e,"email"),placeholder:Y(l.primaryContact.email),defaultValue:h?.email,autoComplete:"new-password",options:{required:p!==!0}}})]})]})}const ot=(e,i)=>`${e}.${i}`,ol=s.div`
|
|
310
|
+
display: flex;
|
|
311
|
+
flex-direction: column;
|
|
312
|
+
padding-top: ${o.sp3};
|
|
313
|
+
padding-bottom: ${o.sp9};
|
|
314
|
+
`,ll=s.div`
|
|
315
|
+
display: flex;
|
|
316
|
+
flex-direction: column;
|
|
317
|
+
background-color: ${e=>e.theme.colors.grey5};
|
|
318
|
+
border: 1px solid ${e=>e.theme.colors.grey3};
|
|
319
|
+
box-shadow: ${e=>`${o.sp0} 2px ${o.sp1} ${e.theme.colors.dropShadowNormal}`};
|
|
320
|
+
border-radius: ${o.sp2};
|
|
321
|
+
`,al=s(K)`
|
|
322
|
+
color: ${e=>e.theme.colors.champion};
|
|
323
|
+
margin-bottom: ${o.sp3};
|
|
324
|
+
`,il=s.div`
|
|
325
|
+
display: flex;
|
|
326
|
+
flex: 1;
|
|
327
|
+
background-color: ${e=>e.theme.colors.grey3};
|
|
328
|
+
min-height: 1px;
|
|
329
|
+
max-height: 1px;
|
|
330
|
+
`,nl=s.div`
|
|
331
|
+
display: flex;
|
|
332
|
+
flex-direction: row;
|
|
333
|
+
justify-content: flex-end;
|
|
334
|
+
align-items: center;
|
|
335
|
+
:not(:first-of-type) {
|
|
336
|
+
margin-left: ${o.sp3};
|
|
337
|
+
}
|
|
338
|
+
`,sl=s.div`
|
|
339
|
+
display: flex;
|
|
340
|
+
flex-direction: row;
|
|
341
|
+
justify-content: flex-end;
|
|
342
|
+
align-items: center;
|
|
343
|
+
color: ${e=>e.theme.colors.primary};
|
|
344
|
+
`,rl=()=>t.jsx(sl,{children:"–"}),dl=s.div`
|
|
345
|
+
padding: 6px ${o.sp2};
|
|
346
|
+
white-space: nowrap;
|
|
347
|
+
overflow: hidden;
|
|
348
|
+
text-overflow: ellipsis;
|
|
349
|
+
`,cl=s(Ie)`
|
|
350
|
+
color: ${e=>e.theme.colors.primary};
|
|
351
|
+
align-items: center;
|
|
352
|
+
justify-content: flex-end;
|
|
353
|
+
display: flex;
|
|
354
|
+
padding: 0 ${o.sp3};
|
|
355
|
+
`,pl=e=>{const{users:i,style:h}=e;return t.jsx(cl,{style:h,children:i.length!==0?i.filter(a=>!!a.firstName||!!a.lastName).map(a=>t.jsxs(nl,{children:[t.jsx(dl,{children:`${a.firstName} ${a.lastName}`}),t.jsx(qt,{name:`${a.firstName} ${a.lastName}`,size:o.sp4})]},a.userId)):t.jsx(rl,{})})},q={width:new g(343,580,726),height:new g(I[6],I[6]),controlHeight:new g(I[6],I[6]),paddingTopBottom:new g(I[2],I[2]),marginRight:new g(I[2],I[2]),labelMarginLeft:new g(I[3],I[4]),labelMarginRight:new g(I[3],I[4]),labelMarginTop:new g(I[2],I[2])};function ul({isDisabled:e,label:i,avatarLabels:h,style:a}){const d=B();return t.jsxs(fl,{size:d,style:a,children:[t.jsx($e,{isDisabled:e,label:i.label,style:{marginLeft:q.labelMarginLeft.value(d),marginRight:q.labelMarginRight.value(d),marginTop:q.labelMarginTop.value(d),width:i.width??"auto"}}),t.jsx(pl,{users:h.users,style:{minHeight:q.controlHeight.value(d),display:"flex",flexGrow:1,flexFlow:"row wrap",maxWidth:i.width!=null?`calc(100% - ${i.width}px)`:"auto",...h.style}})]})}const ml=Ut.memo(ul,Wt),fl=s.div`
|
|
356
|
+
display: flex;
|
|
357
|
+
flex-direction: row;
|
|
358
|
+
align-items: flex-start;
|
|
359
|
+
background-color: ${e=>e.theme.colors.grey5};
|
|
360
|
+
width: ${e=>q.width.valuePx(e.size)};
|
|
361
|
+
min-height: ${e=>q.height.valuePx(e.size)};
|
|
362
|
+
padding-right: ${e=>q.marginRight.valuePx(e.size)};
|
|
363
|
+
padding-top: ${e=>q.paddingTopBottom.valuePx(e.size)};
|
|
364
|
+
padding-bottom: ${e=>q.paddingTopBottom.valuePx(e.size)};
|
|
365
|
+
|
|
366
|
+
:first-of-type {
|
|
367
|
+
border-top-left-radius: inherit;
|
|
368
|
+
border-top-right-radius: inherit;
|
|
369
|
+
}
|
|
370
|
+
|
|
371
|
+
:last-of-type {
|
|
372
|
+
border-bottom-left-radius: inherit;
|
|
373
|
+
border-bottom-right-radius: inherit;
|
|
374
|
+
}
|
|
375
|
+
`,Te={labelWidth:new g(100,100,140),mediumLabelWidth:new g(140,150,160),largeLabelWidth:new g(160,180,180)};function hl({data:e,companyInfo:i,sectionId:h,isDisabled:a,isZeniUser:d,onScheduleClick:l}){const n=B(),{companyPassport:p,dateFormat:{visual:y}}=T.getLocalizedStrings(),$=Te.labelWidth.value(n),r=Te.mediumLabelWidth.value(n),c=Te.largeLabelWidth.value(n),b=e.company.company,{controllers:j,subscriptions:u}=e,{managementInfo:A}=b,C=n==="small"?p.zeniFinanceTeam.scheduleCallPlaceholderSmall:p.zeniFinanceTeam.scheduleCallPlaceholder,O=u.filter(w=>w.plan?.plan.name!=null).map(w=>({text:w.plan?.plan.name,subText:w.subscription.subscription.startDate.format(y.MMMDCommaYYYYformat)})),v=Lt(u.map(w=>w.addOns.map(_=>({text:_.addOn.name,subText:w.subscription.subscription.startDate.format(y.MMMDCommaYYYYformat)})))),D=A.receiverEmails.map(w=>({text:w}));return t.jsxs(xl,{children:[t.jsx(bl,{children:p.zeniFinanceTeam.title}),t.jsxs(gl,{children:[t.jsx(ml,{label:{label:p.zeniFinanceTeam.controller,width:r},avatarLabels:{users:j.map(w=>w.user)}}),t.jsx(be,{}),d===!0?t.jsx(E,{isDisabled:a,label:{label:p.zeniFinanceTeam.scheduleCall,width:r},text:{type:"text",name:yl(h,"meetingLink"),placeholder:C,defaultValue:i?.meetingLink?.toString()??"",autoComplete:"new-password",options:{pattern:Tt}}}):i?.meetingLink!=null?t.jsx(Pt,{label:{label:p.zeniFinanceTeam.scheduleCall,width:r},button:{buttonTitle:p.zeniFinanceTeam.schedule,onClick:()=>l(i.meetingLink)}}):null,D.length>0?t.jsxs(t.Fragment,{children:[t.jsx(be,{}),t.jsx(we,{label:{label:p.zeniFinanceTeam.emailUs,width:$},bullettedLabels:{labels:D,listStyleType:"none"}})]}):null,O.length>0?t.jsxs(t.Fragment,{children:[t.jsx(be,{}),t.jsx(we,{label:{label:p.zeniFinanceTeam.subscriptionPlans,width:c},bullettedLabels:{labels:O,listStyleType:"none"}})]}):null,v.length>0?t.jsxs(t.Fragment,{children:[t.jsx(be,{}),t.jsx(we,{label:{label:p.zeniFinanceTeam.addons,width:r},bullettedLabels:{labels:v,listStyleType:"none"}})]}):null]})]})}const yl=(e,i)=>`${e}.${i}`,xl=s.div`
|
|
376
|
+
display: flex;
|
|
377
|
+
flex-direction: column;
|
|
378
|
+
padding-top: ${o.sp3};
|
|
379
|
+
padding-bottom: ${o.sp9};
|
|
380
|
+
`,gl=s.div`
|
|
381
|
+
display: flex;
|
|
382
|
+
flex-direction: column;
|
|
383
|
+
background-color: ${e=>e.theme.colors.grey5};
|
|
384
|
+
border: 1px solid ${e=>e.theme.colors.grey3};
|
|
385
|
+
box-shadow: ${e=>`${o.sp0} 2px ${o.sp1} ${e.theme.colors.dropShadowNormal}`};
|
|
386
|
+
border-radius: ${o.sp2};
|
|
387
|
+
`,bl=s(K)`
|
|
388
|
+
color: ${e=>e.theme.colors.champion};
|
|
389
|
+
margin-bottom: ${o.sp3};
|
|
390
|
+
`,be=s.div`
|
|
391
|
+
display: flex;
|
|
392
|
+
flex: 1;
|
|
393
|
+
background-color: ${e=>e.theme.colors.grey3};
|
|
394
|
+
min-height: 1px;
|
|
395
|
+
max-height: 1px;
|
|
396
|
+
`,Ee={width:new g(343,580,726),buttonWidth:new g(85,85)},lt="companyPassportPage",Ae="companyInfo",Me="companyIncInfo",We="companyTaxInfo",Be="primaryContact",_e="companyOfficer",Re="zeniFinanceTeam";function Wl(e){const i=B(),h=gt(),{companyPassportView:a,isZeniUser:d,filesEndPoint:l,authParams:n,allIndustries:p,allNationalityCountries:y,isCompanyVerified:$,isDisabled:r,isSettings:c=!1,onCompanyDetailsChanged:b,onCompanyOfficerUpdated:j,onNewCompanyOfficerAdded:u,onPrimaryContactDetailsUpdated:A,onNewCompanyOfficerRemoved:C,onSaveAll:O,onAddressClick:v,onScheduleClick:D,onBackClick:w,onResetClick:_,onEditFileName:se,updateFilesEntity:H,onDeleteFile:Se,onClickMenuIcon:je}=e,{companyView:J,localData:U,deleteFileStatusById:me,updateFileStatusById:re}=a,{companyFiles:X}=U,de={authParams:n,filesEndPoint:l,onEditFileName:se,onDeleteFile:Se,updateFilesEntity:H},[G,ee]=Z.useState(void 0),{companyDetails:De,primaryContact:fe,companyOfficerUpdateStatus:ve,updateStatus:V}=U,{localData:te,addressStatus:W}=De,Q=bt(V.fetchState),oe=Object.values(ve).filter(P=>P.localData!=null),R=wt({mode:"all",defaultValues:it(U,p,y)});Z.useEffect(()=>()=>{ee(void 0)},[]),Z.useEffect(()=>{Q==="In-Progress"&&(V.fetchState==="Completed"||V.fetchState==="Error")&&(R.reset(it(U,p,y)),G!==V.fetchState&&ee(V.fetchState))},[G,R,Q,V,U,J,p,y,X]);const ce=async(P,S)=>{if(P.includes(Ae)||P.includes(Me)||P.includes(We)||P.includes(Re)){const{companyInfo:k,companyIncInfo:N,companyTaxInfo:m,zeniFinanceTeam:z}=S;b({companyInfo:k,incInfo:N,taxDetails:m,zeniFinanceTeam:z})}else if(P.includes(Be)){A(S.primaryContact);const k=S.companyOfficer.map(N=>N.userId);if(S.primaryContact.userId!=null&&k.includes(S.primaryContact.userId)){const N=k.findIndex(m=>m===S.primaryContact.userId);N>=0&&j({...S.companyOfficer[N],name:S.primaryContact.name,officerType:`Officer_${N+1}`})}}else if(P.includes(_e)){const k=parseInt(P.split(".")[1]);if(k>=0)j({...S.companyOfficer[k],officerType:`Officer_${k+1}`}),S.companyOfficer[k].userId!=null&&S.companyOfficer[k].userId===S.primaryContact.userId&&A({...S.primaryContact,name:S.companyOfficer[k].name});else if(S.companyOfficer.length>oe.length){const N=S.companyOfficer[S.companyOfficer.length-1];u(N)}else{const N=S.companyOfficer.filter(m=>m.officerType!=null);if(N.length<oe.length){const m=N.map((z,xt)=>{const Ye={...z,officerType:`Officer_${xt+1}`};return j(Ye),Ye});N.length<oe.length&&(C(`Officer_${N.length+1}`),R.reset({companyOfficer:m}))}}}};Z.useEffect(()=>{const P=R.watch((S,{name:k})=>{k!=null&&S!=null&&$t(()=>ce(k,S))});return()=>{P.unsubscribe()}});const Fe=R.handleSubmit(P=>{G!=null&&ee(void 0),O()}),{companyPassport:le,common:{settings:he}}=T.getLocalizedStrings();if(J==null)throw new Error("Company View is null");return t.jsxs(wl,{children:[t.jsx(It,{title:le.title,backgroundColor:h.colors.grey4,style:{zIndex:3},onBackClick:w,showBackButton:!c,showMenuIcon:c?i==="medium-compact"||i==="small":!1,source:"CompanyPassportPage",onClickMenuIcon:je}),G!=null?t.jsx(fo,{fetchState:G,onRemoveSnackbar:()=>ee(void 0)}):null,t.jsxs($l,{children:[t.jsx(Il,{windowSize:i,children:c?he.infoText.companyDetails:le.quickAccessInfo}),t.jsx(Ot,{...R,children:t.jsxs("form",{id:at(lt),onSubmit:Fe,children:[t.jsx(Do,{sectionId:Ae,companyInfo:te?.companyInfo,companyViewData:J,companyAddress:W,isDisabled:r,isCompanyVerified:$,onCompanyAddressClick:v,allIndustries:p,allNationalityCountries:y}),t.jsx(ho,{sectionId:Me,updateFileStatusById:re,deleteFileStatusById:me,companyFiles:X,companyIncInfo:te?.incInfo,fileProps:de,isDisabled:r}),t.jsx(Jo,{sectionId:We,updateFileStatusById:re,deleteFileStatusById:me,companyFiles:X,companyTaxInfo:te?.taxDetails,fileProps:de,isDisabled:r}),t.jsx(tl,{sectionId:Be,primaryContact:fe.localData,isDisabled:r}),t.jsx(Po,{companyOfficers:oe,sectionId:_e,isDisabled:r,onOfficerAddressClick:v}),t.jsx(hl,{data:J,companyInfo:te?.companyInfo,isDisabled:r,isZeniUser:d,sectionId:Re,onScheduleClick:D})]})})]}),St(R.formState.dirtyFields)||Jt(U,J,X)?t.jsx(jt,{formId:at(lt),primaryBtn:{label:le.save,isLoading:V.fetchState==="In-Progress",style:{width:Ee.buttonWidth.value(i)},isDisabled:e.isDisabled!=null},cancelBtn:{label:le.cancel,style:{width:Ee.buttonWidth.value(i)},onClick:()=>{R.reset(),_()}}}):null]})}const at=e=>`${e}_form`,it=(e,i,h)=>{const{companyDetails:a,primaryContact:d,companyOfficerUpdateStatus:l}=e,n=T.getLocalizedStrings().companyPassport,p=a.localData?.incInfo.fileId!=null?[a.localData?.incInfo.fileId]:[],y=a.localData?.taxDetails.fileId!=null?[a.localData?.taxDetails.fileId]:[],$=T.getLocalizedStrings().commonSetUp.businessVerification,r=a.localData?.companyInfo;return{[Ae]:{...Dt(a.localData?.companyInfo??{},["meetingLink","companySourceOfFunds","companySourceOfFundsDescription","countriesOfOperations","transactionVolume","transactionVolumeDescription","regulatedStatus","regulatedStatusDescription","usNexus","usNexusTypes","purposeOfAccount","purposeOfAccountDescription"]),businessModel:{selectedOption:r?.businessModel,allOptions:n.companyInfo.allBusinessModels},website:r?.website?.toString()??"",industry:{selectedOption:r?.industry,allOptions:i?.map(c=>c.code)},firstMonthOfFY:r?.firstMonthOfFY,companySourceOfFunds:{selectedOption:r?.companySourceOfFunds,allOptions:Object.keys($.companySourceOfFundOptions)},companySourceOfFundsDescription:r?.companySourceOfFundsDescription,countriesOfOperations:nt(r?.countriesOfOperations,(h??[]).map(c=>c.countryCode)),transactionVolume:{selectedOption:r?.transactionVolume,allOptions:Object.keys($.transactionVolumeOptions??{})},transactionVolumeDescription:r?.transactionVolumeDescription,regulatedStatus:r?.regulatedStatus??"",regulatedStatusDescription:r?.regulatedStatusDescription,usNexus:r?.usNexus??"",usNexusTypes:{selectedOptions:r?.usNexusTypes??[],allOptions:Object.values($.usNexusOptions??{})},purposeOfAccount:{selectedOption:r?.purposeOfAccount,allOptions:Object.keys($.purposeOfAccountOptions??{})},purposeOfAccountDescription:r?.purposeOfAccountDescription},[We]:{...a.localData?.taxDetails,taxesFiledYears:{selectedOptions:a.localData?.taxDetails.taxesFiledYears.map(c=>c.toString())??[],allOptions:pt().map(c=>c.toString())},einDocument:e.companyFiles.find(c=>c.documentType==="tax_ein"),fileIds:y},[Me]:{typeOfInc:{selectedOption:a.localData?.incInfo?.typeOfInc,allOptions:n.companyIncInfo.allTypesOfIncorporation},stateOfInc:{selectedOption:a.localData?.incInfo?.stateOfInc,allOptions:n.companyIncInfo.allStatesOfIncorporation},incDate:a.localData?.incInfo.incDate?.toDate(),certificateOfIncorporation:e.companyFiles.find(c=>c.documentType==="certificate_of_incorporation"),fileIds:p},[Be]:{userId:d.localData?.userId,name:{firstName:d.localData?.firstName,lastName:d.localData?.lastName},email:d.localData?.email},[_e]:Object.values(l).filter(c=>c.localData!=null).map(c=>{const b=c.localData;return{userId:b.userId,officerType:b.officerType,name:{firstName:b.firstName,lastName:b.lastName},email:b.email,phone:b.phone}}),[Re]:{meetingLink:a.localData?.companyInfo.meetingLink?.toString()??""}}},wl=s.div`
|
|
397
|
+
display: flex;
|
|
398
|
+
min-height: 100%;
|
|
399
|
+
flex-direction: column;
|
|
400
|
+
width: 100%;
|
|
401
|
+
background-color: ${e=>e.theme.colors.grey4};
|
|
402
|
+
`,$l=s.div`
|
|
403
|
+
display: flex;
|
|
404
|
+
flex-wrap: wrap;
|
|
405
|
+
justify-content: center;
|
|
406
|
+
height: 100%;
|
|
407
|
+
overflow-y: auto;
|
|
408
|
+
flex-direction: column;
|
|
409
|
+
align-items: center;
|
|
410
|
+
`,Il=s(Ie)`
|
|
411
|
+
color: ${e=>e.theme.colors.hero};
|
|
412
|
+
display: flex;
|
|
413
|
+
justify-content: center;
|
|
414
|
+
width: ${e=>Ee.width.valuePx(e.windowSize)};
|
|
415
|
+
margin-top: ${o.sp3};
|
|
416
|
+
margin-bottom: ${o.sp4};
|
|
417
|
+
`;export{Wl as default,at as uniqueName};
|
package/dist/assets/{CompleteProfile-E7yJ6AqT-Jh4pB2E8.js → CompleteProfile-C8X8Z3C2-Bzf6-WNu.js}
RENAMED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import{a9 as V,gS as v,F as S,V as g,gT as J,aa as l,al as $,ac as q,cI as _,cR as W,cO as T,o as E,gU as Z,cM as z,aR as X,c as AA,c2 as gA,gV as BA}from"./index-BDOnIbbU.js";import{a as B,P as c}from"./sentry-7iaVxNzj.js";import{n as o}from"./mui-Dn-FysqD.js";import{bh as eA}from"./zeni-epic-state-CMxzji9D.js";import{$ as EA}from"./LabeledAddressValue-D_-0VDjZ-CEjisdoE.js";import"./liveblocks-DXXqIP7n.js";import"./core-B5JTMc-Y.js";import"./recharts-CprInlbt.js";import"./lottie-DruO0Lf9.js";import"./analytics-BgoqoHps.js";import"./lexical-C4hGDQy7.js";import"./utils-BV_yqPM7.js";(function(){try{var A=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},i=new A.Error().stack;i&&(A._sentryDebugIds=A._sentryDebugIds||{},A._sentryDebugIds[i]="f5c58906-5477-4753-afaf-1a34c07ae72b",A._sentryDebugIdIdentifier="sentry-dbid-f5c58906-5477-4753-afaf-1a34c07ae72b")}catch{}})();const CA=A=>B.createElement("svg",{width:72,height:72,viewBox:"0 0 72 72",fill:"none",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",...A},B.createElement("path",{opacity:.2,d:"M26.3252 5H51.6377C51.6377 5 57.2627 5 57.2627 10.625V64.0625C57.2627 64.0625 57.2627 69.6875 51.6377 69.6875H26.3252C26.3252 69.6875 20.7002 69.6875 20.7002 64.0625V10.625C20.7002 10.625 20.7002 5 26.3252 5Z",fill:"#97C3B9"}),B.createElement("path",{d:"M23.3252 2H48.6377C48.6377 2 54.2627 2 54.2627 7.625V61.0625C54.2627 61.0625 54.2627 66.6875 48.6377 66.6875H23.3252C23.3252 66.6875 17.7002 66.6875 17.7002 61.0625V7.625C17.7002 7.625 17.7002 2 23.3252 2Z",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("path",{d:"M43.0127 2V4.8125C43.0127 5.55842 42.7164 6.27379 42.1889 6.80124C41.6615 7.32868 40.9461 7.625 40.2002 7.625H31.7627C31.0168 7.625 30.3014 7.32868 29.774 6.80124C29.2465 6.27379 28.9502 5.55842 28.9502 4.8125V2",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("g",{style:{mixBlendMode:"darken"}},B.createElement("rect",{width:26,height:26,transform:"translate(22 12)",fill:"url(#pattern0_2225_11447)"}),B.createElement("circle",{cx:42,cy:32,r:12,fill:"url(#pattern1_2225_11447)"})),B.createElement("path",{d:"M39.625 57.875H67.125C67.4565 57.875 67.7745 57.7433 68.0089 57.5089C68.2433 57.2745 68.375 56.9565 68.375 56.625V47.875C68.375 47.5435 68.2433 47.2255 68.0089 46.9911C67.7745 46.7567 67.4565 46.625 67.125 46.625H40.875C40.5435 46.625 40.2255 46.7567 39.9911 46.9911C39.7567 47.2255 39.625 47.5435 39.625 47.875V57.875Z",fill:"#EAF3F1",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("path",{d:"M62.1543 49.8V54.8",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("path",{d:"M60.0629 50.9288L64.2441 53.6713",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("path",{d:"M60.0744 53.6874L64.2344 50.9124",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("path",{d:"M53.9727 49.8V54.8",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("path",{d:"M51.8812 50.9288L56.0625 53.6713",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("path",{d:"M51.8927 53.6874L56.0527 50.9124",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("path",{d:"M45.792 49.8V54.8",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("path",{d:"M43.7006 50.9288L47.8818 53.6713",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("path",{d:"M43.7121 53.6874L47.8721 50.9124",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("defs",null,B.createElement("pattern",{id:"pattern0_2225_11447",patternContentUnits:"objectBoundingBox",width:1,height:1},B.createElement("use",{xlinkHref:"#image0_2225_11447",transform:"scale(0.002)"})),B.createElement("pattern",{id:"pattern1_2225_11447",patternContentUnits:"objectBoundingBox",width:1,height:1},B.createElement("use",{xlinkHref:"#image0_2225_11447",transform:"translate(-0.332832 -0.331172) scale(0.00333133)"})),B.createElement("image",{id:"image0_2225_11447",width:500,height:500,preserveAspectRatio:"none",xlinkHref:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAfQAAAH0CAYAAADL1t+KAAAAAXNSR0IArs4c6QAAFQVJREFUeF7t1cENwCAQA0Hov1s+yS+R6OJWQwV4fJL3ed5veQQIECBAgMBogW3QR/fn8wQIECBA4AoYdIdAgAABAgQCAgY9UKIIBAgQIEDAoLsBAgQIECAQEDDogRJFIECAAAECBt0NECBAgACBgIBBD5QoAgECBAgQMOhugAABAgQIBAQMeqBEEQgQIECAgEF3AwQIECBAICBg0AMlikCAAAECBAy6GyBAgAABAgEBgx4oU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AECBt0NECBAgACBgIBBD5QoAgECBAgQMOhugAABAgQIBAQMeqBEEQgQIECAgEF3AwQIECBAICBg0AMlikCAAAECBAy6GyBAgAABAgEBgx4oUQQCBAgQIGDQ3QABAgQIEAgIGPRAiSIQIECAAAGD7gYIECBAgEBAwKAHShSBAAECBAgYdDdAgAABAgQCAgY9UKIIBAgQIEDgB7iZk96LOSbbAAAAAElFTkSuQmCC"}))),QA=A=>B.createElement("svg",{viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...A},B.createElement("path",{d:"M1.33333 6.16693H2.52343C2.68125 6.16693 2.8326 6.22962 2.94419 6.34122C3.05579 6.45281 3.11848 6.60416 3.11848 6.76198V13.9026C3.11848 14.0604 3.05579 14.2118 2.94419 14.3233C2.8326 14.4349 2.68125 14.4976 2.52343 14.4976H1.33333",stroke:"currentColor",strokeWidth:1.25,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("path",{d:"M3.11848 12.7125C7.48556 14.9296 7.27253 14.6374 11.0118 14.6374C12.578 14.6374 13.367 13.6169 13.8276 12.1216V12.1121L14.9624 8.30373V8.29659C15.016 8.11929 15.0275 7.93192 14.9959 7.74939C14.9644 7.56686 14.8907 7.39421 14.7807 7.24519C14.6707 7.09617 14.5274 6.97488 14.3622 6.89099C14.1971 6.8071 14.0146 6.76292 13.8294 6.76196H10.9136C10.7315 6.76197 10.5518 6.72017 10.3883 6.63977C10.2249 6.55937 10.082 6.44253 9.97086 6.29824C9.85968 6.15395 9.7831 5.98606 9.74704 5.80751C9.71097 5.62896 9.71637 5.44452 9.76281 5.26838L10.2876 3.27854C10.3485 3.04716 10.326 2.80175 10.2241 2.58528C10.1223 2.36881 9.94748 2.19507 9.73041 2.09448C9.51334 1.99388 9.2678 1.97285 9.03679 2.03506C8.80577 2.09727 8.604 2.23876 8.4668 2.43475L5.55819 6.55548C5.44832 6.7112 5.30266 6.83826 5.13345 6.92597C4.96425 7.01368 4.77646 7.05947 4.58588 7.05948H3.11848",stroke:"currentColor",strokeWidth:1.25,strokeLinecap:"round",strokeLinejoin:"round"})),e=S.getLocalizedStrings(),p="completeProfilePage",Q="basicDetailsSection",m="addressSection",n=(A,i)=>`${A}.${i}`,MA=({userEmail:A,googleAPIKey:i,twoFactorAuthenticationView:r,saveStatus:G,hasUserEnteredBasicDetails:w,onSave:D,onGetOtp:f,onVerifyOtp:M,onResendOtp:y})=>{const[I,a]=B.useState(!1),[k,Y]=B.useState(!1),t=V({mode:"onChange",reValidateMode:"onChange",defaultValues:{basicDetailsSection:{name:{firstName:"",lastName:""},email:A,dateOfBirth:void 0,phone:"",address:void 0}}}),x=v({control:t.control,name:`${Q}.address`}),{dateFormat:F}=S.getLocalizedStrings(),h=()=>{const C=t.getValues(`${Q}.phone`);C!=null&&C.trim().length>0&&f(C)},L=(C,d)=>{M(C,d)},R=C=>{C!=null&&C.trim().length>0&&y(C)},U=()=>{a(!0)},K=()=>{a(!1)},b=()=>{const C=t.getValues(`${m}`);if(C!=null){const d=BA(C);t.setValue(`${Q}.address`,d)}a(!1)},P=t.handleSubmit(C=>{if(C[Q].phone!=null&&r.otpVerificationStatus.fetchState!=="Completed"||r.otpVerificationStatus.fetchState==="Completed"&&C[Q].phone!=r.phone){h();return}D&&D(C)}),{sendOtpStatus:O,otpVerificationStatus:s,otpChallenge:H,phone:j}=r,N=g.jsxs(rA,{children:[g.jsx(CA,{}),g.jsxs(sA,{children:[g.jsxs(lA,{children:[g.jsx(J,{children:s.fetchState==="Completed"?e.completeProfile.twoFAEnabled:e.completeProfile.enableTwoFA}),g.jsx(l,{controller:s.fetchState==="Completed",children:g.jsx(nA,{})})]}),g.jsx($,{children:e.completeProfile.enableTwoFADescription})]})]});return g.jsxs(oA,{children:[g.jsxs(IA,{children:[g.jsxs(tA,{children:[I&&g.jsx(iA,{onClick:K}),e.completeProfile.title]}),g.jsx(q,{...t,children:g.jsxs("form",{id:`${p}_form`,onSubmit:P,children:[g.jsx(l,{controller:w===!1,children:g.jsxs(u,{children:[g.jsx(l,{controller:I===!1,children:g.jsxs(c.Fragment,{children:[g.jsx(_,{isDisabled:"disabled",showAdditionalInfoLabel:!1,label:{label:e.common.labels.email,width:168},style:{width:"100%"},text:{type:"text",name:n(Q,"email")}}),g.jsx(W,{isDisabled:void 0,label:{label:e.common.labels.name,width:168},style:{width:"100%"},nameField:{name:n(Q,"name"),placeHolder:{firstName:e.common.placeholder.firstNamePlaceholder,lastName:e.common.placeholder.lastNamePlaceholder,name:e.common.placeholder.namePlaceholder},showFullNameError:!0,registerOptions:{required:!0}},errorInfoLabel:""}),g.jsx(T,{isOptional:!0,label:{label:e.common.labels.dob,width:168},style:{width:"100%"},isDisabled:void 0,dateField:{name:n(Q,"dateOfBirth"),placeholder:e.common.placeholder.dobPlaceholder,dateFormat:F.visual.defaultInput,autoComplete:"off",maxDate:eA().subtract(18,"year")}}),g.jsx(EA,{isOptional:!0,label:{label:e.common.labels.address,width:168},addressValue:{placeholder:e.common.placeholder.addressPlaceholder,address:x,onClick:U},style:{width:"100%",padding:`${E.sp2} ${E.sp2} ${E.sp2} ${E.sp0}`}})]})}),g.jsx(l,{controller:I===!0,children:g.jsx(c.Fragment,{children:g.jsx(Z,{sectionId:m,googleAPIKey:i,isSubPage:!0})})})]})}),g.jsx(u,{children:g.jsx(z,{infoBox:N,label:{label:e.common.labels.phone,width:168},style:{width:"100%",marginTop:E.sp3,padding:E.sp0},text:{name:n(Q,"phone"),placeholder:e.common.placeholder.phonePlaceholder,defaultValue:t.getValues(`${Q}.phone`),autoComplete:"new-password",options:{required:!0}},errorInfoLabel:"",verificationErrorInfoLabel:e.common.errorMessage.invalidPhoneNumber,isPopupOpen:k,productType:"complete_profile",phoneVerifyButtonProps:{otpChallenge:H,showOtpButton:!0,onGetOtp:h,onVerifyOtp:L,onResendOtp:R,isPhoneVerified:s.fetchState==="Completed",phoneVerificationStatus:s,getOtpStatus:O,verifiedPhoneNumber:s.fetchState==="Completed"?j:void 0,openPopup:()=>{Y(!0)},focusNotRequired:!0},bottomText:s.fetchState==="Completed"?"":e.completeProfile.phoneSetupText})})]})})]}),g.jsx(X,{formId:I?void 0:`${p}_form`,primaryBtn:{label:I?e.companyPassport.address.saveAddress:e.common.footer.save,type:I?"button":"submit",onClick:I?b:void 0,isLoading:G.fetchState==="In-Progress"||r.sendOtpStatus.fetchState==="In-Progress"},showCancel:!1})]})},oA=o.div`
|
|
1
|
+
import{a9 as V,gV as v,F as S,V as g,gW as J,aa as l,al as $,ac as q,cK as _,cU as W,cR as T,o as E,gX as Z,cP as z,aR as X,R as AA,c2 as gA,gY as BA}from"./index-CNJQ6T57.js";import{a as B,P as c}from"./sentry-9b1mvxJ5.js";import{n as o}from"./mui-DsjrNjDe.js";import{bh as eA}from"./zeni-epic-state-DJX8u9R8.js";import{$ as EA}from"./LabeledAddressValue-C4fnQSyi-BYyUYLsR.js";import"./liveblocks-CUDrE-0X.js";import"./core-Be77t6wT.js";import"./recharts-CmZa-egc.js";import"./lottie-C5G-hUN3.js";import"./analytics-DH2FWXQR.js";import"./lexical-4qH-Yr6_.js";import"./utils-VcZ1Xqjg.js";(function(){try{var A=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},i=new A.Error().stack;i&&(A._sentryDebugIds=A._sentryDebugIds||{},A._sentryDebugIds[i]="aba4bd9d-eeae-4f19-9f56-064120d8ebd2",A._sentryDebugIdIdentifier="sentry-dbid-aba4bd9d-eeae-4f19-9f56-064120d8ebd2")}catch{}})();const CA=A=>B.createElement("svg",{width:72,height:72,viewBox:"0 0 72 72",fill:"none",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",...A},B.createElement("path",{opacity:.2,d:"M26.3252 5H51.6377C51.6377 5 57.2627 5 57.2627 10.625V64.0625C57.2627 64.0625 57.2627 69.6875 51.6377 69.6875H26.3252C26.3252 69.6875 20.7002 69.6875 20.7002 64.0625V10.625C20.7002 10.625 20.7002 5 26.3252 5Z",fill:"#97C3B9"}),B.createElement("path",{d:"M23.3252 2H48.6377C48.6377 2 54.2627 2 54.2627 7.625V61.0625C54.2627 61.0625 54.2627 66.6875 48.6377 66.6875H23.3252C23.3252 66.6875 17.7002 66.6875 17.7002 61.0625V7.625C17.7002 7.625 17.7002 2 23.3252 2Z",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("path",{d:"M43.0127 2V4.8125C43.0127 5.55842 42.7164 6.27379 42.1889 6.80124C41.6615 7.32868 40.9461 7.625 40.2002 7.625H31.7627C31.0168 7.625 30.3014 7.32868 29.774 6.80124C29.2465 6.27379 28.9502 5.55842 28.9502 4.8125V2",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("g",{style:{mixBlendMode:"darken"}},B.createElement("rect",{width:26,height:26,transform:"translate(22 12)",fill:"url(#pattern0_2225_11447)"}),B.createElement("circle",{cx:42,cy:32,r:12,fill:"url(#pattern1_2225_11447)"})),B.createElement("path",{d:"M39.625 57.875H67.125C67.4565 57.875 67.7745 57.7433 68.0089 57.5089C68.2433 57.2745 68.375 56.9565 68.375 56.625V47.875C68.375 47.5435 68.2433 47.2255 68.0089 46.9911C67.7745 46.7567 67.4565 46.625 67.125 46.625H40.875C40.5435 46.625 40.2255 46.7567 39.9911 46.9911C39.7567 47.2255 39.625 47.5435 39.625 47.875V57.875Z",fill:"#EAF3F1",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("path",{d:"M62.1543 49.8V54.8",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("path",{d:"M60.0629 50.9288L64.2441 53.6713",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("path",{d:"M60.0744 53.6874L64.2344 50.9124",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("path",{d:"M53.9727 49.8V54.8",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("path",{d:"M51.8812 50.9288L56.0625 53.6713",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("path",{d:"M51.8927 53.6874L56.0527 50.9124",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("path",{d:"M45.792 49.8V54.8",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("path",{d:"M43.7006 50.9288L47.8818 53.6713",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("path",{d:"M43.7121 53.6874L47.8721 50.9124",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("defs",null,B.createElement("pattern",{id:"pattern0_2225_11447",patternContentUnits:"objectBoundingBox",width:1,height:1},B.createElement("use",{xlinkHref:"#image0_2225_11447",transform:"scale(0.002)"})),B.createElement("pattern",{id:"pattern1_2225_11447",patternContentUnits:"objectBoundingBox",width:1,height:1},B.createElement("use",{xlinkHref:"#image0_2225_11447",transform:"translate(-0.332832 -0.331172) scale(0.00333133)"})),B.createElement("image",{id:"image0_2225_11447",width:500,height:500,preserveAspectRatio:"none",xlinkHref:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAfQAAAH0CAYAAADL1t+KAAAAAXNSR0IArs4c6QAAFQVJREFUeF7t1cENwCAQA0Hov1s+yS+R6OJWQwV4fJL3ed5veQQIECBAgMBogW3QR/fn8wQIECBA4AoYdIdAgAABAgQCAgY9UKIIBAgQIEDAoLsBAgQIECAQEDDogRJFIECAAAECBt0NECBAgACBgIBBD5QoAgECBAgQMOhugAABAgQIBAQMeqBEEQgQIECAgEF3AwQIECBAICBg0AMlikCAAAECBAy6GyBAgAABAgEBgx4o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AAECBt0NECBAgACBgIBBD5QoAgECBAgQMOhugAABAgQIBAQMeqBEEQgQIECAgEF3AwQIECBAICBg0AMlikCAAAECBAy6GyBAgAABAgEBgx4oUQQCBAgQIGDQ3QABAgQIEAgIGPRAiSIQIECAAAGD7gYIECBAgEBAwKAHShSBAAECBAgYdDdAgAABAgQCAgY9UKIIBAgQIEDgB7iZk96LOSbbAAAAAElFTkSuQmCC"}))),QA=A=>B.createElement("svg",{viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...A},B.createElement("path",{d:"M1.33333 6.16693H2.52343C2.68125 6.16693 2.8326 6.22962 2.94419 6.34122C3.05579 6.45281 3.11848 6.60416 3.11848 6.76198V13.9026C3.11848 14.0604 3.05579 14.2118 2.94419 14.3233C2.8326 14.4349 2.68125 14.4976 2.52343 14.4976H1.33333",stroke:"currentColor",strokeWidth:1.25,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("path",{d:"M3.11848 12.7125C7.48556 14.9296 7.27253 14.6374 11.0118 14.6374C12.578 14.6374 13.367 13.6169 13.8276 12.1216V12.1121L14.9624 8.30373V8.29659C15.016 8.11929 15.0275 7.93192 14.9959 7.74939C14.9644 7.56686 14.8907 7.39421 14.7807 7.24519C14.6707 7.09617 14.5274 6.97488 14.3622 6.89099C14.1971 6.8071 14.0146 6.76292 13.8294 6.76196H10.9136C10.7315 6.76197 10.5518 6.72017 10.3883 6.63977C10.2249 6.55937 10.082 6.44253 9.97086 6.29824C9.85968 6.15395 9.7831 5.98606 9.74704 5.80751C9.71097 5.62896 9.71637 5.44452 9.76281 5.26838L10.2876 3.27854C10.3485 3.04716 10.326 2.80175 10.2241 2.58528C10.1223 2.36881 9.94748 2.19507 9.73041 2.09448C9.51334 1.99388 9.2678 1.97285 9.03679 2.03506C8.80577 2.09727 8.604 2.23876 8.4668 2.43475L5.55819 6.55548C5.44832 6.7112 5.30266 6.83826 5.13345 6.92597C4.96425 7.01368 4.77646 7.05947 4.58588 7.05948H3.11848",stroke:"currentColor",strokeWidth:1.25,strokeLinecap:"round",strokeLinejoin:"round"})),e=S.getLocalizedStrings(),p="completeProfilePage",Q="basicDetailsSection",m="addressSection",n=(A,i)=>`${A}.${i}`,fA=({userEmail:A,googleAPIKey:i,twoFactorAuthenticationView:r,saveStatus:G,hasUserEnteredBasicDetails:w,onSave:D,onGetOtp:M,onVerifyOtp:f,onResendOtp:y})=>{const[t,a]=B.useState(!1),[k,Y]=B.useState(!1),I=V({mode:"onChange",reValidateMode:"onChange",defaultValues:{basicDetailsSection:{name:{firstName:"",lastName:""},email:A,dateOfBirth:void 0,phone:"",address:void 0}}}),x=v({control:I.control,name:`${Q}.address`}),{dateFormat:F}=S.getLocalizedStrings(),h=()=>{const C=I.getValues(`${Q}.phone`);C!=null&&C.trim().length>0&&M(C)},L=(C,d)=>{f(C,d)},R=C=>{C!=null&&C.trim().length>0&&y(C)},U=()=>{a(!0)},b=()=>{a(!1)},K=()=>{const C=I.getValues(`${m}`);if(C!=null){const d=BA(C);I.setValue(`${Q}.address`,d)}a(!1)},P=I.handleSubmit(C=>{if(C[Q].phone!=null&&r.otpVerificationStatus.fetchState!=="Completed"||r.otpVerificationStatus.fetchState==="Completed"&&C[Q].phone!=r.phone){h();return}D&&D(C)}),{sendOtpStatus:O,otpVerificationStatus:s,otpChallenge:H,phone:j}=r,N=g.jsxs(rA,{children:[g.jsx(CA,{}),g.jsxs(sA,{children:[g.jsxs(lA,{children:[g.jsx(J,{children:s.fetchState==="Completed"?e.completeProfile.twoFAEnabled:e.completeProfile.enableTwoFA}),g.jsx(l,{controller:s.fetchState==="Completed",children:g.jsx(nA,{})})]}),g.jsx($,{children:e.completeProfile.enableTwoFADescription})]})]});return g.jsxs(oA,{children:[g.jsxs(tA,{children:[g.jsxs(IA,{children:[t&&g.jsx(iA,{onClick:b}),e.completeProfile.title]}),g.jsx(q,{...I,children:g.jsxs("form",{id:`${p}_form`,onSubmit:P,children:[g.jsx(l,{controller:w===!1,children:g.jsxs(u,{children:[g.jsx(l,{controller:t===!1,children:g.jsxs(c.Fragment,{children:[g.jsx(_,{isDisabled:"disabled",showAdditionalInfoLabel:!1,label:{label:e.common.labels.email,width:168},style:{width:"100%"},text:{type:"text",name:n(Q,"email")}}),g.jsx(W,{isDisabled:void 0,label:{label:e.common.labels.name,width:168},style:{width:"100%"},nameField:{name:n(Q,"name"),placeHolder:{firstName:e.common.placeholder.firstNamePlaceholder,lastName:e.common.placeholder.lastNamePlaceholder,name:e.common.placeholder.namePlaceholder},showFullNameError:!0,registerOptions:{required:!0}},errorInfoLabel:""}),g.jsx(T,{isOptional:!0,label:{label:e.common.labels.dob,width:168},style:{width:"100%"},isDisabled:void 0,dateField:{name:n(Q,"dateOfBirth"),placeholder:e.common.placeholder.dobPlaceholder,dateFormat:F.visual.defaultInput,autoComplete:"off",maxDate:eA().subtract(18,"year")}}),g.jsx(EA,{isOptional:!0,label:{label:e.common.labels.address,width:168},addressValue:{placeholder:e.common.placeholder.addressPlaceholder,address:x,onClick:U},style:{width:"100%",padding:`${E.sp2} ${E.sp2} ${E.sp2} ${E.sp0}`}})]})}),g.jsx(l,{controller:t===!0,children:g.jsx(c.Fragment,{children:g.jsx(Z,{sectionId:m,googleAPIKey:i,isSubPage:!0})})})]})}),g.jsx(u,{children:g.jsx(z,{infoBox:N,label:{label:e.common.labels.phone,width:168},style:{width:"100%",marginTop:E.sp3,padding:E.sp0},text:{name:n(Q,"phone"),placeholder:e.common.placeholder.phonePlaceholder,defaultValue:I.getValues(`${Q}.phone`),autoComplete:"new-password",options:{required:!0}},errorInfoLabel:"",verificationErrorInfoLabel:e.common.errorMessage.invalidPhoneNumber,isPopupOpen:k,productType:"complete_profile",phoneVerifyButtonProps:{otpChallenge:H,showOtpButton:!0,onGetOtp:h,onVerifyOtp:L,onResendOtp:R,isPhoneVerified:s.fetchState==="Completed",phoneVerificationStatus:s,getOtpStatus:O,verifiedPhoneNumber:s.fetchState==="Completed"?j:void 0,openPopup:()=>{Y(!0)},focusNotRequired:!0},bottomText:s.fetchState==="Completed"?"":e.completeProfile.phoneSetupText})})]})})]}),g.jsx(X,{formId:t?void 0:`${p}_form`,primaryBtn:{label:t?e.companyPassport.address.saveAddress:e.common.footer.save,type:t?"button":"submit",onClick:t?K:void 0,isLoading:G.fetchState==="In-Progress"||r.sendOtpStatus.fetchState==="In-Progress"},showCancel:!1})]})},oA=o.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
min-height: 100vh;
|
|
5
|
-
`,
|
|
5
|
+
`,tA=o.div`
|
|
6
6
|
display: flex;
|
|
7
7
|
flex-direction: column;
|
|
8
8
|
align-items: flex-start;
|
|
9
9
|
padding: ${E.sp5};
|
|
10
10
|
row-gap: ${E.sp3};
|
|
11
11
|
flex: 1;
|
|
12
|
-
`,
|
|
12
|
+
`,IA=o(AA)`
|
|
13
13
|
color: ${A=>A.theme.colors.primary};
|
|
14
14
|
text-align: left;
|
|
15
15
|
display: flex;
|
|
@@ -49,4 +49,4 @@ import{a9 as V,gS as v,F as S,V as g,gT as J,aa as l,al as $,ac as q,cI as _,cR
|
|
|
49
49
|
width: ${E.sp3};
|
|
50
50
|
height: ${E.sp3};
|
|
51
51
|
color: ${A=>A.theme.colors.success};
|
|
52
|
-
`;export{
|
|
52
|
+
`;export{fA as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{d6 as p,av as f,V as r,b5 as l,o as d}from"./index-CNJQ6T57.js";import{a}from"./sentry-9b1mvxJ5.js";import"./liveblocks-CUDrE-0X.js";import"./core-Be77t6wT.js";import"./recharts-CmZa-egc.js";import"./zeni-epic-state-DJX8u9R8.js";import"./mui-DsjrNjDe.js";import"./lottie-C5G-hUN3.js";import"./analytics-DH2FWXQR.js";import"./lexical-4qH-Yr6_.js";import"./utils-VcZ1Xqjg.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="5d74312c-5679-4e4e-814b-430dfd097a0d",e._sentryDebugIdIdentifier="sentry-dbid-5d74312c-5679-4e4e-814b-430dfd097a0d")}catch{}})();const u="https://storage.googleapis.com/zeni-apis.appspot.com/data/confetti_sfx.mp3",v=({showConfetti:e})=>{const[t,o]=a.useState(e),[s,i]=p(u,e),[n]=f("ConfettiSuccess");return a.useEffect(()=>{e&&o(!0)},[e]),a.useEffect(()=>{t&&s===!1&&i(!0)},[t,s,i]),r.jsx(r.Fragment,{children:t&&s&&n!=null?r.jsx(l,{style:{position:"absolute",width:"100%",height:"100vh",top:d.sp0,left:d.sp0,zIndex:5},onComplete:()=>{i(!1),o(!1)},animationData:n,loop:0,play:!0,goTo:0,rendererSettings:{preserveAspectRatio:"xMidYMid slice"}}):null})};export{v as default};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{V as n}from"./index-
|
|
1
|
+
import{V as n}from"./index-CNJQ6T57.js";import{a as r}from"./sentry-9b1mvxJ5.js";import{n as s}from"./mui-DsjrNjDe.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="8c117742-f646-4198-bee3-9e4fd8a5d2d7",e._sentryDebugIdIdentifier="sentry-dbid-8c117742-f646-4198-bee3-9e4fd8a5d2d7")}catch{}})();const i=s.div`
|
|
2
2
|
width: auto;
|
|
3
3
|
max-width: var(--side-panel-list-width, 100%);
|
|
4
4
|
position: relative;
|