@zeniai/web-cockpit-ui 1.15.25-dev → 1.15.26-dev
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/assets/ACHDetailsPage-CxpLuJpQ-oljmG-aN.js +21 -0
- package/dist/assets/{AIPerformancePage-BXF0kUqR-BgyTM2y7.js → AIPerformancePage-BtDuOBey-B5mBQCVW.js} +104 -104
- package/dist/assets/AccountInfoPage-DkpBGfrR-BAuNBIod.js +18 -0
- package/dist/assets/{AccountInfoPageContent-QMyPHCdY-DP0akuHx.js → AccountInfoPageContent-BLF92_vF-CW7wtofP.js} +15 -15
- package/dist/assets/AccountLockedInfoModal-AsMkXu1I-CUepwrH5.js +59 -0
- package/dist/assets/{AccountReconDetailsDrawerPage-CoXPQka7-DFQZksfD.js → AccountReconDetailsDrawerPage-CkaBrm5K-KV-fem_5.js} +10 -10
- package/dist/assets/AccountRow-aEmcYP8T-NzxiJ7E0.js +298 -0
- package/dist/assets/{AccountsPromoCardStack-Dkz2VyEk-BJf7WrAq.js → AccountsPromoCardStack-C0At5pn8-BVyntxD9.js} +22 -22
- package/dist/assets/AddAddressForCardDrawer-CbjThbsA-DCBhdPbu.js +6 -0
- package/dist/assets/{AddToWalletPage-p0T8VFfo-WTTL1b0G.js → AddToWalletPage-CMJwUbgf-CbZx4F8y.js} +47 -47
- package/dist/assets/{AgingReportsPage-CTzjRkV2-CkKYMdrC.js → AgingReportsPage-B_BSfude-DZk6eQ7D.js} +15 -15
- package/dist/assets/{AllUserItems-Dt9rMGJk-D2oOTLOS.js → AllUserItems-CGlWa60t-Bsvj0Bul.js} +13 -13
- package/dist/assets/{ApAgingDetailPage-71VQk7px-BPdIn6ZS.js → ApAgingDetailPage-DT3vkmLG-hWexPQ-R.js} +7 -7
- package/dist/assets/AppBasePage-CDy7wPlv-BdtLe6Er.js +71 -0
- package/dist/assets/{AppDrawerContent-ULUH1WZ3-CblzrDc2.js → AppDrawerContent-CEsXm_i6-DvQRPFBq.js} +4 -4
- package/dist/assets/{ApprovalRulesSettingsPage-Ciz-iaE5-ghG5WVzt.js → ApprovalRulesSettingsPage-CB2_4-2f-DqEewSSN.js} +1 -1
- package/dist/assets/{ArAgingChart-DcwM2rpv-C36SsOV8.js → ArAgingChart-qxhWsIQb-BR0MyGhc.js} +1 -1
- package/dist/assets/{ArAgingDetailPage-eGCSFdAM-BJk9vCxH.js → ArAgingDetailPage-BbzQryp_-si9TyFWf.js} +4 -4
- package/dist/assets/{AttachmentView-CA6PRg4p-DDr9TCOl.js → AttachmentView-duTVxc9g-Cx51cWLo.js} +4 -4
- package/dist/assets/{BankAccountSection-mWUT-G8y-2k5xTeyX.js → BankAccountSection-CAwAf9xK-dEu3iigm.js} +5 -5
- package/dist/assets/{BankAccountWarningSection-IMtILLfL-BhKJ6bLn.js → BankAccountWarningSection-CaDnP9_--B_s5lRpF.js} +11 -11
- package/dist/assets/{BankConnectionsSettingsPage-COyH3rdC-Be8G7lph.js → BankConnectionsSettingsPage-CDV7O8cl-CKVB9msh.js} +10 -10
- package/dist/assets/{BillDetailPage-BR_9uHRC-mLWBTrh1.js → BillDetailPage-DJxh2CIc-BDq5xtCx.js} +13 -13
- package/dist/assets/{BillPayApprovalRuleDetailPage-cRAudMvm-CWVbYb1D.js → BillPayApprovalRuleDetailPage-B2ZPbqtr-DoqAcsu7.js} +2 -2
- package/dist/assets/{BillPayApprovalRulesPage-Cd0aJtip-BTxbg4yL.js → BillPayApprovalRulesPage-MM7v8ZMx-BqexuGBp.js} +8 -8
- package/dist/assets/{BillPayPromoPage-BYW097HT-D4YnpN75.js → BillPayPromoPage-JK-VOx4W-CHt5RuWY.js} +8 -8
- package/dist/assets/{BillPaySetUpPage-BahrLUn4-CqC29kIw.js → BillPaySetUpPage-h0uoCWMl-B3vp9xYH.js} +2 -2
- package/dist/assets/BillingSettingsPage-gJG9OxD6-sAZcxvhc.js +44 -0
- package/dist/assets/{BillsBulkReviewDrawerPage-CJ-GbBhL-B7DfrKfl.js → BillsBulkReviewDrawerPage-CPPDFsZt-D7n_HeTo.js} +1 -1
- package/dist/assets/{BoxItem-CvhcNreT-DxmoznPD.js → BoxItem-CYe_gTmA-3TpRGAgq.js} +1 -1
- package/dist/assets/BusinessVerificationPage-Dos8Bnvb-tV078-eh.js +138 -0
- package/dist/assets/{CardNumberSubText-CfoSPAZU-BdVhRiwJ.js → CardNumberSubText-CFDhtij8-Dsv6kEZQ.js} +3 -3
- package/dist/assets/{CashbackDetailPage-CWlaZrqz-DvIAxVRW.js → CashbackDetailPage-BBGGzKh7-DUHJlZVl.js} +13 -13
- package/dist/assets/{ChargeCardDetailPage-BNNbd3G1-BtUCuJum.js → ChargeCardDetailPage-BQhago53-wjHuLhkC.js} +35 -35
- package/dist/assets/{ChargeCardListPage-BzIvl8RY-Ncd3QF6u.js → ChargeCardListPage-B0E-C3RH-B7k2t4T5.js} +16 -16
- package/dist/assets/{ChargeCardListTable-D-uQKI4t-lkMdiYYu.js → ChargeCardListTable-ByGv0xWl-DMSCDnKA.js} +46 -46
- package/dist/assets/{ChargeCardPaymentHistoryPage-DmzlfD-l-OAmKFjuL.js → ChargeCardPaymentHistoryPage-LCY9rFqO-BkZDtpLS.js} +12 -12
- package/dist/assets/{ChargeCardPromoPage-DOYqOs6K-xBYShKSz.js → ChargeCardPromoPage-CKEnOseD-C5Oe_CBA.js} +11 -11
- package/dist/assets/{ChargeCardSetupPage-CSnLMycu-BkjYVqCn.js → ChargeCardSetupPage-BHv2VOdc-7YAt9Um1.js} +3 -3
- package/dist/assets/ChargeCardStatementsPage-UpRXyPTS-DMihpC1F.js +60 -0
- package/dist/assets/{CheckDepositDrawerPage-DN5Ok0Y6-DOjKYa5p.js → CheckDepositDrawerPage-0zbTQ3Fa-BLYoChOi.js} +21 -21
- package/dist/assets/{CollapsableReportTable-CncMWpFI-CnBbDhbn.js → CollapsableReportTable-DlYIKSlQ-CcB96aJz.js} +93 -93
- package/dist/assets/CompanyOfficerDetailsSection-Ck0xqZ0d-BRXSA5bv.js +260 -0
- package/dist/assets/{CompanyPassportCard-Ccw8l9iz-CwNj32nj.js → CompanyPassportCard-DeVPuuje-pYw0P8-e.js} +3 -3
- package/dist/assets/CompanyPassportPage-F_GUET9a-DyWAWfST.js +574 -0
- package/dist/assets/{CompleteProfile-CQUDJ-nI-DJVg2OT2.js → CompleteProfile-Y6HwKtpz-CAD13Y73.js} +2 -2
- package/dist/assets/ConfettiBurst-BGE3Okwr-BH3P6Vot.js +1 -0
- package/dist/assets/{ConstrainedInnerElement-BeIpAPjB-BVda4Dj4.js → ConstrainedInnerElement-BeIpAPjB-BElBEfq9.js} +1 -1
- package/dist/assets/{CreateOrEditVendorPage-DM90rr4S-BcABoxWR.js → CreateOrEditVendorPage-BlZe6gmh-CQZW25xI.js} +16 -16
- package/dist/assets/{CreditCardPaymentDrawerPage-Bh0QdxXh-Dti2BnoN.js → CreditCardPaymentDrawerPage-flPmyCaF-BN_zrabq.js} +11 -11
- package/dist/assets/{CurrencySelectField-BDfEzwpU-4zlCOdOf.js → CurrencySelectField-RiKAivD8-Men9-Qs8.js} +5 -5
- package/dist/assets/{CustomerOnboardingActivationPage-CJGtq19l-BpCso2Fz.js → CustomerOnboardingActivationPage-B7dLMk4g-9XWjuxWa.js} +3 -3
- package/dist/assets/CustomerOnboardingContainerPage-BHPDhC3d-CAVfCCXg.js +1 -0
- package/dist/assets/{CustomerOnboardingDetailPageSkeleton-DSqc1_bS-CATYZXta.js → CustomerOnboardingDetailPageSkeleton-AWsst0XH-Dm9ock3U.js} +14 -14
- package/dist/assets/CustomerOnboardingNoStepsPage-Bqid4-rH-1Q4j5GPR.js +66 -0
- package/dist/assets/CustomerOnboardingPage-B5LrMzZS-C9Fs1CgW.js +107 -0
- package/dist/assets/{CustomerOnboardingProductSuitePage-CZDipU2j-BbQ2Iy2J.js → CustomerOnboardingProductSuitePage-DqgoBLWp-CqOyrhHJ.js} +6 -6
- package/dist/assets/{Dashboard-DyQZQS2X-mxU1Jkng.js → Dashboard-D0KlujCx-DnjbaQQd.js} +66 -66
- package/dist/assets/{DashboardReportPage-Dn7pVdG9-DtcRvxDO.js → DashboardReportPage-bxKyMsG7-D9LgF6Vc.js} +13 -13
- package/dist/assets/DashboardSidebarBackgroundAnimation-Ch0OiH1g-8bPW9HsA.js +12 -0
- package/dist/assets/{DepositAccTransactionItem-DDdkQsmn-B5pGW8gX.js → DepositAccTransactionItem-BdZVCAx--B5mbkfQv.js} +6 -6
- package/dist/assets/{DepositAccTransactionListPage-BHdmR6m5-7yonpKjA.js → DepositAccTransactionListPage-LU0QMdSV-BPGsYfzN.js} +7 -7
- package/dist/assets/{DomesticWireDetailsPage-CpwSOc_0-CElrVONi.js → DomesticWireDetailsPage-CFt5GgZ1-DPIozVv0.js} +1 -1
- package/dist/assets/{DownloadOverlay-Dhib22Hz-D3Lt9Smx.js → DownloadOverlay-CH_bA3On-JFXgpsko.js} +11 -11
- package/dist/assets/{DrawerPage-nxxj86nQ-CJOa9BEO.js → DrawerPage-Cpdp-IFb-6O8ALZwh.js} +14 -14
- package/dist/assets/EditPeoplePage-BYnuNojX-COJTJTYl.js +55 -0
- package/dist/assets/{EditReimbursementDetailPage-C2kqq9QP-Bbzp1pVf.js → EditReimbursementDetailPage-DnyyPZ26-CW_m0PAT.js} +73 -73
- package/dist/assets/EntityDetailPage-DSfZZ1JW-NbMT0IAK.js +18 -0
- package/dist/assets/{EntitySummarySection-C29GLBzF-CWqpKadr.js → EntitySummarySection-BFpgAYAM-CKlhnXLV.js} +8 -8
- package/dist/assets/{ExpenseAutomationOverviewPage-B4kcx-VG-CGPR3A1h.js → ExpenseAutomationOverviewPage-YjOVm_Bw-BDJuPgHE.js} +22 -22
- package/dist/assets/{ExpenseAutomationPage-DNwnoyPg-DCSz-PUa.js → ExpenseAutomationPage-DlhH-R-e-DCW88pdW.js} +285 -295
- package/dist/assets/{ExpressPayPage-K-InpYtZ-DIVfrk0c.js → ExpressPayPage-CKqPEfbR-pk0o4BxB.js} +21 -21
- package/dist/assets/{FeaturePreviewPage-IsRBHkoD-e3f7mixU.js → FeaturePreviewPage-Cs1Y3nP0-BgQT4DqF.js} +2 -2
- package/dist/assets/{FollowStepsSection-ClyCs5f_-Dx038WgT.js → FollowStepsSection-BCyL8Jdr-CPpGgHn-.js} +1 -1
- package/dist/assets/{GlobalReviewListPage-n8XrBXXp-BZl-OsOG.js → GlobalReviewListPage-CBQFcVHd-XH4CFBRM.js} +16 -16
- package/dist/assets/{InformationCardStack-BnOF2kCh-C7gNsonq.js → InformationCardStack-nFMetrAy-CMfT3sbg.js} +6 -6
- package/dist/assets/{InsightsCardStack-Bgzkang3-CA8GAaRZ.js → InsightsCardStack-CEMeGJXy-DkdJ-vVc.js} +9 -9
- package/dist/assets/InsightsSection-BYiN2xB7-Tq3IZNKc.js +27 -0
- package/dist/assets/{IntegrationsSettingsPage-D1QWrVQw-BXx7A_Fv.js → IntegrationsSettingsPage-BQ7g3a3K-BdOaL4VS.js} +3 -3
- package/dist/assets/{InternationalWireSwiftDetailsPage-DNNEqdWS-B78a52iW.js → InternationalWireSwiftDetailsPage-BHRYsZgm-DSuBLSD4.js} +20 -20
- package/dist/assets/InternationalWireVerificationPage-tJbVtzQP-CQvYGebF.js +292 -0
- package/dist/assets/{InviteFormPage-C-Io8wxr-DZ679TjD.js → InviteFormPage-BVXte8w8-MDAVTXGi.js} +21 -21
- package/dist/assets/{InvitePageListView-B1PLdKSn-3WJcdIb9.js → InvitePageListView-DFPyLLrA-CONqmQCs.js} +55 -55
- package/dist/assets/InvitePeoplePage-B-uxjkke-6b_Qz0Yf.js +12 -0
- package/dist/assets/InvoiceUploadSection-B9q7nIs0-DhF51Ukp.js +140 -0
- package/dist/assets/{IssueChargeCardPage-CC6D-uPl-dzV4_AJm.js → IssueChargeCardPage-BuLj1bOl-DtlAMUV4.js} +15 -15
- package/dist/assets/{LabeledAddressValue-CKZJgaV5-cxiw5XUU.js → LabeledAddressValue-D2t8ti-C-Z0RI74Eh.js} +2 -2
- package/dist/assets/LabeledAddressValueField-DMcor_I8-C6G1J4Y2.js +45 -0
- package/dist/assets/LabeledControlledCheckBoxField-B6w2HGJK-6LsZxWHa.js +16 -0
- package/dist/assets/{LabeledCreatableSingleSelectField-N1wb0l0p-Dc3bkr-e.js → LabeledCreatableSingleSelectField-DHNAX5Pu-BPIIBKMF.js} +13 -17
- package/dist/assets/LabeledDocumentField-Bx1u7vv_-DaqPO373.js +41 -0
- package/dist/assets/LabeledDropDownFormattedTextField-BBS4da2b-Pp7kOChU.js +59 -0
- package/dist/assets/{LabeledText-DiJE8avC-CseM5wCJ.js → LabeledText-zjKn4Cw--WpJNibWz.js} +5 -5
- package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-CLup6THe-B8wjUmse.js → LabeledUserSingleSelectWithSubtitlesField-CIofqRT6-l_A9LTk7.js} +20 -20
- package/dist/assets/{LabeledZeniRolesDropDownField-CVg9PTpl-CmXvnZ1S.js → LabeledZeniRolesDropDownField-DiBtAWQ3-_N52HAlB.js} +33 -33
- package/dist/assets/{LinkJETransactionPage-DaGHGCIJ-ZPmKuaes.js → LinkJETransactionPage-D66bzDh_-B4JreFf6.js} +8 -8
- package/dist/assets/{LockCardPage-CGYlmPkB-BpMPFgRW.js → LockCardPage-B1g2TZWL-hWz0sEAN.js} +22 -22
- package/dist/assets/{LowBalancePopup-YJW7eKud-C5-4WX6d.js → LowBalancePopup-DbtHeVY--8cU4w1E0.js} +6 -6
- package/dist/assets/MagicLinkACHDetailsPage-X1pXkZYT-7knh_ltw.js +1 -0
- package/dist/assets/MagicLinkDomesticWireDetailsPage-BDl8k_bB-ESO2QI-z.js +1 -0
- package/dist/assets/{MagicLinkInternationalWireDetailsPage-COXCHYYI-DrkXHgBT.js → MagicLinkInternationalWireDetailsPage-Q4lIsHtG-J3sKHPD3.js} +1 -1
- package/dist/assets/MagicLinkSuccessPage-BkxuITX--B7psstiC.js +31 -0
- package/dist/assets/{MagicLinkTitleSection-CCF7Ahgh-BraYyP_S.js → MagicLinkTitleSection-CqkZ9wOf-BR_t9OGm.js} +4 -4
- package/dist/assets/MailingDetailsSection-DRFGCM2W-D_ajBet8.js +21 -0
- package/dist/assets/{MyBankConnectionsSettingsPage-BJi0owDl-C6fsBM4C.js → MyBankConnectionsSettingsPage-CE2ZqHBJ-DRRK16jW.js} +9 -9
- package/dist/assets/{MyPendingActivationChargeCardListPage-BWIla-hh-BQ4ym9Ei.js → MyPendingActivationChargeCardListPage-BffxXDZg-DDMywOmd.js} +2 -2
- package/dist/assets/MyProfileSettingsPage-DrsAlesY-CW5UQDbf.js +85 -0
- package/dist/assets/{NavBarWithPicker-BGZvvByA-4hcBX9YX.js → NavBarWithPicker-C4VfP_Kw-BlN6D07W.js} +5 -5
- package/dist/assets/{NavigationArrow-C3pN6F3u-tAd2nukx.js → NavigationArrow-DCCxx6H7-HhnIS8HH.js} +7 -7
- package/dist/assets/{NavigationDots-D1rJnVkZ-DI_AwSe8.js → NavigationDots-tWCw6Bpk-Mo0z1mhF.js} +4 -4
- package/dist/assets/{NewGlobalMerchantPage-DU2Z_NYb-CczYC_Cy.js → NewGlobalMerchantPage-UIA8zAjd-D_Ilslhf.js} +12 -12
- package/dist/assets/{NoDataChart-DuEsebs4-BQTTXvg9.js → NoDataChart-Bvetk9za-Dz6Kgiua.js} +2 -2
- package/dist/assets/NoDataTable-9xF1_3XS-gmK0ApJv.js +8 -0
- package/dist/assets/{NotFoundPage-DLtikmoi-CJn1LsuA.js → NotFoundPage-CdH-3upl-BWvfv-me.js} +6 -6
- package/dist/assets/{NotificationSettingsPage-DwsCKyVM-AIL1SOh9.js → NotificationSettingsPage-DP2gGIz1-CAx-Ob95.js} +12 -12
- package/dist/assets/{NotificationsListConfig-CMtBeX4D-Dg29H_7b.js → NotificationsListConfig-DG-DH2Aj-B1EWk1B7.js} +1 -1
- package/dist/assets/{NotificationsPage-CZrXzWli-9C2iwOMz.js → NotificationsPage-CgFMmR2X-DW2MYafR.js} +24 -24
- package/dist/assets/{OpExByVendorPage-0PLAOQu5-DLLDMhgS.js → OpExByVendorPage-eUvIAWzt-J9dFs64l.js} +20 -20
- package/dist/assets/OverlayContainerPage-D4QU0p4o-CRh-4TRn.js +11 -0
- package/dist/assets/{PandLWithForecastPage-PkrBqcAR-Djqg6ntv.js → PandLWithForecastPage-8S06Nyi5-Bs1OiKUY.js} +11 -11
- package/dist/assets/PaymentAccountSetupBillingAddressSection-DQtrANhI-CgW6kWBO.js +107 -0
- package/dist/assets/PeoplePage-D1BLHtO0-Cm2cmSqy.js +675 -0
- package/dist/assets/{Preview-DaDKYAzg.js → Preview-CyX-vurX.js} +1 -1
- package/dist/assets/{ProductsCarousel-fMS3PJAc-r1K9Xxoj.js → ProductsCarousel-BKSXWnFR-BT4vvSaJ.js} +5 -5
- package/dist/assets/{PromoBaseCards-HY42c1kU-DSpx7Fy3.js → PromoBaseCards-BYT9nEJT-1c2PW57m.js} +17 -17
- package/dist/assets/{QBOConnectionDialog-B_AOC_hG-BSWcu79k.js → QBOConnectionDialog-C2-omQMZ-CW3-Jgl1.js} +3 -3
- package/dist/assets/{QBOSetupSection-CQHdqpJF-CH_S6Ewi.js → QBOSetupSection-lgv5wVlg-Db43UmDc.js} +16 -16
- package/dist/assets/{ReimbursementApprovalRuleDetailPage-D0oeO5MZ-95x-7hZW.js → ReimbursementApprovalRuleDetailPage-CbJViS3x-DEQyVs-F.js} +2 -2
- package/dist/assets/{ReimbursementApprovalRulesPage-Beg7ljMA-Cr4MOQVc.js → ReimbursementApprovalRulesPage-BuNt-Bmb-qkoyA-iD.js} +8 -8
- package/dist/assets/{ReimbursementDetailPage-DBxKNhum-DE3tfEga.js → ReimbursementDetailPage-CK3-Jqkd-ComGCWG4.js} +8 -8
- package/dist/assets/{ReimbursementPromoPage-DxZeTOQW-CNGgL2HL.js → ReimbursementPromoPage-fptOAJna-UPQyz9k9.js} +20 -20
- package/dist/assets/{ReimbursementSetUpPage-CN4LhFrS-BfRZlJ5w.js → ReimbursementSetUpPage-CidrpT2g-C4LYSo0t.js} +10 -10
- package/dist/assets/{ReimbursementsBulkReviewDrawerPage--6OUmjzW-D3GoPfdC.js → ReimbursementsBulkReviewDrawerPage-Cy_Hediw-DbKZBLTq.js} +1 -1
- package/dist/assets/{ReloadCard-BluhBNO--D0eilzgR.js → ReloadCard-C81rGzOp-DY4k84ea.js} +5 -5
- package/dist/assets/{ReportTableViewSelector-8KYimU0G-YYB33_Xu.js → ReportTableViewSelector-neRSjrhV-C6WBlOcq.js} +9 -9
- package/dist/assets/{ReportsPage-D-UfdQ34-CNx_b_ly.js → ReportsPage-BhzQVaer-B4A4M4e5.js} +1 -1
- package/dist/assets/{RevenueChart-C9EztEKi-BbW9YFNy.js → RevenueChart-x7uTbFlm-CNwMod8g.js} +18 -18
- package/dist/assets/{ReviewDetailsPage-B6SYtYUA-d0bXCGW4.js → ReviewDetailsPage-jXZCylzg-BIFUDhZH.js} +31 -31
- package/dist/assets/{ReviewOverlay-C2enVZqt-C_vH9CpL.js → ReviewOverlay-nlm2HnGw-9bQU05T1.js} +18 -18
- package/dist/assets/RoleWithToolTip-C29QOzxS-BIz3hnmq.js +22 -0
- package/dist/assets/{ScheduleDetailsFixedAssetsPage-DmBVVX79-6-1NS4t6.js → ScheduleDetailsFixedAssetsPage-CkPzofLN-BgCHEx2z.js} +8 -8
- package/dist/assets/{ScheduleDetailsPage-Bp3d9tdD-Ct_0Fci8.js → ScheduleDetailsPage-BSZefKOh-6HOYgX85.js} +8 -8
- package/dist/assets/ScheduleSequenceTable-BW5M7Zfq-Cc7Psi6L.js +324 -0
- package/dist/assets/{ScreenRoutes-CvjimsD0.js → ScreenRoutes-DOxgrmyz.js} +1 -1
- package/dist/assets/{SetUpAccountSection-DiEFZwFL-DC1aQ-pj.js → SetUpAccountSection-C703iFL6-DWHc95vH.js} +5 -5
- package/dist/assets/SignIn-D9K5FklU-C-Fq_guN.js +491 -0
- package/dist/assets/SignInScreen-pGoo9woj.js +1 -0
- package/dist/assets/{SpendManagementListViewPage-BoWIPx5V-DXR-HLOL.js → SpendManagementListViewPage-CBNtC74m-DqpxdGQ6.js} +13 -13
- package/dist/assets/{SpendManagementPerTabPage-DRrECrxC-dCEqiObE.js → SpendManagementPerTabPage-D_sa7WRd-CzMD5xEZ.js} +25 -25
- package/dist/assets/{SpendManagementSection-xoH8d-PB-6nPhw1xu.js → SpendManagementSection-DpZUTV6m-Dyv3RP83.js} +23 -23
- package/dist/assets/StatementItem-DvdSsb8I-4NJSevH0.js +31 -0
- package/dist/assets/StatementsPage-73jGj5P2-DfWSq1-t.js +58 -0
- package/dist/assets/{StatusSwitcher-C-2QxP_3-DVOlvAn4.js → StatusSwitcher-hKYgwNLC-CE1foddz.js} +2 -2
- package/dist/assets/{SubTabSwitcher-D3iTZY-F-CSjMFn8K.js → SubTabSwitcher-aeDd9xiF-D4uOjs0t.js} +2 -2
- package/dist/assets/{SummaryCard-BbzDLzif-jCXiXuPT.js → SummaryCard-CK8Gxbiu-DemkEVCq.js} +1 -1
- package/dist/assets/{TaskManagementPage-DI_lMbra-CdUdFSOY.js → TaskManagementPage-D2Ooq8DR-DrMY4gdr.js} +15 -15
- package/dist/assets/{TimeRangeSwitcher-C3mH2YE7-CZoVUBkm.js → TimeRangeSwitcher-DEqlZxa6-BNFFHAst.js} +11 -11
- package/dist/assets/{TimeframeSwitcher-C8iVJfJz-B35AQLzW.js → TimeframeSwitcher-BppC6giF-D-wC9bQx.js} +6 -6
- package/dist/assets/TimeframeSwitcherWithToggle-CbX9ElMN-Txpnr2g5.js +31 -0
- package/dist/assets/{TopExCard-DlberdWy-AXYKUOGt.js → TopExCard-Cy6tPVSx-B-keVDu8.js} +6 -6
- package/dist/assets/{TopExDetailPage-DZyUPQ9i-kejvgUv1.js → TopExDetailPage-Rtrcdkcp-BJDfbujg.js} +11 -11
- package/dist/assets/{TransactionActivityLogPage-Bpdbc21v-DQ1FP9jB.js → TransactionActivityLogPage-DbwSsjPJ-BIwIVqy-.js} +15 -15
- package/dist/assets/TransactionDetailPage-D-vXAAB7-Bzb02Sjl.js +903 -0
- package/dist/assets/TransactionList-BruCNjQg-CPy3bOrg.js +153 -0
- package/dist/assets/{TransactionListBig-D6Q9QimF-DjvcRG58.js → TransactionListBig-bp7q3prH-B3o9La4k.js} +13 -13
- package/dist/assets/TransactionListPage-ZfJsaVb8--vXsSJCl.js +35 -0
- package/dist/assets/{TransactionVendorDetailPage-B4A4amjV-rbnaqzN7.js → TransactionVendorDetailPage-CldkuO2--QReUEWYz.js} +7 -7
- package/dist/assets/{TransferDrawerPage-Dfhpu5Yd-D-lZQHfG.js → TransferDrawerPage-DswS6KZf-BpK3RBCC.js} +27 -27
- package/dist/assets/{TreasuryOverviewPage-B6WhqRDb-BYZSOn3C.js → TreasuryOverviewPage-DWo7iRpO-gYNjYUSH.js} +1 -1
- package/dist/assets/{TreasuryPromoPage-C5DXueHJ-DvuJR2wv.js → TreasuryPromoPage-DQxCF3-4-BI9m1Cpo.js} +131 -131
- package/dist/assets/{TreasuryStatementsPage-8qXJLq1U-C7VbrxO2.js → TreasuryStatementsPage-CYkPtmaT-BgyV-fq7.js} +2 -2
- package/dist/assets/TreasuryTaxLetterPage-DH3su_rX-Dyk_wpPB.js +58 -0
- package/dist/assets/{TrendChart-FPLC1aMv-BpKn1lA4.js → TrendChart-BMHDaOeh-DUFeSEwp.js} +3 -3
- package/dist/assets/{TrendWithTransactions-_O4Fz3pt-B_P0jc9Y.js → TrendWithTransactions-DDLrmIrt-D7YkaYJE.js} +3 -3
- package/dist/assets/{UncategorizedAccountsMappingPage-rdMygvxx-CB5luTSv.js → UncategorizedAccountsMappingPage-3SW8Gj0Z-DxcmP_9M.js} +22 -22
- package/dist/assets/{UnitIntegrationPage-WfFukh9_-Db1kSxll.js → UnitIntegrationPage-DPMy8dXP-Ds2V7iqZ.js} +11 -11
- package/dist/assets/{UploadAdditionalDocumentOverlay-xiqklxM_-C-ghpumD.js → UploadAdditionalDocumentOverlay-BHpT2al--Bh-cR8rL.js} +1 -1
- package/dist/assets/Vendor2FAPopup-C6gEOhUv-DnLG0jax.js +1 -0
- package/dist/assets/VendorACHDetailsPage-LNCcubjL-BnzYtLeS.js +1 -0
- package/dist/assets/{VendorDetailPage-Cexet52V-fximdJ6Q.js → VendorDetailPage-BC1FhaQA-BTYI8FHa.js} +25 -25
- package/dist/assets/{VendorDomesticWireDetailsPage-DbhChvIp-Cn8HKuB3.js → VendorDomesticWireDetailsPage-CLudahOt-DWedRRGC.js} +1 -1
- package/dist/assets/{VendorFiling1099EditablePage-Bnwp2JiZ-B1voyhYV.js → VendorFiling1099EditablePage-DYyPOA8D-SaXokDu7.js} +38 -38
- package/dist/assets/{VendorFirstReviewPage-C_xSf47L-YlGbjVwi.js → VendorFirstReviewPage-Cpmk7rDk-CLDuk2Z1.js} +37 -37
- package/dist/assets/{VendorInternationalWireDetailsPage-DVuenbq8-CpmeIHQG.js → VendorInternationalWireDetailsPage-CWAWq6kq-BqWv0FEj.js} +9 -9
- package/dist/assets/VendorInternationalWireSwiftDetailsPage-CUtums8t-Cnhhvl1i.js +1 -0
- package/dist/assets/{VendorsAccountsSection-DYSlIqnJ-D8aKvLQv.js → VendorsAccountsSection-CGQ35Mhp-CZRiYNTG.js} +2 -2
- package/dist/assets/{VerifyDevice-MbuunHNJ-0NsL1ICM.js → VerifyDevice-CfMJW1Vh-CQyEdsek.js} +9 -9
- package/dist/assets/{VideoPlayer-B-oV4gcS-IlmjYyud.js → VideoPlayer-BNBpjXJk-S1NV6cBn.js} +2 -2
- package/dist/assets/{VideoPopup-DFfn4tne-e-69xGLM.js → VideoPopup-BF6lmB7l-C8AjwQYx.js} +5 -5
- package/dist/assets/{WarningsDrawerPage-C_nKfBpS-CgVWLVpY.js → WarningsDrawerPage-Crj70lnR-CqPc_yNz.js} +3 -3
- package/dist/assets/{ZeniAccountDetailPage-jYwDoLiN-C9ExO4Jo.js → ZeniAccountDetailPage-CaA6m3tQ-BxjiYTPx.js} +12 -12
- package/dist/assets/{ZeniAccountListViewPage-CWiWh2ld-BsZ-NitY.js → ZeniAccountListViewPage-x_51gDs1-BURzAUSX.js} +9 -9
- package/dist/assets/ZeniAccountNavBarPieces-Csr24dri-Dtq04dNH.js +14 -0
- package/dist/assets/{ZeniAccountPromoPage-DPab5PDZ-CdBoWbQ6.js → ZeniAccountPromoPage-lxKBk2r5-B3car8p6.js} +13 -13
- package/dist/assets/{ZeniAccountSetupPage-Dbqa1LpU-DR-JNx31.js → ZeniAccountSetupPage-DUI4-2Zw-CqTcY3yC.js} +1 -1
- package/dist/assets/{ZeniCopyright-SDIPg48K-6zG7DJUz.js → ZeniCopyright-DxEZ4DiK-Bx5L4V4v.js} +1 -1
- package/dist/assets/{ZeniTransferAmountSlider-Bg59KBt9-PXMuIYqh.js → ZeniTransferAmountSlider-4Nq4Sm9J-CWNMmcE5.js} +11 -11
- package/dist/assets/{add-to-wallet-DgdBD8_G-4MTVGYLk.js → add-to-wallet-DgdBD8_G-Ckn7-tS3.js} +1 -1
- package/dist/assets/{analytics-DkApCpAh.js → analytics-DgE91yP9.js} +1 -1
- package/dist/assets/{analyticsHelper-DfCXurTN-CSH8s8BS.js → analyticsHelper-CL-t3Y2i-DqLgDKAm.js} +1 -1
- package/dist/assets/analyticsHelper-qCgSbR3t.js +1 -0
- package/dist/assets/{arrow-south-east-round-PEovUgvH-sjXlUHVP.js → arrow-south-east-round-PEovUgvH-6_ok8u4n.js} +1 -1
- package/dist/assets/{auto-transfer-rule-mbafm5D3-8P5UKTjR.js → auto-transfer-rule-mbafm5D3-DaMjzKK3.js} +1 -1
- package/dist/assets/{chartTypes-H306f0ce-DSh0OTeZ.js → chartTypes-B3501CSI-Eia1dEGg.js} +1 -1
- package/dist/assets/{commonDimensions-CWffpElu-DyTXC1xY.js → commonDimensions-YcBBlmYP-HRUAmifl.js} +1 -1
- package/dist/assets/{constants-42un7CRh.js → constants-DU2Tv8MD.js} +1 -1
- package/dist/assets/{core-DQ8U4CJb.js → core-CEu4PzGb.js} +1 -1
- package/dist/assets/{dash.all.min-xDoItceu.js → dash.all.min-wN4tXsVF.js} +1 -1
- package/dist/assets/{detailCommon-CfrL4ryy-K2hvWKyD.js → detailCommon-C19MYPnq-B5eEk_1Z.js} +2 -2
- package/dist/assets/downloadPdf-DPAqxw6u-DccTm81d.js +1 -0
- package/dist/assets/{empty-DBMIDect.js → empty-CarmpCiV.js} +1 -1
- package/dist/assets/{empty-DMdKDWd5.js → empty-SBaJLmT7.js} +1 -1
- package/dist/assets/epic-jB8ji6P2.js +2 -0
- package/dist/assets/{gift-box-Cmt9OgIZ-CKZgCX5V.js → gift-box-Cmt9OgIZ-Cfao5pzw.js} +1 -1
- package/dist/assets/{graphic-no-data-l-DU4J8fDt-B74xUk4A.js → graphic-no-data-l-DU4J8fDt-CtMgv3E2.js} +1 -1
- package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-CY998Ry-.js → graphic-no-data-net-burn-l-CzmycA0m-CxhhGXfI.js} +1 -1
- package/dist/assets/{handshake-BPg58FML-ci6EVnAm.js → handshake-BPg58FML-Cr0KvGET.js} +1 -1
- package/dist/assets/{index-DlHdI3-w.js → index-C65pc_ms.js} +1 -1
- package/dist/assets/{index-Ci8_ElRT.js → index-CM4tXRl_.js} +1 -1
- package/dist/assets/{index-uFwLgEj2.js → index-CTIRcS5n.js} +1 -1
- package/dist/assets/{index-CP7n6qbn.js → index-DdSqYqAO.js} +1 -1
- package/dist/assets/{index-MLR605z1.js → index-DotN2qpo.js} +1 -1
- package/dist/assets/{index-BIYLqgct.js → index-GSKpJ8ET.js} +4076 -4065
- package/dist/assets/{index-C-yZdmSC.js → index-qEET5oej.js} +1 -1
- package/dist/assets/{lexical-CvUIM9vD.js → lexical-CnqcqOEB.js} +1 -1
- package/dist/assets/{liveblocks-DXGUxn7J.js → liveblocks-D1OOExFG.js} +1 -1
- package/dist/assets/{lottie-C1yptpVV.js → lottie-fNTw06NH.js} +1 -1
- package/dist/assets/mapLoadingInProgressToTreeNode-D2u9MDI--Bj-YdG55.js +1 -0
- package/dist/assets/{mapSectionWithAcOnlyToTreeNode-CH8Zwu7Z-DxWz5zBn.js → mapSectionWithAcOnlyToTreeNode-BDWD3x8r-CFpEHrc_.js} +1 -1
- package/dist/assets/mapSpacerToTreeNode-Blr3egSm-C65_6eW3.js +1 -0
- package/dist/assets/mapTimeframeBalancesToTreeNode-3Hd8QHr2-D-fvMaDb.js +1 -0
- package/dist/assets/mapTimeframeBalancesToTreeNode-D-LTfKnD-D-V0iqTB.js +1 -0
- package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-CffU-RPP-Cn_Z85da.js +1 -0
- package/dist/assets/{mui-rLvQ8A4a.js → mui-DenpH-hx.js} +1 -1
- package/dist/assets/{page-detail-CWX5S47F-DxBKGqnW.js → page-detail-CWX5S47F-CMu9po0A.js} +1 -1
- package/dist/assets/panelSelectedMixin-CzfD5-Zs-Z09J1JBQ.js +4 -0
- package/dist/assets/{radio-default-CiSgisfh-D50TMWyl.js → radio-default-CiSgisfh--A7TRB5H.js} +1 -1
- package/dist/assets/{react-CD-rvAYw.js → react-B5LP5NK7.js} +1 -1
- package/dist/assets/{react-XCvfp0dN.js → react-BGO_hhif.js} +1 -1
- package/dist/assets/{react-BGRcEI9e.js → react-BNXAqjdV.js} +1 -1
- package/dist/assets/{react-CeXW-10t.js → react-BbEkWrBm.js} +1 -1
- package/dist/assets/{react-D5l7wk4q.js → react-BbsHWhNi.js} +2 -2
- package/dist/assets/{react-CKPzfXiX.js → react-CX4zcxjw.js} +1 -1
- package/dist/assets/{react-CaPJ_R38.js → react-D97zLppZ.js} +2 -2
- package/dist/assets/{react-BFvwO_Qx.js → react-DvuAhc__.js} +1 -1
- package/dist/assets/{recharts-BYppTjSs.js → recharts-9NtTDQfo.js} +1 -1
- package/dist/assets/{sentry-DhNwX3jk.js → sentry-BZBky1_g.js} +1 -1
- package/dist/assets/{shield-DOlUxcFf-1dcmCA6e.js → shield-DOlUxcFf-DnxNebOP.js} +1 -1
- package/dist/assets/toCOABalancesWithID-D35Fk0m2-dL9iDsOU.js +1 -0
- package/dist/assets/{toChartData-ILqaSUrn-x9ixmlfa.js → toChartData-DzatRnt8-Cq2-M4CL.js} +1 -1
- package/dist/assets/{uploadAttachment-BO1VJaKW-DrgLpT8c.js → uploadAttachment-Bq8dk-Sm-DirS4o1A.js} +18 -18
- package/dist/assets/{uploadReceipts-Dge0cNF1-BX-9R6_Z.js → uploadReceipts-Dge0cNF1-BKdcUL2b.js} +1 -1
- package/dist/assets/{url-DrmuGGE4.js → url-0W_uXmZ-.js} +1 -1
- package/dist/assets/{url-C7FJoqre.js → url-Z1gMB4SW.js} +1 -1
- package/dist/assets/{useLongPress-GCK2COYQ-nce713S8.js → useLongPress-GCK2COYQ-B8bxkfF-.js} +1 -1
- package/dist/assets/{usp-line-BBd1wKwW-BIn3NV9C.js → usp-line-BBd1wKwW-BPsPtX_C.js} +1 -1
- package/dist/assets/{utils-BdIPH7k8.js → utils-CHibiken.js} +1 -1
- package/dist/assets/{zeni-epic-state-DwkN4IvA.js → zeni-epic-state-BKgIzPpM.js} +18 -18
- package/dist/index.html +1 -1
- package/package.json +4 -4
- package/dist/assets/ACHDetailsPage-Davpg8eW-BWDILC-H.js +0 -21
- package/dist/assets/AccountInfoPage-Cefnidcc-Bp5rUTr8.js +0 -18
- package/dist/assets/AccountLockedInfoModal-BdFY6p56-RTWbIB_l.js +0 -59
- package/dist/assets/AccountRow-DHB-ETil-0INUiG8Z.js +0 -298
- package/dist/assets/AddAddressForCardDrawer-CUKknbhJ-CnCLxax6.js +0 -6
- package/dist/assets/AppBasePage-tDs92z31-B3gR6k96.js +0 -71
- package/dist/assets/BillingSettingsPage-BjMeQKM0-CpnNOiGS.js +0 -44
- package/dist/assets/BusinessVerificationPage-LKrdd6Ej-BKb49OWB.js +0 -138
- package/dist/assets/ChargeCardStatementsPage-C82CsaNY-DzvzbShn.js +0 -60
- package/dist/assets/CompanyOfficerDetailsSection-5Gmlo5HX-mf8toy40.js +0 -331
- package/dist/assets/CompanyPassportPage-IjpU53y_-BF5RjsoV.js +0 -417
- package/dist/assets/ConfettiBurst-C_6Uy7eR-Np_3vQFo.js +0 -1
- package/dist/assets/CustomerOnboardingContainerPage-CP6DdMkC-CnaDFGWF.js +0 -1
- package/dist/assets/CustomerOnboardingNoStepsPage-BuWnQGPi-BSZV9BI0.js +0 -66
- package/dist/assets/CustomerOnboardingPage-Bl2oAvin-B7GmsFRo.js +0 -107
- package/dist/assets/DashboardSidebarBackgroundAnimation-iiFGhvRQ-y0LRofZR.js +0 -12
- package/dist/assets/EditPeoplePage-CG5gmNTR-CH2Xt3X8.js +0 -55
- package/dist/assets/EntityDetailPage-CL0FCU_m-BGtD2JCX.js +0 -18
- package/dist/assets/InsightsSection-C16f1RZL-BLvjZ1kW.js +0 -27
- package/dist/assets/InternationalWireVerificationPage-xmHZ6XN7-DwVwtiyi.js +0 -65
- package/dist/assets/InvitePeoplePage-BArxsNxE-BXI3n59t.js +0 -12
- package/dist/assets/InvoiceUploadSection-Eo7dq75t-C9QkPoGX.js +0 -140
- package/dist/assets/LabeledAddressValueField-DNGOSAvq-BXE6xS8k.js +0 -45
- package/dist/assets/LabeledControlledCheckBoxField-CR2DslKs-Cl2J9WYt.js +0 -16
- package/dist/assets/LabeledCountryMultiSelectField-B8Lbv837-DgWr30M7.js +0 -237
- package/dist/assets/LabeledDocumentField-vSq1xSUM-C_0QT0Hr.js +0 -41
- package/dist/assets/LabeledDropDownFormattedTextField-CqDEmdfe-DrhnwOAX.js +0 -59
- package/dist/assets/MagicLinkACHDetailsPage-C3TnWCqC-ByYEbu_t.js +0 -1
- package/dist/assets/MagicLinkDomesticWireDetailsPage-BUjap5Q7-Bvcp-odv.js +0 -1
- package/dist/assets/MagicLinkSuccessPage-CdHOdUZ5-CSa0Vcf2.js +0 -31
- package/dist/assets/MailingDetailsSection-WMvjKFiS-C1_EkXyZ.js +0 -21
- package/dist/assets/MyProfileSettingsPage-B0uYhezS-DbNVKwps.js +0 -85
- package/dist/assets/NoDataTable-B7LkfAQX-CdTNbZgo.js +0 -8
- package/dist/assets/OverlayContainerPage-D4QU0p4o-D2G-CVv7.js +0 -11
- package/dist/assets/PaymentAccountSetupBillingAddressSection-C026Xg59-Du1LULBI.js +0 -107
- package/dist/assets/PeoplePage-PyWOVc5M-DILaV4hT.js +0 -727
- package/dist/assets/RoleWithToolTip-DA3BIg5j-DG-Lih0N.js +0 -22
- package/dist/assets/ScheduleSequenceTable-B1fJ-_4f-VSvFhL5f.js +0 -324
- package/dist/assets/SignIn-T74bkrxk-ptxkK8PP.js +0 -491
- package/dist/assets/SignInScreen-BYcec7re.js +0 -1
- package/dist/assets/StatementItem-BthXwXFQ-j2l7jY5v.js +0 -31
- package/dist/assets/StatementsPage-FmjXzQ3g-oWNeSYKv.js +0 -58
- package/dist/assets/TimeframeSwitcherWithToggle-CdFx3214-DF2bdFav.js +0 -31
- package/dist/assets/TransactionDetailPage-CaRcJukf-CnifEZvn.js +0 -903
- package/dist/assets/TransactionList-BAziC6eS-6qNOgl8E.js +0 -153
- package/dist/assets/TransactionListPage-Ce_lSS6C-YqGl74XY.js +0 -35
- package/dist/assets/TreasuryTaxLetterPage-ClJA2mWI-xsnS5RHz.js +0 -58
- package/dist/assets/Vendor2FAPopup-DK98Bntc-CHLdTtz5.js +0 -1
- package/dist/assets/VendorACHDetailsPage-Bxo11l9N-DiVKko5M.js +0 -1
- package/dist/assets/VendorInternationalWireSwiftDetailsPage-BNySLbxk-CvXAX7v6.js +0 -1
- package/dist/assets/ZeniAccountNavBarPieces-BK32R48c-BhUfl-Q9.js +0 -14
- package/dist/assets/analyticsHelper-DAh0LrcL.js +0 -1
- package/dist/assets/commonTypes-DP3nDhtI-D-fLD29s.js +0 -1
- package/dist/assets/downloadPdf-C1zKY9Rq-Bj2M-x0n.js +0 -1
- package/dist/assets/epic-av5bi8Jm.js +0 -2
- package/dist/assets/helper-Byvbf3nO-BTmT7Zux.js +0 -223
- package/dist/assets/mapLoadingInProgressToTreeNode-9Rpdq0ZF-lTETWBpR.js +0 -1
- package/dist/assets/mapSpacerToTreeNode-BCRaNO17-Byu958vH.js +0 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-Cc1RpGkM-aNtvWBak.js +0 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-DRCseSgo-Bs0MPeVL.js +0 -1
- package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-BnHYlJ_0-DmtLnyQB.js +0 -1
- package/dist/assets/panelSelectedMixin-Cddsb26L-CUpBjaaO.js +0 -3
- package/dist/assets/toCOABalancesWithID-BDzeodcz-CM7cQRcs.js +0 -1
|
@@ -1,417 +0,0 @@
|
|
|
1
|
-
import{J as _,d as St,aR as jt,a9 as Dt,cH as vt,F as E,V as t,bD as Ft,ad as Ct,cI as Tt,aS as Nt,y as x,cJ as ot,cK as kt,x as Lt,o as a,am as xe,cL as lt,cM as P,cN as Re,cO as W,cP as ee,p as N,cQ as ge,b2 as ue,cR as st,cS as Pt,cT as Et,cU as it,ax as zt,cV as Vt,cW as nt,cX as At,cY as _t,cZ as Mt,c_ as Wt,c$ as Bt,bt as Rt,aU as Yt,ba as Q,aj as be,u as I,i as Ye,d0 as Ut,aF as qt,d1 as Ht,cj as Xt,d2 as Zt,an as Gt,d3 as Jt}from"./index-BIYLqgct.js";import{a as q,P as Qt}from"./sentry-DhNwX3jk.js";import{n as i,a as Kt,k as ea}from"./mui-rLvQ8A4a.js";import{Fk as ta,Fl as rt,Fm as dt,Fn as ct,Fo as pt,Fp as ut,bj as mt,Fq as Te,bL as aa,bh as Ne,bC as oa,Fr as la}from"./zeni-epic-state-DwkN4IvA.js";import{I as ft}from"./LabeledCreatableSingleSelectField-N1wb0l0p-Dc3bkr-e.js";import{Y as ht}from"./LabeledDocumentField-vSq1xSUM-C_0QT0Hr.js";import{p as sa,i as ia,t as na}from"./commonTypes-DP3nDhtI-D-fLD29s.js";import{b as ra}from"./LabeledCountryMultiSelectField-B8Lbv837-DgWr30M7.js";import{x as da,f as ca,p as pa,h as ua,m as yt,b as ma,g as fa}from"./helper-Byvbf3nO-BTmT7Zux.js";import{$ as gt}from"./LabeledAddressValue-CKZJgaV5-cxiw5XUU.js";import"./liveblocks-DXGUxn7J.js";import"./core-DQ8U4CJb.js";import"./recharts-BYppTjSs.js";import"./lottie-C1yptpVV.js";import"./analytics-DkApCpAh.js";import"./lexical-CvUIM9vD.js";import"./utils-BdIPH7k8.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},l=new e.Error().stack;l&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[l]="6e9e385c-c8ff-42bc-b016-e974ae657843",e._sentryDebugIdIdentifier="sentry-dbid-6e9e385c-c8ff-42bc-b016-e974ae657843")}catch{}})();const xt={maxWidth:new x(280,340),contentMaxWidth:new x(200,255)},ha=ea`
|
|
2
|
-
0% {
|
|
3
|
-
transform: translateX(100%)
|
|
4
|
-
}
|
|
5
|
-
100% {
|
|
6
|
-
transform: translateX(0)
|
|
7
|
-
}
|
|
8
|
-
`,ya=i.div`
|
|
9
|
-
position: fixed;
|
|
10
|
-
top: ${a.sp3};
|
|
11
|
-
right: ${a.sp3};
|
|
12
|
-
z-index: 1400;
|
|
13
|
-
padding: ${a.sp3} ${a.sp4};
|
|
14
|
-
max-width: ${e=>xt.maxWidth.valuePx(e.windowSize)};
|
|
15
|
-
background: ${e=>e.theme.colors.black};
|
|
16
|
-
border-radius: 12px;
|
|
17
|
-
box-shadow: ${e=>`${a.sp0} ${a.sp1} ${a.sp1} ${e.theme.colors.dropShadowNormal}`};
|
|
18
|
-
display: flex;
|
|
19
|
-
flex-direction: row;
|
|
20
|
-
justify-content: center;
|
|
21
|
-
align-items: flex-start;
|
|
22
|
-
animation: ${ha} 0.4s;
|
|
23
|
-
`,ga=i(Wt)`
|
|
24
|
-
margin-top: 2px;
|
|
25
|
-
width: ${a.sp4};
|
|
26
|
-
height: ${a.sp4};
|
|
27
|
-
color: ${N.successDark};
|
|
28
|
-
`,xa=i(Bt)`
|
|
29
|
-
margin-top: 2px;
|
|
30
|
-
width: ${a.sp4};
|
|
31
|
-
height: ${a.sp4};
|
|
32
|
-
color: ${N.important};
|
|
33
|
-
`,ba=i.div`
|
|
34
|
-
margin-top: ${a.sp1};
|
|
35
|
-
`,wa=i(Yt)`
|
|
36
|
-
color: ${N.neutralGrey2Light};
|
|
37
|
-
`,Ia=i.div`
|
|
38
|
-
max-width: ${e=>xt.contentMaxWidth.valuePx(e.windowSize)};
|
|
39
|
-
margin: ${a.sp0} ${a.sp3};
|
|
40
|
-
`,$a=i(Rt)`
|
|
41
|
-
color: ${e=>e.isSuccess?N.success:N.important};
|
|
42
|
-
`,Oa=i.div`
|
|
43
|
-
width: ${a.sp3};
|
|
44
|
-
height: ${a.sp3};
|
|
45
|
-
cursor: pointer;
|
|
46
|
-
color: ${e=>e.theme.colors.hero};
|
|
47
|
-
&:hover {
|
|
48
|
-
color: ${N.primaryDark};
|
|
49
|
-
}
|
|
50
|
-
`,Sa=e=>{const l=E.getLocalizedStrings().companyPassport.snackBar;return e==="Error"?l.failedText:l.successText};function ja(e){const l=_(),{fetchState:u,onRemoveSnackbar:s}=e;q.useEffect(()=>{setTimeout(s,5e3)});const d=E.getLocalizedStrings().companyPassport.snackBar,o=u==="Completed";return t.jsxs(ya,{windowSize:l,children:[o?t.jsx(ga,{}):t.jsx(xa,{}),t.jsxs(Ia,{windowSize:l,children:[t.jsx($a,{isSuccess:o,children:o?d.success:d.error}),t.jsx(ba,{children:t.jsx(wa,{children:Sa(u)})})]}),t.jsx(Oa,{onClick:s,children:t.jsx(Lt,{})})]})}const me={labelWidth:new x(110,145,180),largeLabelWidth:new x(150,215,215),largeLabelDocumentWidth:new x(150,210,252),paddingBottom:new x(I[3],I[2])};function Da(e){const l=_(),[u,s]=q.useState(!1),{companyPassport:d,commonSetUp:{businessVerification:o},common:{documents:n}}=E.getLocalizedStrings(),{fileProps:m,companyFiles:f,deleteFileStatusById:p,updateFileStatusById:r,sectionId:b,isDisabled:S,companyIncInfo:w,style:F}=e,O=me.labelWidth.value(l),j=me.largeLabelWidth.value(l),$=me.largeLabelDocumentWidth.value(l),{dateFormat:{visual:c},companyPassport:v}=E.getLocalizedStrings(),h=f.find(H=>H.documentType==="certificate_of_incorporation"),M=l==="small"?d.companyIncInfo.stateOfIncPlaceholderSmall:d.companyIncInfo.stateOfIncPlaceholder,oe=l==="small"?d.companyIncInfo.typeOfIncPlaceholderSmall:d.companyIncInfo.typeOfIncPlaceholder;return t.jsxs(va,{style:F,children:[t.jsx(Ca,{children:d.companyIncInfo.title}),t.jsxs(Fa,{children:[t.jsx(ft,{label:{label:v.companyIncInfo.typeOfInc,width:j},isDisabled:S,creatableSingleSelectField:{name:fe(b,"typeOfInc"),placeholder:oe,defaultValue:{selectedOption:w?.typeOfInc,allOptions:d.companyIncInfo.allTypesOfIncorporation}}}),t.jsx(je,{}),t.jsx(Pt,{label:{label:v.companyIncInfo.stateOfInc,width:j},isDisabled:S,singleSelectField:{name:fe(b,"stateOfInc"),placeholder:M,defaultValue:{selectedOption:w?.stateOfInc,allOptions:d.companyIncInfo.allStatesOfIncorporation}}}),t.jsx(je,{}),t.jsx(Et,{isDisabled:S,label:{label:d.companyIncInfo.incDate,width:O},style:{paddingBottom:me.paddingBottom.valuePx(l)},dateField:{name:fe(b,"incDate"),placeholder:W(d.companyIncInfo.incDate),defaultValue:w?.incDate,dateFormat:c.defaultInput,maxDate:Ne(),minDate:aa("01 Jan 1900"),autoComplete:"off"}}),t.jsx(je,{}),t.jsx(ht,{name:fe(b,"certificateOfIncorporation"),isDisabled:S,sizeLimit:it,deleteFileStatusById:p,updateFileStatusById:r,filesEndPoint:m.filesEndPoint,authParams:m.authParams,label:{label:o.certificateOfIncorporation,width:$},filemetadataPayload:{documentType:"certificate_of_incorporation",purposeId:"business_verification",documentSide:"front"},file:h,acceptableTypes:["image/jpg","image/jpeg","image/png","application/pdf","image/heic","image/heif"],registerOptions:{required:!1},hasError:u,updateFilesEntity:m.updateFilesEntity,onEditFileName:m.onEditFileName,onDeleteFile:m.onDeleteFile,onFileSizeError:H=>s(H)}),t.jsx(Ta,{windowSize:l,isError:u,children:n.formatDocumentText10MB})]})]})}const fe=(e,l)=>`${e}.${l}`,va=i.div`
|
|
51
|
-
display: flex;
|
|
52
|
-
flex-direction: column;
|
|
53
|
-
padding-top: ${a.sp3};
|
|
54
|
-
padding-bottom: ${a.sp9};
|
|
55
|
-
`,Fa=i.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=>`${a.sp0} 2px ${a.sp1} ${e.theme.colors.dropShadowNormal}`};
|
|
61
|
-
border-radius: ${a.sp2};
|
|
62
|
-
`,Ca=i(Q)`
|
|
63
|
-
color: ${e=>e.theme.colors.champion};
|
|
64
|
-
margin-bottom: ${a.sp3};
|
|
65
|
-
`,je=i.div`
|
|
66
|
-
display: flex;
|
|
67
|
-
flex: 1;
|
|
68
|
-
background-color: ${e=>e.theme.colors.grey3};
|
|
69
|
-
min-height: 1px;
|
|
70
|
-
max-height: 1px;
|
|
71
|
-
`,Ta=i(be)`
|
|
72
|
-
padding: ${a.sp1} ${a.sp4};
|
|
73
|
-
background: ${e=>e.theme.colors.grey4};
|
|
74
|
-
border-radius: ${a.sp0} ${a.sp0} ${a.sp2} ${a.sp2};
|
|
75
|
-
text-align: ${e=>e.windowSize==="small"?"initial":"right"};
|
|
76
|
-
color: ${e=>e.isError?N.important:e.theme.colors.grey1};
|
|
77
|
-
`,Na=i(Zt)`
|
|
78
|
-
color: ${e=>e.theme.colors.primary};
|
|
79
|
-
margin-block-start: ${a.sp0};
|
|
80
|
-
margin-block-end: ${a.sp0};
|
|
81
|
-
padding: 0 ${a.sp3};
|
|
82
|
-
text-align: right;
|
|
83
|
-
list-style-position: inside;
|
|
84
|
-
`,ka=i.li`
|
|
85
|
-
text-decoration: ${e=>e.isCancelled?"line-through":"unset"};
|
|
86
|
-
`,La=i(Gt)`
|
|
87
|
-
color: ${e=>e.theme.colors.grey1};
|
|
88
|
-
border-radius: ${a.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: ${a.sp2};
|
|
94
|
-
`,Pa=e=>{const{labels:l,style:u,listStyleType:s="disc"}=e;return t.jsx(Na,{style:{...u,listStyleType:s},children:l.filter(d=>d!=null&&d.text!="").map((d,o)=>t.jsxs(ka,{isCancelled:d.status==="cancelled",children:[d.text,d.subText!=null?t.jsxs(La,{children:["Started: ",d.subText]}):null]},`${d.text}_${o}`))})},ae={width:new x(343,580,726),paddingTopBottom:new x(I[3],I[3]),marginRight:new x(I[2],I[2]),labelMarginLeft:new x(I[3],I[4]),labelMarginRight:new x(I[3],I[4])};function ye({isDisabled:e,label:l,bullettedLabels:u,style:s}){const d=_();return u.labels.length>0?t.jsxs(Ea,{size:d,style:s,children:[t.jsx(ge,{isDisabled:e,label:l.label,style:{marginLeft:ae.labelMarginLeft.value(d),marginRight:ae.labelMarginRight.value(d),width:l.width??"auto"}}),t.jsx(Pa,{...u,style:{maxWidth:l.width!=null?`calc(100% - ${l.width}px)`:"auto"}})]}):null}const Ea=i.div`
|
|
95
|
-
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=>ae.width.valuePx(e.size)};
|
|
101
|
-
height: auto;
|
|
102
|
-
padding-right: ${e=>ae.marginRight.valuePx(e.size)};
|
|
103
|
-
padding-top: ${e=>ae.paddingTopBottom.valuePx(e.size)};
|
|
104
|
-
padding-bottom: ${e=>ae.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
|
-
`,se={labelWidth:new x(110,110,140),mediumLabelWidth:new x(140,140,160),largeLabelWidth:new x(170,170,180),extraLargeLabelWidth:new x(200,250,300),regulatedStatusMaxWidth:new x(343,580,726)},bt=E.getLocalizedStrings(),y=bt.commonSetUp.businessVerification,{companyPassport:T,dateFormat:{analytics:Ue},common:{yes:qe,no:He}}=bt;function za({companyViewData:e,allIndustries:l,allNationalityCountries:u,companyInfo:s,companyAddress:d,sectionId:o,isDisabled:n,isCompanyVerified:m,onCompanyAddressClick:f,style:p}){const r=_(),b=se.labelWidth.value(r),S=se.mediumLabelWidth.value(r),w=se.largeLabelWidth.value(r),F=se.extraLargeLabelWidth.value(r),O=Kt(),{watch:j,setValue:$,formState:{errors:c}}=lt(),v=e.company.company.companyInfo,h=C=>{const V=s?.[C];return V==null?!1:typeof V=="string"&&V===""||Array.isArray(V)&&V.length===0?m===!1:!0},M=h("companySubIndustry"),oe=h("countriesOfOperations"),H=h("transactionVolume"),we=h("regulatedStatus"),Ie=h("usNexus"),X=h("purposeOfAccount"),Y=h("companySourceOfFunds"),ie=j(g(o,"companySourceOfFunds")),ne=j(g(o,"transactionVolume")),K=j(g(o,"regulatedStatus")),re=j(g(o,"usNexus")),Z=j(g(o,"purposeOfAccount")),G=j(g(o,"companyIndustryType")),de=G?.selectedOption??s?.companyIndustryType,$e=r==="small"?T.companyInfo.businessModelPlaceholderSmall:T.companyInfo.businessModelPlaceholder,Oe=C=>l.find(V=>V.code===C)?.name??C,B=C=>{$(g(o,"subIndustry"),{selectedOption:void 0,allOptions:Te(C)})};return t.jsxs(Aa,{style:p,children:[t.jsx(Ma,{children:T.companyInfo.title}),t.jsxs(_a,{children:[t.jsx(P,{isDisabled:n,label:{label:T.companyInfo.companyName,width:w},text:{type:"text",name:g(o,"companyName"),placeholder:W(T.companyInfo.companyName),defaultValue:s?.companyName,autoComplete:"new-password",options:{required:!!v.name,pattern:Re}}}),t.jsx(z,{}),t.jsx(P,{isDisabled:n,label:{label:T.companyInfo.legalName,width:S},text:{type:"text",name:g(o,"legalName"),placeholder:W(T.companyInfo.legalName),defaultValue:s?.legalName,autoComplete:"new-password",options:{required:!!v.companyLegalName,pattern:Re}}}),t.jsx(z,{}),t.jsx(P,{isDisabled:n,label:{label:T.companyInfo.website,width:b},text:{type:"url",name:g(o,"website"),placeholder:W(T.companyInfo.website),defaultValue:s?.website?.toString()??"",autoComplete:"new-password"}}),t.jsx(z,{}),M?t.jsx(t.Fragment,{children:t.jsxs(Wa,{"data-suppress-hover":n!=null?!0:void 0,children:[t.jsx(ee,{label:{label:y.companyIndustryLabel,width:b},singleSelectField:{singleSelect:{name:g(o,"companyIndustryType"),placeholder:y.companyIndustryPlaceholder,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:da,isDisabled:n,showTickMark:!0,sortOptions:!1},defaultValue:{selectedOption:s?.companyIndustryType,allOptions:[...ut]},onSelectChange:B},isFunctional:!0,errorInfoLabel:y.companyIndustryError.replace("_product_type_","company"),style:{padding:0,margin:0,outline:"none",paddingRight:a.sp2}}),de!=null&&t.jsx(ee,{label:{label:"",width:0,style:{marginRight:0}},singleSelectField:{singleSelect:{name:g(o,"subIndustry"),placeholder:y.companySubIndustryPlaceholder,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:C=>ca(C,de),isDisabled:n,showTickMark:!0,sortOptions:!1},defaultValue:{selectedOption:s?.companySubIndustry,allOptions:Te(G?.selectedOption)}},isFunctional:!0,keepFocusedStyle:!0,errorInfoLabel:y.companySubIndustryError.replace("_product_type_","company"),additionalInfoLabel:n==null?y.companyIndustryAdditionalInfo:void 0,additionalInfoStyle:{color:O.colors.hero},style:{outline:"none",paddingBottom:a.sp0,width:"100%"}})]})}):t.jsx(ee,{label:{label:T.companyInfo.industry,width:b},singleSelectField:{singleSelect:{name:g(o,"industry"),placeholder:T.companyInfo.industryPlaceholder,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:Oe,isDisabled:n,showTickMark:!0},defaultValue:{selectedOption:s?.industry,allOptions:l?.map(C=>C.code)??[]}},isFunctional:!0}),t.jsx(z,{}),t.jsx(ft,{isDisabled:n,label:{label:T.companyInfo.businessModel,width:w},creatableSingleSelectField:{name:g(o,"businessModel"),placeholder:$e,defaultValue:{selectedOption:s?.businessModel,allOptions:T.companyInfo.allBusinessModels}}}),oe&&t.jsxs(t.Fragment,{children:[t.jsx(z,{}),t.jsx(ra,{label:{label:y.countriesOfOperationsLabel,width:w},isDisabled:n,additionalInfoLabel:n==null?y.countriesOfOperationsAdditionalInfo:void 0,multiSelectField:{name:g(o,"countriesOfOperations"),placeholder:y.countriesOfOperationsPlaceholder,defaultValue:ot(s?.countriesOfOperations,(u??[]).map(C=>C.countryCode))}})]}),Y&&t.jsxs(t.Fragment,{children:[t.jsx(z,{}),t.jsx(ee,{label:{label:y.companySourceOfFundsLabel,width:w},singleSelectField:{singleSelect:{name:g(o,"companySourceOfFunds"),placeholder:y.companySourceOfFundsPlaceholder,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:pa,isDisabled:n,showTickMark:!0,sortOptions:!1},defaultValue:{selectedOption:s?.companySourceOfFunds,allOptions:[...pt]}},isFunctional:!0,additionalContent:sa.includes(ie?.selectedOption)?t.jsx(P,{isDisabled:n,showAdditionalInfoLabel:!1,label:{label:"",width:0,style:{marginRight:0,marginTop:0,marginBottom:0}},text:{type:"text",name:g(o,"companySourceOfFundsDescription"),placeholder:y.descriptionPlaceholder,style:{backgroundColor:c[o]!=null&&c[o]?.companySourceOfFundsDescription!=null?N.importantLight:O.colors.background},options:{}},additionalInfoLabel:y.companySourceOfFundsDescriptionError,style:{position:"relative",top:0,left:-w,marginLeft:0,outline:"none"}}):null,additionalInfoLabel:n!=null||c[o]!=null&&c[o]?.companySourceOfFundsDescription!=null?void 0:y.companySourceOfFundsAdditionalInfo,additionalInfoStyle:{color:O.colors.hero}})]}),H&&t.jsxs(t.Fragment,{children:[t.jsx(z,{}),t.jsx(ee,{label:{label:y.transactionVolumeLabel,width:F},singleSelectField:{singleSelect:{name:g(o,"transactionVolume"),placeholder:y.transactionVolumePlaceholder,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:ua,isDisabled:n,showTickMark:!0,sortOptions:!1},defaultValue:{selectedOption:s?.transactionVolume,allOptions:[...ct]}},isFunctional:!0,additionalContent:ia.includes(ne?.selectedOption)?t.jsx(P,{isDisabled:n,showAdditionalInfoLabel:!1,label:{label:"",width:0,style:{marginRight:0,marginTop:0,marginBottom:0}},text:{type:"text",name:g(o,"transactionVolumeDescription"),placeholder:y.descriptionPlaceholder,style:{backgroundColor:c[o]!=null&&c[o]?.transactionVolumeDescription!=null?N.importantLight:O.colors.background},options:{}},additionalInfoLabel:y.transactionVolumeDescriptionError,style:{position:"relative",top:0,left:-F,marginLeft:0,outline:"none"}}):null,additionalInfoLabel:n!=null||c[o]!=null&&c[o]?.transactionVolumeDescription!=null?void 0:y.transactionVolumeAdditionalInfo,additionalInfoStyle:{color:O.colors.hero}})]}),we&&t.jsxs(t.Fragment,{children:[t.jsx(z,{}),t.jsxs(Xe,{windowSize:r,"data-suppress-hover":n!=null?!0:void 0,children:[t.jsxs(Ze,{children:[t.jsx(ge,{label:y.regulatedStatusLabel,htmlFor:g(o,"regulatedStatus"),isDisabled:n,style:{width:w,color:n==="disabled"?O.colors.grey1:O.colors.hero}}),t.jsxs(Ge,{labelWidth:w,windowSize:r,children:[t.jsx(ue,{label:{label:qe},style:{paddingRight:`${a.sp4}`,width:"auto"},radioField:{name:g(o,"regulatedStatus"),id:`${g(o,"regulatedStatus")}.yes`,value:"yes",style:{height:`${a.sp3}`,width:`${a.sp3}`},radioSize:"small"},isDisabled:n,isContainerClickable:!0}),t.jsx(ue,{label:{label:He},style:{width:"auto"},radioField:{name:g(o,"regulatedStatus"),id:`${g(o,"regulatedStatus")}.no`,value:"no",style:{height:`${a.sp3}`,width:`${a.sp3}`},radioSize:"small"},isDisabled:n,isContainerClickable:!0})]})]}),K==="yes"&&t.jsx(P,{isDisabled:n,showAdditionalInfoLabel:!1,label:{label:"",width:0,style:{marginRight:0,marginTop:0,marginBottom:0,marginLeft:0}},text:{type:"text",name:g(o,"regulatedStatusDescription"),placeholder:y.regulatedStatusDescriptionPlaceholder,style:{backgroundColor:c[o]!=null&&c[o]?.regulatedStatusDescription!=null?N.importantLight:O.colors.background},options:{}},additionalInfoLabel:y.regulatedStatusDescriptionError,style:{outline:"none",width:"100%",padding:0}}),c[o]!=null&&c[o]?.regulatedStatus!=null?t.jsx(De,{windowSize:r,children:y.regulatedStatusError.replace("_product_type_","company details")}):c[o]!=null&&c[o]?.regulatedStatusDescription!=null?null:n==null?t.jsx(Je,{windowSize:r,children:y.regulatedStatusAdditionalInfo}):null]})]}),Ie&&t.jsxs(t.Fragment,{children:[t.jsx(z,{}),t.jsxs(Xe,{windowSize:r,"data-suppress-hover":n!=null?!0:void 0,children:[t.jsxs(Ze,{children:[t.jsx(ge,{label:y.usNexusLabel,htmlFor:g(o,"usNexus"),isDisabled:n,style:{width:w,color:n==="disabled"?O.colors.grey1:O.colors.hero}}),t.jsxs(Ge,{labelWidth:w,windowSize:r,children:[t.jsx(ue,{label:{label:qe},style:{paddingRight:`${a.sp4}`,width:"auto"},radioField:{name:g(o,"usNexus"),id:`${g(o,"usNexus")}.yes`,value:"yes",style:{height:`${a.sp3}`,width:`${a.sp3}`},radioSize:"small"},isDisabled:n,isContainerClickable:!0}),t.jsx(ue,{label:{label:He},style:{width:"auto"},radioField:{name:g(o,"usNexus"),id:`${g(o,"usNexus")}.no`,value:"no",style:{height:`${a.sp3}`,width:`${a.sp3}`},radioSize:"small"},isDisabled:n,isContainerClickable:!0})]})]}),re==="yes"&&t.jsxs(t.Fragment,{children:[t.jsx(Ba,{hasError:c[o]!=null&&c[o]?.usNexusTypes!=null,children:t.jsx(yt,{isDisabled:n,label:{label:"",width:0,style:{marginRight:0,marginTop:0,marginBottom:0,marginLeft:0}},multiSelectField:{name:g(o,"usNexusTypes"),placeholder:y.usNexusPlaceholder,getOptionLabel:ma,defaultValue:{selectedOptions:s?.usNexusTypes??[],allOptions:[...dt]},registerOptions:{required:n==null,shouldUnregister:!0,validate:C=>{const V=C?.selectedOptions;return V!=null&&V.length>0}}},style:{outline:"none",margin:0,padding:0,width:"100%"}})}),c[o]!=null&&c[o]?.usNexusTypes!=null&&t.jsx(De,{windowSize:r,children:y.usNexusTypesError})]}),c[o]!=null&&c[o]?.usNexus!=null?t.jsx(De,{windowSize:r,children:y.usNexusError.replace("_product_type_","company details")}):c[o]!=null&&c[o]?.usNexusTypes!=null?null:n==null?t.jsx(Je,{windowSize:r,children:y.usNexusAdditionalInfo}):null]})]}),X&&t.jsxs(t.Fragment,{children:[t.jsx(z,{}),t.jsx(ee,{label:{label:y.purposeOfAccountLabel,width:F},singleSelectField:{singleSelect:{name:g(o,"purposeOfAccount"),placeholder:y.purposeOfAccountPlaceholder,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:fa,isDisabled:n,showTickMark:!0,sortOptions:!1},defaultValue:{selectedOption:s?.purposeOfAccount,allOptions:[...rt]}},isFunctional:!0,additionalContent:na.includes(Z?.selectedOption)?t.jsx(P,{isDisabled:n,showAdditionalInfoLabel:!1,label:{label:"",width:0,style:{marginRight:0,marginTop:0,marginBottom:0}},text:{type:"text",name:g(o,"purposeOfAccountDescription"),placeholder:y.descriptionPlaceholder,style:{backgroundColor:c[o]!=null&&c[o]?.purposeOfAccountDescription!=null?N.importantLight:O.colors.background},options:{}},additionalInfoLabel:y.purposeOfAccountDescriptionError,style:{position:"relative",top:0,left:-F,marginLeft:0,outline:"none"}}):null,additionalInfoLabel:n!=null||c[o]!=null&&c[o]?.purposeOfAccountDescription!=null?void 0:y.purposeOfAccountAdditionalInfo,additionalInfoStyle:{color:O.colors.hero}})]}),t.jsx(z,{}),t.jsx(gt,{isDisabled:n,label:{label:T.companyInfo.address,width:b},addressValue:{placeholder:W(T.companyInfo.address),address:d?.addressToCreate,onClick:()=>f("company_address")}}),t.jsx(z,{}),t.jsx(st,{isDisabled:n,label:{label:T.companyInfo.phone,width:b},text:{name:g(o,"phone"),placeholder:W(T.companyInfo.phone),defaultValue:s?.phone,autoComplete:"new-password"}}),t.jsx(z,{}),t.jsx(ye,{label:{label:T.companyInfo.fiscalYear,width:b},bullettedLabels:{labels:[{text:Va(s?.firstMonthOfFY??1)}],listStyleType:"none"}})]})]})}const Va=e=>{const{fiscalYearMonths:l}=la(e);return`${Ne().month(l[0]-1).format(Ue.MMMFormat)} to ${Ne().month(l[11]-1).format(Ue.MMMFormat)}`},g=(e,l)=>`${e}.${l}`,Aa=i.div`
|
|
116
|
-
display: flex;
|
|
117
|
-
flex-direction: column;
|
|
118
|
-
padding-top: ${a.sp3};
|
|
119
|
-
padding-bottom: ${a.sp9};
|
|
120
|
-
`,_a=i.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=>`${a.sp0} 2px ${a.sp1} ${e.theme.colors.dropShadowNormal}`};
|
|
126
|
-
border-radius: ${a.sp2};
|
|
127
|
-
`,Ma=i(Q)`
|
|
128
|
-
color: ${e=>e.theme.colors.champion};
|
|
129
|
-
margin-bottom: ${a.sp3};
|
|
130
|
-
`,z=i.div`
|
|
131
|
-
display: flex;
|
|
132
|
-
flex: 1;
|
|
133
|
-
background-color: ${e=>e.theme.colors.grey3};
|
|
134
|
-
min-height: 1px;
|
|
135
|
-
max-height: 1px;
|
|
136
|
-
`,Wa=i.div`
|
|
137
|
-
display: flex;
|
|
138
|
-
flex-direction: column;
|
|
139
|
-
padding: ${a.sp2} ${a.sp0} ${a.sp2} ${a.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
|
-
`,Xe=i.div`
|
|
157
|
-
display: flex;
|
|
158
|
-
flex-direction: column;
|
|
159
|
-
width: ${e=>se.regulatedStatusMaxWidth.valuePx(e.windowSize)};
|
|
160
|
-
background-color: ${e=>e.theme.colors.grey5};
|
|
161
|
-
padding: ${a.sp2} ${a.sp2} ${a.sp2} ${a.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
|
-
`,Ze=i.div`
|
|
177
|
-
display: flex;
|
|
178
|
-
flex-direction: row;
|
|
179
|
-
align-items: center;
|
|
180
|
-
margin-top: ${a.sp2};
|
|
181
|
-
margin-bottom: ${a.sp2};
|
|
182
|
-
`,Ge=i.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: ${a.sp3};
|
|
190
|
-
`,Je=i(be)`
|
|
191
|
-
color: ${e=>e.theme.colors.hero};
|
|
192
|
-
text-align: right;
|
|
193
|
-
padding-right: ${a.sp3};
|
|
194
|
-
`,De=i(be)`
|
|
195
|
-
color: ${N.important};
|
|
196
|
-
text-align: right;
|
|
197
|
-
padding-right: ${a.sp3};
|
|
198
|
-
`,Ba=i.div`
|
|
199
|
-
width: 100%;
|
|
200
|
-
& > div {
|
|
201
|
-
background-color: ${e=>e.hasError===!0?N.importantLight:e.theme.colors.background};
|
|
202
|
-
}
|
|
203
|
-
& .select-control {
|
|
204
|
-
background-color: ${e=>e.hasError===!0?N.importantLight:e.theme.colors.background} !important;
|
|
205
|
-
}
|
|
206
|
-
`,ke={labelWidth:new x(110,110,140),buttonWidth:new x(70,70)};function Ra({sectionId:e,isDisabled:l,style:u,officer:s,officerAddress:d,isEmptyCompanyOfficerSection:o,onOfficerAddressClick:n}){const m=_(),f=E.getLocalizedStrings().companyPassport,p=ke.labelWidth.value(m),r=o&&(s==null||!s.firstName&&!s.lastName&&!s.phone&&!s.email&&!d),b=s?.userId==null||s?.userId==="";return t.jsxs(Xa,{style:u,children:[t.jsx(nt,{isDisabled:l,label:{label:f.companyOfficer.name,width:p},nameField:{name:ve(e,"name"),placeHolder:{firstName:f.companyOfficer.firstNamePlaceholder,lastName:f.companyOfficer.lastNamePlaceholder,name:f.companyOfficer.namePlaceholder},defaultValue:{firstName:s?.firstName??"",lastName:s?.lastName??""},autoComplete:"new-password",registerOptions:{required:r!==!0},showFullNameError:!0}}),t.jsx(Fe,{}),t.jsx(P,{isDisabled:b?l:"readonly",label:{label:f.companyOfficer.email,width:p},text:{type:"email",name:ve(e,"email"),placeholder:W(f.companyOfficer.email),options:{required:r===!0?!1:b},defaultValue:s?.email,autoComplete:"new-password"}}),t.jsx(Fe,{}),t.jsx(gt,{isDisabled:l,label:{label:f.companyInfo.address,width:p},addressValue:{placeholder:W(f.companyOfficer.address),address:d?.addressToCreate,onClick:()=>{n(s?.officerType.toLocaleLowerCase().concat("_address"))}}}),t.jsx(Fe,{}),t.jsx(st,{isDisabled:l,label:{label:f.companyOfficer.phone,width:p},text:{name:ve(e,"phone"),placeholder:W(f.companyOfficer.phone),defaultValue:s?.phone,autoComplete:"new-password"}})]})}function Ya({companyOfficers:e,sectionId:l,style:u,isDisabled:s,onOfficerAddressClick:d}){const{setValue:o,getValues:n}=lt(),[m,f]=q.useState(-1),p=E.getLocalizedStrings().companyPassport,r=e.length,b=e.length===1&&e[0].localData?.userId==null,S=n(l),w=()=>{const $={userId:void 0,officerType:`Officer_${r+1}`,name:{firstName:"",lastName:""},email:"",phone:""};o(l,[...S,$])},F=$=>{if(e[$].localData==null||!e[$].localData?.firstName&&!e[$].localData?.lastName&&!e[$].localData?.phone&&!e[$].localData?.email&&!e[$].addressStatus?.addressToCreate){const c=S.filter((v,h)=>h!==m);o(l,c),f(-1)}else f($)},O=()=>{f(-1)},j=()=>{const $=S.filter((c,v)=>v!==m);o(l,$),f(-1)};return t.jsxs(Ha,{style:u,children:[t.jsx(Za,{children:p.companyOfficer.title}),e.map(($,c)=>{const v=$.localData,h=$.addressStatus,M=v?.userId==null||v?.userId==="";return t.jsxs(Ga,{children:[(r>1||M)&&!b?t.jsx(Ua,{curIndex:c,isNewUser:M,numberOfOfficers:r,deleteConfirmationIndex:m,isDisabled:s,onDeleteClick:F,onCancelClick:O,onRemoveOfficerSection:j}):null,t.jsx(Ra,{sectionId:`${l}.${c}`,officer:v,officerAddress:h,isDisabled:s,isEmptyCompanyOfficerSection:b,onOfficerAddressClick:d})]},v?.officerType)}),r<=9&&!b?t.jsx(qa,{isSectionDisabled:s,onAddOfficerSection:w}):t.jsx(Le,{})]})}const Ua=({curIndex:e,isNewUser:l,numberOfOfficers:u,deleteConfirmationIndex:s,isDisabled:d,onDeleteClick:o,onCancelClick:n,onRemoveOfficerSection:m})=>{const f=_(),p=E.getLocalizedStrings().companyPassport;return t.jsxs(Ja,{children:[t.jsx(Qa,{children:u>1?`${p.companyOfficer.officer} ${e+1}`:""}),l&&d==null?s===e?t.jsx(oo,{children:t.jsxs(lo,{children:[p.companyOfficer.deleteConfirmation,t.jsx(Ye,{label:p.cancel,onClick:n,style:{width:ke.buttonWidth.value(f),marginLeft:a.sp4,marginRight:a.sp3},size:"small",variant:"secondary"}),t.jsx(Ye,{label:p.remove,onClick:m,style:{width:ke.buttonWidth.value(f)},size:"small",variant:"danger"})]})}):t.jsx(ao,{className:"delete-icon-wrapper",onClick:()=>o(e),children:t.jsx(Ut,{width:I[3],height:I[3],color:N.important})}):null]})},qa=({isSectionDisabled:e,onAddOfficerSection:l})=>{const u=E.getLocalizedStrings().companyPassport;return e!=null?t.jsx(Le,{}):t.jsxs(t.Fragment,{children:[t.jsxs(Ka,{onClick:l,children:[t.jsx(eo,{}),t.jsx(to,{children:u.companyOfficer.addOfficer})]}),t.jsx(Le,{})]})},ve=(e,l)=>`${e}.${l}`,Ha=i.div`
|
|
207
|
-
display: flex;
|
|
208
|
-
flex-direction: column;
|
|
209
|
-
padding-top: ${a.sp3};
|
|
210
|
-
width: 100%;
|
|
211
|
-
`,Xa=i.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=>`${a.sp0} 2px ${a.sp1} ${e.theme.colors.dropShadowNormal}`};
|
|
217
|
-
border-radius: ${a.sp2};
|
|
218
|
-
margin-bottom: ${a.sp4};
|
|
219
|
-
`,Le=i.div`
|
|
220
|
-
padding-bottom: ${a.sp6};
|
|
221
|
-
`,Za=i(Q)`
|
|
222
|
-
color: ${e=>e.theme.colors.champion};
|
|
223
|
-
margin-bottom: ${a.sp4};
|
|
224
|
-
`,Ga=i.div`
|
|
225
|
-
&:hover {
|
|
226
|
-
.delete-icon-wrapper {
|
|
227
|
-
display: flex;
|
|
228
|
-
}
|
|
229
|
-
}
|
|
230
|
-
`,Ja=i(Q)`
|
|
231
|
-
display: flex;
|
|
232
|
-
align-items: center;
|
|
233
|
-
justify-content: space-between;
|
|
234
|
-
color: ${e=>e.theme.colors.champion};
|
|
235
|
-
margin-bottom: ${a.sp2};
|
|
236
|
-
height: 31px;
|
|
237
|
-
|
|
238
|
-
.delete-icon-wrapper {
|
|
239
|
-
display: none;
|
|
240
|
-
}
|
|
241
|
-
`,Qa=i(xe)``,Ka=i.div`
|
|
242
|
-
padding: ${a.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: ${a.sp2};
|
|
249
|
-
box-shadow: ${e=>`${a.sp0} 2px ${a.sp1} ${e.theme.colors.dropShadowNormal}`};
|
|
250
|
-
color: ${e=>e.theme.colors.hero};
|
|
251
|
-
margin-bottom: ${a.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
|
-
`,eo=i(Ht)`
|
|
262
|
-
margin-right: ${a.sp2};
|
|
263
|
-
width: ${a.sp4};
|
|
264
|
-
height: ${a.sp4};
|
|
265
|
-
color: ${e=>e.theme.colors.grey1};
|
|
266
|
-
`,to=i(Xt)`
|
|
267
|
-
color: inherit;
|
|
268
|
-
`,ao=i.div`
|
|
269
|
-
width: ${a.sp4};
|
|
270
|
-
height: ${a.sp4};
|
|
271
|
-
cursor: pointer;
|
|
272
|
-
`,oo=i.div`
|
|
273
|
-
display: flex;
|
|
274
|
-
`,lo=i(xe)`
|
|
275
|
-
color: ${e=>e.theme.colors.hero};
|
|
276
|
-
`,Fe=i.div`
|
|
277
|
-
display: flex;
|
|
278
|
-
flex: 1;
|
|
279
|
-
background-color: ${e=>e.theme.colors.grey3};
|
|
280
|
-
min-height: 1px;
|
|
281
|
-
max-height: 1px;
|
|
282
|
-
`,Qe={labelWidth:new x(160,160,160),largeLabelWidth:new x(150,215,215)};function so(e){const l=_(),u=zt(),[s,d]=q.useState(!1),{companyPassport:o,commonSetUp:{businessVerification:n},common:{documents:m}}=E.getLocalizedStrings(),{fileProps:f,companyFiles:p,deleteFileStatusById:r,updateFileStatusById:b,sectionId:S,isDisabled:w,companyTaxInfo:F,style:O}=e,j=Qe.labelWidth.value(l),$=Qe.largeLabelWidth.value(l),c=!oa(u.loggedInUserRole??[]),v=p.find(h=>h.documentType==="tax_ein");return t.jsxs(io,{style:O,children:[t.jsx(ro,{children:o.companyTaxInfo.title}),t.jsxs(no,{children:[t.jsx(P,{isDisabled:w,label:{label:o.companyTaxInfo.taxIdOrEIN,width:j},text:{type:"text",name:te(S,"taxIdOrEIN"),placeholder:o.companyTaxInfo.taxIdOrEINPlaceholder,defaultValue:c===!0?o.protectedContent:F?.taxIdOrEIN,options:{pattern:Vt},autoComplete:"new-password"},protectedInfoText:c===!0?o.companyTaxInfo.adminPrivilegeRequired:void 0}),t.jsx(le,{}),t.jsx(P,{isDisabled:w,label:{label:o.companyTaxInfo.dunsNumber,width:j},text:{type:"text",name:te(S,"dunsNumber"),placeholder:o.companyTaxInfo.dunsNumberPlaceholder,defaultValue:F?.dunsNumber,options:{pattern:/^\d{9}$/},autoComplete:"new-password"}}),t.jsx(le,{}),t.jsx(P,{isDisabled:w,label:{label:o.companyTaxInfo.naicsCode,width:j},text:{type:"text",name:te(S,"naicsCode"),placeholder:o.companyTaxInfo.naicsCodePlaceholder,defaultValue:F?.naicsCode,options:{pattern:/^([2-9]{1}[0-9]{1}|[1-9]{1}[1-9]{1})\d{0,4}$/},autoComplete:"new-password"}}),t.jsx(le,{}),t.jsx(P,{isDisabled:w,label:{label:o.companyTaxInfo.sicCode,width:j},text:{type:"text",name:te(S,"sicCode"),placeholder:o.companyTaxInfo.sicCodePlaceholder,defaultValue:F?.sicCode,options:{pattern:/^\d{2,4}$/},autoComplete:"new-password"}}),t.jsx(le,{}),t.jsx(yt,{isDisabled:w,label:{label:o.companyTaxInfo.taxesFiledYears,width:j},multiSelectField:{name:te(S,"taxesFiledYears"),placeholder:o.companyTaxInfo.taxesFiledYearsPlaceholder,defaultValue:{selectedOptions:F?.taxesFiledYears.map(h=>h.toString())??[],allOptions:mt().map(h=>h.toString())}}}),t.jsx(le,{}),t.jsx(ht,{name:te(S,"einDocument"),isDisabled:w,sizeLimit:it,deleteFileStatusById:r,updateFileStatusById:b,filesEndPoint:f.filesEndPoint,authParams:f.authParams,label:{label:n.einDocument,width:$},filemetadataPayload:{documentType:"tax_ein",purposeId:"business_verification",documentSide:"front"},file:v,acceptableTypes:["image/jpg","image/jpeg","image/png","application/pdf","image/heic","image/heif"],registerOptions:{required:!1},hasError:s,updateFilesEntity:f.updateFilesEntity,onEditFileName:f.onEditFileName,onDeleteFile:f.onDeleteFile,onFileSizeError:h=>d(h)}),t.jsx(co,{windowSize:l,isError:s,children:m.formatDocumentText10MB})]})]})}const te=(e,l)=>`${e}.${l}`,io=i.div`
|
|
283
|
-
display: flex;
|
|
284
|
-
flex-direction: column;
|
|
285
|
-
padding-top: ${a.sp3};
|
|
286
|
-
padding-bottom: ${a.sp9};
|
|
287
|
-
`,no=i.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=>`${a.sp0} 2px ${a.sp1} ${e.theme.colors.dropShadowNormal}`};
|
|
293
|
-
border-radius: ${a.sp2};
|
|
294
|
-
`,ro=i(Q)`
|
|
295
|
-
color: ${e=>e.theme.colors.champion};
|
|
296
|
-
margin-bottom: ${a.sp3};
|
|
297
|
-
`,le=i.div`
|
|
298
|
-
display: flex;
|
|
299
|
-
flex: 1;
|
|
300
|
-
background-color: ${e=>e.theme.colors.grey3};
|
|
301
|
-
min-height: 1px;
|
|
302
|
-
max-height: 1px;
|
|
303
|
-
`,co=i(be)`
|
|
304
|
-
padding: ${a.sp1} ${a.sp4};
|
|
305
|
-
background: ${e=>e.theme.colors.grey4};
|
|
306
|
-
border-radius: ${a.sp0} ${a.sp0} ${a.sp2} ${a.sp2};
|
|
307
|
-
text-align: ${e=>e.windowSize==="small"?"initial":"right"};
|
|
308
|
-
color: ${e=>e.isError?N.important:e.theme.colors.grey1};
|
|
309
|
-
`,po={labelWidth:new x(100,100,140)};function uo({sectionId:e,isDisabled:l,primaryContact:u,style:s}){const d=_(),o=E.getLocalizedStrings().companyPassport,n=po.labelWidth.value(d),m=u==null;return t.jsxs(mo,{style:s,children:[t.jsx(ho,{children:o.primaryContact.title}),t.jsxs(fo,{children:[t.jsx(nt,{isDisabled:l,label:{label:o.primaryContact.name,width:n},nameField:{name:Ke(e,"name"),placeHolder:{firstName:o.primaryContact.firstNamePlaceholder,lastName:o.primaryContact.lastNamePlaceholder,name:o.primaryContact.namePlaceholder},defaultValue:{firstName:u?.firstName??"",lastName:u?.lastName??""},autoComplete:"new-password",registerOptions:{required:m!==!0},showFullNameError:!0}}),t.jsx(yo,{}),t.jsx(P,{isDisabled:l,label:{label:o.primaryContact.email,width:n},text:{type:"email",name:Ke(e,"email"),placeholder:W(o.primaryContact.email),defaultValue:u?.email,autoComplete:"new-password",options:{required:m!==!0}}})]})]})}const Ke=(e,l)=>`${e}.${l}`,mo=i.div`
|
|
310
|
-
display: flex;
|
|
311
|
-
flex-direction: column;
|
|
312
|
-
padding-top: ${a.sp3};
|
|
313
|
-
padding-bottom: ${a.sp9};
|
|
314
|
-
`,fo=i.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=>`${a.sp0} 2px ${a.sp1} ${e.theme.colors.dropShadowNormal}`};
|
|
320
|
-
border-radius: ${a.sp2};
|
|
321
|
-
`,ho=i(Q)`
|
|
322
|
-
color: ${e=>e.theme.colors.champion};
|
|
323
|
-
margin-bottom: ${a.sp3};
|
|
324
|
-
`,yo=i.div`
|
|
325
|
-
display: flex;
|
|
326
|
-
flex: 1;
|
|
327
|
-
background-color: ${e=>e.theme.colors.grey3};
|
|
328
|
-
min-height: 1px;
|
|
329
|
-
max-height: 1px;
|
|
330
|
-
`,go=i.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: ${a.sp3};
|
|
337
|
-
}
|
|
338
|
-
`,xo=i.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
|
-
`,bo=()=>t.jsx(xo,{children:"–"}),wo=i.div`
|
|
345
|
-
padding: 6px ${a.sp2};
|
|
346
|
-
white-space: nowrap;
|
|
347
|
-
overflow: hidden;
|
|
348
|
-
text-overflow: ellipsis;
|
|
349
|
-
`,Io=i(xe)`
|
|
350
|
-
color: ${e=>e.theme.colors.primary};
|
|
351
|
-
align-items: center;
|
|
352
|
-
justify-content: flex-end;
|
|
353
|
-
display: flex;
|
|
354
|
-
padding: 0 ${a.sp3};
|
|
355
|
-
`,$o=e=>{const{users:l,style:u}=e;return t.jsx(Io,{style:u,children:l.length!==0?l.filter(s=>!!s.firstName||!!s.lastName).map(s=>t.jsxs(go,{children:[t.jsx(wo,{children:`${s.firstName} ${s.lastName}`}),t.jsx(Jt,{name:`${s.firstName} ${s.lastName}`,size:a.sp4})]},s.userId)):t.jsx(bo,{})})},R={width:new x(343,580,726),height:new x(I[6],I[6]),controlHeight:new x(I[6],I[6]),paddingTopBottom:new x(I[2],I[2]),marginRight:new x(I[2],I[2]),labelMarginLeft:new x(I[3],I[4]),labelMarginRight:new x(I[3],I[4]),labelMarginTop:new x(I[2],I[2])};function Oo({isDisabled:e,label:l,avatarLabels:u,style:s}){const d=_();return t.jsxs(jo,{size:d,style:s,children:[t.jsx(ge,{isDisabled:e,label:l.label,style:{marginLeft:R.labelMarginLeft.value(d),marginRight:R.labelMarginRight.value(d),marginTop:R.labelMarginTop.value(d),width:l.width??"auto"}}),t.jsx($o,{users:u.users,style:{minHeight:R.controlHeight.value(d),display:"flex",flexGrow:1,flexFlow:"row wrap",maxWidth:l.width!=null?`calc(100% - ${l.width}px)`:"auto",...u.style}})]})}const So=Qt.memo(Oo,qt),jo=i.div`
|
|
356
|
-
display: flex;
|
|
357
|
-
flex-direction: row;
|
|
358
|
-
align-items: flex-start;
|
|
359
|
-
background-color: ${e=>e.theme.colors.grey5};
|
|
360
|
-
width: ${e=>R.width.valuePx(e.size)};
|
|
361
|
-
min-height: ${e=>R.height.valuePx(e.size)};
|
|
362
|
-
padding-right: ${e=>R.marginRight.valuePx(e.size)};
|
|
363
|
-
padding-top: ${e=>R.paddingTopBottom.valuePx(e.size)};
|
|
364
|
-
padding-bottom: ${e=>R.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
|
-
`,Ce={labelWidth:new x(100,100,140),mediumLabelWidth:new x(140,150,160),largeLabelWidth:new x(160,180,180)};function Do({data:e,companyInfo:l,sectionId:u,isDisabled:s,isZeniUser:d,onScheduleClick:o}){const n=_(),{companyPassport:m,dateFormat:{visual:f}}=E.getLocalizedStrings(),p=Ce.labelWidth.value(n),r=Ce.mediumLabelWidth.value(n),b=Ce.largeLabelWidth.value(n),S=e.company.company,{controllers:w,subscriptions:F}=e,{managementInfo:O}=S,j=n==="small"?m.zeniFinanceTeam.scheduleCallPlaceholderSmall:m.zeniFinanceTeam.scheduleCallPlaceholder,$=F.filter(h=>h.plan?.plan.name!=null).map(h=>({text:h.plan?.plan.name,subText:h.subscription.subscription.startDate.format(f.MMMDCommaYYYYformat)})),c=At(F.map(h=>h.addOns.map(M=>({text:M.addOn.name,subText:h.subscription.subscription.startDate.format(f.MMMDCommaYYYYformat)})))),v=O.receiverEmails.map(h=>({text:h}));return t.jsxs(Fo,{children:[t.jsx(To,{children:m.zeniFinanceTeam.title}),t.jsxs(Co,{children:[t.jsx(So,{label:{label:m.zeniFinanceTeam.controller,width:r},avatarLabels:{users:w.map(h=>h.user)}}),t.jsx(he,{}),d===!0?t.jsx(P,{isDisabled:s,label:{label:m.zeniFinanceTeam.scheduleCall,width:r},text:{type:"text",name:vo(u,"meetingLink"),placeholder:j,defaultValue:l?.meetingLink?.toString()??"",autoComplete:"new-password",options:{pattern:_t}}}):l?.meetingLink!=null?t.jsx(Mt,{label:{label:m.zeniFinanceTeam.scheduleCall,width:r},button:{buttonTitle:m.zeniFinanceTeam.schedule,onClick:()=>o(l.meetingLink)}}):null,v.length>0?t.jsxs(t.Fragment,{children:[t.jsx(he,{}),t.jsx(ye,{label:{label:m.zeniFinanceTeam.emailUs,width:p},bullettedLabels:{labels:v,listStyleType:"none"}})]}):null,$.length>0?t.jsxs(t.Fragment,{children:[t.jsx(he,{}),t.jsx(ye,{label:{label:m.zeniFinanceTeam.subscriptionPlans,width:b},bullettedLabels:{labels:$,listStyleType:"none"}})]}):null,c.length>0?t.jsxs(t.Fragment,{children:[t.jsx(he,{}),t.jsx(ye,{label:{label:m.zeniFinanceTeam.addons,width:r},bullettedLabels:{labels:c,listStyleType:"none"}})]}):null]})]})}const vo=(e,l)=>`${e}.${l}`,Fo=i.div`
|
|
376
|
-
display: flex;
|
|
377
|
-
flex-direction: column;
|
|
378
|
-
padding-top: ${a.sp3};
|
|
379
|
-
padding-bottom: ${a.sp9};
|
|
380
|
-
`,Co=i.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=>`${a.sp0} 2px ${a.sp1} ${e.theme.colors.dropShadowNormal}`};
|
|
386
|
-
border-radius: ${a.sp2};
|
|
387
|
-
`,To=i(Q)`
|
|
388
|
-
color: ${e=>e.theme.colors.champion};
|
|
389
|
-
margin-bottom: ${a.sp3};
|
|
390
|
-
`,he=i.div`
|
|
391
|
-
display: flex;
|
|
392
|
-
flex: 1;
|
|
393
|
-
background-color: ${e=>e.theme.colors.grey3};
|
|
394
|
-
min-height: 1px;
|
|
395
|
-
max-height: 1px;
|
|
396
|
-
`,Pe={width:new x(343,580,726),buttonWidth:new x(85,85)},et="companyPassportPage",Ee="companyInfo",ze="companyIncInfo",Ve="companyTaxInfo",Ae="primaryContact",_e="companyOfficer",Me="zeniFinanceTeam";function Jo(e){const l=_(),u=St(),{companyPassportView:s,isZeniUser:d,filesEndPoint:o,authParams:n,allIndustries:m,allNationalityCountries:f,isCompanyVerified:p,isDisabled:r,isSettings:b=!1,onCompanyDetailsChanged:S,onCompanyOfficerUpdated:w,onNewCompanyOfficerAdded:F,onPrimaryContactDetailsUpdated:O,onNewCompanyOfficerRemoved:j,onSaveAll:$,onAddressClick:c,onScheduleClick:v,onBackClick:h,onResetClick:M,onEditFileName:oe,updateFilesEntity:H,onDeleteFile:we,onClickMenuIcon:Ie}=e,{companyView:X,localData:Y,deleteFileStatusById:ie,updateFileStatusById:ne}=s,{companyFiles:K}=Y,re={authParams:n,filesEndPoint:o,onEditFileName:oe,onDeleteFile:we,updateFilesEntity:H},[Z,G]=q.useState(void 0),{companyDetails:de,primaryContact:$e,companyOfficerUpdateStatus:Oe,updateStatus:B}=Y,{localData:C,addressStatus:V}=de,We=jt(B.fetchState),ce=Object.values(Oe).filter(A=>A.localData!=null),U=Dt({mode:"all",defaultValues:at(Y,m,f)});q.useEffect(()=>()=>{G(void 0)},[]),q.useEffect(()=>{We==="In-Progress"&&(B.fetchState==="Completed"||B.fetchState==="Error")&&(U.reset(at(Y,m,f)),Z!==B.fetchState&&G(B.fetchState))},[Z,U,We,B,Y,X,m,f,K]);const wt=async(A,D)=>{if(A.includes(Ee)||A.includes(ze)||A.includes(Ve)||A.includes(Me)){const{companyInfo:k,companyIncInfo:L,companyTaxInfo:J,zeniFinanceTeam:Se}=D;S({companyInfo:k,incInfo:L,taxDetails:J,zeniFinanceTeam:Se})}else if(A.includes(Ae)){O(D.primaryContact);const k=D.companyOfficer.map(L=>L.userId);if(D.primaryContact.userId!=null&&k.includes(D.primaryContact.userId)){const L=k.findIndex(J=>J===D.primaryContact.userId);L>=0&&w({...D.companyOfficer[L],name:D.primaryContact.name,officerType:`Officer_${L+1}`})}}else if(A.includes(_e)){const k=parseInt(A.split(".")[1]);if(k>=0)w({...D.companyOfficer[k],officerType:`Officer_${k+1}`}),D.companyOfficer[k].userId!=null&&D.companyOfficer[k].userId===D.primaryContact.userId&&O({...D.primaryContact,name:D.companyOfficer[k].name});else if(D.companyOfficer.length>ce.length){const L=D.companyOfficer[D.companyOfficer.length-1];F(L)}else{const L=D.companyOfficer.filter(J=>J.officerType!=null);if(L.length<ce.length){const J=L.map((Se,Ot)=>{const Be={...Se,officerType:`Officer_${Ot+1}`};return w(Be),Be});L.length<ce.length&&(j(`Officer_${L.length+1}`),U.reset({companyOfficer:J}))}}}};q.useEffect(()=>{const A=U.watch((D,{name:k})=>{k!=null&&D!=null&&vt(()=>wt(k,D))});return()=>{A.unsubscribe()}});const It=U.handleSubmit(A=>{Z!=null&&G(void 0),$()}),{companyPassport:pe,common:{settings:$t}}=E.getLocalizedStrings();if(X==null)throw new Error("Company View is null");return t.jsxs(No,{children:[t.jsx(Ft,{title:pe.title,backgroundColor:u.colors.grey4,style:{zIndex:3},onBackClick:h,showBackButton:!b,showMenuIcon:b?l==="medium-compact"||l==="small":!1,source:"CompanyPassportPage",onClickMenuIcon:Ie}),Z!=null?t.jsx(ja,{fetchState:Z,onRemoveSnackbar:()=>G(void 0)}):null,t.jsxs(ko,{children:[t.jsx(Lo,{windowSize:l,children:b?$t.infoText.companyDetails:pe.quickAccessInfo}),t.jsx(Ct,{...U,children:t.jsxs("form",{id:tt(et),onSubmit:It,children:[t.jsx(za,{sectionId:Ee,companyInfo:C?.companyInfo,companyViewData:X,companyAddress:V,isDisabled:r,isCompanyVerified:p,onCompanyAddressClick:c,allIndustries:m,allNationalityCountries:f}),t.jsx(Da,{sectionId:ze,updateFileStatusById:ne,deleteFileStatusById:ie,companyFiles:K,companyIncInfo:C?.incInfo,fileProps:re,isDisabled:r}),t.jsx(so,{sectionId:Ve,updateFileStatusById:ne,deleteFileStatusById:ie,companyFiles:K,companyTaxInfo:C?.taxDetails,fileProps:re,isDisabled:r}),t.jsx(uo,{sectionId:Ae,primaryContact:$e.localData,isDisabled:r}),t.jsx(Ya,{companyOfficers:ce,sectionId:_e,isDisabled:r,onOfficerAddressClick:c}),t.jsx(Do,{data:X,companyInfo:C?.companyInfo,isDisabled:r,isZeniUser:d,sectionId:Me,onScheduleClick:v})]})})]}),Tt(U.formState.dirtyFields)||ta(Y,X,K)?t.jsx(Nt,{formId:tt(et),primaryBtn:{label:pe.save,isLoading:B.fetchState==="In-Progress",style:{width:Pe.buttonWidth.value(l)},isDisabled:e.isDisabled!=null},cancelBtn:{label:pe.cancel,style:{width:Pe.buttonWidth.value(l)},onClick:()=>{U.reset(),M()}}}):null]})}const tt=e=>`${e}_form`,at=(e,l,u)=>{const{companyDetails:s,primaryContact:d,companyOfficerUpdateStatus:o}=e,n=E.getLocalizedStrings().companyPassport,m=s.localData?.incInfo.fileId!=null?[s.localData?.incInfo.fileId]:[],f=s.localData?.taxDetails.fileId!=null?[s.localData?.taxDetails.fileId]:[],p=s.localData?.companyInfo;return{[Ee]:{...kt(s.localData?.companyInfo??{},["meetingLink","companySourceOfFunds","companySourceOfFundsDescription","countriesOfOperations","transactionVolume","transactionVolumeDescription","regulatedStatus","regulatedStatusDescription","usNexus","usNexusTypes","purposeOfAccount","purposeOfAccountDescription","companyIndustryType","companySubIndustry"]),businessModel:{selectedOption:p?.businessModel,allOptions:n.companyInfo.allBusinessModels},website:p?.website?.toString()??"",industry:{selectedOption:p?.industry,allOptions:l?.map(r=>r.code)},companyIndustryType:{selectedOption:p?.companyIndustryType,allOptions:[...ut]},subIndustry:{selectedOption:p?.companySubIndustry,allOptions:Te(p?.companyIndustryType)},firstMonthOfFY:p?.firstMonthOfFY,companySourceOfFunds:{selectedOption:p?.companySourceOfFunds,allOptions:[...pt]},companySourceOfFundsDescription:p?.companySourceOfFundsDescription,countriesOfOperations:ot(p?.countriesOfOperations,(u??[]).map(r=>r.countryCode)),transactionVolume:{selectedOption:p?.transactionVolume,allOptions:[...ct]},transactionVolumeDescription:p?.transactionVolumeDescription,regulatedStatus:p?.regulatedStatus??"",regulatedStatusDescription:p?.regulatedStatusDescription,usNexus:p?.usNexus??"",usNexusTypes:{selectedOptions:p?.usNexusTypes??[],allOptions:[...dt]},purposeOfAccount:{selectedOption:p?.purposeOfAccount,allOptions:[...rt]},purposeOfAccountDescription:p?.purposeOfAccountDescription},[Ve]:{...s.localData?.taxDetails,taxesFiledYears:{selectedOptions:s.localData?.taxDetails.taxesFiledYears.map(r=>r.toString())??[],allOptions:mt().map(r=>r.toString())},einDocument:e.companyFiles.find(r=>r.documentType==="tax_ein"),fileIds:f},[ze]:{typeOfInc:{selectedOption:s.localData?.incInfo?.typeOfInc,allOptions:n.companyIncInfo.allTypesOfIncorporation},stateOfInc:{selectedOption:s.localData?.incInfo?.stateOfInc,allOptions:n.companyIncInfo.allStatesOfIncorporation},incDate:s.localData?.incInfo.incDate?.toDate(),certificateOfIncorporation:e.companyFiles.find(r=>r.documentType==="certificate_of_incorporation"),fileIds:m},[Ae]:{userId:d.localData?.userId,name:{firstName:d.localData?.firstName,lastName:d.localData?.lastName},email:d.localData?.email},[_e]:Object.values(o).filter(r=>r.localData!=null).map(r=>{const b=r.localData;return{userId:b.userId,officerType:b.officerType,name:{firstName:b.firstName,lastName:b.lastName},email:b.email,phone:b.phone}}),[Me]:{meetingLink:s.localData?.companyInfo.meetingLink?.toString()??""}}},No=i.div`
|
|
397
|
-
display: flex;
|
|
398
|
-
min-height: 100%;
|
|
399
|
-
flex-direction: column;
|
|
400
|
-
width: 100%;
|
|
401
|
-
background-color: ${e=>e.theme.colors.grey4};
|
|
402
|
-
`,ko=i.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
|
-
`,Lo=i(xe)`
|
|
411
|
-
color: ${e=>e.theme.colors.hero};
|
|
412
|
-
display: flex;
|
|
413
|
-
justify-content: center;
|
|
414
|
-
width: ${e=>Pe.width.valuePx(e.windowSize)};
|
|
415
|
-
margin-top: ${a.sp3};
|
|
416
|
-
margin-bottom: ${a.sp4};
|
|
417
|
-
`;export{Jo as default,tt as uniqueName};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{d8 as d,aw as f,V as a,b6 as l,o as p}from"./index-BIYLqgct.js";import{a as r}from"./sentry-DhNwX3jk.js";import"./liveblocks-DXGUxn7J.js";import"./core-DQ8U4CJb.js";import"./recharts-BYppTjSs.js";import"./zeni-epic-state-DwkN4IvA.js";import"./mui-rLvQ8A4a.js";import"./lottie-C1yptpVV.js";import"./analytics-DkApCpAh.js";import"./lexical-CvUIM9vD.js";import"./utils-BdIPH7k8.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]="da1b269d-58e0-418a-b2b5-b814568d08a1",e._sentryDebugIdIdentifier="sentry-dbid-da1b269d-58e0-418a-b2b5-b814568d08a1")}catch{}})();const u="https://storage.googleapis.com/zeni-apis.appspot.com/data/confetti_sfx.mp3",_=({showConfetti:e})=>{const[t,o]=r.useState(e),[s,i]=d(u,e),[n]=f("ConfettiSuccess");return r.useEffect(()=>{e&&o(!0)},[e]),r.useEffect(()=>{t&&s===!1&&i(!0)},[t,s,i]),a.jsx(a.Fragment,{children:t&&s&&n!=null?a.jsx(l,{style:{position:"absolute",width:"100%",height:"100vh",top:p.sp0,left:p.sp0,zIndex:5},onComplete:()=>{i(!1),o(!1)},animationData:n,loop:0,play:!0,goTo:0,rendererSettings:{preserveAspectRatio:"xMidYMid slice"}}):null})};export{_ as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{V as o}from"./index-BIYLqgct.js";import i from"./CustomerOnboardingNoStepsPage-BuWnQGPi-BSZV9BI0.js";import e from"./CustomerOnboardingPage-Bl2oAvin-B7GmsFRo.js";import"./sentry-DhNwX3jk.js";import"./liveblocks-DXGUxn7J.js";import"./core-DQ8U4CJb.js";import"./recharts-BYppTjSs.js";import"./zeni-epic-state-DwkN4IvA.js";import"./mui-rLvQ8A4a.js";import"./lottie-C1yptpVV.js";import"./analytics-DkApCpAh.js";import"./lexical-CvUIM9vD.js";import"./utils-BdIPH7k8.js";import"./PaymentAccountSetupBillingAddressSection-C026Xg59-Du1LULBI.js";import"./commonTypes-DP3nDhtI-D-fLD29s.js";import"./SetUpAccountSection-DiEFZwFL-DC1aQ-pj.js";import"./CustomerOnboardingDetailPageSkeleton-DSqc1_bS-CATYZXta.js";import"./CompanyOfficerDetailsSection-5Gmlo5HX-mf8toy40.js";import"./helper-Byvbf3nO-BTmT7Zux.js";import"./LabeledAddressValueField-DNGOSAvq-BXE6xS8k.js";import"./LabeledCountryMultiSelectField-B8Lbv837-DgWr30M7.js";import"./LabeledCreatableSingleSelectField-N1wb0l0p-Dc3bkr-e.js";import"./LabeledDocumentField-vSq1xSUM-C_0QT0Hr.js";import"./QBOSetupSection-CQHdqpJF-CH_S6Ewi.js";import"./QBOConnectionDialog-B_AOC_hG-BSWcu79k.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},r=new t.Error().stack;r&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[r]="a0f6bf88-370c-43e7-b780-e59c91cd0955",t._sentryDebugIdIdentifier="sentry-dbid-a0f6bf88-370c-43e7-b780-e59c91cd0955")}catch{}})();const P=t=>t.currentTenant?.productSettings.isOtherProductsEnabled===!0?o.jsx(i,{...t}):o.jsx(e,{...t});export{P as default};
|
|
@@ -1,66 +0,0 @@
|
|
|
1
|
-
import{a8 as se,V as o,fB as Ce,J as Pe,d as be,a9 as we,aR as xe,cH as ke,bD as Ie,o as i,ab as Ae,ad as $e,aS as Ve,bo as ve,hP as Oe,F as Te,f1 as je,f2 as oe,ag as Le,y as J,am as Be,u as A}from"./index-BIYLqgct.js";import{n as c}from"./mui-rLvQ8A4a.js";import{a as $}from"./sentry-DhNwX3jk.js";import{r as Ue,t as _e}from"./PaymentAccountSetupBillingAddressSection-C026Xg59-Du1LULBI.js";import{f as ze}from"./CustomerOnboardingDetailPageSkeleton-DSqc1_bS-CATYZXta.js";import"./liveblocks-DXGUxn7J.js";import"./core-DQ8U4CJb.js";import"./recharts-BYppTjSs.js";import"./zeni-epic-state-DwkN4IvA.js";import"./lottie-C1yptpVV.js";import"./analytics-DkApCpAh.js";import"./lexical-CvUIM9vD.js";import"./utils-BdIPH7k8.js";import"./commonTypes-DP3nDhtI-D-fLD29s.js";import"./SetUpAccountSection-DiEFZwFL-DC1aQ-pj.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},u=new e.Error().stack;u&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[u]="67257c6f-84ca-403a-9a87-5a8ca83c8fa0",e._sentryDebugIdIdentifier="sentry-dbid-67257c6f-84ca-403a-9a87-5a8ca83c8fa0")}catch{}})();const q="onboardingPaymentAccountSetupSection",ie="customerOnboardingNoStepsDetailPage",n="onboardingSubscriptionBillingAddress",Q={titleWidth:new J(343,580,726,826),subTitlePaddingTop:new J(A[3],A[3]),subTitlePaddingBottom:new J(A[3],A[3])},De=e=>`${e}_form`,Ee=Te.getLocalizedStrings(),Fe=({onboardingCustomerView:e,connectedAccountProvider:u,cardPaymentView:p,stripeKey:v,googleAPIKey:O,signedInUser:P,currentTenant:T,onUpdateStep:j,handleCreateCardSetupIntent:L,handleConfirmCardSetupIntent:B,updateCardPaymentModalState:b,handleAddCardPaymentSource:U,resetCardPaymentViewState:_,handleResetCardPaymentErrorStatuses:z,redirectToProductSuitePage:w,onUpdateCustomerView:D,...E})=>{const m=Pe(),F=se(),{analytics:h}=F,{onFetchLinkTokenClick:K,onUpdatePaymentAccountStatus:M,onUpdatePaymentAccountLoginStatus:R,onEstablishConnectionClick:S,onEstablishConnectionSuccess:N,handleLogOutClick:G,onZeniLogoClick:H,onAddressEditHandler:x}=E,W=be(),r=we({mode:"onSubmit",reValidateMode:"onSubmit",defaultValues:V(e),values:V(e),shouldFocusError:!0,resetOptions:{keepDirtyValues:!0}}),{companyOfficerLocalData:re,saveStatus:g,paymentAccount:k,paymentAccountStatus:de,plaidConnectionDetails:X,uiState:le,allNationalityCountries:Y,subscriptionBillingAddress:y}=e,{customerOnboardingPage:ce,common:f}=Ee,{footer:ue,steps:pe}=ce,{buttons:Z}=ue,ee=pe.link_payment_account,I=xe(g.fetchState),te=Object.values(re).findIndex(t=>t?.isSelectedForVerification===!0)??0,me=`Officer_${te<0?1:te+1}`,ge=async(t,a)=>{if(t.includes(n)&&a[n]!=null){const s=r.getValues(`${n}`).country;let d=a[n];if(t.includes(`${n}.street`)&&a[n].street!=null){const{addressValue:l}=a[n].street,C=je(l?.country);d={street:a[n].street??f.strings.empty,city:l?.locality??f.strings.empty,state:l?.administrativeAreaLevel1??f.strings.empty,country:C,countryCode:l?.countryCode??f.strings.empty,postalCode:l?.postalCode??f.strings.empty,secondaryInfo:a[n].secondaryInfo,suite:a[n].suite},s.selectedOption!==C.selectedOption&&(d={...d,country:C})}else t===`${n}.country`&&s.selectedOption!=null?d={...d,countryCode:oe(s.selectedOption)}:s.selectedOption!=null&&t.includes(`${n}.street`)===!1&&(d={...d,countryCode:oe(s.selectedOption)});x(d)}};$.useEffect(()=>{const t=r.watch((a,{name:s})=>{s!=null&&a!=null&&ke(()=>ge(s,a))});return()=>{t.unsubscribe()}}),$.useEffect(()=>{I==="In-Progress"&&g.fetchState==="Completed"&&r.reset(V(e),{keepDirtyValues:!1})},[r,e,I,g.fetchState,Y]);const ye=()=>{const t=r.getValues(n),a={street:t.street.addressString,suite:t.suite,city:t.city,state:t.state,postalCode:t.postalCode,country:t.country.selectedOption??f.strings.empty,secondaryInfo:t.secondaryInfo};h.trackOnboardingBillingAddressSave(a)},ne=()=>{const t=Object.values(X).some(l=>l.fetchStatus.fetchState==="Completed"),a=k?.providerVerificationStatus?.code?.includes("verified")??!1,s=p.cardsList.length>0,d=p.bankAccountsList[0]?.providerVerificationStatus?.code?.includes("verified")??!1;return t&&a||!a&&!k&&s||!s&&!k&&d};function fe(){if(r.getFieldState(n).error)return!1;const t=r.getValues(n),a=y?.street.join("").trim(),s=y?.city,d=y?.state,l=y?.country,C=y?.postalCode!=null&&y.postalCode||t.postalCode||f.strings.empty;return!!a&&!!s&&!!d&&!!l&&!!C}const he=async()=>{const t=await r.trigger(n),a=await r.trigger(q);t&&a&&(ye(),j("link_payment_account"),D(me,!1,!0))};$.useEffect(()=>{I==="In-Progress"&&g.fetchState==="Completed"&&(r.reset(V(e),{keepDirtyValues:!1}),w())},[r,e,I,g.fetchState,Y,w]);const[ae,Se]=$.useState(!1);return o.jsxs(Ke,{children:[o.jsxs(Me,{windowSize:m,children:[o.jsx(Ie,{title:ee.sectionTitle,showBackButton:!1,backgroundColor:W.colors.grey4,style:{zIndex:4},source:"CustomerOnboardingPaymentAddressDetailPage",showLeftSection:m!=="small",titleStyle:{display:"flex",alignItems:"center"},navBarContainerStyles:{paddingTop:i.sp0,paddingBottom:i.sp0},leftSideComponent:o.jsx(He,{children:o.jsx(We,{"data-testid":Ae("zeni-logo-customer-onboarding-payment-address-detail-page"),onClick:H})})}),o.jsx($e,{...r,children:o.jsx(Ne,{id:De(ie),children:o.jsxs(Re,{children:[o.jsx(Ze,{windowSize:m,children:ee.sectionSubTitle}),o.jsx(Ue,{connectedAccountProvider:u,paymentAccount:k,accountStatus:de,plaidConnectionDetails:X,subscriptionBillingAddressSectionId:n,sectionId:q,analytics:h,isValid:ne(),onFetchLinkTokenClick:K,onEstablishConnectionClick:S,onUpdatePaymentAccountStatus:M,onUpdatePaymentAccountLoginStatus:R,onEstablishConnectionSuccess:N,updateCardPaymentModalState:b,cardPaymentView:p,resetCardPaymentViewState:_,cardSetupInProgress:ae,googleAPIKey:O,subscriptionBillingAddress:y})]},"link_payment_account")})}),o.jsx(Ve,{formId:`${ie}`,leftSideComponent:o.jsx(Ge,{windowSize:m,children:o.jsx(ve,{signedInUser:P,currentTenant:T,onLogOutClick:G})}),style:{width:m==="small"?"auto":"100%",padding:i.sp0,rowGap:i.sp1},helperContainerStyle:{width:"100%",rowGap:i.sp1,marginTop:"12px",marginBottom:i.sp2},primaryBtn:{onClick:he,label:Z.submit,isLoading:g.fetchState==="In-Progress",isDisabled:g.fetchState==="In-Progress"||!(fe()&&ne())},containerStyle:{width:"auto",justifyContent:"center"},helperText:Z.submitText.replace("__action__",Z.submit),helperStyle:{width:"auto",padding:i.sp0,rowGap:i.sp0,textAlign:"center"}})]}),o.jsx(_e,{handleConfirmCardSetupIntent:B,updateCardPaymentModalState:b,handleCreateCardSetupIntent:L,handleAddCardPaymentSource:U,cardPaymentView:p,stripeKey:v,isCardPaymentOpen:le.isCardPaymentPopupOpen,handleResetCardPaymentErrorStatuses:z,cardSetupInProgress:ae,setCardSetupInProgress:Se})]})},Ke=c.div`
|
|
2
|
-
display: flex;
|
|
3
|
-
flex-direction: column;
|
|
4
|
-
align-items: center;
|
|
5
|
-
min-width: 100% ${e=>e.theme.breakpoints.down("md")} {
|
|
6
|
-
width: 100%;
|
|
7
|
-
padding-left: ${i.sp0};
|
|
8
|
-
}
|
|
9
|
-
`,Me=c.div`
|
|
10
|
-
display: flex;
|
|
11
|
-
flex-direction: column;
|
|
12
|
-
align-items: center;
|
|
13
|
-
flex: 1;
|
|
14
|
-
width: 100%;
|
|
15
|
-
height: 100%;
|
|
16
|
-
background-image: ${e=>`url(https://storage.googleapis.com/zeni-apis.appspot.com/images/signin-background-${e.windowSize==="small"?"m":"w"}-${e.theme.mode==="dark"?"d":"l"}.svg)`};
|
|
17
|
-
background-color: ${e=>e.theme.colors.grey4};
|
|
18
|
-
background-size: inherit;
|
|
19
|
-
background-attachment: fixed;
|
|
20
|
-
background-position: ${e=>e.windowSize==="small"?"center center":"right center"};
|
|
21
|
-
background-repeat: no-repeat;
|
|
22
|
-
|
|
23
|
-
${e=>e.theme.breakpoints.down("lg")} {
|
|
24
|
-
background-size: cover;
|
|
25
|
-
}
|
|
26
|
-
`,Re=c.div`
|
|
27
|
-
display: flex;
|
|
28
|
-
height: 100%;
|
|
29
|
-
flex-direction: column;
|
|
30
|
-
padding-bottom: ${i.sp0};
|
|
31
|
-
`,Ne=c.form`
|
|
32
|
-
padding-top: ${i.sp0};
|
|
33
|
-
flex: 1;
|
|
34
|
-
`,Ge=c.div`
|
|
35
|
-
display: flex;
|
|
36
|
-
height: ${i.sp7};
|
|
37
|
-
left: ${i.sp4};
|
|
38
|
-
bottom: ${i.sp3};
|
|
39
|
-
position: fixed;
|
|
40
|
-
justify-content: center;
|
|
41
|
-
align-items: center;
|
|
42
|
-
cursor: default;
|
|
43
|
-
`,He=c.div`
|
|
44
|
-
display: flex;
|
|
45
|
-
`,We=c(Le)`
|
|
46
|
-
height: ${i.sp4};
|
|
47
|
-
width: 102px;
|
|
48
|
-
color: ${e=>e.theme.colors.primary};
|
|
49
|
-
cursor: pointer;
|
|
50
|
-
flex-shrink: 0;
|
|
51
|
-
margin-left: -${i.sp4};
|
|
52
|
-
`,Ze=c(Be)`
|
|
53
|
-
color: ${e=>e.theme.colors.hero};
|
|
54
|
-
display: flex;
|
|
55
|
-
justify-content: center;
|
|
56
|
-
width: ${e=>Q.titleWidth.valuePx(e.windowSize)};
|
|
57
|
-
padding-top: ${e=>Q.subTitlePaddingTop.valuePx(e.windowSize)};
|
|
58
|
-
padding-bottom: ${e=>Q.subTitlePaddingBottom.valuePx(e.windowSize)};
|
|
59
|
-
text-align: ${e=>e.windowSize==="small"?"initial":"center"};
|
|
60
|
-
width: 100%;
|
|
61
|
-
`,V=e=>({[q]:{account:{allOptions:[],selectedOption:void 0}},[n]:Oe(n,e?.subscriptionBillingAddress)[n]}),ut=e=>{const{onboardingCustomerView:u,cardPaymentView:p,signedInUser:v,currentTenant:O,isOnAddressPage:P,stripeKey:T,googleAPIKey:j,meetingUrl:L,onUpdateStep:B,onZeniLogoClick:b,handleLogOutClick:U,handleCockpitClick:_,handleCreateCardSetupIntent:z,handleConfirmCardSetupIntent:w,handleFetchPaymentSources:D,updateCardPaymentModalState:E,resetCardPaymentViewState:m,handleResetCardPaymentErrorStatuses:F,redirectToProductSuitePage:h,...K}=e,{allSteps:M,currentStep:R,fetchStatus:S}=u,N=se(),{analytics:G}=N,H={allSteps:M,isOnAddressPage:P,currentStep:R,fetchStatus:S,signedInUser:v,currentTenant:O,onUpdateStep:W=>{B(W)},onZeniLogoClick:b,handleLogOutClick:U,handleCockpitClick:_,redirectToProductSuitePage:h},x=S.fetchState==="In-Progress"||S.fetchState==="Not-Started";return o.jsxs(Je,{isOnAddressPage:P,children:[x?o.jsx(ze,{isNoStepsPage:!0}):o.jsx(Fe,{...H,onboardingCustomerView:u,handleCreateCardSetupIntent:z,handleConfirmCardSetupIntent:w,updateCardPaymentModalState:E,handleFetchPaymentSources:D,cardPaymentView:p,resetCardPaymentViewState:m,stripeKey:T,googleAPIKey:j,handleResetCardPaymentErrorStatuses:F,redirectToProductSuitePage:h,...K}),x?null:o.jsx(Ce,{isFooterRendered:!0,meetingUrl:L,analytics:G,productType:"onboarding"})]})},Je=c.div`
|
|
62
|
-
display: flex;
|
|
63
|
-
flex-direction: column;
|
|
64
|
-
width: ${e=>e.isOnAddressPage?"fit-content":"100%"};
|
|
65
|
-
height: 100vh;
|
|
66
|
-
`;export{ut as default};
|