@zeniai/web-cockpit-ui 1.15.26-dev → 1.15.27-dev
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/assets/{ACHDetailsPage-CxpLuJpQ-oljmG-aN.js → ACHDetailsPage-49jTvZnX-Be-zaLi0.js} +1 -1
- package/dist/assets/{AIPerformancePage-BtDuOBey-B5mBQCVW.js → AIPerformancePage-DJea2aE9-B9iO1fyz.js} +1 -1
- package/dist/assets/AccountInfoPage-Dv1rJn72-BUHG0zde.js +18 -0
- package/dist/assets/{AccountInfoPageContent-BLF92_vF-CW7wtofP.js → AccountInfoPageContent-zf4BRg29-DZX6BB3M.js} +7 -7
- package/dist/assets/{AccountLockedInfoModal-AsMkXu1I-CUepwrH5.js → AccountLockedInfoModal-CxoC-scs-DZJuQo5m.js} +1 -1
- package/dist/assets/{AccountReconDetailsDrawerPage-CkaBrm5K-KV-fem_5.js → AccountReconDetailsDrawerPage-DI40FQGK-9O64pVIg.js} +1 -1
- package/dist/assets/{AccountRow-aEmcYP8T-NzxiJ7E0.js → AccountRow-CxEUX108-Ctuhzest.js} +1 -1
- package/dist/assets/{AccountsPromoCardStack-C0At5pn8-BVyntxD9.js → AccountsPromoCardStack-ugkcP4hS-Bj_Nb7Iz.js} +1 -1
- package/dist/assets/{AddAddressForCardDrawer-CbjThbsA-DCBhdPbu.js → AddAddressForCardDrawer-KZ-LVrwR-BRcI_JTS.js} +1 -1
- package/dist/assets/{AddToWalletPage-CMJwUbgf-CbZx4F8y.js → AddToWalletPage-CmBtO-Jx-CFwvepkh.js} +1 -1
- package/dist/assets/{AgingReportsPage-B_BSfude-DZk6eQ7D.js → AgingReportsPage-BgZqIoFH-CBXVGn8J.js} +1 -1
- package/dist/assets/{AllUserItems-CGlWa60t-Bsvj0Bul.js → AllUserItems-CMkg4gXl-Dbiuf_va.js} +3 -3
- package/dist/assets/{ApAgingDetailPage-DT3vkmLG-hWexPQ-R.js → ApAgingDetailPage-CIc4rs2--CTxo3gfJ.js} +1 -1
- package/dist/assets/{AppBasePage-CDy7wPlv-BdtLe6Er.js → AppBasePage-Ch3JOqQA-CkD3FaNp.js} +1 -1
- package/dist/assets/{AppDrawerContent-CEsXm_i6-DvQRPFBq.js → AppDrawerContent-DK3tTd88-Ebl_NVYT.js} +1 -1
- package/dist/assets/{ApprovalRulesSettingsPage-CB2_4-2f-DqEewSSN.js → ApprovalRulesSettingsPage-8myNAB_M-Bfi0yOAc.js} +1 -1
- package/dist/assets/{ArAgingChart-qxhWsIQb-BR0MyGhc.js → ArAgingChart-D8yl6Fco-iPMSgvYP.js} +1 -1
- package/dist/assets/{ArAgingDetailPage-BbzQryp_-si9TyFWf.js → ArAgingDetailPage-DMPLqLKl-D3301L0t.js} +4 -4
- package/dist/assets/{AttachmentView-duTVxc9g-Cx51cWLo.js → AttachmentView-Cxyodtel-B24U0bgX.js} +1 -1
- package/dist/assets/{BankAccountSection-CAwAf9xK-dEu3iigm.js → BankAccountSection-DGuhn7CN-DmUf2oBe.js} +1 -1
- package/dist/assets/{BankAccountWarningSection-CaDnP9_--B_s5lRpF.js → BankAccountWarningSection-l79_AN7P-wzRxiGEn.js} +1 -1
- package/dist/assets/{BankConnectionsSettingsPage-CDV7O8cl-CKVB9msh.js → BankConnectionsSettingsPage-CkF3K8e8-C4TR4rEL.js} +1 -1
- package/dist/assets/{BillDetailPage-DJxh2CIc-BDq5xtCx.js → BillDetailPage-CaAXVwe3-C9NFzEPg.js} +1 -1
- package/dist/assets/{BillPayApprovalRuleDetailPage-B2ZPbqtr-DoqAcsu7.js → BillPayApprovalRuleDetailPage-CFiMiJVw-BuCRs1eu.js} +1 -1
- package/dist/assets/{BillPayApprovalRulesPage-MM7v8ZMx-BqexuGBp.js → BillPayApprovalRulesPage-qpF8Wy4I-B3HFhggf.js} +1 -1
- package/dist/assets/{BillPayPromoPage-JK-VOx4W-CHt5RuWY.js → BillPayPromoPage-CNUoM-3L-1wklXGZ-.js} +7 -7
- package/dist/assets/{BillPaySetUpPage-h0uoCWMl-B3vp9xYH.js → BillPaySetUpPage-D_hRCBF5-Imf9v1rc.js} +1 -1
- package/dist/assets/{BillingSettingsPage-gJG9OxD6-sAZcxvhc.js → BillingSettingsPage-BfvQsRnJ-VinZfITV.js} +1 -1
- package/dist/assets/{BillsBulkReviewDrawerPage-CPPDFsZt-D7n_HeTo.js → BillsBulkReviewDrawerPage-BRVd0a8c-DFmDsImO.js} +1 -1
- package/dist/assets/{BoxItem-CYe_gTmA-3TpRGAgq.js → BoxItem-COPJh7Lh-BtEwjrhv.js} +1 -1
- package/dist/assets/{BusinessVerificationPage-Dos8Bnvb-tV078-eh.js → BusinessVerificationPage-CdRHA3h2-CIWKUgi1.js} +1 -1
- package/dist/assets/{CardNumberSubText-CFDhtij8-Dsv6kEZQ.js → CardNumberSubText-Md18DQb7-Ci7Q_wrC.js} +1 -1
- package/dist/assets/{CashbackDetailPage-BBGGzKh7-DUHJlZVl.js → CashbackDetailPage-CfB0mGdX-DgwWmp2K.js} +1 -1
- package/dist/assets/{ChargeCardDetailPage-BQhago53-wjHuLhkC.js → ChargeCardDetailPage-ByOcHh0H-DEou_IlL.js} +1 -1
- package/dist/assets/{ChargeCardListPage-B0E-C3RH-B7k2t4T5.js → ChargeCardListPage-9aL08yGW-Ba0oB6VC.js} +1 -1
- package/dist/assets/{ChargeCardListTable-ByGv0xWl-DMSCDnKA.js → ChargeCardListTable-CbqF_9f3-C6X1RqBh.js} +16 -16
- package/dist/assets/{ChargeCardPaymentHistoryPage-LCY9rFqO-BkZDtpLS.js → ChargeCardPaymentHistoryPage-Dp_vLjiJ-C_QznI13.js} +1 -1
- package/dist/assets/ChargeCardPromoPage-8Oz0DmQv-CtVY_-8P.js +222 -0
- package/dist/assets/{ChargeCardSetupPage-BHv2VOdc-7YAt9Um1.js → ChargeCardSetupPage-DYOCe46h-e0p7QaI6.js} +1 -1
- package/dist/assets/{ChargeCardStatementsPage-UpRXyPTS-DMihpC1F.js → ChargeCardStatementsPage-BLws2jOd-DH79p6d7.js} +1 -1
- package/dist/assets/{CheckDepositDrawerPage-0zbTQ3Fa-BLYoChOi.js → CheckDepositDrawerPage-Bc3a4vVO-QMFCIXbb.js} +1 -1
- package/dist/assets/{CollapsableReportTable-DlYIKSlQ-CcB96aJz.js → CollapsableReportTable-4-6Wne7j-Bn8DnqeK.js} +1 -1
- package/dist/assets/{CompanyOfficerDetailsSection-Ck0xqZ0d-BRXSA5bv.js → CompanyOfficerDetailsSection-C_S5WXms-iJZMGPb2.js} +1 -1
- package/dist/assets/{CompanyPassportCard-DeVPuuje-pYw0P8-e.js → CompanyPassportCard-DPwqwt8k-UccZMyh-.js} +2 -2
- package/dist/assets/{CompanyPassportPage-F_GUET9a-DyWAWfST.js → CompanyPassportPage-DDjpq5T1-zONxBEPm.js} +13 -13
- package/dist/assets/{CompleteProfile-Y6HwKtpz-CAD13Y73.js → CompleteProfile-C6o_Ez-L-Do1B6QH5.js} +1 -1
- package/dist/assets/{ConfettiBurst-BGE3Okwr-BH3P6Vot.js → ConfettiBurst-DNR3qv8X-ptw_T_Cq.js} +1 -1
- package/dist/assets/{ConstrainedInnerElement-BeIpAPjB-BElBEfq9.js → ConstrainedInnerElement-BeIpAPjB-DchKqY-F.js} +1 -1
- package/dist/assets/{CreateOrEditVendorPage-BlZe6gmh-CQZW25xI.js → CreateOrEditVendorPage-Bcj3U0s_-5vJHklRM.js} +1 -1
- package/dist/assets/{CreditCardPaymentDrawerPage-flPmyCaF-BN_zrabq.js → CreditCardPaymentDrawerPage-CI3GD2-u-DH6MMFER.js} +1 -1
- package/dist/assets/{CurrencySelectField-RiKAivD8-Men9-Qs8.js → CurrencySelectField-98tevzzy-BlqO4MuW.js} +1 -1
- package/dist/assets/{CustomerOnboardingActivationPage-B7dLMk4g-9XWjuxWa.js → CustomerOnboardingActivationPage-BSsdFKhb-BMSgiMMy.js} +1 -1
- package/dist/assets/CustomerOnboardingContainerPage-DgiK94cf-CHSTlWE8.js +1 -0
- package/dist/assets/{CustomerOnboardingDetailPageSkeleton-AWsst0XH-Dm9ock3U.js → CustomerOnboardingDetailPageSkeleton-D5gblIdv-CFqfFpT0.js} +1 -1
- package/dist/assets/{CustomerOnboardingNoStepsPage-Bqid4-rH-1Q4j5GPR.js → CustomerOnboardingNoStepsPage-DCt6wtfH-Cjj8y-RZ.js} +1 -1
- package/dist/assets/{CustomerOnboardingPage-B5LrMzZS-C9Fs1CgW.js → CustomerOnboardingPage-_HuMZOrd-CaMRm4tt.js} +4 -4
- package/dist/assets/{CustomerOnboardingProductSuitePage-DqgoBLWp-CqOyrhHJ.js → CustomerOnboardingProductSuitePage-DcX7v8VV-DCl6Er8S.js} +3 -3
- package/dist/assets/{Dashboard-D0KlujCx-DnjbaQQd.js → Dashboard-C12cMR4f-BJHxNm8C.js} +1 -1
- package/dist/assets/{DashboardReportPage-bxKyMsG7-D9LgF6Vc.js → DashboardReportPage-C8FygWL_-zsIsDvlx.js} +1 -1
- package/dist/assets/{DashboardSidebarBackgroundAnimation-Ch0OiH1g-8bPW9HsA.js → DashboardSidebarBackgroundAnimation-eTAs_vdL-CSWEzD2n.js} +1 -1
- package/dist/assets/{DepositAccTransactionItem-BdZVCAx--B5mbkfQv.js → DepositAccTransactionItem-BuwWbrWB-LoOAd3VM.js} +1 -1
- package/dist/assets/{DepositAccTransactionListPage-LU0QMdSV-BPGsYfzN.js → DepositAccTransactionListPage-C1XXM6Qy-C72sFA4v.js} +1 -1
- package/dist/assets/{DomesticWireDetailsPage-CFt5GgZ1-DPIozVv0.js → DomesticWireDetailsPage-t6W8wYH8-BW3aYQzE.js} +1 -1
- package/dist/assets/{DownloadOverlay-CH_bA3On-JFXgpsko.js → DownloadOverlay-CJYnXgCn-odTawGXc.js} +1 -1
- package/dist/assets/{DrawerPage-Cpdp-IFb-6O8ALZwh.js → DrawerPage-isFPi2CS-BP0DVAOi.js} +1 -1
- package/dist/assets/{EditPeoplePage-BYnuNojX-COJTJTYl.js → EditPeoplePage-4fN2aCBr-BHmm7eYD.js} +1 -1
- package/dist/assets/{EditReimbursementDetailPage-DnyyPZ26-CW_m0PAT.js → EditReimbursementDetailPage-CVMvR_xa-Y5W6LDDw.js} +1 -1
- package/dist/assets/EntityDetailPage-C8dRi0hQ-ChhHQBUx.js +18 -0
- package/dist/assets/{EntitySummarySection-BFpgAYAM-CKlhnXLV.js → EntitySummarySection-BXo9RrQK-BuIKOVzl.js} +1 -1
- package/dist/assets/{ExpenseAutomationOverviewPage-YjOVm_Bw-BDJuPgHE.js → ExpenseAutomationOverviewPage-DPfeujDA-5Pkl4JAF.js} +59 -59
- package/dist/assets/ExpenseAutomationPage-CWEo8JL8-DDq4rvWb.js +1700 -0
- package/dist/assets/{ExpressPayPage-CKqPEfbR-pk0o4BxB.js → ExpressPayPage-Dlku9oMT-sidjttl1.js} +1 -1
- package/dist/assets/{FeaturePreviewPage-Cs1Y3nP0-BgQT4DqF.js → FeaturePreviewPage-qJmxWW10-BCL41LPf.js} +1 -1
- package/dist/assets/{FollowStepsSection-BCyL8Jdr-CPpGgHn-.js → FollowStepsSection-DxAp4i9T-Cs3p7RFB.js} +1 -1
- package/dist/assets/{GlobalReviewListPage-CBQFcVHd-XH4CFBRM.js → GlobalReviewListPage-Cadf7AIC-BB24FYDU.js} +1 -1
- package/dist/assets/{InformationCardStack-nFMetrAy-CMfT3sbg.js → InformationCardStack-BZhYP37l-Dd2otSYf.js} +1 -1
- package/dist/assets/{InsightsCardStack-CEMeGJXy-DkdJ-vVc.js → InsightsCardStack-CPZtVqq5-BUF_fSK4.js} +1 -1
- package/dist/assets/{InsightsSection-BYiN2xB7-Tq3IZNKc.js → InsightsSection-0ekovQH4-BlPNJh_U.js} +2 -2
- package/dist/assets/{IntegrationsSettingsPage-BQ7g3a3K-BdOaL4VS.js → IntegrationsSettingsPage-CNis_Wk3-DA1OiLg5.js} +2 -2
- package/dist/assets/{InternationalWireSwiftDetailsPage-BHRYsZgm-DSuBLSD4.js → InternationalWireSwiftDetailsPage-8g16Kgfi-B71tbLSL.js} +1 -1
- package/dist/assets/{InternationalWireVerificationPage-tJbVtzQP-CQvYGebF.js → InternationalWireVerificationPage-ofzwcymr-CT3lnfto.js} +1 -1
- package/dist/assets/{InviteFormPage-BVXte8w8-MDAVTXGi.js → InviteFormPage-pQDs7n3f-Dvolqiav.js} +1 -1
- package/dist/assets/{InvitePageListView-DFPyLLrA-CONqmQCs.js → InvitePageListView-DJYwE5Il-BdRMo6ep.js} +1 -1
- package/dist/assets/{InvitePeoplePage-B-uxjkke-6b_Qz0Yf.js → InvitePeoplePage-CgSGdi3i-BzFWBUb-.js} +1 -1
- package/dist/assets/{InvoiceUploadSection-B9q7nIs0-DhF51Ukp.js → InvoiceUploadSection-BEp8eQB4-DHRScRES.js} +1 -1
- package/dist/assets/{IssueChargeCardPage-BuLj1bOl-DtlAMUV4.js → IssueChargeCardPage-DX3kJ72T--bI6SGG9.js} +1 -1
- package/dist/assets/{LabeledAddressValue-D2t8ti-C-Z0RI74Eh.js → LabeledAddressValue-DWDFf_hN-e4LanhXy.js} +1 -1
- package/dist/assets/{LabeledAddressValueField-DMcor_I8-C6G1J4Y2.js → LabeledAddressValueField-Ckm80g0_-fddiRWcN.js} +1 -1
- package/dist/assets/{LabeledControlledCheckBoxField-B6w2HGJK-6LsZxWHa.js → LabeledControlledCheckBoxField-Dhta-oad-BOgGTnpX.js} +1 -1
- package/dist/assets/{LabeledCreatableSingleSelectField-DHNAX5Pu-BPIIBKMF.js → LabeledCreatableSingleSelectField-CWhimq6W-CiffZWxa.js} +1 -1
- package/dist/assets/{LabeledDocumentField-Bx1u7vv_-DaqPO373.js → LabeledDocumentField-z2O1tykl-BOR0XPyM.js} +1 -1
- package/dist/assets/{LabeledDropDownFormattedTextField-BBS4da2b-Pp7kOChU.js → LabeledDropDownFormattedTextField-BZu90SFF-CT4k7JQd.js} +1 -1
- package/dist/assets/{LabeledText-zjKn4Cw--WpJNibWz.js → LabeledText-DlIRkA7r-DGwEr03s.js} +1 -1
- package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-CIofqRT6-l_A9LTk7.js → LabeledUserSingleSelectWithSubtitlesField-CXwZdQ0K-DDygkuei.js} +3 -3
- package/dist/assets/{LabeledZeniRolesDropDownField-DiBtAWQ3-_N52HAlB.js → LabeledZeniRolesDropDownField-CWui0vqF-DJaOZiml.js} +1 -1
- package/dist/assets/{LinkJETransactionPage-D66bzDh_-B4JreFf6.js → LinkJETransactionPage-DJfFhIWc-DH9uk_Nk.js} +1 -1
- package/dist/assets/{LockCardPage-B1g2TZWL-hWz0sEAN.js → LockCardPage-Cv9rUAY7-DKakaJGE.js} +6 -6
- package/dist/assets/{LowBalancePopup-DbtHeVY--8cU4w1E0.js → LowBalancePopup-DnRpH2rk-CPocaNr6.js} +1 -1
- package/dist/assets/MagicLinkACHDetailsPage-CdmfROQK-B3EIdmd3.js +1 -0
- package/dist/assets/MagicLinkDomesticWireDetailsPage-BqqCZBUT-3K5d9lKn.js +1 -0
- package/dist/assets/MagicLinkInternationalWireDetailsPage-QDfBddvz-DxlDIcb0.js +1 -0
- package/dist/assets/{MagicLinkSuccessPage-BkxuITX--B7psstiC.js → MagicLinkSuccessPage-ABpq3GEM-347FQa8F.js} +1 -1
- package/dist/assets/{MagicLinkTitleSection-CqkZ9wOf-BR_t9OGm.js → MagicLinkTitleSection-ygghGjqi-CPCSmIlY.js} +1 -1
- package/dist/assets/{MailingDetailsSection-DRFGCM2W-D_ajBet8.js → MailingDetailsSection-DtuTgXeV-BAt57tta.js} +1 -1
- package/dist/assets/{MyBankConnectionsSettingsPage-CE2ZqHBJ-DRRK16jW.js → MyBankConnectionsSettingsPage-BRy7gQIK-D0ljHEmg.js} +1 -1
- package/dist/assets/{MyPendingActivationChargeCardListPage-BffxXDZg-DDMywOmd.js → MyPendingActivationChargeCardListPage-eCLt21RY-DdeT-VxA.js} +1 -1
- package/dist/assets/{MyProfileSettingsPage-DrsAlesY-CW5UQDbf.js → MyProfileSettingsPage-C-GlfSxD-BPv3bj5w.js} +5 -5
- package/dist/assets/{NavBarWithPicker-C4VfP_Kw-BlN6D07W.js → NavBarWithPicker-MP4pdS6O-ETw04dfI.js} +1 -1
- package/dist/assets/{NavigationArrow-DCCxx6H7-HhnIS8HH.js → NavigationArrow-CxS8-9O0-BQImrbmZ.js} +1 -1
- package/dist/assets/{NavigationDots-tWCw6Bpk-Mo0z1mhF.js → NavigationDots--7KEcIuu-eftMXpdw.js} +1 -1
- package/dist/assets/{NewGlobalMerchantPage-UIA8zAjd-D_Ilslhf.js → NewGlobalMerchantPage-wYBwn2dL-D2xZN2Wq.js} +1 -1
- package/dist/assets/{NoDataChart-Bvetk9za-Dz6Kgiua.js → NoDataChart-Bd0aKX8D-BMtoTVvu.js} +1 -1
- package/dist/assets/{NoDataTable-9xF1_3XS-gmK0ApJv.js → NoDataTable-Bjbt7lt9-QawSofKO.js} +1 -1
- package/dist/assets/{NotFoundPage-CdH-3upl-BWvfv-me.js → NotFoundPage-CxAhFmy2-D61A-JG3.js} +7 -7
- package/dist/assets/{NotificationSettingsPage-DP2gGIz1-CAx-Ob95.js → NotificationSettingsPage-BwTc94Y4-DxMem3GE.js} +1 -1
- package/dist/assets/{NotificationsListConfig-DG-DH2Aj-B1EWk1B7.js → NotificationsListConfig-f-Y-UtEy-BzHeGbqt.js} +1 -1
- package/dist/assets/{NotificationsPage-CgFMmR2X-DW2MYafR.js → NotificationsPage-Cds6qhVt-Dyww7PRK.js} +1 -1
- package/dist/assets/{OpExByVendorPage-eUvIAWzt-J9dFs64l.js → OpExByVendorPage-CF6Q-SV2-DWalefYD.js} +1 -1
- package/dist/assets/{OverlayContainerPage-D4QU0p4o-CRh-4TRn.js → OverlayContainerPage-D4QU0p4o-DiYJgmmr.js} +1 -1
- package/dist/assets/{PandLWithForecastPage-8S06Nyi5-Bs1OiKUY.js → PandLWithForecastPage-DwWcx5eK-szNL9FCt.js} +2 -2
- package/dist/assets/{PaymentAccountSetupBillingAddressSection-DQtrANhI-CgW6kWBO.js → PaymentAccountSetupBillingAddressSection-DIP_uznB-B7DNBV4H.js} +1 -1
- package/dist/assets/{PeoplePage-D1BLHtO0-Cm2cmSqy.js → PeoplePage-BgP7kTw9-CG9DTLLQ.js} +1 -1
- package/dist/assets/{Preview-CyX-vurX.js → Preview-CyY8fFSj.js} +1 -1
- package/dist/assets/{ProductsCarousel-BKSXWnFR-BT4vvSaJ.js → ProductsCarousel-CJlGSrBH-C82GY9tH.js} +1 -1
- package/dist/assets/{PromoBaseCards-BYT9nEJT-1c2PW57m.js → PromoBaseCards-fx9bhHkF-5GD0MDQm.js} +1 -1
- package/dist/assets/{QBOConnectionDialog-C2-omQMZ-CW3-Jgl1.js → QBOConnectionDialog-CGAr0mXC-CrSLQG4V.js} +1 -1
- package/dist/assets/{QBOSetupSection-lgv5wVlg-Db43UmDc.js → QBOSetupSection-D-fnn99E-yQD39UVj.js} +7 -7
- package/dist/assets/{ReimbursementApprovalRuleDetailPage-CbJViS3x-DEQyVs-F.js → ReimbursementApprovalRuleDetailPage-DvhdOKpF-CHqGgBzD.js} +1 -1
- package/dist/assets/{ReimbursementApprovalRulesPage-BuNt-Bmb-qkoyA-iD.js → ReimbursementApprovalRulesPage-BB4c1_YZ-B3-dzOHa.js} +1 -1
- package/dist/assets/{ReimbursementDetailPage-CK3-Jqkd-ComGCWG4.js → ReimbursementDetailPage-DpWhzOF9-Dixn1uCw.js} +1 -1
- package/dist/assets/{ReimbursementPromoPage-fptOAJna-UPQyz9k9.js → ReimbursementPromoPage-CYS1ZeFL-DbUZbWTa.js} +8 -8
- package/dist/assets/{ReimbursementSetUpPage-CidrpT2g-C4LYSo0t.js → ReimbursementSetUpPage-CoOFmpfw-CzqYPddc.js} +1 -1
- package/dist/assets/{ReimbursementsBulkReviewDrawerPage-Cy_Hediw-DbKZBLTq.js → ReimbursementsBulkReviewDrawerPage-DAYEgH4V-CKgr6iyS.js} +1 -1
- package/dist/assets/{ReloadCard-C81rGzOp-DY4k84ea.js → ReloadCard-clq1KPzy-DLLVDS4G.js} +1 -1
- package/dist/assets/{ReportTableViewSelector-neRSjrhV-C6WBlOcq.js → ReportTableViewSelector-CU3PZ-xy-CDmAbwqP.js} +1 -1
- package/dist/assets/{ReportsPage-BhzQVaer-B4A4M4e5.js → ReportsPage-C5QPXAa--D9Rm-qp8.js} +5 -5
- package/dist/assets/{RevenueChart-x7uTbFlm-CNwMod8g.js → RevenueChart-BM8cNGoZ-OoJdgTQW.js} +1 -1
- package/dist/assets/{ReviewDetailsPage-jXZCylzg-BIFUDhZH.js → ReviewDetailsPage-Dp29TV8A-pDKCfw94.js} +2 -2
- package/dist/assets/{ReviewOverlay-nlm2HnGw-9bQU05T1.js → ReviewOverlay-OXnAkRJ_-Di_D_VlI.js} +1 -1
- package/dist/assets/{RoleWithToolTip-C29QOzxS-BIz3hnmq.js → RoleWithToolTip-BCeMfqCC-DiZyrWD_.js} +1 -1
- package/dist/assets/{ScheduleDetailsFixedAssetsPage-CkPzofLN-BgCHEx2z.js → ScheduleDetailsFixedAssetsPage-BUWOvDMW-DaI6ZQoZ.js} +1 -1
- package/dist/assets/{ScheduleDetailsPage-BSZefKOh-6HOYgX85.js → ScheduleDetailsPage-F2KQ46TD-VVV77yxd.js} +1 -1
- package/dist/assets/{ScheduleSequenceTable-BW5M7Zfq-Cc7Psi6L.js → ScheduleSequenceTable-c-8N2OvE-DWSKrTJR.js} +1 -1
- package/dist/assets/{ScreenRoutes-DOxgrmyz.js → ScreenRoutes-BYoqwzEO.js} +1 -1
- package/dist/assets/{SetUpAccountSection-C703iFL6-DWHc95vH.js → SetUpAccountSection-CPw8BhAT-Bu28TndH.js} +1 -1
- package/dist/assets/{SignIn-D9K5FklU-C-Fq_guN.js → SignIn-DT4-gKMD-DgVi8USa.js} +6 -6
- package/dist/assets/{SignInScreen-pGoo9woj.js → SignInScreen-CdADJVAt.js} +1 -1
- package/dist/assets/{SpendManagementListViewPage-CBNtC74m-DqpxdGQ6.js → SpendManagementListViewPage-YoHK4LrJ-DYhZa44h.js} +3 -3
- package/dist/assets/{SpendManagementPerTabPage-D_sa7WRd-CzMD5xEZ.js → SpendManagementPerTabPage-CEJxlQwu-D8XVtvOY.js} +1 -1
- package/dist/assets/{SpendManagementSection-DpZUTV6m-Dyv3RP83.js → SpendManagementSection-Dbk_Ojop-DcKtjVjR.js} +1 -1
- package/dist/assets/{StatementItem-DvdSsb8I-4NJSevH0.js → StatementItem-DO9WpE-R-Do-IIiY-.js} +5 -5
- package/dist/assets/StatementsPage-Cf8pwDhO-RC289M0h.js +58 -0
- package/dist/assets/{StatusSwitcher-hKYgwNLC-CE1foddz.js → StatusSwitcher-B523Fhna-CVWspTKV.js} +1 -1
- package/dist/assets/{SubTabSwitcher-aeDd9xiF-D4uOjs0t.js → SubTabSwitcher-Dgwgj3Si-U0zspkd_.js} +1 -1
- package/dist/assets/SummaryCard-CGteKBHk-27q94esm.js +1 -0
- package/dist/assets/{TaskManagementPage-D2Ooq8DR-DrMY4gdr.js → TaskManagementPage-CIQeYwEY-C7-23Lr5.js} +1 -1
- package/dist/assets/{TimeRangeSwitcher-DEqlZxa6-BNFFHAst.js → TimeRangeSwitcher-8lNpLdVr-Dj19rYPc.js} +11 -11
- package/dist/assets/{TimeframeSwitcher-BppC6giF-D-wC9bQx.js → TimeframeSwitcher-B-l9fJ1Q-ByHm5vUq.js} +1 -1
- package/dist/assets/{TimeframeSwitcherWithToggle-CbX9ElMN-Txpnr2g5.js → TimeframeSwitcherWithToggle-3yKIUhvE-DaSH_yQW.js} +2 -2
- package/dist/assets/{TopExCard-Cy6tPVSx-B-keVDu8.js → TopExCard-C-CBza7t-C8HWdf71.js} +1 -1
- package/dist/assets/{TopExDetailPage-Rtrcdkcp-BJDfbujg.js → TopExDetailPage-Dx_w2Wmt-By36tBTS.js} +8 -8
- package/dist/assets/{TransactionActivityLogPage-DbwSsjPJ-BIwIVqy-.js → TransactionActivityLogPage-CA6FGjPI-DoUnK6pL.js} +1 -1
- package/dist/assets/{TransactionDetailPage-D-vXAAB7-Bzb02Sjl.js → TransactionDetailPage-CpNGUBqP-gfLrfFlK.js} +1 -1
- package/dist/assets/{TransactionList-BruCNjQg-CPy3bOrg.js → TransactionList-CvRmT2Lq-C1JZRVpn.js} +1 -1
- package/dist/assets/{TransactionListBig-bp7q3prH-B3o9La4k.js → TransactionListBig-v8qd1Ec7-hwFVnuVq.js} +1 -1
- package/dist/assets/{TransactionListPage-ZfJsaVb8--vXsSJCl.js → TransactionListPage-C23zWqxy-DgePPgum.js} +1 -1
- package/dist/assets/{TransactionVendorDetailPage-CldkuO2--QReUEWYz.js → TransactionVendorDetailPage-vpDqNBSu-BIkJjCOi.js} +1 -1
- package/dist/assets/{TransferDrawerPage-DswS6KZf-BpK3RBCC.js → TransferDrawerPage-5FY_zDCE-DJ5J1SOB.js} +1 -1
- package/dist/assets/{TreasuryOverviewPage-DWo7iRpO-gYNjYUSH.js → TreasuryOverviewPage-DDjaj1jW-B4JtoLhv.js} +1 -1
- package/dist/assets/{TreasuryPromoPage-DQxCF3-4-BI9m1Cpo.js → TreasuryPromoPage-D3y0Te0d-DmBRPB0W.js} +1 -1
- package/dist/assets/TreasuryStatementsPage-BF_EZUjg-suQxt6u_.js +58 -0
- package/dist/assets/{TreasuryTaxLetterPage-DH3su_rX-Dyk_wpPB.js → TreasuryTaxLetterPage-C1nYfVbO-eUqGz6CJ.js} +2 -2
- package/dist/assets/{TrendChart-BMHDaOeh-DUFeSEwp.js → TrendChart-DwYxYNR7-JcI7qpjF.js} +1 -1
- package/dist/assets/{TrendWithTransactions-DDLrmIrt-D7YkaYJE.js → TrendWithTransactions-BJnpKKqL-DKCgJJvT.js} +1 -1
- package/dist/assets/{UncategorizedAccountsMappingPage-3SW8Gj0Z-DxcmP_9M.js → UncategorizedAccountsMappingPage-CxlG2JUW-Cij2klA0.js} +5 -5
- package/dist/assets/{UnitIntegrationPage-DPMy8dXP-Ds2V7iqZ.js → UnitIntegrationPage-DaIJxSo2-GGpI7ByY.js} +1 -1
- package/dist/assets/{UploadAdditionalDocumentOverlay-BHpT2al--Bh-cR8rL.js → UploadAdditionalDocumentOverlay-Bw9ymrDY-BTVIu0dz.js} +1 -1
- package/dist/assets/{Vendor2FAPopup-C6gEOhUv-DnLG0jax.js → Vendor2FAPopup-DxlOTzWL-DAG_NkfZ.js} +1 -1
- package/dist/assets/VendorACHDetailsPage-CQ6OiO4V-vWpnVdE1.js +1 -0
- package/dist/assets/{VendorDetailPage-BC1FhaQA-BTYI8FHa.js → VendorDetailPage-BGrtc6EE-DmQ5F0In.js} +1 -1
- package/dist/assets/VendorDomesticWireDetailsPage-D5yME16K-CGPyvaCT.js +1 -0
- package/dist/assets/{VendorFiling1099EditablePage-DYyPOA8D-SaXokDu7.js → VendorFiling1099EditablePage-A5wcCVBF-DUjQTYJL.js} +1 -1
- package/dist/assets/{VendorFirstReviewPage-Cpmk7rDk-CLDuk2Z1.js → VendorFirstReviewPage-Dr6MMvIq-LfXi6VDf.js} +1 -1
- package/dist/assets/{VendorInternationalWireDetailsPage-CWAWq6kq-BqWv0FEj.js → VendorInternationalWireDetailsPage-BJUaxg9g-C6pvbY6G.js} +1 -1
- package/dist/assets/VendorInternationalWireSwiftDetailsPage-v2icyO6w-6aTsJwry.js +1 -0
- package/dist/assets/{VendorsAccountsSection-CGQ35Mhp-CZRiYNTG.js → VendorsAccountsSection-B9OpiDDc-Ck5imuYH.js} +1 -1
- package/dist/assets/{VerifyDevice-CfMJW1Vh-CQyEdsek.js → VerifyDevice-CViWQbOn-CG6KWpvG.js} +7 -7
- package/dist/assets/{VideoPlayer-BNBpjXJk-S1NV6cBn.js → VideoPlayer-D5QP-myQ-CVNLOpWk.js} +2 -2
- package/dist/assets/{VideoPopup-BF6lmB7l-C8AjwQYx.js → VideoPopup-_4nnxGFK-rc_W8uy0.js} +2 -2
- package/dist/assets/{WarningsDrawerPage-Crj70lnR-CqPc_yNz.js → WarningsDrawerPage-D8X9a6pX-DcE35uzS.js} +1 -1
- package/dist/assets/{ZeniAccountDetailPage-CaA6m3tQ-BxjiYTPx.js → ZeniAccountDetailPage-B2gRhBJz-BpnCGmCc.js} +1 -1
- package/dist/assets/{ZeniAccountListViewPage-x_51gDs1-BURzAUSX.js → ZeniAccountListViewPage-Dc4IWyQw-6oEyCUyL.js} +1 -1
- package/dist/assets/{ZeniAccountNavBarPieces-Csr24dri-Dtq04dNH.js → ZeniAccountNavBarPieces-CYTd-7fg-D7gLlXGG.js} +1 -1
- package/dist/assets/{ZeniAccountPromoPage-lxKBk2r5-B3car8p6.js → ZeniAccountPromoPage-B5rTE2aZ-DtGW6mZ_.js} +1 -1
- package/dist/assets/{ZeniAccountSetupPage-DUI4-2Zw-CqTcY3yC.js → ZeniAccountSetupPage-BlS6FEcT-D8fD5QNH.js} +1 -1
- package/dist/assets/{ZeniCopyright-DxEZ4DiK-Bx5L4V4v.js → ZeniCopyright-DbOXr6hr-D49zDt7K.js} +1 -1
- package/dist/assets/{ZeniTransferAmountSlider-4Nq4Sm9J-CWNMmcE5.js → ZeniTransferAmountSlider-DMdKnrKk-BOekYkfn.js} +1 -1
- package/dist/assets/{add-to-wallet-DgdBD8_G-Ckn7-tS3.js → add-to-wallet-DgdBD8_G-Z21-4-a3.js} +1 -1
- package/dist/assets/{analytics-DgE91yP9.js → analytics-Dd9GkS_R.js} +1 -1
- package/dist/assets/{analyticsHelper-CL-t3Y2i-DqLgDKAm.js → analyticsHelper-BLLOc8oW-Bb5BI_Zu.js} +1 -1
- package/dist/assets/{analyticsHelper-qCgSbR3t.js → analyticsHelper-Cn36jH2S.js} +1 -1
- package/dist/assets/{arrow-south-east-round-PEovUgvH-6_ok8u4n.js → arrow-south-east-round-PEovUgvH-K7zlCGlW.js} +1 -1
- package/dist/assets/{auto-transfer-rule-mbafm5D3-DaMjzKK3.js → auto-transfer-rule-mbafm5D3-rBHUDSkc.js} +1 -1
- package/dist/assets/{chartTypes-B3501CSI-Eia1dEGg.js → chartTypes-zuOlWPZo-CqRIct--.js} +1 -1
- package/dist/assets/{commonDimensions-YcBBlmYP-HRUAmifl.js → commonDimensions-aMGDpjmW-UhXAGxHS.js} +1 -1
- package/dist/assets/{constants-DU2Tv8MD.js → constants-BydUCFaZ.js} +1 -1
- package/dist/assets/{core-CEu4PzGb.js → core-DjXOmtSJ.js} +1 -1
- package/dist/assets/{dash.all.min-wN4tXsVF.js → dash.all.min-CWcs0-Ft.js} +1 -1
- package/dist/assets/{detailCommon-C19MYPnq-B5eEk_1Z.js → detailCommon-CdZh0YNF-Bty6HpPL.js} +2 -2
- package/dist/assets/{downloadPdf-DPAqxw6u-DccTm81d.js → downloadPdf-BnXVGESU-CGO5_V0v.js} +1 -1
- package/dist/assets/{empty-CarmpCiV.js → empty-Be_kj3Mu.js} +1 -1
- package/dist/assets/{empty-SBaJLmT7.js → empty-BpWqyf7V.js} +1 -1
- package/dist/assets/{epic-jB8ji6P2.js → epic-B6XzQXM_.js} +1 -1
- package/dist/assets/{gift-box-Cmt9OgIZ-Cfao5pzw.js → gift-box-Cmt9OgIZ-DJPtxuMD.js} +1 -1
- package/dist/assets/{graphic-no-data-l-DU4J8fDt-CtMgv3E2.js → graphic-no-data-l-DU4J8fDt-znOHf3Hs.js} +1 -1
- package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-CxhhGXfI.js → graphic-no-data-net-burn-l-CzmycA0m-53oymvWB.js} +1 -1
- package/dist/assets/{handshake-BPg58FML-Cr0KvGET.js → handshake-BPg58FML-ttNYOOdS.js} +1 -1
- package/dist/assets/{index-qEET5oej.js → index-B0Fm_ZMY.js} +1 -1
- package/dist/assets/{index-CM4tXRl_.js → index-BsyBnYxZ.js} +1 -1
- package/dist/assets/{index-DotN2qpo.js → index-COyPtNQ2.js} +1 -1
- package/dist/assets/{index-C65pc_ms.js → index-DhICZ-la.js} +1 -1
- package/dist/assets/{index-GSKpJ8ET.js → index-Dm-b67Hf.js} +6 -6
- package/dist/assets/{index-DdSqYqAO.js → index-SgTym3_u.js} +1 -1
- package/dist/assets/{index-CTIRcS5n.js → index-w81TKwF8.js} +1 -1
- package/dist/assets/{lexical-CnqcqOEB.js → lexical-C3TbZeLl.js} +1 -1
- package/dist/assets/{liveblocks-D1OOExFG.js → liveblocks-EGukjQZF.js} +1 -1
- package/dist/assets/{lottie-fNTw06NH.js → lottie-DiLnfF8e.js} +1 -1
- package/dist/assets/mapLoadingInProgressToTreeNode-B0oj9Ot5-CWtpcdPC.js +1 -0
- package/dist/assets/{mapSectionWithAcOnlyToTreeNode-BDWD3x8r-CFpEHrc_.js → mapSectionWithAcOnlyToTreeNode-rtn-dPyU-DWwT8Nhv.js} +1 -1
- package/dist/assets/mapSpacerToTreeNode-8mFwNdh5-CeSJa54a.js +1 -0
- package/dist/assets/mapTimeframeBalancesToTreeNode-BkHI2m3e-DSk1PCnB.js +1 -0
- package/dist/assets/mapTimeframeBalancesToTreeNode-bQ2VDSub-CJiyKqIU.js +1 -0
- package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-CcMctgAq-lqSBZOT1.js +1 -0
- package/dist/assets/{mui-DenpH-hx.js → mui-BLkKBV85.js} +1 -1
- package/dist/assets/{page-detail-CWX5S47F-CMu9po0A.js → page-detail-CWX5S47F-D6GzdE4M.js} +1 -1
- package/dist/assets/{panelSelectedMixin-CzfD5-Zs-Z09J1JBQ.js → panelSelectedMixin-CzfD5-Zs-CBMeGjo8.js} +1 -1
- package/dist/assets/{radio-default-CiSgisfh--A7TRB5H.js → radio-default-CiSgisfh-B552CYET.js} +1 -1
- package/dist/assets/{react-BbEkWrBm.js → react-4oUCwWHz.js} +1 -1
- package/dist/assets/{react-BNXAqjdV.js → react-BCL5SMXn.js} +1 -1
- package/dist/assets/{react-CX4zcxjw.js → react-BDnWTul0.js} +1 -1
- package/dist/assets/{react-BGO_hhif.js → react-CXrmdcVg.js} +1 -1
- package/dist/assets/{react-BbsHWhNi.js → react-ChBDOzx3.js} +2 -2
- package/dist/assets/{react-D97zLppZ.js → react-CkV5VFp3.js} +1 -1
- package/dist/assets/{react-DvuAhc__.js → react-DiNjY5yl.js} +1 -1
- package/dist/assets/{react-B5LP5NK7.js → react-FSAp6Eni.js} +1 -1
- package/dist/assets/{recharts-9NtTDQfo.js → recharts-B8tzuQ8V.js} +1 -1
- package/dist/assets/{sentry-BZBky1_g.js → sentry-C2Rgx3zV.js} +1 -1
- package/dist/assets/{shield-DOlUxcFf-DnxNebOP.js → shield-DOlUxcFf-BI7xxvqa.js} +1 -1
- package/dist/assets/toCOABalancesWithID-DUpgxtrc-n-6zkqkw.js +1 -0
- package/dist/assets/{toChartData-DzatRnt8-Cq2-M4CL.js → toChartData-BNPIbcXQ-DT2tu_Ad.js} +1 -1
- package/dist/assets/{uploadAttachment-Bq8dk-Sm-DirS4o1A.js → uploadAttachment-4MEQNz0J-C1Mi8_qq.js} +1 -1
- package/dist/assets/{uploadReceipts-Dge0cNF1-BKdcUL2b.js → uploadReceipts-Dge0cNF1-C7ahzxC1.js} +1 -1
- package/dist/assets/{url-0W_uXmZ-.js → url-DdNhcJXF.js} +1 -1
- package/dist/assets/{url-Z1gMB4SW.js → url-i42p6QIP.js} +1 -1
- package/dist/assets/{useLongPress-GCK2COYQ-B8bxkfF-.js → useLongPress-GCK2COYQ-Cz3dEUgW.js} +1 -1
- package/dist/assets/{usp-line-BBd1wKwW-BPsPtX_C.js → usp-line-BBd1wKwW-DBnWZzCO.js} +1 -1
- package/dist/assets/{utils-CHibiken.js → utils-CQTOz44B.js} +1 -1
- package/dist/assets/{zeni-epic-state-BKgIzPpM.js → zeni-epic-state-TdgpFmku.js} +3 -3
- package/dist/index.html +1 -1
- package/package.json +2 -2
- package/dist/assets/AccountInfoPage-DkpBGfrR-BAuNBIod.js +0 -18
- package/dist/assets/ChargeCardPromoPage-CKEnOseD-C5Oe_CBA.js +0 -222
- package/dist/assets/CustomerOnboardingContainerPage-BHPDhC3d-CAVfCCXg.js +0 -1
- package/dist/assets/EntityDetailPage-DSfZZ1JW-NbMT0IAK.js +0 -18
- package/dist/assets/ExpenseAutomationPage-DlhH-R-e-DCW88pdW.js +0 -1700
- package/dist/assets/MagicLinkACHDetailsPage-X1pXkZYT-7knh_ltw.js +0 -1
- package/dist/assets/MagicLinkDomesticWireDetailsPage-BDl8k_bB-ESO2QI-z.js +0 -1
- package/dist/assets/MagicLinkInternationalWireDetailsPage-Q4lIsHtG-J3sKHPD3.js +0 -1
- package/dist/assets/StatementsPage-73jGj5P2-DfWSq1-t.js +0 -58
- package/dist/assets/SummaryCard-CK8Gxbiu-DemkEVCq.js +0 -1
- package/dist/assets/TreasuryStatementsPage-CYkPtmaT-BgyV-fq7.js +0 -58
- package/dist/assets/VendorACHDetailsPage-LNCcubjL-BnzYtLeS.js +0 -1
- package/dist/assets/VendorDomesticWireDetailsPage-CLudahOt-DWedRRGC.js +0 -1
- package/dist/assets/VendorInternationalWireSwiftDetailsPage-CUtums8t-Cnhhvl1i.js +0 -1
- package/dist/assets/mapLoadingInProgressToTreeNode-D2u9MDI--Bj-YdG55.js +0 -1
- package/dist/assets/mapSpacerToTreeNode-Blr3egSm-C65_6eW3.js +0 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-3Hd8QHr2-D-fvMaDb.js +0 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-D-LTfKnD-D-V0iqTB.js +0 -1
- package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-CffU-RPP-Cn_Z85da.js +0 -1
- package/dist/assets/toCOABalancesWithID-D35Fk0m2-dL9iDsOU.js +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{J as N,e as Ae,aR as da,a9 as pa,cG as ma,F as k,V as a,bD as ua,ac as ha,cH as fa,aS as xa,y as m,cI as
|
|
1
|
+
import{J as N,e as Ae,aR as da,a9 as pa,cG as ma,F as k,V as a,bD as ua,ac as ha,cH as fa,aS as xa,y as m,cI as ya,c as Ce,o as t,al as ee,cJ as z,cK as ze,cL as L,cM as ba,cN as Ue,cO as ga,cP as $a,cQ as qe,aw as wa,cR as Ia,cS as He,cT as Ge,cU as ja,cV as va,cW as Da,p as P,cX as Sa,cY as Oa,bt as Ca,aU as Fa,ba as U,cZ as Fe,u as p,ai as Ze,i as Me,c_ as ka,aE as Ta,c$ as Pa,d0 as Na,bI as La,d1 as za,cj as Ma,d2 as Ea,am as Va,bJ as W,d3 as Ba,b as ce,bH as _a}from"./index-Dm-b67Hf.js";import{a as _,P as Wa}from"./sentry-C2Rgx3zV.js";import{n as s,k as Ra}from"./mui-BLkKBV85.js";import{Fk as Ya,bj as Je,bL as Aa,bh as be,bC as Ua,Fl as qa}from"./zeni-epic-state-TdgpFmku.js";import{I as Qe}from"./LabeledCreatableSingleSelectField-CWhimq6W-CiffZWxa.js";import{Y as Xe}from"./LabeledDocumentField-z2O1tykl-BOR0XPyM.js";import{$ as Ke}from"./LabeledAddressValue-DWDFf_hN-e4LanhXy.js";import"./liveblocks-EGukjQZF.js";import"./core-DjXOmtSJ.js";import"./recharts-B8tzuQ8V.js";import"./lottie-DiLnfF8e.js";import"./analytics-Dd9GkS_R.js";import"./lexical-C3TbZeLl.js";import"./utils-CQTOz44B.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new e.Error().stack;o&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[o]="46e8224c-4fd5-4825-801f-3824bc2af77c",e._sentryDebugIdIdentifier="sentry-dbid-46e8224c-4fd5-4825-801f-3824bc2af77c")}catch{}})();const ea={maxWidth:new m(280,340),contentMaxWidth:new m(200,255)},Ha=Ra`
|
|
2
2
|
0% {
|
|
3
3
|
transform: translateX(100%)
|
|
4
4
|
}
|
|
@@ -47,7 +47,7 @@ import{J as N,e as Ae,aR as da,a9 as pa,cG as ma,F as k,V as a,bD as ua,ac as ha
|
|
|
47
47
|
&:hover {
|
|
48
48
|
color: ${P.primaryDark};
|
|
49
49
|
}
|
|
50
|
-
`,tt=e=>{const o=k.getLocalizedStrings().companyPassport.snackBar;return e==="Error"?o.failedText:o.successText};function ot(e){const o=N(),{fetchState:l,onRemoveSnackbar:i}=e;_.useEffect(()=>{setTimeout(i,5e3)});const n=k.getLocalizedStrings().companyPassport.snackBar,c=l==="Completed";return a.jsxs(Ga,{windowSize:o,children:[c?a.jsx(Za,{}):a.jsx(Ja,{}),a.jsxs(Ka,{windowSize:o,children:[a.jsx(et,{isSuccess:c,children:c?n.success:n.error}),a.jsx(Qa,{children:a.jsx(Xa,{children:tt(l)})})]}),a.jsx(at,{onClick:i,children:a.jsx(Ce,{})})]})}const se={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 lt(e){const o=N(),[l,i]=_.useState(!1),{companyPassport:n,commonSetUp:{businessVerification:c},common:{documents:f}}=k.getLocalizedStrings(),{fileProps:d,companyFiles:r,deleteFileStatusById:u,updateFileStatusById:
|
|
50
|
+
`,tt=e=>{const o=k.getLocalizedStrings().companyPassport.snackBar;return e==="Error"?o.failedText:o.successText};function ot(e){const o=N(),{fetchState:l,onRemoveSnackbar:i}=e;_.useEffect(()=>{setTimeout(i,5e3)});const n=k.getLocalizedStrings().companyPassport.snackBar,c=l==="Completed";return a.jsxs(Ga,{windowSize:o,children:[c?a.jsx(Za,{}):a.jsx(Ja,{}),a.jsxs(Ka,{windowSize:o,children:[a.jsx(et,{isSuccess:c,children:c?n.success:n.error}),a.jsx(Qa,{children:a.jsx(Xa,{children:tt(l)})})]}),a.jsx(at,{onClick:i,children:a.jsx(Ce,{})})]})}const se={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 lt(e){const o=N(),[l,i]=_.useState(!1),{companyPassport:n,commonSetUp:{businessVerification:c},common:{documents:f}}=k.getLocalizedStrings(),{fileProps:d,companyFiles:r,deleteFileStatusById:u,updateFileStatusById:y,sectionId:g,isDisabled:h,companyIncInfo:$,style:I}=e,S=se.labelWidth.value(o),j=se.largeLabelWidth.value(o),b=se.largeLabelDocumentWidth.value(o),{dateFormat:{visual:O},companyPassport:D}=k.getLocalizedStrings(),x=r.find(J=>J.documentType==="certificate_of_incorporation"),V=o==="small"?n.companyIncInfo.stateOfIncPlaceholderSmall:n.companyIncInfo.stateOfIncPlaceholder,pe=o==="small"?n.companyIncInfo.typeOfIncPlaceholderSmall:n.companyIncInfo.typeOfIncPlaceholder;return a.jsxs(it,{style:I,children:[a.jsx(nt,{children:n.companyIncInfo.title}),a.jsxs(st,{children:[a.jsx(Qe,{label:{label:D.companyIncInfo.typeOfInc,width:j},isDisabled:h,creatableSingleSelectField:{name:ne(g,"typeOfInc"),placeholder:pe,defaultValue:{selectedOption:$?.typeOfInc,allOptions:n.companyIncInfo.allTypesOfIncorporation}}}),a.jsx(ue,{}),a.jsx(ga,{label:{label:D.companyIncInfo.stateOfInc,width:j},isDisabled:h,singleSelectField:{name:ne(g,"stateOfInc"),placeholder:V,defaultValue:{selectedOption:$?.stateOfInc,allOptions:n.companyIncInfo.allStatesOfIncorporation}}}),a.jsx(ue,{}),a.jsx($a,{isDisabled:h,label:{label:n.companyIncInfo.incDate,width:S},style:{paddingBottom:se.paddingBottom.valuePx(o)},dateField:{name:ne(g,"incDate"),placeholder:L(n.companyIncInfo.incDate),defaultValue:$?.incDate,dateFormat:O.defaultInput,maxDate:be(),minDate:Aa("01 Jan 1900"),autoComplete:"off"}}),a.jsx(ue,{}),a.jsx(Xe,{name:ne(g,"certificateOfIncorporation"),isDisabled:h,sizeLimit:qe,deleteFileStatusById:u,updateFileStatusById:y,filesEndPoint:d.filesEndPoint,authParams:d.authParams,label:{label:c.certificateOfIncorporation,width:b},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:J=>i(J)}),a.jsx(rt,{windowSize:o,isError:l,children:f.formatDocumentText10MB})]})]})}const ne=(e,o)=>`${e}.${o}`,it=s.div`
|
|
51
51
|
display: flex;
|
|
52
52
|
flex-direction: column;
|
|
53
53
|
padding-top: ${t.sp3};
|
|
@@ -112,19 +112,19 @@ import{J as N,e as Ae,aR as da,a9 as pa,cG as ma,F as k,V as a,bD as ua,ac as ha
|
|
|
112
112
|
border-bottom-left-radius: inherit;
|
|
113
113
|
border-bottom-right-radius: inherit;
|
|
114
114
|
}
|
|
115
|
-
`,he={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 ht({companyViewData:e,allIndustries:o,companyInfo:l,companyAddress:i,sectionId:n,isDisabled:c,onCompanyAddressClick:f,style:d}){const r=N(),u=e.company.company.companyInfo,
|
|
115
|
+
`,he={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 ht({companyViewData:e,allIndustries:o,companyInfo:l,companyAddress:i,sectionId:n,isDisabled:c,onCompanyAddressClick:f,style:d}){const r=N(),u=e.company.company.companyInfo,y=he.labelWidth.value(r),g=he.mediumLabelWidth.value(r),h=he.largeLabelWidth.value(r),$=r==="small"?v.companyInfo.businessModelPlaceholderSmall:v.companyInfo.businessModelPlaceholder,I=S=>o.find(j=>j.code===S)?.name??S;return a.jsxs(xt,{style:d,children:[a.jsx(bt,{children:v.companyInfo.title}),a.jsxs(yt,{children:[a.jsx(z,{isDisabled:c,label:{label:v.companyInfo.companyName,width:h},text:{type:"text",name:H(n,"companyName"),placeholder:L(v.companyInfo.companyName),defaultValue:l?.companyName,autoComplete:"new-password",options:{required:!!u.name,pattern:ze}}}),a.jsx(A,{}),a.jsx(z,{isDisabled:c,label:{label:v.companyInfo.legalName,width:g},text:{type:"text",name:H(n,"legalName"),placeholder:L(v.companyInfo.legalName),defaultValue:l?.legalName,autoComplete:"new-password",options:{required:!!u.companyLegalName,pattern:ze}}}),a.jsx(A,{}),a.jsx(z,{isDisabled:c,label:{label:v.companyInfo.website,width:y},text:{type:"url",name:H(n,"website"),placeholder:L(v.companyInfo.website),defaultValue:l?.website?.toString()??"",autoComplete:"new-password"}}),a.jsx(A,{}),a.jsx(ba,{label:{label:v.companyInfo.industry,width:y},singleSelectField:{singleSelect:{name:H(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(A,{}),a.jsx(Qe,{isDisabled:c,label:{label:v.companyInfo.businessModel,width:h},creatableSingleSelectField:{name:H(n,"businessModel"),placeholder:$,defaultValue:{selectedOption:l?.businessModel,allOptions:v.companyInfo.allBusinessModels}}}),a.jsx(A,{}),a.jsx(Ke,{isDisabled:c,label:{label:v.companyInfo.address,width:y},addressValue:{placeholder:L(v.companyInfo.address),address:i?.addressToCreate,onClick:()=>f("company_address")}}),a.jsx(A,{}),a.jsx(Ue,{isDisabled:c,label:{label:v.companyInfo.phone,width:y},text:{name:H(n,"phone"),placeholder:L(v.companyInfo.phone),defaultValue:l?.phone,autoComplete:"new-password"}}),a.jsx(A,{}),a.jsx(de,{label:{label:v.companyInfo.fiscalYear,width:y},bullettedLabels:{labels:[{text:ft(l?.firstMonthOfFY??1)}],listStyleType:"none"}})]})]})}const ft=e=>{const{fiscalYearMonths:o}=qa(e);return`${be().month(o[0]-1).format(Ee.MMMFormat)} to ${be().month(o[11]-1).format(Ee.MMMFormat)}`},H=(e,o)=>`${e}.${o}`,xt=s.div`
|
|
116
116
|
display: flex;
|
|
117
117
|
flex-direction: column;
|
|
118
118
|
padding-top: ${t.sp3};
|
|
119
119
|
padding-bottom: ${t.sp9};
|
|
120
|
-
`,
|
|
120
|
+
`,yt=s.div`
|
|
121
121
|
display: flex;
|
|
122
122
|
flex-direction: column;
|
|
123
123
|
background-color: ${e=>e.theme.colors.grey5};
|
|
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
|
-
`,
|
|
127
|
+
`,bt=s(U)`
|
|
128
128
|
color: ${e=>e.theme.colors.champion};
|
|
129
129
|
margin-bottom: ${t.sp3};
|
|
130
130
|
`,A=s.div`
|
|
@@ -133,7 +133,7 @@ import{J as N,e as Ae,aR as da,a9 as pa,cG as ma,F as k,V as a,bD as ua,ac as ha
|
|
|
133
133
|
background-color: ${e=>e.theme.colors.grey3};
|
|
134
134
|
min-height: 1px;
|
|
135
135
|
max-height: 1px;
|
|
136
|
-
`,ge={labelWidth:new m(110,110,140),buttonWidth:new m(70,70)};function gt({sectionId:e,isDisabled:o,style:l,officer:i,officerAddress:n,isEmptyCompanyOfficerSection:c,onOfficerAddressClick:f}){const d=N(),r=k.getLocalizedStrings().companyPassport,u=ge.labelWidth.value(d),
|
|
136
|
+
`,ge={labelWidth:new m(110,110,140),buttonWidth:new m(70,70)};function gt({sectionId:e,isDisabled:o,style:l,officer:i,officerAddress:n,isEmptyCompanyOfficerSection:c,onOfficerAddressClick:f}){const d=N(),r=k.getLocalizedStrings().companyPassport,u=ge.labelWidth.value(d),y=c&&(i==null||!i.firstName&&!i.lastName&&!i.phone&&!i.email&&!n),g=i?.userId==null||i?.userId==="";return a.jsxs(vt,{style:l,children:[a.jsx(He,{isDisabled:o,label:{label:r.companyOfficer.name,width:u},nameField:{name:fe(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(xe,{}),a.jsx(z,{isDisabled:g?o:"readonly",label:{label:r.companyOfficer.email,width:u},text:{type:"email",name:fe(e,"email"),placeholder:L(r.companyOfficer.email),options:{required:y===!0?!1:g},defaultValue:i?.email,autoComplete:"new-password"}}),a.jsx(xe,{}),a.jsx(Ke,{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(xe,{}),a.jsx(Ue,{isDisabled:o,label:{label:r.companyOfficer.phone,width:u},text:{name:fe(e,"phone"),placeholder:L(r.companyOfficer.phone),defaultValue:i?.phone,autoComplete:"new-password"}})]})}function $t({companyOfficers:e,sectionId:o,style:l,isDisabled:i,onOfficerAddressClick:n}){const{setValue:c,getValues:f}=Ge(),[d,r]=_.useState(-1),u=k.getLocalizedStrings().companyPassport,y=e.length,g=e.length===1&&e[0].localData?.userId==null,h=f(o),$=()=>{const b={userId:void 0,officerType:`Officer_${y+1}`,name:{firstName:"",lastName:""},email:"",phone:""};c(o,[...h,b])},I=b=>{if(e[b].localData==null||!e[b].localData?.firstName&&!e[b].localData?.lastName&&!e[b].localData?.phone&&!e[b].localData?.email&&!e[b].addressStatus?.addressToCreate){const O=h.filter((D,x)=>x!==d);c(o,O),r(-1)}else r(b)},S=()=>{r(-1)},j=()=>{const b=h.filter((O,D)=>D!==d);c(o,b),r(-1)};return a.jsxs(jt,{style:l,children:[a.jsx(Dt,{children:u.companyOfficer.title}),e.map((b,O)=>{const D=b.localData,x=b.addressStatus,V=D?.userId==null||D?.userId==="";return a.jsxs(St,{children:[(y>1||V)&&!g?a.jsx(wt,{curIndex:O,isNewUser:V,numberOfOfficers:y,deleteConfirmationIndex:d,isDisabled:i,onDeleteClick:I,onCancelClick:S,onRemoveOfficerSection:j}):null,a.jsx(gt,{sectionId:`${o}.${O}`,officer:D,officerAddress:x,isDisabled:i,isEmptyCompanyOfficerSection:g,onOfficerAddressClick:n})]},D?.officerType)}),y<=9&&!g?a.jsx(It,{isSectionDisabled:i,onAddOfficerSection:$}):a.jsx($e,{})]})}const wt=({curIndex:e,isNewUser:o,numberOfOfficers:l,deleteConfirmationIndex:i,isDisabled:n,onDeleteClick:c,onCancelClick:f,onRemoveOfficerSection:d})=>{const r=N(),u=k.getLocalizedStrings().companyPassport;return a.jsxs(Ot,{children:[a.jsx(Ct,{children:l>1?`${u.companyOfficer.officer} ${e+1}`:""}),o&&n==null?i===e?a.jsx(Nt,{children:a.jsxs(Lt,{children:[u.companyOfficer.deleteConfirmation,a.jsx(Me,{label:u.cancel,onClick:f,style:{width:ge.buttonWidth.value(r),marginLeft:t.sp4,marginRight:t.sp3},size:"small",variant:"secondary"}),a.jsx(Me,{label:u.remove,onClick:d,style:{width:ge.buttonWidth.value(r)},size:"small",variant:"danger"})]})}):a.jsx(Pt,{className:"delete-icon-wrapper",onClick:()=>c(e),children:a.jsx(ka,{width:p[3],height:p[3],color:P.important})}):null]})},It=({isSectionDisabled:e,onAddOfficerSection:o})=>{const l=k.getLocalizedStrings().companyPassport;return e!=null?a.jsx($e,{}):a.jsxs(a.Fragment,{children:[a.jsxs(Ft,{onClick:o,children:[a.jsx(kt,{}),a.jsx(Tt,{children:l.companyOfficer.addOfficer})]}),a.jsx($e,{})]})},fe=(e,o)=>`${e}.${o}`,jt=s.div`
|
|
137
137
|
display: flex;
|
|
138
138
|
flex-direction: column;
|
|
139
139
|
padding-top: ${t.sp3};
|
|
@@ -209,7 +209,7 @@ import{J as N,e as Ae,aR as da,a9 as pa,cG as ma,F as k,V as a,bD as ua,ac as ha
|
|
|
209
209
|
background-color: ${e=>e.theme.colors.grey3};
|
|
210
210
|
min-height: 1px;
|
|
211
211
|
max-height: 1px;
|
|
212
|
-
`,zt=({name:e,registerOptions:o,defaultValue:l,isDisabled:i,style:n,placeholder:c})=>{const{control:f,formState:{errors:d}}=Ge(),r=Ae(),u=Pa(d,e??""),
|
|
212
|
+
`,zt=({name:e,registerOptions:o,defaultValue:l,isDisabled:i,style:n,placeholder:c})=>{const{control:f,formState:{errors:d}}=Ge(),r=Ae(),u=Pa(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})},g={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(La,{...g,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(b=>b.value),allOptions:I.allOptions})},tabSelectsValue:!1,openMenuOnFocus:!0,classNamePrefix:"multi-select-field",onBlur:$,menuPlacement:"auto",maxMenuHeight:288,menuShouldScrollIntoView:!1,closeMenuOnSelect:!1,components:{Control:Mt,Option:At,Input:Vt,MultiValue:Bt,MultiValueLabel:_t,MultiValueRemove:Wt,ValueContainer:Et,DropdownIndicator:Kt,IndicatorSeparator:eo,Placeholder:Yt,ClearIndicator:Rt},hideSelectedOptions:!1,styles:y,isDisabled:i!=null})})},Mt=e=>{const{menuIsOpen:o,isFocused:l,isDisabled:i,selectProps:n}=e,{value:c,hasError:f}=n;return a.jsx(Ut,{menuIsOpen:o,isFocused:l,isDisabled:i,optionsLen:c.length,hasError:f,children:a.jsx(W.Control,{...e,className:"select-control",children:e.children})})},Et=e=>{const{selectProps:o}=e,{value:l}=o;return a.jsxs(W.ValueContainer,{...e,className:"select-value-container",children:[e.children,a.jsx(qt,{className:"selected-options",children:l.map(i=>i.value).join(", ")})]})},Vt=e=>{const{selectProps:o}=e,{placeholder:l,value:i}=o;return a.jsx(W.Input,{...e,autoComplete:"new-password",placeholder:i.length===0?l:void 0,children:e.children})},Bt=e=>a.jsx(W.MultiValue,{...e,children:e.children}),_t=e=>{const{data:o}=e;return a.jsx(W.MultiValueLabel,{...e,children:o.value})},Wt=e=>a.jsx(W.MultiValueRemove,{...e,children:a.jsx(aa,{style:{marginTop:"2px"}})}),Rt=e=>a.jsx(W.ClearIndicator,{...e,children:a.jsx(aa,{})}),Yt=()=>null,At=e=>{const{isSelected:o,isDisabled:l,isFocused:i}=e;return a.jsx(Ht,{isFocused:i,isSelected:o,isDisabled:l,children:a.jsx(W.Option,{...e,className:"select-option",children:a.jsxs(Gt,{children:[a.jsx(Jt,{children:a.jsx(Zt,{isSelected:o,isDisabled:l,children:e.label})}),o?a.jsxs(Qt,{children:[a.jsx(Xt,{className:"right-tick-icon"}),a.jsx(Ce,{className:"close-tick-icon"})]}):null]})})})},Ut=s.div`
|
|
213
213
|
width: 100%;
|
|
214
214
|
background-color: ${e=>e.theme.colors.grey5};
|
|
215
215
|
cursor: ${e=>e.isDisabled?"not-allowed":"pointer"};
|
|
@@ -436,7 +436,7 @@ import{J as N,e as Ae,aR as da,a9 as pa,cG as ma,F as k,V as a,bD as ua,ac as ha
|
|
|
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 lo(e){const o=N(),l=wa(),[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 lo(e){const o=N(),l=wa(),[i,n]=_.useState(!1),{companyPassport:c,commonSetUp:{businessVerification:f},common:{documents:d}}=k.getLocalizedStrings(),{fileProps:r,companyFiles:u,deleteFileStatusById:y,updateFileStatusById:g,sectionId:h,isDisabled:$,companyTaxInfo:I,style:S}=e,j=Be.labelWidth.value(o),b=Be.largeLabelWidth.value(o),O=!Ua(l.loggedInUserRole??[]),D=u.find(x=>x.documentType==="tax_ein");return a.jsxs(io,{style:S,children:[a.jsx(no,{children:c.companyTaxInfo.title}),a.jsxs(so,{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:Ia},autoComplete:"new-password"},protectedInfoText:O===!0?c.companyTaxInfo.adminPrivilegeRequired:void 0}),a.jsx(K,{}),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(K,{}),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(K,{}),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(K,{}),a.jsx(to,{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:Je().map(x=>x.toString())}}}),a.jsx(K,{}),a.jsx(Xe,{name:G(h,"einDocument"),isDisabled:$,sizeLimit:qe,deleteFileStatusById:y,updateFileStatusById:g,filesEndPoint:r.filesEndPoint,authParams:r.authParams,label:{label:f.einDocument,width:b},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(ro,{windowSize:o,isError:i,children:d.formatDocumentText10MB})]})]})}const G=(e,o)=>`${e}.${o}`,io=s.div`
|
|
440
440
|
display: flex;
|
|
441
441
|
flex-direction: column;
|
|
442
442
|
padding-top: ${t.sp3};
|
|
@@ -492,13 +492,13 @@ import{J as N,e as Ae,aR as da,a9 as pa,cG as ma,F as k,V as a,bD as ua,ac as ha
|
|
|
492
492
|
:not(:first-of-type) {
|
|
493
493
|
margin-left: ${t.sp3};
|
|
494
494
|
}
|
|
495
|
-
`,
|
|
495
|
+
`,yo=s.div`
|
|
496
496
|
display: flex;
|
|
497
497
|
flex-direction: row;
|
|
498
498
|
justify-content: flex-end;
|
|
499
499
|
align-items: center;
|
|
500
500
|
color: ${e=>e.theme.colors.primary};
|
|
501
|
-
`,
|
|
501
|
+
`,bo=()=>a.jsx(yo,{children:"–"}),go=s.div`
|
|
502
502
|
padding: 6px ${t.sp2};
|
|
503
503
|
white-space: nowrap;
|
|
504
504
|
overflow: hidden;
|
|
@@ -509,7 +509,7 @@ import{J as N,e as Ae,aR as da,a9 as pa,cG as ma,F as k,V as a,bD as ua,ac as ha
|
|
|
509
509
|
justify-content: flex-end;
|
|
510
510
|
display: flex;
|
|
511
511
|
padding: 0 ${t.sp3};
|
|
512
|
-
`,wo=e=>{const{users:o,style:l}=e;return a.jsx($o,{style:l,children:o.length!==0?o.filter(i=>!!i.firstName||!!i.lastName).map(i=>a.jsxs(xo,{children:[a.jsx(go,{children:`${i.firstName} ${i.lastName}`}),a.jsx(Ba,{name:`${i.firstName} ${i.lastName}`,size:t.sp4})]},i.userId)):a.jsx(
|
|
512
|
+
`,wo=e=>{const{users:o,style:l}=e;return a.jsx($o,{style:l,children:o.length!==0?o.filter(i=>!!i.firstName||!!i.lastName).map(i=>a.jsxs(xo,{children:[a.jsx(go,{children:`${i.firstName} ${i.lastName}`}),a.jsx(Ba,{name:`${i.firstName} ${i.lastName}`,size:t.sp4})]},i.userId)):a.jsx(bo,{})})},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 Io({isDisabled:e,label:o,avatarLabels:l,style:i}){const n=N();return a.jsxs(vo,{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(wo,{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 jo=Wa.memo(Io,Ta),vo=s.div`
|
|
513
513
|
display: flex;
|
|
514
514
|
flex-direction: row;
|
|
515
515
|
align-items: flex-start;
|
|
@@ -529,7 +529,7 @@ import{J as N,e as Ae,aR as da,a9 as pa,cG as ma,F as k,V as a,bD as ua,ac as ha
|
|
|
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 Do({data:e,companyInfo:o,sectionId:l,isDisabled:i,isZeniUser:n,onScheduleClick:c}){const f=N(),{companyPassport:d,dateFormat:{visual:r}}=k.getLocalizedStrings(),u=ye.labelWidth.value(f),y=ye.mediumLabelWidth.value(f),g=ye.largeLabelWidth.value(f),h=e.company.company,{controllers:$,subscriptions:I}=e,{managementInfo:S}=h,j=f==="small"?d.zeniFinanceTeam.scheduleCallPlaceholderSmall:d.zeniFinanceTeam.scheduleCallPlaceholder,b=I.filter(x=>x.plan?.plan.name!=null).map(x=>({text:x.plan?.plan.name,subText:x.subscription.subscription.startDate.format(r.MMMDCommaYYYYformat)})),O=ja(I.map(x=>x.addOns.map(V=>({text:V.addOn.name,subText:x.subscription.subscription.startDate.format(r.MMMDCommaYYYYformat)})))),D=S.receiverEmails.map(x=>({text:x}));return a.jsxs(Oo,{children:[a.jsx(Fo,{children:d.zeniFinanceTeam.title}),a.jsxs(Co,{children:[a.jsx(jo,{label:{label:d.zeniFinanceTeam.controller,width:y},avatarLabels:{users:$.map(x=>x.user)}}),a.jsx(re,{}),n===!0?a.jsx(z,{isDisabled:i,label:{label:d.zeniFinanceTeam.scheduleCall,width:y},text:{type:"text",name:So(l,"meetingLink"),placeholder:j,defaultValue:o?.meetingLink?.toString()??"",autoComplete:"new-password",options:{pattern:va}}}):o?.meetingLink!=null?a.jsx(Da,{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(re,{}),a.jsx(de,{label:{label:d.zeniFinanceTeam.emailUs,width:u},bullettedLabels:{labels:D,listStyleType:"none"}})]}):null,b.length>0?a.jsxs(a.Fragment,{children:[a.jsx(re,{}),a.jsx(de,{label:{label:d.zeniFinanceTeam.subscriptionPlans,width:g},bullettedLabels:{labels:b,listStyleType:"none"}})]}):null,O.length>0?a.jsxs(a.Fragment,{children:[a.jsx(re,{}),a.jsx(de,{label:{label:d.zeniFinanceTeam.addons,width:y},bullettedLabels:{labels:O,listStyleType:"none"}})]}):null]})]})}const So=(e,o)=>`${e}.${o}`,Oo=s.div`
|
|
533
533
|
display: flex;
|
|
534
534
|
flex-direction: column;
|
|
535
535
|
padding-top: ${t.sp3};
|
|
@@ -550,7 +550,7 @@ import{J as N,e as Ae,aR as da,a9 as pa,cG as ma,F as k,V as a,bD as ua,ac as ha
|
|
|
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)},We="companyPassportPage",Ie="companyInfo",je="companyIncInfo",ve="companyTaxInfo",De="primaryContact",Se="companyOfficer",Oe="zeniFinanceTeam";function Ho(e){const o=N(),l=Ae(),{companyPassportView:i,isZeniUser:n,filesEndPoint:c,authParams:f,allIndustries:d,isDisabled:r,isSettings:u=!1,onCompanyDetailsChanged:
|
|
553
|
+
`,we={width:new m(343,580,726),buttonWidth:new m(85,85)},We="companyPassportPage",Ie="companyInfo",je="companyIncInfo",ve="companyTaxInfo",De="primaryContact",Se="companyOfficer",Oe="zeniFinanceTeam";function Ho(e){const o=N(),l=Ae(),{companyPassportView:i,isZeniUser:n,filesEndPoint:c,authParams:f,allIndustries:d,isDisabled:r,isSettings:u=!1,onCompanyDetailsChanged:y,onCompanyOfficerUpdated:g,onNewCompanyOfficerAdded:h,onPrimaryContactDetailsUpdated:$,onNewCompanyOfficerRemoved:I,onSaveAll:S,onAddressClick:j,onScheduleClick:b,onBackClick:O,onResetClick:D,onEditFileName:x,updateFilesEntity:V,onDeleteFile:pe,onClickMenuIcon:J}=e,{companyView:Q,localData:q,deleteFileStatusById:ke,updateFileStatusById:Te}=i,{companyFiles:ae}=q,Pe={authParams:f,filesEndPoint:c,onEditFileName:x,onDeleteFile:pe,updateFilesEntity:V},[X,te]=_.useState(void 0),{companyDetails:ta,primaryContact:oa,companyOfficerUpdateStatus:la,updateStatus:R}=q,{localData:oe,addressStatus:ia}=ta,Ne=da(R.fetchState),le=Object.values(la).filter(T=>T.localData!=null),B=pa({mode:"all",defaultValues:Ye(q,d)});_.useEffect(()=>()=>{te(void 0)},[]),_.useEffect(()=>{Ne==="In-Progress"&&(R.fetchState==="Completed"||R.fetchState==="Error")&&(B.reset(Ye(q,d)),X!==R.fetchState&&te(R.fetchState))},[X,B,Ne,R,q,Q,d,ae]);const sa=async(T,w)=>{if(T.includes(Ie)||T.includes(je)||T.includes(ve)||T.includes(Oe)){const{companyInfo:C,companyIncInfo:F,companyTaxInfo:Y,zeniFinanceTeam:me}=w;y({companyInfo:C,incInfo:F,taxDetails:Y,zeniFinanceTeam:me})}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(Y=>Y===w.primaryContact.userId);F>=0&&g({...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)g({...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>le.length){const F=w.companyOfficer[w.companyOfficer.length-1];h(F)}else{const F=w.companyOfficer.filter(Y=>Y.officerType!=null);if(F.length<le.length){const Y=F.map((me,ca)=>{const Le={...me,officerType:`Officer_${ca+1}`};return g(Le),Le});F.length<le.length&&(I(`Officer_${F.length+1}`),B.reset({companyOfficer:Y}))}}}};_.useEffect(()=>{const T=B.watch((w,{name:C})=>{C!=null&&w!=null&&ma(()=>sa(C,w))});return()=>{T.unsubscribe()}});const na=B.handleSubmit(T=>{X!=null&&te(void 0),S()}),{companyPassport:ie,common:{settings:ra}}=k.getLocalizedStrings();if(Q==null)throw new Error("Company View is null");return a.jsxs(ko,{children:[a.jsx(ua,{title:ie.title,backgroundColor:l.colors.grey4,style:{zIndex:3},onBackClick:O,showBackButton:!u,showMenuIcon:u?o==="medium-compact"||o==="small":!1,source:"CompanyPassportPage",onClickMenuIcon:J}),X!=null?a.jsx(ot,{fetchState:X,onRemoveSnackbar:()=>te(void 0)}):null,a.jsxs(To,{children:[a.jsx(Po,{windowSize:o,children:u?ra.infoText.companyDetails:ie.quickAccessInfo}),a.jsx(ha,{...B,children:a.jsxs("form",{id:Re(We),onSubmit:na,children:[a.jsx(ht,{sectionId:Ie,companyInfo:oe?.companyInfo,companyViewData:Q,companyAddress:ia,isDisabled:r,onCompanyAddressClick:j,allIndustries:d}),a.jsx(lt,{sectionId:je,updateFileStatusById:Te,deleteFileStatusById:ke,companyFiles:ae,companyIncInfo:oe?.incInfo,fileProps:Pe,isDisabled:r}),a.jsx(lo,{sectionId:ve,updateFileStatusById:Te,deleteFileStatusById:ke,companyFiles:ae,companyTaxInfo:oe?.taxDetails,fileProps:Pe,isDisabled:r}),a.jsx(po,{sectionId:De,primaryContact:oa.localData,isDisabled:r}),a.jsx($t,{companyOfficers:le,sectionId:Se,isDisabled:r,onOfficerAddressClick:j}),a.jsx(Do,{data:Q,companyInfo:oe?.companyInfo,isDisabled:r,isZeniUser:n,sectionId:Oe,onScheduleClick:b})]})})]}),fa(B.formState.dirtyFields)||Ya(q,Q,ae)?a.jsx(xa,{formId:Re(We),primaryBtn:{label:ie.save,isLoading:R.fetchState==="In-Progress",style:{width:we.buttonWidth.value(o)},isDisabled:e.isDisabled!=null},cancelBtn:{label:ie.cancel,style:{width:we.buttonWidth.value(o)},onClick:()=>{B.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]:{...ya(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:Je().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()??""}}},ko=s.div`
|
|
554
554
|
display: flex;
|
|
555
555
|
min-height: 100%;
|
|
556
556
|
flex-direction: column;
|
package/dist/assets/{CompleteProfile-Y6HwKtpz-CAD13Y73.js → CompleteProfile-C6o_Ez-L-Do1B6QH5.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a9 as V,gT as v,F as S,V as g,gU as J,aa as l,al as $,ac as q,cJ as _,cS as W,cP as T,o as E,gV as Z,cN as z,aS as X,R as AA,c3 as gA,gW as BA}from"./index-GSKpJ8ET.js";import{a as B,P as c}from"./sentry-BZBky1_g.js";import{n as o}from"./mui-DenpH-hx.js";import{bh as eA}from"./zeni-epic-state-BKgIzPpM.js";import{$ as EA}from"./LabeledAddressValue-D2t8ti-C-Z0RI74Eh.js";import"./liveblocks-D1OOExFG.js";import"./core-CEu4PzGb.js";import"./recharts-9NtTDQfo.js";import"./lottie-fNTw06NH.js";import"./analytics-DgE91yP9.js";import"./lexical-CnqcqOEB.js";import"./utils-CHibiken.js";(function(){try{var A=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},i=new A.Error().stack;i&&(A._sentryDebugIds=A._sentryDebugIds||{},A._sentryDebugIds[i]="d477df8f-fba6-4ebe-8b77-9cfe08184714",A._sentryDebugIdIdentifier="sentry-dbid-d477df8f-fba6-4ebe-8b77-9cfe08184714")}catch{}})();const CA=A=>B.createElement("svg",{width:72,height:72,viewBox:"0 0 72 72",fill:"none",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",...A},B.createElement("path",{opacity:.2,d:"M26.3252 5H51.6377C51.6377 5 57.2627 5 57.2627 10.625V64.0625C57.2627 64.0625 57.2627 69.6875 51.6377 69.6875H26.3252C26.3252 69.6875 20.7002 69.6875 20.7002 64.0625V10.625C20.7002 10.625 20.7002 5 26.3252 5Z",fill:"#97C3B9"}),B.createElement("path",{d:"M23.3252 2H48.6377C48.6377 2 54.2627 2 54.2627 7.625V61.0625C54.2627 61.0625 54.2627 66.6875 48.6377 66.6875H23.3252C23.3252 66.6875 17.7002 66.6875 17.7002 61.0625V7.625C17.7002 7.625 17.7002 2 23.3252 2Z",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("path",{d:"M43.0127 2V4.8125C43.0127 5.55842 42.7164 6.27379 42.1889 6.80124C41.6615 7.32868 40.9461 7.625 40.2002 7.625H31.7627C31.0168 7.625 30.3014 7.32868 29.774 6.80124C29.2465 6.27379 28.9502 5.55842 28.9502 4.8125V2",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("g",{style:{mixBlendMode:"darken"}},B.createElement("rect",{width:26,height:26,transform:"translate(22 12)",fill:"url(#pattern0_2225_11447)"}),B.createElement("circle",{cx:42,cy:32,r:12,fill:"url(#pattern1_2225_11447)"})),B.createElement("path",{d:"M39.625 57.875H67.125C67.4565 57.875 67.7745 57.7433 68.0089 57.5089C68.2433 57.2745 68.375 56.9565 68.375 56.625V47.875C68.375 47.5435 68.2433 47.2255 68.0089 46.9911C67.7745 46.7567 67.4565 46.625 67.125 46.625H40.875C40.5435 46.625 40.2255 46.7567 39.9911 46.9911C39.7567 47.2255 39.625 47.5435 39.625 47.875V57.875Z",fill:"#EAF3F1",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("path",{d:"M62.1543 49.8V54.8",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("path",{d:"M60.0629 50.9288L64.2441 53.6713",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("path",{d:"M60.0744 53.6874L64.2344 50.9124",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("path",{d:"M53.9727 49.8V54.8",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("path",{d:"M51.8812 50.9288L56.0625 53.6713",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("path",{d:"M51.8927 53.6874L56.0527 50.9124",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("path",{d:"M45.792 49.8V54.8",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("path",{d:"M43.7006 50.9288L47.8818 53.6713",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("path",{d:"M43.7121 53.6874L47.8721 50.9124",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("defs",null,B.createElement("pattern",{id:"pattern0_2225_11447",patternContentUnits:"objectBoundingBox",width:1,height:1},B.createElement("use",{xlinkHref:"#image0_2225_11447",transform:"scale(0.002)"})),B.createElement("pattern",{id:"pattern1_2225_11447",patternContentUnits:"objectBoundingBox",width:1,height:1},B.createElement("use",{xlinkHref:"#image0_2225_11447",transform:"translate(-0.332832 -0.331172) scale(0.00333133)"})),B.createElement("image",{id:"image0_2225_11447",width:500,height:500,preserveAspectRatio:"none",xlinkHref:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAfQAAAH0CAYAAADL1t+KAAAAAXNSR0IArs4c6QAAFQVJREFUeF7t1cENwCAQA0Hov1s+yS+R6OJWQwV4fJL3ed5veQQIECBAgMBogW3QR/fn8wQIECBA4AoYdIdAgAABAgQCAgY9UKIIBAgQIEDAoLsBAgQIECAQEDDogRJFIECAAAECBt0NECBAgACBgIBBD5QoAgECBAgQMOhugAABAgQIBAQMeqBEEQgQIECAgEF3AwQIECBAICBg0AMlikCAAAECBAy6GyBAgAABAgEBgx4oUQQCBAgQIGDQ3QABAgQIEAgIGPRAiSIQIECAAAGD7gYIECBAgEBAwKAHShSBAAECBAgYdDdAgAABAgQCAgY9UKIIBAgQIEDAoLsBAgQIECAQEDDogRJFIECAAAECBt0NECBAgACBgIBBD5QoAgECBAgQMOhugAABAgQIBAQMeqBEEQgQIECAgEF3AwQIECBAICBg0AMlikCAAAECBAy6GyBAgAABAgEBgx4oUQQCBAgQIGDQ3QABAgQIEAgIGPRAiSIQIECAAAGD7gYIECBAgEBAwKAHShSBAAECBAgYdDdAgAABAgQCAgY9UKIIBAgQIEDAoLsBAgQIECAQEDDogRJFIECAAAECBt0NECBAgACBgIBBD5QoAgECBAgQMOhugAABAgQIBAQMeqBEEQgQIECAgEF3AwQIECBAICBg0AMlikCAA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JFIECAAAECBt0NECBAgACBgIBBD5QoAgECBAgQMOhugAABAgQIBAQMeqBEEQgQIECAgEF3AwQIECBAICBg0AMlikCAAAECBAy6GyBAgAABAgEBgx4oUQQCBAgQIGDQ3QABAgQIEAgIGPRAiSIQIECAAAGD7gYIECBAgEBAwKAHShSBAAECBAgYdDdAgAABAgQCAgY9UKIIBAgQIEDAoLsBAgQIECAQEDDogRJFIECAAAECBt0NECBAgACBgIBBD5QoAgECBAgQMOhugAABAgQIBAQMeqBEEQgQIECAgEF3AwQIECBAICBg0AMlikCAAAECBAy6GyBAgAABAgEBgx4oUQQCBAgQIGDQ3QABAgQIEAgIGPRAiSIQIECAAAGD7gYIECBAgEBAwKAHShSBAAECBAgYdDdAgAABAgQCAgY9UKIIBAgQIEDAoLsBAgQIECAQEDDogRJFIECAAAECBt0NECBAgACBgIBBD5QoAgECBAgQMOhugAABAgQIBAQMeqBEEQgQIECAgEF3AwQIECBAICBg0AMlikCAAAECBAy6GyBAgAABAgEBgx4oUQQCBAgQIGDQ3QABAgQIEAgIGPRAiSIQIECAAAGD7gYIECBAgEBAwKAHShSBAAECBAgYdDdAgAABAgQCAgY9UKIIBAgQIEDAoLsBAgQIECAQEDDogRJFIECAAAECBt0NECBAgACBgIBBD5QoAgECBAgQMOhugAABAgQIBAQMeqBEEQgQIECAgEF3AwQIECBAICBg0AMlikCAAAECBAy6GyBAgAABAgEBgx4oUQQCBAgQIGDQ3QABAgQIEAgIGPRAiSIQIECAAAGD7gYIECBAgEBAwKAHShSBAAECBAgYdDdAgAABAgQCAgY9UKIIBAgQIEDgB7iZk96LOSbbAAAAAElFTkSuQmCC"}))),QA=A=>B.createElement("svg",{viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...A},B.createElement("path",{d:"M1.33333 6.16693H2.52343C2.68125 6.16693 2.8326 6.22962 2.94419 6.34122C3.05579 6.45281 3.11848 6.60416 3.11848 6.76198V13.9026C3.11848 14.0604 3.05579 14.2118 2.94419 14.3233C2.8326 14.4349 2.68125 14.4976 2.52343 14.4976H1.33333",stroke:"currentColor",strokeWidth:1.25,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("path",{d:"M3.11848 12.7125C7.48556 14.9296 7.27253 14.6374 11.0118 14.6374C12.578 14.6374 13.367 13.6169 13.8276 12.1216V12.1121L14.9624 8.30373V8.29659C15.016 8.11929 15.0275 7.93192 14.9959 7.74939C14.9644 7.56686 14.8907 7.39421 14.7807 7.24519C14.6707 7.09617 14.5274 6.97488 14.3622 6.89099C14.1971 6.8071 14.0146 6.76292 13.8294 6.76196H10.9136C10.7315 6.76197 10.5518 6.72017 10.3883 6.63977C10.2249 6.55937 10.082 6.44253 9.97086 6.29824C9.85968 6.15395 9.7831 5.98606 9.74704 5.80751C9.71097 5.62896 9.71637 5.44452 9.76281 5.26838L10.2876 3.27854C10.3485 3.04716 10.326 2.80175 10.2241 2.58528C10.1223 2.36881 9.94748 2.19507 9.73041 2.09448C9.51334 1.99388 9.2678 1.97285 9.03679 2.03506C8.80577 2.09727 8.604 2.23876 8.4668 2.43475L5.55819 6.55548C5.44832 6.7112 5.30266 6.83826 5.13345 6.92597C4.96425 7.01368 4.77646 7.05947 4.58588 7.05948H3.11848",stroke:"currentColor",strokeWidth:1.25,strokeLinecap:"round",strokeLinejoin:"round"})),e=S.getLocalizedStrings(),p="completeProfilePage",Q="basicDetailsSection",m="addressSection",n=(A,i)=>`${A}.${i}`,MA=({userEmail:A,googleAPIKey:i,twoFactorAuthenticationView:r,saveStatus:G,hasUserEnteredBasicDetails:w,onSave:D,onGetOtp:f,onVerifyOtp:M,onResendOtp:y})=>{const[t,a]=B.useState(!1),[k,Y]=B.useState(!1),I=V({mode:"onChange",reValidateMode:"onChange",defaultValues:{basicDetailsSection:{name:{firstName:"",lastName:""},email:A,dateOfBirth:void 0,phone:"",address:void 0}}}),x=v({control:I.control,name:`${Q}.address`}),{dateFormat:F}=S.getLocalizedStrings(),h=()=>{const C=I.getValues(`${Q}.phone`);C!=null&&C.trim().length>0&&f(C)},L=(C,d)=>{M(C,d)},R=C=>{C!=null&&C.trim().length>0&&y(C)},b=()=>{a(!0)},U=()=>{a(!1)},K=()=>{const C=I.getValues(`${m}`);if(C!=null){const d=BA(C);I.setValue(`${Q}.address`,d)}a(!1)},P=I.handleSubmit(C=>{if(C[Q].phone!=null&&r.otpVerificationStatus.fetchState!=="Completed"||r.otpVerificationStatus.fetchState==="Completed"&&C[Q].phone!=r.phone){h();return}D&&D(C)}),{sendOtpStatus:O,otpVerificationStatus:s,otpChallenge:H,phone:j}=r,N=g.jsxs(rA,{children:[g.jsx(CA,{}),g.jsxs(sA,{children:[g.jsxs(lA,{children:[g.jsx(J,{children:s.fetchState==="Completed"?e.completeProfile.twoFAEnabled:e.completeProfile.enableTwoFA}),g.jsx(l,{controller:s.fetchState==="Completed",children:g.jsx(nA,{})})]}),g.jsx($,{children:e.completeProfile.enableTwoFADescription})]})]});return g.jsxs(oA,{children:[g.jsxs(tA,{children:[g.jsxs(IA,{children:[t&&g.jsx(iA,{onClick:U}),e.completeProfile.title]}),g.jsx(q,{...I,children:g.jsxs("form",{id:`${p}_form`,onSubmit:P,children:[g.jsx(l,{controller:w===!1,children:g.jsxs(u,{children:[g.jsx(l,{controller:t===!1,children:g.jsxs(c.Fragment,{children:[g.jsx(_,{isDisabled:"disabled",showAdditionalInfoLabel:!1,label:{label:e.common.labels.email,width:168},style:{width:"100%"},text:{type:"text",name:n(Q,"email")}}),g.jsx(W,{isDisabled:void 0,label:{label:e.common.labels.name,width:168},style:{width:"100%"},nameField:{name:n(Q,"name"),placeHolder:{firstName:e.common.placeholder.firstNamePlaceholder,lastName:e.common.placeholder.lastNamePlaceholder,name:e.common.placeholder.namePlaceholder},showFullNameError:!0,registerOptions:{required:!0}},errorInfoLabel:""}),g.jsx(T,{isOptional:!0,label:{label:e.common.labels.dob,width:168},style:{width:"100%"},isDisabled:void 0,dateField:{name:n(Q,"dateOfBirth"),placeholder:e.common.placeholder.dobPlaceholder,dateFormat:F.visual.defaultInput,autoComplete:"off",maxDate:eA().subtract(18,"year")}}),g.jsx(EA,{isOptional:!0,label:{label:e.common.labels.address,width:168},addressValue:{placeholder:e.common.placeholder.addressPlaceholder,address:x,onClick:b},style:{width:"100%",padding:`${E.sp2} ${E.sp2} ${E.sp2} ${E.sp0}`}})]})}),g.jsx(l,{controller:t===!0,children:g.jsx(c.Fragment,{children:g.jsx(Z,{sectionId:m,googleAPIKey:i,isSubPage:!0})})})]})}),g.jsx(u,{children:g.jsx(z,{infoBox:N,label:{label:e.common.labels.phone,width:168},style:{width:"100%",marginTop:E.sp3,padding:E.sp0},text:{name:n(Q,"phone"),placeholder:e.common.placeholder.phonePlaceholder,defaultValue:I.getValues(`${Q}.phone`),autoComplete:"new-password",options:{required:!0}},errorInfoLabel:"",verificationErrorInfoLabel:e.common.errorMessage.invalidPhoneNumber,isPopupOpen:k,productType:"complete_profile",phoneVerifyButtonProps:{otpChallenge:H,showOtpButton:!0,onGetOtp:h,onVerifyOtp:L,onResendOtp:R,isPhoneVerified:s.fetchState==="Completed",phoneVerificationStatus:s,getOtpStatus:O,verifiedPhoneNumber:s.fetchState==="Completed"?j:void 0,openPopup:()=>{Y(!0)},focusNotRequired:!0},bottomText:s.fetchState==="Completed"?"":e.completeProfile.phoneSetupText})})]})})]}),g.jsx(X,{formId:t?void 0:`${p}_form`,primaryBtn:{label:t?e.companyPassport.address.saveAddress:e.common.footer.save,type:t?"button":"submit",onClick:t?K:void 0,isLoading:G.fetchState==="In-Progress"||r.sendOtpStatus.fetchState==="In-Progress"},showCancel:!1})]})},oA=o.div`
|
|
1
|
+
import{a9 as V,gT as v,F as S,V as g,gU as J,aa as l,al as $,ac as q,cJ as _,cS as W,cP as T,o as E,gV as Z,cN as z,aS as X,R as AA,c3 as gA,gW as BA}from"./index-Dm-b67Hf.js";import{a as B,P as c}from"./sentry-C2Rgx3zV.js";import{n as o}from"./mui-BLkKBV85.js";import{bh as eA}from"./zeni-epic-state-TdgpFmku.js";import{$ as EA}from"./LabeledAddressValue-DWDFf_hN-e4LanhXy.js";import"./liveblocks-EGukjQZF.js";import"./core-DjXOmtSJ.js";import"./recharts-B8tzuQ8V.js";import"./lottie-DiLnfF8e.js";import"./analytics-Dd9GkS_R.js";import"./lexical-C3TbZeLl.js";import"./utils-CQTOz44B.js";(function(){try{var A=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},i=new A.Error().stack;i&&(A._sentryDebugIds=A._sentryDebugIds||{},A._sentryDebugIds[i]="0129c5b0-00c6-436f-a17d-cf22a727bf62",A._sentryDebugIdIdentifier="sentry-dbid-0129c5b0-00c6-436f-a17d-cf22a727bf62")}catch{}})();const CA=A=>B.createElement("svg",{width:72,height:72,viewBox:"0 0 72 72",fill:"none",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",...A},B.createElement("path",{opacity:.2,d:"M26.3252 5H51.6377C51.6377 5 57.2627 5 57.2627 10.625V64.0625C57.2627 64.0625 57.2627 69.6875 51.6377 69.6875H26.3252C26.3252 69.6875 20.7002 69.6875 20.7002 64.0625V10.625C20.7002 10.625 20.7002 5 26.3252 5Z",fill:"#97C3B9"}),B.createElement("path",{d:"M23.3252 2H48.6377C48.6377 2 54.2627 2 54.2627 7.625V61.0625C54.2627 61.0625 54.2627 66.6875 48.6377 66.6875H23.3252C23.3252 66.6875 17.7002 66.6875 17.7002 61.0625V7.625C17.7002 7.625 17.7002 2 23.3252 2Z",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("path",{d:"M43.0127 2V4.8125C43.0127 5.55842 42.7164 6.27379 42.1889 6.80124C41.6615 7.32868 40.9461 7.625 40.2002 7.625H31.7627C31.0168 7.625 30.3014 7.32868 29.774 6.80124C29.2465 6.27379 28.9502 5.55842 28.9502 4.8125V2",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("g",{style:{mixBlendMode:"darken"}},B.createElement("rect",{width:26,height:26,transform:"translate(22 12)",fill:"url(#pattern0_2225_11447)"}),B.createElement("circle",{cx:42,cy:32,r:12,fill:"url(#pattern1_2225_11447)"})),B.createElement("path",{d:"M39.625 57.875H67.125C67.4565 57.875 67.7745 57.7433 68.0089 57.5089C68.2433 57.2745 68.375 56.9565 68.375 56.625V47.875C68.375 47.5435 68.2433 47.2255 68.0089 46.9911C67.7745 46.7567 67.4565 46.625 67.125 46.625H40.875C40.5435 46.625 40.2255 46.7567 39.9911 46.9911C39.7567 47.2255 39.625 47.5435 39.625 47.875V57.875Z",fill:"#EAF3F1",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("path",{d:"M62.1543 49.8V54.8",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("path",{d:"M60.0629 50.9288L64.2441 53.6713",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("path",{d:"M60.0744 53.6874L64.2344 50.9124",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("path",{d:"M53.9727 49.8V54.8",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("path",{d:"M51.8812 50.9288L56.0625 53.6713",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("path",{d:"M51.8927 53.6874L56.0527 50.9124",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("path",{d:"M45.792 49.8V54.8",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("path",{d:"M43.7006 50.9288L47.8818 53.6713",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("path",{d:"M43.7121 53.6874L47.8721 50.9124",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("defs",null,B.createElement("pattern",{id:"pattern0_2225_11447",patternContentUnits:"objectBoundingBox",width:1,height:1},B.createElement("use",{xlinkHref:"#image0_2225_11447",transform:"scale(0.002)"})),B.createElement("pattern",{id:"pattern1_2225_11447",patternContentUnits:"objectBoundingBox",width:1,height:1},B.createElement("use",{xlinkHref:"#image0_2225_11447",transform:"translate(-0.332832 -0.331172) scale(0.00333133)"})),B.createElement("image",{id:"image0_2225_11447",width:500,height:500,preserveAspectRatio:"none",xlinkHref:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAfQAAAH0CAYAAADL1t+KAAAAAXNSR0IArs4c6QAAFQVJREFUeF7t1cENwCAQA0Hov1s+yS+R6OJWQwV4fJL3ed5veQQIECBAgMBogW3QR/fn8wQIECBA4AoYdIdAgAABAgQCAgY9UKIIBAgQIEDAoLsBAgQIECAQEDDogRJFIECAAAECBt0NECBAgACBgIBBD5QoAgECBAgQMOhugAABAgQIBAQMeqBEEQgQIECAgEF3AwQIECBAICBg0AMlikCAAAECBAy6GyBAgAABAgEBgx4oUQQCBAgQIGDQ3QABAgQIEAgIGPRAiSIQIECAAAGD7gYIECBAgEBAwKAHShSBAAECBAgYdDdAgAABAgQCAgY9UKIIBAgQIEDAoLsBAgQIECAQEDDogRJFIECAAAECBt0NECBAgACBgIBBD5QoAgECBAgQMOhugAABAgQIBAQMeqBEEQgQIECAgEF3AwQIECBAICBg0AMlikCAAAECBAy6GyBAgAABAgEBgx4oUQQCBAgQIGDQ3QABAgQIEAgIGPRAiSIQIECAAAGD7gYIECBAgEBAwKAHShSBAAECBAgYdDdAgAABAgQCAgY9UKIIBAgQIEDAoLsBAgQIECAQEDDogRJFIECAAAECBt0NECBAgACBgIBBD5QoAgECBAgQMOhugAABAgQIBAQMeqBEEQgQIECAgEF3AwQIECBAICBg0AMlikCAAAECBA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AAAECBt0NECBAgACBgIBBD5QoAgECBAgQMOhugAABAgQIBAQMeqBEEQgQIECAgEF3AwQIECBAICBg0AMlikCAAAECBAy6GyBAgAABAgEBgx4oUQQCBAgQIGDQ3QABAgQIEAgIGPRAiSIQIECAAAGD7gYIECBAgEBAwKAHShSBAAECBAgYdDdAgAABAgQCAgY9UKIIBAgQIEDAoLsBAgQIECAQEDDogRJFIECAAAECBt0NECBAgACBgIBBD5QoAgECBAgQMOhugAABAgQIBAQMeqBEEQgQIECAgEF3AwQIECBAICBg0AMlikCAAAECBAy6GyBAgAABAgEBgx4oUQQCBAgQIGDQ3QABAgQIEAgIGPRAiSIQIECAAAGD7gYIECBAgEBAwKAHShSBAAECBAgYdDdAgAABAgQCAgY9UKIIBAgQIEDAoLsBAgQIECAQEDDogRJFIECAAAECBt0NECBAgACBgIBBD5QoAgECBAgQMOhugAABAgQIBAQMeqBEEQgQIECAgEF3AwQIECBAICBg0AMlikCAAAECBAy6GyBAgAABAgEBgx4oUQQCBAgQIGDQ3QABAgQIEAgIGPRAiSIQIECAAAGD7gYIECBAgEBAwKAHShSBAAECBAgYdDdAgAABAgQCAgY9UKIIBAgQIEDAoLsBAgQIECAQEDDogRJFIECAAAECBt0NECBAgACBgIBBD5QoAgECBAgQMOhugAABAgQIBAQMeqBEEQgQIECAgEF3AwQIECBAICBg0AMlikCAAAECBAy6GyBAgAABAgEBgx4oUQQCBAgQIGDQ3QABAgQIEAgIGPRAiSIQIECAAAGD7gYIECBAgEBAwKAHShSBAAECBAgYdDdAgAABAgQCAgY9UKIIBAgQIEDgB7iZk96LOSbbAAAAAElFTkSuQmCC"}))),QA=A=>B.createElement("svg",{viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...A},B.createElement("path",{d:"M1.33333 6.16693H2.52343C2.68125 6.16693 2.8326 6.22962 2.94419 6.34122C3.05579 6.45281 3.11848 6.60416 3.11848 6.76198V13.9026C3.11848 14.0604 3.05579 14.2118 2.94419 14.3233C2.8326 14.4349 2.68125 14.4976 2.52343 14.4976H1.33333",stroke:"currentColor",strokeWidth:1.25,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("path",{d:"M3.11848 12.7125C7.48556 14.9296 7.27253 14.6374 11.0118 14.6374C12.578 14.6374 13.367 13.6169 13.8276 12.1216V12.1121L14.9624 8.30373V8.29659C15.016 8.11929 15.0275 7.93192 14.9959 7.74939C14.9644 7.56686 14.8907 7.39421 14.7807 7.24519C14.6707 7.09617 14.5274 6.97488 14.3622 6.89099C14.1971 6.8071 14.0146 6.76292 13.8294 6.76196H10.9136C10.7315 6.76197 10.5518 6.72017 10.3883 6.63977C10.2249 6.55937 10.082 6.44253 9.97086 6.29824C9.85968 6.15395 9.7831 5.98606 9.74704 5.80751C9.71097 5.62896 9.71637 5.44452 9.76281 5.26838L10.2876 3.27854C10.3485 3.04716 10.326 2.80175 10.2241 2.58528C10.1223 2.36881 9.94748 2.19507 9.73041 2.09448C9.51334 1.99388 9.2678 1.97285 9.03679 2.03506C8.80577 2.09727 8.604 2.23876 8.4668 2.43475L5.55819 6.55548C5.44832 6.7112 5.30266 6.83826 5.13345 6.92597C4.96425 7.01368 4.77646 7.05947 4.58588 7.05948H3.11848",stroke:"currentColor",strokeWidth:1.25,strokeLinecap:"round",strokeLinejoin:"round"})),e=S.getLocalizedStrings(),p="completeProfilePage",Q="basicDetailsSection",m="addressSection",n=(A,i)=>`${A}.${i}`,MA=({userEmail:A,googleAPIKey:i,twoFactorAuthenticationView:r,saveStatus:G,hasUserEnteredBasicDetails:w,onSave:D,onGetOtp:f,onVerifyOtp:M,onResendOtp:y})=>{const[t,a]=B.useState(!1),[k,Y]=B.useState(!1),I=V({mode:"onChange",reValidateMode:"onChange",defaultValues:{basicDetailsSection:{name:{firstName:"",lastName:""},email:A,dateOfBirth:void 0,phone:"",address:void 0}}}),x=v({control:I.control,name:`${Q}.address`}),{dateFormat:F}=S.getLocalizedStrings(),h=()=>{const C=I.getValues(`${Q}.phone`);C!=null&&C.trim().length>0&&f(C)},L=(C,d)=>{M(C,d)},R=C=>{C!=null&&C.trim().length>0&&y(C)},U=()=>{a(!0)},K=()=>{a(!1)},b=()=>{const C=I.getValues(`${m}`);if(C!=null){const d=BA(C);I.setValue(`${Q}.address`,d)}a(!1)},P=I.handleSubmit(C=>{if(C[Q].phone!=null&&r.otpVerificationStatus.fetchState!=="Completed"||r.otpVerificationStatus.fetchState==="Completed"&&C[Q].phone!=r.phone){h();return}D&&D(C)}),{sendOtpStatus:O,otpVerificationStatus:s,otpChallenge:H,phone:j}=r,N=g.jsxs(rA,{children:[g.jsx(CA,{}),g.jsxs(sA,{children:[g.jsxs(lA,{children:[g.jsx(J,{children:s.fetchState==="Completed"?e.completeProfile.twoFAEnabled:e.completeProfile.enableTwoFA}),g.jsx(l,{controller:s.fetchState==="Completed",children:g.jsx(nA,{})})]}),g.jsx($,{children:e.completeProfile.enableTwoFADescription})]})]});return g.jsxs(oA,{children:[g.jsxs(tA,{children:[g.jsxs(IA,{children:[t&&g.jsx(iA,{onClick:K}),e.completeProfile.title]}),g.jsx(q,{...I,children:g.jsxs("form",{id:`${p}_form`,onSubmit:P,children:[g.jsx(l,{controller:w===!1,children:g.jsxs(u,{children:[g.jsx(l,{controller:t===!1,children:g.jsxs(c.Fragment,{children:[g.jsx(_,{isDisabled:"disabled",showAdditionalInfoLabel:!1,label:{label:e.common.labels.email,width:168},style:{width:"100%"},text:{type:"text",name:n(Q,"email")}}),g.jsx(W,{isDisabled:void 0,label:{label:e.common.labels.name,width:168},style:{width:"100%"},nameField:{name:n(Q,"name"),placeHolder:{firstName:e.common.placeholder.firstNamePlaceholder,lastName:e.common.placeholder.lastNamePlaceholder,name:e.common.placeholder.namePlaceholder},showFullNameError:!0,registerOptions:{required:!0}},errorInfoLabel:""}),g.jsx(T,{isOptional:!0,label:{label:e.common.labels.dob,width:168},style:{width:"100%"},isDisabled:void 0,dateField:{name:n(Q,"dateOfBirth"),placeholder:e.common.placeholder.dobPlaceholder,dateFormat:F.visual.defaultInput,autoComplete:"off",maxDate:eA().subtract(18,"year")}}),g.jsx(EA,{isOptional:!0,label:{label:e.common.labels.address,width:168},addressValue:{placeholder:e.common.placeholder.addressPlaceholder,address:x,onClick:U},style:{width:"100%",padding:`${E.sp2} ${E.sp2} ${E.sp2} ${E.sp0}`}})]})}),g.jsx(l,{controller:t===!0,children:g.jsx(c.Fragment,{children:g.jsx(Z,{sectionId:m,googleAPIKey:i,isSubPage:!0})})})]})}),g.jsx(u,{children:g.jsx(z,{infoBox:N,label:{label:e.common.labels.phone,width:168},style:{width:"100%",marginTop:E.sp3,padding:E.sp0},text:{name:n(Q,"phone"),placeholder:e.common.placeholder.phonePlaceholder,defaultValue:I.getValues(`${Q}.phone`),autoComplete:"new-password",options:{required:!0}},errorInfoLabel:"",verificationErrorInfoLabel:e.common.errorMessage.invalidPhoneNumber,isPopupOpen:k,productType:"complete_profile",phoneVerifyButtonProps:{otpChallenge:H,showOtpButton:!0,onGetOtp:h,onVerifyOtp:L,onResendOtp:R,isPhoneVerified:s.fetchState==="Completed",phoneVerificationStatus:s,getOtpStatus:O,verifiedPhoneNumber:s.fetchState==="Completed"?j:void 0,openPopup:()=>{Y(!0)},focusNotRequired:!0},bottomText:s.fetchState==="Completed"?"":e.completeProfile.phoneSetupText})})]})})]}),g.jsx(X,{formId:t?void 0:`${p}_form`,primaryBtn:{label:t?e.companyPassport.address.saveAddress:e.common.footer.save,type:t?"button":"submit",onClick:t?b:void 0,isLoading:G.fetchState==="In-Progress"||r.sendOtpStatus.fetchState==="In-Progress"},showCancel:!1})]})},oA=o.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
min-height: 100vh;
|
package/dist/assets/{ConfettiBurst-BGE3Okwr-BH3P6Vot.js → ConfettiBurst-DNR3qv8X-ptw_T_Cq.js}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{d8 as f,av as d,V as r,b6 as l,o as p}from"./index-
|
|
1
|
+
import{d8 as f,av as d,V as r,b6 as l,o as p}from"./index-Dm-b67Hf.js";import{a}from"./sentry-C2Rgx3zV.js";import"./liveblocks-EGukjQZF.js";import"./core-DjXOmtSJ.js";import"./recharts-B8tzuQ8V.js";import"./zeni-epic-state-TdgpFmku.js";import"./mui-BLkKBV85.js";import"./lottie-DiLnfF8e.js";import"./analytics-Dd9GkS_R.js";import"./lexical-C3TbZeLl.js";import"./utils-CQTOz44B.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="1941eab8-c688-48ec-8960-ad949f343eb2",e._sentryDebugIdIdentifier="sentry-dbid-1941eab8-c688-48ec-8960-ad949f343eb2")}catch{}})();const c="https://storage.googleapis.com/zeni-apis.appspot.com/data/confetti_sfx.mp3",v=({showConfetti:e})=>{const[t,o]=a.useState(e),[s,i]=f(c,e),[n]=d("ConfettiSuccess");return a.useEffect(()=>{e&&o(!0)},[e]),a.useEffect(()=>{t&&s===!1&&i(!0)},[t,s,i]),r.jsx(r.Fragment,{children:t&&s&&n!=null?r.jsx(l,{style:{position:"absolute",width:"100%",height:"100vh",top:p.sp0,left:p.sp0,zIndex:5},onComplete:()=>{i(!1),o(!1)},animationData:n,loop:0,play:!0,goTo:0,rendererSettings:{preserveAspectRatio:"xMidYMid slice"}}):null})};export{v as default};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{V as n}from"./index-
|
|
1
|
+
import{V as n}from"./index-Dm-b67Hf.js";import{a as r}from"./sentry-C2Rgx3zV.js";import{n as s}from"./mui-BLkKBV85.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="8c117742-f646-4198-bee3-9e4fd8a5d2d7",e._sentryDebugIdIdentifier="sentry-dbid-8c117742-f646-4198-bee3-9e4fd8a5d2d7")}catch{}})();const i=s.div`
|
|
2
2
|
width: auto;
|
|
3
3
|
max-width: var(--side-panel-list-width, 100%);
|
|
4
4
|
position: relative;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{e as He,J as v,aE as Y,cI as Ye,V as t,bD as Je,aQ as $,T as Qe,cq as ie,cr as se,cs as le,d4 as qe,aS as Ge,y as J,F as x,c3 as Ke,o,d5 as Ze,bU as S,cj as ce,u as w,b8 as de,ai as pe,al as q,bu as Xe,d1 as me,d6 as et,p as B,d7 as ue,c_ as he}from"./index-
|
|
1
|
+
import{e as He,J as v,aE as Y,cI as Ye,V as t,bD as Je,aQ as $,T as Qe,cq as ie,cr as se,cs as le,d4 as qe,aS as Ge,y as J,F as x,c3 as Ke,o,d5 as Ze,bU as S,cj as ce,u as w,b8 as de,ai as pe,al as q,bu as Xe,d1 as me,d6 as et,p as B,d7 as ue,c_ as he}from"./index-Dm-b67Hf.js";import{a as g}from"./sentry-C2Rgx3zV.js";import{n as r}from"./mui-BLkKBV85.js";import"./liveblocks-EGukjQZF.js";import"./core-DjXOmtSJ.js";import"./recharts-B8tzuQ8V.js";import"./zeni-epic-state-TdgpFmku.js";import"./lottie-DiLnfF8e.js";import"./analytics-Dd9GkS_R.js";import"./lexical-C3TbZeLl.js";import"./utils-CQTOz44B.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},n=new e.Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="d7f1c81e-6cec-4499-a8c4-acf30a5dc4c8",e._sentryDebugIdIdentifier="sentry-dbid-d7f1c81e-6cec-4499-a8c4-acf30a5dc4c8")}catch{}})();const tt=({bankAccountNumberOrIban:e,accountNumberOrIbanLabel:n,accountTypeLabel:s,accountType:l,bankName:m,routingNumberOrSwiftCode:p,accountName:f,routingNumberOrSwiftCodeLabel:j,onDeleteClick:u})=>{const y=v(),h=x.getLocalizedStrings().spendManagement.billPay.vendorCreation,C=t.jsxs(ot,{children:[t.jsxs(I,{children:[t.jsx(N,{children:j}),t.jsx(T,{children:p})]}),t.jsxs(I,{children:[t.jsx(N,{children:h.achDetails.bankName}),t.jsx(T,{children:m})]}),t.jsxs(I,{children:[t.jsx(N,{children:n}),t.jsx(T,{children:e})]}),t.jsxs(I,{children:[t.jsx(N,{children:s}),t.jsx(T,{children:typeof l=="string"&&l!==""?et(l.toLowerCase()):l??""})]})]});return t.jsxs(it,{size:y,children:[t.jsxs(nt,{children:[t.jsxs(q,{children:[`${m} ${h.paymentAccountDetailConnector} ${e.slice(-4)}`,t.jsx(S,{title:C,placement:"top",children:t.jsx(lt,{children:t.jsx(ct,{})})})]}),t.jsx(rt,{children:f??h.emptyPlaceholderString})]}),t.jsx(at,{children:t.jsx(S,{enterDelay:600,display:"flex",title:h.deleteAccountTooltip,placement:"top",children:t.jsx(st,{onClick:k=>{k.stopPropagation(),u()},"data-testid":$("delete-vendor-account-section",f),children:t.jsx(dt,{})})})})]})},ot=r.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-wrap: wrap;
|
|
4
4
|
gap: ${o.sp1};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{V as t,J as he,a8 as ye,aQ as ae,hv as ea,aO as aa,i as ta,T as na,aS as Ee,o as a,F as X,y as m,c as Be,d as oa,ah as ia,e as Me,bU as ra,fi as _e,N as K,p as J,gq as ce,b as la,aq as Oe,R as ca,aR as we,a9 as sa,fB as da,cG as ma,ac as pa,f1 as ua,fF as ha,cL as ya,hG as xe,hH as ga,gd as fa,u as r,c3 as Ca,ba,fp as Da,cj as wa,al as Ne,gY as xa,c1 as Sa,aV as ka,hI as $a,d1 as Aa,gZ as La,fR as va,fN as Ia}from"./index-
|
|
1
|
+
import{V as t,J as he,a8 as ye,aQ as ae,hv as ea,aO as aa,i as ta,T as na,aS as Ee,o as a,F as X,y as m,c as Be,d as oa,ah as ia,e as Me,bU as ra,fi as _e,N as K,p as J,gq as ce,b as la,aq as Oe,R as ca,aR as we,a9 as sa,fB as da,cG as ma,ac as pa,f1 as ua,fF as ha,cL as ya,hG as xe,hH as ga,gd as fa,u as r,c3 as Ca,ba,fp as Da,cj as wa,al as Ne,gY as xa,c1 as Sa,aV as ka,hI as $a,d1 as Aa,gZ as La,fR as va,fN as Ia}from"./index-Dm-b67Hf.js";import{n as i}from"./mui-BLkKBV85.js";import{a as p}from"./sentry-C2Rgx3zV.js";import{bL as pe,bP as Fa,bh as Se,bJ as Ra,bK as ke,bI as Ta}from"./zeni-epic-state-TdgpFmku.js";import{x as Pa}from"./LabeledControlledCheckBoxField-Dhta-oad-BOgGTnpX.js";import"./liveblocks-EGukjQZF.js";import"./core-DjXOmtSJ.js";import"./recharts-B8tzuQ8V.js";import"./lottie-DiLnfF8e.js";import"./analytics-Dd9GkS_R.js";import"./lexical-C3TbZeLl.js";import"./utils-CQTOz44B.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new e.Error().stack;o&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[o]="0c029558-fc9e-4c3d-a6cf-76384cbdc097",e._sentryDebugIdIdentifier="sentry-dbid-0c029558-fc9e-4c3d-a6cf-76384cbdc097")}catch{}})();const te={largeLabelWidth:new m(120,120,160),navBarContainerPaddingXaxis:new m(10,19),containerPaddingLeft:new m(r[3],r[6],r[8]),containerPaddingRight:new m(r[3],r[6],r[8]),reviewContentWrapperPaddingBottom:new m(r[5],r[8])},ue={pageTitle:new K("h6Regular","h5Regular"),integerAmountInput:new K("h5Regular","largeMedium"),decimalAmountInput:new K("largeSemiBold","largeMedium")},{dateFormat:{visual:{MMMDCommaYYYYformat:$e}},common:{edit:ja,labels:se,navBar:{back:za},to:Ea,zeniInc:Ba},spendManagement:{zeniAccounts:{zeniAccountList:{transferDrawer:Ma}},chargeCard:{payEarly:E}}}=X.getLocalizedStrings(),_a=({paymentDetails:e,isCashbackInfoFetchStateCompleted:o,isCreditCardInfoFetchStateCompleted:h,isDebitCardInfoFetchStateCompleted:n,controllerEmails:f,productInformation:c,cashbackInformation:y,paymentSourceInformation:L,creditAccountInformation:C,debitAccountInformation:g,setShowReviewContent:D,onTransferClick:b})=>{const d=he(),S=Me(),v=ye().analytics,[M,I]=p.useState(!1);p.useEffect(()=>{e.error!=null?I(!0):I(!1)},[e.error]);const F=te.largeLabelWidth.value(d),R=e.chargeCardRepaymentDetailLocalData.transferFrom?.accType==="depositAccount",T=R?1:3,P=pe(Fa(Se().toDate(),[0,6],T).toDateString()).format($e),_=R?E.timeline01BusinessDay:E.timeline23BusinessDays,O=R?E.estimatedPaymentCompleteWithoutTimeline.replace("__date__",P):E.estimatedPaymentCompleteWithTimeline.replace("__date__",P).replace("__timeline__",_);return t.jsxs(t.Fragment,{children:[t.jsxs(Ha,{windowSize:d,children:[t.jsx(tt,{windowSize:d,children:t.jsx(ra,{title:za,enterTouchDelay:600,placement:"bottom",display:"flex",children:t.jsx(at,{"data-testid":ae("nav-bar-back-credit-card-payment-review"),onClick:()=>{o&&h&&n&&y!=null&&v.trackCardsPayEarlyFormClick(f,c,y,"Back",e.chargeCardRepaymentDetailLocalData.isAutoRepayment,{paymentAmount:e.chargeCardRepaymentDetailLocalData.amount.amount,paymentAccountName:e.chargeCardRepaymentDetailLocalData.transferFrom?.label,paymentAccountType:e.chargeCardRepaymentDetailLocalData.transferFrom?.accType,paymentAccountLastFourDigits:e.chargeCardRepaymentDetailLocalData.transferFrom?.accountLast4,paymentCompleteEta:void 0,paymentInitiatedDate:void 0},L,C,g),D(!1)}})})}),t.jsx(nt,{windowSize:d,children:Ma.reviewAndConfirm}),t.jsxs(Na,{children:[E.pay," ",t.jsx(Ae,{children:t.jsx(_e,{amount:e.chargeCardRepaymentDetailLocalData.amount,integerStyles:ue.integerAmountInput.styleObject(d),decimalStyles:ue.decimalAmountInput.styleObject(d),style:{display:"inline-flex"}})})," ",Ea," ",t.jsx(Ae,{children:Ba})]}),M?t.jsx(Za,{children:t.jsxs(Va,{children:[t.jsxs(Ka,{children:[t.jsx(Ja,{}),t.jsxs(Ya,{children:[t.jsx(Ga,{children:e.error?.title}),t.jsx(qa,{children:e.error?.message})]})]}),t.jsx(Xa,{children:t.jsx(Qa,{"data-testid":ae("close-error-credit-card-payment-review"),onClick:()=>{I(!1)},style:{width:a.sp3,height:a.sp3,color:J.heroLight}})})]})}):null,t.jsx(et,{windowSize:d,children:t.jsxs(Wa,{children:[t.jsx(ce,{label:{label:se.paymentMethod,width:F},text:t.jsx(de,{windowSize:d,children:e.chargeCardRepaymentDetailLocalData.transferFrom?.accType==="depositAccount"?E.bookPayment:E.sameDayACH}),style:{width:"auto"}}),t.jsx(Le,{}),t.jsx(ce,{label:{label:se.sourceAccount,width:F},text:t.jsxs(de,{windowSize:d,children:[Ue(e.transferFromAccounts,e.chargeCardRepaymentDetailLocalData.transferFrom?.id??"",!0),t.jsxs(Ua,{windowSize:d,children:[e.chargeCardRepaymentDetailLocalData.transferFrom?.label,e.chargeCardRepaymentDetailLocalData.transferFrom?.maskedAccountNumber!=null?` ${e.chargeCardRepaymentDetailLocalData.transferFrom.maskedAccountNumber}`:e.chargeCardRepaymentDetailLocalData.transferFrom?.accountLast4!=null?` •••• ${e.chargeCardRepaymentDetailLocalData.transferFrom.accountLast4}`:null]})]}),style:{width:"auto"}}),t.jsx(Le,{}),t.jsx(ce,{label:{label:se.paymentDate,width:F},showAdditionalInfoLabel:!0,additionalInfoLabel:O,additionalInfoLabelStyles:{color:S.colors.hero,...la.smallRegular.cssObject},text:t.jsx(de,{windowSize:d,children:Se().format($e)}),style:{width:"auto"}})]})})]}),t.jsx(Ee,{style:{zIndex:4,paddingTop:a.sp3,paddingBottom:a.sp0},helperText:E.byClickingPayNowIAuthorizeZeniToInitiateThePayment,helperStyle:{padding:`${a.sp0} ${a.sp0} ${a.sp3} ${a.sp0}`},cancelBtn:{label:ja,onClick:()=>{o&&h&&n&&y!=null&&v.trackCardsPayEarlyFormClick(f,c,y,"Edit",e.chargeCardRepaymentDetailLocalData.isAutoRepayment,{paymentAmount:e.chargeCardRepaymentDetailLocalData.amount.amount,paymentAccountName:e.chargeCardRepaymentDetailLocalData.transferFrom?.label,paymentAccountType:e.chargeCardRepaymentDetailLocalData.transferFrom?.accType,paymentAccountLastFourDigits:e.chargeCardRepaymentDetailLocalData.transferFrom?.accountLast4,paymentCompleteEta:void 0,paymentInitiatedDate:void 0},L,C,g),D(!1)},style:{minWidth:94}},primaryBtn:{label:E.payNow,onClick:b,isLoading:e.updateStatus==="In-Progress",style:{minWidth:94}}})]})},Ue=(e,o,h)=>{if(o==="")return t.jsx(st,{});const n=e.find(c=>c.id===o),f=e.findIndex(c=>c.id===o);if(n!=null){if(n.accType==="depositAccount")return t.jsx(lt,{isOptionSelected:h,children:t.jsx(ct,{color:xa(f)})});if(n.accType==="paymentAccount")return n.logo!==void 0&&(n.logo.base64||n.logo.url)?t.jsx(ot,{src:Oa(n.logo),isOptionSelected:h,loading:"lazy"}):t.jsx(it,{isOptionSelected:h,children:t.jsx(rt,{})})}return null},Oa=e=>e.base64!==void 0?`${va}${e.base64.toString()}`:e.url!==void 0?e.url.toString():"",Na=i(ba)`
|
|
2
2
|
color: ${e=>e.theme.colors.hero};
|
|
3
3
|
padding-top: ${a.sp3};
|
|
4
4
|
white-space: nowrap;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{cT as M,e as N,c$ as _,F as H,V as l,d0 as P,bI as L,o,dn as z,aQ as x,cu as Q,bJ as b,al as T,b as w,f2 as B,f3 as X,f4 as J,ai as K,bH as W,c as Y,p as m}from"./index-
|
|
1
|
+
import{cT as M,e as N,c$ as _,F as H,V as l,d0 as P,bI as L,o,dn as z,aQ as x,cu as Q,bJ as b,al as T,b as w,f2 as B,f3 as X,f4 as J,ai as K,bH as W,c as Y,p as m}from"./index-Dm-b67Hf.js";import{a as S}from"./sentry-C2Rgx3zV.js";import{n}from"./mui-BLkKBV85.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},r=new e.Error().stack;r&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[r]="fae06804-740a-4239-bb76-2bcda58db7b9",e._sentryDebugIdIdentifier="sentry-dbid-fae06804-740a-4239-bb76-2bcda58db7b9")}catch{}})();const $e=({name:e,registerOptions:r,defaultValue:t,isDisabled:a,style:c,placeholder:d,isOptionRemovable:i=!0,menuItemHeight:u=40,controlStyle:p})=>{const{control:f,formState:{errors:y}}=M(),g=N(),[j,k]=S.useState(!1),C=_(y,e??""),D=H.getLocalizedStrings().common.currency,I=s=>{if(!(s==null||!s))return{value:s,label:t.allOptions.find(h=>h.value===s)?.label??s,countryCode:t.allOptions.find(h=>h.value===s)?.countryCode??D.countryCode}},V={container:s=>({...s,width:"100%",...c}),menu:s=>({...s,backgroundColor:g.colors.grey5,borderRadius:o.sp1,boxShadow:`${o.sp0} 2px ${o.sp2} ${g.colors.dropShadowHover}`,border:`1px solid ${g.colors.grey3}`,whiteSpace:"nowrap",zIndex:2,width:"100%",margin:`1px ${o.sp0} ${o.sp0} ${o.sp0}`,overflow:"hidden"}),menuList:s=>({...s,borderRadius:o.sp1}),input:()=>({color:g.colors.primary,margin:0}),singleValue:s=>({...s,margin:0,position:"absolute"})},F={hasError:C,menuItemHeight:u,controlStyle:p,isOptionRemovable:i};return l.jsx(P,{name:e,control:f,defaultValue:t,rules:r,"data-testid":x("currency-select-field",e),render:({field:{onChange:s,onBlur:h,value:R,ref:E}})=>{const v=R;return S.createElement(L,{...F,ref:E,isMulti:!1,isSearchable:!0,isClearable:i,autoFocus:j===!0,openMenuOnClick:!0,controlShouldRenderValue:!0,placeholder:d,value:I(v.selectedOption),options:t.allOptions,"data-testid":x("currency-select",e),onChange:$=>{i&&$?.value!=null&&v?.selectedOption===$.value?s({selectedOption:void 0,allOptions:t.allOptions}):s({selectedOption:$?.value,allOptions:t.allOptions})},onMenuClose:()=>k(!1),key:z(),tabSelectsValue:!1,openMenuOnFocus:!0,classNamePrefix:"currency-select-field",onBlur:h,menuPlacement:"auto",maxMenuHeight:240,menuShouldScrollIntoView:!1,closeMenuOnSelect:!0,components:{Control:Z,Option:q,Input:U,SingleValue:ee,ValueContainer:G,DropdownIndicator:he,IndicatorSeparator:me,Placeholder:oe,ClearIndicator:be,MenuList:A},hideSelectedOptions:!1,styles:V,isDisabled:a!=null})}})},Z=e=>{const{menuIsOpen:r,isFocused:t,isDisabled:a,selectProps:c}=e,{value:d,hasError:i,controlStyle:u}=c;return l.jsx(te,{controlStyle:u,menuIsOpen:r,isFocused:t,isDisabled:a,selectedValue:d,hasError:i,children:l.jsx(b.Control,{...e,className:"select-control",children:e.children})})},q=e=>{const{data:r,isSelected:t,isDisabled:a,isFocused:c,selectProps:d}=e,{isOptionRemovable:i}=d,u=r.countryCode,p=typeof r.label=="string"?r.label:r.value;return l.jsx(re,{isOptionRemovable:i,className:"select-option-wrapper",isFocused:c,isSelected:t,isDisabled:a,"data-testid":x("currency-select-field-option",p),children:l.jsx(b.Option,{...e,className:"select-option",children:l.jsxs(se,{children:[l.jsx(le,{countryCode:u}),l.jsx(ae,{isSelected:t,children:l.jsx(ne,{isSelected:t,isDisabled:a,children:r.label})}),t?l.jsxs(de,{children:[l.jsx(ue,{className:"right-tick-icon"}),l.jsx(pe,{className:"close-tick-icon"})]}):null]})})})},A=e=>{const{options:r,children:t,maxHeight:a,getValue:c,selectProps:d}=e,{menuItemHeight:i}=d,[u]=c(),p=r.indexOf(u)*i;return l.jsx(Q,{height:t.length>7?a:t.length*i,width:"100%",itemCount:t.length,itemSize:()=>i,initialScrollOffset:p,children:({index:f,style:y})=>l.jsx(ce,{style:y,children:t[f]})})},G=e=>l.jsx(b.ValueContainer,{...e,className:"select-value-container",children:e.children}),U=e=>{const{selectProps:r}=e,{placeholder:t,value:a}=r;return l.jsx(O,{children:l.jsx(b.Input,{...e,autoComplete:"new-password",placeholder:a==null?t:void 0,children:e.children})})},ee=e=>{const{data:r}=e;return l.jsx(b.SingleValue,{...e,children:l.jsx(O,{children:r.label})})},O=n(T)`
|
|
2
2
|
color: ${e=>e.theme.colors.primary};
|
|
3
3
|
`,oe=()=>null,le=({countryCode:e})=>{if(e!=null&&B(e)===!1)return l.jsx(l.Fragment,{});{const r=X[`${J(e??"")}`];return l.jsx(ie,{children:l.jsx(r,{width:o.sp4,height:o.sp3})})}},te=n.span`
|
|
4
4
|
width: 100%;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{J as u,V as t,F as c,aR as l,aQ as p,T as g,o,af as h,R as x,d as m}from"./index-
|
|
1
|
+
import{J as u,V as t,F as c,aR as l,aQ as p,T as g,o,af as h,R as x,d as m}from"./index-Dm-b67Hf.js";import{a as f}from"./sentry-C2Rgx3zV.js";import{n as i}from"./mui-BLkKBV85.js";import"./liveblocks-EGukjQZF.js";import"./core-DjXOmtSJ.js";import"./recharts-B8tzuQ8V.js";import"./zeni-epic-state-TdgpFmku.js";import"./lottie-DiLnfF8e.js";import"./analytics-Dd9GkS_R.js";import"./lexical-C3TbZeLl.js";import"./utils-CQTOz44B.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},r=new e.Error().stack;r&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[r]="8c479081-70d1-46f8-956d-387d24f89b67",e._sentryDebugIdIdentifier="sentry-dbid-8c479081-70d1-46f8-956d-387d24f89b67")}catch{}})();const b=i.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
width: 100%;
|
|
4
4
|
flex-direction: column;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{V as o}from"./index-Dm-b67Hf.js";import i from"./CustomerOnboardingNoStepsPage-DCt6wtfH-Cjj8y-RZ.js";import e from"./CustomerOnboardingPage-_HuMZOrd-CaMRm4tt.js";import"./sentry-C2Rgx3zV.js";import"./liveblocks-EGukjQZF.js";import"./core-DjXOmtSJ.js";import"./recharts-B8tzuQ8V.js";import"./zeni-epic-state-TdgpFmku.js";import"./mui-BLkKBV85.js";import"./lottie-DiLnfF8e.js";import"./analytics-Dd9GkS_R.js";import"./lexical-C3TbZeLl.js";import"./utils-CQTOz44B.js";import"./PaymentAccountSetupBillingAddressSection-DIP_uznB-B7DNBV4H.js";import"./SetUpAccountSection-CPw8BhAT-Bu28TndH.js";import"./CustomerOnboardingDetailPageSkeleton-D5gblIdv-CFqfFpT0.js";import"./CompanyOfficerDetailsSection-C_S5WXms-iJZMGPb2.js";import"./LabeledAddressValueField-Ckm80g0_-fddiRWcN.js";import"./LabeledCreatableSingleSelectField-CWhimq6W-CiffZWxa.js";import"./LabeledDocumentField-z2O1tykl-BOR0XPyM.js";import"./QBOSetupSection-D-fnn99E-yQD39UVj.js";import"./QBOConnectionDialog-CGAr0mXC-CrSLQG4V.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},r=new t.Error().stack;r&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[r]="962d1a8c-3a15-485a-b830-03679440ca3e",t._sentryDebugIdIdentifier="sentry-dbid-962d1a8c-3a15-485a-b830-03679440ca3e")}catch{}})();const k=t=>t.currentTenant?.productSettings.isOtherProductsEnabled===!0?o.jsx(i,{...t}):o.jsx(e,{...t});export{k as default};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{V as s,aQ as v,bo as E,e as f,J as I,bQ as b,o as t,u as T,y as $,af as N,F as R,p as u,q as P,hO as U,fQ as L,as as O,am as W,hP as _}from"./index-
|
|
1
|
+
import{V as s,aQ as v,bo as E,e as f,J as I,bQ as b,o as t,u as T,y as $,af as N,F as R,p as u,q as P,hO as U,fQ as L,as as O,am as W,hP as _}from"./index-Dm-b67Hf.js";import{n as r}from"./mui-BLkKBV85.js";import{P as S}from"./sentry-C2Rgx3zV.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},i=new e.Error().stack;i&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[i]="8d6236f6-ab32-4d79-9457-aed11741a1da",e._sentryDebugIdIdentifier="sentry-dbid-8d6236f6-ab32-4d79-9457-aed11741a1da")}catch{}})();const J=r(_)`
|
|
2
2
|
/* Size is controlled by styles.root prop */
|
|
3
3
|
`,Q=r.div`
|
|
4
4
|
position: relative;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a8 as ie,V as o,fy as Ce,J as be,e as Pe,a9 as we,aR as xe,cG as ke,bD as Ie,o as s,aQ as Ae,ac as $e,aS as Ve,bo as ve,hM as Oe,F as Te,e_ as je,e$ as oe,af as Le,y as J,al as _e,u as A}from"./index-
|
|
1
|
+
import{a8 as ie,V as o,fy as Ce,J as be,e as Pe,a9 as we,aR as xe,cG as ke,bD as Ie,o as s,aQ as Ae,ac as $e,aS as Ve,bo as ve,hM as Oe,F as Te,e_ as je,e$ as oe,af as Le,y as J,al as _e,u as A}from"./index-Dm-b67Hf.js";import{n as c}from"./mui-BLkKBV85.js";import{a as $}from"./sentry-C2Rgx3zV.js";import{s as Ue,o as ze}from"./PaymentAccountSetupBillingAddressSection-DIP_uznB-B7DNBV4H.js";import{f as De}from"./CustomerOnboardingDetailPageSkeleton-D5gblIdv-CFqfFpT0.js";import"./liveblocks-EGukjQZF.js";import"./core-DjXOmtSJ.js";import"./recharts-B8tzuQ8V.js";import"./zeni-epic-state-TdgpFmku.js";import"./lottie-DiLnfF8e.js";import"./analytics-Dd9GkS_R.js";import"./lexical-C3TbZeLl.js";import"./utils-CQTOz44B.js";import"./SetUpAccountSection-CPw8BhAT-Bu28TndH.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},u=new e.Error().stack;u&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[u]="fddb2152-2c20-48d8-9108-18752a7aecc3",e._sentryDebugIdIdentifier="sentry-dbid-fddb2152-2c20-48d8-9108-18752a7aecc3")}catch{}})();const Y="onboardingPaymentAccountSetupSection",se="customerOnboardingNoStepsDetailPage",n="onboardingSubscriptionBillingAddress",Q={titleWidth:new J(343,580,726,826),subTitlePaddingTop:new J(A[3],A[3]),subTitlePaddingBottom:new J(A[3],A[3])},Ee=e=>`${e}_form`,Be=Te.getLocalizedStrings(),Fe=({onboardingCustomerView:e,connectedAccountProvider:u,cardPaymentView:p,stripeKey:v,googleAPIKey:O,signedInUser:b,currentTenant:T,onUpdateStep:j,handleCreateCardSetupIntent:L,handleConfirmCardSetupIntent:_,updateCardPaymentModalState:P,handleAddCardPaymentSource:U,resetCardPaymentViewState:z,handleResetCardPaymentErrorStatuses:D,redirectToProductSuitePage:w,onUpdateCustomerView:E,...B})=>{const m=be(),F=ie(),{analytics:h}=F,{onFetchLinkTokenClick:K,onUpdatePaymentAccountStatus:M,onUpdatePaymentAccountLoginStatus:R,onEstablishConnectionClick:S,onEstablishConnectionSuccess:G,handleLogOutClick:N,onZeniLogoClick:H,onAddressEditHandler:x}=B,W=Pe(),r=we({mode:"onSubmit",reValidateMode:"onSubmit",defaultValues:V(e),values:V(e),shouldFocusError:!0,resetOptions:{keepDirtyValues:!0}}),{companyOfficerLocalData:re,saveStatus:g,paymentAccount:k,paymentAccountStatus:de,plaidConnectionDetails:q,uiState:le,allNationalityCountries:X,subscriptionBillingAddress:y}=e,{customerOnboardingPage:ce,common:f}=Be,{footer:ue,steps:pe}=ce,{buttons:Z}=ue,ee=pe.link_payment_account,I=xe(g.fetchState),te=Object.values(re).findIndex(t=>t?.isSelectedForVerification===!0)??0,me=`Officer_${te<0?1:te+1}`,ge=async(t,a)=>{if(t.includes(n)&&a[n]!=null){const i=r.getValues(`${n}`).country;let d=a[n];if(t.includes(`${n}.street`)&&a[n].street!=null){const{addressValue:l}=a[n].street,C=je(l?.country);d={street:a[n].street??f.strings.empty,city:l?.locality??f.strings.empty,state:l?.administrativeAreaLevel1??f.strings.empty,country:C,countryCode:l?.countryCode??f.strings.empty,postalCode:l?.postalCode??f.strings.empty,secondaryInfo:a[n].secondaryInfo,suite:a[n].suite},i.selectedOption!==C.selectedOption&&(d={...d,country:C})}else t===`${n}.country`&&i.selectedOption!=null?d={...d,countryCode:oe(i.selectedOption)}:i.selectedOption!=null&&t.includes(`${n}.street`)===!1&&(d={...d,countryCode:oe(i.selectedOption)});x(d)}};$.useEffect(()=>{const t=r.watch((a,{name:i})=>{i!=null&&a!=null&&ke(()=>ge(i,a))});return()=>{t.unsubscribe()}}),$.useEffect(()=>{I==="In-Progress"&&g.fetchState==="Completed"&&r.reset(V(e),{keepDirtyValues:!1})},[r,e,I,g.fetchState,X]);const ye=()=>{const t=r.getValues(n),a={street:t.street.addressString,suite:t.suite,city:t.city,state:t.state,postalCode:t.postalCode,country:t.country.selectedOption??f.strings.empty,secondaryInfo:t.secondaryInfo};h.trackOnboardingBillingAddressSave(a)},ne=()=>{const t=Object.values(q).some(l=>l.fetchStatus.fetchState==="Completed"),a=k?.providerVerificationStatus?.code?.includes("verified")??!1,i=p.cardsList.length>0,d=p.bankAccountsList[0]?.providerVerificationStatus?.code?.includes("verified")??!1;return t&&a||!a&&!k&&i||!i&&!k&&d};function fe(){if(r.getFieldState(n).error)return!1;const t=r.getValues(n),a=y?.street.join("").trim(),i=y?.city,d=y?.state,l=y?.country,C=y?.postalCode!=null&&y.postalCode||t.postalCode||f.strings.empty;return!!a&&!!i&&!!d&&!!l&&!!C}const he=async()=>{const t=await r.trigger(n),a=await r.trigger(Y);t&&a&&(ye(),j("link_payment_account"),E(me,!1,!0))};$.useEffect(()=>{I==="In-Progress"&&g.fetchState==="Completed"&&(r.reset(V(e),{keepDirtyValues:!1}),w())},[r,e,I,g.fetchState,X,w]);const[ae,Se]=$.useState(!1);return o.jsxs(Ke,{children:[o.jsxs(Me,{windowSize:m,children:[o.jsx(Ie,{title:ee.sectionTitle,showBackButton:!1,backgroundColor:W.colors.grey4,style:{zIndex:4},source:"CustomerOnboardingPaymentAddressDetailPage",showLeftSection:m!=="small",titleStyle:{display:"flex",alignItems:"center"},navBarContainerStyles:{paddingTop:s.sp0,paddingBottom:s.sp0},leftSideComponent:o.jsx(He,{children:o.jsx(We,{"data-testid":Ae("zeni-logo-customer-onboarding-payment-address-detail-page"),onClick:H})})}),o.jsx($e,{...r,children:o.jsx(Ge,{id:Ee(se),children:o.jsxs(Re,{children:[o.jsx(Ze,{windowSize:m,children:ee.sectionSubTitle}),o.jsx(Ue,{connectedAccountProvider:u,paymentAccount:k,accountStatus:de,plaidConnectionDetails:q,subscriptionBillingAddressSectionId:n,sectionId:Y,analytics:h,isValid:ne(),onFetchLinkTokenClick:K,onEstablishConnectionClick:S,onUpdatePaymentAccountStatus:M,onUpdatePaymentAccountLoginStatus:R,onEstablishConnectionSuccess:G,updateCardPaymentModalState:P,cardPaymentView:p,resetCardPaymentViewState:z,cardSetupInProgress:ae,googleAPIKey:O,subscriptionBillingAddress:y})]},"link_payment_account")})}),o.jsx(Ve,{formId:`${se}`,leftSideComponent:o.jsx(Ne,{windowSize:m,children:o.jsx(ve,{signedInUser:b,currentTenant:T,onLogOutClick:N})}),style:{width:m==="small"?"auto":"100%",padding:s.sp0,rowGap:s.sp1},helperContainerStyle:{width:"100%",rowGap:s.sp1,marginTop:"12px",marginBottom:s.sp2},primaryBtn:{onClick:he,label:Z.submit,isLoading:g.fetchState==="In-Progress",isDisabled:g.fetchState==="In-Progress"||!(fe()&&ne())},containerStyle:{width:"auto",justifyContent:"center"},helperText:Z.submitText.replace("__action__",Z.submit),helperStyle:{width:"auto",padding:s.sp0,rowGap:s.sp0,textAlign:"center"}})]}),o.jsx(ze,{handleConfirmCardSetupIntent:_,updateCardPaymentModalState:P,handleCreateCardSetupIntent:L,handleAddCardPaymentSource:U,cardPaymentView:p,stripeKey:v,isCardPaymentOpen:le.isCardPaymentPopupOpen,handleResetCardPaymentErrorStatuses:D,cardSetupInProgress:ae,setCardSetupInProgress:Se})]})},Ke=c.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
align-items: center;
|