@zeniai/web-cockpit-ui 1.14.84-dev → 1.14.85-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-BXgsd50c-BuCiUEId.js → ACHDetailsPage-Dzk7YdoJ-Cuct0t6u.js} +2 -2
- package/dist/assets/{AIPerformancePage-BdDTidCL-D-IQ6p36.js → AIPerformancePage-DBCH9dJi-CYibQjrX.js} +19 -19
- package/dist/assets/{AccountInfoPage-w0STaK9a-BfMIBiEJ.js → AccountInfoPage-Mzw-22d_-Df5O2T5Z.js} +2 -2
- package/dist/assets/{AccountInfoPageContent-CsuUhHXU-DgiU-I5H.js → AccountInfoPageContent-Bjp81drF-Cqcv4hk8.js} +15 -15
- package/dist/assets/{AccountLockedInfoModal-iYb31wv7-CEyp2zKM.js → AccountLockedInfoModal-Zg2PAu1o-svgY2-MJ.js} +1 -1
- package/dist/assets/{AccountReconDetailsDrawerPage-DmkLTIkW-DxChexc_.js → AccountReconDetailsDrawerPage-BTkrwp4Q-CWHV1qM1.js} +9 -9
- package/dist/assets/{AccountRow-BObEIy6l-CsCw-i7a.js → AccountRow-CIsbwvGp-J3oMxL3b.js} +10 -10
- package/dist/assets/{AccountsPromoCardStack-B8gJFsYh-DpzT8FNB.js → AccountsPromoCardStack-DrElZh-K-CUoBlW42.js} +13 -13
- package/dist/assets/{AddAddressForCardDrawer-vOgzMYWA-Bo72mQ01.js → AddAddressForCardDrawer-D5Kqxx0c-CDAVfdUf.js} +1 -1
- package/dist/assets/{AddToWalletPage-BhphXgem-DR4-yAJW.js → AddToWalletPage-B68eBsAU-Dnsjp7Oq.js} +5 -5
- package/dist/assets/{AgingReportsPage-DEgupWct-SJsZmYxE.js → AgingReportsPage-BlQHxYjL-Cr6yxtF3.js} +4 -4
- package/dist/assets/{AllUserItems-S2DAZpO6-Zcx2jN6k.js → AllUserItems-DsECKAGD-PW2UBBng.js} +4 -4
- package/dist/assets/{ApAgingDetailPage-CvDD8-s7-k2W-N5me.js → ApAgingDetailPage-Bg0ZrGXm-CfXEq_5-.js} +2 -2
- package/dist/assets/{AppBasePage-C4z5I-xG-vGdvNBYI.js → AppBasePage-tPaBc2ei-WGoBSx1D.js} +7 -7
- package/dist/assets/{AppDrawerContent-Dka5HlPs-BfBKKeHh.js → AppDrawerContent-Cx4zDKi_-DO8upp4U.js} +2 -2
- package/dist/assets/ApprovalRulesSettingsPage-BcRZvSQH-BuukHz1z.js +47 -0
- package/dist/assets/{ArAgingChart-CJ7XKU9h-BSixtgVA.js → ArAgingChart-RdGwOP5k-DaN2WJzI.js} +1 -1
- package/dist/assets/ArAgingDetailPage-Bh7NAVZf-DauNApby.js +46 -0
- package/dist/assets/{AttachmentView-Dg6PizI7-BzoqKbZ4.js → AttachmentView-ClnTjRCg-CXQ9ySez.js} +6 -6
- package/dist/assets/{BankAccountSection-Chay7X-G-vPiVizDl.js → BankAccountSection-D3sQOQ-c-t8HGw1J0.js} +4 -4
- package/dist/assets/{BankAccountWarningSection-CSChi1lw-BVD5BCv3.js → BankAccountWarningSection-CxLBPI_P-CQJWoDnI.js} +9 -9
- package/dist/assets/{BankConnectionsSettingsPage-DJV7q1Kp-DcUIdQZo.js → BankConnectionsSettingsPage-Bsix2nzV-BvUIdsy8.js} +6 -6
- package/dist/assets/{BillDetailPage-DM06uZnD-BOk9lw2_.js → BillDetailPage-B52FZrvM-BFE_NGrS.js} +10 -10
- package/dist/assets/{BillPayApprovalRuleDetailPage-MsPIxgUt-r4h6U7BK.js → BillPayApprovalRuleDetailPage-CswUbxdi-Cprf5Nyo.js} +1 -1
- package/dist/assets/{BillPayApprovalRulesPage-BhDdco2x-B1oZ9jjD.js → BillPayApprovalRulesPage-B-8sIYjs-D2BSNMf9.js} +1 -1
- package/dist/assets/{BillPayPromoPage-Dy-opG76-CZ2iWLB7.js → BillPayPromoPage-B6jW_8rf-YW9uzBg5.js} +5 -5
- package/dist/assets/{BillPaySetUpPage-DUvwWlaD-Bg_qNGFx.js → BillPaySetUpPage-Rqxy02BM-CEkcaNcr.js} +2 -2
- package/dist/assets/{BillingSettingsPage-wj_sIJgc-Dy0iglvP.js → BillingSettingsPage-CPs5zrIc-DODFNfJu.js} +4 -4
- package/dist/assets/{BillsBulkReviewDrawerPage-DbC84oxR-CV4aNHIq.js → BillsBulkReviewDrawerPage-DLQsxJi8-DtW4kiE9.js} +1 -1
- package/dist/assets/{BoxItem-CdqDzfZN-BxmSstzM.js → BoxItem-CP9cPZQd-BW2Fv6YZ.js} +1 -1
- package/dist/assets/{BusinessVerificationPage-BMtHNNcG-CKxF3KMp.js → BusinessVerificationPage-Cayj-kYe-DIQRuHb0.js} +1 -1
- package/dist/assets/{CardNumberSubText-lh7fQJis-CKFkz1Hy.js → CardNumberSubText-FdCtSIHd-Cer2LzOo.js} +1 -1
- package/dist/assets/{CashbackDetailPage-KRbsYA09-DzsJTodf.js → CashbackDetailPage-CZICE37r-CchxXOB0.js} +11 -11
- package/dist/assets/{ChargeCardDetailPage--WP6KTfb-BgNGsK6v.js → ChargeCardDetailPage-Be2X4Rx8-DkQXGv5E.js} +27 -27
- package/dist/assets/{ChargeCardListPage-knAPmob6-CgVyQmJQ.js → ChargeCardListPage-DzfBzM8o-BpS6GwxX.js} +13 -13
- package/dist/assets/{ChargeCardListTable-DsfnKX3P-D0-TBhcC.js → ChargeCardListTable-Bc-4mcCz-DGGclb69.js} +44 -44
- package/dist/assets/{ChargeCardPromoPage-C9610LtW-GRwSeJ82.js → ChargeCardPromoPage-D_C7hXGy-jKodLkTT.js} +7 -7
- package/dist/assets/{ChargeCardSetupPage-Cy4JhjJW-BnQWcnli.js → ChargeCardSetupPage-BwNi9-pq-C4dK5zJO.js} +3 -3
- package/dist/assets/{ChargeCardStatementsPage-C7uS1jEO-7cO1LhgS.js → ChargeCardStatementsPage-Bf04MOoK-k-sWDpeT.js} +8 -8
- package/dist/assets/{CheckDepositDrawerPage-TfiJwtqN-CwfCisTT.js → CheckDepositDrawerPage-B-A9fkGZ-DZFZ2JbI.js} +7 -7
- package/dist/assets/{CollapsableReportTable-NYu8Bq-g-CCeLwwka.js → CollapsableReportTable-DdMyzUD0-BAoVL7wM.js} +1 -1
- package/dist/assets/{CompanyOfficerDetailsSection-CiVliExW-DzmWuQm0.js → CompanyOfficerDetailsSection-kRtuUd2c-Cm23V4kL.js} +18 -18
- package/dist/assets/{CompanyPassportCard-8zvCdmxt-CxjPiS1u.js → CompanyPassportCard-KhSJJMcy-Cll554T1.js} +1 -1
- package/dist/assets/{CompanyPassportPage-AS4N7oT2-Bv10VeId.js → CompanyPassportPage--ckOuqML-CPrNkQDu.js} +10 -10
- package/dist/assets/{CompleteProfile-Dj080UdJ-B2qMa6vk.js → CompleteProfile-D8egRg8d-QRh3PECw.js} +1 -1
- package/dist/assets/{ConfettiBurst-DcCUSSaX-yciACYT1.js → ConfettiBurst-CvRhNEAY-OaJ4gLIH.js} +1 -1
- package/dist/assets/CreateOrEditVendorPage-DrZh60Xs-DORgL7Gm.js +281 -0
- package/dist/assets/{CreditCardPaymentDrawerPage-BKvqMwnt-BuHB8ode.js → CreditCardPaymentDrawerPage-B7ssB1GM-DOObGC22.js} +8 -8
- package/dist/assets/{CurrencySelectField-ksMvik33-CjY_Sqhm.js → CurrencySelectField-BXp2mtZ7-BZ1r7qNY.js} +1 -1
- package/dist/assets/{CustomerOnboardingActivationPage-DfT_gkE4-Dk7tFjjw.js → CustomerOnboardingActivationPage-BX7STQsk-ClpFwMrN.js} +1 -1
- package/dist/assets/CustomerOnboardingContainerPage-BkPTeV9_-YlZ2rpks.js +1 -0
- package/dist/assets/{CustomerOnboardingDetailPageSkeleton-DfOtXgss-1gud75px.js → CustomerOnboardingDetailPageSkeleton-C5tSpmSB-5KFMWV1l.js} +5 -5
- package/dist/assets/{CustomerOnboardingNoStepsPage-61UorFvn-DF0b8zE7.js → CustomerOnboardingNoStepsPage-CQUQlLbj-llUCphSN.js} +4 -4
- package/dist/assets/CustomerOnboardingPage-D0p8khnC-C1IdwvBx.js +107 -0
- package/dist/assets/{CustomerOnboardingProductSuitePage-CTowHB2X-DUFAd8wB.js → CustomerOnboardingProductSuitePage-BRk3TA9f-n37UhYFK.js} +1 -1
- package/dist/assets/{Dashboard-2RpETnqH-Dgva4ZAW.js → Dashboard-CBOma7mv-B9j8ewTM.js} +1 -1
- package/dist/assets/{DashboardReportPage-DRRWpGiJ-Z6RP-3ZH.js → DashboardReportPage-DRYx3AOy-D6rkizKp.js} +1 -1
- package/dist/assets/{DashboardSidebarBackgroundAnimation-0cCKM3E9-DV5Ukn4W.js → DashboardSidebarBackgroundAnimation-DYsp7Imm-CsY2ImuX.js} +1 -1
- package/dist/assets/{DepositAccTransactionItem-DjbheijR-B7o468tr.js → DepositAccTransactionItem-BQU7vZKr-BOGssvEh.js} +1 -1
- package/dist/assets/DepositAccTransactionListPage-DQDt_2kb-D0tTF08R.js +66 -0
- package/dist/assets/{DomesticWireDetailsPage-DuKrVIAL-BzRIhYO3.js → DomesticWireDetailsPage-B0KbC9m8-DSgkPJjx.js} +1 -1
- package/dist/assets/{DownloadOverlay-f6SOW8iK-DORigjXi.js → DownloadOverlay-D2vm9EYI-1UU-2gMF.js} +18 -18
- package/dist/assets/{DrawerPage-BkIQ6mLJ-DU9u6eQ0.js → DrawerPage-DHIaNEwf-DBdDE0YZ.js} +7 -7
- package/dist/assets/{EditPeoplePage-lZcM4Zfw-CzhpHcfF.js → EditPeoplePage-B4OaKX89-CxOdlVup.js} +2 -2
- package/dist/assets/{EditReimbursementDetailPage-WO3U-vVY-CTjbkhIP.js → EditReimbursementDetailPage-C_JOnUnR-BaFHONcZ.js} +1 -1
- package/dist/assets/{EntityDetailPage-AP27Niqu-DwUEbyHL.js → EntityDetailPage-DGq_Sr4I-DbAOqf4w.js} +2 -2
- package/dist/assets/{EntitySummarySection-B6khdAJg-7W3j7WRI.js → EntitySummarySection-CAKPRhm9-DT4p2FkX.js} +10 -10
- package/dist/assets/{ExpenseAutomationOverviewPage-CcTGou9x-D6xWlI6r.js → ExpenseAutomationOverviewPage-c4H81maP-DA77wvgo.js} +9 -9
- package/dist/assets/{ExpenseAutomationPage-DEleaYKs-SFko_-SO.js → ExpenseAutomationPage-DoI_XKeY-6CiggPiF.js} +160 -160
- package/dist/assets/{ExpressPayPage-CLYzefaM-CHfIN-TO.js → ExpressPayPage-CjhXfVeX-BOKCYwCy.js} +12 -12
- package/dist/assets/{FeaturePreviewPage-T78A34---Cfgg_jhN.js → FeaturePreviewPage-CwrW_5lN-DmGMYSsi.js} +1 -1
- package/dist/assets/{FollowStepsSection-B_mTbqHf-CcoWV2SW.js → FollowStepsSection-DwVibYwI-v9hEOCV9.js} +6 -6
- package/dist/assets/{GlobalReviewListPage-XfxDC9vP-Bi-7QMiL.js → GlobalReviewListPage-JUSXRKq4-DVN5r0h7.js} +45 -45
- package/dist/assets/{InformationCardStack-Buibt8cT-DzjFUhjp.js → InformationCardStack-CK1Ztw1n-C4th25N4.js} +1 -1
- package/dist/assets/{InsightsCardStack-Cj5iIm_T-CnLFxYVI.js → InsightsCardStack-BKAezFjz-Dc6HzMco.js} +2 -2
- package/dist/assets/{InsightsSection-DuPqQb5Z-C8m7clcN.js → InsightsSection-Bauri5yR-CKFEflqf.js} +1 -1
- package/dist/assets/{IntegrationsSettingsPage-VZDSLMHK--2kEd_Ab.js → IntegrationsSettingsPage-CnRe_xH3-UkqXGmer.js} +9 -9
- package/dist/assets/{InternationalWireSwiftDetailsPage-BUa1svL--BjPRjytS.js → InternationalWireSwiftDetailsPage-BJkaLuNw-77-AaJID.js} +10 -10
- package/dist/assets/{InternationalWireVerificationPage-C1qKNhqJ-D8-rYzvp.js → InternationalWireVerificationPage-pPH2bNM7-BKQZ3C2I.js} +1 -1
- package/dist/assets/{InviteFormPage-GPXu2hLn-Dlxczoo1.js → InviteFormPage-CsL2egNG-DnYkx7hA.js} +1 -1
- package/dist/assets/{InvitePageListView-FEFeEFZJ-fGYpyL6r.js → InvitePageListView-rt3KC_c5-JZPrjnvG.js} +33 -33
- package/dist/assets/{InvitePeoplePage-C6E594rf-DZBpEScz.js → InvitePeoplePage-Cdr0dhtJ-QaKpYzAx.js} +4 -4
- package/dist/assets/{InvoiceUploadSection-uvB-_dyl-BnrUYuvf.js → InvoiceUploadSection-NVvtQvoL-B8iP_R_q.js} +1 -1
- package/dist/assets/{IssueChargeCardPage-DSPlu840-3aXsgWJG.js → IssueChargeCardPage-D5KenKnm-I0qHogFn.js} +13 -13
- package/dist/assets/{LabeledAddressValue-CzDn9ZY4-bnEz1Jxt.js → LabeledAddressValue-Bwkw-Ez_-QZs1bcqC.js} +1 -1
- package/dist/assets/{LabeledAddressValueField-C_8kPzjy-5OUHMeqd.js → LabeledAddressValueField-BgkRIdwJ-D68tBsFt.js} +2 -2
- package/dist/assets/{LabeledControlledCheckBoxField-LwfkGeF--D4JaYe7v.js → LabeledControlledCheckBoxField-RzyuT5ZX-BsFbzCeg.js} +1 -1
- package/dist/assets/{LabeledCreatableSingleSelectField-sEf-9BOE-pPbJFdXC.js → LabeledCreatableSingleSelectField-BP_p62Nk-BGV5p2pd.js} +2 -2
- package/dist/assets/{LabeledDocumentField-rGzXpShn-Cfh7MC5-.js → LabeledDocumentField-DGncRe-Q-BM_MF9Yy.js} +1 -1
- package/dist/assets/{LabeledDropDownFormattedTextField-CIQk7Jhu-BODJHkfO.js → LabeledDropDownFormattedTextField-DWUVcIR8-DmvGwPXC.js} +7 -7
- package/dist/assets/{LabeledText-Dc-697nR-dyJ4TshB.js → LabeledText-BzD_-lgI-Br_7nwt2.js} +1 -1
- package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-B0D7IWfA-CLizobZu.js → LabeledUserSingleSelectWithSubtitlesField-D3kjxF9V-C7cFlAui.js} +10 -10
- package/dist/assets/{LabeledZeniRolesDropDownField-BO8f1yqV-POb2k_D_.js → LabeledZeniRolesDropDownField-BlmybTGB-C8vefnXI.js} +25 -25
- package/dist/assets/{LinkJETransactionPage-DDSo8zJn-CupLOAYQ.js → LinkJETransactionPage-CUnfHHeT-BQ0Gfxk0.js} +9 -9
- package/dist/assets/{LockCardPage-CvZcUUc8-B6VLJ-gr.js → LockCardPage-2jOFCVkW-Cd-7Cld7.js} +19 -19
- package/dist/assets/{LowBalancePopup-DJQCz0Ed-B8IDUNee.js → LowBalancePopup-Du0kX_mJ-B-0Hf7BW.js} +2 -2
- package/dist/assets/{MagicLinkACHDetailsPage-CEtaoWk8-CST49L9m.js → MagicLinkACHDetailsPage-CkbNMu7Z-B4drRgdG.js} +1 -1
- package/dist/assets/{MagicLinkDomesticWireDetailsPage-qdgMQR3_-DWvT9O1j.js → MagicLinkDomesticWireDetailsPage-D0XBf5_X-D4YEFAaf.js} +1 -1
- package/dist/assets/{MagicLinkInternationalWireDetailsPage-DNwtPZ-u-Bk0G3IwE.js → MagicLinkInternationalWireDetailsPage-Bl93T-SF-DbfMD1IO.js} +1 -1
- package/dist/assets/{MagicLinkSuccessPage-60TBVrSw-CKgQ4p6j.js → MagicLinkSuccessPage-C26glp7T-BbSy9weN.js} +2 -2
- package/dist/assets/{MagicLinkTitleSection-D2fXbnDV-CA6SEdmn.js → MagicLinkTitleSection-B4nxLzap-CM0lHGYk.js} +1 -1
- package/dist/assets/{MailingDetailsSection-C6cVooC3-CCSD5vtq.js → MailingDetailsSection-Cou_W8JF-D0QplON-.js} +1 -1
- package/dist/assets/Menu-CdF7UWPF-DT1TTbqS.js +17 -0
- package/dist/assets/{MyBankConnectionsSettingsPage-D2EPH9WZ-DhQP4OT2.js → MyBankConnectionsSettingsPage-BAjjxA98-P3jZBDkg.js} +5 -5
- package/dist/assets/{MyPendingActivationChargeCardListPage-Bidsd2bk-DJBBvD6g.js → MyPendingActivationChargeCardListPage-DsRGcA8F-BiAy3gfH.js} +1 -1
- package/dist/assets/{MyProfileSettingsPage-BH2ZVQTk-DMG3qFrn.js → MyProfileSettingsPage-y-iZgUqL-Cmq9Fbc9.js} +6 -6
- package/dist/assets/{NavBarWithPicker-Cg2TZjBi-DZVc5NBz.js → NavBarWithPicker-ph4heJns-CH6-ZGCk.js} +4 -4
- package/dist/assets/{NavigationArrow-CYserS2B-DdYPXfvg.js → NavigationArrow-BojAUI53-DuIW3OB3.js} +1 -1
- package/dist/assets/{NavigationDots-CT_oO_7z-Bt9KzB5Z.js → NavigationDots-Bf66leAL-DWvE0Tr9.js} +1 -1
- package/dist/assets/{NewGlobalMerchantPage-D3MQU5Sh-BUpZMSnV.js → NewGlobalMerchantPage-D43XJhIa-CGBQEE1e.js} +5 -5
- package/dist/assets/{NoDataChart-BItQZAQ9-a5HKjWqu.js → NoDataChart-6R5pxJVo-CWkI_hu9.js} +1 -1
- package/dist/assets/{NoDataTable-R8OCdB2c-cDhvp6Rg.js → NoDataTable-CNx0KCKn-Yxxqzyz6.js} +1 -1
- package/dist/assets/{NotFoundPage-DLHYdRdN-xXzpa00n.js → NotFoundPage-CE9BW_aV-BJq9qwHQ.js} +1 -1
- package/dist/assets/{NotificationSettingsPage-CIwxb6c9-FsYdgXX7.js → NotificationSettingsPage-etN6HEwO-CPu8hoID.js} +12 -12
- package/dist/assets/{NotificationsListConfig-DSgUS0hE-mwmsOI0p.js → NotificationsListConfig-15ae4nik-CPKCivw4.js} +1 -1
- package/dist/assets/{NotificationsPage-W5ZhprRe-DZn-eWsJ.js → NotificationsPage-BwbxqKxd-CJ_w7jhJ.js} +23 -23
- package/dist/assets/{OpExByVendorPage-DIi58wXa-nKCVWs3g.js → OpExByVendorPage-FR3oloXp-BIjz5fFP.js} +24 -24
- package/dist/assets/{OverlayContainerPage-BsY9_22w-CFGZ7LWs.js → OverlayContainerPage-CrZuT2Jj-BFQOGYGF.js} +1 -1
- package/dist/assets/{PandLWithForecastPage-BvMxFrqo-D4f9n7Zm.js → PandLWithForecastPage-Bx3ZyA3l-DeFHP0VX.js} +7 -7
- package/dist/assets/{PaymentAccountSetupBillingAddressSection-kUAm-v-A-BSna9XIu.js → PaymentAccountSetupBillingAddressSection-R1O20DhA-C65ZHllw.js} +6 -6
- package/dist/assets/{PeoplePage-CtnWc0LE-B3_lhERY.js → PeoplePage-B3HRaJWz-DZIUGp3j.js} +15 -15
- package/dist/assets/{ProductsCarousel-n0ZNrr7--DQIbkMZp.js → ProductsCarousel-Dn4vuZwM-XZC4Gi6v.js} +4 -4
- package/dist/assets/{PromoBaseCards-CeS0HoCZ-CICve0tH.js → PromoBaseCards-BKo4wO-U-UIjavA07.js} +1 -1
- package/dist/assets/{QBOConnectionDialog-BxSTc99Z-DVq4lO-s.js → QBOConnectionDialog-CPq0aUew-DHwaU-lE.js} +5 -5
- package/dist/assets/{QBOSetupSection-FrO9rgct-B0n-bnvz.js → QBOSetupSection-BjImTh7O-Cf73veGI.js} +11 -11
- package/dist/assets/{ReimbursementApprovalRuleDetailPage-BjtdatXs-DvpYlYpI.js → ReimbursementApprovalRuleDetailPage-DD1HwLO0-DBTNMi4-.js} +1 -1
- package/dist/assets/{ReimbursementApprovalRulesPage-B0_FgpJf-BSGUtiNs.js → ReimbursementApprovalRulesPage-DHQHS0eD-l5f43j6l.js} +1 -1
- package/dist/assets/{ReimbursementDetailPage-BWhPxHY--DgkbtFUt.js → ReimbursementDetailPage-DiMXs0_o-C-Gngkni.js} +7 -7
- package/dist/assets/{ReimbursementPromoPage-CFG0yxOE-CNHt16Bv.js → ReimbursementPromoPage-BinqJ3lR-Dkzvoe2N.js} +5 -5
- package/dist/assets/{ReimbursementSetUpPage-BmUdLEa9-uEaDyTyL.js → ReimbursementSetUpPage-BD6B-0CO-Dhg43o5f.js} +17 -17
- package/dist/assets/{ReimbursementsBulkReviewDrawerPage-CkJqhXEf-B4qPeVNR.js → ReimbursementsBulkReviewDrawerPage-DK-nCoay-BC-GO3CD.js} +1 -1
- package/dist/assets/{ReloadCard-CNKwqjPJ-C6w7GHJG.js → ReloadCard-Bt8qxAUx-C0FiLSzB.js} +1 -1
- package/dist/assets/{ReportTableViewSelector-B0DXgLgJ-B3X9gS-3.js → ReportTableViewSelector-Dv7BwM1q-DZ-FOl5q.js} +6 -6
- package/dist/assets/{ReportsPage-C5iOQU55-DamkEztw.js → ReportsPage-BOY8oCAr-BwR5MVzD.js} +5 -5
- package/dist/assets/{RevenueChart-C2CMFAQ--BirLMW85.js → RevenueChart-D_yexiAR-D3rVopXP.js} +16 -16
- package/dist/assets/{ReviewDetailsPage-5vOZ0rd7-B41AzmWH.js → ReviewDetailsPage-Czrlb8BL-DTI9py46.js} +14 -14
- package/dist/assets/{ReviewOverlay-BAG_6iyV-B2w-MEIV.js → ReviewOverlay-BHUy3fWf-DhycJa32.js} +10 -10
- package/dist/assets/{RoleWithToolTip-GUYLjJwW-DVSFtUus.js → RoleWithToolTip-BxI2nAro-CHrHR5C8.js} +4 -4
- package/dist/assets/{ScheduleDetailsFixedAssetsPage-sPjMfOtt-m5JvZNFh.js → ScheduleDetailsFixedAssetsPage-DsNhFGrc-C7120rgv.js} +8 -8
- package/dist/assets/{ScheduleDetailsPage-DI4C0o6b-B7Dooc-N.js → ScheduleDetailsPage-Dy2poGsp-B72mEOku.js} +4 -4
- package/dist/assets/{ScheduleSequenceTable-DhXwtG-x-C20E6-vV.js → ScheduleSequenceTable-Bv1feMZc-DEmwzIZ-.js} +47 -47
- package/dist/assets/{ScreenRoutes-B_yySVlk.js → ScreenRoutes-aw0OxNGj.js} +1 -1
- package/dist/assets/{SetUpAccountSection-DOavnCkG-CmcaONdQ.js → SetUpAccountSection-SSkLhU2W-Bdvkba2v.js} +14 -14
- package/dist/assets/{SignIn-DqrG5nEJ-8MVRrbiA.js → SignIn-Chuf9_2E-Dg9U6pWl.js} +10 -10
- package/dist/assets/{SignInScreen-CSh4OzXN.js → SignInScreen-heeiIDQc.js} +1 -1
- package/dist/assets/{SpendManagementListViewPage-DHY_hZQm-C3jihmoK.js → SpendManagementListViewPage-BpCZzQ7I-CeMMhyUX.js} +8 -8
- package/dist/assets/{SpendManagementPerTabPage-CoKTIQ2b-D2j2J6zW.js → SpendManagementPerTabPage-DbXTM50B-DF3kTGNr.js} +32 -32
- package/dist/assets/{SpendManagementSection-UkTY6qX0-CST6kY6m.js → SpendManagementSection-BMU1BTEo-BBFzWPwD.js} +12 -12
- package/dist/assets/{StatementItem-Bx6mxa3U-C42zKfqY.js → StatementItem-qLZEMVrM-C5sUBNaG.js} +5 -5
- package/dist/assets/{StatementsPage-ULjFE30P-BGU6QX6B.js → StatementsPage-B3qY1D4K-C1V6A2Qk.js} +1 -1
- package/dist/assets/{StatusSwitcher-DlBY_FC1-C1Bsm00T.js → StatusSwitcher-xQ_AW7ze-DWj9eTCE.js} +1 -1
- package/dist/assets/{SubTabSwitcher-DjEElTWE-5Wo1Obau.js → SubTabSwitcher-w8vLc-35-BeFKfmS8.js} +1 -1
- package/dist/assets/{SummaryCard-BNESDUnN-ChwTCNZM.js → SummaryCard-CTq_yqTg-Bw75z4He.js} +1 -1
- package/dist/assets/{TaskManagementPage-BFF3ATPV-BYvPz4hv.js → TaskManagementPage-keXFNmIv-BEMVU9l6.js} +33 -33
- package/dist/assets/{TimeRangeSwitcher-xILz-EO6-DqqNb5IN.js → TimeRangeSwitcher-C4Tph63B-D9xSXRlF.js} +2 -2
- package/dist/assets/{TimeframeSwitcher-CZhQm7rH-D5h04PEF.js → TimeframeSwitcher-LLgotbh8-X4qFRStD.js} +1 -1
- package/dist/assets/{TimeframeSwitcherWithToggle-CduB3ZjN-PiqhKHhY.js → TimeframeSwitcherWithToggle-Cw3a9d0I-BlbsDDpn.js} +1 -1
- package/dist/assets/{TopExCard-C_HWsAL1-DphCzqA5.js → TopExCard-Dj0wtF6g-CdD53hxs.js} +3 -3
- package/dist/assets/{TopExDetailPage-BEKo6juU-CUrrRqCk.js → TopExDetailPage-JutaMmtR-koGwO2ev.js} +5 -5
- package/dist/assets/{TransactionDetailPage-Bzgtmi3U-DCXvClem.js → TransactionDetailPage-BdFHqSCv-Bc3ggi0n.js} +30 -30
- package/dist/assets/{TransactionList-Dw78Q0Sx-BHAN7axA.js → TransactionList-C85wyFeI-C41EirGp.js} +4 -4
- package/dist/assets/{TransactionListBig-BofakL17-k36ZTqo_.js → TransactionListBig-DPev2-Mm-BpW_w096.js} +6 -6
- package/dist/assets/{TransactionListPage-tpOg0ax5-aeL9weeE.js → TransactionListPage-D127NU4T-BPyAfJzu.js} +4 -4
- package/dist/assets/{TransactionVendorDetailPage-BqIcXz6b-tGgvKqD0.js → TransactionVendorDetailPage-BJ1YnPif-SJ1gb7FN.js} +5 -5
- package/dist/assets/{TransferDrawerPage-DnnZBOyK-y1PDtTFY.js → TransferDrawerPage-DcrfmXH1-DiL_C6V9.js} +21 -21
- package/dist/assets/{TreasuryOverviewPage-C9ROzNHl-Cn6eazlN.js → TreasuryOverviewPage-D-Zw4Npq-K2RbtXZZ.js} +22 -22
- package/dist/assets/{TreasuryPromoPage--j_2YjQn-DHIwXCO0.js → TreasuryPromoPage-BhBPhhbb-DM-0mrYZ.js} +131 -131
- package/dist/assets/{TreasuryStatementsPage-BLrceDQm-vMicHzmk.js → TreasuryStatementsPage-Dxjg_QN7-C_fsR-Na.js} +1 -1
- package/dist/assets/{TreasuryTaxLetterPage-BoqkgdLm-DAQeQUTC.js → TreasuryTaxLetterPage-Dm552RDZ-BLLWDMsm.js} +7 -7
- package/dist/assets/{TrendChart-KnFi8NXQ-DHzaDtQY.js → TrendChart-_c8z5Kxm-DarAZz3o.js} +1 -1
- package/dist/assets/{TrendWithTransactions-C_T0I9xe-DqS7m8LH.js → TrendWithTransactions-B2rde1MW-D1twJg_e.js} +4 -4
- package/dist/assets/{UncategorizedAccountsMappingPage-DOuzy2aS-DnfCgWVE.js → UncategorizedAccountsMappingPage-77nkQFar-Bn3Ibb9A.js} +1 -1
- package/dist/assets/{UnitIntegrationPage-DxhlNHvt-CHN5Qw88.js → UnitIntegrationPage-3_YMV_f4-yfDaiCvi.js} +4 -4
- package/dist/assets/{UploadAdditionalDocumentOverlay-BAvSyhDW-D4KE1Kke.js → UploadAdditionalDocumentOverlay-D72fkcgM-BkIuCEEz.js} +1 -1
- package/dist/assets/{Vendor2FAPopup-BFjVFON8-Dl6jzAdP.js → Vendor2FAPopup-DLbGF5_q-DmCvA6XI.js} +1 -1
- package/dist/assets/{VendorACHDetailsPage-8BG5DD-0-p3vm6zDD.js → VendorACHDetailsPage-CaNQylEA-CMyzxyGW.js} +1 -1
- package/dist/assets/{VendorDetailPage-C16CrNJo-D86vTvj2.js → VendorDetailPage-DqdH4UMj-tM-8a-UX.js} +18 -18
- package/dist/assets/{VendorDomesticWireDetailsPage-DXhugXZa-DeVAnksE.js → VendorDomesticWireDetailsPage-9pyV_r_g-CREdXXXG.js} +1 -1
- package/dist/assets/{VendorFiling1099EditablePage-2QPpdbuN-ozpxZwEp.js → VendorFiling1099EditablePage-nb9_V73Z-CwrDCXoq.js} +32 -32
- package/dist/assets/{VendorFirstReviewPage-DLshEh_s-DbpLTolM.js → VendorFirstReviewPage-C2RjaA8x-C3EURG-_.js} +58 -58
- package/dist/assets/{VendorInternationalWireDetailsPage-_WoNgw66-DANrlPFU.js → VendorInternationalWireDetailsPage-VOAgofls-DxNfQmbI.js} +1 -1
- package/dist/assets/{VendorInternationalWireSwiftDetailsPage-Dyt1ZPOh-DoVwF0sT.js → VendorInternationalWireSwiftDetailsPage-CcRuLO-_-CRRJCsCk.js} +1 -1
- package/dist/assets/{VendorsAccountsSection-Dxq0YSgP-Bt8xoh_f.js → VendorsAccountsSection-RzVUJ8IV-CIdzas-R.js} +14 -14
- package/dist/assets/{VerifyDevice-DEwEqoHA-CylVN9FP.js → VerifyDevice-DUxQHfLf-DyoufOtx.js} +1 -1
- package/dist/assets/{VideoPlayer-_1Msrww9-DaiS1R42.js → VideoPlayer-BxuhQQfM-CSaCo4fi.js} +1 -1
- package/dist/assets/{VideoPopup-BzQ_Dl9b-mwrODjDA.js → VideoPopup-DdtmLcPB-9kSPQrRF.js} +1 -1
- package/dist/assets/{WarningsDrawerPage-CMBST3p1-ujIyTaCb.js → WarningsDrawerPage-DC5ophK0-B9MWpL_5.js} +5 -5
- package/dist/assets/{ZeniAccountDetailPage-DVLYYC-q-DeZb5ud9.js → ZeniAccountDetailPage-C1KKeyYC-AmZ_-UbH.js} +14 -14
- package/dist/assets/{ZeniAccountListViewPage-BHkoMOx5-CtDb7Bzx.js → ZeniAccountListViewPage-Bw5_2Q-c-Zl0NVbWL.js} +1 -1
- package/dist/assets/{ZeniAccountNavBarPieces-CCFzNOcx-CuAvs6Mv.js → ZeniAccountNavBarPieces-DlfwFtOB-BhG7WDho.js} +3 -3
- package/dist/assets/{ZeniAccountPromoPage-C3Rl-hWL-DwIvVxTo.js → ZeniAccountPromoPage-B8cXf7Ni-BGYao9Jv.js} +13 -13
- package/dist/assets/{ZeniAccountSetupPage-Bf1OOF0Q-DBu-8Ie5.js → ZeniAccountSetupPage-Cae0pB-b-Blr8FOsP.js} +3 -3
- package/dist/assets/{ZeniCopyright-CdqD8vO4-DYRLQn9Q.js → ZeniCopyright-gTS4uZlF-BTYFdkhV.js} +1 -1
- package/dist/assets/{ZeniTransferAmountSlider-BTudpQjV-CvoGRB0t.js → ZeniTransferAmountSlider-17kY7kNO-DEs9IrPm.js} +1 -1
- package/dist/assets/{analyticsHelper-_u1yj9ge-DxpjUhrt.js → analyticsHelper-DXVBA0aW-q_4bVB8v.js} +1 -1
- package/dist/assets/analyticsHelper-kRUwHHg6.js +1 -0
- package/dist/assets/{chartTypes-vQ8GTDEq-DTt3gea6.js → chartTypes-BXBHlosV-DY5SgOjH.js} +1 -1
- package/dist/assets/{commonDimensions-znFHURNY-BydE4i8M.js → commonDimensions-Bm2CSHrw-S9XM9nhL.js} +1 -1
- package/dist/assets/{detailCommon-DmLhlrjU-ShYTQ7m2.js → detailCommon-VW4xegQy-1DhxNuRe.js} +3 -3
- package/dist/assets/{downloadPdf-CCUPfpyu-Cq1M0ik1.js → downloadPdf-DUAAPKqC-BN9D0Y0M.js} +1 -1
- package/dist/assets/{index-XNBiWrYj.js → index-BS0RW8dr.js} +3698 -3698
- package/dist/assets/{mapLoadingInProgressToTreeNode-Cw74bTou-BDMlWcL7.js → mapLoadingInProgressToTreeNode-D5WZ1WGx-B7azUcXb.js} +1 -1
- package/dist/assets/{mapSectionWithAcOnlyToTreeNode-CWFxnMpB-BCzyYlDf.js → mapSectionWithAcOnlyToTreeNode-BxzLwMCb-DSGmyD1M.js} +1 -1
- package/dist/assets/{mapSpacerToTreeNode-JUrBuZAz-wZclqNi-.js → mapSpacerToTreeNode-CScyNZ9s-wlC4VP1v.js} +1 -1
- package/dist/assets/{mapTimeframeBalancesToTreeNode-B2iYfeF3-B53qunPl.js → mapTimeframeBalancesToTreeNode-Caj8eqsL-Kzqcpw75.js} +1 -1
- package/dist/assets/{mapTimeframeBalancesToTreeNode-BbQHYZk7-DpCyCcLg.js → mapTimeframeBalancesToTreeNode-CdVqeC27-Dxhi6BEZ.js} +1 -1
- package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-BeqGSN9x-CoS9pLIE.js → mapTimeframeHeaderLoadingInProgressToTreeNode-CUFXYz6j-YXXdz_Ql.js} +1 -1
- package/dist/assets/{toCOABalancesWithID-DeZfEmbT-vM-pgltN.js → toCOABalancesWithID-CqzWoD-C-D32cGljj.js} +1 -1
- package/dist/assets/{toChartData-KibzV7pa-DRJVLoY0.js → toChartData-X878W8tN-DZEeyq4i.js} +1 -1
- package/dist/assets/{uploadAttachment-U9nX0Ka9-1qW3wdO3.js → uploadAttachment-DNKgJox4-CH4FqFzC.js} +13 -13
- package/dist/assets/{uploadReceipts-CDPM7zcb-DEOGBGdq.js → uploadReceipts-Bkf_PaOH-DrwBt5Yx.js} +1 -1
- package/dist/index.html +1 -1
- package/package.json +3 -3
- package/dist/assets/ApprovalRulesSettingsPage-BOJE5Fb_-DykJvECT.js +0 -47
- package/dist/assets/ArAgingDetailPage-ZjaiAH-C-DY8qSTjK.js +0 -46
- package/dist/assets/CreateOrEditVendorPage-flCFtC2N-Dsf2hlMT.js +0 -281
- package/dist/assets/CustomerOnboardingContainerPage-DZ9vkiEO-ah6dg727.js +0 -1
- package/dist/assets/CustomerOnboardingPage-C12XXjv0-mi5gJ6u3.js +0 -107
- package/dist/assets/DepositAccTransactionListPage-keSFBKDU-qnysSla9.js +0 -66
- package/dist/assets/Menu-D_6Dje0H-Ar5SwcnV.js +0 -17
- package/dist/assets/analyticsHelper-D23HZgYu.js +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{d as Ie,Q as Be,a7 as De,aN as M,a8 as Ue,cB as ze,F as _e,aS as G,V as t,f6 as Re,p as $e,y as r,bz as Le,A as We,ab as Ne,fp as qe,dR as He,fq as Me,iF as Q,o as U,b as Ge,bu as Qe,aO as Je,fs as Ke,u as o,ak as Xe}from"./index-BS0RW8dr.js";import{a as p}from"./core-3dlyNYRL.js";import{n as S}from"./mui-bYXq4XMS.js";import{bM as Ye}from"./zeni-epic-state-LPACxnXP.js";import{x as Ze}from"./LabeledControlledCheckBoxField-RzyuT5ZX-BsFbzCeg.js";import{g as et}from"./UploadAdditionalDocumentOverlay-D72fkcgM-BkIuCEEz.js";import"./sentry-o6h_D-9x.js";import"./lottie-DEE24l2z.js";import"./liveblocks-DIep7fJd.js";import"./utils-uDUqNRFY.js";import"./analytics-zoE7Zcxt.js";import"./recharts-BHhx6CLo.js";import"./lexical-DPEnH3HH.js";const c={titleWidth:new r(343,580,726,826),setupDetailsRowGap:new r(12,o[5],o[5]),sectionRowGap:new r(o[5],o[9],o[9]),iconWidthHeight:new r(20,o[4]),subTitlePaddingTop:new r(12,o[3]),subTitlePaddingBottom:new r(o[3],o[3]),overlayWidth:new r(100,100,59),checkBoxTop:new r(o[1],o[0])},J="chargeCardSetUpPage",f="payAccount",{commonSetUp:tt,spendManagement:nt}=_e.getLocalizedStrings(),{chargeCard:Y}=nt,{chargeCardSetUp:m}=Y,{setUp:z}=tt,xt=({autoPayThreshold:e,isDisabled:x,meetingUrl:T,isEarlyPayEnabled:g,chargeCardSetUpView:a,connectedAccountProvider:Z,filesEndPoint:ee,authParams:te,isAccountsEnabled:ne,isDebitCardOnlyEnabled:E,isCreditCardOnlyEnabled:ie,accountsPromoConfig:ae,onFetchLinkTokenClick:oe,onBackClick:ce,onEnableChargeCardClick:se,onUpdateChargeCardClick:le,onBusinessVerificationSectionClick:re,onUpdatePaymentAccountStatus:de,onUpdatePaymentAccountLoginStatus:ue,onUpdatePrimaryFundingAccount:pe,onUpdateAutoPayClick:me,onEstablishConnectionClick:fe,onEstablishConnectionSuccess:ge,onClickMenuIcon:he,onEnableChargeCardSuccess:A,onEditFileName:ye,onDeleteFile:be,updateFilesEntity:Ce,onCompanyOfficerUpdated:Se,onSendForVerificationClick:xe,onSignUpClick:Ae})=>{const h=Ie(),i=Be(),v=De().analytics,[P,y]=p.useState(!1),{fetchState:b,companyBillPayInfo:_,isRefreshingViewInBackground:Pe,updateStatus:d,accountUpdateStatus:we,plaidConnectionDetails:ke,allBankAccounts:Te,companyChargeCardInfo:F,companyDebitCardInfo:R,selectedCompanyOfficer:s,primaryFundingAccount:l,allFundingAccounts:$}=a,L=M(b),w=M(d.fetchState),O=Ue({mode:"all",reValidateMode:"onChange",defaultValues:p.useMemo(()=>K(a),[a]),values:K(a)}),Ee=O.handleSubmit(se),ve=async(C,k)=>{const n=k[f];if(C.includes(f))if(C.includes("fundingAccount")){if(n.fundingAccount.selectedOption!=null&&l?.id!=n.fundingAccount.selectedOption){const u=$.find(D=>D.id===n.fundingAccount.selectedOption);u!=null&&pe(n.fundingAccount.selectedOption,u.accType)}}else if(n.account.selectedOption!=null&&l?.id!=null&&l?.zeniAccountId!=n.account.selectedOption){const u=n.account.allOptions.find(D=>D.value===n.account.selectedOption);u!=null&&typeof u.label=="string"&&v.trackConnectBankLink(u.value,u.label,"charge_cards"),le(n.account.selectedOption,l.id,l.accType)}else C.includes("enableAutoPay")&&n.enableAutoPay!=null&&me(n.enableAutoPay)};p.useEffect(()=>{const C=O.watch((k,{name:n})=>{n!=null&&k!=null&&ze(()=>ve(n,k))});return()=>{C.unsubscribe()}}),p.useEffect(()=>{!P&&s?.additionalDocumentTypesRequestedForVerification.includes("social_security_card")===!0&&s.areAdditionalDocumentsRequestedForVerification&&!s.areAdditionalDocumentsSubmittedForVerification&&s.userVerificationStatus?.code==="require_info"&&y(!0),P&&L==="In-Progress"&&b==="Completed"&&y(!1)},[s,b,L]),p.useEffect(()=>{w==="In-Progress"&&d.fetchState==="Completed"&&A()},[A,w,d.fetchState]);const V=F?.isChargeCardEnabled===!0,j=R?.isDebitCardEnabled===!0,W=R?.isDebitCardTOSAccepted===!0,N=F?.isChargeCardTOSAccepted===!0,q=_?.isBusinessVerified===!0,Fe=l?.accType==="depositAccount"||Ye(l?.providerVerificationStatus?.code??""),I=E?q:q&&Fe,Oe=b==="In-Progress"||b==="Not-Started";p.useEffect(()=>{w==="In-Progress"&&d.fetchState==="Completed"&&A()},[A,w,d.fetchState]);const B=E?I&&!j&&W:ie?I&&!V&&N:I&&!(V&&j)&&N&&W,Ve=B?m.setupSubTitleNotEnabled:m.setupSubTitle,H=h.mode==="light"?new G(h.colors.brandColorJadeLight):new G(h.colors.brandColorJadeDark),je=()=>{!P&&s?.additionalDocumentTypesRequestedForVerification.includes("social_security_card")===!0&&s.areAdditionalDocumentsRequestedForVerification&&!s.areAdditionalDocumentsSubmittedForVerification&&s.userVerificationStatus?.code==="require_info"?y(!0):re?.()};return t.jsxs(at,{children:[t.jsx(Re,{anchor:"right",PaperProps:{style:{width:c.overlayWidth.valuePercentage(i),boxShadow:"none"}},open:P,onClose:()=>y(!1),style:{backgroundColor:$e.drawerBackground},transitionDuration:250,children:t.jsx(et,{authParams:te,filesEndPoint:ee,updateStatus:d,onEditFileName:ye,onDeleteFile:be,updateFilesEntity:Ce,companyOfficer:s,onClose:()=>y(!1),onCompanyOfficerUpdated:Se,onSendForVerificationClick:xe})}),t.jsx(Le,{title:m.setupTitle,backgroundColor:h.colors.grey4,style:{zIndex:3},onBackClick:ce,showMenuIcon:!V&&!j&&(i==="medium-compact"||i==="small"),onClickMenuIcon:he,source:"ChargeCardSetupPage"}),t.jsxs(it,{windowSize:i,children:[t.jsx(ot,{windowSize:i,children:Ve}),Oe?t.jsx(ct,{children:t.jsx(We,{size:"ExtraLarge",start:!0})}):t.jsx(Ne,{...O,children:t.jsx("form",{id:X(J),onSubmit:Ee,children:t.jsxs(st,{windowSize:i,children:[t.jsx(qe,{onClick:je,title:z.businessVerificationTitle,subTitle:z.businessVerificationSubTitle,header:z.businessVerificationHeader,icon:{element:t.jsx(He,{width:c.iconWidthHeight.valuePx(i),height:c.iconWidthHeight.valuePx(i)}),color:H},status:_?.businessVerificationStatus,isLoading:Pe,isActiveWhileLoading:!0}),E?null:t.jsx(Me,{connectedAccountProvider:Z,primaryFundingAccount:l,allFundingAccounts:$,plaidConnectionDetails:ke,allBankAccounts:Te,sectionId:f,isDisabled:x,onFetchLinkTokenClick:oe,onEstablishConnectionClick:fe,onUpdatePaymentAccountStatus:de,onUpdatePaymentAccountLoginStatus:ue,sectionTitle:m.setupAccountSectionTitle,onEstablishConnectionSuccess:ge,icon:{element:t.jsx(Qe,{width:c.iconWidthHeight.valuePx(i),height:c.iconWidthHeight.valuePx(i)}),color:H},analytics:v,productType:"charge_cards",isAccountsEnabled:ne,onSignUpClick:Ae,pageName:m.pageName,accountsPromoConfig:ae,accountSelectContainerStyle:g?{marginBottom:"20px"}:{},bottomComponent:g&&t.jsx(Ze,{label:{label:Y.payEarly.enableAutoPay.replace("__autoPayThreshold__",e.toString()),style:{color:h.colors.primary,...Ge.smallRegular.cssObject,alignItems:"center"}},style:{width:"unset",marginRight:U.sp4,marginTop:U.sp1,alignItems:i==="small"?"flex-start":"center"},checkBoxField:{name:Q(f,"enableAutoPay"),checkBoxValue:Q(f,"enableAutoPay"),defaultChecked:F?.isAutoPayEnabled,style:{top:c.checkBoxTop.valuePx(i)}}})})]})})})]}),B?t.jsx(Je,{formId:X(J),primaryBtn:{label:m.enableAccounts,style:{width:"auto",minWidth:i==="small"?"auto":"181px"},isLoading:d.fetchState==="In-Progress"||we.fetchState==="In-Progress",isDisabled:x!=null},showCancel:!1,cancelBtn:{label:""},style:{padding:`12px ${U.sp3}`}}):null,t.jsx(Ke,{isFooterRendered:B,meetingUrl:T,analytics:v,productType:"charge_cards"})]})},K=e=>{const{allBankAccounts:x,allFundingAccounts:T,primaryFundingAccount:g}=e;return{[f]:{fundingAccount:{selectedOption:g?.id,allOptions:T.map(a=>({label:a.label,value:a.id,isRecommended:a.accType==="depositAccount"}))},account:{selectedOption:g?.zeniAccountId,allOptions:x.map(a=>({label:a.accountName,value:a.accountId}))},enableAutoPay:e.companyChargeCardInfo?.isAutoPayEnabled}}},X=e=>`${e}_form`,it=S.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
justify-content: flex-start;
|
|
4
4
|
height: 100%;
|
|
@@ -6,14 +6,14 @@ import{e as je,Q as Be,a7 as Ue,aN as M,a8 as De,cB as ze,F as _e,aS as G,V as t
|
|
|
6
6
|
flex-direction: column;
|
|
7
7
|
align-items: center;
|
|
8
8
|
row-gap: ${e=>c.setupDetailsRowGap.valuePx(e.windowSize)};
|
|
9
|
-
`,
|
|
9
|
+
`,at=S.div`
|
|
10
10
|
display: flex;
|
|
11
11
|
min-height: 100%;
|
|
12
12
|
height: 100%;
|
|
13
13
|
flex-direction: column;
|
|
14
14
|
width: 100%;
|
|
15
15
|
background-color: ${e=>e.theme.colors.grey4};
|
|
16
|
-
`,
|
|
16
|
+
`,ot=S(Xe)`
|
|
17
17
|
color: ${e=>e.theme.colors.hero};
|
|
18
18
|
display: flex;
|
|
19
19
|
justify-content: center;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{d as F,Q as T,V as t,bz as W,F as B,o as h,y as w,ak as R,b7 as O,a7 as V,hD as q,aK as J,A as K,u as s,c0 as Q}from"./index-BS0RW8dr.js";import{n as i}from"./mui-bYXq4XMS.js";import{$ as U,g as Z}from"./BoxItem-CP9cPZQd-BW2Fv6YZ.js";import{a as _}from"./core-3dlyNYRL.js";import{w as G}from"./downloadPdf-DUAAPKqC-BN9D0Y0M.js";import"./sentry-o6h_D-9x.js";import"./zeni-epic-state-LPACxnXP.js";import"./lottie-DEE24l2z.js";import"./liveblocks-DIep7fJd.js";import"./utils-uDUqNRFY.js";import"./analytics-zoE7Zcxt.js";import"./recharts-BHhx6CLo.js";import"./lexical-DPEnH3HH.js";import"./commonDimensions-Bm2CSHrw-S9XM9nhL.js";const Y=B.getLocalizedStrings().months,D={downloadButtonSize:new w(s[4],20)},H=i.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
padding: ${h.sp3} ${h.sp4};
|
|
4
4
|
flex-direction: row;
|
|
@@ -8,7 +8,7 @@ import{e as F,Q as T,V as t,bz as W,F as R,o as h,y as w,ak as B,b7 as V,a7 as O
|
|
|
8
8
|
justify-content: space-between;
|
|
9
9
|
align-items: center;
|
|
10
10
|
width: 100%;
|
|
11
|
-
`,ee=i(
|
|
11
|
+
`,ee=i(R)`
|
|
12
12
|
display: -webkit-box;
|
|
13
13
|
-webkit-box-orient: vertical;
|
|
14
14
|
-webkit-line-clamp: 1;
|
|
@@ -20,16 +20,16 @@ import{e as F,Q as T,V as t,bz as W,F as R,o as h,y as w,ak as B,b7 as V,a7 as O
|
|
|
20
20
|
`,te=i.div`
|
|
21
21
|
cursor: pointer;
|
|
22
22
|
`,ae=i(Q)`
|
|
23
|
-
width: ${e=>
|
|
24
|
-
height: ${e=>
|
|
25
|
-
min-height: ${e=>
|
|
23
|
+
width: ${e=>D.downloadButtonSize.valuePx(e.windowSize)};
|
|
24
|
+
height: ${e=>D.downloadButtonSize.valuePx(e.windowSize)};
|
|
25
|
+
min-height: ${e=>D.downloadButtonSize.valuePx(e.windowSize)};
|
|
26
26
|
color: ${e=>e.theme.colors.grey1};
|
|
27
27
|
&:hover {
|
|
28
28
|
color: ${e=>e.theme.colors.primary};
|
|
29
29
|
}
|
|
30
|
-
`;function ie({currentTenantCompanyName:e,data:r,index:o,controllerEmails:l,isDebitCardFeatureEnabled:a,isDebitCardSetupEnabled:n,chargeCardCashbackDetailState:d,depositAccountListWithDebitCardIssued:C,debitCardSummary:x,productInformation:y,creditAccountInformation:S,debitAccountInformation:$,cashbackInformation:f,creditAccountRepayment:P,authParams:k,downloadEndPoint:j,boxType:I}){const b=
|
|
30
|
+
`;function ie({currentTenantCompanyName:e,data:r,index:o,controllerEmails:l,isDebitCardFeatureEnabled:a,isDebitCardSetupEnabled:n,chargeCardCashbackDetailState:d,depositAccountListWithDebitCardIssued:C,debitCardSummary:x,productInformation:y,creditAccountInformation:S,debitAccountInformation:$,cashbackInformation:f,creditAccountRepayment:P,authParams:k,downloadEndPoint:j,boxType:I}){const b=V().analytics,[v,z]=_.useState(!1),c=T(),E=Y[r.monthYearPeriod.month-1],p=`${e}-Credit-Card-Monthly-Statement-${Y[r.monthYearPeriod.month-1]}-${r.monthYearPeriod.year}.pdf`,m={period:`${r.monthYearPeriod.year}-${q(r.monthYearPeriod.month)}`,format:"pdf"},u=t.jsx(H,{children:t.jsxs(X,{children:[t.jsx(ee,{children:E}),t.jsx(te,{"data-testid":J("download-card-statement"),onClick:()=>{d.fetchState==="Completed"&&P.fetchState==="Completed"&&(!(a&&n)||C.fetchState==="Completed"&&x?.fetchState==="Completed")&&f!=null&&b.trackCardsDownloadClick(l,y,f,{fileCategory:"Credit Card Statement",fileType:"pdf",fileName:p,fileMonthYear:`${Y[r.monthYearPeriod.month-1]} ${r.monthYearPeriod.year}`},"Credit Card Statements",o+1,S,$),G(`${j}/statements?query=${encodeURIComponent(JSON.stringify(m))}`,p,k,z)},children:v?t.jsx(K,{size:"Small",start:!0}):t.jsx(ae,{windowSize:c})})]})});return t.jsx(Z,{content:u,boxType:I,isDisabled:!1,isNotClickable:!0})}const M=B.getLocalizedStrings().spendManagement.chargeCard.statements,g={listItemMarginLeftRight:new w(s[3],s[8]),containerMarginTop:new w(s[0],s[2]),titleMarginLeftRight:new w(s[3],s[8])},je=({currentTenantCompanyName:e,authParams:r,controllerEmails:o,productInformation:l,cashbackInformation:a,creditAccountInformation:n,debitAccountInformation:d,isChargeCardFeatureEnabled:C,isDebitCardFeatureEnabled:x,isDebitCardSetupEnabled:y,isChargeCardSetupEnabled:S,chargeCardCashbackDetailState:$,depositAccountListWithDebitCardIssued:f,creditAccountRepayment:P,debitCardSummary:k,creditAccount:j,downloadEndPoint:I,statementListView:b,onBackClick:v})=>{const z=F(),c=T(),{sortedYear:E,monthsByYearWithSortedMonth:p}=me(b.statements);return t.jsxs(se,{children:[t.jsx(W,{title:M.title,backgroundColor:z.colors.grey4,style:{zIndex:3},onBackClick:v,source:"ChargeCardStatementsPage"}),t.jsx(ce,{windowSize:c,children:b.statements.length===0?t.jsx(L,{children:t.jsx(de,{children:t.jsx(N,{windowSize:c,children:t.jsx(le,{children:M.noStatements})})})}):t.jsx(re,{children:E.map(m=>t.jsxs(oe,{children:[t.jsx(ne,{windowSize:c,children:m}),t.jsx(L,{children:p[m].map((u,A)=>t.jsx(N,{windowSize:c,children:t.jsx(ie,{productInformation:l,creditAccountInformation:n,debitAccountInformation:d,cashbackInformation:a,creditAccountRepayment:P,depositAccountListWithDebitCardIssued:f,debitCardSummary:k,controllerEmails:o,isChargeCardFeatureEnabled:C,isDebitCardFeatureEnabled:x,isDebitCardSetupEnabled:y,isChargeCardSetupEnabled:S,chargeCardCashbackDetailState:$,creditAccount:j,currentTenantCompanyName:e,index:A,data:u,authParams:r,downloadEndPoint:I,boxType:U(A,p[m].length)},u.id)},u.id))})]},m))})})]})},re=i.div``,oe=i.div`
|
|
31
31
|
margin-bottom: ${h.sp6};
|
|
32
|
-
`,L=i.div``,ne=i(
|
|
32
|
+
`,L=i.div``,ne=i(O)`
|
|
33
33
|
margin-left: ${e=>g.titleMarginLeftRight.valuePx(e.windowSize)};
|
|
34
34
|
margin-bottom: ${h.sp3};
|
|
35
35
|
`,N=i.div`
|
|
@@ -48,7 +48,7 @@ import{e as F,Q as T,V as t,bz as W,F as R,o as h,y as w,ak as B,b7 as V,a7 as O
|
|
|
48
48
|
flex-direction: column;
|
|
49
49
|
width: 100%;
|
|
50
50
|
padding-bottom: ${h.sp7};
|
|
51
|
-
`,le=i(
|
|
51
|
+
`,le=i(R)`
|
|
52
52
|
display: flex;
|
|
53
53
|
color: ${e=>e.theme.colors.grey2};
|
|
54
54
|
`,ce=i.div`
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{Q as U,V as t,aK as $,
|
|
1
|
+
import{Q as U,V as t,aK as $,hB as pe,F as ee,aL as M,n as G,o,aO as he,y as l,_ as oe,c as ue,b7 as me,E as te,ag as ge,ak as F,aN as xe,a8 as ke,cB as fe,p as w,ab as De,g7 as $e,cE as we,eT as K,cL as Q,u as s,fk as be,cf as ye,bZ as je,d6 as Le,hm as Pe,al as q,ho as Se}from"./index-BS0RW8dr.js";import{a as f}from"./core-3dlyNYRL.js";import{n as a}from"./mui-bYXq4XMS.js";import"./sentry-o6h_D-9x.js";import"./zeni-epic-state-LPACxnXP.js";import"./lottie-DEE24l2z.js";import"./liveblocks-DIep7fJd.js";import"./utils-uDUqNRFY.js";import"./analytics-zoE7Zcxt.js";import"./recharts-BHhx6CLo.js";import"./lexical-DPEnH3HH.js";const ve="checkDepositDetailPage",g="checkDepositDetails",Fe="amount",Ce="depositTo",Te="source",ie="fileIds",V="selectDocument",I=e=>{const p=[];return e.checkFront!=null&&p.push(e.checkFront.fileId),e.checkBack!=null&&p.push(e.checkBack.fileId),{[g]:{[Fe]:e.checkDepositLocalData.amount.amount===0?void 0:e.checkDepositLocalData.amount.amount,[Te]:e.checkDepositLocalData.source,[Ce]:{allOptions:e.depositAccounts.depositAccounts.map(x=>({label:x.accountName,value:x.id})),selectedOption:e.checkDepositLocalData.depositTo?.id},[ie]:p,[V]:{front:e.checkFront,back:e.checkBack}}}},D=(e,p)=>`${e}.${p}`,Be=e=>`${e}_form`,u={largeLabelWidth:new l(160,160,160),rowContentPaddingLeft:new l(s[3],s[4]),checkPicRowContentPaddingXAxis:new l(s[3],s[4]),labeleMarginLeft:new l(s[0],s[0]),labeleMarginBottom:new l(s[2],s[0]),labelMarginRight:new l(s[3],s[3]),labeledFieldPaddingLeft:new l(s[3],s[0]),labeledFieldPaddingRight:new l(s[3],s[2]),labeledFieldPaddingTop:new l(s[3],s[3]),labeledFieldPaddingBottom:new l(s[3],s[2]),infoLabelPaddingRight:new l(s[0],s[3]),infoLabelMarginTop:new l(s[1],s[0])},{spendManagement:ze,common:R}=ee.getLocalizedStrings(),c=ze.zeniAccounts.zeniAccountList,Ae=R.documents;function Ee({checkDeposit:e,analytics:p,filesEndPoint:x,openPopup:b,authParams:y,onSaveChangesToLocalStore:C,updateFilesEntity:j,onDeleteFile:L,onEditFileName:P,onCheckDpositClick:T}){const r=U(),n=e.fetchState,S=xe(n),[v,_]=f.useState(!1),[se,B]=f.useState(!1),z=u.largeLabelWidth.value(r),k=ke({mode:"all",reValidateMode:"onBlur",defaultValues:I(e),values:I(e)}),{isValid:re}=k.formState,J=i=>{const d={amount:{amount:i[g].amount??0,currencyCode:R.currency.currencyCode,currencySymbol:R.currency.currencySymbol},source:i[g].source,depositTo:e.depositAccounts.depositAccounts.find(h=>h.id===i[g].depositTo.selectedOption),fileIds:i[g][ie]};C(d)},ce=async(i,d)=>{if(i!=null){if(i.includes("source")||i.includes("amount"))return;const h=Object.assign({},d);J(h)}};f.useEffect(()=>{const i=k.watch((d,{name:h})=>{h!=null&&d!=null&&fe(()=>ce(h,d))});return()=>{i.unsubscribe()}}),f.useEffect(()=>{S==="Completed"&&n==="Not-Started"&&k.reset(I(e))},[S,n,k,e]),f.useEffect(()=>{e.error!=null?B(!0):B(!1)},[e.error]);const le=k.handleSubmit(()=>{if(re){p.trackAccountsDepositCheckFormClicked("Deposit",e.checkDepositLocalData.amount.amount,e.checkDepositLocalData.source,e.checkDepositLocalData.depositTo?.accountName,e.checkFront!=null,e.checkBack!=null);const i=k.getValues();J(i),T?.()}}),ne=(i,d)=>{if(!i)return null;const h=e.depositAccounts.depositAccounts.find(E=>E.id===i),A=e.depositAccounts.depositAccounts.findIndex(E=>E.id===i);return h?t.jsx(Re,{color:Pe(A),isSelectedValue:d}):null},de=(i,d)=>{if(!i)return null;const h=e.depositAccounts.depositAccounts.find(A=>A.id===i);return h?d===!0?t.jsx(Ve,{children:h?.maskedAccountNumber}):t.jsxs(Me,{children:[t.jsx(W,{children:h?.maskedAccountNumber}),t.jsx(to,{}),t.jsx(W,{children:M("0,0[.]00",h?.accountBalance?.available)})]}):null};return t.jsxs(t.Fragment,{children:[se?t.jsx(Oe,{children:t.jsxs(qe,{children:[t.jsxs(_e,{children:[t.jsx(Ge,{}),t.jsxs(Ke,{children:[t.jsx(Qe,{children:e.error?.title}),t.jsx(We,{children:e.error?.message})]})]}),t.jsx(Je,{children:t.jsx(ro,{"data-testid":$("check-deposit-form-close"),onClick:()=>{p.trackAccountsDepositCheckFormClicked("Cross",e.checkDepositLocalData.amount.amount,e.checkDepositLocalData.source,e.checkDepositLocalData.depositTo?.accountName,e.checkFront!=null,e.checkBack!=null),B(!1)},style:{width:o.sp3,height:o.sp3,color:w.heroLight}})})]})}):null,t.jsx(Ye,{children:M("0,0.[00]",e.checkDepositLocalData.amount)}),t.jsx(De,{...k,children:t.jsx("form",{id:Be(ve),onSubmit:le,children:t.jsxs(Ze,{children:[t.jsx($e,{showAdditionalInfoLabel:!1,label:{label:c.checkDepositDrawer.amountLabel,width:z},formattedTextField:{type:"number",name:D(g,"amount"),defaultValue:e.checkDepositLocalData.amount.amount===0?void 0:e.checkDepositLocalData.amount.amount,placeholder:c.checkDepositDrawer.amountPlaceholder,returnValueType:"floatValue",prefix:"$",allowNegative:!1,isNumericString:!1,registerOptions:{required:!0,validate:i=>!!i&&i>0},autoComplete:"off",decimalSeparator:".",decimalScale:2,fixedDecimalScale:!1,thousandSeparator:!0,allowLeadingZeros:!1},style:{width:"auto"}}),t.jsx(N,{}),t.jsx(we,{label:{label:c.checkDepositDrawer.sourceLabel,width:z},style:{width:"100%"},text:{type:"text",name:D(g,"source"),defaultValue:e.checkDepositLocalData.source,placeholder:c.checkDepositDrawer.sourcePlaceholder,options:{required:!0,validate:i=>i!=null}}}),t.jsx(N,{}),t.jsx(ae,{size:r,children:t.jsx(eo,{size:r,children:t.jsx(Xe,{label:{label:c.checkDepositDrawer.depositToLabel,width:z,style:{marginLeft:u.labeleMarginLeft.valuePx(r),marginBottom:u.labeleMarginBottom.valuePx(r),marginRight:u.labelMarginRight.valuePx(r)}},style:{paddingTop:u.labeledFieldPaddingTop.valuePx(r),paddingBottom:u.labeledFieldPaddingBottom.valuePx(r),paddingLeft:u.labeledFieldPaddingLeft.valuePx(r),paddingRight:u.labeledFieldPaddingRight.valuePx(r),border:"none",width:"100%",outline:"none",padding:0,display:r==="small"?"flex":"inherit"},infoLabelStyle:{textAlign:r==="small"?"left":"right",paddingRight:u.infoLabelPaddingRight.valuePx(r),marginTop:u.infoLabelMarginTop.valuePx(r)},singleSelectPickerField:{valueToLogo:(i,d)=>ne(i,d),valueToSubLabels:(i,d)=>de(i,d),name:D(g,"depositTo"),placeholder:c.checkDepositDrawer.depositToPlaceholder,style:{position:"relative"},defaultValue:{selectedOption:e.checkDepositLocalData.depositTo?.id,allOptions:e.depositAccounts.depositAccounts.map(i=>({label:i.accountName,value:i.id}))},textAlignment:"right",registerOptions:{required:!0,validate:i=>!!(i!=null&&i.selectedOption)}}})})}),t.jsx(N,{}),t.jsxs(He,{size:r,children:[t.jsxs(Ue,{size:r,children:[t.jsx(Ie,{children:c.checkDepositDrawer.checkPicLabel}),t.jsx(Y,{isLast:!1,children:c.checkDepositDrawer.frontSide}),t.jsx(K,{name:`${D(g,V)}.front`,registerOptions:{required:!0},file:e.checkFront,isDisabled:!1,deleteFileStatusById:e.deleteFileStatusById,updateFileStatusById:e.updateFileStatusById,filesEndPoint:x,authParams:y,acceptableTypes:["image/jpg","image/jpeg"],supportedImageFileFormat:"image/jpeg",sizeLimit:Q,placeholderText:r==="small"?c.checkDepositDrawer.uploadDocument:c.checkDepositDrawer.dragDropClickPlaceholder,filemetadataPayload:{documentType:"check",purposeId:"others",documentSide:"front"},hasError:v,updateFilesEntity:j,onDeleteFile:L,onFileSizeError:i=>_(i),onEditFileName:P,openPopup:b,showPhotoPicker:!0,errorInfoLabel:c.checkDepositDrawer.frontSideError,useMobileCam:!0,compressImage:!0}),t.jsx(Y,{isLast:!0,children:c.checkDepositDrawer.backSide}),t.jsx(K,{name:`${D(g,V)}.back`,registerOptions:{required:!0},file:e.checkBack,isDisabled:!1,deleteFileStatusById:e.deleteFileStatusById,updateFileStatusById:e.updateFileStatusById,filesEndPoint:x,authParams:y,acceptableTypes:["image/jpg","image/jpeg"],supportedImageFileFormat:"image/jpeg",sizeLimit:Q,placeholderText:r==="small"?c.checkDepositDrawer.uploadDocument:c.checkDepositDrawer.dragDropClickPlaceholder,filemetadataPayload:{documentType:"check",purposeId:"others",documentSide:"back"},hasError:v,updateFilesEntity:j,onDeleteFile:L,onFileSizeError:i=>_(i),onEditFileName:P,openPopup:b,showPhotoPicker:!0,errorInfoLabel:c.checkDepositDrawer.backSideError,useMobileCam:!0,compressImage:!0}),t.jsx(io,{children:c.checkDepositDrawer.picGuides.map(i=>t.jsxs(ao,{children:[t.jsx(oo,{}),t.jsx(Ne,{children:i})]},i))})]}),t.jsx(so,{windowSize:r,children:Ae.formatJPGText10MB})]})]})})})]})}const Ie=a(F)`
|
|
2
2
|
color: ${e=>e.theme.colors.hero};
|
|
3
3
|
`,Ne=a(F)`
|
|
4
4
|
color: ${e=>e.theme.colors.hero};
|
|
@@ -10,12 +10,12 @@ import{Q as U,V as t,aK as $,hA as pe,F as ee,aL as M,n as G,o,aO as he,y as l,_
|
|
|
10
10
|
gap: ${o.sp2};
|
|
11
11
|
`,W=a.div``,Ve=a.span`
|
|
12
12
|
margin-left: ${o.sp2};
|
|
13
|
-
`,
|
|
13
|
+
`,Re=a(Se)`
|
|
14
14
|
min-width: ${e=>e.isSelectedValue?o.sp4:o.sp5};
|
|
15
15
|
width: ${e=>e.isSelectedValue?o.sp4:o.sp5};
|
|
16
16
|
height: ${e=>e.isSelectedValue?o.sp4:o.sp5};
|
|
17
17
|
margin-right: ${o.sp2};
|
|
18
|
-
`,
|
|
18
|
+
`,Oe=a.div`
|
|
19
19
|
margin-top: ${o.sp3};
|
|
20
20
|
display: flex;
|
|
21
21
|
background-color: ${e=>e.theme.colors.grey5};
|
|
@@ -145,7 +145,7 @@ import{Q as U,V as t,aK as $,hA as pe,F as ee,aL as M,n as G,o,aO as he,y as l,_
|
|
|
145
145
|
&:hover {
|
|
146
146
|
color: ${e=>e.theme.colors.primary};
|
|
147
147
|
}
|
|
148
|
-
`,co="checkDepositDetailPage",lo={NavBarContainerPaddingYAxis:new l(10,s[3])},no=e=>`${e}_form`,
|
|
148
|
+
`,co="checkDepositDetailPage",lo={NavBarContainerPaddingYAxis:new l(10,s[3])},no=e=>`${e}_form`,O={containerPaddingLeft:new l(s[3],s[6],s[8]),containerPaddingRight:new l(s[3],s[6],s[8]),successContentMargin:new l(s[3],s[12])},{spendManagement:po}=ee.getLocalizedStrings(),m=po.zeniAccounts.zeniAccountList,Bo=({checkDeposit:e,analytics:p,filesEndPoint:x,authParams:b,onSaveChangesToLocalStore:y,onAnotherTransferClick:C,updateFilesEntity:j,onDeleteFile:L,onEditFileName:P,onCheckDpositClick:T,onDismissClick:r})=>{const n=U(),[S,v]=f.useState(!1);return t.jsx(go,{windowSize:n,children:e.fetchState==="Completed"?t.jsxs(X,{windowSize:n,children:[t.jsx(Z,{windowSize:n,children:t.jsx(H,{"data-testid":$("check-deposit-drawer-close"),onClick:()=>{p.trackAccountsDepositCheckFormClicked("Cross",e.checkDepositLocalData.amount.amount,e.checkDepositLocalData.source,e.checkDepositLocalData.depositTo?.accountName,e.checkFront!=null,e.checkBack!=null),r?.()}})}),t.jsxs(fo,{windowSize:n,children:[t.jsx(pe,{width:150,height:150,shouldDisplay:!0,animationInLoop:!0}),t.jsxs(xo,{children:[m.checkDepositDrawer.transferSuccessMsgPrefix,t.jsx(mo,{children:M("0,0.[00]",e.checkDepositLocalData.amount)}),m.checkDepositDrawer.transferSuccessMsgSuffix]}),t.jsxs(ko,{children:[t.jsx(G,{variant:"secondary",label:m.checkDepositDrawer.makeAnotherTransferBtn,onClick:C,"data-testid":$("check-deposit-drawer-another-transfer")}),t.jsx(G,{variant:"primary",label:m.checkDepositDrawer.goToAccountBtn,onClick:r,style:{marginLeft:n==="small"?o.sp3:o.sp5},"data-testid":$("check-deposit-drawer-go-to-account")})]})]})]}):t.jsxs(t.Fragment,{children:[t.jsxs(X,{windowSize:n,children:[t.jsx(Z,{windowSize:n,children:t.jsx(H,{"data-testid":$("check-deposit-drawer-close"),onClick:()=>{p.trackAccountsDepositCheckFormClicked("Cross",e.checkDepositLocalData.amount.amount,e.checkDepositLocalData.source,e.checkDepositLocalData.depositTo?.accountName,e.checkFront!=null,e.checkBack!=null),r?.()}})}),n==="small"?t.jsx(Do,{windowSize:n,children:m.checkDepositDrawer.title}):t.jsx($o,{children:m.checkDepositDrawer.title}),n==="small"?t.jsx(uo,{children:m.checkDepositDrawer.subTitle}):t.jsx(ho,{children:m.checkDepositDrawer.subTitle}),t.jsx(Ee,{analytics:p,authParams:b,checkDeposit:e,filesEndPoint:x,onSaveChangesToLocalStore:y,openPopup:v,onCheckDpositClick:T,onDeleteFile:L,onEditFileName:P,updateFilesEntity:j})]}),t.jsx(he,{formId:no(co),helperText:m.checkDepositDrawer.footNote,helperStyle:{paddingTop:o.sp0,paddingBottom:o.sp0},style:{zIndex:S?0:4,paddingTop:o.sp3,paddingBottom:o.sp3},primaryBtn:{label:m.checkDepositDrawer.depositBtn,isLoading:e.fetchState==="In-Progress"},cancelBtn:{label:m.checkDepositDrawer.cancelBtn,onClick:()=>{p.trackAccountsDepositCheckFormClicked("Cancel",e.checkDepositLocalData.amount.amount,e.checkDepositLocalData.source,e.checkDepositLocalData.depositTo?.accountName,e.checkFront!=null,e.checkBack!=null),r?.()}}})]})})},ho=a(F)`
|
|
149
149
|
color: ${e=>e.theme.colors.hero};
|
|
150
150
|
`,uo=a(ge)`
|
|
151
151
|
color: ${e=>e.theme.colors.hero};
|
|
@@ -163,8 +163,8 @@ import{Q as U,V as t,aK as $,hA as pe,F as ee,aL as M,n as G,o,aO as he,y as l,_
|
|
|
163
163
|
text-align: center;
|
|
164
164
|
`,X=a.div`
|
|
165
165
|
height: ${e=>e.windowSize==="small"?"auto":"100%"};
|
|
166
|
-
padding-left: ${e=>`${
|
|
167
|
-
padding-right: ${e=>`${
|
|
166
|
+
padding-left: ${e=>`${O.containerPaddingLeft.valuePx(e.windowSize)}`};
|
|
167
|
+
padding-right: ${e=>`${O.containerPaddingRight.valuePx(e.windowSize)}`};
|
|
168
168
|
`,ko=a.div`
|
|
169
169
|
display: flex;
|
|
170
170
|
justify-content: center;
|
|
@@ -174,7 +174,7 @@ import{Q as U,V as t,aK as $,hA as pe,F as ee,aL as M,n as G,o,aO as he,y as l,_
|
|
|
174
174
|
display: flex;
|
|
175
175
|
flex-direction: column;
|
|
176
176
|
justify-content: center;
|
|
177
|
-
margin: ${e=>`${o.sp0} ${
|
|
177
|
+
margin: ${e=>`${o.sp0} ${O.successContentMargin.valuePx(e.windowSize)} `};
|
|
178
178
|
align-items: center;
|
|
179
179
|
`,Z=a.div`
|
|
180
180
|
display: flex;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{V as t,b1 as _o,aK as m,bK as pe,aL as U,
|
|
1
|
+
import{V as t,b1 as _o,aK as m,bK as pe,aL as U,dm as $o,o as s,p as X,aN as bn,Q as O,aA as kn,ax as Lo,dn as jn,dp as Ao,F as B,u as w,dq as Qn,dr as Nt,aS as $,ds as It,c8 as Pt,dt as Ft,y as V,c_ as zt,av as Zn,a9 as Xe,du as Me,bM as H,A as Bo,d as ce,aZ as Jn,dv as Xn,aT as T,am as Le,dw as Wo,dx as le,c7 as Tt,bY as Sn,ag as Oo,al as we,dy as et,dz as Ae,dA as nt,ak as v,cf as ne,dB as Mo,b as Vt,dC as Ge,dD as Cn,dE as vn,dF as No,dG as Io,b7 as ei,b4 as Po,cv as Dt,cu as Rt,dH as Fo,b5 as ti,cy as ni,bO as zo,dI as To,dJ as _n,dK as $n,dL as Vo,dM as Do,bQ as Ro,bI as Go,dN as Eo}from"./index-BS0RW8dr.js";import{n as a,b as P}from"./mui-bYXq4XMS.js";import{a as N,w as Ho}from"./core-3dlyNYRL.js";import{eT as Gt,fi as Et,fj as Ne,fk as Ht,fl as Kt,fm as Yt,fn as Ut,fo as ii,fp as Ko,f4 as xt,eU as Ie,bn as Ln,bh as oi,fq as ri,fr as Yo,bp as Uo,f5 as ai}from"./zeni-epic-state-LPACxnXP.js";import{N as it,D as qo,R as Qo,B as ye,u as _}from"./AccountRow-CIsbwvGp-J3oMxL3b.js";function q(e,n){if(e!=null)switch(e.type){case"this_period_vs_last_period_percent":case"this_period_vs_same_period_last_year_percent":return pe("0.00%",e.percentValue);case"default_with_null_balance":return"-"}return U("0,0",e?.balance)}function Z(e){return U("0,0",e?.forecast)}function li(e){if(e!=null)switch(e.type){case"this_period_vs_last_period_percent":case"this_period_vs_same_period_last_year_percent":return pe("0.00%",e.totalPercentValue)}return U("0,0",e?.totalBalance)}function jt(e){if(e!=null)switch(e.type){case"this_period_vs_last_period_percent":case"this_period_vs_same_period_last_year_percent":return pe("0.00%",e.forecastPercentValue)}return U("0,0",e?.totalForecast)}function se(e){if(e!=null&&e.forecast!=null&&e.forecast.amount!==0){const n=(e.balance.amount-e.forecast.amount)/e.forecast.amount;return pe("0.00%",Math.floor(n*100)/100)}else return pe("0.00%",void 0)}function de(e){if(e!=null&&e.forecast!=null){const n=Math.floor((e.balance.amount-e.forecast.amount)*100/100);return U("0,0",Object.assign({},e.forecast,{amount:n}))}else return U("0,0",null)}function ci(e){if(e!=null&&e.totalForecast!=null&&e.totalBalance!=null&&e.totalForecast.amount!==0){const n=(e.totalBalance.amount-e.totalForecast.amount)/e.totalForecast.amount;return pe("0.00%",Math.floor(n*100)/100)}else return pe("0.00%",void 0)}function si(e){if(e!=null&&e.totalForecast!=null&&e.totalBalance!=null){const n=Math.floor((e.totalBalance.amount-e.totalForecast.amount)*100/100);return U("0,0",Object.assign({},e.totalForecast,{amount:n}))}else return U("0,0",null)}const Pe=(e,n,i)=>{const{startDate:o,balanceType:r}=n,{dateFormat:{visual:l}}=B.getLocalizedStrings();switch(i){case"month":return r==="default"||r==="default_with_percent"?`${xt(o,l.MMMYYYYFormat,e)}`:mt(r,i);case"quarter":return r==="default"||r==="default_with_percent"?`${B.getLocalizedStrings().reports.quarterPrefix}${xt(o,l.QYYYYformat,e)}`:mt(r,i);case"year":return r==="default"||r==="default_with_percent"?`${xt(o,l.YYYYformat,e)}`:mt(r,i);case"free_range":case"week":throw new Error("free_range/weeks dates are not supported!")}};function mt(e,n){return B.getLocalizedStrings().downloadReport.additionalColumns.labels[n][e]}const wp=(e,n,i)=>{const o=n.length==0?e:`${e}_${n.join("_")}`;return i!=null&&i.trim().length>0?`${o}_${i}`:`${o}_${$o(10)}`},Zo=a.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex: 1 1 auto;
|
|
4
4
|
width: 100%;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{Q as Oe,
|
|
1
|
+
import{Q as Oe,d as We,cO as wl,F as ae,y as O,aN as $l,V as l,bQ as Me,fC as Re,ao as Le,fY as _e,o as a,g6 as jl,cN as qe,cE as ee,cG as ce,cK as He,d5 as vl,d3 as Il,cI as Ue,cH as Ie,g7 as De,g8 as Sl,fu as Cl,ft as Ve,cL as Se,cM as Ol,p as Ee,fK as Ge,B as xe,bI as Qe,fB as Ye,ak as Pe,fX as Ke,b as ye,an as Ll,bF as _l,u as D,dm as El,aW as Pl,g9 as Nl,al as Fl,ga as Dl,bG as ge,b3 as Vl,M as Je,ag as kl,cY as Tl,at as zl,bE as Bl}from"./index-BS0RW8dr.js";import{a as d}from"./core-3dlyNYRL.js";import{n as t}from"./mui-bYXq4XMS.js";import{bj as Ze,bO as Al}from"./zeni-epic-state-LPACxnXP.js";import{W as Ce}from"./LabeledAddressValueField-BgkRIdwJ-D68tBsFt.js";import{I as Wl}from"./LabeledCreatableSingleSelectField-BP_p62Nk-BGV5p2pd.js";import{Y as ke}from"./LabeledDocumentField-DGncRe-Q-BM_MF9Yy.js";const Ml=e=>d.createElement("svg",{width:72,height:72,viewBox:"0 0 72 72",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},d.createElement("path",{opacity:.2,d:"M50.5391 6.01221C51.2636 6.01238 51.9584 6.29976 52.4707 6.81201L62.6016 16.9429C63.1141 17.4553 63.4022 18.1507 63.4023 18.8755V66.1353C63.4023 66.86 63.1149 67.5554 62.6025 68.0679C62.09 68.5804 61.3947 68.8686 60.6699 68.8687H14.2109C13.4862 68.8687 12.7908 68.5804 12.2783 68.0679C11.7658 67.5554 11.4775 66.8601 11.4775 66.1353V8.74463C11.4775 8.01982 11.7658 7.32453 12.2783 6.81201C12.7908 6.29962 13.4862 6.01221 14.2109 6.01221H50.5391Z",fill:"#97C3B9"}),d.createElement("path",{d:"M60.5227 61.2642V61.2318M60.5227 61.2318V15.9951C60.5226 15.2704 60.2346 14.5753 59.722 14.0629L49.5911 3.93209C49.0787 3.41953 48.3837 3.1315 47.659 3.13135H11.3306C10.6057 3.13135 9.91062 3.41928 9.3981 3.9318C8.88559 4.44431 8.59766 5.13944 8.59766 5.86425V63.2551C8.59766 63.9799 8.88559 64.6751 9.3981 65.1876C9.91062 65.7001 10.6057 65.988 11.3306 65.988H57.7898C58.5147 65.988 59.2098 65.7001 59.7223 65.1876C60.2348 64.6751 60.5227 64.0737 60.5227 63.2551C60.5227 62.4365 60.5227 61.2318 60.5227 61.2318Z",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),d.createElement("path",{d:"M46.8682 3.13135V12.9335C46.8682 13.2545 46.9371 13.5724 47.0709 13.869C47.2048 14.1656 47.401 14.4351 47.6483 14.6621C47.8956 14.8891 48.1893 15.0692 48.5124 15.1921C48.8356 15.3149 49.1819 15.3781 49.5317 15.3781H60.2144",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),d.createElement("g",{clipPath:"url(#clip0_1350_23850)"},d.createElement("rect",{x:16.75,y:15,width:22.501,height:1.5,fill:"#97C3B9"}),d.createElement("circle",{cx:16.75,cy:15.75,r:.75,transform:"rotate(90 16.75 15.75)",fill:"#97C3B9"}),d.createElement("circle",{cx:.75,cy:.75,r:.75,transform:"matrix(0 1 1 0 38.5 15)",fill:"#97C3B9"})),d.createElement("g",{clipPath:"url(#clip1_1350_23850)"},d.createElement("rect",{x:16.75,y:28.5,width:30.4971,height:1.5,fill:"#97C3B9"}),d.createElement("circle",{cx:16.75,cy:29.25,r:.75,transform:"rotate(90 16.75 29.25)",fill:"#97C3B9"}),d.createElement("circle",{cx:.75,cy:.75,r:.75,transform:"matrix(0 1 1 0 46.5 28.5)",fill:"#97C3B9"})),d.createElement("g",{clipPath:"url(#clip2_1350_23850)"},d.createElement("rect",{x:16.75,y:42,width:35.4953,height:1.5,fill:"#97C3B9"}),d.createElement("circle",{cx:16.75,cy:42.75,r:.75,transform:"rotate(90 16.75 42.75)",fill:"#97C3B9"}),d.createElement("circle",{cx:.75,cy:.75,r:.75,transform:"matrix(0 1 1 0 51.5 42)",fill:"#97C3B9"})),d.createElement("g",{clipPath:"url(#clip3_1350_23850)"},d.createElement("rect",{x:16.75,y:55.5,width:35.4953,height:1.5,fill:"#97C3B9"}),d.createElement("circle",{cx:16.75,cy:56.25,r:.75,transform:"rotate(90 16.75 56.25)",fill:"#97C3B9"}),d.createElement("circle",{cx:.75,cy:.75,r:.75,transform:"matrix(0 1 1 0 51.5 55.5)",fill:"#97C3B9"})),d.createElement("defs",null,d.createElement("clipPath",{id:"clip0_1350_23850"},d.createElement("rect",{width:24,height:1.5,fill:"white",transform:"translate(16 15)"})),d.createElement("clipPath",{id:"clip1_1350_23850"},d.createElement("rect",{width:32,height:1.5,fill:"white",transform:"translate(16 28.5)"})),d.createElement("clipPath",{id:"clip2_1350_23850"},d.createElement("rect",{width:37.12,height:1.5,fill:"white",transform:"translate(16 42)"})),d.createElement("clipPath",{id:"clip3_1350_23850"},d.createElement("rect",{width:37.12,height:1.5,fill:"white",transform:"translate(16 55.5)"})))),{commonSetUp:Rl}=ae.getLocalizedStrings(),{businessVerification:Te}=Rl,ue={iconSize:new O(D[6],D[10]),gap:new O(D[2],D[3])},Xe={title:new xe("smallSemiBold","standardSemiBold"),description:new xe("smallRegular","standardRegular")},el=()=>{const[e]=Pl("Secure"),c=Oe();return l.jsxs(ql,{windowSize:c,children:[e!=null?l.jsx(Hl,{windowSize:c,animationData:e,play:!0,loop:!0,rendererSettings:{preserveAspectRatio:"xMidYMid slice"}}):l.jsx(Ul,{windowSize:c}),l.jsxs(Gl,{children:[l.jsx(Ql,{windowSize:c,children:Te.securityMessageTitle}),l.jsx(Yl,{windowSize:c,children:Te.securityMessageDescription})]})]})},ql=t.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
align-items: ${e=>e.windowSize==="small"?"flex-start":"center"};
|
|
4
4
|
gap: ${e=>ue.gap.valuePx(e.windowSize)};
|
|
@@ -18,32 +18,32 @@ import{Q as Oe,e as We,cO as wl,F as ae,y as O,aN as $l,V as l,bQ as Me,fB as Re
|
|
|
18
18
|
justify-content: center;
|
|
19
19
|
align-items: flex-start;
|
|
20
20
|
flex: 1;
|
|
21
|
-
`,Ql=t(
|
|
21
|
+
`,Ql=t(Je)`
|
|
22
22
|
${e=>`${Xe.title.style(e.windowSize)}`};
|
|
23
23
|
color: ${e=>e.theme.colors.primary};
|
|
24
24
|
margin: 0;
|
|
25
|
-
`,Yl=t(
|
|
25
|
+
`,Yl=t(Je)`
|
|
26
26
|
${e=>`${Xe.description.style(e.windowSize)}`};
|
|
27
27
|
color: ${e=>e.theme.colors.primary};
|
|
28
28
|
margin: 0;
|
|
29
|
-
`,ll=({text:e})=>l.jsx(
|
|
29
|
+
`,ll=({text:e})=>l.jsx(Jl,{children:l.jsx(Kl,{children:e})}),Kl=t(Dl)`
|
|
30
30
|
display: flex;
|
|
31
31
|
align-items: center;
|
|
32
32
|
color: ${e=>e.theme.colors.hero};
|
|
33
33
|
padding-right: ${a.sp2};
|
|
34
|
-
`,
|
|
34
|
+
`,Jl=t.div`
|
|
35
35
|
display: flex;
|
|
36
36
|
align-items: flex-end;
|
|
37
37
|
margin-left: ${a.sp2};
|
|
38
38
|
margin-top: ${a.sp1};
|
|
39
|
-
`,le={labelWidth:new O(115,145,155),mediumLabelWidth:new O(140,160,170),largeLabelWidth:new O(150,210,244),largeLabelDocumentWidth:new O(150,210,252),paddingBottom:new O(D[3],D[2]),containerRowGap:new O(12,D[3])},Zl={title:new xe("standardMedium","largeMedium")},Xl=ae.getLocalizedStrings(),{dateFormat:{visual:ea},commonSetUp:la,companyPassport:aa,common:{documents:ze,optional:ta}}=Xl,i=la.businessVerification,ia=i.sourceOfFundOptions,oa=d.forwardRef(({fileProps:e,productType:c,allIndustries:m,companyDetails:
|
|
39
|
+
`,le={labelWidth:new O(115,145,155),mediumLabelWidth:new O(140,160,170),largeLabelWidth:new O(150,210,244),largeLabelDocumentWidth:new O(150,210,252),paddingBottom:new O(D[3],D[2]),containerRowGap:new O(12,D[3])},Zl={title:new xe("standardMedium","largeMedium")},Xl=ae.getLocalizedStrings(),{dateFormat:{visual:ea},commonSetUp:la,companyPassport:aa,common:{documents:ze,optional:ta}}=Xl,i=la.businessVerification,ia=i.sourceOfFundOptions,oa=d.forwardRef(({fileProps:e,productType:c,allIndustries:m,companyDetails:f,connectedAccountProvider:N,businessVerificationProps:g,isDisabled:n,style:G,sectionId:y,showInfoTooltip:te=!0,isCompleted:ie=!1,showCompletedIcon:oe=!1,showTreasuryFields:Q=!1,sectionHeader:Y,optionalFields:s=[],onCompanyAddressClick:K,onRegisteredAddressClick:V},re)=>{const h=Oe(),_=le.labelWidth.value(h),E=le.mediumLabelWidth.value(h),b=le.largeLabelWidth.value(h),q=le.largeLabelDocumentWidth.value(h),w=i.productType[c],J=f?.companyFiles.find(u=>u.documentType==="certificate_of_incorporation"),Z=f?.companyFiles.find(u=>u.documentType==="tax_ein"),p=f?.companyDescription,j=f?.companyLegalName,B=f?.website,se=f?.typeOfIncorporation,H=f?.incDate,X=f?.companyIndustry,L=f?.phone,me=f?.taxIdOrEIN,A=f?.primaryContactLocalData,ne=f?.deleteFileStatusById??{},U=f?.updateFileStatusById??{},be=f?.addressStatus?.addressToCreate,we=f?.registeredAddressStatus?.addressToCreate,[k,W]=d.useState(!1),[x,M]=d.useState(!1),R=u=>m.find($e=>$e.code===u)?.name??u,P=u=>ia[u]??u;return l.jsxs(ra,{style:G,ref:re,windowSize:h,children:[l.jsx(sa,{children:l.jsxs(ha,{children:[l.jsxs(da,{children:[oe===!0?l.jsx(ca,{children:ie?l.jsx(pa,{}):l.jsx(ua,{})}):null,l.jsx(na,{windowSize:h,children:Y??i.confirmCompanyDetails})]}),te?l.jsx(ma,{children:l.jsx(Me,{variant:"small-description",display:"flex",maxWidth:"280px",data:i.confirmCompanyDetailsTooltip,placement:h==="small"||c==="onboarding"?"bottom":"right",children:l.jsx(fa,{})})}):null,c==="onboarding"&&Y!=null?l.jsx(ll,{text:ta}):null,g?.companyVerificationStatus!=null?l.jsx(xa,{tagTitle:g.companyVerificationStatus.name,textColor:Re(g.companyVerificationStatus.code),showLoader:g?.isRefreshingViewInBackground}):null]})}),l.jsxs(ya,{children:[l.jsx(el,{}),l.jsx(ee,{isDisabled:n,showAdditionalInfoLabel:!1,label:{label:i.companyLegalNameLabel,width:b},text:{type:"text",name:v(y,"companyLegalName"),placeholder:i.companyLegalNamePlaceholder,defaultValue:j,options:{required:n==null&&s.includes("companyLegalName")===!1}},additionalInfoLabel:i.companyLegalNameError.replace("_product_type_",w)}),l.jsx(I,{}),l.jsx(ee,{isDisabled:n,showAdditionalInfoLabel:!1,label:{label:i.companyDescriptionLabel,width:E},text:{type:"text",name:v(y,"companyDescription"),placeholder:i.addProductPlaceholder,defaultValue:p,options:{required:n==null&&s.includes("companyDescription")===!1}},additionalInfoLabel:i.companyDescriptionError.replace("_product_type_",w)}),l.jsx(I,{}),l.jsx(Ce,{isDisabled:n,label:{label:i.companyAddressLabel,width:E},addressValueField:{name:v(y,"companyAddress"),placeholder:i.companyAddressPlaceholder,defaultValue:be,registerOptions:{validate:u=>s.includes("companyAddress")===!1?!(n==null&&u==null):!0},onClick:()=>{K?.("company_address")}},additionalInfoLabel:i.companyAddressError.replace("_product_type_",w),showAdditionalInfoLabel:!1}),l.jsx(I,{}),l.jsx(Ce,{isDisabled:n,label:{label:i.registeredAddressLabel,width:E},addressValueField:{name:v(y,"registeredAddress"),placeholder:i.registeredAddressPlaceholder,defaultValue:we,registerOptions:{validate:u=>s.includes("registeredAddress")===!1?!(n==null&&u==null):!0},onClick:()=>{V?.("company_registered_address")}},additionalInfoLabel:i.registeredAddressError.replace("_product_type_",w),showAdditionalInfoLabel:!1}),l.jsx(I,{}),l.jsx(ee,{isDisabled:n,showAdditionalInfoLabel:!1,label:{label:i.companyWebsiteLabel,width:_},text:{type:"url",name:v(y,"companyWebsite"),placeholder:i.companyWebsitePlaceholder,defaultValue:B?.toString()??"",options:{required:n==null&&s.includes("companyWebsite")===!1}},additionalInfoLabel:i.companyWebsiteError.replace("_product_type_",w)}),l.jsx(I,{}),l.jsx(Ie,{label:{label:i.companyIndustryLabel,width:_},singleSelectField:{singleSelect:{name:v(y,"companyIndustry"),placeholder:i.companyIndustryPlaceholder,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:R,isDisabled:n,showTickMark:!1},defaultValue:{selectedOption:X,allOptions:m?.map(u=>u.code)??[]},registerOptions:{required:n==null&&s.includes("companyIndustry")===!1,validate:u=>s.includes("companyIndustry")===!1?!(n==null&&!u?.selectedOption):!0}},isFunctional:!0,errorInfoLabel:i.companyIndustryError.replace("_product_type_",w)}),l.jsx(I,{}),l.jsx(Wl,{label:{label:i.companyTypeOfIncorporationLabel,width:b},isDisabled:n,creatableSingleSelectField:{name:v(y,"typeOfIncorporation"),placeholder:i.companyTypeOfIncorporationPlaceholder,defaultValue:{selectedOption:se,allOptions:aa.companyIncInfo.allTypesOfIncorporation},registerOptions:{required:n==null&&s.includes("typeOfIncorporation")===!1&&N==="unit",validate:u=>s.includes("typeOfIncorporation")===!1?!(n==null&&!u?.selectedOption):!0}},errorInfoLabel:i.companyTypeOfIncorporationError.replace("_product_type_",w)}),l.jsx(I,{}),l.jsx(He,{isDisabled:n,label:{label:i.companyIncDateLabel,width:b},style:{paddingBottom:le.paddingBottom.valuePx(h)},dateField:{name:v(y,"incDate"),placeholder:i.companyIncDatePlaceholder,defaultValue:H,dateFormat:ea.defaultInput,maxDate:Ze(),minDate:Al("01 Jan 1900"),autoComplete:"off",registerOptions:{required:n==null&&s.includes("incDate")===!1}},additionalInfoLabel:i.companyIncDateError.replace("_product_type_",w)}),l.jsx(I,{}),l.jsx(Ue,{isDisabled:n,label:{label:i.companyPhoneLabel,width:_},text:{name:v(y,"companyPhone"),placeholder:ce(i.companyPhoneLabel),defaultValue:L,autoComplete:"new-password",options:{required:n==null&&s.includes("companyPhone")===!1}},errorInfoLabel:i.companyPhoneError.replace("_product_type_",w)}),l.jsx(I,{}),l.jsx(qe,{isDisabled:n,label:{label:i.companyPrimaryContactNameLabel,width:b},nameField:{name:v(y,"primaryContactName"),placeHolder:{firstName:i.firstNamePlaceholder,lastName:i.lastNamePlaceholder,name:i.namePlaceholder},defaultValue:{firstName:A?.firstName??"",lastName:A?.lastName??""},registerOptions:{required:n==null&&s.includes("primaryContactName")===!1,validate:u=>!!u||n!=null||s.includes("primaryContactName")},showFullNameError:!0},errorInfoLabel:i.companyPrimaryContactNameError.replace("_product_type_",w)}),l.jsx(I,{}),l.jsx(ee,{isDisabled:n,showAdditionalInfoLabel:!1,label:{label:i.companyPrimaryContactEmailLabel,width:b},text:{type:"email",name:v(y,"primaryContactEmail"),placeholder:i.companyPrimaryContactEmailPlaceholder,defaultValue:A?.email,options:{required:n==null&&s.includes("primaryContactEmail")===!1}},additionalInfoLabel:i.companyPrimaryContactEmailError.replace("_product_type_",w)}),l.jsx(I,{}),l.jsx(ee,{isDisabled:n,showAdditionalInfoLabel:!1,label:{label:i.companyTaxIdLabel,width:_},text:{type:"text",name:v(y,"companyTaxId"),placeholder:i.companyTaxIdPlaceholder,defaultValue:me,options:{required:n==null&&s.includes("companyTaxId")===!1,pattern:Ol},autoComplete:"new-password"},additionalInfoLabel:i.companyTaxIdError.replace("_product_type_",w)}),l.jsx(I,{}),l.jsx(ke,{name:v(y,"certificateOfIncorporation"),isDisabled:n,sizeLimit:Se,deleteFileStatusById:ne,updateFileStatusById:U,filesEndPoint:e.filesEndPoint,authParams:e.authParams,label:{label:i.certificateOfIncorporation,width:q},filemetadataPayload:{documentType:"certificate_of_incorporation",purposeId:"business_verification",documentSide:"front"},file:J,acceptableTypes:["image/jpg","image/jpeg","image/png","application/pdf","image/heic","image/heif"],registerOptions:{required:n==null&&s.includes("certificateOfIncorporation")===!1&&N==="unit"},additionalInfoLabel:i.certOfIncopDocumentError.replace("_product_type_",w),hasError:k,updateFilesEntity:e.updateFilesEntity,onEditFileName:e.onEditFileName,onDeleteFile:e.onDeleteFile,onFileSizeError:u=>W(u)}),k||!(n!=null||J!=null)?l.jsx(Be,{windowSize:h,isError:k,children:ze.formatDocumentText10MB}):null,l.jsx(I,{}),l.jsx(ke,{name:v(y,"ein"),isDisabled:n,sizeLimit:Se,deleteFileStatusById:ne,updateFileStatusById:U,filesEndPoint:e.filesEndPoint,authParams:e.authParams,label:{label:i.einDocument,width:q},filemetadataPayload:{documentType:"tax_ein",purposeId:"business_verification",documentSide:"front"},file:Z,acceptableTypes:["image/jpg","image/jpeg","image/png","application/pdf","image/heic","image/heif"],registerOptions:{required:n==null&&s.includes("ein")===!1},additionalInfoLabel:i.einDocumentError.replace("_product_type_",w),hasError:x,updateFilesEntity:e.updateFilesEntity,onEditFileName:e.onEditFileName,onDeleteFile:e.onDeleteFile,onFileSizeError:u=>M(u)}),x||!(n!=null||Z!=null)?l.jsx(Be,{windowSize:h,isError:x,children:ze.formatDocumentText10MB}):null,l.jsx(I,{}),Q===!0?l.jsxs(l.Fragment,{children:[l.jsx(Ie,{label:{label:i.sourceOfFundsLabel,width:_},singleSelectField:{singleSelect:{name:v(y,"sourceOfFunds"),placeholder:i.sourceOfFundsPlaceholder,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:P,isDisabled:n,showTickMark:!1,menuPlacement:"top",sortOptions:!1},defaultValue:{selectedOption:f?.sourceOfFunds,allOptions:Object.keys(i.sourceOfFundOptions)},registerOptions:{required:n==null&&s.includes("sourceOfFunds")===!1,validate:u=>s.includes("sourceOfFunds")===!1?!(n==null&&!u?.selectedOption):!0}},isFunctional:!0,errorInfoLabel:i.sourceOfFundsError.replace("_product_type_",w)}),l.jsx(I,{})]}):null]})]})});oa.displayName="Company Details Section";const v=(e,c)=>`${e}.${c}`,ra=t.div`
|
|
40
40
|
display: flex;
|
|
41
41
|
flex-direction: column;
|
|
42
42
|
row-gap: ${e=>le.containerRowGap.valuePx(e.windowSize)};
|
|
43
43
|
`,sa=t.div`
|
|
44
44
|
display: flex;
|
|
45
45
|
justify-content: space-between;
|
|
46
|
-
`,Be=t(
|
|
46
|
+
`,Be=t(Fl)`
|
|
47
47
|
padding: ${a.sp1} ${a.sp4};
|
|
48
48
|
background: ${e=>e.theme.colors.grey4};
|
|
49
49
|
border-radius: ${a.sp0} ${a.sp0} ${a.sp2} ${a.sp2};
|
|
@@ -75,10 +75,10 @@ import{Q as Oe,e as We,cO as wl,F as ae,y as O,aN as $l,V as l,bQ as Me,fB as Re
|
|
|
75
75
|
&:hover {
|
|
76
76
|
color: ${e=>e.theme.colors.primary};
|
|
77
77
|
}
|
|
78
|
-
`,
|
|
78
|
+
`,fa=t(Qe)`
|
|
79
79
|
width: ${a.sp3};
|
|
80
80
|
height: ${a.sp3};
|
|
81
|
-
`,
|
|
81
|
+
`,ha=t.div`
|
|
82
82
|
display: flex;
|
|
83
83
|
align-items: center;
|
|
84
84
|
`,ya=t.div`
|
|
@@ -102,7 +102,7 @@ import{Q as Oe,e as We,cO as wl,F as ae,y as O,aN as $l,V as l,bQ as Me,fB as Re
|
|
|
102
102
|
display: flex;
|
|
103
103
|
align-items: center;
|
|
104
104
|
justify-content: flex-end;
|
|
105
|
-
`,ba=(e,c)=>e.map(m=>({...m,value:m.userId,label:m.firstName!=""||m.lastName!=""?`${m.firstName} ${m.lastName}`:m.email})),wa=(e,c)=>({...e,value:e.userId,label:e.firstName!=""||e.lastName!=""?`${e.firstName} ${e.lastName}`:e.email});function $a({allUsers:e,onSelectedUserChanged:c,selectedUser:m,disable:
|
|
105
|
+
`,ba=(e,c)=>e.map(m=>({...m,value:m.userId,label:m.firstName!=""||m.lastName!=""?`${m.firstName} ${m.lastName}`:m.email})),wa=(e,c)=>({...e,value:e.userId,label:e.firstName!=""||e.lastName!=""?`${e.firstName} ${e.lastName}`:e.email});function $a({allUsers:e,onSelectedUserChanged:c,selectedUser:m,disable:f=!1,pickerStyles:{optionBackgroundColor:N,selectedOptionBackgroundColor:g,optionTextStyle:n,titleTextStyle:G,backgroundColor:y,titleTextAlignment:te,selectedOptionColor:ie,customStyleConfig:oe}={},customization:{placeholderLabel:Q}={},showAddUser:Y=!0}){const s=We(),[K,V]=d.useState(!1),re=ba(e).sort((p,j)=>p.label.localeCompare(j.label)),h=m!=null?wa(m):void 0,_=N??s.colors.grey5,E=y??s.colors.grey5,b=g??s.colors.grey3,q=n??ye.smallRegular.cssObject,w=G??q,J={control:(p,j)=>({...p,border:0,height:"100%",backgroundColor:E,fill:j.selectProps.menuIsOpen===!0?s.colors.primary:s.colors.grey1,boxShadow:E,">div:last-child":{color:K?s.colors.primary:s.colors.grey1},":active":{backgroundColor:E},":hover":{fill:s.colors.primary,">div:last-child":{color:s.colors.primary}},minHeight:"auto",cursor:"pointer",flexDirection:"column",">div>div>svg":{color:s.colors.grey1,">path":{color:s.colors.grey5,fill:"currentcolor"}}}),container:p=>({...p,backgroundColor:E,height:"100%"}),singleValue:p=>({...p,margin:0,minWidth:void 0,backgroundColor:void 0,">div":{borderRadius:0,padding:a.sp0,borderLeftStyle:"none",borderWidth:1,borderColor:s.colors.grey1,color:"unset"},">div>div>div>div:last-child":{display:"block",...ye.standardRegular.cssObject}}),valueContainer:p=>({...p,maxWidth:"100%",cursor:"pointer",height:"100%",...w,overflow:"visible",minWidth:"auto",padding:0,display:"flex",justifyContent:te??"flex-start",alignItems:"center",flexWrap:"nowrap",flexDirection:"row",">div":{width:"inherit"}}),menu:(p,j)=>({...p,backgroundColor:_,borderRadius:D[1],boxShadow:`${a.sp0} 2px ${a.sp2} ${s.colors.dropShadowHover}`,whiteSpace:"nowrap",minWidth:"fit-content",zIndex:3,width:236,margin:`6px ${a.sp0}`,right:"-11%",">div":{flexDirection:"column",maxHeight:200,overflowY:"auto",borderRadius:a.sp1,padding:`${a.sp1} ${a.sp0}`,">div":{width:"-webkit-fill-available"}},...oe?.menu?.(p,j)}),menuList:p=>({...p,borderRadius:D[1]}),placeholder:(p,j)=>({...p,margin:0,width:"100%",color:j.isFocused?s.colors.primary:"currentColor",paddingRight:a.sp2,...ye.standardRegular.cssObject,">div>div>svg>circle":{fill:s.colors.grey1}}),noOptionsMessage:p=>({...p,...ye.smallRegular.cssObject,padding:`10px ${a.sp3} 9px ${a.sp3}`,color:s.colors.hero}),option:(p,{isDisabled:j,isSelected:B,isFocused:se})=>({...p,...q,color:B?ie??s.colors.champion:s.colors.hero,backgroundColor:B?b:se?s.colors.background:_,cursor:j?"not-allowed":B?"default":"pointer","svg:nth-of-type(2)":{display:"none"},":hover":{backgroundColor:s.colors.background,color:s.colors.primary},"& label":{paddingRight:"10px",cursor:j?"not-allowed":B?"inherit":"pointer"},">div>div>div:first-of-type":{display:"flex"}}),indicatorSeparator:()=>({}),dropdownIndicator:()=>({}),indicatorsContainer:()=>({height:"100%",display:"flex",alignItems:"center"})},Z=({children:p,...j})=>l.jsxs(ge.ValueContainer,{...j,children:[p,Y===!0?l.jsxs(Ta,{hasSelectedUser:!!m,onClick:()=>{c(void 0),V(!1)},children:[l.jsx(Oa,{}),l.jsx("div",{children:Q??"Add User"})]}):null]});return l.jsx(Ll,{onClickAway:()=>{V(!1)},children:l.jsx(ga,{children:l.jsx(_l,{isMulti:!1,menuPlacement:"auto",minMenuHeight:200,maxMenuHeight:200,menuIsOpen:K,menuShouldScrollIntoView:!1,defaultValue:h,value:h,noOptionsMessage:()=>ae.getLocalizedStrings().cockpit.management.noPerson,onInputChange:p=>{p!==""&&V(!0)},onMenuOpen:()=>{V(!0)},placeholder:l.jsx(va,{children:l.jsx("div",{children:Q??"Select..."})}),components:{Option:Pa,DropdownIndicator:za,IndicatorSeparator:Ba,SingleValue:Va,ValueContainer:ka,MenuList:Z},hideSelectedOptions:!1,closeMenuOnSelect:!1,styles:J,options:re,isDisabled:f,onChange:p=>{c(p),V(!1)},isClearable:!1,isSearchable:!1},El())})})}const ja=t.div``,va=t.div`
|
|
106
106
|
display: flex;
|
|
107
107
|
align-items: center;
|
|
108
108
|
color: ${e=>e.theme.colors.grey1};
|
|
@@ -111,7 +111,7 @@ import{Q as Oe,e as We,cO as wl,F as ae,y as O,aN as $l,V as l,bQ as Me,fB as Re
|
|
|
111
111
|
display: flex;
|
|
112
112
|
align-items: center;
|
|
113
113
|
margin-right: ${a.sp2};
|
|
114
|
-
`,Sa=t(
|
|
114
|
+
`,Sa=t(Ke)`
|
|
115
115
|
width: ${a.sp4};
|
|
116
116
|
height: ${a.sp4};
|
|
117
117
|
color: ${e=>e.theme.colors.hero};
|
|
@@ -138,11 +138,11 @@ import{Q as Oe,e as We,cO as wl,F as ae,y as O,aN as $l,V as l,bQ as Me,fB as Re
|
|
|
138
138
|
width: ${a.sp4};
|
|
139
139
|
border-radius: 50%;
|
|
140
140
|
justify-content: center;
|
|
141
|
-
`,Pa=e=>{const{data:c,options:m,isSelected:
|
|
141
|
+
`,Pa=e=>{const{data:c,options:m,isSelected:f}=e,N=m.findIndex(g=>g.value===c.value);return l.jsx(ja,{children:l.jsx(ge.Option,{...e,children:l.jsxs(Ca,{children:[l.jsxs(Na,{children:[l.jsx(Fa,{children:c?.photo!==void 0?l.jsx(al,{src:c?.photo.href,alt:ae.getLocalizedStrings().cockpit.userProfileAltText,onError:({currentTarget:g})=>{g.onerror=null,g.src=Le},loading:"lazy"}):l.jsx(_e,{firstName:c?.firstName??"",lastName:c?.lastName??"",size:`${a.sp4}`,index:N})}),l.jsx("label",{children:e.label})]}),!!f&&l.jsx(_a,{children:l.jsx(Ea,{})})]})})})},Na=t.div`
|
|
142
142
|
width: 100%;
|
|
143
143
|
display: flex;
|
|
144
144
|
align-items: center;
|
|
145
|
-
`,
|
|
145
|
+
`,Fa=t.div`
|
|
146
146
|
display: flex;
|
|
147
147
|
align-items: center;
|
|
148
148
|
margin-right: ${a.sp2};
|
|
@@ -151,7 +151,7 @@ import{Q as Oe,e as We,cO as wl,F as ae,y as O,aN as $l,V as l,bQ as Me,fB as Re
|
|
|
151
151
|
white-space: nowrap;
|
|
152
152
|
overflow: hidden;
|
|
153
153
|
text-overflow: ellipsis;
|
|
154
|
-
`,Va=({children:e,data:c,...m})=>{const{options:
|
|
154
|
+
`,Va=({children:e,data:c,...m})=>{const{options:f}=m.selectProps,N=f.findIndex(g=>g.value===c.value);return l.jsx(ge.MultiValueLabel,{...m,children:l.jsxs(Aa,{children:[c?.photo!==void 0?l.jsx(al,{src:c?.photo.href,alt:ae.getLocalizedStrings().cockpit.userProfileAltText,onError:({currentTarget:g})=>{g.onerror=null,g.src=Le},loading:"lazy"}):l.jsx(_e,{firstName:c?.firstName??"",lastName:c?.lastName??"",size:`${a.sp4}`,index:N}),l.jsx(Da,{children:e})]})})},ka=({children:e,...c})=>l.jsxs(ge.ValueContainer,{...c,children:[c.selectProps.value==null?l.jsx(Ia,{children:l.jsx(Sa,{})}):null,e]}),Ta=t(kl)`
|
|
155
155
|
color: ${e=>e.hasSelectedUser?e.theme.colors.hero:e.theme.colors.primary};
|
|
156
156
|
display: flex;
|
|
157
157
|
padding: ${a.sp2} 12px;
|
|
@@ -166,7 +166,7 @@ import{Q as Oe,e as We,cO as wl,F as ae,y as O,aN as $l,V as l,bQ as Me,fB as Re
|
|
|
166
166
|
display: flex;
|
|
167
167
|
flex-direction: row;
|
|
168
168
|
cursor: pointer;
|
|
169
|
-
`,pe={width:new O(343,580,726),labelWidth:new O(115,145,155),largeLabelWidth:new O(160,240,240),veryLargeLabelWidth:new O(150,240,245),containerRowGap:new O(12,D[3])},Wa={title:new xe("standardMedium","largeMedium")};function mt({companyOfficerData:e,isDisabled:c,allOfficers:m,allNationalityCountries:
|
|
169
|
+
`,pe={width:new O(343,580,726),labelWidth:new O(115,145,155),largeLabelWidth:new O(160,240,240),veryLargeLabelWidth:new O(150,240,245),containerRowGap:new O(12,D[3])},Wa={title:new xe("standardMedium","largeMedium")};function mt({companyOfficerData:e,isDisabled:c,allOfficers:m,allNationalityCountries:f,isRefreshingViewInBackground:N,connectedAccountProvider:g,style:n,isPopupOpen:G,sectionId:y,filesEndPoint:te,authParams:ie,showInfoTooltip:oe=!0,isCompleted:Q=!1,showCompletedIcon:Y=!1,showOfficerSelect:s=!0,showVerificationTag:K=!0,isForTreasury:V=!1,isOverlay:re=!1,productType:h,companyTitles:_,sectionHeader:E,optionalFields:b=[],onOfficerAddressClick:q,onDeleteFile:w,onEditFileName:J,updateFilesEntity:Z,openPopup:p,onGetOtp:j,onVerifyOtp:B,onResendOtp:se,verifiedPhoneNumber:H,onPhoneVerified:X}){const L=Oe(),me=We(),{getValues:A,setValue:ne}=wl(),U=m.length>0,[be,we]=d.useState(!1),k=U?Object.values(e).findIndex(o=>o?.isSelectedForVerification===!0):0,W=`Officer_${k<0?1:k+1}`;d.useEffect(()=>{X!=null&&e[W]?.phone!=null&&e[W].isPhoneVerified===!0&&X(e[W]?.phone??"")},[]);const x=`${y}.${k}`,M=e[W],R=V?M?.treasuryUserVerificationStatus:M?.userVerificationStatus,P=m.find(o=>o.userId===M?.userId),u=m.sort((o,C)=>(o.firstName||o.lastName?`${o.firstName} ${o.lastName}`:o.email).localeCompare(C.firstName||C.lastName?`${C.firstName} ${C.lastName}`:C.email)),$e=U?u.findIndex(o=>o.userId===M?.userId):0,tl=e[W]?.deleteFileStatusById??{},il=e[W]?.updateFileStatusById??{},Ne=A(`${x}.selectDocument.selectDocumentType`),{common:{optional:ol},commonSetUp:{businessVerification:r},dateFormat:{visual:rl},cockpit:sl}=ae.getLocalizedStrings(),T=h==="onboarding"?r.productType.business_verification:r.productType[h],de=pe.labelWidth.value(L),nl=pe.veryLargeLabelWidth.value(L),fe=pe.largeLabelWidth.value(L),dl=L==="small"?r.companyRolePlaceholderSmall:r.companyRolePlaceholder,cl=L==="small"?r.protectedSsnTextSmall:r.protectedSsnText,S=R?.code==="pending_review"||R?.code==="verified"?"readonly":c,pl=S!=null||!U||R?.code==="require_info",ul=P?.firstName||P?.lastName?`${P?.firstName} ${P?.lastName}`:r.addOfficer,ml=M?.userId!=null?r.confirmIdentityDetails:r.confirmIdentityDetailsNewOfficer,fl={menu:()=>({right:"initial",left:0})},hl=o=>_.find(C=>C.code===o)?.name??o,je=M?.otpverificationStatus?.fetchState,Fe=$l(je);d.useEffect(()=>{X!=null&&Fe==="In-Progress"&&je==="Completed"&&X(A(`${x}.phone`))},[Fe,je]);const yl=(o,C)=>{B(o,C)},xl=()=>H==null||H===""?!1:A(`${x}.phone`)===H,gl=()=>{const o=A(`${x}.phone`);return o!=null&&!Nl(o)?r.phoneErrorForOnboarding:r.phoneError.replace("_product_type_",T)};return l.jsxs(Ma,{style:n,windowSize:L,children:[l.jsxs(Ra,{windowSize:L,isOverlay:re,children:[l.jsxs(Xa,{children:[l.jsxs(Ha,{children:[Y===!0?l.jsx(Ua,{children:Q?l.jsx(Ga,{}):l.jsx(Qa,{})}):null,l.jsx(qa,{windowSize:L,children:E??ml})]}),oe?l.jsx(Ya,{children:l.jsx(Me,{variant:"small-description",maxWidth:"275px",data:r.confirmIdentityDetailsTooltip,display:"flex",placement:L==="small"||h==="onboarding"?"bottom":"right",children:l.jsx(Ka,{})})}):null,h==="onboarding"&&E!=null?l.jsx(ll,{text:ol}):null,R!=null&&K?l.jsx(at,{tagTitle:R?.name,textColor:Re(R.code),showLoader:N}):null]}),s?pl?U?l.jsxs(lt,{children:[P?.photo!==void 0?l.jsx(Ja,{src:P?.photo.href,alt:sl.userProfileAltText,onError:({currentTarget:o})=>{o.onerror=null,o.src=Le},loading:"lazy"}):l.jsx(_e,{firstName:P?.firstName??"",lastName:P?.lastName??"",size:`${a.sp4}`,index:$e}),l.jsx(Ae,{children:`${ul}`})]}):l.jsxs(tt,{children:[l.jsx(it,{children:l.jsx(ot,{})}),l.jsx(Ae,{children:`${r.addOfficer}`})]}):l.jsx(Za,{children:l.jsx($a,{selectedUser:P,allUsers:m,onSelectedUserChanged:o=>{const C=Object.values(e).findIndex(he=>he?.userId===o?.userId);ne(`${x}.isSelectedForVerification`,!1),ne(`${y}.${C}.isSelectedForVerification`,!0)},customization:{placeholderLabel:r.addOfficer},showAddUser:m.length<=9,pickerStyles:{backgroundColor:me.colors.grey5,selectedOptionBackgroundColor:me.colors.background,customStyleConfig:L==="small"?fl:void 0}})}):null]}),Object.values(e).map((o,C)=>{if(k!==C)return null;const he=jl(o?.documentTypeSelectedForVerification),ve=o?.userFiles??[],bl=()=>H!=""&&h==="onboarding"?xl():o?.isPhoneVerified??!1;return l.jsxs(et,{children:[l.jsx(el,{}),l.jsx(qe,{isDisabled:S,label:{label:r.name,width:de},nameField:{name:F(x,"name"),placeHolder:{firstName:r.firstNamePlaceholder,lastName:r.lastNamePlaceholder,name:r.namePlaceholder},defaultValue:{firstName:o?.firstName??"",lastName:o?.lastName??""},registerOptions:{required:b.includes("name")===!1,validate:$=>b.includes("name")===!1?!!$:!0},showFullNameError:!0},errorInfoLabel:r.nameError.replace("_product_type_",T)}),l.jsx(z,{}),o?.userId==null?l.jsxs(l.Fragment,{children:[l.jsx(ee,{isDisabled:S,showAdditionalInfoLabel:!1,label:{label:r.email,width:de},text:{type:"email",name:F(x,"email"),placeholder:ce(r.email),defaultValue:o?.email,options:{required:b.includes("email")===!1}},additionalInfoLabel:r.emailDescription.replace("_product_type_",T)}),l.jsx(z,{})]}):null,l.jsx(He,{isDisabled:S,label:{label:r.dobLabel,width:fe},dateField:{name:F(x,"dob"),type:"text",defaultValue:o?.birthday,placeholder:ce(r.dobLabel),dateFormat:rl.defaultInput,maxDate:Ze().subtract(g==="unit"?18:13,"years"),registerOptions:{required:b.includes("dob")===!1},autoComplete:"off"},additionalInfoLabel:r.dobDescription.replace("_product_type_",T),isMasked:!0}),l.jsx(z,{}),l.jsx(vl,{isDisabled:S,label:{label:r.nationalityLabel,width:de},showAdditionalInfoLabel:h!=="onboarding",additionalInfoLabel:r.nationalityDescription.replace("_product_type_",T),countrySelectField:{name:F(x,"nationalityCountryCode"),placeholder:r.nationalityPlaceholder,defaultValue:Il(o?.nationalityCountryCode,f.map($=>$.countryCode)),registerOptions:{validate:$=>!!($!=null&&$.selectedOption)}}}),l.jsx(z,{}),l.jsx(Ce,{isDisabled:S,label:{label:r.address,width:de},addressValueField:{name:F(x,"officerAddress"),placeholder:ce(r.address),defaultValue:o?.addressStatus?.addressToCreate,registerOptions:{validate:$=>b.includes("officerAddress")===!1?!(S==null&&$==null):!0},onClick:()=>{q(o?.officerType.toLocaleLowerCase().concat("_address"))}},additionalInfoLabel:h==="onboarding"?r.addressAdditionInfo:r.addressError.replace("_product_type_",T),showAdditionalInfoLabel:!0}),l.jsx(z,{}),l.jsx(Ue,{isDisabled:S,label:{label:r.phone,width:de},text:{name:F(x,"phone"),placeholder:ce(r.phone),defaultValue:o?.phone,autoComplete:"new-password",options:{required:b.includes("phone")===!1}},errorInfoLabel:gl(),verificationErrorInfoLabel:r.phoneValidationError,isPopupOpen:G,phoneVerifyButtonProps:{otpChallenge:o?.otpChallenge,showOtpButton:g==="unit",onGetOtp:j,onVerifyOtp:yl,onResendOtp:se,isPhoneVerified:bl(),phoneVerificationStatus:o?.otpverificationStatus,getOtpStatus:o?.sendOtpStatus,openPopup:p,verifiedPhoneNumber:H,focusNotRequired:!0}}),l.jsx(z,{}),l.jsx(Ie,{label:{label:r.companyRoleLabel,width:fe},singleSelectField:{singleSelect:{name:F(x,"role"),placeholder:dl,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:hl,isDisabled:S,showTickMark:!1,maxMenuHeight:250},defaultValue:{selectedOption:o?.titleAtCompany,allOptions:_?.map($=>$.code)??[]},registerOptions:{required:b.includes("role")===!1,validate:$=>b.includes("role")===!1?!(S==null&&!$?.selectedOption):!0}},isFunctional:!0,errorInfoLabel:r.companyRoleDescription.replace("_product_type_",T)}),l.jsx(z,{}),l.jsx(De,{isDisabled:S,showAdditionalInfoLabel:!1,label:{label:r.companyOwnershipLabel,width:fe},formattedTextField:{type:"number",name:F(x,"ownership"),defaultValue:o?.ownershipInCompany,placeholder:r.companyOwnershipPlaceholder,returnValueType:"floatValue",suffix:"%",allowNegative:!1,isNumericString:!1,registerOptions:{required:b.includes("ownership")===!1,validate:$=>$!=null?$>0&&$<=100:!0,max:100},autoComplete:"new-password"},additionalInfoLabel:h==="onboarding"?r.companyOwnershipDescriptionForOnboarding:r.companyOwnershipDescription}),l.jsx(z,{}),l.jsx(De,{isDisabled:S,showAdditionalInfoLabel:!1,label:{label:r.ssnLabel,width:fe},formattedTextField:{type:"text",name:F(x,"ssn"),placeholder:r.addSSNPlaceholder,defaultValue:o?.ssn,format:"###-##-####",registerOptions:{required:b.includes("ssn")===!1,pattern:Sl},autoComplete:"new-password",maxLength:9,allowLeadingZeros:!0},protectedInfoText:S!=null&&o?.ssn?cl:void 0,additionalInfoLabel:r.ssnDescription.replace("_product_type_",T),isMasked:!0}),l.jsx(z,{}),l.jsx(Cl,{name:F(x,"selectDocument"),officerIndex:k,sizeLimit:Se,filesEndPoint:te,authParams:ie,onEditFileName:J,acceptableTypes:["image/jpg","image/jpeg","image/png","image/heic","image/heif"],label:{width:nl},allFiles:ve,updateFilesEntity:Z,deleteFileStatusById:tl,updateFileStatusById:il,onDeleteFile:w,isDisabled:S,menuPlacement:h==="onboarding"&&he==null?"top":"auto",defaultValue:{defaultSelectDocumentType:he,allSelectDocumentType:["driverLicense","passport","ssnCard"],files:{front:Ve(!0,ve,Ne),back:Ve(!1,ve,Ne)}},registerOptions:{required:b.includes("selectDocument")===!1},hasError:be,additionalInfoLabel:r.companyIdDescription.replace("_product_type_",T),onFileSizeError:$=>we($),isPopupOpen:G,openPopup:p,companyOfficerName:{firstName:o?.firstName??"",lastName:o?.lastName??""}})]},x)})]})}const F=(e,c)=>`${e}.${c}`,Ma=t.div`
|
|
170
170
|
display: flex;
|
|
171
171
|
flex-direction: column;
|
|
172
172
|
row-gap: ${e=>pe.containerRowGap.valuePx(e.windowSize)};
|
|
@@ -203,10 +203,10 @@ import{Q as Oe,e as We,cO as wl,F as ae,y as O,aN as $l,V as l,bQ as Me,fB as Re
|
|
|
203
203
|
&:hover {
|
|
204
204
|
color: ${e=>e.theme.colors.primary};
|
|
205
205
|
}
|
|
206
|
-
`,
|
|
206
|
+
`,Ka=t(Qe)`
|
|
207
207
|
width: ${a.sp3};
|
|
208
208
|
height: ${a.sp3};
|
|
209
|
-
`,
|
|
209
|
+
`,Ja=t.img`
|
|
210
210
|
height: ${a.sp4};
|
|
211
211
|
width: ${a.sp4};
|
|
212
212
|
border-radius: 50%;
|
|
@@ -253,7 +253,7 @@ import{Q as Oe,e as We,cO as wl,F as ae,y as O,aN as $l,V as l,bQ as Me,fB as Re
|
|
|
253
253
|
`,it=t.div`
|
|
254
254
|
display: flex;
|
|
255
255
|
align-items: center;
|
|
256
|
-
`,ot=t(
|
|
256
|
+
`,ot=t(Ke)`
|
|
257
257
|
width: ${a.sp4};
|
|
258
258
|
height: ${a.sp4};
|
|
259
259
|
color: ${e=>e.theme.colors.hero};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{V as r,aI as x,aJ as M,aK as f,F as p,o as s,aP as w,ag as g,aQ as H}from"./index-
|
|
1
|
+
import{V as r,aI as x,aJ as M,aK as f,F as p,o as s,aP as w,ag as g,aQ as H}from"./index-BS0RW8dr.js";import{n as o}from"./mui-bYXq4XMS.js";import{c as j}from"./SummaryCard-CTq_yqTg-Bw75z4He.js";import{a as t}from"./core-3dlyNYRL.js";import"./sentry-o6h_D-9x.js";import"./zeni-epic-state-LPACxnXP.js";import"./lottie-DEE24l2z.js";import"./liveblocks-DIep7fJd.js";import"./utils-uDUqNRFY.js";import"./analytics-zoE7Zcxt.js";import"./recharts-BHhx6CLo.js";import"./lexical-DPEnH3HH.js";import"./ReloadCard-Bt8qxAUx-C0FiLSzB.js";const B=e=>t.createElement("svg",{width:32,height:32,viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},t.createElement("path",{opacity:.2,d:"M25.8382 19.5283C25.8382 19.5283 31.0943 15.1988 31.0943 12.6045C31.0943 11.998 30.7236 11.9138 30.2856 11.9138H20.0263V6.72512C20.0263 6.27027 19.6556 5.9165 19.2176 5.9165H2.74197C2.28712 5.9165 1.93335 6.28712 1.93335 6.72512V20.3706C1.93335 20.8255 2.30397 21.1792 2.74197 21.1792H11.182V27.1765H30.3025C30.7573 27.1765 31.1111 26.8733 31.1111 26.4858C31.0943 24.5822 27.4892 20.9434 25.8382 19.5283Z",fill:"#95C1B7"}),t.createElement("path",{d:"M18.9987 20.1516H1.69754C1.24269 20.1516 0.888916 19.781 0.888916 19.343V5.69754C0.888916 5.24269 1.25953 4.88892 1.69754 4.88892H18.19C18.6449 4.88892 18.9987 5.25953 18.9987 5.69754V20.1516Z",stroke:"#95C1B7",strokeWidth:1.5,strokeMiterlimit:10,strokeLinejoin:"round"}),t.createElement("path",{d:"M18.9987 10.8862H29.2581C29.7129 10.8862 30.0667 10.9705 30.0667 11.5769C30.0667 14.1713 24.8107 18.5007 24.8107 18.5007C26.4616 19.9158 30.0667 23.5546 30.0667 25.4583C30.0667 25.8457 29.6961 26.149 29.2581 26.149H10.1376V20.1517",stroke:"#95C1B7",strokeWidth:1.5,strokeMiterlimit:10}),t.createElement("path",{d:"M18.9987 20.1516L10.1376 26.1489",stroke:"#95C1B7",strokeWidth:1.5,strokeMiterlimit:10}),t.createElement("path",{d:"M14.8545 16.3949H5.03308",stroke:"#ECB87D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M14.8545 12.5203H5.03308",stroke:"#ECB87D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M14.8545 8.62878H5.03308",stroke:"#ECB87D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"})),v=e=>t.createElement("svg",{width:32,height:32,viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},t.createElement("path",{opacity:.2,d:"M29.1471 12.9199H19.384V2.69038C19.384 2.2561 19.0302 1.91833 18.612 1.91833H4.13618C3.7019 1.91833 3.36414 2.27219 3.36414 2.69038V30.3391C3.36414 30.7734 3.71799 31.1112 4.13618 31.1112H17.5665H18.612H29.1471C29.5814 31.1112 29.9192 30.7573 29.9192 30.3391V13.692C29.9192 13.2738 29.5653 12.9199 29.1471 12.9199Z",fill:"#97C3B9"}),t.createElement("path",{d:"M26.2595 15.4934H21",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M14.9126 25H5.53552",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M14.9126 20H5.53552",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M14.9126 15H5.53552",stroke:"#ECB87D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M26.2595 25H21",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M26.2595 20H21",stroke:"#ECB87D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M14.9126 10H5.53552",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M14.9126 5.36316H5.53552",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M18.242 30.0978V1.66096C18.242 1.22668 17.8882 0.888916 17.47 0.888916H2.99421C2.55994 0.888916 2.22217 1.24277 2.22217 1.66096V29.3097C2.22217 29.744 2.57602 30.0818 2.99421 30.0818H17.47",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),t.createElement("path",{d:"M16.4246 30.0978H28.0052C28.4395 30.0978 28.7772 29.744 28.7772 29.3258V12.6625C28.7772 12.2283 28.4234 11.8905 28.0052 11.8905H18.1617",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10})),L=e=>t.createElement("svg",{width:32,height:32,viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},t.createElement("path",{opacity:.2,d:"M16.3966 31.1111C24.5135 31.1111 31.0936 24.5311 31.0936 16.4141C31.0936 8.29723 24.5135 1.71716 16.3966 1.71716C8.27965 1.71716 1.69958 8.29723 1.69958 16.4141C1.69958 24.5311 8.27965 31.1111 16.3966 31.1111Z",fill:"#97C3B9"}),t.createElement("path",{d:"M15.5859 30.2829C23.7028 30.2829 30.2829 23.7028 30.2829 15.5859C30.2829 7.46898 23.7028 0.888916 15.5859 0.888916C7.46898 0.888916 0.888916 7.46898 0.888916 15.5859C0.888916 23.7028 7.46898 30.2829 15.5859 30.2829Z",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),t.createElement("path",{d:"M3.76135 15.9559C3.76135 20.1148 6.01701 23.745 9.36524 25.6834",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M8.81897 19.9034C8.81897 17.3658 11.85 15.304 15.5859 15.304C19.3219 15.304 22.3529 17.3658 22.3529 19.9034C22.3529 24.8729 8.81897 24.9257 8.81897 19.9034Z",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),t.createElement("path",{d:"M15.5859 13.2245C17.1626 13.2245 18.4407 11.9464 18.4407 10.3697C18.4407 8.79304 17.1626 7.51489 15.5859 7.51489C14.0092 7.51489 12.7311 8.79304 12.7311 10.3697C12.7311 11.9464 14.0092 13.2245 15.5859 13.2245Z",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),t.createElement("path",{d:"M27.0404 15.6035C27.0404 11.4446 24.7848 7.81443 21.4365 5.87598",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"})),y=[{key:"company_legal_name",title:p.getLocalizedStrings().companyPassportCard.legalName,Icon:v},{key:"company_officer",title:p.getLocalizedStrings().companyPassportCard.companyOfficer,Icon:L},{key:"company_inc",title:p.getLocalizedStrings().companyPassportCard.typeOfInc,Icon:B}],D=o(w)`
|
|
2
2
|
margin: ${s.sp5};
|
|
3
3
|
justify-content: space-between;
|
|
4
4
|
`,W=o.div`
|