@zeniai/web-cockpit-ui 1.13.97-qa → 1.13.98-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-Cwc2nmvY-DQ16IU5r.js → ACHDetailsPage-C_NL9J0X-DQ3wv9Rt.js} +1 -1
- package/dist/assets/{AIPerformancePage-CK4ZdUEb-fJZXFPPa.js → AIPerformancePage-DyiOQxOC-Deykua_G.js} +21 -21
- package/dist/assets/{AccountInfoPage-LiZYkJMA-D7v8XtXB.js → AccountInfoPage-xglon85A-yRVQMsLQ.js} +5 -5
- package/dist/assets/AccountInfoPageContent-BtMF3gSM-CwB-GVxY.js +149 -0
- package/dist/assets/{AccountReconDetailsDrawerPage-CBOR2m1X-itmjhcPW.js → AccountReconDetailsDrawerPage-DJ9x8tbi-LYKktAAO.js} +17 -17
- package/dist/assets/{AccountRow--5DnpNqk-C6gOEeWO.js → AccountRow-CP7Tu1pO-VLQJgkE6.js} +23 -23
- package/dist/assets/{AccountsPromoCardStack-DCI8_ihc-CZreK5jG.js → AccountsPromoCardStack-1elvD1M0-GOX35w9m.js} +22 -22
- package/dist/assets/{AddAddressForCardDrawer-C_RALUZ7-C2wla-3g.js → AddAddressForCardDrawer-C8-wy-3B-di9k1XXJ.js} +2 -2
- package/dist/assets/{AddToWalletPage-7sC3Q2Pb-TioJ0o_r.js → AddToWalletPage-DsqplF5y-BOnzBTtb.js} +19 -19
- package/dist/assets/{AgingReportsPage-PrvYryW8-ClQ8Euxf.js → AgingReportsPage-DClcRhxg-CS8rEKD_.js} +6 -6
- package/dist/assets/{AllUserItems-DlTukPhY-377gtzJq.js → AllUserItems-BOwAIYTQ-ikKyJOZ6.js} +7 -7
- package/dist/assets/{ApAgingDetailPage-BVciGQma-NVEgOPKU.js → ApAgingDetailPage-CcU6Hz-o-C9CP7TBd.js} +4 -4
- package/dist/assets/{AppBasePage-uJGLWCbr-B_okH7tb.js → AppBasePage-C7kCz0qg-gwqzuxWV.js} +2 -2
- package/dist/assets/{AppDrawerContent-SD57OqHe-DBC1ZQdx.js → AppDrawerContent-B63CbHT7-CTgXtY-R.js} +7 -7
- package/dist/assets/ApprovalRulesSettingsPage-D6XZafBq-BQyA8PhX.js +47 -0
- package/dist/assets/ArAgingChart-D-Z3jfGt-DS-oqmcQ.js +24 -0
- package/dist/assets/{ArAgingDetailPage-CoFL0N3--Dnd2wPCh.js → ArAgingDetailPage-AiwyJUwp-CLdUA32y.js} +1 -1
- package/dist/assets/{AttachmentView-C3xQE0te-BFkbocnS.js → AttachmentView-wIV1i6gf-__2UovKF.js} +5 -5
- package/dist/assets/{BankAccountSection-Bi3uoDPa-DlE9WCjC.js → BankAccountSection-cVBEl5IN-DpEdLEP3.js} +2 -2
- package/dist/assets/{BankAccountWarningSection-DKdgmMHQ-Df__wM_b.js → BankAccountWarningSection-Ce5s962S-Dy-_2VlU.js} +8 -8
- package/dist/assets/{BankConnectionsSettingsPage-1zM9RKRI-BKlHDYsy.js → BankConnectionsSettingsPage-Cgp8M98A-D84-x80q.js} +33 -33
- package/dist/assets/{BillDetailPage-BoxJCC9n-dUgWZp0T.js → BillDetailPage-C9NC9kTK-BYRIHiN2.js} +11 -11
- package/dist/assets/{BillPayApprovalRuleDetailPage-BW3sj5ug-F8EHl6ns.js → BillPayApprovalRuleDetailPage-yKPMorLd-DWM3MQMK.js} +2 -2
- package/dist/assets/{BillPayApprovalRulesPage-DLA6R7dC-CNDK6deM.js → BillPayApprovalRulesPage-DmMqDFmk-B8Cg6Nn6.js} +6 -6
- package/dist/assets/{BillPayPromoPage--BGTNJhm-DrmzLzpj.js → BillPayPromoPage-CWGX6uCi--607mHc3.js} +4 -4
- package/dist/assets/BillPaySetUpPage-B-DHUIqu-DsqPk0zS.js +42 -0
- package/dist/assets/{BillingSettingsPage-DgbRhg-m-CRqpdOiy.js → BillingSettingsPage-Bx7lHgIy-CyArwb3F.js} +5 -5
- package/dist/assets/{BillsBulkReviewDrawerPage-CKspyZz7-DFQ7kKFj.js → BillsBulkReviewDrawerPage-Bf5MKQ-f-5iZSFdzE.js} +1 -1
- package/dist/assets/{BoxItem-BHtgE0KL-BJPg4xAk.js → BoxItem-DX1sag1G-C0OcCbod.js} +1 -1
- package/dist/assets/{BusinessVerificationPage-CpfsllRZ-CnaBfa3b.js → BusinessVerificationPage-DXh-11f9-BWywYgcT.js} +14 -14
- package/dist/assets/{CardNumberSubText-BHe1nqr7-BRmm9g1p.js → CardNumberSubText-iYF6MLsf-BnbFJt1d.js} +1 -1
- package/dist/assets/{CashbackDetailPage-C9RhIR0R-CyQle5Hi.js → CashbackDetailPage-DVsCU69u-iWc1QiKl.js} +24 -24
- package/dist/assets/ChargeCardDetailPage-D5bwvNOM-CT3hMXCY.js +1447 -0
- package/dist/assets/ChargeCardListPage-rY7_MoJ5-CzPbszY2.js +355 -0
- package/dist/assets/{ChargeCardListTable-C2nnAxo5-Bk77oToU.js → ChargeCardListTable-PTRaj9T6-GxUnY44G.js} +18 -18
- package/dist/assets/ChargeCardPromoPage-BUtD2JQ4-Bh59RQEl.js +219 -0
- package/dist/assets/ChargeCardSetupPage-CIRcLLnB-Cefuwkkm.js +36 -0
- package/dist/assets/{ChargeCardStatementsPage-DK-pEljz-CxNbElz7.js → ChargeCardStatementsPage-uRlTsfDI-DztC0UAp.js} +3 -3
- package/dist/assets/{ChargeCardUtils-BxyMuU6--CHwiPaoq.js → ChargeCardUtils-BvVm2SMq-B6pl3c2F.js} +1 -1
- package/dist/assets/{ChaseOverlay-CRiYxWuZ-BZR-S0kG.js → ChaseOverlay-CI8lEzod-DNTlxx9v.js} +5 -5
- package/dist/assets/{CheckDepositDrawerPage-WYiirlL8-DMNFGunZ.js → CheckDepositDrawerPage-Czpxz6Mz-gcS4-F7d.js} +16 -16
- package/dist/assets/CollapsableReportTable-BBGdC6Ii-N5Ehkf8R.js +2932 -0
- package/dist/assets/{CompanyOfficerDetailsSection-BPZU90Im-ClsfMHMl.js → CompanyOfficerDetailsSection-BrsHy7MO-Cl-BM3f0.js} +35 -35
- package/dist/assets/{CompanyPassportCard-PXdmJC_B-SLgfN-m9.js → CompanyPassportCard-P0g_DRwA-XRQTRVQK.js} +2 -2
- package/dist/assets/{CompanyPassportPage-MxIwsh3W-CUmwVoPG.js → CompanyPassportPage-CH8El0Nl-CrZI1ceZ.js} +37 -37
- package/dist/assets/{CompleteProfile-Bd9xEPVl-Cy044ZoG.js → CompleteProfile-DTSAIKgF-WX_HRfP5.js} +4 -4
- package/dist/assets/{ConfettiBurst-CMpZ2feY-D-Nq3IFV.js → ConfettiBurst-CjONFCxD-BbasMJ1h.js} +1 -1
- package/dist/assets/{CreateOrEditVendorPage-DgHvZfWv-Bm6layyi.js → CreateOrEditVendorPage-CDVjGotR-BX0RU8Lc.js} +13 -13
- package/dist/assets/{CreditCardPaymentDrawerPage-C2ikLG7P-DestrVrL.js → CreditCardPaymentDrawerPage-CsyNRmxp-J9Q1Nire.js} +15 -15
- package/dist/assets/{CreditCardPaymentPlgSection-M69ECpN9-CGQ3HY5T.js → CreditCardPaymentPlgSection-BhHsjqZA-DtxErSDc.js} +8 -8
- package/dist/assets/{CurrencySelectField-B3AvTbkp-CwUBnsMJ.js → CurrencySelectField-BRkdK9Tx-DZlSSgUd.js} +5 -5
- package/dist/assets/{CustomerOnboardingActivationPage-C7eddGoB-DW4jRuae.js → CustomerOnboardingActivationPage-DnVXw5Ok-CF7wqV2h.js} +1 -1
- package/dist/assets/CustomerOnboardingContainerPage-wmVbYxdI-BLfm1bGE.js +1 -0
- package/dist/assets/{CustomerOnboardingDetailPageSkeleton-BIAeoXCV-DB7HhB_G.js → CustomerOnboardingDetailPageSkeleton-C95eWcqa-DW8DNI2i.js} +11 -11
- package/dist/assets/{CustomerOnboardingNoStepsPage-BzO6XZ0H-1xoJMSMy.js → CustomerOnboardingNoStepsPage-OKbEl9Bp-Dy87ha3L.js} +9 -9
- package/dist/assets/{CustomerOnboardingPage-7yWIaJvU-C3VBP6CL.js → CustomerOnboardingPage-D9jqUudS-BpBvjqe9.js} +6 -6
- package/dist/assets/{CustomerOnboardingProductSuitePage-Tvyrs9Cm-B0r6GvUF.js → CustomerOnboardingProductSuitePage-DK_FKVS2-Dz81TViz.js} +5 -5
- package/dist/assets/Dashboard-CsuzQbH0-B5Hgiilv.js +1254 -0
- package/dist/assets/DashboardReportPage-BCkrfj3P-CIFdRg6l.js +370 -0
- package/dist/assets/{DepositAccTransactionItem-CiRcbfmm-ChlbIcLT.js → DepositAccTransactionItem-B55LUfPM-Bsnh-Dnt.js} +2 -2
- package/dist/assets/{DepositAccTransactionListPage-DsNLDlHv-MYnNFw-s.js → DepositAccTransactionListPage-CKBZEDvI-CFszcDp5.js} +7 -7
- package/dist/assets/{DocumentSecurityBanner-CIWoR_yI-Dhftz0pA.js → DocumentSecurityBanner-B5e6-zfE-B8VQ-eGv.js} +1 -1
- package/dist/assets/{DomesticWireDetailsPage-C6x8Gz4g-DwUa3Xkf.js → DomesticWireDetailsPage--MU9IKKz-CI-n4FxD.js} +1 -1
- package/dist/assets/{DownloadOverlay-D1kGkMFo-DOkMNDuh.js → DownloadOverlay-CVay7PEO-C-BIaHoh.js} +12 -12
- package/dist/assets/{DrawerPage-CQkJW5hg-DkryY6SR.js → DrawerPage-BtsjUVWT-DKZ4-9Rc.js} +3 -3
- package/dist/assets/{EditPeoplePage-m2qls8hv-BZd-DWw-.js → EditPeoplePage-q8Se6bGZ-Cx2X58jF.js} +17 -17
- package/dist/assets/{EditReimbursementDetailPage-IlSyu79B-jE0h2JRZ.js → EditReimbursementDetailPage-DJxpU-hz-dhF_OPbV.js} +72 -72
- package/dist/assets/{EntityDetailPage-CcJJwGo7-DCvr4KdD.js → EntityDetailPage-Bux6DlIw-CDR-iDms.js} +1 -1
- package/dist/assets/{EntitySummarySection-JxKHehL1-CtvARgSu.js → EntitySummarySection-D8dz1hFt-Bakc19a1.js} +13 -13
- package/dist/assets/{ExpenseAutomationOverviewPage-iAUtjSnw-C1CSJZ5E.js → ExpenseAutomationOverviewPage-CdJQtc-4-WoBW313I.js} +26 -26
- package/dist/assets/{ExpenseAutomationPage-B0f86olm-wJehtW2E.js → ExpenseAutomationPage-aNc126hN-DZa4KtXO.js} +74 -74
- package/dist/assets/{ExpressPayPage-B-at6uDS-BEaELiUG.js → ExpressPayPage-CWVGXvfN-Bzdld5fx.js} +7 -7
- package/dist/assets/{FeaturePreviewPage-gSb_rct_-C-KQutKv.js → FeaturePreviewPage-C0nvVXP--BF6s18r5.js} +2 -2
- package/dist/assets/{FollowStepsSection-eedORgku-FnBhDPYP.js → FollowStepsSection-Cf0s1DGX-BFVvc78r.js} +12 -12
- package/dist/assets/{GlobalReviewListPage-BfPwveCc-ftKEGRYk.js → GlobalReviewListPage-aY4rHJVr-DzNSgRAM.js} +10 -10
- package/dist/assets/HelpButton-Dv3nbc1Z-CHaoZd0g.js +28 -0
- package/dist/assets/{InformationCardStack-DPaZz4XW-BZPDjtdj.js → InformationCardStack-BALkGk48-BWmXScs3.js} +5 -5
- package/dist/assets/{InsightsCardStack-sKUFRR0H-BiHLZWGW.js → InsightsCardStack-D52CCSVO-CezeuABJ.js} +10 -10
- package/dist/assets/{InsightsSection-Corx5iDh-fVbgdM2i.js → InsightsSection-D_wtVtVg-5rPDOiJT.js} +3 -3
- package/dist/assets/{IntegrationsSettingsPage-DTWoUi2e-YCv3GRpa.js → IntegrationsSettingsPage-DxjbW311-BrvXi8hE.js} +7 -7
- package/dist/assets/{InternationalWireSwiftDetailsPage-B441GUkh-D_QVeJ7p.js → InternationalWireSwiftDetailsPage-24NSHzu1-CRaVhxIk.js} +14 -14
- package/dist/assets/{InternationalWireVerificationPage-DjpWjFSe-CaUlPKN_.js → InternationalWireVerificationPage-B1jvCUkw-Ld5IAzwh.js} +18 -18
- package/dist/assets/{InviteFormPage-BRb4jyp_-BuUalkW4.js → InviteFormPage-C9fNxGsi-CRksfDku.js} +19 -19
- package/dist/assets/{InvitePageListView-Bb_Q_xqJ-BhN72Smm.js → InvitePageListView-DSWZ2SPi-B4SFh7Xp.js} +49 -49
- package/dist/assets/InvitePeoplePage-DaN4NSHW-CydccedW.js +12 -0
- package/dist/assets/{InvoiceUploadSection-BE4ZqriT-CfpM2_BI.js → InvoiceUploadSection-D0CgJxyu-9_MCn8Y6.js} +7 -7
- package/dist/assets/{IssueChargeCardPage-BIFpAcrl-DZwnseyQ.js → IssueChargeCardPage-dYu9VLy4-YHkYWF3X.js} +22 -22
- package/dist/assets/{LabeledAddressValue-D2vDF5sP-BZfqDHMl.js → LabeledAddressValue-DtmZ5htg-OjX3rrF7.js} +1 -1
- package/dist/assets/{LabeledAddressValueField-BMdJsw3x-CnFfe2I5.js → LabeledAddressValueField-C2LEKAwf-BQxD3J4c.js} +4 -4
- package/dist/assets/{LabeledControlledCheckBoxField-CHRGFyHl-T4ZnES5i.js → LabeledControlledCheckBoxField-Ds3mSsWy-DNoefl6y.js} +1 -1
- package/dist/assets/{LabeledCreatableSingleSelectField-qwQPyqDC-D7x9KNC-.js → LabeledCreatableSingleSelectField-DW8jVgaN-BEmOmz9t.js} +8 -8
- package/dist/assets/{LabeledDocumentField-Cdd8oj5z-BoWCxP7J.js → LabeledDocumentField-Ce2A0qNH-CSvl2QNP.js} +5 -5
- package/dist/assets/{LabeledDropDownFormattedTextField-CSEioH8A-DiLPLUt5.js → LabeledDropDownFormattedTextField-DWlfmICB-Diz5afTR.js} +5 -5
- package/dist/assets/{LabeledText-CqZ-udSP-CWd8HtpU.js → LabeledText-bruKdeAH-E98_Q-Ht.js} +2 -2
- package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-DTmijO10-D909IgWp.js → LabeledUserSingleSelectWithSubtitlesField-CfzUlgs3-BKnteQzK.js} +5 -5
- package/dist/assets/{LabeledZeniRolesDropDownField-DSIWuFix-CIXw0_yv.js → LabeledZeniRolesDropDownField-CGSgg1Zl-M-Z5Kz_3.js} +22 -22
- package/dist/assets/{LinkJETransactionPage-C5V1HfGb-BEAJlnvQ.js → LinkJETransactionPage-DjNutEvf-sKN4Are7.js} +10 -10
- package/dist/assets/{LowBalancePopup-BLfeh0xm-C28uSa7K.js → LowBalancePopup-CwcYMtuk-B-vSGd6a.js} +7 -7
- package/dist/assets/{MagicLinkACHDetailsPage-DGR7VcHs-D2IBl0qY.js → MagicLinkACHDetailsPage-Ddhg3i45-DAcpfJH2.js} +1 -1
- package/dist/assets/{MagicLinkDomesticWireDetailsPage-BOu5verB-Bhh7qXWp.js → MagicLinkDomesticWireDetailsPage-QzsSuMOz-D-Sj2Twf.js} +1 -1
- package/dist/assets/{MagicLinkInternationalWireDetailsPage-elijVpdq-Cq0leSr_.js → MagicLinkInternationalWireDetailsPage-BsLlhkuO-cmHC5izc.js} +1 -1
- package/dist/assets/{MagicLinkSuccessPage-C6-JVGAQ-DQTEmgea.js → MagicLinkSuccessPage-COpDxIAb-BaiQCbjC.js} +4 -4
- package/dist/assets/{MagicLinkTitleSection-CCjLimcL-Ip3y0PNU.js → MagicLinkTitleSection-Oa8Szvl2-DvY3D69u.js} +3 -3
- package/dist/assets/{MailingDetailsSection-CJhcwaGu-BAyX38PR.js → MailingDetailsSection-BycONjR9-Dhu_6L_d.js} +1 -1
- package/dist/assets/{MeetingCalenderPopup-DKBH6wSs-Cn-ByIyB.js → MeetingCalenderPopup-D_WPTVKr-DYqVpuuh.js} +3 -3
- package/dist/assets/{Menu-D-Gk-Xfo-DBDtrJ_2.js → Menu-B6Fh2Mf9-B_ofMkAs.js} +2 -2
- package/dist/assets/{MyBankConnectionsSettingsPage-CBxa9AUT-BCb7NWFw.js → MyBankConnectionsSettingsPage-jWuBarzg-DszKEiXJ.js} +18 -18
- package/dist/assets/{MyPendingActivationChargeCardListPage-DBr5htlO-CKJew--2.js → MyPendingActivationChargeCardListPage-_wuCCZ2J-Cbj97sd-.js} +1 -1
- package/dist/assets/{MyProfileSettingsPage-DKUX_nTz-BI1Cjccg.js → MyProfileSettingsPage-ChyYrCir-Dq1dhgqM.js} +8 -8
- package/dist/assets/{NavBarWithPicker-CXyMHDUO-FwAGF1cV.js → NavBarWithPicker-D4jJGXZB-BJWr2BT1.js} +4 -4
- package/dist/assets/{NavigationArrow-Bv-PvnhZ-BqeVWU8r.js → NavigationArrow-DlUdvmV7-iugv9ZVE.js} +10 -7
- package/dist/assets/{NavigationDots-DJkiFidH-5V7knboW.js → NavigationDots-CFJt-T5J-B9PAzC5S.js} +1 -1
- package/dist/assets/{NewGlobalMerchantPage-CmJjl9S1-k-LUtUto.js → NewGlobalMerchantPage-DhYni-in-Diwu92Go.js} +8 -8
- package/dist/assets/{NoDataChart-Bsj1HEPq-CTuuS1jm.js → NoDataChart-CvGbQO4j-B5z4vqWb.js} +1 -1
- package/dist/assets/{NoDataTable-6vR2vOMI-C3_Xw78i.js → NoDataTable-EKtYZwcL-XyHu2gAL.js} +1 -1
- package/dist/assets/{NotFoundPage-SRxATfaW-y-aOb1MC.js → NotFoundPage-D5SHSQLS-0U7pTJ8G.js} +4 -4
- package/dist/assets/{NotificationSettingsPage-Bko3CBmW-_bWFzZ7l.js → NotificationSettingsPage-CjJw9Atb-BmSbhipZ.js} +33 -33
- package/dist/assets/NotificationsListConfig-BL_MxKXF-CvqrsVs-.js +1 -0
- package/dist/assets/{NotificationsPage-DMfBgh2w-1OVVoKkc.js → NotificationsPage-bGvx2yV6-C4p8pfzZ.js} +12 -12
- package/dist/assets/{OpExByVendorPage-DOkwCGkr-DKAYXBt6.js → OpExByVendorPage-BE_NnQzd-DQnxoqWx.js} +7 -7
- package/dist/assets/{OverlayContainerPage-C0rUb6-5-BEYdjpiV.js → OverlayContainerPage-GWXnlbZH-D2VSw_RI.js} +1 -1
- package/dist/assets/{PandLWithForecastPage-DCJ3QTuj-SrjsP3F-.js → PandLWithForecastPage-D-000kuR-BW5fUkac.js} +11 -11
- package/dist/assets/{PaymentAccountSetupBillingAddressSection-CaZETrGz-De6JzHBj.js → PaymentAccountSetupBillingAddressSection-CwbX_znq-C6WVSYgS.js} +8 -8
- package/dist/assets/{PeoplePage-PvOhX-gy-bUl8LV-N.js → PeoplePage-MwM0lFB9-B0wgHwI1.js} +14 -14
- package/dist/assets/PortfolioAllocationFormPage-C3a4MQzW-CQIA3SiA.js +207 -0
- package/dist/assets/PortfolioDetails-BMJ6PGMP-DtrA52bw.js +218 -0
- package/dist/assets/{ProductsCarousel-qzlVuyK5-BlxLSS9s.js → ProductsCarousel-D2wC3sC--BKh2AE5P.js} +9 -9
- package/dist/assets/{PromoBaseCards-26GOEn3a-DaZDnJ-z.js → PromoBaseCards-Ddumul2a-BrEDd739.js} +23 -23
- package/dist/assets/{QBOConnectionDialog-CZQE3Tjs-Da8BEmHP.js → QBOConnectionDialog-DszSpNdI-DwqHmKSk.js} +7 -7
- package/dist/assets/{QBOSetupSection-u1sJhV67-3guqHTYH.js → QBOSetupSection-BNF-BUu5-B_yCc7Df.js} +13 -13
- package/dist/assets/{ReimbursementApprovalRuleDetailPage-vRiO7G_7-BtkXAaTL.js → ReimbursementApprovalRuleDetailPage-Myone4-k-B9H3tR1_.js} +1 -1
- package/dist/assets/{ReimbursementApprovalRulesPage-kEmFNXtg-tWOcEiR-.js → ReimbursementApprovalRulesPage-DFhp0GGU-p0zWXuJ6.js} +35 -35
- package/dist/assets/{ReimbursementDetailPage-ChyRg0eX-Claybyvt.js → ReimbursementDetailPage-BAEddssC-DcJfByf4.js} +10 -10
- package/dist/assets/{ReimbursementPromoPage-BWsOD49o-D82HFW_4.js → ReimbursementPromoPage-D4u3SX8R-ByzJ_1Sx.js} +7 -7
- package/dist/assets/ReimbursementSetUpPage-B9ByGW3n-Bt2Z4PCD.js +140 -0
- package/dist/assets/{ReimbursementsBulkReviewDrawerPage-CgRo7VeI-w-iFb9QJ.js → ReimbursementsBulkReviewDrawerPage-CAo_NjTX-O9TR0kFt.js} +1 -1
- package/dist/assets/{ReloadCard-CpauR6-c-3e4dg5U2.js → ReloadCard-BA_JCHcV-DL7NGQyj.js} +5 -5
- package/dist/assets/ReportTableViewSelector-D7B88kS6-BrGIUsj4.js +150 -0
- package/dist/assets/ReportsPage-BzMzH-I3-BKZoRCt6.js +121 -0
- package/dist/assets/{RevenueChart-JdtvK4L6-CpCUlh1v.js → RevenueChart-D33p-PFq-CGRJwc_N.js} +1 -1
- package/dist/assets/{ReviewDetailsPage-BwQoOV2Q-BSoqdtJl.js → ReviewDetailsPage-D35NcQnx-Cbn86Yy5.js} +15 -15
- package/dist/assets/{ReviewOverlay-BLxhto7d-Ote-FEid.js → ReviewOverlay-BYJdokfW-C97jtxei.js} +10 -10
- package/dist/assets/{RoleWithToolTip-BRSx6yqP-Dj7TwZqE.js → RoleWithToolTip-B3hm-1rz-OZzvKPZJ.js} +7 -7
- package/dist/assets/{ScheduleDetailsFixedAssetsPage-CH84DI7F-DS2nwC6-.js → ScheduleDetailsFixedAssetsPage-BVnISMKW-BILZO4Rn.js} +8 -8
- package/dist/assets/{ScheduleDetailsPage-CMunoow5-Kl0jdvn6.js → ScheduleDetailsPage-BibWPOxC-DZMtTy3C.js} +4 -4
- package/dist/assets/{ScheduleSequenceTable-CQVHkQ0e-Dw2nQmil.js → ScheduleSequenceTable-DcQmeKyc-JMxQ5IZq.js} +49 -49
- package/dist/assets/{ScreenRoutes-C5pHLsYO.js → ScreenRoutes-iE9-v0dJ.js} +35 -35
- package/dist/assets/{SetUpAccountSection-CyyxtFvK-Bjoxqucl.js → SetUpAccountSection-BEJy78G6-Do1X3vVo.js} +24 -24
- package/dist/assets/{SetUpDefaultSection-Bdw_aWMY-C7l-ATBb.js → SetUpDefaultSection-ul-q6U3w-CKVV_QFK.js} +16 -16
- package/dist/assets/{SignIn-Gw75P03k-B_X_KXq6.js → SignIn-BC8yop4g-CznicFTu.js} +17 -17
- package/dist/assets/{SignInScreen-CU1N7put.js → SignInScreen-k0dvslKE.js} +1 -1
- package/dist/assets/{SpendManagementListViewPage-BccaMtyd-shshvd9r.js → SpendManagementListViewPage-aZljA388--EEskYb2.js} +10 -10
- package/dist/assets/{SpendManagementPerTabPage-D-YqqUsz-DyRQAFsg.js → SpendManagementPerTabPage-BU1ai2M8-DkMZQMfc.js} +33 -33
- package/dist/assets/{SpendManagementSection-CdH1r1Vw-C3epoUbW.js → SpendManagementSection-DMw8NFvN-Cpy4Blf3.js} +8 -8
- package/dist/assets/SpendMgmtSetupAccountSection-BtcwTlJT-Bsya0Qr3.js +206 -0
- package/dist/assets/{StatementItem-BW9HKaf9-CsEdfyzn.js → StatementItem-CKTGWEW_-d6SqxmfH.js} +3 -3
- package/dist/assets/{StatementsPage-CXawS1th-D6ifdlgD.js → StatementsPage-CjR4AlPy-BQRlcz37.js} +6 -6
- package/dist/assets/{StatusSwitcher-oC-AP25Z-D-8kVIuC.js → StatusSwitcher-5CZzUYJE-qZVSFmES.js} +5 -5
- package/dist/assets/{SubTabSwitcher-DXWQMf7B-D5NgssDf.js → SubTabSwitcher-a38_U4dN-BfyQ4BdY.js} +1 -1
- package/dist/assets/{SummaryCard-C3zjN-kT-DVcdP-G4.js → SummaryCard-XbFHvHx9-CTqdwSSS.js} +1 -1
- package/dist/assets/{TaskManagementPage-BGDJNpe_-BGexoSAd.js → TaskManagementPage-Oct77yO--igT2quo0.js} +31 -31
- package/dist/assets/{TimeRangeSwitcher-BJfy3akS-o2HcwGW6.js → TimeRangeSwitcher-C4mpBnQl-CaG6dXuN.js} +3 -3
- package/dist/assets/{TimeframeSwitcher-M9tK6u0Y-C6JeMzJ1.js → TimeframeSwitcher-CnLEHYWD-BW9vKcLS.js} +5 -5
- package/dist/assets/TimeframeSwitcherWithToggle-Bc-Y5Hwv-0uMnBILy.js +31 -0
- package/dist/assets/{TopExCard-BD9Ehuw_-BEZAD6RQ.js → TopExCard-CaR8tsug-DnQ2eFWB.js} +5 -5
- package/dist/assets/{TopExDetailPage-3HoXp_6D-C4AntCB3.js → TopExDetailPage-C4QeWe92-vjJ7ZG8N.js} +10 -10
- package/dist/assets/{TransactionDetailPage-CbnGQ8bn-D1kf6rih.js → TransactionDetailPage-BoxnNYXX-2QwooFWS.js} +26 -26
- package/dist/assets/TransactionList-IjM4ABdF-DZ9PEfgX.js +147 -0
- package/dist/assets/{TransactionListBig-5aenxEn4-DbuGNI6-.js → TransactionListBig-B0FG0-BM-Br0wUjP3.js} +18 -18
- package/dist/assets/TransactionListPage-1dwu-ZT2-vlIbHO3m.js +35 -0
- package/dist/assets/{TransactionVendorDetailPage-Yi7SmsyK-pIrKO6zm.js → TransactionVendorDetailPage-gBr8kX0F-BE5xJ4Iy.js} +5 -5
- package/dist/assets/{TransferDrawerPage-2P1mhp1M-DQ83dYHD.js → TransferDrawerPage-BJVanLzC-BZZsX7dv.js} +11 -11
- package/dist/assets/{TreasuryOverviewPage-CkCBcBQK-CKBjtsts.js → TreasuryOverviewPage-DGJnHyrO-BPZDM1DN.js} +34 -34
- package/dist/assets/{TreasuryPromoPage-v-g4ZAdk-BPgVXnPP.js → TreasuryPromoPage-CblUabA3-CO5CaCN_.js} +14 -14
- package/dist/assets/{TreasurySetupPage-B7va2-fJ-CAJ9u8aR.js → TreasurySetupPage-CuROk6il-7kJUNajN.js} +2 -2
- package/dist/assets/{TreasuryStatementsPage-BEJsQ-Oz-DHPONp68.js → TreasuryStatementsPage-DfB0yrzC-osurk-aq.js} +10 -10
- package/dist/assets/{TreasuryTaxLetterPage-CpTpM1mx-Ba1IA2xd.js → TreasuryTaxLetterPage-CRoLpeXm-g70lefJl.js} +4 -4
- package/dist/assets/{TreasuryTransferOrReviewPage-BRPFympA-6Ds9mHlo.js → TreasuryTransferOrReviewPage-QMDAFbkh-CUXJN-eh.js} +77 -77
- package/dist/assets/{TrendChart-DRNocU0p-B5zGJHBv.js → TrendChart-D3_4i3qH-wYUerKRk.js} +3 -3
- package/dist/assets/{TrendWithTransactions-CldwGpXX-C-miaXCt.js → TrendWithTransactions-KkV2_0Uh-D0lwZdhf.js} +5 -5
- package/dist/assets/{UncategorizedAccountsMappingPage-2C5qEhte-D_ahOlGs.js → UncategorizedAccountsMappingPage-kKq-jvPY-CF6bAw3X.js} +1 -1
- package/dist/assets/{UnitIntegrationPage--cDHqgXs-CzBp1mNW.js → UnitIntegrationPage-CZS0yjHf-2PLtjCjv.js} +3 -3
- package/dist/assets/{UploadAdditionalDocumentOverlay-D85ML8-_-p_x3eEON.js → UploadAdditionalDocumentOverlay-KkO_TLUT-n0LOLnpS.js} +1 -1
- package/dist/assets/{Vendor2FAPopup-vdFWf98b-D5sSolYh.js → Vendor2FAPopup-wnVnkHOg-DABVEKDS.js} +1 -1
- package/dist/assets/{VendorACHDetailsPage-D7ImMabh-ChqR1RaR.js → VendorACHDetailsPage-nuzdr69i-pgOa8d0q.js} +1 -1
- package/dist/assets/{VendorDetailPage-BOeEd9pX-C40iOslI.js → VendorDetailPage-ClmL_1FB-Cz0Favu8.js} +14 -14
- package/dist/assets/{VendorDomesticWireDetailsPage-CXFrYPn8-o64Pt2o2.js → VendorDomesticWireDetailsPage-DEK3jdYu-StHUbnc9.js} +1 -1
- package/dist/assets/{VendorFiling1099EditablePage-CZFErJ91-Dq9to1zv.js → VendorFiling1099EditablePage-KMOY10Xr-C-_0rtWP.js} +9 -9
- package/dist/assets/{VendorFirstReviewPage-BHzDUMKu-DpG7tqKb.js → VendorFirstReviewPage-CLF3qT17-D1oHFEVR.js} +75 -75
- package/dist/assets/{VendorInternationalWireDetailsPage-j4j5irzH-CT3rN25J.js → VendorInternationalWireDetailsPage-C5JXqVVq-DdhMyWB0.js} +8 -8
- package/dist/assets/{VendorInternationalWireSwiftDetailsPage-DM4jC7wD-0NWOAHYt.js → VendorInternationalWireSwiftDetailsPage-7KrBqEWb-D_WpQwvk.js} +1 -1
- package/dist/assets/{VendorsAccountsSection-BTRiZlIa-D2xftT7n.js → VendorsAccountsSection-fcURK7tv-BOScGj67.js} +13 -13
- package/dist/assets/{WarningsDrawerPage-ZgfQEBme-BogIku8q.js → WarningsDrawerPage-Bnd_CdR9-B2JqHi6z.js} +10 -10
- package/dist/assets/{ZeniAccountDetailPage-xrq0Ez6S-5Y9wWxKq.js → ZeniAccountDetailPage-DRDCdFW7-D8o4Z2Hy.js} +40 -40
- package/dist/assets/{ZeniAccountListViewPage-BwXfELGd-CMYKhLC-.js → ZeniAccountListViewPage-ZPWww_Go-HRp0ORwg.js} +5 -5
- package/dist/assets/{ZeniAccountNavBarPieces-xpHuuPSD-CQw7XfH0.js → ZeniAccountNavBarPieces-DFivFXxa-rHFaK51E.js} +1 -1
- package/dist/assets/{ZeniAccountPromoPage-BvSwPEk7-sx8wuksr.js → ZeniAccountPromoPage-D1oJNoqy-C6ZFb72_.js} +18 -18
- package/dist/assets/{ZeniAccountSetupPage-yCkiopeU-oXKMyUZt.js → ZeniAccountSetupPage-DITu6ztK-Fgis_UYm.js} +3 -3
- package/dist/assets/{ZeniCopyright-BAbOOFg9-CEbrOROr.js → ZeniCopyright-DoA2I5zj-CPBH_zf-.js} +1 -1
- package/dist/assets/{ZeniTransferAmountSlider-C1sl8ZNj-C6racrVi.js → ZeniTransferAmountSlider-amszUh1p-Wx5VV7C8.js} +1 -1
- package/dist/assets/{analyticsHelper-j8smtjIR.js → analyticsHelper-BbcCIpO1.js} +1 -1
- package/dist/assets/{analyticsHelper-CkzpobMi-DnjY1jLw.js → analyticsHelper-DPbbQVAO-ChPUlKK7.js} +1 -1
- package/dist/assets/{chartTypes-JD2mR9iq-B-Dqgpc8.js → chartTypes-qpvW4LwC-4Ag0mdD1.js} +1 -1
- package/dist/assets/{commonDimensions-DRfDJ_wQ-DeEC_LLv.js → commonDimensions-DAvj4Il1-Chc9ZQai.js} +1 -1
- package/dist/assets/{detailCommon-BbKkY_46-DwHUZLAg.js → detailCommon-jP1ggD3g-CQiTz4E7.js} +5 -5
- package/dist/assets/{downloadPdf-D7ANJLK4-BVhr8pTH.js → downloadPdf-LAHtgcHF-B9uNpNRf.js} +1 -1
- package/dist/assets/{index-Dr7k10Ge.js → index-DyBH5SZv.js} +3543 -3520
- package/dist/assets/mapLoadingInProgressToTreeNode-CjvJKOzk-DeuVFxVw.js +1 -0
- package/dist/assets/{mapSectionWithAcOnlyToTreeNode-caUW45t5-Cd4Vndkt.js → mapSectionWithAcOnlyToTreeNode-Dr43nOGj-FSgubQ7E.js} +1 -1
- package/dist/assets/mapSpacerToTreeNode-COsnfFtf-DI0OXEqQ.js +1 -0
- package/dist/assets/mapTimeframeBalancesToTreeNode-BnpqSOA6-DAD3sG8g.js +1 -0
- package/dist/assets/mapTimeframeBalancesToTreeNode-DFanhVY8-Cl8Oktyg.js +1 -0
- package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-D2xlqc6w-BjPO7Xb1.js +1 -0
- package/dist/assets/{play-icon-BbWpG2oG-CGqef6-e.js → play-icon-D3OSczih-8eMagn70.js} +3 -3
- package/dist/assets/{toCOABalancesWithID-DOgHiMwn-C3l_klRD.js → toCOABalancesWithID-DeWKaovX-C_3xC96w.js} +1 -1
- package/dist/assets/{toChartData-CNfdaXyM-Cc0Cbk9b.js → toChartData-Dkp488IJ-Cg1gF7al.js} +1 -1
- package/dist/assets/{treasuryColorHelper-JBMxqa9X-CRkfUPI_.js → treasuryColorHelper-BibNNRS5-DCmyWsB-.js} +1 -1
- package/dist/assets/{uploadAttachment-BGZjtYkJ-DDuM3kuv.js → uploadAttachment-BjJ8_wDA-22p019X4.js} +25 -25
- package/dist/assets/{uploadReceipts-Buvz7DfG-CEx_e_oz.js → uploadReceipts-D80JLNY4-sjevKwVl.js} +1 -1
- package/dist/index.html +1 -1
- package/package.json +4 -4
- package/dist/assets/AccountInfoPageContent-BTk2gRyM-D5sd4ymJ.js +0 -149
- package/dist/assets/ApprovalRulesSettingsPage-CXh9tY6X-DzKaycYf.js +0 -47
- package/dist/assets/ArAgingChart-GL4vkypx-BDoyqmzK.js +0 -24
- package/dist/assets/BillPaySetUpPage-_s4R537_-DvISkevy.js +0 -42
- package/dist/assets/ChargeCardDetailPage-Kygr13jR-CNZ8Sj5E.js +0 -1447
- package/dist/assets/ChargeCardListPage-BnzdzSXW-C9n9iaEp.js +0 -355
- package/dist/assets/ChargeCardPromoPage-CSNn9X5i-Ca7vMfka.js +0 -175
- package/dist/assets/ChargeCardSetupPage-DE1pK_7F-BNJjwg-b.js +0 -36
- package/dist/assets/CollapsableReportTable-BGT77T9W-DWoWj-VL.js +0 -2860
- package/dist/assets/CustomerOnboardingContainerPage-9UTLABZ0-DmivhYy_.js +0 -1
- package/dist/assets/Dashboard-CA9685lJ-B_5dmcrq.js +0 -778
- package/dist/assets/DashboardReportPage-DQoFWd5C-D6uulgOO.js +0 -349
- package/dist/assets/HelpButton-DvD6UJq--aZr7WRfd.js +0 -28
- package/dist/assets/InvitePeoplePage-BKEDAnQ4-ByvIsC8W.js +0 -12
- package/dist/assets/NotificationsListConfig-ChVd_Bek-CKniSs8p.js +0 -1
- package/dist/assets/PortfolioAllocationFormPage-DsCeagnu-DFOtswbp.js +0 -207
- package/dist/assets/PortfolioDetails-BEa4kwk8-CITW78cn.js +0 -218
- package/dist/assets/ReimbursementSetUpPage-DO_dBP9N-CDR1Iktq.js +0 -140
- package/dist/assets/ReportTableViewSelector-D6DHFt_R-CzdBaV93.js +0 -150
- package/dist/assets/ReportsPage-D4mI3T0w-DX_lYTCz.js +0 -120
- package/dist/assets/SpendMgmtSetupAccountSection-nryeZQ0T-2tO4d4y_.js +0 -206
- package/dist/assets/TimeframeSwitcherWithToggle-L1nNDGOE-jeHox6-x.js +0 -31
- package/dist/assets/TransactionList-BBjiP2Nf-CVZYe7YT.js +0 -147
- package/dist/assets/TransactionListPage-BeVkiwkg-BwC4l02u.js +0 -35
- package/dist/assets/mapLoadingInProgressToTreeNode-e8JhfflK-BBSz2yuD.js +0 -1
- package/dist/assets/mapSpacerToTreeNode-C692pbYW-BJLTFMw5.js +0 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-DKrYq4x5-CLuyCBzc.js +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{X as P,u as Ae,
|
|
1
|
+
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,c4 as ha,l as V,a3 as fa,C as m,c5 as xa,a2 as Ce,o as t,q as ae,c6 as z,c7 as ze,c8 as L,c9 as ya,ca as Ue,cb as ga,cc as ba,cd as qe,t as $a,ce as wa,cf as He,cg as Ze,ch as Ia,ci as ja,cj as va,g as N,ck as Da,cl as Sa,aM as Oa,a5 as Ca,an as q,cm as Fe,n as p,w as Ge,K as Me,cn as Fa,H as ka,co as Ta,cp as Na,b1 as Pa,cq as La,bH as za,cr as Ma,f as Ea,b2 as R,cs as Va,v as de,a$ as Ba}from"./index-DyBH5SZv.js";import{b as _,n as s,f as Wa,k as _a}from"./vendor-CnQcJ2Lu.js";import{D as Xe}from"./LabeledCreatableSingleSelectField-DW8jVgaN-BEmOmz9t.js";import{Y as Ke}from"./LabeledDocumentField-Ce2A0qNH-CSvl2QNP.js";import{$ as Je}from"./LabeledAddressValue-DtmZ5htg-OjX3rrF7.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,a5 as ca,a as da,c3 as pa,M as k,j as a,aW 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(Da)`
|
|
24
24
|
margin-top: 2px;
|
|
25
25
|
width: ${t.sp4};
|
|
26
26
|
height: ${t.sp4};
|
|
27
27
|
color: ${N.successDark};
|
|
28
|
-
`,
|
|
28
|
+
`,Ua=s(Sa)`
|
|
29
29
|
margin-top: 2px;
|
|
30
30
|
width: ${t.sp4};
|
|
31
31
|
height: ${t.sp4};
|
|
32
32
|
color: ${N.important};
|
|
33
|
-
`,
|
|
33
|
+
`,qa=s.div`
|
|
34
34
|
margin-top: ${t.sp1};
|
|
35
35
|
`,Ha=s(Ca)`
|
|
36
36
|
color: ${N.neutralGrey2Light};
|
|
37
|
-
`,
|
|
37
|
+
`,Za=s.div`
|
|
38
38
|
max-width: ${e=>Qe.contentMaxWidth.valuePx(e.windowSize)};
|
|
39
39
|
margin: ${t.sp0} ${t.sp3};
|
|
40
|
-
`,
|
|
40
|
+
`,Ga=s(Oa)`
|
|
41
41
|
color: ${e=>e.isSuccess?N.success:N.important};
|
|
42
|
-
`,
|
|
42
|
+
`,Xa=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,a5 as ca,a as da,c3 as pa,M as k,j as a,aW as ma,F as ua,c
|
|
|
47
47
|
&:hover {
|
|
48
48
|
color: ${N.primaryDark};
|
|
49
49
|
}
|
|
50
|
-
`,
|
|
50
|
+
`,Ka=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(Ua,{}),a.jsxs(Za,{windowSize:o,children:[a.jsx(Ga,{isSuccess:c,children:c?n.success:n.error}),a.jsx(qa,{children:a.jsx(Ha,{children:Ka(l)})})]}),a.jsx(Xa,{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:y,sectionId:b,isDisabled:h,companyIncInfo:$,style:I}=e,S=ne.labelWidth.value(o),j=ne.largeLabelWidth.value(o),g=ne.largeLabelDocumentWidth.value(o),{dateFormat:{visual:O},companyPassport:D}=k.getLocalizedStrings(),x=r.find(K=>K.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(Xe,{label:{label:D.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(ga,{label:{label:D.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:S},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(Ke,{name:re(b,"certificateOfIncorporation"),isDisabled:h,sizeLimit:qe,deleteFileStatusById:u,updateFileStatusById:y,filesEndPoint:d.filesEndPoint,authParams:d.authParams,label:{label:c.certificateOfIncorporation,width:g},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:K=>i(K)}),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,a5 as ca,a as da,c3 as pa,M as k,j as a,aW 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(q)`
|
|
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,a5 as ca,a as da,c3 as pa,M as k,j as a,aW 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(Ge)`
|
|
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,a5 as ca,a as da,c3 as pa,M as k,j as a,aW 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}`))})},X={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:X.labelMarginLeft.value(n),marginRight:X.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=>X.width.valuePx(e.size)};
|
|
101
101
|
height: auto;
|
|
102
|
-
padding-right: ${e=>
|
|
103
|
-
padding-top: ${e=>
|
|
104
|
-
padding-bottom: ${e=>
|
|
102
|
+
padding-right: ${e=>X.marginRight.valuePx(e.size)};
|
|
103
|
+
padding-top: ${e=>X.paddingTopBottom.valuePx(e.size)};
|
|
104
|
+
padding-bottom: ${e=>X.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,a5 as ca,a as da,c3 as pa,M as k,j as a,aW 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,y=fe.labelWidth.value(r),b=fe.mediumLabelWidth.value(r),h=fe.largeLabelWidth.value(r),$=r==="small"?v.companyInfo.businessModelPlaceholderSmall:v.companyInfo.businessModelPlaceholder,I=S=>o.find(j=>j.code===S)?.name??S;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:Z(n,"companyName"),placeholder:L(v.companyInfo.companyName),defaultValue:l?.companyName,autoComplete:"new-password",options:{required:!!u.name,pattern:ze}}}),a.jsx(U,{}),a.jsx(z,{isDisabled:c,label:{label:v.companyInfo.legalName,width:b},text:{type:"text",name:Z(n,"legalName"),placeholder:L(v.companyInfo.legalName),defaultValue:l?.legalName,autoComplete:"new-password",options:{required:!!u.companyLegalName,pattern:ze}}}),a.jsx(U,{}),a.jsx(z,{isDisabled:c,label:{label:v.companyInfo.website,width:y},text:{type:"url",name:Z(n,"website"),placeholder:L(v.companyInfo.website),defaultValue:l?.website?.toString()??"",autoComplete:"new-password"}}),a.jsx(U,{}),a.jsx(ya,{label:{label:v.companyInfo.industry,width:y},singleSelectField:{singleSelect:{name:Z(n,"industry"),placeholder:v.companyInfo.industryPlaceholder,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:I,isDisabled:c,showTickMark:!1},defaultValue:{selectedOption:l?.industry,allOptions:o?.map(S=>S.code)??[]}},isFunctional:!0}),a.jsx(U,{}),a.jsx(Xe,{isDisabled:c,label:{label:v.companyInfo.businessModel,width:h},creatableSingleSelectField:{name:Z(n,"businessModel"),placeholder:$,defaultValue:{selectedOption:l?.businessModel,allOptions:v.companyInfo.allBusinessModels}}}),a.jsx(U,{}),a.jsx(Je,{isDisabled:c,label:{label:v.companyInfo.address,width:y},addressValue:{placeholder:L(v.companyInfo.address),address:i?.addressToCreate,onClick:()=>f("company_address")}}),a.jsx(U,{}),a.jsx(Ue,{isDisabled:c,label:{label:v.companyInfo.phone,width:y},text:{name:Z(n,"phone"),placeholder:L(v.companyInfo.phone),defaultValue:l?.phone,autoComplete:"new-password"}}),a.jsx(U,{}),a.jsx(pe,{label:{label:v.companyInfo.fiscalYear,width:y},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)}`},Z=(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,a5 as ca,a as da,c3 as pa,M as k,j as a,aW 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(q)`
|
|
128
128
|
color: ${e=>e.theme.colors.champion};
|
|
129
129
|
margin-bottom: ${t.sp3};
|
|
130
|
-
`,
|
|
130
|
+
`,U=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),y=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:y!==!0},showFullNameError:!0}}),a.jsx(ye,{}),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:y===!0?!1:b},defaultValue:i?.email,autoComplete:"new-password"}}),a.jsx(ye,{}),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(ye,{}),a.jsx(Ue,{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}=Ze(),[d,r]=_.useState(-1),u=k.getLocalizedStrings().companyPassport,y=e.length,b=e.length===1&&e[0].localData?.userId==null,h=f(o),$=()=>{const g={userId:void 0,officerType:`Officer_${y+1}`,name:{firstName:"",lastName:""},email:"",phone:""};c(o,[...h,g])},I=g=>{if(e[g].localData==null||!e[g].localData?.firstName&&!e[g].localData?.lastName&&!e[g].localData?.phone&&!e[g].localData?.email&&!e[g].addressStatus?.addressToCreate){const O=h.filter((D,x)=>x!==d);c(o,O),r(-1)}else r(g)},S=()=>{r(-1)},j=()=>{const g=h.filter((O,D)=>D!==d);c(o,g),r(-1)};return a.jsxs(gt,{style:l,children:[a.jsx($t,{children:u.companyOfficer.title}),e.map((g,O)=>{const D=g.localData,x=g.addressStatus,B=D?.userId==null||D?.userId==="";return a.jsxs(wt,{children:[(y>1||B)&&!b?a.jsx(xt,{curIndex:O,isNewUser:B,numberOfOfficers:y,deleteConfirmationIndex:d,isDisabled:i,onDeleteClick:I,onCancelClick:S,onRemoveOfficerSection:j}):null,a.jsx(ht,{sectionId:`${o}.${O}`,officer:D,officerAddress:x,isDisabled:i,isEmptyCompanyOfficerSection:b,onOfficerAddressClick:n})]},D?.officerType)}),y<=9&&!b?a.jsx(yt,{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]})},yt=({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(Dt,{}),a.jsx(St,{children:l.companyOfficer.addOfficer})]}),a.jsx($e,{})]})},xe=(e,o)=>`${e}.${o}`,gt=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,a5 as ca,a as da,c3 as pa,M as k,j as a,aW 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(q)`
|
|
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,a5 as ca,a as da,c3 as pa,M as k,j as a,aW as ma,F as ua,c
|
|
|
157
157
|
display: flex;
|
|
158
158
|
}
|
|
159
159
|
}
|
|
160
|
-
`,It=s(
|
|
160
|
+
`,It=s(q)`
|
|
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,a5 as ca,a as da,c3 as pa,M as k,j as a,aW 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
|
+
`,Dt=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
|
+
`,St=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,a5 as ca,a as da,c3 as pa,M as k,j as a,aW 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
|
+
`,ye=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}}=Ze(),r=Ae(),u=Ta(d,e??""),y={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:S}})=>a.jsx(Pa,{...b,ref:S,isMulti:!0,isSearchable:!0,isClearable:!0,controlShouldRenderValue:!0,placeholder:c,value:Ve(I.selectedOptions),options:Ve(I.allOptions),onChange:j=>{h({selectedOptions:j.map(g=>g.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:Zt,IndicatorSeparator:Gt,Placeholder:Vt,ClearIndicator:Et},hideSelectedOptions:!1,styles:y,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(Ut,{children:a.jsx(At,{isSelected:o,isDisabled:l,children:e.label})}),o?a.jsxs(qt,{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,a5 as ca,a as da,c3 as pa,M as k,j as a,aW 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
|
+
`,Ut=s.div`
|
|
379
379
|
width: 100%;
|
|
380
380
|
display: flex;
|
|
381
381
|
align-items: center;
|
|
382
|
-
`,
|
|
382
|
+
`,qt=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,a5 as ca,a as da,c3 as pa,M as k,j as a,aW 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
|
+
`,Zt=()=>null,Gt=()=>null,Ve=e=>e.map(o=>Xt(o)),Xt=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 Kt({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,a5 as ca,a as da,c3 as pa,M as k,j as a,aW 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:y,updateFileStatusById:b,sectionId:h,isDisabled:$,companyTaxInfo:I,style:S}=e,j=Be.labelWidth.value(o),g=Be.largeLabelWidth.value(o),O=!V.hasAdminLevelAccess(l.loggedInUserRole??[]),D=u.find(x=>x.documentType==="tax_ein");return a.jsxs(eo,{style:S,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:G(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:G(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:G(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:G(h,"sicCode"),placeholder:c.companyTaxInfo.sicCodePlaceholder,defaultValue:I?.sicCode,options:{pattern:/^\d{2,4}$/},autoComplete:"new-password"}}),a.jsx(ee,{}),a.jsx(Kt,{isDisabled:$,label:{label:c.companyTaxInfo.taxesFiledYears,width:j},multiSelectField:{name:G(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(Ke,{name:G(h,"einDocument"),isDisabled:$,sizeLimit:qe,deleteFileStatusById:y,updateFileStatusById:b,filesEndPoint:r.filesEndPoint,authParams:r.authParams,label:{label:f.einDocument,width:g},filemetadataPayload:{documentType:"tax_ein",purposeId:"business_verification",documentSide:"front"},file:D,acceptableTypes:["image/jpg","image/jpeg","image/png","application/pdf","image/heic","image/heif"],registerOptions:{required:!1},hasError: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 G=(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,a5 as ca,a as da,c3 as pa,M as k,j as a,aW 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(q)`
|
|
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,a5 as ca,a as da,c3 as pa,M as k,j as a,aW 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(Ge)`
|
|
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,a5 as ca,a as da,c3 as pa,M as k,j as a,aW 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(q)`
|
|
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,a5 as ca,a as da,c3 as pa,M as k,j as a,aW 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 yo({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 go=Wa.memo(yo,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,a5 as ca,a as da,c3 as pa,M as k,j as a,aW as ma,F as ua,c
|
|
|
529
529
|
border-bottom-left-radius: inherit;
|
|
530
530
|
border-bottom-right-radius: inherit;
|
|
531
531
|
}
|
|
532
|
-
`,
|
|
532
|
+
`,ge={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=ge.labelWidth.value(f),y=ge.mediumLabelWidth.value(f),b=ge.largeLabelWidth.value(f),h=e.company.company,{controllers:$,subscriptions:I}=e,{managementInfo:S}=h,j=f==="small"?d.zeniFinanceTeam.scheduleCallPlaceholderSmall:d.zeniFinanceTeam.scheduleCallPlaceholder,g=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)})))),D=S.receiverEmails.map(x=>({text:x}));return a.jsxs(Io,{children:[a.jsx(vo,{children:d.zeniFinanceTeam.title}),a.jsxs(jo,{children:[a.jsx(go,{label:{label:d.zeniFinanceTeam.controller,width:y},avatarLabels:{users:$.map(x=>x.user)}}),a.jsx(ce,{}),n===!0?a.jsx(z,{isDisabled:i,label:{label:d.zeniFinanceTeam.scheduleCall,width:y},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:y},button:{buttonTitle:d.zeniFinanceTeam.schedule,onClick:()=>c(o.meetingLink)}}):null,D.length>0?a.jsxs(a.Fragment,{children:[a.jsx(ce,{}),a.jsx(pe,{label:{label:d.zeniFinanceTeam.emailUs,width:u},bullettedLabels:{labels:D,listStyleType:"none"}})]}):null,g.length>0?a.jsxs(a.Fragment,{children:[a.jsx(ce,{}),a.jsx(pe,{label:{label:d.zeniFinanceTeam.subscriptionPlans,width:b},bullettedLabels:{labels:g,listStyleType:"none"}})]}):null,O.length>0?a.jsxs(a.Fragment,{children:[a.jsx(ce,{}),a.jsx(pe,{label:{label:d.zeniFinanceTeam.addons,width:y},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,a5 as ca,a as da,c3 as pa,M as k,j as a,aW 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(q)`
|
|
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,a5 as ca,a as da,c3 as pa,M as k,j as a,aW 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",De="primaryContact",Se="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:y,onCompanyOfficerUpdated:b,onNewCompanyOfficerAdded:h,onPrimaryContactDetailsUpdated:$,onNewCompanyOfficerRemoved:I,onSaveAll:S,onAddressClick:j,onScheduleClick:g,onBackClick:O,onResetClick:D,onEditFileName:x,updateFilesEntity:B,onDeleteFile:me,onClickMenuIcon:K}=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;y({companyInfo:C,incInfo:F,taxDetails:A,zeniFinanceTeam:ue})}else if(T.includes(De)){$(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(Se)){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),S()}),{companyPassport:se,common:{settings:na}}=k.getLocalizedStrings();if(J==null)throw new Error("Company View is null");return a.jsxs(Do,{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:K}),Q!=null?a.jsx(Ja,{fetchState:Q,onRemoveSnackbar:()=>oe(void 0)}):null,a.jsxs(So,{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:De,primaryContact:ta.localData,isDisabled:r}),a.jsx(ft,{companyOfficers:ie,sectionId:Se,isDisabled:r,onOfficerAddressClick:j}),a.jsx($o,{data:J,companyInfo:le?.companyInfo,isDisabled:r,isZeniUser:n,sectionId:Oe,onScheduleClick:g})]})})]}),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(),D()}}}):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},[De]:{userId:i.localData?.userId,name:{firstName:i.localData?.firstName,lastName:i.localData?.lastName},email:i.localData?.email},[Se]: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()??""}}},Do=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
|
+
`,So=s.div`
|
|
560
560
|
display: flex;
|
|
561
561
|
flex-wrap: wrap;
|
|
562
562
|
justify-content: center;
|
package/dist/assets/{CompleteProfile-Bd9xEPVl-Cy044ZoG.js → CompleteProfile-DTSAIKgF-WX_HRfP5.js}
RENAMED
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
import{a as R,
|
|
1
|
+
import{a as R,ge as M,M as $,j as e,F as T,T as f,c6 as q,cf as z,cc as G,l as K,o as a,ca as _,gf as H,a3 as W,c0 as Y,bo as Z,gg as J}from"./index-DyBH5SZv.js";import{b as g,f as b,n}from"./vendor-CnQcJ2Lu.js";import{$ as Q}from"./LabeledAddressValue-DtmZ5htg-OjX3rrF7.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:v,verifyOtpStatus:h,saveStatus:w,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(X,{children:[e.jsxs(ee,{children:[s&&e.jsx(oe,{onClick:E}),t.completeProfile.title]}),e.jsx(te,{children:e.jsx(T,{...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(q,{isDisabled:"disabled",showAdditionalInfoLabel:!1,label:{label:t.common.labels.email,width:168},style:{width:"100%"},text:{type:"text",name:d(r,"email")}}),e.jsx(z,{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(G,{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:K.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:v,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:w.fetchState==="In-Progress"},showCancel:!1})]})},U=n.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
min-height: 100vh;
|
|
5
|
-
`,
|
|
5
|
+
`,X=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(Y)`
|
|
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(Z)`
|
|
20
20
|
cursor: pointer;
|
|
21
21
|
width: ${a.sp4};
|
|
22
22
|
height: ${a.sp4};
|
package/dist/assets/{ConfettiBurst-CMpZ2feY-D-Nq3IFV.js → ConfettiBurst-CjONFCxD-BbasMJ1h.js}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{d1 as m,ab as l,j as a,aj as f,o as n}from"./index-DyBH5SZv.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 c="https://storage.googleapis.com/zeni-apis.appspot.com/data/confetti_sfx.mp3",C=({showConfetti:t})=>{const[e,p]=i.useState(t),[o,s]=m(c),[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{C as default};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import{u as
|
|
1
|
+
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 as ae,bQ as ie,bR as se,ct as Ge,a3 as Ke,C as W,bo as Xe,o,cu as Ze,bs as k,bH as le,n as f,al as de,w as ce,q as Q,aN as Je,cq as pe,g as L,cv as me,cn as ue}from"./index-DyBH5SZv.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:v})=>{const j=w(),p=h.getLocalizedStrings().spendManagement.billPay.vendorCreation,g=t.jsxs(tt,{children:[t.jsxs(H,{children:[t.jsx(q,{children:m}),t.jsx(Y,{children:d})]}),t.jsxs(H,{children:[t.jsx(q,{children:p.achDetails.bankName}),t.jsx(Y,{children:s})]}),t.jsxs(H,{children:[t.jsx(q,{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(),v()},"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
|
+
`,H=r.div`
|
|
6
6
|
display: flex;
|
|
7
7
|
justify-content: space-between;
|
|
8
8
|
width: 100%;
|
|
9
|
-
`,
|
|
9
|
+
`,q=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 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 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=w(),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(wt,{})})})})]})},pt=r.div`
|
|
74
74
|
display: flex;
|
|
75
75
|
flex-wrap: wrap;
|
|
76
76
|
gap: ${o.sp1};
|
|
@@ -132,7 +132,7 @@ 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 a
|
|
|
132
132
|
&:hover {
|
|
133
133
|
color: ${e=>e.theme.colors.primary};
|
|
134
134
|
}
|
|
135
|
-
`,
|
|
135
|
+
`,wt=r(ue)`
|
|
136
136
|
width: ${o.sp3};
|
|
137
137
|
height: ${o.sp3};
|
|
138
138
|
cursor: pointer;
|
|
@@ -140,7 +140,7 @@ 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 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 w
|
|
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=w(),[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??"":"",z=i=>e==="ach"?i.bankRoutingNumberAch:e==="wire"&&a==="us-domestic"?i.bankRoutingNumberWireTransfer:e==="wire"&&a==="international"?i.bankSwiftCode??"":"",B=()=>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:v,children:`${he(e,a)} ${c.accountsLabel}`}),s?.map(i=>t.jsx(te,{children:t.jsx(et,{bankName:i.bankName,bankAccountNumberOrIban:T(i),routingNumberOrSwiftCode:z(i),routingNumberOrSwiftCodeLabel:B(),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(vt,{onAddAccountDetailsSection:m,type:e,subType:a})]})},vt=({onAddAccountDetailsSection:e,type:a,subType:s})=>{const d=w(),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 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 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=w(),d=h.getLocalizedStrings().spendManagement.billPay.vendorCreation;return t.jsxs(Vt,{children:[t.jsxs(Bt,{windowSize:s,children:[`${d.mailingAddressLabel}`,t.jsx(zt,{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(Je)`
|
|
179
179
|
width: ${o.sp3};
|
|
180
180
|
height: ${o.sp3};
|
|
181
181
|
cursor: pointer;
|
|
@@ -223,10 +223,10 @@ 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 a
|
|
|
223
223
|
display: block;
|
|
224
224
|
}
|
|
225
225
|
}
|
|
226
|
-
`,
|
|
226
|
+
`,zt=r(ce)`
|
|
227
227
|
color: ${e=>e.theme.colors.grey1};
|
|
228
228
|
transform: translateY(${o.sp1});
|
|
229
|
-
`,
|
|
229
|
+
`,Bt=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 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 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(Ze)`
|
|
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(Xe)`
|
|
270
270
|
cursor: pointer;
|
|
271
271
|
color: ${e=>e.theme.colors.hero};
|
|
272
272
|
width: 20px;
|
|
@@ -278,4 +278,4 @@ 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 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,Jt=({vendorViewDetails:e,vendorId:a,screenType:s,analytics:d,filesEndPoint:u,authParams:m,vendorSearchAutoCompleteData:v,vendorSearchAutoCompleteActions:j,isLocalCurrencyEnabled:p,onBackClick:g,onVendorSelected:y,navigateToBankDetailPage:I,updateSelectedVendorForCreate:N,onRemoveBankAccount:c,updateSaveFetchState:S,onSaveVendor:P,navigateToMailingAddressPage:T,saveVendorDetailLocalData:z,resetVendorDetailLocalData:B,saveContactsInVendorDetailLocalData:V,updateFilesEntity:i,onEditFileName:xe,onFetchAndUpdateVendorRecommendations:ge})=>{const{accountList:{accounts:$e},classList:{classes:be},vendorTypeList:ye,ownerList:fe,editVendorState:G,newVendorState:K,fetchState:we,hasWireTransfer:X,hasInternationalWireTransfer:R,deleteFileStatusById:ve,updateFileStatusById:je,accountsHierarchyList:Ce,classHierarchyList:ke}=e,D=a!=null?G?.vendorDetailLocalData:K?.vendorDetailLocalData,l=Object.assign({},G??K),Se=qe(),C=w(),[De,F]=x.useState(!1),[Ae,O]=x.useState(!1),Z=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(),ze=!U(Pe,Te),Be=(D?.contacts??[]).filter(n=>n.email!==""||n.fullName!==""||n.phone!=="").map(n=>Ye(n,"contactInfoType")),Ve=l.vendorBasic?.contacts??[],Re=!U(Be,Ve),Fe=l.bankAccountsUpdated.filter(n=>!!n.bankRoutingNumberAch),Oe=l.bankAccountsUpdated.filter(n=>!!n.bankRoutingNumberWireTransfer),Ee=l.paymentInstrumentsUpdated.filter(n=>!!n.piNumber),J=()=>{O(!0)},Me=n=>{F(n)},Ue={onOkClick:()=>{O(!1),F(!1),B?.(),g()},onCancelClick:()=>{O(!1),F(!1)}},E=x.useRef(null),We=n=>{E.current?.syncFormData(),T(n)},M=(n,He)=>{E.current?.syncFormData(),I(n,He)};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:Z,backgroundColor:Se.colors.grey4,leftSideComponent:t.jsx(Mt,{onClick:J,"data-testid":b("create-edit-vendor-nav-bar-back")}),enableTitleOnScroll:!0,scrollableContent:ee,source:"CreateOrEditVendorPage"}),t.jsxs(Ft,{windowSize:C,ref:ee,children:[we==="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:Z}):null,t.jsx(Ge,{ref:E,id:re(oe),allAccounts:$e,allClasses:be,accountsHierarchyList:Ce,classHierarchyList:ke,vendorTypeList:ye,allOwners:fe,vendorSearchAutoCompleteData:v,vendorSearchAutoCompleteActions:j,onVendorSelected:y,screenType:s,hasInternationalWireTransfer:R,selectedVendor:l,formLocalData:D,isBankAccountChanged:Ne,isContactListChanged:Re,isPaymentInstrumentChanged:ze,analytics:d,pageBackBtnClicked:Ae,onBackClick:g,onSaveVendor:P,saveContactsInVendorDetailLocalData:V,updateSelectedVendorForCreate:N,saveVendorDetailLocalData:z,updateFilesEntity:i,toggleConfirmationPopup:Me,filesEndPoint:u,authParams:m,onEditFileName:xe,deleteFileStatusById:ve,updateFileStatusById:je,onFetchAndUpdateVendorRecommendations:ge,isLocalCurrencyEnabled:p}),X||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,X&&(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(Ke,{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:J}})]})};export{Jt as default,re as formUniqueName};
|