@zeniai/web-cockpit-ui 1.13.96-dev → 1.13.96-qa
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-C_NL9J0X-DQ3wv9Rt.js → ACHDetailsPage-Cwc2nmvY-DQ16IU5r.js} +1 -1
- package/dist/assets/{AIPerformancePage-DyiOQxOC-Deykua_G.js → AIPerformancePage-CK4ZdUEb-fJZXFPPa.js} +21 -21
- package/dist/assets/{AccountInfoPage-xglon85A-yRVQMsLQ.js → AccountInfoPage-LiZYkJMA-D7v8XtXB.js} +5 -5
- package/dist/assets/AccountInfoPageContent-BTk2gRyM-D5sd4ymJ.js +149 -0
- package/dist/assets/{AccountReconDetailsDrawerPage-DJ9x8tbi-LYKktAAO.js → AccountReconDetailsDrawerPage-CBOR2m1X-itmjhcPW.js} +17 -17
- package/dist/assets/{AccountRow-CP7Tu1pO-VLQJgkE6.js → AccountRow--5DnpNqk-C6gOEeWO.js} +23 -23
- package/dist/assets/{AccountsPromoCardStack-1elvD1M0-GOX35w9m.js → AccountsPromoCardStack-DCI8_ihc-CZreK5jG.js} +22 -22
- package/dist/assets/{AddAddressForCardDrawer-C8-wy-3B-di9k1XXJ.js → AddAddressForCardDrawer-C_RALUZ7-C2wla-3g.js} +2 -2
- package/dist/assets/{AddToWalletPage-DsqplF5y-BOnzBTtb.js → AddToWalletPage-7sC3Q2Pb-TioJ0o_r.js} +19 -19
- package/dist/assets/{AgingReportsPage-DClcRhxg-CS8rEKD_.js → AgingReportsPage-PrvYryW8-ClQ8Euxf.js} +6 -6
- package/dist/assets/{AllUserItems-BOwAIYTQ-ikKyJOZ6.js → AllUserItems-DlTukPhY-377gtzJq.js} +7 -7
- package/dist/assets/{ApAgingDetailPage-CcU6Hz-o-C9CP7TBd.js → ApAgingDetailPage-BVciGQma-NVEgOPKU.js} +4 -4
- package/dist/assets/{AppBasePage-C7kCz0qg-gwqzuxWV.js → AppBasePage-uJGLWCbr-B_okH7tb.js} +2 -2
- package/dist/assets/{AppDrawerContent-B63CbHT7-CTgXtY-R.js → AppDrawerContent-SD57OqHe-DBC1ZQdx.js} +7 -7
- package/dist/assets/ApprovalRulesSettingsPage-CXh9tY6X-DzKaycYf.js +47 -0
- package/dist/assets/ArAgingChart-GL4vkypx-BDoyqmzK.js +24 -0
- package/dist/assets/{ArAgingDetailPage-AiwyJUwp-CLdUA32y.js → ArAgingDetailPage-CoFL0N3--Dnd2wPCh.js} +1 -1
- package/dist/assets/{AttachmentView-wIV1i6gf-__2UovKF.js → AttachmentView-C3xQE0te-BFkbocnS.js} +5 -5
- package/dist/assets/{BankAccountSection-cVBEl5IN-DpEdLEP3.js → BankAccountSection-Bi3uoDPa-DlE9WCjC.js} +2 -2
- package/dist/assets/{BankAccountWarningSection-Ce5s962S-Dy-_2VlU.js → BankAccountWarningSection-DKdgmMHQ-Df__wM_b.js} +8 -8
- package/dist/assets/{BankConnectionsSettingsPage-Cgp8M98A-D84-x80q.js → BankConnectionsSettingsPage-1zM9RKRI-BKlHDYsy.js} +33 -33
- package/dist/assets/{BillDetailPage-C9NC9kTK-BYRIHiN2.js → BillDetailPage-BoxJCC9n-dUgWZp0T.js} +11 -11
- package/dist/assets/{BillPayApprovalRuleDetailPage-yKPMorLd-DWM3MQMK.js → BillPayApprovalRuleDetailPage-BW3sj5ug-F8EHl6ns.js} +2 -2
- package/dist/assets/{BillPayApprovalRulesPage-DmMqDFmk-B8Cg6Nn6.js → BillPayApprovalRulesPage-DLA6R7dC-CNDK6deM.js} +6 -6
- package/dist/assets/{BillPayPromoPage-CWGX6uCi--607mHc3.js → BillPayPromoPage--BGTNJhm-DrmzLzpj.js} +4 -4
- package/dist/assets/BillPaySetUpPage-_s4R537_-DvISkevy.js +42 -0
- package/dist/assets/{BillingSettingsPage-Bx7lHgIy-CyArwb3F.js → BillingSettingsPage-DgbRhg-m-CRqpdOiy.js} +5 -5
- package/dist/assets/{BillsBulkReviewDrawerPage-Bf5MKQ-f-5iZSFdzE.js → BillsBulkReviewDrawerPage-CKspyZz7-DFQ7kKFj.js} +1 -1
- package/dist/assets/{BoxItem-DX1sag1G-C0OcCbod.js → BoxItem-BHtgE0KL-BJPg4xAk.js} +1 -1
- package/dist/assets/{BusinessVerificationPage-DXh-11f9-BWywYgcT.js → BusinessVerificationPage-CpfsllRZ-CnaBfa3b.js} +14 -14
- package/dist/assets/{CardNumberSubText-iYF6MLsf-BnbFJt1d.js → CardNumberSubText-BHe1nqr7-BRmm9g1p.js} +1 -1
- package/dist/assets/{CashbackDetailPage-DVsCU69u-iWc1QiKl.js → CashbackDetailPage-C9RhIR0R-CyQle5Hi.js} +24 -24
- package/dist/assets/ChargeCardDetailPage-Kygr13jR-CNZ8Sj5E.js +1447 -0
- package/dist/assets/ChargeCardListPage-BnzdzSXW-C9n9iaEp.js +355 -0
- package/dist/assets/{ChargeCardListTable-PTRaj9T6-GxUnY44G.js → ChargeCardListTable-C2nnAxo5-Bk77oToU.js} +18 -18
- package/dist/assets/ChargeCardPromoPage-CSNn9X5i-Ca7vMfka.js +175 -0
- package/dist/assets/ChargeCardSetupPage-DE1pK_7F-BNJjwg-b.js +36 -0
- package/dist/assets/{ChargeCardStatementsPage-uRlTsfDI-DztC0UAp.js → ChargeCardStatementsPage-DK-pEljz-CxNbElz7.js} +3 -3
- package/dist/assets/{ChargeCardUtils-BvVm2SMq-B6pl3c2F.js → ChargeCardUtils-BxyMuU6--CHwiPaoq.js} +1 -1
- package/dist/assets/{ChaseOverlay-CI8lEzod-DNTlxx9v.js → ChaseOverlay-CRiYxWuZ-BZR-S0kG.js} +5 -5
- package/dist/assets/{CheckDepositDrawerPage-Czpxz6Mz-gcS4-F7d.js → CheckDepositDrawerPage-WYiirlL8-DMNFGunZ.js} +16 -16
- package/dist/assets/CollapsableReportTable-BGT77T9W-DWoWj-VL.js +2860 -0
- package/dist/assets/{CompanyOfficerDetailsSection-BrsHy7MO-Cl-BM3f0.js → CompanyOfficerDetailsSection-BPZU90Im-ClsfMHMl.js} +35 -35
- package/dist/assets/{CompanyPassportCard-P0g_DRwA-XRQTRVQK.js → CompanyPassportCard-PXdmJC_B-SLgfN-m9.js} +2 -2
- package/dist/assets/{CompanyPassportPage-CH8El0Nl-CrZI1ceZ.js → CompanyPassportPage-MxIwsh3W-CUmwVoPG.js} +37 -37
- package/dist/assets/{CompleteProfile-DTSAIKgF-WX_HRfP5.js → CompleteProfile-Bd9xEPVl-Cy044ZoG.js} +4 -4
- package/dist/assets/{ConfettiBurst-CjONFCxD-BbasMJ1h.js → ConfettiBurst-CMpZ2feY-D-Nq3IFV.js} +1 -1
- package/dist/assets/{CreateOrEditVendorPage-CDVjGotR-BX0RU8Lc.js → CreateOrEditVendorPage-DgHvZfWv-Bm6layyi.js} +13 -13
- package/dist/assets/{CreditCardPaymentDrawerPage-CsyNRmxp-J9Q1Nire.js → CreditCardPaymentDrawerPage-C2ikLG7P-DestrVrL.js} +15 -15
- package/dist/assets/{CreditCardPaymentPlgSection-BhHsjqZA-DtxErSDc.js → CreditCardPaymentPlgSection-M69ECpN9-CGQ3HY5T.js} +8 -8
- package/dist/assets/{CurrencySelectField-BRkdK9Tx-DZlSSgUd.js → CurrencySelectField-B3AvTbkp-CwUBnsMJ.js} +5 -5
- package/dist/assets/{CustomerOnboardingActivationPage-DnVXw5Ok-CF7wqV2h.js → CustomerOnboardingActivationPage-C7eddGoB-DW4jRuae.js} +1 -1
- package/dist/assets/CustomerOnboardingContainerPage-9UTLABZ0-DmivhYy_.js +1 -0
- package/dist/assets/{CustomerOnboardingDetailPageSkeleton-C95eWcqa-DW8DNI2i.js → CustomerOnboardingDetailPageSkeleton-BIAeoXCV-DB7HhB_G.js} +11 -11
- package/dist/assets/{CustomerOnboardingNoStepsPage-OKbEl9Bp-Dy87ha3L.js → CustomerOnboardingNoStepsPage-BzO6XZ0H-1xoJMSMy.js} +9 -9
- package/dist/assets/{CustomerOnboardingPage-D9jqUudS-BpBvjqe9.js → CustomerOnboardingPage-7yWIaJvU-C3VBP6CL.js} +6 -6
- package/dist/assets/{CustomerOnboardingProductSuitePage-DK_FKVS2-Dz81TViz.js → CustomerOnboardingProductSuitePage-Tvyrs9Cm-B0r6GvUF.js} +5 -5
- package/dist/assets/Dashboard-CA9685lJ-B_5dmcrq.js +778 -0
- package/dist/assets/DashboardReportPage-DQoFWd5C-D6uulgOO.js +349 -0
- package/dist/assets/{DepositAccTransactionItem-B55LUfPM-Bsnh-Dnt.js → DepositAccTransactionItem-CiRcbfmm-ChlbIcLT.js} +2 -2
- package/dist/assets/{DepositAccTransactionListPage-CKBZEDvI-CFszcDp5.js → DepositAccTransactionListPage-DsNLDlHv-MYnNFw-s.js} +7 -7
- package/dist/assets/{DocumentSecurityBanner-B5e6-zfE-B8VQ-eGv.js → DocumentSecurityBanner-CIWoR_yI-Dhftz0pA.js} +1 -1
- package/dist/assets/{DomesticWireDetailsPage--MU9IKKz-CI-n4FxD.js → DomesticWireDetailsPage-C6x8Gz4g-DwUa3Xkf.js} +1 -1
- package/dist/assets/{DownloadOverlay-CVay7PEO-C-BIaHoh.js → DownloadOverlay-D1kGkMFo-DOkMNDuh.js} +12 -12
- package/dist/assets/{DrawerPage-BtsjUVWT-DKZ4-9Rc.js → DrawerPage-CQkJW5hg-DkryY6SR.js} +3 -3
- package/dist/assets/{EditPeoplePage-q8Se6bGZ-Cx2X58jF.js → EditPeoplePage-m2qls8hv-BZd-DWw-.js} +17 -17
- package/dist/assets/{EditReimbursementDetailPage-DJxpU-hz-dhF_OPbV.js → EditReimbursementDetailPage-IlSyu79B-jE0h2JRZ.js} +72 -72
- package/dist/assets/{EntityDetailPage-Bux6DlIw-CDR-iDms.js → EntityDetailPage-CcJJwGo7-DCvr4KdD.js} +1 -1
- package/dist/assets/{EntitySummarySection-D8dz1hFt-Bakc19a1.js → EntitySummarySection-JxKHehL1-CtvARgSu.js} +13 -13
- package/dist/assets/{ExpenseAutomationOverviewPage-CdJQtc-4-WoBW313I.js → ExpenseAutomationOverviewPage-iAUtjSnw-C1CSJZ5E.js} +26 -26
- package/dist/assets/{ExpenseAutomationPage-aNc126hN-DZa4KtXO.js → ExpenseAutomationPage-B0f86olm-wJehtW2E.js} +74 -74
- package/dist/assets/{ExpressPayPage-CWVGXvfN-Bzdld5fx.js → ExpressPayPage-B-at6uDS-BEaELiUG.js} +7 -7
- package/dist/assets/{FeaturePreviewPage-C0nvVXP--BF6s18r5.js → FeaturePreviewPage-gSb_rct_-C-KQutKv.js} +2 -2
- package/dist/assets/{FollowStepsSection-Cf0s1DGX-BFVvc78r.js → FollowStepsSection-eedORgku-FnBhDPYP.js} +12 -12
- package/dist/assets/{GlobalReviewListPage-aY4rHJVr-DzNSgRAM.js → GlobalReviewListPage-BfPwveCc-ftKEGRYk.js} +10 -10
- package/dist/assets/HelpButton-DvD6UJq--aZr7WRfd.js +28 -0
- package/dist/assets/{InformationCardStack-BALkGk48-BWmXScs3.js → InformationCardStack-DPaZz4XW-BZPDjtdj.js} +5 -5
- package/dist/assets/{InsightsCardStack-D52CCSVO-CezeuABJ.js → InsightsCardStack-sKUFRR0H-BiHLZWGW.js} +10 -10
- package/dist/assets/{InsightsSection-D_wtVtVg-5rPDOiJT.js → InsightsSection-Corx5iDh-fVbgdM2i.js} +3 -3
- package/dist/assets/{IntegrationsSettingsPage-DxjbW311-BrvXi8hE.js → IntegrationsSettingsPage-DTWoUi2e-YCv3GRpa.js} +7 -7
- package/dist/assets/{InternationalWireSwiftDetailsPage-24NSHzu1-CRaVhxIk.js → InternationalWireSwiftDetailsPage-B441GUkh-D_QVeJ7p.js} +14 -14
- package/dist/assets/{InternationalWireVerificationPage-B1jvCUkw-Ld5IAzwh.js → InternationalWireVerificationPage-DjpWjFSe-CaUlPKN_.js} +18 -18
- package/dist/assets/{InviteFormPage-C9fNxGsi-CRksfDku.js → InviteFormPage-BRb4jyp_-BuUalkW4.js} +19 -19
- package/dist/assets/{InvitePageListView-DSWZ2SPi-B4SFh7Xp.js → InvitePageListView-Bb_Q_xqJ-BhN72Smm.js} +49 -49
- package/dist/assets/InvitePeoplePage-BKEDAnQ4-ByvIsC8W.js +12 -0
- package/dist/assets/{InvoiceUploadSection-D0CgJxyu-9_MCn8Y6.js → InvoiceUploadSection-BE4ZqriT-CfpM2_BI.js} +7 -7
- package/dist/assets/{IssueChargeCardPage-dYu9VLy4-YHkYWF3X.js → IssueChargeCardPage-BIFpAcrl-DZwnseyQ.js} +22 -22
- package/dist/assets/{LabeledAddressValue-DtmZ5htg-OjX3rrF7.js → LabeledAddressValue-D2vDF5sP-BZfqDHMl.js} +1 -1
- package/dist/assets/{LabeledAddressValueField-C2LEKAwf-BQxD3J4c.js → LabeledAddressValueField-BMdJsw3x-CnFfe2I5.js} +4 -4
- package/dist/assets/{LabeledControlledCheckBoxField-Ds3mSsWy-DNoefl6y.js → LabeledControlledCheckBoxField-CHRGFyHl-T4ZnES5i.js} +1 -1
- package/dist/assets/{LabeledCreatableSingleSelectField-DW8jVgaN-BEmOmz9t.js → LabeledCreatableSingleSelectField-qwQPyqDC-D7x9KNC-.js} +8 -8
- package/dist/assets/{LabeledDocumentField-Ce2A0qNH-CSvl2QNP.js → LabeledDocumentField-Cdd8oj5z-BoWCxP7J.js} +5 -5
- package/dist/assets/{LabeledDropDownFormattedTextField-DWlfmICB-Diz5afTR.js → LabeledDropDownFormattedTextField-CSEioH8A-DiLPLUt5.js} +5 -5
- package/dist/assets/{LabeledText-bruKdeAH-E98_Q-Ht.js → LabeledText-CqZ-udSP-CWd8HtpU.js} +2 -2
- package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-CfzUlgs3-BKnteQzK.js → LabeledUserSingleSelectWithSubtitlesField-DTmijO10-D909IgWp.js} +5 -5
- package/dist/assets/{LabeledZeniRolesDropDownField-CGSgg1Zl-M-Z5Kz_3.js → LabeledZeniRolesDropDownField-DSIWuFix-CIXw0_yv.js} +22 -22
- package/dist/assets/{LinkJETransactionPage-DjNutEvf-sKN4Are7.js → LinkJETransactionPage-C5V1HfGb-BEAJlnvQ.js} +10 -10
- package/dist/assets/{LowBalancePopup-CwcYMtuk-B-vSGd6a.js → LowBalancePopup-BLfeh0xm-C28uSa7K.js} +7 -7
- package/dist/assets/{MagicLinkACHDetailsPage-Ddhg3i45-DAcpfJH2.js → MagicLinkACHDetailsPage-DGR7VcHs-D2IBl0qY.js} +1 -1
- package/dist/assets/{MagicLinkDomesticWireDetailsPage-QzsSuMOz-D-Sj2Twf.js → MagicLinkDomesticWireDetailsPage-BOu5verB-Bhh7qXWp.js} +1 -1
- package/dist/assets/{MagicLinkInternationalWireDetailsPage-BsLlhkuO-cmHC5izc.js → MagicLinkInternationalWireDetailsPage-elijVpdq-Cq0leSr_.js} +1 -1
- package/dist/assets/{MagicLinkSuccessPage-COpDxIAb-BaiQCbjC.js → MagicLinkSuccessPage-C6-JVGAQ-DQTEmgea.js} +4 -4
- package/dist/assets/{MagicLinkTitleSection-Oa8Szvl2-DvY3D69u.js → MagicLinkTitleSection-CCjLimcL-Ip3y0PNU.js} +3 -3
- package/dist/assets/{MailingDetailsSection-BycONjR9-Dhu_6L_d.js → MailingDetailsSection-CJhcwaGu-BAyX38PR.js} +1 -1
- package/dist/assets/{MeetingCalenderPopup-D_WPTVKr-DYqVpuuh.js → MeetingCalenderPopup-DKBH6wSs-Cn-ByIyB.js} +3 -3
- package/dist/assets/{Menu-B6Fh2Mf9-B_ofMkAs.js → Menu-D-Gk-Xfo-DBDtrJ_2.js} +2 -2
- package/dist/assets/{MyBankConnectionsSettingsPage-jWuBarzg-DszKEiXJ.js → MyBankConnectionsSettingsPage-CBxa9AUT-BCb7NWFw.js} +18 -18
- package/dist/assets/{MyPendingActivationChargeCardListPage-_wuCCZ2J-Cbj97sd-.js → MyPendingActivationChargeCardListPage-DBr5htlO-CKJew--2.js} +1 -1
- package/dist/assets/{MyProfileSettingsPage-ChyYrCir-Dq1dhgqM.js → MyProfileSettingsPage-DKUX_nTz-BI1Cjccg.js} +8 -8
- package/dist/assets/{NavBarWithPicker-D4jJGXZB-BJWr2BT1.js → NavBarWithPicker-CXyMHDUO-FwAGF1cV.js} +4 -4
- package/dist/assets/{NavigationArrow-DlUdvmV7-iugv9ZVE.js → NavigationArrow-Bv-PvnhZ-BqeVWU8r.js} +7 -10
- package/dist/assets/{NavigationDots-CFJt-T5J-B9PAzC5S.js → NavigationDots-DJkiFidH-5V7knboW.js} +1 -1
- package/dist/assets/{NewGlobalMerchantPage-DhYni-in-Diwu92Go.js → NewGlobalMerchantPage-CmJjl9S1-k-LUtUto.js} +8 -8
- package/dist/assets/{NoDataChart-CvGbQO4j-B5z4vqWb.js → NoDataChart-Bsj1HEPq-CTuuS1jm.js} +1 -1
- package/dist/assets/{NoDataTable-EKtYZwcL-XyHu2gAL.js → NoDataTable-6vR2vOMI-C3_Xw78i.js} +1 -1
- package/dist/assets/{NotFoundPage-D5SHSQLS-0U7pTJ8G.js → NotFoundPage-SRxATfaW-y-aOb1MC.js} +4 -4
- package/dist/assets/{NotificationSettingsPage-CjJw9Atb-BmSbhipZ.js → NotificationSettingsPage-Bko3CBmW-_bWFzZ7l.js} +33 -33
- package/dist/assets/NotificationsListConfig-ChVd_Bek-CKniSs8p.js +1 -0
- package/dist/assets/{NotificationsPage-bGvx2yV6-C4p8pfzZ.js → NotificationsPage-DMfBgh2w-1OVVoKkc.js} +12 -12
- package/dist/assets/{OpExByVendorPage-BE_NnQzd-DQnxoqWx.js → OpExByVendorPage-DOkwCGkr-DKAYXBt6.js} +7 -7
- package/dist/assets/{OverlayContainerPage-GWXnlbZH-D2VSw_RI.js → OverlayContainerPage-C0rUb6-5-BEYdjpiV.js} +1 -1
- package/dist/assets/{PandLWithForecastPage-D-000kuR-BW5fUkac.js → PandLWithForecastPage-DCJ3QTuj-SrjsP3F-.js} +11 -11
- package/dist/assets/{PaymentAccountSetupBillingAddressSection-CwbX_znq-C6WVSYgS.js → PaymentAccountSetupBillingAddressSection-CaZETrGz-De6JzHBj.js} +8 -8
- package/dist/assets/{PeoplePage-MwM0lFB9-B0wgHwI1.js → PeoplePage-PvOhX-gy-bUl8LV-N.js} +14 -14
- package/dist/assets/PortfolioAllocationFormPage-DsCeagnu-DFOtswbp.js +207 -0
- package/dist/assets/PortfolioDetails-BEa4kwk8-CITW78cn.js +218 -0
- package/dist/assets/{ProductsCarousel-D2wC3sC--BKh2AE5P.js → ProductsCarousel-qzlVuyK5-BlxLSS9s.js} +9 -9
- package/dist/assets/{PromoBaseCards-Ddumul2a-BrEDd739.js → PromoBaseCards-26GOEn3a-DaZDnJ-z.js} +23 -23
- package/dist/assets/{QBOConnectionDialog-DszSpNdI-DwqHmKSk.js → QBOConnectionDialog-CZQE3Tjs-Da8BEmHP.js} +7 -7
- package/dist/assets/{QBOSetupSection-BNF-BUu5-B_yCc7Df.js → QBOSetupSection-u1sJhV67-3guqHTYH.js} +13 -13
- package/dist/assets/{ReimbursementApprovalRuleDetailPage-Myone4-k-B9H3tR1_.js → ReimbursementApprovalRuleDetailPage-vRiO7G_7-BtkXAaTL.js} +1 -1
- package/dist/assets/{ReimbursementApprovalRulesPage-DFhp0GGU-p0zWXuJ6.js → ReimbursementApprovalRulesPage-kEmFNXtg-tWOcEiR-.js} +35 -35
- package/dist/assets/{ReimbursementDetailPage-BAEddssC-DcJfByf4.js → ReimbursementDetailPage-ChyRg0eX-Claybyvt.js} +10 -10
- package/dist/assets/{ReimbursementPromoPage-D4u3SX8R-ByzJ_1Sx.js → ReimbursementPromoPage-BWsOD49o-D82HFW_4.js} +7 -7
- package/dist/assets/ReimbursementSetUpPage-DO_dBP9N-CDR1Iktq.js +140 -0
- package/dist/assets/{ReimbursementsBulkReviewDrawerPage-CAo_NjTX-O9TR0kFt.js → ReimbursementsBulkReviewDrawerPage-CgRo7VeI-w-iFb9QJ.js} +1 -1
- package/dist/assets/{ReloadCard-BA_JCHcV-DL7NGQyj.js → ReloadCard-CpauR6-c-3e4dg5U2.js} +5 -5
- package/dist/assets/ReportTableViewSelector-D6DHFt_R-CzdBaV93.js +150 -0
- package/dist/assets/ReportsPage-D4mI3T0w-DX_lYTCz.js +120 -0
- package/dist/assets/{RevenueChart-D33p-PFq-CGRJwc_N.js → RevenueChart-JdtvK4L6-CpCUlh1v.js} +1 -1
- package/dist/assets/{ReviewDetailsPage-D35NcQnx-Cbn86Yy5.js → ReviewDetailsPage-BwQoOV2Q-BSoqdtJl.js} +15 -15
- package/dist/assets/{ReviewOverlay-BYJdokfW-C97jtxei.js → ReviewOverlay-BLxhto7d-Ote-FEid.js} +10 -10
- package/dist/assets/{RoleWithToolTip-B3hm-1rz-OZzvKPZJ.js → RoleWithToolTip-BRSx6yqP-Dj7TwZqE.js} +7 -7
- package/dist/assets/{ScheduleDetailsFixedAssetsPage-BVnISMKW-BILZO4Rn.js → ScheduleDetailsFixedAssetsPage-CH84DI7F-DS2nwC6-.js} +8 -8
- package/dist/assets/{ScheduleDetailsPage-BibWPOxC-DZMtTy3C.js → ScheduleDetailsPage-CMunoow5-Kl0jdvn6.js} +4 -4
- package/dist/assets/{ScheduleSequenceTable-DcQmeKyc-JMxQ5IZq.js → ScheduleSequenceTable-CQVHkQ0e-Dw2nQmil.js} +49 -49
- package/dist/assets/{ScreenRoutes-iE9-v0dJ.js → ScreenRoutes-C5pHLsYO.js} +35 -35
- package/dist/assets/{SetUpAccountSection-BEJy78G6-Do1X3vVo.js → SetUpAccountSection-CyyxtFvK-Bjoxqucl.js} +24 -24
- package/dist/assets/{SetUpDefaultSection-ul-q6U3w-CKVV_QFK.js → SetUpDefaultSection-Bdw_aWMY-C7l-ATBb.js} +16 -16
- package/dist/assets/{SignIn-BC8yop4g-CznicFTu.js → SignIn-Gw75P03k-B_X_KXq6.js} +17 -17
- package/dist/assets/{SignInScreen-k0dvslKE.js → SignInScreen-CU1N7put.js} +1 -1
- package/dist/assets/{SpendManagementListViewPage-aZljA388--EEskYb2.js → SpendManagementListViewPage-BccaMtyd-shshvd9r.js} +10 -10
- package/dist/assets/{SpendManagementPerTabPage-BU1ai2M8-DkMZQMfc.js → SpendManagementPerTabPage-D-YqqUsz-DyRQAFsg.js} +33 -33
- package/dist/assets/{SpendManagementSection-DMw8NFvN-Cpy4Blf3.js → SpendManagementSection-CdH1r1Vw-C3epoUbW.js} +8 -8
- package/dist/assets/SpendMgmtSetupAccountSection-nryeZQ0T-2tO4d4y_.js +206 -0
- package/dist/assets/{StatementItem-CKTGWEW_-d6SqxmfH.js → StatementItem-BW9HKaf9-CsEdfyzn.js} +3 -3
- package/dist/assets/{StatementsPage-CjR4AlPy-BQRlcz37.js → StatementsPage-CXawS1th-D6ifdlgD.js} +6 -6
- package/dist/assets/{StatusSwitcher-5CZzUYJE-qZVSFmES.js → StatusSwitcher-oC-AP25Z-D-8kVIuC.js} +5 -5
- package/dist/assets/{SubTabSwitcher-a38_U4dN-BfyQ4BdY.js → SubTabSwitcher-DXWQMf7B-D5NgssDf.js} +1 -1
- package/dist/assets/{SummaryCard-XbFHvHx9-CTqdwSSS.js → SummaryCard-C3zjN-kT-DVcdP-G4.js} +1 -1
- package/dist/assets/{TaskManagementPage-Oct77yO--igT2quo0.js → TaskManagementPage-BGDJNpe_-BGexoSAd.js} +31 -31
- package/dist/assets/{TimeRangeSwitcher-C4mpBnQl-CaG6dXuN.js → TimeRangeSwitcher-BJfy3akS-o2HcwGW6.js} +3 -3
- package/dist/assets/{TimeframeSwitcher-CnLEHYWD-BW9vKcLS.js → TimeframeSwitcher-M9tK6u0Y-C6JeMzJ1.js} +5 -5
- package/dist/assets/TimeframeSwitcherWithToggle-L1nNDGOE-jeHox6-x.js +31 -0
- package/dist/assets/{TopExCard-CaR8tsug-DnQ2eFWB.js → TopExCard-BD9Ehuw_-BEZAD6RQ.js} +5 -5
- package/dist/assets/{TopExDetailPage-C4QeWe92-vjJ7ZG8N.js → TopExDetailPage-3HoXp_6D-C4AntCB3.js} +10 -10
- package/dist/assets/{TransactionDetailPage-BoxnNYXX-2QwooFWS.js → TransactionDetailPage-CbnGQ8bn-D1kf6rih.js} +26 -26
- package/dist/assets/TransactionList-BBjiP2Nf-CVZYe7YT.js +147 -0
- package/dist/assets/{TransactionListBig-B0FG0-BM-Br0wUjP3.js → TransactionListBig-5aenxEn4-DbuGNI6-.js} +18 -18
- package/dist/assets/TransactionListPage-BeVkiwkg-BwC4l02u.js +35 -0
- package/dist/assets/{TransactionVendorDetailPage-gBr8kX0F-BE5xJ4Iy.js → TransactionVendorDetailPage-Yi7SmsyK-pIrKO6zm.js} +5 -5
- package/dist/assets/{TransferDrawerPage-BJVanLzC-BZZsX7dv.js → TransferDrawerPage-2P1mhp1M-DQ83dYHD.js} +11 -11
- package/dist/assets/{TreasuryOverviewPage-DGJnHyrO-BPZDM1DN.js → TreasuryOverviewPage-CkCBcBQK-CKBjtsts.js} +34 -34
- package/dist/assets/{TreasuryPromoPage-CblUabA3-CO5CaCN_.js → TreasuryPromoPage-v-g4ZAdk-BPgVXnPP.js} +14 -14
- package/dist/assets/{TreasurySetupPage-CuROk6il-7kJUNajN.js → TreasurySetupPage-B7va2-fJ-CAJ9u8aR.js} +2 -2
- package/dist/assets/{TreasuryStatementsPage-DfB0yrzC-osurk-aq.js → TreasuryStatementsPage-BEJsQ-Oz-DHPONp68.js} +10 -10
- package/dist/assets/{TreasuryTaxLetterPage-CRoLpeXm-g70lefJl.js → TreasuryTaxLetterPage-CpTpM1mx-Ba1IA2xd.js} +4 -4
- package/dist/assets/{TreasuryTransferOrReviewPage-QMDAFbkh-CUXJN-eh.js → TreasuryTransferOrReviewPage-BRPFympA-6Ds9mHlo.js} +77 -77
- package/dist/assets/{TrendChart-D3_4i3qH-wYUerKRk.js → TrendChart-DRNocU0p-B5zGJHBv.js} +3 -3
- package/dist/assets/{TrendWithTransactions-KkV2_0Uh-D0lwZdhf.js → TrendWithTransactions-CldwGpXX-C-miaXCt.js} +5 -5
- package/dist/assets/{UncategorizedAccountsMappingPage-kKq-jvPY-CF6bAw3X.js → UncategorizedAccountsMappingPage-2C5qEhte-D_ahOlGs.js} +1 -1
- package/dist/assets/{UnitIntegrationPage-CZS0yjHf-2PLtjCjv.js → UnitIntegrationPage--cDHqgXs-CzBp1mNW.js} +3 -3
- package/dist/assets/{UploadAdditionalDocumentOverlay-KkO_TLUT-n0LOLnpS.js → UploadAdditionalDocumentOverlay-D85ML8-_-p_x3eEON.js} +1 -1
- package/dist/assets/{Vendor2FAPopup-wnVnkHOg-DABVEKDS.js → Vendor2FAPopup-vdFWf98b-D5sSolYh.js} +1 -1
- package/dist/assets/{VendorACHDetailsPage-nuzdr69i-pgOa8d0q.js → VendorACHDetailsPage-D7ImMabh-ChqR1RaR.js} +1 -1
- package/dist/assets/{VendorDetailPage-ClmL_1FB-Cz0Favu8.js → VendorDetailPage-BOeEd9pX-C40iOslI.js} +14 -14
- package/dist/assets/{VendorDomesticWireDetailsPage-DEK3jdYu-StHUbnc9.js → VendorDomesticWireDetailsPage-CXFrYPn8-o64Pt2o2.js} +1 -1
- package/dist/assets/{VendorFiling1099EditablePage-KMOY10Xr-C-_0rtWP.js → VendorFiling1099EditablePage-CZFErJ91-Dq9to1zv.js} +9 -9
- package/dist/assets/{VendorFirstReviewPage-CLF3qT17-D1oHFEVR.js → VendorFirstReviewPage-BHzDUMKu-DpG7tqKb.js} +75 -75
- package/dist/assets/{VendorInternationalWireDetailsPage-C5JXqVVq-DdhMyWB0.js → VendorInternationalWireDetailsPage-j4j5irzH-CT3rN25J.js} +8 -8
- package/dist/assets/{VendorInternationalWireSwiftDetailsPage-7KrBqEWb-D_WpQwvk.js → VendorInternationalWireSwiftDetailsPage-DM4jC7wD-0NWOAHYt.js} +1 -1
- package/dist/assets/{VendorsAccountsSection-fcURK7tv-BOScGj67.js → VendorsAccountsSection-BTRiZlIa-D2xftT7n.js} +13 -13
- package/dist/assets/{WarningsDrawerPage-Bnd_CdR9-B2JqHi6z.js → WarningsDrawerPage-ZgfQEBme-BogIku8q.js} +10 -10
- package/dist/assets/{ZeniAccountDetailPage-DRDCdFW7-D8o4Z2Hy.js → ZeniAccountDetailPage-xrq0Ez6S-5Y9wWxKq.js} +40 -40
- package/dist/assets/{ZeniAccountListViewPage-ZPWww_Go-HRp0ORwg.js → ZeniAccountListViewPage-BwXfELGd-CMYKhLC-.js} +5 -5
- package/dist/assets/{ZeniAccountNavBarPieces-DFivFXxa-rHFaK51E.js → ZeniAccountNavBarPieces-xpHuuPSD-CQw7XfH0.js} +1 -1
- package/dist/assets/{ZeniAccountPromoPage-D1oJNoqy-C6ZFb72_.js → ZeniAccountPromoPage-BvSwPEk7-sx8wuksr.js} +18 -18
- package/dist/assets/{ZeniAccountSetupPage-DITu6ztK-Fgis_UYm.js → ZeniAccountSetupPage-yCkiopeU-oXKMyUZt.js} +3 -3
- package/dist/assets/{ZeniCopyright-DoA2I5zj-CPBH_zf-.js → ZeniCopyright-BAbOOFg9-CEbrOROr.js} +1 -1
- package/dist/assets/{ZeniTransferAmountSlider-amszUh1p-Wx5VV7C8.js → ZeniTransferAmountSlider-C1sl8ZNj-C6racrVi.js} +1 -1
- package/dist/assets/{analyticsHelper-DPbbQVAO-ChPUlKK7.js → analyticsHelper-CkzpobMi-DnjY1jLw.js} +1 -1
- package/dist/assets/{analyticsHelper-BbcCIpO1.js → analyticsHelper-j8smtjIR.js} +1 -1
- package/dist/assets/{chartTypes-qpvW4LwC-4Ag0mdD1.js → chartTypes-JD2mR9iq-B-Dqgpc8.js} +1 -1
- package/dist/assets/{commonDimensions-DAvj4Il1-Chc9ZQai.js → commonDimensions-DRfDJ_wQ-DeEC_LLv.js} +1 -1
- package/dist/assets/{detailCommon-jP1ggD3g-CQiTz4E7.js → detailCommon-BbKkY_46-DwHUZLAg.js} +5 -5
- package/dist/assets/{downloadPdf-LAHtgcHF-B9uNpNRf.js → downloadPdf-D7ANJLK4-BVhr8pTH.js} +1 -1
- package/dist/assets/{index-DyBH5SZv.js → index-Dr7k10Ge.js} +3520 -3543
- package/dist/assets/mapLoadingInProgressToTreeNode-e8JhfflK-BBSz2yuD.js +1 -0
- package/dist/assets/{mapSectionWithAcOnlyToTreeNode-Dr43nOGj-FSgubQ7E.js → mapSectionWithAcOnlyToTreeNode-caUW45t5-Cd4Vndkt.js} +1 -1
- package/dist/assets/mapSpacerToTreeNode-C692pbYW-BJLTFMw5.js +1 -0
- package/dist/assets/mapTimeframeBalancesToTreeNode-DKrYq4x5-CLuyCBzc.js +1 -0
- package/dist/assets/{play-icon-D3OSczih-8eMagn70.js → play-icon-BbWpG2oG-CGqef6-e.js} +3 -3
- package/dist/assets/{toCOABalancesWithID-DeWKaovX-C_3xC96w.js → toCOABalancesWithID-DOgHiMwn-C3l_klRD.js} +1 -1
- package/dist/assets/{toChartData-Dkp488IJ-Cg1gF7al.js → toChartData-CNfdaXyM-Cc0Cbk9b.js} +1 -1
- package/dist/assets/{treasuryColorHelper-BibNNRS5-DCmyWsB-.js → treasuryColorHelper-JBMxqa9X-CRkfUPI_.js} +1 -1
- package/dist/assets/{uploadAttachment-BjJ8_wDA-22p019X4.js → uploadAttachment-BGZjtYkJ-DDuM3kuv.js} +25 -25
- package/dist/assets/{uploadReceipts-D80JLNY4-sjevKwVl.js → uploadReceipts-Buvz7DfG-CEx_e_oz.js} +1 -1
- package/dist/index.html +1 -1
- package/package.json +4 -4
- package/dist/assets/AccountInfoPageContent-BtMF3gSM-CwB-GVxY.js +0 -149
- package/dist/assets/ApprovalRulesSettingsPage-D6XZafBq-BQyA8PhX.js +0 -47
- package/dist/assets/ArAgingChart-D-Z3jfGt-DS-oqmcQ.js +0 -24
- package/dist/assets/BillPaySetUpPage-B-DHUIqu-DsqPk0zS.js +0 -42
- package/dist/assets/ChargeCardDetailPage-D5bwvNOM-CT3hMXCY.js +0 -1447
- package/dist/assets/ChargeCardListPage-rY7_MoJ5-CzPbszY2.js +0 -355
- package/dist/assets/ChargeCardPromoPage-BUtD2JQ4-Bh59RQEl.js +0 -219
- package/dist/assets/ChargeCardSetupPage-CIRcLLnB-Cefuwkkm.js +0 -36
- package/dist/assets/CollapsableReportTable-BBGdC6Ii-N5Ehkf8R.js +0 -2932
- package/dist/assets/CustomerOnboardingContainerPage-wmVbYxdI-BLfm1bGE.js +0 -1
- package/dist/assets/Dashboard-CsuzQbH0-B5Hgiilv.js +0 -1254
- package/dist/assets/DashboardReportPage-BCkrfj3P-CIFdRg6l.js +0 -370
- package/dist/assets/HelpButton-Dv3nbc1Z-CHaoZd0g.js +0 -28
- package/dist/assets/InvitePeoplePage-DaN4NSHW-CydccedW.js +0 -12
- package/dist/assets/NotificationsListConfig-BL_MxKXF-CvqrsVs-.js +0 -1
- package/dist/assets/PortfolioAllocationFormPage-C3a4MQzW-CQIA3SiA.js +0 -207
- package/dist/assets/PortfolioDetails-BMJ6PGMP-DtrA52bw.js +0 -218
- package/dist/assets/ReimbursementSetUpPage-B9ByGW3n-Bt2Z4PCD.js +0 -140
- package/dist/assets/ReportTableViewSelector-D7B88kS6-BrGIUsj4.js +0 -150
- package/dist/assets/ReportsPage-BzMzH-I3-BKZoRCt6.js +0 -121
- package/dist/assets/SpendMgmtSetupAccountSection-BtcwTlJT-Bsya0Qr3.js +0 -206
- package/dist/assets/TimeframeSwitcherWithToggle-Bc-Y5Hwv-0uMnBILy.js +0 -31
- package/dist/assets/TransactionList-IjM4ABdF-DZ9PEfgX.js +0 -147
- package/dist/assets/TransactionListPage-1dwu-ZT2-vlIbHO3m.js +0 -35
- package/dist/assets/mapLoadingInProgressToTreeNode-CjvJKOzk-DeuVFxVw.js +0 -1
- package/dist/assets/mapSpacerToTreeNode-COsnfFtf-DI0OXEqQ.js +0 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-BnpqSOA6-DAD3sG8g.js +0 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-DFanhVY8-Cl8Oktyg.js +0 -1
- package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-D2xlqc6w-BjPO7Xb1.js +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{X as P,u as Ae,
|
|
1
|
+
import{X as P,u as Ae,a5 as ca,a as da,c3 as pa,M as k,j as a,aW as ma,F as ua,c4 as ha,l as V,a7 as fa,C as m,c5 as xa,a6 as Ce,o as t,t as ae,c6 as z,c7 as ze,c8 as L,c9 as ga,ca as qe,cb as ya,cc as ba,cd as Ue,V as $a,ce as wa,cf as He,cg as Ge,ch as Ia,ci as ja,cj as va,g as N,ck as Sa,cl as Da,aM as Oa,a9 as Ca,as as U,cm as Fe,q as p,v as Ze,K as Me,cn as Fa,D as ka,co as Ta,cp as Na,b1 as Pa,cq as La,ah as za,cr as Ma,m as Ea,b2 as R,cs as Va,r as de,a$ as Ba}from"./index-Dr7k10Ge.js";import{b as _,n as s,f as Wa,k as _a}from"./vendor-CnQcJ2Lu.js";import{I as Ke}from"./LabeledCreatableSingleSelectField-qwQPyqDC-D7x9KNC-.js";import{Y as Xe}from"./LabeledDocumentField-Cdd8oj5z-BoWCxP7J.js";import{$ as Je}from"./LabeledAddressValue-D2vDF5sP-BZfqDHMl.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";const Qe={maxWidth:new m(280,340),contentMaxWidth:new m(200,255)},Ra=_a`
|
|
2
2
|
0% {
|
|
3
3
|
transform: translateX(100%)
|
|
4
4
|
}
|
|
@@ -20,26 +20,26 @@ import{X as P,u as Ae,a1 as ca,a as da,c3 as pa,M as k,j as a,aV as ma,F as ua,c
|
|
|
20
20
|
justify-content: center;
|
|
21
21
|
align-items: flex-start;
|
|
22
22
|
animation: ${Ra} 0.4s;
|
|
23
|
-
`,Aa=s(
|
|
23
|
+
`,Aa=s(Sa)`
|
|
24
24
|
margin-top: 2px;
|
|
25
25
|
width: ${t.sp4};
|
|
26
26
|
height: ${t.sp4};
|
|
27
27
|
color: ${N.successDark};
|
|
28
|
-
`,
|
|
28
|
+
`,qa=s(Da)`
|
|
29
29
|
margin-top: 2px;
|
|
30
30
|
width: ${t.sp4};
|
|
31
31
|
height: ${t.sp4};
|
|
32
32
|
color: ${N.important};
|
|
33
|
-
`,
|
|
33
|
+
`,Ua=s.div`
|
|
34
34
|
margin-top: ${t.sp1};
|
|
35
35
|
`,Ha=s(Ca)`
|
|
36
36
|
color: ${N.neutralGrey2Light};
|
|
37
|
-
`,
|
|
37
|
+
`,Ga=s.div`
|
|
38
38
|
max-width: ${e=>Qe.contentMaxWidth.valuePx(e.windowSize)};
|
|
39
39
|
margin: ${t.sp0} ${t.sp3};
|
|
40
|
-
`,
|
|
40
|
+
`,Za=s(Oa)`
|
|
41
41
|
color: ${e=>e.isSuccess?N.success:N.important};
|
|
42
|
-
`,
|
|
42
|
+
`,Ka=s.div`
|
|
43
43
|
width: ${t.sp3};
|
|
44
44
|
height: ${t.sp3};
|
|
45
45
|
cursor: pointer;
|
|
@@ -47,7 +47,7 @@ import{X as P,u as Ae,a1 as ca,a as da,c3 as pa,M as k,j as a,aV as ma,F as ua,c
|
|
|
47
47
|
&:hover {
|
|
48
48
|
color: ${N.primaryDark};
|
|
49
49
|
}
|
|
50
|
-
`,
|
|
50
|
+
`,Xa=e=>{const o=k.getLocalizedStrings().companyPassport.snackBar;return e==="Error"?o.failedText:o.successText};function Ja(e){const o=P(),{fetchState:l,onRemoveSnackbar:i}=e;_.useEffect(()=>{setTimeout(i,5e3)});const n=k.getLocalizedStrings().companyPassport.snackBar,c=l==="Completed";return a.jsxs(Ya,{windowSize:o,children:[c?a.jsx(Aa,{}):a.jsx(qa,{}),a.jsxs(Ga,{windowSize:o,children:[a.jsx(Za,{isSuccess:c,children:c?n.success:n.error}),a.jsx(Ua,{children:a.jsx(Ha,{children:Xa(l)})})]}),a.jsx(Ka,{onClick:i,children:a.jsx(Ce,{})})]})}const ne={labelWidth:new m(110,145,180),largeLabelWidth:new m(150,215,215),largeLabelDocumentWidth:new m(150,210,252),paddingBottom:new m(p[3],p[2])};function Qa(e){const o=P(),[l,i]=_.useState(!1),{companyPassport:n,commonSetUp:{businessVerification:c},common:{documents:f}}=k.getLocalizedStrings(),{fileProps:d,companyFiles:r,deleteFileStatusById:u,updateFileStatusById:g,sectionId:b,isDisabled:h,companyIncInfo:$,style:I}=e,D=ne.labelWidth.value(o),j=ne.largeLabelWidth.value(o),y=ne.largeLabelDocumentWidth.value(o),{dateFormat:{visual:O},companyPassport:S}=k.getLocalizedStrings(),x=r.find(X=>X.documentType==="certificate_of_incorporation"),B=o==="small"?n.companyIncInfo.stateOfIncPlaceholderSmall:n.companyIncInfo.stateOfIncPlaceholder,me=o==="small"?n.companyIncInfo.typeOfIncPlaceholderSmall:n.companyIncInfo.typeOfIncPlaceholder;return a.jsxs(et,{style:I,children:[a.jsx(tt,{children:n.companyIncInfo.title}),a.jsxs(at,{children:[a.jsx(Ke,{label:{label:S.companyIncInfo.typeOfInc,width:j},isDisabled:h,creatableSingleSelectField:{name:re(b,"typeOfInc"),placeholder:me,defaultValue:{selectedOption:$?.typeOfInc,allOptions:n.companyIncInfo.allTypesOfIncorporation}}}),a.jsx(he,{}),a.jsx(ya,{label:{label:S.companyIncInfo.stateOfInc,width:j},isDisabled:h,singleSelectField:{name:re(b,"stateOfInc"),placeholder:B,defaultValue:{selectedOption:$?.stateOfInc,allOptions:n.companyIncInfo.allStatesOfIncorporation}}}),a.jsx(he,{}),a.jsx(ba,{isDisabled:h,label:{label:n.companyIncInfo.incDate,width:D},style:{paddingBottom:ne.paddingBottom.valuePx(o)},dateField:{name:re(b,"incDate"),placeholder:L(n.companyIncInfo.incDate),defaultValue:$?.incDate,dateFormat:O.defaultInput,maxDate:V.dateNow(),minDate:V.zeniDate("01 Jan 1900"),autoComplete:"off"}}),a.jsx(he,{}),a.jsx(Xe,{name:re(b,"certificateOfIncorporation"),isDisabled:h,sizeLimit:Ue,deleteFileStatusById:u,updateFileStatusById:g,filesEndPoint:d.filesEndPoint,authParams:d.authParams,label:{label:c.certificateOfIncorporation,width:y},filemetadataPayload:{documentType:"certificate_of_incorporation",purposeId:"business_verification",documentSide:"front"},file:x,acceptableTypes:["image/jpg","image/jpeg","image/png","application/pdf","image/heic","image/heif"],registerOptions:{required:!1},hasError:l,updateFilesEntity:d.updateFilesEntity,onEditFileName:d.onEditFileName,onDeleteFile:d.onDeleteFile,onFileSizeError:X=>i(X)}),a.jsx(ot,{windowSize:o,isError:l,children:f.formatDocumentText10MB})]})]})}const re=(e,o)=>`${e}.${o}`,et=s.div`
|
|
51
51
|
display: flex;
|
|
52
52
|
flex-direction: column;
|
|
53
53
|
padding-top: ${t.sp3};
|
|
@@ -59,7 +59,7 @@ import{X as P,u as Ae,a1 as ca,a as da,c3 as pa,M as k,j as a,aV as ma,F as ua,c
|
|
|
59
59
|
border: 1px solid ${e=>e.theme.colors.grey3};
|
|
60
60
|
box-shadow: ${e=>`${t.sp0} 2px ${t.sp1} ${e.theme.colors.dropShadowNormal}`};
|
|
61
61
|
border-radius: ${t.sp2};
|
|
62
|
-
`,tt=s(
|
|
62
|
+
`,tt=s(U)`
|
|
63
63
|
color: ${e=>e.theme.colors.champion};
|
|
64
64
|
margin-bottom: ${t.sp3};
|
|
65
65
|
`,he=s.div`
|
|
@@ -68,7 +68,7 @@ import{X as P,u as Ae,a1 as ca,a as da,c3 as pa,M as k,j as a,aV as ma,F as ua,c
|
|
|
68
68
|
background-color: ${e=>e.theme.colors.grey3};
|
|
69
69
|
min-height: 1px;
|
|
70
70
|
max-height: 1px;
|
|
71
|
-
`,ot=s(
|
|
71
|
+
`,ot=s(Ze)`
|
|
72
72
|
padding: ${t.sp1} ${t.sp4};
|
|
73
73
|
background: ${e=>e.theme.colors.grey4};
|
|
74
74
|
border-radius: ${t.sp0} ${t.sp0} ${t.sp2} ${t.sp2};
|
|
@@ -91,17 +91,17 @@ import{X as P,u as Ae,a1 as ca,a as da,c3 as pa,M as k,j as a,aV as ma,F as ua,c
|
|
|
91
91
|
width: fit-content;
|
|
92
92
|
margin-left: auto;
|
|
93
93
|
margin-bottom: ${t.sp2};
|
|
94
|
-
`,nt=e=>{const{labels:o,style:l,listStyleType:i="disc"}=e;return a.jsx(lt,{style:{...l,listStyleType:i},children:o.filter(n=>n!=null&&n.text!="").map((n,c)=>a.jsxs(it,{isCancelled:n.status==="cancelled",children:[n.text,n.subText!=null?a.jsxs(st,{children:["Started: ",n.subText]}):null]},`${n.text}_${c}`))})},
|
|
94
|
+
`,nt=e=>{const{labels:o,style:l,listStyleType:i="disc"}=e;return a.jsx(lt,{style:{...l,listStyleType:i},children:o.filter(n=>n!=null&&n.text!="").map((n,c)=>a.jsxs(it,{isCancelled:n.status==="cancelled",children:[n.text,n.subText!=null?a.jsxs(st,{children:["Started: ",n.subText]}):null]},`${n.text}_${c}`))})},K={width:new m(343,580,726),paddingTopBottom:new m(p[3],p[3]),marginRight:new m(p[2],p[2]),labelMarginLeft:new m(p[3],p[4]),labelMarginRight:new m(p[3],p[4])};function pe({isDisabled:e,label:o,bullettedLabels:l,style:i}){const n=P();return l.labels.length>0?a.jsxs(rt,{size:n,style:i,children:[a.jsx(Fe,{isDisabled:e,label:o.label,style:{marginLeft:K.labelMarginLeft.value(n),marginRight:K.labelMarginRight.value(n),width:o.width??"auto"}}),a.jsx(nt,{...l,style:{maxWidth:o.width!=null?`calc(100% - ${o.width}px)`:"auto"}})]}):null}const rt=s.div`
|
|
95
95
|
display: flex;
|
|
96
96
|
flex-direction: row;
|
|
97
97
|
align-items: flex-start;
|
|
98
98
|
justify-content: space-between;
|
|
99
99
|
background-color: ${e=>e.theme.colors.grey5};
|
|
100
|
-
width: ${e=>
|
|
100
|
+
width: ${e=>K.width.valuePx(e.size)};
|
|
101
101
|
height: auto;
|
|
102
|
-
padding-right: ${e=>
|
|
103
|
-
padding-top: ${e=>
|
|
104
|
-
padding-bottom: ${e=>
|
|
102
|
+
padding-right: ${e=>K.marginRight.valuePx(e.size)};
|
|
103
|
+
padding-top: ${e=>K.paddingTopBottom.valuePx(e.size)};
|
|
104
|
+
padding-bottom: ${e=>K.paddingTopBottom.valuePx(e.size)};
|
|
105
105
|
|
|
106
106
|
:first-of-type {
|
|
107
107
|
border-top-left-radius: inherit;
|
|
@@ -112,7 +112,7 @@ import{X as P,u as Ae,a1 as ca,a as da,c3 as pa,M as k,j as a,aV as ma,F as ua,c
|
|
|
112
112
|
border-bottom-left-radius: inherit;
|
|
113
113
|
border-bottom-right-radius: inherit;
|
|
114
114
|
}
|
|
115
|
-
`,fe={labelWidth:new m(110,110,140),mediumLabelWidth:new m(140,140,160),largeLabelWidth:new m(170,170,180)},{companyPassport:v,dateFormat:{analytics:Ee}}=k.getLocalizedStrings();function ct({companyViewData:e,allIndustries:o,companyInfo:l,companyAddress:i,sectionId:n,isDisabled:c,onCompanyAddressClick:f,style:d}){const r=P(),u=e.company.company.companyInfo,
|
|
115
|
+
`,fe={labelWidth:new m(110,110,140),mediumLabelWidth:new m(140,140,160),largeLabelWidth:new m(170,170,180)},{companyPassport:v,dateFormat:{analytics:Ee}}=k.getLocalizedStrings();function ct({companyViewData:e,allIndustries:o,companyInfo:l,companyAddress:i,sectionId:n,isDisabled:c,onCompanyAddressClick:f,style:d}){const r=P(),u=e.company.company.companyInfo,g=fe.labelWidth.value(r),b=fe.mediumLabelWidth.value(r),h=fe.largeLabelWidth.value(r),$=r==="small"?v.companyInfo.businessModelPlaceholderSmall:v.companyInfo.businessModelPlaceholder,I=D=>o.find(j=>j.code===D)?.name??D;return a.jsxs(pt,{style:d,children:[a.jsx(ut,{children:v.companyInfo.title}),a.jsxs(mt,{children:[a.jsx(z,{isDisabled:c,label:{label:v.companyInfo.companyName,width:h},text:{type:"text",name:G(n,"companyName"),placeholder:L(v.companyInfo.companyName),defaultValue:l?.companyName,autoComplete:"new-password",options:{required:!!u.name,pattern:ze}}}),a.jsx(q,{}),a.jsx(z,{isDisabled:c,label:{label:v.companyInfo.legalName,width:b},text:{type:"text",name:G(n,"legalName"),placeholder:L(v.companyInfo.legalName),defaultValue:l?.legalName,autoComplete:"new-password",options:{required:!!u.companyLegalName,pattern:ze}}}),a.jsx(q,{}),a.jsx(z,{isDisabled:c,label:{label:v.companyInfo.website,width:g},text:{type:"url",name:G(n,"website"),placeholder:L(v.companyInfo.website),defaultValue:l?.website?.toString()??"",autoComplete:"new-password"}}),a.jsx(q,{}),a.jsx(ga,{label:{label:v.companyInfo.industry,width:g},singleSelectField:{singleSelect:{name:G(n,"industry"),placeholder:v.companyInfo.industryPlaceholder,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:I,isDisabled:c,showTickMark:!1},defaultValue:{selectedOption:l?.industry,allOptions:o?.map(D=>D.code)??[]}},isFunctional:!0}),a.jsx(q,{}),a.jsx(Ke,{isDisabled:c,label:{label:v.companyInfo.businessModel,width:h},creatableSingleSelectField:{name:G(n,"businessModel"),placeholder:$,defaultValue:{selectedOption:l?.businessModel,allOptions:v.companyInfo.allBusinessModels}}}),a.jsx(q,{}),a.jsx(Je,{isDisabled:c,label:{label:v.companyInfo.address,width:g},addressValue:{placeholder:L(v.companyInfo.address),address:i?.addressToCreate,onClick:()=>f("company_address")}}),a.jsx(q,{}),a.jsx(qe,{isDisabled:c,label:{label:v.companyInfo.phone,width:g},text:{name:G(n,"phone"),placeholder:L(v.companyInfo.phone),defaultValue:l?.phone,autoComplete:"new-password"}}),a.jsx(q,{}),a.jsx(pe,{label:{label:v.companyInfo.fiscalYear,width:g},bullettedLabels:{labels:[{text:dt(l?.firstMonthOfFY??1)}],listStyleType:"none"}})]})]})}const dt=e=>{const{fiscalYearMonths:o}=V.getFYMonths(e);return`${V.dateNow().month(o[0]-1).format(Ee.MMMFormat)} to ${V.dateNow().month(o[11]-1).format(Ee.MMMFormat)}`},G=(e,o)=>`${e}.${o}`,pt=s.div`
|
|
116
116
|
display: flex;
|
|
117
117
|
flex-direction: column;
|
|
118
118
|
padding-top: ${t.sp3};
|
|
@@ -124,16 +124,16 @@ import{X as P,u as Ae,a1 as ca,a as da,c3 as pa,M as k,j as a,aV as ma,F as ua,c
|
|
|
124
124
|
border: 1px solid ${e=>e.theme.colors.grey3};
|
|
125
125
|
box-shadow: ${e=>`${t.sp0} 2px ${t.sp1} ${e.theme.colors.dropShadowNormal}`};
|
|
126
126
|
border-radius: ${t.sp2};
|
|
127
|
-
`,ut=s(
|
|
127
|
+
`,ut=s(U)`
|
|
128
128
|
color: ${e=>e.theme.colors.champion};
|
|
129
129
|
margin-bottom: ${t.sp3};
|
|
130
|
-
`,
|
|
130
|
+
`,q=s.div`
|
|
131
131
|
display: flex;
|
|
132
132
|
flex: 1;
|
|
133
133
|
background-color: ${e=>e.theme.colors.grey3};
|
|
134
134
|
min-height: 1px;
|
|
135
135
|
max-height: 1px;
|
|
136
|
-
`,be={labelWidth:new m(110,110,140),buttonWidth:new m(70,70)};function ht({sectionId:e,isDisabled:o,style:l,officer:i,officerAddress:n,isEmptyCompanyOfficerSection:c,onOfficerAddressClick:f}){const d=P(),r=k.getLocalizedStrings().companyPassport,u=be.labelWidth.value(d),
|
|
136
|
+
`,be={labelWidth:new m(110,110,140),buttonWidth:new m(70,70)};function ht({sectionId:e,isDisabled:o,style:l,officer:i,officerAddress:n,isEmptyCompanyOfficerSection:c,onOfficerAddressClick:f}){const d=P(),r=k.getLocalizedStrings().companyPassport,u=be.labelWidth.value(d),g=c&&(i==null||!i.firstName&&!i.lastName&&!i.phone&&!i.email&&!n),b=i?.userId==null||i?.userId==="";return a.jsxs(bt,{style:l,children:[a.jsx(He,{isDisabled:o,label:{label:r.companyOfficer.name,width:u},nameField:{name:xe(e,"name"),placeHolder:{firstName:r.companyOfficer.firstNamePlaceholder,lastName:r.companyOfficer.lastNamePlaceholder,name:r.companyOfficer.namePlaceholder},defaultValue:{firstName:i?.firstName??"",lastName:i?.lastName??""},autoComplete:"new-password",registerOptions:{required:g!==!0},showFullNameError:!0}}),a.jsx(ge,{}),a.jsx(z,{isDisabled:b?o:"readonly",label:{label:r.companyOfficer.email,width:u},text:{type:"email",name:xe(e,"email"),placeholder:L(r.companyOfficer.email),options:{required:g===!0?!1:b},defaultValue:i?.email,autoComplete:"new-password"}}),a.jsx(ge,{}),a.jsx(Je,{isDisabled:o,label:{label:r.companyInfo.address,width:u},addressValue:{placeholder:L(r.companyOfficer.address),address:n?.addressToCreate,onClick:()=>{f(i?.officerType.toLocaleLowerCase().concat("_address"))}}}),a.jsx(ge,{}),a.jsx(qe,{isDisabled:o,label:{label:r.companyOfficer.phone,width:u},text:{name:xe(e,"phone"),placeholder:L(r.companyOfficer.phone),defaultValue:i?.phone,autoComplete:"new-password"}})]})}function ft({companyOfficers:e,sectionId:o,style:l,isDisabled:i,onOfficerAddressClick:n}){const{setValue:c,getValues:f}=Ge(),[d,r]=_.useState(-1),u=k.getLocalizedStrings().companyPassport,g=e.length,b=e.length===1&&e[0].localData?.userId==null,h=f(o),$=()=>{const y={userId:void 0,officerType:`Officer_${g+1}`,name:{firstName:"",lastName:""},email:"",phone:""};c(o,[...h,y])},I=y=>{if(e[y].localData==null||!e[y].localData?.firstName&&!e[y].localData?.lastName&&!e[y].localData?.phone&&!e[y].localData?.email&&!e[y].addressStatus?.addressToCreate){const O=h.filter((S,x)=>x!==d);c(o,O),r(-1)}else r(y)},D=()=>{r(-1)},j=()=>{const y=h.filter((O,S)=>S!==d);c(o,y),r(-1)};return a.jsxs(yt,{style:l,children:[a.jsx($t,{children:u.companyOfficer.title}),e.map((y,O)=>{const S=y.localData,x=y.addressStatus,B=S?.userId==null||S?.userId==="";return a.jsxs(wt,{children:[(g>1||B)&&!b?a.jsx(xt,{curIndex:O,isNewUser:B,numberOfOfficers:g,deleteConfirmationIndex:d,isDisabled:i,onDeleteClick:I,onCancelClick:D,onRemoveOfficerSection:j}):null,a.jsx(ht,{sectionId:`${o}.${O}`,officer:S,officerAddress:x,isDisabled:i,isEmptyCompanyOfficerSection:b,onOfficerAddressClick:n})]},S?.officerType)}),g<=9&&!b?a.jsx(gt,{isSectionDisabled:i,onAddOfficerSection:$}):a.jsx($e,{})]})}const xt=({curIndex:e,isNewUser:o,numberOfOfficers:l,deleteConfirmationIndex:i,isDisabled:n,onDeleteClick:c,onCancelClick:f,onRemoveOfficerSection:d})=>{const r=P(),u=k.getLocalizedStrings().companyPassport;return a.jsxs(It,{children:[a.jsx(jt,{children:l>1?`${u.companyOfficer.officer} ${e+1}`:""}),o&&n==null?i===e?a.jsx(Ct,{children:a.jsxs(Ft,{children:[u.companyOfficer.deleteConfirmation,a.jsx(Me,{label:u.cancel,onClick:f,style:{width:be.buttonWidth.value(r),marginLeft:t.sp4,marginRight:t.sp3},size:"small",variant:"secondary"}),a.jsx(Me,{label:u.remove,onClick:d,style:{width:be.buttonWidth.value(r)},size:"small",variant:"danger"})]})}):a.jsx(Ot,{className:"delete-icon-wrapper",onClick:()=>c(e),children:a.jsx(Fa,{width:p[3],height:p[3],color:N.important})}):null]})},gt=({isSectionDisabled:e,onAddOfficerSection:o})=>{const l=k.getLocalizedStrings().companyPassport;return e!=null?a.jsx($e,{}):a.jsxs(a.Fragment,{children:[a.jsxs(vt,{onClick:o,children:[a.jsx(St,{}),a.jsx(Dt,{children:l.companyOfficer.addOfficer})]}),a.jsx($e,{})]})},xe=(e,o)=>`${e}.${o}`,yt=s.div`
|
|
137
137
|
display: flex;
|
|
138
138
|
flex-direction: column;
|
|
139
139
|
padding-top: ${t.sp3};
|
|
@@ -148,7 +148,7 @@ import{X as P,u as Ae,a1 as ca,a as da,c3 as pa,M as k,j as a,aV as ma,F as ua,c
|
|
|
148
148
|
margin-bottom: ${t.sp4};
|
|
149
149
|
`,$e=s.div`
|
|
150
150
|
padding-bottom: ${t.sp6};
|
|
151
|
-
`,$t=s(
|
|
151
|
+
`,$t=s(U)`
|
|
152
152
|
color: ${e=>e.theme.colors.champion};
|
|
153
153
|
margin-bottom: ${t.sp4};
|
|
154
154
|
`,wt=s.div`
|
|
@@ -157,7 +157,7 @@ import{X as P,u as Ae,a1 as ca,a as da,c3 as pa,M as k,j as a,aV as ma,F as ua,c
|
|
|
157
157
|
display: flex;
|
|
158
158
|
}
|
|
159
159
|
}
|
|
160
|
-
`,It=s(
|
|
160
|
+
`,It=s(U)`
|
|
161
161
|
display: flex;
|
|
162
162
|
align-items: center;
|
|
163
163
|
justify-content: space-between;
|
|
@@ -188,12 +188,12 @@ import{X as P,u as Ae,a1 as ca,a as da,c3 as pa,M as k,j as a,aV as ma,F as ua,c
|
|
|
188
188
|
color: ${e=>e.theme.colors.primary};
|
|
189
189
|
border: 1px solid ${e=>e.theme.colors.primary};
|
|
190
190
|
}
|
|
191
|
-
`,
|
|
191
|
+
`,St=s(La)`
|
|
192
192
|
margin-right: ${t.sp2};
|
|
193
193
|
width: ${t.sp4};
|
|
194
194
|
height: ${t.sp4};
|
|
195
195
|
color: ${e=>e.theme.colors.grey1};
|
|
196
|
-
`,
|
|
196
|
+
`,Dt=s(za)`
|
|
197
197
|
color: inherit;
|
|
198
198
|
`,Ot=s.div`
|
|
199
199
|
width: ${t.sp4};
|
|
@@ -203,13 +203,13 @@ import{X as P,u as Ae,a1 as ca,a as da,c3 as pa,M as k,j as a,aV as ma,F as ua,c
|
|
|
203
203
|
display: flex;
|
|
204
204
|
`,Ft=s(ae)`
|
|
205
205
|
color: ${e=>e.theme.colors.hero};
|
|
206
|
-
`,
|
|
206
|
+
`,ge=s.div`
|
|
207
207
|
display: flex;
|
|
208
208
|
flex: 1;
|
|
209
209
|
background-color: ${e=>e.theme.colors.grey3};
|
|
210
210
|
min-height: 1px;
|
|
211
211
|
max-height: 1px;
|
|
212
|
-
`,kt=({name:e,registerOptions:o,defaultValue:l,isDisabled:i,style:n,placeholder:c})=>{const{control:f,formState:{errors:d}}=
|
|
212
|
+
`,kt=({name:e,registerOptions:o,defaultValue:l,isDisabled:i,style:n,placeholder:c})=>{const{control:f,formState:{errors:d}}=Ge(),r=Ae(),u=Ta(d,e??""),g={container:h=>({...h,width:"100%",...n}),menu:h=>({...h,backgroundColor:r.colors.grey5,borderRadius:t.sp1,boxShadow:`${t.sp0} 2px ${t.sp2} ${r.colors.dropShadowHover}`,whiteSpace:"nowrap",zIndex:2,width:"100%",margin:0}),menuList:h=>({...h,borderRadius:0})},b={hasError:u};return a.jsx(Na,{name:e,control:f,defaultValue:l,rules:o,render:({field:{onChange:h,onBlur:$,value:I,ref:D}})=>a.jsx(Pa,{...b,ref:D,isMulti:!0,isSearchable:!0,isClearable:!0,controlShouldRenderValue:!0,placeholder:c,value:Ve(I.selectedOptions),options:Ve(I.allOptions),onChange:j=>{h({selectedOptions:j.map(y=>y.value),allOptions:I.allOptions})},tabSelectsValue:!1,openMenuOnFocus:!0,classNamePrefix:"multi-select-field",onBlur:$,menuPlacement:"auto",maxMenuHeight:288,menuShouldScrollIntoView:!1,closeMenuOnSelect:!1,components:{Control:Tt,Option:Bt,Input:Pt,MultiValue:Lt,MultiValueLabel:zt,MultiValueRemove:Mt,ValueContainer:Nt,DropdownIndicator:Gt,IndicatorSeparator:Zt,Placeholder:Vt,ClearIndicator:Et},hideSelectedOptions:!1,styles:g,isDisabled:i!=null})})},Tt=e=>{const{menuIsOpen:o,isFocused:l,isDisabled:i,selectProps:n}=e,{value:c,hasError:f}=n;return a.jsx(Wt,{menuIsOpen:o,isFocused:l,isDisabled:i,optionsLen:c.length,hasError:f,children:a.jsx(R.Control,{...e,className:"select-control",children:e.children})})},Nt=e=>{const{selectProps:o}=e,{value:l}=o;return a.jsxs(R.ValueContainer,{...e,className:"select-value-container",children:[e.children,a.jsx(_t,{className:"selected-options",children:l.map(i=>i.value).join(", ")})]})},Pt=e=>{const{selectProps:o}=e,{placeholder:l,value:i}=o;return a.jsx(R.Input,{...e,autoComplete:"new-password",placeholder:i.length===0?l:void 0,children:e.children})},Lt=e=>a.jsx(R.MultiValue,{...e,children:e.children}),zt=e=>{const{data:o}=e;return a.jsx(R.MultiValueLabel,{...e,children:o.value})},Mt=e=>a.jsx(R.MultiValueRemove,{...e,children:a.jsx(ea,{style:{marginTop:"2px"}})}),Et=e=>a.jsx(R.ClearIndicator,{...e,children:a.jsx(ea,{})}),Vt=()=>null,Bt=e=>{const{isSelected:o,isDisabled:l,isFocused:i}=e;return a.jsx(Rt,{isFocused:i,isSelected:o,isDisabled:l,children:a.jsx(R.Option,{...e,className:"select-option",children:a.jsxs(Yt,{children:[a.jsx(qt,{children:a.jsx(At,{isSelected:o,isDisabled:l,children:e.label})}),o?a.jsxs(Ut,{children:[a.jsx(Ht,{className:"right-tick-icon"}),a.jsx(Ce,{className:"close-tick-icon"})]}):null]})})})},Wt=s.div`
|
|
213
213
|
width: 100%;
|
|
214
214
|
background-color: ${e=>e.theme.colors.grey5};
|
|
215
215
|
cursor: ${e=>e.isDisabled?"not-allowed":"pointer"};
|
|
@@ -375,11 +375,11 @@ import{X as P,u as Ae,a1 as ca,a as da,c3 as pa,M as k,j as a,aV as ma,F as ua,c
|
|
|
375
375
|
text-overflow: ellipsis;
|
|
376
376
|
white-space: nowrap;
|
|
377
377
|
cursor: ${e=>e.isDisabled?"not-allowed":e.isSelected?"default":"pointer"};
|
|
378
|
-
`,
|
|
378
|
+
`,qt=s.div`
|
|
379
379
|
width: 100%;
|
|
380
380
|
display: flex;
|
|
381
381
|
align-items: center;
|
|
382
|
-
`,
|
|
382
|
+
`,Ut=s.div`
|
|
383
383
|
display: flex;
|
|
384
384
|
`,Ht=s(Ba)`
|
|
385
385
|
width: 12px;
|
|
@@ -390,7 +390,7 @@ import{X as P,u as Ae,a1 as ca,a as da,c3 as pa,M as k,j as a,aV as ma,F as ua,c
|
|
|
390
390
|
width: ${t.sp3};
|
|
391
391
|
height: ${t.sp3};
|
|
392
392
|
color: ${e=>e.theme.colors.primary};
|
|
393
|
-
`,
|
|
393
|
+
`,Gt=()=>null,Zt=()=>null,Ve=e=>e.map(o=>Kt(o)),Kt=e=>({value:e,label:e}),M={width:new m(343,580,726),height:new m(p[6],p[6]),controlHeight:new m(p[6],p[6]),paddingTopBottom:new m(p[2],p[2]),marginRight:new m(p[2],p[2]),labelMarginLeft:new m(p[3],p[4]),labelMarginRight:new m(p[3],p[4]),labelMarginTop:new m(p[2],p[2])};function Xt({isDisabled:e,label:o,multiSelectField:l,style:i}){const n=P();return a.jsxs(Jt,{size:n,style:i,isDisabled:e!=null,children:[a.jsx(Fe,{isDisabled:e,label:o.label,htmlFor:l.name,style:{marginLeft:M.labelMarginLeft.value(n),marginRight:M.labelMarginRight.value(n),marginTop:M.labelMarginTop.value(n),width:o.width??"auto"}}),a.jsx(kt,{...l,isDisabled:e,style:{display:"flex",flexGrow:1,maxWidth:o.width!=null?`calc(100% - ${o.width}px)`:"auto",minHeight:M.controlHeight.value(n)}})]})}const Jt=s.div`
|
|
394
394
|
display: flex;
|
|
395
395
|
flex-direction: row;
|
|
396
396
|
align-items: flex-start;
|
|
@@ -436,7 +436,7 @@ import{X as P,u as Ae,a1 as ca,a as da,c3 as pa,M as k,j as a,aV as ma,F as ua,c
|
|
|
436
436
|
background-color: ${e=>e.isDisabled?e.theme.colors.grey5:e.theme.colors.background};
|
|
437
437
|
}
|
|
438
438
|
}
|
|
439
|
-
`,Be={labelWidth:new m(160,160,160),largeLabelWidth:new m(150,215,215)};function Qt(e){const o=P(),l=$a(),[i,n]=_.useState(!1),{companyPassport:c,commonSetUp:{businessVerification:f},common:{documents:d}}=k.getLocalizedStrings(),{fileProps:r,companyFiles:u,deleteFileStatusById:
|
|
439
|
+
`,Be={labelWidth:new m(160,160,160),largeLabelWidth:new m(150,215,215)};function Qt(e){const o=P(),l=$a(),[i,n]=_.useState(!1),{companyPassport:c,commonSetUp:{businessVerification:f},common:{documents:d}}=k.getLocalizedStrings(),{fileProps:r,companyFiles:u,deleteFileStatusById:g,updateFileStatusById:b,sectionId:h,isDisabled:$,companyTaxInfo:I,style:D}=e,j=Be.labelWidth.value(o),y=Be.largeLabelWidth.value(o),O=!V.hasAdminLevelAccess(l.loggedInUserRole??[]),S=u.find(x=>x.documentType==="tax_ein");return a.jsxs(eo,{style:D,children:[a.jsx(to,{children:c.companyTaxInfo.title}),a.jsxs(ao,{children:[a.jsx(z,{isDisabled:$,label:{label:c.companyTaxInfo.taxIdOrEIN,width:j},text:{type:"text",name:Z(h,"taxIdOrEIN"),placeholder:c.companyTaxInfo.taxIdOrEINPlaceholder,defaultValue:O===!0?c.protectedContent:I?.taxIdOrEIN,options:{pattern:wa},autoComplete:"new-password"},protectedInfoText:O===!0?c.companyTaxInfo.adminPrivilegeRequired:void 0}),a.jsx(ee,{}),a.jsx(z,{isDisabled:$,label:{label:c.companyTaxInfo.dunsNumber,width:j},text:{type:"text",name:Z(h,"dunsNumber"),placeholder:c.companyTaxInfo.dunsNumberPlaceholder,defaultValue:I?.dunsNumber,options:{pattern:/^\d{9}$/},autoComplete:"new-password"}}),a.jsx(ee,{}),a.jsx(z,{isDisabled:$,label:{label:c.companyTaxInfo.naicsCode,width:j},text:{type:"text",name:Z(h,"naicsCode"),placeholder:c.companyTaxInfo.naicsCodePlaceholder,defaultValue:I?.naicsCode,options:{pattern:/^([2-9]{1}[0-9]{1}|[1-9]{1}[1-9]{1})\d{0,4}$/},autoComplete:"new-password"}}),a.jsx(ee,{}),a.jsx(z,{isDisabled:$,label:{label:c.companyTaxInfo.sicCode,width:j},text:{type:"text",name:Z(h,"sicCode"),placeholder:c.companyTaxInfo.sicCodePlaceholder,defaultValue:I?.sicCode,options:{pattern:/^\d{2,4}$/},autoComplete:"new-password"}}),a.jsx(ee,{}),a.jsx(Xt,{isDisabled:$,label:{label:c.companyTaxInfo.taxesFiledYears,width:j},multiSelectField:{name:Z(h,"taxesFiledYears"),placeholder:c.companyTaxInfo.taxesFiledYearsPlaceholder,defaultValue:{selectedOptions:I?.taxesFiledYears.map(x=>x.toString())??[],allOptions:V.getYearsList().map(x=>x.toString())}}}),a.jsx(ee,{}),a.jsx(Xe,{name:Z(h,"einDocument"),isDisabled:$,sizeLimit:Ue,deleteFileStatusById:g,updateFileStatusById:b,filesEndPoint:r.filesEndPoint,authParams:r.authParams,label:{label:f.einDocument,width:y},filemetadataPayload:{documentType:"tax_ein",purposeId:"business_verification",documentSide:"front"},file:S,acceptableTypes:["image/jpg","image/jpeg","image/png","application/pdf","image/heic","image/heif"],registerOptions:{required:!1},hasError:i,updateFilesEntity:r.updateFilesEntity,onEditFileName:r.onEditFileName,onDeleteFile:r.onDeleteFile,onFileSizeError:x=>n(x)}),a.jsx(oo,{windowSize:o,isError:i,children:d.formatDocumentText10MB})]})]})}const Z=(e,o)=>`${e}.${o}`,eo=s.div`
|
|
440
440
|
display: flex;
|
|
441
441
|
flex-direction: column;
|
|
442
442
|
padding-top: ${t.sp3};
|
|
@@ -448,7 +448,7 @@ import{X as P,u as Ae,a1 as ca,a as da,c3 as pa,M as k,j as a,aV as ma,F as ua,c
|
|
|
448
448
|
border: 1px solid ${e=>e.theme.colors.grey3};
|
|
449
449
|
box-shadow: ${e=>`${t.sp0} 2px ${t.sp1} ${e.theme.colors.dropShadowNormal}`};
|
|
450
450
|
border-radius: ${t.sp2};
|
|
451
|
-
`,to=s(
|
|
451
|
+
`,to=s(U)`
|
|
452
452
|
color: ${e=>e.theme.colors.champion};
|
|
453
453
|
margin-bottom: ${t.sp3};
|
|
454
454
|
`,ee=s.div`
|
|
@@ -457,7 +457,7 @@ import{X as P,u as Ae,a1 as ca,a as da,c3 as pa,M as k,j as a,aV as ma,F as ua,c
|
|
|
457
457
|
background-color: ${e=>e.theme.colors.grey3};
|
|
458
458
|
min-height: 1px;
|
|
459
459
|
max-height: 1px;
|
|
460
|
-
`,oo=s(
|
|
460
|
+
`,oo=s(Ze)`
|
|
461
461
|
padding: ${t.sp1} ${t.sp4};
|
|
462
462
|
background: ${e=>e.theme.colors.grey4};
|
|
463
463
|
border-radius: ${t.sp0} ${t.sp0} ${t.sp2} ${t.sp2};
|
|
@@ -475,7 +475,7 @@ import{X as P,u as Ae,a1 as ca,a as da,c3 as pa,M as k,j as a,aV as ma,F as ua,c
|
|
|
475
475
|
border: 1px solid ${e=>e.theme.colors.grey3};
|
|
476
476
|
box-shadow: ${e=>`${t.sp0} 2px ${t.sp1} ${e.theme.colors.dropShadowNormal}`};
|
|
477
477
|
border-radius: ${t.sp2};
|
|
478
|
-
`,ro=s(
|
|
478
|
+
`,ro=s(U)`
|
|
479
479
|
color: ${e=>e.theme.colors.champion};
|
|
480
480
|
margin-bottom: ${t.sp3};
|
|
481
481
|
`,co=s.div`
|
|
@@ -509,7 +509,7 @@ import{X as P,u as Ae,a1 as ca,a as da,c3 as pa,M as k,j as a,aV as ma,F as ua,c
|
|
|
509
509
|
justify-content: flex-end;
|
|
510
510
|
display: flex;
|
|
511
511
|
padding: 0 ${t.sp3};
|
|
512
|
-
`,xo=e=>{const{users:o,style:l}=e;return a.jsx(fo,{style:l,children:o.length!==0?o.filter(i=>!!i.firstName||!!i.lastName).map(i=>a.jsxs(po,{children:[a.jsx(ho,{children:`${i.firstName} ${i.lastName}`}),a.jsx(Va,{name:`${i.firstName} ${i.lastName}`,size:t.sp4})]},i.userId)):a.jsx(uo,{})})},E={width:new m(343,580,726),height:new m(p[6],p[6]),controlHeight:new m(p[6],p[6]),paddingTopBottom:new m(p[2],p[2]),marginRight:new m(p[2],p[2]),labelMarginLeft:new m(p[3],p[4]),labelMarginRight:new m(p[3],p[4]),labelMarginTop:new m(p[2],p[2])};function
|
|
512
|
+
`,xo=e=>{const{users:o,style:l}=e;return a.jsx(fo,{style:l,children:o.length!==0?o.filter(i=>!!i.firstName||!!i.lastName).map(i=>a.jsxs(po,{children:[a.jsx(ho,{children:`${i.firstName} ${i.lastName}`}),a.jsx(Va,{name:`${i.firstName} ${i.lastName}`,size:t.sp4})]},i.userId)):a.jsx(uo,{})})},E={width:new m(343,580,726),height:new m(p[6],p[6]),controlHeight:new m(p[6],p[6]),paddingTopBottom:new m(p[2],p[2]),marginRight:new m(p[2],p[2]),labelMarginLeft:new m(p[3],p[4]),labelMarginRight:new m(p[3],p[4]),labelMarginTop:new m(p[2],p[2])};function go({isDisabled:e,label:o,avatarLabels:l,style:i}){const n=P();return a.jsxs(bo,{size:n,style:i,children:[a.jsx(Fe,{isDisabled:e,label:o.label,style:{marginLeft:E.labelMarginLeft.value(n),marginRight:E.labelMarginRight.value(n),marginTop:E.labelMarginTop.value(n),width:o.width??"auto"}}),a.jsx(xo,{users:l.users,style:{minHeight:E.controlHeight.value(n),display:"flex",flexGrow:1,flexFlow:"row wrap",maxWidth:o.width!=null?`calc(100% - ${o.width}px)`:"auto",...l.style}})]})}const yo=Wa.memo(go,ka),bo=s.div`
|
|
513
513
|
display: flex;
|
|
514
514
|
flex-direction: row;
|
|
515
515
|
align-items: flex-start;
|
|
@@ -529,7 +529,7 @@ import{X as P,u as Ae,a1 as ca,a as da,c3 as pa,M as k,j as a,aV as ma,F as ua,c
|
|
|
529
529
|
border-bottom-left-radius: inherit;
|
|
530
530
|
border-bottom-right-radius: inherit;
|
|
531
531
|
}
|
|
532
|
-
`,
|
|
532
|
+
`,ye={labelWidth:new m(100,100,140),mediumLabelWidth:new m(140,150,160),largeLabelWidth:new m(160,180,180)};function $o({data:e,companyInfo:o,sectionId:l,isDisabled:i,isZeniUser:n,onScheduleClick:c}){const f=P(),{companyPassport:d,dateFormat:{visual:r}}=k.getLocalizedStrings(),u=ye.labelWidth.value(f),g=ye.mediumLabelWidth.value(f),b=ye.largeLabelWidth.value(f),h=e.company.company,{controllers:$,subscriptions:I}=e,{managementInfo:D}=h,j=f==="small"?d.zeniFinanceTeam.scheduleCallPlaceholderSmall:d.zeniFinanceTeam.scheduleCallPlaceholder,y=I.filter(x=>x.plan?.plan.name!=null).map(x=>({text:x.plan?.plan.name,subText:x.subscription.subscription.startDate.format(r.MMMDCommaYYYYformat)})),O=Ia(I.map(x=>x.addOns.map(B=>({text:B.addOn.name,subText:x.subscription.subscription.startDate.format(r.MMMDCommaYYYYformat)})))),S=D.receiverEmails.map(x=>({text:x}));return a.jsxs(Io,{children:[a.jsx(vo,{children:d.zeniFinanceTeam.title}),a.jsxs(jo,{children:[a.jsx(yo,{label:{label:d.zeniFinanceTeam.controller,width:g},avatarLabels:{users:$.map(x=>x.user)}}),a.jsx(ce,{}),n===!0?a.jsx(z,{isDisabled:i,label:{label:d.zeniFinanceTeam.scheduleCall,width:g},text:{type:"text",name:wo(l,"meetingLink"),placeholder:j,defaultValue:o?.meetingLink?.toString()??"",autoComplete:"new-password",options:{pattern:ja}}}):o?.meetingLink!=null?a.jsx(va,{label:{label:d.zeniFinanceTeam.scheduleCall,width:g},button:{buttonTitle:d.zeniFinanceTeam.schedule,onClick:()=>c(o.meetingLink)}}):null,S.length>0?a.jsxs(a.Fragment,{children:[a.jsx(ce,{}),a.jsx(pe,{label:{label:d.zeniFinanceTeam.emailUs,width:u},bullettedLabels:{labels:S,listStyleType:"none"}})]}):null,y.length>0?a.jsxs(a.Fragment,{children:[a.jsx(ce,{}),a.jsx(pe,{label:{label:d.zeniFinanceTeam.subscriptionPlans,width:b},bullettedLabels:{labels:y,listStyleType:"none"}})]}):null,O.length>0?a.jsxs(a.Fragment,{children:[a.jsx(ce,{}),a.jsx(pe,{label:{label:d.zeniFinanceTeam.addons,width:g},bullettedLabels:{labels:O,listStyleType:"none"}})]}):null]})]})}const wo=(e,o)=>`${e}.${o}`,Io=s.div`
|
|
533
533
|
display: flex;
|
|
534
534
|
flex-direction: column;
|
|
535
535
|
padding-top: ${t.sp3};
|
|
@@ -541,7 +541,7 @@ import{X as P,u as Ae,a1 as ca,a as da,c3 as pa,M as k,j as a,aV as ma,F as ua,c
|
|
|
541
541
|
border: 1px solid ${e=>e.theme.colors.grey3};
|
|
542
542
|
box-shadow: ${e=>`${t.sp0} 2px ${t.sp1} ${e.theme.colors.dropShadowNormal}`};
|
|
543
543
|
border-radius: ${t.sp2};
|
|
544
|
-
`,vo=s(
|
|
544
|
+
`,vo=s(U)`
|
|
545
545
|
color: ${e=>e.theme.colors.champion};
|
|
546
546
|
margin-bottom: ${t.sp3};
|
|
547
547
|
`,ce=s.div`
|
|
@@ -550,13 +550,13 @@ import{X as P,u as Ae,a1 as ca,a as da,c3 as pa,M as k,j as a,aV as ma,F as ua,c
|
|
|
550
550
|
background-color: ${e=>e.theme.colors.grey3};
|
|
551
551
|
min-height: 1px;
|
|
552
552
|
max-height: 1px;
|
|
553
|
-
`,we={width:new m(343,580,726),buttonWidth:new m(85,85)},_e="companyPassportPage",Ie="companyInfo",je="companyIncInfo",ve="companyTaxInfo",
|
|
553
|
+
`,we={width:new m(343,580,726),buttonWidth:new m(85,85)},_e="companyPassportPage",Ie="companyInfo",je="companyIncInfo",ve="companyTaxInfo",Se="primaryContact",De="companyOfficer",Oe="zeniFinanceTeam";function Wo(e){const o=P(),l=Ae(),{companyPassportView:i,isZeniUser:n,filesEndPoint:c,authParams:f,allIndustries:d,isDisabled:r,isSettings:u=!1,onCompanyDetailsChanged:g,onCompanyOfficerUpdated:b,onNewCompanyOfficerAdded:h,onPrimaryContactDetailsUpdated:$,onNewCompanyOfficerRemoved:I,onSaveAll:D,onAddressClick:j,onScheduleClick:y,onBackClick:O,onResetClick:S,onEditFileName:x,updateFilesEntity:B,onDeleteFile:me,onClickMenuIcon:X}=e,{companyView:J,localData:H,deleteFileStatusById:ke,updateFileStatusById:Te}=i,{companyFiles:te}=H,Ne={authParams:f,filesEndPoint:c,onEditFileName:x,onDeleteFile:me,updateFilesEntity:B},[Q,oe]=_.useState(void 0),{companyDetails:aa,primaryContact:ta,companyOfficerUpdateStatus:oa,updateStatus:Y}=H,{localData:le,addressStatus:la}=aa,Pe=ca(Y.fetchState),ie=Object.values(oa).filter(T=>T.localData!=null),W=da({mode:"all",defaultValues:Ye(H,d)});_.useEffect(()=>()=>{oe(void 0)},[]),_.useEffect(()=>{Pe==="In-Progress"&&(Y.fetchState==="Completed"||Y.fetchState==="Error")&&(W.reset(Ye(H,d)),Q!==Y.fetchState&&oe(Y.fetchState))},[Q,W,Pe,Y,H,J,d,te]);const ia=async(T,w)=>{if(T.includes(Ie)||T.includes(je)||T.includes(ve)||T.includes(Oe)){const{companyInfo:C,companyIncInfo:F,companyTaxInfo:A,zeniFinanceTeam:ue}=w;g({companyInfo:C,incInfo:F,taxDetails:A,zeniFinanceTeam:ue})}else if(T.includes(Se)){$(w.primaryContact);const C=w.companyOfficer.map(F=>F.userId);if(w.primaryContact.userId!=null&&C.includes(w.primaryContact.userId)){const F=C.findIndex(A=>A===w.primaryContact.userId);F>=0&&b({...w.companyOfficer[F],name:w.primaryContact.name,officerType:`Officer_${F+1}`})}}else if(T.includes(De)){const C=parseInt(T.split(".")[1]);if(C>=0)b({...w.companyOfficer[C],officerType:`Officer_${C+1}`}),w.companyOfficer[C].userId!=null&&w.companyOfficer[C].userId===w.primaryContact.userId&&$({...w.primaryContact,name:w.companyOfficer[C].name});else if(w.companyOfficer.length>ie.length){const F=w.companyOfficer[w.companyOfficer.length-1];h(F)}else{const F=w.companyOfficer.filter(A=>A.officerType!=null);if(F.length<ie.length){const A=F.map((ue,ra)=>{const Le={...ue,officerType:`Officer_${ra+1}`};return b(Le),Le});F.length<ie.length&&(I(`Officer_${F.length+1}`),W.reset({companyOfficer:A}))}}}};_.useEffect(()=>{const T=W.watch((w,{name:C})=>{C!=null&&w!=null&&pa(()=>ia(C,w))});return()=>{T.unsubscribe()}});const sa=W.handleSubmit(T=>{Q!=null&&oe(void 0),D()}),{companyPassport:se,common:{settings:na}}=k.getLocalizedStrings();if(J==null)throw new Error("Company View is null");return a.jsxs(So,{children:[a.jsx(ma,{title:se.title,backgroundColor:l.colors.grey4,style:{zIndex:3},onBackClick:O,showBackButton:!u,showMenuIcon:u?o==="medium-compact"||o==="small":!1,source:"CompanyPassportPage",onClickMenuIcon:X}),Q!=null?a.jsx(Ja,{fetchState:Q,onRemoveSnackbar:()=>oe(void 0)}):null,a.jsxs(Do,{children:[a.jsx(Oo,{windowSize:o,children:u?na.infoText.companyDetails:se.quickAccessInfo}),a.jsx(ua,{...W,children:a.jsxs("form",{id:Re(_e),onSubmit:sa,children:[a.jsx(ct,{sectionId:Ie,companyInfo:le?.companyInfo,companyViewData:J,companyAddress:la,isDisabled:r,onCompanyAddressClick:j,allIndustries:d}),a.jsx(Qa,{sectionId:je,updateFileStatusById:Te,deleteFileStatusById:ke,companyFiles:te,companyIncInfo:le?.incInfo,fileProps:Ne,isDisabled:r}),a.jsx(Qt,{sectionId:ve,updateFileStatusById:Te,deleteFileStatusById:ke,companyFiles:te,companyTaxInfo:le?.taxDetails,fileProps:Ne,isDisabled:r}),a.jsx(io,{sectionId:Se,primaryContact:ta.localData,isDisabled:r}),a.jsx(ft,{companyOfficers:ie,sectionId:De,isDisabled:r,onOfficerAddressClick:j}),a.jsx($o,{data:J,companyInfo:le?.companyInfo,isDisabled:r,isZeniUser:n,sectionId:Oe,onScheduleClick:y})]})})]}),ha(W.formState.dirtyFields)||V.isCompanyPassportDataToBeSaved(H,J,te)?a.jsx(fa,{formId:Re(_e),primaryBtn:{label:se.save,isLoading:Y.fetchState==="In-Progress",style:{width:we.buttonWidth.value(o)},isDisabled:e.isDisabled!=null},cancelBtn:{label:se.cancel,style:{width:we.buttonWidth.value(o)},onClick:()=>{W.reset(),S()}}}):null]})}const Re=e=>`${e}_form`,Ye=(e,o)=>{const{companyDetails:l,primaryContact:i,companyOfficerUpdateStatus:n}=e,c=k.getLocalizedStrings().companyPassport,f=l.localData?.incInfo.fileId!=null?[l.localData?.incInfo.fileId]:[],d=l.localData?.taxDetails.fileId!=null?[l.localData?.taxDetails.fileId]:[];return{[Ie]:{...xa(l.localData?.companyInfo,["meetingLink"]),businessModel:{selectedOption:l.localData?.companyInfo?.businessModel,allOptions:c.companyInfo.allBusinessModels},website:l.localData?.companyInfo.website?.toString()??"",industry:{selectedOption:l.localData?.companyInfo.industry,allOptions:o?.map(r=>r.code)},firstMonthOfFY:l.localData?.companyInfo.firstMonthOfFY},[ve]:{...l.localData?.taxDetails,taxesFiledYears:{selectedOptions:l.localData?.taxDetails.taxesFiledYears.map(r=>r.toString())??[],allOptions:V.getYearsList().map(r=>r.toString())},einDocument:e.companyFiles.find(r=>r.documentType==="tax_ein"),fileIds:d},[je]:{typeOfInc:{selectedOption:l.localData?.incInfo?.typeOfInc,allOptions:c.companyIncInfo.allTypesOfIncorporation},stateOfInc:{selectedOption:l.localData?.incInfo?.stateOfInc,allOptions:c.companyIncInfo.allStatesOfIncorporation},incDate:l.localData?.incInfo.incDate?.toDate(),certificateOfIncorporation:e.companyFiles.find(r=>r.documentType==="certificate_of_incorporation"),fileIds:f},[Se]:{userId:i.localData?.userId,name:{firstName:i.localData?.firstName,lastName:i.localData?.lastName},email:i.localData?.email},[De]:Object.values(n).filter(r=>r.localData!=null).map(r=>{const u=r.localData;return{userId:u.userId,officerType:u.officerType,name:{firstName:u.firstName,lastName:u.lastName},email:u.email,phone:u.phone}}),[Oe]:{meetingLink:l.localData?.companyInfo.meetingLink?.toString()??""}}},So=s.div`
|
|
554
554
|
display: flex;
|
|
555
555
|
min-height: 100%;
|
|
556
556
|
flex-direction: column;
|
|
557
557
|
width: 100%;
|
|
558
558
|
background-color: ${e=>e.theme.colors.grey4};
|
|
559
|
-
`,
|
|
559
|
+
`,Do=s.div`
|
|
560
560
|
display: flex;
|
|
561
561
|
flex-wrap: wrap;
|
|
562
562
|
justify-content: center;
|
package/dist/assets/{CompleteProfile-DTSAIKgF-WX_HRfP5.js → CompleteProfile-Bd9xEPVl-Cy044ZoG.js}
RENAMED
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
import{a as R,
|
|
1
|
+
import{a as R,gg as M,M as $,j as e,F as q,T as f,c6 as z,cf as G,cc as K,l as T,o as a,ca as _,gh as H,a7 as W,c0 as X,bp as Y,gi as J}from"./index-Dr7k10Ge.js";import{b as g,f as b,n}from"./vendor-CnQcJ2Lu.js";import{$ as Q}from"./LabeledAddressValue-D2vDF5sP-BZfqDHMl.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";const t=$.getLocalizedStrings(),x="completeProfilePage",r="basicDetailsSection",y="addressSection",d=(o,m)=>`${o}.${m}`,he=({userEmail:o,googleAPIKey:m,otpChallenge:j,sendOtpStatus:w,verifyOtpStatus:h,saveStatus:v,onSave:u,onGetOtp:P,onVerifyOtp:S,onResendOtp:O})=>{const[s,c]=g.useState(!1),[V,C]=g.useState(!1),i=R({mode:"onChange",reValidateMode:"onChange",defaultValues:{basicDetailsSection:{name:{firstName:"",lastName:""},email:o,dateOfBirth:void 0,phone:"",address:void 0}}}),F=M({control:i.control,name:`${r}.address`}),{dateFormat:I}=$.getLocalizedStrings(),N=i.handleSubmit(l=>{u&&u(l)}),L=()=>{const l=i.getValues(`${r}.phone`);l!=null&&l.trim().length>0&&P(l)},k=(l,p)=>{S(l,p)},D=l=>{l!=null&&l.trim().length>0&&O(l)},B=()=>{c(!0)},E=()=>{c(!1)},A=()=>{const l=i.getValues(`${y}`);if(l!=null){const p=J(l);i.setValue(`${r}.address`,p)}c(!1)};return e.jsxs(U,{children:[e.jsxs(Z,{children:[e.jsxs(ee,{children:[s&&e.jsx(oe,{onClick:E}),t.completeProfile.title]}),e.jsx(te,{children:e.jsx(q,{...i,children:e.jsxs("form",{id:`${x}_form`,onSubmit:N,children:[e.jsx(f,{controller:s===!1,children:e.jsxs(b.Fragment,{children:[e.jsx(z,{isDisabled:"disabled",showAdditionalInfoLabel:!1,label:{label:t.common.labels.email,width:168},style:{width:"100%"},text:{type:"text",name:d(r,"email")}}),e.jsx(G,{isDisabled:void 0,label:{label:t.common.labels.name,width:168},style:{width:"100%"},nameField:{name:d(r,"name"),placeHolder:{firstName:t.common.placeholder.firstNamePlaceholder,lastName:t.common.placeholder.lastNamePlaceholder,name:t.common.placeholder.namePlaceholder},showFullNameError:!0,registerOptions:{required:!0}},errorInfoLabel:""}),e.jsx(K,{isOptional:!0,label:{label:t.common.labels.dob,width:168},style:{width:"100%"},isDisabled:void 0,dateField:{name:d(r,"dateOfBirth"),placeholder:t.common.placeholder.dobPlaceholder,dateFormat:I.visual.defaultInput,autoComplete:"off",maxDate:T.dateNow().subtract(18,"year")}}),e.jsx(Q,{isOptional:!0,label:{label:t.common.labels.address,width:168},addressValue:{placeholder:t.common.placeholder.addressPlaceholder,address:F,onClick:B},style:{width:"100%",padding:`${a.sp2} ${a.sp2} ${a.sp2} ${a.sp0}`}}),e.jsx(_,{isOptional:!0,label:{label:t.common.labels.phone,width:168},style:{width:"100%"},text:{name:d(r,"phone"),placeholder:t.common.placeholder.phonePlaceholder,defaultValue:"",autoComplete:"new-password"},errorInfoLabel:"",verificationErrorInfoLabel:t.common.errorMessage.invalidPhoneNumber,isPopupOpen:V,phoneVerifyButtonProps:{otpChallenge:j,showOtpButton:!0,onGetOtp:L,onVerifyOtp:k,onResendOtp:D,isPhoneVerified:h.fetchState==="Completed",phoneVerificationStatus:h,getOtpStatus:w,openPopup:()=>{C(!0)},focusNotRequired:!0}})]})}),e.jsx(f,{controller:s===!0,children:e.jsx(b.Fragment,{children:e.jsx(H,{sectionId:y,googleAPIKey:m,isSubPage:!0})})})]})})})]}),e.jsx(W,{formId:s?void 0:`${x}_form`,primaryBtn:{label:s?t.companyPassport.address.saveAddress:t.common.footer.save,type:s?"button":"submit",onClick:s?A:void 0,isLoading:v.fetchState==="In-Progress"},showCancel:!1})]})},U=n.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
min-height: 100vh;
|
|
5
|
-
`,
|
|
5
|
+
`,Z=n.div`
|
|
6
6
|
display: flex;
|
|
7
7
|
flex-direction: column;
|
|
8
8
|
align-items: flex-start;
|
|
9
9
|
padding: ${a.sp5};
|
|
10
10
|
row-gap: ${a.sp3};
|
|
11
11
|
flex: 1;
|
|
12
|
-
`,ee=n(
|
|
12
|
+
`,ee=n(X)`
|
|
13
13
|
color: ${o=>o.theme.colors.primary};
|
|
14
14
|
text-align: left;
|
|
15
15
|
display: flex;
|
|
16
16
|
align-items: center;
|
|
17
17
|
justify-content: flex-start;
|
|
18
18
|
gap: ${a.sp2};
|
|
19
|
-
`,oe=n(
|
|
19
|
+
`,oe=n(Y)`
|
|
20
20
|
cursor: pointer;
|
|
21
21
|
width: ${a.sp4};
|
|
22
22
|
height: ${a.sp4};
|
package/dist/assets/{ConfettiBurst-CjONFCxD-BbasMJ1h.js → ConfettiBurst-CMpZ2feY-D-Nq3IFV.js}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{d2 as m,at as l,j as a,au as f,o as n}from"./index-Dr7k10Ge.js";import{b as i}from"./vendor-CnQcJ2Lu.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";const u="https://storage.googleapis.com/zeni-apis.appspot.com/data/confetti_sfx.mp3",b=({showConfetti:t})=>{const[e,p]=i.useState(t),[o,s]=m(u),[r]=l("ConfettiSuccess");return i.useEffect(()=>{t&&p(!0)},[t]),i.useEffect(()=>{e&&o===!1&&s(!0)},[e,o,s]),a.jsx(a.Fragment,{children:e&&o&&r!=null?a.jsx(f,{style:{position:"absolute",width:"100%",height:"100vh",top:n.sp0,left:n.sp0,zIndex:5},onComplete:()=>{s(!1),p(!1)},animationData:r,loop:0,play:!0,goTo:0,rendererSettings:{preserveAspectRatio:"xMidYMid slice"}}):null})};export{b as default};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import{u as
|
|
1
|
+
import{u as He,X as v,M as h,D as U,c5 as Ye,j as t,aW as _e,Y as b,e as Qe,bO as ae,bQ as ie,bR as se,ct as Xe,a7 as Ge,C as W,bp as Je,o,cu as Ke,bt as k,ah as le,q as f,aq as de,v as ce,t as Q,aN as Ze,cq as pe,g as L,cv as me,cn as ue}from"./index-Dr7k10Ge.js";import{b as x,n as r}from"./vendor-CnQcJ2Lu.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";const et=({bankAccountNumberOrIban:e,accountNumberOrIbanLabel:a,bankName:s,routingNumberOrSwiftCode:d,accountName:u,routingNumberOrSwiftCodeLabel:m,onDeleteClick:w})=>{const j=v(),p=h.getLocalizedStrings().spendManagement.billPay.vendorCreation,g=t.jsxs(tt,{children:[t.jsxs(q,{children:[t.jsx(H,{children:m}),t.jsx(Y,{children:d})]}),t.jsxs(q,{children:[t.jsx(H,{children:p.achDetails.bankName}),t.jsx(Y,{children:s})]}),t.jsxs(q,{children:[t.jsx(H,{children:a}),t.jsx(Y,{children:e})]})]});return t.jsxs(at,{size:j,children:[t.jsxs(rt,{children:[t.jsxs(Q,{children:[`${s} ${p.paymentAccountDetailConnector} ${e.slice(-4)}`,t.jsx(k,{title:g,placement:"top",children:t.jsx(st,{children:t.jsx(lt,{})})})]}),t.jsx(ot,{children:u??p.emptyPlaceholderString})]}),t.jsx(nt,{children:t.jsx(k,{enterDelay:600,display:"flex",title:p.deleteAccountTooltip,placement:"top",children:t.jsx(it,{onClick:y=>{y.stopPropagation(),w()},"data-testid":b("delete-vendor-account-section",u),children:t.jsx(dt,{})})})})]})},tt=r.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-wrap: wrap;
|
|
4
4
|
gap: ${o.sp1};
|
|
5
|
-
`,
|
|
5
|
+
`,q=r.div`
|
|
6
6
|
display: flex;
|
|
7
7
|
justify-content: space-between;
|
|
8
8
|
width: 100%;
|
|
9
|
-
`,
|
|
9
|
+
`,H=r.div`
|
|
10
10
|
box-sizing: border-box;
|
|
11
11
|
text-align: left;
|
|
12
12
|
flex: 1 0 50%;
|
|
@@ -70,7 +70,7 @@ import{u as qe,X as w,M as h,H as U,c5 as Ye,j as t,aV as _e,Y as b,c as Qe,bO a
|
|
|
70
70
|
&:hover {
|
|
71
71
|
color: ${L.important};
|
|
72
72
|
}
|
|
73
|
-
`,ct=({paymentInstrument:e,onDeleteClick:a})=>{const s=
|
|
73
|
+
`,ct=({paymentInstrument:e,onDeleteClick:a})=>{const s=v(),d=h.getLocalizedStrings().spendManagement.billPay.vendorCreation,u=t.jsx(pt,{children:e.piLabels.map(m=>t.jsxs(mt,{children:[t.jsxs(ut,{children:[m.name,d.colon]}),t.jsx(ht,{children:m.value})]},m.name))});return t.jsxs($t,{size:s,children:[t.jsx(xt,{children:t.jsxs(Q,{children:[e.displayText,t.jsx(k,{title:u,placement:"top",children:t.jsx(yt,{children:t.jsx(ft,{})})})]})}),t.jsx(gt,{children:t.jsx(k,{enterDelay:600,display:"flex",title:d.deleteAccountTooltip,placement:"top",children:t.jsx(bt,{onClick:m=>{m.stopPropagation(),a()},"data-testid":b("delete-vendor-international-account-section",e.paymentInstrumentId),children:t.jsx(vt,{})})})})]})},pt=r.div`
|
|
74
74
|
display: flex;
|
|
75
75
|
flex-wrap: wrap;
|
|
76
76
|
gap: ${o.sp1};
|
|
@@ -132,7 +132,7 @@ import{u as qe,X as w,M as h,H as U,c5 as Ye,j as t,aV as _e,Y as b,c as Qe,bO a
|
|
|
132
132
|
&:hover {
|
|
133
133
|
color: ${e=>e.theme.colors.primary};
|
|
134
134
|
}
|
|
135
|
-
`,
|
|
135
|
+
`,vt=r(ue)`
|
|
136
136
|
width: ${o.sp3};
|
|
137
137
|
height: ${o.sp3};
|
|
138
138
|
cursor: pointer;
|
|
@@ -140,7 +140,7 @@ import{u as qe,X as w,M as h,H as U,c5 as Ye,j as t,aV as _e,Y as b,c as Qe,bO a
|
|
|
140
140
|
&:hover {
|
|
141
141
|
color: ${L.important};
|
|
142
142
|
}
|
|
143
|
-
`,he=(e,a)=>{const s=h.getLocalizedStrings().spendManagement.billPay.vendorCreation;switch(e){case"ach":return s.achDetails.ach;case"wire":switch(a){case"us-domestic":return s.wireDetails.domestic.domestic;case"international":return s.wireDetails.international.international;default:return""}default:return""}},_=({type:e,subType:a,vendorAccountDetails:s,vendorAccountDetailsInternational:d,onRemoveBankAccount:u,onAddNewAccountDetailClick:m})=>{const v
|
|
143
|
+
`,he=(e,a)=>{const s=h.getLocalizedStrings().spendManagement.billPay.vendorCreation;switch(e){case"ach":return s.achDetails.ach;case"wire":switch(a){case"us-domestic":return s.wireDetails.domestic.domestic;case"international":return s.wireDetails.international.international;default:return""}default:return""}},_=({type:e,subType:a,vendorAccountDetails:s,vendorAccountDetailsInternational:d,onRemoveBankAccount:u,onAddNewAccountDetailClick:m})=>{const w=v(),[j,p]=x.useState(!1),[g,y]=x.useState(""),[I,N]=x.useState(!1),c=h.getLocalizedStrings().spendManagement.billPay.vendorCreation,S=i=>{y(i),p(!0)},P={onOkClick:()=>{p(!1),u(g,I)},onCancelClick:()=>{p(!1),y("")}},T=i=>e==="ach"||e==="wire"&&a==="us-domestic"?i.bankAccountNumber:e==="wire"&&a==="international"?i.bankAccountIban??"":"",B=i=>e==="ach"?i.bankRoutingNumberAch:e==="wire"&&a==="us-domestic"?i.bankRoutingNumberWireTransfer:e==="wire"&&a==="international"?i.bankSwiftCode??"":"",z=()=>e==="ach"?c.achDetails.bankRoutingNumber:e==="wire"&&a==="us-domestic"?c.wireDetails.bankRoutingNumber:e==="wire"&&a==="international"?c.wireDetails.international.swiftCode:"",V=()=>e==="ach"?c.achDetails.bankAccountNumber:e==="wire"&&a==="us-domestic"?c.wireDetails.accountNumber:e==="wire"&&a==="international"?c.wireDetails.international.iban:"";return t.jsxs(St,{children:[j===!0?t.jsx(ae,{titleComponent:t.jsx(se,{children:c.areYOuSure}),descriptionComponent:t.jsx(ie,{children:c.ifYouSubmit}),primaryButtonText:c.delete,secondaryButtonText:c.cancel,action:P,isEditPopup:!0,proceedButtonVariant:"danger"}):null,t.jsx(kt,{windowSize:w,children:`${he(e,a)} ${c.accountsLabel}`}),s?.map(i=>t.jsx(te,{children:t.jsx(et,{bankName:i.bankName,bankAccountNumberOrIban:T(i),routingNumberOrSwiftCode:B(i),routingNumberOrSwiftCodeLabel:z(),accountNumberOrIbanLabel:V(),accountName:i.bankAccountName,onDeleteClick:()=>S(i.bankAccountId)})},i.bankAccountId)),d?.map(i=>t.jsx(te,{children:t.jsx(ct,{paymentInstrument:i,onDeleteClick:()=>{N(!0),S(i.paymentInstrumentId)}})},i.paymentInstrumentId)),t.jsx(wt,{onAddAccountDetailsSection:m,type:e,subType:a})]})},wt=({onAddAccountDetailsSection:e,type:a,subType:s})=>{const d=v(),u=h.getLocalizedStrings().spendManagement.billPay;return t.jsx(t.Fragment,{children:t.jsxs(Ct,{windowSize:d,onClick:e,"data-testid":b("add-vendor-account",a),children:[t.jsx(jt,{}),t.jsx(le,{children:`${u.vendorCreation.addPrefix} ${he(a,s)}`})]})})},jt=r(pe)`
|
|
144
144
|
margin-right: ${o.sp2};
|
|
145
145
|
width: ${o.sp3};
|
|
146
146
|
height: ${o.sp3};
|
|
@@ -170,12 +170,12 @@ import{u as qe,X as w,M as h,H as U,c5 as Ye,j as t,aV as _e,Y as b,c as Qe,bO a
|
|
|
170
170
|
padding-bottom: ${o.sp2};
|
|
171
171
|
margin-top: ${o.sp3};
|
|
172
172
|
margin-bottom: ${o.sp3};
|
|
173
|
-
`,Dt=({addressState:e,onUpdateMailingAddress:a})=>{const s=
|
|
173
|
+
`,Dt=({addressState:e,onUpdateMailingAddress:a})=>{const s=v(),d=h.getLocalizedStrings().spendManagement.billPay.vendorCreation;return t.jsxs(Vt,{children:[t.jsxs(zt,{windowSize:s,children:[`${d.mailingAddressLabel}`,t.jsx(Bt,{children:`${d.mailingAddressPlaceholder}`})]}),e!=null?t.jsxs(Tt,{children:[At(e),t.jsx(k,{enterDelay:600,display:"flex",title:d.editMailingAddressTooltip,placement:"top",children:t.jsx(Lt,{"data-testid":b("edit-vendor-mailing-address"),onClick:()=>a("vendor_address"),children:t.jsx(It,{})})})]}):t.jsx(t.Fragment,{children:t.jsxs(Pt,{windowSize:s,"data-testid":b("add-vendor-mailing-address"),onClick:()=>a("vendor_address"),children:[t.jsx(Nt,{}),t.jsx(le,{children:d.addMailingAddress})]})})]})},At=e=>[e.street[2],e.street[0],e.street[1],e.city,`${e.state} ${e.postalCode}`.trim(),e.countryCode??e.country].filter(Boolean).join(", "),Lt=r.div`
|
|
174
174
|
width: ${o.sp3};
|
|
175
175
|
svg {
|
|
176
176
|
display: none;
|
|
177
177
|
}
|
|
178
|
-
`,It=r(
|
|
178
|
+
`,It=r(Ze)`
|
|
179
179
|
width: ${o.sp3};
|
|
180
180
|
height: ${o.sp3};
|
|
181
181
|
cursor: pointer;
|
|
@@ -223,10 +223,10 @@ import{u as qe,X as w,M as h,H as U,c5 as Ye,j as t,aV as _e,Y as b,c as Qe,bO a
|
|
|
223
223
|
display: block;
|
|
224
224
|
}
|
|
225
225
|
}
|
|
226
|
-
`,
|
|
226
|
+
`,Bt=r(ce)`
|
|
227
227
|
color: ${e=>e.theme.colors.grey1};
|
|
228
228
|
transform: translateY(${o.sp1});
|
|
229
|
-
`,
|
|
229
|
+
`,zt=r(de)`
|
|
230
230
|
color: ${e=>e.theme.colors.primary};
|
|
231
231
|
margin-bottom: ${o.sp2};
|
|
232
232
|
display: flex;
|
|
@@ -262,11 +262,11 @@ import{u as qe,X as w,M as h,H as U,c5 as Ye,j as t,aV as _e,Y as b,c as Qe,bO a
|
|
|
262
262
|
justify-content: center;
|
|
263
263
|
align-items: center;
|
|
264
264
|
box-shadow: ${e=>`${o.sp0} 2px ${o.sp1} ${e.theme.colors.dropShadowNormal}`};
|
|
265
|
-
`,Et=r(
|
|
265
|
+
`,Et=r(Ke)`
|
|
266
266
|
color: ${e=>e.theme.colors.primary};
|
|
267
267
|
margin-bottom: ${o.sp3};
|
|
268
268
|
margin-top: ${o.sp3};
|
|
269
|
-
`,Mt=r(
|
|
269
|
+
`,Mt=r(Je)`
|
|
270
270
|
cursor: pointer;
|
|
271
271
|
color: ${e=>e.theme.colors.hero};
|
|
272
272
|
width: 20px;
|
|
@@ -278,4 +278,4 @@ import{u as qe,X as w,M as h,H as U,c5 as Ye,j as t,aV as _e,Y as b,c as Qe,bO a
|
|
|
278
278
|
display: flex;
|
|
279
279
|
flex-direction: column;
|
|
280
280
|
padding-top: ${o.sp11};
|
|
281
|
-
`,$=h.getLocalizedStrings().spendManagement.billPay.vendorCreation,Wt=h.getLocalizedStrings().common.footer,ne=h.getLocalizedStrings().common.currency,
|
|
281
|
+
`,$=h.getLocalizedStrings().spendManagement.billPay.vendorCreation,Wt=h.getLocalizedStrings().common.footer,ne=h.getLocalizedStrings().common.currency,Zt=({vendorViewDetails:e,vendorId:a,screenType:s,analytics:d,filesEndPoint:u,authParams:m,vendorSearchAutoCompleteData:w,vendorSearchAutoCompleteActions:j,isLocalCurrencyEnabled:p,onBackClick:g,onVendorSelected:y,navigateToBankDetailPage:I,updateSelectedVendorForCreate:N,onRemoveBankAccount:c,updateSaveFetchState:S,onSaveVendor:P,navigateToMailingAddressPage:T,saveVendorDetailLocalData:B,resetVendorDetailLocalData:z,saveContactsInVendorDetailLocalData:V,updateFilesEntity:i,onEditFileName:xe,onFetchAndUpdateVendorRecommendations:ge})=>{const{accountList:{accounts:$e},classList:{classes:be},vendorTypeList:ye,ownerList:fe,editVendorState:X,newVendorState:G,fetchState:ve,hasWireTransfer:J,hasInternationalWireTransfer:R,deleteFileStatusById:we,updateFileStatusById:je,accountsHierarchyList:Ce,classHierarchyList:ke}=e,D=a!=null?X?.vendorDetailLocalData:G?.vendorDetailLocalData,l=Object.assign({},X??G),Se=He(),C=v(),[De,F]=x.useState(!1),[Ae,O]=x.useState(!1),K=s==="create"?$.newVendorTitle:$.editVendor,Le=(l.bankAccountsUpdated??[]).map(n=>n.bankAccountId).sort(),Ie=(l.vendorBasic?.bankAccounts??[]).map(n=>n.bankAccountId).sort(),Ne=!U(Le,Ie),Pe=(l.paymentInstrumentsUpdated??[]).map(n=>n.paymentInstrumentId).sort(),Te=(l.vendorBasic?.paymentInstruments??[]).map(n=>n.paymentInstrumentId).sort(),Be=!U(Pe,Te),ze=(D?.contacts??[]).filter(n=>n.email!==""||n.fullName!==""||n.phone!=="").map(n=>Ye(n,"contactInfoType")),Ve=l.vendorBasic?.contacts??[],Re=!U(ze,Ve),Fe=l.bankAccountsUpdated.filter(n=>!!n.bankRoutingNumberAch),Oe=l.bankAccountsUpdated.filter(n=>!!n.bankRoutingNumberWireTransfer),Ee=l.paymentInstrumentsUpdated.filter(n=>!!n.piNumber),Z=()=>{O(!0)},Me=n=>{F(n)},Ue={onOkClick:()=>{O(!1),F(!1),z?.(),g()},onCancelClick:()=>{O(!1),F(!1)}},E=x.useRef(null),We=n=>{E.current?.syncFormData(),T(n)},M=(n,qe)=>{E.current?.syncFormData(),I(n,qe)};x.useEffect(()=>{l?.saveStatus?.fetchState==="Completed"&&(S(),g())},[l]);const ee=x.useRef(null);return t.jsxs(Rt,{windowSize:C,children:[t.jsx(_e,{"data-testid":b("vendor-detail-container-nav-bar"),title:K,backgroundColor:Se.colors.grey4,leftSideComponent:t.jsx(Mt,{onClick:Z,"data-testid":b("create-edit-vendor-nav-bar-back")}),enableTitleOnScroll:!0,scrollableContent:ee,source:"CreateOrEditVendorPage"}),t.jsxs(Ft,{windowSize:C,ref:ee,children:[ve==="In-Progress"?t.jsx(Ot,{children:t.jsx(Qe,{size:"ExtraLarge",start:!0})}):t.jsxs(t.Fragment,{children:[De===!0?t.jsx(ae,{titleComponent:t.jsx(se,{children:$.discardTitle}),descriptionComponent:t.jsx(ie,{children:$.discardDescription}),primaryButtonText:$.discard,secondaryButtonText:$.cancel,action:Ue}):null,C!=="small"?t.jsx(Et,{children:K}):null,t.jsx(Xe,{ref:E,id:re(oe),allAccounts:$e,allClasses:be,accountsHierarchyList:Ce,classHierarchyList:ke,vendorTypeList:ye,allOwners:fe,vendorSearchAutoCompleteData:w,vendorSearchAutoCompleteActions:j,onVendorSelected:y,screenType:s,hasInternationalWireTransfer:R,selectedVendor:l,formLocalData:D,isBankAccountChanged:Ne,isContactListChanged:Re,isPaymentInstrumentChanged:Be,analytics:d,pageBackBtnClicked:Ae,onBackClick:g,onSaveVendor:P,saveContactsInVendorDetailLocalData:V,updateSelectedVendorForCreate:N,saveVendorDetailLocalData:B,updateFilesEntity:i,toggleConfirmationPopup:Me,filesEndPoint:u,authParams:m,onEditFileName:xe,deleteFileStatusById:we,updateFileStatusById:je,onFetchAndUpdateVendorRecommendations:ge,isLocalCurrencyEnabled:p}),J||R?t.jsx(Dt,{addressState:l.vendorNewAddressStatus?.addressToCreate,onUpdateMailingAddress:We}):null,l.vendorDetailLocalData?.currencyCode==null||l.vendorDetailLocalData?.currencyCode===ne.currencyCode?t.jsx(_,{type:"ach",vendorAccountDetails:Fe,onAddNewAccountDetailClick:()=>M("ach","standard"),onRemoveBankAccount:c}):null,J&&(l.vendorDetailLocalData?.currencyCode==null||l.vendorDetailLocalData?.currencyCode===ne.currencyCode)?t.jsx(_,{type:"wire",subType:"us-domestic",vendorAccountDetails:Oe,onAddNewAccountDetailClick:()=>M("wire","us-domestic"),onRemoveBankAccount:c}):null,R&&(D?.countryCode!=null&&D.countryCode!=="US"||p)?t.jsx(_,{type:"wire",subType:"international",vendorAccountDetailsInternational:Ee,isLocalCurrencyEnabled:p,onAddNewAccountDetailClick:()=>M("wire","international"),onRemoveBankAccount:c}):null]}),t.jsx(Ut,{})]}),t.jsx(Ge,{formId:re(oe),primaryBtn:{label:$.saveDetails,isLoading:l.saveStatus?.fetchState==="In-Progress",style:{width:A.buttonWidth.value(C)},isDisabled:!1},cancelBtn:{label:Wt.cancel,style:{width:A.buttonWidth.value(C)},shouldResetOnCancel:!1,onClick:Z}})]})};export{Zt as default,re as formUniqueName};
|